{"mined_at": "2024-07-15T12:34:57.237599", "created_at": "2023-04-13T22:11:58+02:00", "updated_at": "2023-05-05T20:41:50+02:00", "name": "upload-agent-build-ubuntu-2204", "path": ".github/workflows/upload-agent-build-ubuntu-2204.yml", "contents": null, "state": "active", "repository": "dnanexus/dx-toolkit"}
{"mined_at": "2024-07-15T12:34:59.630259", "created_at": "2021-08-13T23:52:26+02:00", "updated_at": "2021-08-13T23:52:26+02:00", "name": "Android AppCenter Tests", "path": ".github/workflows/android-appcenter.yml", "contents": "name: Android AppCenter Tests\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/android-appcenter.yml'\n      - 'binding/android/PorcupineTestApp/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/android-appcenter.yml'\n      - 'binding/android/PorcupineTestApp/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n\ndefaults:\n  run:\n    working-directory: binding/android/PorcupineTestApp\n\njobs:\n  build:\n    name: Run Android Tests on AppCenter\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js LTS\n      uses: actions/setup-node@v3\n      with:\n        node-version: lts/*\n\n    - name: Install AppCenter CLI\n      run: npm install -g appcenter-cli\n\n    - name: set up JDK 11\n      uses: actions/setup-java@v3\n      with:\n        java-version: '11'\n        distribution: 'temurin'\n\n    - name: Copy test_resources\n      run: ./copy_test_resources.sh\n\n    - name: Inject AccessKey\n      run: echo pvTestingAccessKey=\"${{secrets.PV_VALID_ACCESS_KEY}}\" >> local.properties\n\n    - name: Inject Android keystore variables\n      run: |\n        echo storePassword=\"${{secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD}}\" >> local.properties\n        echo keyPassword=\"${{secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD}}\" >> local.properties\n        echo keyAlias=picovoice >> local.properties\n        echo storeFile=../picovoice.jks >> local.properties\n\n    - name: Setup Android keystore file\n      run: echo \"${{secrets.ANDROID_RELEASE_KEYSTORE_FILE_B64}}\" | base64 -d > picovoice.jks\n\n    - name: Grant execute permission for gradlew\n      run: chmod +x gradlew\n\n    - name: Build app\n      run: ./gradlew assembleEnDebug\n\n    - name: Build androidTest\n      run: ./gradlew assembleEnDebugAndroidTest\n\n    - name: Run tests on AppCenter\n      run: appcenter test run espresso\n        --token ${{secrets.APPCENTERAPITOKEN}}\n        --app \"Picovoice/Porcupine-Android\"\n        --devices \"Picovoice/android-min-max\"\n        --app-path porcupine-test-app/build/outputs/apk/en/debug/porcupine-test-app-en-debug.apk\n        --test-series \"porcupine-android\"\n        --locale \"en_US\"\n        --build-dir porcupine-test-app/build/outputs/apk/androidTest/en/debug\n\n  build-integ:\n    name: Run Android Integration Tests on AppCenter\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js LTS\n      uses: actions/setup-node@v3\n      with:\n        node-version: lts/*\n\n    - name: Install AppCenter CLI\n      run: npm install -g appcenter-cli\n\n    - name: set up JDK 11\n      uses: actions/setup-java@v3\n      with:\n        java-version: '11'\n        distribution: 'temurin'\n\n    - name: Copy test_resources\n      run: ./copy_test_resources.sh\n\n    - name: Inject AccessKey\n      run: echo pvTestingAccessKey=\"${{secrets.PV_VALID_ACCESS_KEY}}\" >> local.properties\n\n    - name: Inject Android keystore variables\n      run: |\n        echo storePassword=\"${{secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD}}\" >> local.properties\n        echo keyPassword=\"${{secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD}}\" >> local.properties\n        echo keyAlias=picovoice >> local.properties\n        echo storeFile=../picovoice.jks >> local.properties\n\n    - name: Setup Android keystore file\n      run: echo \"${{secrets.ANDROID_RELEASE_KEYSTORE_FILE_B64}}\" | base64 -d > picovoice.jks\n\n    - name: Grant execute permission for gradlew\n      run: chmod +x gradlew\n\n    - name: Build app\n      run: ./gradlew assembleEnRelease\n\n    - name: Build androidTest\n      run: ./gradlew assembleEnReleaseAndroidTest -DtestBuildType=integ\n\n    - name: Run tests on AppCenter\n      run: appcenter test run espresso\n        --token ${{secrets.APPCENTERAPITOKEN}}\n        --app \"Picovoice/Porcupine-Android\"\n        --devices \"Picovoice/android-min-max\"\n        --app-path porcupine-test-app/build/outputs/apk/en/release/porcupine-test-app-en-release.apk\n        --test-series \"porcupine-android\"\n        --locale \"en_US\"\n        --build-dir porcupine-test-app/build/outputs/apk/androidTest/en/release\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:00.679805", "created_at": "2023-06-23T22:40:32+02:00", "updated_at": "2023-06-27T01:21:48+02:00", "name": "Android Demos", "path": ".github/workflows/android-demos.yml", "contents": "name: Android Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/android-demos.yml'\n      - 'demo/android/**'\n      - '!demo/android/Activity/README.md'\n      - '!demo/android/Service/README.md'\n      - '!demo/android/STT/README.md'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/android-demos.yml'\n      - 'demo/android/**'\n      - '!demo/android/Activity/README.md'\n      - '!demo/android/Service/README.md'\n      - '!demo/android/STT/README.md'\n\njobs:\n  build-activity-demo:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: demo/android/Activity\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: set up JDK 11\n      uses: actions/setup-java@v3\n      with:\n        java-version: '11'\n        distribution: 'temurin'\n\n    - name: Build English\n      run: ./gradlew assembleEnDebug\n\n    - name: Build Other Language\n      run: ./gradlew assembleArDebug\n\n  build-service-demo:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: demo/android/Service\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: set up JDK 11\n      uses: actions/setup-java@v3\n      with:\n        java-version: '11'\n        distribution: 'temurin'\n\n    - name: Build\n      run: ./gradlew assembleDebug\n\n  build-stt-demo:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: demo/android/STT\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: set up JDK 11\n      uses: actions/setup-java@v3\n      with:\n        java-version: '11'\n        distribution: 'temurin'\n\n    - name: Build\n      run: ./gradlew assembleDebug\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:01.726816", "created_at": "2022-04-08T00:00:59+02:00", "updated_at": "2022-04-08T19:41:57+02:00", "name": "Android Performance", "path": ".github/workflows/android-perf.yml", "contents": "name: Android Performance\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/android-perf.yml'\n      - 'binding/android/PorcupineTestApp/**/build.gradle'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/android-perf.yml'\n      - 'binding/android/PorcupineTestApp/**/build.gradle'\n\ndefaults:\n  run:\n    working-directory: binding/android/PorcupineTestApp/\n\njobs:\n  build:\n    name: Run Android Speed Tests on AppCenter\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        device: [single-android, 32bit-android]\n        include:\n        - device: single-android\n          performanceThresholdSec: 0.5\n        - device: 32bit-android\n          performanceThresholdSec: 2.75\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js LTS\n      uses: actions/setup-node@v3\n      with:\n        node-version: lts/*\n\n    - name: Install AppCenter CLI\n      run: npm install -g appcenter-cli\n\n    - name: set up JDK 11\n      uses: actions/setup-java@v3\n      with:\n        java-version: '11'\n        distribution: 'temurin'\n\n    - name: Copy test_resources\n      run: ./copy_test_resources.sh\n\n    - name: Inject AccessKey\n      run: echo pvTestingAccessKey=\"${{secrets.PV_VALID_ACCESS_KEY}}\" >> local.properties\n\n    - name: Inject Android keystore variables\n      run: |\n        echo storePassword=\"${{secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD}}\" >> local.properties\n        echo keyPassword=\"${{secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD}}\" >> local.properties\n        echo keyAlias=picovoice >> local.properties\n        echo storeFile=../picovoice.jks >> local.properties\n\n    - name: Setup Android keystore file\n      run: echo \"${{secrets.ANDROID_RELEASE_KEYSTORE_FILE_B64}}\" | base64 -d > picovoice.jks\n\n    - name: Inject Number of Iterations\n      run: echo numTestIterations=\"100\" >> local.properties\n\n    - name: Inject Performance Threshold\n      run: echo performanceThresholdSec=\"${{ matrix.performanceThresholdSec }}\" >> local.properties\n\n    - name: Grant execute permission for gradlew\n      run: chmod +x gradlew\n\n    - name: Build app\n      run: ./gradlew assembleEnDebug\n\n    - name: Build androidTest\n      run: ./gradlew assembleEnDebugAndroidTest -DtestBuildType=perf\n\n    - name: Run tests on AppCenter\n      run: appcenter test run espresso\n        --token ${{secrets.APPCENTERAPITOKEN}}\n        --app \"Picovoice/Porcupine-Android\"\n        --devices \"Picovoice/${{ matrix.device }}\"\n        --app-path porcupine-test-app/build/outputs/apk/en/debug/porcupine-test-app-en-debug.apk\n        --test-series \"porcupine-android\"\n        --locale \"en_US\"\n        --build-dir porcupine-test-app/build/outputs/apk/androidTest/en/debug\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:02.773928", "created_at": "2022-12-09T20:43:53+01:00", "updated_at": "2022-12-09T22:03:41+01:00", "name": "Angular Codestyle", "path": ".github/workflows/angular-codestyle.yml", "contents": "name: Angular Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '**/angular/*.js'\n      - '**/angular/*.ts'\n      - '.github/workflows/angular-codestyle.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '**/angular/*.js'\n      - '**/angular/*.ts'\n      - '.github/workflows/angular-codestyle.yml'\n\njobs:\n  check-angular-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js LTS\n      uses: actions/setup-node@v3\n      with:\n        node-version: lts/*\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Run Binding Linter\n      run: yarn && yarn lint\n      working-directory: binding/angular\n\n    - name: Run Demo Linter\n      run: yarn && yarn lint\n      working-directory: demo/angular\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:03.823139", "created_at": "2021-08-26T02:16:11+02:00", "updated_at": "2021-08-28T02:27:43+02:00", "name": "Angular Demos", "path": ".github/workflows/angular-demos.yml", "contents": "name: Angular Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'demo/angular/**'\n      - 'demo/angular-stt/**'\n      - '!demo/angular/README.md'\n      - '!demo/angular-stt/README.md'\n      - '.github/workflows/angular-demos.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'demo/angular/**'\n      - 'demo/angular-stt/**'\n      - '!demo/angular/README.md'\n      - '!demo/angular-stt/README.md'\n      - '.github/workflows/angular-demos.yml'\n\ndefaults:\n  run:\n    working-directory: demo/angular\n\njobs:\n  build-demos:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Build\n      run: yarn build en\n\n    - name: Build another language\n      run: yarn build ja\n  \n  build-stt-demo:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: demo/angular-stt\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js LTS\n      uses: actions/setup-node@v3\n      with:\n        node-version: lts/*\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Build\n      run: yarn build\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:04.871960", "created_at": "2023-06-23T22:37:33+02:00", "updated_at": "2023-06-23T22:37:33+02:00", "name": "Angular STT Demos", "path": ".github/workflows/angular-stt-demos.yml", "contents": null, "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:05.933079", "created_at": "2021-08-25T22:32:24+02:00", "updated_at": "2021-08-28T02:27:43+02:00", "name": "Angular", "path": ".github/workflows/angular.yml", "contents": "name: Angular\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'binding/angular/**'\n      - '!binding/angular/README.md'\n      - 'lib/common/**'\n      - 'lib/wasm/**'\n      - 'resources/**'\n      - '!resources/.lint/**'\n      - '.github/workflows/angular.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'binding/angular/**'\n      - '!binding/angular/README.md'\n      - 'lib/common/**'\n      - 'lib/wasm/**'\n      - 'resources/**'\n      - '!resources/.lint/**'\n      - '.github/workflows/angular.yml'\n\ndefaults:\n  run:\n    working-directory: binding/angular\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Build\n      run: yarn build porcupine-angular\n\n    - name: Set up test\n      run: yarn setup-test\n\n    - name: Run test\n      run: yarn test --env ACCESS_KEY=${{secrets.PV_VALID_ACCESS_KEY}}\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:06.972077", "created_at": "2022-12-08T20:45:50+01:00", "updated_at": "2022-12-09T22:01:38+01:00", "name": "C Codestyle", "path": ".github/workflows/c-codestyle.yml", "contents": "name: C Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '**/*.c'\n      - '.github/workflows/c-codestyle.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '**/*.c'\n      - '.github/workflows/c-codestyle.yml'\n\njobs:\n  check-c-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Install dependencies\n      run: sudo apt install clang-format\n\n    - name: Check c codestyle\n      run: python3 resources/.lint/c/formatter.py -c -v\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:08.067526", "created_at": "2021-12-29T00:05:10+01:00", "updated_at": "2022-01-10T22:03:30+01:00", "name": "C Demos", "path": ".github/workflows/c-demos.yml", "contents": "name: C Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '!demo/c/README.md'\n      - '.github/workflows/c-demos.yml'\n      - 'demo/c/**'\n      - 'lib/beaglebone/**'\n      - 'lib/common/**'\n      - 'lib/jetson/**'\n      - 'lib/linux/**'\n      - 'lib/mac/**'\n      - 'lib/raspberry-pi/**'\n      - 'lib/windows/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '!demo/c/README.md'\n      - '.github/workflows/c-demos.yml'\n      - 'demo/c/**'\n      - 'lib/beaglebone/**'\n      - 'lib/common/**'\n      - 'lib/jetson/**'\n      - 'lib/linux/**'\n      - 'lib/mac/**'\n      - 'lib/raspberry-pi/**'\n      - 'lib/windows/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n\n\ndefaults:\n  run:\n    working-directory: demo/c\n\njobs:\n  build-micdemo-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: recursive\n\n    - name: Create build directory\n      run: cmake -B ./build\n\n    - name: Build micdemo\n      run: cmake --build ./build --target porcupine_demo_mic\n\n  build-micdemo-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: recursive\n\n    - name: Create build directory\n      run: cmake -B ./build\n\n    - name: Build micdemo\n      run: cmake --build ./build --target porcupine_demo_mic\n\n  build-filedemo-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        include:\n        - os: ubuntu-latest\n          platform: linux\n          arch: x86_64\n        - os: windows-latest\n          platform: windows\n          arch: amd64\n        - os: macos-latest\n          platform: mac\n          arch: x86_64\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: recursive\n\n    - name: Set up Python '3.10'\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Create build directory\n      run: cmake -B ./build\n\n    - name: Build filedemo\n      run: cmake --build ./build --target porcupine_demo_file\n\n    - name: Install dependencies\n      run: pip install -r test/requirements.txt\n\n    - name: Test\n      run: python test/test_porcupine_c.py ${{secrets.PV_VALID_ACCESS_KEY}} ${{ matrix.platform }} ${{ matrix.arch }}\n\n  build-filedemo-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n        include:\n        - machine: rpi2\n          platform: raspberry-pi\n          arch: cortex-a7\n        - machine: rpi3-32\n          platform: raspberry-pi\n          arch: cortex-a53\n        - machine: rpi3-64\n          platform: raspberry-pi\n          arch: cortex-a53-aarch64\n        - machine: rpi4-32\n          platform: raspberry-pi\n          arch: cortex-a72\n        - machine: rpi4-64\n          platform: raspberry-pi\n          arch: cortex-a72-aarch64\n        - machine: rpi5-64\n          platform: raspberry-pi\n          arch: cortex-a76-aarch64\n        - machine: jetson\n          platform: jetson\n          arch: cortex-a57-aarch64\n        - machine: beaglebone\n          platform: beaglebone\n          arch: ''\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: recursive\n\n    - name: Create build directory\n      run: cmake -B ./build\n\n    - name: Build filedemo\n      run: cmake --build ./build --target porcupine_demo_file\n\n    - name: Install dependencies\n      run: pip install -r test/requirements.txt\n\n    - name: Test\n      run: python3 test/test_porcupine_c.py ${{secrets.PV_VALID_ACCESS_KEY}} ${{ matrix.platform }} ${{ matrix.arch }}\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:09.089505", "created_at": "2022-12-09T22:03:41+01:00", "updated_at": "2022-12-09T22:03:41+01:00", "name": ".NET Codestyle", "path": ".github/workflows/dotnet-codestyle.yml", "contents": "name: .NET Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'binding/dotnet/**/*.cs'\n      - 'demo/dotnet/**/*.cs'\n      - 'demo/dotnet-vui/**/*.cs'\n      - '.github/workflows/dotnet-codestyle.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'binding/dotnet/**/*.cs'\n      - 'demo/dotnet/**/*.cs'\n      - 'demo/dotnet-vui/**/*.cs'\n      - '.github/workflows/dotnet-codestyle.yml'\n\njobs:\n  check-dotnet-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up .NET 6.0\n      uses: actions/setup-dotnet@v3\n      with:\n        dotnet-version: 6.0.x\n\n    - name: Run Binding Codestyle\n      run: dotnet format --verify-no-changes\n      working-directory: binding/dotnet\n\n    - name: Run Demo Codestyle\n      run: dotnet format --verify-no-changes\n      working-directory: demo/dotnet\n\n    - name: Run Demo-vui Codestyle\n      run: dotnet format --verify-no-changes\n      working-directory: demo/dotnet-vui\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:10.148749", "created_at": "2021-08-25T22:32:24+02:00", "updated_at": "2021-11-03T00:46:07+01:00", "name": ".NET Demos", "path": ".github/workflows/dotnet-demos.yml", "contents": "name: .NET Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'demo/dotnet/**'\n      - 'demo/dotnet-vui/**'\n      - '!demo/dotnet/README.md'\n      - '!demo/dotnet-vui/README.md'\n      - '.github/workflows/dotnet-demos.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'demo/dotnet/**'\n      - 'demo/dotnet-vui/**'\n      - '!demo/dotnet/README.md'\n      - '!demo/dotnet-vui/README.md'\n      - '.github/workflows/dotnet-demos.yml'\n\ndefaults:\n  run:\n    working-directory: demo/dotnet/PorcupineDemo\n\njobs:\n  build-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up .NET 6.0\n      uses: actions/setup-dotnet@v3\n      with:\n        dotnet-version: 6.0.x\n\n    - name: Package restore\n      run: dotnet restore\n\n    - name: Dotnet build micdemo\n      run: dotnet build -c MicDemo.Release\n\n    - name: Dotnet build filedemo\n      run: dotnet build -c FileDemo.Release\n\n    - name: Run Dotnet filedemo\n      run: dotnet run -c FileDemo.Release -- --input_audio_path ../../../resources/audio_samples/multiple_keywords.wav --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --keywords picovoice\n\n  build-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Package restore\n      run: dotnet restore\n\n    - name: Dotnet build micdemo\n      run: dotnet build -c MicDemo.Release\n\n    - name: Dotnet build filedemo\n      run: dotnet build -c FileDemo.Release\n\n    - name: Run Dotnet filedemo\n      run: dotnet run -c FileDemo.Release -- --input_audio_path ../../../resources/audio_samples/multiple_keywords.wav --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --keywords picovoice\n\n  build-vui-demo:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        working-directory: demo/dotnet-vui/AvaloniaVUI\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up .NET 6.0\n      uses: actions/setup-dotnet@v3\n      with:\n        dotnet-version: 6.0.x\n\n    - name: Package restore\n      run: dotnet restore\n\n    - name: Dotnet build\n      run: dotnet build\n\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:11.148378", "created_at": "2023-06-23T22:37:33+02:00", "updated_at": "2023-06-23T22:37:33+02:00", "name": ".NET VUI Demos", "path": ".github/workflows/dotnet-vui-demos.yml", "contents": null, "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:12.160492", "created_at": "2021-07-30T22:48:22+02:00", "updated_at": "2021-07-30T22:48:22+02:00", "name": ".NET", "path": ".github/workflows/dotnet.yml", "contents": "name: .NET\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'binding/dotnet/**'\n      - '!binding/dotnet/README.md'\n      - 'lib/beaglebone/**'\n      - 'lib/common/**'\n      - 'lib/linux/**'\n      - 'lib/jetson/**'\n      - 'lib/mac/**'\n      - 'lib/raspberry-pi/**'\n      - 'lib/windows/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n      - '.github/workflows/dotnet.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'binding/dotnet/**'\n      - '!binding/dotnet/README.md'\n      - 'lib/beaglebone/**'\n      - 'lib/common/**'\n      - 'lib/linux/**'\n      - 'lib/jetson/**'\n      - 'lib/mac/**'\n      - 'lib/raspberry-pi/**'\n      - 'lib/windows/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n      - '.github/workflows/dotnet.yml'\n\ndefaults:\n  run:\n    working-directory: binding/dotnet\n\njobs:\n  build-github-hosted:\n    runs-on: ${{ matrix.os }}\n    env:\n      ACCESS_KEY: ${{secrets.PV_VALID_ACCESS_KEY}}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        dotnet-version: [2.1.x, 3.0.x, 3.1.x, 5.0.x, 6.0.x]\n        include:\n          - dotnet-version: 2.1.x\n            binding-framework: netstandard2.0\n            test-framework: netcoreapp2.1\n          - dotnet-version: 3.0.x\n            binding-framework: netcoreapp3.0\n            test-framework: netcoreapp3.0\n          - dotnet-version: 3.1.x\n            binding-framework: netcoreapp3.0\n            test-framework: netcoreapp3.1\n          - dotnet-version: 5.0.x\n            binding-framework: netcoreapp3.0\n            test-framework: net5.0\n          - dotnet-version: 6.0.x\n            binding-framework: net6.0\n            test-framework: net6.0\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up .NET\n      uses: actions/setup-dotnet@v3\n      with:\n        dotnet-version: ${{ matrix.dotnet-version }}\n\n    - name: Build binding\n      run: dotnet build Porcupine/Porcupine.csproj --framework ${{ matrix.binding-framework }}\n\n    - name: Test\n      run: dotnet test --framework ${{ matrix.test-framework }} -v n\n\n  build-self-hosted:\n    runs-on: ${{ matrix.machine }}\n    env:\n      ACCESS_KEY: ${{secrets.PV_VALID_ACCESS_KEY}}\n\n    strategy:\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Build binding\n      run: dotnet build Porcupine/Porcupine.csproj --framework net6.0\n\n    - name: Test\n      run: dotnet test --framework net6.0 -v n\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:13.180392", "created_at": "2022-12-09T00:56:09+01:00", "updated_at": "2022-12-09T22:03:41+01:00", "name": "Flutter Codestyle", "path": ".github/workflows/flutter-codestyle.yml", "contents": "name: Flutter Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '**/*.dart'\n      - '.github/workflows/flutter-codestyle.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '**/*.dart'\n      - '.github/workflows/flutter-codestyle.yml'\n\njobs:\n  check-flutter-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Install Flutter 2.8.1\n      uses: subosito/flutter-action@v2\n      with:\n        flutter-version: 2.8.1\n\n    - name: Run Binding Analyzer\n      run: flutter analyze --no-fatal-infos --no-fatal-warnings\n      working-directory: binding/flutter\n\n    - name: Run Demo Analyzer\n      run: flutter analyze --no-fatal-infos --no-fatal-warnings\n      working-directory: demo/flutter\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:14.254020", "created_at": "2023-06-09T21:03:42+02:00", "updated_at": "2023-08-18T20:15:58+02:00", "name": "Flutter Demos", "path": ".github/workflows/flutter-demos.yml", "contents": "name: Flutter Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/flutter-demos.yml'\n      - 'demo/flutter/**'\n      - '!demo/flutter/README.md'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/flutter-demos.yml'\n      - 'demo/flutter/**'\n      - '!demo/flutter/README.md'\n\ndefaults:\n  run:\n    working-directory: demo/flutter\n\njobs:\n  build-android:\n    name: Build Android demo\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        flutter-version: ['2.8.1', '3.0.4']\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up JDK 11\n      uses: actions/setup-java@v3\n      with:\n        java-version: '11'\n        distribution: 'temurin'\n\n    - name: Install Flutter ${{ matrix.flutter-version }}\n      uses: subosito/flutter-action@v2\n      with:\n        flutter-version: ${{ matrix.flutter-version }}\n\n    - name: Install dependencies\n      run: flutter pub get\n\n    - name: Prepare demo\n      run: dart scripts/prepare_demo.dart en\n\n    - name: Build\n      run: flutter build apk\n\n  build-ios:\n    name: Build iOS demo\n    runs-on: macos-11\n    strategy:\n      matrix:\n        flutter-version: ['2.8.1', '3.0.4']\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Install Flutter ${{ matrix.flutter-version }}\n      uses: subosito/flutter-action@v2\n      with:\n        flutter-version: ${{ matrix.flutter-version }}\n        architecture: x64\n\n    - name: Update Cocoapods repo\n      run: pod repo update\n\n    - name: Install dependencies\n      run: flutter pub get\n\n    - name: Prepare demo\n      run: dart scripts/prepare_demo.dart en\n\n    - name: Build\n      run: flutter build ios --release --no-codesign\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:15.380388", "created_at": "2022-07-13T02:10:34+02:00", "updated_at": "2024-01-24T23:49:56+01:00", "name": "Flutter Tests", "path": ".github/workflows/flutter.yml", "contents": "name: Flutter Tests\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/flutter.yml'\n      - 'demo/flutter/pubspec.yaml'\n      - 'lib/common/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/android/**'\n      - 'resources/keyword_files*/ios/**'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/flutter.yml'\n      - 'demo/flutter/pubspec.yaml'\n      - 'lib/common/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/android/**'\n      - 'resources/keyword_files*/ios/**'\n\ndefaults:\n  run:\n    working-directory: demo/flutter\n\njobs:\n  test-android:\n    name: Test Android\n    runs-on: pv-android\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Copy test_resources\n      run: ./copy_test_resources.sh\n\n    - name: Inject AppID\n      run: sed -i 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:'\n        integration_test/app_test.dart\n\n    - name: Install dependencies\n      run: flutter pub get\n\n    - name: Prepare demo\n      run: dart scripts/prepare_demo.dart en\n\n    - name: Run integration tests\n      run: flutter test integration_test\n\n  test-ios:\n    name: Test iOS\n    runs-on: pv-ios\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Copy test_resources\n      run: ./copy_test_resources.sh\n\n    - name: Inject AppID\n      run: sed -i '.bak' 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:'\n        integration_test/app_test.dart\n\n    - name: Update Cocoapods repo\n      run: pod repo update\n\n    - name: Install dependencies\n      run: flutter pub get\n\n    - name: Prepare demo\n      run: dart scripts/prepare_demo.dart en\n\n    - name: Run integration tests\n      run: flutter test integration_test\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:16.390419", "created_at": "2022-12-07T23:52:39+01:00", "updated_at": "2022-12-08T23:04:08+01:00", "name": "Go Codestyle", "path": ".github/workflows/go-codestyle.yml", "contents": "name: Go Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '**/*.go'\n      - '.github/workflows/go-codestyle.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '**/*.go'\n      - '.github/workflows/go-codestyle.yml'\n\njobs:\n  check-go-binding-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up go\n      uses: actions/setup-go@v4\n      with:\n        go-version: 1.18\n\n    - name: golangci-lint\n      uses: golangci/golangci-lint-action@v3\n      with:\n        working-directory: binding/go\n\n  check-go-micdemo-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up go\n      uses: actions/setup-go@v4\n      with:\n        go-version: 1.18\n\n    - name: golangci-lint\n      uses: golangci/golangci-lint-action@v3\n      with:\n        working-directory: demo/go/micdemo\n\n  check-go-filedemo-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up go\n      uses: actions/setup-go@v4\n      with:\n        go-version: 1.18\n\n    - name: golangci-lint\n      uses: golangci/golangci-lint-action@v3\n      with:\n        working-directory: demo/go/filedemo\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:17.445501", "created_at": "2021-08-26T02:16:11+02:00", "updated_at": "2021-08-28T02:27:43+02:00", "name": "Go Demos", "path": ".github/workflows/go-demos.yml", "contents": "name: Go Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'demo/go/**'\n      - '!demo/go/README.md'\n      - '.github/workflows/go-demos.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'demo/go/**'\n      - '!demo/go/README.md'\n      - '.github/workflows/go-demos.yml'\n\n\ndefaults:\n  run:\n    working-directory: demo/go\n\njobs:\n  build-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest, windows-latest, macos-latest ]\n        go: [ '1.16', '1.17', '1.18', '1.19', '1.20', 'stable' ]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Mingw\n      uses: egor-tensin/setup-mingw@v2\n      if: ${{ (matrix.os == 'windows-latest') && (matrix.go != 'stable') && (matrix.go < 1.20) }}\n      with:\n        version: 11.2.0\n\n    - name: Set up go\n      uses: actions/setup-go@v4\n      with:\n        go-version: ${{ matrix.go }}\n\n    - name: Build micdemo\n      run: go build micdemo/porcupine_mic_demo.go\n\n    - name: Build filedemo\n      run: go build filedemo/porcupine_file_demo.go\n\n    - name: Test filedemo\n      run: ./porcupine_file_demo -access_key ${{secrets.PV_VALID_ACCESS_KEY}} -input_audio_path ../../resources/audio_samples/multiple_keywords.wav -keywords picovoice\n\n  build-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson ]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Build micdemo\n      run: go build micdemo/porcupine_mic_demo.go\n\n    - name: Build filedemo\n      run: go build filedemo/porcupine_file_demo.go\n\n    - name: Test filedemo\n      run: ./porcupine_file_demo -access_key ${{secrets.PV_VALID_ACCESS_KEY}} -input_audio_path ../../resources/audio_samples/multiple_keywords.wav -keywords picovoice\n\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:18.460000", "created_at": "2021-08-25T23:01:45+02:00", "updated_at": "2021-08-28T02:27:43+02:00", "name": "Go", "path": ".github/workflows/go.yml", "contents": "name: Go\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'binding/go/**'\n      - '!binding/go/README.md'\n      - 'lib/beaglebone/**'\n      - 'lib/common/**'\n      - 'lib/linux/**'\n      - 'lib/jetson/**'\n      - 'lib/mac/**'\n      - 'lib/raspberry-pi/**'\n      - 'lib/windows/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n      - '.github/workflows/go.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'binding/go/**'\n      - '!binding/go/README.md'\n      - 'lib/beaglebone/**'\n      - 'lib/common/**'\n      - 'lib/linux/**'\n      - 'lib/jetson/**'\n      - 'lib/mac/**'\n      - 'lib/raspberry-pi/**'\n      - 'lib/windows/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n      - '.github/workflows/go.yml'\n\ndefaults:\n  run:\n    working-directory: binding/go\n\njobs:\n  build-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        go: [ '1.16', '1.17', '1.18', '1.19', '1.20', 'stable' ]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Mingw\n      uses: egor-tensin/setup-mingw@v2\n      if: ${{ (matrix.os == 'windows-latest') && (matrix.go != 'stable') && (matrix.go < 1.20) }}\n      with:\n        version: 11.2.0\n\n    - name: Set up go\n      uses: actions/setup-go@v4\n      with:\n        go-version: ${{ matrix.go }}\n\n    - name: Pre-build dependencies\n      run: ./copy.sh\n\n    - name: Install dependencies\n      run: go get\n\n    - name: Build\n      run: go build\n\n    - name: Test\n      run: go test -v -access_key ${{secrets.PV_VALID_ACCESS_KEY}}\n\n  build-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Pre-build dependencies\n      run: ./copy.sh\n\n    - name: Install dependencies\n      run: go get\n\n    - name: Build\n      run: go build\n\n    - name: Test\n      run: go test -v -access_key ${{secrets.PV_VALID_ACCESS_KEY}}\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:19.509398", "created_at": "2021-08-13T22:12:29+02:00", "updated_at": "2021-08-14T00:02:06+02:00", "name": "iOS AppCenter Tests", "path": ".github/workflows/ios-appcenter.yml", "contents": "name: iOS AppCenter Tests\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/ios-appcenter.yml'\n      - 'binding/ios/PorcupineAppTest/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/ios-appcenter.yml'\n      - 'binding/ios/PorcupineAppTest/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n\ndefaults:\n  run:\n    working-directory: binding/ios/PorcupineAppTest\n\njobs:\n  build:\n    name: Run iOS Tests on AppCenter\n    runs-on: macos-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Node.js LTS\n        uses: actions/setup-node@v3\n        with:\n          node-version: lts/*\n\n      - name: Install Cocoapods\n        run: gem install cocoapods\n\n      - name: Install AppCenter CLI\n        run: npm install -g appcenter-cli\n\n      - name: Make build dir\n        run: mkdir ddp\n\n      - name: Install resource script dependency\n        run: |\n          brew update\n          brew install convmv\n\n      - name: Copy test_resources\n        run: ./copy_test_resources.sh\n\n      - name: Run Cocoapods\n        run: pod install\n\n      - name: Inject AppID\n        run: sed -i '.bak' 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:'\n          PorcupineAppTestUITests/BaseTest.swift\n\n      - name: XCode Build\n        run: xcrun xcodebuild build-for-testing\n          -configuration Debug\n          -workspace PorcupineAppTest.xcworkspace\n          -sdk iphoneos\n          -scheme PorcupineAppTest\n          -derivedDataPath ddp\n          CODE_SIGNING_ALLOWED=NO\n\n      - name: Run Tests on AppCenter\n        run: appcenter test run xcuitest\n          --token ${{secrets.APPCENTERAPITOKEN}}\n          --app \"Picovoice/Porcupine-iOS\"\n          --devices \"Picovoice/ios-min-max\"\n          --test-series \"porcupine-ios\"\n          --locale \"en_US\"\n          --build-dir ddp/Build/Products/Debug-iphoneos\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:20.538897", "created_at": "2023-06-09T21:03:42+02:00", "updated_at": "2023-06-12T23:23:24+02:00", "name": "iOS Demos", "path": ".github/workflows/ios-demos.yml", "contents": "name: iOS Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'demo/ios/**'\n      - '.github/workflows/ios-demos.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'demo/ios/**'\n      - '.github/workflows/ios-demos.yml'\n\njobs:\n  build-foreground-app:\n    runs-on: macos-latest\n    defaults:\n      run:\n        working-directory: demo/ios/ForegroundApp\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Node.js LTS\n        uses: actions/setup-node@v3\n        with:\n          node-version: lts/*\n\n      - name: Install Cocoapods\n        run: gem install cocoapods\n\n      - name: Install AppCenter CLI\n        run: npm install -g appcenter-cli\n\n      - name: Make build dir\n        run: mkdir ddp\n\n      - name: Run Cocoapods\n        run: pod install\n\n      - name: Build English\n        run: xcrun xcodebuild build\n          -configuration Debug\n          -workspace PorcupineForegroundAppDemo.xcworkspace\n          -sdk iphoneos\n          -scheme _enDemo\n          -derivedDataPath ddp\n          CODE_SIGNING_ALLOWED=NO\n\n      - name: Build Other Language\n        run: xcrun xcodebuild build\n          -configuration Debug\n          -workspace PorcupineForegroundAppDemo.xcworkspace\n          -sdk iphoneos\n          -scheme deDemo\n          -derivedDataPath ddp\n          CODE_SIGNING_ALLOWED=NO\n\n  build-background-service:\n    runs-on: macos-latest\n    defaults:\n      run:\n        working-directory: demo/ios/BackgroundService\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Node.js LTS\n        uses: actions/setup-node@v3\n        with:\n          node-version: lts/*\n\n      - name: Install Cocoapods\n        run: gem install cocoapods\n\n      - name: Install AppCenter CLI\n        run: npm install -g appcenter-cli\n\n      - name: Make build dir\n        run: mkdir ddp\n\n      - name: Run Cocoapods\n        run: pod install\n\n      - name: Build\n        run: xcrun xcodebuild build\n          -configuration Debug\n          -workspace PorcupineBackgroundServiceDemo.xcworkspace\n          -sdk iphoneos\n          -scheme PorcupineBackgroundServiceDemo\n          -derivedDataPath ddp\n          CODE_SIGNING_ALLOWED=NO\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:21.581779", "created_at": "2022-04-08T01:10:28+02:00", "updated_at": "2022-04-08T19:41:57+02:00", "name": "iOS Performance", "path": ".github/workflows/ios-perf.yml", "contents": "name: iOS Performance\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'lib/ios/**'\n      - 'lib/common/**'\n      - 'resources/keyword_files/ios/**'\n      - '.github/workflows/ios-perf.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'lib/ios/**'\n      - 'lib/common/**'\n      - 'resources/keyword_files/ios/**'\n      - '.github/workflows/ios-perf.yml'\n\ndefaults:\n  run:\n    working-directory: binding/ios/PorcupineAppTest\n\njobs:\n  build:\n    name: Run iOS Tests on AppCenter\n    runs-on: macos-latest\n\n    strategy:\n      matrix:\n        device: [ios-perf]\n        include:\n        - device: ios-perf\n          performanceThresholdSec: 0.5\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Node.js LTS\n        uses: actions/setup-node@v3\n        with:\n          node-version: lts/*\n\n      - name: Install Cocoapods\n        run: gem install cocoapods\n\n      - name: Install AppCenter CLI\n        run: npm install -g appcenter-cli\n\n      - name: Make build dir\n        run: mkdir ddp\n\n      - name: Install resource script dependency\n        run: |\n          brew update\n          brew install convmv\n\n      - name: Copy test_resources\n        run: ./copy_test_resources.sh\n\n      - name: Run Cocoapods\n        run: pod install\n\n      - name: Inject AppID\n        run: sed -i '.bak' 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:'\n          PerformanceTest/PerformanceTest.swift\n\n      - name: Inject Number of Iterations\n        run: sed -i '.bak' 's:{NUM_TEST_ITERATIONS}:100:'\n          PerformanceTest/PerformanceTest.swift\n\n      - name: Inject Performance Threshold\n        run: sed -i '.bak' 's:{PERFORMANCE_THRESHOLD_SEC}:${{ matrix.performanceThresholdSec }}:'\n          PerformanceTest/PerformanceTest.swift\n\n      - name: XCode Build\n        run: xcrun xcodebuild build-for-testing\n          -configuration Debug\n          -workspace PorcupineAppTest.xcworkspace\n          -sdk iphoneos\n          -scheme PerformanceTest\n          -derivedDataPath ddp\n          CODE_SIGNING_ALLOWED=NO\n\n      - name: Run Tests on AppCenter\n        run: appcenter test run xcuitest\n          --token ${{secrets.APPCENTERAPITOKEN}}\n          --app \"Picovoice/Porcupine-iOS\"\n          --devices \"Picovoice/${{ matrix.device }}\"\n          --test-series \"porcupine-ios\"\n          --locale \"en_US\"\n          --build-dir ddp/Build/Products/Debug-iphoneos\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:22.655787", "created_at": "2022-12-02T03:03:58+01:00", "updated_at": "2022-12-03T01:48:12+01:00", "name": "Java CodeStyle", "path": ".github/workflows/java-codestyle.yml", "contents": "name: Java CodeStyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '**/*.java'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '**/*.java'\n\njobs:\n  check-java-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up JDK 11\n      uses: actions/setup-java@v3\n      with:\n        java-version: '11'\n        distribution: 'temurin'\n\n    - name: Check Java CodeStyle\n      run: java -Dconfig_loc=resources/.lint/java/ -jar resources/.lint/java/checkstyle-10.5.0-all.jar -c resources/.lint/java/checkstyle.xml binding/android/ binding/java/ binding/flutter/android/ binding/react-native/android/ demo/android/ demo/java/\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:23.679923", "created_at": "2021-08-26T02:16:11+02:00", "updated_at": "2021-08-28T02:27:43+02:00", "name": "Java Demos", "path": ".github/workflows/java-demos.yml", "contents": "name: Java Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/java-demos.yml'\n      - 'demo/java/**'\n      - '!demo/java/README.md'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/java-demos.yml'\n      - 'demo/java/**'\n      - '!demo/java/README.md'\n\ndefaults:\n  run:\n    working-directory: demo/java\n\njobs:\n  build-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up JDK 11\n      uses: actions/setup-java@v3\n      with:\n        java-version: '11'\n        distribution: 'temurin'\n\n    - name: Build\n      run: ./gradlew build\n\n    - name: Run filedemo\n      run: java -jar build/libs/porcupine-file-demo.jar -a  ${{secrets.PV_VALID_ACCESS_KEY}} -i ../../resources/audio_samples/multiple_keywords.wav -k picovoice\n\n  build-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Build\n      run: ./gradlew build\n\n    - name: Run filedemo\n      run: java -jar build/libs/porcupine-file-demo.jar -a  ${{secrets.PV_VALID_ACCESS_KEY}} -i ../../resources/audio_samples/multiple_keywords.wav -k picovoice\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:24.695526", "created_at": "2022-04-08T00:25:39+02:00", "updated_at": "2022-04-08T19:41:57+02:00", "name": "Java Performance", "path": ".github/workflows/java-perf.yml", "contents": "name: Java Performance\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/java-perf.yml'\n      - 'binding/java/**/PorcupinePerformanceTest.java'\n      - 'lib/common/**'\n      - 'lib/java/**'\n      - 'resources/keyword_files/beaglebone/**'\n      - 'resources/keyword_files/jetson/**'\n      - 'resources/keyword_files/linux/**'\n      - 'resources/keyword_files/mac/**'\n      - 'resources/keyword_files/raspberry-pi/**'\n      - 'resources/keyword_files/windows/**'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/java-perf.yml'\n      - 'lib/common/**'\n      - 'lib/java/**'\n      - 'resources/keyword_files/beaglebone/**'\n      - 'resources/keyword_files/jetson/**'\n      - 'resources/keyword_files/linux/**'\n      - 'resources/keyword_files/mac/**'\n      - 'resources/keyword_files/raspberry-pi/**'\n      - 'resources/keyword_files/windows/**'\n\ndefaults:\n  run:\n    working-directory: binding/java\n\njobs:\n  perf-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        include:\n        - os: ubuntu-latest\n          performance_threshold_sec: 0.5\n        - os: windows-latest\n          performance_threshold_sec: 0.5\n        - os: macos-latest\n          performance_threshold_sec: 0.5\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up JDK 11\n      uses: actions/setup-java@v3\n      with:\n        java-version: '11'\n        distribution: 'temurin'\n\n    - name: Build\n      run: ./gradlew assemble\n\n    - name: Test\n      run: ./gradlew test --info --tests PorcupinePerformanceTest -DpvTestingAccessKey=\"${{secrets.PV_VALID_ACCESS_KEY}}\" -DnumTestIterations=\"100\" -DperformanceThresholdSec=\"${{matrix.performance_threshold_sec}}\"\n\n  perf-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n        include:\n        - machine: rpi2\n          num_test_iterations: 20\n          performance_threshold_sec: 5.5\n        - machine: rpi3-32\n          num_test_iterations: 50\n          performance_threshold_sec: 2.0\n        - machine: rpi3-64\n          num_test_iterations: 50\n          performance_threshold_sec: 2.5\n        - machine: rpi4-32\n          num_test_iterations: 50\n          performance_threshold_sec: 1.5\n        - machine: rpi4-64\n          num_test_iterations: 50\n          performance_threshold_sec: 1.5\n        - machine: rpi5-64\n          num_test_iterations: 50\n          performance_threshold_sec: 1.0\n        - machine: jetson\n          num_test_iterations: 50\n          performance_threshold_sec: 2.0\n        - machine: beaglebone\n          num_test_iterations: 10\n          performance_threshold_sec: 20.0\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Build\n      run: ./gradlew assemble\n\n    - name: Machine state before\n      working-directory: resources/scripts\n      run: bash machine-state.sh\n\n    - name: Test\n      run: ./gradlew test --info --tests PorcupinePerformanceTest -DpvTestingAccessKey=\"${{secrets.PV_VALID_ACCESS_KEY}}\" -DnumTestIterations=\"${{matrix.num_test_iterations}}\" -DperformanceThresholdSec=\"${{matrix.performance_threshold_sec}}\"\n\n    - name: Machine state after\n      working-directory: resources/scripts\n      run: bash machine-state.sh\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:25.899424", "created_at": "2021-08-25T23:14:05+02:00", "updated_at": "2021-12-21T21:54:23+01:00", "name": "Java", "path": ".github/workflows/java.yml", "contents": "name: Java\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/java.yml'\n      - 'binding/java/**'\n      - '!binding/java/README.md'\n      - 'lib/common/**'\n      - 'lib/java/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n      - 'resources/.test/**'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/java.yml'\n      - 'binding/java/**'\n      - '!binding/java/README.md'\n      - 'lib/common/**'\n      - 'lib/java/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n      - 'resources/.test/**'\n\ndefaults:\n  run:\n    working-directory: binding/java\n\njobs:\n  build-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up JDK 11\n      uses: actions/setup-java@v3\n      with:\n        java-version: '11'\n        distribution: 'temurin'\n\n    - name: Build\n      run: ./gradlew assemble\n\n    - name: Test\n      run: ./gradlew test --info --tests PorcupineTest -DpvTestingAccessKey=\"${{secrets.PV_VALID_ACCESS_KEY}}\"\n\n  build-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Build\n      run: ./gradlew assemble\n\n    - name: Test\n      run: ./gradlew test --info --tests PorcupineTest -DpvTestingAccessKey=\"${{secrets.PV_VALID_ACCESS_KEY}}\"\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:27.051583", "created_at": "2022-08-18T22:05:26+02:00", "updated_at": "2022-08-18T22:05:26+02:00", "name": "Check Markdown links", "path": ".github/workflows/link-check.yml", "contents": "name: Check Markdown links\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n\njobs:\n  markdown-link-check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - uses: gaurav-nelson/github-action-markdown-link-check@1.0.14\n      with:\n        use-quiet-mode: 'yes'\n        use-verbose-mode: 'yes'\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:28.062109", "created_at": "2022-12-09T20:43:53+01:00", "updated_at": "2022-12-09T22:03:41+01:00", "name": "Node.js Codestyle", "path": ".github/workflows/nodejs-codestyle.yml", "contents": "name: Node.js Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '**/nodejs/*.js'\n      - '**/nodejs/*.ts'\n      - '.github/workflows/nodejs-codestyle.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '**/nodejs/*.js'\n      - '**/nodejs/*.ts'\n      - '.github/workflows/nodejs-codestyle.yml'\n\njobs:\n  check-nodejs-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js LTS\n      uses: actions/setup-node@v3\n      with:\n        node-version: lts/*\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Run Binding Linter\n      run: yarn && yarn lint\n      working-directory: binding/nodejs\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:29.091977", "created_at": "2023-06-09T21:03:42+02:00", "updated_at": "2023-06-12T23:23:24+02:00", "name": "Node.js Demos", "path": ".github/workflows/nodejs-demos.yml", "contents": "name: Node.js Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'demo/nodejs/**'\n      - '!demo/nodejs/README.md'\n      - 'lib/node/**'\n      - '.github/workflows/nodejs-demos.yml'\n\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'demo/nodejs/**'\n      - '!demo/nodejs/README.md'\n      - 'lib/node/**'\n      - '.github/workflows/nodejs-demos.yml'\n\ndefaults:\n  run:\n    working-directory: demo/nodejs\n\njobs:\n  build-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Use Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Test\n      run: yarn file -a ${{secrets.PV_VALID_ACCESS_KEY}} -i ../../resources/audio_samples/multiple_keywords.wav -k picovoice\n\n  build-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Test\n      run: yarn file -a ${{secrets.PV_VALID_ACCESS_KEY}} -i ../../resources/audio_samples/multiple_keywords.wav -k picovoice", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:30.258674", "created_at": "2022-04-07T22:49:12+02:00", "updated_at": "2022-04-08T19:41:57+02:00", "name": "Node.js Performance", "path": ".github/workflows/nodejs-perf.yml", "contents": "name: Node.js Performance\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/nodejs-perf.yml'\n      - 'lib/node/**'\n      - 'lib/common/**'\n      - 'resources/keyword_files/beaglebone/**'\n      - 'resources/keyword_files/jetson/**'\n      - 'resources/keyword_files/linux/**'\n      - 'resources/keyword_files/mac/**'\n      - 'resources/keyword_files/raspberry-pi/**'\n      - 'resources/keyword_files/windows/**'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/nodejs-perf.yml'\n      - 'lib/node/**'\n      - 'lib/common/**'\n      - 'resources/keyword_files/beaglebone/**'\n      - 'resources/keyword_files/jetson/**'\n      - 'resources/keyword_files/linux/**'\n      - 'resources/keyword_files/mac/**'\n      - 'resources/keyword_files/raspberry-pi/**'\n      - 'resources/keyword_files/windows/**'\n\ndefaults:\n  run:\n    working-directory: binding/nodejs\n\njobs:\n  performance-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        include:\n        - os: ubuntu-latest\n          performance_threshold_sec: 0.5\n        - os: windows-latest\n          performance_threshold_sec: 0.5\n        - os: macos-latest\n          performance_threshold_sec: 0.75\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js '18.x'\n      uses: actions/setup-node@v3\n      with:\n        node-version: '18.x'\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Test\n      run: yarn test test/perf.test.ts --access_key=${{secrets.PV_VALID_ACCESS_KEY}} --num_test_iterations=100 --performance_threshold_sec=${{matrix.performance_threshold_sec}}\n\n  performance-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n        include:\n        - machine: rpi2\n          num_test_iterations: 20\n          performance_threshold_sec: 5.5\n        - machine: rpi3-32\n          num_test_iterations: 50\n          performance_threshold_sec: 2.0\n        - machine: rpi3-64\n          num_test_iterations: 50\n          performance_threshold_sec: 2.5\n        - machine: rpi4-32\n          num_test_iterations: 50\n          performance_threshold_sec: 1.5\n        - machine: rpi4-64\n          num_test_iterations: 50\n          performance_threshold_sec: 1.5\n        - machine: rpi5-64\n          num_test_iterations: 50\n          performance_threshold_sec: 0.5\n        - machine: jetson\n          num_test_iterations: 50\n          performance_threshold_sec: 2.0\n        - machine: beaglebone\n          num_test_iterations: 10\n          performance_threshold_sec: 20.0\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Pre-build dependencies\n      run: npm install --global yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Machine state before\n      working-directory: resources/scripts\n      run: bash machine-state.sh\n\n    - name: Test\n      run: yarn test test/perf.test.ts --access_key=${{secrets.PV_VALID_ACCESS_KEY}} --num_test_iterations=${{matrix.num_test_iterations}} --performance_threshold_sec=${{matrix.performance_threshold_sec}}\n\n    - name: Machine state after\n      working-directory: resources/scripts\n      run: bash machine-state.sh\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:31.968729", "created_at": "2021-08-25T22:32:24+02:00", "updated_at": "2022-04-07T22:49:12+02:00", "name": "Node.js", "path": ".github/workflows/nodejs.yml", "contents": "name: Node.js\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/nodejs.yml'\n      - 'binding/nodejs/**'\n      - '!binding/nodejs/README.md'\n      - 'lib/node/**'\n      - 'lib/common/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n      - 'resources/test/**'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/nodejs.yml'\n      - 'binding/nodejs/**'\n      - '!binding/nodejs/README.md'\n      - 'lib/node/**'\n      - 'lib/common/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n      - 'resources/test/**'\n\ndefaults:\n  run:\n    working-directory: binding/nodejs\n\njobs:\n  build-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Test\n      run: yarn test test/index.test.ts --access_key=${{secrets.PV_VALID_ACCESS_KEY}}\n\n  build-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Pre-build dependencies\n      run: npm install --global yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Test\n      run: yarn test test/index.test.ts --access_key=${{secrets.PV_VALID_ACCESS_KEY}}\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:32.993019", "created_at": "2022-11-28T22:35:50+01:00", "updated_at": "2022-12-09T22:03:41+01:00", "name": "Python Codestyle", "path": ".github/workflows/python-codestyle.yml", "contents": "name: Python Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'binding/python/*.py'\n      - 'demo/python/*.py'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'binding/python/*.py'\n      - 'demo/python/*.py'\n\njobs:\n  check-python-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Install dependencies\n      run: pip install flake8 pep8-naming\n\n    - name: Check python codestyle\n      run: flake8 --ignore=F401,F403,F405 --max-line-length=120 binding/python demo/python", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:34.029950", "created_at": "2023-06-09T21:03:42+02:00", "updated_at": "2023-06-12T23:23:24+02:00", "name": "Python Demos", "path": ".github/workflows/python-demos.yml", "contents": "name: Python Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/python-demos.yml'\n      - 'demo/python/**'\n      - '!demo/python/README.md'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/python-demos.yml'\n      - 'demo/python/**'\n      - '!demo/python/README.md'\n\ndefaults:\n  run:\n    working-directory: demo/python\n\njobs:\n  build-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Pre-build dependencies\n      run: python -m pip install --upgrade pip\n\n    - name: Install dependencies\n      run: pip install -r requirements.txt\n\n    - name: Test\n      run: python porcupine_demo_file.py --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --wav_path ../../resources/audio_samples/multiple_keywords.wav --keywords picovoice\n\n  build-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Install dependencies\n      run: pip3 install -r requirements.txt\n\n    - name: Test\n      run: python3 porcupine_demo_file.py --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --wav_path ../../resources/audio_samples/multiple_keywords.wav --keywords picovoice", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:35.056688", "created_at": "2022-04-07T21:07:33+02:00", "updated_at": "2022-04-08T19:41:57+02:00", "name": "Python Perfomance", "path": ".github/workflows/python-perf.yml", "contents": "name: Python Perfomance\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/python-perf.yml'\n      - 'binding/python/test_porcupine_perf.py'\n      - 'lib/beaglebone/**'\n      - 'lib/common/**'\n      - 'lib/jetson/**'\n      - 'lib/linux/**'\n      - 'lib/mac/**'\n      - 'lib/raspberry-pi/**'\n      - 'lib/windows/**'\n      - 'resources/keyword_files/beaglebone/**'\n      - 'resources/keyword_files/jetson/**'\n      - 'resources/keyword_files/linux/**'\n      - 'resources/keyword_files/mac/**'\n      - 'resources/keyword_files/raspberry-pi/**'\n      - 'resources/keyword_files/windows/**'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/python-perf.yml'\n      - 'binding/python/test_porcupine_perf.py'\n      - 'lib/beaglebone/**'\n      - 'lib/common/**'\n      - 'lib/jetson/**'\n      - 'lib/linux/**'\n      - 'lib/mac/**'\n      - 'lib/raspberry-pi/**'\n      - 'lib/windows/**'\n      - 'resources/keyword_files/beaglebone/**'\n      - 'resources/keyword_files/jetson/**'\n      - 'resources/keyword_files/linux/**'\n      - 'resources/keyword_files/mac/**'\n      - 'resources/keyword_files/raspberry-pi/**'\n      - 'resources/keyword_files/windows/**'\n\ndefaults:\n  run:\n    working-directory: binding/python\n\njobs:\n  perf-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        include:\n        - os: ubuntu-latest\n          performance_threshold_sec: 0.5\n        - os: windows-latest\n          performance_threshold_sec: 0.5\n        - os: macos-latest\n          performance_threshold_sec: 0.65\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python '3.10'\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Test\n      run: python test_porcupine_perf.py ${{secrets.PV_VALID_ACCESS_KEY}} 100 ${{matrix.performance_threshold_sec}}\n\n\n  perf-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, jetson, beaglebone]\n        include:\n        - machine: rpi2\n          num_test_iterations: 20\n          performance_threshold_sec: 7.6\n        - machine: rpi3-32\n          num_test_iterations: 50\n          performance_threshold_sec: 3.2\n        - machine: rpi3-64\n          num_test_iterations: 50\n          performance_threshold_sec: 3.5\n        - machine: rpi4-32\n          num_test_iterations: 50\n          performance_threshold_sec: 1.5\n        - machine: rpi4-64\n          num_test_iterations: 50\n          performance_threshold_sec: 1.5\n        - machine: rpi5-64\n          num_test_iterations: 50\n          performance_threshold_sec: 0.5\n        - machine: jetson\n          num_test_iterations: 50\n          performance_threshold_sec: 2.0\n        - machine: beaglebone\n          num_test_iterations: 10\n          performance_threshold_sec: 12.0\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Machine state before\n      working-directory: resources/scripts\n      run: bash machine-state.sh\n\n    - name: Test\n      run: python3 test_porcupine_perf.py ${{secrets.PV_VALID_ACCESS_KEY}} ${{matrix.num_test_iterations}} ${{matrix.performance_threshold_sec}}\n\n    - name: Machine state after\n      working-directory: resources/scripts\n      run: bash machine-state.sh\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:36.043867", "created_at": "2021-08-25T23:25:21+02:00", "updated_at": "2021-12-17T23:38:28+01:00", "name": "Python", "path": ".github/workflows/python.yml", "contents": "name: Python\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'binding/python/**'\n      - '!binding/python/README.md'\n      - 'lib/beaglebone/**'\n      - 'lib/common/**'\n      - 'lib/linux/**'\n      - 'lib/jetson/**'\n      - 'lib/mac/**'\n      - 'lib/raspberry-pi/**'\n      - 'lib/windows/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n      - 'resources/.test/**'\n      - '.github/workflows/python.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'binding/python/**'\n      - '!binding/python/README.md'\n      - 'lib/beaglebone/**'\n      - 'lib/common/**'\n      - 'lib/linux/**'\n      - 'lib/jetson/**'\n      - 'lib/mac/**'\n      - 'lib/raspberry-pi/**'\n      - 'lib/windows/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n      - 'resources/.test/**'\n      - '.github/workflows/python.yml'\n\ndefaults:\n  run:\n    working-directory: binding/python\n\njobs:\n  build-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: pip install -r requirements.txt\n\n    - name: Test\n      run: python test_porcupine.py ${{secrets.PV_VALID_ACCESS_KEY}}\n\n\n  build-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi2, rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson, beaglebone]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Install dependencies\n      run: pip install -r requirements.txt\n\n    - name: Test\n      run: python3 test_porcupine.py ${{secrets.PV_VALID_ACCESS_KEY}}\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:37.024294", "created_at": "2022-12-09T20:43:53+01:00", "updated_at": "2022-12-09T22:03:41+01:00", "name": "React Codestyle", "path": ".github/workflows/react-codestyle.yml", "contents": "name: React Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '**/react/*.js'\n      - '**/react/*.ts'\n      - '**/react/*.jsx'\n      - '**/react/*.tsx'\n      - '.github/workflows/react-codestyle.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '**/react/*.js'\n      - '**/react/*.ts'\n      - '**/react/*.jsx'\n      - '**/react/*.tsx'\n      - '.github/workflows/react-codestyle.yml'\n\njobs:\n  check-react-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js LTS\n      uses: actions/setup-node@v3\n      with:\n        node-version: lts/*\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Run Binding Linter\n      run: yarn && yarn lint\n      working-directory: binding/react\n\n    - name: Run Demo Linter\n      run: yarn && yarn lint\n      working-directory: demo/react\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:38.114562", "created_at": "2022-01-19T23:29:02+01:00", "updated_at": "2022-01-21T02:59:16+01:00", "name": "React Demos", "path": ".github/workflows/react-demos.yml", "contents": "name: React Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'demo/react/**'\n      - '!demo/react/README.md'\n      - '.github/workflows/react-demos.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'demo/react/**'\n      - '!demo/react/README.md'\n      - '.github/workflows/react-demos.yml'\n\ndefaults:\n  run:\n    working-directory: demo/react\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Build English\n      run: yarn build en\n\n    - name: Build Other Language\n      run: yarn build ko\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:39.147873", "created_at": "2022-12-09T20:43:53+01:00", "updated_at": "2022-12-09T22:03:41+01:00", "name": "React Native Codestyle", "path": ".github/workflows/react-native-codestyle.yml", "contents": "name: React Native Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '**/react-native/*.js'\n      - '**/react-native/*.ts'\n      - '**/react-native/*.jsx'\n      - '**/react-native/*.tsx'\n      - '.github/workflows/react-native-codestyle.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '**/react-native/*.js'\n      - '**/react-native/*.ts'\n      - '**/react-native/*.jsx'\n      - '**/react-native/*.tsx'\n      - '.github/workflows/react-native-codestyle.yml'\n\njobs:\n  check-react-native-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js LTS\n      uses: actions/setup-node@v3\n      with:\n        node-version: lts/*\n\n    - name: Run Binding Linter\n      run: yarn && yarn lint\n      working-directory: binding/react-native\n\n    - name: Run Demo Linter\n      run: yarn && yarn lint\n      working-directory: demo/react-native\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:40.163290", "created_at": "2022-12-01T21:14:35+01:00", "updated_at": "2022-12-01T23:17:17+01:00", "name": "React Native Demos", "path": ".github/workflows/react-native-demos.yml", "contents": "name: React Native Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'demo/react-native/**'\n      - '!demo/react-native/README.md'\n      - '.github/workflows/react-native-demos.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'demo/react-native/**'\n      - '!demo/react-native/README.md'\n      - '.github/workflows/react-native-demos.yml'\n\ndefaults:\n  run:\n    working-directory: demo/react-native\n\njobs:\n  build-android:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Use Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Install dependencies\n      run: yarn android-install\n\n    - name: Build bundle\n      run: yarn android-bundle pt\n\n    - name: Build\n      run: ./gradlew assembleDebug\n      working-directory: demo/react-native/android\n\n  build-ios:\n    runs-on: macos-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Use Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Install dependencies\n      run: yarn ios-install\n\n    - name: Build bundle\n      run: yarn ios-bundle nl\n\n    - name: Build\n      run: xcrun xcodebuild build\n        -configuration Debug\n        -workspace PorcupineDemo.xcworkspace\n        -sdk iphoneos\n        -scheme PorcupineDemo\n        -derivedDataPath ddp\n        CODE_SIGNING_ALLOWED=NO\n      working-directory: demo/react-native/ios\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:41.245116", "created_at": "2023-01-18T20:42:07+01:00", "updated_at": "2023-01-25T01:41:46+01:00", "name": "React Native Tests", "path": ".github/workflows/react-native-tests.yml", "contents": "name: React Native Tests\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/react-native-tests.yml'\n      - 'binding/react-native/**'\n      - '!binding/react-native/README.md'\n      - 'lib/common/**'\n      - 'lib/android/**'\n      - 'lib/ios/**'\n      - 'resources/.test/test_data.json'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/android/**'\n      - 'resources/keyword_files*/ios/**'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/react-native-tests.yml'\n      - 'binding/react-native/**'\n      - '!binding/react-native/README.md'\n      - 'lib/common/**'\n      - 'lib/android/**'\n      - 'lib/ios/**'\n      - 'resources/.test/test_data.json'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/android/**'\n      - 'resources/keyword_files*/ios/**'\n\ndefaults:\n  run:\n    working-directory: binding/react-native/test-app/PorcupineTestApp\n\njobs:\n  test-android:\n    name: Run tests on Android\n    runs-on: pv-android\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: 'recursive'\n\n    - name: Pre-build dependencies\n      run: |\n        yarn install\n        ./copy_test_resources.sh\n\n    - name: Inject AppID\n      run: sed -i 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:' Tests.ts\n\n    - name: Build tests\n      run: detox build --configuration android.att.release\n\n    - name: Run tests\n      run: detox test --configuration android.att.release\n\n  test-ios:\n    name: Run tests on iOS\n    runs-on: pv-ios\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: 'recursive'\n\n    - name: Pre-build dependencies\n      run: |\n        yarn install\n        ./copy_test_resources.sh\n\n    - name: Cocoapods install\n      working-directory: binding/react-native/test-app/PorcupineTestApp/ios\n      run: pod install --repo-update\n\n    - name: Inject AppID\n      run: sed -i '.bak' 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:' Tests.ts\n\n    - name: Build tests\n      run: detox build --configuration ios.sim.release\n\n    - name: Run tests\n      run: detox test --configuration ios.sim.release\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:42.415030", "created_at": "2021-08-25T23:49:34+02:00", "updated_at": "2021-08-28T02:27:43+02:00", "name": "React Native", "path": ".github/workflows/react-native.yml", "contents": "name: React Native\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'binding/react-native/**'\n      - '!binding/react-native/README.md'\n      - 'lib/common/**'\n      - 'lib/android/**'\n      - 'lib/ios/**'\n      - 'resources/.test/test_data.json'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files/android/**'\n      - 'resources/keyword_files/ios/**'\n      - '.github/workflows/react-native.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'binding/react-native/**'\n      - '!binding/react-native/README.md'\n      - 'lib/common/**'\n      - 'lib/android/**'\n      - 'lib/ios/**'\n      - 'resources/.test/test_data.json'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files/android/**'\n      - 'resources/keyword_files/ios/**'\n      - '.github/workflows/react-native.yml'\n\ndefaults:\n  run:\n    working-directory: binding/react-native\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Build\n      run: yarn prepare\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:43.545576", "created_at": "2021-08-25T22:32:24+02:00", "updated_at": "2021-08-28T02:27:44+02:00", "name": "React", "path": ".github/workflows/react.yml", "contents": "name: React\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'binding/react/**'\n      - '!binding/react/README.md'\n      - 'lib/common/**'\n      - 'lib/wasm/**'\n      - 'resources/**'\n      - '!resources/.lint/**'\n      - '.github/workflows/react.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'binding/react/**'\n      - '!binding/react/README.md'\n      - 'lib/common/**'\n      - 'lib/wasm/**'\n      - 'resources/**'\n      - '!resources/.lint/**'\n      - '.github/workflows/react.yml'\n\ndefaults:\n  run:\n    working-directory: binding/react\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Build\n      run: yarn build\n\n    - name: Set up test\n      run: yarn setup-test\n\n    - name: Run test\n      run: yarn test --env ACCESS_KEY=${{secrets.PV_VALID_ACCESS_KEY}}\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:44.587556", "created_at": "2022-12-08T00:55:06+01:00", "updated_at": "2022-12-09T00:56:09+01:00", "name": "Rust Codestyle", "path": ".github/workflows/rust-codestyle.yml", "contents": "name: Rust Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/rust-codestyle.yml'\n      - 'binding/rust/**/*.rs'\n      - 'demo/rust/**/*.rs'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/rust-codestyle.yml'\n      - 'binding/rust/**/*.rs'\n      - 'demo/rust/**/*.rs'\n\nenv:\n  CARGO_TERM_COLOR: always\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  check-rust-binding-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Rust pre-build\n      run: bash copy.sh\n      working-directory: binding/rust\n\n    - name: Rust dependencies\n      if: matrix.os == 'ubuntu-latest'\n      run: sudo apt install libasound2-dev -y\n\n    - name: Install stable toolchain\n      uses: actions-rs/toolchain@v1\n      with:\n        profile: minimal\n        toolchain: stable\n        override: true\n\n    - name: Run clippy\n      run: cargo clippy -- -D warnings\n      working-directory: binding/rust\n\n  check-rust-filedemo-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Rust dependencies\n      if: matrix.os == 'ubuntu-latest'\n      run: sudo apt install libasound2-dev -y\n\n    - name: Install stable toolchain\n      uses: actions-rs/toolchain@v1\n      with:\n        profile: minimal\n        toolchain: stable\n        override: true\n\n    - name: Run clippy\n      run: cargo clippy -- -D warnings\n      working-directory: demo/rust/filedemo\n\n  check-rust-micdemo-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Rust dependencies\n      if: matrix.os == 'ubuntu-latest'\n      run: sudo apt install libasound2-dev -y\n\n    - name: Install stable toolchain\n      uses: actions-rs/toolchain@v1\n      with:\n        profile: minimal\n        toolchain: stable\n        override: true\n\n    - name: Run clippy\n      run: cargo clippy -- -D warnings\n      working-directory: demo/rust/micdemo\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:45.679409", "created_at": "2021-08-13T20:16:54+02:00", "updated_at": "2021-08-13T23:09:51+02:00", "name": "Rust Demos", "path": ".github/workflows/rust-demos.yml", "contents": "name: Rust Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/rust-demos.yml'\n      - 'demo/rust/**'\n      - '!demo/rust/README.md'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/rust-demos.yml'\n      - 'demo/rust/**'\n      - '!demo/rust/README.md'\n\nenv:\n  CARGO_TERM_COLOR: always\n\ndefaults:\n  run:\n    working-directory: demo/rust\n\njobs:\n  build-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Rust dependencies\n      if: matrix.os == 'ubuntu-latest'\n      run: sudo apt install libasound2-dev -y\n\n    - name: Install stable toolchain\n      uses: actions-rs/toolchain@v1\n      with:\n        profile: minimal\n        toolchain: stable\n        override: true\n\n    - name: Rust build micdemo\n      run: cargo build --verbose\n      working-directory: demo/rust/micdemo\n\n    - name: Rust build filedemo\n      run: cargo build --verbose\n      working-directory: demo/rust/filedemo\n\n    - name: Test\n      run: cargo run --release -- --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --input_audio_path ../../../resources/audio_samples/multiple_keywords.wav --keywords picovoice\n      working-directory: demo/rust/filedemo\n\n  build-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Install stable toolchain\n      uses: actions-rs/toolchain@v1\n      with:\n        toolchain: nightly\n        override: true\n\n    - name: Rust build micdemo\n      run: cargo build --verbose\n      working-directory: demo/rust/micdemo\n\n    - name: Rust build filedemo\n      run: cargo build --verbose\n      working-directory: demo/rust/filedemo\n\n    - name: Test\n      run: cargo run --release -- --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --input_audio_path ../../../resources/audio_samples/multiple_keywords.wav --keywords picovoice\n      working-directory: demo/rust/filedemo\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:46.817566", "created_at": "2021-08-13T01:06:24+02:00", "updated_at": "2022-03-11T17:36:44+01:00", "name": "Rust", "path": ".github/workflows/rust.yml", "contents": "name: Rust\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '.github/workflows/rust.yml'\n      - 'binding/rust/**'\n      - 'binding/rust/**/*.rs'\n      - '!binding/rust/README.md'\n      - 'lib/beaglebone/**'\n      - 'lib/common/**'\n      - 'lib/linux/**'\n      - 'lib/jetson/**'\n      - 'lib/mac/**'\n      - 'lib/raspberry-pi/**'\n      - 'lib/windows/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n      - 'resources/.test/**'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '.github/workflows/rust.yml'\n      - 'binding/rust/**'\n      - 'binding/rust/**/*.rs'\n      - '!binding/rust/README.md'\n      - 'lib/beaglebone/**'\n      - 'lib/common/**'\n      - 'lib/linux/**'\n      - 'lib/jetson/**'\n      - 'lib/mac/**'\n      - 'lib/raspberry-pi/**'\n      - 'lib/windows/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/beaglebone/**'\n      - 'resources/keyword_files*/jetson/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/raspberry-pi/**'\n      - 'resources/keyword_files*/windows/**'\n      - 'resources/.test/**'\n\nenv:\n  CARGO_TERM_COLOR: always\n\ndefaults:\n  run:\n    working-directory: binding/rust\n    shell: bash\n\njobs:\n  build-github-hosted:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Rust pre-build\n      run: bash copy.sh\n\n    - name: Rust dependencies\n      if: matrix.os == 'ubuntu-latest'\n      run: sudo apt install libasound2-dev -y\n\n    - name: Install stable toolchain\n      uses: actions-rs/toolchain@v1\n      with:\n        profile: minimal\n        toolchain: stable\n        override: true\n\n    - name: Rust build\n      run: cargo build --verbose\n\n    - name: Rust run tests\n      run: PV_ACCESS_KEY=${{secrets.PV_VALID_ACCESS_KEY}} cargo test --verbose\n\n  build-self-hosted:\n    runs-on: ${{ matrix.machine }}\n\n    strategy:\n      matrix:\n        machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Rust pre-build\n      run: bash copy.sh\n\n    - name: Install stable toolchain\n      uses: actions-rs/toolchain@v1\n      with:\n        toolchain: nightly\n        override: true\n\n    - name: Rust build\n      run: cargo build --verbose\n\n    - name: Rust run tests\n      run: PV_ACCESS_KEY=${{secrets.PV_VALID_ACCESS_KEY}} cargo test --verbose\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:47.872238", "created_at": "2022-08-18T02:20:30+02:00", "updated_at": "2022-08-18T02:20:30+02:00", "name": "SpellCheck", "path": ".github/workflows/spell-check.yml", "contents": "name: SpellCheck\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n\njobs:\n  markdown:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 18\n\n      - name: Install CSpell\n        run: npm install -g cspell\n\n      - name: Run CSpell\n        run: cspell --config resources/.lint/spell-check/.cspell.json \"**/*\"\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:48.892025", "created_at": "2022-12-08T02:47:39+01:00", "updated_at": "2022-12-08T23:04:36+01:00", "name": "Swift Codestyle", "path": ".github/workflows/swift-codestyle.yml", "contents": "name: Swift Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '**/*.swift'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '**/*.swift'\n\njobs:\n  check-switch-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Check swift codestyle\n      uses: norio-nomura/action-swiftlint@3.2.1\n      with:\n        args: lint --config resources/.lint/swift/.swiftlint.yml --strict\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:49.982999", "created_at": "2023-04-05T00:00:07+02:00", "updated_at": "2023-04-13T02:09:22+02:00", "name": "Unity Codestyle", "path": ".github/workflows/unity-codestyle.yml", "contents": "name: Unity Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'binding/unity/**/*.cs'\n      - 'demo/unity/**/*.cs'\n      - '.github/workflows/unity-codestyle.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'binding/unity/**/*.cs'\n      - 'demo/unity/**/*.cs'\n      - '.github/workflows/unity-codestyle.yml'\n\njobs:\n  check-unity-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Run Binding Codestyle\n      run: dotnet format whitespace binding/unity/Assets/Porcupine --folder --verify-no-changes\n\n    - name: Run Demo Codestyle\n      run: dotnet format whitespace demo/unity --folder --verify-no-changes\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:51.114576", "created_at": "2023-01-11T20:53:14+01:00", "updated_at": "2023-01-17T01:27:23+01:00", "name": "Unity", "path": ".github/workflows/unity.yml", "contents": "name: Unity\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'binding/unity/**'\n      - '!binding/unity/README.md'\n      - 'lib/common/**'\n      - 'lib/android/**'\n      - 'lib/ios/**'\n      - 'lib/linux/**'\n      - 'lib/mac/**'\n      - 'lib/windows/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/android/**'\n      - 'resources/keyword_files*/ios/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/windows/**'\n      - '.github/workflows/unity.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'binding/unity/**'\n      - '!binding/unity/README.md'\n      - 'lib/common/**'\n      - 'lib/android/**'\n      - 'lib/ios/**'\n      - 'lib/linux/**'\n      - 'lib/mac/**'\n      - 'lib/windows/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n      - 'resources/keyword_files*/android/**'\n      - 'resources/keyword_files*/ios/**'\n      - 'resources/keyword_files*/linux/**'\n      - 'resources/keyword_files*/mac/**'\n      - 'resources/keyword_files*/windows/**'\n      - '.github/workflows/unity.yml'\n\ndefaults:\n  run:\n    working-directory: binding/unity\n\njobs:\n  playtest-linux:\n    name: Run PlayTest unit tests on Linux\n    runs-on: pv-android\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: 'recursive'\n\n    - name: Pre-build dependencies\n      run: |\n        ./copy.sh\n        ./copy_test_resources.sh\n\n    - name: Inject AppID\n      run: sed -i 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:'\n        Assets/Porcupine/Tests/Integration.cs\n\n    - name: Run tests\n      run: xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' /home/picovoice/Unity/Hub/Editor/2021.3.31f1/Editor/Unity -runTests -batchmode -projectPath . -testResults unityresults.xml -testPlatform StandaloneLinux64 -logFile -\n\n    - name: Check Results\n      run: sed -n 2p unityresults.xml | grep 'result=\"Passed\"'\n\n  # NOTE: fix later as mac runner halts unity test app in between runs. Running locally works fine as well as first try after restarting runner.\n  # playtest-mac:\n  #   name: Run PlayTest unit tests on macOS\n  #   runs-on: pv-ios\n\n  #   steps:\n  #   - uses: actions/checkout@v3\n  #     with:\n  #       submodules: 'recursive'\n\n  #   - name: Pre-build dependencies\n  #     run: |\n  #       ./copy.sh\n  #       ./copy_test_resources.sh\n\n  #   - name: Inject AppID\n  #     run: sed -i '.bak' 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:'\n  #       Assets/Porcupine/Tests/Integration.cs\n\n  #   - name: Run tests\n  #     run: /Applications/Unity/Hub/Editor/2021.3.31f1/Unity.app/Contents/MacOS/Unity -runTests -batchmode -projectPath . -testResults unityresults.xml -testPlatform StandaloneOSX -logFile -\n\n  #   - name: Check Results\n  #     run: sed -n 2p unityresults.xml | grep 'result=\"Passed\"'\n\n  playtest-windows:\n    name: Run PlayTest unit tests on Windows\n    runs-on: pv-windows\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: 'recursive'\n\n    - name: Pre-build dependencies\n      run: |\n        dos2unix copy.sh\n        bash copy.sh\n        dos2unix copy_test_resources.sh\n        bash copy_test_resources.sh\n\n    - name: Inject AppID\n      run: bash -c \"sed -i 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:'\n        Assets/Porcupine/Tests/Integration.cs\"\n\n    - name: Run tests\n      run: >\n        & \"C:\\Program Files\\Unity\\Hub\\Editor\\2021.3.31f1\\Editor\\Unity.exe\" -runTests -batchmode -projectPath . -testResults unityresults.xml -testPlatform StandaloneWindows64 -logFile - | Out-Host\n\n    - name: Check Results\n      run: bash -c \"sed -n 2p unityresults.xml | grep Passed\"\n\n  playtest-android:\n    name: Run PlayTest unit tests on Android\n    runs-on: pv-ios\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: 'recursive'\n\n    - name: Pre-build dependencies\n      run: |\n        ./copy.sh\n        ./copy_test_resources.sh\n\n    - name: Inject AppID\n      run: sed -i '.bak' 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:'\n        Assets/Porcupine/Tests/Integration.cs\n\n    - name: Start Emulator\n      run: /Users/alirezakenarsari-anhari/Library/Android/sdk/emulator/emulator -avd Pixel_6_API_33 &\n\n    - name: Run tests\n      run: /Applications/Unity/Hub/Editor/2021.3.31f1/Unity.app/Contents/MacOS/Unity -runTests -batchmode -buildTarget Android -projectPath . -testResults unityresults.xml -testPlatform Android -logFile -\n\n    - name: Check Results\n      run: sed -n 2p unityresults.xml | grep 'result=\"Passed\"'\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:52.123102", "created_at": "2022-12-09T20:43:53+01:00", "updated_at": "2022-12-09T22:03:41+01:00", "name": "Vue Codestyle", "path": ".github/workflows/vue-codestyle.yml", "contents": "name: Vue Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '**/vue/*.js'\n      - '**/vue/*.ts'\n      - '**/vue/*.vue'\n      - '**/vue/*.vue'\n      - '.github/workflows/vue-codestyle.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '**/vue/*.js'\n      - '**/vue/*.ts'\n      - '**/vue/*.vue'\n      - '**/vue/*.vue'\n      - '.github/workflows/vue-codestyle.yml'\n\njobs:\n  check-vue-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js LTS\n      uses: actions/setup-node@v3\n      with:\n        node-version: lts/*\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Run Binding Linter\n      run: yarn && yarn lint\n      working-directory: binding/vue\n\n    - name: Run Demo Linter\n      run: yarn && yarn lint\n      working-directory: demo/vue\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:53.184615", "created_at": "2021-08-26T02:16:11+02:00", "updated_at": "2021-08-28T02:27:44+02:00", "name": "Vue Demos", "path": ".github/workflows/vue-demos.yml", "contents": "name: Vue Demos\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'demo/vue/**'\n      - '!demo/vue/README.md'\n      - '.github/workflows/vue-demos.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'demo/vue/**'\n      - '!demo/vue/README.md'\n      - '.github/workflows/vue-demos.yml'\n\ndefaults:\n  run:\n    working-directory: demo/vue\n\njobs:\n  build-demos:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Build\n      run: yarn build en\n\n    - name: Build another language\n      run: yarn build ja\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:54.190126", "created_at": "2021-08-25T23:49:34+02:00", "updated_at": "2021-08-28T02:27:44+02:00", "name": "Vue", "path": ".github/workflows/vue.yml", "contents": "name: Vue\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'binding/vue/**'\n      - '!binding/vue/README.md'\n      - 'lib/common/**'\n      - 'lib/wasm/**'\n      - 'resources/**'\n      - '!resources/.lint/**'\n      - '.github/workflows/vue.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'binding/vue/**'\n      - '!binding/vue/README.md'\n      - 'lib/common/**'\n      - 'lib/wasm/**'\n      - 'resources/**'\n      - '!resources/.lint/**'\n      - '.github/workflows/vue.yml'\n\ndefaults:\n  run:\n    working-directory: binding/vue\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Build\n      run: yarn build\n\n    - name: Set up test\n      run: yarn setup-test\n\n    - name: Run test\n      run: yarn test --env ACCESS_KEY=${{secrets.PV_VALID_ACCESS_KEY}}\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:55.217848", "created_at": "2022-12-09T20:43:53+01:00", "updated_at": "2022-12-09T22:03:41+01:00", "name": "Web Codestyle", "path": ".github/workflows/web-codestyle.yml", "contents": "name: Web Codestyle\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - '**/web/*.js'\n      - '**/web/*.ts'\n      - '.github/workflows/web-codestyle.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - '**/web/*.js'\n      - '**/web/*.ts'\n      - '.github/workflows/web-codestyle.yml'\n\njobs:\n  check-web-codestyle:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js LTS\n      uses: actions/setup-node@v3\n      with:\n        node-version: lts/*\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Run Binding Linter\n      run: yarn && yarn lint\n      working-directory: binding/web\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:56.330777", "created_at": "2023-04-18T20:15:30+02:00", "updated_at": "2023-04-18T20:38:27+02:00", "name": "Web Demos", "path": ".github/workflows/web-demos.yml", "contents": "name: Web Demos\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'demo/web/**'\n      - '!demo/web/README.md'\n      - '.github/workflows/web-demos.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'demo/web/**'\n      - '!demo/web/README.md'\n      - '.github/workflows/web-demos.yml'\n\ndefaults:\n  run:\n    working-directory: demo/web\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:57.380140", "created_at": "2022-08-12T03:57:22+02:00", "updated_at": "2022-08-15T21:41:40+02:00", "name": "Web Performance", "path": ".github/workflows/web-perf.yml", "contents": "name: Web Performance\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'lib/wasm/**'\n      - 'lib/common/**'\n      - '.github/workflows/web-perf.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'lib/wasm/**'\n      - 'lib/common/**'\n      - '.github/workflows/web-perf.yml'\n\ndefaults:\n  run:\n    working-directory: binding/web\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [lts/*]\n        include:\n        - node-version: lts/*\n          initPerformanceThresholdSec: 0.5\n          procPerformanceThresholdSec: 0.65\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Copy libs\n      run: yarn copywasm && yarn copyppn\n\n    - name: Build\n      run: yarn build\n\n    - name: Prepare Test\n      run: yarn setup-test\n\n    - name: Test\n      run: yarn test-perf --env ACCESS_KEY=${{secrets.PV_VALID_ACCESS_KEY}},NUM_TEST_ITERATIONS=20,INIT_PERFORMANCE_THRESHOLD_SEC=${{matrix.initPerformanceThresholdSec}},PROC_PERFORMANCE_THRESHOLD_SEC=${{matrix.procPerformanceThresholdSec}}\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:35:58.392251", "created_at": "2021-08-26T00:44:58+02:00", "updated_at": "2021-11-01T20:46:57+01:00", "name": "Web", "path": ".github/workflows/web.yml", "contents": "name: Web\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'binding/web/**'\n      - '!binding/web/README.md'\n      - 'lib/common/**'\n      - 'lib/wasm/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n      - '.github/workflows/web.yml'\n  pull_request:\n    branches: [ master, 'v[0-9]+.[0-9]+' ]\n    paths:\n      - 'binding/web/**'\n      - '!binding/web/README.md'\n      - 'lib/common/**'\n      - 'lib/wasm/**'\n      - 'resources/.test/**'\n      - 'resources/audio_samples/**'\n      - '.github/workflows/web.yml'\n\ndefaults:\n  run:\n    working-directory: binding/web\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x, 18.x, 20.x]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: Pre-build dependencies\n      run: npm install yarn\n\n    - name: Install dependencies\n      run: yarn install\n\n    - name: Copy libs\n      run: yarn copywasm && yarn copyppn\n\n    - name: Build\n      run: yarn build\n\n    - name: Prepare Test\n      run: yarn setup-test\n\n    - name: Test\n      run: yarn test --env ACCESS_KEY=${{secrets.PV_VALID_ACCESS_KEY}}\n", "state": "active", "repository": "picovoice/porcupine"}
{"mined_at": "2024-07-15T12:36:00.398578", "created_at": "2020-05-01T09:47:31+02:00", "updated_at": "2022-05-17T18:08:29+02:00", "name": "unit-tests", "path": ".github/workflows/unit_tests.yml", "contents": "name: unit-tests\n\non: [pull_request]\njobs:\n  unit-test-python:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.9\", \"3.10\", \"3.11\"]\n        os: [ ubuntu-latest, macos-13 ]\n        exclude:\n          - os: macos-13\n            python-version: \"3.9\"\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Install uv\n        run: |\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n      - name: Get uv cache dir\n        id: uv-cache\n        run: |\n          echo \"::set-output name=dir::$(uv cache dir)\"\n      - name: uv cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.uv-cache.outputs.dir }}\n          key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}\n      - name: Install dependencies\n        run: make install-python-ci-dependencies-uv\n      - name: Test Python\n        run: make test-python-unit\n\n\n  unit-test-ui:\n    runs-on: ubuntu-latest\n    env:\n      NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v3\n        with:\n          node-version: '17.x'\n          registry-url: 'https://registry.npmjs.org'\n      - name: Install yarn dependencies\n        working-directory: ./ui\n        run: yarn install\n      - name: Build yarn rollup\n        working-directory: ./ui\n        run: yarn build:lib\n      - name: Run yarn tests\n        working-directory: ./ui\n        run: yarn test --watchAll=false\n", "state": "active", "repository": "feast-dev/feast"}
{"mined_at": "2024-07-15T12:36:01.428295", "created_at": "2020-07-27T13:06:11+02:00", "updated_at": "2022-06-08T15:22:15+02:00", "name": "integration-tests-and-build", "path": ".github/workflows/master_only.yml", "contents": "name: integration-tests-and-build\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  integration-test-python:\n    if: github.repository == 'feast-dev/feast'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        os: [ ubuntu-latest ]\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n    services:\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Authenticate to Google Cloud\n        uses: 'google-github-actions/auth@v1'\n        with:\n          credentials_json: '${{ secrets.GCP_SA_KEY }}'\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{ secrets.GCP_PROJECT_ID }}\n      - name: Use gcloud CLI\n        run: gcloud info\n      - name: Set up AWS SDK\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-west-2\n      - name: Use AWS CLI\n        run: aws sts get-caller-identity\n      - name: Install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n      - name: Get uv cache dir\n        id: uv-cache\n        run: |\n          echo \"::set-output name=dir::$(uv cache dir)\"\n      - name: uv cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.uv-cache.outputs.dir }}\n          key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}\n      - name: Install dependencies\n        run: make install-python-ci-dependencies-uv\n      - name: Setup Redis Cluster\n        run: |\n          docker pull vishnunair/docker-redis-cluster:latest\n          docker run -d -p 6001:6379 -p 6002:6380 -p 6003:6381 -p 6004:6382 -p 6005:6383 -p 6006:6384 --name redis-cluster vishnunair/docker-redis-cluster\n      - name: Test python and go\n        env:\n          SNOWFLAKE_CI_DEPLOYMENT: ${{ secrets.SNOWFLAKE_CI_DEPLOYMENT }}\n          SNOWFLAKE_CI_USER: ${{ secrets.SNOWFLAKE_CI_USER }}\n          SNOWFLAKE_CI_PASSWORD: ${{ secrets.SNOWFLAKE_CI_PASSWORD }}\n          SNOWFLAKE_CI_ROLE: ${{ secrets.SNOWFLAKE_CI_ROLE }}\n          SNOWFLAKE_CI_WAREHOUSE: ${{ secrets.SNOWFLAKE_CI_WAREHOUSE }}\n        run: make test-python-integration\n      - name: Benchmark python\n        env:\n          SNOWFLAKE_CI_DEPLOYMENT: ${{ secrets.SNOWFLAKE_CI_DEPLOYMENT }}\n          SNOWFLAKE_CI_USER: ${{ secrets.SNOWFLAKE_CI_USER }}\n          SNOWFLAKE_CI_PASSWORD: ${{ secrets.SNOWFLAKE_CI_PASSWORD }}\n          SNOWFLAKE_CI_ROLE: ${{ secrets.SNOWFLAKE_CI_ROLE }}\n          SNOWFLAKE_CI_WAREHOUSE: ${{ secrets.SNOWFLAKE_CI_WAREHOUSE }}\n        run: pytest --verbose --color=yes sdk/python/tests --integration --benchmark --benchmark-autosave --benchmark-save-data --durations=5\n      - name: Upload Benchmark Artifact to S3\n        run: aws s3 cp --recursive .benchmarks s3://feast-ci-pytest-benchmark\n\n  build-all-docker-images:\n    if: github.repository == 'feast-dev/feast'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        component: [ feature-server-java, feature-transformation-server ]\n    env:\n      MAVEN_CACHE: gs://feast-templocation-kf-feast/.m2.2020-08-19.tar\n      REGISTRY: gcr.io/kf-feast\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n        with:\n          install: true\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Authenticate to Google Cloud\n        uses: 'google-github-actions/auth@v1'\n        with:\n          credentials_json: '${{ secrets.GCP_SA_KEY }}'\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{ secrets.GCP_PROJECT_ID }}\n      - name: Use gcloud CLI\n        run: gcloud info\n      - run: gcloud auth configure-docker --quiet\n      - name: Build image\n        run: |\n          make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${GITHUB_SHA}\n      - name: Push image\n        run: |\n          make push-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${GITHUB_SHA}\n\n          docker tag ${REGISTRY}/${{ matrix.component }}:${GITHUB_SHA} ${REGISTRY}/${{ matrix.component }}:develop\n          docker push ${REGISTRY}/${{ matrix.component }}:develop", "state": "active", "repository": "feast-dev/feast"}
{"mined_at": "2024-07-15T12:36:02.586624", "created_at": "2020-08-03T16:59:26+02:00", "updated_at": "2020-08-03T16:59:26+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  workflow_dispatch:\n    inputs:\n      dry_run:\n        description: 'Dry Run'\n        required: true\n        default: true\n        type: boolean\n      token:\n        description: 'Personal Access Token'\n        required: true\n        default: \"\"\n        type: string\n      publish_ui:\n        description: 'Publish to NPM?'\n        required: true\n        default: true\n        type: boolean\n\njobs:\n\n  get_dry_release_versions:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ github.event.inputs.token }}\n    outputs:\n      current_version: ${{ steps.get_versions.outputs.current_version }}\n      next_version: ${{ steps.get_versions.outputs.next_version }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: Setup Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: \"lts/*\"\n      - name: Release (Dry Run)\n        id: get_versions\n        run: |\n          CURRENT_VERSION=$(npx -p @semantic-release/changelog -p @semantic-release/git -p @semantic-release/exec -p semantic-release semantic-release --dry-run | grep \"associated with version \" | sed -E 's/.* version//' | sed -E 's/ on.*//')\n          NEXT_VERSION=$(npx -p @semantic-release/changelog -p @semantic-release/git -p @semantic-release/exec -p semantic-release semantic-release --dry-run | grep 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\\1/')\n          echo ::set-output name=current_version::$CURRENT_VERSION\n          echo ::set-output name=next_version::$NEXT_VERSION\n          echo \"Current version is ${CURRENT_VERSION}\"\n          echo \"Next version is ${NEXT_VERSION}\"\n\n  validate_version_bumps:\n    if: github.repository == 'feast-dev/feast'\n    needs: get_dry_release_versions\n    runs-on: ubuntu-latest\n    env:\n      # This publish is working using an NPM automation token to bypass 2FA\n      NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n      HELM_VERSION: v3.8.0\n      CURRENT_VERSION: ${{ needs.get_dry_release_versions.outputs.current_version }}\n      NEXT_VERSION: ${{ needs.get_dry_release_versions.outputs.next_version }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: \"lts/*\"\n      - name: Bump file versions\n        run: python ./infra/scripts/release/bump_file_versions.py ${CURRENT_VERSION} ${NEXT_VERSION}\n      - name: Install yarn dependencies\n        working-directory: ./ui\n        run: yarn install\n      - name: Build yarn rollup\n        working-directory: ./ui\n        run: yarn build:lib\n      - name: Bundle UI in SDK\n        run: make build-ui\n      - name: Remove previous Helm\n        run: sudo rm -rf $(which helm)\n      - name: Set up Homebrew\n        uses: Homebrew/actions/setup-homebrew@master\n      - name: Setup Helm-docs\n        run: |\n          brew install norwoodj/tap/helm-docs\n      - name: Generate helm chart READMEs\n        run: make build-helm-docs\n      - name: Install Helm\n        run: ./infra/scripts/helm/install-helm.sh\n      - name: Validate Helm chart prior to publishing\n        run: ./infra/scripts/helm/validate-helm-chart-publish.sh\n      - name: Validate all version consistency\n        run: ./infra/scripts/helm/validate-helm-chart-versions.sh $NEXT_VERSION\n\n\n  publish-web-ui-npm:\n    needs: [validate_version_bumps, get_dry_release_versions]\n    runs-on: ubuntu-latest\n    env:\n      # This publish is working using an NPM automation token to bypass 2FA\n      NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n      CURRENT_VERSION: ${{ needs.get_dry_release_versions.outputs.current_version }}\n      NEXT_VERSION: ${{ needs.get_dry_release_versions.outputs.next_version }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: \"lts/*\"\n      - name: Bump file versions (temporarily for Web UI publish)\n        run: python ./infra/scripts/release/bump_file_versions.py ${CURRENT_VERSION} ${NEXT_VERSION}\n      - name: Install yarn dependencies\n        working-directory: ./ui\n        run: yarn install\n      - name: Build yarn rollup\n        working-directory: ./ui\n        run: yarn build:lib\n      - name: Publish UI package\n        working-directory: ./ui\n        if: github.event.inputs.dry_run == 'false' && github.event.inputs.publish_ui == 'true' \n        run: npm publish\n        env:\n          # This publish is working using an NPM automation token to bypass 2FA\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n\n  release:\n    name: release\n    runs-on: ubuntu-latest\n    needs: publish-web-ui-npm\n    env:\n      GITHUB_TOKEN: ${{ github.event.inputs.token }}\n      GIT_AUTHOR_NAME: feast-ci-bot\n      GIT_AUTHOR_EMAIL: feast-ci-bot@willem.co\n      GIT_COMMITTER_NAME: feast-ci-bot\n      GIT_COMMITTER_EMAIL: feast-ci-bot@willem.co\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        persist-credentials: false\n    - name: Setup Node.js\n      uses: actions/setup-node@v3\n      with:\n        node-version: \"lts/*\"\n    - name: Set up Homebrew\n      id: set-up-homebrew\n      uses: Homebrew/actions/setup-homebrew@master\n    - name: Setup Helm-docs\n      run: |\n        brew install norwoodj/tap/helm-docs\n    - name: Release (Dry Run)\n      if: github.event.inputs.dry_run == 'true'\n      run: |\n        npx -p @semantic-release/changelog -p @semantic-release/git -p @semantic-release/exec -p semantic-release semantic-release --dry-run\n    - name: Release\n      if: github.event.inputs.dry_run == 'false'\n      run: |\n        npx -p @semantic-release/changelog -p @semantic-release/git -p @semantic-release/exec -p semantic-release semantic-release\n", "state": "active", "repository": "feast-dev/feast"}
{"mined_at": "2024-07-15T12:36:03.712901", "created_at": "2021-03-17T18:40:55+01:00", "updated_at": "2022-05-17T18:08:29+02:00", "name": "linter", "path": ".github/workflows/linter.yml", "contents": "name: linter\n\non: [push, pull_request]\n\njobs:\n  lint-python:\n    runs-on: [ubuntu-latest]\n    env:\n      PYTHON: 3.11\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          architecture: x64\n      - name: Install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n      - name: Install dependencies\n        run: |\n          make install-python-ci-dependencies-uv\n      - name: Lint python\n        run: make lint-python\n", "state": "active", "repository": "feast-dev/feast"}
{"mined_at": "2024-07-15T12:36:05.047741", "created_at": "2021-03-17T18:40:55+01:00", "updated_at": "2022-03-01T23:29:40+01:00", "name": "pr-integration-tests", "path": ".github/workflows/pr_integration_tests.yml", "contents": "name: pr-integration-tests\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - synchronize\n      - labeled\n\n# concurrency is currently broken, see details https://github.com/actions/runner/issues/1532\n#concurrency:\n#  group: pr-integration-tests-${{ github.event.pull_request.number }}\n#  cancel-in-progress: true\n\njobs:\n  integration-test-python:\n    # when using pull_request_target, all jobs MUST have this if check for 'ok-to-test' or 'approved' for security purposes.\n    if:\n      ((github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'lgtm' || github.event.label.name == 'ok-to-test')) ||\n      (github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved') || contains(github.event.pull_request.labels.*.name, 'lgtm')))) &&\n      github.repository == 'feast-dev/feast'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.11\" ]\n        os: [ ubuntu-latest ]\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n    services:\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # pull_request_target runs the workflow in the context of the base repo\n          # as such actions/checkout needs to be explicit configured to retrieve\n          # code from the PR.\n          ref: refs/pull/${{ github.event.pull_request.number }}/merge\n          submodules: recursive\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Authenticate to Google Cloud\n        uses: 'google-github-actions/auth@v1'\n        with:\n          credentials_json: '${{ secrets.GCP_SA_KEY }}'\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{ secrets.GCP_PROJECT_ID }}\n      - name: Use gcloud CLI\n        run: gcloud info\n      - name: Set up AWS SDK\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-west-2\n      - name: Use AWS CLI\n        run: aws sts get-caller-identity\n      - name: Install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n      - name: Get uv cache dir\n        id: uv-cache\n        run: |\n          echo \"::set-output name=dir::$(uv cache dir)\"\n      - name: uv cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.uv-cache.outputs.dir }}\n          key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}\n      - name: Install dependencies\n        run: make install-python-ci-dependencies-uv\n      - name: Setup Redis Cluster\n        run: |\n          docker pull vishnunair/docker-redis-cluster:latest\n          docker run -d -p 6001:6379 -p 6002:6380 -p 6003:6381 -p 6004:6382 -p 6005:6383 -p 6006:6384 --name redis-cluster vishnunair/docker-redis-cluster\n      - name: Test python\n        if: ${{ always() }}  # this will guarantee that step won't be canceled and resources won't leak\n        env:\n          FEAST_SERVER_DOCKER_IMAGE_TAG: ${{ needs.build-docker-image.outputs.DOCKER_IMAGE_TAG }}\n          SNOWFLAKE_CI_DEPLOYMENT: ${{ secrets.SNOWFLAKE_CI_DEPLOYMENT }}\n          SNOWFLAKE_CI_USER: ${{ secrets.SNOWFLAKE_CI_USER }}\n          SNOWFLAKE_CI_PASSWORD: ${{ secrets.SNOWFLAKE_CI_PASSWORD }}\n          SNOWFLAKE_CI_ROLE: ${{ secrets.SNOWFLAKE_CI_ROLE }}\n          SNOWFLAKE_CI_WAREHOUSE: ${{ secrets.SNOWFLAKE_CI_WAREHOUSE }}\n        run: make test-python-integration", "state": "active", "repository": "feast-dev/feast"}
{"mined_at": "2024-07-15T12:36:06.070488", "created_at": "2021-11-12T02:31:24+01:00", "updated_at": "2021-12-08T11:22:45+01:00", "name": "java-integration-tests-and-build", "path": ".github/workflows/java_master_only.yml", "contents": "name: java-integration-tests-and-build\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - 'v*.*.*'\n\njobs:\n  build-docker-images:\n    if: github.repository == 'feast-dev/feast'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        component: [feature-server-java]\n    env:\n      MAVEN_CACHE: gs://feast-templocation-kf-feast/.m2.2020-08-19.tar\n      REGISTRY: gcr.io/kf-feast\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'true'\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: \"3.11\"\n          architecture: x64\n      - name: Authenticate to Google Cloud\n        uses: 'google-github-actions/auth@v1'\n        with:\n          credentials_json: '${{ secrets.GCP_SA_KEY }}'\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{ secrets.GCP_PROJECT_ID }}\n      - run: gcloud auth configure-docker --quiet\n      - name: Get version\n        run: echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n      - name: Build image\n        run: make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${GITHUB_SHA}\n      - name: Push image\n        run: make push-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${GITHUB_SHA}\n      - name: Push development Docker image\n        run: |\n          if [ ${GITHUB_REF#refs/*/} == \"master\" ]; then\n            docker tag ${REGISTRY}/${{ matrix.component }}:${GITHUB_SHA} ${REGISTRY}/${{ matrix.component }}:develop\n            docker push ${REGISTRY}/${{ matrix.component }}:develop\n          fi\n\n  lint-java:\n    if: github.repository == 'feast-dev/feast'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'true'\n      - name: Lint java\n        run: make lint-java\n\n  unit-test-java:\n    if: github.repository == 'feast-dev/feast'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'true'\n      - name: Set up JDK 11\n        uses: actions/setup-java@v1\n        with:\n          java-version: '11'\n          java-package: jdk\n          architecture: x64\n      - uses: actions/cache@v2\n        with:\n          path: ~/.m2/repository\n          key: ${{ runner.os }}-it-maven-${{ hashFiles('**/pom.xml') }}\n          restore-keys: |\n            ${{ runner.os }}-it-maven-\n      - uses: actions/cache@v2\n        with:\n          path: ~/.m2/repository\n          key: ${{ runner.os }}-ut-maven-${{ hashFiles('**/pom.xml') }}\n          restore-keys: |\n            ${{ runner.os }}-ut-maven-\n      - name: Test java\n        run: make test-java-with-coverage\n      - uses: actions/upload-artifact@v3\n        with:\n          name: java-coverage-report\n          path: ${{ github.workspace }}/docs/coverage/java/target/site/jacoco-aggregate/\n\n  integration-test:\n    if: github.repository == 'feast-dev/feast'\n    runs-on: ubuntu-latest\n    env:\n      PYTHON: 3.11\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'true'\n      - name: Set up JDK 11\n        uses: actions/setup-java@v1\n        with:\n          java-version: '11'\n          java-package: jdk\n          architecture: x64\n      - name: Setup Python (to call feast apply)\n        uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: 3.11\n          architecture: x64\n      - name: Install uv\n        run: |\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n      - name: Get uv cache dir\n        id: uv-cache\n        run: |\n          echo \"::set-output name=dir::$(uv cache dir)\"\n      - name: uv cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.uv-cache.outputs.dir }}\n          key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}\n\n      - name: Install Python dependencies\n        run: make install-python-ci-dependencies-uv\n      - uses: actions/cache@v4\n        with:\n          path: ~/.m2/repository\n          key: ${{ runner.os }}-it-maven-${{ hashFiles('**/pom.xml') }}\n          restore-keys: |\n            ${{ runner.os }}-it-maven-\n      - name: Authenticate to Google Cloud\n        uses: 'google-github-actions/auth@v1'\n        with:\n          credentials_json: '${{ secrets.GCP_SA_KEY }}'\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{ secrets.GCP_PROJECT_ID }}\n      - name: Use gcloud CLI\n        run: gcloud info\n      - name: Set up AWS SDK\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-west-2\n      - name: Use AWS CLI\n        run: aws sts get-caller-identity\n      - name: Run integration tests\n        run:  make test-java-integration\n", "state": "active", "repository": "feast-dev/feast"}
{"mined_at": "2024-07-15T12:36:07.182908", "created_at": "2021-11-17T04:37:33+01:00", "updated_at": "2021-11-17T04:37:33+01:00", "name": "java_pr", "path": ".github/workflows/java_pr.yml", "contents": "name: java_pr\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - synchronize\n      - labeled\n\njobs:\n  lint-java:\n    # when using pull_request_target, all jobs MUST have this if check for 'ok-to-test' or 'approved' for security purposes.\n    if:\n      ((github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'lgtm' || github.event.label.name == 'ok-to-test')) ||\n      (github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved') || contains(github.event.pull_request.labels.*.name, 'lgtm')))) &&\n      github.repository == 'feast-dev/feast'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # pull_request_target runs the workflow in the context of the base repo\n          # as such actions/checkout needs to be explicit configured to retrieve\n          # code from the PR.\n          ref: refs/pull/${{ github.event.pull_request.number }}/merge\n          submodules: recursive\n      - name: Lint java\n        run: make lint-java\n\n  unit-test-java:\n    # when using pull_request_target, all jobs MUST have this if check for 'ok-to-test' or 'approved' for security purposes.\n    if:\n      ((github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'lgtm' || github.event.label.name == 'ok-to-test')) ||\n      (github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved') || contains(github.event.pull_request.labels.*.name, 'lgtm')))) &&\n      github.repository == 'feast-dev/feast'\n    runs-on: ubuntu-latest\n    needs: lint-java\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # pull_request_target runs the workflow in the context of the base repo\n          # as such actions/checkout needs to be explicit configured to retrieve\n          # code from the PR.\n          ref: refs/pull/${{ github.event.pull_request.number }}/merge\n          submodules: recursive\n      - name: Set up JDK 11\n        uses: actions/setup-java@v1\n        with:\n          java-version: '11'\n          java-package: jdk\n          architecture: x64\n      - uses: actions/cache@v2\n        with:\n          path: ~/.m2/repository\n          key: ${{ runner.os }}-it-maven-${{ hashFiles('**/pom.xml') }}\n          restore-keys: |\n            ${{ runner.os }}-it-maven-\n      - uses: actions/cache@v2\n        with:\n          path: ~/.m2/repository\n          key: ${{ runner.os }}-ut-maven-${{ hashFiles('**/pom.xml') }}\n          restore-keys: |\n            ${{ runner.os }}-ut-maven-\n      - name: Test java\n        run: make test-java-with-coverage\n      - uses: actions/upload-artifact@v3\n        with:\n          name: java-coverage-report\n          path: ${{ github.workspace }}/docs/coverage/java/target/site/jacoco-aggregate/\n\n  build-docker-image-java:\n    # when using pull_request_target, all jobs MUST have this if check for 'ok-to-test' or 'approved' for security purposes.\n    if:\n      ((github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'lgtm' || github.event.label.name == 'ok-to-test')) ||\n      (github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved') || contains(github.event.pull_request.labels.*.name, 'lgtm')))) &&\n      github.repository == 'feast-dev/feast'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        component: [ feature-server-java ]\n    env:\n      MAVEN_CACHE: gs://feast-templocation-kf-feast/.m2.2020-08-19.tar\n      REGISTRY: gcr.io/kf-feast\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'true'\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: \"3.11\"\n          architecture: x64\n      - name: Authenticate to Google Cloud\n        uses: 'google-github-actions/auth@v1'\n        with:\n          credentials_json: '${{ secrets.GCP_SA_KEY }}'\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{ secrets.GCP_PROJECT_ID }}\n      - run: gcloud auth configure-docker --quiet\n      - name: Build image\n        run: make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${GITHUB_SHA}\n\n  integration-test-java-pr:\n    # when using pull_request_target, all jobs MUST have this if check for 'ok-to-test' or 'approved' for security purposes.\n    if:\n      ((github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'lgtm' || github.event.label.name == 'ok-to-test')) ||\n      (github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved') || contains(github.event.pull_request.labels.*.name, 'lgtm')))) &&\n      github.repository == 'feast-dev/feast'\n    runs-on: ubuntu-latest\n    needs: unit-test-java\n    env:\n      PYTHON: 3.11\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # pull_request_target runs the workflow in the context of the base repo\n          # as such actions/checkout needs to be explicit configured to retrieve\n          # code from the PR.\n          ref: refs/pull/${{ github.event.pull_request.number }}/merge\n          submodules: recursive\n      - name: Set up JDK 11\n        uses: actions/setup-java@v1\n        with:\n          java-version: '11'\n          java-package: jdk\n          architecture: x64\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          architecture: 'x64'\n      - uses: actions/cache@v2\n        with:\n          path: ~/.m2/repository\n          key: ${{ runner.os }}-it-maven-${{ hashFiles('**/pom.xml') }}\n          restore-keys: |\n            ${{ runner.os }}-it-maven-\n      - name: Authenticate to Google Cloud\n        uses: 'google-github-actions/auth@v1'\n        with:\n          credentials_json: '${{ secrets.GCP_SA_KEY }}'\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{ secrets.GCP_PROJECT_ID }}\n      - name: Use gcloud CLI\n        run: gcloud info\n      - name: Set up AWS SDK\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-west-2\n      - name: Use AWS CLI\n        run: aws sts get-caller-identity\n      - name: Setup Python (to call feast apply)\n        uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: 3.11\n          architecture: x64\n      - name: Install uv\n        run: |\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n      - name: Get uv cache dir\n        id: uv-cache\n        run: |\n          echo \"::set-output name=dir::$(uv cache dir)\"\n      - name: uv cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.uv-cache.outputs.dir }}\n          key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}\n      - name: Install dependencies\n        run: make install-python-ci-dependencies-uv\n      - name: Run integration tests\n        run:  make test-java-integration\n      - name: Save report\n        uses: actions/upload-artifact@v3\n        if: failure()\n        with:\n          name: it-report\n          path: spark/ingestion/target/test-reports/TestSuite.txt\n          retention-days: 5\n", "state": "active", "repository": "feast-dev/feast"}
{"mined_at": "2024-07-15T12:36:08.165293", "created_at": "2022-02-20T02:18:06+01:00", "updated_at": "2022-02-20T02:18:06+01:00", "name": "lint-pr", "path": ".github/workflows/lint_pr.yml", "contents": "name: lint-pr\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n\npermissions:\n  # read-only perms specified due to use of pull_request_target in lieu of security label check\n  pull-requests: read\n\njobs:\n  validate-title:\n    if:\n      github.repository == 'feast-dev/feast'\n    name: Validate PR title\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v4\n        with:\n          # Must use uppercase\n          subjectPattern: ^(?=[A-Z]).+$\n          subjectPatternError: |\n            The subject \"{subject}\" found in the pull request title \"{title}\"\n            didn't match the configured pattern. Please ensure that the subject\n            starts with an uppercase character.\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "feast-dev/feast"}
{"mined_at": "2024-07-15T12:36:09.165444", "created_at": "2022-03-04T17:16:00+01:00", "updated_at": "2022-05-12T00:42:00+02:00", "name": "publish", "path": ".github/workflows/publish.yml", "contents": "name: publish\n\non:\n  push:\n    tags:\n      - 'v*.*.*'\n\njobs:\n  get-version:\n    if: github.repository == 'feast-dev/feast'\n    runs-on:  ubuntu-latest\n    outputs:\n      release_version: ${{ steps.get_release_version.outputs.release_version }}\n      version_without_prefix: ${{ steps.get_release_version_without_prefix.outputs.version_without_prefix }}\n      highest_semver_tag: ${{ steps.get_highest_semver.outputs.highest_semver_tag }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get release version\n        id: get_release_version\n        run: echo ::set-output name=release_version::${GITHUB_REF#refs/*/}\n      - name: Get release version without prefix\n        id: get_release_version_without_prefix\n        env:\n          RELEASE_VERSION: ${{ steps.get_release_version.outputs.release_version }}\n        run: |\n          echo ::set-output name=version_without_prefix::${RELEASE_VERSION:1}\n      - name: Get highest semver\n        id: get_highest_semver\n        env:\n          RELEASE_VERSION: ${{ steps.get_release_version.outputs.release_version }}\n        run: |\n          source infra/scripts/setup-common-functions.sh\n          SEMVER_REGEX='^v[0-9]+\\.[0-9]+\\.[0-9]+(-([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?$'\n          if echo \"${RELEASE_VERSION}\" | grep -P \"$SEMVER_REGEX\" &>/dev/null ; then\n            echo ::set-output name=highest_semver_tag::$(get_tag_release -m)\n          fi\n      - name: Check output\n        env:\n          RELEASE_VERSION: ${{ steps.get_release_version.outputs.release_version }}\n          VERSION_WITHOUT_PREFIX: ${{ steps.get_release_version_without_prefix.outputs.version_without_prefix }}\n          HIGHEST_SEMVER_TAG: ${{ steps.get_highest_semver.outputs.highest_semver_tag }}\n        run: |\n          echo $RELEASE_VERSION\n          echo $VERSION_WITHOUT_PREFIX\n          echo $HIGHEST_SEMVER_TAG\n\n  build-publish-docker-images:\n    runs-on: ubuntu-latest\n    needs: [get-version, publish-python-sdk]\n    strategy:\n      matrix:\n        component: [feature-server, feature-server-java, feature-transformation-server, feast-operator]\n    env:\n      MAVEN_CACHE: gs://feast-templocation-kf-feast/.m2.2020-08-19.tar\n      REGISTRY: feastdev\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Authenticate to Google Cloud\n        uses: 'google-github-actions/auth@v1'\n        with:\n          credentials_json: '${{ secrets.GCP_SA_KEY }}'\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{ secrets.GCP_PROJECT_ID }}\n      - name: Use gcloud CLI\n        run: gcloud info\n      - run: gcloud auth configure-docker --quiet\n      - name: Build image\n        run: |\n          make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${VERSION_WITHOUT_PREFIX}\n        env:\n          RELEASE_VERSION: ${{ needs.get-version.outputs.release_version }}\n          VERSION_WITHOUT_PREFIX: ${{ needs.get-version.outputs.version_without_prefix }}\n          HIGHEST_SEMVER_TAG: ${{ needs.get-version.outputs.highest_semver_tag }}\n      - name: Push versioned images\n        env:\n          RELEASE_VERSION: ${{ needs.get-version.outputs.release_version }}\n          VERSION_WITHOUT_PREFIX: ${{ needs.get-version.outputs.version_without_prefix }}\n          HIGHEST_SEMVER_TAG: ${{ needs.get-version.outputs.highest_semver_tag }}\n        run: |\n          make push-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${VERSION_WITHOUT_PREFIX}\n\n          echo \"Only push to latest tag if tag is the highest semver version $HIGHEST_SEMVER_TAG\"\n          if [ \"${VERSION_WITHOUT_PREFIX}\" = \"${HIGHEST_SEMVER_TAG:1}\" ]\n          then\n            docker tag feastdev/${{ matrix.component }}:${VERSION_WITHOUT_PREFIX} feastdev/${{ matrix.component }}:latest\n            docker push feastdev/${{ matrix.component }}:latest\n          fi\n\n  publish-helm-charts:\n    if: github.repository == 'feast-dev/feast'\n    runs-on:  ubuntu-latest\n    needs: get-version\n    env:\n      HELM_VERSION: v3.8.0\n      VERSION_WITHOUT_PREFIX: ${{ needs.get-version.outputs.version_without_prefix }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Authenticate to Google Cloud\n        uses: 'google-github-actions/auth@v1'\n        with:\n          credentials_json: '${{ secrets.GCP_SA_KEY }}'\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{ secrets.GCP_PROJECT_ID }}\n      - run: gcloud auth configure-docker --quiet\n      - name: Remove previous Helm\n        run: sudo rm -rf $(which helm)\n      - name: Install Helm\n        run: ./infra/scripts/helm/install-helm.sh\n      - name: Validate Helm chart prior to publishing\n        run: ./infra/scripts/helm/validate-helm-chart-publish.sh\n      - name: Validate all version consistency\n        run: ./infra/scripts/helm/validate-helm-chart-versions.sh $VERSION_WITHOUT_PREFIX\n      - name: Publish Helm charts\n        run: ./infra/scripts/helm/push-helm-charts.sh $VERSION_WITHOUT_PREFIX\n\n  build_wheels:\n    uses: ./.github/workflows/build_wheels.yml\n\n  publish-python-sdk:\n    if: github.repository == 'feast-dev/feast'\n    runs-on: ubuntu-latest\n    needs: [build_wheels]\n    steps:\n      - uses: actions/download-artifact@v2\n        with:\n          name: wheels\n          path: dist\n      - uses: pypa/gh-action-pypi-publish@v1.4.2\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_PASSWORD }}\n\n  publish-java-sdk:\n    if: github.repository == 'feast-dev/feast'\n    container: maven:3.6-jdk-11\n    runs-on: ubuntu-latest\n    needs: get-version\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'true'\n      - name: Set up JDK 11\n        uses: actions/setup-java@v1\n        with:\n          java-version: '11'\n          java-package: jdk\n          architecture: x64\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          architecture: 'x64'\n      - uses: actions/cache@v2\n        with:\n          path: ~/.m2/repository\n          key: ${{ runner.os }}-it-maven-${{ hashFiles('**/pom.xml') }}\n          restore-keys: |\n            ${{ runner.os }}-it-maven-\n      - name: Publish java sdk\n        env:\n          VERSION_WITHOUT_PREFIX: ${{ needs.get-version.outputs.version_without_prefix }}\n          GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }}\n          GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}\n          MAVEN_SETTINGS: ${{ secrets.MAVEN_SETTINGS }}\n        run: |\n          echo -n \"$GPG_PUBLIC_KEY\" > /root/public-key\n          echo -n \"$GPG_PRIVATE_KEY\" > /root/private-key\n          mkdir -p /root/.m2/\n          echo -n \"$MAVEN_SETTINGS\" > /root/.m2/settings.xml\n          infra/scripts/publish-java-sdk.sh --revision ${VERSION_WITHOUT_PREFIX} --gpg-key-import-dir /root\n", "state": "active", "repository": "feast-dev/feast"}
{"mined_at": "2024-07-15T12:36:10.201890", "created_at": "2022-06-28T02:51:58+02:00", "updated_at": "2022-06-28T09:37:17+02:00", "name": "build_wheels", "path": ".github/workflows/build_wheels.yml", "contents": "name: build_wheels\n\n# Call this workflow from other workflows in the repository by specifying \"uses: ./.github/workflows/build_wheels.yml\"\n# Developers who are starting a new release should use this workflow to ensure wheels will be built correctly.\n# Devs should check out their fork, add a tag to the last master commit on their fork, and run the release off of their fork on the added tag to ensure wheels will be built correctly.\non:\n  workflow_dispatch:\n      tags:\n        - 'v*.*.*'\n  workflow_call:\n\njobs:\n  get-version:\n    runs-on:  ubuntu-latest\n    outputs:\n      release_version: ${{ steps.get_release_version.outputs.release_version }}\n      version_without_prefix: ${{ steps.get_release_version_without_prefix.outputs.version_without_prefix }}\n      highest_semver_tag: ${{ steps.get_highest_semver.outputs.highest_semver_tag }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: Get release version\n        id: get_release_version\n        run: echo ::set-output name=release_version::${GITHUB_REF#refs/*/}\n      - name: Get release version without prefix\n        id: get_release_version_without_prefix\n        env:\n          RELEASE_VERSION: ${{ steps.get_release_version.outputs.release_version }}\n        run: |\n          echo ::set-output name=version_without_prefix::${RELEASE_VERSION:1}\n      - name: Get highest semver\n        id: get_highest_semver\n        env:\n          RELEASE_VERSION: ${{ steps.get_release_version.outputs.release_version }}\n        run: |\n          source infra/scripts/setup-common-functions.sh\n          SEMVER_REGEX='^v[0-9]+\\.[0-9]+\\.[0-9]+(-([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?$'\n          if echo \"${RELEASE_VERSION}\" | grep -P \"$SEMVER_REGEX\" &>/dev/null ; then\n            echo ::set-output name=highest_semver_tag::$(get_tag_release -m)\n          fi\n      - name: Check output\n        id: check_output\n        env:\n          RELEASE_VERSION: ${{ steps.get_release_version.outputs.release_version }}\n          VERSION_WITHOUT_PREFIX: ${{ steps.get_release_version_without_prefix.outputs.version_without_prefix }}\n          HIGHEST_SEMVER_TAG: ${{ steps.get_highest_semver.outputs.highest_semver_tag }}\n        run: |\n          echo $RELEASE_VERSION\n          echo $VERSION_WITHOUT_PREFIX\n          echo $HIGHEST_SEMVER_TAG\n\n  build-python-wheel:\n    name: Build wheels\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          architecture: x64\n      - name: Setup Node\n        uses: actions/setup-node@v3\n        with:\n          node-version: '17.x'\n          registry-url: 'https://registry.npmjs.org'\n      - name: Build UI\n        run: make build-ui\n      - name: Build wheels\n        run: |\n          python -m pip install build\n          python -m build --wheel --outdir wheelhouse/\n      - uses: actions/upload-artifact@v3\n        with:\n          name: wheels\n          path: ./wheelhouse/*.whl\n\n  build-source-distribution:\n    name: Build source distribution\n    runs-on: macos-13\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          architecture: x64\n      - name: Setup Node\n        uses: actions/setup-node@v3\n        with:\n          node-version: '17.x'\n          registry-url: 'https://registry.npmjs.org'\n      - name: Build and install dependencies\n        # There's a `git restore` in here because `make install-go-ci-dependencies` is actually messing up go.mod & go.sum.\n        run: |\n          pip install -U pip setuptools wheel twine\n          make install-protoc-dependencies\n          make build-ui\n          git status\n          git restore go.mod go.sum\n          git restore sdk/python/feast/ui/yarn.lock\n      - name: Build\n        run: |\n          python3 setup.py sdist\n      - uses: actions/upload-artifact@v3\n        with:\n          name: wheels\n          path: dist/*\n\n  # We add this step so the docker images can be built as part of the pre-release verification steps.\n  build-docker-images:\n    runs-on: ubuntu-latest\n    needs: get-version\n    strategy:\n      matrix:\n        component: [feature-server, feature-server-java, feature-transformation-server]\n    env:\n      REGISTRY: feastdev\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Build image\n        run: |\n          make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${VERSION_WITHOUT_PREFIX}\n        env:\n          VERSION_WITHOUT_PREFIX: ${{ needs.get-version.outputs.version_without_prefix }}\n\n  verify-python-wheels:\n    runs-on: ${{ matrix.os }}\n    needs: [build-python-wheel, build-source-distribution, get-version]\n    strategy:\n      matrix:\n        os: [ubuntu-latest,  macos-13 ]\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        from-source: [ True, False ]\n    env:\n      # this script is for testing servers\n      # it starts server with timeout and checks whether process killed by timeout (started healthy) or died by itself\n      TEST_SCRIPT: |\n        timeout 10s $@ & pid=$!\n        wait $pid\n        ret=$?\n        if [[ $ret -ne 124 ]]\n        then\n           exit $ret\n        else\n           echo \"Succeeded!\"\n        fi\n      VERSION_WITHOUT_PREFIX: ${{ needs.get-version.outputs.version_without_prefix }}\n    steps:\n      - name: Setup Python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - uses: actions/download-artifact@v2\n        with:\n          name: wheels\n          path: dist\n      - name: Install OS X dependencies\n        if: matrix.os == 'macos-13'\n        run: brew install coreutils\n      - name: Install wheel\n        if: ${{ !matrix.from-source }}\n        # try to install all wheels; only the current platform wheel should be actually installed\n        run: |\n          cd dist/\n          pip install wheel\n          for f in *.whl; do pip install $f || true; done\n      - name: Install sdist\n        # try to install the sdist\n        if: ${{ matrix.from-source }}\n        run: pip install dist/*tar.gz\n      # Validate that the feast version installed is not development and is the correct version of the tag we ran it off of.\n      - name: Validate Feast Version\n        run: |\n          VERSION_REGEX='[0-9]+\\.[0-9]+\\.[0-9]+'\n          OUTPUT_REGEX='^Feast SDK Version: \"$VERSION_REGEX\"$'\n          VERSION_OUTPUT=$(feast version)\n          VERSION=$(echo $VERSION_OUTPUT | grep -oE \"$VERSION_REGEX\")\n          OUTPUT=$(echo $VERSION_OUTPUT | grep -E \"$REGEX\")\n          if  [ -n \"$OUTPUT\" ] && [ \"$VERSION\" = \"$VERSION_WITHOUT_PREFIX\" ]; then\n            echo \"Correct Feast Version Installed\"\n          else\n            echo \"$VERSION_OUTPUT from installed wheel is not in the correct format or doesn't have the right version $VERSION.\"\n            exit 1\n          fi\n      # This is temporarily disabled.\n      # - name: Smoke test\n      #   run: |\n      #     feast init test_repo\n      #     cd test_repo/feature_repo\n      #     feast apply\n      #     echo \"$TEST_SCRIPT\" > run-and-wait.sh\n      #     bash run-and-wait.sh feast serve\n      #     bash run-and-wait.sh feast ui\n", "state": "active", "repository": "feast-dev/feast"}
{"mined_at": "2024-07-15T12:36:11.336942", "created_at": "2022-07-11T19:28:11+02:00", "updated_at": "2022-07-18T21:22:21+02:00", "name": "pr-local-integration-tests", "path": ".github/workflows/pr_local_integration_tests.yml", "contents": "name: pr-local-integration-tests\n# This runs local tests with containerized stubs of online stores. This is the main dev workflow\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - synchronize\n      - labeled\n\njobs:\n  integration-test-python-local:\n    # when using pull_request_target, all jobs MUST have this if check for 'ok-to-test' or 'approved' for security purposes.\n    if:\n      ((github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'lgtm' || github.event.label.name == 'ok-to-test')) ||\n      (github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved') || contains(github.event.pull_request.labels.*.name, 'lgtm')))) &&\n      github.repository == 'feast-dev/feast'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.11\" ]\n        os: [ ubuntu-latest ]\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # pull_request_target runs the workflow in the context of the base repo\n          # as such actions/checkout needs to be explicit configured to retrieve\n          # code from the PR.\n          ref: refs/pull/${{ github.event.pull_request.number }}/merge\n          submodules: recursive\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n      - name: Get uv cache dir\n        id: uv-cache\n        run: |\n          echo \"::set-output name=dir::$(uv cache dir)\"\n      - name: uv cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.uv-cache.outputs.dir }}\n          key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}\n      - name: Install dependencies\n        run: make install-python-ci-dependencies-uv\n      - name: Test local integration tests\n        if: ${{ always() }}  # this will guarantee that step won't be canceled and resources won't leak\n        run: make test-python-integration-local\n", "state": "active", "repository": "feast-dev/feast"}
{"mined_at": "2024-07-15T12:36:12.523083", "created_at": "2022-07-12T00:51:43+02:00", "updated_at": "2022-07-12T19:02:40+02:00", "name": "nightly-ci", "path": ".github/workflows/nightly-ci.yml", "contents": "name: nightly-ci\n\non:\n  schedule:\n    - cron: '00 08 * * *'  # early morning 08:00 AM UTC, which is 1 AM PST/4 AM EST.\n\n# concurrency is currently broken, see details https://github.com/actions/runner/issues/1532\n#concurrency:\n#  group: pr-integration-tests-${{ github.event.pull_request.number }}\n#  cancel-in-progress: true\n\njobs:\n  check_date:\n    if: github.repository == 'feast-dev/feast'\n    runs-on: ubuntu-latest\n    name: Check latest commit\n    outputs:\n      WAS_EDITED: ${{ steps.check_date.outputs.WAS_EDITED }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: master\n      - id: check_date\n        name: Check if there were commits in the last day\n        if: ${{ github.event_name == 'schedule' }}\n        run: echo '::set-output name=WAS_EDITED::'$(test -n \"$(git log --format=%H --since='24 hours ago')\" && echo 'true' || echo 'false')\n  cleanup_dynamo_tables:\n    if: github.repository == 'feast-dev/feast'\n    runs-on: ubuntu-latest\n    name: Cleanup Bigtable / Dynamo tables which can fail to cleanup\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: master\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: \"3.11\"\n          architecture: x64\n      - name: Set up AWS SDK\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-west-2\n      - name: Install Python dependencies\n        run: |\n          pip install boto3\n          pip install google-cloud-bigtable\n          pip install tqdm\n      - name: Authenticate to Google Cloud\n        uses: 'google-github-actions/auth@v1'\n        with:\n          credentials_json: '${{ secrets.GCP_SA_KEY }}'\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{ secrets.GCP_PROJECT_ID }}\n      - name: Use gcloud CLI\n        run: gcloud info\n      - name: Run DynamoDB / Bigtable cleanup script\n        run: python infra/scripts/cleanup_ci.py\n  integration-test-python:\n    if: github.repository == 'feast-dev/feast'\n    needs: [check_date, cleanup_dynamo_tables]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.11\" ]\n        os: [ ubuntu-latest ]\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n    services:\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: master\n          submodules: recursive\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Setup Go\n        id: setup-go\n        uses: actions/setup-go@v2\n        with:\n          go-version: 1.18.0\n      - name: Authenticate to Google Cloud\n        uses: 'google-github-actions/auth@v1'\n        with:\n          credentials_json: '${{ secrets.GCP_SA_KEY }}'\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{ secrets.GCP_PROJECT_ID }}\n      - name: Use gcloud CLI\n        run: gcloud info\n      - name: Set up AWS SDK\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-west-2\n      - name: Use AWS CLI\n        run: aws sts get-caller-identity\n      - name: Install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n      - name: Get uv cache dir\n        id: uv-cache\n        run: |\n          echo \"::set-output name=dir::$(uv cache dir)\"\n      - name: uv cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.uv-cache.outputs.dir }}\n          key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}\n      - name: Install apache-arrow on ubuntu\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n            sudo apt update\n            sudo apt install -y -V ca-certificates lsb-release wget\n            wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb\n            sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb\n            sudo apt update\n            sudo apt install -y -V libarrow-dev\n      - name: Install apache-arrow on macos\n        if: matrix.os == 'macos-13'\n        run: brew install apache-arrow\n      - name: Install dependencies\n        run: make install-python-ci-dependencies-uv\n      - name: Setup Redis Cluster\n        run: |\n          docker pull vishnunair/docker-redis-cluster:latest\n          docker run -d -p 6001:6379 -p 6002:6380 -p 6003:6381 -p 6004:6382 -p 6005:6383 -p 6006:6384 --name redis-cluster vishnunair/docker-redis-cluster\n      - name: Test python\n        if: ${{ always() }}  # this will guarantee that step won't be canceled and resources won't leak\n        env:\n          SNOWFLAKE_CI_DEPLOYMENT: ${{ secrets.SNOWFLAKE_CI_DEPLOYMENT }}\n          SNOWFLAKE_CI_USER: ${{ secrets.SNOWFLAKE_CI_USER }}\n          SNOWFLAKE_CI_PASSWORD: ${{ secrets.SNOWFLAKE_CI_PASSWORD }}\n          SNOWFLAKE_CI_ROLE: ${{ secrets.SNOWFLAKE_CI_ROLE }}\n          SNOWFLAKE_CI_WAREHOUSE: ${{ secrets.SNOWFLAKE_CI_WAREHOUSE }}\n        run: make test-python-integration", "state": "active", "repository": "feast-dev/feast"}
{"mined_at": "2024-07-15T12:36:14.641477", "created_at": "2021-12-17T09:53:08+01:00", "updated_at": "2021-12-17T09:53:08+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "unipitechnology/evok"}
{"mined_at": "2024-07-15T12:36:16.820135", "created_at": "2023-09-26T01:06:44+02:00", "updated_at": "2023-10-13T20:57:23+02:00", "name": "Helm Chart Release", "path": ".github/workflows/chart_release.yaml", "contents": "name: Helm Chart Release\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  chart-release:\n    name: Create chart release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Configure Git\n        run: |\n          git config user.name \"$GITHUB_ACTOR\"\n          git config user.email \"$GITHUB_ACTOR@users.noreply.github.com\"\n      - name: Install Helm\n        uses: azure/setup-helm@v4\n      - name: Add bitnami repository\n        run: helm repo add bitnami https://charts.bitnami.com/bitnami\n      - name: Run chart-releaser\n        uses: ./.github/actions/chart_releaser\n        with:\n          config: .github/actions/chart_releaser/cr.yaml\n        env:\n          CR_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "bcgov/vc-authn-oidc"}
{"mined_at": "2024-07-15T12:36:17.899692", "created_at": "2023-03-11T00:13:06+01:00", "updated_at": "2023-10-13T20:57:23+02:00", "name": "Controller Unit Tests", "path": ".github/workflows/controller_unittests.yml", "contents": "name: Controller Unit Tests\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - \"main\"\n\njobs:\n  build:\n    name: Build, Lint, Unit Test\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        working-directory: ./oidc-controller\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n      - name: Lint with flake8\n        working-directory: ./oidc-controller\n        run: |\n          flake8 . --count --show-source --statistics\n      - name: Test with pytest\n        working-directory: ./oidc-controller\n        run: |\n          pytest --log-cli-level=INFO --cov --cov-report lcov\n      - name: Coveralls Parallel\n        uses: coverallsapp/github-action@v2\n        with:\n          flag-name: python-${{ matrix.python-version }}\n          parallel: true\n  code-coverage:\n    name: Generate Code Coverage\n    needs: build\n    if: ${{ always() }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Coveralls Finished\n        uses: coverallsapp/github-action@v2\n        with:\n          parallel-finished: true\n          carryforward: \"python-3.11\"\n", "state": "active", "repository": "bcgov/vc-authn-oidc"}
{"mined_at": "2024-07-15T12:36:19.177148", "created_at": "2024-04-25T01:05:36+02:00", "updated_at": "2024-04-25T01:05:36+02:00", "name": "Build & Deploy Development", "path": ".github/workflows/on_push_main.yaml", "contents": "name: Build & Deploy Development\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\njobs:\n  build:\n    name: \"Build VC-AuthN\"\n    if: github.repository_owner == 'bcgov'\n    uses: ./.github/workflows/publish.yml\n    with:\n      tag: \"dev\"\n      ref: \"main\"\n      platforms: \"linux/amd64\"\n\n  # Build vc-authn\n  deploy:\n    name: Deploy VC-AuthN to Dev\n    environment: dev\n    runs-on: ubuntu-latest\n    needs:\n      - build\n    if: ${{ always() && !(contains(needs.*.result, 'failed')) && (github.repository_owner == 'bcgov') }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Authenticate and set context\n        uses: redhat-actions/oc-login@v1\n        with:\n          openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}\n          openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}\n          namespace: ${{ secrets.OPENSHIFT_NAMESPACE }}\n\n      - name: VC-Authn Dev Helm\n        run: |\n          helm upgrade --install vc-authn-oidc \\\n          -f https://raw.githubusercontent.com/bcgov/trust-over-ip-configurations/main/helm-values/vc-authn-oidc/dev.yaml \\\n          --set image.tag=${{ needs.build.outputs.image_version }} \\\n          ./charts/vc-authn-oidc --wait\n      - name: Restart Deployments\n        run: |\n          oc rollout restart deployment/vc-authn-oidc-agent\n          oc rollout restart deployment/vc-authn-oidc\n", "state": "active", "repository": "bcgov/vc-authn-oidc"}
{"mined_at": "2024-07-15T12:36:20.402798", "created_at": "2023-04-06T02:51:15+02:00", "updated_at": "2023-06-07T15:42:20+02:00", "name": "Publish VC-AuthN Image", "path": ".github/workflows/publish.yml", "contents": "name: Publish VC-AuthN Image\nrun-name: Publish VC-AuthN ${{ inputs.tag || github.event.release.tag_name }} Image\non:\n  release:\n    types: [published]\n  workflow_call:\n    inputs:\n      tag:\n        description: \"Image tag\"\n        required: true\n        type: string\n      platforms:\n        description: \"Platforms - Comma separated list of the platforms to support.\"\n        required: true\n        default: linux/amd64\n        type: string\n      ref:\n        description: \"Optional - The branch, tag or SHA to checkout.\"\n        required: false\n        type: string\n    outputs:\n      image_tag:\n        description: \"The tag used for this image\"\n        value: ${{ jobs.publish_image.outputs.image_tag }}\n      image_version:\n        description: \"The tag used for this image\"\n        value: ${{ jobs.publish_image.outputs.image_version }}\n\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: \"Image tag\"\n        required: true\n        type: string\n      platforms:\n        description: \"Platforms - Comma separated list of the platforms to support.\"\n        required: true\n        default: linux/amd64\n        type: string\n      ref:\n        description: \"Optional - The branch, tag or SHA to checkout.\"\n        required: false\n        type: string\n\nenv:\n  PLATFORMS: ${{ inputs.platforms || 'linux/amd64,linux/arm64' }}\n\njobs:\n  publish_image:\n    if: github.repository_owner == 'bcgov'\n    strategy:\n      fail-fast: false\n\n    name: Publish VC-AuthN Image\n    runs-on: ubuntu-latest\n    outputs:\n      image_tag: ${{ steps.values.outputs.image_tag }}\n      image_version: ${{ steps.values.outputs.image_version }}\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref || '' }}\n\n      - name: Gather image info\n        id: info\n        run: |\n          echo \"repo-owner=${GITHUB_REPOSITORY_OWNER,,}\" >> $GITHUB_OUTPUT\n\n      - name: Cache Docker layers\n        uses: actions/cache@v4\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Log in to the GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Setup Image Metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ghcr.io/${{ steps.info.outputs.repo-owner }}/vc-authn-oidc\n          tags: |\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=ref,event=pr\n            type=sha\n\n      - name: Build and Push Image to ghcr.io\n        uses: docker/build-push-action@v6\n        with:\n          push: true\n          context: .\n          file: docker/oidc-controller/Dockerfile\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          target: main\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max\n          platforms: ${{ env.PLATFORMS }}\n\n      - name: Get Build Info\n        id: values\n        shell: bash\n        run: |\n          echo \"image_tag=${{ fromJSON(steps.meta.outputs.json).tags[0] }}\" >> $GITHUB_OUTPUT\n          echo \"image_version=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}\" >> $GITHUB_OUTPUT\n\n      # Temp fix\n      # https://github.com/docker/build-push-action/issues/252\n      # https://github.com/moby/buildkit/issues/1896\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n", "state": "active", "repository": "bcgov/vc-authn-oidc"}
{"mined_at": "2024-07-15T12:36:21.513728", "created_at": "2024-07-08T20:14:49+02:00", "updated_at": "2024-07-08T20:14:49+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "bcgov/vc-authn-oidc"}
{"mined_at": "2024-07-15T12:36:22.567796", "created_at": "2023-09-26T01:57:56+02:00", "updated_at": "2023-09-26T01:57:56+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "bcgov/vc-authn-oidc"}
{"mined_at": "2024-07-15T12:36:24.549056", "created_at": "2020-01-10T19:51:37+01:00", "updated_at": "2020-01-11T01:20:11+01:00", "name": "Github Actions", "path": "", "contents": null, "state": "active", "repository": "pydata/bottleneck"}
{"mined_at": "2024-07-15T12:36:25.540264", "created_at": "2022-02-20T18:24:02+01:00", "updated_at": "2022-02-22T11:37:33+01:00", "name": "Github Actions", "path": ".github/workflows/ci.yml", "contents": "name: Github Actions\n\non: [\"push\", \"pull_request\"]\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        numpy-version: [\"\"]\n        architecture: [x86, x64]\n        os:\n          [\n            ubuntu-latest,\n            ubuntu-20.04,\n            macos-13,\n            macos-12,\n            windows-latest,\n            windows-2019,\n          ]\n        exclude:\n          - os: ubuntu-latest\n            architecture: x86\n          - os: ubuntu-20.04\n            architecture: x86\n          - os: macos-13\n            architecture: x86\n          - os: macos-12\n            architecture: x86\n        include:\n          - python-version: \"3.12\"\n            numpy-version: \">=2.0.0rc1\"\n            architecture: x64\n            os: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: Install\n        run: |\n          pip install .\n\n      - name: Test with pytest\n        run: |\n          pip install pytest \"numpy${{ matrix.numpy-version }}\"\n          pytest --pyargs bottleneck\n\n  check:\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - name: Placeholder for CI checks in PRs\n        run: echo \"Done\"\n\n  build_wheels:\n    needs: test\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-latest, windows-latest, ubuntu-latest]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.16.5\n        env:\n          CIBW_SKIP: pp* cp36-*\n\n      - name: Store wheel artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    needs: test\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Build sdist\n        run: pipx run build --sdist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          path: dist/*.tar.gz\n\n  release:\n    needs: [build_wheels, build_sdist]\n    # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')\n    if: github.event_name == 'push'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          path: dist\n          merge-multiple: true\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN}}\n", "state": "active", "repository": "pydata/bottleneck"}
{"mined_at": "2024-07-15T12:36:27.877901", "created_at": "2020-12-12T18:14:41+01:00", "updated_at": "2022-12-21T05:17:33+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n\n  sdist:\n    name: Create sdist\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n      - uses: actions/setup-python@v4\n        name: Install Python\n        with:\n          python-version: 3.x\n      - name: Ubuntu library headers\n        run:  |\n          sudo apt update\n          # Keep in sync with \"Prerequisites\" in User's Guide.\n          sudo apt install libblosc-dev libbz2-dev libhdf5-dev liblz4-dev liblzo2-dev libsnappy-dev libzstd-dev zlib1g-dev\n      - name: Source distribution\n        run: |\n          pip install build\n          python -m build --sdist\n      - name: Save source distribution\n        uses: actions/upload-artifact@v3\n        with:\n          name: tables-sdist\n          path: dist/*.tar.gz\n\n\n  build:\n    name: ${{ matrix.os }} ${{ matrix.python }} ${{ matrix.numpy }} ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    needs: sdist\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        # Keep in sync with ``project.classifiers`` in ``pyproject.toml``.\n        python: ['3.9', '3.10', '3.11', '3.12']\n        numpy: ['numpy']\n        include:\n          - os: ubuntu-latest\n            python: '3.12'\n            numpy: 'numpy>=2.dev0'\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: true\n    - name: Set up Python ${{ matrix.python }}\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        python-version: ${{ matrix.python }}\n        auto-update-conda: true\n        channels: conda-forge\n        channel-priority: strict\n    - name: Install dependencies\n      run: |\n        # Keep in sync with\n        # \"Prerequisites\" in User's Guide,\n        # ``build-system.requires`` in ``pyproject.toml``.\n        conda install -q setuptools pip wheel build packaging numpy cython bzip2 hdf5 lzo\n        python -m pip install --require-hashes -r requirements.txt\n        python -m pip install --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple '${{ matrix.numpy }}'\n        # Keep in sync with ``project.optional-dependencies.doc`` in ``pyproject.toml``.\n        # conda install sphinx sphinx_rtd_theme numpydoc ipython\n    - name: Get source distribution\n      uses: actions/download-artifact@v3\n      with:\n        name: tables-sdist\n    - name: Installation\n      run: |\n        python -m pip install -v tables-*.tar.gz\n    - name: 'Run test'\n      run: |\n        cd .. && python -m tables.tests.test_all -v\n        pt2to3 -h\n        ptrepack -h\n        ptdump -h\n        pttree -h\n\n\n  build_cblosc:\n    name: Sdist with cblosc2\n    runs-on: ubuntu-latest\n    needs: sdist\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: true\n    - name: Set up Python\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        auto-update-conda: true\n        channels: conda-forge\n        channel-priority: strict\n    - name: Install dependencies\n      run: |\n        # Keep in sync with \"Prerequisites\" in User's Guide,\n        # ``build-system.requires`` in ``pyproject.toml``.\n        conda install setuptools pip wheel build packaging py-cpuinfo numpy cython numexpr bzip2 hdf5 lzo 'typing_extensions>=4.4.0' c-blosc2\n    - name: Get source distrubtion\n      uses: actions/download-artifact@v3\n      with:\n        name: tables-sdist\n    - name: Installation\n      run: |\n        python -m pip install -v tables-*.tar.gz --no-deps\n    - name: Python blosc2 wheel or conda pkg is not installed\n      run: |\n        ! conda list | grep -E '^(python-)?blosc2'\n    - name: 'Run test'\n      run: |\n        cd .. && python -m tables.tests.test_all -v\n        pt2to3 -h\n        ptrepack -h\n        ptdump -h\n        pttree -h\n", "state": "active", "repository": "pytables/pytables"}
{"mined_at": "2024-07-15T12:36:28.885196", "created_at": "2020-12-12T20:53:00+01:00", "updated_at": "2022-12-21T05:17:33+01:00", "name": "ubuntu", "path": ".github/workflows/ubuntu.yml", "contents": "name: ubuntu\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    # Please try to use as many packages as possible from Ubuntu APT repos,\n    # and as few as possible from PyPI,\n    # as the purpose here is to test against system packages.\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: true\n    - name: Install APT packages\n      run: |\n        sudo apt-get update\n        # Keep in sync with \"Prerequisites\" in User's Guide.\n        sudo apt install libblosc-dev libbz2-dev libhdf5-dev liblz4-dev liblzo2-dev libsnappy-dev libzstd-dev zlib1g-dev\n        # ``python3-build`` (which uses ``python3-venv``) is needed for ``make (s)dist``.\n        # However, Ubuntu 22.04's ``python3-build`` is broken,\n        # so try with ``python3-virtualenv`` instead as suggested in\n        # <https://github.com/pypa/build/issues/215#issuecomment-1335841041>.\n        # At any rate, the toolchain is going to come from PyPI.\n        sudo apt install python3-all-dev python3-pip  # python3-virtualenv python3-build\n        # Keep in sync with ``build-system.requires`` in ``pyproject.toml``.\n        # Packages commented out are either missing or too old, use PyPI packages below.\n        sudo apt install python3-numpy python3-packaging python3-cpuinfo  # python3-setuptools python3-wheel # cython3 blosc2\n        # Keep in sync with ``project.dependencies`` in ``pyproject.toml``.\n        # Packages commented out are either missing or too old, use PyPI packages below (if not already installed).\n        sudo apt install python3-numexpr  # python3-numpy python3-packaging python3-cpuinfo # blosc2\n        sudo apt install python3-pytest python3-pytest-doctestplus\n        # Keep in sync with ``project.optional-dependencies`` in  ``pyproject.toml``.\n        sudo apt install python3-sphinx python3-sphinx-rtd-theme python3-numpydoc python3-ipython\n        sudo apt install latexmk texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra texlive-plain-generic\n    - name: Install dependencies\n      run: |\n        # A recent build toolchain is necessary for different tasks in the makefile,\n        # though it would not be used to create an Ubuntu package anyway.\n        # Ubuntu's toolchain is outdated for this purpose,\n        # so make sure that we use PyPI packages by using ``--upgrade``.\n        # All the tools below are upgraded together as mixing with system packages\n        # breaks \"Source distribution\" (can't remove system packages)\n        # or \"Test\" (\"build\" does nothing and PyTest finds no doctests).\n        python3 -m pip install --user --upgrade setuptools pip wheel build\n        # Keep in sync with ``build-system.requires`` in ``pyproject.toml``.\n        # Install build requirements which would also be used to create an Ubuntu package\n        # but have old or missing Ubuntu APT packages.\n        # Do not use ``--upgrade`` here: we want to be sure whether we use system or PyPI packages.\n        python3 -m pip install --user cython\n        python3 -m pip install --require-hashes --user -r requirements.txt\n        python3 -c \"import numpy as np; print('numpy:', np.__version__)\"\n        python3 -c \"import blosc2; print('blosc2:', blosc2.__version__)\"\n    - name: Build PyTables\n      run: make build\n      env:\n        PYTABLES_NO_EMBEDDED_LIBS: TRUE\n    - name: Build HTML documentation\n      run: make html\n    - name: Build LaTeX documentation\n      run: make latex\n    - name: Source distribution\n      run: make dist\n    - name: Test\n      run: make check\n", "state": "active", "repository": "pytables/pytables"}
{"mined_at": "2024-07-15T12:36:29.904222", "created_at": "2020-12-13T11:39:34+01:00", "updated_at": "2022-12-21T05:21:01+01:00", "name": "Wheels", "path": ".github/workflows/wheels.yml", "contents": "name: Wheels\n\n# Publish when a (published) GitHub Release is created.\non:\n  push:\n    branches:\n      - master\n      - 'releases/**'\n      - 'ci/**'\n    tags:\n      - v*\n    pull_request:\n  release:\n    types:\n      - published\n\npermissions:\n  contents: read\n\njobs:\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1\n        name: Install Python\n        with:\n          python-version: 3.x\n\n      - name: Install APT packages\n        if: contains(${{ matrix.os }}, 'ubuntu')\n        run: |\n          sudo apt update\n          # Keep in sync with \"Prerequisites\" in User's Guide.\n          sudo apt install libbz2-dev libhdf5-serial-dev liblzo2-dev\n          sudo apt install latexmk texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra texlive-plain-generic\n\n      - name: Install dependencies\n        run: |\n          # Keep in sync with ``build-system.requires`` in ``pyproject.toml``.\n          python -m pip install --require-hashes -r ./.github/workflows/requirements/build-requirements.txt\n          python -m pip install --require-hashes -r requirements.txt\n          # Keep in sync with ``project.optional-dependencies.doc`` in ``pyproject.toml``.\n          python -m pip install --require-hashes -r ./.github/workflows/requirements/optional-requirements.txt\n\n      - name: Build sdist\n        run: make PYTHON=python dist\n\n      - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3\n        with:\n          path: dist/*\n\n  build_wheels:\n    name: Build ${{ matrix.os }} wheels for ${{ matrix.arch }}\n    runs-on: ${{ matrix.os }}\n    env:\n      # Keep in sync with \"Prerequisites\" in User's Guide.\n      HDF5_VERSION: 1.14.3  # H5Dchunk_iter needs at least 1.14.1\n      MACOSX_DEPLOYMENT_TARGET: \"10.9\"\n      # Keep Python in sync with ``project.classifiers`` in ``pyproject.toml``.\n      # Skip 3.6, 3.7 and 3.8 wheels\n      CIBW_SKIP: \"*-musllinux_* cp36-* cp37-* cp38-* \"\n      CIBW_BUILD: \"cp*\"\n    strategy:\n      matrix:\n        # Please note that some architectures are not tested,\n        # see \"Build wheels\" and ``CIBW_TEST_SKIP`` below.\n        os: [ 'ubuntu-latest' ]\n        arch: [ 'x86_64',  'aarch64' ]\n        include:\n          - os: macos-13\n            arch: x86_64\n          - os: macos-14\n            arch: arm64\n\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1\n        name: Install Python\n        with:\n          python-version: 3.x\n\n      - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0\n        if: runner.os == 'Linux'\n        name: Set up QEMU\n\n      - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0\n        id: deps-cache\n        with:\n          path: hdf5_build\n          key: ${{ runner.os }}-${{ matrix.arch }}-deps-cache-${{ hashFiles('**/get_hdf5.sh') }}-${{ env.HDF5_VERSION }}-${{ hashFiles('**/wheels.yml') }}\n\n      - name: Build dependencies\n        env:\n          CFLAGS: -g0\n          CIBW_ARCHS: ${{ matrix.arch }}\n        if: ${{ steps.deps-cache.outputs.cache-hit != 'true' }}\n        run: |\n          mkdir hdf5_build\n          if [[ ${{ runner.os }} = 'Linux' ]]; then\n            docker run --rm -eMACOSX_DEPLOYMENT_TARGET=${{ env.MACOSX_DEPLOYMENT_TARGET }} -e HDF5_DIR=/io/hdf5_build -e CFLAGS=-g0 -e HDF5_VERSION=${{ env.HDF5_VERSION }} -v `pwd`:/io:rw quay.io/pypa/manylinux2014_${{ matrix.arch }} /io/ci/github/get_hdf5.sh\n          else\n            HDF5_DIR=`pwd`/hdf5_build ci/github/get_hdf5.sh\n          fi\n\n      - name: Install cibuildwheel\n        run: |\n          python -m pip install --require-hashes -r ./.github/workflows/requirements/wheel-requirements.txt\n\n      - name: Build wheels\n        run: |\n          python -m cibuildwheel --output-dir wheelhouse\n        env:\n          CFLAGS: -g0\n          CIBW_BUILD_VERBOSITY_MACOS: 3\n          CIBW_ARCHS: ${{ matrix.arch }}\n          # Keep in sync with ``build-system.requires`` in ``pyproject.toml``.\n          CIBW_BEFORE_BUILD: >\n            python -m pip install -U --require-hashes -r ./.github/workflows/requirements/build-requirements.txt &&\n            python -m pip install --require-hashes -r requirements.txt\n          CIBW_ENVIRONMENT: DISABLE_AVX2='TRUE' CFLAGS=-g0 HDF5_DIR=/tmp/hdf5 LD_LIBRARY_PATH=\"/tmp/hdf5/lib:${LD_LIBRARY_PATH}\" PKG_CONFIG_PATH=\"/tmp/hdf5/lib/pkgconfig:${PKG_CONFIG_PATH}\"\n          CIBW_ENVIRONMENT_MACOS: CC=/usr/bin/clang CXX=/usr/bin/clang HDF5_DIR=/tmp/hdf5 LZO_DIR=/tmp/hdf5 BZIP2_DIR=/tmp/hdf5 LD_LIBRARY_PATH=\"/tmp/hdf5/lib:${LD_LIBRARY_PATH}\" PKG_CONFIG_PATH=\"/tmp/hdf5/lib/pkgconfig:${PKG_CONFIG_PATH}\"\n          CIBW_BEFORE_ALL_MACOS: cp -r `pwd`/hdf5_build /tmp/hdf5\n          # Keep in sync with \"Prerequisites\" in User's Guide.\n          CIBW_BEFORE_ALL_LINUX: >\n            cp -r `pwd`/hdf5_build /tmp/hdf5 &&\n            yum -y update &&\n            yum install -y zlib-devel bzip2-devel lzo-devel\n          CIBW_REPAIR_WHEEL_COMMAND_MACOS: >\n            DYLD_FALLBACK_LIBRARY_PATH=/tmp/hdf5/lib delocate-listdeps {wheel} &&\n            DYLD_FALLBACK_LIBRARY_PATH=/tmp/hdf5/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}\n          CIBW_TEST_COMMAND: \"python -m tables.tests.test_all\"\n          CIBW_TEST_SKIP: \"*_aarch64 *_arm64\"\n\n      - name: Copy requirements.txt\n        run: |\n          cp requirements.txt ./wheelhouse/\n\n      - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3\n        with:\n          path: |\n            ./wheelhouse/*.whl\n            ./wheelhouse/*.txt\n\n  build_wheels_windows:\n    name: Build wheels for ${{matrix.arch}} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest]\n        arch: [win_amd64]\n\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1\n        name: Install Python\n        with:\n          python-version: 3.x\n\n      - name: Install Miniconda\n        uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3 # v2.2.0\n        with:\n          channels: defaults,conda-forge\n          use-only-tar-bz2: true\n\n      - name: Install cibuildwheel\n        run: |\n          python -m pip install --require-hashes -r ./.github/workflows/requirements/wheel-requirements.txt\n\n      - name: Build wheels for Windows (${{ matrix.arch }})\n        run: cibuildwheel --output-dir wheelhouse\n        env:\n          # Keep Python in sync with ``project.classifiers`` in ``pyproject.toml``.\n          CIBW_BUILD: \"cp39-${{ matrix.arch }} cp310-${{ matrix.arch }} cp311-${{ matrix.arch }} cp312-${{ matrix.arch }}\"\n          # Keep in sync with \"Prerequisites\" in User's Guide.\n          CIBW_BEFORE_ALL_WINDOWS: >\n            conda create --yes --name=build &&\n            conda activate build &&\n            conda config --env --set subdir ${{ matrix.arch == 'win32' && 'win-32' || 'win-64' }} &&\n            conda install --yes blosc bzip2 cython hdf5 lz4 lzo snappy zstd zlib\n          CIBW_ENVIRONMENT_WINDOWS: 'CONDA_PREFIX=\"C:\\\\Miniconda\\\\envs\\\\build\" PATH=\"$PATH;C:\\\\Miniconda\\\\envs\\\\build\\\\Library\\\\bin\"'\n          CIBW_ENVIRONMENT: \"PYTABLES_NO_EMBEDDED_LIBS=true DISABLE_AVX2=true\"\n          CIBW_BEFORE_BUILD: >\n            python -m pip install --require-hashes -r requirements.txt &&\n            python -m pip install delvewheel\n          CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: \"delvewheel repair -w {dest_dir} {wheel}\"\n          CIBW_TEST_COMMAND: \"python -m tables.tests.test_all\"\n\n      - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3\n        with:\n          path: ./wheelhouse/*.whl\n\n  twine_check:\n    needs: [ build_sdist, build_wheels, build_wheels_windows ]\n    name: Twine check\n    runs-on: 'ubuntu-latest'\n\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n        with:\n          fetch-depth: 0\n          submodules: true\n          \n      - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2\n        with:\n          path: ./wheelhouse/\n\n      - name: Install Python\n        uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1\n        with:\n          python-version: '3.x'\n\n      - name: Install twine\n        run: |\n          python -m pip install --require-hashes -r ./.github/workflows/requirements/wheel-requirements.txt\n\n      - name: Check sdist and wheels\n        run: |\n          python -m twine check wheelhouse/artifact/tables*.tar.gz wheelhouse/artifact/*.whl\n", "state": "active", "repository": "pytables/pytables"}
{"mined_at": "2024-07-15T12:36:33.970330", "created_at": "2023-03-16T14:43:32+01:00", "updated_at": "2024-03-12T09:30:26+01:00", "name": "build deb packages", "path": ".github/workflows/build_deb_packages.yml", "contents": "name: build deb packages\non: pull_request\n\njobs:\n  build_deb_packages:\n    runs-on: \"ubuntu-20.04\"\n    container: debian:11\n    steps:\n      - name: Change Owner of Container Working Directory\n        run: chown root:root .\n\n      - name: Install git\n        run: |\n          apt-get update -q\n          apt-get install -y git\n\n      - name: Check out repository code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Install depedencies\n        run: |\n          echo \"deb http://deb.debian.org/debian bullseye-backports main\" > /etc/apt/sources.list.d/backports.list\n          apt-get update -q\n          apt-get install -y --no-install-recommends git python3 python3-requests python3-gnupg s3cmd wget\n\n      - name: Fetch debops-ci\n        run: |\n          wget https://raw.githubusercontent.com/ooni/sysadmin/master/tools/debops-ci\n          chmod +x debops-ci\n\n      - name: Build the package\n        run: ./debops-ci --show-commands ci --bucket-name ooni-internal-deb\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          DEB_GPG_KEY: ${{ secrets.DEB_GPG_KEY }}\n", "state": "active", "repository": "ooni/backend"}
{"mined_at": "2024-07-15T12:36:35.093852", "created_at": "2024-03-11T19:51:48+01:00", "updated_at": "2024-03-12T13:43:29+01:00", "name": "test ooniapi/oonirun", "path": ".github/workflows/test_ooniapi_oonirun.yml", "contents": "name: test ooniapi/oonirun\non: push\njobs:\n  run_tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n\n      - name: Install hatch\n        run: pip install hatch\n\n      - name: Run all tests\n        run: make test-cov\n        working-directory: ./ooniapi/services/oonirun/\n\n      - name: Upload coverage to codecov\n        uses: codecov/codecov-action@v3\n        with:\n          flags: oonirun\n          working-directory: ./ooniapi/services/oonirun/\n", "state": "active", "repository": "ooni/backend"}
{"mined_at": "2024-07-15T12:36:36.117440", "created_at": "2024-03-12T09:30:24+01:00", "updated_at": "2024-03-12T13:43:29+01:00", "name": "test legacy/ooniapi", "path": ".github/workflows/test_legacy_ooniapi.yml", "contents": "name: test legacy/ooniapi\non:\n  push:\n    paths:\n      - \"api/**\"\n      - \"analysis/**\"\n\n  workflow_dispatch:\n    inputs:\n      debug_enabled:\n        description: \"Run the build with tmate debugging enabled\"\n        required: false\n        default: false\n\njobs:\n  mypy:\n    runs-on: ubuntu-latest\n    container: debian:11\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v2\n\n      - name: Setup APT\n        run: |\n          apt-get update\n          apt-get install --no-install-recommends -y ca-certificates gnupg\n          echo \"deb http://deb-ci.ooni.org unstable main\" >> /etc/apt/sources.list\n          apt-key adv --verbose --keyserver hkp://keyserver.ubuntu.com --recv-keys \"B5A08F01796E7F521861B449372D1FF271F2DD50\"\n\n      - name: Install dependencies\n        run: |\n          apt-get update\n          apt-get install --no-install-recommends -qy mypy\n\n      - name: Run tests\n        # see the mypy.ini file\n        run: cd api && mypy **/*.py\n\n  integration_test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v2\n\n      - name: Setup tmate session\n        uses: mxschmitt/action-tmate@v3\n        if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}\n        with:\n          limit-access-to-actor: true\n\n      - name: Build docker image\n        run: cd api && make build\n\n      - name: Check apispec.json\n        run: cd api && tools/check_apispec_changes\n\n      - name: Setup database fixtures and run fastpath to populate the DB\n        run: cd api && make initdb\n\n      - name: Run all tests\n        run: cd api && T=\"--show-capture=no -s -vv\" make tests\n        #run: T=\"--show-capture=no -s -vv --junitxml=pytest.xml\" make tests\n\n      #- name: debug docker\n      #  if: always()\n      #  run: docker ps -a\n\n      # - run: find / -name pytest.xml 2> /dev/null\n      #   if: success() || failure() # run even if previous step failed\n\n      # - name: Test report\n      #   uses: dorny/test-reporter@v1\n      #   if: success() || failure() # run even if previous step failed\n      #   with:\n      #     name: Test report\n      #     path: '/home/runner/work/api/api/newapi/pytest.xml'\n      #     reporter: java-junit     # compatible with pytest --junitxml\n", "state": "active", "repository": "ooni/backend"}
{"mined_at": "2024-07-15T12:36:37.160762", "created_at": "2024-03-12T09:30:24+01:00", "updated_at": "2024-03-12T13:43:29+01:00", "name": "test fastpath", "path": ".github/workflows/test_fastpath.yml", "contents": "name: test fastpath\non:\n  push:\n    paths:\n      - 'fastpath/**'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    container: debian:11\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install deps\n        run: |\n          apt-get update\n          apt-get -y --no-install-recommends install python3-boto3 python3-lz4 python3-psycopg2 python3-setuptools \\\n          python3-statsd python3-systemd python3-ujson nginx python3-pytest python3-yaml python3-gunicorn \\\n          python3-pytest-cov mypy python3-clickhouse-driver\n\n      - name: Run mypy\n        run: mypy --ignore-missing-imports af/fastpath/fastpath || true\n\n      - name: Run tests\n        run: |\n          cd fastpath\n          PYTHONPATH=. pytest-3 -v --cov=fastpath --cov-report=term \\\n          fastpath/tests/test_functional.py \\\n          fastpath/tests/test_functional_nodb.py \\\n          fastpath/tests/test_unit.py\n\n      - name: Archive code coverage HTML pages\n        uses: actions/upload-artifact@v2\n        with:\n          name: coverage\n          path: fastpath/htmlcov\n", "state": "active", "repository": "ooni/backend"}
{"mined_at": "2024-07-15T12:36:38.178323", "created_at": "2024-03-13T07:54:31+01:00", "updated_at": "2024-03-13T10:09:44+01:00", "name": "build docs", "path": ".github/workflows/build_docs.yml", "contents": "name: build docs\non: push\n\njobs:\n  build_docs:\n    runs-on: \"ubuntu-20.04\"\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Build docs\n        run: make docs\n\n      - name: Get current git ref\n        id: rev_parse\n        run: echo \"COMMIT_HASH=$(git rev-parse --short HEAD)\" >> $GITHUB_OUTPUT\n\n      - name: Checkout ooni/docs\n        uses: actions/checkout@v2\n        with:\n          repository: \"ooni/docs\"\n          ssh-key: ${{ secrets.OONI_DOCS_DEPLOYKEY }}\n          path: \"ooni-docs\"\n\n      - name: Update docs\n        run: cp -R dist/docs/* ooni-docs/src/content/docs/backend/\n\n      - name: Check for conflicting slugs\n        run: |\n          cat ooni-docs/src/content/docs/backend/*.md \\\n            | grep \"^slug:\" | awk -F':' '{gsub(/^ +/, \"\", $2); print $2}' | sort | uniq -c \\\n            | awk '{if ($1 > 1) { print \"duplicate slug for: \" $2; exit 1}}'\n\n      - name: Print the lines of the generated docs\n        run: wc -l ooni-docs/src/content/docs/backend/*\n\n      - name: Commit changes\n        # Only push the docs update when we are in master\n        if: github.ref == 'refs/heads/master'\n        run: |\n          cd ooni-docs\n          git config --global user.email \"github+backend@ooni.org\"\n          git config --global user.name \"OONI Github Actions Bot\"\n          git add .\n          git commit -m \"auto: update backend docs to ${{ steps.rev_parse.outputs.COMMIT_HASH }}\" || echo \"No changes to commit\"\n          git push origin\n", "state": "active", "repository": "ooni/backend"}
{"mined_at": "2024-07-15T12:36:39.192522", "created_at": "2024-03-14T19:42:45+01:00", "updated_at": "2024-03-15T07:36:28+01:00", "name": "test ooniapi/ooniauth", "path": ".github/workflows/test_ooniapi_ooniauth.yml", "contents": "name: test ooniapi/ooniauth\non: push\njobs:\n  run_tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n\n      - name: Install hatch\n        run: pip install hatch\n\n      - name: Run all tests\n        run: make test-cov\n        working-directory: ./ooniapi/services/ooniauth/\n\n      - name: Upload coverage to codecov\n        uses: codecov/codecov-action@v3\n        with:\n          flags: ooniauth\n          working-directory: ./ooniapi/services/ooniauth/\n", "state": "active", "repository": "ooni/backend"}
{"mined_at": "2024-07-15T12:36:40.215066", "created_at": "2024-03-23T01:13:39+01:00", "updated_at": "2024-04-08T12:27:31+02:00", "name": "test ooniapi/ooniprobe", "path": ".github/workflows/test_ooniapi_ooniprobe.yml", "contents": "name: test ooniapi/ooniprobe\non: push\njobs:\n  run_tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n\n      - name: Install hatch\n        run: pip install hatch\n\n      - name: Run all tests\n        run: make test-cov\n        working-directory: ./ooniapi/services/ooniprobe/\n\n      - name: Upload coverage to codecov\n        uses: codecov/codecov-action@v3\n        with:\n          flags: ooniprobe\n          working-directory: ./ooniapi/services/ooniprobe/\n", "state": "active", "repository": "ooni/backend"}
{"mined_at": "2024-07-15T12:36:41.224751", "created_at": "2024-05-11T18:49:34+02:00", "updated_at": "2024-06-21T08:19:55+02:00", "name": "test ooniapi/oonifindings", "path": ".github/workflows/test_ooniapi_oonifindings.yml", "contents": "name: test ooniapi/oonifindings\non: push\njobs:\n  run_tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n\n      - name: Install hatch\n        run: pip install hatch\n\n      - name: Run all tests\n        run: make test-cov\n        working-directory: ./ooniapi/services/oonifindings/\n\n      - name: Upload coverage to codecov\n        uses: codecov/codecov-action@v3\n        with:\n          flags: oonifindings\n          working-directory: ./ooniapi/services/oonifindings/\n", "state": "active", "repository": "ooni/backend"}
{"mined_at": "2024-07-15T12:36:42.203715", "created_at": "2024-05-16T08:08:32+02:00", "updated_at": "2024-05-16T08:08:32+02:00", "name": "test ooniapi/oonimeasurements", "path": ".github/workflows/test_ooniapi_oonimeasurements.yml", "contents": null, "state": "active", "repository": "ooni/backend"}
{"mined_at": "2024-07-15T12:36:45.284643", "created_at": "2021-12-21T02:24:03+01:00", "updated_at": "2022-01-25T23:05:29+01:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": "name: Lint\n\non: [pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n      - uses: psf/black@20.8b1\n", "state": "active", "repository": "databio/pypiper"}
{"mined_at": "2024-07-15T12:36:46.415805", "created_at": "2022-01-25T23:05:29+01:00", "updated_at": "2022-01-25T23:05:29+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    name: upload release to PyPI\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      run: |\n        python setup.py sdist bdist_wheel\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n", "state": "active", "repository": "databio/pypiper"}
{"mined_at": "2024-07-15T12:36:47.528605", "created_at": "2021-12-21T02:24:03+01:00", "updated_at": "2022-01-25T23:05:29+01:00", "name": "Run pytests", "path": ".github/workflows/run-pytest.yml", "contents": "name: Run pytests\n\non:\n  pull_request:\n    branches: [master, dev]\n  workflow_dispatch:\n    inputs: null\n    \njobs:\n  pytest:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.10\"]\n        os: [ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dev dependencies\n        run: if [ -f requirements/requirements-dev.txt ]; then pip install -r requirements/requirements-dev.txt; fi\n\n      - name: Install test dependencies\n        run: if [ -f requirements/requirements-test.txt ]; then pip install -r requirements/requirements-test.txt; fi\n\n      - name: Install package\n        run: python -m pip install .\n\n      - name: Run pytest tests\n        run: pytest tests -x -vv --remote-data\n", "state": "active", "repository": "databio/pypiper"}
{"mined_at": "2024-07-15T12:36:50.457932", "created_at": "2021-12-27T01:24:28+01:00", "updated_at": "2021-12-27T07:13:10+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non: [push, pull_request]\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    # Specifying a GitHub environment is optional, but strongly encouraged\n    environment: release\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n        cache: 'pip'\n    - run: pip install -r requirements.txt\n    - run: pip install -e .\n    - run: flake8 kuyruk/\n    - run: mypy kuyruk/\n    - run: pytest -v --cov=kuyruk --cov-report xml tests/\n    - uses: coverallsapp/github-action@v2\n    - run: echo ${{github.ref_name}} > VERSION\n    - name: Install pypa/build\n      if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n      run: >-\n        python3 -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n      run: >-\n        python3 -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish package\n      if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "cenkalti/kuyruk"}
{"mined_at": "2024-07-15T12:36:52.545090", "created_at": "2020-10-25T16:58:48+01:00", "updated_at": "2024-06-21T19:57:36+02:00", "name": "Build", "path": ".github/workflows/testing.yml", "contents": "name: Build\n\non:\n  push:\n  pull_request:\n  schedule:\n  - cron: '0 15 * * 5'\n\njobs:\n  ubuntu:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    env:\n      PYTHON: ${{ matrix.python-version }}\n      OS: ubuntu\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n    - name: Install OS dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libldap2-dev libsasl2-dev ldap-utils sasl2-bin\n        sudo apt-get install -y krb5-user libsasl2-modules-gssapi-mit libkrb5-dev\n        apt list --installed\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install poetry wheel\n        poetry config virtualenvs.create false\n        poetry install --no-root -E gevent -E tornado -E trio\n        python -m pip list\n    - name: Build Docker image\n      run: docker build -t bonsai -f ./.ci/docker/Dockerfile .\n    - name: Configure Docker container\n      run: |\n        mkdir /tmp/bonsai\n        sudo chown 2001:2000 /tmp/bonsai\n        docker run --cap-add=NET_ADMIN -v /tmp/bonsai/:/home/ldap/run/:z -d -h bonsai.test --name server bonsai\n        export BONSAI_DOCKER_IP=`docker inspect --format '{{ .NetworkSettings.IPAddress }}' server`\n        sudo bash -c 'echo -e \"\\n'$BONSAI_DOCKER_IP'        bonsai.test\" >> /etc/hosts'\n        cat /etc/hosts\n        ping -c 2 bonsai.test\n        sleep 4\n    - name: Check container and LDAP tools\n      run: |\n        docker exec server ps aux\n        ldapwhoami -Y DIGEST-MD5 -H ldap://bonsai.test -U admin -w p@ssword\n        ldapsearch -H ldap://bonsai.test -b \"\" -s base 'objectclass=*' -x -LLL +\n        ldapsearch -VV\n        saslpluginviewer\n    - name: Check Python sysconfig\n      run: python -m sysconfig\n    - name: Install package\n      run: |\n        printf \"\\n\\n[options]\\nzip_safe = False\" >> setup.cfg\n        export CFLAGS=\"-coverage\"\n        python -m pip install -v .\n    - name: Run tests\n      run: |\n        export BONSAI_DOCKER_IP=`docker inspect --format '{{ .NetworkSettings.IPAddress }}' server`\n        sed -i.bak \"s/127.0.0.1/$BONSAI_DOCKER_IP/g\" ./tests/test.ini\n        export KRB5_CONFIG=\"`pwd`/.ci/krb5/krb5.conf\"\n        export BONSAI_INSTALL_PATH=`python -c \"import bonsai; print(bonsai.__file__[:-12])\"`\n        echo $BONSAI_INSTALL_PATH\n        python -m pytest -v --cov-config .coveragerc --cov-report= --cov=$BONSAI_INSTALL_PATH\n    - name: Upload coverage\n      uses: codecov/codecov-action@v4\n      with:\n        directory: \".\"\n        env_vars: OS,PYTHON\n        fail_ci_if_error: true\n        token: ${{ secrets.CODECOV_TOKEN }}\n\n  macos:\n    runs-on: macos-13\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    env:\n      PYTHON: ${{ matrix.python-version }}\n      OS: macos\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n    - name: Install Python dependencies\n      run: |\n        echo \"python_final_release=$(python -c 'import sys;print(str(sys.version_info.releaselevel == \"final\").lower())')\" >> $GITHUB_ENV\n        python -m pip install --upgrade pip\n        python -m pip install poetry wheel \n        poetry config virtualenvs.create false\n        poetry install --no-root -E gevent -E tornado -E trio\n        python -m pip install --force-reinstall --no-binary gevent delocate\n        python -m pip list\n    - name: Install Docker\n      run: bash ./.github/workflows/scripts/install_docker_mac.sh\n    - name: Wait on Docker\n      run: |\n        bash ./.github/workflows/scripts/wait_docker_mac.sh\n        sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.Kerberos.kdc.plist\n    - name: Build Docker image\n      run: |\n        docker build -t bonsai -f ./.ci/docker/Dockerfile .\n    - name: Configure Docker container\n      run: |\n        mkdir /tmp/bonsai\n        sudo chown 2001:2000 /tmp/bonsai\n        docker run --cap-add=NET_ADMIN -p 389:389 -p 636:636 -p 88:88/udp -p 749:749 -p 8000:8000 -d -h bonsai.test --name server bonsai\n        sudo bash -c 'echo -e \"\\n127.0.0.1        bonsai.test\" >> /etc/hosts'\n        sudo scutil --set HostName bonsai.test\n        cat /etc/hosts\n        ping -c 2 bonsai.test\n        sleep 5\n    - name: Check container and LDAP tools\n      run: |\n        docker exec server ps aux\n        /usr/local/opt/openldap/bin/ldapwhoami -Y DIGEST-MD5 -H ldap://bonsai.test -U admin -w p@ssword\n        /usr/local/opt/openldap/bin/ldapsearch -x -H ldap://bonsai.test -b \"\" -s base 'objectclass=*' -LLL +\n        /usr/local/opt/openldap/bin/ldapsearch -VV\n    - name: Check Python sysconfig\n      run: python -m sysconfig\n    - name: Install package\n      run: |\n        printf \"[build_ext]\\ninclude_dirs=/usr/local/opt/openldap/include\\nlibrary_dirs=/usr/local/opt/openldap/lib\" > ./setup.cfg\n        printf \"\\n\\n[options]\\nzip_safe = False\" >> setup.cfg\n        export CFLAGS=\"-coverage\"\n        python -m pip install -v .\n    - name: Check linking\n      run: |\n        otool -L ./build/*/bonsai/*.so\n    - name: Run tests\n      run: |\n        export KRB5_CONFIG=\"`pwd`/.ci/krb5/krb5.conf\"\n        export BONSAI_INSTALL_PATH=`python -c \"import bonsai; print(bonsai.__file__[:-12])\"`\n        echo $BONSAI_INSTALL_PATH\n        py.test -v --cov-config .coveragerc --cov-report= --cov=$BONSAI_INSTALL_PATH\n    - name: Upload coverage\n      uses: codecov/codecov-action@v4\n      with:\n        directory: \".\"\n        env_vars: OS,PYTHON\n        fail_ci_if_error: true\n        token: ${{ secrets.CODECOV_TOKEN }}\n    - name: Create wheel\n      run: |\n        rm -rf ./build\n        ARCHFLAGS='-arch x86_64' _PYTHON_HOST_PLATFORM=$(python -c \"import sysconfig;print(f\\\"{'-'.join(sysconfig.get_platform().split('-')[:-1])}-x86_64\\\")\") python -m build -w\n        delocate-wheel -v ./dist/bonsai-*.whl\n      if: ${{ env.python_final_release == 'true' }}\n    - name: Upload wheel\n      uses: actions/upload-artifact@v4\n      with:\n        name: wheel-amd64-${{ matrix.python-version }}\n        path: ./dist/bonsai-*.whl\n        retention-days: 5\n      if: ${{ env.python_final_release == 'true' }}\n\n  macos-arm64-wheels:\n    needs: macos\n    runs-on: macos-14\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n    env:\n      PYTHON: ${{ matrix.python-version }}\n      OS: macos\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Python build dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install delocate build wheel\n        python -m pip list\n    - name: Check Python sysconfig\n      run: python -m sysconfig\n    - name: Create wheel\n      run: |\n        printf \"[build_ext]\\ninclude_dirs=/usr/include/sasl:/opt/homebrew/opt/openldap/include\\nlibrary_dirs=/opt/homebrew/opt/openldap/lib\" > ./setup.cfg\n        printf \"\\n\\n[options]\\nzip_safe = False\" >> setup.cfg\n        ARCHFLAGS='-arch arm64' _PYTHON_HOST_PLATFORM=$(python -c \"import sysconfig;print(f\\\"{'-'.join(sysconfig.get_platform().split('-')[:-1])}-arm64\\\")\") python -m build -w\n        delocate-wheel --require-archs arm64 -v ./dist/bonsai-*.whl\n    - name: Upload wheel\n      uses: actions/upload-artifact@v4\n      with:\n        name: wheel-arm64-${{ matrix.python-version }}\n        path: ./dist/bonsai-*.whl\n        retention-days: 5\n", "state": "active", "repository": "noirello/bonsai"}
{"mined_at": "2024-07-15T12:36:54.698900", "created_at": "2023-03-31T07:21:12+02:00", "updated_at": "2023-09-02T12:38:34+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n\n  push:\n    branches:\n      - master\n\n  pull_request:\n    branches:\n      - master\n\njobs:\n\n  pylint:\n\n    runs-on: ubuntu-latest\n\n    steps:\n\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n            # we're not yet using 3.12 because there are some issues\n            # with pylint there (November 2023)\n            python-version: '3.11' \n\n      - name: Pylint\n        run: |\n              python -m pip install pylint\n              python -m pip install . # to install dependencies\n              pylint cvxportfolio\n\n  packaging:\n\n    runs-on: ubuntu-latest\n\n    steps:\n\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n            python-version: '3.12' \n\n      - name: Package\n        run: |\n              python -m pip install build\n              python -m build\n\n      - name: Install wheel\n        run: |\n              python -m pip install dist/*.whl\n\n      - name: Delete the repo\n        run: |\n              rm -rf *\n      \n      - name: Run tests shipped with the package\n        run: |\n              python -m cvxportfolio.tests\n\n      - name: Check that data folder wasn't accidentally created\n        run: |\n              if [ -d ~/cvxportfolio_data ]; then exit 1; fi\n\n  test:\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix: # https://github.com/actions/runner-images\n        os: [ubuntu-latest, windows-latest, macos-latest, macos-13] # last 2 are aarch64 and amd64\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        exclude:\n          - os: macos-latest # aarch64\n            python-version: '3.8'\n          - os: macos-latest # aarch64\n            python-version: '3.9'\n\n    steps:\n\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n            python-version: ${{ matrix.python-version }}\n\n      # rationale: we test against an environment with current packages as of:\n      # ~ Q4 2023 for python 3.11\n      # ~ Q4 2022 for python 3.10\n      # ~ Q4 2021 for python 3.9\n      # for Python 3.8 it is more problematic with more incompatibilities, it\n      # is nearing its EOL so we simply test against an old Pandas\n      # we only install the base packages here,\n      # then pip below figures out the others\n\n      - name: If running on python 3.8 install some old dependencies\n        if: ${{ matrix.python-version == '3.8'}}\n        run: python -m pip install pandas==1.4.0\n\n      - name: If running on python 3.9 install some old dependencies\n        if: ${{ matrix.python-version == '3.9'}}\n        run: python -m pip install numpy==1.21.5 scipy==1.7.3 matplotlib==3.5.0 cvxpy==1.1.17 pandas==1.4.0 osqp==0.6.2.post0 ecos==2.0.11 scs==2.1.4\n\n      - name: If running on python 3.10 install some old dependencies\n        if: ${{ matrix.python-version == '3.10'}}\n        run: python -m pip install numpy==1.23.4 scipy==1.9.3 matplotlib==3.6.0 cvxpy==1.2.3 pandas==1.5.0 osqp==0.6.2.post9 ecos==2.0.12 scs==3.2.2\n\n      - name: If running on python 3.11 install some old dependencies\n        if: ${{ matrix.python-version == '3.11'}}\n        run: python -m pip install numpy==1.26.1 scipy==1.11.3 matplotlib==3.7.2 cvxpy==1.4.1 pandas==2.1.2 osqp==0.6.3 ecos==2.0.12 scs==3.2.3\n\n      - name: Install package\n        run: |\n              python -m pip install .[test]\n\n      - name: Run tests with coverage\n        run: |\n              coverage run -m cvxportfolio.tests\n              coverage lcov\n\n      - name: Send coverage to Coveralls\n        if: ${{ github.event_name == 'push'}}\n        continue-on-error: true\n        uses: coverallsapp/github-action@v2\n        with:\n          path-to-lcov: coverage.lcov\n\n  \n", "state": "active", "repository": "cvxgrp/cvxportfolio"}
{"mined_at": "2024-07-15T12:36:55.687710", "created_at": "2023-03-31T07:21:09+02:00", "updated_at": "2023-03-31T07:21:09+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "cvxgrp/cvxportfolio"}
{"mined_at": "2024-07-15T12:36:57.663456", "created_at": "2022-06-10T22:46:58+02:00", "updated_at": "2022-06-10T22:46:58+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "wonderworks-software/pyflow"}
{"mined_at": "2024-07-15T12:36:59.817711", "created_at": "2022-11-30T12:49:54+01:00", "updated_at": "2023-10-06T03:57:22+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: \"48 12 * * 1\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "disabled_manually", "repository": "uploadcare/pyuploadcare"}
{"mined_at": "2024-07-15T12:37:00.904166", "created_at": "2021-11-01T15:24:55+01:00", "updated_at": "2021-11-01T15:24:55+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: false\n      - name: Install Dependencies\n        run: poetry install\n      - name: Set PyPI token\n        run: poetry config pypi-token.pypi \"${{ secrets.PYPI_API_TOKEN }}\"\n      - name: Publish package\n        run: poetry publish --build\n", "state": "active", "repository": "uploadcare/pyuploadcare"}
{"mined_at": "2024-07-15T12:37:02.081976", "created_at": "2021-08-06T16:11:08+02:00", "updated_at": "2023-12-14T20:55:18+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Tests\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - \"main\"\n      - \"feature/**\"\n      - \"version-3.x/**\"\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: false\n      - name: Install dependencies\n        run: |\n          poetry install\n      - name: Run linters\n        run: make lint\n\n  functional:\n    needs: lint\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.4.2\n          virtualenvs-create: true\n          virtualenvs-in-project: false\n      - name: Install dependencies\n        run: |\n          poetry install\n      - name: Test with pytest\n        run: |\n          make test-functional\n\n  django-2-and-3:\n    needs: functional\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # https://docs.djangoproject.com/en/2.2/faq/install/#what-python-version-can-i-use-with-django\n        # https://docs.djangoproject.com/en/3.2/faq/install/#what-python-version-can-i-use-with-django\n        python-version: [\"3.8\", \"3.9\"]\n        django-version: [\"2.2\", \"3.0\", \"3.1\", \"3.2\"]\n\n        include:\n          - python-version: \"3.10\"\n            django-version: \"3.2\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: install poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.4.2\n          virtualenvs-create: true\n          virtualenvs-in-project: false\n      - name: install dependencies\n        run: |\n          poetry install\n      - name: install specific django version\n        run: |\n          poetry run pip install django~=${{ matrix.django-version }}\n      - name: test with pytest\n        run: |\n          make test-django\n\n  django-4:\n    needs: functional\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # https://docs.djangoproject.com/en/4.2/faq/install/#what-python-version-can-i-use-with-django\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n        django-version: [\"4.0\", \"4.1\", \"4.2\"]\n\n        include:\n          - python-version: \"3.11\"\n            django-version: \"4.1\"\n\n          - python-version: \"3.11\"\n            django-version: \"4.2\"\n\n          - python-version: \"3.12\"\n            django-version: \"4.2\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: install poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.4.2\n          virtualenvs-create: true\n          virtualenvs-in-project: false\n      - name: install dependencies\n        run: |\n          poetry install\n      - name: install specific django version\n        run: |\n          poetry run pip install django~=${{ matrix.django-version }}\n      - name: test with pytest\n        run: |\n          make test-django\n\n  django-5:\n    needs: functional\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        django-version: [\"5.0\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: install poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.4.2\n          virtualenvs-create: true\n          virtualenvs-in-project: false\n      - name: install dependencies\n        run: |\n          poetry install\n      - name: install specific django version\n        run: |\n          poetry run pip install django~=${{ matrix.django-version }}\n      - name: test with pytest\n        run: |\n          make test-django\n\n  integration:\n    needs: functional\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: false\n      - name: Install dependencies\n        run: |\n          poetry install\n      - name: Test with pytest\n        run: |\n          make test-integration\n", "state": "active", "repository": "uploadcare/pyuploadcare"}
{"mined_at": "2024-07-15T12:37:03.057487", "created_at": "2023-10-06T03:57:21+02:00", "updated_at": "2023-10-06T03:57:21+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "uploadcare/pyuploadcare"}
{"mined_at": "2024-07-15T12:37:05.256486", "created_at": "2021-03-11T11:45:33+01:00", "updated_at": "2021-03-11T11:45:33+01:00", "name": "Build", "path": ".github/workflows/ci.yml", "contents": "name: Build\n\non:\n  push:\n    branches: [ master, development, experimental ]\n  pull_request:\n    branches: [ master, development, experimental ]\n\njobs:\n  build:\n\n    name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}\n    runs-on: ${{ matrix.runs-on }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        runs-on: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        #sudo apt-get install libhdf5-serial-dev liblzo2-dev libgraphviz-dev -y\n        python -m pip install --upgrade pip\n\n    - name: Build package\n      run: |\n        pip install .[full]\n\n    - name: Test with pytest\n      if: ${{ matrix.runs-on == 'ubuntu-latest' }}\n      run: |\n        # Just test on linux for now...\n        pytest -vs \n\n    - name: Run examples\n      if: ${{ matrix.python-version != '3.7' || matrix.runs-on != 'macos-latest' }} # issue with _bz2 module...\n      run: |\n        cd neuroml/examples\n        python run_all.py\n\n    - name: Final version info\n      run: |\n          pip list\n\n    - name: Lint with flake8\n      if: ${{ matrix.runs-on == 'ubuntu-latest' }}\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n", "state": "active", "repository": "neuralensemble/libneuroml"}
{"mined_at": "2024-07-15T12:37:06.319177", "created_at": "2023-05-10T12:08:50+02:00", "updated_at": "2023-09-20T21:36:01+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "neuralensemble/libneuroml"}
{"mined_at": "2024-07-15T12:37:07.346555", "created_at": "2021-10-08T13:04:18+02:00", "updated_at": "2021-12-16T15:10:00+01:00", "name": "Regenerate nml.py", "path": ".github/workflows/regenerate.yml", "contents": "name: Regenerate nml.py\n\non:\n  push:\n    branches: [ master, development, experimental ]\n  pull_request:\n    branches: [ master, development, experimental ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get install libhdf5-serial-dev liblzo2-dev libgraphviz-dev -y\n        python -m pip install --upgrade pip\n        pip install .[dev]\n\n    - name: Rebuild nml.py\n      run: |\n        cd neuroml/nml && rm -f nml.py && ./regenerate-nml.sh -a\n\n    - name: Build package\n      run: |\n        pip install .[full]\n\n    - name: Test with pytest\n      run: |\n        pytest\n\n    - name: Run examples\n      run: |\n        cd ./neuroml/examples && python run_all.py\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n", "state": "active", "repository": "neuralensemble/libneuroml"}
{"mined_at": "2024-07-15T12:37:09.319118", "created_at": "2022-10-07T12:08:34+02:00", "updated_at": "2022-10-07T21:47:30+02:00", "name": "astral-test", "path": ".github/workflows/astral-test.yml", "contents": "name: astral-test\n\non:\n  push:\n    branches: [\"master\", \"develop\"]\n  pull_request:\n    branches: [\"master\"]\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install pdm\n      - name: Install dependencies using pdm\n        run: |\n          pdm install\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          pdm run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=.venv\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          pdm run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=.venv\n      - name: Test with pytest\n        run: |\n          pdm run pytest\n", "state": "active", "repository": "sffjunkie/astral"}
{"mined_at": "2024-07-15T12:37:10.317669", "created_at": "2022-10-07T22:12:42+02:00", "updated_at": "2022-10-07T22:12:42+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sffjunkie/astral"}
{"mined_at": "2024-07-15T12:37:12.244969", "created_at": "2021-08-06T21:00:45+02:00", "updated_at": "2021-08-06T21:09:02+02:00", "name": "flake8", "path": ".github/workflows/flake8.yaml", "contents": "name: flake8\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  testing:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip tox tox-gh-actions\n\n    - name: Test\n      run: |\n        python --version\n        python -m tox -e flake8\n", "state": "active", "repository": "meejah/txtorcon"}
{"mined_at": "2024-07-15T12:37:13.253917", "created_at": "2021-08-06T20:33:27+02:00", "updated_at": "2021-08-06T21:09:02+02:00", "name": "python3", "path": ".github/workflows/python3.yaml", "contents": "name: python3\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  testing:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n        twisted-version: [tx18, tx19, tx20, tx21]\n        include:\n          - python-version: \"3.11\"\n            twisted-version: \"tx22\"\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip tox tox-gh-actions\n\n    - name: Unit-Test\n      run: |\n        python -m tox -e py3-${{ matrix.twisted-version }}\n\n    - name: Coveralls\n      uses: coverallsapp/github-action@master\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "meejah/txtorcon"}
{"mined_at": "2024-07-15T12:37:14.369588", "created_at": "2021-08-06T21:00:45+02:00", "updated_at": "2021-08-06T21:09:02+02:00", "name": "README render", "path": ".github/workflows/readme_render.yaml", "contents": "name: README render\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  testing:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip tox tox-gh-actions\n\n    - name: Test\n      run: |\n        python --version\n        python -m tox -e readme_render\n", "state": "active", "repository": "meejah/txtorcon"}
{"mined_at": "2024-07-15T12:37:16.449586", "created_at": "2022-11-08T09:42:16+01:00", "updated_at": "2022-11-08T09:42:16+01:00", "name": "build-and-push-docker-image", "path": ".github/workflows/build.yml", "contents": "name: build-and-push-docker-image\n\non:\n  push:\n    branches:\n      - 'master'\n  workflow_dispatch:\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v2\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          push: true\n          tags: steemit/hivemind:latest\n      -\n        name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "steemit/hivemind"}
{"mined_at": "2024-07-15T12:37:18.681504", "created_at": "2024-07-02T17:08:41+02:00", "updated_at": "2024-07-02T17:08:41+02:00", "name": "Auto-merge", "path": ".github/workflows/automerge.yml", "contents": null, "state": "active", "repository": "opencivicdata/scrapers-ca"}
{"mined_at": "2024-07-15T12:37:19.797011", "created_at": "2024-07-12T02:27:23+02:00", "updated_at": "2024-07-12T02:27:23+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "opencivicdata/scrapers-ca"}
{"mined_at": "2024-07-15T12:37:21.869507", "created_at": "2023-02-08T14:08:46+01:00", "updated_at": "2023-02-08T14:12:35+01:00", "name": "Auto-merge dependabot updates", "path": ".github/workflows/auto-merge-dependabot.yml", "contents": "name: Auto-merge dependabot updates\n\non:\n  pull_request:\n    branches: [main]\n\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  dependabot-merge:\n    runs-on: ubuntu-latest\n\n    if: ${{ github.actor == 'dependabot[bot]' }}\n\n    steps:\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v2.1.0\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n      - name: Enable auto-merge for Dependabot PRs\n        # Only if version bump is not a major version change\n        if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}\n        run: gh pr merge --auto --merge \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "microsoftgraph/msgraph-sdk-python-core"}
{"mined_at": "2024-07-15T12:37:22.955882", "created_at": "2023-10-19T14:19:05+02:00", "updated_at": "2023-10-24T14:35:40+02:00", "name": "Build and test", "path": ".github/workflows/build.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Build and test\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main, dev]\n  workflow_call:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 40\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n      - name: Check code format\n        run: |\n          yapf -dr src\n      - name: Check import order\n        run: |\n          isort src\n      - name: Static type checking with Mypy\n        run: |\n          mypy src\n      - name: Lint with Pylint\n        run: |\n          pylint src --disable=W --rcfile=.pylintrc\n      - name: Test with pytest\n        run: |\n          pytest\n        env:\n          AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}\n          AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}\n          AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}\n\n  # The check-build-matrix returns success if all matrix jobs in build are successful; otherwise, it returns a failure.\n  # Use this as a PR status check for GitHub Policy Service instead of individual matrix entry checks.\n  check-build-matrix:\n    runs-on: ubuntu-latest\n    needs: build\n    if: always()\n    steps:\n      - name: All build matrix options are successful\n        if: ${{ !(contains(needs.*.result, 'failure')) }}\n        run: exit 0\n      - name: One or more build matrix options failed\n        if: ${{ contains(needs.*.result, 'failure') }}\n        run: exit 1\n", "state": "active", "repository": "microsoftgraph/msgraph-sdk-python-core"}
{"mined_at": "2024-07-15T12:37:24.027346", "created_at": "2022-10-14T15:34:39+02:00", "updated_at": "2023-01-31T14:58:29+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [main, dev]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [main, dev]\n  schedule:\n    - cron: \"32 11 * * 6\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"python\"]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n          # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n          # queries: security-extended,security-and-quality\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      #   If the Autobuild fails above, remove it and uncomment the following three lines.\n      #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n      # - run: |\n      #   echo \"Run, Build Application using script\"\n      #   ./location_of_script_within_repo/buildscript.sh\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3", "state": "active", "repository": "microsoftgraph/msgraph-sdk-python-core"}
{"mined_at": "2024-07-15T12:37:25.039634", "created_at": "2023-08-24T01:24:38+02:00", "updated_at": "2023-08-24T01:24:38+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": null, "state": "active", "repository": "microsoftgraph/msgraph-sdk-python-core"}
{"mined_at": "2024-07-15T12:37:26.032697", "created_at": "2023-02-08T14:12:35+01:00", "updated_at": "2023-02-08T14:12:35+01:00", "name": "PullRequestConflicting", "path": ".github/workflows/conflicting-pr-label.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: PullRequestConflicting\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the master branch\non:\n  push:\n    branches: [main, dev]\n  pull_request:\n    types: [synchronize]\n    branches: [main, dev]\n\npermissions:\n  pull-requests: write\n  contents: read\n\n  # A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - name: check if prs are dirty\n        uses: eps1lon/actions-label-merge-conflict@releases/2.x\n        if: env.LABELING_TOKEN != '' && env.LABELING_TOKEN != null\n        id: check\n        with:\n          dirtyLabel: \"conflicting\"\n          repoToken: \"${{ secrets.GITHUB_TOKEN  }}\"\n          continueOnMissingPermissions: true\n          commentOnDirty: \"This pull request has conflicting changes, the author must resolve the conflicts before this pull request can be merged.\"\n          commentOnClean: \"Conflicts have been resolved. A maintainer will take a look shortly.\"\n        env:\n          LABELING_TOKEN: ${{secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "microsoftgraph/msgraph-sdk-python-core"}
{"mined_at": "2024-07-15T12:37:27.089843", "created_at": "2024-05-09T09:53:33+02:00", "updated_at": "2024-05-09T13:30:23+02:00", "name": "Add Issue or PR to project", "path": ".github/workflows/project-auto-add.yml", "contents": "# This workflow is used to add new issues to GitHub GraphSDKs Project\n\nname: Add Issue or PR to project\non:\n  issues:\n    types:\n      - opened\n  pull_request:\n    types:\n      - opened\n    branches:\n      - \"main\"\n\njobs:\n  track_issue:\n    if: github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork == false\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate token\n        id: generate_token\n        uses: actions/create-github-app-token@v1\n        with:\n          app-id: ${{ secrets.GRAPHBOT_APP_ID }}\n          private-key: ${{ secrets.GRAPHBOT_APP_PEM }}\n\n      - name: Get project data\n        env:\n          GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}\n          ORGANIZATION: microsoftgraph\n          PROJECT_NUMBER: 55\n        run: |\n          gh api graphql -f query='\n            query($org: String!, $number: Int!) {\n              organization(login: $org){\n                projectV2(number: $number) {\n                  id\n                  fields(first:20) {\n                    nodes {\n                      ... on ProjectV2SingleSelectField {\n                        id\n                        name\n                        options {\n                          id\n                          name\n                        }\n                      }\n                    }\n                  }\n                }\n              }\n            }' -f org=$ORGANIZATION -F number=$PROJECT_NUMBER > project_data.json\n\n          echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV\n          echo 'LANGUAGE_FIELD_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== \"Language\") | .id' project_data.json) >> $GITHUB_ENV\n          echo 'LANGUAGE_OPTION_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== \"Language\") | .options[] | select(.name==\"Python\") |.id' project_data.json) >> $GITHUB_ENV\n\n      - name: Add Issue or PR to project\n        env:\n          GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}\n          ISSUE_ID: ${{ github.event_name == 'issues' && github.event.issue.node_id || github.event.pull_request.node_id }}\n        run: |\n          item_id=\"$( gh api graphql -f query='\n            mutation($project:ID!, $issue:ID!) {\n              addProjectV2ItemById(input: {projectId: $project, contentId: $issue}) {\n                item {\n                  id\n                }\n              }\n            }' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectV2ItemById.item.id')\"\n\n          echo 'ITEM_ID='$item_id >> $GITHUB_ENV\n\n      - name: Set Language\n        env:\n          GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}\n        run: |\n          gh api graphql -f query='\n            mutation (\n              $project: ID!\n              $item: ID!\n              $language_field: ID!\n              $language_value: String!\n            ) {\n              set_status: updateProjectV2ItemFieldValue(input: {\n                projectId: $project\n                itemId: $item\n                fieldId: $language_field\n                value: {singleSelectOptionId: $language_value}\n              }) {\n                projectV2Item {\n                  id\n                  }\n              }\n            }' -f project=$PROJECT_ID -f item=$ITEM_ID -f language_field=$LANGUAGE_FIELD_ID -f language_value=${{ env.LANGUAGE_OPTION_ID }} --silent\n", "state": "active", "repository": "microsoftgraph/msgraph-sdk-python-core"}
{"mined_at": "2024-07-15T12:37:28.088629", "created_at": "2021-07-14T16:37:47+02:00", "updated_at": "2024-01-09T13:51:49+01:00", "name": "Publish package to PyPI and create release", "path": ".github/workflows/publish.yml", "contents": "name: Publish package to PyPI and create release\n\non:\n  push:\n    tags:\n      - \"v*\" # Push events to matching v*, i.e. v1.0, v20.15.10\n\njobs:\n  build:\n    uses: ./.github/workflows/build.yml\n\n  publish:\n    name: Publish distribution to PyPI\n    runs-on: ubuntu-latest\n    if: startsWith(github.ref, 'refs/tags/v')\n    environment: pypi_prod\n    needs: [build]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: python -m build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "microsoftgraph/msgraph-sdk-python-core"}
{"mined_at": "2024-07-15T12:37:30.198905", "created_at": "2021-09-29T10:17:05+02:00", "updated_at": "2022-06-08T04:16:08+02:00", "name": "CI", "path": ".github/workflows/build.yaml", "contents": "name: CI\n\nenv:\n  LC_COLLATE: en_US.UTF-8\non:\n  pull_request:\n  push:\n    branches:\n      - '**'\n    tags-ignore:\n      - '**'\njobs:\n  lint:\n    permissions:\n      checks: write\n      contents: read\n      pull-requests: write\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.9]\n        os: [ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install build dependencies\n        run: |\n          python -m pip install flake8\n\n      - uses: reviewdog/action-setup@v1\n        with:\n          reviewdog_version: nightly\n      - run: flake8 | reviewdog -f=flake8 -reporter=github-pr-review -tee -level=error -fail-on-error\n        env:\n          REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  build-and-test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.9]\n        os: [ubuntu-latest, macos-12, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install tox\n        run: |\n          python -m pip install --upgrade --upgrade-strategy eager tox\n\n      - name: Install macos dependencies\n        run: |\n          brew upgrade icu4c pkg-config || brew install icu4c pkg-config\n        if: runner.os == 'macOS'\n\n      - name: Install linux dependencies\n        run: |\n          sudo apt-get update && sudo apt-get upgrade && sudo apt-get install pkg-config libicu-dev libqt5gui5 libfuse2\n        if: runner.os == 'Linux'\n\n      - name: Build and install PyPi packages\n        run: |\n          export PKG_CONFIG_PATH=\"/usr/local/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/icu4c/lib/pkgconfig${PKG_CONFIG_PATH+:$PKG_CONFIG_PATH}\";\n          export PATH=\"/usr/local/opt/icu4c/bin:/usr/local/opt/icu4c/sbin${PATH+:$PATH}\"\n          python -m tox r -m build\n        shell: bash\n\n      - name: Archive production artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: \"${{ format('ComicTagger-{0}', runner.os) }}\"\n          path: |\n            dist/*.zip\n            dist/*.tar.gz\n            dist/*.dmg\n            dist/*.AppImage\n\n      - name: PyTest\n        run: |\n          python -m tox r\n", "state": "active", "repository": "comictagger/comictagger"}
{"mined_at": "2024-07-15T12:37:31.458997", "created_at": "2023-02-17T02:14:14+01:00", "updated_at": "2023-02-17T02:14:14+01:00", "name": "Contributions", "path": ".github/workflows/contributions.yaml", "contents": "name: Contributions\non:\n  push:\n    branches:\n      - 'develop'\n    tags-ignore:\n      - '**'\n\njobs:\n  contrib-readme-job:\n    permissions:\n      contents: write\n    runs-on: ubuntu-latest\n    env:\n      CI_COMMIT_AUTHOR: github-actions[bot]\n      CI_COMMIT_EMAIL: <41898282+github-actions[bot]@users.noreply.github.com>\n      CI_COMMIT_MESSAGE: Update AUTHORS\n    name: A job to automate contrib in readme\n    steps:\n      - name: Contribute List\n        uses: akhilmhdh/contributors-readme-action@v2.3.6\n        with:\n          use_username: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Update AUTHORS\n        run: |\n          git config --global log.mailmap true\n          git log --reverse '--format=%aN <%aE>' | cat -n | sort -uk2 | sort -n | cut -f2- >AUTHORS\n\n      - name: Commit and push AUTHORS\n        run: |\n          if ! git diff --exit-code; then\n            git pull\n            git config --global user.name \"${{ env.CI_COMMIT_AUTHOR }}\"\n            git config --global user.email \"${{ env.CI_COMMIT_EMAIL }}\"\n            git commit -a -m \"${{ env.CI_COMMIT_MESSAGE }}\"\n            git push\n          fi\n", "state": "active", "repository": "comictagger/comictagger"}
{"mined_at": "2024-07-15T12:37:32.482752", "created_at": "2022-06-08T04:43:10+02:00", "updated_at": "2022-06-08T04:43:10+02:00", "name": "Package", "path": ".github/workflows/package.yaml", "contents": "name: Package\n\nenv:\n  LC_COLLATE: en_US.UTF-8\non:\n  push:\n    tags:\n      - \"[0-9]+.[0-9]+.[0-9]+*\"\njobs:\n  package:\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n      contents: write\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.9]\n        os: [ubuntu-latest, macos-12, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install tox\n        run: |\n          python -m pip install --upgrade --upgrade-strategy eager tox\n\n      - name: Install macos dependencies\n        run: |\n          brew upgrade icu4c pkg-config || brew install icu4c pkg-config\n        if: runner.os == 'macOS'\n\n      - name: Install linux dependencies\n        run: |\n          sudo apt-get update && sudo apt-get upgrade && sudo apt-get install pkg-config libicu-dev libqt5gui5 libfuse2\n        if: runner.os == 'Linux'\n\n      - name: Build, Install and Test PyPi packages\n        run: |\n          export PKG_CONFIG_PATH=\"/usr/local/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/icu4c/lib/pkgconfig${PKG_CONFIG_PATH+:$PKG_CONFIG_PATH}\";\n          export PATH=\"/usr/local/opt/icu4c/bin:/usr/local/opt/icu4c/sbin${PATH+:$PATH}\"\n          python -m tox r\n        shell: bash\n\n      - name: \"Publish distribution 📦 to PyPI\"\n        if: startsWith(github.ref, 'refs/tags/')\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n      - name: Get release name\n        if: startsWith(github.ref, 'refs/tags/')\n        shell: bash\n        run: |\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/* # github is dumb\n          echo \"release_name=$(git tag -l --format \"%(refname:strip=2): %(contents:lines=1)\" ${{ github.ref_name }})\" >> $GITHUB_ENV\n\n      - name: Release\n        uses: softprops/action-gh-release@v2\n        if: startsWith(github.ref, 'refs/tags/')\n        with:\n          name: \"${{ env.release_name }}\"\n          prerelease: \"${{ contains(github.ref, '-') }}\" # alpha-releases should be 1.3.0-alpha.x full releases should be 1.3.0\n          draft: false\n          # upload the single application zip file for each OS and include the wheel built on linux\n          files: |\n            dist/*.zip\n            dist/*.tar.gz\n            dist/*.dmg\n            dist/*${{ fromJSON('[\"never\", \"\"]')[runner.os == 'Linux'] }}.whl\n            dist/*.AppImage\n", "state": "active", "repository": "comictagger/comictagger"}
{"mined_at": "2024-07-15T12:37:34.411970", "created_at": "2022-09-07T20:38:46+02:00", "updated_at": "2022-09-07T22:59:41+02:00", "name": "CI", "path": ".github/workflows/setup.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CI\n\non:\n  push:\n    branches: [develop]\n    paths-ignore:\n      - \"docs/**\"\n  pull_request:\n    branches: [develop]\n    paths-ignore:\n      - \"docs/**\"\n\njobs:\n  cpython:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - ubuntu-latest\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install . -r requirements_dev.txt\n          pip install diagrams\n\n      - name: Run flake8\n        run: |\n          python -m flake8 src/aiogram_dialog tests example\n\n      - name: Run tests\n        run: |\n          pytest\n\n      - name: Run vulture\n        run: |\n          python -m vulture src/aiogram_dialog --min-confidence 70\n", "state": "active", "repository": "tishka17/aiogram_dialog"}
{"mined_at": "2024-07-15T12:37:36.394681", "created_at": "2023-08-30T14:25:39+02:00", "updated_at": "2023-08-30T14:25:57+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  tests:\n    name: Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip tox\n      - name: Run tox targets for ${{ matrix.python-version }}\n        run: |\n          ENV_PREFIX=$(tr -C -d \"0-9\" <<< \"${{ matrix.python-version }}\")\n          TOXENV=$(tox --listenvs | grep \"^py$ENV_PREFIX\" | tr '\\n' ',') python -m tox\n", "state": "active", "repository": "matthiask/plata"}
{"mined_at": "2024-07-15T12:37:38.479528", "created_at": "2021-04-27T21:11:52+02:00", "updated_at": "2023-03-14T09:58:58+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [\"*\"]\n  create:\n    tags: [\"release/*\"]\n  pull_request:\n    branches: [master]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9, \"3.10\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: wntrblm/nox@2022.8.7\n      - name: Lint with flake8\n        run: nox -s lint\n      - name: Test with pytest\n        run: nox -s tests-${{ matrix.python-version }} -- --run-slow\n\n  publish:\n    runs-on: ubuntu-latest\n    needs: test\n    if: startsWith(github.ref, 'refs/tags/release')\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n          .\n      - name: Publish distribution 📦 to Test PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "sixty-north/cosmic-ray"}
{"mined_at": "2024-07-15T12:37:40.476578", "created_at": "2021-03-05T20:06:55+01:00", "updated_at": "2021-04-22T18:42:43+02:00", "name": "Assign Latest Milestone", "path": ".github/workflows/assign-milestone.yml", "contents": "# If a PR doesn't have a milestone assigned when it's merged, assign it the\n# one that's scheduled next.\nname: Assign Latest Milestone\non:\n  pull_request_target:\n    types: [closed]\n    branches: [main]\n\npermissions:\n  pull-requests: write\n  issues: write\n\njobs:\n  sync:\n    name: Assign Latest Milestone\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v6\n        name: Run script\n        with:\n          script: |\n            if (!context.payload.pull_request.merged) {\n              console.log('PR was not merged, skipping.');\n              return;\n            }\n            if (!!context.payload.pull_request.milestone) {\n              console.log('PR has existing milestone, skipping.');\n              return;\n            }\n            if (context.payload.pull_request.user.type === 'Bot') {\n              console.log('Ignoring Bot PR');\n              return;\n            }\n            milestones = await github.rest.issues.listMilestones({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              state: 'open',\n              sort: 'due_on',\n              direction: 'asc'\n            })\n\n            if (milestones.data.length === 0) {\n              console.log('There are no milestones, skipping.');\n              return;\n            }\n\n            console.log(`Adding to milestone: ${milestones.data[0].number}`);\n            result = await github.rest.issues.update({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: context.payload.number,\n              milestone: milestones.data[0].number\n            });\n            console.log(result);\n", "state": "active", "repository": "unidata/siphon"}
{"mined_at": "2024-07-15T12:37:41.499470", "created_at": "2021-02-10T23:57:52+01:00", "updated_at": "2021-02-10T23:57:52+01:00", "name": "Code Analysis", "path": ".github/workflows/code-analysis.yml", "contents": "name: \"Code Analysis\"\n\non:\n  push:\n    branches: [master, ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 8 * * 6'\n\njobs:\n  CodeQL:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      # Override language selection by uncommenting this and choosing your languages\n      # with:\n      #   languages: go, javascript, csharp, python, cpp, java\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "unidata/siphon"}
{"mined_at": "2024-07-15T12:37:42.493541", "created_at": "2021-03-05T17:29:13+01:00", "updated_at": "2021-03-05T17:29:13+01:00", "name": "Build Docs (Conda)", "path": ".github/workflows/docs-conda.yml", "contents": "name: Build Docs (Conda)\n\n# We don't want pushes (or PRs) to gh-pages to kick anything off\non:\n  pull_request:\n    branches: [ master ]\n\njobs:\n  #\n  # Build our docs on macOS and Windows on Python 3.6 and 3.8, respectively.\n  #\n  Docs:\n    name: ${{ matrix.os }} ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: 3.8\n            os: macOS\n          - python-version: 3.7\n            os: Windows\n\n    steps:\n    # We check out only a limited depth and then pull tags to save time\n    - name: Checkout source\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 100\n\n    - name: Get tags\n      run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n\n    - name: Setup conda caching\n      uses: actions/cache@v3\n      with:\n        path: ~/conda_pkgs_dir\n        key: conda-docs-${{ runner.os }}-${{ matrix.python-version}}-${{ hashFiles('ci/*') }}\n        restore-keys: |\n          conda-docs-${{ runner.os }}-${{ matrix.python-version}}\n          conda-docs-${{ runner.os }}\n          conda-docs-\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        miniconda-version: \"latest\"\n        python-version: ${{ matrix.python-version }}\n        channel-priority: strict\n        channels: conda-forge\n        show-channel-urls: true\n        # Needed for caching\n        use-only-tar-bz2: true\n\n    - name: Install dependencies\n      run: conda install --quiet --yes --file ci/doc_requirements.txt --file ci/extra_requirements.txt --file ci/requirements.txt\n\n    # This imports CartoPy to find its map data cache directory\n    - name: Get CartoPy maps dir\n      id: cartopy-cache\n      run: echo \"::set-output name=dir::$(python -c 'import cartopy;print(cartopy.config[\"data_dir\"])')\"\n\n    - name: Setup mapdata caching\n      uses: actions/cache@v3\n      env:\n        # Increase to reset cache of map data\n        CACHE_NUMBER: 0\n      with:\n        path: ${{ steps.cartopy-cache.outputs.dir }}\n        key: docs-cartopy-${{ env.CACHE_NUMBER }}\n        restore-keys: docs-cartopy-\n\n    - name: Install\n      # For some reason on Windows 3.7 building the wheel fails to properly include our extra\n      # stuff. Executing the egg_info beforehand for some reason fixes it. No idea why. We're\n      # deep in territory where googling for answers helps not at all.\n      run: |\n        python setup.py egg_info\n        python -m pip install --no-deps .\n\n    - name: Build docs\n      run: |\n        pushd docs\n        make html O=-W\n        popd\n\n    - name: Upload docs as artifact\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ matrix.os }}-${{ matrix.python-version }}-docs\n        path: |\n          docs/build/html\n          !docs/_static/*.pdf\n", "state": "active", "repository": "unidata/siphon"}
{"mined_at": "2024-07-15T12:37:43.501909", "created_at": "2021-03-05T17:27:56+01:00", "updated_at": "2021-03-05T17:27:56+01:00", "name": "Build Docs", "path": ".github/workflows/docs.yml", "contents": "name: Build Docs\n\n# We don't want pushes (or PRs) to gh-pages to kick anything off\non:\n  push:\n    branches:\n      - master\n      - '[0-9]+.[0-9]+.x'\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]+\n  pull_request:\n\njobs:\n  #\n  # Build our docs on Linux against multiple Pythons, including pre-releases\n  #\n  Docs:\n    name: ${{ matrix.python-version }} ${{ matrix.dep-versions }}\n    runs-on: ubuntu-20.04\n    continue-on-error: ${{ matrix.experimental }}\n    env:\n      DOC_VERSION: dev\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: 3.8\n            check-links: false\n            dep-versions: requirements.txt\n            experimental: false\n          - python-version: 3.9\n            check-links: true\n            dep-versions: requirements.txt\n            experimental: false\n          - python-version: 3.9\n            check-links: false\n            dep-versions: Prerelease\n            experimental: true\n\n    steps:\n    # We check out only a limited depth and then pull tags to save time\n    - name: Checkout source\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 100\n\n    - name: Get tags\n      run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    # This uses pip to find the right cache dir and then sets up caching for it\n    - name: Get pip cache dir\n      id: pip-cache\n      run: echo \"::set-output name=dir::$(pip cache dir)\"\n\n    - name: Setup pip cache\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: pip-docs-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('ci/*') }}\n        restore-keys: |\n          pip-docs-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('ci/*') }}\n          pip-docs-${{ runner.os }}-${{ matrix.python-version }}-\n          pip-docs-${{ runner.os }}-\n          pip-docs-\n\n    # This installs the stuff needed to build and install Shapely and CartoPy from source.\n    # Need to install numpy first to make CartoPy happy.\n    - name: Install dependencies (PyPI)\n      if: ${{ runner.os == 'Linux' }}\n      run: |\n        sudo apt-get install libgeos-dev libproj-dev proj-bin\n        python -m pip install --upgrade pip setuptools\n        python -m pip install --no-binary :all: shapely\n        python -m pip install -c ci/${{ matrix.dep-versions }} numpy\n        python -m pip install -r ci/doc_requirements.txt -r ci/extra_requirements.txt -c ci/${{ matrix.dep-versions }}\n\n    # This imports CartoPy to find its map data cache directory\n    - name: Get CartoPy maps dir\n      id: cartopy-cache\n      run: echo \"::set-output name=dir::$(python -c 'import cartopy;print(cartopy.config[\"data_dir\"])')\"\n\n    - name: Setup mapdata caching\n      uses: actions/cache@v3\n      env:\n        # Increase to reset cache of map data\n        CACHE_NUMBER: 0\n      with:\n        path: ${{ steps.cartopy-cache.outputs.dir }}\n        key: docs-cartopy-${{ env.CACHE_NUMBER }}\n        restore-keys: docs-cartopy-\n\n    - name: Install self\n      run: python -m pip install -c ci/${{ matrix.dep-versions }} .\n\n    - name: Build docs\n      run: |\n        pushd docs\n        make html O=-W\n        popd\n\n    - name: Enable linkchecker for PRs\n      # Doing the linkchecker separately so that we avoid problems with vendored LICENSE\n      # files in the build directory\n      if: ${{ github.event_name == 'pull_request' && matrix.check-links == true }}\n      run: |\n        pushd docs\n        find build/html/_static -name LICENSE.md -delete\n        make linkcheck\n        popd\n\n    - name: Upload docs as artifact\n      if: ${{ github.event_name == 'pull_request' }}\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ matrix.python-version }}-${{ matrix.dep-versions }}-docs\n        path: |\n          docs/build/html\n          !docs/_static/*.pdf\n\n    # This overrides the version \"dev\" with the proper version if we're building off a\n    # branch that's not master (which is confined to n.nn.x above) or on a tag.\n    - name: Set doc version\n      if: ${{ github.event_name != 'push' || !contains(github.ref, 'master') }}\n      run: echo \"DOC_VERSION=v$(python -c 'import siphon; print(siphon.__version__.rsplit(\".\", maxsplit=2)[0])')\" >> $GITHUB_ENV\n\n    - name: Upload to GitHub Pages\n      if: ${{ github.event_name != 'pull_request' && matrix.experimental == false }}\n      uses: peaceiris/actions-gh-pages@v3.9.3\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: ./docs/build/html\n        exclude_assets: '.buildinfo,_static/jquery-*.js,_static/underscore-*.js'\n        destination_dir: ./${{ env.DOC_VERSION }}\n        keep_files: false\n        full_commit_message: Deploy ${{ env.DOC_VERSION }} to GitHub Pages\n", "state": "active", "repository": "unidata/siphon"}
{"mined_at": "2024-07-15T12:37:44.553615", "created_at": "2021-02-10T23:57:52+01:00", "updated_at": "2021-02-10T23:57:52+01:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\non:\n  push:\n    branches: [master]\n  pull_request:\n\njobs:\n  flake8:\n    name: Flake8\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n\n      - name: Install flake8\n        run: python -m pip install -r ci/linting_requirements.txt\n\n      - name: Set up reviewdog\n        run: |\n          mkdir -p $HOME/bin\n          curl -sfL \\\n            https://github.com/reviewdog/reviewdog/raw/master/install.sh | \\\n              sh -s -- -b $HOME/bin\n          echo \"$HOME/bin\" >> $GITHUB_PATH\n\n      - name: Run flake8\n        env:\n          REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          flake8 | reviewdog -f=pep8 -name=flake8 -reporter=github-check -filter-mode=nofilter\n\n      - name: Run doc8\n        # Don't skip doc8 if flake8 fails\n        if: ${{ always() }}\n        env:\n          REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          doc8 docs | reviewdog -efm='%f:%l: %m' -name=doc8 -reporter=github-check -filter-mode=nofilter\n", "state": "active", "repository": "unidata/siphon"}
{"mined_at": "2024-07-15T12:37:45.630867", "created_at": "2021-03-05T20:06:56+01:00", "updated_at": "2023-06-27T18:17:20+02:00", "name": "Make Release", "path": ".github/workflows/release.yml", "contents": "name: Make Release\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  packages:\n    name: Release Packages\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 150\n\n    - name: Get tags\n      run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.x\n\n    - name: Install build tools\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade setuptools setuptools_scm wheel\n\n    - name: Build packages\n      run: python setup.py sdist bdist_wheel\n\n    - name: Save built packages as artifact\n      uses: actions/upload-artifact@v3\n      with:\n        name: packages-${{ runner.os }}-${{ steps.setup.outputs.python-version }}\n        path: dist/\n        if-no-files-found: error\n        retention-days: 5\n\n  publish:\n    name: Publish to PyPI\n    needs: build\n    environment:\n      name: PyPI\n      url: https://pypi.org/project/MetPy/\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    runs-on: ubuntu-latest\n    steps:\n    - name: Download packages\n      uses: actions/download-artifact@v3\n\n    - name: Consolidate packages for upload\n      run: |\n        mkdir dist\n        cp packages-*/* dist/\n\n    - name: Publish Package\n      uses: pypa/gh-action-pypi-publish@v1.8.10\n", "state": "active", "repository": "unidata/siphon"}
{"mined_at": "2024-07-15T12:37:46.830899", "created_at": "2021-02-11T00:37:43+01:00", "updated_at": "2021-02-11T00:37:43+01:00", "name": "Conda Tests", "path": ".github/workflows/tests-conda.yml", "contents": "name: Conda Tests\n\n# We don't want pushes (or PRs) to gh-pages to kick anything off\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  #\n  # Run all tests on Conda on both Windows and macOS\n  #\n  CondaTests:\n    name: ${{ matrix.os }} ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n        os: [macOS, Windows]\n\n    steps:\n    # We check out only a limited depth and then pull tags to save time\n    - name: Checkout source\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 100\n\n    - name: Get tags\n      run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n\n    - name: Setup conda caching\n      uses: actions/cache@v3\n      with:\n        path: ~/conda_pkgs_dir\n        key: conda-tests-${{ runner.os }}-${{ matrix.python-version}}-${{ hashFiles('ci/*') }}\n        restore-keys: |\n          conda-tests-${{ runner.os }}-${{ matrix.python-version}}\n          conda-tests-${{ runner.os }}\n          conda-tests-\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        miniconda-version: \"latest\"\n        python-version: ${{ matrix.python-version }}\n        channel-priority: strict\n        channels: conda-forge\n        show-channel-urls: true\n        # Needed for caching\n        use-only-tar-bz2: true\n\n    - name: Install dependencies\n      run: conda install --quiet --yes --file ci/test_requirements.txt --file ci/extra_requirements.txt --file ci/requirements.txt\n\n    - name: Install\n      # For some reason on Windows 3.7 building the wheel fails to properly include our extra\n      # stuff. Executing the egg_info beforehand for some reason fixes it. No idea why. We're\n      # deep in territory where googling for answers helps not at all.\n      run: |\n        python setup.py egg_info\n        python -m pip install --no-deps .\n\n    - name: Run tests\n      # By running coverage in \"parallel\" mode and \"combining\", we can clean up the path names\n      run: |\n        export TEST_DATA_DIR=$GITHUB_WORKSPACE/staticdata\n        python -m coverage run -p -m pytest tests\n        python -m coverage combine\n        python -m coverage report\n        python -m coverage xml\n\n    - name: Upload coverage\n      if: ${{ always() }}\n      uses: codecov/codecov-action@v3\n      with:\n        name: conda-${{ matrix.python-version }}-${{ runner.os }}\n", "state": "active", "repository": "unidata/siphon"}
{"mined_at": "2024-07-15T12:37:47.880231", "created_at": "2021-02-10T23:44:30+01:00", "updated_at": "2021-02-10T23:44:30+01:00", "name": "PyPI Tests", "path": ".github/workflows/tests-pypi.yml", "contents": "name: PyPI Tests\n\n# We don't want pushes (or PRs) to gh-pages to kick anything off\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  #\n  # Run all tests on Linux using standard PyPI packages, including min and pre-releases\n  #\n  PyPITests:\n    name: ${{ matrix.python-version }} ${{ matrix.dep-versions }} ${{ matrix.no-extras }}\n    runs-on: ubuntu-20.04\n    continue-on-error: ${{ matrix.dep-versions == 'Prerelease' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n        dep-versions: [requirements.txt]\n        no-extras: ['']\n        include:\n          - python-version: 3.7\n            dep-versions: Minimum\n            no-extras: 'No Extras'\n          - python-version: 3.9\n            dep-versions: requirements.txt\n            no-extras: 'No Extras'\n          - python-version: 3.9\n            dep-versions: Prerelease\n            no-extras: ''\n\n    steps:\n    # We check out only a limited depth and then pull tags to save time\n    - name: Checkout source\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 100\n\n    - name: Get tags\n      run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    # This uses pip to find the right cache dir and then sets up caching for it\n    - name: Get pip cache dir\n      id: pip-cache\n      run: echo \"::set-output name=dir::$(pip cache dir)\"\n\n    - name: Setup caching\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: pip-tests-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('ci/*') }}\n        restore-keys: |\n          pip-tests-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('ci/*') }}\n          pip-tests-${{ runner.os }}-${{ matrix.python-version }}-\n          pip-tests-${{ runner.os }}-\n          pip-tests-\n\n    - name: Add extras to requirements\n      if: ${{ matrix.no-extras != 'No Extras' }}\n      run: cat ci/extra_requirements.txt >> ci/test_requirements.txt\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools\n        python -m pip install -r ci/test_requirements.txt -c ci/${{ matrix.dep-versions }}\n\n    - name: Install\n      run: python -m pip install -c ci/${{ matrix.dep-versions }} .\n\n    - name: Run tests\n      run: |\n        python -m coverage run -p -m pytest tests\n        python -m coverage combine\n        python -m coverage report\n        python -m coverage xml\n\n    - name: Upload coverage\n      if: ${{ always() }}\n      uses: codecov/codecov-action@v3\n      with:\n        name: pypi-${{ matrix.python-version }}-${{ matrix.dep-versions }}-${{ matrix.no-extras }}-${{ runner.os }}\n", "state": "active", "repository": "unidata/siphon"}
{"mined_at": "2024-07-15T12:37:49.903351", "created_at": "2021-04-23T21:31:21+02:00", "updated_at": "2024-03-17T13:19:08+01:00", "name": "run pull request CI", "path": ".github/workflows/run-tests.yml", "contents": "name: run pull request CI\n\non:\n  schedule:\n    - cron:  '0 12 * * *'  # daily ~8am est\n  workflow_dispatch:\n  pull_request:\n\njobs:\n  unit-tests:\n    runs-on: \"ubuntu-20.04\"  # see: https://github.com/actions/setup-python/issues/544\n    timeout-minutes: 10\n    strategy:\n      matrix:\n        python: [3.6, 3.7, 3.8, 3.9, \"3.10\", \"3.11\"]\n        command: [\"py\", \"scaffolds\", \"sqlalchemy-1.4\", \"sqlalchemy-2\"]\n        exclude:\n          # SQLAlchemy2 requires >= py3.7\n          - python: 3.6\n            command: \"sqlalchemy-2\"\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install tox\n        run: pip install tox\n      - name: run tox unit tests\n        run: tox -e ${{ matrix.command }}\n", "state": "disabled_inactivity", "repository": "pecan/pecan"}
{"mined_at": "2024-07-15T12:37:52.167814", "created_at": "2023-11-29T18:24:31+01:00", "updated_at": "2023-11-29T18:24:31+01:00", "name": "Dev-Deploy", "path": ".github/workflows/dev-depoly.yml", "contents": "name: Dev-Deploy\n\non:\n  workflow_run:\n    workflows: [Dev-Test]\n    types: [completed]\n\npermissions:\n  id-token: write   # This is required for requesting the JWT\n  contents: read    # This is required for actions/checkout\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Checkout Docker configs\n        run: |\n          eval `ssh-agent -s`\n          ssh-add - <<< '${{ secrets.DEPLOY_KEY_FOR_CONFIG_REPO }}'\n          git clone -b develop git@github.com:ecds/readux-configs.git\n          mv readux-configs/* .\n          chmod +x config.sh\n          chmod +x deploy.sh\n\n      - name: Run Config\n        run: ./config.sh\n        env:\n          AWS_KEY: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_FSX_VOLUME: ${{ secrets.AWS_FSX_VOLUME }}\n          DATABASE_URL: ${{ secrets.DATABASE_URL_DEV }}\n          EMAIL_USER: ${{ secrets.EMAIL_USER }}\n          EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }}\n\n      - name: Configure AWS credentials from AWS account\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_ROLE_DEV }}\n          aws-region: us-east-1\n          role-session-name: GitHub-OIDC-frontend\n\n      - name: Run Deploy\n        run: ./deploy.sh\n\n", "state": "active", "repository": "ecds/readux"}
{"mined_at": "2024-07-15T12:37:53.244585", "created_at": "2022-12-15T16:56:20+01:00", "updated_at": "2023-11-29T18:24:31+01:00", "name": "Dev-Test", "path": ".github/workflows/dev-test.yml", "contents": "name: Dev-Test\n\non:\n  push:\n    branches:\n      - develop\n  workflow_dispatch:\n\nenv:\n  DATABASE_URL: postgres://user:password@localhost:5432/readux\n  DJANGO_ENV: test\n\njobs:\n  pytest:\n    runs-on: ubuntu-22.04\n\n    services:\n      elasticsearch:\n        image: docker.elastic.co/elasticsearch/elasticsearch:7.17.5\n        env:\n          STACK_VERSION: 7.17.5\n          xpack.security.enabled: false\n          cluster.name: readux-elasticsearch\n          http.port: 9200\n          discovery.type: single-node\n        options: >-\n          --health-cmd \"curl http://localhost:9200/_cluster/health\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 10\n        ports:\n          - 9200:9200\n\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_PASSWORD: password\n          POSTGRES_USER: user\n          POSTGRES_DB: readux_test\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Ruby\n        uses: ruby/setup-ruby@v1\n        with:\n          ruby-version: \"2.7.2\"\n\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"20\"\n\n      - name: Install system requirements\n        run: |\n          sudo apt update\n          sudo apt install -y libjpeg-dev libopenjp2-7-dev libopenjp2-tools libssl-dev postgresql-client ruby-full openssh-server\n\n      - name: Install Ruby dependencies\n        run: |\n          sudo gem install bundler -v \"$(grep -A 1 \"BUNDLED WITH\" Gemfile.lock | tail -n 1)\"\n          bundle install\n          sudo gem install sass\n\n      - name: Install Python dependencies\n        run: |\n          mkdir logs && touch logs/debug.log\n          cp config/settings/local.dst config/settings/local.py\n          pip install --upgrade pip\n          pip install pyld==1.0.5\n          pip install -r requirements/local.txt\n\n      - name: Test Export\n        run: pytest apps/export/\n\n      - name: Test IIIF\n        run: pytest apps/iiif/\n\n      - name: Test Ingest\n        run: pytest apps/ingest/\n\n      - name: Test Readux\n        run: pytest apps/readux/\n\n      - name: Test Users\n        run: pytest apps/users/\n\n      - name: Test Webpack build\n        run: |\n          npm install\n          npx webpack\n", "state": "active", "repository": "ecds/readux"}
{"mined_at": "2024-07-15T12:37:55.326113", "created_at": "2021-06-24T01:29:49+02:00", "updated_at": "2021-06-24T19:12:19+02:00", "name": "CI", "path": ".github/workflows/python-package.yml", "contents": "# Workflow is based on the Astropy GitHub actions workflow, ci_workflows.yml\nname: CI\n\non:\n    push:\n        branches:\n            - '*'\n        tags:\n            - '*'\n    pull_request:\n\njobs:\n    tests:\n        name: Unit tests\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: true\n            matrix:\n                os: [ubuntu-latest]\n                python-version: ['3.9', '3.10']  # fitsio does not like Python < 3.7\n                # astropy-version: ['<3.0', '<4.1']  #, '<5.0']\n        env:\n            DESIUTIL_VERSION: 3.2.5\n            RR_TEMPLATE_VER: 0.7.2\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: |\n                python -m pip install --upgrade pip wheel\n                python -m pip install pytest\n                python -m pip install git+https://github.com/desihub/desiutil.git@${DESIUTIL_VERSION}#egg=desiutil\n                python -m pip install -r requirements.txt\n                curl -L https://github.com/desihub/redrock-templates/archive/${RR_TEMPLATE_VER}.tar.gz | tar -x -z -v -C py/redrock\n                /bin/mv py/redrock/redrock-templates-${RR_TEMPLATE_VER} py/redrock/templates\n\n            - name: Run the test\n              run: pytest\n\n    coverage:\n        name: Test coverage\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: true\n            matrix:\n                os: [ubuntu-latest]\n                python-version: ['3.9']\n        env:\n            DESIUTIL_VERSION: 3.2.5\n            RR_TEMPLATE_VER: 0.7.2\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: |\n                python -m pip install --upgrade pip wheel\n                python -m pip install pytest pytest-cov coveralls\n                python -m pip install git+https://github.com/desihub/desiutil.git@${DESIUTIL_VERSION}#egg=desiutil\n                python -m pip install -r requirements.txt\n                curl -L https://github.com/desihub/redrock-templates/archive/${RR_TEMPLATE_VER}.tar.gz | tar -x -z -v -C py/redrock\n                /bin/mv py/redrock/redrock-templates-${RR_TEMPLATE_VER} py/redrock/templates\n            - name: Run the test with coverage\n              run: pytest --cov\n            - name: Coveralls\n              env:\n                COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n                GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n              run: coveralls\n\n    docs:\n        name: Doc test\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest]\n                python-version: ['3.9']\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: python -m pip install --upgrade pip wheel Sphinx\n            - name: Test the documentation\n              run: sphinx-build -W --keep-going -b html doc doc/_build/html\n\n    style:\n        name: Style check\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest]\n                python-version: ['3.9']\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: python -m pip install --upgrade pip wheel pycodestyle\n            - name: Test the style; failures are allowed\n              # This is equivalent to an allowed falure.\n              continue-on-error: true\n              run: pycodestyle --count py/redrock\n", "state": "active", "repository": "desihub/redrock"}
{"mined_at": "2024-07-15T12:37:57.389112", "created_at": "2021-07-31T10:49:46+02:00", "updated_at": "2021-09-12T18:00:01+02:00", "name": "CI Lint", "path": ".github/workflows/ci-lint.yml", "contents": "name: CI Lint\n\non:\n  push:\n    branches:\n      - 'master'\n      - 'st3176'\n    paths:\n      - '**/*.json'\n      - '**/*.py'\n      - '**/*.sublime-*'\n  pull_request:\n    branches:\n      - '**'\n    paths:\n      - '**/*.json'\n      - '**/*.py'\n      - '**/*.sublime-*'\n  workflow_dispatch:\n\njobs:\n  lint:\n    name: Python ${{ matrix.python }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python:\n          - '3.8'\n        arch:\n          - 'x64'\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: ${{ matrix.arch }}\n      - name: Install linters\n        run: pip install -r tests/requirements.txt\n      - name: Run black\n        run: python -m black --check .\n      - name: Run flake8\n        run: python -m flake8\n", "state": "active", "repository": "sublimetext-markdown/markdownediting"}
{"mined_at": "2024-07-15T12:37:58.472555", "created_at": "2021-07-31T10:49:46+02:00", "updated_at": "2021-09-12T18:00:01+02:00", "name": "CI Syntax Tests", "path": ".github/workflows/ci-syntax-tests.yml", "contents": "name: CI Syntax Tests\n\non:\n  push:\n    branches:\n      - 'master'\n      - 'st3176'\n    paths:\n      - '.github/workflows/ci-syntax-tests.yml'\n      - '**.sublime-syntax'\n      - '**/syntax_test_*'\n      - '**.tmPreferences'\n  pull_request:\n    branches:\n      - '**'\n    paths:\n      - '.github/workflows/ci-syntax-tests.yml'\n      - '**.sublime-syntax'\n      - '**/syntax_test_*'\n      - '**.tmPreferences'\n  workflow_dispatch:\n\njobs:\n  syntax_tests:\n    name: Sublime Text ${{ matrix.build }}\n    runs-on: ubuntu-latest\n    timeout-minutes: 15 # default is 6 hours!\n    strategy:\n      matrix:\n        include:\n          - build: 4107\n            default_packages: v4107\n          - build: 4126\n            default_packages: v4126\n          - build: 4152\n            default_packages: v4152\n          - build: 4169\n            default_packages: v4169\n          - build: latest\n            default_packages: master\n    steps:\n      - uses: actions/checkout@v4\n      - uses: SublimeText/syntax-test-action@v2\n        with:\n          build: ${{ matrix.build }}\n          default_packages: ${{ matrix.default_packages }}\n", "state": "active", "repository": "sublimetext-markdown/markdownediting"}
{"mined_at": "2024-07-15T12:37:59.528120", "created_at": "2021-07-31T10:49:46+02:00", "updated_at": "2021-09-12T18:00:01+02:00", "name": "CI Unit Tests", "path": ".github/workflows/ci-unit-tests.yml", "contents": "name: CI Unit Tests\n\non:\n  push:\n    branches:\n      - 'master'\n      - 'st3176'\n    paths:\n      - '**/*.json'\n      - '**/*.py'\n      - '**/*.sublime-*'\n  pull_request:\n    branches:\n      - '**'\n    paths:\n      - '**/*.json'\n      - '**/*.py'\n      - '**/*.sublime-*'\n  workflow_dispatch:\n\njobs:\n  test:\n    name: Sublime Text ${{ matrix.st-version }}\n    runs-on: ubuntu-latest\n    timeout-minutes: 15 # default is 6 hours!\n    strategy:\n      fail-fast: false\n      matrix:\n        st-version: [4]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: SublimeText/UnitTesting/actions/setup@v1\n        with:\n          sublime-text-version: ${{ matrix.st-version }}\n      - uses: SublimeText/UnitTesting/actions/run-tests@v1\n        with:\n          coverage: true\n      - uses: codecov/codecov-action@v4\n", "state": "active", "repository": "sublimetext-markdown/markdownediting"}
{"mined_at": "2024-07-15T12:38:00.627148", "created_at": "2021-07-04T18:58:12+02:00", "updated_at": "2021-09-12T18:00:01+02:00", "name": "Deploy Docs to Github Pages", "path": ".github/workflows/deploy-gh-pages.yml", "contents": "name: Deploy Docs to Github Pages\n\non:\n  push:\n    branches:\n      - 'master'\n    paths:\n      - 'docs/**'\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Deploy Docs to Github Pages\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n      - name: Install MkDocs\n        run: pip install -r docs/requirements.txt\n      - name: Run MkDocs\n        run: mkdocs gh-deploy\n", "state": "active", "repository": "sublimetext-markdown/markdownediting"}
{"mined_at": "2024-07-15T12:38:02.632790", "created_at": "2022-01-11T03:07:11+01:00", "updated_at": "2022-01-11T03:07:11+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "markqvist/reticulum"}
{"mined_at": "2024-07-15T12:38:04.773535", "created_at": "2020-01-10T09:43:24+01:00", "updated_at": "2020-01-10T16:22:17+01:00", "name": "flake8", "path": "", "contents": null, "state": "active", "repository": "sublimelinter/sublimelinter"}
{"mined_at": "2024-07-15T12:38:05.801164", "created_at": "2019-12-23T10:00:34+01:00", "updated_at": "2019-12-23T10:00:34+01:00", "name": "flake8", "path": ".github/workflows/flake8.yml", "contents": "name: flake8\n\non:\n  schedule:\n    # flake8 regularly has breaking changes, so we re-check\n    # regularly as well.\n    - cron:  '0 9 * * 1'\n\n  push:\n    branches:\n      - master\n    paths:\n    - 'setup.cfg'\n    - '**.py'\n    - '!docs/**'\n\n  pull_request:\n    paths:\n    - 'setup.cfg'\n    - '**.py'\n    - '!docs/**'\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - run: pip install \"flake8<6.0.0\"\n    - uses: TrueBrain/actions-flake8@v2\n", "state": "active", "repository": "sublimelinter/sublimelinter"}
{"mined_at": "2024-07-15T12:38:06.896357", "created_at": "2023-06-01T13:49:14+02:00", "updated_at": "2023-06-01T15:23:28+02:00", "name": "CI", "path": ".github/workflows/mypy.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  mypy:\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: ['linux', 'darwin', 'win32']\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: Install mypy\n      run: |\n        pip install mypy\n    - name: Check with mypy\n      run: |\n        mypy ../SublimeLinter --platform=${{ matrix.platform }}\n", "state": "active", "repository": "sublimelinter/sublimelinter"}
{"mined_at": "2024-07-15T12:38:08.027413", "created_at": "2020-03-13T20:58:52+01:00", "updated_at": "2020-03-13T20:58:52+01:00", "name": "sphinx", "path": ".github/workflows/sphinx.yml", "contents": "name: sphinx\n\non:\n  push:\n    branches:\n      - master\n    paths:\n    - 'docs/**'\n  pull_request:\n    paths:\n    - 'docs/**'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n    - name: Update pip and install sphinx\n      run: |\n        python -m pip install --upgrade pip\n        pip install Sphinx sphinx_rtd_theme\n        echo '::add-matcher::'$PWD/.github/python-matcher.json\n    - name: build docs\n      run: |\n        sphinx-build -j auto -W --keep-going docs docs-out\n\n  check-links:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n    - name: Update pip and install sphinx\n      run: |\n        python -m pip install --upgrade pip\n        pip install Sphinx sphinx_rtd_theme\n        echo '::add-matcher::'$PWD/.github/python-matcher.json\n    - name: check links\n      run: |\n        sphinx-build -j auto -b linkcheck -W --keep-going docs docs-out\n", "state": "active", "repository": "sublimelinter/sublimelinter"}
{"mined_at": "2024-07-15T12:38:09.063730", "created_at": "2021-05-17T17:35:35+02:00", "updated_at": "2021-12-15T12:00:12+01:00", "name": "tests", "path": ".github/workflows/test.yml", "contents": "name: tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\nenv:\n  TRAVIS_OS_NAME: linux\n\njobs:\n  run-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        st-version: [4]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: SublimeText/UnitTesting/actions/setup@v1\n        with:\n          sublime-text-version: ${{ matrix.st-version }}\n      - uses: SublimeText/UnitTesting/actions/run-tests@v1\n\n  run-syntax-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: SublimeText/UnitTesting/actions/setup@v1\n      - uses: SublimeText/UnitTesting/actions/run-syntax-tests@v1\n\n  check-upgrade-messages:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: kaste/upgrade-messages-test-action@v1\n", "state": "active", "repository": "sublimelinter/sublimelinter"}
{"mined_at": "2024-07-15T12:38:12.919784", "created_at": "2024-03-25T15:02:47+01:00", "updated_at": "2024-03-25T15:02:47+01:00", "name": ".github/workflows/build.yml", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "adlnet/adl_lrs"}
{"mined_at": "2024-07-15T12:38:13.943263", "created_at": "2023-06-08T22:36:23+02:00", "updated_at": "2024-03-08T22:14:09+01:00", "name": "Deploy ADL LRS Application (Python)", "path": ".github/workflows/cicd.yml", "contents": "name: Deploy ADL LRS Application (Python)\n'on':\n  push:\n    branches:\n      - python3-xapi-2.0\njobs:\n  build-and-test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\"]\n        #python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      \n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      \n      # - name: Install dependencies\n      #   run: |\n      #     python -m pip install --upgrade pip\n      #     pip install ruff pytest\n      #     if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n      # - name: Lint with ruff\n      #   run: |\n      #     # stop the build if there are Python syntax errors or undefined names\n      #     ruff --format=github --select=E9,F63,F7,F82 --target-version=py37 .\n      #     # default set of ruff rules with GitHub Annotations\n      #     ruff --format=github --target-version=py37 .\n      \n      # - name: Test with pytest\n      #   run: |\n      #     pytest\n\n      - name: Build and test\n        run: |\n          pip3 install -r requirements.txt\n          ./test-lrs.sh\n\n  # deploy-dev:\n  #   runs-on: ubuntu-latest\n  #   environment: dev\n  #   needs: build-and-test\n  #   steps:\n  #     - name: Configure SSH\n  #       run: |\n  #         mkdir -p ~/.ssh\n  #         echo \"${{ secrets.ADLNET_DEV_SSH_KEY }}\" > ~/.ssh/id_rsa\n  #         chmod 600 ~/.ssh/id_rsa\n  #         ssh-keyscan \"${{ secrets.ADLNET_DEV_HOST }} >> ~/.ssh/known_hosts\n\n  #     - name: Deploy code on Dev\n  #       run: |\n  #         ssh ${{ secrets.ADLNET_DEV_HOST_USER }}@${{ secrets.ADLNET_DEV_HOST }} \"cd ${{ secrets.ADLNET_DEV_PROJECT_DIR }} && git pull origin ${GITHUB_REF#refs/heads/} && sudo docker-compose up -d --build\"\n  \n  deploy-staging:\n    runs-on: ubuntu-latest\n    environment: staging\n    needs:\n      - build-and-test\n      #- deploy-dev\n    steps:\n      - name: Configure SSH\n        run: |\n          mkdir -p ~/.ssh\n          echo \"${{ secrets.ADLNET_STAGING_SSH_KEY }}\" > ~/.ssh/id_rsa\n          chmod 600 ~/.ssh/id_rsa\n          ssh-keyscan \"${{ secrets.ADLNET_STAGING_HOST }}\" >> ~/.ssh/known_hosts\n\n      - name: Deploy code on Staging\n        run: |\n          ssh ${{ secrets.ADLNET_STAGING_HOST_USER }}@${{ secrets.ADLNET_STAGING_HOST }} \"\n          cd ${{ secrets.ADLNET_STAGING_PROJECT_DIR }} && \\\n          \n          echo 'Pulling Latest Code from Repository...' && \\\n          git pull origin ${GITHUB_REF#refs/heads/} && \\\n          \n          echo 'Copying Required Config files...' && \\\n          sudo cp /home/ubuntu/workflow/settings.ini /home/ubuntu/ADL_LRS/settings.ini && \\\n          #sudo cp /home/ubuntu/workflow/docker/settings.ini /home/ubuntu/ADL_LRS/docker/lrs/settings.ini && \\\n          sudo cp /home/ubuntu/workflow/.env /home/ubuntu/ADL_LRS/.env && \\\n\n          echo 'Copying installing ssl certificate...' && \\\n          sudo ./init-ssl.sh localhost && \\\n\n          echo 'Rebuilding Docker Containers..' && \\\n          sudo docker-compose stop && \\\n          sudo docker-compose build --no-cache && \\\n          sudo docker-compose up -d && \\\n          echo 'deployed successfully on server'\"", "state": "active", "repository": "adlnet/adl_lrs"}
{"mined_at": "2024-07-15T12:38:14.956391", "created_at": "2024-03-25T15:02:47+01:00", "updated_at": "2024-03-25T15:02:47+01:00", "name": ".github/workflows/code-lint.yml", "path": ".github/workflows/code-lint.yml", "contents": null, "state": "active", "repository": "adlnet/adl_lrs"}
{"mined_at": "2024-07-15T12:38:15.936899", "created_at": "2024-03-25T15:02:47+01:00", "updated_at": "2024-03-25T15:02:47+01:00", "name": ".github/workflows/code-test.yml", "path": ".github/workflows/code-test.yml", "contents": null, "state": "active", "repository": "adlnet/adl_lrs"}
{"mined_at": "2024-07-15T12:38:16.931575", "created_at": "2024-03-11T17:47:16+01:00", "updated_at": "2024-03-11T17:47:16+01:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": null, "state": "active", "repository": "adlnet/adl_lrs"}
{"mined_at": "2024-07-15T12:38:20.080553", "created_at": "2024-05-20T06:33:08+02:00", "updated_at": "2024-05-20T06:33:08+02:00", "name": "Update dependencies", "path": ".github/workflows/pdm.yml", "contents": "name: Update dependencies\n\non:\n  schedule:\n    - cron: \"5 3 * * 1\"\n\njobs:\n  update-dependencies:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v5\n\n      - name: Update dependencies\n        uses: pdm-project/update-deps-action@main\n", "state": "active", "repository": "datafolklabs/cement"}
{"mined_at": "2024-07-15T12:38:21.120998", "created_at": "2023-12-26T05:46:54+01:00", "updated_at": "2023-12-26T05:46:54+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "datafolklabs/cement"}
{"mined_at": "2024-07-15T12:38:24.043545", "created_at": "2023-03-09T06:25:38+01:00", "updated_at": "2023-03-09T06:25:38+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "carlfk/veyepar"}
{"mined_at": "2024-07-15T12:38:26.007211", "created_at": "2023-06-02T05:38:08+02:00", "updated_at": "2024-01-22T05:35:40+01:00", "name": "CD", "path": ".github/workflows/CD.yml", "contents": "name: CD\n\non:\n  push:\n    tags:\n      - '*'\n\nenv:\n  PY_VERSION: 3.11\n\njobs:\n  pypi-build:\n    name: Build package for PyPI\n    if: github.repository == 'payu-org/payu'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PY_VERSION }}\n\n      - run: |\n          python3 -m pip install --upgrade build && python3 -m build\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: release\n          path: dist\n\n  pypi-publish:\n    # Split build and publish to restrict trusted publishing to just this workflow\n    needs: ['pypi-build']\n    name: Publish to PyPI.org\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: release\n          path: dist\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf # v1.8.11\n\n  conda:\n    name: Build with conda and upload\n    if: github.repository == 'payu-org/payu'\n    runs-on: ubuntu-latest\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup conda environment\n        uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a # v3.0.1\n        with:\n          miniconda-version: \"latest\"\n          python-version: ${{ env.PY_VERSION }}\n          environment-file: conda/environment.yml\n          auto-update-conda: false\n          auto-activate-base: false\n          show-channel-urls: true\n\n      - name: Build and upload the conda package\n        uses: uibcdf/action-build-and-upload-conda-packages@c6e7a90ad5e599d6cde76e130db4ee52ad733ecf # v1.2.0\n        with:\n          meta_yaml_dir: conda\n          python-version: ${{ env.PY_VERSION }}\n          user: accessnri\n          label: main\n          token: ${{ secrets.anaconda_token }}\n", "state": "active", "repository": "payu-org/payu"}
{"mined_at": "2024-07-15T12:38:27.024568", "created_at": "2021-02-05T03:53:48+01:00", "updated_at": "2021-02-05T05:45:23+01:00", "name": "CI", "path": ".github/workflows/CI.yml", "contents": "# Run CI tests\nname: CI\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nenv:\n  PY_VERSION: 3.11\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  pypa-build:\n    name: PyPA build\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PY_VERSION }}\n          cache: 'pip' # caching pip dependencies\n\n      - run: |\n          python3 -m pip install --upgrade build && python3 -m build\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./dist\n\n  conda-build:\n    name: Conda Build\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup conda environment\n        uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a # v3.0.1\n        with:\n          miniconda-version: \"latest\"\n          python-version: ${{ env.PY_VERSION }}\n          environment-file: conda/environment.yml\n          auto-update-conda: false\n          auto-activate-base: false\n          show-channel-urls: true\n\n      - name: Run conda build\n        shell: bash -el {0}\n        run: conda build . --no-anaconda-upload\n\n  tests:\n    name: Tests\n    runs-on: ubuntu-latest\n\n    # Run the job for different versions of python\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n\n      # Checks-out repository code\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip' # caching pip dependencies\n\n      - name: Install dependencies\n        run: pip install -r test/requirements_test.txt\n\n      - name: Install payu\n        run: pip install .\n\n      - name: Check payu installed correctly\n        run: payu list\n\n      - name: Lint\n        run: pylint --extension-pkg-whitelist=netCDF4 --ignored-modules=backports -E payu\n\n      - name: Run tests\n        run: |\n          PYTHONPATH=. pytest --cov=payu -s test;\n\n      - name: Coveralls\n        uses: AndreMiras/coveralls-python-action@f5fd5c309b39d01599fb92c72d4f7409ea78aec9 # v20201129\n        with:\n          parallel: true\n\n      - name: Make docs\n        run: cd docs && make html\n\n  coveralls_finish:\n    name: Coveralls Finished\n    needs: tests\n    runs-on: ubuntu-latest\n    steps:\n    - uses: AndreMiras/coveralls-python-action@f5fd5c309b39d01599fb92c72d4f7409ea78aec9 # v20201129\n      with:\n        parallel-finished: true\n", "state": "active", "repository": "payu-org/payu"}
{"mined_at": "2024-07-15T12:38:29.225251", "created_at": "2021-08-06T18:19:27+02:00", "updated_at": "2021-08-06T18:19:27+02:00", "name": "Authomatic Tox", "path": ".github/workflows/main.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Authomatic Tox\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v3\n      - name: Update /etc/hosts\n        run: |\n          echo \"127.0.0.1 authomatic.org\" | sudo tee -a /etc/hosts\n          echo \"127.0.0.1 authomatic.com\" | sudo tee -a /etc/hosts\n          echo \"127.0.0.1 authomatic.test\" | sudo tee -a /etc/hosts\n\n      - name: Decrypt Secret Config\n        # secrets isn't available to forks or PRs\n        if: env.SECRETS_KEY != ''\n        # To encrypt, replace -d with -e and reverse -in and -out\n        run: |\n          openssl aes-256-cbc -pass env:SECRETS_KEY -d -md sha512 -pbkdf2 -iter 100000 -salt -in tests/functional_tests/config_secret.py.enc -out tests/functional_tests/config_secret.py\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Setup Tox\n        run: sudo pip install tox\n\n      - name: Run Tox\n        # Run tox using the version of Python in `PATH`\n        run: sudo tox -e py3\n\n      - name: Install pypi/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n          .\n\n      - name: Publish to PyPI\n        # Only publish on tagged pushes when building py3.9\n        if: matrix.python-version == '3.9' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "authomatic/authomatic"}
{"mined_at": "2024-07-15T12:38:31.293695", "created_at": "2022-11-09T09:20:54+01:00", "updated_at": "2023-08-21T03:11:17+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"develop\" ]\n  pull_request:\n    branches: [ \"develop\" ]\n  schedule:\n    - cron: \"24 21 * * 1\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python, javascript ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n        if: ${{ matrix.language == 'python' || matrix.language == 'javascript' }}\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "wolph/python-progressbar"}
{"mined_at": "2024-07-15T12:38:32.516034", "created_at": "2021-10-12T23:36:31+02:00", "updated_at": "2023-08-21T03:11:17+02:00", "name": "tox", "path": ".github/workflows/main.yml", "contents": "name: tox\n\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip tox\n    - name: Test with tox\n      run: tox\n", "state": "active", "repository": "wolph/python-progressbar"}
{"mined_at": "2024-07-15T12:38:33.506567", "created_at": "2023-08-21T02:36:54+02:00", "updated_at": "2023-08-21T03:09:08+02:00", "name": "Close stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Close stale issues and pull requests\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * *' # Run every day at midnight\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v8\n        with:\n          days-before-stale: 30\n          exempt-issue-labels: in-progress,help-wanted,pinned,security,enhancement\n          exempt-all-pr-assignees: true\n\n", "state": "active", "repository": "wolph/python-progressbar"}
{"mined_at": "2024-07-15T12:38:35.570084", "created_at": "2021-06-19T10:16:21+02:00", "updated_at": "2021-06-19T12:25:13+02:00", "name": "tests", "path": ".github/workflows/ci-linux-ubuntu.yml", "contents": "name: tests\n\non:\n  push:\n    branches-ignore:\n      - 'gh-pages'\n  pull_request:\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install test dependencies\n      run: |\n        ./install-test.sh\n    - name: Run unit tests\n      run: |\n        ./runtests.sh\n    - name: Coveralls\n      if: github.ref == 'refs/heads/master'\n      env:\n        COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n      run: |\n        coveralls\n", "state": "active", "repository": "igordejanovic/parglare"}
{"mined_at": "2024-07-15T12:38:36.535781", "created_at": "2022-01-08T13:02:59+01:00", "updated_at": "2022-01-08T13:02:59+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "igordejanovic/parglare"}
{"mined_at": "2024-07-15T12:38:40.646997", "created_at": "2021-07-06T16:53:53+02:00", "updated_at": "2024-06-12T18:19:18+02:00", "name": "test-build-files", "path": ".github/workflows/build.yaml", "contents": "name: test-build-files\n\non:\n  push:\n    branches-ignore:\n      - renovate/**\n      - deepsource-*\n  pull_request: {}\n\njobs:\n  dist-files:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: trim21/setup-poetry@dist/v2\n\n      - run: poetry build\n\n      - name: Install twine\n        run: pip install twine\n\n      - name: Check Files\n        run: twine check dist/*\n", "state": "active", "repository": "bgmi/bgmi"}
{"mined_at": "2024-07-15T12:38:41.711735", "created_at": "2021-01-04T01:26:10+01:00", "updated_at": "2021-01-04T01:26:10+01:00", "name": "lint", "path": ".github/workflows/lint.yaml", "contents": "name: lint\n\non:\n  push:\n    branches-ignore:\n      - renovate/**\n      - deepsource-*\n  pull_request: {}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: actions/checkout@v4\n      - uses: trim21/setup-poetry@dist/v2\n      - uses: trim21/install-poetry-project@dist/v2\n      - uses: liskin/gh-problem-matcher-wrap@v3\n        with:\n          action: add\n          linters: mypy\n\n      - name: mypy\n        run: |\n          if [[ \"${{ matrix.os }}\" == \"windows\" ]]\n          then\n              v=\"true\"\n          else\n              v=\"false\"\n          fi\n          mypy --show-column-numbers \"--always-$v=IS_WINDOWS\" bgmi\n\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - uses: trim21/setup-poetry@dist/v2\n      - uses: trim21/install-poetry-project@dist/v2\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          key: precommit-2-${{ env.PY }}-${{ hashFiles('.pre-commit-config.yaml') }}\n          restore-keys: precommit-2-${{ env.PY }}-\n\n      - name: pre-commit\n        run: pre-commit run --all-files --show-diff-on-failure && pre-commit gc\n", "state": "active", "repository": "bgmi/bgmi"}
{"mined_at": "2024-07-15T12:38:42.845952", "created_at": "2021-04-17T19:18:26+02:00", "updated_at": "2021-04-27T14:37:44+02:00", "name": "release", "path": ".github/workflows/release.yaml", "contents": "name: release\n\non:\n  push:\n    tags:\n      - \"v*.*.*\"\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n      - uses: trim21/setup-poetry@dist/v2\n\n      - run: poetry publish --build\n        env:\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n\n      # create GitHub release\n      - name: Get Tag Name\n        run: echo \"TAG=${GITHUB_REF##*/}\" >> $GITHUB_ENV\n\n      - name: Set up Go\n        uses: actions/setup-go@v5\n\n      - name: Install git-chglog\n        run: |\n          echo \"$(go env GOPATH)/bin\" >> $GITHUB_PATH\n          go install github.com/git-chglog/git-chglog/cmd/git-chglog@latest\n\n      - name: Generate Changelog\n        run: |\n          git-chglog \"$TAG\" | node -p 'require(\"fs\").readFileSync(0).toString().trim()\n            .split(\"\\n\").slice(4).join(\"\\n\").trim()' | tee chglog.md\n\n      - name: Upload Github Release\n        run: gh release create \"$TAG\" -F chglog.md ./dist/*\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bgmi/bgmi"}
{"mined_at": "2024-07-15T12:38:43.883772", "created_at": "2021-07-10T08:18:44+02:00", "updated_at": "2021-07-10T10:24:24+02:00", "name": "test downloader", "path": ".github/workflows/test-downloader.yaml", "contents": "name: test downloader\n\non:\n  workflow_dispatch:\n  push:\n    branches-ignore:\n      - renovate/**\n      - deepsource-*\n  pull_request: {}\n\ndefaults:\n  run:\n    shell: bash\n\nconcurrency:\n  group: '${{ github.workflow }}-${{ github.ref }}'\n  cancel-in-progress: true\n\njobs:\n  downloader:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n      - uses: trim21/setup-poetry@dist/v2\n      - uses: trim21/install-poetry-project@dist/v2\n      - name: start daemon\n        run: docker-compose -f tests/downloader/docker-compose.yaml up -d\n      - run: sleep 10\n        name: wait container ready\n      - name: test\n        run: |\n          set -ex\n          coverage run -a -m bgmi install\n          coverage run -a tests/downloader/setup.py\n          coverage run -a -m pytest tests/downloader -s\n\n      - run: coverage xml\n      - uses: codecov/codecov-action@v4\n        with:\n          flags: downloader\n          token: ${{ secrets.CODECOV_TOKEN }} # required\n", "state": "active", "repository": "bgmi/bgmi"}
{"mined_at": "2024-07-15T12:38:44.880688", "created_at": "2021-07-06T16:53:53+02:00", "updated_at": "2021-07-06T17:12:46+02:00", "name": "test", "path": ".github/workflows/test.yaml", "contents": "name: test\n\non:\n  schedule:\n    - cron: \"1 1 1 * *\" # monthly\n  workflow_dispatch:\n  push:\n    branches-ignore:\n      - renovate/**\n      - deepsource-*\n  pull_request: { }\n  merge_group:\n\ndefaults:\n  run:\n    shell: bash\n\nconcurrency:\n  group: '${{ github.workflow }}-${{ github.ref }}'\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: ${{ format('{0}-latest', matrix.os) }}\n    strategy:\n      matrix:\n        python: [ \"3.8\", \"3.12\" ]\n        os: [ macos, windows, ubuntu ]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - uses: trim21/setup-poetry@dist/v2\n\n      - uses: trim21/install-poetry-project@dist/v2\n\n      - name: test\n        run: |\n          set -ex\n          coverage run -a -m bgmi install\n          bgmi --help\n          coverage run -a -m pytest tests --cache-requests --ignore=tests/downloader\n\n      - run: coverage xml --omit templates/download_xml.generated.py\n      - uses: codecov/codecov-action@v4\n        with:\n          flags: app,front\n          token: ${{ secrets.CODECOV_TOKEN }} # required\n\n  test-all-pass:\n    needs:\n      - test\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo 'OK'\n", "state": "active", "repository": "bgmi/bgmi"}
{"mined_at": "2024-07-15T12:38:46.983448", "created_at": "2022-02-08T12:54:16+01:00", "updated_at": "2024-05-07T22:23:11+02:00", "name": "System test", "path": ".github/workflows/build.yml", "contents": "name: System test\n\n# Build and test using conda environment\n#\n# only \"lightweight test in CI\"\n# for example examples/example_03_brain_coregistration.py leas to an\n# out of memory error causing the workflow to be killed early\n\non:\n\n  push:\n    branches: [\"*\"]\n\n  schedule:\n    # Uses the cron schedule for github actions: \n    #  runs at midnight on the 1rst and 15th of every month\n    #\n    # https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#scheduled-events\n    #\n    # ┌───────────── minute (0 - 59)\n    # │ ┌───────────── hour (0 - 23)\n    # │ │ ┌───────────── day of the month (1 - 31)\n    # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n    # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    # │ │ │ │ │\n    # │ │ │ │ │\n    # │ │ │ │ │\n    # * * * * *\n    - cron: \"0 0 1,15 * *\"\n\njobs:\n  system-test:\n\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n        cmd:\n          [\n            \"python3 examples/testing_01*.py\",\n            \"python3 examples/testing_03*.py\",\n          ]\n\n    runs-on: ${{ matrix.os }}\n\n    # Make sure conda env is activated for every \"run\"\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Shallow clone of nighres repo\n        uses: actions/checkout@v3\n        with:\n          submodules: \"recursive\"\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }} env with conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          activate-environment: nighres\n          environment-file: conda-nighres.yml\n          python-version: ${{ matrix.python-version }}\n          auto-activate-base: false\n\n      - name: Update dependencies\n        run: |\n          make update_dep_shasum\n\n      - name: Build java dependencies\n        run: |\n          ./build.sh\n\n      - name: Install nighres\n        run: |\n          pip install .\n\n      - name: Conda environment info\n        run: |\n          conda info\n          conda list\n\n      - name: Run ${{ matrix.cmd }}\n        run: |\n          ${{ matrix.cmd }}\n", "state": "active", "repository": "nighres/nighres"}
{"mined_at": "2024-07-15T12:38:50.941837", "created_at": "2021-01-10T07:48:26+01:00", "updated_at": "2021-01-10T07:48:26+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel twine\n\n    - name: Verify tag is documented\n      run: |\n        CURRENT_TAG=${GITHUB_REF#refs/tags/}\n        CURRENT_VERSION=$(head -n1 social_django/__init__.py | awk '{print $3}' | sed 's/[^0-9\\.]//g')\n        if [ \"${CURRENT_VERSION}\" != \"${CURRENT_TAG}\" ]; then\n            echo \"========================================================================\"\n            echo \"Error: tag '${CURRENT_TAG}' and version '${CURRENT_VERSION}' don't match\"\n            echo \"========================================================================\"\n            exit 1;\n        fi\n\n    - name: Build dist\n      run: python setup.py sdist bdist_wheel --python-tag py3\n\n    - name: Archive dist\n      uses: actions/upload-artifact@v4\n      with:\n        name: dist\n        path: |\n          dist/*.tar.gz\n          dist/*.whl\n\n    - name: Verify long description rendering\n      run: twine check dist/*\n\n    - name: Publish\n      env:\n        PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        twine upload --non-interactive -u __token__ -p \"${PYPI_API_TOKEN}\" dist/*\n", "state": "active", "repository": "python-social-auth/social-app-django"}
{"mined_at": "2024-07-15T12:38:51.968517", "created_at": "2023-03-02T14:48:00+01:00", "updated_at": "2023-03-03T13:13:03+01:00", "name": "ruff", "path": ".github/workflows/ruff.yml", "contents": "name: ruff\n\non:\n  push:\n  pull_request:\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n        cache: pip\n        cache-dependency-path: requirements*.txt\n\n    - name: Install pre-commit\n      run: |\n        python -m pip install --upgrade pip wheel\n        pip install -r requirements-dev.txt\n\n    - name: Run ruff\n      run: pre-commit run ruff --all-files\n", "state": "active", "repository": "python-social-auth/social-app-django"}
{"mined_at": "2024-07-15T12:38:53.044620", "created_at": "2021-01-10T07:48:26+01:00", "updated_at": "2021-01-11T13:14:40+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  push:\n  pull_request:\n  schedule:\n  - cron: 0 0 * * 0\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n        - '3.8'\n        - '3.9'\n        - '3.10'\n        - '3.11'\n        - '3.12'\n    env:\n      PYTHON_VERSION: ${{ matrix.python-version }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install System dependencies\n      run: |\n        sudo apt update -qq -y\n        sudo apt install -qq -y --no-install-recommends libxmlsec1-dev swig\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox coverage\n\n    - name: Django 3.2.x Test\n      run: |\n        tox -e \"py${PYTHON_VERSION/\\./}-django32\"\n      if: ${{ env.PYTHON_VERSION == '3.8' || env.PYTHON_VERSION == '3.9' || env.PYTHON_VERSION == '3.10' }}\n\n    - name: Django 4.1.x Test\n      run: |\n        tox -e \"py${PYTHON_VERSION/\\./}-django41\"\n      if: ${{ env.PYTHON_VERSION == '3.8' || env.PYTHON_VERSION == '3.9' || env.PYTHON_VERSION == '3.10' || env.PYTHON_VERSION == '3.11' }}\n\n    - name: Django 4.2.x Test\n      run: |\n        tox -e \"py${PYTHON_VERSION/\\./}-django42\"\n      if: ${{ env.PYTHON_VERSION == '3.8' || env.PYTHON_VERSION == '3.9' || env.PYTHON_VERSION == '3.10' || env.PYTHON_VERSION == '3.11' }}\n\n    - name: Django 5.0.x Test\n      run: |\n        tox -e \"py${PYTHON_VERSION/\\./}-django50\"\n      if: ${{ env.PYTHON_VERSION == '3.10' || env.PYTHON_VERSION == '3.11' || env.PYTHON_VERSION == '3.12' }}\n\n    - name: Django main Test\n      run: |\n        tox -e \"py${PYTHON_VERSION/\\./}-djangomain\"\n      if: ${{ env.PYTHON_VERSION == '3.10' || env.PYTHON_VERSION == '3.11' || env.PYTHON_VERSION == '3.12' }}\n\n    - name: social-core master Test\n      run: |\n        tox -e \"py${PYTHON_VERSION/\\./}-socialmaster\"\n      if: ${{ env.PYTHON_VERSION == '3.10' || env.PYTHON_VERSION == '3.11' }}\n\n    - name: Coverage\n      run: |\n        coverage combine\n        coverage xml\n\n    - uses: codecov/codecov-action@v4\n      with:\n        flags: unittests\n        name: Python ${{ matrix.python-version }}\n", "state": "active", "repository": "python-social-auth/social-app-django"}
{"mined_at": "2024-07-15T12:38:54.987763", "created_at": "2022-03-23T12:39:35+01:00", "updated_at": "2022-03-23T12:39:35+01:00", "name": "Test and release", "path": ".github/workflows/main.yml", "contents": "name: Test and release\n\n# Fires on all incoming commits\non:\n  pull_request:\n  push:\n\njobs:\n\n  # Test all supported Python & Django versions\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # Django 2.2\n          - tox-env: \"py37-dj22\"\n            python-version: \"3.7\"\n          - tox-env: \"py38-dj22\"\n            python-version: \"3.8\"\n          - tox-env: \"py39-dj22\"\n            python-version: \"3.9\"\n          # Django 3.2\n          - tox-env: \"py37-dj32\"\n            python-version: \"3.7\"\n          - tox-env: \"py38-dj32\"\n            python-version: \"3.8\"\n          - tox-env: \"py39-dj32\"\n            python-version: \"3.9\"\n          - tox-env: \"py310-dj32\"\n            python-version: \"3.10\"\n          # Django 4.0\n          - tox-env: \"py38-dj40\"\n            python-version: \"3.8\"\n          - tox-env: \"py39-dj40\"\n            python-version: \"3.9\"\n          - tox-env: \"py310-dj40\"\n            python-version: \"3.10\"\n          # Django 4.1\n          - tox-env: \"py38-dj41\"\n            python-version: \"3.8\"\n          - tox-env: \"py39-dj41\"\n            python-version: \"3.9\"\n          - tox-env: \"py310-dj41\"\n            python-version: \"3.10\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: pip install -U pip tox\n      - name: Run tests\n        run: tox -e ${{ matrix.tox-env }}\n      - name: Publish Test Report\n        uses: mikepenz/action-junit-report@v3\n        with:\n          report_paths: '**/junit/TEST-*.xml'\n\n  # Lint\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: pip install tox -U pip\n      - name: Lint\n        run: tox -e package -e lint -e pyupgrade\n\n  # Create a new semantic release\n  # Only runs on the original repo, not forks\n  release:\n    if: github.repository_owner == 'stephenmcd'\n    needs: [test, lint]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: 3.9\n      - uses: actions/setup-node@v3\n      - uses: cycjimmy/semantic-release-action@v3\n        with:\n          semantic_version: 18\n          extra_plugins: |\n            @semantic-release/exec@6\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n\n  # Build and deploy docs  \n  docs:\n    if: github.ref == 'refs/heads/stable'\n    needs: release\n    name: build and deploy docs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout \n        uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: 3.9\n      - name: Install deps\n        run: pip install -e . && pip install sphinx\n      - uses: actions-ecosystem/action-get-latest-tag@v1\n        id: get-latest-tag\n        with:\n          semver_only: true\n      - name: Get release tag\n        run: echo \"RELEASE_TAG=${{ steps.get-latest-tag.outputs.tag }}\" >> $GITHUB_ENV\n      - name: Build docs\n        run: sphinx-build -b html docs docs/build\n      - name: Deploy to GitHub Pages\n        if: success()\n        uses: crazy-max/ghaction-github-pages@v2\n        with:\n          target_branch: gh-pages\n          build_dir: docs/build\n          fqdn: cartridge.jupo.org\n          jekyll: false\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "stephenmcd/cartridge"}
{"mined_at": "2024-07-15T12:38:56.986246", "created_at": "2022-12-06T11:10:39+01:00", "updated_at": "2022-12-06T11:45:08+01:00", "name": "backup", "path": ".github/workflows/backup.yml", "contents": "name: backup\n\non:\n  schedule:\n    - cron: \"30 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  backup_database:\n    name: Backup PostgreSQL Database\n    runs-on: ubuntu-22.04\n    environment: production\n    steps:\n      #----------------------------------------------\n      # Copy backup script to server. Load repo\n      #----------------------------------------------\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      #----------------------------------------------\n      # Copy backup script\n      #----------------------------------------------\n      - name: copy backup scripts\n        uses: appleboy/scp-action@master\n        with:\n          host: ${{ secrets.SSH_HOST }}\n          username: ${{ secrets.SSH_USERNAME }}\n          key: ${{ secrets.SSH_KEY }}\n          port: ${{ secrets.SSH_PORT }}\n          passphrase: ${{ secrets.SSH_PASSPHRASE }}\n          source: \"deploy/postgres/maintenance/backup_on_server.bash,deploy/postgres/maintenance/copy_backup_on_server.bash,deploy/postgres/maintenance/copy_media_on_server.bash\"\n          target: \"pythondigest/\"\n\n      #----------------------------------------------\n      # Make backup\n      #----------------------------------------------\n      - name: make backup\n        uses: appleboy/ssh-action@v1.0.3\n        with:\n          host: ${{ secrets.SSH_HOST }}\n          username: ${{ secrets.SSH_USERNAME }}\n          key: ${{ secrets.SSH_KEY }}\n          port: ${{ secrets.SSH_PORT }}\n          passphrase: ${{ secrets.SSH_PASSPHRASE }}\n          script: |\n            export POSTGRES_HOST=\"${{ secrets.POSTGRES_HOST }}\"\n            export POSTGRES_PORT=\"${{ secrets.POSTGRES_PORT }}\"\n            export POSTGRES_DB=\"${{ secrets.POSTGRES_DB }}\"\n            export POSTGRES_USER=\"${{ secrets.POSTGRES_USER }}\"\n            export POSTGRES_PASSWORD=\"${{ secrets.POSTGRES_PASSWORD }}\"\n\n            # chown page\n            cd ~/pythondigest/deploy/postgres/maintenance/\n\n            # make backup\n            bash backup_on_server.bash\n\n      #----------------------------------------------\n      # Upload backup to drive\n      #----------------------------------------------\n      - name: upload backup to drive\n        uses: appleboy/ssh-action@v1.0.3\n        with:\n          host: ${{ secrets.SSH_HOST }}\n          username: ${{ secrets.SSH_USERNAME }}\n          key: ${{ secrets.SSH_KEY }}\n          port: ${{ secrets.SSH_PORT }}\n          passphrase: ${{ secrets.SSH_PASSPHRASE }}\n          script: |\n            # chown page\n            cd ~/pythondigest/deploy/postgres/maintenance/\n\n            # upload backups to drive\n            screen -dmS backup-rsync bash copy_backup_on_server.bash\n\n      #----------------------------------------------\n      # Upload media to drive\n      #----------------------------------------------\n      - name: upload media files to drive\n        uses: appleboy/ssh-action@v1.0.3\n        with:\n          host: ${{ secrets.SSH_HOST }}\n          username: ${{ secrets.SSH_USERNAME }}\n          key: ${{ secrets.SSH_KEY }}\n          port: ${{ secrets.SSH_PORT }}\n          passphrase: ${{ secrets.SSH_PASSPHRASE }}\n          script: |\n            # chown page\n            cd ~/pythondigest/deploy/postgres/maintenance/\n\n            # upload media files to drive\n            screen -dmS backup-rsync bash copy_media_on_server.bash\n", "state": "active", "repository": "pythondigest/pythondigest"}
{"mined_at": "2024-07-15T12:38:58.002051", "created_at": "2022-12-02T10:23:24+01:00", "updated_at": "2022-12-06T11:45:08+01:00", "name": "build and deploy to server", "path": ".github/workflows/ci.yml", "contents": "# from https://github.com/marketplace/actions/install-poetry-action\n\nname: build and deploy to server\n\nenv:\n  DOCKER_BUILDKIT: 1\n  COMPOSE_DOCKER_CLI_BUILD: 1\n\non:\n  push:\n    branches: [ \"master\", \"main\" ]\n    paths-ignore: [ \"docs/**\" ]\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  linter:\n    name: Linter\n    runs-on: ubuntu-22.04\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v4\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root\n      #----------------------------------------------\n      # install your root project, if required\n      #----------------------------------------------\n      - name: Install project\n        run: poetry install --no-interaction\n\n      #----------------------------------------------\n      # Run poetry\n      #----------------------------------------------\n      - name: Run pre-commit\n        uses: pre-commit/action@v3.0.0\n\n  test:\n    name: Test\n    runs-on: ubuntu-22.04\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v4\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root\n      #----------------------------------------------\n      # install your root project, if required\n      #----------------------------------------------\n      - name: Install project\n        run: poetry install --no-interaction\n      #----------------------------------------------\n      #              run test suite\n      #----------------------------------------------\n      - name: Run tests\n        run: |\n          source .venv/bin/activate\n          coverage run --source='.' manage.py test\n          coverage report\n          coverage xml\n      #----------------------------------------------\n      #             upload coverage stats\n      # (requires CODECOV_TOKEN in repository secrets)\n      #----------------------------------------------\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}  # Only required for private repositories\n          file: ./coverage.xml\n          fail_ci_if_error: true\n\n  build:\n    name: Build\n    runs-on: ubuntu-22.04\n    needs: [test, linter]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      #----------------------------------------------\n      # Prepare commit info for deploy\n      #----------------------------------------------\n      - name: Inject slug/short variables\n        uses: rlespinasse/github-slug-action@v4\n      #----------------------------------------------\n      # Extact commit info for build\n      #----------------------------------------------\n      - name: Docker meta\n        uses: docker/metadata-action@v5\n        id: meta\n        with:\n          images: ${{ env.GITHUB_REPOSITORY }}\n          tags: |\n            type=ref,event=branch\n            type=ref,event=pr\n            type=raw,value=latest,enable={{is_default_branch}}\n      #----------------------------------------------\n      # Prepare for building image\n      #----------------------------------------------\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        id: buildx\n      #----------------------------------------------\n      # Auth to docker hub\n      #----------------------------------------------\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      #----------------------------------------------\n      # Build and upload image\n      #----------------------------------------------\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: deploy/django/Dockerfile\n          push: true\n          ulimit: nofile=1048576:1048576\n          builder: ${{ steps.buildx.outputs.name }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          platforms: linux/amd64\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n  deploy:\n    name: Deploy\n    runs-on: ubuntu-22.04\n    needs: build\n    environment:\n      name: production\n    steps:\n      #----------------------------------------------\n      # Copy docker compose production config\n      #----------------------------------------------\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      #----------------------------------------------\n      # Prepare commit info for deploy\n      #----------------------------------------------\n      - name: Inject slug/short variables\n        uses: rlespinasse/github-slug-action@v4\n\n      #----------------------------------------------\n      # Copy configs to server\n      #----------------------------------------------\n      - name: copy configs\n        uses: appleboy/scp-action@master\n        with:\n          host: ${{ secrets.SSH_HOST }}\n          username: ${{ secrets.SSH_USERNAME }}\n          key: ${{ secrets.SSH_KEY }}\n          port: ${{ secrets.SSH_PORT }}\n          passphrase: ${{ secrets.SSH_PASSPHRASE }}\n          source: \"deploy/docker_compose.prod.yml,deploy/nginx.conf,deploy/crontab.conf\"\n          target: \"pythondigest/\"\n\n      #----------------------------------------------\n      # Run docker compose\n      #----------------------------------------------\n      - name: executing remote ssh commands\n        uses: appleboy/ssh-action@v1.0.3\n        with:\n          host: ${{ secrets.SSH_HOST }}\n          username: ${{ secrets.SSH_USERNAME }}\n          key: ${{ secrets.SSH_KEY }}\n          port: ${{ secrets.SSH_PORT }}\n          passphrase: ${{ secrets.SSH_PASSPHRASE }}\n          script: |\n            export DJANGO_SECRET_KEY=\"${{ secrets.DJANGO_SECRET_KEY }}\"\n            export REDIS_URL=\"${{ secrets.REDIS_URL }}\"\n            export POSTGRES_HOST=\"${{ secrets.POSTGRES_HOST }}\"\n            export POSTGRES_PORT=\"${{ secrets.POSTGRES_PORT }}\"\n            export POSTGRES_DB=\"${{ secrets.POSTGRES_DB }}\"\n            export POSTGRES_USER=\"${{ secrets.POSTGRES_USER }}\"\n            export POSTGRES_PASSWORD=\"${{ secrets.POSTGRES_PASSWORD }}\"\n            export SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\"\n            export SENTRY_ENVIRONMENT=\"${{ secrets.SENTRY_ENVIRONMENT }}\"\n            export BASE_DOMAIN=\"${{ secrets.BASE_DOMAIN }}\"\n            export USE_DOCKER=\"${{ secrets.USE_DOCKER }}\"\n            export GITTER_TOKEN=\"${{ secrets.GITTER_TOKEN }}\"\n            export TWITTER_CONSUMER_KEY=\"${{ secrets.TWITTER_CONSUMER_KEY }}\"\n            export TWITTER_CONSUMER_SECRET=\"${{ secrets.TWITTER_CONSUMER_SECRET }}\"\n            export TWITTER_TOKEN=\"${{ secrets.TWITTER_TOKEN }}\"\n            export TWITTER_TOKEN_SECRET=\"${{ secrets.TWITTER_TOKEN_SECRET }}\"\n            export TGM_BOT_ACCESS_TOKEN=\"${{ secrets.TGM_BOT_ACCESS_TOKEN }}\"\n            export TGM_CHANNEL=\"${{ secrets.TGM_CHANNEL }}\"\n            export IFTTT_MAKER_KEY=\"${{ secrets.IFTTT_MAKER_KEY }}\"\n            export VK_APP_ID=\"${{ secrets.VK_APP_ID }}\"\n            export VK_LOGIN=\"${{ secrets.VK_LOGIN }}\"\n            export VK_PASSWORD=\"${{ secrets.VK_PASSWORD }}\"\n\n            # image tag\n            export COMMIT_TAG=${{env.GITHUB_REF_SLUG}}\n\n            cd ~/pythondigest/deploy/\n\n            # deploy app\n            docker compose -f docker_compose.prod.yml pull\n            docker compose -f docker_compose.prod.yml up -d\n\n            # prepare static folders for serve\n            cd ~/pythondigest/deploy/\n            sudo usermod -a -G pythondigest www-data\n            sudo chown -R :www-data static\n            sudo chown -R :www-data media\n\n            # make link for serve django-remdow links:\n            # django-remdow download external image to local png file\n            # if original file is jpeg - download it and create symlink to png file\n            # this commands create link outside container to this symlinks\n            sudo mkdir -p /app/static/remdow/\n            sudo ln -s /home/pythondigest/pythondigest/deploy/static/remdow/img /app/static/remdow/img\n\n            # validate and reload nginx\n            sudo mkdir -p /var/log/nginx/pythondigest/\n            sudo nginx -t && sudo service nginx reload\n\n            # update crontab\n            crontab < crontab.conf\n", "state": "active", "repository": "pythondigest/pythondigest"}
{"mined_at": "2024-07-15T12:38:59.080643", "created_at": "2022-12-06T11:55:38+01:00", "updated_at": "2022-12-06T11:55:38+01:00", "name": "run tests", "path": ".github/workflows/tests.yml", "contents": "name: run tests\n\non:\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  linter:\n    name: Linter\n    runs-on: ubuntu-22.04\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v4\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root\n      #----------------------------------------------\n      # install your root project, if required\n      #----------------------------------------------\n      - name: Install project\n        run: poetry install --no-interaction\n\n      #----------------------------------------------\n      # Run poetry\n      #----------------------------------------------\n      - name: Run pre-commit\n        uses: pre-commit/action@v3.0.0\n\n\n  test:\n    name: Test\n    runs-on: ubuntu-22.04\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v4\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root\n      #----------------------------------------------\n      # install your root project, if required\n      #----------------------------------------------\n      - name: Install project\n        run: poetry install --no-interaction\n      #----------------------------------------------\n      #              run test suite\n      #----------------------------------------------\n      - name: Run tests\n        run: |\n          source .venv/bin/activate\n          coverage run --source='.' manage.py test\n          coverage report\n          coverage xml\n      #----------------------------------------------\n      #             upload coverage stats\n      # (requires CODECOV_TOKEN in repository secrets)\n      #----------------------------------------------\n      - name: Upload coverage\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}  # Only required for private repositories\n          file: ./coverage.xml\n          fail_ci_if_error: true\n", "state": "active", "repository": "pythondigest/pythondigest"}
{"mined_at": "2024-07-15T12:39:01.081386", "created_at": "2020-10-01T12:30:58+02:00", "updated_at": "2023-06-02T19:50:26+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [master]\n    paths-ignore: \n      - src/c3nav/static/jquery/\n      - src/c3nav/static/bootstrap/\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 6 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python', 'javascript']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file. \n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n      \n", "state": "active", "repository": "c3nav/c3nav"}
{"mined_at": "2024-07-15T12:39:03.075678", "created_at": "2020-04-10T21:38:19+02:00", "updated_at": "2020-04-10T21:38:19+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  test-linux:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # Don't test pypy3.10, it currently is broken on GitHub Actions.\n        # re-enable once PyYAML can be installed again. See #225\n        python-version: [\"3.7\", \"3.12\", \"pypy3.10\"]\n        include:\n          - python-version: 3.7\n            coverage: \"--cov=rebench\"\n    name: \"Ubuntu-latest: Python ${{ matrix.python-version }}\"\n    steps:\n      - name: Checkout ReBench\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n\n      - name: Install PyTest\n        run: pip install pytest\n\n      - name: Install coverage and coveralls\n        run: pip install pytest-cov coveralls\n        if: matrix.coverage\n\n      - name: Install ReBench dependencies\n        run: pip install .\n\n      - name: Run tests\n        run: |\n          pytest ${{ matrix.coverage }}\n          (cd rebench && rebench ../rebench.conf e:TestRunner2)\n\n      - name: Install and run pylint\n        run: |\n          pip install pylint\n          pylint rebench\n        if: matrix.python-version == '3.11'\n\n      - name: Upload coverage results to Coveralls\n        run: coveralls\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n        if: ${{ matrix.coverage && env.COVERALLS_REPO_TOKEN != '' }}\n\n  test-macos:\n    runs-on: macos-latest\n    name: \"macOS: Python 3.11\"\n    steps:\n      - name: Checkout ReBench\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install PyTest\n        run: pip install pytest\n\n      - name: Install ReBench dependencies\n        run: pip install .\n\n      - name: Run tests\n        run: |\n          python -m pytest\n          (cd rebench && rebench ../rebench.conf e:TestRunner2)\n\n  test-docker:\n    name: \"Docker: python:3\"\n    runs-on: ubuntu-latest\n    container:\n      image: python:3\n\n    steps:\n      - name: Check for dockerenv file\n        run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)\n\n      - name: Install Time Command\n        run: |\n          apt-get update\n          apt-get install -y --no-install-recommends time\n\n      - name: Checkout ReBench\n        uses: actions/checkout@v4\n\n      - name: Install PyTest\n        run: pip3 install pytest\n\n      - name: Install ReBench dependencies\n        run: pip3 install .\n\n      - name: Run Test Run\n        run: (cd rebench && rebench -D ../rebench.conf e:TestRunner2)\n\n      - name: Run Unit Tests\n        run: python3 -m pytest\n", "state": "active", "repository": "smarr/rebench"}
{"mined_at": "2024-07-15T12:39:04.073844", "created_at": "2020-05-03T00:47:04+02:00", "updated_at": "2020-05-03T00:47:04+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Publish to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and Publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist build\n        python setup.py sdist bdist_wheel\n        # twine upload --repository testpypi dist/*\n        twine upload dist/*\n", "state": "active", "repository": "smarr/rebench"}
{"mined_at": "2024-07-15T12:39:06.069133", "created_at": "2021-03-11T02:21:24+01:00", "updated_at": "2023-12-08T02:00:51+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n  schedule:\n    - cron: \"0 11 * * *\"\n    \njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.9]\n        os : [\"ubuntu-latest\", \"macos-latest\"]                \n      fail-fast: false\n    steps:\n    - uses: actions/checkout@v3\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        miniforge-variant: Mambaforge\n        activate-environment: fermipy\n        environment-file: environment.yml\n        python-version: ${{ matrix.python-version }}\n        auto-activate-base: false\n    - name: Install\n      shell: bash -l {0}\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install pylint pytest pytest-cov        \n    - name: Lint with pylint\n      shell: bash -l {0}\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        #pylint --reports=no --errors-only fermipy\n        # stp the build if there are a lot of messages\n        #pylint --reports=no --fail-under=9.5 fermipy\n        # exit-zero treats all errors as warnings.\n        pylint --exit-zero fermipy\n    - name: Test with pytest and codecov\n      shell: bash -l {0}\n      run: |\n        python -m pytest --cov=./fermipy --cov-report=xml fermipy\n#      if: runner.os == 'macOS'\n#    - name: Test with pytest without codecov\n#      shell: bash -l {0}\n#      run: |\n#        python -m pytest fermipy\n#      if: runner.os != 'macOS'\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        files: ./coverage.xml\n        flags: unittests\n        env_vars: OS,PYTHON\n        name: codecov-umbrella\n        fail_ci_if_error: true\n        token: ${{ secrets.CODECOV_TOKEN }} # required\n        \n", "state": "active", "repository": "fermipy/fermipy"}
{"mined_at": "2024-07-15T12:39:08.138629", "created_at": "2020-01-09T20:39:19+01:00", "updated_at": "2020-01-09T20:39:19+01:00", "name": "Mark/close stale issues and pull requests", "path": "", "contents": null, "state": "active", "repository": "snorkel-team/snorkel"}
{"mined_at": "2024-07-15T12:39:09.261000", "created_at": "2019-12-19T13:00:43+01:00", "updated_at": "2019-12-19T13:00:43+01:00", "name": "Mark/close stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Mark/close stale issues and pull requests\n\non:\n  schedule:\n  - cron: \"0 12 * * *\"\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/stale@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.'\n        stale-pr-message: 'This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.'\n        stale-issue-label: 'no-issue-activity'\n        stale-pr-label: 'no-pr-activity'\n        exempt-issue-label: 'no-stale'\n        days-before-stale: 90\n        days-before-close: 7\n", "state": "active", "repository": "snorkel-team/snorkel"}
{"mined_at": "2024-07-15T12:39:11.276765", "created_at": "2022-03-02T11:58:49+01:00", "updated_at": "2022-03-02T13:37:00+01:00", "name": "CI", "path": ".github/workflows/tests.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: update pip\n      run: |\n        python -m pip install --upgrade pip\n\n    - name: Check docs build\n      run: |\n        python -m pip install -r docs/requirements.txt\n        cd docs; make html; cd ..;\n\n    - name: install the library\n      run: |\n        python -m pip install -r requirements.txt\n        python setup.py develop\n\n    - name: Run tests\n      run: |\n        python -m pip install -r test_requirements.txt\n        coverage run --source=ciw -m unittest discover\n\n    - name: Report coverage\n      run: |\n        coverage report -m --fail-under=100\n\n    - name: Run docts\n      run: |\n        python doctests.py\n\n    - name: Test parallel processing script\n      run: |\n        python docs/_static/script_for_parallel_processing/main.py\n", "state": "active", "repository": "ciwpython/ciw"}
{"mined_at": "2024-07-15T12:39:13.287189", "created_at": "2024-06-20T15:10:16+02:00", "updated_at": "2024-06-20T15:10:16+02:00", "name": "tests_development", "path": ".github/workflows/dev.yml", "contents": "name: tests_development\non:\n  # push:\n  #   branches: [ \"development\" ]\n  pull_request:\n    branches: [ \"development\" ]\n  workflow_dispatch:\n\njobs:\n    run_tests_development:\n      runs-on: ubuntu-latest\n      container: node:20-bookworm\n      steps:\n        \n      - name: install packs\n        run: |\n          apt update\n          apt install -y libudev-dev libusb-1.0-0-dev curl jq\n          apt install -y python3-pip python3.11-venv\n\n      # - name: install ipfs\n      #   run: |\n      #     wget https://dist.ipfs.io/go-ipfs/v0.9.0/go-ipfs_v0.9.0_linux-amd64.tar.gz\n      #     tar -xvzf go-ipfs_v0.9.0_linux-amd64.tar.gz\n      #     bash go-ipfs/install.sh\n      #     ipfs --version\n      #     node --version\n\n      - name: clone repo\n        uses: actions/checkout@v3\n\n      - name: install pip packages\n        run: |\n          pip3 install -r requirements.txt --break-system-packages\n          # pip3 install nose --break-system-packages\n          # pip3 uninstall pyreadline --break-system-packages\n          # pip3 install pyreadline3 --break-system-packages\n          \n      - name: install snet-cli\n        run: |\n          # ./scripts/blockchain install\n          pip3 install -e . --break-system-packages\n          \n      # - name: install platform-contracts\n      #   run: |\n      #     cd ..\n      #     git clone https://github.com/singnet/platform-contracts.git\n      #     cd platform-contracts\n      #     npm install\n      #     npm install ganache-cli\n      #     npm run-script compile\n\n      # - name: build example service\n      #   run: |\n      #     git clone https://github.com/singnet/example-service.git\n      #     cd example-service\n      #     pip3 install -r requirements.txt --break-system-packages\n      #     sh buildproto.sh\n          \n      # - name: unit tests\n      #   run: |\n      #     cd ./snet/cli/test\n      #     nosetests -v --with-doctest\n\n      - name: functional tests for cli\n        run: |\n          export SNET_TEST_WALLET_PRIVATE_KEY=${{ secrets.PRIV_KEY }}\n          export SNET_TEST_INFURA_KEY=${{ secrets.INF_KEY }}\n          export FORMER_SNET_TEST_INFURA_KEY=${{ secrets.FORM_INF_KEY }}\n          export PIP_BREAK_SYSTEM_PACKAGES=1\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          # sh -ex ./snet/cli/test/utils/run_all_functional.sh\n          python3 ./snet/cli/test/functional_tests/test_entry_point.py\n", "state": "active", "repository": "singnet/snet-cli"}
{"mined_at": "2024-07-15T12:39:14.294838", "created_at": "2024-06-20T15:10:16+02:00", "updated_at": "2024-06-20T15:10:16+02:00", "name": "tests_master", "path": ".github/workflows/master.yml", "contents": "name: tests_master\non:\n  # push:\n  #   branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  workflow_dispatch:\n\njobs:\n    run_tests_master:\n      runs-on: ubuntu-latest\n      container: node:20-bookworm\n      steps:\n        \n      - name: install packs\n        run: |\n          apt update\n          apt install -y libudev-dev libusb-1.0-0-dev curl jq\n          apt install -y python3-pip python3.11-venv\n\n      # - name: install ipfs\n      #   run: |\n      #     wget https://dist.ipfs.io/go-ipfs/v0.9.0/go-ipfs_v0.9.0_linux-amd64.tar.gz\n      #     tar -xvzf go-ipfs_v0.9.0_linux-amd64.tar.gz\n      #     bash go-ipfs/install.sh\n      #     ipfs --version\n      #     node --version\n\n      - name: clone repo\n        uses: actions/checkout@v3\n\n      - name: install pip packages\n        run: |\n          pip3 install -r requirements.txt --break-system-packages\n          # pip3 install nose --break-system-packages\n          # pip3 uninstall pyreadline --break-system-packages\n          # pip3 install pyreadline3 --break-system-packages\n          \n      - name: install snet-cli\n        run: |\n          # ./scripts/blockchain install\n          pip3 install -e . --break-system-packages\n          \n      # - name: install platform-contracts\n      #   run: |\n      #     cd ..\n      #     git clone https://github.com/singnet/platform-contracts.git\n      #     cd platform-contracts\n      #     npm install\n      #     npm install ganache-cli\n      #     npm run-script compile\n\n      # - name: build example service\n      #   run: |\n      #     git clone https://github.com/singnet/example-service.git\n      #     cd example-service\n      #     pip3 install -r requirements.txt --break-system-packages\n      #     sh buildproto.sh\n          \n      # - name: unit tests\n      #   run: |\n      #     cd ./snet/cli/test\n      #     nosetests -v --with-doctest\n\n      - name: functional tests for cli\n        run: |\n          export SNET_TEST_WALLET_PRIVATE_KEY=${{ secrets.PRIV_KEY }}\n          export SNET_TEST_INFURA_KEY=${{ secrets.INF_KEY }}\n          export FORMER_SNET_TEST_INFURA_KEY=${{ secrets.FORM_INF_KEY }}\n          export PIP_BREAK_SYSTEM_PACKAGES=1\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          # sh -ex ./snet/cli/test/utils/run_all_functional.sh\n          python3 ./snet/cli/test/functional_tests/test_entry_point.py\n", "state": "active", "repository": "singnet/snet-cli"}
{"mined_at": "2024-07-15T12:39:17.282195", "created_at": "2021-11-17T19:51:43+01:00", "updated_at": "2021-11-17T19:51:43+01:00", "name": "Build Status", "path": ".github/workflows/ci.yml", "contents": "name: Build Status \n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    \n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9 \n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r test_requirements.txt\n        pip install -e . -v\n    - name: Lint with flake8\n      run: flake8\n    - name: Check formatting\n      run: black --check EXOSIMS tests\n    - name: Run tests and coverage\n      run: coverage run -m unittest discover -v\n    - name: Coveralls\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n          coveralls --service=github\n", "state": "active", "repository": "dsavransky/exosims"}
{"mined_at": "2024-07-15T12:39:18.287785", "created_at": "2021-02-19T21:36:51+01:00", "updated_at": "2021-02-19T21:36:51+01:00", "name": "Upload to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Upload to PyPI\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n\n", "state": "active", "repository": "dsavransky/exosims"}
{"mined_at": "2024-07-15T12:39:21.397756", "created_at": "2021-03-17T19:51:47+01:00", "updated_at": "2021-03-17T19:51:47+01:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": "name: Lint\n\non: [pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n      - uses: psf/black@stable\n", "state": "active", "repository": "pepkit/peppy"}
{"mined_at": "2024-07-15T12:39:22.416446", "created_at": "2020-08-06T14:58:19+02:00", "updated_at": "2020-08-06T14:58:19+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    name: upload release to PyPI\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      run: |\n        python setup.py sdist bdist_wheel\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "pepkit/peppy"}
{"mined_at": "2024-07-15T12:39:23.432370", "created_at": "2021-11-05T02:02:05+01:00", "updated_at": "2021-11-05T02:19:42+01:00", "name": "Run codecov", "path": ".github/workflows/run-codecov.yml", "contents": "name: Run codecov\n\non:\n  pull_request:\n    branches: [master]\n\njobs:\n  pytest:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.9]\n        os: [ubuntu-latest]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v2\n      with:\n        file: ./coverage.xml\n        name: py-${{ matrix.python-version }}-${{ matrix.os }}\n", "state": "active", "repository": "pepkit/peppy"}
{"mined_at": "2024-07-15T12:39:24.625709", "created_at": "2020-07-02T16:21:35+02:00", "updated_at": "2020-07-02T16:21:35+02:00", "name": "Run pytests", "path": ".github/workflows/run-pytest.yml", "contents": "name: Run pytests\n\non:\n  push:\n    branches: [dev]\n  pull_request:\n    branches: [master, dev]\n\njobs:\n  pytest:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.12\"]\n        os: [ubuntu-20.04]\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dev dependencies\n      run: if [ -f requirements/requirements-dev.txt ]; then pip install -r requirements/requirements-dev.txt; fi\n\n    - name: Install test dependencies\n      run: if [ -f requirements/requirements-test.txt ]; then pip install -r requirements/requirements-test.txt; fi\n\n    - name: Install package\n      run: python -m pip install .\n\n    - name: Run pytest tests\n      run: pytest tests -x -vv --cov=./ --cov-report=xml --remote-data\n", "state": "active", "repository": "pepkit/peppy"}
{"mined_at": "2024-07-15T12:39:26.671741", "created_at": "2023-05-22T15:54:29+02:00", "updated_at": "2023-06-05T16:56:58+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "---\nname: Codespell\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\npermissions:\n  contents: read\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "kevin1024/vcrpy"}
{"mined_at": "2024-07-15T12:39:27.692850", "created_at": "2023-07-20T22:55:38+02:00", "updated_at": "2023-07-23T23:09:52+02:00", "name": "Validate docs", "path": ".github/workflows/docs.yml", "contents": "name: Validate docs\n\non:\n  push:\n    paths:\n      - 'docs/**'\n\njobs:\n  validate:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install build dependencies\n        run: pip install -r docs/requirements.txt\n      - name: Rendering HTML documentation\n        run: sphinx-build -b html docs/ html\n      - name: Inspect html rendered\n        run: cat html/index.html\n", "state": "active", "repository": "kevin1024/vcrpy"}
{"mined_at": "2024-07-15T12:39:28.708402", "created_at": "2021-11-02T21:31:01+01:00", "updated_at": "2021-11-02T21:31:01+01:00", "name": "Test", "path": ".github/workflows/main.yml", "contents": "name: Test\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  schedule:\n    - cron: '0 16 * * 5'  # Every Friday 4pm\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          - \"pypy-3.8\"\n          - \"pypy-3.9\"\n          - \"pypy-3.10\"\n        urllib3-requirement:\n          - \"urllib3>=2\"\n          - \"urllib3<2\"\n\n        exclude:\n          - python-version: \"3.8\"\n            urllib3-requirement: \"urllib3>=2\"\n          - python-version: \"pypy-3.8\"\n            urllib3-requirement: \"urllib3>=2\"\n          - python-version: \"3.9\"\n            urllib3-requirement: \"urllib3>=2\"\n          - python-version: \"pypy-3.9\"\n            urllib3-requirement: \"urllib3>=2\"\n          - python-version: \"pypy-3.10\"\n            urllib3-requirement: \"urllib3>=2\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n\n      - name: Install project dependencies\n        run: |\n          pip install --upgrade pip setuptools\n          pip install codecov '.[tests]' '${{ matrix.urllib3-requirement }}'\n          pip check\n\n      - name: Run online tests\n        run: ./runtests.sh --cov=./vcr --cov-branch --cov-report=xml --cov-append -m online\n\n      - name: Run offline tests with no access to the Internet\n        run: |\n          # We're using unshare to take Internet access\n          # away so that we'll notice whenever some new test\n          # is missing @pytest.mark.online decoration in the future\n          unshare --map-root-user --net -- \\\n              sh -c 'ip link set lo up; ./runtests.sh --cov=./vcr --cov-branch --cov-report=xml --cov-append -m \"not online\"'\n\n      - name: Run coverage\n        run: codecov\n", "state": "active", "repository": "kevin1024/vcrpy"}
{"mined_at": "2024-07-15T12:39:29.704871", "created_at": "2023-12-12T18:58:22+01:00", "updated_at": "2023-12-12T20:28:22+01:00", "name": "Detect outdated pre-commit hooks", "path": ".github/workflows/pre-commit-detect-outdated.yml", "contents": "# Copyright (c) 2023 Sebastian Pipping <sebastian@pipping.org>\n# Licensed under the MIT license\n\nname: Detect outdated pre-commit hooks\n\non:\n  schedule:\n    - cron: '0 16 * * 5'  # Every Friday 4pm\n\n# NOTE: This will drop all permissions from GITHUB_TOKEN except metadata read,\n#       and then (re)add the ones listed below:\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  pre_commit_detect_outdated:\n    name: Detect outdated pre-commit hooks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install pre-commit\n        run: |-\n          pip install \\\n            --disable-pip-version-check \\\n            --no-warn-script-location \\\n            --user \\\n            pre-commit\n          echo \"PATH=${HOME}/.local/bin:${PATH}\" >> \"${GITHUB_ENV}\"\n\n      - name: Check for outdated hooks\n        run: |-\n          pre-commit autoupdate\n          git diff -- .pre-commit-config.yaml\n\n      - name: Create pull request from changes (if any)\n        id: create-pull-request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          author: 'pre-commit <pre-commit@tools.invalid>'\n          base: master\n          body: |-\n            For your consideration.\n\n            :warning: Please **CLOSE AND RE-OPEN** this pull request so that [further workflow runs get triggered](https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs) for this pull request.\n          branch: precommit-autoupdate\n          commit-message: \"pre-commit: Autoupdate\"\n          delete-branch: true\n          draft: true\n          labels: enhancement\n          title: \"pre-commit: Autoupdate\"\n\n      - name: Log pull request URL\n        if: \"${{ steps.create-pull-request.outputs.pull-request-url }}\"\n        run: |\n          echo \"Pull request URL is: ${{ steps.create-pull-request.outputs.pull-request-url }}\"\n", "state": "active", "repository": "kevin1024/vcrpy"}
{"mined_at": "2024-07-15T12:39:30.767452", "created_at": "2023-12-12T18:58:22+01:00", "updated_at": "2023-12-12T20:28:22+01:00", "name": "Run pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "# Copyright (c) 2023 Sebastian Pipping <sebastian@pipping.org>\n# Licensed under the MIT license\n\nname: Run pre-commit\n\non:\n- pull_request\n- push\n- workflow_dispatch\n\njobs:\n  pre-commit:\n    name: Run pre-commit\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n    - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "kevin1024/vcrpy"}
{"mined_at": "2024-07-15T12:39:32.815940", "created_at": "2024-03-27T11:00:20+01:00", "updated_at": "2024-03-28T10:59:56+01:00", "name": "Run tests in Ubuntu and Mac", "path": ".github/workflows/tests.yml", "contents": "name: Run tests in Ubuntu and Mac\non:\n  workflow_call:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  tests-with-coverage-3-12:\n    name: Run tests on Ubuntu latest py3.12\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install depedencies\n        # python-setuptools fix ModuleNotFoundError: No module named 'pkg_resources'\n        run: |\n          sudo apt-get install -y gnupg2 python-setuptools\n      - name: Setup Python 3.12.2\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12.2\"\n          cache: \"pip\"\n          cache-dependency-path: '**/setup.py'\n      - name: Install requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e . -r requirements/test.txt\n      - name: Run tests\n        run: |\n          pytest --color=yes\n\n  tests-with-coverage-mac:\n    name: Run tests on macos 11 py3.12\n    runs-on: macos-11\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install depedencies\n        run: |\n          brew install gnupg\n          sudo pip3 install setuptools\n      - name: Setup Python 3.12.2\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12.2\"\n          cache: \"pip\"\n          cache-dependency-path: '**/setup.py'\n      - name: Install requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e . -r requirements/test.txt\n          pip install coveralls\n      - name: Run tests\n        run: |\n          pytest --color=yes\n      # - name: Coveralls\n      #   uses: coverallsapp/github-action@master\n      #   with:\n      #     github-token: ${{ secrets.GITHUB_TOKEN }}\n      #     path-to-lcov: coverage.xml\n", "state": "active", "repository": "marcwebbie/passpie"}
{"mined_at": "2024-07-15T12:39:34.820143", "created_at": "2021-07-09T12:29:31+02:00", "updated_at": "2021-07-14T17:31:45+02:00", "name": "Framework tests", "path": ".github/workflows/galaxy_framework.yaml", "contents": "name: Framework tests\non: [push, pull_request]\nenv:\n  GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8'\njobs:\n  test:\n    name: Test\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8']\n        galaxy-branch: ['dev', 'master']\n        metadata-strategy: ['directory']\n        include:\n          - python-version: '3.8'\n            galaxy-branch: 'dev'\n            metadata-strategy: 'extended'\n    services:\n      postgres:\n        image: postgres:13\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          path: 'pulsar'\n      - name: Checkout tools repo\n        uses: actions/checkout@v2\n        with:\n          repository: galaxyproject/galaxy\n          ref: ${{ matrix.galaxy-branch }}\n          path: galaxy\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Build Pulsar wheel and replace Galaxy's requirements.\n        run: python tools/replace_galaxy_requirements_for_ci.py\n        working-directory: 'pulsar'\n      - name: Cache pip dir\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy/requirements.txt') }}\n      - name: Run tests\n        run: ./run_tests.sh --framework\n        working-directory: 'galaxy'\n        env:\n          GALAXY_TEST_JOB_CONFIG_FILE: ../pulsar/test_data/test_job_conf.yaml\n          GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY: ${{ matrix.metadata-strategy }}\n        continue-on-error: ${{ matrix.galaxy-branch == 'master' }}\n      - uses: actions/upload-artifact@v2\n        with:\n          name: Framework test results (${{ matrix.python-version }})\n          path: 'galaxy/run_framework_tests.html'\n", "state": "active", "repository": "galaxyproject/pulsar"}
{"mined_at": "2024-07-15T12:39:35.888561", "created_at": "2021-02-02T22:09:41+01:00", "updated_at": "2021-02-02T22:09:41+01:00", "name": "pulsar", "path": ".github/workflows/pulsar.yaml", "contents": "name: pulsar\non: [push, pull_request]\njobs:\n  lint:\n    name: Lint\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        tox-env: [py37-lint, py37-dist, py37-docs]\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v3\n      with:\n        python-version: 3.7\n    - name: Install tox\n      run: pip install tox\n    - name: Run lint\n      run: tox -e ${{ matrix.tox-env }}\n  mypy:\n    name: MyPy\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        include:\n        - tox-env: py36-mypy\n          python: 3.6\n        - tox-env: py311-mypy\n          python: 3.11\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install tox\n      run: pip install tox\n    - name: Setup pycurl\n      run: sudo apt update; sudo apt install -y libxml2-dev libxslt1-dev libcurl4-openssl-dev openssh-server\n    - name: Run tox\n      run: tox -e ${{ matrix.tox-env }}\n  test:\n    name: Run Tests\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        include:\n        - tox-env: py36-test-ci\n          python: 3.6\n        - tox-env: py36-test-unit\n          python: 3.6\n        - tox-env: py311-test-ci\n          python: 3.11\n        - tox-env: py311-test-unit\n          python: 3.11\n        - tox-env: py37-install_wheel\n          python: 3.7\n    services:\n      job-files:\n        image: galaxy/simple-job-files:latest\n        env:\n          JOB_FILES_ROOT_DIRECTORY: /tmp\n        ports:\n          - '8000:8000'\n        volumes:\n          - '/tmp:/tmp:rw'\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install tox\n      run: pip install tox\n    - name: Run setup\n      run: .ci/setup_tests.sh\n    - name: Run tests\n      run: . local_env.sh; tox -e ${{ matrix.tox-env }}\n      env:\n        PULSAR_TEST_KEY: \"test_data/testkey\"\n        PULSAR_TEST_EXTERNAL_JOB_FILES_URL: \"http://localhost:8000\"\n        PULSAR_TEST_EXTERNAL_JOB_FILES_DIRECTORY: \"/tmp\"\n        TEST_WEBAPP_POST_SHUTDOWN_SLEEP: 1\n  ## Can't get the following tests to work - they fall over on the containerized job not being able to\n  ## connect to the host running the Pulsar server for file transfers in stage out/in.\n  # tes-test:\n  #   name: Run Tests\n  #   runs-on: ubuntu-20.04\n  #   strategy:\n  #     matrix:\n  #       include:\n  #       - tox-env: py37-test-funnel\n  #         python: 3.7\n  #   steps:\n  #   - uses: actions/checkout@v2\n  #   - uses: actions/setup-python@v3\n  #     with:\n  #       python-version: ${{ matrix.python }}\n  #   - name: Set up Go 1.x\n  #     uses: actions/setup-go@v2\n  #     with:\n  #       go-version: ^1.13\n  #   - name: Pre-fetch required docker containers\n  #     run: docker pull 'galaxy/pulsar-pod-staging:0.15.0.0' && docker pull 'conda/miniconda3'\n  #   - name: Install tox\n  #     run: pip install tox\n  #   - name: Run tests\n  #     run: PULSAR_TEST_INFRASTRUCTURE_HOST=\"_PLATFORM_AUTO_\" FUNNEL_SERVER_TARGET=DEPLOY PULSAR_TES_SERVER_TARGET=http://localhost:8000/ tox -e ${{ matrix.tox-env }}\n", "state": "active", "repository": "galaxyproject/pulsar"}
{"mined_at": "2024-07-15T12:39:38.780580", "created_at": "2023-07-16T03:03:05+02:00", "updated_at": "2023-07-16T23:39:01+02:00", "name": "Windows Distribution", "path": ".github/workflows/build-windows.yml", "contents": "# Build Portable Windows EXE (x64) Distribution for PySceneDetect\n\nname: Windows Distribution\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n  pull_request:\n    paths:\n      - dist/**\n      - scenedetect/**\n      - tests/**\n  push:\n    paths:\n      - dist/**\n      - scenedetect/**\n      - tests/**\n    branches:\n      - main\n      - develop\n      - 'releases/**'\n    tags:\n      - v*-release\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\"]\n\n    env:\n      ffmpeg-version: \"7.0\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip build wheel virtualenv setuptools\n          pip install -r dist/requirements_windows.txt\n          pip install -r docs/requirements.txt\n\n      - name: Download Resources\n        run: |\n          git fetch --depth=1 https://github.com/Breakthrough/PySceneDetect.git refs/heads/resources:refs/remotes/origin/resources\n          git checkout refs/remotes/origin/resources -- tests/resources/\n\n      - name: Download FFMPEG ${{ env.ffmpeg-version }}\n        uses: dsaltares/fetch-gh-release-asset@1.1.1\n        with:\n          repo: 'GyanD/codexffmpeg'\n          version: 'tags/${{ env.ffmpeg-version }}'\n          file: 'ffmpeg-${{ env.ffmpeg-version }}-full_build.7z'\n\n      - name: Unit Test\n        run: |\n          7z e ffmpeg-${{ env.ffmpeg-version }}-full_build.7z ffmpeg.exe -r\n          python -m pytest -vv\n\n      - name: Build PySceneDetect\n        run: |\n          python dist/pre_release.py --ignore-installer\n          pyinstaller dist/scenedetect.spec\n\n      - name: Build Documentation\n        run: |\n          sphinx-build -b singlehtml docs dist/scenedetect/docs\n          rm -r dist/scenedetect/docs/.doctrees\n\n      - name: Assemble Portable Distribution\n        run: |\n          Move-Item -Path LICENSE -Destination dist/scenedetect/\n          New-Item -Path dist/scenedetect/ -Name thirdparty -ItemType Directory\n          Move-Item -Path dist/windows/README* -Destination dist/scenedetect/\n          Move-Item -Path dist/windows/LICENSE* -Destination dist/scenedetect/thirdparty/\n          Move-Item -Path scenedetect/_thirdparty/LICENSE* -Destination dist/scenedetect/thirdparty/\n          7z e -odist/ffmpeg ffmpeg-${{ env.ffmpeg-version }}-full_build.7z LICENSE -r\n          Move-Item -Path ffmpeg.exe -Destination dist/scenedetect/ffmpeg.exe\n          Move-Item -Path dist/ffmpeg/LICENSE -Destination dist/scenedetect/thirdparty/LICENSE-FFMPEG\n\n      - name: Test Portable Distribution\n        run: |\n          ./dist/scenedetect/scenedetect -i tests/resources/goldeneye.mp4 detect-content time -e 2s\n\n      - name: Upload Artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: PySceneDetect-win64_portable\n          path: dist/scenedetect\n\n  test:\n    runs-on: windows-latest\n    needs: build\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: resources\n\n      - uses: actions/download-artifact@v3\n        with:\n          name: PySceneDetect-win64_portable\n          path: build\n\n      - name: Test\n        run: |\n          ./build/scenedetect version\n          ./build/scenedetect -i tests/resources/goldeneye.mp4 -b opencv detect-content time --end 00:10:00\n          ./build/scenedetect -i tests/resources/goldeneye.mp4 -b pyav detect-content time --end 00:10:00\n          ./build/scenedetect -i tests/resources/goldeneye.mp4 detect-content time --end 00:10:00 split-video\n", "state": "active", "repository": "breakthrough/pyscenedetect"}
{"mined_at": "2024-07-15T12:39:39.788106", "created_at": "2023-07-16T17:13:28+02:00", "updated_at": "2023-07-16T23:23:49+02:00", "name": "Python Distribution", "path": ".github/workflows/build.yml", "contents": "# Test PySceneDetect on Linux/OSX/Windows and generate Python distribution (sdist/wheel).\nname: Python Distribution\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n  pull_request:\n    paths:\n      - dist/**\n      - scenedetect/**\n      - tests/**\n  push:\n    paths:\n      - dist/**\n      - scenedetect/**\n      - tests/**\n    branches:\n      - main\n      - develop\n      - 'releases/**'\n    tags:\n      - v*-release\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-13, macos-14, ubuntu-20.04, ubuntu-latest, windows-latest]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          # macos-14 builders use M1 (ARM64) which does not have a Python 3.7 package available.\n          - os: macos-14\n            python-version: \"3.7\"\n\n    env:\n      # Version is extracted below and used to find correct package install path.\n      scenedetect_version: \"\"\n      # Setuptools must be pinned for the Python 3.7 builders.\n      setuptools_version: \"${{ matrix.python-version == '3.7' && '==62.3.4' || '' }}\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup FFmpeg\n        # TODO: This action currently does not work for non-x64 builders (e.g. macos-14):\n        # https://github.com/federicocarboni/setup-ffmpeg/issues/21\n        if: ${{ runner.arch == 'X64' }}\n        uses: ./.github/actions/setup-ffmpeg\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip build wheel virtualenv setuptools${{ env.setuptools_version }}\n          pip install av opencv-python-headless --only-binary :all:\n          pip install -r requirements_headless.txt\n\n      - name: Checkout test resources\n        run: |\n          git fetch --depth=1 https://github.com/Breakthrough/PySceneDetect.git refs/heads/resources:refs/remotes/origin/resources\n          git checkout refs/remotes/origin/resources -- tests/resources/\n\n      - name: Unit Tests\n        run: |\n          python -m pytest -vv\n\n      - name: Smoke Test (Module)\n        run: |\n          python -m scenedetect version\n          python -m scenedetect -i tests/resources/testvideo.mp4 -b opencv time --end 2s\n          python -m scenedetect -i tests/resources/testvideo.mp4 -b pyav time --end 2s\n          python -m pip uninstall -y scenedetect\n\n      - name: Build Package\n        shell: bash\n        run: |\n          python -m build\n          echo \"scenedetect_version=`python -c \\\"import scenedetect; print(scenedetect.__version__.replace('-', '.'))\\\"`\" >> \"$GITHUB_ENV\"\n\n      - name: Smoke Test Package (Source Dist)\n        run: |\n          python -m pip install dist/scenedetect-${{ env.scenedetect_version }}.tar.gz\n          scenedetect version\n          scenedetect -i tests/resources/testvideo.mp4 -b opencv time --end 2s\n          scenedetect -i tests/resources/testvideo.mp4 -b pyav time --end 2s\n          python -m pip uninstall -y scenedetect\n\n      - name: Smoke Test Package (Wheel)\n        run: |\n          python -m pip install dist/scenedetect-${{ env.scenedetect_version }}-py3-none-any.whl\n          scenedetect version\n          scenedetect -i tests/resources/testvideo.mp4 -b opencv time --end 2s\n          scenedetect -i tests/resources/testvideo.mp4 -b pyav time --end 2s\n          python -m pip uninstall -y scenedetect\n\n      - name: Upload Package\n        if: ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: scenedetect-dist\n          path: |\n            dist/*.tar.gz\n            dist/*.whl\n", "state": "active", "repository": "breakthrough/pyscenedetect"}
{"mined_at": "2024-07-15T12:39:40.777640", "created_at": "2022-05-01T05:08:12+02:00", "updated_at": "2024-07-08T00:37:30+02:00", "name": "Static Analysis", "path": ".github/workflows/check-code-format.yml", "contents": "# Use YAPF to format PySceneDetect.\nname: Check Code Format\n\non:\n  pull_request:\n    paths:\n      - scenedetect/**\n      - tests/**\n  push:\n    paths:\n      - scenedetect/**\n      - tests/**\n\njobs:\n  check_format:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.12'\n          cache: 'pip'\n\n      - name: Update pip\n        run: python -m pip install --upgrade pip\n      - name: Install yapf\n        run: python -m pip install --upgrade yapf toml\n\n      - name: Install Binary Dependencies\n        run: python -m pip install av opencv-python-headless --only-binary \":all:\"\n      - name: Install Remaining Dependencies\n        run: python -m pip install -r requirements_headless.txt\n\n      - name: Check Code Format (scenedetect)\n        run: python -m yapf --diff --recursive scenedetect/\n      - name: Check Code Format (tests)\n        run: python -m yapf --diff --recursive tests/\n", "state": "active", "repository": "breakthrough/pyscenedetect"}
{"mined_at": "2024-07-15T12:39:41.762468", "created_at": "2022-11-10T18:45:57+01:00", "updated_at": "2023-07-09T03:01:53+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# CodeQL for PySceneDetect\nname: \"CodeQL\"\n\non:\n  push:\n    branches:\n     - main\n     - develop\n     - releases/**\n    paths:\n      - scenedetect/**\n      - tests/**\n  pull_request:\n    branches:\n     - main\n     - develop\n     - releases/*\n    paths:\n      - scenedetect/**\n      - tests/**\n  schedule:\n    - cron: \"20 7 * * 4\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "breakthrough/pyscenedetect"}
{"mined_at": "2024-07-15T12:39:42.744237", "created_at": "2023-07-17T02:23:55+02:00", "updated_at": "2023-07-17T02:23:55+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v4\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v3\n", "state": "active", "repository": "breakthrough/pyscenedetect"}
{"mined_at": "2024-07-15T12:39:43.747257", "created_at": "2023-07-01T03:46:18+02:00", "updated_at": "2023-07-01T03:46:18+02:00", "name": "Generate Documentation", "path": ".github/workflows/generate-docs.yml", "contents": "# Generate PySceneDetect documentation and updates the gh-pages branch.\nname: Generate Documentation\n\non:\n  push:\n    branches:\n      - develop         # docs/develop\n      - 'releases/**'   # docs/**\n    paths:\n      - 'docs/**'\n  workflow_dispatch:\n\njobs:\n  update_docs:\n    runs-on: ubuntu-latest\n    env:\n      # TODO: Figure out a better way to handle figuring out what version /latest should be,\n      # e.g. add a latest version file in main.\n      scenedetect_docs_latest: '0.6.4'\n      scenedetect_docs_dest: ''\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n          cache: 'pip'\n\n      - name: Set Destination (Releases)\n        if: ${{ contains(github.ref_name, 'releases') }}\n        run: |\n          echo \"scenedetect_docs_dest=$(echo ${{ github.ref_name }} | cut -b 10-)\" >> \"$GITHUB_ENV\"\n\n      - name: Set Destination (Develop)\n        if: ${{ contains(github.ref_name, 'develop') }}\n        run: |\n          echo \"scenedetect_docs_dest=develop\" >> \"$GITHUB_ENV\"\n\n      - name: Check Destination\n        if: ${{ env.scenedetect_docs_dest == '' }}\n        run: |\n          echo \"Failing build: destination must be set!\"\n\n      - name: Setup Environment\n        run: |\n          python -m pip install --upgrade pip build wheel virtualenv\n          pip install -r docs/requirements.txt\n          git config --global user.name github-actions\n          git config --global user.email github-actions@github.com\n\n      - name: Generate Docs\n        run: |\n          sphinx-build -b html docs build\n\n      - name: Update gh-pages Branch\n        run: |\n          git fetch origin gh-pages\n          git checkout gh-pages\n          git rm \"docs/${{ env.scenedetect_docs_dest }}\" -r -f --ignore-unmatch\n          git add build/\n          git mv build \"docs/${{ env.scenedetect_docs_dest }}\"\n\n      - name: Update Latest\n        if: ${{ env.scenedetect_docs_dest == env.scenedetect_docs_latest }}\n        run: |\n          git rm \"docs/latest\" -r -f --ignore-unmatch\n          mkdir -p latest\n          cp -r -f \"docs/${{ env.scenedetect_docs_dest }}\" docs/latest\n          git add docs/latest\n          echo \"scenedetect_docs_dest='${{ env.scenedetect_docs_dest }} (latest)'\" >> \"$GITHUB_ENV\"\n\n      - name: Commit and Push\n        run: |\n          git commit -a -m \"[docs] @${{ github.triggering_actor }}: Generate Documentation\" \\\n            -m \"Source: ${{ github.ref_name }} (${{ github.sha }})\" \\\n            -m \"Destination: ${{ env.scenedetect_docs_dest }}\"\n          git push\n", "state": "active", "repository": "breakthrough/pyscenedetect"}
{"mined_at": "2024-07-15T12:39:44.749552", "created_at": "2023-07-09T01:02:45+02:00", "updated_at": "2023-07-09T01:02:45+02:00", "name": "Generate Website", "path": ".github/workflows/generate-website.yml", "contents": "\nname: Generate Website\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - 'website/**'\n  workflow_dispatch:\n\njobs:\n  update_site:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n          cache: 'pip'\n\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip build wheel virtualenv\n          pip install -r website/requirements.txt\n\n      - name: Generate Website\n        run: |\n          mkdocs build -f website/mkdocs.yml\n\n      - name: Update Website\n        run: |\n          git fetch origin gh-pages\n          git checkout gh-pages\n          git rm * -r -f --ignore-unmatch\n          git checkout HEAD -- .nojekyll\n          git checkout HEAD -- CNAME\n          git checkout HEAD -- docs/\n          git rm docs/index.html --ignore-unmatch\n          git add website/build/\n          git mv website/build/* . -f -k\n          git mv website/build/docs/index.html docs/index.html -k\n          git rm website/build/* -r -f --ignore-unmatch\n          git config --global user.name github-actions\n          git config --global user.email github-actions@github.com\n          git commit -a -m \"[docs] @${{ github.triggering_actor }}: Generate Website\" \\\n            -m \"Commit: ${{ github.sha }}\"\n          git push\n", "state": "active", "repository": "breakthrough/pyscenedetect"}
{"mined_at": "2024-07-15T12:39:45.796015", "created_at": "2023-06-23T02:03:26+02:00", "updated_at": "2023-06-23T02:03:26+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "breakthrough/pyscenedetect"}
{"mined_at": "2024-07-15T12:39:47.749015", "created_at": "2021-12-22T15:06:46+01:00", "updated_at": "2021-12-22T21:54:44+01:00", "name": "Compatibility", "path": ".github/workflows/compatibility.yml", "contents": "name: Compatibility\n\non:\n  create:\n    tags: ['*']\n  push:\n    branches: ['master']\n  schedule:\n  - cron: 0 23 * * *\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        service_version: [\"ALL_LATEST=true\"]\n        marker: [not integration]\n        include:\n          - service_version: \"LIMITS_REDIS_SERVER_SSL_VERSION=7.2\"\n            marker: \"redis\"\n          - service_version: \"LIMITS_REDIS_SERVER_SSL_VERSION=7.0\"\n            marker: \"redis\"\n          - service_version: \"LIMITS_REDIS_SERVER_SSL_VERSION=6.2.6\"\n            marker: \"redis\"\n          - service_version: \"LIMITS_REDIS_SERVER_SSL_VERSION=6.0.16\"\n            marker: \"redis\"\n          - service_version: \"LIMITS_REDIS_SERVER_VERSION=7.2\"\n            marker: \"redis\"\n          - service_version: \"LIMITS_REDIS_SERVER_VERSION=7.0\"\n            marker: \"redis\"\n          - service_version: \"LIMITS_REDIS_SERVER_VERSION=6.2.6\"\n            marker: \"redis\"\n          - service_version: \"LIMITS_REDIS_SERVER_VERSION=6.0.16\"\n            marker: \"redis\"\n          - service_version: \"LIMITS_REDIS_SENTINEL_SERVER_VERSION=7.2\"\n            marker: \"redis_sentinel\"\n          - service_version: \"LIMITS_REDIS_SENTINEL_SERVER_VERSION=7.0\"\n            marker: \"redis_sentinel\"\n          - service_version: \"LIMITS_REDIS_SENTINEL_SERVER_VERSION=6.2.6\"\n            marker: \"redis_sentinel\"\n          - service_version: \"LIMITS_REDIS_SENTINEL_SERVER_VERSION=6.0.16\"\n            marker: \"redis_sentinel\"\n          - service_version: \"LIMITS_MONGODB_SERVER_VERSION=7.0.5\"\n            marker: \"mongodb\"\n          - service_version: \"LIMITS_MONGODB_SERVER_VERSION=6.0.3\"\n            marker: \"mongodb\"\n          - service_version: \"LIMITS_MONGODB_SERVER_VERSION=5.0.3\"\n            marker: \"mongodb\"\n          - service_version: \"LIMITS_MONGODB_SERVER_VERSION=4.4.9\"\n            marker: \"mongodb\"\n          - service_version: \"LIMITS_MONGODB_SERVER_VERSION=4.2.17\"\n            marker: \"mongodb\"\n          - service_version: \"LIMITS_MEMCACHED_SERVER_VERSION=1.6.15\"\n            marker: \"memcached\"\n          - service_version: \"LIMITS_MEMCACHED_SERVER_VERSION=1.6.6\"\n            marker: \"memcached\"\n          - service_version: \"LIMITS_MEMCACHED_SERVER_VERSION=1.5.16\"\n            marker: \"memcached\"\n          - service_version: \"LIMITS_MEMCACHED_SERVER_VERSION=1.4.34\"\n            marker: \"memcached\"\n          - service_version: \"LIMITS_ETCD_SERVER_VERSION=3.5\"\n            marker: \"etcd\"\n          - service_version: \"LIMITS_ETCD_SERVER_VERSION=3.4\"\n            marker: \"etcd\"\n          - service_version: \"LIMITS_ETCD_SERVER_VERSION=3.3\"\n            marker: \"etcd\"\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cache dependencies\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install -U pip\n        python -m pip install -U setuptools wheel\n        pip install --no-binary protobuf -r requirements/ci.txt\n    - name: Tests\n      env:\n        CI: \"True\"\n      run: |\n        eval \"export ${{ matrix.service_version }}\"\n        py.test -m \"${{ matrix.marker }} and not benchmark\" --cov-report=xml --cov-branch --max-runs=3\n", "state": "active", "repository": "alisaifee/limits"}
{"mined_at": "2024-07-15T12:39:48.729204", "created_at": "2020-05-17T01:04:10+02:00", "updated_at": "2022-04-03T04:50:23+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cache dependencies\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install -U pip\n        python -m pip install -U setuptools wheel\n        pip install --no-binary protobuf -r requirements/ci.txt\n    - name: Lint with ruff\n      run: |\n        ruff check --select I\n        ruff format --check limits tests\n        ruff limits tests\n    - name: Check types\n      run: |\n        mypy limits\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        marker: [not (integration or benchmark)]\n        os: [ubuntu-latest]\n        include:\n          - python-version: 3.9\n            marker: 'not benchmark'\n            os: ubuntu-latest\n          - python-version: \"3.10\"\n            marker: 'not benchmark'\n            os: ubuntu-latest\n          - python-version: \"3.11\"\n            marker: 'not benchmark'\n            os: ubuntu-latest\n          - python-version: \"3.12\"\n            marker: 'not benchmark'\n            os: ubuntu-latest\n    runs-on: \"${{ matrix.os }}\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cache dependencies\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install -U pip\n        python -m pip install -U setuptools wheel\n        pip install --no-binary protobuf -r requirements/ci.txt\n    - name: Tests\n      env:\n        CI: \"True\"\n      run: |\n        py.test -m \"${{ matrix.marker }}\" --cov-report=xml --cov-branch --max-runs=3\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4.2.0\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n  benchmark:\n    needs: [test]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cache dependencies\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install \"pip<22\"\n        python -m pip install --upgrade setuptools wheel\n        pip install --no-binary protobuf -r requirements/ci.txt\n    - name: Benchmark\n      env:\n        CI: \"True\"\n      run: |\n        py.test -W ignore -m \"benchmark\" --benchmark-min-rounds=1000 --benchmark-histogram=.benchmarks/benchmark\n    - name: Upload benchmark results\n      uses: actions/upload-artifact@v2\n      with:\n        name: benchmark\n        path: .benchmarks/*\n  build_wheels:\n    needs: [lint]\n    name: Build wheel\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Build wheels\n        run: |\n          python -m pip install build\n          python -m build --wheel\n      - uses: actions/upload-artifact@v2\n        with:\n          path: ./dist/*.whl\n  build_sdist:\n    needs: [lint]\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Build sdist\n        run: |\n          pipx run build --sdist\n      - uses: actions/upload-artifact@v2\n        with:\n          path: dist/*.tar.gz\n  upload_pypi:\n    needs: [test, build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/master'\n    steps:\n      - uses: actions/download-artifact@v2\n        with:\n          name: artifact\n          path: dist\n      - uses: pypa/gh-action-pypi-publish@v1.4.2\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n          skip_existing: true\n  upload_pypi_release:\n    needs: [test, benchmark, build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v2\n        with:\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@v1.4.2\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n  github_release:\n    needs: [upload_pypi_release]\n    name: Create Release\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Download artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: artifact\n          path: dist\n      - name: Download benchmark results\n        uses: actions/download-artifact@v2\n        with:\n          name: benchmark\n          path: .benchmarks\n      - name: Generate release notes\n        run: |\n          ./scripts/github_release_notes.sh > release_notes.md\n      - name: Create Release\n        uses: ncipollo/release-action@v1\n        with:\n          artifacts: \"dist/*,.benchmarks/*\"\n          bodyFile: release_notes.md\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n\n\n", "state": "active", "repository": "alisaifee/limits"}
{"mined_at": "2024-07-15T12:39:50.838107", "created_at": "2021-06-25T16:42:26+02:00", "updated_at": "2021-06-25T17:21:40+02:00", "name": "CI", "path": ".github/workflows/tests.yml", "contents": "---\nname: CI\n\non:\n  push:\n    branches: [\"master\"]\n    tags:\n      - \"*\"\n  pull_request:\n    branches: [\"master\"]\n\njobs:\n  tests:\n    name: \"${{ matrix.os }}: Python ${{ matrix.python-version }}\"\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [\"ubuntu-22.04\"]\n\n    runs-on: \"${{ matrix.os }}\"\n\n    steps:\n      - uses: \"actions/checkout@v2\"\n      - uses: \"actions/setup-python@v2\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n      - run: |\n          pip install 'tox<4' tox-gh-actions\n          tox\n", "state": "active", "repository": "warner/foolscap"}
{"mined_at": "2024-07-15T12:39:52.921315", "created_at": "2024-04-10T19:05:03+02:00", "updated_at": "2024-04-10T19:05:03+02:00", "name": "CD", "path": ".github/workflows/cd.yml", "contents": "name: CD\n\non:\n  workflow_dispatch:\n    inputs:\n      dry-run:\n        type: boolean\n        description: \"Dry-run\"\n        required: true\n        default: true\n      version:\n        description: \"SemVer string for new version\"\n        required: true\n\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    environment:\n      name: protected\n    steps:\n      - name: Checkout code repository\n        uses: actions/checkout@v4\n      - name: Build Python packages\n        uses: hynek/build-and-inspect-python-package@v2\n\n  tag:\n    runs-on: ubuntu-latest\n    environment:\n      name: protected\n    permissions:\n      contents: write\n    outputs:\n      new_tag: ${{ steps.tag_version.outputs.new_tag }}\n      changelog: ${{ steps.tag_version.outputs.changelog }}\n    steps:\n      - name: Checkout code repository\n        uses: actions/checkout@v4\n      - name: Tag new version\n        id: tag_version\n        uses: mathieudutour/github-tag-action@v6.2\n        with:\n          github_token: ${{ github.token }}\n          default_bump: \"false\"\n          custom_tag: ${{ inputs.version }}\n          tag_prefix: \"\"\n          dry_run: ${{ inputs.dry-run }}\n\n  release:\n    needs:\n      - build\n      - tag\n    runs-on: ubuntu-latest\n    environment:\n      name: protected\n    permissions:\n      contents: write\n    steps:\n      - name: Download built Python packages\n        uses: actions/download-artifact@v4\n        with:\n          name: Packages\n          path: dist\n      - name: Create GitHub Release with Python packages\n        uses: ncipollo/release-action@v1\n        with:\n          artifacts: dist/*\n          tag: ${{ needs.tag.outputs.new_tag }}\n          generateReleaseNotes: true\n          draft: ${{ inputs.dry-run }}\n\n  publish:\n    needs: release\n    runs-on: ubuntu-latest\n    if: ${{ ! inputs.dry-run }}\n    environment:\n      name: publish\n    permissions:\n      id-token: write\n    steps:\n      - name: Download built Python package\n        uses: actions/download-artifact@v4\n        with:\n          name: Packages\n          path: dist\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "zappa/zappa"}
{"mined_at": "2024-07-15T12:39:53.925203", "created_at": "2024-04-07T23:31:23+02:00", "updated_at": "2024-04-10T19:05:03+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:  # yamllint disable-line rule:truthy\n  pull_request:\n    branches: [\"master\"]\n  push:\n    branches: [\"master\"]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Checkout Code Repository\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip${{ matrix.python }}-${{ hashFiles('Pipfile') }}\n          restore-keys: ${{ runner.os }}-pip${{ matrix.python }}-\n      - name: make sure we have version tags\n        run: git fetch --unshallow --tags\n      - name: Setup Virtualenv\n        run: python -m venv .venv\n      - name: Install\n        run: source .venv/bin/activate && make requirements && python setup.py install\n      - name: Lint\n        run: source .venv/bin/activate && make flake black-check isort-check\n      - name: Test\n        run: source .venv/bin/activate && make tests\n      - name: Upload Coverage\n        run: .venv/bin/coveralls --service=github\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: py${{ matrix.python }}\n          COVERALLS_PARALLEL: true\n          COVERALLS_SERVICE_JOB_ID: ${{ github.run_id }}\n\n  coverage:\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v5\n      - name: Finalise Coverage\n        run: pip3 install --upgrade coveralls && coveralls --service=github --finish\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "zappa/zappa"}
{"mined_at": "2024-07-15T12:39:54.907052", "created_at": "2024-01-14T00:35:45+01:00", "updated_at": "2024-01-19T01:27:34+01:00", "name": "Perform automated repository maintenance", "path": ".github/workflows/maintenance.yml", "contents": "name: Perform automated repository maintenance\n\non:\n  workflow_dispatch:\n    inputs:\n      dry-run:\n        description: \"Dry-run\"\n        type: boolean\n      operations:\n        description: \"Max number of operations per run\"\n        type: number\n  schedule:\n    - cron: \"*/30 * * * *\"\n\njobs:\n  cleanup-inactive:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n      issues: write\n      pull-requests: write\n    env:\n      inactive_days: 90\n      closing_days: 10\n      total_days: 100\n      inactive_label: \"no-activity\"\n      closed_label: \"auto-closed\"\n      default_operations: ${{ inputs.dry-run && 1000 || 200 }}\n    steps:\n      - name: Cleanup inactive issues/PRs\n        uses: actions/stale@v9\n        with:\n          days-before-stale: ${{ env.inactive_days }}\n          days-before-close: ${{ env.closing_days }}\n          stale-issue-label: ${{ env.inactive_label }}\n          close-issue-label: ${{ env.closed_label }}\n          exempt-all-milestones: true\n          exempt-issue-labels: \"needs-review,planned,in-progress\"\n          stale-issue-message: \"Hi there! Unfortunately, this Issue has not seen any activity for at least ${{ env.inactive_days }} days. If the Issue is still relevant to the [latest version of Zappa](https://github.com/zappa/Zappa/releases/latest), please comment within the next ${{ env.closing_days }} days if you wish to keep it open. Otherwise, it will be automatically closed.\"\n          close-issue-message: \"Hi there! Unfortunately, this Issue was automatically closed as it had not seen any activity in at least ${{ env.total_days }} days. If the Issue is still relevant to the [latest version of Zappa](https://github.com/zappa/Zappa/releases/latest), please [open a new Issue](https://github.com/zappa/Zappa/issues/new).\"\n          stale-pr-label: ${{ env.inactive_label }}\n          close-pr-label: ${{ env.closed_label }}\n          exempt-pr-labels: \"needs-review\"\n          stale-pr-message: \"Hi there! Unfortunately, this PR has not seen any activity for at least ${{ env.inactive_days }} days. If the PR is still relevant to the [latest version of Zappa](https://github.com/zappa/Zappa/releases/latest), please comment within the next ${{ env.closing_days }} days if you wish to keep it open. Otherwise, it will be automatically closed.\"\n          close-pr-message: \"Hi there! Unfortunately, this PR was automatically closed as it had not seen any activity in at least ${{ env.total_days }} days. If the PR is still relevant to the [latest version of Zappa](https://github.com/zappa/Zappa/releases/latest), please [open a new PR](https://github.com/zappa/Zappa/compare).\"\n          labels-to-add-when-unstale: \"needs-review\"\n          ascending: true\n          enable-statistics: true\n          # CONFIG OPTIONS\n          debug-only: ${{ inputs.dry-run }}\n          operations-per-run: ${{ inputs.operations || env.default_operations }}\n", "state": "active", "repository": "zappa/zappa"}
{"mined_at": "2024-07-15T12:39:56.952243", "created_at": "2024-04-12T03:38:30+02:00", "updated_at": "2024-04-12T03:38:30+02:00", "name": "ci-docs-linkcheck", "path": ".github/workflows/ci-docs-linkcheck.yml", "contents": null, "state": "active", "repository": "scitools/iris-grib"}
{"mined_at": "2024-07-15T12:39:57.910181", "created_at": "2024-04-12T03:38:30+02:00", "updated_at": "2024-04-12T03:38:30+02:00", "name": "ci-docs-tests", "path": ".github/workflows/ci-docs-tests.yml", "contents": null, "state": "active", "repository": "scitools/iris-grib"}
{"mined_at": "2024-07-15T12:39:58.908279", "created_at": "2024-04-17T11:25:42+02:00", "updated_at": "2024-04-18T11:47:48+02:00", "name": "ci-manifest", "path": ".github/workflows/ci-manifest.yml", "contents": "name: ci-manifest\n\non:\n  pull_request:\n    branches:\n      - \"*\"\n\n  push:\n    branches-ignore:\n      - \"auto-update-lockfiles\"\n      - \"pre-commit-ci-update-config\"\n      - \"dependabot/*\"\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  manifest:\n    name: \"check-manifest\"\n    uses: scitools/workflows/.github/workflows/ci-manifest.yml@2024.06.3\n", "state": "active", "repository": "scitools/iris-grib"}
{"mined_at": "2024-07-15T12:40:00.156769", "created_at": "2024-04-12T03:38:30+02:00", "updated_at": "2024-04-17T16:28:42+02:00", "name": "ci-tests", "path": ".github/workflows/ci-tests.yml", "contents": "# reference:\n#   - https://github.com/actions/cache\n#   - https://github.com/actions/checkout\n#   - https://github.com/marketplace/actions/setup-miniconda\n\nname: ci-tests\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"v*x\"\n    tags:\n      - \"v*\"\n  pull_request:\n    branches:\n      - \"*\"\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    name: \"${{ matrix.session }} py${{ matrix.python-version }} [${{ matrix.iris-source }}]\"\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.12\"]\n        session: [\"doctest\", \"linkcheck\"]\n        iris-source : [\"conda-forge\"]\n        include:\n          - os: \"ubuntu-latest\"\n            python-version: \"3.12\"\n            session: \"tests\"\n            iris-source: \"conda-forge\"\n            coverage: \"--coverage\"\n          - os: \"ubuntu-latest\"\n            python-version: \"3.12\"\n            session: \"tests\"\n            iris-source: \"source\"\n          - os: \"ubuntu-latest\"\n            python-version: \"3.11\"\n            session: \"tests\"\n            iris-source: \"conda-forge\"\n          - os: \"ubuntu-latest\"\n            python-version: \"3.10\"\n            session: \"tests\"\n            iris-source: \"conda-forge\"\n\n    env:\n      IRIS_TEST_DATA_VERSION: \"2.24\"\n      ENV_NAME: \"ci-tests\"\n\n    steps:\n      - name: \"checkout\"\n        uses: actions/checkout@v4\n\n      - name: \"environment configure\"\n        env:\n          # Maximum cache period (in weeks) before forcing a cache refresh.\n          CACHE_WEEKS: 2\n        run: |\n          echo \"CACHE_PERIOD=$(date +%Y).$(expr $(date +%U) / ${CACHE_WEEKS})\" >> ${GITHUB_ENV}\n          echo \"LOCK_FILE=requirements/locks/py$(echo ${{ matrix.python-version }} | tr -d '.')-linux-64.lock\" >> ${GITHUB_ENV}\n\n      - name: \"data cache\"\n        uses: ./.github/workflows/composite/iris-data-cache\n        with:\n          cache_build: 0\n          env_name: ${{ env.ENV_NAME }}\n          version: ${{ env.IRIS_TEST_DATA_VERSION }}\n\n      - name: \"conda package cache\"\n        uses: ./.github/workflows/composite/conda-pkg-cache\n        with:\n          cache_build: 0\n          cache_period: ${{ env.CACHE_PERIOD }}\n          env_name: ${{ env.ENV_NAME }}\n\n      - name: \"conda install\"\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-version: latest\n          channels: conda-forge,defaults\n          activate-environment: ${{ env.ENV_NAME }}\n          auto-update-conda: false\n          use-only-tar-bz2: true\n\n      - name: \"conda environment cache\"\n        uses: ./.github/workflows/composite/conda-env-cache\n        with:\n          cache_build: 0\n          cache_period: ${{ env.CACHE_PERIOD }}\n          env_name: ${{ env.ENV_NAME }}\n          install_packages: \"cartopy nox pip\"\n\n      - name: \"conda info\"\n        run: |\n          conda info\n          conda list\n\n      - name: \"cartopy cache\"\n        uses: ./.github/workflows/composite/cartopy-cache\n        with:\n          cache_build: 0\n          cache_period: ${{ env.CACHE_PERIOD }}\n          env_name: ${{ env.ENV_NAME }}\n\n      - name: \"nox cache\"\n        uses: ./.github/workflows/composite/nox-cache\n        with:\n          cache_build: 0\n          env_name: ${{ env.ENV_NAME }}\n          lock_file: ${{ env.LOCK_FILE }}\n\n      - name: \"iris-grib ${{ matrix.session }}\"\n        env:\n          IRIS_SOURCE: ${{ matrix.iris-source }}\n          PY_COLORS: 1\n          PY_VER: ${{ matrix.python-version }}\n        run: |\n          nox --session ${{ matrix.session }} -- ${{ matrix.coverage }} --test-data-dir ${HOME}/iris-test-data/test_data\n\n      - name: \"upload coverage report\"\n        if: ${{ matrix.coverage }}\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "scitools/iris-grib"}
{"mined_at": "2024-07-15T12:40:01.265426", "created_at": "2022-11-02T18:57:31+01:00", "updated_at": "2022-11-02T19:03:19+01:00", "name": "Refresh Lockfiles", "path": ".github/workflows/refresh-lockfiles.yml", "contents": "# Updates the environment lock files. See the called workflow in the\n# scitools/reusable_workflows repo for more details.\nname: Refresh Lockfiles\n\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"2 0 * * 6\"\n\njobs:\n  refresh_lockfiles:\n    uses: scitools/workflows/.github/workflows/refresh-lockfiles.yml@2024.06.3\n    secrets: inherit\n", "state": "active", "repository": "scitools/iris-grib"}
{"mined_at": "2024-07-15T12:40:02.277662", "created_at": "2024-07-12T09:17:26+02:00", "updated_at": "2024-07-12T09:17:26+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "scitools/iris-grib"}
{"mined_at": "2024-07-15T12:40:05.525635", "created_at": "2021-03-20T13:26:25+01:00", "updated_at": "2021-03-20T13:26:25+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "name: Python package\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n      mysql:\n        image: mysql\n        env:\n          MYSQL_ROOT_PASSWORD: root\n          MYSQL_DATABASE: root\n        options: >-\n          --health-cmd \"mysqladmin -uroot -proot ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 3306:3306\n    env:\n      PYTHONDEVMODE: 1\n      DJANGO_DATABASE_HOST_POSTGRES: localhost\n      DJANGO_DATABASE_USER_POSTGRES: postgres\n      DJANGO_DATABASE_NAME_POSTGRES: postgres\n      DJANGO_DATABASE_PASSWORD_POSTGRES: postgres\n      DJANGO_DATABASE_HOST_MYSQL: 127.0.0.1\n      DJANGO_DATABASE_USER_MYSQL: root\n      DJANGO_DATABASE_NAME_MYSQL: root\n      DJANGO_DATABASE_PASSWORD_MYSQL: root\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9, '3.10', '3.11']\n        django-version:\n          - '>=4.2,<5.0'\n          - '>=4.1,<4.2'\n          - '>=4.0,<4.1'\n          - '>=3.2,<4.0'\n        exclude:\n          - python-version: 3.7\n            django-version: '>=4.2,<5.0'\n          - python-version: 3.7\n            django-version: '>=4.1,<4.2'\n          - python-version: 3.7\n            django-version: '>=4.0,<4.1'\n          - python-version: '3.11'\n            django-version: '>=3.2,<4.0'\n          - python-version: '3.11'\n            django-version: '>=4.0,<4.1'\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies (Django ${{ matrix.django-version }})\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --pre django'${{ matrix.django-version }}'\n        python -m pip install flake8 coverage sphinx sphinx_rtd_theme psycopg2 mysqlclient -e .\n    - name: Lint with flake8\n      run: |\n        flake8\n    - name: Check no missing migrations\n      run: |\n        tests/manage.py makemigrations --check\n    - name: Test with unittest\n      run: |\n        coverage run tests/manage.py test tests\n        coverage report\n    - name: Build docs\n      run: |\n        (cd docs && sphinx-build -n -W . _build)\n", "state": "active", "repository": "etianen/django-reversion"}
{"mined_at": "2024-07-15T12:40:06.511705", "created_at": "2021-03-20T14:26:18+01:00", "updated_at": "2021-03-20T14:26:18+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "etianen/django-reversion"}
{"mined_at": "2024-07-15T12:40:08.596243", "created_at": "2021-09-03T21:33:04+02:00", "updated_at": "2021-10-13T03:21:14+02:00", "name": "pybuilder", "path": ".github/workflows/pybuilder.yml", "contents": "name: pybuilder\non:\n  pull_request:\n  push:\n    branches:\n      - master\njobs:\n  build-primary:\n    runs-on: ${{ matrix.os }}\n    continue-on-error: false\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n        python-version:\n          - '3.12'\n          - '3.11'\n          - '3.10'\n          - '3.9'\n          - '3.8'\n        with-venv:\n          - 'true'\n          - 'false'\n    env:\n      TWINE_USERNAME: __token__\n      TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/\n        with:\n          python-version: '${{ matrix.python-version }}'\n          with-venv: '${{ matrix.with-venv }}'\n          with-homebrew: 'false'\n          deploy-on-python: '[\"3.11\"]'\n          deploy-on-os: '[\"Linux\"]'\n          deploy-on-branch: '[\"refs/heads/master\"]'\n  build-secondary:\n    runs-on: ${{ matrix.os }}\n    continue-on-error: false\n    needs: build-primary\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - windows-latest\n          - macos-13\n        python-version:\n          - '3.12'\n          - '3.11'\n          - '3.10'\n          - '3.9'\n          - '3.8'\n        with-venv:\n          - 'true'\n          - 'false'\n        with-homebrew:\n          - 'true'\n          - 'false'\n        exclude:\n          - os: macos-11\n            python-version: '3.8'\n            with-homebrew: 'true'\n          - os: macos-12\n            python-version: '3.8'\n            with-homebrew: 'true'\n          - os: macos-13\n            python-version: '3.8'\n            with-homebrew: 'true'\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/\n        with:\n          python-version: '${{ matrix.python-version }}'\n          with-venv: '${{ matrix.with-venv }}'\n          with-homebrew: '${{ matrix.with-homebrew }}'\n          deploy-on-python: '[]'\n          deploy-on-os: '[]'\n          deploy-on-branch: '[]'\n  build-experimental:\n    runs-on: ${{ matrix.os }}\n    continue-on-error: true\n    needs: build-primary\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n        python-version:\n          - '3.13-dev'\n          - 'pypy-3.8'\n          - 'pypy-3.9'\n        with-venv:\n          - 'true'\n          - 'false'\n        with-homebrew:\n          - 'true'\n          - 'false'\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/\n        with:\n          python-version: '${{ matrix.python-version }}'\n          with-venv: '${{ matrix.with-venv }}'\n          with-homebrew: '${{ matrix.with-homebrew }}'\n          deploy-on-python: '[]'\n          deploy-on-os: '[]'\n          deploy-on-branch: '[]'\n\n  build-stable-summary:\n    if: success() || failure()\n    runs-on: ubuntu-latest\n    name: Build Stable Summary\n    needs:\n      - build-primary\n      - build-secondary\n      - build-experimental\n    steps:\n      - name: Check build matrix status\n        if: |\n          needs.build-primary.result != 'success' ||\n          needs.build-secondary.result != 'success'\n        run: exit 1\n", "state": "active", "repository": "pybuilder/pybuilder"}
{"mined_at": "2024-07-15T12:40:10.741341", "created_at": "2021-10-05T17:14:23+02:00", "updated_at": "2022-02-23T13:18:30+01:00", "name": "build", "path": ".github/workflows/ci_action.yml", "contents": "name: build\n\non:\n  pull_request:\n  push:\n    branches:\n      - \"master\"\n      - \"develop\"\n  workflow_call:\n\nconcurrency:\n  # This will cancel outdated runs on the same pull-request, but not runs for other triggers\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  # The only way to simulate if-else statement\n  CHECKOUT_BRANCH: ${{ github.event_name == 'schedule' && 'develop' || github.ref }}\n\njobs:\n  check-pre-commit-hooks:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ env.CHECKOUT_BRANCH }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n\n      - uses: pre-commit/action@v3.0.0\n        with:\n          extra_args: --all-files --verbose\n\n  check-code-pylint-and-mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ env.CHECKOUT_BRANCH }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n          cache: pip # caching the entire environment is faster when cache exists but slower for cache creation\n\n      - name: Install packages\n        run: pip install --upgrade --upgrade-strategy eager -e .[AWS,DEV]\n\n      - name: Run mypy\n        run: mypy sentinelhub\n\n      - name: Run pylint\n        if: success() || failure() # always() has the issue that it also runs when the workflow is cancelled\n        run: pylint sentinelhub\n\n  test-on-github:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n        include:\n          # A flag marks whether full or partial tests should be run\n          # We don't run integration tests on pull requests from outside repos, because they don't have secrets\n          - python-version: \"3.8\"\n            full_test_suite: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ env.CHECKOUT_BRANCH }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n\n      - name: Install packages\n        run: pip install --upgrade --upgrade-strategy eager -e .[AWS,DEV]\n\n      - name: Run full tests and code coverage\n        if: ${{ matrix.full_test_suite }}\n        run: |\n          sentinelhub.config \\\n            --sh_client_id \"${{ secrets.SH_CLIENT_ID }}\" \\\n            --sh_client_secret \"${{ secrets.SH_CLIENT_SECRET }}\" \\\n            --instance_id \"${{ secrets.INSTANCE_ID }}\" \\\n            --aws_access_key_id \"${{ secrets.AWS_ACCESS_KEY_ID }}\" \\\n            --aws_secret_access_key \"${{ secrets.AWS_SECRET_ACCESS_KEY }}\"\n          if [ ${{ github.event_name }} == 'push' ]; then\n            pytest --cov --cov-report=term --cov-report=xml\n          else\n            pytest\n          fi\n\n      - name: Run reduced tests\n        if: ${{ !matrix.full_test_suite }}\n        run: |\n          pytest -m \"not sh_integration and not aws_integration\"\n\n      - name: Upload code coverage\n        if: ${{ matrix.full_test_suite && github.event_name == 'push' }}\n        uses: codecov/codecov-action@v2\n        with:\n          files: coverage.xml\n          fail_ci_if_error: true\n          verbose: false\n\n  mirror-and-integration-test-on-gitlab:\n    if: github.event_name == 'push'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - name: Mirror + trigger CI\n        uses: SvanBoxel/gitlab-mirror-and-ci-action@master\n        with:\n          args: \"https://git.sinergise.com/eo/code/sentinelhub-py-dev/\"\n        env:\n          FOLLOW_TAGS: \"true\"\n          GITLAB_HOSTNAME: \"git.sinergise.com\"\n          GITLAB_USERNAME: \"github-action\"\n          GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}\n          GITLAB_PROJECT_ID: \"354\"\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "sentinel-hub/sentinelhub-py"}
{"mined_at": "2024-07-15T12:40:11.743325", "created_at": "2023-11-07T11:26:14+01:00", "updated_at": "2023-11-13T11:32:46+01:00", "name": "trigger", "path": ".github/workflows/ci_trigger.yml", "contents": "name: trigger\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  trigger:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Trigger API\n        run: >\n          curl -X POST --fail \\\n            -F token=${{ secrets.GITLAB_PIPELINE_TRIGGER_TOKEN }} \\\n            -F ref=main \\\n            -F variables[CUSTOM_RUN_TAG]=auto \\\n            -F variables[LAYER_NAME]=dotai-eo \\\n            https://git.sinergise.com/api/v4/projects/1031/trigger/pipeline\n", "state": "active", "repository": "sentinel-hub/sentinelhub-py"}
{"mined_at": "2024-07-15T12:40:12.956344", "created_at": "2023-10-24T15:19:16+02:00", "updated_at": "2023-10-24T15:19:16+02:00", "name": "scheduled build caller", "path": ".github/workflows/scheduled_caller.yml", "contents": "name: scheduled build caller\n\non:\n  schedule:\n    # Schedule events are triggered by whoever last changed the cron schedule\n    - cron: \"0 0 * * *\"\n\njobs:\n  call-workflow:\n    uses: sentinel-hub/sentinelhub-py/.github/workflows/ci_action.yml@develop\n    secrets: inherit\n", "state": "active", "repository": "sentinel-hub/sentinelhub-py"}
{"mined_at": "2024-07-15T12:40:15.169254", "created_at": "2021-05-23T17:12:43+02:00", "updated_at": "2021-05-24T20:01:44+02:00", "name": "Style - BLACK", "path": ".github/workflows/black.yml", "contents": "name: Style - BLACK\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.11\n      - name: Install Dependencies\n        run: |\n          # These packages are installed in the base environment but may be older\n          # versions. Explicitly upgrade them because they often create\n          # installation problems if out of date.\n          # python -m pip install --upgrade pip setuptools numpy\n\n          pip install black\n      - name: Run black\n        run: |\n          black . --check", "state": "active", "repository": "nsls-ii/pyxrf"}
{"mined_at": "2024-07-15T12:40:16.237858", "created_at": "2021-05-23T01:30:19+02:00", "updated_at": "2021-05-24T20:00:35+02:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        # These packages are installed in the base environment but may be older\n        # versions. Explicitly upgrade them because they often create\n        # installation problems if out of date.\n        python -m pip install --upgrade pip setuptools numpy\n\n        pip install .\n        pip install -r requirements-dev.txt\n        pip install -r requirements-docs.txt\n        pip list\n    - name: Build Docs\n      run: |\n        make -C docs/ html\n", "state": "active", "repository": "nsls-ii/pyxrf"}
{"mined_at": "2024-07-15T12:40:17.284604", "created_at": "2021-05-24T20:00:35+02:00", "updated_at": "2021-05-24T20:00:35+02:00", "name": "Publish Docs", "path": ".github/workflows/docs_publish.yml", "contents": "name: Publish Docs\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    if: github.repository_owner == 'NSLS-II'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n      fail-fast: false\n\n    steps:\n    - name: Set env.REPOSITORY_NAME  # just the repo, as opposed to org/repo\n      shell: bash -l {0}\n      run: |\n        export REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}\n        echo \"REPOSITORY_NAME=${REPOSITORY_NAME}\" >> $GITHUB_ENV\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        # These packages are installed in the base environment but may be older\n        # versions. Explicitly upgrade them because they often create\n        # installation problems if out of date.\n        python -m pip install --upgrade pip setuptools numpy\n\n        pip install .\n        pip install -r requirements-dev.txt\n        pip install -r requirements-docs.txt\n        pip list\n    - name: Build Docs\n      run: |\n        make -C docs/ html\n    - name: Deploy documentation to nsls-ii.github.io\n      # We pin to the SHA, not the tag, for security reasons.\n      # https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions\n      uses: peaceiris/actions-gh-pages@bbdfb200618d235585ad98e965f4aafc39b4c501  # v3.7.3\n      with:\n        deploy_key: ${{ secrets.ACTIONS_DOCUMENTATION_DEPLOY_KEY }}\n        publish_branch: master\n        publish_dir: ./docs/build/html\n        external_repository: NSLS-II/NSLS-II.github.io\n        destination_dir: ${{ env.REPOSITORY_NAME }}  # just the repo name\n        keep_files: true  # Keep old files.\n        force_orphan: false  # Keep git history.\n", "state": "active", "repository": "nsls-ii/pyxrf"}
{"mined_at": "2024-07-15T12:40:18.499779", "created_at": "2021-05-21T19:20:53+02:00", "updated_at": "2021-05-24T20:01:44+02:00", "name": "Style - FLAKE8", "path": ".github/workflows/flake8.yml", "contents": "name: Style - FLAKE8\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n      - name: Install Dependencies\n        run: |\n          # These packages are installed in the base environment but may be older\n          # versions. Explicitly upgrade them because they often create\n          # installation problems if out of date.\n          # python -m pip install --upgrade pip setuptools numpy\n\n          pip install flake8\n      - name: Run flake8\n        run: |\n          flake8", "state": "active", "repository": "nsls-ii/pyxrf"}
{"mined_at": "2024-07-15T12:40:19.599751", "created_at": "2023-03-19T04:46:32+01:00", "updated_at": "2023-03-19T14:25:59+01:00", "name": "Check Code Style - ISORT", "path": ".github/workflows/isort.yml", "contents": "name: Check Code Style - ISORT\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n      - name: Install Dependencies\n        run: |\n          # These packages are installed in the base environment but may be older\n          # versions. Explicitly upgrade them because they often create\n          # installation problems if out of date.\n          python -m pip install --upgrade pip setuptools numpy\n\n          pip install isort\n      - name: Run ISort\n        run: |\n          isort . -c", "state": "active", "repository": "nsls-ii/pyxrf"}
{"mined_at": "2024-07-15T12:40:20.738894", "created_at": "2021-10-01T21:50:30+02:00", "updated_at": "2021-10-01T21:50:30+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using flit when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n    branches:\n      - master\n\njobs:\n  deploy:\n    if: github.repository_owner == 'NSLS-II'\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel twine setuptools\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        # The PYPI_PASSWORD must be a pypi token with the \"pypi-\" prefix with sufficient permissions to upload this package\n        # https://pypi.org/help/#apitoken\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "nsls-ii/pyxrf"}
{"mined_at": "2024-07-15T12:40:21.902232", "created_at": "2021-05-23T01:30:19+02:00", "updated_at": "2021-05-24T20:00:35+02:00", "name": "Tests", "path": ".github/workflows/testing.yml", "contents": "name: Tests\n\non:\n  push:\n  pull_request:\n\njobs:\n\n  build:\n    env:\n      DISPLAY: \":99.0\"  # arbitrary\n      # GSETTINGS_SCHEMA_DIR_CONDA_BACKUP is somehow related to the following issue https://github.com/conda/conda/issues/9966\n      GSETTINGS_SCHEMA_DIR_CONDA_BACKUP: \"/usr/share/miniconda/envs/testenv/share/glib-2.0/schemas\"\n\n    strategy:\n      matrix:\n        host-os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        numpy-version: [\"1.26\"]\n        pyqt-version: [\"5.15\"]\n        include:\n          - host-os: \"ubuntu-latest\"\n            conda-mamba: \"mamba\"\n          - host-os: \"macos-latest\"\n            conda-mamba: \"mamba\"\n          - host-os: \"windows-latest\"\n            conda-mamba: \"mamba\"\n      fail-fast: false\n\n    runs-on: ${{ matrix.host-os }}\n\n    # Note: Services are based on docker containers and would run only on Linux\n    #    Leave the item here for reference.\n    # services:\n    #   mongodb:\n    #     image: mongo\n    #     ports:\n    #     - 27017:27017\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        # This step is not expected to influence the test, since the test is run in Conda environment\n        python-version: 3.9\n\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        # miniforge-variant: Mambaforge\n        miniforge-version: latest\n        channels: conda-forge\n        channel-priority: flexible\n        auto-update-conda: true\n        show-channel-urls: true\n        allow-softlinks: true\n        auto-activate-base: false\n        activate-environment: testenv\n        use-only-tar-bz2: false\n\n    - name: Install Linux libraries\n      if: runner.os == 'Linux'\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y xvfb herbstluftwm\n\n    - name: Start 'xvfb'\n      if: runner.os == 'Linux'\n      run: |\n        sudo /sbin/start-stop-daemon --start --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX +render -noreset\n        sleep 3\n\n    - name:  Start 'herbstluftwm'\n      if: runner.os == 'Linux'\n      run: |\n        herbstluftwm &\n        sleep 1\n\n    - name: Install Conda packages\n      run: |\n        set -vxeo pipefail\n\n        # conda install -y -n base --override-channels -c conda-forge mamba 'python_abi=*=*cp*'\n\n        ${{ matrix.conda-mamba }} install -y \\\n          python=${{ matrix.python-version }} \\\n          numpy=${{ matrix.numpy-version }} \\\n          pyqt=${{ matrix.pyqt-version }} \\\n          numba \\\n          pip \\\n          'scikit-beam>=0.0.24' \\\n          -c conda-forge\n\n        conda list\n        pip list\n\n    - name: Install Conda packages (Windows and OSX)\n      if: runner.os != 'Linux'\n      run: |\n        set -vxeo pipefail\n\n        # There are issues in building wheels for pystackreg>0.2.2 on OSX, so install pystackreg from CF\n        ${{ matrix.conda-mamba }} install -y pystackreg -c conda-forge\n\n        conda list\n        pip list\n\n    - name: Install PyPI packages\n      run: |\n        set -vxeuo pipefail\n\n        ${{ matrix.conda-mamba }} install -y pystackreg -c conda-forge  # Some issue with pystackreg from PyPI\n\n        # pip install --upgrade pip setuptools\n        pip install codecov\n        pip install -r requirements.txt\n        pip install -r requirements-dev.txt\n        pip install .\n\n        conda list\n        pip list\n        python --version\n\n    - name: Test with pytest\n      run: |\n        set -vxeuo pipefail\n        coverage run -m pytest -vvv\n        coverage report\n", "state": "active", "repository": "nsls-ii/pyxrf"}
{"mined_at": "2024-07-15T12:40:23.930397", "created_at": "2023-07-31T16:13:01+02:00", "updated_at": "2023-08-25T18:40:58+02:00", "name": "Build", "path": ".github/workflows/ci.yml", "contents": "name: Build\n\non:\n  push:\n  # pull_request:\n  #   branches:\n  #     - master\n  release:\n    types:\n      - created\n  # schedule:\n  #   - cron: \"0 7 * * 1\"\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    # Runs can be slow, so don't use resources unless we mean to publish\n    if: github.repository == 'DigitalSlideArchive/HistomicsTK' && ( startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master' )\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install tox\n        run: |\n          pip install --upgrade pip\n          pip install tox tox-gh-actions\n      - name: Run tox\n        env:\n          PYTEST_ADDOPTS: \"--durations=0 -vv\"\n        run: |\n          tox\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - uses: nikeee/setup-pandoc@v1\n      - name: Install tox\n        run: |\n          pip install --upgrade pip\n          pip install tox\n      - name: Run tox for lint and docs\n        run: |\n          tox -e lint,docs\n      - uses: actions/upload-artifact@v4\n        with:\n          name: docs\n          path: ./docs/_build\n  build_wheels:\n    name: Wheels for ${{ matrix.python }} / ${{ matrix.buildplat[0] }} / ${{ matrix.buildplat[1] }}\n    runs-on: ${{ matrix.buildplat[0] }}\n    # Don't build external PRs.\n    if: github.repository == 'DigitalSlideArchive/HistomicsTK'\n    strategy:\n      matrix:\n        # See matplotlib for some of the rationale of this\n        buildplat:\n          - [ubuntu-latest, x86_64]\n          - [macos-latest, \"x86_64 arm64\"]\n          - [windows-latest, auto64]\n        python: [\"cp38\", \"cp39\", \"cp310\", \"cp311\", \"cp312\"]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - run: git status && git tag --list && pwd\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_BUILD: ${{ matrix.python }}-*\n          CIBW_TEST_SKIP: \"*-macosx_arm64\"\n          CIBW_ARCHS: ${{ matrix.buildplat[1] }}\n          MACOSX_DEPLOYMENT_TARGET: \"10.12\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: dist-${{ matrix.python }}-${{ startsWith(matrix.buildplat[1], 'macosx') && 'macosx' || matrix.buildplat[1] }}\n          path: ./wheelhouse/*.whl\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Build SDist\n      run: pipx run build --sdist\n    - uses: actions/upload-artifact@v4\n      with:\n        name: dist-sdist\n        path: dist/*.tar.gz\n\n  # Still on Circle-CI\n  #   - docker\n  #   - publish-docker\n  #   - docs-deploy\n\n  test-release:\n    runs-on: ubuntu-latest\n    needs:\n      - lint\n      - build_wheels\n      - make_sdist\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          path: dist\n          pattern: dist-*\n          merge-multiple: true\n      - name: List dist directory\n        run: ls dist\n\n  release:\n    runs-on: ubuntu-latest\n    needs:\n      - test\n      - lint\n      - build_wheels\n      - make_sdist\n    if: github.repository == 'DigitalSlideArchive/HistomicsTK' && ( startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master' )\n    environment:\n      name: pypi\n      url: https://pypi.org/p/histomicstk\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          path: dist\n          pattern: dist-*\n          merge-multiple: true\n      - name: List dist directory\n        run: ls dist\n      - uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "digitalslidearchive/histomicstk"}
{"mined_at": "2024-07-15T12:40:24.908060", "created_at": "2023-02-15T19:40:48+01:00", "updated_at": "2023-07-28T21:52:00+02:00", "name": "Build", "path": ".github/workflows/wheels.yml", "contents": null, "state": "active", "repository": "digitalslidearchive/histomicstk"}
{"mined_at": "2024-07-15T12:40:25.960094", "created_at": "2024-07-15T10:05:56+02:00", "updated_at": "2024-07-15T10:05:56+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "digitalslidearchive/histomicstk"}
{"mined_at": "2024-07-15T12:40:26.910708", "created_at": "2022-01-25T16:25:39+01:00", "updated_at": "2022-01-25T16:25:39+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "digitalslidearchive/histomicstk"}
{"mined_at": "2024-07-15T12:40:28.928256", "created_at": "2022-04-07T23:47:11+02:00", "updated_at": "2024-06-28T22:32:33+02:00", "name": "PR tests", "path": ".github/workflows/tests.yml", "contents": "name: PR tests\n\nenv:\n  LOWEST_SUPPORTED_PY_VERSION: '3.8'\n\n# Trigger test workflow whenever:\n# 1. A pull request is updated (e.g with new commits)\n# 2. Commits are pushed directly to the dev, stage or master branch\non:\n  push:\n    branches: [\"dev*\", \"stage*\", \"master*\", \"v*-backport*\"]\n  pull_request:\n    branches: [\"dev*\", \"stage*\", \"v*-backport*\"]\n    types: [\n      # Default triggers\n      opened,\n      synchronize,\n      reopened,\n      # Additional triggers\n      labeled,\n      unlabeled\n    ]\n  workflow_dispatch:\n    inputs:\n      test-server-rc:\n        type: boolean\n        default: false\n        required: true\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: recursive\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n        architecture: 'x64'\n    - uses: pre-commit/action@v3.0.0\n\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        py-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: recursive\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.py-version }}\n        architecture: 'x64'\n\n    - run: sudo apt update\n    - name: Install build dependencies (apt packages)\n      run: sudo apt install python3-dev libssl-dev -y\n    - name: Install build dependencies (pip packages)\n      run: python3 -m pip install -r requirements.txt\n\n    - name: Build client\n      run: python3 -m build\n      env:\n        CFLAGS: '-Werror'\n\n    - name: Send wheel to test jobs\n      uses: actions/upload-artifact@v3\n      with:\n        name: wheel-${{ matrix.py-version }}\n        path: ./dist/*.whl\n\n  test-memray:\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8\"\n        architecture: 'x64'\n\n    - uses: actions/download-artifact@v3\n      with:\n        name: wheel-3.8\n\n    - name: Install client\n      run: pip install *.whl\n\n    - name: Install test dependencies\n      run: pip install -r test/requirements.txt\n\n    - name: Run Aerospike server\n      run: docker run -d --name aerospike -p 3000-3002:3000-3002 aerospike/aerospike-server\n\n    - name: Wait for database to be ready\n      # Should be ready after 3 seconds\n      run: sleep 3\n\n    - name: Get number of tests\n      run: echo \"NUM_TESTS=$(python3 -m pytest new_tests/ --collect-only -q | tail -n 1 | awk '{print $1;}')\" >> $GITHUB_ENV\n      working-directory: test\n\n    - name: Run tests\n      # Get number of tests since setting to 0 doesn't work properly\n      # pytest-memray currently throws a ZeroDivision error due to having a bug\n      # We ignore this for now\n      run: python -m pytest ./new_tests --memray --memray-bin-path=./ --most-allocations=${{ env.NUM_TESTS }} || true\n      working-directory: test\n\n  generate-coverage-report:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: recursive\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: \"3.9\"\n        architecture: 'x64'\n\n    - name: Build client\n      # Use old build command to generate object .o files in build/temp*/src/main directory\n      # They will also contain .gcno files there\n      # and .gcda files will be generated there after running the tests\n      # The build frontend doesn't generate these .o files (may be wrong?)\n      run: COVERAGE=1 python3 setup.py build\n\n    - name: Install client\n      # Install in user directory to prevent permission errors\n      run: python3 setup.py install --user\n\n    - run: pip install -r requirements.txt\n      working-directory: test\n\n    - name: Run Aerospike server\n      uses: ./.github/actions/run-ee-server\n      with:\n        use-server-rc: ${{ contains(github.event.pull_request.labels.*.name, 'new-server-features') }}\n        docker-hub-username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        docker-hub-password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - run: sleep 5\n\n    - run: python3 -m pytest --cov=aerospike_helpers --cov-report xml:coverage.xml ./new_tests\n      working-directory: test\n\n    - name: Copy over source files to build dir\n      if: ${{ !cancelled() }}\n      # The build/temp*/src/main directory will contain a hierarchy of object .o files\n      # But the source files must be stored in the same folder hierarchy at build/temp*/src/main/src/main\n      run: |\n        cd build/temp*/src/main\n        mkdir -p src/main/\n        mkdir -p cdt_types/src/main/cdt_types\n        mkdir -p client/src/main/client\n        mkdir -p geospatial/src/main/geospatial\n        mkdir -p global_hosts/src/main/global_hosts\n        mkdir -p key_ordered_dict/src/main/key_ordered_dict\n        mkdir -p nullobject/src/main/nullobject\n        mkdir -p query/src/main/query\n        mkdir -p scan/src/main/scan\n\n        cd ../../../../\n        cp src/main/*.c build/temp*/src/main/src/main\n        cp src/main/cdt_types/*.c build/temp*/src/main/cdt_types/src/main/cdt_types/\n        cp src/main/client/*.c build/temp*/src/main/client/src/main/client/\n        cp src/main/geospatial/*.c build/temp*/src/main/geospatial/src/main/geospatial/\n        cp src/main/global_hosts/*.c build/temp*/src/main/global_hosts/src/main/global_hosts/\n        cp src/main/key_ordered_dict/*.c build/temp*/src/main/key_ordered_dict/src/main/key_ordered_dict/\n        cp src/main/nullobject/*.c build/temp*/src/main/nullobject/src/main/nullobject/\n        cp src/main/query/*.c build/temp*/src/main/query/src/main/query/\n        cp src/main/scan/*.c build/temp*/src/main/scan/src/main/scan/\n\n    - name: Generate coverage report for all object files\n      if: ${{ !cancelled() }}\n      run: |\n        cd build/temp*/src/main\n        find . -type f -name \"*.o\" -execdir gcov {} \\;\n\n    - name: Move aerospike_helpers coverage report to this directory\n      if: ${{ !cancelled() }}\n      run: mv test/coverage.xml build/temp*/src/main\n\n    - name: Upload coverage report folder to Github\n      if: ${{ !cancelled() }}\n      uses: actions/upload-artifact@v3\n      with:\n        name: coverage-report\n        path: build/temp*/src/main/\n\n  coverage-upload:\n    needs: generate-coverage-report\n    if: ${{ !cancelled() }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n\n    - uses: actions/download-artifact@v3\n      with:\n        name: coverage-report\n        path: ./coverage-report\n\n    - uses: codecov/codecov-action@v3\n      with:\n        directory: coverage-report\n        verbose: true # optional (default = false)\n        fail_ci_if_error: true\n\n  stubtest:\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: recursive\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.LOWEST_SUPPORTED_PY_VERSION }}\n        architecture: 'x64'\n\n    - uses: actions/download-artifact@v3\n      with:\n        name: wheel-${{ env.LOWEST_SUPPORTED_PY_VERSION }}\n\n    - name: Install client\n      run: pip install *.whl\n\n    - run: pip install mypy\n\n    - run: stubtest aerospike --allowlist stubtest-allowlist\n\n  # Run this when testing new server features on server release candidate\n  # to make sure the tests don't regress on the last server release.\n  test-ce-latest-release:\n    runs-on: ubuntu-latest\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'new-server-features') }}\n    needs: build\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: recursive\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.LOWEST_SUPPORTED_PY_VERSION }}\n        architecture: 'x64'\n\n    - uses: actions/download-artifact@v3\n      with:\n        name: wheel-${{ env.LOWEST_SUPPORTED_PY_VERSION }}\n\n    - name: Install client\n      run: pip install *.whl\n\n    - name: Install test dependencies\n      run: pip install -r test/requirements.txt\n\n    - name: Run Aerospike server\n      run: docker run -d --name aerospike -p 3000-3002:3000-3002 aerospike/aerospike-server\n\n    - name: Wait for database to be ready\n      # Should be ready after 3 seconds\n      run: sleep 3\n\n    - name: Run tests\n      run: python -m pytest ./new_tests\n      working-directory: test\n\n  test-ce:\n    runs-on: ubuntu-latest\n    needs: build\n    strategy:\n      matrix:\n        py-version: [\n          \"3.8\",\n          \"3.9\",\n          \"3.10\",\n          \"3.11\",\n          \"3.12\"\n        ]\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: recursive\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.py-version }}\n        architecture: 'x64'\n\n    - uses: actions/download-artifact@v3\n      with:\n        name: wheel-${{ matrix.py-version }}\n\n    - name: Install client\n      run: pip install *.whl\n\n    - name: Install test dependencies\n      run: pip install -r test/requirements.txt\n\n    - if: ${{ contains(github.event.pull_request.labels.*.name, 'new-server-features') }}\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - name: Run Aerospike server release candidate with latest tag\n      if: ${{ contains(github.event.pull_request.labels.*.name, 'new-server-features') }}\n      run: docker run -d --name aerospike -p 3000-3002:3000-3002 aerospike/aerospike-server-rc:latest\n\n    - name: Run Aerospike server\n      if: ${{ !contains(github.event.pull_request.labels.*.name, 'new-server-features') }}\n      run: docker run -d --name aerospike -p 3000-3002:3000-3002 aerospike/aerospike-server\n\n    - name: Wait for database to be ready\n      # Should be ready after 3 seconds\n      run: sleep 3\n\n    - name: Run tests\n      run: python -m pytest ./new_tests -vv\n      working-directory: test\n\n  test-lowest-supported-server:\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: recursive\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.LOWEST_SUPPORTED_PY_VERSION }}\n        architecture: 'x64'\n\n    - uses: actions/download-artifact@v3\n      with:\n        name: wheel-${{ env.LOWEST_SUPPORTED_PY_VERSION }}\n\n    - name: Install client\n      run: pip install *.whl\n\n    - name: Install test dependencies\n      run: pip install -r test/requirements.txt\n\n    - name: Run lowest supported server\n      run: docker run -d --name aerospike -p 3000-3002:3000-3002 aerospike/aerospike-server:${{ vars.LOWEST_SUPPORTED_SERVER_VERSION }}\n\n    - name: Wait for database to be ready\n      # Should be ready after 3 seconds\n      run: sleep 3\n\n    - name: Run tests\n      run: python -m pytest ./new_tests\n      working-directory: test\n\n  test-ee:\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: recursive\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.LOWEST_SUPPORTED_PY_VERSION }}\n        architecture: 'x64'\n\n    - uses: actions/download-artifact@v3\n      with:\n        name: wheel-${{ env.LOWEST_SUPPORTED_PY_VERSION }}\n\n    - name: Install client\n      run: pip install *.whl\n\n    - name: Install test dependencies\n      run: pip install -r test/requirements.txt\n\n    - uses: ./.github/actions/run-ee-server\n      with:\n        use-server-rc: ${{ contains(github.event.pull_request.labels.*.name, 'new-server-features') }}\n        docker-hub-username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        docker-hub-password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - name: Wait for server to start\n      run: sleep 5\n\n    - name: Run tests\n      run: python -m pytest ./new_tests/test_admin_*.py\n      working-directory: test\n\n    - name: Show logs if failed\n      if: ${{ failure() }}\n      run: |\n        docker container logs aerospike\n        cat ./configs/aerospike.conf\n\n  spellcheck-docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: recursive\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n        architecture: 'x64'\n    - name: Install dependencies for checking spelling in docs\n      # TODO: find way to split up dependencies\n      run: python -m pip install -r doc/requirements.txt\n    - name: Check spelling\n      run: sphinx-build -b spelling . spelling -W --keep-going\n      working-directory: doc\n\n  check-links-docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n        architecture: 'x64'\n    - name: Install documentation dependencies\n      run: python -m pip install -r doc/requirements.txt\n    - name: Check spelling\n      run: sphinx-build -b linkcheck . links\n      working-directory: doc\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:29.972443", "created_at": "2023-01-06T21:10:19+01:00", "updated_at": "2024-04-17T18:19:53+02:00", "name": "Build wheels", "path": ".github/workflows/build-wheels.yml", "contents": "name: Build wheels\nrun-name: Build wheels (run_tests=${{ inputs.run_tests }}, use-server-rc=${{ inputs.use-server-rc }}, server-tag=${{ inputs.server-tag }}, test-macos-x86=${{ inputs.test-macos-x86 }}, build-for-debugging=${{ inputs.build-for-debugging }})\n\n# Builds manylinux wheels and source distribution\n# If running tests, publish results in commit status\n# For each build, upload to Github as an artifact if it passes testing or does not need to run tests\n\non:\n  workflow_dispatch:\n    inputs:\n      # If we only want to check that the builds pass on an arbitrary branch\n      run_tests:\n        description: \"Run integration tests\"\n        required: true\n        type: boolean\n        default: false\n      use-server-rc:\n        type: boolean\n        required: true\n        default: false\n        description: 'Test against server release candidate?'\n      # If we are creating a backport and want to test an arbitrary branch against an older server version\n      server-tag:\n        required: true\n        default: 'latest'\n        description: 'Server docker image tag'\n      test-macos-x86:\n        required: true\n        type: boolean\n        default: false\n        description: 'Test macOS x86 wheels (unstable)'\n      build-for-debugging:\n        required: true\n        type: boolean\n        default: false\n        description: 'Apply -O0 when building C client and Python client? (Linux)'\n  workflow_call:\n    inputs:\n      # The \"dev\" tests test the artifacts against a server release\n      # The \"stage\" tests and release workflow only need to build the artifacts, not test them\n      run_tests:\n        description: \"Run integration tests\"\n        required: false\n        type: boolean\n        default: false\n      ref:\n        type: string\n        required: false\n      # Calling workflow doesn't actually use the options below\n      # But we need to set default values for workflow calls to use\n      use-server-rc:\n        required: false\n        default: true\n        type: boolean\n      server-tag:\n        type: string\n        required: false\n        default: 'latest'\n      test-macos-x86:\n        required: false\n        type: boolean\n        default: false\n      build-for-debugging:\n        required: false\n        type: boolean\n        default: false\n    secrets:\n      DOCKER_HUB_BOT_USERNAME:\n        required: false\n      DOCKER_HUB_BOT_PW:\n        required: false\n      MAC_M1_SELF_HOSTED_RUNNER_PW:\n        required: false\n\njobs:\n  build-sdist:\n    name: Build source distribution\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Show job status for commit\n      uses: myrotvorets/set-commit-status-action@v2.0.0\n      with:\n        sha: ${{ github.sha }}\n        context: \"Build wheels (sdist)\"\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n        ref: ${{ inputs.ref }}\n\n    - name: Install build dependencies (pip packages)\n      run: python3 -m pip install -r requirements.txt\n\n    - name: Build source distribution\n      run: python3 -m build --sdist\n\n    - name: Upload source distribution to GitHub\n      uses: actions/upload-artifact@v4\n      with:\n        path: ./dist/*.tar.gz\n        name: sdist.build\n\n    - name: Set final commit status\n      uses: myrotvorets/set-commit-status-action@v2.0.0\n      if: always()\n      with:\n        sha: ${{ github.sha }}\n        status: ${{ job.status }}\n        context: \"Build wheels (sdist)\"\n\n  manylinux:\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        # Python versions to build wheels on\n        python: [\n          \"cp38\",\n          \"cp39\",\n          \"cp310\",\n          \"cp311\",\n          \"cp312\"\n        ]\n        platform: [\n          \"x86_64\",\n          \"aarch64\"\n        ]\n\n    steps:\n    - name: Show job status for commit\n      uses: myrotvorets/set-commit-status-action@v2.0.0\n      with:\n        sha: ${{ github.sha }}\n        context: \"Build wheels (${{ matrix.python }}-manylinux_${{ matrix.platform }})\"\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n        ref: ${{ inputs.ref }}\n\n    - name: Set up QEMU for cross compiling arm64\n      if: ${{ matrix.platform == 'aarch64' }}\n      uses: docker/setup-qemu-action@v2\n      with:\n        platforms: arm64\n\n    - uses: ./.github/actions/run-ee-server-for-ext-container\n      if: ${{ inputs.run_tests }}\n      with:\n        use-server-rc: ${{ inputs.use-server-rc }}\n        server-tag: ${{ inputs.server-tag }}\n        docker-hub-username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        docker-hub-password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - name: Enable tests\n      if: ${{ inputs.run_tests }}\n      run: echo \"TEST_COMMAND=cd {project}/test/ && pip install -r requirements.txt && python -m pytest new_tests/\" >> $GITHUB_ENV\n\n    - name: Disable tests (only run basic import test)\n      if: ${{ !inputs.run_tests }}\n      run: echo \"TEST_COMMAND=python -c 'import aerospike'\" >> $GITHUB_ENV\n\n    - name: Get current version if building a debug wheel\n      if: ${{ inputs.build-for-debugging }}\n      run: echo DEBUG_VERSION=\"$(cat VERSION)+unoptimized\" >> $GITHUB_ENV\n\n    - name: Label version for debugging\n      if: ${{ inputs.build-for-debugging }}\n      uses: ./.github/actions/update-version\n      with:\n        new_version: ${{ env.DEBUG_VERSION }}\n\n    - name: Build without optimizations\n      if: ${{ inputs.build-for-debugging }}\n      run: echo \"UNOPTIMIZED=1\" >> $GITHUB_ENV\n\n    - name: Build wheel\n      uses: pypa/cibuildwheel@v2.16.5\n      env:\n        CIBW_ENVIRONMENT_PASS_LINUX: ${{ inputs.build-for-debugging && 'UNOPTIMIZED' || '' }}\n        CIBW_BUILD: ${{ matrix.python }}-manylinux_${{ matrix.platform }}\n        CIBW_BUILD_FRONTEND: build\n        CIBW_BEFORE_ALL_LINUX: >\n          yum install openssl-devel -y &&\n          yum install python-devel -y &&\n          yum install python-setuptools -y\n        CIBW_ARCHS: \"${{ matrix.platform }}\"\n        CIBW_TEST_COMMAND: ${{ env.TEST_COMMAND }}\n\n    - name: Upload wheels to GitHub\n      uses: actions/upload-artifact@v4\n      with:\n        path: ./wheelhouse/*.whl\n        name: ${{ matrix.python }}-manylinux_${{ matrix.platform }}.build\n\n    - name: Set final commit status\n      uses: myrotvorets/set-commit-status-action@v2.0.0\n      if: always()\n      with:\n        sha: ${{ github.sha }}\n        status: ${{ job.status }}\n        context: \"Build wheels (${{ matrix.python }}-manylinux_${{ matrix.platform }})\"\n\n  macOS-x86:\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\n          \"cp38\",\n          \"cp39\",\n          \"cp310\",\n          \"cp311\",\n          \"cp312\"\n        ]\n    runs-on: macos-12-large\n    steps:\n    - name: Show job status for commit\n      uses: myrotvorets/set-commit-status-action@v2.0.0\n      with:\n        sha: ${{ github.sha }}\n        context: \"Build wheels (${{ matrix.python }}-macosx_x86_64)\"\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n        ref: ${{ inputs.ref }}\n\n    - name: Install Docker Engine\n      if: ${{ inputs.run_tests }}\n      run: brew install colima\n\n    - name: Install Docker client\n      if: ${{ inputs.run_tests }}\n      run: brew install docker\n\n    - name: Start Docker Engine\n      if: ${{ inputs.run_tests }}\n      run: colima start\n\n    - uses: ./.github/actions/run-ee-server\n      if: ${{ inputs.run_tests }}\n      with:\n        use-server-rc: ${{ inputs.use-server-rc }}\n        server-tag: ${{ inputs.server-tag }}\n        docker-hub-username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        docker-hub-password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - name: Enable tests\n      if: ${{ inputs.run_tests && inputs.test-macos-x86 }}\n      run: echo \"TEST_COMMAND=cd {project}/test/ && pip install -r requirements.txt && python -m pytest new_tests/\" >> $GITHUB_ENV\n\n    - name: Disable tests (only run basic import test)\n      if: ${{ !inputs.run_tests || !inputs.test-macos-x86 }}\n      run: echo \"TEST_COMMAND=python -c 'import aerospike'\" >> $GITHUB_ENV\n\n    - name: Build wheel\n      uses: pypa/cibuildwheel@v2.16.5\n      env:\n        CIBW_BUILD: ${{ matrix.python }}-macosx_x86_64\n        CIBW_BUILD_FRONTEND: build\n        CIBW_ENVIRONMENT: SSL_LIB_PATH=\"$(brew --prefix openssl@1.1)/lib/\" CPATH=\"$(brew --prefix openssl@1.1)/include/\" STATIC_SSL=1\n        CIBW_ARCHS: \"x86_64\"\n        CIBW_TEST_COMMAND: ${{ env.TEST_COMMAND }}\n\n    - name: Save macOS wheel\n      uses: actions/upload-artifact@v4\n      with:\n        name: ${{ matrix.python }}-macosx_x86_64.build\n        path: wheelhouse/*.whl\n\n    - name: Set final commit status\n      uses: myrotvorets/set-commit-status-action@v2.0.0\n      if: always()\n      with:\n        status: ${{ job.status }}\n        sha: ${{ github.sha }}\n        context: \"Build wheels (${{ matrix.python }}-macosx_x86_64)\"\n\n  macOS-m1:\n    runs-on: [\n      self-hosted,\n      macOS,\n      ARM64\n    ]\n    strategy:\n      matrix:\n        python-version: [\n          [\"cp38\", \"3.8\"],\n          [\"cp39\", \"3.9\"],\n          [\"cp310\", \"3.10\"],\n          [\"cp311\", \"3.11\"],\n          [\"cp312\", \"3.12\"]\n        ]\n      fail-fast: false\n    steps:\n    - name: Show job status for commit\n      uses: myrotvorets/set-commit-status-action@v2.0.0\n      with:\n        sha: ${{ github.sha }}\n        context: \"Build wheels (${{ matrix.python-version[0] }}-macosx_arm64)\"\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n        ref: ${{ inputs.ref }}\n\n    # Update dependencies if needed\n    - name: Add brew to path\n      run: echo PATH=$PATH:/opt/homebrew/bin/ >> $GITHUB_ENV\n\n    - name: Install or upgrade Python\n      run: brew install python@${{ matrix.python-version[1] }}\n\n    - name: Install or upgrade OpenSSL 1.1\n      run: brew install openssl@1.1\n\n    - name: Set environment variables for building\n      run: |\n        openssl_path=$(brew --prefix openssl@1.1)\n        echo SSL_LIB_PATH=\"$openssl_path/lib/\" >> $GITHUB_ENV\n        echo CPATH=\"$openssl_path/include/\" >> $GITHUB_ENV\n        echo STATIC_SSL=1 >> $GITHUB_ENV\n\n    - name: Install pip build packages\n      run: python${{ matrix.python-version[1] }} -m pip install --break-system-packages --force-reinstall -r requirements.txt\n\n    # Self-hosted runner only\n    # Need to be able to save Docker Hub credentials to keychain\n    - run: security unlock-keychain -p ${{ secrets.MAC_M1_SELF_HOSTED_RUNNER_PW }}\n      if: ${{ inputs.run_tests && inputs.use-server-rc }}\n\n    - if: ${{ inputs.run_tests && inputs.use-server-rc }}\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - name: Use server rc\n      if: ${{ inputs.run_tests && inputs.use-server-rc }}\n      run: echo IMAGE_NAME=\"${{ vars.SERVER_RC_REPO_LINK }}:${{ inputs.server-tag }}\" >> $GITHUB_ENV\n\n    - name: Use server release\n      if: ${{ inputs.run_tests && !inputs.use-server-rc }}\n      run: echo IMAGE_NAME=\"${{ vars.SERVER_REPO_LINK }}:${{ inputs.server-tag }}\" >> $GITHUB_ENV\n\n    - name: Run server\n      if: ${{ inputs.run_tests }}\n      run: docker run -d -p 3000:3000 --name aerospike ${{ env.IMAGE_NAME }}\n\n    - run: python${{ matrix.python-version[1] }} -m build\n\n    - name: Install delocate\n      run: python${{ matrix.python-version[1] }} -m pip install --break-system-packages --force-reinstall delocate -c ./requirements.txt\n      working-directory: .github/workflows\n\n    - run: delocate-wheel --require-archs \"arm64\" -w wheelhouse/ -v dist/*.whl\n    - run: python${{ matrix.python-version[1] }} -m pip install --break-system-packages --find-links=wheelhouse/ --no-index --force-reinstall aerospike\n\n    - run: python${{ matrix.python-version[1] }} -m pip install --break-system-packages --force-reinstall -r requirements.txt\n      if: ${{ inputs.run_tests }}\n      working-directory: test\n\n    - run: python${{ matrix.python-version[1] }} -m pytest new_tests/\n      if: ${{ inputs.run_tests }}\n      working-directory: test\n\n    - run: python${{ matrix.python-version[1] }} -c \"import aerospike\"\n      if: ${{ !inputs.run_tests }}\n\n    - name: Save macOS wheel\n      uses: actions/upload-artifact@v4\n      with:\n        name: ${{ matrix.python-version[0] }}-macosx_arm64.build\n        path: wheelhouse/*.whl\n\n    - name: Stop server\n      if: ${{ always() && inputs.run_tests }}\n      run: |\n        docker container stop aerospike\n        docker container prune -f\n\n    - name: Set final commit status\n      uses: myrotvorets/set-commit-status-action@v2.0.0\n      if: always()\n      with:\n        sha: ${{ github.sha }}\n        status: ${{ job.status }}\n        context: \"Build wheels (${{ matrix.python-version[0] }}-macosx_arm64)\"\n\n  windows-build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\n          [\"cp38\", \"3.8\"],\n          [\"cp39\", \"3.9\"],\n          [\"cp310\", \"3.10\"],\n          [\"cp311\", \"3.11\"],\n          [\"cp312\", \"3.12\"]\n        ]\n    runs-on: windows-2022\n    steps:\n      - name: Show job status for commit\n        uses: myrotvorets/set-commit-status-action@v2.0.0\n        with:\n          sha: ${{ github.sha }}\n          context: \"Build wheels (${{ matrix.python[0] }}-win_amd64)\"\n\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          ref: ${{ inputs.ref }}\n\n      - name: Add msbuild to PATH\n        uses: microsoft/setup-msbuild@v1.1\n\n      - name: Install C client deps\n        run: nuget restore\n        working-directory: aerospike-client-c/vs\n\n      - name: Build wheel\n        uses: pypa/cibuildwheel@v2.16.5\n        env:\n          CIBW_BUILD: ${{ matrix.python[0] }}-win_amd64\n          CIBW_BUILD_FRONTEND: build\n          CIBW_ARCHS: auto64\n          CIBW_BEFORE_BUILD_WINDOWS: \"pip install delvewheel\"\n          CIBW_REPAIR_WHEEL_COMMAND: \"delvewheel repair --add-path ./aerospike-client-c/vs/x64/Release -w {dest_dir} {wheel}\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./wheelhouse/*.whl\n          name: ${{ matrix.python[0] }}-win_amd64.build\n\n      - name: Set final commit status\n        uses: myrotvorets/set-commit-status-action@v2.0.0\n        if: always()\n        with:\n          sha: ${{ github.sha }}\n          status: ${{ job.status }}\n          context: \"Build wheels (${{ matrix.python[0] }}-win_amd64)\"\n\n  test-windows:\n    needs: windows-build\n    if: ${{ inputs.run_tests }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\n          [\"cp38\", \"3.8\"],\n          [\"cp39\", \"3.9\"],\n          [\"cp310\", \"3.10\"],\n          [\"cp311\", \"3.11\"],\n          [\"cp312\", \"3.12\"]\n        ]\n    runs-on: [self-hosted, Windows, X64]\n    steps:\n      - name: Show job status for commit\n        uses: myrotvorets/set-commit-status-action@v2.0.0\n        with:\n          sha: ${{ github.sha }}\n          context: \"Test Windows (${{ matrix.python[0] }}-win_amd64)\"\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n\n      - run: docker run -d -p 3000:3000 --name aerospike aerospike/aerospike-server\n      - name: Download wheel\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ matrix.python[0] }}-win_amd64.build\n      - name: Install wheel\n        run: python${{ matrix.python[1] }} -m pip install aerospike --force-reinstall --no-index --find-links=./\n      - name: Connect to Docker container on remote machine with Docker daemon\n        # DOCKER_HOST contains the IP address of the remote machine\n        run: |\n          python${{ matrix.python[1] }} -m pip install crudini==0.9.4\n          $env:DOCKER_HOST_IP = $env:DOCKER_HOST | foreach {$_.replace(\"tcp://\",\"\")} | foreach {$_.replace(\":2375\", \"\")}\n          python${{ matrix.python[1] }} -m crudini --set config.conf community-edition hosts ${env:DOCKER_HOST_IP}:3000\n        working-directory: test\n\n      - run: python${{ matrix.python[1] }} -m pip install pytest -c requirements.txt\n        working-directory: test\n\n      - run: python${{ matrix.python[1] }} -m pytest new_tests/\n        working-directory: test\n\n      - name: Cleanup\n        if: ${{ always() }}\n        run: |\n          docker stop aerospike\n          docker container rm aerospike\n\n      - name: Show job status for commit\n        if: always()\n        uses: myrotvorets/set-commit-status-action@v2.0.0\n        with:\n          sha: ${{ github.sha }}\n          status: ${{ job.status }}\n          context: \"Test Windows (${{ matrix.python[0] }}-win_amd64)\"\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:31.183805", "created_at": "2023-02-08T01:35:20+01:00", "updated_at": "2024-06-17T20:37:18+02:00", "name": "Valgrind", "path": ".github/workflows/valgrind.yml", "contents": "name: Valgrind\n\non:\n  workflow_dispatch:\n    inputs:\n      test-file:\n        description: 'new_test/<test-file>'\n        required: false\n        default: \"\"\n      use-server-rc:\n        type: boolean\n        description: 'Use server release candidate?'\n        required: true\n        default: false\n\njobs:\n  valgrind:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n        architecture: 'x64'\n\n    - name: Install client\n      run: pip install .\n\n    - name: Install test dependencies\n      run: pip install -r test/requirements.txt\n\n    - name: Run EE server\n      uses: ./.github/actions/run-ee-server\n      with:\n        use-server-rc: ${{ inputs.use-server-rc }}\n        docker-hub-username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        docker-hub-password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - name: Wait for database to be ready\n      # Should be ready after 3 seconds\n      run: sleep 3\n\n    - run: sudo apt update\n    - run: sudo apt install valgrind -y\n    - run: PYTHONMALLOC=malloc valgrind --leak-check=full --error-exitcode=1 python3 -m pytest -v new_tests/${{ github.event.inputs.test-file }}\n      working-directory: test\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:32.177910", "created_at": "2023-06-21T20:30:20+02:00", "updated_at": "2023-06-21T20:30:20+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": null, "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:33.196813", "created_at": "2023-09-28T17:50:09+02:00", "updated_at": "2024-04-10T00:24:06+02:00", "name": "Test cibuildwheel artifacts against server RC", "path": ".github/workflows/test-server-rc.yml", "contents": "name: Test cibuildwheel artifacts against server RC\nrun-name: Test cibuildwheel artifacts against server RC\n\non:\n  workflow_call:\n    secrets:\n      DOCKER_HUB_BOT_USERNAME:\n        required: true\n      DOCKER_HUB_BOT_PW:\n        required: true\n      MAC_M1_SELF_HOSTED_RUNNER_PW:\n        required: true\n\njobs:\n  manylinux:\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        # Python versions to build wheels on\n        python: [\n          [\"3.8\", \"cp38\"],\n          [\"3.9\", \"cp39\"],\n          [\"3.10\", \"cp310\"],\n          [\"3.11\", \"cp311\"],\n          [\"3.12\", \"cp312\"]\n        ]\n        platform: [\n          \"x86_64\",\n          \"aarch64\"\n        ]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up QEMU for cross compiling arm64\n      if: ${{ matrix.platform == 'aarch64' }}\n      uses: docker/setup-qemu-action@v2\n      with:\n        platforms: arm64\n\n    - run: docker run -d --name manylinux quay.io/pypa/manylinux2014_${{ matrix.platform }} tail -f /dev/null\n\n    - uses: ./.github/actions/run-ee-server-for-ext-container\n      with:\n        use-server-rc: true\n        server-tag: latest\n        docker-hub-username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        docker-hub-password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - name: Wait for server to be ready\n      run: sleep 5\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: ${{ matrix.python[1] }}-manylinux_${{ matrix.platform }}.build\n        path: ./\n\n    - name: Copy repo and wheel into manylinux container\n      run: docker cp ../aerospike-client-python manylinux:/\n\n    - name: Install wheel\n      run: docker exec --workdir /aerospike-client-python manylinux python${{ matrix.python[0] }} -m pip install *.whl\n\n    - name: Install test prerequisites\n      run: docker exec --workdir /aerospike-client-python/test manylinux python${{ matrix.python[0] }} -m pip install -r requirements.txt\n\n    - name: Run tests\n      id: test\n      run: docker exec --workdir /aerospike-client-python/test manylinux python${{ matrix.python[0] }} -m pytest new_tests/\n\n  macOS-x86:\n    # Skip macOS x86 testing since it's unstable\n    if: ${{ false }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\n          [\"3.8\", \"cp38\"],\n          [\"3.9\", \"cp39\"],\n          [\"3.10\", \"cp310\"],\n          [\"3.11\", \"cp311\"],\n          [\"3.12\", \"cp312\"]\n        ]\n    runs-on: macos-12-large\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Install Docker Engine\n      run: brew install colima\n\n    - name: Install Docker client\n      run: brew install docker\n\n    - name: Start Docker Engine\n      run: colima start\n\n    - uses: ./.github/actions/run-ee-server\n      with:\n        use-server-rc: true\n        server-tag: latest\n        docker-hub-username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        docker-hub-password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - name: Wait for server to be ready\n      run: sleep 5\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: ${{ matrix.python[1] }}-macosx_x86_64.build\n        path: ./\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python[0] }}\n\n    - run: python${{ matrix.python[0] }} -m pip install *.whl\n\n    - run: python${{ matrix.python[0] }} -m pip install -r requirements.txt\n      working-directory: test\n\n    - run: python${{ matrix.python[0] }} -m pytest new_tests/\n      id: test\n      working-directory: test\n\n  macOS-m1:\n    # TODO: this shares a lot of steps as in the build wheels workflow\n    runs-on: [\n      self-hosted,\n      macOS,\n      ARM64\n    ]\n    strategy:\n      matrix:\n        python-version: [\n          [\"3.8\", \"cp38\"],\n          [\"3.9\", \"cp39\"],\n          [\"3.10\", \"cp310\"],\n          [\"3.11\", \"cp311\"],\n          [\"3.12\", \"cp312\"]\n        ]\n      fail-fast: false\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: ${{ matrix.python-version[1] }}-macosx_arm64.build\n        path: ./\n\n    # Update dependencies if needed\n    - name: Add brew to path\n      run: echo PATH=$PATH:/opt/homebrew/bin/ >> $GITHUB_ENV\n\n    - name: Install or upgrade Python\n      run: brew install python@${{ matrix.python-version[0] }}\n\n    # Self-hosted runner only\n    # Need to be able to save Docker Hub credentials to keychain\n    - run: security unlock-keychain -p ${{ secrets.MAC_M1_SELF_HOSTED_RUNNER_PW }}\n\n    - uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - name: Run server RC\n      run: docker run -d -p 3000:3000 --name aerospike ${{ vars.SERVER_RC_REPO_LINK }}\n\n    - name: Wait for server to be ready\n      run: sleep 5\n\n    - name: Install wheel\n      run: python${{ matrix.python-version[0] }} -m pip install --force-reinstall --break-system-packages *.whl\n\n    - run: python${{ matrix.python-version[0] }} -m pip install --force-reinstall --break-system-packages -r requirements.txt\n      working-directory: test\n\n    - run: python${{ matrix.python-version[0] }} -m pytest new_tests/\n      id: test\n      working-directory: test\n\n    - name: Stop server\n      if: ${{ always() }}\n      run: |\n        docker container stop aerospike\n        docker container prune -f\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:34.279708", "created_at": "2023-11-10T23:20:38+01:00", "updated_at": "2024-04-10T00:24:06+02:00", "name": "Stage tests", "path": ".github/workflows/stage-tests.yml", "contents": "name: Stage tests\nrun-name: Stage tests (use-server-rc=${{ inputs.use-server-rc }}, server-tag=${{ inputs.server-tag }}, test-macos-x86=${{ inputs.test-macos-x86 }})\n\non:\n  workflow_dispatch:\n    inputs:\n      use-server-rc:\n        type: boolean\n        required: true\n        default: false\n        description: 'Test against server release candidate?'\n      server-tag:\n        type: string\n        required: true\n        default: 'latest'\n        description: 'Server docker image tag'\n      test-macos-x86:\n        required: true\n        type: boolean\n        default: false\n        description: 'Test macOS x86 wheels (unstable)'\n  workflow_call:\n    inputs:\n      ref:\n        type: string\n        required: false\n      # Workflow call doesn't actually set these inputs\n      # So these are default values for workflow_call to use\n      use-server-rc:\n        type: boolean\n        required: false\n        default: false\n        description: 'Test against server release candidate?'\n      server-tag:\n        type: string\n        required: false\n        default: 'latest'\n        description: 'Server docker image tag'\n      test-macos-x86:\n        required: false\n        type: boolean\n        default: false\n        description: 'Test macOS x86 wheels (unstable)'\n    secrets:\n      # Required for testing against a server RC\n      DOCKER_HUB_BOT_USERNAME:\n        required: true\n      DOCKER_HUB_BOT_PW:\n        required: true\n\njobs:\n  build-artifacts:\n    uses: ./.github/workflows/build-wheels.yml\n    with:\n      ref: ${{ inputs.ref }}\n\n  # We run some source distribution (QE category 1) tests here\n  # because QE doesn't have disk space for more Linux distros\n  sdist-tests:\n    needs: build-artifacts\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        distros: [\n          # Docker image name, container name\n          [\"redhat/ubi9\", \"RHEL9\"],\n          [\"amazonlinux:2023\", \"AmazonLinux2023\"]\n        ]\n        python-version: [\n          '3.9',\n        ]\n      fail-fast: false\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n        ref: ${{ inputs.ref }}\n\n    - uses: ./.github/actions/run-ee-server\n      with:\n        use-server-rc: ${{ inputs.use-server-rc }}\n        server-tag: ${{ inputs.server-tag }}\n        docker-hub-username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        docker-hub-password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: sdist.build\n\n    - name: Run distro container\n      run: docker run --name ${{ matrix.distros[1] }} --network host --detach ${{ matrix.distros[0] }} tail -f /dev/null\n\n    - name: Copy repo to container\n      run: docker cp . ${{ matrix.distros[1] }}:/aerospike-client-python\n\n    - name: Install python 3.11 if applicable\n      run: docker exec ${{ matrix.distros[1] }} yum install -y python3.11\n      if: ${{ matrix.python-version == '3.11' }}\n\n    - name: Install build dependencies\n      run: docker exec ${{ matrix.distros[1] }} yum install -y openssl-devel glibc-devel autoconf automake libtool zlib-devel openssl-devel python-devel\n\n    - name: Make sure pip is installed\n      run: docker exec ${{ matrix.distros[1] }} python${{ matrix.python-version }} -m ensurepip\n\n    - name: Install more build dependencies using pip\n      run: docker exec --workdir /aerospike-client-python/ ${{ matrix.distros[1] }} python${{ matrix.python-version }} -m pip install -r requirements.txt\n\n    - name: Install source distribution\n      run: docker exec --workdir /aerospike-client-python/ ${{ matrix.distros[1] }} python${{ matrix.python-version }} -m pip install *.tar.gz\n\n    - name: Install test dependencies\n      run: docker exec --workdir /aerospike-client-python/test ${{ matrix.distros[1] }} python${{ matrix.python-version }} -m pip install pytest -c requirements.txt\n\n    - name: Run tests\n      id: test\n      run: docker exec --workdir /aerospike-client-python/test ${{ matrix.distros[1] }} python${{ matrix.python-version }} -m pytest new_tests/\n\n# We also run some wheel (QE test category 2) tests\n# because of the same reason we have some category 1 tests in Github Actions\n\n  manylinux_rhel_based:\n    needs: build-artifacts\n    strategy:\n      matrix:\n        distros: [\n          # Image name, container name\n          [\"amazonlinux:2023\", \"AmazonLinux2023\"]\n        ]\n        python-version: [\n          # Python version, version in artifact name\n          [\"3.9\", \"cp39\"],\n          [\"3.11\", \"cp311\"]\n        ]\n        platform: [\n          # Platform in artifact file name, Docker platform\n          [\"x86_64\", \"linux/amd64\"],\n          [\"aarch64\", \"linux/arm64\"]\n        ]\n      fail-fast: false\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ inputs.ref }}\n\n    - uses: ./.github/actions/run-ee-server\n      with:\n        use-server-rc: ${{ inputs.use-server-rc }}\n        server-tag: ${{ inputs.server-tag }}\n        docker-hub-username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        docker-hub-password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: ${{ matrix.python-version[1] }}-manylinux_${{ matrix.platform[0] }}.build\n\n    - name: Set up QEMU for cross compiling arm64\n      if: ${{ matrix.platform[0] == 'aarch64' }}\n      uses: docker/setup-qemu-action@v2\n      with:\n        platforms: arm64\n\n    - name: Run distro container\n      run: docker run --name ${{ matrix.distros[1] }} --platform ${{ matrix.platform[1] }} --network host --detach ${{ matrix.distros[0] }} tail -f /dev/null\n\n    - name: Copy repo to container\n      run: docker cp . ${{ matrix.distros[1] }}:/aerospike-client-python\n\n    - name: Install python 3.11 if applicable\n      run: docker exec ${{ matrix.distros[1] }} yum install -y python3.11\n      if: ${{ matrix.python-version[0] == '3.11' }}\n\n    - name: Make sure pip is installed\n      run: docker exec ${{ matrix.distros[1] }} python${{ matrix.python-version[0] }} -m ensurepip\n\n    - name: Install wheel\n      run: docker exec --workdir /aerospike-client-python/ ${{ matrix.distros[1] }} python${{ matrix.python-version[0] }} -m pip install *.whl\n\n    - name: Install test dependencies\n      run: docker exec --workdir /aerospike-client-python/test ${{ matrix.distros[1] }} python${{ matrix.python-version[0] }} -m pip install pytest -c requirements.txt\n\n    - name: Run tests\n      id: test\n      run: docker exec --workdir /aerospike-client-python/test ${{ matrix.distros[1] }} python${{ matrix.python-version[0] }} -m pytest new_tests/\n\n  manylinux_debian:\n    needs: build-artifacts\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        debian-name: [\n          \"bookworm\"\n        ]\n        python-version: [\n          [\"3.8\", \"cp38\"],\n          [\"3.9\", \"cp39\"],\n          [\"3.10\", \"cp310\"],\n          [\"3.11\", \"cp311\"],\n          [\"3.12\", \"cp312\"]\n        ]\n        platform: [\n          # Platform in artifact file name, Docker platform\n          [\"x86_64\", \"linux/amd64\"],\n          [\"aarch64\", \"linux/arm64\"]\n        ]\n      fail-fast: false\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ inputs.ref }}\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: ${{ matrix.python-version[1] }}-manylinux_${{ matrix.platform[0] }}.build\n\n    - uses: ./.github/actions/run-ee-server\n      with:\n        use-server-rc: ${{ inputs.use-server-rc }}\n        server-tag: ${{ inputs.server-tag }}\n        docker-hub-username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        docker-hub-password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - name: Set up QEMU for cross compiling arm64\n      if: ${{ matrix.platform[0] == 'aarch64' }}\n      uses: docker/setup-qemu-action@v2\n      with:\n        platforms: arm64\n\n    - name: Run distro container\n      run: docker run --name ${{ matrix.debian-name }} --platform ${{ matrix.platform[1] }} --network host --detach python:${{ matrix.python-version[0] }}-${{ matrix.debian-name }} tail -f /dev/null\n\n    - name: Copy repo to container\n      run: docker cp . ${{ matrix.debian-name }}:/aerospike-client-python\n\n    - name: Make sure pip is installed\n      run: docker exec ${{ matrix.debian-name }} python${{ matrix.python-version[0] }} -m ensurepip\n\n    - name: Install wheel\n      run: docker exec --workdir /aerospike-client-python/ ${{ matrix.debian-name }} python${{ matrix.python-version[0] }} -m pip install *.whl\n\n    - name: Install test dependencies\n      run: docker exec --workdir /aerospike-client-python/test ${{ matrix.debian-name }} python${{ matrix.python-version[0] }} -m pip install pytest -c requirements.txt\n\n    - name: Run tests\n      id: test\n      run: docker exec --workdir /aerospike-client-python/test ${{ matrix.debian-name }} python${{ matrix.python-version[0] }} -m pytest new_tests/\n\n  manylinux_ubuntu2204:\n    needs: build-artifacts\n    strategy:\n      matrix:\n        platform: [\n          # Artifact platform in file name, Docker platform\n          [\"x86_64\", \"linux/amd64\"],\n          [\"aarch64\", \"linux/arm64\"]\n        ]\n      fail-fast: false\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ inputs.ref }}\n\n    # Ubuntu 22.04 uses Python 3.10 by default\n    - uses: actions/download-artifact@v4\n      with:\n        name: cp310-manylinux_${{ matrix.platform[0] }}.build\n\n    - name: Set up QEMU for cross compiling arm64\n      if: ${{ matrix.platform[0] == 'aarch64' }}\n      uses: docker/setup-qemu-action@v2\n      with:\n        platforms: arm64\n\n    - name: Run distro container\n      run: docker run --name Ubuntu --platform ${{ matrix.platform[1] }} --network host --detach ubuntu:22.04 tail -f /dev/null\n\n    - uses: ./.github/actions/run-ee-server\n      with:\n        use-server-rc: ${{ inputs.use-server-rc }}\n        server-tag: ${{ inputs.server-tag }}\n        docker-hub-username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        docker-hub-password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - name: Copy repo to container\n      run: docker cp . Ubuntu:/aerospike-client-python\n\n    - name: Install python 3.10 that comes by default (step 1)\n      run: docker exec Ubuntu apt update\n\n    - name: Install python 3.10 that comes by default (step 2)\n      run: docker exec Ubuntu apt install python3 python3-pip -y\n\n    - name: Install wheel\n      run: docker exec --workdir /aerospike-client-python/ Ubuntu python3.10 -m pip install *.whl\n\n    - name: Install test dependencies\n      run: docker exec --workdir /aerospike-client-python/test Ubuntu python3.10 -m pip install pytest -c requirements.txt\n\n    - name: Run tests\n      id: test\n      run: docker exec --workdir /aerospike-client-python/test Ubuntu python3.10 -m pytest new_tests/\n\n  macOS:\n    if: ${{ inputs.test-macos-x86 }}\n    needs: build-artifacts\n    strategy:\n      matrix:\n        macos-version: [\n          'macos-11',\n        ]\n        python-version: [\n          [\"3.8\", \"cp38\"],\n          [\"3.9\", \"cp39\"],\n          [\"3.10\", \"cp310\"],\n          [\"3.11\", \"cp311\"],\n          [\"3.12\", \"cp312\"]\n        ]\n      fail-fast: false\n    runs-on: ${{ matrix.macos-version }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ inputs.ref }}\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: ${{ matrix.python-version[1] }}-macosx_x86_64.build\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version[0] }}\n\n    - name: Install Docker Engine\n      run: brew install colima\n\n    - name: Install Docker client\n      run: brew install docker\n\n    - name: Start Docker Engine\n      run: colima start\n\n    - uses: ./.github/actions/run-ee-server\n      with:\n        use-server-rc: true\n        server-tag: ${{ inputs.server-tag }}\n        docker-hub-username: ${{ secrets.DOCKER_HUB_BOT_USERNAME }}\n        docker-hub-password: ${{ secrets.DOCKER_HUB_BOT_PW }}\n\n    - name: Wait for server to be ready\n      run: sleep 5\n\n    - name: Install wheel\n      run: python3 -m pip install *.whl\n\n    - name: Install test dependencies\n      run: python3 -m pip install pytest -c requirements.txt\n      working-directory: test\n\n    - name: Run tests\n      run: python3 -m pytest new_tests/\n      id: test\n      working-directory: test\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:35.308597", "created_at": "2023-11-30T19:51:43+01:00", "updated_at": "2024-04-10T00:24:06+02:00", "name": "Dev to stage", "path": ".github/workflows/dev-to-stage.yml", "contents": "name: Dev to stage\n\non:\n  # This workflow manipulates the stage and dev branches regardless of the branch this workflow is run from\n  workflow_dispatch:\n\njobs:\n  get-latest-dev-tag:\n    outputs:\n      latest-dev-version: ${{ steps.get-dev-version.outputs.latest-dev-version }}\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        # Get all tags\n        fetch-depth: 0\n        ref: ${{ vars.DEV_BRANCH_NAME }}\n\n    - name: Get latest dev version\n      run: echo latest-dev-version=$(git describe --tags --abbrev=0) >> $GITHUB_OUTPUT\n      id: get-dev-version\n\n    - name: Output latest dev version (for debugging)\n      run: echo ${{ steps.get-dev-version.outputs.latest-dev-version }}\n\n  run-stage-tests:\n    uses: ./.github/workflows/stage-tests.yml\n    needs: get-latest-dev-tag\n    with:\n      ref: ${{ needs.get-latest-dev-tag.outputs.latest-dev-version }}\n    secrets: inherit\n\n  ff-stage-to-dev-tag:\n    needs: [\n      run-stage-tests,\n      get-latest-dev-tag\n    ]\n    uses: ./.github/workflows/fast-forward-merge.yml\n    with:\n      ref_to_merge: ${{ needs.get-latest-dev-tag.outputs.latest-dev-version }}\n      base_branch: ${{ vars.STAGE_BRANCH_NAME }}\n    secrets: inherit\n\n  promote-dev-build-to-rc:\n    needs: ff-stage-to-dev-tag\n    uses: ./.github/workflows/bump-version.yml\n    with:\n      change: 'promote-dev-build-to-rc'\n      ref: ${{ vars.STAGE_BRANCH_NAME }}\n    secrets: inherit\n\n  delete-dev-artifacts:\n    needs: promote-dev-build-to-rc\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      # We can't upload to the same artifact name with upload-artifact@v4\n      # So we must delete the artifacts produced by stage-tests.yml\n      # Before rebuilding the artifacts with the new RC version\n      - name: Remove artifacts with dev version\n        uses: geekyeggo/delete-artifact@v4\n        with:\n          name: '*.build'\n\n  rebuild-artifacts-with-rc-version:\n    needs: [\n      delete-dev-artifacts,\n      promote-dev-build-to-rc\n    ]\n    uses: ./.github/workflows/build-wheels.yml\n    with:\n      ref: ${{ needs.promote-dev-build-to-rc.outputs.bump_sha }}\n\n  upload-to-jfrog:\n    needs: [\n      rebuild-artifacts-with-rc-version,\n      promote-dev-build-to-rc\n    ]\n    name: Upload artifacts to JFrog\n    uses: ./.github/workflows/upload-to-jfrog.yml\n    with:\n      version: ${{ needs.promote-dev-build-to-rc.outputs.new_version }}\n    secrets: inherit\n\n  ff-dev-to-stage:\n    needs: [\n      get-latest-dev-tag,\n      upload-to-jfrog\n    ]\n    uses: ./.github/workflows/fast-forward-merge.yml\n    with:\n      ref_to_merge: origin/${{ vars.STAGE_BRANCH_NAME }}\n      base_branch: ${{ vars.DEV_BRANCH_NAME }}\n    secrets: inherit\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:36.613860", "created_at": "2023-12-05T18:53:19+01:00", "updated_at": "2024-04-10T00:24:06+02:00", "name": "Fast forward merge", "path": ".github/workflows/fast-forward-merge.yml", "contents": "# As of this writing, there are no Github Actions in the marketplace\n# that allow fast forwarding using a personal access token\n# So we need to use this for now\nname: 'Fast forward merge'\non:\n  workflow_dispatch:\n    inputs:\n      ref_to_merge:\n        type: string\n        required: true\n      base_branch:\n        type: string\n        required: true\n  workflow_call:\n    inputs:\n      # If another branch, it must be origin/<branch>\n      ref_to_merge:\n        type: string\n        required: true\n      base_branch:\n        type: string\n        required: true\n    secrets:\n      CLIENT_BOT_PAT:\n        required: true\n\njobs:\n  merge:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          # Fetch the whole history to prevent unrelated history errors\n          fetch-depth: '0'\n          ref: ${{ inputs.base_branch }}\n          token: ${{ secrets.CLIENT_BOT_PAT }}\n\n      - name: Fast forward\n        run: git merge --ff-only ${{ inputs.ref_to_merge }}\n\n      - name: Upload changes to remote head branch\n        run: git push\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:37.680377", "created_at": "2024-01-08T21:19:28+01:00", "updated_at": "2024-04-10T00:24:06+02:00", "name": "Stage to master", "path": ".github/workflows/stage-to-master.yml", "contents": "name: Stage to master\non:\n  workflow_dispatch:\n\njobs:\n  ff-master-to-stage:\n    uses: ./.github/workflows/fast-forward-merge.yml\n    with:\n      ref_to_merge: origin/${{ vars.STAGE_BRANCH_NAME }}\n      base_branch: ${{ vars.MASTER_BRANCH_NAME }}\n    secrets: inherit\n\n  promote-rc-build-to-release:\n    needs: ff-master-to-stage\n    uses: ./.github/workflows/bump-version.yml\n    with:\n      change: promote-rc-build-to-release\n      ref: ${{ vars.MASTER_BRANCH_NAME }}\n    secrets: inherit\n\n  build-artifacts:\n    needs: promote-rc-build-to-release\n    uses: ./.github/workflows/build-wheels.yml\n    with:\n      ref: ${{ needs.promote-rc-build-to-release.outputs.bump_sha }}\n\n  upload-to-jfrog:\n    name: Upload artifacts to JFrog\n    needs: [\n      build-artifacts,\n      promote-rc-build-to-release\n    ]\n    uses: ./.github/workflows/upload-to-jfrog.yml\n    with:\n      version: ${{ needs.promote-rc-build-to-release.outputs.new_version }}\n    secrets: inherit\n\n  publish-to-pypi:\n    runs-on: ubuntu-22.04\n    needs: build-artifacts\n    steps:\n    - name: Download and store all artifacts to single folder\n      uses: actions/download-artifact@v4\n      with:\n        path: artifacts\n        merge-multiple: true\n\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        packages-dir: artifacts/\n        password: ${{ secrets.PYPI_API_TOKEN }}\n\n  fast-forward-stage-to-master:\n    needs: build-artifacts\n    uses: ./.github/workflows/fast-forward-merge.yml\n    with:\n      ref_to_merge: origin/${{ vars.MASTER_BRANCH_NAME }}\n      base_branch: ${{ vars.STAGE_BRANCH_NAME }}\n    secrets: inherit\n\n  fast-forward-dev-to-master:\n    needs: build-artifacts\n    uses: ./.github/workflows/fast-forward-merge.yml\n    with:\n      ref_to_merge: origin/${{ vars.MASTER_BRANCH_NAME }}\n      base_branch: ${{ vars.DEV_BRANCH_NAME }}\n    secrets: inherit\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:38.739902", "created_at": "2024-01-19T22:10:16+01:00", "updated_at": "2024-04-10T00:24:06+02:00", "name": "Dev workflow (part 1)", "path": ".github/workflows/dev-workflow-p1.yml", "contents": "name: Dev workflow (part 1)\n\n# 1. When a PR review is requested, run tests on that PR\n# 2. If all of the tests pass, allow the PR to be merged into `dev`\n# 3. Whenever a PR is merged to `dev`, bump version number in `dev`\n\non:\n  pull_request:\n    types:\n      - review_requested\n    branches:\n      - 'dev*'\n  # So we can test changes to the test-server-rc workflow\n  workflow_dispatch:\n    inputs:\n      run_server_release_tests:\n        description: 'DEBUG: Run server release tests in build-wheels workflow?'\n        type: boolean\n        default: false\n\njobs:\n  test-with-server-release:\n    uses: ./.github/workflows/build-wheels.yml\n    with:\n      run_tests: ${{ github.event_name == 'workflow_dispatch' && inputs.run_server_release_tests || true }}\n    secrets: inherit\n\n  test-with-server-rc:\n    needs: test-with-server-release\n    if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'new-server-features') }}\n    uses: ./.github/workflows/test-server-rc.yml\n    secrets: inherit\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:39.904117", "created_at": "2024-01-23T01:27:27+01:00", "updated_at": "2024-04-10T00:24:06+02:00", "name": "Dev workflow (part 2)", "path": ".github/workflows/dev-workflow-p2.yml", "contents": "name: Dev workflow (part 2)\n\non:\n  pull_request_target:\n    branches:\n    - 'dev*'\n    types:\n      - closed\n  workflow_dispatch:\n\njobs:\n  bump-dev-number:\n    if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true }}\n    uses: ./.github/workflows/bump-version.yml\n    with:\n      change: 'bump-dev-num'\n    secrets: inherit\n\n  rebuild-artifacts-with-new-dev-num:\n    needs: bump-dev-number\n    name: Rebuild artifacts with new dev number\n    uses: ./.github/workflows/build-wheels.yml\n    with:\n      # On pull_request_target, the bump version commit will be ignored\n      # So we must pass it manually to the workflow\n      ref: ${{ needs.bump-dev-number.outputs.bump_sha }}\n    secrets: inherit\n\n  upload-to-jfrog:\n    name: Upload artifacts to JFrog\n    needs: [\n      bump-dev-number,\n      rebuild-artifacts-with-new-dev-num\n    ]\n    uses: ./.github/workflows/upload-to-jfrog.yml\n    with:\n      version: ${{ needs.bump-dev-number.outputs.new_version }}\n    secrets: inherit\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:40.932558", "created_at": "2024-02-15T00:00:57+01:00", "updated_at": "2024-04-10T00:24:06+02:00", "name": "Update version in repo", "path": ".github/workflows/update-version.yml", "contents": "# Takes in a new version as input\n# Changes the version in the whole repo and outputs the commit hash as output\n\nname: Update version in repo\non:\n  workflow_dispatch:\n    inputs:\n      new_version:\n        type: string\n        description: Version string to set in the repo\n        required: true\n  workflow_call:\n    inputs:\n      new_version:\n        type: string\n        description: Version string to set in the repo\n        required: true\n      ref:\n        type: string\n        description: commit/branch to change version\n        required: false\n      # A hack to tell if workflow is triggered by workflow_call or not\n      # Calling workflows should not set this input\n      # If workflow is triggered by workflow_dispatch, this should be set to the default boolean value: false\n      is_workflow_call:\n        type: boolean\n        default: true\n        required: false\n    secrets:\n      CLIENT_BOT_PAT:\n        required: true\n    outputs:\n      bump_sha:\n        value: ${{ jobs.update-version-in-repo.outputs.bump_sha }}\n\njobs:\n  update-version-in-repo:\n    name: Update version in repo\n    runs-on: ubuntu-22.04\n    outputs:\n      bump_sha: ${{ steps.get-bump-commit-sha.outputs.bump_sha }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        token: ${{ secrets.CLIENT_BOT_PAT }}\n        ref: ${{ inputs.ref }}\n\n    - name: Update version in repo\n      uses: ./.github/actions/update-version\n      with:\n        new_version: ${{ inputs.new_version }}\n\n    - name: Commit new version\n      uses: stefanzweifel/git-auto-commit-action@v4\n      with:\n        commit_message: 'Auto-bump version to ${{ inputs.new_version }} [skip ci]'\n        commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n        tagging_message: ${{ inputs.new_version }}\n        branch: ${{ inputs.is_workflow_call && inputs.ref || github.ref }}\n\n    - name: Output bump commit hash for next jobs to use\n      id: get-bump-commit-sha\n      run: echo \"bump_sha=$(git rev-parse HEAD)\" >> $GITHUB_OUTPUT\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:41.971848", "created_at": "2024-02-15T00:07:21+01:00", "updated_at": "2024-04-10T00:24:06+02:00", "name": "Bump version", "path": ".github/workflows/bump-version.yml", "contents": "# Takes in how to bump version as input\n# Commits changes to bump version and outputs the new version and commit hash as output\n\nname: Bump version\non:\n  workflow_dispatch:\n    inputs:\n      change:\n        type: choice\n        description: Python script name to update the version\n        required: true\n        options:\n        - bump-dev-num\n        - promote-dev-build-to-rc\n        - promote-rc-build-to-release\n  workflow_call:\n    inputs:\n      change:\n        # Since workflow_call doesn't support 'options' input type,\n        # we take in a string instead that must be a valid Python script name (excluding the .py part)\n        # Example: bump-dev-num for bump-dev-num.py\n        type: string\n        description: Python script name to change version\n        required: true\n      ref:\n        required: false\n        description: Commit to bump off of\n        type: string\n      is_workflow_call:\n        type: boolean\n        default: true\n        required: false\n    secrets:\n      CLIENT_BOT_PAT:\n        required: true\n    outputs:\n      new_version:\n        value: ${{ jobs.get-new-version.outputs.new_version }}\n      bump_sha:\n        value: ${{ jobs.update-version-in-repo.outputs.bump_sha }}\n\njobs:\n  get-current-version:\n    name: Get new version string\n    runs-on: ubuntu-22.04\n    outputs:\n      current_version: ${{ steps.get-current-version.outputs.current_version }}\n    steps:\n    # Checkout the branch where we want to bump the new version\n    - uses: actions/checkout@v4\n      with:\n        token: ${{ secrets.CLIENT_BOT_PAT }}\n        ref: ${{ inputs.ref }}\n\n    - name: Get current version\n      id: get-current-version\n      run: echo current_version=$(cat VERSION) >> $GITHUB_OUTPUT\n\n  get-new-version:\n    runs-on: ubuntu-22.04\n    needs: get-current-version\n    outputs:\n      new_version: ${{ steps.get-new-version.outputs.new_version }}\n    steps:\n    # Checkout branch where workflow is being called from\n    - uses: actions/checkout@v4\n\n    - name: Install library that parses PEP 440 versions\n      run: pip install parver -c requirements.txt\n      working-directory: .github/workflows\n\n    - name: Get new version\n      id: get-new-version\n      run: echo new_version=$(python3 .github/workflows/${{ inputs.change }}.py ${{ needs.get-current-version.outputs.current_version }}) >> $GITHUB_OUTPUT\n\n  update-version-in-repo:\n    needs: get-new-version\n    uses: ./.github/workflows/update-version.yml\n    with:\n      new_version: ${{ needs.get-new-version.outputs.new_version }}\n      ref: ${{ inputs.is_workflow_call && inputs.ref || github.ref }}\n    secrets: inherit\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:42.991568", "created_at": "2024-04-08T22:16:43+02:00", "updated_at": "2024-04-10T00:24:06+02:00", "name": "Publish JFrog build to PyPI", "path": ".github/workflows/upload-jfrog-build-to-pypi.yml", "contents": "name: Publish JFrog build to PyPI\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        type: string\n        description: Build version\n        required: true\n      use-test-pypi:\n        type: boolean\n        description: 'DEBUG: upload to test.pypi.org?'\n        required: true\n        default: false\n\njobs:\n  publish-jfrog-build-to-pypi:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: jfrog/setup-jfrog-cli@v4\n      env:\n        JF_URL: ${{ secrets.JFROG_PLATFORM_URL }}\n        JF_ACCESS_TOKEN: ${{ secrets.JFROG_ACCESS_TOKEN }}\n\n    - name: Download JFrog build\n      run: jf rt dl --build python-client/${{ inputs.version }} ${{ vars.JFROG_REPO_NAME }}\n\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        # This is the directory jf downloads the artifacts to\n        packages-dir: aerospike/${{ inputs.version }}/artifacts\n        repository-url: ${{ inputs.use-test-pypi && 'https://test.pypi.org/legacy/' || 'https://pypi.org/legacy/' }}\n        password: ${{ inputs.use-test-pypi && secrets.TEST_PYPI_API_TOKEN || secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:44.095638", "created_at": "2024-04-10T00:24:06+02:00", "updated_at": "2024-04-10T00:24:06+02:00", "name": "Upload to JFrog", "path": ".github/workflows/upload-to-jfrog.yml", "contents": "name: Upload to JFrog\n\non:\n  workflow_call:\n    inputs:\n      version:\n        type: string\n        required: true\n    secrets:\n      JFROG_PLATFORM_URL:\n        required: true\n      JFROG_ACCESS_TOKEN:\n        required: true\n\njobs:\n  upload-to-jfrog:\n    name: Upload artifacts to JFrog\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Download artifacts\n      uses: actions/download-artifact@v4\n      with:\n        pattern: '*.build'\n        merge-multiple: true\n        path: artifacts\n    - name: Set up JFrog credentials\n      uses: jfrog/setup-jfrog-cli@v3\n      env:\n        JF_URL: ${{ secrets.JFROG_PLATFORM_URL }}\n        JF_ACCESS_TOKEN: ${{ secrets.JFROG_ACCESS_TOKEN }}\n\n    - name: Upload passing builds to JFrog\n      # Source path must be in quotes if it contains an asterisk\n      # https://github.com/jfrog/jfrog-cli/issues/1775#issuecomment-1348986551\n      run: jf rt upload --build-name python-client --build-number $NEW_VERSION \"artifacts/*\" ${{ vars.JFROG_REPO_NAME }}/aerospike/$NEW_VERSION/\n      env:\n        NEW_VERSION: ${{ inputs.version }}\n\n    - name: Publish build info\n      run: jf rt build-publish python-client ${{ inputs.version }}\n", "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:45.213504", "created_at": "2024-06-03T20:58:28+02:00", "updated_at": "2024-06-28T17:49:38+02:00", "name": "cibuildwheel", "path": ".github/workflows/cibuildwheel.yml", "contents": null, "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:46.296827", "created_at": "2024-06-06T01:35:12+02:00", "updated_at": "2024-06-06T01:35:12+02:00", "name": ".github/workflows/multitenet.yml", "path": ".github/workflows/multitenet.yml", "contents": null, "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:47.278817", "created_at": "2024-06-19T20:33:50+02:00", "updated_at": "2024-06-19T20:33:50+02:00", "name": "Build artifacts and run stage tests", "path": ".github/workflows/build-and-run-stage-tests.yml", "contents": null, "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:48.287347", "created_at": "2024-07-11T20:33:55+02:00", "updated_at": "2024-07-11T20:33:55+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:49.384575", "created_at": "2024-05-17T17:56:03+02:00", "updated_at": "2024-06-21T19:02:50+02:00", "name": "Build and upload wheels for QE", "path": ".github/workflows/build-and-upload-wheels-for-qe.yml", "contents": null, "state": "disabled_manually", "repository": "aerospike/aerospike-client-python"}
{"mined_at": "2024-07-15T12:40:51.396527", "created_at": "2022-02-14T20:41:47+01:00", "updated_at": "2022-02-14T20:46:40+01:00", "name": "Changelog", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, synchronize, reopened]\n\njobs:\n  changelog:\n    name: Confirm changelog entry\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n      - name: Grep for PR number in CHANGES.rst\n        run: grep -P '\\[[^\\]]*#${{github.event.number}}[,\\]]' CHANGES.rst\n        if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed') }}\n", "state": "active", "repository": "asdf-format/asdf-standard"}
{"mined_at": "2024-07-15T12:40:52.483248", "created_at": "2021-03-22T14:38:30+01:00", "updated_at": "2021-03-22T14:38:30+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  workflow_dispatch:\n  schedule:\n    # Run every Monday at 6am UTC\n    - cron: '0 6 * * 1'\n  push:\n    branches:\n      - main\n      - stable\n      - '*.x'\n    tags:\n      - '*'\n  pull_request:\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n    - uses: pre-commit/action@v3.0.1\n  core:\n    needs: [pre-commit]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    with:\n      submodules: false\n      envs: |\n        - linux: py39\n        - linux: py310\n        - linux: py311\n        - linux: py312\n\n  test:\n    needs: [core]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    with:\n      submodules: false\n      # Any env name which does not start with `pyXY` will use this Python version.\n      default_python: '3.11'\n      envs: |\n        - macos: py39\n        - windows: py39\n\n  package:\n    needs: [core]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1\n    with:\n      upload_to_pypi: false\n      upload_to_anaconda: false\n\n  asdf-dev:\n    needs: [pre-commit]\n    name: Run asdf-development tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout asdf-standard\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          path: asdf-standard\n      - name: Checkout asdf-dev\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          repository: asdf-format/asdf\n          path: asdf\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install asdf-standard\n        run: cd asdf-standard && pip install .\n      - name: Install asdf\n        run: cd asdf && pip install -e .[tests]\n      - name: Pip Freeze\n        run: pip freeze\n      - name: Run asdf-development tests\n        run: cd asdf && pytest\n", "state": "active", "repository": "asdf-format/asdf-standard"}
{"mined_at": "2024-07-15T12:40:53.513764", "created_at": "2022-03-03T15:00:27+01:00", "updated_at": "2022-03-04T16:46:03+01:00", "name": "Downstream", "path": ".github/workflows/downstream.yml", "contents": "name: Downstream\n\non:\n  workflow_dispatch:\n  schedule:\n    # Run every Monday at 6am UTC\n    - cron: '0 6 * * 1'\n  pull_request:\n    # We also want this workflow triggered if the `Downstream CI` label is\n    # added or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n  push:\n    branches:\n      - '*.*.x'\n    tags:\n      - '*'\n\nenv:\n  CRDS_SERVER_URL: https://jwst-crds.stsci.edu\n  CRDS_PATH: ~/crds_cache\n  CRDS_CLIENT_RETRY_COUNT: 3\n  CRDS_CLIENT_RETRY_DELAY_SECONDS: 20\n\njobs:\n  common:\n    name: ${{ matrix.package_name }} unit tests\n    runs-on: ubuntu-latest\n    if: (github.repository == 'asdf-format/asdf-standard' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Downstream CI')))\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - package_name: gwcs\n            repository: spacetelescope/gwcs\n            install_command: pip install -e .[test]\n            test_command: pytest\n          - package_name: jwst\n            repository: spacetelescope/jwst\n            install_command: pip install -e .[test]\n            test_command: pytest\n          - package_name: roman_datamodels\n            repository: spacetelescope/roman_datamodels\n            install_command: pip install -e .[test]\n            test_command: pytest\n          - package_name: specutils\n            repository: astropy/specutils\n            install_command: pip install -e .[test]\n            test_command: pytest\n          - package_name: weldx\n            repository: BAMWelDX/weldx\n            install_command: pip install -e .[test,media]\n            test_command: pytest weldx/tests/asdf_tests weldx/schemas --asdf-tests\n          - package_name: sunpy\n            repository: sunpy/sunpy\n            install_command: pip install -e .[tests,all]\n            test_command: pytest sunpy/io/\n          - package_name: dkist\n            repository: DKISTDC/dkist\n            install_command: pip install -e .[tests]\n            test_command: pytest\n          - package_name: asdf-astropy\n            repository: astropy/asdf-astropy\n            install_command: pip install -e .[test]\n            test_command: pytest\n          - package_name: asdf\n            repository: asdf-format/asdf\n            install_command: pip install -e .[tests]\n            test_command: pytest\n          - package_name: asdf-transform-schemas\n            repository: asdf-format/asdf-transform-schemas\n            install_command: pip install -e .[test]\n            test_command: pytest\n          - package_name: asdf-wcs-schemas\n            repository: asdf-format/asdf-wcs-schemas\n            install_command: pip install -e .[test]\n            test_command: pytest\n          - package_name: asdf-coordinates-schemas\n            repository: asdf-format/asdf-coordinates-schemas\n            install_command: pip install -e .[test]\n            test_command: pytest\n    steps:\n      - name: Checkout asdf-standard\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n          path: asdf-standard\n      - name: Checkout ${{ matrix.package_name }}\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          repository: ${{ matrix.repository }}\n          path: target\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install asdf-standard\n        run: cd asdf-standard && pip install .\n      - name: Install remaining ${{ matrix.package_name }} dependencies\n        run: cd target && ${{ matrix.install_command }}\n      - name: Pip Freeze\n        run: pip freeze\n      - name: Run ${{ matrix.package_name}} tests\n        run: cd target && ${{ matrix.test_command }}\n", "state": "active", "repository": "asdf-format/asdf-standard"}
{"mined_at": "2024-07-15T12:40:54.528485", "created_at": "2022-02-14T20:46:40+01:00", "updated_at": "2022-02-14T20:46:40+01:00", "name": "Publish to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish to PyPI\n\non:\n  release:\n    types: [released]\n  workflow_dispatch:\n\njobs:\n  publish:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1\n    with:\n      upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}\n    secrets:\n      pypi_token: ${{ secrets.PYPI_PASSWORD_ASDF_MAINTAINER }}\n", "state": "active", "repository": "asdf-format/asdf-standard"}
{"mined_at": "2024-07-15T12:40:56.730064", "created_at": "2023-03-30T08:48:13+02:00", "updated_at": "2023-03-30T11:00:26+02:00", "name": "Run Linter", "path": ".github/workflows/check_codestyle.yml", "contents": "# SPDX-FileCopyrightText: 2023 spdx contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: Run Linter\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  check_code_style:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        os: [ ubuntu-latest, macos-latest, windows-latest ]\n        python-version: [ \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Installation\n        run: pip install \".[code_style]\"\n      - name: Check code with isort\n        run: |\n          isort src tests --check\n          black src tests --check\n          flake8 src tests\n", "state": "active", "repository": "spdx/tools-python"}
{"mined_at": "2024-07-15T12:40:57.787574", "created_at": "2023-07-11T09:53:17+02:00", "updated_at": "2023-07-11T09:53:17+02:00", "name": "Generate API docs", "path": ".github/workflows/docs.yml", "contents": "# SPDX-FileCopyrightText: 2023 spdx contributors\n#\n# SPDX-License-Identifier: Apache-2.0\nname: Generate API docs\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Install dependencies\n        run: |\n          sudo apt-get install graphviz-dev\n          pip install -e \".[test,graph_generation]\"\n          pip install pdoc\n      - name: Generate docs\n        run: pdoc spdx_tools -o docs/\n      - name: Upload docs as artifact\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: docs/\n\n  deploy:\n    needs: build\n    runs-on: ubuntu-latest\n    permissions:\n      pages: write\n      id-token: write\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    steps:\n      - id: deployment\n        name: Deploy docs to GitHub pages\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "spdx/tools-python"}
{"mined_at": "2024-07-15T12:40:58.925024", "created_at": "2023-01-05T15:55:25+01:00", "updated_at": "2023-03-02T12:02:36+01:00", "name": "Install and Test", "path": ".github/workflows/install_and_test.yml", "contents": "# SPDX-FileCopyrightText: 2023 spdx contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: Install and Test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  install_and_test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ ubuntu-latest, macos-latest, windows-latest ]\n        python-version: [ \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Installation\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools wheel setuptools_scm build\n          python -m build -nwx .\n          python -m pip install --upgrade ./dist/*.whl\n          python -m pip install pytest\n          python -m pip install pyshacl\n          python -m pip install tzdata\n          python -m pip install networkx\n        shell: bash\n      - name: Run tests\n        run: pytest\n      - name: Run CLI\n        run: pyspdxtools -i ./tests/spdx/data/SPDXJSONExample-v2.3.spdx.json\n", "state": "active", "repository": "spdx/tools-python"}
{"mined_at": "2024-07-15T12:41:00.029308", "created_at": "2023-04-13T16:29:20+02:00", "updated_at": "2023-06-27T09:43:26+02:00", "name": "Circle conversion test", "path": ".github/workflows/integration_test.yml", "contents": "name: Circle conversion test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  install_and_test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Installation\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools wheel setuptools_scm build\n          python -m build -nwx .\n          python -m pip install --upgrade ./dist/*.whl\n        shell: bash\n      - name: Install jd\n        uses: jaxxstorm/action-install-gh-release@v1.10.0\n        with: # Grab the latest version\n          repo: josephburnett/jd\n          platform: linux\n          extension-matching: disable\n          rename-to: jd\n          chmod: 0755\n      - name: Run CLI\n        run: |\n          pyspdxtools -i ./tests/spdx/data/circleConversionTestInitialDocument.json -o circleTest.yaml\n          pyspdxtools -i circleTest.yaml -o circleTest.xml\n          pyspdxtools -i circleTest.xml -o circleTest.rdf\n          pyspdxtools -i circleTest.rdf -o circleTest.spdx\n          pyspdxtools -i circleTest.spdx -o circleTest.json\n      - name: Compare initial and final json document of the circle conversion test\n        run: jd -set ./tests/spdx/data/circleConversionTestInitialDocument.json circleTest.json\n", "state": "active", "repository": "spdx/tools-python"}
{"mined_at": "2024-07-15T12:41:01.075077", "created_at": "2023-06-21T12:54:11+02:00", "updated_at": "2023-06-21T12:54:11+02:00", "name": "Prepare release", "path": ".github/workflows/prepare_release.yml", "contents": "# SPDX-FileCopyrightText: 2023 spdx contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: Prepare release\n\non:\n  push:\n    tags: [ 'v*.*.*']\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n      - name: Set up dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools wheel setuptools_scm build twine\n          python -m pip install -e .\n        shell: bash\n      - name: Build wheel\n        run: python -m build\n      - name: Verify build\n        run: twine check dist/*\n      - name: Create build archive\n        uses: a7ul/tar-action@v1.1.0\n        with:\n          command: c\n          files: dist\n          outPath: spdx_tools_dist.tar.gz\n      - name: Create GitHub release\n        uses: softprops/action-gh-release@v1\n        with:\n          files: spdx_tools_dist.tar.gz\n          generate_release_notes: true\n          draft: true\n", "state": "active", "repository": "spdx/tools-python"}
{"mined_at": "2024-07-15T12:41:02.185025", "created_at": "2024-07-15T04:12:11+02:00", "updated_at": "2024-07-15T04:12:11+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "spdx/tools-python"}
{"mined_at": "2024-07-15T12:41:04.247140", "created_at": "2021-10-19T08:04:29+02:00", "updated_at": "2021-10-19T08:18:29+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: \"CI\"\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  lint:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: \"Install Dependencies\"\n      run: pip install flake8\n    - name: Lint\n      run: flake8\n\n  test:\n    runs-on: ubuntu-22.04\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"pypy3.10\"]\n        experimental: [false]\n        include:\n          - python-version: \"3.11\"\n            experimental: true\n\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: cacheops\n          POSTGRES_USER: cacheops\n          POSTGRES_HOST_AUTH_METHOD: trust\n        ports:\n          - 5432:5432\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n      mysql:\n        image: mysql\n        env:\n          MYSQL_ROOT_PASSWORD: cacheops\n          MYSQL_DATABASE: cacheops\n        ports:\n            - 3306:3306\n        options: --health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=10\n\n    name: ${{ matrix.experimental && 'Django main [ok to fail]' || format('Python {0}', matrix.python-version) }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n\n      - name: \"Install Dependencies\"\n        run: pip install tox tox-gh-actions\n\n      - name: \"Run tests\"\n        run: tox ${{ matrix.experimental && '-e py311-djmain' || '' }}\n        env:\n          MYSQL_HOST: 127.0.0.1\n", "state": "active", "repository": "suor/django-cacheops"}
{"mined_at": "2024-07-15T12:41:06.412848", "created_at": "2020-09-30T21:33:20+02:00", "updated_at": "2023-04-29T18:09:07+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 16 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file. \n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "disabled_inactivity", "repository": "rpm-software-management/spec-cleaner"}
{"mined_at": "2024-07-15T12:41:07.538266", "created_at": "2020-02-14T08:44:58+01:00", "updated_at": "2020-02-14T08:44:58+01:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Python package\n\non:\n  push:\n    branches: \n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade -r devel-requirements.pip\n    - name: Test the package\n      run: |\n        python3 -m pytest\n    - name: Validate flake8\n      run: |\n        flake8\n    - name: Validate statical typing\n      run: |\n        mypy spec_cleaner\n    - name: Collect the coveralls report\n      env:\n        COVERALLS_SERVICE_NAME: github\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        coveralls --service=github\n      if: success()\n", "state": "active", "repository": "rpm-software-management/spec-cleaner"}
{"mined_at": "2024-07-15T12:41:09.526436", "created_at": "2023-05-01T08:21:18+02:00", "updated_at": "2023-05-15T19:39:17+02:00", "name": "Generate Changelog", "path": ".github/workflows/auto-changelog-generator.yml", "contents": "name: Generate Changelog\n\non:\n  # Manual trigger only\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Branch name'\n        required: true\n\njobs:\n  generate-changelog:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Ruby\n        uses: ruby/setup-ruby@v1\n        with:\n          ruby-version: 3.0\n\n      - name: Install github-changelog-generator\n        run: gem install github_changelog_generator\n\n      - name: Generate Changelog\n        run: |\n          github_changelog_generator \\\n            -u ${{ github.repository_owner }} \\\n            -p ${{ github.event.repository.name }} \\\n            --token ${{ secrets.GITHUB_TOKEN }} \\\n            --output CHANGELOG.md\n\n      - name: Commit updated CHANGELOG.md\n        id: commit\n        run: |\n          git add CHANGELOG.md\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          if git diff --quiet && git diff --staged --quiet; then\n            echo \"No changes in CHANGELOG.md, skipping commit.\"\n            echo \"commit_status=skipped\" >> $GITHUB_ENV\n          else\n            git commit -m \"Update CHANGELOG.md\"\n            echo \"commit_status=committed\" >> $GITHUB_ENV\n          fi\n\n      - name: Echo CHANGELOG.md\n        run: cat CHANGELOG.md\n\n      - name: Push changes\n        if: env.commit_status == 'committed'\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ github.event.inputs.branch }}\n", "state": "active", "repository": "python-adaptive/adaptive"}
{"mined_at": "2024-07-15T12:41:10.635319", "created_at": "2021-03-05T17:38:26+01:00", "updated_at": "2021-03-05T17:45:59+01:00", "name": "coverage", "path": ".github/workflows/coverage.yml", "contents": "name: coverage\n\non:\n  - push\n\njobs:\n  coverage:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n    - name: Install dependencies\n      run: pip install nox\n    - name: Test with nox\n      run: nox -e coverage\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n", "state": "active", "repository": "python-adaptive/adaptive"}
{"mined_at": "2024-07-15T12:41:11.630926", "created_at": "2022-05-31T06:22:30+02:00", "updated_at": "2022-05-31T09:24:47+02:00", "name": "nox", "path": ".github/workflows/nox.yml", "contents": "name: nox\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  test:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Register Python problem matcher\n      run: echo \"::add-matcher::.github/workflows/matchers/pytest.json\"\n    - name: Install dependencies\n      run: pip install nox pytest-github-actions-annotate-failures\n    - name: Test with nox using minimal dependencies\n      run: nox -e \"pytest-${{ matrix.python-version }}(all_deps=False)\"\n    - name: Test with nox with all dependencies\n      run: nox -e \"pytest-${{ matrix.python-version }}(all_deps=True)\"\n", "state": "active", "repository": "python-adaptive/adaptive"}
{"mined_at": "2024-07-15T12:41:12.629009", "created_at": "2021-03-07T16:35:58+01:00", "updated_at": "2021-03-07T16:35:58+01:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine build\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n      run: |\n        python -m build\n        twine upload dist/*\n", "state": "active", "repository": "python-adaptive/adaptive"}
{"mined_at": "2024-07-15T12:41:13.680076", "created_at": "2023-04-07T01:21:36+02:00", "updated_at": "2023-04-29T10:24:05+02:00", "name": "TOC Generator", "path": ".github/workflows/toc.yaml", "contents": "on: push\nname: TOC Generator\njobs:\n  generateTOC:\n    name: TOC Generator\n    runs-on: ubuntu-latest\n    steps:\n      - uses: technote-space/toc-generator@v4\n        with:\n          TOC_TITLE: \"\"\n", "state": "active", "repository": "python-adaptive/adaptive"}
{"mined_at": "2024-07-15T12:41:14.705973", "created_at": "2022-05-31T19:09:47+02:00", "updated_at": "2024-04-10T09:34:26+02:00", "name": ".github/workflows/typeguard.yml", "path": ".github/workflows/typeguard.yml", "contents": "name: typeguard\n\n# TODO: enable this once typeguard=4 is released and issues are fixed.\n# on:\n#   - push\n\njobs:\n  typeguard:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - name: Install dependencies\n      run: pip install nox\n    - name: Test with nox\n      run: nox -e pytest_typeguard\n", "state": "active", "repository": "python-adaptive/adaptive"}
{"mined_at": "2024-07-15T12:41:16.887013", "created_at": "2021-01-25T16:01:22+01:00", "updated_at": "2021-01-25T16:01:22+01:00", "name": "CI Tests", "path": ".github/workflows/ci_tests.yml", "contents": "# GitHub Actions workflow for testing and continuous integration.\n#\n# This file performs testing using tox and tox.ini to define and configure the test environments.\n\nname: CI Tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n     branches: # only build on PRs against 'main' if you need to further limit when CI is run.\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Github Actions supports ubuntu, windows, and macos virtual environments:\n  # https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners\n  ci_tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          - name: Code style checks\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: codestyle\n\n          - name: Python 3.7 with minimal dependencies\n            os: ubuntu-latest\n            python: 3.7\n            toxenv: py37-test\n\n          - name: OS X - Python 3.9 with minimal dependencies\n            os: macos-latest\n            python: 3.9\n            toxenv: py39-test\n\n          - name: Windows - Python 3.11 with all optional dependencies\n            os: windows-latest\n            python: 3.11\n            toxenv: py11-test-alldeps\n\n          - name: Python 3.11 with remote data, all dependencies, and coverage\n            os: ubuntu-latest\n            python: 3.11\n            toxenv: py11-test-alldeps-cov\n            toxposargs: --remote-data\n\n          - name: Python 3.11 with latest dev versions of key dependencies\n            os: ubuntu-latest\n            python: 3.11\n            toxenv: py11-test-devdeps\n\n          - name: Test building of Sphinx docs\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: build_docs\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v1\n      with:\n        fetch-depth: 0\n    - name: Set up python ${{ matrix.python }} on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install base dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox codecov\n    - name: Install graphviz dependency\n      if: ${{ contains(matrix.toxenv, 'build_docs') }}\n      run: sudo apt-get -y install graphviz\n    - name: Test with tox\n      run: |\n        tox -e ${{ matrix.toxenv }}\n", "state": "active", "repository": "astropy/astroplan"}
{"mined_at": "2024-07-15T12:41:18.992007", "created_at": "2023-10-16T03:33:56+02:00", "updated_at": "2023-10-16T03:33:56+02:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": null, "state": "active", "repository": "mikgroup/sigpy"}
{"mined_at": "2024-07-15T12:41:20.011911", "created_at": "2020-10-24T01:40:31+02:00", "updated_at": "2020-10-24T01:40:31+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "mikgroup/sigpy"}
{"mined_at": "2024-07-15T12:41:23.081084", "created_at": "2021-07-13T01:49:53+02:00", "updated_at": "2021-07-13T01:49:53+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [push, pull_request]\njobs:\n  build:\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-latest, windows-latest, ubuntu-latest]\n        python-version: [3.8, 3.9, '3.10', '3.11', '3.12', pypy-3.9]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: setup.py\n      - run: pip install .[test] coveralls\n      - env:\n          LANG: en_US.UTF-8\n          PYTHONIOENCODING: utf-8\n          PYTHONUTF8: 1\n        run: pytest --cov csvkit\n      # csvpy cannot accept input as piped data via STDIN.\n      - name: Read from stdin\n        if: matrix.os != 'windows-latest'\n        run: |\n          csvclean -a < examples/dummy.csv\n          csvcut < examples/dummy.csv\n          csvformat < examples/dummy.csv\n          csvgrep -c1 -m1 < examples/dummy.csv\n          csvjoin < examples/dummy.csv\n          csvjson < examples/dummy.csv\n          csvlook < examples/dummy.csv\n          csvsort < examples/dummy.csv\n          csvsql < examples/dummy.csv\n          csvstack < examples/dummy.csv\n          csvstat < examples/dummy.csv\n          in2csv -f csv < examples/dummy.csv\n          sql2csv < examples/test.sql\n      - name: Read from pipe\n        run: |\n          printf 'a,b,c\\n1,2,3' | csvclean -a\n          printf 'a,b,c\\n1,2,3' | csvcut\n          printf 'a,b,c\\n1,2,3' | csvformat\n          printf 'a,b,c\\n1,2,3' | csvgrep -c1 -m1\n          printf 'a,b,c\\n1,2,3' | csvjoin\n          printf 'a,b,c\\n1,2,3' | csvjson\n          printf 'a,b,c\\n1,2,3' | csvlook\n          printf 'a,b,c\\n1,2,3' | csvsort\n          printf 'a,b,c\\n1,2,3' | csvsql\n          printf 'a,b,c\\n1,2,3' | csvstack\n          printf 'a,b,c\\n1,2,3' | csvstat\n          printf 'a,b,c\\n1,2,3' | in2csv -f csv\n          printf 'SELECT 1 AS a' | sql2csv\n      - env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: coveralls --service=github\n", "state": "active", "repository": "wireservice/csvkit"}
{"mined_at": "2024-07-15T12:41:24.092813", "created_at": "2024-07-13T02:15:43+02:00", "updated_at": "2024-07-13T02:15:43+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": null, "state": "active", "repository": "wireservice/csvkit"}
{"mined_at": "2024-07-15T12:41:25.108389", "created_at": "2022-12-20T23:23:34+01:00", "updated_at": "2022-12-20T23:23:34+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\non: [push, pull_request]\njobs:\n  build:\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: pip\n          cache-dependency-path: setup.py\n      - run: pip install --upgrade check-manifest flake8 isort setuptools\n      - run: check-manifest\n      - run: flake8 .\n      - run: isort . --check-only\n", "state": "active", "repository": "wireservice/csvkit"}
{"mined_at": "2024-07-15T12:41:26.173549", "created_at": "2023-10-03T21:53:57+02:00", "updated_at": "2023-10-03T21:53:57+02:00", "name": "Publish to PyPI", "path": ".github/workflows/pypi.yml", "contents": "name: Publish to PyPI\non: push\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - run: pip install --upgrade -r docs/requirements.txt\n      - run: make -C docs man\n      - run: pip install --upgrade build\n      - run: python -m build --sdist --wheel\n      - name: Publish to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n      - name: Publish to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "wireservice/csvkit"}
{"mined_at": "2024-07-15T12:41:29.714366", "created_at": "2021-05-03T14:21:59+02:00", "updated_at": "2021-05-04T09:33:41+02:00", "name": "Build client app", "path": ".github/workflows/build-client.yml", "contents": "name: Build client app\n\non:\n  pull_request:\n    paths:\n      - \"terracotta/client/app/**\"\n\n  push:\n    branches:\n      - main\n    paths:\n      - \"terracotta/client/app/**\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.head_ref }}\n\n      - uses: actions/setup-node@v1\n        with:\n          node-version: 12\n\n      - name: Build app\n        run: |\n          pushd terracotta/client/app\n          yarn install --frozen-lockfile\n          yarn build\n          popd\n\n      - name: Commit changes\n        uses: stefanzweifel/git-auto-commit-action@v4.9.0\n        with:\n          commit_message: \"[skip ci] Commit latest build\"\n", "state": "active", "repository": "dhi-gras/terracotta"}
{"mined_at": "2024-07-15T12:41:30.958933", "created_at": "2021-12-16T11:50:45+01:00", "updated_at": "2021-12-16T11:50:45+01:00", "name": "Upload release", "path": ".github/workflows/deploy.yml", "contents": "name: Upload release\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      # make sure tags are fetched so we can get a version\n      - run: |\n          git fetch --prune --unshallow --tags\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n\n      - name: Build sdist\n        run: |\n          python setup.py sdist\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "dhi-gras/terracotta"}
{"mined_at": "2024-07-15T12:41:32.154044", "created_at": "2024-03-27T11:05:54+01:00", "updated_at": "2024-05-03T15:06:40+02:00", "name": "Docker-build-push", "path": ".github/workflows/docker-publish.yml", "contents": null, "state": "active", "repository": "dhi-gras/terracotta"}
{"mined_at": "2024-07-15T12:41:33.443320", "created_at": "2022-02-11T22:29:44+01:00", "updated_at": "2022-02-21T11:05:55+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - main\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.11'\n\n    - uses: pre-commit/action@v2.0.0", "state": "active", "repository": "dhi-gras/terracotta"}
{"mined_at": "2024-07-15T12:41:34.781973", "created_at": "2021-12-15T14:07:18+01:00", "updated_at": "2021-12-16T11:50:45+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - main\n\nenv:\n  MYSQL_PORT: 3306\n  POSTGRESQL_PORT: 5432\n  DB_USER: root\n  DB_PASSWORD: root\n\njobs:\n  test-pip:\n    name: Run tests (with pip)\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.11\"]\n\n    defaults:\n      run:\n        shell: bash\n\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: ${{ env.DB_USER }}\n          POSTGRES_PASSWORD: ${{ env.DB_PASSWORD }}\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n\n    steps:\n      - uses: actions/checkout@v2\n\n      # make sure tags are fetched so we can get a version\n      - run: git fetch --prune --unshallow --tags\n\n      - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"::set-output name=dir::$(pip cache dir)\"\n\n      - name: Restore pip cache\n        uses: actions/cache@v2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ matrix.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ matrix.os }}-pip-\n\n      - name: Setup Python environment\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install cython numpy\n\n      - name: Setup MySQL\n        run: |\n          sudo /etc/init.d/mysql start\n          mysql -e 'SHOW DATABASES;' -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }}\n\n      - name: Install Terracotta\n        run: |\n          pip install -e .[test]\n          pip freeze\n\n      - name: Run tests\n        run: |\n          MYSQL_SRV=\"${{ env.DB_USER }}:${{ env.DB_PASSWORD }}@127.0.0.1:${{ env.MYSQL_PORT }}\"\n          POSTGRESQL_SRV=\"${{ env.DB_USER }}:${{ env.DB_PASSWORD }}@localhost:${{ env.POSTGRESQL_PORT }}\"\n          python -m pytest . --color=yes --cov=terracotta --mysql-server=$MYSQL_SRV --postgresql-server=$POSTGRESQL_SRV\n\n      - name: Run benchmarks\n        run: |\n          python -m pytest --color=yes tests/benchmarks.py\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v1\n\n\n  test-conda:\n    name: Run tests (with conda)\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n\n      matrix:\n        os: [macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.11\"]\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v2\n\n      # make sure tags are fetched so we can get a version\n      - run: git fetch --prune --unshallow --tags\n\n      - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"::set-output name=dir::$(pip cache dir)\"\n\n      - name: Restore pip cache\n        uses: actions/cache@v2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ matrix.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ matrix.os }}-pip-\n\n      - name: Restore conda cache\n        uses: actions/cache@v2\n        with:\n          path: ~/conda_pkgs_dir\n          key:\n            ${{ runner.os }}-conda-${{ matrix.python-version }}-${{ hashFiles('environment.yml') }}\n\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          environment-file: environment.yml\n          activate-environment: terracotta\n\n      - name: Install Terracotta\n        run: |\n          pip install -e .[test]\n          conda list\n\n      - name: Run tests\n        run: |\n          python -m pytest . --color=yes --cov=terracotta\n\n      - name: Run benchmarks\n        run: |\n          python -m pytest tests/benchmarks.py --color=yes\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v1\n", "state": "active", "repository": "dhi-gras/terracotta"}
{"mined_at": "2024-07-15T12:41:37.808742", "created_at": "2021-11-03T11:16:07+01:00", "updated_at": "2021-11-03T11:44:02+01:00", "name": "Dependabot PR Approve and Merge", "path": ".github/workflows/dependabot-auto-approve-and-merge.yml", "contents": "name: Dependabot PR Approve and Merge\n# Original: https://blog.somewhatabstract.com/2021/10/11/setting-up-dependabot-with-github-actions-to-approve-and-merge/?utm_source=pocket_mylist\n# See also: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#approve-a-pull-request\n\non: pull_request_target\n\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    # Check the actor, only run for Dependabot PRs, prevent failing on non-Dependabot PRs.\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      # This step will fail (without approval) if there's no metadata.\n      - name: Dependabot metadata\n        id: dependabot-metadata\n        uses: dependabot/fetch-metadata@v2.1.0\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      # Approve the PR.\n      - name: Approve a PR\n        run: gh pr review --approve \"$PR_URL\"\n        env:\n          PR_URL: ${{ github.event.pull_request.html_url }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      # Allow auto-merging for patch and minor updates if all checks pass.\n      - name: Enable auto-merge for Dependabot PRs\n        if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}\n        run: gh pr merge --auto --squash \"$PR_URL\"\n        env:\n          PR_URL: ${{ github.event.pull_request.html_url }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "zostera/django-bootstrap3"}
{"mined_at": "2024-07-15T12:41:38.879591", "created_at": "2023-06-08T14:17:33+02:00", "updated_at": "2023-06-08T14:19:31+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non: [ push ]\n\nconcurrency:\n  group: test-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n\n  tests_matrix:\n    runs-on: ubuntu-latest\n    needs: [ ruff ]\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n        django-version: [4.2, 5.0, \"main\"]\n        exclude:\n            # Django 4.2\n            - python-version: 3.12\n              django-version: 4.2\n\n            # Django 5.0\n            - python-version: 3.8\n              django-version: 5.0\n            - python-version: 3.9\n              django-version: 5.0\n\n            # Django main\n            - python-version: 3.8\n              django-version: \"main\"\n            - python-version: 3.9\n              django-version: \"main\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: requirements-test.txt\n      - run: python -m pip install -r requirements-test.txt\n      - run: python -m pip install -U Django==${{ matrix.django-version }}\n        if: matrix.django-version != 'main'\n      - run: python -m pip install -U https://github.com/django/django/archive/master.tar.gz\n        if: matrix.django-version == 'main'\n      - run: python -m pip install -e .\n      - run: coverage run manage.py test\n      - run: python -m pip install -U coveralls\n      - name: Upload coveralls (parallel)\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_PARALLEL: true\n        run: coveralls --service=github\n\n  docs:\n    runs-on: ubuntu-latest\n    needs: [ tests_matrix ]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n            python-version: \"3.11\"\n            cache: 'pip'\n            cache-dependency-path: docs/requirements.txt\n      - name: Build documentation\n        run: |\n          python -m pip install -r docs/requirements.txt\n          make docs\n\n  build:\n    runs-on: ubuntu-latest\n    needs: [ tests_matrix ]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n            python-version: \"3.11\"\n            cache: 'pip'\n            cache-dependency-path: requirements-dev.txt\n      - name: Build package\n        run: |\n          python -m pip install -r requirements-dev.txt\n          make build\n\n\n  tests:\n    if: always()\n    runs-on: ubuntu-latest\n    needs: [ tests_matrix, ruff, docs, build ]\n    steps:\n      - name: Check tests matrix status\n        if: needs.tests_matrix.result != 'success'\n        run: exit 1\n      - name: Finish parallel build\n        uses: coverallsapp/github-action@v2\n        with:\n          parallel-finished: true\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "zostera/django-bootstrap3"}
{"mined_at": "2024-07-15T12:41:40.866204", "created_at": "2021-03-10T17:34:26+01:00", "updated_at": "2021-03-10T17:34:26+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  tox-jobs:\n    strategy:\n      fail-fast: false\n      matrix:\n        tox-job: [doc, pep8]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - run: pip install tox\n      - run: tox -e ${{ matrix.tox-job }}\n  build:\n    runs-on: ${{ matrix.os }}\n    name: ${{ matrix.os }} - ${{ matrix.python }} ${{ matrix.build }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python: ['3.12']\n        build: ['']\n        include:\n          - os: ubuntu-latest\n            python: 'pypy3.10'\n          - os: ubuntu-latest\n            python: 'pypy3.9'\n          - os: ubuntu-latest\n            python: 'pypy3.8'\n          - os: ubuntu-latest\n            python: '3.8'\n          - os: ubuntu-latest\n            python: '3.9'\n          - os: ubuntu-latest\n            python: '3.10'\n          - os: ubuntu-latest\n            python: '3.11'\n          - os: ubuntu-latest\n            python: '3.12'\n          - os: ubuntu-latest\n            python: '3.13-dev'\n            build: 'free-threading'\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        if: ${{ matrix.build != 'free-threading' }}\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Set up Python ${{ matrix.python }} using deadsnakes\n        uses: deadsnakes/action@v3.1.0\n        if: ${{ matrix.build == 'free-threading' }}\n        with:\n          python-version: ${{ matrix.python }}\n          nogil: true\n      - name: Display Python version\n        run: |\n          python -VV\n          python -c 'import sysconfig; print(\"Free threading?\", \"Yes\" if sysconfig.get_config_var(\"Py_GIL_DISABLED\") else \"No\")'\n      - name: Install Tox and any other packages\n        run: pip install tox\n      - name: Run Tox\n        # Run tox using the version of Python in `PATH`\n        run: tox -e py\n", "state": "active", "repository": "psf/pyperf"}
{"mined_at": "2024-07-15T12:41:41.931571", "created_at": "2021-03-24T16:02:52+01:00", "updated_at": "2021-03-24T16:02:52+01:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n        cache: pip\n        cache-dependency-path: pyproject.toml\n    - name: Install dependencies\n      run: |\n        python -m pip install --user --upgrade build\n    - name: Build\n      run: |\n        python -m build\n\n    - name: Publish distribution 📦 to PyPI\n      if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "psf/pyperf"}
{"mined_at": "2024-07-15T12:41:44.700259", "created_at": "2021-06-08T08:29:10+02:00", "updated_at": "2023-03-30T13:58:21+02:00", "name": "Lint and Test", "path": ".github/workflows/check-master.yml", "contents": "name: Lint and Test\n\non:\n  push:\n    branches: ['dev', 'feature/**', 'master', 'release/*']\n  pull_request:\n    branches: ['dev', 'feature/**', 'master', 'release/*']\n    types: [opened, reopened, synchronize]\n  release:\n    types: [edited, published]\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n\n  lint:\n    name: Lint (Python ${{ matrix.python-version }} on ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ '3.10' ]\n\n    steps:\n      - name: Checkout project\n        uses: actions/checkout@v2\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install latest conda\n        run: |\n          conda update -n base -q conda\n\n      - name: Install dependencies\n        run: |\n          conda install python=${{ matrix.python-version }} pip --file requirements.txt --file requirements-extra.txt\n          pip install -r requirements-dev.txt\n          python setup.py develop --no-deps\n\n      - name: Conda environment information\n        id: conda_environment_information\n        run: |\n          conda info\n          conda config --show\n          conda list --show-channel-urls\n          echo \"exit_status=success\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Check with pycodestyle\n        if: ${{ always() && steps.conda_environment_information.outputs.exit_status == 'success' }}\n        run: |\n          mkdir -p .artifacts/reports\n          make lint-pycodestyle > .artifacts/reports/pycodestyle.txt 2>&1\n\n      - name: Check with bandit\n        if: ${{ always() && steps.conda_environment_information.outputs.exit_status == 'success' }}\n        run: |\n          mkdir -p .artifacts/reports\n          make lint-bandit > .artifacts/reports/bandit.txt 2>&1\n\n      - name: Check with mypy\n        if: ${{ always() && steps.conda_environment_information.outputs.exit_status == 'success' }}\n        run: |\n          mkdir -p .artifacts/reports\n          make lint-mypy > .artifacts/reports/mypy.txt 2>&1\n\n      - name: Check with pylint\n        if: ${{ always() && steps.conda_environment_information.outputs.exit_status == 'success' }}\n        run: |\n          mkdir -p .artifacts/reports\n          make lint-pylint > .artifacts/reports/pylint.txt 2>&1\n\n      - name: Export reports\n        if: ${{ always() && steps.conda_environment_information.outputs.exit_status == 'success' }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: report-lint-${{ matrix.python-version }}-${{ matrix.os }}\n          path: .artifacts/reports\n          retention-days: 7\n\n  test:\n    name: Test (Python ${{ matrix.python-version }} on ${{ matrix.os }})\n    needs: [lint]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ macos-latest, ubuntu-latest, windows-latest ]\n        python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]\n\n    steps:\n      # most of these steps might be anchored to corresponding ones in the \"lint_code\" job\n      # unfortunately, as of June 2021 - GitHub doesn't support anchors for action scripts\n\n      - name: Checkout project\n        uses: actions/checkout@v2\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install latest conda\n        run: |\n          conda update -n base -q conda\n\n      - name: Install dependencies\n        run: |\n          conda install python=${{ matrix.python-version }} pip --file requirements.txt --file requirements-extra.txt\n          pip install -r requirements-dev.txt\n          python setup.py develop --no-deps\n\n      - name: Conda environment information\n        run: |\n          conda info\n          conda config --show\n          conda list --show-channel-urls\n\n      - name: Run tests\n        run: |\n          mkdir -p .artifacts/reports\n          python scripts/refresh_coveragerc.py\n          python -X utf8 -m pytest tests/ --cov-report html:.artifacts/reports/coverage --html=.artifacts/reports/pytest.html --self-contained-html\n\n      - name: Export reports\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: report-test-${{ matrix.python-version }}-${{ matrix.os }}\n          path: .artifacts/reports\n          retention-days: 7\n", "state": "active", "repository": "anaconda-platform/anaconda-client"}
{"mined_at": "2024-07-15T12:41:46.784392", "created_at": "2022-06-19T03:07:44+02:00", "updated_at": "2023-01-29T20:10:39+01:00", "name": "PurePyCI", "path": ".github/workflows/tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n# Based on ~/code/xcookie/xcookie/rc/tests.yml.in\n# Now based on ~/code/xcookie/xcookie/builders/github_actions.py\n# See: https://github.com/Erotemic/xcookie\n\nname: PurePyCI\n\non:\n  push:\n  pull_request:\n    branches: [ main ]\n\njobs:\n  lint_job:\n    ##\n    # Run quick linting and typing checks.\n    # To disable all linting add \"linter=false\" to the xcookie config.\n    # To disable type checks add \"notypes\" to the xcookie tags.\n    ##\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - name: Set up Python 3.11 for linting\n      uses: actions/setup-python@v4.7.1\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |-\n        python -m pip install --upgrade pip\n        python -m pip install flake8\n    - name: Lint with flake8\n      run: |-\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 ./ibeis --count --select=E9,F63,F7,F82 --show-source --statistics\n  build_purepy_wheels:\n    ##\n    # Download and test the pure-python wheels that were build in the\n    # build_purepy_wheels and test them in this independent environment.\n    ##\n    name: ${{ matrix.python-version }} on ${{ matrix.os }}, arch=${{ matrix.arch }} with ${{ matrix.install-extras }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n        - ubuntu-latest\n        python-version:\n        - '3.11'\n        arch:\n        - auto\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n      if: runner.os == 'Linux' && matrix.arch != 'auto'\n      with:\n        platforms: all\n    - name: Setup Python\n      uses: actions/setup-python@v4.7.1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Build pure wheel\n      shell: bash\n      run: |-\n        python -m pip install setuptools>=0.8 wheel build twine\n        python -m build --wheel --outdir wheelhouse\n        python -m twine check ./wheelhouse/ibeis*.whl\n    - name: Show built files\n      shell: bash\n      run: ls -la wheelhouse\n    - uses: actions/upload-artifact@v3\n      name: Upload wheels artifact\n      with:\n        name: wheels\n        path: ./wheelhouse/ibeis*.whl\n  test_purepy_wheels:\n    name: ${{ matrix.python-version }} on ${{ matrix.os }}, arch=${{ matrix.arch }} with ${{ matrix.install-extras }}\n    runs-on: ${{ matrix.os }}\n    needs:\n    - build_purepy_wheels\n    strategy:\n      fail-fast: false\n      matrix:\n        # Xcookie generates an explicit list of environments that will be used\n        # for testing instead of using the more concise matrix notation.\n        include:\n        - python-version: '3.7'\n          install-extras: tests-strict,runtime-strict,headless-strict\n          os: ubuntu-latest\n          arch: auto\n        - python-version: '3.8'\n          install-extras: tests-strict,runtime-strict,headless-strict\n          os: ubuntu-latest\n          arch: auto\n        - python-version: '3.9'\n          install-extras: tests-strict,runtime-strict,headless-strict\n          os: ubuntu-latest\n          arch: auto\n        - python-version: '3.10'\n          install-extras: tests-strict,runtime-strict,headless-strict\n          os: ubuntu-latest\n          arch: auto\n        - python-version: '3.11'\n          install-extras: tests-strict,runtime-strict,headless-strict\n          os: ubuntu-latest\n          arch: auto\n        - python-version: '3.7'\n          install-extras: tests-strict,runtime-strict,optional-strict,headless-strict\n          os: ubuntu-latest\n          arch: auto\n        - python-version: '3.7'\n          install-extras: tests,optional,headless\n          os: ubuntu-latest\n          arch: auto\n        - python-version: '3.8'\n          install-extras: tests,optional,headless\n          os: ubuntu-latest\n          arch: auto\n        - python-version: '3.9'\n          install-extras: tests,optional,headless\n          os: ubuntu-latest\n          arch: auto\n        - python-version: '3.10'\n          install-extras: tests,optional,headless\n          os: ubuntu-latest\n          arch: auto\n        - python-version: '3.11'\n          install-extras: tests,optional,headless\n          os: ubuntu-latest\n          arch: auto\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n      if: runner.os == 'Linux' && matrix.arch != 'auto'\n      with:\n        platforms: all\n    - name: Setup Python\n      uses: actions/setup-python@v4.7.1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/download-artifact@v3\n      name: Download wheels\n      with:\n        name: wheels\n        path: wheelhouse\n    - name: Install wheel ${{ matrix.install-extras }}\n      shell: bash\n      env:\n        INSTALL_EXTRAS: ${{ matrix.install-extras }}\n      run: |-\n        echo \"Finding the path to the wheel\"\n        ls wheelhouse || echo \"wheelhouse does not exist\"\n        echo \"Installing helpers\"\n        pip install setuptools>=0.8 setuptools_scm wheel build -U\n        pip install tomli pkginfo\n        export WHEEL_FPATH=$(python -c \"import pathlib; print(str(sorted(pathlib.Path('wheelhouse').glob('ibeis*.whl'))[-1]).replace(chr(92), chr(47)))\")\n        export MOD_VERSION=$(python -c \"from pkginfo import Wheel; print(Wheel('$WHEEL_FPATH').version)\")\n        pip install --prefer-binary \"ibeis[$INSTALL_EXTRAS]==$MOD_VERSION\" -f wheelhouse\n        echo \"Install finished.\"\n    - name: Test wheel ${{ matrix.install-extras }}\n      shell: bash\n      env:\n        CI_PYTHON_VERSION: py${{ matrix.python-version }}\n      run: |-\n        echo \"Creating test sandbox directory\"\n        export WORKSPACE_DNAME=\"testdir_${CI_PYTHON_VERSION}_${GITHUB_RUN_ID}_${RUNNER_OS}\"\n        echo \"WORKSPACE_DNAME=$WORKSPACE_DNAME\"\n        mkdir -p $WORKSPACE_DNAME\n        echo \"cd-ing into the workspace\"\n        cd $WORKSPACE_DNAME\n        pwd\n        ls -altr\n        # Get the path to the installed package and run the tests\n        export MOD_DPATH=$(python -c \"import ibeis, os; print(os.path.dirname(ibeis.__file__))\")\n        echo \"\n        ---\n        MOD_DPATH = $MOD_DPATH\n        ---\n        running the pytest command inside the workspace\n        ---\n        \"\n        mkdir -p \"ci_ibeis_workdir\"\n        echo \"About to reset workdirs\"\n        python -m ibeis --set-workdir=\"$(readlink -f ci_ibeis_workdir)\" --nogui\n        python -m ibeis --resetdbs\n        python -m xdoctest $MOD_DPATH --style=google all\n        echo \"xdoctest command finished\"\n  test_deploy:\n    name: Uploading Test to PyPi\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && ! startsWith(github.event.ref, 'refs/tags') && ! startsWith(github.event.ref, 'refs/heads/release')\n    needs:\n    - build_purepy_wheels\n    - test_purepy_wheels\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - uses: actions/download-artifact@v3\n      name: Download wheels and sdist\n      with:\n        name: wheels\n        path: wheelhouse\n    - name: Show files to upload\n      shell: bash\n      run: ls -la wheelhouse\n    - name: Sign and Publish\n      env:\n        TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.TEST_TWINE_PASSWORD }}\n        CI_SECRET: ${{ secrets.CI_SECRET }}\n      run: |-\n        GPG_EXECUTABLE=gpg\n        $GPG_EXECUTABLE --version\n        openssl version\n        $GPG_EXECUTABLE --list-keys\n        echo \"Decrypting Keys\"\n        openssl enc -aes-256-cbc -pbkdf2 -md SHA512 -pass env:CI_SECRET -d -a -in dev/ci_public_gpg_key.pgp.enc | $GPG_EXECUTABLE --import\n        openssl enc -aes-256-cbc -pbkdf2 -md SHA512 -pass env:CI_SECRET -d -a -in dev/gpg_owner_trust.enc | $GPG_EXECUTABLE --import-ownertrust\n        openssl enc -aes-256-cbc -pbkdf2 -md SHA512 -pass env:CI_SECRET -d -a -in dev/ci_secret_gpg_subkeys.pgp.enc | $GPG_EXECUTABLE --import\n        echo \"Finish Decrypt Keys\"\n        $GPG_EXECUTABLE --list-keys || true\n        $GPG_EXECUTABLE --list-keys  || echo \"first invocation of gpg creates directories and returns 1\"\n        $GPG_EXECUTABLE --list-keys\n        VERSION=$(python -c \"import setup; print(setup.VERSION)\")\n        pip install twine\n        pip install urllib3 requests[security] twine\n        GPG_KEYID=$(cat dev/public_gpg_key)\n        echo \"GPG_KEYID = '$GPG_KEYID'\"\n        DO_GPG=True GPG_KEYID=$GPG_KEYID TWINE_REPOSITORY_URL=${TWINE_REPOSITORY_URL} TWINE_PASSWORD=$TWINE_PASSWORD TWINE_USERNAME=$TWINE_USERNAME GPG_EXECUTABLE=$GPG_EXECUTABLE DO_UPLOAD=True DO_TAG=False ./publish.sh\n  live_deploy:\n    name: Uploading Live to PyPi\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && (startsWith(github.event.ref, 'refs/tags') || startsWith(github.event.ref, 'refs/heads/release'))\n    needs:\n    - build_purepy_wheels\n    - test_purepy_wheels\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - uses: actions/download-artifact@v3\n      name: Download wheels and sdist\n      with:\n        name: wheels\n        path: wheelhouse\n    - name: Show files to upload\n      shell: bash\n      run: ls -la wheelhouse\n    - name: Sign and Publish\n      env:\n        TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n        CI_SECRET: ${{ secrets.CI_SECRET }}\n      run: |-\n        GPG_EXECUTABLE=gpg\n        $GPG_EXECUTABLE --version\n        openssl version\n        $GPG_EXECUTABLE --list-keys\n        echo \"Decrypting Keys\"\n        openssl enc -aes-256-cbc -pbkdf2 -md SHA512 -pass env:CI_SECRET -d -a -in dev/ci_public_gpg_key.pgp.enc | $GPG_EXECUTABLE --import\n        openssl enc -aes-256-cbc -pbkdf2 -md SHA512 -pass env:CI_SECRET -d -a -in dev/gpg_owner_trust.enc | $GPG_EXECUTABLE --import-ownertrust\n        openssl enc -aes-256-cbc -pbkdf2 -md SHA512 -pass env:CI_SECRET -d -a -in dev/ci_secret_gpg_subkeys.pgp.enc | $GPG_EXECUTABLE --import\n        echo \"Finish Decrypt Keys\"\n        $GPG_EXECUTABLE --list-keys || true\n        $GPG_EXECUTABLE --list-keys  || echo \"first invocation of gpg creates directories and returns 1\"\n        $GPG_EXECUTABLE --list-keys\n        VERSION=$(python -c \"import setup; print(setup.VERSION)\")\n        pip install twine\n        pip install urllib3 requests[security] twine\n        GPG_KEYID=$(cat dev/public_gpg_key)\n        echo \"GPG_KEYID = '$GPG_KEYID'\"\n        DO_GPG=True GPG_KEYID=$GPG_KEYID TWINE_REPOSITORY_URL=${TWINE_REPOSITORY_URL} TWINE_PASSWORD=$TWINE_PASSWORD TWINE_USERNAME=$TWINE_USERNAME GPG_EXECUTABLE=$GPG_EXECUTABLE DO_UPLOAD=True DO_TAG=False ./publish.sh\n\n\n###\n# Unfortunately we cant (yet) use the yaml docstring trick here\n# https://github.community/t/allow-unused-keys-in-workflow-yaml-files/172120\n#__doc__: |\n#    # How to run locally\n#    # https://packaging.python.org/guides/using-testpypi/\n#    git clone https://github.com/nektos/act.git $HOME/code/act\n#    chmod +x $HOME/code/act/install.sh\n#    (cd $HOME/code/act && ./install.sh -b $HOME/.local/opt/act)\n#\n#    load_secrets\n#    unset GITHUB_TOKEN\n#    $HOME/.local/opt/act/act \\\n#        --secret=EROTEMIC_TWINE_PASSWORD=$EROTEMIC_TWINE_PASSWORD \\\n#        --secret=EROTEMIC_TWINE_USERNAME=$EROTEMIC_TWINE_USERNAME \\\n#        --secret=EROTEMIC_CI_SECRET=$EROTEMIC_CI_SECRET \\\n#        --secret=EROTEMIC_TEST_TWINE_USERNAME=$EROTEMIC_TEST_TWINE_USERNAME \\\n#        --secret=EROTEMIC_TEST_TWINE_PASSWORD=$EROTEMIC_TEST_TWINE_PASSWORD", "state": "active", "repository": "erotemic/ibeis"}
{"mined_at": "2024-07-15T12:41:48.822749", "created_at": "2021-11-18T20:30:10+01:00", "updated_at": "2021-11-18T20:30:10+01:00", "name": "cd", "path": ".github/workflows/cd.yaml", "contents": "name: cd\non:\n  pull_request:\n    branches: [main]\n    types: [closed]\n  workflow_dispatch:\n\njobs:\n  build_push_metatlas_shifter_image:\n    name: Build/push doejgi/metatlas_shifter docker image\n    if: github.repository == 'biorack/metatlas' && (github.event.pull_request.merged || github.event_name == 'workflow_dispatch')\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - name: Login to GHCR\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.repository_owner }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n    - name: generate version_info file\n      run: python ./docker/most_recent_commits.py > docker/.version_info\n    - name: generate time based tag\n      id: timestamp\n      run: |\n        DATE_TIME=$(date -u +\"%Y%m%d_%H%M%S\")\n        echo \"date_time=${DATE_TIME}\" >> $GITHUB_OUTPUT\n    - name: Build Docker images # This is for the targeted metatlas pipeline\n      id: build\n      uses: docker/build-push-action@v5\n      with:\n        context: ./docker\n        file: ./docker/Dockerfile.shifter\n        platforms: linux/amd64\n        cache-from: type=registry,ref=ghcr.io/biorack/metatlas/metatlas_shifter:latest\n        cache-to: type=inline\n        tags: |\n          ghcr.io/biorack/metatlas/metatlas_shifter:${{ steps.timestamp.outputs.date_time }}\n          ghcr.io/biorack/metatlas/metatlas_shifter:latest\n        push: true\n  build_push_metatlas_analysis_image:\n    name: Build/push analysis docker image\n    if: github.repository == 'biorack/metatlas' && (github.event.pull_request.merged || github.event_name == 'workflow_dispatch')\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - name: generate time based tag\n      id: timestamp\n      run: |\n        DATE_TIME=$(date -u +\"%Y%m%d_%H%M%S\")\n        echo \"date_time=${DATE_TIME}\" >> $GITHUB_OUTPUT\n    - name: Login to GHCR\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.repository_owner }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n    - name: Build Docker images # This is for the boutique analysis tasks\n      id: build_analysis\n      uses: docker/build-push-action@v5\n      with:\n        context: ./docker\n        file: ./docker/Dockerfile.analysis\n        platforms: linux/amd64\n        cache-from: type=registry,ref=ghcr.io/biorack/metatlas/analysis:latest\n        cache-to: type=inline\n        tags: |\n          ghcr.io/biorack/metatlas/analysis:${{ steps.timestamp.outputs.date_time }}\n          ghcr.io/biorack/metatlas/analysis:latest\n        push: true\n  build_push_metatlas_mzmine_image:\n    name: Build/push mzmine docker image\n    if: github.repository == 'biorack/metatlas' && (github.event.pull_request.merged || github.event_name == 'workflow_dispatch')\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - name: generate time based tag\n      id: timestamp\n      run: |\n        DATE_TIME=$(date -u +\"%Y%m%d_%H%M%S\")\n        echo \"date_time=${DATE_TIME}\" >> $GITHUB_OUTPUT\n    - name: Login to GHCR\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.repository_owner }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n    - name: Build Docker images # This is for the mzmine container\n      id: build_mzmine\n      uses: docker/build-push-action@v5\n      with:\n        context: ./docker\n        file: ./docker/Dockerfile.mzmine\n        platforms: linux/amd64\n        cache-from: type=registry,ref=ghcr.io/biorack/metatlas/mzmine:latest\n        cache-to: type=inline\n        tags: |\n          ghcr.io/biorack/metatlas/mzmine:${{ steps.timestamp.outputs.date_time }}\n          ghcr.io/biorack/metatlas/mzmine:latest\n        push: true\n", "state": "active", "repository": "biorack/metatlas"}
{"mined_at": "2024-07-15T12:41:49.859464", "created_at": "2021-04-30T01:20:44+02:00", "updated_at": "2021-11-18T20:30:10+01:00", "name": "ci", "path": ".github/workflows/ci.yaml", "contents": "name: ci\non:\n  pull_request:\n    branches:\n      - main\njobs:\n  unit_tests:\n    name: Run unit tests suite\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - name: Cache nox environment for unit tests\n      uses: actions/cache@v3\n      with:\n        path: ~/work/metatlas/metatlas/.nox\n        key: ${{ runner.os }}-nox\n    - name: Setup nox\n      uses: daisylb/setup-nox@c375841575e07f30359a5843bf0bffa7aa596782\n    - name: Run unit tests\n      run: nox -s unit_tests-3.11\n  system_test1:\n    name: Run system test 1 - HILIC targeted\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - name: Setup nox\n      uses: daisylb/setup-nox@c375841575e07f30359a5843bf0bffa7aa596782\n    - name: Run system tests\n      run: nox -s system_tests-3.11 -- -k test_targeted\n  system_test2:\n    name: Run system test 2 - RT alignment\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - name: Setup nox\n      uses: daisylb/setup-nox@c375841575e07f30359a5843bf0bffa7aa596782\n    - name: Run system tests\n      run: nox -s system_tests-3.11 -- -k test_rt_alignment\n  system_test3:\n    name: Run system test 3 - add MSMS references\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - name: Setup nox\n      uses: daisylb/setup-nox@c375841575e07f30359a5843bf0bffa7aa596782\n    - name: Run system tests\n      run: nox -s system_tests-3.11 -- -k test_add_msms_ref\n  system_test4:\n    name: Run system test 4 - C18 targeted\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - name: Setup nox\n      uses: daisylb/setup-nox@c375841575e07f30359a5843bf0bffa7aa596782\n    - name: Run system tests\n      run: nox -s system_tests-3.11 -- -k test_c18\n  system_test5:\n    name: Run system test 5 - HILIC Targeted_hybrid\n    runs-on: ubuntu-22.04\n    continue-on-error: true\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n    - name: Setup nox\n      uses: daisylb/setup-nox@c375841575e07f30359a5843bf0bffa7aa596782\n    - name: Run system tests\n      run: nox -s system_tests-3.11 -- -k test_hybrid\n", "state": "active", "repository": "biorack/metatlas"}
{"mined_at": "2024-07-15T12:41:50.947271", "created_at": "2023-10-11T00:34:49+02:00", "updated_at": "2023-10-11T00:34:49+02:00", "name": "image_ci", "path": ".github/workflows/ci_image.yaml", "contents": null, "state": "active", "repository": "biorack/metatlas"}
{"mined_at": "2024-07-15T12:41:53.515767", "created_at": "2022-06-04T20:08:04+02:00", "updated_at": "2023-01-03T21:59:45+01:00", "name": "Build and upload docs to GitHub Pages", "path": ".github/workflows/build-upload-docs.yml", "contents": "name: Build and upload docs to GitHub Pages\n\non:\n  push:\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore\n    # \"If you define both branches/branches-ignore and paths, the workflow will\n    #  only run when both filters are satisfied.\"\n    branches:\n      - master\n    paths:\n      - \"docs/**\"\n      - \"apidoc/**\"\n      - \"isso/views/comments.py\"\n      - \".github/workflows/build-upload-docs.yml\"\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - \"apidoc/**\"\n      - \"isso/views/comments.py\"\n      - \".github/workflows/build-upload-docs.yml\"\n\njobs:\n  build-deploy:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Create faux requirements.txt file for caching sphinx pip pkg\n        # Need to upgrade pygments as well since the version shipped with GH\n        # actions default env is outdated and errors with a missing markdown\n        # lexer\n        run: echo -e \"sphinx\\npygments\" > sphinx-requirements.txt\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          # Use file created on-the-fly to cache sphinx pip pkg\n          cache-dependency-path: 'sphinx-requirements.txt'\n\n      - name: Install sphinx python package from pip\n        run: pip install -U -r sphinx-requirements.txt\n\n      - name: Build docs\n        run: make site\n\n      - name: Set up NodeJS\n        uses: actions/setup-node@v2\n        with:\n          node-version: 16\n\n      - name: Generate API docs\n        run: make apidoc-init apidoc\n\n      - name: Copy API docs to docs/ dir\n        run: cp -r apidoc/_output/ docs/_build/html/docs/api\n\n      - name: Deploy (only on push to master)\n        uses: peaceiris/actions-gh-pages@v3\n        if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }}\n        with:\n          deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}\n          external_repository: isso-comments/isso-comments.github.io\n          publish_branch: gh-pages\n          publish_dir: ./docs/_build/html\n          cname: \"isso-comments.de\"\n", "state": "active", "repository": "posativ/isso"}
{"mined_at": "2024-07-15T12:41:54.756901", "created_at": "2023-09-06T19:53:13+02:00", "updated_at": "2024-03-10T17:29:41+01:00", "name": "Docker Build", "path": ".github/workflows/docker-build.yaml", "contents": null, "state": "active", "repository": "posativ/isso"}
{"mined_at": "2024-07-15T12:41:55.936325", "created_at": "2024-04-29T02:28:46+02:00", "updated_at": "2024-04-29T02:28:46+02:00", "name": "Rebuild js testbed image", "path": ".github/workflows/docker-testbed-periodic-rebuild.yaml", "contents": null, "state": "active", "repository": "posativ/isso"}
{"mined_at": "2024-07-15T12:41:57.169980", "created_at": "2022-05-27T02:59:13+02:00", "updated_at": "2023-01-03T21:59:45+01:00", "name": "E2E tests with docker", "path": ".github/workflows/e2e-tests.yml", "contents": "name: E2E tests with docker\n\non:\n  pull_request:\n    paths:\n      - \"isso/**\"\n      - \"package.json\"\n      - \"docker/**\"\n      - \"docker-compose.yml\"\n      - \"Dockerfile\"\n      - \".github/workflows/e2e-tests.yml\"\n  push:\n    paths:\n      - \"isso/**\"\n      - \"package.json\"\n      - \"docker/**\"\n      - \"docker-compose.yml\"\n      - \"Dockerfile\"\n      - \".github/workflows/e2e-tests.yml\"\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    env:\n      TESTBED_IMAGE: \"ghcr.io/isso-comments/isso-js-testbed:latest\"\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Switch testbed image to ${{ env.TESTBED_IMAGE }}\n        # Just for faster CI runs, instead of re-building the image every time\n        # Especially useful to save the time+bandwidth to re-download puppeteer & chromium\n        run: |\n          sed -i \"s|isso-js-testbed|${{ env.TESTBED_IMAGE }}|g\" docker-compose.yml\n          # Also remove the `build`: section so image is pulled, not built\n          sed -i '/container_name: isso-client/{n;N;N;d}' docker-compose.yml\n\n      - name: Pull testbed from ${{ env.TESTBED_IMAGE }}\n        run: docker pull ${{ env.TESTBED_IMAGE }}\n\n      - name: Build the stack\n        run: docker compose build isso-server\n\n      - name: Bring up containers\n        run: docker compose up -d\n\n      - name: Client unit tests\n        run: make docker-js-unit\n\n      - name: Check if containers are up, sleep if not\n        shell: bash\n        run: '[ \"$(docker inspect --format={{.State.Health.Status}} isso-server)\" = \"healthy\" ] || sleep 5'\n\n      - name: Client integration tests\n        run: make docker-js-integration\n\n      - name: Compare screenshots\n        # Allow continuing to generate updated hashes in next step\n        id: compare-screenshots\n        continue-on-error: true\n        run: make docker-compare-screenshots\n\n      - name: Update screenshot hashes (if mismatched)\n        if: ${{ steps.compare-screenshots.outcome == 'failure' }}\n        run: make docker-update-screenshots\n\n      - name: Archive and upload updated screenshots & hashes\n        if: ${{ steps.compare-screenshots.outcome == 'failure' }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: updated-screenshots-and-hashes\n          path: isso/js/tests/screenshots/reference/\n\n      - name: Fail if \"Compare screenshots\" step failed\n        if: ${{ steps.compare-screenshots.outcome == 'failure' }}\n        run: /bin/false\n", "state": "active", "repository": "posativ/isso"}
{"mined_at": "2024-07-15T12:41:58.566998", "created_at": "2022-03-21T21:57:07+01:00", "updated_at": "2023-01-03T21:59:45+01:00", "name": "Javascript client", "path": ".github/workflows/javascript-client.yml", "contents": "name: Javascript client\n\non:\n  push:\n    paths:\n      - \"package.json\"\n      - \"isso/js/**\"\n      - \".github/workflows/javascript-client.yml\"\n  pull_request:\n    paths:\n      - \"package.json\"\n      - \"isso/js/**\"\n      - \".github/workflows/javascript-client.yml\"\n\njobs:\n  test:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        node-version: [16]\n      fail-fast: false\n\n    steps:\n\n    - name: Check out repository code\n      uses: actions/checkout@v3\n\n    - name: Set up NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}\n      uses: actions/setup-node@v2\n      with:\n        node-version: ${{ matrix.node-version }}\n        cache: 'npm'\n        cache-dependency-path: package.json\n\n    - name: Install Javascript test dependencies using npm\n      env:\n        ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true\n      run: npm install\n\n    - name: Run Javascript Jest test suite - unit tests\n      run: npm run test-unit\n\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        node-version: [16]\n      fail-fast: false\n\n    steps:\n\n    - name: Check out repository code\n      uses: actions/checkout@v3\n\n    - name: Set up NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}\n      uses: actions/setup-node@v2\n      with:\n        node-version: ${{ matrix.node-version }}\n        cache: 'npm'\n        cache-dependency-path: package.json\n\n    - name: Install Javascript dependencies using npm\n      run: make init\n\n    - name: Create Javascript client files\n      run: make js\n\n    - name: Archive and upload generated minified client files\n      uses: actions/upload-artifact@v3\n      with:\n        name: client-js-files\n        path: |\n          isso/js/embed.*.js\n          isso/js/count.*.js\n          isso/js/embed.dev.js.map\n          isso/js/count.dev.js.map\n        if-no-files-found: error\n", "state": "active", "repository": "posativ/isso"}
{"mined_at": "2024-07-15T12:41:59.762027", "created_at": "2022-03-21T22:46:14+01:00", "updated_at": "2023-01-03T21:59:45+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "name: Python package\n\non:\n  # Always build installable package, except for docs changes\n  push:\n    paths:\n      - \"./**\"\n      - \"!docs/\"\n      - \".github/workflows/python-package.yml\"\n  pull_request:\n    paths:\n      - \"./**\"\n      - \"!docs/\"\n      - \".github/workflows/python-package.yml\"\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        # Use only lowest and highest supported python versions for now,\n        # to speed up CI runs\n        python-version: [3.8, \"3.11\"]\n        node-version: [16]\n      fail-fast: false\n\n    steps:\n\n    - name: Check out repository code\n      uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        # Dependencies are in setup.py, so use it as cache key\n        cache-dependency-path: 'setup.py'\n\n    - name: Set up NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}\n      uses: actions/setup-node@v2\n      with:\n        node-version: ${{ matrix.node-version }}\n        cache: 'npm'\n        cache-dependency-path: package.json\n\n    - name: Install Javascript dependencies using npm\n      run: make init\n\n    - name: Create Javascript artifacts (but skip manpages)\n      run: make js\n\n    - name: Generate Isso package\n      id: generate-package\n      run: |\n        python setup.py sdist\n        echo \"::set-output name=package_file::$(ls dist/)\"\n\n    - name: Install generated Isso package\n      run: pip install dist/${{ steps.generate-package.outputs.package_file }}\n\n    - name: Archive and upload generated package\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ matrix.os }}-python-${{ matrix.python-version }}-${{ steps.generate-package.outputs.package_file }}\n        path: dist/${{ steps.generate-package.outputs.package_file }}\n\n    - name: Clean up Isso package from site-packages\n      # This ensures it isn't accidentally restored by the \"setup-python\"\n      # action\n      run: pip uninstall --y isso\n", "state": "active", "repository": "posativ/isso"}
{"mined_at": "2024-07-15T12:42:00.975759", "created_at": "2022-03-21T22:46:14+01:00", "updated_at": "2023-01-03T21:59:45+01:00", "name": "Python tests", "path": ".github/workflows/python-tests.yml", "contents": "name: Python tests\n\non:\n  push:\n    paths:\n      - \"Makefile\"\n      - \"setup.py\"\n      - \"setup.cfg\"\n      - \"contrib/**.py\"\n      - \"isso/**.py\"\n      - \".github/workflows/python-tests.yml\"\n  pull_request:\n    paths:\n      - \"Makefile\"\n      - \"setup.py\"\n      - \"setup.cfg\"\n      - \"contrib/**.py\"\n      - \"isso/**.py\"\n      - \".github/workflows/python-tests.yml\"\n\njobs:\n  test:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\"]\n      fail-fast: false\n\n    steps:\n\n    - name: Check out repository code\n      uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        # Dependencies are in setup.py, so use it as cache key\n        cache-dependency-path: 'setup.py'\n\n    - name: Install isso dependencies\n      # Use pip instead of python setup.py develop to get caching from\n      # \"setup-python\" action\n      run: pip install -e .\n\n    - name: Install test suite dependencies\n      run: pip install pytest pytest-cov\n\n    - name: Run test suite\n      run: make test\n      env:\n        PYTHONHASHSEED: random\n\n  lint:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # Use only single build env for linting\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n      fail-fast: false\n\n    steps:\n\n    - name: Check out repository code\n      uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        # Dependencies are in setup.py, so use it as cache key\n        cache-dependency-path: 'setup.py'\n\n    - name: Install isso dependencies\n      # Use pip instead of python setup.py develop to get caching from\n      # \"setup-python\" action\n      run: pip install -e .\n\n    - name: Install test suite dependencies\n      run: pip install pytest pytest-cov\n\n    - name: Install style check dependencies\n      run: pip install flake8\n\n    - name: Run style check\n      run: make flakes\n\n    - name: Run coverage check, fail if <70%\n      run: |\n        make coverage\n        coverage report --fail-under 70\n", "state": "active", "repository": "posativ/isso"}
{"mined_at": "2024-07-15T12:42:02.245145", "created_at": "2021-06-23T22:18:07+02:00", "updated_at": "2024-03-05T18:35:21+01:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": null, "state": "active", "repository": "posativ/isso"}
{"mined_at": "2024-07-15T12:42:04.300174", "created_at": "2024-02-01T19:16:58+01:00", "updated_at": "2024-02-05T13:06:32+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "# Codespell configuration is within setup.cfg\n---\nname: Codespell\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\npermissions:\n  contents: read\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "indigo-dc/udocker"}
{"mined_at": "2024-07-15T12:42:05.342844", "created_at": "2022-02-04T14:14:27+01:00", "updated_at": "2022-02-04T14:14:27+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "indigo-dc/udocker"}
{"mined_at": "2024-07-15T12:42:07.440237", "created_at": "2022-07-18T08:16:35+02:00", "updated_at": "2022-07-18T08:16:35+02:00", "name": "issues", "path": ".github/workflows/issues.yml", "contents": "name: issues\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          stale-issue-label: stale\n          stale-issue-message: \"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\"\n          days-before-stale: 120\n          days-before-close: 14\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n", "state": "active", "repository": "aiortc/aioquic"}
{"mined_at": "2024-07-15T12:42:08.427218", "created_at": "2020-03-06T15:01:46+01:00", "updated_at": "2020-03-06T15:01:46+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non: [push, pull_request]\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Build documentation\n        env:\n          READTHEDOCS: \"True\"\n        run: |\n          pip install . -r requirements/doc.txt\n          make -C docs html SPHINXOPTS=-W\n\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install packages\n        run: pip install check-manifest mypy ruff types-certifi types-pyopenssl\n      - name: Run linters\n        run: |\n          ruff .\n          ruff format --check --diff .\n          mypy src tests\n          check-manifest\n\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: codespell-project/actions-codespell@v2\n        with:\n          check_filenames: true\n          check_hidden: false\n          ignore_words_list: assertIn,quicly\n          skip: \"*.bin\"\n\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python:\n          - \"3.12\"\n          - \"3.11\"\n          - \"3.10\"\n          - \"3.9\"\n          - \"3.8\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install OpenSSL and disable firewall\n        if: matrix.os == 'macos-latest'\n        run: |\n          brew install openssl\n          echo \"AIOQUIC_SKIP_TESTS=chacha20\" >> $GITHUB_ENV\n          echo \"CFLAGS=-I$(brew --prefix openssl)/include\" >> $GITHUB_ENV\n          echo \"LDFLAGS=-L$(brew --prefix openssl)/lib\" >> $GITHUB_ENV\n          sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off\n      - name: Install OpenSSL\n        if: matrix.os == 'windows-latest'\n        run: |\n          choco install openssl --no-progress\n          echo \"INCLUDE=C:\\Progra~1\\OpenSSL\\include\" >> $GITHUB_ENV\n          echo \"LIB=C:\\Progra~1\\OpenSSL\\lib\" >> $GITHUB_ENV\n        shell: bash\n      - name: Run tests\n        run: |\n          python -m pip install -U pip setuptools wheel\n          pip install .[dev]\n          coverage run -m unittest discover -v\n          coverage xml\n        shell: bash\n      - name: Upload coverage report\n        if: matrix.python != 'pypy3'\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  package-source:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Build source package\n        run: |\n          pip install -U build\n          python -m build --sdist\n      - name: Upload source package\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist-source\n          path: dist/\n\n  package-wheel:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: macos-latest\n            arch: arm64\n          - os: macos-latest\n            arch: x86_64\n          - os: ubuntu-latest\n            arch: aarch64\n          - os: ubuntu-latest\n            arch: i686\n          - os: ubuntu-latest\n            arch: x86_64\n          - os: windows-latest\n            arch: AMD64\n          - os: windows-latest\n            arch: x86\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install QEMU\n        if: matrix.os == 'ubuntu-latest'\n        uses: docker/setup-qemu-action@v3\n      - name: Build wheels\n        env:\n          CIBW_ARCHS: ${{ matrix.arch }}\n          CIBW_BEFORE_BUILD: python scripts/fetch-vendor.py /tmp/vendor\n          CIBW_BEFORE_BUILD_WINDOWS: python scripts\\fetch-vendor.py C:\\cibw\\vendor\n          CIBW_ENVIRONMENT: AIOQUIC_SKIP_TESTS=ipv6,loss CFLAGS=-I/tmp/vendor/include LDFLAGS=-L/tmp/vendor/lib\n          CIBW_ENVIRONMENT_WINDOWS: AIOQUIC_SKIP_TESTS=ipv6,loss INCLUDE=C:\\\\cibw\\\\vendor\\\\include LIB=C:\\\\cibw\\\\vendor\\\\lib\n          CIBW_SKIP: cp37-* pp37-* *-musllinux*\n          CIBW_TEST_COMMAND: python -m unittest discover -t {project} -s {project}/tests\n          # there are no wheels for cryptography on these platforms\n          CIBW_TEST_SKIP: \"*-{manylinux_i686,win32} pp*\"\n        run: |\n          pip install cibuildwheel\n          cibuildwheel --output-dir dist\n      - name: Upload wheels\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist-wheel-${{ matrix.os }}-${{ matrix.arch }}\n          path: dist/\n\n  publish:\n    runs-on: ubuntu-latest\n    needs: [lint, test, package-source, package-wheel]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n          path: dist/\n      - name: Publish to PyPI\n        if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "aiortc/aioquic"}
{"mined_at": "2024-07-15T12:42:10.400410", "created_at": "2023-06-15T16:31:12+02:00", "updated_at": "2023-06-15T17:03:24+02:00", "name": "API-Docs", "path": ".github/workflows/gh-pages.yml", "contents": "name: API-Docs\non:\n  push:\n    branches: [master] # branch to trigger deployment\n\njobs:\n  pages:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - id: install\n      run: pip install -e .\n    - id: deployment\n      uses: sphinx-notes/pages@v3\n      with:\n        publish: false\n    - uses: peaceiris/actions-gh-pages@v3\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: ${{ steps.deployment.outputs.artifact }}\n", "state": "active", "repository": "dfki-ric/phobos"}
{"mined_at": "2024-07-15T12:42:11.417406", "created_at": "2023-06-15T16:58:53+02:00", "updated_at": "2023-06-15T16:58:53+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "dfki-ric/phobos"}
{"mined_at": "2024-07-15T12:42:14.608196", "created_at": "2020-11-04T15:40:27+01:00", "updated_at": "2020-11-04T15:40:27+01:00", "name": "Check", "path": ".github/workflows/check.yml", "contents": "name: Check\n\non:\n  - push\n  - pull_request\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: ${{ !startsWith(github.ref, 'refs/tags') }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        tox-environment:\n          - docs\n          - linter\n          - pkglint\n          - spelling\n          - isolated\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n\n      - name: Install dependencies\n        run: python -m pip install tox\n\n      - name: Run\n        run: tox -e ${{ matrix.tox-environment }}\n", "state": "active", "repository": "sphinx-contrib/spelling"}
{"mined_at": "2024-07-15T12:42:15.734297", "created_at": "2021-12-28T22:51:15+01:00", "updated_at": "2021-12-28T23:16:30+01:00", "name": "History Update", "path": ".github/workflows/history-update.yaml", "contents": "name: History Update\n\non:\n  - push\n  - pull_request\n\njobs:\n  history-update:\n    runs-on: ubuntu-latest\n    if: ${{ !startsWith(github.ref, 'refs/tags') }}\n\n    strategy:\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n        # Get all of the git history. https://github.com/actions/checkout\n        with:\n          fetch-depth: 0\n\n      - name: Check for history.rst update\n        if: startsWith(github.ref, 'refs/tags') != true\n        run: ./tools/history-update.sh\n", "state": "active", "repository": "sphinx-contrib/spelling"}
{"mined_at": "2024-07-15T12:42:16.860482", "created_at": "2020-11-05T14:49:21+01:00", "updated_at": "2020-11-05T14:49:21+01:00", "name": "Integration Tests", "path": ".github/workflows/integration.yaml", "contents": "name: Integration Tests\n\non:\n  - push\n  - pull_request\n\njobs:\n  django:\n    runs-on: ubuntu-latest\n    if: ${{ !startsWith(github.ref, 'refs/tags') }}\n\n    strategy:\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n\n      - name: Install dependencies\n        run: python3 -m pip install tox\n\n      - name: Build docs\n        run: python3 ./integration_tests/build_django.py\n", "state": "active", "repository": "sphinx-contrib/spelling"}
{"mined_at": "2024-07-15T12:42:17.870150", "created_at": "2020-11-04T16:02:28+01:00", "updated_at": "2021-04-30T21:16:10+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yaml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  - push\n\njobs:\n  build-n-publish:\n    name: Build and publish Python distributions to PyPI\n    if: ${{ github.repository_owner == 'sphinx-contrib' }}\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine build setuptools_scm\n    - name: Build sdist and wheel\n      run: |\n        python -m build\n    # - name: Publish distribution to Test PyPI\n    #   uses: pypa/gh-action-pypi-publish@master\n    #   with:\n    #     password: ${{ secrets.test_pypi_password }}\n    #     repository_url: https://test.pypi.org/legacy/\n    - name: Publish distribution to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "sphinx-contrib/spelling"}
{"mined_at": "2024-07-15T12:42:18.922103", "created_at": "2020-11-04T15:40:27+01:00", "updated_at": "2020-11-04T15:40:27+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  - push\n  - pull_request\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: ${{ !startsWith(github.ref, 'refs/tags') }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - 3.7\n          - 3.8\n          - 3.9\n          - '3.10'\n          - '3.11'\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: python -m pip install tox\n\n      - name: Run tests\n        run: tox -e py\n", "state": "active", "repository": "sphinx-contrib/spelling"}
{"mined_at": "2024-07-15T12:42:21.049159", "created_at": "2022-01-20T19:28:00+01:00", "updated_at": "2022-01-20T19:47:47+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "# This workflow will install Python depe:ndencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: ci\n\non: [push, pull_request]\n\njobs:\n  no_object_checks:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        group: [1, 2, 3]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install pre-commit pytest pytest-cov sphinx\n        pip install -r requirements-dev.txt\n#    Uncomment below when ready to deal with a lot of PEP8 formatting changes\n#    - name: Verify files with pre-commit\n#      run: |\n#        # Setup pre-commit hooks\n#        pre-commit clean\n#        pre-commit install --hook-type pre-merge-commit\n#        pre-commit install --hook-type pre-push\n#        pre-commit install --hook-type post-rewrite\n#        pre-commit install-hooks\n#        pre-commit install\n#        # Run pre-commit hooks\n#        pre-commit run --files vip_hci/config/*.py\n#\t pre-commit run --files vip_hci/fits/*.py\n#\t pre-commit run --files vip_hci/fm/*.py\n#\t pre-commit run --files vip_hci/greedy/*.py\n#\t pre-commit run --files vip_hci/invprob/*.py\n#\t pre-commit run --files vip_hci/metrics/*.py\n#        pre-commit run --files vip_hci/preproc/*.py\n#        pre-commit run --files vip_hci/psfsub/*.py\n#        pre-commit run --files vip_hci/stats/*.py\n#        pre-commit run --files vip_hci/var/*.py\n    - name: Test with pytest\n      run: |\n        pytest tests/pre_3_10 --cov=vip_hci/ --cov-report=xml --splits 3 --group ${{ matrix.group }}\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n\n  objects_check:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install pre-commit pytest pytest-cov sphinx\n        pip install -r requirements-dev.txt\n#    - name: Verify files with pre-commit\n#      run: |\n#        # Setup pre-commit hooks\n#        pre-commit clean\n#        pre-commit install --hook-type pre-merge-commit\n#        pre-commit install --hook-type pre-push\n#        pre-commit install --hook-type post-rewrite\n#        pre-commit install-hooks\n#        pre-commit install\n#        # Run pre-commit hooks\n#        pre-commit run --files vip_hci/objects/*.py\n    - name: Test with pytest\n      run: |\n        pytest tests/post_3_10 --cov=vip_hci/objects/ --cov-report=xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n", "state": "active", "repository": "vortex-exoplanet/vip"}
{"mined_at": "2024-07-15T12:42:22.100732", "created_at": "2022-04-27T17:30:54+02:00", "updated_at": "2022-04-27T17:30:54+02:00", "name": ".github/workflows/draft-pdf.yml", "path": ".github/workflows/draft-pdf.yml", "contents": "on: [push]\n\njobs:\n  paper:\n    runs-on: ubuntu-latest\n    name: Paper Draft\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Build draft PDF\n        uses: openjournals/openjournals-draft-action@master\n        with:\n          journal: joss\n          # This should be the path to the paper within your repo.\n          paper-path: paper.md\n      - name: Upload\n        uses: actions/upload-artifact@v1\n        with:\n          name: paper\n          # This is the output path where Pandoc will write the compiled\n          # PDF. Note, this should be the same directory as the input\n          # paper.md\n          path: paper.pdf\n", "state": "active", "repository": "vortex-exoplanet/vip"}
{"mined_at": "2024-07-15T12:42:24.236467", "created_at": "2022-07-05T12:21:08+02:00", "updated_at": "2022-07-05T16:30:51+02:00", "name": "Schema Linting and Tests", "path": ".github/workflows/schema-tests.yml", "contents": "name: Schema Linting and Tests\n\non:\n  push:\n    branches: [ \"master\", \"staging\"]\n  pull_request:\n    branches: [ \"master\", \"staging\" ]\n\npermissions:\n  contents: read\n\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.x\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Run schema linter\n      run: python ./src/schema_linter.py\n    - name: Other Tests\n      run: python -m unittest discover --start-directory tests/python\n  tests:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: tests\n    steps:\n      - uses: actions/checkout@v3\n      - name: Use Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: '16.x'\n          cache: npm\n          cache-dependency-path: tests/package-lock.json\n      - run: npm ci\n      - run: npm run build --if-present\n      - run: npm test", "state": "active", "repository": "humancellatlas/metadata-schema"}
{"mined_at": "2024-07-15T12:42:26.419253", "created_at": "2023-07-21T18:43:44+02:00", "updated_at": "2023-07-21T18:43:44+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yaml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v8\n        with:\n          stale-issue-message: 'This issue is marked as incomplete because it has been open 30 days with no activity. Please remove incomplete label or comment or this will be closed in 5 days.'\n          stale-pr-message: 'This PR is marked as incomplete because it has been open 30 days with no activity. Please remove incomplete label or comment or this will be closed in 5 days.'\n          close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'\n          close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'\n          days-before-issue-stale: 30\n          days-before-pr-stale: 30\n          days-before-issue-close: 5\n          days-before-pr-close: 5\n          stale-issue-label: 'incomplete'\n          stale-pr-label: 'incomplete'\n          exempt-issue-labels: 'awaiting-approval,work-in-progress,wishlisted'\n          exempt-pr-labels: 'awaiting-approval,work-in-progress'\n          remove-stale-when-updated: true", "state": "active", "repository": "juju/python-libjuju"}
{"mined_at": "2024-07-15T12:42:27.401022", "created_at": "2024-07-03T10:19:35+02:00", "updated_at": "2024-07-11T16:29:21+02:00", "name": "Static Analysis", "path": ".github/workflows/static-analysis.yaml", "contents": null, "state": "active", "repository": "juju/python-libjuju"}
{"mined_at": "2024-07-15T12:42:28.437933", "created_at": "2022-11-21T15:32:13+01:00", "updated_at": "2023-01-11T12:45:03+01:00", "name": "Testing", "path": ".github/workflows/test.yaml", "contents": "name: Testing\n\non: [push, pull_request]\n\njobs:\n  lint:\n    name: Linter\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python:\n          - \"3.9\"\n          - \"3.10\"\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install dependencies\n        run: pip install tox\n      - name: Run linter\n        run: |\n          tox -e lint\n          ./scripts/copyright.sh\n\n  build-test:\n    name: Build test\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python:\n          - \"3.10\"\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Run build test target\n        run: |\n          make build-test\n\n  unit-tests:\n    needs: lint\n    name: Unit tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python:\n          - \"3.9\"\n          - \"3.10\"\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install dependencies\n        run: pip install tox\n      - name: Run unit tests\n        run: tox -e py3\n\n  integration:\n    name: Integration\n    needs: [lint, unit-tests]\n    timeout-minutes: 150\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python:\n          # We will reduce the workload to 3.10 to\n          # save some resources for now.\n          # - \"3.9\"\n          - \"3.10\"\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Setup operator environment\n        uses: charmed-kubernetes/actions-operator@main\n        with:\n          provider: lxd\n          juju-channel: 3.4/stable\n      # 2023-01-11 Commented until we discover a\n      # clear approach for this.\n      # - name: Set proxy in controller\n      #   run: |\n      #     set -euxo pipefail\n      #     # build a squid config file\n      #     CONTROLLER_IP=$(juju list-controllers --format yaml | yq '.controllers[.current-controller].recent-server' | awk -F '[:]' '{print $1}');\n      #     echo \"Controller IP is: $CONTROLLER_IP\"\n      #     PROXY=$CONTROLLER_IP:3128\n      #     echo \"Proxy address is: $PROXY\"\n      #     echo \"acl all src all\" > squid.conf\n      #     echo \"http_access allow all\" >> squid.conf\n      #     echo \"http_port $PROXY\" >> squid.conf\n      #     cat squid.conf\n      #     # copy to the controller and reconfigure it\n      #     juju status -m controller\n      #     juju switch controller\n      #     juju ssh 0 \"sudo apt-get install squid -y\"\n      #     juju scp squid.conf 0:/tmp/squid.conf\n      #     juju ssh 0 \"sudo mv /tmp/squid.conf /etc/squid/squid.conf\"\n      #     juju ssh 0 \"sudo squid -k reconfigure\"\n      #     # Test curl after waiting\n      #     sleep 10\n      #     echo \"Test proxy access\"\n      #     curl -s -o /dev/null -w \"%{http_code}\" --proxy http://$PROXY https://charmhub.io\n      #     # set model defaults\n      #     juju model-defaults apt-http-proxy=$PROXY apt-https-proxy=$PROXY  juju-http-proxy=$PROXY juju-https-proxy=$PROXY  snap-http-proxy=$PROXY snap-https-proxy=$PROXY\n      #     juju model-defaults\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install dependencies\n        run: pip install tox\n      - name: Run integration\n        # Force one single concurrent test\n        run: tox -e integration\n", "state": "active", "repository": "juju/python-libjuju"}
{"mined_at": "2024-07-15T12:42:29.538279", "created_at": "2024-01-24T18:35:03+01:00", "updated_at": "2024-01-24T18:35:03+01:00", "name": "Integration Testing against 2.9", "path": ".github/workflows/test29.yaml", "contents": null, "state": "active", "repository": "juju/python-libjuju"}
{"mined_at": "2024-07-15T12:42:30.552550", "created_at": "2024-01-24T18:35:03+01:00", "updated_at": "2024-01-24T18:35:03+01:00", "name": "Integration Testing against 3.x", "path": ".github/workflows/test3x.yaml", "contents": null, "state": "active", "repository": "juju/python-libjuju"}
{"mined_at": "2024-07-15T12:42:31.587548", "created_at": "2023-01-10T11:31:53+01:00", "updated_at": "2023-01-11T12:58:19+01:00", "name": "Nightly release candidate testing", "path": ".github/workflows/test_candidate.yaml", "contents": "name: Nightly release candidate testing\n\non:\n  schedule:\n    - cron: \"0 0 * * *\" # Run at 12AM UTC, every day\n\njobs:\n  candidate-integration:\n    name: Edge integration\n    timeout-minutes: 150\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n    steps:\n      - name: Download artifact from previous workflow\n        id: download_artifact\n        uses: dawidd6/action-download-artifact@v2\n        with:\n          workflow_conclusion: success\n          name: juju-last-candidate-version\n          if_no_artifact_found: ignore\n      - name: Check if there is a new candidate\n        shell: bash\n        run: |\n          candidate=$(snap info juju | grep 3.1/candidate | awk '{print $2}')\n          last_tested=NA\n          if [ -f juju-last-candidate-version ]; then\n            last_tested=$(cat juju-last-candidate-version)\n          fi\n          echo \"Last tested was $last_tested\"\n          echo \"Latest juju version found is $candidate\"\n          next_test=NA\n          if [[ \"$candidate\" == \"^\" ]]; then\n            echo \"No candidate to test\"\n          else\n            if [[ \"$candidate\" == \"$last_tested\" ]]; then\n              echo \"Candidate $candidate was already tested\"\n            else\n              echo \"Candidate $candidate has to be tested\"\n              next_test=\"$candidate\"\n            fi \n          fi\n          echo \"next-test=$next_test\" >> $GITHUB_ENV\n          echo \"$next_test\" > ~/juju-last-candidate-version\n      - name: Check out code\n        uses: actions/checkout@v3\n        if: ${{ env.next-test != 'NA' }}\n      - name: Setup operator environment\n        if: ${{ env.next-test != 'NA' }}\n        uses: charmed-kubernetes/actions-operator@main\n        with:\n          provider: lxd\n          juju-channel: 3.4/candidate\n      - name: Setup Python\n        if: ${{ env.next-test != 'NA' }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install dependencies\n        if: ${{ env.next-test != 'NA' }}\n        run: pip install tox\n      - name: Run integration\n        if: ${{ env.next-test != 'NA' }}\n        # Force one single concurrent test\n        run: tox -e integration -- -n 1\n      - name: Upload artifact\n        if: ${{ env.next-test != 'NA' }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: juju-last-candidate-version\n          path: ~/juju-last-candidate-version\n", "state": "active", "repository": "juju/python-libjuju"}
{"mined_at": "2024-07-15T12:42:32.717882", "created_at": "2023-01-11T14:15:56+01:00", "updated_at": "2023-01-11T14:37:13+01:00", "name": "Nightly release edge testing", "path": ".github/workflows/test_edge.yaml", "contents": "name: Nightly release edge testing\n\non:\n  schedule:\n    - cron: \"0 0 * * *\" # Run at 12AM UTC, every day\n\njobs:\n  candidate-integration:\n    name: Edge integration\n    timeout-minutes: 150\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n    steps:\n      - name: Download artifact from previous workflow\n        id: download_artifact\n        uses: dawidd6/action-download-artifact@v2\n        with:\n          workflow_conclusion: success\n          name: juju-last-edge-version\n          if_no_artifact_found: ignore\n      - name: Check if there is a new candidate\n        shell: bash\n        run: |\n          edge=$(snap info juju | grep 3.1/edge | awk '{print $2}')\n          last_tested=NA\n          if [ -f juju-last-edge-version ]; then\n            last_tested=$(cat juju-last-edge-version)\n          fi\n          echo \"Last tested was $last_tested\"\n          echo \"Latest juju version found is $edge\"\n          next_test=NA\n          if [[ \"$edge\" == \"^\" ]]; then\n            echo \"No edge to test\"\n          else\n            if [[ \"$edge\" == \"$last_tested\" ]]; then\n              echo \"Edge $edge was already tested\"\n            else\n              echo \"Edge $edge has to be tested\"\n              next_test=\"$edge\"\n            fi \n          fi\n          echo \"next-test=$next_test\" >> $GITHUB_ENV\n          echo \"$next_test\" > ~/juju-last-edge-version\n      - name: Check out code\n        uses: actions/checkout@v3\n        if: ${{ env.next-test != 'NA' }}\n      - name: Setup operator environment\n        if: ${{ env.next-test != 'NA' }}\n        uses: charmed-kubernetes/actions-operator@main\n        with:\n          provider: lxd\n          juju-channel: 3.4/edge\n      - name: Setup Python\n        if: ${{ env.next-test != 'NA' }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install dependencies\n        if: ${{ env.next-test != 'NA' }}\n        run: pip install tox\n      - name: Run integration\n        if: ${{ env.next-test != 'NA' }}\n        # Force one single concurrent test\n        run: tox -e integration -- -n 1\n      - name: Upload artifact\n        if: ${{ env.next-test != 'NA' }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: juju-last-edge-version\n          path: ~/juju-last-edge-version\n", "state": "active", "repository": "juju/python-libjuju"}
{"mined_at": "2024-07-15T12:42:34.937320", "created_at": "2021-08-03T15:30:37+02:00", "updated_at": "2021-08-03T15:30:37+02:00", "name": "Main", "path": ".github/workflows/main.yml", "contents": "name: Main\non:\n  push:\n  pull_request:\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.7\n    - name: Install dependencies\n      run: |\n        python -m pip install . elsa\n    - name: Freeze HTML\n      run: |\n        python elsasite.py freeze -v\n    - if: ${{ github.ref == 'refs/heads/master' }}\n      name: Deploy\n      run: |\n         python elsasite.py deploy --no-freeze --push\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "fedora-python/portingdb"}
{"mined_at": "2024-07-15T12:42:36.111847", "created_at": "2022-02-01T10:48:45+01:00", "updated_at": "2022-02-01T10:48:45+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "fedora-python/portingdb"}
{"mined_at": "2024-07-15T12:42:38.149438", "created_at": "2021-01-27T21:46:45+01:00", "updated_at": "2021-01-27T21:46:45+01:00", "name": ".github/workflows/check.yml", "path": ".github/workflows/check.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions.\n# Based upon:\n#   https://github.com/actions/starter-workflows/blob/main/ci/python-package.yml\n# As directed from:\n#   https://docs.github.com/en/actions/guides/building-and-testing-python#starting-with-the-python-workflow-template\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  check:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: 'recursive'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Setup poetry\n      uses: abatilo/actions-poetry@v2.0.0\n      with:\n        poetry-version: 1.3.2\n    - name: Install dependencies\n      run: poetry install -E crypto\n    - name: Generate rest sync code and tests\n      run: poetry run unasync\n    - name: Test with pytest\n      run: poetry run pytest\n", "state": "active", "repository": "ably/ably-python"}
{"mined_at": "2024-07-15T12:42:39.189218", "created_at": "2023-02-28T00:37:57+01:00", "updated_at": "2023-02-28T00:37:57+01:00", "name": "Features", "path": ".github/workflows/features.yml", "contents": "name: Features\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    uses: ably/features/.github/workflows/sdk-features.yml@main\n    with:\n      repository-name: ably-python\n    secrets: inherit\n", "state": "active", "repository": "ably/ably-python"}
{"mined_at": "2024-07-15T12:42:40.370344", "created_at": "2024-01-18T07:38:10+01:00", "updated_at": "2024-01-18T09:53:26+01:00", "name": "Linting check", "path": ".github/workflows/lint.yml", "contents": "name: Linting check\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: 'recursive'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n    - name: Setup poetry\n      uses: abatilo/actions-poetry@v2.0.0\n      with:\n        poetry-version: 1.3.2\n    - name: Install dependencies\n      run: poetry install -E crypto\n    - name: Lint with flake8\n      run: poetry run flake8\n", "state": "active", "repository": "ably/ably-python"}
{"mined_at": "2024-07-15T12:42:42.377791", "created_at": "2023-12-01T06:10:13+01:00", "updated_at": "2023-12-01T06:10:13+01:00", "name": "Build and publish a docker image to github packages", "path": ".github/workflows/docker-publish.yml", "contents": null, "state": "active", "repository": "wavespectra/wavespectra"}
{"mined_at": "2024-07-15T12:42:43.408202", "created_at": "2023-01-09T00:13:23+01:00", "updated_at": "2023-12-01T06:30:57+01:00", "name": "Python Packaging and docker build", "path": ".github/workflows/python-publish.yml", "contents": "name: Python Packaging and docker build\n\non:\n  release:\n    types: [published]\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\npermissions:\n  contents: read\n  packages: write\n\njobs:\n  pypi-release:\n    runs-on: ubuntu-latest\n    steps:\n    -\n      name: Checkout repo\n      uses: actions/checkout@v4\n    -\n      name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    -\n      name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install . 'wavespectra[extra,test]'\n    -\n      name: Test wavespectra\n      run: pytest -s -v tests\n    -\n      name: Build package\n      run: |\n        pip install build\n        python -m build -s\n    -\n      name: Publish package\n      uses: pypa/gh-action-pypi-publish@v1.8.14\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        verbose: true\n\n  docker-publish:\n    runs-on: ubuntu-latest\n    needs: pypi-release\n    steps:\n      -\n        name: Checkout repository\n        uses: actions/checkout@v4\n      -\n        name: Login to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n      -\n        name: Build and push Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}", "state": "active", "repository": "wavespectra/wavespectra"}
{"mined_at": "2024-07-15T12:42:44.492624", "created_at": "2023-10-26T04:31:44+02:00", "updated_at": "2023-10-26T04:31:44+02:00", "name": "Test python environments", "path": ".github/workflows/tox.yml", "contents": null, "state": "active", "repository": "wavespectra/wavespectra"}
{"mined_at": "2024-07-15T12:42:46.652107", "created_at": "2022-01-06T21:19:50+01:00", "updated_at": "2022-01-06T21:19:50+01:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\non:\n  workflow_run:\n    workflows: [\"main\"]\n    branches: [main]\n    types:\n      - completed\n\njobs:\n  deploy:\n    name: Generate stable boilerplate build\n    strategy:\n      matrix:\n        python-version: [3.12]\n        node-version: [20.13]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: main\n      - run: mkdir -p github/workflows\n      - run: mv proj_main.yml github/workflows/main.yml\n      - run: git checkout -b boilerplate-release\n      - run: git add github/workflows/main.yml\n      - run: git rm proj_main.yml\n      - run: git commit -m \"Replacing project actions\" --author \"Vinta Software <contact@vinta.com.br>\"\n        env:\n          GIT_COMMITTER_NAME: \"Vinta Software\"\n          GIT_COMMITTER_EMAIL: \"contact@vinta.com.br\"\n      - run: git push origin boilerplate-release --force\n", "state": "active", "repository": "vintasoftware/django-react-boilerplate"}
{"mined_at": "2024-07-15T12:42:47.643676", "created_at": "2022-01-06T09:11:17+01:00", "updated_at": "2022-01-06T21:19:50+01:00", "name": "main", "path": ".github/workflows/main.yml", "contents": "name: main\non:\n  push:\n    branches-ignore:\n      - boilerplate-release\n  pull_request:\n\njobs:\n  build:\n    name: Build boilerplate code\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - uses: ./.github/workflows/shared-build\n", "state": "active", "repository": "vintasoftware/django-react-boilerplate"}
{"mined_at": "2024-07-15T12:42:48.707688", "created_at": "2022-01-06T21:19:50+01:00", "updated_at": "2022-01-06T21:19:50+01:00", "name": "nightly", "path": ".github/workflows/nightly.yml", "contents": "name: nightly\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  build:\n    name: Build boilerplate code nightly\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: main\n      - uses: ./.github/workflows/shared-build\n", "state": "active", "repository": "vintasoftware/django-react-boilerplate"}
{"mined_at": "2024-07-15T12:42:50.859826", "created_at": "2024-02-22T12:36:33+01:00", "updated_at": "2024-03-12T12:04:49+01:00", "name": "Test Pyodide build", "path": ".github/workflows/emscripten.yml", "contents": "name: Test Pyodide build\n\non:\n  push:\n    branches:\n      # Runs on every merge to main to upload .dev0 wheels to anaconda.org\n      - main\n      - v1.**\n  pull_request:\n    branches:\n      - main\n      - v1.**\n  # Make it possible to upload wheels manually if needed\n  workflow_dispatch:\n    inputs:\n      push_wheels:\n        description: >\n          'Push wheels to Anaconda if \"true\". Default is \"false\". Warning: this will overwrite existing wheels.'\n        required: false\n        default: \"false\"\n  # Upload wheels to anaconda.org on a schedule\n  schedule:\n    # Run at 0300 hours on days 3 and 17 of the month\n    - cron: \"0 3 3,17 * *\"\n\nenv:\n  FORCE_COLOR: 3\n\njobs:\n  build_wasm_emscripten:\n    name: Build PyWavelets for Pyodide\n    runs-on: ubuntu-latest\n    # Comment out the following line to test changes on a fork\n    if: github.repository == 'PyWavelets/pywt'\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python 3.11\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11.2\"\n\n      - name: Install prerequisites\n        run: |\n          python -m pip install pyodide-build\n          echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV\n\n      - name: Set up Emscripten toolchain\n        uses: mymindstorm/setup-emsdk@v14\n        with:\n          version: ${{ env.EMSCRIPTEN_VERSION }}\n          actions-cache-folder: emsdk-cache\n\n      - name: Set up Node.js\n        uses: actions/setup-node@v4.0.2\n        with:\n          node-version: \"18\"\n\n      - name: Build PyWavelets\n        run: |\n          pyodide build\n\n      - name: Install and test wheel\n        run: |\n          pyodide venv .venv-pyodide\n          source .venv-pyodide/bin/activate\n          pip install dist/*.whl\n          pushd demo\n          pip install matplotlib pytest\n          python -c \"import pywt; print(pywt.__version__)\"\n          pytest -p no:cacheprovider --pyargs pywt -m \"not slow\"\n\n        # https://anaconda.org/scientific-python-nightly-wheels/pywavelets\n        # WARNING: this job will overwrite existing wheels.\n      - name: Push to Anaconda PyPI index\n        if: >-\n          (github.repository == 'PyWavelets/pywt') &&\n          (github.event_name == 'push' && github.ref == 'refs/heads/main') ||\n          (github.event_name == 'workflow_dispatch' && github.event.inputs.push_wheels == 'true') ||\n          (github.event_name == 'schedule')\n        uses: scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # v0.5.0\n        with:\n          artifacts_path: dist/\n          anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}\n", "state": "active", "repository": "pywavelets/pywt"}
{"mined_at": "2024-07-15T12:42:51.885686", "created_at": "2024-06-28T01:03:09+02:00", "updated_at": "2024-06-28T01:03:09+02:00", "name": "Build free-threaded wheels", "path": ".github/workflows/freethreaded_wheels.yml", "contents": null, "state": "active", "repository": "pywavelets/pywt"}
{"mined_at": "2024-07-15T12:42:52.972131", "created_at": "2023-09-14T22:16:58+02:00", "updated_at": "2024-03-12T12:04:49+01:00", "name": "Style checks", "path": ".github/workflows/lint.yml", "contents": "name: Style checks\n\non:\n  push:\n    branches:\n      - v1.**\n  pull_request:\n    branches:\n      - main\n      - v1.**\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  format:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install packages\n        run: |\n          pip install --upgrade pip\n          pip install pre-commit\n          pip list\n\n      - name: Lint\n        run: pre-commit run --all-files --show-diff-on-failure --color always\n", "state": "active", "repository": "pywavelets/pywt"}
{"mined_at": "2024-07-15T12:42:54.135277", "created_at": "2021-06-04T21:49:11+02:00", "updated_at": "2024-04-17T15:54:54+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - v1.**\n  pull_request:\n    branches:\n      - main\n      - v1.**\n\nconcurrency:\n  # avoid duplicate runs on both pushes and PRs\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  # Coloured output for GitHub Actions\n  FORCE_COLOR: 3\n  # Some common environment variables for both GNU/Linux and macOS jobs\n  MPLBACKEND: Agg\n  CYTHON_TRACE: 1\n  CYTHONSPEC: cython\n  NUMPY_MIN: numpy==1.23.0\n  CYTHON_MIN: cython==3.0.4\n  SCIPY_MIN: scipy==1.9.0\n\njobs:\n  test_pywavelets_linux:\n    name: linux-cp${{ matrix.python-version }}-${{ matrix.OPTIONS_NAME }}\n    runs-on: ubuntu-latest\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        MINIMUM_REQUIREMENTS: [0]\n        USE_SCIPY: [0]\n        USE_SDIST: [0]\n        REFGUIDE_CHECK: [0]\n        PIP_FLAGS: [\"\"]\n        OPTIONS_NAME: [\"default\"]\n        include:\n          - platform_id: manylinux_x86_64\n            python-version: \"3.10\"\n            MINIMUM_REQUIREMENTS: 1\n            OPTIONS_NAME: \"minimum-req\"\n          - platform_id: manylinux_x86_64\n            python-version: \"3.10\"\n            USE_SCIPY: 1\n            OPTIONS_NAME: \"with-scipy\"\n          - platform_id: manylinux_x86_64\n            python-version: \"3.10\"\n            USE_SDIST: 1\n            OPTIONS_NAME: \"install-from-sdist\"\n          - platform_id: manylinux_x86_64\n            python-version: \"3.12\"\n            PIP_FLAGS: \"--pre\"\n            OPTIONS_NAME: \"pre-releases\"\n          - platform_id: manylinux_x86_64\n            python-version: \"3.12\"\n            OPTIONS_NAME: \"editable-install\"\n    steps:\n      - name: Checkout PyWavelets\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version}}\n          allow-prereleases: true\n\n      - name: Build package\n        env:\n          VERSION: ${{ matrix.python-version }}\n          MINIMUM_REQUIREMENTS: ${{ matrix.MINIMUM_REQUIREMENTS }}\n          PIP_FLAGS: ${{ matrix.PIP_FLAGS }}\n          USE_SDIST: ${{ matrix.USE_SDIST }}\n          USE_SCIPY: ${{ matrix.USE_SCIPY }}\n          REFGUIDE_CHECK: ${{ matrix.REFGUIDE_CHECK }}\n          OPTIONS_NAME: ${{ matrix.OPTIONS_NAME }}\n        run: |\n          uname -a\n          df -h\n          ulimit -a\n          # ccache -s\n          which python\n          python --version\n          # sudo apt-get install libatlas-base-dev\n          pip install --upgrade pip build\n          # Set numpy version first, other packages link against it\n          if [ \"${MINIMUM_REQUIREMENTS}\" == \"1\" ]; then\n              pip install ${CYTHON_MIN}\n              pip install ${NUMPY_MIN}\n              if [ \"${USE_SCIPY}\" == \"1\" ]; then pip install ${SCIPY_MIN}; fi\n          else\n              pip install ${PIP_FLAGS} cython\n              pip install ${PIP_FLAGS} numpy\n              if [ \"${USE_SCIPY}\" == \"1\" ]; then pip install ${PIP_FLAGS} scipy; fi\n          fi\n          pip install ${PIP_FLAGS} matplotlib pytest\n\n            set -o pipefail\n            if [ \"${USE_SDIST}\" == \"1\" ]; then\n                python -m build --sdist\n                pip install dist/pyw*.tar.gz -v\n            elif [ \"${REFGUIDE_CHECK}\" == \"1\" ]; then\n                pip install sphinx numpydoc\n                pip install . -v\n            else\n                pip install . -v\n            fi\n\n          if [ \"${OPTIONS_NAME}\" == \"editable-install\" ]; then\n              pip install meson-python>=0.16.0 matplotlib pytest ninja\n              pip install -e . --no-build-isolation\n          fi\n\n      - name: Run tests\n        env:\n          USE_SDIST: ${{ matrix.USE_SDIST }}\n          REFGUIDE_CHECK: ${{ matrix.REFGUIDE_CHECK }}\n          OPTIONS_NAME: ${{ matrix.OPTIONS_NAME }}\n        run: |\n          set -o pipefail\n          # Move out of source directory to avoid finding local pywt\n          pushd demo\n          if [ \"${USE_SDIST}\" == \"1\" ]; then\n              pytest --pyargs pywt\n              python ../pywt/tests/test_doc.py\n          elif [ \"${REFGUIDE_CHECK}\" == \"1\" ]; then\n              # Run doctests and check if the refguide contains entries from __all__\n              python util/refguide_check.py --doctests\n              # Run Sphinx HTML docs builder, converting warnings to errors\n              pip install -r util/readthedocs/requirements.txt\n              sphinx-build -b html -W --keep-going -d _build/doctrees . doc/source doc/build\n          else\n              pytest --pyargs pywt\n          fi\n          popd\n\n  test_pywavelets_macos:\n    name: macos-cp${{ matrix.python-version }}-${{ matrix.OPTIONS_NAME }}\n    runs-on: macos-latest\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.12\"]\n        MINIMUM_REQUIREMENTS: [0]\n        USE_SCIPY: [0]\n        USE_SDIST: [0]\n        REFGUIDE_CHECK: [0]\n        PIP_FLAGS: [\"\"]\n        OPTIONS_NAME: [\"default\"]\n        include:\n          - python-version: \"3.10\"\n            MINIMUM_REQUIREMENTS: 1\n            OPTIONS_NAME: \"osx-minimum-req\"\n          - python-version: \"3.12\"\n            PIP_FLAGS: \"--pre\"\n            OPTIONS_NAME: \"pre-releases\"\n\n    steps:\n      - name: Checkout PyWavelets\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version}}\n          allow-prereleases: true\n\n      - name: Build package\n        env:\n          VERSION: ${{ matrix.python-version }}\n          MINIMUM_REQUIREMENTS: ${{ matrix.MINIMUM_REQUIREMENTS }}\n          PIP_FLAGS: ${{ matrix.PIP_FLAGS }}\n          USE_SDIST: ${{ matrix.USE_SDIST }}\n          USE_SCIPY: ${{ matrix.USE_SCIPY }}\n          REFGUIDE_CHECK: ${{ matrix.REFGUIDE_CHECK }}\n          CC: /usr/bin/clang\n          CXX: /usr/bin/clang++\n        run: |\n          uname -a\n          df -h\n          ulimit -a\n          which python\n          python --version\n          pip install --upgrade pip build\n          # Set numpy version first, other packages link against it\n          if [ \"${MINIMUM_REQUIREMENTS}\" == \"1\" ]; then\n              pip install ${CYTHON_MIN} ${NUMPY_MIN}\n              if [ \"${USE_SCIPY}\" == \"1\" ]; then pip install ${SCIPY_MIN}; fi\n          else\n              pip install ${PIP_FLAGS} cython numpy\n              if [ \"${USE_SCIPY}\" == \"1\" ]; then pip install ${PIP_FLAGS} scipy; fi\n          fi\n          pip install ${PIP_FLAGS} matplotlib pytest\n\n            set -o pipefail\n            if [ \"${USE_SDIST}\" == \"1\" ]; then\n                python -m build --sdist\n                pip install pywavelets* -v\n            elif [ \"${REFGUIDE_CHECK}\" == \"1\" ]; then\n                pip install sphinx numpydoc\n                pip install . -v\n            else\n                pip install . -v\n            fi\n\n      - name: Run tests\n        env:\n          PIP_FLAGS: ${{ matrix.PIP_FLAGS }}\n          USE_SDIST: ${{ matrix.USE_SDIST }}\n          REFGUIDE_CHECK: ${{ matrix.REFGUIDE_CHECK }}\n        run: |\n          # Move out of source directory to avoid finding local pywt\n          pushd demo\n          if [ \"${USE_SDIST}\" == \"1\" ]; then\n              pytest --pyargs pywt\n              python ../pywt/tests/test_doc.py\n          elif [ \"${REFGUIDE_CHECK}\" == \"1\" ]; then\n              python util/refguide_check.py --doctests\n          else\n              pytest --pyargs pywt\n          fi\n          popd\n", "state": "active", "repository": "pywavelets/pywt"}
{"mined_at": "2024-07-15T12:42:55.260944", "created_at": "2021-10-24T22:38:05+02:00", "updated_at": "2021-10-24T22:38:05+02:00", "name": "Build Wheels and Release", "path": ".github/workflows/wheel_tests_and_release.yml", "contents": "name: Build Wheels and Release\non:\n  push:\n    tags:\n      - \"v*\"\n      - \"buildwheels*\"\n    branches:\n      # Runs on every merge to main to upload .dev0 wheels to anaconda.org\n      - main\n      - v1.**\n  # Make it possible to upload wheels manually if needed (for anaconda.org only, not PyPI)\n  workflow_dispatch:\n    inputs:\n      push_wheels:\n        description: >\n          Push wheels to Anaconda if \"true\". Default is \"false\". Warning: this will overwrite existing wheels.\n        required: false\n        default: \"false\"\n  # Upload wheels to anaconda.org on a schedule\n  schedule:\n    # Run at 0300 hours on days 3 and 17 of the month\n    - cron: \"0 3 3,17 * *\"\nenv:\n  CIBW_BUILD_VERBOSITY: 2\n  CIBW_TEST_REQUIRES: pytest\n  CIBW_TEST_COMMAND: pytest --pyargs pywt -m \"not slow\"\n  CIBW_ENVIRONMENT: PIP_PREFER_BINARY=1\n\njobs:\n  build_linux_x86_64_wheels:\n    name: Build ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        cibw_python: [\"cp310\", \"cp311\", \"cp312\"]\n        cibw_arch: [\"x86_64\"]\n    steps:\n      - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.10\"\n      - name: Build the wheel\n        uses: pypa/cibuildwheel@ba8be0d98853f5744f24e7f902c8adef7ae2e7f3 # 2.18.1\n        with:\n          output-dir: dist\n        env:\n          CIBW_BUILD: ${{ matrix.cibw_python }}-*\n          CIBW_ARCHS_LINUX: ${{ matrix.cibw_arch }}\n          CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014\n          CIBW_MUSLLINUX_X86_64_IMAGE: musllinux_1_1\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: wheels_linux_${{ matrix.cibw_arch }}_${{ matrix.cibw_python }}\n          path: ./dist/*.whl\n          if-no-files-found: error\n\n  build_linux_aarch64_wheels:\n    name: Build ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        cibw_python: [\"cp310\", \"cp311\", \"cp312\"]\n        cibw_arch: [\"aarch64\"]\n    steps:\n      - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.10\"\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: arm64\n      - name: Build the wheel\n        uses: pypa/cibuildwheel@ba8be0d98853f5744f24e7f902c8adef7ae2e7f3 # 2.18.1\n        with:\n          output-dir: dist\n        env:\n          CIBW_BUILD: ${{ matrix.cibw_python }}-*\n          CIBW_ARCHS_LINUX: ${{ matrix.cibw_arch }}\n          CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014\n          CIBW_MUSLLINUX_AARCH64_IMAGE: musllinux_1_1\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: wheels_linux_${{ matrix.cibw_arch }}_${{ matrix.cibw_python }}\n          path: ./dist/*.whl\n\n  build_macos_wheels:\n    name: Build ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        # macos-13 is the last runner that supports Intel (x86_64) architecture\n        os: [macos-13, macos-14]\n        cibw_python: [\"cp310\", \"cp311\", \"cp312\"]\n        cibw_arch: [\"x86_64\", \"arm64\"]\n        exclude:\n          - os: macos-14\n            cibw_arch: \"x86_64\"\n          - os: macos-13\n            cibw_arch: \"arm64\"\n    steps:\n      - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.12\"\n\n      - name: Build wheels for CPython (macOS) (x86_64)\n        if: matrix.cibw_arch == 'x86_64'\n        uses: pypa/cibuildwheel@ba8be0d98853f5744f24e7f902c8adef7ae2e7f3 # 2.18.1\n        with:\n          output-dir: dist\n        env:\n          CIBW_BUILD: ${{ matrix.cibw_python }}-*\n          CIBW_ARCHS_MACOS: ${{ matrix.cibw_arch }}\n\n      - name: Build wheels for CPython (macOS) (arm64)\n        if: matrix.cibw_arch == 'arm64'\n        uses: pypa/cibuildwheel@ba8be0d98853f5744f24e7f902c8adef7ae2e7f3 # 2.18.1\n        with:\n          output-dir: dist\n        env:\n          CIBW_BUILD: ${{ matrix.cibw_python }}-*\n          CIBW_ARCHS_MACOS: ${{ matrix.cibw_arch }}\n\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: wheels_macos_${{ matrix.cibw_arch }}_${{ matrix.cibw_python }}\n          path: ./dist/*.whl\n          if-no-files-found: error\n\n  build_windows_wheels:\n    name: Build ${{ matrix.cibw_python }} ${{ matrix.cibw_arch }} ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest]\n        cibw_arch: [\"AMD64\", \"x86\"]\n        cibw_python: [\"cp310\", \"cp311\", \"cp312\"]\n    steps:\n      - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup MSVC (32-bit)\n        if: matrix.cibw_arch == 'x86'\n        uses: bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d # v1\n        with:\n          architecture: x86\n\n      - name: Setup MSVC (64-bit)\n        if: matrix.cibw_arch == 'AMD64'\n        uses: bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d # v1\n        with:\n          architecture: x64\n\n      - name: Build Windows wheels for CPython\n        uses: pypa/cibuildwheel@ba8be0d98853f5744f24e7f902c8adef7ae2e7f3 # 2.18.1\n        with:\n          output-dir: dist\n        env:\n          CIBW_BUILD: ${{ matrix.cibw_python }}-*\n          CIBW_ARCHS_WINDOWS: ${{ matrix.cibw_arch }}\n\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: wheels_windows_${{ matrix.cibw_arch }}_${{ matrix.cibw_python }}\n          path: ./dist/*.whl\n          if-no-files-found: error\n\n  deploy_pypi:\n    name: Release (PyPI)\n    needs:\n      [\n        build_linux_x86_64_wheels,\n        build_linux_aarch64_wheels,\n        build_macos_wheels,\n        build_windows_wheels,\n      ]\n    # Run only on tags pushed to the repository\n    if: github.repository == 'PyWavelets/pywt' && startsWith(github.ref, 'refs/tags/v')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.10\"\n\n      - name: Install Twine\n        run: |\n          python -m pip install --upgrade pip\n          pip install twine\n          pip install cython numpy build\n\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        id: download\n        with:\n          pattern: \"wheels_*\"\n          path: ./dist\n          merge-multiple: true\n\n      - name: Publish the source distribution on PyPI\n        run: |\n          PYWT_VERSION=$(git describe --tags)\n          python -m build --sdist\n          ls -la ${{ github.workspace }}/dist\n          # We prefer to release wheels before source because otherwise there is a\n          # small window during which users who pip install pywt will require compilation.\n          twine upload ${{ github.workspace }}/dist/*.whl\n          twine upload ${{ github.workspace }}/dist/pywavelets-${PYWT_VERSION:1}.tar.gz\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}\n\n      - name: Github release\n        uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87 # v2.0.5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITHUB_REPOSITORY: ${{ github.repository }}\n\n  deploy_anaconda:\n    name: Release (Anaconda)\n    needs:\n      [\n        build_linux_x86_64_wheels,\n        build_linux_aarch64_wheels,\n        build_macos_wheels,\n        build_windows_wheels,\n      ]\n    # Run only on pushes to the main branch, on schedule, or when triggered manually\n    if: >-\n      github.repository == 'PyWavelets/pywt' &&\n      (github.event_name == 'push' && github.ref == 'refs/heads/main') ||\n      (github.event_name == 'workflow_dispatch' && github.event.inputs.push_wheels == 'true') ||\n      (github.event_name == 'schedule')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2\n        with:\n          fetch-depth: 0\n\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        id: download\n        with:\n          pattern: \"wheels_*\"\n          path: dist/\n          merge-multiple: true\n\n      - name: Push to Anaconda PyPI index\n        uses: scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # v0.5.0\n        with:\n          artifacts_path: dist/\n          anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}\n", "state": "active", "repository": "pywavelets/pywt"}
{"mined_at": "2024-07-15T12:42:57.223115", "created_at": "2021-01-22T00:52:50+01:00", "updated_at": "2021-01-22T00:52:50+01:00", "name": "Python Package", "path": ".github/workflows/python-package.yml", "contents": "name: Python Package\non:\n  push:\n  pull_request:\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n        python:\n          - \"3.6\"\n          - \"3.7\"\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install build dependencies\n        run: |\n          sudo apt-get install -qy \\\n            gettext \\\n            libkeyutils-dev \\\n            libgirepository1.0-dev\n\n      - run: pip install -U pip\n      - run: pip install setuptools wheel\n\n      - run: python setup.py sdist bdist_wheel\n      - run: pip install dist/*.whl keyutils\n      - run: pip install twine flake8\n\n      - run: twine check dist/*\n      - run: flake8\n      - run: python test/test_cache.py\n      - run: python test/test_match.py\n\n      - uses: actions/upload-artifact@v3\n        with: {name: dist, path: dist/}\n        if: matrix.os == 'ubuntu-20.04' &&\n            matrix.python == '3.9'\n\n  deploy:\n    name: Upload release\n    runs-on: ubuntu-latest\n    needs: build\n    if: startsWith(github.ref, 'refs/tags/v') && success()\n    environment:\n      name: pypi\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/download-artifact@v3\n        with: {name: dist, path: dist/}\n      - uses: pypa/gh-action-pypi-publish@release/v1\n      # with:\n      #   repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "coldfix/udiskie"}
{"mined_at": "2024-07-15T12:42:58.184227", "created_at": "2021-11-30T18:49:49+01:00", "updated_at": "2021-11-30T18:49:49+01:00", "name": "Translations", "path": ".github/workflows/translations.yml", "contents": "name: Translations\non:\n  push:\n    branches:\n      - master\n\njobs:\n  update_po:\n    name: Update language files\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -eo pipefail {0}\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n\n      - run: sudo apt-get install -qy gettext\n\n      - run: ./lang/report.sh | tee before.tsv | column -t\n      - run: make -BC lang\n      - run: ./lang/report.sh | tee after.tsv | column -t\n      - run: .github/pr_text.py | tee summary.md\n\n      - run: |\n          echo >>$GITHUB_OUTPUT \"summary<<EOS_SUMMARY\"\n          cat  >>$GITHUB_OUTPUT <summary.md\n          echo >>$GITHUB_OUTPUT \"EOS_SUMMARY\"\n        id: report\n      - run: rm before.tsv after.tsv summary.md\n\n      - uses: peter-evans/create-pull-request@v5\n        with:\n          branch: ${{ github.ref_name }}_langfiles\n          commit-message: Update language files\n          title: Update language files on ${{ github.ref_name }}\n          body: ${{ steps.report.outputs.summary }}\n", "state": "active", "repository": "coldfix/udiskie"}
{"mined_at": "2024-07-15T12:43:01.179654", "created_at": "2021-11-24T18:50:16+01:00", "updated_at": "2021-11-24T22:12:37+01:00", "name": "Check Release", "path": ".github/workflows/check-release.yml", "contents": "name: Check Release\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  check_release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Install Dependencies\n        run: |\n          pip install -e .\n      - name: Check Release\n        uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "calysto/metakernel"}
{"mined_at": "2024-07-15T12:43:02.239257", "created_at": "2021-11-24T22:07:51+01:00", "updated_at": "2021-11-24T22:12:37+01:00", "name": "Enforce PR label", "path": ".github/workflows/enforce-label.yml", "contents": "name: Enforce PR label\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, edited, synchronize]\njobs:\n  enforce-label:\n    runs-on: ubuntu-latest\n    steps:\n      - name: enforce-triage-label\n        uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1\n", "state": "active", "repository": "calysto/metakernel"}
{"mined_at": "2024-07-15T12:43:03.518010", "created_at": "2024-03-26T17:30:10+01:00", "updated_at": "2024-03-26T17:30:10+01:00", "name": "Step 1: Prep Release", "path": ".github/workflows/prep-release.yml", "contents": "name: \"Step 1: Prep Release\"\non:\n  workflow_dispatch:\n    inputs:\n      version_spec:\n        description: \"New Version Specifier\"\n        default: \"next\"\n        required: false\n      branch:\n        description: \"The branch to target\"\n        required: false\n      post_version_spec:\n        description: \"Post Version Specifier\"\n        required: false\n      silent:\n        description: \"Set a placeholder in the changelog and don't publish the release.\"\n        required: false\n        type: boolean\n      since:\n        description: \"Use PRs with activity since this date or git reference\"\n        required: false\n      since_last_stable:\n        description: \"Use PRs with activity since the last stable git tag\"\n        required: false\n        type: boolean\njobs:\n  prep_release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Prep Release\n        id: prep-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          version_spec: ${{ github.event.inputs.version_spec }}\n          silent: ${{ github.event.inputs.silent }}\n          post_version_spec: ${{ github.event.inputs.post_version_spec }}\n          target: ${{ github.event.inputs.target }}\n          branch: ${{ github.event.inputs.branch }}\n          since: ${{ github.event.inputs.since }}\n          since_last_stable: ${{ github.event.inputs.since_last_stable }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}\"\n", "state": "active", "repository": "calysto/metakernel"}
{"mined_at": "2024-07-15T12:43:04.536138", "created_at": "2024-03-26T17:30:10+01:00", "updated_at": "2024-03-26T17:30:10+01:00", "name": "Publish Changelog", "path": ".github/workflows/publish-changelog.yml", "contents": "name: \"Publish Changelog\"\non:\n  release:\n    types: [published]\n\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch to target\"\n        required: false\n\njobs:\n  publish_changelog:\n    runs-on: ubuntu-latest\n    environment: release\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Publish changelog\n        id: publish-changelog\n        uses: jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}\"\n", "state": "active", "repository": "calysto/metakernel"}
{"mined_at": "2024-07-15T12:43:05.706010", "created_at": "2024-03-26T17:30:10+01:00", "updated_at": "2024-03-26T17:30:10+01:00", "name": "Step 2: Publish Release", "path": ".github/workflows/publish-release.yml", "contents": "name: \"Step 2: Publish Release\"\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The target branch\"\n        required: false\n      release_url:\n        description: \"The URL of the draft GitHub release\"\n        required: false\n      steps_to_skip:\n        description: \"Comma separated list of steps to skip\"\n        required: false\n\njobs:\n  publish_release:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Populate Release\n        id: populate-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n          release_url: ${{ github.event.inputs.release_url }}\n          steps_to_skip: ${{ github.event.inputs.steps_to_skip }}\n\n      - name: Finalize Release\n        id: finalize-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          release_url: ${{ steps.populate-release.outputs.release_url }}\n\n      - name: \"** Next Step **\"\n        if: ${{ success() }}\n        run: |\n          echo \"Verify the final release\"\n          echo ${{ steps.finalize-release.outputs.release_url }}\n\n      - name: \"** Failure Message **\"\n        if: ${{ failure() }}\n        run: |\n          echo \"Failed to Publish the Draft Release Url:\"\n          echo ${{ steps.populate-release.outputs.release_url }}\n", "state": "active", "repository": "calysto/metakernel"}
{"mined_at": "2024-07-15T12:43:06.685302", "created_at": "2021-11-24T15:57:24+01:00", "updated_at": "2021-11-24T15:57:24+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: Test\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n\n    env:\n      OS: ${{ matrix.os }}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Install graphviz on Linux\n        if: ${{ startsWith(matrix.os, 'ubuntu') }}\n        run: sudo apt install -y graphviz\n\n      - name: Install dependencies\n        run: |\n          pip install coveralls\n          make install\n\n      - name: Run the tests\n        run: |\n          make docs\n          make help\n          make cover\n\n  test_miniumum_versions:\n    name: Test Minimum Versions\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: minimum\n\n      - name: Install\n        run: make install\n      - name: Run the unit tests\n        run: make test\n\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/make-sdist@v1\n\n\n  test_sdist:\n    runs-on: ubuntu-latest\n    needs: [make_sdist]\n    name: Install from SDist and Test\n    timeout-minutes: 20\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1\n\n  link_check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1\n        with:\n          ignore_links: \"http://some/file/from/* http://path/to/some/*\"\n", "state": "active", "repository": "calysto/metakernel"}
{"mined_at": "2024-07-15T12:43:09.697749", "created_at": "2021-05-28T11:21:09+02:00", "updated_at": "2021-05-28T11:21:09+02:00", "name": "Linux Tests", "path": ".github/workflows/workflow-main.yaml", "contents": "name: Linux Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  codecov:\n    name: Codecov Workflow\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [3.9]\n    \n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e \".[dev]\"\n      - name: Lint with Ruff\n        run: pre-commit run --all-files --show-diff-on-failure --color always\n      - name: Generate coverage report\n        run: |\n          coverage run -m pytest tests/\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1\n        with:\n          env_vars: OS,PYTHON\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: unittests\n", "state": "active", "repository": "datactive/bigbang"}
{"mined_at": "2024-07-15T12:43:11.703100", "created_at": "2023-02-24T15:45:46+01:00", "updated_at": "2023-02-24T15:45:46+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\"]\n  schedule:\n    - cron: \"36 9 * * 0\"\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"python\"]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n      with:\n        languages: ${{ matrix.language }}\n        queries: +security-and-quality\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "powerapi-ng/powerapi"}
{"mined_at": "2024-07-15T12:43:12.872131", "created_at": "2023-03-09T15:25:52+01:00", "updated_at": "2023-03-09T17:16:47+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\"]\n\npermissions:\n  contents: read\n\njobs:\n  build-and-test:\n    name: Build project and run tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.x\"]\n\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e \".[devel]\"\n\n    - name: Lint with flake8\n      run: |\n        flake8 --count --show-source --statistics src/ tests/\n\n    - name: Static code analysis with pylint\n      run: |\n        pylint src/ tests/\n\n    - name: Test with pytest\n      run: |\n        pytest --cov=powerapi --cov-report=term --cov-report=xml tests/unit\n\n    - name: Upload coverage reports to Codecov\n      if: ${{ matrix.python-version }} == \"3.10\"\n      uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: coverage.xml\n\n  build-container-image:\n    name: Build container image\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Setup Docker buildx\n        uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0\n\n      - name: Build image\n        uses: docker/build-push-action@31159d49c0d4756269a0940a750801a1ea5d7003 # v6.1.0\n        with:\n          push: false\n          provenance: false\n          load: true\n          tags: localbuild/powerapi:sha-${{ github.sha }}\n", "state": "active", "repository": "powerapi-ng/powerapi"}
{"mined_at": "2024-07-15T12:43:13.995171", "created_at": "2023-03-09T17:16:47+01:00", "updated_at": "2023-03-09T17:16:47+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n      - \"v*\"\n\npermissions:\n  contents: read\n\njobs:\n  pre-checks:\n    name: Release Pre-Checks\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n    - name: Check if package version corresponds to git tag\n      shell: python\n      env:\n        PYTHONPATH: ${{ github.workspace }}/src\n      run: |\n        import os\n        import sys\n        from powerapi import __version__\n\n        git_tag = os.environ['GITHUB_REF_NAME'].removeprefix('v')\n        pkg_version = __version__\n\n        if git_tag != pkg_version:\n          title = 'Invalid version'\n          file = 'src/powerapi/__init__.py'\n          msg = f'Version mismatch between python package ({pkg_version}) and git tag ({git_tag})'\n          print(f'::error title={title},file={file}::{msg}')\n          sys.exit(1)\n\n  pypi-package:\n    name: Publish Pypi package\n    runs-on: ubuntu-latest\n    needs: pre-checks\n    permissions:\n      contents: read\n      id-token: write\n\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n    - name: Set up Python\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: \"3.x\"\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n\n    - name: Build package\n      run: python -m build\n\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0\n      with:\n        print-hash: true\n\n  docker-image:\n    name: Publish Docker image\n    runs-on: ubuntu-latest\n    needs: pre-checks\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0\n\n      - name: Setup Docker buildx\n        uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0\n        with:\n          username: ${{ vars.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_TOKEN }}\n\n      - name: Log in to GitHub Container Registry\n        uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1\n        with:\n          images: |\n            docker.io/powerapi/powerapi\n            ghcr.io/powerapi-ng/powerapi\n          tags: |\n            type=pep440,pattern={{version}}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@31159d49c0d4756269a0940a750801a1ea5d7003 # v6.1.0\n        id: build-and-push\n        with:\n          push: true\n          provenance: false\n          platforms: linux/amd64,linux/arm64\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n\n  github-release:\n    name: Publish GitHub release\n    runs-on: ubuntu-latest\n    needs: [pre-checks, pypi-package, docker-image]\n    permissions:\n      contents: write\n    env:\n      CHGLOG_VERSION: \"0.15.4\"\n\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      with:\n        fetch-depth: 0\n\n    - name: Generate version changelog\n      run: |\n        set -euo pipefail\n        export BASE_URL=\"https://github.com/git-chglog/git-chglog/releases/download\"\n        export FILENAME=\"git-chglog_${CHGLOG_VERSION}_linux_amd64.tar.gz\"\n        curl -fsSL \"${BASE_URL}/v${CHGLOG_VERSION}/${FILENAME}\" |sudo tar xz --no-same-owner -C /usr/local/bin git-chglog\n        git-chglog --config .github/chglog/config.yml --output CHANGELOG.md \"${GITHUB_REF_NAME}\"\n\n    - name: Create GitHub release\n      uses: softprops/action-gh-release@a74c6b72af54cfa997e81df42d94703d6313a2d0 # v2.0.6\n      with:\n        body_path: CHANGELOG.md\n", "state": "active", "repository": "powerapi-ng/powerapi"}
{"mined_at": "2024-07-15T12:43:16.016354", "created_at": "2022-10-19T18:54:32+02:00", "updated_at": "2022-10-19T20:30:40+02:00", "name": "SMACT CI", "path": ".github/workflows/ci.yml", "contents": "name: SMACT CI\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\njobs:\n\n  qa:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: pre-commit/action@v3.0.1\n\n  test:\n    needs: qa\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\",\"3.10\",\"3.11\",\"3.12\"]\n        os: [ubuntu-latest,macos-latest,windows-latest]\n    \n    runs-on: ${{matrix.os}}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel setuptools\n        pip install -e .\n        pip install pytest-cov\n    - name: Run tests and collect coverage\n      run: python -m pytest --cov=smact --cov-report=xml -v\n    - name: Upload coverage reports to CodeCov\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        #files: ./coverage.xml\n        fail_ci_if_error: False\n        env_vars: OS,PYTHON\n        verbose: true\n\n\n    \n", "state": "active", "repository": "wmd-group/smact"}
{"mined_at": "2024-07-15T12:43:17.416513", "created_at": "2022-12-21T22:40:58+01:00", "updated_at": "2022-12-21T22:40:58+01:00", "name": "Combine PRs", "path": ".github/workflows/combine-prs.yml", "contents": "name: 'Combine PRs'\n\n# Controls when the action will run - in this case triggered manually\non:\n  workflow_dispatch:\n    inputs:\n      branchPrefix:\n        description: 'Branch prefix to find combinable PRs based on'\n        required: true\n        default: 'dependabot'\n      mustBeGreen:\n        description: 'Only combine PRs that are green (status is success)'\n        required: true\n        default: true\n      combineBranchName:\n        description: 'Name of the branch to combine PRs into'\n        required: true\n        default: 'combine-prs-branch'\n      ignoreLabel:\n        description: 'Exclude PRs with this label'\n        required: true\n        default: 'nocombine'\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"combine-prs\"\n  combine-prs:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - uses: actions/github-script@v7\n        id: create-combined-pr\n        name: Create Combined PR\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const pulls = await github.paginate('GET /repos/:owner/:repo/pulls', {\n              owner: context.repo.owner,\n              repo: context.repo.repo\n            });\n            let branchesAndPRStrings = [];\n            let baseBranch = null;\n            let baseBranchSHA = null;\n            for (const pull of pulls) {\n              const branch = pull['head']['ref'];\n              console.log('Pull for branch: ' + branch);\n              if (branch.startsWith('${{ github.event.inputs.branchPrefix }}')) {\n                console.log('Branch matched prefix: ' + branch);\n                let statusOK = true;\n                if(${{ github.event.inputs.mustBeGreen }}) {\n                  console.log('Checking green status: ' + branch);\n                  const stateQuery = `query($owner: String!, $repo: String!, $pull_number: Int!) {\n                    repository(owner: $owner, name: $repo) {\n                      pullRequest(number:$pull_number) {\n                        commits(last: 1) {\n                          nodes {\n                            commit {\n                              statusCheckRollup {\n                                state\n                              }\n                            }\n                          }\n                        }\n                      }\n                    }\n                  }`\n                  const vars = {\n                    owner: context.repo.owner,\n                    repo: context.repo.repo,\n                    pull_number: pull['number']\n                  };\n                  const result = await github.graphql(stateQuery, vars);\n                  const [{ commit }] = result.repository.pullRequest.commits.nodes;\n                  const state = commit.statusCheckRollup.state\n                  console.log('Validating status: ' + state);\n                  if(state != 'SUCCESS') {\n                    console.log('Discarding ' + branch + ' with status ' + state);\n                    statusOK = false;\n                  }\n                }\n                console.log('Checking labels: ' + branch);\n                const labels = pull['labels'];\n                for(const label of labels) {\n                  const labelName = label['name'];\n                  console.log('Checking label: ' + labelName);\n                  if(labelName == '${{ github.event.inputs.ignoreLabel }}') {\n                    console.log('Discarding ' + branch + ' with label ' + labelName);\n                    statusOK = false;\n                  }\n                }\n                if (statusOK) {\n                  console.log('Adding branch to array: ' + branch);\n                  const prString = '#' + pull['number'] + ' ' + pull['title'];\n                  branchesAndPRStrings.push({ branch, prString });\n                  baseBranch = pull['base']['ref'];\n                  baseBranchSHA = pull['base']['sha'];\n                }\n              }\n            }\n            if (branchesAndPRStrings.length == 0) {\n              core.setFailed('No PRs/branches matched criteria');\n              return;\n            }\n            try {\n              await github.rest.git.createRef({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                ref: 'refs/heads/' + '${{ github.event.inputs.combineBranchName }}',\n                sha: baseBranchSHA\n              });\n            } catch (error) {\n              console.log(error);\n              core.setFailed('Failed to create combined branch - maybe a branch by that name already exists?');\n              return;\n            }\n            \n            let combinedPRs = [];\n            let mergeFailedPRs = [];\n            for(const { branch, prString } of branchesAndPRStrings) {\n              try {\n                await github.rest.repos.merge({\n                  owner: context.repo.owner,\n                  repo: context.repo.repo,\n                  base: '${{ github.event.inputs.combineBranchName }}',\n                  head: branch,\n                });\n                console.log('Merged branch ' + branch);\n                combinedPRs.push(prString);\n              } catch (error) {\n                console.log('Failed to merge branch ' + branch);\n                mergeFailedPRs.push(prString);\n              }\n            }\n            \n            console.log('Creating combined PR');\n            const combinedPRsString = combinedPRs.join('\\n');\n            let body = '✅ This PR was created by the Combine PRs action by combining the following PRs:\\n' + combinedPRsString;\n            if(mergeFailedPRs.length > 0) {\n              const mergeFailedPRsString = mergeFailedPRs.join('\\n');\n              body += '\\n\\n⚠️ The following PRs were left out due to merge conflicts:\\n' + mergeFailedPRsString\n            }\n            await github.rest.pulls.create({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              title: 'Combined PR',\n              head: '${{ github.event.inputs.combineBranchName }}',\n              base: baseBranch,\n              body: body\n            });", "state": "active", "repository": "wmd-group/smact"}
{"mined_at": "2024-07-15T12:43:18.606314", "created_at": "2021-10-07T18:40:29+02:00", "updated_at": "2021-11-04T17:14:40+01:00", "name": "Publish SMACT distributions to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish SMACT distributions to PyPI\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  build-n-publish:\n    name: Build and publish SMACT distributions to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - name: Create SMACT release\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n          .\n      - name: Publish distribution to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{secrets.PYPI_API_TOKEN}}\n", "state": "active", "repository": "wmd-group/smact"}
{"mined_at": "2024-07-15T12:43:20.756800", "created_at": "2024-03-06T15:23:26+01:00", "updated_at": "2024-03-06T18:00:54+01:00", "name": "Secret_Scan", "path": ".github/workflows/secrets_scan.yml", "contents": "name: Secret_Scan\n\non:\n  pull_request:\n\njobs:\n  TruffleHog:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Secret Scanning\n      uses: trufflesecurity/trufflehog@main\n      with:\n        extra_args: --only-verified\n", "state": "active", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:21.794607", "created_at": "2024-03-27T01:40:36+01:00", "updated_at": "2024-03-29T04:09:52+01:00", "name": "Labelbox Python SDK Shared", "path": ".github/workflows/python-package-shared.yml", "contents": "name: Labelbox Python SDK Shared\n\non:\n  workflow_call:\n    inputs:\n      python-version:\n        required: true\n        type: string\n      api-key:\n        required: true\n        type: string\n      da-test-key:\n        required: true\n        type: string\n      test-env:\n        required: true\n        type: string\n      fixture-profile: \n        required: true\n        type: boolean\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n      - uses: ./.github/actions/python-package-shared-setup\n        with:\n          rye-version: ${{ vars.RYE_VERSION }}\n          python-version: ${{ inputs.python-version }}\n      - name: Linting\n        working-directory: libs/labelbox\n        run: rye run lint\n  integration:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: labelbox-python-${{ inputs.test-env }}-${{ inputs.python-version }}\n      cancel-in-progress: false\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n      - uses: ./.github/actions/python-package-shared-setup\n        with:\n          rye-version: ${{ vars.RYE_VERSION }}\n          python-version: ${{ inputs.python-version }}\n      - name: Integration Testing\n        env:\n          PYTEST_XDIST_AUTO_NUM_WORKERS: 20\n          LABELBOX_TEST_API_KEY: ${{ secrets[inputs.api-key] }}\n          DA_GCP_LABELBOX_API_KEY: ${{ secrets[inputs.da-test-key] }}\n          LABELBOX_TEST_ENVIRON: ${{ inputs.test-env }}\n        working-directory: libs/labelbox\n        run: rye run integration\n  unit-data:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n      - uses: ./.github/actions/python-package-shared-setup\n        with:\n          rye-version: ${{ vars.RYE_VERSION }}\n          python-version: ${{ inputs.python-version }}\n      - name: Unit && Data Testing\n        env:\n          PYTEST_XDIST_AUTO_NUM_WORKERS: 20\n          LABELBOX_TEST_API_KEY: ${{ secrets[inputs.api-key] }}\n          DA_GCP_LABELBOX_API_KEY: ${{ secrets[inputs.da-test-key] }}\n          LABELBOX_TEST_ENVIRON: ${{ inputs.test-env }}\n        working-directory: libs/labelbox\n        run: |\n          rye sync -f --features labelbox/data\n          rye run unit\n          rye run data ", "state": "active", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:22.908756", "created_at": "2024-03-30T02:22:45+01:00", "updated_at": "2024-06-07T01:10:55+02:00", "name": "Labelbox Python SDK Staging (Develop)", "path": ".github/workflows/python-package-develop.yml", "contents": "name: Labelbox Python SDK Staging (Develop)\n\non:\n  push:\n    branches: [develop]\n  pull_request:\n    branches: [develop]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: 3.8\n            api-key: STAGING_LABELBOX_API_KEY_2\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n          - python-version: 3.9\n            api-key: STAGING_LABELBOX_API_KEY_3\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n          - python-version: \"3.10\"\n            api-key: STAGING_LABELBOX_API_KEY_4\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n          - python-version: 3.11\n            api-key: STAGING_LABELBOX_API_KEY\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n          - python-version: 3.12\n            api-key: STAGING_LABELBOX_API_KEY_5\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n    uses: ./.github/workflows/python-package-shared.yml\n    with:\n      python-version: ${{ matrix.python-version }}\n      api-key: ${{ matrix.api-key }}\n      da-test-key: ${{ matrix.da-test-key }}\n      fixture-profile: true\n      test-env: 'staging'\n    secrets: inherit\n  test-pypi:\n    runs-on: ubuntu-latest\n    needs: ['build']\n    environment: \n      name: Test-PyPI\n      url: 'https://test.pypi.org/p/labelbox-test'\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n      - uses: ./.github/actions/python-package-shared-setup\n        with:\n          rye-version: ${{ vars.RYE_VERSION }}\n          python-version: '3.8'\n      - name: Create build\n        id: create-build\n        working-directory: libs/labelbox\n        run: |\n          VERSION=$(date +\"%Y.%m.%d.%H.%M\")\n          echo \"pip install --index-url https://test.pypi.org/simple/ --extra-index-url=https://pypi.org/simple/ labelbox-test@$VERSION\" >> \"$GITHUB_STEP_SUMMARY\"\n          rye version \"$VERSION\"\n          rye run toml set --toml-path pyproject.toml project.name labelbox-test\n          rye build\n      - name: Publish package distributions to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: dist/\n          repository-url: https://test.pypi.org/legacy/\n  test-container:\n    runs-on: ubuntu-latest    \n    needs: ['build']\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      packages: write\n    env:\n      CONTAINER_IMAGE: \"ghcr.io/${{ github.repository }}\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n\n      - name: downcase CONTAINER_IMAGE\n        run: |\n          echo \"CONTAINER_IMAGE=${CONTAINER_IMAGE,,}\" >> ${GITHUB_ENV}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n  \n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n  \n      - name: Build and push (Develop)\n        if: github.event_name == 'push'\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./libs/labelbox/Dockerfile\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          push: true\n  \n          platforms: |\n            linux/amd64\n            linux/arm64\n\n          tags: |\n            ${{ env.CONTAINER_IMAGE }}:develop\n            ${{ env.CONTAINER_IMAGE }}:${{ github.sha }}\n      \n      - name: Build and push (Pull Request)\n        if: github.event_name == 'pull_request'\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./libs/labelbox/Dockerfile\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          push: true\n  \n          platforms: |\n            linux/amd64\n            linux/arm64\n\n          tags: |\n            ${{ env.CONTAINER_IMAGE }}:${{ github.sha }}\n", "state": "active", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:23.919339", "created_at": "2024-04-03T06:26:40+02:00", "updated_at": "2024-04-08T21:21:58+02:00", "name": "Labelbox Python SDK Publish", "path": ".github/workflows/publish.yml", "contents": "name: Labelbox Python SDK Publish\n\non:\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: 'Release Tag'\n        required: true\n      skip-tests:\n        description: 'Skip PROD Test (Do not do this unless there is an emergency)'\n        default: false\n        type: boolean\n\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: false\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    outputs:\n      hashes: ${{ steps.hash.outputs.hashes }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.tag }}\n      - name: Install the latest version of rye\n        uses: eifinger/setup-rye@v2\n        with:\n          version: ${{ vars.RYE_VERSION }}\n          enable-cache: true\n      - name: Rye Setup\n        run: |\n           rye config --set-bool behavior.use-uv=true\n      - name: Create build\n        working-directory: libs/labelbox\n        run: |\n          rye sync\n          rye build\n      - name: \"Generate hashes\"\n        id: hash\n        run: |\n          cd dist && echo \"hashes=$(sha256sum * | base64 -w0)\" >> $GITHUB_OUTPUT\n      - uses: actions/upload-artifact@v4\n        with:\n          name: build\n          path: ./dist\n  provenance_python:\n    needs: [build]\n    permissions:\n      actions: read\n      contents: write\n      id-token: write # Needed to access the workflow's OIDC identity.\n    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0\n    with:\n      base64-subjects: \"${{ needs.build.outputs.hashes }}\"\n      upload-assets: true\n      upload-tag-name: ${{ inputs.tag }} # Tag from the initiation of the workflow\n  test-build:\n    if: ${{ !inputs.skip-tests }}\n    needs: ['build']\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: 3.8\n            prod-key: PROD_LABELBOX_API_KEY_2\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n          - python-version: 3.9\n            prod-key: PROD_LABELBOX_API_KEY_3\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n          - python-version: \"3.10\"\n            prod-key: PROD_LABELBOX_API_KEY_4\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n          - python-version: 3.11\n            prod-key: LABELBOX_API_KEY\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n          - python-version: 3.12\n            prod-key: PROD_LABELBOX_API_KEY_5\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.tag }}\n      - name: Install the latest version of rye\n        uses: eifinger/setup-rye@v2\n        with:\n          version: ${{ vars.RYE_VERSION }}\n          enable-cache: true\n      - name: Rye Setup\n        run: |\n           rye config --set-bool behavior.use-uv=true\n      - name: Python setup\n        run: rye pin ${{ matrix.python-version }}\n      - uses: actions/download-artifact@v4\n        with:\n          name: build\n          path: ./dist\n      - name: Prepare package and environment\n        run: |\n          rye sync -f --update-all\n          rye run toml unset --toml-path pyproject.toml tool.rye.workspace\n          rye sync -f --update-all\n      - name: Integration Testing\n        env:\n          PYTEST_XDIST_AUTO_NUM_WORKERS: 32\n          LABELBOX_TEST_API_KEY: ${{ secrets[matrix.prod-key] }}\n          DA_GCP_LABELBOX_API_KEY: ${{ secrets[matrix.da-test-key] }}\n          LABELBOX_TEST_ENVIRON: prod\n        run: |\n          rye add labelbox --path ./$(find ./dist/ -name *.tar.gz) --sync --absolute\n          cd libs/labelbox\n          rm pyproject.toml\n          rye run pytest tests/integration\n      - name: Data Testing\n        env:\n          PYTEST_XDIST_AUTO_NUM_WORKERS: 32\n          LABELBOX_TEST_API_KEY: ${{ secrets[matrix.prod-key] }}\n          DA_GCP_LABELBOX_API_KEY: ${{ secrets[matrix.da-test-key] }}\n          LABELBOX_TEST_ENVIRON: prod\n        run: |\n          rye add labelbox --path ./$(find ./dist/ -name *.tar.gz) --sync --absolute --features data\n          cd libs/labelbox\n          rye run pytest tests/data\n  publish-python-package-to-release:\n    runs-on: ubuntu-latest\n    needs: ['build']\n    permissions:\n      contents: write    \n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.tag }}\n      - uses: actions/download-artifact@v4\n        with:\n          name: build\n          path: ./artifact\n      - name: Upload dist to release\n        run: |\n          gh release upload ${{ inputs.tag }} ./artifact/*\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  pypi-publish:   \n    runs-on: ubuntu-latest\n    needs: ['build', 'test-build']\n    if: |\n      always() &&\n      (needs.test-build.result == 'success' || needs.test-build.result == 'skipped') && github.event.inputs.tag\n    environment: \n      name: publish\n      url: 'https://pypi.org/project/labelbox/'\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: build\n          path: ./artifact\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: artifact/\n  container-publish:\n    runs-on: ubuntu-latest\n    needs: ['build', 'test-build']\n    permissions:\n      packages: write\n    outputs:\n      image: ${{ steps.image.outputs.image }}\n      digest: ${{ steps.build_container.outputs.digest }}\n    if: |\n      always() &&\n      (needs.test-build.result == 'success' || needs.test-build.result == 'skipped') && github.event.inputs.tag\n    env:\n      CONTAINER_IMAGE: \"ghcr.io/${{ github.repository }}\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.tag }}\n\n      - name: downcase CONTAINER_IMAGE\n        run: |\n          echo \"CONTAINER_IMAGE=${CONTAINER_IMAGE,,}\" >> ${GITHUB_ENV}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n  \n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n  \n      - name: Build and push\n        uses: docker/build-push-action@v5\n        id: build_container\n        with:\n          context: .\n          file: ./libs/labelbox/Dockerfile\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          push: true\n  \n          platforms: |\n            linux/amd64\n            linux/arm64\n  \n          tags: |\n            ${{ env.CONTAINER_IMAGE }}:latest\n            ${{ env.CONTAINER_IMAGE }}:${{ inputs.tag }}\n      - name: Output image\n        id: image\n        run: |\n          # NOTE: Set the image as an output because the `env` context is not\n          # available to the inputs of a reusable workflow call.\n          image_name=\"${CONTAINER_IMAGE}\"\n          echo \"image=$image_name\" >> \"$GITHUB_OUTPUT\"\n\n  provenance_container:\n    needs: [container-publish]\n    permissions:\n      actions: read # for detecting the Github Actions environment.\n      id-token: write # for creating OIDC tokens for signing.\n      packages: write # for uploading attestations.\n    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.0.0\n    with:\n      image: ${{ needs. container-publish.outputs.image }}\n      digest: ${{ needs. container-publish.outputs.digest }}\n      registry-username: ${{ github.actor }}\n    secrets:\n      registry-password: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:25.177497", "created_at": "2024-04-08T21:21:58+02:00", "updated_at": "2024-04-08T21:21:58+02:00", "name": "Labelbox Python SDK Prod (Develop)", "path": ".github/workflows/python-package-prod.yml", "contents": "name: Labelbox Python SDK Prod (Develop)\n\non:\n    workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: 3.8\n            api-key: PROD_LABELBOX_API_KEY_2\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n          - python-version: 3.9\n            api-key: PROD_LABELBOX_API_KEY_3\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n          - python-version: \"3.10\"\n            api-key: PROD_LABELBOX_API_KEY_4\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n          - python-version: 3.11\n            api-key: LABELBOX_API_KEY\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n          - python-version: 3.12\n            api-key: PROD_LABELBOX_API_KEY_5\n            da-test-key: DA_GCP_LABELBOX_API_KEY\n    uses: ./.github/workflows/python-package-shared.yml\n    with:\n      python-version: ${{ matrix.python-version }}\n      api-key: ${{ matrix.api-key }}\n      da-test-key: ${{ matrix.da-test-key }}\n      fixture-profile: false\n      test-env: 'prod'\n    secrets: inherit", "state": "active", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:26.192841", "created_at": "2024-05-14T18:14:10+02:00", "updated_at": "2024-05-22T17:15:26+02:00", "name": "Labelbox Example Notebook Workflow", "path": ".github/workflows/notebooks.yml", "contents": "name: Labelbox Example Notebook Workflow\n\non:\n  push:\n    branches: [develop]\n    paths:\n      - examples/**\n  pull_request:\n    branches: [develop]\n    paths:\n      - examples/**\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  # Get installs from rye and run rye run clean to format\n  format:\n    if: github.event.pull_request.merged == false\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n          fetch-depth: 0\n      - uses: ./.github/actions/python-package-shared-setup\n        with:\n          rye-version: ${{ vars.RYE_VERSION }}\n          python-version: 3.12\n      - name: Format\n        working-directory: examples\n        run: rye run clean\n      - name: Commit changes\n        run: |\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git add examples/.\n          git commit -m \":art: Cleaned\" || exit 0\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ github.head_ref }}\n  # See if notebooks were added or deleted (name change counts as both)\n  changes:\n    needs: format\n    if: github.event.pull_request.merged == false\n    runs-on: ubuntu-latest\n    outputs:\n      addedOrModified: ${{ steps.filter.outputs.addedOrModified }}\n    steps:\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            addedOrModified:\n              - added|deleted: 'examples/**/*.ipynb'\n  # Create readme if the above job shows true using rye run create-readme\n  create:\n    needs: changes\n    if: ${{ needs.changes.outputs.addedOrModified == 'true' }} && github.event.pull_request.merged == false\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n          fetch-depth: 0\n      - uses: ./.github/actions/python-package-shared-setup\n        with:\n          rye-version: ${{ vars.RYE_VERSION }}\n          python-version: 3.12\n      - name: Create readme\n        working-directory: examples\n        run: rye run create-readme\n      - name: Commit changes\n        run: |\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git add examples/.\n          git commit -m \":memo: README updated\" || exit 0\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ github.head_ref }}\n", "state": "active", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:27.234284", "created_at": "2024-05-20T03:32:40+02:00", "updated_at": "2024-05-20T03:44:28+02:00", "name": "Labelbox Example Notebook Format", "path": ".github/workflows/notebook-format.yml", "contents": null, "state": "active", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:28.342048", "created_at": "2024-05-20T03:32:40+02:00", "updated_at": "2024-05-20T03:45:56+02:00", "name": "Labelbox Example Notebook Update Readme", "path": ".github/workflows/notebook-create-readme.yml", "contents": null, "state": "active", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:29.325648", "created_at": "2024-05-20T04:11:14+02:00", "updated_at": "2024-05-20T04:33:25+02:00", "name": "Labelbox Example Notebook Workflow", "path": ".github/workflows/notebook.yml", "contents": null, "state": "active", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:30.380163", "created_at": "2024-05-21T13:36:33+02:00", "updated_at": "2024-05-24T19:49:09+02:00", "name": "ReadMe GitHub Action 🦉", "path": ".github/workflows/rdme-custompages.yml", "contents": "name: ReadMe GitHub Action 🦉\n\non:\n  pull_request:\n    branches: [develop]\n    types:\n      - closed\n    paths:\n      - examples/README.md\n\njobs:\n  custompages:\n    if: github.event.pull_request.merged == true\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/python-package-shared-setup\n        with:\n          rye-version: ${{ vars.RYE_VERSION }}\n          python-version: 3.12\n      - name: Create readme\n        working-directory: examples\n        run: rye run create-doc-readme\n      - name: Run `custompages` command\n        uses: readmeio/rdme@v8\n        with:\n          rdme: custompages examples/tutorials.html --key=${{ secrets.README_API_KEY }}\n", "state": "active", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:31.395540", "created_at": "2024-06-06T09:15:42+02:00", "updated_at": "2024-06-06T09:15:42+02:00", "name": "LBox Develop", "path": ".github/workflows/lbox-develop.yml", "contents": null, "state": "active", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:32.428601", "created_at": "2024-06-07T01:07:20+02:00", "updated_at": "2024-06-07T01:07:20+02:00", "name": ".github/workflows/upload_download_experiment.yml", "path": ".github/workflows/upload_download_experiment.yml", "contents": null, "state": "active", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:33.501215", "created_at": "2024-03-20T04:36:25+01:00", "updated_at": "2024-03-24T01:00:48+01:00", "name": "Labelbox Python SDK Publish Test", "path": ".github/workflows/publish-test.yaml", "contents": null, "state": "disabled_manually", "repository": "labelbox/labelbox-python"}
{"mined_at": "2024-07-15T12:43:35.448535", "created_at": "2022-12-27T22:47:37+01:00", "updated_at": "2022-12-28T01:28:46+01:00", "name": "CI", "path": ".github/workflows/build.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  build:\n    name: Build and test\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    env:\n      Z3_VERSION: \"4.11.2\"\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Install Z3\n        run: |\n          wget -nv https://github.com/Z3Prover/z3/releases/download/z3-${Z3_VERSION}/z3-${Z3_VERSION}-x64-glibc-2.31.zip\n          unzip z3-${Z3_VERSION}-x64-glibc-2.31.zip\n          echo `pwd`/z3-${Z3_VERSION}-x64-glibc-2.31/bin >> $GITHUB_PATH\n          echo PYTHONPATH=`pwd`/z3-${Z3_VERSION}-x64-glibc-2.31/bin/python >> $GITHUB_ENV\n      - run: z3 --version  # make sure z3 is installed\n      - run: python3 -c 'import z3'  # make sure z3 can be imported from python\n      - run: make gh-test", "state": "active", "repository": "wilcoxjay/mypyvy"}
{"mined_at": "2024-07-15T12:43:37.429332", "created_at": "2020-02-13T16:14:25+01:00", "updated_at": "2022-07-11T21:34:24+02:00", "name": "CI", "path": ".github/workflows/CI.yaml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - 'master'\n      - 'pymbar4'\n      - 'gha'\n  pull_request:\n    branches:\n      - 'master'\n      - 'pymbar4'\n      - 'gha'\n  schedule:\n    # Nightly Tests\n    - cron: '0 0 * * *'\n\njobs:\n\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macOS-latest, ubuntu-latest, windows-latest]\n        python-version: [\"3.8\", \"3.11\", \"3.12\"]  # Check against oldest and newest versions\n        jax: [\"\", \"_jax\"]\n        exclude:  # Skip win + jax\n          - jax: \"_jax\"\n            os: windows-latest\n    env:\n      PYVER: ${{ matrix.python-version }}\n      CI_OS: ${{ matrix.os }}\n      PACKAGE: \"pymbar\"\n\n    steps:\n    - name: Checkout the code\n      uses: actions/checkout@v3\n\n    - name: Additional info about the build\n      shell: bash\n      run: |\n        uname -a\n        df -h\n        ulimit -a\n\n    - name: Setup Conda via Mamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-file: devtools/conda-envs/test_env${{ matrix.jax }}.yaml\n        environment-name: test\n        condarc: |\n          channels:\n            - conda-forge\n            - defaults\n        create-args: >-\n          python=${{ matrix.python-version }}\n\n    - name: Install package\n      shell: bash -l {0}\n      run: |\n        python -m pip install . --no-deps\n        micromamba list\n\n    - name: Run tests (pytest)\n      shell: bash -l {0}\n      run: |\n        pytest -v --cov=$PACKAGE --cov-report=xml --color=yes --doctest-modules $PACKAGE/\n\n    - name: Run examples\n      shell: bash -l {0}\n      run: |\n        ### constant-force-optical-trap\n        cd examples/constant-force-optical-trap\n        python extract-data.py\n        python force-bias-optical-trap.py\n        ### harmonic-oscillators\n        cd ../harmonic-oscillators\n        python harmonic-oscillators.py\n        python harmonic-oscillators-distributions.py\n        cd ../heat-capacity\n        python heat-capacity.py -b 2\n        ### parallel-tempering-2dfes\n        cd ../parallel-tempering-2dfes\n        python parallel-tempering-2dfes.py\n        ### umbrella-sampling-fes\n        cd ../umbrella-sampling-fes\n        python umbrella-sampling.py\n        python umbrella-sampling-advanced-fes.py\n\n    - name: CodeCov\n      uses: codecov/codecov-action@v1\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n        flags: unittests\n        yml: ./.codecov.yml\n\n  lint-format:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n    env:\n      PACKAGE: \"pymbar\"\n\n    steps:\n    - name: Checkout the code\n      uses: actions/checkout@v1\n\n    - name: Setup Conda via Mamba\n      uses: mamba-org/provision-with-micromamba@main\n      with:\n        environment-file: devtools/conda-envs/test_env.yaml\n        environment-name: test\n        channels: conda-forge,defaults\n        extra-specs: |\n          python=${{ matrix.python-version }}\n\n    - name: Install linter and formatter\n      shell: bash -l {0}\n      run: |\n        micromamba install pylint black\n\n    - name: Run pylint\n      shell: bash -l {0}\n      run: |\n        pylint $PACKAGE/\n\n    # Black has a default --exclude which reads .gitignore.\n    # Black's --exclude and --extend-exclude are single specified RegEx patterns and overwrite if multi-marked.\n    - name: Run black check\n      shell: bash -l {0}\n      if: always()\n      run: |\n        black --check -l 99 $PACKAGE/ examples/ --extend-exclude \"$PACKAGE/_version.py\"\n", "state": "active", "repository": "choderalab/pymbar"}
{"mined_at": "2024-07-15T12:43:39.467669", "created_at": "2021-02-01T03:24:33+01:00", "updated_at": "2023-02-13T23:15:21+01:00", "name": "OAS build", "path": ".github/workflows/oas.yml", "contents": "name: OAS build\n\n# This workflow runs all unit and regression tests, as well as coveralls.\n# On the pull-request events, this workflow runs OAS tests, checks code format by flake8/black, and builds the docs.\n# On the push-to-main events, it also deploys the docs.\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n    tags:\n      - v*.*.*\n  schedule:\n    # Run the tests at 7:23pm UTC on the 2nd and 17th of every month\n    - cron: '23 19 2,17 * *'\n\njobs:\n  # --- run OAS unit and regression tests ---\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false  # continue other jobs even if one of the jobs in matrix fails \n      matrix:\n        dep-versions: [\"oldest\", \"latest\"]\n        # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Set versions to test here ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n        PYTHON_VERSION_OLDEST: ['3.8']\n        PYTHON_VERSION_LATEST: ['3.11']\n        WHEEL_VERSION_OLDEST: ['0.38.4']  # latest wheel cannot build the oldest OpenMDAO (3.17 or older)\n        NUMPY_VERSION_OLDEST: ['1.20']  # latest is most recent on PyPI\n        SCIPY_VERSION_OLDEST: ['1.6.0']  # latest is most recent on PyPI\n        OPENMDAO_VERSION_OLDEST: ['3.15']  # latest is most recent on PyPI\n        MPHYS_VERSION_OLDEST: ['1.0.0']  # latest is most recent on PyPI\n        PYGEO_VERSION_OLDEST: ['1.6.0']  # latest is pulled from main branch, for some reason anything after 1.12.2 seg faults on the old build\n        VSP_VERSION: ['3.27.1']  # used for both builds\n        PETSC_VERSION_LATEST: ['3.19.1']\n        CYTHON_VERSION: ['0.29.36']  # used for both builds\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.PYTHON_VERSION_OLDEST }}\n      if: ${{ matrix.dep-versions == 'oldest' }}\n      uses: actions/setup-python@v2\n      with:\n        python-version:  ${{ matrix.PYTHON_VERSION_OLDEST }}\n    - name: Set up Python ${{ matrix.PYTHON_VERSION_LATEST }}\n      if: ${{ matrix.dep-versions == 'latest' }}\n      uses: actions/setup-python@v2\n      with:\n        python-version:  ${{ matrix.PYTHON_VERSION_LATEST }}\n\n    # we need OpenVSP to run vsp tests.\n    - name: Install OpenVSP\n      run: |\n        sudo apt-get update\n        export PYTHON_INCLUDE_DIR=$(python -c \"from distutils.sysconfig import get_python_inc; print(get_python_inc())\")\n        export PYTHON_LIBRARY=$(python -c \"import distutils.sysconfig as sysconfig; print(sysconfig.get_config_var('LIBDIR'))\")\n        export INST_PREFIX=$(python -c \"import distutils.sysconfig as sysconfig; print(sysconfig.get_config_var('prefix'))\")\n        cd ..\n        sudo apt-get install cmake libx11-dev libfltk1.3-dev libcpptest-dev libglm-dev libeigen3-dev libcminpack-dev \\\n                             libglew-dev doxygen graphviz texlive-latex-base\n        mkdir OpenVSP\n        cd OpenVSP\n        mkdir build buildlibs\n        # Download source code\n        wget -q https://github.com/OpenVSP/OpenVSP/archive/refs/tags/OpenVSP_${{ matrix.VSP_VERSION }}.tar.gz\n        tar -xf OpenVSP_${{ matrix.VSP_VERSION }}.tar.gz\n        mv OpenVSP-OpenVSP_${{ matrix.VSP_VERSION }} repo\n        # Build dependency libs\n        cd buildlibs\n        cmake -DVSP_USE_SYSTEM_LIBXML2=true -DVSP_USE_SYSTEM_FLTK=true -DVSP_USE_SYSTEM_GLM=true \\\n              -DVSP_USE_SYSTEM_GLEW=true -DVSP_USE_SYSTEM_CMINPACK=true -DVSP_USE_SYSTEM_LIBIGES=false \\\n              -DVSP_USE_SYSTEM_EIGEN=false -DVSP_USE_SYSTEM_CODEELI=false -DVSP_USE_SYSTEM_CPPTEST=false \\\n              -DPYTHON_INCLUDE_DIR=${PYTHON_INCLUDE_DIR} -DPYTHON_LIBRARY=${PYTHON_LIBRARY} ../repo/Libraries -DCMAKE_BUILD_TYPE=Release\n        make -j8\n        # Build OpenVSP\n        cd ..\n        export BUILD_LIBS_PATH=`pwd`\n        cd build\n        cmake ../repo/src/ -DVSP_NO_GRAPHICS=true -DVSP_LIBRARY_PATH=${BUILD_LIBS_PATH}/buildlibs \\\n              -DPYTHON_INCLUDE_DIR=${PYTHON_INCLUDE_DIR} -DPYTHON_LIBRARY=${PYTHON_LIBRARY} \\\n              -DCMAKE_BUILD_TYPE=Release\n        make -j8\n        make package\n        # Install python interface\n        pushd _CPack_Packages/Linux/ZIP/OpenVSP-${{ matrix.VSP_VERSION }}-Linux/python\n        pip install -r requirements.txt\n        pushd ..\n        cp vspaero vspscript vspslicer $INST_PREFIX/bin\n        popd\n        popd\n\n    # OAS dependencies are specified in setup.py.\n    - name: Install OAS and its dependencies (oldest versions)\n      if: ${{ matrix.dep-versions == 'oldest' }}\n      run: |\n        python -m pip install wheel==${{ matrix.WHEEL_VERSION_OLDEST }}\n        pip install numpy==${{ matrix.NUMPY_VERSION_OLDEST }} scipy==${{ matrix.SCIPY_VERSION_OLDEST }} openmdao==${{ matrix.OPENMDAO_VERSION_OLDEST }} mphys==${{ matrix.MPHYS_VERSION_OLDEST }}\n        pip install -e .[test]\n    - name: Install OAS and its dependencies (latest versions)\n      if: ${{ matrix.dep-versions == 'latest' }}\n      run: |\n        python -m pip install --upgrade pip wheel\n        pip install -e .[test,mphys]\n\n    - name: Install MPI\n      run: |\n        sudo apt-get install openmpi-bin libopenmpi-dev\n        pip install mpi4py\n\n    # install PETSc on the latest for MPI tests\n    - name: Install PETSc\n      if: ${{ matrix.dep-versions == 'latest' }}\n      run: |\n        cd ..\n        pip download petsc==${{ matrix.PETSC_VERSION_LATEST }}\n        tar -xf petsc-${{ matrix.PETSC_VERSION_LATEST }}.tar.gz\n        cd petsc-${{ matrix.PETSC_VERSION_LATEST }}\n        export PETSC_ARCH=real-debug\n        export PETSC_DIR=`pwd`\n        ./configure --PETSC_ARCH=$PETSC_ARCH --download-fblaslapack\n        make PETSC_DIR=$PETSC_DIR PETSC_ARCH=$PETSC_ARCH all\n        # Cython 3.0.0 break petsc4py install\n        pip install cython==${{ matrix.CYTHON_VERSION }}\n        pip install petsc4py==${{ matrix.PETSC_VERSION_LATEST }}\n\n    # We need pySpline/pyGeo to run FFD tests.\n    - name: Install pySpline\n      run: |\n        cd ..\n        git clone https://github.com/mdolab/pyspline.git\n        cd pyspline\n        cp config/defaults/config.LINUX_GFORTRAN.mk config/config.mk\n        make\n        pip install -e .\n\n    - name: Install pyGeo ${{ matrix.PYGEO_VERSION_OLDEST }}\n      if: ${{ matrix.dep-versions == 'oldest' }}\n      run: |\n        pip install \"pygeo[testing] @ git+https://github.com/mdolab/pygeo.git@v${{ matrix.PYGEO_VERSION_OLDEST }}\"\n    - name: Install pyGeo latest\n      if: ${{ matrix.dep-versions == 'latest' }}\n      run: |\n        pip install \"pygeo[testing] @ git+https://github.com/mdolab/pygeo.git\"\n\n    - name: List installed Python packages\n      run: |\n        pip list -v\n\n    - name: Run tests (latest)\n      env:\n        OMPI_MCA_btl: ^openib   # prevent OpenMPI warning messages\n      if: ${{ matrix.dep-versions == 'latest' }}\n      run: |\n        testflo -n 2 -v openaerostruct --coverage --coverpkg openaerostruct\n        coverage xml\n    # skip MPI tests on the oldest\n    - name: Run tests (oldest)\n      env:\n        OMPI_MCA_btl: ^openib   # prevent OpenMPI warning messages\n      if: ${{ matrix.dep-versions == 'oldest' }}\n      run: |\n        testflo -n 2 -v --exclude \\*MPI\\* openaerostruct --coverage --coverpkg openaerostruct\n        coverage xml\n\n    - name: Upload Coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: true\n        verbose: true\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  # --- linting and formatting ---\n  black:\n    uses: mdolab/.github/.github/workflows/black.yaml@main\n  flake8:\n    uses: mdolab/.github/.github/workflows/flake8.yaml@main\n\n  # --- publish to PyPI\n  pypi:\n    needs: [test, flake8, black]\n    uses: mdolab/.github/.github/workflows/pypi.yaml@main\n    secrets: inherit\n", "state": "active", "repository": "mdolab/openaerostruct"}
{"mined_at": "2024-07-15T12:43:42.448788", "created_at": "2022-11-10T10:19:09+01:00", "updated_at": "2023-03-22T22:14:14+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\", \"osbs_ocp3\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"4 21 * * 3\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "disabled_inactivity", "repository": "containerbuildsystem/osbs-client"}
{"mined_at": "2024-07-15T12:43:43.457521", "created_at": "2020-11-10T20:58:50+01:00", "updated_at": "2020-11-10T20:58:50+01:00", "name": "Linters", "path": ".github/workflows/linters.yaml", "contents": "name: Linters\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - master\n      - release_*\n\njobs:\n  bandit:\n    name: Bandit analyzer for Python ${{ matrix.os.python }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: fedora\n            version: 33\n            python: 3\n            engine: docker\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - run: ./test.sh\n        env:\n          OS: ${{ matrix.os.name }}\n          OS_VERSION: ${{ matrix.os.version }}\n          PYTHON_VERSION: ${{ matrix.os.python }}\n          ENGINE: ${{ matrix.os.engine }}\n          ACTION: bandit\n\n  flake8:\n    name: Flake8 for Python 3\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v3\n\n      - name: Run flake8 for Python 3\n        uses: containerbuildsystem/actions/flake8@master\n\n  markdownlint:\n    name: Markdownlint\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v3\n\n      - name: Run markdownlint\n        uses: containerbuildsystem/actions/markdownlint@master\n\n  pylint:\n    name: Pylint analyzer for Python ${{ matrix.os.python }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        os:\n          - name: fedora\n            version: 33\n            python: 3\n            engine: docker\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - run: ./test.sh\n        env:\n          OS: ${{ matrix.os.name }}\n          OS_VERSION: ${{ matrix.os.version }}\n          PYTHON_VERSION: ${{ matrix.os.python }}\n          ENGINE: ${{ matrix.os.engine }}\n          ACTION: pylint\n\n  shellcheck:\n    name: Shellcheck\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v3\n\n      - name: Run ShellCheck\n        uses: containerbuildsystem/actions/shellcheck@master\n", "state": "active", "repository": "containerbuildsystem/osbs-client"}
{"mined_at": "2024-07-15T12:43:44.476303", "created_at": "2020-11-10T20:58:50+01:00", "updated_at": "2020-11-10T20:58:50+01:00", "name": "Unittests", "path": ".github/workflows/unittests.yaml", "contents": "name: Unittests\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - master\n      - release_*\n\njobs:\n  test:\n    name: Python ${{ matrix.os.python }} tests on ${{ matrix.os.name }}-${{ matrix.os.version }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: fedora\n            version: 36\n            python: 3\n            engine: docker\n\n          - name: fedora\n            version: 37\n            python: 3\n            engine: docker\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v3\n\n      - name: pytests via test.sh\n        env:\n          OS: ${{ matrix.os.name }}\n          OS_VERSION: ${{ matrix.os.version }}\n          PYTHON_VERSION: ${{ matrix.os.python }}\n          ENGINE: ${{ matrix.os.engine }}\n        run: ./test.sh\n\n      - name: Upload pytest html report\n        uses: actions/upload-artifact@v3\n        if: failure()\n        with:\n          path: __pytest_reports/osbs-unit-tests.html\n          name: osbs-unit-tests_${{ matrix.os.name }}_${{ matrix.os.version }}.python${{ matrix.os.python }}.html\n\n      - name: Run coveralls-python\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: ${{ matrix.os.name }}-${{ matrix.os.version }}-python${{ matrix.os.python }}\n          COVERALLS_PARALLEL: true\n        run: |\n          pip3 install --upgrade pip==20.0.2\n          pip3 install --upgrade setuptools\n          pip3 install --upgrade coveralls\n          /home/runner/.local/bin/coveralls --service=github\n\n  coveralls-finish:\n    name: Finish coveralls-python\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n    - name: Finished\n      run: |\n        pip3 install --upgrade pip==20.0.2\n        pip3 install --upgrade setuptools\n        pip3 install --upgrade coveralls\n        /home/runner/.local/bin/coveralls --finish --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "containerbuildsystem/osbs-client"}
{"mined_at": "2024-07-15T12:43:46.541258", "created_at": "2022-05-09T14:21:40+02:00", "updated_at": "2022-05-09T14:21:40+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "brunorijsman/rift-python"}
{"mined_at": "2024-07-15T12:43:48.570757", "created_at": "2021-08-17T16:00:28+02:00", "updated_at": "2022-04-07T21:06:57+02:00", "name": "Build", "path": ".github/workflows/build-test-deploy.yml", "contents": "name: \"Build\"\non: [push, workflow_dispatch]\njobs:\n  codeanalysis:\n    name: \"Code Quality\"\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Black\n        uses: psf/black@stable\n        with:\n          src: \"./src ./tests\"\n\n  test:\n    name: \"Test\"\n    runs-on: ${{ matrix.os-version }}\n    env:\n      LANG: en_US.UTF-8\n    strategy:\n      matrix:\n        python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']\n        os-version: ['ubuntu-20.04', 'windows-latest', 'macos-latest']\n# Pinned Ubuntu version to 20.04 since no Python 3.6 builds available on ubuntu-latest (22.04) as of 2022-12-7.\n#        os-version: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies (Ubuntu)\n        if: startsWith(matrix.os-version, 'ubuntu')\n        run: |\n          sudo apt-get update\n          sudo apt-get install build-essential libkrb5-dev\n\n      - name: Install dependencies (Common)\n        run: |\n          # Setup tox & code coverage\n          pip install --upgrade pip\n          pip install tox tox-gh-actions pytest pytest-cov scikit-learn\n\n      - name: Run Tests\n        run: |\n          tox\n\n      # Separate upload task for unit test coverage allows for flagged analysis of test coverage\n      - name: Upload Unit Test Coverage\n        if: startsWith(matrix.os-version, 'ubuntu')\n        uses: codecov/codecov-action@v3\n        with:\n          directory: ./.reports/\n          fail_ci_if_error: false\n          file: unit.xml\n          flags: unit\n          verbose: true\n\n      # Separate upload task for integration test coverage allows for flagged analysis of test coverage\n      - name: Upload Integration Test Coverage\n        if: startsWith(matrix.os-version, 'ubuntu')\n        uses: codecov/codecov-action@v3\n        with:\n          directory: ./.reports/\n          fail_ci_if_error: false\n          file: integration.xml\n          flags: integration\n          verbose: true\n\n# Uncomment when scenario test cases are working again\n#      Separate upload task for scenario test coverage allows for flagged analysis of test coverage\n#      - name: Upload Scenario Test Coverage\n#        if: matrix.os-version == 'ubuntu-latest'\n#        uses: codecov/codecov-action@v3\n#        with:\n#          directory: ./.reports/\n#          fail_ci_if_error: true\n#          file: scenarios.xml\n#          flags: scenarios\n#          verbose: true\n\n  gh-pages:\n    name: \"Build Documentation\"\n    runs-on: ubuntu-latest\n    needs: test\n    if: startsWith(github.ref, 'refs/tags/') # run only on tagged commits\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Setup environment\n        run: |\n          mv doc docs\n          sudo apt-get install build-essential\n          pip install sphinx six pyyaml pandas pydata-sphinx-theme numpydoc\n\n      - name: Check documentation\n        uses: ammaraskar/sphinx-problem-matcher@master\n\n      - name: Build documentation\n        run: sphinx-build -Ean -b html -j auto -D todo_include_todos=0 ./docs ./docs/_build/html\n\n      - name: Archive artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: html-docs\n          path: ./docs/_build/html\n\n  # Build a package for distribution through PyPI.org (pip install sasctl)\n  build_pypi:\n    name: \"Build PyPI Package\"\n    runs-on: ubuntu-latest\n    needs: test\n    if: startsWith(github.ref, 'refs/tags/')  # run only on tagged commits\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install setuptools wheel twine\n\n      - name: Build Package\n        run: |\n          python setup.py sdist bdist_wheel\n\n      - name: Extract Changes\n        shell: python\n        run: |\n          import os, re\n          tag_name = os.environ['GITHUB_REF'].replace('refs/tags/', '')\n          changes = ''\n          with open('CHANGELOG.md') as f:\n              lines = f.read()\n          match = re.search('%s [()\\d\\-\\s]*' % tag_name, lines)\n          if match:\n              lines = lines[match.end():]\n              changes = re.split('-----+', lines)[0].split('\\n')\n              changes = '\\n'.join(changes[:-2])\n          with open('release_notes.md', 'w') as f:\n              f.write(changes)\n\n      - name: Archive distribution artifacts\n        # Archive distribution files for use by auto (or manual) PyPI upload\n        uses: actions/upload-artifact@v3\n        with:\n          name: pypi-dist\n          path: ./dist\n\n      - name: Archive changelog artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: release_notes\n          path: release_notes.md\n\n  # Build a package for distribution through Anaconda.org (conda install sasctl)\n  build_conda:\n    name: \"Build Conda Package\"\n    runs-on: ubuntu-latest\n    needs: test\n    if: startsWith(github.ref, 'refs/tags/') # run only on tagged commits\n\n    steps:\n      # Setup Miniconda\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n\n      - name: Install conda-build\n        shell: bash -l {0}\n        run: |\n          conda install conda-build\n\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      # Build package and store results in .build folder\n      - name: Build package\n        shell: bash -l {0}\n        run: |\n          conda build --output-folder .build .conda\n\n      # Archive distribution files.  Will upload in a downstream job.\n      - name: Archive distribution artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: conda-dist\n          path: .build\n\n\n  # Publishes the new package to PyPI, uploads the latest documentation to GitHub Pages\n  # and creates a new release with change notes on GitHub.\n  publish:\n    name: \"Publish\"\n    runs-on: ubuntu-latest\n    needs: [gh-pages, build_pypi, build_conda]\n\n    steps:\n      - name: Download documentation\n        uses: actions/download-artifact@v3\n        with:\n          name: html-docs\n          path: ./html-docs\n\n      - name: Download release\n        uses: actions/download-artifact@v3\n        with:\n          name: pypi-dist\n          path: ./dist\n\n      - name: Download release notes\n        uses: actions/download-artifact@v3\n        with:\n          name: release_notes\n\n      - name: Zip Documentation\n        run: zip -r documentation.zip ./html-docs\n\n      - name: Display structure of downloaded files\n        run: ls -R\n\n      # Create a draft release on GitHub\n      - name: Create Release\n        id: create_release\n        uses: softprops/action-gh-release@v1\n        with:\n          draft: true\n          body_path: release_notes.md\n          body: \"\"\n          files: documentation.zip\n\n      # Publish the documentation to GitHub Pages\n      - name: Deploy documentation\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./html-docs\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          verbose: true\n\n      # Publish the release on GitHub (remove draft status)\n      - name: Publish release\n        uses: StuYarrow/publish-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          id: ${{ steps.create_release.outputs.id }}\n\n\n  # Uploads the package to Anaconda.\n  # NOTE: could be merged with `publish` job above.  Left as a separate, final job since it\n  #       involves multiple steps to setup the environment and if this job fails, the package\n  #       has already been made available through pip, and the release info published.\n  upload_conda:\n    name: \"Upload Conda Package\"\n    runs-on: ubuntu-latest\n    needs: [publish]\n\n    steps:\n      # Setup Miniconda\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n\n      # Setup Anaconda client (required for upload)\n      - name: Install anaconda client\n        shell: bash -l {0}\n        run: |\n          conda install anaconda-client\n\n      # Download release files\n      - name: Download release\n        uses: actions/download-artifact@v3\n        with:\n          name: conda-dist\n          path: ./dist\n\n      # Upload release to Anaconda.org\n      - name: Upload release\n        shell: bash -l {0}\n        run: |\n          anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload -u sas-institute ./dist/noarch/sasctl-*.tar.bz2", "state": "active", "repository": "sassoftware/python-sasctl"}
{"mined_at": "2024-07-15T12:43:49.636361", "created_at": "2021-05-07T17:50:47+02:00", "updated_at": "2021-08-17T23:04:23+02:00", "name": "Security Scan", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"Security Scan\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '43 20 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    permissions:\n      # Require to update security info on GH repo\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: python\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "sassoftware/python-sasctl"}
{"mined_at": "2024-07-15T12:43:50.748815", "created_at": "2022-04-07T17:26:49+02:00", "updated_at": "2022-04-07T17:26:49+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sassoftware/python-sasctl"}
{"mined_at": "2024-07-15T12:43:52.931799", "created_at": "2023-02-14T19:54:40+01:00", "updated_at": "2024-06-11T21:05:36+02:00", "name": "TFRS release-2.20.0", "path": ".github/workflows/tfrs-release.yaml", "contents": "## For each release, the value of name, branches, RELEASE_NAME and PR_NUMBER need to be adjusted accordingly\n## For each release, update lib/config.js: version and releaseBranch\n\nname: TFRS release-2.20.0\n\non:\n  workflow_dispatch:\n  workflow_call:\n\nenv:\n  ## The pull request number of the Tracking pull request to merge the release branch to main\n  ## Also remember to update the version in .pipeline/lib/config.js\n  PR_NUMBER: 2894\n  RELEASE_NAME: release-2.20.0\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  unit-test:\n\n    name: Run Backend Unit Tests\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      \n      - name: Run coverage report for django tests \n        uses: kuanfandevops/django-test-action@itvr-django-test\n        continue-on-error: true\n        with:\n          settings-dir-path: \"backend/api\"\n          requirements-file: \"backend/requirements.txt\"\n          managepy-dir: backend\n  \n  lint:\n\n    name: Linting\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Frontend Linting \n        continue-on-error: true\n        run: |\n          cd frontend\n          pwd\n          npm install\n          npm run lint        \n\n      - name: Backend linting\n        uses: github/super-linter/slim@v4\n        continue-on-error: true\n        env:\n          DEFAULT_BRANCH: ${{ env.RELEASE_NAME }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          FILTER_REGEX_INCLUDE: .*backend/.*.py\n          VALIDATE_PYTHON_PYLINT: true\n          LOG_LEVEL: WARN\n\n  build:\n\n    name: Build TFRS on Openshift\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    steps:\n\n      ## it will checkout to /home/runner/work/itvr/itvr\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      ## Log in to Openshift with a token of service account\n      - name: Log in to Openshift\n        ##uses: redhat-actions/oc-login@v1   \n        uses: smlgbl/oc-login@main\n        with:\n          openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}\n          openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}\n          insecure_skip_tls_verify: true\n          namespace: ${{ secrets.OPENSHIFT_NAMESPACE_PLATE }}-tools\n\n      ## Run build on Openshift\n      - name: Run build\n        run: |\n          cd .pipeline\n          npm install\n          npm run build -- --pr=${{ env.PR_NUMBER }} --env=build \n\n  deploy-on-test:\n\n    name: Deploy TFRS on Test\n    runs-on: ubuntu-latest\n    timeout-minutes: 240\n    needs: build\n\n    steps:\n\n      ## it will checkout to /home/runner/work/itvr/itvr\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - name: Log in to Openshift\n        ##uses: redhat-actions/oc-login@v1\n        uses: smlgbl/oc-login@main\n        with:\n          openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}\n          openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}\n          insecure_skip_tls_verify: true\n          namespace: ${{ secrets.OPENSHIFT_NAMESPACE_PLATE }}-tools    \n\n      - name: Ask for approval for TFRS Test deployment\n        uses: trstringer/manual-approval@v1.6.0\n        with:\n          secret: ${{ github.TOKEN }}\n          approvers: AlexZorkin,emi-hi,tim738745,kuanfandevops,jig-patel,prv-proton,JulianForeman\n          minimum-approvals: 1\n          issue-title: \"TFRS ${{ env.RELEASE_NAME }} Test Deployment\"\n\n      - name: Run deploy\n        run: |\n          cd .pipeline\n          npm install\n          npm run deploy -- --pr=${{ env.PR_NUMBER }} --env=test \n\n  deploy-on-prod:\n\n    name: Deploy TFRS on Prod\n    runs-on: ubuntu-latest\n    timeout-minutes: 2880\n    needs: deploy-on-test\n\n    steps:\n\n      ## it will checkout to /home/runner/work/itvr/itvr\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - name: Log in to Openshift\n        ##uses: redhat-actions/oc-login@v1\n        uses: smlgbl/oc-login@main\n        with:\n          openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}\n          openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}\n          insecure_skip_tls_verify: true\n          namespace: ${{ secrets.OPENSHIFT_NAMESPACE_PLATE }}-tools    \n\n      - name: Ask for approval for TFRS Prod deployment\n        uses: trstringer/manual-approval@v1.6.0\n        with:\n          secret: ${{ github.TOKEN }}\n          approvers: AlexZorkin,kuanfandevops,tim738745,jig-patel,prv-proton,JulianForeman\n          minimum-approvals: 2\n          issue-title: \"TFRS ${{ env.RELEASE_NAME }} Prod Deployment\"\n\n      - name: Run deploy\n        run: |\n          cd .pipeline\n          npm install\n          npm run deploy -- --pr=${{ env.PR_NUMBER }} --env=prod \n", "state": "active", "repository": "bcgov/tfrs"}
{"mined_at": "2024-07-15T12:43:54.019346", "created_at": "2023-06-16T23:29:16+02:00", "updated_at": "2024-06-11T21:05:36+02:00", "name": "TFRS Dev release-2.20.0", "path": ".github/workflows/dev-release.yaml", "contents": "## For each release, the value of name, branches, RELEASE_NAME and PR_NUMBER need to be adjusted accordingly\n## For each release, update lib/config.js: version and releaseBranch\n\nname: TFRS Dev release-2.20.0\n\non:\n  push:\n    branches: [ release-2.20.0 ]\n    paths:\n      - frontend/**\n      - backend/**\n  workflow_dispatch:\n  workflow_call:\n\nenv:\n  ## The pull request number of the Tracking pull request to merge the release branch to main\n  ## Also remember to update the version in .pipeline/lib/config.js\n  PR_NUMBER: 2894\n  RELEASE_NAME: release-2.20.0\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  unit-test:\n\n    name: Run Backend Unit Tests\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      \n      - name: Run coverage report for django tests \n        uses: kuanfandevops/django-test-action@itvr-django-test\n        continue-on-error: true\n        with:\n          settings-dir-path: \"backend/api\"\n          requirements-file: \"backend/requirements.txt\"\n          managepy-dir: backend\n  \n  lint:\n\n    name: Linting\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Frontend Linting \n        continue-on-error: true\n        run: |\n          cd frontend\n          pwd\n          npm install\n          npm run lint        \n\n      - name: Backend linting\n        uses: github/super-linter/slim@v4\n        continue-on-error: true\n        env:\n          DEFAULT_BRANCH: ${{ env.RELEASE_NAME }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          FILTER_REGEX_INCLUDE: .*backend/.*.py\n          VALIDATE_PYTHON_PYLINT: true\n          LOG_LEVEL: WARN\n\n  build:\n\n    name: Build TFRS on Openshift\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    steps:\n\n      ## it will checkout to /home/runner/work/itvr/itvr\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      ## Log in to Openshift with a token of service account\n      - name: Log in to Openshift\n        uses: redhat-actions/oc-login@v1.3\n        with:\n          openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}\n          openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}\n          insecure_skip_tls_verify: true\n          namespace: ${{ secrets.OPENSHIFT_NAMESPACE_PLATE }}-tools\n\n      ## Run build on Openshift\n      - name: Run build\n        run: |\n          cd .pipeline\n          npm install\n          npm run build -- --pr=${{ env.PR_NUMBER }} --env=build \n\n  deploy-on-dev:\n\n    name: Deploy TFRS on Dev\n    runs-on: ubuntu-latest\n    timeout-minutes: 240\n    needs: build\n\n    steps:\n\n      ## it will checkout to /home/runner/work/itvr/itvr\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - name: Log in to Openshift\n        uses: redhat-actions/oc-login@v1.3\n        with:\n          openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }}\n          openshift_token: ${{ secrets.OPENSHIFT_TOKEN }}\n          insecure_skip_tls_verify: true\n          namespace: ${{ secrets.OPENSHIFT_NAMESPACE_PLATE }}-tools    \n\n      - name: Run deploy\n        run: |\n          cd .pipeline\n          npm install\n          npm run deploy -- --pr=${{ env.PR_NUMBER }} --env=dev \n\n", "state": "active", "repository": "bcgov/tfrs"}
{"mined_at": "2024-07-15T12:43:55.065749", "created_at": "2023-06-17T00:15:35+02:00", "updated_at": "2023-06-17T00:15:35+02:00", "name": "Cleanup old workflow runs", "path": ".github/workflows/cleanup-workflow-runs.yaml", "contents": "name: Cleanup old workflow runs\non:\n  workflow_dispatch:\n    inputs:\n      days:\n        description: 'Number of days.'\n        required: true\n        default: 15\n      minimum_runs:\n        description: 'The minimum runs to keep for each workflow.'\n        required: true\n        default: 10\njobs:\n  del_runs:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n    steps:\n      - name: Delete workflow runs\n        uses: Mattraks/delete-workflow-runs@v2.0.4\n        with:\n          token: ${{ github.token }}\n          repository: ${{ github.repository }}\n          retain_days: ${{ github.event.inputs.days }}\n          keep_minimum_runs: ${{ github.event.inputs.minimum_runs }}\n", "state": "active", "repository": "bcgov/tfrs"}
{"mined_at": "2024-07-15T12:43:56.090717", "created_at": "2023-06-17T00:20:55+02:00", "updated_at": "2023-06-17T00:20:55+02:00", "name": "Scheduled cleanup old workflow runs", "path": ".github/workflows/cleanup-cron-workflow-runs.yaml", "contents": "name: Scheduled cleanup old workflow runs\non:\n  schedule:\n    - cron: '0 0 * * 0'\n# At 00:00 on Sunday.\n\njobs:\n  del_runs:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n    steps:\n      - name: Delete workflow runs\n        uses: Mattraks/delete-workflow-runs@v2.0.4\n        with:\n          token: ${{ github.token }}\n          repository: ${{ github.repository }}\n          retain_days: 15\n          keep_minimum_runs: 10", "state": "active", "repository": "bcgov/tfrs"}
{"mined_at": "2024-07-15T12:43:57.115050", "created_at": "2023-08-02T01:04:09+02:00", "updated_at": "2023-08-02T17:37:46+02:00", "name": "Create Release after merging to master", "path": ".github/workflows/create-release.yaml", "contents": "name: Create Release after merging to master\non:\n  pull_request:\n    types: [closed]\n    branches:\n      - 'master'     \n\njobs:\n  create-release:\n    runs-on: ubuntu-latest\n    env:\n      releasename: ${{ github.event.pull_request.head.ref }}    \n    steps:\n      - uses: actions/checkout@v3\n      - name: Replace release name\n        uses: mad9000/actions-find-and-replace-string@4\n        id: newereleasename\n        with:\n          source: ${{ github.event.pull_request.head.ref }}\n          find: 'release-'\n          replace: 'v'\n      - name: Create Release\n        uses: softprops/action-gh-release@v1\n        with:\n          name: ${{ steps.newereleasename.outputs.value }}\n          tag_name: ${{ steps.newereleasename.outputs.value }}\n          target_commitish: master\n          body: |\n            ${{ github.event.pull_request.body }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          draft: false\n          prerelease: false\n", "state": "active", "repository": "bcgov/tfrs"}
{"mined_at": "2024-07-15T12:43:58.152200", "created_at": "2024-07-08T20:14:27+02:00", "updated_at": "2024-07-08T20:14:27+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "bcgov/tfrs"}
{"mined_at": "2024-07-15T12:44:00.197739", "created_at": "2020-01-10T08:13:30+01:00", "updated_at": "2020-01-11T09:26:00+01:00", "name": "Upload Python Package", "path": "", "contents": null, "state": "active", "repository": "wordops/wordops"}
{"mined_at": "2024-07-15T12:44:01.309883", "created_at": "2020-10-27T11:05:09+01:00", "updated_at": "2020-10-27T11:05:09+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - updating-configuration\n      - master\n      - ci\n  pull_request:\n    branches:\n      - master\n  release:\n    types: [published]\n  schedule:\n    - cron: '0 0 * * 0'\n\njobs:\n  my_job:\n    name: test WordOps\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]\n    \n    steps:\n    - uses: actions/checkout@v4\n    - name: Prepare VM\n      run: |\n        unset LANG\n        sudo apt update -qq > /dev/null 2>&1\n        sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php -y > /dev/null 2>&1\n        sudo rm -rf /etc/mysql /var/lib/mysql\n        sudo apt-get purge --option=Dpkg::options::=--force-all --assume-yes graphviz* redis* php* mysql* nginx* > /dev/null 2>&1\n        sudo apt-get install -qq git ccze tree > /dev/null 2>&1\n        sudo apt-get -qq autoremove --purge > /dev/null 2>&1\n        sudo bash -c 'echo -e \"[user]\\n\\tname = abc\\n\\temail = root@localhost.com\" > $HOME/.gitconfig'\n    - name: Install WordOps\n      run: sudo timeout 1800 bash install --travis\n    - name: Run tests\n      run: sudo timeout 1800 bash tests/travis.sh --actions\n    - name: Display log\n      run: sudo cat /var/log/wo/test.log | ccze -A\n", "state": "active", "repository": "wordops/wordops"}
{"mined_at": "2024-07-15T12:44:02.435587", "created_at": "2020-01-11T23:36:54+01:00", "updated_at": "2020-01-11T23:36:54+01:00", "name": "Upload Python Package", "path": ".github/workflows/pypi.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python3 -m pip install --upgrade pip\n        python3 -m pip install setuptools wheel twine\n        python3 -m pip install --upgrade setuptools wheel twine     \n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python3 setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "wordops/wordops"}
{"mined_at": "2024-07-15T12:44:03.432048", "created_at": "2023-12-08T01:22:41+01:00", "updated_at": "2023-12-08T01:22:41+01:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v8\n        with:\n          stale-issue-message: 'This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.'\n          stale-pr-message: 'This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days.'\n          close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'\n          close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'\n          days-before-issue-stale: 45\n          days-before-pr-stale: 90\n          days-before-issue-close: 5\n          days-before-pr-close: 10\n          operations-per-run: 100\n", "state": "active", "repository": "wordops/wordops"}
{"mined_at": "2024-07-15T12:44:04.408898", "created_at": "2024-05-30T15:55:01+02:00", "updated_at": "2024-05-30T15:55:01+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "wordops/wordops"}
{"mined_at": "2024-07-15T12:44:05.487925", "created_at": "2023-07-12T15:20:47+02:00", "updated_at": "2023-07-12T15:20:47+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "wordops/wordops"}
{"mined_at": "2024-07-15T12:44:07.559431", "created_at": "2021-12-12T07:10:04+01:00", "updated_at": "2021-12-12T07:10:04+01:00", "name": "Build and release", "path": ".github/workflows/build_and_release.yml", "contents": "name: Build and release\n\non:\n  push:\n    tags:\n      - \"v*.*.*\"\n  workflow_dispatch:\n\nconcurrency:\n  group: ci-${{ github.workflow }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\nenv:\n  BIN_NAME: tcconfig\n  DIST_DIR_NAME: dist\n  SHA_DIR: sha\n  SHA_TEXT_FILE: sha256_tcconfig.txt\n\njobs:\n  build-deb-package:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 20\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: pip\n          cache-dependency-path: |\n            setup.py\n            **/*requirements.txt\n            tox.ini\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update -qq\n          sudo apt-get install -qq -y --no-install-recommends fakeroot\n\n      - name: Build a deb package\n        run: ./scripts/build_deb_package.sh\n\n      - name: Test installation from a deb package\n        run: sudo dpkg -i ${{ env.DIST_DIR_NAME }}/${{ env.BIN_NAME }}_*.deb\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: binaries-${{ matrix.os }}\n          path: ${{ env.DIST_DIR_NAME }}/${{ env.BIN_NAME }}_*.deb\n          if-no-files-found: error\n          retention-days: 1\n\n  build-wheel-package:\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: pip\n          cache-dependency-path: |\n            setup.py\n            **/*requirements.txt\n            tox.ini\n\n      - run: make setup-ci\n\n      - run: make build\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheel\n          path: ${{ env.DIST_DIR_NAME }}/*\n\n  publish-package:\n    needs: [build-wheel-package, build-deb-package]\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    environment:\n      name: pypi\n      url: https://pypi.org/p/tcconfig\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: ${{ env.DIST_DIR_NAME }}\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          skip-existing: true\n\n  calc-hash-and-sign:\n    needs: [publish-package]\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    permissions:\n      id-token: write\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: binaries-ubuntu-20.04\n          path: ${{ env.DIST_DIR_NAME }}\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: binaries-ubuntu-22.04\n          path: ${{ env.DIST_DIR_NAME }}\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: ${{ env.DIST_DIR_NAME }}\n\n      - name: Setup environment variables\n        run: echo \"TCCONFIG_VERSION=$(grep -Po \"(?<=__version__ = \\\")\\d+\\.\\d+\\.\\d+(?=\\\")\" tcconfig/__version__.py)\" >> $GITHUB_ENV\n\n      - name: Sign the dists with Sigstore\n        uses: sigstore/gh-action-sigstore-python@v2.1.1\n        with:\n          inputs: >-\n            ${{ env.DIST_DIR_NAME }}/*.tar.gz\n            ${{ env.DIST_DIR_NAME }}/*.whl\n            ${{ env.DIST_DIR_NAME }}/${{ env.BIN_NAME }}_*.deb\n\n      - name: Calculate checksums of binary assets\n        run: |\n          set -x\n\n          WORK_DIR=work\n          mkdir -p \"$WORK_DIR\" \"$SHA_DIR\"\n\n          for asset in $(gh release view v${TCCONFIG_VERSION} --json assets | jq '.assets[] | select(.contentType != \"text/plain\") | .url'); do\n            wget -P \"$WORK_DIR\" \"$asset\"\n          done\n\n          cd \"$DIST_DIR_NAME\"\n          sha256sum ${BIN_NAME}_* > \"../${SHA_DIR}/${SHA_TEXT_FILE}\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: shasum\n          path: ${{ env.SHA_DIR }}\n          if-no-files-found: error\n          retention-days: 1\n\n      - name: List files\n        run: |\n          set -x\n\n          ls -l ${{ env.DIST_DIR_NAME }}/*\n          sleep 2  # wait for ls to finish\n          ls -l ${{ env.SHA_DIR }}/${{ env.SHA_TEXT_FILE }}\n\n      - name: Release packages\n        if: startsWith(github.ref, 'refs/tags/')\n        uses: softprops/action-gh-release@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          files: ${{ env.DIST_DIR_NAME }}/*\n\n      - name: Release checksums\n        if: startsWith(github.ref, 'refs/tags/')\n        uses: softprops/action-gh-release@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          files: |\n            ${{ env.SHA_DIR }}/${{ env.SHA_TEXT_FILE }}\n", "state": "active", "repository": "thombashi/tcconfig"}
{"mined_at": "2024-07-15T12:44:08.545904", "created_at": "2024-05-01T14:49:22+02:00", "updated_at": "2024-05-01T14:49:22+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - \".gitignore\"\n      - \"README.rst\"\n  pull_request:\n    paths-ignore:\n      - \".gitignore\"\n      - \"README.rst\"\n\npermissions:\n  contents: read\n\njobs:\n  build-wheel-package:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref_name }}-build\n      cancel-in-progress: true\n    timeout-minutes: 20\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: pip\n          cache-dependency-path: |\n            setup.py\n            **/*requirements.txt\n            tox.ini\n\n      - run: make setup-ci\n\n      - run: make build\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: ./dist/*\n\n  publish-package:\n    needs: build-wheel-package\n    runs-on: ubuntu-latest\n    concurrency:\n      group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref_name }}-publish-pkg\n      cancel-in-progress: true\n    timeout-minutes: 10\n    environment:\n      name: testpypi\n      url: https://pypi.org/p/tcconfig\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: ./dist\n\n      - name: Publish package to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n\n  sign-package:\n    needs: publish-package\n    runs-on: ubuntu-latest\n    concurrency:\n      group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref_name }}-sign-pkg\n      cancel-in-progress: true\n    timeout-minutes: 10\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: ./dist\n\n      - name: Sign the dists with Sigstore\n        uses: sigstore/gh-action-sigstore-python@v2.1.1\n        with:\n          inputs: >-\n            ./dist/*.tar.gz\n            ./dist/*.whl\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: sigstore\n          path: ./dist/*\n\n  lint:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref_name }}-lint\n      cancel-in-progress: true\n    timeout-minutes: 20\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: pip\n          cache-dependency-path: |\n            setup.py\n            **/*requirements.txt\n            tox.ini\n\n      - run: make setup-ci\n\n      - run: make check\n\n  unit-test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest]\n    concurrency:\n      group: ${{ github.event_name }}-${{ github.workflow }}-unit-test-${{ matrix.os }}-${{ matrix.python-version }}\n      cancel-in-progress: true\n    timeout-minutes: 20\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: |\n            setup.py\n            **/*requirements.txt\n            tox.ini\n\n      - run: make setup-ci\n\n      - name: Run tests\n        run: make test\n        env:\n          PYTEST_DISCORD_WEBHOOK: ${{ secrets.PYTEST_DISCORD_WEBHOOK }}\n", "state": "active", "repository": "thombashi/tcconfig"}
{"mined_at": "2024-07-15T12:44:09.604125", "created_at": "2024-05-01T10:42:08+02:00", "updated_at": "2024-05-01T10:42:08+02:00", "name": "Close stale issues and PR", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and PR'\non:\n  schedule:\n    - cron: '30 1 * * *'\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'\n          close-issue-message: 'This issue was closed because has not had recent activity.'\n          days-before-stale: 15\n          days-before-close: 7\n          any-of-labels: 'duplicate,invalid,needs-info,wontfix'\n", "state": "active", "repository": "thombashi/tcconfig"}
{"mined_at": "2024-07-15T12:44:10.627211", "created_at": "2023-06-20T12:46:50+02:00", "updated_at": "2023-06-20T12:46:50+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "thombashi/tcconfig"}
{"mined_at": "2024-07-15T12:44:12.748833", "created_at": "2020-03-05T12:03:11+01:00", "updated_at": "2021-04-22T13:55:11+02:00", "name": "Lint and test", "path": ".github/workflows/main.yml", "contents": "name: Lint and test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  merge_group:\n\nenv:\n  POETRY_VERSION: \"1.8.2\"\n  NODE_VERSION: \"20\"\n\njobs:\n  test-python:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:13-alpine\n        env:\n          POSTGRES_USER: ow4user\n          POSTGRES_DB: ow4db\n          POSTGRES_PASSWORD: ow4password\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Cache python packages\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-poetry-\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n          cache: 'npm'\n\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: '.python-version'\n\n      - name: Install Poetry\n        run: pip install poetry==${{ env.POETRY_VERSION }}\n\n      - name: Install python dependencies\n        run: poetry install --no-interaction --no-ansi\n\n      - name: Install node dependencies\n        run: npm ci\n\n      - name: npm build\n        run: npm run build\n\n      - name: Python tests\n        env:\n          OW4_DJANGO_STRIPE_PUBLIC_KEY_ARRKOM: ${{ secrets.STRIPE_PUBLIC_KEY_ARRKOM }}\n          OW4_DJANGO_STRIPE_PUBLIC_KEY_PROKOM: ${{ secrets.STRIPE_PUBLIC_KEY_PROKOM }}\n          OW4_DJANGO_STRIPE_PUBLIC_KEY_TRIKOM: ${{ secrets.STRIPE_PUBLIC_KEY_TRIKOM }}\n          OW4_DJANGO_STRIPE_PRIVATE_KEY_ARRKOM: ${{ secrets.STRIPE_PRIVATE_KEY_ARRKOM }}\n          OW4_DJANGO_STRIPE_PRIVATE_KEY_PROKOM: ${{ secrets.STRIPE_PRIVATE_KEY_PROKOM }}\n          OW4_DJANGO_STRIPE_PRIVATE_KEY_TRIKOM: ${{ secrets.STRIPE_PRIVATE_KEY_TRIKOM }}\n          # TODO: see service todo\n          DATABASE_URL: postgres://ow4user:ow4password@localhost:5432/ow4db\n        run: poetry run py.test --cov=apps --cov-report xml\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  lint-python:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Cache python packages\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-poetry-\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: '.python-version'\n\n      - name: Install Poetry\n        run: pip install poetry==${{ env.POETRY_VERSION }}\n\n      - name: Install python dependencies\n        run: poetry install --no-interaction --no-ansi\n\n      - name: Format\n        run: poetry run ruff format --check apps scripts utils onlineweb4\n      - name: Lint\n        run: poetry run ruff check apps scripts utils onlineweb4\n\n  django-checks:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Cache python packages\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-poetry-\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: '.python-version'\n\n      - name: Install Poetry\n        run: pip install poetry==${{ env.POETRY_VERSION }}\n\n      - name: Install python dependencies\n        run: poetry install --no-interaction --no-ansi\n\n      - name: Check migrations\n        run: poetry run python manage.py makemigrations --check\n\n      - name: Django check\n        run: poetry run python manage.py check\n", "state": "active", "repository": "dotkom/onlineweb4"}
{"mined_at": "2024-07-15T12:44:13.906687", "created_at": "2020-08-23T15:10:49+02:00", "updated_at": "2022-03-27T19:39:38+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\non:\n  workflow_call:\n    inputs:\n      environment:\n        required: true\n        type: string\n      url:\n        required: true\n        type: string\n    secrets:\n      AWS_ACCESS_KEY_ID:\n        required: true\n      AWS_SECRET_ACCESS_KEY:\n        required: true\n      SENTRY_AUTH_TOKEN:\n        required: true\n      SENTRY_ORG:\n        required: true\n      SENTRY_PROJECT:\n        required: true\n\nenv:\n  ECR_REPOSITORY: onlineweb4-zappa\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment:\n      name: ${{ inputs.environment }}\n      url: ${{ inputs.url }}\n    env:\n      ENVIRONMENT: ${{ inputs.environment }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      # should always hit\n      - name: Cache python packages\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-poetry-\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: '.python-version'\n\n      - name: Install Zappa\n        run: pip install zappa==0.59 setuptools\n\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: eu-north-1\n\n      - name: Login to Amazon ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@v2\n\n      - name: Generate Zappa settings\n        run: zappa save-python-settings-file $ENVIRONMENT\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY }}\n          tags: |\n            type=sha\n            type=semver,pattern={{version}}\n\n      - name: Build static\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: false\n          target: static-files\n          tags: ow4-static\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: VERSION=${{ steps.meta.outputs.version }}\n\n      - name: Create Sentry release\n        uses: getsentry/action-release@v1\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n          SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}\n        with:\n          environment: ${{ inputs.environment }}\n          version: ${{ steps.meta.outputs.version }}\n\n      - name: Deploy\n        env:\n          IMAGE_TAG: ${{ github.sha }}\n        run: zappa update $ENVIRONMENT -d ${{ steps.login-ecr.outputs.registry }}/$ECR_REPOSITORY:${{ steps.meta.outputs.version }}\n\n      - name: Sync static files\n        run: |\n          # kinda a cheat to copy files out of the docker image\n          ID=$(docker create ow4-static)\n          docker cp $ID:/srv/app/static static\n          BUCKET_NAME=$( yq \".${ENVIRONMENT}.environment_variables.OW4_S3_BUCKET_NAME\" zappa_settings.yml )\n          aws s3 sync static \"s3://${BUCKET_NAME}/static\" --delete --acl=public-read\n\n      - name: Migrate\n        run: zappa manage $ENVIRONMENT migrate\n\n", "state": "active", "repository": "dotkom/onlineweb4"}
{"mined_at": "2024-07-15T12:44:15.013390", "created_at": "2020-10-18T21:11:26+02:00", "updated_at": "2021-04-22T13:55:11+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python', 'javascript']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      if: matrix.language == 'python'\n      uses: actions/setup-python@v5\n      with:\n        python-version-file: '.python-version'\n\n    - name: Install dependencies\n      if: matrix.language == 'python'\n      env:\n        POETRY_VIRTUALENVS_CREATE: false\n      run: |\n        pip install poetry==1.8.2\n        poetry install --no-interaction --no-ansi\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "dotkom/onlineweb4"}
{"mined_at": "2024-07-15T12:44:16.056263", "created_at": "2022-04-01T21:01:25+02:00", "updated_at": "2022-04-01T21:01:25+02:00", "name": "Deploy / dev", "path": ".github/workflows/deploy-dev.yml", "contents": "name: Deploy / dev\n\non:\n  push:\n    branches:\n      - main\n\nconcurrency: deploy-dev\n\njobs:\n  deploy:\n    uses: ./.github/workflows/deploy.yml\n    with:\n      environment: dev\n      url: https://dev.online.ntnu.no\n    secrets:\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n      SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n      SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}\n", "state": "active", "repository": "dotkom/onlineweb4"}
{"mined_at": "2024-07-15T12:44:17.181846", "created_at": "2022-04-01T21:01:25+02:00", "updated_at": "2022-04-01T21:01:25+02:00", "name": "Deploy / Production", "path": ".github/workflows/deploy-prod.yml", "contents": "name: Deploy / Production\n\non:\n  release:\n    types:\n      - released\n\nconcurrency: deploy-prod\n\njobs:\n  deploy:\n    uses: ./.github/workflows/deploy.yml\n    with:\n      environment: prod\n      url: https://online.ntnu.no\n    secrets:\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n      SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n      SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}\n", "state": "active", "repository": "dotkom/onlineweb4"}
{"mined_at": "2024-07-15T12:44:19.358017", "created_at": "2022-09-14T00:50:56+02:00", "updated_at": "2022-10-15T23:18:33+02:00", "name": "build", "path": ".github/workflows/build.yaml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - dev\n      - main\n    paths-ignore: [\"**/docker.yaml\"]\n  workflow_dispatch:\n\nenv:\n  NUM_WORKERS: 2\n\njobs:\n  test:\n    name: ${{ matrix.python-version }}-build\n    runs-on: ubuntu-latest\n    if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        runs-on: [ubuntu-latest]\n        experimental: [false]\n    services:\n      # TODO: figure out how to update tag when there's a new one\n      minio:\n        image: cormorack/minioci:latest\n        ports:\n          - 9000:9000\n      httpserver:\n        image: cormorack/http:latest\n        ports:\n          - 8080:80\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n      - name: Set environment variables\n        run: |\n          echo \"PYTHON_VERSION=${{ matrix.python-version }}\" >> $GITHUB_ENV\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - name: Remove docker-compose python\n        run: sed -i \"/docker-compose/d\" requirements-dev.txt\n      - name: Install dev tools\n        run: python -m pip install -r requirements-dev.txt\n      - name: Install echopype\n        run: python -m pip install -e \".[plot]\"\n      - name: Print installed packages\n        run: python -m pip list\n      - name: Copying test data to services\n        shell: bash -l {0}\n        run: |\n          python .ci_helpers/docker/setup-services.py --deploy --data-only --http-server ${{ job.services.httpserver.id }}\n\n          # Check data endpoint\n          curl http://localhost:8080/data/\n      - name: Running All Tests\n        shell: bash -l {0}\n        run: |\n          pytest -vv -rx --numprocesses=${{ env.NUM_WORKERS }} --max-worker-restart=3 --cov=echopype --cov-report=xml --log-cli-level=WARNING --disable-warnings\n      - name: Upload code coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: RUNNER_OS,PYTHON_VERSION\n          name: codecov-umbrella\n          fail_ci_if_error: false\n", "state": "active", "repository": "osoceanacoustics/echopype"}
{"mined_at": "2024-07-15T12:44:20.394024", "created_at": "2021-02-01T22:55:56+01:00", "updated_at": "2021-04-27T08:59:39+02:00", "name": "Build Docker Images", "path": ".github/workflows/docker.yaml", "contents": "name: Build Docker Images\n\non:\n  schedule:\n    - cron: '0 0 * * *' # Run Daily\n  workflow_dispatch:\n\nenv:\n  DOCKER_ORG: cormorack\n  GITHUB_SHA: ${{ github.sha }}\n\njobs:\n  docker-build:\n    name: ${{ matrix.image_name }}-build\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        image_name: [\"minioci\", \"http\"]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Retrieve test data\n        if: matrix.image_name == 'http'\n        uses: ./.github/actions/gdrive-rclone\n        env:\n          GOOGLE_SERVICE_JSON: ${{ secrets.GOOGLE_SERVICE_JSON }}\n          ROOT_FOLDER_ID: ${{ secrets.TEST_DATA_FOLDER_ID }}\n      - name: Set Docker Image Spec\n        run: |\n          DATE_TAG=\"$( date -u '+%Y.%m.%d' )\"\n          IMAGE_SPEC=\"${{ env.DOCKER_ORG }}/${{ matrix.image_name }}\"\n          echo \"IMAGE_SPEC=${IMAGE_SPEC}\" >> $GITHUB_ENV\n          echo \"DATE_TAG=${DATE_TAG}\" >> $GITHUB_ENV\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_TOKEN }}\n      - name: Build and push\n        id: docker_build_push\n        uses: docker/build-push-action@v6\n        with:\n          context: ./\n          file: ./.ci_helpers/docker/${{ matrix.image_name }}.dockerfile\n          push: true\n          platforms: linux/amd64,linux/arm64\n          tags: |\n            ${{ env.IMAGE_SPEC }}:${{ env.DATE_TAG }}\n            ${{ env.IMAGE_SPEC }}:latest\n", "state": "active", "repository": "osoceanacoustics/echopype"}
{"mined_at": "2024-07-15T12:44:21.384678", "created_at": "2021-06-17T08:09:06+02:00", "updated_at": "2021-06-17T08:09:06+02:00", "name": "EP Install Test", "path": ".github/workflows/ep-install.yaml", "contents": "name: EP Install Test\n\non:\n  workflow_dispatch:\n    inputs:\n      expected_version:\n        description: 'Expected Echopype Version to check'\n        required: false\n        default: '0.5.0'\n\njobs:\n  test-installs:\n    name: EP Install (${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Setup miniconda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: echopype\n          miniconda-version: \"latest\"\n          environment-file: .ci_helpers/user_environment.yml\n          channel-priority: strict\n          show-channel-urls: true\n          use-only-tar-bz2: false\n      - name: Bash\n        if: contains(matrix.os, 'ubuntu')\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n\n          rm -rf echopype\n          python .ci_helpers/check-version.py ${{ github.event.inputs.expected_version }}\n      - name: Sh\n        if: contains(matrix.os, 'macos')\n        shell: sh -l {0}\n        run: |\n          conda info\n          conda list\n\n          rm -rf echopype\n          python .ci_helpers/check-version.py ${{ github.event.inputs.expected_version }}\n      - name: PowerShell\n        if: contains(matrix.os, 'windows')\n        shell: powershell\n        run: |\n          conda info\n          conda list\n\n          rm echopype -r -fo\n          python .ci_helpers/check-version.py ${{ github.event.inputs.expected_version }}\n", "state": "active", "repository": "osoceanacoustics/echopype"}
{"mined_at": "2024-07-15T12:44:22.507958", "created_at": "2022-02-04T23:31:12+01:00", "updated_at": "2022-02-11T00:50:29+01:00", "name": "Packaging", "path": ".github/workflows/packit.yaml", "contents": "name: Packaging\n\n# Only run for tagged releases\non:\n  push:\n    branches:\n      - dev\n  workflow_dispatch:\n\njobs:\n  build-artifact:\n    name: Build echopype package\n    runs-on: ubuntu-20.04\n    if: github.repository == 'OSOceanAcoustics/echopype'\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        # fetch all history so that setuptools-scm works\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: 3.9\n\n    - name: Install dependencies\n      run: python -m pip install setuptools wheel\n\n    # This step is only necessary for testing purposes and for TestPyPI\n    - name: Fix up version string for TestPyPI\n      if: ${{ !startsWith(github.ref, 'refs/tags') }}\n      run: |\n        # Change setuptools-scm local_scheme to \"no-local-version\" so the\n        # local part of the version isn't included, making the version string\n        # compatible with PyPI.\n        sed --in-place \"s/node-and-date/no-local-version/g\" pyproject.toml\n\n    - name: Build source and wheel distributions\n      run: |\n        python setup.py sdist bdist_wheel\n        echo \"\"\n        echo \"Generated files:\"\n        ls -lh dist/\n    - uses: actions/upload-artifact@v4\n      with:\n        name: releases\n        path: dist\n\n  test-built-dist:\n    name: Test echopype package\n    needs: build-artifact\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/setup-python@v5.1.0\n      name: Install Python\n      with:\n        python-version: 3.9\n    - uses: actions/download-artifact@v4\n      with:\n        name: releases\n        path: dist\n    - name: List contents of built dist\n      run: |\n        ls -ltrh\n        ls -ltrh dist\n    - name: Upgrade pip\n      run: |\n        sleep 3\n        python -m pip install --upgrade pip\n    - name: Check wheel file\n      run: |\n        python -m pip uninstall --yes echopype\n        echo \"=== Testing wheel file ===\"\n        # Install wheel to get dependencies and check import\n        wheel_file=$(ls ./dist | grep \".whl\")\n        python -m pip install ./dist/$wheel_file\n        python -c \"import echopype; print(echopype.__version__)\"\n        echo \"=== Done testing wheel file ===\"\n    - name: Check source tar\n      run: |\n        python -m pip uninstall --yes echopype\n        echo \"=== Testing source tar file ===\"\n        # Install tar gz and check import\n        source_file=$(ls ./dist | grep \".tar.gz\")\n        python -m pip install ./dist/$source_file\n        python -c \"import echopype; print(echopype.__version__)\"\n        echo \"=== Done testing source tar file ===\"\n", "state": "active", "repository": "osoceanacoustics/echopype"}
{"mined_at": "2024-07-15T12:44:23.556562", "created_at": "2021-05-11T20:24:40+02:00", "updated_at": "2021-05-11T20:24:40+02:00", "name": "Test PR", "path": ".github/workflows/pr.yaml", "contents": "name: Test PR\n\non:\n  pull_request:\n    paths-ignore: [\"**/docker.yaml\", \"docs\"]\n\nenv:\n  NUM_WORKERS: 2\n\njobs:\n  test:\n    name: ${{ matrix.python-version }}--${{ matrix.runs-on }}\n    runs-on: ${{ matrix.runs-on }}\n    if: ${{ !contains(github.event.pull_request.title, '[skip ci]') }}\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        runs-on: [ubuntu-latest]\n        experimental: [false]\n    services:\n      # TODO: figure out how to update tag when there's a new one\n      minio:\n        image: cormorack/minioci:latest\n        ports:\n          - 9000:9000\n      httpserver:\n        image: cormorack/http:latest\n        ports:\n          - 8080:80\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - name: Set environment variables\n        run: |\n          echo \"PYTHON_VERSION=${{ matrix.python-version }}\" >> $GITHUB_ENV\n      - name: Remove docker-compose python\n        run: sed -i \"/docker-compose/d\" requirements-dev.txt\n      - name: Install dev tools\n        run: python -m pip install -r requirements-dev.txt\n      # We only want to install this on one run, because otherwise we'll have\n      # duplicate annotations.\n      - name: Install error reporter\n        if: ${{ matrix.python-version == '3.9' }}\n        run: python -m pip install pytest-github-actions-annotate-failures\n      - name: Install echopype\n        run: python -m pip install -e \".[plot]\"\n      - name: Print installed packages\n        run: python -m pip list\n      - name: Copying test data to services\n        run: |\n          python .ci_helpers/docker/setup-services.py --deploy --data-only --http-server ${{ job.services.httpserver.id }}\n\n          # Check data endpoint\n          curl http://localhost:8080/data/\n      - name: Finding changed files\n        id: files\n        uses: Ana06/get-changed-files@v2.3.0\n        with:\n          format: 'csv'\n      - name: Print Changed files\n        run: echo \"${{ steps.files.outputs.added_modified_renamed }}\"\n      - name: Running all Tests\n        if: contains(github.event.pull_request.title, '[all tests ci]')\n        run: |\n          pytest -vvv -rx --numprocesses=${{ env.NUM_WORKERS }} --max-worker-restart=3 --cov=echopype --cov-report=xml --log-cli-level=WARNING --disable-warnings\n      - name: Running Tests\n        if: ${{ !contains(github.event.pull_request.title, '[all tests ci]') }}\n        run: |\n          python .ci_helpers/run-test.py --pytest-args=\"--log-cli-level=WARNING,-vvv,-rx,--numprocesses=${{ env.NUM_WORKERS }},--max-worker-restart=3,--disable-warnings\" --include-cov ${{ steps.files.outputs.added_modified_renamed }}\n      - name: Upload code coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: RUNNER_OS,PYTHON_VERSION\n          name: codecov-umbrella\n          fail_ci_if_error: false\n", "state": "active", "repository": "osoceanacoustics/echopype"}
{"mined_at": "2024-07-15T12:44:24.590727", "created_at": "2021-03-29T19:48:21+02:00", "updated_at": "2021-04-27T08:59:39+02:00", "name": "Publish to PyPI", "path": ".github/workflows/pypi.yaml", "contents": "# Publish archives to PyPI and TestPyPI using GitHub Actions\nname: Publish to PyPI\n\n# Only run for tagged releases\non:\n  release:\n    types:\n      - released\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  build-artifact:\n    name: Build echopype package\n    runs-on: ubuntu-20.04\n    if: github.repository == 'OSOceanAcoustics/echopype'\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        # fetch all history so that setuptools-scm works\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: 3.9\n\n    - name: Install dependencies\n      run: python -m pip install setuptools wheel\n\n    # This step is only necessary for testing purposes and for TestPyPI\n    - name: Fix up version string for TestPyPI\n      if: ${{ !startsWith(github.ref, 'refs/tags') }}\n      run: |\n        # Change setuptools-scm local_scheme to \"no-local-version\" so the\n        # local part of the version isn't included, making the version string\n        # compatible with PyPI.\n        sed --in-place \"s/node-and-date/no-local-version/g\" pyproject.toml\n\n    - name: Build source and wheel distributions\n      run: |\n        python setup.py sdist bdist_wheel\n        echo \"\"\n        echo \"Generated files:\"\n        ls -lh dist/\n    - uses: actions/upload-artifact@v4\n      with:\n        name: releases\n        path: dist\n\n  test-built-dist:\n    name: Test echopype package\n    needs: build-artifact\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/setup-python@v5.1.0\n      name: Install Python\n      with:\n        python-version: 3.9\n    - uses: actions/download-artifact@v4\n      with:\n        name: releases\n        path: dist\n    - name: List contents of built dist\n      run: |\n        ls -ltrh\n        ls -ltrh dist\n    - name: Publish to Test PyPI\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n        verbose: true\n        skip_existing: true\n    - name: Check pypi packages\n      run: |\n        sleep 3\n        python -m pip install --upgrade pip\n\n        echo \"=== Testing wheel file ===\"\n        # Install wheel to get dependencies and check import\n        python -m pip install --extra-index-url https://test.pypi.org/simple --upgrade --pre echopype\n        python -c \"import echopype; print(echopype.__version__)\"\n        echo \"=== Done testing wheel file ===\"\n\n        echo \"=== Testing source tar file ===\"\n        # Install tar gz and check import\n        python -m pip uninstall --yes echopype\n        python -m pip install --extra-index-url https://test.pypi.org/simple --upgrade --pre --no-binary=:all: echopype\n        python -c \"import echopype; print(echopype.__version__)\"\n        echo \"=== Done testing source tar file ===\"\n\n  publish-pypi:\n    name: Push echopype to production pypi\n    needs: test-built-dist\n    if: startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: releases\n        path: dist\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "osoceanacoustics/echopype"}
{"mined_at": "2024-07-15T12:44:25.673644", "created_at": "2022-11-16T20:55:46+01:00", "updated_at": "2023-04-19T00:32:09+02:00", "name": "windows-utils-test", "path": ".github/workflows/windows-utils.yaml", "contents": "name: windows-utils-test\n\non:\n  push:\n    paths-ignore: [\".ci_helpers/docker/**\", \"**/docker.yaml\"]\n  pull_request:\n    paths-ignore: [\".ci_helpers/docker/**\", \"**/docker.yaml\"]\n  pull_request_target:\n    paths-ignore: [\".ci_helpers/docker/**\", \"**/docker.yaml\"]\n  workflow_dispatch:\n\nenv:\n  CONDA_ENV: echopype\n\njobs:\n  windows-test:\n      name: windows-${{ matrix.python-version }}-build\n      runs-on: \"windows-latest\"\n      continue-on-error: ${{ matrix.experimental }}\n      strategy:\n        fail-fast: false\n        matrix:\n          include:\n          - python-version: 3.9\n            experimental: false\n      defaults:\n        run:\n          shell: powershell\n      steps:\n        - name: Checkout repo\n          uses: actions/checkout@v4\n          with:\n            fetch-depth: 0 # Fetch all history for all branches and tags.\n        - name: Set environment variables\n          run: |\n            echo \"PYTHON_VERSION=${{ matrix.python-version }}\" >> $GITHUB_ENV\n        - name: Setup miniconda w/mamba\n          uses: conda-incubator/setup-miniconda@v3\n          with:\n            python-version: ${{ matrix.python-version }}\n            mamba-version: \"*\"\n            channels: conda-forge,defaults\n            channel-priority: true\n            activate-environment: ${{ env.CONDA_ENV }}\n            environment-file: .ci_helpers/py${{ matrix.python-version }}.yaml\n        # Currently problematic! See https://github.com/mamba-org/mamba/issues/2157\n        # - name: Setup micromamba\n        #   uses: mamba-org/provision-with-micromamba@v15\n        #   with:\n        #     environment-file: .ci_helpers/py${{ matrix.python-version }}.yaml\n        #     environment-name: ${{ env.CONDA_ENV }}\n        #     cache-env: true\n        #     cache-env-key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles(format('.ci_helpers/py{0}.yaml', matrix.python-version)) }}\n        - name: Print conda info\n          run: |\n            conda info\n            conda list\n            conda config --show-sources\n            conda config --show\n            printenv | sort\n        - name: Install dev tools\n          run: |\n            mamba install -c conda-forge -n ${{ env.CONDA_ENV }} --yes --file requirements-dev.txt\n        - name: Install echopype\n          run: |\n            python -m pip install -e .\n        - name: Running all Tests\n          run: |\n            pytest -vvv -rx --cov=echopype --cov-report=xml --log-cli-level=WARNING --disable-warnings echopype/tests/utils |& tee ci_${{ matrix.python-version }}_test_log.log\n", "state": "disabled_manually", "repository": "osoceanacoustics/echopype"}
{"mined_at": "2024-07-15T12:44:26.695194", "created_at": "2022-06-30T19:20:28+02:00", "updated_at": "2023-05-22T19:21:39+02:00", "name": "windows-build", "path": ".github/workflows/windows.yaml", "contents": "name: windows-build\n\non:\n  push:\n    branches:\n      - dev\n      - main\n    paths-ignore: [\".ci_helpers/docker/**\", \"**/docker.yaml\"]\n  workflow_dispatch:\n\nenv:\n  CONDA_ENV: echopype\n\njobs:\n  windows-test:\n      name: windows-${{ matrix.python-version }}-build\n      runs-on: \"windows-latest\"\n      continue-on-error: ${{ matrix.experimental }}\n      strategy:\n        fail-fast: false\n        matrix:\n          include:\n          - python-version: 3.9\n            experimental: false\n      defaults:\n        run:\n          shell: powershell\n      services:\n        # TODO: figure out how to update tag when there's a new one\n        minio:\n          image: cormorack/minioci:latest\n          ports:\n            - 9000:9000\n        httpserver:\n          image: cormorack/http:latest\n          ports:\n            - 8080:80\n      steps:\n        - name: Checkout repo\n          uses: actions/checkout@v4\n        - name: Copying test data to http server\n          run: |\n            rm .\\echopype\\test_data -r -fo\n            docker cp -L ${{ job.services.httpserver.id }}:/usr/local/apache2/htdocs/data .\\echopype\\test_data\n\n            # Check data endpoint\n            curl http://localhost:8080/data/\n        - name: Setup Python\n          uses: actions/setup-python@v5.1.0\n          with:\n            python-version: ${{ matrix.python-version }}\n            architecture: x64\n        - name: Cache conda\n          uses: actions/cache@v4.0.2\n          env:\n            # Increase this value to reset cache if '.ci_helpers/py{0}.yaml' has not changed\n            CACHE_NUMBER: 0\n          with:\n            path: ~/conda_pkgs_dir\n            key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles(format('.ci_helpers/py{0}.yaml', matrix.python-version)) }}\n        - name: Setup miniconda\n          uses: conda-incubator/setup-miniconda@v3\n          with:\n            activate-environment: ${{ env.CONDA_ENV }}\n            environment-file: .ci_helpers/py${{ matrix.python-version }}.yaml\n            miniforge-variant: Mambaforge\n            miniforge-version: 4.11.0-0\n            use-mamba: true\n            auto-activate-base: false\n            use-only-tar-bz2: true\n        - name: Print conda env\n          run: |\n            conda info\n            conda list\n        - name: Install dev tools\n          run: |\n            mamba install -c conda-forge --yes --file requirements-dev.txt\n        - name: Install echopype\n          run: |\n            python -m pip install -e .[plot]\n        - name: Running all Tests\n          run: |\n            pytest -vvv -rx --numprocesses=4 --cov=echopype --cov-report=xml --log-cli-level=WARNING --disable-warnings |& tee ci_${{ matrix.python-version }}_test_log.log\n", "state": "disabled_manually", "repository": "osoceanacoustics/echopype"}
{"mined_at": "2024-07-15T12:44:28.725677", "created_at": "2021-11-18T23:19:31+01:00", "updated_at": "2021-11-18T23:19:31+01:00", "name": "CI (bleeding edge)", "path": ".github/workflows/bleeding-edge.yaml", "contents": "name: CI (bleeding edge)\n# this workflow is heavily inspired from pandas, see\n# https://github.com/pandas-dev/pandas/blob/master/.github/workflows/python-dev.yml\n\n# check stability against dev version of Python, numpy, and matplotlib\n# and sympy pre-releases (but avoid pre-releases of sympy's dependencies)\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    paths:\n      - .github/workflows/bleeding-edge.yaml\n  # Run daily at 0:01 UTC\n  schedule:\n    - cron:  '1 0 * * *'\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    name: Python3.12-dev\n    timeout-minutes: 60\n\n    concurrency:\n      group: ${{ github.ref }}-dev\n      cancel-in-progress: true\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python Dev Version\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12-dev'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade setuptools wheel setuptools_scm\n        python -m pip install --pre numpy --only-binary \":all:\" --extra-index \\\n          https://pypi.anaconda.org/scientific-python-nightly-wheels/simple\n        python -m pip install pytest\n        python -m pip install sympy\n        python -m pip install --no-deps --upgrade --pre sympy\n\n    - name: Build unyt\n      run: python -m pip install --no-build-isolation .\n\n    - run: python -m pip list\n\n    - name: Run Tests\n      run: pytest -vvv unyt/\n", "state": "active", "repository": "yt-project/unyt"}
{"mined_at": "2024-07-15T12:44:29.789001", "created_at": "2021-08-06T17:09:17+02:00", "updated_at": "2021-08-10T13:07:27+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n    - master\n  pull_request:\n  schedule:\n    - cron:  '1 0 * * *'\n  workflow_dispatch:\n\n\njobs:\n  test:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version:\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n        # Test all on ubuntu, test ends on macos and windows\n        include:\n          - os: macos-12\n            # pin macos-12 (x86) because Python 3.9 is broken in the arm64 image\n            python-version: '3.9'\n          - os: windows-latest\n            python-version: '3.9'\n          - os: macos-latest\n            python-version: '3.12'\n          - os: windows-latest\n            python-version: '3.12'\n\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Tox and any other packages\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox tox-gh-actions\n      - name: Test\n        run: tox -vvv\n", "state": "active", "repository": "yt-project/unyt"}
{"mined_at": "2024-07-15T12:44:32.784459", "created_at": "2022-10-18T20:28:08+02:00", "updated_at": "2022-10-18T20:28:08+02:00", "name": ".github/workflows/draft-pdf.yml", "path": ".github/workflows/draft-pdf.yml", "contents": null, "state": "active", "repository": "mdolab/pygeo"}
{"mined_at": "2024-07-15T12:44:35.102431", "created_at": "2020-11-14T20:11:28+01:00", "updated_at": "2021-05-13T17:58:34+02:00", "name": "tests", "path": ".github/workflows/main.yml", "contents": "name: tests\n\non:\n  merge_group:\n  push:\n    branches-ignore:\n    # temporary GH branches relating to merge queues (jaraco/skeleton#93)\n    - gh-readonly-queue/**\n    tags:\n    # required if branches-ignore is supplied (jaraco/skeleton#103)\n    - '**'\n  pull_request:\n\npermissions:\n  contents: read\n\nenv:\n  # Environment variable to support color support (jaraco/skeleton#66)\n  FORCE_COLOR: 1\n\n  # Suppress noisy pip warnings\n  PIP_DISABLE_PIP_VERSION_CHECK: 'true'\n  PIP_NO_PYTHON_VERSION_WARNING: 'true'\n  PIP_NO_WARN_SCRIPT_LOCATION: 'true'\n\n  # Ensure tests can sense settings about the environment\n  TOX_OVERRIDE: >-\n    testenv.pass_env+=GITHUB_*,FORCE_COLOR\n\n\njobs:\n  test:\n    strategy:\n      # https://blog.jaraco.com/efficient-use-of-ci-resources/\n      matrix:\n        python:\n        - \"3.8\"\n        - \"3.12\"\n        platform:\n        - ubuntu-latest\n        - macos-latest\n        - windows-latest\n        include:\n        - python: \"3.9\"\n          platform: ubuntu-latest\n        - python: \"3.10\"\n          platform: ubuntu-latest\n        - python: \"3.11\"\n          platform: ubuntu-latest\n        - python: pypy3.10\n          platform: ubuntu-latest\n    runs-on: ${{ matrix.platform }}\n    continue-on-error: ${{ matrix.python == '3.13' }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox\n\n  collateral:\n    strategy:\n      fail-fast: false\n      matrix:\n        job:\n        - diffcov\n        - docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Eval ${{ matrix.job }}\n        run: tox -e ${{ matrix.job }}\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n    - test\n    - collateral\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n\n  release:\n    permissions:\n      contents: write\n    needs:\n    - check\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox -e release\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pmxbot/pmxbot"}
{"mined_at": "2024-07-15T12:44:37.214199", "created_at": "2020-01-10T08:09:21+01:00", "updated_at": "2020-01-10T08:09:21+01:00", "name": "CI", "path": "", "contents": null, "state": "active", "repository": "ironlanguages/ironpython2"}
{"mined_at": "2024-07-15T12:44:38.260178", "created_at": "2020-01-11T21:17:21+01:00", "updated_at": "2020-01-11T21:17:21+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, ubuntu-latest, macos-latest]\n\n    steps:\n    - name: Install tools\n      if: matrix.os == 'ubuntu-latest'\n      run: sudo apt-get -yq install mono-vbnc dos2unix\n    - uses: actions/checkout@v2\n      with:\n        submodules: true\n    - name: Setup .NET Core 2.1\n      uses: actions/setup-dotnet@v1\n      with:\n        dotnet-version: '2.1.x'\n    - name: Setup .NET Core 3.1\n      uses: actions/setup-dotnet@v1\n      with:\n        dotnet-version: '3.1.x'\n    - name: Setup .NET 5.0\n      uses: actions/setup-dotnet@v1\n      with:\n        dotnet-version: '5.0.x'\n    - name: Setup .NET 6.0\n      uses: actions/setup-dotnet@v1\n      with:\n        dotnet-version: '6.0.x'\n    - name: Version Information\n      run: |\n        dotnet --info\n        try { msbuild -version } catch { }\n        try { mono --version } catch { }\n      shell: pwsh\n    - name: Build\n      run: pwsh make.ps1\n    - name: Package\n      run: pwsh make.ps1 package\n    - uses: actions/upload-artifact@v2\n      with:\n        name: packages\n        path: Package/Release/Packages\n    - name: Test (net45)\n      run: ./make.ps1 -frameworks net45 test-all\n      shell: pwsh\n    - name: Test (netcoreapp2.1)\n      run: ./make.ps1 -frameworks netcoreapp2.1 test-all\n      shell: pwsh\n    - name: Test (netcoreapp3.1)\n      run: ./make.ps1 -frameworks netcoreapp3.1 test-all\n      shell: pwsh\n", "state": "active", "repository": "ironlanguages/ironpython2"}
{"mined_at": "2024-07-15T12:44:40.215830", "created_at": "2024-01-09T13:19:08+01:00", "updated_at": "2024-01-11T04:23:47+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yaml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n      - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "urinieto/msaf"}
{"mined_at": "2024-07-15T12:44:41.240248", "created_at": "2023-06-25T11:31:27+02:00", "updated_at": "2023-06-25T11:31:27+02:00", "name": "Build and publish Python packages to PyPI", "path": ".github/workflows/release.yaml", "contents": "name: Build and publish Python packages to PyPI\n\non:\n  workflow_dispatch:\n  release:\n    types:\n      - published\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n\n      - name: Install build tool\n        run: pip install build\n\n      - name: Build package\n        run: python -m build\n\n      - name: Upload package as build artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: package\n          path: dist/\n\n  publish:\n    runs-on: ubuntu-latest\n    needs: build\n    environment:\n      name: pypi\n      url: https://pypi.org/p/msaf\n    permissions:\n      id-token: write\n    steps:\n      - name: Collect packages to release\n        uses: actions/download-artifact@v3\n        with:\n          name: package\n          path: dist/\n\n      - name: Publish packages to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "urinieto/msaf"}
{"mined_at": "2024-07-15T12:44:42.365778", "created_at": "2023-06-09T14:54:01+02:00", "updated_at": "2023-06-09T14:54:01+02:00", "name": "Test Python code", "path": ".github/workflows/test.yaml", "contents": "name: Test Python code\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: recursive\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n\n      - name: Install package\n        run: pip install -e .[tests]\n\n      - name: Install patched mir_eval dependency\n        run: pip install --force-reinstall --no-dependencies git+https://github.com/craffel/mir_eval@d68afb0b37bfd0ff48a92fbe1ae1325a182cd471\n\n      - name: Run unit tests\n        run: pytest --cov=msaf\n        working-directory: tests\n", "state": "active", "repository": "urinieto/msaf"}
{"mined_at": "2024-07-15T12:44:44.481643", "created_at": "2021-03-06T08:40:23+01:00", "updated_at": "2024-04-10T16:38:08+02:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": null, "state": "disabled_manually", "repository": "ucsbarchlab/pyrtl"}
{"mined_at": "2024-07-15T12:44:46.559540", "created_at": "2024-04-09T18:14:39+02:00", "updated_at": "2024-04-09T19:31:19+02:00", "name": "Build and publish release", "path": ".github/workflows/python-release.yml", "contents": "# See PyRTL's release documentation in release/README.md\n#\n# This file configures GitHub actions for building distribution archives and\n# uploading them to PyPI.\n#\n# This configuration is based on the \"Publishing package distribution releases\n# using GitHub Actions\" tutorial at\n# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n\nname: Build and publish release\n\non: push\n\njobs:\n  # Verify that distribution archives can be built on every push.\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n    - name: Install pypa/build\n      run: python3 -m pip install build\n    - name: Build distribution archives\n      run: python3 -m build\n    - name: Upload distribution archives\n      uses: actions/upload-artifact@v4\n      with:\n        name: python-distribution-archives\n        path: dist/\n        compression-level: 0\n\n  # Publish distribution archive to TestPyPI on tag pushes.\n  publish-testpypi:\n    # Only publish to TestPyPI on tag pushes.\n    if: startsWith(github.ref, 'refs/tags/')\n    needs:\n    - build\n    runs-on: ubuntu-latest\n    environment:\n      name: testpypi\n      url: https://test.pypi.org/p/pyrtl\n    permissions:\n      # Required for trusted publishing.\n      id-token: write\n\n    steps:\n    - name: Download distribution archives\n      uses: actions/download-artifact@v4\n      with:\n        name: python-distribution-archives\n        path: dist/\n    - name: Publish distribution archives\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n\n  # Publish distribution archive to PyPI on tag pushes. The 'pypi' environment\n  # requires manual approval on GitHub, so this job won't start automatically.\n  publish-pypi:\n    # Only publish to PyPI on tag pushes.\n    if: startsWith(github.ref, 'refs/tags/')\n    needs:\n    - build\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/pyrtl\n    permissions:\n      # Required for trusted publishing.\n      id-token: write\n\n    steps:\n    - name: Download distribution archives\n      uses: actions/download-artifact@v4\n      with:\n        name: python-distribution-archives\n        path: dist/\n    - name: Publish distribution archives\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "ucsbarchlab/pyrtl"}
{"mined_at": "2024-07-15T12:44:47.799869", "created_at": "2024-04-09T18:14:39+02:00", "updated_at": "2024-04-09T18:14:39+02:00", "name": "Run Python tests", "path": ".github/workflows/python-test.yml", "contents": "name: Run Python tests\n\non:\n  - push\n  - pull_request\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.12]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: python3 -m pip install tox tox-gh-actions\n    - name: Test with tox\n      run: tox\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "ucsbarchlab/pyrtl"}
{"mined_at": "2024-07-15T12:44:48.820109", "created_at": "2024-05-06T22:44:57+02:00", "updated_at": "2024-05-06T22:44:57+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "ucsbarchlab/pyrtl"}
{"mined_at": "2024-07-15T12:44:49.934030", "created_at": "2022-02-19T22:22:59+01:00", "updated_at": "2022-02-19T22:22:59+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ucsbarchlab/pyrtl"}
{"mined_at": "2024-07-15T12:44:52.100533", "created_at": "2021-02-10T00:29:52+01:00", "updated_at": "2021-02-10T00:36:43+01:00", "name": "CI", "path": ".github/workflows/CI.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: \"9 16 * * 1\"\n\njobs:\n  build:\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        cfg:\n          - conda-env: psi\n            python-version: 3.7\n            label: Psi4-1.5\n            runs-on: ubuntu-latest\n            pytest: \"\"\n\n          - conda-env: psi-nightly\n            python-version: \"3.10\"\n            label: Psi4-1.6\n            runs-on: ubuntu-latest\n            pytest: \"\"\n\n          - conda-env: psi-cf\n            python-version: \"3.12\"\n            label: Psi4-1.8\n            runs-on: windows-latest\n            pytest: \"-k 'not (hes2 or qchem)'\"\n\n          - conda-env: torchani\n            python-version: 3.8\n            label: ANI\n            runs-on: ubuntu-latest\n            pytest: \"\"\n\n          - conda-env: openmm\n            python-version: 3.8\n            label: OpenMM\n            runs-on: ubuntu-latest\n            pytest: \"\"\n\n          - conda-env: xtb\n            python-version: \"3.10\"\n            label: xTB\n            runs-on: ubuntu-latest\n            pytest: \"\"\n\n          - conda-env: qcore\n            python-version: 3.7\n            label: QCore\n            runs-on: ubuntu-latest\n            pytest: \"\"\n\n          - conda-env: nwchem\n            python-version: 3.8\n            label: NWChem70\n            runs-on: ubuntu-20.04\n            pytest: \"\"\n            # formerly NWChem v6.6 with python-version: 3.6 & runs-on: ubuntu-16.04 but ubuntu env retired by GH Sep 2021\n\n          - conda-env: nwchem-cf\n            python-version: 3.12\n            label: NWChem\n            runs-on: ubuntu-latest\n            pytest: \"\"\n\n          - conda-env: mrchem\n            python-version: 3.8\n            label: MRChem\n            runs-on: ubuntu-latest\n            pytest: \"\"\n\n          - conda-env: adcc\n            python-version: 3.8\n            label: ADCC\n            runs-on: ubuntu-latest\n            pytest: \"\"\n\n          - conda-env: opt-disp\n            python-version: 3.8\n            label: optimization-dispersion\n            runs-on: ubuntu-latest\n            pytest: \"\"\n\n          - conda-env: opt-disp-cf\n            python-version: 3.11\n            label: optimization-dispersion\n            runs-on: windows-latest\n            pytest: \"-k 'not (hes2 or qchem)'\"\n\n          - conda-env: mace\n            python-version: \"3.10\"\n            label: MACE\n            runs-on: ubuntu-latest\n            pytest: \"\"\n\n          - conda-env: aimnet2\n            python-version: 3.11\n            label: AIMNET2\n            runs-on: ubuntu-latest\n            pytest: \"\"\n\n    name: \"🐍 ${{ matrix.cfg.python-version }} • ${{ matrix.cfg.label }} • ${{ matrix.cfg.runs-on }}\"\n    runs-on: ${{ matrix.cfg.runs-on }}\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n\n    - name: Create Environment\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        activate-environment: test\n        environment-file: devtools/conda-envs/${{ matrix.cfg.conda-env }}.yaml\n        python-version: ${{ matrix.cfg.python-version }}\n        auto-activate-base: false\n        show-channel-urls: true\n        miniforge-variant: Mambaforge\n        use-mamba: true\n        add-pip-as-python-dependency: true\n        # note: conda-forge chnl req'd for Mambaforge, but we'll spec in file, not here `channels: conda-forge,...`\n        # note: any activate/deactivate use the conda cmd. other cmds use mamba cmd.\n\n    - name: Special Config - NWChem\n      if: \"(matrix.cfg.label == 'NWChem70')\"\n      run: |\n        sudo apt-get -y install nwchem\n\n    - name: Special Config - QCore\n      if: \"(matrix.cfg.label == 'QCore')\"\n      run: |\n        qcore --accept-license\n\n    - name: Special Config - QCElemental Dep\n      if: false\n      run: |\n        conda remove qcelemental --force\n        python -m pip install 'git+https://github.com/MolSSI/QCElemental.git@loriab-patch-2' --no-deps\n\n      # note: conda remove --force, not mamba remove --force b/c https://github.com/mamba-org/mamba/issues/412\n      #       alt. is micromamba but not yet ready for setup-miniconda https://github.com/conda-incubator/setup-miniconda/issues/75\n    - name: Special Config - QCEngine Dep\n      if: \"(startsWith(matrix.cfg.label, 'Psi4')) || (matrix.cfg.label == 'ADCC') || (matrix.cfg.label == 'optimization-dispersion')\"\n      run: |\n        conda remove qcengine --force\n\n      # QCEngine CI and Psi4 are circularly dependent, so a hack is in order\n    - name: Special Config - Faux Pydantic Upgrade\n      if: \"((matrix.cfg.label == 'Psi4-1.6') || (matrix.cfg.label == 'optimization-dispersion')) && (runner.os != 'Windows')\"\n      run: |\n        sed -i s/from\\ pydantic\\ /from\\ pydantic.v1\\ /g ${CONDA_PREFIX}/lib/python${{ matrix.cfg.python-version }}/site-packages/psi4/driver/*py\n\n    - name: Environment Information\n      run: |\n        mamba info\n        mamba list\n\n    - name: Install QCEngine\n      run: |\n        python -m pip install . --no-deps\n\n    - name: QCEngineRecords\n      run: |\n        qcengine info\n        export QCER_VER=`python -c \"import qcengine.testing; print(qcengine.testing.QCENGINE_RECORDS_COMMIT)\"`\n        pip install git+https://github.com/MolSSI/QCEngineRecords.git@${QCER_VER}#egg=qcenginerecords\n        python -c \"import qcengine; print(qcengine.config.global_repr())\"\n\n    - name: PyTest\n      run: |\n        pytest -rws -v ${{ matrix.cfg.pytest }} --cov=qcengine --color=yes --cov-report=xml qcengine/\n\n    - name: CodeCov\n      uses: codecov/codecov-action@v3\n\n  release_sphinx:\n    needs: [build]\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        cfg:\n          - conda-env: docs-cf\n            python-version: 3.8\n            label: Sphinx\n            runs-on: ubuntu-latest\n\n    name: \"🐍 ${{ matrix.cfg.python-version }} • ${{ matrix.cfg.label }}\"\n    runs-on: ${{ matrix.cfg.runs-on }}\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Create Environment\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        activate-environment: test\n        environment-file: devtools/conda-envs/${{ matrix.cfg.conda-env }}.yaml\n        python-version: ${{ matrix.cfg.python-version }}\n        auto-activate-base: false\n        miniforge-variant: Mambaforge\n        use-mamba: true\n        add-pip-as-python-dependency: true\n        channels: conda-forge\n\n    - name: Environment Information\n      run: |\n        mamba info\n        mamba list --show-channel-urls\n\n    - name: Build Documentation\n      run: |\n        python -m pip install . --no-deps\n        cd docs\n        make html\n\n    - name: GitHub Pages Deploy\n      uses: JamesIves/github-pages-deploy-action@4.1.1\n      if: github.event_name == 'push' && github.repository == 'MolSSI/QCEngine' && ( startsWith( github.ref, 'refs/tags/' ) || github.ref == 'refs/heads/master' )\n      with:\n        branch: gh-pages\n        folder: docs/build/html\n", "state": "active", "repository": "molssi/qcengine"}
{"mined_at": "2024-07-15T12:44:53.107843", "created_at": "2019-12-19T19:58:59+01:00", "updated_at": "2019-12-19T19:58:59+01:00", "name": "Lint", "path": ".github/workflows/Lint.yml", "contents": "name: Lint\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Python Setup\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"${{ matrix.python-version }}\"\n\n    - name: Create Environment\n      shell: bash\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -e '.[lint]'\n\n    - name: Lint\n      shell: bash\n      run: black qcengine --check\n\n", "state": "active", "repository": "molssi/qcengine"}
{"mined_at": "2024-07-15T12:44:54.149167", "created_at": "2022-11-30T12:39:14+01:00", "updated_at": "2023-08-08T04:38:58+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\", \"gh-pages\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"8 16 * * 2\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "molssi/qcengine"}
{"mined_at": "2024-07-15T12:44:55.169083", "created_at": "2022-01-19T01:31:51+01:00", "updated_at": "2022-01-19T01:31:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "molssi/qcengine"}
{"mined_at": "2024-07-15T12:44:57.134009", "created_at": "2020-11-16T20:34:10+01:00", "updated_at": "2020-11-16T20:34:10+01:00", "name": "Build Package", "path": ".github/workflows/build.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Build Package\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.allow_failure }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        allow_failure: [false]\n        os: [ubuntu-latest]\n        include:\n          - python: \"3.10\"\n            os: ubuntu-latest\n            allow_failure: true\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[dev]\n\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics", "state": "active", "repository": "sdss/marvin"}
{"mined_at": "2024-07-15T12:44:58.449452", "created_at": "2021-03-05T17:30:07+01:00", "updated_at": "2021-03-05T17:30:07+01:00", "name": "Upload to PyPi", "path": ".github/workflows/release.yml", "contents": "name: Upload to PyPi\n\non:\n  release:\n    types: [published]\n\njobs:\n    build:\n\n        runs-on: ubuntu-latest\n\n        steps:\n\n            - name: Checkout code\n              uses: actions/checkout@v2\n\n            - name: Set up Python\n              uses: actions/setup-python@v2\n              with:\n                  python-version: 3.8\n\n            - name: Install dependencies\n              run: |\n                python -m pip install --upgrade pip\n                pip install setuptools wheel twine\n\n            - name: Build package\n              run: |\n                python setup.py sdist bdist_wheel --universal\n\n            - name: Publish to PyPI\n              uses: pypa/gh-action-pypi-publish@master\n              with:\n                  user: __token__\n                  password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "sdss/marvin"}
{"mined_at": "2024-07-15T12:44:59.573133", "created_at": "2022-07-28T23:43:29+02:00", "updated_at": "2022-08-09T17:51:03+02:00", "name": "Run Test Suite", "path": ".github/workflows/test.yml", "contents": "name: Run Test Suite\n\non: [push, pull_request]\n\nenv:\n  SAS_BASE_DIR: sas\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        group: [1, 2, 3, 4, 5]\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n        cache: 'pip'\n        cache-dependency-path: '**/setup.cfg'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install \".[dev,web,db]\"\n\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Cache Files\n      id: cache-sas\n      uses: actions/cache@v3\n      with:\n        path: ${{ env.SAS_BASE_DIR }}\n        key: ${{ runner.os }}-sas-${{ hashFiles('sas/**') }}\n        restore-keys: |\n          ${{ runner.os }}-sas-\n\n    - name: Download and Check Data\n      if: steps.cache-sas.outputs.cache-hit != 'true'\n      run: |\n        mkdir ${{ env.SAS_BASE_DIR }}\n        python bin/get_test_data.py\n        ls ${{ env.SAS_BASE_DIR }}/*\n        find ${{ env.SAS_BASE_DIR }} -name '*'\n        find ${{ env.SAS_BASE_DIR }} -name '*' | wc -l\n        du -sh ${{ env.SAS_BASE_DIR }}\n\n    - name: Setup SDSS-IV data netrc\n      uses: extractions/netrc@v1\n      with:\n        machine: data.sdss.org\n        username: ${{ secrets.S4_USERNAME }}\n        password: ${{ secrets.S4_PASSWORD }}\n\n    - name: Setup SDSS-IV api netrc\n      uses: extractions/netrc@v1\n      with:\n        machine: api.sdss.org\n        username: ${{ secrets.S4_USERNAME }}\n        password: ${{ secrets.S4_PASSWORD }}\n\n    - name: Run tests\n      run: |\n        pytest tests --splits 5 --group ${{ matrix.group }} --durations-path tests/.test_durations --local-only -m \"not uses_web and not uses_db and not slow\"\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n      with:\n        file: ./coverage.xml", "state": "active", "repository": "sdss/marvin"}
{"mined_at": "2024-07-15T12:45:00.577892", "created_at": "2022-07-12T19:55:34+02:00", "updated_at": "2022-07-12T19:55:34+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sdss/marvin"}
{"mined_at": "2024-07-15T12:45:02.711771", "created_at": "2022-09-19T20:57:08+02:00", "updated_at": "2022-10-06T20:14:41+02:00", "name": "Add a label to a PR", "path": ".github/workflows/label-pr.yml", "contents": "name: Add a label to a PR\n\non:\n  pull_request_target:\n    branches: [main]\n    types: [opened, reopened, edited, synchronize, ready_for_review]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  label-pr:\n    if: ${{ !github.event.pull_request.draft }}\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Add a label to pull request\n        uses: srvaroa/labeler@v1.3\n        env:\n          GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n\n      - uses: actions/checkout@v3\n\n      - name: Add a comment if title is malformed\n        uses: ./.github/comment_pr_title\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "tigrlab/datman"}
{"mined_at": "2024-07-15T12:45:04.083284", "created_at": "2022-10-06T20:14:41+02:00", "updated_at": "2022-10-06T20:14:41+02:00", "name": "Create and publish release", "path": ".github/workflows/publish-release.yml", "contents": "name: Create and publish release\n\non:\n  push:\n    tags:\n      - \"v*.*.*\"\n      - \"*.*.*\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  create-release:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Update changelog\n        uses: ./.github/update_changelog\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Update .zenodo.json creators list\n        uses: ./.github/update_zenodo\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Make release\n        uses: softprops/action-gh-release@v1\n        with:\n          body: ${{ steps.make_changelog.outputs.changelog }}\n\n  build-package:\n    needs: create-release\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: ./.github/setup_datman\n\n      - name: Install build packages\n        run: python -m pip install .[build]\n\n      - name: Create package\n        run: python -m build\n\n      - name: Check sdist\n        run: \"twine check dist/datman-*.tar.gz\"\n\n      - name: Check wheel\n        run: \"twine check dist/datman-*.whl\"\n\n      - name: Cache build results\n        uses: actions/cache@v3\n        with:\n          path: ./dist\n          key: datman-${GITHUB_REF#refs/*/}\n\n  push-testpypi:\n    needs: build-package\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Get build cache\n        uses: actions/cache@v3\n        with:\n          path: ./dist\n          key: datman-${GITHUB_REF#refs/*/}\n\n      - name: Publish to test-pypi\n        uses: pypa/gh-action-pypi-publish@v1.5.1\n        with:\n          password: ${{ secrets.TESTPYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n\n  check-package-install:\n    needs: push-testpypi\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n          cache: pip\n\n      - name: Update pip\n        run: python -m pip install --upgrade pip\n\n      - name: Install datman from test-pypi server\n        run: |\n          pip install --index-url https://test.pypi.org/simple/ \\\n            --extra-index-url https://pypi.org/simple \\\n            datman==${GITHUB_REF#refs/*/}\n        shell: bash\n\n      - name: Ensure correct version is installed\n        run: |\n          VERSION=`python -c \"import datman; print(datman.__version__)\"`\n          tmp=\"${GITHUB_REF#refs/*/}\"\n          EXPECTED=${tmp#v*}\n\n          if [ \"$VERSION\" != \"${EXPECTED}\" ]; then\n            exit 1\n          fi\n        shell: bash\n\n  push-pypi:\n    needs: check-package-install\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Get build cache\n        uses: actions/cache@v3\n        with:\n          path: ./dist\n          key: datman-${GITHUB_REF#refs/*/}\n\n      - name: Publish to pypi\n        uses: pypa/gh-action-pypi-publish@v1.5.1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "tigrlab/datman"}
{"mined_at": "2024-07-15T12:45:05.145442", "created_at": "2023-02-28T01:04:54+01:00", "updated_at": "2023-02-28T01:04:54+01:00", "name": "Tests", "path": ".github/workflows/report-tests.yml", "contents": "# Don't change this name or it'll change the text of the badge for the workflow :)\nname: Tests\n\non:\n  workflow_run:\n    workflows: [\"Prepare test results\"]\n    types:\n      - completed\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  report-tests:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: pytest-results\n          path: tmp/results\n\n      - name: Add coverage comment\n        id: coverage\n        uses: MishaKav/pytest-coverage-comment@main\n        with:\n          pytest-coverage-path: /tmp/results/pytest-coverage.txt\n          junitxml-path: /tmp/results/pytest.xml\n          report-only-changed-files: true\n          github-token: ${{ secrets.DATMAN_COVERAGE_COMMENT }}\n\n      - name: Create/update coverage badge\n        if: github.event_name == 'push'\n        uses: schneegans/dynamic-badges-action@v1.4.0\n        with:\n          auth: ${{ secrets.GIST_TOKEN }}\n          gistID: cffe8a0a522de7697edacbf74f70a7e1\n          filename: datman-coverage.json\n          label: Coverage\n          message: ${{ steps.coverage.outputs.coverage }}\n          valColorRange: ${{ steps.coverage.outputs.coverage }}\n          maxColorRange: 100\n          minColorRange: 0\n\n      - name: Fail the check if a test has failed\n        if: ${{ steps.coverage.outputs.failures != 0 }}\n        run: exit 1\n", "state": "active", "repository": "tigrlab/datman"}
{"mined_at": "2024-07-15T12:45:06.237488", "created_at": "2022-09-19T20:57:08+02:00", "updated_at": "2023-02-28T00:46:42+01:00", "name": "Prepare test results", "path": ".github/workflows/run-tests.yml", "contents": "name: Prepare test results\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run-tests:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: ./.github/setup_datman\n        with:\n          py-version: '3.8'\n\n      - name: Install testing requirements\n        run: pip install .[test]\n\n      - name: Make coverage report\n        run: |\n          pytest --junitxml=/tmp/pytest.xml \\\n                 --cov-report=term-missing \\\n                 --cov=bin \\\n                 --cov=datman \\\n                 tests/ | tee /tmp/pytest-coverage.txt\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: pytest\n          path: |\n            /tmp/pytest.xml\n            /tmp/pytest-coverage.txt\n\n  test-alt-py-versions:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python: ['3.9', '3.10']\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: ./.github/setup_datman\n        with:\n          py-version: ${{ matrix.python }}\n\n      - name: Install testing requirements\n        run: pip install .[test]\n\n      - name: Run tests\n        run: pytest -v ./tests\n", "state": "active", "repository": "tigrlab/datman"}
{"mined_at": "2024-07-15T12:45:07.358309", "created_at": "2022-09-19T20:57:08+02:00", "updated_at": "2022-10-06T20:14:41+02:00", "name": "Build and publish docs", "path": ".github/workflows/update-docs.yml", "contents": "name: Build and publish docs\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-docs:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/cache@v3\n        id: cache\n        with:\n          path: docs/_build\n          key: docs-${{ hashFiles('./docs') }}\n\n      - uses: ./.github/setup_datman\n        if: steps.cache.outputs.cache-hit != 'true'\n\n      - name: Install docs requirements\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: python -m pip install .[docs]\n\n      - name: Build docs\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: sphinx-build docs docs/_build\n\n  publish-docs:\n    needs: build-docs\n    if: github.event_name == 'push'\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/cache@v3\n        id: cache\n        with:\n          path: docs/_build\n          key: docs-${{ hashFiles('./docs') }}\n\n      - name: Add .nojekyll file to build folder\n        run: touch docs/_build/.nojekyll\n\n      - name: Deploy docs if the branch has updated\n        uses: JamesIves/github-pages-deploy-action@v4.4.1\n        with:\n          branch: gh-pages\n          folder: docs/_build\n", "state": "active", "repository": "tigrlab/datman"}
{"mined_at": "2024-07-15T12:45:08.351844", "created_at": "2022-02-22T18:15:54+01:00", "updated_at": "2022-02-22T18:15:54+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tigrlab/datman"}
{"mined_at": "2024-07-15T12:45:10.541859", "created_at": "2021-09-13T11:17:18+02:00", "updated_at": "2021-09-14T10:42:13+02:00", "name": "build", "path": ".github/workflows/ci_action.yml", "contents": "name: build\n\non:\n  pull_request:\n  push:\n    branches:\n      - \"master\"\n      - \"develop\"\n  workflow_call:\n\nconcurrency:\n  # This will cancel outdated runs on the same pull-request, but not runs for other triggers\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  # The only way to simulate if-else statement\n  CHECKOUT_BRANCH: ${{ github.event_name == 'schedule' && 'develop' || github.ref }}\n\njobs:\n  check-pre-commit-hooks:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ env.CHECKOUT_BRANCH }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n\n      - uses: pre-commit/action@v3.0.0\n        with:\n          extra_args: --all-files --verbose\n\n  check-code-pylint-and-mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ env.CHECKOUT_BRANCH }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n          cache: pip\n\n      - name: Install packages\n        run: pip install .[DEV] --upgrade --upgrade-strategy eager\n\n      - name: Run pylint\n        run: pylint eolearn\n\n      - name: Run mypy\n        if: success() || failure()\n        run: mypy eolearn\n\n  test-on-github:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n        include:\n          # A flag marks whether full or partial tests should be run\n          # We don't run integration tests on pull requests from outside repos, because they don't have secrets\n          - python-version: \"3.8\"\n            full_test_suite: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ env.CHECKOUT_BRANCH }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n\n      - name: Install packages\n        run: | # must install async-timeout until ray fixes issue\n          pip install -e .[DEV] --upgrade --upgrade-strategy eager\n          pip install async-timeout\n\n      - name: Run full tests and code coverage\n        if: ${{ matrix.full_test_suite }}\n        run: |\n          sentinelhub.config \\\n            --sh_client_id \"${{ secrets.SH_CLIENT_ID }}\" \\\n            --sh_client_secret \"${{ secrets.SH_CLIENT_SECRET }}\"\n          if [ ${{ github.event_name }} == 'push' ]; then\n            pytest -m \"not geopedia\" --cov=eolearn --cov-report=term --cov-report=xml\n          else\n            pytest -m \"not geopedia\"\n          fi\n\n      - name: Run reduced tests\n        if: ${{ !matrix.full_test_suite }}\n        run: pytest -m \"not sh_integration and not geopedia\"\n\n      # - name: Upload code coverage\n      #   if: ${{ matrix.full_test_suite && github.event_name == 'push' }}\n      #   uses: codecov/codecov-action@v2\n      #   with:\n      #     files: coverage.xml\n      #     fail_ci_if_error: true\n      #     verbose: false\n\n  mirror-and-integration-test-on-gitlab:\n    if: github.event_name == 'push'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - name: Mirror + trigger CI\n        uses: SvanBoxel/gitlab-mirror-and-ci-action@master\n        with:\n          args: \"https://hello.planet.com/code/eo/code/eo-learn\"\n        env:\n          FOLLOW_TAGS: \"true\"\n          GITLAB_HOSTNAME: \"hello.planet.com/code\"\n          GITLAB_USERNAME: \"github-action\"\n          GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}\n          GITLAB_PROJECT_ID: \"9715\"\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "sentinel-hub/eo-learn"}
{"mined_at": "2024-07-15T12:45:11.570868", "created_at": "2023-11-06T11:37:15+01:00", "updated_at": "2024-01-10T13:21:20+01:00", "name": "trigger", "path": ".github/workflows/ci_trigger.yml", "contents": "name: trigger\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  trigger:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Trigger API\n        run: >\n          curl -X POST --fail \\\n            -F token=${{ secrets.GITLAB_PIPELINE_TRIGGER_TOKEN }} \\\n            -F ref=main \\\n            -F variables[CUSTOM_RUN_TAG]=auto \\\n            -F variables[LAYER_NAME]=dotai-eo \\\n            https://hello.planet.com/code/api/v4/projects/9723/trigger/pipeline\n", "state": "active", "repository": "sentinel-hub/eo-learn"}
{"mined_at": "2024-07-15T12:45:12.539806", "created_at": "2023-05-19T16:44:54+02:00", "updated_at": "2023-05-19T16:44:54+02:00", "name": "default build caller", "path": ".github/workflows/default_caller.yml", "contents": null, "state": "active", "repository": "sentinel-hub/eo-learn"}
{"mined_at": "2024-07-15T12:45:13.555517", "created_at": "2021-09-14T13:47:45+02:00", "updated_at": "2021-09-14T15:38:57+02:00", "name": "publish Docker images", "path": ".github/workflows/docker_action.yml", "contents": "name: publish Docker images\n\non:\n  release:\n    types: [published]\n\njobs:\n  build_and_push_to_registry:\n    name: Push Docker image to Docker Hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v2\n        with:\n          ref: master\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push latest tag\n        uses: docker/build-push-action@v2\n        with:\n          file: ./docker/eolearn.dockerfile\n          push: true\n          tags: sentinelhub/eolearn:latest\n\n      - name: Build and push latest-examples tag\n        uses: docker/build-push-action@v2\n        with:\n          file: ./docker/eolearn-examples.dockerfile\n          push: true\n          tags: sentinelhub/eolearn:latest-examples\n\n      - name: Update Docker Hub description and readme\n        uses: peter-evans/dockerhub-description@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n          repository: sentinelhub/eolearn\n          short-description: \"Official eo-learn Docker images with Jupyter notebook\"\n          readme-filepath: ./README.md\n", "state": "active", "repository": "sentinel-hub/eo-learn"}
{"mined_at": "2024-07-15T12:45:14.593495", "created_at": "2023-05-24T12:35:39+02:00", "updated_at": "2023-05-24T12:35:39+02:00", "name": "scheduled build caller", "path": ".github/workflows/scheduled_caller.yml", "contents": "name: scheduled build caller\n\non:\n  schedule:\n    # Schedule events are triggered by whoever last changed the cron schedule\n    - cron: \"0 0 * * *\"\n\njobs:\n  call-workflow:\n    uses: sentinel-hub/eo-learn/.github/workflows/ci_action.yml@develop\n    secrets: inherit\n", "state": "active", "repository": "sentinel-hub/eo-learn"}
{"mined_at": "2024-07-15T12:45:16.778680", "created_at": "2021-04-10T12:38:22+02:00", "updated_at": "2022-08-28T03:59:26+02:00", "name": "Test downstream projects", "path": ".github/workflows/downstream.yml", "contents": "name: Test downstream projects\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n\nconcurrency:\n  group: downstream-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  ipython:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: ipython\n          package_spec: pip install -e \".[test]\"\n\n  nbconvert:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: nbconvert\n          package_spec: pip install -e \".[test]\"\n\n  jupyter_server:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: jupyter_server\n\n  ipywidgets:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: ipywidgets\n\n  notebook:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: notebook\n          test_command: pytest -vv --ignore-glob=notebook/tests/selenium/* --ignore-glob=notebook/nbconvert/tests/* --ignore-glob=notebook/services/nbconvert/tests/*\n\n  downstream_check: # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n      - notebook\n      - ipywidgets\n      - jupyter_server\n      - nbconvert\n      - ipython\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "ipython/traitlets"}
{"mined_at": "2024-07-15T12:45:18.872806", "created_at": "2022-10-08T13:08:24+02:00", "updated_at": "2022-10-14T13:25:41+02:00", "name": "Enforce PR label", "path": ".github/workflows/enforce-label.yml", "contents": "name: Enforce PR label\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, edited, synchronize]\njobs:\n  enforce-label:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: enforce-triage-label\n        uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1\n", "state": "active", "repository": "ipython/traitlets"}
{"mined_at": "2024-07-15T12:45:20.975472", "created_at": "2022-11-29T13:24:12+01:00", "updated_at": "2022-11-29T13:24:12+01:00", "name": "Step 1: Prep Release", "path": ".github/workflows/prep-release.yml", "contents": "name: \"Step 1: Prep Release\"\non:\n  workflow_dispatch:\n    inputs:\n      version_spec:\n        description: \"New Version Specifier\"\n        default: \"next\"\n        required: false\n      branch:\n        description: \"The branch to target\"\n        required: false\n      post_version_spec:\n        description: \"Post Version Specifier\"\n        required: false\n      silent:\n        description: \"Set a placeholder in the changelog and don't publish the release.\"\n        required: false\n        type: boolean\n      since:\n        description: \"Use PRs with activity since this date or git reference\"\n        required: false\n      since_last_stable:\n        description: \"Use PRs with activity since the last stable git tag\"\n        required: false\n        type: boolean\njobs:\n  prep_release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Prep Release\n        id: prep-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          version_spec: ${{ github.event.inputs.version_spec }}\n          silent: ${{ github.event.inputs.silent }}\n          post_version_spec: ${{ github.event.inputs.post_version_spec }}\n          target: ${{ github.event.inputs.target }}\n          branch: ${{ github.event.inputs.branch }}\n          since: ${{ github.event.inputs.since }}\n          since_last_stable: ${{ github.event.inputs.since_last_stable }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}\"\n", "state": "active", "repository": "ipython/traitlets"}
{"mined_at": "2024-07-15T12:45:22.368550", "created_at": "2024-03-12T13:33:11+01:00", "updated_at": "2024-03-12T13:33:11+01:00", "name": "Publish Changelog", "path": ".github/workflows/publish-changelog.yml", "contents": "name: \"Publish Changelog\"\non:\n  release:\n    types: [published]\n\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch to target\"\n        required: false\n\njobs:\n  publish_changelog:\n    runs-on: ubuntu-latest\n    environment: release\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Publish changelog\n        id: publish-changelog\n        uses: jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}\"\n", "state": "active", "repository": "ipython/traitlets"}
{"mined_at": "2024-07-15T12:45:23.406847", "created_at": "2022-11-29T13:24:12+01:00", "updated_at": "2022-11-29T13:24:12+01:00", "name": "Step 2: Publish Release", "path": ".github/workflows/publish-release.yml", "contents": "name: \"Step 2: Publish Release\"\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The target branch\"\n        required: false\n      release_url:\n        description: \"The URL of the draft GitHub release\"\n        required: false\n      steps_to_skip:\n        description: \"Comma separated list of steps to skip\"\n        required: false\n\njobs:\n  publish_release:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Populate Release\n        id: populate-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n          release_url: ${{ github.event.inputs.release_url }}\n          steps_to_skip: ${{ github.event.inputs.steps_to_skip }}\n\n      - name: Finalize Release\n        id: finalize-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          release_url: ${{ steps.populate-release.outputs.release_url }}\n\n      - name: \"** Next Step **\"\n        if: ${{ success() }}\n        run: |\n          echo \"Verify the final release\"\n          echo ${{ steps.finalize-release.outputs.release_url }}\n\n      - name: \"** Failure Message **\"\n        if: ${{ failure() }}\n        run: |\n          echo \"Failed to Publish the Draft Release Url:\"\n          echo ${{ steps.populate-release.outputs.release_url }}\n", "state": "active", "repository": "ipython/traitlets"}
{"mined_at": "2024-07-15T12:45:24.539589", "created_at": "2021-04-10T12:38:22+02:00", "updated_at": "2021-04-10T12:38:22+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 8 * * *\"\n\nconcurrency:\n  group: >-\n    ${{ github.workflow }}-\n    ${{ github.ref_type }}-\n    ${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash -eux {0}\n\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: [\"3.8\", \"3.12\"]\n        include:\n          - os: windows-latest\n            python-version: \"3.9\"\n          - os: ubuntu-latest\n            python-version: \"pypy-3.8\"\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n          - os: macos-latest\n            python-version: \"3.11\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Run Tests\n        run: hatch run cov:test\n      - uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1\n\n  coverage:\n    runs-on: ubuntu-latest\n    needs:\n      - tests\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/report-coverage@v1\n\n  test_minimum_versions:\n    name: Test Minimum Versions\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: minimum\n      - name: Run the unit tests\n        run: |\n          hatch run test:nowarn || hatch -v run test:nowarn --lf\n\n  test_lint:\n    name: Test Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Run Linters\n        run: |\n          hatch run typing:test\n          hatch run lint:build\n          pipx run 'validate-pyproject[all]' pyproject.toml\n          pipx run doc8 --max-line-length=200\n\n  test_docs:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Build the docs\n        run: hatch run docs:build\n\n  test_prereleases:\n    name: Test Prereleases\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: pre\n      - name: Run the tests\n        run: |\n          hatch run test:nowarn || hatch run test:nowarn --lf\n\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/make-sdist@v1\n\n  test_sdist:\n    runs-on: ubuntu-latest\n    needs: [make_sdist]\n    name: Install from SDist and Test\n    timeout-minutes: 20\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1\n\n  check_links:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1\n\n  check_release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Install Dependencies\n        run: |\n          pip install -e .\n      - name: Check Release\n        uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  tests_check: # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n      - coverage\n      - test_lint\n      - test_docs\n      - test_minimum_versions\n      - test_prereleases\n      - check_links\n      - check_release\n      - test_sdist\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "ipython/traitlets"}
{"mined_at": "2024-07-15T12:45:27.602365", "created_at": "2024-03-06T22:30:09+01:00", "updated_at": "2024-03-15T19:32:10+01:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non:\n  pull_request:\n    branches:\n      - master\n  push:\n    branches:\n      - master\n\njobs:\n  build_docs:\n    name: Build\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Check out repo\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        filter: tree:0\n    - name: Set up conda environment\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        activate-environment: ci-env\n        python-version: 3.11\n        environment-file: .github/conda_environments/docs_env.yml\n        auto-activate-base: false\n    - name: Install our package\n      run: |\n        pip install -e \".[doc]\"\n      shell: bash -l {0}\n    - name: Print package versions\n      run: |\n        python --version\n        python -c \"import numpy; print('Numpy', numpy.__version__)\"\n        python -c \"import scipy; print('Scipy', scipy.__version__)\"\n        python -c \"import matplotlib; print('Matplotlib', matplotlib.__version__)\"\n        python -c \"import hcipy; print('HCIPy', hcipy.__version__)\"\n        conda list\n      shell: bash -l {0}\n    - name: Build documentation\n      run: |\n        cd doc\n        make html\n      shell: bash -l {0}\n    - name: Upload documentation artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: docs\n        path: ./doc/_build/html\n        retention-days: 14\n\n  deploy:\n    name: Deploy\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name == 'push' }}\n    needs: build_docs\n\n    steps:\n    - name: Download documentation artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: docs\n        path: ./doc\n\n    - name: Configure AWS credentials\n      uses: aws-actions/configure-aws-credentials@v1\n      with:\n        aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        aws-region: ${{ vars.AWS_REGION }}\n\n    - name: Upload documentation to website\n      run: |\n        aws s3 sync --acl public-read --delete --cache-control max-age=86400,public ./doc s3://docs.hcipy.org/dev\n      shell: bash -l {0}\n", "state": "active", "repository": "ehpor/hcipy"}
{"mined_at": "2024-07-15T12:45:28.646976", "created_at": "2021-12-04T19:23:55+01:00", "updated_at": "2024-03-06T22:30:09+01:00", "name": "Linting", "path": ".github/workflows/lint.yml", "contents": "name: Linting\n\non: [pull_request]\n\njobs:\n  flake8-lint:\n    runs-on: ubuntu-latest\n    name: Flake8\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@v4\n      - name: Set up Python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install linting dependencies\n        run: |\n          python -m pip install flake8\n        shell: bash\n      - name: Lint with flake8\n        run: |\n          echo \"::add-matcher::.github/flake8_problem_matcher.json\"\n          flake8 . --max-line-length=127 --count --statistics\n        shell: bash\n", "state": "active", "repository": "ehpor/hcipy"}
{"mined_at": "2024-07-15T12:45:29.697129", "created_at": "2024-03-06T22:30:09+01:00", "updated_at": "2024-03-15T19:32:10+01:00", "name": "Testing", "path": ".github/workflows/testing.yml", "contents": "name: Testing\n\non:\n  pull_request:\n    branches:\n      - master\n  push:\n    branches:\n      - master\n\njobs:\n  pytest:\n    name: Pytest (${{ matrix.os }} Python${{ matrix.python_version }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python_version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - name: Check out repo\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        filter: tree:0\n    - name: Set up conda environment\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        activate-environment: ci-env\n        python-version: ${{ matrix.python_version }}\n        environment-file: .github/conda_environments/testing_env.yml\n        auto-activate-base: false\n    - name: Install our package\n      run: |\n        pip install -e \".[dev]\"\n      shell: bash -l {0}\n    - name: Print package versions\n      run: |\n        python --version\n        python -c \"import numpy; print('Numpy', numpy.__version__)\"\n        python -c \"import scipy; print('Scipy', scipy.__version__)\"\n        python -c \"import matplotlib; print('Matplotlib', matplotlib.__version__)\"\n        python -c \"import hcipy; print('HCIPy', hcipy.__version__)\"\n        conda list\n      shell: bash -l {0}\n    - name: Run tests\n      run: |\n        pytest ./tests -ra --cov=./ --cov-report=xml\n      shell: bash -l {0}\n    - name: Upload coverage to codecov.io\n      if: always()\n      uses: codecov/codecov-action@v4\n      with:\n        files: ./coverage.xml\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "ehpor/hcipy"}
{"mined_at": "2024-07-15T12:45:31.821699", "created_at": "2022-01-20T16:57:34+01:00", "updated_at": "2022-01-20T16:57:34+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ibmresilient/resilient-python-api"}
{"mined_at": "2024-07-15T12:45:34.938150", "created_at": "2024-02-28T23:52:27+01:00", "updated_at": "2024-05-02T13:38:33+02:00", "name": "Run PySide6 Tests", "path": ".github/workflows/pyside6.yml", "contents": "name: Run PySide6 Tests\n\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"*\"\n\njobs:\n  test:\n    runs-on: ubuntu-22.04\n\n    env:\n      QT_PREFERRED_BINDING: PySide6\n      QT_QPA_PLATFORM: minimal\n      QT_VERBOSE: 1\n      PYTHONPATH: \"${{ github.workspace }}\"\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Install EGL mesa\n        run: |\n          sudo apt-get update -y -qq\n          sudo apt-get install -y -qq libegl1-mesa libegl1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev\n\n      - name: Install GUI libs\n        run: |\n          sudo apt-get install -y -qq libxcb-xinerama0\n          sudo apt-get install -y -qq libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xfixes0 libxcb-cursor0 \n\n      - name: Pip install . \n        run: |\n          python3.10 -m pip install .\n\n      - name: Pip install PySide6 and dependencies \n        run: |\n          python3.10 -m pip install PySide6 nose2 nosepipe six packaging setuptools wheel\n\n      - name: Testing implementation..\n        run: |\n          python3.10 -m nose2 --verbose tests\n        \n      - name: Building caveats..\n        run: |\n          python3.10 -u build_caveats.py\n\n      - name: Testing caveats..\n        run: |\n          python3.10 -m nose2 --verbose test_caveats\n\n      - name: Testing examples..\n        run: |\n          python3.10 -m nose2 --verbose examples.loadUi.baseinstance1\n          python3.10 -m nose2 --verbose examples.QtSiteConfig.main\n", "state": "active", "repository": "mottosso/qt.py"}
{"mined_at": "2024-07-15T12:45:35.986467", "created_at": "2024-02-02T08:48:29+01:00", "updated_at": "2024-02-02T08:57:25+01:00", "name": "Release to PyPi", "path": ".github/workflows/release-to-pypi.yml", "contents": "name: Release to PyPi\n\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  build-and-release:\n    name: Build and Release\n    runs-on: ubuntu-latest\n    if: github.repository_owner == 'mottosso'\n\n    environment:\n      name: pypi\n      url: https://pypi.org/p/Qt.py\n    permissions:\n      id-token: write # IMPORTANT: this permission is mandatory for trusted publishing\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.7.x\"\n      - name: Install build dependency\n        run: python3 -m pip install --upgrade build\n      - name: Build a binary wheel and a source tarball\n        run: python3 -m build\n      - name: Release to PyPi\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "mottosso/qt.py"}
{"mined_at": "2024-07-15T12:45:37.034983", "created_at": "2024-02-02T08:38:56+01:00", "updated_at": "2024-02-02T08:57:25+01:00", "name": "Run Tests", "path": ".github/workflows/run-tests.yml", "contents": "name: Run Tests\n\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"*\"\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-latest\n            VFXPLATFORM: \"2018\"\n            PYTHON: \"2.7\"\n          - os: ubuntu-latest\n            VFXPLATFORM: \"2018\"\n            PYTHON: \"3.4\"\n          - os: ubuntu-latest\n            VFXPLATFORM: \"2018\"\n            PYTHON: \"3.5\"\n          - os: ubuntu-latest\n            VFXPLATFORM: \"2018\"\n            PYTHON: \"3.6\"\n          - os: ubuntu-latest\n            VFXPLATFORM: \"2017\"\n            PYTHON: \"2.7\"\n          - os: ubuntu-latest\n            VFXPLATFORM: \"2017\"\n            PYTHON: \"3.4\"\n          - os: ubuntu-latest\n            VFXPLATFORM: \"2017\"\n            PYTHON: \"3.5\"\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Run tests in Docker container\n        run: |\n          docker run --rm \\\n            -v $(pwd):/Qt.py \\\n            -e PYTHON=${{ matrix.PYTHON }} \\\n            fredrikaverpil/qt.py:${{ matrix.VFXPLATFORM }}\n", "state": "active", "repository": "mottosso/qt.py"}
{"mined_at": "2024-07-15T12:45:39.190571", "created_at": "2021-07-09T13:11:09+02:00", "updated_at": "2021-07-12T12:15:56+02:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": "name: Pylint\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    \n    strategy:\n      matrix:\n        os: [ ubuntu-latest, windows-latest ]\n        python-version: [ 3.9, '3.10', 3.11, 3.12 ]\n        exclude:\n          - os: windows-latest\n            python-version: 3.9\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pylint\n          pip install -r requirements.txt\n          pip install -r development.txt\n          pip install ntc_templates==1.4.1\n          pip install textfsm==0.4.1\n          pip install .\n\n      - name: Run black tool\n        run: |\n          pip install -U black;\n          black --check --diff --exclude=\"docs|build|tests|samples\" . \n\n      - name: Run unit tests\n        run: |\n          nose2 --with-coverage -vvv tests.unit\n", "state": "active", "repository": "juniper/py-junos-eznc"}
{"mined_at": "2024-07-15T12:45:42.280183", "created_at": "2020-01-10T10:58:05+01:00", "updated_at": "2020-01-10T11:04:48+01:00", "name": "LEGO backend", "path": "", "contents": null, "state": "active", "repository": "webkom/lego"}
{"mined_at": "2024-07-15T12:45:44.374731", "created_at": "2024-06-05T12:58:55+02:00", "updated_at": "2024-06-05T12:58:55+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "datosgobar/series-tiempo-ar-api"}
{"mined_at": "2024-07-15T12:45:46.480713", "created_at": "2020-03-16T19:20:02+01:00", "updated_at": "2024-05-07T10:22:25+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "---\nname: CI\n\non:\n  push:\n    branches: [\"*\"]\n  pull_request:\n    branches: [\"*\"]\n  schedule:\n    - cron: \"0 8 * * 2\"\n\njobs:\n  tests-linux:\n    name: \"Tests on ${{ matrix.python-version }} on ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 45\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: \"actions/checkout@v3\"\n      - uses: \"actions/setup-python@v4\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements*.txt\"\n      - name: \"Install dependencies\"\n        run: |\n          set -xe\n          python -VV\n          python -m site\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install --upgrade coverage[toml] virtualenv tox tox-gh-actions\n\n      - name: \"Run tox targets for ${{ matrix.python-version }}\"\n        run: \"python -m tox\"\n\n  tests-windows:\n    name: \"Tests on ${{ matrix.python-version }} on ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 45\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: \"actions/checkout@v3\"\n      - uses: \"actions/setup-python@v4\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements*.txt\"\n      - name: \"Install dependencies\"\n        run: |\n          python -VV\n          python -m site\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install --upgrade coverage[toml] virtualenv tox tox-gh-actions\n\n      - name: \"Run tox targets for ${{ matrix.python-version }}\"\n        run: \"python -m tox\"\n\n  tests-conda:\n    name: \"Tests with conda (${{ matrix.python-version }} on ${{ matrix.os }})\"\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 45\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"windows-latest\"]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: \"actions/checkout@v3\"\n      - uses: actions/cache@v3\n        env:\n          CACHE_NUMBER: 0\n        with:\n          path: |\n            ~/conda_pkgs_dir\n            ${{ env.CONDA }}/envs\n          key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.txt') }}\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          channels: conda-forge\n          allow-softlinks: true\n          channel-priority: flexible\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n          activate-environment: pydov\n      - name: Install package dependencies with conda\n        shell: pwsh\n        run: |\n          conda update -n base -c defaults conda\n          conda install -n base conda-libmamba-solver\n          conda config --set solver libmamba\n          conda install --name pydov --file requirements.txt\n          conda install --name pydov fiona>=1.8.18 geopandas shapely\n          conda list\n      - name: Install proxy dependencies with pip\n        if: ${{ matrix.os == 'windows-latest' }}\n        shell: pwsh\n        run: |\n          pip install -r requirements_proxy.txt\n          conda list\n      - name: Install geom dependencies with pip\n        shell: pwsh\n        run: |\n          pip install -r requirements_geom.txt\n          conda list\n      - name: Install development dependencies with pip\n        shell: pwsh\n        run: |\n          pip install -r requirements_dev.txt\n          conda list\n      - name: Run unit tests\n        shell: pwsh\n        run: |\n          python -m pytest\n\n  update-data:\n    name: \"Updated data on ${{ matrix.python-version }} on ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 45\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.11\"]\n    steps:\n      - uses: \"actions/checkout@v3\"\n      - uses: \"actions/setup-python@v4\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements*.txt\"\n      - name: \"Install dependencies\"\n        run: |\n          set -xe\n          python -VV\n          python -m site\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install --upgrade coverage[toml] virtualenv tox tox-gh-actions\n\n      - name: \"Run tox targets for ${{ matrix.python-version }}\"\n        run: \"python -m tox -e 'update-oefen, update-productie'\"\n\n  flake8:\n    name: \"Flake8 on ${{ matrix.python-version }} on ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 45\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.11\"]\n    steps:\n      - uses: \"actions/checkout@v3\"\n      - uses: \"actions/setup-python@v4\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements*.txt\"\n      - name: \"Install dependencies\"\n        run: |\n          set -xe\n          python -VV\n          python -m site\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install --upgrade coverage[toml] virtualenv tox tox-gh-actions\n\n      - name: \"Run tox targets for ${{ matrix.python-version }}\"\n        run: \"python -m tox -e 'flake8'\"\n\n  docs:\n    name: \"Docs on ${{ matrix.python-version }} on ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 45\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.11\"]\n    steps:\n      - uses: \"actions/checkout@v3\"\n      - uses: \"actions/setup-python@v4\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements*.txt\"\n      - name: \"Install pandoc\"\n        run: sudo apt install pandoc\n      - name: \"Install dependencies\"\n        run: |\n          set -xe\n          python -VV\n          python -m site\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install --upgrade coverage[toml] virtualenv tox tox-gh-actions\n\n      - name: \"Run tox targets for ${{ matrix.python-version }}\"\n        run: \"python -m tox -e 'docs'\"\n", "state": "active", "repository": "dov-vlaanderen/pydov"}
{"mined_at": "2024-07-15T12:45:47.704261", "created_at": "2020-07-26T16:19:29+02:00", "updated_at": "2020-07-26T16:19:29+02:00", "name": "Upload Python Package", "path": ".github/workflows/pypi.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[devs]\n          pip install setuptools wheel twine\n      - name: Build packages\n        run: |\n          python setup.py sdist bdist_wheel\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_token }}\n", "state": "active", "repository": "dov-vlaanderen/pydov"}
{"mined_at": "2024-07-15T12:45:48.824904", "created_at": "2023-03-23T13:18:22+01:00", "updated_at": "2023-03-23T13:18:22+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "dov-vlaanderen/pydov"}
{"mined_at": "2024-07-15T12:45:52.040680", "created_at": "2020-04-13T00:42:35+02:00", "updated_at": "2023-12-19T04:09:24+01:00", "name": "SeleniumLibrary CI", "path": ".github/workflows/CI.yml", "contents": "name: SeleniumLibrary CI\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    strategy:\n      matrix:\n        python-version: [3.8, 3.11]  # 3.12, pypy-3.9\n        rf-version: [5.0.1, 6.1.1, 7.0]\n        selenium-version: [4.20.0, 4.21.0]\n        browser: [firefox, chrome, headlesschrome]  #edge\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }} with Robot Framework ${{ matrix.rf-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Setup Chrome\n      uses: browser-actions/setup-chrome@latest\n      with:\n        chrome-version: latest\n      id: setup-chrome\n    - run: |\n        echo Installed chromium version: ${{ steps.setup-chrome.outputs.chrome-version }}\n        ${{ steps.setup-chrome.outputs.chrome-path }} --version\n    - name: Setup firefox\n      id: setup-firefox\n      uses: browser-actions/setup-firefox@v1\n      with:\n        firefox-version: latest\n    - run: |\n        echo Installed firefox versions: ${{ steps.setup-firefox.outputs.firefox-version }}\n        ${{ steps.setup-firefox.outputs.firefox-path }} --version\n    - name: Start xvfb\n      run: |\n        export DISPLAY=:99.0\n        Xvfb -ac :99 -screen 0 1280x1024x16 > /dev/null 2>&1 &\n    - name: Install dependencies\n      if: matrix.python-version != 'pypy-3.7'\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements-dev.txt\n    - name: Install dependencies for pypy\n      if: matrix.python-version == 'pypy-3.9'\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install robotstatuschecker>=1.4\n        pip install requests robotframework-pabot\n    - name: Install Seleninum v${{ matrix.selenium-version }}\n      run: |\n        pip install --upgrade selenium==${{ matrix.selenium-version }}\n    - name: Install RF ${{ matrix.rf-version }}\n      run: |\n        pip install -U --pre robotframework==${{ matrix.rf-version }}\n    - name: Install drivers via selenium-manager\n      run: |\n        if [[ ${{ matrix.selenium-version }} == '4.20.0' || ${{ matrix.selenium-version }} == '4.21.0' ]]; then\n          SELENIUM_MANAGER_EXE=$(python -c 'from selenium.webdriver.common.selenium_manager import SeleniumManager; sm=SeleniumManager(); print(f\"{str(sm._get_binary())}\")')\n        else\n          SELENIUM_MANAGER_EXE=$(python -c 'from selenium.webdriver.common.selenium_manager import SeleniumManager; sm=SeleniumManager(); print(f\"{str(sm.get_binary())}\")')\n        fi \n        echo \"$SELENIUM_MANAGER_EXE\"\n        echo \"WEBDRIVERPATH=$($SELENIUM_MANAGER_EXE --browser chrome --debug | awk '/INFO[[:space:]]Driver path:/ {print $NF;exit}')\" >> \"$GITHUB_ENV\"\n        echo \"$WEBDRIVERPATH\"\n    - name: Generate stub file for ${{ matrix.python-version }}\n      if: matrix.python-version != 'pypy-3.9'\n      run: |\n        invoke gen-stub\n\n    # Temporarily ignoring pypy execution\n    - name: Run tests with headless Chrome and with PyPy\n      if: startsWith( matrix.python-version, 'pypy') == true\n      run: |\n        xvfb-run --auto-servernum python atest/run.py --nounit --zip headlesschrome\n\n    - name: Run tests with ${{ matrix.browser }} if CPython\n      if: startsWith( matrix.python-version, 'pypy') == false\n      run: |\n        xvfb-run --auto-servernum python atest/run.py --zip ${{ matrix.browser }}\n\n    # - name: Run tests with Selenium Grid\n    #   if: matrix.python-version == '3.11' && matrix.rf-version == '3.2.2' && matrix.python-version != 'pypy-3.9'\n    #   run: |\n    #     wget --no-verbose --output-document=./selenium-server-standalone.jar http://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar\n    #     sudo chmod u+x ./selenium-server-standalone.jar\n    #     xvfb-run --auto-servernum python atest/run.py --zip headlesschrome  --grid True\n\n    - uses: actions/upload-artifact@v1\n      if: failure()\n      with:\n        name: SeleniumLibrary Test results\n        path: atest/zip_results\n", "state": "active", "repository": "robotframework/seleniumlibrary"}
{"mined_at": "2024-07-15T12:45:53.122387", "created_at": "2021-12-19T13:23:56+01:00", "updated_at": "2021-12-19T13:23:56+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "robotframework/seleniumlibrary"}
{"mined_at": "2024-07-15T12:45:57.207853", "created_at": "2021-08-29T15:21:41+02:00", "updated_at": "2021-08-29T15:34:45+02:00", "name": "Code quality", "path": ".github/workflows/lint.yml", "contents": "name: Code quality\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n\n    - name: Run code quality tests with tox\n      run: tox\n      env:\n        TOXENV: ruff,mypy,docs\n", "state": "active", "repository": "graphql-python/graphql-core"}
{"mined_at": "2024-07-15T12:45:58.287479", "created_at": "2021-08-29T15:21:41+02:00", "updated_at": "2021-08-29T15:34:45+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Build wheel and source tarball\n      run: |\n        pip install poetry\n        poetry build\n    - name: Publish a Python distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "graphql-python/graphql-core"}
{"mined_at": "2024-07-15T12:45:59.302039", "created_at": "2021-08-29T15:21:41+02:00", "updated_at": "2021-08-29T15:34:45+02:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9', 'pypy3.10']\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \"tox>=3.28,<5\" \"tox-gh-actions>=3.2,<4\"\n\n      - name: Run unit tests with tox\n        run: tox\n", "state": "active", "repository": "graphql-python/graphql-core"}
{"mined_at": "2024-07-15T12:46:01.410590", "created_at": "2021-10-12T01:17:35+02:00", "updated_at": "2021-10-13T22:33:18+02:00", "name": "django-salesforce test", "path": ".github/workflows/main.yml", "contents": "name: django-salesforce test\n\non:\n  push:\n    branches: [ 'actions*', main ]\n  # pull_request:\n  #   branches: [ main ]\n# # prefer to teminate some queued jobs only manually, \"max-parallel: 1\" works enough\n# concurrency:\n#   group: one-job-at-a-time\n#   cancel-in-progress: true\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 1\n      matrix:\n        python-version: [3.8, 3.12, 3.11, \"3.10\", 3.9]\n    timeout-minutes: 20\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Dependencies, Customize local_settings\n      run: |\n        python${{ matrix.python-version }} -V\n        pip install --upgrade pip\n        pip install tox\n        # this should be used only for a capitalized primary key 'Id' with migrations\n        # sed -i -e \"s/'id', salesforce/'Id', salesforce/\" salesforce/testrunner/example/migrations/0*.py\n    - name: Run Tests\n      env:\n        DJSF_LICENSE_KEY: ${{ secrets.DJSF_LICENSE_KEY }}\n        SF_CONSUMER_KEY: ${{ secrets.SF_CONSUMER_KEY }}\n        SF_CONSUMER_SECRET: ${{ secrets.SF_CONSUMER_SECRET }}\n        SF_USER: ${{ secrets.SF_USER }}\n        SF_PASSWORD: ${{ secrets.SF_PASSWORD }}\n        SF_HOST: ${{ secrets.SF_HOST }}\n\n        TOXENV_38:  \"docs_style,typing,clean,dj22-py38,dj21-py38\"\n        TOXENV_312: \"dj50-py312\"\n        TOXENV_311: \"dj42-py311\"\n        TOXENV_310: \"dj40-py310\"\n        TOXENV_39:  \"no_django-py39,debug_toolbar-dj42-py39,dj32-py39,dj30-py39\"\n      run: |\n        TOXENV_NAME=$(echo TOXENV_${{ matrix.python-version }} | sed 's/\\.//')\n        cat > salesforce/testrunner/local_settings.py <<'-- end local_settings --'\n        SF_PK = 'Id'\n        SF_LAZY_CONNECT = False\n        -- end local_settings --\n        echo \"tox -e ${!TOXENV_NAME}\"\n        tox -e ${!TOXENV_NAME} --colored yes\n", "state": "active", "repository": "django-salesforce/django-salesforce"}
{"mined_at": "2024-07-15T12:46:03.481235", "created_at": "2020-01-19T20:36:44+01:00", "updated_at": "2020-01-20T03:49:40+01:00", "name": "Test/build", "path": ".github/workflows/build.yml", "contents": "name: Test/build\n\non:\n  workflow_dispatch:  # Allows manual triggering\n  push:  # only build on pusheess to the main branch\n    branches:\n      - master\n  pull_request:\n\n# Stop current actions if there is a new push to the same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        python-version: [3.11, 3.12]\n        platform: [ubuntu-latest, macos-latest, windows-latest]\n        # The include below adds jobs on older versions of python,\n        # but just on one platform. Windows is probably the most widely\n        # used for vpython, so test on that.\n        include:\n          - python-version: \"3.8\"\n            platform: windows-latest\n          - python-version: \"3.9\"\n            platform: windows-latest\n          - python-version: \"3.10\"\n            platform: windows-latest\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Get pip cache location\n      id: pip-cache\n      run: |\n        python -c \"from pip._internal.locations import USER_CACHE_DIR; print('::set-output name=dir::' + USER_CACHE_DIR)\"\n\n    - uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest Cython wheel build\n\n    - name: Build sdist and wheel\n      run: |\n        python -m build\n\n    - name: Install vpython\n      run: |\n        pip install .\n\n    - name: Run tests\n      run: |\n        pytest vpython\n\n    - name: Import test\n      run: |\n        python -c \"import vpython\"\n\n  build_aarch64:\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [cp38-cp38, cp39-cp39, cp310-cp310, cp311-cp311, cp312-cp312]\n    runs-on: ubuntu-latest\n    env:\n      py: /opt/python/${{ matrix.python-version }}/bin/python\n      img: quay.io/pypa/manylinux2014_aarch64\n\n    steps:\n\n    - uses: actions/checkout@v4\n\n    - name: Set up QEMU\n      id: qemu\n      uses: docker/setup-qemu-action@v3\n\n    - name: Build and Test\n      run: |\n        docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \\\n           ${{ env.img }} \\\n           bash -exc '${{ env.py }} -m venv .env && \\\n           source .env/bin/activate && \\\n           echo -e \"\\e[1;34m Install dependencies \\e[0m\" && \\\n           python -m pip install --upgrade pip && \\\n           pip install pytest Cython wheel build && \\\n           echo -e \"\\e[1;34m Build wheel \\e[0m\" && \\\n           python -m build && \\\n           echo -e \"\\e[1;34m Install vpython \\e[0m\" && \\\n           pip install . && \\\n           echo -e \"\\e[1;34m Run tests \\e[0m\" && \\\n           pytest vpython && \\\n           echo -e \"\\e[1;34m Import test \\e[0m\" && \\\n           python -c \"import vpython\" && \\\n           deactivate'\n", "state": "active", "repository": "vpython/vpython-jupyter"}
{"mined_at": "2024-07-15T12:46:04.535199", "created_at": "2020-01-20T21:13:40+01:00", "updated_at": "2023-10-02T16:44:41+02:00", "name": ".github/workflows/copy_conda_packages.yml", "path": ".github/workflows/copy_conda_packages.yml", "contents": "on:\n  workflow_dispatch:  # Allows manual triggering\n  schedule:\n    # Run once a day at 22:40 UTC\n    - cron: '55 22 * * *'\n\njobs:\n  copy_packages:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: checkout\n      uses: actions/checkout@v4\n\n    - name: Install conda\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        auto-update-conda: true\n        python-version: 3.11\n\n    - name: Install dependencies\n      shell: bash -l {0}\n      run: |\n        conda install anaconda-client\n\n    - name: Perform copy\n      env:\n        BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}\n      shell: bash -l {0}\n      run: |\n        git clone https://github.com/glue-viz/conda-sync.git\n        mv conda-sync/sync.py .\n        python drive_copy.py\n", "state": "active", "repository": "vpython/vpython-jupyter"}
{"mined_at": "2024-07-15T12:46:05.618855", "created_at": "2020-01-20T04:18:50+01:00", "updated_at": "2020-01-20T04:49:02+01:00", "name": "Upload Python wheel to PyPI", "path": ".github/workflows/upload_pypi.yml", "contents": "name: Upload Python wheel to PyPI\n\non:\n  release:\n    types: [created]\n\njobs:\n  wheels:\n\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, '3.10', 3.11, 3.12]\n        platform: [macos-latest, windows-latest]  # Wheels on linux below\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine Cython build\n\n    - name: Build and publish wheel\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_TOKEN }}\n      run: |\n        python -m build\n        twine upload dist/*.whl\n\n  linux_wheels:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n    - name: Stable with rustfmt and clippy\n      uses: actions-rs/toolchain@v1\n      with:\n        profile: default\n        toolchain: stable\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install twine\n    - name: Python wheels manylinux build\n      uses: RalfG/python-wheels-manylinux-build@v0.7.1\n      with:\n        python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312'\n        build-requirements: 'setuptools cython setuptools_scm'\n    - name: Build and publish wheel\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_TOKEN }}\n      run: |\n        twine upload dist/vpython-*-manylinux*.whl\n\n  linux_aarch64_wheels:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n    - name: Set up QEMU\n      id: qemu\n      uses: docker/setup-qemu-action@v3\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install twine\n    - name: Python wheels manylinux build\n      uses: RalfG/python-wheels-manylinux-build@v0.4.2-manylinux2014_aarch64\n      with:\n        python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312'\n        build-requirements: 'setuptools cython setuptools_scm'\n    - name: Build and publish wheel\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_TOKEN }}\n      run: |\n        twine upload dist/vpython-*-manylinux*.whl\n\n  sdist:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine Cython build\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_TOKEN }}\n      run: |\n        python -m build\n        twine upload dist/*.tar.gz\n", "state": "active", "repository": "vpython/vpython-jupyter"}
{"mined_at": "2024-07-15T12:46:07.762639", "created_at": "2020-04-10T18:49:20+02:00", "updated_at": "2020-04-10T18:49:20+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.10.13\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pip install pytest\n        pytest\n", "state": "active", "repository": "jungmannlab/picasso"}
{"mined_at": "2024-07-15T12:46:08.888933", "created_at": "2021-09-18T17:34:42+02:00", "updated_at": "2021-10-06T13:19:39+02:00", "name": "Publish on PyPi", "path": ".github/workflows/pypi_release.yml", "contents": "on:\n  push:\n    branches: [ main ]\n  workflow_dispatch:\n\n\nname: Publish on PyPi\n\njobs:\n  Create_PyPi_Release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n      - name: Conda info\n        shell: bash -l {0}\n        run: conda info\n      - name: Prepare distribution\n        shell: bash -l {0}\n        run: |\n          cd distribution/pypi\n          . ./prepare_pypi_wheel.sh\n      - name: Publish distribution to Test PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n      - name: Test PyPI test release\n        shell: bash -l {0}\n        run: |\n          cd distribution/pypi\n          . ./install_test_pypi_wheel.sh\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n  Test_PyPi_Release:\n    name: Test_PyPi_version_on_${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    needs: Create_PyPi_Release\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n    steps:\n      - uses: actions/checkout@v2\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n      - name: Conda info\n        shell: bash -l {0}\n        run: conda info\n      - name: Test pip installation from PyPi\n        shell: bash -l {0}\n        run: |\n          cd distribution/pypi\n          . ./install_pypi_wheel.sh\n", "state": "active", "repository": "jungmannlab/picasso"}
{"mined_at": "2024-07-15T12:46:09.943139", "created_at": "2022-08-05T13:43:53+02:00", "updated_at": "2022-08-05T13:43:53+02:00", "name": "Default installation and tests", "path": ".github/workflows/pypi_test.yml", "contents": "on:\n  push:\n    branches: [ main ]\n  workflow_dispatch:\n\nname: Default installation and tests\n\njobs:\n  install:\n    name: Test on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n    steps:\n      - uses: actions/checkout@v2\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n      - name: Conda info\n        shell: bash -l {0}\n        run: conda info\n      - name: Test pip installation \n        shell: bash -l {0}\n        run: |\n          conda create -n picasso python=3.10 -y\n          conda activate picasso\n          pip install picassosr\n          conda deactivate\n      - name: Testing modules\n        shell: bash -l {0}\n        run: |\n          conda activate picasso\n          picasso\n          conda deactivate\n          ", "state": "active", "repository": "jungmannlab/picasso"}
{"mined_at": "2024-07-15T12:46:11.903335", "created_at": "2023-05-30T18:37:57+02:00", "updated_at": "2023-12-30T18:37:48+01:00", "name": "check-build", "path": ".github/workflows/build-test-actions.yml", "contents": "name: check-build\n\non:\n  pull_request:\n  # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request\n    types: [opened, reopened, converted_to_draft, ready_for_review, synchronize]\n    branches:\n      - master\n  push:\n    branches:\n    # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-your-workflow-only-when-a-push-to-specific-branches-occurs\n        - master\n\njobs:\n  code-style:\n    strategy:\n      fail-fast: false\n      matrix:\n          # Add versions here to expand support matrix\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, macos-latest]\n    runs-on: ${{ matrix.os }}\n    env:\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n      # https://github.com/chartboost/ruff-action\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install blas, lapack for Linux\n        if: runner.os == 'Linux'\n        run: |\n          sudo apt-get install -y libblas-dev liblapack-dev\n      - name: Install toqito + dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry\n          poetry install --without docs --no-interaction\n\n\n  toqito-pytest:\n    strategy:\n      fail-fast: false\n      matrix:\n        # Add versions here to expand support matrix\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, macos-latest]\n    runs-on: ${{ matrix.os }}\n        # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#using-a-matrix-strategy\n    env:\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install blas, lapack for Linux\n        if: runner.os == 'Linux'\n        run: |\n          sudo apt-get install -y libblas-dev liblapack-dev\n      - name: Install blas, lapack for macOS\n        if: runner.os == 'macOS'\n        run: |\n          brew install openblas lapack\n      - name: Install toqito + dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry\n          poetry install --with dev --without docs,lint --no-interaction\n      - name: Run tests\n        run: poetry run pytest -v --cov-config=.coveragerc --cov-report=xml --cov-report term-missing:skip-covered --cov=toqito\n      - name: Upload coverage information\n        uses: codecov/codecov-action@v4\n        with:\n          token: 42c62957-6808-41de-af29-3bbc4f8f0867\n          name: codecov-umbrella\n          fail_ci_if_error: true\n          files: ./coverage.xml\n          verbose: true\n      - name: Build artifacts\n        run: poetry build\n\n", "state": "active", "repository": "vprusso/toqito"}
{"mined_at": "2024-07-15T12:46:12.926481", "created_at": "2024-02-01T23:16:07+01:00", "updated_at": "2024-02-14T00:22:00+01:00", "name": "check-docs", "path": ".github/workflows/docs.yml", "contents": "name: check-docs\n\non:\n  pull_request:\n  # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request\n    types: [opened, reopened, converted_to_draft, ready_for_review, synchronize]\n    branches:\n      - master\n  push:\n    branches:\n    # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-your-workflow-only-when-a-push-to-specific-branches-occurs\n        - master\n\njobs:\n  broken-links:\n    strategy:\n      matrix:\n          # Add versions here to expand support matrix\n        python-version: [\"3.12\"]\n        os: [ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n    env:\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install toqito + dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry\n          poetry install --with docs --without dev,lint --no-interaction\n          python -m pip install --upgrade --no-cache-dir setuptools sphinx readthedocs-sphinx-ext\n          python -m pip install -r docs/requirements.txt\n      - name: Check for broken links\n        run: |\n            cd docs\n            make linkcheck\n  \n  doc-examples:\n    strategy:\n      matrix:\n          # Add versions here to expand support matrix\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n    env:\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install toqito + dependencies\n        run: |\n          python -m pip install --upgrade --no-cache-dir pip\n          pip install poetry\n          poetry install --with docs,dev --without lint --no-interaction\n      - name: Check docstring examples\n        run: |\n            cd docs\n            poetry run make html\n            poetry run make doctest\n            poetry run pytest  --doctest-glob=*.rst", "state": "active", "repository": "vprusso/toqito"}
{"mined_at": "2024-07-15T12:46:13.964034", "created_at": "2023-12-28T16:57:39+01:00", "updated_at": "2024-01-07T22:28:03+01:00", "name": "Upload Release Package to PyPI", "path": ".github/workflows/publish-release.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Release Package to PyPI\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs: {}\n\njobs:\n  deploy:\n    if: github.repository_owner == 'vprusso'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out toqito\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.ref }} # only publish to PyPI on tag pushes\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          make install requirements\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*  ", "state": "active", "repository": "vprusso/toqito"}
{"mined_at": "2024-07-15T12:46:16.217985", "created_at": "2020-08-21T15:30:20+02:00", "updated_at": "2020-08-21T15:30:20+02:00", "name": "Linting", "path": ".github/workflows/lint.yml", "contents": "name: Linting\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade ruff mypy\n\n      - name: ruff\n        run: |\n          ruff --version\n          ruff check .\n          ruff format --check .\n\n      - name: mypy\n        run: |\n          mypy --version\n          rm -rf .mypy_cache\n          mypy ${{ github.event.repository.name }}\n", "state": "active", "repository": "materialsvirtuallab/monty"}
{"mined_at": "2024-07-15T12:46:17.502659", "created_at": "2020-08-21T15:30:20+02:00", "updated_at": "2020-08-21T15:30:20+02:00", "name": "Lint, Test, Release", "path": ".github/workflows/release.yml", "contents": "name: Lint, Test, Release\n\non:\n  release:\n    types: [created]\n  workflow_dispatch:\n\njobs:\n  test:\n    # run test.yml first to ensure that the test suite is passing\n    uses: ./.github/workflows/test.yml\n\n  build:\n    needs: test\n    strategy:\n      max-parallel: 3\n      matrix:\n        os: [macos-14]\n        python-version: [\"3.10\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: release\n        env:\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n        run: |\n          pip install build twine\n          python -m build\n          twine upload --skip-existing dist/*\n", "state": "active", "repository": "materialsvirtuallab/monty"}
{"mined_at": "2024-07-15T12:46:18.526812", "created_at": "2020-08-21T15:30:20+02:00", "updated_at": "2020-08-21T15:39:21+02:00", "name": "Testing", "path": ".github/workflows/test.yml", "contents": "name: Testing\n\non: [push, pull_request, workflow_call]\n\njobs:\n  build:\n    strategy:\n      max-parallel: 20\n      matrix:\n        os: [ubuntu-latest, macos-14, windows-latest]\n        python-version: [\"3.10\"]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-optional.txt -r requirements-ci.txt\n          pip install -e .\n\n      - name: pytest\n        run: pytest --cov=monty --cov-report html:coverage_reports monty tests\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "materialsvirtuallab/monty"}
{"mined_at": "2024-07-15T12:46:19.518604", "created_at": "2022-01-10T14:08:01+01:00", "updated_at": "2022-01-10T14:08:01+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "materialsvirtuallab/monty"}
{"mined_at": "2024-07-15T12:46:21.607395", "created_at": "2021-01-17T14:27:21+01:00", "updated_at": "2021-01-17T14:27:21+01:00", "name": "SIPA CI", "path": ".github/workflows/sipa-ci .yml", "contents": "name: SIPA CI\n\non: [push, pull_request]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.12\"\n    - uses: pre-commit/action@v3.0.0\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n           submodules: 'true'\n      - name: Fix permissions\n        run: sudo chmod -R a+rw .\n      - name: Build the Docker image\n        run: docker build -t sipa:latest .\n      - name: Login to GitLab Registry\n        uses: docker/login-action@v1\n        with:\n          registry: registry.agdsn.de\n          username: \"github-actions\"\n          password: ${{ secrets.GITLAB_REGISTRY_PASSWORD }}\n      - name: Tag built image\n        run: docker tag sipa:latest registry.agdsn.de/agdsn/coreos/sipa/sipa:${GITHUB_REF##*/}\n      - name: Push to GitLab registry\n        run: docker push registry.agdsn.de/agdsn/coreos/sipa/sipa:${GITHUB_REF##*/}\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out sipa and submodules\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.12'\n          cache: 'pip'\n      - name: print information about pip cache\n        run: pip cache info && pip cache list\n      - name: ensure presence of `wheel`\n        run: pip install wheel\n      - name: install pip dependencies\n        run: >\n          pip install\n          -r build/requirements/requirements.txt\n          -r build/requirements/requirements_testing.txt\n        id: pip-install\n      # now come the tests\n      - name: Run tests\n        run: >\n          pytest\n          --junitxml=junit/test-results.xml\n      - name: Publish Test Report\n        uses: mikepenz/action-junit-report@v3\n        if: always() # always run even if the previous step fails\n        with:\n          report_paths: 'junit/test-*.xml'\n", "state": "active", "repository": "agdsn/sipa"}
{"mined_at": "2024-07-15T12:46:23.821710", "created_at": "2022-07-05T09:48:23+02:00", "updated_at": "2023-11-27T13:53:29+01:00", "name": "PyPI Upload", "path": ".github/workflows/pythonpublish.yml", "contents": "name: PyPI Upload\n\non:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n\n    - name: Install Poetry\n      run: |\n        pip install poetry\n        poetry config virtualenvs.create false\n\n    - name: Install Dependencies\n      run: poetry install\n\n    - name: Run unittest tests\n      run: poetry run python -m unittest discover -s tests -p 'test_*.py'\n\n    - name: Build with Poetry\n      run: |\n        poetry build\n\n    - name: Publish\n      run: |\n        pip install twine\n        twine upload dist/*\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "androguard/androguard"}
{"mined_at": "2024-07-15T12:46:24.858412", "created_at": "2023-12-15T15:42:38+01:00", "updated_at": "2023-12-15T15:42:44+01:00", "name": "Run Tests", "path": ".github/workflows/tests.yml", "contents": "name: Run Tests\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n\n    - name: Install Poetry\n      run: |\n        pip install poetry\n        poetry config virtualenvs.create false\n\n    - name: Install Dependencies\n      run: poetry install\n\n    - name: Run unittest tests\n      run: poetry run python -m unittest discover -s tests -p 'test_*.py'\n\n    - name: Build with Poetry\n      run: |\n        poetry build", "state": "active", "repository": "androguard/androguard"}
{"mined_at": "2024-07-15T12:46:25.879650", "created_at": "2024-06-04T20:42:37+02:00", "updated_at": "2024-06-04T20:42:37+02:00", "name": "Run Tests on Mac ARM", "path": ".github/workflows/tests_mac_arm.yml", "contents": "name: Run Tests on Mac ARM\n\non:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: macos-14\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n\n    - name: Install Poetry\n      run: |\n        pip install poetry\n        poetry config virtualenvs.create false\n\n    - name: Install Dependencies\n      run: poetry install\n\n    - name: Run unittest tests\n      run: poetry run python -m unittest discover -s tests -p 'test_a*.py'\n\n    - name: Build with Poetry\n      run: |\n        poetry build", "state": "active", "repository": "androguard/androguard"}
{"mined_at": "2024-07-15T12:46:27.893800", "created_at": "2021-09-15T23:44:14+02:00", "updated_at": "2021-09-16T00:01:10+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master, PRs-Require-Approval, Require-Unit-Tests ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '31 6 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    # - name: Autobuild\n    #   uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "ghostmanager/ghostwriter"}
{"mined_at": "2024-07-15T12:46:28.954444", "created_at": "2024-05-31T17:38:24+02:00", "updated_at": "2024-05-31T17:38:24+02:00", "name": "Close inactive issues", "path": ".github/workflows/inactive-issues.yml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"00 9 * * *\"\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v5\n        with:\n          days-before-issue-stale: 30\n          days-before-issue-close: 14\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue has been labeled as `stale` because it has been open for 30 days with no activity.\"\n          close-issue-message: \"This issue is closed because it has been inactive for 14 days since being labeled `stale`. Feel free to re-open the issue with a comment. If this needs further discussion (e.g., a feature request), it might be better to open a topic under the _Discussions_ tab.\"\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "ghostmanager/ghostwriter"}
{"mined_at": "2024-07-15T12:46:29.998062", "created_at": "2021-08-09T22:32:29+02:00", "updated_at": "2021-08-10T01:51:33+02:00", "name": "Build and Run Unit Test Workflow", "path": ".github/workflows/workflow.yml", "contents": "name: Build and Run Unit Test Workflow\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  run-unit-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out source code\n        uses: actions/checkout@v4\n\n      - name: Build environment\n        run: |\n          chmod +x ghostwriter-cli-linux\n          ./ghostwriter-cli-linux install --dev\n\n      - name: Generate Coverage report\n        run: |\n          docker-compose -f local.yml run django coverage run manage.py test --exclude-tag=GitHub\n          docker-compose -f local.yml run django coverage xml -o \"coverage/reports/coverage.xml\"\n\n      - name: Upload Coverage report artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-report\n          path: coverage/reports/coverage.xml\n\n  upload-coverage-report:\n    needs: run-unit-tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out source code\n        uses: actions/checkout@v4\n\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n\n      - name: Upload coverage report to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: codecov-ghostwriter\n          fail_ci_if_error: true\n          verbose: true\n", "state": "active", "repository": "ghostmanager/ghostwriter"}
{"mined_at": "2024-07-15T12:46:32.081456", "created_at": "2023-02-20T23:54:29+01:00", "updated_at": "2023-02-21T00:10:30+01:00", "name": "Python package", "path": ".github/workflows/pytest.yml", "contents": "\nname: Python package\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"pypy-3.8\", \"pypy-3.9\", \"pypy-3.10\"]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          pip install -e .\n      # - name: Lint with flake8\n      #   run: |\n      #     # stop the build if there are Python syntax errors or undefined names\n      #     flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n      #     # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n      #     flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n      - name: Test with pytest\n        run: |\n          pytest", "state": "active", "repository": "pyecore/pyecore"}
{"mined_at": "2024-07-15T12:46:33.127910", "created_at": "2023-02-21T00:10:30+01:00", "updated_at": "2023-02-21T00:10:30+01:00", "name": "Upload to PyPi", "path": ".github/workflows/upload-pypi.yml", "contents": "name: Upload to PyPi\n\non:\n  push:\n    tags:\n      - \"[0-9]+.[0-9]+.[0-9]+\"\n  workflow_dispatch:\n\njobs:\n  upload:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: \"Installs dependencies\"\n        run: |\n          python3 -m pip install --upgrade pip\n          python3 -m pip install setuptools wheel twine\n\n      - name: \"Builds and uploads to PyPI\"\n        run: |\n          python3 setup.py sdist bdist_wheel\n          python3 -m twine upload dist/*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}\n", "state": "active", "repository": "pyecore/pyecore"}
{"mined_at": "2024-07-15T12:46:34.190757", "created_at": "2023-02-21T00:10:30+01:00", "updated_at": "2023-02-21T00:10:30+01:00", "name": "Test & Upload to TestPyPI", "path": ".github/workflows/upload-testpypi.yml", "contents": "name: Test & Upload to TestPyPI\n\non:\n  push:\n    branches: [ master ]\n\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: \"Installs and upgrades pip, installs other dependencies and installs the package from setup.py\"\n        run: |\n          # Upgrade pip\n          python3 -m pip install --upgrade pip\n          # Install build deps\n          python3 -m pip install setuptools wheel twine\n          # If requirements.txt exists, install from it\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          # Install the package from setup.py\n          python3 setup.py install\n\n      # Upload to TestPyPI\n      - name: Build and Upload to TestPyPI\n        run: |\n          python3 setup.py sdist bdist_wheel\n          python3 -m twine upload dist/*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.TWINE_TEST_TOKEN }}\n          TWINE_REPOSITORY: testpypi\n", "state": "active", "repository": "pyecore/pyecore"}
{"mined_at": "2024-07-15T12:46:36.549180", "created_at": "2021-12-08T11:19:22+01:00", "updated_at": "2021-12-08T11:19:22+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "# SPDX-FileCopyrightText: 2019–2024 Pynguin Contributors\n#\n# SPDX-License-Identifier: MIT\n\nname: CI\non: [push, pull_request]\n\njobs:\n  ci:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10']\n        poetry-version: [1.7.1]\n        os: [ubuntu-latest, macos-latest]\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Setup Poetry\n        uses: abatilo/actions-poetry@v2.0.0\n        with:\n          poetry-version: ${{ matrix.poetry-version }}\n\n      - name: Install dependencies\n        run: poetry install\n\n      - name: Check imports with isort\n        run: poetry run isort --check-only . --profile black\n\n      - name: Check formatting with black\n        run: poetry run black --diff --check .\n\n      - name: Check typing with mypy\n        run: poetry run mypy\n\n      - name: Linting with ruff\n        run: poetry run ruff src/pynguin\n\n      - name: Run tests\n        run: poetry run pytest --cov=src --cov=tests --cov-branch --cov-report=term-missing tests/\n", "state": "active", "repository": "se2p/pynguin"}
{"mined_at": "2024-07-15T12:46:39.785066", "created_at": "2020-11-23T15:07:13+01:00", "updated_at": "2021-02-23T21:39:29+01:00", "name": "Tests", "path": ".github/workflows/main.yml", "contents": "name: Tests\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\njobs:\n  tests:\n    name: tests-python${{ matrix.python-version }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n        os: [\"macOS-latest\", \"ubuntu-latest\", \"windows-latest\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-tests-${{ hashFiles('setup.py','requirements-dev.txt','constraints.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-tests-\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-\n            ${{ runner.os }}-${{ matrix.python-version }}\n      - name: Install Deps\n        run: python -m pip install -U 'tox<4' setuptools virtualenv wheel\n      - name: Install and Run Tests\n        run: tox -e py\n        if: runner.os != 'macOS'\n      - name: Install and run tests macOS\n        run: |\n          tox -epy --notest\n          .tox/py/bin/pip install gnureadline subunit2sql\n          tox -epy\n        if: runner.os == 'macOS'\n  lint:\n    name: pep8\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-lint-${{ hashFiles('setup.py','requirements-dev.txt','constraints.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-lint-\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-\n            ${{ runner.os }}-${{ matrix.python-version }}-\n      - name: Install Deps\n        run: python -m pip install -U 'tox<4'\n      - name: Run lint\n        run: tox -epep8\n  cover:\n    name: cover\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-lint-${{ hashFiles('setup.py','requirements-dev.txt','constraints.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-lint-\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-\n            ${{ runner.os }}-${{ matrix.python-version }}-\n      - name: Install Deps\n        run: python -m pip install -U 'tox<4'\n      - name: Run coverxml\n        run: tox -ecoverxml\n      - name: codecov\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./cover/coverage.xml # optional\n          flags: unittests # optional\n          name: stestr # optional\n          fail_ci_if_error: true # optional (default = false)\n          verbose: true # optional (default = false)\n  docs:\n    name: docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-docs-${{ hashFiles('setup.py','requirements-dev.txt','constraints.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-docs-\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n      - name: Install Deps\n        run: python -m pip install -U 'tox<4'\n      - name: Build Docs\n        run: tox -edocs\n      - uses: actions/upload-artifact@v3\n        with:\n          name: html_docs\n          path: docs/_build\n", "state": "active", "repository": "mtreinish/stestr"}
{"mined_at": "2024-07-15T12:46:40.784434", "created_at": "2021-02-23T21:50:40+01:00", "updated_at": "2021-02-23T21:50:40+01:00", "name": "Release Artifacts", "path": ".github/workflows/release.yml", "contents": "name: Release Artifacts\non:\n  push:\n    tags:\n      - '*'\njobs:\n  wheel-build:\n    name: Build and Publish Release Artifacts\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        name: Install Python\n        with:\n          python-version: '3.8'\n      - name: Install Deps\n        run: pip install -U wheel\n      - name: Build Artifacts\n        run: |\n          python setup.py sdist bdist_wheel\n        shell: bash\n      - uses: actions/upload-artifact@v2\n        with:\n          path: ./dist/stestr*\n      - name: Publish to PyPi\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "mtreinish/stestr"}
{"mined_at": "2024-07-15T12:46:42.895359", "created_at": "2022-11-10T10:38:35+01:00", "updated_at": "2022-11-10T10:38:35+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Python package\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"pypy3.9\", \"pypy3.10\"]\n        os: [\"ubuntu-20.04\", \"windows-latest\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest pytest-asyncio cython\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 thriftpy2 --count --select=E9,F63,F7,F82 --show-source --statistics --ignore C901\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 thriftpy2 --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --ignore C901\n    - name: Test with pytest\n      run: |\n        pip install -e \".[dev]\"\n        cd tests\n        pytest\n", "state": "active", "repository": "thriftpy/thriftpy2"}
{"mined_at": "2024-07-15T12:46:44.901784", "created_at": "2020-10-27T23:51:52+01:00", "updated_at": "2023-02-09T20:39:13+01:00", "name": "CI-test", "path": ".github/workflows/ci.yml", "contents": "name: CI-test\n\non: [push, pull_request]\n\njobs:\n  Test:\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest, macos-latest]\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install pytest-cov\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n    - name: Install\n      run: pip install -e .\n\n    - name: Test\n      run: |\n        pytest --cov=./ --cov-report=xml .\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4-beta\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "pyamg/pyamg"}
{"mined_at": "2024-07-15T12:46:45.965567", "created_at": "2022-01-31T23:41:37+01:00", "updated_at": "2023-04-24T20:21:13+02:00", "name": "JOSS draft build", "path": ".github/workflows/draft-pdf.yml", "contents": "name: JOSS draft build\n\non:\n  push:\n    branches:\n      - main\n      - '*joss*'\n\njobs:\n  paper:\n    runs-on: ubuntu-latest\n    name: Paper Draft\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Build draft PDF\n        uses: openjournals/openjournals-draft-action@master\n        with:\n          journal: joss\n          # This should be the path to the paper within your repo.\n          paper-path: docs/paper/paper.md\n      - name: Upload\n        uses: actions/upload-artifact@v3\n        with:\n          name: paper\n          # This is the output path where Pandoc will write the compiled\n          # PDF. Note, this should be the same directory as the input\n          # paper.md\n          path: docs/paper/paper.pdf\n", "state": "active", "repository": "pyamg/pyamg"}
{"mined_at": "2024-07-15T12:46:47.096347", "created_at": "2021-12-03T04:42:21+01:00", "updated_at": "2023-02-09T20:39:15+01:00", "name": "CI-lint", "path": ".github/workflows/lint.yml", "contents": "name: CI-lint\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n    branches:\n    - main\n\n\njobs:\n    flake8:\n        name: flake8\n        runs-on: ubuntu-latest\n        steps:\n        - name: Checkout code\n          uses: actions/checkout@v3\n\n        - name: Setup Python\n          uses: actions/setup-python@v4\n          with:\n            python-version: '3.9'\n\n        - name: Run flake8\n          run: |\n            python -m pip install flake8\n            python -m pip install pep8-naming flake8-quotes flake8-bugbear flake8-use-fstring flake8-pytest-style flake8-docstrings\n            python -m flake8 --docstring-convention numpy --statistics pyamg && echo \"flake8 passed.\"\n\n    pylint:\n        name: pylint\n        runs-on: ubuntu-latest\n        steps:\n        - name: Checkout code\n          uses: actions/checkout@v3\n\n        - name: Setup Python\n          uses: actions/setup-python@v1\n          with:\n            python-version: '3.9'\n\n        - name: Install Dependencies\n          run: |\n            python -m pip install --upgrade pip\n            if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n        - name: Install\n          run: pip install -e .\n\n        - name: Run pylint\n          run: |\n            python -m pip install pylint\n            pylint --rcfile setup.cfg pyamg\n", "state": "active", "repository": "pyamg/pyamg"}
{"mined_at": "2024-07-15T12:46:48.148671", "created_at": "2021-04-09T22:28:18+02:00", "updated_at": "2021-12-01T17:00:22+01:00", "name": "Build wheels", "path": ".github/workflows/wheels.yml", "contents": "name: Build wheels\n\non:\n  workflow_dispatch:\n    branches:\n      - main\n  release:\n    types:\n      - published\n\njobs:\n  build_wheels:\n    name: Build wheel for ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-11]\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          # uncomment to force a wheel build\n          # ref: v4.2.3\n          fetch-depth: 1\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.16.5\n        env:\n          CIBW_BUILD: \"cp38-* cp39-* cp310-* cp311-* cp312-*\"\n          CIBW_SKIP: pp*\n          CIBW_ARCHS_MACOS: \"x86_64 arm64 universal2\"\n          CIBW_ARCHS_WINDOWS: \"AMD64 x86\"\n          CIBW_ARCHS_LINUX: \"x86_64\"\n          CIBW_BUILD_VERBOSITY: 2\n\n      - name: Save wheels\n        uses: actions/upload-artifact@v3\n        with:\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n\n      - name: Install pypa/build\n        run: pip install 'build[virtualenv]'\n\n      - name: Build sdist\n        run: python -m build --sdist\n\n      - name: Save sdist\n        uses: actions/upload-artifact@v3\n        with:\n          path: dist/*.tar.gz\n\n  upload_all:\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n    - uses: actions/download-artifact@v3\n      with:\n        name: artifact\n        path: dist\n\n    - uses: pypa/gh-action-pypi-publish@v1.8.5\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_token }}\n", "state": "active", "repository": "pyamg/pyamg"}
{"mined_at": "2024-07-15T12:46:50.256888", "created_at": "2021-11-18T09:30:00+01:00", "updated_at": "2021-11-18T15:27:29+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\nenv:\n  micromamba_version: 1.5\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  release:\n    types:\n      - created\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    name: lint and style checks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install black black[jupyter] ruff\n      - name: Black style check\n        run: |\n          black --check .\n      - name: Lint with ruff\n        run: |\n          ruff .\n\n  build_0:\n    name: wradlib unit tests - linux\n    runs-on: ubuntu-latest\n    needs: [lint]\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      WRADLIB_DATA: ./wradlib-data\n      CONDA_ENV_FILE: ci/requirements/unittests.yml\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install micromamba environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: wradlib-tests\n          environment-file: ${{env.CONDA_ENV_FILE}}\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n          create-args: >-\n            python=${{matrix.python-version}}\n            conda\n      - name: Install wradlib\n        run: |\n          python -m pip install . --no-deps\n      - name: Install wradlib-data\n        run: |\n          python -m pip install git+https://github.com/wradlib/wradlib-data@pooch\n          mkdir ./wradlib-data\n      - name: Version Info\n        run: |\n          python -c \"import wradlib; print(wradlib.version.version)\"\n          python -c \"import wradlib; print(wradlib.show_versions())\"\n      - name: Test with pytest\n        env:\n          WRADLIB_EARTHDATA_BEARER_TOKEN: ${{ secrets.WRADLIB_EARTHDATA_BEARER_TOKEN }}\n        run: |\n          echo $WRADLIB_DATA\n          export WRADLIB_DATA=`realpath $WRADLIB_DATA`\n          pytest -n auto --dist loadfile --verbose --doctest-modules --doctest-plus --durations=15 --cov-report xml:coverage.xml --cov=wradlib --pyargs wradlib\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: RUNNER_OS,PYTHON_VERSION\n          name: codecov-gha\n          fail_ci_if_error: false\n\n  build_0a:\n    name: wradlib unit tests - linux - no GDAL\n    runs-on: ubuntu-latest\n    needs: [ lint ]\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      WRADLIB_DATA: ./wradlib-data\n      CONDA_ENV_FILE: ci/requirements/unittests.yml\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.11\" ]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install micromamba environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: wradlib-tests\n          environment-file: ${{env.CONDA_ENV_FILE}}\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n          create-args: >-\n            python=${{matrix.python-version}}\n            conda\n      - name: Remove GDAL\n        run: |\n          conda uninstall --force --offline gdal\n      - name: Install wradlib\n        run: |\n          python -m pip install . --no-deps\n      - name: Install wradlib-data\n        run: |\n          python -m pip install git+https://github.com/wradlib/wradlib-data@pooch\n          mkdir ./wradlib-data\n      - name: Version Info\n        run: |\n          python -c \"import wradlib; print(wradlib.version.version)\"\n          python -c \"import wradlib; print(wradlib.show_versions())\"\n      - name: Test with pytest\n        env:\n          WRADLIB_EARTHDATA_BEARER_TOKEN: ${{ secrets.WRADLIB_EARTHDATA_BEARER_TOKEN }}\n        run: |\n          echo $WRADLIB_DATA\n          export WRADLIB_DATA=`realpath $WRADLIB_DATA`\n          pytest -n auto --dist loadfile --verbose --doctest-modules --doctest-plus --durations=15 --cov-report xml:coverage.xml --cov=wradlib --pyargs wradlib\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: RUNNER_OS,PYTHON_VERSION\n          name: codecov-gha\n          fail_ci_if_error: false\n\n  build_1:\n    name: wradlib unit tests - macosx\n    runs-on: macos-latest\n    needs: [lint]\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      WRADLIB_DATA: ./wradlib-data\n      CONDA_ENV_FILE: ci/requirements/unittests.yml\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install micromamba environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: wradlib-tests\n          environment-file: ${{env.CONDA_ENV_FILE}}\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n          create-args: >-\n            python=${{matrix.python-version}}\n            conda\n      - name: Install wradlib\n        run: |\n          cat \"$HOME/.bash_profile\"\n          python -m pip install . --no-deps\n      - name: Install wradlib-data\n        run: |\n          python -m pip install git+https://github.com/wradlib/wradlib-data@pooch\n          mkdir ./wradlib-data\n      - name: Version Info\n        run: |\n          python -c \"import wradlib; print(wradlib.version.version)\"\n          python -c \"import wradlib; print(wradlib.show_versions())\"\n      - name: Test with pytest\n        env:\n          WRADLIB_EARTHDATA_BEARER_TOKEN: ${{ secrets.WRADLIB_EARTHDATA_BEARER_TOKEN }}\n        run: |\n          echo $WRADLIB_DATA\n          export WRADLIB_DATA=`python -c \"import os, sys; print(os.path.realpath(sys.argv[1]))\" $WRADLIB_DATA`\n          pytest -n auto --verbose --doctest-modules --doctest-plus --durations=15 --cov-report xml:coverage.xml --cov=wradlib --pyargs wradlib\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: RUNNER_OS,PYTHON_VERSION\n          name: codecov-gha\n          fail_ci_if_error: false\n\n  build_2:\n    name: wradlib unit tests - windows\n    runs-on: windows-latest\n    needs: [lint]\n    defaults:\n      run:\n        shell: powershell\n    env:\n      WRADLIB_DATA: ./wradlib-data\n      CONDA_ENV_FILE: ci/requirements/unittests.yml\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install micromamba environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          init-shell: powershell\n          environment-name: wradlib-tests\n          environment-file: ${{env.CONDA_ENV_FILE}}\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n          create-args: >-\n            python=${{matrix.python-version}}\n            conda\n      - name: Install wradlib\n        run: |\n          python -m pip install . --no-deps\n      - name: Install wradlib-data\n        run: |\n          python -m pip install git+https://github.com/wradlib/wradlib-data@pooch\n          mkdir ./wradlib-data\n      - name: Version Info\n        run: |\n          python -c \"import wradlib; print(wradlib.version.version)\"\n          python -c \"import wradlib; print(wradlib.show_versions())\"\n      - name: Test with pytest\n        env:\n          WRADLIB_EARTHDATA_BEARER_TOKEN: ${{ secrets.WRADLIB_EARTHDATA_BEARER_TOKEN }}\n        run: |\n          pytest --verbose --doctest-modules --doctest-plus --durations=15 --cov-report xml:coverage.xml --cov=wradlib --pyargs wradlib\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: RUNNER_OS,PYTHON_VERSION\n          name: codecov-gha\n          fail_ci_if_error: false\n\n  build_3:\n    name: wradlib notebook tests\n    runs-on: ubuntu-20.04\n    needs: [lint]\n    continue-on-error: true\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      WRADLIB_DATA: ./wradlib-data\n      CONDA_ENV_FILE: ci/requirements/notebooktests.yml\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install micromamba environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: wradlib-tests\n          environment-file: ${{env.CONDA_ENV_FILE}}\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n          create-args: >-\n            python=${{matrix.python-version}}\n      - name: Install wradlib\n        run: |\n          echo \"WRADLIB_TAG=`git name-rev --name-only --tags HEAD`\" >> $GITHUB_ENV\n          python -m pip install . --no-deps\n      - name: Install wradlib-data\n        run: |\n          python -m pip install git+https://github.com/wradlib/wradlib-data@pooch\n          mkdir ./wradlib-data\n      - name: Clone wradlib-notebooks\n        run: |\n          git clone --depth 1 https://github.com/wradlib/wradlib-notebooks.git notebooks\n          cd notebooks\n          echo \"NOTEBOOKS_COMMIT=`git rev-parse HEAD`\" >> $GITHUB_ENV\n      - name: Version Info\n        run: |\n          echo \"WRADLIB_TAG=`git name-rev --name-only --tags HEAD`\" >> $GITHUB_ENV\n          echo \"WRADLIB_VERSION=`python -c \"import wradlib; print(wradlib.version.version)\"`\"\n          python -c \"import wradlib; print(wradlib.version.version)\"\n          python -c \"import wradlib; print(wradlib.show_versions())\"\n      - name: Test with pytest\n        env:\n          WRADLIB_EARTHDATA_BEARER_TOKEN: ${{ secrets.WRADLIB_EARTHDATA_BEARER_TOKEN }}\n        run: |\n          echo $WRADLIB_DATA\n          export WRADLIB_DATA=`realpath $WRADLIB_DATA`\n          pytest -n auto --verbose --durations=15 --cov-report xml:coverage.xml --cov=wradlib --pyargs notebooks\n      - name: Commit files\n        if: github.event_name == 'push' || github.event_name == 'release'\n        run: |\n          cd notebooks\n          git config --global user.email \"wradlib-docs@wradlib.org\"\n          git config --global user.name \"wradlib-docs-bot\"\n          git checkout --orphan render\n          git add --all .\n          git commit -m \"Rendering at wradlib-notebooks commit $NOTEBOOKS_COMMIT for wradlib version $WRADLIB_VERSION\"\n      - name: Push changes\n        if: github.event_name == 'push' || github.event_name == 'release'\n        run: |\n          if [ $WRADLIB_TAG == 'undefined' ]; then\n              BRANCH=devel\n          else\n              BRANCH=$WRADLIB_TAG\n          fi\n          cd notebooks\n          git push https://${{ secrets.WRADLIB_DOCS_BOT_API_TOKEN }}@github.com/wradlib/wradlib-notebooks.git render:$BRANCH -fq\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          flags: notebooktests\n          env_vars: RUNNER_OS,PYTHON_VERSION\n          name: codecov-gha\n          fail_ci_if_error: false\n\n  trigger_rtd:\n    if: github.event_name == 'push' || github.event_name == 'release'\n    needs: [lint, build_0, build_3]\n    name: trigger readthedocs\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      RTD_TOKEN: ${{ secrets.RTD_TOKEN_NEW }}\n      RTD_URL: ${{ secrets.RTD_URL_NEW }}\n    steps:\n    - name: trigger readthedocs\n      run: |\n        echo \"triggering\"\n        curl -X POST -H \"Authorization: Token $RTD_TOKEN\" \"$RTD_URL\"\n\n  upload_testpypi:\n    if: github.event_name == 'push'\n    needs: [lint, build_0, build_1, build_2]\n    name: deploy to testpypi\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build setuptools wheel twine toml-cli\n      - name: Package and Upload\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        run: |\n          toml set --toml-path pyproject.toml tool.hatch.version.raw-options.local_scheme \"no-local-version\"\n          git update-index --assume-unchanged pyproject.toml\n          python -m build\n          twine upload --repository-url https://test.pypi.org/legacy/ dist/*\n\n  upload_pypi:\n    if: github.event_name == 'release'\n    needs: [lint, build_0, build_1, build_2]\n    name: deploy to pypi\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build setuptools wheel twine\n      - name: Package and Upload\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        run: |\n          python -m build\n          twine upload dist/*\n", "state": "active", "repository": "wradlib/wradlib"}
{"mined_at": "2024-07-15T12:46:52.254545", "created_at": "2020-01-10T09:26:32+01:00", "updated_at": "2020-01-11T16:38:39+01:00", "name": "PR Tests", "path": "", "contents": null, "state": "active", "repository": "bioconda/bioconda-utils"}
{"mined_at": "2024-07-15T12:46:53.447049", "created_at": "2019-12-20T22:11:15+01:00", "updated_at": "2023-02-26T22:22:23+01:00", "name": "PR Tests", "path": ".github/workflows/GithubActionTests.yml", "contents": "name: PR Tests\non: [pull_request]\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test-linux:\n    name: Linux tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        py_test_marker:\n          - not long_running_1 and not long_running_2\n          - long_running_1\n          - long_running_2\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: set path\n        run: echo \"/opt/mambaforge/bin\" >> $GITHUB_PATH\n\n      - name: Install bioconda-utils\n        run: |\n          export BIOCONDA_DISABLE_BUILD_PREP=1\n          wget https://raw.githubusercontent.com/bioconda/bioconda-common/master/{common,install-and-set-up-conda,configure-conda}.sh\n          bash install-and-set-up-conda.sh\n          eval \"$(conda shell.bash hook)\"\n          conda create -n bioconda --quiet --yes --file test-requirements.txt --file bioconda_utils/bioconda_utils-requirements.txt\n          conda activate bioconda\n          conda list\n          python setup.py install\n\n      - name: Build docker container\n        run: |\n          docker build -t quay.io/bioconda/bioconda-utils-build-env-cos7:latest ./\n          docker history quay.io/bioconda/bioconda-utils-build-env-cos7:latest\n          docker run --rm -t quay.io/bioconda/bioconda-utils-build-env-cos7:latest sh -lec 'type -t conda && conda info --verbose && conda list'\n          docker build -t quay.io/bioconda/bioconda-utils-test-env-cos7:latest -f ./Dockerfile.test ./\n\n      - name: Run tests '${{ matrix.py_test_marker }}'\n        run: |\n          eval \"$(conda shell.bash hook)\"\n          conda activate bioconda\n          if git diff --name-only origin/master...HEAD | grep -vE ^docs; then\n              py.test --durations=0 test/ -v --log-level=DEBUG --tb=native -m '${{ matrix.py_test_marker }}'\n          else\n              echo \"Skipping pytest - only docs modified\"\n          fi\n  test-macosx:\n    name: OSX tests\n    runs-on: macos-13\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: set path\n        run: echo \"/opt/mambaforge/bin\" >> $GITHUB_PATH\n\n      - name: Install bioconda-utils\n        run: |\n          export BIOCONDA_DISABLE_BUILD_PREP=1\n          wget https://raw.githubusercontent.com/bioconda/bioconda-common/master/{common,install-and-set-up-conda,configure-conda}.sh\n          bash install-and-set-up-conda.sh\n          eval \"$(conda shell.bash hook)\"\n          conda create -n bioconda --quiet --yes --file test-requirements.txt --file bioconda_utils/bioconda_utils-requirements.txt\n          conda list\n          conda activate bioconda\n          python setup.py install\n\n      - name: Run tests\n        run: |\n          eval \"$(conda shell.bash hook)\"\n          conda activate bioconda\n          if git diff --name-only origin/master...HEAD | grep -vE ^docs; then\n              py.test --durations=0 test/ -v --log-level=DEBUG -k \"not docker\" --tb=native\n          else\n              echo \"Skipping pytest - only docs modified\"\n          fi\n\n  autobump-test:\n    name: autobump test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: set path\n        run: echo \"/opt/mambaforge/bin\" >> $GITHUB_PATH\n\n      - name: Install bioconda-utils\n        run: |\n          export BIOCONDA_DISABLE_BUILD_PREP=1\n          wget https://raw.githubusercontent.com/bioconda/bioconda-common/master/{common,install-and-set-up-conda,configure-conda}.sh\n          bash install-and-set-up-conda.sh\n          eval \"$(conda shell.bash hook)\"\n          conda create -n bioconda --quiet --yes --file test-requirements.txt --file bioconda_utils/bioconda_utils-requirements.txt\n          conda activate bioconda\n          conda list\n          python setup.py install\n\n      - name: Test autobump\n        run: |\n          eval \"$(conda shell.bash hook)\"\n          conda activate bioconda\n          git clone --depth 1 https://github.com/bioconda/bioconda-recipes.git\n          cd bioconda-recipes\n          git config user.name Autobump\n          git config user.email bioconda@users.noreply.github.com\n          mkdir /tmp/artifacts\n          bioconda-utils autobump \\\n            --packages \"a*\" \\\n            --unparsed-urls /tmp/artifacts/unparsed_urls.txt \\\n            --failed-urls /tmp/artifacts/failed_urls.txt \\\n            --recipe-status /tmp/artifacts/status.txt \\\n            --create-pr \\\n            --no-check-pinnings \\\n            --no-check-pending-deps \\\n            --no-follow-graph \\\n            --exclude bioconductor-* \\\n            --commit-as BiocondaBot 47040946+BiocondaBot@users.noreply.github.com \\\n            --max-updates 5 \\\n            --dry-run\n", "state": "active", "repository": "bioconda/bioconda-utils"}
{"mined_at": "2024-07-15T12:46:54.425762", "created_at": "2022-01-18T14:41:42+01:00", "updated_at": "2022-01-19T17:09:19+01:00", "name": "Build image", "path": ".github/workflows/build-image.yml", "contents": "name: Build image\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    paths-ignore:\n    - '.circleci/**'\n    - 'docs/**'\n    - 'test/**'\n\njobs:\n  build:\n    name: Build image\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        include:\n          - arch: arm64\n            image: bioconda-utils-build-env-cos7-aarch64\n            base_image: quay.io/condaforge/linux-anvil-aarch64\n          - arch: amd64\n            image: bioconda-utils-build-env-cos7\n            base_image: quay.io/condaforge/linux-anvil-cos7-x86_64\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - id: get-tag\n      run: |\n        tag=${{ github.event.release && github.event.release.tag_name || github.sha }}\n\n        # https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/\n        # printf %s \"::set-output name=tag::${tag#v}\"\n        printf %s \"tag=${tag#v}\" >> $GITHUB_OUTPUT\n\n    - name: Install qemu dependency\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y qemu-user-static\n\n    - name: Build image\n      id: buildah-build\n      uses: redhat-actions/buildah-build@v2\n      with:\n        image: ${{ matrix.image }}\n        arch: ${{ matrix.arch }}\n        build-args: |\n          BASE_IMAGE=${{ matrix.base_image }}\n        tags: >-\n          latest\n          ${{ steps.get-tag.outputs.tag }}\n        dockerfiles: |\n          ./Dockerfile\n\n    - name: Test built image\n      run: |\n        image='${{ steps.buildah-build.outputs.image }}'\n        for tag in ${{ steps.buildah-build.outputs.tags }} ; do\n          podman run --rm \"${image}:${tag}\" bioconda-utils --version\n        done\n", "state": "active", "repository": "bioconda/bioconda-utils"}
{"mined_at": "2024-07-15T12:46:55.398228", "created_at": "2024-02-11T19:23:03+01:00", "updated_at": "2024-02-11T19:23:03+01:00", "name": "Build images", "path": ".github/workflows/build-images.yml", "contents": null, "state": "active", "repository": "bioconda/bioconda-utils"}
{"mined_at": "2024-07-15T12:46:56.454688", "created_at": "2023-02-07T02:13:25+01:00", "updated_at": "2023-03-05T21:24:57+01:00", "name": "Change Container Visibility", "path": ".github/workflows/changevisibility.yml", "contents": "name: Change Container Visibility\r\non:\r\n  workflow_dispatch:\r\n  schedule:\r\n    - cron: '0 2 * * *' # run at 2 AM UTC\r\njobs:\r\n  changevisibility:\r\n    runs-on: ubuntu-latest\r\n    defaults:\r\n      run:\r\n        shell: bash -l {0}\r\n    steps:\r\n      - uses: actions/checkout@v4\r\n\r\n      - name: Check Containers and Set Public\r\n        run: |\r\n          python -m pip install requests\r\n          python .github/quay-namespace-info.py --namespace biocontainers --changevisibility\r\n        env:\r\n          QUAY_OAUTH_TOKEN: ${{ secrets.QUAY_BIOCONTAINERS_TOKEN }}\r\n\r\n      - name: Upload logs\r\n        uses: actions/upload-artifact@v3\r\n        with:\r\n          name: logs\r\n          path: biocontainers-*.txt\r\n          retention-days: 7\r\n", "state": "active", "repository": "bioconda/bioconda-utils"}
{"mined_at": "2024-07-15T12:46:57.465904", "created_at": "2022-01-19T17:09:19+01:00", "updated_at": "2022-01-19T17:09:19+01:00", "name": "PR", "path": ".github/workflows/conventional-prs.yml", "contents": "name: PR\non:\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - edited\n      - synchronize\n\njobs:\n  title-format:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bioconda/bioconda-utils"}
{"mined_at": "2024-07-15T12:46:58.517039", "created_at": "2022-06-16T04:12:27+02:00", "updated_at": "2023-02-28T21:25:33+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": null, "state": "active", "repository": "bioconda/bioconda-utils"}
{"mined_at": "2024-07-15T12:46:59.676642", "created_at": "2022-01-19T17:09:19+01:00", "updated_at": "2023-04-10T11:47:55+02:00", "name": "release-please", "path": ".github/workflows/release-please.yml", "contents": "on:\n  push:\n    branches:\n      - master\n\nname: release-please\n\njobs:\n  release_please:\n    runs-on: ubuntu-latest\n    outputs:\n      release_created: ${{ steps.release.outputs.release_created }}\n      tag_name: ${{ steps.release.outputs.tag_name }}\n    steps:\n      - uses: GoogleCloudPlatform/release-please-action@v2\n        id: release\n        with:\n          release-type: python\n          package-name: bioconda-utils\n\n  publish_containers:\n    runs-on: ubuntu-latest\n    needs: release_please\n    if: needs.release_please.outputs.release_created\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - id: get-tag\n        run: |\n          #tag=${{ github.event.release && github.event.release.tag_name || github.sha }}\n          tag=${{ needs.release_please.outputs.tag_name }}\n          printf %s \"::set-output name=tag::${tag#v}\"\n\n      - name: Install qemu dependency\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y qemu-user-static\n\n      - name: Build x86_64 Image\n        id: buildah-build\n        uses: redhat-actions/buildah-build@v2\n        with:\n          image: bioconda-utils-build-env-cos7\n          arch: amd64\n          build-args: |\n            BASE_IMAGE=quay.io/condaforge/linux-anvil-cos7-x86_64\n          tags: >-\n            latest\n            ${{ steps.get-tag.outputs.tag }}\n          dockerfiles: |\n            ./Dockerfile\n\n      - name: Push To Quay\n        uses: redhat-actions/push-to-registry@v2\n        with:\n          image: ${{ steps.buildah-build.outputs.image }}\n          tags: ${{ steps.buildah-build.outputs.tags }}\n          registry: ${{ secrets.QUAY_BIOCONDA_REPO }}\n          username: ${{ secrets.QUAY_BIOCONDA_USERNAME }}\n          password: ${{ secrets.QUAY_BIOCONDA_TOKEN }}\n\n      - name: Build ARM Image\n        id: buildah-build-arm\n        uses: redhat-actions/buildah-build@v2\n        with:\n          image: bioconda-utils-build-env-cos7-aarch64\n          arch: arm64\n          build-args: |\n            BASE_IMAGE=quay.io/condaforge/linux-anvil-aarch64\n          tags: >-\n            latest\n            ${{ steps.get-tag.outputs.tag }}\n          dockerfiles: |\n            ./Dockerfile\n\n      - name: Push To Quay\n        uses: redhat-actions/push-to-registry@v2\n        with:\n          image: ${{ steps.buildah-build-arm.outputs.image }}\n          tags: ${{ steps.buildah-build-arm.outputs.tags }}\n          registry: ${{ secrets.QUAY_BIOCONDA_REPO }}\n          username: ${{ secrets.QUAY_BIOCONDA_USERNAME }}\n          password: ${{ secrets.QUAY_BIOCONDA_TOKEN }}\n", "state": "active", "repository": "bioconda/bioconda-utils"}
{"mined_at": "2024-07-15T12:47:01.700724", "created_at": "2023-01-06T00:02:31+01:00", "updated_at": "2023-01-06T00:02:31+01:00", "name": "Build", "path": ".github/workflows/ci-pipeline.yml", "contents": "name: Build\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches:\n      - master\n      - '*'\n\njobs:\n  test_on_python_version:\n    # Python 3.6 isn't available on ubuntu-latest\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install linters\n        # only install linting libraries on python 3.8 since they don't suppot 3.6\n        if: matrix.python-version == 3.8\n        run: |\n          pip install click==8.0.1\n          pip install black==22.1.0\n          pip install ruff\n      - name: Install requirements\n        run: |\n          pip install -r requirements.txt\n      - name: Lint with ruff\n        # only run ruff on python 3.8\n        if: matrix.python-version == 3.8\n        run: |\n          ruff .\n      - name: Lint with black\n        # only run black on python 3.8\n        if: matrix.python-version == 3.8\n        run: |\n          black . --check\n      - name: Test with pytest\n        run: |\n          pytest -v\n", "state": "active", "repository": "suadelabs/fire"}
{"mined_at": "2024-07-15T12:47:04.095493", "created_at": "2020-01-14T15:52:38+01:00", "updated_at": "2020-01-14T15:52:38+01:00", "name": "Test", "path": ".github/workflows/build-test.yml", "contents": "name: Test\n\non: [push, pull_request]\n\njobs:\n  build:\n    name: ${{ matrix.name }}-py${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [ubuntu, windows, macos]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n\n        include:\n          - name: ubuntu\n            os: ubuntu-latest\n\n          - name: windows\n            os: windows-latest\n\n          - name: macos\n            os: macos-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install (Linux)\n        if: runner.os == 'Linux'\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[tests]\n      - name: Install (macOS / Windows)\n        if: runner.os == 'macOS' || runner.os == 'Windows'\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest\n          pip install numpy  # cftime requires numpy already during setup\n          pip install .\n\n      - name: Lint with flake8 (Linux)\n        if: runner.os == 'Linux' && matrix.python-version == '3.8'\n        continue-on-error: true\n        run: |\n          pip install flake8\n          flake8 . --statistics || echo \"::error::Check flake8 output for errors\"\n\n      - name: Testfiles Setup\n        run: |\n          git clone --depth=1 https://github.com/atmtools/typhon-testfiles.git\n\n      - name: Test (Linux / macOS)\n        if: runner.os == 'Linux' || runner.os == 'macOS'\n        run: |\n          export TYPHONTESTFILES=$PWD/typhon-testfiles\n          pytest --pyargs typhon\n      - name: Test (Windows)\n        if: runner.os == 'Windows'\n        run: |\n          $Env:HDF5_DISABLE_VERSION_CHECK = 1\n          $Env:TYPHONTESTFILES = Join-Path $pwd \"typhon-testfiles\"\n          pytest --pyargs typhon\n", "state": "active", "repository": "atmtools/typhon"}
{"mined_at": "2024-07-15T12:47:05.114060", "created_at": "2021-12-16T13:21:29+01:00", "updated_at": "2021-12-16T13:21:29+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "atmtools/typhon"}
{"mined_at": "2024-07-15T12:47:09.392999", "created_at": "2022-05-13T10:46:02+02:00", "updated_at": "2023-04-12T14:26:01+02:00", "name": "Indy Plenum - PR Workflow", "path": ".github/workflows/PR.yaml", "contents": "name: Indy Plenum - PR Workflow\non:\n  pull_request:\n    paths:\n      - '**'\n      - \"!plenum/__version__.json\"\n\n    branches:\n      - main\n\njobs:\n  workflow-setup:\n    name: Initialize Workflow\n    runs-on: ubuntu-latest\n    outputs:\n      CACHE_KEY_BUILD: ${{ steps.setup.outputs.CACHE_KEY_BUILD }}\n      UBUNTU_VERSION: ${{ steps.setup.outputs.UBUNTU_VERSION }}\n      # Expose the lowercase version of the GitHub repository name\n      # to all subsequent jobs that reference image repositories\n      # as the push and pull operations require the URL of the repository\n      # to be in lowercase.\n      GITHUB_REPOSITORY_NAME: ${{ steps.setup.outputs.GITHUB_REPOSITORY_NAME }}\n      distribution: ${{ steps.setup.outputs.distribution }}\n      publish: ${{ steps.setup.outputs.publish }}\n      testsNeeded: ${{ steps.testsNeeded.outputs.testsNeeded }}\n    steps:\n      - name: checkout source code\n        uses: actions/checkout@v4\n      - name: setup\n        id: setup\n        uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1\n      - name: testsNeeded\n        id: testsNeeded\n        uses: dorny/paths-filter@v3\n        with:\n          filters: |\n            testsNeeded:\n              - '**.py'\n              - '.github/**'\n              - 'build-scripts/**'\n              - 'bump_version.sh'\n\n  lint:\n    name: Lint\n    needs: [workflow-setup]\n    if: ${{ needs.workflow-setup.outputs.testsNeeded == 'true' }}\n    uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v1\n\n  build-docker-image:\n    name: Create Builder Image\n    needs: [workflow-setup, lint]\n    uses:  hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v1\n    with:\n      CACHE_KEY_BUILD: ${{ needs.workflow-setup.outputs.CACHE_KEY_BUILD }}\n      DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/plenum-build\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n\n  build_packages:\n    name: Build Packages\n    needs: [workflow-setup, build-docker-image]\n    uses: hyperledger/indy-shared-gha/.github/workflows/buildpackages.yaml@v1\n    with:\n      DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/plenum-build:${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n      isDev: 'true'\n      isRC: 'false'\n      moduleName: plenum\n\n  plenum_tests:\n    name: Test Plenum\n    needs: [workflow-setup, lint, build_packages]\n    uses: ./.github/workflows/reuseable_test.yaml\n    with:\n      GITHUB_REPOSITORY_NAME: ${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n\n  statusCheck:\n    name: statusCheck\n    runs-on: ubuntu-latest\n    needs: [workflow-setup, plenum_tests]\n    if: ${{ needs.workflow-setup.outputs.testsNeeded == 'false' || success() }}\n    steps:\n      - run: 'echo \"Just a status Check (Always true, when executed) for branch protection rules(blocks merging while test are running and if tests fail).\" '", "state": "active", "repository": "hyperledger/indy-plenum"}
{"mined_at": "2024-07-15T12:47:10.462738", "created_at": "2022-05-13T19:43:46+02:00", "updated_at": "2023-04-12T14:26:01+02:00", "name": "Indy Plenum - Push Workflow", "path": ".github/workflows/Push.yaml", "contents": "name: Indy Plenum - Push Workflow\non:\n  push:\n    branches:\n      - main\n    paths:\n      - '**.py'\n      - '.github/**'\n      - 'build-scripts/**'\n      - 'bump_version.sh'\n\njobs:\n  workflow-setup:\n    name: Initialize Workflow\n    runs-on: ubuntu-latest\n    outputs:\n      CACHE_KEY_BUILD: ${{ steps.setup.outputs.CACHE_KEY_BUILD }}\n      UBUNTU_VERSION: ${{ steps.setup.outputs.UBUNTU_VERSION }}\n      # Expose the lowercase version of the GitHub repository name\n      # to all subsequent jobs that reference image repositories\n      # as the push and pull operations require the URL of the repository\n      # to be in lowercase.\n      GITHUB_REPOSITORY_NAME: ${{ steps.setup.outputs.GITHUB_REPOSITORY_NAME }}\n      distribution: ${{ steps.setup.outputs.distribution }}\n      publish: ${{ steps.setup.outputs.publish }}\n    steps:\n      - name: checkout source code\n        uses: actions/checkout@v4\n      - name: setup\n        id: setup\n        uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1\n\n  lint:\n    name: Lint\n    uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v1\n\n  build-docker-image:\n    name: Create Builder Image\n    needs: [workflow-setup, lint]\n    uses:  hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v1\n    with:\n      CACHE_KEY_BUILD: ${{ needs.workflow-setup.outputs.CACHE_KEY_BUILD }}\n      DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/plenum-build\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n\n  build_packages:\n    name: Build Packages\n    needs: [workflow-setup, build-docker-image]\n    uses: hyperledger/indy-shared-gha/.github/workflows/buildpackages.yaml@v1\n    with:\n      DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/plenum-build:${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n      isDev: 'true'\n      isRC: 'false'\n      moduleName: plenum\n\n  plenum_tests:\n    name: Test Plenum\n    needs: [workflow-setup, lint, build_packages]\n    uses: ./.github/workflows/reuseable_test.yaml\n    with:\n      GITHUB_REPOSITORY_NAME: ${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n\n  publish_artifacts:\n    name: Publish Artifacts\n    needs: [workflow-setup, plenum_tests]\n    if: needs.workflow-setup.outputs.publish == 'true'\n    uses: hyperledger/indy-shared-gha/.github/workflows/publish_artifacts.yaml@v1\n    with:\n      COMPONENT: 'dev'\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n      distribution: ${{ needs.workflow-setup.outputs.distribution }}\n      moduleName: plenum\n    secrets:\n      INDY_ARTIFACTORY_REPO_CONFIG: ${{ secrets.INDY_ARTIFACTORY_REPO_CONFIG }}\n      PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "hyperledger/indy-plenum"}
{"mined_at": "2024-07-15T12:47:11.489096", "created_at": "2022-05-12T14:46:37+02:00", "updated_at": "2023-04-19T21:19:01+02:00", "name": "Triggered by Version Bump merged", "path": ".github/workflows/publishRelease.yaml", "contents": "name: Triggered by Version Bump merged\n\n#disable all tags and enable all brannches and only version file\non:\n  push:\n    branches-ignore:\n      - update-rc-version\n      - update-version\n    paths:\n      - '!**'\n      - \"plenum/__version__.json\"\n\njobs:\n  release-infos:\n    name: release-infos\n    runs-on: ubuntu-latest\n    outputs:\n      isVersionBump: ${{ steps.get-release-info.outputs.isVersionBump }}\n      isPreRelease: ${{ steps.get-release-info.outputs.isRC }}\n      versionTag: ${{ steps.get-release-info.outputs.versionTag }}\n      version: ${{ steps.get-release-info.outputs.version }}\n      component: ${{ steps.get-release-info.outputs.component }}\n      CACHE_KEY_BUILD: ${{ steps.workflow-setup.outputs.CACHE_KEY_BUILD }}\n      UBUNTU_VERSION: ${{ steps.workflow-setup.outputs.UBUNTU_VERSION }}\n      # Expose the lowercase version of the GitHub repository name\n      # to all subsequent jobs that reference image repositories\n      # as the push and pull operations require the URL of the repository\n      # to be in lowercase.\n      GITHUB_REPOSITORY_NAME: ${{ steps.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}\n      distribution: ${{ steps.workflow-setup.outputs.distribution }}\n      publish: ${{ steps.workflow-setup.outputs.publish }}\n    steps:\n      - name: checkout source code\n        uses: actions/checkout@v4\n      - name: get-release-info\n        id: get-release-info\n        uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1\n        with:\n          versionString: \"${{ github.event.head_commit.message }}\"\n      - name: workflow-setup\n        id: workflow-setup\n        uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1\n\n  createRelease:\n    name: Create Release\n    needs: [release-infos]\n    if: needs.release-infos.outputs.isVersionBump == 'true'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Download Plenum deb Artifacts from Github Action Artifacts\n        uses: dawidd6/action-download-artifact@v5\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          workflow: releasepr.yaml\n          workflow_conclusion: success\n          name: plenum-deb\n          path: artifacts/plenum-deb\n      - name: Download Plenum python Artifacts from Github Action Artifacts\n        uses: dawidd6/action-download-artifact@v5\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          workflow: releasepr.yaml\n          workflow_conclusion: success\n          name: plenum-python\n          path: artifacts/plenum-python\n      - name: Download Plenum third party dependency Artifacts from Github Action Artifacts\n        uses: dawidd6/action-download-artifact@v5\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          workflow: releasepr.yaml\n          workflow_conclusion: success\n          name: third-party-dependencies\n          path: artifacts/third-party-dependencies\n      - uses: actions/upload-artifact@v4\n        with:\n          name: third-party-dependencies\n          path: artifacts/third-party-dependencies\n          retention-days: 5\n      - uses: actions/upload-artifact@v4\n        with:\n          name: plenum-deb\n          path: artifacts/plenum-deb\n          retention-days: 5\n      - uses: actions/upload-artifact@v4\n        with:\n          name: plenum-python\n          path: artifacts/plenum-python\n          retention-days: 5\n      - name: Zip Files for Release\n        run: |\n          zip -r artifacts/plenum-deb.zip artifacts/plenum-deb\n          zip -r artifacts/plenum-python.zip artifacts/plenum-python\n          zip -r artifacts/third-party-dependencies.zip artifacts/third-party-dependencies\n      - name: Generate Release\n        uses: softprops/action-gh-release@v2\n        with:\n          tag_name: ${{ needs.release-infos.outputs.VERSIONTAG }}\n          files: |\n            artifacts/**.zip\n          generate_release_notes: true\n          body: \"[${{ needs.release-infos.outputs.VERSIONTAG }}] \"\n          prerelease: ${{ needs.release-infos.outputs.isPreRelease }}\n          target_commitish: ${{ github.event.ref }}\n          name: \"${{ needs.release-infos.outputs.VERSIONTAG }}\"\n          token: ${{ secrets.BOT_PR_PAT }}\n\n  publish_artifacts:\n    name: Publish Artifacts\n    needs: [release-infos, createRelease]\n    if: needs.release-infos.outputs.isVersionBump == 'true' && needs.release-infos.outputs.publish == 'true'\n    uses: hyperledger/indy-shared-gha/.github/workflows/publish_artifacts.yaml@v1\n    with:\n      COMPONENT: ${{ needs.release-infos.outputs.component }}\n      UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}\n      distribution: ${{ needs.release-infos.outputs.distribution }}\n      moduleName: plenum\n    secrets:\n      INDY_ARTIFACTORY_REPO_CONFIG: ${{ secrets.INDY_ARTIFACTORY_REPO_CONFIG }}\n      PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n\n  convertPyVersion:\n    name: \"Convert to python version flavour\"\n    needs: [release-infos, publish_artifacts]\n    uses: hyperledger/indy-shared-gha/.github/workflows/pyVersionConversion.yaml@v1\n    with:\n      VERSIONTAG: ${{ needs.release-infos.outputs.VERSIONTAG }}\n\n  triggerNodeUpdate:\n    runs-on: ubuntu-latest\n    needs: [release-infos, publish_artifacts, convertPyVersion]\n    steps:\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.BOT_PR_PAT }}\n          repository: hyperledger/indy-node\n          event-type: update-node\n          client-payload: '{\"pyVersion\": \"${{ needs.convertPyVersion.outputs.pyVersion }}\", \"debVersion\": \"${{ steps.conversion.outputs.debVersion }}\", \"email\":\"${{ github.event.pusher.email }}\"}'\n", "state": "active", "repository": "hyperledger/indy-plenum"}
{"mined_at": "2024-07-15T12:47:12.527725", "created_at": "2022-06-02T17:17:23+02:00", "updated_at": "2023-04-12T14:26:01+02:00", "name": "Triggered by Version Bump Release PR", "path": ".github/workflows/releasepr.yaml", "contents": "name: Triggered by Version Bump Release PR\n\non:\n  pull_request:\n    paths:\n      - '!**'\n      - \"plenum/__version__.json\"\n\njobs:\n  release-infos:\n    name: infos\n    runs-on: ubuntu-latest\n    outputs:\n      isVersionBump: ${{ steps.get-release-info.outputs.isVersionBump }}\n      isPreRelease: ${{ steps.get-release-info.outputs.isRC }}\n      CACHE_KEY_BUILD: ${{ steps.workflow-setup.outputs.CACHE_KEY_BUILD }}\n      UBUNTU_VERSION: ${{ steps.workflow-setup.outputs.UBUNTU_VERSION }}\n      # Expose the lowercase version of the GitHub repository name\n      # to all subsequent jobs that reference image repositories\n      # as the push and pull operations require the URL of the repository\n      # to be in lowercase.\n      GITHUB_REPOSITORY_NAME: ${{ steps.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}\n      distribution: ${{ steps.workflow-setup.outputs.distribution }}\n    steps:\n      - name: checkout source code\n        uses: actions/checkout@v4\n      - name: get-release-info\n        id: get-release-info\n        uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1\n        with:\n          versionString: \"${{ github.event.pull_request.body }}\"\n      - name: workflow-setup\n        id: workflow-setup\n        uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1\n\n  lint:\n    name: Lint\n    needs: [release-infos]\n    if: needs.release-infos.outputs.isVersionBump == 'true'\n    uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v1\n\n  build-docker-image:\n    name: Create Builder Image\n    needs: [release-infos, lint]\n    if: needs.release-infos.outputs.isVersionBump == 'true'\n    uses:  hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v1\n    with:\n      CACHE_KEY_BUILD: ${{ needs.release-infos.outputs.CACHE_KEY_BUILD }}\n      DOCKER_IMAGE: ghcr.io/${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }}/plenum-build\n      UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}\n\n  build_packages:\n    name: Build Packages\n    needs: [release-infos, build-docker-image]\n    if: needs.release-infos.outputs.isVersionBump == 'true'\n    uses: hyperledger/indy-shared-gha/.github/workflows/buildpackages.yaml@v1\n    with:\n      DOCKER_IMAGE: ghcr.io/${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }}/plenum-build:${{ needs.release-infos.outputs.UBUNTU_VERSION }}\n      UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}\n      isDev: 'false'\n      isRC: '${{ needs.release-infos.outputs.isPreRelease }}'\n      moduleName: plenum\n\n  plenum_tests:\n    name: Test Plenum\n    needs: [release-infos, lint, build_packages]\n    if: needs.release-infos.outputs.isVersionBump == 'true'\n    uses: ./.github/workflows/reuseable_test.yaml\n    with:\n      GITHUB_REPOSITORY_NAME: ${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }}\n      UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}\n\n  statusCheck:\n    name: statusCheck\n    runs-on: ubuntu-latest\n    needs: [plenum_tests]\n    steps:\n      - run: 'echo \"Just a status Check (Always true, when executed) for branch protection rules(blocks merging while test are running and if tests fail).\" '", "state": "active", "repository": "hyperledger/indy-plenum"}
{"mined_at": "2024-07-15T12:47:13.565423", "created_at": "2023-04-12T14:26:01+02:00", "updated_at": "2023-04-12T14:26:01+02:00", "name": "Test Indy Plenum", "path": ".github/workflows/reuseable_test.yaml", "contents": "name: \"Test Indy Plenum\"\n\non:\n  workflow_call:\n    inputs:\n      GITHUB_REPOSITORY_NAME:\n        required: true\n        type: string\n      UBUNTU_VERSION:\n        required: true\n        type: string\n\njobs:\n  indy_plenum_tests:\n    name: Sliced Module Tests\n    # Reference to workflow-setup job is required to access the GITHUB_REPOSITORY_NAME output.\n    runs-on: ubuntu-20.04\n    # Fix for scacap/action-surefire-report out of memory error:\n    # - https://github.com/ScaCap/action-surefire-report/issues/17\n    env:\n      NODE_OPTIONS: \"--max_old_space_size=4096\"\n      UBUNTU_VERSION: ${{ inputs.UBUNTU_VERSION }}\n    container:\n      image: ghcr.io/${{ inputs.GITHUB_REPOSITORY_NAME }}/plenum-build:${{ inputs.UBUNTU_VERSION }}\n    strategy:\n      matrix:\n        module: [plenum]\n        # To slice up the tests into smaller chunks add additional sequential\n        # numbers here.  The subsequent steps will adjust automatically.\n        # ${{ strategy.job-total }} is used to get the total number of slices.\n        slice: [1, 2, 3, 4, 5, 6, 7, 8]\n      fail-fast: false\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          # pip cache on the plenum-build image is not in the default location.\n          # path: ~/.cache/pip\n          path: /root/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Download plenum deb build\n        uses: actions/download-artifact@v4\n        with:\n          name: plenum-deb\n\n      - name: Install dependencies from deb\n        run: |\n          apt update\n          aptStr=$(dpkg-deb -I indy-plenum_*.deb | grep -P \"Depends: \" | sed 's~Depends:~~g;s~(~~g;s~)~~g;s~>~~g;s~<~~g' | tr -d \" \\t\\n\\r\" | tr \",\" \"\\n\")\n          apt install -y ./indy-plenum_*.deb $aptStr libindy\n          ln -s /usr/lib/ursa/libursa.so /usr/lib/libursa.so\n\n      - name: Install dependencies\n        run: |\n          # Explicitly use the existing pip cache location in the plenum-build image.\n          pip --cache-dir /root/.cache/pip install .[tests]\n\n      - name: Run Indy Plenum ${{ matrix.module }} test slice ${{ matrix.slice }}/${{ strategy.job-total }}\n        id: plenum-test\n        run: RUSTPYTHONASYNCIODEBUG=0 python3 runner.py --pytest \"python3 -m pytest -l -vv\" --dir \"${{ matrix.module }}\" --output \"test-result-plenum-${{ matrix.slice }}.txt\" --test-only-slice \"${{ matrix.slice }}/${{ strategy.job-total }}\"\n\n      - name: Publish Test Report\n        if: success() || failure()\n        uses: scacap/action-surefire-report@v1\n        continue-on-error: true\n        with:\n          check_name: Indy Plenum ${{ matrix.module }} Test Report for slice ${{ matrix.slice }}/${{ strategy.job-total }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          report_paths: \"*-test-results.xml\"\n\n      - name: Upload Detailed Test Failure Results\n        # The test runner only emits the detailed test results if the tests fail.\n        if: (steps.plenum-test.outcome == 'failure') && failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: detailed-test-result-slice-${{ matrix.slice }}\n          path: test-result-plenum-${{ matrix.slice }}.txt\n          retention-days: 5\n\n  indy_plenum_module_tests:\n    name: Module Tests\n    # Reference to workflow-setup job is required to access the GITHUB_REPOSITORY_NAME output.\n    runs-on: ubuntu-20.04\n    env:\n      UBUNTU_VERSION: ${{ inputs.UBUNTU_VERSION }}\n    container:\n      image: ghcr.io/${{ inputs.GITHUB_REPOSITORY_NAME }}/plenum-build:${{ inputs.UBUNTU_VERSION }}\n    strategy:\n      matrix:\n        module: [common, crypto, ledger, state, storage, stp_core, stp_zmq]\n      fail-fast: false\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          # pip cache on the plenum-build image is not in the default location.\n          # path: ~/.cache/pip\n          path: /root/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Download plenum deb build\n        uses: actions/download-artifact@v4\n        with:\n          name: plenum-deb\n\n      - name: Install dependencies from deb\n        run: |\n          apt update\n          aptStr=$(dpkg-deb -I indy-plenum_*.deb | grep -P \"Depends: \" | sed 's~Depends:~~g;s~(~~g;s~)~~g;s~>~~g;s~<~~g' | tr -d \" \\t\\n\\r\" | tr \",\" \"\\n\")\n          apt install -y ./indy-plenum_*.deb $aptStr libindy\n          ln -s /usr/lib/ursa/libursa.so /usr/lib/libursa.so\n\n      - name: Install dependencies\n        run: |\n          # Explicitly use the existing pip cache location in the plenum-build image.\n          pip --cache-dir /root/.cache/pip install .[tests]\n\n      - name: Run Indy Plenum ${{ matrix.module }} tests\n        run: python3 -m pytest -l -vv --junitxml=test-result-plenum-${{ matrix.module }}.xml ${{ matrix.module }}\n\n      - name: Publish Test Report\n        uses: scacap/action-surefire-report@v1\n        continue-on-error: true\n        with:\n          check_name: Indy Plenum ${{ matrix.module }} Test Report\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          report_paths: test-result-plenum-${{ matrix.module }}.xml\n", "state": "active", "repository": "hyperledger/indy-plenum"}
{"mined_at": "2024-07-15T12:47:14.642834", "created_at": "2022-06-02T17:16:26+02:00", "updated_at": "2023-04-12T14:26:01+02:00", "name": "Triggered by set Tag", "path": ".github/workflows/tag.yaml", "contents": "name: Triggered by set Tag\n\non:\n  push:\n    tags:\n      - setRelease-v**\n\njobs:\n  taginfos:\n    name: get Tag infos\n    runs-on: ubuntu-latest\n    outputs:\n      version: ${{ steps.get-release-info.outputs.version }}\n      versionTag: ${{ steps.get-release-info.outputs.versionTag }}\n      prBranch: ${{ steps.get-release-info.outputs.prBranch }}\n      BASE: ${{ steps.get-branch.outputs.branch }}\n    steps:\n      - name: checkout source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: extract branch\n        id: get-branch\n        uses: hyperledger/indy-shared-gha/.github/actions/branch-from-tag@v1\n        with:\n          tag: ${{ github.ref }}\n      - name: get-release-info\n        id: get-release-info\n        uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1\n        with:\n          versionString: \"${{ github.ref }}\"\n\n  bump_version:\n    name: Bump Version Number\n    needs: taginfos\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n      - name: Install deps for version change\n        run: pip install base58 \\\n                      importlib_metadata==3.10.1 \\\n                      packaging \\\n                      python-dateutil \\\n                      msgpack-python \\\n                      jsonpickle=3.0.3\n      - name: Prepare package and set version\n        run: |\n          ./bump_version.sh ${{ needs.taginfos.outputs.VERSION }}\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          author: ${{ github.actor }} <${{ github.event.pusher.email }}>\n          committer: ${{ github.actor }} <${{ github.event.pusher.email }}>\n          signoff: true\n          commit-message: Update Version number for v${{ needs.taginfos.outputs.version }}\n          base: ${{ needs.taginfos.outputs.BASE }}\n          branch: ${{ needs.taginfos.outputs.prBranch }}\n          title: \"[${{ needs.taginfos.outputs.versionTag }}] - Update Version Number for Release\"\n          body: \"[${{ needs.taginfos.outputs.versionTag }}] - Update Version number for Release\"\n          delete-branch: true\n          token: ${{ secrets.BOT_PR_PAT }}\n", "state": "active", "repository": "hyperledger/indy-plenum"}
{"mined_at": "2024-07-15T12:47:16.650955", "created_at": "2022-10-22T23:26:16+02:00", "updated_at": "2022-10-23T00:12:06+02:00", "name": "gh-pages", "path": ".github/workflows/gh.yml", "contents": "name: gh-pages\non:\n  workflow_run:\n    workflows: [\"ci\"]\n    branches: [main]\n    types:\n      - completed\njobs:\n  deploy-gh-pages:\n    concurrency: ci-${{ github.ref }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r docs/requirements.txt\n          pip install ghp-import\n      - name: make html\n        working-directory: docs\n        run: make html\n      - name: Deploy Documentation\n        run: |\n          pip install ghp-import\n          ghp-import -n -p -m \"Documentation git hash $(git rev-parse --short HEAD)\" -f docs/_build/html\n", "state": "active", "repository": "jrobichaud/django-structlog"}
{"mined_at": "2024-07-15T12:47:17.702762", "created_at": "2022-03-31T22:45:05+02:00", "updated_at": "2022-08-02T16:49:48+02:00", "name": "ci", "path": ".github/workflows/main.yml", "contents": "name: ci\non:\n  push:\n    branches:\n      - main\n      - release/**\n    tags:\n      - '[0-9]+.[0-9]+.[0-9]+'\n      - '[0-9]+.[0-9]+.[0-9]+.dev[0-9]+'\n  pull_request: {}\n\njobs:\n  test-demo-app:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Start Redis\n        uses: supercharge/redis-github-action@1.8.0\n      - name: Test demo app\n        env:\n          CELERY_BROKER_URL: redis://0.0.0.0:6379\n          DJANGO_SETTINGS_MODULE: config.settings.test_demo_app\n        run: pytest --cov=./django_structlog_demo_project --cov-append django_structlog_demo_project\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -U setuptools\n          python -m pip install tox tox-gh-actions\n      - name: Start Redis\n        uses: supercharge/redis-github-action@1.8.0\n      - name: Test with tox\n        run: tox\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  test-docs:\n    needs:\n      - test-demo-app\n      - test\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r docs/requirements.txt\n      - name: make html\n        working-directory: docs\n        run: make html\n      - name: make doctest\n        working-directory: docs\n        run: make doctest\n\n  black:\n    needs:\n      - test-demo-app\n      - test\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements/black.txt\n      - name: run black\n        run: black --check --verbose .\n\n  ruff:\n    needs:\n      - test-demo-app\n      - test\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements/ruff.txt\n      - name: run ruff\n        run: ruff check .\n\n\n  test-install-base:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -U setuptools\n          python -m pip install .\n      - name: Import django_structlog modules\n        run: |\n          python -c \"import django_structlog\"\n          python -c \"import django_structlog.apps\"\n          python -c \"import django_structlog.signals\"\n          python -c \"import django_structlog.app_settings\"\n          python -c \"import django_structlog.middlewares.request\"\n\n  test-install-celery:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -U setuptools\n          python -m pip install .[celery]\n      - name: Import django_structlog modules\n        run: |\n          python -c \"import django_structlog\"\n          python -c \"import django_structlog.apps\"\n          python -c \"import django_structlog.signals\"\n          python -c \"import django_structlog.app_settings\"\n          python -c \"import django_structlog.middlewares.request\"\n      - name: Import django_structlog celery modules\n        run: |\n          python -c \"import django_structlog.celery.receivers\"\n          python -c \"import django_structlog.celery.steps\"\n          python -c \"import django_structlog.celery.signals\"\n\n  test-install-commands:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -U setuptools\n          python -m pip install .[commands]\n      - name: Import django_structlog modules\n        run: |\n          python -c \"import django_structlog\"\n          python -c \"import django_structlog.apps\"\n          python -c \"import django_structlog.signals\"\n          python -c \"import django_structlog.app_settings\"\n          python -c \"import django_structlog.middlewares.request\"\n      - name: Import django_structlog commands modules\n        run: |\n          python -c \"import django_structlog.commands\"\n\n  pypi-deployment:\n    needs:\n      - test-docs\n      - test-install-base\n      - test-install-celery\n      - test-install-commands\n      - black\n      - ruff\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -U -q build\n      - name: build sdist\n        run: python -m build --sdist\n      - name: build wheel\n        run: python -m build --wheel\n      - name: Publish package\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_DEPLOYMENT_KEY }}\n", "state": "active", "repository": "jrobichaud/django-structlog"}
{"mined_at": "2024-07-15T12:47:18.747345", "created_at": "2023-09-08T14:41:15+02:00", "updated_at": "2023-09-10T02:52:27+02:00", "name": "pre-commit auto-update", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit auto-update\n\non:\n  # every monday at 11am utc\n  schedule:\n    - cron: \"0 11 * * 1\"\n  # on demand\n  workflow_dispatch:\n\njobs:\n  auto-update:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - uses: browniebroke/pre-commit-autoupdate-action@v1.0.0\n\n      - uses: peter-evans/create-pull-request@v6.0.5\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          branch: update/pre-commit-hooks\n          title: Update pre-commit hooks\n          commit-message: \"chore: update pre-commit hooks\"\n          body: Update versions of pre-commit hooks to latest version.\n          #base: ${{ github.head_ref }}\n", "state": "active", "repository": "jrobichaud/django-structlog"}
{"mined_at": "2024-07-15T12:47:19.796531", "created_at": "2022-10-22T23:58:55+02:00", "updated_at": "2022-10-22T23:58:55+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "jrobichaud/django-structlog"}
{"mined_at": "2024-07-15T12:47:21.976210", "created_at": "2020-11-26T08:04:32+01:00", "updated_at": "2020-11-26T08:04:32+01:00", "name": "ChangeLog", "path": ".github/workflows/auto-changelog.yml", "contents": "name: ChangeLog\n\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/setup-node@v2-beta\n      with:\n        node-version: '12'\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0 \n    \n    - name: Checkout Tool\n      uses: actions/checkout@v2\n      with:\n        repository: konakonall/auto-changelog\n        path: 'auto-changelog'\n    - name: Build Tool\n      run: |\n        cd auto-changelog\n        npm install\n        npm link\n        \n    - name: Generate ChangeLog\n      env: # Or as an environment variable\n          TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        auto-changelog --token $TOKEN\n    - name: Cat ChangeLog\n      run: cat CHANGELOG.md\n    \n    - name: Commit files\n      env:\n        CI_USER: \"gouki0123\"\n        CI_EMAIL: \"gouki0123@gmail.com\"\n      run: |\n        git config --local user.email \"$CI_EMAIL\"\n        git config --local user.name \"$CI_USER\"\n        git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo \"push=1\" >> $GITHUB_ENV || echo \"No changes to CHANGELOG.md\"\n\n    - name: Push changes\n      if: env.push == 1\n      env:\n        CI_USER: \"gouki0123\"\n        CI_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        git push \"https://$CI_USER:$CI_TOKEN@github.com/$GITHUB_REPOSITORY.git\" HEAD:master\n", "state": "active", "repository": "tencentyun/cos-python-sdk-v5"}
{"mined_at": "2024-07-15T12:47:23.996676", "created_at": "2022-01-13T13:53:42+01:00", "updated_at": "2023-08-14T04:50:18+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '43 2 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "disabled_inactivity", "repository": "fiaas/fiaas-deploy-daemon"}
{"mined_at": "2024-07-15T12:47:26.088444", "created_at": "2021-12-27T22:35:37+01:00", "updated_at": "2021-12-28T00:23:13+01:00", "name": "Django CI", "path": ".github/workflows/django.yml", "contents": "name: Django CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.8.10]\n        node-version: [12.22.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Use Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v2\n      with:\n        node-version: ${{ matrix.node-version }}\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        npm install\n    - name : Apply Migrations\n      run: |\n        python manage.py migrate\n    - name: Run Tests\n      run: |\n        python manage.py test\n        npm run flow\n", "state": "active", "repository": "bmun/huxley"}
{"mined_at": "2024-07-15T12:47:28.183716", "created_at": "2021-06-21T10:28:57+02:00", "updated_at": "2021-06-21T10:28:57+02:00", "name": "PR welcome message", "path": ".github/workflows/pr-welcome-msg.yml", "contents": "# IMPORTANT NOTE\n# In this workflow there should NOT be checkout action - because of security reasons.\n# More info:\n# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target\n# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n\nname: PR welcome message\non:\n  pull_request_target:\n    types: opened\n\njobs:\n  pr_comment:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create comment\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            ## **Thank you for contributing to the Leapp project!**\n            Please note that every PR needs to comply with the [Leapp Guidelines](https://leapp.readthedocs.io/en/latest/contributing.html#) and must pass all tests in order to be mergeable.\n            If you want to request a review or rebuild a package in copr, you can use following commands as a comment:\n            - **review please @oamg/developers** to notify leapp developers of the review request\n            - **/packit copr-build** to submit a public copr build using packit\n\n            To launch regression testing public members of oamg organization can leave the following comment:\n            - **/rerun** to schedule basic regression tests using this pr build and leapp-repository\\*master\\* as artifacts\n            - **/rerun 42** to schedule basic regression tests using this pr build and leapp-repository\\*PR42\\* as artifacts\n            - **/rerun-sst** to schedule sst tests using this pr build and leapp-repository\\*master\\* as artifacts\n            - **/rerun-sst 42** to schedule sst tests using this pr build and leapp-repository\\*PR42\\* as artifacts\n\n            Please [open ticket](https://url.corp.redhat.com/oamg-ci-issue) in case you experience technical problem with the CI. (RH internal only)\n\n            **Note:** In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please consider rerunning the CI by commenting **leapp-ci build** (might require several comments). If the problem persists, contact leapp-infra.\n", "state": "active", "repository": "oamg/leapp"}
{"mined_at": "2024-07-15T12:47:29.232260", "created_at": "2022-06-07T14:14:42+02:00", "updated_at": "2022-06-07T14:14:42+02:00", "name": "reuse-copr-build@TF", "path": ".github/workflows/reuse-copr-build.yml", "contents": "name: reuse-copr-build@TF\n\non:\n  workflow_call:\n    secrets:\n      FEDORA_COPR_LOGIN:\n        required: true\n      FEDORA_COPR_TOKEN:\n        required: true\n    outputs:\n      artifacts:\n        description: \"A string with test artifacts to install in tft test env\"\n        value: ${{ jobs.reusable_workflow_copr_build_job.outputs.artifacts }}\n\njobs:\n  reusable_workflow_copr_build_job:\n    # This job only runs for '/rerun' pull request comments by owner, member, or collaborator of the repo/organization.\n    name: Build copr builds for tft tests\n    runs-on: ubuntu-22.04\n    outputs:\n      artifacts: ${{ steps.gen_artifacts.outputs.artifacts }}\n    if: |\n      github.event.issue.pull_request\n      && startsWith(github.event.comment.body, '/rerun')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n    steps:\n      - name: Update repository\n        id: repo_update\n        run: sudo apt-get update\n\n      - name: Install necessary deps\n        id: deps_install\n        run: sudo apt-get install -y libkrb5-dev\n\n      - name: Get dependent leapp-repository pr number from rerun comment\n        uses: actions-ecosystem/action-regex-match@v2\n        id: leapp_repository_pr_regex_match\n        with:\n          text: ${{ github.event.comment.body }}\n          regex: '^/(rerun|rerun-sst)\\s+([0-9]+)\\s*$'\n\n      - name: Get pull request number\n        id: pr_nr\n        run: |\n          PR_URL=\"${{ github.event.comment.issue_url }}\"\n          echo \"::set-output name=pr_nr::${PR_URL##*/}\"\n\n      - name: Checkout\n        # TODO: The correct way to checkout would be to use simmilar approach as in get_commit_by_timestamp function of\n        #       the github gluetool module (i.e. do not use HEAD but the last commit before comment).\n        id: checkout\n        uses: actions/checkout@v4\n        with:\n          ref: \"refs/pull/${{ steps.pr_nr.outputs.pr_nr }}/head\"\n\n      - name: Get ref and sha\n        id: ref_sha\n        run: |\n          echo \"::set-output name=sha::$(git rev-parse --short HEAD)\"\n          echo \"::set-output name=ref::refs/pull/${{ steps.pr_nr.outputs.pr_nr }}/head\"\n\n      - name: Get latest leapp-repository master copr build id\n        id: get_latest_lpr_copr_build_id\n        if: ${{ steps.leapp_repository_pr_regex_match.outputs.match == '' }}\n        run: |\n          cat << EOF > copr_fedora.conf\n          [copr-cli]\n          login = ${{ secrets.FEDORA_COPR_LOGIN }}\n          username = oamgbot\n          token = ${{ secrets.FEDORA_COPR_TOKEN }}\n          copr_url = https://copr.fedorainfracloud.org\n          # expiration date: 2030-07-04\n          EOF\n\n          pip install copr-cli\n          REGEX='leapp-repository.*master.*' COPR_REPO='@oamg/leapp' _COPR_CONFIG=copr_fedora.conf python ${{ github.workspace }}/utils/get_latest_copr_build > latest_lpr\n          COPR_ID=$(cat latest_lpr)\n          echo \"::set-output name=copr_id::${COPR_ID##*/}\"\n\n      - name: Trigger copr build\n        id: copr_build\n        env:\n          COPR_CONFIG: \"copr_fedora.conf\"\n          COPR_REPO: \"@oamg/leapp\"\n        run: |\n          cat << EOF > copr_fedora.conf\n          [copr-cli]\n          login = ${{ secrets.FEDORA_COPR_LOGIN }}\n          username = oamgbot\n          token = ${{ secrets.FEDORA_COPR_TOKEN }}\n          copr_url = https://copr.fedorainfracloud.org\n          # expiration date: 2030-07-04\n          EOF\n\n          pip install copr-cli\n          PR=${{ steps.pr_nr.outputs.pr_nr }} COPR_REPO=\"$COPR_REPO\" COPR_CONFIG=$COPR_CONFIG make copr_build | tee copr.log\n\n          COPR_URL=$(grep -Po 'https://copr.fedorainfracloud.org/coprs/build/\\d+' copr.log)\n          echo \"::set-output name=copr_url::${COPR_URL}\"\n          echo \"::set-output name=copr_id::${COPR_URL##*/}\"\n\n      - name: Add comment with copr build url\n        # TODO: Create comment when copr build fails.\n        id: link_copr\n        uses: actions/github-script@v7\n        with:\n          script: |\n            github.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Copr build succeeded: ${{ steps.copr_build.outputs.copr_url }}'\n            })\n\n      - name: If leapp_repository_pr was specified in the comment - trigger copr build\n        id: leapp_repository_pr\n        if: ${{ steps.leapp_repository_pr_regex_match.outputs.match != '' }}\n        run: |\n          echo \"::set-output name=leapp_repository_pr::${{ steps.leapp_repository_pr_regex_match.outputs.group2 }}\"\n\n      - name: Checkout leapp-repository\n        id: checkout_leapp_repository\n        if: ${{ steps.leapp_repository_pr_regex_match.outputs.match != '' }}\n        uses: actions/checkout@v4\n        with:\n          repository: \"oamg/leapp-repository\"\n          ref: \"refs/pull/${{ steps.leapp_repository_pr.outputs.leapp_repository_pr }}/head\"\n\n      - name: Get ref and sha for leapp-repository\n        id: ref_sha_leapp_repository\n        if: ${{ steps.leapp_repository_pr_regex_match.outputs.match != '' }}\n        run: |\n          echo \"::set-output name=sha::$(git rev-parse --short HEAD)\"\n          echo \"::set-output name=ref::refs/pull/${{ steps.leapp_repository_pr.outputs.leapp_repository_pr }}/head\"\n\n      - name: Trigger copr build for leapp-repository\n        id: copr_build_leapp_repository\n        if: ${{ steps.leapp_repository_pr_regex_match.outputs.match != '' }}\n        env:\n          COPR_CONFIG: \"copr_fedora.conf\"\n          COPR_REPO: \"@oamg/leapp\"\n        run: |\n          cat << EOF > copr_fedora.conf\n          [copr-cli]\n          login = ${{ secrets.FEDORA_COPR_LOGIN }}\n          username = oamgbot\n          token = ${{ secrets.FEDORA_COPR_TOKEN }}\n          copr_url = https://copr.fedorainfracloud.org\n          # expiration date: 2030-07-04\n          EOF\n\n          pip install copr-cli\n          PR=${{ steps.leapp_repository_pr.outputs.leapp_repository_pr }} COPR_REPO=\"$COPR_REPO\" COPR_CONFIG=$COPR_CONFIG make copr_build | tee copr.log\n\n          COPR_URL=$(grep -Po 'https://copr.fedorainfracloud.org/coprs/build/\\d+' copr.log)\n          echo \"::set-output name=copr_url::${COPR_URL}\"\n          echo \"::set-output name=copr_id::${COPR_URL##*/}\"\n\n      - name: Add comment with copr build url for leapp-repository\n        # TODO: Create comment when copr build fails.\n        id: link_copr_leapp_repository\n        if: ${{ steps.leapp_repository_pr_regex_match.outputs.match != '' }}\n        uses: actions/github-script@v7\n        with:\n          script: |\n            github.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Copr build succeeded: ${{ steps.copr_build_leapp_repository.outputs.copr_url }}'\n            })\n\n      - name: Generate artifacts output\n        id: gen_artifacts\n        env:\n          ARTIFACTS: ${{ format('{0};{1}', steps.leapp_repository_pr_regex_match.outputs.match != '' && steps.copr_build_leapp_repository.outputs.copr_id || steps.get_latest_lpr_copr_build_id.outputs.copr_id, steps.copr_build.outputs.copr_id) }}\n        run: |\n          echo \"::set-output name=artifacts::${{ env.ARTIFACTS }}\"\n", "state": "active", "repository": "oamg/leapp"}
{"mined_at": "2024-07-15T12:47:30.281296", "created_at": "2022-06-07T14:14:42+02:00", "updated_at": "2022-06-07T14:14:42+02:00", "name": "reuse-tests-7to8@TF", "path": ".github/workflows/reuse-tests-7to8.yml", "contents": "name: reuse-tests-7to8@TF\n\non:\n  workflow_call:\n    secrets:\n      TF_ENDPOINT:\n        required: True\n      TF_API_KEY:\n        required: True\n    inputs:\n      copr_artifacts:\n        required: True\n        type: string\n      tmt_plan_regex:\n        type: string\n        default: \"^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*8to9)\"\n      environment_settings:\n        type: string\n        default: '{\"provisioning\": {\"post_install_script\": \"#!/bin/sh\\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys\"}}'\n      arch:\n        type: string\n        default: 'x86_64'\n      pull_request_status_name:\n        type: string\n        default: '7to8'\n      copr:\n        type: string\n        default: 'epel-7-x86_64'\n      tmt_context:\n        type: string\n        default: 'distro=rhel-7.9'\n      compose:\n        type: string\n        default: 'RHEL-7.9-ZStream'\n      variables:\n        type: string\n        default: ''\n      update_pull_request_status:\n        type: string\n        default: 'true'\n\njobs:\n  reusable_workflow_job:\n    name: Schedule regression tests on Testing Farm\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Schedule regression testing for 7to8\n        id: run_test_7to8\n        uses: sclorg/testing-farm-as-github-action@v1.2.10\n        with:\n          # required\n          api_url: ${{ secrets.TF_ENDPOINT }}\n          api_key: ${{ secrets.TF_API_KEY }}\n          git_url: 'https://gitlab.cee.redhat.com/oamg/tmt-plans'\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          # optional\n          tf_scope: 'private'\n          create_issue_comment: 'true'\n          update_pull_request_status: ${{ inputs.update_pull_request_status }}\n          tmt_plan_regex: ${{ inputs.tmt_plan_regex }}\n          compose: ${{ inputs.compose }}\n          arch: ${{ inputs.arch }}\n          copr: ${{ inputs.copr }}\n          copr_artifacts: ${{ inputs.copr_artifacts }}\n          debug: ${{ secrets.ACTIONS_STEP_DEBUG }}\n          tmt_context: ${{ inputs.tmt_context }}\n          pull_request_status_name: ${{ inputs.pull_request_status_name }}\n          environment_settings: ${{ inputs.environment_settings }}\n          variables: ${{ inputs.variables }}\n", "state": "active", "repository": "oamg/leapp"}
{"mined_at": "2024-07-15T12:47:31.330443", "created_at": "2022-06-07T14:14:42+02:00", "updated_at": "2022-06-07T14:14:42+02:00", "name": "reuse-tests-8to9@TF", "path": ".github/workflows/reuse-tests-8to9.yml", "contents": "name: reuse-tests-8to9@TF\n\non:\n  workflow_call:\n    secrets:\n      TF_ENDPOINT:\n        required: True\n      TF_API_KEY:\n        required: True\n    inputs:\n      copr_artifacts:\n        required: True\n        type: string\n      tmt_plan_regex:\n        type: string\n        default: \"^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*7to8)\"\n      environment_settings:\n        type: string\n        default: '{\"provisioning\": {\"post_install_script\": \"#!/bin/sh\\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys\"}}'\n      arch:\n        type: string\n        default: 'x86_64'\n      pull_request_status_name:\n        type: string\n        default: '8to9'\n      copr:\n        type: string\n        default: 'epel-8-x86_64'\n      tmt_context:\n        type: string\n        default: 'distro=rhel-8.6'\n      compose:\n        type: string\n        default: 'RHEL-8.6.0-Nightly'\n      variables:\n        type: string\n        default: 'TARGET_RELEASE=9.0;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-rpms,rhel-8-for-x86_64-baseos-rpms'\n      update_pull_request_status:\n        type: string\n        default: 'true'\n\njobs:\n  reusable_workflow_job:\n    # This job only runs for '/rerun' pull request comments by owner, member, or collaborator of the repo/organization.\n    name: Schedule regression tests on Testing Farm\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Schedule regression testing for 8to9\n        id: run_test_8to9\n        uses: sclorg/testing-farm-as-github-action@v1.2.10\n        with:\n          # required\n          api_url: ${{ secrets.TF_ENDPOINT }}\n          api_key: ${{ secrets.TF_API_KEY }}\n          git_url: 'https://gitlab.cee.redhat.com/oamg/tmt-plans'\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          # optional\n          tf_scope: 'private'\n          create_issue_comment: 'true'\n          update_pull_request_status: ${{ inputs.update_pull_request_status }}\n          tmt_plan_regex: ${{ inputs.tmt_plan_regex }}\n          compose: ${{ inputs.compose }}\n          arch: ${{ inputs.arch }}\n          copr: ${{ inputs.copr }}\n          copr_artifacts: ${{ inputs.copr_artifacts }}\n          debug: ${{ secrets.ACTIONS_STEP_DEBUG }}\n          tmt_context: ${{ inputs.tmt_context }}\n          pull_request_status_name: ${{ inputs.pull_request_status_name }}\n          environment_settings: ${{ inputs.environment_settings }}\n          variables: ${{ inputs.variables }}\n", "state": "active", "repository": "oamg/leapp"}
{"mined_at": "2024-07-15T12:47:32.381602", "created_at": "2021-05-03T18:43:04+02:00", "updated_at": "2022-06-06T14:19:49+02:00", "name": "tmt@TF", "path": ".github/workflows/tmt-tests.yml", "contents": "name: tmt@TF\n\non:\n  issue_comment:\n    types:\n      - created\n\njobs:\n  call_workflow_copr_build:\n    uses: ./.github/workflows/reuse-copr-build.yml\n    secrets: inherit\n\n  call_workflow_tests_79to88_integration:\n    needs: call_workflow_copr_build\n    uses: ./.github/workflows/reuse-tests-7to8.yml\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*8to9)(?!.*max_sst)\"\n      pull_request_status_name: \"7.9to8.8\"\n      variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.8;LEAPPDATA_BRANCH=upstream'\n    if: |\n      github.event.issue.pull_request\n      && ! startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_79to86_integration:\n    needs: call_workflow_copr_build\n    uses: ./.github/workflows/reuse-tests-7to8.yml\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*8to9)(?!.*max_sst)\"\n      variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.6;LEAPPDATA_BRANCH=upstream'\n      pull_request_status_name: \"7.9to8.6\"\n    if: |\n      github.event.issue.pull_request\n      && ! startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_79to88_sst:\n    needs: call_workflow_copr_build\n    uses: ./.github/workflows/reuse-tests-7to8.yml\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*tier[2-3].*)(.*max_sst.*)\"\n      pull_request_status_name: \"7.9to8.8-sst\"\n      update_pull_request_status: 'false'\n      variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.8;LEAPPDATA_BRANCH=upstream'\n    if: |\n      github.event.issue.pull_request\n      && startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_7to8_aws:\n    needs: call_workflow_copr_build\n    uses: ./.github/workflows/reuse-tests-7to8.yml\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*8to9)(.*e2e)\"\n      compose: \"RHEL-7.9-rhui\"\n      environment_settings: '{\"provisioning\": {\"post_install_script\": \"#!/bin/sh\\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; echo 42; yum-config-manager --enable rhel-7-server-rhui-optional-rpms\"}}'\n      pull_request_status_name: \"7to8-aws-e2e\"\n      variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.6;RHUI=aws;LEAPPDATA_BRANCH=upstream'\n    if: |\n      github.event.issue.pull_request\n      && ! startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_86to90_integration:\n    needs: call_workflow_copr_build\n    uses: ./.github/workflows/reuse-tests-8to9.yml\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*7to8)(?!.*max_sst)\"\n      variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;LEAPPDATA_BRANCH=upstream'\n      pull_request_status_name: \"8.6to9.0\"\n    if: |\n      github.event.issue.pull_request\n      && ! startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_88to92_integration:\n    needs: call_workflow_copr_build\n    uses: ./.github/workflows/reuse-tests-8to9.yml\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*7to8)(?!.*max_sst)\"\n      variables: 'SOURCE_RELEASE=8.8;TARGET_RELEASE=9.2;LEAPP_DEVEL_TARGET_RELEASE=9.2;RHSM_REPOS=rhel-8-for-x86_64-appstream-beta-rpms,rhel-8-for-x86_64-baseos-beta-rpms;LEAPPDATA_BRANCH=upstream'\n      compose: \"RHEL-8.8.0-Nightly\"\n      pull_request_status_name: \"8.8to9.2\"\n      tmt_context: \"distro=rhel-8.8\"\n    if: |\n      github.event.issue.pull_request\n      && ! startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_86to90_sst:\n    needs: call_workflow_copr_build\n    uses: ./.github/workflows/reuse-tests-8to9.yml\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*tier[2-3].*)(.*max_sst.*)\"\n      variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;LEAPPDATA_BRANCH=upstream'\n      pull_request_status_name: \"8.6to9.0-sst\"\n      update_pull_request_status: 'false'\n    if: |\n      github.event.issue.pull_request\n      && startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_86to90_aws:\n    needs: call_workflow_copr_build\n    uses: ./.github/workflows/reuse-tests-8to9.yml\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*7to8)(.*e2e)\"\n      compose: \"RHEL-8.6-rhui\"\n      environment_settings: '{\"provisioning\": {\"post_install_script\": \"#!/bin/sh\\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys\"}}'\n      pull_request_status_name: \"8to9-aws-e2e\"\n      variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;RHUI=aws;LEAPPDATA_BRANCH=upstream'\n    if: |\n      github.event.issue.pull_request\n      && ! startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n", "state": "active", "repository": "oamg/leapp"}
{"mined_at": "2024-07-15T12:47:33.426762", "created_at": "2021-06-17T10:36:11+02:00", "updated_at": "2022-03-28T11:21:06+02:00", "name": "Unit Tests", "path": ".github/workflows/unit-tests.yml", "contents": "name: Unit Tests\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  test:\n    name: Run unit tests in containers\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        scenarios:\n          - name: Run unit tests with python3.9 on el8\n            python: python3.9\n            container: ubi8\n          - name: Run unit tests with python 3.6 on el8\n            python: python3.6\n            container: ubi8\n          - name: Run unit tests with python2.7 on el7\n            python: python2.7\n            container: ubi7\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: '0'\n      - name: Set master to origin/master\n        if: github.ref != 'refs/heads/master'\n        run: |\n          git branch -f master origin/master\n      - name: ${{matrix.scenarios.name}}\n        run: script -e -c /bin/bash -c 'TERM=xterm podman build --security-opt=seccomp=unconfined -t leapp-tests -f res/container-tests/Containerfile.${{matrix.scenarios.container}} res/container-tests && PYTHON_VENV=${{matrix.scenarios.python}} REPOSITORIES=${{matrix.scenarios.repos}} podman run --security-opt=seccomp=unconfined --rm -ti -v ${PWD}:/payload --env=PYTHON_VENV --env=REPOSITORIES leapp-tests'\n", "state": "active", "repository": "oamg/leapp"}
{"mined_at": "2024-07-15T12:47:35.523501", "created_at": "2024-01-31T09:35:57+01:00", "updated_at": "2024-01-31T09:35:57+01:00", "name": "Release build", "path": ".github/workflows/release.yml", "contents": "name: Release build\n\non:\n  push:\n    tags:\n      - v**\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      contents: read\n      packages: write\n    steps:\n    - name: Docker metadata\n      id: metadata\n      uses: docker/metadata-action@v5\n      with:\n        images: |\n          registry.cn-hongkong.aliyuncs.com/oj-image/backend\n        tags: |\n          type=semver,pattern={{version}}\n          type=semver,pattern={{major}}.{{minor}}\n          type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}\n\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n    - name: Login to GitHub Container Registry\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Login to Aliyun Container Registry\n      uses: docker/login-action@v3\n      with:\n        registry: registry.cn-hongkong.aliyuncs.com\n        username: ${{ secrets.ALIYUN_ACR_USERNAME }}\n        password: ${{ secrets.ALIYUN_ACR_PASSWORD }}\n\n    - name: Build and push\n      uses: docker/build-push-action@v5\n      with:\n        push: true\n        platforms: linux/amd64,linux/arm64\n        tags: ${{ steps.metadata.outputs.tags }}\n        annotations: ${{ steps.metadata.outputs.annotations }}\n", "state": "active", "repository": "qingdaou/onlinejudge"}
{"mined_at": "2024-07-15T12:47:36.572130", "created_at": "2022-05-09T07:57:44+02:00", "updated_at": "2022-05-09T07:57:44+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "qingdaou/onlinejudge"}
{"mined_at": "2024-07-15T12:47:38.706496", "created_at": "2020-01-23T18:56:33+01:00", "updated_at": "2021-03-03T08:25:57+01:00", "name": "doc", "path": ".github/workflows/doc.yml", "contents": "name: doc\n\non:\n  push:\n    branches: [master]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install \".[doc]\"\n\n    - name: Build sphinx documentation\n      run: |\n        make html\n        # notify github this isn't a jekyll site\n        touch build/sphinx/html/.nojekyll\n\n    - name: Upload artifact\n      uses: actions/upload-pages-artifact@v3\n      with:\n        path: build/sphinx/html\n\n  deploy:\n    if: github.repository == 'pkgcore/pkgcheck'\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "pkgcore/pkgcheck"}
{"mined_at": "2024-07-15T12:47:39.725926", "created_at": "2020-01-25T23:21:36+01:00", "updated_at": "2021-05-23T00:55:51+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  push:\n    branches: [deploy]\n    tags: [v*]\n  workflow_dispatch:\n\njobs:\n  build-and-deploy:\n    runs-on: ubuntu-latest\n    environment: release\n\n    permissions:\n      id-token: write # Used to authenticate to PyPI via OIDC\n\n      contents: write # Used to authenticate github release publish\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build \".[test,doc]\"\n\n    - name: Test with pytest\n      env:\n        PY_COLORS: 1 # forcibly enable pytest colors\n      run: pytest\n\n    - name: Build sdist\n      run: |\n        git clean -fxd\n        make man\n        make sdist\n\n    - name: Build wheel\n      run: make wheel\n\n    - name: Output dist file info\n      run: |\n        sha512sum dist/*\n        tar -ztf dist/*.tar.gz | sort\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: results\n        path: dist/*\n\n    - name: publish\n      uses: pypa/gh-action-pypi-publish@release/v1\n      if: startsWith(github.ref, 'refs/tags/')\n\n    - name: Create GitHub release\n      uses: softprops/action-gh-release@v1\n      if: startsWith(github.ref, 'refs/tags/')\n      with:\n        files: dist/*.tar.gz\n        fail_on_unmatched_files: true\n        draft: true\n\n  build-and-push-docker-image:\n    if: startsWith(github.ref, 'refs/tags/')\n    needs: [\"build-and-deploy\"]\n    runs-on: ubuntu-latest\n    environment: release\n\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Scrape build info\n        run: echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/v}\" >> $GITHUB_ENV\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ghcr.io/pkgcore/pkgcheck\n          tags: |\n            type=semver,pattern={{version}}\n            type=sha\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            PKGCHECK_VERSION=${{ env.RELEASE_VERSION }}\n", "state": "active", "repository": "pkgcore/pkgcheck"}
{"mined_at": "2024-07-15T12:47:40.768885", "created_at": "2020-01-23T15:05:51+01:00", "updated_at": "2021-02-27T20:34:25+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches-ignore: [deploy]\n  pull_request:\n    branches: [master]\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.10', '3.11', '3.12']\n        deps: [newest-deps]\n        experimental: [false]\n        include:\n          - os: ubuntu-latest\n            python-version: '3.11'\n            deps: minimal-deps\n            experimental: false\n          - os: macos-latest\n            python-version: '3.11'\n            deps: newest-deps\n            experimental: true\n      fail-fast: false\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    # experimental targets generally lack lxml wheels\n    - name: Install libxml2 and libxslt development packages\n      if: ${{ matrix.experimental }}\n      run: sudo apt install libxml2-dev libxslt-dev python3-dev\n\n    # macos needs newer bash\n    - name: Install macos deps\n      if: ${{ matrix.os == 'macos-latest' }}\n      run: |\n        brew install bash gnu-sed\n        # enable gnu-sed usage as \"sed\"\n        echo \"/usr/local/opt/gnu-sed/libexec/gnubin\" >> $GITHUB_PATH\n\n    - name: Install non-python deps\n      if: ${{ matrix.os == 'ubuntu-latest' }}\n      run: |\n        sudo apt install cpanminus\n        # dep for perl checks\n        sudo cpanm --quiet --notest Gentoo::PerlMod::Version\n\n    - name: Pin dependencies to minimal versions\n      if: ${{ matrix.deps == 'minimal-deps' }}\n      run: sed -e '/^requires-python/!s/~=/==/' -i pyproject.toml\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: pyproject.toml\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install \".[test]\" pytest-github-actions-annotate-failures\n\n    - name: Test with pytest\n      env:\n        PY_COLORS: 1 # forcibly enable pytest colors\n      run: pytest --cov --cov-report=term --cov-report=xml -v\n\n    - name: Submit code coverage to codecov\n      if: ${{ matrix.os == 'ubuntu-latest' }}\n      uses: codecov/codecov-action@v3\n      with:\n        files: ./coverage.xml\n\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install . pylint\n\n    - name: Run linting tools\n      run: pylint --exit-zero src/pkgcheck\n\n  format:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n    - uses: psf/black@stable\n", "state": "active", "repository": "pkgcore/pkgcheck"}
{"mined_at": "2024-07-15T12:47:42.864777", "created_at": "2023-06-01T16:34:24+02:00", "updated_at": "2023-11-29T20:24:55+01:00", "name": "Checking CITATION.cff", "path": ".github/workflows/CFF-test.yml", "contents": "name: Checking CITATION.cff\n\non:\n  push:\n    paths:\n      - \"CITATION.cff\"\n  pull_request:\n    paths:\n      - \"CITATION.cff\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  cffconvert:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: citation-file-format/cffconvert-github-action@2.0.0\n        with:\n          args: --validate\n", "state": "active", "repository": "astropy/astropy"}
{"mined_at": "2024-07-15T12:47:43.914804", "created_at": "2021-04-06T23:14:26+02:00", "updated_at": "2021-04-06T23:14:26+02:00", "name": "Check PR change log", "path": ".github/workflows/check_changelog.yml", "contents": "name: Check PR change log\n\non:\n  # So it cannot be skipped.\n  pull_request_target:\n    types: [opened, synchronize, labeled, unlabeled]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  changelog_checker:\n    name: Check if towncrier change log entry is correct\n    runs-on: ubuntu-latest\n    steps:\n    - uses: scientific-python/action-towncrier-changelog@1d7332022f76e36fe8ce2d716b851f3f98063c62  # v1.0.0\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        BOT_USERNAME: gilesbot\n", "state": "active", "repository": "astropy/astropy"}
{"mined_at": "2024-07-15T12:47:44.963154", "created_at": "2024-02-16T22:05:01+01:00", "updated_at": "2024-02-16T22:05:01+01:00", "name": "Check PR milestone", "path": ".github/workflows/check_milestone.yml", "contents": "name: Check PR milestone\n\non:\n  # So it cannot be skipped.\n  pull_request_target:\n    types: [opened, synchronize, milestoned, demilestoned]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  # https://stackoverflow.com/questions/69434370/how-can-i-get-the-latest-pr-data-specifically-milestones-when-running-yaml-jobs\n  milestone_checker:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/github-script@v7\n      if: github.repository == 'astropy/astropy'\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        script: |\n          const { data } = await github.request(\"GET /repos/{owner}/{repo}/pulls/{pr}\", {\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              pr: context.payload.pull_request.number\n            });\n            if (data.milestone) {\n              core.info(`This pull request has a milestone set: ${data.milestone.title}`);\n            } else {\n              core.setFailed(`A maintainer needs to set the milestone for this pull request.`);\n            }\n", "state": "active", "repository": "astropy/astropy"}
{"mined_at": "2024-07-15T12:47:46.011830", "created_at": "2023-12-21T14:56:30+01:00", "updated_at": "2024-03-16T02:57:30+01:00", "name": "Benchmark", "path": ".github/workflows/ci_benchmark.yml", "contents": "### Inspired from https://github.com/scikit-image/scikit-image/blob/main/.github/workflows/benchmarks.yml\n\nname: Benchmark\n\non:\n  pull_request:\n    types: [labeled, synchronize]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  benchmark:\n    if: github.repository == 'astropy/astropy' && contains(github.event.pull_request.labels.*.name, 'benchmark')\n    name: \"Compare asv with astropy main\"\n    runs-on: ubuntu-latest\n    env:\n      CCACHE_BASEDIR: \"${{ github.workspace }}\"\n      CCACHE_DIR: \"${{ github.workspace }}/.ccache\"\n      CCACHE_COMPRESS: true\n      CCACHE_COMPRESSLEVEL: 6\n      CCACHE_MAXSIZE: 400M\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.11\"\n\n      - name: Setup some dependencies\n        shell: bash -l {0}\n        run: |\n          sudo apt-get update -y && sudo apt-get install -y ccache\n          # Make gcc/gxx symlinks first in path\n          sudo /usr/sbin/update-ccache-symlinks\n          echo \"/usr/lib/ccache\" >> $GITHUB_PATH\n\n      - name: \"Prepare ccache\"\n        id: prepare-ccache\n        shell: bash -l {0}\n        run: |\n          echo \"key=benchmark-$RUNNER_OS\" >> $GITHUB_OUTPUT\n          echo \"timestamp=$(date +%Y%m%d-%H%M%S)\" >> $GITHUB_OUTPUT\n          ccache -p\n          ccache -z\n\n      - name: \"Restore ccache\"\n        uses: actions/cache@v4\n        with:\n          path: .ccache\n          key: ccache-${{ secrets.CACHE_VERSION }}-${{ steps.prepare-ccache.outputs.key }}-${{ steps.prepare-ccache.outputs.timestamp }}\n          restore-keys: |\n            ccache-${{ secrets.CACHE_VERSION }}-${{ steps.prepare-ccache.outputs.key }}-\n\n      - name: Run benchmarks\n        shell: bash -l {0}\n        id: benchmark\n        env:\n          OPENBLAS_NUM_THREADS: 1\n          MKL_NUM_THREADS: 1\n          OMP_NUM_THREADS: 1\n          ASV_FACTOR: 1.3\n          ASV_SKIP_SLOW: 1\n        run: |\n          set -x\n          python -m pip install asv virtualenv packaging\n\n          git clone -b main https://github.com/astropy/astropy-benchmarks.git --single-branch\n\n          # ID this runner\n          python -m asv machine --yes --conf asv.ci.conf.json\n\n          echo \"Baseline:  ${{ github.event.pull_request.base.sha }} (${{ github.event.pull_request.base.label }})\"\n          echo \"Contender: ${GITHUB_SHA} (${{ github.event.pull_request.head.label }})\"\n\n          # Run benchmarks for current commit against base\n          ASV_OPTIONS=\"--split --show-stderr --factor $ASV_FACTOR --conf asv.ci.conf.json\"\n          python -m asv continuous $ASV_OPTIONS ${{ github.event.pull_request.base.sha }} ${GITHUB_SHA} \\\n              | sed \"/Traceback \\|failed$\\|PERFORMANCE DECREASED/ s/^/::error::/\" \\\n              | tee benchmarks.log\n\n          # Error out the action\n          if grep -q \"Traceback \\|failed\\|PERFORMANCE DECREASED\" benchmarks.log ; then\n              exit 1\n          fi\n\n      - name: \"Check ccache performance\"\n        shell: bash -l {0}\n        run: ccache -s\n        if: always()\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: asv-benchmark-results\n          path: |\n            results/\n            benchmarks.log\n", "state": "active", "repository": "astropy/astropy"}
{"mined_at": "2024-07-15T12:47:47.108597", "created_at": "2020-11-30T23:15:43+01:00", "updated_at": "2022-12-06T15:38:39+01:00", "name": "Daily cron", "path": ".github/workflows/ci_cron_daily.yml", "contents": "name: Daily cron\n\non:\n  workflow_dispatch:\n  schedule:\n    # run every day at 3am UTC\n    - cron: '0 3 * * *'\n  pull_request:\n    # We also want this workflow triggered if the 'Extra CI' label is added\n    # or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n  push:\n    # We want this workflow to always run on release branches as well as\n    # all tags since we want to be really sure we don't introduce\n    # regressions on the release branches, and it's also important to run\n    # this on pre-release and release tags.\n    branches:\n    - 'v*'\n    tags:\n    - '*'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  ARCH_ON_CI: \"normal\"\n  IS_CRON: \"true\"\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n    if: (github.repository == 'astropy/astropy' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Extra CI')))\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: Bundling with pyinstaller\n            os: ubuntu-latest\n            python: '3.10'\n            toxenv: pyinstaller\n\n          - name: Python 3.12 with all optional dependencies and pre-releases\n            os: ubuntu-latest\n            python: '3.12'\n            toxenv: py312-test-alldeps-predeps\n            toxargs: -v\n            toxposargs: --remote-data=any\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Install language-pack-de and tzdata\n      if: ${{ matrix.os == 'ubuntu-latest' }}\n      run: |\n        sudo apt-get update\n        sudo apt-get install language-pack-de tzdata\n\n    - name: Install Python dependencies\n      run: python -m pip install --upgrade tox\n\n    - name: Run tests\n      run: tox ${{ matrix.toxargs}} -e ${{ matrix.toxenv}} -- ${{ matrix.toxposargs}}\n", "state": "active", "repository": "astropy/astropy"}
{"mined_at": "2024-07-15T12:47:48.200267", "created_at": "2020-11-13T23:13:19+01:00", "updated_at": "2020-11-13T23:13:19+01:00", "name": "Weekly cron", "path": ".github/workflows/ci_cron_weekly.yml", "contents": "name: Weekly cron\n\non:\n  workflow_dispatch:\n  schedule:\n    # run every Monday at 6am UTC\n    - cron: '0 6 * * 1'\n  pull_request:\n    # We also want this workflow triggered if the 'Extra CI' label is added\n    # or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n  push:\n    # We want this workflow to always run on release branches as well as\n    # all tags since we want to be really sure we don't introduce\n    # regressions on the release branches, and it's also important to run\n    # this on pre-release and release tags.\n    branches:\n    - 'v*'\n    tags:\n    - '*'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  IS_CRON: 'true'\n\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n    if: (github.repository == 'astropy/astropy' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Extra CI')))\n    env:\n      ARCH_ON_CI: \"normal\"\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n\n          # We check numpy-dev also in a job that only runs from cron, so that\n          # we can spot issues sooner. We do not use remote data here, since\n          # that gives too many false positives due to URL timeouts. We also\n          # install all dependencies via pip here so we pick up the latest\n          # releases.\n          - name: Python 3.10 with dev version of key dependencies\n            os: ubuntu-latest\n            python: '3.10'\n            toxenv: py310-test-devdeps\n\n          # https://github.com/astropy/astropy/issues/15701\n          - name: Python 3.11 with dev version of key dependencies without scipy\n            os: ubuntu-latest\n            python: '3.11'\n            toxenv: py311-test-devdeps-noscipy\n\n          - name: Python 3.12 with dev version of infrastructure dependencies\n            os: ubuntu-latest\n            python: '3.12'\n            toxenv: py312-test-devinfra\n\n          - name: Python 3.12 on macOS (x86_64) with all optional dependencies\n            os: macos-13\n            python: '3.12'\n            toxenv: py312-test-alldeps\n\n          - name: Documentation link check\n            os: ubuntu-latest\n            python: '3.x'\n            toxenv: linkcheck\n            toxposargs: --color\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install language-pack-de and tzdata\n      if: ${{ matrix.os == 'ubuntu-latest' }}\n      run: |\n        sudo apt-get update\n        sudo apt-get install language-pack-de tzdata\n    - name: Install graphviz\n      if: ${{ matrix.toxenv == 'linkcheck' }}\n      run: sudo apt-get install graphviz\n    - name: Install Python dependencies\n      run: python -m pip install --upgrade tox\n    - name: Run tests\n      run: tox ${{ matrix.toxargs}} -e ${{ matrix.toxenv}} -- ${{ matrix.toxposargs}}\n\n\n  tests_more_architectures:\n\n    # The following architectures are emulated and are therefore slow, so\n    # we include them just in the weekly cron. These also serve as a test\n    # of using system libraries and using pytest directly.\n\n    runs-on: ubuntu-latest\n    name: Python 3.12\n    if: (github.repository == 'astropy/astropy' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Extra CI')))\n    env:\n      ARCH_ON_CI: ${{ matrix.arch }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - arch: aarch64\n          - arch: s390x\n          - arch: ppc64le\n          - arch: armv7\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: uraimo/run-on-arch-action@v2\n        name: Run tests\n        id: build\n        with:\n          arch: ${{ matrix.arch }}\n          distro: ubuntu_rolling\n\n          shell: /bin/bash\n          env: |\n            ARCH_ON_CI: ${{ env.ARCH_ON_CI }}\n            IS_CRON: ${{ env.IS_CRON }}\n\n          install: |\n            apt-get update -q -y\n            apt-get install -q -y gnupg2\n            # Add test-support repository for wcslib8\n            echo \"deb http://ppa.launchpadcontent.net/astropy/test-support/ubuntu lunar main\" > /etc/apt/sources.list.d/test-support.list\n            gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv CC75F07B3EF41EFC\n            gpg --export --armor CC75F07B3EF41EFC | tee /etc/apt/trusted.gpg.d/test-support.asc\n            apt-get update -q -y\n            apt-get install -q -y --no-install-recommends \\\n                                  git \\\n                                  g++ \\\n                                  pkg-config \\\n                                  python3 \\\n                                  python3-erfa \\\n                                  python3-extension-helpers \\\n                                  python3-jinja2 \\\n                                  python3-numpy \\\n                                  python3-pytest-astropy \\\n                                  python3-setuptools-scm \\\n                                  python3-yaml \\\n                                  python3-venv \\\n                                  python3-wheel \\\n                                  wcslib-dev\n\n          run: |\n            uname -a\n            echo \"LONG_BIT=\"$(getconf LONG_BIT)\n            python3 -m venv --system-site-packages tests\n            source tests/bin/activate\n            # cython and pyerfa versions in ubuntu repos are too old currently\n            pip install -U cython\n            pip install -U --no-build-isolation pyerfa\n            ASTROPY_USE_SYSTEM_ALL=1 pip3 install -v --no-build-isolation -e .[test]\n            pip3 list\n            python3 -m pytest -m \"not hypothesis\"\n", "state": "active", "repository": "astropy/astropy"}
{"mined_at": "2024-07-15T12:47:49.231262", "created_at": "2020-11-12T12:12:39+01:00", "updated_at": "2023-05-11T00:30:57+02:00", "name": "CI", "path": ".github/workflows/ci_workflows.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n    - main\n    - 'v*'\n    tags:\n    - '*'\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  ARCH_ON_CI: \"normal\"\n  IS_CRON: \"false\"\n\njobs:\n  initial_checks:\n    name: Mandatory checks before CI\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check base branch\n      uses: actions/github-script@v7\n      if: github.event_name == 'pull_request'\n      with:\n        script: |\n          const skip_label = 'skip-basebranch-check';\n          const { default_branch: allowed_basebranch } = context.payload.repository;\n          const pr = context.payload.pull_request;\n          if (pr.user.login === 'meeseeksmachine') {\n            core.info(`Base branch check is skipped since this is auto-backport by ${pr.user.login}`);\n            return;\n          }\n          if (pr.labels.find(lbl => lbl.name === skip_label)) {\n            core.info(`Base branch check is skipped due to the presence of ${skip_label} label`);\n            return;\n          }\n          if (pr.base.ref !== allowed_basebranch) {\n            core.setFailed(`PR opened against ${pr.base.ref}, not ${allowed_basebranch}`);\n          } else {\n            core.info(`PR opened correctly against ${allowed_basebranch}`);\n          }\n\n  tests:\n    needs: [initial_checks]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n    with:\n      setenv: |\n        ARCH_ON_CI: \"normal\"\n        IS_CRON: \"false\"\n      submodules: false\n      coverage: ''\n      libraries: |\n        apt:\n          - language-pack-fr\n          - tzdata\n      envs: |\n        # NOTE: this coverage test is needed for tests and code that\n        #       run only with minimal dependencies.\n        - name: Python 3.12 with minimal dependencies and full coverage\n          linux: py312-test-cov\n          coverage: codecov\n\n        - name: Python 3.11 in Parallel with all optional dependencies\n          linux: py311-test-alldeps-fitsio\n          libraries:\n            apt:\n              - language-pack-fr\n              - tzdata\n              - libcfitsio-dev\n          toxargs: -v --develop\n          posargs: -n=4 --run-slow\n\n        - name: Python 3.10 with oldest supported version of all dependencies\n          linux: py310-test-oldestdeps-alldeps-cov-clocale\n          posargs: --remote-data=astropy\n          coverage: codecov\n\n        - name: Python 3.11 with all optional dependencies (Windows)\n          windows: py311-test-alldeps\n          posargs: --durations=50\n\n        - name: Python 3.11 with all optional dependencies (MacOS X)\n          macos: py311-test-alldeps\n          posargs: --durations=50 --run-slow\n          runs-on: macos-latest\n\n        - name: Python 3.10 Double test (Run tests twice)\n          linux: py310-test-double\n\n  allowed_failures:\n    needs: [initial_checks]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    with:\n      setenv: |\n        ARCH_ON_CI: \"normal\"\n        IS_CRON: \"false\"\n      submodules: false\n      coverage: ''\n      libraries: |\n        apt:\n          - language-pack-de\n          - tzdata\n      envs: |\n        - name: (Allowed Failure) Python 3.12 with remote data and dev version of key dependencies\n          linux: py312-test-devdeps\n          posargs: --remote-data=any --verbose\n", "state": "active", "repository": "astropy/astropy"}
{"mined_at": "2024-07-15T12:47:50.281450", "created_at": "2020-12-24T18:00:17+01:00", "updated_at": "2021-04-22T22:41:17+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  schedule:\n    # run every Wednesday at 6am UTC\n    - cron: '0 6 * * 3'\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    permissions:\n      actions: read  # for github/codeql-action/init to get workflow details\n      contents: read  # for actions/checkout to fetch code\n      security-events: write  # for github/codeql-action/autobuild to send a status report\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: ['cpp', 'python']\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      if: matrix.language != 'cpp'\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      if: matrix.language == 'cpp'\n      with:\n        python-version: '3.10'\n\n    - name: Manual build\n      if: matrix.language == 'cpp'\n      run: |\n       pip install -U pip setuptools_scm wheel\n       pip install extension-helpers cython numpy pyerfa\n       python setup.py build_ext --inplace\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "astropy/astropy"}
{"mined_at": "2024-07-15T12:47:51.297577", "created_at": "2021-02-01T15:44:22+01:00", "updated_at": "2021-02-01T15:44:22+01:00", "name": "When Opened", "path": ".github/workflows/open_actions.yml", "contents": "name: \"When Opened\"\n\non:\n  issues:\n    types:\n    - opened\n  pull_request_target:\n    types:\n    - opened\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Label PR\n      uses: actions/labeler@v5\n      if: github.event_name == 'pull_request_target' && github.event.pull_request.user.login != 'meeseeksmachine'\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n    - name: 'Reviewer Checklist'\n      uses: actions/github-script@v7\n      if: github.event_name == 'pull_request_target'\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        script: |\n          await github.rest.issues.createComment({\n            issue_number: context.issue.number,\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            body: `Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.\n\n            - [ ] Do the proposed changes actually accomplish desired goals?\n            - [ ] Do the proposed changes follow the [Astropy coding guidelines](https://docs.astropy.org/en/latest/development/codeguide.html)?\n            - [ ] Are tests added/updated as required? If so, do they follow the [Astropy testing guidelines](https://docs.astropy.org/en/latest/development/testguide.html)?\n            - [ ] Are docs added/updated as required? If so, do they follow the [Astropy documentation guidelines](https://docs.astropy.org/en/latest/development/docguide.html#astropy-documentation-rules-and-guidelines)?\n            - [ ] Is rebase and/or squash necessary? If so, please provide the author with appropriate instructions. Also see instructions for [rebase](https://docs.astropy.org/en/latest/development/workflow/development_workflow.html#rebase-if-necessary) and [squash](https://docs.astropy.org/en/latest/development/workflow/development_workflow.html#squash-if-necessary).\n            - [ ] Did the CI pass? If no, are the failures related? If you need to run daily and weekly cron jobs as part of the PR, please apply the \"Extra CI\" label. Codestyle issues can be fixed by the [bot](https://docs.astropy.org/en/latest/development/workflow/development_workflow.html#pre-commit).\n            - [ ] Is a change log needed? If yes, did the change log check pass? If no, add the \"no-changelog-entry-needed\" label. If this is a manual backport, use the \"skip-changelog-checks\" label unless special changelog handling is necessary.\n            - [ ] Is this a big PR that makes a \"What's new?\" entry worthwhile and if so, is (1) a \"what's new\" entry included in this PR and (2) the \"whatsnew-needed\" label applied?\n            - [ ] At the time of adding the milestone, if the milestone set requires a backport to release branch(es), apply the appropriate \"backport-X.Y.x\" label(s) *before* merge.`\n          })\n    - name: Greet new contributors\n      uses: actions/first-interaction@v1\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        issue-message: >\n            Welcome to Astropy 👋 and thank you for your first issue!\n\n\n            A project member will respond to you as soon as possible; in\n            the meantime, please double-check the [guidelines for submitting\n            issues](https://github.com/astropy/astropy/blob/main/CONTRIBUTING.md#reporting-issues)\n            and make sure you've provided the requested details.\n\n\n            GitHub issues in the Astropy repository are used to track bug\n            reports and feature requests; If your issue poses a question about\n            how to use Astropy, please instead raise your question in the\n            [Astropy Discourse user\n            forum](https://community.openastronomy.org/c/astropy/8) and close\n            this issue.\n\n\n            If you feel that this issue has not been responded to in a timely\n            manner, please send a message directly to the [development\n            mailing list](http://groups.google.com/group/astropy-dev).  If\n            the issue is urgent or sensitive in nature (e.g., a security\n            vulnerability) please send an e-mail directly to the private e-mail\n            feedback@astropy.org.\n        pr-message: >\n            Welcome to Astropy 👋 and congratulations on your first pull\n            request! 🎉\n\n\n            A project member will respond to you as soon as possible; in the\n            meantime, please have a look over the [Checklist for Contributed\n            Code](https://github.com/astropy/astropy/blob/main/CONTRIBUTING.md#checklist-for-contributed-code)\n            and make sure you've addressed as many of the questions there as\n            possible.\n\n\n            If you feel that this pull request has not been responded to in a\n            timely manner, please send a message directly to the\n            [development mailing\n            list](http://groups.google.com/group/astropy-dev).  If the issue is\n            urgent or sensitive in nature (e.g., a security vulnerability)\n            please send an e-mail directly to the private e-mail\n            feedback@astropy.org.\n    - name: 'Comment Draft PR'\n      uses: actions/github-script@v7\n      if: github.event.pull_request.draft == true\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        script: |\n          await github.rest.issues.createComment({\n            issue_number: context.issue.number,\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            body: '👋 Thank you for your draft pull request! Do you know that you can use `[ci skip]` or `[skip ci]` in your commit messages to skip running continuous integration tests until you are ready?'\n          })\n    # Special action for a special day. Until next year!\n    #- name: Special comment\n    #  uses: pllim/action-special_pr_comment@main\n    #  with:\n    #    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "astropy/astropy"}
{"mined_at": "2024-07-15T12:47:52.396294", "created_at": "2022-05-12T11:24:21+02:00", "updated_at": "2023-05-11T00:30:57+02:00", "name": "Wheel building", "path": ".github/workflows/publish.yml", "contents": "name: Wheel building\n\non:\n  schedule:\n    # run every day at 4am UTC\n    - cron: '0 4 * * *'\n  workflow_dispatch:\n  push:\n  pull_request:\n\npermissions:\n  contents: read\n\njobs:\n\n  test_wheel_building:\n    # This ensures that a couple of targets work fine in pull requests and pushes\n    permissions:\n      contents: none\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1\n    if: (github.event_name == 'push' || github.event_name == 'pull_request')\n    with:\n      upload_to_pypi: false\n      upload_to_anaconda: false\n      test_extras: test\n      test_command: pytest -p no:warnings --astropy-header -m \"not hypothesis\" -k \"not test_data_out_of_range and not test_set_locale and not TestQuantityTyping\" --pyargs astropy\n      targets: |\n        - cp310-manylinux_x86_64\n\n  build_and_publish:\n    # This does the actual wheel building and publishing as part of the cron job\n    # or if triggered manually via the workflow dispatch, or for a tag.\n    permissions:\n      contents: none\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1\n    if: (github.repository == 'astropy/astropy' && ( startsWith(github.ref, 'refs/tags/v') || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Build all wheels')))\n    with:\n\n      # We upload to PyPI for all tags starting with v but not ones ending in .dev\n      upload_to_pypi: ${{ startsWith(github.ref, 'refs/tags/v') && !endsWith(github.ref, '.dev') && (github.event_name == 'push') }}\n      upload_to_anaconda: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}\n      anaconda_user: astropy\n      anaconda_package: astropy\n      anaconda_keep_n_latest: 10\n\n      # For nightly wheels as well as when building with the 'Build all wheels' label, we disable\n      # the build isolation and explicitly install the latest developer version of numpy as well as\n      # the latest stable versions of all other build-time dependencies.\n      env: |\n        CIBW_BEFORE_BUILD: '${{ ((github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Build all wheels')) && 'pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple setuptools setuptools_scm cython numpy>=0.0.dev0 extension-helpers') || '' }}'\n        CIBW_BUILD_FRONTEND: '${{ ((github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Build all wheels')) && 'pip; args: --no-build-isolation') || 'build' }}'\n\n      test_extras: test\n      # FIXME: we exclude the test_data_out_of_range test since it\n      # currently fails, see https://github.com/astropy/astropy/issues/10409\n      # We also exclude test_set_locale as it sometimes relies on the correct locale\n      # packages being installed, which it isn't always.\n      test_command: pytest -p no:warnings --astropy-header -m \"not hypothesis\" -k \"not test_data_out_of_range and not test_set_locale and not TestQuantityTyping\" --pyargs astropy\n      targets: |\n        # Linux wheels\n\n        - cp310-manylinux_x86_64\n        - cp311-manylinux_x86_64\n        - cp312-manylinux_x86_64\n\n        # Note that following wheels are not currently tested:\n\n        - cp310-manylinux_aarch64\n        - cp311-manylinux_aarch64\n        - cp312-manylinux_aarch64\n\n        - cp310-musllinux_x86_64\n        - cp311-musllinux_x86_64\n        - cp312-musllinux_x86_64\n\n        # MacOS X wheels - as noted in https://github.com/astropy/astropy/pull/12379 we deliberately\n        # do not build universal2 wheels.\n\n        - cp310*macosx_x86_64\n        - cp311*macosx_x86_64\n        - cp312*macosx_x86_64\n\n        - cp310*macosx_arm64\n        - cp311*macosx_arm64\n        - cp312*macosx_arm64\n\n        # Windows wheels\n\n        - cp310*win32\n        - cp311*win32\n        - cp312*win32\n\n        - cp310*win_amd64\n        - cp311*win_amd64\n        - cp312*win_amd64\n\n    secrets:\n      pypi_token: ${{ secrets.pypi_token }}\n      anaconda_token: ${{ secrets.anaconda_token }}\n", "state": "active", "repository": "astropy/astropy"}
{"mined_at": "2024-07-15T12:47:53.589827", "created_at": "2021-08-31T16:08:29+02:00", "updated_at": "2021-08-31T16:08:29+02:00", "name": "Astropy stalebot", "path": ".github/workflows/stalebot.yml", "contents": "name: Astropy stalebot\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    # run every day at 5:30 am UTC\n    - cron: '30 5 * * *'\n  workflow_dispatch:\n\njobs:\n  stalebot:\n    runs-on: ubuntu-latest\n    if: github.repository == 'astropy/astropy'\n    steps:\n      - uses: pllim/action-astropy-stalebot@main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          STALEBOT_MAX_ISSUES: -1\n          STALEBOT_MAX_PRS: -1\n          STALEBOT_SLEEP: 10\n", "state": "active", "repository": "astropy/astropy"}
{"mined_at": "2024-07-15T12:47:54.631083", "created_at": "2023-08-01T22:27:31+02:00", "updated_at": "2023-08-01T22:27:31+02:00", "name": "Auto-update astropy-iers-data minimum version", "path": ".github/workflows/update_astropy_iers_data_pin.yml", "contents": "# Regularly update the minimum version of astropy-iers-data in pyproject.toml,\n# to ensure that if users update astropy, astropy-iers-data will also get\n# updated to a recent version.\n\nname: Auto-update astropy-iers-data minimum version\n\non:\n  schedule:\n    - cron: '0 0 2 * *'  # Monthly\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n\n  update-astropy-iers-data-pin:\n    permissions:\n      contents: write  # for peter-evans/create-pull-request to create branch\n      pull-requests: write  # for peter-evans/create-pull-request to create a PR\n    name: Auto-update astropy-iers-data minimum version\n    runs-on: ubuntu-latest\n    if: github.repository == 'astropy/astropy'\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Install dependencies\n      run: pip install requests\n    - name: Run update script\n      run: python .github/workflows/update_astropy_iers_data_pin.py\n    - name: Commit changes\n      run: |\n        git config user.name github-actions\n        git config user.email github-actions@github.com\n        git add pyproject.toml\n        if ! git diff --cached --exit-code; then\n          git commit -m \"Update minimum required version of astropy-iers-data\"\n        fi\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@v6\n      with:\n        branch: update-astropy-iers-data-pin\n        branch-suffix: timestamp\n        delete-branch: true\n        labels: no-changelog-entry-needed, utils.iers\n        title: Update minimum required version of astropy-iers-data\n        body: |\n          This is an automated update of the minimum version of astropy-iers-data package.\n\n          :pray: Please apply backport labels to any active backport branches for v6.0.x or later. :pray:\n\n          :warning: Please close and re-open this pull request to trigger the CI. :warning:\n", "state": "active", "repository": "astropy/astropy"}
{"mined_at": "2024-07-15T12:47:56.707220", "created_at": "2021-09-25T06:15:13+02:00", "updated_at": "2021-09-25T06:15:13+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\n  workflow_dispatch:\n\njobs:\n\n  build:\n    name: build\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        architecture: ['x64']\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: setup\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: deps\n        run: python -m pip install -U pip wheel setuptools build\n\n      - name: build\n        run: |\n          python -m build\n", "state": "active", "repository": "moderngl/moderngl"}
{"mined_at": "2024-07-15T12:47:57.857954", "created_at": "2023-07-18T14:03:27+02:00", "updated_at": "2023-07-18T14:03:27+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  workflow_dispatch:\n\njobs:\n\n  sdist:\n    name: Package source\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: setup\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.12'\n          architecture: x64\n\n      - name: deps\n        run: python -m pip install -U pip wheel setuptools\n\n      - name: sdist\n        run: python setup.py sdist -d package\n\n      - name: upload\n        uses: actions/upload-artifact@v3\n        with:\n          name: package\n          path: package/*.tar.gz\n\n  wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, windows-2019, macos-11]\n\n    env:\n      CIBW_ARCHS_MACOS: x86_64 arm64\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: setup\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.12'\n          architecture: x64\n\n      - name: deps\n        run: python -m pip install cibuildwheel==2.16.2\n\n      - name: wheels\n        run: python -m cibuildwheel --output-dir package\n\n      - name: upload\n        uses: actions/upload-artifact@v3\n        with:\n          name: package\n          path: package/*.whl\n", "state": "active", "repository": "moderngl/moderngl"}
{"mined_at": "2024-07-15T12:47:58.932442", "created_at": "2023-11-17T15:47:48+01:00", "updated_at": "2023-11-17T15:47:48+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\n  workflow_dispatch:\n\njobs:\n  tests:\n    name: tests\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: build\n        run: docker build . -f tests/Containerfile -t tests\n\n      - name: test\n        run: docker run --rm -t tests\n", "state": "active", "repository": "moderngl/moderngl"}
{"mined_at": "2024-07-15T12:48:01.187432", "created_at": "2021-12-04T22:20:23+01:00", "updated_at": "2021-12-05T18:07:31+01:00", "name": "basemap-data-hires", "path": ".github/workflows/basemap-data-hires.yml", "contents": "name: basemap-data-hires\n\nenv:\n  PKGDIR: \"packages/basemap_data_hires\"\n  PIP_DEFAULT_TIMEOUT: 10\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n  PIP_PREFER_BINARY: 1\n  PIP_RETRIES: 0\n  PYTHONUNBUFFERED: \"1\"\n  PYTHONWARNINGS: \"ignore:DEPRECATION\"\n\non:\n  push:\n    paths:\n      - \".github/workflows/basemap-data-hires.yml\"\n      - \"packages/basemap_data_hires/**\"\n  pull_request:\n    paths:\n      - \".github/workflows/basemap-data-hires.yml\"\n      - \"packages/basemap_data_hires/**\"\n  workflow_dispatch:\n\njobs:\n\n  checkout:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v4\n      -\n        name: Upload checkout\n        uses: actions/upload-artifact@v4\n        with:\n          name: checkout\n          path: .\n\n  build:\n    strategy:\n      matrix:\n        python-version:\n          [\"2.7\"]\n      max-parallel: 1\n    needs: checkout\n    runs-on: ubuntu-latest\n    container: \"pylegacy/python:${{ matrix.python-version }}-debian-10\"\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v4\n        with:\n          name: checkout\n          path: .\n      -\n        name: Build sdist and wheel\n        run: |\n          cd ${{ env.PKGDIR }}\n          python setup.py sdist\n          pip wheel -w dist --no-deps dist/*.zip\n      -\n        name: Upload build artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifacts-build\n          path: ${{ env.PKGDIR }}/dist\n\n  test:\n    strategy:\n      matrix:\n        python-version:\n          [\"2.6\", \"2.7\", \"3.2\", \"3.3\", \"3.4\", \"3.5\", \"3.6\", \"3.7\", \"3.8\",\n           \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      max-parallel: 3\n      fail-fast: false\n    needs: build\n    runs-on: ubuntu-latest\n    container: \"pylegacy/python:${{ matrix.python-version }}-debian-10\"\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v4\n        with:\n          name: checkout\n          path: .\n      -\n        name: Download build artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: artifacts-build\n          path: ${{ env.PKGDIR }}/dist\n      -\n        name: Install package\n        run: |\n          pip install ${{ env.PKGDIR }}/dist/*.whl\n      -\n        name: Test package\n        run: |\n          python -c \"from mpl_toolkits import basemap_data; print(basemap_data)\"\n\n  upload:\n    strategy:\n      matrix:\n        python-version:\n          [\"2.7\"]\n      max-parallel: 1\n    if: startsWith(github.event.ref, 'refs/tags/v')\n    needs: test\n    runs-on: ubuntu-latest\n    container: \"pylegacy/python:${{ matrix.python-version }}-debian-10\"\n    environment: PyPI\n    steps:\n      -\n        name: Download build artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: artifacts-build\n          path: ${{ env.PKGDIR }}/dist\n      -\n        name: Install upload requirements\n        run: |\n          pip install twine\n      -\n        name: Check distributables\n        run: |\n          python -m twine check                                               \\\n              ${{ env.PKGDIR }}/dist/*.zip                                    \\\n              ${{ env.PKGDIR }}/dist/*.whl\n      -\n        name: Upload distributables\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: \"${{ secrets.PYPI_TOKEN }}\"\n          TWINE_REPOSITORY_URL: \"${{ secrets.PYPI_REPOSITORY_URL }}\"\n        run: |\n          python -m twine upload --skip-existing                              \\\n              ${{ env.PKGDIR }}/dist/*.zip                                    \\\n              ${{ env.PKGDIR }}/dist/*.whl\n", "state": "active", "repository": "matplotlib/basemap"}
{"mined_at": "2024-07-15T12:48:02.214664", "created_at": "2021-12-04T22:20:23+01:00", "updated_at": "2021-12-05T18:07:31+01:00", "name": "basemap-data", "path": ".github/workflows/basemap-data.yml", "contents": "name: basemap-data\n\nenv:\n  PKGDIR: \"packages/basemap_data\"\n  PIP_DEFAULT_TIMEOUT: 10\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n  PIP_PREFER_BINARY: 1\n  PIP_RETRIES: 0\n  PYTHONUNBUFFERED: \"1\"\n  PYTHONWARNINGS: \"ignore:DEPRECATION\"\n\non:\n  push:\n    paths:\n      - \".github/workflows/basemap-data.yml\"\n      - \"packages/basemap_data/**\"\n  pull_request:\n    paths:\n      - \".github/workflows/basemap-data.yml\"\n      - \"packages/basemap_data/**\"\n  workflow_dispatch:\n\njobs:\n\n  checkout:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v4\n      -\n        name: Upload checkout\n        uses: actions/upload-artifact@v4\n        with:\n          name: checkout\n          path: .\n\n  build:\n    strategy:\n      matrix:\n        python-version:\n          [\"2.7\"]\n      max-parallel: 1\n    needs: checkout\n    runs-on: ubuntu-latest\n    container: \"pylegacy/python:${{ matrix.python-version }}-debian-10\"\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v4\n        with:\n          name: checkout\n          path: .\n      -\n        name: Build sdist and wheel\n        run: |\n          cd ${{ env.PKGDIR }}\n          python setup.py sdist\n          pip wheel -w dist --no-deps dist/*.zip\n      -\n        name: Upload build artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifacts-build\n          path: ${{ env.PKGDIR }}/dist\n\n  test:\n    strategy:\n      matrix:\n        python-version:\n          [\"2.6\", \"2.7\", \"3.2\", \"3.3\", \"3.4\", \"3.5\", \"3.6\", \"3.7\", \"3.8\",\n           \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      max-parallel: 3\n      fail-fast: false\n    needs: build\n    runs-on: ubuntu-latest\n    container: \"pylegacy/python:${{ matrix.python-version }}-debian-10\"\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v4\n        with:\n          name: checkout\n          path: .\n      -\n        name: Download build artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: artifacts-build\n          path: ${{ env.PKGDIR }}/dist\n      -\n        name: Install package\n        run: |\n          pip install ${{ env.PKGDIR }}/dist/*.whl\n      -\n        name: Test package\n        run: |\n          python -c \"from mpl_toolkits import basemap_data; print(basemap_data)\"\n\n  upload:\n    strategy:\n      matrix:\n        python-version:\n          [\"2.7\"]\n      max-parallel: 1\n    if: startsWith(github.event.ref, 'refs/tags/v')\n    needs: test\n    runs-on: ubuntu-latest\n    container: \"pylegacy/python:${{ matrix.python-version }}-debian-10\"\n    environment: PyPI\n    steps:\n      -\n        name: Download build artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: artifacts-build\n          path: ${{ env.PKGDIR }}/dist\n      -\n        name: Install upload requirements\n        run: |\n          pip install twine\n      -\n        name: Check distributables\n        run: |\n          python -m twine check                                               \\\n              ${{ env.PKGDIR }}/dist/*.zip                                    \\\n              ${{ env.PKGDIR }}/dist/*.whl\n      -\n        name: Upload distributables\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: \"${{ secrets.PYPI_TOKEN }}\"\n          TWINE_REPOSITORY_URL: \"${{ secrets.PYPI_REPOSITORY_URL }}\"\n        run: |\n          python -m twine upload --skip-existing                              \\\n              ${{ env.PKGDIR }}/dist/*.zip                                    \\\n              ${{ env.PKGDIR }}/dist/*.whl\n", "state": "active", "repository": "matplotlib/basemap"}
{"mined_at": "2024-07-15T12:48:03.249908", "created_at": "2021-12-08T17:22:51+01:00", "updated_at": "2021-12-08T17:22:51+01:00", "name": "basemap-for-manylinux", "path": ".github/workflows/basemap-for-manylinux.yml", "contents": "name: basemap-for-manylinux\n\nenv:\n  PKGDIR: \"packages/basemap\"\n  PIP_DEFAULT_TIMEOUT: 10\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n  PIP_PREFER_BINARY: 1\n  PIP_RETRIES: 0\n  PYTHONUNBUFFERED: \"1\"\n  PYTHONWARNINGS: \"ignore:DEPRECATION\"\n\non:\n  push:\n    paths:\n      - \".github/workflows/basemap-for-manylinux.yml\"\n      - \"packages/basemap/**\"\n  pull_request:\n    paths:\n      - \".github/workflows/basemap-for-manylinux.yml\"\n      - \"packages/basemap/**\"\n  workflow_dispatch:\n\njobs:\n\n  checkout:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v1\n      -\n        name: Upload checkout\n        uses: actions/upload-artifact@v1\n        with:\n          name: checkout\n          path: .\n\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          [\"2.7\", \"3.5\", \"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      max-parallel: 3\n      fail-fast: false\n    needs: checkout\n    container: \"pylegacy/python:${{ matrix.python-version }}-debian-10\"\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v1\n        with:\n          name: checkout\n          path: .\n      -\n        name: Install lint requirements\n        run: |\n          cd ${{ env.PKGDIR }}\n          pip install -r requirements-lint.txt\n      -\n        name: Install library requirements\n        run: |\n          cd ${{ env.PKGDIR }}\n          pip install -r requirements.txt\n      -\n        name: Run Flake8\n        run: |\n          cd ${{ env.PKGDIR }}\n          if [ -x \"$(command -v flake8)\" ]; then\n              flake8 src/mpl_toolkits/basemap/cm.py src/mpl_toolkits/basemap/diagnostic.py src/mpl_toolkits/basemap/proj.py src/mpl_toolkits/basemap/solar.py test;\n          fi\n      -\n        name: Run PyLint\n        run: |\n          cd ${{ env.PKGDIR }}\n          if [ -x \"$(command -v pylint)\" ]; then\n              pylint src/mpl_toolkits/basemap/cm.py src/mpl_toolkits/basemap/diagnostic.py src/mpl_toolkits/basemap/proj.py src/mpl_toolkits/basemap/solar.py test;\n          fi\n\n  build-geos:\n    strategy:\n      matrix:\n        arch:\n          [\"x64\", \"x86\"]\n      max-parallel: 2\n      fail-fast: false\n    needs: lint\n    runs-on: ubuntu-latest\n    container: \"pylegacy/${{ matrix.arch }}-python:3.8-debian-4\"\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v1\n        with:\n          name: checkout\n          path: .\n      -\n        name: Install CMake 3.6.2\n        run: |\n          apt-get update\n          apt-get install -y libidn11\n          pkgvers=3.6.2\n          pkgname=cmake\n          pkgcode=cmake-${pkgvers}\n          case \"${{ matrix.arch }}\" in\n              x86)  pkgfile=${pkgcode}-Linux-i386.tar.gz;;\n              *)    pkgfile=${pkgcode}-Linux-x86_64.tar.gz;;\n          esac\n          wget https://github.com/Kitware/CMake/releases/download/v${pkgvers}/${pkgfile} -P /tmp\n          tar -xf /tmp/${pkgfile} --strip-components=1 -C /usr\n          rm -rf /tmp/${pkgfile}\n      -\n        name: Install GCC toolchain\n        run: |\n          apt-get update\n          apt-get install -y gcc g++ make\n      -\n        name: Build GEOS from source\n        run: |\n          cd ${{ env.PKGDIR }}\n          python -c \"import utils; utils.GeosLibrary('3.6.5').build('extern', njobs=16)\"\n      -\n        name: Upload GEOS artifacts\n        uses: actions/upload-artifact@v1\n        with:\n          name: artifacts-geos-${{ matrix.arch }}\n          path: ${{ env.PKGDIR }}/extern\n\n  build:\n    strategy:\n      matrix:\n        arch:\n          [\"x64\", \"x86\"]\n        python-version:\n          [\"2.7\", \"3.5\", \"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      max-parallel: 3\n      fail-fast: false\n    needs: build-geos\n    runs-on: ubuntu-latest\n    container: \"pylegacy/${{ matrix.arch }}-python:${{ matrix.python-version }}-debian-4\"\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v1\n        with:\n          name: checkout\n          path: .\n      -\n        name: Download GEOS artifacts\n        uses: actions/download-artifact@v1\n        with:\n          name: artifacts-geos-${{ matrix.arch }}\n          path: ${{ env.PKGDIR }}/extern\n      -\n        name: Install GCC toolchain\n        run: |\n          apt-get update\n          apt-get install -y gcc g++ make\n      -\n        name: Build old numpy from source\n        run: |\n          case \"${{ matrix.arch }}\" in\n              x64)  arch=\"x86_64\" ;;\n              x86)  arch=\"i686\"   ;;\n          esac\n          case \"${{ matrix.python-version }}\" in\n              2.6|3.[23])      pkgvers=1.11.3; tag=manylinux1 ;;\n              2.7|3.[456789])  pkgvers=1.16.6; tag=manylinux1 ;;\n              3.10)            pkgvers=1.21.4; tag=manylinux1 ;;\n              3.11)            pkgvers=1.23.3; tag=manylinux_2_17 ;;\n              *)               pkgvers=1.26.1; tag=manylinux_2_28 ;;\n          esac\n          case \"${{ matrix.python-version }}\" in\n              3.11|3.12)\n                  # Dirty solution to get NumPy headers for Python 3.11 and 3.12.\n                  kwds=\"--plat=${tag}_${arch}\"\n                  pip download --no-deps ${kwds} \"numpy==${pkgvers}\"\n                  oldpkgfile=$(ls *.whl | head -n1)\n                  newpkgfile=$(echo \"${oldpkgfile}\" | sed \"s/${tag}/linux/\")\n                  mv \"${oldpkgfile}\" \"${newpkgfile}\"\n                  pip install \"${newpkgfile}\"\n                  rm \"${newpkgfile}\"\n              ;;\n              *)\n                  pip install \"numpy == ${pkgvers}\"\n              ;;\n          esac\n      -\n        name: Build wheel\n        run: |\n          sitepkgdir=$(pip show numpy 2>/dev/null | grep Location: | cut -d' ' -f2)\n          export GEOS_DIR=\"${GITHUB_WORKSPACE}/${{ env.PKGDIR }}/extern\"\n          export NUMPY_INCLUDE_PATH=${sitepkgdir}/numpy/core/include\n          case \"${{ matrix.python-version }}\" in\n              3.11|3.12)\n                kwds=\"--no-build-isolation\"\n                pip install setuptools wheel \"cython >= 0.29, < 3.1\"\n              ;;\n          esac\n          cd ${{ env.PKGDIR }}\n          python setup.py sdist\n          pip wheel -w dist --no-deps ${kwds} dist/*.zip\n      -\n        name: Upload build artifacts\n        uses: actions/upload-artifact@v1\n        with:\n          name: artifacts-build-${{ matrix.arch }}-${{ matrix.python-version }}\n          path: ${{ env.PKGDIR }}/dist\n\n  repair:\n    strategy:\n      matrix:\n        arch:\n          [\"x64\", \"x86\"]\n        python-version:\n          [\"2.7\", \"3.5\", \"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      max-parallel: 3\n      fail-fast: false\n    needs: build\n    runs-on: ubuntu-latest\n    container: \"pylegacy/${{ matrix.arch }}-python:3.8-debian-10\"\n    steps:\n      -\n        name: Download GEOS artifacts\n        uses: actions/download-artifact@v1\n        with:\n          name: artifacts-geos-${{ matrix.arch }}\n          path: ${{ env.PKGDIR }}/extern\n      -\n        name: Download build artifacts\n        uses: actions/download-artifact@v1\n        with:\n          name: artifacts-build-${{ matrix.arch }}-${{ matrix.python-version }}\n          path: ${{ env.PKGDIR }}/dist\n      -\n        name: Install auditwheel\n        run: |\n          apt-get update\n          apt-get install -y unzip\n          pip install patchelf\n          pip install \"auditwheel < 4.0\"\n      -\n        name: Repair wheel\n        run: |\n          cd ${{ env.PKGDIR }}\n          export LD_LIBRARY_PATH=\"$(readlink -f extern/lib)\"\n          auditwheel repair -w dist dist/*.whl\n      -\n        name: Upload build artifacts\n        uses: actions/upload-artifact@v1\n        with:\n          name: artifacts-build-${{ matrix.arch }}-${{ matrix.python-version }}\n          path: ${{ env.PKGDIR }}/dist\n\n  test:\n    strategy:\n      matrix:\n        arch:\n          [\"x64\", \"x86\"]\n        python-version:\n          [\"2.7\", \"3.5\", \"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          # Missing precompiled binaries for `numpy`, `matplotlib`,\n          # `pyproj`, `pillow` and `lxml`.\n          - arch: \"x86\"\n            python-version: \"3.12\"\n      max-parallel: 3\n      fail-fast: false\n    needs: repair\n    runs-on: ubuntu-latest\n    container: \"pylegacy/${{ matrix.arch }}-python:${{ matrix.python-version }}-debian-10\"\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v1\n        with:\n          name: checkout\n          path: .\n      -\n        name: Download build artifacts\n        uses: actions/download-artifact@v1\n        with:\n          name: artifacts-build-${{ matrix.arch }}-${{ matrix.python-version }}\n          path: ${{ env.PKGDIR }}/dist\n      -\n        name: Install numpy from source\n        run: |\n          apt-get update\n          apt-get install -y gcc g++ make\n          pip install \"numpy < 1.24\"\n        if: matrix.arch == 'x86' && (matrix.python-version >= '3.8' || matrix.python-version >= '3.10')\n      -\n        name: Install test requirements\n        run: |\n          cd ${{ env.PKGDIR }}\n          pip install -r requirements-test.txt\n      -\n        name: Install package (full)\n        run: |\n          whlpath=$(ls ${{ env.PKGDIR }}/dist/*-manylinux1*.whl | head -n1)\n          pip install \"${whlpath}[owslib,pillow]\"\n      -\n        name: Test package\n        run: |\n          cd ${{ env.PKGDIR }}\n          export COVERAGE_FILE=.coverage.${{ matrix.python-version }}\n          python -m pytest                                                    \\\n              --cov=\"mpl_toolkits.basemap\" --cov-report=term                  \\\n              --ignore=dist --ignore=build\n      -\n        name: Upload test artifacts\n        uses: actions/upload-artifact@v1\n        with:\n          name: artifacts-test\n          path: ${{ env.PKGDIR }}/.coverage.${{ matrix.python-version }}\n\n  coverage:\n    needs: test\n    runs-on: ubuntu-latest\n    container: \"pylegacy/python:3.8-debian-10\"\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v1\n      -\n        name: Download test artifacts\n        uses: actions/download-artifact@v1\n        with:\n          name: artifacts-test\n          path: ${{ env.PKGDIR }}\n      -\n        name: Install test requirements\n        run: |\n          cd ${{ env.PKGDIR }}\n          pip install -r requirements-test.txt\n      -\n        name: Compute combined coverage\n        run: |\n          cd ${{ env.PKGDIR }}\n          coverage combine\n          coverage html\n          coverage report\n      -\n        name: Upload coverage artifacts\n        uses: actions/upload-artifact@v1\n        with:\n          name: artifacts-coverage\n          path: ${{ env.PKGDIR }}/htmlcov\n\n  docs:\n    needs: test\n    runs-on: ubuntu-latest\n    container: \"pylegacy/python:3.8-debian-10\"\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v1\n        with:\n          name: checkout\n          path: .\n      -\n        name: Install doc requirements\n        run: |\n          cd ${{ env.PKGDIR }}\n          pip install -r requirements-doc.txt\n      -\n        name: Download build artifacts\n        uses: actions/download-artifact@v1\n        with:\n          name: artifacts-build-x64-3.8\n          path: ${{ env.PKGDIR }}/dist\n      -\n        name: Install package\n        run: |\n          cd ${{ env.PKGDIR }}\n          pip install dist/*-manylinux1*.whl\n      -\n        name: Run sphinx\n        run: |\n          cd ${{ env.PKGDIR }}\n          python -m sphinx doc/source public\n      -\n        name: Upload docs artifacts\n        uses: actions/upload-artifact@v1\n        with:\n          name: artifacts-docs\n          path: ${{ env.PKGDIR }}/public\n      -\n        name: Upload github-pages artifact\n        uses: actions/upload-pages-artifact@v3\n        with:\n          name: github-pages\n          path: ${{ env.PKGDIR }}/public\n\n  pages:\n    if: startsWith(github.event.ref, 'refs/tags/v')\n    needs: docs\n    runs-on: ubuntu-latest\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    permissions:\n      pages: write\n      id-token: write\n    steps:\n      - name: Deploy github-pages\n        uses: actions/deploy-pages@v3\n        id: deployment\n\n  upload:\n    strategy:\n      matrix:\n        arch:\n          [\"x64\", \"x86\"]\n        python-version:\n          [\"2.7\", \"3.5\", \"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      max-parallel: 1\n    if: startsWith(github.event.ref, 'refs/tags/v')\n    needs: test\n    runs-on: ubuntu-latest\n    container: \"pylegacy/${{ matrix.arch }}-python:${{ matrix.python-version }}-debian-10\"\n    environment: PyPI\n    steps:\n      -\n        name: Download build artifacts\n        uses: actions/download-artifact@v1\n        with:\n          name: artifacts-build-${{ matrix.arch }}-${{ matrix.python-version }}\n          path: ${{ env.PKGDIR }}/dist\n      -\n        name: Install upload requirements\n        run: |\n          pip install twine\n      -\n        name: Check distributables\n        run: |\n          python -m twine check                                               \\\n              ${{ env.PKGDIR }}/dist/*.zip                                    \\\n              ${{ env.PKGDIR }}/dist/*-manylinux1*.whl\n      -\n        name: Upload distributables\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: \"${{ secrets.PYPI_TOKEN }}\"\n          TWINE_REPOSITORY_URL: \"${{ secrets.PYPI_REPOSITORY_URL }}\"\n        run: |\n          python -m twine upload --skip-existing                              \\\n              ${{ env.PKGDIR }}/dist/*.zip                                    \\\n              ${{ env.PKGDIR }}/dist/*-manylinux1*.whl\n", "state": "active", "repository": "matplotlib/basemap"}
{"mined_at": "2024-07-15T12:48:04.288324", "created_at": "2021-12-08T17:22:51+01:00", "updated_at": "2021-12-08T17:22:51+01:00", "name": "basemap-for-windows", "path": ".github/workflows/basemap-for-windows.yml", "contents": "name: basemap-for-windows\n\nenv:\n  PKGDIR: \"packages/basemap\"\n  PIP_DEFAULT_TIMEOUT: 10\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n  PIP_PREFER_BINARY: 1\n  PIP_RETRIES: 0\n  PYTHONUNBUFFERED: \"1\"\n  PYTHONWARNINGS: \"ignore:DEPRECATION\"\n\non:\n  push:\n    paths:\n      - \".github/workflows/basemap-for-windows.yml\"\n      - \"!packages/basemap/doc/**\"\n      - \"packages/basemap/**\"\n  pull_request:\n    paths:\n      - \".github/workflows/basemap-for-windows.yml\"\n      - \"!packages/basemap/doc/**\"\n      - \"packages/basemap/**\"\n  workflow_dispatch:\n\njobs:\n\n  checkout:\n    runs-on: windows-2019\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v4\n      -\n        name: Upload checkout\n        uses: actions/upload-artifact@v4\n        with:\n          name: checkout\n          path: .\n\n  lint:\n    runs-on: windows-2019\n    strategy:\n      matrix:\n        python-version:\n          [\"2.7\", \"3.5\", \"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      max-parallel: 3\n      fail-fast: false\n    needs: checkout\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v4\n        with:\n          name: checkout\n          path: .\n      -\n        name: Set Python\n        uses: pylegacy/actions/setup-pyenv-win@v2\n        with:\n          architecture: ${{ matrix.arch }}\n          python-version: ${{ matrix.python-version }}\n      -\n        name: Set Python base packages\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n      -\n        name: Install lint requirements\n        run: |\n          cd ${{ env.PKGDIR }}\n          python -m pip install -r requirements-lint.txt\n      -\n        name: Install library requirements\n        run: |\n          cd ${{ env.PKGDIR }}\n          python -m pip install -r requirements.txt\n      -\n        name: Run Flake8\n        run: |\n          cd ${{ env.PKGDIR }}\n          if (Get-Command flake8 -errorAction SilentlyContinue)\n          {\n              flake8 src/mpl_toolkits/basemap/cm.py src/mpl_toolkits/basemap/diagnostic.py src/mpl_toolkits/basemap/proj.py src/mpl_toolkits/basemap/solar.py test;\n          }\n      -\n        name: Run PyLint\n        run: |\n          cd ${{ env.PKGDIR }}\n          if (Get-Command pylint -errorAction SilentlyContinue)\n          {\n              pylint src/mpl_toolkits/basemap/cm.py src/mpl_toolkits/basemap/diagnostic.py src/mpl_toolkits/basemap/proj.py src/mpl_toolkits/basemap/solar.py test;\n          }\n\n  build-geos:\n    strategy:\n      matrix:\n        arch:\n          [\"x64\", \"x86\"]\n        msvc-toolset:\n          [\"9.0\", \"14.0\"]\n        include:\n          - msvc-toolset: \"9.0\"\n            python-version: \"2.7\"\n          - msvc-toolset: \"14.0\"\n            python-version: \"3.5\"\n      max-parallel: 4\n      fail-fast: false\n    needs: lint\n    runs-on: windows-2019\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v4\n        with:\n          name: checkout\n          path: .\n      -\n        name: Set MSVC toolset\n        uses: pylegacy/actions/setup-msvc@v2\n        with:\n          arch: ${{ matrix.arch }}\n          toolset: ${{ matrix.msvc-toolset }}\n      -\n        name: Set CMake\n        uses: jwlawson/actions-setup-cmake@v2.0\n        with:\n          cmake-version: \"3.24.2\"\n      -\n        name: Set Python\n        uses: pylegacy/actions/setup-pyenv-win@v2\n        with:\n          architecture: ${{ matrix.arch }}\n          python-version: ${{ matrix.python-version }}\n      -\n        name: Build GEOS from source\n        run: |\n          cd ${{ env.PKGDIR }}\n          python -c \"import utils; utils.GeosLibrary('3.6.5').build('extern', toolset='${{ matrix.msvc-toolset }}', njobs=16)\"\n      -\n        name: Upload GEOS artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifacts-geos-${{ matrix.arch }}-msvc${{ matrix.msvc-toolset }}\n          path: ${{ env.PKGDIR }}/extern\n\n  build:\n    strategy:\n      matrix:\n        arch:\n          [\"x64\", \"x86\"]\n        python-version:\n          [\"2.7\", \"3.5\", \"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      max-parallel: 3\n      fail-fast: false\n    needs: build-geos\n    runs-on: windows-2019\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v4\n        with:\n          name: checkout\n          path: .\n      -\n        name: Set Python\n        uses: pylegacy/actions/setup-pyenv-win@v2\n        with:\n          architecture: ${{ matrix.arch }}\n          python-version: ${{ matrix.python-version }}\n      -\n        name: Set Python base packages\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n      -\n        name: Build old numpy from source\n        run: |\n          Switch -regex (\"${{ matrix.python-version }}\") {\n              \"^2\\.6|3\\.[123]$\"     { Set-Variable -Name \"pkgvers\" -Value \"1.11.3\" }\n              \"^2\\.7|3\\.[456789]$\"  { Set-Variable -Name \"pkgvers\" -Value \"1.16.6\" }\n              \"^3\\.10$\"             { Set-Variable -Name \"pkgvers\" -Value \"1.21.4\" }\n              \"^3\\.11$\"             { Set-Variable -Name \"pkgvers\" -Value \"1.23.3\" }\n              default               { Set-Variable -Name \"pkgvers\" -Value \"1.26.1\" }\n          }\n          $env:SETUPTOOLS_USE_DISTUTILS = \"stdlib\"\n          python -m pip install \"numpy == ${pkgvers}\"\n      -\n        name: Set MSVC toolset version\n        run: |\n          if (\"${{ matrix.python-version }}\" -eq \"2.7\") {\n              echo \"msvc-toolset=9.0\" >> $env:GITHUB_ENV\n          } else {\n              echo \"msvc-toolset=14.0\" >> $env:GITHUB_ENV\n          }\n      -\n        name: Set MSVC toolset\n        uses: pylegacy/actions/setup-msvc@v2\n        with:\n          arch: ${{ matrix.arch }}\n          toolset: ${{ env.msvc-toolset }}\n      -\n        name: Download GEOS artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: artifacts-geos-${{ matrix.arch }}-msvc${{ env.msvc-toolset }}\n          path: ${{ env.PKGDIR }}/extern\n      -\n        name: Build sdist and wheel\n        run: |\n          cd ${{ env.PKGDIR }}\n          $env:GEOS_DIR = \"$env:GITHUB_WORKSPACE/${{ env.PKGDIR }}/extern\"\n          python -m pip install -r requirements-setup.txt\n          python setup.py sdist\n          python -m pip wheel -w dist --no-deps (Get-Item dist/*.zip)\n      -\n        name: Upload build artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifacts-build-${{ matrix.arch }}-${{ matrix.python-version }}\n          path: ${{ env.PKGDIR }}/dist\n\n  test:\n    strategy:\n      matrix:\n        arch:\n          [\"x64\", \"x86\"]\n        python-version:\n          [\"2.7\", \"3.5\", \"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          # Missing precompiled binaries for `numpy` and `matplotlib`.\n          - arch: \"x86\"\n            python-version: \"3.12\"\n      max-parallel: 3\n      fail-fast: false\n    needs: build\n    runs-on: windows-2019\n    steps:\n      -\n        name: Download checkout\n        uses: actions/download-artifact@v4\n        with:\n          name: checkout\n          path: .\n      -\n        name: Download build artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: artifacts-build-${{ matrix.arch }}-${{ matrix.python-version }}\n          path: ${{ env.PKGDIR }}/dist\n      -\n        name: Set Python\n        uses: pylegacy/actions/setup-pyenv-win@v2\n        with:\n          architecture: ${{ matrix.arch }}\n          python-version: ${{ matrix.python-version }}\n      -\n        name: Set Python base packages\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n      -\n        name: Install test requirements\n        run: |\n          cd ${{ env.PKGDIR }}\n          pip install -r requirements-test.txt\n      -\n        name: Install package (full)\n        run: |\n          $whlpath = \"$(Get-Item ${{ env.PKGDIR }}/dist/*-win*.whl)\"\n          python -m pip install \"${whlpath}[owslib,pillow]\"\n      -\n        name: Test package\n        run: |\n          cd ${{ env.PKGDIR }}\n          $env:COVERAGE_FILE = \".coverage.${{ matrix.arch }}.${{ matrix.python-version }}\"\n          python -m pytest                                                    `\n              --cov=\"mpl_toolkits.basemap\" --cov-report=term                  `\n              --ignore=dist --ignore=build\n      -\n        name: Upload test artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifacts-test-${{ matrix.arch }}-${{ matrix.python-version }}\n          path: ${{ env.PKGDIR }}/.coverage.${{ matrix.arch }}.${{ matrix.python-version }}\n\n  upload:\n    strategy:\n      matrix:\n        arch:\n          [\"x64\", \"x86\"]\n        python-version:\n          [\"2.7\", \"3.5\", \"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      max-parallel: 1\n    if: startsWith(github.event.ref, 'refs/tags/v')\n    needs: test\n    runs-on: windows-2019\n    environment: PyPI\n    steps:\n      -\n        name: Set Python\n        uses: pylegacy/actions/setup-pyenv-win@v2\n        with:\n          architecture: ${{ matrix.arch }}\n          python-version: ${{ matrix.python-version }}\n      -\n        name: Download build artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: artifacts-build-${{ matrix.arch }}-${{ matrix.python-version }}\n          path: ${{ env.PKGDIR }}/dist\n      -\n        name: Install upload requirements\n        run: |\n          python -m pip install twine\n      -\n        name: Check distributables\n        run: |\n          python -m twine check                                               `\n              ${{ env.PKGDIR }}/dist/*.zip                                    `\n              ${{ env.PKGDIR }}/dist/*.whl\n      -\n        name: Upload distributables\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: \"${{ secrets.PYPI_TOKEN }}\"\n          TWINE_REPOSITORY_URL: \"${{ secrets.PYPI_REPOSITORY_URL }}\"\n        run: |\n          python -m twine upload --skip-existing                              `\n              ${{ env.PKGDIR }}/dist/*.whl\n", "state": "active", "repository": "matplotlib/basemap"}
{"mined_at": "2024-07-15T12:48:06.352501", "created_at": "2024-02-08T22:36:59+01:00", "updated_at": "2024-02-08T23:03:45+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '35 0 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript-typescript', 'python', 'ruby' ]\n        # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]\n        # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "voxpupuli/puppetboard"}
{"mined_at": "2024-07-15T12:48:07.381719", "created_at": "2021-05-14T19:23:43+02:00", "updated_at": "2023-05-08T19:25:04+02:00", "name": "publish 🐳 Docker image", "path": ".github/workflows/publish-docker.yml", "contents": "name: publish 🐳 Docker image\n\non:\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  build-and-push-container:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n\n      - name: cut v from tag\n        env:\n          TAG: ${{ github.ref_name }}\n        id: split\n        run: echo \"tag=${TAG:1}\" >> $GITHUB_OUTPUT\n\n      - uses: voxpupuli/gha-build-and-publish-a-container@v2\n        with:\n          registry_password: ${{ secrets.GITHUB_TOKEN }}\n          build_arch: linux/amd64,linux/arm64\n          docker_username: voxpupulibot\n          docker_password: ${{ secrets.DOCKERHUB_BOT_PASSWORD}}\n          tags: |\n            ghcr.io/${{ github.repository }}:${{ steps.split.outputs.tag }}\n            ghcr.io/${{ github.repository }}:latest\n            docker.io/${{ github.repository }}:${{ steps.split.outputs.tag }}\n            docker.io/${{ github.repository }}:latest\n\n      - name: Update Docker Hub Description\n        uses: peter-evans/dockerhub-description@v4\n        with:\n          username: voxpupulibot\n          password: ${{ secrets.DOCKERHUB_BOT_PASSWORD }}\n", "state": "active", "repository": "voxpupuli/puppetboard"}
{"mined_at": "2024-07-15T12:48:08.452825", "created_at": "2021-02-12T21:42:36+01:00", "updated_at": "2023-05-08T19:24:28+02:00", "name": "publish 🐍 egg to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: publish 🐍 egg to PyPI\n\non:\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  build-n-publish:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n      - name: Install dependencies\n        run: |\n          pip install wheel\n      - name: Build\n        run: |\n          python setup.py build sdist bdist_wheel\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN_PUPPETBOARD }}\n          # repository_url: https://test.pypi.org/legacy/\n      - name: Create release in GitHub\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: ${{ github.ref }}\n          draft: false\n          prerelease: false\n", "state": "active", "repository": "voxpupuli/puppetboard"}
{"mined_at": "2024-07-15T12:48:09.528937", "created_at": "2021-02-12T21:42:36+01:00", "updated_at": "2021-02-12T21:42:36+01:00", "name": "tests (unit)", "path": ".github/workflows/tests.yml", "contents": "name: tests (unit)\n\non:\n  pull_request: {}\n  push:\n    branches:\n      - master\n\njobs:\n  test:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [3.8, 3.9, '3.10', 3.11, 3.12]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install --upgrade wheel setuptools\n          python setup.py develop\n          pip install -r requirements-test.txt\n          mypy --install-types --non-interactive puppetboard/ test/\n      - name: Test\n        run: |\n          pytest --cov=. --cov-report=xml --strict-markers --mypy -v puppetboard test\n          pylint --errors-only puppetboard test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4.3.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n\n  build_docker_image:\n    name: 'Test building a container'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Build Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: false\n\n  security-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n      - name: Install dependencies\n        run: |\n          pip install bandit\n      - name: Run bandit\n        run: |\n          bandit -r puppetboard\n\n  tests:\n    needs:\n      - test\n      - build_docker_image\n      - security-tests\n    runs-on: ubuntu-latest\n    name: Test suite\n    steps:\n      - run: echo Test suite completed\n", "state": "active", "repository": "voxpupuli/puppetboard"}
{"mined_at": "2024-07-15T12:48:10.571518", "created_at": "2024-02-08T13:39:59+01:00", "updated_at": "2024-02-08T16:49:10+01:00", "name": "Trivy", "path": ".github/workflows/trivy-analysis.yml", "contents": "---\nname: Trivy\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches:\n      - master\n\njobs:\n  analyze:\n    name: 'Analyze'\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Build Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          tags: 'ci/puppetboard:${{ github.sha }}'\n          push: false\n\n      - name: Run Trivy vulnerability scanner\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: 'ci/puppetboard:${{ github.sha }}'\n          format: 'sarif'\n          output: 'trivy-results.sarif'\n\n      - name: Upload Trivy scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: 'trivy-results.sarif'\n", "state": "active", "repository": "voxpupuli/puppetboard"}
{"mined_at": "2024-07-15T12:48:11.589563", "created_at": "2024-02-08T22:23:47+01:00", "updated_at": "2024-02-08T22:23:47+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "voxpupuli/puppetboard"}
{"mined_at": "2024-07-15T12:48:14.518917", "created_at": "2022-11-17T18:38:41+01:00", "updated_at": "2022-11-17T19:27:30+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - stable\n      - main\n      - 4.1-update\n    tags:\n      - v*\n  pull_request:\n    branches:\n      - '**'\n\nconcurrency:\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == 'refs/heads/main' && github.sha || '' }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  build:\n    name: Build ${{ matrix.os.name }} ${{ matrix.python.name }}\n    runs-on: ${{ matrix.os.runs-on }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: 🐧\n            runs-on: ubuntu-latest\n        python:\n          - name: CPython 3.10\n            major_dot_minor: '3.10'\n            action: '3.10'\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        # with:\n          # This allows the matrix to specify just the major.minor version while still\n          # expanding it to get the latest patch version including alpha releases.\n          # This avoids the need to update for each new alpha, beta, release candidate,\n          # and then finally an actual release version.  actions/setup-python doesn't\n          # support this for PyPy presently so we get no help there.\n          #\n          # CPython -> 3.9.0-alpha - 3.9.X\n          # PyPy    -> pypy-3.7\n          # python-version: ${{ fromJSON(format('[\"{0}\", \"{1}\"]', format('{0}.0-alpha - {0}.X', matrix.python.action), matrix.python.action))[startsWith(matrix.python.action, 'pypy')] }}\n          # architecture: x64\n\n      - name: Setup environment\n        run: |\n          python -m pip install build\n\n      - name: Build sdist and wheel\n        run: |\n          python -m build\n\n      - name: Publish package files\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: packages\n          path: dist/*\n          if-no-files-found: error\n\n  test:\n    name: Test ${{ matrix.os.name }} ${{ matrix.python.name }}\n    needs:\n      - build\n    runs-on: ${{ matrix.os.runs-on }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: 🐧\n            runs-on: ubuntu-latest\n          - name: 🍎\n            # This would preferably be macos-latest, but it has pip updating bugs right now.\n            runs-on: macos-12\n          - name: 🪟\n            runs-on: windows-latest\n        python:\n          - name: CPython 3.8\n            major_dot_minor: '3.8'\n            action: '3.8'\n          - name: CPython 3.9\n            major_dot_minor: '3.9'\n            action: '3.9'\n          - name: CPython 3.10\n            major_dot_minor: '3.10'\n            action: '3.10'\n          - name: CPython 3.11\n            major_dot_minor: '3.11'\n            action: '3.11'\n          - name: CPython 3.12\n            major_dot_minor: '3.12'\n            action: '3.12'\n# Failing due to error using temporary file in a unittest. I think it's a PyPy bug, not a bitstring one!\n          # - name: PyPy 3.8\n            # major_dot_minor: '3.8'\n            # action: 'pypy-3.8'\n\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: repo\n\n      - name: Download package files\n        uses: actions/download-artifact@v4\n        with:\n          name: packages\n          path: dist\n\n      - uses: actions/setup-python@v5\n        with:\n          # This allows the matrix to specify just the major.minor version while still\n          # expanding it to get the latest patch version including alpha releases.\n          # This avoids the need to update for each new alpha, beta, release candidate,\n          # and then finally an actual release version.  actions/setup-python doesn't\n          # support this for PyPy presently so we get no help there.\n          #\n          # CPython -> 3.9.0-alpha - 3.9.X\n          # PyPy    -> pypy-3.7\n          python-version: ${{ fromJSON(format('[\"{0}\", \"{1}\"]', format('{0}.0-alpha - {0}.X', matrix.python.action), matrix.python.action))[startsWith(matrix.python.action, 'pypy')] }}\n          architecture: x64\n\n      - name: Setup environment\n        run: |\n          python --version --version\n          # make sure we test the installed code\n          cp -R repo/tests/ tests/\n          python -m pip install -r tests/requirements.txt\n          python -m pip install ./dist/*.whl\n          # show the directory contents for diagnostics\n          ls -la\n\n      - name: Run pytest\n        run: |\n          python -m pytest tests/ --benchmark-disable\n\n  all:\n    name: All successful\n    runs-on: ubuntu-latest\n    # The always() part is very important.\n    # If not set, the job will be skipped on failing dependencies.\n    if: always()\n    needs:\n      # This is the list of CI job that we are interested to be green before\n      # a merge.\n      - build\n      - test\n    steps:\n      - name: Require all successes\n        uses: re-actors/alls-green@v1.2.2\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "scott-griffiths/bitstring"}
{"mined_at": "2024-07-15T12:48:15.512914", "created_at": "2023-12-20T21:51:03+01:00", "updated_at": "2023-12-20T21:51:03+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "scott-griffiths/bitstring"}
{"mined_at": "2024-07-15T12:48:17.548582", "created_at": "2021-10-04T14:42:22+02:00", "updated_at": "2021-10-05T12:24:04+02:00", "name": "Mamonsu DEV", "path": ".github/workflows/mamonsu-tests-dev.yml", "contents": "name: Mamonsu DEV\n\non:\n  push:\n    branches:\n      - dev\n    paths-ignore:\n      - 'README.md'\n      - 'documentation/**'\n      - 'examples/**'\n      - 'packaging/conf/**'\n  pull_request:\n    branches:\n      - dev\n    paths-ignore:\n      - 'README.md'\n      - 'documentation/**'\n      - 'examples/**'\n      - 'packaging/conf/**'\n\njobs:\n  mamonsu-tests:\n    runs-on: ubuntu-20.04\n    env:\n      DOCKER_COMPOSE_VERSION: '1.29.2'\n      MAMONSU_PATH: '/home/runner/work/mamonsu/mamonsu/'\n    strategy:\n      matrix:\n        docker_os: ['centos:7', 'centos:8']\n        zabbix_version: ['6.2.9']\n        pg_version: ['12', '13', '14', '15']\n        include:\n          - docker_os: 'centos:8'\n            pg_version: '16'\n            zabbix_version: '6.2.9'\n          - docker_os: 'centos:8'\n            pg_version: '16'\n            zabbix_version: '6.4.13'\n          - docker_os: 'ubuntu:24.04'\n            pg_version: '16'\n            zabbix_version: '6.4.13'\n        exclude:\n          - docker_os: 'centos:8'\n            pg_version: '12'\n          - docker_os: 'centos:8'\n            pg_version: '13'\n          - docker_os: 'centos:8'\n            pg_version: '14'\n          - docker_os: 'centos:8'\n            pg_version: '15'\n\n    steps:\n      - name: Checkout mamonsu repo\n        uses: actions/checkout@v1\n\n      - name: Install docker-compose\n        run: sudo apt-get update\n      - run: sudo rm -f /usr/local/bin/docker-compose\n      - run: curl -L https://github.com/docker/compose/releases/download/${{ env.DOCKER_COMPOSE_VERSION }}/docker-compose-`uname -s`-`uname -m` > docker-compose\n      - run: chmod +x docker-compose\n      - run: sudo mv docker-compose /usr/local/bin\n      - name: Set up docker environment variables\n        run: echo 'DOCKER_OPTS=\"-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock -s devicemapper\"' | sudo tee /etc/default/docker > /dev/null\n      - run: sudo service docker restart\n      - run: sleep 5\n\n      - name: Install docker OS image\n        run: docker pull ${{ matrix.docker_os }}\n      - name: Run docker CentOS image\n        if: \"contains(matrix.docker_os, 'centos')\"\n        run: docker run -t -d --name $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) --privileged=true ${{ matrix.docker_os }} /usr/sbin/init\n      - name: Run docker Ubuntu image\n        if: contains(matrix.docker_os, 'ubuntu')\n        run: docker run -t -d --name $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) --privileged=true ${{ matrix.docker_os }}\n\n      - name: Install Zabbix ${{ matrix.zabbix_version }} on VM\n        run: bash ./github-actions-tests/zbx_install.sh --zbx-version=\"${{ matrix.zabbix_version }}\"\n      - name: Retrieve Zabbix address\n        run: |\n          echo \"zabbix_address=$(hostname -I | awk '{print $1}')\" >> $GITHUB_OUTPUT\n        id: zabbix_address\n      - name: Edit Zabbix address in agent.conf\n        run: sed -i \"s/\\(address *= *\\).*/\\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/\" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.5.8.conf\n\n      - name: Copy test scripts to container\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) mkdir -p -m 755 /mamonsu/\n      - run: docker cp . $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ):/mamonsu\n      - name: Install prerequisites\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/tests.sh --os=\"${{ matrix.docker_os }}\" --pg-version=\"${{ matrix.pg_version }}\"\n\n      - name: Build and install mamonsu\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/mamonsu_build.sh --os=\"${{ matrix.docker_os }}\" --pg-version=\"${{ matrix.pg_version }}\"\n\n      - name: Test MAMONSU BOOTSTRAP\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/tools/bootstrap.sh\n\n      - name: Test MAMONSU AGENT\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/tools/agent.sh\n\n      - name: Test MAMONSU REPORT\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/tools/report.sh\n\n      - name: Test MAMONSU EXPORT\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/tools/export.sh --pg-version=\"${{ matrix.pg_version }}\"\n\n      - name: Test MAMONSU ZABBIX CLI\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/tools/zabbix_cli.sh --zbx-address=\"${{ steps.zabbix_address.outputs.zabbix_address }}\" --zbx-version=\"${{ matrix.zabbix_version }}\"\n\n      - name: Test mamonsu metrics on master\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/metrics.sh --pg-version=\"${{ matrix.pg_version }}\" --os=\"${{ matrix.docker_os }}\"\n\n      - name: Test Mamonsu removal\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/mamonsu_removal.sh --os=\"${{ matrix.docker_os }}\"\n", "state": "active", "repository": "postgrespro/mamonsu"}
{"mined_at": "2024-07-15T12:48:18.551517", "created_at": "2021-10-04T14:50:21+02:00", "updated_at": "2022-07-06T08:45:01+02:00", "name": "Mamonsu MASTER", "path": ".github/workflows/mamonsu-tests-master.yml", "contents": "name: Mamonsu MASTER\n\non:\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - 'README.md'\n      - 'documentation/**'\n      - 'examples/**'\n      - 'packaging/conf/**'\n  pull_request:\n    branches:\n      - master\n    paths-ignore:\n      - 'README.md'\n      - 'documentation/**'\n      - 'examples/**'\n      - 'packaging/conf/**'\n\njobs:\n  mamonsu-tests:\n    runs-on: ubuntu-20.04\n    env:\n      DOCKER_COMPOSE_VERSION: '1.29.2'\n      MAMONSU_PATH: '/home/runner/work/mamonsu/mamonsu/'\n    strategy:\n      matrix:\n        docker_os: ['ubuntu:20.04', 'centos:7', 'centos:8']\n        zabbix_version: ['4.0.44', '4.4.10', '5.0.30', '5.4.12', '6.0.12', '6.2.9']\n        pg_version: ['12', '13', '14', '15']\n        include:\n          - docker_os: 'centos:8'\n            pg_version: '16'\n            zabbix_version: '6.2.9'\n          - docker_os: 'centos:8'\n            pg_version: '16'\n            zabbix_version: '6.4.13'\n          - docker_os: 'ubuntu:20.04'\n            pg_version: '16'\n            zabbix_version: '6.4.13'\n          - docker_os: 'ubuntu:20.04'\n            pg_version: '15'\n            zabbix_version: '6.4.13'\n          - docker_os: 'ubuntu:24.04'\n            pg_version: '16'\n            zabbix_version: '6.4.13'\n        exclude:\n          # excludes PG 15, 16 on CentOS\n          - docker_os: 'centos:7'\n            pg_version: '15'\n          - docker_os: 'centos:7'\n            pg_version: '16'\n          - docker_os: 'centos:8'\n            pg_version: '12'\n          - docker_os: 'centos:8'\n            pg_version: '13'\n          - docker_os: 'centos:8'\n            pg_version: '14'\n          - docker_os: 'centos:8'\n            pg_version: '15'\n\n    steps:\n      - name: Checkout mamonsu repo\n        uses: actions/checkout@v1\n\n      - name: Install docker-compose\n        run: sudo apt-get update\n      - run: sudo rm -f /usr/local/bin/docker-compose\n      - run: curl -L https://github.com/docker/compose/releases/download/${{ env.DOCKER_COMPOSE_VERSION }}/docker-compose-`uname -s`-`uname -m` > docker-compose\n      - run: chmod +x docker-compose\n      - run: sudo mv docker-compose /usr/local/bin\n      - name: Set up docker environment variables\n        run: echo 'DOCKER_OPTS=\"-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock -s devicemapper\"' | sudo tee /etc/default/docker > /dev/null\n      - run: sudo service docker restart\n      - run: sleep 5\n\n      - name: Install docker OS image\n        run: docker pull ${{ matrix.docker_os }}\n      - name: Run docker CentOS image\n        if: \"contains(matrix.docker_os, 'centos')\"\n        run: docker run -t -d --name $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) --privileged=true ${{ matrix.docker_os }} /usr/sbin/init\n      - name: Run docker Ubuntu image\n        if: \"contains(matrix.docker_os, 'ubuntu')\"\n        run: docker run -t -d --name $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) --privileged=true ${{ matrix.docker_os }}\n\n      - name: Install Zabbix ${{ matrix.zabbix_version }} on VM\n        run: bash ./github-actions-tests/zbx_install.sh --zbx-version=\"${{ matrix.zabbix_version }}\"\n      - name: Retrieve Zabbix address\n        run: |\n          echo \"zabbix_address=$(hostname -I | awk '{print $1}')\" >> $GITHUB_OUTPUT\n        id: zabbix_address\n      - name: Edit Zabbix address in agent.conf\n        run: sed -i \"s/\\(address *= *\\).*/\\1 ${{ steps.zabbix_address.outputs.zabbix_address }}/\" ${{ env.MAMONSU_PATH }}/github-actions-tests/sources/agent_3.5.8.conf\n\n      - name: Copy test scripts to container\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) mkdir -p -m 755 /mamonsu/\n      - run: docker cp . $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ):/mamonsu\n      - name: Install prerequisites\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/tests.sh --os=\"${{ matrix.docker_os }}\" --pg-version=\"${{ matrix.pg_version }}\"\n\n      - name: Build and install mamonsu\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/mamonsu_build.sh --os=\"${{ matrix.docker_os }}\" --pg-version=\"${{ matrix.pg_version }}\"\n\n      - name: Test MAMONSU BOOTSTRAP\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/tools/bootstrap.sh\n\n      - name: Test MAMONSU AGENT\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/tools/agent.sh\n\n      - name: Test MAMONSU REPORT\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/tools/report.sh\n\n      - name: Test MAMONSU EXPORT\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/tools/export.sh --pg-version=\"${{ matrix.pg_version }}\"\n\n      - name: Test MAMONSU ZABBIX CLI\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/tools/zabbix_cli.sh --zbx-address=\"${{ steps.zabbix_address.outputs.zabbix_address }}\" --zbx-version=\"${{ matrix.zabbix_version }}\"\n\n      - name: Test mamonsu metrics on master\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/metrics.sh --pg-version=\"${{ matrix.pg_version }}\" --os=\"${{ matrix.docker_os }}\"\n\n      - name: Test Mamonsu removal\n        run: docker exec $( echo \"${{ matrix.docker_os }}\" | sed 's/://' | sed 's/\\.//' ) bash /mamonsu/github-actions-tests/mamonsu_removal.sh --os=\"${{ matrix.docker_os }}\"\n", "state": "active", "repository": "postgrespro/mamonsu"}
{"mined_at": "2024-07-15T12:48:20.690918", "created_at": "2023-09-08T01:56:06+02:00", "updated_at": "2023-09-08T03:16:02+02:00", "name": "Daily Cron Tests", "path": ".github/workflows/ci_cron_daily.yml", "contents": "name: Daily Cron Tests\n\non:\n  schedule:\n    # run at 6am UTC on Tue-Fri (complete tests are run every Monday)\n    - cron: '0 6 * * 2-5'\n  pull_request:\n    # We also want this workflow triggered if the 'Daily CI' label is added\n    # or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n  push:\n    tags:\n      - '*'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  TOXARGS: '-v'\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    if: (github.repository == 'astropy/regions' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Daily CI')))\n    name: ${{ matrix.prefix }} ${{ matrix.os }}, ${{ matrix.tox_env }}\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.allow_failure }}\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'linkcheck'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py312-test-devdeps'\n            toxposargs: --remote-data=any\n            allow_failure: true\n            prefix: '(Allowed failure)'\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install base dependencies\n      run: python -m pip install --upgrade pip setuptools tox\n    - name: Print Python, pip, setuptools, and tox versions\n      run: |\n        python -c \"import sys; print(f'Python {sys.version}')\"\n        python -c \"import pip; print(f'pip {pip.__version__}')\"\n        python -c \"import setuptools; print(f'setuptools {setuptools.__version__}')\"\n        python -c \"import tox; print(f'tox {tox.__version__}')\"\n    - name: Run tests\n      run: tox -e ${{ matrix.tox_env }} -- ${{ matrix.toxposargs }}\n    - name: Upload coverage to codecov\n      if: ${{ contains(matrix.tox_env, '-cov') }}\n      uses: codecov/codecov-action@v4\n      with:\n        files: ./coverage.xml\n        verbose: true\n", "state": "active", "repository": "astropy/regions"}
{"mined_at": "2024-07-15T12:48:21.819897", "created_at": "2023-09-08T01:56:06+02:00", "updated_at": "2023-09-08T03:16:02+02:00", "name": "Weekly Cron Tests", "path": ".github/workflows/ci_cron_weekly.yml", "contents": "name: Weekly Cron Tests\n\non:\n  schedule:\n    # run every Monday at 5am UTC\n    - cron: '0 5 * * 1'\n  pull_request:\n    # We also want this workflow triggered if the 'Weekly CI' label is added\n    # or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n  push:\n    tags:\n      - '*'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  TOXARGS: '-v'\n  IS_CRON: 'true'\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    if: (github.repository == 'astropy/regions' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Weekly CI')))\n    name: ${{ matrix.os }}, ${{ matrix.tox_env }}\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.allow_failure }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py312-test-alldeps-devinfra'\n            allow_failure: false\n\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install base dependencies\n        run: python -m pip install --upgrade pip setuptools tox\n      - name: Print Python, pip, setuptools, and tox versions\n        run: |\n          python -c \"import sys; print(f'Python {sys.version}')\"\n          python -c \"import pip; print(f'pip {pip.__version__}')\"\n          python -c \"import setuptools; print(f'setuptools {setuptools.__version__}')\"\n          python -c \"import tox; print(f'tox {tox.__version__}')\"\n      - name: Run tests\n        run: tox -e ${{ matrix.tox_env }} -- ${{ matrix.toxposargs }}\n\n\n  test_more_architectures:\n    # The following architectures are emulated and are therefore slow, so\n    # we include them just in the weekly cron. These also serve as a test\n    # of using system libraries and using pytest directly.\n\n    runs-on: ubuntu-20.04\n    name: More architectures\n    if: (github.repository == 'astropy/regions' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Arch CI')))\n    env:\n      ARCH_ON_CI: ${{ matrix.arch }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - arch: aarch64\n          - arch: s390x\n          - arch: ppc64le\n          - arch: armv7\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: uraimo/run-on-arch-action@v2\n        name: Run tests\n        id: build\n        with:\n          arch: ${{ matrix.arch }}\n          distro: ubuntu_rolling\n\n          shell: /bin/bash\n          env: |\n            ARCH_ON_CI: ${{ env.ARCH_ON_CI }}\n            IS_CRON: ${{ env.IS_CRON }}\n\n          install: |\n            apt-get update -q -y\n            apt-get install -q -y --no-install-recommends \\\n                                  git \\\n                                  g++ \\\n                                  pkg-config \\\n                                  python3 \\\n                                  python3-astropy \\\n                                  python3-erfa \\\n                                  python3-extension-helpers \\\n                                  python3-numpy \\\n                                  python3-pytest-astropy \\\n                                  python3-setuptools-scm \\\n                                  python3-scipy \\\n                                  python3-venv \\\n                                  python3-wheel \\\n                                  wcslib-dev\n\n          run: |\n            uname -a\n            echo \"LONG_BIT=\"$(getconf LONG_BIT)\n            python3 -m venv --system-site-packages tests\n            source tests/bin/activate\n            # cython and pyerfa versions in ubuntu repos are too old currently\n            pip install -U cython\n            pip install -U --no-build-isolation pyerfa\n            ASTROPY_USE_SYSTEM_ALL=1 pip3 install -v --no-build-isolation -e .[test]\n            pip3 list\n            python3 -m pytest\n", "state": "active", "repository": "astropy/regions"}
{"mined_at": "2024-07-15T12:48:22.872302", "created_at": "2022-01-06T20:18:02+01:00", "updated_at": "2023-09-08T03:52:02+02:00", "name": "CI Tests", "path": ".github/workflows/ci_tests.yml", "contents": "name: CI Tests\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - '*'\n  pull_request:\n  schedule:\n    # run every Monday at 6am UTC\n    - cron: '0 6 * * 1'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  TOXARGS: '-v'\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    name: ${{ matrix.prefix }} ${{ matrix.os }}, ${{ matrix.tox_env }}\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.allow_failure }}\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'py310-test-alldeps'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.11'\n            tox_env: 'py311-test-alldeps'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py312-test-alldeps-cov'\n            toxposargs: --remote-data=any\n            allow_failure: false\n            prefix: ''\n\n          - os: macos-latest\n            python: '3.12'\n            tox_env: 'py312-test-alldeps'\n            allow_failure: false\n            prefix: ''\n\n          - os: macos-14\n            python: '3.12'\n            tox_env: 'py312-test-alldeps'\n            allow_failure: false\n            prefix: 'M1'\n\n          - os: windows-latest\n            python: '3.12'\n            tox_env: 'py312-test-alldeps'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py312-test'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'codestyle'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'pep517'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'bandit'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'py310-test-oldestdeps'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py312-test-devdeps'\n            toxposargs: --remote-data=any\n            allow_failure: true\n            prefix: '(Allowed failure)'\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install base dependencies\n      run: python -m pip install --upgrade pip setuptools tox\n    - name: Print Python, pip, setuptools, and tox versions\n      run: |\n        python -c \"import sys; print(f'Python {sys.version}')\"\n        python -c \"import pip; print(f'pip {pip.__version__}')\"\n        python -c \"import setuptools; print(f'setuptools {setuptools.__version__}')\"\n        python -c \"import tox; print(f'tox {tox.__version__}')\"\n    - name: Run tests\n      run: tox -e ${{ matrix.tox_env }} -- ${{ matrix.toxposargs }}\n    - name: Upload coverage to codecov\n      if: ${{ contains(matrix.tox_env, '-cov') }}\n      uses: codecov/codecov-action@v4\n      with:\n        files: ./coverage.xml\n        verbose: true\n", "state": "active", "repository": "astropy/regions"}
{"mined_at": "2024-07-15T12:48:23.969555", "created_at": "2022-12-20T17:41:25+01:00", "updated_at": "2023-08-14T20:14:30+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '33 1 * * 0'\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "astropy/regions"}
{"mined_at": "2024-07-15T12:48:24.964939", "created_at": "2022-10-27T02:09:21+02:00", "updated_at": "2023-09-19T03:37:14+02:00", "name": "Wheel building", "path": ".github/workflows/publish.yml", "contents": "name: Wheel building\n\non:\n  schedule:\n    # run every Monday at 5am UTC\n    - cron: '0 5 * * 1'\n  pull_request:\n    # We also want this workflow triggered if the 'Build all wheels'\n    # label is added or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n  push:\n    branches:\n      - '*'\n    tags:\n      - '*'\n      - '!*dev*'\n      - '!*pre*'\n      - '!*post*'\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  build_and_publish:\n    # This job builds the wheels and publishes them to PyPI for all\n    # tags, except those ending in \".dev\". For PRs with the \"Build all\n    # wheels\" label, wheels are built, but are not uploaded to PyPI.\n\n    permissions:\n      contents: none\n\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1\n\n    if: (github.repository == 'astropy/regions' && (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Build all wheels')))\n    with:\n      # We upload to PyPI for all tag pushes, except tags ending in .dev\n      upload_to_pypi: ${{ startsWith(github.ref, 'refs/tags/') && !endsWith(github.ref, '.dev') && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') }}\n\n      test_extras: test\n      test_command: pytest -p no:warnings --pyargs regions\n      targets: |\n        # Linux wheels\n        - cp310-manylinux_x86_64\n        - cp311-manylinux_x86_64\n        - cp312-manylinux_x86_64\n\n        # MacOS X wheels\n        # Note that the arm64 wheels are not actually tested so we rely\n        # on local manual testing of these to make sure they are ok.\n        - cp310*macosx_x86_64\n        - cp311*macosx_x86_64\n        - cp312*macosx_x86_64\n\n        - cp310*macosx_arm64\n        - cp311*macosx_arm64\n        - cp312*macosx_arm64\n\n        # Windows wheels\n        - cp310*win_amd64\n        - cp311*win_amd64\n        - cp312*win_amd64\n\n    secrets:\n      pypi_token: ${{ secrets.pypi_token }}\n", "state": "active", "repository": "astropy/regions"}
{"mined_at": "2024-07-15T12:48:28.095253", "created_at": "2024-05-15T05:54:37+02:00", "updated_at": "2024-05-15T05:54:37+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": null, "state": "active", "repository": "open-power/op-test"}
{"mined_at": "2024-07-15T12:48:29.189816", "created_at": "2024-04-04T18:21:46+02:00", "updated_at": "2024-04-15T10:50:39+02:00", "name": ".github/workflows/pylint.yml", "path": ".github/workflows/pylint.yml", "contents": "name: Pylint\n\non: \n  push:\n      branches:\n     \t- 'master'\n  pull_request:\n     branches:\n       - 'master'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pylint\n    - name: Analysing the code with pylint\n      run: |\n        pylint $(git ls-files '*.py')\n", "state": "active", "repository": "open-power/op-test"}
{"mined_at": "2024-07-15T12:48:31.207523", "created_at": "2020-01-10T09:49:28+01:00", "updated_at": "2020-01-10T11:21:23+01:00", "name": "build", "path": "", "contents": null, "state": "active", "repository": "randy3k/radian"}
{"mined_at": "2024-07-15T12:48:32.179010", "created_at": "2019-12-19T03:41:20+01:00", "updated_at": "2021-06-03T20:21:37+02:00", "name": "Main", "path": ".github/workflows/main.yml", "contents": "name: Main\n\non:\n  push:\n    branches: [main, master]\n    tags: ['*']\n  pull_request:\n    branches: [main, master]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  RADIAN_NO_INPUTHOOK: 1\n\njobs:\n  pytest:\n    name: ${{ matrix.os }} r-${{ matrix.r }} py-${{ matrix.python }}\n    strategy:\n      fail-fast: false\n      matrix:\n        r: [4.1, latest, devel]\n        python: [3.8, 3.12]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: ${{ matrix.python }}\n      - uses: r-lib/actions/setup-r@v2\n        with:\n          r-version: ${{ matrix.r }}\n      - name: Install required R packages for testing\n        run: Rscript -e \"install.packages(c('reticulate', 'askpass'))\"\n      - name: Install and run tests\n        run: |\n          python -m pip install jedi\n          python -m pip install -e .[test]\n          pytest -s --coverage\n          coverage combine\n          coverage xml -i -o coverage.xml\n      - name: codecov\n        run: |\n          python -m pip install codecov\n          codecov\n        env:\n          CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}\n\n  twine:\n    name: Upload tarball\n    if: startsWith(github.ref, 'refs/tags/')\n    needs: pytest\n    runs-on: ubuntu-latest\n    env:\n      TWINE_USERNAME: ${{secrets.TWINE_USERNAME}}\n      TWINE_PASSWORD: ${{secrets.TWINE_PASSWORD}}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: 3.11\n      - run: python -m pip install twine\n      - run: python setup.py sdist\n      - run: python -m pip install dist/*\n      - run: python -m twine upload dist/*\n", "state": "active", "repository": "randy3k/radian"}
{"mined_at": "2024-07-15T12:48:34.519136", "created_at": "2021-07-02T04:52:39+02:00", "updated_at": "2021-07-02T05:00:09+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '18 10 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "neo4j-contrib/neomodel"}
{"mined_at": "2024-07-15T12:48:35.542160", "created_at": "2023-02-14T17:31:37+01:00", "updated_at": "2024-05-22T09:04:14+02:00", "name": "Integration tests", "path": ".github/workflows/integration-tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Integration tests\n\non:\n  push:\n    branches: [ \"rc/**\" ]\n  pull_request:\n    branches: [ \"master\", \"rc/**\" ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.12\", \"3.11\", \"3.10\", \"3.9\", \"3.8\", \"3.7\"]\n        neo4j-version: [\"community\", \"enterprise\", \"5.5-enterprise\", \"4.4-enterprise\", \"4.4-community\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Creating Neo4j Container\n      run: |\n        chmod +x ./docker-scripts/docker-neo4j.sh\n        sh ./docker-scripts/docker-neo4j.sh ${{ matrix.neo4j-version }}\n        sleep 30s\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e '.[dev,pandas,numpy]'\n    - name: Test with pytest\n      env:\n        AURA_TEST_DB_USER: ${{ secrets.AURA_TEST_DB_USER }}\n        AURA_TEST_DB_PASSWORD: ${{ secrets.AURA_TEST_DB_PASSWORD }}\n        AURA_TEST_DB_HOSTNAME: ${{ secrets.AURA_TEST_DB_HOSTNAME }}\n      run: |\n        pytest --cov=neomodel --cov-report=html:coverage_report\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}  # Ensure the token is used here\n        fail_ci_if_error: true  # Optional: specify if CI should fail when codecov fails\n", "state": "active", "repository": "neo4j-contrib/neomodel"}
{"mined_at": "2024-07-15T12:48:36.599374", "created_at": "2023-02-16T16:12:31+01:00", "updated_at": "2023-02-16T16:12:31+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "neo4j-contrib/neomodel"}
{"mined_at": "2024-07-15T12:48:38.704912", "created_at": "2023-01-13T02:24:44+01:00", "updated_at": "2023-06-03T12:04:05+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n\n  Test:\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n        include:\n          - os: windows-latest\n            python-version: \"3.12\"\n          - os: macos-latest\n            python-version: \"3.12\"\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Run tests on ${{ matrix.os }}\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[dev]\n          # stop the build if there are Python syntax errors or undefined names\n          ruff check . --select=E9,F63,F7,F82\n          pytest\n", "state": "active", "repository": "open2c/cooler"}
{"mined_at": "2024-07-15T12:48:39.874961", "created_at": "2023-06-03T12:04:05+02:00", "updated_at": "2023-06-03T12:04:05+02:00", "name": "Publish Python Package to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Publish Python Package to PyPI\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  Publish:\n    # prevents this action from running on forks\n    if: github.repository == 'open2c/cooler'\n\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n\n      - name: Build\n        run: python -m build\n\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "open2c/cooler"}
{"mined_at": "2024-07-15T12:48:41.990766", "created_at": "2024-02-15T16:41:53+01:00", "updated_at": "2024-06-23T02:18:09+02:00", "name": "GHA CI", "path": ".github/workflows/main.yml", "contents": "name: GHA CI\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * 0\" # every Sunday at midnight\n  workflow_dispatch:\n\njobs:\n  industrial_ci:\n    name: GHA CI\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    env:\n      ADDITIONAL_DEBS: 'apt-utils dialog git'\n      CATKIN_LINT: pedantic\n      CATKIN_LINT_ARGS: '--ignore description_boilerplate'\n      CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release\n      PYLINT_ARGS: '--output-format=parseable --errors-only'\n      PYLINT_CHECK: true\n      ROS_REPO: main\n      UPSTREAM_WORKSPACE: '.ci.rosinstall'\n\n    strategy:\n      matrix:\n        include:\n          - { ROS_DISTRO: noetic }\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          lfs: true\n          ssh-known-hosts: ''\n\n      - uses: ros-industrial/industrial_ci@master\n        with:\n          config: ${{toJSON(matrix)}}\n\n", "state": "disabled_inactivity", "repository": "ipa320/cob_simulation"}
{"mined_at": "2024-07-15T12:48:43.967813", "created_at": "2024-03-27T00:08:47+01:00", "updated_at": "2024-03-27T00:27:30+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  release:\n    types: [created]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_wheels:\n    name: Build wheel for ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - \"ubuntu-22.04\"\n          - \"macos-14\"\n    steps:\n      - uses: pypa/cibuildwheel@v2.16.5\n      - uses: actions/upload-artifact@v4\n        with:\n          name: binary-${{ matrix.os }}\n          path: ./wheelhouse/*.whl\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n            python -m pip install -U pip\n            python -m pip install -U build twine\n      - name: Build sdist\n        run: |\n          python -m pip install -U pip\n          python -m build --sdist .\n      - uses: actions/upload-artifact@v4\n        with:\n          path: dist/*.tar.gz\n\n  publish:\n    environment:\n      name: pypi\n      url: https://pypi.org/p/fsps\n    permissions:\n      id-token: write\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          path: dist\n          merge-multiple: true\n      - uses: pypa/gh-action-pypi-publish@v1.8.12\n", "state": "disabled_manually", "repository": "bd-j/prospector"}
{"mined_at": "2024-07-15T12:48:44.926073", "created_at": "2022-02-02T18:31:12+01:00", "updated_at": "2022-02-02T19:23:32+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  tests:\n    name: \"py${{ matrix.python-version }} / ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n        os: [ubuntu-latest, macos-latest]\n    steps:\n      - name: Clone the repo\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Clone fsps\n        uses: actions/checkout@v4\n        with:\n          repository: cconroy20/fsps\n          path: fsps\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip pytest\n          python -m pip install -U fsps astro-sedpy astropy\n          python -m pip install -U scipy\n          python -m pip install -U dynesty\n          python -m pip install .\n        env:\n          SPS_HOME: ${{ github.workspace }}/fsps\n      - name: Run tests\n        run: python -m pytest --durations=0 --maxfail=1 -vs tests/\n        env:\n          SPS_HOME: ${{ github.workspace }}/fsps\n", "state": "active", "repository": "bd-j/prospector"}
{"mined_at": "2024-07-15T12:48:47.290605", "created_at": "2024-02-15T15:14:06+01:00", "updated_at": "2024-05-12T02:01:06+02:00", "name": "GHA CI", "path": ".github/workflows/main.yml", "contents": "name: GHA CI\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * 0\" # every Sunday at midnight\n  workflow_dispatch:\n\njobs:\n  industrial_ci:\n    name: GHA CI\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    env:\n      ADDITIONAL_DEBS: 'apt-utils dialog git'\n      CATKIN_LINT: pedantic\n      CATKIN_LINT_ARGS: '--ignore description_boilerplate --ignore wrong_bin_install_destination'\n      CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release\n      PYLINT_ARGS: '--output-format=parseable --errors-only'\n      PYLINT_CHECK: true\n      ROS_REPO: main\n      UPSTREAM_WORKSPACE: '.ci.rosinstall'\n\n    strategy:\n      matrix:\n        include:\n          - { ROS_DISTRO: noetic }\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          lfs: true\n          ssh-known-hosts: ''\n\n      - uses: ros-industrial/industrial_ci@master\n        with:\n          config: ${{toJSON(matrix)}}\n\n", "state": "disabled_inactivity", "repository": "ipa320/cob_robots"}
{"mined_at": "2024-07-15T12:48:49.567764", "created_at": "2021-05-14T22:32:48+02:00", "updated_at": "2021-06-28T18:16:44+02:00", "name": "Glider Plugin Tests", "path": ".github/workflows/cc-plugin-glider-test.yml", "contents": "name: Glider Plugin Tests\n\non:\n  pull_request:\n  push:\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Micromamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        init-shell: bash\n        create-args: >-\n          python=3 pip\n          --file requirements.txt\n          --file test_requirements.txt\n          --channel conda-forge\n\n    - name: Install compliance-checker\n      shell: bash -l {0}\n      run: |\n        python -m pip install -v -e . --no-deps --force-reinstall\n\n    - name: cc-plugin-glider tests\n      shell: bash -l {0}\n      run: >\n        git clone https://github.com/ioos/cc-plugin-glider.git\n        && cd cc-plugin-glider\n        && micromamba install --file requirements.txt --file requirements-dev.txt --channel conda-forge\n        && micromamba remove compliance-checker --no-prune --force\n        && python -m pip install -e . --no-deps --force-reinstall\n        && python -m pytest -s -rxs -v cc_plugin_glider\n", "state": "active", "repository": "ioos/compliance-checker"}
{"mined_at": "2024-07-15T12:48:50.693980", "created_at": "2021-05-16T20:09:10+02:00", "updated_at": "2024-05-22T10:15:55+02:00", "name": "NCEI Plugin Tests", "path": ".github/workflows/cc-plugin-ncei-test.yml", "contents": "name: NCEI Plugin Tests\n\non:\n  pull_request:\n  push:\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Micromamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        init-shell: bash\n        create-args: >-\n          python=3 pip\n          --file requirements.txt\n          --file test_requirements.txt\n          --channel conda-forge\n\n    - name: Install compliance-checker\n      shell: bash -l {0}\n      run: |\n        python -m pip install -e . --no-deps --force-reinstall\n\n    - name: cc-plugin-ncei tests\n      shell: bash -l {0}\n      run: >\n        git clone https://github.com/ioos/cc-plugin-ncei.git\n        && cd cc-plugin-ncei\n        && micromamba install --file requirements.txt --file requirements-dev.txt --channel conda-forge\n        && micromamba remove compliance-checker --no-prune --force\n        && python -m pip install -e . --no-deps --force-reinstall\n        && python -m pytest -s -rxs -v cc_plugin_ncei\n", "state": "active", "repository": "ioos/compliance-checker"}
{"mined_at": "2024-07-15T12:48:51.820462", "created_at": "2024-05-22T16:43:44+02:00", "updated_at": "2024-05-22T16:51:18+02:00", "name": "OG Plugin Tests", "path": ".github/workflows/cc-plugin-og-test.yml", "contents": "name: OG Plugin Tests\n\non:\n  pull_request:\n  push:\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Micromamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        init-shell: bash\n        create-args: >-\n          python=3 pip\n          --file requirements.txt\n          --file test_requirements.txt\n          --channel conda-forge\n\n    - name: Install compliance-checker\n      shell: bash -l {0}\n      run: |\n        python -m pip install -e . --no-deps --force-reinstall\n\n    - name: cc-plugin-og tests\n      shell: bash -l {0}\n      run: >\n        git clone https://github.com/uw-farlab/cc-plugin-og.git\n        && cd cc-plugin-og\n        && micromamba install --file requirements.txt --channel conda-forge\n        && micromamba remove compliance-checker --no-prune --force\n        && python -m pip install -e . --no-deps --force-reinstall\n        && python -m pytest -s -rxs -v cc_plugin_og\n", "state": "active", "repository": "ioos/compliance-checker"}
{"mined_at": "2024-07-15T12:48:52.995065", "created_at": "2021-05-16T20:18:02+02:00", "updated_at": "2021-06-28T18:16:44+02:00", "name": "SGRID Plugin Tests", "path": ".github/workflows/cc-plugin-sgrid-test.yml", "contents": "name: SGRID Plugin Tests\n\non:\n  pull_request:\n  push:\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Micromamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        init-shell: bash\n        create-args: >-\n          python=3 pip\n          --file requirements.txt\n          --file test_requirements.txt\n          --channel conda-forge\n\n    - name: Install compliance-checker\n      shell: bash -l {0}\n      run: |\n        python -m pip install -e . --no-deps --force-reinstall\n\n    - name: cc-plugin-sgrid tests\n      shell: bash -l {0}\n      run: >\n        git clone https://github.com/ioos/cc-plugin-sgrid.git\n        && cd cc-plugin-sgrid\n        && micromamba install --file requirements.txt --file requirements-dev.txt --channel conda-forge\n        && micromamba remove compliance-checker --no-prune --force\n        && python -m pip install -e . --no-deps --force-reinstall\n        && python -m pytest -s -rxs -v cc_plugin_sgrid\n", "state": "active", "repository": "ioos/compliance-checker"}
{"mined_at": "2024-07-15T12:48:53.998086", "created_at": "2022-12-15T23:19:49+01:00", "updated_at": "2023-04-18T17:52:03+02:00", "name": "UGRID Plugin Tests", "path": ".github/workflows/cc-plugin-ugrid-test.yml", "contents": "name: UGRID Plugin Tests\n\non:\n  pull_request:\n  push:\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Micromamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        init-shell: bash\n        create-args: >-\n          python=3 pip\n          --file requirements.txt\n          --file test_requirements.txt\n          --channel conda-forge\n\n    - name: Install compliance-checker\n      shell: bash -l {0}\n      run: |\n        python -m pip install -e . --no-deps --force-reinstall\n\n    - name: cc-plugin-ugrid tests\n      shell: bash -l {0}\n      run: >\n        git clone https://github.com/ioos/cc-checker-ugrid.git\n        && cd cc-checker-ugrid\n        && micromamba install --file requirements.txt --file requirements-dev.txt --channel conda-forge\n        && micromamba remove compliance-checker --no-prune --force\n        && python -m pip install -e . --no-deps --force-reinstall\n        && python -m pytest -s -rxs -v cc_plugin_ugrid\n", "state": "active", "repository": "ioos/compliance-checker"}
{"mined_at": "2024-07-15T12:48:55.097216", "created_at": "2022-01-07T19:47:39+01:00", "updated_at": "2022-01-25T17:29:46+01:00", "name": "Code coverage report", "path": ".github/workflows/codecov.yml", "contents": "name: Code coverage report\n\non:\n  pull_request:\n  push:\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Micromamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        init-shell: bash\n        create-args: >-\n          python=3 pip\n          --file requirements.txt\n          --file test_requirements.txt\n          --channel conda-forge\n\n    - name: Install compliance-checker\n      shell: bash -l {0}\n      run: |\n        python -m pip install -e . --no-deps --force-reinstall\n\n    - name: Run tests with coverage\n      shell: bash -l {0}\n      run: |\n        python -m pytest --cov=compliance_checker --cov-report=xml compliance_checker/tests\n      # pass this step even if there are individual test failures, we are\n      # interested in the overall level of coverage and other checks can\n      # report on test failures.\n      continue-on-error: true\n\n    - name: Upload to codecov\n      uses: codecov/codecov-action@v4\n      with:\n        files: coverage.xml\n", "state": "active", "repository": "ioos/compliance-checker"}
{"mined_at": "2024-07-15T12:48:56.183681", "created_at": "2021-05-14T22:09:49+02:00", "updated_at": "2021-06-28T18:16:44+02:00", "name": "Default Tests", "path": ".github/workflows/default-tests.yml", "contents": "name: Default Tests\n\non:\n  pull_request:\n  push:\n\njobs:\n  run:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n        os: [windows-latest, ubuntu-latest, macos-latest]\n      fail-fast: false\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Micromamba ${{ matrix.python-version }}\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        init-shell: bash\n        create-args: >-\n          python=${{ matrix.python-version }} pip\n          --file requirements.txt\n          --file test_requirements.txt\n          --channel conda-forge\n\n    - name: Install compliance-checker\n      run: |\n        python -m pip install -e . --no-deps --force-reinstall\n\n    - name: Default Tests\n      run: python -m pytest -s -rxs -v -k \"not integration\" compliance_checker\n", "state": "active", "repository": "ioos/compliance-checker"}
{"mined_at": "2024-07-15T12:48:57.211478", "created_at": "2023-04-12T14:51:42+02:00", "updated_at": "2023-05-16T17:01:33+02:00", "name": "Documentation", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Documentation\n\non:\n  pull_request:\n  push:\n  release:\n    types:\n      - published\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Setup Micromamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        init-shell: bash\n        create-args: >-\n          python=3 pip\n          --file requirements.txt\n          --file test_requirements.txt\n          --channel conda-forge\n\n    - name: Install compliance-checker\n      shell: bash -l {0}\n      run: |\n        python -m pip install -e . --no-deps --force-reinstall\n\n    - name: Build documentation\n      shell: bash -l {0}\n      run: |\n        set -e\n        pushd docs\n        cp  ../README.md source/quickintro.md\n        make clean html linkcheck\n        popd\n\n    - name: Deploy\n      if: success() && github.event_name == 'release'\n      uses: peaceiris/actions-gh-pages@v4\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: docs/build/html\n", "state": "active", "repository": "ioos/compliance-checker"}
{"mined_at": "2024-07-15T12:48:58.210130", "created_at": "2021-05-14T22:09:49+02:00", "updated_at": "2021-06-28T18:16:44+02:00", "name": "Integration Tests", "path": ".github/workflows/integration-tests.yml", "contents": "name: Integration Tests\n\non:\n  pull_request:\n  push:\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Micromamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        init-shell: bash\n        create-args: >-\n          python=3 pip\n          --file requirements.txt\n          --file test_requirements.txt\n          --channel conda-forge\n\n    - name: Install compliance-checker\n      shell: bash -l {0}\n      run: |\n        python -m pip install -e . --no-deps --force-reinstall\n\n    - name: Integration Tests\n      shell: bash -l {0}\n      run: python -m pytest -m \"integration\" -s -rxs -v --vcr-record=none compliance_checker\n", "state": "active", "repository": "ioos/compliance-checker"}
{"mined_at": "2024-07-15T12:48:59.230904", "created_at": "2022-05-25T19:53:32+02:00", "updated_at": "2023-04-14T17:42:13+02:00", "name": "Publish to PyPI", "path": ".github/workflows/pypi.yml", "contents": "name: Publish to PyPI\n\non:\n  pull_request:\n  push:\n  release:\n    types:\n      - published\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  packages:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        # Should be enough for setuptools-scm\n        fetch-depth: 100\n        persist-credentials: false\n\n    - name: Get tags\n      run: git fetch origin 'refs/tags/*:refs/tags/*'\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n\n    - name: Install build tools\n      run: |\n        python -m pip install --upgrade pip build twine\n\n    - name: Build binary wheel\n      run: python -m build --sdist --wheel . --outdir dist\n\n    - name: CheckFiles\n      run: |\n        ls -lh dist\n\n    - name: Test wheels\n      run: |\n        cd dist && python -m pip install compliance_checker*.whl\n        python -m twine check *\n\n    - name: Publish a Python distribution to PyPI\n      if: success() && github.event_name == 'release'\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_ACCESS_TOKEN }}\n", "state": "active", "repository": "ioos/compliance-checker"}
{"mined_at": "2024-07-15T12:49:00.230717", "created_at": "2023-05-18T01:12:41+02:00", "updated_at": "2023-05-18T01:12:41+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ioos/compliance-checker"}
{"mined_at": "2024-07-15T12:49:02.467456", "created_at": "2023-05-09T17:57:21+02:00", "updated_at": "2023-05-09T17:57:21+02:00", "name": "Adds all new issues to project board", "path": ".github/workflows/project_auto_add_issue.yml", "contents": "name: Adds all new issues to project board\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  add-to-project:\n    name: Add issue to perfSONAR project\n    runs-on: ubuntu-latest\n    steps:\n      # NOTE: \"uses\" cannot be a variable so name and version hard-coded here\n      - uses: actions/add-to-project@v0.5.0\n        with:\n          project-url: ${{ vars.PROJECT_PS_URL }}\n          github-token: ${{ secrets.PAT_PROJECT_PS_AUTO_ADD }}", "state": "active", "repository": "perfsonar/pscheduler"}
{"mined_at": "2024-07-15T12:49:03.462318", "created_at": "2024-03-08T19:42:13+01:00", "updated_at": "2024-03-08T19:59:34+01:00", "name": "testbed", "path": ".github/workflows/testbed.yml", "contents": null, "state": "active", "repository": "perfsonar/pscheduler"}
{"mined_at": "2024-07-15T12:49:05.643873", "created_at": "2023-08-11T19:00:16+02:00", "updated_at": "2023-08-11T19:00:16+02:00", "name": "brightwind", "path": ".github/workflows/tests.yml", "contents": "name: brightwind\n\non:\n  # Triggers the workflow on pull request events but only for the \"main\" branch\n  # push events are only possible via pull_request!\n  pull_request:\n    branches: [ \"master\" ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n      - name: Test with pytest\n        run: |\n          pytest\n", "state": "active", "repository": "brightwind-dev/brightwind"}
{"mined_at": "2024-07-15T12:49:07.771689", "created_at": "2021-05-10T17:44:03+02:00", "updated_at": "2023-04-24T22:40:18+02:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": "name: Lint\n\non: [pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n      - uses: psf/black@stable\n        with:\n            options: \"--check --diff --color --verbose\"\n            jupyter: true\n", "state": "active", "repository": "pepkit/looper"}
{"mined_at": "2024-07-15T12:49:08.816972", "created_at": "2020-08-26T14:58:18+02:00", "updated_at": "2020-08-26T14:58:18+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    name: upload release to PyPI\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        run: |\n          python setup.py sdist bdist_wheel\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "pepkit/looper"}
{"mined_at": "2024-07-15T12:49:09.857693", "created_at": "2020-07-02T16:52:15+02:00", "updated_at": "2020-07-02T16:52:15+02:00", "name": "Run pytests", "path": ".github/workflows/run-pytest.yml", "contents": "name: Run pytests\n\non:\n  pull_request:\n    branches: [master, dev]\n\njobs:\n  pytest:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.11\"]\n        os: [ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install test dependencies\n        run: if [ -f requirements/requirements-test.txt ]; then pip install -r requirements/requirements-test.txt; fi\n\n      - name: Install package\n        run: python -m pip install .\n\n      - name: Run pytest tests\n        run: pytest tests -x -vv --remote-data\n", "state": "active", "repository": "pepkit/looper"}
{"mined_at": "2024-07-15T12:49:11.842196", "created_at": "2021-03-20T15:47:11+01:00", "updated_at": "2023-04-24T13:31:18+02:00", "name": "Build wheel, release and publish on new tag", "path": ".github/workflows/tests.yml", "contents": "name: Build wheel, release and publish on new tag\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, 3.10.9, 3.11, 3.12]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0  # Optional, use if you use setuptools_scm\n        submodules: false  # Optional, use if you have submodules\n      name: Check out repo\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n        pip install .[test] --use-pep517\n    - name: Test with pytest\n      run: |\n        pytest\n    - name: Build wheel\n      run: |\n        python -m pip install --upgrade pip\n        pip wheel . -w dist --no-deps --use-pep517\n\n    - uses: actions/upload-artifact@v3\n      name: Upload wheel as artifact\n      with:\n        name: wheels\n        path: |\n          ./dist/*.whl\n\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0  # Optional, use if you use setuptools_scm\n        submodules: true  # Optional, use if you have submodules\n\n    - name: Build SDist\n      run: pipx run build --sdist\n\n    - uses: actions/upload-artifact@v3\n      with:\n        path: dist/*.tar.gz\n\n  release_artifacts:\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    name: Release repaired and tested wheels\n    needs: build\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n      contents: write\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Download compressed artifacts\n      id: download\n      uses: actions/download-artifact@v3\n      with:\n        path: ./artifacts\n\n    - name: 'List downloaded files'\n      run: ls ${{ steps.download.outputs.download-path }}/**/*.*\n\n    - name: Create release and upload wheels\n      uses: ncipollo/release-action@v1\n      with:\n        allowUpdates: true\n        artifacts: \"${{ steps.download.outputs.download-path }}/**/*.whl,${{ steps.download.outputs.download-path }}/**/*.gz,${{ steps.download.outputs.download-path }}/**/*.so,${{ steps.download.outputs.download-path }}/**/*.dylib,${{ steps.download.outputs.download-path }}/**/*.lib,${{ steps.download.outputs.download-path }}/**/*.dll\"\n        token: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: PyPI Publish\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        packages-dir: ${{ steps.download.outputs.download-path }}/**/\n", "state": "active", "repository": "urschrei/pyzotero"}
{"mined_at": "2024-07-15T12:49:13.846872", "created_at": "2024-02-16T17:44:35+01:00", "updated_at": "2024-02-16T17:44:35+01:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": null, "state": "active", "repository": "antsx/antspy"}
{"mined_at": "2024-07-15T12:49:14.928372", "created_at": "2022-05-17T15:33:06+02:00", "updated_at": "2022-05-19T16:14:06+02:00", "name": "ci-docker", "path": ".github/workflows/ci-docker.yml", "contents": "name: ci-docker\non:\n  schedule:\n    - cron: \"30 6 * * *\"\n  push:  \n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n  workflow_dispatch:\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v4\n      -\n        name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: antsx/antspy\n      -\n        name: Login to DockerHub\n        if: ${{ github.repository == 'ANTsX/ANTsPy' }}\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      -\n        name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n      -\n        name: Build and push\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          platforms: linux/amd64\n          push: ${{ github.repository == 'ANTsX/ANTsPy' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) }}\n          tags: ${{ github.event_name == 'schedule' && 'antsx/antspy:nightly,antsx/antspy:latest' || steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "antsx/antspy"}
{"mined_at": "2024-07-15T12:49:15.987340", "created_at": "2024-03-13T21:30:35+01:00", "updated_at": "2024-04-01T10:32:10+02:00", "name": "ci-pytest", "path": ".github/workflows/ci-pytest.yml", "contents": "name: ci-pytest\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  workflow_dispatch:\n\nenv:\n  # Updates or changes to this, or the runner OS or arch will invalidate the cache\n  python_version: \"3.10\" # Python version to use for testing - update when needed\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    # Default shell needs to be bash for conda\n    # https://github.com/conda-incubator/setup-miniconda?tab=readme-ov-file#important\n    defaults:\n      run:\n        shell: bash -el {0}\n    steps:\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@030178870c779d9e5e1b4e563269f3aa69b04081 # v3.0.3, devs recommend using hash\n        with:\n          miniconda-version: \"latest\"\n          python-version: ${{ env.python_version }}\n          auto-update-conda: true\n          activate-environment: \"test-env\"\n\n      - name: Configure Conda to use only .tar.bz2\n        run: |\n          conda config --set use_only_tar_bz2 true\n\n      - name: Checkout code\n        uses: actions/checkout@v4 # Checkout PR code to 'antspy-pr'\n        with:\n          path: antspy-pr\n\n      - name: Install dependencies and ANTsPy from PR\n        run: |\n          conda create -n antspy-env python=${{ env.python_version }} -y\n          conda activate antspy-env\n          conda install -c conda-forge coverage\n          conda info\n          pip install ./antspy-pr\n          conda list\n\n      - name: Run tests\n        run: |\n          conda activate antspy-env\n          bash antspy-pr/tests/run_tests.sh -c\n\n      - name: Coveralls\n        uses: coverallsapp/github-action@v2\n        with:\n          files: antspy-pr/tests/coverage.xml\n", "state": "active", "repository": "antsx/antspy"}
{"mined_at": "2024-07-15T12:49:17.040583", "created_at": "2024-02-16T23:45:31+01:00", "updated_at": "2024-03-31T03:01:26+02:00", "name": "codecov", "path": ".github/workflows/code-coverage.yml", "contents": "on:\n  push:\n    branches:\n      - master\n\n  workflow_dispatch:\n\nname: codecov\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n\n      - name: Install package\n        run: python -m pip install .\n\n      - name: Install coverage\n        run: python -m pip install coverage\n\n      - name: Unit tests\n        run: tests/run_tests.sh -c\n\n      - name: Coveralls\n        uses: coverallsapp/github-action@v2.2.3\n        with:\n          file: tests/coverage.xml\n", "state": "disabled_manually", "repository": "antsx/antspy"}
{"mined_at": "2024-07-15T12:49:18.007582", "created_at": "2024-02-16T18:06:54+01:00", "updated_at": "2024-02-16T23:27:57+01:00", "name": "autopep8", "path": ".github/workflows/lint.yml", "contents": null, "state": "disabled_manually", "repository": "antsx/antspy"}
{"mined_at": "2024-07-15T12:49:19.150277", "created_at": "2024-01-24T10:12:06+01:00", "updated_at": "2024-01-24T10:12:06+01:00", "name": "Build wheels [macosx_arm64]", "path": ".github/workflows/wheels-macosx_arm64.yml", "contents": null, "state": "active", "repository": "antsx/antspy"}
{"mined_at": "2024-07-15T12:49:20.159599", "created_at": "2022-03-30T04:18:10+02:00", "updated_at": "2024-05-23T18:15:58+02:00", "name": "build_wheels", "path": ".github/workflows/wheels.yml", "contents": "name: build_wheels\n\non:\n  schedule:\n    - cron: \"0 5 * * *\"\n  release:\n    types: [created]\n  workflow_dispatch:\n\njobs:\n  build_wheels:\n    name: Build wheel for cp${{ matrix.cibw_python }}-${{ matrix.platform_id }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # Have to specify python version twice so that the same python is used to build and test\n          # Need to quote decimal versions as string to avoid the \"Norway problem\"\n\n          # Windows 64-bit\n          - os: windows-latest\n            python: '3.9'\n            cibw_python: 39\n            platform_id: win_amd64\n          - os: windows-latest\n            python: '3.10'\n            cibw_python: 310\n            platform_id: win_amd64\n          - os: windows-latest\n            python: '3.11'\n            cibw_python: 311\n            platform_id: win_amd64\n          - os: windows-latest\n            python: '3.12'\n            cibw_python: 312\n            platform_id: win_amd64\n\n          # Linux 64-bit\n          - os: ubuntu-latest\n            python: '3.8'\n            cibw_python: 38\n            platform_id: manylinux_x86_64\n          - os: ubuntu-latest\n            python: '3.9'\n            cibw_python: 39\n            platform_id: manylinux_x86_64\n          - os: ubuntu-latest\n            python: '3.10'\n            cibw_python: 310\n            platform_id: manylinux_x86_64\n          - os: ubuntu-latest\n            python: '3.11'\n            cibw_python: 311\n            platform_id: manylinux_x86_64\n          - os: ubuntu-latest\n            python: '3.12'\n            cibw_python: 312\n            platform_id: manylinux_x86_64\n\n          # macOS on Intel 64-bit\n          - os: macos-12\n            python: '3.9'\n            cibw_python: 39\n            arch: x86_64\n            platform_id: macosx_x86_64\n          - os: macos-12\n            python: '3.10'\n            cibw_python: 310\n            arch: x86_64\n            platform_id: macosx_x86_64\n          - os: macos-12\n            python: '3.11'\n            cibw_python: 311\n            arch: x86_64\n            platform_id: macosx_x86_64\n          - os: macos-12\n            python: '3.12'\n            cibw_python: 312\n            arch: x86_64\n            platform_id: macosx_x86_64\n\n          # macOS on Apple M1 64-bit, supported for Python 3.10 and later\n          - os: macos-14\n            python: '3.10'\n            cibw_python: 310\n            arch: arm64\n            platform_id: macosx_arm64\n          - os: macos-14\n            python: '3.11'\n            cibw_python: 311\n            arch: arm64\n            platform_id: macosx_arm64\n          - os: macos-14\n            python: '3.12'\n            cibw_python: 312\n            arch: arm64\n            platform_id: macosx_arm64\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - uses: actions/setup-python@v5\n        name: Install Python host for cibuildwheel\n        with:\n          python-version: ${{ matrix.python }}\n\n        # Visual Studio\n      - name: Set up MSVC x64\n        if: matrix.platform_id == 'win_amd64'\n        uses: ilammy/msvc-dev-cmd@v1\n\n      - name: Install cibuildwheel\n        run: python -m pip install cibuildwheel==2.16.2 setuptools toml\n\n      - name: Get package name and version (Linux / Mac)\n        if: ${{ ! startsWith(matrix.os, 'windows-') }}\n        run: |\n          echo \"PACKAGE_NAME=$( python -c \"import toml; print(toml.load('pyproject.toml')['project']['name'])\" )\" >> $GITHUB_ENV\n          echo \"PACKAGE_VERSION=$( python -c \"import toml; print(toml.load('pyproject.toml')['project']['version'])\" )\" >> $GITHUB_ENV\n\n      # Some shells require \"-Encoding utf8\" to append to GITHUB_ENV\n      # https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions?tool=powershell#environment-files\n      - name: Get package name and version (Windows)\n        if: startsWith(matrix.os, 'windows-')\n        run: |\n          echo \"PACKAGE_NAME=$( python -c \"import toml; print(toml.load('pyproject.toml')['project']['name'])\" )\" | Out-File -FilePath $env:GITHUB_ENV ` -Append\n          echo \"PACKAGE_VERSION=$( python -c \"import toml; print(toml.load('pyproject.toml')['project']['version'])\" )\" | Out-File -FilePath $env:GITHUB_ENV ` -Append\n\n      - name: Determine macOS version\n        if: startsWith(matrix.os, 'macos-')\n        run: |\n          macos_version=$(sw_vers -productVersion | awk -F '.' '{print $1\".0\"}')\n          echo \"MACOSX_DEPLOYMENT_TARGET=${macos_version}\" >> $GITHUB_ENV\n\n      - name: Build wheels\n        env:\n          CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014\n          CIBW_MANYLINUX_I686_IMAGE: manylinux2014\n          CIBW_BUILD: cp${{ matrix.cibw_python }}-${{ matrix.platform_id }}\n          CIBW_TEST_SKIP: \"cp*\" # We will test during install and test step\n\n          # Include latest Python beta\n          CIBW_PRERELEASE_PYTHONS: True\n\n          CIBW_BEFORE_ALL_LINUX: |\n            echo \"Installing system dependencies with yum\"\n            yum install -y gcc-c++ libpng-devel libpng\n            echo \"pip installing cmake and ninja\"\n            python -m pip install cmake ninja setuptools\n\n          CIBW_BEFORE_ALL_WINDOWS: |\n            python -m pip install cmake ninja setuptools\n\n          CIBW_ARCHS_MACOS: ${{ matrix.arch }}\n\n          CIBW_ENVIRONMENT_MACOS: |\n            CMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} CMAKE_PREFIX_PATH=/usr/local\n\n          CIBW_BEFORE_ALL_MACOS: |\n            python -m pip install cmake ninja setuptools\n            brew update\n            if ! brew list libpng &>/dev/null; then\n                HOMEBREW_NO_AUTO_UPDATE=1 brew install libpng\n            fi\n\n        run: python -m cibuildwheel --output-dir wheelhouse/cp${{ matrix.cibw_python }}-${{matrix.platform_id }}\n\n      - name: Install and test (Linux / Mac)\n        if: ${{ ! startsWith(matrix.os, 'windows-') }}\n        run: |\n          python -m pip install wheelhouse/cp${{ matrix.cibw_python }}-${{matrix.platform_id }}/*.whl\n          tests/run_tests.sh\n\n      - name: Install and test (Windows)\n        if: startsWith(matrix.os, 'windows-')\n        shell: bash\n        run: |\n          python -m pip install --find-links=./wheelhouse/cp${{ matrix.cibw_python }}-${{ matrix.platform_id }} antspyx\n          bash tests/run_tests.sh\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.PACKAGE_NAME }}-${{ env.PACKAGE_VERSION }}-cp${{ matrix.cibw_python }}-${{ matrix.platform_id }}\n          path: ./wheelhouse/cp${{ matrix.cibw_python }}-${{ matrix.platform_id }}/*.whl\n\n      - name: Upload release asset\n        # Previously was using actions/upload-release-asset@v1 , but this had some\n        # errors with large files\n        uses: ncipollo/release-action@v1.11.1\n        if: ${{ github.event_name == 'release' }}\n        with:\n          allowUpdates: true\n          omitBodyDuringUpdate: true\n          omitNameDuringUpdate: true\n          artifacts: ./wheelhouse/cp${{ matrix.cibw_python }}-${{ matrix.platform_id }}/*.whl\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish prep\n        if: ${{ (github.event_name == 'release') && (runner.os == 'Linux') }}\n        run: |\n          mywhl=`find ~/ -name \"antspyx*.whl\"`\n          extrawheeldir=`dirname $mywhl`\n          wheeldirx=`dirname $extrawheeldir`\n          wheeldir=`dirname $wheeldirx`\n          wheeldir=${wheeldir}/dist\n          mkdir -p $wheeldir\n          echo $wheeldir\n          mv $mywhl $wheeldir\n          rm -r -f $extrawheeldir $wheeldirx\n\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n        if: ${{ (github.event_name == 'release') && (runner.os == 'Linux') }}\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          verify_metadata: false\n          skip_existing: true\n          verbose: true\n", "state": "active", "repository": "antsx/antspy"}
{"mined_at": "2024-07-15T12:49:21.179457", "created_at": "2024-03-18T14:24:46+01:00", "updated_at": "2024-05-23T16:30:45+02:00", "name": "wheels_faster", "path": ".github/workflows/wheels_faster.yml", "contents": "name: wheels_faster\n\non:\n  workflow_dispatch:\n\njobs:\n  build_wheels:\n    name: Build wheel for cp${{ matrix.cibw_python }}-${{ matrix.platform_id }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # Have to specify python version twice so that the same python is used to build and test\n          # Need to quote decimal versions as string to avoid the \"Norway problem\"\n\n          # Windows 64-bit\n          - os: windows-latest\n            python: '3.11'\n            cibw_python: 311\n            platform_id: win_amd64\n\n          # Linux 64-bit\n          - os: ubuntu-latest\n            python: '3.11'\n            cibw_python: 311\n            platform_id: manylinux_x86_64\n\n          # macOS on Intel 64-bit\n          - os: macos-12\n            python: '3.11'\n            cibw_python: 311\n            arch: x86_64\n            platform_id: macosx_x86_64\n\n          # macOS on Apple M1 64-bit, supported for Python 3.10 and later\n          - os: macos-14\n            python: '3.11'\n            cibw_python: 311\n            arch: arm64\n            platform_id: macosx_arm64\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - uses: actions/setup-python@v5\n        name: Install Python host for cibuildwheel\n        with:\n          python-version: ${{ matrix.python }}\n\n        # Visual Studio\n      - name: Set up MSVC x64\n        if: matrix.platform_id == 'win_amd64'\n        uses: ilammy/msvc-dev-cmd@v1\n\n      - name: Install cibuildwheel\n        run: python -m pip install cibuildwheel==2.16.2 setuptools toml\n\n      - name: Get package name and version (Linux / Mac)\n        if: ${{ ! startsWith(matrix.os, 'windows-') }}\n        run: |\n          echo \"PACKAGE_NAME=$( python -c \"import toml; print(toml.load('pyproject.toml')['project']['name'])\" )\" >> $GITHUB_ENV\n          echo \"PACKAGE_VERSION=$( python -c \"import toml; print(toml.load('pyproject.toml')['project']['version'])\" )\" >> $GITHUB_ENV\n\n      # Some shells require \"-Encoding utf8\" to append to GITHUB_ENV\n      # https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions?tool=powershell#environment-files\n      - name: Get package name and version (Windows)\n        if: startsWith(matrix.os, 'windows-')\n        run: |\n          echo \"PACKAGE_NAME=$( python -c \"import toml; print(toml.load('pyproject.toml')['project']['name'])\" )\" | Out-File -FilePath $env:GITHUB_ENV ` -Append\n          echo \"PACKAGE_VERSION=$( python -c \"import toml; print(toml.load('pyproject.toml')['project']['version'])\" )\" | Out-File -FilePath $env:GITHUB_ENV ` -Append\n\n      - name: Determine macOS version\n        if: startsWith(matrix.os, 'macos-')\n        run: |\n          macos_version=$(sw_vers -productVersion | awk -F '.' '{print $1\".0\"}')\n          echo \"MACOSX_DEPLOYMENT_TARGET=${macos_version}\" >> $GITHUB_ENV\n\n      - name: Build wheels\n        env:\n          CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014\n          CIBW_MANYLINUX_I686_IMAGE: manylinux2014\n          CIBW_BUILD: cp${{ matrix.cibw_python }}-${{ matrix.platform_id }}\n          CIBW_TEST_SKIP: \"cp*\" # We will test during install and test step\n\n          # Include latest Python beta\n          CIBW_PRERELEASE_PYTHONS: True\n\n          CIBW_BEFORE_ALL_LINUX: |\n            echo \"Installing system dependencies with yum\"\n            yum install -y gcc-c++ libpng-devel libpng\n            echo \"pip installing cmake and ninja\"\n            python -m pip install cmake ninja setuptools\n\n          CIBW_BEFORE_ALL_WINDOWS: |\n            python -m pip install cmake ninja setuptools\n\n          CIBW_ARCHS_MACOS: ${{ matrix.arch }}\n\n          CIBW_ENVIRONMENT_MACOS: |\n            CMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} CMAKE_PREFIX_PATH=/usr/local\n\n          CIBW_BEFORE_ALL_MACOS: |\n            python -m pip install cmake ninja setuptools\n            brew update\n            if ! brew list libpng &>/dev/null; then\n                HOMEBREW_NO_AUTO_UPDATE=1 brew install libpng\n            fi\n\n        run: python -m cibuildwheel --output-dir wheelhouse/cp${{ matrix.cibw_python }}-${{matrix.platform_id }}\n\n      - name: Install and test (Linux / Mac)\n        if: ${{ ! startsWith(matrix.os, 'windows-') }}\n        run: |\n          python -m pip install wheelhouse/cp${{ matrix.cibw_python }}-${{matrix.platform_id }}/*.whl\n          tests/run_tests.sh\n\n      - name: Install and test (Windows)\n        if: startsWith(matrix.os, 'windows-')\n        shell: bash\n        run: |\n          python -m pip install --find-links=./wheelhouse/cp${{ matrix.cibw_python }}-${{ matrix.platform_id }} antspyx\n          bash tests/run_tests.sh\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.PACKAGE_NAME }}-${{ env.PACKAGE_VERSION }}-cp${{ matrix.cibw_python }}-${{ matrix.platform_id }}\n          path: ./wheelhouse/cp${{ matrix.cibw_python }}-${{ matrix.platform_id }}/*.whl", "state": "active", "repository": "antsx/antspy"}
{"mined_at": "2024-07-15T12:49:22.175824", "created_at": "2022-01-13T01:43:05+01:00", "updated_at": "2022-01-13T01:43:05+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "antsx/antspy"}
{"mined_at": "2024-07-15T12:49:24.384127", "created_at": "2021-04-02T04:19:10+02:00", "updated_at": "2021-04-02T04:19:10+02:00", "name": ".github/workflows/conan_package_tools.yml", "path": ".github/workflows/conan_package_tools.yml", "contents": "on: [push, pull_request, workflow_dispatch]\n\njobs:\n  conan_stable_windows:\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        config:\n          - { name: \"Conan Stable - Python 3.7\", python: 3.7, toxenv: \"py37-conan-latest\", pyver: \"py37\" }\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.config.python }}\n    - name: Setup MSBuild.exe\n      uses: microsoft/setup-msbuild@v1.1\n      with:\n        vs-version: 16.11\n    - name: Install dependencies\n      env:\n        PYVER: ${{ matrix.config.pyver }}\n      run: |\n        .github/workflows/install.bat\n    - name: ${{ matrix.config.name }}\n      env:\n        CONAN_VISUAL_VERSIONS: 17\n        PYVER: ${{ matrix.config.pyver }}\n      run: |\n        .github/workflows/run.bat\n\n  conan_stable_linux:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        config:\n          - { name: \"Conan Stable - Python 3.7\", python: 3.7, toxenv: \"py37-conan-latest\", pyver: \"py37\" }\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.config.python }}\n    - name: Install dependencies\n      env:\n        PYVER: ${{ matrix.config.pyver }}\n      run: |\n        chmod +x .github/workflows/install.sh\n        .github/workflows/install.sh\n    - name: ${{ matrix.config.name }}\n      env:\n        TOXENV: ${{ matrix.config.toxenv }}\n        PYVER: ${{ matrix.config.pyver }}\n      run: |\n        chmod +x .github/workflows/run.sh\n        .github/workflows/run.sh\n    - name: Codecov\n      run: |\n        bash <(curl -s https://codecov.io/bash)\n\n  conan_stable_osx:\n    runs-on: macos-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        config:\n          - { name: \"Conan Stable - Python 3.7\", python: 3.7, toxenv: \"py37-conan-latest\", pyver: \"py37\" }\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.config.python }}\n    - name: Install dependencies\n      env:\n        PYVER: ${{ matrix.config.pyver }}\n      run: |\n        chmod +x .github/workflows/install.sh\n        .github/workflows/install.sh\n    - name: ${{ matrix.config.name }}\n      env:\n        TOXENV: ${{ matrix.config.toxenv }}\n        PYVER: ${{ matrix.config.pyver }}\n      run: |\n        chmod +x .github/workflows/run.sh\n        .github/workflows/run.sh\n\n  conan_develop_linux:\n    if: github.ref != 'refs/head/master' && !startsWith(github.ref, 'refs/heads/release/') && !startsWith(github.ref, 'refs/tags') \n    runs-on: ubuntu-latest\n    continue-on-error: True\n    strategy:\n      fail-fast: false\n      matrix:\n        config:\n          - { name: \"Conan Develop - Python 3.7\", python: 3.7, toxenv: \"py37-conan-dev\", pyver: \"py37\" }\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.config.python }}\n    - name: Install dependencies\n      env:\n        PYVER: ${{ matrix.config.pyver }}\n      run: |\n        export\n        env\n        chmod +x .github/workflows/install.sh\n        .github/workflows/install.sh\n    - name: ${{ matrix.config.name }}\n      env:\n        TOXENV: ${{ matrix.config.toxenv }}\n        PYVER: ${{ matrix.config.pyver }}\n      run: |\n        chmod +x .github/workflows/run.sh\n        .github/workflows/run.sh\n\n  conan_develop_osx:\n    if: github.ref != 'refs/head/master' && !startsWith(github.ref, 'refs/heads/release/') && !startsWith(github.ref, 'refs/tags') \n    runs-on: macos-latest\n    continue-on-error: True\n    strategy:\n      fail-fast: false\n      matrix:\n        config:\n          - { name: \"Conan Develop - Python 3.7\", python: 3.7, toxenv: \"py37-conan-dev\", pyver: \"py37\" }\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.config.python }}\n    - name: Install dependencies\n      env:\n        PYVER: ${{ matrix.config.pyver }}\n      run: |\n        export\n        env\n        chmod +x .github/workflows/install.sh\n        .github/workflows/install.sh\n    - name: ${{ matrix.config.name }}\n      env:\n        TOXENV: ${{ matrix.config.toxenv }}\n        PYVER: ${{ matrix.config.pyver }}\n      run: |\n        chmod +x .github/workflows/run.sh\n        .github/workflows/run.sh\n\n  deploy_release:\n    if: startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.7\n    - name: Install dependencies\n      run: pip install pygithub\n    - name: Generate changelog\n      run: python .github/deploy/release_changelog.py\n    - name: Generate Dist/\n      run: python setup.py sdist\n    - uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "conan-io/conan-package-tools"}
{"mined_at": "2024-07-15T12:49:26.543405", "created_at": "2022-12-21T16:21:25+01:00", "updated_at": "2022-12-22T12:15:58+01:00", "name": "Changelog", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog\n\non:\n  pull_request:\n    # should also be re-run when changing labels\n    types: [opened, reopened, labeled, unlabeled, synchronize]\n\nenv:\n  FRAGMENT_NAME: \"docs/changes/${{ github.event.number }}.*.rst\"\n\njobs:\n  changelog:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Check for news fragment\n        if: ${{ ! contains( github.event.pull_request.labels.*.name, 'no-changelog-needed')}}\n        uses: andstor/file-existence-action@v3\n        with:\n          files: ${{ env.FRAGMENT_NAME }}\n          fail: true\n", "state": "active", "repository": "cta-observatory/ctapipe"}
{"mined_at": "2024-07-15T12:49:27.543502", "created_at": "2020-11-20T18:29:06+01:00", "updated_at": "2023-10-05T13:30:26+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"**\"\n  pull_request:\n\nenv:\n  NUMBA_NUM_THREADS: 1\n  OMP_NUM_THREADS: 1\n  MKL_NUM_THREADS: 1\n  MPLBACKEND: Agg\n  PYTEST_ADDOPTS: --color=yes\n  GITHUB_PR_NUMBER: ${{ github.event.number }}\n  SONAR_HOST_URL: https://sonar-cta-dpps.zeuthen.desy.de\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Check README syntax\n        run: |\n          pip install restructuredtext-lint\n          restructuredtext-lint README.rst\n      - uses: pre-commit/action@v3.0.1\n        with:\n          extra_args: --files $(git diff origin/main --name-only)\n  tests:\n    runs-on: ${{ matrix.os }}\n    needs: lint\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            install-method: mamba\n\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            install-method: pip\n\n          - os: ubuntu-latest\n            python-version: \"3.11\"\n            install-method: mamba\n\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            install-method: mamba\n            extra-args: [\"codecov\"]\n\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            install-method: pip\n\n          # macos 13 image is x86-based\n          - os: macos-13\n            python-version: \"3.10\"\n            install-method: pip\n\n          # macos 14 image is arm64 based\n          - os: macos-14\n            python-version: \"3.12\"\n            install-method: mamba\n\n    defaults:\n      run:\n        # We need login shells (-l) for micromamba to work.\n        shell: bash -leo pipefail {0}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: cache test data\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/ctapipe\n          key: ctapipe-test-data\n\n      - name: Prepare mamba installation\n        if: matrix.install-method == 'mamba' &&  contains(github.event.pull_request.labels.*.name, 'documentation-only') == false\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n        run: |\n          # setup correct python version\n          sed -i -e \"s/- python=.*/- python=$PYTHON_VERSION/g\" environment.yml\n\n      - name: mamba setup\n        if: matrix.install-method == 'mamba' && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment.yml\n          cache-downloads: true\n\n      - name: Python setup\n        if: matrix.install-method == 'pip' && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          check-latest: true\n\n      - if: matrix.install-method == 'pip' && runner.os == 'macOS' && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false\n        name: Fix Python PATH on macOS\n        # See https://github.com/actions/setup-python/issues/132 and\n        # https://github.com/actions/setup-python/issues/132#issuecomment-779406058\n        # Login shells on macOS prepend system paths, so we need to\n        # prepend the python path from actions/setup-python.\n        # Micromamba sets up ~/.bash_profile, where we need to set the path now.\n        run: |\n          tee -a ~/.bash_profile <<<'export PATH=\"$pythonLocation/bin:$PATH\"'\n\n      - name: Install dependencies\n        if: contains(github.event.pull_request.labels.*.name, 'documentation-only') == false\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n        run: |\n          python --version | grep \"Python ${PYTHON_VERSION}\"\n          pip install -e .[tests]\n          pip install ./test_plugin\n          pip freeze\n          pip list\n\n      - name: ctapipe-info\n        if: contains(github.event.pull_request.labels.*.name, 'documentation-only') == false\n        run: |\n          ctapipe-info --all\n\n      - name: Tests\n        if: contains(github.event.pull_request.labels.*.name, 'documentation-only') == false\n        run: |\n          pytest -n auto --dist loadscope \\\n            --cov --cov-report=xml \\\n            --doctest-modules --doctest-glob='*.rst' \\\n            --ignore=docs/conf.py \\\n            src/ctapipe docs\n\n          ctapipe-info --version\n\n      # check code quality and coverage with SonarScanner\n      - uses: SonarSource/sonarqube-scan-action@v2\n        if: contains(matrix.extra-args, 'codecov') && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false\n        env:\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install doc dependencies\n        run: |\n          sudo apt update --yes && sudo apt install --yes git build-essential pandoc graphviz ffmpeg\n          pip install -U pip towncrier setuptools\n          pip install -e .[docs]\n          pip install ./test_plugin\n          git describe --tags\n          python -c 'import ctapipe; print(ctapipe.__version__)'\n\n      - name: Produce Changelog\n        run: |\n          towncrier build --yes\n\n      - name: Build docs\n        run: make doc\n", "state": "active", "repository": "cta-observatory/ctapipe"}
{"mined_at": "2024-07-15T12:49:28.577806", "created_at": "2020-11-23T11:04:55+01:00", "updated_at": "2021-05-05T09:58:58+02:00", "name": "Deploy to PyPi", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy to PyPi\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      # make sure we have version info\n      - run: git fetch --tags\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install dependencies\n        run: |\n          python --version\n          pip install -U build\n          python -m build\n\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "cta-observatory/ctapipe"}
{"mined_at": "2024-07-15T12:49:29.592404", "created_at": "2020-10-13T14:48:25+02:00", "updated_at": "2020-10-13T14:48:25+02:00", "name": "Release Drafter", "path": ".github/workflows/release_drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - main\n\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next Release notes as Pull Requests are merged into \"master\"\n      - uses: release-drafter/release-drafter@v6\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "cta-observatory/ctapipe"}
{"mined_at": "2024-07-15T12:49:30.582046", "created_at": "2024-07-09T14:50:51+02:00", "updated_at": "2024-07-09T14:50:51+02:00", "name": "Sonar", "path": ".github/workflows/sonar.yml", "contents": null, "state": "active", "repository": "cta-observatory/ctapipe"}
{"mined_at": "2024-07-15T12:49:32.557797", "created_at": "2021-02-01T02:31:59+01:00", "updated_at": "2023-01-20T16:47:06+01:00", "name": "build", "path": ".github/workflows/build.yaml", "contents": "name: build\non:\n  push:\n  pull_request:\n  # build weekly at 4:00 AM UTC\n  schedule:\n    - cron: '0 4 * * 1'\n\njobs:\n  lint:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n    name: \"lint on ${{ matrix.os }} \"\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Identify week number\n        shell: bash\n        run: |\n          date +'%V' > week-number.txt\n          date +'week-number=%V' >> $GITHUB_ENV\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        id: setup-python\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: |\n            .github/workflows/build.yaml\n            setup.cfg\n            setup.py\n            tox.ini\n            week-number.txt\n      - name: Restore cache\n        id: restore-cache\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: |\n            .tox/\n            .venv/\n          key: >\n            lint\n            week=${{ env.week-number }}\n            os=${{ matrix.os }}\n            python=${{ steps.setup-python.outputs.python-version }}\n            hash=${{ hashFiles('.github/workflows/build.yaml', 'tox.ini', 'setup.cfg', 'setup.py') }}\n      - name: Identify venv path\n        shell: bash\n        run: echo 'venv-path=${{ runner.os == 'Windows' && '.venv/Scripts' || '.venv/bin' }}' >> $GITHUB_ENV\n      - name: install tox\n        if: steps.restore-cache.outputs.cache-hit == false\n        run: |\n          python -m venv .venv\n          ${{ env.venv-path }}/pip install --upgrade pip setuptools wheel\n          ${{ env.venv-path }}/pip install tox\n      - name: run mypy\n        run: ${{ env.venv-path }}/tox -e mypy\n\n  test:\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        # we do not want a large number of windows and macos builds, so\n        # enumerate them explicitly\n        include:\n          - os: windows-latest\n            python-version: \"3.12\"\n          - os: macos-latest\n            python-version: \"3.12\"\n    name: \"test py${{ matrix.python-version }} on ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Identify week number\n        shell: bash\n        run: |\n          date +'%V' > week-number.txt\n          date +'week-number=%V' >> $GITHUB_ENV\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: |\n            .github/workflows/build.yaml\n            setup.cfg\n            setup.py\n            tox.ini\n            week-number.txt\n      - name: Restore cache\n        id: restore-cache\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: |\n            .tox\n            .venv\n          key: >\n            test\n            week=${{ env.week-number }}\n            os=${{ matrix.os }}\n            python=${{ steps.setup-python.outputs.python-version }}\n            hash=${{ hashFiles('.github/workflows/build.yaml', 'setup.cfg', 'setup.py', 'tox.ini') }}\n      - name: Identify venv path\n        shell: bash\n        run: echo 'venv-path=${{ runner.os == 'Windows' && '.venv/Scripts' || '.venv/bin' }}' >> $GITHUB_ENV\n      - name: install tox\n        if: steps.restore-cache.outputs.cache-hit == false\n        run: |\n          python -m venv .venv\n          ${{ env.venv-path }}/pip install --upgrade pip setuptools wheel\n          ${{ env.venv-path }}/pip install tox\n      - name: run tests\n        run: ${{ env.venv-path }}/tox -e py\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Identify week number\n        shell: bash\n        run: |\n          date +'%V' > week-number.txt\n          date +'week-number=%V' >> $GITHUB_ENV\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        id: setup-python\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: |\n            .github/workflows/build.yaml\n            setup.cfg\n            setup.py\n            tox.ini\n            week-number.txt\n      - name: Restore cache\n        id: restore-cache\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: |\n            .tox\n            .venv\n          key: >\n            docs\n            week=${{ env.week-number }}\n            python=${{ steps.setup-python.outputs.python-version }}\n            hash=${{ hashFiles('.github/workflows/build.yaml', 'setup.cfg', 'setup.py', 'tox.ini') }}\n      - name: install tox\n        if: steps.restore-cache.outputs.cache-hit == false\n        run: |\n          python -m venv .venv\n          .venv/bin/pip install --upgrade pip setuptools wheel\n          .venv/bin/pip install tox\n      - name: test reference docs generation\n        run: .venv/bin/tox -e reference\n\n  test-package-metadata:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Identify week number\n        shell: bash\n        run: |\n          date +'%V' > week-number.txt\n          date +'week-number=%V' >> $GITHUB_ENV\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        id: setup-python\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: |\n            .github/workflows/build.yaml\n            setup.cfg\n            setup.py\n            tox.ini\n            week-number.txt\n      - name: Restore cache\n        id: restore-cache\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: |\n            .tox\n            .venv\n          key: >\n            test-package-metadata\n            week=${{ env.week-number }}\n            python=${{ steps.setup-python.outputs.python-version }}\n            hash=${{ hashFiles('.github/workflows/build.yaml', 'setup.cfg', 'setup.py', 'tox.ini') }}\n      - name: install tox\n        if: steps.restore-cache.outputs.cache-hit == false\n        run: |\n          python -m venv .venv\n          .venv/bin/pip install --upgrade pip setuptools wheel\n          .venv/bin/pip install tox\n      - name: check package metadata\n        run: .venv/bin/tox -e twine-check\n\n  test-mindeps:\n    runs-on: ubuntu-latest\n    name: \"mindeps\"\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Identify week number\n        shell: bash\n        run: |\n          date +'%V' > week-number.txt\n          date +'week-number=%V' >> $GITHUB_ENV\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        id: setup-python\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          cache-dependency-path: |\n            .github/workflows/build.yaml\n            setup.cfg\n            setup.py\n            tox.ini\n            week-number.txt\n      - name: Restore cache\n        id: restore-cache\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: |\n            .tox\n            .venv\n          key: >\n            test-mindeps\n            week=${{ env.week-number }}\n            python=${{ steps.setup-python.outputs.python-version }}\n            hash=${{ hashFiles('.github/workflows/build.yaml', 'setup.cfg', 'setup.py', 'tox.ini') }}\n      - name: install tox\n        if: steps.restore-cache.outputs.cache-hit == false\n        run: |\n          python -m venv .venv\n          .venv/bin/pip install --upgrade pip setuptools wheel\n          .venv/bin/pip install tox\n      - name: test\n        run: .venv/bin/tox -e py-mindeps\n\n  test-sdk-main:\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.12\"]\n    runs-on: ubuntu-latest\n    name: \"sdk-main\"\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Identify week number\n        shell: bash\n        run: |\n          date +'%V' > week-number.txt\n          date +'week-number=%V' >> $GITHUB_ENV\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: |\n            .github/workflows/build.yaml\n            setup.cfg\n            setup.py\n            tox.ini\n            week-number.txt\n      - name: Restore cache\n        id: restore-cache\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: |\n            .tox\n            .venv\n          key: >\n            test-sdk-main\n            week=${{ env.week-number }}\n            python=${{ steps.setup-python.outputs.python-version }}\n            hash=${{ hashFiles('.github/workflows/build.yaml', 'setup.cfg', 'setup.py', 'tox.ini') }}\n      - name: install tox\n        if: steps.restore-cache.outputs.cache-hit == false\n        run: |\n          python -m venv .venv\n          .venv/bin/pip install --upgrade pip setuptools wheel\n          .venv/bin/pip install tox\n      - run: .venv/bin/tox -e py-sdkmain\n", "state": "active", "repository": "globus/globus-cli"}
{"mined_at": "2024-07-15T12:49:33.702359", "created_at": "2020-09-24T20:04:22+02:00", "updated_at": "2020-09-24T20:11:55+02:00", "name": "Build Docs", "path": ".github/workflows/docs.yaml", "contents": "# build and release new docs as a release asset\nname: Build Docs\non:\n  release:\n    types: [created]\njobs:\n  doc:\n    name: Build Docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Setup Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.12\"\n      - name: Install CLI\n        run: |\n          python -m pip install -e .\n      - name: Generate Autodoc\n        run: |\n          ./reference/_generate.py --debug\n          # bundle as tarball without the _generate.py script or .gitignore\n          # use `-h` to dereference the changelog link\n          tar --exclude \"*.py\" --exclude '.gitignore' -czf cli-reference.tar.gz -h reference/\n      # upload as a release asset\n      - name: Upload Autodoc\n        env:\n          GH_TOKEN: ${{ github.token }}\n          GH_REPO: ${{ github.repository }}\n        run: gh release upload \"${{ github.ref_name }}\" cli-reference.tar.gz\n", "state": "active", "repository": "globus/globus-cli"}
{"mined_at": "2024-07-15T12:49:34.739247", "created_at": "2021-10-06T23:03:41+02:00", "updated_at": "2021-10-07T17:21:56+02:00", "name": "has_changelog", "path": ".github/workflows/has_changelog.yaml", "contents": "name: has_changelog\non:\n  pull_request:\n    types:\n      - labeled\n      - unlabeled\n      - opened\n      - reopened\n      - synchronize\n\njobs:\n  check_has_news_in_changelog_dir:\n    if: |\n      ! (\n        contains(github.event.pull_request.labels.*.name, 'no-news-is-good-news') ||\n        github.event.pull_request.user.login == 'pre-commit-ci[bot]' ||\n        github.event.pull_request.user.login == 'dependabot[bot]'\n      )\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:  # do a deep fetch to allow merge-base and diff\n          fetch-depth: 0\n      - name: check PR adds a news file\n        run: |\n          news_files=\"$(git diff --name-only \"$(git merge-base origin/main \"$GITHUB_SHA\")\" \"$GITHUB_SHA\" -- changelog.d/*.md)\"\n          if [ -n \"$news_files\" ]; then\n            echo \"Saw new files. changelog.d:\"\n            echo \"$news_files\"\n          else\n            echo \"No news files seen\"\n            exit 1\n          fi\n", "state": "active", "repository": "globus/globus-cli"}
{"mined_at": "2024-07-15T12:49:35.826192", "created_at": "2023-03-07T23:01:02+01:00", "updated_at": "2023-03-07T23:01:02+01:00", "name": "Publish PyPI Release", "path": ".github/workflows/publish_to_pypi.yaml", "contents": "name: Publish PyPI Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  build-dists:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.12\"\n\n      - run: python -m pip install build\n\n      - name: Build Dists\n        run: python -m build .\n\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: packages\n          path: dist/*\n\n  publish_pypi:\n    needs: [build-dists]\n    runs-on: ubuntu-latest\n    environment: publish-pypi\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: packages\n          path: dist\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n", "state": "active", "repository": "globus/globus-cli"}
{"mined_at": "2024-07-15T12:49:36.990864", "created_at": "2023-03-07T23:01:02+01:00", "updated_at": "2023-03-07T23:01:02+01:00", "name": "Publish Test PyPI Release", "path": ".github/workflows/publish_to_test_pypi.yaml", "contents": "name: Publish Test PyPI Release\n\non:\n  push:\n    tags: [\"*\"]\n\njobs:\n  build-dists:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.12\"\n\n      - run: python -m pip install build\n\n      - name: Set dev version prior to upload\n        run: python ./scripts/set_dev_version.py\n\n      - name: Build Dists\n        run: python -m build .\n\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: packages\n          path: dist/*\n\n  publish:\n    needs: [build-dists]\n    runs-on: ubuntu-latest\n    environment: publish-test-pypi\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: packages\n          path: dist\n\n      - name: Publish to TestPyPI\n        uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "globus/globus-cli"}
{"mined_at": "2024-07-15T12:49:39.134907", "created_at": "2020-09-09T22:58:33+02:00", "updated_at": "2020-09-09T22:58:33+02:00", "name": "anisble-lint-workflow", "path": ".github/workflows/ansible-lint-workflow.yml", "contents": "name: anisble-lint-workflow\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - master\n\nenv:\n  # Global env vars used on all jobs\n  REPO_URL: 'https://github.com/rcbops/rpc-maas'\n  RE_JOB_BRANCH: ${{ github.event.pull_request.head.sha }}\n  RE_JOB_ACTION: 'tox-test'\n\n# Per-Job env var info:\n#   RE_JOB_SCENARIO: 'Linting scenarios used by rpc-maas test scripts. Values(ansible-lint,ansible-syntax,bandit,bashate,docs,pep8,releasenotes)'\n\njobs:\n\n  ansible-lint:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Cancel Previous Runs\n      uses: styfle/cancel-workflow-action@0.5.0\n      with:\n        access_token: ${{ github.token }}\n\n    - name: Check out the repo on the runner's workspace\n      uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n\n    - name: Run the tox test for this scenario\n      run: ./gating/github_action_scripts/linting_run.sh\n      env:\n        RE_JOB_SCENARIO: \"ansible-lint\"\n\n", "state": "active", "repository": "rcbops/rpc-maas"}
{"mined_at": "2024-07-15T12:49:40.358697", "created_at": "2020-09-09T22:58:33+02:00", "updated_at": "2020-09-09T22:58:33+02:00", "name": "anisble-syntax-workflow", "path": ".github/workflows/ansible-syntax-workflow.yml", "contents": "name: anisble-syntax-workflow\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - master\n\nenv:\n  # Global env vars used on all jobs\n  REPO_URL: 'https://github.com/rcbops/rpc-maas'\n  RE_JOB_BRANCH: ${{ github.event.pull_request.head.sha }}\n  RE_JOB_ACTION: 'tox-test'\n\n# Per-Job env var info:\n#   RE_JOB_SCENARIO: 'Linting scenarios used by rpc-maas test scripts. Values(ansible-lint,ansible-syntax,bandit,bashate,docs,pep8,releasenotes)'\n\njobs:\n\n  ansible-syntax:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Cancel Previous Runs\n      uses: styfle/cancel-workflow-action@0.5.0\n      with:\n        access_token: ${{ github.token }}\n\n    - name: Check out the repo on the runner's workspace\n      uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n\n    - name: Run the tox test for this scenario\n      run: ./gating/github_action_scripts/linting_run.sh\n      env:\n        RE_JOB_SCENARIO: \"ansible-syntax\"\n\n", "state": "active", "repository": "rcbops/rpc-maas"}
{"mined_at": "2024-07-15T12:49:41.387771", "created_at": "2020-09-09T22:58:33+02:00", "updated_at": "2020-09-09T22:58:33+02:00", "name": "bandit-workflow", "path": ".github/workflows/bandit-workflow.yml", "contents": "name: bandit-workflow\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - master\n\nenv:\n  # Global env vars used on all jobs\n  REPO_URL: 'https://github.com/rcbops/rpc-maas'\n  RE_JOB_BRANCH: ${{ github.event.pull_request.head.sha }}\n  RE_JOB_ACTION: 'tox-test'\n\n# Per-Job env var info:\n#   RE_JOB_SCENARIO: 'Linting scenarios used by rpc-maas test scripts. Values(ansible-lint,ansible-syntax,bandit,bashate,docs,pep8,releasenotes)'\n\njobs:\n\n  bandit:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Cancel Previous Runs\n      uses: styfle/cancel-workflow-action@0.5.0\n      with:\n        access_token: ${{ github.token }}\n\n    - name: Check out the repo on the runner's workspace\n      uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n\n    - name: Run the tox test for this scenario\n      run: ./gating/github_action_scripts/linting_run.sh\n      env:\n        RE_JOB_SCENARIO: \"bandit\"\n\n", "state": "active", "repository": "rcbops/rpc-maas"}
{"mined_at": "2024-07-15T12:49:42.506022", "created_at": "2020-09-09T22:58:33+02:00", "updated_at": "2020-09-09T22:58:33+02:00", "name": "bashate-workflow", "path": ".github/workflows/bashate-workflow.yml", "contents": "name: bashate-workflow\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - master\n\nenv:\n  # Global env vars used on all jobs\n  REPO_URL: 'https://github.com/rcbops/rpc-maas'\n  RE_JOB_BRANCH: ${{ github.event.pull_request.head.sha }}\n  RE_JOB_ACTION: 'tox-test'\n\n# Per-Job env var info:\n#   RE_JOB_SCENARIO: 'Linting scenarios used by rpc-maas test scripts. Values(ansible-lint,ansible-syntax,bandit,bashate,docs,pep8,releasenotes)'\n\njobs:\n\n  bashate:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Cancel Previous Runs\n      uses: styfle/cancel-workflow-action@0.5.0\n      with:\n        access_token: ${{ github.token }}\n\n    - name: Check out the repo on the runner's workspace\n      uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n\n    - name: Run the tox test for this scenario\n      run: ./gating/github_action_scripts/linting_run.sh\n      env:\n        RE_JOB_SCENARIO: \"bashate\"\n\n", "state": "active", "repository": "rcbops/rpc-maas"}
{"mined_at": "2024-07-15T12:49:43.521976", "created_at": "2020-09-08T17:27:44+02:00", "updated_at": "2020-09-08T17:27:44+02:00", "name": "bionic-train-workflow", "path": ".github/workflows/bionic-train-workflow.yml", "contents": null, "state": "active", "repository": "rcbops/rpc-maas"}
{"mined_at": "2024-07-15T12:49:44.658367", "created_at": "2020-09-09T22:58:33+02:00", "updated_at": "2020-09-09T22:58:33+02:00", "name": "docs-workflow", "path": ".github/workflows/docs-workflow.yml", "contents": "name: docs-workflow\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - master\n\nenv:\n  # Global env vars used on all jobs\n  REPO_URL: 'https://github.com/rcbops/rpc-maas'\n  RE_JOB_BRANCH: ${{ github.event.pull_request.head.sha }}\n  RE_JOB_ACTION: 'tox-test'\n\n# Per-Job env var info:\n#   RE_JOB_SCENARIO: 'Linting scenarios used by rpc-maas test scripts. Values(ansible-lint,ansible-syntax,bandit,bashate,docs,pep8,releasenotes)'\n\njobs:\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Cancel Previous Runs\n      uses: styfle/cancel-workflow-action@0.5.0\n      with:\n        access_token: ${{ github.token }}\n\n    - name: Check out the repo on the runner's workspace\n      uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n\n    - name: Run the tox test for this scenario\n      run: ./gating/github_action_scripts/linting_run.sh\n      env:\n        RE_JOB_SCENARIO: \"docs\"\n\n", "state": "active", "repository": "rcbops/rpc-maas"}
{"mined_at": "2024-07-15T12:49:45.645563", "created_at": "2020-09-08T17:27:44+02:00", "updated_at": "2020-09-08T17:27:44+02:00", "name": "rpc-maas-osp13-pr-workflow", "path": ".github/workflows/osp13-workflow.yml", "contents": null, "state": "active", "repository": "rcbops/rpc-maas"}
{"mined_at": "2024-07-15T12:49:46.700226", "created_at": "2020-09-09T22:58:33+02:00", "updated_at": "2020-09-09T22:58:33+02:00", "name": "pep8-workflow", "path": ".github/workflows/pep8-workflow.yml", "contents": "name: pep8-workflow\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - master\n\nenv:\n  # Global env vars used on all jobs\n  REPO_URL: 'https://github.com/rcbops/rpc-maas'\n  RE_JOB_BRANCH: ${{ github.event.pull_request.head.sha }}\n  RE_JOB_ACTION: 'tox-test'\n\n# Per-Job env var info:\n#   RE_JOB_SCENARIO: 'Linting scenarios used by rpc-maas test scripts. Values(ansible-lint,ansible-syntax,bandit,bashate,docs,pep8,releasenotes)'\n\njobs:\n\n  pep8:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Cancel Previous Runs\n      uses: styfle/cancel-workflow-action@0.5.0\n      with:\n        access_token: ${{ github.token }}\n\n    - name: Check out the repo on the runner's workspace\n      uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n\n    - name: Run the tox test for this scenario\n      run: ./gating/github_action_scripts/linting_run.sh\n      env:\n        RE_JOB_SCENARIO: \"pep8\"\n\n", "state": "active", "repository": "rcbops/rpc-maas"}
{"mined_at": "2024-07-15T12:49:47.759779", "created_at": "2020-09-09T22:58:33+02:00", "updated_at": "2020-09-09T22:58:33+02:00", "name": "releasenotes-workflow", "path": ".github/workflows/releasenotes-workflow.yml", "contents": "name: releasenotes-workflow\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - master\n\nenv:\n  # Global env vars used on all jobs\n  REPO_URL: 'https://github.com/rcbops/rpc-maas'\n  RE_JOB_BRANCH: ${{ github.event.pull_request.head.sha }}\n  RE_JOB_ACTION: 'tox-test'\n\n# Per-Job env var info:\n#   RE_JOB_SCENARIO: 'Linting scenarios used by rpc-maas test scripts. Values(ansible-lint,ansible-syntax,bandit,bashate,docs,pep8,releasenotes)'\n\njobs:\n\n  releasenotes:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Cancel Previous Runs\n      uses: styfle/cancel-workflow-action@0.5.0\n      with:\n        access_token: ${{ github.token }}\n\n    - name: Check out the repo on the runner's workspace\n      uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n\n    - name: Run the tox test for this scenario\n      run: ./gating/github_action_scripts/linting_run.sh\n      env:\n        RE_JOB_SCENARIO: \"releasenotes\"\n\n", "state": "active", "repository": "rcbops/rpc-maas"}
{"mined_at": "2024-07-15T12:49:49.780584", "created_at": "2022-12-14T12:46:31+01:00", "updated_at": "2023-03-13T17:50:57+01:00", "name": "Platform Build", "path": ".github/workflows/build-images.yml", "contents": "name: Platform Build\n\non:\n  workflow_dispatch:\n    inputs:\n      docker_push:\n        description: 'Push the docker image to dockerhub and outout reference'\n        required: true\n        default: false\n        type: boolean\n      ignore_unfixed:\n        description: 'Include unfixed vulnerabilities in scan [true,false]'\n        required: true\n        default: true\n        type: boolean\n      cve_severity:\n        description: 'Severities of vulnerabilities to scanned for [LOW, MEDIUM, HIGH, CRITICAL, SKIP]'\n        required: false\n        default: 'CRITICAL,HIGH'\n      oasislmf_branch:\n        description: 'If set, pip install oasislmf branch [git ref]'\n        required: false\n        type: string\n      ods_branch:\n        description: 'If set, pip install ods-tools branch [git ref]'\n        required: false\n        type: string\n\n  workflow_call:\n    inputs:\n      docker_push:\n        description: 'Push the docker image to dockerhub and outout reference'\n        required: true\n        default: 'false'\n        type: string\n      ignore_unfixed:\n        description: 'Include unfixed vulnerabilities in scan [true,false]'\n        required: true\n        default: 'true'\n        type: string\n      cve_severity:\n        description: 'Severities of vulnerabilities to scanned for, fails build if any found'\n        required: false\n        default: 'CRITICAL,HIGH'\n        type: string\n      oasislmf_branch:\n        description: 'If set, pip install oasislmf branch [git ref]'\n        required: false\n        type: string\n      ods_branch:\n        description: 'If set, pip install ods-tools branch [git ref]'\n        required: false\n        type: string\n\n    outputs:\n      server_image:\n        description:\n        value:  'coreoasis/github-actions:api_server-${{ github.sha }}'\n      worker_image:\n        description:\n        value:  'coreoasis/github-actions:model_worker-${{ github.sha }}'\n      worker_deb_image:\n        description:\n        value:  'coreoasis/github-actions:model_worker_deb-${{ github.sha }}'\n      worker_controller_image:\n        description:\n        value:  'coreoasis/github-actions:worker_controller-${{ github.sha }}'\n\nenv:\n  # inputs\n  DOCKER_PUSH: 'false'\n  IGNORE_UNFIXED: 'true'\n  SEVERITY: 'CRITICAL,HIGH'\n  IMAGE_REPO: 'coreoasis/github-actions'\n\njobs:\n  build:\n    name: Docker build\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        image: [worker, worker_deb, server, worker_controller]\n        include:\n\n        - image: server\n          tag: 'api_server-${{ github.sha }}'\n          file: 'Dockerfile.api_server'\n          report: 'server-scan.sarif'\n          dive: 'server-layers.txt'\n          exit-code: '1'\n          context: '.'\n\n        - image: worker\n          tag: 'model_worker-${{ github.sha }}'\n          file: 'Dockerfile.model_worker'\n          report: 'worker-scan.sarif'\n          dive: 'worker-layers.txt'\n          exit-code: '1'\n          context: '.'\n\n        - image: worker_deb\n          tag:  'model_worker_deb-${{ github.sha }}'\n          file: 'Dockerfile.model_worker_debian'\n          report: 'worker-deb-scan.sarif'\n          dive: 'worker-deb-layers.txt'\n          exit-code: '0' # scan but don't fail\n          context: '.'\n\n        - image: worker_controller\n          tag:  'worker_controller-${{ github.sha }}'\n          file: 'kubernetes/worker-controller/Dockerfile'\n          report: 'worker-controller-scan.sarif'\n          dive: 'worker-controller-layers.txt'\n          exit-code: '1'\n          context: 'kubernetes/worker-controller/'\n\n    steps:\n    - name: Set inputs ${{ github.event_name }}\n      run: |\n         [[ -z \"${{ inputs.cve_severity }}\" ]] || echo \"SEVERITY=${{ inputs.cve_severity }}\" >> $GITHUB_ENV\n         [[ -z \"${{ inputs.docker_push }}\" ]] || echo \"DOCKER_PUSH=${{ inputs.docker_push }}\" >> $GITHUB_ENV\n         [[ -z \"${{ inputs.ignore_unfixed }}\" ]] || echo \"IGNORE_UNFIXED=${{ inputs.ignore_unfixed }}\" >> $GITHUB_ENV\n\n    - name: Github context\n      run:   echo \"$GITHUB_CONTEXT\"\n      shell: bash\n      env:\n       GITHUB_CONTEXT: ${{ toJson(github) }}\n\n    - uses: actions/checkout@v3\n      with:\n        ref: ${{ github.ref }}\n\n    - name: Login to Docker Hub\n      if: env.DOCKER_PUSH == 'true'\n      uses: docker/login-action@v2\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v2\n\n    - name: Docker Build ${{ matrix.image }}\n      uses: docker/build-push-action@v3\n      with:\n        file: ${{ matrix.file }}\n        context: ${{ matrix.context }}\n        push: ${{ env.DOCKER_PUSH }}\n        tags: ${{ env.IMAGE_REPO }}:${{ matrix.tag }}\n        build-args: |\n          oasislmf_branch=${{ inputs.oasislmf_branch }}\n          ods_tools_branch=${{ inputs.ods_branch }}\n\n    - name: Test image efficiency\n      if: env.SEVERITY != 'SKIP'\n      run: |\n        ./scripts/imagesize.sh ${{ env.IMAGE_REPO }}:${{ matrix.tag }} ${{ matrix.dive }}\n      env:\n        DIVE_HIGHEST_USER_WASTED: '0.20'\n        DIVE_HIGHEST_WASTED_BYTES: '50mb'\n        DIVE_LOWSET_EFFICIENCY: '0.95'\n\n    - name: Store image size report\n      if: success() || failure()\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ matrix.dive }}\n        path: ${{ matrix.dive }}\n        retention-days: 3\n\n    - name: Vulnerability scanner\n      if: env.SEVERITY != 'SKIP'\n      uses: aquasecurity/trivy-action@master\n      with:\n        image-ref: ${{ env.IMAGE_REPO }}:${{ matrix.tag }}\n        scan-type: 'image'\n        exit-code: ${{ matrix.exit-code }}\n        ignore-unfixed: ${{ env.IGNORE_UNFIXED }}\n        severity: ${{ env.SEVERITY }}\n        scanners: 'vuln'\n\n    - name: Create Report\n      if: ( success() || failure() ) && env.SEVERITY != 'SKIP' && matrix.exit-code == '1'\n      uses: aquasecurity/trivy-action@master\n      with:\n        image-ref: ${{ env.IMAGE_REPO }}:${{ matrix.tag }}\n        format: 'sarif'\n        output: ${{ matrix.report }}\n        scan-type: 'image'\n        exit-code: '0'\n        ignore-unfixed: ${{ env.IGNORE_UNFIXED }}\n        severity: ${{ env.SEVERITY }}\n        scanners: 'vuln'\n\n    - name: Upload scan results to Security tab\n      if: ( success() || failure() ) && env.SEVERITY != 'SKIP' && matrix.exit-code == '1'\n      uses: github/codeql-action/upload-sarif@v2\n      with:\n        sarif_file:  ${{ matrix.report }}\n\n    - name: Store CVE report\n      if: success() || failure() && env.SEVERITY != 'SKIP'\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ matrix.report }}\n        path: ${{ matrix.report }}\n        retention-days: 3\n\n    - name: Docker summary\n      if: env.DOCKER_PUSH == 'true'\n      run: |\n        echo \"#### Docker Image: \" >> $GITHUB_STEP_SUMMARY\n        echo \"* [${{ env.IMAGE_REPO }}:${{ matrix.tag }}](https://hub.docker.com/r/${{ env.IMAGE_REPO }}/tags?name=${{ matrix.tag }})\" >> $GITHUB_STEP_SUMMARY\n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:49:50.917535", "created_at": "2022-11-14T17:27:05+01:00", "updated_at": "2023-05-11T08:34:15+02:00", "name": "Platform Schema (OpenAPI)", "path": ".github/workflows/build-schema.yml", "contents": "name: Platform Schema (OpenAPI)\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n      - stable**\n  workflow_dispatch:\n    inputs:\n      ods_branch:\n        description: 'If set, pip install ods-tools branch [git ref]'\n        required: false\n  workflow_call:\n    inputs:\n      ods_branch:\n        description: 'If set, pip install ods-tools branch [git ref]'\n        required: false\n        type: string\n\njobs:\n  ods_tools:\n    if: ${{ github.event_name != 'workflow_dispatch' }}\n    uses: OasisLMF/ODS_Tools/.github/workflows/build.yml@main\n    secrets: inherit\n    with:\n      ods_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.ods_branch }}\n\n  schema:\n    if: ${{ ! failure() || ! cancelled() }}\n    needs: ods_tools\n    env:\n      SCHEMA_ALL: 'reports/openapi-schema.json'\n      SCHEMA_V1: 'reports/v1-openapi-schema.json'\n      SCHEMA_V2: 'reports/v2-openapi-schema.json'\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Install requirments\n      run: pip install -r requirements-server.txt\n\n    - name: Download package\n      if: needs.ods_tools.outputs.whl_filename != ''\n      uses: actions/download-artifact@v3\n      with:\n        name: bin_package\n        path: ${{ github.workspace }}/\n\n    - name: Install package\n      if: needs.ods_tools.outputs.whl_filename != ''\n      run: |\n        pip uninstall ods-tools -y\n        pip install ${{ needs.ods_tools.outputs.whl_filename }}\n\n    - name: Generate OpenAPI\n      run: |\n        test -d $(dirname ${{ env.SCHEMA_ALL }}) || mkdir -p $(dirname ${{ env.SCHEMA_ALL }})\n        python ./manage.py migrate\n        python ./manage.py generate_swagger ${{ env.SCHEMA_ALL }}\n\n    - name: Generate OpenAPI (only v1)\n      run: |\n        test -d $(dirname ${{ env.SCHEMA_V1 }}) || mkdir -p $(dirname ${{ env.SCHEMA_V1 }})\n        python ./manage.py migrate\n        python ./manage.py generate_swagger ${{ env.SCHEMA_V1 }}\n      env:\n        OASIS_GEN_SWAGGER_V1: 1\n\n    - name: Generate OpenAPI (only v2)\n      run: |\n        test -d $(dirname ${{ env.SCHEMA_V2 }}) || mkdir -p $(dirname ${{ env.SCHEMA_V2 }})\n        python ./manage.py migrate\n        python ./manage.py generate_swagger ${{ env.SCHEMA_V2 }}\n      env:\n        OASIS_GEN_SWAGGER_V2: 1\n\n    - name: Store OpenAPI schema\n      uses: actions/upload-artifact@v3\n      with:\n        name: openapi-schema\n        path: ${{ env.SCHEMA_ALL }}\n        retention-days: 3\n\n    - name: Store OpenAPI schema (only v1)\n      uses: actions/upload-artifact@v3\n      with:\n        name: v1-openapi-schema\n        path: ${{ env.SCHEMA_V1 }}\n        retention-days: 3\n\n    - name: Store OpenAPI schema (only v2)\n      uses: actions/upload-artifact@v3\n      with:\n        name: v2-openapi-schema\n        path: ${{ env.SCHEMA_V2 }}\n        retention-days: 3\n\n    - name: Test Schema\n      run: ./scripts/build-maven.sh $(cat VERSION)\n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:49:52.032449", "created_at": "2022-12-06T10:21:20+01:00", "updated_at": "2023-01-30T15:06:11+01:00", "name": "Code Quality", "path": ".github/workflows/code-quality.yml", "contents": "# This workflow performs code quality checks like:\n#   - PEP8: the workflow fails if code is not PEP8 compliant\n#   - flake8: the problems identified by flake 8 are listed but the workflow\n#             presently doesn't fail if flake reports errors.\n\nname: Code Quality\n\non: [push, pull_request]\n\nenv:\n  max_line_length: 150\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python \n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: install pip tools\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade pip-tools\n\n      - name: install code quality tools\n        run: pip install --upgrade autopep8 flake8\n\n      - name: Run (partial) flake8\n        if: ${{ ! cancelled() }}\n        run: flake8 --select F401,F522,F524,F541 --show-source src/ --config tox.ini\n\n      - name: check PEP8 compliance\n        if: ${{ ! cancelled() }}\n        id: autopep8\n        run: |\n          autopep8 --diff --exit-code --recursive --max-line-length ${{ env.max_line_length }} --ignore E402 .\n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:49:53.178663", "created_at": "2024-03-22T11:29:35+01:00", "updated_at": "2024-05-23T10:52:58+02:00", "name": ".github/workflows/minikube-cicd.yml", "path": ".github/workflows/minikube-cicd.yml", "contents": "", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:49:54.226439", "created_at": "2023-01-09T16:06:17+01:00", "updated_at": "2023-01-09T16:39:17+01:00", "name": "Add PR to project", "path": ".github/workflows/project-PR.yml", "contents": "name: Add PR to project\non:\n  pull_request:\n    types:\n      - opened\njobs:\n  track_pr:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get project data\n        env:\n          GITHUB_TOKEN: ${{ secrets.PROJECT_ACCESS_TOKEN }}\n          ORGANIZATION: Oasislmf\n          PROJECT_NUMBER: 44\n        run: |\n          gh api graphql -f query='\n            query($org: String!, $number: Int!) {\n              organization(login: $org){\n                projectV2(number: $number) {\n                  id\n                  fields(first:20) {\n                    nodes {\n                      ... on ProjectV2Field {\n                        id\n                        name\n                      }\n                      ... on ProjectV2SingleSelectField {\n                        id\n                        name\n                        options {\n                          id\n                          name\n                        }\n                      }\n                    }\n                  }\n                }\n              }\n            }' -f org=$ORGANIZATION -F number=$PROJECT_NUMBER > project_data.json\n\n          echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV\n                    \n      - name: Add PR to project\n        env:\n          GITHUB_TOKEN: ${{ secrets.PROJECT_ACCESS_TOKEN }}\n          PR_ID: ${{ github.event.pull_request.node_id }}\n        run: |\n          item_id=\"$( gh api graphql -f query='\n            mutation($project:ID!, $pr:ID!) {\n              addProjectV2ItemById(input: {projectId: $project, contentId: $pr}) {\n                item {\n                  id\n                }\n              }\n            }' -f project=$PROJECT_ID -f pr=$PR_ID --jq '.data.addProjectV2ItemById.projectV2Item.id')\"          \n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:49:55.263213", "created_at": "2023-01-09T16:39:17+01:00", "updated_at": "2023-01-09T16:39:17+01:00", "name": "Add issue to project", "path": ".github/workflows/project-issue.yml", "contents": "name: Add issue to project\non:\n  issues:\n    types:\n      - opened\njobs:\n  track_issue:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get project data\n        env:\n          GITHUB_TOKEN: ${{ secrets.PROJECT_ACCESS_TOKEN }}\n          ORGANIZATION: Oasislmf\n          PROJECT_NUMBER: 44\n        run: |\n          gh api graphql -f query='\n            query($org: String!, $number: Int!) {\n              organization(login: $org){\n                projectV2(number: $number) {\n                  id\n                  fields(first:20) {\n                    nodes {\n                      ... on ProjectV2Field {\n                        id\n                        name\n                      }\n                      ... on ProjectV2SingleSelectField {\n                        id\n                        name\n                        options {\n                          id\n                          name\n                        }\n                      }\n                    }\n                  }\n                }\n              }\n            }' -f org=$ORGANIZATION -F number=$PROJECT_NUMBER > project_data.json\n\n          echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV\n                    \n      - name: Add issue to project\n        env:\n          GITHUB_TOKEN: ${{ secrets.PROJECT_ACCESS_TOKEN }}\n          ISSUE_ID: ${{ github.event.issue.node_id }}\n        run: |\n          item_id=\"$( gh api graphql -f query='\n            mutation($project:ID!, $issue:ID!) {\n              addProjectV2ItemById(input: {projectId: $project, contentId: $issue}) {\n                item {\n                  id\n                }\n              }\n            }' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectV2ItemById.projectV2Item.id')\"   \n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:49:56.264534", "created_at": "2022-11-14T11:13:29+01:00", "updated_at": "2024-05-30T15:03:08+02:00", "name": "Platform Release", "path": ".github/workflows/publish.yml", "contents": "name: Platform Release\n\non:\n  workflow_dispatch:\n    inputs:\n      push_latest:\n        description: 'Push images with the \"latest\" tag'\n        required: false\n        type: boolean\n\n      pre_release:\n        description: 'Mark GitHub release as pre-release: [true, false]'\n        required: true\n        type: boolean\n\n      release_tag:\n        description: 'Release tag, for release: [{n}.{n}.{n}] e.g. 3.0.0,  for Pre-Release  [{n}.{n}.{n}rc{n}]'\n        required: true\n\n      prev_release_tag:\n        description: '(OVERRIDE) The previous release version for changelog [semvar]'\n        required: false\n\n      piwind_branch:\n        description: 'Branch to build piwind from'\n        default: 'main'\n        required: true\n\n      oasislmf_release:\n        description: '(OVERRIDE) The oasislmf version in this release [semvar]'\n        required: false\n\n      ods_tools_release:\n        description: '(OVERRIDE) The ods-tools version in this release [semvar]'\n        required: false\n\n      ktools_release:\n        description: '(OVERRIDE) The ktools version in this release [semvar] \"v{n}.{n}.{n}\"'\n        required: false\n\n      cve_severity:\n        description: 'Severities of vulnerabilities to scanned for, fails build if any found'\n        required: false\n        default: 'CRITICAL,HIGH'\n        type: string\n\n\njobs:\n  update:\n    uses: ./.github/workflows/version.yml\n    secrets: inherit\n    with:\n      platform_version: ${{ inputs.release_tag }}\n      oasislmf_version: ${{ inputs.oasislmf_release }}\n      ods_tools_version: ${{ inputs.ods_tools_release }}\n\n  build_schema:\n    uses: ./.github/workflows/build-schema.yml\n    secrets: inherit\n    needs: update\n\n\n  build_images:\n    uses: ./.github/workflows/build-images.yml\n    secrets: inherit\n    needs: update\n    with:\n      docker_push: true\n      ignore_unfixed: true\n      cve_severity: ${{ inputs.cve_severity }}\n\n\n  build_piwind:\n    uses: OasisLMF/OasisPiWind/.github/workflows/build.yml@main\n    secrets: inherit\n    needs: build_images\n    with:\n      docker_push: true\n      from_image: ${{ needs.build_images.outputs.worker_image }}\n      piwind_branch: ${{ inputs.piwind_branch }}\n\n\n  release:\n    runs-on: ubuntu-latest\n    needs: [build_images, build_schema, build_piwind]\n    outputs:\n      heading: ${{ steps.slack_vars.outputs.heading }}\n      title: ${{ steps.slack_vars.outputs.title }}\n      build_branch: ${{ steps.slack_vars.outputs.branch }}\n      run_url: ${{ steps.slack_vars.outputs.run_url }}\n      run_id: ${{ steps.slack_vars.outputs.run_id }}\n      run_status: ${{ steps.slack_vars.outputs.run_status }}\n      run_date: ${{ steps.slack_vars.outputs.run_date }}\n\n\n    env:\n      pre_release: ${{ inputs.pre_release == '' && 'false' || inputs.pre_release }}\n      push_latest: ${{ inputs.push_latest == '' && 'false' || inputs.push_latest }}\n      latest_tag: 'latest'\n\n      release_tag: ${{ inputs.release_tag }}\n      prev_release_tag: ${{ inputs.prev_release_tag }}\n\n      oasislmf_release: ${{ inputs.oasislmf_release }}\n      ods_tools_release: ${{ inputs.ods_tools_release }}\n      ktools_release: ${{ inputs.ktools_release }}\n\n      dir_platform: ${{ github.workspace }}/platform\n      dir_oasislmf: ${{ github.workspace }}/oasislmf\n      dir_ods_tools: ${{ github.workspace }}/ods_tools\n      dir_ktools: ${{ github.workspace }}/ktools\n\n      branch_platform: ${{ github.ref_name }}\n      branch_oasislmf: 'main'\n      branch_ods_tools: 'main'\n      branch_ktools: 'master'\n\n    steps:\n     ## RELEASE CHECKS\n    - name: check branchname is valid for release\n      if: ${{ !startsWith(github.ref_name , 'release/') && !startsWith(github.ref_name, 'stable/') }}\n      run: |\n        echo \"Releases must be trigged on branchs 'release/x.x.x' or 'stable/x.x.x' \"\n        exit 1\n\n    - name: Check tag is valid for release\n      if: env.pre_release == 'false'\n      run: |\n        VALID=$(echo ${{ env.release_tag }} | grep -oPc \"^(\\d+)\\.(\\d+)\\.(\\d+)$\")\n        if [[ ! \"$VALID\" == 1 ]]; then\n            echo \"Release Tag ${{ env.release_tag }} is not valid\"\n            exit 1\n        fi\n\n    - name: Check tag is valid for pre-release\n      if: env.pre_release == 'true'\n      run: |\n        VALID=$(echo ${{ env.release_tag }} | grep -oPc \"^(\\d+)\\.(\\d+)\\.(\\d+)rc(\\d+)$\")\n        if [[ ! \"$VALID\" == 1 ]]; then\n            echo \"Release Tag ${{ env.release_tag }} is not valid\"\n            exit 1\n        fi\n\n    - name: set Oasislmf to stable\n      if: startsWith(github.ref_name, 'stable/')\n      run: echo \"branch_oasislmf=${{ env.branch_platform }}\" >> $GITHUB_ENV\n\n    ## CLONE REPOS (plat / oasislmf / ktools / UI)\n    - name: Setup github user\n      run: |\n        git config --global user.email ${{ env.GIT_EMAIL }}\n        git config --global user.name ${{ env.GIT_USERNAME }}\n        git config --global pull.ff only\n      env:\n        GIT_EMAIL: ${{ secrets.BUILD_GIT_EMAIL }}\n        GIT_USERNAME: ${{ secrets.BUILD_GIT_USERNAME }}\n\n    - name: Checkout Platform\n      uses: actions/checkout@v3\n      with:\n        path: ${{ env.dir_platform }}\n        repository: Oasislmf/OasisPlatform\n        ref: ${{ github.ref_name }}\n        fetch-depth: 0\n\n    - name: Checkout Oasislmf\n      uses: actions/checkout@v3\n      with:\n        path: ${{ env.dir_oasislmf }}\n        repository: Oasislmf/Oasislmf\n        ref: ${{ env.branch_oasislmf }}\n        fetch-depth: 0\n\n    - name: Checkout ODS_Tools\n      uses: actions/checkout@v3\n      with:\n        path: ${{ env.dir_ods_tools }}\n        repository: Oasislmf/ODS_Tools\n        ref: ${{ env.branch_ods_tools }}\n        fetch-depth: 0\n\n    - name: Checkout Ktools\n      uses: actions/checkout@v3\n      with:\n        path: ${{ env.dir_ktools }}\n        repository: Oasislmf/ktools\n        ref: ${{ env.branch_ktools }}\n        fetch-depth: 0\n\n    # If overrides not set, auto-load the current / prev release for each repo\n    - name: Find 'prev_release_tag'\n      if: inputs.prev_release_tag == ''\n      working-directory: ${{ env.dir_platform }}\n      run: |\n        tag=$( ${{ env.dir_platform }}/scripts/find_release.sh -p \"${{ env.pre_release }}\" -t 1)\n        echo \"prev_release_tag=$tag\" >> $GITHUB_ENV\n\n    - name: Extract prev component versions\n      continue-on-error: true\n      run: |\n        docker pull coreoasis/model_worker:${{ env.prev_release_tag }}\n        docker run --entrypoint \"oasislmf\" coreoasis/model_worker:${{ env.prev_release_tag }} 'version' > OASISLMF_VERSION_PREV\n        docker run --entrypoint \"python3\" coreoasis/model_worker:${{ env.prev_release_tag }} '-cimport ods_tools; print(ods_tools.__version__)' > ODS_VERSION_PREV\n        docker run --entrypoint \"eve\" coreoasis/model_worker:${{ env.prev_release_tag }} '-v' 2> KTOOLS_VERSION_PREV\n\n    - name: Set prev component versions\n      run: |\n        PREV_OASISLMF_VER=$(cat OASISLMF_VERSION_PREV)\n        PREV_ODS_VER=$(cat ODS_VERSION_PREV)\n        PREV_KTOOL_VER=$(head -1 KTOOLS_VERSION_PREV | grep -oP \"(\\d+)\\.(\\d+)\\.(\\d+)rc(\\d+)|(\\d+)\\.(\\d+)\\.(\\d+)\")\n        echo \"oasislmf_release_prev=$PREV_OASISLMF_VER\" >> $GITHUB_ENV\n        echo \"ods_tools_release_prev=$PREV_ODS_VER\" >> $GITHUB_ENV\n        echo \"ktools_release_prev=v$PREV_KTOOL_VER\" >> $GITHUB_ENV\n\n    - name: oasislmf tag (OVERRIDE)\n      working-directory: ${{ env.dir_oasislmf }}\n      if: env.oasislmf_release != ''\n      run: |\n        git checkout ${{ env.branch_oasislmf }}\n        git reset  --hard $(git rev-list -n 1 ${{ env.oasislmf_release }} )\n\n    - name: Find 'oasislmf_release'\n      if: inputs.oasislmf_release == ''\n      working-directory: ${{ env.dir_oasislmf }}\n      run: |\n        tag=$( ${{ env.dir_platform }}/scripts/find_release.sh -p \"${{ env.pre_release }}\" -t 1)\n        echo \"oasislmf_release=$tag\" >> $GITHUB_ENV\n\n    - name: ods_tools tag (OVERRIDE)\n      working-directory: ${{ env.dir_ods_tools }}\n      if: env.ods_tools_release != ''\n      run: |\n        git checkout ${{ env.branch_ods_tools }}\n        git reset  --hard $(git rev-list -n 1 ${{ env.ods_tools_release }} )\n\n    - name: Find 'ods_tools_release'\n      if: inputs.ods_tools_release == ''\n      working-directory: ${{ env.dir_ods_tools }}\n      run: |\n        tag=$( ${{ env.dir_platform }}/scripts/find_release.sh -p \"${{ env.pre_release }}\" -t 1)\n        echo \"ods_tools_release=$tag\" >> $GITHUB_ENV\n\n    - name: Ktools tag (OVERRIDE)\n      working-directory: ${{ env.dir_ktools }}\n      #if: ! inputs.ktools_release == ''\n      if: env.ktools_release != ''   # TESTING\n      run: |\n        git checkout ${{ env.branch_ktools }}\n        git reset  --hard $(git rev-list -n 1 v${{ env.ktools_release }} )\n\n    - name: Find 'ktools_release'\n      if: inputs.ktools_release == ''\n      working-directory: ${{ env.dir_ktools }}\n      run: |\n        tag=$( ${{ env.dir_platform }}/scripts/find_release.sh -p \"${{ env.pre_release }}\" -t 1 -v 'v')\n        echo \"ktools_release=$tag\" >> $GITHUB_ENV\n\n\n    ## TAG & assests\n    - name: Login to Docker Hub\n      uses: docker/login-action@v2\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n    ## pull a rename build images\n    - name: Pull and re-tag images\n      run: |\n        # Server\n        docker pull ${{ needs.build_images.outputs.server_image }}\n        docker tag  ${{ needs.build_images.outputs.server_image }} coreoasis/api_server:${{ env.release_tag }}\n        docker tag  ${{ needs.build_images.outputs.server_image }} coreoasis/api_server:${{ env.latest_tag }}\n        # Worker\n        docker pull ${{ needs.build_images.outputs.worker_image }}\n        docker tag  ${{ needs.build_images.outputs.worker_image }} coreoasis/model_worker:${{ env.release_tag }}\n        docker tag  ${{ needs.build_images.outputs.worker_image }} coreoasis/model_worker:${{ env.latest_tag }}\n        # Worker-dev\n        docker pull ${{ needs.build_images.outputs.worker_deb_image }}\n        docker tag  ${{ needs.build_images.outputs.worker_deb_image }} coreoasis/model_worker:${{ env.release_tag }}-debian\n        # Worker-controller\n        docker pull ${{ needs.build_images.outputs.worker_controller_image }}\n        docker tag  ${{ needs.build_images.outputs.worker_controller_image }} coreoasis/worker_controller:${{ env.release_tag }}\n        docker tag  ${{ needs.build_images.outputs.worker_controller_image }} coreoasis/worker_controller:${{ env.latest_tag }}\n        # Worker-PiWind\n        docker pull ${{ needs.build_piwind.outputs.piwind_image }}\n        docker tag  ${{ needs.build_piwind.outputs.piwind_image }} coreoasis/piwind_worker:${{ env.release_tag }}\n        docker tag  ${{ needs.build_piwind.outputs.piwind_image }} coreoasis/piwind_worker:${{ env.latest_tag }}\n\n\n    - name: Check tag matches (Repo)\n      working-directory: ${{ env.dir_platform }}\n      run: |\n        BUILD_VER=$(cat VERSION)\n        [[ \"${{ env.release_tag }}\" = \"$BUILD_VER\" ]] && ERROR_CODE=0 || ERROR_CODE=1\n        if [[ \"$ERROR_CODE\" == 1 ]]; then\n            echo \"BUILD_VER: $BUILD_VER stored in Repo 'VERSION' dosn't match RELEASE_TAG: $RELEASE_VER\" && exit $ERROR_CODE\n        fi\n\n    - name: Check tags match (worker image)\n      run: |\n        container_id=$(docker create \"${{ needs.build_images.outputs.worker_image }}\")\n        docker cp \"$container_id:/home/worker/VERSION\" \"./IMAGE_WORKER_VERSION\"\n        docker rm \"$container_id\"\n\n        BUILD_VER=$(cat ./IMAGE_WORKER_VERSION)\n        RELEASE_VER=${{ env.release_tag }}\n        [[ \"$RELEASE_VER\" = \"$BUILD_VER\" ]] && ERROR_CODE=0 || ERROR_CODE=1\n        if [[ \"$ERROR_CODE\" == 1 ]]; then\n            echo \"BUILD_VER: $BUILD_VER stored in image '${{ needs.build_images.outputs.worker_image }}' dosn't match RELEASE_TAG: $RELEASE_VER\" && exit $ERROR_CODE\n        fi\n\n    - name: Check tags match (piwind image)\n      run: |\n        container_id=$(docker create \"${{ needs.build_piwind.outputs.piwind_image }}\")\n        docker cp \"$container_id:/home/worker/VERSION\" \"./IMAGE_PIWIND_VERSION\"\n        docker rm \"$container_id\"\n\n        BUILD_VER=$(cat ./IMAGE_PIWIND_VERSION)\n        RELEASE_VER=${{ env.release_tag }}\n        [[ \"$RELEASE_VER\" = \"$BUILD_VER\" ]] && ERROR_CODE=0 || ERROR_CODE=1\n        if [[ \"$ERROR_CODE\" == 1 ]]; then\n            echo \"BUILD_VER: $BUILD_VER stored in image '${{ needs.build_piwind.outputs.piwind_image }}' dosn't match RELEASE_TAG: $RELEASE_VER\" && exit $ERROR_CODE\n        fi\n\n    - name: Check new component versions\n      continue-on-error: true\n      run: |\n        docker run --entrypoint \"oasislmf\" ${{ needs.build_images.outputs.worker_image }} 'version' > OASISLMF_VERSION\n        docker run --entrypoint \"python3\" ${{ needs.build_images.outputs.worker_image }} '-cimport ods_tools; print(ods_tools.__version__)' > ODS_VERSION\n        docker run --entrypoint \"eve\" ${{ needs.build_images.outputs.worker_image }} '-v' 2> KTOOLS_VERSION\n\n    - name: 'store OASISLMF_VERSION'\n      uses: actions/upload-artifact@v3\n      with:\n        name: OASISLMF_VERSION\n        path: OASISLMF_VERSION\n        retention-days: 5\n\n    - name: 'store ODS_VERSION'\n      uses: actions/upload-artifact@v3\n      with:\n        name: ODS_VERSION\n        path: ODS_VERSION\n        retention-days: 5\n\n    - name: 'store KTOOLS_VERSION'\n      uses: actions/upload-artifact@v3\n      with:\n        name: KTOOLS_VERSION\n        path: KTOOLS_VERSION\n        retention-days: 5\n\n    - name: Check for Oasislmf version match\n      run: test \"$(cat OASISLMF_VERSION)\" = ${{ env.oasislmf_release }} || exit 1\n\n    - name: Check for ods-tools version match\n      run: test \"$(cat ODS_VERSION)\" = ${{ env.ods_tools_release }} || exit 1\n\n    - name: Check for ktools version match\n      run: |\n        KTOOL_VER=$(head -1 KTOOLS_VERSION | grep -oP \"(\\d+)\\.(\\d+)\\.(\\d+)rc(\\d+)|(\\d+)\\.(\\d+)\\.(\\d+)\")\n        test \"v$KTOOL_VER\" = ${{ env.ktools_release }} || exit 1\n\n    - name: Download API schema\n      uses: actions/download-artifact@v3\n      with:\n        name: openapi-schema\n        path: ${{ github.workspace }}/\n\n    - name: Download API schema (v1)\n      uses: actions/download-artifact@v3\n      with:\n        name: v1-openapi-schema\n        path: ${{ github.workspace }}/\n\n    - name: Download API schema (v2)\n      uses: actions/download-artifact@v3\n      with:\n        name: v2-openapi-schema\n        path: ${{ github.workspace }}/\n\n    - name: Name API schema\n      id: api_schema\n      run: |\n        schema_filename=\"openapi-schema-${{ env.release_tag }}.json\"\n        v1_schema_filename=\"v1-openapi-schema-${{ env.release_tag }}.json\"\n        v2_schema_filename=\"v2-openapi-schema-${{ env.release_tag }}.json\"\n\n        mv openapi-schema.json  $schema_filename\n        mv v1-openapi-schema.json  $v1_schema_filename\n        mv v2-openapi-schema.json  $v2_schema_filename\n        echo \"filename_all=$schema_filename\" >> $GITHUB_OUTPUT\n        echo \"filename_v1=$v1_schema_filename\" >> $GITHUB_OUTPUT\n        echo \"filename_v2=$v2_schema_filename\" >> $GITHUB_OUTPUT\n\n    # --- Create Changelog --- #\n    - name: Tag Release\n      working-directory: ${{ env.dir_platform }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n      run: |\n        git checkout ${{ github.ref_name }}\n        git tag ${{ env.release_tag }}\n\n    - name: Setup python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n\n    - name: Setup Changelog builder\n      working-directory: ${{ env.dir_platform  }}\n      run: pip install -r scripts/requirments-changelog.txt\n\n    - name: Create changelog\n      working-directory: ${{ env.dir_platform }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n      run: |\n        ${{ env.dir_platform }}/scripts/update-changelog.py build-changelog \\\n          --repo OasisPlatform \\\n          --from-tag ${{ env.prev_release_tag }} \\\n          --to-tag ${{ env.release_tag }} \\\n          --github-token ${{ secrets.BUILD_GIT_TOKEN }} \\\n          --local-repo-path ./ \\\n          --output-path ./CHANGELOG.rst \\\n          --apply-milestone\n        git add ./CHANGELOG.rst\n        git commit -m 'Update changelog'\n\n    - name: Create Release notes\n      run: |\n        ${{ env.dir_platform }}/scripts/update-changelog.py build-release-platform \\\n          --platform-repo-path ${{ env.dir_platform }}  \\\n          --platform-from-tag ${{ env.prev_release_tag }} \\\n          --platform-to-tag ${{ env.release_tag }} \\\n          --lmf-repo-path ${{ env.dir_oasislmf }} \\\n          --lmf-from-tag ${{ env.oasislmf_release_prev }} \\\n          --lmf-to-tag ${{ env.oasislmf_release }} \\\n          --ods-repo-path ${{ env.dir_ods_tools }} \\\n          --ods-from-tag ${{ env.ods_tools_release_prev }} \\\n          --ods-to-tag ${{ env.ods_tools_release }} \\\n          --ktools-repo-path ${{ env.dir_ktools }} \\\n          --ktools-from-tag ${{ env.ktools_release_prev }} \\\n          --ktools-to-tag ${{ env.ktools_release }} \\\n          --github-token ${{ secrets.BUILD_GIT_TOKEN }} \\\n          --output-path ./RELEASE.md\n        cat ./RELEASE.md >> $GITHUB_STEP_SUMMARY\n\n    ## --- Push Images --- #\n    - name: Push images\n      run: |\n        docker push coreoasis/api_server:${{ env.release_tag }}\n        docker push coreoasis/model_worker:${{ env.release_tag }}\n        docker push coreoasis/worker_controller:${{ env.release_tag }}\n        docker push coreoasis/model_worker:${{ env.release_tag }}-debian\n        docker push coreoasis/piwind_worker:${{ env.release_tag }}\n\n    - name: Push images (Production)\n      if: ${{ env.pre_release == 'false' && env.push_latest == 'true' }}\n      run: |\n        docker push coreoasis/api_server:${{ env.latest_tag }}\n        docker push coreoasis/model_worker:${{ env.latest_tag }}\n        docker push coreoasis/worker_controller:${{ env.latest_tag }}\n        docker push coreoasis/piwind_worker:${{ env.latest_tag }}\n\n    # --- Create Release --- #\n    - name: Push changes\n      working-directory: ${{ env.dir_platform }}\n      run: |\n        git push origin ${{ env.release_tag  }}\n        git push\n\n    - name: Create Release\n      id: create_release\n      uses: actions/create-release@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n      with:\n        tag_name: ${{ env.release_tag }}\n        release_name: Release ${{ env.release_tag }}\n        body_path: ./RELEASE.md\n        draft: false\n        prerelease: ${{ env.pre_release }}\n\n    # --- Attach build assest --- #\n    - name: Upload Schema (base)\n      id: upload-source-release-asset\n      uses: actions/upload-release-asset@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n      with:\n        upload_url: ${{ steps.create_release.outputs.upload_url }}\n        asset_path: ${{ github.workspace }}/${{ steps.api_schema.outputs.filename_all }}\n        asset_name: ${{ steps.api_schema.outputs.filename_all }}\n        asset_content_type: application/json\n\n    - name: Upload Schema (v1)\n      id: upload-source-release-asset-v1\n      uses: actions/upload-release-asset@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n      with:\n        upload_url: ${{ steps.create_release.outputs.upload_url }}\n        asset_path: ${{ github.workspace }}/${{ steps.api_schema.outputs.filename_v1 }}\n        asset_name: ${{ steps.api_schema.outputs.filename_v1 }}\n        asset_content_type: application/json\n\n    - name: Upload Schema (v2)\n      id: upload-source-release-asset-v2\n      uses: actions/upload-release-asset@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n      with:\n        upload_url: ${{ steps.create_release.outputs.upload_url }}\n        asset_path: ${{ github.workspace }}/${{ steps.api_schema.outputs.filename_v2 }}\n        asset_name: ${{ steps.api_schema.outputs.filename_v2 }}\n        asset_content_type: application/json\n    # --- Slack notify --- #\n    - name: slack message vars\n      id: slack_vars\n      run: |\n        HEAD=$(echo \"*${{ github.event.repository.name}} Release* (${{ env.release_tag }})\")\n        DATE=$(date)\n        TITLE=$(echo \"• <https://github.com/${{ github.repository }}/releases/tag/${{ env.release_tag }}|${{ github.event.repository.name }} ${{ env.release_tag }} - Release Notes>\")\n        JOB_URL=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        echo \"heading=$HEAD\" >> $GITHUB_OUTPUT\n        echo \"run_date=$DATE\" >> $GITHUB_OUTPUT\n        echo \"title=$TITLE\" >> $GITHUB_OUTPUT\n        echo \"run_url=$JOB_URL\" >> $GITHUB_OUTPUT\n        echo \"run_id=${{ github.run_id }}\"  >> $GITHUB_OUTPUT\n        echo \"branch=${{ github.ref_name }}\" >> $GITHUB_OUTPUT\n        echo \"run_status=${{ job.status }}\" >> $GITHUB_OUTPUT\n\n  tag_piwind:\n    uses: OasisLMF/OasisPiWind/.github/workflows/tag-release.yml@main\n    secrets: inherit\n    needs: release\n    with:\n      release_tag: ${{ inputs.release_tag }}\n      piwind_branch: ${{ inputs.piwind_branch }}\n\n\n  # --- Notify Slack --- #\n  slack:\n    uses: OasisLMF/OasisLMF/.github/workflows/notify.yml@main\n    secrets: inherit\n    needs: release\n    with:\n      heading: ${{ needs.release.outputs.heading }}\n      title: ${{ needs.release.outputs.title }}\n      build_branch: ${{ needs.release.outputs.build_branch }}\n      run_url: ${{ needs.release.outputs.run_url }}\n      run_id: ${{ needs.release.outputs.run_id }}\n      run_status: ${{ needs.release.outputs.run_status }}\n      run_date: ${{ needs.release.outputs.run_date }}\n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:49:57.265825", "created_at": "2024-03-22T11:31:45+01:00", "updated_at": "2024-03-22T11:31:45+01:00", "name": "Deploy Piwind Model", "path": ".github/workflows/rodneytestgh.yml", "contents": null, "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:49:58.285462", "created_at": "2023-02-02T13:16:23+01:00", "updated_at": "2023-07-18T17:25:40+02:00", "name": "External Vulnerability Scanning", "path": ".github/workflows/scan-external.yml", "contents": "name: External Vulnerability Scanning\n\non:\n  workflow_dispatch:\n    inputs:\n      cve_severity:\n        description: 'Severities of vulnerabilities to scanned for, [UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL]'\n        required: false\n        default: 'CRITICAL,HIGH'\n      ignore_unfixed:\n        description: 'Include unfixed vulnerabilities in scan [true,false]'\n        required: false\n        default: 'true'\n\nenv:\n  SEVERITY: 'HIGH,CRITICAL'\n  IGNORE_UNFIXED: 'true'\n\njobs:\n  scan_external_images:\n    name: Scan Image\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        image: [keycloak, redis, rabbitmq, postgres]\n        include:\n        - image: keycloak\n          report: 'keycloak-scan.sarif'\n          exit-code: '1'\n\n        - image: redis\n          report: 'redis-scan.sarif'\n          exit-code: '1'\n\n        - image: rabbitmq\n          report: 'rabbitmq-scan.sarif'\n          exit-code: '1'\n\n        - image: postgres\n          report: 'postgres-scan.sarif'\n          exit-code: '1'\n\n    steps:\n    - name: Set inputs\n      if: github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch'\n      run: |\n        echo \"SEVERITY=${{ inputs.cve_severity }}\" >> $GITHUB_ENV\n        echo \"IGNORE_UNFIXED=${{ inputs.ignore_unfixed }}\" >> $GITHUB_ENV\n\n    - name: Checkout code\n      uses: actions/checkout@v3\n\n    - name: Get Image Name\n      id: img\n      uses: mikefarah/yq@master\n      with:\n        cmd: yq '.images.${{ matrix.image }}.image' kubernetes/charts/oasis-platform/values.yaml\n\n    - name: Get Image Version\n      id: ver\n      uses: mikefarah/yq@master\n      with:\n        cmd: yq '.images.${{ matrix.image }}.version' kubernetes/charts/oasis-platform/values.yaml\n\n    - name: Vulnerability scanner\n      if: env.SEVERITY != ''\n      uses: aquasecurity/trivy-action@master\n      with:\n        image-ref: ${{ steps.img.outputs.result }}:${{ steps.ver.outputs.result }}\n        scan-type: 'image'\n        exit-code: ${{ matrix.exit-code }}\n        ignore-unfixed: ${{ env.IGNORE_UNFIXED }}\n        severity: ${{ env.SEVERITY }}\n        scanners: 'vuln'\n\n    - name: Create Report\n      if: success() || failure()\n      uses: aquasecurity/trivy-action@master\n      with:\n        image-ref: ${{ steps.img.outputs.result }}:${{ steps.ver.outputs.result }}\n        format: 'sarif'\n        output: ${{ matrix.report }}\n        scan-type: 'image'\n        exit-code: '0'\n        ignore-unfixed: ${{ env.IGNORE_UNFIXED }}\n        severity: ${{ env.SEVERITY }}\n        scanners: 'vuln'\n\n    - name: Upload Trivy scan results to GitHub Security tab\n      if: success() || failure()\n      uses: github/codeql-action/upload-sarif@v2\n      with:\n        sarif_file: ${{ matrix.report }}\n\n    - name: Store report\n      if: success() || failure()\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ matrix.report }}\n        path: ${{ matrix.report }}\n        retention-days: 3\n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:49:59.404991", "created_at": "2022-11-14T11:13:33+01:00", "updated_at": "2023-02-23T00:18:03+01:00", "name": "Platform Vulnerability Scanning", "path": ".github/workflows/scan.yml", "contents": "name: Platform Vulnerability Scanning\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n      - stable**  \n\n  workflow_dispatch:\n    inputs:\n      cve_severity:\n        description: 'Severities of vulnerabilities to scanned for, [UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL]'\n        required: false\n        default: 'CRITICAL,HIGH'\n      ignore_unfixed:\n        description: 'Include unfixed vulnerabilities in scan [true,false]'\n        required: false\n        default: 'true'\n  workflow_call:\n    inputs:\n      cve_severity:\n        description: 'Severities of vulnerabilities to scanned for, [UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL]'\n        required: false\n        default: 'CRITICAL,HIGH'\n        type: string\n      ignore_unfixed:\n        description: 'Include unfixed vulnerabilities in scan [true,false]'\n        required: false\n        default: 'true'\n        type: string\n      exit_code:\n        description: 'Exit code if vulnerabilities found [0,1]'\n        required: false\n        default: '1'\n        type: string\n\njobs:\n  scan_repo:\n    name: Scan Repo\n    env:\n      SEVERITY: 'HIGH,CRITICAL'\n      REPORT: 'repo-results.sarif'\n      IGNORE_UNFIXED: 'true'\n      EXIT_CODE: '1'\n    runs-on: ubuntu-latest\n    steps:\n    - name: Adding code-scanning URL\n      run: echo \"### [code-scanning results](https://github.com/${{ github.repository }}/security/code-scanning?query=branch%3A${{ github.ref_name }})\" >> $GITHUB_STEP_SUMMARY\n\n    - name: Set inputs\n      if: github.event_name == 'workflow_call' || github.event_name == 'workflow_dispatch'\n      run: |\n        echo \"SEVERITY=${{ inputs.cve_severity }}\" >> $GITHUB_ENV\n        echo \"IGNORE_UNFIXED=${{ inputs.ignore_unfixed }}\" >> $GITHUB_ENV\n\n    - name: Checkout code\n      uses: actions/checkout@v3\n\n    - name: Trivy vulnerability scanner\n      if: env.SEVERITY != ''\n      uses: aquasecurity/trivy-action@master\n      with:\n        scan-type: 'fs'\n        exit-code: '1'\n        ignore-unfixed: ${{ env.IGNORE_UNFIXED }}\n        severity: ${{ env.SEVERITY }}\n        scanners: 'vuln'\n        skip-dirs: './docker'\n\n    - name: Trivy Configuration scanner (no fail)\n      if: env.SEVERITY != ''\n      uses: aquasecurity/trivy-action@master\n      with:\n        scan-type: 'fs'\n        exit-code: '0'\n        ignore-unfixed: ${{ env.IGNORE_UNFIXED }}\n        severity: ${{ env.SEVERITY }}\n        scanners: 'config,secret'\n        skip-dirs: './docker'\n\n    - name: Create Report\n      if: success() || failure()\n      uses: aquasecurity/trivy-action@master\n      with:\n        format: 'sarif'\n        output:  ${{ env.REPORT }}\n        scan-type: 'fs'\n        exit-code: '0'\n        ignore-unfixed: ${{ env.IGNORE_UNFIXED }}\n        scanners: 'vuln'\n        skip-dirs: './docker'\n\n    - name: Upload Trivy scan results to GitHub Security tab\n      if: success() || failure()\n      uses: github/codeql-action/upload-sarif@v2\n      with:\n        sarif_file:  ${{ env.REPORT }}\n\n    - name: Store CVE report\n      if: success() || failure()\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ env.REPORT }}\n        path: ${{ env.REPORT }}\n        retention-days: 3\n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:50:00.451039", "created_at": "2022-11-14T11:13:31+01:00", "updated_at": "2023-12-05T16:05:49+01:00", "name": "Platform Image Tests", "path": ".github/workflows/test-images.yml", "contents": "name: Platform Image Tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n      - stable**\n  workflow_dispatch:\n    inputs:\n      last_release:\n        description: \"Test backwards compatibility with platform ver [semvar]\"\n        required: false\n      piwind_branch:\n        description: \"Check Results from Piwind branch [git ref]\"\n        required: true\n        default: 'main'\n      pytest_options:\n        description: \"Pytest optional args [-k <test_name>]\"\n        required: false\n      cve_severity:\n        description: 'Severities of vulnerabilities to scanned for [LOW, MEDIUM, HIGH, CRITICAL, SKIP]'\n        required: false\n      oasislmf_branch:\n        description: 'If set, pip install oasislmf branch [git ref]'\n        required: false\n      ods_branch:\n        description: 'If set, pip install ods-tools branch [git ref]'\n        required: false\n\nenv:\n  pre_release: 'true'  # look for pre-release when testing last released platform version\n  semver_major: '2'    # Search for published images but limited to {semvar_major}.x.x\n  #semver_minor: '27'   # Search for published images but limited to x.{semvar_minor}.x\n\njobs:\n  build_images:\n    uses: ./.github/workflows/build-images.yml\n    secrets: inherit\n    with:\n      docker_push: true\n      ignore_unfixed: true\n      #cve_severity: ${{ github.event_name != 'workflow_dispatch' && 'CRITICAL,HIGH' ||  inputs.cve_severity }}\n      cve_severity: ${{ github.event_name != 'workflow_dispatch' && 'SKIP' ||  inputs.cve_severity }}\n      oasislmf_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.oasislmf_branch }}\n      ods_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.ods_branch }}\n\n  setup:\n    runs-on: ubuntu-latest\n    needs: [build_images]\n    outputs:\n      pytest_opts: ${{ steps.pytest.outputs.opts }}\n      piwind_branch: ${{ steps.piwind.outputs.branch }}\n\n      release_tag: ${{ steps.released_images.outputs.prev_release_tag }}\n      release_stable_1-15: ${{ steps.released_images.outputs.stable_1-15 }}\n      release_stable_1-23: ${{ steps.released_images.outputs.stable_1-23 }}\n      release_stable_1-27: ${{ steps.released_images.outputs.stable_1-27 }}\n      release_stable_1-28: ${{ steps.released_images.outputs.stable_1-28 }}\n      release_stable_2-3: ${{ steps.released_images.outputs.stable_2-3 }}\n\n      build_server_img: ${{ steps.built_images.outputs.server_img }}\n      build_server_tag: ${{ steps.built_images.outputs.server_tag }}\n      build_worker_img: ${{ steps.built_images.outputs.worker_img }}\n      build_worker_tag: ${{ steps.built_images.outputs.worker_tag }}\n      build_deb_worker_img: ${{ steps.built_images.outputs.deb_worker_img }}\n      build_deb_worker_tag: ${{ steps.built_images.outputs.deb_worker_tag }}\n\n    steps:\n      - name: Checkout Platform\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Load latest release tag\n        id: released_images\n        run: |\n          # Find the latest release tag only from current branch\n          if [[ \"${{ github.ref_name }}\" == backports/ ]]; then\n            tag=$( ./scripts/find_release.sh -p \"${{ env.pre_release }}\")\n            echo \"prev_release_tag=$tag\" >> $GITHUB_OUTPUT\n          # Find tags release accross all branches, limited to matching semver\n          elif [[ -z \"${{ inputs.last_release }}\" ]]; then\n            tag=$( ./scripts/find_latest.sh -j \"${{ env.semver_major }}\" -i \"${{ env.semver_minor }}\" )\n            echo \"prev_release_tag=$tag\" >> $GITHUB_OUTPUT\n          # Don't search, use the given input\n          else\n            echo \"prev_release_tag=${{ inputs.last_release }}\" >> $GITHUB_OUTPUT\n          fi\n\n          # Find latest LTS from each stable branch\n          stable_1_15=$( ./scripts/find_latest.sh -j 1 -i 15 )\n          echo \"stable_1-15=$stable_1_15\" >> $GITHUB_OUTPUT\n\n          stable_1_23=$( ./scripts/find_latest.sh -j 1 -i 23 )\n          echo \"stable_1-23=$stable_1_23\" >> $GITHUB_OUTPUT\n\n          stable_1_27=$( ./scripts/find_latest.sh -j 1 -i 27 )\n          echo \"stable_1-27=$stable_1_27\" >> $GITHUB_OUTPUT\n\n          stable_1_28=$( ./scripts/find_latest.sh -j 1 -i 28 )\n          echo \"stable_1-28=$stable_1_28\" >> $GITHUB_OUTPUT\n\n          stable_2_3=$( ./scripts/find_latest.sh -j 2 -i 3 )\n          echo \"stable_2-3=$stable_2_3\" >> $GITHUB_OUTPUT\n\n      - name: Select PiWind branch\n        id: piwind\n        run: |\n          # Select matching base branch on piwind\n          if [[ \"${{ github.event_name }}\" = \"pull_request\" ]]; then\n            BRANCH=${{ github.base_ref }}\n          elif [[ \"${{ github.event_name }}\" = \"push\" ]]; then\n            BRANCH=${{ github.ref_name }}\n          else\n            BRANCH=${{ inputs.piwind_branch }}\n          fi\n\n          #override 'main-platform1' -> 'main'\n          if [[ \"$BRANCH\" = 'main-platform1' ]]; then\n             BRANCH=main\n          fi\n          echo \"branch=$BRANCH\" >> $GITHUB_OUTPUT\n\n\n      - name: Select Pytest Options\n        id: pytest\n        run: |\n          if [[ -z \"${{ inputs.pytest_options }}\" ]]; then\n            echo \"opts='-k case_1'\" >> $GITHUB_OUTPUT\n          else\n            echo \"opts=${{ inputs.pytest_options }}\" >> $GITHUB_OUTPUT\n          fi\n\n      # Split ouput strings from build job\n      - name: Load built images\n        id: built_images\n        run: |\n          server_img=$(echo ${{ needs.build_images.outputs.server_image }} | awk '{split($0,a,\":\"); print a[1];}')\n          server_tag=$(echo ${{ needs.build_images.outputs.server_image }} | awk '{split($0,a,\":\"); print a[2];}')\n          echo \"server_img=$server_img\" >> $GITHUB_OUTPUT\n          echo \"server_tag=$server_tag\" >> $GITHUB_OUTPUT\n\n          worker_img=$(echo ${{ needs.build_images.outputs.worker_image }} | awk '{split($0,a,\":\"); print a[1];}')\n          worker_tag=$(echo ${{ needs.build_images.outputs.worker_image }} | awk '{split($0,a,\":\"); print a[2];}')\n          echo \"worker_img=$worker_img\" >> $GITHUB_OUTPUT\n          echo \"worker_tag=$worker_tag\" >> $GITHUB_OUTPUT\n\n          deb_worker_img=$(echo ${{ needs.build_images.outputs.worker_deb_image }} | awk '{split($0,a,\":\"); print a[1];}')\n          deb_worker_tag=$(echo ${{ needs.build_images.outputs.worker_deb_image }} | awk '{split($0,a,\":\"); print a[2];}')\n          echo \"deb_worker_img=$deb_worker_img\" >> $GITHUB_OUTPUT\n          echo \"deb_worker_tag=$deb_worker_tag\" >> $GITHUB_OUTPUT\n\n  all_checks_v1:\n    name: V1 all checks\n    secrets: inherit\n    needs: [setup]\n    uses: OasisLMF/OasisPiWind/.github/workflows/integration.yml@main\n    with:\n      piwind_branch: ${{ needs.setup.outputs.piwind_branch }}\n      server_image: ${{ needs.setup.outputs.build_server_img }}\n      server_tag: ${{ needs.setup.outputs.build_server_tag }}\n      worker_image: ${{ needs.setup.outputs.build_worker_img }}\n      worker_tag: ${{ needs.setup.outputs.build_worker_tag }}\n      worker_api_ver: 'v1'\n      debug_mode: 1\n      pytest_opts: \"--docker-compose=./docker/plat2-v2.docker-compose.yml \"\n      storage_suffix: '-all-checks-v1'\n\n  all_checks_v2:\n    name: V2 all checks\n    secrets: inherit\n    needs: [setup]\n    uses: OasisLMF/OasisPiWind/.github/workflows/integration.yml@main\n    with:\n      piwind_branch: ${{ needs.setup.outputs.piwind_branch }}\n      server_image: ${{ needs.setup.outputs.build_server_img }}\n      server_tag: ${{ needs.setup.outputs.build_server_tag }}\n      worker_image: ${{ needs.setup.outputs.build_worker_img }}\n      worker_tag: ${{ needs.setup.outputs.build_worker_tag }}\n      worker_api_ver: 'v2'\n      debug_mode: 1\n      pytest_opts: \"--docker-compose=./docker/plat2-v2.docker-compose.yml \"\n      storage_suffix: '-all-checks-v2'\n\n  storage_s3_v1:\n    name: V1 Storage Compatibility (S3)\n    secrets: inherit\n    needs: [setup]\n    uses: OasisLMF/OasisPiWind/.github/workflows/integration.yml@main\n    with:\n      piwind_branch: ${{ needs.setup.outputs.piwind_branch }}\n      server_image: ${{ needs.setup.outputs.build_server_img }}\n      server_tag: ${{ needs.setup.outputs.build_server_tag }}\n      worker_image: ${{ needs.setup.outputs.build_worker_img }}\n      worker_tag: ${{ needs.setup.outputs.build_worker_tag }}\n      worker_api_ver: 'v1'\n      debug_mode: 1\n      pytest_opts: \"--docker-compose=./docker/plat2-v2.s3.docker-compose.yml ${{ needs.setup.outputs.pytest_opts }}\"\n      storage_suffix: '_s3-v1'\n\n  storage_s3_v2:\n    name: V2 Storage Compatibility (S3)\n    secrets: inherit\n    needs: [setup]\n    uses: OasisLMF/OasisPiWind/.github/workflows/integration.yml@main\n    with:\n      piwind_branch: ${{ needs.setup.outputs.piwind_branch }}\n      server_image: ${{ needs.setup.outputs.build_server_img }}\n      server_tag: ${{ needs.setup.outputs.build_server_tag }}\n      worker_image: ${{ needs.setup.outputs.build_worker_img }}\n      worker_tag: ${{ needs.setup.outputs.build_worker_tag }}\n      worker_api_ver: 'v2'\n      debug_mode: 1\n      pytest_opts: \"--docker-compose=./docker/plat2-v2.s3.docker-compose.yml ${{ needs.setup.outputs.pytest_opts }}\"\n      storage_suffix: '_s3-v2'\n\n  worker_debian:\n    name: Worker Debian\n    secrets: inherit\n    needs: [setup]\n    uses: OasisLMF/OasisPiWind/.github/workflows/integration.yml@main\n    with:\n      piwind_branch: ${{ needs.setup.outputs.piwind_branch }}\n      server_image: ${{ needs.setup.outputs.build_server_img }}\n      server_tag: ${{ needs.setup.outputs.build_server_tag }}\n      worker_image: ${{ needs.setup.outputs.build_deb_worker_img }}\n      worker_tag: ${{ needs.setup.outputs.build_deb_worker_tag }}\n      worker_api_ver: 'v2'\n      debug_mode: 1\n      pytest_opts: \"--docker-compose=./docker/plat2-v2.docker-compose.yml ${{ needs.setup.outputs.pytest_opts }}\"\n      storage_suffix: '-worker-debian'\n\n  stable_compatibility_1-15:\n    name: Test stable worker (${{ needs.setup.outputs.release_stable_1-15 }})\n    secrets: inherit\n    needs: [setup]\n    uses: OasisLMF/OasisPiWind/.github/workflows/integration.yml@main\n    with:\n      piwind_branch: 'stable/1.15.x'\n      server_image: ${{ needs.setup.outputs.build_server_img }}\n      server_tag: ${{ needs.setup.outputs.build_server_tag }}\n      worker_image: 'coreoasis/model_worker'\n      worker_tag: ${{ needs.setup.outputs.release_stable_1-15 }}\n      worker_api_ver: 'v1'\n      debug_mode: 1\n      pytest_opts: \"--docker-compose=./docker/plat2-v2.docker-compose.yml ${{ needs.setup.outputs.pytest_opts }}\"\n      storage_suffix: \"_worker-${{ needs.setup.outputs.release_stable_1-15 }}\"\n\n  stable_compatibility_1-23:\n    name: Test stable worker (${{ needs.setup.outputs.release_stable_1-23 }})\n    secrets: inherit\n    needs: [setup]\n    uses: OasisLMF/OasisPiWind/.github/workflows/integration.yml@main\n    with:\n      piwind_branch: 'stable/1.23.x'\n      server_image: ${{ needs.setup.outputs.build_server_img }}\n      server_tag: ${{ needs.setup.outputs.build_server_tag }}\n      worker_image: 'coreoasis/model_worker'\n      worker_tag: ${{ needs.setup.outputs.release_stable_1-23 }}\n      worker_api_ver: 'v1'\n      debug_mode: 1\n      pytest_opts: \"--docker-compose=./docker/plat2-v2.docker-compose.yml ${{ needs.setup.outputs.pytest_opts }}\"\n      storage_suffix: \"_worker-${{ needs.setup.outputs.release_stable_1-23 }}\"\n\n  stable_compatibility_1-27:\n    name: Test stable worker (${{ needs.setup.outputs.release_stable_1-27 }})\n    secrets: inherit\n    needs: [setup]\n    uses: OasisLMF/OasisPiWind/.github/workflows/integration.yml@main\n    with:\n      piwind_branch: 'stable/1.27.x'\n      server_image: ${{ needs.setup.outputs.build_server_img }}\n      server_tag: ${{ needs.setup.outputs.build_server_tag }}\n      worker_image: 'coreoasis/model_worker'\n      worker_tag: ${{ needs.setup.outputs.release_stable_1-27 }}\n      worker_api_ver: 'v1'\n      debug_mode: 1\n      pytest_opts: \"--docker-compose=./docker/plat2-v2.docker-compose.yml ${{ needs.setup.outputs.pytest_opts }}\"\n      storage_suffix: \"_worker-${{ needs.setup.outputs.release_stable_1-27 }}\"\n\n  stable_compatibility_1-28:\n    name: test stable worker (${{ needs.setup.outputs.release_stable_1-28 }})\n    secrets: inherit\n    needs: [setup]\n    uses: OasisLMF/OasisPiWind/.github/workflows/integration.yml@main\n    with:\n      piwind_branch: 'stable/1.28.x'\n      server_image: ${{ needs.setup.outputs.build_server_img }}\n      server_tag: ${{ needs.setup.outputs.build_server_tag }}\n      worker_image: 'coreoasis/model_worker'\n      worker_tag: ${{ needs.setup.outputs.release_stable_1-28 }}\n      worker_api_ver: 'v1'\n      debug_mode: 1\n      pytest_opts: \"--docker-compose=./docker/plat2-v2.docker-compose.yml ${{ needs.setup.outputs.pytest_opts }}\"\n      storage_suffix: \"_worker-${{ needs.setup.outputs.release_stable_1-28 }}\"\n\n  stable_compatibility_2-3:\n    name: test stable worker (${{ needs.setup.outputs.release_stable_2-3 }})\n    secrets: inherit\n    needs: [setup]\n    uses: OasisLMF/OasisPiWind/.github/workflows/integration.yml@main\n    with:\n      piwind_branch: 'stable/2.3.x'\n      server_image: ${{ needs.setup.outputs.build_server_img }}\n      server_tag: ${{ needs.setup.outputs.build_server_tag }}\n      worker_image: 'coreoasis/model_worker'\n      worker_tag: ${{ needs.setup.outputs.release_stable_2-3 }}\n      worker_api_ver: 'v2'\n      debug_mode: 1\n      pytest_opts: \"--docker-compose=./docker/plat2-v2.docker-compose.yml ${{ needs.setup.outputs.pytest_opts }}\"\n      storage_suffix: \"_worker-${{ needs.setup.outputs.release_stable_2-3 }}\"\n\n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:50:01.480170", "created_at": "2022-11-14T11:13:29+01:00", "updated_at": "2024-01-17T15:45:40+01:00", "name": "Platform Python Tests", "path": ".github/workflows/test-python.yml", "contents": null, "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:50:02.490068", "created_at": "2024-01-09T14:01:51+01:00", "updated_at": "2024-01-10T14:26:46+01:00", "name": "Python Tests - Platform API", "path": ".github/workflows/test-python_api.yml", "contents": "name: Python Tests - Platform API\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n      - stable**\n  workflow_dispatch:\n    inputs:\n      ods_branch:\n        description: 'If set, pip install ods-tools branch [git ref]'\n        required: false\n\n  workflow_call:\n    inputs:\n      ods_branch:\n        description: 'If set, pip install ods-tools branch [git ref]'\n        required: false\n        type: string\n      platform_branch:\n        description: \"Platform branch to test (remote trigger) [git ref]\"\n        required: True\n        type: string\n\njobs:\n  ods_tools:\n    #if: inputs.ods_branch != ''\n    uses: OasisLMF/ODS_Tools/.github/workflows/build.yml@main\n    secrets: inherit\n    with:\n      ods_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.ods_branch }}\n\n  unittest:\n    needs: ods_tools\n    env:\n      JUNIT_REPORT: pytest_report.xml\n      PLAT_BRANCH: ${{ github.ref }}\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Branch selection (remote trigger)\n      if: inputs.platform_branch != ''\n      run: echo \"PLAT_BRANCH=${{ inputs.platform_branch }}\" >> $GITHUB_ENV\n\n    - name: Checkout\n      uses: actions/checkout@v3\n      with:\n        repository: OasisLMF/OasisPlatform\n        ref: ${{ env.PLAT_BRANCH }}\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - run: pip install -r requirements.txt\n\n    - name: Download package\n      if: needs.ods_tools.outputs.whl_filename != ''\n      uses: actions/download-artifact@v3\n      with:\n        name: bin_package\n        path: ${{ github.workspace }}/\n\n    - name: Install package\n      if: needs.ods_tools.outputs.whl_filename != ''\n      run: |\n        pip uninstall ods-tools -y\n        pip install ${{ needs.ods_tools.outputs.whl_filename }}\n\n    - name: Run Pytest\n      run: pytest  --cov-config=tox.ini --junitxml=${{ github.workspace  }}/pytest_report.xml --cov=src --cov-report=xml --cov-report=term\n\n   # - name: Run Tox\n   #   run: |\n   #     pip install tox\n   #     tox -e py\n\n    - name: Generate Report\n      uses: dorny/test-reporter@v1\n      if: success() || failure()    # run this step even if previous step failed\n      with:\n        name: Pytest Results             # Name of the check run which will be created\n        path: ${{ env.JUNIT_REPORT }}    # Path to test results\n        reporter: java-junit             # Format of test results\n        fail-on-error: 'false'\n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:50:03.603539", "created_at": "2024-01-09T14:01:50+01:00", "updated_at": "2024-01-10T14:26:46+01:00", "name": "Python Tests - Worker Controller", "path": ".github/workflows/test-python_worker-controller.yml", "contents": "name: Python Tests - Worker Controller\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n      - stable**  \n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  unittest:\n    env:\n      JUNIT_REPORT: pytest_worker-controller_report.xml\n      PLAT_BRANCH: ${{ github.ref }}\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Branch selection (remote trigger)\n      if: inputs.platform_branch != ''\n      run: echo \"PLAT_BRANCH=${{ inputs.platform_branch }}\" >> $GITHUB_ENV\n\n    - name: Checkout\n      uses: actions/checkout@v3\n      with:\n        repository: OasisLMF/OasisPlatform\n        ref: ${{ env.PLAT_BRANCH }}\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - run: |\n        pip install pytest\n        pip install -r kubernetes/worker-controller/requirements.txt\n\n    - name: Run Pytest\n      run: |\n        cd kubernetes/worker-controller/src\n        python -m pytest -v\n\n#    - name: Generate Report\n#      uses: dorny/test-reporter@v1\n#      if: success() || failure()    # run this step even if previous step failed\n#      with:\n#        name: Pytest Results             # Name of the check run which will be created\n#        path: ${{ env.JUNIT_REPORT }}    # Path to test results\n#        reporter: java-junit             # Format of test results\n#        fail-on-error: 'false'\n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:50:04.584573", "created_at": "2023-05-12T14:51:33+02:00", "updated_at": "2023-05-12T14:54:35+02:00", "name": "Update Requirements", "path": ".github/workflows/update-python.yml", "contents": "name: Update Requirements\n\non:\n  workflow_dispatch:\n    inputs:\n      package_update_list:\n        description: 'pass list of packages to update, [django celery \"oasislmf==<ver>\"]'\n        required: false\n  workflow_call:\n    inputs:\n      package_update_list:\n        description: 'pass list of packages to update, [django celery \"oasislmf==<ver>\"]'\n        required: false\n        type: string\n\njobs:\n  update:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n      with:\n        ref: ${{ github.ref_name }}\n        fetch-depth: 0 # fetch the whole repo for complete history\n\n    - name: Setup github user\n      run: |\n        git config --global user.email ${{ env.GIT_EMAIL }}\n        git config --global user.name ${{ env.GIT_USERNAME }}\n        git config --global pull.ff only\n      env:\n        GIT_EMAIL: ${{ secrets.BUILD_GIT_EMAIL }}\n        GIT_USERNAME: ${{ secrets.BUILD_GIT_USERNAME }}\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Install piptools\n      run: pip install pip-tools setuptools-rust\n\n    - name: Update Requirements files\n      run: |\n        ./scripts/update-packages.sh ${{ inputs.package_update_list }}\n        requ_list=( 'requirements-server' 'requirements-worker' 'requirements' 'kubernetes/worker-controller/requirements')\n        for fl in \"${requ_list[@]}\"; do\n          git add $fl.txt\n        done\n\n    - name: Git Commit\n      run: |\n        [[ -z $(git status -s) ]] || git commit -m \"Updated Package Requirements: ${{ inputs.package_update_list }}\"\n\n    - name: Push\n      run: git push\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:50:05.753992", "created_at": "2022-11-14T11:13:32+01:00", "updated_at": "2022-12-14T12:46:31+01:00", "name": "OasisPlatform Version", "path": ".github/workflows/version.yml", "contents": "name: OasisPlatform Version\n\non:\n  workflow_dispatch:\n    inputs:\n      platform_version:\n        description: 'Update platform version [semvar]'\n        required: true\n      oasislmf_version:\n        description: 'Update oasislmf package [semvar]'\n        required: false\n      ods_tools_version:\n        description: 'Update the ods-tools package [semvar]'\n        required: false\n\n  workflow_call:\n    inputs:\n      platform_version:\n        description: 'Update version, semvar, input \"{n}.{n}.{n}\" or for pre-release \"{n}.{n}.{n}rc{n}\" [3.0.0, 3.0.0rc1]  '\n        required: true\n        type: string\n      oasislmf_version:\n        description: 'Update the package version'\n        required: false\n        type: string\n      ods_tools_version:\n        description: 'Update the package version'\n        required: false\n        type: string\n\njobs:\n  version:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check valid semvar\n      run: |\n        VALID=$(echo ${{ inputs.platform_version }} | grep -oPc \"^(\\d+)\\.(\\d+)\\.(\\d+)rc(\\d+)|(\\d+)\\.(\\d+)\\.(\\d+)$\")\n        [[ \"$VALID\" -eq \"1\" ]] || exit 1\n\n    - name: Check backport branch matches version (Platform)\n      if: startsWith(github.ref_name, 'backports/')\n      run: |\n        BRANCH_VER=$(echo ${{ github.ref_name }} | grep -oP \"(\\d+)\\.(\\d+)\")\n        VALID=$(echo ${{ inputs.platform_version }} | grep $BRANCH_VER -c)\n        if [[ ! \"$VALID\" == 1 ]]; then\n            echo \"Release Tag ${{ inputs.platform_version }} doesn't match branch ${{ github.ref_name }}\"\n            exit 1\n        fi\n\n    - name: Check backport branch matches version (Oasislmf)\n      if: startsWith(github.ref_name, 'backports/') && inputs.oasislmf_version != ''\n      run: |\n        BRANCH_VER=$(echo ${{ github.ref_name }} | grep -oP \"(\\d+)\\.(\\d+)\")\n        VALID=$(echo ${{ inputs.oasislmf_version }} | grep $BRANCH_VER -c)\n        if [[ ! \"$VALID\" == 1 ]]; then\n            echo \"Release Tag ${{ inputs.oasislmf_version }} doesn't match branch ${{ github.ref_name }}\"\n            exit 1\n        fi\n\n    - name: Checkout\n      uses: actions/checkout@v3\n      with:\n        ref: ${{ github.ref_name }}\n        fetch-depth: 0 # fetch the whole repo for complete history\n\n    - name: Setup github user\n      run: |\n        git config --global user.email ${{ env.GIT_EMAIL }}\n        git config --global user.name ${{ env.GIT_USERNAME }}\n        git config --global pull.ff only\n      env:\n        GIT_EMAIL: ${{ secrets.BUILD_GIT_EMAIL }}\n        GIT_USERNAME: ${{ secrets.BUILD_GIT_USERNAME }}\n\n    - name: Update Platform Version\n      run: |\n        echo ${{ inputs.platform_version }} > VERSION\n        git add VERSION\n\n    - name: Set up Python 3.10\n      if: inputs.oasislmf_version != ''\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Install piptools\n      run: pip install pip-tools\n\n    - name: Update Oasislmf Version\n      if: inputs.oasislmf_version != ''\n      run: |\n        requ_list=( 'requirements-server' 'requirements-worker' 'requirements')\n        for fl in \"${requ_list[@]}\"; do\n          pip-compile --upgrade-package oasislmf==${{ inputs.oasislmf_version }} $fl.in\n          git add $fl.txt\n        done\n\n    - name: Update ods-tools Version\n      if: inputs.ods_tools_version != ''\n      run: |\n        requ_list=( 'requirements-server' 'requirements-worker' 'requirements')\n        for fl in \"${requ_list[@]}\"; do\n          pip-compile --upgrade-package ods-tools==${{ inputs.ods_tools_version }} $fl.in\n          git add $fl.txt\n        done\n\n    - name: Git Commit\n      run: |\n        [[ -z $(git status -s) ]] || git commit -m \"Set version ${{ inputs.platform_version }}\"\n\n    - name: Push\n      run: git push\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n", "state": "active", "repository": "oasislmf/oasisplatform"}
{"mined_at": "2024-07-15T12:50:07.836891", "created_at": "2022-08-11T19:43:09+02:00", "updated_at": "2022-08-17T00:54:47+02:00", "name": "Upload Python Package to PyPI and Anaconda", "path": ".github/workflows/deploy.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package to PyPI and Anaconda\n\non:\n  release:\n    types: [created]\n\njobs:\n  run_linter:\n    uses: ./.github/workflows/run_linter.yml\n\n  run_test_suite:\n    uses: ./.github/workflows/run_type_checked_test_suite.yml\n\n  deploy_pypi:\n    runs-on: ubuntu-latest\n    needs: run_test_suite\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools_scm setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python -m setuptools_scm\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n\n  deploy_conda:\n    runs-on: ubuntu-latest\n    needs: run_test_suite\n    steps:\n    - uses: actions/checkout@v2\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        auto-update-conda: false\n        python-version: \"3.8\"\n    - name: Install dependencies\n      run: |\n        conda install -y anaconda-client conda-build\n        pip install setuptools_scm\n    - name: Build and publish\n      run: |\n        conda config --set anaconda_upload yes\n        conda config --append channels pytorch\n        conda config --append channels gpytorch\n        /usr/share/miniconda/bin/anaconda login --username ${{ secrets.CONDA_USERNAME }} --password ${{ secrets.CONDA_PASSWORD }}\n        python -m setuptools_scm\n        cd .conda\n        conda build .\n        /usr/share/miniconda/bin/anaconda logout\n        cd ..\n", "state": "active", "repository": "cornellius-gp/linear_operator"}
{"mined_at": "2024-07-15T12:50:08.889946", "created_at": "2023-04-24T18:32:17+02:00", "updated_at": "2023-05-02T22:35:33+02:00", "name": "Pull Request CI", "path": ".github/workflows/pull_request.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Pull Request CI\n\non:\n  pull_request:\n    branches: [ main ]\n\njobs:\n  run_linter:\n    uses: ./.github/workflows/run_linter.yml\n\n  run_test_suite:\n    uses: ./.github/workflows/run_test_suite.yml\n\n  run_small_type_checked_test_suite:\n    uses: ./.github/workflows/run_type_checked_test_suite.yml\n    with:\n      files_to_test: \"test/operators/test_dense_linear_operator.py test/operators/test_diag_linear_operator.py test/operators/test_kronecker_product_linear_operator.py\"\n", "state": "active", "repository": "cornellius-gp/linear_operator"}
{"mined_at": "2024-07-15T12:50:09.939810", "created_at": "2023-05-02T22:35:33+02:00", "updated_at": "2023-05-02T22:35:33+02:00", "name": "Push to Main CI", "path": ".github/workflows/push_to_main.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Push to Main CI\n\non:\n  push:\n    branches: [ main ]\n\njobs:\n  run_linter:\n    uses: ./.github/workflows/run_linter.yml\n\n  run_test_suite:\n    uses: ./.github/workflows/run_type_checked_test_suite.yml\n", "state": "active", "repository": "cornellius-gp/linear_operator"}
{"mined_at": "2024-07-15T12:50:10.987587", "created_at": "2023-05-02T22:35:33+02:00", "updated_at": "2023-05-02T22:35:33+02:00", "name": "Run Linter", "path": ".github/workflows/run_linter.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Run Linter\n\non:\n  workflow_call:\n\njobs:\n  run_linter:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8\"\n    - name: Install dependencies\n      run: |\n        pip install flake8==5.0.4 flake8-print==5.0.0 pre-commit\n        pre-commit install\n        pre-commit run seed-isort-config || true\n    - name: Run linting\n      run: |\n        flake8\n    - name: Run pre-commit checks\n      # skipping flake8 here (run separatey above b/c pre-commit does not include flake8-print)\n      run: |\n        SKIP=flake8 pre-commit run --files test/**/*.py linear_operator/**/*.py\n", "state": "active", "repository": "cornellius-gp/linear_operator"}
{"mined_at": "2024-07-15T12:50:12.025700", "created_at": "2022-08-11T19:36:04+02:00", "updated_at": "2023-04-24T18:23:42+02:00", "name": "Run Test Suite", "path": ".github/workflows/run_test_suite.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Run Test Suite\n\non:\n  workflow_call:\n\njobs:\n  run_unit_tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        pytorch-version: [\"latest\", \"stable\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8\"\n    - name: Install dependencies\n      run: |\n        if [[ ${{ matrix.pytorch-version }} = \"latest\" ]]; then\n          pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html;\n        else\n          pip install torch==1.11+cpu -f https://download.pytorch.org/whl/torch_stable.html;\n        fi\n        pip install -e \".[test]\"\n    - name: Run unit tests\n      run: |\n        python -m unittest discover\n", "state": "active", "repository": "cornellius-gp/linear_operator"}
{"mined_at": "2024-07-15T12:50:13.019961", "created_at": "2023-05-02T22:35:34+02:00", "updated_at": "2023-05-02T22:35:34+02:00", "name": "Run Type Checked Test Suite", "path": ".github/workflows/run_type_checked_test_suite.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Run Type Checked Test Suite\n\non:\n  workflow_call:\n    inputs:\n      files_to_test:\n        required: false\n        type: string\n\njobs:\n  run_type_checked_unit_tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        pytorch-version: [\"latest\", \"stable\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8\"\n    - name: Install dependencies\n      run: |\n        if [[ ${{ matrix.pytorch-version }} = \"latest\" ]]; then\n          pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html;\n        else\n          pip install torch==1.11+cpu -f https://download.pytorch.org/whl/torch_stable.html;\n        fi\n        pip install -e \".[test]\"\n    - name: Run unit tests\n      run: |\n        pytest ${{ inputs.files_to_test }} --jaxtyping-packages=linear_operator,typeguard.typechecked\n", "state": "active", "repository": "cornellius-gp/linear_operator"}
{"mined_at": "2024-07-15T12:50:15.175103", "created_at": "2021-04-15T13:37:51+02:00", "updated_at": "2021-04-15T13:37:51+02:00", "name": "Main testing workflow", "path": ".github/workflows/main.yml", "contents": "name: Main testing workflow\n\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  test-run:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - python-version: \"3.8\"\n            toxfactor: py3.8\n            ignore-typecheck-outcome: true\n            ignore-test-outcome: false\n          - python-version: \"3.9\"\n            toxfactor: py3.9\n            ignore-typecheck-outcome: true\n            ignore-test-outcome: false\n          - python-version: \"3.10\"\n            toxfactor: py3.10\n            ignore-typecheck-outcome: true\n            ignore-test-outcome: false\n          - python-version: \"3.11\"\n            toxfactor: py3.11\n            ignore-typecheck-outcome: true\n            ignore-test-outcome: false\n          - python-version: \"3.12\"\n            toxfactor: py3.12\n            ignore-typecheck-outcome: true\n            ignore-test-outcome: false\n          - python-version: \"3.13-dev\"\n            toxfactor: py3.13\n            ignore-typecheck-outcome: true\n            ignore-test-outcome: false\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      id: setup-python\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install poetry\n      run: |\n        python -m pip install poetry==1.8.2\n\n    - name: Configure poetry\n      run: |\n        python -m poetry config virtualenvs.in-project true\n\n    - name: Cache the virtualenv\n      id: poetry-dependencies-cache\n      uses: actions/cache@v3\n      with:\n        path: ./.venv\n        key: ${{ runner.os }}-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n    - name: Install dev dependencies\n      if: steps.poetry-dependencies-cache.outputs.cache-hit != 'true'\n      run: |\n        python -m poetry install --only=dev\n\n    - name: Type checking\n      # Ignore errors for older pythons\n      continue-on-error: ${{ matrix.ignore-typecheck-outcome }}\n      run: |\n        source .venv/bin/activate\n        tox -e mypy\n\n    - name: Test with tox\n      continue-on-error: ${{ matrix.ignore-test-outcome }}\n      run: |\n        source .venv/bin/activate\n        coverage erase\n        tox run-parallel -f ${{ matrix.toxfactor }} --parallel-no-spinner --parallel-live\n        coverage combine\n        coverage xml\n\n    - uses: codecov/codecov-action@v3\n      with:\n        # Explicitly using the token to avoid Codecov rate limit errors\n        # See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954\n        token: ${{ secrets.CODECOV_TOKEN }}\n        fail_ci_if_error: true\n        verbose: true # optional (default = false)\n", "state": "active", "repository": "pytest-dev/pytest-bdd"}
{"mined_at": "2024-07-15T12:50:17.445666", "created_at": "2022-03-19T13:36:02+01:00", "updated_at": "2022-03-19T13:43:11+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Filter changed file paths to outputs\n        uses: dorny/paths-filter@v3.0.2\n        id: changes\n        with:\n          filters: |\n            root_docs:\n              - CHANGES\n              - README.*\n            docs:\n              - 'docs/**'\n              - 'examples/**'\n            python_files:\n              - 'src/libtmux/**'\n              - poetry.lock\n              - pyproject.toml\n\n      - name: Should publish\n        if: steps.changes.outputs.docs == 'true' || steps.changes.outputs.root_docs == 'true' || steps.changes.outputs.python_files == 'true'\n        run: echo \"PUBLISH=$(echo true)\" >> $GITHUB_ENV\n\n      - name: Install poetry\n        if: env.PUBLISH == 'true'\n        run: pipx install \"poetry==1.8.2\"\n\n      - name: Set up Python ${{ matrix.python-version }}\n        if: env.PUBLISH == 'true'\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n\n      - name: Install dependencies [w/ docs]\n        if: env.PUBLISH == 'true'\n        run: poetry install --with=docs,lint\n\n      - name: Print python versions\n        if: env.PUBLISH == 'true'\n        run: |\n          python -V\n          poetry run python -V\n\n      - name: Build documentation\n        if: env.PUBLISH == 'true'\n        run: |\n          pushd docs; make SPHINXBUILD='poetry run sphinx-build' html; popd\n\n      - name: Push documentation to S3\n        uses: jakejarvis/s3-sync-action@v0.5.1\n        if: env.PUBLISH == 'true'\n        with:\n          args: --acl public-read --follow-symlinks --delete\n        env:\n          AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_REGION: 'us-west-1' # optional: defaults to us-east-1\n          SOURCE_DIR: 'docs/_build/html' # optional: defaults to entire repository\n\n      - name: Purge cache on Cloudflare\n        if: env.PUBLISH == 'true'\n        uses: jakejarvis/cloudflare-purge-action@v0.3.0\n        env:\n          CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}\n          CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}\n", "state": "active", "repository": "tmux-python/libtmux"}
{"mined_at": "2024-07-15T12:50:18.553959", "created_at": "2020-08-11T02:36:36+02:00", "updated_at": "2020-08-11T02:36:36+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non: [push, pull_request]\n\njobs:\n  build:\n    # Don't run twice for internal PRs from our own repo\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.12']\n        tmux-version: ['2.6', '2.7', '2.8', '3.0a', '3.1b', '3.2a', '3.3a', '3.4', 'master']\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install poetry\n        run: pipx install \"poetry==1.8.2\"\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n\n      - name: Setup tmux build cache for tmux ${{ matrix.tmux-version }}\n        id: tmux-build-cache\n        uses: actions/cache@v4\n        with:\n          path: ~/tmux-builds/tmux-${{ matrix.tmux-version }}\n          key: tmux-${{ matrix.tmux-version }}\n\n      - name: Build tmux ${{ matrix.tmux-version }}\n        if: steps.tmux-build-cache.outputs.cache-hit != 'true'\n        run: |\n          sudo apt install libevent-dev libncurses5-dev libtinfo-dev libutempter-dev bison\n          mkdir ~/tmux-builds\n          mkdir ~/tmux-src\n          git clone https://github.com/tmux/tmux.git ~/tmux-src/tmux-${{ matrix.tmux-version }}\n          cd ~/tmux-src/tmux-${{ matrix.tmux-version }}\n          git checkout ${{ matrix.tmux-version }}\n          sh autogen.sh\n          ./configure --prefix=$HOME/tmux-builds/tmux-${{ matrix.tmux-version }} && make && make install\n          export PATH=$HOME/tmux-builds/tmux-${{ matrix.tmux-version }}/bin:$PATH\n          cd ~\n          tmux -V\n\n      - name: Install python dependencies\n        run: |\n          poetry install --with=test,coverage,lint\n\n      - name: Lint with ruff check\n        run: poetry run ruff check .\n\n      - name: Format with ruff format\n        run: poetry run ruff format . --check\n\n      - name: Lint with mypy\n        run: poetry run mypy .\n\n      - name: Print python versions\n        run: |\n          python -V\n          poetry run python -V\n\n      - name: Test with pytest\n        continue-on-error: ${{ matrix.tmux-version == 'master' }}\n        run: |\n          sudo apt install libevent-2.1-7\n          export PATH=$HOME/tmux-builds/tmux-${{ matrix.tmux-version }}/bin:$PATH\n          ls $HOME/tmux-builds/tmux-${{ matrix.tmux-version }}/bin\n          tmux -V\n          poetry run py.test --cov=./ --cov-append --cov-report=xml -n auto\n        env:\n          COV_CORE_SOURCE: .\n          COV_CORE_CONFIG: .coveragerc\n          COV_CORE_DATAFILE: .coverage.eager\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  release:\n    runs-on: ubuntu-latest\n    needs: build\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n\n    strategy:\n      matrix:\n        python-version: ['3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install poetry\n        run: pipx install \"poetry==1.8.2\"\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n\n      - name: Build package\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        run: poetry build\n\n      - name: Publish package\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip_existing: true\n", "state": "active", "repository": "tmux-python/libtmux"}
{"mined_at": "2024-07-15T12:50:19.639076", "created_at": "2023-11-26T19:42:30+01:00", "updated_at": "2023-11-26T19:42:30+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tmux-python/libtmux"}
{"mined_at": "2024-07-15T12:50:21.712774", "created_at": "2020-11-23T06:45:18+01:00", "updated_at": "2020-11-23T06:45:18+01:00", "name": "Code Quality", "path": ".github/workflows/code-quality.yml", "contents": "name: Code Quality\n\n# Only run on branches (e.g. not tags)\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"*\"\n\njobs:\n  formatting:\n    name: Formatting\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - name: Install black\n        run: pip install black\n\n      - name: Run black\n        run: black --quiet --check --diff .\n\n  static-analysis:\n    name: Static Analysis\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - name: Install Flake8\n        run: pip install flake8 flake8-import-order flake8-bugbear pep8-naming\n\n      - name: Run Flake8\n        run: flake8\n\n  type-checking:\n    name: Type Checking\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - name: Install MyPy\n        run: pip install mypy hypothesis pytest pytest-mock fastnumbers\n\n      - name: Run MyPy\n        run: mypy --strict natsort tests\n\n  package-validation:\n    name: Package Validation\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - name: Install Validators\n        run: pip install twine check-manifest\n\n      - name: Run Validation\n        run: |\n          check-manifest --ignore \".github*,*.md,.coveragerc\"\n          python setup.py sdist\n          twine check dist/*\n", "state": "active", "repository": "sethmmorton/natsort"}
{"mined_at": "2024-07-15T12:50:22.752246", "created_at": "2020-11-24T08:08:32+01:00", "updated_at": "2021-01-25T06:19:26+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\n# Only run on tagged commits\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  deploy:\n    name: Deploy\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n\n      - name: Build Source Distribution and Wheel\n        run: |\n          pip install wheel\n          python setup.py sdist --format=gztar\n          pip wheel . -w dist\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_token_password }}\n", "state": "active", "repository": "sethmmorton/natsort"}
{"mined_at": "2024-07-15T12:50:23.765399", "created_at": "2020-11-23T07:33:29+01:00", "updated_at": "2020-11-24T06:10:41+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\n# Only run on branches (e.g. not tags)\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"*\"\n\njobs:\n  tests:\n    name: Tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9, \"3.10\", \"3.11\"]\n        os: [ubuntu-latest]\n        extras: [false]\n        include:\n          - {python-version: 3.9, os: windows-latest, extras: false}\n          - {python-version: 3.9, os: macos-latest, extras: false}\n          - {python-version: 3.9, os: ubuntu-latest, extras: true}\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Locales\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo apt-get update\n          sudo apt-get install language-pack-de language-pack-en language-pack-cs\n\n      - name: Install ICU\n        if: matrix.extras\n        run: sudo apt-get install libicu-dev\n\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox tox-gh-actions codecov\n\n      - name: Set Extras Environment\n        if: matrix.extras\n        run: echo WITH_EXTRAS=fast,icu >> $GITHUB_ENV\n\n      - name: Run Tests\n        run: tox\n\n      - name: Generate Coverage Report\n        run: coverage xml\n\n      - name: Upload to CodeCov\n        uses: codecov/codecov-action@v3\n\n  test-bsd:\n    name: Test on FreeBSD\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Install and Run Tests\n        uses: vmactions/freebsd-vm@v1\n        with:\n          prepare: |\n            pkg install -y python3\n\n          run: |\n            python3 -m venv .venv\n            . .venv/bin/activate\n            pip install --upgrade pip\n            pip install pytest pytest-mock hypothesis\n            python -m pytest --hypothesis-profile=slow-tests\n", "state": "active", "repository": "sethmmorton/natsort"}
{"mined_at": "2024-07-15T12:50:25.939513", "created_at": "2022-08-24T16:54:22+02:00", "updated_at": "2022-09-06T14:40:33+02:00", "name": "Linting", "path": ".github/workflows/lint.yml", "contents": "name: Linting\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  linter:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n    - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "salib/salib"}
{"mined_at": "2024-07-15T12:50:26.923733", "created_at": "2022-09-06T14:40:33+02:00", "updated_at": "2022-09-06T14:40:33+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\n\non:\n  push:\n    tags:\n      - 'v*.*.*'\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n\n      - name: Install hatch\n        run: pip install hatch\n\n      - name: Build\n        run: hatch build\n\n      - name: Publish to PyPI\n        env:\n          HATCH_INDEX_USER: __token__\n          HATCH_INDEX_AUTH: ${{ secrets.PYPI_API_TOKEN }}\n        run: |\n          hatch publish -y\n", "state": "active", "repository": "salib/salib"}
{"mined_at": "2024-07-15T12:50:27.938733", "created_at": "2022-08-24T17:07:12+02:00", "updated_at": "2022-09-06T14:40:33+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  pytest:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.12']\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          activate-environment: SALib\n          python-version: ${{ matrix.python-version }}\n          channels: conda-forge\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          channel-priority: true\n\n      - name: Get Date\n        id: get-date\n        run: echo \"::set-output name=month::$(/bin/date -u '+%Y%m')\"\n        shell: bash\n\n      - name: Cache conda\n        uses: actions/cache@v3\n        env:\n          # Increase this value to reset cache if environment.yml has not changed\n          CACHE_NUMBER: 0\n        with:\n          path: ${{ env.CONDA }}/envs/SALib\n          key:\n            ${{ runner.os }}--${{ steps.get-date.outputs.month }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}\n        id: envcache\n\n      - name: Update Conda Environment\n        run: |\n          mamba env update -n SALib -f environment.yml\n        if: steps.envcache.outputs.cache-hit != 'true'\n\n      - name: Install package\n        run: |\n          conda activate SALib\n          pip install .[test]\n\n      - name: Test\n        if: matrix.python-version != '3.12'\n        run: |\n          conda activate SALib\n          pytest\n\n      - name: Test with coverage and uploads\n        if: matrix.python-version == '3.12'\n        run: |\n          conda activate SALib\n          python -m pip install coveralls\n          pytest --cov SALib --cov-report html --verbose\n          coveralls\n", "state": "active", "repository": "salib/salib"}
{"mined_at": "2024-07-15T12:50:28.885292", "created_at": "2023-06-27T14:40:39+02:00", "updated_at": "2023-06-27T14:40:39+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "salib/salib"}
{"mined_at": "2024-07-15T12:50:31.047073", "created_at": "2020-11-10T16:40:26+01:00", "updated_at": "2022-07-27T03:22:59+02:00", "name": "Pyrollbar CI", "path": ".github/workflows/ci.yml", "contents": "name: Pyrollbar CI\n\non:\n  push:\n    branches: [ master ]\n    tags: [ v* ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [3.6, 3.7, 3.8, 3.9, '3.10', 3.11]\n        framework:\n          - FLASK_VERSION=1.1.4\n          - FLASK_VERSION=2.2.3\n          - DJANGO_VERSION=1.11.29\n          - DJANGO_VERSION=2.2.28\n          - DJANGO_VERSION=3.2.18\n          - DJANGO_VERSION=4.0.10\n          - DJANGO_VERSION=4.1.7\n          - TWISTED_VERSION=20.3.0\n          - TWISTED_VERSION=21.7.0\n          - TWISTED_VERSION=22.10.0\n          - PYRAMID_VERSION=1.10.8\n          - STARLETTE_VERSION=0.12.13 httpx==0.18.1 python-multipart==0.0.5\n          - STARLETTE_VERSION=0.14.2 httpx==0.18.1 python-multipart==0.0.5\n          - FASTAPI_VERSION=0.40.0 httpx==0.18.1 python-multipart==0.0.5\n          - FASTAPI_VERSION=0.50.0 httpx==0.18.1 python-multipart==0.0.5\n          - FASTAPI_VERSION=0.63.0 httpx==0.18.1 python-multipart==0.0.5\n        exclude:\n          # Test frameworks on the python versions they support, according to pypi registry\n          # Flask\n          - framework: FLASK_VERSION=2.2.3\n            python-version: 3.6\n\n          # Django\n          - framework: DJANGO_VERSION=1.11.29\n            python-version: 3.8\n          - framework: DJANGO_VERSION=1.11.29\n            python-version: 3.9\n          - framework: DJANGO_VERSION=1.11.29\n            python-version: '3.10'\n          - framework: DJANGO_VERSION=1.11.29\n            python-version: 3.11\n          - framework: DJANGO_VERSION=4.0.10\n            python-version: 3.6\n          - framework: DJANGO_VERSION=4.0.10\n            python-version: 3.7\n          - framework: DJANGO_VERSION=4.1.7\n            python-version: 3.5\n          - framework: DJANGO_VERSION=4.1.7\n            python-version: 3.6\n          - framework: DJANGO_VERSION=4.1.7\n            python-version: 3.7\n\n          # Twisted\n          - framework: TWISTED_VERSION=20.3.0\n            python-version: 3.11\n          - framework: TWISTED_VERSION=22.10.0\n            python-version: 3.6\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: recursive\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Python 3.6 dependencies\n        if: ${{ contains(matrix.python-version, '3.6') }}\n        # typing-extensions dropped support for Python 3.6 in version 4.2\n        run: pip install \"typing-extensions<4.2\" requests==2.27.0 blinker==1.5 immutables==0.19\n\n      - name: Install Python 3.7 dependencies\n        if: ${{ contains(matrix.python-version, '3.7') }}\n        # immutables dropped support for Python<3.8 in version 0.20\n        run: pip install immutables==0.19\n\n      - name: Set the framework\n        run: echo ${{ matrix.framework }} >> $GITHUB_ENV\n\n      - name: Install Flask\n        if: ${{ contains(matrix.framework, 'FLASK_VERSION') }}\n        run: pip install Flask==$FLASK_VERSION\n\n      - name: Install Twisted\n        if: ${{ contains(matrix.framework, 'TWISTED_VERSION') }}\n        run: pip install Twisted==$TWISTED_VERSION idna==2.10\n\n      - name: Install Django\n        if: ${{ contains(matrix.framework, 'DJANGO_VERSION') }}\n        run: pip install Django==$DJANGO_VERSION\n\n      - name: Install Pyramid\n        if: ${{ contains(matrix.framework, 'PYRAMID_VERSION') }}\n        run: pip install pyramid==$PYRAMID_VERSION\n\n      - name: Install Starlette\n        if: ${{ contains(matrix.framework, 'STARLETTE_VERSION') }}\n        run: pip install starlette==$STARLETTE_VERSION\n\n      - name: Install FastAPI\n        if: ${{ contains(matrix.framework, 'FASTAPI_VERSION') }}\n        run: pip install fastapi==$FASTAPI_VERSION\n\n      - name: Run tests\n        run: python setup.py test\n", "state": "active", "repository": "rollbar/pyrollbar"}
{"mined_at": "2024-07-15T12:50:33.197346", "created_at": "2023-06-26T11:34:23+02:00", "updated_at": "2023-12-01T13:38:48+01:00", "name": "tests", "path": ".github/workflows/test_and_deploy.yml", "contents": "name: tests\n\non:\n  push:\n    branches:\n      - 'main'\n    tags:\n      - 'v**'\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  # Cancel this workflow if it is running,\n  # and then changes are applied on top of the HEAD of the branch,\n  # triggering another run of the workflow\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: neuroinformatics-unit/actions/lint@v2\n\n  manifest:\n    name: Check Manifest\n    runs-on: ubuntu-latest\n    steps:\n      - uses: neuroinformatics-unit/actions/check_manifest@v2\n\n  test:\n    needs: [linting, manifest]\n    name: ${{ matrix.os }} py${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        # Run all supported Python versions on linux\n        os: [ubuntu-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        # Include one windows and two macOS (intel based and arm based) runs\n        include:\n          - os: macos-13\n            python-version: \"3.12\"\n          - os: macos-latest\n            python-version: \"3.12\"\n          - os: windows-latest\n            python-version: \"3.12\"\n\n    steps:\n      - name: Cache brainglobe directory\n        uses: actions/cache@v3\n        with:\n          path: | # ensure we don't cache any interrupted atlas download and extraction, if e.g. we cancel the workflow manually\n            ~/.brainglobe\n            !~/.brainglobe/atlas.tar.gz\n          key: brainglobe\n\n      - name: Install hdf5 libs for Mac\n        if: runner.os == 'macOS'\n        run: brew install hdf5\n\n      # Helps set up VTK with a headless display\n      - uses: pyvista/setup-headless-display-action@v2\n\n      # Sets up ffmpeg to we can run video tests on CI\n      - uses: FedericoCarboni/setup-ffmpeg@v2\n        if: matrix.os != 'macos-latest'\n        id: setup-ffmpeg\n\n      - name: setup ffmpeg on latest Mac with brew\n        if: matrix.os == 'macos-latest'\n        run: brew install ffmpeg\n\n      # Run tests\n      - uses: neuroinformatics-unit/actions/test@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          secret-codecov-token: ${{ secrets.CODECOV_TOKEN }}\n\n  build_sdist_wheels:\n    name: Build source distribution\n    needs: [test]\n    if: github.event_name == 'push' && github.ref_type == 'tag'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: neuroinformatics-unit/actions/build_sdist_wheels@v2\n\n\n  upload_all:\n    name: Publish build distributions\n    needs: [build_sdist_wheels]\n    runs-on: ubuntu-latest\n    steps:\n    - uses: neuroinformatics-unit/actions/upload_pypi@v2\n      with:\n        secret-pypi-key: ${{ secrets.TWINE_API_KEY }}\n", "state": "active", "repository": "brainglobe/brainrender"}
{"mined_at": "2024-07-15T12:50:35.459178", "created_at": "2020-01-11T02:20:52+01:00", "updated_at": "2020-01-11T17:19:09+01:00", "name": "status", "path": "", "contents": null, "state": "active", "repository": "analysiscenter/batchflow"}
{"mined_at": "2024-07-15T12:50:36.460603", "created_at": "2019-12-24T13:31:22+01:00", "updated_at": "2020-01-12T23:08:48+01:00", "name": "docs", "path": ".github/workflows/doc.yml", "contents": "name: docs\n\non:\n  pull_request:\n    types: [closed]\n    branches:\n    - master\n\njobs:\n\n  doc:\n\n    runs-on: ubuntu-latest\n\n    container:\n      image: analysiscenter1/ds-py3\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n          fetch-depth: 1\n\n    - name: Build docs\n      run: |\n        export LC_ALL=\"C\"\n        pip3 install sphinx\n        pip3 install sphinx-rtd-theme\n        git checkout --orphan gh-pages\n        rm -rf *\n        git fetch\n        git reset\n        git clean -fdx\n        git checkout ${{ github.sha }} -- batchflow docs\n        cd docs\n        make html\n\n    - name: Push docs\n      if: github.event_name == 'pull_request'\n      run: |\n        mv docs/_build/html/* .\n        rm -rf docs batchflow\n        touch .nojekyll\n        git config user.email rhudor@gmail.com\n        git config user.name \"Roman Kh\"\n        git add -A .\n        git commit -am \"Build docs\"\n        git remote add gh_pages https://${{ secrets.GITHUB_PUSH}}@github.com/${{ github.repository }}\n        git push -f gh_pages gh-pages\n", "state": "active", "repository": "analysiscenter/batchflow"}
{"mined_at": "2024-07-15T12:50:37.602116", "created_at": "2021-03-04T12:37:28+01:00", "updated_at": "2021-03-04T12:37:28+01:00", "name": "release-check", "path": ".github/workflows/release-check.yml", "contents": "name: release-check\n\non:\n  release:\n    types: [created, edited]\n\n\njobs:\n\n  pypi:\n    needs: check-version\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n\n    - name: Install dependencies\n      run: pip install --user -U pip poetry\n\n    - name: Build and publish\n      env:\n        _PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}\n      run: |\n        poetry install\n        poetry build\n        poetry config repositories.testpypi https://test.pypi.org/legacy/\n        poetry config pypi-token.testpypi $_PASSWORD\n        poetry publish --repository testpypi\n", "state": "active", "repository": "analysiscenter/batchflow"}
{"mined_at": "2024-07-15T12:50:38.828891", "created_at": "2020-12-14T16:33:39+01:00", "updated_at": "2020-12-28T13:14:18+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  release:\n    types: [released]\n\n\njobs:\n\n  codecov:\n    runs-on: ubuntu-latest\n\n    container:\n      image: analysiscenter1/ds-py3\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Generate coverage report\n      run: |\n        pip3 install -U pytest-cov\n        pytest -m \"not slow\" --cov=./ --cov-report=xml\n\n    - name: Upload coverage to Codecov\n      run: |\n        pip3 install -U codecov\n        codecov -t ${{ secrets.CODECOV_TOKEN }}\n\n\n  pypi:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n\n    - name: Install dependencies\n      run: pip install --user --upgrade pip poetry\n\n    - name: Build and publish\n      env:\n        _PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}\n      run: |\n        poetry install\n        poetry build\n        poetry config pypi-token.pypi $_PASSWORD\n        poetry publish\n", "state": "active", "repository": "analysiscenter/batchflow"}
{"mined_at": "2024-07-15T12:50:39.964979", "created_at": "2020-01-11T17:25:32+01:00", "updated_at": "2020-02-20T09:51:50+01:00", "name": "status", "path": ".github/workflows/status.yml", "contents": "name: status\n\non:\n  push:\n    paths-ignore:\n    - 'docs/**'\n\njobs:\n\n  lint-test:\n\n    runs-on: ubuntu-latest\n\n    container:\n      image: analysiscenter1/ds-py3\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Update pylint\n      run: pip3 install pylint\n\n    - name: Check pylint\n      run: pylint -rn --rcfile pylintrc batchflow\n\n    - name: Run tests\n      if: always()\n      run: pytest -m \"not slow\" --disable-pytest-warnings -v\n", "state": "active", "repository": "analysiscenter/batchflow"}
{"mined_at": "2024-07-15T12:50:40.964048", "created_at": "2021-01-26T13:45:46+01:00", "updated_at": "2023-02-26T21:18:56+01:00", "name": "Test installation", "path": ".github/workflows/test-install.yml", "contents": "name: Test installation\n\non:\n  pull_request:\n    branches:\n    - master\n\njobs:\n\n# -----------------------------------------\n#    Use a module from local source\n# -----------------------------------------\n  use_as_local_module:\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [3.8, 3.9, '3.10', 3.11]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install batchflow requirements\n      run: |\n        pip install --user -U pip poetry\n        pip install -e .\n\n    - name: Run 'import batchflow'\n      run: python -c 'import batchflow'\n\n    - name: Run basic tests\n      run: |\n        pip install pytest\n        cd batchflow/tests\n        pytest --disable-pytest-warnings -v dataset_test.py filesindex_test.py datasetindex_test.py\n\n\n# -----------------------------------------\n#    Install with pip\n# -----------------------------------------\n  install_with_pip:\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [3.8, 3.9, '3.10', 3.11]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install batchflow with pip\n      run: |\n        pip install --user -U pip wheel\n        pip install --user \"git+https://github.com/${{ github.event.pull_request.head.repo.full_name }}.git@${{ github.head_ref }}\"\n\n    - name: Run 'import batchflow'\n      run: python -c 'import batchflow'\n\n    - uses: actions/checkout@v4\n    - name: Run basic tests\n      run: |\n        pip install -U pytest\n        cd batchflow/tests\n        pytest --disable-pytest-warnings -v dataset_test.py filesindex_test.py datasetindex_test.py\n\n\n# -----------------------------------------\n#    Install with poetry\n# -----------------------------------------\n  install_with_poetry:\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [3.8, 3.9, '3.10', 3.11]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install batchflow with poetry\n      run: |\n        pip install --user -U pip\n        pip install wheel poetry\n\n        echo '[tool.poetry]\n        name = \"test_project\"\n        description = \"test\"\n        version = \"0.0.1\"\n        authors = [\"Test <test@test.test>\"]\n\n        [tool.poetry.dependencies]\n        python = \"^${{ matrix.python-version }}\"\n\n        pytest = \"^7.0\"\n\n        [build-system]\n        requires = [\"poetry-core\"]\n        build-backend = \"poetry.core.masonry.api\"\n        ' >> pyproject.toml\n\n        poetry add git+https://github.com/${{ github.event.pull_request.head.repo.full_name }}.git@${{ github.head_ref }}\n\n    - name: Run 'import batchflow' in installed environment\n      run: poetry run python -c 'import batchflow'\n\n    - uses: actions/checkout@v4\n      with:\n        path: src\n\n    - name: Prepare directory\n      if: runner.os != 'Windows'\n      run: |\n        cp -r src/batchflow/tests .\n\n    - name: Prepare directory\n      if: runner.os == 'Windows'\n      run: |\n        xcopy /I /S src\\batchflow\\tests tests\n\n    - name: Run basic tests\n      run: |\n        cd tests\n        poetry run python -m pytest --disable-pytest-warnings -v dataset_test.py filesindex_test.py datasetindex_test.py\n", "state": "active", "repository": "analysiscenter/batchflow"}
{"mined_at": "2024-07-15T12:50:42.010144", "created_at": "2021-12-27T10:09:16+01:00", "updated_at": "2021-12-27T10:09:16+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "analysiscenter/batchflow"}
{"mined_at": "2024-07-15T12:50:44.149037", "created_at": "2020-12-06T00:10:53+01:00", "updated_at": "2020-12-06T00:10:53+01:00", "name": "Covasim CI workflow", "path": ".github/workflows/tests.yaml", "contents": "name: Covasim CI workflow\non: [pull_request]\n\njobs:\n  install_and_test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    strategy:\n      fail-fast: false\n      max-parallel: 8\n      matrix:\n        python-version: ['3.11']\n    name: Run tests\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v2\n      - uses: actions/setup-python@master\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Install Covasim\n        run: pip install -e .\n      - name: Install tests\n        working-directory: ./tests\n        run: pip install -r requirements_test.txt\n      - name: Run integration tests\n        working-directory: ./tests\n        run: pytest -v test_*.py unittests/test_*.py -n auto --durations=0 --junitxml=test-results.xml\n      - name: Publish test Results\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        if: always()\n        with:\n          junit_files: tests/test-results.xml\n", "state": "active", "repository": "institutefordiseasemodeling/covasim"}
{"mined_at": "2024-07-15T12:50:46.406875", "created_at": "2021-12-14T09:40:04+01:00", "updated_at": "2022-06-09T09:16:26+02:00", "name": "Continuous integration", "path": ".github/workflows/ci.yml", "contents": "name: Continuous integration\n\non:\n  - pull_request\n  - push\n\n\njobs:\n\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install tox pylint \"black<23\"\n      - name: Run Formatter\n        run: black --diff --check $(git ls-files '*.py')\n      - name: Run Linter\n        run: pylint --exit-zero $(git ls-files '*.py')\n      - name: Run tests with tox\n        run: tox -e py3\n      - name: Upload coverage report\n        if: ${{ matrix.python-version == 3.11 }} # Only upload coverage once\n        uses: codecov/codecov-action@v1", "state": "active", "repository": "deephyper/deephyper"}
{"mined_at": "2024-07-15T12:50:48.644057", "created_at": "2020-11-10T16:01:43+01:00", "updated_at": "2024-06-01T02:50:08+02:00", "name": "Run tests", "path": ".github/workflows/main.yml", "contents": "name: Run tests\n\non:\n  push:\n  pull_request:\n  schedule:\n    # run every Tuesday at 5am UTC\n    - cron: '0 5 * * 2'\n\njobs:\n  tests:\n    name: ${{ matrix.name}}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python-version: 3.9\n            name: Py3.9 mindeps\n            toxenv: py39-test\n          - os: ubuntu-latest\n            python-version: '3.10'\n            name: Py3.10 mindeps\n            toxenv: py310-test\n          - os: ubuntu-latest\n            python-version: 3.11\n            name: Py3.11 mindeps\n            toxenv: py311-test\n          - os: ubuntu-latest\n            python-version: 3.9\n            name: Py3.9 no visualization + coverage\n            toxenv: py39-test-noviz-cov\n          - os: ubuntu-latest\n            python-version: 3.8\n            name: Py3.8 mindeps\n            toxenv: py38-test\n          - os: ubuntu-latest\n            python-version: 3.9\n            name: Py3.9 noviz\n            toxenv: py39-test-noviz\n          - os: ubuntu-latest\n            python-version: 3.9\n            name: Py3.9 all\n            toxenv: py39-test-viz-noviz\n          - os: ubuntu-latest\n            python-version: 3.9\n            name: Py3.9 dev\n            toxenv: py39-test-dev\n          - os: ubuntu-latest\n            python-version: 3.9\n            name: Py3.9 viz\n            toxenv: py39-test-viz\n              #- os: ubuntu-latest\n              #  python-version: 3.9\n              #  name: Py3.9 viz w/yt & glue\n              #  toxenv: py39-test-viz-viz_extra\n          - os: ubuntu-latest\n            python-version: 3.9\n            name: Py3.9 all dev\n            toxenv: py39-test-viz-noviz-dev\n          - os: ubuntu-latest\n            python-version: 3.8\n            name: Py3.8 mindeps and CASA\n            toxenv: py38-test-casa\n          - os: ubuntu-latest\n            python-version: 3.9\n            name: Py3.9, noviz, dev\n            toxenv: py39-test-noviz-dev\n          - os: ubuntu-latest\n            python-version: 3.8\n            name: Py3.8 noviz (except CASA)\n            toxenv: py38-test-noviz\n          - os: macos-latest\n            python-version: 3.9\n            name: Py3.9 noviz (except CASA) MacOS X\n            toxenv: py39-test-noviz\n          - os: windows-latest\n            python-version: 3.9\n            name: Py3.9, noviz Windows\n            toxenv: py39-test-noviz-dev\n          - os: windows-latest\n            python-version: 3.9\n            name: Py3.9, noviz, dev; Windows\n            toxenv: py39-test-noviz-dev\n          - os: ubuntu-latest\n            python-version: 3.9\n            name: Documentation\n            toxenv: build_docs\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install testing dependencies\n      run: python -m pip install tox\n    - name: Run tests with ${{ matrix.name }}\n      run: tox -v -e ${{ matrix.toxenv }}\n    - name: Upload coverage to codecov\n      if: ${{ contains(matrix.toxenv,'-cov') }}\n      uses: codecov/codecov-action@v4\n      with:\n        file: ./coverage.xml\n", "state": "active", "repository": "radio-astro-tools/spectral-cube"}
{"mined_at": "2024-07-15T12:50:49.683068", "created_at": "2021-09-29T23:14:23+02:00", "updated_at": "2022-12-19T02:05:21+01:00", "name": "Build and upload to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Build and upload to PyPI\n\non: [push, pull_request]\n\njobs:\n  build_sdist_and_wheel:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.9'\n      - name: Install build\n        run: python -m pip install build\n      - name: Build sdist\n        run: python -m build --sdist --wheel --outdir dist/ .\n      - uses: actions/upload-artifact@v4\n        with:\n          path: dist/*\n\n  upload_pypi:\n    name: Upload to PyPI\n    needs: [build_sdist_and_wheel]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: artifact\n          path: dist\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "radio-astro-tools/spectral-cube"}
{"mined_at": "2024-07-15T12:50:50.804299", "created_at": "2024-06-04T16:26:08+02:00", "updated_at": "2024-06-04T16:26:08+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "radio-astro-tools/spectral-cube"}
{"mined_at": "2024-07-15T12:50:53.892010", "created_at": "2023-05-11T16:58:51+02:00", "updated_at": "2023-05-11T16:58:51+02:00", "name": "validate codemeta", "path": ".github/workflows/check_codemeta.yml", "contents": "name: validate codemeta\n\non:\n  push:\n    paths:\n      - codemeta.json\n  \njobs:\n  build:\n    runs-on: ubuntu-latest\n    container:\n      image: gitlab-registry.in2p3.fr/escape2020/wp3/eossr:v1.0\n    steps:\n      - uses: actions/checkout@v2\n      - name: validate codemeta\n        run: eossr-metadata-validator codemeta.json", "state": "active", "repository": "ctlearn-project/ctlearn"}
{"mined_at": "2024-07-15T12:50:54.905691", "created_at": "2022-07-15T01:32:35+02:00", "updated_at": "2024-06-07T10:15:12+02:00", "name": "CI", "path": ".github/workflows/python-package-conda.yml", "contents": "name: CI\n\non: [push]\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n        pyv: [3.9, '3.10', 3.11, 3.12]\n      max-parallel: 5\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.pyv }}\n      run: |\n        conda install -y python=${{ matrix.pyv }}\n    - name: Add conda to system path\n      run: |\n        # $CONDA is an environment variable pointing to the root of the miniconda directory\n        echo $CONDA/bin >> $GITHUB_PATH\n    - name: Install dependencies\n      run: |\n        conda env update --file environment.yml --name base\n    - name: Lint with flake8\n      run: |\n        conda install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Install with pip\n      run: |\n        pip install -e .\n    - name: Test with pytest\n      run: |\n        conda install pytest\n        pytest\n\n\n", "state": "active", "repository": "ctlearn-project/ctlearn"}
{"mined_at": "2024-07-15T12:50:55.901889", "created_at": "2024-06-12T12:19:34+02:00", "updated_at": "2024-06-17T11:12:29+02:00", "name": "Release CD", "path": ".github/workflows/release.yml", "contents": "name: Release CD\n\non:\n  release:\n    types: [published]\n\njobs:\n  pypi-publish:\n    name: Publish release to PyPI\n    environment:\n      name: pypi \n      url: https://pypi.org/project/ctlearn/\n    permissions:\n      id-token: write\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n        pyv: ['3.10']\n      max-parallel: 5\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.pyv }}\n      run: |\n        conda install -y python=${{ matrix.pyv }}\n        \n    - name: Add conda to system path\n      run: |\n        #$CONDA is an environment variable pointing to the root of the miniconda directory\n        echo $CONDA/bin >> $GITHUB_PATH \n        \n    - name: Install dependencies\n      run: |\n        conda env update --file environment.yml --name base \n        \n    - name: Get version\n      run: |\n        output=$(python ctlearn/versionScript.py)\n        echo \"version=$output\" >> $GITHUB_OUTPUT\n      id: step1  \n      \n    - name: Write\n      uses: 1arp/create-a-file-action@0.4.5\n      with:\n        path: '.'\n        isAbsolutePath: true\n        file: '.github/versionBackup.txt'\n        content: |\n          ${{ steps.step1.outputs.version }}\n          \n    - name: Push changes    \n      run: |\n        git config --global user.email \"rcervino@ucm.es\"\n        git config --global user.name \"rcervinoucm\"\n        git status\n        git add .\n        git commit -m \"version update\" --allow-empty\n        git push -u origin master   \n        \n    - name: Build package\n      run: |\n        python setup.py sdist bdist_wheel  # Could also be python -m build\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  condapublish:\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n        pyv: [\"3.10\"]\n      max-parallel: 5\n    runs-on: ${{ matrix.os }}\n    permissions:\n      id-token: write\n      contents: write\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        \n    - name: Set up Python ${{ matrix.pyv }}\n      run: |\n        conda install -y python=${{ matrix.pyv }}\n        \n    - name: Add conda to system path\n      run: |\n        # $CONDA is an environment variable pointing to the root of the miniconda directory\n        echo $CONDA/bin >> $GITHUB_PATH\n        \n    - name: Install dependencies\n      run: |\n        conda env update --file environment.yml --name base\n        sudo apt-get install python3-numpy\n        \n    - name: Get version\n      run: |\n        output=$(python ctlearn/versionScript.py)\n        echo \"version=$output\" >> $GITHUB_OUTPUT\n      id: step1  \n      \n    - name: Write\n      uses: 1arp/create-a-file-action@0.4.5\n      with:\n        path: '.'\n        isAbsolutePath: true\n        file: '.github/versionBackup.txt'\n        content: |\n          ${{ steps.step1.outputs.version }}\n          \n    - name: Push changes    \n      run: |\n        git config --global user.email \"rcervino@ucm.es\"\n        git config --global user.name \"rcervinoucm\"\n        git status\n        git add .\n        git commit -m \"version update\" --allow-empty\n        git push -u origin master\n        \n    - name: publish-to-conda\n      uses: fcakyon/conda-publish-action@v1.3\n      with:\n        subdir: '.github/conda'\n        anacondatoken: ${{ secrets.ANACONDA_TOKEN }}\n", "state": "active", "repository": "ctlearn-project/ctlearn"}
{"mined_at": "2024-07-15T12:50:57.945703", "created_at": "2022-05-16T12:41:17+02:00", "updated_at": "2022-05-29T20:38:03+02:00", "name": "create tag and relese", "path": ".github/workflows/createtagandrelease.yml", "contents": "name: create tag and relese\n\non:\n  pull_request:\n    types: [closed]\njobs:\n  create-tag:\n    runs-on: ubuntu-20.04\n    permissions:\n      contents: write\n    if: github.event.pull_request.merged && startsWith(github.head_ref, 'PR') && startsWith(github.base_ref, 'master')\n    steps:\n      - uses: actions/checkout@v2\n      - name: Bump version and push tag\n        id: tag_and_prepare_release\n        uses: anothrNick/github-tag-action@1.61.0\n        env:\n          GITHUB_TOKEN:  ${{ secrets.GITHUB_TOKEN }}\n          WITH_V: true\n          CUSTOM_TAG: \"v8.9.0\"\n      - name: Display\n        run: echo ${{ steps.tag_and_prepare_release.outputs.new_tag }}\n      - uses: actions/checkout@v2\n      - uses: ncipollo/release-action@v1\n        with:\n          name:  ${{ steps.tag_and_prepare_release.outputs.new_tag }}\n          tag: ${{ steps.tag_and_prepare_release.outputs.new_tag }}\n          body: See the <a href=\"https://github.com/HewlettPackard/oneview-python/blob/master/CHANGELOG.md\">CHANGELOG.md</a> for details.\n          token:  ${{ secrets.CD_TOKEN }}\n", "state": "active", "repository": "hewlettpackard/oneview-python"}
{"mined_at": "2024-07-15T12:50:59.024346", "created_at": "2020-09-11T07:50:45+02:00", "updated_at": "2022-06-09T10:44:46+02:00", "name": "Upload Python Package", "path": ".github/workflows/dockerimage.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created and also to publish Docker Image\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.pypi_username }}\n        TWINE_PASSWORD: ${{ secrets.pypi_password }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n    - name: Setup environment for Docker image publish\n      run: |\n        echo \"GITHUB_REF=${GITHUB_REF:10}\" >> $GITHUB_ENV\n    - name: Login to Docker Hub\n      run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin\n    - name: Build the tagged Docker image\n      run: docker build . --file Dockerfile --tag hewlettpackardenterprise/hpe-oneview-sdk-for-python:${{ env.GITHUB_REF }}-OV8.9\n    - name: Push the tagged Docker image\n      run: docker push hewlettpackardenterprise/hpe-oneview-sdk-for-python:${{ env.GITHUB_REF }}-OV8.9\n", "state": "active", "repository": "hewlettpackard/oneview-python"}
{"mined_at": "2024-07-15T12:51:00.087850", "created_at": "2022-05-16T17:27:29+02:00", "updated_at": "2022-05-17T12:35:16+02:00", "name": "Raise a Pullrequest", "path": ".github/workflows/pullrequestforrelease.yml", "contents": "name: Raise a Pullrequest\n\non:\n  push:\n    branches:\n    - \"PR\"  # Support wildcard matching\n\njobs:\n  pull-request:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: pull-request\n      uses: repo-sync/pull-request@v2\n      with:\n        source_branch: \"PR\"                                 # If blank, default: triggered branch\n        destination_branch: \"master\" # If blank, default: master\n        pr_label: \"automation\" \n        pr_title: \"Testing automation\" # Title of pull request\n        pr_reviewer: \"nabhajit-ray,AvijitOS\"\n        pr_body: \":crown: *An automated PR*\"              # Full markdown support, requires pr_title to be set\n        pr_template: \".github/pull_request_template.md\"   # Path to pull request template, requires pr_title to be set, excludes pr_body                         \n        pr_allow_empty: true\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "hewlettpackard/oneview-python"}
{"mined_at": "2024-07-15T12:51:01.117181", "created_at": "2021-02-11T07:20:16+01:00", "updated_at": "2021-06-28T14:44:09+02:00", "name": "python CI", "path": ".github/workflows/run_tests.yml", "contents": "name: python CI\n\non:\n- pull_request\n\njobs:\n  tox_test:\n    name: Run tox (${{ matrix.python_version }})\n    strategy:\n      matrix:\n        python_version: [3.7]\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python_version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python_version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n\n    - name: Run tox tests\n      run: tox\n\n    - name: Deploy to GitHub Pages\n      if: success()\n      uses: crazy-max/ghaction-github-pages@v2\n      with:\n       target_branch: gh-pages\n       keep_history: true\n       build_dir: docs/build/html/.\n      env:\n       GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: coveralls\n      uses: AndreMiras/coveralls-python-action@develop\n      with:\n        github-token: ${{ secrets.COVERALLS_TOKEN }}\n        flag-name: 'Unit Test'\n        debug: true\n", "state": "active", "repository": "hewlettpackard/oneview-python"}
{"mined_at": "2024-07-15T12:51:03.127239", "created_at": "2023-05-18T06:03:21+02:00", "updated_at": "2024-01-06T21:37:40+01:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v4\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v3\n", "state": "active", "repository": "oauthlib/oauthlib"}
{"mined_at": "2024-07-15T12:51:04.225989", "created_at": "2022-02-18T21:28:09+01:00", "updated_at": "2022-02-18T21:28:09+01:00", "name": "lint_python", "path": ".github/workflows/lint_python.yml", "contents": "name: lint_python\non: [pull_request, push]\njobs:\n  lint_python:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n          check-latest: true\n      - run: pip install --upgrade pip setuptools wheel\n      - run: pip install black codespell mypy pytest ruff safety\n      - run: ruff --output-format=github .\n      - run: black --check . || true\n      - run: codespell --ignore-words-list=\"implementor,mimiced,provicers,re-use\"  # --skip=\"*.css,*.js,*.lock\"\n      - run: pip install -r requirements-test.txt\n      - run: pip install --editable .\n      - run: mkdir --parents --verbose .mypy_cache\n      - run: mypy --ignore-missing-imports --install-types --non-interactive . || true\n      - run: pytest\n      - run: safety check || true\n", "state": "active", "repository": "oauthlib/oauthlib"}
{"mined_at": "2024-07-15T12:51:05.350191", "created_at": "2023-08-24T13:53:15+02:00", "updated_at": "2023-08-26T14:27:10+02:00", "name": "Python Tests", "path": ".github/workflows/python-build.yml", "contents": "name: Python Tests\nrun-name: Run Tests by ${{ github.actor }}\non: [push, pull_request, workflow_dispatch]\njobs:\n  tests:\n    env:\n      FORCE_COLOR: 1\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Install prereq\n        run: pip install tox coveralls\n      - name: Run python tests\n        run: tox -e ${{ matrix.python }}\n      - name: Coveralls\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: ${{ matrix.python-version }}\n          COVERALLS_PARALLEL: true\n        run: coveralls\n  coveralls:\n    name: Indicate completion to coveralls.io\n    needs: tests\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n      - name: Finished\n        run: |\n          pip3 install --upgrade coveralls\n          coveralls --service=github --finish\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  docs:\n    strategy:\n      matrix:\n        toxenv: [\"docs\", \"readme\"]\n    runs-on: ubuntu-latest\n    steps:\n      - run: sudo apt install -y graphviz\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Install prereq\n        run: pip install tox\n      - name: Run python tests\n        run: tox -e ${{ matrix.toxenv }}\n", "state": "active", "repository": "oauthlib/oauthlib"}
{"mined_at": "2024-07-15T12:51:06.454283", "created_at": "2023-08-26T14:27:10+02:00", "updated_at": "2023-08-26T14:27:10+02:00", "name": "Production deploy", "path": ".github/workflows/python-publish.yml", "contents": "name: Production deploy\non:\n  workflow_run:\n    workflows: [\"Python Tests\"]\n    types:\n      - completed\njobs:\n  pypi-publish:\n    if: |\n      github.repository_owner == 'oauthlib' &&\n      ${{ github.event.workflow_run.conclusion == 'success' }} &&\n      ${{ github.ref_type == 'tag' }}\n    name: Upload release to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/oauthlib\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n    - name: Check out repository code\n      uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Install prereq\n      run: pip install wheel\n    - name: Build python package\n      run: python setup.py build\n    - name: Package python package\n      run: python setup.py sdist bdist_wheel\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "oauthlib/oauthlib"}
{"mined_at": "2024-07-15T12:51:08.442246", "created_at": "2020-12-06T18:11:16+01:00", "updated_at": "2023-10-02T02:24:59+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\non: [push, pull_request]\nname: tests\nconcurrency:\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.sha || '' }}\n  cancel-in-progress: true\njobs:\n  # Run unit tests\n  tests:\n    name: \"py-${{ matrix.python-version }}, ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 20\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install pydeps ${{ matrix.os }}\n        if: matrix.os == 'windows-latest'\n        run: |\n          python.exe -m pip install --upgrade pypiwin32 wmi pyopenssl psutil pytest\n      - name: Install pydeps ${{ matrix.os }}\n        if: matrix.os != 'windows-latest'\n        run: |\n          make setup-dev-env\n\n      - name: Tests\n        run: |\n          make test\n\n  # Run linters\n  linters:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n    - name: 'Run linters'\n      run: |\n        python3 -m pip install --upgrade black ruff rstcheck toml-sort sphinx-rtd-theme\n        python3 -m pip freeze\n        make lint-all\n", "state": "active", "repository": "giampaolo/pyftpdlib"}
{"mined_at": "2024-07-15T12:51:10.441470", "created_at": "2022-05-27T18:29:33+02:00", "updated_at": "2022-05-27T18:29:33+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  push:\n    tags:\n      - v*\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\njobs:\n  Release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Build artifacts\n        run: |\n          pip install -q wheel\n          python setup.py sdist bdist_wheel\n      - name: Create release\n        uses: softprops/action-gh-release@v1\n        with:\n          files: dist/*\n", "state": "active", "repository": "deschler/django-modeltranslation"}
{"mined_at": "2024-07-15T12:51:11.423358", "created_at": "2022-05-27T18:29:33+02:00", "updated_at": "2022-05-27T18:29:33+02:00", "name": "CI", "path": ".github/workflows/test.yml", "contents": "# Docs:\n#  - https://docs.github.com/en/actions/guides/about-service-containers\n# Example\n#  - https://github.com/actions/example-services/blob/main/.github/workflows/postgres-service.yml\nname: CI\non:\n  push:\n    branches:\n      - master\n  pull_request:\njobs:\n  Check:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install 'poetry~=1.8'\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'poetry'\n          cache-dependency-path: 'poetry.lock'\n      - name: Install deps\n        run: poetry install --sync --no-root\n      - name: Run linters\n        run: |\n          source $(poetry env info --path)/bin/activate\n          make lint\n      - name: Run type checking\n        run: |\n          source $(poetry env info --path)/bin/activate\n          make typecheck\n      - name: Test package install\n        run: |\n          python setup.py sdist\n          pip install dist/*\n\n  Test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        django: [\"4.2\", \"5.0\"]\n        database: [\"sqlite\", \"postgres\", \"mysql\"]\n        exclude:\n          - python: 3.9\n            django: 5.0\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      DJANGO: ${{ matrix.django }}\n      DB: ${{ matrix.database }}\n      DB_HOST: 127.0.0.1\n      MYSQL_DATABASE: \"modeltranslation\"\n      MYSQL_USER: \"root\"\n      MYSQL_PASSWORD: \"password\"\n      POSTGRES_DB: \"modeltranslation\"\n      POSTGRES_USER: \"modeltranslation\"\n      POSTGRES_PASSWORD: \"modeltranslation\"\n    services:\n      mariadb:\n        image: mariadb:10\n        ports:\n          - 3306:3306\n        env:\n          MYSQL_DATABASE: \"modeltranslation\"\n          MYSQL_USER: \"modeltranslation\"\n          MYSQL_PASSWORD: \"password\"\n          MYSQL_ROOT_PASSWORD: \"password\"\n        options: --health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=3\n      postgres:\n        image: postgres\n        ports:\n          - 5432:5432\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n        env:\n          POSTGRES_DB: \"modeltranslation\"\n          POSTGRES_USER: \"modeltranslation\"\n          POSTGRES_PASSWORD: \"modeltranslation\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Set up env\n        run: |\n          if [[ $DB == mysql ]]; then\n            pip install -q mysqlclient\n          fi\n          if [[ $DB == postgres ]]; then\n            pip install -q psycopg2-binary\n          fi\n          pip install django_stubs_ext typing-extensions coverage pytest pytest-django pytest-cov parameterized $(./get-django-version.py ${{ matrix.django }})\n      - name: Run tests\n        run: |\n          pytest --cov-report term\n", "state": "active", "repository": "deschler/django-modeltranslation"}
{"mined_at": "2024-07-15T12:51:13.409916", "created_at": "2021-03-22T20:57:02+01:00", "updated_at": "2021-03-22T20:57:02+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  tests:\n    name: Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel setuptools tox\n      - name: Run tox targets for ${{ matrix.python-version }}\n        run: |\n          ENV_PREFIX=$(tr -C -d \"0-9\" <<< \"${{ matrix.python-version }}\")\n          TOXENV=$(tox --listenvs | grep \"^py$ENV_PREFIX\" | tr '\\n' ',') python -m tox\n", "state": "active", "repository": "feincms/feincms"}
{"mined_at": "2024-07-15T12:51:15.344308", "created_at": "2020-11-11T16:01:37+01:00", "updated_at": "2020-11-11T16:01:37+01:00", "name": "Build and Test PyClustering Library", "path": ".github/workflows/build-pyclustering.yml", "contents": "name: Build and Test PyClustering Library\r\n\r\non: [push, pull_request]\r\n\r\njobs:\r\n  test-pypi:\r\n    name: Build and Test PyClustering Library\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - name: Clone repository\r\n        uses: actions/checkout@v1\r\n      - name: Set rights to run CI script\r\n        run: chmod u+x ci/github-ci.sh\r\n      - name: Run a multi-line script\r\n        run: ./ci/github-ci.sh TEST_CMAKE_PYCLUSTERING_BUILD\r\n", "state": "active", "repository": "annoviko/pyclustering"}
{"mined_at": "2024-07-15T12:51:16.392972", "created_at": "2020-10-27T14:38:42+01:00", "updated_at": "2020-10-27T14:38:42+01:00", "name": "Test PyPi Installer", "path": ".github/workflows/test-pypi-installer.yml", "contents": "name: Test PyPi Installer\n\non: [workflow_dispatch]\n\njobs:\n  test-pypi:\n    name: Test PyPi Installer\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v1\n      - name: Set rights to run CI script\n        run: chmod u+x ci/github-ci.sh\n      - name: Run a multi-line script\n        run: ./ci/github-ci.sh PYPI_INSTALLER\n", "state": "active", "repository": "annoviko/pyclustering"}
{"mined_at": "2024-07-15T12:51:17.383427", "created_at": "2020-11-17T19:10:08+01:00", "updated_at": "2020-11-17T19:10:08+01:00", "name": "Test TestPyPi Installer", "path": ".github/workflows/test-testpypi-installer.yml", "contents": "name: Test TestPyPi Installer\n\non: [workflow_dispatch]\n\njobs:\n  test-pypi:\n    name: Test TestPyPi Installer\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v1\n      - name: Set rights to run CI script\n        run: chmod u+x ci/github-ci.sh\n      - name: Run a multi-line script\n        run: ./ci/github-ci.sh TESTPYPI_INSTALLER\n", "state": "active", "repository": "annoviko/pyclustering"}
{"mined_at": "2024-07-15T12:51:19.469972", "created_at": "2022-10-14T20:36:18+02:00", "updated_at": "2022-10-14T23:34:13+02:00", "name": "Continuous Integration", "path": ".github/workflows/continuous_integration.yml", "contents": "# Copyright 2022 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Continuous Integration\n\non: [push, pull_request]\n\njobs:\n  build_and_test:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox tox-gh-actions\n        wget https://github.com/protocolbuffers/protobuf/releases/download/v21.6/protoc-21.6-linux-x86_64.zip\n        unzip protoc-21.6-linux-x86_64.zip\n        sudo cp bin/protoc /usr/bin/protoc && sudo chmod 777 /usr/bin/protoc\n        sudo cp -r include/. /usr/include && sudo chmod -R +r /usr/include/google\n        protoc --version\n        sudo apt-get install -y libusb-1.0-0-dev libprotobuf-dev swig\n    - name: Test with tox\n      run: tox\n    - name: Publish to Coveralls with GitHub Action\n      uses: coverallsapp/github-action@v2.2.3\n      with:\n        parallel: true\n        flag-name: python-${{ matrix.python-version }}\n\n  web_ui:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: openhtf/output/web_gui\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n      - run: npm install\n      - run: npm run build\n\n  finish:\n    needs: build_and_test\n    if: ${{ always() }}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Coveralls Finished\n      uses: coverallsapp/github-action@v2\n      with:\n        parallel-finished: true\n", "state": "active", "repository": "google/openhtf"}
{"mined_at": "2024-07-15T12:51:20.506775", "created_at": "2022-10-15T01:15:44+02:00", "updated_at": "2022-10-15T01:15:44+02:00", "name": "Upload Python Package to PyPI and TestPyPI", "path": ".github/workflows/python_publish.yml", "contents": "# Copyright 2022 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package to PyPI and TestPyPI\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.7'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox tox-gh-actions\n        pip install coveralls\n        wget https://github.com/protocolbuffers/protobuf/releases/download/v21.6/protoc-21.6-linux-x86_64.zip\n        unzip protoc-21.6-linux-x86_64.zip\n        sudo cp bin/protoc /usr/bin/protoc && sudo chmod 777 /usr/bin/protoc\n        sudo cp -r include/. /usr/include && sudo chmod -R +r /usr/include/google\n        protoc --version\n        sudo apt-get install -y libusb-1.0-0-dev libprotobuf-dev swig\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish distribution to Test PyPI\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        password: ${{ secrets.TESTPYPI_PUBLISH_PASSWORD }}\n        repository_url: https://test.pypi.org/legacy/\n    - name: Publish package to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_PUBLISH_PASSWORD }}\n        skip_existing: true\n", "state": "active", "repository": "google/openhtf"}
{"mined_at": "2024-07-15T12:51:21.594967", "created_at": "2023-08-01T21:55:11+02:00", "updated_at": "2023-08-01T21:55:11+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/openhtf"}
{"mined_at": "2024-07-15T12:51:23.640610", "created_at": "2023-03-03T05:40:09+01:00", "updated_at": "2023-03-17T09:55:54+01:00", "name": "Check Build", "path": ".github/workflows/build.yml", "contents": "name: Check Build\n\non:\n    push:\n        branches: [main]\n    pull_request:\n        branches: [main]\n\njobs:\n    package:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v2\n            - name: Set up Python 3.10\n              uses: actions/setup-python@v2\n              with:\n                  python-version: \"3.10\"\n            - name: Install build dependencies\n              run: python -m pip install --upgrade pip wheel twine build\n            - name: Build package\n              run: python -m build\n            - name: Check package\n              run: twine check --strict dist/*.whl\n", "state": "active", "repository": "theislab/scvelo"}
{"mined_at": "2024-07-15T12:51:24.638509", "created_at": "2021-01-26T11:57:42+01:00", "updated_at": "2021-01-26T11:57:42+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n    push:\n        branches: [main]\n    pull_request:\n        branches: [main]\n\njobs:\n    # Skip CI if commit message contains `[ci skip]` in the subject\n    init:\n        runs-on: ubuntu-latest\n        outputs:\n            skip: ${{ steps.ci-skip-step.outputs.ci-skip }}\n        steps:\n            - uses: actions/checkout@v2\n              with:\n                  fetch-depth: 0\n            - id: ci-skip-step\n              uses: mstachniuk/ci-skip@master\n\n    # Check if pre-commit hooks pass and if README.rst can be converted to HTML\n    linting:\n        needs: init\n        if: ${{ needs.init.outputs.skip == 'false' }}\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v2\n            - name: Setup Python 3.10\n              uses: actions/setup-python@v2\n              with:\n                  python-version: \"3.10\"\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install pre-commit\n            - name: Check pre-commit compatibility\n              run: pre-commit run --all-files --show-diff-on-failure\n\n    # Run unit tests\n    test:\n        needs: linting\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest]\n                python-version: [\"3.9\", \"3.10\"]\n        steps:\n            - uses: actions/checkout@v2\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies\n              run: pip install -e '.[dev]'\n            - name: Unit tests\n              timeout-minutes: 60\n              run: python -m pytest --durations=25 --ignore=tests/datasets/test_datasets.py --hypothesis-profile=ci --cov=scvelo -vv\n\n    test-dataset-downloads:\n        needs: test\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v2\n            - name: Setup Python 3.10\n              uses: actions/setup-python@v2\n              with:\n                  python-version: \"3.10\"\n            - name: Install dependencies\n              run: |\n                  pip install -e .\n                  pip install hypothesis pytest pytest-cov\n            - name: Test dataset downloads\n              timeout-minutes: 60\n              run: python -m pytest tests/datasets/test_datasets.py -vv\n", "state": "active", "repository": "theislab/scvelo"}
{"mined_at": "2024-07-15T12:51:25.681041", "created_at": "2023-12-01T15:29:00+01:00", "updated_at": "2023-12-01T15:29:00+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n    push:\n        tags: [v*]\n\njobs:\n    release:\n        runs-on: ubuntu-latest\n        permissions:\n            id-token: write\n        environment: pypi-release\n\n        steps:\n            - uses: actions/checkout@v3\n            - name: Set up Python 3.10\n              uses: actions/setup-python@v4\n              with:\n                  python-version: \"3.10\"\n\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  python -m pip install --upgrade build\n\n            - name: Build package\n              run: |\n                  python -m build --sdist --wheel --outdir dist/\n\n            - name: Publish PyPI package\n              uses: pypa/gh-action-pypi-publish@release/v1\n              with:\n                  skip-existing: true\n                  verify-metadata: true\n                  verbose: true\n", "state": "active", "repository": "theislab/scvelo"}
{"mined_at": "2024-07-15T12:51:27.656231", "created_at": "2023-04-01T21:14:22+02:00", "updated_at": "2023-04-01T21:14:22+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "vainf/torch-pruning"}
{"mined_at": "2024-07-15T12:51:28.659464", "created_at": "2023-07-18T11:19:06+02:00", "updated_at": "2023-11-09T09:45:03+01:00", "name": "Test-Pytorch-1.11.0", "path": ".github/workflows/test_torch_1110.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Test-Pytorch-1.11.0\n\non: workflow_dispatch\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.9\"\n        cache: 'pip' # caching pip dependencies\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest torch==1.11.0 torchvision\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Test with pytest\n      run: |\n        pytest --ignore=tests/test_unwrapped_parameters.py --ignore=tests/test_backward.py --ignore=tests/test_benchmark.py \n        pytest\n", "state": "active", "repository": "vainf/torch-pruning"}
{"mined_at": "2024-07-15T12:51:29.642482", "created_at": "2023-04-07T10:37:45+02:00", "updated_at": "2023-04-07T10:37:45+02:00", "name": "Test-Pytorch-1.8.1", "path": ".github/workflows/test_torch_181.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Test-Pytorch-1.8.1\n\non: workflow_dispatch\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.9\"\n        cache: 'pip' # caching pip dependencies\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest torch==1.8.1 torchvision==0.9.1\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Test with pytest\n      run: |\n        pytest --ignore=tests/test_unwrapped_parameters.py --ignore=tests/test_backward.py --ignore=tests/test_concat_split.py --ignore=tests/test_serialization.py --ignore=tests/test_non_feature_dim_cat.py --ignore=tests/test_benchmark.py \n", "state": "active", "repository": "vainf/torch-pruning"}
{"mined_at": "2024-07-15T12:51:30.694527", "created_at": "2023-04-14T19:40:21+02:00", "updated_at": "2023-04-14T19:40:21+02:00", "name": "Test-Pytorch-1.12.1", "path": ".github/workflows/test_torch_1_12_1.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Test-Pytorch-1.12.1\n\non: workflow_dispatch\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.9\"\n        cache: 'pip' # caching pip dependencies\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest torch==1.12.1 torchvision==0.13.1\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Test with pytest\n      run: |\n        pytest --ignore=tests/test_unwrapped_parameters.py --ignore=tests/test_backward.py --ignore=tests/test_benchmark.py \n", "state": "active", "repository": "vainf/torch-pruning"}
{"mined_at": "2024-07-15T12:51:31.779484", "created_at": "2023-04-07T12:28:10+02:00", "updated_at": "2023-04-07T12:28:10+02:00", "name": "Test-Pytorch-2.0.0", "path": ".github/workflows/test_torch_200.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Test-Pytorch-2.0.0\n\non: workflow_dispatch\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n        cache: 'pip' # caching pip dependencies\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest torch torchvision\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Test with pytest\n      run: |\n        pytest --ignore=tests/test_concat_split.py --ignore=tests/test_benchmark.py \n", "state": "active", "repository": "vainf/torch-pruning"}
{"mined_at": "2024-07-15T12:51:33.711855", "created_at": "2020-04-07T02:04:24+02:00", "updated_at": "2023-06-01T02:45:04+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/stale@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'Stale issue message'\n        stale-pr-message: 'Stale pull request message'\n        stale-issue-label: 'no-issue-activity'\n        stale-pr-label: 'no-pr-activity'\n        days-before-stale: '60'\n", "state": "active", "repository": "qxf2/qxf2-page-object-model"}
{"mined_at": "2024-07-15T12:51:35.970399", "created_at": "2020-12-08T20:48:52+01:00", "updated_at": "2021-06-15T05:42:52+02:00", "name": "pytest", "path": ".github/workflows/pytest.yml", "contents": "# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: pytest\n\non:\n  push:\n    branches:\n     - master\n     - beta\n  pull_request:\n    branches:\n     - master\n     - beta\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.10', '3.12']\n    services:\n      postgres:\n        image: postgis/postgis:14-3.2\n        env:\n          POSTGRES_USER: kobo\n          POSTGRES_PASSWORD: kobo\n          POSTGRES_DB: kobocat_test\n        ports:\n          - 5432:5432\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n      redis_cache:\n        image: redis:6.2\n        ports:\n          - 6380:6379\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install pip-tools\n      run: python -m pip install pip-tools==7.\\*\n    - name: Update apt package lists\n      run: sudo apt update\n    - name: Update Debian package lists\n      run: sudo DEBIAN_FRONTEND=noninteractive apt-get -y update\n    - name: Install Debian dependencies\n      run: >-\n        sudo DEBIAN_FRONTEND=noninteractive apt-get install \n        ghostscript libxml2-dev libxslt-dev python3-dev gdal-bin libproj-dev \n        gettext postgresql-client openjdk-11-jre build-essential\n    - name: Install Python dependencies\n      run: pip-sync dependencies/pip/dev_requirements.txt\n    - name: Run pytest\n      run: pytest -vv -rf\n      env:\n        DJANGO_SECRET_KEY: ${{ secrets.DJANGO_SECRET_KEY }}\n        TEST_DATABASE_URL: postgis://kobo:kobo@localhost:5432/kobocat_test\n        REDIS_SESSION_URL: redis://localhost:6380/2\n        CACHE_URL: redis://localhost:6380/3\n        SERVICE_ACCOUNT_BACKEND_URL: redis://localhost:6380/4\n        USE_POSTGRESQL: True\n", "state": "active", "repository": "kobotoolbox/kobocat"}
{"mined_at": "2024-07-15T12:51:38.018259", "created_at": "2020-12-08T12:03:55+01:00", "updated_at": "2021-04-23T22:55:10+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yaml", "contents": "name: Deploy\non: [push, pull_request]\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --upgrade pip setuptools\n          python3 -m pip install --upgrade build twine\n      - name: Create and check sdist and wheel packages\n        run: |\n          python3 -m build\n          twine check dist/*\n      - name: Publish to PyPI\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') && github.repository_owner == 'galaxyproject'\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "galaxyproject/bioblend"}
{"mined_at": "2024-07-15T12:51:39.144821", "created_at": "2021-10-13T18:08:25+02:00", "updated_at": "2021-10-13T18:08:25+02:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": "name: Lint\non: [push, pull_request]\nconcurrency:\n  group: lint-${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.12']\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install tox\n        run: python -m pip install 'tox>=1.8.0'\n      - name: Lint\n        run: tox -e lint\n", "state": "active", "repository": "galaxyproject/bioblend"}
{"mined_at": "2024-07-15T12:51:40.263855", "created_at": "2021-10-13T18:08:25+02:00", "updated_at": "2021-10-13T18:08:25+02:00", "name": "Tests", "path": ".github/workflows/test.yaml", "contents": "name: Tests\non:\n  push:\n  pull_request:\n  schedule:\n    # Run at midnight UTC every Tuesday\n    - cron: '0 0 * * 2'\nconcurrency:\n  group: test-${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  test:\n    if: github.event_name != 'schedule' || github.repository_owner == 'galaxyproject'\n    runs-on: ${{ matrix.os }}\n    services:\n      postgres:\n        image: postgres\n        # Provide the password for postgres\n        env:\n          POSTGRES_PASSWORD: postgres\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        tox_env: [py38]\n        galaxy_version:\n          - dev\n          - release_24.1\n          - release_24.0\n          - release_23.2\n          - release_23.1\n          - release_23.0\n          - release_22.05\n          - release_22.01\n          - release_21.09\n          - release_21.05\n          - release_21.01\n          - release_20.09\n          - release_20.05\n          - release_20.01\n          - release_19.09\n          - release_19.05\n        include:\n          - os: ubuntu-latest\n            tox_env: py312\n            galaxy_version: dev\n          # Cannot test on macOS because service containers are not supported\n          # yet: https://github.community/t/github-actions-services-available-on-others-vms/16916\n          # - os: macos-latest\n          #   tox_env: py38\n          #   galaxy_version: dev\n    steps:\n      - uses: actions/checkout@v4\n      - name: Cache pip dir\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: pip-cache-${{ matrix.tox_env }}-${{ matrix.galaxy_version }}\n      - name: Calculate Python version for BioBlend from tox_env\n        id: get_bioblend_python_version\n        run: echo \"bioblend_python_version=$(echo \"${{ matrix.tox_env }}\" | sed -e 's/^py\\([3-9]\\)\\([0-9]\\+\\)/\\1.\\2/')\" >> $GITHUB_OUTPUT\n      - name: Set up Python for BioBlend\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ steps.get_bioblend_python_version.outputs.bioblend_python_version }}\n      - name: Install tox\n        run: |\n          python3 -m pip install --upgrade pip setuptools\n          python3 -m pip install 'tox>=1.8.0' 'virtualenv>=20.0.14'\n      - name: Determine Python version for Galaxy\n        id: get_galaxy_python_version\n        run: |\n          case ${{ matrix.galaxy_version }} in\n            release_19.05 | release_19.09 | release_20.0? )\n              # The minimum Python version supported by the 19.05 and 19.09\n              # releases is 2.7, but virtualenv dropped support for creating\n              # Python <3.7 environments in v20.22.0 .\n              # The minimum Python version supported by the 20.0* releases is\n              # 3.5, but the setup-python GitHub action dropped support for\n              # Python 3.5 and 3.6 on Ubuntu 22.04, see\n              # https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n              galaxy_python_version=3.7\n              ;;\n            release_21.0? )\n              # The minimum Python supported version by these releases is 3.6,\n              # but same as above.\n              galaxy_python_version=3.7\n              ;;\n            release_22.0? | release_23.? )\n              galaxy_python_version=3.7\n              ;;\n            release_24.? | dev )\n              galaxy_python_version=3.8\n              ;;\n          esac\n          echo \"galaxy_python_version=$galaxy_python_version\" >> $GITHUB_OUTPUT\n      - name: Set up Python for Galaxy\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ steps.get_galaxy_python_version.outputs.galaxy_python_version }}\n      - name: Run tests\n        env:\n          PGPASSWORD: postgres\n          PGPORT: 5432\n          PGHOST: localhost\n        run: |\n          # Create a PostgreSQL database for Galaxy. The default SQLite3 database makes test fail randomly because of \"database locked\" error.\n          createdb -U postgres galaxy\n          # Run ToolShed tests only once per Python version\n          if [ \"${{ matrix.galaxy_version }}\" = 'dev' ]; then\n              export BIOBLEND_TOOLSHED_URL=https://testtoolshed.g2.bx.psu.edu/\n          fi\n          # Install Galaxy\n          GALAXY_DIR=galaxy-${{ matrix.galaxy_version }}\n          git clone --depth=1 -b ${{ matrix.galaxy_version }} https://github.com/galaxyproject/galaxy $GALAXY_DIR\n          export DATABASE_CONNECTION=postgresql://postgres:@localhost/galaxy\n          ./run_bioblend_tests.sh -g $GALAXY_DIR -v python${{ steps.get_galaxy_python_version.outputs.galaxy_python_version }} -e ${{ matrix.tox_env }}\n      - name: The job has failed\n        if: ${{ failure() }}\n        run: |\n          cat galaxy-${{ matrix.galaxy_version }}/*.log\n", "state": "active", "repository": "galaxyproject/bioblend"}
{"mined_at": "2024-07-15T12:51:42.538040", "created_at": "2020-11-29T23:55:54+01:00", "updated_at": "2022-08-26T16:21:06+02:00", "name": "CI", "path": ".github/workflows/ci_tests.yml", "contents": "name: CI\n\non:\n  push:\n  pull_request:\n  schedule:\n    # run every Monday at 6am UTC\n    - cron: '0 6 * * 1'\n\nenv:\n  SETUP_XVFB: True  # avoid issues if mpl tries to open a GUI window\n  TOXARGS: '-v'\n\njobs:\n  ci-tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    if: \"!(contains(github.event.head_commit.message, '[skip ci]') || contains(github.event.head_commit.message, '[ci skip]'))\"\n    strategy:\n      matrix:\n        include:\n          - name: 'ubuntu-py38-oldestdeps'\n            os: ubuntu-latest\n            python: '3.8'\n            # Test the oldest supported dependencies on the oldest supported Python\n            tox_env: 'py38-test-oldestdeps'\n\n          - name: 'macos-py310-astroscrappy11'\n            # Keep this test until astroscrappy 1.1.0 is the oldest supported\n            # version.\n            os: macos-latest\n            python: '3.10'\n            tox_env: 'py310-test-astroscrappy11'\n\n          - name: 'ubuntu-py39'\n            os: ubuntu-latest\n            python: '3.9'\n            tox_env: 'py39-test-alldeps-numpy119-cov'\n\n          - name: 'ubuntu-py39-bottleneck'\n            os: ubuntu-latest\n            python: '3.9'\n            tox_env: 'py39-test-alldeps-numpy119-cov-bottleneck'\n\n          - name: 'ubuntu-py310'\n            os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'py310-test-alldeps-numpy121'\n\n          - name: 'ubuntu-py311'\n            os: ubuntu-latest\n            python: '3.11'\n            tox_env: 'py311-test-alldeps-numpy123'\n\n          - name: 'ubuntu-py312'\n            os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py310-test-alldeps-numpy126'\n\n          - name: 'macos-py312'\n            os: macos-latest\n            python: '3.12'\n            tox_env: 'py312-test-alldeps'\n\n          - name: 'windows-py312'\n            os: windows-latest\n            python: '3.12'\n            tox_env: 'py312-test-alldeps'\n\n          - name: 'ubuntu-codestyle'\n            os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'pycodestyle'\n\n          - name: 'ubuntu-build_docs'\n            os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'build_docs'\n\n          - name: 'ubuntu-py310-test-alldeps-devdeps'\n            os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'py310-test-alldeps-devdeps'\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install base dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox wheel\n    - name: Install graphviz dependency\n      if: \"endsWith(matrix.tox_env, 'build_docs')\"\n      run: sudo apt-get -y install graphviz\n    - name: Print Python env\n      run: |\n        python --version\n        python -m pip list\n    - name: Run tests\n      if: \"! matrix.use_remote_data\"\n      run: |\n        tox -e ${{ matrix.tox_env }} -- ${{ matrix.toxposargs }}\n    # - name: Run tests with remote data\n    #   if: \"matrix.use_remote_data\"\n    #   run: tox -e ${{ matrix.tox_env }} -- --remote-data=any\n    - name: Upload coverage to codecov\n      if: \"endsWith(matrix.tox_env, '-cov')\"\n      uses: codecov/codecov-action@v4\n", "state": "active", "repository": "astropy/ccdproc"}
{"mined_at": "2024-07-15T12:51:44.675793", "created_at": "2020-11-17T12:57:23+01:00", "updated_at": "2023-07-28T17:48:32+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n  push:\n    branches:\n      - 'master'\n      - 'maintenance/*'\n    tags:\n      - '[0-9].*'\n  schedule:\n    # Every Wednesday at 6:06 UTC\n    - cron: \"6 6 * * 3\"\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - uses: pre-commit/action@v3.0.0\n\n  test:\n    needs: pre-commit\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.10\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - run: tox -e py\n\n  coverage:\n    needs: test\n    runs-on: ubuntu-latest\n    if: ${{ !startsWith(github.ref, 'refs/tags') }}\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.12\"\n    - run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - run: tox -e coverage\n    - uses: codecov/codecov-action@v3\n      with:\n        file: ./coverage.xml\n\n  deploy:\n    needs: test\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.12\"\n    - run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n    - uses: softprops/action-gh-release@v1\n      with:\n        files: dist/*\n        generate_release_notes: true\n\n", "state": "active", "repository": "pymoca/pymoca"}
{"mined_at": "2024-07-15T12:51:46.823503", "created_at": "2021-02-09T10:11:34+01:00", "updated_at": "2023-08-17T02:30:05+02:00", "name": "Stable tests", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Stable tests\n\non:\n  push:\n    branches: [ '*' ]\n    tags: [ '*' ]\n  pull_request:\n    branches: [ master, 'maint/*', 'next' ]\n  schedule:\n    - cron: '0 0 * * *'\n\ndefaults:\n  run:\n    shell: bash\n\nconcurrency:\n  group: python-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  check_if_skip:\n    runs-on: ubuntu-latest\n    outputs:\n      commit_message: ${{ steps.get_commit_message.outputs.commit_message }}\n    steps:\n      - name: Get repo\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Print head git commit message\n        id: get_commit_message\n        run: |\n          if [[ -z \"$COMMIT_MSG\" ]]; then\n            COMMIT_MSG=$(git show -s --format=%s)\n          else\n            COMMIT_MSG=$(echo $COMMIT_MSG | head -n 1)\n          fi\n          echo $COMMIT_MSG\n          echo \"commit_message=$COMMIT_MSG\" >> $GITHUB_OUTPUT\n        env:\n          COMMIT_MSG: ${{ github.event.head_commit.message }}\n\n  build:\n    needs: check_if_skip\n    if: \"!contains(needs.check_if_skip.outputs.commit_message, '[skip ci]')\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Display Python version\n      run: python -c \"import sys; print(sys.version)\"\n    - name: Build smriprep\n      run: pipx run build\n    - name: Check distributions\n      run: pipx run twine check dist/*\n    - uses: actions/upload-artifact@v4\n      with:\n        name: dist\n        path: dist/\n\n  test:\n    needs: [build]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        install: [repo]\n        include:\n          - python-version: \"3.11\"\n            install: sdist\n          - python-version: \"3.11\"\n            install: wheel\n          - python-version: \"3.11\"\n            install: editable\n\n    env:\n      INSTALL_TYPE: ${{ matrix.install }}\n      FSLOUTPUTTYPE: NIFTI_GZ\n\n    steps:\n    - uses: actions/checkout@v4\n      if: matrix.install == 'repo' || matrix.install == 'editable'\n    - name: Fetch packages\n      uses: actions/download-artifact@v4\n      with:\n        name: dist\n        path: dist/\n      if: matrix.install == 'sdist' || matrix.install == 'wheel'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Select archive\n      run: |\n        if [ \"$INSTALL_TYPE\" = \"sdist\" ]; then\n          ARCHIVE=$( ls dist/*.tar.gz )\n        elif [ \"$INSTALL_TYPE\" = \"wheel\" ]; then\n          ARCHIVE=$( ls dist/*.whl )\n        elif [ \"$INSTALL_TYPE\" = \"repo\" ]; then\n          ARCHIVE=\".\"\n        elif [ \"$INSTALL_TYPE\" = \"editable\" ]; then\n          ARCHIVE=\"-e .\"\n        fi\n        echo \"ARCHIVE=$ARCHIVE\" >> $GITHUB_ENV\n    - name: Install package\n      run: python -m pip install $ARCHIVE\n    - name: Install test dependencies\n      run: python -m pip install \"smriprep[tests]\"\n    - name: Run tests\n      run: pytest -sv --doctest-modules --cov smriprep --pyargs smriprep\n    - uses: codecov/codecov-action@v4\n      name: Submit to CodeCov\n      with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  style:\n    if: \"!contains(github.event.head_commit.message, '[skip ci]')\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - run: pipx run ruff check smriprep\n    - run: pipx run ruff format --diff smriprep\n", "state": "active", "repository": "nipreps/smriprep"}
{"mined_at": "2024-07-15T12:51:47.830399", "created_at": "2022-02-08T20:59:58+01:00", "updated_at": "2022-02-08T20:59:58+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nipreps/smriprep"}
{"mined_at": "2024-07-15T12:51:49.980131", "created_at": "2024-06-05T12:53:41+02:00", "updated_at": "2024-06-05T12:53:41+02:00", "name": "Build and Lint Site", "path": ".github/workflows/ci.yml", "contents": "name: \"Build and Lint Site\"\n\non:\n  push:\n    branches: [ \"main\"]\n  pull_request:\n    branches: [ \"main\" ]\n    \njobs:\n  build-site:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n\n      # dependencies\n      - uses: ruby/setup-ruby@v1\n        with:\n          ruby-version: \"3.0\"\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '19'\n      - name: Install dependencies\n        working-directory: ./docs\n        run: |\n          sudo apt-get install -y build-essential zlib1g-dev\n          gem install bundler\n          bundle config path vendor/bundle\n          bundle install\n\n      - name: Build the site\n        working-directory: ./docs\n        run: bundle exec jekyll build --strict_front_matter\n\n      - name: Validate all links, enforce alt text\n        working-directory: ./docs\n        run: |\n          bundle exec htmlproofer \\\n          --ignore-files \"/.*\\/ro-crate-preview\\.html/\",\"/.*\\/examples\\/.*\\/index\\.html/\" \\\n          --disable-external true \\\n          --enforce-https false \\\n          ./_site\n\n      - name: Ensure no unexpected encoded HTML in output\n        working-directory: ./docs\n        run: |\n          ! fgrep -R 'lt;blockquote' _site\n\n      - name: Ensure no unexpected jekyll in output\n        working-directory: ./docs\n        run: |\n          ! fgrep -R 'site.pages' _site\n", "state": "active", "repository": "researchobject/ro-crate"}
{"mined_at": "2024-07-15T12:51:51.006089", "created_at": "2021-12-30T10:30:12+01:00", "updated_at": "2021-12-30T10:30:12+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "researchobject/ro-crate"}
{"mined_at": "2024-07-15T12:51:53.160585", "created_at": "2024-03-06T22:57:28+01:00", "updated_at": "2024-03-06T22:57:28+01:00", "name": "Send a slack notification when a contributor comments on issue", "path": ".github/workflows/notify_team_new_comment.yml", "contents": "name: Send a slack notification when a contributor comments on issue\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  contributor_issue_comment:\n    name: Contributor issue comment\n\n    if: >-\n      ${{\n        !github.event.issue.pull_request &&\n        github.event.comment.author_association != 'MEMBER' &&\n        github.event.comment.author_association != 'OWNER'\n      }}\n\n    runs-on: ubuntu-latest\n    steps:\n      - name: Escape title double quotes\n        id: escape_title\n        env:\n          ISSUE_TITLE: ${{ github.event.issue.title }}\n        run: echo \"ISSUE_TITLE=${ISSUE_TITLE//\\\"/\\\\\\\"}\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Send message to Slack channel\n        env:\n            SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n            SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n        uses: slackapi/slack-github-action@v1.26.0\n        with:\n          payload: |\n            {\n              \"text\": \"*[Ricecooker] New comment on issue: <${{ github.event.issue.html_url }}#issuecomment-${{ github.event.comment.id }}|${{ steps.escape_title.outputs.ISSUE_TITLE }} by ${{ github.event.comment.user.login }}>*\"\n            }\n", "state": "active", "repository": "learningequality/ricecooker"}
{"mined_at": "2024-07-15T12:51:54.183071", "created_at": "2021-12-21T14:43:14+01:00", "updated_at": "2022-01-27T17:37:26+01:00", "name": "Linting", "path": ".github/workflows/pre-commit.yml", "contents": "name: Linting\n\non:\n  push:\n    branches:\n    - develop\n    - main\n  pull_request:\n    branches:\n    - develop\n    - main\n\njobs:\n    pre_job:\n        name: Path match check\n        runs-on: ubuntu-latest\n        # Map a step output to a job output\n        outputs:\n            should_skip: ${{ steps.skip_check.outputs.should_skip }}\n        steps:\n            - id: skip_check\n              uses: fkirc/skip-duplicate-actions@master\n              with:\n                  github_token: ${{ github.token }}\n                  paths_ignore: '[\"**.po\", \"**.json\"]'\n    linting:\n        name: All file linting\n        needs: pre_job\n        if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v4\n            - uses: actions/setup-python@v5\n            - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "learningequality/ricecooker"}
{"mined_at": "2024-07-15T12:51:55.230505", "created_at": "2021-07-26T06:15:00+02:00", "updated_at": "2021-07-26T06:15:00+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.7\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "learningequality/ricecooker"}
{"mined_at": "2024-07-15T12:51:56.275085", "created_at": "2021-03-18T00:41:42+01:00", "updated_at": "2021-03-18T00:41:42+01:00", "name": "Python tests", "path": ".github/workflows/pythontest.yml", "contents": "name: Python tests\n\non:\n  push:\n    branches:\n    - develop\n    - main\n  pull_request:\n    branches:\n    - develop\n    - main\n\njobs:\n  pre_job:\n    name: Path match check\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          github_token: ${{ github.token }}\n          paths: '[\"**.py\", \"requirements_test.txt\", \".github/workflows/pythontest.yml\"]'\n  unit_test:\n    name: Python unit tests\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 5\n      fail-fast: false\n      matrix:\n        os: [windows-latest, ubuntu-latest, macos-13]\n        python-version: [3.8, 3.9, '3.10']\n        include:\n        - os: ubuntu-latest\n          pippath: ~/.cache/pip\n        - os: macos-13\n          pippath: ~/Library/Caches/pip\n        - os: windows-latest\n          pippath: ~\\AppData\\Local\\pip\\Cache\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Ubuntu dependencies\n      run: |\n        sudo apt-get -y -qq update\n        sudo apt-get install -y ffmpeg\n        sudo apt-get install -y poppler-utils\n      if: ${{ startsWith(matrix.os, 'ubuntu') }}\n    - name: Cache Mac dependencies\n      uses: actions/cache@v4\n      if: matrix.os == 'macos-13'\n      with:\n        path: ~/Library/Caches/Homebrew\n        key: ${{ runner.os }}-brew-${{ hashFiles('.github/workflows/pythontest.yml') }}\n    - name: Install Mac dependencies\n      run: brew install ffmpeg poppler\n      if: matrix.os == 'macos-13'\n    - name: Windows dependencies cache\n      id: windowscache\n      if: matrix.os == 'windows-latest'\n      uses: actions/cache@v4\n      with:\n        path: ${{ github.workspace }}\\tools\n        key: ${{ runner.os }}-tools-${{ hashFiles('.github/workflows/pythontest.yml') }}\n    - name: Download and unpack Windows dependencies\n      if: steps.cache.windowscache.cache-hit != 'true' && matrix.os == 'windows-latest'\n      run: |\n        curl --output ffmpeg.zip -L https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl.zip\n        curl --output poppler.zip -L https://github.com/oschwartz10612/poppler-windows/releases/download/v21.11.0-0/Release-21.11.0-0.zip\n        7z x ffmpeg.zip -otools -y\n        7z x poppler.zip -otools -y\n    - name: Set paths to Windows dependencies\n      if: matrix.os == 'windows-latest'\n      run: |\n        echo \"$pwd\\tools\\ffmpeg-master-latest-win64-gpl\\bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append\n        echo \"$pwd\\tools\\poppler-21.11.0\\Library\\bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append\n    - name: Cache pip\n      if: ${{ !startsWith(runner.os, 'windows') }}\n      uses: actions/cache@v4\n      with:\n        path: ${{ matrix.pippath }}\n        key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.py') }}\n    - name: Install tox\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: tox env cache\n      if: ${{ !startsWith(runner.os, 'windows') }}\n      uses: actions/cache@v4\n      with:\n        path: ${{ github.workspace }}/.tox/py${{ matrix.python-version }}\n        key: ${{ runner.os }}-tox-py${{ matrix.python-version }}-${{ hashFiles('setup.py') }}\n    - name: Test with tox\n      run: tox -e py${{ matrix.python-version }}\n", "state": "active", "repository": "learningequality/ricecooker"}
{"mined_at": "2024-07-15T12:51:58.330690", "created_at": "2020-11-03T21:26:32+01:00", "updated_at": "2020-11-03T21:26:32+01:00", "name": "Build docker base image (dev)", "path": ".github/workflows/docker-build-dev-base.yml", "contents": "name: Build docker base image (dev)\n\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request_target:\n    branches:\n      - \"*\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Prepare\n        id: prepare\n        run: |\n          if [[ \"x$DOCKER_REPO\" == \"x\" ]]; then\n            DOCKER_REPO=outflanknl\n          fi\n          DOCKER_IMAGE=\"${DOCKER_REPO}/redelk-base\"\n          echo ::set-output name=docker_image::${DOCKER_IMAGE}\n          echo ::set-output name=docker_repo::${DOCKER_REPO}\n          echo ::set-output name=build_args::BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \\\n            VCS_REF=${GITHUB_SHA::8}\n        env:\n          DOCKER_REPO: ${{ secrets.DOCKER_REPO }}\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: ${{ steps.prepare.outputs.docker_image }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        if: ${{ github.event_name != 'pull_request' }}\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-base-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-base-\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: elkserver/docker/redelk-base\n          file: ./elkserver/docker/redelk-base/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n          build-args: ${{ steps.prepare.outputs.build_args }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n          # tags: |\n          #   ${{ steps.semver_parser.outputs.major }}\n          #   ${{ steps.semver_parser.outputs.major }}.${{ steps.semver_parser.outputs.minor }}\n          #   ${{ steps.semver_parser.outputs.major }}.${{ steps.semver_parser.outputs.minor }}.${{ steps.semver_parser.outputs.patch }}\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:51:59.418837", "created_at": "2020-11-03T21:25:05+01:00", "updated_at": "2020-11-03T21:25:05+01:00", "name": "Build docker elasticsearch image (dev)", "path": ".github/workflows/docker-build-dev-elasticsearch.yml", "contents": "name: Build docker elasticsearch image (dev)\n\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request_target:\n    branches:\n      - \"*\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Prepare\n        id: prepare\n        run: |\n          if [[ \"x$DOCKER_REPO\" == \"x\" ]]; then\n            DOCKER_REPO=outflanknl\n          fi\n          DOCKER_IMAGE=\"${DOCKER_REPO}/redelk-elasticsearch\"\n          echo ::set-output name=docker_image::${DOCKER_IMAGE}\n          echo ::set-output name=docker_repo::${DOCKER_REPO}\n          echo ::set-output name=build_args::BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \\\n            VCS_REF=${GITHUB_SHA::8}\n        env:\n          DOCKER_REPO: ${{ secrets.DOCKER_REPO }}\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: ${{ steps.prepare.outputs.docker_image }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        if: ${{ github.event_name != 'pull_request' }}\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-elasticsearch-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-elasticsearch-\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: elkserver/docker/redelk-elasticsearch\n          file: ./elkserver/docker/redelk-elasticsearch/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n          build-args: ${{ steps.prepare.outputs.build_args }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:52:00.546621", "created_at": "2020-11-03T21:25:05+01:00", "updated_at": "2020-11-03T21:25:05+01:00", "name": "Build docker jupyter image (dev)", "path": ".github/workflows/docker-build-dev-jupyter.yml", "contents": "name: Build docker jupyter image (dev)\n\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request_target:\n    branches:\n      - \"*\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Prepare\n        id: prepare\n        run: |\n          if [[ \"x$DOCKER_REPO\" == \"x\" ]]; then\n            DOCKER_REPO=outflanknl\n          fi\n          DOCKER_IMAGE=\"${DOCKER_REPO}/redelk-jupyter\"\n          echo ::set-output name=docker_image::${DOCKER_IMAGE}\n          echo ::set-output name=docker_repo::${DOCKER_REPO}\n          echo ::set-output name=build_args::BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \\\n            VCS_REF=${GITHUB_SHA::8}\n        env:\n          DOCKER_REPO: ${{ secrets.DOCKER_REPO }}\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: ${{ steps.prepare.outputs.docker_image }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        if: ${{ github.event_name != 'pull_request' }}\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-jupyter-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-jupyter-\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: elkserver/docker/redelk-jupyter\n          file: ./elkserver/docker/redelk-jupyter/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n          build-args: ${{ steps.prepare.outputs.build_args }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:52:01.698183", "created_at": "2020-11-03T21:25:05+01:00", "updated_at": "2020-11-03T21:25:05+01:00", "name": "Build docker kibana image (dev)", "path": ".github/workflows/docker-build-dev-kibana.yml", "contents": "name: Build docker kibana image (dev)\n\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request_target:\n    branches:\n      - \"*\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Prepare\n        id: prepare\n        run: |\n          if [[ \"x$DOCKER_REPO\" == \"x\" ]]; then\n            DOCKER_REPO=outflanknl\n          fi\n          DOCKER_IMAGE=\"${DOCKER_REPO}/redelk-kibana\"\n          echo ::set-output name=docker_image::${DOCKER_IMAGE}\n          echo ::set-output name=docker_repo::${DOCKER_REPO}\n          echo ::set-output name=build_args::BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \\\n            VCS_REF=${GITHUB_SHA::8}\n        env:\n          DOCKER_REPO: ${{ secrets.DOCKER_REPO }}\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: ${{ steps.prepare.outputs.docker_image }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        if: ${{ github.event_name != 'pull_request' }}\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-kibana-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-kibana-\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: elkserver/docker/redelk-kibana\n          file: ./elkserver/docker/redelk-kibana/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n          build-args: ${{ steps.prepare.outputs.build_args }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:52:02.814387", "created_at": "2020-11-03T21:25:05+01:00", "updated_at": "2020-11-03T21:25:05+01:00", "name": "Build docker logstash image (dev)", "path": ".github/workflows/docker-build-dev-logstash.yml", "contents": "name: Build docker logstash image (dev)\n\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request_target:\n    branches:\n      - \"*\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Prepare\n        id: prepare\n        run: |\n          if [[ \"x$DOCKER_REPO\" == \"x\" ]]; then\n            DOCKER_REPO=outflanknl\n          fi\n          DOCKER_IMAGE=\"${DOCKER_REPO}/redelk-logstash\"\n          echo ::set-output name=docker_image::${DOCKER_IMAGE}\n          echo ::set-output name=docker_repo::${DOCKER_REPO}\n          echo ::set-output name=build_args::BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \\\n            VCS_REF=${GITHUB_SHA::8}\n        env:\n          DOCKER_REPO: ${{ secrets.DOCKER_REPO }}\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: ${{ steps.prepare.outputs.docker_image }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        if: ${{ github.event_name != 'pull_request' }}\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-logstash-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-logstash-\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: elkserver/docker/redelk-logstash\n          file: ./elkserver/docker/redelk-logstash/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n          build-args: ${{ steps.prepare.outputs.build_args }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:52:03.842876", "created_at": "2020-11-06T14:53:58+01:00", "updated_at": "2020-11-06T14:53:58+01:00", "name": "Build docker base image (prd)", "path": ".github/workflows/docker-build-prd-base.yml", "contents": "name: Build docker base image (prd)\n\non:\n  push:\n    tags:\n      - \"*\"\n    paths:\n      - \"*\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Prepare\n        id: prepare\n        run: |\n          if [[ \"x$DOCKER_REPO\" == \"x\" ]]; then\n            DOCKER_REPO=outflanknl\n          fi\n          DOCKER_IMAGE=\"${DOCKER_REPO}/redelk-base\"\n          echo ::set-output name=docker_image::${DOCKER_IMAGE}\n          echo ::set-output name=docker_repo::${DOCKER_REPO}\n          echo ::set-output name=build_args::BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \\\n            VCS_REF=${GITHUB_SHA::8}\n        env:\n          DOCKER_REPO: ${{ secrets.DOCKER_REPO }}\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: ${{ steps.prepare.outputs.docker_image }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        if: ${{ github.event_name != 'pull_request' }}\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-base-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-base-\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: elkserver/docker/redelk-base\n          file: ./elkserver/docker/redelk-base/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n          build-args: ${{ steps.prepare.outputs.build_args }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:52:04.944986", "created_at": "2020-11-06T14:53:58+01:00", "updated_at": "2020-11-06T14:59:22+01:00", "name": "Build docker elasticsearch image (prd)", "path": ".github/workflows/docker-build-prd-elasticsearch.yml", "contents": "name: Build docker elasticsearch image (prd)\n\non:\n  push:\n    tags:\n      - \"*\"\n    paths:\n      - \"*\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Prepare\n        id: prepare\n        run: |\n          if [[ \"x$DOCKER_REPO\" == \"x\" ]]; then\n            DOCKER_REPO=outflanknl\n          fi\n          DOCKER_IMAGE=\"${DOCKER_REPO}/redelk-elasticsearch\"\n          echo ::set-output name=docker_image::${DOCKER_IMAGE}\n          echo ::set-output name=docker_repo::${DOCKER_REPO}\n          echo ::set-output name=build_args::BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \\\n            VCS_REF=${GITHUB_SHA::8}\n        env:\n          DOCKER_REPO: ${{ secrets.DOCKER_REPO }}\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: ${{ steps.prepare.outputs.docker_image }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        if: ${{ github.event_name != 'pull_request' }}\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-elasticsearch-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-elasticsearch-\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: elkserver/docker/redelk-elasticsearch\n          file: ./elkserver/docker/redelk-elasticsearch/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n          build-args: ${{ steps.prepare.outputs.build_args }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:52:06.071074", "created_at": "2020-11-06T14:53:58+01:00", "updated_at": "2020-11-06T14:59:22+01:00", "name": "Build docker jupyter image (prd)", "path": ".github/workflows/docker-build-prd-jupyter.yml", "contents": "name: Build docker jupyter image (prd)\n\non:\n  push:\n    tags:\n      - \"*\"\n    paths:\n      - \"*\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Prepare\n        id: prepare\n        run: |\n          if [[ \"x$DOCKER_REPO\" == \"x\" ]]; then\n            DOCKER_REPO=outflanknl\n          fi\n          DOCKER_IMAGE=\"${DOCKER_REPO}/redelk-jupyter\"\n          echo ::set-output name=docker_image::${DOCKER_IMAGE}\n          echo ::set-output name=docker_repo::${DOCKER_REPO}\n          echo ::set-output name=build_args::BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \\\n            VCS_REF=${GITHUB_SHA::8}\n        env:\n          DOCKER_REPO: ${{ secrets.DOCKER_REPO }}\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: ${{ steps.prepare.outputs.docker_image }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        if: ${{ github.event_name != 'pull_request' }}\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-jupyter-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-jupyter-\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: elkserver/docker/redelk-jupyter\n          file: ./elkserver/docker/redelk-jupyter/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n          build-args: ${{ steps.prepare.outputs.build_args }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:52:07.188079", "created_at": "2020-11-06T14:53:58+01:00", "updated_at": "2020-11-06T14:59:22+01:00", "name": "Build docker kibana image (prd)", "path": ".github/workflows/docker-build-prd-kibana.yml", "contents": "name: Build docker kibana image (prd)\n\non:\n  push:\n    tags:\n      - \"*\"\n    paths:\n      - \"*\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Prepare\n        id: prepare\n        run: |\n          if [[ \"x$DOCKER_REPO\" == \"x\" ]]; then\n            DOCKER_REPO=outflanknl\n          fi\n          DOCKER_IMAGE=\"${DOCKER_REPO}/redelk-kibana\"\n          echo ::set-output name=docker_image::${DOCKER_IMAGE}\n          echo ::set-output name=docker_repo::${DOCKER_REPO}\n          echo ::set-output name=build_args::BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \\\n            VCS_REF=${GITHUB_SHA::8}\n        env:\n          DOCKER_REPO: ${{ secrets.DOCKER_REPO }}\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: ${{ steps.prepare.outputs.docker_image }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        if: ${{ github.event_name != 'pull_request' }}\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-kibana-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-kibana-\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: elkserver/docker/redelk-kibana\n          file: ./elkserver/docker/redelk-kibana/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n          build-args: ${{ steps.prepare.outputs.build_args }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:52:08.336952", "created_at": "2020-11-06T14:53:58+01:00", "updated_at": "2020-11-06T14:59:22+01:00", "name": "Build docker logstash image (prd)", "path": ".github/workflows/docker-build-prd-logstash.yml", "contents": "name: Build docker logstash image (prd)\n\non:\n  push:\n    tags:\n      - \"*\"\n    paths:\n      - \"*\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Prepare\n        id: prepare\n        run: |\n          if [[ \"x$DOCKER_REPO\" == \"x\" ]]; then\n            DOCKER_REPO=outflanknl\n          fi\n          DOCKER_IMAGE=\"${DOCKER_REPO}/redelk-logstash\"\n          echo ::set-output name=docker_image::${DOCKER_IMAGE}\n          echo ::set-output name=docker_repo::${DOCKER_REPO}\n          echo ::set-output name=build_args::BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \\\n            VCS_REF=${GITHUB_SHA::8}\n        env:\n          DOCKER_REPO: ${{ secrets.DOCKER_REPO }}\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: ${{ steps.prepare.outputs.docker_image }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        if: ${{ github.event_name != 'pull_request' }}\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-logstash-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-logstash-\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: elkserver/docker/redelk-logstash\n          file: ./elkserver/docker/redelk-logstash/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n          build-args: ${{ steps.prepare.outputs.build_args }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:52:09.352966", "created_at": "2020-11-01T12:51:37+01:00", "updated_at": "2020-11-01T12:51:37+01:00", "name": "Label PR", "path": ".github/workflows/label.yml", "contents": "# This workflow will triage pull requests and apply a label based on the\n# paths that are modified in the pull request.\n#\n# To use this workflow, you will need to set up a .github/labeler.yml\n# file with configuration.  For more information, see:\n# https://github.com/actions/labeler\n\nname: Label PR\non: [pull_request_target]\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/labeler@v2\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:52:10.401446", "created_at": "2022-09-30T14:01:27+02:00", "updated_at": "2022-09-30T14:10:17+02:00", "name": "Lint - Python", "path": ".github/workflows/lint.yml", "contents": "name: Lint - Python\r\n\r\non:\r\n  push:\r\n    paths:\r\n      - \"elkserver/docker/redelk-base/redelkinstalldata/scripts/**\"\r\n      - .github/workflows/lint.yml\r\n  pull_request:\r\n    paths:\r\n      - \"elkserver/docker/redelk-base/redelkinstalldata/scripts/**\"\r\n      - .github/workflows/lint.yml\r\n\r\njobs:\r\n  lint:\r\n    runs-on: ubuntu-20.04\r\n\r\n    steps:\r\n      - name: Checkout code\r\n        uses: actions/checkout@v3\r\n      - name: Set up Python 3.6\r\n        uses: actions/setup-python@v4\r\n        with:\r\n          python-version: \"3.6.9\"\r\n          cache: pip\r\n      - name: Install dependencies\r\n        run: |\r\n          python -m pip install --upgrade pip\r\n          pip install black\r\n          pip install -r elkserver/docker/redelk-base/redelkinstalldata/scripts/requirements.txt\r\n      - name: Analysing the code with black\r\n        run: |\r\n          black --check --diff --color elkserver/docker/redelk-base/redelkinstalldata/scripts\r\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:52:11.431581", "created_at": "2020-11-04T21:13:06+01:00", "updated_at": "2020-11-04T21:13:06+01:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - main\n      - master\n      - maindev\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v5\n        with:\n          # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml\n          config-name: release-drafter.yml\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "outflanknl/redelk"}
{"mined_at": "2024-07-15T12:52:13.531697", "created_at": "2023-09-25T13:53:58+02:00", "updated_at": "2023-09-25T13:53:58+02:00", "name": "OSS Scan", "path": ".github/workflows/fossa-scan.yml", "contents": null, "state": "active", "repository": "splunk/splunk-sdk-python"}
{"mined_at": "2024-07-15T12:52:14.664238", "created_at": "2020-08-27T22:21:13+02:00", "updated_at": "2020-08-28T23:39:09+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    name: Deploy Release to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n      - name: Install dependencies\n        run: pip install twine\n      - name: Build package\n        run: python setup.py sdist\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.8.10\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n      - name: Install tox\n        run: pip install tox\n      - name: Generate API docs\n        run: |\n          rm -rf ./docs/_build\n          tox -e docs\n      - name : Docs Upload\n        uses: actions/upload-artifact@v3\n        with:\n          name: python_sdk_docs\n          path: docs/_build/html\n      # Test upload\n      # - name: Publish package to TestPyPI\n      #   uses: pypa/gh-action-pypi-publish@master\n      #   with:\n      #     user: __token__\n      #     password: ${{ secrets.test_pypi_password }}\n      #     repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "splunk/splunk-sdk-python"}
{"mined_at": "2024-07-15T12:52:15.840250", "created_at": "2021-09-23T10:06:31+02:00", "updated_at": "2021-11-03T07:38:11+01:00", "name": "Python CI", "path": ".github/workflows/test.yml", "contents": "name: Python CI\n\non:\n  [ push, pull_request ]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - ubuntu-latest\n        python: [ 3.7, 3.9]\n        splunk-version:\n          - \"8.1\"\n          - \"8.2\"\n          - \"latest\"\n      fail-fast: false\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Run docker-compose\n        run: SPLUNK_VERSION=${{matrix.splunk-version}} docker-compose up -d\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install tox\n        run: pip install tox\n\n      - name: Test Execution\n        run: tox -e py\n  fossa-scan:\n    uses: splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main\n    secrets: inherit", "state": "active", "repository": "splunk/splunk-sdk-python"}
{"mined_at": "2024-07-15T12:52:19.884303", "created_at": "2023-09-19T08:03:53+02:00", "updated_at": "2023-09-21T17:53:12+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    # run CI only if files in these whitelisted paths are changed\n    paths:\n      - '.github/workflows/**'\n      - 'rdmo/**'\n      - 'testing/**'\n      - .pre-commit-config.yaml\n      - conftest.py\n      - package.json\n      - pyproject.toml\n\n# Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  PYTHONDONTWRITEBYTECODE: 1\n  FORCE_COLOR: 1 # colored output by pytest etc.\n  CLICOLOR_FORCE: 1 # colored output by ruff\n\njobs:\n\n  lint:\n    name: Lint\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.12\"\n        cache: pip\n    - run: python -m pip install --upgrade pip\n    - run: python -m pip install --editable .[dev]\n    - name: Set up pre-commit cache\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pre-commit\n        key: lint-${{ hashFiles('.pre-commit-config.yaml') }}\n    - name: Run linters via pre-commit (ruff, eslint)\n      run: pre-commit run --all-files --color=always\n\n  test:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.12']\n        db-backend: [mysql, postgres]\n    name: \"Test (Python: ${{ matrix.python-version }}, DB: ${{ matrix.db-backend }})\"\n    needs: lint\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n    - name: Install Dependencies\n      run: |\n        sudo apt update\n        sudo apt install --yes pandoc texlive-xetex librsvg2-bin\n        python -m pip install --upgrade pip\n        pandoc --version\n    - name: Install rdmo[mysql] and start mysql\n      run: |\n        python -m pip install --editable .[ci,mysql]\n        sudo systemctl start mysql.service\n      if: matrix.db-backend == 'mysql'\n    - name: Install rdmo[postgres] and start postgresql\n      run: |\n        python -m pip install --editable .[ci,postgres]\n        sudo systemctl start postgresql.service\n        pg_isready\n        sudo -u postgres psql --command=\"CREATE USER postgres_user PASSWORD 'postgres_password' CREATEDB\"\n      if: matrix.db-backend == 'postgres'\n    - name: Prepare Env\n      run: |\n        cp -r testing/media testing/media_root\n        mkdir testing/log\n    - name: Run Tests\n      run: |\n        pytest -p randomly -p no:cacheprovider --cov --reuse-db --numprocesses=auto --dist=loadscope\n        coveralls --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        GITHUB_DB_BACKEND: ${{ matrix.db-backend }}\n        COVERALLS_FLAG_NAME: '${{ matrix.db-backend }}: ${{ matrix.python-version }}'\n        COVERALLS_PARALLEL: true\n    # end-to-end tests\n    - uses: actions/setup-node@v4\n      with:\n        node-version: 18\n        cache: npm\n      if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres'\n    - name: Install e2e tests dependencies\n      run: |\n        npm install\n        npm run build:prod\n        playwright install chromium\n      if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres'\n    - run: mkdir screenshots\n    - name: Run end-to-end tests\n      run: pytest -p randomly -p no:cacheprovider --reuse-db --numprocesses=auto --dist=loadscope -m e2e --nomigrations\n      if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres'\n      env:\n        DJANGO_DEBUG: True\n        GITHUB_DB_BACKEND: ${{ matrix.db-backend }}\n    - uses: actions/upload-artifact@v3\n      with:\n        name: screenshots\n        path: screenshots/*.png\n      if: matrix.python-version == '3.12' && matrix.db-backend == 'postgres'\n\n  coveralls:\n    name: Indicate completion to coveralls\n    needs: test\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n    - name: Run Coveralls finish\n      run: |\n        python -m pip install coveralls\n        coveralls --service=github --finish\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  build-wheel:\n    name: Build python wheel\n    needs: test\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: Get short commit SHA\n      run: |\n        if [ \"${{ github.event_name }}\" = \"pull_request\" ]; then\n          SHA=\"${{ github.event.pull_request.head.sha }}\"\n        else\n          SHA=\"${{ github.sha }}\"\n        fi\n        echo \"SHA=$(git rev-parse --short $SHA)\" >> $GITHUB_ENV\n    - name: Get current version (MAJOR.MINOR.PATCH)\n      id: current-version\n      run: echo \"current_version=$(grep -Po '(?<=__version__ = \")[\\d\\w.]+(?=\")' rdmo/__init__.py)\" >> $GITHUB_OUTPUT\n    - name: Generate new version (current version + SHA)\n      id: new-version\n      run: echo \"new_version=${{ steps.current-version.outputs.current_version }}+$SHA\" >> $GITHUB_OUTPUT\n    - name: Update version in rdmo/__init__.py\n      run: |\n        sed -i \"s/__version__ = .*/__version__ = \\\"${{ steps.new-version.outputs.new_version }}\\\"/\" rdmo/__init__.py\n    - uses: actions/setup-node@v4\n      with:\n        node-version: 18\n        cache: npm\n    - run: npm install\n    - run: npm run build:prod\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.12'\n        cache: pip\n    - run: |\n        python -m pip install --upgrade pip\n        python -m pip install .[dev]\n    - name: Build the wheel\n      run: python -m build --wheel\n    - name: Check metadata\n      run: python -m twine check --strict dist/*\n    - name: Install package from built wheel\n      run: python -m pip install --force-reinstall dist/rdmo*.whl\n    - name: Write info to step summary\n      run: |\n        echo -e \"# ✓ Wheel successfully built (v${{ steps.new-version.outputs.new_version }})\\n\\n\" >> $GITHUB_STEP_SUMMARY\n        echo \"\\`\\`\\`console\" >> $GITHUB_STEP_SUMMARY\n        echo \"$ python -m pip show rdmo\" >> $GITHUB_STEP_SUMMARY\n        python -m pip show rdmo >> $GITHUB_STEP_SUMMARY\n        echo \"\\`\\`\\`\" >> $GITHUB_STEP_SUMMARY\n    - name: Upload wheel as artifact\n      uses: actions/upload-artifact@v3\n      with:\n        name: wheel\n        path: dist/rdmo*.whl\n        if-no-files-found: error\n        retention-days: 30\n\n  dev-setup:\n    # Ref: structlog (MIT licensed) <https://github.com/hynek/structlog/blob/main/.github/workflows/ci.yml>\n    name: \"Test dev setup on ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n          cache: pip\n      - run: python -Im pip install --editable .[dev]\n      - run: python -Ic 'import rdmo; print(rdmo.__version__)'\n\n  dependencies:\n    name: Test installation of all dependencies\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n          cache: pip\n      - name: Install os requirements for python-ldap\n        run: |\n          sudo apt update\n          sudo apt install --yes libldap2-dev libsasl2-dev\n      - run: python -m pip install --upgrade pip\n      - run: python -m pip install .[allauth,shibboleth,ci,dev,gunicorn,ldap,mysql,postgres,pytest]\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 18\n          cache: npm\n      - run: npm install --include=dev\n      - name: Write info to step summary\n        run: |\n          {\n            echo -e \"# ✓ All dependency groups successfully installed in combination\\n\\n\"\n            echo '<details><summary>Installed Python packages (dependency tree)</summary>'\n            echo -e \"\\n\\`\\`\\`console\"\n            echo \"$ python -m pipdeptree --local-only --exclude=pip,pipdeptree\"\n            python -m pipdeptree --local-only --exclude=pip,pipdeptree\n            echo -e \"\\`\\`\\`\\n</details>\"\n            echo '<details><summary>Outdated Python dependencies</summary>'\n            echo -e \"\\n\\`\\`\\`console\"\n            echo \"$ python -m pip list --outdated\"\n            python -m pip list --outdated\n            echo -e \"\\`\\`\\`\\n</details>\"\n            echo '<details><summary>Installed JavaScript packages (dependency tree)</summary>'\n            echo -e \"\\n\\`\\`\\`console\"\n            echo \"$ npm list --all\"\n            npm list --all\n            echo -e \"\\`\\`\\`\\n</details>\"\n            echo '<details><summary>Outdated JavaScript dependencies</summary>'\n            echo -e \"\\n\\`\\`\\`console\"\n            echo \"$ npm outdated --long\"\n            npm outdated --long || true\n            echo -e \"\\`\\`\\`\\n</details>\"\n          } >> $GITHUB_STEP_SUMMARY\n\n  required-checks-pass:\n    if: always()\n    needs:\n      - lint\n      - test\n      - coveralls\n      - build-wheel\n      - dev-setup\n      - dependencies\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "rdmorganiser/rdmo"}
{"mined_at": "2024-07-15T12:52:21.127790", "created_at": "2023-11-02T16:08:19+01:00", "updated_at": "2023-11-02T16:08:19+01:00", "name": "Update pre-commit hooks", "path": ".github/workflows/pre-commit-autoupdate.yml", "contents": "# This CI job is adapted from:\n# Cookiecutter Django (2013-10-17), BSD-3-Clause license\n# Ref: https://github.com/cookiecutter/cookiecutter-django/blob/2023.10.17/.github/workflows/pre-commit-autoupdate.yml\n\nname: Update pre-commit hooks\n\non:\n  schedule:\n    # run once a month at midnight of the first day of the month\n    - cron: 0 0 1 * *\n  # run manually from actions tab\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  auto-update:\n    # Disables this workflow from running in a repository that is not part of the indicated organization/user\n    if: github.repository_owner == 'rdmorganiser'\n    permissions:\n      contents: write # for peter-evans/create-pull-request to create branch\n      pull-requests: write # for peter-evans/create-pull-request to create a PR\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n          cache: pip\n      - run: python -m pip install pre-commit\n      - run: pre-commit autoupdate > autoupdate.log\n      - name: Prepare message for pr body\n        run: |\n          grep \"updating\" autoupdate.log > updates.log\n          sed -i -e 's/\\[/- </g' updates.log\n          sed -i -e 's/\\]/>/g' updates.log\n          echo -e \"## Proposed changes\\n\\nBumps the pre-commit config with the following updates:\\n\" > pr-body.md\n          cat updates.log >> pr-body.md\n          echo -e \"\\n---\\nThis PR is auto-generated once a month.\" >> pr-body.md\n      # Ref: https://github.com/peter-evans/create-pull-request\n      - name: Create pull request\n        uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2\n        with:\n          branch: pre-commit-autoupdate\n          base: dependency-updates\n          committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n          author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n          title: \"build: update pre-commit hooks\"\n          commit-message: \"build: update pre-commit hooks\"\n          add-paths: .pre-commit-config.yaml\n          body-path: pr-body.md\n          labels: |\n            dependencies\n            pre-commit\n            type: maintenance\n          delete-branch: true\n      - name: Write to job summary\n        run: |\n          cat updates.log >> $GITHUB_STEP_SUMMARY\n", "state": "active", "repository": "rdmorganiser/rdmo"}
{"mined_at": "2024-07-15T12:52:22.249020", "created_at": "2021-11-03T17:33:13+01:00", "updated_at": "2023-09-21T17:53:15+02:00", "name": "CI", "path": ".github/workflows/pytest.yml", "contents": null, "state": "active", "repository": "rdmorganiser/rdmo"}
{"mined_at": "2024-07-15T12:52:24.394702", "created_at": "2024-05-30T15:13:45+02:00", "updated_at": "2024-06-25T20:47:16+02:00", "name": "Complete tests", "path": ".github/workflows/all-tests.yml", "contents": null, "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:25.449873", "created_at": "2023-02-09T11:33:35+01:00", "updated_at": "2023-02-09T11:33:35+01:00", "name": "Build documentation", "path": ".github/workflows/build-docs.yml", "contents": "name: Build documentation\non: workflow_dispatch\n\njobs:\n  build-and-test:\n    name: Docs\n    runs-on: \"ubuntu-latest\"\n    defaults:\n      run:\n        shell: bash -el {0}\n    steps:\n      - uses: actions/checkout@v2\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          environment-file: environment_rtd.yml\n      - name: Python version\n        run: |\n          python --version\n      - name: Build docs\n        run: |\n          cd doc\n          make html\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:26.462693", "created_at": "2023-02-14T15:14:48+01:00", "updated_at": "2023-02-15T16:29:34+01:00", "name": "Create caches for gin ecephys data and virtual env", "path": ".github/workflows/caches_cron_job.yml", "contents": "name: Create caches for gin ecephys data and virtual env\n\non:\n  workflow_dispatch:\n  push:  # When someting is pushed into main this checks if caches need to re-created\n    branches:\n      - main\n  schedule:\n    - cron: \"0 12 * * *\"  # Daily at noon UTC\n\njobs:\n\n\n\n  create-virtual-env-cache-if-missing:\n    name: Caching virtual env\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Get current year-month\n        id: date\n        run: |\n          echo \"date=$(date +'%Y-%m')\" >> $GITHUB_OUTPUT\n      - name: Get current dependencies hash\n        id: dependencies\n        run: |\n          echo \"hash=${{hashFiles('**/pyproject.toml')}}\" >> $GITHUB_OUTPUT\n      - uses: actions/cache@v4\n        id: cache-venv\n        with:\n          path: ${{ github.workspace }}/test_env\n          key: ${{ runner.os }}-venv-${{ steps.dependencies.outputs.hash }}-${{ steps.date.outputs.date }}\n          lookup-only: 'true'   # Avoids downloading the data, saving behavior is not affected.\n      - name: Cache found?\n        run: echo \"Cache-hit == ${{steps.cache-venv.outputs.cache-hit == 'true'}}\"\n      - name: Create the virtual environment to be cached\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        uses: ./.github/actions/build-test-environment\n\n\n\n\n  create-gin-data-cache-if-missing:\n    name: Caching data env\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Create the directory to store the data\n        run: |\n          mkdir --parents --verbose $HOME/spikeinterface_datasets/ephy_testing_data/\n          chmod -R 777 $HOME/spikeinterface_datasets\n          ls -l $HOME/spikeinterface_datasets\n      - name: Get current hash (SHA) of the ephy_testing_data repo\n        id: repo_hash\n        run: |\n          echo \"dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)\"\n          echo \"dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)\" >> $GITHUB_OUTPUT\n      - uses: actions/cache@v4\n        id: cache-datasets\n        with:\n          path: ~/spikeinterface_datasets\n          key: ${{ runner.os }}-datasets-${{ steps.repo_hash.outputs.dataset_hash }}\n          lookup-only: 'true'   # Avoids downloading the data, saving behavior is not affected.\n      - name: Cache found?\n        run: echo \"Cache-hit == ${{steps.cache-datasets.outputs.cache-hit == 'true'}}\"\n      - name: Installing datalad and git-annex\n        if: steps.cache-datasets.outputs.cache-hit != 'true'\n        run: |\n          git config --global user.email \"CI@example.com\"\n          git config --global user.name \"CI Almighty\"\n          python -m pip install -U pip  # Official recommended way\n          pip install datalad-installer\n          datalad-installer --sudo ok git-annex --method datalad/packages\n          pip install datalad\n          git config --global filter.annex.process \"git-annex filter-process\"  # recommended for efficiency\n      - name: Download dataset\n        if: steps.cache-datasets.outputs.cache-hit != 'true'\n        run: |\n          datalad install --recursive --get-data https://gin.g-node.org/NeuralEnsemble/ephy_testing_data\n      - name: Move the downloaded data to the right directory\n        if: steps.cache-datasets.outputs.cache-hit != 'true'\n        run: |\n          mv --force ./ephy_testing_data $HOME/spikeinterface_datasets/\n      - name: Show size of the cache to assert data is downloaded\n        run: |\n          cd $HOME\n          pwd\n          du -hs spikeinterface_datasets  # Should show the size of ephy_testing_data\n          cd spikeinterface_datasets\n          pwd\n          ls -lh  # Should show ephy_testing_data\n          cd ephy_testing_data\n          ls -lh\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:27.489639", "created_at": "2021-07-21T10:35:46+02:00", "updated_at": "2023-04-12T11:57:53+02:00", "name": "Testing core", "path": ".github/workflows/core-test.yml", "contents": "name: Testing core\n\non:\n  pull_request:\n    types: [synchronize, opened, reopened]\n    branches:\n      - main\n\nconcurrency:  # Cancel previous workflows on the same pull request\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-and-test:\n    name: Test on ${{ matrix.os }} OS\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Install dependencies\n        run: |\n          git config --global user.email \"CI@example.com\"\n          git config --global user.name \"CI Almighty\"\n          python -m pip install -U pip  # Official recommended way\n          pip install -e .[test_core]\n      - name: Test core with pytest\n        run: |\n          pytest -m \"core\" -vv -ra --durations=0 --durations-min=0.001 | tee report.txt; test $? -eq 0 || exit 1\n        shell: bash  # Necessary for pipeline to work on windows\n      - name: Build test summary\n        run: |\n          pip install pandas\n          pip install tabulate\n          echo \"# Timing profile of core tests in ${{matrix.os}}\" >> $GITHUB_STEP_SUMMARY\n          # Outputs markdown summary to standard output\n          python ./.github/build_job_summary.py report.txt >> $GITHUB_STEP_SUMMARY\n          cat $GITHUB_STEP_SUMMARY\n          rm report.txt\n        shell: bash  # Necessary for pipeline to work on windows\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:28.508925", "created_at": "2023-07-10T14:00:48+02:00", "updated_at": "2023-10-23T08:45:28+02:00", "name": "Testing deepinterpolation", "path": ".github/workflows/deepinterpolation.yml", "contents": "name: Testing deepinterpolation\n\non:\n  pull_request:\n    types: [synchronize, opened, reopened]\n    branches:\n      - main\n\nconcurrency:  # Cancel previous workflows on the same pull request\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-and-test:\n    name: Test on ${{ matrix.os }} OS\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v41\n      - name: Deepinteprolation changes\n        id: modules-changed\n        run: |\n          for file in ${{ steps.changed-files.outputs.all_changed_files }}; do\n            if [[ $file == *\"/deepinterpolation/\"* ]]; then\n              echo \"DeepInterpolation changed\"\n              echo \"DEEPINTERPOLATION_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n          done\n      - name: Install dependencies\n        if: ${{ steps.modules-changed.outputs.DEEPINTERPOLATION_CHANGED == 'true' }}\n        run: |\n          python -m pip install -U pip  # Official recommended way\n          # install deepinteprolation\n          pip install tensorflow==2.7.0\n          pip install deepinterpolation@git+https://github.com/AllenInstitute/deepinterpolation.git\n          pip install protobuf==3.20.*\n          pip install -e .[full,test_core]\n      - name: Test DeepInterpolation with pytest\n        if: ${{ steps.modules-changed.outputs.DEEPINTERPOLATION_CHANGED == 'true' }}\n        run: |\n          pytest -v src/spikeinterface/preprocessing/deepinterpolation\n        shell: bash  # Necessary for pipeline to work on windows\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:29.729317", "created_at": "2023-01-26T15:53:25+01:00", "updated_at": "2023-04-05T14:04:21+02:00", "name": "Full spikeinterface tests codecov", "path": ".github/workflows/full-test-with-codecov.yml", "contents": "name: Full spikeinterface tests codecov\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 12 * * *\"  # Daily at noon UTC\n\nenv:\n  KACHERY_CLOUD_CLIENT_ID: ${{ secrets.KACHERY_CLOUD_CLIENT_ID }}\n  KACHERY_CLOUD_PRIVATE_KEY: ${{ secrets.KACHERY_CLOUD_PRIVATE_KEY }}\n\njobs:\n  full-tests-with-codecov:\n    name: Codecov in Ubuntu\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        # \"macos-latest\", \"windows-latest\"\n        os: [\"ubuntu-latest\", ]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Get current year-month\n        id: date\n        run: echo \"date=$(date +'%Y-%m')\" >> $GITHUB_OUTPUT\n      - name: Restore cached virtual environment with dependencies\n        uses: actions/cache/restore@v4\n        id: cache-venv\n        with:\n          path: ${{ github.workspace }}/test_env\n          key: ${{ runner.os }}-venv-${{ hashFiles('**/pyproject.toml') }}-${{ steps.date.outputs.date }}\n      - name: Get ephy_testing_data current head hash\n        # the key depends on the last comit repo https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git\n        id: vars\n        run: |\n          echo \"HASH_EPHY_DATASET=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)\" >> $GITHUB_OUTPUT\n      - name: Restore cached gin data for extractors tests\n        uses: actions/cache/restore@v4\n        id: cache-datasets\n        env:\n          # the key depends on the last comit repo https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git\n          HASH_EPHY_DATASET: git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1\n        with:\n          path: ~/spikeinterface_datasets\n          key: ${{ runner.os }}-datasets-${{ steps.vars.outputs.HASH_EPHY_DATASET }}\n          restore-keys: ${{ runner.os }}-datasets\n      - name: Install packages\n        uses: ./.github/actions/build-test-environment\n      - name: Shows installed packages by pip, git-annex and cached testing files\n        uses: ./.github/actions/show-test-environment\n      - name: run tests\n        env:\n          HDF5_PLUGIN_PATH: ${{ github.workspace }}/hdf5_plugin_path_maxwell\n        run: |\n          source ${{ github.workspace }}/test_env/bin/activate\n          pytest -m \"not sorters_external\" --cov=./ --cov-report xml:./coverage.xml -vv -ra --durations=0 | tee report_full.txt; test ${PIPESTATUS[0]} -eq 0 || exit 1\n          echo \"# Timing profile of full tests\" >> $GITHUB_STEP_SUMMARY\n          python ./.github/build_job_summary.py report_full.txt >> $GITHUB_STEP_SUMMARY\n          cat $GITHUB_STEP_SUMMARY\n          rm report_full.txt\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n          file: ./coverage.xml\n          flags: unittests\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:30.958261", "created_at": "2021-03-26T10:45:57+01:00", "updated_at": "2024-07-04T12:23:54+02:00", "name": "Full spikeinterface tests", "path": ".github/workflows/full-test.yml", "contents": "name: Full spikeinterface tests\n\non:\n  pull_request:\n    types: [synchronize, opened, reopened]\n    branches:\n      - main\n\nconcurrency:  # Cancel previous workflows on the same pull request\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:  #  For the sortingview backend\n  KACHERY_CLOUD_CLIENT_ID: ${{ secrets.KACHERY_CLOUD_CLIENT_ID }}\n  KACHERY_CLOUD_PRIVATE_KEY: ${{ secrets.KACHERY_CLOUD_PRIVATE_KEY }}\n\njobs:\n  full-tests-depending-on-changed-files:\n    name: Test on (${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        # \"macos-latest\", \"windows-latest\"\n        os: [\"ubuntu-latest\", ]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Get current year-month\n        id: date\n        run: echo \"date=$(date +'%Y-%m')\" >> $GITHUB_OUTPUT\n      - name: Restore cached virtual environment with dependencies\n        uses: actions/cache/restore@v4\n        id: cache-venv\n        with:\n          path: ${{ github.workspace }}/test_env\n          key: ${{ runner.os }}-venv-${{ hashFiles('**/pyproject.toml') }}-${{ steps.date.outputs.date }}\n      - name: Get ephy_testing_data current head hash\n        # the key depends on the last comit repo https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git\n        id: vars\n        run: |\n          echo \"HASH_EPHY_DATASET=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)\" >> $GITHUB_OUTPUT\n      - name: Restore cached gin data for extractors tests\n        uses: actions/cache/restore@v4\n        id: cache-datasets\n        env:\n          # the key depends on the last comit repo https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git\n          HASH_EPHY_DATASET: git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1\n        with:\n          path: ~/spikeinterface_datasets\n          key: ${{ runner.os }}-datasets-${{ steps.vars.outputs.HASH_EPHY_DATASET }}\n          restore-keys: ${{ runner.os }}-datasets\n      - name: Install packages\n        uses: ./.github/actions/build-test-environment\n      - name: Shows installed packages by pip, git-annex and cached testing files\n        uses: ./.github/actions/show-test-environment\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v41\n      - name: Module changes\n        id: modules-changed\n        run: |\n          for file in ${{ steps.changed-files.outputs.all_changed_files }}; do\n            if [[ $file == *\"pyproject.toml\" ]]; then\n              echo \"pyproject.toml changed\"\n              echo \"CORE_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/core/\"* || $file == *\"/extractors/neoextractors/neobaseextractor.py\" ]]; then\n              echo \"Core changed\"\n              echo \"CORE_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/extractors/\"* ]]; then\n              echo \"Extractors changed\"\n              echo \"EXTRACTORS_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"plexon2\"* ]]; then\n              echo \"Plexon2 changed\"\n              echo \"PLEXON2_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/preprocessing/\"* ]]; then\n              echo \"Preprocessing changed\"\n              echo \"PREPROCESSING_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/postprocessing/\"* ]]; then\n              echo \"Postprocessing changed\"\n              echo \"POSTPROCESSING_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/qualitymetrics/\"* ]]; then\n              echo \"Quality metrics changed\"\n              echo \"QUALITYMETRICS_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/sorters/\"* && $file != *\"/sorters/internal/\"* && $file != *\"/sorters/external/\"* ]]; then\n              echo \"Sorters changed\"\n              echo \"SORTERS_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/sorters/external\"* ]]; then\n              echo \"External sorters changed\"\n              echo \"SORTERS_EXTERNAL_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/sorters/internal\"* ]]; then\n              echo \"Internal sorters changed\"\n              echo \"SORTERS_INTERNAL_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/comparison/\"* ]]; then\n              echo \"Comparison changed\"\n              echo \"COMPARISON_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/curation/\"* ]]; then\n              echo \"Curation changed\"\n              echo \"CURATION_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/widgets/\"* ]]; then\n              echo \"Widgets changed\"\n              echo \"WIDGETS_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/exporters/\"* ]]; then\n              echo \"Exporters changed\"\n              echo \"EXPORTERS_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/sortingcomponents/\"* ]]; then\n              echo \"Sortingcomponents changed\"\n              echo \"SORTINGCOMPONENTS_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n            if [[ $file == *\"/generation/\"* ]]; then\n              echo \"Generation changed\"\n              echo \"GENERATION_CHANGED=true\" >> $GITHUB_OUTPUT\n            fi\n          done\n      - name: Set execute permissions on run_tests.sh\n        run: chmod +x .github/run_tests.sh\n      - name: Install Wine (Plexon2)\n        if: ${{ steps.modules-changed.outputs.PLEXON2_CHANGED == 'true' }}\n        uses: ./.github/actions/install-wine\n      - name: Test core\n        run: ./.github/run_tests.sh core\n      - name: Test extractors\n        env:\n          HDF5_PLUGIN_PATH: ${{ github.workspace }}/hdf5_plugin_path_maxwell\n        if: ${{ steps.modules-changed.outputs.EXTRACTORS_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' }}\n        run: ./.github/run_tests.sh \"extractors and not streaming_extractors\"\n      - name: Test preprocessing\n        if: ${{ steps.modules-changed.outputs.PREPROCESSING_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' }}\n        run: ./.github/run_tests.sh \"preprocessing and not deepinterpolation\"\n      - name: Test postprocessing\n        if: ${{ steps.modules-changed.outputs.POSTPROCESSING_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' }}\n        run: ./.github/run_tests.sh postprocessing\n      - name: Test quality metrics\n        if: ${{ steps.modules-changed.outputs.QUALITYMETRICS_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' }}\n        run: ./.github/run_tests.sh qualitymetrics\n      - name: Test core sorters\n        if: ${{ steps.modules-changed.outputs.SORTERS_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' }}\n        run: ./.github/run_tests.sh sorters\n      - name: Test comparison\n        if: ${{ steps.modules-changed.outputs.COMPARISON_CHANGED == 'true' || steps.modules-changed.outputs.GENERATION_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' }}\n        run: ./.github/run_tests.sh comparison\n      - name: Test curation\n        if: ${{ steps.modules-changed.outputs.CURATION_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' }}\n        run: ./.github/run_tests.sh curation\n      - name: Test widgets\n        if: ${{ steps.modules-changed.outputs.WIDGETS_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' || steps.modules-changed.outputs.QUALITYMETRICS_CHANGED == 'true' ||  steps.modules-changed.outputs.PREPROCESSING_CHANGED == 'true'}}\n        run: ./.github/run_tests.sh widgets\n      - name: Test exporters\n        if: ${{ steps.modules-changed.outputs.EXPORTERS_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' || steps.modules-changed.outputs.WIDGETS_CHANGED == 'true' }}\n        run: ./.github/run_tests.sh exporters\n      - name: Test sortingcomponents\n        if: ${{ steps.modules-changed.outputs.SORTINGCOMPONENTS_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' }}\n        run: ./.github/run_tests.sh sortingcomponents\n      - name: Test internal sorters\n        if: ${{ steps.modules-changed.outputs.SORTERS_INTERNAL_CHANGED == 'true' || steps.modules-changed.outputs.SORTINGCOMPONENTS_CHANGED || steps.modules-changed.outputs.CORE_CHANGED == 'true' }}\n        run: ./.github/run_tests.sh sorters_internal\n      - name: Test generation\n        if: ${{ steps.modules-changed.outputs.GENERATION_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' }}\n        run: ./.github/run_tests.sh generation\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:31.964012", "created_at": "2023-09-07T03:14:26+02:00", "updated_at": "2023-09-13T16:59:53+02:00", "name": "Creates Conda Install for Installation Tips", "path": ".github/workflows/installation-tips-test.yml", "contents": "name: Creates Conda Install for Installation Tips\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 12 * * 0\"  # Weekly at noon UTC on Sundays\n\njobs:\n  installation-tips-testing:\n    name: Build Conda Env on ${{ matrix.os }} OS\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -el {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            label: linux_dandi\n          - os: macos-latest\n            label: mac\n          - os: windows-latest\n            label: windows\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: Test Conda Environment Creation\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniconda-version: \"latest\"\n        environment-file: ./installation_tips/full_spikeinterface_environment_${{ matrix.label }}.yml\n        activate-environment: si_env\n    - name: Check Installation Tips\n      run: python ./installation_tips/check_your_install.py --ci # ci flag turns off gui\n    - name: Windows cleanup\n      if: ${{ matrix.label == 'windows' }}\n      run: python ./installation_tips/cleanup_for_windows.py\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:32.994103", "created_at": "2022-06-30T17:30:26+02:00", "updated_at": "2022-06-30T17:30:26+02:00", "name": "Check changed matlab files", "path": ".github/workflows/issue-on-change-matlab.yml", "contents": "name: Check changed matlab files\n\non:\n  push:\n    branches:\n      - master\n      - changed-matlab-files\n\njobs:\n  check-matlab-changed:\n    name: Check changed files\n    runs-on: \"ubuntu-latest\"\n    outputs:\n      has_changed_files: ${{ steps.changed-files.outputs.any_changed }}\n      changed_files: ${{ steps.changed-files.outputs.all_changed_files }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v41\n        with:\n          files: |\n            **/*.m\n\n  create-issue:\n    name: Create Issue\n    needs: check-matlab-changed\n    if: needs.check-matlab-changed.outputs.has_changed_files == 'true'\n    runs-on: \"ubuntu-latest\"\n    permissions:\n      issues: write\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Parse files names\n        id: parse-files-names\n        run: |\n          for file in ${{ needs.check-matlab-changed.outputs.changed_files }}; do\n            # return (\\n) characters: %0A\n            file_list+=\"%0A- \\`${file}\\`\"\n          done\n          echo ${file_list}\n          echo \"file_list=${file_list}\" >> $GITHUB_OUTPUT\n      - name: Create new issue\n        uses: imjohnbo/issue-bot@v3\n        with:\n          title: Matlab file was changed\n          body: |-\n            This is a reminder issue.\n\n            Please recompile and rebuild image for the matlab-based sorters that uses the following changed files:\n            ${{ steps.parse-files-names.outputs.file_list }}\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:34.132179", "created_at": "2021-04-22T11:24:43+02:00", "updated_at": "2021-04-22T11:24:43+02:00", "name": "Release to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name:  Release to PyPI\n\non:\n  push:\n    tags:\n       - '*'\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Install dependencies for testing\n        run: |\n          python -m pip install -U pip  # Official recommended way\n          pip install pytest\n          pip install zarr\n          pip install setuptools wheel twine build\n          pip install -e .[test_core]\n      - name: Test core with pytest\n        run: |\n          pytest -v src/spikeinterface/core\n      - name: Publish on PyPI\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        run: |\n          python -m build --sdist --wheel\n          twine upload dist/*\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:35.219863", "created_at": "2023-07-03T16:03:36+02:00", "updated_at": "2023-07-03T16:03:36+02:00", "name": "Test sorter images in Docker", "path": ".github/workflows/test_containers_docker.yml", "contents": "name: Test sorter images in Docker\n\non: workflow_dispatch\n\n\njobs:\n  test-images:\n    name: Test on (${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"windows-latest\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Python version\n        run:\n          python --version\n      - name: Docker version\n        run:\n          docker --version\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip  # Official recommended way\n          pip install pytest\n          pip install -e .[full]\n          pip install docker\n      - name: Run test docker containers\n        run: |\n          pytest -vv --capture=tee-sys -rA src/spikeinterface/sorters/external/tests/test_docker_containers.py\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:36.387741", "created_at": "2023-02-28T14:48:13+01:00", "updated_at": "2023-03-02T13:35:30+01:00", "name": "Test sorter images in singularity", "path": ".github/workflows/test_containers_singularity.yml", "contents": "name: Test sorter images in singularity\n\non: workflow_dispatch\n\n\njobs:\n  test-images:\n    name: Test on (${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        # \"macos-latest\", \"windows-latest\"\n        os: [\"ubuntu-latest\", ]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - uses: eWaterCycle/setup-singularity@v7\n        with:\n          singularity-version: 3.8.7\n      - name: Python version\n        run:\n          python --version\n      - name: Singularity version\n        run:\n          singularity --version\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip  # Official recommended way\n          pip install pytest\n          pip install -e .[full]\n          pip install spython\n      - name: Run test singularity containers\n        run: |\n          pytest -vv --capture=tee-sys -rA src/spikeinterface/sorters/external/tests/test_singularity_containers.py\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:37.513796", "created_at": "2023-07-04T11:12:42+02:00", "updated_at": "2024-01-12T15:54:09+01:00", "name": "Test GPU sorter images in singularity on AWS", "path": ".github/workflows/test_containers_singularity_gpu.yml", "contents": "name: Test GPU sorter images in singularity on AWS\n\non:\n  workflow_dispatch:\n\njobs:\n  deploy-runner:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: iterative/setup-cml@v1\n      - uses: actions/checkout@v4\n      - name: Deploy runner on EC2\n        env:\n          REPO_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        run: |\n          cml runner \\\n            --cloud=aws \\\n            --cloud-region=us-east-2 \\\n            --cloud-type=g4dn.xlarge \\\n            --labels=cml-gpu\n  test-gpu-sorters:\n    needs: deploy-runner\n    runs-on: [self-hosted, cml-gpu]\n    timeout-minutes: 360 # 6h\n    container:\n      image: docker://iterativeai/cml:0-dvc2-base1-gpu\n      options: --privileged --gpus all\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y wget squashfs-tools\n          python -m pip install -U pip  # Official recommended way\n          pip install pytest\n          pip install -e .[full]\n          pip install spython\n\n      - uses: eWaterCycle/setup-singularity@v7\n        with:\n          singularity-version: 3.8.3\n\n      - name: Run test singularity containers with GPU\n        env:\n          REPO_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n        run: |\n          pytest -vv --capture=tee-sys -rA src/spikeinterface/sorters/external/tests/test_singularity_containers_gpu.py\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:38.608511", "created_at": "2023-04-28T15:56:55+02:00", "updated_at": "2023-05-03T19:18:17+02:00", "name": "Profile Imports", "path": ".github/workflows/test_imports.yml", "contents": "name: Profile Imports\n\non:\n  pull_request:\n    types: [synchronize, opened, reopened]\n    branches:\n      - main\n\nconcurrency:  # Cancel previous workflows on the same pull request\n    group: ${{ github.workflow }}-${{ github.ref }}\n    cancel-in-progress: true\n\njobs:\n  test-and-profile-main-imports:\n    name: Profile imports on ${{ matrix.os }} OS\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install Spikeinterface with only core dependencies\n        run: |\n          git config --global user.email \"CI@example.com\"\n          git config --global user.name \"CI Almighty\"\n          python -m pip install -U pip  # Official recommended way\n          pip install .  # This should install core only\n      - name: Profile Imports\n        run: |\n          echo \"## OS: ${{ matrix.os }}\" >> $GITHUB_STEP_SUMMARY\n          echo \"---\" >> $GITHUB_STEP_SUMMARY\n          echo \"### Import times when only installing only core dependencies \" >> $GITHUB_STEP_SUMMARY\n          python ./.github/import_test.py >> $GITHUB_STEP_SUMMARY\n        shell: bash  # Necessary for pipeline to work on windows\n      - name: Install in full mode\n        run: |\n          pip install .[full]\n      - name: Profile Imports with full\n        run: |\n          # Add a header to separate the two profiles\n          echo \"---\" >> $GITHUB_STEP_SUMMARY\n          echo \"### Import times when installing full dependencies in \" >> $GITHUB_STEP_SUMMARY\n          python ./.github/import_test.py >> $GITHUB_STEP_SUMMARY\n        shell: bash  # Necessary for pipeline to work on windows\n", "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:39.669033", "created_at": "2024-06-26T13:29:14+02:00", "updated_at": "2024-06-26T13:29:14+02:00", "name": "Testing Kilosort4", "path": ".github/workflows/test_kilosort4.yml", "contents": null, "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:40.676971", "created_at": "2023-04-06T15:02:32+02:00", "updated_at": "2024-06-27T21:06:26+02:00", "name": "Testing memory overflown", "path": ".github/workflows/test_recursion.yml", "contents": null, "state": "active", "repository": "spikeinterface/spikeinterface"}
{"mined_at": "2024-07-15T12:52:42.728786", "created_at": "2021-07-30T19:13:11+02:00", "updated_at": "2021-07-31T00:50:11+02:00", "name": "cassiopeia", "path": ".github/workflows/test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: cassiopeia\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache pip\n      uses: actions/cache@v2\n      with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-v1-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-v1-\n    - name: Install dependencies\n      run: |\n        pip install pytest-cov\n        pip install codecov\n        pip install \".[spatial]\"\n    - name: Test with pytest\n      run: |\n        pytest -vv test/ --cov-report=xml --cov=cassiopeia\n    - name: After success\n      run: |\n        codecov\n        pip list\n", "state": "active", "repository": "yoseflab/cassiopeia"}
{"mined_at": "2024-07-15T12:52:44.875502", "created_at": "2022-08-23T14:43:37+02:00", "updated_at": "2024-01-04T14:34:15+01:00", "name": "docs", "path": ".github/workflows/documentation.yml", "contents": "name: docs\non: \n  push:\n    branches: [\"master\"]\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  # Single deploy job since we're just deploying\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install dependencies\n        run: |\n          pip install sphinx sphinx_rtd_theme h5py h5writer numpy pexpect pint PyQt5 pyqtgraph pytz pyzmq scipy tornado\n      - name: Sphinx build\n        run: |\n          sphinx-build docs _build\n      - name: Setup Pages\n        uses: actions/configure-pages@v4\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v3\n        with:\n          # Upload _build/\n          path: '_build/'\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4      \n", "state": "active", "repository": "fxihub/hummingbird"}
{"mined_at": "2024-07-15T12:52:46.113767", "created_at": "2024-01-04T14:34:15+01:00", "updated_at": "2024-01-04T14:34:15+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  workflow_dispatch:\n  release:\n    types:\n      - published\n\njobs:\n    dist:\n        runs-on: ubuntu-latest\n        steps:\n          - uses: actions/checkout@v4\n            with:\n              fetch-depth: 0\n      \n          - name: Build SDist and wheel\n            run: pipx run build\n      \n          - uses: actions/upload-artifact@v4\n            with:\n              name: Packages\n              path: dist/*\n      \n          - name: Check metadata\n            run: pipx run twine check dist/*\n    publish:\n        needs: [dist]\n        environment: pypi\n        permissions:\n            id-token: write\n        runs-on: ubuntu-latest\n        if: github.event_name == 'release' && github.event.action == 'published'\n        steps:\n          - uses: actions/download-artifact@v4\n            with:\n                name: Packages\n                path: dist\n    \n          - uses: pypa/gh-action-pypi-publish@release/v1    ", "state": "active", "repository": "fxihub/hummingbird"}
{"mined_at": "2024-07-15T12:52:47.275498", "created_at": "2020-12-10T22:56:38+01:00", "updated_at": "2020-12-10T22:56:38+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: test\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  dummy-build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        mpi: ['mpi4py', 'none']\n        python-version: [ '3.8', '3.9', '3.10']\n    steps:\n    - uses: actions/checkout@v4\n    - uses: conda-incubator/setup-miniconda@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install base dependencies\n      shell: bash -l {0}\n      run: |\n        # $CONDA is an environment variable pointing to the root of the miniconda directory\n        # $CONDA/bin/conda env update --file environment.yml --name base\n        # Install requirements except for h5writer and pint which must be from pip\n        pip install Pint\n        conda install --yes h5py pexpect pyqtgraph scipy pyzmq tornado pytz pyqt\n        pip install h5writer\n    - name: Install mpi\n      shell: bash -l {0}\n      run: conda install --yes ${{ matrix.mpi }}\n      if: matrix.mpi != 'none'\n    - name: Lint with flake8\n      shell: bash -l {0}\n      run: |\n        conda install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        # $CONDA/bin/flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        # $CONDA/bin/flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      shell: bash -l {0}\n      run: |\n        conda install pytest codecov pytest-cov\n        pytest --cov=./ --cov-report=xml\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v3\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}", "state": "active", "repository": "fxihub/hummingbird"}
{"mined_at": "2024-07-15T12:52:48.468290", "created_at": "2022-08-23T14:22:33+02:00", "updated_at": "2022-08-23T14:22:33+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "fxihub/hummingbird"}
{"mined_at": "2024-07-15T12:52:50.496788", "created_at": "2020-01-11T13:25:56+01:00", "updated_at": "2020-01-11T13:46:03+01:00", "name": "Test", "path": "", "contents": null, "state": "active", "repository": "jazzband/tablib"}
{"mined_at": "2024-07-15T12:52:51.634375", "created_at": "2019-12-30T16:23:02+01:00", "updated_at": "2019-12-30T16:23:02+01:00", "name": "Docs and lint", "path": ".github/workflows/docs-lint.yml", "contents": "name: Docs and lint\n\non: [push, pull_request, workflow_dispatch]\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        env:\n        - TOXENV: docs\n        - TOXENV: lint\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: pip\n          cache-dependency-path: \"pyproject.toml\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade tox\n\n      - name: Tox\n        run: tox\n        env: ${{ matrix.env }}\n", "state": "active", "repository": "jazzband/tablib"}
{"mined_at": "2024-07-15T12:52:52.602126", "created_at": "2020-11-23T13:14:24+01:00", "updated_at": "2020-11-23T13:14:24+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    branches:\n      - master\n  release:\n    types:\n      - published\n  workflow_dispatch:\n\njobs:\n  build:\n    if: github.repository_owner == 'jazzband'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n          cache: pip\n          cache-dependency-path: \"pyproject.toml\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install build twine\n\n      - name: Build package\n        run: |\n          python -m build\n          twine check dist/*\n\n      - name: Upload packages to Jazzband\n        if: github.event.action == 'published'\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: jazzband\n          password: ${{ secrets.JAZZBAND_RELEASE_KEY }}\n          repository-url: https://jazzband.co/projects/tablib/upload\n", "state": "active", "repository": "jazzband/tablib"}
{"mined_at": "2024-07-15T12:52:53.639595", "created_at": "2019-12-30T16:23:03+01:00", "updated_at": "2019-12-30T16:23:03+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request, workflow_dispatch]\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13\"]\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n        cache: pip\n        cache-dependency-path: \"pyproject.toml\"\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade tox\n        python -m pip install  -e .\n\n    - name: Tox tests\n      shell: bash\n      run: |\n        tox -e py\n\n    - name: Upload coverage\n      uses: codecov/codecov-action@v3\n      with:\n        name: ${{ matrix.os }} Python ${{ matrix.python-version }}\n", "state": "active", "repository": "jazzband/tablib"}
{"mined_at": "2024-07-15T12:52:55.706410", "created_at": "2021-09-10T14:19:21+02:00", "updated_at": "2021-09-10T14:19:21+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '25 5 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "andialbrecht/sqlparse"}
{"mined_at": "2024-07-15T12:52:56.719804", "created_at": "2021-09-10T09:15:57+02:00", "updated_at": "2022-12-30T15:47:30+01:00", "name": "Python application", "path": ".github/workflows/python-app.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python application\n\non:\n  push:\n    branches:\n    - master\n  pull_request:\n    branches: [ master ]\n  schedule:\n    - cron: '0 12 * * *'\n\njobs:\n  test:\n    name: Run tests on ${{ matrix.py }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        py:\n          #- \"3.13-dev\"\n          - \"3.12\"\n          - \"3.11\"\n          - \"3.10\"\n          - \"3.9\"\n          - \"3.8\"\n          - \"pypy-3.10\"\n          - \"pypy-3.9\"\n          - \"pypy-3.8\"\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.py }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.py }}\n        allow-prereleases: true\n        check-latest: true\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip hatch\n    - name: Lint with flake8\n      run: hatch run flake8\n    - name: Test with pytest and coverage\n      run: hatch run cov\n    - name: Publish to codecov\n      uses: codecov/codecov-action@v4\n", "state": "active", "repository": "andialbrecht/sqlparse"}
{"mined_at": "2024-07-15T12:52:58.813452", "created_at": "2023-01-01T05:38:59+01:00", "updated_at": "2023-01-01T05:38:59+01:00", "name": "CI/CD", "path": ".github/workflows/ci-cd.yml", "contents": "---\n\nname: CI/CD\n\non:   # yamllint disable-line rule:truthy\n  push:\n    branches-ignore:\n    - dependabot/**\n    - maintenance/pip-tools-constraint-lockfiles\n    - maintenance/pip-tools-constraint-lockfiles-**\n    - patchback/backports/**\n    - pre-commit-ci-update-config\n  pull_request:\n  workflow_dispatch:\n    inputs:\n      release-version:\n        # github.event_name == 'workflow_dispatch'\n        # && github.event.inputs.release-version\n        description: >-\n          Target PEP440-compliant version to release.\n          Please, don't prepend `v`.\n        required: true\n        type: string\n      release-committish:\n        # github.event_name == 'workflow_dispatch'\n        # && github.event.inputs.release-committish\n        default: ''\n        description: >-\n          The commit to be released to PyPI and tagged\n          in Git as `release-version`. Normally, you\n          should keep this empty.\n        type: string\n      YOLO:\n        default: false\n        description: >-\n          Flag whether test results should block the\n          release. Only use this under extraordinary\n          circumstances to ignore the test failures\n          and cut the release regardless.\n        type: boolean\n  schedule:\n  - cron: 1 0 * * *  # Run daily at 0:01 UTC\n\nconcurrency:\n  group: >-\n    ${{\n        github.workflow\n    }}-${{\n        github.ref_type\n    }}-${{\n        github.event.pull_request.number || github.sha\n    }}\n  cancel-in-progress: true\n\nenv:\n  dists-artifact-name: python-package-distributions\n  dists-name: CherryPy\n\n  FORCE_COLOR: 1  # Request colored output from CLI tools supporting it\n  MYPY_FORCE_COLOR: 1  # MyPy's color enforcement\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n  PIP_NO_PYTHON_VERSION_WARNING: 1\n  PIP_NO_WARN_SCRIPT_LOCATION: 1\n  PRE_COMMIT_COLOR: always\n  PY_COLORS: 1  # Recognized by the `py` package, dependency of `pytest`\n  PYTHONIOENCODING: utf-8\n  PYTHONLEGACYWINDOWSSTDIO: 1  # Python 3.6 hack\n  PYTHONUTF8: 1\n  TOX_PARALLEL_NO_SPINNER: 1\n  TOX_TESTENV_PASSENV: >-  # Make tox-wrapped tools see color requests\n    FORCE_COLOR\n    MYPY_FORCE_COLOR\n    NO_COLOR\n    PRE_COMMIT_COLOR\n    PY_COLORS\n    PYTEST_THEME\n    PYTEST_THEME_MODE\n    PYTHONIOENCODING\n    PYTHONLEGACYWINDOWSSTDIO\n    PYTHONUTF8\n  TOX_VERSION: tox < 4\n\nrun-name: >-\n  ${{\n    github.event_name == 'workflow_dispatch'\n    && format('📦 Releasing v{0}...', github.event.inputs.release-version)\n    || ''\n  }}\n  ${{\n      github.event.pull_request.number && 'PR' || ''\n  }}${{\n      !github.event.pull_request.number && 'Commit' || ''\n  }}\n  ${{ github.event.pull_request.number || github.sha }}\n  triggered by: ${{ github.event_name }} of ${{\n    github.ref\n  }} ${{\n    github.ref_type\n  }}\n  (workflow run ID: ${{\n    github.run_id\n  }}; number: ${{\n    github.run_number\n  }}; attempt: ${{\n    github.run_attempt\n  }})\n\njobs:\n  pre-setup:\n    name: ⚙️  Mode\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: python\n    outputs:\n      dist-name: ${{ steps.dist.outputs.name }}\n      dist-version: >-\n        ${{\n            steps.request-check.outputs.release-requested == 'true'\n            && github.event.inputs.release-version\n            || steps.scm-version.outputs.dist-version\n        }}\n      is-untagged-devel: >-\n        ${{ steps.untagged-check.outputs.is-untagged-devel || false }}\n      release-requested: >-\n        ${{\n            steps.request-check.outputs.release-requested || false\n        }}\n      is-yolo-mode: >-\n        ${{\n          (\n            steps.request-check.outputs.release-requested == 'true'\n            && github.event.inputs.YOLO\n          )\n          && true || false\n        }}\n      cache-key-files: >-\n        ${{ steps.calc-cache-key-files.outputs.files-hash-key }}\n      git-tag: ${{ steps.git-tag.outputs.tag }}\n      sdist-artifact-name: ${{ steps.artifact-name.outputs.sdist }}\n      wheel-artifact-name: ${{ steps.artifact-name.outputs.wheel }}\n    steps:\n    - name: Switch to using Python 3.11 by default\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.11\n    - name: >-\n        Mark the build as untagged '${{\n            github.event.repository.default_branch\n        }}' branch build\n      id: untagged-check\n      if: >-\n        github.event_name == 'push' &&\n        github.ref == format(\n          'refs/heads/{0}', github.event.repository.default_branch\n        )\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print('is-untagged-devel=true', file=outputs_file)\n    - name: Mark the build as \"release request\"\n      id: request-check\n      if: github.event_name == 'workflow_dispatch'\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print('release-requested=true', file=outputs_file)\n    - name: Check out src from Git\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: >-\n          ${{\n            steps.request-check.outputs.release-requested == 'true'\n            && 1 || 0\n          }}\n        ref: ${{ github.event.inputs.release-committish }}\n    - name: >-\n        Calculate Python interpreter version hash value\n        for use in the cache key\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      id: calc-cache-key-py\n      run: |\n        from hashlib import sha512\n        from os import environ\n        from pathlib import Path\n        from sys import version\n\n        FILE_APPEND_MODE = 'a'\n\n        hash = sha512(version.encode()).hexdigest()\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(f'py-hash-key={hash}', file=outputs_file)\n    - name: >-\n        Calculate dependency files' combined hash value\n        for use in the cache key\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      id: calc-cache-key-files\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(\n                \"files-hash-key=${{\n                    hashFiles(\n                      'setup.cfg', 'setup.py', 'tox.ini', 'pyproject.toml',\n                      '.pre-commit-config.yaml', 'pytest.ini'\n                    )\n                }}\",\n                file=outputs_file,\n            )\n    - name: Get pip cache dir\n      id: pip-cache-dir\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      run: >-\n        echo \"dir=$(python -m pip cache dir)\" >> \"${GITHUB_OUTPUT}\"\n      shell: bash\n    - name: Set up pip cache\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache-dir.outputs.dir }}\n        key: >-\n          ${{ runner.os }}-pip-${{\n          steps.calc-cache-key-py.outputs.py-hash-key }}-${{\n          steps.calc-cache-key-files.outputs.files-hash-key }}\n        restore-keys: |\n          ${{ runner.os }}-pip-${{\n              steps.calc-cache-key-py.outputs.py-hash-key\n          }}-\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n    - name: Drop Git tags from HEAD for non-release requests\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      run: >-\n        git tag --points-at HEAD\n        |\n        xargs git tag --delete\n      shell: bash\n    - name: Set up versioning prerequisites\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      run: >-\n        python -m\n        pip install\n        --user\n        setuptools-scm\n      shell: bash\n    - name: Set the current dist version from Git\n      if: steps.request-check.outputs.release-requested != 'true'\n      id: scm-version\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        import setuptools_scm\n\n        FILE_APPEND_MODE = 'a'\n\n        ver = setuptools_scm.get_version(\n          ${{\n              steps.untagged-check.outputs.is-untagged-devel == 'true'\n              && 'local_scheme=\"no-local-version\"' || ''\n          }}\n        )\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(f'dist-version={ver}', file=outputs_file)\n    - name: Set the target Git tag\n      id: git-tag\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(\n                \"tag=v${{\n                    steps.request-check.outputs.release-requested == 'true'\n                    && github.event.inputs.release-version\n                    || steps.scm-version.outputs.dist-version\n                }}\",\n                file=outputs_file,\n            )\n    - name: Set the expected dist name\n      id: dist\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(\"name=${{ env.dists-name }}\", file=outputs_file)\n    - name: Set the expected dist artifact names\n      id: artifact-name\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(\n                \"sdist=cherrypy-${{\n                    steps.request-check.outputs.release-requested == 'true'\n                    && github.event.inputs.release-version\n                    || steps.scm-version.outputs.dist-version\n                }}.tar.gz\",\n                file=outputs_file,\n            )\n            print(\n                \"wheel=${{ steps.dist.outputs.name }}-${{\n                    steps.request-check.outputs.release-requested == 'true'\n                    && github.event.inputs.release-version\n                    || steps.scm-version.outputs.dist-version\n                }}-py3-none-any.whl\",\n                file=outputs_file,\n            )\n\n  build:\n    name: >-\n      👷 dists ${{ needs.pre-setup.outputs.git-tag }}\n      [mode: ${{\n        fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n        && 'nightly' || ''\n      }}${{\n        fromJSON(needs.pre-setup.outputs.release-requested)\n        && 'release' || ''\n      }}${{\n        (\n          !fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n          && !fromJSON(needs.pre-setup.outputs.release-requested)\n        ) && 'test' || ''\n      }}]\n    needs:\n    - pre-setup  # transitive, for accessing settings\n\n    runs-on: ubuntu-latest\n\n    env:\n      TOXENV: cleanup-dists,build-dists\n\n    steps:\n    - name: Switch to using Python 3.11\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.11\n\n    - name: Grab the source from Git\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: >-\n          ${{\n              fromJSON(needs.pre-setup.outputs.release-requested)\n              && 1 || 0\n          }}\n        ref: ${{ github.event.inputs.release-committish }}\n\n    - name: >-\n        Calculate Python interpreter version hash value\n        for use in the cache key\n      id: calc-cache-key-py\n      run: |\n        from hashlib import sha512\n        from os import environ\n        from pathlib import Path\n        from sys import version\n\n        FILE_APPEND_MODE = 'a'\n\n        hash = sha512(version.encode()).hexdigest()\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(f'py-hash-key={hash}', file=outputs_file)\n      shell: python\n    - name: Get pip cache dir\n      id: pip-cache-dir\n      run: >-\n        echo \"dir=$(python -m pip cache dir)\" >> \"${GITHUB_OUTPUT}\"\n    - name: Set up pip cache\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache-dir.outputs.dir }}\n        key: >-\n          ${{ runner.os }}-pip-${{\n          steps.calc-cache-key-py.outputs.py-hash-key }}-${{\n          needs.pre-setup.outputs.cache-key-files }}\n        restore-keys: |\n          ${{ runner.os }}-pip-${{\n              steps.calc-cache-key-py.outputs.py-hash-key\n          }}-\n          ${{ runner.os }}-pip-\n    - name: Install tox\n      run: >-\n        python -m\n        pip install\n        --user\n        '${{ env.TOX_VERSION }}'\n\n    - name: Pre-populate the tox env\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --notest\n\n    - name: Drop Git tags from HEAD for non-tag-create events\n      if: >-\n        !fromJSON(needs.pre-setup.outputs.release-requested)\n      run: >-\n        git tag --points-at HEAD\n        |\n        xargs git tag --delete\n      shell: bash\n\n    - name: Setup git user as [bot]\n      if: >-\n        fromJSON(needs.pre-setup.outputs.release-requested)\n        || fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n      uses: fregante/setup-git-user@v1.1.0\n    - name: >-\n        Tag the release in the local Git repo\n        as ${{ needs.pre-setup.outputs.git-tag }}\n        for setuptools-scm to set the desired version\n      if: >-\n        fromJSON(needs.pre-setup.outputs.release-requested)\n      run: >-\n        git tag\n        -m '${{ needs.pre-setup.outputs.git-tag }}'\n        '${{ needs.pre-setup.outputs.git-tag }}'\n        --\n        ${{\n          fromJSON(needs.pre-setup.outputs.release-requested)\n          && github.event.inputs.release-committish || ''\n        }}\n\n    - name: Install tomlkit Python distribution package\n      if: >-\n        fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n      run: >-\n        python -m pip install --user tomlkit\n    - name: Instruct setuptools-scm not to add a local version part\n      if: >-\n        fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n      run: |\n        from pathlib import Path\n\n        import tomlkit\n\n        pyproject_toml_path = Path.cwd() / 'pyproject.toml'\n        pyproject_toml_txt = pyproject_toml_path.read_text()\n        pyproject_toml = tomlkit.loads(pyproject_toml_txt)\n        setuptools_scm_section = pyproject_toml['tool']['setuptools_scm']\n        setuptools_scm_section['local_scheme'] = 'no-local-version'\n        patched_pyproject_toml_txt = tomlkit.dumps(pyproject_toml)\n        pyproject_toml_path.write_text(patched_pyproject_toml_txt)\n      shell: python\n    - name: Pretend that pyproject.toml is unchanged\n      if: >-\n        fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n      run: |\n        git diff --color=always\n        git update-index --assume-unchanged pyproject.toml\n\n    - name: Build dists\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --skip-pkg-install\n    - name: Verify that the artifacts with expected names got created\n      run: >-\n        ls -1\n        'dist/${{ needs.pre-setup.outputs.sdist-artifact-name }}'\n        'dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}'\n    - name: Store the distribution packages\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ env.dists-artifact-name }}\n        # NOTE: Exact expected file names are specified here\n        # NOTE: as a safety measure — if anything weird ends\n        # NOTE: up being in this dir or not all dists will be\n        # NOTE: produced, this will fail the workflow.\n        path: |\n          dist/${{ needs.pre-setup.outputs.sdist-artifact-name }}\n          dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}\n        retention-days: >-\n          ${{\n              (\n                fromJSON(needs.pre-setup.outputs.release-requested)\n              ) && 90 || 30\n          }}\n\n  lint:\n    name: 🧹 ${{ matrix.toxenv }}\n    needs:\n    - build\n    - pre-setup  # transitive, for accessing settings\n\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n      matrix:\n        os:\n        - ubuntu\n        python-version:\n        - 3.11\n        toxenv:\n        - build-docs\n        - dist-check\n        # - doctest-docs\n        # - linkcheck-docs\n        # - metadata-validation\n        - pre-commit\n        - pre-commit-pep257\n        - setup-check\n        # - spellcheck-docs\n      fail-fast: false\n\n    env:\n      TOXENV: ${{ matrix.toxenv }}\n\n    steps:\n    - name: >-\n        Switch to using Python v${{ matrix.python-version }}\n        by default\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    # NOTE: `pre-commit --show-diff-on-failure` and `sphinxcontrib-spellcheck`\n    # NOTE: with Git authors allowlist enabled both depend on the presence of a\n    # NOTE: Git repository.\n    - name: Grab the source from Git\n      if: >-\n        contains(\n        fromJSON('[\"pre-commit\", \"pre-commit-pep257\", \"spellcheck-docs\"]'),\n        matrix.toxenv\n        )\n      uses: actions/checkout@v3\n      with:\n        ref: ${{ github.event.inputs.release-committish }}\n    - name: Retrieve the project source from an sdist inside the GHA artifact\n      if: >-\n        !contains(\n        fromJSON('[\"pre-commit\", \"pre-commit-pep257\", \"spellcheck-docs\"]'),\n        matrix.toxenv\n        )\n      uses: re-actors/checkout-python-sdist@release/v1\n      with:\n        source-tarball-name: ${{ needs.pre-setup.outputs.sdist-artifact-name }}\n        workflow-artifact-name: ${{ env.dists-artifact-name }}\n\n    - name: >-\n        Calculate Python interpreter version hash value\n        for use in the cache key\n      id: calc-cache-key-py\n      run: |\n        from hashlib import sha512\n        from os import environ\n        from pathlib import Path\n        from sys import version\n\n        FILE_APPEND_MODE = 'a'\n\n        hash = sha512(version.encode()).hexdigest()\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(f'py-hash-key={hash}', file=outputs_file)\n      shell: python\n    - name: Get pip cache dir\n      id: pip-cache\n      run: >-\n        echo \"dir=$(pip cache dir)\" >> \"${GITHUB_OUTPUT}\"\n    - name: Set up pip cache\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: >-\n          ${{ runner.os }}-pip-${{\n          steps.calc-cache-key-py.outputs.py-hash-key }}-${{\n          needs.pre-setup.outputs.cache-key-files }}\n        restore-keys: |\n          ${{ runner.os }}-pip-${{\n              steps.calc-cache-key-py.outputs.py-hash-key\n          }}-\n          ${{ runner.os }}-pip-\n    - name: Install tox\n      run: >-\n        python -m\n        pip install\n        --user\n        '${{ env.TOX_VERSION }}'\n\n    - name: Make the env clean of non-test files\n      if: matrix.toxenv == 'metadata-validation'\n      run: |\n        shopt -s extglob\n        rm -rf !tox.ini\n      shell: bash\n    - name: Download all the dists\n      if: matrix.toxenv == 'metadata-validation'\n      uses: actions/download-artifact@v3\n      with:\n        name: ${{ env.dists-artifact-name }}\n        path: dist/\n\n    - name: >-\n        Pre-populate tox envs: `${{ env.TOXENV }}`\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --notest\n    - name: Initialize pre-commit envs if needed\n      run: >-\n        test -d .tox/pre-commit\n        && .tox/pre-commit/bin/python -m pre_commit install-hooks\n        || :\n    - name: >-\n        Run tox envs: `${{ env.TOXENV }}`\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --skip-pkg-install\n\n  tests:\n    name: >-\n      🧪 🐍${{\n          matrix.python-version\n      }} @ ${{\n          matrix.os\n      }}\n    needs:\n    - build\n    - pre-setup  # transitive, for accessing settings\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version:\n        # NOTE: The latest and the lowest supported Pythons are prioritized\n        # NOTE: to improve the responsiveness. It's nice to see the most\n        # NOTE: important results first.\n        - 3.11\n        - pypy-3.9\n        - >-\n          3.10\n        - 3.9\n        - 3.8\n        - 3.7\n        - 3.6\n        - pypy-3.6\n        - ~3.12.0-0\n        os:\n        - ubuntu-22.04\n        - macos-12\n        - windows-2022\n        - ubuntu-20.04\n        - macos-11\n        - windows-2019\n        exclude:\n        # NOTE: Windows PyPy jobs are excluded to address the tox bug\n        # NOTE: https://github.com/tox-dev/tox/issues/1704.\n        # NOTE: They should be re-added once it's fixed.\n        - os: windows-2022\n          python-version: pypy-3.6\n        - os: windows-2019\n          python-version: pypy-3.6\n        # NOTE: Windows PyPy 3.7 jobs are excluded because of the lack\n        # NOTE: of the build deps to compile cryptography.\n        # NOTE: They should be re-added once it's fixed.\n        - os: windows-2022\n          python-version: pypy-3.9\n        - os: windows-2019\n          python-version: pypy-3.9\n        # NOTE: macOS PyPy jobs are excluded because installing cryptography\n        # NOTE: needs openssl headers that aren't present at the moment.\n        # TODO: Remove the exclusions once this is addressed.\n        - os: macos-11\n          python-version: pypy-3.6\n        - os: macos-latest\n          python-version: pypy-3.6\n        - os: macos-11\n          python-version: pypy-3.9\n        - os: macos-12\n          python-version: pypy-3.9\n        - os: ubuntu-22.04\n          python-version: 3.6  # EOL, only provided for older OSs\n        include: []  # TODO: include TOXENV=cheroot-master\n\n    continue-on-error: >-\n      ${{\n          (\n            fromJSON(needs.pre-setup.outputs.is-yolo-mode) ||\n            (\n              startsWith(matrix.python-version, '~')\n            ) ||\n            contains(matrix.python-version, 'alpha')\n          ) && true || false\n      }}\n\n    env:\n      TOXENV: python\n\n    steps:\n    - name: Set up Python ${{ matrix.python-version }}\n      id: python-install\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Retrieve the project source from an sdist inside the GHA artifact\n      uses: re-actors/checkout-python-sdist@release/v1\n      with:\n        source-tarball-name: ${{ needs.pre-setup.outputs.sdist-artifact-name }}\n        workflow-artifact-name: ${{ env.dists-artifact-name }}\n\n    - name: Figure out if the interpreter ABI is stable\n      id: py-abi\n      run: |\n        from os import environ\n        from sys import version_info\n\n        FILE_APPEND_MODE = 'a'\n\n        is_stable_abi = version_info.releaselevel == 'final'\n\n        with open(\n                environ['GITHUB_OUTPUT'],\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(\n                'is-stable-abi={is_stable_abi}'.\n                format(is_stable_abi=str(is_stable_abi).lower()),\n                file=outputs_file,\n            )\n      shell: python\n    - name: >-\n        Calculate Python interpreter version hash value\n        for use in the cache key\n      if: fromJSON(steps.py-abi.outputs.is-stable-abi)\n      id: calc-cache-key-py\n      run: |\n        from hashlib import sha512\n        from os import environ\n        from sys import version\n\n        FILE_APPEND_MODE = 'a'\n\n        hash = sha512(version.encode()).hexdigest()\n\n        with open(\n                environ['GITHUB_OUTPUT'], mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(f'py-hash-key={hash}', file=outputs_file)\n      shell: python\n    - name: Get pip cache dir\n      if: fromJSON(steps.py-abi.outputs.is-stable-abi)\n      id: pip-cache-dir\n      run: >-\n        echo \"dir=$(python -m pip cache dir)\" >> \"${GITHUB_OUTPUT}\"\n      shell: bash\n    - name: Set up pip cache\n      if: fromJSON(steps.py-abi.outputs.is-stable-abi)\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache-dir.outputs.dir }}\n        key: >-\n          ${{ runner.os }}-pip-${{\n          steps.calc-cache-key-py.outputs.py-hash-key }}-${{\n          needs.pre-setup.outputs.cache-key-files }}\n        restore-keys: |\n          ${{ runner.os }}-pip-${{\n              steps.calc-cache-key-py.outputs.py-hash-key\n          }}-\n          ${{ runner.os }}-pip-\n\n    - name: Upgrade pip with `requires_python`\n      run: >-\n        python -m\n        pip install\n        --user\n        --upgrade\n        --force-reinstall\n        pip-with-requires-python\n    - name: Install tox\n      run: >-\n        python -m\n        pip install\n        --user\n        '${{ env.TOX_VERSION }}'\n\n    - name: Patch tox.ini for Python 3.6 under Windows\n      if: >-\n        runner.os == 'Windows'\n        && matrix.python-version == '3.6'\n      run: >-\n        sed -i\n        's/^package_env\\(\\s\\)\\?=.*/package_env = py36-win-dummy/g'\n        tox.ini\n      shell: bash\n\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: ${{ env.dists-artifact-name }}\n        path: dist/\n\n    - name: >-\n        Pre-populate tox env:\n        ${{ env.TOXENV }}\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --installpkg 'dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}'\n        --notest\n\n    - name: Windows system info\n      run: systeminfo\n      if: >-\n        startsWith(matrix.os, 'windows-')\n    - name: >-\n        Log platform.platform()\n      run: >-\n        python -m platform\n    - name: >-\n        Log platform.version()\n      run: >-\n        python -c \"import platform;\n        print(platform.version())\"\n    - name: >-\n        Log platform.uname()\n      run: >-\n        python -c \"import platform;\n        print(platform.uname())\"\n    - name: >-\n        Log platform.release()\n      run: >-\n        python -c \"import platform;\n        print(platform.release())\"\n    - name: Log stdlib OpenSSL version\n      run: >-\n        python -c\n        \"import ssl; print('\\nOPENSSL_VERSION: '\n        + ssl.OPENSSL_VERSION + '\\nOPENSSL_VERSION_INFO: '\n        + repr(ssl.OPENSSL_VERSION_INFO)\n        + '\\nOPENSSL_VERSION_NUMBER: '\n        + repr(ssl.OPENSSL_VERSION_NUMBER))\"\n\n    - name: Run the testing\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --installpkg 'dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}'\n    - name: Produce markdown test summary from JUnit\n      if: >-\n        !cancelled()\n      uses: test-summary/action@v2.0\n      with:\n        paths: .test-results/pytest/results.xml\n    - name: Check if Cobertura XML coverage files exist\n      if: >-\n        !cancelled()\n        && runner.os == 'Linux'\n      id: coverage-files\n      run: >-\n        compgen -G '.test-results/pytest/cov.xml'\n        && ( echo 'present=true' >> ${GITHUB_OUTPUT} )\n        ;\n        exit 0\n      shell: bash\n    - name: Produce markdown test summary from Cobertura XML\n      if: steps.coverage-files.outputs.present == 'true'\n      uses: irongut/CodeCoverageSummary@v1.3.0\n      with:\n        badge: true\n        filename: .test-results/pytest/cov.xml\n        format: markdown\n        output: both\n    # Ref: https://github.com/irongut/CodeCoverageSummary/issues/66\n    - name: Append coverage results to Job Summary\n      if: steps.coverage-files.outputs.present == 'true'\n      run: >-\n        cat code-coverage-results.md >> \"${GITHUB_STEP_SUMMARY}\"\n    - name: Re-run the failing tests with maximum verbosity\n      if: >-\n        !cancelled()\n        && failure()\n      run: >-  # `exit 1` makes sure that the job remains red with flaky runs\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        -vvvvv\n        --installpkg 'dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}'\n        --\n        --no-cov -vvvvv --lf\n        && exit 1\n      shell: bash\n    - name: Send coverage data to Codecov\n      if: >-\n        !cancelled()\n      uses: codecov/codecov-action@v3\n      with:\n        files: .test-results/pytest/cov.xml\n        flags: >-\n          CI-GHA,\n          OS-${{\n            runner.os\n          }},\n          VM-${{\n            matrix.os\n          }},\n          Py-${{\n            steps.python-install.outputs.python-version\n          }},\n          ${{ needs.pre-setup.outputs.wheel-artifact-name }}\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n    - lint\n    - pre-setup  # transitive, for accessing settings\n    - tests\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        allowed-failures: >-\n          ${{\n            fromJSON(needs.pre-setup.outputs.is-yolo-mode)\n            && 'lint, tests' || ''\n          }}\n        jobs: ${{ toJSON(needs) }}\n\n  publish-pypi:\n    name: Publish 🐍📦 ${{ needs.pre-setup.outputs.git-tag }} to PyPI\n    needs:\n    - check\n    - pre-setup  # transitive, for accessing settings\n    if: >-\n      fromJSON(needs.pre-setup.outputs.release-requested)\n    runs-on: ubuntu-latest\n\n    environment:\n      name: pypi\n      url: >-\n        https://pypi.org/project/${{\n          needs.pre-setup.outputs.dist-name\n        }}/${{\n          needs.pre-setup.outputs.dist-version\n        }}\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: ${{ env.dists-artifact-name }}\n        path: dist/\n    - name: >-\n        Publish 🐍📦 ${{ needs.pre-setup.outputs.git-tag }} to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-testpypi:\n    name: Publish 🐍📦 ${{ needs.pre-setup.outputs.git-tag }} to TestPyPI\n    needs:\n    - check\n    - pre-setup  # transitive, for accessing settings\n    if: >-\n      fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n      || fromJSON(needs.pre-setup.outputs.release-requested)\n    runs-on: ubuntu-latest\n\n    environment:\n      name: testpypi\n      url: >-\n        https://pypi.org/project/${{\n          needs.pre-setup.outputs.dist-name\n        }}/${{\n          needs.pre-setup.outputs.dist-version\n        }}\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: ${{ env.dists-artifact-name }}\n        path: dist/\n    - name: >-\n        Publish 🐍📦  ${{ needs.pre-setup.outputs.git-tag }} to TestPyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository_url: https://test.pypi.org/legacy/\n\n  post-release-repo-update:\n    name: >-\n      Publish post-release Git tag\n      for ${{ needs.pre-setup.outputs.git-tag }}\n    needs:\n    - publish-pypi\n    - pre-setup  # transitive, for accessing settings\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: >-\n        Check if the requested tag ${{ needs.pre-setup.outputs.git-tag }}\n        is present and is pointing at the required commit ${{\n          github.event.inputs.release-committish\n        }}\n      id: existing-remote-tag-check\n      run: |\n        REMOTE_TAGGED_COMMIT_SHA=\"$(\n          git ls-remote --tags --refs $(git remote get-url origin) '${{\n            needs.pre-setup.outputs.git-tag\n          }}' | awk '{print $1}'\n        )\"\n\n        if [[ \"${REMOTE_TAGGED_COMMIT_SHA}\" == '${{\n          github.event.inputs.release-committish\n        }}' ]]\n        then\n          echo \"already-exists=true\" >> \"${GITHUB_OUTPUT}\"\n        fi\n\n    - name: Fetch the src snapshot\n      if: steps.existing-remote-tag-check.outputs.already-exists == 'true'\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 1\n        ref: ${{ github.event.inputs.release-committish }}\n    - name: Setup git user as [bot]\n      if: steps.existing-remote-tag-check.outputs.already-exists == 'true'\n      uses: fregante/setup-git-user@v1.1.0\n\n    - name: >-\n        Tag the release in the local Git repo\n        as ${{ needs.pre-setup.outputs.git-tag }}\n      if: steps.existing-remote-tag-check.outputs.already-exists == 'true'\n      run: >-\n        git tag\n        -m '${{ needs.pre-setup.outputs.git-tag }}'\n        -m 'Published at https://pypi.org/project/${{\n          needs.pre-setup.outputs.dist-name\n        }}/${{\n          needs.pre-setup.outputs.dist-version\n        }}'\n        -m 'This release has been produced by the following workflow run: ${{\n          github.server_url\n        }}/${{\n          github.repository\n        }}/actions/runs/${{\n          github.run_id\n        }}'\n        '${{ needs.pre-setup.outputs.git-tag }}'\n        --\n        ${{ github.event.inputs.release-committish }}\n    - name: >-\n        Push ${{ needs.pre-setup.outputs.git-tag }} tag corresponding\n        to the just published release back to GitHub\n      if: steps.existing-remote-tag-check.outputs.already-exists == 'true'\n      run: >-\n        git push --atomic origin '${{ needs.pre-setup.outputs.git-tag }}'\n\n  publish-github-release:\n    name: >-\n      Publish a GitHub Release for\n      ${{ needs.pre-setup.outputs.git-tag }}\n    needs:\n    - post-release-repo-update\n    - pre-setup  # transitive, for accessing settings\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n      discussions: write\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: ${{ env.dists-artifact-name }}\n        path: dist/\n\n    - name: >-\n        Publish a GitHub Release for\n        ${{ needs.pre-setup.outputs.git-tag }}\n      uses: ncipollo/release-action@v1.11.1\n      with:\n        allowUpdates: false\n        artifactErrorsFailBuild: false\n        artifacts: |\n          dist/${{ needs.pre-setup.outputs.sdist-artifact-name }}\n          dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}\n        artifactContentType: raw  # Because whl and tgz are of different types\n        body: >\n          # Release ${{ needs.pre-setup.outputs.git-tag }}\n\n\n          This release is published to\n          https://pypi.org/project/${{\n            needs.pre-setup.outputs.dist-name\n          }}/${{\n            needs.pre-setup.outputs.dist-version\n          }}.\n\n\n          This release has been produced by the following workflow run: ${{\n            github.server_url\n          }}/${{\n            github.repository\n          }}/actions/runs/${{\n            github.run_id\n          }}.\n        # bodyFile:  # FIXME: Use once Towncrier is integrated.\n        commit: ${{ github.event.inputs.release-committish }}\n        discussionCategory: Announcements\n        draft: false\n        name: ${{ needs.pre-setup.outputs.git-tag }}\n        # omitBody: false\n        omitBodyDuringUpdate: true\n        omitName: false\n        omitNameDuringUpdate: true\n        omitPrereleaseDuringUpdate: true\n        prerelease: false\n        removeArtifacts: false\n        replacesArtifacts: false\n        tag: ${{ needs.pre-setup.outputs.git-tag }}\n        token: ${{ secrets.GITHUB_TOKEN }}\n\n...\n", "state": "active", "repository": "cherrypy/cherrypy"}
{"mined_at": "2024-07-15T12:53:01.356400", "created_at": "2024-06-22T01:48:33+02:00", "updated_at": "2024-06-22T01:48:33+02:00", "name": "AIRM Linter", "path": ".github/workflows/airm-lint.yml", "contents": null, "state": "active", "repository": "intelai/models"}
{"mined_at": "2024-07-15T12:53:03.370624", "created_at": "2022-11-21T18:21:59+01:00", "updated_at": "2022-11-21T18:21:59+01:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\n\non:\n  push:\n    tags:\n      - \"[0-9]+.[0-9]+.[0-9]+\"\n\njobs:\n\n  package:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Build and Check Package\n        uses: hynek/build-and-inspect-python-package@v1.5\n\n  deploy:\n    needs: [package]\n\n    if: github.repository == 'pytest-dev/pytest-qt'\n\n    runs-on: ubuntu-latest\n    environment: deploy\n\n    permissions:\n      id-token: write  # For PyPI trusted publishers.\n      contents: write  # For release.\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Download Package\n      uses: actions/download-artifact@v3\n      with:\n        name: Packages\n        path: dist\n\n    - name: Publish package to PyPI\n      uses: pypa/gh-action-pypi-publish@v1.8.5\n\n    - name: GitHub Release\n      uses: softprops/action-gh-release@v1\n      with:\n        files: dist/*\n", "state": "active", "repository": "pytest-dev/pytest-qt"}
{"mined_at": "2024-07-15T12:53:04.399831", "created_at": "2023-12-22T21:15:10+01:00", "updated_at": "2023-12-22T21:36:55+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non: [push, pull_request]\n\n# Cancel running jobs for the same workflow and branch.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  package:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Build and Check Package\n        uses: hynek/build-and-inspect-python-package@v1.5\n\n  test:\n\n    needs: [package]\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        qt-lib: [pyqt5, pyqt6, pyside2, pyside6]\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        exclude:\n          # Not installable:\n          # ERROR: Could not find a version that satisfies the requirement pyside2 (from versions: none)\n          - python-version: \"3.11\"\n            qt-lib: pyside2\n            os: windows-latest\n          - python-version: \"3.12\"\n            qt-lib: pyside2\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Download Package\n      uses: actions/download-artifact@v3\n      with:\n        name: Packages\n        path: dist\n\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n        if [ \"${{ matrix.os }}\" == \"ubuntu-latest\" ]; then\n          sudo apt-get update -y\n          sudo apt-get install -y libgles2-mesa-dev\n        fi\n      shell: bash\n\n    - name: Test\n      shell: bash\n      run: |\n        tox -e py-${{ matrix.qt-lib }} --installpkg `find dist/*.tar.gz` -- -ra\n", "state": "active", "repository": "pytest-dev/pytest-qt"}
{"mined_at": "2024-07-15T12:53:07.617222", "created_at": "2023-08-10T13:53:52+02:00", "updated_at": "2024-06-04T07:15:36+02:00", "name": "Run tests", "path": ".github/workflows/main.yml", "contents": "name: Run tests\n\non:\n  push:\n  pull_request:\n  schedule:\n    # run every Tuesday at 5am UTC\n    - cron: '0 5 * * 2'\n\njobs:\n  tests:\n    name: ${{ matrix.name}}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python-version: 3.9\n            name: Py3.9 mindeps\n            toxenv: py39-test\n          - os: ubuntu-latest\n            python-version: '3.10'\n            name: Py3.10 mindeps\n            toxenv: py310-test\n          - os: ubuntu-latest\n            python-version: 3.11\n            name: Py3.11 mindeps\n            toxenv: py311-test\n          - os: ubuntu-latest\n            python-version: 3.8\n            name: Py3.8 mindeps\n            toxenv: py38-test\n          - os: ubuntu-latest\n            python-version: 3.9\n            name: Py3.9 dev\n            toxenv: py39-test-dev\n          - os: ubuntu-latest\n            python-version: 3.11\n            name: Py3.11 dev\n            toxenv: py311-test-dev\n          - os: ubuntu-latest\n            python-version: 3.9\n            name: Documentation\n            toxenv: build_docs\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install testing dependencies\n      run: python -m pip install tox codecov\n    - name: Run tests with ${{ matrix.name }}\n      run: tox -v -e ${{ matrix.toxenv }}\n    - name: Upload coverage to codecov\n      if: ${{ contains(matrix.toxenv,'-cov') }}\n      uses: codecov/codecov-action@v3\n      with:\n        file: ./coverage.xml\n", "state": "disabled_inactivity", "repository": "pyspeckit/pyspeckit"}
{"mined_at": "2024-07-15T12:53:09.630483", "created_at": "2021-02-14T13:16:50+01:00", "updated_at": "2021-02-14T13:16:50+01:00", "name": "Python package", "path": ".github/workflows/test_fb25.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['pypy2.7', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n        firebird-version: ['2.5-ss']\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Setup FirebirdSQL container\n      uses: juarezr/firebirdsql-github-action@v1.2.0\n      with:\n        version: ${{ matrix.firebird-version }}\n        isc_password: \"masterkey\"\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install passlib\n    - name: Test\n      run: |\n        python -m pip install setuptools\n        python setup.py test\n", "state": "active", "repository": "nakagami/pyfirebirdsql"}
{"mined_at": "2024-07-15T12:53:10.616236", "created_at": "2021-02-14T11:24:39+01:00", "updated_at": "2021-02-14T11:24:39+01:00", "name": "Python package", "path": ".github/workflows/test_fb3.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['pypy2.7', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Firebird\n      run: |\n        sudo apt install firebird3.0-server -y\n        sudo cp misc/firebird.conf /etc/firebird/3.0\n        sudo systemctl restart firebird3.0\n        sudo chmod 0664 /etc/firebird/3.0/SYSDBA.password\n        grep '=' /etc/firebird/3.0/SYSDBA.password |sed 's/^/export /' >test_user.env\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install passlib\n    - name: Test\n      run: |\n        source test_user.env\n        python -m pip install setuptools\n        python setup.py test\n", "state": "active", "repository": "nakagami/pyfirebirdsql"}
{"mined_at": "2024-07-15T12:53:12.731024", "created_at": "2021-08-23T18:53:47+02:00", "updated_at": "2021-08-23T20:14:22+02:00", "name": "Tests", "path": ".github/workflows/run_tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n    - master\n    tags:\n    - '*'\n  pull_request:\n  workflow_dispatch:\n\n\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: Code style checks\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: codestyle\n\n          - name: Build the docs\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: build_docs\n\n          - name: Latest Python with minimal dependencies\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: py3\n\n          - name: Python 3.11 with full coverage\n            os: ubuntu-latest\n            python: 3.11\n            toxenv: py311-alldeps-cov\n\n          - name: Python 3.7 with oldest supported version of all dependencies\n            os: ubuntu-latest\n            python: 3.7\n            toxenv: py37-oldestdeps\n\n          - name: Python 3.8 (MacOS X) with all optional dependencies\n            os: macos-latest\n            python: 3.8\n            toxenv: py38-alldeps\n\n          - name: Python 3.9 (Windows) with all optional dependencies\n            os: windows-latest\n            python: 3.9\n            toxenv: py39-alldeps\n          \n          - name: Python 3.10 with all optional dependencies\n            os: ubuntu-latest\n            python: \"3.10\"\n            toxenv: py310-alldeps\n\n          - name: Download all of the builtins\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: builtins\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install Python dependencies\n      run: python -m pip install --upgrade tox\n    - name: Run tests\n      run: tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }}\n    - name: Upload coverage to codecov\n      if: contains(matrix.toxenv,'-cov')\n      uses: codecov/codecov-action@v3\n      with:\n        file: ./coverage.xml\n", "state": "active", "repository": "sncosmo/sncosmo"}
{"mined_at": "2024-07-15T12:53:13.758827", "created_at": "2021-08-23T18:53:47+02:00", "updated_at": "2021-08-23T18:53:47+02:00", "name": "Build and upload to PyPI", "path": ".github/workflows/upload_to_pypi.yml", "contents": "name: Build and upload to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        name: Install Python\n        with:\n          python-version: '3.x'\n\n      - name: Build wheels\n        # For very recent Python versions, wheels from e.g. numpy might not be\n        # available yet which can cause the build to fail. Keep going, and upload\n        # the wheels for all of the previous versions when that happens.\n        continue-on-error: true\n        uses: pypa/cibuildwheel@v2.1.1\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels-${{ matrix.os }}\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        name: Install Python\n        with:\n          python-version: '3.x'\n\n      - name: Install build\n        run: python -m pip install build\n\n      - name: Build sdist\n        run: python -m build --sdist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: sdist\n          path: dist/*.tar.gz\n\n  upload_pypi:\n    name: Upload to PyPI\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v4.1.1\n        with:\n          name: sdist\n          path: dist\n\n      - uses: actions/download-artifact@v4.1.1\n        with:\n          path: dist\n          merge-multiple: true  # put contents of each wheel folder into dist/\n          pattern: wheels-*\n\n      - uses: pypa/gh-action-pypi-publish@v1.8.11\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "sncosmo/sncosmo"}
{"mined_at": "2024-07-15T12:53:14.887860", "created_at": "2021-11-05T14:37:50+01:00", "updated_at": "2023-01-19T19:39:56+01:00", "name": "Builtins download check", "path": ".github/workflows/verify_builtins_downloads.yml", "contents": "# Test that builtins download every week\n# Downloads ~1 GB of data and runs in a few minutes (Nov 5, 2021)\n\nname: Builtins download check\n\n# Controls when the workflow will run\non:\n  schedule:\n    # https://crontab.guru/#5_1_1_*_*\n    # cant use special cron keys like @weekly in GitHub Actions\n    - cron:  '5 1 * * 1'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  builtins:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Install Python dependencies\n        run: python -m pip install --upgrade tox\n      - name: Run tests\n        run: tox -e builtins\n", "state": "active", "repository": "sncosmo/sncosmo"}
{"mined_at": "2024-07-15T12:53:19.290353", "created_at": "2021-02-08T13:58:58+01:00", "updated_at": "2021-02-08T13:58:58+01:00", "name": "Upload Python Package", "path": ".github/workflows/deploy.yml", "contents": "\n# This workflow will upload a Python Package using the PyPi action workflow\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\nenv:\n  VERMOUTH_TEST_DSSP: mkdssp\n  SKIP_GENERATE_AUTHORS: 1\n  SKIP_WRITE_GIT_CHANGELOG: 1\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n    \n    strategy:\n      matrix:\n       py_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n       include:\n         - py_version: \"3.8\"\n           WITH_CODECOV: true\n         - py_version: \"3.9\"\n           WITH_CODECOV: true\n         - py_version: \"3.10\"\n           WITH_CODECOV: true\n         - py_version: \"3.11\"\n           WITH_CODECOV: true\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.py_version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.py_version }}\n        cache: pip\n        cache-dependency-path: |\n          **/setup.cfg\n          **/requirements-*.txt\n          **/pyproject.toml\n    - name: Install dependencies part I\n      run: |\n        sudo apt-get install dssp\n        pip install --upgrade setuptools pip\n    - name: Install package and requirements\n      run: |\n        pip install --upgrade .\n        pip install -r requirements-tests.txt\n        \n    - name: Run pytest with codecoverage\n      run: |\n        coverage run $(which pytest) -vv --hypothesis-show-statistics\n        coverage report --omit='*/bin/pytest'\n        \n    - if: ${{ matrix.WITH_CODECOV }}\n      name: Upload coverage codecov   \n      uses: codecov/codecov-action@v4 \n      with:\n            token: ${{ secrets.CODECOV_TOKEN }}\n            files: ./coverage.xml\n            fail_ci_if_error: false\n            verbose: true\n        \n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n        cache: pip\n        cache-dependency-path: |\n          **/setup.cfg\n          **/requirements-*.txt\n          **/pyproject.toml\n    - name: Install dependencies\n      run: |\n        pip install --upgrade setuptools pip\n        pip install --upgrade .\n        pip install -r requirements-tests.txt\n    - name: Run pylint \n      run: |\n         pylint --disable=fixme --fail-under=8.0 vermouth\n         pylint --disable=fixme --fail-under=9.0 bin/martinize2 \n         \n   \n  docs:\n      runs-on: ubuntu-latest\n      \n      steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n           python-version: '3.11'\n           cache: pip\n           cache-dependency-path: |\n             **/setup.cfg\n             **/requirements-*.txt\n             **/pyproject.toml\n      - name: Install dependencies\n        run: |\n          pip install --upgrade setuptools pip\n          pip install --upgrade .\n          pip install -r requirements-docs.txt\n          \n      - name: Run docs\n        run: | \n          mkdir -p doc/source/_static\n          sphinx-build -EW -b html doc/source/ doc/build/html\n  \n  \n  deploy:\n    needs: [build, lint, docs]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n        cache: pip\n        cache-dependency-path: |\n          **/setup.cfg\n          **/requirements-*.txt\n          **/pyproject.toml\n        \n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n        pip install pbr\n         \n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        \n    - name: Publish package to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "marrink-lab/vermouth-martinize"}
{"mined_at": "2024-07-15T12:53:20.410361", "created_at": "2021-01-26T10:30:57+01:00", "updated_at": "2021-01-26T10:30:57+01:00", "name": "test package", "path": ".github/workflows/run_tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: test package\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\nenv:\n  VERMOUTH_TEST_DSSP: mkdssp\n  SKIP_GENERATE_AUTHORS: 1\n  SKIP_WRITE_GIT_CHANGELOG: 1\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n    \n    strategy:\n      matrix:\n       py_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n       include:\n         - py_version: \"3.8\"\n           WITH_CODECOV: true\n         - py_version: \"3.9\"\n           WITH_CODECOV: true\n         - py_version: \"3.10\"\n           WITH_CODECOV: true\n         - py_version: \"3.11\"\n           WITH_CODECOV: true\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.py_version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.py_version }}\n        cache: pip\n        cache-dependency-path: |\n          **/setup.cfg\n          **/requirements-*.txt\n          **/pyproject.toml\n    - name: Install dependencies part I\n      run: |\n        sudo apt-get install dssp\n        pip install --upgrade setuptools pip\n    - name: Install package and requirements\n      run: |\n        pip install --upgrade .\n        pip install -r requirements-tests.txt\n        \n    - name: Run pytest with codecoverage\n      run: |\n        coverage run $(which pytest) -vv --hypothesis-show-statistics\n        coverage report\n        coverage xml \n\n    - if: ${{ matrix.WITH_CODECOV }}\n      name: Upload coverage codecov   \n      uses: codecov/codecov-action@v4 \n      with:\n            token: ${{ secrets.CODECOV_TOKEN }}\n            files: ./coverage.xml\n            fail_ci_if_error: true\n            verbose: true\n            \n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n        cache: pip\n        cache-dependency-path: |\n          **/setup.cfg\n          **/requirements-*.txt\n          **/pyproject.toml\n    - name: Install dependencies\n      run: |\n        pip install --upgrade setuptools pip\n        pip install --upgrade .\n        pip install -r requirements-tests.txt\n    - name: Run pylint \n      run: |\n         pylint --disable=fixme --fail-under=8.0 vermouth\n         pylint --disable=fixme --fail-under=9.0 bin/martinize2 \n         \n   \n  docs:\n      runs-on: ubuntu-latest\n      \n      steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n           python-version: '3.11'\n           cache: pip\n           cache-dependency-path: |\n             **/setup.cfg\n             **/requirements-*.txt\n             **/pyproject.toml\n      - name: Install dependencies\n        run: |\n          pip install --upgrade setuptools pip\n          pip install --upgrade .\n          pip install -r requirements-docs.txt\n          \n      - name: Run docs\n        run: | \n          mkdir -p doc/source/_static\n          sphinx-build -EnW -b html doc/source/ doc/build/html\n", "state": "active", "repository": "marrink-lab/vermouth-martinize"}
{"mined_at": "2024-07-15T12:53:24.331365", "created_at": "2020-10-12T02:38:09+02:00", "updated_at": "2021-04-26T04:29:54+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 15\n    strategy:\n      matrix:\n        os: [macos-latest, ubuntu-latest, windows-latest]\n        python-version: [\n          \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12.2\",\n          \"pypy3.8\", \"pypy3.9\", \"pypy3.10\"\n        ]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade -e '.[dev]'\n\n      - name: Format\n        run: black --check --diff green example\n        if: matrix.python-version == '3.12.2' && matrix.os == 'ubuntu-latest'\n\n      - name: Mypy\n        run: mypy green example\n        if: matrix.python-version == '3.12.2' && matrix.os == 'ubuntu-latest'\n\n      - name: Test\n        run: |\n          green -tvvvv green\n          cd example && green -tvvvv proj\n\n      - name: Generate coverage\n        run: |\n          pip install --upgrade coveralls\n          green -tvvvvr green\n        if: matrix.python-version == '3.12.2' && matrix.os == 'ubuntu-latest'\n\n      - name: Coveralls\n        run: coveralls --service=github\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        if: matrix.python-version == '3.12.2' && matrix.os == 'ubuntu-latest'\n", "state": "active", "repository": "cleancut/green"}
{"mined_at": "2024-07-15T12:53:25.320589", "created_at": "2024-02-15T07:29:38+01:00", "updated_at": "2024-02-15T07:29:38+01:00", "name": "Release Test", "path": ".github/workflows/release-test.yml", "contents": "# Keep the content of this file in sync with release.yml.\n\nname: Release Test\non:\n  workflow_dispatch:\n\njobs:\n  pypi-publish:\n    name: Upload release to PyPI Test\n    runs-on: ubuntu-latest\n    environment:\n      name: release-test\n      url: https://test.pypi.org/p/green\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.12.2\n\n      - name: Install\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade '.[dev]'\n\n      - name: Test\n        run: green -rv green\n\n      - name: Build\n        run: make sdist\n\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "cleancut/green"}
{"mined_at": "2024-07-15T12:53:26.348938", "created_at": "2024-02-15T07:29:38+01:00", "updated_at": "2024-02-15T07:29:38+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "# Keep the content of this file in sync with release-test.yml.\n\nname: Release\non:\n  release:\n    types: [published]\n\njobs:\n  pypi-publish:\n    name: Upload release to PyPI\n    if: github.event_name == 'release'\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n      url: https://pypi.org/p/green\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.12.2\n\n      - name: Install\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade '.[dev]'\n\n      - name: Test\n        run: green -rv green\n\n      - name: Build\n        run: make sdist\n\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "cleancut/green"}
{"mined_at": "2024-07-15T12:53:28.329860", "created_at": "2020-06-25T16:40:46+02:00", "updated_at": "2021-08-09T09:04:45+02:00", "name": "Code scanning - action", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"Code scanning - action\"\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 7 * * 1'\n\njobs:\n  CodeQL-Build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n      \n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      # Override language selection by uncommenting this and choosing your languages\n      # with:\n      #   languages: go, javascript, csharp, python, cpp, java\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "disabled_inactivity", "repository": "batiste/django-page-cms"}
{"mined_at": "2024-07-15T12:53:29.317391", "created_at": "2022-01-19T11:05:04+01:00", "updated_at": "2022-01-19T11:05:04+01:00", "name": "Django CI", "path": ".github/workflows/django.yml", "contents": "name: Django CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[tests]\n    - name: Run Tests\n      run: |\n        python pages/test_runner.py\n", "state": "active", "repository": "batiste/django-page-cms"}
{"mined_at": "2024-07-15T12:53:31.586098", "created_at": "2021-07-25T15:50:21+02:00", "updated_at": "2021-07-25T15:50:21+02:00", "name": "Check combinations.json", "path": ".github/workflows/check-combinations.yml", "contents": "name: \"Check combinations.json\"\non:\n  schedule:\n  # Run at midnight on the first of every month\n  # https://crontab.guru/once-a-month\n  - cron: \"0 0 1 * *\"\n\n  workflow_dispatch:\n  push:\n    paths:\n      - 'ci/**'\n\njobs:\n  check_combinations:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 20\n      \n    - name: Update the \"update-combinations\" branch (ff merge to master)\n      uses: MaximeHeckel/github-action-merge-fast-forward@b4e9b28dce30a682e5fbe3135be4053ea2a75e15\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        branchtomerge: \"origin/master\"\n        branch: \"update-combinations\"\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n\n    - name: Build and install\n      run: |\n        python -m pip install ./ --user\n\n    - name: Install generate_combinations dependencies\n      run: pip install -U jsoncomparison\n\n    - name: Check combinations.json\n      run: PYTHONPATH=$(pwd) python3 ci/generate_combinations.py --write --no-tqdm\n\n    - name: Commit and make pull request\n      uses: gr2m/create-or-update-pull-request-action@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        title: \"Update `aqt/combinations.json`\"\n        body: |\n          The `ci/generate_combinations.py` script has detected changes to the repo at https://download.qt.io.\n          This PR will update `aqt/combinations.json` to account for those changes.\n\n          Posted from [the `check_combinations` action](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})\n\n        branch: \"update-combinations\"\n        path: \"aqt/combinations.json\"\n        commit-message: \"Update aqt/combinations.json\"\n        author: \"Qt Repo Watchbot <qtrepowatchbot[bot]@users.noreply.github.com>\"\n", "state": "active", "repository": "miurahr/aqtinstall"}
{"mined_at": "2024-07-15T12:53:32.619713", "created_at": "2021-04-02T05:23:47+02:00", "updated_at": "2023-11-06T00:19:54+01:00", "name": "Check tox tests, lint and types", "path": ".github/workflows/check.yml", "contents": "name: Check tox tests, lint and types\n\non:\n  push:\n    branches:\n      - master\n      - releases/*\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n\njobs:\n  check_document:\n    name: Check packaging 📦\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 20\n        fetch-tags: true\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Install tools\n      run: |\n        pip install -U pip\n        pip install tox tox-gh-actions coveralls coverage[toml]\n    - name: Check invocation with Python2\n      run: |\n        ! python2 -m aqt help\n        [[ $(python2 -m aqt help) == \"aqtinstall requires python 3!\" ]]\n    - name: Check\n      run: tox\n      env:\n        PYTEST_ADDOPTS: --cov-config=pyproject.toml --cov --cov-append --verbose\n    - name: Upload Coverage\n      run: coveralls --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "miurahr/aqtinstall"}
{"mined_at": "2024-07-15T12:53:33.647951", "created_at": "2021-07-25T12:56:34+02:00", "updated_at": "2022-06-09T17:40:17+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches:\n      - master\n      - releases/*\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "miurahr/aqtinstall"}
{"mined_at": "2024-07-15T12:53:34.713218", "created_at": "2021-10-18T08:57:24+02:00", "updated_at": "2023-06-19T09:39:04+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI\n\non:\n  push:\n    branches:\n      - master\n      - releases/*\n      - rel-*\n    tags:\n      - v*\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 50\n      - name: Fetch release tag\n        run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n      - name: Set up Python 3.10🐍\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Install build and twine\n        run: python -m pip install build twine --user\n      - name: Build release assets\n        run: python -m build ./\n      - name: twine check\n        run: python -m twine check dist/*\n      - name: Publish distribution 📦 to Test PyPI when releases branch\n        if: ${{ startsWith(github.event.ref, 'refs/heads/releases') }}\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.testpypi_password }}\n          repository_url: https://test.pypi.org/legacy/\n      - name: Publish distribution 📦 to PyPI\n        if: ${{ startsWith(github.event.ref, 'refs/tags') }}\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "miurahr/aqtinstall"}
{"mined_at": "2024-07-15T12:53:35.702205", "created_at": "2020-03-17T03:00:23+01:00", "updated_at": "2020-03-17T03:00:23+01:00", "name": "Milestone Closure", "path": ".github/workflows/release-note.yml", "contents": "# Trigger the workflow on milestone events\non:\n  milestone:\n    types: [closed]\nname: Milestone Closure\njobs:\n  create-release-notes:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Create Release Notes\n      uses: docker://decathlon/release-notes-generator-action:2.0.0\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        OUTPUT_FOLDER: temp_release_notes\n        USE_MILESTONE_TITLE: \"true\"\n    - name: Upload Release Notes to Wiki\n      uses: docker://decathlon/wiki-page-creator-action:latest\n      env:\n        ACTION_MAIL: miurahr@linux.com\n        ACTION_NAME: miurahr\n        GH_PAT: ${{ secrets.GH_PAT }}\n        MD_FOLDER: temp_release_notes\n        OWNER: miurahr\n        REPO_NAME: aqtinstall\n", "state": "active", "repository": "miurahr/aqtinstall"}
{"mined_at": "2024-07-15T12:53:36.705152", "created_at": "2020-02-22T02:00:19+01:00", "updated_at": "2020-02-22T02:00:19+01:00", "name": "Test on GH actions environment", "path": ".github/workflows/test-install-qt.yml", "contents": "name: Test on GH actions environment\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n      - releases/*\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest, ubuntu-latest]\n        py: [\"3.9\", \"3.12\"]\n        qtver: [5.9.9, 6.1.0]\n        artifact: [standard]\n        include:\n          - os: windows-latest\n            py: \"3.10\"\n            qtver: 6.1.0\n            artifact: binary\n          - os: ubuntu-20.04\n            py: \"3.10\"\n            qtver: 6.1.0\n            artifact: standard\n        exclude:\n          - os: ubuntu-latest\n            py: \"3.10\"\n            qtver: 6.1.0\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 20\n          fetch-tags: true\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.py }}\n      - name: Run pytest\n        run: |\n          python -m pip install tox-gh-actions build\n          tox\n      - name: Build and install\n        if: matrix.artifact == 'standard'\n        run: |\n          python -m pip install ./ --user\n      - name: Build Standalone binary(linux,mac)\n        if: matrix.artifact == 'binary' && matrix.os != 'windows-latest'\n        run: |\n          python -m venv venv\n          source venv/bin/activate\n          python -m pip install -U pip wheel setuptools setuptools_scm pyinstaller\n          python -m pip install .\n          python tools/build_standalone.py\n          deactivate\n          rm -rf venv\n        shell: bash\n      - name: Build Standalone binary(windows)\n        if: matrix.artifact == 'binary' && matrix.os == 'windows-latest'\n        run: |\n          python -m venv venv\n          venv/Scripts/activate.ps1\n          python -m pip install -U pip wheel setuptools setuptools_scm pyinstaller\n          python -m pip install .\n          python tools/build_standalone.py\n          deactivate\n          Remove-Item venv -Recurse -Force\n        shell: pwsh\n      - name: Run aqt\n        run: |\n          import os\n          import pathlib\n          import subprocess\n          timeout = 300\n          os.mkdir(\"Qt\")\n          os.chdir(\"Qt\")\n          artifact = \"${{ matrix.artifact }}\"\n          platform = \"${{ matrix.os }}\"\n          qtver = \"${{ matrix.qtver }}\"\n          env = os.environ.copy()\n          github_workspace = pathlib.Path(env[\"GITHUB_WORKSPACE\"])\n          if artifact == \"binary\":\n            if platform.startswith(\"windows\"):\n              bin_path = str(github_workspace / \"dist\" / \"aqt.exe\")\n            else:\n              bin_path = (github_workspace / \"dist\" / \"aqt\").as_posix()\n            prefix = [bin_path, \"install\"]\n          else:\n            prefix = [\"python\", \"-m\", \"aqt\", \"install\"]\n          command_line = []\n          command_line.extend(prefix)\n          if platform == \"windows-latest\":\n            if qtver.startswith('5.15'):\n              args = [qtver, \"windows\", \"desktop\", \"win64_msvc2019_64\"]\n            elif qtver.startswith('5.14'):\n              args = [qtver, \"windows\", \"desktop\", \"win64_msvc2017_64\"]\n            elif qtver.startswith('6'):\n              args = [qtver, \"windows\", \"desktop\", \"win64_mingw81\"]\n            else:\n              args = [qtver, \"windows\", \"desktop\", \"win64_msvc2015_64\"]\n          elif platform == \"macOS-latest\":\n            args = [qtver, \"mac\", \"desktop\", \"clang_64\"]\n          else:\n            args = [qtver, \"linux\", \"desktop\", \"gcc_64\"]\n          command_line.extend(args)\n          command_line.extend([\"--archives\", \"qtbase\", \"icu\", \"qt\"])\n          env[\"AQT_CONFIG\"] = (github_workspace / \"ci\" / \"settings.ini\").as_posix()\n          env[\"LOG_CFG\"] = (github_workspace / \"ci\" / \"logging.ini\").as_posix()\n          print(\"Execute: {}\".format(command_line))\n          try:\n            res = subprocess.run(command_line, timeout=timeout, check=True, env=env)\n          except subprocess.CalledProcessError as cpe:\n            exit(cpe.returncode)\n          assert res.returncode == 0\n          if qtver.startswith('6'):\n            command_line6 = []\n            command_line6.extend(prefix)\n            if platform.startswith(\"ubuntu\"):\n              command_line6.extend([qtver, \"linux\", \"android\", \"android_armv7\"])\n              timeout = 360\n            elif platform.startswith(\"macOS\"):\n              command_line6.extend([qtver, \"mac\", \"ios\", \"ios\"])\n              timeout = 360\n            else:\n              command_line6.extend([qtver, \"windows\", \"android\", \"android_armv7\"])\n              timeout = 360\n            print(\"Execute: {}\".format(command_line6))\n            try:\n              res = subprocess.run(command_line6, timeout=timeout, check=True)\n            except subprocess.CalledProcessError as cpe:\n              exit(cpe.returncode)\n            assert res.returncode == 0\n        shell: python\n        working-directory: ${{ github.workspace }}\n      - name: Test qmake -query\n        run: |\n          import os\n          import pathlib\n          from subprocess import CalledProcessError, PIPE, run\n          os.chdir(\"Qt\")\n          platform = \"${{ matrix.os }}\"\n          qtver = \"${{ matrix.qtver }}\"\n          if platform == \"windows-latest\":\n            if qtver.startswith('5.15'):\n              arch_dir = 'msvc2019_64'\n            elif qtver.startswith('5.14'):\n              arch_dir = 'msvc2017_64'\n            elif qtver.startswith('6'):\n              arch_dir = 'mingw81_64'\n            else:\n              arch_dir = 'msvc2015_64'\n          elif platform == \"macOS-latest\":\n            arch_dir = 'clang_64'\n          else:\n            arch_dir = 'gcc_64'\n          try:\n            res = run([f\"{qtver}/{arch_dir}/bin/qmake\", \"-query\"], timeout=15, check=True, stdout=PIPE)\n          except CalledProcessError as cpe:\n            exit(cpe.returncode)\n          if res.returncode == 0:\n            qt_prefix_path = pathlib.Path.cwd() / qtver / arch_dir\n            for line in res.stdout.splitlines():\n              if line.startswith(b'QT_INSTALL_PREFIX'):\n                result = line[18:].decode('UTF-8')\n                assert qt_prefix_path.samefile(result)\n            print('PREFIX {}'.format(result))\n            if qtver.startswith('6'):\n              if platform == \"windows-latest\" and qtver.startswith('6'):\n                qmake = os.path.join(qtver, 'android_armv7', 'bin', 'qmake.bat')\n              elif platform == \"macOS-latest\" and qtver.startswith('6'):\n                qmake = os.path.join(qtver, 'ios', 'bin', 'qmake')\n              else:\n                qmake = os.path.join(qtver, 'android_armv7', 'bin', 'qmake')\n              try:\n                res = run([qmake, \"-query\"], timeout=15, check=True, stdout=PIPE)\n              except CalledProcessError as cpe:\n                exit(cpe.returncode)\n              assert res.returncode == 0\n              for line in res.stdout.splitlines():\n                if line.startswith(b'QT_INSTALL_PREFIX'):\n                  result = line[18:].decode('UTF-8')\n              print('PREFIX {}'.format(result))\n        shell: python\n        working-directory: ${{ github.workspace }}\n      - uses: actions/upload-artifact@v2\n        if: matrix.artifact == 'binary'\n        with:\n          name: aqt-${{ matrix.os }}-standalone\n          path: dist\\aqt*\n", "state": "active", "repository": "miurahr/aqtinstall"}
{"mined_at": "2024-07-15T12:53:37.697182", "created_at": "2021-09-16T03:54:53+02:00", "updated_at": "2021-09-16T03:54:53+02:00", "name": "Upload release artifacts", "path": ".github/workflows/upload-release-artifacts.yml", "contents": "# This will only run automatically when releases have been created,\n# and will only upload binaries to previously-created releases.\n# When run manually, it will overwrite the previous reelease binary\n\nname: Upload release artifacts\n\non:\n  release:\n    types:\n      - created\n  workflow_dispatch:\n\njobs:\n  build-standalone:\n    runs-on: ${{ matrix.system.os }}\n    strategy:\n      matrix:\n        system: [\n          {os: windows-latest, arch: x86, output_file: 'aqt_x86.exe', primary_artifact: '', secondary_artifact: 'aqt_x86.exe'},\n          {os: windows-latest, arch: x64, output_file: 'aqt_x64.exe', primary_artifact: 'aqt.exe', secondary_artifact: 'aqt_x64.exe'},\n          {os: macOS-13, arch: x64, output_file: 'aqt_x64', primary_artifact: 'aqt-macos', secondary_artifact: 'aqt-macos_x64'}\n        ]\n        py: [3.12]\n    defaults:\n      run:\n        shell: ${{ matrix.system.os == 'windows-latest' && 'pwsh' || 'bash' }} {0}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 20\n      - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.py }}\n          architecture: ${{ matrix.system.arch }}\n      - name: Build standalone binary\n        run: |\n          python -m venv venv\n          ${{ matrix.system.os == 'windows-latest' && 'venv/Scripts/activate.ps1' || 'chmod +x venv/bin/activate && venv/bin/activate' }}\n          python -m pip install -U pip wheel setuptools setuptools_scm pyinstaller\n          python -m pip install .\n          python tools/build_standalone.py ${{ matrix.system.arch }}\n          ${{ matrix.system.os == 'windows-latest' && 'deactivate' || 'chmod +x venv/bin/deactivate && venv/bin/deactivate' }}\n          ${{ matrix.system.os == 'windows-latest' && 'Remove-Item venv -Recurse -Force' || 'rm -rf venv' }}\n\n      - name: Upload to Release\n        uses: svenstaro/upload-release-action@v2\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: dist/${{ matrix.system.output_file }}\n          asset_name: ${{ matrix.system.primary_artifact }}\n          tag: ${{ github.ref }}\n          overwrite: true\n        if: matrix.system.primary_artifact!='' && startsWith(github.ref, 'refs/tags/v')\n      - name: Upload to Release for all architectures\n        uses: svenstaro/upload-release-action@v2\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: dist/${{ matrix.system.output_file }}\n          asset_name: ${{ matrix.system.secondary_artifact }}\n          tag: ${{ github.ref }}\n          overwrite: true\n        if: matrix.system.secondary_artifact!='' && startsWith(github.ref, 'refs/tags/v')\n      - name: Update continuous build\n        uses: svenstaro/upload-release-action@v2\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          overwrite: true\n          prerelease: true\n          tag: Continuous\n          file: dist/${{ matrix.system.output_file }}\n          asset_name: ${{ matrix.system.primary_artifact }}\n        if: matrix.system.primary_artifact!='' && startsWith(github.ref, 'refs/tags/v')\n      - name: Update continuous build for all architectures\n        uses: svenstaro/upload-release-action@v2\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          overwrite: true\n          prerelease: true\n          tag: Continuous\n          file: dist/${{ matrix.system.output_file }}\n          asset_name: ${{ matrix.system.secondary_artifact }}\n        if: matrix.system.secondary_artifact!='' && startsWith(github.ref, 'refs/tags/v')\n", "state": "active", "repository": "miurahr/aqtinstall"}
{"mined_at": "2024-07-15T12:53:39.876169", "created_at": "2024-05-17T03:33:43+02:00", "updated_at": "2024-06-14T00:28:50+02:00", "name": "format-check", "path": ".github/workflows/format-check.yml", "contents": "name: format-check\n\non:\n  pull_request:\n    branches:\n      - main\n      - xpu-main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\npermissions: read-all\n\njobs:\n  format-check:\n    # Don't run on forked repos\n    # if: github.repository_owner == 'intel'\n    name: format-check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout intel_extension_for_pytorch\n        uses: actions/checkout@v2\n\n      - name: Checkout submodules\n        run: |\n          git submodule update --init --recursive\n      \n      - name: flake8-check\n        run: |\n          pwd\n          pip install lintrunner pip install lintrunner-adapters\n          lintrunner init\n          python scripts/tools/setup/flake8.py\n \n      - name: clang-check\n        run: |\n          pwd\n          python -m pip install clang-format==12.0.1\n          git diff -U0 --no-color  ${{ github.event.pull_request.base.ref }} | python scripts/tools/setup/clang-format-diff.py -p1\n\n\n\n", "state": "active", "repository": "intel/intel-extension-for-pytorch"}
{"mined_at": "2024-07-15T12:53:40.936759", "created_at": "2024-03-29T09:16:19+01:00", "updated_at": "2024-04-02T09:10:26+02:00", "name": "E2E CI Tests", "path": ".github/workflows/inductor_xpu_e2e_ci.yml", "contents": null, "state": "active", "repository": "intel/intel-extension-for-pytorch"}
{"mined_at": "2024-07-15T12:53:41.937277", "created_at": "2021-11-23T03:07:06+01:00", "updated_at": "2023-07-18T14:56:31+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": null, "state": "active", "repository": "intel/intel-extension-for-pytorch"}
{"mined_at": "2024-07-15T12:53:42.957232", "created_at": "2021-12-20T14:54:44+01:00", "updated_at": "2021-12-20T14:54:44+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "intel/intel-extension-for-pytorch"}
{"mined_at": "2024-07-15T12:53:44.876388", "created_at": "2021-12-22T16:22:45+01:00", "updated_at": "2021-12-22T16:22:45+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "iss-mimic/mimic"}
{"mined_at": "2024-07-15T12:53:47.144668", "created_at": "2021-03-08T18:53:21+01:00", "updated_at": "2022-08-25T16:57:45+02:00", "name": "Continuous integration tests", "path": ".github/workflows/ci-tests.yml", "contents": "name: Continuous integration tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\nconcurrency:\n  group: build-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  tox:\n    name: CI tests via Tox\n\n    runs-on: ubuntu-22.04\n\n    strategy:\n      matrix:\n        py-ver-major: [3]\n        py-ver-minor: [8, 9, 10, 11, 12]\n        step: [lint, bandit, unit, mypy, memleak]\n\n    env:\n      py-semver: ${{ format('{0}.{1}', matrix.py-ver-major, matrix.py-ver-minor) }}\n      TOXENV: ${{ format('py{0}{1}-{2}', matrix.py-ver-major, matrix.py-ver-minor, matrix.step) }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.py-semver }}\n          cache: pip\n          cache-dependency-path: |\n            requirements.txt\n            tox.ini\n\n      - name: Upgrade setuptools and install tox\n        run: |\n          pip install -U pip setuptools wheel\n          pip install 'tox<4' tox-gh-actions\n\n      - name: MyPy cache\n        if: ${{ matrix.step == 'mypy' }}\n        uses: actions/cache@v4\n        with:\n          path: .mypy_cache/${{ env.py-semver }}\n          key: mypy-${{ env.py-semver }}\n\n      - name: Test with tox\n        run: tox\n\n      - name: Upload coverage to Codecov\n        if: ${{ matrix.step == 'unit' }}\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  tox-style:\n    name: CI linters via Tox\n\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        step: [lintreadme, pydocstyle]\n\n    env:\n      py-semver: \"3.12\"\n      TOXENV: ${{ format('py312-{0}', matrix.step) }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.py-semver }}\n\n      - name: Cache for pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ matrix.step }}-${{ hashFiles('requirements.txt') }}\n\n      - name: Upgrade setuptools and install tox\n        run: |\n          pip install -U pip setuptools wheel\n          pip install 'tox<4' tox-gh-actions\n\n      - if: ${{ matrix.step == 'pydocstyle' && github.event_name == 'pull_request'}}\n        name: Create local branch for diff-quality for PRs\n        run: git branch ${{github.base_ref}} origin/${{github.base_ref}}\n\n      - name: Test with tox\n        run: tox\n\n  typescript:\n    name: Confirm that codegen typescript passes tests with CWL\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Node\n        uses: actions/setup-node@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          cache: pip\n          cache-dependency-path: |\n            requirements.txt\n            tox.ini\n      - name: Upgrade setuptools and install schema-salad\n        run: |\n          pip install -U pip setuptools wheel\n          pip install .\n      - name: Download valid CWL documents for testing\n        run: |\n          wget \"https://github.com/common-workflow-lab/cwl-ts-auto/archive/refs/heads/main.zip\"\n          unzip main.zip\n      - name: Generate cwl-ts-auto\n        run: |\n          schema-salad-tool --codegen typescript --codegen-examples cwl-ts-auto-main/src/test/data/examples \\\n            --codegen-target cwl-ts-auto \\\n            https://github.com/common-workflow-language/cwl-v1.2/raw/codegen/CommonWorkflowLanguage.yml\n      - name: run cwl-ts-auto tests\n        run: |\n          cd cwl-ts-auto\n          npm install\n          npm test\n\n  cpp:\n    name: Confirm that codegen C++ passes tests with CWL\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Install C++ dependencies\n        run: sudo apt-get install libyaml-cpp-dev\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          cache: pip\n          cache-dependency-path: |\n            requirements.txt\n            tox.ini\n      - name: Upgrade setuptools and install schema-salad\n        run: |\n          pip install -U pip setuptools wheel\n          pip install .\n      - name: Download cwl-cpp-auto for its tests\n        run: |\n          wget \"https://github.com/common-workflow-lab/cwl-cpp-auto/archive/refs/heads/main.zip\"\n          unzip main.zip\n      - name: Generate cwl-cpp-auto and run tests\n        run: |\n          cd cwl-cpp-auto-main\n          make cwl_v1_2.h tests CXXFLAGS=-std=c++17\n\n  release_test:\n    name: Schema Salad release test\n\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Cache for pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-release-${{ hashFiles('requirements.txt', 'test-requirements.txt') }}\n\n      - name: Install packages\n        run: |\n          pip install -U pip setuptools wheel\n          pip install virtualenv\n\n      - name: Release test\n        env:\n          RELEASE_SKIP: head\n        run: ./release-test.sh\n\n  build_test_container:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: record schema-salad version\n        run: pip install -U setuptools wheel && pip install setuptools_scm[toml] && python setup.py --version\n      - name: build & test schema_salad container\n        run: ./build-schema_salad-docker.sh\n", "state": "active", "repository": "common-workflow-language/schema_salad"}
{"mined_at": "2024-07-15T12:53:48.373558", "created_at": "2020-06-25T20:54:25+02:00", "updated_at": "2020-06-25T20:54:25+02:00", "name": "Code scanning - action", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"Code scanning - action\"\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  schedule:\n    - cron: '0 11 * * 6'\n\nconcurrency:\n  group: codeql-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  CodeQL-Build:\n\n    runs-on: ubuntu-latest\n\n    permissions:\n      security-events: write\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n      \n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: python\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "common-workflow-language/schema_salad"}
{"mined_at": "2024-07-15T12:53:49.499794", "created_at": "2021-08-19T14:56:47+02:00", "updated_at": "2021-08-19T14:56:47+02:00", "name": "publish-quay", "path": ".github/workflows/quay-publish.yml", "contents": "name: publish-quay\non:\n  push:\n    tags:\n      - '*'\n  workflow_dispatch: {}\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get image tags\n        id: image_tags\n        run: |\n          echo -n \"IMAGE_TAGS=${GITHUB_REF#refs/*/}\" >> \"${GITHUB_OUTPUT}\"\n      - name: record schema-salad version\n        run: pip install setuptools_scm[toml] wheel && python setup.py --version\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Quay.io\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ secrets.REGISTRY_SERVER }}\n          username: ${{ secrets.REGISTRY_USERNAME }}\n          password: ${{ secrets.REGISTRY_PASSWORD }}\n      - name: Build and publish schema-salad image to Quay\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: schema_salad.Dockerfile\n          tags: quay.io/commonwl/schema_salad:${{ steps.image_tags.outputs.IMAGE_TAGS }}\n          push: true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n", "state": "active", "repository": "common-workflow-language/schema_salad"}
{"mined_at": "2024-07-15T12:53:50.550930", "created_at": "2021-03-16T13:51:18+01:00", "updated_at": "2024-03-12T14:07:21+01:00", "name": "Python package build and publish", "path": ".github/workflows/wheels.yml", "contents": "name: Python package build and publish\n\non:\n  release:\n    types: [published]\n  workflow_dispatch: {}\n  repository_dispatch: {}\n  pull_request:\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: wheels-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_wheels:\n    name: ${{ matrix.image }} wheels\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        include:\n          - image: manylinux_2_28_x86_64\n            build: \"*manylinux*\"\n          - image: musllinux_1_1_x86_64\n            build: \"*musllinux*\"\n          - image: musllinux_1_2_x86_64\n            build: \"*musllinux*\"\n\n    steps:\n      - uses: actions/checkout@v4\n        if: ${{ github.event_name != 'repository_dispatch' }}\n        with:\n          fetch-depth: 0  # slow, but gets all the tags\n      - uses: actions/checkout@v4\n        if: ${{ github.event_name == 'repository_dispatch' }}\n        with:\n          fetch-depth: 0  # slow, but gets all the tags\n          ref: ${{ github.event.client_payload.ref }}\n\n      # - name: Set up QEMU\n      #   if: runner.os == 'Linux'\n      #   uses: docker/setup-qemu-action@v2\n      #   with:\n      #     platforms: all\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.18.1\n        env:\n          CIBW_BUILD: ${{ matrix.build }}\n          CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/${{ matrix.image }}\n          CIBW_MUSLLINUX_X86_64_IMAGE: quay.io/pypa/${{ matrix.image }}\n          # configure cibuildwheel to build native 64-bit archs ('auto64'), and some\n          # emulated ones\n          # Linux arm64 wheels are built on circleci\n          CIBW_ARCHS_LINUX: auto64 # ppc64le s390x\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: artifact-${{ matrix.image }}\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n        if: ${{ github.event_name != 'repository_dispatch' }}\n        with:\n          fetch-depth: 0  # slow, but gets all the tags\n      - uses: actions/checkout@v4\n        if: ${{ github.event_name == 'repository_dispatch' }}\n        with:\n          fetch-depth: 0  # slow, but gets all the tags\n          ref: ${{ github.event.client_payload.ref }}\n\n      - name: Build sdist\n        run: pipx run build --sdist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: artifact-source\n          path: dist/*.tar.gz\n\n  build_wheels_macos:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # macos-13 is an intel runner, macos-14 is apple silicon\n        os: [macos-13, macos-14]\n    steps:\n      - uses: actions/checkout@v4\n        if: ${{ github.event_name != 'repository_dispatch' }}\n        with:\n          fetch-depth: 0  # slow, but gets all the tags\n      - uses: actions/checkout@v4\n        if: ${{ github.event_name == 'repository_dispatch' }}\n        with:\n          fetch-depth: 0  # slow, but gets all the tags\n          ref: ${{ github.event.client_payload.ref }}\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.18.1\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: artifact-${{ matrix.os }}-${{ strategy.job-index }}\n          path: ./wheelhouse/*.whl\n\n  upload_pypi:\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    environment: pypi\n    permissions:\n      id-token: write\n    if: (github.event_name == 'release' && github.event.action == 'published') || (github.event_name == 'repository_dispatch' && github.event.client_payload.publish_wheel == true)\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          # unpacks default artifact into dist/\n          pattern: artifact-*\n          merge-multiple: true\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          # To test: repository-url: https://test.pypi.org/legacy/\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip-existing: true\n", "state": "active", "repository": "common-workflow-language/schema_salad"}
{"mined_at": "2024-07-15T12:53:52.577026", "created_at": "2020-07-28T19:33:21+02:00", "updated_at": "2021-04-27T20:51:40+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - main\n      - wip\n  pull_request:\n\njobs:\n  build:\n    if: \"!contains(github.event.pull_request.labels.*.name, 'docs-only')\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python: ['3.8', '3.9', '3.10']\n\n    steps:\n      - uses: compas-dev/compas-actions.build@v3\n        with:\n          python: ${{ matrix.python }}\n          invoke_lint: true\n", "state": "active", "repository": "compas-dev/compas_fab"}
{"mined_at": "2024-07-15T12:53:53.580384", "created_at": "2024-02-12T16:11:53+01:00", "updated_at": "2024-02-12T16:11:53+01:00", "name": "build_docs", "path": ".github/workflows/build_docs.yml", "contents": null, "state": "active", "repository": "compas-dev/compas_fab"}
{"mined_at": "2024-07-15T12:53:54.611664", "created_at": "2020-09-07T09:53:18+02:00", "updated_at": "2024-02-20T12:40:18+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - 'v*'\n  pull_request_review:\n    types: [submitted]\n\njobs:\n  docs:\n    if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: compas-dev/compas-actions.docs@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          doc_url: https://compas.dev/compas_fab\n", "state": "active", "repository": "compas-dev/compas_fab"}
{"mined_at": "2024-07-15T12:53:55.587926", "created_at": "2020-07-28T19:33:21+02:00", "updated_at": "2020-07-28T19:33:21+02:00", "name": "integration", "path": ".github/workflows/integration.yml", "contents": "name: integration\n\non:\n  push:\n    branches:\n      - main\n      - wip\n  pull_request:\n\njobs:\n  build:\n    name: ubuntu-py38-integration\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n      - name: Set up docker containers\n        run: |\n          docker-compose -f \"tests/integration_setup/docker-compose.yml\" up -d --build\n          docker ps -a\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n      - name: Install\n        run: |\n          python -m pip install --no-cache-dir -r requirements-dev.txt\n      - name: Run integration tests\n        run: |\n          pytest --doctest-modules\n          pytest docs\n      - name: Tear down docker containers\n        run: |\n          docker-compose -f \"tests/integration_setup/docker-compose.yml\" down\n", "state": "active", "repository": "compas-dev/compas_fab"}
{"mined_at": "2024-07-15T12:53:56.628264", "created_at": "2020-07-09T09:33:36+02:00", "updated_at": "2024-02-20T12:40:18+01:00", "name": "ironpython", "path": ".github/workflows/ironpython.yml", "contents": "name: ironpython\n\non:\n  push:\n    branches:\n      - main\n      - wip\n  pull_request:\n\njobs:\n  build:\n    name: windows-ironpython\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install dependencies\n        run: |\n          echo \"Installing IronPython...\"\n          choco install ironpython --version=2.7.8.1\n\n          echo \"Downloading ironpython-pytest...\"\n          curl -o ironpython-pytest.tar.gz -LJO https://pypi.debian.net/ironpython-pytest/latest\n\n          echo \"Downloading COMPAS...\"\n          curl -o compas.tar.gz -LJO https://pypi.debian.net/COMPAS/COMPAS-2.1.0.tar.gz\n\n          echo \"Downloading roslibpy...\"\n          curl -o roslibpy.tar.gz -LJO https://pypi.debian.net/roslibpy/latest\n\n          echo \"Downloading compas_robots...\"\n          curl -o compas_robots.tar.gz -LJO https://pypi.debian.net/compas_robots/latest\n\n          echo \"Setting up IronPython environment...\"\n          ipy -X:Frames -m ensurepip\n\n          echo \"Installing ironpython-pytest...\"\n          ipy -X:Frames -m pip install --no-deps ironpython-pytest.tar.gz\n\n          echo \"Installing COMPAS...\"\n          ipy -X:Frames -m pip install --no-deps compas.tar.gz\n          \n          echo \"Installing roslibpy...\"\n          ipy -X:Frames -m pip install --no-deps roslibpy.tar.gz\n\n          echo \"Installing compas_robots...\"\n          ipy -X:Frames -m pip install --no-deps compas_robots.tar.gz\n      - uses: NuGet/setup-nuget@v1.0.5\n      - uses: compas-dev/compas-actions.ghpython_components@v5\n        with:\n          source: src/compas_fab/ghpython/components\n          target: src/compas_fab/ghpython/components/ghuser\n      - name: Test import\n        run: |\n          echo \"Testing import of compas_fab...\"\n          ipy -m compas_fab\n        env:\n          IRONPYTHONPATH: ./src\n      - name: Run tests\n        run: |\n          echo \"Running tests...\"\n          ipy tests/ipy_test_runner.py\n        env:\n          IRONPYTHONPATH: ./src\n", "state": "active", "repository": "compas-dev/compas_fab"}
{"mined_at": "2024-07-15T12:53:57.665659", "created_at": "2020-11-30T14:33:41+01:00", "updated_at": "2020-11-30T14:33:41+01:00", "name": "verify-pr-checklist", "path": ".github/workflows/pr-checks.yml", "contents": "name: verify-pr-checklist\non:\n  pull_request:\n    types: [assigned, opened, synchronize, reopened, labeled, unlabeled]\n    branches:\n      - main\n\njobs:\n  build:\n    name: Check Actions\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - name: Changelog check\n        uses: Zomzog/changelog-checker@v1.1.0\n        with:\n          fileName: CHANGELOG.md\n          checkNotification: Simple\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "compas-dev/compas_fab"}
{"mined_at": "2024-07-15T12:53:58.700084", "created_at": "2024-02-20T12:40:18+01:00", "updated_at": "2024-02-20T12:40:18+01:00", "name": "Create Release", "path": ".github/workflows/release.yml", "contents": "on:\n  push:\n    tags:\n      - 'v*'\n\nname: Create Release\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python: ['3.8', '3.9', '3.10']\n\n    steps:\n      - uses: compas-dev/compas-actions.build@v3\n        with:\n          python: ${{ matrix.python }}\n          invoke_lint: true\n          check_import: true\n\n  publish:\n    needs: build\n    runs-on: windows-latest\n    steps:\n      - uses: compas-dev/compas-actions.publish@v2\n        with:\n          pypi_token: ${{ secrets.PYPI_PASSWORD }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          build_ghpython_components: true\n          gh_source: src/compas_fab/ghpython/components\n          gh_target: src/compas_fab/ghpython/components/ghuser\n          gh_prefix: \"COMPAS FAB: \"\n          gh_interpreter: \"ironpython\"\n          release_name_prefix: COMPAS FAB\n", "state": "active", "repository": "compas-dev/compas_fab"}
{"mined_at": "2024-07-15T12:53:59.712090", "created_at": "2024-02-21T00:53:38+01:00", "updated_at": "2024-02-21T00:53:38+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "compas-dev/compas_fab"}
{"mined_at": "2024-07-15T12:54:01.743275", "created_at": "2022-08-22T09:19:13+02:00", "updated_at": "2022-08-22T09:19:13+02:00", "name": "Changes", "path": ".github/workflows/changes.yml", "contents": "name: Changes\n\non:\n  workflow_call:\n    outputs:\n      ckan:\n        description: \"Change in ckan container\"\n        value: ${{ jobs.changes_in_containers.outputs.ckan }}\n      drupal:\n        description: \"Change in drupal container\"\n        value: ${{ jobs.changes_in_containers.outputs.drupal }}\n      nginx:\n        description: \"Change in nginx container\"\n        value: ${{ jobs.changes_in_containers.outputs.nginx }}\n      solr:\n        description: \"Change in solr container\"\n        value: ${{ jobs.changes_in_containers.outputs.solr }}\n      datapusher:\n        description: \"Change in datapusher container\"\n        value: ${{ jobs.changes_in_containers.outputs.datapusher }}\n      clamav:\n        description: \"Change in clamav container\"\n        value: ${{ jobs.changes_in_containers.outputs.clamav }}\n      assets:\n        description: \"Change in assets\"\n        value: ${{ jobs.changes_in_containers.outputs.assets }}\n      environment:\n        description: \"Changes in docker environment\"\n        value: ${{ jobs.changes_in_containers.outputs.environment }}\n\njobs:\n  changes_in_containers:\n    runs-on: ubuntu-latest\n    outputs:\n      ckan: ${{ steps.filter.outputs.ckan }}\n      drupal: ${{ steps.filter.outputs.drupal }}\n      nginx: ${{ steps.filter.outputs.nginx }}\n      solr: ${{ steps.filter.outputs.solr }}\n      datapusher: ${{ steps.filter.outputs.datapusher }}\n      clamav: ${{ steps.filter.outputs.clamav }}\n      assets: ${{ steps.filter.outputs.assets }}\n      environment: ${{ steps.filter.outputs.environment }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 0\n      - uses: nrwl/nx-set-shas@v4\n        id: last_successful_commit\n        with:\n          main-branch-name: 'master'\n          workflow-id: 'master.yml'\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          initial-fetch-depth: '10'\n          base: ${{ steps.last_successful_commit.outputs.base }}\n          filters: |\n            ckan: ckan/**\n            drupal: drupal/**\n            solr: docker/solr/**\n            datapusher: docker/datapusher-plus/**\n            clamav: clamav/clamav-docker/**\n            nginx: docker/nginx/**\n            assets: opendata-assets/**\n            environment: docker/*\n", "state": "active", "repository": "vrk-kpa/opendata"}
{"mined_at": "2024-07-15T12:54:02.828338", "created_at": "2022-01-21T09:11:44+01:00", "updated_at": "2022-01-21T10:56:24+01:00", "name": "Code Quality Checks", "path": ".github/workflows/check.yml", "contents": "name: Code Quality Checks\n\non:\n  push:\n    branches:\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  ruff:\n    name: ruff\n    runs-on: ubuntu-latest\n    container: python:3.11\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: Install requirements\n        run: |\n          pip install ruff\n      - name: Run ruff\n        run: |\n          ruff check --output-format=github ckan\n\n  code-sniffer:\n    name: code-sniffer\n    runs-on: ubuntu-latest\n    container: php:8.3\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Composer\n        run: |\n          EXPECTED_CHECKSUM=\"$(php -r 'copy(\"https://composer.github.io/installer.sig\", \"php://stdout\");')\"\n          php -r \"copy('https://getcomposer.org/installer', 'composer-setup.php');\"\n          ACTUAL_CHECKSUM=\"$(php -r \"echo hash_file('sha384', 'composer-setup.php');\")\"\n          if [ \"$EXPECTED_CHECKSUM\" != \"$ACTUAL_CHECKSUM\" ]\n          then\n              >&2 echo 'ERROR: Invalid installer checksum'\n              rm composer-setup.php\n              exit 1\n          fi\n          php composer-setup.php --quiet\n          RESULT=$?\n          rm composer-setup.php\n          mv composer.phar /usr/local/bin/composer\n          exit $RESULT\n        shell: sh\n      - name: Set up environment\n        run : |\n          apt-get update &&  apt-get install -y zlib1g-dev libsqlite3-dev libpng-dev libzip-dev unzip git\n          docker-php-ext-install gd\n      - run: php -d memory_limit=-1 /usr/local/bin/composer install -n --prefer-dist\n        working-directory: ./drupal/\n      - name: Ignore warnings on exit code\n        run: ./vendor/bin/phpcs --config-set ignore_warnings_on_exit 1\n        working-directory: ./drupal/\n      - name: Run codesniffer for drupal standard\n        run: ./vendor/bin/phpcs --standard=Drupal modules --ignore=*\\.js\n        working-directory: ./drupal\n      - name: Run codesniffer for drupal practice\n        run: ./vendor/bin/phpcs --standard=DrupalPractice modules --ignore=*\\.js\n        working-directory: ./drupal\n\n  stylelint:\n    name: stylelint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: 'npm'\n          cache-dependency-path: opendata-assets/package-lock.json\n\n      - name: Authenticate npm registry\n        if: ${{ steps.cache-node_modules.outputs.cache-hit != 'true' }}\n        run: |\n          cat <<EOT >> .npmrc\n          @fortawesome:registry=https://npm.fontawesome.com/\n          //npm.fontawesome.com/:_authToken=$NPM_TOKEN\n          EOT\n        working-directory: ./opendata-assets\n        env:\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n\n      - name: install npm packages\n        run: npm ci\n        working-directory: ./opendata-assets\n\n      - name: run stylelint\n        run: npx stylelint \"src/less\" -f github\n        working-directory: ./opendata-assets\n\n  slack:\n    name: Slack notification\n    runs-on: ubuntu-latest\n    needs:\n      - ruff\n      - code-sniffer\n      - stylelint\n    if: failure() && github.ref == 'refs/heads/master'\n    steps:\n      - uses: 8398a7/action-slack@v3\n        with:\n          status: 'failure'\n          fields: repo,message,author,action,ref\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEB_HOOK }}\n", "state": "active", "repository": "vrk-kpa/opendata"}
{"mined_at": "2024-07-15T12:54:03.931716", "created_at": "2024-06-20T08:29:43+02:00", "updated_at": "2024-06-20T08:58:53+02:00", "name": "dependabot validate", "path": ".github/workflows/dependabot-validate.yml", "contents": "name: dependabot validate\n\non:\n  pull_request:\n    paths:\n      - '.github/dependabot.yml'\n      - '.github/workflows/dependabot-validate.yml'\njobs:\n  validate:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: marocchino/validate-dependabot@v3\n        id: validate\n      - uses: marocchino/sticky-pull-request-comment@v2\n        if: always()\n        with:\n          header: validate-dependabot\n          message: ${{ steps.validate.outputs.markdown }}\n", "state": "active", "repository": "vrk-kpa/opendata"}
{"mined_at": "2024-07-15T12:54:04.938700", "created_at": "2022-08-02T13:54:50+02:00", "updated_at": "2022-08-04T12:04:30+02:00", "name": "Build and deploy containers", "path": ".github/workflows/master.yml", "contents": "name: Build and deploy containers\n\non:\n  push:\n    branches:\n      - master\n  workflow_dispatch:\n\njobs:\n  build-and-test-containers:\n    name: Build and test\n    uses: ./.github/workflows/test.yml\n    secrets: inherit\n\n  build-and-push:\n    name: Build and push containers\n    runs-on: ubuntu-latest\n    needs:\n      - build-and-test-containers\n    permissions:\n      id-token: write\n      contents: read\n\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - dockerfile: ./docker/solr/Dockerfile\n            context: ./docker/solr\n            submodules: \"\"\n            build-frontend: false\n            name: solr\n            build-container: ${{ needs.build-and-test-containers.outputs.solr == 'true' }}\n          - dockerfile: ./docker/datapusher-plus/Dockerfile\n            context: ./docker/datapusher-plus\n            submodules: \"\"\n            build-frontend: false\n            name: datapusher\n            build-container: ${{ needs.build-and-test-containers.outputs.datapusher == 'true' }}\n          - dockerfile: ./docker/nginx/Dockerfile\n            context: ./docker/nginx\n            submodules: \"\"\n            build-frontend: false\n            name: nginx\n            build-container: ${{ needs.build-and-test-containers.outputs.nginx == 'true' }}\n          - dockerfile: ./drupal/Dockerfile\n            context: ./drupal\n            submodules: \"\"\n            build-frontend: true\n            name: drupal\n            build-container: ${{ (needs.build-and-test-containers.outputs.drupal == 'true') || (needs.build-and-test-containers.outputs.assets == 'true') }}\n          - dockerfile: ./ckan/Dockerfile\n            context: ./ckan\n            submodules: recursive\n            build-frontend: true\n            name: ckan\n            build-container: ${{ (needs.build-and-test-containers.outputs.ckan == 'true') || (needs.build-and-test-containers.outputs.assets == 'true') }}\n          - dockerfile: ./clamav/clamav-docker/Dockerfile\n            context: ./clamav/clamav-docker\n            submodules: \"\"\n            name: clamav\n            build-container: ${{ needs.build-and-test-containers.outputs.clamav == 'true' }}\n\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: ${{ matrix.submodules }}\n\n      - name: setup docker buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_BUILD_ROLE }}\n          role-session-name: github-actions\n          aws-region: eu-west-1\n\n      - name: login to AWS ECR\n        id: login\n        uses: aws-actions/amazon-ecr-login@v2\n\n      - name: configure NPM credentials\n        if: ${{ matrix.build-frontend == true && matrix.build-container == true }}\n        run: |\n          cat <<EOT >> ./opendata-assets/.npmrc\n          @fortawesome:registry=https://npm.fontawesome.com/\n          //npm.fontawesome.com/:_authToken=$NPM_TOKEN\n          EOT\n        env:\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n\n      - name: install nodejs v20\n        if: ${{ matrix.build-frontend == true && matrix.build-container == true }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: 'npm'\n          cache-dependency-path: opendata-assets/package-lock.json\n\n      - name: install npm packages\n        if: ${{ matrix.build-frontend == true && matrix.build-container == true }}\n        run: npm ci\n        working-directory: ./opendata-assets\n\n      - name: build frontend with gulp\n        if: ${{ matrix.build-frontend == true && matrix.build-container == true }}\n        run: npx gulp\n        working-directory: ./opendata-assets\n\n      - name: build images\n        uses: docker/build-push-action@v6\n        if: ${{ matrix.build-container == true }}\n        with:\n          context: ${{ matrix.context }}\n          file: ${{ matrix.dockerfile }}\n          push: true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          tags: |\n            ${{ steps.login.outputs.registry }}/opendata/${{ matrix.name }}:${{ github.sha }}\n            ${{ steps.login.outputs.registry }}/opendata/${{ matrix.name }}:latest\n\n\n  commit-new-images:\n    name: Commit new image tags\n    runs-on: ubuntu-latest\n    needs:\n      - build-and-test-containers\n      - build-and-push\n    permissions:\n      id-token: write\n      contents: write\n    outputs:\n      sha: ${{ steps.envtemplate.outputs.commit_sha || github.sha }}\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: ${{ matrix.submodules }}\n          token: ${{ secrets.BOT_TOKEN }}\n\n      - name: Update .env.template to reference new ckan image\n        if: ${{ (needs.build-and-test-containers.outputs.ckan == 'true') || (needs.build-and-test-containers.outputs.assets == 'true')}}\n        run: |\n          sed -i.bak -E 's/^(CKAN_IMAGE_TAG[[:blank:]]*=[[:blank:]]*).*/\\1\\\"'\"${{ github.sha }}\"'\\\"/' docker/.env.template\n\n      - name: Update .env.template to reference new drupal image\n        if: ${{ (needs.build-and-test-containers.outputs.drupal == 'true') || (needs.build-and-test-containers.outputs.assets == 'true')}}\n        run: |\n          sed -i.bak -E 's/^(DRUPAL_IMAGE_TAG[[:blank:]]*=[[:blank:]]*).*/\\1\\\"'\"${{ github.sha }}\"'\\\"/' docker/.env.template\n\n      - name: Update .env.template to reference new solr image\n        if: ${{ (needs.build-and-test-containers.outputs.solr == 'true') }}\n        run: |\n          sed -i.bak -E 's/^(SOLR_IMAGE_TAG[[:blank:]]*=[[:blank:]]*).*/\\1\\\"'\"${{ github.sha }}\"'\\\"/' docker/.env.template\n\n      - name: Update .env.template to reference new datapusher image\n        if: ${{ (needs.build-and-test-containers.outputs.datapusher == 'true') }}\n        run: |\n          sed -i.bak -E 's/^(DATAPUSHER_IMAGE_TAG[[:blank:]]*=[[:blank:]]*).*/\\1\\\"'\"${{ github.sha }}\"'\\\"/' docker/.env.template\n\n      - name: Update .env.template to reference new nginx image\n        if: ${{ (needs.build-and-test-containers.outputs.nginx == 'true') }}\n        run: |\n          sed -i.bak -E 's/^(NGINX_IMAGE_TAG[[:blank:]]*=[[:blank:]]*).*/\\1\\\"'\"${{ github.sha }}\"'\\\"/' docker/.env.template\n\n      - name: Update .env.template to reference new clamav image\n        if: ${{ (needs.build-and-test-containers.outputs.clamav == 'true') }}\n        run: |\n          sed -i.bak -E 's/^(CLAMAV_IMAGE_TAG[[:blank:]]*=[[:blank:]]*).*/\\1\\\"'\"${{ github.sha }}\"'\\\"/' docker/.env.template\n\n      - name: Commit updated .env.template\n        id: envtemplate\n        if: ${{ (needs.build-and-test-containers.outputs.ckan == 'true') || \n                (needs.build-and-test-containers.outputs.assets == 'true') || \n                (needs.build-and-test-containers.outputs.drupal == 'true' ) || \n                (needs.build-and-test-containers.outputs.solr == 'true') || \n                (needs.build-and-test-containers.outputs.nginx == 'true') ||\n                (needs.build-and-test-containers.outputs.datapusher == 'true') ||\n                (needs.build-and-test-containers.outputs.clamav == 'true') }}\n        run: |\n          git config user.name \"YTP Bot\"\n          git config user.email \"yhteentoimivuus.kehittajat@gofore.com\"\n          git add docker/.env.template\n          git commit -m \"[skip ci] .env.template updated by new image tags\"\n          git push\n          echo \"commit_sha=$(git rev-parse HEAD)\" >> $GITHUB_OUTPUT\n\n\n  deploy-beta:\n    name: deploy-beta\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    needs:\n      - build-and-test-containers\n      - build-and-push\n      - commit-new-images\n    concurrency:\n      group: ${{ github.ref }}/deploy-beta\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ needs.commit-new-images.outputs.sha }}\n\n      - name: install nodejs v20\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: 'npm'\n          cache-dependency-path: 'cdk/package-lock.json'\n\n      - name: install cdk npm packages and verify installation\n        working-directory: cdk\n        run: |\n          npm ci\n          npx cdk doctor\n\n      - name: configure environment\n        shell: bash\n        run: |\n          # configure docker\n          cp -f docker/.env.template docker/.env\n          sed -i.bak -E 's/^(REGISTRY[[:blank:]]*=[[:blank:]]*).*/\\1\\\"'\"${REGISTRY}\"'\\\"/' docker/.env\n          sed -i.bak -E 's/^(REPOSITORY[[:blank:]]*=[[:blank:]]*).*/\\1\\\"'\"${REPOSITORY}\"'\\\"/' docker/.env\n        env:\n          REGISTRY: ${{ secrets.REGISTRY }}\n          REPOSITORY: ${{ secrets.REPOSITORY }}\n\n      - name: configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_BETA_DEPLOY_ROLE }}\n          role-session-name: github-actions\n          aws-region: eu-west-1\n\n      - name: build cdk project\n        working-directory: cdk\n        run: |\n          npm run build\n\n      - name: synthesize cdk stacks\n        working-directory: cdk\n        run: |\n          npx cdk synth *-beta --quiet >/dev/null 2>&1\n\n      - name: deploy cdk stacks\n        working-directory: cdk\n        run: |\n           npx cdk deploy *-beta --require-approval=never > /tmp/deploy.log 2>&1\n\n      - name: upload log artifacts\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: deploy-logs\n          path: /tmp/deploy.log\n\n      - name: Notify Zulip\n        uses: zulip/github-actions-zulip/send-message@v1\n        with:\n          api-key: ${{ secrets.ZULIP_API_KEY }}\n          email: 'avoindata-bot@turina.dvv.fi'\n          organization-url: 'https://turina.dvv.fi'\n          to: 'avoindata.fi'\n          type: 'stream'\n          topic: 'Beta Deployments'\n          content: 'Beta deployment succeeded! (${{ github.event.head_commit.message }})'\n\n      - name: Notify Zulip on error\n        if: failure()\n        uses: zulip/github-actions-zulip/send-message@v1\n        with:\n          api-key: ${{ secrets.ZULIP_API_KEY }}\n          email: 'avoindata-bot@turina.dvv.fi'\n          organization-url: 'https://turina.dvv.fi'\n          to: 'avoindata.fi'\n          type: 'stream'\n          topic: 'Beta Deployments'\n          content: 'Beta deployment failed! (${{ github.event.head_commit.message }})'\n\n  detect-build-failure:\n    name: Detect build failure\n    runs-on: ubuntu-latest\n    if: ${{ always() }}\n    needs:\n      - build-and-test-containers\n    steps:\n      - run: exit 1\n        if: >-\n          ${{\n              contains(needs.*.result, 'failure')\n              || contains(needs.*.result, 'skipped')\n          }}\n      - name: Notify Zulip on  build error\n        if: failure()\n        uses: zulip/github-actions-zulip/send-message@v1\n        with:\n          api-key: ${{ secrets.ZULIP_API_KEY }}\n          email: 'avoindata-bot@turina.dvv.fi'\n          organization-url: 'https://turina.dvv.fi'\n          to: 'avoindata.fi'\n          type: 'stream'\n          topic: 'Beta Deployments'\n          content: 'Build failed! (${{ github.event.head_commit.message }})'\n", "state": "active", "repository": "vrk-kpa/opendata"}
{"mined_at": "2024-07-15T12:54:05.957608", "created_at": "2024-04-08T13:14:23+02:00", "updated_at": "2024-04-10T07:55:40+02:00", "name": "Notify about open PRs", "path": ".github/workflows/open_prs.yml", "contents": "name: Notify about open PRs\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 6 * * 1-5\"\n\n\njobs:\n  send_open_prs:\n    name: Fetch and send open PRs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fetch open PRs\n        id: fetch_open_prs\n        uses: vrk-kpa/fetch-open-prs@main\n        with:\n          repository: '[\"vrk-kpa/opendata\", \"vrk-kpa/ckanext-matomo\"]'\n          format: \"markdown\"\n          ignored_users: '[\"dependabot[bot]\"]'\n\n      - name: Print\n        run: echo \"${{ steps.fetch_open_prs.outputs.PRs }}\"\n\n      - name: Send to zulip\n        uses: zulip/github-actions-zulip/send-message@v1\n        if:  ${{ steps.fetch_open_prs.outputs.PRs }}\n        with:\n          api-key: ${{ secrets.ZULIP_API_KEY }}\n          email: 'avoindata-bot@turina.dvv.fi'\n          organization-url: 'https://turina.dvv.fi'\n          to: 'avoindata.fi'\n          type: 'stream'\n          topic: 'Avoimet koodikatselmoinnit'\n          content: '${{ steps.fetch_open_prs.outputs.PRs }}'\n\n", "state": "active", "repository": "vrk-kpa/opendata"}
{"mined_at": "2024-07-15T12:54:07.115390", "created_at": "2022-01-31T12:00:49+01:00", "updated_at": "2022-01-31T12:00:49+01:00", "name": "Deploy Production", "path": ".github/workflows/prod.yml", "contents": "name: Deploy Production\n\non:\n  release:\n    types:\n      - published\n  workflow_dispatch:\n\nenv:\n  DOCKER_BUILDKIT: 1\n  COMPOSE_DOCKER_CLI_BUILD: 1\n\njobs:\n  deploy-prod:\n    name: deploy-prod\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    concurrency:\n      group: ${{ github.ref }}/deploy-prod\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: install nodejs v20\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: 'npm'\n          cache-dependency-path: 'cdk/package-lock.json'\n\n      - name: install cdk npm packages and verify installation\n        working-directory: cdk\n        run: |\n          npm ci\n          npx cdk doctor\n\n      - name: configure environment\n        shell: bash\n        run: |\n          # configure docker\n          cp -f docker/.env.template docker/.env\n          sed -i.bak -E 's/^(REGISTRY[[:blank:]]*=[[:blank:]]*).*/\\1\\\"'\"${REGISTRY}\"'\\\"/' docker/.env\n          sed -i.bak -E 's/^(REPOSITORY[[:blank:]]*=[[:blank:]]*).*/\\1\\\"'\"${REPOSITORY}\"'\\\"/' docker/.env\n        env:\n          REGISTRY: ${{ secrets.REGISTRY }}\n          REPOSITORY: ${{ secrets.REPOSITORY }}\n\n      - name: configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_ROLE }}\n          role-session-name: github-actions\n          aws-region: eu-west-1\n\n      - name: build cdk project\n        working-directory: cdk\n        run: |\n          npm run build\n\n      - name: synthesize cdk stacks\n        working-directory: cdk\n        run: |\n          npx cdk synth *-prod --quiet >/dev/null 2>&1\n\n      - name: deploy cdk stacks\n        working-directory: cdk\n        run: |\n          npx cdk deploy *-prod --require-approval=never >/dev/null 2>&1\n\n      - name: Notify Zulip\n        uses: zulip/github-actions-zulip/send-message@v1\n        with:\n          api-key: ${{ secrets.ZULIP_API_KEY }}\n          email: 'avoindata-bot@turina.dvv.fi'\n          organization-url: 'https://turina.dvv.fi'\n          to: 'avoindata.fi'\n          type: 'stream'\n          topic: 'Production Deployments'\n          content: 'Production deployment succeeded! (${{ github.event.head_commit.message }})'\n\n      - name: Notify Zulip on error\n        if: failure()\n        uses: zulip/github-actions-zulip/send-message@v1\n        with:\n          api-key: ${{ secrets.ZULIP_API_KEY }}\n          email: 'avoindata-bot@turina.dvv.fi'\n          organization-url: 'https://turina.dvv.fi'\n          to: 'avoindata.fi'\n          type: 'stream'\n          topic: 'Production Deployments'\n          content: 'Production deployment failed! (${{ github.event.head_commit.message }})'\n", "state": "active", "repository": "vrk-kpa/opendata"}
{"mined_at": "2024-07-15T12:54:08.238554", "created_at": "2024-05-06T08:45:41+02:00", "updated_at": "2024-05-06T08:45:41+02:00", "name": "Restart beta containers", "path": ".github/workflows/restart_beta_containers.yml", "contents": "name: Restart beta containers\n\non:\n  workflow_dispatch:\n\njobs:\n  restart-dev:\n    name: restart beta containers\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    strategy:\n      matrix:\n        container: [\"ckan\", \"ckanCron\", \"drupal\"]\n    steps:\n      - name: configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_BETA_DEPLOY_ROLE }}\n          role-session-name: github-actions\n          aws-region: eu-west-1\n\n      - name: Restart containers\n        run: |\n          aws ecs update-service --cluster ${{ secrets.beta_cluster }} --service ${{ matrix.container }} --force-new-deployment\n", "state": "active", "repository": "vrk-kpa/opendata"}
{"mined_at": "2024-07-15T12:54:09.361684", "created_at": "2024-05-06T08:45:41+02:00", "updated_at": "2024-05-06T08:45:41+02:00", "name": "Restart Prod containers", "path": ".github/workflows/restart_prod_containers.yml", "contents": "name: Restart Prod containers\n\non:\n  workflow_dispatch:\n\njobs:\n  restart-prod:\n    name: restart prod containers\n    runs-on: ubuntu-latest\n    environment: prod\n    permissions:\n      id-token: write\n    strategy:\n      matrix:\n        container: [\"ckan\", \"ckanCron\", \"drupal\"]\n    steps:\n      - name: configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_ROLE }}\n          role-session-name: github-actions\n          aws-region: eu-west-1\n\n      - name: Restart containers\n        run: |\n          aws ecs update-service --cluster ${{ secrets.prod_cluster }} --service ${{ matrix.container }} --force-new-deployment\n", "state": "active", "repository": "vrk-kpa/opendata"}
{"mined_at": "2024-07-15T12:54:10.394366", "created_at": "2021-12-14T09:37:35+01:00", "updated_at": "2022-08-22T11:27:41+02:00", "name": "CI/CD", "path": ".github/workflows/test.yml", "contents": "name: CI/CD\n\non:\n  schedule:\n    - cron: \"0 6 * * *\"\n  pull_request:\n  workflow_dispatch:\n  workflow_call:\n    outputs:\n      ckan:\n        description: \"Change in ckan container\"\n        value: ${{ jobs.detect-changes.outputs.ckan }}\n      drupal:\n        description: \"Change in drupal container\"\n        value: ${{ jobs.detect-changes.outputs.drupal }}\n      nginx:\n        description: \"Change in nginx container\"\n        value: ${{ jobs.detect-changes.outputs.nginx }}\n      solr:\n        description: \"Change in solr container\"\n        value: ${{ jobs.detect-changes.outputs.solr }}\n      datapusher:\n        description: \"Change in datapusher container\"\n        value: ${{ jobs.detect-changes.outputs.datapusher }}\n      clamav:\n        description: \"Change in clamav container\"\n        value: ${{ jobs.detect-changes.outputs.clamav }}\n      assets:\n        description: \"Change in assets\"\n        value: ${{ jobs.detect-changes.outputs.assets }}\n      environment:\n        description: \"Changes in docker environment\"\n        value: ${{ jobs.detect-changes.outputs.environment }}\n\n\nenv:\n  DOCKER_BUILDKIT: 1\n  COMPOSE_DOCKER_CLI_BUILD: 1\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  detect-changes:\n    uses: ./.github/workflows/changes.yml\n\n  build-containers:\n    needs:\n      - detect-changes\n    name: Build Containers\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - dockerfile: ./docker/solr/Dockerfile\n            context: ./docker/solr\n            submodules: \"\"\n            build-frontend: false\n            name: solr\n            build-container: ${{ needs.detect-changes.outputs.solr == 'true' }}\n          - dockerfile: ./docker/datapusher-plus/Dockerfile\n            context: ./docker/datapusher-plus\n            submodules: \"\"\n            build-frontend: false\n            name: datapusher\n            build-container: ${{ needs.detect-changes.outputs.datapusher == 'true' }}\n          - dockerfile: ./docker/nginx/Dockerfile\n            context: ./docker/nginx\n            submodules: \"\"\n            build-frontend: false\n            name: nginx\n            build-container: ${{ needs.detect-changes.outputs.nginx == 'true' }}\n          - dockerfile: ./drupal/Dockerfile\n            context: ./drupal\n            submodules: \"\"\n            build-frontend: true\n            name: drupal\n            build-container: ${{ (needs.detect-changes.outputs.drupal == 'true') || (needs.detect-changes.outputs.assets == 'true') }}\n          - dockerfile: ./ckan/Dockerfile\n            context: ./ckan\n            submodules: recursive\n            build-frontend: true\n            name: ckan\n            build-container: ${{ (needs.detect-changes.outputs.ckan == 'true') || (needs.detect-changes.outputs.assets == 'true') }}\n          - dockerfile: ./clamav/clamav-docker/Dockerfile\n            context: ./clamav/clamav-docker\n            submodules: \"\"\n            build-frontend: false\n            name: clamav\n            build-container: ${{ needs.detect-changes.outputs.clamav == 'true' }}\n\n    steps:\n      - name: checkout\n        if: ${{ matrix.build-container == true }}\n        uses: actions/checkout@v4\n        with:\n          submodules: ${{ matrix.submodules }}\n\n      - name: setup docker buildx\n        if: ${{ matrix.build-container == true }}\n        uses: docker/setup-buildx-action@v3\n\n      - name: configure NPM credentials\n        if: ${{ matrix.build-frontend == true && matrix.build-container == true }}\n        run: |\n          cat <<EOT >> ./opendata-assets/.npmrc\n          @fortawesome:registry=https://npm.fontawesome.com/\n          //npm.fontawesome.com/:_authToken=$NPM_TOKEN\n          EOT\n        env:\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n\n      - name: install nodejs v20\n        if: ${{ matrix.build-frontend == true && matrix.build-container == true }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: 'npm'\n          cache-dependency-path: opendata-assets/package-lock.json\n\n      - name: install npm packages\n        if: ${{ matrix.build-frontend == true && matrix.build-container == true }}\n        run: npm ci\n        working-directory: ./opendata-assets\n\n      - name: build frontend with gulp\n        if: ${{ matrix.build-frontend == true && matrix.build-container == true }}\n        run: npx gulp\n        working-directory: ./opendata-assets\n\n      - name: build images\n        if: ${{ matrix.build-container == true }}\n        uses: docker/build-push-action@v6\n        with:\n          context: ${{ matrix.context }}\n          file: ${{ matrix.dockerfile }}\n          push: false\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          outputs: type=docker,dest=/tmp/${{ matrix.name }}.tar\n          tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}/${{ matrix.name }}:latest\n        env:\n          REGISTRY: ${{ secrets.REGISTRY }}\n          REPOSITORY: ${{ secrets.REPOSITORY }}\n          DOCKER_BUILD_NO_SUMMARY: true\n\n      - name: upload images\n        if: ${{ matrix.build-container == true }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.name }}\n          path: /tmp/${{ matrix.name }}.tar\n\n  test-e2e:\n    name: test-e2e\n    needs:\n      - detect-changes\n      - build-containers\n    if: ${{ (needs.detect-changes.outputs.nginx == 'true') ||\n            (needs.detect-changes.outputs.ckan == 'true') ||\n            (needs.detect-changes.outputs.drupal == 'true') ||\n            (needs.detect-changes.outputs.solr == 'true') ||\n            (needs.detect-changes.outputs.datapusher == 'true') ||\n            (needs.detect-changes.outputs.assets == 'true') ||\n            (needs.detect-changes.outputs.environment == 'true')\n      }}\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    permissions:\n      id-token: write\n      contents: read\n    env:\n      CI: 1\n      TERM: xterm\n    strategy:\n      fail-fast: false\n      matrix:\n        containers: [1, 2, 3, 4, 5]\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: setup docker buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: install nodejs v20\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: 'npm'\n          cache-dependency-path: package-lock.json\n\n      - run: npm ci\n\n      - name: configure AWS credentials for running tests\n        uses: aws-actions/configure-aws-credentials@v4\n        id: aws-credentials\n        with:\n          role-to-assume: ${{ secrets.AWS_TEST_ROLE }}\n          role-session-name: github-actions\n          aws-region: eu-west-1\n          output-credentials: true\n\n      - name: get caller identity\n        run: |\n          aws sts get-caller-identity\n\n      - name: configure Cypress\n        shell: bash\n        run: |\n          # configure cypress\n          cat <<EOT > cypress.config.js\n          const { defineConfig } = require('cypress')\n          const del = require('del')\n\n          module.exports = defineConfig({\n            projectId: 'ssb2ut',\n            env: {\n              resetDB: true,\n              cloudStorageEnabled: true\n            },\n              videoCompression: 20,\n              videoUploadOnPasses: false,\n            e2e: {\n              baseUrl: 'http://localhost',\n              specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',\n              setupNodeEvents(on, config) {\n                on('after:spec', (spec, results) => {\n                  if (results && results.stats.failures === 0 && results.video) {\n                    return del(results.video)\n                  }\n                })\n              },\n            },\n          })\n          EOT\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: configure .env\n        shell: bash\n        run: |\n          cp -f docker/.env.template docker/.env\n          pip install \"python-dotenv[cli]\"\n          dotenv -f docker/.env set REGISTRY ${REGISTRY}\n          dotenv -f docker/.env set REPOSITORY ${REPOSITORY}\n          dotenv -f docker/.env set MATOMO_ENABLED false\n        env:\n          REGISTRY: ${{ secrets.REGISTRY }}\n          REPOSITORY: ${{ secrets.REPOSITORY }}\n\n      - name: configure .env.ckan.local\n        shell: bash\n        run: |\n          dotenv -f docker/.env.ckan.local set CKAN_CLOUDSTORAGE_ENABLED ${CKAN_CLOUDSTORAGE_ENABLED}\n          dotenv -f docker/.env.ckan.local set CKAN_CLOUDSTORAGE_DRIVER_OPTIONS \"{'key': '${AWS_ACCESS_KEY_ID}', 'secret': '${AWS_SECRET_ACCESS_KEY}', 'token': '${AWS_SESSION_TOKEN}' }\"\n          dotenv -f docker/.env.ckan.local set CKAN_CLOUDSTORAGE_CONTAINER_NAME ${CKAN_CLOUDSTORAGE_CONTAINER_NAME}\n          dotenv -f docker/.env.ckan.local set AWS_ACCESS_KEY_ID ${AWS_ACCESS_KEY_ID}\n          dotenv -f docker/.env.ckan.local set AWS_SECRET_ACCESS_KEY ${AWS_SECRET_ACCESS_KEY}\n        env:\n          CKAN_CLOUDSTORAGE_ENABLED: true\n          CKAN_CLOUDSTORAGE_CONTAINER_NAME: ${{ secrets.CKAN_CLOUDSTORAGE_CONTAINER_NAME }}\n          AWS_ACCESS_KEY_ID: ${{ steps.aws-credentials.outputs.aws-access-key-id }}\n          AWS_SECRET_ACCESS_KEY: ${{ steps.aws-credentials.outputs.aws-secret-access-key }}\n          AWS_SESSION_TOKEN: ${{ steps.aws-credentials.outputs.aws-session-token }}\n\n      - name: configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_DEV_ROLE }}\n          role-session-name: github-actions\n          aws-region: eu-west-1\n\n      - name: login to AWS ECR\n        id: login\n        uses: aws-actions/amazon-ecr-login@v2\n        with:\n          registries: ${{ secrets.AWS_PROD_ACCOUNT_ID }}\n\n\n\n      - name: download built images\n        uses: actions/download-artifact@v4\n        with:\n          path: /tmp\n\n      - name: load built ckan image\n        if: ${{ (needs.detect-changes.outputs.ckan == 'true') || (needs.detect-changes.outputs.assets == 'true')}}\n        run: |\n          docker load --input /tmp/ckan/ckan.tar\n\n      - name: load built drupal image\n        if: ${{ (needs.detect-changes.outputs.drupal == 'true') || (needs.detect-changes.outputs.assets == 'true') }}\n        run: |\n          docker load --input /tmp/drupal/drupal.tar\n\n      - name: load built datapusher image\n        if: ${{ needs.detect-changes.outputs.datapusher == 'true' }}\n        run: |\n          docker load --input /tmp/datapusher/datapusher.tar\n\n      - name: load built solr image\n        if: ${{ needs.detect-changes.outputs.solr == 'true' }}\n        run: |\n          docker load --input /tmp/solr/solr.tar\n\n      - name: load built nginx image\n        if: ${{ needs.detect-changes.outputs.nginx == 'true' }}\n        run: |\n          docker load --input /tmp/nginx/nginx.tar\n\n      - name: bring services up\n        working-directory: docker\n        run: |\n          docker-compose -f docker-compose.yml -f docker-compose.build.yml -p opendata up -d\n\n      - name: wait until services have started\n        shell: bash\n        run: |\n          # wait for services to start properly\n          while [[ $(curl -L --write-out '%{http_code}' --silent --output /dev/null http://localhost) != \"200\" ]]; do\n            echo \"waiting for services to start up and initialize ...\"\n            sleep 5s\n          done\n          sleep 5s\n          # print the list of containers\n          docker ps -a\n          # print logs to debug errors\n          docker logs opendata_ckan_1\n          docker logs opendata_drupal_1\n          docker logs opendata_solr_1\n          docker logs opendata_datapusher_1\n          docker logs opendata_nginx_1\n          docker logs opendata_fuseki_1\n\n      - name: Build cypress container\n        run: docker build -t cypress/test cypress/\n\n      - name: run cypress e2e tests\n        run: >\n          docker run \n          --network host \n          -v $PWD:/e2e\n          -w /e2e \n          -e COMMIT_INFO_BRANCH\n          -e CYPRESS_PULL_REQUEST_ID\n          -e CYPRESS_PULL_REQUEST_URL\n          -e CYPRESS_CI_BUILD_URL\n          --entrypoint cypress \n          cypress/test run \n          --browser chrome:stable \n          --record --key ${{ secrets.CYPRESS_RECORD_KEY }} \n          --parallel \n          --ci-build-id ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt}}\n        env:\n          COMMIT_INFO_BRANCH: ${{ github.head_ref || github.ref_name }}\n          CYPRESS_PULL_REQUEST_ID: ${{ github.event.number }}\n          CYPRESS_PULL_REQUEST_URL: ${{ github.event.pull_request.url }}\n          CYPRESS_CI_BUILD_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n\n      - name: export e2e test logs \n        if: failure()\n        shell: bash\n        run: |\n          docker logs opendata_ckan_1 > /tmp/opendata_ckan_1.log 2>&1\n          docker logs opendata_ckan_cron_1 > /tmp/opendata_ckan_cron_1.log 2>&1\n          docker logs opendata_drupal_1 > /tmp/opendata_drupal_1.log 2>&1\n          docker logs opendata_solr_1 > /tmp/opendata_solr_1.log 2>&1\n          docker logs opendata_datapusher_1 > /tmp/opendata_datapusher_1.log 2>&1\n          docker logs opendata_nginx_1 > /tmp/opendata_nginx_1.log 2>&1\n          docker logs opendata_fuseki_1 > /tmp/opendata_fuseki_1.log 2>&1\n\n      - name: upload log artifacts\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: docker-logs\n          path: /tmp/opendata_*.log\n\n      - name: upload cypress screenshot artifacts\n        uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: screenshots\n          path: cypress/screenshots\n\n      - name: upload cypress video artifacts\n        uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: videos\n          path: cypress/videos\n\n  test-e2e-results:\n    if: ${{ always() }}\n    runs-on: ubuntu-latest\n    name: Final E2E Results\n    needs: [test-e2e]\n    steps:\n      - run: exit 1\n        if: >-\n          ${{\n              contains(needs.*.result, 'failure')\n              || contains(needs.*.result, 'cancelled')\n          }}\n\n  test-cdk:\n    name: test-cdk\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    concurrency:\n      group: ${{ github.ref }}/test-cdk\n      cancel-in-progress: true\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: install nodejs v16\n        uses: actions/setup-node@v4\n        with:\n          node-version: 16\n\n      - name: cache node_modules\n        uses: actions/cache@v4\n        with:\n          path: ~/.npm\n          key: ${{ runner.os }}-node_cdk_v16-${{ hashFiles('**/package-lock.json') }}\n          restore-keys: |\n            ${{ runner.os }}-node_cdk_v16-\n\n      - name: install cdk npm packages and verify installation\n        working-directory: cdk\n        run: |\n          npm install\n          $(npm bin)/cdk doctor\n\n      - name: build cdk project\n        working-directory: cdk\n        run: |\n          npm run build\n\n      - name: test cdk project\n        working-directory: cdk\n        run: |\n          npm run test\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          flags: cdk\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  test:\n    name: Test opendata extensions\n    runs-on: ubuntu-latest\n    needs:\n      - detect-changes\n    if: ${{ needs.detect-changes.outputs.ckan == 'true' }}\n    container:\n      image: ckan/ckan-dev:2.9.9\n    services:\n      solr:\n        image: ckan/ckan-solr:2.9\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n      redis:\n        image: redis:3\n    env:\n      CKAN_SQLALCHEMY_URL: postgresql://ckan_default:pass@postgres/ckan_test\n      CKAN_DATASTORE_WRITE_URL: postgresql://datastore_write:pass@postgres/datastore_test\n      CKAN_DATASTORE_READ_URL: postgresql://datastore_read:pass@postgres/datastore_test\n      CKAN_SOLR_URL: http://solr:8983/solr/ckan\n      CKAN_REDIS_URL: redis://redis:6379/1\n      PGPASSWORD: postgres\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Create Database\n      run: |\n        psql --host=postgres --username=postgres --command=\"CREATE USER ckan_default WITH PASSWORD 'pass' NOSUPERUSER NOCREATEDB NOCREATEROLE;\"\n        createdb --encoding=utf-8 --host=postgres --username=postgres --owner=ckan_default ckan_test\n        psql --host=postgres --username=postgres --command=\"CREATE USER datastore_write WITH PASSWORD 'pass' NOSUPERUSER NOCREATEDB NOCREATEROLE;\"\n        psql --host=postgres --username=postgres --command=\"CREATE USER datastore_read WITH PASSWORD 'pass' NOSUPERUSER NOCREATEDB NOCREATEROLE;\"\n        createdb --encoding=utf-8 --host=postgres --username=postgres --owner=datastore_write datastore_test\n    - name: Install requirements\n      run: |\n        apk add proj proj-dev proj-util geos\n        cd ckan/ckanext/ckanext-ytp_main\n        pip install -r dev-requirements.txt\n        pip install -r requirements.txt\n        pip install -e .\n        # Replace default path to CKAN core config file with the one on the container\n        sed -i -e 's/use = config:.*/use = config:\\/srv\\/app\\/src\\/ckan\\/test-core.ini/' test.ini\n        cd ../ckanext-scheming\n        pip install -e .\n        cd ../ckanext-fluent\n        pip install -r requirements.txt\n        pip install -e .\n        cd ../ckanext-dcat\n        pip install -r requirements.txt\n        pip install -e .\n        cd ../ckanext-report\n        pip install -r requirements.txt\n        pip install -e .\n        # Spatial is not currently used in tests\n        # cd ../ckanext-spatial\n        # pip install -r requirements.txt\n        # pip install -e .\n        cd ../ckanext-organizationapproval\n        pip install -r requirements.txt\n        pip install -e .\n        cd ../ckanext-hierarchy\n        pip install -r requirements.txt\n        pip install -e .\n        cd ../ckanext-harvest\n        pip install -r requirements.txt\n        pip install -e .\n        cd ../ckanext-showcase\n        pip install -r requirements.txt\n        pip install -e .\n        cd ../ckanext-sixodp_showcase\n        pip install -r requirements.txt\n        pip install -e .\n        cd ../ckanext-sixodp_showcasesubmit\n        pip install -r requirements.txt\n        pip install -e .\n        cd ../ckanext-sitesearch\n        pip install -e .\n    - name: Setup extension\n      run: |\n        ckan -c ckan/ckanext/ckanext-ytp_main/test.ini db init\n    - name: Run tests\n      run: |\n        pytest --ckan-ini=ckan/ckanext/ckanext-ytp_main/test.ini --cov=ckanext.ytp --disable-warnings ckan/ckanext/ckanext-ytp_main/ckanext/ytp/tests\n\n    - name: install codecov requirements\n      run: |\n        apk add gpg gpg-agent\n\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        flags: ckan\n        os: alpine\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "vrk-kpa/opendata"}
{"mined_at": "2024-07-15T12:54:11.402338", "created_at": "2024-07-15T03:26:26+02:00", "updated_at": "2024-07-15T03:26:26+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "vrk-kpa/opendata"}
{"mined_at": "2024-07-15T12:54:13.565635", "created_at": "2021-02-01T23:15:55+01:00", "updated_at": "2021-02-01T23:15:55+01:00", "name": "CI", "path": ".github/workflows/python-package.yml", "contents": "# Workflow is based on the Astropy GitHub actions workflow, ci_workflows.yml\nname: CI\n\non:\n    push:\n        branches:\n            - '*'\n        tags:\n            - '*'\n    pull_request:\n\njobs:\n    tests:\n        name: Unit tests\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: true\n            matrix:\n                os: [ubuntu-latest]\n                python-version: [3.8]  # fitsio does not like Python < 3.7, astropy does not like Python < 3.8, might be too soon for 3.9.\n                astropy-version: ['==4.0.1.post1', '==5.0']  # everest & fuji versions\n                fitsio-version: ['==1.1.2', '==1.1.6']  # everest & fuji versions\n                numpy-version: ['<1.23']  # to keep asscalar, used by astropy\n        env:\n            DESIUTIL_VERSION: 3.2.3\n            # DESIMODEL: ${GITHUB_WORKSPACE}/desimodel\n            DESIMODEL_DATA: branches/test-0.18\n            # DESISIM: ${GITHUB_WORKSPACE}/desisim\n            DESISIM_TESTDATA_VERSION: main\n            # DESI_ROOT: ${DESISIM}/desi\n            # DESI_BASIS_TEMPLATES: ${DESI_ROOT}/spectro/templates/basis_templates/v3.2\n            SIMQSO_VERSION: v1.2.4\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: |\n                python -m pip install --upgrade pip wheel\n                python -m pip install pytest\n                python -m pip install git+https://github.com/desihub/desiutil.git@${DESIUTIL_VERSION}#egg=desiutil\n                python -m pip install -r requirements.txt\n                python -m pip install -U 'numpy${{ matrix.numpy-version }}'\n                python -m pip install -U 'astropy${{ matrix.astropy-version }}'\n                # python -m pip install git+https://github.com/imcgreer/simqso.git@${SIMQSO_VERSION}#egg=simqso\n                python -m pip install git+https://github.com/desihub/simqso.git@main#egg=simqso\n                python -m pip cache remove fitsio\n                python -m pip install --no-deps --force-reinstall --ignore-installed 'fitsio${{ matrix.fitsio-version }}'\n            - name: Verify Installation\n              run: pip list\n            - name: Install desimodel Data\n              run: |\n                mkdir -p ${GITHUB_WORKSPACE}/desimodel\n                svn export https://desi.lbl.gov/svn/code/desimodel/${DESIMODEL_DATA}/data ${GITHUB_WORKSPACE}/desimodel/data\n            - name: Install desisim Data\n              run: |\n                wget https://github.com/desihub/desisim-testdata/archive/${DESISIM_TESTDATA_VERSION}.zip\n                unzip ${DESISIM_TESTDATA_VERSION}.zip\n            - name: Run the test\n              run: PYTHONPATH=${GITHUB_WORKSPACE}/py DESIMODEL=${GITHUB_WORKSPACE}/desimodel DESISIM=${GITHUB_WORKSPACE} DESI_ROOT=${GITHUB_WORKSPACE}/desisim-testdata-${DESISIM_TESTDATA_VERSION}/desi DESI_BASIS_TEMPLATES=${GITHUB_WORKSPACE}/desisim-testdata-${DESISIM_TESTDATA_VERSION}/desi/spectro/templates/basis_templates/v3.2 pytest\n\n    coverage:\n        name: Test coverage\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: true\n            matrix:\n                os: [ubuntu-latest]\n                python-version: [3.8]\n                fitsio-version: ['==1.1.6']  # fuji version\n                numpy-version: ['<1.23']  # to keep asscalar, used by astropy\n        env:\n            DESIUTIL_VERSION: 3.2.3\n            # DESIMODEL: ${GITHUB_WORKSPACE}/desimodel\n            DESIMODEL_DATA: branches/test-0.17\n            # DESISIM: ${GITHUB_WORKSPACE}/desisim\n            DESISIM_TESTDATA_VERSION: main\n            # DESI_ROOT: ${DESISIM}/desi\n            # DESI_BASIS_TEMPLATES: ${DESI_ROOT}/spectro/templates/basis_templates/v3.2\n            SIMQSO_VERSION: v1.2.4\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: |\n                python -m pip install --upgrade pip wheel\n                python -m pip install pytest pytest-cov coveralls\n                python -m pip install git+https://github.com/desihub/desiutil.git@${DESIUTIL_VERSION}#egg=desiutil\n                python -m pip install -r requirements.txt\n                python -m pip install -U 'numpy${{ matrix.numpy-version }}'\n                # python -m pip install git+https://github.com/imcgreer/simqso.git@${SIMQSO_VERSION}#egg=simqso\n                python -m pip install git+https://github.com/desihub/simqso.git@main#egg=simqso\n                python -m pip cache remove fitsio\n                python -m pip install --no-deps --force-reinstall --ignore-installed 'fitsio${{ matrix.fitsio-version }}'\n            - name: Verify Installation\n              run: pip list\n            - name: Install desimodel Data\n              run: |\n                mkdir -p ${GITHUB_WORKSPACE}/desimodel\n                svn export https://desi.lbl.gov/svn/code/desimodel/${DESIMODEL_DATA}/data ${GITHUB_WORKSPACE}/desimodel/data\n            - name: Install desisim Data\n              run: |\n                wget https://github.com/desihub/desisim-testdata/archive/${DESISIM_TESTDATA_VERSION}.zip\n                unzip ${DESISIM_TESTDATA_VERSION}.zip\n            - name: Run the test\n              run: PYTHONPATH=${GITHUB_WORKSPACE}/py DESIMODEL=${GITHUB_WORKSPACE}/desimodel DESISIM=${GITHUB_WORKSPACE} DESI_ROOT=${GITHUB_WORKSPACE}/desisim-testdata-${DESISIM_TESTDATA_VERSION}/desi DESI_BASIS_TEMPLATES=${GITHUB_WORKSPACE}/desisim-testdata-${DESISIM_TESTDATA_VERSION}/desi/spectro/templates/basis_templates/v3.2 pytest --cov\n            - name: Coveralls\n              env:\n                COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n                GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n              run: coveralls\n\n    docs:\n        name: Doc test\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest]\n                python-version: [3.8]\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: python -m pip install --upgrade pip wheel Sphinx\n            - name: Test the documentation\n              run: sphinx-build -W --keep-going -b html doc doc/_build/html\n\n    style:\n        name: Style check\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest]\n                python-version: [3.8]\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: python -m pip install --upgrade pip wheel pycodestyle\n            - name: Test the style; failures are allowed\n              # This is equivalent to an allowed falure.\n              continue-on-error: true\n              run: pycodestyle --count py/desisim\n", "state": "active", "repository": "desihub/desisim"}
{"mined_at": "2024-07-15T12:54:15.709660", "created_at": "2022-07-12T14:00:55+02:00", "updated_at": "2022-07-12T14:00:55+02:00", "name": "Binder Badge", "path": ".github/workflows/binder.yaml", "contents": "name: Binder Badge\non:\n  pull_request_target:\n    types: [opened]\n\njobs:\n  binder:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/binder-link@v1\n        with:\n          github_token: ${{ secrets.github_token }}\n", "state": "active", "repository": "jupyter/nbgrader"}
{"mined_at": "2024-07-15T12:54:16.748798", "created_at": "2022-05-09T12:57:18+02:00", "updated_at": "2022-05-18T09:00:30+02:00", "name": "Check Release", "path": ".github/workflows/check-release.yml", "contents": "name: Check Release\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"*\"]\n\njobs:\n  check_release:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        group: [check_release, link_check]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Check Release\n        if: ${{ matrix.group == 'check_release' }}\n        uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Run Link Check\n        if: ${{ matrix.group == 'link_check' }}\n        uses: jupyter-server/jupyter_releaser/.github/actions/check-links@v1\n      - name: Upload Distributions\n        uses: actions/upload-artifact@v2\n        with:\n          name: nbgrader-jupyter-releaser-dist-${{ github.run_number }}\n          path: .jupyter_releaser_checkout/dist\n", "state": "active", "repository": "jupyter/nbgrader"}
{"mined_at": "2024-07-15T12:54:17.759274", "created_at": "2022-05-06T17:08:17+02:00", "updated_at": "2022-05-06T21:07:20+02:00", "name": "Enforce PR label", "path": ".github/workflows/enforce-label.yml", "contents": "name: Enforce PR label\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, edited, synchronize]\njobs:\n  enforce-label:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: enforce-triage-label\n        uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1\n", "state": "active", "repository": "jupyter/nbgrader"}
{"mined_at": "2024-07-15T12:54:18.764252", "created_at": "2024-03-28T19:51:50+01:00", "updated_at": "2024-03-28T19:51:50+01:00", "name": "Step 1: Prep Release", "path": ".github/workflows/prep-release.yml", "contents": "name: \"Step 1: Prep Release\"\non:\n  workflow_dispatch:\n    inputs:\n      version_spec:\n        description: \"New Version Specifier\"\n        default: \"next\"\n        required: false\n      branch:\n        description: \"The branch to target\"\n        required: false\n      post_version_spec:\n        description: \"Post Version Specifier\"\n        required: false\n      silent:\n        description: \"Set a placeholder in the changelog and don't publish the release.\"\n        required: false\n        type: boolean\n      since:\n        description: \"Use PRs with activity since this date or git reference\"\n        required: false\n      since_last_stable:\n        description: \"Use PRs with activity since the last stable git tag\"\n        required: false\n        type: boolean\njobs:\n  prep_release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Prep Release\n        id: prep-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          version_spec: ${{ github.event.inputs.version_spec }}\n          silent: ${{ github.event.inputs.silent }}\n          post_version_spec: ${{ github.event.inputs.post_version_spec }}\n          target: ${{ github.event.inputs.target }}\n          branch: ${{ github.event.inputs.branch }}\n          since: ${{ github.event.inputs.since }}\n          since_last_stable: ${{ github.event.inputs.since_last_stable }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}\"\n", "state": "active", "repository": "jupyter/nbgrader"}
{"mined_at": "2024-07-15T12:54:19.887902", "created_at": "2024-03-28T19:51:50+01:00", "updated_at": "2024-03-28T19:51:50+01:00", "name": "Publish Changelog", "path": ".github/workflows/publish-changelog.yml", "contents": "name: \"Publish Changelog\"\non:\n  release:\n    types: [published]\n\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch to target\"\n        required: false\n\njobs:\n  publish_changelog:\n    runs-on: ubuntu-latest\n    environment: release\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Publish changelog\n        id: publish-changelog\n        uses: jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}\"\n", "state": "active", "repository": "jupyter/nbgrader"}
{"mined_at": "2024-07-15T12:54:21.047004", "created_at": "2024-03-28T19:51:51+01:00", "updated_at": "2024-03-28T19:51:51+01:00", "name": "Step 2: Publish Release", "path": ".github/workflows/publish-release.yml", "contents": "name: \"Step 2: Publish Release\"\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The target branch\"\n        required: false\n      release_url:\n        description: \"The URL of the draft GitHub release\"\n        required: false\n      steps_to_skip:\n        description: \"Comma separated list of steps to skip\"\n        required: false\n\njobs:\n  publish_release:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Populate Release\n        id: populate-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n          release_url: ${{ github.event.inputs.release_url }}\n          steps_to_skip: ${{ github.event.inputs.steps_to_skip }}\n\n      - name: Finalize Release\n        id: finalize-release\n        env:\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n        uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          release_url: ${{ steps.populate-release.outputs.release_url }}\n\n      - name: \"** Next Step **\"\n        if: ${{ success() }}\n        run: |\n          echo \"Verify the final release\"\n          echo ${{ steps.finalize-release.outputs.release_url }}\n\n      - name: \"** Failure Message **\"\n        if: ${{ failure() }}\n        run: |\n          echo \"Failed to Publish the Draft Release Url:\"\n          echo ${{ steps.populate-release.outputs.release_url }}\n", "state": "active", "repository": "jupyter/nbgrader"}
{"mined_at": "2024-07-15T12:54:22.133799", "created_at": "2022-06-01T17:36:21+02:00", "updated_at": "2023-08-21T13:36:15+02:00", "name": "Test python-nbextensions-doc", "path": ".github/workflows/test-docs-python-nbextensions.yml", "contents": null, "state": "active", "repository": "jupyter/nbgrader"}
{"mined_at": "2024-07-15T12:54:23.277156", "created_at": "2022-11-16T09:13:44+01:00", "updated_at": "2023-07-18T13:06:13+02:00", "name": "Test python-doc", "path": ".github/workflows/test-docs-python.yml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions\n#\nname: Test python-doc\n\non:\n  pull_request:\n    branches: [\"**\"]\n  push:\n    branches: [main, master]\n    tags: [\"**\"]\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  test_nbgrader:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 45\n\n    env:\n      # NOTE: UTF-8 content may be interpreted as ascii and causes errors\n      #       without this.\n      LANG: C.UTF-8\n      MOZ_HEADLESS: 1\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, ubuntu-22.04]\n        group: [\"docs\", \"python\"]\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        exclude:\n          - os: windows-latest\n            group: docs\n          - python: \"3.8\"\n            group: docs\n          - python: \"3.9\"\n            group: docs\n          - python: \"3.10\"\n            group: docs\n    steps:\n      # This is how you set an environment variable in a GitHub workflow that\n      # will be available in following steps as if you would used `export\n      # MY_ENV=my-value`.\n      - name: Configure environment variables from job flags\n        run: |\n          if [ \"${{ matrix.group }}\" == \"docs\" ]; then\n              echo \"GROUP=docs\" >> $GITHUB_ENV\n              echo \"TIMEOUT_MINUTES=20\" >> $GITHUB_ENV\n          fi\n          if [ \"${{ matrix.group }}\" == \"python\" ]; then\n              echo \"GROUP=python\" >> $GITHUB_ENV\n              echo \"TIMEOUT_MINUTES=20\" >> $GITHUB_ENV\n          fi\n      - uses: actions/checkout@v3\n      - name: Install node\n        uses: actions/setup-node@v3\n        with:\n          node-version: '18.x'\n      # NOTE: actions/setup-python@v2 can make use of a cache within the GitHub\n      #       Action virtual environment and setup extremely fast. 3.9 isn't\n      #       available in this cache as of November 2020.\n      - name: Install Python ${{ matrix.python }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Run pre-commit\n        if: matrix.group == 'docs'\n        run: |\n          sudo apt-get install pandoc\n          # Remove node\n          sudo rm -rf $(which node)\n          sudo rm -rf $(which node)\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip wheel setuptools\n          python tasks.py install --group=\"$GROUP\"\n          pip freeze\n      - name: Install Playwright\n        if: matrix.group != 'docs'\n        run: |\n          npx playwright install\n      - name: Run pytest\n        timeout-minutes: ${{ fromJSON(env.TIMEOUT_MINUTES) }}\n        run: |\n          python tasks.py tests --group=\"$GROUP\"\n      # - name: Submit codecov report\n      #   run: |\n      #     codecov\n\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v2\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/make-sdist@v1\n\n  test_sdist:\n    runs-on: ubuntu-latest\n    needs: [make_sdist]\n    name: Install from SDist and Test\n    timeout-minutes: 20\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Remove node\n        run: |\n          sudo rm -rf $(which node)\n          sudo rm -rf $(which node)\n      - uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1\n        with:\n          package_spec: '--editable .\"[tests]\"'\n          test_command: python -m pytest -vv nbgrader/tests/api || python -m pytest -vv nbgrader/tests/api --lf\n", "state": "active", "repository": "jupyter/nbgrader"}
{"mined_at": "2024-07-15T12:54:24.368511", "created_at": "2022-11-16T09:13:44+01:00", "updated_at": "2023-07-18T13:06:13+02:00", "name": "Test extensions", "path": ".github/workflows/test-extensions.yml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions\n#\nname: Test extensions\n\non:\n  pull_request:\n    branches: [\"**\"]\n  push:\n    branches: [main, master]\n    tags: [\"**\"]\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  labextension-compatibility:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install node\n        uses: actions/setup-node@v3\n        with:\n          node-version: '18.x'\n      # NOTE: actions/setup-python@v2 can make use of a cache within the GitHub\n      #       Action virtual environment and setup extremely fast. 3.9 isn't\n      #       available in this cache as of November 2020.\n      - name: Install Python\n        uses: actions/setup-python@v2\n      - name: Install package\n        run: |\n          python -m pip install --upgrade pip wheel setuptools\n          pip install -e .\n          pip freeze\n      - name: Check compatibility\n        run: |\n          if [[ $(jupyter labextension list 2>&1 | grep '(python, nbgrader)' | grep ' X') ]]\n          then\n            echo \"Compatibility error\"\n            jupyter labextension list\n            exit 1\n          fi\n\n  ui-test:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 40\n\n    env:\n      # NOTE: UTF-8 content may be interpreted as ascii and causes errors\n      #       without this.\n      LANG: C.UTF-8\n      MOZ_HEADLESS: 1\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, ubuntu-22.04]\n        python: [\"3.10\", \"3.11\"]\n        group: [\"labextensions\", \"nbextensions\"]\n    steps:\n      # This is how you set an environment variable in a GitHub workflow that\n      # will be available in following steps as if you would used `export\n      # MY_ENV=my-value`.\n      - name: Configure environment variables from job flags\n        run: |\n          echo \"GROUP=${{ matrix.group }}\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Install node\n        uses: actions/setup-node@v3\n        with:\n          node-version: '18.x'\n      # NOTE: actions/setup-python@v2 can make use of a cache within the GitHub\n      #       Action virtual environment and setup extremely fast. 3.9 isn't\n      #       available in this cache as of November 2020.\n      - name: Install Python ${{ matrix.python }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip wheel setuptools\n          python tasks.py install --group=${{ matrix.group }}\n          pip freeze\n      - name: Install Playwright\n        run: |\n          npx playwright install\n      - name: Run playwright tests\n        run: |\n          python tasks.py tests --group=${{ matrix.group }}\n      - name: Upload Playwright Test report\n        if: always()\n        uses: actions/upload-artifact@v2\n        with:\n          name: nbgrader-uitests-${{ matrix.group }}-${{ matrix.os }}-python${{ matrix.python }}\n          path: |\n            playwright-report\n", "state": "active", "repository": "jupyter/nbgrader"}
{"mined_at": "2024-07-15T12:54:25.410070", "created_at": "2022-06-01T17:36:21+02:00", "updated_at": "2023-08-21T13:36:15+02:00", "name": "Test labextensions", "path": ".github/workflows/test-labextensions.yml", "contents": null, "state": "active", "repository": "jupyter/nbgrader"}
{"mined_at": "2024-07-15T12:54:27.484772", "created_at": "2022-05-16T16:09:40+02:00", "updated_at": "2022-05-16T16:09:40+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\npermissions:\n   contents: write\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Run isort check\n        uses: isort/isort-action@master\n        with:\n            configuration: \"--check-only --diff --profile black\"\n\n      - name: Run isort\n        if: failure()\n        uses: isort/isort-action@master\n        with:\n            configuration: \"--profile black\"\n\n      - name: Run black check\n        uses: psf/black@stable\n        with:\n          options: \"--check --diff\"\n\n      - name: Run black format\n        if: failure()\n        uses: psf/black@stable\n        with:\n          options: \"\"\n\n      - name: Commit isort+black format\n        if: failure()\n        uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: \"Apply black to code\"\n\n", "state": "active", "repository": "jsonpickle/jsonpickle"}
{"mined_at": "2024-07-15T12:54:28.606174", "created_at": "2021-07-03T21:40:06+02:00", "updated_at": "2021-07-03T21:40:06+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request]\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-22.04]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: Cache\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key:\n            ${{ matrix.os }}-${{ matrix.python-version }}-v1-${{\n            hashFiles('**/setup.py') }}\n          restore-keys: |\n            ${{ matrix.os }}-${{ matrix.python-version }}-v1-\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U \"tox>=4\"\n\n      - name: Install gmpy2 dependencies\n        if: matrix.python-version == '3.11'\n        run: |\n          sudo apt-get -y update\n          sudo apt-get install -y libmpfr-dev libmpc-dev\n\n      - name: Tox tests\n        run: |\n          tox run\n", "state": "active", "repository": "jsonpickle/jsonpickle"}
{"mined_at": "2024-07-15T12:54:30.649449", "created_at": "2020-12-15T17:25:09+01:00", "updated_at": "2020-12-15T17:25:09+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "---\nname: CI\n\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\"]\n  workflow_dispatch:\n\njobs:\n  tests:\n    name: \"Python ${{ matrix.python-version }}\"\n    runs-on: \"ubuntu-latest\"\n\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"pypy3.9\", \"pypy3.10\"]\n\n    steps:\n      - uses: \"actions/checkout@v3\"\n      - uses: \"actions/setup-python@v4\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n      - name: \"Install dependencies\"\n        run: |\n          set -xe\n          python -VV\n          python -m site\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install --upgrade virtualenv tox tox-gh-actions\n\n      - name: \"Run tox targets for ${{ matrix.python-version }}\"\n        run: \"python -m tox\"\n", "state": "active", "repository": "itamarst/eliot"}
{"mined_at": "2024-07-15T12:54:32.766192", "created_at": "2020-01-06T07:54:23+01:00", "updated_at": "2020-01-09T22:19:27+01:00", "name": "Code linting", "path": "", "contents": null, "state": "active", "repository": "ansible/galaxy"}
{"mined_at": "2024-07-15T12:54:33.786210", "created_at": "2022-12-19T14:00:11+01:00", "updated_at": "2022-12-21T04:20:42+01:00", "name": "Lint", "path": ".github/workflows/ci_lint.yml", "contents": "---\nname: Lint\non:\n  pull_request:\n    branches:\n      - '**'\n    paths-ignore:\n      - 'docs/**'\n  push:\n    branches:\n      - '**'\n  workflow_dispatch:\n\njobs:\n\n  linters:\n\n    # https://github.com/actions/setup-python/issues/355#issuecomment-1335042510\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.6\"\n\n      # https://stackoverflow.com/a/72611356\n      - name: downgrade setuptools\n        run: pip install setuptools~=57.5.0\n\n      - name: install requirements\n        run: pip install -r requirements/dev-requirements.txt\n\n      - name: python lint\n        run: make test/flake8\n\n      - name: yaml lint\n        run: make test/yamllint\n", "state": "active", "repository": "ansible/galaxy"}
{"mined_at": "2024-07-15T12:54:34.864576", "created_at": "2022-12-20T19:22:25+01:00", "updated_at": "2022-12-21T04:20:42+01:00", "name": "Unit", "path": ".github/workflows/ci_unit.yml", "contents": "---\nname: Unit\non:\n  pull_request:\n    branches:\n      - '**'\n    paths-ignore:\n      - 'docs/**'\n  push:\n    branches:\n      - '**'\n  workflow_dispatch:\n\njobs:\n\n  pytest:\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n\n      # - name: Update apt\n      #  run: sudo apt -y update\n\n      # - name: Install LDAP requirements\n      #  run: sudo apt-get install -y libsasl2-dev python3 libldap2-dev libssl-dev build-essential\n\n      # - name: Install docker-compose\n      #   run: pip3 install --upgrade docker-compose\n\n      - name: build the image\n        run: make dev/build\n\n      - name: start the containers\n        run: make dev/up_detached\n\n      - name: wait for stack to settle\n        run: sleep 360\n\n      - name: start the tests\n        run: make dev/test\n", "state": "active", "repository": "ansible/galaxy"}
{"mined_at": "2024-07-15T12:54:37.147156", "created_at": "2022-11-05T18:36:32+01:00", "updated_at": "2022-11-05T18:36:32+01:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release version'\n        required: true\n        default: '1.2.3'\n\njobs:\n\n  package:\n    runs-on: ubuntu-latest\n    env:\n      SETUPTOOLS_SCM_PRETEND_VERSION: ${{ github.event.inputs.version }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Build and Check Package\n      uses: hynek/build-and-inspect-python-package@v2.6\n\n  deploy:\n    needs: package\n    runs-on: ubuntu-latest\n    environment: deploy\n    permissions:\n      id-token: write  # For PyPI trusted publishers.\n      contents: write  # For tag.\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Download Package\n      uses: actions/download-artifact@v4\n      with:\n        name: Packages\n        path: dist\n\n    - name: Publish package to PyPI\n      uses: pypa/gh-action-pypi-publish@v1.8.14\n\n    - name: Push tag\n      run: |\n        git config user.name \"pytest bot\"\n        git config user.email \"pytestbot@gmail.com\"\n        git tag --annotate --message=v${{ github.event.inputs.version }} v${{ github.event.inputs.version }} ${{ github.sha }}\n        git push origin v${{ github.event.inputs.version }}\n\n    - name: GitHub Release\n      uses: softprops/action-gh-release@v2\n      with:\n        files: dist/*\n        tag_name: v${{ github.event.inputs.version }}\n", "state": "active", "repository": "pytest-dev/pytest-xdist"}
{"mined_at": "2024-07-15T12:54:38.128511", "created_at": "2022-11-05T16:19:22+01:00", "updated_at": "2022-11-05T18:36:32+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches:\n      - master\n      - \"test-me-*\"\n\n  pull_request:\n    branches:\n      - \"*\"\n\n# Cancel running jobs for the same workflow and branch.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  package:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Build and Check Package\n      uses: hynek/build-and-inspect-python-package@v2.6\n\n  test:\n\n    needs: [package]\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        tox_env:\n          - \"py38-pytestmin\"\n          - \"py38-pytestlatest\"\n          - \"py39-pytestlatest\"\n          - \"py310-pytestlatest\"\n          - \"py311-pytestlatest\"\n          - \"py311-pytestmain\"\n          - \"py312-pytestlatest\"\n          - \"py310-psutil\"\n          - \"py310-setproctitle\"\n\n        os: [ubuntu-latest, windows-latest]\n        include:\n          - tox_env: \"py38-pytestmin\"\n            python: \"3.8\"\n          - tox_env: \"py38-pytestlatest\"\n            python: \"3.8\"\n          - tox_env: \"py39-pytestlatest\"\n            python: \"3.9\"\n          - tox_env: \"py310-pytestlatest\"\n            python: \"3.10\"\n          - tox_env: \"py311-pytestlatest\"\n            python: \"3.11\"\n          - tox_env: \"py311-pytestmain\"\n            python: \"3.11\"\n          - tox_env: \"py312-pytestlatest\"\n            python: \"3.12\"\n          - tox_env: \"py310-psutil\"\n            python: \"3.10\"\n          - tox_env: \"py310-setproctitle\"\n            python: \"3.10\"\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        # Needed to fetch tags, which are required by setuptools-scm.\n        fetch-depth: 0\n\n    - name: Download Package\n      uses: actions/download-artifact@v4\n      with:\n        name: Packages\n        path: dist\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Install tox\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n\n    - name: Test\n      shell: bash\n      run: |\n        tox run -e ${{ matrix.tox_env }} --installpkg `find dist/*.tar.gz`\n", "state": "active", "repository": "pytest-dev/pytest-xdist"}
{"mined_at": "2024-07-15T12:54:40.297372", "created_at": "2021-09-26T15:09:16+02:00", "updated_at": "2021-09-26T15:09:16+02:00", "name": "CI", "path": ".github/workflows/test.yml", "contents": "---\nname: CI\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  lint:\n    name: Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Install requirements\n        run: pip install -r test-requirements.txt\n\n      - name: Lint with pycodestyle\n        run: pycodestyle --max-line-length=120 ansible\n\n  tests:\n    name: Tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - 3.9\n\n    steps:\n      - uses: \"actions/checkout@v2\"\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install requirements\n        run: pip install -r test-requirements.txt tox-gh-actions\n\n      - name: Run tox\n        run: tox\n\n  docs:\n    name: Documentation Tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Make docs\n        run: ./makedocs.sh\n", "state": "active", "repository": "terryhowe/ansible-modules-hashivault"}
{"mined_at": "2024-07-15T12:54:42.229698", "created_at": "2020-05-06T08:57:35+02:00", "updated_at": "2023-04-11T02:31:26+02:00", "name": "build-docs", "path": ".github/workflows/build-docs.yml", "contents": null, "state": "active", "repository": "opendatacube/datacube-core"}
{"mined_at": "2024-07-15T12:54:43.377667", "created_at": "2022-10-28T04:55:43+02:00", "updated_at": "2022-10-31T05:58:14+01:00", "name": "Doc QA", "path": ".github/workflows/doc-qa.yaml", "contents": "name: Doc QA\non:\n  # Triggers the workflow on pull request events for the main branch\n  pull_request:\n    branches:\n      - 'develop'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  pyspell:\n    runs-on: ubuntu-latest\n    steps:\n      # Spellcheck\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: igsekor/pyspelling-any@v1.0.4\n        name: Spellcheck\n\n  doctor-rst:\n    name: Lint (DOCtor-RST)\n    runs-on: ubuntu-latest\n    steps:\n      -   name: \"Checkout\"\n          uses: actions/checkout@v4\n\n      -   name: \"Create cache dir\"\n          run: mkdir .cache\n\n      -   name: \"Extract base branch name\"\n          run: echo \"branch=${GITHUB_BASE_REF:-${GITHUB_REF##*/}}\"\n          id: extract_base_branch\n\n      -   name: \"Cache DOCtor-RST\"\n          uses: actions/cache@v4\n          with:\n              path: .cache\n              key: ${{ runner.os }}-doctor-rst-${{ steps.extract_base_branch.outputs.branch }}\n\n      -   name: \"Run DOCtor-RST\"\n          uses: docker://oskarstark/doctor-rst:1.23.0\n          with:\n              args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache\n\n  documentation-preview:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: readthedocs/actions/preview@v1\n        with:\n          project-slug: \"datacube-core\"\n", "state": "active", "repository": "opendatacube/datacube-core"}
{"mined_at": "2024-07-15T12:54:44.470032", "created_at": "2022-06-29T01:01:38+02:00", "updated_at": "2022-07-01T05:11:06+02:00", "name": "lint", "path": ".github/workflows/lint.yaml", "contents": "name: lint\n\non:\n  pull_request:\n    paths:\n      - '**'\n\n  push:\n    paths:\n      - '**'\n      - '!.github/**'\n      - '.github/workflows/lint.yaml'\n      - '!docker/**'\n      - '!docs/**'\n      - '!contrib/**'\n\njobs:\n  pylint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n    name: Pylint\n    steps:\n      - name: checkout git\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup conda\n        uses: s-weigand/setup-conda@v1\n        with:\n          update-conda: true\n          python-version: ${{ matrix.python-version }}\n          conda-channels: anaconda, conda-forge\n      - name: run pylint\n        run: |\n          sudo apt-get remove python3-openssl\n          pip install --upgrade -e '.[test]'\n          pylint -j 2 --reports no datacube\n\n\n  pycodestyle:\n    name: pycodestyle\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup conda\n        uses: s-weigand/setup-conda@v1\n        with:\n          update-conda: true\n          python-version: ${{ matrix.python-version }}\n          conda-channels: anaconda, conda-forge\n      - name: Run pycodestyle\n        run: |\n          sudo apt-get remove python3-openssl\n          pip install --upgrade -e '.[test]'\n          pycodestyle tests integration_tests examples --max-line-length 120\n", "state": "active", "repository": "opendatacube/datacube-core"}
{"mined_at": "2024-07-15T12:54:45.514367", "created_at": "2019-12-19T02:12:59+01:00", "updated_at": "2023-05-03T07:32:44+02:00", "name": "build", "path": ".github/workflows/main.yml", "contents": "name: build\n\non:\n  pull_request:\n    paths:\n      - '**'\n\n  push:\n    paths:\n      - '**'\n      - '!docs/**'\n      - '!contrib/**'\n\n  workflow_dispatch:\n  \nenv:\n  DOCKER_USER: gadockersvc\n  DOCKER_IMAGE: opendatacube/datacube-tests:latest\n\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n\n    - name: Config\n      id: cfg\n      run: |\n        push_test_pypi=no\n        push_pypi=no\n\n        if [[ \"${GITHUB_REF}\" =~ refs/tags/.* ]]; then\n          echo \"push_test_pypi=yes\" >> $GITHUB_OUTPUT\n          echo \"push_pypi=yes\" >> $GITHUB_OUTPUT\n        fi\n\n    - uses: dorny/paths-filter@v3\n      id: changes\n      if: |\n        github.event_name == 'push'\n      with:\n        filters: |\n          docker:\n            - 'docker/**'\n\n    - name: Pull Docker\n      if: steps.changes.outputs.docker == 'false'\n      run: |\n        docker pull \"${{ env.DOCKER_IMAGE }}\"\n\n    - name: Set up Docker Buildx\n      if: steps.changes.outputs.docker == 'true'\n      uses: docker/setup-buildx-action@v3\n\n    - name: Cache Docker layers\n      if: steps.changes.outputs.docker == 'true'\n      uses: pat-s/always-upload-cache@v3.0.11\n      with:\n        path: /tmp/.buildx-cache\n        key: ${{ runner.os }}-buildx-${{ github.sha }}\n        restore-keys: |\n          ${{ runner.os }}-buildx-\n\n    - name: DockerHub Login\n      id: login\n      if: |\n        github.event_name == 'push'\n        && github.ref == 'refs/heads/develop'\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKERHUBUSER }}\n        password: ${{ secrets.DOCKERHUBPASSWD }}\n\n    - name: Build Docker\n      uses: docker/build-push-action@v6\n      with:\n        file: docker/Dockerfile\n        context: .\n        tags: ${{ env.DOCKER_IMAGE }}\n        load: true\n\n    - name: Verify and Run Tests\n      run: |\n        echo \"Verify that twine is installed\"\n        docker run --rm opendatacube/datacube-tests:latest twine --version\n\n        echo \"Run tests\"\n        cat <<EOF | docker run --rm -i -v $(pwd):/code ${{ env.DOCKER_IMAGE }} bash -\n          pip install -e /code/tests/drivers/fail_drivers --no-deps\n          pip install -e /code/examples/io_plugin --no-deps\n\n          pytest -r a \\\n            --cov datacube \\\n            --cov-report=xml \\\n            --doctest-ignore-import-errors \\\n            --durations=5 \\\n            datacube \\\n            tests \\\n            integration_tests\n        EOF\n\n    - name: DockerHub Push\n      if: |\n        github.event_name == 'push'\n        && github.ref == 'refs/heads/develop'\n        && steps.changes.outputs.docker == 'true'\n      uses: docker/build-push-action@v6\n      with:\n        file: docker/Dockerfile\n        context: .\n        push: true\n        tags: ${{ env.DOCKER_IMAGE }}\n\n    - name: Build Packages\n      run: |\n        cat <<EOF | docker run --rm -i  \\\n                  -v $(pwd):/code \\\n                  -e SKIP_DB=yes \\\n                  ${{ env.DOCKER_IMAGE }} bash -\n        python setup.py bdist_wheel sdist\n        ls -lh ./dist/\n        twine check ./dist/*\n        EOF\n\n    - name: Publish to Test PyPi\n      if: |\n        steps.cfg.outputs.push_test_pypi == 'yes'\n      run: |\n        if [ -n \"${TWINE_PASSWORD}\" ]; then\n          docker run --rm  \\\n            -v $(pwd):/code \\\n            -e SKIP_DB=yes \\\n            ${{ env.DOCKER_IMAGE }} \\\n            twine upload \\\n              --verbose \\\n              --non-interactive \\\n              --disable-progress-bar \\\n              --username=__token__ \\\n              --password=${TWINE_PASSWORD} \\\n              --repository-url=${TWINE_REPOSITORY_URL} \\\n              --skip-existing dist/* || true\n        else\n           echo \"Skipping upload as 'TestPyPiToken' is not set\"\n        fi\n      env:\n        TWINE_PASSWORD: ${{ secrets.TestPyPiToken }}\n        TWINE_REPOSITORY_URL: 'https://test.pypi.org/legacy/'\n\n    - name: Publish to PyPi\n      if: |\n        github.event_name == 'push'\n        && steps.cfg.outputs.push_pypi == 'yes'\n      run: |\n        if [ -n \"${TWINE_PASSWORD}\" ]; then\n          docker run --rm  \\\n            -v $(pwd):/code \\\n            -e SKIP_DB=yes \\\n            ${{ env.DOCKER_IMAGE }} \\\n            twine upload \\\n              --verbose \\\n              --non-interactive \\\n              --disable-progress-bar \\\n              --username=__token__ \\\n              --password=${TWINE_PASSWORD} \\\n              --skip-existing dist/*\n        else\n           echo \"Skipping upload as 'PyPiToken' is not set\"\n        fi\n\n      env:\n        TWINE_PASSWORD: ${{ secrets.PyPiToken }}\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        file: ./coverage.xml\n        fail_ci_if_error: false\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "opendatacube/datacube-core"}
{"mined_at": "2024-07-15T12:54:46.526269", "created_at": "2021-08-17T02:48:13+02:00", "updated_at": "2021-08-17T02:48:13+02:00", "name": "Conda Smoke Test", "path": ".github/workflows/test-conda-build.yml", "contents": "name: Conda Smoke Test\non:\n  pull_request:\n    paths:\n      - '**'\n\n  push:\n    paths:\n      - '**'\n\njobs:\n  check-conda:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n          os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n          python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Cache conda\n        uses: actions/cache@v4\n        env:\n          # Increase this value to reset cache if setup.py has not changed\n          CACHE_NUMBER: 0\n        with:\n          path: ~/conda_pkgs_dir\n          key:\n            ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{\n            hashFiles('conda-environment.yml') }}\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          environment-file: conda-environment.yml\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version}}\n\n      - name: Bash\n        shell: bash -l {0}\n        run: |\n          pip install .\n          python --version\n          datacube --version\n          conda env export\n", "state": "active", "repository": "opendatacube/datacube-core"}
{"mined_at": "2024-07-15T12:54:48.556123", "created_at": "2019-12-19T16:26:01+01:00", "updated_at": "2019-12-19T16:26:01+01:00", "name": "Run Tests", "path": ".github/workflows/run_tests_ci.yml", "contents": "name: Run Tests \non: [push, pull_request]\n\njobs:\n  build-on-linux:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        pygame-ce-version: ['2.4.0']\n    steps:\n    - uses: actions/checkout@v4.1.1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        pygame-ce-version: ${{ matrix.pygame-ce-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install stringify\n        python -m pip install python-i18n\n        python -m pip install pytest\n        python -m pip install pytest-benchmark\n        python -m pip install pytest-cov\n        python -m pip install -q pygame-ce==${{ matrix.pygame-ce-version }}\n        python -m pip install . -U\n        sudo apt-get install xvfb\n        sudo apt-get install xclip\n        sudo apt-get install xsel\n    - name: Test with pytest\n      env:\n        SDL_VIDEODRIVER: dummy\n        SDL_AUDIODRIVER: disk\n      run: |\n        xvfb-run pytest --cov-report=xml --cov=pygame_gui tests/\n    - name: Upload to Code Cov\n      uses: codecov/codecov-action@v4.3.0\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }} #required\n\n  build-on-windows:\n\n    runs-on: windows-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [ '3.11','3.12' ]\n        pygame-ce-version: [ '2.4.0' ]\n    steps:\n      - uses: actions/checkout@v4.1.1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          pygame-ce-version: ${{ matrix.pygame-ce-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install stringify\n          python -m pip install python-i18n\n          python -m pip install pytest\n          python -m pip install pytest-benchmark\n          python -m pip install pytest-cov\n          python -m pip install -q pygame-ce==${{ matrix.pygame-ce-version }}\n          python -m pip install . -U\n      - name: Test with pytest\n        env:\n          SDL_VIDEODRIVER: dummy\n          SDL_AUDIODRIVER: disk\n        run: |\n          pytest --cov-report=xml --cov=pygame_gui tests/\n      - name: Upload to Code Cov\n        uses: codecov/codecov-action@v4.3.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }} #required\n\n  build-on-mac:\n\n    runs-on: macos-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [ '3.11', '3.12' ]\n        pygame-ce-version: [ '2.3.2' ]\n    steps:\n      - uses: actions/checkout@v4.1.1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          pygame-ce-version: ${{ matrix.pygame-ce-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install stringify\n          python -m pip install python-i18n\n          python -m pip install pytest\n          python -m pip install pytest-benchmark\n          python -m pip install pytest-cov\n          python -m pip install -q pygame-ce==${{ matrix.pygame-ce-version }}\n          python -m pip install . -U\n      - name: Test with pytest\n        env:\n          SDL_VIDEODRIVER: dummy\n          SDL_AUDIODRIVER: disk\n        run: |\n          pytest --cov-report=xml --cov=pygame_gui tests/\n      - name: Upload to Code Cov\n        uses: codecov/codecov-action@v4.3.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }} #required\n", "state": "active", "repository": "myremylar/pygame_gui"}
{"mined_at": "2024-07-15T12:54:49.533969", "created_at": "2023-01-27T20:57:40+01:00", "updated_at": "2023-01-27T20:57:40+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "myremylar/pygame_gui"}
{"mined_at": "2024-07-15T12:54:51.656139", "created_at": "2021-08-02T16:08:28+02:00", "updated_at": "2021-08-02T16:16:22+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push]\n\njobs:\n  test:\n    name: Test\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip setuptools types-setuptools wheel\n        pip install tox\n    - name: Run tox\n      run: tox\n  release:\n    name: Release\n    needs: [test]\n    runs-on: ubuntu-latest\n    if: startsWith(github.ref, 'refs/tags')\n    permissions:\n      # required to authenticate for the PyPi upload below\n      id-token: write\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install wheel\n      - name: Build\n        run: python setup.py sdist bdist_wheel\n      - name: Upload to pypi\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "hearthsim/python-hearthstone"}
{"mined_at": "2024-07-15T12:54:53.588378", "created_at": "2024-02-22T00:30:05+01:00", "updated_at": "2024-02-22T00:30:05+01:00", "name": "build-linux", "path": ".github/workflows/build-linux.yml", "contents": "name: build-linux\n\non:\n  push:\n    branches: master\n  # To be able to trigger a manual build\n  workflow_dispatch: \n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    env:\n      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} \n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n\n      - name: Install Miniconda (Python ${{ matrix.python-version }})\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n          activate-environment: pyani-github\n          auto-activate-base: false\n          channels: defaults,bioconda,conda-forge\n          channel-priority: flexible\n\n      - name: Check Miniconda Installation\n        run: |\n          conda info\n          conda list\n\n      - name: Install pip\n        run: python -m pip install --upgrade pip\n\n      - name: Install Development Requirements\n        run: conda install --file requirements-dev.txt -y\n\n      - name: Install Requirements\n        run: conda install --file requirements.txt -y\n\n      - name: Install third-party tools\n        run: conda install --file requirements-thirdparty-linux.txt -y\n\n      - name: Install and Check FastANI\n        run: |\n          conda install --file requirements-fastani-linux.txt -y\n          fastANI -h\n\n      - name: Install PyQT\n        run: conda install --file requirements-pyqt-conda.txt -y\n\n      - name: Install pip requirements\n        run: pip install -r requirements-pip.txt\n\n      - name: Install pyani\n        run: pip install -e .\n\n      - name: Check pytest modules\n        run: python -m pytest -v --collect-only\n\n      - name: Run Tests with pytest\n        run: python -m pytest -v --cov=pyani --cov-report=xml:.coverage-linux-${{ matrix.python-version }}.xml\n\n      - name: Store coverage Results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-coverage-linux-${{ matrix.python-version }}\n          path: .coverage-linux-${{ matrix.python-version }}.xml\n          retention-days: 3\n        if: ${{ always() }}\n\n      - name: Codacy Coverage Reporter\n        uses: codacy/codacy-coverage-reporter-action@v1\n        with:\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          coverage-reports: .coverage-linux-${{ matrix.python-version }}.xml\n        if: ${{ always() }}\n\n      - name: Codecov Coverage Report\n        uses: codecov/codecov-action@v3\n        with:\n          fail_ci_if_error: true # optional (default = false)\n          files: .coverage-linux-${{ matrix.python-version }}.xml # optional\n          name: codecov-umbrella-linux-${{ matrix.python-version }}.xml # optional\n          token: ${{ secrets.CODECOV_TOKEN }} # required\n          verbose: true # optional (default = false)\n        if: ${{ always() }}\n", "state": "active", "repository": "widdowquinn/pyani"}
{"mined_at": "2024-07-15T12:54:54.595581", "created_at": "2024-02-22T00:30:05+01:00", "updated_at": "2024-02-22T00:41:53+01:00", "name": "build-macos", "path": ".github/workflows/build-macos.yml", "contents": "name: build-macos\n\non:\n  push:\n    branches: master\n  # To be able to trigger a manual build\n  workflow_dispatch: \n\njobs:\n  build:\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    env:\n      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} \n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n\n      - name: Install Miniconda (Python ${{ matrix.python-version }})\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n          activate-environment: pyani-github\n          auto-activate-base: false\n          channels: defaults,bioconda,conda-forge\n          channel-priority: flexible\n\n      - name: Check Miniconda Installation\n        run: |\n          conda info\n          conda list\n\n      - name: Install pip\n        run: python -m pip install --upgrade pip\n\n      - name: Install Development Requirements\n        run: conda install --file requirements-dev.txt -y\n\n      - name: Install Requirements\n        run: conda install --file requirements.txt -y\n\n      - name: Install third-party tools\n        run: conda install --file requirements-thirdparty-macos.txt -y\n\n      - name: Install and Check FastANI\n        run: |\n          conda install --file requirements-fastani-macos.txt -y\n          fastani -h\n\n      - name: Install PyQT\n        run: conda install --file requirements-pyqt-conda.txt -y\n\n      - name: Install pip requirements\n        run: pip install -r requirements-pip.txt\n\n      - name: Install pyani\n        run: pip install -e .\n\n      - name: Check pytest modules\n        run: python -m pytest -v --collect-only\n\n      - name: Run Tests with pytest\n        run: python -m pytest -v --cov=pyani --cov-report=xml:.coverage-macos-${{ matrix.python-version }}.xml\n\n      - name: Store coverage results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-coverage-macos-${{ matrix.python-version }}\n          path: .coverage-macos-${{ matrix.python-version }}.xml\n          retention-days: 3\n        if: ${{ always() }}\n\n      - name: Codacy Coverage Reporter\n        uses: codacy/codacy-coverage-reporter-action@v1\n        with:\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          coverage-reports: .coverage-macos-${{ matrix.python-version }}.xml\n        if: ${{ always() }}\n\n      - name: Codecov Coverage Report\n        uses: codecov/codecov-action@v3\n        with:\n          fail_ci_if_error: true # optional (default = false)\n          files: .coverage-macos-${{ matrix.python-version }}.xml # optional\n          name: codecov-umbrella-macos-${{ matrix.python-version }}.xml # optional\n          token: ${{ secrets.CODECOV_TOKEN }} # required\n          verbose: true # optional (default = false)\n        if: ${{ always() }}\n", "state": "active", "repository": "widdowquinn/pyani"}
{"mined_at": "2024-07-15T12:54:55.588617", "created_at": "2021-12-17T05:11:11+01:00", "updated_at": "2021-12-17T05:11:11+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "widdowquinn/pyani"}
{"mined_at": "2024-07-15T12:54:57.564275", "created_at": "2020-11-04T12:19:18+01:00", "updated_at": "2020-11-04T12:19:18+01:00", "name": "Publish Website", "path": ".github/workflows/publish-website.yml", "contents": "name: Publish Website\non:\n  push:\n    branches:\n      - master\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - run: python -m pip install --upgrade pip\n      - run: pip install mkdocs-material\n      - run: pip install . --user\n      - run: python docs/autogenerate_documentation.py\n      - run: |\n          cd docs/\n          mkdocs gh-deploy --force\n", "state": "active", "repository": "oarriaga/paz"}
{"mined_at": "2024-07-15T12:54:58.565297", "created_at": "2020-06-10T15:58:45+02:00", "updated_at": "2022-03-02T08:02:40+01:00", "name": "Unit testing", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Unit testing\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest\n        pip install . --user\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pytest tests/\n", "state": "active", "repository": "oarriaga/paz"}
{"mined_at": "2024-07-15T12:54:59.574808", "created_at": "2020-10-29T15:53:56+01:00", "updated_at": "2023-06-10T15:39:23+02:00", "name": "PyPI package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: PyPI package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: ${{ secrets.PYPI_USERNAME }}\n        password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "oarriaga/paz"}
{"mined_at": "2024-07-15T12:55:00.584051", "created_at": "2022-01-14T11:10:05+01:00", "updated_at": "2022-01-14T11:10:05+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "oarriaga/paz"}
{"mined_at": "2024-07-15T12:55:02.643741", "created_at": "2021-01-26T21:31:32+01:00", "updated_at": "2021-01-26T23:38:37+01:00", "name": "build", "path": ".github/workflows/cd.yml", "contents": "name: build\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - \"*\"\n    branches:\n      - master\n      - develop\n      - \"release/*\"\n      - \"hotfix/*\"\n  pull_request:\n  release:\n    types:\n      - published\n\njobs:\n  dist:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n\n      - name: Build SDist and wheel\n        run: pipx run --spec build pyproject-build\n\n      - name: Check metadata\n        run: pipx run twine check dist/*\n\n      - uses: actions/upload-artifact@v4\n        with:\n          path: dist/*\n  publish:\n    needs: [ dist ]\n    environment: pypi\n    permissions:\n      id-token: write\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "zfit/zfit"}
{"mined_at": "2024-07-15T12:55:03.850642", "created_at": "2021-01-26T20:40:18+01:00", "updated_at": "2021-09-06T16:49:56+02:00", "name": "tests", "path": ".github/workflows/ci.yml", "contents": "name: tests\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - \"*\"\n    branches:\n      - main\n      - develop\n      - \"release/*\"\n      - \"hotfix/*\"\n  pull_request:\n    branches-ignore:\n      - \"docs/*\"\n      - \"doc/*\"\n\njobs:\n  unittests:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 200 # for eager mode\n    name: tests on ${{ matrix.os }} with ${{ matrix.python-version }} compiled = ${{ matrix.use-graph }}\n    env:\n      ZFIT_DO_JIT: ${{ matrix.use-graph }}\n    strategy:\n      max-parallel: 15\n      fail-fast: False\n      matrix:\n        use-graph: [ 1 ]\n        python-version: [ \"3.9\", \"3.11\", \"3.12\"]  # omit \"3.10\" to save compute time\n        os: [ ubuntu-latest ]\n        extras: [ alldev ]\n        include:\n          - os: ubuntu-latest\n            extras: alldev\n            python-version: \"3.12\"\n            use-graph: 0\n          - os: macos-latest\n            python-version: \"3.12\"\n            use-graph: 1\n            extras: alldev\n          - os: windows-latest\n            python-version: \"3.12\"\n            use-graph: 1\n            extras: alldev\n          - os: macos-14  # Apple silicon runner\n            python-version: '3.12'\n            use-graph: 1\n            extras: alldev\n\n    steps:\n      - name: Get number of CPU cores\n        uses: SimenB/github-actions-cpu-cores@v2\n        id: cpu-cores\n#      - run: echo \"ZFIT_HALF_NCORES=$((steps.cpu-cores.outputs.count))\" >> $GITHUB_ENV  # todo: set number of cores a bit lower, memory?\n#        id: set-ncpus\n      - uses: actions/checkout@v4\n      - name: Get history and tags for SCM versioning to work\n        run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n      - uses: actions/setup-python@v5\n        name: Set up Python ${{ matrix.python-version }}\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"::set-output name=dir::$(pip cache dir)\"\n      - name: pip cache\n        uses: actions/cache@v4.0.2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-pip-${{ hashFiles('**/requirements_dev.txt') }}-pip-${{ hashFiles('**/pyproject.toml') }}-pip-${{ hashFiles('**/setup.cfg') }}-pip-${{ hashFiles('**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install coverage-lcov pytest-xdist pytest-cov\n          pip install .[${{ matrix.extras }}]\n      - name: Test with pytest\n        run: |\n          pytest --cov=. --cov-config=pyproject.toml -n2 --cov-report=xml --cov-report=term-missing\n\n#          pytest --cov=. --cov-config=pyproject.toml -n auto --cov-report=xml --cov-report=term-missing  # logical number of cpus, falls back to auto\n  #               TODO: fails on windows? add again above pytest?\n  #          if [ \"$GITHUB_REF\" == 'refs/heads/develop' ]; then\n  #            echo \"PYTEST_ADDOPTS=--longtests-kde --longtests\" >> \"$GITHUB_ENV\"\n  #          fi\n#           convert to lcov format\n#          mkdir coverage && coverage-lcov --output_file_path ./coverage/lcov.info\n  #      # TODO(jonas): fix coverage report? Needs converter to lcov format\n  #      - name: Coveralls Parallel\n  #        uses: coverallsapp/github-action@v2.3.0\n  #        with:\n  #          github-token: ${{ secrets.github_token }}\n  #          flag-name: run-${{ matrix.use-graph }}-${{ matrix.python-version }}-ubuntu\n  #          parallel: true\n  docs:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    strategy:\n      matrix:\n        python-version: [ \"3.12\" ]\n    name: Testbuild docs\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get history and tags for SCM versioning to work\n        run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n      - uses: actions/setup-python@v5\n        name: Set up Python ${{ matrix.python-version }}\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"::set-output name=dir::$(pip cache dir)\"\n      - name: pip cache\n        uses: actions/cache@v4.0.2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-pip-${{ hashFiles('**/requirements_dev.txt') }}-pip-${{ hashFiles('**/pyproject.toml') }}-pip-${{ hashFiles('**/setup.cfg') }}-pip-${{ hashFiles('**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install dependencies\n        run: |\n          python -m pip install uv\n          pip install --ignore-requires-python .[docs]\n      - name: Build the docs, check for failure\n        run: |\n          bash utils/ci/testbuild_docs.sh\n\n  tutorials:\n    runs-on: ubuntu-latest\n    timeout-minutes: 150  # eager mode takes some time\n    strategy:\n      max-parallel: 8\n      fail-fast: False\n      matrix:\n        use-graph: [ 1 ]\n        python-version: [ \"3.9\", \"3.12\" ]\n        include:\n          - os: ubuntu-latest\n            extras: alldev-linux\n            python-version: \"3.11\"\n            use-graph: 0\n    name: Run tutorials, Python ${{ matrix.python-version }}, compiled = ${{ matrix.use-graph }}\n    env:\n      ZFIT_DO_JIT: ${{ matrix.use-graph }}\n    steps:\n      - name: Get number of CPU cores\n        uses: SimenB/github-actions-cpu-cores@v2\n        id: cpu-cores\n      - uses: actions/checkout@v4\n      - name: Get history and tags for SCM versioning to work\n        run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n      - uses: actions/setup-python@v5\n        name: Set up Python ${{ matrix.python-version }}\n\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Clone Tutorials\n        run: |\n          git clone https://github.com/zfit/zfit-tutorials.git\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"::set-output name=dir::$(pip cache dir)\"\n      - name: pip cache\n        uses: actions/cache@v4.0.2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-pip-${{ hashFiles('**/requirements_dev.txt') }}-pip-${{ hashFiles('**/pyproject.toml') }}-pip-${{ hashFiles('**/setup.cfg') }}-pip-${{ hashFiles('**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install wheel\n          pip install -U .[all]\n          pip install nbval pytest-helpers-namespace pytest-xdist\n          pip install -r zfit-tutorials/requirements.txt\n          pip install -U --force-reinstall .[all]  # yep. Needed. Otherwise i.e. numpy needs to be upgraded\n\n      - name: Run notebooks\n        run: |\n          pytest --nbval-lax zfit-tutorials --dist loadscope --ignore=zfit-tutorials/experimental --ignore=zfit-tutorials/_unused --ignore=zfit-tutorials/_website -n${{ steps.cpu-cores.outputs.count }}\n  examples:\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    strategy:\n      max-parallel: 8\n      fail-fast: False\n      matrix:\n        use-graph: [ 1 ]\n        python-version: [ \"3.9\", \"3.11\" ]  # todo: upgrade to 3.12 if nlopt available for 3.12\n        include:\n          - os: ubuntu-latest\n            extras: alldev-linux\n            python-version: \"3.11\"\n            use-graph: 0\n    name: Run examples, Python ${{ matrix.python-version }}, compiled = ${{ matrix.use-graph }}\n    env:\n      ZFIT_DO_JIT: ${{ matrix.use-graph }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get history and tags for SCM versioning to work\n        run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n      - uses: actions/setup-python@v5\n        name: Set up Python ${{ matrix.python-version }}\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"::set-output name=dir::$(pip cache dir)\"\n      - name: pip cache\n        uses: actions/cache@v4.0.2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-pip-${{ hashFiles('**/requirements_dev.txt') }}-pip-${{ hashFiles('**/pyproject.toml') }}-pip-${{ hashFiles('**/setup.cfg') }}-pip-${{ hashFiles('**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Run examples\n        run: |\n          bash utils/ci/install_test_examples.sh\n\n  finish:\n    needs: unittests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Coveralls Finished\n        uses: coverallsapp/github-action@v2.3.0\n        with:\n          github-token: ${{ secrets.github_token }}\n          parallel-finished: true\n", "state": "active", "repository": "zfit/zfit"}
{"mined_at": "2024-07-15T12:55:04.974555", "created_at": "2022-02-16T22:51:29+01:00", "updated_at": "2022-02-16T22:51:29+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches: [ develop, master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ develop ]\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "zfit/zfit"}
{"mined_at": "2024-07-15T12:55:05.965463", "created_at": "2024-05-22T13:20:39+02:00", "updated_at": "2024-05-22T13:20:39+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "zfit/zfit"}
{"mined_at": "2024-07-15T12:55:09.115640", "created_at": "2023-07-25T21:55:57+02:00", "updated_at": "2023-07-25T23:41:48+02:00", "name": "Changelog check", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog check\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, synchronize, reopened]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  changelog:\n    name: Check changelog entry\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check change log entry\n      uses: scientific-python/action-check-changelogfile@865ff8154dd94f008f08de6bb8d8c1f661113658\n      env:\n        CHANGELOG_FILENAME: CHANGES.rst\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "astropy/pyvo"}
{"mined_at": "2024-07-15T12:55:10.228753", "created_at": "2023-08-09T20:33:44+02:00", "updated_at": "2023-08-09T21:28:18+02:00", "name": "CI-devtest", "path": ".github/workflows/ci_devtests.yml", "contents": "# This test job is separated out into its own workflow to be able to trigger separately\nname: CI-devtest\n\non:\n  push:\n    branches:\n    - main\n    - 'v*'\n    tags:\n    - '*'\n  pull_request:\n  schedule:\n    - cron: \"0 3 * * 6\"\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  devdeps:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install tox\n        run: python -m pip install --upgrade tox\n      - name: Run tests against dev dependencies\n        run: tox -e py312-test-devdeps-alldeps-cov\n\n      - name: Upload coverage to codecov\n        uses: codecov/codecov-action@v3\n        with:\n          file: ./coverage.xml\n          verbose: true\n", "state": "active", "repository": "astropy/pyvo"}
{"mined_at": "2024-07-15T12:55:11.287398", "created_at": "2023-08-09T20:33:44+02:00", "updated_at": "2023-08-09T21:28:18+02:00", "name": "CI", "path": ".github/workflows/ci_tests.yml", "contents": "# Developer version testing is in separate workflow\nname: CI\n\non:\n  push:\n    branches:\n    - main\n    - 'v*'\n    tags:\n    - '*'\n  pull_request:\n  schedule:\n    - cron: \"0 3 * * 6\"\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: py38 oldest dependencies, Linux\n            python-version: '3.8'\n            tox_env: py38-test-oldestdeps-alldeps\n          - name: py39 mandatory dependencies only, Linux\n            python-version: '3.9'\n            tox_env: py39-test\n          - name: py311 with online tests, Linux\n            python-version: '3.11'\n            tox_env: py311-test-alldeps-online\n          - name: linkcheck\n            python-version: '3.10'\n            tox_env: linkcheck\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install tox\n      run: python -m pip install --upgrade tox\n    - name: Install library dependencies and run Tests\n      run: tox -e ${{ matrix.tox_env }}\n\n  mac_windows:\n    runs-on: ${{ matrix.os }}\n    name: ${{ matrix.os }} py310\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest]\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: Install tox\n      run: python -m pip install --upgrade tox\n    - name: Python 3.10 with latest astropy\n      run: tox -e py310-test-alldeps\n\n\n  stylecheck:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install tox\n        run: python -m pip install --upgrade tox\n      - name: Check codestyle\n        run: tox -e codestyle\n", "state": "active", "repository": "astropy/pyvo"}
{"mined_at": "2024-07-15T12:55:12.300300", "created_at": "2023-08-08T23:56:21+02:00", "updated_at": "2023-08-08T23:56:21+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "astropy/pyvo"}
{"mined_at": "2024-07-15T12:55:14.398593", "created_at": "2023-04-10T19:39:38+02:00", "updated_at": "2023-04-10T19:39:38+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "ibm/ibm-cos-sdk-python"}
{"mined_at": "2024-07-15T12:55:15.509556", "created_at": "2022-06-21T16:37:52+02:00", "updated_at": "2022-06-21T16:37:52+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ibm/ibm-cos-sdk-python"}
{"mined_at": "2024-07-15T12:55:17.690171", "created_at": "2021-03-10T13:41:04+01:00", "updated_at": "2023-04-04T15:58:44+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\non:\n  workflow_dispatch:\n\n  push:\n    branches:\n      - master\n      - dev\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v3\n\n      - name: Checkout Spec Repo 'is-04'\n        uses: actions/checkout@v3\n        with:\n          repository: AMWA-TV/is-04\n          path: cache/is-04\n      - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n        working-directory: cache/is-04\n\n      - name: Checkout Spec Repo 'is-05'\n        uses: actions/checkout@v3\n        with:\n          repository: AMWA-TV/is-05\n          path: cache/is-05\n      - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n        working-directory: cache/is-05\n\n      - name: Checkout Spec Repo 'is-06'\n        uses: actions/checkout@v3\n        with:\n          repository: AMWA-TV/is-06\n          path: cache/is-06\n      - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n        working-directory: cache/is-06\n\n      - name: Checkout Spec Repo 'is-07'\n        uses: actions/checkout@v3\n        with:\n          repository: AMWA-TV/is-07\n          path: cache/is-07\n      - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n        working-directory: cache/is-07\n\n      - name: Checkout Spec Repo 'is-08'\n        uses: actions/checkout@v3\n        with:\n          repository: AMWA-TV/is-08\n          path: cache/is-08\n      - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n        working-directory: cache/is-08\n\n      - name: Checkout Spec Repo 'is-09'\n        uses: actions/checkout@v3\n        with:\n          repository: AMWA-TV/is-09\n          path: cache/is-09\n      - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n        working-directory: cache/is-09\n\n      - name: Checkout Spec Repo 'is-10'\n        uses: actions/checkout@v3\n        with:\n          repository: AMWA-TV/is-10\n          path: cache/is-10\n      - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n        working-directory: cache/is-10\n\n      - name: Checkout Spec Repo 'bcp-002-01'\n        uses: actions/checkout@v3\n        with:\n          repository: AMWA-TV/bcp-002-01\n          path: cache/bcp-002-01\n      - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n        working-directory: cache/bcp-002-01\n\n      - name: Checkout Spec Repo 'bcp-002-02'\n        uses: actions/checkout@v3\n        with:\n          repository: AMWA-TV/bcp-002-02\n          path: cache/bcp-002-02\n      - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n        working-directory: cache/bcp-002-02\n\n      - name: Checkout Spec Repo 'bcp-003-01'\n        uses: actions/checkout@v3\n        with:\n          repository: AMWA-TV/bcp-003-01\n          path: cache/bcp-003-01\n      - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n        working-directory: cache/bcp-003-01\n\n      - name: Checkout Spec Repo 'bcp-004-01'\n        uses: actions/checkout@v3\n        with:\n          repository: AMWA-TV/bcp-004-01\n          path: cache/bcp-004-01\n      - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n        working-directory: cache/bcp-004-01\n\n      - name: Checkout Spec Repo 'nmos-parameter-registers'\n        uses: actions/checkout@v3\n        with:\n          repository: AMWA-TV/nmos-parameter-registers\n          path: cache/nmos-parameter-registers\n      - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n        working-directory: cache/nmos-parameter-registers\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ${{ secrets.DOCKER_USERNAME }}/nmos-testing\n          tags: |\n            # Tag all builds with branch name and sha\n            type=sha,prefix=${{ github.ref_name }}-\n            # Tag if non-master branch with branch name and latest\n            type=raw,value=latest,prefix=${{ github.ref_name }}-,enable=${{ github.ref_name != 'master' }}\n            # Tag if master branch with latest (no branch name prefix)\n            type=raw,value=latest,enable=${{ github.ref_name == 'master' }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2.1.0\n        with:\n          platforms: all\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2.5.0\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2.1.0\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build\n        uses: docker/build-push-action@v4.0.0\n        with:\n          context: .\n          builder: ${{ steps.buildx.outputs.name }}\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n", "state": "active", "repository": "amwa-tv/nmos-testing"}
{"mined_at": "2024-07-15T12:55:18.754850", "created_at": "2021-03-04T19:29:01+01:00", "updated_at": "2021-03-04T19:29:01+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\non:\n  workflow_dispatch:\n\n  pull_request:\n\n  push:\n    branches:\n      - main\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Install Node.js\n        uses: actions/setup-node@v1\n        with:\n          node-version: '16.x'\n      - name: Setup for python lint\n        run: pip install flake8\n      - name: Lint python\n        run: flake8 . \n      - name: Setup for documentation lint\n        run: make -C .lint distclean build-tools\n      - name: Lint documentation\n        run: make -C .lint lint\n", "state": "active", "repository": "amwa-tv/nmos-testing"}
{"mined_at": "2024-07-15T12:55:19.839586", "created_at": "2021-03-04T20:00:58+01:00", "updated_at": "2021-03-04T20:00:58+01:00", "name": "Render", "path": ".github/workflows/render.yml", "contents": "name: Render\non:\n  workflow_dispatch:\n\n  push:\n    branches:\n        - main\n        - master\n        - 'publish-*'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    name: Build\n    steps:\n      - name: Use NMOS Render\n        uses: docker://amwa/nmos-render:latest\n        env:\n          SSH_HOST: ${{ secrets.SSH_HOST }}\n          SSH_USER: ${{ secrets.SSH_USER }}\n          SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}\n          SSH_KNOWN_HOSTS: ${{ secrets.SSH_KNOWN_HOSTS }}\n", "state": "active", "repository": "amwa-tv/nmos-testing"}
{"mined_at": "2024-07-15T12:55:21.872282", "created_at": "2023-10-13T19:02:43+02:00", "updated_at": "2023-10-13T19:50:26+02:00", "name": "Run Python Tests", "path": ".github/workflows/pullreqeust_tests.yaml", "contents": "name: Run Python Tests\non:\n  pull_request\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          pip --version\n          poetry --version\n          # Check if poetry lock file is current with pyproject.toml\n          poetry check --lock\n          poetry install --with=dev\n      - name: Run arxiv-base tests with coverage\n        run: poetry run pytest --cov=arxiv.base fourohfour --cov-fail-under=67 arxiv/base fourohfour\n      # - name: Check Types\n      # TODO The types are in bad shape and need to be fixed\n      #   run: poetry run mypy --exclude \"test*\" -p arxiv\n      - name: Run other tests\n        # These tests are split out because their coverage is low\n        run: poetry run pytest --cov=arxiv --cov-fail-under=25 arxiv\n      #- name: Check Doc Style\n      #  run: poetry run pydocstyle --convention=numpy --add-ignore=D401 arxiv\n      - name: Run App Tests\n        run: poetry run python tests/run_app_tests.py\n", "state": "active", "repository": "arxiv/arxiv-base"}
{"mined_at": "2024-07-15T12:55:23.980290", "created_at": "2024-05-25T06:44:27+02:00", "updated_at": "2024-06-16T07:31:58+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [ master]\n  pull_request:\n    branches: [ master]\n\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Create virtual environment\n        run: python -m venv venv\n\n      - name: Activate virtual environment\n        run: source venv/bin/activate\n\n      - name: Install dependencies\n        run: pip install -r requirements.txt && pip install -r tests/requirements.txt\n\n      - name: Run linter\n        run: pylint --output-format msvs --reports y ccmlib || true\n\n      - name: Run linter for tests\n        run: pylint --output-format msvs --reports y tests || true\n\n      - name: Run tests\n        run: |\n          pytest --junitxml=junit.xml tests\n\n      - name: Publish Test Report\n        uses: mikepenz/action-junit-report@v4\n        if: always()\n        with:\n          report_paths: 'junit.xml'\n          annotate_only: true\n", "state": "active", "repository": "riptano/ccm"}
{"mined_at": "2024-07-15T12:55:26.088546", "created_at": "2024-02-08T20:57:52+01:00", "updated_at": "2024-02-09T07:35:28+01:00", "name": "Python Formatting Check", "path": ".github/workflows/python-formatting.yml", "contents": "name: Python Formatting Check\n\non:\n  push:\n    branches:\n      - main\n      - master\n  pull_request:\n    branches:\n      - main\n      - master\n\njobs:\n  formatting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: Create virtual environment\n      run: python -m venv venv\n\n    - name: Install black\n      run: |\n        ./venv/bin/pip install --upgrade pip\n        ./venv/bin/pip install black\n\n    - name: Run formatting check\n      run: make ck-format\n", "state": "active", "repository": "internetarchive/brozzler"}
{"mined_at": "2024-07-15T12:55:27.264498", "created_at": "2024-07-02T17:58:42+02:00", "updated_at": "2024-07-02T17:58:42+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "internetarchive/brozzler"}
{"mined_at": "2024-07-15T12:55:29.354483", "created_at": "2021-08-23T10:26:10+02:00", "updated_at": "2021-08-23T11:36:04+02:00", "name": "Continuous Integration Tests", "path": ".github/workflows/ci.yaml", "contents": "name: Continuous Integration Tests\non:\n  push:\n    branches: [master, develop, github_actions]\n    paths-ignore:\n      - 'docs/**'\n  pull_request:\n    branches: [master, develop, github_actions]\n    paths-ignore:\n      - 'docs/**'\n  # Allows manual invocation:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n    - name: Install dependencies\n      run: |\n        sudo add-apt-repository --yes ppa:inkscape.dev/stable\n        sudo apt update\n        sudo apt install -y texlive-latex-base texlive-fonts-recommended texlive-lang-cyrillic cm-super\n        sudo apt install inkscape\n        # Needed for xmllint:\n        sudo apt install libxml2-utils\n        python -m pip install --upgrade pip\n        pip install flake8 pytest\n        # Needed by Inkscape extensions and image processing:\n        pip install lxml cssselect Pillow\n    - name: Test installation script\n      run: |\n        python test_installation_script.py 2> /dev/null\n        python setup.py\n        wget https://gitlab.com/inkscape/extensions/-/raw/master/inkex/tester/inkscape.extension.rng\n    - name: Perfom unit-tests\n      run: |\n        export PYTHONPATH=\"`inkscape --system-data-directory`/extensions:$HOME/.config/inkscape/extensions/\"\n        python -m pytest --verbose -s pytests\n        xmllint --noout --relaxng inkscape.extension.rng textext/textext.inx\n", "state": "active", "repository": "textext/textext"}
{"mined_at": "2024-07-15T12:55:30.495702", "created_at": "2021-12-27T14:13:03+01:00", "updated_at": "2021-12-27T14:13:03+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "textext/textext"}
{"mined_at": "2024-07-15T12:55:32.657959", "created_at": "2022-02-04T10:52:54+01:00", "updated_at": "2022-02-04T11:01:27+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n      - develop\n  pull_request:\n    branches:\n      - main\n      - develop\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.9\", \"3.10\", \"3.11\" ]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install Python ${{ matrix.py }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.py }}\n    - name: Get full Python version\n      shell: bash\n      run: echo {name}=$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\") >> $GITHUB_OUTPUT\n       #run: echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")\n    - name: Install dependencies\n      shell: bash\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -e .[test]\n    - name: Test with pytest\n      shell: bash\n      run: | \n        pip install pytest \n        pytest\n", "state": "active", "repository": "jmetal/jmetalpy"}
{"mined_at": "2024-07-15T12:55:33.675570", "created_at": "2022-02-06T15:56:42+01:00", "updated_at": "2022-02-06T15:56:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "jmetal/jmetalpy"}
{"mined_at": "2024-07-15T12:55:36.729200", "created_at": "2022-08-05T00:27:09+02:00", "updated_at": "2022-08-05T00:27:09+02:00", "name": "Autopublish to TestPyPi", "path": ".github/workflows/autopublish-testpypi.yml", "contents": "name: Autopublish to TestPyPi\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  publish:\n    name: Build, verify, & upload package\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.7\n\n      - name: Pip cache\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip\n          restore-keys: |\n            ${{ runner.os }}-pip\n\n      - name: Build, verify, and upload to TestPyPI\n        run: |\n          pip install --upgrade nox\n          nox -s build publish_testpypi\n        env:\n          TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}\n", "state": "active", "repository": "planetlabs/planet-client-python"}
{"mined_at": "2024-07-15T12:55:37.868333", "created_at": "2022-08-05T02:02:23+02:00", "updated_at": "2022-08-05T02:02:23+02:00", "name": "Publish to PyPi", "path": ".github/workflows/publish-pypi.yml", "contents": "name: Publish to PyPi\n\non:\n  workflow_dispatch:\n\njobs:\n  publish:\n    name: Build, verify, & upload package to PyPi\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.7\n\n      - name: Pip cache\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip\n          restore-keys: |\n            ${{ runner.os }}-pip\n\n      - name: Build, verify, and upload to TestPyPI\n        run: |\n          pip install --upgrade nox\n          nox -s build publish_pypi\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "planetlabs/planet-client-python"}
{"mined_at": "2024-07-15T12:55:38.899495", "created_at": "2022-07-29T16:14:28+02:00", "updated_at": "2022-07-29T19:35:35+02:00", "name": "Release to GitHub and PyPI", "path": ".github/workflows/release.yml", "contents": "name: Release to GitHub and PyPI\n\non:\n  workflow_dispatch:\n    inputs:\n      prerelease:\n        description: 'Is this a pre-release?'     \n        required: true\n        type: boolean\n\njobs:\n  package:\n    name: Build, verify, & upload package\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n\n      - name: Create GitHub Release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions.\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: ${{ github.ref }}\n          draft: false\n          prerelease: ${{ inputs.logLevel }}\n\n      - run: python -m pip install build twine check-wheel-contents\n      - run: python -m build --sdist --wheel .\n      - run: ls -l dist\n      - run: check-wheel-contents dist/*.whl\n\n      - name: Check long_description\n        run: python -m twine check dist/*\n\n      - name: Upload to TestPyPI\n        uses: pypa/gh-action-pypi-publish@v1.4.2\n        with:\n          repository_url: https://test.pypi.org/legacy/\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_PASSWORD }}\n\n      - name: Upload to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.4.2\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_PASSWORD }}", "state": "active", "repository": "planetlabs/planet-client-python"}
{"mined_at": "2024-07-15T12:55:39.906063", "created_at": "2021-03-05T00:07:00+01:00", "updated_at": "2022-04-28T21:49:02+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non: [pull_request]\n\njobs:\n  lint:\n    name: Check Linting\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Pip cache\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip\n        restore-keys: |\n          ${{ runner.os }}-pip\n    - name: Lint\n      run: |\n        pip install --upgrade nox\n        nox -s lint\n\n  analyze:\n    name: Analyze Typing \n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Pip cache\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip\n        restore-keys: |\n          ${{ runner.os }}-pip\n    - name: Lint\n      run: |\n        pip install --upgrade nox\n        nox -s analyze\n\n  test:\n    name: Test Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n    - name: Pip cache\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip\n        restore-keys: |\n          ${{ runner.os }}-pip\n    - name: Test\n      run: |\n        pip install --upgrade nox\n        nox -s test-${{ matrix.python-version }}\n\n  coverage:\n    name: Check code coverage\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Pip cache\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip\n        restore-keys: |\n          ${{ runner.os }}-pip\n    - name: Coverage run and report\n      run: |\n        pip install --upgrade nox\n        nox -s coverage\n\n  docs:\n    name: Check Docs build\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Pip cache\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip\n        restore-keys: |\n          ${{ runner.os }}-pip\n    - name: Build Docs\n      run: |\n        pip install --upgrade nox\n        nox -s docs\n\n\n", "state": "active", "repository": "planetlabs/planet-client-python"}
{"mined_at": "2024-07-15T12:55:40.913925", "created_at": "2022-11-04T04:45:59+01:00", "updated_at": "2022-11-04T04:45:59+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "planetlabs/planet-client-python"}
{"mined_at": "2024-07-15T12:55:44.218223", "created_at": "2021-05-11T18:39:24+02:00", "updated_at": "2021-05-11T18:48:36+02:00", "name": "push-artifact-to-circle-ci", "path": ".github/workflows/push-artifact-to-circleci.yml", "contents": "name: push-artifact-to-circle-ci\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\n# will be changed to on workflow_run\non:\n  workflow_run:\n    workflows: [\"docs\"]\n    branches-ignore: [\"master\"]\n    types:\n      - completed\n\njobs:\n  Push-Artifact-to-CircleCI:\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n    - name: Trigger CircleCI download and publication of HTML Doc Artifact\n      env:\n        EVENT_OBJ:  ${{ toJson(github.event) }}\n        COMMIT_SHA:  ${{ github.event.workflow_run.head_sha }}\n        REPO_NAME:  ${{ github.event.workflow_run.head_repository.full_name }}\n        CIRCLECI_TOKEN: ${{ secrets.CIRCLECI_TOKEN }}\n        RUN_ID: ${{github.event.workflow_run.id}}\n      run: |\n        echo \"github.event.workflow_run.head_sha\"\n        echo ${{ github.event.workflow_run.head_sha }}\n        echo \"github.event.workflow_run.head_repository.html_url\"\n        echo ${{ github.event.workflow_run.head_repository.html_url }}\n        echo \"RUN_ID\"\n        echo $RUN_ID\n        # Acquire the Pull Request Number from Github API\n        echo \"automated curl\"\n        PR_NUMBER=$(curl -H \"Accept: application/vnd.github.groot-preview+json\"   https://api.github.com/repos/$REPO_NAME/commits/$COMMIT_SHA/pulls 2>/dev/null | jq '.[0].number')\n        echo \"PR_NUMBER\"\n        echo $PR_NUMBER\n\n        # Use Pull Request Number to trigger pipeline on CircleCI which will just download artifact,\n        # unzip it and make it available for browsing\n        curl --request POST \\\n          --url https://circleci.com/api/v2/project/gh/braindecode/braindecode/pipeline \\\n          --header \"Circle-Token: $CIRCLECI_TOKEN\" \\\n          --header 'content-type: application/json' \\\n          --header 'x-attribution-actor-id: github_actions' \\\n          --header 'x-attribution-login: github_actions' \\\n          --data \\{\\\"branch\\\":\\\"pull/$PR_NUMBER/head\\\",\\\"parameters\\\":\\{\\\"github-artifact-url\\\":\\\"https://nightly.link/braindecode/braindecode/actions/runs/$RUN_ID/HTML-Docs.zip\\\"\\}\\}\n        # Just for debugging\n        echo \"EVENT_OBJ\"\n        echo $EVENT_OBJ\n", "state": "active", "repository": "braindecode/braindecode"}
{"mined_at": "2024-07-15T12:55:45.364054", "created_at": "2021-05-12T02:07:35+02:00", "updated_at": "2021-05-12T02:07:35+02:00", "name": ".github/workflows/link-to-doc.yaml", "path": ".github/workflows/link-to-doc.yaml", "contents": "on: [status]\njobs:\n  circleci_artifacts_redirector:\n    runs-on: ubuntu-latest\n    name: Run CircleCI artifacts redirector\n    steps:\n      - name: GitHub Action step\n        uses: larsoner/circleci-artifacts-redirector-action@master\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          api-token: ${{ secrets.CIRCLECI_TOKEN }}\n          artifact-path: 0/dev/index.html\n          circleci-jobs: fetch_docs_from_github\n          job-title: Check rendered doc here!\n", "state": "active", "repository": "braindecode/braindecode"}
{"mined_at": "2024-07-15T12:55:46.471446", "created_at": "2023-08-30T23:14:11+02:00", "updated_at": "2023-09-07T11:14:35+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\non:\n  push:\n    branches:\n      - \"master\"\n  pull_request:\n    branches:\n      - '*' # all branches, including forks\n\njobs:\n  build_docs:\n    runs-on: ubuntu-latest\n    steps:\n      ## Install Braindecode\n      - name: Checking Out Repository\n        uses: actions/checkout@v4\n      # Cache MNE Data\n      # The cache key here is fixed except for os\n      # so if you download a new mne dataset in the code, best to manually increment the key below\n      - name: Create/Restore MNE Data Cache\n        id: cache-mne_data\n        uses: actions/cache@v3\n        with:\n          path: ~/mne_data\n          key: ${{ runner.os }}-v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Show Python Version\n        run: python --version\n      # Update pip\n      - name: Update pip\n        run: pip install --upgrade pip\n      # Install with MOABB and docs dependencies\n      - name: Install with doc dependencies\n        run: pip install -e .[moabb,docs]\n      # Show Braindecode Version\n      - run: python -c \"import braindecode; print(braindecode.__version__)\"\n\n      - name: Checking Out Repository\n        uses: actions/checkout@v4\n      - name: Create Docs\n        run: |\n          cd docs\n          make html\n      - name: Upload HTML Docs as Artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: HTML-Docs\n          path: ./docs/_build/\n\n      - name: Deploy to Github Pages if on Master\n        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}\n          external_repository: braindecode/braindecode.github.io\n          destination_dir: dev\n          publish_branch: master\n          publish_dir: ./docs/_build/html\n          cname: braindecode.org\n", "state": "active", "repository": "braindecode/braindecode"}
{"mined_at": "2024-07-15T12:55:47.487291", "created_at": "2023-09-03T17:42:24+02:00", "updated_at": "2023-09-03T23:24:49+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\non:\n  push:\n    branches:\n      - \"master\"\n  pull_request:\n    branches:\n      - '*' # all branches, including forks\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ \"ubuntu-latest\", \"macos-latest\", \"windows-latest\" ]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n    ## Install Braindecode\n    - name: Checking Out Repository\n      uses: actions/checkout@v4\n    # Cache MNE Data\n    # The cache key here is fixed except for os\n    # so if you download a new mne dataset in the code, best to manually increment the key below\n    - name: Create/Restore MNE Data Cache\n      id: cache-mne_data\n      uses: actions/cache@v3\n      with:\n        path: ~/mne_data\n        key: ${{ runner.os }}-v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Show Python Version\n      run: python --version\n    # Update pip\n    - name: Update pip\n      run: python -m pip install --upgrade pip\n    - name: Install Braindecode from Current Checkout\n      run: pip install -e .[moabb,tests]\n    # Show Braindecode Version\n    - run: python -c \"import braindecode; print(braindecode.__version__)\"\n\n    ## Run Tests\n    - name: Run Tests # See https://stackoverflow.com/a/59959080/1469195 for the cov-report logic\n      run: pytest --cov=braindecode test/ --cov-report term --cov-report xml:coverage.xml\n    - name: Upload Coverage to Codecov\n      uses: codecov/codecov-action@v4\n      if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'}}\n      with:\n        fail_ci_if_error: true\n        file: ./coverage.xml\n        path_to_write_report: ./codecov_report.txt\n        env_vars: OS,PYTHON\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "braindecode/braindecode"}
{"mined_at": "2024-07-15T12:55:48.598238", "created_at": "2023-09-06T14:41:56+02:00", "updated_at": "2023-09-06T14:51:49+02:00", "name": "testsconda", "path": ".github/workflows/tests-conda.yml", "contents": null, "state": "active", "repository": "braindecode/braindecode"}
{"mined_at": "2024-07-15T12:55:49.741735", "created_at": "2023-09-10T14:50:36+02:00", "updated_at": "2023-09-10T14:50:36+02:00", "name": "Check Whats News Changes", "path": ".github/workflows/whats-new.yml", "contents": "name: Check Whats News Changes\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\non:\n  pull_request:\n    types: [ assigned, opened, synchronize, reopened, labeled, unlabeled ]\n    branches:\n      - '*'\njobs:\n  check-whats-news:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: tarides/changelog-check-action@v2\n        with:\n          changelog: docs/whats_new.rst\n", "state": "active", "repository": "braindecode/braindecode"}
{"mined_at": "2024-07-15T12:55:50.772199", "created_at": "2023-11-07T17:54:56+01:00", "updated_at": "2023-11-10T15:00:30+01:00", "name": "pre-commit-codestyle", "path": ".github/workflows/pre-commit.yaml", "contents": "name: pre-commit-codestyle\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\n\non: [pull_request]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n    - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "braindecode/braindecode"}
{"mined_at": "2024-07-15T12:55:52.820637", "created_at": "2021-02-17T09:24:00+01:00", "updated_at": "2021-02-17T09:24:00+01:00", "name": "packaging", "path": ".github/workflows/packaging.yml", "contents": "name: packaging\r\n\r\non:\r\n  # Make sure packaging process is not broken\r\n  push:\r\n    branches: [main, dev]\r\n  pull_request:\r\n  # Make a package for release\r\n  release:\r\n    types: [published]\r\n\r\njobs:\r\n  build:\r\n\r\n    runs-on: ubuntu-latest\r\n    strategy:\r\n      max-parallel: 4\r\n      matrix:\r\n        python-version: [\"3.10\"]\r\n\r\n    steps:\r\n    - uses: actions/checkout@v1\r\n    - name: Set up Python ${{ matrix.python-version }}\r\n      uses: actions/setup-python@v2\r\n      with:\r\n        python-version: ${{ matrix.python-version }}\r\n    - name: Install dependencies\r\n      run: |\r\n        python -m pip install --upgrade pip setuptools setuptools_scm twine wheel flit\r\n    - name: Create packages\r\n      run: python -m flit build\r\n    - name: Run twine check\r\n      run: twine check dist/*\r\n    - uses: actions/upload-artifact@v2\r\n      with:\r\n        name: tox-gh-actions-dist\r\n        path: dist\r\n", "state": "active", "repository": "oemof/tespy"}
{"mined_at": "2024-07-15T12:55:53.936846", "created_at": "2021-02-17T09:24:00+01:00", "updated_at": "2022-08-11T21:14:42+02:00", "name": "tox checks", "path": ".github/workflows/tox_checks.yml", "contents": "# NB: this name is used in the status badge\r\nname: tox checks\r\n\r\non:\r\n  push:\r\n    branches:\r\n      - main\r\n      - dev\r\n  pull_request:\r\n    branches:\r\n      - main\r\n      - dev\r\n  workflow_dispatch:\r\n  schedule:\r\n    - cron: \"0 5 * * 6\"  # 5:00 UTC every Saturday\r\n\r\njobs:\r\n  lint:\r\n    name: ${{ matrix.toxenv }}\r\n    runs-on: ubuntu-latest\r\n\r\n    strategy:\r\n      matrix:\r\n        toxenv:\r\n          - clean\r\n          - check\r\n          - docs\r\n\r\n    steps:\r\n      - name: Git clone\r\n        uses: actions/checkout@v2\r\n\r\n      - name: Set up Python ${{ env.default_python || '3.10' }}\r\n        uses: actions/setup-python@v2\r\n        with:\r\n          python-version: \"${{ env.default_python || '3.10' }}\"\r\n\r\n      - name: Pip cache\r\n        uses: actions/cache@v2\r\n        with:\r\n          path: ~/.cache/pip\r\n          key: ${{ runner.os }}-pip-${{ matrix.toxenv }}-${{ hashFiles('tox.ini', 'pyproject.toml') }}\r\n          restore-keys: |\r\n            ${{ runner.os }}-pip-${{ matrix.toxenv }}-\r\n            ${{ runner.os }}-pip-\r\n      - name: Install dependencies\r\n        run: |\r\n          python -m pip install -U pip\r\n          python -m pip install -U setuptools wheel\r\n          python -m pip install -U tox\r\n      - name: Run ${{ matrix.toxenv }}\r\n        run: python -m tox -e ${{ matrix.toxenv }}\r\n", "state": "active", "repository": "oemof/tespy"}
{"mined_at": "2024-07-15T12:55:55.135784", "created_at": "2021-02-17T09:24:00+01:00", "updated_at": "2021-02-17T09:24:00+01:00", "name": "tox pytests", "path": ".github/workflows/tox_pytest.yml", "contents": "name: tox pytests\r\n\r\non:\r\n  push:\r\n    branches:\r\n      - main\r\n      - dev\r\n  pull_request:\r\n    branches:\r\n      - main\r\n      - dev\r\n  workflow_dispatch:\r\n  schedule:\r\n    - cron: \"0 5 * * 6\"  # 5:00 UTC every Saturday\r\n\r\njobs:\r\n  build:\r\n    runs-on: ubuntu-latest\r\n    strategy:\r\n      matrix:\r\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\r\n\r\n    steps:\r\n    - uses: actions/checkout@v1\r\n    - name: Set up Python ${{ matrix.python-version }}\r\n      uses: actions/setup-python@v2\r\n      with:\r\n        python-version: ${{ matrix.python-version }}\r\n    - name: Install dependencies\r\n      run: |\r\n        python -m pip install --upgrade pip\r\n        pip install tox tox-gh-actions coverage coveralls\r\n    - name: Test with tox\r\n      run: tox\r\n\r\n    - name: Check test coverage\r\n      run: coverage report -m --fail-under=${{ matrix.vcs == 'bzr' && 84 || 85 }}\r\n\r\n    - name: Report to coveralls\r\n      run: coveralls\r\n      env:\r\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\r\n        COVERALLS_SERVICE_NAME: github\r\n", "state": "active", "repository": "oemof/tespy"}
{"mined_at": "2024-07-15T12:55:58.698350", "created_at": "2022-01-13T19:22:32+01:00", "updated_at": "2022-01-13T21:12:49+01:00", "name": "changelog", "path": ".github/workflows/changelog.yml", "contents": "name: changelog\non:\n  - pull_request\n\njobs:\n  check_has_news_in_changelog_dir:\n    if: |\n      ! (\n        contains(github.event.pull_request.labels.*.name, 'no-news-is-good-news') ||\n        github.event.pull_request.title == '[pre-commit.ci] pre-commit autoupdate'\n      )\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:  # do a deep fetch to allow merge-base and diff\n          fetch-depth: 0\n      - name: check PR adds a news file\n        run: |\n          news_files=\"$(git diff --name-only \"$(git merge-base origin/main \"$GITHUB_SHA\")\" \"$GITHUB_SHA\" -- changelog.d/*.rst)\"\n          if [ -n \"$news_files\" ]; then\n            echo \"Saw new files. changelog.d:\"\n            echo \"$news_files\"\n          else\n            echo \"No news files seen\"\n            exit 1\n          fi\n", "state": "active", "repository": "funcx-faas/funcx"}
{"mined_at": "2024-07-15T12:56:01.316262", "created_at": "2020-08-17T21:18:11+02:00", "updated_at": "2020-08-17T21:18:11+02:00", "name": "CI/CD", "path": ".github/workflows/ci.yaml", "contents": "name: CI/CD\n\non:\n  push:\n    branches:\n      - \"*\"\n    tags:\n      - \"*\"\n  pull_request:\n\njobs:\n  lint:\n    timeout-minutes: 5\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - name: install requirements\n        run: |\n          python -m pip install -U pip setuptools wheel\n          python -m pip install pre-commit tox\n      - name: run pre-commit\n        run: pre-commit run -a\n      - name: mypy (sdk)\n        run: |\n          cd compute_sdk\n          tox -e mypy\n      - name: mypy (endpoint)\n        run: |\n          cd compute_endpoint\n          tox -e mypy\n\n  # ensure docs can build, imitating the RTD build as best we can\n  check-docs:\n    timeout-minutes: 5\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: build docs\n        run: make docs\n\n  safety-check-endpoint:\n    timeout-minutes: 5\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: install requirements\n        run: |\n          python -m pip install -U pip setuptools\n          python -m pip install './compute_sdk' './compute_endpoint'\n          python -m pip install safety\n          rm -rf /opt/hostedtoolcache/Python/*/x64/lib/python3.*/site-packages/pip-23.{0,1,2}*\n      - name: run safety check\n        run: safety check\n\n  test-sdk:\n    timeout-minutes: 5\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    name: \"Test SDK on py${{ matrix.python-version }} x ${{ matrix.os }} \"\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - run: python -m pip install -U pip setuptools\n      - run: python -m pip install tox\n      - name: run tests\n        run: |\n          cd compute_sdk\n          tox -e py\n\n  test-endpoint:\n    timeout-minutes: 8\n    runs-on: ubuntu-latest\n    services:\n      rabbitmq:\n        image: rabbitmq\n        ports:\n          - 5672:5672\n        # needed because the rabbitmq container does not provide a healthcheck\n        options: --health-cmd \"rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_virtual_hosts && rabbitmq-diagnostics -q check_port_connectivity\" --health-interval 10s --health-timeout 5s --health-retries 5\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    name: \"Test Endpoint on py${{ matrix.python-version }} x ${{ matrix.os }} \"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - run: python -m pip install -U pip setuptools\n      - run: python -m pip install tox\n      - name: run tests\n        run: |\n          cd compute_endpoint\n          tox -e py -- --log-cli-level=ERROR\n      - name: Collect Docker Logs\n        if: failure()\n        uses: jwalton/gh-docker-logs@v2.2.2\n", "state": "active", "repository": "funcx-faas/funcx"}
{"mined_at": "2024-07-15T12:56:02.987763", "created_at": "2021-10-28T18:59:22+02:00", "updated_at": "2021-11-09T13:48:31+01:00", "name": "daily", "path": ".github/workflows/daily.yaml", "contents": "name: daily\non:\n  # build every day at 4:00 AM UTC\n  schedule:\n    - cron: '0 4 * * *'\n  workflow_dispatch:\n\nenv:\n  TARGET_PYTHON_VERSION: '3.11'\n\njobs:\n  smoke-test-staging:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: main\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '${{ env.TARGET_PYTHON_VERSION }}'\n    - run: |\n        python -m venv .venv\n        .venv/bin/python -m pip install --upgrade pip setuptools wheel\n        .venv/bin/python -m pip install tox\n    - name: run smoke tests (ECS staging)\n      env:\n        FUNCX_SMOKE_CLIENT_ID: ${{ secrets.API_CLIENT_ID }}\n        FUNCX_SMOKE_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET_STAGING }}\n        GLOBUS_SDK_ENVIRONMENT: \"staging\"\n      run: |\n        source .venv/bin/activate\n        cd smoke_tests\n        make staging\n\n  safety-check-sdk:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: main\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '${{ env.TARGET_PYTHON_VERSION }}'\n    - name: install requirements\n      run: |\n        python -m venv .venv\n        .venv/bin/python -m pip install --upgrade pip setuptools wheel\n        .venv/bin/python -m pip install './compute_sdk'\n        .venv/bin/python -m pip install safety\n    - name: run safety check\n      run: .venv/bin/safety check\n\n  safety-check-endpoint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: main\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '${{ env.TARGET_PYTHON_VERSION }}'\n    - name: install requirements\n      run: |\n        python -m venv .venv\n        .venv/bin/python -m pip install --upgrade pip setuptools wheel\n        .venv/bin/python -m pip install './compute_endpoint'\n        .venv/bin/python -m pip install safety\n    - name: run safety check\n      run: .venv/bin/safety check\n\n  slack-notify:\n    needs:\n      - smoke-test-staging\n      - safety-check-sdk\n      - safety-check-endpoint\n    if: always()\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '${{ env.TARGET_PYTHON_VERSION }}'\n      - run: python -m pip install --upgrade requests\n      - name: notify slack\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n          SLACK_CHANNEL: '#commits'\n          SLACK_MESSAGE_TITLE: 'Daily Smoke Tests on Staging'\n          SLACK_FAILURE_MESSAGE: 'Daily test failed on staging'\n        run: ./.github/_support/github-slack-notify.py ${{ needs.smoke-test-staging.result }}\n", "state": "active", "repository": "funcx-faas/funcx"}
{"mined_at": "2024-07-15T12:56:04.509969", "created_at": "2021-10-22T18:10:20+02:00", "updated_at": "2021-10-22T18:10:20+02:00", "name": "hourly", "path": ".github/workflows/hourly.yaml", "contents": "name: hourly\n\non:\n  schedule:\n    - cron: \"0 * * * *\"\n  workflow_dispatch:\n    inputs:\n      tags:\n        required: false\n        description: \"manual test\"\n\njobs:\n  smoke-test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: main\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - run: python -m pip install -U pip setuptools\n    - run: python -m pip install tox\n    - name: Run smoke tests to check liveness of hosted services\n      env:\n        FUNCX_SMOKE_CLIENT_ID: ${{ secrets.API_CLIENT_ID }}\n        FUNCX_SMOKE_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET }}\n      run: |\n        cd smoke_tests\n        make prod\n\n  slack-notify:\n    needs: [smoke-test]\n    if: always()\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - run: python -m pip install -U requests\n      - name: notify slack\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n          SLACK_CHANNEL: '#commits'\n          SLACK_MESSAGE_TITLE: 'Hourly Automated Tests'\n          SLACK_FAILURE_MESSAGE: '@channel - Hourly run failed'\n        run: ./.github/_support/github-slack-notify.py ${{ needs.smoke-test.result }}\n", "state": "active", "repository": "funcx-faas/funcx"}
{"mined_at": "2024-07-15T12:56:05.845098", "created_at": "2021-10-05T22:36:45+02:00", "updated_at": "2021-10-06T00:14:10+02:00", "name": "smoke_test", "path": ".github/workflows/smoke_test.yaml", "contents": "name: smoke_test\n\non:\n  push:\n    paths:\n      - 'smoke_tests/**'\n    branches:\n      - \"*\"\n    tags:\n      - \"*\"\n  pull_request:\n    paths:\n      - 'smoke_tests/**'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - run: python -m pip install -U pip setuptools\n    - run: python -m pip install tox\n    - name: Run smoke tests (localdeps)\n      env:\n        FUNCX_SMOKE_CLIENT_ID: ${{ secrets.API_CLIENT_ID }}\n        FUNCX_SMOKE_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET }}\n      run: |\n        cd smoke_tests\n        tox -e localdeps\n", "state": "active", "repository": "funcx-faas/funcx"}
{"mined_at": "2024-07-15T12:56:07.171200", "created_at": "2021-04-22T20:50:31+02:00", "updated_at": "2021-12-07T21:09:14+01:00", "name": "tutorial_test", "path": ".github/workflows/tutorial.yaml", "contents": null, "state": "active", "repository": "funcx-faas/funcx"}
{"mined_at": "2024-07-15T12:56:09.240945", "created_at": "2022-03-09T20:41:47+01:00", "updated_at": "2022-04-07T23:03:24+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [master, dev]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n    - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "amccaugh/phidl"}
{"mined_at": "2024-07-15T12:56:10.332319", "created_at": "2022-03-09T20:41:47+01:00", "updated_at": "2022-04-07T23:03:24+02:00", "name": "pytest", "path": ".github/workflows/pytest.yml", "contents": "name: pytest\n\non:\n  pull_request:\n  push:\n    branches: [master, dev]\n\njobs:\n  pytest:\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\"]\n      fail-fast: false\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U \\\n          matplotlib \\\n          scipy \\\n          rectpack \\\n          klayout \\\n          freetype-py \\\n          pytest\n        pip install -e .\n    - name: Run test\n      uses: GabrielBB/xvfb-action@v1\n      with:\n        run: |\n          pytest\n", "state": "active", "repository": "amccaugh/phidl"}
{"mined_at": "2024-07-15T12:56:12.517106", "created_at": "2024-05-08T12:39:53+02:00", "updated_at": "2024-05-08T12:39:53+02:00", "name": ".github/workflows/_setup.yml", "path": ".github/workflows/_setup.yml", "contents": null, "state": "active", "repository": "cognitedata/cognite-sdk-python"}
{"mined_at": "2024-07-15T12:56:13.608613", "created_at": "2022-07-15T13:08:28+02:00", "updated_at": "2024-05-30T13:25:07+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "---\nname: build\n\non:\n  pull_request:\n    branches: [master]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup\n        with:\n          extras: '-E pandas'\n      - name: Linting and static code checks\n        run: pre-commit run --all-files\n\n  build_docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup\n      - name: Build docs\n        run: cd docs && make html SPHINXOPTS=\"-W --keep-going\"\n\n  build_package:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup\n      - name: Build package\n        run: poetry build\n\n  test_core:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup\n      - name: Test core\n        run: pytest tests/tests_unit -n8 --dist loadscope --maxfail 10 -m 'not dsl' --test-deps-only-core\n\n  test_full:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: ['3.8', '3.11', '3.12']  # TODO: 3.9, 3.10 (requires a lot of work for FakeCogResGen for tests)\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup\n        with:\n          python_version: ${{ matrix.python-version }}\n          extras: '-E all'\n\n      - name: Test full\n        env:\n          LOGIN_FLOW: client_credentials\n          COGNITE_CLIENT_SECRET: ${{ secrets.COGNITE_CLIENT_SECRET }}\n          COGNITE_TOKEN_URL: https://login.microsoftonline.com/dff7763f-e2f5-4ffd-9b8a-4ba4bafba5ea/oauth2/v2.0/token\n          COGNITE_TOKEN_SCOPES: https://greenfield.cognitedata.com/.default\n          COGNITE_CLIENT_ID: 14fd282e-f77a-457d-add5-928ec2bcbf04\n          COGNITE_PROJECT: python-sdk-test\n          COGNITE_BASE_URL: https://greenfield.cognitedata.com\n          COGNITE_CLIENT_NAME: python-sdk-integration-tests\n        run: pytest tests --durations=10 --cov --cov-report term --cov-report xml:coverage.xml -n8 --dist loadscope --reruns 2 --maxfail 20\n\n      - uses: codecov/codecov-action@v4\n        if: matrix.os == 'windows-latest' && matrix.python-version == '3.8'\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "cognitedata/cognite-sdk-python"}
{"mined_at": "2024-07-15T12:56:14.814497", "created_at": "2020-05-12T12:36:20+02:00", "updated_at": "2022-11-09T10:49:35+01:00", "name": "release", "path": ".github/workflows/release.yaml", "contents": "---\nname: release\n\non:\n  push:\n    branches: [master]\n\njobs:\n  test_full_build_and_release:\n    runs-on: windows-latest\n    environment: CD\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup\n        with:\n          extras: '-E all'\n\n      - name: Test full\n        env:\n          LOGIN_FLOW: client_credentials\n          COGNITE_CLIENT_SECRET: ${{ secrets.COGNITE_CLIENT_SECRET }}\n          COGNITE_TOKEN_URL: https://login.microsoftonline.com/dff7763f-e2f5-4ffd-9b8a-4ba4bafba5ea/oauth2/v2.0/token\n          COGNITE_TOKEN_SCOPES: https://greenfield.cognitedata.com/.default\n          COGNITE_CLIENT_ID: 14fd282e-f77a-457d-add5-928ec2bcbf04\n          COGNITE_PROJECT: python-sdk-test\n          COGNITE_BASE_URL: https://greenfield.cognitedata.com\n          COGNITE_CLIENT_NAME: python-sdk-integration-tests\n        run: pytest tests --durations=10 --cov --cov-report term --cov-report xml:coverage.xml -n8 --dist loadscope --reruns 2 --maxfail 20\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n\n      - name: Build package\n        run: poetry build\n\n      - name: Build docs\n        run: cd docs && make html\n\n      - name: Release to PyPI\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        run: twine upload --skip-existing --verbose dist/*\n\n      # TODO: Make this work again\n      # - name: Push code snippets to service-contracts\n      #   env:\n      #     GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      #   run: sh ./scripts/deploy_code_snippets.sh || echo 'PR failed. There is probably\n      #     nothing to commit'\n", "state": "active", "repository": "cognitedata/cognite-sdk-python"}
{"mined_at": "2024-07-15T12:56:15.863098", "created_at": "2024-06-10T10:48:15+02:00", "updated_at": "2024-06-11T17:24:30+02:00", "name": "build", "path": ".github/workflows/verify-jupyter.yml", "contents": "---\nname: build\n\non:\n  pull_request:\n    branches: [master]\n\njobs:\n  build_and_test_jupyter_pyodide:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup\n      - name: Build package\n        run: poetry build\n      - name: Set up Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"20\"\n      - name: Install dependencies\n        run: npm install pyodide@0.25.1 # JupyterLite currently using pyodide 0.25.0\n      - name: Install cognite-sdk in pyodide environment\n        run: |\n          whl_file=$(find dist -name \"*.whl\" | sed 's|^dist/||') # Find the built wheel file, remove dist/ prefix\n          echo \"Found built wheel file: $whl_file\"\n          SDK_FILE_PATH=$whl_file \\\n          PACKAGES=\"[\\\"pyodide-http\\\", \\\"http://localhost:3000/dist/$whl_file\\\"]\" \\\n          node scripts/test-pyodide.js\n", "state": "active", "repository": "cognitedata/cognite-sdk-python"}
{"mined_at": "2024-07-15T12:56:16.952223", "created_at": "2024-06-10T12:17:12+02:00", "updated_at": "2024-06-11T17:24:30+02:00", "name": "build", "path": ".github/workflows/verify-streamlit.yml", "contents": "---\nname: build\n\non:\n  pull_request:\n    branches: [master]\n\njobs:\n  build_and_test_streamlit_pyodide:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup\n      - name: Build package\n        run: poetry build\n      - name: Set up Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"20\"\n      - name: Install dependencies\n        run: npm install pyodide@0.25.1 # stlite currently using pyodide 0.25.1\n      - name: Install cognite-sdk in pyodide environment\n        run: |\n          whl_file=$(find dist -name \"*.whl\" | sed 's|^dist/||') # Find the built wheel file, remove dist/ prefix\n          echo \"Found built wheel file: $whl_file\"\n          SDK_FILE_PATH=$whl_file \\\n          PACKAGES=\"[\\\"pyodide-http\\\", \\\"http://localhost:3000/dist/$whl_file\\\"]\" \\\n          node scripts/test-pyodide.js\n", "state": "active", "repository": "cognitedata/cognite-sdk-python"}
{"mined_at": "2024-07-15T12:56:19.185445", "created_at": "2023-02-23T03:38:28+01:00", "updated_at": "2023-02-27T18:58:47+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "---\nname: Codespell\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "nipreps/niworkflows"}
{"mined_at": "2024-07-15T12:56:20.263266", "created_at": "2021-10-14T15:35:17+02:00", "updated_at": "2021-10-15T10:29:02+02:00", "name": "Build docs", "path": ".github/workflows/docs-build-pr.yml", "contents": "\nname: Build docs\n\non:\n  pull_request:\n    branches: [ master, 'maint/*' ]\n\njobs:\n  build:\n    if: \"(github.repository_owner != 'nipreps') && !contains(github.event.head_commit.message, '[skip ci]')\"\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Determine current branch/tag name\n      run: |\n        if [[ \"$GITHUB_REF\" == refs/pull/* ]]; then\n          CURBRANCH=${GITHUB_REF%/*}\n          CURBRANCH=${CURBRANCH##*/}\n        elif [[ \"$GITHUB_REF\" == refs/heads/* ]]; then\n          CURBRANCH=${GITHUB_REF##*/}\n        elif [[ \"$GITHUB_REF\" == refs/tags/* ]]; then\n          echo \"This build should not be picking up a tag, cancelling.\"\n          exit 1\n        fi\n\n        # Remove forward slashes\n        CURBRANCH=$( echo $CURBRANCH | sed 's+/+_+g' )\n        echo \"Building branch/tag ${CURBRANCH:-<unknown>}, from git ref <$GITHUB_REF>\"\n        echo \"CURBRANCH=${CURBRANCH}\" >> ${GITHUB_ENV}\n\n    - name: Install GraphViz\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y --no-install-recommends graphviz\n\n    - name: Install dependencies\n      run: |\n        pip install -r docs/requirements.txt\n\n    - name: Build docs\n      run: |\n          make -C docs/ SPHINXOPTS=\"-W\" BUILDDIR=\"$HOME/docs\" OUTDIR=\"${CURBRANCH:-html}\" html\n", "state": "active", "repository": "nipreps/niworkflows"}
{"mined_at": "2024-07-15T12:56:21.301300", "created_at": "2021-10-14T15:35:14+02:00", "updated_at": "2021-10-15T10:29:02+02:00", "name": "Build & update docs", "path": ".github/workflows/docs-build-update.yml", "contents": "\nname: Build & update docs\n\non:\n  push:\n    branches: [ 'doc/*', 'docs/*', master, \"maint/*\" ]\n    tags: [ '*' ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ssh-key: \"${{ secrets.NIPREPS_DEPLOY }}\"\n        fetch-depth: 0\n\n    - name: Determine current branch/tag name & set-up git author\n      run: |\n        if [[ \"$GITHUB_REF\" == refs/tags/* ]]; then\n          CURBRANCH=${GITHUB_REF##*/}\n        elif [[ \"$GITHUB_REF\" == refs/pull/* ]]; then\n          CURBRANCH=${GITHUB_REF%/*}\n          CURBRANCH=${CURBRANCH##*/}\n        elif [[ \"$GITHUB_REF\" == refs/heads/* ]]; then\n          CURBRANCH=${GITHUB_REF##*/}\n        fi\n\n        # Remove forward slashes\n        CURBRANCH=$( echo $CURBRANCH | sed 's+/+_+g' )\n        echo \"Building branch/tag ${CURBRANCH:-<unknown>}, from git ref <$GITHUB_REF>\"\n        echo \"CURBRANCH=${CURBRANCH}\" >> ${GITHUB_ENV}\n\n        # Pacify git if we were to commit something\n        git config user.email \"nipreps@gmail.com\"\n        git config user.name \"NiPreps Bot\"\n    - name: Install GraphViz\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y --no-install-recommends graphviz\n\n    - name: Install dependencies\n      run: |\n        pip install -r docs/requirements.txt\n\n    - name: Build docs\n      run: |\n          make -C docs/ SPHINXOPTS=\"-W\" BUILDDIR=\"$HOME/docs\" OUTDIR=\"${CURBRANCH:-html}\" html\n\n    - name: Push created tag to gh-pages\n      if: startsWith(github.ref, 'refs/tags/')\n      run: |\n        MAJOR_MINOR=${CURBRANCH%.*}\n        if [[ \"${MAJOR_MINOR}\" == \"\" ]]; then\n            echo \"Could not identify release series\"\n            exit 1\n        fi\n        git checkout -b gh-pages origin/gh-pages\n        git rm -r ${MAJOR_MINOR}/ || true\n        # It is fundamental that the directory does not exist at all.\n        rm -rf ${MAJOR_MINOR}\n        cp -r $HOME/docs/$CURBRANCH $PWD/${MAJOR_MINOR}\n        git add ${MAJOR_MINOR}\n        python -c \"from pathlib import Path; import json; f=Path('versions.json'); d=json.loads(f.read_text()); d['tags'].append(\\\"${MAJOR_MINOR}\\\"); d['tags'] = list(sorted(set(d['tags']))); f.write_text(json.dumps(d, indent=4)); print('Updated versions.json')\"\n        git add versions.json\n        git commit -m \"rel(${CURBRANCH}): Update docs of ${MAJOR_MINOR} series\" || true\n        git push\n\n    - name: Push \"master\" docs to gh-pages after a PR is merged\n      if: github.ref == 'refs/heads/master'\n      run: |\n        if [[ \"${CURBRANCH}\" != \"master\" ]]; then\n            echo \"$CURBRANCH is not the default development branch\"\n            exit 1\n        fi\n        git checkout -b gh-pages origin/gh-pages\n        git rm -r master/ || true\n        # It is fundamental that the directory does not exist at all.\n        rm -rf master\n        cp -r $HOME/docs/$CURBRANCH $PWD/master\n        git add master\n        git commit -am \"docs(master): Update docs of development line\" || true\n        git push\n", "state": "active", "repository": "nipreps/niworkflows"}
{"mined_at": "2024-07-15T12:56:22.343306", "created_at": "2020-05-09T00:36:13+02:00", "updated_at": "2022-03-17T19:09:36+01:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ '**' ]\n    tags: [ '*' ]\n  pull_request:\n    branches: [ master, 'maint/*' ]\n  schedule:\n    - cron: '0 0 * * *'\n\nconcurrency:\n  group: python-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  job_metadata:\n    if: github.repository == 'nipreps/niworkflows'\n    runs-on: ubuntu-latest\n    outputs:\n      commit_message: ${{ steps.get_commit_message.outputs.commit_message }}\n      version: ${{ steps.show_version.outputs.version }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Print head git commit message\n        id: get_commit_message\n        run: |\n          if [[ -z \"$COMMIT_MSG\" ]]; then\n            COMMIT_MSG=$(git show -s --format=%s $REF)\n          fi\n          echo commit_message=$COMMIT_MSG | tee -a $GITHUB_OUTPUT\n        env:\n          COMMIT_MSG: ${{ github.event.head_commit.message }}\n          REF: ${{ github.event.pull_request.head.sha }}\n      - name: Detect version\n        id: show_version\n        run: |\n          if [[ \"$GITHUB_REF\" == refs/tags/* ]]; then\n            VERSION=${GITHUB_REF##*/}\n          else\n            pipx run hatch version  # Once to avoid output of initial setup\n            VERSION=$( pipx run hatch version )\n          fi\n          echo version=$VERSION | tee -a $GITHUB_OUTPUT\n\n  build:\n    if: github.repository == 'nipreps/niworkflows'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3\n    - name: Display Python version\n      run: python -c \"import sys; print(sys.version)\"\n    - name: Build niworkflows\n      run: pipx run build\n    - name: Check distributions\n      run: pipx run twine check dist/*\n    - uses: actions/upload-artifact@v3\n      with:\n        name: dist\n        path: dist/\n\n  get_data:\n    if: github.repository == 'nipreps/niworkflows'\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n    - name: Create test data directory\n      run: mkdir -p $HOME/.cache/stanford-crn\n    - name: Load test data cache\n      uses: actions/cache@v4\n      id: stanford-crn\n      with:\n        path: ~/.cache/stanford-crn/\n        key: data-v0-${{ github.ref_name }}-${{ github.sha }}\n        restore-keys: |\n          data-v0-${{ github.ref_name }}-\n          data-v0-\n    - name: Setup conda\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        auto-activate-base: true\n        activate-environment: \"\"\n    - name: Verify environment\n      run: |\n        conda info\n        which python\n    - name: Install datalad\n      run: |\n        python -m pip install datalad-installer\n        datalad-installer --sudo ok git-annex\n        python -m pip install datalad datalad-osf\n        datalad wtf\n    - name: Pacify git\n      run: |\n        git config --global user.email \"github@niworkflows.ci\"\n        git config --global user.name \"Niworkflows Action\"\n    - name: Fetch test data\n      run: |\n        DS=$HOME/.cache/stanford-crn\n        datalad install -r -s https://github.com/nipreps-data/niworkflows-data.git $DS\n        cd $DS\n        git -C BIDS-examples-1-enh-ds054 checkout enh/ds054\n        datalad update -r --merge -d .\n        datalad get -J 2 -r ds000003 ds000030/sub-10228/func\n\n  test:\n    needs: [build, get_data, job_metadata]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        install: [repo]\n        include:\n          - python-version: \"3.11\"\n            install: sdist\n          - python-version: \"3.11\"\n            install: wheel\n          - python-version: \"3.11\"\n            install: editable\n\n    env:\n      INSTALL_TYPE: ${{ matrix.install }}\n\n    steps:\n    - uses: actions/checkout@v4\n      if: matrix.install == 'repo' || matrix.install == 'editable'\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Load test data cache\n      uses: actions/cache@v4\n      id: stanford-crn\n      with:\n        path: ~/.cache/stanford-crn/\n        key: data-v0-${{ github.ref_name }}-${{ github.sha }}\n    - name: Load TemplateFlow cache\n      uses: actions/cache@v4\n      id: templateflow\n      with:\n        path: ~/.cache/templateflow\n        key: templateflow-v0-${{ github.ref_name }}-${{ strategy.job-index }}-${{ github.sha }}\n        restore-keys: |\n          templateflow-v0-${{ github.ref_name }}-\n          templateflow-v0-\n    - name: Fetch packages\n      if: matrix.install == 'sdist' || matrix.install == 'wheel'\n      uses: actions/download-artifact@v3\n      with:\n        name: dist\n        path: dist/\n    - name: Select archive\n      run: |\n        if [ \"$INSTALL_TYPE\" = \"sdist\" ]; then\n          ARCHIVE=$( ls dist/*.tar.gz )\n        elif [ \"$INSTALL_TYPE\" = \"wheel\" ]; then\n          ARCHIVE=$( ls dist/*.whl )\n        elif [ \"$INSTALL_TYPE\" = \"repo\" ]; then\n          ARCHIVE=\".\"\n        elif [ \"$INSTALL_TYPE\" = \"editable\" ]; then\n          ARCHIVE=\"-e .\"\n        fi\n        echo \"ARCHIVE=$ARCHIVE\" | tee -a $GITHUB_ENV\n    - name: Install package\n      run: python -m pip install $ARCHIVE\n    - name: Check version\n      run: |\n        INSTALLED_VERSION=$(python -c 'import niworkflows; print(niworkflows.__version__, end=\"\")')\n        echo \"INSTALLED: \\\"${INSTALLED_VERSION}\\\"\"\n        test \"${INSTALLED_VERSION}\" = \"${VERSION}\"\n      env:\n        VERSION: ${{ needs.job_metadata.outputs.version }}\n    - name: Install test dependencies\n      run: python -m pip install \"niworkflows[tests]\"\n    - name: Run tests\n      run: pytest -sv --doctest-modules --cov niworkflows --pyargs niworkflows\n    - uses: codecov/codecov-action@v4\n      name: Submit to CodeCov\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n\n  test-pre:\n    needs: [get_data, job_metadata]\n    if: ${{ !contains(needs.job_metadata.outputs.commit_message, '[skip pre]') }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        install: [repo]\n        pip-flags: ['--pre']\n\n    env:\n      INSTALL_TYPE: ${{ matrix.install }}\n      PIP_FLAGS: ${{ matrix.pip-flags }}\n\n    steps:\n    - name: Debug commit message\n      run: echo \"${{ needs.job_metadata.outputs.commit_message }}\"\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Load test data cache\n      uses: actions/cache@v4\n      id: stanford-crn\n      with:\n        path: ~/.cache/stanford-crn/\n        key: data-v0-${{ github.ref_name }}-${{ github.sha }}\n    - name: Load TemplateFlow cache\n      uses: actions/cache@v4\n      id: templateflow\n      with:\n        path: ~/.cache/templateflow\n        key: templateflow-v0-${{ github.ref_name }}-${{ strategy.job-index }}-${{ github.sha }}\n        restore-keys: |\n          templateflow-v0-${{ github.ref_name }}-\n          templateflow-v0-\n    - name: Install package\n      run: python -m pip install $PIP_FLAGS .\n    - name: Check version\n      run: |\n        INSTALLED_VERSION=$(python -c 'import niworkflows; print(niworkflows.__version__, end=\"\")')\n        echo \"INSTALLED: \\\"${INSTALLED_VERSION}\\\"\"\n        test \"${INSTALLED_VERSION}\" = \"${VERSION}\"\n      env:\n        VERSION: ${{ needs.job_metadata.outputs.version }}\n    - name: Install test dependencies\n      run: python -m pip install $PIP_FLAGS \"niworkflows[tests]\"\n    - name: Run tests\n      run: pytest -sv --doctest-modules --cov niworkflows --pyargs niworkflows\n    - uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n      name: Submit to CodeCov\n\n  flake8:\n    if: github.event_name != 'schedule'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3\n    - run: pipx run flake8 niworkflows/\n", "state": "active", "repository": "nipreps/niworkflows"}
{"mined_at": "2024-07-15T12:56:23.372586", "created_at": "2022-01-11T22:23:30+01:00", "updated_at": "2022-01-11T22:23:30+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nipreps/niworkflows"}
{"mined_at": "2024-07-15T12:56:25.544894", "created_at": "2020-11-13T21:39:41+01:00", "updated_at": "2022-08-30T14:11:45+02:00", "name": "Docs CI", "path": ".github/workflows/docs.yml", "contents": "name: Docs CI\n\non: [push, pull_request]\n\njobs:\n  docs:\n    # pull requests are a duplicate of a branch push if they are from within the\n    # same repo. Skip these\n    if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository\n    strategy:\n      matrix:\n        python-version: [3.8]\n      fail-fast: false\n    runs-on: ubuntu-latest\n    env:\n      TOX_DIRECT: 1\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0 # So we get history for version numbers\n\n      - name: Install Packages\n        run: sudo apt-get install graphviz\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: pip install -e .[dev] && pipdeptree\n\n      - name: Build Docs\n        run: tox -e docs\n\n      - name: Upload built docs as artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: docs\n          path: build\n\n      - name: Set env.REPOSITORY_NAME # just the repo, as opposed to org/repo\n        run: echo \"REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}\" >> $GITHUB_ENV\n\n      - name: Deploy documentation to blueskyproject.io.\n        if: github.repository_owner == 'bluesky' && github.ref_name == 'master'\n        # We pin to the SHA, not the tag, for security reasons.\n        # https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions\n        uses: peaceiris/actions-gh-pages@bbdfb200618d235585ad98e965f4aafc39b4c501 # v3.7.3\n        with:\n          deploy_key: ${{ secrets.ACTIONS_DOCUMENTATION_DEPLOY_KEY }}\n          publish_branch: master\n          publish_dir: build/html\n          external_repository: bluesky/bluesky.github.io\n          destination_dir: ${{ env.REPOSITORY_NAME }} # just the repo name, without the \"bluesky/\"\n          keep_files: true # Keep old files.\n          force_orphan: false # Keep git history.\n", "state": "active", "repository": "bluesky/ophyd"}
{"mined_at": "2024-07-15T12:56:26.572564", "created_at": "2022-08-19T14:37:06+02:00", "updated_at": "2022-08-30T14:11:45+02:00", "name": "Code CI", "path": ".github/workflows/code.yml", "contents": "name: Code CI\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"00 4 * * *\" # daily at 4AM\n\njobs:\n  lint:\n    # pull requests are a duplicate of a branch push if they are from within the\n    # same repo. Skip these\n    if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Lint\n        run: pip install --user .[dev] && tox -e pre-commit,mypy\n\n  build:\n    if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0 # So we get history for version numbers\n\n      - name: Create Sdist and Wheel\n        # Set SOURCE_DATE_EPOCH from git commit for reproducible build\n        # https://reproducible-builds.org/\n        run: SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) pipx run build --sdist --wheel\n\n      - name: Upload Wheel and Sdist as artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist\n          path: dist\n\n      - name: Install wheel and check cli works\n        run: pip install dist/*.whl && python -m ophyd --version\n\n  test:\n    if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    runs-on: ubuntu-latest\n    env:\n      TEST_CL: pyepics\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0 # So we get history for version number\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: pip install --upgrade setuptools && pip install -e .[dev] && pipdeptree\n\n      - name: Start IOCs in containers.\n        run: |\n          source ${GITHUB_WORKSPACE}/scripts/epics_exports.sh\n          source ${GITHUB_WORKSPACE}/scripts/epics_docker.sh\n\n      - name: Test with pytest\n        run: pytest -k \"${TEST_CL} or /v2/\"\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v2\n        with:\n          name: ${{ matrix.python }}\n          files: cov.xml\n\n  release:\n    needs: [build]\n    runs-on: ubuntu-latest\n    # upload to PyPI and make a release on every tag\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    steps:\n      - uses: actions/download-artifact@v3\n\n      - name: Github Release\n        # We pin to the SHA, not the tag, for security reasons.\n        # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions\n        uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v0.1.14\n        with:\n          files: dist/*\n          generate_release_notes: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish to PyPI\n        env:\n          TWINE_USERNAME: __token__\n          # The PYPI_PASSWORD must be a pypi token with the \"pypi-\" prefix with sufficient permissions to upload this package\n          # https://pypi.org/help/#apitoken\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: pipx run twine upload dist/*\n", "state": "active", "repository": "bluesky/ophyd"}
{"mined_at": "2024-07-15T12:56:28.769166", "created_at": "2023-10-05T17:51:24+02:00", "updated_at": "2023-11-08T23:44:59+01:00", "name": "libEnsemble-simple-CI", "path": ".github/workflows/basic.yml", "contents": "name: libEnsemble-simple-CI\n\non:\n  pull_request:\n    types:\n      - ready_for_review\n      - opened\n      - reopened\n      - synchronize\n\njobs:\n    test-libE:\n        if: '! github.event.pull_request.draft'\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest]\n                mpi-version: [mpich]\n                python-version: [3.9, \"3.10\", \"3.11\", \"3.12\"]\n                pydantic-version: [\"2.6.4\"]\n                comms-type: [m, l]\n                include:\n                    - os: macos-latest\n                      python-version: \"3.11\"\n                      mpi-version: \"mpich=4.2.1\"\n                      pydantic-version: \"2.6.4\"\n                      comms-type: m\n                    - os: macos-latest\n                      python-version: \"3.11\"\n                      mpi-version: \"mpich=4.2.1\"\n                      pydantic-version: \"2.6.4\"\n                      comms-type: l\n                    - os: ubuntu-latest\n                      mpi-version: mpich\n                      python-version: \"3.10\"\n                      pydantic-version: \"1.10.13\"\n                      comms-type: m\n                    - os: ubuntu-latest\n                      mpi-version: mpich\n                      python-version: \"3.10\"\n                      pydantic-version: \"1.10.13\"\n                      comms-type: l\n\n        env:\n            HYDRA_LAUNCHER: \"fork\"\n            TERM: xterm-256color\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n        defaults:\n            run:\n                shell: bash -l {0}\n\n        steps:\n        - uses: actions/checkout@v4\n        - name: Setup conda - Python ${{ matrix.python-version }}\n          uses: conda-incubator/setup-miniconda@v3\n          with:\n            activate-environment: condaenv\n            miniconda-version: \"latest\"\n            python-version: ${{ matrix.python-version }}\n            channels: conda-forge\n            channel-priority: flexible\n            auto-update-conda: true\n\n        - uses: actions/cache/restore@v4\n          name: Restore cached dependencies\n          id: cache\n          if: matrix.os == 'ubuntu-latest'\n          with:\n            path: |\n              /home/runner/.local\n              /usr/share/miniconda3/envs/condaenv\n              /usr/share/miniconda3/bin\n              /usr/share/miniconda3/lib\n              /usr/share/miniconda3/include\n            key: libe-${{ github.ref_name }}-${{ matrix.python-version }}-${{ matrix.comms-type }}-${{ matrix.pydantic-version }}-basic\n\n        - name: Force-update certifi\n          run: |\n            python --version\n            pip install -I --upgrade certifi\n\n        - name: Install Ubuntu compilers\n          if: matrix.os == 'ubuntu-latest'\n          run: conda install gcc_linux-64\n\n        # Roundabout solution on macos for proper linking with mpicc\n        - name: Install macOS compilers\n          if: matrix.os == 'macos-latest'\n          run: |\n            conda install clang_osx-64\n\n        - name: Install basic testing/feature dependencies\n          run: |\n            pip install -r install/testing_requirements.txt\n            pip install -r install/misc_feature_requirements.txt\n\n            git clone --recurse-submodules -b develop https://github.com/POptUS/IBCDFO.git\n            pushd IBCDFO/minq/py/minq5/\n            export PYTHONPATH=\"$PYTHONPATH:$(pwd)\"\n            echo \"PYTHONPATH=$PYTHONPATH\" >> $GITHUB_ENV\n            popd\n            pushd IBCDFO/ibcdfo_pypkg/\n            pip install -e .\n            popd\n\n        - name: Install mpi4py and MPI from conda\n          run: |\n            conda install mpi4py ${{ matrix.mpi-version }}\n\n        - name: Install generator dependencies\n          run: |\n            python -m pip install --upgrade pip\n            pip install mpmath matplotlib\n            conda install numpy nlopt scipy\n\n        - uses: actions/cache/save@v4\n          name: Save dependencies to cache\n          if: matrix.os == 'ubuntu-latest'\n          with:\n            path: |\n              /home/runner/.local\n              /usr/share/miniconda3/envs/condaenv\n              /usr/share/miniconda3/bin\n              /usr/share/miniconda3/lib\n              /usr/share/miniconda3/include\n            key: libe-${{ github.ref_name }}-${{ matrix.python-version }}-${{ matrix.comms-type }}\n\n        - name: Install libEnsemble, flake8\n          run: |\n            pip install pydantic==${{ matrix.pydantic-version }}\n            pip install -e .\n            flake8 libensemble\n\n        - name: Remove various tests on newer pythons\n          if: matrix.python-version >= '3.11'\n          run: |\n            rm ./libensemble/tests/functionality_tests/test_local_sine_tutorial*.py # matplotlib errors on 3.12\n\n        - name: Run simple tests, Ubuntu\n          if: matrix.os == 'ubuntu-latest'\n          run: |\n           ./libensemble/tests/run-tests.sh -A \"-W error\" -z -${{ matrix.comms-type }}\n\n        - name: Run simple tests, macOS\n          if: matrix.os == 'macos-latest'\n          run: |\n            ./libensemble/tests/run-tests.sh -A \"-W error\" -z -${{ matrix.comms-type }}\n\n        - name: Merge coverage\n          run: |\n            mv libensemble/tests/.cov* .\n\n        - name: Upload coverage reports to Codecov\n          uses: codecov/codecov-action@v4\n          env:\n            CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n    spellcheck:\n        name: Spellcheck release branch\n        if: contains(github.base_ref, 'develop')\n        runs-on: ubuntu-latest\n        steps:\n        - uses: actions/checkout@v4\n        - uses: crate-ci/typos@v1.20.10\n", "state": "active", "repository": "libensemble/libensemble"}
{"mined_at": "2024-07-15T12:56:29.963704", "created_at": "2023-10-10T22:18:40+02:00", "updated_at": "2023-10-10T22:31:37+02:00", "name": "JOSS paper build", "path": ".github/workflows/draft-pdf.yml", "contents": null, "state": "active", "repository": "libensemble/libensemble"}
{"mined_at": "2024-07-15T12:56:31.014907", "created_at": "2023-11-06T17:24:41+01:00", "updated_at": "2024-04-24T03:40:36+02:00", "name": "libEnsemble-complete-CI", "path": ".github/workflows/extra.yml", "contents": "name: libEnsemble-complete-CI\n\non:\n  workflow_dispatch:\n\njobs:\n    test-libE:\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest]\n                mpi-version: [mpich]\n                python-version: [3.9, \"3.10\", \"3.11\", \"3.12\"]\n                pydantic-version: [\"2.6.4\"]\n                comms-type: [m, l]\n                include:\n                    - os: macos-latest\n                      python-version: 3.11\n                      mpi-version: \"mpich=4.2.0\"\n                      pydantic-version: \"2.6.4\"\n                      comms-type: m\n                    - os: macos-latest\n                      python-version: 3.11\n                      mpi-version: \"mpich=4.2.0\"\n                      pydantic-version: \"2.6.4\"\n                      comms-type: l\n                    - os: ubuntu-latest\n                      python-version: \"3.10\"\n                      mpi-version: \"mpich\"\n                      pydantic-version: \"2.6.4\"\n                      comms-type: t\n                    - os: ubuntu-latest\n                      mpi-version: \"openmpi\"\n                      pydantic-version: \"2.6.4\"\n                      python-version: \"3.12\"\n                      comms-type: l\n                    - os: ubuntu-latest\n                      mpi-version: mpich\n                      python-version: \"3.10\"\n                      pydantic-version: \"1.10.13\"\n                      comms-type: m\n                    - os: ubuntu-latest\n                      mpi-version: mpich\n                      python-version: \"3.10\"\n                      pydantic-version: \"1.10.13\"\n                      comms-type: l\n\n        env:\n            HYDRA_LAUNCHER: \"fork\"\n            TERM: xterm-256color\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n        defaults:\n            run:\n                shell: bash -l {0}\n\n        steps:\n        - uses: actions/checkout@v4\n        - name: Setup conda - Python ${{ matrix.python-version }}\n          uses: conda-incubator/setup-miniconda@v3\n          with:\n            activate-environment: condaenv\n            miniconda-version: \"latest\"\n            python-version: ${{ matrix.python-version }}\n            channels: conda-forge\n            channel-priority: flexible\n            auto-update-conda: true\n\n        - uses: actions/cache/restore@v4\n          name: Restore cached dependencies\n          id: cache\n          if: matrix.os == 'ubuntu-latest'\n          with:\n            path: |\n              /home/runner/work/libensemble/libensemble/heffte/build/\n              /home/runner/.local\n              /usr/share/miniconda3/envs/condaenv\n              /usr/share/miniconda3/bin\n              /usr/share/miniconda3/lib\n              /usr/share/miniconda3/include\n            key: libe-${{ github.ref_name }}-${{ matrix.python-version }}-${{ matrix.comms-type }}-${{ matrix.pydantic-version }}-extra\n\n        - name: Force-update certifi\n          run: |\n            python --version\n            pip install -I --upgrade certifi\n\n        - name: Install Ubuntu compilers\n          if: matrix.os == 'ubuntu-latest'\n          run: conda install gcc_linux-64\n\n        # Roundabout solution on macos for proper linking with mpicc\n        - name: Install macOS compilers\n          if: matrix.os == 'macos-latest'\n          run: |\n            conda install clang_osx-64\n\n        - name: Install mpi4py and MPI from conda\n          if: (matrix.python-version != '3.10' && matrix.os == 'ubuntu-latest') || matrix.os == 'macos-latest'\n          run: |\n            conda install mpi4py ${{ matrix.mpi-version }}\n\n        - name: Install mpi4py from pip, MPI from conda\n          if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'\n          run: |\n            conda install ${{ matrix.mpi-version }}\n            pip install mpi4py\n\n        - name: Install generator dependencies\n          run: |\n            python -m pip install --upgrade pip\n            pip install mpmath matplotlib ax-platform\n            conda env update --file install/gen_deps_environment.yml\n\n        - name: Install ax-platform\n          run: |\n            pip install ax-platform\n\n        - name: Install gpcam\n          if: matrix.python-version != '3.12'\n          run: |\n            pip install gpcam\n\n        - name: Install surmise\n          if: matrix.os != 'macos-latest'\n          run: |\n            pip install --upgrade git+https://github.com/bandframework/surmise.git\n\n        - name: Build ytopt and dependencies\n          if: matrix.python-version <= '3.10' && matrix.os != 'macos-latest'\n          run: |\n            pip install scikit-learn==1.4.0\n            pip install pandas==2.2.1\n            pip install ConfigSpace\n            pip install \"ray[default]\"\n            git clone https://github.com/ytopt-team/scikit-optimize.git\n            cd scikit-optimize\n            pip install .\n            cd ..\n            git clone -b version1 https://github.com/ytopt-team/autotune.git\n            cd autotune\n            pip install .\n            cd ..\n            git clone -b main https://github.com/ytopt-team/ytopt.git\n            cd ytopt\n            pip install .\n            cd ..\n\n        - name: Install generator dependencies for Ubuntu tests\n          if: matrix.os == 'ubuntu-latest' && matrix.python-version != '3.12'\n          run: |\n            sudo apt-get install bc\n\n            # pip install dragonfly-opt\n            # pip install git+https://github.com/dragonfly/dragonfly.git\n            pip install git+https://github.com/jlnav/dragonfly.git@fix/remove_npobject\n            pip install scikit-build packaging Tasmanian --user\n\n        - name: Install other testing dependencies\n          run: |\n            conda install octave\n            conda install pyzmq\n            pip install -r install/testing_requirements.txt\n            pip install -r install/misc_feature_requirements.txt\n            git clone https://github.com/argonne-lcf/balsam.git\n            sed -i -e \"s/pyzmq>=22.1.0,<23.0.0/pyzmq>=23.0.0,<24.0.0/\" ./balsam/setup.cfg\n            cd balsam; pip install -e .; cd ..\n\n            git clone --recurse-submodules -b develop https://github.com/POptUS/IBCDFO.git\n            pushd IBCDFO/minq/py/minq5/\n            export PYTHONPATH=\"$PYTHONPATH:$(pwd)\"\n            echo \"PYTHONPATH=$PYTHONPATH\" >> $GITHUB_ENV\n            popd\n            pushd IBCDFO/ibcdfo_pypkg/\n            pip install -e .\n            popd\n\n        - name: Build heffte\n          if: matrix.os != 'macos-latest'\n          run: |\n            # begin heffte build and dependencies\n            sudo apt install libfftw3-dev\n            git clone https://github.com/icl-utk-edu/heffte.git\n            mkdir heffte/build\n            cd heffte/build\n            pwd\n            cmake -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=ON -D CMAKE_INSTALL_PREFIX=./ -D Heffte_ENABLE_AVX=ON -D Heffte_ENABLE_FFTW=ON ../\n            make -j 4\n            make install\n            cp ./benchmarks/speed3d_c2c ../../libensemble/tests/regression_tests/\n            # end heffte build and dependencies\n\n        - uses: actions/cache/save@v4\n          name: Save dependencies to cache\n          if: matrix.os == 'ubuntu-latest'\n          with:\n            path: |\n              /home/runner/work/libensemble/libensemble/heffte/build/\n              /home/runner/.local\n              /usr/share/miniconda3/envs/condaenv\n              /usr/share/miniconda3/bin\n              /usr/share/miniconda3/lib\n              /usr/share/miniconda3/include\n            key: libe-${{ github.ref_name }}-${{ matrix.python-version }}-${{ matrix.comms-type }}\n\n        - name: Install libEnsemble, flake8, lock environment\n          run: |\n            pip install pydantic==${{ matrix.pydantic-version }}\n            pip install -e .\n            flake8 libensemble\n\n        - name: Remove various tests on newer pythons\n          if: matrix.python-version >= '3.11'\n          run: |\n            rm ./libensemble/tests/regression_tests/test_ytopt_heffte.py\n            rm ./libensemble/tests/regression_tests/test_gpCAM.py\n            rm ./libensemble/tests/regression_tests/test_persistent_gp.py\n\n        - name: Remove test for persistent Tasmanian on Python 3.12\n          if: matrix.python-version >= '3.12'\n          run: |\n            rm ./libensemble/tests/regression_tests/test_persistent_tasmanian.py\n            rm ./libensemble/tests/regression_tests/test_persistent_tasmanian_async.py\n\n        - name: Remove Balsam/Globus-compute tests on Pydantic 2\n          if: matrix.pydantic-version == '2.6.4'\n          run: |\n            rm ./libensemble/tests/unit_tests/test_ufunc_runners.py\n            rm ./libensemble/tests/unit_tests/test_executor_balsam.py\n\n        - name: Run extensive tests, Ubuntu\n          if: matrix.os == 'ubuntu-latest'\n          run: |\n           ./libensemble/tests/run-tests.sh -e -z -${{ matrix.comms-type }}\n\n        - name: Run extensive tests, macOS\n          if: matrix.os == 'macos-latest'\n          run: |\n            ./libensemble/tests/run-tests.sh -e -z -${{ matrix.comms-type }}\n\n        - name: Merge coverage\n          run: |\n            mv libensemble/tests/.cov* .\n\n        - name: Upload coverage reports to Codecov\n          uses: codecov/codecov-action@v4\n          env:\n            CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n    spellcheck:\n        name: Spellcheck release branch\n        if: contains(github.base_ref, 'develop')\n        runs-on: ubuntu-latest\n        steps:\n        - uses: actions/checkout@v4\n        - uses: crate-ci/typos@v1.20.10\n", "state": "active", "repository": "libensemble/libensemble"}
{"mined_at": "2024-07-15T12:56:33.107799", "created_at": "2022-04-13T18:01:08+02:00", "updated_at": "2022-04-19T20:23:25+02:00", "name": "CI", "path": ".github/workflows/CI.yaml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - \"main\"\n  schedule:\n    - cron:  \"0 0 * * *\"\n\njobs:\n  test:\n    if: github.event.pull_request.draft == false\n    name: GMSO Tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macOS-latest, macOS-13, ubuntu-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v3\n        name: Checkout Branch / Pull Request\n\n      - name: Install Mamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment-dev.yml\n          create-args: >-\n            python=${{ matrix.python-version }}\n\n      - name: Install Package\n        run: python -m pip install -e .\n\n      - name: Test (OS -> ${{ matrix.os }} / Python -> ${{ matrix.python-version }})\n        run: python -m pytest -v --cov=gmso --cov-report=xml --cov-append --cov-config=setup.cfg --color yes --pyargs gmso\n\n      - name: Upload Coverage Report\n        uses: codecov/codecov-action@v2\n        with:\n          name: GMSO-Coverage\n          verbose: true\n\n  bleeding-edge-test:\n    if: github.event.pull_request.draft == false\n    name: Bleeding Edge mosdef Tests for GMSO\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v3\n        name: Checkout Branch / Pull Request\n\n      - name: Install Mamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment-dev.yml\n          create-args: python=3.10\n\n      - name: Clone mBuild and Foyer and forcefield-utilities\n        run: |\n          git clone https://github.com/mosdef-hub/mbuild.git\n          git clone https://github.com/mosdef-hub/foyer.git\n          git clone https://github.com/mosdef-hub/forcefield-utilities.git\n\n      - name: Update Environment with mbuild/foyer/ffutils Dependencies\n        run: |\n          micromamba update --name gmso-dev --file mbuild/environment.yml\n          micromamba update --name gmso-dev --file foyer/environment.yml\n          micromamba update --name gmso-dev --file forcefield-utilities/environment-dev.yml\n\n      - name: Install Packages from Source\n        run: |\n          pip install -e mbuild\n          pip install -e foyer\n          pip install -e forcefield-utilities\n          pip install -e .\n\n      - name: Run Bleeding Edge Tests\n        run: |\n          python -m pytest -v --color yes --pyargs gmso\n\n  docker:\n    runs-on: ubuntu-latest\n    needs: test\n    name: Build Docker Image\n    if: github.event_name != 'pull_request'\n\n    steps:\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Get Tagged Version\n        run: |\n          echo \"DOCKER_TAGS=mosdef/gmso:${GITHUB_REF_NAME}, mosdef/gmso:stable\" >> $GITHUB_ENV\n        if: github.ref_type == 'tag'\n\n      - name: Get Push Version\n        run: |\n          echo \"DOCKER_TAGS=mosdef/gmso:${GITHUB_REF_NAME}, mosdef/gmso:latest\" >> $GITHUB_ENV\n        if: github.ref_type == 'branch'\n\n      - name: Docker Image Info\n        run: |\n          echo Docker Image tags: ${DOCKER_TAGS}\n\n      - name: Build and Push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          tags: ${{ env.DOCKER_TAGS }}\n", "state": "active", "repository": "mosdef-hub/gmso"}
{"mined_at": "2024-07-15T12:56:34.177950", "created_at": "2022-11-10T18:45:57+01:00", "updated_at": "2022-12-07T22:24:26+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: \"41 4 * * 6\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "mosdef-hub/gmso"}
{"mined_at": "2024-07-15T12:56:36.292997", "created_at": "2023-11-16T01:48:23+01:00", "updated_at": "2023-11-16T01:48:23+01:00", "name": "CI pipeline on Mamba", "path": ".github/workflows/ci-mamba.yaml", "contents": "# Basic Mamba CI pipeline on top of CCTBX\n\nname: CI pipeline on Mamba\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n  # run daily to ensure that changes to dependenices are not breaking tests\n  schedule:\n    - cron: \"30 21 * * *\"\n  workflow_dispatch:\n\nenv:\n  # MOPAC_COMMAND: $CONDA_PREFIX/bin/mopac\n  # XTBHOME: $CONDA_PREFIX\n  PY: \"python3.10\"\n  #CLEANUP_TESTS: 'FALSE'\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -leo pipefail {0} {0}\n\n    steps:\n      - name: checkout code\n        uses: actions/checkout@v4\n\n      - name: df\n        run: df -h\n\n      - uses: mamba-org/setup-micromamba@v1.8.0\n        with:\n          environment-file: environment.yaml\n          cache-environment: true\n          environment-name: qrefine-ci-mamba\n          post-cleanup: all\n\n      - name: run installer\n        run: |\n          sh build_into_conda.sh\n\n      - name: smoke test\n        run: |\n          source $CONDA_PREFIX/lib/$PY/site-packages/build/setpaths.sh\n          qr.refine --help\n          env\n\n      - name: qr.test\n        run: |\n          cd  /home/runner/work/qrefine/qrefine/\n          pwd\n          mkdir testing_workdir\n          cd testing_workdir\n          source $CONDA_PREFIX/lib/$PY/site-packages/build/setpaths.sh\n          qr.test | tee ../qr_test.txt\n\n      - name: looks at testing_workdir\n        if: always()\n        run: ls -R\n        working-directory: /home/runner/work/qrefine/qrefine/testing_workdir\n\n      - name: Archive qr test output\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: qr-test-output\n          path: ./qr_test.txt\n\n      - name: Archive qr-log files output\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: tests-dir\n          path: /home/runner/work/qrefine/qrefine/testing_workdir\n\n    # Too much noise at the moment\n    #- name: Report Status\n    #  if: always()\n    #  uses: ravsamhq/notify-slack-action@v2\n    #  with:\n    #    status: ${{ job.status }}\n    #    notify_when: 'failure'\n    #  env:\n    #    SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}\n", "state": "active", "repository": "qrefine/qrefine"}
{"mined_at": "2024-07-15T12:56:37.310707", "created_at": "2023-11-16T00:04:59+01:00", "updated_at": "2023-11-16T00:04:59+01:00", "name": "Publish image to public repository on dockerhub", "path": ".github/workflows/publish-dockerhub.yaml", "contents": "name: Publish image to public repository on dockerhub\n\non:\n  workflow_dispatch:\n\nenv:\n  container_name: qrefine/cctbx-qr\n  \njobs:\n  push:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: set name\n        id: vars\n        run: |\n          calculatedSha=$(git rev-parse --short ${{ github.sha }})\n          echo \"container_name=$container_name:v$GITHUB_RUN_NUMBER\" >> $GITHUB_ENV\n          echo \"Container Name:  $container_name:v$GITHUB_RUN_NUMBER\"\n          echo \"Build/Run ID  :  $GITHUB_RUN_NUMBER\"\n          echo \"Git hash      :  $calculatedSha\"\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}  \n\n      - name: Docker build\n        uses: docker/build-push-action@v5\n        with:\n          file: Dockerfile\n          push: true\n          tags: ${{env.container_name}}\n\n      # - name: Build, tag, and push docker image to Dockerhub\n      #   env:\n      #     IMAGE_TAG: ${{ github.sha }}\n      #   run: |\n      #     docker build -f Dockerfile -t $REGISTRY/$REPOSITORY:$IMAGE_TAG  .\n      #     docker push -a $REGISTRY/$REPOSITORY     \n  \n", "state": "active", "repository": "qrefine/qrefine"}
{"mined_at": "2024-07-15T12:56:38.349916", "created_at": "2023-07-05T05:15:46+02:00", "updated_at": "2023-07-05T05:15:46+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "qrefine/qrefine"}
{"mined_at": "2024-07-15T12:56:41.688902", "created_at": "2023-10-01T12:27:23+02:00", "updated_at": "2023-10-01T13:15:53+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n      - '*-maint'\n    tags:\n      - 'v*'\n  pull_request:\n    branches:\n      - master\n      - '*-maint'\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: pre-commit/action@v3.0.1\n        env:\n          RUFF_OUTPUT_FORMAT: github\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - \"ubuntu-22.04\"\n          - \"windows-2022\"\n          - \"macos-11\"\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          - \"pypy3.10\"\n    env:\n      BABEL_CLDR_NO_DOWNLOAD_PROGRESS: \"1\"\n      BABEL_CLDR_QUIET: \"1\"\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/cache@v4\n      with:\n        path: cldr\n        key: cldr-${{ hashFiles('scripts/*cldr*') }}\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n        cache: \"pip\"\n        cache-dependency-path: \"**/setup.py\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        python -m pip install 'tox~=4.0' 'tox-gh-actions~=3.0'\n    - name: Run test via Tox\n      run: tox --skip-missing-interpreters\n      env:\n        COVERAGE_XML_PATH: ${{ runner.temp }}\n        BABEL_TOX_EXTRA_DEPS: pytest-github-actions-annotate-failures\n    - uses: codecov/codecov-action@v4\n      with:\n        directory: ${{ runner.temp }}\n  build:\n    runs-on: ubuntu-22.04\n    needs: lint\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: \"**/setup.py\"\n      - run: pip install build -e .\n      - run: make import-cldr\n      - run: python -m build\n      - uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist\n  publish:\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n      url: https://pypi.org/p/babel/\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist/\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          verbose: true\n          print-hash: true\n", "state": "active", "repository": "python-babel/babel"}
{"mined_at": "2024-07-15T12:56:44.357265", "created_at": "2023-05-29T02:39:28+02:00", "updated_at": "2023-05-29T02:43:03+02:00", "name": "Linux", "path": ".github/workflows/linux.yml", "contents": "name: Linux\non:\n  push:\n    branches-ignore:\n      - '**/sources/**'\n      - '**/windows/**'\n      - '**/macos/**'\n    paths-ignore:\n      - '.github/workflows/sources.yml'\n      - '.github/workflows/sonar.yml'\n      - '.github/workflows/macos.yml'\n      - '.github/workflows/windows.yml'\n      - 'tools/**'\n      - 'rtest/**'\n      - 'doc/**'\n      - '.appveyor.yml'\n      - '.coveragerc'\n      - '.gitattributes'\n      - '.pylintrc'\n      - '.travis.yml'\n      - '.whitesource'\n      - 'AUTHORS.txt'\n      - 'BUILD.rest'\n      - 'CHANGELOG.adoc'\n      - 'CONTRIBUTING.adoc'\n      - 'COPYRIGHT.txt'\n      - 'LICENSE.txt'\n      - 'MANIFEST.in'\n      - 'README.adoc'\n      - 'README.rest'\n      - 'rfgen.py'\n      - 'tox.ini'\n  pull_request:\n    paths-ignore:\n      - '.github/workflows/sources.yml'\n      - '.github/workflows/sonar.yml'\n      - '.github/workflows/macos.yml'\n      - '.github/workflows/windows.yml'\n      - 'tools/**'\n      - 'rtest/**'\n      - 'doc/**'\n      - '.appveyor.yml'\n      - '.coveragerc'\n      - '.gitattributes'\n      - '.pylintrc'\n      - '.travis.yml'\n      - '.whitesource'\n      - 'AUTHORS.txt'\n      - 'BUILD.rest'\n      - 'CHANGELOG.adoc'\n      - 'CONTRIBUTING.adoc'\n      - 'COPYRIGHT.txt'\n      - 'LICENSE.txt'\n      - 'MANIFEST.in'\n      - 'README.adoc'\n      - 'README.rest'\n      - 'rfgen.py'\n      - 'tox.ini'\n\njobs:\n  fedora:\n    name: Fedora\n    runs-on: ubuntu-latest\n    if: ${{ !contains(github.ref, '/debian/') }}\n    container:\n      image: fedora:latest\n      options: --privileged\n    steps:\n    - uses: actions/checkout@v3.3.0\n      with:\n        submodules: false\n    - name: Configure container environment\n      run: |\n        sudo dnf update -y\n        sudo dnf install -y git\n        git config --global --add safe.directory ${GITHUB_WORKSPACE}\n    - name: Setup environment\n      run: |\n        sudo dnf install -y sdl12-compat python3-wxpython4 xorg-x11-server-Xvfb python3-pip psmisc\n        sudo dnf downgrade -y mesa* --refresh\n        sudo -H pip install -r requirements-dev.txt\n    - name: Run tests\n      run: |\n        Xvfb &\n        export DISPLAY=:0\n        export GITHUB_ACTIONS=True\n        invoke test-ci\n    - name: Install and run\n      run: |\n        pip install .\n        xvfb-run --server-args=\"-screen 0, 1280x720x24\" -a ride.py &\n        sleep 10\n        killall xvfb-run\n  debian:\n    name: Debian\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    if: ${{ !contains(github.ref, '/fedora/') }}\n    steps:\n    - uses: actions/checkout@v3.3.0\n      with:\n        submodules: false\n    - name: Fetch tags\n      run: |\n        git fetch --prune --depth=1 --no-recurse-submodules\n    - name: Setup environment\n      run: |\n        sudo apt update -y\n        sudo apt install -y libsdl1.2debian libsdl2-2.0-0 libnotify4\n        sudo pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04/wxPython-4.2.1-cp310-cp310-linux_x86_64.whl\n        sudo pip install -r requirements-dev.txt\n    - name: Run tests\n      run: |\n        Xvfb &\n        export DISPLAY=:0\n        invoke test-ci\n    - name: Install and run\n      run: |\n        pip install .\n        xvfb-run --server-args=\"-screen 0, 1280x720x24\" -a ride.py &\n        sleep 10\n        killall xvfb-run\n", "state": "active", "repository": "robotframework/ride"}
{"mined_at": "2024-07-15T12:56:45.407853", "created_at": "2023-05-08T19:01:32+02:00", "updated_at": "2023-05-08T19:04:49+02:00", "name": "Sonar", "path": ".github/workflows/sonar.yml", "contents": "name: Sonar\non:\n  push:\n    branches:\n      - master\njobs:\n  sonarcloud:\n    name: SonarCloud\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Update ubuntu\n        run: sudo apt update -y\n      - name: Install missing library\n        run: sudo apt-get install libnotify4 libsdl1.2debian libsdl2.2 -y\n      - name: Install xorg\n        run: sudo apt-get install -y xorg openbox\n      - name: Install Xvfb\n        run: sudo apt-get install xvfb -y\n      - name: Setup Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install invoke and any other packages\n        run: pip install coverage invoke pytest\n      - name: Install wxPython\n        run: pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04/wxPython-4.2.0-cp310-cp310-linux_x86_64.whl\n      - name: Install RIDE dependencies\n        run: pip install -r requirements-dev.txt\n      - name: Run Xvfb\n        run: Xvfb :1 -noreset &\n      - name: Test Install RIDE\n        run: pip install .\n      - name: Run RIDE unit-tests\n        run: |\n          export DISPLAY=:1\n          invoke test-ci\n      - name: Analyze with SonarCloud\n        uses: sonarsource/sonarcloud-github-action@master\n        with:\n          projectBaseDir: ${{ github.workspace }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n          DISPLAY: :1\n\n", "state": "active", "repository": "robotframework/ride"}
{"mined_at": "2024-07-15T12:56:47.519167", "created_at": "2020-11-15T01:05:25+01:00", "updated_at": "2021-02-23T23:54:31+01:00", "name": "tests", "path": ".github/workflows/main.yml", "contents": "name: tests\n\non:\n  merge_group:\n  push:\n    branches-ignore:\n    # temporary GH branches relating to merge queues (jaraco/skeleton#93)\n    - gh-readonly-queue/**\n    tags:\n    # required if branches-ignore is supplied (jaraco/skeleton#103)\n    - '**'\n  pull_request:\n\npermissions:\n  contents: read\n\nenv:\n  # Environment variable to support color support (jaraco/skeleton#66)\n  FORCE_COLOR: 1\n\n  # Suppress noisy pip warnings\n  PIP_DISABLE_PIP_VERSION_CHECK: 'true'\n  PIP_NO_PYTHON_VERSION_WARNING: 'true'\n  PIP_NO_WARN_SCRIPT_LOCATION: 'true'\n\n  # Ensure tests can sense settings about the environment\n  TOX_OVERRIDE: >-\n    testenv.pass_env+=GITHUB_*,FORCE_COLOR\n\n\njobs:\n  test:\n    strategy:\n      # https://blog.jaraco.com/efficient-use-of-ci-resources/\n      matrix:\n        python:\n        - \"3.8\"\n        - \"3.12\"\n        platform:\n        - ubuntu-latest\n        - macos-latest\n        - windows-latest\n        include:\n        - python: \"3.9\"\n          platform: ubuntu-latest\n        - python: \"3.10\"\n          platform: ubuntu-latest\n        - python: \"3.11\"\n          platform: ubuntu-latest\n        - python: pypy3.10\n          platform: ubuntu-latest\n        - python: \"3.x\"\n          platform: ubuntu-latest\n    runs-on: ${{ matrix.platform }}\n    continue-on-error: ${{ matrix.python == '3.13' }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox\n\n  collateral:\n    strategy:\n      fail-fast: false\n      matrix:\n        job:\n        - diffcov\n        - docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Eval ${{ matrix.job }}\n        run: tox -e ${{ matrix.job }}\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n    - test\n    - collateral\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n\n  release:\n    permissions:\n      contents: write\n    needs:\n    - check\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox -e release\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "jaraco/inflect"}
{"mined_at": "2024-07-15T12:56:49.713754", "created_at": "2020-12-10T14:31:01+01:00", "updated_at": "2020-12-10T14:31:01+01:00", "name": "Publish", "path": ".github/workflows/pypi-publish.yml", "contents": "name: Publish\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  Publish:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n      - name: Build package\n        run: |\n          python setup.py sdist bdist_wheel\n      - name: Publish on PyPI\n        uses: pypa/gh-action-pypi-publish@v1.3.1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_token }}\n", "state": "active", "repository": "inveniosoftware/invenio"}
{"mined_at": "2024-07-15T12:56:50.754859", "created_at": "2020-12-10T14:20:41+01:00", "updated_at": "2020-12-10T14:20:41+01:00", "name": "CI", "path": ".github/workflows/tests.yml", "contents": "name: CI\n\non:\n  push:\n    branches: master\n  pull_request:\n    branches: master\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    - cron:  '0 3 * * 6'\n  workflow_dispatch:\n    inputs:\n      reason:\n        description: 'Reason'\n        required: false\n        default: 'Manual trigger'\n\njobs:\n  Tests:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n          python-version: [3.7, 3.8, 3.9]\n          requirements-level: [min, pypi]\n          cache-service: [redis]\n          db-service: [postgresql10, postgresql13, mysql5, mysql8]\n          mq-service: [rabbitmq, redis]\n          search-service: [elasticsearch7]\n\n          exclude:\n          # Add combinations to this list that should be excluded from the final\n          # build. Doing this will help keeping the number of jobs down.\n          # E.g. removing 3.8 - min combination will avoid 8 jobs to be submited\n          # [3.8] * [min] * [postgresql10, postgresql13, mysql5, mysql8] * [elasticsearch6, elasticsearch7]\n          - python-version: 3.8\n            requirements-level: min\n\n          - python-version: 3.9\n            requirements-level: min\n\n          - db-service: postgresql13\n            python-version: 3.7\n\n          - db-service: mysql8\n            python-version: 3.7\n          include:\n          - db-service: postgresql10\n            DB_EXTRAS: \"postgresql\"\n\n          - db-service: postgresql13\n            DB_EXTRAS: \"postgresql\"\n\n          - db-service: mysql5\n            DB_EXTRAS: \"mysql\"\n\n          - db-service: mysql8\n            DB_EXTRAS: \"mysql\"\n\n          - search-service: elasticsearch7\n            SEARCH_EXTRAS: \"elasticsearch7\"\n\n    env:\n      CACHE: ${{ matrix.cache-service }}\n      DB: ${{ matrix.db-service }}\n      MQ: ${{ matrix.mq-service }}\n      SEARCH: ${{ matrix.search-service }}\n      EXTRAS: all,${{ matrix.DB_EXTRAS }},${{matrix.SEARCH_EXTRAS}}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Generate dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools py wheel requirements-builder\n          requirements-builder -e \"$EXTRAS\" --level=${{ matrix.requirements-level }} setup.py > .${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt\n\n      - name: Cache pip\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('.${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt') }}\n\n      - name: Install dependencies\n        run: |\n          pip install -r .${{matrix.requirements-level}}-${{ matrix.python-version }}-requirements.txt\n          pip install \".[$EXTRAS]\"\n          pip freeze\n          docker --version\n          docker-compose --version\n\n      - name: Run tests\n        run: |\n          ./run-tests.sh\n", "state": "active", "repository": "inveniosoftware/invenio"}
{"mined_at": "2024-07-15T12:56:53.035088", "created_at": "2021-08-15T23:12:49+02:00", "updated_at": "2021-08-16T00:48:13+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\non: push\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n    - run: |\n        pip3 install -U pip\n        pip3 install -U pipenv\n        pip3 install pyyaml -U --force\n        pipenv run pip3 install pip\n        pipenv install --dev\n        pipenv run pip3 install pyyaml -U --force\n    - uses: actions/cache@v1\n      with:\n        path: ~/.local/share/virtualenvs\n        key: ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }}\n    - run: make test-pylint", "state": "active", "repository": "grow/grow"}
{"mined_at": "2024-07-15T12:56:54.080766", "created_at": "2022-01-12T18:04:22+01:00", "updated_at": "2022-01-12T19:18:47+01:00", "name": "Push to main", "path": ".github/workflows/main.yml", "contents": "name: 'Push to main'\non:\n  push:\n    branches:\n    - main\njobs:\n  # Evergreen docker image build from main.\n  docker-image:\n    runs-on: ubuntu-latest\n    env:\n      GOOGLE_CLOUD_PROJECT: 'grow-prod'\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Install\n        run: |\n          pip3 install -U pip\n          pip3 install -U pipenv\n          pip3 install pyyaml -U --force\n          pipenv run pip3 install pip\n          pipenv install --dev\n          pipenv run pip3 install pyyaml -U --force\n      - name: Build UI assets\n        run: |\n          make build-ui\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      - name: Log in to the GitHub ontainer registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Log in to the Google container registry\n        uses: docker/login-action@v1\n        with:\n          registry: gcr.io\n          username: _json_key\n          password: ${{ secrets.GCP_JSON_KEY }}\n      - name: Extract metadata (tags, labels) for Docker\n        uses: docker/metadata-action@v3\n        id: meta\n        with:\n          images: |\n            grow/base\n            ghcr.io/${{ github.repository }}\n            gcr.io/${{ env.GOOGLE_CLOUD_PROJECT }}/base\n      - name: Push grow/base\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: grow_version=git+https://github.com/grow/grow.git@main\n\n  # Release please configuration for deployment.\n  release-please:\n    runs-on: ubuntu-latest\n    env:\n      GOOGLE_CLOUD_PROJECT: 'grow-prod'\n    steps:\n      - uses: GoogleCloudPlatform/release-please-action@v2\n        id: release\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          release-type: python\n      - if: ${{ steps.release.outputs.release_created }}\n        uses: actions/checkout@v2\n      - if: ${{ steps.release.outputs.release_created }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.7\"\n      - if: ${{ steps.release.outputs.release_created }}\n        name: Install\n        run: |\n          pip3 install -U pip\n          pip3 install -U pipenv\n          pip3 install pyyaml -U --force\n          pipenv run pip3 install pip\n          pipenv install --dev\n          pipenv run pip3 install pyyaml -U --force\n      - if: ${{ steps.release.outputs.release_created }}\n        name: Build UI assets\n        run: |\n          make build-ui\n      - if: ${{ steps.release.outputs.release_created }}\n        name: Build package\n        run: |\n          rm -rf dist\n          pipenv run python setup.py sdist bdist_wheel\n      - if: ${{ steps.release.outputs.release_created }}\n        name: Upload to PyPi\n        run: |\n          pipenv run twine upload dist/grow*\n        env:\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n      - if: ${{ steps.release.outputs.release_created }}\n        name: Log in to Docker Hub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      - if: ${{ steps.release.outputs.release_created }}\n        name: Log in to the GitHub ontainer registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - if: ${{ steps.release.outputs.release_created }}\n        name: Log in to the Google container registry\n        uses: docker/login-action@v1\n        with:\n          registry: gcr.io\n          username: _json_key\n          password: ${{ secrets.GCP_JSON_KEY }}\n      - if: ${{ steps.release.outputs.release_created }}\n        name: Extract metadata (tags, labels) for Docker\n        uses: docker/metadata-action@v3\n        id: meta\n        with:\n          images: |\n            grow/base\n            ghcr.io/${{ github.repository }}\n            gcr.io/${{ env.GOOGLE_CLOUD_PROJECT }}/base\n      - if: ${{ steps.release.outputs.release_created }}\n        name: Push grow/base\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }},grow/base:latest,grow/base:${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }},ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }},gcr.io/${{ env.GOOGLE_CLOUD_PROJECT }}/base:latest,gcr.io/${{ env.GOOGLE_CLOUD_PROJECT }}/base:${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: grow_version=grow==${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}\n", "state": "active", "repository": "grow/grow"}
{"mined_at": "2024-07-15T12:56:55.129834", "created_at": "2021-08-14T23:20:43+02:00", "updated_at": "2021-08-16T00:48:13+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\non: push\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-latest, ubuntu-latest]\n    timeout-minutes: 10\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n    - run: |\n        pip3 install -U pip\n        pip3 install -U pipenv\n        pip3 install pyyaml -U --force\n        pipenv run pip3 install pip\n        pipenv install --dev\n        pipenv run pip3 install pyyaml -U --force\n    - uses: actions/cache@v1\n      with:\n        path: ~/.local/share/virtualenvs\n        key: ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }}\n    - run: make build-ui\n    - run: make test-nosetests\n    - run: pipenv run codecov\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n    - run: ./scripts/grow build ./grow/testing/testdata/pod", "state": "active", "repository": "grow/grow"}
{"mined_at": "2024-07-15T12:56:58.344475", "created_at": "2021-07-13T15:47:49+02:00", "updated_at": "2021-11-05T15:49:32+01:00", "name": "DockerImage", "path": ".github/workflows/docker-image.yml", "contents": "name: DockerImage\n\non:\n  push:\n    branches: [ dev ]\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          file: docker/Dockerfile.finn\n          context: .\n          push: true\n          tags: maltanar/finn:dev_latest\n      -\n        name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "xilinx/finn"}
{"mined_at": "2024-07-15T12:56:59.382123", "created_at": "2021-06-28T14:30:58+02:00", "updated_at": "2021-11-05T15:49:32+01:00", "name": "Pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: Pre-commit\n\non:\n  pull_request:\n    branches: [ main, dev ]\n  push:\n    branches: [ main, dev ]\n\njobs:\n  lint:\n    name: Lint PR or Push to DEV\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Run Lint\n        uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "xilinx/finn"}
{"mined_at": "2024-07-15T12:57:00.410421", "created_at": "2020-05-20T15:19:26+02:00", "updated_at": "2022-07-14T19:13:31+02:00", "name": "QuicktestPRAgainstDev", "path": ".github/workflows/quicktest-dev-pr.yml", "contents": "name: QuicktestPRAgainstDev\n\non:\n  pull_request:\n    branches: [ dev ]\n  push:\n    branches: [ dev ]\n\n\njobs:\n\n  test:\n    name: Run quicktest on PR branch\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: checkout\n        uses: actions/checkout@v3\n\n      - name: DockerRunQuicktest\n        run: |\n          export FINN_ROOT=$(pwd)\n          export FINN_BUILD_DIR=/tmp/finn_gha\n          export FINN_INST_NAME=finn_gha\n          ./run-docker.sh quicktest\n", "state": "active", "repository": "xilinx/finn"}
{"mined_at": "2024-07-15T12:57:01.422497", "created_at": "2023-08-03T18:17:48+02:00", "updated_at": "2023-08-03T18:17:48+02:00", "name": "SingularityQuicktest", "path": ".github/workflows/singularity-quicktest.yml", "contents": null, "state": "active", "repository": "xilinx/finn"}
{"mined_at": "2024-07-15T12:57:02.471638", "created_at": "2022-03-14T12:47:46+01:00", "updated_at": "2022-03-14T12:47:46+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "xilinx/finn"}
{"mined_at": "2024-07-15T12:57:04.574599", "created_at": "2023-11-15T22:22:11+01:00", "updated_at": "2023-11-15T22:22:11+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "rtiinternational/smart"}
{"mined_at": "2024-07-15T12:57:05.615257", "created_at": "2022-01-07T22:09:57+01:00", "updated_at": "2022-01-07T22:09:57+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "rtiinternational/smart"}
{"mined_at": "2024-07-15T12:57:08.771918", "created_at": "2021-02-12T02:47:26+01:00", "updated_at": "2021-03-10T03:26:31+01:00", "name": "codacy-coverage-reporter", "path": ".github/workflows/codacy_coverage.yml", "contents": "name: codacy-coverage-reporter\n\non: [\"push\"]\n\njobs:\n  codacy-coverage-reporter:\n    runs-on: ubuntu-latest\n    name: codacy-coverage-reporter\n    steps:\n      - uses: actions/checkout@master\n      - name: Run codacy-coverage-reporter\n        uses: codacy/codacy-coverage-reporter-action@master\n        with:\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          coverage-reports: cobertura.xml\n", "state": "disabled_manually", "repository": "jrkerns/pylinac"}
{"mined_at": "2024-07-15T12:57:09.810000", "created_at": "2021-02-12T01:23:43+01:00", "updated_at": "2021-03-10T03:26:38+01:00", "name": "PYPI_Upload", "path": ".github/workflows/pypi_upload.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: PYPI_Upload\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n      - uses: casperdcl/deploy-pypi@v2\n        with:\n          user: ${{ secrets.PYPI_USERNAME }}\n          password: ${{ secrets.PYPI_PASSWORD }}\n          check: false\n          build: true\n          # only upload if a tag is pushed (otherwise just build & check)\n          upload: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }}\n", "state": "disabled_manually", "repository": "jrkerns/pylinac"}
{"mined_at": "2024-07-15T12:57:10.861252", "created_at": "2021-02-12T00:16:53+01:00", "updated_at": "2021-02-12T00:16:53+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\n  workflow_dispatch:\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "jrkerns/pylinac"}
{"mined_at": "2024-07-15T12:57:11.907187", "created_at": "2023-05-13T20:22:39+02:00", "updated_at": "2023-05-13T20:22:39+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "jrkerns/pylinac"}
{"mined_at": "2024-07-15T12:57:14.069620", "created_at": "2021-04-27T19:09:45+02:00", "updated_at": "2024-04-02T19:36:02+02:00", "name": "Documentation Check", "path": ".github/workflows/docs.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a\n# variety of Python versions. For more information see:\n# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Documentation Check\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: [\"ubuntu-latest\"]\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n\n    name: Documentation tests\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: pip install .[doc]\n\n    - name: Set up pysat\n      run: |\n        mkdir pysatData\n        python -c \"import pysat; pysat.params['data_dirs'] = './pysatData'\"\n\n    - name: Check documentation build\n      run: sphinx-build -E -b html docs dist/docs\n\n    - name: Check documentation links\n      run: sphinx-build -b linkcheck docs dist/docs\n\n    - name: Load .zenodo.json to check for errors\n      run: python -c \"import json; json.loads(open('.zenodo.json').read())\"\n", "state": "active", "repository": "pysat/pysat"}
{"mined_at": "2024-07-15T12:57:15.106919", "created_at": "2021-04-27T19:09:45+02:00", "updated_at": "2024-07-09T20:05:16+02:00", "name": "Pytest with Flake8", "path": ".github/workflows/main.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a\n# variety of Python versions. For more information see:\n# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Pytest with Flake8\n\non: [push, pull_request]\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"windows-latest\", \"macos-latest\"]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        numpy_ver: [\"latest\"]\n        test_config: [\"latest\"]\n        include:\n          # NEP29 compliance settings\n          - python-version: \"3.9\"\n            numpy_ver: \"1.23\"\n            os: ubuntu-latest\n            test_config: \"NEP29\"\n          # Operational compliance settings\n          - python-version: \"3.6.8\"\n            numpy_ver: \"1.19.5\"\n            os: \"ubuntu-20.04\"\n            test_config: \"Ops\"\n\n    name: Python ${{ matrix.python-version }} on ${{ matrix.os }} with numpy ${{ matrix.numpy_ver }}\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Operational dependencies\n      if: ${{ matrix.test_config == 'Ops'}}\n      run: |\n        pip install numpy==${{ matrix.numpy_ver }}\n        pip install -r requirements.txt\n        pip install -r test_requirements.txt\n        pip install .\n\n    - name: Install NEP29 dependencies\n      if: ${{ matrix.test_config == 'NEP29'}}\n      run: |\n        pip install numpy==${{ matrix.numpy_ver }}\n        pip install --upgrade-strategy only-if-needed .[test]\n\n    - name: Install standard dependencies\n      if: ${{ matrix.test_config == 'latest'}}\n      run: pip install .[test]\n\n    - name: Set up pysat\n      run: |\n        mkdir pysatData\n        python -c \"import pysat; pysat.params['data_dirs'] = 'pysatData'\"\n\n    - name: Test PEP8 compliance\n      run: flake8 . --count --select=D,E,F,H,W --show-source --statistics\n\n    - name: Evaluate complexity\n      run: flake8 . --count --exit-zero --max-complexity=10 --statistics\n\n    - name: Test with pytest\n      run: pytest\n\n    - name: Publish results to coveralls\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_PARALLEL: true\n      run: coveralls --rcfile=pyproject.toml --service=github\n\n  finish:\n    name: Finish Coverage Analysis\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n    - name: Coveralls Finished\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        pip install --upgrade coveralls\n        coveralls --service=github --finish\n", "state": "active", "repository": "pysat/pysat"}
{"mined_at": "2024-07-15T12:57:16.129317", "created_at": "2023-08-07T21:18:03+02:00", "updated_at": "2024-04-10T18:18:11+02:00", "name": "Test install of latest RC from pip", "path": ".github/workflows/pip_rc_install.yml", "contents": "# This workflow will install Python dependencies and the latest RC of pysat from\n# test pypi. This test should be manually run before a pysat RC is officially\n# approved and versioned. For more information see:\n# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test install of latest RC from pip\n\non: [workflow_dispatch]\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        python-version: [\"3.11\"]  # Keep this version at the highest supported Python version\n\n    name: Python ${{ matrix.python-version }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install standard dependencies\n      run: pip install -r requirements.txt\n\n    - name: Install pysat RC\n      run: pip install --no-deps --pre -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ pysat\n\n    - name: Set up pysat\n      run: |\n        mkdir pysatData\n        python -c \"import pysat; pysat.params['data_dirs'] = 'pysatData'\"\n\n    - name: Check that install imports correctly\n      run: |\n        cd ..\n        python -c \"import pysat; print(pysat.__version__)\"\n", "state": "active", "repository": "pysat/pysat"}
{"mined_at": "2024-07-15T12:57:17.226508", "created_at": "2021-10-07T01:53:35+02:00", "updated_at": "2022-07-22T16:52:28+02:00", "name": "Statistics of supported instruments", "path": ".github/workflows/stats.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a\n# variety of Python versions. For more information see:\n# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Statistics of supported instruments\n\non:\n  workflow_dispatch\n\njobs:\n  build:\n\n    runs-on: [\"ubuntu-latest\"]\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n\n    name: Summary of instrument libraries\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        pip install .[test]\n        pip install `awk '{print $1}' ecosystem.txt`\n\n    - name: Set up pysat\n      run: |\n        mkdir pysatData\n        python -c \"import pysat; pysat.params['data_dirs'] = 'pysatData'\"\n\n    - name: Count supported instruments\n      run: |\n        import logging\n        import pysat\n\n        # Supress warnings generated by instrument instantiation\n        pysat.logger.setLevel(logging.ERROR)\n\n        # Get list of libraries to check\n        with open('ecosystem.txt') as file:\n            lines = file.readlines()\n        inst_locs = []\n        for line in lines:\n            vals = line.strip('\\n').split(' ')\n            exec(\"import {x}\".format(x=vals[0]))\n            exec(\"inst_locs.append({x}.{y})\".format(x=vals[0], y=vals[1]))\n\n        # Display supported instrument stats\n        pysat.utils.display_instrument_stats(inst_locs=inst_locs)\n\n      shell: python\n", "state": "active", "repository": "pysat/pysat"}
{"mined_at": "2024-07-15T12:57:18.202598", "created_at": "2022-07-22T16:51:30+02:00", "updated_at": "2022-07-22T16:51:30+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pysat/pysat"}
{"mined_at": "2024-07-15T12:57:20.299186", "created_at": "2024-03-27T16:14:07+01:00", "updated_at": "2024-03-27T16:14:07+01:00", "name": ".github/workflows/_check.yml", "path": ".github/workflows/_check.yml", "contents": "on:\n  workflow_call:\n    outputs:\n      branch-pr:\n        description: The PR number if the branch is in one\n        value: ${{ jobs.pr.outputs.branch-pr }}\n\njobs:\n  pr:\n    runs-on: \"ubuntu-latest\"\n    outputs:\n      branch-pr: ${{ steps.script.outputs.result }}\n    steps:\n      - uses: actions/github-script@v7\n        id: script\n        if: github.event_name == 'push'\n        with:\n          script: |\n            const prs = await github.rest.pulls.list({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              head: context.repo.owner + ':${{ github.ref_name }}'\n            })\n            if (prs.data.length) {\n              console.log(`::notice ::Skipping CI on branch push as it is already run in PR #${prs.data[0][\"number\"]}`)\n              return prs.data[0][\"number\"]\n            }\n", "state": "active", "repository": "bluesky/bluesky"}
{"mined_at": "2024-07-15T12:57:21.345720", "created_at": "2024-03-27T16:14:07+01:00", "updated_at": "2024-03-27T16:14:07+01:00", "name": ".github/workflows/_dist.yml", "path": ".github/workflows/_dist.yml", "contents": "on:\n  workflow_call:\n\njobs:\n  build:\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          # Need this to get version number from last tag\n          fetch-depth: 0\n\n      - name: Build sdist and wheel\n        run: >\n          export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) &&\n          pipx run build\n\n      - name: Upload sdist and wheel as artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist\n\n      - name: Check for packaging errors\n        run: pipx run twine check --strict dist/*\n\n      - name: Install produced wheel\n        uses: ./.github/actions/install_requirements\n        with:\n          pip-install: dist/*.whl\n\n      - name: Test module is importable using the installed wheel\n        # If more than one module in src/ replace with module name to test\n        run: python -c \"import $(ls --hide='*.egg-info' src | head -1)\"\n", "state": "active", "repository": "bluesky/bluesky"}
{"mined_at": "2024-07-15T12:57:22.394448", "created_at": "2024-03-27T16:14:07+01:00", "updated_at": "2024-03-27T16:14:07+01:00", "name": ".github/workflows/_docs.yml", "path": ".github/workflows/_docs.yml", "contents": "on:\n  workflow_call:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Avoid git conflicts when tag and branch pushed at same time\n        if: github.ref_type == 'tag'\n        run: sleep 60\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          # Need this to get version number from last tag\n          fetch-depth: 0\n\n      - name: Install system packages\n        run: sudo apt-get install graphviz\n\n      - name: Install python packages\n        uses: ./.github/actions/install_requirements\n\n      - name: Build docs\n        run: tox -e docs\n\n      - name: Remove environment.pickle\n        run: rm build/html/.doctrees/environment.pickle\n\n      - name: Upload built docs artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs\n          path: build\n\n      - name: Sanitize ref name for docs version\n        run: echo \"DOCS_VERSION=${GITHUB_REF_NAME//[^A-Za-z0-9._-]/_}\" >> $GITHUB_ENV\n\n      - name: Move to versioned directory\n        run: mv build/html .github/pages/$DOCS_VERSION\n\n      - name: Write switcher.json\n        run: python .github/pages/make_switcher.py --add $DOCS_VERSION ${{ github.repository }} .github/pages/switcher.json\n\n      - name: Publish Docs to gh-pages\n        if: github.ref_type == 'tag' || github.ref_name == 'main'\n        # We pin to the SHA, not the tag, for security reasons.\n        # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions\n        uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: .github/pages\n          keep_files: true", "state": "active", "repository": "bluesky/bluesky"}
{"mined_at": "2024-07-15T12:57:23.561093", "created_at": "2024-03-27T16:14:07+01:00", "updated_at": "2024-03-27T16:14:07+01:00", "name": ".github/workflows/_pypi.yml", "path": ".github/workflows/_pypi.yml", "contents": "on:\n  workflow_call:\n\njobs:\n  upload:\n    runs-on: ubuntu-latest\n    environment: release\n\n    steps:\n      - name: Download dist artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist\n\n      - name: Publish to PyPI using trusted publishing\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "bluesky/bluesky"}
{"mined_at": "2024-07-15T12:57:24.627018", "created_at": "2024-03-27T16:14:07+01:00", "updated_at": "2024-03-27T16:14:07+01:00", "name": ".github/workflows/_release.yml", "path": ".github/workflows/_release.yml", "contents": "on:\n  workflow_call:\n\njobs:\n  artifacts:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n\n      - name: Zip up docs\n        run: |\n          set -vxeuo pipefail\n          if [ -d html ]; then\n            mv html $GITHUB_REF_NAME\n            zip -r docs.zip $GITHUB_REF_NAME\n            rm -rf $GITHUB_REF_NAME\n          fi\n\n      - name: Create GitHub Release\n        # We pin to the SHA, not the tag, for security reasons.\n        # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions\n        uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15\n        with:\n          prerelease: ${{ contains(github.ref_name, 'a') || contains(github.ref_name, 'b') || contains(github.ref_name, 'rc') }}\n          files: \"*\"\n          generate_release_notes: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bluesky/bluesky"}
{"mined_at": "2024-07-15T12:57:25.649173", "created_at": "2024-03-27T16:14:07+01:00", "updated_at": "2024-03-27T16:14:07+01:00", "name": ".github/workflows/_test.yml", "path": ".github/workflows/_test.yml", "contents": "on:\n  workflow_call:\n    inputs:\n      python-version:\n        type: string\n        description: The version of python to install\n        required: true\n      runs-on:\n        type: string\n        description: The runner to run this job on\n        required: true\n    secrets:\n      CODECOV_TOKEN:\n        required: true\n\nenv:\n  # https://github.com/pytest-dev/pytest/issues/2042\n  PY_IGNORE_IMPORTMISMATCH: \"1\"\n\njobs:\n  run:\n    runs-on: ${{ inputs.runs-on }}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          # Need this to get version number from last tag\n          fetch-depth: 0\n\n      - if: inputs.python-version == 'dev'\n        name: Install dev versions of python packages\n        uses: ./.github/actions/install_requirements\n\n      - if: inputs.python-version == 'dev'\n        name: Write the requirements as an artifact\n        run: pip freeze --exclude-editable > /tmp/dev-requirements.txt\n\n      - if: inputs.python-version == 'dev'\n        name: Upload dev-requirements.txt\n        uses: actions/upload-artifact@v4\n        with:\n          name: dev-requirements\n          path: /tmp/dev-requirements.txt\n\n      - if: inputs.python-version != 'dev'\n        name: Install latest versions of python packages\n        uses: ./.github/actions/install_requirements\n        with:\n          python-version: ${{ inputs.python-version }}\n          pip-install: \".[dev]\"\n\n      - name: Run tests\n        run: tox -e tests\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          name: ${{ inputs.python-version }}/${{ inputs.runs-on }}\n          files: cov.xml\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "bluesky/bluesky"}
{"mined_at": "2024-07-15T12:57:26.671219", "created_at": "2024-03-27T16:14:07+01:00", "updated_at": "2024-03-27T16:14:07+01:00", "name": ".github/workflows/_tox.yml", "path": ".github/workflows/_tox.yml", "contents": "on:\n  workflow_call:\n    inputs:\n      tox:\n        type: string\n        description: What to run under tox\n        required: true\n\n\njobs:\n  run:\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install python packages\n        uses: ./.github/actions/install_requirements\n\n      - name: Run tox\n        run: tox -e ${{ inputs.tox }}\n", "state": "active", "repository": "bluesky/bluesky"}
{"mined_at": "2024-07-15T12:57:27.708748", "created_at": "2024-03-08T14:34:07+01:00", "updated_at": "2024-03-27T16:14:07+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n  pull_request:\n\njobs:\n  check:\n    uses: ./.github/workflows/_check.yml\n\n  lint:\n    needs: check\n    if: needs.check.outputs.branch-pr == ''\n    uses: ./.github/workflows/_tox.yml\n    with:\n      tox: pre-commit,type-checking\n\n  test:\n    needs: check\n    if: needs.check.outputs.branch-pr == ''\n    strategy:\n      matrix:\n        runs-on: [\"ubuntu-latest\"] # can add windows-latest, macos-latest\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          # Include one that runs in the dev environment\n          - runs-on: \"ubuntu-latest\"\n            python-version: \"dev\"\n      fail-fast: false\n    uses: ./.github/workflows/_test.yml\n    with:\n      runs-on: ${{ matrix.runs-on }}\n      python-version: ${{ matrix.python-version }}\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  docs:\n    needs: check\n    if: needs.check.outputs.branch-pr == ''\n    uses: ./.github/workflows/_docs.yml\n\n  dist:\n    needs: check\n    if: needs.check.outputs.branch-pr == ''\n    uses: ./.github/workflows/_dist.yml\n  \n  pypi:\n    if: github.ref_type == 'tag'\n    needs: dist\n    uses: ./.github/workflows/_pypi.yml\n    permissions:\n      id-token: write\n  \n  release:\n    if: github.ref_type == 'tag'\n    needs: [dist, docs]\n    uses: ./.github/workflows/_release.yml\n    permissions:\n      contents: write\n", "state": "active", "repository": "bluesky/bluesky"}
{"mined_at": "2024-07-15T12:57:28.740303", "created_at": "2024-03-27T16:14:07+01:00", "updated_at": "2024-03-27T16:14:07+01:00", "name": "Periodic", "path": ".github/workflows/periodic.yml", "contents": "name: Periodic\n\non:\n  workflow_dispatch:\n  schedule:\n    # Run weekly to check URL links still resolve\n    - cron: \"0 8 * * WED\"\n\njobs:\n  linkcheck:\n    uses: ./.github/workflows/_tox.yml\n    with:\n      tox: docs build -- -b linkcheck\n", "state": "active", "repository": "bluesky/bluesky"}
{"mined_at": "2024-07-15T12:57:29.732539", "created_at": "2024-04-17T16:12:56+02:00", "updated_at": "2024-04-17T16:12:56+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "bluesky/bluesky"}
{"mined_at": "2024-07-15T12:57:32.049427", "created_at": "2020-11-26T11:12:58+01:00", "updated_at": "2024-02-20T22:37:39+01:00", "name": "CmdStanPy", "path": ".github/workflows/main.yml", "contents": "name: CmdStanPy\n\non:\n  push:\n    branches:\n      - 'develop'\n      - 'master'\n    tags:\n      - '**'\n  pull_request:\n  workflow_dispatch:\n    inputs:\n      cmdstan-version:\n        description: 'Version to test'\n        required: false\n        default: ''\n\n# only run one copy per PR\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  get-cmdstan-version:\n    # get the latest cmdstan version to use as part of the cache key\n    name: grab version\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get CmdStan version\n        id: check-cmdstan\n        run: |\n            if [[ \"${{ github.event.inputs.cmdstan-version }}\" != \"\" ]]; then\n              echo \"version=${{ github.event.inputs.cmdstan-version }}\" >> $GITHUB_OUTPUT\n            else\n              python -c 'import requests;print(\"version=\"+requests.get(\"https://api.github.com/repos/stan-dev/cmdstan/releases/latest\").json()[\"tag_name\"][1:])' >> $GITHUB_OUTPUT\n            fi\n    outputs:\n      version: ${{ steps.check-cmdstan.outputs.version }}\n\n  cmdstanpy:\n    needs: get-cmdstan-version\n    name: tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    env:\n      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - name: Check out github\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: python -m pip install --upgrade pip wheel build\n\n      - name: Build package\n        run: |\n          python -m build\n          python -m pip install .[test]\n\n      - name: Show libraries\n        run: python -m pip freeze\n\n      - name: Run flake8, pylint, mypy\n        if: matrix.python-version == '3.11'\n        run: |\n          flake8 cmdstanpy test\n          pylint -v cmdstanpy test\n          mypy cmdstanpy\n\n      - name: CmdStan installation cacheing\n        id: cache-cmdstan\n        if: ${{ !startswith(needs.get-cmdstan-version.outputs.version, 'git:') }}\n        uses: actions/cache@v4\n        with:\n          path: ~/.cmdstan\n          key: ${{ runner.os }}-cmdstan-${{ needs.get-cmdstan-version.outputs.version }}-${{ hashFiles('**/install_cmdstan.py') }}\n\n      - name: Delete precompiled header (MacOS)\n        if: matrix.os == 'macos-latest' && steps.cache-cmdstan.outputs.cache-hit == 'true'\n        run: rm -rf ~/.cmdstan/cmdstan-${{ needs.get-cmdstan-version.outputs.version }}/stan/src/stan/model/*.hpp.gch\n\n      - name: Install CmdStan (Linux, macOS)\n        if: matrix.os != 'windows-latest'\n        run: |\n          install_cmdstan -h\n          install_cxx_toolchain -h\n          python -c \"import cmdstanpy; cmdstanpy.install_cmdstan(version='${{ needs.get-cmdstan-version.outputs.version }}', cores=4)\"\n\n      - name: Install CmdStan (Windows)\n        if: matrix.os == 'windows-latest'\n        run: |\n          install_cmdstan -h\n          install_cxx_toolchain -h\n          python -m cmdstanpy.install_cmdstan --version ${{ needs.get-cmdstan-version.outputs.version }} --cores 4\n\n      - name: Run tests\n        run: |\n          mkdir run_tests\n          cd run_tests\n          pytest -v ../test --cov=../cmdstanpy\n\n      - name: Submit codecov\n        run: |\n          pip install codecov\n          cd run_tests\n          codecov\n", "state": "active", "repository": "stan-dev/cmdstanpy"}
{"mined_at": "2024-07-15T12:57:33.167044", "created_at": "2021-02-16T19:26:30+01:00", "updated_at": "2021-03-23T18:54:49+01:00", "name": "ReleaseCmdStanPy", "path": ".github/workflows/release.yml", "contents": "name: ReleaseCmdStanPy\n\non:\n  workflow_dispatch:\n    inputs:\n      new_version:\n        description: 'New version, for example: 0.9.69'\n        required: true\n\njobs:\n  release-cmdstanpy:\n    name: publish release and update read the docs default version\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.9]\n      fail-fast: false\n    steps:\n      - name: Check out source code\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install os dependencies\n        run: |\n          sudo apt-get update -y\n          sudo apt-get install pandoc -y\n\n      - name: Install dependencies (python)\n        run: |\n          python -m pip install --upgrade pip wheel build twine requests\n          pip install -e .[docs,test]\n\n      - name: Install CmdStan\n        run: |\n          python -m cmdstanpy.install_cmdstan --verbose --cores 4\n\n      - name: Setup git identity\n        run: |\n          git config --global user.name \"github-actions[bot]\"\n          git config --global user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n\n      - name: Create release branch\n        run: |\n          git checkout -b release/v${{ github.event.inputs.new_version }}\n\n          sed -i 's/^__version__ = .*$/__version__ = '\\''${{ github.event.inputs.new_version }}'\\''/g' cmdstanpy/_version.py\n\n          cd docsrc\n          make github\n          cd ..\n\n          git add .\n          git commit -m \"release/v${{ github.event.inputs.new_version }}: updating version numbers\"\n          git push -u origin release/v${{ github.event.inputs.new_version }}\n\n      - name: Merge into develop\n        run: |\n          git checkout develop\n          git reset --hard release/v${{ github.event.inputs.new_version }}\n          git push origin develop\n\n      - name: Tag version\n        run: |\n          git checkout develop\n          git tag -a \"v${{ github.event.inputs.new_version }}\" -m \"Tagging v${{ github.event.inputs.new_version }}\"\n          git push origin \"v${{ github.event.inputs.new_version }}\"\n\n      - name: Update master to new released version\n        run: |\n          git fetch origin\n          git checkout master\n          git pull\n          git reset --hard v${{ github.event.inputs.new_version }}\n          git push -f origin master\n\n      - name: Build wheel\n        run: python -m build\n\n      - name: Install bdist_wheel\n        run: pip install dist/*.whl\n\n      - name: Upload to pypi\n        if: success()\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: python -m twine upload -u ${TWINE_USERNAME} -p ${TWINE_PASSWORD} --skip-existing dist/*\n\n      - name: Change default version in readthedocs.io\n        if: success()\n        env:\n          RTD_USERNAME: ${{ secrets.RTD_USERNAME }}\n          RTD_PASSWORD: ${{ secrets.RTD_PASSWORD }}\n        run: python rtd_change_default_version.py cmdstanpy ${RTD_USERNAME} ${RTD_PASSWORD} v${{ github.event.inputs.new_version }}\n", "state": "active", "repository": "stan-dev/cmdstanpy"}
{"mined_at": "2024-07-15T12:57:34.148878", "created_at": "2021-12-17T18:34:36+01:00", "updated_at": "2021-12-17T18:34:36+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "stan-dev/cmdstanpy"}
{"mined_at": "2024-07-15T12:57:36.451889", "created_at": "2020-12-11T00:09:06+01:00", "updated_at": "2020-12-11T00:09:06+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  push:\n    branches: [ v2 ]\n  pull_request:\n    branches: [ '**'  ]\n\njobs:\n  build:\n\n    runs-on: ${{matrix.os}}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, windows-latest]\n        extension_support: [0, 1]\n   \n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python \n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n    - name: Ubuntu \n      if: matrix.os == 'ubuntu-20.04'\n      run: | \n        sudo apt-get update\n        sudo apt-get install -y software-properties-common\n        sudo apt-get install -y build-essential\n        sudo apt-get install -y python3-dev python3-pip python3-virtualenv\n        sudo apt-get install -y pkg-config libssl-dev libdbus-1-dev libdbus-glib-1-dev python-dbus libffi-dev libkrb5-dev\n\n    - name: Install dependencies\n      run: |\n        pip install ./sign_client\n        pip install external/okta-0.0.3.1-py2.py3-none-any.whl\n        pip install -e .\n        pip install -e .[test]\n        pip install -e .[setup]\n    - name: Create build\n      env:\n        UST_EXTENSION: ${{ matrix.extension_support }}\n      run: make\n    - name: Test with pytest\n      run: pytest\n", "state": "active", "repository": "adobe-apiplatform/user-sync.py"}
{"mined_at": "2024-07-15T12:57:37.672622", "created_at": "2021-11-04T19:16:05+01:00", "updated_at": "2021-11-04T19:16:05+01:00", "name": "Package", "path": ".github/workflows/package.yml", "contents": "name: Package\n\non:\n  push:\n    tags:\n    - 'v*'\n\njobs:\n  ubuntu-jammy:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        include:\n          - extension_support: 0\n            variant_tag: \"-noext\"\n          - extension_support: 1\n            variant_tag: \"\"\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.11'\n    - name: Get version tag\n      id: get_version\n      uses: battila7/get-version-action@v2\n    - name: Ubuntu dependencies\n      run: |\n        sudo apt update\n        sudo apt-get install -y software-properties-common \\\n                                build-essential \\\n                                python3-dev python3-pip python3.11-venv \\\n                                pkg-config libssl-dev libdbus-1-dev libdbus-glib-1-dev libffi-dev libkrb5-dev\n    - name: Build the executable\n      run: |\n        python3 -m venv venv\n        source venv/bin/activate\n        pip install ./sign_client\n        pip install external/okta-0.0.3.1-py2.py3-none-any.whl\n        pip install -e .\n        pip install -e .[test]\n        pip install -e .[setup]\n        make\n      env:\n        UST_EXTENSION: ${{matrix.extension_support}}\n    - name: Get build\n      run: |\n        cd dist\n        tar czf \"user-sync-${UST_VERSION}${UST_VARIANT_TAG}-ubuntu_jammy.tar.gz\" user-sync\n      env:\n        UST_VARIANT_TAG: ${{matrix.variant_tag}}\n        UST_VERSION: ${{ steps.get_version.outputs.version }}\n    - name: Make artifacts\n      uses: actions/upload-artifact@v2\n      with:\n          name: ubuntu-jammy\n          path: dist/*.tar.gz\n          retention-days: 30\n\n  ubuntu-focal:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        include:\n          - extension_support: 0\n            variant_tag: \"-noext\"\n          - extension_support: 1\n            variant_tag: \"\"\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n    - name: Get version tag\n      id: get_version\n      uses: battila7/get-version-action@v2\n    - name: Ubuntu-Install dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y software-properties-common\n        sudo apt-get install -y build-essential\n        sudo apt-get install -y python3-dev python3-pip python3-virtualenv\n        sudo apt-get install -y pkg-config libssl-dev libdbus-1-dev libdbus-glib-1-dev python-dbus libffi-dev libkrb5-dev\n    - run: |\n        pip install ./sign_client\n        pip install external/okta-0.0.3.1-py2.py3-none-any.whl\n        pip install -e .\n        pip install -e .[test]\n        pip install -e .[setup]\n    - name: Build executable\n      run: make\n      env:\n        UST_EXTENSION: ${{matrix.extension_support}}\n    - name: Get build\n      run: |\n        cd dist\n        tar czf \"user-sync-${UST_VERSION}${UST_VARIANT_TAG}-ubuntu_focal.tar.gz\" user-sync\n      env:\n        UST_VARIANT_TAG: ${{matrix.variant_tag}}\n        UST_VERSION: ${{ steps.get_version.outputs.version }}\n    - name: Make artifacts\n      uses: actions/upload-artifact@v2\n      with:\n          name: ubuntu-focal\n          path: dist/*.tar.gz\n          retention-days: 30\n\n  windows:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        include:\n          - extension_support: 0\n            variant_tag: \"-noext\"\n          - extension_support: 1\n            variant_tag: \"\"\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n    - name: Get version tag\n      id: get_version\n      uses: battila7/get-version-action@v2\n    - run: |\n        pip install ./sign_client\n        pip install external/okta-0.0.3.1-py2.py3-none-any.whl\n        pip install -e .\n        pip install -e .[test]\n        pip install -e .[setup]\n    - run: make standalone\n      env:\n        UST_EXTENSION: ${{matrix.extension_support}}\n    - name: Get build\n      run: |\n         cd dist\n         7z a user-sync-${{ steps.get_version.outputs.version }}${{matrix.variant_tag}}-win64.zip user-sync.exe\n    - name: Make artifact\n      uses: actions/upload-artifact@v2\n      with:\n        name: windows\n        path: dist/*.zip\n        retention-days: 30\n\n  centos:\n    runs-on: ubuntu-latest\n    env:\n      LC_ALL: en_US.utf8\n      LANG: en_US.utf8\n    container:\n      image: centos:7\n    strategy:\n      matrix:\n        include:\n          - extension_support: 0\n            variant_tag: \"-noext\"\n          - extension_support: 1\n            variant_tag: \"\"\n    steps:\n      - uses: actions/checkout@v2\n      - name: Get version tag\n        id: get_version\n        uses: battila7/get-version-action@v2\n      - name: Centos-Install dependencies\n        run: |\n          yum install -y pkgconfig gcc openssl-devel dbus-glib-devel dbus-python sqlite-devel libffi-devel wget make\n          mkdir tmp && cd tmp\n          wget https://www.python.org/ftp/python/3.9.7/Python-3.9.7.tgz\n          tar xzf Python-3.9.7.tgz\n          cd Python-3.9.7\n          ./configure --enable-optimizations --enable-shared --enable-loadable-sqlite-extensions\n          make altinstall\n          cd ../..\n      - name: Build executable\n        run: |\n          export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/\n          /usr/local/bin/python3.9 -m venv venv\n          source venv/bin/activate\n          # for some reason, pycryptodome won't install when\n          # setuptools is installed/upgraded, so install it before\n          # install/upgrade setuptools\n          pip install pycryptodome==3.9.7\n          python -m pip install --upgrade pip pyinstaller setuptools\n          pip install ./sign_client\n          pip install external/okta-0.0.3.1-py2.py3-none-any.whl\n          pip install -e .\n          pip install -e .[test]\n          pip install -e .[setup]\n          make\n          deactivate\n        env:\n          UST_EXTENSION: ${{matrix.extension_support}}\n      - name: Get build\n        run: |\n          cd dist\n          tar czf \"user-sync-${UST_VERSION}${UST_VARIANT_TAG}-centos.tar.gz\" user-sync\n        env:\n          UST_VARIANT_TAG: ${{matrix.variant_tag}}\n          UST_VERSION: ${{ steps.get_version.outputs.version }}\n      - name: Make artifact\n        uses: actions/upload-artifact@v2\n        with:\n          name: centos\n          path: dist/*.tar.gz\n          retention-days: 30\n\n  examples:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: user-sync-examples-zip\n      run: |\n         cd examples\n         zip -r user-sync-examples.zip .\n    - uses: actions/upload-artifact@v2\n      with:\n        name: examples\n        path: examples/*.zip\n        retention-days: 30\n    - name: user-sync.tar.gz\n      run: |\n         tar -czvf \"user-sync-examples.tar.gz\" examples\n    - uses: actions/upload-artifact@v2\n      with:\n        name: examples\n        path: user-sync-examples.tar.gz\n        retention-days: 30\n\n  release:\n    runs-on: ubuntu-latest\n    needs: [centos, ubuntu-jammy, ubuntu-focal, examples, windows]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Create Release\n      id: create_release\n      uses: actions/create-release@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        tag_name: ${{ github.ref }}\n        release_name: User Sync Tool ${{ github.ref }}\n        body_path: .changelog/latest.md\n        draft: false\n        prerelease: false\n\n  upload-assets:\n    needs: release\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/download-artifact@v2\n    - name: Get version tag\n      id: get_version\n      uses: battila7/get-version-action@v2\n    - uses: AButler/upload-release-assets@v2.0\n      with:\n        files: 'examples/*;ubuntu-jammy/*;ubuntu-focal/*;centos/*'\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        release-tag: ${{ steps.get_version.outputs.version }}\n", "state": "active", "repository": "adobe-apiplatform/user-sync.py"}
{"mined_at": "2024-07-15T12:57:38.684194", "created_at": "2022-09-22T15:08:38+02:00", "updated_at": "2022-09-22T18:03:23+02:00", "name": "Publish User Guide", "path": ".github/workflows/pages.yml", "contents": null, "state": "active", "repository": "adobe-apiplatform/user-sync.py"}
{"mined_at": "2024-07-15T12:57:42.507447", "created_at": "2022-02-04T03:49:15+01:00", "updated_at": "2022-02-04T03:49:15+01:00", "name": "Deploy Python Package", "path": ".github/workflows/deploy.yaml", "contents": "name: Deploy Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    name: Deploy to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.7'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n    - uses: actions/upload-artifact@v2\n      with:\n        name: dist\n        path: |\n          dist/*\n", "state": "active", "repository": "nrel/bifacial_radiance"}
{"mined_at": "2024-07-15T12:57:44.442686", "created_at": "2022-02-09T22:54:24+01:00", "updated_at": "2022-03-02T21:52:49+01:00", "name": "Push Docker image to GitHub Pack Registry", "path": ".github/workflows/docker.yml", "contents": "name: Push Docker image to GitHub Pack Registry\n\non:\n  push:\n  \n    # Publish `main` as Docker `latest` image.\n    branches:\n    - development\n\n    # Publish `v1.2.3` tags as releases.\n#     tags:\n\n  # Run tests for any PRs.\n  pull_request:\n  \n  # Allow running this action on demand\n  workflow_dispatch:\n  \n\n# https://docs.github.com/en/actions/learn-github-actions/contexts#github-context\n\njobs:\n\n  build-and-push-docker-images:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      \n      - name: Print triggering event info\n        run: |\n          echo \"${{ github.actor }} triggered run #${{ github.run_number }} with event type ${{ github.event_name }}\"\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n        \n      - name: Login to DockerHub\n        uses: docker/login-action@v1 \n        with:\n          username: ${{ secrets.DOCKERHUB_NREL_USER }}\n          password: ${{ secrets.DOCKERHUB_NREL_TOKEN }}\n      \n      - name: Login to GitHub Package Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n          \n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          file: ./docker/Dockerfile\n          push: true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          tags: |\n            nrel/bifacial_radiance:latest\n            ghcr.io/nrel/bifacial_radiance:latest\n", "state": "active", "repository": "nrel/bifacial_radiance"}
{"mined_at": "2024-07-15T12:57:45.460461", "created_at": "2022-01-10T22:09:53+01:00", "updated_at": "2022-02-04T03:49:15+01:00", "name": "test", "path": ".github/workflows/pytest.yaml", "contents": "name: test\n\non: [pull_request, push]\n\njobs:\n  pytest:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true  # cancel other matrix jobs when one fails\n      matrix:\n        python-version: [\"3.8\", \"3.10\"]\n        # Test two environments:\n        # 1) dependencies with pinned versions from requirements.txt\n        # 2) 'pip install --upgrade --upgrade-strategy=eager .' to install upgraded\n        #    dependencies from PyPi using version ranges defined within setup.py\n        env: [\n          '-r requirements.txt .[all]',\n          '--upgrade --upgrade-strategy=eager .[all]'\n        ]\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Radiance v5.3\n      run: |\n        wget https://github.com/LBNL-ETA/Radiance/releases/download/012cb178/Radiance_012cb178_Linux.zip -O radiance.zip\n        unzip radiance.zip \n        tar -xvf radiance-5.3.012cb17835-Linux.tar.gz\n        ls -l $PWD\n\n    - name: Copy gencumulativesky into radiance /bin\n      run: |\n        cp $PWD/bifacial_radiance/data/gencumulativesky $PWD/radiance-5.3.012cb17835-Linux/usr/local/radiance/bin/\n\n    - name: Install SMARTS 2.9.5\n      run: |\n        wget https://www.nrel.gov/grid/solar-resource/assets/data/smarts-295-linux-tar.gz -O /tmp/smarts.tar.gz\n        tar -xvf /tmp/smarts.tar.gz\n        unlink $PWD/SMARTS_295_Linux/smarts295bat\n        sed -i 's/batch=.FALSE./batch=.TRUE./g' $PWD/SMARTS_295_Linux/Source_code/smarts295.f\n        sudo apt-get install gfortran\n        gfortran -o $PWD/SMARTS_295_Linux/smarts295bat $PWD/SMARTS_295_Linux/Source_code/smarts295.f\n        ls -l $PWD/SMARTS_295_Linux/\n\n    - name: Install ${{ matrix.env }}\n      run: |\n        pip install ${{ matrix.env }}\n        pip install coveralls wheel\n\n    - name: Set environment variables\n      run: |\n        # https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions#adding-a-system-path\n        echo \"/home/runner/work/bifacial_radiance/bifacial_radiance/radiance-5.3.012cb17835-Linux/usr/local/radiance/bin\" >> $GITHUB_PATH\n        echo \"/home/runner/work/bifacial_radiance/bifacial_radiance/SMARTS_295_Linux\" >> $GITHUB_PATH\n\n    - name: Test with pytest ${{ matrix.env }}\n      uses: GabrielBB/xvfb-action@v1  # GUI testing requires xvfb\n      with:\n        run: |\n          pytest --cov=bifacial_radiance\n      env:  # environment variables available to this step\n        RAYPATH: .:/home/runner/work/bifacial_radiance/bifacial_radiance/radiance-5.3.012cb17835-Linux/usr/local/radiance/lib\n        SMARTSPATH: /home/runner/work/bifacial_radiance/bifacial_radiance/SMARTS_295_Linux\n\n    - name: Coveralls\n      run: |\n        coveralls --service=github\n      env: \n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n", "state": "active", "repository": "nrel/bifacial_radiance"}
{"mined_at": "2024-07-15T12:57:46.408523", "created_at": "2023-12-03T18:30:37+01:00", "updated_at": "2023-12-03T18:30:37+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nrel/bifacial_radiance"}
{"mined_at": "2024-07-15T12:57:48.638993", "created_at": "2021-04-18T23:12:20+02:00", "updated_at": "2023-01-16T10:13:47+01:00", "name": "Test", "path": ".github/workflows/pytest.yaml", "contents": "name: Test\n\non:\n  pull_request:\n    branches: [ main ]\n  schedule:\n  - cron: \"0 5 * * *\"\n\n# Cancel previous runs that have not completed\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  depth: 100\n\njobs:\n  pytest:\n    strategy:\n      matrix:\n        os:\n        - macos-13\n        - ubuntu-latest\n        - windows-latest\n        python-version:\n        - \"3.8\"  # Earliest version supported by ixmp\n        - \"3.9\"\n        - \"3.10\"\n        - \"3.11\"\n        - \"3.12\"  # Latest supported by ixmp\n\n        # commented: force a specific version of pandas, for e.g. pre-release\n        # testing\n        # pandas-version:\n        # - \"\"\n        # - \"==2.0.0rc0\"\n\n        exclude: [ ]\n        # # Specific version combinations that are invalid, e.g. pandas 2.0\n        # # requires Python >= 3.8\n        # - python-version: \"3.7\"\n        #   pandas-version: \"==2.0.0rc0\"\n\n      fail-fast: false\n\n    runs-on: ${{ matrix.os }}\n    name: ${{ matrix.os }}-py${{ matrix.python-version }}\n    # commented: use with \"pandas-version\" in the matrix, above\n    # name: ${{ matrix.os }}-py${{ matrix.python-version }}-pandas${{ matrix.pandas-version }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: ${{ env.depth }}\n        fetch-tags: true\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: \"**/pyproject.toml\"\n\n    - uses: ts-graphviz/setup-graphviz@v2\n      # TEMPORARY Work around ts-graphviz/setup-graphviz#630\n      if: ${{ ! startswith(matrix.os, 'macos-') }}\n\n    - uses: r-lib/actions/setup-r@v2\n      id: setup-r\n      with:\n        r-version: '4.2.3'\n\n    - name: Cache GAMS installer and R packages\n      uses: actions/cache@v4\n      with:\n        path: |\n          gams\n          ${{ env.R_LIBS_USER }}\n        key: ${{ matrix.os }}-R${{ steps.setup-r.outputs.installed-r-version }}\n        restore-keys: |\n          ${{ matrix.os }}-\n\n    - uses: iiasa/actions/setup-gams@main\n      with:\n        version: 25.1.1\n\n    - name: Set RETICULATE_PYTHON\n      # Use the environment variable set by the setup-python action, above.\n      run: echo \"RETICULATE_PYTHON=$pythonLocation\" >> $GITHUB_ENV\n      shell: bash\n\n    - name: Install Python package and dependencies\n      # [docs] contains [tests], which contains [report,tutorial]\n      run: |\n        pip install .[docs]\n\n        # commented: use with \"pandas-version\" in the matrix, above\n        # pip install --upgrade pandas${{ matrix.pandas-version }}\n\n        # TEMPORARY Work around hgrecco/pint#2007;\n        # see https://github.com/iiasa/ixmp/issues/534\n        pip install \"pint != 0.24.0\" \"numpy < 2\"\n\n    - name: Install R dependencies and tutorial requirements\n      run: |\n        install.packages(c(\"remotes\", \"Rcpp\"))\n        remotes::install_cran(\n          c(\"IRkernel\", \"reticulate\"),\n          dependencies = TRUE,\n          # force = TRUE,\n        )\n\n        IRkernel::installspec()\n\n        # commented: for debugging\n        # print(reticulate::py_config())\n        # reticulate::py_run_string(\"import os; print(os.environ)\")\n      shell: Rscript {0}\n\n    - name: Run test suite using pytest\n    # FIXME: Use --numprocesses=auto once flaky tests are fixed\n      run: |\n        pytest ixmp \\\n          -m \"not performance\" \\\n          --color=yes -rA --verbose \\\n          --cov-report=xml \\\n          --numprocesses=1\n      shell: bash\n\n    - name: Upload test coverage to Codecov.io\n      uses: codecov/codecov-action@v4\n      # FIXME Limit runtime until\n      # https://github.com/codecov/codecov-action/issues/1316 is resolved\n      timeout-minutes: 1\n      continue-on-error: true\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }} # required\n\n  pre-commit:\n    name: Code quality\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with: { python-version: \"3.12\" }\n\n    - name: Force recreation of pre-commit virtual environment for mypy\n      if: github.event_name == 'schedule'\n      run: gh cache list -L 999 | cut -f2 | grep pre-commit | xargs -I{} gh cache delete \"{}\" || true\n      env: { GH_TOKEN: \"${{ github.token }}\" }\n\n    - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "iiasa/ixmp"}
{"mined_at": "2024-07-15T12:57:49.764371", "created_at": "2021-04-18T23:16:55+02:00", "updated_at": "2023-05-11T10:11:25+02:00", "name": "Build package / publish", "path": ".github/workflows/publish.yaml", "contents": "name: Build package / publish\n\non:\n  push:\n    tags: [ \"v*\" ]\n  release:\n    types: [ published ]\n  # Check that package can be built even on PRs\n  pull_request:\n    branches: [ main ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  publish:\n    uses: iiasa/actions/.github/workflows/publish.yaml@main\n    secrets:\n      PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n      TESTPYPI_TOKEN: ${{ secrets.TESTPYPI_TOKEN }}\n", "state": "active", "repository": "iiasa/ixmp"}
{"mined_at": "2024-07-15T12:57:51.915724", "created_at": "2023-08-01T22:06:43+02:00", "updated_at": "2023-08-01T23:10:43+02:00", "name": "ci", "path": ".github/workflows/build-and-validate-image.yml", "contents": "name: ci\n\non:\n push:\n pull_request:\n\njobs:\n canary:\n   runs-on: ubuntu-latest\n   steps:\n     - name: Checkout\n       uses: actions/checkout@v3\n\n     - name: Build Container\n       run: docker build -t bluesky/databroker:latest .\n\n     # - name: Install Container Canary\n     #   run: |\n     #     curl -L https://github.com/NVIDIA/container-canary/releases/download/v0.2.1/canary_linux_amd64 > /usr/local/bin/canary\n     #     chmod +x /usr/local/bin/canary\n     # \n     # - name: Validate container\n     #   run: canary validate --file canary-validator.yml bluesky/databroker:latest\n", "state": "active", "repository": "bluesky/databroker"}
{"mined_at": "2024-07-15T12:57:53.040691", "created_at": "2020-12-15T21:00:59+01:00", "updated_at": "2020-12-15T21:00:59+01:00", "name": "Check Code Style", "path": ".github/workflows/flake8.yml", "contents": "name: Check Code Style\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n\n      - name: Install flake8\n        shell: bash -l {0}\n        run: |\n          set -vxeuo pipefail\n          python -m pip install --upgrade pip\n          python -m pip install flake8\n          python -m pip list\n\n      - name: Run flake8\n        shell: bash -l {0}\n        run: flake8\n", "state": "active", "repository": "bluesky/databroker"}
{"mined_at": "2024-07-15T12:57:54.168346", "created_at": "2023-02-02T14:32:13+01:00", "updated_at": "2023-02-02T14:32:13+01:00", "name": "Create and publish image", "path": ".github/workflows/publish-image.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Create and publish image\n\non:\n  push:\n    branches: ['main']\n    tags: ['v*']\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n        with:\n          context: .\n          file: Dockerfile\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "bluesky/databroker"}
{"mined_at": "2024-07-15T12:57:55.286235", "created_at": "2021-10-07T20:53:42+02:00", "updated_at": "2024-06-20T21:05:47+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish-pypi.yml", "contents": "# This workflows will upload a Python Package using flit when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel twine setuptools\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        # The PYPI_PASSWORD must be a pypi token with the \"pypi-\" prefix with sufficient permissions to upload this package\n        # https://pypi.org/help/#apitoken\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "bluesky/databroker"}
{"mined_at": "2024-07-15T12:57:56.335869", "created_at": "2020-12-15T21:00:59+01:00", "updated_at": "2023-12-13T14:59:02+01:00", "name": "Unit Tests", "path": ".github/workflows/testing.yml", "contents": "name: Unit Tests\n\non:\n  push:\n  pull_request:\n  schedule:\n      - cron: '00 4 * * *'  # daily at 4AM\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    services:\n      mongodb:\n        image: mongo\n        ports:\n        - 27017:27017\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n      fail-fast: false\n    steps:\n\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install\n      shell: bash -l {0}\n      run: source continuous_integration/scripts/install.sh\n\n    - name: Install test requirements\n      shell: bash -l {0}\n      run: |\n        set -vxeuo pipefail\n        python -m pip install -r requirements-test.txt\n        python -m pip list\n\n    - name: Test with pytest\n      shell: bash -l {0}\n      run: |\n        set -vxeuo pipefail\n        coverage run -m pytest -v -k \"not v2\"\n        coverage report\n", "state": "active", "repository": "bluesky/databroker"}
{"mined_at": "2024-07-15T12:57:58.468574", "created_at": "2020-06-29T20:27:47+02:00", "updated_at": "2020-06-29T20:27:47+02:00", "name": "External Tests", "path": ".github/workflows/externaltests.yaml", "contents": "name: External Tests\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  pyuvsim:\n    name: herasim\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        # Adding -l {0} helps ensure conda can be found properly.\n        shell: bash -l {0}\n    env:\n      PYTHON: \"3.11\"\n\n    steps:\n      - uses: actions/checkout@main\n        with:\n         fetch-depth: 1\n\n      - uses: mpi4py/setup-mpi@v1\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON }}\n\n      - name: Install pyuvsim\n        run: |\n          pip install --upgrade pip\n          pip install .\n\n      - name: clone hera_sim\n        run: |\n          cd ../\n          git clone https://github.com/HERA-Team/hera_sim.git\n\n      - name: Install hera_sim\n        run: |\n          cd ../hera_sim\n          pip install .[tests]\n\n      - name: Environment Info\n        run: |\n          pip list\n          PYVER=`python -c \"import sys; print('{:d}.{:d}'.format(sys.version_info.major, sys.version_info.minor))\"`\n          if [[ $PYVER != ${{ env.PYTHON }} ]]; then\n            exit 1;\n          fi\n\n      - name: run herasim tests\n        run: |\n          cd ../hera_sim\n          python -m pytest\n", "state": "active", "repository": "radioastronomysoftwaregroup/pyuvsim"}
{"mined_at": "2024-07-15T12:57:59.697665", "created_at": "2020-07-20T20:01:01+02:00", "updated_at": "2020-07-20T20:01:01+02:00", "name": "Publish Python distributions to PyPI and TestPyPI", "path": ".github/workflows/publish-to-test-pypi.yaml", "contents": "name: Publish Python distributions to PyPI and TestPyPI\n\non: push\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build-n-publish:\n    name: Build and publish to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        # Adding -l {0} helps ensure conda can be found properly.\n        shell: bash -l {0}\n    env:\n      ENV_NAME: publish\n      PYTHON: \"3.11\"\n    steps:\n      - uses: actions/checkout@main\n        with:\n          fetch-depth: 0\n\n      - name: Setup Minimamba\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          python-version: ${{ env.PYTHON }}\n          environment-file: ci/${{ env.ENV_NAME }}.yaml\n          activate-environment: ${{ env.ENV_NAME }}\n\n      - name: Conda Info\n        run: |\n          conda info -a\n          conda list\n          PYVER=`python -c \"import sys; print('{:d}.{:d}'.format(sys.version_info.major, sys.version_info.minor))\"`\n          if [[ $PYVER != ${{ env.PYTHON }} ]]; then\n            exit 1;\n          fi\n\n      - name: Create environment variable\n        if: startsWith(github.ref, 'refs/tags/') != true\n        run: |\n          wget https://gist.github.com/plaplant/0902f09e59166bac742bbd554f3cd2f9/raw/make_dev_version.sh\n          version=$(bash make_dev_version.sh)\n          echo \"SETUPTOOLS_SCM_PRETEND_VERSION=$version\" >> $GITHUB_ENV\n\n      - name: Check environment variable\n        run: echo $SETUPTOOLS_SCM_PRETEND_VERSION\n\n      - name: Build a binary wheel and a source tarball\n        run: |\n          python3 -m build\n\n      - name: Publish to Test PyPI\n        if: startsWith(github.event.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@v1.5.0\n        with:\n          password: ${{ secrets.test_pypi_password }}\n          repository_url: https://test.pypi.org/legacy/\n\n      - name: Publish to PyPI\n        if: startsWith(github.event.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@v1.5.0\n        with:\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "radioastronomysoftwaregroup/pyuvsim"}
{"mined_at": "2024-07-15T12:58:00.721554", "created_at": "2020-03-06T05:29:03+01:00", "updated_at": "2020-03-06T05:29:03+01:00", "name": "Tests", "path": ".github/workflows/testsuite.yaml", "contents": "name: Tests\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    env:\n      ENV_NAME: ${{ matrix.env_name }}\n      PYTHON: ${{ matrix.python-version }}\n      OS: ${{ matrix.os }}\n    name: Testing\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        # Adding -l {0} helps ensure conda can be found properly.\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        env_name: [pyuvsim_tests_openmpi]\n        include:\n          - env_name: pyuvsim_tests_mpich\n            python-version: \"3.11\"\n            os: ubuntu-latest\n          - env_name: pyuvsim_tests_mpich\n            python-version: \"3.11\"\n            os: macos-latest\n    steps:\n      - uses: actions/checkout@main\n        with:\n          fetch-depth: 0\n\n      - name: Setup Minimamba\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          python-version: ${{ env.PYTHON }}\n          environment-file: ci/${{ env.ENV_NAME }}.yaml\n          activate-environment: ${{ env.ENV_NAME }}\n\n      - name: Conda Info\n        run: |\n          conda info -a\n          conda list\n          PYVER=`python -c \"import sys; print('{:d}.{:d}'.format(sys.version_info.major, sys.version_info.minor))\"`\n          if [[ $PYVER != ${{ env.PYTHON }} ]]; then\n            exit 1;\n          fi\n\n      - name: Install\n        # calling git right before the install seems to prevent a time-out within setuptools_scm on MacOS\n        run: |\n          git describe --tags\n          git version\n          SETUPTOOLS_SCM_DEBUG=1 pip install --no-deps .\n\n      - name: Run Tests\n        run: |\n          python -m pytest -n auto --cov=pyuvsim --cov-config=.coveragerc --cov-report xml:./coverage.xml --junitxml=test-reports/xunit.xml\n\n      - name: Upload Coverage\n        uses: codecov/codecov-action@v4\n        if: success()\n        with:\n          token: ${{secrets.CODECOV_TOKEN}} #required\n          file: ./coverage.xml #optional\n          env_vars: OS,PYTHON\n          fail_ci_if_error: true\n\n  # Use pip for diversity\n  # do this on min_deps because it's hard to get mpi4py to install from pip\n  min_deps:\n    env:\n      PYTHON: \"3.11\"\n    name: Min Deps Testing\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@main\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON }}\n\n      # Just install the test requirements, also install pytest-xdist for speed\n      - name: Install\n        run: |\n          pip install -e .[test]\n          pip install pytest-xdist\n\n      - name: Environment Info\n        run: |\n          pip list\n          PYVER=`python -c \"import sys; print('{:d}.{:d}'.format(sys.version_info.major, sys.version_info.minor))\"`\n          if [[ $PYVER != ${{ env.PYTHON }} ]]; then\n            exit 1;\n          fi\n\n      - name: Run Tests\n        run: |\n          python -m pytest -n auto --cov=pyuvsim --cov-config=.coveragerc --cov-report xml:./coverage.xml\n\n      - uses: codecov/codecov-action@v4\n        if: success()\n        with:\n          token: ${{secrets.CODECOV_TOKEN}} #required\n          files: ./coverage.xml #optional\n\n  min_versions:\n    env:\n      ENV_NAME: min_versions\n      PYTHON: \"3.10\"\n    name: Min Versions Testing\n    defaults:\n      run:\n        # Adding -l {0} helps ensure conda can be found properly.\n        shell: bash -l {0}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@main\n        with:\n          fetch-depth: 0\n      - name: Setup Minimamba\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          python-version: ${{ env.PYTHON }}\n          environment-file: ci/${{ env.ENV_NAME }}.yaml\n          activate-environment: ${{ env.ENV_NAME }}\n\n      - name: Conda Info\n        run: |\n          conda info -a\n          conda list\n          PYVER=`python -c \"import sys; print('{:d}.{:d}'.format(sys.version_info.major, sys.version_info.minor))\"`\n          if [[ $PYVER != ${{ env.PYTHON }} ]]; then\n            exit 1;\n          fi\n\n      - name: Install\n        run: |\n          pip install --no-deps .\n\n      - name: Run Tests\n        run: |\n          python -m pytest -n auto --cov=pyuvsim --cov-config=.coveragerc --cov-report xml:./coverage.xml --junitxml=test-reports/xunit.xml\n\n      - uses: codecov/codecov-action@v4\n        if: success()\n        with:\n          token: ${{secrets.CODECOV_TOKEN}} #required\n          file: ./coverage.xml #optional\n          env_vars: OS,PYTHON\n          fail_ci_if_error: true\n\n  warning_test:\n    env:\n      ENV_NAME: pyuvsim_tests_mpich\n      PYTHON: \"3.11\"\n    name: Warning Test\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        # Adding -l {0} helps ensure conda can be found properly.\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@main\n        with:\n          fetch-depth: 0\n\n      - name: Setup Minimamba\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          python-version: ${{ env.PYTHON }}\n          environment-file: ci/${{ env.ENV_NAME }}.yaml\n          activate-environment: ${{ env.ENV_NAME }}\n\n      - name: Conda Info\n        run: |\n          conda info -a\n          conda list\n          PYVER=`python -c \"import sys; print('{:d}.{:d}'.format(sys.version_info.major, sys.version_info.minor))\"`\n          if [[ $PYVER != ${{ env.PYTHON }} ]]; then\n            exit 1;\n          fi\n\n      - name: Install\n        run: |\n          pip install --no-deps .\n\n      - name: Run Tests\n        run: |\n          python -m pytest -n auto -W error --cov=pyuvsim --cov-config=.coveragerc --cov-report xml:./coverage.xml --junitxml=test-reports/xunit.xml\n\n      - name: Upload Coverage\n        uses: codecov/codecov-action@v4\n        if: success()\n        with:\n          token: ${{secrets.CODECOV_TOKEN}} #required\n          file: ./coverage.xml #optional\n          env_vars: OS,PYTHON\n          fail_ci_if_error: true\n", "state": "active", "repository": "radioastronomysoftwaregroup/pyuvsim"}
{"mined_at": "2024-07-15T12:58:02.908788", "created_at": "2023-12-24T11:31:10+01:00", "updated_at": "2023-12-24T11:31:10+01:00", "name": "Publish Docs", "path": ".github/workflows/docs-publish.yml", "contents": "name: Publish Docs\n\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        working-directory: \"./docs\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install client and dependencies\n        working-directory: \"./\"\n        run: |\n          python -m pip install --upgrade pip setuptools\n          pip install .\n      - name: Install docs dependencies\n        run: |\n          pip install -r requirements-docs.txt\n      - name: Build documentation\n        run: make html\n\n#      - name: Upload docs as artifact\n#        uses: actions/upload-artifact@v3\n#        with:\n#          name: docs\n#          path: docs/build\n\n      - name: Authenticate with Google\n        uses: \"google-github-actions/auth@v2\"\n        with:\n          project_id: ${{ secrets.GCS_PROJECT }}\n          credentials_json: ${{ secrets.GCS_SERVICE_ACCOUNT_ACCESS_KEY }}\n\n      - name: 'Set up Cloud SDK'\n        uses: 'google-github-actions/setup-gcloud@v2'\n\n      - name: Upload to Google Cloud Storage\n        env:\n          UPLOAD_PATH: ${{ format('gs://{0}/docs/client', secrets.DOCS_BUCKET) }}\n        run: gsutil -m rsync -d -r build/html $UPLOAD_PATH\n\n      - name: Invalidate CDN Cache\n        env:\n          LOAD_BALANCER: ${{ secrets.LOAD_BALANCER_NAME }}\n        run: gcloud compute url-maps invalidate-cdn-cache $LOAD_BALANCER --async --path \"/docs/client/*\"\n\n", "state": "active", "repository": "dagshub/client"}
{"mined_at": "2024-07-15T12:58:03.927688", "created_at": "2023-07-01T19:23:34+02:00", "updated_at": "2023-07-01T19:23:34+02:00", "name": "Check licenses", "path": ".github/workflows/license-checker.yml", "contents": "name: Check licenses\n\non:\n  push:\n    branches: [ \"main\", \"master\" ]\n    paths:\n    - setup.py\n    - requirements*.txt\n  pull_request:\n    branches: [ \"main\", \"master\" ]\n    paths:\n    - setup.py\n    - requirements*.txt\n\njobs:\n  check-licenses:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: dagshub/python-license-checker-action@v1\n    - run: |\n        commit=\"$GITHUB_SHA\"\n        base_link=\"github.com/$GITHUB_REPOSITORY\"\n        date=`date \"+%B %e %Y\"`\n        awk -F',' -v \"commit=$commit\" -v \"base_link=$base_link\" -v \"date=$date\" '{OFS=\",\"; print base_link,commit,date,$1_$2,$3,$4}' licenses.csv > python-licenses.csv\n        \n    - name: Upload python license report\n      uses: actions/upload-artifact@v3\n      with:\n        name: python-licenses.csv\n        path: python-licenses.csv\n        if-no-files-found: error\n      \n", "state": "active", "repository": "dagshub/client"}
{"mined_at": "2024-07-15T12:58:05.023664", "created_at": "2021-08-05T15:41:46+02:00", "updated_at": "2021-08-05T16:09:37+02:00", "name": "Tests", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo apt -qq install -y libfuse3-dev\n        python -m ensurepip --upgrade\n        python -m pip install wheel flake8\n        python -m pip install -r requirements-dev.txt\n        pip install .\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pytest\n", "state": "active", "repository": "dagshub/client"}
{"mined_at": "2024-07-15T12:58:06.080234", "created_at": "2021-08-05T15:43:09+02:00", "updated_at": "2021-08-05T15:43:09+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "dagshub/client"}
{"mined_at": "2024-07-15T12:58:07.139849", "created_at": "2022-10-06T18:07:01+02:00", "updated_at": "2022-11-02T13:13:15+01:00", "name": "Lint", "path": ".github/workflows/run-linters.yaml", "contents": "name: Lint\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - master\n      - alpha\n  pull_request:\n    branches:\n      - master\n      - alpha\n\njobs:\n  run-linters:\n    name: Run linters\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.12\n\n      - name: Install Python dependencies\n        run: pip install flake8\n\n      - name: Run linters\n        uses: wearerequired/lint-action@v2\n        with:\n          flake8: true\n          flake8_args: \"--max-line-length 120 --exclude oss_licenses.py --ignore=E203,E129,E123,W503,W504,E125,E126,E701,E704\"\n", "state": "active", "repository": "dagshub/client"}
{"mined_at": "2024-07-15T12:58:09.312895", "created_at": "2024-02-26T15:51:40+01:00", "updated_at": "2024-02-26T16:37:45+01:00", "name": "Build Windows Workflow", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "open-pulse/openpulse"}
{"mined_at": "2024-07-15T12:58:10.381906", "created_at": "2024-02-22T14:00:17+01:00", "updated_at": "2024-02-26T16:26:06+01:00", "name": "Build Windows Workflow", "path": ".github/workflows/build_win.yml", "contents": null, "state": "disabled_manually", "repository": "open-pulse/openpulse"}
{"mined_at": "2024-07-15T12:58:11.504921", "created_at": "2024-03-08T19:21:31+01:00", "updated_at": "2024-03-15T16:34:43+01:00", "name": "Create Releases", "path": ".github/workflows/create_releases.yml", "contents": "name: Create Releases\non:\n  pull_request:\n    branches: master\n\njobs:\n  create-release:\n    runs-on: ubuntu-latest\n    needs: [build-windows, build-linux]\n\n    steps:\n      - name: Show release name\n        run: echo ${{ github.event.pull_request.title }}\n\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ github.event.pull_request.title }}\n          release_name: Release ${{ github.event.pull_request.title }}\n          body: ${{ github.event.pull_request.body }}\n          draft: true\n          prerelease: false\n\n      - name: download all artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: ./uploads/\n\n      - name: show path\n        run: ls -r ./uploads/openpulse-linux\n\n      - name: upload release linux\n        id: upload-linux\n        uses: actions/upload-release-asset@v1.0.1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_path: ./uploads/openpulse-linux/open-pulse-linux-x64.so\n          asset_name: open-pulse-linux-x64.so\n          asset_content_type: application/zip\n\n      - name: upload release windows\n        id: upload-windows\n        uses: actions/upload-release-asset@v1.0.1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_path: ./uploads/openpulse-windows/open-pulse-windows-x64.exe\n          asset_name: open-pulse-windows-x64.exe\n          asset_content_type: application/zip                        \n\n  build-windows:\n    runs-on: windows-2019\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v1\n      - name: Install Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.11'\n          architecture: 'x64'\n      - name: Install Poetry\n        run: |\n          pip install poetry\n      - name: Install requirements\n        run: |\n          poetry install \n      # - name: Run pytest\n      #   run: |\n      #     poetry run pytest\n      - name: Run Pyinstaller\n        run: |\n          poetry run pyinstaller openpulse.spec\n      - name: Rename file\n        run: |\n          mv dist/OpenPulse.exe dist/open-pulse-windows-x64.exe\n      - uses: actions/upload-artifact@v4\n        with:\n          name: openpulse-windows\n          path: dist/open-pulse-windows-x64.exe\n\n  build-linux:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v1\n      - name: Install Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.11'\n          architecture: 'x64'\n      - name: Install Poetry\n        run: |\n          pip install poetry\n      - name: Install requirements\n        run: |\n          poetry install \n      # - name: Run pytest\n      #   run: |\n      #     poetry run pytest\n      - name: Run Pyinstaller\n        run: |\n          poetry run pyinstaller openpulse.spec\n      - name: Rename file\n        run: |\n          mv dist/OpenPulse dist/open-pulse-linux-x64.so\n      - uses: actions/upload-artifact@v4\n        with:\n          name: openpulse-linux\n          path: dist/open-pulse-linux-x64.so\n", "state": "active", "repository": "open-pulse/openpulse"}
{"mined_at": "2024-07-15T12:58:12.701662", "created_at": "2021-12-21T14:10:00+01:00", "updated_at": "2021-12-21T14:10:00+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "open-pulse/openpulse"}
{"mined_at": "2024-07-15T12:58:14.786165", "created_at": "2020-12-15T08:10:11+01:00", "updated_at": "2020-12-15T08:10:11+01:00", "name": "wee-slack", "path": ".github/workflows/wee-slack.yml", "contents": "name: wee-slack\non: [push, pull_request]\n\njobs:\n  test:\n    if: >\n      github.event_name == 'push' || (\n        github.event_name == 'pull_request' &&\n        github.event.pull_request.head.repo.full_name != github.repository\n      )\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: abatilo/actions-poetry@v3\n\n      - run: poetry install\n\n      - run: poetry run ruff format --check\n\n      - run: poetry run ruff check\n\n      - run: poetry run pyright\n\n      - run: poetry run pytest tests\n\n  build:\n    if: >\n      github.event_name == 'push' || (\n        github.event_name == 'pull_request' &&\n        github.event.pull_request.head.repo.full_name != github.repository\n      )\n\n    needs: test\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - uses: abatilo/actions-poetry@v3\n      - run: poetry install\n\n      - name: Install WeeChat, tmux and python3-websocket\n        run: |\n          sudo apt-get update\n          sudo apt-get install weechat-headless tmux python3-websocket\n\n      - run: ./build.sh\n\n      - name: Load slack.py in WeeChat\n        run: |\n          WEECHAT_DIR=$(mktemp -d)\n          tmux new-session -d \"weechat-headless --dir $WEECHAT_DIR -r '/script load $PWD/build/slack.py; /quit'\"\n          while pidof -q tmux; do :; done\n          cat $WEECHAT_DIR/logs/core.weechat.weechatlog\n          grep -q 'python: registered script \"slack\"' $WEECHAT_DIR/logs/core.weechat.weechatlog\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: slack.py\n          path: build/slack.py\n\n      - uses: pyTooling/Actions/releaser@r1\n        if: github.ref == 'refs/heads/master'\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          tag: nightly\n          files: |\n            build/slack.py\n", "state": "active", "repository": "wee-slack/wee-slack"}
{"mined_at": "2024-07-15T12:58:15.875992", "created_at": "2024-07-09T20:32:54+02:00", "updated_at": "2024-07-09T20:32:54+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "wee-slack/wee-slack"}
{"mined_at": "2024-07-15T12:58:16.992718", "created_at": "2024-05-29T22:02:38+02:00", "updated_at": "2024-05-29T22:02:38+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "wee-slack/wee-slack"}
{"mined_at": "2024-07-15T12:58:18.084918", "created_at": "2022-01-30T19:48:08+01:00", "updated_at": "2022-01-30T19:48:08+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "wee-slack/wee-slack"}
{"mined_at": "2024-07-15T12:58:20.277158", "created_at": "2020-02-15T13:07:29+01:00", "updated_at": "2020-02-21T13:05:54+01:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/cache@v1\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.9\n    - name: Install package\n      run: |\n        pip install -e .\n    - name: Install requirements.txt\n      run: |\n        pip install -r requirements.txt\n    - name: Install docs/requirements.txt\n      run: |\n        python -m pip install --upgrade pip setuptools\n        pip install -r docs/requirements.txt\n    - name: sphinx\n      run: |\n        cd docs && make html\n", "state": "active", "repository": "bethgelab/foolbox"}
{"mined_at": "2024-07-15T12:58:21.287312", "created_at": "2020-02-21T12:25:48+01:00", "updated_at": "2020-02-21T12:25:48+01:00", "name": "Guide", "path": ".github/workflows/guide.yml", "contents": "name: Guide\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  vuepress:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Install vuepress\n      run: |\n        sudo apt update\n        sudo apt install yarn -y\n        yarn global add vuepress\n        yarn add vue-template-compiler\n    - name: Build\n      run: |\n        export NODE_OPTIONS=--openssl-legacy-provider\n        vuepress build\n      working-directory: ./guide\n    - name: Push\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        git init\n        git config user.name \"GitHub Actions Bot\"\n        git config user.email \"<>\"\n        git add -A\n        git commit -m 'deploy'\n        git push -f https://x-access-token:${GITHUB_TOKEN}@github.com/bethgelab/foolbox.git master:gh-pages\n      working-directory: ./guide/.vuepress/dist\n", "state": "active", "repository": "bethgelab/foolbox"}
{"mined_at": "2024-07-15T12:58:22.310800", "created_at": "2020-02-15T16:26:50+01:00", "updated_at": "2020-03-22T22:22:23+01:00", "name": "PyPI", "path": ".github/workflows/pypi.yml", "contents": "name: PyPI\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.9'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "bethgelab/foolbox"}
{"mined_at": "2024-07-15T12:58:23.339117", "created_at": "2020-02-07T18:26:57+01:00", "updated_at": "2020-02-15T10:14:44+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 20\n      matrix:\n        python-version: ['3.9', '3.10']\n        backend: [\"none\", \"pytorch\", \"tensorflow\", \"jax\", \"numpy\"]\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/cache@v1\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - uses: actions/cache@v1\n      with:\n        path: ~/.cache/torch\n        key: ${{ runner.os }}-cache-torch\n    - uses: actions/cache@v1\n      with:\n        path: ~/.torch\n        key: ${{ runner.os }}-torch\n    - uses: actions/cache@v1\n      with:\n        path: ~/.keras\n        key: ${{ runner.os }}-keras\n#   - name: debugging\n#     run: |\n#       python3 -c 'from urllib.request import urlopen; r = urlopen(\"https://download.pytorch.org/models/resnet18-5c106cde.pth\"); print(r.status, r.reason, r.msg)' || true\n#   - name: workaround for https://github.com/pytorch/vision/issues/1876\n#     uses: wei/wget@v1\n#     with:\n#         args: https://download.pytorch.org/models/resnet18-5c106cde.pth\n#   - name: workaround (step 2)\n#     run: |\n#       mkdir -p ~/.cache/torch/checkpoints || true\n#       mv resnet18-5c106cde.pth ~/.cache/torch/checkpoints || true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install requirements.txt\n      run: |\n        function retry-with-backoff() {\n          for BACKOFF in 0 1 2 4 8 16 32 64; do\n            sleep $BACKOFF\n            if \"$@\"; then\n              return 0\n            fi\n          done\n          return 1\n        }\n\n        python -m pip install --upgrade pip setuptools wheel\n        retry-with-backoff pip install -r requirements.txt\n    - name: flake8\n      run: |\n        flake8 . --count --show-source --statistics\n    - name: black\n      run: |\n        black --check --verbose .\n    - name: Install package\n      run: |\n        pip install -e .\n    - name: Install tests/requirements.txt\n      run: |\n        function retry-with-backoff() {\n          for BACKOFF in 0 1 2 4 8 16 32 64; do\n            sleep $BACKOFF\n            if \"$@\"; then\n              return 0\n            fi\n          done\n          return 1\n        }\n\n        retry-with-backoff pip install -r tests/requirements.txt\n    - name: mypy (package)\n      run: |\n        mypy --install-types --non-interactive foolbox/\n        mypy -p foolbox\n    - name: mypy (tests)\n      run: |\n        mypy tests/\n    - name: Test with pytest (backend ${{ matrix.backend }})\n      run: |\n        pytest --durations=0 --cov-report term-missing --cov=foolbox --verbose --backend ${{ matrix.backend }}\n    - name: Codecov\n      continue-on-error: true\n      env:\n          CODECOV_TOKEN: \"60c0d7ac-8ec1-47c6-b3b1-ac2ad2dea76f\"\n      run: |\n        codecov\n    - name: Coveralls\n      continue-on-error: true\n      env:\n        COVERALLS_REPO_TOKEN: \"2r76Cn01kW1sSkEirJ3SRpp478NJtPNdA\"\n      run: |\n        coveralls\n", "state": "active", "repository": "bethgelab/foolbox"}
{"mined_at": "2024-07-15T12:58:24.356934", "created_at": "2022-01-31T18:17:51+01:00", "updated_at": "2022-01-31T18:17:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "bethgelab/foolbox"}
{"mined_at": "2024-07-15T12:58:26.344163", "created_at": "2022-07-28T23:58:35+02:00", "updated_at": "2022-09-02T04:40:06+02:00", "name": "Test build and installation", "path": ".github/workflows/build-test.yml", "contents": "name: Test build and installation\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        os: [ubuntu-latest, macos-latest, windows-latest]\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        show-progress: false\n\n    - name: Install Poetry\n      uses: snok/install-poetry@v1.3.4\n      with:\n        version: 1.6.1\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n\n    - name: Set up Python ${{ matrix.python-version }}\n      id: python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n        # cache: ${{ !startsWith(matrix.os, 'windows') && 'poetry' || '' }}\n\n    - name: Install dependencies\n      run: poetry install --no-interaction --no-root\n\n    - name: Build\n      run: poetry build\n\n    - name: Upload artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: dist_${{ matrix.os }}_py${{ matrix.python-version }}\n        path: dist/\n        retention-days: 7\n        if-no-files-found: error\n\n    - name: Test install wheel\n      run: |\n        pip install dist/hvac-*.whl\n        pip uninstall -y hvac\n\n    - name: Test install sdist\n      run: |\n        pip install dist/hvac-*.tar.gz\n        pip uninstall -y hvac\n", "state": "active", "repository": "hvac/hvac"}
{"mined_at": "2024-07-15T12:58:27.405009", "created_at": "2023-09-04T21:51:57+02:00", "updated_at": "2023-09-04T21:51:57+02:00", "name": "Docs PR", "path": ".github/workflows/docs-pr.yml", "contents": null, "state": "active", "repository": "hvac/hvac"}
{"mined_at": "2024-07-15T12:58:28.504553", "created_at": "2021-07-09T21:04:09+02:00", "updated_at": "2022-09-02T15:50:31+02:00", "name": "Lint and Test", "path": ".github/workflows/lint-and-test.yml", "contents": "name: Lint and Test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\nenv:\n  PYTEST_ADDOPTS: '--color=yes'\n\njobs:\n  lint:\n    name: Lint\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        show-progress: false\n\n    - name: Install Poetry\n      uses: snok/install-poetry@v1.3.4\n      with:\n        version: 1.6.1\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n\n    - name: Set up Python ${{ matrix.python-version }}\n      id: python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n        cache: poetry\n\n    - name: Install dependencies\n      if: steps.python.outputs.cache-hit != 'true'\n      run: poetry install --no-interaction --no-root --with dev\n\n    - name: Install library\n      run: poetry install --no-interaction\n\n    - name: Check formatting with `black`\n      run: poetry run black --check .\n\n    - name: Lint with `flake8`\n      run: poetry run flake8 . --count --statistics\n\n    - name: Check for typos\n      run: poetry run typos --color always\n\n  docs-tests:\n    name: Documentation Tests\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        show-progress: false\n\n    - name: Install Poetry\n      uses: snok/install-poetry@v1.3.4\n      with:\n        version: 1.6.1\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n\n    - name: Set up Python\n      id: python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n        cache: poetry\n\n    - name: Install dependencies\n      run: poetry install --no-interaction --no-root --with dev,docs\n\n    - name: Install library\n      run: poetry install --no-interaction\n\n    - name: Install Vault (for doctests)\n      run: |\n        curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -\n        echo \"deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main\" \\\n          | sudo tee /etc/apt/sources.list.d/hashicorp.list\n\n        sudo apt update \\\n          -o Dir::Etc::sourceparts=\"-\" \\\n          -o APT::Get::List-Cleanup=\"0\" \\\n          -o Dir::Etc::sourcelist=\"sources.list.d/hashicorp.list\"\n\n        sudo apt install \\\n          vault-enterprise=1.7.2+ent \\\n          ;\n\n        # We disble cap_ipc_lock here as its generally incompatabile with GitHub\n        # Actions' runtime environments.\n        sudo setcap cap_ipc_lock= /usr/bin/vault\n\n    - name: Sphinx - doctest Build\n      working-directory: ./docs\n      run: |\n        poetry run make doctest\n\n  unit-tests:\n    name: Unit Tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        show-progress: false\n\n    - name: Install Poetry\n      uses: snok/install-poetry@v1.3.4\n      with:\n        version: 1.6.1\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n\n    - name: Set up Python ${{ matrix.python-version }}\n      id: python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n        cache: poetry\n\n    - name: Install dependencies\n      if: steps.python.outputs.cache-hit != 'true'\n      run: poetry install --no-interaction --no-root --with dev\n\n    - name: Install library\n      run: poetry install --no-interaction\n\n    - name: pytest tests/unit_tests\n      run: |\n        poetry run pytest \\\n          -rsxfE \\\n          --cov=hvac \\\n          --cov-report=xml:reports/coverage_units_py${{ matrix.python-version }}.xml \\\n          tests/unit_tests\n\n    - name: Upload unit tests coverage artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage_reports_${{ matrix.python-version }}\n        path: reports/*.xml\n        if-no-files-found: error\n        retention-days: 1\n\n  integration-tests:\n    name: Integration Tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n        vault-version:\n          - \"vault-enterprise=1.6.*+ent\"\n          - \"vault-enterprise=1.7.*+ent\"\n          - \"vault=1.11.*\"\n          - \"vault=1.12.*\"\n          - \"vault=1.13.*\"\n          - \"vault=1.14.*\"\n          - \"vault=1.15.*\"\n          - \"vault=1.16.*\"\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        show-progress: false\n\n    - name: Install Poetry\n      uses: snok/install-poetry@v1.3.4\n      with:\n        version: 1.6.1\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n\n    - name: Set up Python ${{ matrix.python-version }}\n      id: python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n        cache: poetry\n\n    - name: Install dependencies\n      if: steps.python.outputs.cache-hit != 'true'\n      run: poetry install --no-interaction --no-root --with dev\n\n    - name: Install library\n      run: poetry install --no-interaction\n\n    - name: Install Vault and Consul (for integration tests)\n      run: |\n        curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -\n        echo \"deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main\" \\\n          | sudo tee /etc/apt/sources.list.d/hashicorp.list\n\n        sudo apt update \\\n          -o Dir::Etc::sourceparts=\"-\" \\\n          -o APT::Get::List-Cleanup=\"0\" \\\n          -o Dir::Etc::sourcelist=\"sources.list.d/hashicorp.list\"\n\n        sudo apt install \\\n          consul \\\n          ${{ matrix.vault-version }} \\\n          ;\n\n        # We disble cap_ipc_lock here as its generally incompatabile with GitHub\n        # Actions' runtime environments.\n        sudo setcap cap_ipc_lock= /usr/bin/vault\n\n    - name: pytest tests/integration_tests\n      env:\n        COVFILE: coverage_integration_py${{ matrix.python-version }}_${{ matrix.vault-version }}.xml\n      run: |\n        poetry run pytest \\\n          -rsxfE \\\n          --cov=hvac \\\n          --cov-report=xml:reports/${COVFILE//[^A-Za-z0-9\\-_\\.]/_} \\\n          tests/integration_tests\n\n    - name: Set safe coverage report name\n      id: vv\n      env:\n        VV: ${{ matrix.vault-version }}\n      run: |\n        echo \"VV=${VV//[*+]/}\" >> \"$GITHUB_OUTPUT\"\n\n    - name: Upload integration tests coverage artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage_reports_${{ matrix.python-version }}_${{ steps.vv.outputs.VV }}\n        path: reports/*.xml\n        if-no-files-found: error\n        retention-days: 1\n\n  upload-to-codecov:\n    name: Upload to Codecov\n    runs-on: ubuntu-latest\n    needs:\n      - unit-tests\n      - integration-tests\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          show-progress: false\n\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n\n      - name: Upload to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n", "state": "active", "repository": "hvac/hvac"}
{"mined_at": "2024-07-15T12:58:29.529727", "created_at": "2022-07-11T02:38:12+02:00", "updated_at": "2022-07-11T03:39:43+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch: {}\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write\n      pull-requests: read\n    runs-on: ubuntu-latest\n    steps:\n      - name: Run release-drafter action\n        id: release-drafter\n        uses: release-drafter/release-drafter@v6\n        with:\n          disable-autolabeler: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Adding markdown\n        run: |\n          cat <<MKDOWN >> $GITHUB_STEP_SUMMARY\n          ### Release Drafter :rocket:\n\n          * **Draft Release URL**:\n          [${{ steps.release-drafter.outputs.name }} (${{ steps.release-drafter.outputs.id }})](${{ steps.release-drafter.outputs.html_url }})\n          * **Tag Name**: ${{ steps.release-drafter.outputs.tag_name }}\n          MKDOWN\n", "state": "active", "repository": "hvac/hvac"}
{"mined_at": "2024-07-15T12:58:30.614035", "created_at": "2023-09-09T17:18:11+02:00", "updated_at": "2023-09-09T17:18:11+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        show-progress: false\n\n    - name: Install Poetry\n      uses: snok/install-poetry@v1.3.4\n      with:\n        version: 1.6.1\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n\n    - name: Set up Python\n      id: python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n        cache: poetry\n\n    - name: Install dependencies\n      if: steps.python.outputs.cache-hit != 'true'\n      run: poetry install --no-interaction --no-root\n\n    - name: Install library\n      run: poetry install --no-interaction\n\n    - name: Build\n      run: poetry build\n\n    - name: Upload artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: package\n        path: dist/\n        retention-days: 7\n        if-no-files-found: error\n\n  pypi:\n    needs: [build]\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    environment:\n        name: pypi-publishing\n        url: https://pypi.org/project/hvac/\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: package\n          path: dist\n\n      - name: Show tree\n        run: tree\n\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  asset:\n    needs: [build]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: package\n          path: dist\n\n      - name: Show tree\n        run: tree\n\n      - name: Add release asset\n        uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87\n        with:\n          tag_name: ${{ github.event.release.tag_name }}\n          fail_on_unmatched_files: true\n          files: |\n            dist/*\n", "state": "active", "repository": "hvac/hvac"}
{"mined_at": "2024-07-15T12:58:31.721801", "created_at": "2023-09-10T17:00:01+02:00", "updated_at": "2023-09-10T17:00:01+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "hvac/hvac"}
{"mined_at": "2024-07-15T12:58:32.715304", "created_at": "2023-09-04T20:36:53+02:00", "updated_at": "2023-09-04T20:36:53+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "hvac/hvac"}
{"mined_at": "2024-07-15T12:58:34.718543", "created_at": "2020-12-12T09:01:00+01:00", "updated_at": "2020-12-12T09:01:00+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "---\nname: CI\n\non:\n  push:\n    branches: [trunk]\n    tags: [\"*\"]\n  pull_request:\n    branches: [trunk]\n  workflow_dispatch:\n\nenv:\n  FORCE_COLOR: \"1\"\n  PIP_DISABLE_VERSION_CHECK: \"1\"\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    name: nox on ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            docs.djangoproject.com:443\n            docs.python.org:443\n            files.pythonhosted.org:443\n            github.com:443\n            pypi.org:443\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: \"Install dependencies\"\n        run: |\n          python -VV\n          python -Im site\n          python -Im pip install --upgrade pip setuptools wheel\n          python -Im pip install --upgrade nox\n          python -Im nox --version\n      - name: \"Run CI suite with nox\"\n        run: \"python -Im nox --non-interactive --error-on-external-run --python ${{ matrix.python-version }}\"\n", "state": "active", "repository": "ubernostrum/django-registration"}
{"mined_at": "2024-07-15T12:58:36.751927", "created_at": "2021-12-22T16:41:01+01:00", "updated_at": "2021-12-22T16:41:01+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "o365/python-o365"}
{"mined_at": "2024-07-15T12:58:39.781181", "created_at": "2021-05-01T21:36:11+02:00", "updated_at": "2023-03-24T20:57:50+01:00", "name": "Build", "path": ".github/workflows/wheels.yml", "contents": "name: Build\n\non: [push, pull_request]\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13, macos-14]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Build sdist\n        run: |\n          pipx run build --sdist\n          python3 -c \"import pathlib,glob;pathlib.Path('GITHUB_ENV').write_text('SDIST_PATH' + glob.glob('dist/*.tar.gz')[0])\"\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.18.1\n        env:\n          CIBW_BUILD:\n            \"cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* pp39-* pp310-*\"\n          CIBW_TEST_COMMAND: \"python -m pymunk.tests\"\n          CIBW_BUILD_VERBOSITY: 3\n        with:\n          package-dir: \"$SDIST_PATH\"\n\n      - name: Upload wheel artifacts\n        uses: actions/upload-artifact@v4\n        if: ${{ github.ref == 'refs/heads/master'}}\n        with:\n          name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}\n          path: ./wheelhouse/*.whl\n          retention-days: 7\n\n      - name: Upload sdist artifact\n        uses: actions/upload-artifact@v4\n        if:\n          ${{ github.ref == 'refs/heads/master' && matrix.os ==\n          'windows-latest'}}\n        with:\n          name: sdist-${{ matrix.os }}-${{ strategy.job-index }}\n          path: ./dist/*.tar.gz\n          retention-days: 7\n\n  build_wasm:\n    name: Build wheels for wasm / emscripten\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11.2\"\n      - run: |\n          pip install pyodide-build>=0.23.3\n          echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV\n      - uses: mymindstorm/setup-emsdk@v14\n        with:\n          version: ${{ env.EMSCRIPTEN_VERSION }}\n      - run: pyodide build\n        env:\n          PYMUNK_BUILD_SLIM: 1\n      - uses: actions/upload-artifact@v4\n        if: ${{ github.ref == 'refs/heads/master' }}\n        with:\n          path: ./dist/*.whl\n          retention-days: 7\n", "state": "active", "repository": "viblo/pymunk"}
{"mined_at": "2024-07-15T12:58:41.731123", "created_at": "2021-01-21T17:05:14+01:00", "updated_at": "2021-01-21T17:05:14+01:00", "name": "test", "path": ".github/workflows/main.yml", "contents": "name: test\n\non: [push, pull_request]\n\njobs:\n    fips-test:\n        runs-on: ubuntu-latest\n        steps:\n        - uses: actions/checkout@v1\n        - name: test\n          run: ./test-linux.sh\n", "state": "active", "repository": "floooh/fips"}
{"mined_at": "2024-07-15T12:58:43.760121", "created_at": "2023-12-15T04:12:01+01:00", "updated_at": "2023-12-15T05:07:34+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "---\nname: Codespell\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\npermissions:\n  contents: read\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "nipy/nitime"}
{"mined_at": "2024-07-15T12:58:44.823454", "created_at": "2020-12-19T21:22:07+01:00", "updated_at": "2020-12-19T21:22:07+01:00", "name": "Test suite", "path": ".github/workflows/test.yml", "contents": "name: Test suite\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - \"*\"\n  pull_request:\n    branches:\n      - master\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\n\njobs:\n  test:\n\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    strategy:\n      matrix:\n        # We test NumPy dev on 3.11\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        requires: ['requirements.txt']\n        include:\n          - python-version: '3.8'\n            requires: 'min-requirements.txt'\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n    - name: Install\n      run: |\n        set -eo pipefail\n        python -m pip install --upgrade pip\n        python -m pip install -r ${{ matrix.requires }}\n        python -m pip install -r requirements-dev.txt\n        if [[ \"${{ matrix.python-version }}\" == \"3.11\" ]]; then\n          python -m pip install --only-binary numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \"numpy>=2.1.0.dev0\"\n        fi\n        python -m pip install .\n    - name: Lint\n      run: |\n        pipx run flake8 --ignore N802,N806,W504 --select W503 nitime/ tools/\n    - name: Test\n      run: |\n        mkdir ~/for_test && cd ~/for_test && pytest --pyargs nitime --cov-report term-missing --cov=nitime\n", "state": "active", "repository": "nipy/nitime"}
{"mined_at": "2024-07-15T12:58:45.851586", "created_at": "2023-03-27T22:45:18+02:00", "updated_at": "2023-04-04T04:45:25+02:00", "name": "Build", "path": ".github/workflows/wheels.yml", "contents": "name: Build\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - \"*\"\n  pull_request:\n    branches:\n      - master\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  job_metadata:\n    runs-on: ubuntu-latest\n    outputs:\n      commit_message: ${{ steps.get_commit_message.outputs.commit_message }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n      - name: Print head git commit message\n        id: get_commit_message\n        run: |\n          if [[ -z \"$COMMIT_MSG\" ]]; then\n            COMMIT_MSG=$(git show -s --format=%s $REF)\n          fi\n          echo commit_message=$COMMIT_MSG | tee -a $GITHUB_OUTPUT\n        env:\n          COMMIT_MSG: ${{ github.event.head_commit.message }}\n          REF: ${{ github.event.pull_request.head.sha }}\n\n  build-sdist:\n    name: Build sdist\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Build sdist\n        run: pipx run build -s\n      - uses: actions/upload-artifact@v3\n        with:\n          name: sdist\n          path: ./dist/*.tar.gz\n\n  build-wheel:\n    name: Build wheel for ${{ matrix.python }}-${{ matrix.buildplat[1] }}\n    needs: [job_metadata]\n    runs-on: ${{ matrix.buildplat[0] }}\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') || contains(needs.job_metadata.outputs.commit_message, '[build wheels]')\n    strategy:\n      fail-fast: false\n      matrix:\n        buildplat:\n          - [ubuntu-latest, musllinux_x86_64]\n          - [ubuntu-latest, manylinux_aarch64]\n          - [macos-13, macosx_x86_64]  # native Intel hardware\n          - [windows-latest, win_amd64]\n        python: [\"cp38\", \"cp39\", \"cp310\", \"cp311\", \"cp312\"]\n        # No NumPy wheels on 3.8 aarch64 or musl\n        exclude:\n          - buildplat: [ubuntu-latest, manylinux_aarch64]\n            python: \"cp38\"\n          - buildplat: [ubuntu-latest, musllinux_x86_64]\n            python: \"cp38\"\n        include:\n          # Manylinux and arm64 builds (on native hardware) are cheap, do all in one\n          - { buildplat: [\"ubuntu-latest\", \"manylinux_x86_64\"], python: \"*\" }\n          - { buildplat: [\"macos-14\", \"macosx_arm64\"], python: \"*\" }\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v3\n\n      - name: Update pip/pipx\n        run: pip install --upgrade pip pipx\n\n      # For aarch64 support\n      # https://cibuildwheel.pypa.io/en/stable/faq/#emulation\n      - uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n        if: runner.os == 'Linux' && endsWith(matrix.buildplat[1], 'aarch64')\n\n      - name: Build wheel(s)\n        run: pipx run --spec \"cibuildwheel>=2.15\" cibuildwheel\n        env:\n          CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: ${{ matrix.python == '*' && 'all' || matrix.python }}-${{ startsWith(matrix.buildplat[1], 'macosx') && 'macosx' || matrix.buildplat[1] }}\n          path: ./wheelhouse/*.whl\n\n  test-sdist:\n    name: Test sdist\n    needs: [build-sdist]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: sdist\n          path: ./dist\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Install sdist\n        run: pip install dist/*.tar.gz\n      - run: python -c 'import nitime; print(nitime.__version__)'\n      - name: Install pytest\n        run: pip install pytest\n      - name: Run tests\n        run: pytest -v --pyargs nitime\n\n  pre-publish:\n    runs-on: ubuntu-latest\n    needs: [test-sdist, build-wheel]\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          path: dist/\n      - name: Check artifacts\n        run: ls -lR\n      - name: Consolidate and re-check\n        run: |\n          mv dist/*/*.{tar.gz,whl} dist\n          rmdir dist/*/\n          ls -lR\n      - run: pipx run twine check dist/*\n\n  publish:\n    runs-on: ubuntu-latest\n    environment: \"Package deployment\"\n    needs: [pre-publish]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          path: dist/\n      - name: Consolidate artifacts\n        run: |\n          mv dist/*/*.{tar.gz,whl} dist\n          rmdir dist/*/\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "nipy/nitime"}
{"mined_at": "2024-07-15T12:58:48.030006", "created_at": "2022-04-12T02:15:57+02:00", "updated_at": "2022-12-19T23:48:06+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: 'CodeQL'\n\non:\n  push:\n    branches: [ 'main' ]\n  pull_request:\n    branches: [ 'main' ]\n  schedule:\n    - cron: '42 2 12/16 * *'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    timeout-minutes: 360\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n          - javascript-typescript\n          - python\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        queries: +security-extended,security-and-quality\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "weasyl/weasyl"}
{"mined_at": "2024-07-15T12:58:49.055377", "created_at": "2020-11-23T03:21:26+01:00", "updated_at": "2023-05-21T11:55:14+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n\n    container:\n      image: ghcr.io/weasyl/ci-base-image@sha256:9a366824361bf3123b28364ab6a4bd039ac765fafd5a1baab07f5c7c4485c007\n      options: --user 1001\n\n    services:\n      weasyl-database:\n        image: postgres:9.6\n        env:\n          POSTGRES_HOST_AUTH_METHOD: trust\n          POSTGRES_USER: weasyl\n          POSTGRES_DB: weasyl_test\n        # probably ready by the time the tests run anyway; no need to add latency\n        #options: >-\n        #  --health-cmd pg_isready\n        #  --health-interval 10s\n        #  --health-timeout 5s\n        #  --health-retries 5\n\n      weasyl-memcached:\n        image: memcached:1.5-alpine\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Cache npm dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.npm\n          key: cache-${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}\n          restore-keys: |\n            cache-${{ runner.os }}-npm-\n\n      - name: Cache Poetry dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pypoetry\n          key: cache-${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}\n          restore-keys: |\n            cache-${{ runner.os }}-poetry-\n\n      - name: Create virtualenv\n        run: python3 -m venv --system-site-packages .venv\n\n      - name: Install npm dependencies\n        run: npm ci\n\n      - name: Install Poetry dependencies\n        run: poetry install\n\n      - name: Configure Weasyl\n        run: |\n          cp ci/site.config.txt config/\n          cp config/weasyl-staff.example.py config/weasyl-staff.py\n          printf %.8s \"$GITHUB_SHA\" > version.txt\n\n      - name: Build assets\n        run: node build.js\n\n      - name: Test libweasyl\n        env:\n          WEASYL_TEST_SQLALCHEMY_URL: postgresql+psycopg2cffi://weasyl@weasyl-database/weasyl_test\n        run: .venv/bin/coverage run -m pytest libweasyl.test libweasyl.models.test\n\n      - name: Test weasyl\n        env:\n          WEASYL_APP_ROOT: .\n          WEASYL_STORAGE_ROOT: testing\n        run: .venv/bin/coverage run -m pytest weasyl.test\n\n      - name: Create coverage report\n        run: |\n          .venv/bin/coverage combine\n          .venv/bin/coverage xml\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          file: ./coverage.xml\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "weasyl/weasyl"}
{"mined_at": "2024-07-15T12:58:51.196034", "created_at": "2020-02-02T09:02:36+01:00", "updated_at": "2021-04-25T03:26:21+02:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Python package\non: [push]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[dev]\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        # TODO: Figure out if we can run headless tests\n        pytest tests/test_docs.py\n", "state": "active", "repository": "moderngl/moderngl-window"}
{"mined_at": "2024-07-15T12:58:54.378966", "created_at": "2022-04-26T18:16:59+02:00", "updated_at": "2022-04-27T15:33:03+02:00", "name": "Docker Package", "path": ".github/workflows/docker.yml", "contents": "name: Docker Package\non:\n  push:\n    tags: \"*\"\n    branches:\n      - master\n  pull_request:\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-publish-base:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository )\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Log into the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: token\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      # Build and publish image with all sources\n      - name: Extract metadata for the Docker image\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n      - name: Build and push the Docker image\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: slim.Dockerfile\n          target: all\n          push: ${{ github.actor != 'dependabot[bot]' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n\n  build-and-publish-targets:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository )\n    strategy:\n      fail-fast: false\n      matrix:\n        target: [\"geo\", \"jupyter\", \"jupyter-geo\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Log into the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: token\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      # Build and publish image with only geospatial sources\n      - name: Extract metadata for the geospatial Docker image\n        id: meta_target\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n          flavor: |\n            latest=auto\n            suffix=-${{ matrix.target }},onlatest=true\n      - name: Build and push the geosptial Docker image\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: slim.Dockerfile\n          target: ${{ matrix.target }}\n          push: ${{ github.actor != 'dependabot[bot]' }}\n          tags: ${{ steps.meta_target.outputs.tags }}\n          labels: ${{ steps.meta_target.outputs.labels }}\n", "state": "active", "repository": "girder/large_image"}
{"mined_at": "2024-07-15T12:58:55.467596", "created_at": "2021-12-17T16:33:25+01:00", "updated_at": "2021-12-17T16:33:25+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "girder/large_image"}
{"mined_at": "2024-07-15T12:58:57.759110", "created_at": "2020-06-09T14:33:11+02:00", "updated_at": "2020-06-09T14:33:11+02:00", "name": "continuous-deployment", "path": ".github/workflows/continuousdeployment.yml", "contents": "name: continuous-deployment\n\n# on push events tagged with a version number\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  build-and-deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Get version from tag\n      id: tag_name\n      run: |\n        echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}\n      shell: bash\n\n    - name: Get Changelog Entry\n      id: changelog_reader\n      uses: mindsers/changelog-reader-action@v2\n      with:\n        version: ${{ steps.tag_name.outputs.current_version }}\n        path: ./CHANGELOG.md\n\n    - name: Create Release\n      uses: actions/create-release@latest\n      env:\n        GITHUB_TOKEN: ${{ secrets.AccessToken }}\n      with:\n        tag_name: ${{ github.ref }}\n        release_name: Release ${{ github.ref }}\n        body: |\n          Automated preprocessing of Next-Generation Sequencing data, including full (sc)ATAC-seq, ChIP-seq, and (sc)RNA-seq workflows.\n\n          ${{ steps.changelog_reader.outputs.log_entry }}\n        draft: false\n        prerelease: false\n", "state": "active", "repository": "vanheeringen-lab/seq2science"}
{"mined_at": "2024-07-15T12:58:58.884278", "created_at": "2020-05-26T13:05:49+02:00", "updated_at": "2023-01-23T13:56:29+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          persist-credentials: false\n\n      - uses: actions/setup-python@v3\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies 🔨 & Build 🔧\n        run: |\n          # setup mambaforge\n          wget -q -O Mambaforge.sh  \"https://github.com/conda-forge/miniforge/releases/download/4.11.0-1/Mambaforge-$(uname)-$(uname -m).sh\"\n          bash Mambaforge.sh -b -p \"${HOME}/conda\" > /dev/null\n          source \"${HOME}/conda/etc/profile.d/conda.sh\"\n          source \"${HOME}/conda/etc/profile.d/mamba.sh\"\n          mamba activate\n\n          # load channels\n          $CONDA/bin/conda config --add channels bioconda\n          $CONDA/bin/conda config --add channels conda-forge\n\n          # install seq2science with added docs requirements\n          declare -a requirements=(\n            \"graphviz>=7\"\n            \"importlib_metadata=4.11.4\"\n            \"m2r2>=0.3.3\"\n            \"networkx>=3\"\n            \"sphinx>=6\"\n            \"sphinx_rtd_theme>=1.2\"\n            \"sphinx-argparse>=0.4\"\n          )\n          cp requirements.yaml doc_reqs.yaml\n          for pkg in \"${requirements[@]}\"; do\n            echo \"  - conda-forge::${pkg}\" >> doc_reqs.yaml\n          done\n          mamba env create --name seq2science --file doc_reqs.yaml\n          rm doc_reqs.yaml\n          mamba activate seq2science\n          pip3 install .\n\n          # make the docs\n          python docs/scripts/schemas.py\n          python docs/scripts/rule_description.py\n          python docs/scripts/gen_dags.py\n          cp CHANGELOG.md docs/content\n          sphinx-build docs/ build -W\n          touch build/.nojekyll\n\n      # only deploy\n      - name: Deploy 📬\n        uses: JamesIves/github-pages-deploy-action@releases/v3\n        if: github.ref == 'refs/heads/master'\n        with:\n          ACCESS_TOKEN: ${{ secrets.AccessToken }}\n          BRANCH: gh-pages # The branch the action should deploy to.\n          FOLDER: build # The folder the action should deploy.\n", "state": "active", "repository": "vanheeringen-lab/seq2science"}
{"mined_at": "2024-07-15T12:58:59.972134", "created_at": "2021-12-17T13:52:28+01:00", "updated_at": "2021-12-17T13:52:28+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "vanheeringen-lab/seq2science"}
{"mined_at": "2024-07-15T12:59:02.087814", "created_at": "2021-07-27T14:28:24+02:00", "updated_at": "2023-04-18T15:41:17+02:00", "name": "Tests and release", "path": ".github/workflows/test-and-release.yml", "contents": "# (C) Copyright 2021 ECMWF.\n#\n# This software is licensed under the terms of the Apache Licence Version 2.0\n# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.\n# In applying this licence, ECMWF does not waive the privileges and immunities\n# granted to it by virtue of its status as an intergovernmental organisation\n# nor does it submit to any jurisdiction.\n#\n\nname: Tests and release\n\non:\n  workflow_dispatch: {}\n\n  # schedule:\n  #   # Every day at 3:07am\n  #   # on the \"default\" branch set in github (currently is develop)\n  #   - cron:  '07 3 * * *'\n\n  release:\n    types: [created]\n\n  push:\n    branches:\n      - \"*\"\n\n  repository_dispatch:\n    types:\n    - cdsapi-updated\n    - magics-python-updated\n    - ecmwf-api-client-updated\n\njobs:\n  quality:\n    name: Code QA\n    runs-on: ubuntu-latest\n    steps:\n    - run: sudo apt-get install -y pandoc # Needed by sphinx for notebooks\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - uses: pre-commit/action@v3.0.1\n\n  download-test-data:\n    name: Download test data\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: 3.x\n\n    - name: Tokens\n      shell: python\n      env:\n        ECMWFAPIRC: ${{ secrets.ECMWFAPIRC }}\n        CDSAPIRC: ${{ secrets.CDSAPIRC }}\n\n      run: |\n        import os\n        # for n in ('ECMWFAPIRC', 'CDSAPIRC'):\n        n = 'ECMWFAPIRC'\n        m = os.path.expanduser(\"~/.\" + n.lower())\n        if os.environ[n]:\n            with open(m, \"w\") as f:\n                print(os.environ[n], file=f)\n    - run: mkdir test-data\n    - run: echo \"dataA\" > test-data/dataA.txt\n    - run: echo \"dataB\" > test-data/dataB.txt\n    - run: cat test-data/dataA.txt\n    - name: Tar files\n      run: tar -cvf test-data.tar test-data\n    - name: Upload Artifact\n      uses: actions/upload-artifact@v3\n      with:\n        name: test-data\n        path: test-data.tar\n\n  tests-with-external-download:\n    if: github.event_name == 'release' && github.event.action == 'created'\n    strategy:\n      fail-fast: true\n      matrix:\n        platform: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        python-version: [\"3.10\"]\n    name: Long tests with external downloads Python ${{ matrix.python-version }} ${{ matrix.platform }}\n    runs-on: ${{ matrix.platform }}\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Tokens\n      shell: python\n      env:\n        ECMWFAPIRC: ${{ secrets.ECMWFAPIRC }}\n        CDSAPIRC: ${{ secrets.CDSAPIRC }}\n      run: |\n        import os\n        # for n in ('ECMWFAPIRC', 'CDSAPIRC'):\n        n = 'ECMWFAPIRC'\n        m = os.path.expanduser(\"~/.\" + n.lower())\n        if os.environ[n]:\n            with open(m, \"w\") as f:\n                print(os.environ[n], file=f)\n    - name: Install climetlab\n      run: pip install -e .  # run: pip install .[interactive,tensorflow,zarr]\n    - run: climetlab versions\n    - name: Install test tools\n      run: |\n        pip install pytest\n        pip freeze\n    - name: Long Tests\n      run: pytest --durations=0 -E release -k 'not test_notebooks'\n\n  tests-notebooks:\n    if: github.event_name == 'release' && github.event.action == 'created'\n    strategy:\n      matrix:\n        platform: [\"ubuntu-latest\"]\n        python-version: [\"3.9\"]\n    name: Tests notebooks Python ${{ matrix.python-version }} ${{ matrix.platform }}\n    runs-on: ${{ matrix.platform }}\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Tokens\n      shell: python\n      env:\n        ECMWFAPIRC: ${{ secrets.ECMWFAPIRC }}\n        CDSAPIRC: ${{ secrets.CDSAPIRC }}\n      run: |\n        import os\n        # for n in ('ECMWFAPIRC', 'CDSAPIRC'):\n        n = 'ECMWFAPIRC'\n        m = os.path.expanduser(\"~/.\" + n.lower())\n        if os.environ[n]:\n            with open(m, \"w\") as f:\n                print(os.environ[n], file=f)\n    - name: Install climetlab\n      run: pip install -e .  # run: pip install .[interactive,tensorflow,zarr]\n    - run: climetlab versions\n    - name: Install test tools\n      run: |\n        pip install pytest\n        pip freeze\n    - name: Tests notebooks\n      run: pytest tests/documentation/test_notebooks.py\n\n  short-tests:\n\n    needs: [download-test-data]\n    strategy:\n      matrix:\n        platform: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        python-version: [\"3.9\", \"3.10\"]\n\n    name: Short tests Python ${{ matrix.python-version }} ${{ matrix.platform }}\n    runs-on: ${{ matrix.platform }}\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Download test-data\n      uses: actions/download-artifact@v3\n      with:\n        name: test-data\n    - run: tar xvf test-data.tar\n    - run: cat test-data/dataA.txt\n\n    - name: Tokens\n      # (this should be removed when tests are refactored)\n      shell: python\n      env:\n        ECMWFAPIRC: ${{ secrets.ECMWFAPIRC }}\n        CDSAPIRC: ${{ secrets.CDSAPIRC }}\n      run: |\n        import os\n        # for n in ('ECMWFAPIRC', 'CDSAPIRC'):\n        n = 'ECMWFAPIRC'\n        m = os.path.expanduser(\"~/.\" + n.lower())\n        if os.environ[n]:\n            with open(m, \"w\") as f:\n                print(os.environ[n], file=f)\n\n    - run: pip install --upgrade pip\n\n    - name: Install climetlab\n      run: pip install -e .\n\n    - run: climetlab versions\n    - name: Install test tools\n      run: |\n        pip install pytest\n        pip freeze\n    - name: Check imports\n      run: |\n        pytest tests/test_imports.py\n      env:\n        SKIP_TEST_IMPORTS: 0\n    - name: Tests\n      run: |\n        # -E flag is defined in conftest.py\n        # notebooks need more dependencies\n        # pytest --durations=0 -E release -k 'not test_notebooks'\n        pytest --durations=10 -vv -E short\n\n\n  deploy:\n    name: Upload to Pypi and release\n    needs: [short-tests, quality, tests-with-external-download, tests-notebooks]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        run: |\n          python -m build\n          twine upload dist/*\n", "state": "active", "repository": "ecmwf/climetlab"}
{"mined_at": "2024-07-15T12:59:03.098315", "created_at": "2021-10-14T16:10:40+02:00", "updated_at": "2021-10-14T18:36:59+02:00", "name": "Coverage", "path": ".github/workflows/coverage.yml", "contents": "# (C) Copyright 2021 ECMWF.\n#\n# This software is licensed under the terms of the Apache Licence Version 2.0\n# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.\n# In applying this licence, ECMWF does not waive the privileges and immunities\n# granted to it by virtue of its status as an intergovernmental organisation\n# nor does it submit to any jurisdiction.\n#\nname: Coverage\n\non:\n  # schedule:\n  #   # Every day at 3:07am\n  #   - cron:  '07 3 * * *'\n\n  workflow_dispatch: {}\n\njobs:\n  coverage:\n\n    runs-on: \"ubuntu-latest\"\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n\n    - name: Tokens\n      shell: python\n      env:\n        ECMWFAPIRC: ${{ secrets.ECMWFAPIRC }}\n        CDSAPIRC: ${{ secrets.CDSAPIRC }}\n      run: |\n        import os\n        for n in ('ECMWFAPIRC', 'CDSAPIRC'):\n            m = os.path.expanduser(\"~/.\" + n.lower())\n            if os.environ[n]:\n                with open(m, \"w\") as f:\n                    print(os.environ[n], file=f)\n\n    - name: Install climetlab\n      run: pip install -e .[interactive,zarr,tensorflow]\n\n    - name: Install test tools\n      run: pip install pytest pytest-cov nbformat nbconvert ipykernel\n\n    - name: Check imports\n      env:\n        SKIP_TEST_IMPORTS: 0\n      run: pytest tests/test_imports.py\n\n    - name: Tests with code coverage\n      run: pytest --cov=climetlab --cov-report=html --cov-report=xml -E release\n\n    - name: Codecov Upload\n      uses: codecov/codecov-action@v2\n", "state": "active", "repository": "ecmwf/climetlab"}
{"mined_at": "2024-07-15T12:59:04.110088", "created_at": "2023-04-21T17:10:30+02:00", "updated_at": "2023-04-21T17:10:30+02:00", "name": "QA and short tests", "path": ".github/workflows/qa.yml", "contents": "# (C) Copyright 2021 ECMWF.\n#\n# This software is licensed under the terms of the Apache Licence Version 2.0\n# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.\n# In applying this licence, ECMWF does not waive the privileges and immunities\n# granted to it by virtue of its status as an intergovernmental organisation\n# nor does it submit to any jurisdiction.\n#\n\nname: QA and short tests\n\non:\n  workflow_dispatch: {}\n\n  # schedule:\n  #   # Every day at 3:07am\n  #   # on the \"default\" branch set in github (currently is develop)\n  #   - cron:  '07 3 * * *'\n\n  pull_request:\n\njobs:\n  quality:\n    name: Code QA\n    runs-on: ubuntu-latest\n    steps:\n    - run: sudo apt-get install -y pandoc # Needed by sphinx for notebooks\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - uses: pre-commit/action@v3.0.1\n\n  short-tests:\n    name: Short tests\n    runs-on: \"ubuntu-latest\"\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Install climetlab\n      run: pip install -e .\n    - run: pip install pytest\n    - run: pytest -vv -E short\n", "state": "active", "repository": "ecmwf/climetlab"}
{"mined_at": "2024-07-15T12:59:07.060255", "created_at": "2020-11-23T19:52:13+01:00", "updated_at": "2024-06-12T17:10:40+02:00", "name": "Run tests", "path": ".github/workflows/continuous-integration.yml", "contents": "# This workflow will install Python dependencies and run tests with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Run tests\n\non:\n  push:\n    branches: [ devel ]\n  pull_request:\n    branches: [ devel ]\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ 3.8, 3.9, '3.10', '3.11' ]\n        isMerge:\n          - ${{ github.event_name == 'push' && github.ref == 'refs/heads/devel' }}\n        exclude:\n          - { isMerge: false, python-version: 3.9 }\n          - { isMerge: false, python-version: '3.10' }\n        include:\n          - os: macos-latest\n            python-version: '3.10'\n\n    name: ${{ matrix.os }} / Python ${{ matrix.python-version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install non-Python dependencies on Ubuntu\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo apt-get update\n          sudo apt-get install gfortran\n          sudo apt-get install openmpi-bin libopenmpi-dev\n          sudo apt-get install libhdf5-openmpi-dev\n\n      - name: Install non-Python dependencies on macOS\n        if: matrix.os == 'macos-latest'\n        run: |\n          brew install open-mpi\n          brew install hdf5-mpi\n          brew install libomp\n          GFORTRAN_HOME=$(which gfortran || true)\n          echo \"GFORTRAN_HOME : $GFORTRAN_HOME\"\n          if [[ ! -f \"$GFORTRAN_HOME\" ]]; then\n            gfort=$(find ${PATH//:/\\/ } -name 'gfortran-*' -exec basename {} \\; | sort | tail -n 1 || true)\n            echo \"Found $gfort\"\n            gfort_path=$(which ${gfort})\n            folder=$(dirname ${gfort_path})\n            ln -s ${gfort_path} ${folder}/gfortran\n          fi\n          echo \"MPI_OPTS=--oversubscribe\" >> $GITHUB_ENV\n\n      - name: Print information on MPI and HDF5 libraries\n        run: |\n          ompi_info\n          h5pcc -showconfig -echo || true\n\n      - name: Upgrade pip\n        run: |\n          python -m pip install --upgrade pip\n\n#      - name: Get pip cache dir\n#        id: pip-cache-dir\n#        run: |\n#          echo \"::set-output name=dir::$(python -m pip cache dir)\"\n#\n#      - name: pip cache\n#        uses: actions/cache@v2\n#        id: pip-cache\n#        with:\n#          path: ${{ steps.pip-cache-dir.outputs.dir }}\n#          key: ${{ matrix.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements.txt') }}\n#          restore-keys: |\n#            ${{ matrix.os }}-${{ matrix.python-version }}-pip-\n\n      - name: Determine directory of parallel HDF5 library\n        run: |\n          if [[ \"${{ matrix.os }}\" == \"ubuntu-latest\" ]]; then\n            HDF5_DIR=$(dpkg -L libhdf5-openmpi-dev | grep libhdf5.so | xargs dirname)\n          elif [[ \"${{ matrix.os }}\" == \"macos-latest\" ]]; then\n            HDF5_DIR=$(brew list hdf5-mpi | grep \"libhdf5.dylib\" | xargs dirname | xargs dirname)\n          fi\n          echo $HDF5_DIR\n          echo \"HDF5_DIR=$HDF5_DIR\" >> $GITHUB_ENV\n\n      - name: Download a specific release of PETSc\n        run: |\n          git clone --depth 1 --branch v3.20.5 https://gitlab.com/petsc/petsc.git\n\n      - name: Install PETSc with complex support, and test it\n        working-directory: ./petsc\n        run: |\n          export PETSC_DIR=$(pwd)\n          export PETSC_ARCH=petsc-cmplx\n          ./configure --with-scalar-type=complex --with-fortran-bindings=0 --have-numpy=1         \n          make all check\n          echo \"PETSC_DIR=$PETSC_DIR\" >> $GITHUB_ENV\n          echo \"PETSC_ARCH=$PETSC_ARCH\" >> $GITHUB_ENV\n\n      - name: Install petsc4py\n        working-directory: ./petsc\n        run: | \n          python -m pip install wheel Cython numpy\n          python -m pip install src/binding/petsc4py\n\n      - name: Install Python dependencies\n        run: |\n          export CC=\"mpicc\" HDF5_MPI=\"ON\"\n          python -m pip install -r requirements.txt\n          python -m pip install -r requirements_extra.txt --no-build-isolation\n          python -m pip list\n\n      - name: Check h5py installation\n        run: |\n            python -c \"from h5py import File; print(File)\"\n\n      - name: Install project\n        run: |\n          python -m pip install .\n          python -m pip freeze\n\n      - name: Initialize test directory\n        run: |\n          mkdir pytest\n          cp mpi_tester.py pytest\n\n      - name: Run single-process tests with Pytest\n        working-directory: ./pytest\n        run: |\n          export PSYDAC_MESH_DIR=$GITHUB_WORKSPACE/mesh\n          export OMP_NUM_THREADS=2\n          python -m pytest -n auto --pyargs psydac -m \"not parallel and not petsc\"\n\n      - name: Run MPI tests with Pytest\n        working-directory: ./pytest\n        run: |\n          export PSYDAC_MESH_DIR=$GITHUB_WORKSPACE/mesh\n          export OMP_NUM_THREADS=2\n          python mpi_tester.py --mpirun=\"mpiexec -n 4 ${MPI_OPTS}\" --pyargs psydac -m \"parallel and not petsc\"\n\n      - name: Run single-process PETSc tests with Pytest\n        working-directory: ./pytest\n        run: |\n          export PSYDAC_MESH_DIR=$GITHUB_WORKSPACE/mesh\n          export OMP_NUM_THREADS=2\n          python -m pytest -n auto --pyargs psydac -m \"not parallel and petsc\"\n\n      - name: Run MPI PETSc tests with Pytest\n        working-directory: ./pytest\n        run: |\n          export PSYDAC_MESH_DIR=$GITHUB_WORKSPACE/mesh\n          export OMP_NUM_THREADS=2\n          python mpi_tester.py --mpirun=\"mpiexec -n 4 ${MPI_OPTS}\" --pyargs psydac -m \"parallel and petsc\"\n\n      - name: Remove test directory\n        if: ${{ always() }}\n        run: |\n          rm -rf pytest\n", "state": "active", "repository": "pyccel/psydac"}
{"mined_at": "2024-07-15T12:59:08.206049", "created_at": "2023-05-12T16:03:29+02:00", "updated_at": "2023-05-24T09:19:55+02:00", "name": "documentation", "path": ".github/workflows/documentation.yml", "contents": "name: documentation\n\non:\n  push:\n    branches: [ devel ]\n  pull_request:\n    branches: [ devel ]\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\njobs:\n  build_docs:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN}}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - name: Install non-Python dependencies on Ubuntu\n      run: |\n        sudo apt update\n        sudo apt install graphviz\n    - name: Install Python dependencies\n      run: |\n        python -m pip install -r docs_requirements.txt\n    - name: Make the sphinx doc\n      run: |\n        rm -rf docs/source/modules/STUBDIR\n        make -C docs clean\n        make -C docs html\n        python docs/update_links.py\n    - name: Setup Pages\n      uses: actions/configure-pages@v3\n    - name: Upload artifact\n      uses: actions/upload-pages-artifact@v1\n      with:\n        path: 'docs/build/html'\n\n  deploy_docs:\n    if: github.event_name != 'pull_request'\n    needs: build_docs\n    runs-on: ubuntu-latest\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    steps:\n    - name: Deploy to GitHub Pages\n      id: deployment\n      uses: actions/deploy-pages@v2\n", "state": "active", "repository": "pyccel/psydac"}
{"mined_at": "2024-07-15T12:59:09.180606", "created_at": "2023-05-12T12:34:01+02:00", "updated_at": "2023-05-12T12:34:01+02:00", "name": "sphinx", "path": ".github/workflows/sphinx.yml", "contents": null, "state": "active", "repository": "pyccel/psydac"}
{"mined_at": "2024-07-15T12:59:10.220033", "created_at": "2023-04-26T14:48:11+02:00", "updated_at": "2023-04-26T14:48:11+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pyccel/psydac"}
{"mined_at": "2024-07-15T12:59:12.319175", "created_at": "2022-07-30T23:32:01+02:00", "updated_at": "2022-08-16T22:04:17+02:00", "name": "Wheel Builder", "path": ".github/workflows/build_wheels.yml", "contents": "# GitHub Workflow to build, test, and upload wheels\n\n# TODO: Implement GitHub's caching to speed up builds\n# TODO: Decide on specific versions of dependencies, and our pinning strategy\n# TODO: Implement ARM-based macOS builds on a self-hosted runner\n# TODO: Raspberry Pi builds\n# TODO: Linting\n\nname: Wheel Builder\n\non: [push, pull_request]\n\njobs:\n  build_wheels:\n    name: Build for ${{ matrix.cibw-build }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        # - os: windows-latest\n        #   python-version: 3.8\n        #   cibw-build: cp38-win_amd64\n        # - os: windows-latest\n        #   python-version: 3.9\n        #   cibw-build: cp39-win_amd64\n        # - os: windows-latest\n        #   python-version: '3.10'\n        #   cibw-build: cp310-win_amd64\n        # - os: windows-latest\n        #   python-version: 3.11\n        #   cibw-build: cp311-win_amd64\n        - os: ubuntu-latest\n          python-version: 3.8\n          cibw-build: cp38-manylinux_x86_64\n        - os: ubuntu-latest\n          python-version: 3.9\n          cibw-build: cp39-manylinux_x86_64\n        - os: ubuntu-latest\n          python-version: '3.10'\n          cibw-build: cp310-manylinux_x86_64\n        - os: ubuntu-latest\n          python-version: 3.11\n          cibw-build: cp311-manylinux_x86_64\n        # - os: macos-latest\n        #   python-version: 3.8\n        #   cibw-build: cp38-macosx_x86_64\n        # - os: macos-latest\n        #   python-version: 3.9\n        #   cibw-build: cp39-macosx_x86_64\n        # - os: macos-latest\n        #   python-version: '3.10'\n        #   cibw-build: cp310-macosx_x86_64\n        # - os: macos-latest\n        #   python-version: 3.11\n        #   cibw-build: cp311-macosx_x86_64\n        # I have no idea how to use the ARM runners on GitHub. Supposedly they exist but I can't figure them out.\n        # So for now we'll just manually build and upload Apple Silicon wheels? Last updated Oct 2 2023\n        # - os: macos-13-arm64\n        #   python-version: 3.8\n        #   cibw-build: cp38-macosx_universal2\n        # - os: macos-13-arm64\n        #   python-version: 3.9\n        #   cibw-build: cp39-macosx_universal2\n        # - os: macos-13-arm64\n        #   python-version: '3.10'\n        #   cibw-build: cp310-macosx_universal2\n        # - os: macos-13-arm64\n        #   python-version: 3.11\n        #   cibw-build: cp311-macosx_universal2\n\n    steps:\n      - name: Checkout MPF-MC\n        uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Run cibuildwheel\n        uses: pypa/cibuildwheel@v2.16.1  # Oct 2, 2023\n        env:\n          CIBW_BEFORE_ALL_LINUX: > # This is done here and not as its own step as this runs inside the cibw containered environment\n            yum install -y SDL2.x86_64 SDL2-devel.x86_64 SDL2_image.x86_64 SDL2_image-devel.x86_64\n            SDL2_mixer.x86_64 SDL2_mixer-devel.x86_64 gstreamer1.x86_64 gstreamer1-devel.x86_64 &&\n            python -m pip install --upgrade pip &&\n            pip install --upgrade setuptools wheel build &&\n            git clone --recursive --branch ${{ github.ref_name }} https://github.com/missionpinball/mpf.git _mpf ||\n            git clone --recursive --branch `python get_version.py` https://github.com/missionpinball/mpf.git _mpf ||\n            git clone --recursive --branch dev https://github.com/missionpinball/mpf.git _mpf &&\n            pip install -e _mpf\n          CIBW_BEFORE_ALL_MACOS: >\n            brew install SDL2 SDL2_mixer SDL2_image SDL2_ttf gstreamer\n          CIBW_BEFORE_ALL: >\n            python -m pip install --upgrade pip &&\n            pip install --upgrade setuptools wheel build &&\n            git clone --recursive --branch ${{ github.ref_name }} https://github.com/missionpinball/mpf.git _mpf ||\n            git clone --recursive --branch `python get_version.py` https://github.com/missionpinball/mpf.git _mpf ||\n            git clone --recursive --branch dev https://github.com/missionpinball/mpf.git _mpf &&\n            pip install -e _mpf\n          CIBW_BUILD: ${{ matrix.cibw-build }}\n          CIBW_BUILD_VERBOSITY: 3\n      - name: Upload wheels\n        uses: actions/upload-artifact@v3\n        with:\n          name: mpf-mc_wheels\n          path: ./wheelhouse/*.whl\n\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out MPF-MC\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - name: Build SDist\n      run: >\n        sudo apt-get update &&\n        sudo apt-get -y remove libunwind-14 &&\n        sudo apt-get -y install libunwind-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev\n        gstreamer1.0-plugins-base gstreamer1.0-plugins-base gstreamer1.0-plugins-bad\n        gstreamer1.0-plugins-ugly libgstreamer1.0-dev &&\n        pip install --upgrade setuptools wheel build &&\n        python -m build --sdist\n    - name: Upload SDist\n      uses: actions/upload-artifact@v3\n      with:\n        name: mpf-mc_wheels\n        path: dist/*.tar.gz\n\n  test_wheels:\n    name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }}\n    needs: [build_wheels]\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, '3.10', 3.11]\n        #os: [ubuntu-latest, macos-latest, windows-latest]\n        os: [ubuntu-latest]\n        include:\n          - os: ubuntu-latest\n            python-version: 3.11\n            run-tests: true\n    runs-on: ${{ matrix.os }}\n    env:\n      DISPLAY: ':99.0'\n    steps:\n    - name: Install runtime libraries on macOS\n      if: runner.os == 'macOS'\n      run: brew install SDL2 SDL2_mixer gstreamer\n    - name: Install runtime libraries on Linux\n      if: runner.os == 'linux'\n      run: |\n        sudo apt-get update\n        sudo apt-get -y install libsdl2-2.0 libsdl2-mixer-2.0 gstreamer-1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly xvfb\n    - name: Set up python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install runtime dependencies via pip\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade setuptools wheel coveralls prospector==1.3.1\n    - name: Download the newly-built wheel\n      uses: actions/download-artifact@v3\n      with:\n        name: mpf-mc_wheels\n        path: dist\n    - name: Clone & install MPF  # try to find a matching version before we default to dev\n      run: >\n        git clone --recursive --branch ${{ github.ref_name }} https://github.com/missionpinball/mpf.git _mpf ||\n        git clone --recursive --branch `python get_version.py` https://github.com/missionpinball/mpf.git _mpf ||\n        git clone --recursive --branch dev https://github.com/missionpinball/mpf.git _mpf &&\n        pip install -e _mpf\n    - name: List wheels in dist\n      run: ls -l dist\n    - name: Install MPF-MC from new wheel\n      shell: bash  # Need bash on windows to use the if statement\n\n      # We need some logic here to force pip to use the new wheel we just built. Otherwise if we're on a pull request, it will try to install from pypi which won't test the new wheel.\n      # We can't use --no-index because we need to install the rest of the dependencies from pypi\n      run: |\n        if [ \"${{ runner.os }}\" == \"Linux\" ]; then\n          platform=\"manylinux_2_17_x86_64.manylinux2014_x86_64\"\n        elif [ \"${{ runner.os }}\" == \"macOS\" ]; then\n          platform=\"macosx_10_9_x86_64\"\n        elif [ \"${{ runner.os }}\" == \"Windows\" ]; then\n          platform=\"win_amd64\"\n        fi\n\n        python_version_nodot=$(echo \"${{ matrix.python-version }}\" | tr -d '.')\n        wheel_file=$(ls dist/mpf_mc-*cp${python_version_nodot}-*-${platform}.whl)\n        pip install \"$wheel_file\"\n    - name: Run tests  # Can't figure out how to run tests on mac or windows, but I guess that's ok? At least we test the wheel installs? TODO?\n      if: ${{ matrix.run-tests }}\n      run: |\n        /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1280x720x24 -ac +extension GLX\n        coverage3 run --concurrency=thread -m unittest discover -v mpfmc.tests\n        coverage3 run -a --concurrency=thread -m unittest discover -v mpfmc.integration\n    - name: Upload coverage data to coveralls.io\n      run: coveralls --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_FLAG_NAME: ${{ matrix.python-version }}-${{ matrix.os }}\n        COVERALLS_PARALLEL: true\n\n  publish_to_pypi:  # only if this release has a tag and is a push from us (e.g. not a pull request)\n    name: Publish to PYPI\n    needs: [test_wheels, make_sdist]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    environment:\n      name: pypi\n      url: https://pypi.org/p/mpf\n    permissions:\n      id-token: write\n    steps:\n    - name: Download wheels\n      uses: actions/download-artifact@v3\n      with:\n        name: mpf-mc_wheels\n        path: dist\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  coveralls:\n    name: Finalize Coveralls\n    needs: test_wheels\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n    - name: Finished\n      run: |\n        pip3 install --upgrade coveralls\n        coveralls --service=github --finish\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "missionpinball/mpf-mc"}
{"mined_at": "2024-07-15T12:59:14.553688", "created_at": "2020-04-01T22:59:24+02:00", "updated_at": "2022-11-18T20:53:02+01:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\nconcurrency:\n  group: >-\n    ${{ github.workflow }}-\n    ${{ github.ref_type }}-\n    ${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\non:\n  workflow_dispatch:\n    inputs:\n      git-ref:\n        description: Git Ref (Optional)\n        required: false\n  push:\n    paths-ignore:\n      - \".editorconfig\"\n      - \".gitattributes\"\n      - \".gitignore\"\n      - \".gitmodules\"\n      - \"*.ini\"\n      - \"*.md\"\n      - \"**/*.txt\"\n      - \"examples/**\"\n      - \"news/**\"\n      - \"peeps/**\"\n    branches:\n      - main\n  pull_request:\n    paths-ignore:\n      - \".editorconfig\"\n      - \".gitattributes\"\n      - \".gitignore\"\n      - \".gitmodules\"\n      - \"*.ini\"\n      - \"*.md\"\n      - \"**/*.txt\"\n      - \"examples/**\"\n      - \"news/**\"\n      - \"peeps/**\"\npermissions:\n  contents: read # to fetch code (actions/checkout)\njobs:\n  lint:\n    name: Check code linting\n    runs-on: ubuntu-latest\n    env:\n      PIPENV_DEFAULT_PYTHON_VERSION: ${{ matrix.python-version }}\n      PYTHONWARNINGS: ignore:DEPRECATION\n      PYTHONIOENCODING: \"utf-8\"\n      GIT_ASK_YESNO: \"false\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - run: |\n          python -m pip install pre-commit\n          pre-commit run --all-files --verbose --show-diff-on-failure\n  vendor:\n    name: Vendoring\n    needs: lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - run: |\n          python -m pip install --upgrade wheel invoke parver beautifulsoup4 towncrier requests parse hatch-fancy-pypi-readme semver\n          python -m invoke vendoring.update\n  tests:\n    name: ${{matrix.os}} / ${{ matrix.python-version }}\n    needs: lint\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n        os: [MacOS, Ubuntu, Windows]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n          check-latest: true\n\n      - name: Get python path\n        id: python-path\n        run: |\n          echo \"path=$(python -c 'import sys; print(sys.executable)')\" >> $GITHUB_OUTPUT\n      - name: Install latest pip, setuptools, wheel\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n      - name: Install dependencies\n        env:\n          PIPENV_DEFAULT_PYTHON_VERSION: ${{ matrix.python-version }}\n          PYTHONWARNINGS: ignore:DEPRECATION\n          PYTHONIOENCODING: \"utf-8\"\n          GIT_ASK_YESNO: \"false\"\n        run: |\n          git submodule sync\n          git submodule update --init --recursive\n          python -m pip install -e . --upgrade\n          pipenv install --deploy --dev --python=${{ steps.python-path.outputs.path }}\n      - name: Run pypiserver Windows\n        run: |\n         cmd /c start pipenv run pypi-server run -v --host=0.0.0.0 --port=8080 --hash-algo=sha256 --disable-fallback ./tests/pypi/ ./tests/fixtures\n        if: ${{matrix.os  == 'Windows' }}\n      - name: Run pypiserver Mac\n        run: |\n          pipenv run pypi-server run -v --host=0.0.0.0 --port=8080 --hash-algo=sha256 --disable-fallback ./tests/pypi/ ./tests/fixtures &\n        if: ${{matrix.os  == 'MacOS' }}\n      - name: Run pypiserver Ubuntu\n        run: |\n          pipenv run pypi-server run -v --host=0.0.0.0 --port=8080 --hash-algo=sha256 --disable-fallback ./tests/pypi/ ./tests/fixtures &\n        if: ${{matrix.os  == 'Ubuntu' }}\n      - name: Run tests\n        env:\n          PIPENV_DEFAULT_PYTHON_VERSION: ${{ matrix.python-version }}\n          PYTHONWARNINGS: ignore:DEPRECATION\n          PIPENV_NOSPIN: \"1\"\n          CI: \"1\"\n          GIT_ASK_YESNO: \"false\"\n          PYPI_VENDOR_DIR: \"./tests/pypi/\"\n          PYTHONIOENCODING: \"utf-8\"\n          GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=accept-new -o CheckHostIP=no\n        run: |\n          pipenv run pytest -ra -n auto -v --fulltrace tests\n\n  build:\n    name: Build Package\n    needs: lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - run: pip install -U build twine\n      - run: |\n          python -m build\n          twine check dist/*\n", "state": "active", "repository": "pypa/pipenv"}
{"mined_at": "2024-07-15T12:59:15.670183", "created_at": "2020-04-29T02:56:07+02:00", "updated_at": "2021-05-29T04:58:45+02:00", "name": "Upload Python Package", "path": ".github/workflows/pypi_upload.yml", "contents": "name: Upload Python Package\n\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - v[0-9]+.[0-9]+.*  # add .* to allow dev releases\n\npermissions: {}\njobs:\n  deploy:\n    permissions:\n      contents: write # to create a release (actions/create-release)\n\n    name: pipenv PyPI Upload\n    runs-on: ubuntu-latest\n    env:\n      CI: \"1\"\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Create Release\n      id: create_release\n      uses: ncipollo/release-action@v1\n      with:\n        tag: ${{ github.ref }}\n        name: Release ${{ github.ref_name }}\n        draft: false\n        prerelease: false\n        token: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade --upgrade-strategy=eager pip setuptools build wheel twine\n        python -m pip install -e . --upgrade\n        python -m pipenv install --dev\n      env:\n        PIPENV_DEFAULT_PYTHON_VERSION: \"3.10\"\n\n    - name: Build wheels\n      run: |\n        python -m pipenv run python -m build\n\n    # to upload to test pypi, pass repository_url: https://test.pypi.org/legacy/ and use secrets.TEST_PYPI_TOKEN\n    - name: Publish a Python distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n        # repository_url: https://test.pypi.org/legacy/\n        packages-dir: dist/\n\n    # git push https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:master\n    # we need to use a deploy key for this to get around branch protection as the default token fails\n    - name: Pre-bump\n      run: |\n        git config --local user.name 'github-actions[bot]'\n        git config --local user.email 'github-actions[bot]@users.noreply.github.com'\n        python -m pipenv run inv release.bump-version --dev --commit\n\n    - name: Push changes\n      uses: ad-m/github-push-action@master\n      with:\n        github_token: ${{ secrets.REPO_TOKEN }}\n", "state": "active", "repository": "pypa/pipenv"}
{"mined_at": "2024-07-15T12:59:16.804794", "created_at": "2023-06-30T08:38:28+02:00", "updated_at": "2023-07-01T05:35:55+02:00", "name": "ruff", "path": ".github/workflows/ruff.yml", "contents": "# https://beta.ruff.rs\nname: ruff\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - run: pip install --user ruff\n    - run: ruff check --output-format=github .\n", "state": "active", "repository": "pypa/pipenv"}
{"mined_at": "2024-07-15T12:59:18.936006", "created_at": "2021-11-04T11:39:30+01:00", "updated_at": "2023-06-09T07:39:52+02:00", "name": "Test with pytest", "path": ".github/workflows/ci.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test with pytest\n\non:\n  pull_request:\n  push:\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.11\", \"3.12\"]  # no particular need for 3.9 or 3.10\n        os: [macos-latest, ubuntu-latest, windows-latest]\n    steps:\n    - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633  # v4.1.2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d  # v4.6.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Upgrade pip\n      run: >-\n        python -m pip install\n        --upgrade\n        --disable-pip-version-check\n        pip\n    - name: Perform package installs\n      run: >-\n        pip install\n        .\n        pytest\n        pytest-cov\n    - name: Test with pytest\n      run: pytest\n", "state": "active", "repository": "google/yapf"}
{"mined_at": "2024-07-15T12:59:19.937370", "created_at": "2023-06-13T21:44:54+02:00", "updated_at": "2023-06-13T21:44:54+02:00", "name": "Keep pre-commit hooks up to date", "path": ".github/workflows/pre-commit-autoupdate.yml", "contents": "# Copyright (c) 2023 Sebastian Pipping <sebastian@pipping.org>\n# Licensed under the Apache License Version 2.0\n\nname: Keep pre-commit hooks up to date\n\non:\n  schedule:\n    - cron: '0 16 * * 5'  # Every Friday 4pm\n  workflow_dispatch:\n\n# NOTE: This will drop all permissions from GITHUB_TOKEN except metadata read,\n#       and then (re)add the ones listed below:\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  pre_commit_autoupdate:\n    name: Detect outdated pre-commit hooks\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633  # v4.1.2\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d  # v5.1.0\n        with:\n          python-version: 3.11\n\n      - name: Install pre-commit\n        run: |-\n          pip install \\\n            --disable-pip-version-check \\\n            --no-warn-script-location \\\n            --user \\\n            pre-commit\n          echo \"PATH=${HOME}/.local/bin:${PATH}\" >> \"${GITHUB_ENV}\"\n\n      - name: Check for outdated hooks\n        run: |-\n          pre-commit autoupdate\n          git diff -- .pre-commit-config.yaml\n\n      - name: Create pull request from changes (if any)\n        id: create-pull-request\n        uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e  # v6.0.2\n        with:\n          author: 'pre-commit <pre-commit@tools.invalid>'\n          base: main\n          body: |-\n            For your consideration.\n\n            :warning: Please **CLOSE AND RE-OPEN** this pull request so that [further workflow runs get triggered](https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs) for this pull request.\n          branch: precommit-autoupdate\n          commit-message: \"pre-commit: Autoupdate\"\n          delete-branch: true\n          draft: true\n          labels: enhancement\n          title: \"pre-commit: Autoupdate\"\n\n      - name: Log pull request URL\n        if: \"${{ steps.create-pull-request.outputs.pull-request-url }}\"\n        run: |\n          echo \"Pull request URL is: ${{ steps.create-pull-request.outputs.pull-request-url }}\"\n", "state": "active", "repository": "google/yapf"}
{"mined_at": "2024-07-15T12:59:21.096494", "created_at": "2023-05-26T18:49:32+02:00", "updated_at": "2023-05-28T00:05:30+02:00", "name": "Run pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "# Copyright (c) 2023 Sebastian Pipping <sebastian@pipping.org>\n# Licensed under the Apache License Version 2.0\n\nname: Run pre-commit\n\n# Drop permissions to minimum for security\npermissions:\n  contents: read\n\non:\n  pull_request:\n  push:\n  schedule:\n    - cron: '0 2 * * 5'  # Every Friday at 2am\n  workflow_dispatch:\n\njobs:\n  pre_commit_run:\n    name: Run pre-commit\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633  # v4.1.2\n\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d  # v5.1.0\n        with:\n          python-version: 3.11\n\n      - name: Install yapf (to be available to pre-commit)\n        run: |-\n          pip install \\\n            --disable-pip-version-check \\\n            --no-warn-script-location \\\n            --user \\\n            .\n          echo \"PATH=${HOME}/.local/bin:${PATH}\" >> \"${GITHUB_ENV}\"\n\n      - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd  # v3.0.1\n", "state": "active", "repository": "google/yapf"}
{"mined_at": "2024-07-15T12:59:22.207445", "created_at": "2024-07-15T06:05:54+02:00", "updated_at": "2024-07-15T06:05:54+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "google/yapf"}
{"mined_at": "2024-07-15T12:59:23.225950", "created_at": "2023-08-01T21:54:15+02:00", "updated_at": "2023-08-01T21:54:15+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/yapf"}
{"mined_at": "2024-07-15T12:59:25.300847", "created_at": "2020-12-21T20:53:47+01:00", "updated_at": "2020-12-21T20:53:47+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n    - '*'\n\njobs:\n  build:\n    if: github.repository == 'jazzband/django-taggit'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U setuptools twine wheel\n\n      - name: Build package\n        run: |\n          python setup.py --version\n          python setup.py sdist --format=gztar bdist_wheel\n          twine check dist/*\n\n      - name: Upload packages to Jazzband\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: jazzband\n          password: ${{ secrets.JAZZBAND_RELEASE_KEY }}\n          repository_url: https://jazzband.co/projects/django-taggit/upload\n", "state": "active", "repository": "jazzband/django-taggit"}
{"mined_at": "2024-07-15T12:59:26.327982", "created_at": "2020-12-21T12:21:11+01:00", "updated_at": "2020-12-21T12:21:11+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request]\n\njobs:\n  build:\n    name: Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n\n    # The maximum number of minutes to let a workflow run\n    # before GitHub automatically cancels it. Default: 360\n    timeout-minutes: 30\n\n    strategy:\n      # When set to true, GitHub cancels\n      # all in-progress jobs if any matrix job fails.\n      fail-fast: false\n\n      max-parallel: 5\n\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: echo \"::set-output name=dir::$(pip cache dir)\"\n\n      - name: Cache\n        uses: actions/cache@v2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/tox.ini') }}\n          restore-keys: |\n            ${{ matrix.python-version }}-v1-\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade tox tox-gh-actions\n\n      - name: Tox tests\n        run: tox -v\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v1\n        with:\n          name: Python ${{ matrix.python-version }}\n", "state": "active", "repository": "jazzband/django-taggit"}
{"mined_at": "2024-07-15T12:59:28.431491", "created_at": "2021-08-27T11:30:57+02:00", "updated_at": "2021-08-30T23:22:28+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - 'v*'\n  pull_request:\n    branches:\n      - master\n\njobs:\n\n  lint-build:\n    name: Linting\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install dev dependencies\n      run: |\n          python -m pip install --upgrade pip\n          pip install -U invoke pycodestyle flake8\n    - name: Lint\n      run: |\n          invoke test --style;\n\n  docs-build:\n    name: Docs\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install dev dependencies\n      run: |\n          python -m pip install --upgrade pip\n          pip install -U invoke sphinx tornado pscript>=0.5.6 webruntime dialite;\n    - name: Build docs\n      run: |\n        python -c 'import flexx.ui';\n        invoke docs --clean --build;\n\n  test-builds:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: Test Linux py35\n            os: ubuntu-latest\n            pyversion: '3.5'\n          - name: Test Linux py36\n            os: ubuntu-latest\n            pyversion: '3.6'\n          - name: Test Linux py37\n            os: ubuntu-latest\n            pyversion: '3.7'\n          - name: Test Linux py38\n            os: ubuntu-latest\n            pyversion: '3.8'\n          - name: Test Linux py39\n            os: ubuntu-latest\n            pyversion: '3.9'\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.pyversion }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.pyversion }}\n    - name: Install dev dependencies\n      run: |\n          python -m pip install --upgrade pip\n          pip install -U tornado pscript>=0.5.6 webruntime dialite;\n          pip install -U invoke pytest pytest-cov;\n    - name: Unit tests\n      uses: GabrielBB/xvfb-action@v1\n      with:\n        run: invoke test --unit\n", "state": "active", "repository": "flexxui/flexx"}
{"mined_at": "2024-07-15T12:59:30.412611", "created_at": "2024-06-08T00:53:24+02:00", "updated_at": "2024-06-23T19:49:58+02:00", "name": "CI", "path": ".github/workflows/check.yaml", "contents": "name: CI\n\non:\n  push:\n    branches: [main]\n  pull_request: {}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  check-manifest:\n    if: github.event_name != 'schedule'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - run: pipx run check-manifest\n\n  pre-commit:\n    if: github.event_name != 'schedule'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - uses: pre-commit/action@v3.0.1\n\n  typing:\n    if: github.event_name != 'schedule'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: install\n        run: |\n          python -m pip install -U pip\n          python -m pip install -e \".[test]\"\n      - name: type-check\n        run: |\n          mypy --install-types --non-interactive --config-file pyproject.toml subliminal tests\n\n  docs:\n    if: github.event_name != 'schedule'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - run: |\n          python -m venv venv\n          source ./venv/bin/activate\n          python -m pip install -e .[docs]\n          sphinx-build -b html docs/ docs/_build\n      - uses: actions/upload-artifact@v4\n        with:\n          name: docs\n          path: docs/_build/\n\n  test:\n    name: Test\n    if: github.event_name != 'schedule'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          # macos-latest only work with arm64\n          - os: macos-latest\n            python-version: [\"3.8\", \"3.9\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: install\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[test]\n      - name: run pytest --cov\n        env:\n          COVERAGE_FILE: \".coverage.${{ matrix.os }}.${{ matrix.python-version }}\"\n          # Alternatively you can run coverage with the --parallel flag or add\n          # `parallel = True` in the coverage config file.\n          # If using pytest-cov, you can also add the `--cov-append` flag\n          # directly or through PYTEST_ADD_OPTS.\n        run: |\n          pytest --cov --cov-report=xml\n      - name: Store coverage file\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-${{ matrix.os }}-${{ matrix.python-version }}\n          path: .coverage.${{ matrix.os }}.${{ matrix.python-version }}\n\n  coverage:\n    name: Coverage\n    runs-on: ubuntu-latest\n    needs: test\n    permissions:\n      pull-requests: write\n      contents: write\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/download-artifact@v4\n        id: download\n        with:\n          pattern: coverage-*\n          merge-multiple: true\n\n      - name: Coverage comment\n        id: coverage_comment\n        uses: py-cov-action/python-coverage-comment-action@v3\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          MERGE_COVERAGE_FILES: true\n\n      - name: Store Pull Request comment to be posted\n        uses: actions/upload-artifact@v4\n        if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'\n        with:\n          name: python-coverage-comment-action\n          path: python-coverage-comment-action.txt\n", "state": "active", "repository": "diaoul/subliminal"}
{"mined_at": "2024-07-15T12:59:31.428055", "created_at": "2024-06-23T19:49:58+02:00", "updated_at": "2024-06-23T19:49:58+02:00", "name": "Post coverage comment", "path": ".github/workflows/coverage.yaml", "contents": "name: Post coverage comment\n\non:\n  workflow_run:\n    workflows: [\"CI\"]\n    types:\n      - completed\n\njobs:\n  test:\n    name: Run tests & display coverage\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'\n    permissions:\n      # Gives the action the necessary permissions for publishing new\n      # comments in pull requests.\n      pull-requests: write\n      # Gives the action the necessary permissions for editing existing\n      # comments (to avoid publishing multiple comments in the same PR)\n      contents: write\n      # Gives the action the necessary permissions for looking up the\n      # workflow that launched this workflow, and download the related\n      # artifact that contains the comment to be published\n      actions: read\n    steps:\n      # DO NOT run actions/checkout here, for security reasons\n      # For details, refer to https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n      - name: Post comment\n        uses: py-cov-action/python-coverage-comment-action@v3\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}\n          # Update those if you changed the default values:\n          # COMMENT_ARTIFACT_NAME: python-coverage-comment-action\n          # COMMENT_FILENAME: python-coverage-comment-action.txt\n", "state": "active", "repository": "diaoul/subliminal"}
{"mined_at": "2024-07-15T12:59:32.392745", "created_at": "2024-06-25T00:12:56+02:00", "updated_at": "2024-06-25T00:12:56+02:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": null, "state": "active", "repository": "diaoul/subliminal"}
{"mined_at": "2024-07-15T12:59:33.497367", "created_at": "2024-06-08T00:53:24+02:00", "updated_at": "2024-06-23T19:49:58+02:00", "name": "Test-APIs", "path": ".github/workflows/run-tests.yaml", "contents": "name: Test-APIs\n\non:\n  schedule:\n    - cron: \"12 12 12 * *\" # run once a month on the 12th at 12:12\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test-api:\n    name: Test APIs\n    if: github.event_name == 'schedule'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: install\n        run: |\n          python -m pip install -U pip\n          python -m pip install -e \".[test]\"\n      - name: remove cassettes\n        run: |\n          rm -rf tests/cassettes\n      - name: run test\n        run: |\n          pytest\n", "state": "disabled_manually", "repository": "diaoul/subliminal"}
{"mined_at": "2024-07-15T12:59:35.716930", "created_at": "2023-04-25T11:15:58+02:00", "updated_at": "2023-04-25T11:15:58+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '37 3 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: 'ubuntu-latest'\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "nephila/djangocms-blog"}
{"mined_at": "2024-07-15T12:59:36.742890", "created_at": "2020-06-25T00:12:54+02:00", "updated_at": "2020-06-25T00:12:54+02:00", "name": "Code quality", "path": ".github/workflows/lint.yml", "contents": "name: Code quality\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    if: \"!contains(github.event.head_commit.message, '[skip ci]')\"\n    strategy:\n      matrix:\n        python-version: [\"3.11.x\"]\n        toxenv: [ruff, isort, black, pypi-description, docs, towncrier]\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        repository: ${{ github.event.pull_request.head.repo.full_name }}\n        ref: ${{ github.event.pull_request.head.ref }}\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache pip\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ matrix.toxenv }}\n        restore-keys: |\n          ${{ runner.os }}-pip-${{ matrix.toxenv }}\n    - name: Cache tox\n      uses: actions/cache@v3\n      with:\n        path: .tox\n        key: ${{ runner.os }}-lint-${{ matrix.toxenv }}-${{ hashFiles('setup.cfg') }}\n        restore-keys: |\n          ${{ runner.os }}-lint-${{ matrix.toxenv }}-\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools tox>4\n    - name: Test with tox\n      if: ${{ matrix.toxenv != 'towncrier' || (!contains(github.event.head_commit.message, '[pre-commit.ci]') && !contains(github.event.pull_request.body, 'pre-commit.ci start')) }}\n      run: |\n        tox -e${{ matrix.toxenv }}\n", "state": "active", "repository": "nephila/djangocms-blog"}
{"mined_at": "2024-07-15T12:59:37.779633", "created_at": "2023-04-25T11:15:58+02:00", "updated_at": "2023-04-25T11:15:58+02:00", "name": "Event Logger", "path": ".github/workflows/logger.yml", "contents": "name: Event Logger\non: push\n\njobs:\n  log-github-event-goodies:\n    name: \"LOG Everything on GitHub Event\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Logging\n        run: |\n          echo '${{toJSON(github.event)}}'\n", "state": "active", "repository": "nephila/djangocms-blog"}
{"mined_at": "2024-07-15T12:59:38.801840", "created_at": "2020-11-14T19:43:24+01:00", "updated_at": "2023-04-20T23:19:37+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [published,prereleased]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Cache pip\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ matrix.toxenv }}\n        restore-keys: |\n          ${{ runner.os }}-pip-${{ matrix.toxenv }}\n    - name: Cache tox\n      uses: actions/cache@v3\n      with:\n        path: .tox\n        key: ${{ runner.os }}-tox-release-${{ hashFiles('setup.cfg') }}\n        restore-keys: |\n          ${{ runner.os }}-tox-release-\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools tox>4\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        tox -erelease\n", "state": "active", "repository": "nephila/djangocms-blog"}
{"mined_at": "2024-07-15T12:59:39.804407", "created_at": "2020-05-15T23:41:02+02:00", "updated_at": "2020-06-25T01:48:07+02:00", "name": "Tox tests", "path": ".github/workflows/test.yml", "contents": "name: Tox tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    if: \"!contains(github.event.head_commit.message, '[skip ci]')\"\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ matrix.continue-on-error }}\n    strategy:\n      matrix:\n        python-version: [\"3.11\", \"3.10\", \"3.9\"]\n        django: [42, 41, 32]\n        cms: [311, 39]\n        continue-on-error: [false]\n        exclude:\n          - django: 41\n            cms: 39\n          - django: 42\n            cms: 39\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache pip\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ matrix.toxenv }}\n        restore-keys: |\n          ${{ runner.os }}-pip-${{ matrix.toxenv }}\n    - name: Cache tox\n      uses: actions/cache@v3\n      with:\n        path: .tox\n        key: ${{ runner.os }}-tox-${{ format('{{py{0}-django{1}-cms{2}}}', matrix.python-version, matrix.django, matrix.cms) }}-${{ hashFiles('setup.cfg') }}\n        restore-keys: |\n          ${{ runner.os }}-tox-${{ format('{{py{0}-django{1}-cms{2}}}', matrix.python-version, matrix.django, matrix.cms) }}-\n    - name: Install dependencies\n      run: |\n        sudo apt-get install gettext\n        python -m pip install --upgrade pip setuptools tox>4\n    - name: Test with tox\n      env:\n        TOX_ENV: ${{ format('py-django{1}-cms{2}', matrix.python-version, matrix.django, matrix.cms) }}\n        COMMAND: coverage run\n        COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NAME: github\n      run: |\n        tox -e$TOX_ENV\n        .tox/$TOX_ENV/bin/coverage xml\n    - name: Coveralls Parallel\n      uses: coverallsapp/github-action@v2\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        parallel: true\n    - uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        flags: unittests\n        files: ./coverage.xml\n        fail_ci_if_error: false\n    services:\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n  finish:\n    needs: test\n    if: ${{ always() }}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Coveralls Finished\n      uses: coverallsapp/github-action@v2\n      with:\n        parallel-finished: true\n", "state": "active", "repository": "nephila/djangocms-blog"}
{"mined_at": "2024-07-15T12:59:41.762952", "created_at": "2021-08-05T22:29:05+02:00", "updated_at": "2021-08-05T22:29:05+02:00", "name": "Publish Docker image", "path": ".github/workflows/docker-image.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Publish Docker image\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*.*.*\"\n  pull_request:\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n  TEST_IMAGE: plextraktsync:ci-test\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Set version variable\n        id: vars\n        run: |\n          if [[ \"${GITHUB_REF#refs/heads/}\" = \"${GITHUB_REF}\" ]]; then\n            APP_VERSION=${GITHUB_REF#refs/tags/}\n          else\n            git fetch --tags --unshallow\n            APP_VERSION=$(git describe --tags)_${GITHUB_REF#refs/heads/}\n          fi\n          echo \"version=$APP_VERSION\" >> $GITHUB_OUTPUT\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/0.') }}\n\n      - name: Build and export to Docker\n        uses: docker/build-push-action@v6\n        env:\n          APP_VERSION: ${{ steps.vars.outputs.version }}\n        with:\n          context: .\n          load: true\n          tags: ${{ env.TEST_IMAGE }}\n          build-args: |\n            APP_VERSION=${{ env.APP_VERSION }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Self-test Docker image\n        run: |\n          docker run -e TRACE=1 --rm ${{ env.TEST_IMAGE }} test\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v6\n        env:\n          APP_VERSION: ${{ steps.vars.outputs.version }}\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64,linux/arm/v7\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            APP_VERSION=${{ env.APP_VERSION }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n# vim:ts=2:sw=2:et\n", "state": "active", "repository": "taxel/plextraktsync"}
{"mined_at": "2024-07-15T12:59:42.748858", "created_at": "2022-02-06T15:18:28+01:00", "updated_at": "2024-06-08T10:11:25+02:00", "name": "Ruff Lint", "path": ".github/workflows/lint.yml", "contents": "name: Ruff Lint\n\non:\n  - pull_request\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n\n# vim:ts=2:sw=2:et\n", "state": "active", "repository": "taxel/plextraktsync"}
{"mined_at": "2024-07-15T12:59:43.745038", "created_at": "2021-09-27T17:32:51+02:00", "updated_at": "2021-10-03T14:03:53+02:00", "name": "PyPI", "path": ".github/workflows/pypi.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see:\n# https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: PyPI\n\non:\n  workflow_dispatch: ~\n  release:\n    types: [published]\n  push:\n    tags:\n      - \"*.*.*\"\n\nenv:\n  DEFAULT_PYTHON: 3.8\n\njobs:\n  pypi:\n    name: Publish to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n      url: https://pypi.org/p/plextraktsync\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Set version variable\n        id: vars\n        run: |\n          if [[ \"${GITHUB_REF#refs/heads/}\" = \"${GITHUB_REF}\" ]]; then\n            APP_VERSION=${GITHUB_REF#refs/tags/}\n          else\n            git fetch --tags --unshallow\n            version=$(git describe --tags --abbrev=0)\n            subver=${{ github.run_number }}\n            APP_VERSION=$version.post$subver\n          fi\n          echo \"version=$APP_VERSION\" >> $GITHUB_OUTPUT\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n\n      - name: Install dependencies and build\n        env:\n          APP_VERSION: ${{ steps.vars.outputs.version }}\n        run: |\n          set -x\n          echo \"__version__ = '$APP_VERSION'\" > plextraktsync/__init__.py\n          cat plextraktsync/__init__.py\n          python -c \"from plextraktsync import __version__; print(__version__)\"\n          python -m pip install --upgrade build\n          #\n          # Patch requirements.txt fpor setuptools-declarative-requirements:\n          # https://github.com/s0undt3ch/setuptools-declarative-requirements/issues/6\n          sed -i -e '/^-i/d' requirements.txt\n          python -m build\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n# vim:ts=2:sw=2:et\n", "state": "active", "repository": "taxel/plextraktsync"}
{"mined_at": "2024-07-15T12:59:44.863387", "created_at": "2022-03-30T14:19:07+02:00", "updated_at": "2022-03-30T14:50:33+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  - pull_request\n\nenv:\n  DEFAULT_PYTHON: 3.8\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: Test\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@v4\n      - name: Set up Python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          cache: pip\n      - name: Install dependencies (pip)\n        run: python -m pip install -r requirements.txt -r requirements.pipenv.txt\n      - name: Install dependencies (pipenv)\n        run: pipenv install --deploy\n      - name: Install test dependencies\n        run: pip install -r tests/requirements.txt\n\n      - name: \"Test: info\"\n        run: ./plextraktsync.sh info\n      - name: \"Test: pytest\"\n        run: pytest\n# vim:ts=2:sw=2:et\n", "state": "active", "repository": "taxel/plextraktsync"}
{"mined_at": "2024-07-15T12:59:48.062388", "created_at": "2024-03-16T17:03:10+01:00", "updated_at": "2024-03-16T17:03:10+01:00", "name": "publish_conda", "path": ".github/workflows/publish_conda.yaml", "contents": "name: publish_conda\n\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - '*' # Push events to matching v*, i.e. v1.0, v20.15.10\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - name: publish-to-conda\n        uses: sepandhaghighi/conda-package-publish-action@v1.2\n        with:\n          subDir: 'otherfile'\n          AnacondaToken: ${{ secrets.ANACONDA_TOKEN }}\n", "state": "active", "repository": "ecsim/opem"}
{"mined_at": "2024-07-15T12:59:49.167409", "created_at": "2024-03-16T17:03:10+01:00", "updated_at": "2024-03-16T17:03:10+01:00", "name": "Upload Python Package", "path": ".github/workflows/publish_pypi.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - '*' # Push events to matching v*, i.e. v1.0, v20.15.10\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*.tar.gz\n        twine upload dist/*.whl\n", "state": "active", "repository": "ecsim/opem"}
{"mined_at": "2024-07-15T12:59:50.290190", "created_at": "2021-02-23T14:33:27+01:00", "updated_at": "2021-06-29T18:59:17+02:00", "name": "CI", "path": ".github/workflows/test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CI\n\non: [push, pull_request]\n\nenv:\n  TEST_PYTHON_VERSION: 3.9\n  TEST_OS: 'ubuntu-20.04'\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, windows-latest, macOS-latest]\n        python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10.0, 3.11.0, 3.12.0]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Installation\n      run: |\n        python -m pip install --upgrade pip\n        pip install .\n    - name: First test\n      run: |\n        opem test\n        opem --version\n    - name: Test requirements Installation\n      run: |\n        python otherfile/requirements-splitter.py\n        pip install --upgrade --upgrade-strategy=only-if-needed -r test-requirements.txt\n    - name: Test with pytest\n      run: |\n        python -m pytest test --cov=opem --cov-report=term\n    - name: Version check\n      run: |\n        python otherfile/version_check.py\n      if: matrix.python-version == env.TEST_PYTHON_VERSION\n    - name: Notebook run\n      run: |\n        pip install notebook>=5.2.2\n        python otherfile/notebook_run.py\n      if: matrix.python-version == env.TEST_PYTHON_VERSION && matrix.os == env.TEST_OS\n    - name: Notebook to HTML\n      run: |\n        python otherfile/notebook_to_html.py\n      if: matrix.python-version == env.TEST_PYTHON_VERSION && matrix.os == env.TEST_OS\n    - name: Other tests\n      run: |\n          python -m vulture opem/ otherfile/ setup.py --min-confidence 65 --exclude=__init__.py --sort-by-size\n          python -m bandit -r opem\n          python -m pydocstyle -v\n      if: matrix.python-version == env.TEST_PYTHON_VERSION && matrix.os == env.TEST_OS\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n      with:\n          fail_ci_if_error: true\n      if: matrix.python-version == env.TEST_PYTHON_VERSION && matrix.os == env.TEST_OS\n    - name: cProfile\n      run: |\n          python -m cProfile -s cumtime opem/Profile.py\n", "state": "active", "repository": "ecsim/opem"}
{"mined_at": "2024-07-15T12:59:51.400208", "created_at": "2024-02-26T16:50:16+01:00", "updated_at": "2024-02-26T16:50:16+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ecsim/opem"}
{"mined_at": "2024-07-15T12:59:53.457259", "created_at": "2022-01-12T23:16:28+01:00", "updated_at": "2023-12-08T10:57:19+01:00", "name": "CI", "path": ".github/workflows/ci_workflows.yml", "contents": "name: CI\n\non:\n  schedule:\n    # run every day at 4am UTC\n    - cron: '0 4 * * *'\n  push:\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  tests:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    with:\n      envs: |\n        - macos: py310-test-oldestdeps\n        - macos: py311-test\n        - macos: py312-test\n        - linux: py310-test-oldestdeps\n        - linux: py311-test\n        - linux: py312-test\n        - linux: py312-test-devdeps\n        - windows: py310-test-oldestdeps\n        - windows: py311-test\n        - windows: py312-test\n      libraries: |\n        apt:\n          - libopenblas-dev\n      coverage: 'codecov'\n\n  publish:\n    needs: tests\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1\n    with:\n      test_extras: test\n      test_command: pytest -p no:warnings --pyargs reproject\n      targets: |\n        - cp*-manylinux_x86_64\n        - cp*-manylinux_aarch64\n        - cp*-macosx_x86_64\n        - cp*-macosx_arm64\n        - cp*-win_amd64\n\n      # Developer wheels\n      upload_to_anaconda: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}\n      anaconda_user: astropy\n      anaconda_package: reproject\n      anaconda_keep_n_latest: 10\n\n    secrets:\n      pypi_token: ${{ secrets.pypi_token }}\n      anaconda_token: ${{ secrets.anaconda_token }}\n", "state": "active", "repository": "astropy/reproject"}
{"mined_at": "2024-07-15T12:59:54.504888", "created_at": "2022-09-05T22:57:15+02:00", "updated_at": "2022-09-05T22:57:15+02:00", "name": "Update Changelog", "path": ".github/workflows/update-changelog.yaml", "contents": "# This workflow takes the GitHub release notes an updates the changelog on the\n# main branch with the body of the release notes, thereby keeping a log in\n# the git repo of the changes.\n\nname: \"Update Changelog\"\n\non:\n  release:\n    types: [released]\n\njobs:\n  update:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: main\n\n      - name: Update Changelog\n        uses: stefanzweifel/changelog-updater-action@v1\n        with:\n          release-notes: ${{ github.event.release.body }}\n          latest-version: ${{ github.event.release.name }}\n          path-to-changelog: CHANGES.md\n\n      - name: Commit updated CHANGELOG\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          branch: main\n          commit_message: Update CHANGELOG\n          file_pattern: CHANGES.md\n", "state": "active", "repository": "astropy/reproject"}
{"mined_at": "2024-07-15T12:59:56.743584", "created_at": "2023-10-11T20:06:14+02:00", "updated_at": "2023-10-11T21:36:38+02:00", "name": "Python application", "path": ".github/workflows/python-app.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Python application\n\non:\n  push:\n    branches: [ \"develop\" ]\n  pull_request:\n    branches: [ \"develop\" ]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.11\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest poetry coverage\n        poetry install\n    #- name: Lint with flake8\n    #  run: |\n    #    pip install flake8\n    #    # stop the build if there are Python syntax errors or undefined names\n    #    flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n    #    # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n    #    flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        poetry run pytest --cov=browse --cov-fail-under=80 tests\n", "state": "active", "repository": "arxiv/arxiv-browse"}
{"mined_at": "2024-07-15T12:59:57.868275", "created_at": "2024-07-12T20:10:35+02:00", "updated_at": "2024-07-12T20:10:35+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "arxiv/arxiv-browse"}
{"mined_at": "2024-07-15T12:59:58.844640", "created_at": "2023-03-20T14:01:39+01:00", "updated_at": "2023-03-20T14:01:39+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "arxiv/arxiv-browse"}
{"mined_at": "2024-07-15T13:00:00.940320", "created_at": "2021-12-13T16:09:33+01:00", "updated_at": "2023-01-10T17:32:18+01:00", "name": "ci-build", "path": ".github/workflows/ci.yml", "contents": "name: ci-build\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  # lint is handled by pre-commit ci conf\n  generate-api:\n    runs-on: ubuntu-latest\n    env:\n      FLIT_ROOT_INSTALL: 1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install build tools\n        run: pip install --upgrade pip flit\n      - name: Install icclim and dev requirements (dev, test and doc)\n        run: flit install --deps develop\n      - name: call fun extractor\n        run: python ./tools/extract_icclim_funs.py\n      - name: run ruff format on generated module\n        run: |\n          ruff format src/icclim/_generated/\n          ruff check src/icclim/_generated/ --fix\n      - name: create local ref\n        run: |\n          git fetch origin ${{ github.head_ref }}\n          git checkout ${{ github.head_ref }}\n      - name: setup git config\n        run: |\n          # setup the username and email.\n          git config user.name \"GitHub Actions Bot - API updater\"\n          git config user.email \"<>\"\n      - name: commit\n        run: |\n          # Stage the file, commit and push\n          git add src/icclim/_generated\n          # Ignore error cases\n          git commit -m \"MAINT: Update generated API\" || true\n          git push origin ${{ github.head_ref }}\n\n  test:\n    runs-on: ubuntu-latest\n    env:\n      FLIT_ROOT_INSTALL: 1\n    steps:\n       # actions/checkout@v2 checkouts to a new merge commit\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install build tools\n        run: pip install --upgrade pip flit\n      - name: Install icclim and dev requirements (dev, test and doc)\n        run: flit install --deps develop\n      - name: Build coverage file\n        run: pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=icclim tests/ | tee pytest-coverage.txt; ( exit ${PIPESTATUS[0]} )\n      - name: Pytest coverage comment\n        id: coverageComment\n        uses: MishaKav/pytest-coverage-comment@main\n        with:\n          pytest-coverage-path: ./pytest-coverage.txt\n          title: Report\n          badge-title: Coverage\n          hide-badge: false\n          hide-report: false\n          create-new-comment: false\n          hide-comment: false\n          report-only-changed-files: false\n          junitxml-path: ./pytest.xml\n          junitxml-title: Test results\n      - name: create local ref\n        run: |\n          git fetch origin ${{ github.head_ref }}\n          git checkout ${{ github.head_ref }}\n      - name: Update Readme with Coverage Html\n        run: |\n          sed -i '/  Pytest Coverage Comment:Begin/,/  Pytest Coverage Comment:End/c\\  Pytest Coverage Comment:Begin\\n\\n.. |coverage| image:: https://img.shields.io/badge/Coverage-${{ steps.coverageComment.outputs.coverage }}25-${{ steps.coverageComment.outputs.color }}.svg\\n        :target: https://github.com/cerfacs-globc/icclim/blob/master/README.rst#code-coverage\\n        :alt: Code coverage\\n\\n..\\n  Pytest Coverage Comment:End' ./README.rst\n      - name: setup git config\n        run: |\n          # setup the username and email.\n          git config user.name \"GitHub Actions Bot\"\n          git config user.email \"<>\"\n      - name: commit\n        run: |\n          # Stage the file, commit and push\n          git add README.rst\n          # Ignore error cases with `|| true`\n          git commit -m \"[skip ci] DOC: Update coverage\" || true\n          git push origin ${{ github.head_ref }}\n\n  logo-update:\n    runs-on: ubuntu-latest\n    env:\n      FLIT_ROOT_INSTALL: 1\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          lfs: true\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install build tools\n        run: pip install --upgrade pip flit\n      - name: Install icclim and dev requirements (dev, test and doc)\n        run: flit install --deps develop\n      - name: Generate logos\n        run: |\n          python ./tools/update_logo_version.py ./doc/source/_static/logo_icclim_colored__base.svg ./doc/source/_static/logo_icclim_colored__displayed.svg\n          python ./tools/update_logo_version.py ./doc/source/_static/logo_icclim_grey__base.svg ./doc/source/_static/logo_icclim_grey__displayed.svg\n          python ./tools/update_logo_version.py ./doc/source/_static/logo_icclim_white__base.svg ./doc/source/_static/logo_icclim_white__displayed.svg\n      - name: create local ref\n        run: |\n          git fetch origin ${{ github.head_ref }}\n          git checkout ${{ github.head_ref }}\n      - name: setup git config\n        run: |\n          # setup the username and email.\n          git config user.name \"GitHub Actions Bot - logo updater\"\n          git config user.email \"<>\"\n      - name: commit\n        run: |\n          # Stage the file, commit and push\n          git add doc/source/_static/*__displayed.svg\n          # Ignore error cases with `|| true`\n          git commit -m \"MAINT: Update logos\" || true\n          git push origin ${{ github.head_ref }}\n", "state": "active", "repository": "cerfacs-globc/icclim"}
{"mined_at": "2024-07-15T13:00:01.963926", "created_at": "2023-12-21T16:28:51+01:00", "updated_at": "2023-12-21T18:04:08+01:00", "name": "Publish icclim to pypi", "path": ".github/workflows/publish-to-pipy.yml", "contents": "name: Publish icclim to pypi\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  deployment:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n        id-token: write # needed for trusted publishing\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install tools\n        run: python -m pip install --upgrade pip flit\n      - name: Install icclim for prod\n        run: python -m flit install --deps production\n      - name: build package\n        run: python -m flit build\n      - name: Publish to pypi\n        uses: pypa/gh-action-pypi-publish@v1.8.11\n", "state": "active", "repository": "cerfacs-globc/icclim"}
{"mined_at": "2024-07-15T13:00:03.965717", "created_at": "2020-12-21T18:11:00+01:00", "updated_at": "2020-12-21T18:11:00+01:00", "name": "build", "path": ".github/workflows/build.yaml", "contents": "name: build\non:\n  push:\n  pull_request:\n  # build weekly at 4:00 AM UTC\n  schedule:\n    - cron: '0 4 * * 1'\n\njobs:\n  pylint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n      - run: python -m pip install -U tox\n      - run: tox -e pylint\n\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.11'\n      - run: python -m pip install -U tox\n      - run: tox -e mypy,mypy-test\n\n  test:\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        # we do not want a large number of windows and macos builds, so\n        # enumerate them explicitly\n        include:\n          - os: windows-latest\n            python-version: \"3.11\"\n          - os: macos-latest\n            python-version: \"3.11\"\n    name: \"test py${{ matrix.python-version }} on ${{ matrix.os }} \"\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n      - name: install tox\n        run: python -m pip install -U tox\n      - name: run tests\n        run: python -m tox -e py,coverage_report\n\n  test-lazy-imports:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n      - run: python -m pip install -U tox\n      - run: tox -e test-lazy-imports\n\n  test-mindeps:\n    runs-on: ubuntu-latest\n    name: \"mindeps\"\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.7\"\n      - name: install tox\n        run: python -m pip install -U tox\n      - name: test\n        run: tox -e py-mindeps\n\n  test-package-metadata:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.11\"\n      - name: install tox\n        run: python -m pip install -U tox\n      - name: check package metadata\n        run: python -m tox -e twine-check,poetry-check\n      - name: check min version is tested in CI\n        run: python -m tox r -e check-min-python-is-tested\n", "state": "active", "repository": "globus/globus-sdk-python"}
{"mined_at": "2024-07-15T13:00:05.241460", "created_at": "2022-07-13T17:14:51+02:00", "updated_at": "2022-07-13T17:14:51+02:00", "name": "changelog", "path": ".github/workflows/has_changelog.yaml", "contents": "name: changelog\non:\n  workflow_call:\n  pull_request:\n    types:\n      - labeled\n      - unlabeled\n      - opened\n      - reopened\n      - synchronize\n\njobs:\n  check_has_news_in_changelog_dir:\n    if: |\n      ! (\n        contains(github.event.pull_request.labels.*.name, 'no-news-is-good-news') ||\n        github.event.pull_request.user.login == 'pre-commit-ci[bot]' ||\n        github.event.pull_request.user.login == 'dependabot[bot]'\n      )\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:  # do a deep fetch to allow merge-base and diff\n          fetch-depth: 0\n      - name: check PR adds a news file\n        run: |\n          news_files=\"$(git diff --name-only \"$(git merge-base origin/main \"$GITHUB_SHA\")\" \"$GITHUB_SHA\" -- changelog.d/*.rst)\"\n          if [ -n \"$news_files\" ]; then\n            echo \"Saw new files. changelog.d:\"\n            echo \"$news_files\"\n          else\n            echo \"No news files seen\"\n            exit 1\n          fi\n", "state": "active", "repository": "globus/globus-sdk-python"}
{"mined_at": "2024-07-15T13:00:06.287313", "created_at": "2023-02-27T21:00:48+01:00", "updated_at": "2023-02-27T21:00:48+01:00", "name": "Publish PyPI Release", "path": ".github/workflows/publish_to_pypi.yaml", "contents": "name: Publish PyPI Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    environment: publish-pypi\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.11\"\n\n      - run: python -m pip install build\n      - run: python -m build .\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n", "state": "active", "repository": "globus/globus-sdk-python"}
{"mined_at": "2024-07-15T13:00:07.307037", "created_at": "2023-02-27T21:00:48+01:00", "updated_at": "2023-02-27T21:00:48+01:00", "name": "Publish Test PyPI Release", "path": ".github/workflows/publish_to_test_pypi.yaml", "contents": "name: Publish Test PyPI Release\n\non:\n  push:\n    tags: [\"*\"]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    environment: publish-test-pypi\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.11\"\n\n      - run: python -m pip install build\n      - run: python -m build .\n\n      - name: Publish to TestPyPI\n        uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "globus/globus-sdk-python"}
{"mined_at": "2024-07-15T13:00:08.480610", "created_at": "2023-02-24T00:14:51+01:00", "updated_at": "2023-02-24T00:14:51+01:00", "name": "Read the Docs Pull Request Preview", "path": ".github/workflows/readthedocs-pr-links.yaml", "contents": "name: Read the Docs Pull Request Preview\non:\n  pull_request_target:\n    types:\n      - opened\n\npermissions:\n  pull-requests: write\n\njobs:\n  documentation-links:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: readthedocs/actions/preview@cc0920454cf03ca8a3fbd3cbaa2ce2e509e70636 # v1.2\n        with:\n          project-slug: \"globus-sdk-python\"\n", "state": "active", "repository": "globus/globus-sdk-python"}
{"mined_at": "2024-07-15T13:00:09.529895", "created_at": "2021-10-11T21:44:55+02:00", "updated_at": "2021-10-11T23:57:14+02:00", "name": "update-pr-references", "path": ".github/workflows/update_pr_references.yaml", "contents": "name: update-pr-references\non:\n  push:\n    branches:\n      - main\n\njobs:\n  update_pr_numbers_in_change_fragments:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n      - name: update any PR numbers in change fragments\n        run: |\n          python ./changelog.d/update-pr-refs.py\n          if [ \"$(git status --porcelain)\" = \"\" ]; then\n            echo \"no changes\"\n          else\n            git add changelog.d/\n            git \\\n              -c user.name=\"GitHub Actions\" \\\n              -c user.email=\"actions@github.com\" \\\n              commit -m '(actions) update PR references'\n            git push origin\n          fi\n", "state": "active", "repository": "globus/globus-sdk-python"}
{"mined_at": "2024-07-15T13:00:12.689506", "created_at": "2021-02-12T18:33:50+01:00", "updated_at": "2023-06-22T19:14:57+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      # Version tags.\n      #\n      # Tags matching this pattern will cause the \"release\" job below to run,\n      # so edit it carefully!  It should not match arbitrary tags.\n      - \"[0-9]+.[0-9]+.[0-9]+*\"\n  pull_request:\n  workflow_dispatch:\n\n  # Routinely check that we continue to work in the face of external changes.\n  schedule:\n    # Every day at 17:42 UTC / 9:42 Seattle (winter) / 10:42 Seattle (summer)\n    - cron: \"42 17 * * *\"\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: nextstrain/.github/actions/shellcheck@master\n\n  test-source:\n    name: test-source (python=${{ matrix.python }} os=${{ matrix.os }})\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - macos-latest\n          - windows-latest\n        python:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install Nextstrain CLI\n        run: python3 -m pip install --upgrade '.[dev]'\n\n      - run: ./devel/pytest -v\n\n  build-dist:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      # Install up-to-date packaging toolchain.\n      - run: python3 -m pip install --upgrade pip setuptools wheel\n      - run: python3 -m pip install --upgrade build\n\n      # Update version to include local git rev if we're not building a release tag.\n      - if: github.ref_type != 'tag'\n        run: |\n          version=\"$(./devel/read-version)\"\n          git_rev=\"$(git rev-parse --short @)\"\n          ./devel/update-version \"${version%%+*}+git.${git_rev}\"\n\n      # Build dists.\n      - run: python3 -m build\n\n      # Upload dists as workflow artifacts.\n      - uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist/\n\n  build-standalone:\n    needs: build-dist\n    strategy:\n      fail-fast: false\n      matrix:\n        # Generally we want to build on the oldest supported OS to maximize the\n        # final binary's compatibility.  See pyoxidizer's docs for more\n        # considerations affecting the choice of build machine OS¹ and future\n        # plans for robust, turnkey build environments².\n        #\n        # On Linux, we build inside a container to avoid portability issues, so\n        # the container's host OS version here doesn't have an impact (other\n        # than CI stability).\n        #\n        # ¹ https://pyoxidizer.readthedocs.io/en/stable/pyoxidizer_distributing_binary_portability.html\n        # ² https://pyoxidizer.readthedocs.io/en/stable/pyoxidizer_status.html#an-official-build-environment\n        include:\n          - os: ubuntu-22.04\n            target: x86_64-unknown-linux-gnu\n            exe: nextstrain\n\n          - os: macos-11\n            target: x86_64-apple-darwin\n            exe: nextstrain\n\n          - os: macos-14\n            target: aarch64-apple-darwin\n            exe: nextstrain\n\n          - os: windows-2019\n            target: x86_64-pc-windows-msvc\n            exe: nextstrain.exe\n\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    steps:\n      # Note that this Python version doesn't impact the actual build.\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      # Build the executable + necessary external files from the dists.\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist/\n\n      - name: Set DIST, DIST_VERSION, and INSTALLATION_ARCHIVE_STEM\n        run: |\n          # shellcheck disable=SC2034\n          DISTS=(dist/nextstrain_cli-*-py3-none-any.whl)\n          DIST=\"${DISTS[0]}\"\n          DIST_VERSION=\"$DIST\"\n          DIST_VERSION=\"${DIST_VERSION#dist/nextstrain_cli-}\"\n          DIST_VERSION=\"${DIST_VERSION%-py3-none-any.whl}\"\n          INSTALLATION_ARCHIVE_STEM=\"nextstrain-cli-${DIST_VERSION}-standalone-${{ matrix.target }}\"\n\n          for var in DIST DIST_VERSION INSTALLATION_ARCHIVE_STEM; do\n            echo \"${var}=${!var}\" | tee -a \"$GITHUB_ENV\"\n          done\n\n      - run: |\n          ./devel/pyoxidizer build \\\n            --release \\\n            --target-triple ${{ matrix.target }} \\\n            --var NEXTSTRAIN_CLI_DIST \"$DIST\"\n\n      # Analyze the executable for potential portability issues.\n      #\n      # This is for informational purposes only in build logs, so we don't care\n      # if it fails.  Currently it only works on Linux, though it's supposed to\n      # eventually work on all platforms supported by pyoxidizer.\n      - if: runner.os == 'Linux'\n        run: ./devel/pyoxidizer analyze build/${{ matrix.target }}/release/installation/${{ matrix.exe }}\n        continue-on-error: true\n\n      # XXX TODO: Review and report on licensing of all the stuff built into\n      # the binary, as bundling things statically can trigger different license\n      # terms than \"normal\" installs (e.g. via pip).  See also pyoxidizer's\n      # docs about this and the tooling it includes to support license review.¹\n      #   -trs, 1 June 2022\n      #\n      # ¹ https://pyoxidizer.readthedocs.io/en/stable/pyoxidizer_packaging_licensing.html#licensing-considerations\n\n      # Create installation archive.\n      #\n      # Use tar on Unix to preserve file modes (e.g. the executable bit), thus\n      # avoiding having to restore them manually after archive extraction.  Use\n      # zip on Windows because it's a native format which requires no extra\n      # tooling.\n      - if: runner.os != 'Windows'\n        run: tar czvpf \"$INSTALLATION_ARCHIVE_STEM.tar.gz\" -C build/${{ matrix.target }}/release/installation/ .\n\n      - if: runner.os == 'Windows'\n        run: Compress-Archive -DestinationPath \"$Env:INSTALLATION_ARCHIVE_STEM.zip\" -Path build/${{ matrix.target }}/release/installation/*\n        shell: pwsh\n\n      # Upload installation archive as a workflow artifact.\n      #\n      # At least one path needs to match, or this errors.\n      - uses: actions/upload-artifact@v4\n        with:\n          name: standalone-${{ matrix.target }}\n          path: |\n            ${{ env.INSTALLATION_ARCHIVE_STEM }}.tar.gz\n            ${{ env.INSTALLATION_ARCHIVE_STEM }}.zip\n          if-no-files-found: error\n\n      # Quick smoke test that the executable at least runs!  Useful before\n      # launching the more extensive tests below.\n      - run: ./build/${{ matrix.target }}/release/installation/${{ matrix.exe }} --help\n\n  write-install-commands:\n    needs: build-standalone\n    runs-on: ubuntu-latest\n    steps:\n      - name: Write installation commands to job summary\n        run: |\n          cat >\"$GITHUB_STEP_SUMMARY\" <<'~~'\n          Build complete. Commands to install locally:\n\n          Linux:\n\n          ```bash\n          curl -fsSL --proto '=https' https://nextstrain.org/cli/installer/linux | bash -s ci-build/${{ github.run_id }}\n          ```\n\n          macOS:\n\n          ```bash\n          curl -fsSL --proto '=https' https://nextstrain.org/cli/installer/mac | bash -s ci-build/${{ github.run_id }}\n          ```\n\n          Windows:\n\n          ```powershell\n          Invoke-Expression \"& { $(Invoke-RestMethod https://nextstrain.org/cli/installer/windows) } ci-build/${{ github.run_id }}\"\n          ```\n          ~~\n\n  test-dist:\n    needs: build-dist\n    name: test-dist (python=${{ matrix.python }} os=${{ matrix.os }})\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - macos-latest\n          - windows-latest\n        python:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          # XXX TODO: Add 3.11 here once supported by bioconda: https://github.com/nextstrain/augur/issues/1334\n          # XXX TODO: Add 3.12 here once supported by bioconda: https://github.com/nextstrain/augur/issues/1334\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        # Add -l for setup-integration-tests → setup-miniconda → automatic\n        # activation of \"test\" environment.\n        shell: bash -l -eo pipefail {0}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: src/\n\n      - uses: ./src/.github/actions/setup-integration-tests\n        with:\n          python-version: ${{ matrix.python }}\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist/\n\n      - name: Install Nextstrain CLI\n        run: python3 -m pip install --upgrade dist/nextstrain_cli-*-py3-none-any.whl\n\n      - uses: ./src/.github/actions/run-integration-tests\n\n  test-standalone:\n    needs: build-standalone\n    name: test-standalone (os=${{ matrix.os}}, target=${{ matrix.target }})\n    strategy:\n      fail-fast: false\n      matrix:\n        # Test on all the platforms available via GitHub Actions.\n        #\n        # Ideally we'd test on machines with ~fresh OS installs.  The kitchen\n        # sink of development/build software pre-installed into GitHub Action's\n        # virtual-environments has a decent risk of making this CI blind to\n        # end-user runtime issues with our binaries (e.g. missing DLLs).  Such\n        # fresh CI machines are not readily available, however, since\n        # pre-installation is convenient for builds.\n        include:\n          - { os: ubuntu-20.04, target: x86_64-unknown-linux-gnu }\n          - { os: ubuntu-22.04, target: x86_64-unknown-linux-gnu }\n          - { os: macos-11,     target: x86_64-apple-darwin }\n          - { os: macos-12,     target: x86_64-apple-darwin }\n          - { os: macos-14,     target: aarch64-apple-darwin }\n          - { os: windows-2019, target: x86_64-pc-windows-msvc }\n          - { os: windows-2022, target: x86_64-pc-windows-msvc }\n\n    runs-on: ${{matrix.os}}\n    defaults:\n      run:\n        # Add -l for setup-integration-tests → setup-miniconda → automatic\n        # activation of \"test\" environment.\n        shell: bash -l -eo pipefail {0}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: src/\n\n      - uses: ./src/.github/actions/setup-integration-tests\n        with:\n          python-version: '3.9'\n\n      # Download and extract the installation archive.\n      - uses: actions/download-artifact@v4\n        with:\n          name: standalone-${{ matrix.target }}\n\n      - if: runner.os != 'Windows'\n        run: tar xzvpf nextstrain-cli-*-standalone-${{ matrix.target }}.tar.gz\n\n      - if: runner.os == 'Windows'\n        run: Expand-Archive -Path nextstrain-cli-*-standalone-${{ matrix.target }}.zip -DestinationPath .\n        shell: pwsh\n\n      - run: echo \"$PWD\" >> \"$GITHUB_PATH\"\n\n      - uses: ./src/.github/actions/run-integration-tests\n\n  doc:\n    uses: nextstrain/.github/.github/workflows/docs-ci.yaml@master\n    with:\n      docs-directory: doc/\n      pip-install-target: .[dev]\n      make-target: dirhtml\n\n  release:\n    # Restricted to version tags by the \"on: push: tags: …\" config at the top.\n    if: |2\n         github.event_name == 'push'\n      && github.ref_type == 'tag'\n    needs:\n      - build-dist\n      - build-standalone\n      - test-source\n      - test-dist\n      - test-standalone\n      - lint\n      - doc\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      # In actions/checkout@v4 above, annotated tags are intentionally\n      # **overwritten** and converted to a lightweight tag.  Forcibly restore\n      # the annotated tag object from the remote so we can verify/use it later.\n      - run: git fetch --force origin tag \"$GITHUB_REF_NAME\"\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - run: python3 -m pip install --upgrade twine\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist/\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: standalone-x86_64-unknown-linux-gnu\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: standalone-x86_64-apple-darwin\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: standalone-aarch64-apple-darwin\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: standalone-x86_64-pc-windows-msvc\n\n      - run: twine upload dist/*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n          TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/\n\n      - run: ./devel/create-github-release \"${{github.ref_name}}\" dist/* nextstrain-cli-*-standalone-*\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "nextstrain/cli"}
{"mined_at": "2024-07-15T13:00:13.724652", "created_at": "2022-08-30T00:46:10+02:00", "updated_at": "2022-09-20T00:06:04+02:00", "name": "Standalone installers", "path": ".github/workflows/standalone-installers.yaml", "contents": "name: Standalone installers\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - bin/standalone-installer-unix\n      - bin/standalone-installer-windows\n\n  pull_request:\n    paths:\n      - bin/standalone-installer-unix\n      - bin/standalone-installer-windows\n\n  # Routinely check that the external resources the installers rely on keep\n  # functioning as expected.\n  schedule:\n    # Every day at 17:42 UTC / 9:42 Seattle (winter) / 10:42 Seattle (summer)\n    - cron: \"42 17 * * *\"\n\n  workflow_dispatch:\n\njobs:\n  # The goal here is to make sure the installers run successfully on a variety\n  # of OS versions.  We're _not_ testing unreleased standalone builds here—the\n  # installation archives are downloaded from the latest release on GitHub via\n  # nextstrain.org endpoints—which is why this isn't part of CI.  That is, this\n  # is akin to testing `pip install nextstrain-cli` if we wanted to make sure\n  # `pip` worked.\n  #   -trs, 29 August 2022\n  test:\n    name: test (os=${{ matrix.os }})\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-20.04\n          - ubuntu-22.04\n          - macos-11\n          - macos-12\n          - macos-14      # (aarch64)\n          - windows-2019\n          - windows-2022\n\n    runs-on: ${{matrix.os}}\n    steps:\n      - uses: actions/checkout@v4\n\n      # Use pipes like are used in the real instructions when the installer is\n      # fetched from nextstrain.org.  This tests that the shell programs work\n      # when they're specifically executed this way.\n      - if: runner.os != 'Windows'\n        run: |\n          # shellcheck disable=SC2002\n          cat ./bin/standalone-installer-unix | bash\n        shell: bash\n\n      - if: runner.os == 'Windows'\n        run: Get-Content -Raw ./bin/standalone-installer-windows | Invoke-Expression\n        shell: pwsh\n", "state": "active", "repository": "nextstrain/cli"}
{"mined_at": "2024-07-15T13:00:14.867837", "created_at": "2024-02-10T00:00:16+01:00", "updated_at": "2024-02-10T00:57:10+01:00", "name": "Sync RTD redirects", "path": ".github/workflows/sync-rtd-redirects.yaml", "contents": "name: Sync RTD redirects\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - doc/redirects.yaml\n      - .github/workflows/sync-rtd-redirects.yaml\n\n  # The reusable workflow will only actually make changes when running on the\n  # default branch (e.g. refs/heads/main); every other run will be a dry run.\n  pull_request:\n\n  # Manually triggered using GitHub's UI\n  workflow_dispatch:\n\njobs:\n  sync:\n    name: rtd redirects\n    uses: nextstrain/.github/.github/workflows/sync-rtd-redirects.yaml@master\n    with:\n      project: nextstrain-cli\n      file: doc/redirects.yaml\n    secrets:\n      RTD_TOKEN: ${{ secrets.RTD_TOKEN }}\n", "state": "active", "repository": "nextstrain/cli"}
{"mined_at": "2024-07-15T13:00:18.021595", "created_at": "2021-11-15T07:07:55+01:00", "updated_at": "2021-11-15T07:07:55+01:00", "name": "pyecharts CI", "path": ".github/workflows/python-app.yml", "contents": "name: pyecharts CI\r\n\r\non: [push, pull_request]\r\n\r\njobs:\r\n  build:\r\n    strategy:\r\n      # Allows for matrix sub-jobs to fail without canceling the rest\r\n      fail-fast: false\r\n      matrix:\r\n        os: [ubuntu-latest, macos-latest, windows-latest]\r\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\r\n        exclude: # Python < v3.8 does not support Apple Silicon ARM64.\r\n          - python-version: \"3.7\"\r\n            os: macos-latest\r\n        include: # So run those legacy versions on Intel CPUs.\r\n          - python-version: \"3.7\"\r\n            os: macos-13\r\n    runs-on: ${{ matrix.os }}\r\n    steps:\r\n    - uses: actions/checkout@v4\r\n    - name: Set up Python\r\n      uses: actions/setup-python@v5\r\n      with:\r\n        python-version: ${{ matrix.python-version }}\r\n    - name: Install dependencies\r\n      run: |\r\n        python -m pip install --upgrade pip setuptools\r\n        pip install -r requirements.txt\r\n        pip install -r test/requirements.txt\r\n    - name: Run unit test\r\n      run: |\r\n        python setup.py install\r\n        python test.py\r\n    - name: Codecov\r\n      run: |\r\n        codecov\r\n", "state": "active", "repository": "pyecharts/pyecharts"}
{"mined_at": "2024-07-15T13:00:20.031318", "created_at": "2021-11-19T03:30:46+01:00", "updated_at": "2022-09-26T06:09:53+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master, gh-pages ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master, gh-pages ]\n  schedule:\n    - cron: '17 11 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "evhub/coconut"}
{"mined_at": "2024-07-15T13:00:21.215477", "created_at": "2021-06-25T10:17:52+02:00", "updated_at": "2021-11-06T07:50:45+01:00", "name": "Coconut Test Suite", "path": ".github/workflows/run-tests.yml", "contents": "name: Coconut Test Suite\non: [push]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '2.7'\n          - '3.6'\n          - '3.7'\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n          - 'pypy-2.7'\n          - 'pypy-3.6'\n          - 'pypy-3.7'\n          - 'pypy-3.8'\n          - 'pypy-3.9'\n          - 'pypy-3.10'\n      fail-fast: false\n    name: Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup python\n        uses: MatteoH2O1999/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - run: make install\n      - run: make test-all\n      - run: make build\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n        continue-on-error: true\n", "state": "active", "repository": "evhub/coconut"}
{"mined_at": "2024-07-15T13:00:23.218094", "created_at": "2019-12-19T18:17:17+01:00", "updated_at": "2019-12-19T18:17:17+01:00", "name": "Update Downloads Badges", "path": ".github/workflows/badges.yml", "contents": "name: Update Downloads Badges\n\non:\n  schedule:\n    - cron: '15 17 * * *'  # Every day at 5:15pm UTC\n\njobs:\n  update:\n    name: Update Downloads Badges\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n          architecture: 'x64'\n      - name: Install Requirements\n        run: python -m pip install requests\n      - name: Run Python Script\n        run: python etc/downloads_badges.py\n        env:\n          ZAPIER_SHA: ${{ secrets.ZAPIER_SHA }}", "state": "active", "repository": "alkaline-ml/pmdarima"}
{"mined_at": "2024-07-15T13:00:24.239613", "created_at": "2019-12-21T14:14:12+01:00", "updated_at": "2020-01-14T01:14:34+01:00", "name": "Mac and Windows Builds", "path": ".github/workflows/build_and_deploy.yml", "contents": "name: Mac and Windows Builds\n\non:\n  push:\n    branches:\n      - 'master'\n    tags:\n      - '*'\n\n  pull_request:\n    branches:\n      - '*'\n\n# Cancel older runs of the same workflow on the same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-and-deploy:\n    strategy:\n      matrix:\n        python3-minor-version: [7, 8, 9, 10, 11, 12]\n        os: [macos-latest, ubuntu-latest, windows-latest]\n    defaults:\n      run:\n        shell: bash\n    env:\n      PYTHON_VERSION: ${{ format('3.{0}', matrix.python3-minor-version) }}\n      PYTHON_EXECUTABLE: ${{ format('cp3{0}', matrix.python3-minor-version) }}\n\n    runs-on: ${{ matrix.os }}\n    name: Build and Deploy (${{ matrix.os }}, 3.${{ matrix.python3-minor-version }})\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      # Python interpreter used by cibuildwheel, but it uses a different one internally\n      - name: Setting up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Set up QEMU\n        if: runner.os == 'Linux'\n        uses: docker/setup-qemu-action@v2\n        with:\n          platforms: all\n\n      # We build the source archive separately because of this: https://github.com/alkaline-ml/pmdarima/pull/136#discussion_r279781731\n      # We build it first because of this: https://github.com/alkaline-ml/pmdarima/issues/448\n      - name: Building source distribution\n        run: make version sdist\n\n      - name: Install cibuildwheel\n        run: python -m pip install cibuildwheel\n\n      - name: Building and testing wheels\n        run: python -m cibuildwheel --output-dir dist\n        env:\n          # TODO: Move Linux x86_64 builds to GHA?\n          CIBW_ARCHS_LINUX: \"aarch64\"\n          CIBW_ARCHS_MACOS: \"x86_64 arm64\"\n          CIBW_ARCHS_WINDOWS: \"AMD64\"\n          CIBW_BEFORE_ALL: make version\n          CIBW_BEFORE_BUILD: >\n            pip install -r build_tools/build_requirements.txt &&\n            pip install -r requirements.txt\n          # Tests are run in a separate virtual env, so we need to re-install deps\n          CIBW_BEFORE_TEST: >\n            pip install -r build_tools/build_requirements.txt &&\n            pip install -r requirements.txt\n          CIBW_BUILD: \"${{ env.PYTHON_EXECUTABLE }}-*\"\n          CIBW_ENVIRONMENT: CC=gcc\n          CIBW_ENVIRONMENT_MACOS: PMD_MPL_BACKEND=TkAgg PYTHON_CROSSENV=true\n          CIBW_ENVIRONMENT_PASS_LINUX: GITHUB_REF\n          # No support for pypy or musl\n          CIBW_SKIP: \"pp* *-musllinux_*\"\n          # Runs tests and checks for a numpy regression by upgrading numpy and running tests again\n          CIBW_TEST_COMMAND: >\n            pytest --showlocals --durations=20 --pyargs pmdarima &&\n            pip install --upgrade scipy numpy &&\n            pytest --showlocals --durations=20 --pyargs pmdarima\n          # Avoid testing on emulated architectures\n          CIBW_TEST_SKIP: \"*-*linux_{aarch64,ppc64le,s390x} *-macosx_arm64\"\n\n      - name: Checking README compatibility\n        run: |\n          python -m pip install \"twine>=1.13.0\" readme_renderer\n          if python -c \"from twine.commands.check import check; check(['dist/*'])\" | grep  \"warning\"; then\n              echo \"README will not render properly on PyPI\"\n              exit 1\n          else\n              echo \"README rendered appropriately\"\n          fi\n\n      # See https://github.com/alkaline-ml/pmdarima/issues/448\n      - name: Ensuring sdist SOURCES.txt has no absolute paths\n        run: |\n          cd dist\n          tar xzf $(find . -name \"*.tar.gz\")\n          OUTPUT_DIRECTORY=$(find . -type d -name \"pmdarima-*\")\n          if grep -q \"^/\" ${OUTPUT_DIRECTORY}/pmdarima.egg-info/SOURCES.txt; then\n            echo \"SOURCES.txt contains absolute paths in sdist\"\n            exit 1\n          else\n            echo \"SOURCES.txt looks good\"\n            rm -rf \"$OUTPUT_DIRECTORY\"\n          fi\n\n      - name: Ensuring sdist can be installed\n        run: pip install dist/$(ls dist | grep tar)\n\n      - name: Ensuring VERSION file exists\n        id: version_check  # Need this to refer to output below\n        run: |\n          if [ -f \"${GITHUB_WORKSPACE}/pmdarima/VERSION\" ]; then\n            echo \"VERSION file exists\"\n            echo \"version_exists=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"VERSION file does not exist\"\n            echo \"version_exists=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Deploying to PyPI\n        # Only deploy on tags and when VERSION file created\n        if: startsWith(github.ref, 'refs/tags') && success() && steps.version_check.outputs.version_exists == 'true'\n        run: |\n          chmod +x build_tools/github/deploy.sh\n          ./build_tools/github/deploy.sh\n        env:\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n", "state": "active", "repository": "alkaline-ml/pmdarima"}
{"mined_at": "2024-07-15T13:00:25.311561", "created_at": "2020-02-24T00:51:16+01:00", "updated_at": "2020-02-24T00:51:16+01:00", "name": "Test against latest dependencies", "path": ".github/workflows/nightly_cron.yml", "contents": "name: Test against latest dependencies\n\n# Run if we change any of these paths and every night at 1 (or 2) AM Central time\non:\n  push:\n    branches-ignore:\n      - 'master'\n    paths:\n    - 'requirements.txt'\n    - '.github/workflows/nightly_cron.yml'\n\n  schedule:\n    - cron: '0 7 * * *'  # Every day at 07:00 UTC (1AM CST or 2AM CDT)\n\n  # Allows us to run manually\n  workflow_dispatch:\n\n# Cancel older runs of the same workflow on the same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: Build against latest dependencies\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, macos-latest, ubuntu-latest]\n        python-version: ['3.12']\n        python-executable: ['cp312']\n    defaults:\n      run:\n        shell: bash\n\n    runs-on: ${{ matrix.os }}\n\n    outputs:\n      dependency-table: ${{ steps.dependency-table.outputs.table }}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Setting up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Set Run ID\n        id: definition  # Needed to retrieve the output of this step later\n        run: echo \"run_id=$GITHUB_RUN_ID\" >> $GITHUB_OUTPUT\n\n      - name: Collecting naked dependencies\n        id: dependencies  # Needed to retrieve the output of this step later\n        run: |\n          dependencies=$(python build_tools/github/get_latest_dependencies.py)\n          echo \"latest_dependencies=$dependencies\" >> $GITHUB_OUTPUT\n        shell: bash\n\n      - name: Install cibuildwheel\n        run: python -m pip install cibuildwheel\n\n      - name: Generating dependency table\n        id: dependency-table  # Needed to set output of job\n        run: |\n          pip install requests tabulate\n          table=$(python .github/utils/get_dependency_releases.py $DEPENDENCIES)\n\n          # This is used in the next job (if necessary) rather than re-running the above\n          echo \"table=$table\" >> $GITHUB_OUTPUT\n        env:\n          DEPENDENCIES: ${{ steps.dependencies.outputs.latest_dependencies }}\n\n      - name: Building and testing wheel\n        run: python -m cibuildwheel --output-dir dist\n        env:\n          CIBW_ARCHS_LINUX: \"x86_64\"\n          CIBW_ARCHS_MACOS: \"x86_64\"\n          CIBW_ARCHS_WINDOWS: \"AMD64\"\n          CIBW_BEFORE_ALL: make version\n          CIBW_BEFORE_BUILD: >\n            for dependency in ${{ steps.dependencies.outputs.latest_dependencies }}; do\n              pip install $dependency\n            done\n          # Windows runs a batch script that I couldn't get to work, so we just force it to run bash\n          CIBW_BEFORE_BUILD_WINDOWS: bash -c 'for dependency in ${{ steps.dependencies.outputs.latest_dependencies }}; do pip install $dependency; done'\n          # Tests are run in a separate virtual env, so we need to re-install deps\n          CIBW_BEFORE_TEST: >\n            for dependency in ${{ steps.dependencies.outputs.latest_dependencies }}; do\n              pip install $dependency\n            done\n          CIBW_BEFORE_TEST_WINDOWS: bash -c 'for dependency in ${{ steps.dependencies.outputs.latest_dependencies }}; do pip install $dependency; done'\n          CIBW_BUILD: \"${{ matrix.python-executable }}-*\"\n          CIBW_ENVIRONMENT_MACOS: PMD_MPL_BACKEND=TkAGG\n          # No support for pypy or musl\n          CIBW_SKIP: \"pp* *-musllinux_*\"\n          CIBW_TEST_COMMAND: pytest --showlocals --durations=20 --pyargs pmdarima\n\n      # https://github.com/marketplace/actions/action-slack#custom-notification\n      - name: Posting to Slack\n        uses: 8398a7/action-slack@v3\n        if: failure()\n        with:\n          status: custom\n          custom_payload: |\n            {\n              text: \":no_entry: Nightly Build Failed\",\n              attachments: [{\n                \"author_name\": \"Nightly Build\", // This one needs to be in quotes for some reason\n                fallback: 'Nightly Build Failed!',\n                color: 'danger',\n                title: 'CI Result',\n                text: 'Failed',\n                fields: [\n                  {\n                    title: 'OS',\n                    value: '${{ matrix.os }}',\n                    short: false\n                  },\n                  {\n                    title: 'Python Version',\n                    value: '${{ matrix.python-version }}',\n                    short: false\n                  },\n                  {\n                    title: 'Link to Run',\n                    value: '<https://github.com/alkaline-ml/pmdarima/actions/runs/${{ env.RUN_ID }}|HERE>',\n                    short: false\n                  }\n                ],\n                actions: [{}]  // Don't know if we actually need this, but it is shown in the docs as empty\n              }]\n            }\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.NIGHTLY_SLACK_CHANNEL }}\n          RUN_ID: ${{ steps.definition.outputs.run_id }}\n\n  # We only run this job if the previous one fails (any of the 4 jobs that it spins up)\n  send_latest_releases:\n    needs: [build]\n    if: failure()\n    name: Send latest dependency releases to Slack\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@master\n\n      - name: Setting up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - name: Posting to Slack\n        uses: 8398a7/action-slack@v3\n        with:\n          status: custom\n          custom_payload: |\n            {\n              text: \"Latest Dependency Releases (most recent first):\\n${{ env.TABLE }}\",\n            }\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.NIGHTLY_SLACK_CHANNEL }}\n          TABLE: ${{ needs.build.outputs.dependency-table }}\n", "state": "active", "repository": "alkaline-ml/pmdarima"}
{"mined_at": "2024-07-15T13:00:26.424849", "created_at": "2019-12-21T14:14:13+01:00", "updated_at": "2019-12-21T14:14:13+01:00", "name": "Test VERSION tagging", "path": ".github/workflows/test_tagging.yml", "contents": "name: Test VERSION tagging\n\non:\n  push:\n    branches:\n      - 'master'\n\n  pull_request:\n    branches:\n      - '*'\n\n# Cancel older runs of the same workflow on the same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test-tagging:\n    name: Test VERSION tagging\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Setting up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n          architecture: 'x64'\n\n      - name: Ensure VERSION tagging works\n        run: |\n          chmod +x build_tools/github/test_version_tagging.sh\n          ./build_tools/github/test_version_tagging.sh\n        shell: bash\n", "state": "active", "repository": "alkaline-ml/pmdarima"}
{"mined_at": "2024-07-15T13:00:27.450894", "created_at": "2022-01-02T18:50:11+01:00", "updated_at": "2022-01-02T18:50:11+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "alkaline-ml/pmdarima"}
{"mined_at": "2024-07-15T13:00:29.715660", "created_at": "2020-11-14T17:39:35+01:00", "updated_at": "2023-06-21T14:00:50+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  mypy-self-check:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install -U pip setuptools wheel\n          SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install -r ./requirements.txt\n\n      - name: Run mypy on plugin code\n        run: mypy --strict mypy_django_plugin\n\n      - name: Run mypy on ext code\n        run: mypy --strict ext\n      - name: Run mypy on scripts and utils\n        run: mypy --strict scripts\n      - name: Run mypy on stubs\n        run: mypy --cache-dir=/dev/null --no-incremental django-stubs\n\n  test:\n    timeout-minutes: 15\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        shard: [0, 1, 2, 3]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install binutils libproj-dev gdal-bin\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install -U pip setuptools wheel\n          SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install -r ./requirements.txt\n\n      # Must match `shard` definition in the test matrix:\n      - name: Run pytest tests\n        run: PYTHONPATH='.' pytest --num-shards=4 --shard-id=${{ matrix.shard }} tests\n      - name: Run mypy on the test cases\n        run: mypy tests/assert_type\n\n  stubtest:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install binutils libproj-dev gdal-bin\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install -U pip setuptools wheel\n          SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install -r ./requirements.txt\n\n      - name: Run stubtest\n        run: bash ./scripts/stubtest.sh\n\n  run-pyright:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']  # TODO: enable on other versions\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install -U pip setuptools wheel\n          SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install -r ./requirements.txt\n      - name: Run pyright on the stubs\n        uses: jakebailey/pyright-action@v2\n        with:\n          version: PATH\n          annotate: false\n        continue-on-error: true  # TODO: remove this part\n      - name: Run pyright on the test cases\n        uses: jakebailey/pyright-action@v2\n        with:\n          version: PATH\n          project: ./pyrightconfig.testcases.json\n\n  matrix-test:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.11', '3.12']\n        django-version: ['4.2', '5.0']\n        include:\n          - python-version: '3.8'\n            django-version: '4.2'\n          - python-version: '3.9'\n            django-version: '4.2'\n          - python-version: '3.10'\n            django-version: '4.2'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install binutils libproj-dev gdal-bin\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install -U pip setuptools wheel\n          SETUPTOOLS_ENABLE_FEATURES=legacy-editable pip install -r ./requirements.txt\n          pip install \"Django==${{ matrix.django-version }}\"\n          pip check\n\n      - name: Run django-stubs-ext tests\n        run: PYTHONPATH='.' pytest ext\n\n  build-and-check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-tags: true\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - name: Install dependencies\n        run: python3 -m pip install --upgrade build twine\n      - name: Build\n        run: |\n          python3 -m build --sdist --wheel .\n          python3 -m build --sdist --wheel ext/\n      - name: Check package metadata\n        run: |\n          twine check --strict dist/*\n          twine check --strict ext/dist/*\n", "state": "active", "repository": "typeddjango/django-stubs"}
{"mined_at": "2024-07-15T13:00:30.754383", "created_at": "2022-06-07T11:23:05+02:00", "updated_at": "2024-03-19T21:42:11+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n\nconcurrency:\n  group: release-${{ github.event.release.tag_name }}\n\njobs:\n  build-and-publish-ext:\n    runs-on: ubuntu-latest\n    environment:\n      name: release-ext\n      url: https://pypi.org/p/django-stubs-ext\n    permissions:\n      id-token: write\n    steps:\n      - name: Setup python to build package\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - name: Install build\n        run: python -m pip install build\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Build ext package\n        run: python -m build ext/\n      - name: Publish ext to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          packages-dir: ext/dist/\n\n  build-and-publish:\n    runs-on: ubuntu-latest\n    needs: [build-and-publish-ext]\n    environment:\n      name: release\n      url: https://pypi.org/p/django-stubs\n    permissions:\n      id-token: write\n    steps:\n      - name: Setup python to build package\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - name: Install build\n        run: python -m pip install build\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Build package\n        run: python -m build\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n", "state": "active", "repository": "typeddjango/django-stubs"}
{"mined_at": "2024-07-15T13:00:32.883888", "created_at": "2023-08-20T00:22:02+02:00", "updated_at": "2023-08-20T17:59:43+02:00", "name": "Build wheels", "path": ".github/workflows/build_wheels.yml", "contents": "# Build on every branch push, tag push, and pull request change:\n# From: https://github.com/pypa/cibuildwheel/blob/main/examples/github-deploy.yml\n# Also:\n# https://github.com/airspeed-velocity/asv/blob/main/.github/workflows/wheels.yml\n# include [wheel build] in the commit to trigger wheel builds\nname: Build wheels\non: [push, pull_request, workflow_dispatch]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  get_commit_message:\n    name: Get commit message\n    runs-on: ubuntu-latest\n    if: \"github.repository == 'airspeed-velocity/asv'\"\n    outputs:\n      message: ${{ steps.commit_message.outputs.message }}\n    steps:\n      - name: Checkout asv\n        uses: actions/checkout@v4\n        # Gets the correct commit message for pull request\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Get commit message\n        id: commit_message\n        run: |\n          set -xe\n          COMMIT_MSG=$(git log --no-merges -1 --oneline)\n          echo \"message=$COMMIT_MSG\" >> $GITHUB_OUTPUT\n          echo github.ref ${{ github.ref }}\n  build_wheels:\n    name: Build wheels\n    needs: get_commit_message\n    if: >-\n      contains(needs.get_commit_message.outputs.message, '[wheel build]') ||\n      github.event_name == 'schedule' ||\n      github.event_name == 'workflow_dispatch' ||\n      (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && ( ! endsWith(github.ref, 'dev0')))\n    runs-on: ${{ matrix.buildplat[0] }}\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        # From NumPy\n        # Github Actions doesn't support pairing matrix values together, let's improvise\n        # https://github.com/github/feedback/discussions/7835#discussioncomment-1769026\n        buildplat:\n          - [ubuntu-20.04, manylinux_x86_64]\n          - [ubuntu-20.04, musllinux_x86_64]\n          - [macos-12, macosx_x86_64]\n          - [macos-12, macosx_arm64]\n          - [windows-2019, win_amd64]\n        python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy3.8', 'pypy3.9']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Echo Python version and build platform\n        run: echo Building wheel for ${{ matrix.python-version }}-${{ matrix.buildplat[1] }}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.16.5\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    needs: get_commit_message\n    if: >-\n      contains(needs.get_commit_message.outputs.message, '[wheel build]') ||\n      github.event_name == 'schedule' ||\n      github.event_name == 'workflow_dispatch' ||\n      (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && ( ! endsWith(github.ref, 'dev0')))\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Build sdist\n        shell: bash -l {0}\n        run: pipx run build --sdist\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: dist/*.tar.gz\n\n  upload_pypi:\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/asv_runner\n    permissions:\n      id-token: write  # for trusted publishing\n    # upload to PyPI on every tag starting with 'v'\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'airspeed-velocity/asv'\n    # alternatively, to publish when a GitHub Release is created, use the following rule:\n    # if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          # unpacks default artifact into dist/\n          # if `name: artifact` is omitted, the action will create extra parent dir\n          name: artifact\n          path: dist\n      - uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "airspeed-velocity/asv"}
{"mined_at": "2024-07-15T13:00:34.016000", "created_at": "2022-01-28T21:21:59+01:00", "updated_at": "2024-02-04T14:59:18+01:00", "name": "Linux and MacOS CI", "path": ".github/workflows/ci.yml", "contents": "name: Linux and MacOS CI\n\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: test\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.7\", \"3.12\", \"pypy-3.8\", \"pypy-3.9\"]\n        r-version: ['release']\n    timeout-minutes: 60\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      # We need Python 3.7 to always be installed, so tests with\n      # multiple environments can run.\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n\n      - name: Set up Python version ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n      - name: Setup a browser for more tests\n        uses: browser-actions/setup-chrome@latest\n\n      - name: Set up R version ${{ matrix.r-version }}\n        uses: r-lib/actions/setup-r@v2\n        with:\n          r-version: ${{ matrix.r-version }}\n\n      - name: Install dependencies (standard)\n        if: matrix.python-version != '3.12.0-rc.2'\n        run: python -m pip install \".[test,hg]\"\n\n      - name: Install dependencies (with --pre)\n        if: matrix.python-version == '3.12.0-rc.2'\n        run: python -m pip install \".[test,hg]\" --pre\n\n      - name: Install asv\n        run: pip install .\n\n      - name: Run tests\n        run: python -m pytest -v --timeout=300 --webdriver=ChromeHeadless --durations=100 test\n\n  test_env:\n    name: test_environments\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\"]\n      fail-fast: false\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          init-shell: >-\n            bash\n          environment-name: test-env\n          cache-environment: true\n          create-args: >-\n            python\n            pip\n            libmambapy\n            conda-build\n\n      - name: Install dependencies\n        run: python -m pip install \".[test,hg]\" --pre\n        shell: micromamba-shell {0}\n\n      - name: Install asv\n        run: pip install .\n        shell: micromamba-shell {0}\n\n      - name: Run tests\n        run: pytest -k environment_bench -vvvvv\n        shell: micromamba-shell {0}\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.x'\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n      - name: Install asv\n        run: pip install \".[doc]\"\n\n      - name: Build docs\n        run: sphinx-build -W docs/source html\n", "state": "active", "repository": "airspeed-velocity/asv"}
{"mined_at": "2024-07-15T13:00:35.246013", "created_at": "2023-05-21T00:47:57+02:00", "updated_at": "2024-02-04T18:44:15+01:00", "name": "Windows CI", "path": ".github/workflows/ci_win.yml", "contents": "name: Windows CI\n\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: test\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"windows-latest\"]\n        python-version: [\"3.7\"]\n    timeout-minutes: 60\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python version ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n      - name: Install and test\n        shell: pwsh\n        run: |\n          python.exe -m pip install .[test]\n          python.exe -m pip install packaging virtualenv\n          python.exe -m pytest -v -l -x --timeout=300 --durations=100 test --environment-type=virtualenv\n\n\n  test_env:\n    name: test_environments\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      fail-fast: false\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          init-shell: >-\n            powershell\n          environment-name: test-env\n          cache-environment: true\n          create-args: >-\n            python\n            pip\n            libmambapy\n            conda-build\n\n      - name: Install dependencies\n        run: python -m pip install \".[test,hg]\" --pre\n        shell: micromamba-shell {0}\n\n      - name: Install asv\n        run: pip install .\n        shell: micromamba-shell {0}\n\n      - name: Run tests\n        run: pytest -k environment_bench -vvvvv\n        shell: micromamba-shell {0}\n", "state": "active", "repository": "airspeed-velocity/asv"}
{"mined_at": "2024-07-15T13:00:36.581231", "created_at": "2024-03-20T01:33:12+01:00", "updated_at": "2024-03-20T01:33:12+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": null, "state": "active", "repository": "airspeed-velocity/asv"}
{"mined_at": "2024-07-15T13:00:37.697826", "created_at": "2022-03-18T22:12:52+01:00", "updated_at": "2022-03-20T14:53:24+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - uses: pre-commit/action@v2.0.3\n", "state": "active", "repository": "airspeed-velocity/asv"}
{"mined_at": "2024-07-15T13:00:38.829417", "created_at": "2023-08-13T20:46:58+02:00", "updated_at": "2023-08-13T20:46:58+02:00", "name": "Triggered", "path": ".github/workflows/triggered.yml", "contents": "name: Triggered\n\non:\n  workflow_dispatch:\n    inputs:\n      pr_number:\n        description: 'PR Number'\n        required: true\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  ASVRunner:\n    name: test with specific asv_runner\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.7\", \"3.10\", \"pypy-3.8\", \"pypy-3.9\"]\n        r-version: ['release']\n    timeout-minutes: 30\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      # We need Python 3.7 to always be installed, so tests with\n      # multiple environments can run.\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n\n      - name: Set up Python version ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n      - name: Setup a browser for more tests\n        uses: browser-actions/setup-chrome@latest\n\n      - name: Set up R version ${{ matrix.r-version }}\n        uses: r-lib/actions/setup-r@v2\n        with:\n          r-version: ${{ matrix.r-version }}\n\n      - name: Install dependencies\n        run: python -m pip install \".[test,hg]\"\n\n      - name: Get asv_runner to be tested\n        uses: actions/checkout@v4\n        with:\n          repository: airspeed-velocity/asv_runner\n          ref: refs/pull/${{ github.event.inputs.pr_number }}/head\n          path: latest_asv_runner\n\n      - name: Install asv\n        run: pip install .\n\n      - name: Run tests with the current asv_runner\n        run: ASV_RUNNER=\"$(pwd)/latest_asv_runner\" python -m pytest -v --timeout=300 --webdriver=ChromeHeadless --durations=100 test\n", "state": "active", "repository": "airspeed-velocity/asv"}
{"mined_at": "2024-07-15T13:00:40.938783", "created_at": "2020-02-06T00:32:13+01:00", "updated_at": "2020-02-06T00:47:28+01:00", "name": "Tests", "path": ".github/workflows/ci.yml", "contents": "# Run the project's test suite\nname: Tests\n\non:\n  push:\n    branches:\n    - master\n    - main\n    - '*.x'\n  pull_request:\n    branches:\n    - master\n    - main\n    - '*.x'\n\nconcurrency:\n  group: test-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: Test ${{ matrix.os }} Python ${{ matrix.python-version }} conda=${{ matrix.use-conda }}\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 20\n    defaults:\n      run:\n        shell: ${{ matrix.special-invocation }}bash -l {0}\n    env:\n      CI: 'True'\n      PYTHON_VERSION: ${{ matrix.python-version }}\n      USE_CONDA: ${{ matrix.use-conda }}\n      PYQT5_VERSION: ${{ matrix.pyqt5-version || matrix.qt5-version-default }}\n      PYQT5_QT_VERSION: ${{ matrix.pyqt5-qt-version || matrix.pyqt5-version || matrix.qt5-version-default }}\n      PYQT6_VERSION: ${{ matrix.pyqt6-version || matrix.qt6-version-default }}\n      PYQT6_QT_VERSION: ${{ matrix.pyqt6-qt-version || matrix.pyqt6-version || matrix.qt6-version-default }}\n      PYSIDE2_VERSION: ${{ matrix.pyside2-version || matrix.qt5-version-default }}\n      PYSIDE2_QT_VERSION: ${{ matrix.pyside2-qt-version || matrix.pyside2-version || matrix.qt5-version-default }}\n      PYSIDE6_VERSION: ${{ matrix.pyside6-version || matrix.qt6-version-default }}\n      PYSIDE6_QT_VERSION: ${{ matrix.pyside6-qt-version || matrix.pyside6-version || matrix.qt6-version-default }}\n      QSCINTILLA_VERSION: ${{ matrix.qscintilla-version || matrix.qscintilla-version-default }}\n      PYQT_EXTRAS: ${{ matrix.pyqt-extras || matrix.pyqt-extras-default }}\n      SKIP_PIP_CHECK: ${{ matrix.skip-pip-check }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        python-version: ['3.7', '3.11']\n        use-conda: ['Yes', 'No']\n        qt5-version-default: ['5.12']\n        qt6-version-default: ['6.3']\n        qscintilla-version-default: ['2.13']\n        pyqt-extras-default: ['No']\n        include:\n        - os: ubuntu-latest\n          special-invocation: 'xvfb-run --auto-servernum '  # Needed for GUI tests to work\n        - python-version: '3.11'\n          pyqt5-version: '5.15'  # Python 3.11 needs 5.15+\n          pyside2-version: '5.15'  # Python 3.11 needs 5.15+\n          pyside6-version: '6.5'  # Python 3.11 needs 6.4+. Test upper bound\n        - use-conda: 'Yes'\n          skip-pyqt6: true  # No PyQt6 conda packages yet\n        - use-conda: 'No'\n          pyqt5-version: '5.15'  # Test with latest optional packages\n        - python-version: '3.7'\n          use-conda: 'Yes'\n          pyside2-version: '5.13'  # Conda needs 5.13+ to work reliably\n          pyside2-qt-version: '5.12'  # Conda only has 5.12 and 5.15, not 5.13\n          pyside6-version: '6.4'  # Conda only has 6.4 for Python <3.8\n        - python-version: '3.11'\n          use-conda: 'No'\n          pyqt-extras: 'Yes'  # Check PyQt extras\n          skip-pyside2: true  # Pyside2 wheels don't support Python 3.11+\n          pyqt6-version: '6.5'  # Test upper bound\n          pyside6-version: '6.5'  # Test upper bound\n        - os: windows-latest\n          python-version: '3.7'\n          use-conda: 'Yes'\n          pyqt5-version: '5.9'  # Test lower bound\n          skip-pyside6: true  # Test hangs with 6.4. 6.5 is not available for Python 3.7\n        - os: windows-latest\n          python-version: '3.7'\n          use-conda: 'No'\n          pyqt6-version: 6.2  # Test lower bound\n          pyside6-version: 6.2  # Test lower bound\n        - os: windows-latest\n          python-version: '3.11'\n          use-conda: 'Yes'\n          pyside6-version: 6.5  # Test upper bound\n        - os: macos-13\n          python-version: '3.11'\n          use-conda: 'No'\n          pyqt6-version: 6.5  # Test upper bound\n          pyside2-version: 5.15  # Test upper bound\n    steps:\n      - name: Check job values\n        run: |\n          echo \"---- General setup\"\n          echo \"OS:\" ${{ matrix.os }}\n          echo \"PYTHON_VERSION:\" ${{ env.PYTHON_VERSION }}\n          echo \"USE_CONDA:\" ${{ env.USE_CONDA }}\n          echo \"---- PyQt\"\n          echo \"PYQT_EXTRAS:\" ${{ env.PYQT_EXTRAS }}\n          echo \"---- PyQt5\"\n          echo \"SKIP_PYQT5:\" ${{ matrix.skip-pyqt5 }}\n          echo \"PYQT5_VERSION:\" ${{ env.PYQT5_VERSION }}\n          echo \"PYQT5_QT_VERSION:\" ${{ env.PYQT5_QT_VERSION }}\n          echo \"QSCINTILLA_VERSION:\" ${{ env.QSCINTILLA_VERSION }}\n          echo \"---- PyQt6\"\n          echo \"SKIP_PYQT6:\" ${{ matrix.skip-pyqt6 }}\n          echo \"PYQT6_VERSION:\" ${{ env.PYQT6_VERSION }}\n          echo \"PYQT6_QT_VERSION:\" ${{ env.PYQT6_QT_VERSION }}\n          echo \"---- PySide2\"\n          echo \"SKIP_PYSIDE2:\" ${{ matrix.skip-pyside2 }}\n          echo \"PYSIDE2_VERSION:\" ${{ env.PYSIDE2_VERSION }}\n          echo \"PYSIDE2_QT_VERSION:\" ${{ env.PYSIDE2_QT_VERSION }}\n          echo \"---- PySide6\"\n          echo \"SKIP_PYSIDE6:\" ${{ matrix.skip-pyside6 }}\n          echo \"PYSIDE6_VERSION:\" ${{ env.PYSIDE6_VERSION }}\n          echo \"PYSIDE6_QT_VERSION:\" ${{ env.PYSIDE6_QT_VERSION }}\n          echo \"---- Other\"\n          echo \"SKIP_PIP_CHECK:\" ${{ env.SKIP_PIP_CHECK }}\n      - name: Checkout branch\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.x'\n      - name: Install Linux system packages\n        if: contains(matrix.os, 'ubuntu')\n        shell: bash\n        run: |\n          sudo apt update\n          sudo apt install libpulse-dev libegl1-mesa libopengl0 gstreamer1.0-gl\n      - uses: tlambert03/setup-qt-libs@v1\n      - name: Install Conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n           activate-environment: ''\n           auto-activate-base: true\n           auto-update-conda: true\n           channels: conda-forge\n           channel-priority: strict\n           miniforge-variant: Mambaforge\n           use-mamba: true\n      - name: Print Conda info\n        shell: bash -l {0}\n        run: |\n          mamba info\n          mamba list\n      - name: Test PyQt5\n        if: (! matrix.skip-pyqt5)\n        run: ./.github/workflows/test.sh pyqt5\n      - name: Test PyQt6\n        if: always() && (! (matrix.skip-pyqt6))\n        run: ./.github/workflows/test.sh pyqt6\n      - name: Test PySide2\n        if: always() && (! (matrix.skip-pyside2))\n        run: ./.github/workflows/test.sh pyside2\n      - name: Test PySide6\n        if: always() && (! (matrix.skip-pyside6))\n        run: ./.github/workflows/test.sh pyside6\n      - name: Upload coverage data to coveralls.io\n        uses: coverallsapp/github-action@v2\n        with:\n          parallel: true\n          flag-name: ${{ matrix.os }} Python ${{ matrix.python-version }} conda=${{ matrix.use-conda }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          debug: true\n  finish:\n    name: Finish Coveralls\n    needs: test\n    if: ${{ always() }}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Mark Coveralls finished\n      uses: coverallsapp/github-action@v2\n      with:\n        parallel-finished: true\n", "state": "active", "repository": "spyder-ide/qtpy"}
{"mined_at": "2024-07-15T13:00:43.964219", "created_at": "2023-12-05T15:25:46+01:00", "updated_at": "2023-12-05T15:25:46+01:00", "name": "Adam Test", "path": ".github/workflows/adamtest.yml", "contents": null, "state": "active", "repository": "auth0/auth0-python"}
{"mined_at": "2024-07-15T13:00:45.177624", "created_at": "2023-01-14T02:03:08+01:00", "updated_at": "2023-08-29T19:23:02+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: CodeQL\n\non:\n  merge_group:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n  push:\n    branches:\n      - master\n  schedule:\n    - cron: \"56 12 * * 1\"\n\npermissions:\n  actions: read\n  contents: read\n  security-events: write\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}\n\njobs:\n  analyze:\n    name: Check for Vulnerabilities\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [python]\n\n    steps:\n      - if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group'\n        run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "auth0/auth0-python"}
{"mined_at": "2024-07-15T13:00:46.182041", "created_at": "2023-08-17T07:45:46+02:00", "updated_at": "2023-08-17T07:45:46+02:00", "name": "Build Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Build Documentation\n\non:\n  push:\n    branches:\n      - master\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: \"documentation\"\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Pages\n        uses: actions/configure-pages@v4\n\n      - name: Configure Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n\n      - name: Configure dependencies\n        run: |\n          pip install --user --upgrade pip\n          pip install --user pipx\n          pipx ensurepath\n          pipx install sphinx==5.3.0\n          pipx inject sphinx pyjwt cryptography sphinx-mdinclude sphinx-rtd-theme sphinx-autodoc-typehints\n\n      - name: Build documentation\n        run: |\n          sphinx-build ./docs/source ./docs/build --keep-going -n -a -b html\n\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v2\n        with:\n          path: \"./docs/build\"\n\n  deploy:\n    needs: build\n    runs-on: ubuntu-latest\n    environment:\n      name: \"github-pages\"\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    steps:\n      - id: deployment\n        name: Deploy to GitHub Pages\n        uses: actions/deploy-pages@v3\n", "state": "active", "repository": "auth0/auth0-python"}
{"mined_at": "2024-07-15T13:00:47.191925", "created_at": "2023-08-29T19:23:02+02:00", "updated_at": "2023-08-29T19:23:02+02:00", "name": "Publish Release", "path": ".github/workflows/publish.yml", "contents": "name: Publish Release\n\non:\n  workflow_dispatch:\n\n### TODO: Replace instances of './.github/actions/' with reference to the `dx-sdk-actions` repo is made public and this file is transferred over\n### TODO: Also remove `get-prerelease`, `get-version`, `release-create`, `tag-create` and `tag-exists` actions from this repo's .github/actions folder once the repo is public.\n\npermissions:\n  contents: write\n  id-token: write # Required for trusted publishing to PyPI\n\njobs:\n  publish-pypi:\n    if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))\n    name: \"PyPI\"\n    runs-on: ubuntu-latest\n    environment: release\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n          \n      # Get the version from the branch name\n      - id: get_version\n        uses: ./.github/actions/get-version\n\n      # Get the prerelease flag from the branch name\n      - id: get_prerelease\n        uses: ./.github/actions/get-prerelease\n        with:\n          version: ${{ steps.get_version.outputs.version }}\n\n      # Get the release notes\n      # This will expose the release notes as env.RELEASE_NOTES\n      - id: get_release_notes\n        uses: ./.github/actions/get-release-notes\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          version: ${{ steps.get_version.outputs.version }}\n          repo_owner: ${{ github.repository_owner }}\n          repo_name: ${{ github.event.repository.name }}\n\n      # Create a release for the tag\n      - uses: ./.github/actions/release-create\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          name: ${{ steps.get_version.outputs.version }}\n          body: ${{ steps.get_release_notes.outputs.release-notes }}\n          tag: ${{ steps.get_version.outputs.version }}\n          commit: ${{ github.sha }}\n          prerelease: ${{ steps.get_prerelease.outputs.prerelease }}\n\n      - name: Configure Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n\n      - name: Configure dependencies\n        run: |\n          pip install --user --upgrade pip\n          pip install --user pipx\n          pipx ensurepath\n          pipx install poetry==1.4.2\n          poetry config virtualenvs.in-project true\n          poetry install --with dev\n          poetry self add \"poetry-dynamic-versioning[plugin]==1.1.1\"\n\n      - name: Build release\n        run: |\n          poetry build\n\n      - name: Publish release\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "auth0/auth0-python"}
{"mined_at": "2024-07-15T13:00:48.244796", "created_at": "2022-05-27T22:44:02+02:00", "updated_at": "2023-08-15T05:17:53+02:00", "name": "Semgrep", "path": ".github/workflows/semgrep.yml", "contents": "name: Semgrep\n\non:\n  merge_group:\n  pull_request_target:\n    types:\n      - opened\n      - synchronize\n  push:\n    branches:\n      - master\n  schedule:\n    - cron: \"30 0 1,15 * *\"\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}\n\njobs:\n  authorize:\n    name: Authorize\n    environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}\n    runs-on: ubuntu-latest\n    steps:\n      - run: true\n\n  run:\n    needs: authorize # Require approval before running on forked pull requests\n\n    name: Check for Vulnerabilities\n    runs-on: ubuntu-latest\n\n    container:\n      image: returntocorp/semgrep\n\n    steps:\n      - if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group'\n        run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.\n\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha || github.ref }}\n\n      - run: semgrep ci\n        env:\n          SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}\n", "state": "active", "repository": "auth0/auth0-python"}
{"mined_at": "2024-07-15T13:00:49.305267", "created_at": "2023-08-29T19:17:59+02:00", "updated_at": "2023-08-29T19:23:02+02:00", "name": "Snyk", "path": ".github/workflows/snyk.yml", "contents": "name: Snyk\n\non:\n  merge_group:\n  pull_request_target:\n    types:\n      - opened\n      - synchronize\n  push:\n    branches:\n      - master\n  schedule:\n    - cron: \"30 0 1,15 * *\"\n\npermissions:\n  security-events: write\n  actions: read\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}\n\njobs:\n  authorize:\n    name: Authorize\n    environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}\n    runs-on: ubuntu-latest\n    steps:\n      - run: true\n\n  check:\n    needs: authorize\n\n    name: Check for Vulnerabilities\n    runs-on: ubuntu-latest\n\n    steps:\n      - if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group'\n        run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.\n\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha || github.ref }}\n\n      - uses: snyk/actions/python-3.7@b98d498629f1c368650224d6d212bf7dfa89e4bf # pin@0.4.0\n        continue-on-error: true # Make sure the SARIF upload is called\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          args: --sarif-file-output=snyk.sarif\n\n      - name: Upload result to GitHub Code Scanning\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: snyk.sarif\n", "state": "active", "repository": "auth0/auth0-python"}
{"mined_at": "2024-07-15T13:00:50.404029", "created_at": "2023-08-29T19:17:59+02:00", "updated_at": "2023-08-29T19:23:02+02:00", "name": "Build and Test", "path": ".github/workflows/test.yml", "contents": "name: Build and Test\n\non:\n  merge_group:\n  pull_request_target:\n    types:\n      - opened\n      - synchronize\n  push:\n    branches:\n      - master\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}\n\njobs:\n  authorize:\n    name: Authorize\n    environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}\n    runs-on: ubuntu-latest\n    steps:\n      - run: true\n\n  run:\n    needs: authorize # Require approval before running on forked pull requests\n\n    name: Run\n    runs-on: ubuntu-latest\n\n    env:\n      BUBBLEWRAP_ARGUMENTS: |\n        --unshare-all \\\n        --clearenv \\\n        --ro-bind / / \\\n        --bind ${{ github.workspace }} ${{ github.workspace }} \\\n        --tmpfs $HOME \\\n        --tmpfs /tmp \\\n        --tmpfs /var \\\n        --dev /dev \\\n        --proc /proc \\\n        --die-with-parent \\\n        --new-session \\\n\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha || github.ref }}\n\n      - name: Configure Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n\n      - name: Configure dependencies\n        run: |\n          sudo apt install bubblewrap\n          pip install --user --upgrade pip\n          pip install --user pipx\n          pip install --user setuptools\n          pipx ensurepath\n          pipx install poetry\n          poetry config virtualenvs.in-project true\n          poetry install --with dev\n          poetry self add \"poetry-dynamic-versioning[plugin]==1.1.1\"\n\n      - name: Run tests\n        run: |\n          poetry run pytest --cov=auth0 --cov-report=term-missing:skip-covered --cov-report=xml\n\n      # - name: Run lint\n      #   run: |\n      #     pipx install black==23.3.0\n      #     pipx install flake8==5.0.4\n      #     pipx install isort==5.11.5\n      #     pipx install pyupgrade==3.3.2\n      #     black . --check\n      #     flake8 . --count --show-source --statistics\n      #     isort .  --diff --profile black\n      #     pyupgrade .  --py37-plus --keep-runtime-typing\n\n      - if: ${{ matrix.python-version == '3.10' }}\n        name: Upload coverage\n        uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@3.1.5\n", "state": "active", "repository": "auth0/auth0-python"}
{"mined_at": "2024-07-15T13:00:51.516173", "created_at": "2023-12-05T16:00:26+01:00", "updated_at": "2023-12-05T16:00:26+01:00", "name": "Build and Test", "path": ".github/workflows/testadam.yml", "contents": null, "state": "active", "repository": "auth0/auth0-python"}
{"mined_at": "2024-07-15T13:00:53.870571", "created_at": "2023-03-23T14:44:14+01:00", "updated_at": "2023-03-23T14:44:14+01:00", "name": "Python package", "path": ".github/workflows/python.yml", "contents": "name: Python package\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.7\"\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n    services:\n      redis:\n        image: redis\n        options:\n          --health-cmd \"redis-cli ping\" --health-interval 10s --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 6379:6379\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          make develop\n      - name: Test with pytest\n        run: |\n          make testcoverage\n      - name: Coveralls\n        uses: coverallsapp/github-action@v1\n        with:\n          path-to-lcov: coverage.lcov\n", "state": "active", "repository": "addok/addok"}
{"mined_at": "2024-07-15T13:00:55.929889", "created_at": "2022-07-15T19:48:19+02:00", "updated_at": "2022-07-15T19:48:19+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  industrial_ci:\n    strategy:\n      matrix:\n        env:\n          - {ROS_DISTRO: noetic}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: 'ros-industrial/industrial_ci@master'\n        env: ${{matrix.env}}", "state": "active", "repository": "fkie/multimaster_fkie"}
{"mined_at": "2024-07-15T13:00:57.053646", "created_at": "2022-01-21T10:51:38+01:00", "updated_at": "2022-01-21T10:51:38+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "fkie/multimaster_fkie"}
{"mined_at": "2024-07-15T13:00:59.309324", "created_at": "2020-07-14T20:00:19+02:00", "updated_at": "2020-07-14T20:00:19+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [main]\n  pull_request:\n\npermissions:\n  contents: read\n\nconcurrency:\n  # yamllint disable-line rule:line-length\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  ci:\n    name: ${{ matrix.name }} py ${{ matrix.python-version }} on ${{ matrix.os }} (${{ matrix.extension }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        os:\n          - ubuntu-latest\n        extension:\n          - \"skip_cython\"\n          - \"use_cython\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        id: python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: Restore PIP cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: pip-${{ steps.python.outputs.python-version }}-${{ matrix.extension }}-${{ hashFiles('requirements.txt', 'requirements_test.txt') }}\n          restore-keys: |\n            pip-${{ steps.python.outputs.python-version }}-${{ matrix.extension }}-\n      - name: Set up Python environment (no cython)\n        if: ${{ matrix.extension == 'skip_cython' }}\n        env:\n          SKIP_CYTHON: 1\n        run: |\n          pip3 install -r requirements.txt -r requirements_test.txt\n          pip3 install -e .\n      - name: Set up Python environment (cython)\n        if: ${{ matrix.extension == 'use_cython' }}\n        env:\n          REQUIRE_CYTHON: 1\n        run: |\n          pip3 install -r requirements.txt -r requirements_test.txt\n          pip3 install -e .\n      - name: Register problem matchers\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/flake8.json\"\n          echo \"::add-matcher::.github/workflows/matchers/pylint.json\"\n          echo \"::add-matcher::.github/workflows/matchers/isort.json\"\n          echo \"::add-matcher::.github/workflows/matchers/mypy.json\"\n          echo \"::add-matcher::.github/workflows/matchers/pytest.json\"\n\n      - run: flake8 aioesphomeapi\n        name: Lint with flake8\n        if: ${{ matrix.python-version == '3.11' && matrix.extension == 'skip_cython' }}\n      - run: pylint aioesphomeapi\n        name: Lint with pylint\n        if: ${{ matrix.python-version == '3.11' && matrix.extension == 'skip_cython' }}\n      - run: black --check --diff --color aioesphomeapi tests\n        name: Check formatting with black\n        if: ${{ matrix.python-version == '3.11' && matrix.extension == 'skip_cython' }}\n      - run: isort --check --diff aioesphomeapi tests\n        name: Check import order with isort\n        if: ${{ matrix.python-version == '3.11' && matrix.extension == 'skip_cython' }}\n      - run: mypy aioesphomeapi\n        name: Check typing with mypy\n        if: ${{ matrix.python-version == '3.11' && matrix.extension == 'skip_cython' }}\n      - run: pytest -vv --cov=aioesphomeapi --cov-report=xml --tb=native tests\n        name: Run tests with pytest\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n      - run: |\n          docker run \\\n            -v \"$PWD\":/aioesphomeapi \\\n            -u \"$(id -u):$(id -g)\" \\\n            ghcr.io/esphome/aioesphomeapi-proto-builder:latest\n          if ! git diff --quiet; then\n            echo \"You have altered the generated proto files but they do not match what is expected.\"\n            echo \"Please run the following to update the generated files:\"\n            echo 'docker run -v \"$PWD\":/aioesphomeapi ghcr.io/esphome/aioesphomeapi-proto-builder:latest'\n            exit 1\n          fi\n        name: Check protobuf files match\n        if: ${{ matrix.python-version == '3.11' && matrix.extension == 'skip_cython' }}\n", "state": "active", "repository": "esphome/aioesphomeapi"}
{"mined_at": "2024-07-15T13:01:00.436038", "created_at": "2021-07-22T01:35:09+02:00", "updated_at": "2021-07-22T01:35:09+02:00", "name": "Build docker image on changes", "path": ".github/workflows/docker.yml", "contents": "name: Build docker image on changes\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - Dockerfile\n      - requirements_test.txt\n      - .github/workflows/docker.yml\n\npermissions:\n  contents: read\n  packages: write\n\nconcurrency:\n  # yamllint disable-line rule:line-length\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-image:\n    runs-on: ubuntu-latest\n    name: Build and push Docker image\n    steps:\n      -\n        name: Checkout source code\n        uses: actions/checkout@v4\n      -\n        name: Log in to docker hub\n        uses: docker/login-action@v3.2.0\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      -\n        name: Log in to the GitHub container registry\n        uses: docker/login-action@v3.2.0\n        with:\n            registry: ghcr.io\n            username: ${{ github.actor }}\n            password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v3.0.0\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3.3.0\n      -\n        name: Build and Push\n        uses: docker/build-push-action@v6.1.0\n        with:\n          context: .\n          tags: |\n            ghcr.io/esphome/aioesphomeapi-proto-builder:latest\n            esphome/aioesphomeapi-proto-builder:latest\n          push: true\n          pull: true\n          cache-to: type=inline\n          cache-from: ghcr.io/esphome/aioesphomeapi-proto-builder:latest\n          platforms: linux/amd64,linux/arm64\n", "state": "active", "repository": "esphome/aioesphomeapi"}
{"mined_at": "2024-07-15T13:01:01.561717", "created_at": "2021-06-30T17:32:34+02:00", "updated_at": "2022-09-28T19:02:50+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "\nname: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: write\n  pull-requests: read\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v6\n        id: release-draft\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      # Update version number in setup.py\n      - uses: actions/checkout@v4\n      - name: Calculate version\n        id: version\n        run: |\n          tag=\"${{ steps.release-draft.outputs.tag_name }}\"\n          echo \"version=${tag:1}\" >> $GITHUB_OUTPUT\n\n      - name: Set setup.py version\n        run: |\n          sed -i \"s/VERSION = .*/VERSION = \\\"${{ steps.version.outputs.version }}\\\"/g\" setup.py\n      # github actions email from here: https://github.community/t/github-actions-bot-email-address/17204\n      - name: Commit changes\n        run: |\n          if ! git diff --quiet; then\n            git config --global user.name \"github-actions[bot]\"\n            git config --global user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n            git commit -am \"Bump version to ${{ steps.version.outputs.version }}\"\n            git push\n          fi\n", "state": "active", "repository": "esphome/aioesphomeapi"}
{"mined_at": "2024-07-15T13:01:02.689010", "created_at": "2020-07-14T20:00:19+02:00", "updated_at": "2020-07-14T20:00:19+02:00", "name": "Publish Release", "path": ".github/workflows/release.yml", "contents": "name: Publish Release\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up QEMU\n        if: runner.os == 'Linux'\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: arm64\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_SKIP: cp36-* cp37-* cp38-* cp39-* cp310-* pp* *musllinux*\n          CIBW_BEFORE_ALL_LINUX: apt-get install -y gcc || yum install -y gcc || apk add gcc\n          CIBW_BUILD_VERBOSITY: 3\n          CIBW_ARCHS_LINUX: auto aarch64\n          REQUIRE_CYTHON: 1\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Build sdist\n        run: pipx run build --sdist\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: dist/*.tar.gz\n\n  upload_pypi:\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    environment: pypi\n    permissions:\n      id-token: write\n    if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: artifact\n          path: dist\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n", "state": "active", "repository": "esphome/aioesphomeapi"}
{"mined_at": "2024-07-15T13:01:04.942236", "created_at": "2021-03-22T20:01:11+01:00", "updated_at": "2021-03-22T20:01:11+01:00", "name": "notify", "path": ".github/workflows/notify.yml", "contents": "# This GitHub workflow will send a notification to Slack when a scheduled test\n# workflow completes.\n\n# There needs to be a GitHub secret named \"SLACK_HOOK\" that is set to the\n# incoming webhook URL for Slack. That webhook is tied to a Slack channel, so\n# this workflow does not select the channel and relies on that default.\n# Instructions to set up Slack for incoming webhooks are here:\n# https://api.slack.com/messaging/webhooks.\n\nname: notify\n\non:\n  workflow_run:\n    workflows:\n      - test\n    types:\n      - completed\n\njobs:\n\n  notify:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.event == 'schedule' }}\n    steps:\n\n    - name: Post status to Slack\n      run: |\n        run_id=$(echo \"${{ github.event.workflow_run.url }}\" | rev | cut -d '/' -f 1 | rev)\n        run_url=\"https://github.com/${{ github.repository }}/actions/runs/$run_id\"\n        branch=\"${{ github.event.workflow_run.head_branch }}\"\n        branch_url=\"https://github.com/${{ github.repository }}/commits/$branch\"\n        repo_url=\"https://github.com/${{ github.repository }}/actions/workflows/test.yml\"\n        emoji=$(if [[ \"${{ github.event.workflow_run.conclusion }}\" == \"success\" ]]; then echo \":white_check_mark:\"; else echo \":x:\"; fi)\n        json=\"{ \\\"text\\\": \\\"$emoji <$repo_url|${{ github.repository }}>: Scheduled run <$run_url|$run_id> on branch <$branch_url|$branch>: ${{ github.event.workflow_run.conclusion }}\\\" }\"\n        curl -s -d \"payload=$json\" ${{ secrets.SLACK_HOOK }}\n", "state": "active", "repository": "zhmcclient/python-zhmcclient"}
{"mined_at": "2024-07-15T13:01:06.067663", "created_at": "2022-12-03T06:29:35+01:00", "updated_at": "2024-06-18T12:13:29+02:00", "name": "publish", "path": ".github/workflows/publish.yml", "contents": "# This GitHub workflow will publish the package to Pypi and create a new stable branch when releasing the master branch.\n# For more information see:\n# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n\nname: publish\n\non:\n  push:  # When pushing a tag\n    tags:\n    - \"*\"\n    - \"!*a0\"  # Exclude initial tag for a new version\n\njobs:\n  publish:\n    name: Build and publish to PyPI\n    if: startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    steps:\n\n    #-------- Info gathering and checks\n    - name: Set pushed tag\n      id: set-tag\n      uses: actions/github-script@v7\n      with:\n        result-encoding: string\n        script: |\n          const result = \"${{ github.ref }}\".match(\"refs/tags/(.*)$\")[1]\n          console.log(result)\n          return result\n    - name: Check validity of pushed tag\n      run: |\n        if [[ ${{ steps.set-tag.outputs.result }} =~ ^[0-9]+\\.[0-9]+\\.[0-9]+$ ]]; then\n          echo \"Pushed tag '${{ steps.set-tag.outputs.result }}' is valid\";\n        else\n          echo \"Pushed tag '${{ steps.set-tag.outputs.result }}' is invalid (must be 'M.N.U')\";\n          false;\n        fi\n    - name: Determine whether releasing the master branch\n      id: set-is-master-branch\n      uses: actions/github-script@v7\n      with:\n        result-encoding: string\n        script: |\n          const resp = await github.rest.git.getRef({\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            ref: \"heads/master\",\n          })\n          const result = (resp.data.object.sha == \"${{ github.sha }}\")\n          console.log(result)\n          return result\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    - name: Determine name of stable branch for pushed tag\n      id: set-stable-branch\n      uses: actions/github-script@v7\n      with:\n        result-encoding: string\n        script: |\n          const result = \"stable_\"+\"${{ steps.set-tag.outputs.result }}\".match(\"([0-9]+\\.[0-9]+)\\.\")[1]\n          console.log(result)\n          return result\n    - name: Determine whether releasing stable branch for pushed tag\n      id: set-is-stable-branch\n      uses: actions/github-script@v7\n      with:\n        result-encoding: string\n        script: |\n          var resp\n          try {\n            resp = await github.rest.git.getRef({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              ref: \"heads/${{ steps.set-stable-branch.outputs.result }}\",\n            })\n          }\n          catch(err) {\n            console.log(\"false (stable branch does not exist: \"+err+\")\")\n            return false\n          }\n          const result = (resp.data.object.sha == \"${{ github.sha }}\")\n          console.log(result)\n          return result\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    - name: Check released commit to be master branch or stable branch for pushed tag\n      run: |\n        if [[ ${{ steps.set-is-master-branch.outputs.result }} == 'false' && ${{ steps.set-is-stable-branch.outputs.result }} == 'false' ]]; then\n          echo \"Released commit is not 'master' or '${{ steps.set-stable-branch.outputs.result }}' branch\";\n          false;\n        fi\n    - name: Set update version\n      id: set-update-version\n      uses: actions/github-script@v7\n      with:\n        result-encoding: string\n        script: |\n          const result = \"${{ steps.set-tag.outputs.result }}\".match(\"[0-9]+\\.[0-9]+\\.([0-9]+)\")[1]\n          console.log(result)\n          return result\n    - name: Check update version to be 0 when releasing master branch\n      if: ${{ steps.set-is-master-branch.outputs.result == 'true' }}\n      run: |\n        if [[ ${{ steps.set-update-version.outputs.result }} != '0' ]]; then\n          echo \"Update version '${{ steps.set-update-version.outputs.result }}' in tag '${{ steps.set-tag.outputs.result }}' is invalid (must be 0 when releasing master branch)\";\n          false;\n        fi\n    - name: Check update version to be non-0 when releasing stable branch for pushed tag\n      if: ${{ steps.set-is-stable-branch.outputs.result == 'true' }}\n      run: |\n        if [[ ${{ steps.set-update-version.outputs.result }} == '0' ]]; then\n          echo \"Update version '${{ steps.set-update-version.outputs.result }}' in tag '${{ steps.set-tag.outputs.result }}' is invalid (must be non-0 when releasing stable branch for pushed tag)\";\n          false;\n        fi\n\n    #-------- Setup of work environment\n    - name: Checkout repo\n      uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Development setup\n      run: |\n        make develop\n\n    #-------- Publishing of package\n    - name: Build the distribution\n      run: |\n        make build\n    - name: Display the distribution directory\n      run: |\n        ls -l dist\n    # - name: Publish distribution to TestPyPI\n    #   uses: pypa/gh-action-pypi-publish@release/v1\n    #   with:\n    #     packages_dir: dist\n    #     password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n    #     repository_url: https://test.pypi.org/legacy/\n    - name: Publish distribution to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        packages_dir: dist\n        password: ${{ secrets.PYPI_API_TOKEN }}\n\n    #-------- Creation of Github release\n    - name: Determine whether release on Github exists for the pushed tag\n      id: set-release-exists\n      uses: octokit/request-action@v2.x\n      with:\n        route: GET /repos/${{ github.repository }}/releases/tags/${{ steps.set-tag.outputs.result }}\n      continue-on-error: true\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    - name: Create release on Github for the pushed tag if it does not exist\n      if: ${{ steps.set-release-exists.outputs.status == 404 }}\n      uses: octokit/request-action@v2.x\n      with:\n        route: POST /repos/${{ github.repository }}/releases\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        INPUT_TAG_NAME: ${{ steps.set-tag.outputs.result }}\n        INPUT_NAME: \"Release ${{ steps.set-tag.outputs.result }}\"\n        INPUT_BODY: \"Change log https://python-zhmcclient.readthedocs.io/en/${{ steps.set-tag.outputs.result }}/changes.html\"\n\n    #-------- Creation of stable branch\n    # Note: This requires that in the branch protection rules for stable_*,\n    #       the \"Restrict pushes that create matching branches\" checkmark is\n    #       not set.\n    - name: Create new stable branch when releasing master branch\n      if: steps.set-is-master-branch.outputs.result == 'true'\n      uses: actions/github-script@v7\n      with:\n        script: |\n          github.rest.git.createRef({\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            ref: \"refs/heads/${{ steps.set-stable-branch.outputs.result }}\",\n            sha: \"${{ github.sha }}\",\n          })\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "zhmcclient/python-zhmcclient"}
{"mined_at": "2024-07-15T13:01:07.181819", "created_at": "2020-11-22T05:57:10+01:00", "updated_at": "2020-11-22T05:57:10+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "# This GitHub workflow will setup and run various kinds of tests with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: test\n\non:\n  schedule:\n    # The schedule event always (and only) runs on the master branch.\n    - # cron (in UTC): minute hour day_of_month month day_of_week\n      cron: '00 22 * * SAT'\n  pull_request:  # When creating a PR targeting these branches\n    branches:\n    - master\n    - stable_*\n  push:  # When merging a PR targeting these branches (direct push is disabled)\n    branches:\n    - master\n    - stable_*\n\njobs:\n\n  set_matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.select_matrix.outputs.matrix }}\n    steps:\n    - name: \"Select matrix\"\n      id: select_matrix\n      # Select full matrix when scheduled or when releasing, and normal matrix\n      # otherwise. The matrix is defined as a JSON string.\n      # This technique documented in:\n      #    https://stackoverflow.com/questions/65384420/how-to-make-a-github-action-matrix-element-conditional\n      # TODO: Find a way to define this with less escapes.\n      run: |\n        if [[ \"${{ github.event_name }}\" == \"schedule\" || \"${{ github.head_ref }}\" =~ ^release_ ]]; then \\\n          echo \"matrix={ \\\n            \\\"os\\\": [ \\\"ubuntu-latest\\\", \\\"macos-latest\\\", \\\"windows-latest\\\" ], \\\n            \\\"python-version\\\": [ \\\"3.8\\\", \\\"3.9\\\", \\\"3.10\\\", \\\"3.11\\\", \\\"3.12\\\" ], \\\n            \\\"package_level\\\": [ \\\"minimum\\\", \\\"latest\\\" ] \\\n          }\" >> $GITHUB_OUTPUT; \\\n        else \\\n          echo \"matrix={ \\\n            \\\"os\\\": [ \\\"ubuntu-latest\\\" ], \\\n            \\\"python-version\\\": [ \\\"3.12\\\" ], \\\n            \\\"package_level\\\": [ \\\"minimum\\\", \\\"latest\\\" ], \\\n            \\\"include\\\": [ \\\n              { \\\n                \\\"os\\\": \\\"ubuntu-latest\\\", \\\n                \\\"python-version\\\": \\\"3.8\\\", \\\n                \\\"package_level\\\": \\\"minimum\\\" \\\n              }, \\\n              { \\\n                \\\"os\\\": \\\"ubuntu-latest\\\", \\\n                \\\"python-version\\\": \\\"3.9\\\", \\\n                \\\"package_level\\\": \\\"latest\\\" \\\n              }, \\\n              { \\\n                \\\"os\\\": \\\"macos-latest\\\", \\\n                \\\"python-version\\\": \\\"3.8\\\", \\\n                \\\"package_level\\\": \\\"latest\\\" \\\n              }, \\\n              { \\\n                \\\"os\\\": \\\"macos-latest\\\", \\\n                \\\"python-version\\\": \\\"3.12\\\", \\\n                \\\"package_level\\\": \\\"minimum\\\" \\\n              }, \\\n              { \\\n                \\\"os\\\": \\\"windows-latest\\\", \\\n                \\\"python-version\\\": \\\"3.8\\\", \\\n                \\\"package_level\\\": \\\"minimum\\\" \\\n              }, \\\n              { \\\n                \\\"os\\\": \\\"windows-latest\\\", \\\n                \\\"python-version\\\": \\\"3.12\\\", \\\n                \\\"package_level\\\": \\\"latest\\\" \\\n              } \\\n            ] \\\n          }\" >> $GITHUB_OUTPUT; \\\n        fi\n    - name: Show matrix in JSON\n      run: echo '${{ steps.select_matrix.outputs.matrix }}'\n\n  test:\n    needs: set_matrix\n    strategy:\n      fail-fast: false\n      max-parallel: 20\n      matrix: ${{ fromJson(needs.set_matrix.outputs.matrix) }}\n    runs-on: ${{ matrix.os }}\n    container: ${{ matrix.container }}\n    env:\n      PIP_DISABLE_PIP_VERSION_CHECK: 1\n      PIP_NO_PYTHON_VERSION_WARNING: 1\n    steps:\n    - name: Set run type (normal, scheduled, release)\n      id: set-run-type\n      uses: actions/github-script@v7\n      with:\n        result-encoding: string\n        script: |\n          var result\n          if (\"${{ github.event_name }}\" == \"schedule\") {\n            result = \"scheduled\"\n          } else if (\"${{ github.head_ref }}\".match(/^release_/)) {\n            result = \"release\"\n          } else {\n            result = \"normal\"\n          }\n          console.log(result)\n          return result\n    - name: Checkout repo\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Make sure this change adds or changes at least one change fragment file\n      run: |\n        bash -c \"! git diff --exit-code origin/${{ github.base_ref }} changes/*.rst >/dev/null || (echo 'Please add or modify a change fragment file in the changes directory - for details read the Making a change section in the docs'; exit 1)\"\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Display initial Python packages\n      run: |\n        echo \"Installed Python packages:\"\n        pip list\n    - name: Display platform and env vars\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make platform env\n    - name: Install the package and its dependents\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make install\n    - name: Show installed package versions\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        echo \"Installed Python packages:\"\n        pip list\n    - name: Development setup\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make develop\n    - name: Show installed package versions\n      run: |\n        echo \"Installed Python packages:\"\n        pip list\n    - name: Show package dependency tree\n      run: |\n        echo \"Package dependency tree of installed Python packages:\"\n        python -m pipdeptree --all\n    - name: Run build\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make build\n    - name: Run builddoc\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make builddoc\n    - name: Run check\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make check\n    - name: Run ruff\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make ruff\n    - name: Run pylint\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make pylint\n    - name: Run unit test\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n        # TESTCASES: test_cim_obj.py\n      run: |\n        make test\n    - name: Run end2end_mocked test\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n        # TESTCASES: test_cim_obj.py\n      run: |\n        make end2end_mocked\n    - name: Send coverage result to coveralls.io\n      shell: bash -l {0}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_PARALLEL: true\n        COVERALLS_FLAG_NAME: \"${{ matrix.os }},${{ matrix.python-version }},${{ matrix.package_level }}\"\n        COVERALLS_SERVICE_NAME: github\n        COVERALLS_SERVICE_JOB_ID: \"${{ github.run_id }}\"\n        COVERALLS_SERVICE_NUMBER: \"${{ github.workflow }}-${{ github.run_number }}\"\n      run: |\n        coveralls\n    - name: Run installtest\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make installtest\n    - name: Run debuginfo\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make debuginfo\n    - name: Run check_reqs\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make check_reqs\n    - name: Run safety\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make safety\n    - name: Run bandit\n      env:\n        PACKAGE_LEVEL: ${{ matrix.package_level }}\n        RUN_TYPE: ${{ steps.set-run-type.outputs.result }}\n      run: |\n        make bandit\n\n  test_finish:\n    needs: test\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n    - name: Install coveralls\n      run: |\n        pip3 install --upgrade coveralls\n    - name: Send coverage finish to coveralls.io\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NUMBER: \"${{ github.workflow }}-${{ github.run_number }}\"\n      run: |\n        coveralls --finish\n", "state": "active", "repository": "zhmcclient/python-zhmcclient"}
{"mined_at": "2024-07-15T13:01:08.192258", "created_at": "2023-11-28T03:46:48+01:00", "updated_at": "2023-11-28T03:46:48+01:00", "name": "test", "path": ".github/workflows/tests390.yml", "contents": null, "state": "active", "repository": "zhmcclient/python-zhmcclient"}
{"mined_at": "2024-07-15T13:01:10.368534", "created_at": "2021-04-07T01:44:37+02:00", "updated_at": "2021-04-07T03:06:32+02:00", "name": "Release Containers", "path": ".github/workflows/release-containers.yml", "contents": "name: Release Containers\n\non:\n  push:\n    tags: [ 'v*' ]\n\n\njobs:\n  release-containers:\n    name: Build and Push\n    runs-on: ubuntu-latest\n    steps:\n\n    - uses: actions/checkout@v2\n\n    - name: Login to ghcr.io Docker registry\n      uses: docker/login-action@v1\n      with:\n        registry: ghcr.io\n        username: ${{ github.repository_owner }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Compute Docker container image addresses\n      run: |\n        DOCKER_REPOSITORY=\"ghcr.io/${GITHUB_REPOSITORY,,}\"\n        DOCKER_TAG=\"${GITHUB_REF:11}\"\n        echo \"DOCKER_REPOSITORY=${DOCKER_REPOSITORY}\" >> $GITHUB_ENV\n        echo \"DOCKER_TAG=${DOCKER_TAG}\" >> $GITHUB_ENV\n        echo \"Using: ${DOCKER_REPOSITORY}/*:${DOCKER_TAG}\"\n\n    - name: 'Pull latest existing Docker container image: server'\n      run: docker pull \"${DOCKER_REPOSITORY}/server:latest\" || true\n\n    - name: 'Pull latest existing Docker container image: client'\n      run: docker pull \"${DOCKER_REPOSITORY}/client:latest\" || true\n\n    - name: 'Build Docker container image: server'\n      run: |\n        docker build \\\n            --cache-from \"${DOCKER_REPOSITORY}/server:latest\" \\\n            --tag \"${DOCKER_REPOSITORY}/server:latest\" \\\n            --tag \"${DOCKER_REPOSITORY}/server:${DOCKER_TAG}\" \\\n            ./src/server\n\n    - name: Push Docker container image server:latest\"\n      run: docker push \"${DOCKER_REPOSITORY}/server:latest\"\n\n    - name: Push Docker container image server:v*\"\n      run: docker push \"${DOCKER_REPOSITORY}/server:${DOCKER_TAG}\"\n\n    - name: 'Build Docker container image: client'\n      run: |\n        docker build \\\n            --cache-from \"${DOCKER_REPOSITORY}/client:latest\" \\\n            --tag \"${DOCKER_REPOSITORY}/client:latest\" \\\n            --tag \"${DOCKER_REPOSITORY}/client:${DOCKER_TAG}\" \\\n            ./src/client\n\n    - name: Push Docker container image client:latest\"\n      run: docker push \"${DOCKER_REPOSITORY}/client:latest\"\n\n    - name: Push Docker container image client:v*\"\n      run: docker push \"${DOCKER_REPOSITORY}/client:${DOCKER_TAG}\"", "state": "active", "repository": "codeforphilly/paws-data-pipeline"}
{"mined_at": "2024-07-15T13:01:12.507832", "created_at": "2020-08-23T12:00:20+02:00", "updated_at": "2020-08-23T12:00:20+02:00", "name": "Python linting", "path": ".github/workflows/linting.yml", "contents": "name: Python linting\n\non: [push, workflow_dispatch]\n\njobs:\n  check-formatting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - name: Install pipenv\n      run: |\n        python -m pip install --upgrade pip\n        pip install pipenv\n    # Cache the venv between runs. Duplicated from testing.yaml\n    - name: Cache virtualenv\n      id: cache-venv\n      uses: actions/cache@v3\n      env:\n        CACHE_NAME: CACHE_VIRTUALENV\n      with:\n        path: .venv\n        # The cache action does not as of now (Oct. 2020) support clearing the cache.\n        # If the cache becomes stale for any reason one can clear it by changing\n        # the value of the secret `PIPENV_CACHE_VERSION` in the repository settings\n        key: >\n          cache_version_${{ secrets.PIPENV_CACHE_VERSION}}-${{ runner.os }}-${{ env.CACHE_NAME }}-python${{ matrix.python_version }}-${{ hashFiles('Pipfile.lock') }}\n        # Fallbacks to partially restore cache\n        restore-keys: |\n          cache_version_${{ secrets.PIPENV_CACHE_VERSION}}-${{ runner.os }}-${{ env.CACHE_NAME }}-python${{ matrix.python_version }}-\n\n    - name: Install dependencies\n      if: steps.cache-venv.outputs.cache-hit != 'true'\n      run: |\n        # Use copies instead of symlinks to be more portable\n        python -m venv --copies .venv\n        # Install dependencies into the newly created venv\n        pipenv install --deploy --dev\n\n    - name: Check for serious errors with flake8\n      run: pipenv run make check-fatal\n    - name: Check formatting with black and isort\n      run: pipenv run make check-formatting\n\n  report-linting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pylint bandit\n\n    - name: Report linting errors with flake8\n      run: make report-flake8\n\n    - name: Report linting errors with pylint\n      run: make report-pylint\n\n    - name: Report security audit with bandit\n      run: make report-bandit\n", "state": "active", "repository": "nabla-ntnu/nablaweb"}
{"mined_at": "2024-07-15T13:01:13.647210", "created_at": "2020-08-23T12:21:20+02:00", "updated_at": "2020-08-23T12:21:20+02:00", "name": "Python testing", "path": ".github/workflows/testing.yml", "contents": "name: Python testing\n\non: [push, workflow_dispatch]\n\njobs:\n  test:\n    env:\n      # Have the venv be in the project folder so it is easier to cache\n      PIPENV_VENV_IN_PROJECT: true\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macOS-latest]\n        python_version: [3.9]\n    defaults:\n      run:\n        shell: bash\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python_version }}\n    - name: Install pipenv\n      run: |\n        python -m pip install --upgrade pip\n        pip install pipenv\n    # Cache the venv between runs. Duplicated from linting.yaml\n    - name: Cache virtualenv\n      id: cache-venv\n      uses: actions/cache@v3\n      env:\n        CACHE_NAME: CACHE_VIRTUALENV\n      with:\n        path: .venv\n        # The cache action does not as of now (Oct. 2020) support clearing the cache.\n        # If the cache becomes stale for any reason one can clear it by changing\n        # the value of the secret `PIPENV_CACHE_VERSION` in the repository settings\n        key: >\n          cache_version_${{ secrets.PIPENV_CACHE_VERSION}}-${{ runner.os }}-${{ env.CACHE_NAME }}-python${{ matrix.python_version }}-${{ hashFiles('Pipfile.lock') }}\n        # Fallbacks to partially restore cache\n        restore-keys: |\n          cache_version_${{ secrets.PIPENV_CACHE_VERSION}}-${{ runner.os }}-${{ env.CACHE_NAME }}-python${{ matrix.python_version }}-\n\n    - name: Install dependencies\n      if: steps.cache-venv.outputs.cache-hit != 'true'\n      run: |\n        # Use copies instead of symlinks to be more portable\n        python -m venv --copies .venv\n        # Install dependencies into the newly created venv\n        pipenv install --deploy --dev\n\n    - name: Allow reading and writing PDFs (linux only)\n      # Edit imagemagick's policy file to allow reading and writing PDFs\n      # This is needed to create Nablad instances, which is done during testing\n      # Also install ghostscript, which imagemagick uses to read/write PDFs\n      if: runner.os == 'Linux'\n      run: |\n        configure_path=$(convert -list configure | sed -n -e 's/CONFIGURE_PATH[[:space:]]*//p' || true)\n        temp_file=\"$(sudo mktemp)\"\n\n        # sed -i is a gnu extension. Beware\n        sudo sed -i -e 's/<policy domain=\"coder\" rights=\".*\" pattern=\"PDF\" \\/>/<policy domain=\"coder\" rights=\"read | write\" pattern=\"PDF\" \\/>/w '\"$temp_file\" \"$configure_path/policy.xml\"\n        if [ ! -s \"$temp_file\" ]; then\n          echo 'Failed to edit policy file to allow reading/writing PDFs!'\n          echo 'Below are the contents of `policy.xml`'\n          echo 'For PDF processing to work it should be edited to have a line like:'\n          echo '  \"<policy domain=\"coder\" rights=\"read | write\" pattern=\"PDF\" \\/>\"'\n          echo\n          cat \"$configure_path/policy.xml\"\n          exit 1\n        fi\n        sudo apt-get update\n        sudo apt-get install ghostscript\n\n    - name: Exclude tests that need ImageMagick (non-linux)\n      # ImageMagick does not come pre-installed on mac- and windows runners, so we skip\n      # tests that need it on those hosts. This is done by excluding a specific test tag,\n      # which is set on the test that needs ImageMagick\n      if: runner.os != 'Linux'\n      run: |\n        echo 'exclude_tag=needs_imagemagick' >> $GITHUB_ENV\n\n    - name: Run tests\n      # Tests are run in parallel, which may cause issues if the tests aren't propertly isolated\n      run: |\n        pipenv run python manage.py test --parallel --exclude-tag=\"$exclude_tag\"\n", "state": "active", "repository": "nabla-ntnu/nablaweb"}
{"mined_at": "2024-07-15T13:01:14.757401", "created_at": "2023-01-24T16:24:44+01:00", "updated_at": "2023-01-24T16:24:44+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "nabla-ntnu/nablaweb"}
{"mined_at": "2024-07-15T13:01:17.128906", "created_at": "2022-05-06T19:55:14+02:00", "updated_at": "2022-05-06T19:55:14+02:00", "name": "Benchmark Bot", "path": ".github/workflows/benchmark-bot.yml", "contents": "# from https://github.com/pandas-dev/pandas/blob/d42a148cd83e06b5e5ef1fb6424e337d5b5efaa5/.github/workflows/asv-bot.yml\nname: \"Benchmark Bot\"\n\non:\n  issue_comment: # Pull requests are also issues\n    types:\n      - created\n\nenv:\n  COMMENT: ${{github.event.comment.body}}\n\njobs:\n  benchmarks:\n    name: \"Run benchmarks\"\n    if: startsWith(github.event.comment.body, '@benchmark')\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    concurrency:\n      # Set concurrency to prevent abuse(full runs are ~5.5 hours !!!)\n      # each user can only run one concurrent benchmark bot at a time\n      # We don't cancel in progress jobs, but if you want to benchmark multiple PRs,\n      # you're gonna have to wait\n      group: ${{ github.actor }}-benchmarks\n      cancel-in-progress: false\n\n    steps:\n      - name: Install hub\n        run: sudo apt-get install -y hub\n\n      - name: Setup git\n        uses: actions/checkout@v3\n\n      # Since this was triggered by a comment, not a PR,\n      # the `actions/checkout` action will pull\n      # the default branch (AKA main). We need to checkout the PR branch.\n      # From https://github.com/actions/checkout/issues/331#issuecomment-925405415\n      - name: Checkout Pull Request\n        run: |\n          \n          hub pr checkout ${{ github.event.issue.number }}\n          echo \"Checked out SHA:\"\n          git log -1 --format='%H'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install .\n\n      - name: Run benchmarks\n        id: bench\n        continue-on-error: true # This is a fake failure, asv will exit code 1 for regressions\n        run: |\n          # extracting the regex, see https://stackoverflow.com/a/36798723\n          REGEX=$(echo \"$COMMENT\" | sed -n \"s/^@benchmark\\s\\+-b\\s*\\(\\S*\\).*$/\\1/p\")\n          if [ -z \"$REGEX\" ]; then\n            BENCHMARKS=\"\"\n          else\n            BENCHMARKS=\"-b $REGEX\"\n          fi\n          cd benchmarks\n          asv check -E existing\n          git remote add upstream https://github.com/dedupeio/dedupe.git\n          git fetch upstream\n          asv machine --yes\n          asv continuous --show-stderr -f 1.1 $BENCHMARKS upstream/main HEAD | cat\n          echo 'BENCH_OUTPUT<<EOF' >> $GITHUB_ENV\n          asv compare -f 1.1 upstream/main HEAD | python ../.github/scripts/asv_markdown.py >> $GITHUB_ENV\n          echo 'EOF' >> $GITHUB_ENV\n          echo \"REGEX=$REGEX\" >> $GITHUB_ENV\n\n      - name: Add comment with results\n        uses: actions/github-script@v6\n        env:\n          BENCH_OUTPUT: ${{env.BENCH_OUTPUT}}\n          REGEX: ${{env.REGEX}}\n        with:\n          script: |\n            const ENV_VARS = process.env\n            const run_url = `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: ENV_VARS[\"BENCH_OUTPUT\"] + '\\n\\n[(logs)](' + run_url + ')'\n            })\n", "state": "active", "repository": "dedupeio/dedupe"}
{"mined_at": "2024-07-15T13:01:18.255261", "created_at": "2022-03-29T19:38:52+02:00", "updated_at": "2022-03-29T19:38:52+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '17 21 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "dedupeio/dedupe"}
{"mined_at": "2024-07-15T13:01:19.349464", "created_at": "2022-02-08T01:44:30+01:00", "updated_at": "2022-02-08T01:47:13+01:00", "name": "Lock Threads", "path": ".github/workflows/lock.yml", "contents": "name: 'Lock Threads'\n\non:\n  schedule:\n    - cron: '0 0 1/7 * *'\n  workflow_dispatch:\n\npermissions:\n  issues: write\n\nconcurrency:\n  group: lock\n\njobs:\n  action:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v5\n        with:\n          process-only: 'issues'\n          issue-inactive-days: '14'\n          log-output: true\n", "state": "active", "repository": "dedupeio/dedupe"}
{"mined_at": "2024-07-15T13:01:20.387909", "created_at": "2020-01-08T05:26:10+01:00", "updated_at": "2022-06-10T14:45:49+02:00", "name": "tests", "path": ".github/workflows/pythonpackage.yml", "contents": "name: tests\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install .\n          pip install -r requirements.txt\n      - name: flake8\n        run: flake8 dedupe tests benchmarks/benchmarks\n      - name: isort\n        if: always()\n        run: isort --check-only .\n      - name: black\n        if: always()\n        run: black . --check\n      - name: mypy\n        if: always()\n        run: mypy\n  test:\n    timeout-minutes: 40\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, macos-latest, ubuntu-latest]\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install -e .\n    - name: Install test dependencies\n      run: pip install -r requirements.txt\n    - name: pytest\n      run: pytest\n    - name: Code Coverage\n      uses: codecov/codecov-action@v3\n      env:\n        OS: ${{ matrix.os }}\n        PYTHON: '3.7'\n      with:\n        env_vars: OS,PYTHON\n    - name: Integration tests\n      # Do everything twice: The first time is training and generates settings,\n      # the second time it tests using a static settings file.\n      run: |\n        python -m pip install ./benchmarks\n        python benchmarks/benchmarks/canonical.py\n        python benchmarks/benchmarks/canonical.py\n        python benchmarks/benchmarks/canonical_matching.py\n        python benchmarks/benchmarks/canonical_matching.py\n        python benchmarks/benchmarks/canonical_gazetteer.py\n        python benchmarks/benchmarks/canonical_gazetteer.py\n  settings_file_persists:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout main\n        uses: actions/checkout@v2\n        with:\n          ref: main\n      - uses: actions/setup-python@v2\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install .\n          python -m pip install ./benchmarks\n      - name: Run on canonical on main\n        run: python benchmarks/benchmarks/canonical.py\n      - name: checkout this PR branch\n        uses: actions/checkout@v2\n        with:\n          clean: false\n      - name: Install any new dependencies\n        run: pip install .\n      - name: Run on canonical with setting file created on main\n        run: python benchmarks/benchmarks/canonical.py      \n  wheels:\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n    needs: [test, lint, settings_file_persists]\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest, macos-latest, ubuntu-latest]\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.16.2\n        env:\n          CIBW_ARCHS_MACOS: x86_64 arm64 universal2\n      - name: Build sdist\n        run: |\n          pip install build\n          python -m build --sdist\n      - name: Publish wheels to PyPI\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          pip install twine\n          twine upload --skip-existing wheelhouse/*.whl\n          twine upload dist/*\n        continue-on-error: true\n", "state": "active", "repository": "dedupeio/dedupe"}
{"mined_at": "2024-07-15T13:01:22.650258", "created_at": "2021-07-01T15:47:06+02:00", "updated_at": "2021-07-01T15:47:06+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '43 5 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "pika/pika"}
{"mined_at": "2024-07-15T13:01:23.751415", "created_at": "2022-06-29T23:42:26+02:00", "updated_at": "2022-06-30T01:40:30+02:00", "name": "pika", "path": ".github/workflows/main.yaml", "contents": "﻿name: pika\n\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request:\n    branches:\n      - main\n      - 1.3.x\n\njobs:\n  build-win32:\n    name: build/test on windows-latest\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [ 3.8, 3.9, '3.10', '3.11'] # TODO add 3.12\n        test-tls: [true, false]\n    env:\n      PIKA_TEST_TLS: ${{ matrix.test-tls }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: test-requirements.txt\n      - name: Cache installers\n        uses: actions/cache@v4\n        with:\n          # Note: the cache path is relative to the workspace directory\n          # https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#using-the-cache-action\n          path: ~/installers\n          key: ${{ runner.os }}-v0-${{ hashFiles('testdata/versions.json') }}\n      - name: Install and start RabbitMQ\n        run: ./testdata/install.ps1\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel\n          pip install -r test-requirements.txt\n      - name: Test with nose2\n        run: |\n          nose2 -v\n  build:\n    name: build/test on ubuntu-latest\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ 3.8, 3.9, '3.10', '3.11'] # TODO add 3.12\n    services:\n      rabbitmq:\n        image: rabbitmq\n        ports:\n          - 5672:5672\n          - 5671:5671\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: test-requirements.txt\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel\n          pip install -r test-requirements.txt\n      - name: Test with nose2\n        run: |\n          nose2 -v\n", "state": "active", "repository": "pika/pika"}
{"mined_at": "2024-07-15T13:01:24.756672", "created_at": "2022-06-30T01:28:33+02:00", "updated_at": "2022-06-30T01:45:19+02:00", "name": "publish-prerelease", "path": ".github/workflows/publish-prerelease.yaml", "contents": "name: publish-prerelease\n\non:\n  release:\n    types:\n      - prereleased\n\njobs:\n  call-publish-pypi:\n    uses: ./.github/workflows/publish-pypi.yaml\n    with:\n      pypi_repository_url: https://test.pypi.org/legacy/\n    secrets:\n      pypi_api_token: ${{ secrets.TEST_PYPI_API_TOKEN }}\n", "state": "active", "repository": "pika/pika"}
{"mined_at": "2024-07-15T13:01:25.837644", "created_at": "2022-06-30T01:40:30+02:00", "updated_at": "2022-06-30T01:40:30+02:00", "name": "publish-pypi", "path": ".github/workflows/publish-pypi.yaml", "contents": "name: publish-pypi\n\non:\n  workflow_call:\n    inputs:\n      pypi_repository_url:\n        required: true\n        type: string\n    secrets:\n      pypi_api_token:\n        required: true\n\njobs:\n  publish-pypi:\n    name: Publish distribution 📦s to PyPI/TestPyPI\n    runs-on: ubuntu-latest\n    steps:\n        - uses: actions/checkout@v3\n        - uses: actions/setup-python@v4\n          with:\n            python-version: '3.11'\n        - name: Install pypa/build\n          run: python -m pip install build twine --upgrade --user\n        - name: Build a binary wheel and a source tarball\n          run: python -m build --sdist --wheel --outdir dist/ .\n        - name: Check with twine\n          run: twine check dist/*\n        - name: Publish distribution 📦 to PyPI\n          uses: pypa/gh-action-pypi-publish@release/v1\n          with:\n            password: ${{ secrets.pypi_api_token }}\n            repository_url: ${{ inputs.pypi_repository_url }}\n", "state": "active", "repository": "pika/pika"}
{"mined_at": "2024-07-15T13:01:26.956924", "created_at": "2022-06-30T01:40:30+02:00", "updated_at": "2022-06-30T01:40:30+02:00", "name": "publish-release", "path": ".github/workflows/publish-release.yaml", "contents": "name: publish-release\n\non:\n  release:\n    types:\n      - released\n\njobs:\n  call-publish-pypi:\n    uses: ./.github/workflows/publish-pypi.yaml\n    with:\n      pypi_repository_url: https://upload.pypi.org/legacy/\n    secrets:\n      pypi_api_token: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "pika/pika"}
{"mined_at": "2024-07-15T13:01:29.071400", "created_at": "2021-02-27T23:19:54+01:00", "updated_at": "2023-12-03T09:07:46+01:00", "name": "build and test", "path": ".github/workflows/build.yml", "contents": "name: build and test\n\non: [push, pull_request]\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest]\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }} environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n      - name: Run local websockets echo server on port ${{ env.LOCAL_WS_SERVER_PORT }} (code is for Python 3.7+)\n        run: |\n          pip3 install -U websockets asyncio\n          python3 websocket/tests/echo-server.py &\n      - name: Install build tools and print setuptools version\n        run: |\n          pip3 install -U pip setuptools wheel readme_renderer twine pytest python-socks build\n          python3 -c \"import setuptools; print('Setup tools version'); print(setuptools.__version__)\"\n      - name: Run tests\n        run: |\n          pytest websocket/tests -v -r f\n        env:\n          TEST_WITH_INTERNET: 1\n          LOCAL_WS_SERVER_PORT: 8765\n      - name: Build websocket-client and check with twine\n        run: |\n          python -m build\n          twine check dist/*\n", "state": "active", "repository": "websocket-client/websocket-client"}
{"mined_at": "2024-07-15T13:01:30.212233", "created_at": "2021-02-27T23:19:54+01:00", "updated_at": "2021-03-23T01:10:45+01:00", "name": "Code Coverage", "path": ".github/workflows/codecoverage.yml", "contents": "name: Code Coverage\n\non: [push, pull_request]\n\njobs:\n  code-coverage:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }} environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Run local websockets echo server on port ${{ env.LOCAL_WS_SERVER_PORT }}\n        run: |\n          pip3 install -U websockets asyncio\n          python3 websocket/tests/echo-server.py &\n      - name: Run test cases without internet or option dependencies to verify no offline test failures and verify optional dependencies are optional\n        run: |\n          pip3 install coverage pytest pytest-cov setuptools\n          python3 -c \"import setuptools; print('Setup tools version'); print(setuptools.__version__)\"\n          pip3 install -e .\n          pytest -v -r f --cov=websocket websocket/tests --cov-config=.coveragerc\n          coverage report\n      - name: Install wsaccel and python-socks, then run all test cases for coverage collection\n        run: |\n          pip3 install wsaccel python-socks\n          pytest -v -r f --cov=websocket websocket/tests --cov-config=.coveragerc --cov-append\n          coverage report\n        env:\n          TEST_WITH_INTERNET: 1\n          LOCAL_WS_SERVER_PORT: 8765\n      - name: Run SSL test with extra environment variable and create report\n        run: |\n          ls $WEBSOCKET_CLIENT_CA_BUNDLE\n          python3 -c \"import ssl; print(ssl.get_default_verify_paths().capath)\"\n          pytest -v -r f --cov=websocket websocket/tests --cov-config=.coveragerc --cov-append -k \"testSSLopt\"\n          coverage report -m\n        env:\n          TEST_WITH_INTERNET: 1\n          LOCAL_WS_SERVER_PORT: 8765\n          WEBSOCKET_CLIENT_CA_BUNDLE: \"/usr/lib/ssl/certs\"\n      - name: Run SSL test with extra environment variable and create report\n        run: |\n          python3 -c \"import ssl; print(ssl.get_default_verify_paths().capath)\"\n          pytest -v -r f --cov=websocket websocket/tests --cov-config=.coveragerc --cov-append -k \"testSSLopt\"\n          coverage xml\n        env:\n          TEST_WITH_INTERNET: 1\n          LOCAL_WS_SERVER_PORT: 8765\n          WEBSOCKET_CLIENT_CA_BUNDLE: \"/usr/lib/ssl/certs/Baltimore_CyberTrust_Root.pem\"\n      - name: Submit code coverage report to Codecov.io\n        uses: codecov/codecov-action@v4\n", "state": "active", "repository": "websocket-client/websocket-client"}
{"mined_at": "2024-07-15T13:01:31.293457", "created_at": "2022-08-25T11:03:56+02:00", "updated_at": "2022-08-25T11:03:56+02:00", "name": "Run doctest on Sphinx docs", "path": ".github/workflows/doctest.yml", "contents": "name: Run doctest on Sphinx docs\n\non: [push, pull_request]\n\njobs:\n  run-doctest:\n    runs-on: ubuntu-latest\n    name: doctest check\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }} environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Run pytest with doctest args\n        run: |\n          pip3 install pytest 'websocket-client[docs]' rel\n          pytest ./docs/source -v --doctest-glob=\"*.rst\" --doctest-modules\n", "state": "active", "repository": "websocket-client/websocket-client"}
{"mined_at": "2024-07-15T13:01:32.378880", "created_at": "2023-12-03T09:07:46+01:00", "updated_at": "2023-12-03T09:07:46+01:00", "name": "Linting with black", "path": ".github/workflows/lint-black.yml", "contents": "name: Linting with black\n\non: [push, pull_request]\n\njobs:\n  black-lint:\n    runs-on: ubuntu-latest\n    name: black linting\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@v4\n      - name: Run black linting\n        uses: psf/black@stable\n        with:\n          options: \"--check\"\n          src: \".\"\n", "state": "active", "repository": "websocket-client/websocket-client"}
{"mined_at": "2024-07-15T13:01:33.397936", "created_at": "2023-12-03T09:07:46+01:00", "updated_at": "2023-12-03T09:07:46+01:00", "name": "Linting with flake8", "path": ".github/workflows/lint-flake8.yml", "contents": "name: Linting with flake8\n\non: [push, pull_request]\n\njobs:\n  flake8-lint:\n    runs-on: ubuntu-latest\n    name: flake8 linting\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }} environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Perform mandatory flake8 linting\n        run: |\n          pip3 install flake8\n          flake8 --version\n          flake8 . --show-source --statistics --count --ignore E231,E241,E501,E722,E741,F401,F403,F405,W503,W504\n\n      - name: Perform optional exit-zero flake8 linting\n        run: |\n          flake8 . --exit-zero --statistics --count\n", "state": "active", "repository": "websocket-client/websocket-client"}
{"mined_at": "2024-07-15T13:01:34.504457", "created_at": "2021-02-27T23:19:54+01:00", "updated_at": "2021-02-27T23:19:54+01:00", "name": "Linting with flake8", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "websocket-client/websocket-client"}
{"mined_at": "2024-07-15T13:01:36.555938", "created_at": "2020-12-11T23:15:18+01:00", "updated_at": "2021-08-27T21:03:55+02:00", "name": "Tests", "path": ".github/workflows/actions.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n  release:\n    types: [created]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: Test the code with tf.keras\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python -m pip install --upgrade pip setuptools\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: pip cache\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n      - name: Install dependencies\n        run: |\n          pip install -e \".[tests]\" --progress-bar off --upgrade\n          pip install tensorflow-cpu==2.14.0\n          pip install jax[cpu]\n      - name: Test with pytest\n        run: |\n          pytest --cov=keras_tuner --cov-report xml:coverage.xml\n      - name: Codecov\n        uses: codecov/codecov-action@v3\n  multibackend:\n    name: Test the code with Keras Core\n    strategy:\n      fail-fast: false\n      matrix:\n        backend: [tensorflow, jax, torch]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python -m pip install --upgrade pip setuptools\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: pip cache\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n      - name: Install dependencies\n        run: |\n          pip install -e \".[tests]\" --progress-bar off --upgrade\n          pip install torch>=2.0.1+cpu --progress-bar off\n          pip install jax[cpu] --progress-bar off\n          pip uninstall keras -y\n          pip install tensorflow==2.16.0rc0\n      - name: Test with pytest\n        env:\n          KERAS_BACKEND: ${{ matrix.backend }}\n        run: |\n          pytest --cov=keras_tuner --cov-report xml:coverage.xml\n      - name: Codecov\n        uses: codecov/codecov-action@v3\n  format:\n    name: Check the code format\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python -m pip install --upgrade pip setuptools\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: pip cache\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n      - name: Install dependencies\n        run: |\n          pip install -e \".[tensorflow-cpu,tests]\" --progress-bar off --upgrade\n      - name: Lint\n        run: bash shell/lint.sh\n  guides:\n    name: Run the keras.io guides\n    if: github.event_name == 'release' && github.event.action == 'created'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python -m pip install --upgrade pip setuptools\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: pip cache\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n      - name: Install dependencies\n        run: |\n          pip install -e \".[tensorflow-cpu,tests]\" --progress-bar off --upgrade\n      - name: Run the guides\n        run: bash shell/run_guides.sh\n  deploy:\n    needs: [build, format,multibackend]\n    if: github.event_name == 'release' && github.event.action == 'created'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        python -m pip install --upgrade pip setuptools\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel twine\n        pip install -e \".[build]\" --progress-bar off --upgrade\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python pip_build.py\n    - name: Publish distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_PASSWORD  }}", "state": "active", "repository": "keras-team/keras-tuner"}
{"mined_at": "2024-07-15T13:01:37.607549", "created_at": "2023-03-02T01:51:18+01:00", "updated_at": "2023-03-02T18:09:50+01:00", "name": "Integration tests using keras.io guides", "path": ".github/workflows/integration_tests.yml", "contents": "name: Integration tests using keras.io guides\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  guides:\n    name: Run tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python -m pip install --upgrade pip setuptools\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: pip cache\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n      - name: Install dependencies\n        run: |\n          pip install -e \".[tensorflow-cpu,tests]\" --progress-bar off --upgrade\n          pip install jax[cpu] --progress-bar off --upgrade\n          pip install tensorflow==2.16.0rc0\n      - name: Run the guides\n        run: bash shell/run_guides.sh\n", "state": "active", "repository": "keras-team/keras-tuner"}
{"mined_at": "2024-07-15T13:01:38.642604", "created_at": "2023-08-10T00:33:47+02:00", "updated_at": "2023-08-10T00:33:47+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "keras-team/keras-tuner"}
{"mined_at": "2024-07-15T13:01:40.783833", "created_at": "2020-10-01T16:21:51+02:00", "updated_at": "2022-12-05T15:31:50+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '43 23 * * 6'\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4.1.6\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "pypa/twine"}
{"mined_at": "2024-07-15T13:01:41.787853", "created_at": "2020-06-11T00:42:18+02:00", "updated_at": "2021-06-13T00:09:06+02:00", "name": "Main", "path": ".github/workflows/main.yml", "contents": "name: Main\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\" # daily\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: \"1\"\n  TOX_TESTENV_PASSENV: \"FORCE_COLOR\"\n  MIN_PYTHON_VERSION: \"3.8\"\n  DEFAULT_PYTHON_VERSION: \"3.10\"\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n      - name: Install dependencies\n        run: python -m pip install tox\n      - name: Run linting\n        run: python -m tox -e lint\n\n  test:\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        platform:\n          - ubuntu-latest\n          - macos-latest\n          - windows-latest\n    runs-on: ${{ matrix.platform }}\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: python -m pip install tox\n      - name: Run type-checking\n        run: python -m tox -e types\n      - name: Run tests\n        run: python -m tox -e py\n\n  # Because the tests can be flaky, they shouldn't be required for merge, but\n  # it's still helpful to run them on PRs. See:\n  # https://github.com/pypa/twine/issues/684#issuecomment-703150619\n  integration:\n    # Only run on Ubuntu because most of the tests are skipped on Windows\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.MIN_PYTHON_VERSION }}\n      - name: Install dependencies\n        run: python -m pip install tox\n      - name: Run tests\n        run: python -m tox -e integration\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.MIN_PYTHON_VERSION }}\n      - name: Install dependencies\n        run: python -m pip install tox\n      - name: Build docs\n        run: python -m tox -e docs\n\n  # https://github.com/marketplace/actions/alls-green#why\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n      - lint\n      - test\n      - integration\n      - docs\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        allowed-failures: integration  # can be flaky\n        jobs: ${{ toJSON(needs) }}\n\n  release:\n    needs:\n      - check\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.MIN_PYTHON_VERSION }}\n      - name: Install dependencies\n        run: python -m pip install tox\n      - name: Release\n        run: tox -e release\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "pypa/twine"}
{"mined_at": "2024-07-15T13:01:43.035069", "created_at": "2024-02-11T14:41:09+01:00", "updated_at": "2024-02-11T14:41:09+01:00", "name": "Publish to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Publish to PyPI\n\non:\n  push:\n    tags:\n      - \"*\"\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: \"Build dists\"\n    runs-on: \"ubuntu-latest\"\n    environment:\n      name: \"publish\"\n    outputs:\n      hashes: ${{ steps.hash.outputs.hashes }}\n\n    steps:\n      - name: \"Checkout repository\"\n        uses: \"actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29\"\n\n      - name: \"Setup Python\"\n        uses: \"actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\"\n        with:\n          python-version: \"3.x\"\n\n      - name: \"Install dependencies\"\n        run: python -m pip install build\n\n      - name: \"Build dists\"\n        run: |\n          SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) \\\n          python -m build\n\n      - name: \"Generate hashes\"\n        id: hash\n        run: |\n          cd dist && echo \"hashes=$(sha256sum * | base64 -w0)\" >> $GITHUB_OUTPUT\n\n      - name: \"Upload dists\"\n        uses: \"actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808\"\n        with:\n          name: \"dist\"\n          path: \"dist/\"\n          if-no-files-found: error\n          retention-days: 5\n\n  provenance:\n    needs: [build]\n    permissions:\n      actions: read\n      contents: write\n      id-token: write # Needed to access the workflow's OIDC identity.\n    uses: \"slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0\"\n    with:\n      base64-subjects: \"${{ needs.build.outputs.hashes }}\"\n      upload-assets: true\n      compile-generator: true # Workaround for https://github.com/slsa-framework/slsa-github-generator/issues/1163\n\n  publish:\n    name: \"Publish to PyPI\"\n    if: startsWith(github.ref, 'refs/tags/')\n    needs: [\"build\", \"provenance\"]\n    permissions:\n      contents: write\n      id-token: write\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n    - name: \"Download dists\"\n      uses: \"actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e\"\n      with:\n        name: \"dist\"\n        path: \"dist/\"\n\n    - name: \"Publish dists to PyPI\"\n      uses: \"pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450\"\n", "state": "active", "repository": "pypa/twine"}
{"mined_at": "2024-07-15T13:01:45.045264", "created_at": "2020-05-07T22:45:27+02:00", "updated_at": "2020-05-07T22:45:27+02:00", "name": "Exercises check", "path": ".github/workflows/ci-workflow.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Exercises check\n\non:\n  push:\n    branches:\n      - master\n      - main\n  pull_request:\n\njobs:\n  housekeeping:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n\n    - name: Set up Python\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n      with:\n        python-version: 3.11.2\n\n    - name: Download & Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 requests\n        git clone https://github.com/exercism/problem-specifications .problem-specifications\n        pip install -r requirements-generator.txt\n\n    # - name: Check readmes\n    #   run: |\n    #     ./bin/check-readmes.sh\n\n    - name: Generate tests\n      run: |\n       bin/generate_tests.py --verbose -p .problem-specifications --check\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name:  Test template status\n      continue-on-error: true\n      run: |\n        ./bin/template_status.py -v -p .problem-specifications\n\n  canonical_sync:\n    runs-on: ubuntu-22.04\n    needs: housekeeping\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9, 3.10.6, 3.11.2]\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n\n    - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dataclasses package\n      if: ${{ matrix.python-version == '3.6' }}\n      run: pip install dataclasses\n\n    - name: Install pytest\n      run: pip install pytest~=7.2.2\n\n    - name: Check exercises\n      run: |\n        ./bin/test_exercises.py\n", "state": "active", "repository": "exercism/python"}
{"mined_at": "2024-07-15T13:01:46.209732", "created_at": "2021-01-29T15:50:20+01:00", "updated_at": "2022-12-05T16:14:49+01:00", "name": "Configlet", "path": ".github/workflows/configlet.yml", "contents": "name: Configlet\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  configlet:\n    uses: exercism/github-actions/.github/workflows/configlet.yml@main\n", "state": "active", "repository": "exercism/python"}
{"mined_at": "2024-07-15T13:01:47.437895", "created_at": "2021-10-22T23:05:54+02:00", "updated_at": "2022-11-28T23:22:54+01:00", "name": "Issue Commenter", "path": ".github/workflows/issue-commenter.yml", "contents": "name: \"Issue Commenter\"\non:\n  issues:\n    types: [opened]\n\njobs:\n  comment-on-new-issue:\n    runs-on: ubuntu-22.04\n    name: Comments for every NEW issue.\n    steps:\n      - name: Checkout\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n\n      - name: Read issue-comment.md\n        id: issue-comment\n        uses: juliangruber/read-file-action@b549046febe0fe86f8cb4f93c24e284433f9ab58\n        with:\n          path: .github/issue-comment.md\n\n      - name: Base comment\n        uses: jd-0001/gh-action-comment-on-new-issue@c443e1151cc69b146fd6918cc983ec1bd27ab254\n        with:\n          message: \"${{ steps.issue-comment.outputs.content }}\"\n          ignore-label: \":anger: prickle\"\n", "state": "disabled_manually", "repository": "exercism/python"}
{"mined_at": "2024-07-15T13:01:48.544113", "created_at": "2024-01-25T15:00:33+01:00", "updated_at": "2024-01-25T15:09:28+01:00", "name": "No important files changed", "path": ".github/workflows/no-important-files-changed.yml", "contents": "name: No important files changed\n\non:\n  pull_request_target:\n    types: [opened]\n    branches: [main]\n    paths:\n      - \"exercises/concept/**\"\n      - \"exercises/practice/**\"\n      - \"!exercises/*/*/.approaches/**\"\n      - \"!exercises/*/*/.articles/**\"\n      - \"!exercises/*/*/.docs/**\"\n      - \"!exercises/*/*/.meta/**\"\n\npermissions:\n  pull-requests: write\n\njobs:\n  check:\n    uses: exercism/github-actions/.github/workflows/check-no-important-files-changed.yml@main\n    with:\n      repository: ${{ github.event.pull_request.head.repo.owner.login }}/${{ github.event.pull_request.head.repo.name }}\n      ref: ${{ github.head_ref }}\n", "state": "active", "repository": "exercism/python"}
{"mined_at": "2024-07-15T13:01:49.604167", "created_at": "2022-11-26T04:16:24+01:00", "updated_at": "2023-05-18T18:22:45+02:00", "name": "Pause Community Contributions", "path": ".github/workflows/pause-community-contributions.yml", "contents": "name: Pause Community Contributions\n\non:\n  issues:\n    types:\n      - opened\n  pull_request_target:\n    types:\n      - opened\n    paths-ignore:\n      - 'exercises/*/*/.approaches/**'\n      - 'exercises/*/*/.articles/**'\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  pause:\n    if: github.repository_owner == 'exercism' # Stops this job from running on forks\n    uses: exercism/github-actions/.github/workflows/community-contributions.yml@main\n    with:\n      forum_category: python\n    secrets:\n      github_membership_token: ${{ secrets.COMMUNITY_CONTRIBUTIONS_WORKFLOW_TOKEN }}\n", "state": "active", "repository": "exercism/python"}
{"mined_at": "2024-07-15T13:01:50.624940", "created_at": "2021-10-30T22:59:30+02:00", "updated_at": "2022-11-28T23:23:02+01:00", "name": "PR Commenter", "path": ".github/workflows/pr-commenter.yml", "contents": "name: \"PR Commenter\"\non:\n  - pull_request_target\n\njobs:\n  pr-comment:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: exercism/pr-commenter-action@085ef62d2a541a112c3ade1d24deea83665ea186\n        with:\n          github-token: \"${{ github.token }}\"\n          config-file: \".github/pr-commenter.yml\"", "state": "disabled_manually", "repository": "exercism/python"}
{"mined_at": "2024-07-15T13:01:51.642047", "created_at": "2020-11-30T19:03:55+01:00", "updated_at": "2022-11-21T11:41:19+01:00", "name": "Close stale issues", "path": ".github/workflows/stale.yml", "contents": "name: \"Close stale issues\"\n\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          days-before-stale: 21\n          days-before-close: 7\n\n          # Milestones on an issue or a PR exempted from being marked as stale.\n          exempt-milestones: true\n          # Exempt all issues with milestones from being marked as stale.\n          exempt-all-issue-milestones: true\n\n          # Only check issues and PRs with these labels\n          any-of-labels: \"x:status/claimed,claimed 🐾,dependencies,do not merge 🚧,duplicate,experimental 🔬,\n            first-timers only 🐣,github_actions,good first issue,good first patch,hacktoberfest 🍁,\n            hacktoberfest-accepted ☑,in-progress 🌿,invalid,python,security 🚨, wip/content-checking  ☑,\n            wip/proof-reading 👀,wip/story-writing  ✍,wip/style-guideline-checking 📐,spam 🚫,status/draft,\n            status/wontfix  🙅🏽\"\n          stale-issue-label: abandoned 🏚\n          stale-issue-message: >\n            This issue has been automatically marked as `abandoned 🏚`\n            because it has not had recent activity. It will be closed if no\n            further activity occurs. Thank you\n            for your contributions.\n          close-issue-message: >\n            Closing stale issue. If this issue is still relevant,\n            please reopen it.\n          stale-pr-label: 'abandoned 🏚'\n          stale-pr-message: >\n            This pull request has been automatically marked as `abandoned 🏚`\n            because it has not had recent activity. It will be closed if no\n            further activity occurs. Thank you for your contributions.\n          close-pr-message: >\n            Closing stale pull request. If you are still working on this,\n            please reopen this pull request.\n", "state": "disabled_manually", "repository": "exercism/python"}
{"mined_at": "2024-07-15T13:01:52.708801", "created_at": "2021-06-04T17:45:12+02:00", "updated_at": "2021-06-15T02:52:36+02:00", "name": "Tools", "path": ".github/workflows/sync-labels.yml", "contents": "name: Tools\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - .github/labels.yml\n      - .github/workflows/sync-labels.yml\n  workflow_dispatch:\n  schedule:\n    - cron: 0 0 1 * * # First day of each month\n\npermissions:\n  issues: write\n\njobs:\n  sync-labels:\n    uses: exercism/github-actions/.github/workflows/labels.yml@main\n", "state": "active", "repository": "exercism/python"}
{"mined_at": "2024-07-15T13:01:53.731819", "created_at": "2021-02-04T22:16:18+01:00", "updated_at": "2021-02-04T22:16:18+01:00", "name": "Test Runner", "path": ".github/workflows/test-runner.yml", "contents": "name: Test Runner\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  test-runner:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n      - name: Run test-runner\n        run: docker-compose run test-runner\n", "state": "active", "repository": "exercism/python"}
{"mined_at": "2024-07-15T13:01:55.835455", "created_at": "2021-04-03T21:10:07+02:00", "updated_at": "2024-06-14T14:34:33+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\nenv:\n  ACTIONS_RUNNER_DEBUG: true\n  ACTIONS_STEP_DEBUG: true\n  NIPAPD_IMAGE: nipap/nipapd\n  WWW_IMAGE: nipap/nipap-www\n\njobs:\n  test:\n\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        install: [ pip, apt ]\n        upgrade: [ true, false ]\n        exclude:\n          - install: pip\n            upgrade: true\n      fail-fast: false\n\n    steps:\n    - name: \"Check out NIPAP repository\"\n      uses: actions/checkout@v2\n\n    - name: \"Install dependencies and prepare NIPAP\"\n      run: |\n        # Set up NIPAP repo\n        echo \"deb http://spritelink.github.io/NIPAP/repos/apt testing main extra\" | sudo tee /etc/apt/sources.list.d/nipap.list\n        wget -O - https://spritelink.github.io/NIPAP/nipap.gpg.key | sudo apt-key add -\n        sudo apt update -qq\n\n        # Install dependencies for build and test\n        sudo apt install -y \\\n          devscripts \\\n          fakeroot \\\n          debhelper \\\n          dh-python \\\n          junit4 \\\n          libldap-dev \\\n          libsasl2-dev \\\n          python3-docutils \\\n          python3-nose \\\n          python3-requests \\\n          python3-setuptools \\\n          python3-wheel \\\n          python3-all \\\n          default-jdk \\\n          gradle \\\n          rename \\\n          postgresql-14-ip4r\n\n        sudo service postgresql start\n        pg_isready\n\n        sed -e 's/username = guest/username = unittest/' -e 's/password = guest/password = gottatest/' nipap-cli/nipaprc > ~/.nipaprc\n        chmod 0600 ~/.nipaprc\n\n        # Set up CA and generate SSL cert\n        mkdir /tmp/ca\n        openssl genrsa -out /tmp/ca/ca.key 2048\n        openssl req -new -x509 -key /tmp/ca/ca.key -out /tmp/ca/ca.crt -subj '/C=SE/O=NIPAP Test CA'\n        sudo cp /tmp/ca/ca.crt /usr/local/share/ca-certificates/\n        sudo update-ca-certificates\n        openssl genrsa -out /tmp/ca/test.key 2048\n        openssl req -new -key /tmp/ca/test.key -out /tmp/ca/test.csr -subj \"/CN=127.0.0.1\"\n        openssl x509 -req -in /tmp/ca/test.csr -CA /tmp/ca/ca.crt -CAkey /tmp/ca/ca.key -CAcreateserial -out /tmp/ca/test.crt\n        cat /tmp/ca/test.crt /tmp/ca/test.crt > /tmp/ca/test.bundle.crt\n        sudo chmod -R a+r /tmp/ca\n\n    - name: \"Install using pip\"\n      if: ${{ matrix.install == 'pip' }}\n      run: |\n        # install nipap dependencies\n        sudo -H pip3 install -r nipap/requirements.txt\n        # SQL\n        sudo su -c \"cd nipap/sql; PGPASSWORD=papin make install\" postgres\n        # move configuration file into place\n        sudo mkdir /etc/nipap\n        sudo cp nipap/nipap.conf.dist /etc/nipap/nipap.conf\n        sudo sed -e \"s/{{LISTEN_ADDRESS}}/127.0.0.1/\" -e \"s/{{LISTEN_PORT}}/1337/\" -e \"s/#ssl_port.\\+$/ssl_port = 1338/\" -e \"s/#ssl_cert_file.\\+$/ssl_cert_file = \\/tmp\\/ca\\/test.bundle.crt/\" -e \"s/#ssl_key_file.\\+$/ssl_key_file = \\/tmp\\/ca\\/test.key/\" -e \"s/{{DB_USERNAME}}/nipap/\" -e \"s/{{DB_NAME}}/nipap/\" -e \"s/{{DB_PASSWORD}}/papin/\" -e \"s/{{DB_SSLMODE}}/require/\" -e \"s/{{DB_PORT}}/5432/\" -e \"s/{{DB_HOST}}/localhost/\" -e \"s/{{SYSLOG}}/true/\" -i /etc/nipap/nipap.conf\n        # create local user for unittest\n        sudo nipap/nipap-passwd create-database\n        sudo nipap/nipap-passwd add -u unittest -p gottatest -n unittest\n        sudo nipap/nipap-passwd add -u readonly -p gottatest --readonly -n \"Read-only user for running unit tests\"\n        # install pynipap\n        cd pynipap; sudo python3 setup.py install; cd ..\n        # install nipap-cli dependencies\n        sudo -H pip3 install -r nipap-cli/requirements.txt\n        # start nipap backend\n        nipap/nipapd --no-pid-file -c /etc/nipap/nipap.conf -df 2>&1 > /tmp/nipap.log &\n\n    - name: \"Install latest release from apt\"\n      if: ${{ matrix.install == 'apt' && matrix.upgrade == true }}\n      run: |\n        # Install NIPAP packages from official repo\n        sudo apt install -qq nipapd nipap-www nipap-cli\n        # populate answers to nipapd package install questions and reconfigure\n        echo 'set nipapd/database_host localhost' | sudo debconf-communicate\n        echo 'set nipapd/local_db_autoconf true' | sudo debconf-communicate\n        echo 'set nipapd/startup true' | sudo debconf-communicate\n        echo 'set nipapd/local_db_upgrade true' | sudo debconf-communicate\n        sudo dpkg-reconfigure nipapd\n        # Enable SSL\n        sudo sed -e \"s/#ssl_port.\\+$/ssl_port = 1338/\" -e \"s/#ssl_cert_file.\\+$/ssl_cert_file = \\/tmp\\/ca\\/test.bundle.crt/\" -e \"s/#ssl_key_file.\\+$/ssl_key_file = \\/tmp\\/ca\\/test.key/\" -i /etc/nipap/nipap.conf\n        # create local user for unittest and restart\n        sudo nipap-passwd add -u unittest -p gottatest -f /etc/nipap/local_auth.db -n unittest\n        sudo systemctl restart nipapd.service\n        # add some data to the database that we can verify later\n        nosetests3 tests/upgrade-before.py\n        # bump version so that we know we are upgrading beyond what is installed\n        (echo -e 'Version 9999.9.9\\n------------------\\n * Test version for automatic upgrade test'; cat NEWS) > NEWS2\n        mv NEWS2 NEWS\n        make bumpversion\n\n    - name: \"Build and install Debian packages\"\n      if: ${{ matrix.install == 'apt' }}\n      run: |\n        # build new NIPAP packages\n        make builddeb\n        # install the newly built nipap packages\n        sudo apt install -o Dpkg::Options::=\"--force-confnew\" ./nipap*.deb ./python*-pynipap*.deb\n        # populate answers to nipapd package install questions and reconfigure\n        echo 'set nipapd/database_host localhost' | sudo debconf-communicate\n        echo 'set nipapd/local_db_autoconf true' | sudo debconf-communicate\n        echo 'set nipapd/startup true' | sudo debconf-communicate\n        echo 'set nipapd/local_db_upgrade true' | sudo debconf-communicate\n        sudo dpkg-reconfigure nipapd\n        # Enable SSL\n        if [ `grep -c ssl_port /etc/nipap/nipap.conf` -eq 0 ]; then \\\n          # No SSL config in file - add from scratch\n          sudo sed '/^port *=.*/a ssl_port = 1338\\nssl_cert_file = \\/tmp\\/ca\\/test.bundle.crt\\nssl_key_file = \\/tmp\\/ca\\/test.key' -i /etc/nipap/nipap.conf; \\\n        else \\\n          sudo sed -e \"s/#ssl_port.\\+$/ssl_port = 1338/\" -e \"s/#ssl_cert_file.\\+$/ssl_cert_file = \\/tmp\\/ca\\/test.bundle.crt/\" -e \"s/#ssl_key_file.\\+$/ssl_key_file = \\/tmp\\/ca\\/test.key/\" -i /etc/nipap/nipap.conf; \\\n        fi\n        # create local user for unittests\n        sudo nipap/nipap-passwd add -u unittest -p gottatest -f /etc/nipap/local_auth.db -n \"User for running unit tests\"\n        sudo nipap/nipap-passwd add -u readonly -p gottatest -f /etc/nipap/local_auth.db --readonly -n \"Read-only user for running unit tests\"\n        sudo sed -e \"s/^db_host *=.*/db_host = localhost/\" -e \"s/{{SYSLOG}}/true/\" -e \"s/^debug.\\+/debug = true/\" -e \"s/^user/#user/\" -i /etc/nipap/nipap.conf\n        sudo systemctl restart nipapd.service\n\n    - name: \"Verify pre-upgrade data\"\n      if: ${{ matrix.upgrade == true }}\n      run: nosetests3 tests/upgrade-after.py\n\n    - name: \"Run test suite\"\n      env:\n        REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt\n      run: |\n        nosetests3 tests/test_xmlrpc.py\n        nosetests3 tests/nipaptest.py\n        nosetests3 tests/test_cli.py\n        nosetests3 tests/test_nipap_ro.py\n        nosetests3 tests/test_rest.py\n        make -C jnipap test\n\n    - name: \"Accident analysis\"\n      if: failure()\n      run: |\n        sudo cat /etc/nipap/nipap.conf || true\n        sudo cat /var/log/syslog || true\n        sudo cat /var/log/postgresql/postgresql-*-main.log || true\n        sudo cat /tmp/nipap.log || true\n\n  docker:\n    name: docker\n    runs-on: ubuntu-22.04\n    steps:\n\n    - name: \"Set up QEMU\"\n      uses: docker/setup-qemu-action@v3\n\n    - name: \"Set up Docker Buildx\"\n      uses: docker/setup-buildx-action@v3\n\n    - name: \"Check out NIPAP repository\"\n      uses: actions/checkout@v2\n\n    - name: \"Hadolint nipapd\"\n      uses: hadolint/hadolint-action@v3.1.0\n      with:\n        Dockerfile: Dockerfile.nipapd\n\n    - name: \"Hadolint WWW\"\n      uses: hadolint/hadolint-action@v3.1.0\n      with:\n        Dockerfile: Dockerfile.www\n\n    - name: \"nipapd metadata\"\n      id: nipapd_meta\n      uses: docker/metadata-action@v5\n      with:\n        images: ${{ env.NIPAPD_IMAGE }}\n        tags: |\n          type=sha,prefix=\n\n    - name: \"Build nipapd Docker image\"\n      uses: docker/build-push-action@v5\n      with:\n        context: .\n        file: ./Dockerfile.nipapd\n        load: true\n        tags: |\n          ${{ env.NIPAPD_IMAGE }}:ci\n          ${{ steps.nipapd_meta.outputs.tags }}\n        push: false\n\n    - name: \"www metadata\"\n      id: www_meta\n      uses: docker/metadata-action@v5\n      with:\n        images: ${{ env.WWW_IMAGE }}\n        tags: |\n          type=sha,prefix=\n\n    - name: \"Build www Docker image\"\n      uses: docker/build-push-action@v5\n      with:\n        context: .\n        file: ./Dockerfile.www\n        load: true\n        tags: |\n          ${{ env.WWW_IMAGE }}:ci\n          ${{ steps.www_meta.outputs.tags }}\n        push: false\n\n    - name: \"Setup Docker test\"\n      run: |\n        # Install dependencies\n        sudo apt install -y \\\n          libldap-dev \\\n          libsasl2-dev \\\n          python3-wheel \\\n          python3-nose \\\n          python3-requests \\\n          postgresql-14-ip4r\n\n        sudo -H pip3 install -r nipap/requirements.txt # needed to run test suite\n\n        # Set up PostgreSQL\n        sudo service postgresql start\n        pg_isready\n        sudo su -c \"cd nipap/sql; PGPASSWORD=papin make install\" postgres\n\n        # Start nipapd container\n        docker run --rm --network=host -d --name=nipapd_ci -e DB_HOST=127.0.0.1 -e DB_USERNAME=nipap -e DB_PASSWORD=papin ${{ env.NIPAPD_IMAGE }}:ci\n        sleep 10\n        docker logs nipapd_ci\n\n        # Set up for test\n        sudo mkdir -p /etc/nipap\n        sudo docker cp nipapd_ci:/etc/nipap/nipap.conf /etc/nipap/\n        sudo docker cp nipapd_ci:/etc/nipap/local_auth.db /etc/nipap/\n        docker exec -t nipapd_ci nipap-passwd add -u unittest -p gottatest -n unittest\n        docker exec -t nipapd_ci nipap-passwd add -u readonly -p gottatest --readonly -n \"Read-only user for running unit tests\"\n\n    - name: \"Run docker tests\"\n      run: |\n        # Run tests\n        nosetests3 tests/test_xmlrpc.py\n        nosetests3 tests/nipaptest.py\n        nosetests3 tests/test_nipap_ro.py\n        nosetests3 tests/test_rest.py\n\n    - name: \"Login to Docker Hub\"\n      if: ${{ github.ref_name == 'master' }}\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n    - name: \"Build and push nipapd Docker image\"\n      if: ${{ github.ref_name == 'master' }}\n      uses: docker/build-push-action@v5\n      with:\n        context: .\n        file: ./Dockerfile.nipapd\n        load: true\n        tags: ${{ steps.nipapd_meta.outputs.tags }}\n        push: true\n\n    - name: \"Build and push www Docker image\"\n      if: ${{ github.ref_name == 'master' }}\n      uses: docker/build-push-action@v5\n      with:\n        context: .\n        file: ./Dockerfile.www\n        load: true\n        tags: ${{ steps.www_meta.outputs.tags }}\n        push: true\n", "state": "active", "repository": "spritelink/nipap"}
{"mined_at": "2024-07-15T13:01:56.940501", "created_at": "2022-11-09T21:49:52+01:00", "updated_at": "2022-11-09T21:49:52+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "spritelink/nipap"}
{"mined_at": "2024-07-15T13:01:59.104247", "created_at": "2020-11-23T15:02:38+01:00", "updated_at": "2022-06-26T23:31:01+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": null, "state": "active", "repository": "pykeen/pykeen"}
{"mined_at": "2024-07-15T13:02:00.290573", "created_at": "2022-05-31T20:22:40+02:00", "updated_at": "2022-06-01T12:01:37+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n  workflow_dispatch:\n  pull_request:\n    types: [auto_merge_enabled]\n\njobs:\n  lint:\n    name: Lint\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.8\", \"3.11\" ]\n    steps:\n      - uses: actions/checkout@v4\n      \n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          # cache dependencies, cf. https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows\n          cache: 'pip'\n          cache-dependency-path: './setup.cfg'\n      \n      - name: Install dependencies\n        run: pip install tox\n\n      - name: Check package metadata with Pyroma\n        run: tox -e pyroma\n      \n      - name: Check docstring coverage\n        run: tox -e docstr-coverage\n\n      - name: Check static typing with MyPy\n        run: tox -e mypy\n\n      - name: Check manifest\n        run: tox -e manifest\n\n      - name: Check code quality with flake8\n        run: tox -e flake8\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "pykeen/pykeen"}
{"mined_at": "2024-07-15T13:02:01.376686", "created_at": "2022-05-31T20:32:01+02:00", "updated_at": "2022-05-31T20:32:01+02:00", "name": "Common", "path": ".github/workflows/common.yml", "contents": "name: Common\n\non:\n  push:\n    branches:\n      - master\n  workflow_dispatch:\n  pull_request:\n    types: [review_requested, ready_for_review, auto_merge_enabled]\n\njobs:\n  docs:\n    name: Documentation\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # no need to check documentation wit multiple python versions\n        python-version: [ \"3.11\" ]\n    steps:\n      - uses: actions/checkout@v4\n      \n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          # cache dependencies, cf. https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows\n          cache: 'pip'\n          cache-dependency-path: './setup.cfg'\n      \n      - name: Install dependencies\n        run: pip install tox\n\n      - name: Check RST conformity with doc8\n        run: tox -e doc8\n      \n      # - name: Check RST format\n      #   run: tox -e doclint\n\n      - name: Check README.rst\n        run: tox -e readme\n\n      - name: Check documentation build with Sphinx\n        run: |\n          sudo apt-get install graphviz\n          tox -e docs-test\n  tests:\n    name: Tests\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [ \"3.8\", \"3.11\" ]\n        # cannot use macos-latest for now, cf.\n        # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners\n        # cannot use Python 3.8\n        # cannot use M1 at all, since PyG does not provide M1 packages...\n        # include:\n        #   - os: macos-14\n        #     python-version: \"3.11\"\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      \n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          # cache dependencies, cf. https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows\n          cache: 'pip'\n          cache-dependency-path: './setup.cfg'\n      \n      - name: Install dependencies\n        run: pip install tox\n      \n      - name: Run fast tests\n        run: tox -e py\n      \n      - name: Run slow tests\n        run: tox -e integration\n      \n      - name: Run doctests\n        run: tox -e doctests\n      \n      # - name: Test notebooks\n      #   run: tox -e treon\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "pykeen/pykeen"}
{"mined_at": "2024-07-15T13:02:02.394817", "created_at": "2022-06-01T12:01:37+02:00", "updated_at": "2022-06-01T12:01:37+02:00", "name": "Welcome", "path": ".github/workflows/pr_welcome.yml", "contents": "name: Welcome\n\non:\n  pull_request:\n    types:\n      - opened\n    branches:\n      - master\n\njobs:\n  welcome:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/first-interaction@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          pr-message: |-\n            Congrats on making your first Pull Request and thanks for taking the time to improve PyKEEN! ❤️! 🎉\n  \n", "state": "active", "repository": "pykeen/pykeen"}
{"mined_at": "2024-07-15T13:02:04.436726", "created_at": "2020-11-16T04:11:32+01:00", "updated_at": "2021-02-14T00:34:28+01:00", "name": "tests", "path": ".github/workflows/main.yml", "contents": "name: tests\n\non:\n  merge_group:\n  push:\n    branches-ignore:\n    # temporary GH branches relating to merge queues (jaraco/skeleton#93)\n    - gh-readonly-queue/**\n    tags:\n    # required if branches-ignore is supplied (jaraco/skeleton#103)\n    - '**'\n  pull_request:\n\npermissions:\n  contents: read\n\nenv:\n  # Environment variable to support color support (jaraco/skeleton#66)\n  FORCE_COLOR: 1\n\n  # Suppress noisy pip warnings\n  PIP_DISABLE_PIP_VERSION_CHECK: 'true'\n  PIP_NO_PYTHON_VERSION_WARNING: 'true'\n  PIP_NO_WARN_SCRIPT_LOCATION: 'true'\n\n  # Ensure tests can sense settings about the environment\n  TOX_OVERRIDE: >-\n    testenv.pass_env+=GITHUB_*,FORCE_COLOR\n\n\njobs:\n  test:\n    strategy:\n      # https://blog.jaraco.com/efficient-use-of-ci-resources/\n      matrix:\n        python:\n        - \"3.8\"\n        - \"3.12\"\n        platform:\n        - ubuntu-latest\n        - macos-latest\n        - windows-latest\n        include:\n        - python: \"3.9\"\n          platform: ubuntu-latest\n        - python: \"3.10\"\n          platform: ubuntu-latest\n        - python: \"3.11\"\n          platform: ubuntu-latest\n        - python: pypy3.10\n          platform: ubuntu-latest\n    runs-on: ${{ matrix.platform }}\n    continue-on-error: ${{ matrix.python == '3.13' }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox\n\n  collateral:\n    strategy:\n      fail-fast: false\n      matrix:\n        job:\n        - diffcov\n        - docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Eval ${{ matrix.job }}\n        run: tox -e ${{ matrix.job }}\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n    - test\n    - collateral\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n\n  release:\n    permissions:\n      contents: write\n    needs:\n    - check\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox -e release\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "jaraco/irc"}
{"mined_at": "2024-07-15T13:02:06.576140", "created_at": "2021-06-17T18:19:03+02:00", "updated_at": "2021-06-18T21:39:22+02:00", "name": "Python bindings tests 23", "path": ".github/workflows/tests_23.yml", "contents": "name: \"Python bindings tests 23\"\n\non:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n  workflow_dispatch:\n\njobs:\n  tests-23:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [3.11]\n    env:\n        BIGML_USERNAME: ${{ secrets.BIGML_USERNAME }}\n        BIGML_API_KEY: ${{ secrets.BIGML_API_KEY }}\n        BIGML_ORGANIZATION: ${{ secrets.BIGML_ORGANIZATION }}\n        BIGML_EXTERNAL_CONN_HOST: ${{ secrets.BIGML_EXTERNAL_CONN_HOST }}\n        BIGML_EXTERNAL_CONN_PORT: ${{ secrets.BIGML_EXTERNAL_CONN_PORT }}\n        BIGML_EXTERNAL_CONN_DB: ${{ secrets.BIGML_EXTERNAL_CONN_DB }}\n        BIGML_EXTERNAL_CONN_USER: ${{ secrets.BIGML_EXTERNAL_CONN_USER }}\n        BIGML_EXTERNAL_CONN_PWD: ${{ secrets.BIGML_EXTERNAL_CONN_PWD }}\n        BIGML_DELTA: ${{ vars.BIGML_DELTA }}\n\n    steps:\n    - name: Install packages\n      uses: actions/checkout@v3\n    - run: |\n        pip install .[full]\n\n    - name: Run tests *23 03 37 35 47 48 49 99*\n      run: |\n        pip3 install pytest\n        export TESTS=$(for t in \"23\" \"03\" \"37\" \"35\" \"47\" \"48\" \"49\" \"99\"; do ls bigml/tests/*$t*.py;done|paste -sd \" \")\n        echo $TESTS\n        pytest -s $TESTS\n", "state": "active", "repository": "bigmlcom/python"}
{"mined_at": "2024-07-15T13:02:07.815546", "created_at": "2021-06-17T18:19:03+02:00", "updated_at": "2021-06-18T21:39:22+02:00", "name": "Python bindings tests 36", "path": ".github/workflows/tests_36.yml", "contents": "name: \"Python bindings tests 36\"\n\non:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n  workflow_dispatch:\n\njobs:\n  tests-36:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [3.11]\n    env:\n        BIGML_USERNAME: ${{ secrets.BIGML_USERNAME }}\n        BIGML_API_KEY: ${{ secrets.BIGML_API_KEY }}\n        BIGML_ORGANIZATION: ${{ secrets.BIGML_ORGANIZATION }}\n        BIGML_EXTERNAL_CONN_HOST: ${{ secrets.BIGML_EXTERNAL_CONN_HOST }}\n        BIGML_EXTERNAL_CONN_PORT: ${{ secrets.BIGML_EXTERNAL_CONN_PORT }}\n        BIGML_EXTERNAL_CONN_DB: ${{ secrets.BIGML_EXTERNAL_CONN_DB }}\n        BIGML_EXTERNAL_CONN_USER: ${{ secrets.BIGML_EXTERNAL_CONN_USER }}\n        BIGML_EXTERNAL_CONN_PWD: ${{ secrets.BIGML_EXTERNAL_CONN_PWD }}\n        BIGML_DELTA: ${{ vars.BIGML_DELTA }}\n\n    steps:\n    - name: Install packages\n      uses: actions/checkout@v3\n    - run: |\n        pip install .[full]\n\n    - name: Run tests *36 33 99*\n      run: |\n        pip3 install pytest\n        export TESTS=$(for t in \"36\" \"33\" \"99\"; do ls bigml/tests/*$t*.py;done|paste -sd \" \")\n        echo $TESTS\n        pytest -s $TESTS\n", "state": "active", "repository": "bigmlcom/python"}
{"mined_at": "2024-07-15T13:02:08.938379", "created_at": "2021-06-17T18:19:03+02:00", "updated_at": "2021-06-18T21:39:22+02:00", "name": "Python bindings tests 05", "path": ".github/workflows/tests_05.yml", "contents": "name: \"Python bindings tests 05\"\n\non:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n  workflow_dispatch:\n\njobs:\n  tests-05:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [3.11]\n    env:\n        BIGML_USERNAME: ${{ secrets.BIGML_USERNAME }}\n        BIGML_API_KEY: ${{ secrets.BIGML_API_KEY }}\n        BIGML_ORGANIZATION: ${{ secrets.BIGML_ORGANIZATION }}\n        BIGML_EXTERNAL_CONN_HOST: ${{ secrets.BIGML_EXTERNAL_CONN_HOST }}\n        BIGML_EXTERNAL_CONN_PORT: ${{ secrets.BIGML_EXTERNAL_CONN_PORT }}\n        BIGML_EXTERNAL_CONN_DB: ${{ secrets.BIGML_EXTERNAL_CONN_DB }}\n        BIGML_EXTERNAL_CONN_USER: ${{ secrets.BIGML_EXTERNAL_CONN_USER }}\n        BIGML_EXTERNAL_CONN_PWD: ${{ secrets.BIGML_EXTERNAL_CONN_PWD }}\n        BIGML_DELTA: ${{ vars.BIGML_DELTA }}\n    steps:\n    - name: Install packages\n      uses: actions/checkout@v3\n    - run: |\n        pip install .[topics]\n\n    - name: Run tests *01 05 40 45 99*\n      run: |\n        pip3 install pytest\n        export TESTS=$(for t in  \"05\" \"40\" \"45\" \"99\"; do ls bigml/tests/*$t*.py;done|paste -sd \" \")\n        echo $TESTS\n        pytest -s $TESTS\n", "state": "active", "repository": "bigmlcom/python"}
{"mined_at": "2024-07-15T13:02:09.968555", "created_at": "2021-06-17T18:19:03+02:00", "updated_at": "2021-06-18T21:39:22+02:00", "name": "Python bindings tests 01", "path": ".github/workflows/tests_01.yml", "contents": "name: \"Python bindings tests 01\"\n\non:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n  workflow_dispatch:\n\njobs:\n  tests-01:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [3.11]\n    env:\n        BIGML_USERNAME: ${{ secrets.BIGML_USERNAME }}\n        BIGML_API_KEY: ${{ secrets.BIGML_API_KEY }}\n        BIGML_ORGANIZATION: ${{ secrets.BIGML_ORGANIZATION }}\n        BIGML_EXTERNAL_CONN_HOST: ${{ secrets.BIGML_EXTERNAL_CONN_HOST }}\n        BIGML_EXTERNAL_CONN_PORT: ${{ secrets.BIGML_EXTERNAL_CONN_PORT }}\n        BIGML_EXTERNAL_CONN_DB: ${{ secrets.BIGML_EXTERNAL_CONN_DB }}\n        BIGML_EXTERNAL_CONN_USER: ${{ secrets.BIGML_EXTERNAL_CONN_USER }}\n        BIGML_EXTERNAL_CONN_PWD: ${{ secrets.BIGML_EXTERNAL_CONN_PWD }}\n        BIGML_DELTA: ${{ vars.BIGML_DELTA }}\n\n    steps:\n    - name: Install packages\n      uses: actions/checkout@v3\n    - run: |\n        pip install .[topics]\n\n    - name: Run tests *01 04 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 41 45 99 38 99*\n      run: |\n        pip3 install pytest\n        export TESTS=$(for t in \"01\" \"04\" \"06\" \"07\" \"08\" \"09\" \"10\" \"11\" \"12\" \"13\" \"14\" \"15\" \"16\" \"17\" \"18\" \"19\" \"20\" \"21\" \"41\" \"38\" \"99\"; do ls bigml/tests/*$t*.py;done|paste -sd \" \")\n        echo $TESTS\n        pytest -s $TESTS\n", "state": "active", "repository": "bigmlcom/python"}
{"mined_at": "2024-07-15T13:02:11.002260", "created_at": "2022-02-08T20:41:21+01:00", "updated_at": "2022-02-24T00:06:29+01:00", "name": "Python bindings tests 22", "path": ".github/workflows/tests_22.yml", "contents": "name: \"Python bindings tests 22\"\n\non:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n  workflow_dispatch:\n\njobs:\n  tests-22:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [3.11]\n    env:\n        BIGML_USERNAME: ${{ secrets.BIGML_USERNAME }}\n        BIGML_API_KEY: ${{ secrets.BIGML_API_KEY }}\n        BIGML_ORGANIZATION: ${{ secrets.BIGML_ORGANIZATION }}\n        BIGML_EXTERNAL_CONN_HOST: ${{ secrets.BIGML_EXTERNAL_CONN_HOST }}\n        BIGML_EXTERNAL_CONN_PORT: ${{ secrets.BIGML_EXTERNAL_CONN_PORT }}\n        BIGML_EXTERNAL_CONN_DB: ${{ secrets.BIGML_EXTERNAL_CONN_DB }}\n        BIGML_EXTERNAL_CONN_USER: ${{ secrets.BIGML_EXTERNAL_CONN_USER }}\n        BIGML_EXTERNAL_CONN_PWD: ${{ secrets.BIGML_EXTERNAL_CONN_PWD }}\n        BIGML_DELTA: ${{ vars.BIGML_DELTA }}\n\n    steps:\n    - name: Install packages\n      uses: actions/checkout@v3\n    - run: |\n        pip install .[topics]\n\n    - name: Run tests *22 24 25 26 27 28 29 30 31 32 34 39 43 42 44 99*\n      run: |\n        pip3 install pytest\n        export TESTS=$(for t in \"22\" \"24\" \"25\" \"26\" \"27\" \"28\" \"29\" \"30\" \"31\" \"32\" \"34\" \"39\" \"43\" \"42\" \"44\" \"99\"; do ls bigml/tests/*$t*.py;done|paste -sd \" \")\n        echo $TESTS\n        pytest -s $TESTS\n", "state": "active", "repository": "bigmlcom/python"}
{"mined_at": "2024-07-15T13:02:13.094293", "created_at": "2021-03-20T08:39:12+01:00", "updated_at": "2023-02-05T18:07:08+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "---\nname: test\n\non:\n  push:\n    branches-ignore:\n      - \"coverage\"\n      - \"renovate/**\"\n  pull_request:\n  workflow_dispatch:\n    inputs:\n      main_branch:\n        description: \"Main branch for coverage/tmate.\"\n        type: string\n        required: false\n        default: \"main\"\n      main_os:\n        description: \"Main os for coverage/tmate.\"\n        type: choice\n        default: \"macos-12\"\n        options:\n          - \"macos-12\"\n          - \"ubuntu-latest\"\n      main_py_ver:\n        description: \"Main python version for coverage/tmate.\"\n        type: choice\n        default: \"3.9\"\n        options:\n          - \"3.12\"\n          - \"3.11\"\n          - \"3.10\"\n          - \"3.9\"\n          - \"3.8\"\n      tmate:\n        type: boolean\n        description: \"Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate). This is only for main strategy and others will be stopped.\"\n        required: false\n        default: false\n\nenv:\n  MAIN_BRANCH: ${{ inputs.main_branch || 'main' }}\n  MAIN_OS: ${{ inputs.main_os || 'ubuntu-latest' }}\n  MAIN_PY_VER: ${{ inputs.main_py_ver || '3.10' }}\n  TMATE: ${{ inputs.tmate || 'false' }}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  install:\n    strategy:\n      matrix:\n        os: [macos-12, ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Exit workflow\n        if: ${{ github.event_name == 'workflow_dispatch' && env.tmate == 'true' }}\n        run: exit 1\n      - name: Install test\n        run: |\n          curl -o install.sh -fsSL https://raw.github.com/rcmdnk/homebrew-file/install/install.sh\n          chmod 755 ./install.sh\n          ./install.sh\n          rm -f install.sh\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-12, ubuntu-latest]\n        python-version: ['3.12', '3.11', '3.10', '3.9', '3.8']\n    permissions:\n      contents: write\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Check is main\n        id: is_main\n        run: |\n          if [ \"${{ github.ref }}\" = \"refs/heads/${{ env.MAIN_BRANCH }}\" ] && [ \"${{ matrix.os }}\" = \"${{ env.MAIN_OS }}\" ] && [ \"${{ matrix.python-version }}\" = \"${{ env.MAIN_PY_VER }}\" ];then\n            echo \"IS_MAIN=1\" >> $GITHUB_ENV\n            is_main=1\n          else\n            echo \"IS_MAIN=0\" >> $GITHUB_ENV\n            is_main=0\n          fi\n          if [ \"${{ env.TMATE }}\" = \"true\" ];then\n            if [ \"$is_main\" = 0 ];then\n              echo \"Tmate is enabled and this is not main, skip tests\"\n              exit 1\n            fi\n            echo \"DEBUG=1\" >> $GITHUB_ENV\n          else\n            echo \"DEBUG=0\" >> $GITHUB_ENV\n          fi\n      - name: Set up Homebrew\n        id: set-up-homebrew\n        uses: Homebrew/actions/setup-homebrew@master\n        with:\n          test-bot: false\n      - uses: rcmdnk/python-action@v2\n        with:\n          checkout: 1\n          setup-python: 1\n          python-version: \"${{ matrix.python-version }}\"\n          pip: 'pip'\n          setup-cmd: 'poetry install'\n          pip-packages: ''\n          poetry: 1\n          cache: 'poetry'\n          pytest: 1\n          pytest-tests-path: 'tests/'\n          pytest-ignore: ''\n          pytest-separate-benchmark: 0\n          coverage: 1\n          pytest-cov-path: \"bin\"\n          coverage-push: \"${{ env.IS_MAIN }}\"\n          coverage-push-condition: \"branch=${{ env.MAIN_BRANCH }}, os=${{ env.MAIN_OS }}, python_version=${{ env.MAIN_PY_VER }}\"\n          github_token: \"${{github.token}}\"\n          pre-commit: \"${{ env.IS_MAIN }}\"\n          tmate: \"${{ env.DEBUG }}\"\n", "state": "active", "repository": "rcmdnk/homebrew-file"}
{"mined_at": "2024-07-15T13:02:14.094542", "created_at": "2024-04-30T08:33:36+02:00", "updated_at": "2024-04-30T08:33:36+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "rcmdnk/homebrew-file"}
{"mined_at": "2024-07-15T13:02:16.520084", "created_at": "2021-01-21T22:39:25+01:00", "updated_at": "2021-01-21T22:39:25+01:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": "name: Pylint\n\non: [push, pull_request]\n\njobs:\n  pylint:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pylint\n        if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi\n    - name: Analysing the code with pylint\n      run: |\n        python -m pylint --rcfile .github/linters/.python-lint src\n", "state": "active", "repository": "vatlab/sos"}
{"mined_at": "2024-07-15T13:02:17.633613", "created_at": "2024-02-12T18:50:31+01:00", "updated_at": "2024-02-12T18:50:31+01:00", "name": "pytest", "path": ".github/workflows/pytest.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: pytest\n\non: [push, pull_request]\n\njobs:\n  pytest:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements_dev.txt\n        pip install -e .\n    - name: Run tests\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        cd test\n        sh build_test_docker.sh\n        echo \"Running tests\"\n        python run_tests.py\n", "state": "active", "repository": "vatlab/sos"}
{"mined_at": "2024-07-15T13:02:18.762250", "created_at": "2021-01-21T22:34:57+01:00", "updated_at": "2021-01-21T22:34:57+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "vatlab/sos"}
{"mined_at": "2024-07-15T13:02:20.002748", "created_at": "2022-01-05T20:27:46+01:00", "updated_at": "2022-01-05T20:27:46+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "vatlab/sos"}
{"mined_at": "2024-07-15T13:02:22.249217", "created_at": "2021-06-18T18:02:36+02:00", "updated_at": "2021-08-02T16:26:04+02:00", "name": "xmlschema", "path": ".github/workflows/test-xmlschema.yml", "contents": "name: xmlschema\n\non:\n  push:\n    branches: [master, develop]\n  pull_request:\n    branches: [master, develop]\n\njobs:\n  build:\n\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12, \"3.13.0-alpha.6\", \"pypy-3.10\"]\n        exclude:\n          - os: macos-latest\n            python-version: 3.8\n          - os: windows-latest\n            python-version: 3.8\n          - os: macos-latest\n            python-version: 3.9\n          - os: windows-latest\n            python-version: 3.9\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install pip and setuptools\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools\n      - name: Install optional dependencies\n        if: ${{ matrix.python-version != '3.13.0-alpha.6' }}\n        run: pip install lxml jinja2\n      - name: Test with unittest\n        run: |\n          pip install .\n          python -m unittest\n      - name: Lint with flake8\n        run: |\n          pip install flake8\n          flake8 xmlschema --max-line-length=100 --statistics\n      - name: Lint with mypy\n        run: |\n          pip install mypy==1.10.0 elementpath==4.4.0 lxml-stubs\n          mypy --show-error-codes --strict xmlschema\n", "state": "active", "repository": "sissaschool/xmlschema"}
{"mined_at": "2024-07-15T13:02:24.269597", "created_at": "2021-01-14T21:38:03+01:00", "updated_at": "2024-04-16T19:57:29+02:00", "name": "cti-python-stix2 test harness", "path": ".github/workflows/python-ci-tests.yml", "contents": "# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: cti-python-stix2 test harness\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', '3.11', '3.12']\n\n    name: Python ${{ matrix.python-version }} Build\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install and update essential dependencies\n      run: |\n        pip install -U pip setuptools\n        pip install tox-gh-actions\n        pip install codecov\n    - name: Test with Tox\n      run: |\n        tox\n    - name: Upload coverage information to Codecov\n      uses: codecov/codecov-action@v4.2.0\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        fail_ci_if_error: false # optional (default = false)\n        verbose: true # optional (default = false)\n", "state": "active", "repository": "oasis-open/cti-python-stix2"}
{"mined_at": "2024-07-15T13:02:26.305498", "created_at": "2022-01-15T06:38:13+01:00", "updated_at": "2022-10-08T04:09:17+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '35 9 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "disabled_manually", "repository": "mapillary/mapillary_tools"}
{"mined_at": "2024-07-15T13:02:27.373220", "created_at": "2021-02-23T12:00:54+01:00", "updated_at": "2022-10-08T04:09:08+02:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  # Runs your workflow when activity on a pull request in the workflow's repository occurs.\n  # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request\n  pull_request:\n    # only run on pull requests that target specific branches\n    branches: [main]\n  push:\n    branches: [main]\n\njobs:\n  build:\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        platform: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        # https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n        # Optional - x64 or x86 architecture, defaults to x64\n        # architecture: \"x64\"\n\n    runs-on: ${{ matrix.platform }}\n\n    defaults:\n      run:\n        working-directory: ./main\n\n    steps:\n      # https://github.com/actions/checkout#Checkout-multiple-repos-side-by-side\n      # pull into mapillary/mapillary_tools/main\n      - uses: actions/checkout@v4\n        with:\n          path: main\n\n      # https://github.com/actions/checkout#Checkout-multiple-repos-side-by-side\n      # pull into mapillary/mapillary_tools/exiftool\n      - name: Setup ExifTool\n        uses: actions/checkout@v4\n        with:\n          repository: \"exiftool/exiftool\"\n          path: exiftool\n\n      - name: Check ExifTool version\n        # DO NOT USE envvars here which does not work on Windows (needs prefixing with $env:)\n        # need to rename exiftool to exiftool.pl according to https://exiftool.org/install.html\n        run: |\n          mv ${{ github.workspace }}/exiftool/exiftool ${{ github.workspace }}/exiftool/exiftool.pl\n          perl ${{ github.workspace }}/exiftool/exiftool.pl -ver\n\n      - name: Setup FFmpeg\n        uses: FedericoCarboni/setup-ffmpeg@v3\n        # ffmpeg is not supported in the latest macOS arch:\n        # Error: setup-ffmpeg can only be run on 64-bit systems\n        if: matrix.platform != 'macos-latest'\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .\n          python -m pip install -r requirements-dev.txt\n\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n      - name: Lint with black\n        run: |\n          black --check mapillary_tools tests\n\n      - name: Sort imports with usort\n        run: |\n          usort diff mapillary_tools/\n\n      - name: Type check with mypy\n        run: |\n          mypy mapillary_tools\n\n      - name: Test with pytest\n        run: |\n          mapillary_tools --version\n          pytest -s -vv tests\n        env:\n          MAPILLARY_TOOLS__TESTS_EXECUTABLE: mapillary_tools\n          MAPILLARY_TOOLS__TESTS_EXIFTOOL_EXECUTABLE: perl ${{ github.workspace }}/exiftool/exiftool.pl\n", "state": "active", "repository": "mapillary/mapillary_tools"}
{"mined_at": "2024-07-15T13:02:28.467132", "created_at": "2023-05-23T20:59:45+02:00", "updated_at": "2023-05-24T02:48:26+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "# This workflow will build the package with Pyinstaller, upload it to GitHub Releases, and publish it to PyPI\n\nname: Release\n\non:\n  push:\n    tags:\n      - \"v*.*.*\"\n\njobs:\n  build_and_release:\n    if: ${{ startsWith(github.ref, 'refs/tags/') }}\n\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n        platform: [\"ubuntu-20.04\", \"macos-latest\", \"windows-latest\"]\n        architecture: [\"x64\"]\n        include:\n          - architecture: \"x86\"\n            platform: \"windows-latest\"\n            python-version: \"3.11\"\n\n    runs-on: ${{ matrix.platform }}\n\n    defaults:\n      run:\n        working-directory: ./main\n\n    steps:\n      # https://github.com/actions/checkout#Checkout-multiple-repos-side-by-side\n      # pull into mapillary/mapillary_tools/main\n      - uses: actions/checkout@v4\n        with:\n          path: main\n\n      # https://github.com/actions/checkout#Checkout-multiple-repos-side-by-side\n      # pull into mapillary/mapillary_tools/exiftool\n      - name: Setup ExifTool\n        uses: actions/checkout@v4\n        with:\n          repository: \"exiftool/exiftool\"\n          path: exiftool\n\n      - name: Check ExifTool version\n        # DO NOT USE envvars here which does not work on Windows (needs prefixing with $env:)\n        # need to rename exiftool to exiftool.pl according to https://exiftool.org/install.html\n        run: |\n          mv ${{ github.workspace }}/exiftool/exiftool ${{ github.workspace }}/exiftool/exiftool.pl\n          perl ${{ github.workspace }}/exiftool/exiftool.pl -ver\n\n      - name: Setup FFmpeg\n        uses: FedericoCarboni/setup-ffmpeg@v3\n        # ffmpeg is not supported in the latest macOS arch:\n        # Error: setup-ffmpeg can only be run on 64-bit systems\n        if: matrix.platform != 'macos-latest'\n\n      - name: Set up ${{ matrix.architecture }} Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          # optional x64 or x86. Defaults to x64 if not specified\n          architecture: ${{ matrix.architecture }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .\n          python -m pip install -r requirements-dev.txt\n\n      - name: Validate version\n        run: |\n          EXPECTED_GITHUB_REF=$(mapillary_tools --version | awk '{print \"refs/tags/v\" $3}')\n          if [[ \"$EXPECTED_GITHUB_REF\" != \"$GITHUB_REF\" ]]; then\n            echo \"Version mismatch: $EXPECTED_GITHUB_REF != $GITHUB_REF\"\n            exit 1\n          fi\n        if: matrix.platform != 'windows-latest'\n\n      - name: Build and test with Pyinstaller on MacOS\n        # Enable for Python3.11 only because it often fails at codesign (subprocess timeout)\n        if: matrix.platform == 'macos-latest'\n        run: |\n          # see https://github.com/mapillary/mapillary_tools/issues/566\n          # TODO: move it to extras in setup.py\n          python3 -m pip install pysocks\n          ./script/build_osx\n          # Could run full integration tests with the binary (it might be slow)\n          pytest tests/integration\n        env:\n          MAPILLARY_TOOLS__TESTS_EXECUTABLE: ./dist/osx/mapillary_tools\n          MAPILLARY_TOOLS__TESTS_EXIFTOOL_EXECUTABLE: perl ${{ github.workspace }}/exiftool/exiftool.pl\n\n      - name: Build and test with Pyinstaller on Ubuntu\n        if: matrix.platform == 'ubuntu-20.04'\n        run: |\n          # see https://github.com/mapillary/mapillary_tools/issues/566\n          # TODO: move it to extras in setup.py\n          python3 -m pip install pysocks\n          ./script/build_linux\n          # Could run full integration tests with the binary (it might be slow)\n          pytest tests/integration\n        env:\n          MAPILLARY_TOOLS__TESTS_EXECUTABLE: ./dist/linux/mapillary_tools\n          MAPILLARY_TOOLS__TESTS_EXIFTOOL_EXECUTABLE: perl ${{ github.workspace }}/exiftool/exiftool.pl\n\n      - name: Build and test with Pyinstaller on Windows\n        if: matrix.platform == 'windows-latest'\n        run: |\n          # see https://github.com/mapillary/mapillary_tools/issues/566\n          # TODO: move it to extras in setup.py\n          python3 -m pip install pysocks\n          ./script/build_bootloader.ps1\n          ./script/build_win.ps1\n          # Could run full integration tests with the binary (it might be slow)\n          cp ./dist/win/mapillary_tools.exe mapillary_tools_WINDOWS_VERY_HARD_TO_FIND_YOU_IN_ANOTHER_DIR_SO_I_MOVE_YOU_HERE.exe\n          pytest tests/integration\n        env:\n          MAPILLARY_TOOLS__TESTS_EXECUTABLE: mapillary_tools_WINDOWS_VERY_HARD_TO_FIND_YOU_IN_ANOTHER_DIR_SO_I_MOVE_YOU_HERE.exe\n          MAPILLARY_TOOLS__TESTS_EXIFTOOL_EXECUTABLE: perl ${{ github.workspace }}/exiftool/exiftool.pl\n\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          draft: true\n          generate_release_notes: true\n          fail_on_unmatched_files: true\n          files: |\n            ./main/dist/releases/*\n\n  pypi-publish:\n    if: ${{ startsWith(github.ref, 'refs/tags/') }}\n    name: Upload release to PyPI\n    needs: [\"build_and_release\"]\n    runs-on: \"ubuntu-20.04\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n\n      # https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n      - name: Install pypa/build\n        run: python3 -m pip install build\n\n      - name: Build\n        # the default ouput dir dist/ was used by pyinstaller\n        run: python3 -m build --outdir pypa_dist/ .\n\n      - name: Publish package distributions to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          packages-dir: pypa_dist/\n          skip-existing: true\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          packages-dir: pypa_dist/\n", "state": "active", "repository": "mapillary/mapillary_tools"}
{"mined_at": "2024-07-15T13:02:30.538105", "created_at": "2023-08-26T02:47:24+02:00", "updated_at": "2023-08-26T02:47:24+02:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": null, "state": "active", "repository": "biocommons/hgvs"}
{"mined_at": "2024-07-15T13:02:31.654959", "created_at": "2023-11-27T05:41:38+01:00", "updated_at": "2024-02-01T06:51:03+01:00", "name": "Sync labels", "path": ".github/workflows/labels.yml", "contents": "name: Sync labels\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - 'main'\n    paths:\n      - '.github/labels.yml'\n      - '.github/workflows/labels.yml'\n\npermissions:\n  issues: write\n\njobs:\n  labels:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          sparse-checkout: .github/labels.yml\n\n      - uses: EndBug/label-sync@v2\n        with:\n          config-file: |\n            https://raw.githubusercontent.com/biocommons/.github/main/etc/labels.yml\n            .github/labels.yml\n\n          delete-other-labels: false", "state": "active", "repository": "biocommons/hgvs"}
{"mined_at": "2024-07-15T13:02:32.801723", "created_at": "2022-11-11T19:31:22+01:00", "updated_at": "2022-11-11T19:31:22+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "name: Python package\n\non:\n  push:\n  pull_request:\n\njobs:\n  # codechecks:\n  #   runs-on: ubuntu-latest\n\n  #   steps:\n  #     - uses: actions/checkout@v3\n\n  #     - name: Set up Python\n  #       uses: actions/setup-python@v4\n  #       with:\n  #         python-version: \"3.10\"\n  #         cache: \"pip\"\n  #         cache-dependency-path: \"**/setup.cfg\"\n\n  #     - name: Install dependencies\n  #       run: |\n  #         pip install -e .[dev]\n\n  #     - name: Lint with flake8\n  #       run: |\n  #         # stop the build if there are Python syntax errors or undefined names\n  #         flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n  #         # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n  #         flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n  #     - name: Format check with isort\n  #       run: |\n  #         isort --check src\n\n  #     - name: Format check with black\n  #       run: |\n  #         black --check src\n\n  test:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: \"**/setup.cfg\"\n\n      - name: Install dependencies\n        run: |\n          pip install -e .[dev]\n\n      - name: Test with pytest\n        run: |\n          make test\n\n  deploy:\n    needs:\n      # - codechecks # skip for now\n      - test\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: pip\n          cache-dependency-path: \"**/setup.cfg\"\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install build pytest pytest-cov twine\n      - name: Build package\n        run: python -m build\n\n      - name: Publish package\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "biocommons/hgvs"}
{"mined_at": "2024-07-15T13:02:33.836513", "created_at": "2023-08-26T05:41:11+02:00", "updated_at": "2023-08-26T05:41:11+02:00", "name": "Ruff", "path": ".github/workflows/ruff.yml", "contents": null, "state": "active", "repository": "biocommons/hgvs"}
{"mined_at": "2024-07-15T13:02:35.156532", "created_at": "2023-11-27T05:41:38+01:00", "updated_at": "2023-11-27T05:41:38+01:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "# https://github.com/actions/stale\n\nname: 'Close stale issues and PRs'\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '1 1 * * *'\n\njobs:\n  stale:\n    uses: biocommons/.github/.github/workflows/stale.yml@main\n", "state": "active", "repository": "biocommons/hgvs"}
{"mined_at": "2024-07-15T13:02:36.180344", "created_at": "2023-09-09T06:04:25+02:00", "updated_at": "2023-09-09T06:04:25+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "biocommons/hgvs"}
{"mined_at": "2024-07-15T13:02:38.217225", "created_at": "2020-12-23T20:18:13+01:00", "updated_at": "2020-12-23T20:18:13+01:00", "name": "Build and Publish Python Package", "path": ".github/workflows/publish-package.yml", "contents": "name: Build and Publish Python Package\n\non:\n  push:\n    tags:\n      - '[0-9].*'\n\njobs:\n  create_release:\n    name: Create GitHub Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: ${{ github.ref }}\n          draft: false\n          prerelease: true\n\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3.5.3\n    - name: Set up Python\n      uses: actions/setup-python@v4.7.0\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "robotools/fontparts"}
{"mined_at": "2024-07-15T13:02:39.447436", "created_at": "2020-12-23T19:00:42+01:00", "updated_at": "2020-12-23T19:00:42+01:00", "name": "Tests", "path": ".github/workflows/run-tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n  workflow_dispatch:\n    inputs:\n      reason:\n        description: 'Reason for running workflow'\n        required: true\n\njobs:\n\n  test:\n    runs-on: ${{ matrix.platform }}\n    if: \"! contains(toJSON(github.event.commits.*.message), '[skip ci]')\"\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        platform: [ubuntu-latest, macos-latest, windows-latest]\n        exclude: # Only test on the oldest and latest supported stable Python on macOS and Windows.\n          - platform: macos-latest\n            python-version: 3.9\n          - platform: windows-latest\n            python-version: 3.9\n          - platform: macos-latest\n            python-version: 3.10\n          - platform: windows-latest\n            python-version: 3.10\n    steps:\n    - uses: actions/checkout@v3.5.3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4.7.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install packages\n      run: pip install tox coverage\n    - name: Run Tox\n      run: tox -e py-cov\n    - name: Produce coverage files\n      run: |\n        coverage combine\n        coverage xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3.1.4\n      with:\n        file: coverage.xml\n        flags: unittests\n        name: codecov-umbrella\n        fail_ci_if_error: true\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "robotools/fontparts"}
{"mined_at": "2024-07-15T13:02:41.507645", "created_at": "2020-09-08T18:01:38+02:00", "updated_at": "2024-04-28T21:08:34+02:00", "name": "build package & server", "path": ".github/workflows/build.yml", "contents": "name: build package & server\n\non:\n  pull_request:\n  push:\n    branches: [master]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Test package\n      run: |\n        pipx install hatch\n        hatch run +py=${{ matrix.python-version }} test:package\n\n  build_server:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n    - name: Unit tests on api\n      run: |\n        pipx install hatch\n        hatch run api:test-unit\n\n  test_api_server:\n    runs-on: ubuntu-latest\n    # Service containers to run with `container-job`\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgres:16\n        # Provide the password for postgres\n        env:\n          POSTGRES_DB: codecarbon_db\n          POSTGRES_PASSWORD: supersecret\n          POSTGRES_USER: codecarbon-user\n          POSTGRES_HOST: localhost\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5480:5432\n\n    steps:\n      # Downloads a copy of the code in your repository before running CI tests\n      - name: Check out repository code\n        uses: actions/checkout@v4\n\n      # Performs a clean installation of all dependencies\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Install dependencies\n        run: pipx install hatch\n\n      - name: Setup PostgreSQL\n        # Runs a script that creates a PostgreSQL table, populates\n        # the table with data, and then retrieves the data.\n        run: hatch run api:setup-db\n          \n        env:\n          # The hostname used to communicate with the PostgreSQL service container\n          DATABASE_URL: postgresql://codecarbon-user:supersecret@localhost:5480/codecarbon_db\n\n      - name: Run API tests\n        env:\n          CODECARBON_API_URL: http://localhost:8008\n          # The hostname used to communicate with the PostgreSQL service container\n          DATABASE_URL: postgresql://codecarbon-user:supersecret@localhost:5480/codecarbon_db\n        run: |\n          hatch run api:server-ci &\n          sleep 2\n          netstat -o -n -a | grep 8008\n          hatch run api:test-integ\n", "state": "active", "repository": "mlco2/codecarbon"}
{"mined_at": "2024-07-15T13:02:42.736095", "created_at": "2020-09-08T18:01:38+02:00", "updated_at": "2020-09-08T18:01:38+02:00", "name": "package", "path": ".github/workflows/package.yml", "contents": "name: package\n\non:\n  push:\n    branches: [master]\n\njobs:\n    build-package:\n      runs-on: ubuntu-latest\n      steps:\n        - uses: actions/checkout@v4\n        - name: Set up Python 3.11\n          uses: actions/setup-python@v5\n          with:\n              python-version: 3.11\n        - name: Check versions\n          run: |\n              pip install -U pip requests\n              python3 .github/check_version.py -o\n        - name: Build pip package\n          run: |\n              pip install -U pip build\n              python3 -m build\n        - name: Archive Pypi artifacts\n          uses: actions/upload-artifact@v4\n          with:\n              name: pypi_dist\n              path: dist\n", "state": "active", "repository": "mlco2/codecarbon"}
{"mined_at": "2024-07-15T13:02:43.962713", "created_at": "2020-09-08T18:21:38+02:00", "updated_at": "2020-09-08T18:21:38+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [master]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n    - name: set PY\n      run: echo \"PY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')\" >> $GITHUB_ENV\n    - uses: actions/cache@v3\n      with:\n        path: ~/.cache/pre-commit\n        key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}\n    - name: Run pre-commit\n      run: |\n        pip install pre-commit==3.7.0\n        pre-commit run --show-diff-on-failure --color=always --all-files\n", "state": "active", "repository": "mlco2/codecarbon"}
{"mined_at": "2024-07-15T13:02:45.195675", "created_at": "2022-05-17T21:47:41+02:00", "updated_at": "2022-05-17T21:47:41+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: Check versions\n      run: |\n          pip install -U pip requests\n          python3 .github/check_version.py\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n\n  conda_deployment:\n    name: Conda deployment of package with Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Conda environment creation and activation\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          auto-update-conda: true\n          channels: codecarbon,conda-forge\n          activate-environment: true\n      - name: Build and upload the conda packages\n        uses: uibcdf/action-build-and-upload-conda-packages@v1.3.0\n        with:\n          meta_yaml_dir: .conda\n          python-version: ${{ matrix.python-version }} # Values previously defined in `matrix`\n          platform_linux-64: true\n          platform_osx-64: true\n          platform_win-64: true\n          user: codecarbon\n          label: auto\n          token: ${{ secrets.ANACONDA_TOKEN }} # Replace with the right name of your secret\n", "state": "active", "repository": "mlco2/codecarbon"}
{"mined_at": "2024-07-15T13:02:46.237469", "created_at": "2020-11-10T22:55:47+01:00", "updated_at": "2020-11-10T22:55:47+01:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - master\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next Release notes as Pull Requests are merged into \"master\"\n      - uses: release-drafter/release-drafter@v5.7.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "mlco2/codecarbon"}
{"mined_at": "2024-07-15T13:02:47.245107", "created_at": "2021-12-23T18:36:33+01:00", "updated_at": "2021-12-23T18:36:33+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mlco2/codecarbon"}
{"mined_at": "2024-07-15T13:02:49.364442", "created_at": "2022-07-27T13:43:00+02:00", "updated_at": "2022-07-29T13:29:38+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '16 12 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "mollie/mollie-api-python"}
{"mined_at": "2024-07-15T13:02:50.403534", "created_at": "2020-12-24T11:28:24+01:00", "updated_at": "2022-11-11T09:41:25+01:00", "name": "Create and publish package", "path": ".github/workflows/release.yaml", "contents": "name: Create and publish package\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  pre-build-checks:\n    name: Pre-build checks\n    uses: ./.github/workflows/tests.yaml\n\n  build:\n    name: Build package\n    runs-on: ubuntu-latest\n    needs: pre-build-checks\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install --upgrade build\n\n      - name: Build packages\n        run: python -m build\n\n      - name: Save artifacts\n        uses: actions/upload-artifact@v3\n        with: \n          name: packages-${{ github.ref_name }}\n          path: dist/*\n\n  pypi-release:\n    name: Upload packages to PyPi\n    needs: build\n    runs-on: ubuntu-latest\n    if: ${{ !contains(github.ref_name, 'dev')}}  # Ignore dev releases\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install --upgrade twine\n\n      - name: Download artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: packages-${{ github.ref_name }}\n          path: dist/\n\n      - name: Upload packages\n        run: python -m twine upload dist/*\n        env: \n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n\n  github-release:\n    name: Create release on Github\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get packages\n        uses: actions/download-artifact@v3\n        with:\n          name: packages-${{ github.ref_name }}\n          path: dist/\n\n      - name: Create new release\n        continue-on-error: true  # If this fails, we can do it by hand\n        uses: ncipollo/release-action@v1\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}  # Provided by github actions, no need to configure\n          tag: ${{ github.ref_name }}\n          name: ${{ github.ref_name }}\n          body: |\n            Summary:\n              - TODO\n\n            Install it: https://pypi.org/project/mollie-api-python/${{ github.ref_name }}\n          draft: true\n          artifacts: dist/*\n", "state": "active", "repository": "mollie/mollie-api-python"}
{"mined_at": "2024-07-15T13:02:51.542081", "created_at": "2022-11-10T15:04:11+01:00", "updated_at": "2022-12-27T14:54:10+01:00", "name": "Run tests", "path": ".github/workflows/tests.yaml", "contents": "name: Run tests\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  workflow_call:\n\njobs:\n  tests:\n    name: Run all tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"pypy-3.9\", \"pypy-3.10\"]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install .\n          python -m pip install -r test_requirements.txt\n\n      - name: Run unittests\n        run: python -m pytest --cov-fail-under=90\n\n      - name: Verify dependencies\n        run: python -m safety check\n\n      - name: Verify code style\n        run: python -m flake8 -v\n\n      - name: Verify type annotations\n        run: |\n          python -m pip install mypy\n          python -m mypy --config mypy.ini mollie/\n", "state": "active", "repository": "mollie/mollie-api-python"}
{"mined_at": "2024-07-15T13:02:53.527282", "created_at": "2020-07-11T03:12:49+02:00", "updated_at": "2020-07-11T03:12:49+02:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10']\n        gym-version: ['0.20.*', '0.21.*', '0.22.*', '0.23.*', '0.24.*']\n\n    steps:  \n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies, gym v${{ matrix.gym-version }}\n      run: |\n        # gym 0.21 installation is broken with more recent versions of pip\n        # see https://stackoverflow.com/questions/77124879/pip-extras-require-must-be-a-dictionary-whose-values-are-strings-or-lists-of\n        # python -m pip install --upgrade pip\n        pip install setuptools==65.5.0 pip==21  \n        pip install wheel==0.38.0   \n\n        pip install flake8 pytest\n        pip install -e .\n        pip install gym==${{ matrix.gym-version }}\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Test with pytest\n      run: |\n        pytest neurogym/tests/test_envs.py\n        pytest neurogym/tests/test_core.py\n        pytest neurogym/tests/test_reset_step.py\n", "state": "active", "repository": "neurogym/neurogym"}
{"mined_at": "2024-07-15T13:02:55.636587", "created_at": "2022-10-28T03:52:10+02:00", "updated_at": "2022-10-28T03:52:10+02:00", "name": "Docs Preview", "path": ".github/workflows/docs-preview.yml", "contents": "name: Docs Preview\non: [status]\njobs:\n  circleci_artifacts_redirector_job:\n    if: \"${{ github.event.context == 'ci/circleci: Build Docs Preview' }}\"\n    runs-on: ubuntu-latest\n    name: Run CircleCI artifacts redirector\n    steps:\n      - name: GitHub Action step\n        id: step1\n        uses: larsoner/circleci-artifacts-redirector-action@master\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          artifact-path: 0/docs/_build/html/index.html\n          circleci-jobs: Build Docs Preview\n          job-title: Click here to see a preview of the documentation.\n          api-token: ${{ secrets.CIRCLECI_TOKEN }}\n      - name: Check the URL\n        if: github.event.status != 'pending'\n        run: |\n          curl --fail ${{ steps.step1.outputs.url }} | grep $GITHUB_SHA\n", "state": "active", "repository": "quansight-labs/ndindex"}
{"mined_at": "2024-07-15T13:02:56.701830", "created_at": "2021-10-29T07:14:58+02:00", "updated_at": "2022-01-18T00:57:05+01:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\non: [push, pull_request]\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Dependencies\n        run: |\n          set -x\n          set -e\n          python -m pip install -r docs/requirements.txt\n\n      - name: Build Docs\n        run: |\n          cd docs\n          make html\n\n      # Note, the gh-pages deployment requires setting up a SSH deploy key.\n      # See\n      # https://github.com/JamesIves/github-pages-deploy-action/tree/dev#using-an-ssh-deploy-key-\n      - name: Deploy\n        uses: JamesIves/github-pages-deploy-action@v4\n        if: ${{ github.ref == 'refs/heads/main' }}\n        with:\n          folder: docs/_build/html\n          ssh-key: ${{ secrets.DEPLOY_KEY }}\n          clean-exclude: benchmarks/\n", "state": "active", "repository": "quansight-labs/ndindex"}
{"mined_at": "2024-07-15T13:02:57.890002", "created_at": "2024-02-15T21:45:32+01:00", "updated_at": "2024-02-16T09:43:38+01:00", "name": "publish distributions", "path": ".github/workflows/publish-package.yml", "contents": "name: publish distributions\non:\n  push:\n    branches:\n    - main\n    tags:\n    - '[0-9]+.[0-9]+'\n    - '[0-9]+.[0-9]+.[0-9]+'\n  pull_request:\n    branches:\n    - main\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs:\n      publish:\n        type: choice\n        description: 'Publish to TestPyPI?'\n        options:\n        - false\n        - true\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: Build Python distribution\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n\n    - name: Install python-build and twine\n      run: |\n        python -m pip install --upgrade pip setuptools\n        python -m pip install build twine\n        python -m pip list\n\n    - name: Install dependencies\n      run: python -m pip install -r requirements-dev.txt\n\n    - name: Build a wheel and a sdist\n      run: |\n        CYTHONIZE_NDINDEX=0 PYTHONWARNINGS=error,default::DeprecationWarning python -m build .\n\n    - name: Verify the distribution\n      run: twine check --strict dist/*\n\n    - name: List contents of sdist\n      run: python -m tarfile --list dist/ndindex-*.tar.gz\n\n    - name: List contents of wheel\n      run: python -m zipfile --list dist/ndindex-*.whl\n\n    - name: Upload distribution artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: dist-artifact\n        path: dist\n\n  publish:\n    name: Publish Python distribution to (Test)PyPI\n    if: github.event_name != 'pull_request' && github.repository == 'Quansight-Labs/ndindex'\n    needs: build\n    runs-on: ubuntu-latest\n    # Mandatory for publishing with a trusted publisher\n    # c.f. https://docs.pypi.org/trusted-publishers/using-a-publisher/\n    permissions:\n      id-token: write\n      contents: write\n    # Restrict to the environment set for the trusted publisher\n    environment:\n      name: publish-package\n\n    steps:\n    - name: Download distribution artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: dist-artifact\n        path: dist\n\n    - name: List all files\n      run: ls -lh dist\n\n    - name: Publish distribution 📦 to Test PyPI\n      # Publish to TestPyPI on tag events of if manually triggered\n      # Compare to 'true' string as booleans get turned into strings in the console\n      if: >-\n        (github.event_name == 'push' && startsWith(github.ref, 'refs/tags'))\n        || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true')\n      uses: pypa/gh-action-pypi-publish@v1.8.11\n      with:\n        repository-url: https://test.pypi.org/legacy/\n        print-hash: true\n\n    - name: Create GitHub Release from a Tag\n      uses: softprops/action-gh-release@v1\n      if: startsWith(github.ref, 'refs/tags/')\n      with:\n          files: dist/*\n\n    - name: Publish distribution 📦 to PyPI\n      if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@v1.8.11\n      with:\n        print-hash: true\n", "state": "active", "repository": "quansight-labs/ndindex"}
{"mined_at": "2024-07-15T13:02:59.118362", "created_at": "2021-06-18T00:40:49+02:00", "updated_at": "2021-06-18T01:51:54+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\non: [push, pull_request]\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        # https://numpy.org/neps/nep-0029-deprecation_policy.html\n        numpy-version: ['1.22', 'latest', 'dev']\n        exclude:\n          - python-version: '3.12'\n            numpy-version: '1.22'\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Dependencies\n        run: |\n          set -x\n          set -e\n          python -m pip install -r requirements-dev.txt\n          if [[ ${{ matrix.numpy-version }} == 'latest' ]]; then\n              python -m pip install --upgrade numpy\n          elif [[ ${{ matrix.numpy-version }} == 'dev' ]]; then\n              python -m pip install --pre --upgrade --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy -r requirements-dev.txt\n          else\n              python -m pip install --upgrade numpy==${{ matrix.numpy-version }}.*\n          fi\n      - name: Run Doctests\n        run: |\n          ./run_doctests\n        # A NumPy 2.0 compatible skimage doesn't support 3.9, and we need a\n        # version of matplotlib that requires NumPy 1.23. Easiest to just\n        # skip this for now.\n        if: matrix.numpy-version != 'dev' && matrix.python-version != '3.9' && matrix.numpy-version != '1.22'\n      - name: Test Installation\n        run: |\n          python -m pip install .\n      - name: Run Slotscheck\n        run: |\n          python -m slotscheck ndindex\n      # Enable experimental faster sys.monitoring coverage for Python 3.12\n      - name: Set COVERAGE_CORE=sysmon\n        run: echo \"COVERAGE_CORE=sysmon\" >> $GITHUB_ENV\n        if: matrix.python-version == 3.12\n      - name: Run Tests\n        run: |\n          set -x\n          set -e\n\n          python -We:invalid -We::SyntaxWarning -m compileall -f -q ndindex/\n          # The coverage requirement check is done by the coverage report line below\n          PYTEST_FLAGS=\"$PYTEST_FLAGS -v --cov-fail-under=0\";\n          pytest $PYTEST_FLAGS\n          # Coverage. This also sets the failing status if the\n          # coverage is not 100%. Travis sometimes cuts off the last command, which is\n          # why we print stuff at the end.\n          if ! coverage report -m; then\n              echo \"Coverage failed\";\n              false;\n          else\n              echo \"Coverage passed\";\n          fi;\n", "state": "active", "repository": "quansight-labs/ndindex"}
{"mined_at": "2024-07-15T13:03:00.090735", "created_at": "2022-01-24T23:28:04+01:00", "updated_at": "2022-01-24T23:28:04+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "quansight-labs/ndindex"}
{"mined_at": "2024-07-15T13:03:03.317543", "created_at": "2022-10-12T21:32:20+02:00", "updated_at": "2022-10-25T23:24:33+02:00", "name": "build", "path": ".github/workflows/build.yaml", "contents": "name: build\n\n# Build on every branch push, tag push, and pull request change:\n#on: [push] #, pull_request]\n# Alternatively, to publish when a (published) GitHub Release is created, use the following:\non:\n  push:\n    branches:\n      - 'westpa2'\n      - 'develop'\n    tags:\n      - 'v*'\n  pull_request:\n    branches:\n      - 'westpa2'\n  release:\n    types:\n      - published\n\njobs:\n  build_wheels:\n    name: Build py3.${{ matrix.python-version }} wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-13\", \"macos-latest\"]  # macos-13 is x86_64, macos-latest is arm64\n        python-version: [8, 9, 10, 11, 12] # sub-versions of Python\n        exclude:\n          - os: macos-14\n            python-version: 8\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: \"Install HDF5 with brew\"\n        if: ${{ matrix.os == 'macos-latest' }}\n        run: \"brew install hdf5\"\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.17.0\n        env:\n          CIBW_SKIP: \"pp* *-musllinux*\"\n          CIBW_BUILD: \"cp3${{ matrix.python-version }}-*\"\n          CIBW_ARCHS_MACOS: \"auto64\" # x86_64 and arm64, depending on the os\n          CIBW_ARCHS_LINUX: \"auto64\" # x86_64 only\n          CIBW_DEPENDENCY_VERSIONS: \"latest\"\n          CIBW_TEST_COMMAND: > \n            python -c \"import westpa; print(westpa.__version__)\" && \n            python -c \"import westpa.core.propagators\" &&\n            python -c \"import westpa.core.binning\" &&\n            python -c \"import westpa.core.kinetics\" &&\n            python -c \"import westpa.core.reweight\" &&\n            python -c \"import westpa.work_managers\" &&\n            python -c \"import westpa.tools\" &&\n            python -c \"import westpa.fasthist\" &&\n            python -c \"import westpa.mclib\" &&\n            echo \"All done with the import tests!\"\n            # Currently blocked by https://github.com/westpa/westpa/issues/70\n            #python -c \"import westpa.trajtree\"\n        with:\n          package-dir: .\n          output-dir: wheelhouse\n          config-file: \"{package}/pyproject.toml\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: artifact-wheels-${{ matrix.os }}-${{ matrix.python-version }}\n          path: ./wheelhouse/*.whl\n          overwrite: true\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      \n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Build sdist\n        run: pipx run build --sdist\n\n      - name: Install from sdist and import\n        run: |\n          python -m pip install dist/*.tar.gz &&\n          python -c \"import westpa; print(westpa.__version__)\" && \n          python -c \"import westpa.core.propagators\" &&\n          python -c \"import westpa.core.binning\" &&\n          python -c \"import westpa.core.kinetics\" &&\n          python -c \"import westpa.core.reweight\" &&\n          python -c \"import westpa.work_managers\" &&\n          python -c \"import westpa.tools\" &&\n          python -c \"import westpa.fasthist\" &&\n          python -c \"import westpa.mclib\" &&\n          echo \"All done with the import tests!\"\n          # Currently blocked by https://github.com/westpa/westpa/issues/70\n          # python -c \"import westpa.trajtree\"\n      - uses: actions/upload-artifact@v4\n        with:\n          name: artifact-sdist\n          path: dist/*.tar.gz\n          overwrite: true\n\n  upload_testpypi:\n    name: test.pypi\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    environment:\n      name: test.pypi\n      url: https://test.pypi.org/p/westpa\n    permissions:\n      id-token: write\n    # upload to test.PyPI on every tag starting with 'v'; only in westpa/westpa repository\n    # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')\n    # alternatively, to publish when a GitHub Release is created, use the following rule:\n    if: |\n      github.repository == 'westpa/westpa' &&\n      (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          # unpacks default artifact into dist/\n          # if `name: artifact` is omitted, the action will create extra parent dir\n          pattern: artifact-*\n          path: dist\n          merge-multiple: true\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository_url: https://test.pypi.org/legacy/\n\n  upload_pypi:\n    name: PyPI\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/westpa\n    permissions:\n      id-token: write\n    # upload to PyPI on every tag starting with 'v'\n    # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')\n    # alternatively, to publish when a GitHub Release is created, use the following rule:\n    if: |\n      github.repository == 'westpa/westpa' &&\n      (github.event_name == 'release' && github.event.action == 'published')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          # unpacks default artifact into dist/\n          # if `name: artifact` is omitted, the action will create extra parent dir\n          pattern: artifact-*\n          path: dist\n          merge-multiple: true\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n          # To test: \n          #repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "westpa/westpa"}
{"mined_at": "2024-07-15T13:03:04.535986", "created_at": "2023-01-04T17:30:02+01:00", "updated_at": "2023-01-27T17:48:12+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"develop\", \"westpa2\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"westpa2\" ]\n  schedule:\n    - cron: '30 22 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "westpa/westpa"}
{"mined_at": "2024-07-15T13:03:05.776388", "created_at": "2020-07-08T23:04:28+02:00", "updated_at": "2022-06-29T18:19:43+02:00", "name": "test", "path": ".github/workflows/test.yaml", "contents": "name: test\n\non:\n  push:\n    branches:\n      - \"westpa2\"\n      - \"develop\"\n  pull_request:\n    branches:\n      - \"westpa2\"\n      - \"develop\"\n  schedule:\n    # Weekly tests run on \"westpa2\" and \"develop\" on Thursdays 3:30 PM UTC (which is 10:30/11:30 EST/EDT)\n    #   Scheduled workflows run on the latest commit on the default or base branch.\n    #   (from https://help.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule)\n    - cron: \"30 15 * * 4\"\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Linting\n        run: |\n          pip install pre-commit\n          pre-commit run --all-files\n\n  test:\n    name: Test on ${{ matrix.os }}, Python ${{ matrix.python-version }}\n    runs-on: \"${{ matrix.os }}\"\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-13\", \"macos-latest\"]  # macos-13 is x86-64, macos-latest is arm64\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with: \n        fetch-depth: 2\n\n    - name: Additional info about the build\n      shell: bash\n      run: |\n        uname -a\n        df -h\n        ulimit -a\n\n    # More info on options: https://github.com/conda-incubator/setup-miniconda\n    - uses: conda-incubator/setup-miniconda@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n        miniforge-variant: Mambaforge\n        environment-file: devtools/conda-envs/test_env.yaml\n        activate-environment: test_env\n        channel-priority: true\n        auto-update-conda: true\n        auto-activate-base: false\n        show-channel-urls: true\n\n    - name: Install package\n      # conda setup requires this special shell\n      shell: bash -l {0}\n      run: |\n        conda info --all\n        python -m pip install . -v --no-deps\n        conda list\n\n    - name: Run tests\n      # conda setup requires this special shell\n      shell: bash -l {0}\n      run: |\n        pytest -v --cov=westpa --cov-report=xml --color=yes tests\n\n    - name: CodeCov\n      uses: codecov/codecov-action@v4\n      with:\n        file: ./coverage.xml\n        flags: unittests\n        name: codecov-{{ '${{ matrix.os }}' }}-py{{ '${{ matrix.python-version }}' }}\n        fail_ci_if_error: false\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  install-dev:\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-13\", \"macos-latest\"]  # macos-13 is x86-64, macos-latest is arm64\n\n    name: \"Verify dev env\"\n    runs-on: \"${{ matrix.os }}\"\n\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"3.11\"\n      - name: \"Install HDF5 with brew if macos-arm64\"\n        if: ${{ matrix.os == 'macos-latest' }}\n        run: \"brew install hdf5\"\n      - name: \"Install in dev mode\"\n        run: \"python -m pip install -e .[dev]\"\n      - name: \"Import package\"\n        run: \"python -c 'import westpa; print(westpa.__version__)'\"\n\n", "state": "active", "repository": "westpa/westpa"}
{"mined_at": "2024-07-15T13:03:06.880588", "created_at": "2022-01-20T05:47:27+01:00", "updated_at": "2022-01-20T05:47:27+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "westpa/westpa"}
{"mined_at": "2024-07-15T13:03:08.839944", "created_at": "2020-08-30T00:26:34+02:00", "updated_at": "2020-08-30T00:26:34+02:00", "name": "Run OS tests", "path": ".github/workflows/functional-tests.yml", "contents": "name: Run OS tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\n\njobs:\n  tests:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest, macos-latest, windows-latest]\n        shell: [bash]\n        include:\n          - platform: windows-latest\n            shell: powershell\n          - platform: windows-latest\n            shell: cmd\n    defaults:\n      run:\n        shell: ${{ matrix.shell }}\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 1\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.6.7'\n\n    - name: Set up environment\n      run: |\n        pip install pytest\n        git config --global user.name \"Github Actions\"\n        git config --global user.email \"action@github.com\"\n\n    - name: Synthesize level\n      run: |\n        python ./make_level.py -y testlevel1 \"Test Level 1\" testskill \"Test Skill\"\n        python ./make_level.py -y testlevel2 \"Test Level 2\" testskill\n\n    - name: Install Git Gud\n      run: |\n        pip install .\n\n    - name: Run tests\n      run: python -m pytest gitgud\n", "state": "active", "repository": "benthayer/git-gud"}
{"mined_at": "2024-07-15T13:03:09.881715", "created_at": "2020-08-14T03:48:59+02:00", "updated_at": "2020-08-14T03:48:59+02:00", "name": "Generate asciinema preview gif", "path": ".github/workflows/generate-preview.yml", "contents": "name: Generate asciinema preview gif\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  generate:\n    runs-on: ubuntu-latest\n    env:\n      DEMO_MAGIC_INSTALL: /tmp/demo-magic\n      TERM: xterm\n    steps:\n    # Checks-out the project under $GITHUB_WORKSPACE/git-gud\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n        path: git-gud\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n\n    - uses: actions/setup-node@v1\n      with:\n        node-version: '14'\n\n    - name: Set up packager-managed dependencies for gif build\n      # demo-magic.sh requires [pv]\n      run: |\n        sudo apt-get update\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n        pip install $GITHUB_WORKSPACE/git-gud\n        pip install asciinema\n        sudo apt-get install pv\n\n    - name: Download demo-magic.sh from repository\n      run: git clone --depth 1 https://github.com/paxtonhare/demo-magic.git $DEMO_MAGIC_INSTALL\n\n    - name: Test functionality of preview commands\n      run: |\n        chmod +x $GITHUB_WORKSPACE/git-gud/previewgif.sh\n        $GITHUB_WORKSPACE/git-gud/previewgif.sh $GITHUB_WORKSPACE/git-gud\n    \n    - name: Record to asciinema cast file (JSON)\n      run: |\n        python3 -m asciinema rec -c \"$GITHUB_WORKSPACE/git-gud/previewgif.sh $GITHUB_WORKSPACE/git-gud\" -e SHELL,TERM,DEMO_MAGIC_INSTALL asciicast.json\n        cp ./asciicast.json /tmp/build\n\n    - name: Upload asciicast.json\n      uses: actions/upload-artifact@v2\n      with:\n        name: asciicast.json\n        path: /tmp/build/asciicast.json\n\n    - name: Use dgzlopes/asciicast-to-gif-action@v1.0\n      uses: dgzlopes/asciicast-to-gif-action@v1.0\n      with:\n        input: asciicast.json\n        output: preview.gif\n\n    - name: Move preview.gif to build\n      run: |\n        mkdir /tmp/build\n        cp ./preview.gif /tmp/build\n\n    - name: Upload preview.gif\n      uses: actions/upload-artifact@v2\n      with:\n        name: preview.gif\n        path: /tmp/build/preview.gif\n\n  create-pr:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    needs: generate\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Download artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: preview.gif\n\n      - name: Set tag\n        id: vars\n        run: |\n          echo ::set-output name=tag::$(git describe --tags)\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          base: ascii-tagbranch\n          commit-message: Automated update of preview.gif\n          title: Updated preview.gif by create-pull-request@v3 action\n          branch: create-pull-request/previewgif-${{ steps.vars.outputs.tag }}\n", "state": "active", "repository": "benthayer/git-gud"}
{"mined_at": "2024-07-15T13:03:10.915360", "created_at": "2020-04-19T03:32:11+02:00", "updated_at": "2020-04-19T03:38:03+02:00", "name": "Push to open-source-at-illinois/git-gud", "path": ".github/workflows/mirror-osai.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Push to open-source-at-illinois/git-gud\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the main branch\non:\n  push:\n    branches: main\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n\n    # Runs a set of commands using the runners shell\n    - name: Push to open-source-at-illinois/git-gud\n      env:\n        OSAI_ID_RSA: ${{ secrets.OSAI_ID_RSA }}\n      run: |\n        mkdir $HOME/.ssh\n        chmod 700 $HOME/.ssh\n        echo \"$OSAI_ID_RSA\" > $HOME/.ssh/id_rsa\n        chmod 600 $HOME/.ssh/id_rsa\n        git remote add osai git@github.com:open-source-at-illinois/git-gud.git\n        git push -f osai main\n", "state": "active", "repository": "benthayer/git-gud"}
{"mined_at": "2024-07-15T13:03:11.968195", "created_at": "2020-04-17T03:55:33+02:00", "updated_at": "2020-07-09T01:15:44+02:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Validate version\n      run: |\n        version=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,' | sed -e 's/^v//')\n        echo Version=$version\n        [ \"$version\" == \"$( cat gitgud/version.txt )\" ]\n\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "benthayer/git-gud"}
{"mined_at": "2024-07-15T13:03:13.020626", "created_at": "2020-08-30T00:26:34+02:00", "updated_at": "2020-08-30T00:26:34+02:00", "name": "Check PEP8", "path": ".github/workflows/style.yml", "contents": "name: Check PEP8\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 1\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.6.7'\n\n    - name: Set up environment\n      run: |\n        pip install flake8\n\n    - name: Check flake8\n      run: python -m flake8 .\n", "state": "active", "repository": "benthayer/git-gud"}
{"mined_at": "2024-07-15T13:03:15.093342", "created_at": "2021-07-09T19:13:18+02:00", "updated_at": "2021-07-09T19:13:18+02:00", "name": "Purl GitHub Actions", "path": ".github/workflows/build_and_test.yml", "contents": "name: Purl GitHub Actions\n\non:\n  push:\n    branches:\n      - master \n  pull_request:\n    branches:\n      - master \n  workflow_dispatch:\n\njobs:\n  DockertTest:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: List files in the repository\n        run: |\n          ls ${{ github.workspace }}\n      \n      - name: Prepare\n        id: prep\n        run: |\n          TAG=latest\n          IMAGE=\"purl\"\n          echo ::set-output name=tagged_image::${IMAGE}:${TAG}\n          echo ::set-output name=tag::${TAG}\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@master\n\n      # Registry login step intentionally missing\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-single-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-single-buildx\n\n      - name: Build image\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          builder: ${{ steps.buildx.outputs.name }}\n          file: docker/Dockerfile\n          push: false \n          load: true\n          tags: ${{ steps.prep.outputs.tagged_image }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache-new\n\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n\n      - name: Run Tests \n        run: |\n          docker run -w /var/www/purl.obolibrary.org -v ${{ github.workspace }}:/var/www/purl.obolibrary.org -t purl:latest sudo make all test\n\n", "state": "active", "repository": "obofoundry/purl.obolibrary.org"}
{"mined_at": "2024-07-15T13:03:17.243868", "created_at": "2021-03-02T08:00:26+01:00", "updated_at": "2021-03-02T08:00:26+01:00", "name": "Anytask tests", "path": ".github/workflows/anytask.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Anytask tests\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n\n    services:\n      minio:\n        image: fclairamb/minio-github-actions\n        ports:\n          - 9000:9000\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: true\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        pip install pip>=9.0.1\n        pip install --upgrade flake8 'setuptools-scm==5.0.2'\n        pip install -r requirements_local.txt\n        sudo apt-get install -y p7zip-full tar xz-utils bzip2 gzip gettext\n    - name: Lint with flake8\n      run: |\n        cd anytask\n        flake8 --version\n        flake8\n    - name: Create MinIO test bucket\n      run: |\n        s3cmd --no-ssl --access_key minioadmin --secret_key minioadmin \\\n          --host localhost:9000 --host-bucket localhost:9000 \\\n          mb s3://anytask-test-s3\n    - name: Run django tests\n      run: |\n        cd anytask\n        python manage.py compilemessages\n        python manage.py test\n", "state": "active", "repository": "znick/anytask"}
{"mined_at": "2024-07-15T13:03:18.260066", "created_at": "2021-03-18T20:07:14+01:00", "updated_at": "2021-03-18T20:07:14+01:00", "name": "Deploy local beta", "path": ".github/workflows/deploy_local_beta.yml", "contents": "# This workflow deploy beta anytask locally\n\nname: Deploy local beta\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: true\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n            python-version: 3.8\n      - name: Install dependencies\n        run: pip3 install virtualenv\n      - name: Deploy\n        run: source deploy_local_beta/run.sh --python-path=python3\n", "state": "active", "repository": "znick/anytask"}
{"mined_at": "2024-07-15T13:03:19.276339", "created_at": "2021-04-10T10:34:38+02:00", "updated_at": "2021-04-10T10:34:38+02:00", "name": "Check licenses of dependencies", "path": ".github/workflows/licensed.yml", "contents": "name: Check licenses of dependencies\n\non: [push, pull_request]\n\njobs:\n  licensed_check:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: true\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - uses: jonabc/setup-licensed@v1\n        with:\n          version: '2.15.2'\n      - name: Install virtualenv\n        run: pip3 install virtualenv\n      - name: Init virtualenv and install dependencies\n        run: |\n          virtualenv --python=python3 venv\n          . venv/bin/activate\n          pip install pip>=9.0.1\n          pip install --upgrade flake8 'setuptools-scm==5.0.2'\n          pip install -r requirements.txt\n      - name: Check licenses status\n        run: |\n          licensed cache\n          licensed status\n", "state": "active", "repository": "znick/anytask"}
{"mined_at": "2024-07-15T13:03:21.389305", "created_at": "2021-10-08T14:37:44+02:00", "updated_at": "2021-10-08T14:37:44+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\non:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Cloud SDK\n        uses: google-github-actions/setup-gcloud@master\n        with:\n          project_id: ${{ secrets.GOOGLE_PROJECT_ID }}\n          service_account_key: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}\n          export_default_credentials: true\n      - name: Kube setup\n        run: ./bin/kube-setup.sh\n      - name: Kube deploy\n        run: ./bin/kube-deploy.sh\n      - name: Bugsnag hook\n        run: ./bin/bugsnag-hook.sh\n", "state": "active", "repository": "openstate/open-raadsinformatie"}
{"mined_at": "2024-07-15T13:03:22.466358", "created_at": "2021-10-08T14:07:00+02:00", "updated_at": "2021-10-08T14:07:00+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n  workflow_dispatch:\n\nenv:\n  REGISTRY: ghcr.io\n  # openstatefoundation/open-raadsinformatie\n  IMAGE_NAME: ${{ github.repository }}\n  # ghcr.io/openstatefoundation/open-raadsinformatie\n  FULL_IMAGE_NAME: ghcr.io/${{ github.repository }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Build\n        run: |\n          sudo docker pull openstatefoundation/open-raadsinformatie-backend:build-tmp\n          sudo docker-compose build\n          sudo docker-compose -f docker-compose.yml -f docker-compose.test.yml up --build -d\n          sleep 4 && docker ps -a\n          APP_VERSION=$(python -c \"import version; import sys; sys.path.insert(0, '/opt/ori'); print(version.__version__)\")\n\n      - name: Test & Lint\n        run: |\n          docker exec ori_backend_1 bin/run_tests.sh 2>&1\n          docker exec ori_backend_1 pylint ocd_backend -E -sy\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n        with:\n          images: ${{ env.FULL_IMAGE_NAME }}\n\n      - name: Push docker images\n        run: |\n          docker push ${{ env.FULL_IMAGE_NAME }}:latest\n          docker tag ${{ env.FULL_IMAGE_NAME }}:latest ${{ env.FULL_IMAGE_NAME }}:run${{ github.run_number }}\n          docker push ${{ env.FULL_IMAGE_NAME }}:run${{ github.run_number }}\n          docker tag ${{ env.FULL_IMAGE_NAME }}:latest ${{ env.FULL_IMAGE_NAME }}:build-tmp\n          docker push ${{ env.FULL_IMAGE_NAME }}:build-tmp\n", "state": "active", "repository": "openstate/open-raadsinformatie"}
{"mined_at": "2024-07-15T13:03:24.605436", "created_at": "2021-06-21T13:26:46+02:00", "updated_at": "2023-07-13T09:45:41+02:00", "name": "Build reducer and combiner on branch push", "path": ".github/workflows/build-on-branch.yaml", "contents": null, "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:25.749024", "created_at": "2022-02-14T13:40:16+01:00", "updated_at": "2022-03-10T10:15:16+01:00", "name": "branch name check", "path": ".github/workflows/branch-name-check.yaml", "contents": "name: \"branch name check\"\n\non: \n  push:\n    branches-ignore:\n      - develop\n      - master\n\nenv:\n  BRANCH_REGEX: '^((feature|github|dependabot|hotfix|bugfix|fix|bug|docs|refactor)\\/.+)|(release\\/v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?))$'\n\njobs:\n  branch-name-check:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n      \n      - name: branch name check\n        run: |\n          git rev-parse --abbrev-ref HEAD | grep -P \"$BRANCH_REGEX\"", "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:26.972132", "created_at": "2022-03-01T14:17:34+01:00", "updated_at": "2023-03-13T15:40:20+01:00", "name": "integration tests", "path": ".github/workflows/integration-tests.yaml", "contents": "name: \"integration tests\"\n\non:\n  push:\n    paths-ignore:\n      - 'docs/**'\n      - '.github/**'\n    branches:\n      - master\n      - develop\n      - \"release/**\"\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '.github/**'\n    branches:\n      - \"**\"\n\njobs:\n  integration-tests:\n    strategy:\n      matrix:\n        to_test:\n          - \"mnist-keras numpyhelper\"\n          - \"mnist-pytorch numpyhelper\"\n        python_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os:\n          - ubuntu-22.04\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: run ${{ matrix.to_test }}\n        run: .ci/tests/examples/run.sh ${{ matrix.to_test }}\n\n      # - name: run ${{ matrix.to_test }} inference\n      #   run: .ci/tests/examples/run_inference.sh ${{ matrix.to_test }}\n      #   if: ${{ matrix.os != 'macos-11' && matrix.to_test == 'mnist-keras keras' }} # example available for Keras\n\n      - name: print logs\n        if: failure()\n        run: .ci/tests/examples/print_logs.sh\n", "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:27.982054", "created_at": "2022-05-02T15:15:14+02:00", "updated_at": "2022-08-02T14:20:56+02:00", "name": "build containers", "path": ".github/workflows/build-containers.yaml", "contents": "name: \"build containers\"\n\non:\n  push:\n    branches:\n      - master\n      - develop\n  pull_request:\n    branches:\n      - develop\n      - master\n  release:\n    types: [published]\n\njobs:\n  build-containers:\n    runs-on: ubuntu-20.04\n\n    permissions:\n      packages: write\n      contents: read\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Docker meta fedn\n        id: meta1\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            docker.pkg.github.com/${{ github.repository }}/fedn\n          tags: |\n            type=ref,event=branch\n            type=ref,event=pr\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=sha\n\n      - name: Log in to GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: docker.pkg.github.com\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      \n\n      - name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          push: \"${{ github.event_name != 'pull_request' }}\"\n          tags: ${{ steps.meta1.outputs.tags }}\n          labels: ${{ steps.meta1.outputs.labels }}\n          file: Dockerfile\n", "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:29.122186", "created_at": "2022-05-30T12:44:23+02:00", "updated_at": "2022-08-02T14:20:56+02:00", "name": "code checks", "path": ".github/workflows/code-checks.yaml", "contents": "name: \"code checks\"\n\non: push\n\njobs:\n  code-checks:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: init venv\n        run: .devcontainer/bin/init_venv.sh\n\n      - name: Ruff Linting\n        uses: chartboost/ruff-action@v1\n\n      - name: check for floating imports\n        run: >\n          ! grep -E -R \n          --exclude-dir='.venv' \n          --exclude-dir='.mnist-pytorch' \n          --exclude-dir='.mnist-keras' \n          --exclude-dir='.huggingface'\n          --exclude-dir='docs'\n          --exclude-dir='flower-client'\n          --exclude='tests.py'\n          --exclude='README.rst'\n          '^[ \\t]+(import|from) ' -I . \n\n      # TODO: add linting/formatting for all file types", "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:30.255875", "created_at": "2024-04-20T13:57:54+02:00", "updated_at": "2024-04-23T10:08:08+02:00", "name": "Publish Python distribution to PyPI", "path": ".github/workflows/push-to-pypi.yaml", "contents": "name: Publish Python distribution to PyPI\n\non:\n  release:\n    types: [created]\n\njobs:\n  build-and-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install pypa/build\n        run: python -m pip install build\n        working-directory: ./\n\n      - name: Build package\n        run: python -m build\n        working-directory: ./\n\n      - name: Publish to Test PyPI\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n          packages_dir: ./dist\n", "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:31.333193", "created_at": "2024-06-05T22:34:40+02:00", "updated_at": "2024-06-05T22:34:40+02:00", "name": "FEDn Studio Test", "path": ".github/workflows/fedn-studio-test.yaml", "contents": null, "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:32.375813", "created_at": "2024-06-10T11:27:09+02:00", "updated_at": "2024-06-10T11:27:09+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:33.391173", "created_at": "2024-06-11T13:12:46+02:00", "updated_at": "2024-06-11T14:09:59+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yaml", "contents": "name: \"Pull Request Labeler\"\non:\n  pull_request:\n      types: [opened, synchronize, reopened]\n\njobs:\n  labeler:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v5\n          ", "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:34.437618", "created_at": "2024-06-11T13:12:46+02:00", "updated_at": "2024-06-11T13:12:46+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yaml", "contents": null, "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:35.749022", "created_at": "2024-06-11T13:12:46+02:00", "updated_at": "2024-06-11T14:09:59+02:00", "name": "PR Size Labeler", "path": ".github/workflows/pr_size_labeler.yaml", "contents": "name: \"PR Size Labeler\"\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Get PR Size\n        id: get_pr_size\n        run: |\n          CHANGED_FILES=$(jq '.pull_request.changed_files' $GITHUB_EVENT_PATH)\n          ADDITIONS=$(jq '.pull_request.additions' $GITHUB_EVENT_PATH)\n          DELETIONS=$(jq '.pull_request.deletions' $GITHUB_EVENT_PATH)\n          echo \"CHANGED_FILES=$CHANGED_FILES\" >> $GITHUB_ENV\n          echo \"ADDITIONS=$ADDITIONS\" >> $GITHUB_ENV\n          echo \"DELETIONS=$DELETIONS\" >> $GITHUB_ENV\n\n        # OBS that we are cuurently not on a stable version, thus major is disabled for now\n      - name: Apply Labels Based on Size\n        if: ${{ github.event.pull_request.changed_files != '' }}\n        run: |\n          PATCH_THRESHOLD=10\n          MINOR_THRESHOLD=500\n          MAJOR_THRESHOLD=1000\n\n          TOTAL_CHANGES=$(($ADDITIONS + $DELETIONS))\n\n          echo \"Total changes: $TOTAL_CHANGES\"\n\n          if [ \"$TOTAL_CHANGES\" -le \"$PATCH_THRESHOLD\" ]; then\n            LABEL=\"patch\"\n          elif [ \"$TOTAL_CHANGES\" -le \"$MINOR_THRESHOLD\" ]; then\n            LABEL=\"minor\"\n          else\n            LABEL=\"minor\"\n          fi\n\n          echo \"Applying label: $LABEL\"\n\n          curl -s -X POST -H \"Authorization: token $GITHUB_TOKEN\" \\\n            -H \"Accept: application/vnd.github.v3+json\" \\\n            https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels \\\n            -d \"{\\\"labels\\\":[\\\"$LABEL\\\"]}\"\n\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          ADDITIONS: ${{ env.ADDITIONS }}\n          DELETIONS: ${{ env.DELETIONS }}", "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:37.849458", "created_at": "2024-06-11T13:22:39+02:00", "updated_at": "2024-06-11T14:09:59+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - master\n  # pull_request event is required only for autolabeler\n  pull_request:\n    # Only following types are handled by the action, but one can default to all as well\n    types: [opened, reopened, synchronize]\n  # pull_request_target event is required for autolabeler to support PRs from forks\n  # pull_request_target:\n  #   types: [opened, reopened, synchronize]\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n      # write permission is required to create a github release\n      contents: write\n      # write permission is required for autolabeler\n      # otherwise, read permission is required at least\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      # (Optional) GitHub Enterprise requires GHE_HOST variable set\n      #- name: Set GHE_HOST\n      #  run: |\n      #    echo \"GHE_HOST=${GITHUB_SERVER_URL##https:\\/\\/}\" >> $GITHUB_ENV\n\n      # Drafts your next Release notes as Pull Requests are merged into \"master\"\n      - uses: release-drafter/release-drafter@v6\n        # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml\n        # with:\n        #   config-name: my-config.yml\n        #   disable-autolabeler: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:39.944735", "created_at": "2024-07-04T11:39:32+02:00", "updated_at": "2024-07-04T11:39:32+02:00", "name": "PR Title Check", "path": ".github/workflows/pr-title-check.yaml", "contents": null, "state": "active", "repository": "scaleoutsystems/fedn"}
{"mined_at": "2024-07-15T13:03:42.142582", "created_at": "2020-09-25T17:35:43+02:00", "updated_at": "2020-09-25T17:35:43+02:00", "name": ".github/workflows/bats.yaml", "path": ".github/workflows/bats.yaml", "contents": "# SPDX-FileCopyrightText: 2009 Fermi Research Alliance, LLC\n# SPDX-License-Identifier: Apache-2.0\n\non: [pull_request, push]\n\njobs:\n  bats_job:\n    runs-on: ubuntu-latest\n    name: A job to run BATS tests\n    steps:\n      - name: Sparse checkout\n        shell: bash\n        run: |\n          REPO=\"https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git\"\n          BRANCH=\"${GITHUB_REF/#refs\\/heads\\//}\"\n          # Following code is based on logs of actions/checkout@v, with sparseCheckout stuff inserted in the middle\n          echo \"Syncing repository: $GITHUB_REPOSITORY\"\n          echo \"Working directory is '$(pwd)' GITHUB_WORKSPACE=$GITHUB_WORKSPACE BRANCH=$BRANCH\"\n          git version\n          git init $GITHUB_WORKSPACE\n          git remote add origin https://github.com/$GITHUB_REPOSITORY\n          git config --local gc.auto 0\n          # Now interesting part\n          git config core.sparseCheckout true\n          # Add here contents of sparse-checkout line by line\n          echo \".github\" >> .git/info/sparse-checkout\n          git -c protocol.version=2 fetch --no-tags --prune --progress --depth=10 origin +${GITHUB_SHA}:refs/remotes/origin/${BRANCH}\n          git checkout --progress --force -B ${BRANCH} refs/remotes/origin/${BRANCH}\n        id: sparse-checkout\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          path: \"glideinwms\"\n      - name: bats test action step\n        id: bats\n        uses: ./.github/actions/bats-in-docker\n      - name: Archive bats log\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: reports\n          path: logs.tar.bz2\n          retention-days: 14\n", "state": "active", "repository": "glideinwms/glideinwms"}
{"mined_at": "2024-07-15T13:03:43.425333", "created_at": "2021-11-10T03:29:35+01:00", "updated_at": "2021-11-10T03:29:35+01:00", "name": ".github/workflows/build.yaml", "path": ".github/workflows/build.yaml", "contents": "# SPDX-FileCopyrightText: 2009 Fermi Research Alliance, LLC\n# SPDX-License-Identifier: Apache-2.0\n\non:\n  push:\n    branches:\n      - master\n      - branch_v3_11\njobs:\n  build_job:\n    runs-on: ubuntu-latest\n    name: A job to build GWMS RPMs\n    steps:\n      - name: Sparse checkout\n        shell: bash\n        run: |\n          REPO=\"https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git\"\n          BRANCH=\"${GITHUB_REF/#refs\\/heads\\//}\"\n          # Following code is based on logs of actions/checkout@v, with sparseCheckout stuff inserted in the middle\n          echo \"Syncing repository: $GITHUB_REPOSITORY\"\n          echo \"Working directory is '$(pwd)' GITHUB_WORKSPACE=$GITHUB_WORKSPACE BRANCH=$BRANCH\"\n          git version\n          git init $GITHUB_WORKSPACE\n          git remote add origin https://github.com/$GITHUB_REPOSITORY\n          git config --local gc.auto 0\n          # Now interesting part\n          git config core.sparseCheckout true\n          # Add here contents of sparse-checkout line by line\n          echo \".github\" >> .git/info/sparse-checkout\n          git -c protocol.version=2 fetch --no-tags --prune --progress --depth=10 origin +${GITHUB_SHA}:refs/remotes/origin/${BRANCH}\n          git checkout --progress --force -B ${BRANCH} refs/remotes/origin/${BRANCH}\n        id: sparse-checkout\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          path: \"glideinwms\"\n      - name: RPM build action step\n        id: build_rpm\n        uses: ./.github/actions/build-in-docker\n      - name: Archive RPM packages\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: rpmpackages\n          path: rpms.tar.bz2\n          retention-days: 7\n", "state": "active", "repository": "glideinwms/glideinwms"}
{"mined_at": "2024-07-15T13:03:44.502103", "created_at": "2020-10-06T05:51:15+02:00", "updated_at": "2022-02-09T04:28:07+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# SPDX-FileCopyrightText: 2009 Fermi Research Alliance, LLC\n# SPDX-License-Identifier: Apache-2.0\n\n# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: \"0 22 * * 0\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: [\"python\", \"javascript\"]\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          # We must fetch at least the immediate parents so that if this is\n          # a pull request then we can checkout the head.\n          fetch-depth: 2\n\n      # If this run was triggered by a pull request event, then checkout\n      # the head of the pull request instead of the merge commit.\n      - run: git checkout HEAD^2\n        if: ${{ github.event_name == 'pull_request' }}\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "glideinwms/glideinwms"}
{"mined_at": "2024-07-15T13:03:45.634217", "created_at": "2022-02-10T22:44:11+01:00", "updated_at": "2022-02-10T22:44:11+01:00", "name": "Build and Push Docker image (CI)", "path": ".github/workflows/docker_build.yml", "contents": "# SPDX-FileCopyrightText: 2009 Fermi Research Alliance, LLC\n# SPDX-License-Identifier: Apache-2.0\n\n# This workflow can be triggered w/ a dispatch event, e.g.:\n#  curl -X POST -H \"Authorization: token $(cat ../token_file)\" \\\n#    -H \"Content-Type: application/json\" -H \"Accept: application/vnd.github.v3+json\" \\\n#    https://api.github.com/repos/glideinwms/glideinwms/dispatches \\\n#    -d '{\"event_type\":\"docker-build\", \"client_payload\": {\"label\":\"latest\", \"date_tag\":true}}'\n# A valid GitHub token must be saved in the file (so that is presented in the authorization)\n# otherwise a misleading \"Not Found\" message is returned. No reply is provided for successful posts.\n# The client_payload label and date_tag are optional\n#  label is used as Docker Hub label instead of \"latest\"\n#  if date_tag id true a date tag is added to the Docker Hub label (+%Y%m%d-%H%M)\n# -X POST is also optional\n\nname: Build and Push Docker image (CI)\n\non:\n  push:\n    branches: [master, master_ci]\n    path:\n      - build/packaging/containers/gwms-ci-sl7/Dockerfile\n      - build/packaging/containers/gwms-ci-sl7/Dockerfile\n  repository_dispatch:\n    types:\n      - docker-build\n\nenv:\n  DH_LABEL: latest\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: set label\n        continue-on-error: true\n        if: ${{ github.event.client_payload.label }}\n        run: |\n          echo \"DH_LABEL=${{ github.event.client_payload.label }}\" >> $GITHUB_ENV\n\n      - name: make date tag\n        id: mkdatetag\n        run: echo \"::set-output name=dtag::$(date +%Y%m%d-%H%M)\"\n\n      - name: add date tag\n        continue-on-error: true\n        if: ${{ github.event.client_payload.date_tag }}\n        run: |\n          echo \"DH_LABEL=$DH_LABEL-${{ steps.mkdatetag.outputs.dtag }}\" >> $GITHUB_ENV\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          context: build/packaging/containers\n          file: build/packaging/containers/gwms-ci-el9/Dockerfile\n          tags: glideinwms/gwms-ci-el9:${{env.DH_LABEL}}\n", "state": "active", "repository": "glideinwms/glideinwms"}
{"mined_at": "2024-07-15T13:03:46.807544", "created_at": "2022-09-30T17:26:35+02:00", "updated_at": "2022-09-30T17:26:35+02:00", "name": "Issue labeler", "path": ".github/workflows/issue-labeler.yaml", "contents": "# SPDX-FileCopyrightText: 2009 Fermi Research Alliance, LLC\n# SPDX-License-Identifier: Apache-2.0\n\nname: Issue labeler\non:\n  issues:\n    types: opened\n\njobs:\n  label_issues_using_regex:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - name: RegEx-based Issue Labeler\n        uses: github/issue-labeler@v3.1\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          configuration-path: .github/issue-labeler-config-regexes.yaml\n          # from the third-party documentation:\n          # not-before attribute is optional and will result in any issues prior to this timestamp to be ignored.\n          not-before: 2022-08-31T11:59:59Z\n          # from the third-party documentation:\n          # issue template gets updated, this can have an impact on existing issues. The below allows\n          # you to version your regular expression definitions and pair them with issue templates.\n          enable-versioned-regex: 0\n", "state": "active", "repository": "glideinwms/glideinwms"}
{"mined_at": "2024-07-15T13:03:48.145389", "created_at": "2020-09-25T17:35:43+02:00", "updated_at": "2021-05-20T21:44:26+02:00", "name": "PyCodeStyle", "path": ".github/workflows/pycodestyle.yaml", "contents": "# SPDX-FileCopyrightText: 2009 Fermi Research Alliance, LLC\n# SPDX-License-Identifier: Apache-2.0\n\nname: PyCodeStyle\non:\n  pull_request:\n  push:\n#    branches:  # to limit the actions only for push to some branches\n#      - main\n#      - branch*\n#    paths-ignore:  # to exclude the action when the commit is in one path\n#    - 'docs/**'\n\n# there can be multiple jobs and they run in independent environments, in parallel (unless there are dependencies),\n# can produce outputs (for dependent jobs)\n# jobs can be services, e.g. DB, needed by other jobs\njobs:\n  pycodestyle_job:\n    runs-on: ubuntu-latest # ubuntu-latest or ubuntu-18.04\n    name: A job to run the pycodestyle checks\n    env:\n      RESULTS_FILE: pycodestyle-results.txt\n    # there can be multiple steps, sequential, can skip if \"if\" expression evaluates to false ( failure(), ...)\n    # run on shell (unless bash {0} , -e is used) or\n    # uses actions or docker images (with entrypoint, args can override the image ones)\n    # the exit code of the last command is the one of the step and determines fail/succeed\n    # job fails if a step fails (unless continue-on-error is in the step)\n    steps:\n      - name: Download previous pycodestyle warnings count\n        uses: actions/download-artifact@v4\n        id: download\n        with:\n          name: pycodestyle # includes a file pycodestyle-warnings.txt\n        continue-on-error: true\n      - name: Sparse checkout\n        shell: bash\n        run: |\n          REPO=\"https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git\"\n          BRANCH=\"${GITHUB_REF/#refs\\/heads\\//}\"\n          # Following code is based on logs of actions/checkout@v, with sparseCheckout stuff inserted in the middle\n          echo \"Syncing repository: $GITHUB_REPOSITORY\"\n          echo \"Working directory is '$(pwd)' GITHUB_WORKSPACE=$GITHUB_WORKSPACE BRANCH=$BRANCH\"\n          git version\n          git init $GITHUB_WORKSPACE\n          git remote add origin https://github.com/$GITHUB_REPOSITORY\n          git config --local gc.auto 0\n          # Now interesting part\n          git config core.sparseCheckout true\n          # Add here contents of sparse-checkout line by line\n          echo \".github\" >> .git/info/sparse-checkout\n          # the --progress option requires git 2.x, SL7 has 1.8\n          git -c protocol.version=2 fetch --no-tags --prune --progress --depth=10 origin +${GITHUB_SHA}:refs/remotes/origin/${BRANCH}\n          git checkout --progress --force -B ${BRANCH} refs/remotes/origin/${BRANCH}\n        id: sparse-checkout\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          path: \"glideinwms\"\n        id: checkout\n      #      - name: Setup python  # Not really needed because the test run in a container\n      #        uses: actions/setup-python@v2\n      #        with:\n      #          python-version: '3.6' # was 3.x, Version range or exact version of a Python version to use, using SemVer's version range syntax\n      #          architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified\n      - name: pycodestyle action step\n        uses: ./.github/actions/pycodestyle-in-docker\n        id: pycodestyle\n      - name: Check pycodestyle results\n        id: pycodestyle_check\n        shell: bash\n        run: |\n          [[ ! -e pycodestyle-warnings.txt ]] && touch pycodestyle-warnings.txt || true\n          saved_warnings=$(cat pycodestyle-warnings.txt)\n          # current_warnings=`cat result-pycodestyle-warnings.txt`\n          current_warnings=${{ steps.pycodestyle.outputs.warnings }}\n          warnings_updated=false\n          test_ok=true\n          if [[ -z \"$saved_warnings\" ]] || [[ \"$current_warnings\" -lt \"$saved_warnings\" ]]; then\n            # No previos value, or new lower value, save the current one\n            echo \"$current_warnings\" > pycodestyle-warnings.txt\n            warnings_updated=true\n          elif [[ \"$current_warnings\" -gt \"$saved_warnings\" ]]; then\n            test_ok=false\n          fi\n          echo \"PyCodeStyle warnings $current_warnings. Previous value $saved_warnings. Updated $warnings_updated, Success $test_ok\"\n          echo \"# pycodestyle results\" > $RESULTS_FILE\n          echo \"warnings_current=$current_warnings\" >> $RESULTS_FILE\n          echo \"warnings_previous=$saved_warnings\" >> $RESULTS_FILE\n          echo \"success=$test_ok\" >> $RESULTS_FILE\n          echo \"::set-output name=warnings_updated::$warnings_updated\"\n          $test_ok\n      - name: Upload pycodestyle warnings count if improved\n        if: steps.pycodestyle_check.outputs.warnings_updated == 'true'\n        uses: actions/upload-artifact@v4\n        with:\n          name: pycodestyle\n          path: pycodestyle-warnings.txt\n      - name: Archive reports\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: reports\n          path: |\n            $RESULTS_FILE\n            logs.tar.bz2\n          retention-days: 14\n", "state": "active", "repository": "glideinwms/glideinwms"}
{"mined_at": "2024-07-15T13:03:49.216775", "created_at": "2020-09-25T17:35:43+02:00", "updated_at": "2020-09-25T17:35:43+02:00", "name": ".github/workflows/pylint.yaml", "path": ".github/workflows/pylint.yaml", "contents": "# SPDX-FileCopyrightText: 2009 Fermi Research Alliance, LLC\n# SPDX-License-Identifier: Apache-2.0\n\non: [pull_request, push]\n\njobs:\n  pylint_job:\n    runs-on: ubuntu-latest\n    name: A job to run the pylint checks\n    steps:\n      - name: Sparse checkout\n        shell: bash\n        run: |\n          REPO=\"https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git\"\n          BRANCH=\"${GITHUB_REF/#refs\\/heads\\//}\"\n          # Following code is based on logs of actions/checkout@v, with sparseCheckout stuff inserted in the middle\n          echo \"Syncing repository: $GITHUB_REPOSITORY\"\n          echo \"Working directory is '$(pwd)' GITHUB_WORKSPACE=$GITHUB_WORKSPACE BRANCH=$BRANCH\"\n          git version\n          git init $GITHUB_WORKSPACE\n          git remote add origin https://github.com/$GITHUB_REPOSITORY\n          git config --local gc.auto 0\n          # Now interesting part\n          git config core.sparseCheckout true\n          # Add here contents of sparse-checkout line by line\n          echo \".github\" >> .git/info/sparse-checkout\n          git -c protocol.version=2 fetch --no-tags --prune --progress --depth=10 origin +${GITHUB_SHA}:refs/remotes/origin/${BRANCH}\n          git checkout --progress --force -B ${BRANCH} refs/remotes/origin/${BRANCH}\n        id: sparse-checkout\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          path: \"glideinwms\"\n        id: checkout\n      - name: pylint action step\n        uses: ./.github/actions/pylint-in-docker\n        id: pylint\n      - name: Archive reports\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: reports\n          path: logs.tar.bz2\n          retention-days: 14\n", "state": "active", "repository": "glideinwms/glideinwms"}
{"mined_at": "2024-07-15T13:03:50.240965", "created_at": "2020-09-25T17:35:43+02:00", "updated_at": "2020-09-25T17:35:43+02:00", "name": ".github/workflows/pyunittest.yaml", "path": ".github/workflows/pyunittest.yaml", "contents": "# SPDX-FileCopyrightText: 2009 Fermi Research Alliance, LLC\n# SPDX-License-Identifier: Apache-2.0\n\non: [pull_request, push]\n\njobs:\n  unit_test_job:\n    runs-on: ubuntu-latest\n    name: A job to run unit tests\n    steps:\n      - name: Sparse checkout\n        shell: bash\n        run: |\n          REPO=\"https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git\"\n          BRANCH=\"${GITHUB_REF/#refs\\/heads\\//}\"\n          # Following code is based on logs of actions/checkout@v, with sparseCheckout stuff inserted in the middle\n          echo \"Syncing repository: $GITHUB_REPOSITORY\"\n          echo \"Working directory is '$(pwd)' GITHUB_WORKSPACE=$GITHUB_WORKSPACE BRANCH=$BRANCH\"\n          git version\n          git init $GITHUB_WORKSPACE\n          git remote add origin https://github.com/$GITHUB_REPOSITORY\n          git config --local gc.auto 0\n          # Now interesting part\n          git config core.sparseCheckout true\n          # Add here contents of sparse-checkout line by line\n          echo \".github\" >> .git/info/sparse-checkout\n          git -c protocol.version=2 fetch --no-tags --prune --progress --depth=10 origin +${GITHUB_SHA}:refs/remotes/origin/${BRANCH}\n          git checkout --progress --force -B ${BRANCH} refs/remotes/origin/${BRANCH}\n        id: sparse-checkout\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          path: \"glideinwms\"\n      - name: unit test action step\n        id: unit_test\n        uses: ./.github/actions/pyunittest-in-docker\n      - name: Archive unittest log\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: reports\n          path: logs.tar.bz2\n          retention-days: 14\n", "state": "active", "repository": "glideinwms/glideinwms"}
{"mined_at": "2024-07-15T13:03:51.319663", "created_at": "2021-12-07T20:10:23+01:00", "updated_at": "2022-02-09T04:28:07+01:00", "name": "REUSE Licensing test", "path": ".github/workflows/reuse.yaml", "contents": "# SPDX-FileCopyrightText: 2009 Fermi Research Alliance, LLC\n# SPDX-License-Identifier: Apache-2.0\n\nname: REUSE Licensing test\non:\n  pull_request:\n  push:\n    branches:\n      - master\n      - branch_v3_9\n\njobs:\n  bats_job:\n    runs-on: ubuntu-latest\n    name: Run REUSE to check license compliance\n    steps:\n      - name: Sparse checkout\n        shell: bash\n        run: |\n          REPO=\"https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git\"\n          BRANCH=\"${GITHUB_REF/#refs\\/heads\\//}\"\n          # Following code is based on logs of actions/checkout@v, with sparseCheckout stuff inserted in the middle\n          echo \"Syncing repository: $GITHUB_REPOSITORY\"\n          echo \"Working directory is '$(pwd)' GITHUB_WORKSPACE=$GITHUB_WORKSPACE BRANCH=$BRANCH\"\n          git version\n          git init $GITHUB_WORKSPACE\n          git remote add origin https://github.com/$GITHUB_REPOSITORY\n          git config --local gc.auto 0\n          # Now interesting part\n          git config core.sparseCheckout true\n          # Add here contents of sparse-checkout line by line\n          echo \".github\" >> .git/info/sparse-checkout\n          git -c protocol.version=2 fetch --no-tags --prune --progress --depth=10 origin +${GITHUB_SHA}:refs/remotes/origin/${BRANCH}\n          git checkout --progress --force -B ${BRANCH} refs/remotes/origin/${BRANCH}\n        id: sparse-checkout\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          path: \"glideinwms\"\n      - name: reuse lint action step\n        id: reuse\n        uses: fsfe/reuse-action@v2\n        with:\n          args: --root ./glideinwms lint\n", "state": "active", "repository": "glideinwms/glideinwms"}
{"mined_at": "2024-07-15T13:03:53.584312", "created_at": "2021-08-19T09:20:56+02:00", "updated_at": "2021-08-20T16:02:22+02:00", "name": "Build", "path": ".github/workflows/ci.yml", "contents": "name: Build\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  release:\n    types: [published]\n\njobs:\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.x\"\n\n      - name: Install build dependencies\n        run: python -m pip install build setuptools\n\n      - name: Build sdist\n        run: python -m build --sdist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: sdist\n          path: dist/*.tar.gz\n\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }} (${{ matrix.build }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        build: [cp38, cp39, cp310, cp311, cp312]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n\n      - name: Install cibuildwheel\n        run: python -m pip install cibuildwheel==2.18.1\n\n      - name: Set up QEMU\n        if: runner.os == 'Linux'\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: arm64\n\n      - name: Build wheels\n        run: python -m cibuildwheel --output-dir wheelhouse\n        env:\n          CIBW_BUILD: ${{ matrix.build }}-*\n          CIBW_ARCHS_LINUX: auto aarch64\n          CIBW_ARCHS_MACOS: x86_64 arm64\n          CIBW_TEST_COMMAND: pytest {project}/tests\n          CIBW_TEST_SKIP: \"*arm64 *aarch64 *musllinux* *i686 *win32\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheel-${{ matrix.os }}-${{ matrix.build }}\n          path: ./wheelhouse/*.whl\n\n  publish:\n    name: Upload packages to PyPI\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: ${{ secrets.PYPI_USERNAME }}\n          password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "psd-tools/psd-tools"}
{"mined_at": "2024-07-15T13:03:56.059404", "created_at": "2022-05-13T10:39:21+02:00", "updated_at": "2023-04-12T14:29:29+02:00", "name": "Indy Node - PR Workflow", "path": ".github/workflows/PR.yaml", "contents": "name: Indy Node - PR Workflow\non:\n  pull_request:\n    paths:\n      - '**'\n      - \"!indy_node/__version__.json\"\n\n    branches:\n      - main\n\n  workflow_dispatch:\n\njobs:\n  workflow-setup:\n    name: Initialize Workflow\n    runs-on: ubuntu-latest\n    outputs:\n      CACHE_KEY_BUILD: ${{ steps.setup.outputs.CACHE_KEY_BUILD }}\n      UBUNTU_VERSION: ${{ steps.setup.outputs.UBUNTU_VERSION }}\n      # Expose the lowercase version of the GitHub repository name\n      # to all subsequent jobs that reference image repositories\n      # as the push and pull operations require the URL of the repository\n      # to be in lowercase.\n      GITHUB_REPOSITORY_NAME: ${{ steps.setup.outputs.GITHUB_REPOSITORY_NAME }}\n      distribution: ${{ steps.setup.outputs.distribution }}\n      publish: ${{ steps.setup.outputs.publish }}\n      testsNeeded: ${{ steps.testsNeeded.outputs.testsNeeded }}\n    steps:\n      - name: checkout source code\n        uses: actions/checkout@v4\n      - name: setup\n        id: setup\n        uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1\n      - name: testsNeeded\n        id: testsNeeded\n        uses: dorny/paths-filter@v3\n        with:\n          filters: |\n            testsNeeded:\n              - '**.py'\n              - '.github/**'\n              - 'build-scripts/**'\n              - 'bump_version.sh'\n\n  lint:\n    name: Lint\n    needs: [workflow-setup]\n    if: ${{ needs.workflow-setup.outputs.testsNeeded == 'true' }}\n    uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v1\n\n  build-image:\n    name: Create Builder Image\n    needs: [workflow-setup, lint]\n    uses: hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v1\n    with:\n      CACHE_KEY_BUILD: ${{ needs.workflow-setup.outputs.CACHE_KEY_BUILD }}\n      DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/node-build\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n\n  build_packages:\n    name: Build Packages\n    needs: [workflow-setup, build-image]\n    uses: hyperledger/indy-shared-gha/.github/workflows/buildpackages.yaml@v1\n    with:\n      DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/node-build:${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n      isDev: true\n      isRC: false\n      moduleName: indy_node\n\n  indy_node_tests:\n    name: Indy Node Tests\n    needs: [workflow-setup, build_packages]\n    uses: ./.github/workflows/reuseable_test.yaml\n    with:\n      GITHUB_REPOSITORY_NAME: ${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n\n  statusCheck:\n    name: statusCheck\n    runs-on: ubuntu-latest\n    needs: [workflow-setup, indy_node_tests]\n    if: ${{ needs.workflow-setup.outputs.testsNeeded == 'false' || success() }}\n    steps:\n      - run: 'echo \"Just a status Check (Always true, when executed) for branch protection rules(blocks merging while test are running and if tests fail).\" '", "state": "active", "repository": "hyperledger/indy-node"}
{"mined_at": "2024-07-15T13:03:57.095008", "created_at": "2022-05-16T14:29:27+02:00", "updated_at": "2023-04-12T14:29:29+02:00", "name": "Indy Node - Push Workflow", "path": ".github/workflows/Push.yaml", "contents": "name: Indy Node - Push Workflow\non:\n  push:\n    branches:\n      - main\n      - test-automation-integration\n    paths:\n      - '**.py'\n      - '.github/**'\n      - 'build-scripts/**'\n      - 'bump_version.sh'\n\njobs:\n  workflow-setup:\n    name: Initialize Workflow\n    runs-on: ubuntu-latest\n    outputs:\n      CACHE_KEY_BUILD: ${{ steps.setup.outputs.CACHE_KEY_BUILD }}\n      UBUNTU_VERSION: ${{ steps.setup.outputs.UBUNTU_VERSION }}\n      # Expose the lowercase version of the GitHub repository name\n      # to all subsequent jobs that reference image repositories\n      # as the push and pull operations require the URL of the repository\n      # to be in lowercase.\n      GITHUB_REPOSITORY_NAME: ${{ steps.setup.outputs.GITHUB_REPOSITORY_NAME }}\n      distribution: ${{ steps.setup.outputs.distribution }}\n      publish: ${{ steps.setup.outputs.publish }}\n    steps:\n      - name: checkout source code\n        uses: actions/checkout@v4\n      - name: setup\n        id: setup\n        uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1\n\n  lint:\n    name: Lint\n    uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v1\n\n  build-image:\n    name: Create Builder Image\n    needs: [workflow-setup, lint]\n    uses: hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v1\n    with:\n      CACHE_KEY_BUILD: ${{ needs.workflow-setup.outputs.CACHE_KEY_BUILD }}\n      DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/node-build\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n\n  build_packages:\n    name: Build Packages\n    needs: [workflow-setup, build-image]\n    uses: hyperledger/indy-shared-gha/.github/workflows/buildpackages.yaml@v1\n    with:\n      DOCKER_IMAGE: ghcr.io/${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}/node-build:${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n      isDev: true\n      isRC: false\n      moduleName: indy_node\n\n  indy_node_tests:\n    name: Indy Node Tests\n    needs: [workflow-setup, build_packages]\n    uses: ./.github/workflows/reuseable_test.yaml\n    with:\n      GITHUB_REPOSITORY_NAME: ${{ needs.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n\n  publish_artifacts:\n    name: Publish Artifacts\n    needs: [workflow-setup, indy_node_tests]\n    if: needs.workflow-setup.outputs.publish == 'true'\n    uses: hyperledger/indy-shared-gha/.github/workflows/publish_artifacts.yaml@v1\n    with:\n      COMPONENT: 'dev'\n      UBUNTU_VERSION: ${{ needs.workflow-setup.outputs.UBUNTU_VERSION }}\n      distribution: ${{ needs.workflow-setup.outputs.distribution }}\n      moduleName: indy_node\n    secrets:\n      INDY_ARTIFACTORY_REPO_CONFIG: ${{ secrets.INDY_ARTIFACTORY_REPO_CONFIG }}\n      PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "hyperledger/indy-node"}
{"mined_at": "2024-07-15T13:03:58.129145", "created_at": "2023-11-21T18:27:20+01:00", "updated_at": "2023-11-21T18:27:20+01:00", "name": "CI", "path": ".github/workflows/indy-besu.yml", "contents": null, "state": "active", "repository": "hyperledger/indy-node"}
{"mined_at": "2024-07-15T13:03:59.160842", "created_at": "2022-06-06T19:09:05+02:00", "updated_at": "2023-04-19T14:15:34+02:00", "name": "Triggered by Version Bump merged", "path": ".github/workflows/publishRelease.yaml", "contents": "name: Triggered by Version Bump merged\n\n#disable all tags and enable all brannches and only version file\non:\n  push:\n    branches-ignore:\n      - update-rc-version\n      - update-version\n    paths:\n      - '!**'\n      - \"indy_node/__version__.json\"\n\njobs:\n  release-infos:\n    name: release-infos\n    runs-on: ubuntu-latest\n    outputs:\n      isVersionBump: ${{ steps.get-release-info.outputs.isVersionBump }}\n      isPreRelease: ${{ steps.get-release-info.outputs.isRC }}\n      versionTag: ${{ steps.get-release-info.outputs.versionTag }}\n      component: ${{ steps.get-release-info.outputs.component }}\n      CACHE_KEY_BUILD: ${{ steps.workflow-setup.outputs.CACHE_KEY_BUILD }}\n      UBUNTU_VERSION: ${{ steps.workflow-setup.outputs.UBUNTU_VERSION }}\n      # Expose the lowercase version of the GitHub repository name\n      # to all subsequent jobs that reference image repositories\n      # as the push and pull operations require the URL of the repository\n      # to be in lowercase.\n      GITHUB_REPOSITORY_NAME: ${{ steps.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}\n      distribution: ${{ steps.workflow-setup.outputs.distribution }}\n      publish: ${{ steps.workflow-setup.outputs.publish }}\n    steps:\n      - name: checkout source code\n        uses: actions/checkout@v4\n      - name: get-release-info\n        id: get-release-info\n        uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1\n        with:\n          versionString: \"${{ github.event.head_commit.message }}\"\n      - name: workflow-setup\n        id: workflow-setup\n        uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1\n\n  createRelease:\n    name: Create Release\n    needs: [release-infos]\n    if: needs.release-infos.outputs.isVersionBump == 'true'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Download Node deb Artifacts from Github Action Artifacts\n        uses: dawidd6/action-download-artifact@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          workflow: releasepr.yaml\n          workflow_conclusion: success\n          name: indy_node-deb\n          path: artifacts/indy_node-deb\n      - name: Download Node python Artifacts from Github Action Artifacts\n        uses: dawidd6/action-download-artifact@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          workflow: releasepr.yaml\n          workflow_conclusion: success\n          name: indy_node-python\n          path: artifacts/indy_node-python\n      - name: Download Node third party dependency Artifacts from Github Action Artifacts\n        uses: dawidd6/action-download-artifact@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          workflow: releasepr.yaml\n          workflow_conclusion: success\n          name: third-party-dependencies\n          path: artifacts/third-party-dependencies\n      - uses: actions/upload-artifact@v4\n        with:\n          name: third-party-dependencies\n          path: artifacts/third-party-dependencies\n          retention-days: 5\n      - uses: actions/upload-artifact@v4\n        with:\n          name: indy_node-deb\n          path: artifacts/indy_node-deb\n          retention-days: 5\n      - uses: actions/upload-artifact@v4\n        with:\n          name: indy_node-python\n          path: artifacts/indy_node-python\n          retention-days: 5\n      - name: Zip Files for Release\n        run: |\n          zip -r artifacts/indy_node-deb.zip artifacts/indy_node-deb\n          zip -r artifacts/indy_node-python.zip artifacts/indy_node-python\n          zip -r artifacts/third-party-dependencies.zip artifacts/third-party-dependencies\n      - name: Generate Release\n        uses: softprops/action-gh-release@v2\n        with:\n          tag_name: ${{ needs.release-infos.outputs.VERSIONTAG }}\n          files: |\n            artifacts/**.zip\n          generate_release_notes: true\n          body: \"[${{ needs.release-infos.outputs.VERSIONTAG }}] \"\n          prerelease: ${{ needs.release-infos.outputs.isPreRelease }}\n          target_commitish: ${{ github.event.ref }}\n          name: \"${{ needs.release-infos.outputs.VERSIONTAG }}\"\n          token: ${{ secrets.BOT_PR_PAT }}\n\n  publish_artifacts:\n    name: Publish Artifacts\n    needs: [release-infos, createRelease]\n    if: needs.release-infos.outputs.isVersionBump == 'true' && needs.release-infos.outputs.publish == 'true'\n    uses: hyperledger/indy-shared-gha/.github/workflows/publish_artifacts.yaml@v1\n    with:\n      COMPONENT: ${{ needs.release-infos.outputs.component }}\n      UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}\n      distribution: ${{ needs.release-infos.outputs.distribution }}\n      moduleName: indy_node\n    secrets:\n      INDY_ARTIFACTORY_REPO_CONFIG: ${{ secrets.INDY_ARTIFACTORY_REPO_CONFIG }}\n      PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n\n  convertPyVersion:\n    name: \"Convert to python version flavour\"\n    needs: [release-infos, publish_artifacts]\n    uses: hyperledger/indy-shared-gha/.github/workflows/pyVersionConversion.yaml@v1\n    with:\n      VERSIONTAG: ${{ needs.release-infos.outputs.VERSIONTAG }}\n\n  triggerSovrinUpdate:\n    runs-on: ubuntu-latest\n    needs: [release-infos, publish_artifacts, convertPyVersion]\n    steps:\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.BOT_PR_PAT }}\n          repository: sovrin-foundation/sovrin\n          event-type: update-sovrin\n          client-payload: '{\"pyVersion\": \"${{ needs.convertPyVersion.outputs.pyVersion }}\", \"debVersion\": \"${{ needs.convertPyVersion.debVersion }}\", \"email\":\"${{ github.event.pusher.email }}\"}'\n\n  triggerTokenUpdate:\n    runs-on: ubuntu-latest\n    needs: [release-infos, publish_artifacts, convertPyVersion]\n    steps:\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.BOT_PR_PAT }}\n          repository: sovrin-foundation/token-plugin\n          event-type: update-token-plugin\n          client-payload: '{\"pyVersion\": \"${{ needs.convertPyVersion.outputs.pyVersion }}\", \"debVersion\": \"${{ steps.conversion.outputs.debVersion }}\", \"email\":\"${{ github.event.pusher.email }}\"}'", "state": "active", "repository": "hyperledger/indy-node"}
{"mined_at": "2024-07-15T13:04:00.278865", "created_at": "2022-06-06T17:31:07+02:00", "updated_at": "2023-04-12T14:29:29+02:00", "name": "Triggered by Version Bump Release PR", "path": ".github/workflows/releasepr.yaml", "contents": "name: Triggered by Version Bump Release PR\n\non:\n  pull_request:\n    paths:\n      - '!**'\n      - \"indy_node/__version__.json\"\n\njobs:\n  release-infos:\n    name: infos\n    runs-on: ubuntu-latest\n    outputs:\n      isVersionBump: ${{ steps.get-release-info.outputs.isVersionBump }}\n      isPreRelease: ${{ steps.get-release-info.outputs.isRC }}\n      CACHE_KEY_BUILD: ${{ steps.workflow-setup.outputs.CACHE_KEY_BUILD }}\n      UBUNTU_VERSION: ${{ steps.workflow-setup.outputs.UBUNTU_VERSION }}\n      # Expose the lowercase version of the GitHub repository name\n      # to all subsequent jobs that reference image repositories\n      # as the push and pull operations require the URL of the repository\n      # to be in lowercase.\n      GITHUB_REPOSITORY_NAME: ${{ steps.workflow-setup.outputs.GITHUB_REPOSITORY_NAME }}\n      distribution: ${{ steps.workflow-setup.outputs.distribution }}\n    steps:\n      - name: checkout source code\n        uses: actions/checkout@v4\n      - name: get-release-info\n        id: get-release-info\n        uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1\n        with:\n          versionString: \"${{ github.event.pull_request.body }}\"\n      - name: workflow-setup\n        id: workflow-setup\n        uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1\n\n  lint:\n    name: Lint\n    needs: [release-infos]\n    if: needs.release-infos.outputs.isVersionBump == 'true'\n    uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v1\n\n  build-docker-image:\n    name: Create Builder Image\n    needs: [release-infos, lint]\n    if: needs.release-infos.outputs.isVersionBump == 'true'\n    uses: hyperledger/indy-shared-gha/.github/workflows/buildimage.yaml@v1\n    with:\n      CACHE_KEY_BUILD: ${{ needs.release-infos.outputs.CACHE_KEY_BUILD }}\n      DOCKER_IMAGE: ghcr.io/${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }}/node-build\n      UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}\n\n  build_packages:\n    name: Build Packages\n    needs: [release-infos, build-docker-image]\n    if: needs.release-infos.outputs.isVersionBump == 'true'\n    uses: hyperledger/indy-shared-gha/.github/workflows/buildpackages.yaml@v1\n    with:\n      DOCKER_IMAGE: ghcr.io/${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }}/node-build:${{ needs.release-infos.outputs.UBUNTU_VERSION }}\n      UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}\n      isDev: 'false'\n      isRC: '${{ needs.release-infos.outputs.isPreRelease }}'\n      moduleName: indy_node\n\n  indy_node_tests:\n    name: Indy Node Tests\n    needs: [release-infos, build_packages]\n    if: needs.release-infos.outputs.isVersionBump == 'true'\n    uses: ./.github/workflows/reuseable_test.yaml\n    with:\n      GITHUB_REPOSITORY_NAME: ${{ needs.release-infos.outputs.GITHUB_REPOSITORY_NAME }}\n      UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}\n\n  call-indy-test-automation:\n    name: Indy-Test-Automation\n    needs: [build_packages]\n    uses: hyperledger/indy-test-automation/.github/workflows/callable_test-automation-node.yaml@v0.11\n    with:\n      ubuntuVersion: \"ubuntu-2004\"\n      libIndyVersion: \"1.15.0~1625-bionic\"\n      includePaymentTests: false\n      testAutomationBranch: \"v0.11\"\n      debName: \"indy-node*.deb\"\n      packageName: \"indy_node-deb\"\n\n  statusCheck:\n    name: statusCheck\n    runs-on: ubuntu-latest\n    needs: [indy_node_tests, call-indy-test-automation]\n    steps:\n      - run: 'echo \"Just a status Check (Always true, when executed) for branch protection rules(blocks merging while test are running and if tests fail).\" '", "state": "active", "repository": "hyperledger/indy-node"}
{"mined_at": "2024-07-15T13:04:01.342488", "created_at": "2023-04-19T14:15:34+02:00", "updated_at": "2023-04-19T14:15:34+02:00", "name": "Repo Dispatched Update Plenum Dependecy", "path": ".github/workflows/repoDispatchable_UpdatePlenumDependency.yaml", "contents": "name: Repo Dispatched Update Plenum Dependecy\n\non:\n  repository_dispatch:\n    types: [update-node]\n\njobs:\n  update-setup:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Update indy-plenum to ${{ github.event.client_payload.pyVersion }}\n        run: |\n          sed -i \"s/\\(indy-plenum==\\)[^ ]*/\\1${{ github.event.client_payload.pyVersion }},/g\" setup.py\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          author: ${{ github.actor }} <${{ github.event.pusher.email }}>\n          signoff: true\n          committer: ${{ github.actor }} <${{ github.event.pusher.email }}>\n          commit-message: \"Automated Update to indy-plenum==${{ github.event.client_payload.pyVersion }}\"\n          title: \"Automated Update to indy-plenum==${{ github.event.client_payload.pyVersion }}\"\n          body: \"This PR updates the indy-plenum version in `setup.py` to use `indy-plenum==${{ github.event.client_payload.pyVersion }}`.\"\n          branch: \"PlenumUpdates\"\n          delete-branch: true\n          base: \"DependencyUpdateTrigger\"\n", "state": "active", "repository": "hyperledger/indy-node"}
{"mined_at": "2024-07-15T13:04:02.439343", "created_at": "2023-04-12T14:29:29+02:00", "updated_at": "2023-04-12T14:29:29+02:00", "name": "Test Indy Node", "path": ".github/workflows/reuseable_test.yaml", "contents": "name: \"Test Indy Node\"\n\non:\n  workflow_call:\n    inputs:\n      GITHUB_REPOSITORY_NAME:\n        required: true\n        type: string\n      UBUNTU_VERSION:\n        required: true\n        type: string\n\njobs:\n  indy_node_tests:\n    name: Sliced Module Tests\n    runs-on: ubuntu-20.04\n    # Fix for scacap/action-surefire-report out of memory error:\n    # - https://github.com/ScaCap/action-surefire-report/issues/17\n    env:\n      NODE_OPTIONS: '--max_old_space_size=4096'\n      #SLICE_TOTAL_SLICES needs to match the total number of slices in the matrix strategy.\n      SLICE_TOTAL_SLICES: 11\n    container:\n      image: ghcr.io/${{ inputs.GITHUB_REPOSITORY_NAME }}/node-build:${{ inputs.UBUNTU_VERSION }}\n    strategy:\n      matrix:\n        module: [indy_node, indy_common]\n        slice: [1, 2, 3, 4 ,5, 6, 7, 8, 9, 10, 11]\n      fail-fast: false\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      # ===============================================\n      # Caching cannot be used.\n      #  - For some reason as soon as it is enabled\n      #    the test start complaining about zmq missing\n      #    for the plenum install.\n      # -----------------------------------------------\n      # - name: Cache pip\n      #   uses: actions/cache@v4\n      #   with:\n      #     # pip cache on the node-build image is not in the default location.\n      #     # path: ~/.cache/pip\n      #     path: /root/.cache/pip\n      #     key: ${{ runner.os }}-indy-node-pip-${{ hashFiles('**/requirements.txt', '**/setup.py') }}\n      #     restore-keys: |\n      #       ${{ runner.os }}-indy-node-pip-\n      - name: Download node deb\n        uses: actions/download-artifact@v4\n        with:\n          name: indy_node-deb\n\n      - name: Install dependencies from deb\n        run: |\n          apt update\n          function getDeps(){\n              echo \"$(apt show ${1} 2>/dev/null  | grep -P \"Depends: \" | sed 's~Depends:~~g;s~(~~g;s~)~~g;s~>~~g;s~<~~g' |tr -d \" \\t\\n\\r\" | tr \",\" \"\\n\")\";\n          }\n          aptStr=$(dpkg-deb -I $(pwd)/indy-node*.deb | grep -P \"Depends: \" | sed 's~Depends:~~g;s~(~~g;s~)~~g;s~>~~g;s~<~~g' | tr -d \" \\t\\n\\r\" | tr \",\" \"\\n\")\n          nodeStr=\"$(getDeps $(echo \"$aptStr\" | grep plenum))\"\n          echo \"Installing dependancies:\" && \\\n          echo ${aptStr} && \\\n          echo ${fullStr}&& \\\n          echo && \\\n          apt install -y $(pwd)/indy-node*.deb $aptStr $nodeStr\n          #Libindy till it is set in dependencies\n          apt install -y libindy\n          ln -s /usr/lib/ursa/libursa.so /usr/lib/libursa.so\n        shell: bash\n\n      - name: Install dependencies\n        run: |\n          # Explicitly use the existing pip cache location in the node-build image.\n          pip --cache-dir /root/.cache/pip install .[tests]\n\n      - name: Run Indy Node ${{ matrix.module }} test slice ${{ matrix.slice }}/ ${{ env.SLICE_TOTAL_SLICES }}\n        id: node-test\n        run: RUSTPYTHONASYNCIODEBUG=0 python3 runner.py --pytest \"python3 -m pytest -l -vv\" --dir \"${{ matrix.module }}\" --output \"test-result-node-${{ matrix.slice }}.txt\" --test-only-slice \"${{ matrix.slice }}/ ${{ env.SLICE_TOTAL_SLICES }}\"\n\n      - name: Publish Test Report\n        if: success() || failure()\n        uses: scacap/action-surefire-report@v1\n        continue-on-error: true\n        with:\n          check_name: Indy Node ${{ matrix.module }} Test Report for slice ${{ matrix.slice }}/${{ strategy.job-total }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          report_paths: \"*-test-results.xml\"\n\n      - name: Upload Detailed Test Failure Results\n        # The test runner only emits the detailed test results if the tests fail.\n        if: (steps.node-test.outcome == 'failure') && failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: detailed-test-result-slice-${{ matrix.slice }}\n          path: test-result-node-${{ matrix.slice }}.txt\n          retention-days: 5\n", "state": "active", "repository": "hyperledger/indy-node"}
{"mined_at": "2024-07-15T13:04:03.489861", "created_at": "2022-06-06T17:28:42+02:00", "updated_at": "2023-04-12T14:29:29+02:00", "name": "Triggered by set Tag", "path": ".github/workflows/tag.yaml", "contents": "name: Triggered by set Tag\n\non:\n  push:\n    tags:\n      - setRelease-v**\n\njobs:\n  taginfos:\n    name: get Tag infos\n    runs-on: ubuntu-latest\n    outputs:\n      version: ${{ steps.get-release-info.outputs.version }}\n      versionTag: ${{ steps.get-release-info.outputs.versionTag }}\n      prBranch: ${{ steps.get-release-info.outputs.prBranch }}\n      BASE: ${{ steps.get-branch.outputs.branch }}\n    steps:\n      - name: checkout source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: extract branch\n        id: get-branch\n        uses: hyperledger/indy-shared-gha/.github/actions/branch-from-tag@v1\n        with:\n          tag: ${{ github.ref }}\n      - name: get-release-info\n        id: get-release-info\n        uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1\n        with:\n          versionString: \"${{ github.ref }}\"\n\n  bump_version:\n    name: Bump Version Number\n    needs: taginfos\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Install deps for version change\n        run: |\n          sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9692C00E657DDE61\n          sudo add-apt-repository 'deb  https://hyperledger.jfrog.io/artifactory/indy focal stable'\n          sudo apt-get update -y && sudo apt-get install -y \\\n                       rocksdb=5.8.8 \\\n                       libgflags-dev \\\n                       libsnappy-dev \\\n                       zlib1g-dev \\\n                       libbz2-dev \\\n                       liblz4-dev\n\n          pip install packaging \\\n                      wheel \\\n                      importlib_metadata==3.10.1 \\\n                      Cython==0.29.36\n\n          pip install indy-plenum==1.13.1 \\\n                      pyzmq==22.3.0\n\n      - name: Prepare package and set version\n        run: |\n          ./bump_version.sh ${{ needs.taginfos.outputs.VERSION }}\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          author: ${{ github.actor }} <${{ github.event.pusher.email }}>\n          committer: ${{ github.actor }} <${{ github.event.pusher.email }}>\n          signoff: true\n          commit-message: Update Version number for v${{ needs.taginfos.outputs.version }}\n          base: ${{ needs.taginfos.outputs.BASE }}\n          branch: ${{ needs.taginfos.outputs.prBranch }}\n          title: \"[${{ needs.taginfos.outputs.versionTag }}] - Update Version Number for Release\"\n          body: \"[${{ needs.taginfos.outputs.versionTag }}] - Update Version number for Release\"\n          delete-branch: true\n          token: ${{ secrets.BOT_PR_PAT }}\n", "state": "active", "repository": "hyperledger/indy-node"}
{"mined_at": "2024-07-15T13:04:05.807771", "created_at": "2020-07-02T23:14:33+02:00", "updated_at": "2021-04-08T11:39:49+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  lint:\n    # Run for PRs only if they come from a forked repo (avoids duplicate runs)\n    if: >-\n      github.event_name != 'pull_request' ||\n      github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n        toxenv: [flake8, docs, twinecheck, black]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: python -m pip install tox\n    - name: Run tox ${{ matrix.toxenv }}\n      run: tox -e ${{ matrix.toxenv }}\n\n  build:\n    if: >-\n      github.event_name != 'pull_request' ||\n      github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: python -m pip install build\n    - name: Build temporary sdist and wheel\n      run: python -m build\n\n  test:\n    if: >-\n      github.event_name != 'pull_request' ||\n      github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name\n    timeout-minutes: 15\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest]\n        include:\n        - os: macos-13\n          python-version: \"3.10\"\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: python -m pip install tox\n    - name: Test with tox\n      run: tox -e py\n\n  deploy:\n    timeout-minutes: 30\n    runs-on: ubuntu-latest\n    needs: [lint, build, test]\n    if: startsWith(github.ref, 'refs/tags')\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0  # required for setuptools_scm\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Build wheels\n      uses: pypa/cibuildwheel@v2.16.2\n      with:\n        output-dir: dist/\n      env:\n        CIBW_BUILD: \"cp3*-manylinux_x86_64*\"\n        CIBW_SKIP: \"cp37-*\"\n    - name: Make sdist\n      run: |\n        python -m pip install build\n        python -m build --sdist\n        ls -l dist/\n    - name: Publish dev release to test PyPI\n      if: contains(github.ref, 'rc')\n      uses: pypa/gh-action-pypi-publish@v1.8.7\n      with:\n        user: __token__\n        password: ${{ secrets.test_pypi_password }}\n        repository-url: https://test.pypi.org/legacy/\n    - name: Publish to PyPI\n      if: \"!contains(github.ref, 'rc')\"\n      uses: pypa/gh-action-pypi-publish@v1.8.7\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "whatshap/whatshap"}
{"mined_at": "2024-07-15T13:04:07.943607", "created_at": "2021-10-12T08:04:20+02:00", "updated_at": "2022-11-21T14:19:32+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the ros2-development branch\n  push:\n    branches:\n      - ros2-development\n  pull_request:\n    branches:\n      - ros2-development\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\npermissions: read-all\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\n# This workflow contains a single job called \"build\"\n\njobs:\n  build:\n    name: Build on ROS2 ${{ matrix.ros_distro }} and ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        ros_distro: [rolling, iron, humble, foxy, jazzy]\n        include:\n        - ros_distro: 'rolling'\n          os: ubuntu-24.04\n        - ros_distro: 'iron'\n          os: ubuntu-22.04\n        - ros_distro: 'humble'\n          os: ubuntu-22.04\n        - ros_distro: 'foxy'\n          os: ubuntu-20.04\n        - ros_distro: 'jazzy'\n          os: ubuntu-24.04\n\n    steps:\n\n    - name: Setup ROS2 Workspace\n      run: |\n        mkdir -p ${{github.workspace}}/ros2/src\n\n    - uses: actions/checkout@v4\n      with:\n        path: 'ros2/src/realsense-ros'\n    \n    - name: Check Copyright & Line-Endings\n      shell: bash\n      run: |\n        cd ${{github.workspace}}/ros2/src/realsense-ros/scripts\n        ./pr_check.sh \n\n    # setup-ros@v0.6 is the last version supporting foxy (EOL)\n    # setup-ros@v0.7 is needed to support humble/iron/rolling/jazzy\n    # so, seperating steps with if conditions\n    - name: build ROS2 for foxy\n      if: ${{ matrix.ros_distro == 'foxy' }}\n      uses: ros-tooling/setup-ros@v0.6\n      with:\n        required-ros-distributions: ${{ matrix.ros_distro }}\n    - name: build ROS2 for humble/iron/rolling/jazzy\n      if: ${{ matrix.ros_distro != 'foxy' }}\n      uses: ros-tooling/setup-ros@v0.7\n      with:\n        required-ros-distributions: ${{ matrix.ros_distro }}\n                \n    - name: Build RealSense SDK 2.0 (development branch) from source\n      run: |\n\n        # libusb-1.0-0-dev is needed for librealsense build in ubuntu 20.04\n        # This apt install command will be ignored in ubuntu 22.04 as libusb-1.0-0-dev already installed there\n        sudo apt install -y libusb-1.0-0-dev\n        \n        cd ${{github.workspace}}\n        git clone https://github.com/IntelRealSense/librealsense.git -b development\n        cd librealsense\n        sudo mkdir build\n        cd build\n        sudo cmake ../ -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=false -DBUILD_GRAPHICAL_EXAMPLES=false\n        sudo make uninstall\n        sudo make clean\n        sudo make -j10\n        sudo make install\n\n    - name: Build RealSense ROS2 Wrapper from source\n      run: |\n        echo \"source /opt/ros/${{ matrix.ros_distro }}/setup.bash\" >> ${{github.workspace}}/.bashrc\n        source ${{github.workspace}}/.bashrc\n        cd ${{github.workspace}}/ros2\n        echo \"================= ROSDEP UPDATE =====================\"\n        rosdep update --rosdistro ${{ matrix.ros_distro }} --include-eol-distros\n        echo \"================= ROSDEP INSTALL ====================\"\n        rosdep install -i --reinstall --from-path src --rosdistro ${{ matrix.ros_distro }} --skip-keys=librealsense2 -y\n        echo \"================== COLCON BUILD ======================\"\n        # Enable 'BUILD_TOOLS' through cmake arguments. Since, this variable is available only in realsense2_camera package \n        # and not in  realsense2_camera_msgs and realsense2_description packages, to avoid warnings from these packages,\n        # use '--no-warn-unused-cli'. Ref: https://cmake.org/cmake/help/v3.0/manual/cmake.1.html\n        colcon build  --cmake-args '-DBUILD_TOOLS=ON' --no-warn-unused-cli\n\n    ## This step is commented out since we don't use rosbag files in \"Run Tests\" step below.\n    ## Please uncomment when \"Run Tests\" step is fixed to run all tests.\n    #- name: Download Data For Tests\n    #  if: ${{ matrix.ros_distro != 'rolling'}}\n    #  run: |\n    #    cd ${{github.workspace}}/ros2\n    #    bag_filename=\"https://librealsense.intel.com/rs-tests/TestData/outdoors_1color.bag\";\n    #    wget $bag_filename -P \"records/\"\n    #    bag_filename=\"https://librealsense.intel.com/rs-tests/D435i_Depth_and_IMU_Stands_still.bag\";\n    #    wget $bag_filename -P \"records/\"\n    #    sudo apt install ros-${{ matrix.ros_distro}}-launch-pytest\n       \n    - name: Install Packages For Foxy Tests\n      if: ${{ matrix.ros_distro == 'foxy' }}\n      run: |\n        # To avoid mixing of 'apt' provided packages and 'pip' provided packages, one way is to create virtual env\n        # and manage python packages within it. Ref: https://peps.python.org/pep-0668/\n        python3 -m venv .venv\n        # Activate the virtual env such that following python related commands run within it.\n        source .venv/bin/activate\n        sudo apt-get install python3-pip\n        # numpy-quaternion needs numpy<2.0.0. Chose 1.24.1 as it is the highest version that support foxy.\n        pip3 install --force-reinstall numpy==1.24.1\n        pip3 install numpy-quaternion tqdm pyyaml\n\n    - name: Install Packages For Humble/Iron/Rolling/Jazzy Tests\n      if: ${{ matrix.ros_distro != 'foxy' }}\n      run: |\n        # To avoid mixing of 'apt' provided packages and 'pip' provided packages, one way is to create virtual env\n        # and manage python packages within it. Ref: https://peps.python.org/pep-0668/\n        python3 -m venv .venv\n        # Activate the virtual env such that following python related commands run within it.\n        source .venv/bin/activate\n        sudo apt-get install python3-pip\n        # numpy-quaternion needs numpy<2.0.0. Chose 1.26.4 as it is the lowest working version for ubuntu 24.04.\n        pip3 install --force-reinstall numpy==1.26.4\n        pip3 install numpy-quaternion tqdm pyyaml\n  \n \n    - name: Run Tests\n      run: |\n        cd ${{github.workspace}}/ros2\n        source ${{github.workspace}}/.bashrc\n        . install/local_setup.bash\n        # the next command might be needed for foxy distro, since this package is not installed\n        # by default in ubuntu 20.04. For other distro, the apt install command will be ignored.\n        sudo apt install -y ros-${{matrix.ros_distro}}-sensor-msgs-py\n        source ../.venv/bin/activate\n        python3 src/realsense-ros/realsense2_camera/scripts/rs2_test.py non_existent_file\n    \n    # don't run integration tests for foxy since some testing dependecies packages like \n    # tf_ros_py are not avaialble\n    # TODO: check when we can run integration tests on rolling\n    - name: Run integration tests\n      if: ${{ matrix.ros_distro != 'rolling' && matrix.ros_distro != 'foxy' }}\n      run: |\n        cd ${{github.workspace}}/ros2\n        source ${{github.workspace}}/.bashrc\n        . install/local_setup.bash\n        #export ROSBAG_FILE_PATH=${{github.workspace}}/ros2/records/\n        colcon test --packages-select realsense2_camera --event-handlers console_direct+\n        colcon test-result --all --test-result-base build/realsense2_camera/test_results/ --verbose\n", "state": "active", "repository": "intelrealsense/realsense-ros"}
{"mined_at": "2024-07-15T13:04:09.318111", "created_at": "2024-06-24T20:58:40+02:00", "updated_at": "2024-06-24T20:58:40+02:00", "name": "pre-release-development", "path": ".github/workflows/pre-release-development.yml", "contents": null, "state": "active", "repository": "intelrealsense/realsense-ros"}
{"mined_at": "2024-07-15T13:04:10.492086", "created_at": "2022-03-20T15:17:10+01:00", "updated_at": "2022-10-31T12:49:09+01:00", "name": "pre-release", "path": ".github/workflows/pre-release.yml", "contents": "# This adds \"pre-release\" builds for Github Actions. These:\n#   - check if the package builds, installs without issues\n#   - if unit/system tests are defined, runs them\n# If these pass, we cover the general requirements of ROS-based repositories.\n#\n# These builds run on Github machines, but in the same environment and using the same flow as actual ROS\n# distro build farm releases, hence \"pre-release\".\n#\n# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).\n# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)\n\nname: pre-release\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the ros2-development branch\n  push:\n    branches:\n      - ros2-development\n  pull_request:\n    branches:\n      - ros2-development\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\npermissions: read-all\n\njobs:\n  build:\n    name: Build pre-release tests for ROS2 ${{ matrix.ros_distro }} and ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        ros_distro: [iron, humble]\n        include:\n        - ros_distro: 'iron'\n          os: ubuntu-22.04\n        - ros_distro: 'humble'\n          os: ubuntu-22.04\n          \n    env:\n      ROS_DISTRO: ${{ matrix.ros_distro }}\n      PRERELEASE: true\n      BASEDIR: ${{ github.workspace }}/.work\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: industrial_ci\n        uses: ros-industrial/industrial_ci@master\n", "state": "active", "repository": "intelrealsense/realsense-ros"}
{"mined_at": "2024-07-15T13:04:11.850924", "created_at": "2023-01-30T03:31:31+01:00", "updated_at": "2023-02-02T07:37:40+01:00", "name": "static_analysis", "path": ".github/workflows/static_analysis.yaml", "contents": "name: static_analysis\n\non:\n  push:\n    branches: ['**']\n  pull_request:\n    branches: ['**']\n\npermissions: read-all\n\njobs:\n  cppcheck:\n    name: cppcheck\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install \n        shell: bash\n        run: |\n          sudo apt-get update;\n          sudo apt-get install -qq cppcheck;\n        \n      - name: Cppcheck Run\n        shell: bash\n        #Selected run options:\n        #  ./xxx            :   Folders to scan\n        #  --quiet          :   Don't show current checked configuration in log\n        #  --std=c++11      :   Use C++11 standard (default but worth mentioning)\n        #  --xml            :   Output in XML format\n        #  -j4              :   Run parallel jobs for a faster scan. current HW is 2 core (https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners) using 4 to future proof\n        #  --enable         :   Additional check to run. options are [all, warning, style, performance, protability, information, unusedFunction, missingInclude]\n        #  -I               :   Include directories\n        #  -i               :   Ignore directories. Ignore third-party libs that we don't want to check\n        #  --suppress       :   Don't issue errors about files matching the expression (when -i for folders is not enough)\n        #  --force          :   Check all configurations, takes a very long time (~2 hours) and did not find additional errors. Removed.\n        #  --max-configs=6  :   Using less configuration permutations (default is 12) to reduce run time. Detects less errors. Removed.\n        #  -Dxxx            :   preprocessor configuration to use. Relevant flags taken from build on Ubuntu.\n        run: > \n          cppcheck ./realsense2_camera/src ./realsense2_camera/include ./realsense2_camera/tools\n          --quiet --std=c++11 --xml -j4 --enable=warning\n          -I./realsense2_camera/include -I./realsense2_camera/tools\n          &> cppcheck_run.log\n\n      - name: Cppcheck Result\n        shell: bash\n        run: |\n          ERROR_COUNT=$(grep cppcheck_run.log -e \"severity=\\\"error\\\"\" -c) || ERROR_COUNT=0\n          EXPECTED_ERROR_COUNT=0\n          if [ $ERROR_COUNT -eq $EXPECTED_ERROR_COUNT ]\n          then\n            echo \"cppcheck_run succeeded, found\" $ERROR_COUNT \"errors, as expected\"\n            exit 0\n          elif [ $ERROR_COUNT -lt $EXPECTED_ERROR_COUNT ]\n          then\n            echo \"cppcheck_run ---> SUCCEEDED <--- but found\" $ERROR_COUNT \"errors when expecting\" $EXPECTED_ERROR_COUNT\n            echo \"Please update EXPECTED_ERROR_COUNT var in .github/workflows/static_analysis.yaml to the new lower value\"\n          else\n            echo \"cppcheck_run ---> FAILED <--- with\" $ERROR_COUNT \"errors; expecting\" $EXPECTED_ERROR_COUNT\n          fi\n          cat cppcheck_run.log\n          exit 1\n", "state": "active", "repository": "intelrealsense/realsense-ros"}
{"mined_at": "2024-07-15T13:04:12.895587", "created_at": "2023-08-14T10:04:14+02:00", "updated_at": "2024-06-23T15:05:33+02:00", "name": "Trigger Private CI", "path": ".github/workflows/trigger-private-ci.yaml", "contents": null, "state": "disabled_manually", "repository": "intelrealsense/realsense-ros"}
{"mined_at": "2024-07-15T13:04:15.100575", "created_at": "2020-01-03T09:12:28+01:00", "updated_at": "2020-01-03T09:12:28+01:00", "name": "Python application", "path": ".github/workflows/pythonapp.yml", "contents": "name: Python application\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: windows-latest\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install ta-lib==0.4.24 --index=https://pypi.vnpy.com\n        pip install -r requirements.txt\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n", "state": "active", "repository": "vnpy/vnpy"}
{"mined_at": "2024-07-15T13:04:18.264154", "created_at": "2022-09-19T04:09:52+02:00", "updated_at": "2022-09-19T04:09:52+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "xilinx/vitis-ai"}
{"mined_at": "2024-07-15T13:04:20.528461", "created_at": "2023-02-20T20:04:23+01:00", "updated_at": "2023-02-27T04:12:05+01:00", "name": "Build documentation", "path": ".github/workflows/sphinx_build.yml", "contents": "# Copyright HeteroCL authors. All Rights Reserved.\n# SPDX-License-Identifier: Apache-2.0\n\nname: \"Build documentation\"\n# This workflow is triggered on pushes to the repository.\non:\n  push:\n    branches:\n      - main\n    paths:\n      - 'docs/**'\n      - 'tutorials/**'\n  pull_request:\n    branches:\n      - main\n    paths:\n      - 'docs/**'\n      - 'tutorials/**'\n\njobs:\n  build:\n    # This job runs on Linux\n    runs-on: ubuntu-latest\n    container:\n      image: zzzdavid/llvm-project:15.0.0\n      options: --user root\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        ref: ${{ github.ref }}\n    - name: Build HCL-MLIR\n      run: |\n        export BUILD_DIR=/home/circleci/llvm-project/build\n        export PREFIX=/home/circleci/llvm-project/build\n        git clone https://github.com/cornell-zhang/hcl-dialect.git\n        cd hcl-dialect\n        mkdir -p build && cd build\n        cmake -G \"Unix Makefiles\" .. \\\n            -DMLIR_DIR=$PREFIX/lib/cmake/mlir \\\n            -DLLVM_EXTERNAL_LIT=$BUILD_DIR/bin/llvm-lit \\\n            -DPYTHON_BINDING=ON \\\n            -DPython3_EXECUTABLE=`which python3`\n        make -j2\n        cd tools/hcl/python_packages/hcl_core\n        python3 -m pip install . -v\n    - name: Build docs\n      run: |\n        export HCL_HOME=$(pwd)\n        export LLVM_BUILD_DIR=/home/circleci/llvm-project/build\n        export PATH=${LLVM_BUILD_DIR}/bin:${PATH}\n        export PYTHONPATH=$HCL_HOME:${PYTHONPATH}\n        export PYTHONPATH=$HCL_HOME/hcl-dialect/build/tools/hcl/python_packages/hcl_core:${PYTHONPATH}\n        python3 -m pip install -r requirements.txt\n        cd docs\n        python3 -m pip install -r requirements.txt\n        make html\n    # Create an artifact of the html output using Github action: https://github.com/actions/upload-artifact\n    - uses: actions/upload-artifact@v1\n      with:\n        name: DocumentationHTML\n        path: docs/build/html/\n    - name: Install rsync\n      run: |\n        apt-get update && apt-get install -y rsync\n    - name: Deploy docs\n      uses: JamesIves/github-pages-deploy-action@releases/v3\n      if: github.event_name == 'push'\n      with:\n        ACCESS_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}\n        BRANCH: gh-pages\n        FOLDER: docs/build/html\n", "state": "active", "repository": "cornell-zhang/heterocl"}
{"mined_at": "2024-07-15T13:04:22.790119", "created_at": "2022-03-18T15:34:00+01:00", "updated_at": "2023-05-16T05:22:13+02:00", "name": "black-format check", "path": ".github/workflows/black-format-check.yml", "contents": null, "state": "disabled_manually", "repository": "vortexntnu/vortex-auv"}
{"mined_at": "2024-07-15T13:04:23.828432", "created_at": "2022-03-18T15:34:00+01:00", "updated_at": "2023-05-16T05:22:30+02:00", "name": "clang-format check", "path": ".github/workflows/clang-format-check.yml", "contents": null, "state": "disabled_manually", "repository": "vortexntnu/vortex-auv"}
{"mined_at": "2024-07-15T13:04:24.867864", "created_at": "2023-02-20T18:47:23+01:00", "updated_at": "2023-02-20T18:47:23+01:00", "name": "Run clang-format Linter", "path": ".github/workflows/clang-formatter.yml", "contents": "name: Run clang-format Linter\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: DoozyX/clang-format-lint-action@v0.14\n      with:\n        source: '.'\n        exclude: './lib'\n        extensions: 'h,hpp,cpp,c'\n        clangFormatVersion: 14\n        inplace: True\n    - uses: EndBug/add-and-commit@v4\n      with:\n        author_name: Clang Robot\n        author_email: robot@example.com\n        message: 'Committing clang-format changes'\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "vortexntnu/vortex-auv"}
{"mined_at": "2024-07-15T13:04:25.883806", "created_at": "2022-05-12T16:11:24+02:00", "updated_at": "2022-05-12T16:11:24+02:00", "name": "Publish Docker image to ghcr", "path": ".github/workflows/docker-publish.yml", "contents": "name: Publish Docker image to ghcr\n\non:\n  push:\n    branches: [ development ]\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout own repository\n        uses: actions/checkout@v3\n        \n      # vortex_msgs needs to be in the same location as the rest of the vortex-auv packages\n      - name: Checkout vortex_msgs\n        uses: actions/checkout@v3\n        with:\n          repository: 'vortexntnu/vortex-msgs'\n          path: './vortex-msgs'  \n      - name: Move vortex_msgs\n        run: mv ./vortex-msgs ../vortex-msgs\n        \n      # robot_localization needs to be in the same location as the rest of the vortex-auv packages  \n      - name: Checkout robot_localization\n        uses: actions/checkout@v3\n        with:\n          repository: 'vortexntnu/robot_localization'\n          path: './robot_localization'   \n      - name: Move robot_localization\n        run: mv ./robot_localization ../robot_localization\n        \n      - name: Log in to the Container registry\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n          \n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n        with:\n          context: ..\n          file: ./docker/Dockerfile\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "vortexntnu/vortex-auv"}
{"mined_at": "2024-07-15T13:04:26.933702", "created_at": "2023-02-20T18:47:23+01:00", "updated_at": "2023-02-20T18:47:23+01:00", "name": "Format python code", "path": ".github/workflows/pep8-formatter.yml", "contents": "name: Format python code\non: \n  push:\n    paths:\n    - '**.py'\njobs:\n  autoyapf:\n    runs-on: ubuntu-latest\n    name: Python formatter\n    steps:\n      - uses: actions/checkout@master\n        with: \n          ref: ${{ github.head_ref }}\n      - name: autoyapf\n        id: autoyapf\n        uses: mritunjaysharma394/autoyapf@v2\n        with: \n          args: --style pep8 --recursive --in-place .\n      - name: Check for modified files\n        id: git-check\n        run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo \"false\"; else echo \"true\"; fi)\n      - name: Push changes\n        if: steps.git-check.outputs.modified == 'true'\n        run: |\n          git config --global user.name 'github-actions'\n          git config --global user.email 'github-actions@github.com'\n          git remote set-url origin https://x-access-token:$${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\n          git commit -am \"Automated autoyapf fixes\"\n          git push", "state": "active", "repository": "vortexntnu/vortex-auv"}
{"mined_at": "2024-07-15T13:04:27.981794", "created_at": "2024-03-18T19:55:13+01:00", "updated_at": "2024-03-18T19:55:13+01:00", "name": "Run Unit Tests", "path": ".github/workflows/run-unit-tests.yml", "contents": null, "state": "active", "repository": "vortexntnu/vortex-auv"}
{"mined_at": "2024-07-15T13:04:30.094053", "created_at": "2024-05-05T17:39:58+02:00", "updated_at": "2024-05-05T17:39:58+02:00", "name": "Code Style", "path": ".github/workflows/style.yml", "contents": null, "state": "active", "repository": "voc/voctomix"}
{"mined_at": "2024-07-15T13:04:33.230528", "created_at": "2021-04-22T11:51:06+02:00", "updated_at": "2021-04-22T11:51:06+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [ push ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [ \"3.8\", \"3.10\", \"3.12\" ]\n        robotframework:\n          - \"4.1.0\"\n          - \"5.0.0\"\n          - \"6.0.0\"\n          - \"6.1.0\"\n          - \"7.0.0\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Dependencies\n        run: |\n          pip install pytest\n          pip install -r ./requirements.txt\n          pip install \"robotframework~=${{ matrix.robotframework }}\"\n          pip install -e .\n\n      - name: Run Pytest\n        run: pytest tests\n", "state": "active", "repository": "mkorpela/pabot"}
{"mined_at": "2024-07-15T13:04:35.353527", "created_at": "2020-07-31T01:46:54+02:00", "updated_at": "2023-09-23T22:47:39+02:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'docs/**'\n  pull_request:\n    branches: [ main ]\n    paths:\n      - 'docs/**'\n\njobs:\n  spelling:\n    name: Spellcheck\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install system packages\n        run: |\n          sudo apt update\n          sudo apt install enchant-2 hunspell aspell-en\n      - name: Install Dependencies\n        run: python -m pip install -Ur **/requirements.txt\n      - name: Spellcheck docs\n        run: make spelling\n        working-directory: ./docs\n      - name:\n        run: '[ ! -s _build/spelling/output.txt ]'\n        working-directory: ./docs\n\n  linkcheck:\n    name: Linkcheck\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install Dependencies\n        run: pip3 install -Ur docs/requirements.txt\n      - name: Linkcheck docs\n        run: make linkcheck\n        working-directory: ./docs\n", "state": "active", "repository": "byro/byro"}
{"mined_at": "2024-07-15T13:04:37.093856", "created_at": "2023-09-23T19:43:10+02:00", "updated_at": "2023-09-23T22:28:19+02:00", "name": "CI/CD", "path": ".github/workflows/ci-cd.yml", "contents": "name: CI/CD\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'src/**'\n  pull_request:\n    branches: [ main ]\n    paths:\n      - 'src/**'\n  release:\n    types: [published]\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  style-isort:\n    name: \"[Style] isort\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('src/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install Dependencies\n        run: python -m pip install -Ue \"src[dev]\"\n      - name: Run isort\n        run: isort -c .\n        working-directory: ./src\n\n  style-flake8:\n    name: \"[Style] flake8\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('src/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install Dependencies\n        run: python -m pip install -Ue \"src[dev]\"\n      - name: Run flake8\n        run: flake8 .\n        working-directory: ./src\n\n  style-black:\n    name: \"[Style] black\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('src/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install Dependencies\n        run: python -m pip install -Ue \"src[dev]\"\n      - name: Run black\n        run: black --check .\n        working-directory: ./src\n\n  style-djhtml:\n    name: \"[Style] DjHTML\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('src/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install Dependencies\n        run: python -m pip install -Ue \"src[dev]\"\n      - name: Run djhtml\n        run: djhtml byro/\n        working-directory: ./src\n\n  testing:\n    runs-on: ubuntu-latest\n    name: Tests\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9, '3.10', 3.11 ]\n        database: [ sqlite, postgres, mysql ]\n        exclude:\n          - database: mysql\n            python-version: 3.9\n          - database: mysql\n            python-version: 3.11\n          - database: sqlite\n            python-version: 3.9\n          - database: sqlite\n            python-version: 3.11\n    steps:\n      - uses: actions/checkout@v4\n      - uses: getong/mariadb-action@v1.1\n        with:\n          mariadb version: '10.7'\n          mysql database: 'byro'\n          mysql root password: ''\n        if: matrix.database == 'mysql'\n      - uses: harmon758/postgresql-action@v1\n        with:\n          postgresql version: '14'\n          postgresql db: 'byro'\n          postgresql user: 'postgres'\n          postgresql password: 'postgres'\n        if: matrix.database == 'postgres'\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install gettext\n      - name: Install system dependencies for mysql\n        run: sudo apt update && sudo apt install mariadb-client-10.6\n        if: matrix.database == 'mysql'\n      - name: Install Python dependencies\n        run: python -m pip install -Ue \"src[dev]\"\n      - name: Install MySQL dependencies\n        run: python -m pip install -Ue \"src[mysql]\"\n        if: matrix.database == 'mysql'\n      - name: Install Postgres dependencies\n        run: python -m pip install -Ue \"src[postgres]\"\n        if: matrix.database == 'postgres'\n      - name: Run checks\n        run: python manage.py check --deploy\n        working-directory: ./src\n      - name: Compile locales\n        run: python manage.py compilemessages\n        working-directory: ./src\n      - name: Run tests\n        working-directory: ./src\n        run: python -m pytest --reruns=3 -nauto -p no:sugar --cov=./ --cov-report=xml --maxfail=100 tests\n        env:\n          BYRO_CONFIG_FILE: 'tests/byro.${{ matrix.database }}.cfg'\n      - name: Upload coverage\n        uses: codecov/codecov-action@v3\n        with:\n          files: src/coverage.xml\n          fail_ci_if_error: true\n        if: matrix.database == 'postgres' && matrix.python-version == '3.10'\n\n  build-python-package:\n    name: 🔨 Build python package\n    needs:\n      - style-isort\n      - style-flake8\n      - style-black\n      - style-djhtml\n      - testing\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: 🏗 Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('src/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: 🏗 Install system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install gettext\n      - name: 🏗 Install Dependencies\n        run: python -m pip install twine wheel -Ue \"src[dev]\"\n      - name: 🏗 Set byro version\n        run: sed -i 's/__version__.*/__version__ = \"${{ github.event.release.tag_name }}\"/' byro/__init__.py\n        if: github.event_name == 'release' && github.event.action == 'published'\n        working-directory: ./src\n      - name: 🔎 Check manifest\n        run: check-manifest .\n        working-directory: ./src\n      - name: 🔨Build package\n        run: |\n          python -m build -nw\n          python -m build -ns\n        working-directory: ./src\n      - name: 🔎 Check package\n        run: twine check dist/*\n        working-directory: ./src\n      - name: ⬆ Upload build result\n        if: github.event_name == 'release' && github.event.action == 'published'\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: src/dist\n\n  pypi-publish:\n    name: ⬆ Upload release to PyPI\n    needs: build-python-package\n    if: github.event_name == 'release' && github.event.action == 'published'\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/byro\n    permissions:\n      id-token: write\n    steps:\n      - name: ⬇ Download build result\n        uses: actions/download-artifact@v3\n        with:\n          name: dist\n          path: dist\n      - name: 📦 Publish to index\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          skip-existing: true\n\n  build-docker-image:\n    name: 🔨 Build docker image\n    needs: build-python-package\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🏗 Checkout\n        uses: actions/checkout@v4\n      - name: 🏗 Set byro version\n        run: sed -i 's/__version__.*/__version__ = \"${{ github.event.release.tag_name }}\"/' byro/__init__.py\n        if: github.event_name == 'release' && github.event.action == 'published'\n        working-directory: ./src\n      - name: 🏗 Setup QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: 🏗 Setup Docker buildx\n        uses: docker/setup-buildx-action@v3\n      - name: 🏗 Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n      - name: 🏗 Build Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: src\n          platforms: linux/amd64\n          push: false\n          load: true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n      - name: 🔎 Inspect Docker image\n        if: false\n        run: docker image inspect ${{ steps.meta.outputs.tags }}\n\n  push-docker-image:\n    name: 🔨 Push Docker image to GitHub Packages\n    needs: build-docker-image\n    if: github.event_name == 'push' || (github.event_name == 'release' && github.event.action == 'published')\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n      contents: read\n    steps:\n      - name: 🏗 Checkout\n        uses: actions/checkout@v4\n      - name: 🏗 Set byro version\n        run: sed -i 's/__version__.*/__version__ = \"${{ github.event.release.tag_name }}\"/' src/byro/__init__.py\n        if: github.event_name == 'release' && github.event.action == 'published'\n      - name: 🏗 Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n      - name: 🏗 Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: 🏗 Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: 🏗 Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n      - name: 🏗 Build container image\n        uses: docker/build-push-action@v5\n        with:\n          context: src\n          platforms: linux/amd64,linux/arm64\n          push: true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "byro/byro"}
{"mined_at": "2024-07-15T13:04:39.167783", "created_at": "2020-06-29T19:39:26+02:00", "updated_at": "2020-06-29T19:52:27+02:00", "name": "Tests", "path": ".github/workflows/ci.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\nenv:\n  LC_ALL: C.UTF-8\n  LANG: C.UTF-8\n  AWS_DEFAULT_REGION: us-west-1\n  AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}\n  AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}\n  GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n\njobs:\n  CI:\n    runs-on: ubuntu-22.04\n    strategy:\n      max-parallel: 8\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{matrix.python-version}}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{matrix.python-version}}\n    - name: Install\n      run: |\n        make install\n        echo 'import coverage; coverage.process_startup()' > sitecustomize.py\n    - name: Lint\n      if: ${{matrix.python-version == '3.12'}}\n      run: make lint\n    - name: Stagger tests to avoid throttling errors\n      run: python3 -c 'import sys, time, hashlib; time.sleep(int.from_bytes(hashlib.md5(sys.version.encode()).digest(), sys.byteorder) % 16)'\n    - name: Test\n      run: |\n        export COVERAGE_PROCESS_START=$(pwd)/.coveragerc\n        make test\n    - uses: codecov/codecov-action@v3\n  isort:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: isort/isort-action@v1.1.0\n", "state": "active", "repository": "kislyuk/aegea"}
{"mined_at": "2024-07-15T13:04:41.417362", "created_at": "2020-12-02T15:03:38+01:00", "updated_at": "2024-04-19T11:20:24+02:00", "name": "Regression Tests", "path": ".github/workflows/regression-tests.yml", "contents": "name: Regression Tests\n\non:\n  push:\n    branches:\n    - master\n  pull_request:\n    branches:\n    - master\n\njobs:\n\n  lint-flake8:\n    runs-on: ubuntu-latest\n    name: flake8\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.11]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{matrix.python-version}}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{matrix.python-version}}\n    - name: flake8\n      run: |\n        pip install flake8\n        flake8\n\n  tests:\n\n    name: Python ${{matrix.python-version}} | ${{matrix.sim}} \n    runs-on: ubuntu-22.04\n    env:\n      SIM: ${{matrix.sim}}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - sim: icarus\n            python-version: '3.11'\n\n          - sim: icarus\n            python-version: '3.10'\n\n          - sim: verilator\n            sim-version: v5.020\n            python-version: '3.10'\n            pytest-marker: \"-m verilator\"\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Anaconda ${{matrix.python-version}}\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        auto-update-conda: true\n        python-version: ${{matrix.python-version}}\n\n    - name: Install Conda dependencies\n      shell: bash -l {0}\n      run: |\n        conda info -a\n        conda install numpy bitarray nose pyyaml coverage six\n\n    - name: Install Python dependencies\n      shell: bash -l {0}\n      run: |\n        pip install pyvisa pyvisa-sim pytest coveralls pytest-cov cocotb>=1.8.1 cocotb-bus\n  \n    - name: Install Verilator\n      if: matrix.sim == 'verilator'\n      run: |\n        sudo apt install -y --no-install-recommends make g++ help2man perl autoconf flex bison libfl2 libfl-dev zlib1g zlib1g-dev\n        git clone https://github.com/verilator/verilator.git -b ${{matrix.sim-version}}\n        cd verilator\n        autoconf\n        ./configure\n        make -j $(nproc)\n        sudo make install\n\n    - name: Install Icarus Verilog\n      if: matrix.sim == 'icarus'\n      run: |\n        sudo apt install -y --no-install-recommends iverilog\n\n    - name: Install basil\n      shell: bash -l {0}\n      run: |\n        pip install -e .\n\n    - name: Test\n      shell: bash -l {0}\n      run: |\n        pip install -e .\n        pytest ${{matrix.pytest-marker}} --cov=basil tests/test_*.py examples/*/*/test_*.py\n\n    - name: Upload to codecov\n      shell: bash -l {0}\n      run: |\n        curl -Os https://uploader.codecov.io/latest/linux/codecov\n        chmod +x codecov\n        ./codecov -t ${CODECOV_TOKEN}\n", "state": "active", "repository": "silab-bonn/basil"}
{"mined_at": "2024-07-15T13:04:43.701054", "created_at": "2022-08-22T23:07:54+02:00", "updated_at": "2022-08-22T23:07:54+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types: [ released ]\n\nenv:\n  MODULE_NAME: deep-pipe\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n\n      - id: get_version\n        name: Get the release version\n        uses: Simply007/get-version-action@v2\n\n      - name: Check the version and build the package\n        run: |\n          RELEASE=${{ steps.get_version.outputs.version-without-v }}\n          VERSION=$(python -c \"from pathlib import Path; import runpy; folder, = {d.parent for d in Path().resolve().glob('*/__init__.py') if d.parent.is_dir() and (d.parent / '__version__.py').exists()}; print(runpy.run_path(folder / '__version__.py')['__version__'])\")\n          MATCH=$(pip index versions $MODULE_NAME | grep \"Available versions:\" | grep $VERSION) || echo\n          echo $MATCH\n          if [ \"$GITHUB_BASE_REF\" = \"master\" ] && [ \"$MATCH\" != \"\" ]; then echo \"Version $VERSION already present\" && exit 1; fi\n          if [ \"$VERSION\" != \"$RELEASE\" ]; then echo \"$VERSION vs $RELEASE\" && exit 1; fi\n          python setup.py sdist\n\n      - name: Publish to PyPi\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "neuro-ml/deep_pipe"}
{"mined_at": "2024-07-15T13:04:44.898957", "created_at": "2022-09-08T10:16:12+02:00", "updated_at": "2023-01-20T11:54:10+01:00", "name": "Test", "path": ".github/workflows/tests.yml", "contents": "name: Test\n\non: [ pull_request ]\n\nenv:\n  MODULE_NAME: dpipe\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10', '3.11' ]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Check the version\n        if: \"! github.event.pull_request.head.repo.fork \"\n        run: |\n          VERSION=$(python -c \"from pathlib import Path; import runpy; folder, = {d.parent for d in Path().resolve().glob('*/__init__.py') if d.parent.is_dir() and (d.parent / '__version__.py').exists()}; print(runpy.run_path(folder / '__version__.py')['__version__'])\")\n          MATCH=$(pip index versions deep-pipe | grep \"Available versions:\" | grep $VERSION) || echo\n          echo $MATCH\n          if [ \"$GITHUB_BASE_REF\" = \"master\" ] && [ \"$MATCH\" != \"\" ]; then exit 1; fi\n      - name: Build the package\n        run: |\n          python setup.py sdist\n\n      - name: Install\n        run: |\n          pip install dist/*\n          pip install -r tests/requirements.txt\n\n          cd tests\n          export MODULE_PARENT=$(python -c \"import $MODULE_NAME, os; print(os.path.dirname($MODULE_NAME.__path__[0]))\")\n          export MODULE_PARENT=${MODULE_PARENT%\"/\"}\n          cd ..\n          echo $MODULE_PARENT\n          echo \"MODULE_PARENT=$(echo $MODULE_PARENT)\" >> $GITHUB_ENV\n\n      - name: Test with pytest\n        run: |\n          pytest tests -m \"not integration and not cuda\" --junitxml=reports/junit-${{ matrix.python-version }}.xml --cov=\"$MODULE_PARENT/$MODULE_NAME\" --cov-report=xml --cov-branch\n      - name: Generate coverage report\n        run: |\n          coverage xml -o reports/coverage-${{ matrix.python-version }}.xml\n          sed -i -e \"s|$MODULE_PARENT/||g\" reports/coverage-${{ matrix.python-version }}.xml\n          sed -i -e \"s|$(echo $MODULE_PARENT/ | tr \"/\" .)||g\" reports/coverage-${{ matrix.python-version }}.xml\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: reports-${{ matrix.python-version }}\n          path: reports/*-${{ matrix.python-version }}.xml\n        if: ${{ always() }}\n\n      - name: Upload coverage results\n        uses: codecov/codecov-action@v3\n        with:\n          fail_ci_if_error: true\n          files: reports/coverage-${{ matrix.python-version }}.xml\n          verbose: true\n", "state": "active", "repository": "neuro-ml/deep_pipe"}
{"mined_at": "2024-07-15T13:04:47.049228", "created_at": "2023-07-26T15:25:03+02:00", "updated_at": "2023-07-26T15:25:03+02:00", "name": "Checks", "path": ".github/workflows/check.yml", "contents": "name: Checks\n\non:\n  pull_request:\n    branches:\n    - master\n  push:\n    branches:\n    - master\n\nenv:\n  PIP_DISABLE_PIP_VERSION_CHECK: '1'\n  PY_COLORS: '1'\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        env:\n        #- ruff\n        - package\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Install build tools\n      run: |\n        python -m pip install tox wheel\n    - name: Run ${{ matrix.env }}\n      run: tox -e ${{ matrix.env }}\n", "state": "active", "repository": "hips/autograd"}
{"mined_at": "2024-07-15T13:04:48.170173", "created_at": "2023-07-26T15:25:03+02:00", "updated_at": "2023-07-26T15:25:03+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    tags:\n    - '*'\n\nenv:\n  PIP_DISABLE_PIP_VERSION_CHECK: '1'\n  PY_COLORS: '1'\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Install build tools\n      run: |\n        python -m pip install build twine wheel\n    - name: Build package\n      run: python -m build\n    - name: Upload to PyPI\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: twine upload dist/*\n", "state": "active", "repository": "hips/autograd"}
{"mined_at": "2024-07-15T13:04:49.304793", "created_at": "2023-07-26T15:25:03+02:00", "updated_at": "2023-07-28T23:47:44+02:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  pull_request:\n    branches:\n    - master\n  push:\n    branches:\n    - master\n\nenv:\n  PIP_DISABLE_PIP_VERSION_CHECK: '1'\n  PY_COLORS: '1'\n\njobs:\n  test:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform:\n        - ubuntu-latest\n        - macos-latest\n        - windows-latest\n        python-version:\n        - '3.7'\n        - '3.8'\n        - '3.9'\n        - '3.10'\n        - '3.11'\n        - pypy-3.7\n        - pypy-3.8\n        - pypy-3.9\n        - pypy-3.10\n        exclude:\n        - { platform: windows-latest, python-version: pypy-3.7 }\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Python build tools\n      run: python -m pip install tox wheel\n    - name: Run tests\n      run: tox run -e py\n    - name: Install Scipy prerequisites for Ubuntu\n      if: startsWith(matrix.platform, 'ubuntu')\n      run: sudo apt-get install libopenblas-dev\n    - name: Run tests with scipy\n      if: startsWith(matrix.platform, 'ubuntu') || startsWith(matrix.python-version, 'pypy') != true\n      run: tox run -e py-scipy\n", "state": "active", "repository": "hips/autograd"}
{"mined_at": "2024-07-15T13:04:51.417795", "created_at": "2020-12-11T06:56:45+01:00", "updated_at": "2023-12-21T09:52:18+01:00", "name": "Python package", "path": ".github/workflows/ci.yml", "contents": "name: Python package\n\non: [push, pull_request]\n\nenv:\n  DOCKER_BUILDKIT: '1'\n  FORCE_COLOR: 1\n\njobs:\n    lint:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v4\n            - uses: actions/setup-python@v5\n              with:\n                  python-version: '3.x'\n            - run: pip install -U ruff==0.1.8\n            - name: Run ruff\n              run: ruff docker tests\n\n    build:\n      runs-on: ubuntu-22.04\n      steps:\n        - uses: actions/checkout@v4\n        - uses: actions/setup-python@v5\n          with:\n            python-version: '3.x'\n        - run: pip3 install build && python -m build .\n        - uses: actions/upload-artifact@v4\n          with:\n            name: dist\n            path: dist\n\n    unit-tests:\n        runs-on: ubuntu-latest\n        strategy:\n            matrix:\n                python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n        steps:\n            - uses: actions/checkout@v4\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v5\n              with:\n                python-version: ${{ matrix.python-version }}\n                allow-prereleases: true\n            - name: Install dependencies\n              run: |\n                  python3 -m pip install --upgrade pip\n                  pip3 install '.[ssh,dev]'\n            - name: Run unit tests\n              run: |\n                  docker logout\n                  rm -rf ~/.docker\n                  py.test -v --cov=docker tests/unit\n\n    integration-tests:\n        runs-on: ubuntu-latest\n        strategy:\n            matrix:\n                variant: [ \"integration-dind\", \"integration-dind-ssl\", \"integration-dind-ssh\" ]\n\n        steps:\n            - uses: actions/checkout@v4\n              with:\n                fetch-depth: 0\n                fetch-tags: true\n            - name: make ${{ matrix.variant }}\n              run: |\n                  docker logout\n                  rm -rf ~/.docker\n                  make ${{ matrix.variant }}\n", "state": "active", "repository": "docker/docker-py"}
{"mined_at": "2024-07-15T13:04:52.818124", "created_at": "2022-07-30T18:14:28+02:00", "updated_at": "2022-07-30T18:14:28+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: \"Release Tag WITHOUT `v` Prefix (e.g. 6.0.0)\"\n        required: true\n      dry-run:\n        description: 'Dry run'\n        required: false\n        type: boolean\n        default: true\n\nenv:\n  DOCKER_BUILDKIT: '1'\n  FORCE_COLOR: 1\n\njobs:\n  publish:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n\n      - name: Generate Package\n        run: |\n          pip3 install build\n          python -m build .\n        env:\n          # This is also supported by Hatch; see\n          # https://github.com/ofek/hatch-vcs#version-source-environment-variables\n          SETUPTOOLS_SCM_PRETEND_VERSION: ${{ inputs.tag }}\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        if: '! inputs.dry-run'\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n      - name: Create GitHub release\n        uses: ncipollo/release-action@v1\n        if: '! inputs.dry-run'\n        with:\n          artifacts: \"dist/*\"\n          generateReleaseNotes: true\n          draft: true\n          commit: ${{ github.sha }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          tag: ${{ inputs.tag }}\n", "state": "active", "repository": "docker/docker-py"}
{"mined_at": "2024-07-15T13:04:54.933948", "created_at": "2021-03-16T16:02:47+01:00", "updated_at": "2021-03-16T16:13:55+01:00", "name": "pytest", "path": ".github/workflows/pytest.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: pytest\n\non:\n  push:\n    branches: [master, dev-gha]\n  pull_request:\n    branches: [master]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        extras: [\"[diagrams]\"]\n        include:\n          - python-version: \"3.12\"\n            extras: \"[]\"\n          - python-version: \"3.12\"\n            extras: \"[diagrams,mypy]\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r requirements.txt\n          python -m pip install -U -r requirements_test.txt\n      - name: Install dependencies for diagrams\n        if: contains(matrix.extras, 'diagrams')\n        run: |\n          sudo apt-get install libgraphviz-dev graphviz\n          python -m pip install -r requirements.txt -r requirements_diagrams.txt\n      - name: Install dependencies for mypy\n        if: contains(matrix.extras, 'mypy')\n        run: |\n          python -c \"print 'hello'\" > /dev/null 2>&1 || pip install -r requirements_mypy.txt\n      - name: Test with pytest\n        run: |\n          coverage run -m pytest --doctest-modules tests/\n          coverage lcov --ignore-errors\n      - name: Coveralls Parallel\n        if: contains(matrix.extras, 'mypy')\n        uses: coverallsapp/github-action@v2\n        with:\n          flag-name: run-${{ join(matrix.*, '-') }}\n          parallel: true\n  finish:\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - name: Coveralls Finished\n        uses: coverallsapp/github-action@v2\n        with:\n          parallel-finished: true\n", "state": "active", "repository": "pytransitions/transitions"}
{"mined_at": "2024-07-15T13:04:57.294994", "created_at": "2020-07-24T15:27:42+02:00", "updated_at": "2020-07-24T15:27:42+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [master, ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 23 * * 4'\n\njobs:\n  analyse:\n    name: Analyse\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        config-file: ./.github/codeql/codeql-config.yml\n      # Override language selection by uncommenting this and choosing your languages\n      # with:\n      #   languages: go, javascript, csharp, python, cpp, java\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "moloch--/rootthebox"}
{"mined_at": "2024-07-15T13:04:59.560159", "created_at": "2020-12-10T11:37:40+01:00", "updated_at": "2020-12-10T11:37:40+01:00", "name": "Test + Deploy", "path": ".github/workflows/ci.yml", "contents": "name: Test + Deploy\n\non:\n  push:\n    branches: [main]\n    tags: [\"v*.*.*\"]\n  pull_request:\n    branches: [main]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    # https://github.community/t/github-actions-does-not-respect-skip-ci/17325/8\n    if: \"! contains(toJSON(github.event.commits.*.message), '[skip ci]')\"\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n    - name: Install dependencies\n      run: pip install tox\n    - name: Run style and static checks\n      run: tox -e lint\n  test:\n    runs-on: ${{ matrix.platform }}\n    if: \"! contains(toJSON(github.event.commits.*.message), '[skip ci]')\"\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"pypy-3.9\"]\n        platform: [ubuntu-latest, windows-latest]\n        exclude:\n          - platform: windows-latest\n            python-version: \"pypy-3.9\"\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: pip install tox\n    - name: Test with tox\n      run: tox -e py\n    - name: Produce coverage files\n      run: tox -e coverage-report\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        file: coverage.xml\n        flags: unittests\n        name: codecov-umbrella\n        fail_ci_if_error: true\n        # see https://github.com/codecov/codecov-action/issues/557\n        token: ${{ secrets.CODECOV_TOKEN }}\n  deploy:\n    # only run if the commit is tagged...\n    if: startsWith(github.ref, 'refs/tags/v')\n    # ... and both the lint and test jobs completed successfully\n    needs:\n      - lint\n      - test\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        # setuptools_scm requires the git clone to not be 'shallow'\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine shiv\n    - name: Extract release notes from annotated tag message\n      id: release_notes\n      env:\n        # e.g. v0.1.0a1, v1.2.0b2 or v2.3.0rc3, but not v1.0.0\n        PRERELEASE_TAG_PATTERN: \"v[[:digit:]]+\\\\.[[:digit:]]+\\\\.[[:digit:]]+([ab]|rc)[[:digit:]]+\"\n      run: |\n        # GH checkout action doesn't preserve tag annotations, we must fetch them\n        # https://github.com/actions/checkout/issues/290\n        git fetch --tags --force\n        # strip leading 'refs/tags/' to get the tag name\n        TAG_NAME=\"${GITHUB_REF##*/}\"\n        # Dump tag message to temporary .md file (excluding the PGP signature at the bottom)\n        TAG_MESSAGE=$(git tag -l --format='%(contents)' $TAG_NAME | sed -n '/-----BEGIN PGP SIGNATURE-----/q;p')\n        echo \"$TAG_MESSAGE\" > \"${{ runner.temp }}/release_notes.md\"\n        # if the tag has a pre-release suffix mark the Github Release accordingly\n        if egrep -q \"$PRERELEASE_TAG_PATTERN\" <<< \"$TAG_NAME\"; then\n          echo \"Tag contains a pre-release suffix\"\n          echo \"IS_PRERELEASE=true\" >> \"$GITHUB_ENV\"\n        else\n          echo \"Tag does not contain pre-release suffix\"\n          echo \"IS_PRERELEASE=false\" >> \"$GITHUB_ENV\"\n        fi\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        if [ \"$IS_PRERELEASE\" == true ]; then\n          echo \"DEBUG: This is a pre-release\"\n        else\n          echo \"DEBUG: This is a final release\"\n        fi\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n    - name: Create .pyz\n      # currently this only builds a self-contained zip app for macOS python 3.11\n      # to be used for fontmake export plugin for Glyphs.app\n      run: ./build_pyz.sh\n    - name: Create GitHub release\n      id: create_release\n      uses: ncipollo/release-action@v1\n      with:\n        bodyFile: \"${{ runner.temp }}/release_notes.md\"\n        draft: false\n        prerelease: ${{ env.IS_PRERELEASE }}\n        artifacts: \"shivs/*.zip\"\n", "state": "active", "repository": "googlefonts/fontmake"}
{"mined_at": "2024-07-15T13:05:00.964272", "created_at": "2023-08-10T00:13:53+02:00", "updated_at": "2023-08-10T00:13:53+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googlefonts/fontmake"}
{"mined_at": "2024-07-15T13:05:03.060253", "created_at": "2020-11-20T08:04:06+01:00", "updated_at": "2020-11-20T08:04:06+01:00", "name": "Turbinia Test Run", "path": ".github/workflows/actions.yml", "contents": "name: Turbinia Test Run\n\non: [push, pull_request]\n\njobs:\n  install-n-test:\n    name: Install Turbinia dependencies and run tests.\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os:\n          - ubuntu-22.04\n        gift_ppa_track: [\"staging\", \"stable\"]\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Buid Turbinia Unit Tests Docker image\n        uses: docker/build-push-action@v5\n        with:\n          file: docker/tests/Dockerfile\n          context: .\n          build-args: |\n            \"PPA_TRACK=${{ matrix.gift_ppa_track }}\"\n          load: true\n          tags: turbinia-unit-tests\n          cache-from: type=gha,scope=unittests\n          cache-to: type=gha,mode=max,scope=unittests\n      - name: Run test (turbinia-unit-tests) container\n        run: |\n          docker run --name turbinia-unit-tests --entrypoint \"/bin/bash\" -it -d -t turbinia-unit-tests:latest\n      - name: Configure python3\n        run: |\n          docker exec -u root -t turbinia-unit-tests bash -c \"update-alternatives --install /usr/bin/python python /usr/bin/python3 1\"\n          docker exec -u root -t turbinia-unit-tests bash -c \"/usr/bin/python -V\"\n      - name: Run Tests\n        run: |\n          docker exec -u root -t turbinia-unit-tests bash -c \"poetry run ./run_tests.py\"\n          docker exec -u root -t turbinia-unit-tests bash -c \"tox --sitepackages ${TOXENV}\"\n", "state": "active", "repository": "google/turbinia"}
{"mined_at": "2024-07-15T13:05:04.111210", "created_at": "2021-02-03T16:29:33+01:00", "updated_at": "2024-04-03T03:02:41+02:00", "name": "Turbinia E2E Test", "path": ".github/workflows/e2e.yml", "contents": "name: Turbinia E2E Test\n\non: [push, pull_request]\n\njobs:\n  e2e-test:\n    name: Run local stack e2e test\n    strategy:\n      matrix:\n        os:\n          - ubuntu-22.04\n        gift_ppa_track: [\"staging\", \"stable\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Build Turbinia API server Docker image\n        uses: docker/build-push-action@v5\n        with:\n          file: docker/api_server/Dockerfile\n          context: .\n          load: true\n          tags: turbinia-api-server-dev\n          cache-from: type=gha,scope=api-server\n          cache-to: type=gha,mode=max,scope=api-server\n      - name: Build Turbinia Server Docker image\n        uses: docker/build-push-action@v5\n        with:\n          file: docker/server/Dockerfile\n          context: .\n          load: true\n          tags: turbinia-server-dev\n          cache-from: type=gha,scope=server\n          cache-to: type=gha,mode=max,scope=server\n      - name: Buid Turbinia Worker Docker image\n        uses: docker/build-push-action@v5\n        with:\n          file: docker/worker/Dockerfile\n          context: .\n          build-args: |\n            \"PPA_TRACK=${{ matrix.gift_ppa_track }}\"\n          load: true\n          tags: turbinia-worker-dev\n          cache-from: type=gha,scope=worker\n          cache-to: type=gha,mode=max,scope=worker\n      - name: Prepare Turbinia configuration\n        run: |\n          mkdir ./conf\n          sed -f ./docker/local/local-config.sed ./turbinia/config/turbinia_config_tmpl.py > ./conf/turbinia.conf\n      - name: Display Turbinia configuration\n        run: |\n          cat ./conf/turbinia.conf\n      - name: Patch docker-compose config to use locally build images\n        run: |\n          sed -i -e 's/#image: \"t/image: \"t/g' -e 's/image: \"u/#image: \"u/g' ./docker/local/docker-compose.yml\n      - name: Update pip\n        run: python -m pip install --upgrade pip\n      - name: Install turbinia-client\n        run: pip install turbinia-client\n      - name: Run E2E test\n        run: |\n          chmod +x ./turbinia/e2e/e2e-local.sh\n          ./turbinia/e2e/e2e-local.sh", "state": "active", "repository": "google/turbinia"}
{"mined_at": "2024-07-15T13:05:05.184292", "created_at": "2023-10-26T15:09:44+02:00", "updated_at": "2023-10-26T15:09:44+02:00", "name": "Publish Python 🐍 distribution 📦 to PyPI and TestPyPI", "path": ".github/workflows/publish-pypi.yml", "contents": "name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  build:\n    name: Build distribution 📦\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Install pypa/build\n      run: python3 -m  pip install poetry wheel --user\n    - name: Build a binary wheel and a source tarball\n      run: python3 -m poetry build\n    - name: Store the distribution packages\n      uses: actions/upload-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n\n  publish-to-pypi:\n    name: Publish Python 🐍 distribution 📦 to PyPI\n    if: startsWith(github.ref, 'refs/tags/20')  # only publish to PyPI on tag pushes\n    needs:\n    - build\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/turbinia\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  github-release:\n    name: >-\n      Sign the Python 🐍 distribution 📦 with Sigstore\n      and upload them to GitHub Release\n    needs:\n    - publish-to-pypi\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write  # IMPORTANT: mandatory for making GitHub Releases\n      id-token: write  # IMPORTANT: mandatory for sigstore\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Sign the dists with Sigstore\n      uses: sigstore/gh-action-sigstore-python@v1.2.3\n      with:\n        inputs: >-\n          ./dist/*.tar.gz\n          ./dist/*.whl\n    - name: Upload artifact signatures to GitHub Release\n      # Te release must already be created or this will fail.\n      env:\n        GITHUB_TOKEN: ${{ github.token }}\n      # Upload to GitHub Release using the `gh` CLI.\n      # `dist/` contains the built packages, and the\n      # sigstore-produced signatures and certificates.\n      run: >-\n        gh release upload\n        '${{ github.ref_name }}' dist/**\n        --repo '${{ github.repository }}'\n\n  publish-to-testpypi:\n    name: Publish Python 🐍 distribution 📦 to TestPyPI\n    needs:\n    - build\n    runs-on: ubuntu-latest\n\n    environment:\n      name: testpypi\n      url: https://test.pypi.org/p/turbinia\n\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution 📦 to TestPyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "google/turbinia"}
{"mined_at": "2024-07-15T13:05:06.305332", "created_at": "2023-08-01T21:55:12+02:00", "updated_at": "2023-08-01T21:55:12+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/turbinia"}
{"mined_at": "2024-07-15T13:05:08.530914", "created_at": "2020-01-13T02:29:15+01:00", "updated_at": "2020-01-13T02:29:15+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 4\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [\"3.8\", \"3.10\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .\n\n      - name: Test with pytest\n        run: |\n          pip install pytest pytest-cov\n          make test_ci_subset\n", "state": "active", "repository": "tanghaibao/goatools"}
{"mined_at": "2024-07-15T13:05:11.024112", "created_at": "2022-05-06T03:06:40+02:00", "updated_at": "2022-05-06T03:06:40+02:00", "name": "Build docker image", "path": ".github/workflows/docker.yml", "contents": "name: Build docker image\n\npermissions:\n  contents: read\n\non:\n  release:\n    types:\n      - published\n  push:\n    branches:\n      - master\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v3\n        with:\n          images: |\n            ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n          # generate Docker tags based on the following events/attributes\n          tags: |\n            type=ref,event=branch\n            type=ref,event=pr\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n\n      - name: Log in to the Container registry\n        # https://github.com/docker/login-action/releases/tag/v2.0.0\n        uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push Docker image\n        # https://github.com/docker/build-push-action/releases/tag/v3.0.0\n        uses: docker/build-push-action@e551b19e49efd4e98792db7592c17c09b89db8d8\n        with:\n          context: .\n          push: ${{ github.event_name == 'release' }}\n          tags:  ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}", "state": "active", "repository": "domainaware/parsedmarc"}
{"mined_at": "2024-07-15T13:05:12.625413", "created_at": "2021-12-07T16:51:37+01:00", "updated_at": "2022-01-05T15:44:17+01:00", "name": "Python tests", "path": ".github/workflows/python-tests.yml", "contents": "name: Python tests\n\npermissions:\n  contents: read\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install system dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libemail-outlook-message-perl\n        wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg\n        sudo apt-get install apt-transport-https\n        echo \"deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main\" | sudo tee /etc/apt/sources.list.d/elastic-8.x.list\n        sudo apt-get update && sudo apt-get install elasticsearch\n        sudo sed -i 's/xpack.security.enabled: true/xpack.security.enabled: false/' /etc/elasticsearch/elasticsearch.yml\n        sudo systemctl restart elasticsearch\n        sudo systemctl --no-pager status elasticsearch\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Test building documentation\n      run: |\n        cd docs\n        make html\n    - name: Check code style\n      run: |\n        flake8 *.py parsedmarc/*.py\n    - name: Run unit tests\n      run: |\n        coverage run tests.py\n        coverage json\n    - name: Test sample DMARC reports\n      run: |\n        pip install -e .\n        parsedmarc --debug -c ci.ini samples/aggregate/*\n        parsedmarc --debug -c ci.ini samples/forensic/*\n    - name: Test building packages\n      run: |\n        hatch build\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n", "state": "active", "repository": "domainaware/parsedmarc"}
{"mined_at": "2024-07-15T13:05:13.778183", "created_at": "2022-01-05T18:46:54+01:00", "updated_at": "2022-01-05T18:46:54+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "domainaware/parsedmarc"}
{"mined_at": "2024-07-15T13:05:15.868367", "created_at": "2020-11-10T15:29:47+01:00", "updated_at": "2020-11-11T12:55:38+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n  push:\n  pull_request:\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [3.7, 3.8]\n        exclude:\n          - os: macos-latest\n            python-version: 3.8\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }} 🚜\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies 🛠\n        run: |\n          python -m pip install --upgrade pip setuptools\n          pip install flake8 codecov pytest-cov wheel matplotlib seaborn mne\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          pip install .\n      - name: Lint with flake8 🎓\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n      - name: Test with pytest 🧪\n        run: |\n          PYTHONPATH=. pytest --durations=0 --cov-report=xml --cov=neurolib tests/\n      - name: Upload coverage to Codecov 📊\n        uses: codecov/codecov-action@v1\n        with:\n          file: ./coverage.xml\n          files: ./coverage1.xml,./coverage2.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          verbose: true\n", "state": "active", "repository": "neurolib-dev/neurolib"}
{"mined_at": "2024-07-15T13:05:16.965782", "created_at": "2021-02-14T16:28:12+01:00", "updated_at": "2021-02-14T17:27:50+01:00", "name": "documentation", "path": ".github/workflows/documentation.yml", "contents": "name: documentation\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.7]\n\n    steps:\n      - name: Copy Repository Contents ↩\n        uses: actions/checkout@v2\n        with:\n          persist-credentials: false\n      - name: Set up Python ${{ matrix.python-version }} 🚜\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies 🛠\n        run: |\n          python -m pip install --upgrade pip\n          pip install mkdocs mkdocs-material mkdocstrings mkdocstrings-python mknotebooks Pygments livereload\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          pip install .\n      - name: Build documentation 👷‍♀️\n        run: |\n          mkdocs build\n      - name: Predeploy on PR ✈️\n        if: github.event_name == 'pull_request'\n        uses: JamesIves/github-pages-deploy-action@4.0.0\n        with:\n          folder: site\n          target-folder: \"predeploy\"\n          token: ${{ secrets.DOC_ACCESS_TOKEN }}\n          branch: master\n          commit-message: \"PR predeploy\"\n          repository-name: neurolib-dev/neurolib-dev.github.io\n      - name: Deploy 🚀\n        if: github.event_name == 'push'\n        uses: JamesIves/github-pages-deploy-action@4.0.0\n        with:\n          folder: site\n          token: ${{ secrets.DOC_ACCESS_TOKEN }}\n          branch: master\n          repository-name: neurolib-dev/neurolib-dev.github.io\n", "state": "active", "repository": "neurolib-dev/neurolib"}
{"mined_at": "2024-07-15T13:05:18.264406", "created_at": "2021-01-27T19:31:01+01:00", "updated_at": "2021-01-27T19:31:01+01:00", "name": "notebooks", "path": ".github/workflows/test-notebooks.yml", "contents": "name: notebooks\n\non:\n  push:\n  pull_request:\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [3.7]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }} 🚜\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies 🛠\n        run: |\n          python -m pip install --upgrade pip\n          pip install treon wheel setuptools jupyterlab matplotlib seaborn\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          pip uninstall -y importlib-metadata\n          pip install \"importlib-metadata<5.0\"\n          pip install .\n      - name: Test notebooks with treon 🧪\n        run: |\n          treon examples/\n", "state": "active", "repository": "neurolib-dev/neurolib"}
{"mined_at": "2024-07-15T13:05:20.361625", "created_at": "2020-11-09T23:09:22+01:00", "updated_at": "2020-11-09T23:09:22+01:00", "name": "Python Package Linux", "path": ".github/workflows/test.yml", "contents": "name: Python Package Linux\n\non:\n  push:\n    branches:\n    - master\n  pull_request:\n    branches:\n    - master\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e \".[test]\"\n    - name: Code formatting\n      run: |\n        pip install black==22.3.0\n        black --check .\n    - name: Test with pytest\n      run: |\n        pytest --color=yes\n", "state": "active", "repository": "pysport/kloppy"}
{"mined_at": "2024-07-15T13:05:22.515436", "created_at": "2021-01-16T17:00:59+01:00", "updated_at": "2021-11-08T16:02:06+01:00", "name": "Autorelease Deploy", "path": ".github/workflows/autorelease-deploy.yml", "contents": "# Vendored from Autorelease 0.5.0\n# Update by updating Autorelease and running `autorelease vendor actions`\nname: \"Autorelease Deploy\"\non:\n  release:\n    types: [published]\n\njobs:\n  deploy_pypi:\n    if: ${{ github.repository == 'openpathsampling/openpathsampling' }}\n    runs-on: ubuntu-latest\n    name: \"Deploy to PyPI\"\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.x\"\n      - run: |  # TODO: move this to an action\n          source ./.github/workflows/autorelease-default-env.sh\n          if [ -f \"autorelease-env.sh\" ]; then\n            cat autorelease-env.sh >> $GITHUB_ENV\n          fi\n          if [ -f \"./.autorelease/install-autorelease\" ]; then\n            source ./.autorelease/install-autorelease\n          else\n            eval $INSTALL_AUTORELEASE\n          fi\n        name: \"Install autorelease\"\n      - run: |\n          python -m pip install twine wheel\n        name: \"Install release tools\"\n      - run: |\n          python setup.py sdist bdist_wheel\n          twine check dist/*\n        name: \"Build and check package\"\n      - uses: pypa/gh-action-pypi-publish@master\n        with:\n          password: ${{ secrets.pypi_password }}\n        name: \"Deploy to pypi\"\n \n", "state": "active", "repository": "openpathsampling/openpathsampling"}
{"mined_at": "2024-07-15T13:05:23.756848", "created_at": "2021-01-16T17:00:59+01:00", "updated_at": "2021-11-08T16:02:06+01:00", "name": "Autorelease Release", "path": ".github/workflows/autorelease-gh-rel.yml", "contents": "# Vendored from Autorelease 0.5.0\n# Update by updating Autorelease and running `autorelease vendor actions`\nname: \"Autorelease Release\"\non:\n  push:\n    branches:\n      # TODO: this should come from yaml conf\n      - stable\n\njobs:\n  release-gh:\n    if: ${{ github.repository == 'openpathsampling/openpathsampling' }}\n    runs-on: ubuntu-latest\n    name: \"Cut release\"\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.7\"\n      - run: |  # TODO: move this to an action\n          source ./.github/workflows/autorelease-default-env.sh\n          if [ -f \"autorelease-env.sh\" ]; then\n            cat autorelease-env.sh >> $GITHUB_ENV\n          fi\n          if [ -f \"./.autorelease/install-autorelease\" ]; then\n            source ./.autorelease/install-autorelease\n          else\n            eval $INSTALL_AUTORELEASE\n          fi\n        name: \"Install autorelease\"\n      - run: |\n          VERSION=`python setup.py --version`\n          PROJECT=`python setup.py --name`\n          echo $PROJECT $VERSION\n          autorelease-release --project $PROJECT --version $VERSION --token $AUTORELEASE_TOKEN\n        env:\n          AUTORELEASE_TOKEN: ${{ secrets.AUTORELEASE_TOKEN }}\n        name: \"Cut release\"\n", "state": "active", "repository": "openpathsampling/openpathsampling"}
{"mined_at": "2024-07-15T13:05:24.815101", "created_at": "2021-01-16T17:00:59+01:00", "updated_at": "2021-11-08T16:02:06+01:00", "name": "Autorelease testpypi", "path": ".github/workflows/autorelease-prep.yml", "contents": "# Vendored from Autorelease 0.5.0\n# Update by updating Autorelease and running `autorelease vendor actions`\nname: \"Autorelease testpypi\"\non:\n  pull_request:\n    branches:\n      # TODO: this should come from yaml conf\n      - stable\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  deploy_testpypi:\n    if: ${{ github.repository == 'openpathsampling/openpathsampling' }}\n    runs-on: ubuntu-latest\n    name: \"Deployment test\"\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.x\"\n      - run: |  # TODO: move this to an action\n          source ./.github/workflows/autorelease-default-env.sh\n          if [ -f \"autorelease-env.sh\" ]; then\n            cat autorelease-env.sh >> $GITHUB_ENV\n          fi\n          if [ -f \"./.autorelease/install-autorelease\" ]; then\n            source ./.autorelease/install-autorelease\n          else\n            eval $INSTALL_AUTORELEASE\n          fi\n        name: \"Install autorelease\"\n      - run: |\n          python -m pip install twine wheel\n        name: \"Install release tools\"\n      - run: |\n          bump-dev-version\n          python setup.py --version\n        name: \"Bump testpypi dev version\"\n      - run: |\n          python setup.py sdist bdist_wheel\n          twine check dist/*\n        name: \"Build and check package\"\n      - uses: pypa/gh-action-pypi-publish@master\n        with:\n          password: ${{ secrets.testpypi_password }}\n          repository_url: https://test.pypi.org/legacy/\n        name: \"Deploy to testpypi\"\n  test_testpypi:\n    if: ${{ github.repository == 'openpathsampling/openpathsampling' }}\n    runs-on: ubuntu-latest\n    name: \"Test deployed\"\n    needs: deploy_testpypi\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.11\"\n      - run: |  # TODO: move this to an action\n          source ./.github/workflows/autorelease-default-env.sh\n          if [ -f \"autorelease-env.sh\" ]; then\n            cat autorelease-env.sh >> $GITHUB_ENV\n          fi\n          if [ -f \"./.autorelease/install-autorelease\" ]; then\n            source ./.autorelease/install-autorelease\n          else\n            eval $INSTALL_AUTORELEASE\n          fi\n        name: \"Install autorelease\"\n      - name: \"Install testpypi version\"\n        run: install-testpypi\n      - name: \"Test testpypi version\"\n        run: |\n          if [ -f \"autorelease-env.sh\" ]; then\n            cat autorelease-env.sh >> $GITHUB_ENV\n          fi\n          test-testpypi\n", "state": "active", "repository": "openpathsampling/openpathsampling"}
{"mined_at": "2024-07-15T13:05:25.896248", "created_at": "2021-05-07T17:08:51+02:00", "updated_at": "2023-05-20T03:00:03+02:00", "name": "Check for OpenMM RC", "path": ".github/workflows/check-openmm-rc.yml", "contents": "# Workflow to check for a recent OpenMM release candidate.\n#\n# If a recent RC is found, trigger a second workflow to test against it.\n# See also: test-openmm-rc.yml\nname: \"Check for OpenMM RC\"\non:\n  schedule:\n    - cron: \"0 9 * * *\"\n  # use this for debugging\n  #pull_request:\n    #branch: master\n\njobs:\n  check_rc:\n    if: ${{ github.repository == 'openpathsampling/openpathsampling' }}\n    runs-on: ubuntu-latest\n    name: \"Check for OpenMM RC\"\n    steps:\n      - uses: actions/checkout@v2\n      - uses: dwhswenson/conda-rc-check@v1\n        id: checkrc\n        with:\n          channel: conda-forge\n          package: openmm\n          ndays: 3\n          labels: openmm_rc\n    outputs:\n      hasrc: ${{ steps.checkrc.outputs.hasrc }}\n\n  test_rc:\n    needs: check_rc\n    uses: ./.github/workflows/test-openmm-rc.yml\n    secrets: inherit\n    if: ${{ needs.check_rc.outputs.hasrc == 'True' }}\n", "state": "active", "repository": "openpathsampling/openpathsampling"}
{"mined_at": "2024-07-15T13:05:26.985943", "created_at": "2021-06-09T18:20:00+02:00", "updated_at": "2021-06-11T04:51:02+02:00", "name": "docs", "path": ".github/workflows/deploy_docs.yml", "contents": "# NOTE: This workflow should obviate the after_success script\nname: \"docs\"\non:\n  push:\n    branches:\n      - master\n      - docs_deploy\n    # TODO: add support for tags/stable\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    name: \"docs\"\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: \"3.11\"\n          miniforge-variant: Mambaforge\n      - name: \"Install requirements\"\n        run: source devtools/conda_install_reqs.sh\n      - name: \"Install OPS\"\n        run: |\n          python -m pip install --no-deps -e .\n          python -c \"import openpathsampling\"\n      - name: \"Install doc tools\"\n        run: |\n          python -m pip install numpydoc s3cmd\n          conda install -y -c conda-forge --file docs/requirements.txt\n      - name: \"Versions\"\n        run: conda list\n      - name: \"Build docs\"\n        run: cd docs && python premake.py && make html && cd -\n      - name: \"Check docs\"\n        run: |\n          ls -lt docs/_build\n          ls -ls docs/_build/html\n          pwd\n      - name: \"Deploy docs\"\n        # TODO: perhaps run docs build on all, but only push on merge\n        run: python devtools/ci/push-docs-to-s3.py #--clobber\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n\n\n", "state": "active", "repository": "openpathsampling/openpathsampling"}
{"mined_at": "2024-07-15T13:05:28.107557", "created_at": "2020-12-24T07:31:03+01:00", "updated_at": "2020-12-24T07:31:03+01:00", "name": ".github/workflows/test-2.0.yml", "path": ".github/workflows/test-2.0.yml", "contents": null, "state": "active", "repository": "openpathsampling/openpathsampling"}
{"mined_at": "2024-07-15T13:05:29.221189", "created_at": "2021-05-07T14:19:45+02:00", "updated_at": "2021-05-07T18:15:19+02:00", "name": "Test OpenMM Release Candidate", "path": ".github/workflows/test-openmm-rc.yml", "contents": "# Workflow to test against release candidate of OpenMM.\n# See also: check-openmm-rc.yml\nname: \"Test OpenMM Release Candidate\"\non:\n  workflow_dispatch:\n  workflow_call:\n  # use this for debugging\n  #pull_request:\n    #branch: master\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    name: \"Tests\"\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 2\n      - uses: actions/setup-python@v2\n      - uses: conda-incubator/setup-miniconda@v2\n        with: \n          auto-update-conda: true\n      - name: \"Install requirements\"\n        run: |\n          # we'd rather use the default Python version, but for now need to\n          # pin to 3.9 (see openpathsampling/openpathsampling#1093)\n          #CONDA_PY=$(python -c \"import sys; print('.'.join(str(s) for s in sys.version_info[:2]))\")\n          export CONDA_PY=3.9\n          echo \"Python version: ${CONDA_PY}\"\n          source devtools/conda_install_reqs.sh\n      - name: \"Install OpenMM RC\"\n        run: |\n          conda install -c conda-forge/label/openmm_rc -c conda-forge openmm\n      - name: \"Install\"\n        run: |\n          python -m pip install --no-deps -e .\n          python -c \"import openpathsampling\"\n      - name: \"Versions\"\n        run: conda list\n      - name: \"Unit Tests\"\n        env:\n          PY_COLORS: \"1\"\n        run: py.test -vv -s --cov --cov-report xml\n      - name: \"Tests: Experimental\"\n        if: matrix.MINIMAL == '' && matrix.CONDA_PY != '2.7'\n        run: py.test openpathsampling/experimental/ -vv -s\n      - name: \"Notebook tests\"\n        run: |\n          pushd examples/ && ./ipynbtests.sh || exit 1 && popd\n", "state": "active", "repository": "openpathsampling/openpathsampling"}
{"mined_at": "2024-07-15T13:05:30.377844", "created_at": "2020-12-27T15:40:25+01:00", "updated_at": "2023-05-20T02:59:56+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: \"Tests\"\non:\n  pull_request:\n    types: ['opened', 'synchronize', 'reopened', 'ready_for_review']\n    branches:\n      - master\n      - stable\n  push:\n    branches:\n      - master\n    tags:\n      - \"v*\"\n  schedule:\n    - cron: \"0 4 * * *\"\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    name: \"Tests\"\n    strategy:\n      # NOTE: When changing the test matrix:\n      # * Update the after_n_builds in codecov.yml to match the number of\n      #   builds in the matrix\n      # * You may need to create another example run for the notebook tests\n      #   (see examples/ipynbtests.sh; examples/prep_example_data.py). This\n      #   is because Python internals (usually bytecode, which is saved in\n      #   CVs) can differ between minor Python versions.\n      matrix:\n        CONDA_PY:\n          - \"3.12\"\n          - \"3.11\"\n          - \"3.10\"\n        MINIMAL: [\"\"]\n        include:\n          - CONDA_PY: \"3.10\"\n            MINIMAL: \"minimal\"\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 2\n      - uses: actions/setup-python@v2\n      - uses: conda-incubator/setup-miniconda@v2\n        with: \n          auto-update-conda: true\n          python-version: ${{ matrix.CONDA_PY }}\n          miniforge-variant: Mambaforge\n      - name: \"Install requirements\"\n        env:\n          MINIMAL: ${{ matrix.MINIMAL }}\n          CONDA_PY: ${{ matrix.CONDA_PY }}\n        run: |\n          if [ -z \"$MINIMAL\" ] ; then\n            source devtools/conda_install_reqs.sh\n          else\n            # In this case we're actually double-installing (not just\n            # installing requirements here). We prefer this to using the\n            # conda_install_reqs script so we can test deps coming from PyPI\n            python -m pip install -e .[test]\n          fi\n          python -m pip install autorelease\n      - name: \"Install\"\n        run: |\n          python -m pip install --no-deps -e .\n      - name: \"Check installation\"\n        run: |\n          python -c \"import openpathsampling; print(openpathsampling.version.full_version)\"\n      - name: \"Versions\"\n        run: conda list\n      - name: \"Autorelease check\"\n        run: python devtools/autorelease_check.py\n      #- name: \"DEBUG: enable SSH login\"\n        #uses: mxschmitt/action-tmate@v3\n      - name: \"Unit Tests\"\n        env:\n          PY_COLORS: \"1\"\n        run: py.test -vv -s --cov --cov-report xml\n      - name: \"Tests: Experimental\"\n        if: matrix.MINIMAL == '' && matrix.CONDA_PY != '2.7'\n        run: py.test openpathsampling/experimental/ -vv -s\n      - uses: codecov/codecov-action@v2\n      - name: \"Notebook tests\"\n        if: matrix.MINIMAL == ''\n        run: |\n          pushd examples/ && ./ipynbtests.sh || exit 1 && popd\n", "state": "active", "repository": "openpathsampling/openpathsampling"}
{"mined_at": "2024-07-15T13:05:32.480336", "created_at": "2021-02-25T21:49:48+01:00", "updated_at": "2024-04-25T12:50:55+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\n# trigger\non:\n  push:\n    branches:\n    - main\n    - develop\n  pull_request:\n  workflow_dispatch:\n  schedule:\n    # run Monday and Thursday at 03:42 UTC\n    - cron: '42 3 * * MON,THU'\n\nenv:\n  # use all available cores for compiling amici models\n  AMICI_PARALLEL_COMPILE: \"\"\n  # non-interactive backend for matplotlib\n  MPLBACKEND: \"agg\"\n\n# jobs\njobs:\n  base:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.12']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          .tox/\n        key: \"${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-ci-${{ github.job }}\"\n\n    - name: Install dependencies\n      run: .github/workflows/install_deps.sh amici\n\n    - name: Run tests\n      timeout-minutes: 30\n      run: tox -e base\n      env:\n        CC: clang\n        CXX: clang++\n\n    - name: Coverage\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n\n  mac:\n    runs-on: macos-13  # TODO: change to macos-latest after the next release\n    strategy:\n      matrix:\n        python-version: ['3.12']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          .tox/\n        key: \"${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-ci-${{ github.job }}\"\n\n    - name: Install dependencies\n      run: .github/workflows/install_deps.sh amici\n\n    - name: Run tests\n      timeout-minutes: 30\n      run: ulimit -n 65536 65536 && tox -e base\n\n    - name: Coverage\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n\n  windows:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~\\AppData\\Local\\pip\\Cache\n          .tox\n        key: \"${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-ci-${{ github.job }}\"\n\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install tox\n\n    - name: Run tests\n      shell: bash\n      timeout-minutes: 10\n      run: tox -e windows\n\n  petab:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.12']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          .tox/\n        key: \"${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-ci-${{ github.job }}\"\n\n    - name: Install dependencies\n      run: .github/workflows/install_deps.sh amici pysb\n\n    - name: Run tests\n      timeout-minutes: 35\n      run: tox -e petab\n      env:\n        CC: clang\n        CXX: clang++\n\n    - name: Coverage\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n\n  julia:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.12']\n\n    # needed to allow julia-actions/cache to delete old caches that it has created\n    permissions:\n      actions: write\n      contents: read\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache tox and cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          .tox/\n        key: \"${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-ci-${{ github.job }}\"\n\n    - name: Install julia\n      uses: julia-actions/setup-julia@v1\n      with:\n        version: 1.9\n\n    - name: Cache Julia\n      uses: julia-actions/cache@v1\n\n    - name: Install dependencies\n      run: .github/workflows/install_deps.sh\n\n    - name: Install PEtabJL dependencies\n      run: >\n        julia -e 'using Pkg; Pkg.add(Pkg.PackageSpec(;name=\"PEtab\", version=\"2.5.0\"));\n        Pkg.add(\"OrdinaryDiffEq\"); Pkg.add(\"Sundials\")'\n\n    - name: Run tests\n      timeout-minutes: 25\n      run: tox -e julia\n\n    - name: Coverage\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n\n  optimize:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          .tox/\n        key: \"${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-ci-${{ github.job }}\"\n\n    - name: Install dependencies\n      run: .github/workflows/install_deps.sh ipopt\n\n    - name: Run tests\n      timeout-minutes: 25\n      run: tox -e optimize\n\n    - name: Coverage\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n\n  hierarchical:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.12']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          .tox/\n        key: \"${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-ci-${{ github.job }}\"\n\n    - name: Install dependencies\n      run: .github/workflows/install_deps.sh amici\n\n    - name: Run tests\n      timeout-minutes: 20\n      run: tox -e hierarchical\n\n    - name: Coverage\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n\n  select:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.12']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          .tox/\n        key: \"${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-ci-${{ github.job }}\"\n\n    - name: Install dependencies\n      run: .github/workflows/install_deps.sh amici\n\n    - name: Run tests\n      timeout-minutes: 20\n      run: tox -e select\n\n    - name: Coverage\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n\n  quality:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          .tox/\n        key: \"${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-ci-${{ github.job }}\"\n\n    - name: Install dependencies\n      run: pip install tox pre-commit\n\n    - name: Check repository size\n      run: tox -e size\n\n    - name: Run pre-commit hooks\n      run: pre-commit run --all-files\n\n  docs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.11']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          .tox/\n        key: \"${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-ci-${{ github.job }}\"\n\n    - name: Install dependencies\n      run: .github/workflows/install_deps.sh doc amici\n\n    - name: Validate CITATION.cff\n      run: pip install cffconvert && cffconvert --validate\n\n    - name: Build doc\n      timeout-minutes: 30\n      run: tox -e doc\n\n  notebooks1:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          .tox/\n        key: \"${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-ci-${{ github.job }}\"\n\n    - name: Install dependencies\n      run: .github/workflows/install_deps.sh amici ipopt\n\n    - name: Run notebooks 1\n      timeout-minutes: 20\n      run: tox -e notebooks1\n\n  notebooks2:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          .tox/\n        key: \"${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-ci-${{ github.job }}\"\n\n    - name: Install dependencies\n      run: .github/workflows/install_deps.sh amici\n\n    - name: Run notebooks 2\n      timeout-minutes: 20\n      run: tox -e notebooks2\n", "state": "active", "repository": "icb-dcm/pypesto"}
{"mined_at": "2024-07-15T13:05:33.514215", "created_at": "2023-12-19T17:29:24+01:00", "updated_at": "2024-02-06T09:54:38+01:00", "name": "Delete after PR merge", "path": ".github/workflows/clear-cache.yml", "contents": "# Save cache space by deleting cache entries from a PR after it was merged.\n# https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries\nname: Delete after PR merge\non:\n  pull_request:\n    types:\n      - closed\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cleanup\n        run: |\n          gh extension install actions/gh-actions-cache\n\n          echo \"Fetching list of cache key\"\n          cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH -L 100 | cut -f 1 )\n\n          ## Setting this to not fail the workflow while deleting cache keys.\n          set +e\n          echo \"Deleting caches...\"\n          for cacheKey in $cacheKeysForPR\n          do\n              gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm\n          done\n          echo \"Done\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPO: ${{ github.repository }}\n          BRANCH: refs/pull/${{ github.event.pull_request.number }}/merge\n", "state": "active", "repository": "icb-dcm/pypesto"}
{"mined_at": "2024-07-15T13:05:34.654783", "created_at": "2021-01-19T23:47:02+01:00", "updated_at": "2021-01-19T23:47:02+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n\n    - name: Remove direct dependencies from setup.cfg\n      # Remove any \"git+https\"-based dependencies that are not supported\n      #  by PyPI and are only required for testing.\n      run: sed -i '/git+https/d' setup.cfg\n\n    - name: Prepare python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "icb-dcm/pypesto"}
{"mined_at": "2024-07-15T13:05:35.627399", "created_at": "2023-06-21T09:10:46+02:00", "updated_at": "2023-06-21T09:10:46+02:00", "name": "publish-dockerhub", "path": ".github/workflows/publish_dockerhub.yml", "contents": null, "state": "active", "repository": "icb-dcm/pypesto"}
{"mined_at": "2024-07-15T13:05:36.705475", "created_at": "2023-06-26T13:07:16+02:00", "updated_at": "2023-06-26T13:07:16+02:00", "name": "Test_action", "path": ".github/workflows/test_action.yaml", "contents": null, "state": "active", "repository": "icb-dcm/pypesto"}
{"mined_at": "2024-07-15T13:05:37.687333", "created_at": "2023-06-26T13:05:13+02:00", "updated_at": "2023-06-26T13:05:13+02:00", "name": "Test_action", "path": ".github/workflows/test_action.yml", "contents": null, "state": "active", "repository": "icb-dcm/pypesto"}
{"mined_at": "2024-07-15T13:05:40.018654", "created_at": "2022-10-20T18:33:34+02:00", "updated_at": "2023-05-31T06:32:43+02:00", "name": "Create and publish Docker image", "path": ".github/workflows/docker_build.yaml", "contents": "name: Create and publish Docker image\n\non:\n  push:\n    branches: \n      - develop\n      - main\n    tags:\n      - 'v*'\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v3.2.0\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "imperialcollegelondon/sharpy"}
{"mined_at": "2024-07-15T13:05:41.097714", "created_at": "2022-10-22T17:38:15+02:00", "updated_at": "2023-05-31T06:32:43+02:00", "name": "Test Docker image build", "path": ".github/workflows/docker_build_test.yaml", "contents": "name: Test Docker image build\n\non:\n  pull_request:\n    branches:\n      - main\n      - develop\n      - 'rc*'\n  push:\n    paths:\n      - 'utils/*'\n      - 'Dockerfile'\n      - '.github/workflows/docker*'\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  test_image_build:\n    runs-on: ubuntu-latest\n    name: Test Docker image build\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build Docker image\n        uses: docker/build-push-action@v3.2.0\n        with:\n          context: .\n          push: false\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "imperialcollegelondon/sharpy"}
{"mined_at": "2024-07-15T13:05:42.141896", "created_at": "2022-05-13T20:25:23+02:00", "updated_at": "2023-05-31T06:32:43+02:00", "name": "SHARPy Tests", "path": ".github/workflows/sharpy_no_test_needed.yaml", "contents": "name: SHARPy Tests\n\non:\n  pull_request:\n    branches:\n      - main\n      - develop\n      - 'rc*'\n    paths-ignore:\n      - '*.py'\n      - 'lib/**'\n      - '.github/workflows/**'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - run: 'echo \"No changes to python files, submodules or workflows, no run required\" '\n", "state": "active", "repository": "imperialcollegelondon/sharpy"}
{"mined_at": "2024-07-15T13:05:43.370547", "created_at": "2021-10-20T20:27:25+02:00", "updated_at": "2023-12-06T14:46:48+01:00", "name": "SHARPy Tests", "path": ".github/workflows/sharpy_tests.yaml", "contents": "name: SHARPy Tests\n\non:\n  push:\n    paths:\n      - '*.py'\n      - 'lib/*'\n      - '.github/workflows/sharpy*'\n  pull_request:\n    branches:\n      - main\n      - develop\n      - 'rc*'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.10.8]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set up GCC\n        uses: egor-tensin/setup-gcc@v1\n        with:\n          version: 10\n          platform: x64\n      - name: Pre-Install dependencies\n        run: |\n          gfortran --version\n          export QT_QPA_PLATFORM='offscreen'\n          sudo apt install libeigen3-dev\n          git submodule init\n          git submodule update\n          git fetch --tags -f\n          mkdir build && cd build\n          cmake .. && make install -j 4 && cd ..\n          pip install .\n          pip install coverage\n          coverage run -m unittest discover\n          coverage json\n      - name: Upload Coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          verbose: true\n", "state": "active", "repository": "imperialcollegelondon/sharpy"}
{"mined_at": "2024-07-15T13:05:45.623474", "created_at": "2021-02-03T12:35:25+01:00", "updated_at": "2022-03-07T15:32:32+01:00", "name": "SonarQube", "path": ".github/workflows/sonarqube.yml", "contents": "name: SonarQube\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  sonarcloud:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        # Disabling shallow clone is recommended for improving relevancy of reporting\n        fetch-depth: 0\n    - name: SonarCloud Scan\n      uses: sonarsource/sonarcloud-github-action@master\n      with:\n        args: >\n          -Dsonar.organization=astrolabsoftware\n          -Dsonar.projectKey=finkbroker\n          -Dsonar.sources=fink_broker/,bin/\n          -Dsonar.issue.ignore.multicriteria.j1.ruleKey=python:S107,python:S1192\n          -Dsonar.test.exclusions=fink_broker/htmlcov,fink_broker/slackUtils.py\n          -Dsonar.verbose=true\n          -Dsonar.coverage.exclusions=**/**\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "astrolabsoftware/fink-broker"}
{"mined_at": "2024-07-15T13:05:46.733423", "created_at": "2021-02-03T15:10:39+01:00", "updated_at": "2022-03-07T15:32:32+01:00", "name": "PEP8", "path": ".github/workflows/linter.yml", "contents": "name: PEP8\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9, 3.11]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install ruff\n    - name: fink-broker\n      run: |\n        ruff check --statistics fink_broker/*.py\n        ruff format --check fink_broker/*.py\n    - name: bin\n      run: |\n        ruff check --statistics bin/*.py\n        ruff format --check bin/*.py\n", "state": "active", "repository": "astrolabsoftware/fink-broker"}
{"mined_at": "2024-07-15T13:05:47.945117", "created_at": "2022-03-11T15:05:07+01:00", "updated_at": "2023-01-26T12:57:23+01:00", "name": "Sentinel", "path": ".github/workflows/test.yml", "contents": "name: Sentinel\n\non:\n  schedule:\n    # At 05:00 UTC on every day-of-week from Monday through Friday.\n    - cron:  '0 5 * * 1-5'\n  push:\n    branches:\n      - master\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test-suite:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        container: [\"julienpeloton/fink-ci:dev\"]\n\n    container:\n      image: ${{ matrix.container }}\n\n    env:\n      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up env from container variables\n      run: |\n        echo \"FINK_HOME=$GITHUB_WORKSPACE\" >> $GITHUB_ENV\n        echo \"JAVA_HOME=$(dirname $(dirname $(readlink -f $(which java))))\" >> $GITHUB_ENV\n        echo \"${BINPATH}\" >> $GITHUB_PATH\n    #- name: Download test data\n    #  run: |\n    #    cd $FINK_HOME/datasim/basic_alerts\n    #    source $FINK_HOME/datasim/basic_alerts/download_ztf_alert_data.sh\n    #    cd $FINK_HOME\n    - name: Download simulator\n      run: |\n        git clone https://github.com/astrolabsoftware/fink-alert-simulator.git\n        echo \"FINK_ALERT_SIMULATOR=${FINK_HOME}/fink-alert-simulator/rootfs/fink\" >> $GITHUB_ENV\n    - name: Download schemas\n      run: |\n        git clone https://github.com/astrolabsoftware/fink-alert-schemas.git\n        echo \"FINK_SCHEMA=${FINK_HOME}/fink-alert-schemas\" >> $GITHUB_ENV\n    - name: Set up env [2/2]\n      run: |\n        echo \"PYTHONPATH=${FINK_HOME}:${FINK_ALERT_SIMULATOR}:${PYTHONPATH}\" >> $GITHUB_ENV\n        echo \"${FINK_HOME}/bin:${FINK_ALERT_SIMULATOR}/bin\" >> $GITHUB_PATH\n        echo \"PYTHONPATH=$SPARK_HOME/python/lib/py4j-0.10.9.7-src.zip:$PYTHONPATH\" >> $GITHUB_ENV\n    - name: Check env\n      run: |\n        echo \"FINK_HOME: $FINK_HOME\"\n        echo \"SPARK_HOME: $SPARK_HOME\"\n        echo \"SPARKLIB: $SPARKLIB\"\n        echo \"FINK_ALERT_SIMULATOR: $FINK_ALERT_SIMULATOR\"\n        echo \"KAFKA_HOME: $KAFKA_HOME\"\n        echo \"PYTHONPATH: $PYTHONPATH\"\n        echo \"JAVA_HOME: $JAVA_HOME\"\n        echo `python -V`\n    - name: Run test suites [dev]\n      if: matrix.container == 'julienpeloton/fink-ci:dev'\n      run: |\n        cd $USRLIBS\n        source scripts/start_services.sh --kafka-version ${KAFKA_VERSION} --hbase-version ${HBASE_VERSION}\n        cd $FINK_HOME\n        fink_test -c conf/fink.conf.dev --unit-tests --db-integration\n    - name: Run test suites [prod]\n      if: matrix.container == 'julienpeloton/fink-ci:prod'\n      run: |\n        cd $USRLIBS\n        source scripts/start_services.sh --kafka-version ${KAFKA_VERSION} --hbase-version ${HBASE_VERSION}\n        cd $FINK_HOME\n        fink_test -c conf/fink.conf.prod --unit-tests --db-integration\n        curl -s https://codecov.io/bash | bash\n    - uses: act10ns/slack@v1\n      with:\n        status: ${{ job.status }}\n      if: always()\n", "state": "active", "repository": "astrolabsoftware/fink-broker"}
{"mined_at": "2024-07-15T13:05:49.086574", "created_at": "2023-12-17T18:11:07+01:00", "updated_at": "2023-12-17T18:11:07+01:00", "name": "vcluster_example", "path": ".github/workflows/vcluster-example.yml", "contents": null, "state": "active", "repository": "astrolabsoftware/fink-broker"}
{"mined_at": "2024-07-15T13:05:50.142490", "created_at": "2024-01-19T16:39:24+01:00", "updated_at": "2024-02-07T11:56:00+01:00", "name": "e2e: noscience, gha", "path": ".github/workflows/e2e-gha.yml", "contents": "name: \"e2e: noscience, gha\"\non:\n  push:\n  pull_request:\n    branches:\n      - master\njobs:\n  call-workflow-passing-data:\n    uses: ./.github/workflows/e2e-common.yml\n    with:\n      suffix: \"noscience\"\n      ci_repo: \"\"\n      runner: \"['ubuntu-latest']\"\n      kind_version: \"v0.20.0\"\n    secrets:\n      registry_username: ${{ secrets.REGISTRY_USERNAME }}\n      registry_token: ${{ secrets.REGISTRY_TOKEN }}\n      private_registry_username: ${{ secrets.PRIVATE_REGISTRY_USERNAME }}\n      private_registry_token: ${{ secrets.PRIVATE_REGISTRY_TOKEN }}", "state": "active", "repository": "astrolabsoftware/fink-broker"}
{"mined_at": "2024-07-15T13:05:51.139632", "created_at": "2024-01-19T16:39:24+01:00", "updated_at": "2024-01-30T12:07:41+01:00", "name": "e2e: noscience, self-hosted", "path": ".github/workflows/e2e-noscience.yml", "contents": "name: \"e2e: noscience, self-hosted\"\non:\n  push:\n  schedule:\n    # At 03:00 UTC on every day-of-week from Monday through Friday.\n    - cron:  '0 3 * * 1-5'\njobs:\n  call-workflow-passing-data:\n    uses: ./.github/workflows/e2e-common.yml\n    with:\n      suffix: \"noscience\"\n      ci_repo: \"gitlab.dsi.universite-paris-saclay.fr:5005/fink/fink-registry\"\n      runner: \"['arc-runners']\"\n      kind_version: \"v0.15.0\"\n    secrets:\n      registry_username: ${{ secrets.REGISTRY_USERNAME }}\n      registry_token: ${{ secrets.REGISTRY_TOKEN }}\n      private_registry_username: ${{ secrets.PRIVATE_REGISTRY_USERNAME }}\n      private_registry_token: ${{ secrets.PRIVATE_REGISTRY_TOKEN }}\n", "state": "active", "repository": "astrolabsoftware/fink-broker"}
{"mined_at": "2024-07-15T13:05:52.177277", "created_at": "2024-01-19T16:39:26+01:00", "updated_at": "2024-01-30T12:07:41+01:00", "name": "e2e: science, self-hosted", "path": ".github/workflows/e2e-science.yml", "contents": "name: \"e2e: science, self-hosted\"\non:\n  schedule:\n    # At 05:00 UTC on every day-of-week from Monday through Friday.\n    - cron:  '0 5 * * 1-5'\n  push:\n  # TODO ciux does not support pull_request when trying not to build image\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\njobs:\n  call-workflow-passing-data:\n    uses: ./.github/workflows/e2e-common.yml\n    with:\n      suffix: \"\"\n      ci_repo: \"gitlab.dsi.universite-paris-saclay.fr:5005/fink/fink-registry\"\n      runner: \"['arc-runners']\"\n      kind_version: \"v0.15.0\"\n    secrets:\n      registry_username: ${{ secrets.REGISTRY_USERNAME }}\n      registry_token: ${{ secrets.REGISTRY_TOKEN }}\n      private_registry_username: ${{ secrets.PRIVATE_REGISTRY_USERNAME }}\n      private_registry_token: ${{ secrets.PRIVATE_REGISTRY_TOKEN }}\n", "state": "active", "repository": "astrolabsoftware/fink-broker"}
{"mined_at": "2024-07-15T13:05:53.306889", "created_at": "2024-02-22T14:08:29+01:00", "updated_at": "2024-04-08T20:07:27+02:00", "name": "Reusable workflow for Fink self-hosted e2e tests", "path": ".github/workflows/e2e-common.yml", "contents": "name: \"Reusable workflow for Fink self-hosted e2e tests\"\non:\n  workflow_call:\n    inputs:\n      suffix:\n        required: true\n        type: string\n      ci_repo:\n        required: true\n        type: string\n      runner:\n        required: true\n        type: string\n      kind_version:\n        required: true\n        type: string\n    secrets:\n      registry_username:\n        required: true\n      registry_token:\n        required: true\n      private_registry_username:\n        required: true\n      private_registry_token:\n        required: true\nenv:\n  CIUXCONFIG: /tmp/ciux.sh\n  CIUX_VERSION: v0.0.3-rc3\n  GHA_BRANCH_NAME: ${{ github.head_ref || github.ref_name }}\n  SUFFIX: ${{ inputs.suffix }}\n  CI_REPO: ${{ inputs.ci_repo }}\n  # Override the self-hosted runner value\n  POD_NAMESPACE: default\njobs:\n  build:\n    name: Build image\n    runs-on: ${{ fromJSON(inputs.runner) }}\n    outputs:\n      image: ${{ steps.export.outputs.IMAGE }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-go@v4\n        with:\n          go-version: '1.21.4'\n      - name: Install ciux\n        run: go install github.com/k8s-school/ciux@\"${{ env.CIUX_VERSION }}\"\n      - name: Build fink-broker image for k8s\n        run: |\n          ./build.sh -s \"${{ env.SUFFIX }}\" -r \"${{ env.CI_REPO }}\"\n      - name: Export fink-broker image\n        id: export\n        run: |\n          # Cannot use CIUXCONFIG because it may not have been created yet\n          # TODO make it simpler!\n          $(ciux get image --check $PWD --suffix \"${{ env.SUFFIX }}\" --tmp-registry \"${{ env.CI_REPO }}\" --env)\n          mkdir -p artifacts\n          if [ $CIUX_BUILD = true ]; then\n            if [ -n \"${{ env.CI_REPO }}\" ]; then\n              echo \"Login to CI private registry\"\n              echo ${{ secrets.private_registry_token }} | docker login --username ${{ secrets.private_registry_token }} --password-stdin ${{ env.CI_REPO }}\n              echo \"Pushing image $CIUX_IMAGE_URL to CI private registry\"\n              docker push $CIUX_IMAGE_URL\n              touch artifacts/empty\n            else\n              echo \"Export $CIUX_IMAGE_URL to Github artifact store\"\n              docker save \"$CIUX_IMAGE_URL\" > artifacts/image.tar\n            fi\n          else\n            echo \"Using existing image $CIUX_IMAGE_URL\"\n            touch artifacts/empty\n          fi\n          echo \"IMAGE=$CIUX_IMAGE_URL\" >> \"$GITHUB_OUTPUT\"\n      - uses: actions/upload-artifact@v2\n        with:\n          name: docker-artifact\n          path: artifacts\n  integration-tests:\n    name: Run integration tests\n    runs-on: ${{ fromJSON(inputs.runner) }}\n    outputs:\n      new_image: ${{ steps.promote.outputs.NEW_IMAGE }}\n      promoted_image: ${{ steps.promote.outputs.PROMOTED_IMAGE }}\n    needs: build\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-go@v4\n        with:\n          go-version: '1.21.4'\n      - name: Install ciux\n        run: go install github.com/k8s-school/ciux@\"${{ env.CIUX_VERSION }}\"\n      - name: Ciux project ignition\n        run: |\n          ciux ignite --selector ci --branch=\"$GHA_BRANCH_NAME\" $PWD --suffix \"${{ env.SUFFIX }}\" --tmp-registry \"${{ env.CI_REPO }}\"\n      - name: Create k8s (kind) cluster\n        run: |\n          # v0.20.0 does not work on self-hosted runners\n          ktbx install kind --kind-version=${{ inputs.kind_version }}\n          ktbx install kubectl\n          # Configure private registry if needed\n          ./e2e/kind-config.sh -r \"${{ env.CI_REPO }}\"\n          ktbx create -s\n      - name: Install olm and argocd operators\n        run: |\n          ktbx install olm\n          ktbx install argocd\n      - name: Install argo-workflows (fink-alert-simulator pre-requisite)\n        run: |\n          ktbx install argowf\n      - name: Run argoCD\n        run: |\n          ./e2e/argocd.sh\n      - name: Download image\n        uses: actions/download-artifact@v3\n        with:\n          name: docker-artifact\n          path: artifacts\n      - name: Load container image inside kind\n        run: |\n          . \"$CIUXCONFIG\"\n          if [ -f artifacts/image.tar ]; then\n            echo \"Loading image from archive\"\n            kind load image-archive artifacts/image.tar\n            docker exec -- kind-control-plane crictl image\n          else\n            echo \"Using existing image: $CIUX_IMAGE_URL\"\n          fi\n      - name: Run fink-alert-simulator\n        run: |\n          . \"$CIUXCONFIG\"\n          \"$FINK_ALERT_SIMULATOR_DIR\"/argo-submit.sh\n          argo watch @latest\n      # - name: Setup tmate session\n      # uses: mxschmitt/action-tmate@v3\n      - name: Install fink-broker pre-requisites (JDK, Spark)\n        run: |\n          sudo apt-get -y update\n          sudo apt-get -y install openjdk-8-jdk-headless\n          ./e2e/prereq-install.sh\n      - name: Run fink-broker\n        run: |\n          ./e2e/fink-start.sh -e\n      - name: Check results\n        run: |\n          ./e2e/check-results.sh\n      - name: Promote fink-broker image\n        id: promote\n        run: |\n          . \"$CIUXCONFIG\"\n          echo \"PROMOTED_IMAGE=$CIUX_IMAGE_REGISTRY/$CIUX_IMAGE_NAME:$CIUX_IMAGE_TAG\" >> \"$GITHUB_OUTPUT\"\n          echo \"NEW_IMAGE=$CIUX_BUILD\" >> \"$GITHUB_OUTPUT\"\n  image-analysis:\n    name: Analyze image\n    runs-on: ${{ fromJSON(inputs.runner) }}\n    permissions:\n      security-events: write\n    needs: build\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - name: Download image\n        uses: actions/download-artifact@v3\n        with:\n          name: docker-artifact\n          path: artifacts\n      - name: Load image in local registry\n        run: |\n          if [ -f artifacts/image.tar ]; then\n            echo \"Loading image ${{ needs.build.outputs.image }} from archive\"\n            docker load --input artifacts/image.tar\n          else\n            echo \"Using existing image ${{ needs.build.outputs.image }}\"\n          fi\n      - name: Scan fink-broker image\n        uses: anchore/scan-action@v3\n        id: scan\n        with:\n          image: \"${{ needs.build.outputs.image }}\"\n          fail-build: false\n      - name: Display SARIF report\n        run: |\n          cat ${{ steps.scan.outputs.sarif }}\n      - name: upload Anchore scan SARIF report\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: ${{ steps.scan.outputs.sarif }}\n  push:\n    env:\n      NEW_IMAGE: ${{ needs.integration-tests.outputs.new_image }}\n      IMAGE: ${{ needs.build.outputs.image }}\n      PROMOTED_IMAGE: ${{ needs.integration-tests.outputs.promoted_image }}\n    name: Push fink-broker image to IN2P3 registry\n    runs-on: ${{ fromJSON(inputs.runner) }}\n    needs: [build, integration-tests]\n    steps:\n      - name: Download image\n        uses: actions/download-artifact@v3\n        with:\n          name: docker-artifact\n          path: artifacts\n      - name: Load image in local registry\n        run: |\n          if [ $NEW_IMAGE = true ]; then\n            # GHA setup\n            if [ -f artifacts/image.tar ]; then\n              echo \"Loading image \"$IMAGE\" from archive\"\n              docker load --input artifacts/image.tar\n            # Self-hosted runners, new image is stored in the local registry\n            elif [ -n \"$CI_REPO\" ]; then\n              echo \"Pulling image \"$IMAGE\" from $CI_REPO\"\n              docker pull \"$IMAGE\"\n            else\n              echo \"Error: no image found\"\n              exit 1\n            fi\n          else\n            echo \"Using existing image $IMAGE\"\n          fi\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          registry: gitlab-registry.in2p3.fr\n          username: ${{ secrets.registry_username }}\n          password: ${{ secrets.registry_token }}\n      - name: Push image to official registry\n        run: |\n          if [ $NEW_IMAGE = true ]; then\n            echo \"Push image $PROMOTED_IMAGE\"\n            docker tag \"$IMAGE\" \"$PROMOTED_IMAGE\"\n            docker push \"$PROMOTED_IMAGE\"\n          else\n            if which skopeo; then\n              echo \"skopeo is already installed\"\n            else\n              echo \"Install skopeo\"\n              sudo apt-get update -y\n              sudo apt-get install -y skopeo\n            fi\n            echo \"Add image tag $PROMOTED_IMAGE to $IMAGE\"\n            skopeo copy docker://$IMAGE docker://$PROMOTED_IMAGE\n          fi\n\n\n", "state": "active", "repository": "astrolabsoftware/fink-broker"}
{"mined_at": "2024-07-15T13:05:54.290095", "created_at": "2024-02-27T17:52:41+01:00", "updated_at": "2024-02-27T17:52:41+01:00", "name": "vcluster_example", "path": ".github/workflows/vcluster-example.yaml", "contents": null, "state": "active", "repository": "astrolabsoftware/fink-broker"}
{"mined_at": "2024-07-15T13:05:55.443854", "created_at": "2024-03-04T10:46:07+01:00", "updated_at": "2024-03-04T10:46:07+01:00", "name": ".github/workflows/daemonset-ca.yml", "path": ".github/workflows/daemonset-ca.yml", "contents": null, "state": "active", "repository": "astrolabsoftware/fink-broker"}
{"mined_at": "2024-07-15T13:05:56.556881", "created_at": "2023-07-12T11:24:59+02:00", "updated_at": "2024-03-06T09:35:59+01:00", "name": "e2e: noscience, self-hosted", "path": ".github/workflows/itest-noscience.yml", "contents": null, "state": "disabled_manually", "repository": "astrolabsoftware/fink-broker"}
{"mined_at": "2024-07-15T13:05:57.690746", "created_at": "2023-08-21T09:11:06+02:00", "updated_at": "2024-03-12T09:32:51+01:00", "name": "e2e: noscience, gha", "path": ".github/workflows/itest-gha.yml", "contents": null, "state": "disabled_manually", "repository": "astrolabsoftware/fink-broker"}
{"mined_at": "2024-07-15T13:05:59.859805", "created_at": "2024-06-21T14:35:18+02:00", "updated_at": "2024-06-21T14:35:18+02:00", "name": "tests_development", "path": ".github/workflows/dev.yml", "contents": "name: tests_development\non:\n  # push:\n  #   branches: [ \"development\" ]\n  pull_request:\n    branches: [ \"development\" ]\n  workflow_dispatch:\n\njobs:\n    run_tests_development:\n      runs-on: ubuntu-latest\n      # container: node:20-bookworm\n      services:\n        mysql:\n          image: mysql:8.0.21\n          env:\n            MYSQL_ROOT_PASSWORD: unittest_pwd\n            MYSQL_HOST: '%'\n            MYSQL_DATABASE: unittest_db\n            MYSQL_USER: unittest_root\n            MYSQL_PASSWORD: unittest_pwd\n          ports:\n          - 3306:3306\n  \n      steps:\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 18\n          \n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.7' \n          \n      - name: install pip\n        run: |\n          sudo apt update\n          sudo apt install -y python3-pip netcat-traditional socat iputils-ping\n          \n      - name: install packs\n        run: |\n          export PIP_BREAK_SYSTEM_PACKAGES=1\n          sudo apt update --allow-releaseinfo-change\n          sudo apt install unzip -y\n          wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.2.2472-linux.zip\n          unzip sonar-scanner-cli-4.6.2.2472-linux.zip\n          sudo apt install default-mysql-client -y\n          # pip3 install coverage coveralls pytest alembic\n          pip3 install pytest setuptools\n\n      - name: clone repo\n        uses: actions/checkout@v3\n\n      - name: check db\n        run: |\n            for i in `seq 1 30`;\n            do\n              nc -z 172.17.0.1 3306 && echo Success && exit 0\n              echo -n .\n              sleep 1\n            done\n            echo Failed waiting for MySQL && exit 1\n            \n      - name: eth_event_listener layers packages test\n        run: |\n          pip3 install -r lambda_layers/eth_event_listener/requirements.txt\n\n      - name: install other side packages and layers\n        run: |\n          pip3 install -r lambda_layers/web3_and_grpc_libraries/requirements.txt\n          pip3 install -r lambda_layers/common_python_libraries/requirements.txt\n          pip3 install -r registry/migration/requirements.txt\n          \n      - name: install npm packages\n        run: |\n          # export PIP_BREAK_SYSTEM_PACKAGES=1\n          # export CFLAGS=\"-I${PREFIX}/include/python3.11/cpython\"\n          # for requirement_file in `ls */*/requirement*.txt`;do pip3 install -r $requirement_file ;done\n          # for requirement_file in `ls */requirement*.txt`;do echo \"=============$requirement_file==================\"; pip3 install -r $requirement_file ;done\n          # pip3 install -r reqs.txt\n          for package_file in `ls */package*.json | cut -d '/' -f1`;do npm install $package_file/;done\n          \n      - name: create db\n        run: |\n          # export PIP_BREAK_SYSTEM_PACKAGES=1\n          # socat TCP-LISTEN:3306,fork TCP:mysql:3306 &\n          # mysql -h 172.17.0.1 -u root -punittest_pwd -e \"create database registry_unittest_db\"\n          mysql -h 127.0.0.1 -P 3306 -u root -punittest_pwd -e \"create database registry_unittest_db\"\n          mysql -h 127.0.0.1 -P 3306 -u root -punittest_pwd -e \"create database verification_unittest_db\"\n          mysql -h 127.0.0.1 -P 3306 -u root -punittest_pwd -e \"GRANT ALL PRIVILEGES ON *.* TO 'unittest_root'@'%';\"\n          export PYTHONPATH=$PWD\n          for alembic_file in `ls */alembic*.ini | cut -d '/' -f1`;do cd $alembic_file; echo $alembic_file; alembic upgrade head; cd .. ;done\n          mysql -h 127.0.0.1 -P 3306 -u unittest_root -punittest_pwd unittest_db < orchestrator/testcases/script.sql\n      \n      - name: common tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r common/requirements.txt\n\n      - name: dapp_user tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r dapp_user/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest dapp_user/testcases/unit_testcases/*.py dapp_user/testcases/functional_testcases/*.py\n\n      - name: notification tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r notification/requirements.txt\n\n      - name: payments tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r payments/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest payments/testcases/unit_testcases/*.py\n\n      - name: service_status tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r service_status/requirements.txt\n          pip3 install --upgrade protobuf\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest service_status/testcases/unit_testcases/*.py service_status/testcases/functional_testcases/*.py\n\n      - name: utility tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install setuptools==65.5.0\n          pip3 install wheel==0.38.0\n          pip3 install -r utility/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest utility/testcases/functional_testcases/*.py\n          \n      - name: contract_api tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r contract_api/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest contract_api/testcases/unit_testcases/*.py contract_api/testcases/unit_testcases/*/*.py contract_api/testcases/functional_testcases/*.py\n\n      - name: event_pubsub tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r lambda_layers/web3_and_grpc_libraries/requirements.txt\n          pip3 install -r lambda_layers/common_python_libraries/requirements.txt\n          pip3 install -r event_pubsub/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest event_pubsub/testcases/unit_testcases/*.py\n\n      - name: orchestrator tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r orchestrator/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest orchestrator/testcases/integration_testcases/*.py orchestrator/testcases/unit_testcases/*.py\n\n      - name: registry tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r lambda_layers/web3_and_grpc_libraries/requirements.txt\n          pip3 install -r lambda_layers/common_python_libraries/requirements.txt\n          pip3 install -r registry/migration/requirements.txt\n          pip3 install -r registry/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest registry/testcases/unit_testcases/*.py registry/testcases/functional_testcases/*.py\n\n      - name: signer tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r signer/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest signer/testcases/integration_testcases/*.py\n\n      - name: verification tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r verification/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest verification/testcases/unit_testcases/*.py verification/testcases/functional_testcases/*.py\n\n      - name: wallets tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r wallets/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest wallets/testcases/integration_testcases/*.py wallets/testcases/unit_testcases/*.py\n", "state": "active", "repository": "singnet/snet-marketplace-service"}
{"mined_at": "2024-07-15T13:06:00.882185", "created_at": "2024-06-21T14:34:45+02:00", "updated_at": "2024-06-21T14:35:18+02:00", "name": "tests_master", "path": ".github/workflows/master.yml", "contents": "name: tests_master\non:\n  # push:\n  #   branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  workflow_dispatch:\n\njobs:\n    run_tests_master:\n      runs-on: ubuntu-latest\n      # container: node:20-bookworm\n      services:\n        mysql:\n          image: mysql:8.0.21\n          env:\n            MYSQL_ROOT_PASSWORD: unittest_pwd\n            MYSQL_HOST: '%'\n            MYSQL_DATABASE: unittest_db\n            MYSQL_USER: unittest_root\n            MYSQL_PASSWORD: unittest_pwd\n          ports:\n          - 3306:3306\n  \n      steps:\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 18\n          \n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.7' \n          \n      - name: install pip\n        run: |\n          sudo apt update\n          sudo apt install -y python3-pip netcat-traditional socat iputils-ping\n          \n      - name: install packs\n        run: |\n          export PIP_BREAK_SYSTEM_PACKAGES=1\n          sudo apt update --allow-releaseinfo-change\n          sudo apt install unzip -y\n          wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.2.2472-linux.zip\n          unzip sonar-scanner-cli-4.6.2.2472-linux.zip\n          sudo apt install default-mysql-client -y\n          # pip3 install coverage coveralls pytest alembic\n          pip3 install pytest setuptools\n\n      - name: clone repo\n        uses: actions/checkout@v3\n\n      - name: check db\n        run: |\n            for i in `seq 1 30`;\n            do\n              nc -z 172.17.0.1 3306 && echo Success && exit 0\n              echo -n .\n              sleep 1\n            done\n            echo Failed waiting for MySQL && exit 1\n            \n      - name: eth_event_listener layers packages test\n        run: |\n          pip3 install -r lambda_layers/eth_event_listener/requirements.txt\n\n      - name: install other side packages and layers\n        run: |\n          pip3 install -r lambda_layers/web3_and_grpc_libraries/requirements.txt\n          pip3 install -r lambda_layers/common_python_libraries/requirements.txt\n          pip3 install -r registry/migration/requirements.txt\n          \n      - name: install npm packages\n        run: |\n          # export PIP_BREAK_SYSTEM_PACKAGES=1\n          # export CFLAGS=\"-I${PREFIX}/include/python3.11/cpython\"\n          # for requirement_file in `ls */*/requirement*.txt`;do pip3 install -r $requirement_file ;done\n          # for requirement_file in `ls */requirement*.txt`;do echo \"=============$requirement_file==================\"; pip3 install -r $requirement_file ;done\n          # pip3 install -r reqs.txt\n          for package_file in `ls */package*.json | cut -d '/' -f1`;do npm install $package_file/;done\n          \n      - name: create db\n        run: |\n          # export PIP_BREAK_SYSTEM_PACKAGES=1\n          # socat TCP-LISTEN:3306,fork TCP:mysql:3306 &\n          # mysql -h 172.17.0.1 -u root -punittest_pwd -e \"create database registry_unittest_db\"\n          mysql -h 127.0.0.1 -P 3306 -u root -punittest_pwd -e \"create database registry_unittest_db\"\n          mysql -h 127.0.0.1 -P 3306 -u root -punittest_pwd -e \"create database verification_unittest_db\"\n          mysql -h 127.0.0.1 -P 3306 -u root -punittest_pwd -e \"GRANT ALL PRIVILEGES ON *.* TO 'unittest_root'@'%';\"\n          export PYTHONPATH=$PWD\n          for alembic_file in `ls */alembic*.ini | cut -d '/' -f1`;do cd $alembic_file; echo $alembic_file; alembic upgrade head; cd .. ;done\n          mysql -h 127.0.0.1 -P 3306 -u unittest_root -punittest_pwd unittest_db < orchestrator/testcases/script.sql\n      \n      - name: common tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r common/requirements.txt\n\n      - name: dapp_user tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r dapp_user/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest dapp_user/testcases/unit_testcases/*.py dapp_user/testcases/functional_testcases/*.py\n\n      - name: notification tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r notification/requirements.txt\n\n      - name: payments tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r payments/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest payments/testcases/unit_testcases/*.py\n\n      - name: service_status tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r service_status/requirements.txt\n          pip3 install --upgrade protobuf\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest service_status/testcases/unit_testcases/*.py service_status/testcases/functional_testcases/*.py\n\n      - name: utility tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install setuptools==65.5.0\n          pip3 install wheel==0.38.0\n          pip3 install -r utility/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest utility/testcases/functional_testcases/*.py\n          \n      - name: contract_api tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r contract_api/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest contract_api/testcases/unit_testcases/*.py contract_api/testcases/unit_testcases/*/*.py contract_api/testcases/functional_testcases/*.py\n\n      - name: event_pubsub tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r lambda_layers/web3_and_grpc_libraries/requirements.txt\n          pip3 install -r lambda_layers/common_python_libraries/requirements.txt\n          pip3 install -r event_pubsub/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest event_pubsub/testcases/unit_testcases/*.py\n\n      - name: orchestrator tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r orchestrator/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest orchestrator/testcases/integration_testcases/*.py orchestrator/testcases/unit_testcases/*.py\n\n      - name: registry tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r lambda_layers/web3_and_grpc_libraries/requirements.txt\n          pip3 install -r lambda_layers/common_python_libraries/requirements.txt\n          pip3 install -r registry/migration/requirements.txt\n          pip3 install -r registry/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest registry/testcases/unit_testcases/*.py registry/testcases/functional_testcases/*.py\n\n      - name: signer tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r signer/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest signer/testcases/integration_testcases/*.py\n\n      - name: verification tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r verification/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest verification/testcases/unit_testcases/*.py verification/testcases/functional_testcases/*.py\n\n      - name: wallets tests\n        run: |\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          export AWS_XRAY_SDK_ENABLED=false\n          pip3 install -r wallets/requirements.txt\n          PYTHONPATH=$PWD python3 -m coverage run -m pytest wallets/testcases/integration_testcases/*.py wallets/testcases/unit_testcases/*.py\n", "state": "active", "repository": "singnet/snet-marketplace-service"}
{"mined_at": "2024-07-15T13:06:04.009775", "created_at": "2023-11-06T17:04:07+01:00", "updated_at": "2023-11-06T17:42:27+01:00", "name": "changelog-enforcer", "path": ".github/workflows/changelog-enforcer.yml", "contents": "name: changelog-enforcer\n\non:\n  pull_request:\n    paths:\n    # Only run if changes were made in markdown/\n    - 'markdown/**'\n\njobs:\n  check-for-entry:\n\n    runs-on: ubuntu-latest\n    steps:\n    - name: Ensure Changelog Entry Made\n      uses: dangoslen/changelog-enforcer@v3\n      with:\n        changeLogPath: 'docs/changelog.md'\n        missingUpdateErrorMessage: |\n          @${{ github.actor }}, thank you for your contribution. It appears that you have not added a comment to the\n          changelog describing the changes you have made. Doing so will help to ensure your contribution is accepted.\n\n          Please see the [Contributing Guide](https://python-markdown.github.io/contributing/#changelog) for details.\n", "state": "active", "repository": "python-markdown/markdown"}
{"mined_at": "2024-07-15T13:06:05.066850", "created_at": "2023-11-06T17:04:07+01:00", "updated_at": "2023-11-06T17:42:27+01:00", "name": "changelog-validator", "path": ".github/workflows/changelog-validator.yml", "contents": "name: changelog-validator\n\non:\n  pull_request:\n    paths:\n    # Only run if changes were made to the changelog\n    - 'docs/changelog.md'\n\njobs:\n  validate:\n\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Validate Changelog\n      id: changelog_reader\n      uses: mindsers/changelog-reader-action@v2\n      with:\n        validation_level: error\n        path: docs/changelog.md\n", "state": "active", "repository": "python-markdown/markdown"}
{"mined_at": "2024-07-15T13:06:06.210844", "created_at": "2020-10-06T20:30:41+02:00", "updated_at": "2020-10-06T20:30:41+02:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\n\non:\n  push:\n    tags:\n    - '*'\n\njobs:\n\n  pypi:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel build\n      - name: Build\n        run: |\n          python -m build\n      - name: Publish to PyPI\n        if: success()\n        uses: pypa/gh-action-pypi-publish@v1.1.0\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_PASSWORD }}\n      - name: Get Changelog Entry\n        if: success()\n        id: changelog_reader\n        uses: mindsers/changelog-reader-action@v2\n        with:\n          version: ${{ github.ref_name }}\n          path: ./docs/changelog.md\n      - name: Release to GitHub\n        if: success()\n        uses: ncipollo/release-action@v1\n        with:\n          tag: ${{ steps.changelog_reader.outputs.version }}\n          name: Release ${{ steps.changelog_reader.outputs.version }}\n          body: ${{ steps.changelog_reader.outputs.changes }}\n          artifacts: dist/**\n          prerelease: ${{ steps.changelog_reader.outputs.status == 'prereleased' }}\n          draft: ${{ steps.changelog_reader.outputs.status == 'unreleased' }}\n          allowUpdates: true\n\n  ghpages:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Source Repo\n        uses: actions/checkout@v4\n        with:\n          path: md\n      - name: Checkout Target Repo\n        uses: actions/checkout@v4\n        with:\n          ssh-key: ${{ secrets.PAGES_DEPLOY_KEY  }}\n          repository: Python-Markdown/Python-Markdown.github.io\n          path: target\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        run: |\n          cd md\n          python -m pip install --upgrade pip setuptools\n          python -m pip install .[docs]\n      - name: Build\n        run: |\n          cd md\n          python -m mkdocs build --clean --verbose\n      - name: Publish\n        if: success()\n        run: |\n          cd target\n          git config user.email waylan.limberg@icloud.com\n          ghp-import --push --no-jekyll --branch=master ../md/site\n", "state": "active", "repository": "python-markdown/markdown"}
{"mined_at": "2024-07-15T13:06:07.417178", "created_at": "2023-08-10T20:33:32+02:00", "updated_at": "2023-08-11T19:13:51+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  pull_request:\n    branches:\n    - '**'\n    # Only run when changes are made to the docs.\n    paths:\n    - 'docs/**'\n\njobs:\n  markdown-link-check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: gaurav-nelson/github-action-markdown-link-check@v1\n      with:\n        use-quiet-mode: yes\n        use-verbose-mode: yes\n        check-modified-files-only: yes\n        base-branch: master\n", "state": "active", "repository": "python-markdown/markdown"}
{"mined_at": "2024-07-15T13:06:08.554148", "created_at": "2020-10-19T20:40:47+02:00", "updated_at": "2020-10-19T20:40:47+02:00", "name": "manual deploy", "path": ".github/workflows/manual_deploy.yml", "contents": "name: manual deploy\n\non:\n  workflow_dispatch:\n    inputs:\n      ref:\n        description: 'The branch, tag or SHA to checkout and build.'\n        type: string\n        required: true\n        default: master\n\njobs:\n\n  ghpages:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Source Repo\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          path: md\n      - name: Checkout Target Repo\n        uses: actions/checkout@v4\n        with:\n          ssh-key: ${{ secrets.PAGES_DEPLOY_KEY  }}\n          repository: Python-Markdown/Python-Markdown.github.io\n          path: target\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        run: |\n          cd md\n          python -m pip install --upgrade pip setuptools\n          python -m pip install .[docs]\n      - name: Build\n        run: |\n          cd md\n          python -m mkdocs build --clean --verbose\n      - name: Publish\n        if: success()\n        run: |\n          cd target\n          git config user.email waylan.limberg@icloud.com\n          ghp-import --push --no-jekyll --branch=master ../md/site\n", "state": "active", "repository": "python-markdown/markdown"}
{"mined_at": "2024-07-15T13:06:09.687974", "created_at": "2020-05-08T22:26:40+02:00", "updated_at": "2020-05-09T05:15:44+02:00", "name": "CI", "path": ".github/workflows/tox.yml", "contents": "# This workflow will install dependencies and run tests/linters with a matrix of tox environments.\n\nname: CI\n\non:\n  push:\n    branches:\n    - master\n    tags:\n    - '**'\n  pull_request:\n    branches:\n    - '**'\n\njobs:\n  test:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 4\n      matrix:\n        tox-env: [py38, py39, py310, py311, py312, pypy38, pypy39, pypy310, pygments]\n        include:\n          - tox-env: py38\n            python-version: '3.8'\n          - tox-env: py39\n            python-version: '3.9'\n          - tox-env: py310\n            python-version: '3.10'\n          - tox-env: py311\n            python-version: '3.11'\n          - tox-env: py312\n            python-version: '3.12'\n          - tox-env: pypy38\n            python-version: pypy-3.8\n          - tox-env: pypy39\n            python-version: pypy-3.9\n          - tox-env: pypy310\n            python-version: pypy-3.10\n          - tox-env: pygments\n            python-version: '3.11'\n\n    env:\n      TOXENV: ${{ matrix.tox-env }}\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo apt-get install libtidy-dev\n        python -m pip install --upgrade pip tox coverage codecov\n    - name: Run tox\n      run: python -m tox\n    - name: Upload Results\n      if: success()\n      uses: codecov/codecov-action@v3\n      with:\n        file: ./coverage.xml\n        flags: unittests\n        name: ${{ matrix.tox-env }}\n        fail_ci_if_error: false\n\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 4\n      matrix:\n        tox-env: [flake8, pep517check, checkspelling]\n\n    env:\n      TOXENV: ${{ matrix.tox-env }}\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.11\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip tox\n        if [[ \"$TOXENV\" == 'checkspelling' ]]; then sudo apt-get install aspell aspell-en; fi\n    - name: Run tox\n      run: python -m tox\n", "state": "active", "repository": "python-markdown/markdown"}
{"mined_at": "2024-07-15T13:06:10.696959", "created_at": "2023-08-08T17:56:02+02:00", "updated_at": "2023-08-08T19:50:32+02:00", "name": "version_check", "path": ".github/workflows/version_check.yml", "contents": "name: version_check\n\non:\n  pull_request:\n    branches:\n    - '**'\n    paths:\n    # Only run when these files have been edited.\n    - 'markdown/__meta__.py'\n\njobs:\n  check_version:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip packaging\n    - name: Run tests\n      run: |\n        python -m unittest tests.test_meta.TestVersion.test__version__IsValid\n", "state": "active", "repository": "python-markdown/markdown"}
{"mined_at": "2024-07-15T13:06:12.966128", "created_at": "2022-11-28T11:29:38+01:00", "updated_at": "2022-12-03T14:49:43+01:00", "name": "CodeQL code scanning action", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL code scanning action\"\n\non:\n  push:\n    branches: [ master, develop ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '41 2 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "evennia/evennia"}
{"mined_at": "2024-07-15T13:06:13.978527", "created_at": "2020-09-19T16:25:24+02:00", "updated_at": "2022-01-26T00:44:45+01:00", "name": "documentation", "path": ".github/workflows/github_action_build_docs.yml", "contents": "# This github-Evennia workflow will build the docs.\n\nname: documentation\n\non:\n  push:\n    branches: [ main, develop ]\n    paths:\n      - 'docs/**'\n      - 'evennia/contrib/**'\n  pull_request:\n    branches: [ main, develop ]\n    paths:\n      - 'docs/**'\n      - 'evennia/contrib/**'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: ['3.10']\n\n    steps:\n      - name: Checkout ${{ github.ref }} branch \n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n\n      - name: Install doc-building dependencies\n        run: |\n          python -m pip install --upgrade pip\n          cd docs/\n          make install\n\n      # full game dir needed for mv-local\n      - name: Set up evennia game dir\n        run: |\n          pip install .\n          pip install .[extra]\n          cd ..\n          evennia --init gamedir\n          cd gamedir\n          evennia migrate\n\n      - name: Build and deploy docs (only from main/develop branch)\n        if: ${{ github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'}}\n        run: |\n          git config --global user.email \"docbuilder@evennia.com\"\n          git config --global user.name \"Evennia docbuilder action\"\n          git branch\n          cd docs\n          make release\n", "state": "active", "repository": "evennia/evennia"}
{"mined_at": "2024-07-15T13:06:15.220463", "created_at": "2020-09-19T16:25:24+02:00", "updated_at": "2020-09-19T16:25:24+02:00", "name": "test-suite", "path": ".github/workflows/github_action_test_suite.yml", "contents": "# This Evennia workflow will install Python dependencies, run tests with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: test-suite\n\non:\n  push:\n    branches: [main, develop]\n    paths-ignore:\n      - \"docs/**\"\n  pull_request:\n    branches: [main, develop]\n\njobs:\n  test:\n    name: Test\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        TESTING_DB: [\"sqlite3\", \"postgresql\", \"mysql\"]\n        include:\n          - python-version: \"3.10\"\n            TESTING_DB: \"sqlite3\"\n            coverage-test: true\n\n    timeout-minutes: 35\n\n    env:\n      UNIT_TEST_SETTINGS: \"--settings=settings --keepdb --timing\"\n      COVERAGE_TEST_SETTINGS: \"--settings=settings --timing\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up database (${{ matrix.TESTING_DB }})\n        uses: ./.github/actions/setup-database\n        with:\n          database: ${{ matrix.TESTING_DB }}\n        timeout-minutes: 5\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: |\n            pyproject.toml\n\n      - name: Install package dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install wheel\n          pip install psycopg2-binary==2.9.5   # req by postgresql\n          pip install mysqlclient\n          pip install coveralls\n          pip install tblib\n          pip install .\n          pip install .[extra]\n\n      - name: Initialize evennia\n        run: |\n          evennia --init testing_mygame\n          cp .github/workflows/${{ matrix.TESTING_DB }}_settings.py testing_mygame/server/conf/settings.py\n          cd testing_mygame\n          evennia migrate\n          evennia collectstatic --noinput\n\n      # For non-coverage tests, run them in parallel.\n      - name: Run test suite\n        if: ${{ ! matrix.coverage-test }}\n        working-directory: testing_mygame\n        run: |\n          evennia test ${{ env.UNIT_TEST_SETTINGS }} evennia\n\n      # OBS - it's important to not run the coverage tests with --parallel, it messes up the coverage\n      # calculation!\n      - name: Run test suite with coverage\n        if: ${{ matrix.coverage-test }}\n        working-directory: testing_mygame\n        run: |\n          coverage run --rcfile=../pyproject.toml ../bin/unix/evennia test ${{ env.COVERAGE_TEST_SETTINGS }} evennia\n          coverage combine\n          coverage xml\n          coverage --version\n          coverage report | grep TOTAL\n\n      # we only want to run coverall once, so we only do it for the designated matrix combination(s)\n      # it's also not critical if pushing to either service fails (happens for PRs since env is not\n      # available outside of the evennia org)\n      - name: Send data to Coveralls\n        if: ${{ matrix.coverage-test && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') }}\n        continue-on-error: true\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n        run: |\n          cd testing_mygame\n          coveralls\n\n  deploy:\n    name: Deploy Docker Image\n    needs: test\n    runs-on: ubuntu-latest\n    if: ${{ github.repository == 'evennia/evennia' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push for main\n        if: ${{ github.ref == 'refs/heads/main' }}\n        id: docker_build_main\n        uses: docker/build-push-action@v3\n        with:\n          push: true\n          tags: evennia/evennia:latest\n\n      - name: Build and push for develop\n        if: ${{ github.ref == 'refs/heads/develop' }}\n        id: docker_build_develop\n        uses: docker/build-push-action@v3\n        with:\n          push: true\n          tags: evennia/evennia:develop\n", "state": "active", "repository": "evennia/evennia"}
{"mined_at": "2024-07-15T13:06:16.247371", "created_at": "2022-01-06T22:20:21+01:00", "updated_at": "2022-01-06T22:20:21+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "evennia/evennia"}
{"mined_at": "2024-07-15T13:06:18.451666", "created_at": "2020-07-16T16:25:31+02:00", "updated_at": "2024-02-21T05:01:34+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n  push:\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        versions:\n          # - python: \"2.6\"\n          - python: \"2.7\"\n          - python: \"3.3\"\n          - python: \"3.4\"\n          - python: \"3.5\"\n          - python: \"3.6\"\n          - python: \"3.7\"\n          - python: \"3.8\"\n          - python: \"3.9\"\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - if: ${{ matrix.versions.python != '2.6' }}\n        run: |\n          docker build \\\n          . \\\n          --build-arg PYTHON_VERSION=${{ matrix.versions.python }} \\\n          -t jmadler/python-future-builder:${{ matrix.versions.python }}\n      - if: ${{ matrix.versions.python == '2.6' }}\n        run: |\n          docker build \\\n          . \\\n          -f 2.6.Dockerfile \\\n          -t jmadler/python-future-builder:${{ matrix.versions.python }}\n      - run: |\n          docker run \\\n          -e PYTHON_VERSION=${{ matrix.versions.python }} \\\n          jmadler/python-future-builder:${{ matrix.versions.python }} \\\n          /root/python-future/test.sh\n", "state": "active", "repository": "pythoncharmers/python-future"}
{"mined_at": "2024-07-15T13:06:20.732027", "created_at": "2021-08-24T06:25:26+02:00", "updated_at": "2022-04-02T05:48:39+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non:\n  push:\n    branches: [main]\n  pull_request:\n\nconcurrency:\n  group: docs-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  generate-docs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.11\"]\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install texlive-plain-generic inkscape texlive-xetex latexmk enchant-2\n\n          # pandoc is not up to date in the ubuntu repos, so we install directly\n          wget https://github.com/jgm/pandoc/releases/download/3.1.2/pandoc-3.1.2-1-amd64.deb && sudo dpkg -i pandoc-3.1.2-1-amd64.deb\n\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Install\n        run: pip install -v \".[all]\"\n      - name: List installed packages\n        run: |\n          pip freeze\n          pip check\n      - name: Build HTML docs\n        run: |\n          cd docs\n          make html SPHINXOPTS=\"-W\"\n      - name: Upload HTML\n        uses: actions/upload-artifact@v4\n        with:\n          name: html-${{ github.job }}-${{ strategy.job-index }}\n          path: build/sphinx/html\n      - name: Build PDF docs\n        run: |\n          cd docs\n          make latexpdf\n      - name: Upload PDF\n        uses: actions/upload-artifact@v4\n        with:\n          name: pdf-python-${{matrix.python-version}}-${{ github.job }}-${{ strategy.job-index }}\n          path: docs/build/latex/nbconvert.pdf\n", "state": "active", "repository": "jupyter/nbconvert"}
{"mined_at": "2024-07-15T13:06:21.873296", "created_at": "2022-10-19T16:38:55+02:00", "updated_at": "2022-10-19T18:26:39+02:00", "name": "Enforce PR label", "path": ".github/workflows/enforce-label.yml", "contents": "name: Enforce PR label\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, edited, synchronize]\njobs:\n  enforce-label:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: enforce-triage-label\n        uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1\n", "state": "active", "repository": "jupyter/nbconvert"}
{"mined_at": "2024-07-15T13:06:23.045622", "created_at": "2022-10-19T16:37:41+02:00", "updated_at": "2022-10-19T16:37:41+02:00", "name": "Step 1: Prep Release", "path": ".github/workflows/prep-release.yml", "contents": "name: \"Step 1: Prep Release\"\non:\n  workflow_dispatch:\n    inputs:\n      version_spec:\n        description: \"New Version Specifier\"\n        default: \"next\"\n        required: false\n      branch:\n        description: \"The branch to target\"\n        required: false\n      post_version_spec:\n        description: \"Post Version Specifier\"\n        required: false\n      since:\n        description: \"Use PRs with activity since this date or git reference\"\n        required: false\n      since_last_stable:\n        description: \"Use PRs with activity since the last stable git tag\"\n        required: false\n        type: boolean\njobs:\n  prep_release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Prep Release\n        id: prep-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          version_spec: ${{ github.event.inputs.version_spec }}\n          post_version_spec: ${{ github.event.inputs.post_version_spec }}\n          target: ${{ github.event.inputs.target }}\n          branch: ${{ github.event.inputs.branch }}\n          since: ${{ github.event.inputs.since }}\n          since_last_stable: ${{ github.event.inputs.since_last_stable }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}\"\n", "state": "active", "repository": "jupyter/nbconvert"}
{"mined_at": "2024-07-15T13:06:24.209804", "created_at": "2022-10-19T16:37:41+02:00", "updated_at": "2022-10-19T16:37:41+02:00", "name": "Step 2: Publish Release", "path": ".github/workflows/publish-release.yml", "contents": "name: \"Step 2: Publish Release\"\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The target branch\"\n        required: false\n      release_url:\n        description: \"The URL of the draft GitHub release\"\n        required: false\n      steps_to_skip:\n        description: \"Comma separated list of steps to skip\"\n        required: false\n\njobs:\n  publish_release:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Populate Release\n        id: populate-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          target: ${{ github.event.inputs.target }}\n          branch: ${{ github.event.inputs.branch }}\n          release_url: ${{ github.event.inputs.release_url }}\n          steps_to_skip: ${{ github.event.inputs.steps_to_skip }}\n\n      - name: Finalize Release\n        id: finalize-release\n        env:\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n        uses: jupyter-server/jupyter-releaser/.github/actions/finalize-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          target: ${{ github.event.inputs.target }}\n          release_url: ${{ steps.populate-release.outputs.release_url }}\n\n      - name: \"** Next Step **\"\n        if: ${{ success() }}\n        run: |\n          echo \"Verify the final release\"\n          echo ${{ steps.finalize-release.outputs.release_url }}\n\n      - name: \"** Failure Message **\"\n        if: ${{ failure() }}\n        run: |\n          echo \"Failed to Publish the Draft Release Url:\"\n          echo ${{ steps.populate-release.outputs.release_url }}\n", "state": "active", "repository": "jupyter/nbconvert"}
{"mined_at": "2024-07-15T13:06:25.345224", "created_at": "2021-08-28T01:37:23+02:00", "updated_at": "2022-06-22T09:10:02+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n  schedule:\n    - cron: \"0 8 * * *\"\n\nconcurrency:\n  group: tests-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash -eux {0}\n\njobs:\n  run-tests:\n    runs-on: ${{ matrix.os }}\n    env:\n      NBFORMAT_VALIDATOR: jsonschema\n    strategy:\n      matrix:\n        os: [\"ubuntu-20.04\", \"macos-latest\", \"windows-latest\"]\n        python-version: [\"3.8\", \"3.12\"]\n        include:\n          - os: \"windows-latest\"\n            python-version: \"3.9\"\n          - os: \"macos-latest\"\n            python-version: \"3.10\"\n          - os: \"ubuntu-20.04\"\n            python-version: \"3.11\"\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Install Linux dependencies\n        if: startsWith(runner.os, 'Linux')\n        run: |\n          sudo apt-get update\n          sudo apt-get install texlive-plain-generic inkscape texlive-xetex latexmk\n          sudo apt-get install xvfb x11-utils libxkbcommon-x11-0  libxcb-xinerama0 python3-pyqt5\n\n          # pandoc is not up to date in the ubuntu repos, so we install directly\n          wget https://github.com/jgm/pandoc/releases/download/3.1.2/pandoc-3.1.2-1-amd64.deb && sudo dpkg -i pandoc-3.1.2-1-amd64.deb\n\n      - name: Run tests on Linux\n        if: ${{ startsWith(runner.os, 'linux') }}\n        run: |\n          xvfb-run --auto-servernum hatch run cov:test\n\n      - name: Run tests on other platforms\n        if: ${{ !startsWith(runner.os, 'linux')  }}\n        run: |\n          hatch run cov:nowarn\n\n      - uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1\n\n  coverage:\n    runs-on: ubuntu-latest\n    needs:\n      - run-tests\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/report-coverage@v1\n\n  test_lint:\n    name: Test Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Run Linters\n        run: |\n          hatch run typing:test\n          hatch run lint:build\n          pipx run interrogate -v .\n          pipx run doc8 --max-line-length=200  --ignore-path=docs/source/other/full-config.rst\n\n  check_release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - run: pip install -e .\n      - uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2\n        with:\n          version_spec: 10.10.10\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  check_links:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1\n        with:\n          ignore_links: \"https://ipywidgets.readthedocs.io/en/latest/examples/Output\"\n\n  test_minimum_versions:\n    name: Test Minimum Versions\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: minimum\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install texlive-plain-generic inkscape texlive-xetex latexmk\n          sudo apt-get install xvfb x11-utils libxkbcommon-x11-0  libxcb-xinerama0 python3-pyqt5\n\n          # pandoc is not up to date in the ubuntu repos, so we install directly\n          wget https://github.com/jgm/pandoc/releases/download/2.9.2.1/pandoc-2.9.2.1-1-amd64.deb && sudo dpkg -i pandoc-2.9.2.1-1-amd64.deb\n\n      - name: Run tests\n        run: |\n          xvfb-run --auto-servernum hatch run test:nowarn || xvfb-run --auto-servernum hatch run test:nowarn --lf\n\n  test_prereleases:\n    name: Test Prereleases\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: pre\n      - name: Run the tests\n        run: |\n          export NBFORMAT_VALIDATOR=jsonschema\n          hatch run test:nowarn || hatch run test:nowarn --lf\n\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/make-sdist@v1\n\n  test_sdist:\n    runs-on: ubuntu-latest\n    needs: [make_sdist]\n    name: Install from SDist and Test\n    timeout-minutes: 20\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1\n\n  tests_check: # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n      - coverage\n      - test_lint\n      - test_minimum_versions\n      - test_prereleases\n      - check_links\n      - check_release\n      - test_sdist\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "jupyter/nbconvert"}
{"mined_at": "2024-07-15T13:06:26.354438", "created_at": "2024-07-15T12:50:37+02:00", "updated_at": "2024-07-15T12:50:37+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "jupyter/nbconvert"}
{"mined_at": "2024-07-15T13:06:28.452382", "created_at": "2020-05-01T18:44:15+02:00", "updated_at": "2020-05-01T18:44:15+02:00", "name": "format", "path": ".github/workflows/format.yml", "contents": "name: format\n\non: [push, pull_request]\n\njobs:\n  format:\n    strategy:\n      matrix:\n        python-version:\n          - '3.12'\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        pip3 install --upgrade setuptools\n        pip3 install .[dev]\n\n    - name: Run --version\n      run: oj --version\n\n    - name: Run pylint\n      run: pylint --rcfile=setup.cfg onlinejudge_command tests setup.py\n\n    - name: Run isort\n      run: isort --check-only --diff onlinejudge_command tests setup.py\n\n    - name: Run yapf\n      run: yapf --diff --recursive onlinejudge_command tests setup.py\n\n    - name: Run mypy\n      run: mypy onlinejudge_command tests setup.py\n", "state": "active", "repository": "online-judge-tools/oj"}
{"mined_at": "2024-07-15T13:06:29.570649", "created_at": "2020-05-01T18:46:09+02:00", "updated_at": "2020-05-01T18:46:09+02:00", "name": "pypi", "path": ".github/workflows/pypi.yml", "contents": "name: pypi\n\non:\n  release:\n    types: [published]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v1\n\n    - name: Set up Python\n      uses: actions/setup-python@v1\n\n    - name: Install dependencies\n      run: |\n        pip3 install .\n        pip3 install setuptools wheel\n\n    - name: Build package\n      run: python3 setup.py bdist_wheel\n\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "online-judge-tools/oj"}
{"mined_at": "2024-07-15T13:06:31.654927", "created_at": "2020-05-01T18:17:22+02:00", "updated_at": "2020-05-01T18:17:22+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  pull_request:\n  schedule:\n    - cron: '00 15 * * FRI'  # At 00:00 on every Saturday in JST\n\njobs:\n  test:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version:\n          - '3.8'\n          - '3.10'\n          - '3.12'\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Get pip cache\n      id: pip-cache\n      run: |\n        python -c \"from pip._internal.locations import USER_CACHE_DIR; print('::set-output name=dir::' + USER_CACHE_DIR)\"\n\n    - uses: actions/cache@v1\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}-${{ hashFiles('setup.cfg') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Install dependencies\n      run: |\n        pip3 install --upgrade setuptools\n        pip3 install .[dev]\n\n    - name: Run tests\n      run: |\n        oj -h\n        pytest -v tests/*.py\n      shell: bash\n", "state": "active", "repository": "online-judge-tools/oj"}
{"mined_at": "2024-07-15T13:06:33.869432", "created_at": "2023-08-18T15:20:51+02:00", "updated_at": "2023-08-18T15:20:51+02:00", "name": ".github/workflows/circle_artifacts.yml", "path": ".github/workflows/circle_artifacts.yml", "contents": "on: [status]  # yamllint disable-line rule:truthy\njobs:\n  circleci_artifacts_redirector_job:\n    runs-on: ubuntu-latest\n    name: Run CircleCI artifacts redirector\n    steps:\n      - name: GitHub Action step\n        uses: larsoner/circleci-artifacts-redirector-action@master\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          api-token: ${{ secrets.CIRCLECI_TOKEN }}\n          artifact-path: 0/html/index.html\n          circleci-jobs: build_docs\n", "state": "active", "repository": "sphinx-gallery/sphinx-gallery"}
{"mined_at": "2024-07-15T13:06:34.893552", "created_at": "2023-08-18T14:48:50+02:00", "updated_at": "2023-08-18T15:20:51+02:00", "name": "Labels", "path": ".github/workflows/label-check.yml", "contents": "name: Labels\n\non:  # yamllint disable-line rule:truthy\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - labeled\n      - unlabeled\n      - synchronize\n\nenv:\n  LABELS: ${{ join( github.event.pull_request.labels.*.name, ' ' ) }}\n\njobs:\n  check-type-label:\n    name: Please wait for a maintainer to add a label\n    runs-on: ubuntu-latest\n    # skip for draft PRs\n    if: github.event.pull_request.draft == false\n    steps:\n      - run: |\n          echo \"Labels: $LABELS\"\n          if [[ \"$LABELS\" != *\"bug\"* ]] && [[ \"$LABELS\" != *\"enhancement\"* ]] && [[ \"$LABELS\" != *\"api\"* ]] && [[ \"$LABELS\" != *\"maintenance\"* ]] && [[ \"$LABELS\" != *\"documentation\"* ]]; then\n            echo \"A maintainer needs to add an appropriate label before merge.\"\n            exit 1\n          fi\n", "state": "active", "repository": "sphinx-gallery/sphinx-gallery"}
{"mined_at": "2024-07-15T13:06:36.185236", "created_at": "2023-03-08T21:12:13+01:00", "updated_at": "2023-03-08T21:53:29+01:00", "name": "Build", "path": ".github/workflows/release.yml", "contents": "# Upload a Python Package using Twine when a release is created\n# Adapted from mne-bids-pipeline\n\nname: Build\non:  # yamllint disable-line rule:truthy\n  release:\n    types: [published]\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\npermissions:\n  contents: read\n\njobs:\n  package:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build twine\n      - name: Build package\n        run: python -m build --sdist --wheel\n      - name: Check package\n        run: twine check --strict dist/*\n      - name: Check env vars\n        run: |\n          echo \"Triggered by: ${{ github.event_name }}\"\n      - uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist\n\n  # PyPI on release\n  pypi:\n    needs: package\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release'\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "sphinx-gallery/sphinx-gallery"}
{"mined_at": "2024-07-15T13:06:37.232528", "created_at": "2023-10-23T18:06:27+02:00", "updated_at": "2024-03-08T00:43:58+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: 'Tests'\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\non:  # yamllint disable-line rule:truthy\n  push:\n    branches: ['master']\n  pull_request:\n    branches: ['master']\n\npermissions:\n  contents: read\n\njobs:\n  pytest:\n    name: '${{ matrix.os }} / ${{ matrix.python }} / ${{ matrix.distrib }} / ${{ matrix.sphinx_version }}'\n    timeout-minutes: 30\n    continue-on-error: true\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -el {0}\n    env:\n      PYTHON_VERSION: '${{ matrix.python }}'\n      SPHINX_VERSION: '${{ matrix.sphinx_version }}'\n      DISTRIB: '${{ matrix.distrib }}'\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-latest  # newest possible\n            python: '3.12'\n            sphinx_version: dev\n            distrib: pip\n            locale: C\n          - os: ubuntu-latest  # oldest supported Python and Sphinx\n            python: '3.8'\n            sphinx_version: '4'\n            distrib: mamba\n          - os: ubuntu-latest\n            python: '3.11'\n            sphinx_version: '5'\n            distrib: pip\n          - os: ubuntu-latest\n            python: '3.11'\n            sphinx_version: '6'\n            distrib: mamba\n          - os: ubuntu-latest\n            python: '3.8'\n            sphinx_version: '7'\n            distrib: minimal\n          - os: macos-latest\n            python: '3.11'\n            sphinx_version: 'default'\n            distrib: mamba  # only use mamba on macOS to avoid Python shell issues\n          - os: windows-latest\n            python: '3.11'\n            sphinx_version: 'default'\n            distrib: pip\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      # Xvfb/OpenGL\n      - uses: pyvista/setup-headless-display-action@main\n        with:\n          qt: true\n          pyvista: false\n      # Python (if pip)\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n        if: matrix.distrib != 'mamba'\n      # Python (if conda)\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: test\n          init-shell: bash\n          create-args: >-\n            python=${{ env.PYTHON_VERSION }} pip numpy setuptools matplotlib pillow\n            pytest pytest-cov coverage seaborn statsmodels plotly joblib wheel libiconv\n            pygraphviz memory_profiler ipython pypandoc lxml conda-libmamba-solver mamba\n            ffmpeg\n        if: matrix.distrib == 'mamba'\n      # Make sure that things work even if the locale is set to C (which\n      # effectively means ASCII). Some of the input rst files have unicode\n      # characters and we need to deal with this gracefully.\n      - name: Set env vars\n        shell: bash -e {0}\n        run: |\n          echo \"LC_ALL=C\" >> $GITHUB_ENV\n          echo \"LANG=C\" >> $GITHUB_ENV\n          echo \"LC_CTYPE=C\" >> $GITHUB_ENV\n        if: matrix.locale == 'C'\n      - run: .github/install.sh\n      - run: pytest sphinx_gallery -v --tb=short\n      - name: Remove incompatible doc config entries\n        run: |\n          if [[ \"$(uname)\" == \"Darwin\" ]]; then\n            CMD=\"sed -i ''\"\n          else\n            CMD=\"sed -i\"\n          fi\n          $CMD \"/show_memory/d\" doc/conf.py\n          $CMD \"/compress_images/d\" doc/conf.py\n        if: ${{ !startsWith(matrix.os, 'ubuntu') }}\n      # pydata-sphinx-theme is not compatible with Sphinx 4\n      - run: make -C doc SPHINXOPTS= html-noplot\n        if: matrix.distrib != 'minimal' && matrix.sphinx_version != '4'\n      - run: make -C doc SPHINXOPTS= html -j 2\n        if: matrix.distrib != 'minimal' && matrix.sphinx_version != '4'\n      - uses: codecov/codecov-action@v4\n", "state": "active", "repository": "sphinx-gallery/sphinx-gallery"}
{"mined_at": "2024-07-15T13:06:38.281261", "created_at": "2024-06-11T00:16:20+02:00", "updated_at": "2024-06-11T00:16:20+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "sphinx-gallery/sphinx-gallery"}
{"mined_at": "2024-07-15T13:06:41.423300", "created_at": "2022-02-08T07:49:21+01:00", "updated_at": "2023-03-23T04:11:40+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "microsoft/olive"}
{"mined_at": "2024-07-15T13:06:42.470688", "created_at": "2023-04-21T11:11:07+02:00", "updated_at": "2023-04-21T11:43:43+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n    paths-ignore:\n      - '**/*.cs'\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n    paths-ignore:\n      - '**/*.cs'\n  schedule:\n    - cron: '00 08 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: ['python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        queries: security-extended,security-and-quality\n        packs: \"codeql/${{ matrix.language }}-queries:AlertSuppression.ql\"\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      id: analyze\n      uses: github/codeql-action/analyze@v3\n      with:\n        output: ${{ matrix.language }}-sarif-results\n\n    - name: Dismiss alerts\n      uses: advanced-security/dismiss-alerts@v1\n      with:\n        sarif-id: ${{ steps.analyze.outputs.sarif-id }}\n        sarif-file: ${{ matrix.language }}-sarif-results/${{ matrix.language }}.sarif\n      env:\n        GITHUB_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "microsoft/olive"}
{"mined_at": "2024-07-15T13:06:43.519464", "created_at": "2023-09-24T07:42:20+02:00", "updated_at": "2023-09-25T05:26:12+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n    branches:\n      - main\n      - rel-*\n  pull_request:\n\njobs:\n  optional-lint:\n    name: Optional Lint\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: misspell # Check spellings as well\n        uses: reviewdog/action-misspell@v1\n        with:\n          github_token: ${{ secrets.github_token }}\n          locale: \"US\"\n          reporter: github-pr-check\n          level: info\n          filter_mode: diff_context\n          exclude: |\n            ./NOTICE.txt\n      - name: shellcheck # Static check shell scripts\n        uses: reviewdog/action-shellcheck@v1\n        with:\n          github_token: ${{ secrets.github_token }}\n          reporter: github-pr-check\n          level: info\n          filter_mode: file\n\n  lint-python-format:\n    # Required workflow\n    name: Python format\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          # Version range or exact version of Python to use, using SemVer's version range syntax. Reads from .python-version if unset.\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install -r requirements-dev.txt\n          lintrunner init\n      - name: Run lintrunner on all files\n        run: |\n          set +e\n          if ! lintrunner --force-color --all-files --tee-json=lint.json -v; then\n              echo \"\"\n              echo -e \"\\e[1m\\e[36mYou can reproduce these results locally by using \\`lintrunner\\`. To set up lintrunner locally, see https://github.com/microsoft/Olive/blob/main/CONTRIBUTING.md#linting .\\e[0m\"\n              exit 1\n          fi\n      - name: Produce SARIF\n        if: always()\n        run: |\n          python -m lintrunner_adapters to-sarif lint.json lintrunner.sarif\n      - name: Upload SARIF file\n        if: always()\n        continue-on-error: true\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          # Path to SARIF file relative to the root of the repository\n          sarif_file: lintrunner.sarif\n          category: lintrunner\n          checkout_path: ${{ github.workspace }}\n", "state": "active", "repository": "microsoft/olive"}
{"mined_at": "2024-07-15T13:06:46.244711", "created_at": "2024-04-16T13:49:35+02:00", "updated_at": "2024-04-16T13:49:35+02:00", "name": "Publish the package on pypi", "path": ".github/workflows/publish.yml", "contents": "name: Publish the package on pypi\n\non:\n  pull_request:\n    types:\n      - closed\n    branches:\n      - main\n\njobs:\n  check_version_update:\n    if: github.event.pull_request.merged\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Check pypi version\n        uses: maybe-hello-world/pyproject-check-version@v4\n        id: versioncheck\n        with:\n          pyproject-path: \"./pyproject.toml\"\n\n      - name: Check if local version has been updated 🕵️\n        run: |\n          if ${{ steps.versioncheck.outputs.local_version_is_higher }}; then\n            echo \"Version bumped.\"\n          else\n            echo \"Local version must be greater than public one.\"\n            echo \"Please bump package version.\"\n            exit 1\n          fi\n    outputs:\n      new_pkg_version: ${{ steps.versioncheck.outputs.local_version }}\n\n  build:\n    name: Build distribution 📦\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 🚧\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n    - name: Install pypa/build 🚧\n      run: >-\n        python3 -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball 🛠️\n      run: python3 -m build\n    - name: Store the distribution packages\n      uses: actions/upload-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n\n  publish-to-pypi:\n    name: Publish Python 🐍 distribution 📦 to PyPI\n    #if: startsWith(github.ref, 'refs/tags/')  # only publish to PyPI on tag pushes\n    if: github.event.pull_request.merged       # publish on PR merge\n    needs:\n    - check_version_update  # Only publish if there is a version update\n    - build                 # Only publish if the package was built\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/credentialdigger\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v3\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          skip-existing: true\n\n  docker:\n    name: Push Docker image to Docker Hub 🐳\n    if: github.event.pull_request.merged\n    needs:\n      - check_version_update\n      - publish-to-pypi\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push Docker 🐳 image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./ui/Dockerfile\n          push: true\n          tags: saposs/credentialdigger:${{ needs.check_version_update.outputs.new_pkg_version }}\n", "state": "active", "repository": "sap/credential-digger"}
{"mined_at": "2024-07-15T13:06:47.473653", "created_at": "2021-04-12T10:05:43+02:00", "updated_at": "2023-11-23T16:08:49+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  pull_request:\n    types: [opened, synchronize, repoened]\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    services:\n      postgres:\n        image: postgres:alpine\n        env:\n          POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}\n          POSTGRES_USER: ${{ secrets.POSTGRES_USER }}\n          POSTGRES_DB: credential_digger_tests\n          DBHOST: localhost\n          DBPORT: 5432\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Create PostgreSQL database\n      run: |\n        PGPASSWORD=${{ secrets.POSTGRES_PASSWORD }} psql -U ${{ secrets.POSTGRES_USER }} -h 127.0.0.1 -p 5432 -d credential_digger_tests -f sql/create_table.sql\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install OS dependencies\n      run: |\n        sudo apt install -y build-essential python3-dev\n\n    - name: Cache python dependencies\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip # This path is specific to Ubuntu\n        key: ${{ runner.os }}-pip-${{ hashFiles('./requirements.txt') }}-${{ hashFiles('./tests/tests-requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Install credentialdigger\n      run: |\n        pip install . --user\n\n    - name: Install tests dependencies\n      run: |\n        pip install -r ./tests/tests-requirements.txt\n\n    - name: Run unit tests\n      run: |\n        pytest tests/unit_tests\n\n    - name: Run integration tests\n      run: |\n        pytest tests/integration_tests\n\n    - name: Run functional tests\n      env:\n        POSTGRES_USER: ${{ secrets.POSTGRES_USER }}\n        POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}\n        POSTGRES_DB: credential_digger_tests\n        DBHOST: localhost\n        DBPORT: 5432\n        GIT_TOKEN: ${{ secrets.GIT_TOKEN }}\n      run: |\n        pytest tests/functional_tests\n", "state": "active", "repository": "sap/credential-digger"}
{"mined_at": "2024-07-15T13:06:50.575995", "created_at": "2020-11-02T09:35:23+01:00", "updated_at": "2024-01-26T10:21:13+01:00", "name": "doc", "path": ".github/workflows/doc.yml", "contents": "name: doc\n\non:\n  push:\n    branches: [master]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n        cache: 'pip'\n        cache-dependency-path: pyproject.toml\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[doc]\n\n    - name: Build sphinx documentation\n      run: |\n        make html\n        # notify github this isn't a jekyll site\n        touch build/sphinx/html/.nojekyll\n\n    - name: Upload artifact\n      uses: actions/upload-pages-artifact@v3\n      with:\n        path: build/sphinx/html\n\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n\n    permissions:\n      pages: write\n      id-token: write\n\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "pkgcore/snakeoil"}
{"mined_at": "2024-07-15T13:06:51.634801", "created_at": "2020-11-02T09:35:23+01:00", "updated_at": "2021-03-06T19:47:48+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  push:\n    branches: [deploy]\n    tags: [v*]\n\njobs:\n  build-and-deploy:\n    runs-on: ubuntu-latest\n    environment: release\n\n    permissions:\n      id-token: write # Used to authenticate to PyPI via OIDC\n\n      contents: write # Used to authenticate github release publish\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n        cache: 'pip'\n        cache-dependency-path: pyproject.toml\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build .[test]\n\n    - name: Test with pytest\n      env:\n        PY_COLORS: 1 # forcibly enable pytest colors\n      run: pytest\n\n    - name: Build sdist\n      run: |\n        git clean -fxd\n        # build sdist\n        make sdist\n\n    - name: Build wheel\n      run: make wheel\n\n    - name: Output dist file info\n      run: |\n        sha512sum dist/*\n        tar -ztf dist/*.tar.gz | sort\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: results\n        path: dist/*\n        if-no-files-found: error\n        compression-level: 0\n        overwrite: true\n\n    - name: publish\n      uses: pypa/gh-action-pypi-publish@release/v1\n      if: startsWith(github.ref, 'refs/tags/')\n\n    - name: Create GitHub release\n      uses: softprops/action-gh-release@v1\n      if: startsWith(github.ref, 'refs/tags/')\n      with:\n        files: dist/*.tar.gz\n        fail_on_unmatched_files: true\n        draft: true\n", "state": "active", "repository": "pkgcore/snakeoil"}
{"mined_at": "2024-07-15T13:06:52.799342", "created_at": "2020-11-02T09:35:24+01:00", "updated_at": "2021-03-03T08:27:39+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches-ignore: [deploy]\n  pull_request:\n    branches: [master]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.10', '3.11', '3.12', 'pypy3.10']\n        experimental: [false]\n        include:\n          - os: ubuntu-latest\n            python-version: '3.13-dev'\n            experimental: true\n          - os: macos-latest\n            python-version: '3.11'\n            experimental: false\n      fail-fast: false\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: pyproject.toml\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install \".[test]\" pytest-github-actions-annotate-failures\n\n    - name: Install non-python deps\n      if: ${{ matrix.os == 'ubuntu-latest' }}\n      run: |\n        sudo apt install lbzip2\n\n    - name: Test with pytest\n      env:\n        PY_COLORS: 1 # forcibly enable pytest colors\n      run: |\n        pytest --cov --cov-report=term --cov-report=xml\n\n    - name: Submit code coverage to codecov\n      if: ${{ matrix.os == 'ubuntu-latest' }}\n      uses: codecov/codecov-action@v3\n      with:\n        files: ./coverage.xml\n\n  format:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n    - uses: psf/black@stable\n", "state": "active", "repository": "pkgcore/snakeoil"}
{"mined_at": "2024-07-15T13:06:54.836940", "created_at": "2020-04-02T17:58:18+02:00", "updated_at": "2020-04-02T17:58:18+02:00", "name": "format", "path": ".github/workflows/format.yml", "contents": "name: format\n\non: [push, pull_request]\n\njobs:\n  format:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - name: Install dependencies\n      run: pip3 install .[dev]\n\n    - name: Run --help\n      run: oj-api -h\n\n    - name: Run pylint\n      run: pylint --rcfile=setup.cfg onlinejudge onlinejudge_api tests setup.py\n\n    - name: Run isort\n      run: isort --check-only --diff onlinejudge onlinejudge_api tests setup.py\n\n    - name: Run yapf\n      run: yapf --diff --recursive onlinejudge onlinejudge_api tests setup.py\n\n    - name: Run mypy\n      run: mypy onlinejudge onlinejudge_api tests setup.py\n", "state": "active", "repository": "online-judge-tools/api-client"}
{"mined_at": "2024-07-15T13:06:55.972810", "created_at": "2020-05-01T23:55:16+02:00", "updated_at": "2020-05-01T23:55:16+02:00", "name": "pypi", "path": ".github/workflows/pypi.yml", "contents": "name: pypi\n\non:\n  release:\n    types: [published]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - name: Install dependencies\n      run: |\n        pip3 install .\n        pip3 install setuptools wheel\n\n    # see https://github.com/online-judge-tools/oj/issues/755<Paste>\n    - name: Workaround for the conflict of the module name\n      run: bash workaround_for_conflict.sh\n\n    - name: Build package\n      run: python3 setup.py bdist_wheel\n\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "online-judge-tools/api-client"}
{"mined_at": "2024-07-15T13:06:57.202726", "created_at": "2024-02-17T00:53:40+01:00", "updated_at": "2024-02-17T00:53:40+01:00", "name": "test-schedule", "path": ".github/workflows/test-schedule.yml", "contents": "name: test-schedule\n\non:\n  schedule:\n    - cron: '30 18 * * MON'  # At 03:30 on Tuesday in JST\n\njobs:\n  scheduled:\n    uses: ./.github/workflows/test.yml\n    secrets: inherit\n", "state": "active", "repository": "online-judge-tools/api-client"}
{"mined_at": "2024-07-15T13:06:58.231376", "created_at": "2024-02-15T11:54:07+01:00", "updated_at": "2024-02-17T00:53:40+01:00", "name": "test-unstable-workaround", "path": ".github/workflows/test-unstable.yml", "contents": "name: test-unstable-workaround\n\non: \n  pull_request:\n  workflow_dispatch:\n\njobs:\n  test-unstable-workaround:\n    strategy:\n      matrix:\n        os: [macos-latest, ubuntu-latest, windows-latest]\n        pattern: [unstable]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - name: Get pip cache\n      id: pip-cache\n      shell: python\n      run: |\n        from pip._internal.locations import USER_CACHE_DIR\n        import os\n        with open(os.environ['GITHUB_OUTPUT'], 'a') as f:\n          print('dir=' + USER_CACHE_DIR)\n          print('dir=' + USER_CACHE_DIR, file=f)\n\n    - uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}-${{ hashFiles('setup.cfg') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Install dependencies\n      run: |\n        pip3 install --upgrade setuptools\n        pip3 install .[dev]\n\n    - name: Load balancing\n      id: load-balancing\n      run: |\n          python -m tests.load_balancer ${{ matrix.pattern }}\n\n    - name: Run tests\n      run: |\n        oj-api -h\n        pytest -v ${{ steps.load-balancing.outputs.files }}\n      env:\n        YUKICODER_TOKEN: ${{ secrets.YUKICODER_TOKEN }}\n", "state": "active", "repository": "online-judge-tools/api-client"}
{"mined_at": "2024-07-15T13:06:59.298632", "created_at": "2020-04-02T17:58:18+02:00", "updated_at": "2024-02-17T00:53:40+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  pull_request:\n  workflow_dispatch:\n  workflow_call: \n\njobs:\n  test:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        pattern: [stable]  # see test-unstable-workaround-*.yml\n\n\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Get pip cache\n      id: pip-cache\n      shell: python\n      run: |\n        from pip._internal.locations import USER_CACHE_DIR\n        import os\n        with open(os.environ['GITHUB_OUTPUT'], 'a') as f:\n          print('dir=' + USER_CACHE_DIR)\n          print('dir=' + USER_CACHE_DIR, file=f)\n\n    - uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}-${{ hashFiles('setup.cfg') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Install dependencies\n      run: |\n        pip3 install --upgrade setuptools\n        pip3 install .[dev]\n\n    # see https://github.com/online-judge-tools/oj/issues/755<Paste>\n    - name: Workaround for the conflict of the module name\n      run: bash workaround_for_conflict.sh\n\n    - name: Load balancing\n      id: load-balancing\n      run: |\n          python -m tests_workaround_for_conflict.load_balancer ${{ matrix.pattern }}\n\n    - name: Run tests\n      run: |\n        oj-api -h\n        pytest -v ${{ steps.load-balancing.outputs.files }}\n      env:\n        ATCODER_USERNAME: ${{ secrets.ATCODER_USERNAME }}\n        ATCODER_PASSWORD: ${{ secrets.ATCODER_PASSWORD }}\n        DROPBOX_TOKEN: ${{ secrets.DROPBOX_TOKEN }}\n        CODEFORCES_USERNAME: ${{ secrets.CODEFORCES_USERNAME }}\n        CODEFORCES_PASSWORD: ${{ secrets.CODEFORCES_PASSWORD }}\n        YUKICODER_TOKEN: ${{ secrets.YUKICODER_TOKEN }}\n", "state": "active", "repository": "online-judge-tools/api-client"}
{"mined_at": "2024-07-15T13:07:01.421073", "created_at": "2023-02-22T00:33:22+01:00", "updated_at": "2023-02-22T03:47:34+01:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non:\n  push:\n    branches: '*'\n  pull_request:\n    branches: '*'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - run: pipx install poetry # https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#caching-packages\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n        cache: poetry\n    - name: install python packages\n      run: poetry install --with dev --no-interaction\n    - run: poetry run ruff format --check futaba\n", "state": "active", "repository": "strinking/futaba"}
{"mined_at": "2024-07-15T13:07:04.566737", "created_at": "2021-10-14T19:50:45+02:00", "updated_at": "2021-10-15T11:37:23+02:00", "name": "Build & update docs", "path": ".github/workflows/docs-build-update.yml", "contents": "\nname: Build & update docs\n\non:\n  push:\n    branches: [ 'doc/*', 'docs/*', master, \"maint/*\" ]\n    tags: [ '*' ]\n  pull_request:\n    branches: [ master, 'maint/*' ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    if: ${{ github.event_name != 'pull_request' || !contains(github.event.head_commit.message, '[skip ci]') }}\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ssh-key: \"${{ secrets.NIPREPS_DEPLOY }}\"\n        fetch-depth: 0\n\n    - name: Determine current branch/tag name & set-up git author\n      run: |\n        if [[ \"$GITHUB_REF\" == refs/tags/* ]]; then\n          CURBRANCH=${GITHUB_REF##*/}\n        elif [[ \"$GITHUB_REF\" == refs/pull/* ]]; then\n          CURBRANCH=${GITHUB_REF%/*}\n          CURBRANCH=${CURBRANCH##*/}\n        elif [[ \"$GITHUB_REF\" == refs/heads/* ]]; then\n          CURBRANCH=${GITHUB_REF##*/}\n        fi\n\n        # Remove forward slashes\n        CURBRANCH=$( echo $CURBRANCH | sed 's+/+_+g' )\n        echo \"Building branch/tag ${CURBRANCH:-<unkwown>}, from git ref <$GITHUB_REF>\"\n        echo \"CURBRANCH=${CURBRANCH}\" >> ${GITHUB_ENV}\n\n        # Pacify git if we were to commit something\n        git config user.email \"nipreps@gmail.com\"\n        git config user.name \"NiPreps Bot\"\n\n    - name: Install GraphViz & pandoc\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y --no-install-recommends graphviz pandoc texlive\n\n    - name: Set up Python 3\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3\n\n    - name: Install dependencies\n      run: |\n        python -m pip install -U build hatch hatchling pip docutils\n        python -m pip install -r docs/requirements.txt\n        python -m hatch version | tail -n1 | xargs\n\n    - name: Pre-install template\n      shell: python\n      run: |\n        from templateflow.api import get\n        get('MNI152NLin2009cAsym', desc='brain', resolution=1, suffix='T1w')\n        get('MNI152NLin2009cAsym', desc='fMRIPrep', resolution=2, suffix='boldref')\n        get('MNI152NLin2009cAsym', desc='brain', resolution=2, suffix='mask')\n        get('MNI152NLin2009cAsym', label='brain', resolution=1, suffix='probseg')\n\n    - name: Build docs\n      run: |\n          make -C docs/ SPHINXOPTS=\"-W\" BUILDDIR=\"$HOME/docs\" OUTDIR=\"${CURBRANCH:-html}\" html\n\n    - name: Push created tag to gh-pages\n      if: startsWith(github.ref, 'refs/tags/')\n      run: |\n        MAJOR_MINOR=${CURBRANCH%.*}\n        if [[ \"${MAJOR_MINOR}\" == \"\" ]]; then\n            echo \"Could not identify release series\"\n            exit 1\n        fi\n        git checkout -b gh-pages origin/gh-pages\n        git rm -r ${MAJOR_MINOR}/ || true\n        # It is fundamental that the directory does not exist at all.\n        rm -rf ${MAJOR_MINOR}\n        cp -r $HOME/docs/$CURBRANCH $PWD/${MAJOR_MINOR}\n        git add ${MAJOR_MINOR}\n        python -c \"from pathlib import Path; import json; f=Path('versions.json'); d=json.loads(f.read_text()); d['tags'].append(\\\"${MAJOR_MINOR}\\\"); d['tags'] = list(sorted(set(d['tags']))); f.write_text(json.dumps(d, indent=4)); print('Updated versions.json')\"\n        git add versions.json\n        git commit -m \"rel(${CURBRANCH}): Update docs of ${MAJOR_MINOR} series\" || true\n        git push\n\n    - name: Push \"master\" docs to gh-pages after a push to master (typically, a PR merge).\n      if: github.ref == 'refs/heads/master'\n      run: |\n        if [[ \"${CURBRANCH}\" != \"master\" ]]; then\n            echo \"$CURBRANCH is not the default development branch\"\n            exit 1\n        fi\n        git checkout -b gh-pages origin/gh-pages\n        git rm -r master/ || true\n        # It is fundamental that the directory does not exist at all.\n        rm -rf master\n        cp -r $HOME/docs/$CURBRANCH $PWD/master\n        git add master\n        git commit -am \"docs(master): Update docs of development line\" || true\n        git push\n", "state": "active", "repository": "nipreps/sdcflows"}
{"mined_at": "2024-07-15T13:07:05.655970", "created_at": "2021-10-14T19:50:45+02:00", "updated_at": "2023-11-30T22:32:21+01:00", "name": "CI", "path": ".github/workflows/unittests.yml", "contents": "name: CI\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: 0 0 * * 0\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\ndefaults:\n  run:\n    shell: bash -el {0}\n\njobs:\n  build-linux:\n    if: \"!contains(github.event.head_commit.message, '[skip ci]' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'nipreps/sdcflows'))\"\n    runs-on: ubuntu-latest\n    env:\n      TEST_DATA_HOME: /home/runner/sdcflows-tests\n      FSLOUTPUTTYPE: NIFTI_GZ\n      FSLMULTIFILEQUIT: TRUE\n      AFNI_HOME: /opt/afni\n      AFNI_MODELPATH: /opt/afni/models\n      AFNI_IMSAVE_WARNINGS: NO\n      AFNI_TTATLAS_DATASET: /opt/afni/atlases\n      AFNI_PLUGINPATH: /opt/afni/plugins\n      ANTSPATH: /opt/ants\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/cache@v4\n      with:\n        path: /var/lib/apt\n        key: apt-cache-v3\n        restore-keys: |\n          apt-cache-v3\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y --no-install-recommends \\\n                        curl bzip2 ca-certificates        \\\n                        tcsh gsl-bin netpbm               \\\n                        libjpeg62 xvfb xterm              \\\n                        libglu1-mesa-dev libglw1-mesa     \\\n                        libxm4 build-essential\n\n    - uses: actions/cache@v4\n      with:\n        path: /opt/afni\n        key: afni-v1\n        restore-keys: |\n          afni-v1\n    - name: Install AFNI\n      run: |\n        if [[ ! -d \"${AFNI_HOME}\" ]]; then\n          curl -O https://afni.nimh.nih.gov/pub/dist/bin/misc/@update.afni.binaries && \\\n          tcsh @update.afni.binaries -package linux_ubuntu_16_64 -bindir ${AFNI_HOME}\n        fi\n\n    - uses: actions/cache@v4\n      with:\n        path: /opt/ants\n        key: ants-v1\n        restore-keys: |\n          ants-v1\n    - name: Install ANTS\n      run: |\n        if [[ ! -d \"${ANTSPATH}\" ]]; then\n          sudo mkdir -p $ANTSPATH\n          curl -sSL \"https://dl.dropbox.com/s/gwf51ykkk5bifyj/ants-Linux-centos6_x86_64-v2.3.4.tar.gz\" | sudo tar -xzC $ANTSPATH --strip-components 1\n        fi\n\n    - name: Git settings (pacify DataLad)\n      run: |\n        git config --global user.name 'NiPreps Bot'\n        git config --global user.email 'nipreps@gmail.com'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        auto-update-conda: true\n        auto-activate-base: true\n        python-version: ${{ matrix.python-version }}\n        channels: anaconda,https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/public/,conda-forge\n    - uses: actions/cache@v4\n      id: conda\n      env:\n        CACHE_NUM: v4\n      with:\n        path: |\n          ~/conda_pkgs_dir\n          /home/runner/.cache/pip\n        key: python-${{ matrix.python-version }}-${{ env.CACHE_NUM }}\n        restore-keys: |\n          python-${{ matrix.python-version }}-${{ env.CACHE_NUM }}\n    - name: Install DataLad\n      run: |\n        conda install git-annex=*=alldep* pip\n        pip install datalad datalad-osf\n    - name: Install fsl\n      run: |\n        conda install fsl-fugue fsl-topup\n    - uses: actions/checkout@v4\n    - name: Install dependencies\n      timeout-minutes: 5\n      run: |\n        pip install .[tests]\n\n\n    - uses: actions/cache@v4\n      with:\n        path: ~/.cache/templateflow\n        key: tf-cache-v1\n        restore-keys: |\n          tf-cache-\n    - name: Get TemplateFlow's required objects\n      run: |\n        python tools/cache_templateflow.py\n\n    - uses: actions/cache@v4\n      with:\n        path: ${{ env.TEST_DATA_HOME }}\n        key: data-cache-v1\n        restore-keys: |\n          data-cache-\n    - name: Install test data\n      run: |\n        mkdir -p ${{ env.TEST_DATA_HOME }}\n        cd ${{ env.TEST_DATA_HOME }}\n\n        # ds001600\n        datalad install -r https://github.com/nipreps-data/ds001600.git\n        datalad update -r --merge -d ds001600/\n        datalad get -r -d ds001600/ ds001600/sub-1/\n\n        # HCP/sub-101006\n        datalad install -r https://github.com/nipreps-data/HCP101006.git\n        datalad update -r --merge -d HCP101006/\n        datalad get -r -d HCP101006\n\n        # ds001771\n        datalad install -r https://github.com/nipreps-data/ds001771.git\n        datalad update -r --merge -d ds001771/\n        datalad get -r -d ds001771/ ds001771/sub-36/*\n        datalad get -r -d ds001771/derivatives ds001771/derivatives/openneuro/sub-36/*\n\n        # ds000054\n        datalad install -r https://github.com/nipreps-data/ds000054.git\n        datalad update --merge -d ds000054/\n        datalad get -r -d ds000054/ ds000054/sub-100185/*\n\n        # ds000206\n        datalad install -r https://github.com/nipreps-data/ds000206.git\n        datalad update -r --merge -d ds000206/\n        datalad get -r -d ds000206/ ds000206/sub-05/\n\n    - name: Install FreeSurfer's mri_robust_template\n      env:\n        MRI_ROBUST_TEMPLATE: sx2n7/providers/osfstorage/5e825301d0e35400ebb481f2\n      run: |\n        curl https://files.osf.io/v1/resources/$MRI_ROBUST_TEMPLATE?direct > mri_robust_template\n        sudo install mri_robust_template /usr/local/bin\n        mkdir -p $HOME/.cache/freesurfer/\n        echo \"b2VzdGViYW5Ac3RhbmZvcmQuZWR1CjMwNzU2CiAqQ1MzYkJ5VXMxdTVNCiBGU2kvUGJsejJxR1V3Cg==\" | base64 -d > $HOME/.cache/freesurfer/license.txt\n\n    - name: Run pytest with coverage\n      run: |\n        export LD_LIBRARY_PATH=/usr/lib/fsl/5.0:$LD_LIBRARY_PATH\n        export PATH=$ANTSPATH:${AFNI_HOME}:/usr/lib/fsl/5.0:$PATH\n        pytest -v --cov sdcflows --cov-report xml:cov.xml --doctest-modules sdcflows\n\n    - uses: codecov/codecov-action@v4\n      with:\n        file: cov.xml\n        token: ${{ secrets.CODECOV_TOKEN }}\n      if: ${{ always() }}\n", "state": "active", "repository": "nipreps/sdcflows"}
{"mined_at": "2024-07-15T13:07:06.828156", "created_at": "2021-10-14T20:53:17+02:00", "updated_at": "2021-10-15T11:37:23+02:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ '*' ]\n    tags: [ '*' ]\n  pull_request:\n    branches: [ master, 'maint/*' ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  job_metadata:\n    if: github.repository == 'nipreps/sdcflows'\n    runs-on: ubuntu-latest\n    outputs:\n      commit_message: ${{ steps.get_commit_message.outputs.commit_message }}\n      version: ${{ steps.show_version.outputs.version }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Print head git commit message\n        id: get_commit_message\n        run: |\n          if [[ -z \"$COMMIT_MSG\" ]]; then\n            COMMIT_MSG=$(git show -s --format=%s $REF)\n          fi\n          echo commit_message=$COMMIT_MSG | tee -a $GITHUB_OUTPUT\n        env:\n          COMMIT_MSG: ${{ github.event.head_commit.message }}\n          REF: ${{ github.event.pull_request.head.sha }}\n      - name: Detect version\n        id: show_version\n        run: |\n          if [[ \"$GITHUB_REF\" == refs/tags/* ]]; then\n            VERSION=${GITHUB_REF##*/}\n          else\n            pip install -U build hatch hatchling pip twine docutils\n            VERSION=$( python -m hatch version | tail -n1 | xargs )\n          fi\n          echo version=$VERSION | tee -a $GITHUB_OUTPUT\n\n  build:\n    if: github.repository == 'nipreps/sdcflows'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3\n    - name: Display Python version\n      run: python -c \"import sys; print(sys.version)\"\n    - name: Build sdcflows\n      run: pipx run build\n    - name: Check distributions\n      run: pipx run twine check dist/*\n    - uses: actions/upload-artifact@v4\n      with:\n        name: dist\n        path: dist/\n\n  test:\n    if: \"!startsWith(github.ref, 'refs/tags/') && !contains(github.event.head_commit.message, '[skip ci]')\"\n    needs: [build, job_metadata]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.12\"]\n        install: [repo, sdist, wheel, editable]\n\n    env:\n      INSTALL_TYPE: ${{ matrix.install }}\n\n    steps:\n    - uses: actions/checkout@v4\n      if: matrix.install == 'repo' || matrix.install == 'editable'\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Fetch packages\n      if: matrix.install == 'sdist' || matrix.install == 'wheel'\n      uses: actions/download-artifact@v4\n      with:\n        name: dist\n        path: dist/\n    - name: Select archive\n      run: |\n        if [ \"$INSTALL_TYPE\" = \"sdist\" ]; then\n          ARCHIVE=$( ls dist/*.tar.gz )\n        elif [ \"$INSTALL_TYPE\" = \"wheel\" ]; then\n          ARCHIVE=$( ls dist/*.whl )\n        elif [ \"$INSTALL_TYPE\" = \"repo\" ]; then\n          ARCHIVE=\".\"\n        elif [ \"$INSTALL_TYPE\" = \"editable\" ]; then\n          ARCHIVE=\"-e .\"\n        fi\n        echo \"ARCHIVE=$ARCHIVE\" | tee -a $GITHUB_ENV\n    - name: Install package\n      run: python -m pip install $ARCHIVE\n    - name: Check version\n      run: |\n        INSTALLED_VERSION=$(python -c 'import sdcflows; print(sdcflows.__version__, end=\"\")')\n        echo \"INSTALLED: \\\"${INSTALLED_VERSION}\\\"\"\n        test \"${INSTALLED_VERSION}\" = \"${VERSION}\"\n      env:\n        VERSION: ${{ needs.job_metadata.outputs.version }}\n\n  flake8:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n    - run: pipx run flake8-pyproject sdcflows/\n\n  # codespell:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #   - uses: actions/checkout@v4\n  #   - uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "nipreps/sdcflows"}
{"mined_at": "2024-07-15T13:07:07.922374", "created_at": "2022-01-10T22:34:22+01:00", "updated_at": "2022-01-10T22:34:22+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nipreps/sdcflows"}
{"mined_at": "2024-07-15T13:07:11.333437", "created_at": "2023-02-09T19:43:34+01:00", "updated_at": "2023-02-09T20:02:17+01:00", "name": "Run tests", "path": ".github/workflows/main.yml", "contents": "# This workflow will install Python dependencies, run tests and converage with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Run tests\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\njobs:\n  lint:\n    name: Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/cache@v2\n        name: Cache pip directory\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-3.9\n\n      - uses: actions/cache@v2\n        name: Cache poetry deps\n        with:\n          path: .venv\n          key: ${{ runner.os }}-build-${{ hashFiles('poetry.lock') }}-3.9\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Install poetry\n        run: |\n          pip install poetry\n\n      - name: Install dependencies\n        run: |\n          poetry config virtualenvs.in-project true\n          poetry install\n\n      - name: Lint\n        run: |\n          poetry run python -m flake8 sh.py tests/*.py\n          poetry run black --check --diff sh.py tests/*.py\n          poetry run rstcheck README.rst\n          poetry run mypy sh.py\n\n  test:\n    name: Run tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        use-select: [0, 1]\n        lang: [C, en_US.UTF-8]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/cache@v2\n        name: Cache pip directory\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-3.9\n\n      - uses: actions/cache@v2\n        name: Cache poetry deps\n        env:\n          cache-name: poetry-deps\n        with:\n          path: .venv\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('poetry.lock') }}-${{ matrix.python-version }}\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install poetry\n        run: |\n          pip install poetry\n\n      - name: Install dependencies\n        run: |\n          poetry config virtualenvs.in-project true\n          poetry install\n\n      - name: Run tests\n        run: |\n          SH_TESTS_RUNNING=1 SH_TESTS_USE_SELECT=${{ matrix.use-select }} LANG=${{ matrix.lang }} poetry run coverage run -a -m pytest\n\n      - name: Store coverage\n        uses: actions/upload-artifact@v2\n        with:\n          name: coverage.${{ matrix.use-select }}.${{ matrix.lang }}.${{ matrix.python-version }}\n          path: .coverage\n\n  report:\n    name: Report Coverage\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      # required because coveralls complains if we're not in a git dir\n      - uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Install dependencies\n        run: |\n          pip install coverage coveralls\n\n      - name: Download coverage artifacts\n        uses: actions/download-artifact@v2\n        with:\n          path: coverage-artifacts\n\n      - name: Combine coverage\n        run: |\n          find coverage-artifacts -name .coverage | xargs coverage combine -a\n\n      - name: Report coverage\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          coverage report\n          coveralls --service=github\n\n  deploy:\n    name: Deploy\n    needs: test\n    runs-on: ubuntu-latest\n    if: github.ref_name == 'master'\n\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Get current version\n        id: get_version\n        run: echo \"::set-output name=version::$(sed -n 's/^version = \"\\(.*\\)\"/\\1/p' pyproject.toml)\"\n\n      - name: Tag commit\n        run: |\n          git tag \"${{steps.get_version.outputs.version}}\" \"${{github.ref_name}}\"\n          git push -f origin \"${{steps.get_version.outputs.version}}\"\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Install dependencies\n        run: pip install build\n\n      - name: Build\n        run: python -m build\n\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "amoffat/sh"}
{"mined_at": "2024-07-15T13:07:15.501372", "created_at": "2023-10-01T22:24:33+02:00", "updated_at": "2023-10-06T11:58:20+02:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\non: [push, pull_request]\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.12\"\n    - uses: pre-commit/action@v3.0.0\n      env:\n        SKIP: black,ruff,mypy,no-commit-to-branch\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - uses: psf/black@stable\n        with:\n          version: \"23.9.1\"\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n        with:\n          version: \"0.0.292\"\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jpetrucciani/mypy-check@1.5.1\n        with:\n          python_version: \"3.12\"\n          mypy_flags: '--config-file pyproject.toml --ignore-missing-imports --scripts-are-modules'\n          requirements: \"types-pkg_resources\"\n", "state": "active", "repository": "xhtml2pdf/xhtml2pdf"}
{"mined_at": "2024-07-15T13:07:16.562171", "created_at": "2022-01-28T18:57:05+01:00", "updated_at": "2022-01-28T18:57:05+01:00", "name": "Run Tests", "path": ".github/workflows/tests.yml", "contents": "name: Run Tests\non: push\njobs:\n  python:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    env:\n      PYTHON_VERSION: ${{matrix.python-version}}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{matrix.python-version}}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{matrix.python-version}}\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install --yes ghostscript imagemagick\n          sudo sed -i 's#<policy domain=\"coder\" rights=\"none\" pattern=\"PDF\" />#<policy domain=\"coder\" rights=\"read|write\" pattern=\"PDF\" />#' /etc/ImageMagick-6/policy.xml\n          python -m pip install --upgrade pip\n          python -m pip install .[test]\n\n      - name: run\n        run: make test-ref\n\n      - name: Test with tox\n        run: tox\n        env:\n          TOXENV: py${{matrix.python-version}}\n\n      - name: Generate coverage report\n        run: coverage xml\n\n      - name: Upload test coverage\n        uses: coverallsapp/github-action@v2\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n        with:\n          github-token: ${{ github.token }}\n          file: \"coverage.xml\"\n          format: \"cobertura\"\n", "state": "active", "repository": "xhtml2pdf/xhtml2pdf"}
{"mined_at": "2024-07-15T13:07:18.649111", "created_at": "2024-01-12T23:13:02+01:00", "updated_at": "2024-01-12T23:24:25+01:00", "name": "Deploy Python Lib", "path": ".github/workflows/deploy.yml", "contents": null, "state": "active", "repository": "sheffieldml/gpy"}
{"mined_at": "2024-07-15T13:07:19.729657", "created_at": "2024-01-13T19:01:46+01:00", "updated_at": "2024-01-14T23:44:53+01:00", "name": "Test Python Lib", "path": ".github/workflows/test-and-deploy.yml", "contents": "name: \"Test Python Lib\"\non:\n  push:\n    branches:\n      - main\n      - devel\n      - deploy\n  pull_request:\n  release:\n\npermissions:\n  contents: read\n  pull-requests: read\n\njobs:\n  test-windows:\n    strategy:\n      matrix:\n        os: [windows-latest]\n        python: ['3.9', '3.10', '3.11', '3.12']\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install dependencies\n        run: |\n          pip install setuptools\n          pip install matplotlib\n          pip install pytest\n      \n      - name: Install lib\n        run: |\n          python setup.py develop\n\n      - name: pytest\n        run: |\n          pytest GPy/testing\n\n  test-linux:\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python: ['3.9', '3.10', '3.11', '3.12']\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install dependencies\n        run: |\n          pip install setuptools\n          pip install matplotlib\n          pip install pytest\n      \n      - name: Install lib\n        run: |\n          python setup.py develop\n\n      - name: pytest\n        run: |\n          pytest GPy/testing\n  test-macos:\n    strategy:\n      matrix:\n        os: [macos-latest]\n        python: ['3.10', '3.11', '3.12']\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install dependencies\n        run: |\n          pip install setuptools\n          pip install matplotlib\n          pip install pytest\n      \n      - name: Install lib\n        run: |\n          python setup.py develop\n\n      - name: pytest\n        run: |\n          pytest GPy/testing\n\n  build-windows:\n    if: github.event_name == 'release'\n    strategy:\n      matrix:\n        os: [windows-latest]\n        python: ['3.9', '3.10', '3.11', '3.12']\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Build lib\n        run: |\n          pip install setuptools\n          pip install wheel\n          python setup.py develop\n          python setup.py bdist_wheel\n          python setup.py sdist bdist_wheel\n\n      - name: List contents of dist\n        run: ls -R dist\n\n      - name: Archive build artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist-artifacts-${{ matrix.os }}-${{ matrix.python }}\n          path: dist\n\n  build-macos:\n    if: github.event_name == 'release'\n    strategy:\n      matrix:\n        os: [macos-latest]\n        python: ['3.10', '3.11', '3.12']  # 3.9 triggers scipy issues when installing\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Build lib\n        run: |\n          pip install setuptools\n          pip install wheel\n          python setup.py develop\n          python setup.py bdist_wheel\n\n      - name: List contents of dist\n        run: ls -R dist\n\n      - name: Archive build artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist-artifacts-${{ matrix.os }}-${{ matrix.python }}\n          path: dist/*\n\n  build-linux:\n    if: github.event_name == 'release'\n    strategy:\n        matrix:\n          python: ['cp39-cp39', 'cp310-cp310', 'cp311-cp311', 'cp312-cp312']\n    runs-on: ubuntu-latest\n    container:\n      image: quay.io/pypa/manylinux2014_x86_64\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Compile c headers\n        run: |\n          /opt/python/${{ matrix.python }}/bin/python setup.py develop\n\n      - name: Build wheel files\n        run: |\n          /opt/python/${{ matrix.python }}/bin/python setup.py bdist_wheel\n\n      - name: Install auditwheel  # this should be available?!\n        run: |\n          /opt/python/${{ matrix.python }}/bin/python -m pip install auditwheel\n      \n      - name: Repair wheel files\n        run: |\n          /opt/python/${{ matrix.python }}/bin/python -m auditwheel repair dist/*${{ matrix.python }}-linux_x86_64.whl\n\n      - name: List contents of dist\n        run: ls -R dist\n\n      - name: List contests of wheelhouse\n        run: ls -R wheelhouse\n\n      - name: Move wheelhouse wheel files to dist\n        run: |\n          rm dist/*\n          mv wheelhouse/* dist/\n          rmdir wheelhouse\n\n      - name: List contents of dist\n        run: ls -R dist\n\n      - name: Archive build artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist-artifacts-manylinux-${{ matrix.python }}\n          path: dist/*\n\n  deploy:\n    runs-on: ubuntu-latest\n    needs: [test-windows, test-linux, test-macos, build-linux, build-windows, build-macos]\n    if: github.event_name == 'release'\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n\n      - name: Install twine\n        run: |\n          pip install --upgrade pip\n          pip install twine\n    \n      - name: Download all artifacts to a specific directory\n        uses: actions/download-artifact@v3\n        with:\n          path: dist\n\n      - name: Create dist directory\n        run: mkdir -p dist\n\n      - name: Move files from subdirectories\n        run: |\n          for subdirectory in dist/*/; do\n            dir_name=$(basename \"$subdirectory\")\n            mv \"$subdirectory\"* dist/\n            rm -r \"$subdirectory\"\n            echo \"Moved files from '$dir_name' to 'dist/'\"\n          done\n\n      - name: Inspect wheel files\n        run: |\n          ls -R dist\n\n      - name: Upload to PyPI using twine\n        run: twine upload --skip-existing dist/*\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "sheffieldml/gpy"}
{"mined_at": "2024-07-15T13:07:20.765068", "created_at": "2024-01-12T23:20:53+01:00", "updated_at": "2024-01-12T23:20:53+01:00", "name": "Test Python Lib", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "sheffieldml/gpy"}
{"mined_at": "2024-07-15T13:07:22.842251", "created_at": "2021-08-06T05:48:08+02:00", "updated_at": "2021-11-27T18:34:41+01:00", "name": "Kazoo Awesome Release", "path": ".github/workflows/release.yml", "contents": "name: Kazoo Awesome Release\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build-and-release:\n    name: Build and release Kazoo to Pypi\n    runs-on: ubuntu-latest\n    steps:\n    - name: Handle the code\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        -C--global-option=egg_info\n        -C--global-option=--tag-build=\"\"\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n\n    - name: Publish Kazoo to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "python-zk/kazoo"}
{"mined_at": "2024-07-15T13:07:24.010520", "created_at": "2021-08-06T04:29:11+02:00", "updated_at": "2024-01-23T02:29:30+01:00", "name": "Kazoo Awesome Testing", "path": ".github/workflows/testing.yml", "contents": "name: Kazoo Awesome Testing\n\non:\n  push:\n    branches:\n      - master\n      - release/*\n  pull_request:\n    branches:\n      - master\n      - release/*\n\njobs:\n  validate:\n    name: Code Validation\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Handle pip cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install required dependencies\n        run: |\n          python3 -m pip install --upgrade pip\n          pip install tox\n\n      - name: Code check\n        run: tox -e ${TOX_VENV}\n        env:\n          TOX_VENV: black,pep8,mypy\n\n  test:\n    needs: [validate]\n\n    name: >\n      Linux - Test Python ${{ matrix.python-version }},\n      ZK ${{ matrix.zk-version }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"pypy-3.10-v7.3.15\"]\n        zk-version: [\"3.6.4\", \"3.7.2\", \"3.8.3\", \"3.9.1\"]\n        include:\n          - python-version: \"3.8\"\n            tox-env: py38\n          - python-version: \"3.9\"\n            tox-env: py39\n          - python-version: \"3.10\"\n            tox-env: py310\n          - python-version: \"3.11\"\n            tox-env: py311\n          - python-version: \"3.12\"\n            tox-env: py312\n          - python-version: \"pypy-3.10-v7.3.15\"\n            tox-env: pypy3\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Handle pip cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Handle ZK installation cache\n        uses: actions/cache@v4\n        with:\n          path: zookeeper\n          key: ${{ runner.os }}-zookeeper\n          restore-keys: |\n            ${{ runner.os }}-zookeeper\n\n      - name: Install required dependencies\n        run: |\n          sudo apt-get -y install libevent-dev krb5-kdc krb5-admin-server libkrb5-dev\n          python3 -m pip install --upgrade pip\n          pip install tox\n\n      - name: Test with tox\n        run: tox -e ${TOX_VENV}\n        env:\n          TOX_VENV: ${{ format('{0}-{1}', matrix.tox-env, 'gevent-eventlet-sasl') }}\n          ZOOKEEPER_VERSION: ${{ matrix.zk-version }}\n          # TODO: can be removed once tests for ZK 3.4 are removed\n          ZOOKEEPER_PREFIX: \"${{ !contains(matrix.zk-version, '3.4') && 'apache-' || '' }}\"\n          ZOOKEEPER_SUFFIX: \"${{ !contains(matrix.zk-version, '3.4') && '-bin' || '' }}\"\n          ZOOKEEPER_LIB: \"${{ !contains(matrix.zk-version, '3.4') && 'lib' || '' }}\"\n\n      - name: Publish Codecov report\n        uses: codecov/codecov-action@v4\n\n  test_windows:\n    needs: [validate]\n    name: Windows - Sanity test using a single version of Python and ZK\n\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Handle pip cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Handle ZK installation cache\n        uses: actions/cache@v4\n        with:\n          path: zookeeper\n          key: ${{ runner.os }}-zookeeper\n          restore-keys: |\n            ${{ runner.os }}-zookeeper\n\n      # https://github.com/actions/setup-java\n      - name: Setup Java\n        uses: actions/setup-java@v4\n        with:\n          distribution: 'temurin'\n          java-version: '17'\n\n      - name: Install required dependencies\n        run: |\n          python3 -m pip install --upgrade pip\n          pip install tox\n\n      - name: Test with tox\n        run: tox -e py310\n        env:\n          ZOOKEEPER_VERSION: 3.9.1\n          ZOOKEEPER_PREFIX: \"apache-\"\n          ZOOKEEPER_SUFFIX: \"-bin\"\n          ZOOKEEPER_LIB: \"lib\"\n        shell: bash\n", "state": "active", "repository": "python-zk/kazoo"}
{"mined_at": "2024-07-15T13:07:25.147155", "created_at": "2024-07-15T08:26:32+02:00", "updated_at": "2024-07-15T08:26:32+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "python-zk/kazoo"}
{"mined_at": "2024-07-15T13:07:27.616358", "created_at": "2021-07-14T00:31:41+02:00", "updated_at": "2021-07-14T00:31:41+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [push, pull_request]\njobs:\n  build:\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-latest, windows-latest, ubuntu-latest]\n        python-version: [3.8, 3.9, '3.10', '3.11', '3.12', pypy-3.9]\n    steps:\n      - if: matrix.os == 'ubuntu-latest'\n        name: Install UTF-8 locales and lxml requirements\n        run: |\n          sudo apt install libxml2-dev libxslt-dev\n          sudo locale-gen de_DE.UTF-8\n          sudo locale-gen en_US.UTF-8\n          sudo locale-gen ko_KR.UTF-8\n          sudo update-locale\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: setup.py\n      - run: pip install .[test] coveralls\n      - if: matrix.python-version == '3.8'\n        run: pip install 'lxml<5'\n      - env:\n          LANG: en_US.UTF-8\n          PYTHONIOENCODING: utf-8\n          PYTHONUTF8: 1\n        run: pytest --cov agate\n      - name: Read from stdin\n        if: matrix.os != 'windows-latest'\n        run: python -c 'import sys; import agate; agate.Table.from_csv(sys.stdin, sniff_limit=1)' < examples/test.csv\n      - name: Read from pipe\n        run: printf 'a,b,c\\n1,2,3' | python -c 'import sys; import agate; agate.Table.from_csv(sys.stdin, sniff_limit=1)'\n      - run: python charts.py\n      - env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: coveralls --service=github\n", "state": "active", "repository": "wireservice/agate"}
{"mined_at": "2024-07-15T13:07:28.616749", "created_at": "2022-12-20T23:23:48+01:00", "updated_at": "2022-12-21T00:40:12+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\non: [push, pull_request]\njobs:\n  build:\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: pip\n          cache-dependency-path: setup.py\n      - run: pip install --upgrade check-manifest flake8 isort setuptools\n      - run: check-manifest\n      - run: flake8 .\n      - run: isort . --check-only\n", "state": "active", "repository": "wireservice/agate"}
{"mined_at": "2024-07-15T13:07:29.669082", "created_at": "2023-10-03T21:53:47+02:00", "updated_at": "2023-10-03T21:53:47+02:00", "name": "Publish to PyPI", "path": ".github/workflows/pypi.yml", "contents": "name: Publish to PyPI\non: push\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - run: pip install --upgrade build\n      - run: python -m build --sdist --wheel\n      - name: Publish to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n      - name: Publish to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "wireservice/agate"}
{"mined_at": "2024-07-15T13:07:30.897849", "created_at": "2024-07-15T03:05:21+02:00", "updated_at": "2024-07-15T03:05:21+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "wireservice/agate"}
{"mined_at": "2024-07-15T13:07:33.359999", "created_at": "2022-09-17T16:14:03+02:00", "updated_at": "2022-09-17T16:14:03+02:00", "name": "Upload AUR Package", "path": ".github/workflows/aurpublish.yml", "contents": "---\nname: Upload AUR Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  aur-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install requests\n      - name: Create PKGBUILD\n        run: |\n          python ./create-pkgbuild.py > ./PKGBUILD\n      - name: Publish AUR package\n        uses: KSXGitHub/github-actions-deploy-aur@v2.5.0\n        with:\n          pkgname: bumblebee-status\n          pkgbuild: ./PKGBUILD\n          commit_username: ${{ secrets.AUR_USERNAME }}\n          commit_email: ${{ secrets.AUR_EMAIL }}\n          ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}\n          commit_message: Update AUR package\n          ssh_keyscan_types: rsa,dsa,ecdsa,ed25519\n", "state": "active", "repository": "tobi-wan-kenobi/bumblebee-status"}
{"mined_at": "2024-07-15T13:07:34.365475", "created_at": "2022-07-29T13:18:21+02:00", "updated_at": "2022-07-29T14:05:24+02:00", "name": "Tests", "path": ".github/workflows/autotest.yml", "contents": "name: Tests\n\non:\n  pull_request:\n    types: [ opened, reopened, edited ]\n  push:\n\nenv:\n  CC_TEST_REPORTER_ID: 40cb00907f7a10e04868e856570bb997ab9c42fd3b63d980f2b2269433195fdf\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Update Ubuntu\n        run: sudo apt-get update\n      - name: Install Ubuntu dependencies\n        run: sudo apt-get install -y libdbus-1-dev libgit2-dev libvirt-dev taskwarrior\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -U coverage pytest pytest-mock freezegun dbus-python\n          pip install 'pygit2<1' 'libvirt-python<6.3' 'feedparser<6' || true\n          pip install $(cat requirements/modules/*.txt | grep -v power | cut -d ' ' -f 1 | sort -u)\n      - name: Install Code Climate dependency\n        run: |\n          curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter\n          chmod +x ./cc-test-reporter\n          ./cc-test-reporter before-build\n      - name: Run tests\n        run: |\n          coverage run --source=. -m pytest tests -v\n      - name: Report coverage\n        uses: paambaati/codeclimate-action@v3.2.0\n        with:\n          coverageCommand: coverage3 xml\n          debug: true\n", "state": "active", "repository": "tobi-wan-kenobi/bumblebee-status"}
{"mined_at": "2024-07-15T13:07:35.527546", "created_at": "2022-02-09T21:15:11+01:00", "updated_at": "2022-02-09T21:15:11+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '31 0 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "tobi-wan-kenobi/bumblebee-status"}
{"mined_at": "2024-07-15T13:07:36.534341", "created_at": "2020-02-01T14:06:41+01:00", "updated_at": "2020-02-01T14:06:41+01:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "---\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "tobi-wan-kenobi/bumblebee-status"}
{"mined_at": "2024-07-15T13:07:38.553425", "created_at": "2019-12-30T16:17:14+01:00", "updated_at": "2021-02-26T20:20:17+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  schedule:\n    # run CI every day even if no PRs/merges occur\n    - cron:  '0 12 * * *'\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v1\n        with:\n          python-version: \"3.7\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pyflakes mypy\n      - name: Lint\n        run: |\n          find ./bin -name '*.py' -exec pyflakes \"{}\" \\;\n          find ./tests -name '*.py' -exec pyflakes \"{}\" \\;\n          mypy --strict-optional --config-file mypy.ini bin/deepstate\n  build:\n    strategy:\n      matrix:\n        env:\n          - TEST: sanity_check\n         # - TEST: crash\n         # - TEST: fixture\n         # - TEST: klee\n         # - TEST: lists\n         # - TEST: oneof\n         # - TEST: runlen\n         # - TEST: overflow\n         # - TEST: primes\n         # - TEST: takeover\n         # - TEST: streamingandformatting\n         # - TEST: boringdisabled\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v1\n        with:\n          python-version: \"3.7\"\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y build-essential gcc-multilib cmake libffi-dev\n          python -m pip install --upgrade pip\n          pip install z3-solver angr nose\n          pip install git+git://github.com/trailofbits/manticore.git\n      - name: Build\n        run: |\n          mkdir build && cd build\n          cmake ..\n          sudo make install\n      - name: Test\n        run: |\n          nosetests tests/test_${{ matrix.env.TEST }}.py\n", "state": "active", "repository": "trailofbits/deepstate"}
{"mined_at": "2024-07-15T13:07:40.515093", "created_at": "2020-09-06T15:08:36+02:00", "updated_at": "2021-04-27T19:47:11+02:00", "name": "CI", "path": ".github/workflows/tests.yaml", "contents": "name: CI\non: [push, pull_request]\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {name: '3.12', python: '3.12', os: ubuntu-latest, architecture: 'x64', cibuild: \"no\"}\n          - {name: '3.11', python: '3.11', os: ubuntu-latest, architecture: 'x64', cibuild: \"no\"}\n          - {name: '3.10', python: '3.10', os: ubuntu-latest, architecture: 'x64', cibuild: \"no\"}\n          - {name: '3.9', python: '3.9', os: ubuntu-latest, architecture: 'x64', cibuild: \"yes\"}\n          - {name: '3.8', python: '3.8', os: ubuntu-latest, architecture: 'x64', cibuild: \"no\"}\n          - {name: Windows, python: '3.8', os: windows-latest, architecture: 'x64', arch-cx: 'win-amd64', cx_name: 'amd64', cibuild: \"yes\"}\n          - {name: WindowsX86, python: '3.8', os: windows-latest, architecture: 'x86', arch-cx: 'win32', cx_name: 'win32', cibuild: \"yes\"}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: ${{ matrix.architecture }}\n          cache: 'pip'\n      - name: update pip\n        run: |\n          pip install -U wheel\n          pip install -U setuptools\n          python -m pip install -U pip\n      - name: install deps\n        run: |\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n      - name: cache pre-commit\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          key: per-commit|${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('.pre-commit-config.yaml') }}\n          restore-keys: per-commit|${{ runner.os }}-${{ matrix.python }}-\n        if: matrix.os == 'ubuntu-latest'\n      - name: pre-commit\n        run: pre-commit run --all-files --show-diff-on-failure\n        if: matrix.os == 'ubuntu-latest'\n      - name: pytest\n        run: pytest -v --cov\n\n  binaries-make:\n    name: \"binaries make\"\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n          cache: 'pip'\n      - name: update pip\n        run: |\n            pip install -U setuptools\n            python -m pip install -U pip\n      - name: install deps\n        run: |\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n\n      # Build .zip fil for *nix\n      - run: make\n      - run: ./svtplay-dl --version\n      - name: cibuild\n        run: python scripts/cibuild.py\n        env:\n          CIBUILD: \"yes\"\n          BUILD_DOCKER: \"no\"\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          OS: \"ubuntu-latest\"\n\n  binaries-exe:\n    name: \"binaries exe ${{ matrix.architecture }}\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {name: Windows, python: '3.8', os: windows-latest, architecture: 'x64', arch-cx: 'win-amd64', cx_name: 'amd64', cibuild: \"yes\"}\n          - {name: WindowsX86, python: '3.8', os: windows-latest, architecture: 'x86', arch-cx: 'win32', cx_name: 'win32', cibuild: \"yes\"}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: ${{ matrix.architecture }}\n          cache: 'pip'\n      - name: update pip\n        run: |\n          pip install -U wheel\n          pip install -U setuptools\n          python -m pip install -U pip\n      - name: install deps\n        run: |\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n      - name: set version\n        run: python setversion.py\n      - name: build .exe\n        run: python setup.py build_exe\n      - name: run the .exe file\n        run: build\\\\exe.${{ matrix.arch-cx }}-${{ matrix.python }}\\\\svtplay-dl.exe --version\n      - run: |\n          mkdir svtplay-dl\n          xcopy /s build\\\\exe.${{ matrix.arch-cx }}-${{ matrix.python }} svtplay-dl\n      - run: 7z a -tzip svtplay-dl-${{ matrix.cx_name }}.zip svtplay-dl\n      - name: cibuild\n        run: python scripts/cibuild.py\n        env:\n          CIBUILD: \"yes\"\n          BUILD_DOCKER: \"no\"\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          OS: \"windows-latest\"\n\n  binaries-pypi:\n    name: \"binaries pypi\"\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n          cache: 'pip'\n      - name: update pip\n        run: |\n          pip install -U setuptools\n          python -m pip install -U pip\n      - name: install deps\n        run: |\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n      - name: python pkg\n        run: python setup.py sdist bdist_wheel\n      - name: cibuild\n        run: python scripts/cibuild.py\n        env:\n          CIBUILD: \"yes\"\n          BUILD_DOCKER: \"yes\"\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n          DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n          DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          OS: \"ubuntu-latest\"\n", "state": "active", "repository": "spaam/svtplay-dl"}
{"mined_at": "2024-07-15T13:07:43.077978", "created_at": "2020-02-24T01:54:01+01:00", "updated_at": "2020-02-24T01:54:01+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    services:\n      mysql:\n        image: mysql:5.7\n        env:\n          MYSQL_ALLOW_EMPTY_PASSWORD: true\n          MYSQL_ROOT_PASSWORD: \"\"\n          MYSQL_DATABASE: machina_test\n        ports:\n          - 3307:3306\n        options: --health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=3\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: machina_test\n        ports:\n        - 5432:5432\n        # Needed because the postgres container does not provide a healthcheck\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\n          3.7,\n          3.8,\n          3.9,\n          '3.10',\n          '3.11',\n        ]\n        django-version: [\n          \"django>=3.2,<4.0\",\n          \"django>=4.0,<4.1\",\n          \"django>=4.1,<4.2\",\n          \"django>=4.2,<5.0\",\n        ]\n        db: [\n          'mysql',\n          'postgres',\n          'sqlite',\n        ]\n        exclude:\n          - python-version: 3.7\n            django-version: \"django>=4.0,<4.1\"\n          - python-version: 3.7\n            django-version: \"django>=4.1,<4.2\"\n          - python-version: 3.7\n            django-version: \"django>=4.2,<5.0\"\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Start MySQL if applicable\n      if: matrix.db == 'mysql'\n      run: |\n        sudo /etc/init.d/mysql start\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U pip poetry\n        poetry install\n        poetry run pip install psycopg2 mysqlclient\n        poetry run pip install --pre -U \"${{ matrix.django-version }}\" \"git+https://github.com/django-haystack/django-haystack.git\"\n    - name: Run QA checks\n      run: make qa\n    - name: Run tests suite\n      run: poetry run pytest\n      env:\n        DB: ${{ matrix.db }}\n", "state": "active", "repository": "ellmetha/django-machina"}
{"mined_at": "2024-07-15T13:07:45.074046", "created_at": "2019-12-27T16:43:17+01:00", "updated_at": "2023-05-01T12:07:34+02:00", "name": "Bump version", "path": ".github/workflows/bumpversion.yml", "contents": "name: Bump version\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  bump-version:\n    if: \"!startsWith(github.event.head_commit.message, 'bump:')\"\n    runs-on: ubuntu-latest\n    name: \"Bump version and create changelog with commitizen\"\n    steps:\n      - name: Check out\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          token: \"${{ secrets.PERSONAL_ACCESS_TOKEN }}\"\n      - name: Create bump and changelog\n        uses: commitizen-tools/commitizen-action@master\n        with:\n          github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n          changelog_increment_filename: body.md\n      - name: Release\n        uses: ncipollo/release-action@v1\n        with:\n          tag: v${{ env.REVISION }}\n          bodyFile: \"body.md\"\n          skipIfReleaseExists: true\n", "state": "active", "repository": "commitizen-tools/commitizen"}
{"mined_at": "2024-07-15T13:07:46.161492", "created_at": "2023-07-05T18:35:28+02:00", "updated_at": "2023-07-05T18:35:28+02:00", "name": "Publish documentation", "path": ".github/workflows/docspublish.yml", "contents": "name: Publish documentation\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  update-cli-screenshots:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip poetry\n          poetry --version\n          poetry install\n      - name: Update CLI screenshots\n        run: |\n          poetry run python scripts/gen_cli_help_screenshots.py\n      - name: Commit and push updated CLI screenshots\n        run: |\n          git config --global user.name \"github-actions[bot]\"\n          git config --global user.email \"github-actions[bot]@users.noreply.github.com\"\n          git add docs/images/cli_help\n\n          if [[ -n \"$(git status --porcelain)\" ]]; then\n            git commit -m \"docs(cli/screenshots): update CLI screenshots\" -m \"[skip ci]\"\n            git push\n          else\n            echo \"No changes to commit. Skipping.\"\n          fi\n\n  publish-documentation:\n    runs-on: ubuntu-latest\n    needs: update-cli-screenshots\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: \"${{ secrets.PERSONAL_ACCESS_TOKEN }}\"\n          fetch-depth: 0\n      - name: Pull latest changes\n        run: |\n          git pull origin master\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install -U mkdocs mkdocs-material\n      - name: Build docs\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          python -m mkdocs build\n      - name: Generate Sponsors 💖\n        uses: JamesIves/github-sponsors-readme-action@v1\n        with:\n          token: ${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_ORG }}\n          file: \"docs/README.md\"\n      - name: Push doc to Github Page\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          personal_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n          publish_branch: gh-pages\n          publish_dir: ./site\n          user_name: \"github-actions[bot]\"\n          user_email: \"github-actions[bot]@users.noreply.github.com\"\n", "state": "active", "repository": "commitizen-tools/commitizen"}
{"mined_at": "2024-07-15T13:07:47.275309", "created_at": "2023-07-05T18:35:28+02:00", "updated_at": "2023-07-05T18:35:28+02:00", "name": "Publish to Homebrew", "path": ".github/workflows/homebrewpublish.yml", "contents": "name: Publish to Homebrew\n\non:\n  workflow_run:\n    workflows: [\"Upload Python Package\"]\n    types:\n      - completed\n\njobs:\n  deploy:\n    runs-on: macos-latest\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install -U commitizen\n      - name: Set Project version env variable\n        run: |\n          echo \"project_version=$(cz version --project)\" >> $GITHUB_ENV\n      - name: Update Homebrew formula\n        uses: dawidd6/action-homebrew-bump-formula@v3\n        with:\n          token: ${{secrets.PERSONAL_ACCESS_TOKEN}}\n          formula: commitizen\n          tag: v${{ env.project_version }}\n          force: true\n", "state": "active", "repository": "commitizen-tools/commitizen"}
{"mined_at": "2024-07-15T13:07:48.306404", "created_at": "2023-07-05T18:35:28+02:00", "updated_at": "2023-07-05T18:35:28+02:00", "name": "Label issues", "path": ".github/workflows/label_issues.yml", "contents": "name: Label issues\n\non:\n  issues:\n    types:\n      - opened\n      - reopened\n\njobs:\n  label-issue:\n    permissions:\n      issues: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v7\n        with:\n          script: |\n            github.rest.issues.addLabels({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              labels: ['issue-status: needs-triage']\n            })\n", "state": "active", "repository": "commitizen-tools/commitizen"}
{"mined_at": "2024-07-15T13:07:49.390590", "created_at": "2023-07-05T18:35:28+02:00", "updated_at": "2023-07-05T18:35:28+02:00", "name": "Label Pull Request", "path": ".github/workflows/label_pr.yml", "contents": "name: \"Label Pull Request\"\non:\n- pull_request_target\n\njobs:\n  label-pr:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        sparse-checkout: |\n          .github/labeler.yml\n        sparse-checkout-cone-mode: false\n    - uses: actions/labeler@v5\n      with:\n        configuration-path: .github/labeler.yml\n", "state": "active", "repository": "commitizen-tools/commitizen"}
{"mined_at": "2024-07-15T13:07:50.437708", "created_at": "2019-12-20T05:19:07+01:00", "updated_at": "2022-06-13T15:50:42+02:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Python package\n\non: [workflow_dispatch, pull_request]\n\njobs:\n  python-check:\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        platform: [ubuntu-20.04, macos-latest, windows-latest]\n    runs-on: ${{ matrix.platform }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip poetry\n          poetry --version\n          poetry install\n      - name: Run tests and linters\n        run: |\n          git config --global user.email \"action@github.com\"\n          git config --global user.name \"GitHub Action\"\n          SKIP=no-commit-to-branch,commitizen-branch poetry run pre-commit run --all-files --hook-stage pre-push\n        shell: bash\n      - name: Upload coverage to Codecov\n        if: runner.os == 'Linux'\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n", "state": "active", "repository": "commitizen-tools/commitizen"}
{"mined_at": "2024-07-15T13:07:51.681232", "created_at": "2023-07-05T18:35:28+02:00", "updated_at": "2023-07-05T18:35:28+02:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "name: Upload Python Package\n\non:\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: \"${{ secrets.PERSONAL_ACCESS_TOKEN }}\"\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip poetry mkdocs mkdocs-material\n          poetry --version\n          poetry install\n      - name: Publish\n        env:\n          PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          ./scripts/publish\n", "state": "active", "repository": "commitizen-tools/commitizen"}
{"mined_at": "2024-07-15T13:07:52.728896", "created_at": "2021-12-20T01:01:42+01:00", "updated_at": "2021-12-20T01:01:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "commitizen-tools/commitizen"}
{"mined_at": "2024-07-15T13:07:54.670985", "created_at": "2024-03-16T15:01:00+01:00", "updated_at": "2024-03-16T15:01:00+01:00", "name": "Docs", "path": ".github/workflows/docs.yaml", "contents": "name: Docs\n\non:\n  workflow_dispatch:\n  push:\n    branches: [\"master\"]\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: \"3.11\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Setup Pages\n        uses: actions/configure-pages@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install hatch\n        run: pipx install hatch\n      - run: |\n          hatch run make docs\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: './docs/_build/html'\n\n  deploy:\n    needs: build\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "laughingman7743/pyathena"}
{"mined_at": "2024-07-15T13:07:55.716422", "created_at": "2021-11-23T15:33:04+01:00", "updated_at": "2021-11-23T15:33:04+01:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\n\non:\n  push:\n    tags:\n      - \"v*\"\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n\n    env:\n      PYTHON_VERSION: \"3.11\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install hatch\n        run: pipx install hatch\n\n      - name: Build\n        run: |\n          hatch build\n      - name: Publish release distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          files: dist/*\n          generate_release_notes: true\n", "state": "active", "repository": "laughingman7743/pyathena"}
{"mined_at": "2024-07-15T13:07:56.901957", "created_at": "2020-11-07T12:25:13+01:00", "updated_at": "2021-12-05T15:20:14+01:00", "name": "Test", "path": ".github/workflows/test.yaml", "contents": "name: Test\n\non:\n  push:\n  schedule:\n    - cron:  \"0 0 * * 0\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    env:\n      AWS_DEFAULT_REGION: us-west-2\n      AWS_ATHENA_S3_STAGING_DIR: s3://laughingman7743-pyathena/github/\n      AWS_ATHENA_WORKGROUP: pyathena\n      AWS_ATHENA_SPARK_WORKGROUP: pyathena-spark\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install hatch\n        run: pipx install hatch\n\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: arn:aws:iam::676287850544:role/github-actions-oidc-pyathena\n          role-session-name: PyAthenaTestSession\n          aws-region: ${{ env.AWS_DEFAULT_REGION }}\n\n      - name: Test\n        run: |\n          hatch -e test.py${{ matrix.python-version }} run test\n          hatch -e test.py${{ matrix.python-version }} run test-sqla\n", "state": "active", "repository": "laughingman7743/pyathena"}
{"mined_at": "2024-07-15T13:07:58.859269", "created_at": "2023-10-13T03:38:54+02:00", "updated_at": "2023-10-13T03:38:54+02:00", "name": "ClusterFuzzLite PR fuzzing", "path": ".github/workflows/fuzz_pr.yml", "contents": "name: ClusterFuzzLite PR fuzzing\non:\n  pull_request:\n    paths:\n      - plugin/PySrc/**\n      - test/PySrc/tests/*_fuzzer.py\npermissions: read-all\njobs:\n  PR:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: ${{ github.workflow }}-${{ matrix.sanitizer }}-${{ github.ref }}\n      cancel-in-progress: true\n    strategy:\n      fail-fast: false\n      matrix:\n        sanitizer:\n          - address\n        # Override this with the sanitizers you want.\n        # - undefined\n        # - memory\n    steps:\n      - name: Build Fuzzers (${{ matrix.sanitizer }})\n        id: build\n        uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1\n        with:\n          language: python\n          sanitizer: ${{ matrix.sanitizer }}\n          # Optional but recommended: used to only run fuzzers that are affected\n          # by the PR.\n          # See later section on \"Git repo for storage\".\n          # storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/OWNER/STORAGE-REPO-NAME.git\n          # storage-repo-branch: main   # Optional. Defaults to \"main\"\n          # storage-repo-branch-coverage: gh-pages  # Optional. Defaults to \"gh-pages\".\n      - name: Run Fuzzers (${{ matrix.sanitizer }})\n        id: run\n        uses: google/clusterfuzzlite/actions/run_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1\n        with:\n          fuzz-seconds: 600\n          mode: 'code-change'\n          sanitizer: ${{ matrix.sanitizer }}\n          output-sarif: true\n          # Optional but recommended: used to download the corpus produced by\n          # batch fuzzing.\n          # See later section on \"Git repo for storage\".\n          # storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/OWNER/STORAGE-REPO-NAME.git\n          # storage-repo-branch: main   # Optional. Defaults to \"main\"\n          # storage-repo-branch-coverage: gh-pages  # Optional. Defaults to \"gh-pages\".\n", "state": "active", "repository": "donkirkby/live-py-plugin"}
{"mined_at": "2024-07-15T13:07:59.869281", "created_at": "2022-01-14T04:49:16+01:00", "updated_at": "2022-01-14T05:11:26+01:00", "name": "html-build", "path": ".github/workflows/html-build.yml", "contents": "# This workflow will install node dependencies, build, and run tests\n\nname: html-build\n\non:\n  push:\n    paths:\n      - 'html/**'\n      - '.github/**'\n  pull_request:\n    paths:\n      - 'html/**'\n      - '.github/**'\n\npermissions:\n  contents: read\n\njobs:\n  html-build:\n    runs-on: ubuntu-latest\n    if: >\n      github.event_name != 'pull_request' ||\n      github.event.pull_request.head.repo.full_name !=\n      github.event.pull_request.base.repo.full_name\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0\n      - name: Set up Node\n        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1\n        with:\n          node-version: '16'\n      - name: Install Node dependencies\n        run: |\n          cd html\n          npm ci\n          cd ..\n      - name: Build Javascript\n        run: |\n          cd html\n          npm run build\n          cd ..\n      - name: Test JavaScript\n        run: |\n          cd html\n          npm test\n          cd ..\n", "state": "active", "repository": "donkirkby/live-py-plugin"}
{"mined_at": "2024-07-15T13:08:00.871704", "created_at": "2022-01-14T04:59:34+01:00", "updated_at": "2022-01-14T05:11:26+01:00", "name": "py-build", "path": ".github/workflows/py-build.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: py-build\n\non:\n  push:\n    paths:\n      - 'plugin/PySrc/**'\n      - 'test/PySrc/**'\n      - '**/*.py'\n      - '*.ini'\n      - '.github/**'\n  pull_request:\n    paths:\n      - 'plugin/PySrc/**'\n      - 'test/PySrc/**'\n      - '**/*.py'\n      - '*.ini'\n      - '.github/**'\n\npermissions:\n  contents: read\n\njobs:\n  py-build:\n\n    if: >\n      github.event_name != 'pull_request' ||\n      github.event.pull_request.head.repo.full_name !=\n      github.event.pull_request.base.repo.full_name\n    strategy:\n      fail-fast: true\n      matrix:\n        platform: [ubuntu-20.04, macos-latest, windows-latest]\n\n        # List at https://github.com/actions/python-versions/blob/main/versions-manifest.json\n        # Keep synchronized with setup.py and tox.ini\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    runs-on: ${{ matrix.platform }}\n    env:\n      PYTHON: ${{ matrix.python-version }}\n\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox coverage\n#      - name: Set up Emacs\n#        uses: purcell/setup-emacs@v3.0\n#        with:\n#          version: 24.4\n      - name: Test with tox and pytest\n        run: python -m tox -e py\n      - name: Test with tox and pytest, plus Pillow\n        run: python -m tox -e py-pil -- --cov-append\n      - name: Test with tox and pytest, plus matplotlib\n        run: python -m tox -e py-mpl -- --cov-append\n#      - name: Test with Emacs\n#        id: emacs-tests\n#        continue-on-error: true\n#        run: |\n#          emacs -Q --batch -L emacs-live-py-mode --eval '(setq byte-compile-error-on-warn t)' -f batch-byte-compile emacs-live-py-mode/*.el\n#          # Fake a tty with the script command.\n#          script -e -temacs-timing -c \"emacs -Q -nw -L emacs-live-py-mode -L plugin/PySrc -l live-py-mode.el -l live-py-test.el -f ert-run-tests-batch-and-exit\"\n#      - name: Display Emacs Test Results\n#        if: ${{ steps.emacs-tests.outcome == 'failure' }}\n#        run: |\n#          scriptreplay emacs-timing\n#          exit 1\n      - name: Upload coverage to Codecov\n        # v4 doesn't support tokenless upload, so wait to see if it gets added.\n        uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6\n        with:\n          env_vars: OS,PYTHON\n", "state": "active", "repository": "donkirkby/live-py-plugin"}
{"mined_at": "2024-07-15T13:08:01.852719", "created_at": "2023-10-04T05:15:56+02:00", "updated_at": "2023-10-04T05:15:56+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "donkirkby/live-py-plugin"}
{"mined_at": "2024-07-15T13:08:02.833232", "created_at": "2021-12-20T02:11:46+01:00", "updated_at": "2021-12-20T02:11:46+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "donkirkby/live-py-plugin"}
{"mined_at": "2024-07-15T13:08:04.993458", "created_at": "2020-01-11T23:14:46+01:00", "updated_at": "2023-10-24T17:28:52+02:00", "name": "Unit tests", "path": ".github/workflows/main.yml", "contents": "name: Unit tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  tests:\n    name: ${{ matrix.os }} / ${{ matrix.python-version }}\n    runs-on: ${{ matrix.image }}\n    strategy:\n      matrix:\n        os: [Ubuntu, macOS, Windows]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - os: Ubuntu\n            image: ubuntu-22.04\n          - os: Windows\n            image: windows-2022\n          - os: macOS\n            image: macos-12\n      fail-fast: false\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Get full Python version\n        id: full-python-version\n        run: echo version=$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\") >> $GITHUB_OUTPUT\n\n      - name: Bootstrap poetry\n        run: |\n          curl -sSL https://install.python-poetry.org | python - -y\n\n      - name: Update PATH\n        if: ${{ matrix.os != 'Windows' }}\n        run: echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n\n      - name: Update Path for Windows\n        if: ${{ matrix.os == 'Windows' }}\n        run: echo \"$APPDATA\\Python\\Scripts\" >> $GITHUB_PATH\n\n      - name: Enable long paths for git on Windows\n        if: ${{ matrix.os == 'Windows' }}\n        # Enable handling long path names (+260 char) on the Windows platform\n        # https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#maximum-path-length-limitation\n        run: git config --system core.longpaths true\n\n      - name: Configure poetry\n        run: poetry config virtualenvs.in-project true\n\n      - name: Set up cache\n        uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Ensure cache is healthy\n        if: steps.cache.outputs.cache-hit == 'true'\n        run: |\n          # `timeout` is not available on macOS, so we define a custom function.\n          [ \"$(command -v timeout)\" ] || function timeout() { perl -e 'alarm shift; exec @ARGV' \"$@\"; }\n\n          # Using `timeout` is a safeguard against the Poetry command hanging for some reason.\n          timeout 10s poetry run pip --version || rm -rf .venv\n\n      - name: Check lock file\n        run: poetry check --lock\n\n      - name: Install dependencies\n        run: poetry install\n\n      - name: Run tests\n        run: poetry run pytest -v\n", "state": "active", "repository": "niaorg/niapy"}
{"mined_at": "2024-07-15T13:08:06.117703", "created_at": "2020-07-19T11:24:40+02:00", "updated_at": "2020-07-19T11:24:40+02:00", "name": "Build and Publish NiaPy Conda Package", "path": ".github/workflows/publish_conda.yml", "contents": "name: Build and Publish NiaPy Conda Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: publish-to-conda\n      uses: fcakyon/conda-publish-action@v1.3\n      with:\n        subdir: 'conda'\n        anacondatoken: ${{ secrets.ANACONDA_TOKEN }}\n        platforms: 'win osx linux'", "state": "active", "repository": "niaorg/niapy"}
{"mined_at": "2024-07-15T13:08:07.235333", "created_at": "2020-07-19T11:24:40+02:00", "updated_at": "2020-07-19T11:24:40+02:00", "name": "Build and Publish NiaPy Pypi Package", "path": ".github/workflows/publish_pypi.yml", "contents": "name: Build and Publish NiaPy Pypi Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Install Poetry\n      run: |\n        curl -sSL https://install.python-poetry.org | python - -y\n\n    - name: Update PATH\n      run: echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n\n    - name: Build project for distribution\n      run: poetry build\n\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1", "state": "active", "repository": "niaorg/niapy"}
{"mined_at": "2024-07-15T13:08:10.419220", "created_at": "2020-11-18T00:49:59+01:00", "updated_at": "2021-03-18T12:07:11+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '34 5 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n        config-file: ./.github/codeql/codeql-config.yml\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "kalaspuff/tomodachi"}
{"mined_at": "2024-07-15T13:08:11.545077", "created_at": "2020-10-18T09:12:08+02:00", "updated_at": "2023-10-03T13:16:32+02:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Python package\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    env:\n      POETRY_VIRTUALENVS_CREATE: false\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    services:\n      rabbitmq:\n        image: rabbitmq\n        ports:\n          - 5672:5672\n      localstack_main:\n        image: localstack/localstack:2.2.0\n        env:\n          DEFAULT_REGION: eu-west-1\n          PERSISTENCE: 0\n        ports:\n          - 4566:4566\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n      - name: Set up Poetry cache for Python dependencies\n        uses: actions/cache@v4\n        if: startsWith(runner.os, 'Linux')\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: ${{ runner.os }}-poetry-\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org | POETRY_HOME=\"$HOME/.poetry\" python - --yes\n          echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n      - name: Install dependencies\n        run: |\n          poetry install --no-interaction -E uvloop -E protobuf -E aiodns -E opentelemetry -E opentelemetry-exporter-prometheus\n          poetry show --tree\n      - name: Test poetry build step\n        run: poetry build\n      - name: Run unit tests\n        env:\n          TOMODACHI_TEST_AWS_REGION: eu-west-1\n          TOMODACHI_TEST_AWS_ACCESS_KEY_ID: 000000000000\n          TOMODACHI_TEST_AWS_ACCESS_SECRET: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n          TOMODACHI_TEST_SQS_QUEUE_PREFIX: pytest-\n          TOMODACHI_TEST_SNS_TOPIC_PREFIX: pytest-\n          TOMODACHI_TEST_AWS_SNS_ENDPOINT_URL: http://localhost:4566\n          TOMODACHI_TEST_AWS_SQS_ENDPOINT_URL: http://localhost:4566\n          TOMODACHI_TEST_SERVICE_UUID: 5ecd36d4-99a7-46bb-b620-06bb0575edbd\n          TOMODACHI_TEST_SNS_KMS_MASTER_KEY_ID: arn:aws:kms:eu-west-1:000000000000:key/2af37855-cd62-4e38-bca5-7b907d948131\n          TOMODACHI_TEST_SQS_KMS_MASTER_KEY_ID: arn:aws:kms:eu-west-1:000000000000:key/63710c9b-75e6-4398-94c7-f67cf3f53802\n          TOMODACHI_TEST_RABBITMQ_ENABLED: true\n        run: pytest --cov=./ -n auto tests -v\n      - name: Lint with flake8\n        run: flake8\n      - name: Run dummy service\n        run: tomodachi run tests/run_example_service.py\n      - name: Run dummy service (with uvloop)\n        run: tomodachi run --loop uvloop tests/run_example_service.py\n      - name: Run dummy service (with opentelemetry instrumentation)\n        run: opentelemetry-instrument --traces_exporter console --metrics_exporter console --logs_exporter console tomodachi run --loop uvloop tests/run_example_service.py\n      - name: Output version\n        run: tomodachi -v\n      - name: tomodachi --dependency-versions\n        run: tomodachi --dependency-versions\n      - name: Type check with mypy\n        run: mypy\n      - name: Codecov\n        run: codecov --token=${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "kalaspuff/tomodachi"}
{"mined_at": "2024-07-15T13:08:13.689784", "created_at": "2024-05-21T11:46:57+02:00", "updated_at": "2024-05-21T11:46:57+02:00", "name": ".github/workflows/_proxy-file-for-dependabot-tests.yml", "path": ".github/workflows/_proxy-file-for-dependabot-tests.yml", "contents": "# This file is just a parsable YAML that collects all the actions used by\n# conda_smithy/templates/github-actions.yml.tmpl. It's here so dependabot\n# can pick it up and then we can test whether the actions are up-to-date in\n# the template.\non:\n  workflow_dispatch:\n\njobs:\n  inventory:\n    runs-on: ubuntu-latest\n    if: false\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n      - uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n", "state": "active", "repository": "conda-forge/conda-smithy"}
{"mined_at": "2024-07-15T13:08:14.822521", "created_at": "2020-11-02T14:03:50+01:00", "updated_at": "2023-01-17T18:38:06+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request: null\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\ndefaults:\n  run:\n    shell: bash -el {0}\n\njobs:\n  tests:\n    name: tests\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Conda env\n        uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822\n        with:\n          environment-file: environment.yml\n          cache-environment: true\n          create-args: >-\n            python=3.8\n            coverage\n            coveralls\n\n      - name: install conda-smithy\n        run: |\n          python -m pip install -v --no-build-isolation -e .\n          git config --global user.email \"smithy@smithy.smithy\"\n          git config --global user.name \"smithy\"\n\n      - name: test versions\n        run: |\n          pip uninstall conda-smithy --yes\n          [[ $(python setup.py --version) != \"0.0.0\" ]] || exit 1\n\n          rm -rf dist/*\n          python -m build --sdist\n          pip install --no-build-isolation dist/*.tar.gz\n          pushd ..\n          python -c \"import conda_smithy; assert conda_smithy.__version__ != '0.0.0'\"\n          popd\n          pip uninstall conda-smithy --yes\n\n          rm -rf dist/*\n          python -m build --sdist . --outdir dist\n          pip install --no-build-isolation dist/*.tar.gz\n          pushd ..\n          python -c \"import conda_smithy; assert conda_smithy.__version__ != '0.0.0'\"\n          popd\n          pip uninstall conda-smithy --yes\n\n          python -m pip install -v --no-build-isolation -e .\n\n      - name: run tests\n        run: |\n          pytest tests --cov conda_smithy --cov-report lcov --cov-report term-missing\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: coveralls\n        uses: coverallsapp/github-action@master\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          path-to-lcov: ./coverage.lcov\n", "state": "active", "repository": "conda-forge/conda-smithy"}
{"mined_at": "2024-07-15T13:08:16.971251", "created_at": "2022-01-20T18:43:58+01:00", "updated_at": "2022-01-20T19:14:21+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "on:\n  pull_request:\n    branches:\n      - main\nname: docs\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.9\"\n    - name: Install nox\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install nox\n    - name: Run docs\n      run: |\n        nox -s docs\n  docfx:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install nox\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install nox\n    - name: Run docfx\n      run: |\n        nox -s docfx\n", "state": "active", "repository": "googleapis/python-pubsub"}
{"mined_at": "2024-07-15T13:08:18.099065", "created_at": "2022-01-20T18:43:58+01:00", "updated_at": "2022-01-20T19:14:21+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "on:\n  pull_request:\n    branches:\n      - main\nname: lint\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.8\"\n    - name: Install nox\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install nox\n    - name: Run lint\n      run: |\n        nox -s lint\n    - name: Run lint_setup_py\n      run: |\n        nox -s lint_setup_py\n", "state": "active", "repository": "googleapis/python-pubsub"}
{"mined_at": "2024-07-15T13:08:19.229954", "created_at": "2022-01-20T18:43:58+01:00", "updated_at": "2022-01-20T19:14:21+01:00", "name": "unittest", "path": ".github/workflows/unittest.yml", "contents": "on:\n  pull_request:\n    branches:\n      - main\nname: unittest\njobs:\n  unit:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install nox\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install nox\n    - name: Run unit tests\n      env:\n        COVERAGE_FILE: .coverage-${{ matrix.python }}\n      run: |\n        nox -s unit-${{ matrix.python }}\n    - name: Upload coverage results\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage-artifact-${{ matrix.python }}\n        path: .coverage-${{ matrix.python }}\n\n  cover:\n    runs-on: ubuntu-latest\n    needs:\n        - unit\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.8\"\n    - name: Install coverage\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install coverage\n    - name: Download coverage results\n      uses: actions/download-artifact@v4\n      with:\n        path: .coverage-results/\n    - name: Report coverage results\n      run: |\n        find .coverage-results -type f -name '*.zip' -exec unzip {} \\;\n        coverage combine .coverage-results/**/.coverage*\n        coverage report --show-missing --fail-under=100\n", "state": "active", "repository": "googleapis/python-pubsub"}
{"mined_at": "2024-07-15T13:08:20.331829", "created_at": "2023-08-09T23:46:53+02:00", "updated_at": "2023-08-09T23:46:53+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googleapis/python-pubsub"}
{"mined_at": "2024-07-15T13:08:22.322531", "created_at": "2020-12-30T21:51:31+01:00", "updated_at": "2020-12-30T21:51:31+01:00", "name": "Validate with hassfest", "path": ".github/workflows/hassfest.yaml", "contents": "name: Validate with hassfest\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  validate:\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: \"actions/checkout@v2\"\n      - uses: home-assistant/actions/hassfest@master\n", "state": "active", "repository": "mampfes/hacs_waste_collection_schedule"}
{"mined_at": "2024-07-15T13:08:24.433438", "created_at": "2021-08-02T18:41:42+02:00", "updated_at": "2021-08-02T18:41:42+02:00", "name": "Auto Merge Approved Dependabot", "path": ".github/workflows/auto-merge-approved-dependabot.yml", "contents": "name: Auto Merge Approved Dependabot\n\non: workflow_dispatch\n\njobs:\n  Run:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.7\n    - name: Run helper function\n      run: unset GITHUB_TOKEN &&\n           echo ${{secrets.PERSONAL_DEPENDABOT_GITHUB_TOKEN}} | gh auth login --with-token && \n           python .github/helpers/auto-merge-approved-dependabot.py\n      env:\n        GITHUB_TOKEN: ${{secrets.PERSONAL_DEPENDABOT_GITHUB_TOKEN}}\n", "state": "active", "repository": "uclapi/uclapi"}
{"mined_at": "2024-07-15T13:08:25.522051", "created_at": "2021-08-31T11:18:51+02:00", "updated_at": "2021-09-01T17:20:47+02:00", "name": "Integration testing and deployment", "path": ".github/workflows/workflow.yml", "contents": "name: Integration testing and deployment\n\non:\n  push:\n    branches:\n    - master\n  pull_request:\n    branches:\n    - master\n\nenv:\n  REGISTRY: \"236848092535.dkr.ecr.eu-west-2.amazonaws.com\"\n\njobs:\n  build:\n    name: Build frontend\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Setup NodeJS\n        uses: actions/setup-node@v2\n        with:\n          node-version: '18'\n\n      - name: Install pnpm\n        uses: pnpm/action-setup@v2\n        id: pnpm-install\n        with:\n          version: 7\n          run_install: false\n\n      - name: Get pnpm store directory\n        id: pnpm-cache\n        shell: bash\n        run: |\n          echo \"STORE_PATH=$(pnpm store path)\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache@v3\n        name: Setup pnpm cache\n        with:\n          path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}\n          key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pnpm-store-\n\n      - name: Install frontend dependencies\n        run: |\n          cd ./uclapi-frontend && pnpm install --frozen-lockfile\n\n      - name: Get version\n        id: version\n        uses: juliangruber/read-file-action@v1\n        with:\n          path: ./version\n\n      - name: Update version numbers\n        env:\n          UCLAPI_VERSION: \"${{ steps.version.outputs.content }}-${{ github.sha }}\"\n        run: |\n          sudo apt-get install jq -y\n          jq \".version=\\\"$UCLAPI_VERSION\\\"\" ./uclapi-frontend/package.json > /tmp/package.json\n          jq \".info.version=\\\"$UCLAPI_VERSION\\\"\" ./uclapi.openapi.json > /tmp/uclapi.openapi.json\n          mv /tmp/package.json ./uclapi-frontend/package.json\n          mv /tmp/uclapi.openapi.json ./uclapi.openapi.json\n\n      - name: Build frontend\n        env:\n          SENTRY_DSN_REACT: ${{ secrets.SENTRY_DSN_REACT }}\n          SENTRY_DSN_ENV: staging\n        run: |\n          cd ./uclapi-frontend && pnpm build\n\n  test-backend:\n    name: Run backend tests\n    runs-on: ubuntu-20.04\n    env:\n      DB_UCLAPI_HOST: localhost\n      DB_UCLAPI_PASSWORD: supersecure\n      DB_UCLAPI_USERNAME: uclapi\n      FORBIDDEN_CALLBACK_URLS: uclapi.com;staging.ninja\n      REDIS_UCLAPI_HOST: localhost\n      UCLAPI_PRODUCTION: False\n      UCLAPI_RUNNING_ON_AWS_ELB: False\n      WHITELISTED_CALLBACK_URLS: https://live-roombookings.uclapi.com/webhook/;https://hackathon.uclapi.com/callback\n      UCLAPI_DOMAIN: uclapi.com\n      AZURE_AD_ROOT: https://login.microsoftonline.com/directory_tenant_id\n      AZURE_AD_CLIENT_ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\n      AZURE_AD_CLIENT_SECRET: aaa\n      AZURE_GRAPH_ROOT: https://graph.microsoft.com/v1.0/\n    services:\n      Redis:\n        image: redis\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 6379:6379\n      Postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: uclapi\n          POSTGRES_PASSWORD: supersecure\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8.10'\n\n      - name: Cache Python\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install Oracle Instant Client\n        run: ./.github/workflows/scripts/setup-oracle.sh\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip && \\\n          cd ./backend/uclapi && \\\n          pip install codecov && \\\n          pip install -r requirements.txt\n\n      - name: Run migrations\n        run: |\n          cp ./backend/uclapi/webpack-stats.sample.json ./backend/uclapi/static/webpack-stats.json && \\\n          cd ./backend/uclapi && \\\n          python ./manage.py migrate --settings=uclapi.settings_mocked\n\n      - name: Run tests\n        run: |\n          cd ./backend/uclapi && \\\n          coverage run --source='.' --omit='*migrations*' manage.py test --settings=uclapi.settings_mocked\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1.5.2\n        with:\n          fail_ci_if_error: true\n\n  test-frontend:\n    name: Run frontend tests\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Setup NodeJS\n        uses: actions/setup-node@v2\n        with:\n          node-version: '18'\n\n      - name: Install pnpm\n        uses: pnpm/action-setup@v2\n        id: pnpm-install\n        with:\n          version: 7\n          run_install: false\n\n      - name: Get pnpm store directory\n        id: pnpm-cache\n        shell: bash\n        run: |\n          echo \"STORE_PATH=$(pnpm store path)\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache@v3\n        name: Setup pnpm cache\n        with:\n          path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}\n          key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pnpm-store-\n\n      - name: Install frontend dependencies\n        run: |\n          cd ./uclapi-frontend/ && pnpm install --frozen-lockfile\n\n      - name: Run frontend tests\n        run: |\n          cd ./uclapi-frontend && pnpm test\n\n      # TODO: add coverage to frontend\n      # - name: Upload coverage to Codecov\n      #   uses: codecov/codecov-action@v1.5.2\n      #   with:\n      #     fail_ci_if_error: true\n\n  build-containers:\n    name: Build containers\n    needs:\n      - test-backend\n      - test-frontend\n    runs-on: ubuntu-20.04\n    environment: Staging\n    if: github.ref == 'refs/heads/master'\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: eu-west-2\n\n      - name: Login to Amazon ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@v1\n\n      - name: Get version\n        id: version\n        uses: juliangruber/read-file-action@v1\n        with:\n          path: ./version\n\n      - name: Extract non-public secrets\n        env:\n          FILES: ${{ secrets.FILES }}\n          UCLAPI_VERSION: \"${{ steps.version.outputs.content }}-${{ github.sha }}\"\n        run: |\n          cd ./docker/deployment && \\\n          mkdir -p non-public/staging && \\\n          cd non-public/staging && \\\n          echo \"$FILES\" | base64 --decode > compressed.zip && \\\n          unzip -qq compressed.zip && \\\n          rm compressed.zip && \\\n          echo \"UCLAPI_VERSION=$UCLAPI_VERSION\" >> uclapi/uclapi.env && \\\n          echo \"UCLAPI_VERSION=$UCLAPI_VERSION\" >> uclapi/uclapi-web.env\n\n      - name: Build containers\n        env:\n          CRON_CPU_COUNT: 1\n          CRON_MEMORY_KB: 2048000\n          ENVIRONMENT: staging\n          UCLAPI_VERSION: \"${{ steps.version.outputs.content }}-${{ github.sha }}\"\n        run: |\n          cd docker/deployment && \\\n          sed -i \"s/:version/:${{ steps.version.outputs.content }}-${GITHUB_SHA}/g\" docker-compose-staging.yml && \\\n          docker compose -f docker-compose-staging.yml build\n\n      - name: Push containers\n        env:\n          CRON_CPU_COUNT: 1\n          CRON_MEMORY_KB: 2048000\n        run: |\n          cd docker/deployment && \\\n          docker compose -f docker-compose-staging.yml push\n\n      - name: Create artifact\n        run: echo ${{ steps.version.outputs.content }}-${GITHUB_SHA} > container-id.txt\n\n      - name: Upload container id\n        uses: actions/upload-artifact@v2\n        with:\n          name: container-id.txt\n          path: container-id.txt\n\n  deploy:\n    name: Deploy\n    needs:\n      - build-containers\n    runs-on: ubuntu-20.04\n    environment: Staging\n    if: github.ref == 'refs/heads/master'\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Get version\n        id: version\n        uses: juliangruber/read-file-action@v1\n        with:\n          path: ./version\n\n      - name: Extract non-public secrets\n        env:\n          FILES: ${{ secrets.FILES }}\n        run: |\n          echo \"$FILES\" | base64 --decode > compressed.zip && \\\n          unzip -qq compressed.zip && \\\n          rm compressed.zip\n\n      - name: Copy docker compose configuration\n        uses: appleboy/scp-action@v0.1.4\n        with:\n          host: ${{ secrets.SSH_HOST }}\n          username: ${{ secrets.SSH_USERNAME }}\n          key_path: key.pem\n          source: \"docker/deployment/docker-compose.yml,docker/deployment/docker-compose-staging.yml\"\n          target: \"~\"\n          strip_components: 2\n\n      - name: Docker compose up\n        uses: appleboy/ssh-action@v0.1.10\n        env:\n          ENVIRONMENT: staging\n          VERSION: ${{ steps.version.outputs.content }}\n          SHA: ${{ github.sha }}\n          CRON_CPU_COUNT: 1\n          CRON_MEMORY_KB: 2048000\n        with:\n          host: ${{ secrets.SSH_HOST }}\n          username: ${{ secrets.SSH_USERNAME }}\n          key_path: key.pem\n          envs: ENVIRONMENT,REGISTRY,VERSION,SHA,CRON_CPU_COUNT,CRON_MEMORY_KB\n          script_stop: true\n          script: |\n            aws ecr get-login-password --region eu-west-2 | docker login --username AWS --password-stdin $REGISTRY\n            if ((`df -h /dev/root | awk '(NR > 1) {print substr($5, 1, length($5)-1)}'` < 5)); then docker system prune -f; fi\n            export CRON_CPU_COUNT=$CRON_CPU_COUNT\n            export CRON_MEMORY_KB=$CRON_MEMORY_KB\n            envsubst < docker-compose-staging.yml > docker-compose-tmp.yml\n            sed -i \"s/:version/:$VERSION/g\" docker-compose-tmp.yml\n            cat docker-compose-tmp.yml | yq e '(.services[] | select(.depends_on | tag == \"!!map\")).depends_on |= (. | keys)' - > docker-compose-tmp-2.yml\n            sed -i -E \"s/cpus: ([0-9\\\\.]+)/cpus: '\\\\1'/\" docker-compose-tmp-2.yml\n            rm docker-compose-tmp.yml docker-compose-staging.yml\n            mv -f docker-compose-tmp-2.yml docker-compose.yml\n            docker stack deploy -c docker-compose.yml --with-registry-auth uclapi\n\n      - name: Create Sentry release\n        uses: getsentry/action-release@v1.1.6\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n          SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}\n        with:\n          environment: staging\n          version: \"${{ steps.version.outputs.content }}-${{ github.sha }}\"\n\n  # smoke-test:\n  #   name: Smoke test\n  #   runs-on: ubuntu-latest\n  #   needs: deploy\n  #   if: github.ref == 'refs/heads/master'\n  #   steps:\n  #     - name: Check staging is up\n  #       run: |\n  #         curl -I https://staging.ninja\n\n\n", "state": "active", "repository": "uclapi/uclapi"}
{"mined_at": "2024-07-15T13:08:26.556573", "created_at": "2021-09-11T15:47:07+02:00", "updated_at": "2021-09-11T15:47:07+02:00", "name": "Deploy to Production", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy to Production\n\non:\n  release:\n    types: [published]\n\nenv:\n  REGISTRY: \"236848092535.dkr.ecr.eu-west-2.amazonaws.com\"\n\njobs:\n  build:\n    name: Build frontend\n    runs-on: ubuntu-20.04\n    environment: Production\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Setup NodeJS\n        uses: actions/setup-node@v2\n        with:\n          node-version: '18'\n\n      - name: Install pnpm\n        uses: pnpm/action-setup@v2\n        id: pnpm-install\n        with:\n          version: 7\n          run_install: false\n\n      - name: Get pnpm store directory\n        id: pnpm-cache\n        shell: bash\n        run: |\n          echo \"STORE_PATH=$(pnpm store path)\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache@v3\n        name: Setup pnpm cache\n        with:\n          path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}\n          key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pnpm-store-\n\n      - name: Install frontend dependencies\n        run: |\n          cd ./uclapi-frontend && pnpm install --frozen-lockfile\n\n      - name: Build frontend\n        env:\n          AWS_S3_BUCKET_NAME: uclapi-static\n          AWS_S3_BUCKET_PATH: static/\n          AWS_S3_STATICS: True\n          SENTRY_DSN_REACT: ${{ secrets.SENTRY_DSN_REACT }}\n          SENTRY_DSN_ENV: production\n        run: |\n          cd ./uclapi-frontend && pnpm build\n\n  test-backend:\n    name: Run backend tests\n    runs-on: ubuntu-20.04\n    env:\n      DB_UCLAPI_HOST: localhost\n      DB_UCLAPI_PASSWORD: supersecure\n      DB_UCLAPI_USERNAME: uclapi\n      FORBIDDEN_CALLBACK_URLS: uclapi.com;staging.ninja\n      REDIS_UCLAPI_HOST: localhost\n      UCLAPI_PRODUCTION: False\n      UCLAPI_RUNNING_ON_AWS_ELB: False\n      WHITELISTED_CALLBACK_URLS: https://live-roombookings.uclapi.com/webhook/;https://hackathon.uclapi.com/callback\n      UCLAPI_DOMAIN: uclapi.com\n      AZURE_AD_ROOT: https://login.microsoftonline.com/directory_tenant_id\n      AZURE_AD_CLIENT_ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\n      AZURE_AD_CLIENT_SECRET: aaa\n      AZURE_GRAPH_ROOT: https://graph.microsoft.com/v1.0/\n    services:\n      Redis:\n        image: redis\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 6379:6379\n      Postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: uclapi\n          POSTGRES_PASSWORD: supersecure\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8.10'\n\n      - name: Install Oracle Instant Client\n        run: ./.github/workflows/scripts/setup-oracle.sh\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip && \\\n          cd ./backend/uclapi && \\\n          pip install codecov && \\\n          pip install -r requirements.txt\n\n      - name: Run migrations\n        run: |\n          cp ./backend/uclapi/webpack-stats.sample.json ./backend/uclapi/static/webpack-stats.json && \\\n          cd ./backend/uclapi && \\\n          python ./manage.py migrate --settings=uclapi.settings_mocked\n\n      - name: Run tests\n        run: |\n          cd ./backend/uclapi && \\\n          coverage run --source='.' --omit='*migrations*' manage.py test --settings=uclapi.settings_mocked\n\n  test-frontend:\n    name: Run frontend tests\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Setup NodeJS\n        uses: actions/setup-node@v2\n        with:\n          node-version: '18'\n\n      - name: Install pnpm\n        uses: pnpm/action-setup@v2\n        id: pnpm-install\n        with:\n          version: 7\n          run_install: false\n\n      - name: Get pnpm store directory\n        id: pnpm-cache\n        shell: bash\n        run: |\n          echo \"STORE_PATH=$(pnpm store path)\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache@v3\n        name: Setup pnpm cache\n        with:\n          path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}\n          key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pnpm-store-\n\n      - name: Install frontend dependencies\n        run: |\n          cd ./uclapi-frontend/ && pnpm install --frozen-lockfile\n\n      - name: Run frontend tests\n        run: |\n          cd ./uclapi-frontend && pnpm test\n\n  collect-statics:\n    name: Collect statics\n    needs:\n      - build\n      - test-backend\n      - test-frontend\n    runs-on: ubuntu-20.04\n    environment: Production\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8.10'\n\n      - name: Cache Python\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip && \\\n          cd ./backend/uclapi && \\\n          pip install -r requirements.txt\n\n      - name: Collect statics to S3\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_S3_BUCKET_NAME: uclapi-static\n          AWS_S3_BUCKET_PATH: static/\n          AWS_S3_REGION: eu-west-2\n          AWS_S3_STATICS_CREDENTIALS_ENABLED: True\n          AWS_S3_STATICS: True\n          UCLAPI_PRODUCTION: True\n          UCLAPI_RUNNING_ON_AWS_ELB: False\n        run: |\n          cd ./backend/uclapi && \\\n          ./manage.py collectstatic --noinput\n\n  build-containers:\n    name: Build containers\n    needs:\n      - test-backend\n      - test-frontend\n    runs-on: ubuntu-20.04\n    environment: Production\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: eu-west-2\n\n      - name: Login to Amazon ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@v1\n\n      - name: Get version\n        id: version\n        uses: juliangruber/read-file-action@v1\n        with:\n          path: ./version\n\n      - name: Extract non-public secrets\n        env:\n          FILES: ${{ secrets.FILES }}\n          UCLAPI_VERSION: \"${{ steps.version.outputs.content }}\"\n        run: |\n          cd ./docker/deployment && \\\n          mkdir -p non-public/production && \\\n          cd non-public/production && \\\n          echo \"$FILES\" | base64 --decode > compressed.zip && \\\n          unzip -qq compressed.zip && \\\n          rm compressed.zip && \\\n          echo \"UCLAPI_VERSION=$UCLAPI_VERSION\" >> uclapi/uclapi.env\n          echo \"UCLAPI_VERSION=$UCLAPI_VERSION\" >> uclapi/uclapi-web.env\n\n      - name: Build containers\n        env:\n          CRON_CPU_COUNT: 1\n          CRON_MEMORY_KB: 2048000\n          ENVIRONMENT: production\n          UCLAPI_VERSION: \"${{ steps.version.outputs.content }}\"\n        run: |\n          cd docker/deployment && \\\n          sed -i \"s/:version/:${{ steps.version.outputs.content }}/g\" docker-compose-production.yml && \\\n          docker compose -f docker-compose-production.yml build\n\n      - name: Push containers\n        env:\n          CRON_CPU_COUNT: 1\n          CRON_MEMORY_KB: 2048000\n        run: |\n          cd docker/deployment && \\\n          docker compose -f docker-compose-production.yml push\n\n      - name: Create artifact\n        run: echo ${{ steps.version.outputs.content }} > container-id.txt\n\n      - name: Upload container id\n        uses: actions/upload-artifact@v2\n        with:\n          name: container-id.txt\n          path: container-id.txt\n\n  deploy:\n    name: Deploy\n    needs:\n      - collect-statics\n      - build-containers\n    runs-on: ubuntu-20.04\n    environment: Production\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Get version\n        id: version\n        uses: juliangruber/read-file-action@v1\n        with:\n          path: ./version\n\n      - name: Extract non-public secrets\n        env:\n          FILES: ${{ secrets.FILES }}\n        run: |\n          echo \"$FILES\" | base64 --decode > compressed.zip && \\\n          unzip -qq compressed.zip && \\\n          rm compressed.zip\n\n      - name: Copy docker compose configuration\n        uses: appleboy/scp-action@v0.1.4\n        with:\n          host: ${{ secrets.SSH_HOST }}\n          username: ${{ secrets.SSH_USERNAME }}\n          key_path: key.pem\n          source: \"docker/deployment/docker-compose.yml,docker/deployment/docker-compose-production.yml\"\n          target: \"~\"\n          strip_components: 2\n\n      - name: Docker compose up\n        uses: appleboy/ssh-action@v0.1.10\n        env:\n          ENVIRONMENT: production\n          VERSION: ${{ steps.version.outputs.content }}\n          CRON_CPU_COUNT: 1\n          CRON_MEMORY_KB: 2048000\n        with:\n          host: ${{ secrets.SSH_HOST }}\n          username: ${{ secrets.SSH_USERNAME }}\n          key_path: key.pem\n          envs: ENVIRONMENT,REGISTRY,VERSION,CRON_CPU_COUNT,CRON_MEMORY_KB\n          script_stop: true\n          script: |\n            aws ecr get-login-password --region eu-west-2 | docker login --username AWS --password-stdin $REGISTRY\n            if ((`df -h /dev/root | awk '(NR > 1) {print substr($5, 1, length($5)-1)}'` < 5)); then docker system prune -f; fi\n            export CRON_CPU_COUNT=$CRON_CPU_COUNT\n            export CRON_MEMORY_KB=$CRON_MEMORY_KB\n            envsubst < docker-compose-production.yml > docker-compose-tmp.yml\n            sed -i \"s/:version/:$VERSION/g\" docker-compose-tmp.yml\n            cat docker-compose-tmp.yml | yq e '(.services[] | select(.depends_on | tag == \"!!map\")).depends_on |= (. | keys)' - > docker-compose-tmp-2.yml\n            sed -i -E \"s/cpus: ([0-9\\\\.]+)/cpus: '\\\\1'/\" docker-compose-tmp-2.yml\n            rm docker-compose-tmp.yml docker-compose-production.yml\n            mv -f docker-compose-tmp-2.yml docker-compose.yml\n            docker stack deploy -c docker-compose.yml --with-registry-auth uclapi\n\n      - name: Create Sentry release\n        uses: getsentry/action-release@v1.1.6\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n          SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}\n        with:\n          environment: production\n          version: \"${{ steps.version.outputs.content }}\"\n\n      - name: Repository Dispatch (JS SDK)\n        uses: peter-evans/repository-dispatch@v2\n        with:\n          token: ${{ secrets.JS_SDK_REPO_DEPLOY_PRIVATE_KEY }}\n          event-type: new-release\n          repository: uclapi/uclapi-js-sdk\n          client-payload: '{\"version\": \"${{ steps.version.outputs.content }}\", \"sha\": \"${{ github.sha }}\"}'\n", "state": "active", "repository": "uclapi/uclapi"}
{"mined_at": "2024-07-15T13:08:27.596166", "created_at": "2021-09-11T16:27:29+02:00", "updated_at": "2021-09-11T16:27:29+02:00", "name": "Create Version", "path": ".github/workflows/create-version.yml", "contents": "name: Create Version\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version number'\n        required: true\n        default: '1.0.0'\n\njobs:\n  version:\n    name: Update version number\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Update version numbers\n        env:\n          UCLAPI_VERSION: \"${{ github.event.inputs.version }}\"\n        run: |\n          sudo apt-get install jq -y\n          echo -n $UCLAPI_VERSION > version\n          jq \".version=\\\"$UCLAPI_VERSION\\\"\" ./uclapi-frontend/package.json > /tmp/package.json\n          jq \".info.version=\\\"$UCLAPI_VERSION\\\"\" ./uclapi.openapi.json > /tmp/uclapi.openapi.json\n          mv /tmp/package.json ./uclapi-frontend/package.json\n          mv /tmp/uclapi.openapi.json ./uclapi.openapi.json\n\n      - name: Create commits\n        env:\n          UCLAPI_VERSION: \"${{ github.event.inputs.version }}\"\n        run: |\n          git config user.name 'Github Actions'\n          git config user.email 'actions@github.com'\n          git add -A\n          git commit -m \"version: $UCLAPI_VERSION\"\n          git tag -a \"$UCLAPI_VERSION\" -m \"$UCLAPI_VERSION\"\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          title: \"Release v${{ github.event.inputs.version }}\"\n          delete-branch: true\n          branch: \"releases/${{ github.event.inputs.version }}\"\n", "state": "active", "repository": "uclapi/uclapi"}
{"mined_at": "2024-07-15T13:08:28.851424", "created_at": "2021-09-20T11:27:35+02:00", "updated_at": "2021-09-20T11:27:35+02:00", "name": "Combine PRs", "path": ".github/workflows/combine-pr.yml", "contents": "# Source: https://github.com/hrvey/combine-prs-workflow\n\nname: 'Combine PRs'\n\n# Controls when the action will run - in this case triggered manually\non:\n  workflow_dispatch:\n    inputs:\n      branchPrefix:\n        description: 'Branch prefix to find combinable PRs based on'\n        required: true\n        default: 'dependabot'\n      mustBeGreen:\n        description: 'Only combine PRs that are green (status is success)'\n        required: true\n        default: true\n      combineBranchName:\n        description: 'Name of the branch to combine PRs into'\n        required: true\n        default: 'dependabot/combine-prs'\n      ignoreLabel:\n        description: 'Exclude PRs with this label'\n        required: true\n        default: 'nocombine'\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"combine-prs\"\n  combine-prs:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - uses: actions/github-script@v3\n        id: fetch-branch-names\n        name: Fetch branch names\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const pulls = await github.paginate('GET /repos/:owner/:repo/pulls', {\n              owner: context.repo.owner,\n              repo: context.repo.repo\n            });\n            branches = [];\n            prs = [];\n            base_branch = null;\n            for (const pull of pulls) {\n              const branch = pull['head']['ref'];\n              console.log('Pull for branch: ' + branch);\n              if (branch.startsWith('${{ github.event.inputs.branchPrefix }}')) {\n                console.log('Branch matched: ' + branch);\n                statusOK = true;\n                if(${{ github.event.inputs.mustBeGreen }}) {\n                  console.log('Checking green status: ' + branch);\n                  const statuses = await github.paginate('GET /repos/{owner}/{repo}/commits/{ref}/status', {\n                    owner: context.repo.owner,\n                    repo: context.repo.repo,\n                    ref: branch\n                  });\n                  if(statuses.length > 0) {\n                    const latest_status = statuses[0]['state'];\n                    console.log('Validating status: ' + latest_status);\n                    if(latest_status != 'success') {\n                      console.log('Discarding ' + branch + ' with status ' + latest_status);\n                      statusOK = false;\n                    }\n                  }\n                }\n                console.log('Checking labels: ' + branch);\n                const labels = pull['labels'];\n                for(const label of labels) {\n                  const labelName = label['name'];\n                  console.log('Checking label: ' + labelName);\n                  if(labelName == '${{ github.event.inputs.ignoreLabel }}') {\n                    console.log('Discarding ' + branch + ' with label ' + labelName);\n                    statusOK = false;\n                  }\n                }\n                if (statusOK) {\n                  console.log('Adding branch to array: ' + branch);\n                  branches.push(branch);\n                  prs.push('#' + pull['number'] + ' ' + pull['title']);\n                  base_branch = pull['base']['ref'];\n                }\n              }\n            }\n            if (branches.length == 0) {\n              core.setFailed('No PRs/branches matched criteria');\n              return;\n            }\n            core.setOutput('base-branch', base_branch);\n            core.setOutput('prs-string', prs.join('\\n'));\n            \n            combined = branches.join(' ')\n            console.log('Combined: ' + combined);\n            return combined\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2.3.3\n        with:\n          fetch-depth: 0\n      # Creates a branch with other PR branches merged together\n      - name: Created combined branch\n        env:\n          BASE_BRANCH: ${{ steps.fetch-branch-names.outputs.base-branch }}\n          BRANCHES_TO_COMBINE: ${{ steps.fetch-branch-names.outputs.result }}\n          COMBINE_BRANCH_NAME: ${{ github.event.inputs.combineBranchName }}\n        run: |\n          echo \"$BRANCHES_TO_COMBINE\"\n          sourcebranches=\"${BRANCHES_TO_COMBINE%\\\"}\"\n          sourcebranches=\"${sourcebranches#\\\"}\"\n          \n          basebranch=\"${BASE_BRANCH%\\\"}\"\n          basebranch=\"${basebranch#\\\"}\"\n          \n          git config pull.rebase false\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          \n          git branch $COMBINE_BRANCH_NAME $basebranch\n          git checkout $COMBINE_BRANCH_NAME\n          git pull origin $sourcebranches --no-edit\n          git push origin $COMBINE_BRANCH_NAME\n      # Creates a PR with the new combined branch\n      - uses: actions/github-script@v3\n        name: Create Combined Pull Request\n        env:\n          PRS_STRING: ${{ steps.fetch-branch-names.outputs.prs-string }}\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const prString = process.env.PRS_STRING;\n            const body = 'This PR was created by the Combine PRs action by combining the following PRs:\\n' + prString;\n            await github.pulls.create({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              title: 'Combined PR',\n              head: '${{ github.event.inputs.combineBranchName }}',\n              base: '${{ steps.fetch-branch-names.outputs.base-branch }}',\n              body: body\n            });", "state": "active", "repository": "uclapi/uclapi"}
{"mined_at": "2024-07-15T13:08:29.895084", "created_at": "2020-11-13T11:38:57+01:00", "updated_at": "2023-11-02T18:34:37+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n# ******** NOTE ********\n\nname: \"CodeQL\"\n\non:\n  schedule:\n    - cron: '32 17 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    if: ${{ !contains(github.event.pull_request.labels.*.names, 'dependencies') }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "disabled_inactivity", "repository": "uclapi/uclapi"}
{"mined_at": "2024-07-15T13:08:32.126751", "created_at": "2023-01-09T12:13:09+01:00", "updated_at": "2023-01-09T12:13:09+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  pull_request:\n    branches: [ \"main\", \"*code-ql*\"]\n    paths-ignore:\n      - \"docs/**\"\n  schedule:\n    - cron: \"36 6 * * 0\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ javascript, python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          config-file: ./.github/codeql/codeql-config.yml\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n        if: ${{ matrix.language == 'javascript' || matrix.language == 'python' }}\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "magpylib/magpylib"}
{"mined_at": "2024-07-15T13:08:33.136490", "created_at": "2023-11-28T17:53:21+01:00", "updated_at": "2023-12-12T13:50:51+01:00", "name": "Python package", "path": ".github/workflows/python-app.yml", "contents": "name: Python package\n\non:\n  push:\n    paths-ignore:\n      - \"docs/**\"\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n\nconcurrency:\n  group: check-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Set up testing tools and environment for pylint\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[test]\n      - name: Run pylint test\n        run: pylint --rcfile='./.pylintrc' magpylib tests\n\n  test:\n    name: test with ${{ matrix.py }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        py:\n          - \"3.12\"\n          - \"3.11\"\n          - \"3.10\"\n        os:\n          - ubuntu-latest\n          - macos-latest\n          - windows-latest\n    steps:\n      - name: Setup headless display\n        uses: pyvista/setup-headless-display-action@v2\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup python for test ${{ matrix.py }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.py }}\n      - name: Install tox\n        run: python -m pip install tox-gh>=1.2\n      - name: Setup test suite\n        run: tox -vv --notest\n      - name: Run test suite\n        run: tox --skip-pkg-install\n\n  publish:\n    name: Publish to PyPI\n    needs: test\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install flit\n        run: pip install flit\n      - name: Build package\n        run: flit build\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@release/v1", "state": "active", "repository": "magpylib/magpylib"}
{"mined_at": "2024-07-15T13:08:35.130544", "created_at": "2021-10-15T01:20:23+02:00", "updated_at": "2022-01-07T20:18:12+01:00", "name": "ci-4.0.0", "path": ".github/workflows/ci-4.0.0.yml", "contents": null, "state": "active", "repository": "virtool/virtool"}
{"mined_at": "2024-07-15T13:08:36.326746", "created_at": "2021-06-04T00:04:02+02:00", "updated_at": "2023-02-07T22:21:55+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n  merge_group:\n  pull_request:\n    branches:\n      - \"main\"\n  push:\n    branches:\n      - \"main\"\n\njobs:\n  commitlint:\n    runs-on: ubuntu-22.04\n    if: github.event_name == 'pull_request'\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Commitlint\n        uses: wagoid/commitlint-github-action@v5\n  build:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n  test:\n    runs-on: ubuntu-22.04\n    services:\n      redis:\n        image: redis:6.0\n        ports:\n          - 6379:6379\n      postgres:\n        image: postgres:13.1\n        env:\n          POSTGRES_USER: virtool\n          POSTGRES_PASSWORD: virtool\n          POSTGRES_DB: virtool\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Start OpenFGA\n        run: |\n          bash .github/workflows/scripts/setup_postgres.sh          \n          docker run --network ${{ job.services.postgres.network }} --rm openfga/openfga:v0.2.5 migrate --datastore-engine postgres --datastore-uri 'postgres://virtool:virtool@postgres:5432/openfga?sslmode=disable'\n          docker run -d --name openfga --network=${{ job.services.postgres.network }} -p 8080:8080 openfga/openfga:v0.2.5 run --datastore-engine postgres --datastore-uri 'postgres://virtool:virtool@postgres:5432/openfga?sslmode=disable' --playground-enabled=false\n      - name: Start MongoDB\n        uses: supercharge/mongodb-github-action@1.7.0\n        with:\n          mongodb-version: 4.4\n          mongodb-replica-set: rs\n      - name: Setup Python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.12'\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n      - name: Load Cached Packages\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Install Packages\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction\n      - name: Install bowtie\n        run: | \n          wget https://github.com/BenLangmead/bowtie2/releases/download/v2.5.3/bowtie2-2.5.3-linux-x86_64.zip\n          unzip bowtie2-2.5.3-linux-x86_64.zip\n          cp -rv bowtie2-2.5.3-linux-x86_64 /opt/bowtie2\n          ln -s /opt/bowtie2/bowtie* /usr/local/bin\n      - name: Run\n        run: >-\n          poetry run\n          pytest\n          --db-connection-string mongodb://localhost:27017\n          -n 3\n          --openfga-host localhost:8080\n          --postgres-connection-string postgresql+asyncpg://virtool:virtool@localhost\n          --redis-connection-string redis://localhost:6379\n          --snapshot-details\n          --snapshot-warn-unused\n  oas:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.12'\n      - name: Setup Poetry\n        id: setup-poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n      - name: Load Cached Packages\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Install Packages\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction\n      - name: Write OAS\n        run: |\n          mkdir -p virtool/spec\n          poetry run python run.py oas > virtool/spec/openapi.json\n      - name: Upload OAS\n        uses: actions/upload-artifact@v4\n        with:\n          name: openapi.json\n          path: virtool/spec/openapi.json\n  mypy:\n      runs-on: ubuntu-22.04\n      steps:\n        - name: Checkout\n          uses: actions/checkout@v4\n        - name: Setup Python\n          uses: actions/setup-python@v4\n          with:\n            python-version: '3.12'\n        - name: Install Poetry\n          uses: snok/install-poetry@v1\n          with:\n            virtualenvs-create: true\n            virtualenvs-in-project: true\n            installer-parallel: true\n        - name: Load Cached Packages\n          id: cached-poetry-dependencies\n          uses: actions/cache@v4\n          with:\n            path: .venv\n            key: venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n        - name: Install Packages\n          if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n          run: poetry install --no-interaction\n        - name: Run\n          continue-on-error: true\n          run: poetry run mypy virtool\n  release:\n    runs-on: ubuntu-22.04\n    needs: [build, oas, test]\n    if: github.event_name == 'push'\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Download OAS\n        uses: actions/download-artifact@v4\n        with:\n          name: openapi.json\n          path: virtool/spec/openapi.json\n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n      - name: Install semantic-release\n        run: npm i semantic-release@v23.0.8 conventional-changelog-conventionalcommits@7.0.2\n      - name: Run semantic-release\n        id: semantic\n        env:\n          GITHUB_USERNAME: ${{ secrets.GH_USERNAME }}\n          GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}\n        run: npx semantic-release\n", "state": "active", "repository": "virtool/virtool"}
{"mined_at": "2024-07-15T13:08:37.322552", "created_at": "2023-12-21T05:16:56+01:00", "updated_at": "2023-12-21T05:16:56+01:00", "name": "pg", "path": ".github/workflows/postgres.yml", "contents": null, "state": "active", "repository": "virtool/virtool"}
{"mined_at": "2024-07-15T13:08:38.328337", "created_at": "2022-01-08T01:10:35+01:00", "updated_at": "2022-01-08T01:10:35+01:00", "name": "publish-4.0.0", "path": ".github/workflows/publish-4.0.0.yml", "contents": null, "state": "active", "repository": "virtool/virtool"}
{"mined_at": "2024-07-15T13:08:39.376794", "created_at": "2021-10-15T01:20:22+02:00", "updated_at": "2023-12-22T16:48:38+01:00", "name": "publish", "path": ".github/workflows/publish.yml", "contents": "name: publish\n\non:\n  release:\n    types: [published]\n\nenv:\n  REGISTRY: ghcr.io\n\njobs:\n  hooks:\n    runs-on: ubuntu-22.04\n    if: github.repository_owner == 'Virtool'\n    steps:\n      - name: Trigger Cloudflare\n        run: curl -X POST ${{ secrets.CLOUDFLARE_HOOK }}\n  ghcr:\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: read\n      packages: write\n    if: github.repository_owner == 'Virtool'\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.release.tag_name }}\n      - name: Login to Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ secrets.GH_USERNAME }}\n          password: ${{ secrets.GH_TOKEN }}\n      - name: Extract Metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/virtool/virtool\n      - name: Build and Push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}", "state": "active", "repository": "virtool/virtool"}
{"mined_at": "2024-07-15T13:08:40.432741", "created_at": "2024-05-15T01:26:51+02:00", "updated_at": "2024-05-15T01:26:51+02:00", "name": "dispatch", "path": ".github/workflows/runner.yaml", "contents": "name: dispatch\n\non: workflow_dispatch\n\njobs:\n  test:\n    runs-on: arc-sid\n    services:\n      redis:\n        image: redis:6.0\n        ports:\n          - 6379:6379\n      postgres:\n        image: postgres:13.1\n        env:\n          POSTGRES_USER: virtool\n          POSTGRES_PASSWORD: virtool\n          POSTGRES_DB: virtool\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Start OpenFGA\n        run: |\n          bash .github/workflows/scripts/setup_postgres.sh          \n          docker run --network ${{ job.services.postgres.network }} --rm openfga/openfga:v0.2.5 migrate --datastore-engine postgres --datastore-uri 'postgres://virtool:virtool@postgres:5432/openfga?sslmode=disable'\n          docker run -d --name openfga --network=${{ job.services.postgres.network }} -p 8080:8080 openfga/openfga:v0.2.5 run --datastore-engine postgres --datastore-uri 'postgres://virtool:virtool@postgres:5432/openfga?sslmode=disable' --playground-enabled=false\n      - name: Start MongoDB\n        uses: supercharge/mongodb-github-action@1.7.0\n        with:\n          mongodb-version: 4.4\n          mongodb-replica-set: rs\n      - name: Setup Python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.12'\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n      - name: Load Cached Packages\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Install Packages\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction\n      - name: Install bowtie\n        run: | \n          wget https://github.com/BenLangmead/bowtie2/releases/download/v2.5.3/bowtie2-2.5.3-linux-x86_64.zip\n          unzip bowtie2-2.5.3-linux-x86_64.zip\n          cp -rv bowtie2-2.5.3-linux-x86_64 /opt/bowtie2\n          ln -s /opt/bowtie2/bowtie* /usr/local/bin\n      - name: Run\n        run: >-\n          poetry run\n          pytest\n          --db-connection-string mongodb://localhost:27017\n          -n 1\n          --openfga-host localhost:8080\n          --postgres-connection-string postgresql+asyncpg://virtool:virtool@localhost\n          --redis-connection-string redis://localhost:6379\n          --snapshot-details\n          --snapshot-warn-unused\n", "state": "active", "repository": "virtool/virtool"}
{"mined_at": "2024-07-15T13:08:42.442540", "created_at": "2024-07-11T21:27:05+02:00", "updated_at": "2024-07-11T21:27:05+02:00", "name": "elasticapp (Elastica++ based backend) tests", "path": ".github/workflows/elasticapp.yml", "contents": null, "state": "active", "repository": "gazzolalab/pyelastica"}
{"mined_at": "2024-07-15T13:08:43.597678", "created_at": "2020-11-08T00:43:49+01:00", "updated_at": "2022-05-19T07:28:56+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "# This is a basic workflow to help you get started with Actions\nname: CI\n\n# Controls when the action will run.\non: [push, pull_request]\n# Older settings:\n# Triggers the workflow on push request events for the master branch,\n# and pull request events for all branches.\n#on:\n#  push:\n#    branches: [ master ]\n#  pull_request:\n#    branches: [ '**' ]\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n        os: [ubuntu-latest, macos-latest] #, windows-latest] # Run macos tests if really required, since they charge 10 times more for macos\n        include:\n          - os: ubuntu-latest\n            path: ~/.cache/pip\n          - os: macos-latest\n            path: ~/Library/Caches/pip\n          #- os: windows-latest\n          #  path: ~\\AppData\\Local\\pip\\Cache\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n      # Ref: https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-python\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4.2.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      # You can test your matrix by printing the current Python version\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      # Install Poetry and dependencies\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n      - name: Set up cache\n        uses: actions/cache@v3\n        with:\n          path: ${{ matrix.path }}\n          key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          poetry config virtualenvs.in-project true\n          poetry install\n      # Runs a single command using the runners shell\n      - name: Welcome message\n        run: echo Hello, world! Welcome PyElastica Build, lets start testing!\n      # Run style checks (black and flake8)\n      - name: Run style checks\n        run: |\n          make check-codestyle\n      # Test PyElastica using pytest\n      - name: Run tests\n        run: |\n          make test\n  report-coverage:  # Report coverage from python 3.10 and mac-os. May change later\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n        os: [macos-latest]\n        include:\n          - os: macos-latest\n            path: ~/Library/Caches/pip\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4.2.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n      - name: Set up cache\n        uses: actions/cache@v3\n        with:\n          path: ${{ matrix.path }}\n          key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          poetry config virtualenvs.in-project true\n          poetry install\n      - name: Run style checks\n        run: |\n          make check-codestyle\n      - name: Test PyElastica using pytest\n        if: startsWith(runner.os, 'macOS')\n        run: |\n          make test_coverage_xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "gazzolalab/pyelastica"}
{"mined_at": "2024-07-15T13:08:44.615417", "created_at": "2022-07-15T23:10:31+02:00", "updated_at": "2022-07-15T23:10:31+02:00", "name": "publish", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: publish\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4.2.0\n        with:\n          python-version: \"3.x\"\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3\n      - name: Build\n        run: |\n          poetry build\n      - name: Publish distribution 📦 to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "gazzolalab/pyelastica"}
{"mined_at": "2024-07-15T13:08:45.849498", "created_at": "2022-07-17T08:59:40+02:00", "updated_at": "2022-08-18T05:14:27+02:00", "name": "WIP", "path": ".github/workflows/wip_PR.yml", "contents": "name: WIP\non:\n  pull_request:\n    types: [ opened, synchronize, reopened, edited ]\n\njobs:\n  wip:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - uses: wip/action@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "gazzolalab/pyelastica"}
{"mined_at": "2024-07-15T13:08:47.956002", "created_at": "2023-08-28T22:31:54+02:00", "updated_at": "2023-08-28T22:31:54+02:00", "name": "Debugging", "path": ".github/workflows/debugging.yml", "contents": null, "state": "active", "repository": "isofit/isofit"}
{"mined_at": "2024-07-15T13:08:48.950721", "created_at": "2022-11-28T20:47:36+01:00", "updated_at": "2024-02-26T21:42:40+01:00", "name": "Examples", "path": ".github/workflows/example-testing.yml", "contents": null, "state": "active", "repository": "isofit/isofit"}
{"mined_at": "2024-07-15T13:08:50.049749", "created_at": "2022-12-01T23:12:05+01:00", "updated_at": "2023-08-29T00:45:58+02:00", "name": "Lint", "path": ".github/workflows/linter.yml", "contents": "name: Lint\n\non:\n  push:\n    branches:\n      - main\n      - dev\n  pull_request:\n    branches:\n      - main\n      - dev\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: psf/black@stable\n        with:\n          src: \"./isofit\"\n          version: \"24.2.0\"\n", "state": "active", "repository": "isofit/isofit"}
{"mined_at": "2024-07-15T13:08:51.055544", "created_at": "2020-10-08T18:09:35+02:00", "updated_at": "2024-02-26T21:42:40+01:00", "name": "Hypertrace", "path": ".github/workflows/py-hypertrace.yml", "contents": null, "state": "active", "repository": "isofit/isofit"}
{"mined_at": "2024-07-15T13:08:52.181715", "created_at": "2023-03-13T21:51:01+01:00", "updated_at": "2023-04-04T01:56:51+02:00", "name": "Upload Python Package", "path": ".github/workflows/release.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          pip install build setuptools twine wheel\n\n      - name: Build and publish\n        shell: bash\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python -m build --sdist --wheel\n          twine upload dist/*\n", "state": "active", "repository": "isofit/isofit"}
{"mined_at": "2024-07-15T13:08:53.306139", "created_at": "2023-12-06T22:23:29+01:00", "updated_at": "2024-02-26T21:15:12+01:00", "name": "Test 'pip' Package", "path": ".github/workflows/test-pip-package-ubuntu.yml", "contents": "# Test a package built and installed by pip.\n#\n# Test ISOFIT on a variety of versions of Python. This test suite is likely\n# sufficient for broadly testing the 'pip' package, with the assumption that\n# users are able to get all dependencies installed. Any further testing should\n# be for a specific environment, and be very targeted.\n#\n# For example, testing Ubuntu 22.04 package ecosystem should likely be done by\n# building a deb for ISOFIT, and testing against the Python packages provided by\n# the apt package repo. It may also be possible to test this environment with a\n# mix of upstream packages and a non-isolated virtual environment built with the\n# '--system-site-packages' flag.\n#\n# Readers looking at this file for the purposes of installing ISOFIT on their\n# system should be aware that these tests run in an isolated manner. Be aware\n# that both 'pip' and 'apt/apt-get' can both be used to install Python\n# packages, but pip installing something with Ubuntu's system Python will\n# conflict with packages installed via 'apt/apt-get', and produce an environment\n# that is difficult to unwind.\n\n\nname: Test 'pip' Package\n\non:\n  push:\n    branches: [\"dev\", \"main\"]\n  pull_request:\n    branches: [\"dev\", \"main\"]\n\njobs:\n\n  test:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # Python 3.12 cannot be tested until Ray provides support:\n        #   https://github.com/ray-project/ray/issues/40211\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        pytest-flags: [\"-m unmarked\", \"-m slow\", \"-m examples\", \"-m hypertrace\"]\n\n    steps:\n\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n\n      - name: Install ISOFIT and most software dependencies\n        shell: bash\n        run: |\n\n          # Python packaging dependencies. The presence of 'wheel' triggers\n          # a lot of new Python packaging machinery that will eventually\n          # become the default.\n          python3 -m pip install pip setuptools wheel --upgrade\n          python3 --version\n          python3 -m pip show pip setuptools wheel\n\n          # Install 'isofit'\n          python3 -m pip install --editable \".[test]\"\n\n          # Ensure ISOFIT has been installed\n          python3 -c \"import isofit; print(isofit.__file__)\"\n\n      - name: Cache 6S\n        id: cache-6s-v21\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-6s-v21\n        with:\n          path: 6sv-2.1/\n          key: ${{ env.cache-name }}\n\n      - name: Download and build 6S v2.1\n        if: ${{ steps.cache-6S-v21.outputs.cache-hit != true }}\n        shell: bash\n        run: |\n          ./scripts/download-and-build-6s.sh\n\n      - name: Cache sRTMnet\n        id: cache-sRTMnet-v120\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-sRTMnet-v120\n        with:\n          path: sRTMnet_v120/\n          key: ${{ env.cache-name }}\n\n      - name: Install sRTMnet\n        if: ${{ steps.cache-sRTMnet-v120.outputs.cache-hit != true }}\n        shell: bash\n        run: |\n          ./scripts/download-and-unpack-sRTMnet.sh\n\n      - name: Cache Hypertrace Data\n        id: cache-hypertrace-data\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-hypertrace-data\n        with:\n          path: hypertrace-data/\n          key: ${{ env.cache-name }}\n\n      - name: Download and unpack Hypertrace data\n        if: ${{ steps.cache-hypertrace-data.outputs.cache-hit != true }}\n        shell: bash\n        run: |\n          ./scripts/download-and-unpack-hypertrace-data.sh\n\n      - name: Execute tests\n        shell: bash\n        run: |\n          ./scripts/run-tests.sh ${{ matrix.pytest-flags }}\n", "state": "active", "repository": "isofit/isofit"}
{"mined_at": "2024-07-15T13:08:54.318877", "created_at": "2024-02-27T20:09:44+01:00", "updated_at": "2024-02-29T22:08:20+01:00", "name": "Test '$PYTHONPATH' installation", "path": ".github/workflows/test-pythonpath-ubuntu.yml", "contents": "# Test ISOFIT installed via a local repository checkout and '$PYTHONPATH'.\n\nname: Test '$PYTHONPATH' installation\n\non:\n  push:\n    branches: [\"dev\", \"main\"]\n  pull_request:\n    branches: [\"dev\", \"main\"]\n\njobs:\n\n  test:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # Python 3.12 cannot be tested until Ray provides support:\n        #   https://github.com/ray-project/ray/issues/40211\n        # This tests some very basic and long-lived Python behavior, so it is\n        # likely sufficient to test only on a single Python version to avoid\n        # GitHub worker contention.\n        python-version: [\"3.11\"]\n        pytest-flags: [\"-m unmarked\", \"-m slow\"]\n\n    steps:\n\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n\n      - name: Install ISOFIT and most software dependencies\n        shell: bash\n        run: |\n\n          # WARNING: Do NOT 'export PYTHONPATH=...'. Environment variables seem\n          #          to be shared across all jobs, so this would break the\n          #          the 'isofit' install for some other jobs. Unclear exactly\n          #          which, but presumably any job running after this one.\n\n          # Python packaging dependencies. The presence of 'wheel' triggers\n          # a lot of new Python packaging machinery that will eventually\n          # become the default.\n          python3 -m pip install pip setuptools wheel --upgrade\n          python3 --version\n          python3 -m pip show pip setuptools wheel\n\n          # Install 'isofit' and dependencies. Be sure to uninstall this version\n          # of 'isofit' to ensure we are testing against '$PYTHONPATH'.\n          python3 -m pip install \".[test]\"\n\n          # Uninstall 'isofit', leaving its dependencies.\n          python3 -m pip uninstall --yes isofit\n\n          # Move 'isofit' and copy its data directories into a new directory to ensure it is not just\n          # inherently available.\n          mkdir isolation/\n          mv isofit/ isolation/\n          cp -r examples isolation/\n          cp -r data isolation/\n\n          # Check to see if 'isofit' is still installed. It should not be.\n          # Note that this job is implicitly configured with 'set -e', which\n          # means that any command exiting with a non-zero exit code will cause\n          # the script to halt. The easiest way to see if 'isofit' is still\n          # available is to attempt to import it, however, that rightfully\n          # causes Python to exit with a non-zero exit code. It is possible to\n          # use a heredoc to wrap this import in a 'try/except', print a status,\n          # and have Python exit with a 0 exit code, but all of the options are\n          # painful.\n          #\n          # Instead, disable 'set -e' by calling 'set +e', but be sure to\n          # re-enable by calling 'set -e' again as soon as possible!!\n          set +e\n          ISOFIT_INSTALLED_PATH=$(\n            python3 -c \"import isofit; print(isofit.__file__)\" 2> /dev/null)\n          ISOFIT_INSTALLED_EXIT_CODE=$?\n          set -e\n          if [ \"${ISOFIT_INSTALLED_EXIT_CODE}\" -ne 1 ]; then\n              exit 1\n          fi\n\n          # Again, do NOT 'export PYTHONPATH=...' here. See note at top of\n          # section.\n\n      - name: Cache 6S\n        id: cache-6s-v21\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-6s-v21\n        with:\n          path: 6sv-2.1/\n          key: ${{ env.cache-name }}\n\n      - name: Cache sRTMnet\n        id: cache-sRTMnet-v120\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-sRTMnet-v120\n        with:\n          path: sRTMnet_v120/\n          key: ${{ env.cache-name }}\n\n      - name: Cache Hypertrace Data\n        id: cache-hypertrace-data\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-hypertrace-data\n        with:\n          path: hypertrace-data/\n          key: ${{ env.cache-name }}\n\n      - name: Download and build 6S v2.1\n        if: ${{ steps.cache-6S-v21.outputs.cache-hit != true }}\n        shell: bash\n        run: |\n          ./scripts/download-and-build-6s.sh\n\n      - name: Install sRTMnet\n        if: ${{ steps.cache-sRTMnet-v120.outputs.cache-hit != true }}\n        shell: bash\n        run: |\n          ./scripts/download-and-unpack-sRTMnet.sh\n\n      - name: Download and unpack Hypertrace data\n        if: ${{ steps.cache-hypertrace-data.outputs.cache-hit != true }}\n        shell: bash\n        run: |\n          ./scripts/download-and-unpack-hypertrace-data.sh\n\n      - name: Execute tests\n        shell: bash\n        run: |\n\n          # Again, do NOT 'export PYTHONPATH=...'\n          # We define 'testpaths' in 'pytest.ini', however that path is no\n          # longer valid. In this case 'pytest' searches for tests by default,\n          # but we know where they are, so explicitly point to the new location.\n          PYTHONPATH=\"isolation/:${PYTHONPATH}\" ./scripts/run-tests.sh \\\n            isolation/isofit/test/ \\\n            ${{ matrix.pytest-flags }}\n", "state": "active", "repository": "isofit/isofit"}
{"mined_at": "2024-07-15T13:08:55.454853", "created_at": "2020-12-11T17:58:31+01:00", "updated_at": "2024-02-29T21:04:28+01:00", "name": "Pytests", "path": ".github/workflows/utils-workflow.yml", "contents": null, "state": "active", "repository": "isofit/isofit"}
{"mined_at": "2024-07-15T13:08:57.397716", "created_at": "2023-03-20T11:08:30+01:00", "updated_at": "2023-03-20T11:08:30+01:00", "name": "Dependabot auto-merge", "path": ".github/workflows/automerge.yml", "contents": "name: Dependabot auto-merge\n\non: \n  workflow_dispatch:\n  pull_request:\n    types:\n      - \"opened\"\n      - \"synchronize\"\n      - \"reopened\"\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: Enable auto-merge for Dependabot PRs\n        run: gh pr merge -b \"[no ci]\" --auto --merge \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "uriyyo/fastapi-pagination"}
{"mined_at": "2024-07-15T13:08:58.649654", "created_at": "2020-11-28T14:10:19+01:00", "updated_at": "2020-11-28T15:11:24+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request:\n    types:\n      - \"opened\"\n      - \"synchronize\"\n  push:\n    branches:\n      - \"main\"\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.8\" ]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.4\n\n      - name: Setup cache\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cache/pypoetry/virtualenvs\n          key: ${{ runner.os }}-py${{ matrix.python-version }}-poetry-${{ hashFiles('poetry.lock') }}\n\n      - name: Install dependencies\n        run: |\n          poetry install -E all\n\n      - name: Lint\n        run: |\n          poetry run pre-commit run --all-files --show-diff-on-failure", "state": "active", "repository": "uriyyo/fastapi-pagination"}
{"mined_at": "2024-07-15T13:08:59.637510", "created_at": "2021-05-12T09:42:33+02:00", "updated_at": "2021-05-12T09:42:33+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  workflow_dispatch:\n  release:\n    types: [ published ]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ 3.8 ]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.4\n\n      - name: Publish\n        env:\n          PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: poetry publish --build -u \"${{ env.PYPI_USERNAME }}\" -p \"${{ env.PYPI_PASSWORD }}\"\n", "state": "active", "repository": "uriyyo/fastapi-pagination"}
{"mined_at": "2024-07-15T13:09:00.662154", "created_at": "2020-11-28T14:10:19+01:00", "updated_at": "2020-11-28T15:11:24+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  pull_request:\n    types:\n      - \"opened\"\n      - \"synchronize\"\n  push:\n    branches:\n      - \"main\"\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n        pydantic_v2: [ \"true\", \"false\" ]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Set up Postgresql\n        uses: harmon758/postgresql-action@v1\n        with:\n          postgresql db: 'postgres'\n          postgresql user: 'postgres'\n          postgresql password: 'postgres'\n\n      - name: Set up MongoDB\n        uses: supercharge/mongodb-github-action@1.11.0\n\n      - name: Set up Scylla\n        run: |\n          export DOCKER_ID=$(docker run -d scylladb/scylla:latest --cluster-name test )\n          export CQL_TEST_HOST=$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' ${DOCKER_ID})\n          while ! nc -z ${CQL_TEST_HOST} 9042; do   \n            sleep 0.1 # wait for 1/10 of the second before check again\n          done\n\n          echo \"CQL_TEST_HOST=${CQL_TEST_HOST}\" >> $GITHUB_ENV\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.4\n\n      - name: Setup cache\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cache/pypoetry/virtualenvs\n          key: ${{ runner.os }}-py${{ matrix.python-version }}-poetry-${{ hashFiles('poetry.lock') }}-v1\n\n      - name: Install dependencies\n        run: |\n          poetry install -E all\n\n      - name: Install pydantic v2\n        if: ${{ matrix.pydantic_v2 == 'true' }}\n        run: |\n          poetry run pip install -U --pre fastapi pydantic\n\n      - name: Unit tests pydantic v2\n        if: ${{ matrix.pydantic_v2 == 'true' }}\n        run: |\n          poetry run pytest tests  --ignore=tests/ext --cov-report=xml --cassandra-dsn=${CQL_TEST_HOST}\n\n      - name: Unit tests\n        if: ${{ matrix.pydantic_v2 == 'false' }}\n        run: |\n          poetry run pytest tests -m \"not gino\" --cov-report=xml --cassandra-dsn=${CQL_TEST_HOST}\n\n      - name: Unit tests SQLAlchemy 2.0\n        if: ${{ matrix.pydantic_v2 == 'false' }}\n        run: |\n          poetry run pip install -U \"sqlalchemy>2.0.0\"\n          poetry run pytest tests -m \"sqlalchemy20\" --cov-append --cov-report=xml --cassandra-dsn=${CQL_TEST_HOST}\n\n      # TODO: remove it when ormar will support pydantic v2\n      - name: Unit tests Odmantic\n        if: ${{ matrix.pydantic_v2 == 'true' }}\n        run: |\n          poetry run pip install -U odmantic \"pydantic<2.7\"\n          poetry run pytest tests -m \"odmantic\" --cov-append --cov-report=xml --cassandra-dsn=${CQL_TEST_HOST}\n\n      - name: Unit tests gino\n        if: ${{ matrix.pydantic_v2 == 'false' && matrix.python-version != '3.12' }}\n        run: |\n          poetry run pip install -U \"gino[starlette]\" \"fastapi==0.84.0\"\n          poetry run pytest -m gino --cov-append --cov-report=xml\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n", "state": "active", "repository": "uriyyo/fastapi-pagination"}
{"mined_at": "2024-07-15T13:09:02.740722", "created_at": "2021-11-03T12:50:25+01:00", "updated_at": "2021-11-03T12:50:25+01:00", "name": "Dependabot PR Approve and Merge", "path": ".github/workflows/dependabot-auto-approve-and-merge.yml", "contents": "name: Dependabot PR Approve and Merge\n# Source: https://blog.somewhatabstract.com/2021/10/11/setting-up-dependabot-with-github-actions-to-approve-and-merge/?utm_source=pocket_mylist\n# See also: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#approve-a-pull-request\n\non: pull_request_target\n\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    # Checking the actor will prevent your Action run failing on non-Dependabot\n    # PRs but also ensures that it only does work for Dependabot PRs.\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      # This first step will fail if there's no metadata and so the approval\n      # will not occur.\n      - name: Dependabot metadata\n        id: dependabot-metadata\n        uses: dependabot/fetch-metadata@v2.1.0\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      # Here the PR gets approved.\n      - name: Approve a PR\n        run: gh pr review --approve \"$PR_URL\"\n        env:\n          PR_URL: ${{ github.event.pull_request.html_url }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      # Finally, this sets the PR to allow auto-merging for patch and minor\n      # updates if all checks pass\n      - name: Enable auto-merge for Dependabot PRs\n        if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}\n        run: gh pr merge --auto --squash \"$PR_URL\"\n        env:\n          PR_URL: ${{ github.event.pull_request.html_url }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "zostera/django-bootstrap4"}
{"mined_at": "2024-07-15T13:09:03.872205", "created_at": "2023-06-04T11:24:43+02:00", "updated_at": "2023-06-08T14:09:05+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non: [ push ]\n\nconcurrency:\n  group: test-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n\n  tests_matrix:\n    runs-on: ubuntu-latest\n    needs: [ ruff ]\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n        django-version: [4.2, 5.0, \"main\"]\n        exclude:\n            # Django 4.2\n            - python-version: 3.12\n              django-version: 4.2\n\n            # Django 5.0\n            - python-version: 3.8\n              django-version: 5.0\n            - python-version: 3.9\n              django-version: 5.0\n\n            # Django main\n            - python-version: 3.8\n              django-version: \"main\"\n            - python-version: 3.9\n              django-version: \"main\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install GDAL binaries\n        run: sudo apt-get install binutils libproj-dev gdal-bin\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: requirements-test.txt\n      - run: python -m pip install -r requirements-test.txt\n      - run: python -m pip install -U Django==${{ matrix.django-version }}\n        if: matrix.django-version != 'main'\n      - run: python -m pip install -U https://github.com/django/django/archive/master.tar.gz\n        if: matrix.django-version == 'main'\n      - run: python -m pip install -e .\n      - run: coverage run manage.py test\n      - run: python -m pip install -U coveralls\n      - name: Upload coveralls (parallel)\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_PARALLEL: true\n        run: coveralls --service=github\n\n  docs:\n    runs-on: ubuntu-latest\n    needs: [ tests_matrix ]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n            python-version: \"3.11\"\n            cache: 'pip'\n            cache-dependency-path: docs/requirements.txt\n      - name: Build documentation\n        run: |\n          python -m pip install -r docs/requirements.txt\n          make docs\n\n  build:\n    runs-on: ubuntu-latest\n    needs: [ tests_matrix ]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n            python-version: \"3.11\"\n            cache: 'pip'\n            cache-dependency-path: requirements-dev.txt\n      - name: Build package\n        run: |\n          python -m pip install -r requirements-dev.txt\n          make build\n\n\n  tests:\n    if: always()\n    runs-on: ubuntu-latest\n    needs: [ tests_matrix, ruff, docs, build ]\n    steps:\n      - name: Check tests matrix status\n        if: needs.tests_matrix.result != 'success'\n        run: exit 1\n      - name: Finish parallel build\n        uses: coverallsapp/github-action@v2\n        with:\n          parallel-finished: true\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "zostera/django-bootstrap4"}
{"mined_at": "2024-07-15T13:09:06.014690", "created_at": "2023-07-16T23:46:00+02:00", "updated_at": "2023-07-16T23:46:00+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n    branches: [master]\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n\n  product:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: smorimoto/tune-github-hosted-runner-network@v1.0.0\n      - uses: actions/checkout@v4.1.6\n\n      - uses: ./.github/actions/setup-python\n        id: setup-python\n\n      # This step is referenced from product/README.md.\n      - name: Download Android Python builds\n        run: |\n          cd target\n          for version in $(./list-versions.py --build); do\n              target_dir=../maven/com/chaquo/python/target/$version\n              ./download-target.sh $target_dir\n              ./unpackage-target.sh $target_dir prefix\n          done\n\n      - name: Install Python requirements\n        run: |\n          ${{ steps.setup-python.outputs.python-default }} -m \\\n              pip install -r product/runtime/requirements-build.txt\n\n      - uses: ./.github/actions/create-local-properties\n\n      - name: Build\n        run: |\n          cd product\n          ./gradlew publish -P cmakeBuildType=Release\n\n      - name: Upload Maven repository\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: maven\n          # There's a fairly large per-file overhead, so exclude the hash files.\n          path: |\n            maven\n            !**/*.md5\n            !**/*.sha1\n            !**/*.sha256\n            !**/*.sha512\n          if-no-files-found: error\n\n      # This should match the version discovery logic in gradle-plugin/build.gradle.kts.\n      - name: List Android Gradle plugin versions\n        id: agp-versions\n        run: |\n          cd product/gradle-plugin/src/test/integration/data/base\n          (\n              echo -n versions=\n              echo *.* | jq -cR 'split(\" \")'\n          ) >> $GITHUB_OUTPUT\n\n    outputs:\n      agp-versions: ${{ steps.agp-versions.outputs.versions }}\n\n\n  docs:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: smorimoto/tune-github-hosted-runner-network@v1.0.0\n      - uses: actions/checkout@v4.1.6\n\n      - uses: ./.github/actions/setup-python\n        id: setup-python\n\n      - name: Install Python requirements\n        run: |\n          ${{ steps.setup-python.outputs.python-default }} -m \\\n              pip install -r product/runtime/requirements-build.txt \\\n                          -r product/runtime/requirements-docs.txt\n\n      - uses: ./.github/actions/create-local-properties\n\n      - name: Build\n        run: |\n          cd product\n          ./gradlew docs\n\n      - uses: actions/upload-artifact@v4.3.3\n        with:\n          name: docs\n          path: |\n            product/runtime/build/docs\n            !**/.doctrees\n          if-no-files-found: error\n\n\n  gradlePython:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: smorimoto/tune-github-hosted-runner-network@v1.0.0\n      - uses: actions/checkout@v4.1.6\n\n      - uses: ./.github/actions/setup-python\n\n      - uses: ./.github/actions/create-local-properties\n\n      - name: Test\n        run: |\n          cd product\n          ./gradlew gradle:testPython\n\n\n  demo:\n    needs: [product]\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: smorimoto/tune-github-hosted-runner-network@v1.0.0\n      - uses: actions/checkout@v4.1.6\n\n      - uses: ./.github/actions/setup-python\n\n      - name: Download Maven repository\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: maven\n          path: maven\n\n      - name: Get keystore\n        env:\n          CHAQUO_JKS: ${{ secrets.CHAQUO_JKS }}\n        run: |\n          echo \"$CHAQUO_JKS\" | base64 -d > demo/chaquo.jks\n\n      - name: Build\n        run: |\n          cd demo\n          export JAVA_HOME=$JAVA_HOME_17_X64\n          ./gradlew assembleRelease\n\n      - uses: actions/upload-artifact@v4.3.3\n        with:\n          name: demo\n          path: demo/app/build/outputs/apk/release\n          if-no-files-found: error\n\n\n  integration:\n    needs: [product]\n    strategy:\n      fail-fast: false\n      matrix:\n        agp-version: ${{ fromJSON(needs.product.outputs.agp-versions) }}\n        os: [linux, macos, windows]\n        include:\n          # To avoid clutter in the GitHub UI, OS versions are not added to the `os`\n          # dimension directly.\n          - os: linux\n            runs-on: ubuntu-20.04  # 22.04 has a minimum Python version of 3.7 (see setup-python)\n          - os: macos\n            runs-on: macos-12  # 14 has a minimum Python version of 3.8 (see setup-python)\n          - os: windows\n            runs-on: windows-2022\n\n    runs-on: ${{ matrix.runs-on }}\n    steps:\n      - uses: smorimoto/tune-github-hosted-runner-network@v1.0.0\n      - uses: actions/checkout@v4.1.6\n\n      - uses: ./.github/actions/setup-python\n        id: setup-python\n\n      - name: Download Maven repository\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: maven\n          path: maven\n\n      - name: Install Python requirements\n        run: |\n          ${{ steps.setup-python.outputs.python-default }} -m \\\n              pip install -r product/gradle-plugin/src/test/integration/requirements.txt\n\n      - uses: ./.github/actions/create-local-properties\n\n      - name: Test\n        run: |\n          cd product\n          CHAQUOPY_NO_BUILD=1 ./gradlew testIntegration-${{ matrix.agp-version }}\n", "state": "active", "repository": "chaquo/chaquopy"}
{"mined_at": "2024-07-15T13:09:08.173042", "created_at": "2021-02-13T16:46:00+01:00", "updated_at": "2022-02-16T04:56:00+01:00", "name": "Python tests", "path": ".github/workflows/python-tests.yaml", "contents": "name: Python tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version:\n          - 3.9\n          - '3.10'\n          - '3.11'\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: make ce\n      - name: Setup ozy for unified terraform versions etc\n        run: |\n          curl -sL https://raw.githubusercontent.com/aquanauts/ozy/main/conf/install.sh | bash\n          echo \"$HOME/.ozy/bin\" >> $GITHUB_PATH\n      - name: Check static\n        run: make static-checks\n      - name: tests\n        run: make test\n", "state": "active", "repository": "compiler-explorer/infra"}
{"mined_at": "2024-07-15T13:09:09.320806", "created_at": "2021-10-09T17:41:33+02:00", "updated_at": "2021-10-09T17:41:33+02:00", "name": "Start Staging", "path": ".github/workflows/start_staging.yml", "contents": "name: Start Staging\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Branch to stage'\n        default: 'main'\n        required: true\n      buildnumber:\n        description: 'Build number'\n        default: 'latest'\n        required: true\n\njobs:\n  startstaging:\n    runs-on: ['admin']\n\n    steps:\n    - name: Update infra\n      run: cd /home/ubuntu/infra && git pull\n    - name: Set build number\n      run: ce builds set_current ${{ github.event.inputs.buildnumber }} --branch ${{ github.event.inputs.branch }} --confirm\n    - name: Start environment\n      run: ce environment start\n", "state": "active", "repository": "compiler-explorer/infra"}
{"mined_at": "2024-07-15T13:09:10.410618", "created_at": "2021-10-15T16:21:21+02:00", "updated_at": "2021-10-15T16:21:21+02:00", "name": "Compiler discovery", "path": ".github/workflows/compiler-discovery.yml", "contents": "name: Compiler discovery\nrun-name: Discovery for ${{ inputs.environment }} ${{ inputs.branch }} build ${{ inputs.buildnumber }}\n\non:\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: 'Environment'\n        type: choice\n        default: staging\n        required: true\n        options:\n        - staging\n        - beta\n        - prod\n      branch:\n        description: 'Branch'\n        default: 'main'\n        required: true\n      buildnumber:\n        description: 'Build number'\n        default: ''\n        required: true\n      skip_remote_checks:\n        description: 'Comma separated list of remote checks to skip'\n        default: ''\n        type: string\n\njobs:\n  compilerdiscovery:\n    runs-on: ['admin']\n\n    steps:\n    - name: Update infra\n      run: cd /home/ubuntu/infra && git pull && make ce\n    - name: Set build number ${{ github.event.inputs.buildnumber }}\n      run: ce --env runner builds set_current ${{ github.event.inputs.buildnumber }} --branch ${{ github.event.inputs.branch }} --confirm\n    - name: Start runner\n      run: ce runner start\n    - name: Update infra on runner\n      run: ce runner pull\n    - name: Do Compiler discovery\n      run: ce runner discovery\n    - name: Upload discovered compilers\n      run: ce runner uploaddiscovery ${{ github.event.inputs.environment }} --skip-remote-checks='${{ github.event.inputs.skip_remote_checks }}' ${{ github.event.inputs.buildnumber }}\n    - name: Shut down runner\n      run: ce runner stop\n", "state": "active", "repository": "compiler-explorer/infra"}
{"mined_at": "2024-07-15T13:09:11.435291", "created_at": "2022-02-07T00:11:00+01:00", "updated_at": "2022-02-07T00:11:00+01:00", "name": "Squashfs-ify the compilers", "path": ".github/workflows/squash.yml", "contents": "name: Squashfs-ify the compilers\n\non:\n  schedule:\n    - cron: '15 6 * * *'\n  workflow_dispatch:\n    inputs:\n      squash:\n        description: Things to squash (empty means all)\n        default: ''\n        required: false\njobs:\n  squash:\n    runs-on: [ 'self-hosted', 'ce', 'ubuntu' ]\n    steps:\n      - name: Start from a clean directory\n        uses: AutoModality/action-clean@v1.1.0\n      - uses: actions/checkout@v4\n      - name: Set up environment\n        run: make ce\n        # relies on this being empty on cron\n      - name: Squash ${{ github.event.inputs.squash }}\n        run: bin/ce_install squash ${{ github.event.inputs.squash }}\n", "state": "active", "repository": "compiler-explorer/infra"}
{"mined_at": "2024-07-15T13:09:12.678655", "created_at": "2022-02-10T15:15:30+01:00", "updated_at": "2022-02-16T11:39:04+01:00", "name": "Custom compiler build", "path": ".github/workflows/bespoke-build.yaml", "contents": "name: Custom compiler build\nrun-name: Build ${{ inputs.image }} version ${{ inputs.version }} via ${{ inputs.command }}\n\non:\n  workflow_dispatch:\n    inputs:\n      image:\n        type: choice\n        description: Which docker image to use\n        default: gcc\n        required: true\n        options:\n        - gcc\n        - gcc-cross\n        - go\n        - clang\n        - clang-18.04\n        - misc\n        - ocaml\n        - python\n        - ispc\n        - cobol\n        - d8\n        - vala\n        - dotnet\n        - rocm\n        - rust-linux\n        - rust-cg-gcc\n        - nasm\n        - heaptrack\n        - iwyu\n        - pythran\n        - mads\n      version:\n        description: The version to build (or architecture and version for cross)\n        required: true\n      command:\n        description: Build command\n        default: build.sh\n        required: true\njobs:\n  bespoke-build:\n    runs-on: [ 'self-hosted', 'ce', 'ubuntu' ]\n    steps:\n      - name: Start from a clean directory\n        uses: AutoModality/action-clean@v1.1.0\n      - uses: actions/checkout@v4\n      - name: Build ${{ github.event.inputs.image }} ${{ github.event.inputs.version }} using ${{ github.event.inputs.command }}\n        shell: bash\n        id: build\n        run: |\n          mkdir dist\n          chmod og+w dist # some builds don't run as root, so let anyone write here\n          echo ::group::Docker build\n          docker run -v$(pwd)/dist:/dist --rm compilerexplorer/${{ github.event.inputs.image }}-builder \\\n            bash ${{ github.event.inputs.command }} ${{ github.event.inputs.version }} \\\n            /dist | tee output.log\n          echo ::endgroup::\n          echo ::group::Translate docker output into GH variables\n          gawk -e 'match($0, /^ce-build-(\\w+):(.*)/, m) { print m[1] \"=\" m[2]; }' output.log >> \"${GITHUB_OUTPUT}\"\n          echo ::endgroup::\n      - name: Get output filename and s3 dest\n        shell: bash\n        if: ${{ steps.build.outputs.status == 'OK' }}\n        id: filenames\n        run: |\n          echo source=$(pwd)/dist/$(basename ${{ steps.build.outputs.output }}) >> \"${GITHUB_OUTPUT}\"\n          echo s3dest=s3://compiler-explorer/opt/$(basename ${{ steps.build.outputs.output }}) >> \"${GITHUB_OUTPUT}\"\n      - name: Copy output to S3\n        if: ${{ steps.build.outputs.status == 'OK' }}\n        uses: prewk/s3-cp-action@v2\n        with:\n          source: ${{ steps.filenames.outputs.source }}\n          dest: ${{ steps.filenames.outputs.s3dest }}\n          aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n", "state": "active", "repository": "compiler-explorer/infra"}
{"mined_at": "2024-07-15T13:09:13.907624", "created_at": "2023-06-29T23:55:10+02:00", "updated_at": "2023-06-29T23:55:10+02:00", "name": "Force Squashfs-ify a compiler", "path": ".github/workflows/squash-force.yml", "contents": "name: Force Squashfs-ify a compiler\n\non:\n  workflow_dispatch:\n    inputs:\n      squash:\n        description: Things to squash\n        default: ''\n        required: true\njobs:\n  squash:\n    runs-on: [ 'self-hosted', 'ce', 'ubuntu' ]\n    steps:\n      - name: Start from a clean directory\n        uses: AutoModality/action-clean@v1.1.0\n      - uses: actions/checkout@v4\n      - name: Set up environment\n        run: make ce\n      - name: Squash ${{ github.event.inputs.squash }}\n        run: bin/ce_install squash --force ${{ github.event.inputs.squash }}\n", "state": "active", "repository": "compiler-explorer/infra"}
{"mined_at": "2024-07-15T13:09:15.136497", "created_at": "2023-11-21T04:14:19+01:00", "updated_at": "2023-11-21T04:14:19+01:00", "name": "Install compiler(s)", "path": ".github/workflows/install.yml", "contents": "name: Install compiler(s)\nrun-name: Install ${{ inputs.compilers }}\n\non:\n  workflow_dispatch:\n    inputs:\n      compilers:\n        description: Things to install\n        required: true\njobs:\n  install:\n    runs-on: [ 'self-hosted', 'ce', 'ubuntu' ]\n    steps:\n      - name: Start from a clean directory\n        uses: AutoModality/action-clean@v1.1.0\n      - uses: actions/checkout@v4\n      - name: Set up environment\n        run: make ce\n      - name: Install ${{ github.event.inputs.compilers }}\n        run: sudo bin/ce_install --check-user nobody install ${{ github.event.inputs.compilers }}\n", "state": "active", "repository": "compiler-explorer/infra"}
{"mined_at": "2024-07-15T13:09:16.152612", "created_at": "2024-01-21T18:56:01+01:00", "updated_at": "2024-01-21T18:56:01+01:00", "name": "Install Nightly compilers", "path": ".github/workflows/install-nightly-compilers.yaml", "contents": "name: Install Nightly compilers\n\non:\n  schedule:\n    - cron: '30 05 * * *'\n  workflow_dispatch:\n\njobs:\n  install:\n    runs-on: ['admin']\n    steps:\n      - name: Install nightly compilers\n        run: sudo /home/ubuntu/infra/update_compilers/install_compilers.sh nightly\n", "state": "active", "repository": "compiler-explorer/infra"}
{"mined_at": "2024-07-15T13:09:17.170543", "created_at": "2024-06-24T01:12:00+02:00", "updated_at": "2024-06-29T22:51:50+02:00", "name": "Package MS compiler", "path": ".github/workflows/package-ms-compiler.yaml", "contents": null, "state": "active", "repository": "compiler-explorer/infra"}
{"mined_at": "2024-07-15T13:09:19.187515", "created_at": "2024-06-18T12:27:09+02:00", "updated_at": "2024-06-24T15:48:26+02:00", "name": "Deploy Jekyll with GitHub Pages dependencies preinstalled", "path": ".github/workflows/jekyll-gh-pages.yml", "contents": null, "state": "active", "repository": "johnsnowlabs/nlu"}
{"mined_at": "2024-07-15T13:09:20.257226", "created_at": "2020-10-10T01:15:14+02:00", "updated_at": "2020-10-10T01:15:14+02:00", "name": "NLU Tests", "path": ".github/workflows/nlu_test_flow.yaml", "contents": "name: NLU Tests\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      JSL_LICENSE: ${{ secrets.JSL_LICENSE }}\n    strategy:\n      matrix:\n        python-version: [3.7]\n    steps:\n      - uses: actions/setup-java@v1\n        with:\n          java-version: '1.8.0' # The JDK version to make available on the path.\n          java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jd\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pypandoc scikit-learn\n          pip install  wheel  dataclasses pandas numpy pytest modin[ray] pyspark==3.2.0 spark-nlp\n          java -version\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          ! echo 2 |  update-alternatives --config java\n      - name: NLU Chunker Component tests\n        if: always()\n        run: |\n          python -m unittest  discover   -s './tests/nlu_core_tests/component_tests/chunker_tests' -p '*tests.py'\n      - name: NLU Classifier Cyber tests -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/cyber_tests.py'\n      - name: NLU Classifier E2E tests -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/e2e_tests.py'\n      - name: NLU Classifier Emotion tests -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/emotion_tests.py'\n      - name: NLU Classifier Language tests -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/language_tests.py'\n      - name: NLU Classifier NER tests -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/ner_tests.py'\n      - name: NLU Classifier POS tests -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/pos_tests.py'\n      - name: NLU Classifier Question tests -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/question_tests.py'\n      - name: NLU Classifier Sarcasm tests -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/sarcasm_tests.py'\n      - name: NLU Classifier Sentiment tests -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/sentiment_tests.py'\n      - name: NLU Classifier Sentiment test Imdb -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/sentiment_test_imdb.py'\n      - name: NLU Classifier Sentiment test Twitter -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/sentiment_test_twitter.py'\n      - name: NLU Classifier Spam tests -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/spam_tests.py'\n      - name: NLU Classifier Toxic tests -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/toxic_tests.py'\n      - name: NLU Classifier YAKE tests -\n        if: always()\n        run: |\n          python -m unittest  'tests/nlu_core_tests/component_tests/classifier_tests/yake_tests.py'\n#      - name: NLU Embed Component tests\n#        if: always()\n#        run: |\n#          python -m unittest  discover   -s './tests/nlu_core_tests/component_tests/embed_tests' -p '*tests.py'\n      - name: NLU Text Cleaner Component tests -\n        if: always()\n        run: |\n          python -m unittest  discover   -s './tests/nlu_core_tests/component_tests/pre_processing_tests' -p '*tests.py'\n#      - name: NLU Matcher Component tests # not yet converted in Spark 3\n#        if: always()\n#        run: |\n#          python -m unittest  discover   -s 'tests/nlu_core_tests/component_tests/matcher_tests' -p '*tests.py'\n      - name: NLU Typed Dependency Component tests -\n        if: always()\n        run: |\n          python -m unittest  discover   -s './tests/nlu_core_tests/component_tests/typed_dependency_tests' -p '*tests.py'\n      - name: NLU Untyped Dependency Component tests -\n        if: always()\n        run: |\n          python -m unittest  discover   -s './tests/nlu_core_tests/component_tests/untyped_dependency_tests' -p '*tests.py'\n      - name: NLU Pipe tests\n        if: always()\n        run: |\n          python -m unittest  discover   -s './tests/nlu_core_tests/pipeline_tests' -p '*tests.py'\n      - name: NLU Training sentiment tests\n        if: always()\n        run: |\n          python -m unittest  discover   -s './tests/nlu_core_tests/training_tests/classifiers' -p '*sentiment_dl*.py'\n      # Too hevy for Github actions\n      #      - name: NLU Training classifier tests\n      #        if: always()\n      #        run: |\n      #          python -m unittest  discover   -s './tests/nlu_core_tests/training_tests/classifiers' -p '*classifier_dl*.py'\n#      - name: NLU Training multi classifier tests\n#        if: always()\n#        run: |\n#          python -m unittest  discover   -s './tests/nlu_core_tests/training_tests/classifiers' -p '*multi*.py'\n#      - name: NLU Training NER tests\n#        if: always()\n#        run: |\n#          python -m unittest  discover   -s './tests/nlu_core_tests/training_tests/classifiers' -p '*ner*.py'\n      - name: NLU Training POS tests\n        if: always()\n        run: |\n          python -m unittest  discover   -s './tests/nlu_core_tests/training_tests/classifiers' -p '*pos*.py'\n#      - name: NLU Healthcare Verification tests\n#        if: always()\n#        run: |\n#          python -m unittest  discover  -s ./tests/nlu_hc_tests -p 'verification_tests.py'\n#      - name: NLU OCR tests\n#        if: always()\n#        run: |\n#          python -m unittest  discover  -s ./tests/nlu_ocr_tests -p '*tests.py'\n#      - name: NLU Healthcare Assertion DL tests\n#        if: always()\n#        run: |\n#          python -m unittest  discover  -s ./tests/nlu_hc_tests/component_tests/assertion_dl -p '*tests.py'\n##      - name: NLU Healthcare Contextual Parser tests\n##        if: always()\n##        run: |\n##          python -m unittest  discover  -s ./tests/nlu_hc_tests/component_tests/contextual_parser -p '*tests.py'\n#      - name: NLU Healthcare De Identification tests\n#        if: always()\n#        run: |\n#          python -m unittest  discover  -s ./tests/nlu_hc_tests/component_tests/de_identification -p '*tests.py'\n#      - name: NLU Healthcare Drug Normalizer tests\n#        if: always()\n#        run: |\n#          python -m unittest  'tests/nlu_hc_tests/component_tests/drug_normalizer/drug_normalizer_test.py'\n#      - name: NLU Healthcare Generic Classifier tests\n#        if: always()\n#        run: |\n#          python -m unittest  discover  -s ./tests/nlu_hc_tests/component_tests/generic_classifier -p '*tests.py'\n#      - name: NLU Healthcare Licensed Classifier tests\n#        if: always()\n#        run: |\n#          python -m unittest  discover  -s ./tests/nlu_hc_tests/component_tests/licensed_classifier -p '*tests.py'\n#      - name: NLU Healthcare Relation Extraction tests\n#        if: always()\n#        run: |\n#          python -m unittest  discover  -s ./tests/nlu_hc_tests/component_tests/relation_extraction -p '*tests.py'\n#      - name: NLU Healthcare Sentence Entity Resolver tests\n#        if: always()\n#        run: |\n#          python -m unittest  discover  -s ./tests/nlu_hc_tests/component_tests/sentence_entity_resolver -p '*tests.py'\n##      - name: NLU Healthcare Pipe tests\n##        if: always()\n##        run: |\n##          python -m unittest  discover  -s ./tests/nlu_hc_tests/pipe_tests -p '*tests.py'\n##      - name: NLU Healthcare Training Chunk Resolution tests\n##        if: always()\n##        run: |\n##          python -m unittest  discover  -s ./tests/nlu_hc_tests/training_tests/chunk_resolution -p '*tests.py'\n#      - name: NLU Healthcare Training Sentence Resolution tests\n#        if: always()\n#        run: |\n#          python -m unittest  discover  -s ./tests/nlu_hc_tests/training_tests/sentence_resolution -p '*tests.py'\n##      - name: NLU Saving and Loading tests\n##        if: always()\n##        run: |\n##          python -m unittest  discover   -s './tests/nlu_core_tests/training_tests/trained_pipe_tests' -p '*tests.py'\n##      - name: NLU Modin tests\n##        if: always()\n##        run: |\n##          python -m unittest  discover   -s './tests/modin' -p '*tests.py'\n", "state": "active", "repository": "johnsnowlabs/nlu"}
{"mined_at": "2024-07-15T13:09:22.468767", "created_at": "2023-07-15T21:57:52+02:00", "updated_at": "2023-07-15T21:57:52+02:00", "name": "C++ tests", "path": ".github/workflows/cpp.yml", "contents": null, "state": "active", "repository": "mir-group/flare"}
{"mined_at": "2024-07-15T13:09:23.620313", "created_at": "2022-02-10T17:17:27+01:00", "updated_at": "2022-11-28T22:12:16+01:00", "name": "flare", "path": ".github/workflows/flare.yml", "contents": "# Adapted from: https://github.com/satu0king/Github-Documentation-With-Doxygen\n# This is a basic workflow to help you get started with Actions\n\nname: flare\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the master branch\non: [push, pull_request]\n\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    strategy:\n      matrix:\n        omp: [OFF, ON]\n        lapack: [OFF, ON]\n        python-version: [\"3.7\", \"3.8\"]\n    name: \"(OpenMP, Lapack, Python) =\"\n\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    env:\n      BUILD_DIR: build_${{ matrix.omp }}_${{ matrix.lapack }}\n      CC: gcc-9\n      CXX: g++-9\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Build\n      run: |\n        sudo apt install liblapacke liblapacke-dev\n        mkdir ${BUILD_DIR}\n        cd ${BUILD_DIR}\n\n        if [ \"${{ matrix.omp }}\" = \"ON\" ]; then\n          unset NO_OMP\n        else\n          export NO_OMP=1\n        fi\n\n        if [ \"${{ matrix.lapack }}\" = \"ON\" ]; then\n          unset NO_LAPACK\n        else\n          export NO_LAPACK=1\n        fi\n\n        echo \"OpenMP ${{ matrix.omp }}\"\n        echo \"Lapack ${{ matrix.lapack }}\"\n\n        cmake ..\n        cmake --build . -j4\n        cp _C_flare* ../flare/bffs/sgp\n        cd ctests\n        ./tests\n\n    - name: Install LAMMPS\n      run: |\n        git clone --depth 1 https://github.com/lammps/lammps.git lammps\n\n        cd lammps/src\n        cp pair_hybrid.* pair_lj_cut.* ..\n        rm pair_*.cpp pair_*.h\n        mv ../pair_hybrid.* ../pair_lj_cut.* .\n        cp MANYBODY/pair_tersoff.* .\n        rm MANYBODY/pair_*.*\n        rm MANYBODY/fix_*.*\n        mv pair_tersoff.* MANYBODY/\n        cp KOKKOS/pair_kokkos.* .\n        rm KOKKOS/pair_*.*\n        mv pair_kokkos.* KOKKOS/\n        cd ../..\n\n        cd lammps_plugins\n        ./install.sh $(pwd)/../lammps\n        cd ..\n        sudo cp -r ${BUILD_DIR}/External/Eigen3/Eigen /usr/include\n        cd lammps\n        mkdir build\n        cd build\n        cmake ../cmake -DPKG_KOKKOS=ON -DKokkos_ENABLE_OPENMP=ON -DPKG_MANYBODY=ON\n        make -j4\n\n    - name: Pip install\n      run: |\n        pip install -U codecov pytest pytest-cov pytest_mock Sphinx sphinx-rtd-theme breathe nbsphinx\n        pip install -r requirements.txt\n\n    - name: Patch ASE\n      run: |\n        ase_file=\"$(dirname $(python3 -c 'import ase; print(ase.__file__)'))/calculators/lammpsrun.py\"\n        sed -i 's/line.startswith(_custom_thermo_mark)/line.strip\\(\\).startswith\\(\"Step\"\\)/g' $ase_file\n\n    - name: Run tests\n      run: |\n        export lmp=$(pwd)/lammps/build/lmp\n        cd tests\n        pytest\n\n    - name: Run LAMMPS tests with Kokkos\n      run: |\n        export lmp=\"$(pwd)/lammps/build/lmp -k on t 4 -sf kk -pk kokkos newton on neigh full\"\n        cd tests\n        pytest test_lammps.py\n\n    - name: Install Sphinx and Breathe\n      run: |\n        sudo apt-get update\n        sudo apt-get install python3-sphinx python3-sphinx-rtd-theme python3-breathe python3-nbsphinx\n\n    - name: Run Doxygen\n      uses: mattnotmitt/doxygen-action@v1.1.0\n      with:\n        # Path to Doxyfile\n        doxyfile-path: \"./Doxyfile\" # default is ./Doxyfile\n        # Working directory\n        working-directory: \"./docs\" # default is .\n\n    - name: Run Sphinx\n      run: |\n        export PYTHONPATH=$PYTHONPATH:$PWD/lammps/python\n        cd docs\n        pwd\n        ls\n        make html\n\n    - name: Publish the docs\n      uses: peaceiris/actions-gh-pages@v3\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        # Default Doxyfile build documentation to html directory.\n        # Change the directory if changes in Doxyfile\n        publish_dir: ./docs/build/html\n      if: github.event_name == 'pull_request' && matrix.lapack == 'on' && matrix.omp == 'on'\n\n#     - name: Run tutorial\n#       run: |\n#         cd tests\n#         # Download colab notebook\n#         export fileid=\"18_pTcWM19AUiksaRyCgg9BCpVyw744xv\"\n#         wget -O tutorial.ipynb 'https://docs.google.com/uc?export=download&id='${fileid}\n#         # Convert notebook into python script\n#         pip install -U jupyter nbconvert\n#         jupyter nbconvert --to script tutorial.ipynb\n#         # Remove bash commands in the notebook\n#         sed '/!/d' tutorial.txt > tutorial.py\n#         cat test_tutorial.py tutorial.py > tuttest.py\n#         # Download datasets needed for the tutorial\n#         wget http://quantum-machine.org/gdml/data/npz/aspirin_dft.npz\n#         wget https://www.ctcms.nist.gov/potentials/Download/1999--Mishin-Y-Farkas-D-Mehl-M-J-Papaconstantopoulos-D-A--Al/2/Al99.eam.alloy\n#         # Run script\n#         pytest -s tuttest.py\n#         # Remove output files\n#         rm Al* aspirin_dft.npz tutorial.ipynb tuttest.py tutorial.py tutorial.txt\n", "state": "active", "repository": "mir-group/flare"}
{"mined_at": "2024-07-15T13:09:24.647041", "created_at": "2022-03-01T20:06:17+01:00", "updated_at": "2022-03-01T20:06:17+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mir-group/flare"}
{"mined_at": "2024-07-15T13:09:26.914179", "created_at": "2020-12-15T01:28:12+01:00", "updated_at": "2021-11-02T16:35:13+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  python-tests:\n    name: python\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.4.1\n        with:\n          access_token: ${{ github.token }}\n\n      - name: Checkout The Walrus\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install pytest pytest-cov pytest-randomly wheel codecov\n\n      - name: Install The Walrus\n        run: |\n          pip install -e .\n\n      - name: Run tests\n        run: python3 -m pytest thewalrus --randomly-seed=137 --cov=thewalrus --cov-report term-missing --cov-report=html:coverage_html_report --cov-report=xml:coverage.xml\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage.xml\n          fail_ci_if_error: true\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "xanaduai/thewalrus"}
{"mined_at": "2024-07-15T13:09:28.142292", "created_at": "2021-10-27T21:40:18+02:00", "updated_at": "2021-11-02T16:43:14+01:00", "name": "format", "path": ".github/workflows/format.yml", "contents": "name: format\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.4.1\n        with:\n          access_token: ${{ github.token }}\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n\n      - name: Install dependencies\n        run:\n            python -m pip install --upgrade pip\n            pip install black\n\n      - uses: actions/checkout@v2\n\n      - name: Run Black\n        run: black -l 100 thewalrus/ --check\n", "state": "active", "repository": "xanaduai/thewalrus"}
{"mined_at": "2024-07-15T13:09:30.291009", "created_at": "2023-09-08T18:55:12+02:00", "updated_at": "2023-09-08T18:55:12+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "gamesdonequick/donation-tracker"}
{"mined_at": "2024-07-15T13:09:32.322689", "created_at": "2022-11-10T17:20:15+01:00", "updated_at": "2023-05-10T15:10:22+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: \"43 20 * * 1\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "reactionmechanismgenerator/arc"}
{"mined_at": "2024-07-15T13:09:33.311858", "created_at": "2021-01-19T07:53:50+01:00", "updated_at": "2023-04-08T09:48:24+02:00", "name": "CI", "path": ".github/workflows/cont_int.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - '*'\n  pull_request:\n    branches:\n      - main\n    types: [opened, synchronize, reopened, ready_for_review, review_requested]\n  schedule:\n    - cron: '0 0 * * *'\n\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    steps:\n    - name: Checkout ARC\n      uses: actions/checkout@v3\n\n    - name: Clean Ubuntu Image\n      uses: kfir4444/free-disk-space@main\n      with:\n        # This may remove tools actually needed - currently does not\n        tool-cache: true\n        android: true\n        dotnet: true\n        haskell: true\n        large-packages: true\n        swap-storage: true\n\n    - name: Cache RMG-Py\n      id: cache-rmg-py\n      uses: actions/cache@v2\n      with:\n        path: RMG-Py\n        key: ${{ runner.os }}-rmg-main\n        restore-keys: |\n          ${{ runner.os }}-rmg-\n\n    - name: Checkout RMG-py\n      if: steps.cache-rmg-py.outputs.cache-hit != 'true'\n      uses: actions/checkout@v3\n      with:\n        repository: ReactionMechanismGenerator/RMG-Py\n        path: RMG-Py\n        ref: main\n        fetch-depth: 1\n\n    - name: Cache RMG-database\n      id: cache-rmg-db\n      uses: actions/cache@v2\n      with:\n          path: RMG-database\n          key: ${{ runner.os }}-rmgdb-main\n          restore-keys: |\n            ${{ runner.os }}-rmgdb-\n    - name: Checkout RMG-database\n      if: steps.cache-rmg-db.outputs.cache-hit != 'true'\n      uses: actions/checkout@v3\n      with:\n        repository: ReactionMechanismGenerator/RMG-database\n        path: RMG-database\n        ref: main\n        fetch-depth: 1\n\n    - name: Cache AutoTST\n      id: cache-autotst\n      uses: actions/cache@v2\n      with:\n          path: AutoTST\n          key: ${{ runner.os }}-autotst-main\n          restore-keys: |\n            ${{ runner.os }}-autotst-\n    - name: Checkout AutoTST\n      if: steps.cache-autotst.outputs.cache-hit != 'true'\n      uses: actions/checkout@v3\n      with:\n        repository: ReactionMechanismGenerator/AutoTST\n        path: AutoTST\n        ref: main\n        fetch-depth: 1\n\n    - name: Cache TS-GCN\n      id: cache-tsgcn\n      uses: actions/cache@v2\n      with:\n          path: TS-GCN\n          key: ${{ runner.os }}-tsgcn-main\n          restore-keys: |\n            ${{ runner.os }}-tsgcn-\n    - name: Checkout TS-GCN\n      if: steps.cache-tsgcn.outputs.cache-hit != 'true'\n      uses: actions/checkout@v3\n      with:\n        repository: ReactionMechanismGenerator/TS-GCN\n        path: TS-GCN\n        ref: main\n        fetch-depth: 1\n    \n    - name: Cache KinBot\n      id: cache-kinbot\n      uses: actions/cache@v2\n      with:\n          path: KinBot\n          key: ${{ runner.os }}-kinbot-2.0.6\n          restore-keys: |\n            ${{ runner.os }}-kinbot-\n\n    - name: Checkout Kinbot 2.0.6\n      if: steps.cache-kinbot.outputs.cache-hit != 'true'\n      uses: actions/checkout@v3\n      with:\n        repository: zadorlab/KinBot\n        path: KinBot\n        ref: v2.0.6\n        fetch-depth: 1\n\n    - name: Cache Packages\n      uses: actions/cache@v2\n      env:\n        CACHE_NUMBER: 0\n      with:\n        path: ~/conda_pkgs_dir\n        key:\n          ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}\n    - name: Setup ARC Env\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          activate-environment: arc_env\n          use-mamba: true\n\n    - name: Cache ARC env\n      uses: actions/cache@v2\n      with:\n        path: ${{ env.CONDA }}/envs/arc_env\n        key: conda-${{ runner.os }}--${{ runner.arch }}-arcenv-${{ env.CACHE_NUMBER}}\n      env:\n        # Increase this value to reset cache if etc/example-environment.yml has not changed\n        CACHE_NUMBER: 0\n      id: cache-arc-env\n    - name: Update environment\n      run: mamba env update -n arc_env -f environment.yml\n      if: steps.cache-arc-env.outputs.cache-hit != 'true'\n\n    - name: Install codecov\n      run: mamba install -y -c conda-forge codecov\n\n    - name: Cythonize RMG-Py\n      run: |\n        cd RMG-Py\n        echo 'export PYTHONPATH=$PYTHONPATH:'\"$(pwd)\" >> $GITHUB_ENV\n        echo 'export PATH=$PATH:'\"$(pwd)\" >> $GITHUB_ENV\n        echo 'export PYTHONPATH=$PYTHONPATH:'\"$(pwd)\" >> ~/.bashrc\n        echo 'export PATH=$PATH:'\"$(pwd)\" >> ~/.bashrc\n        make\n        cd ..\n  \n    - name: Set ARC Path\n      run: |\n        echo 'export PYTHONPATH=$PYTHONPATH:'\"$(pwd)\" >> $GITHUB_ENV\n        echo 'export PATH=$PATH:'\"$(pwd)\" >> $GITHUB_ENV\n        echo 'export PYTHONPATH=$PYTHONPATH:'\"$(pwd)\" >> ~/.bashrc\n        echo 'export PATH=$PATH:'\"$(pwd)\" >> ~/.bashrc\n        \n    - name: Install AutoTST\n      run: |\n        cd AutoTST\n        echo 'export PYTHONPATH=$PYTHONPATH:'\"$(pwd)\" >> $GITHUB_ENV\n        echo 'export PATH=$PATH:'\"$(pwd)\" >> $GITHUB_ENV\n        echo 'export PYTHONPATH=$PYTHONPATH:'\"$(pwd)\" >> ~/.bashrc\n        echo 'export PATH=$PATH:'\"$(pwd)\" >> ~/.bashrc\n        mamba env create -f environment.yml\n        # install pyaml\n        mamba install -n tst_env -c conda-forge -y pyyaml\n        cd ..\n    \n    - name: Install TS-GCN\n      run: |\n        cd TS-GCN\n        echo 'export PYTHONPATH=$PYTHONPATH:'\"$(pwd)\" >> $GITHUB_ENV\n        echo 'export PATH=$PATH:'\"$(pwd)\" >> $GITHUB_ENV\n        echo 'export PYTHONPATH=$PYTHONPATH:'\"$(pwd)\" >> ~/.bashrc\n        echo 'export PATH=$PATH:'\"$(pwd)\" >> ~/.bashrc\n        bash devtools/create_env_cpu.sh\n        mamba env update -n ts_gcn -f environment.yml\n        cd ..\n    \n    - name: Install KinBot\n      run: |\n        cd KinBot\n        conda activate arc_env\n        echo 'export PYTHONPATH=$PYTHONPATH:'\"$(pwd)\" >> $GITHUB_ENV\n        echo 'export PATH=$PATH:'\"$(pwd)\" >> $GITHUB_ENV\n        echo 'export PYTHONPATH=$PYTHONPATH:'\"$(pwd)\" >> ~/.bashrc\n        echo 'export PATH=$PATH:'\"$(pwd)\" >> ~/.bashrc\n        python setup.py build\n        python setup.py install\n        cd ..\n\n    - name: Install OpenBabel\n      run: |\n        mamba env create -f devtools/ob_environment.yml\n\n    - name: Install Sella\n      run: |\n        mamba env create -f devtools/sella_environment.yml\n\n    - name: Install Torch Ani\n      run: |\n        mamba env create -f devtools/tani_environment.yml\n  \n    - name: Install XTB\n      run: |\n        mamba env create -f devtools/xtb_environment.yml\n    \n    - name: Test with pytest\n      shell: bash -el {0} \n      run: |\n        source ~/.bashrc\n        conda activate arc_env\n        make test\n        codecov --token=f259713a-7f1d-4e9c-b140-bb3bb371d3ef\n\n    - name: Functional Test\n      run: |\n        source ~/.bashrc\n        conda activate arc_env\n        make test-functional\n    # Wait ten seconds before running the next step\n    - name: Wait\n      run: sleep 10\n\n    - name: Code Coverage\n      uses: codecov/codecov-action@v3\n      with:\n        token: f259713a-7f1d-4e9c-b140-bb3bb371d3ef\n        file: ./coverage.xml\n        flags: unittests\n        name: codecov-umbrella\n        verbose: true\n        fail_ci_if_error: false\n", "state": "active", "repository": "reactionmechanismgenerator/arc"}
{"mined_at": "2024-07-15T13:09:34.376996", "created_at": "2023-11-02T20:37:59+01:00", "updated_at": "2023-11-02T20:37:59+01:00", "name": "Docker Image Build and Push", "path": ".github/workflows/docker_build.yml", "contents": "name: Docker Image Build and Push\n\non:\n  schedule:\n    - cron: \"0 0 */7 * *\" # every 7 days\n  push:\n    branches:\n      - main\n    paths:\n      - \"Dockerfile\"\n      - \".github/workflows/docker_build.yml\"\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"Dockerfile\"\n      - \".github/workflows/docker_build.yml\"\n    types: [opened, synchronize, reopened, ready_for_review]\n  #workflow_dispatch: # Add this line to enable manual trigger\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          tool-cache: false\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: true\n          docker-images: false\n          swap-storage: true\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Build Docker Image (No Push)\n        if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref != 'refs/heads/main')\n        uses: docker/build-push-action@v5.1.0\n        with:\n          context: .\n          file: ./Dockerfile\n          push: false\n\n      - name: Login to Docker Hub\n        if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n        uses: docker/login-action@v3.0.0\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Set up Docker Buildx\n        if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n        uses: docker/setup-buildx-action@v3.0.0\n\n      - name: Build and Push Docker Image\n        if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n        uses: docker/build-push-action@v5.1.0\n        with:\n          context: .\n          file: ./Dockerfile\n          push: true\n          tags: ${{ secrets.DOCKERHUB_USERNAME }}/arc:latest\n", "state": "active", "repository": "reactionmechanismgenerator/arc"}
{"mined_at": "2024-07-15T13:09:35.510177", "created_at": "2021-02-07T16:54:58+01:00", "updated_at": "2023-05-10T15:10:22+02:00", "name": "github pages", "path": ".github/workflows/gh-pages.yml", "contents": "name: github pages\n\non:\n  push:\n    branches:\n      - main\n      - docs\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Setup Mambaforge Python 3.7\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        environment-file: environment.yml\n        miniforge-variant: Mambaforge\n        miniforge-version: latest\n        activate-environment: arc_env\n        python-version: 3.7\n        use-mamba: true\n\n    - name: Update environment\n      run: |\n        mamba env update -n arc_env -f environment.yml\n        conda list\n\n    - name: Install LaTeX\n      run: |\n        sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y\n        sudo apt install texlive-latex-base -y\n        sudo apt-get install texlive-latex-extra -y\n        sudo apt-get install -y dvipng\n\n\n    - name: Install codecov\n      run: mamba install -y -c conda-forge codecov\n\n    - name: Install dependencies\n      run: |\n        export PYTHONPATH=$PYTHONPATH:$(pwd)\n        conda activate arc_env\n        cd ..\n        git clone https://github.com/ReactionMechanismGenerator/RMG-database\n        git clone https://github.com/ReactionMechanismGenerator/RMG-Py\n        cd RMG-Py\n        export PYTHONPATH=$PYTHONPATH:$(pwd)\n        make\n        cd ../ARC/\n        conda deactivate\n\n    - name: Compile docs\n      run: |\n        export PYTHONPATH=$PYTHONPATH:$(pwd)\n        conda activate arc_env\n        cd ../RMG-Py\n        export PYTHONPATH=$PYTHONPATH:$(pwd)\n        cd ../ARC/docs/\n        make html\n\n    - name: Deploy\n      uses: peaceiris/actions-gh-pages@v3.7.3\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: ./docs/build/html/\n\n# https://github.com/marketplace/actions/github-pages-action\n", "state": "active", "repository": "reactionmechanismgenerator/arc"}
{"mined_at": "2024-07-15T13:09:36.742902", "created_at": "2021-01-18T20:56:06+01:00", "updated_at": "2021-01-18T20:56:06+01:00", "name": "Labeler", "path": ".github/workflows/labeler.yml", "contents": "# This workflow will triage pull requests and apply a label based on the\n# paths that are modified in the pull request.\n# See: https://github.com/actions/labeler/blob/main/README.md\n\nname: Labeler\non: [pull_request]\n\njobs:\n  label:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/labeler@v2\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "reactionmechanismgenerator/arc"}
{"mined_at": "2024-07-15T13:09:37.769947", "created_at": "2023-05-21T12:15:18+02:00", "updated_at": "2023-05-21T12:15:18+02:00", "name": "Update cache", "path": ".github/workflows/update-cache.yml", "contents": "name: Update cache\n\non:\n  schedule:\n    - cron: \"0 0 */7 * *\"\n  push:\n    branches:\n      - main\n\njobs:\n  update_cache:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n          shell: bash -el {0}\n    steps:\n      - name: Checkout ARC\n        uses: actions/checkout@v3\n        \n      - name: Cache RMG\n        id: cache-rmg\n        uses: actions/cache@v2\n        with:\n            path: RMG-Py\n            key: ${{ runner.os }}-rmg-main\n\n      - name: Checkout RMG\n        uses: actions/checkout@v3\n        with:\n            repository: ReactionMechanismGenerator/RMG-Py\n            path: RMG-Py\n            ref: main\n            fetch-depth: 1\n\n      - name: Cache RMG-database\n        id: cache-rmg-db\n        uses: actions/cache@v2\n        with:\n            path: RMG-database\n            key: ${{ runner.os }}-rmgdb-main\n\n      - name: Checkout RMG-database\n        uses: actions/checkout@v3\n        with:\n            repository: ReactionMechanismGenerator/RMG-database\n            path: RMG-database\n            ref: main\n            fetch-depth: 1\n        \n      - name: Cache AutoTST\n        id: cache-autotst\n        uses: actions/cache@v2\n        with:\n            path: AutoTST\n            key: ${{ runner.os }}-autotst-main\n            restore-keys: |\n                ${{ runner.os }}-autotst-\n      - name: Checkout AutoTST\n        if: steps.cache-autotst.outputs.cache-hit != 'true'\n        uses: actions/checkout@v3\n        with:\n            repository: ReactionMechanismGenerator/AutoTST\n            path: AutoTST\n            ref: main\n            fetch-depth: 1\n    \n      - name: Cache TS-GCN\n        id: cache-tsgcn\n        uses: actions/cache@v2\n        with:\n            path: TS-GCN\n            key: ${{ runner.os }}-tsgcn-main\n            restore-keys: |\n                ${{ runner.os }}-tsgcn-\n      - name: Checkout TS-GCN\n        if: steps.cache-tsgcn.outputs.cache-hit != 'true'\n        uses: actions/checkout@v3\n        with:\n            repository: ReactionMechanismGenerator/TS-GCN\n            path: TS-GCN\n            ref: main\n            fetch-depth: 1\n        \n      - name: Cache KinBot\n        id: cache-kinbot\n        uses: actions/cache@v2\n        with:\n            path: KinBot\n            key: ${{ runner.os }}-kinbot-2.0.6\n            restore-keys: |\n                ${{ runner.os }}-kinbot-\n    \n      - name: Checkout Kinbot 2.0.6\n        if: steps.cache-kinbot.outputs.cache-hit != 'true'\n        uses: actions/checkout@v3\n        with:\n            repository: zadorlab/KinBot\n            path: KinBot\n            ref: v2.0.6\n            fetch-depth: 1\n    \n      - name: Cache Packages Packages\n        uses: actions/cache@v2\n        env:\n            CACHE_NUMBER: 0\n        with:\n            path: ~/conda_pkgs_dir\n            key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}\n      - name: Setup ARC Env\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n            miniforge-variant: Mambaforge\n            miniforge-version: latest\n            activate-environment: arc_env\n            use-mamba: true\n    \n      - name: Cache ARC env\n        uses: actions/cache@v2\n        with:\n            path: ${{ env.CONDA }}/envs\n            key: conda-${{ runner.os }}--${{ runner.arch }}--${{ env.CACHE_NUMBER}}\n        env:\n            # Increase this value to reset cache if etc/example-environment.yml has not changed\n            CACHE_NUMBER: 0\n        id: cache-arc-env\n      - name: Update environment\n        run: mamba env update -n arc_env -f environment.yml\n        if: steps.cache-arc-env.outputs.cache-hit != 'true'\n", "state": "active", "repository": "reactionmechanismgenerator/arc"}
{"mined_at": "2024-07-15T13:09:38.805789", "created_at": "2021-12-18T11:14:35+01:00", "updated_at": "2021-12-18T11:14:35+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "reactionmechanismgenerator/arc"}
{"mined_at": "2024-07-15T13:09:40.942229", "created_at": "2020-08-29T00:16:07+02:00", "updated_at": "2023-09-28T05:13:35+02:00", "name": "Tests", "path": ".github/workflows/actions.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n  release:\n    types: [created]\njobs:\n  build:\n    name: Run tests\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        python -m pip install --upgrade pip setuptools\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n    - name: Install dependencies\n      run: |\n        pip install tensorflow\n        pip install -e \".[tests]\" --progress-bar off\n    - name: Test with pytest\n      run: |\n        pytest --cov=autokeras --cov-report xml:coverage.xml\n    - name: Codecov\n      uses: codecov/codecov-action@v3\n  format:\n    name: Check the code format\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Run pre-commit\n        run: bash shell/pre-commit.sh\n  build-docs:\n    name: Build the docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools\n          pip install tensorflow\n          pip install -e .\n          pip install -r docs/requirements.txt\n      - name: Build the docs\n        run: |\n          cd docs\n          python autogen.py\n          mkdocs build\n  deploy:\n    needs: [build, format, build-docs]\n    if: github.event_name == 'release' && github.event.action == 'created'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "keras-team/autokeras"}
{"mined_at": "2024-07-15T13:09:42.170682", "created_at": "2022-02-03T03:24:14+01:00", "updated_at": "2022-02-03T03:24:14+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "keras-team/autokeras"}
{"mined_at": "2024-07-15T13:09:43.298443", "created_at": "2023-06-29T22:16:03+02:00", "updated_at": "2023-07-12T00:01:39+02:00", "name": ".github/workflows/main.yml", "path": ".github/workflows/main.yml", "contents": null, "state": "active", "repository": "keras-team/autokeras"}
{"mined_at": "2024-07-15T13:09:44.415973", "created_at": "2023-08-10T00:33:46+02:00", "updated_at": "2023-08-10T00:33:46+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "keras-team/autokeras"}
{"mined_at": "2024-07-15T13:09:47.611728", "created_at": "2020-04-22T14:40:06+02:00", "updated_at": "2022-11-18T20:56:12+01:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non: [push, pull_request]\n\njobs:\n  build:\n    name: Build Docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox\n\n      - name: Build docs\n        run: |\n          tox -e docs\n\n      - name: Slack Notification\n        uses: homoluctus/slatify@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: '*Docs*'\n          commit: true\n          url: ${{ secrets.SLACK_BUILD_WEBHOOK }}\n          token: ${{ secrets.SLACK_GITHUB_TOKEN }}\n\n      - name: Preserve Docs\n        if: ${{ github.event_name == 'push' }}\n        run: |\n          tar -czvf docs.tar.gz -C docs/_build html rtdpage\n\n      - name: Save artifact\n        if: ${{ github.event_name == 'push' }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: docs\n          path: ./docs.tar.gz\n\n  deploy:\n    name: Deploy Docs\n    needs: build\n    runs-on: ubuntu-latest\n    env:\n      DOCS_REPO: platformio/platformio-docs\n      DOCS_DIR: platformio-docs\n      LATEST_DOCS_DIR: latest-docs\n      RELEASE_BUILD: ${{ startsWith(github.ref, 'refs/tags/v') }}\n    if: ${{ github.event_name == 'push' }}\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@v3\n        with:\n          name: docs\n      - name: Unpack artifact\n        run: |\n          mkdir ./${{ env.LATEST_DOCS_DIR }}\n          tar -xzf ./docs.tar.gz -C ./${{ env.LATEST_DOCS_DIR }}\n      - name: Delete Artifact\n        uses: geekyeggo/delete-artifact@v2\n        with:\n          name: docs\n      - name: Select Docs type\n        id: get-destination-dir\n        run: |\n          if [[ ${{ env.RELEASE_BUILD }} == true ]]; then\n            echo \"::set-output name=dst_dir::stable\"\n          else\n            echo \"::set-output name=dst_dir::latest\"\n          fi\n      - name: Checkout latest Docs\n        continue-on-error: true\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ env.DOCS_REPO }}\n          path: ${{ env.DOCS_DIR }}\n          ref: gh-pages\n      - name: Synchronize Docs\n        run: |\n          rm -rf ${{ env.DOCS_DIR }}/.git\n          rm -rf ${{ env.DOCS_DIR }}/en/${{ steps.get-destination-dir.outputs.dst_dir }}\n          mkdir -p ${{ env.DOCS_DIR }}/en/${{ steps.get-destination-dir.outputs.dst_dir }}\n          cp -rf ${{ env.LATEST_DOCS_DIR }}/html/* ${{ env.DOCS_DIR }}/en/${{ steps.get-destination-dir.outputs.dst_dir }}\n          if [[ ${{ env.RELEASE_BUILD }} == false ]]; then\n            rm -rf ${{ env.DOCS_DIR }}/page\n            mkdir -p ${{ env.DOCS_DIR }}/page\n            cp -rf ${{ env.LATEST_DOCS_DIR }}/rtdpage/* ${{ env.DOCS_DIR }}/page\n          fi\n      - name: Validate Docs\n        run: |\n          if [ -z \"$(ls -A ${{ env.DOCS_DIR }})\" ]; then\n             echo \"Docs folder is empty. Aborting!\"\n             exit 1\n          fi\n      - name: Deploy to Github Pages\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          personal_token: ${{ secrets.DEPLOY_GH_DOCS_TOKEN }}\n          external_repository: ${{ env.DOCS_REPO }}\n          publish_dir: ./${{ env.DOCS_DIR }}\n          commit_message: Sync Docs\n", "state": "active", "repository": "platformio/platformio-core"}
{"mined_at": "2024-07-15T13:09:49.705888", "created_at": "2020-04-22T15:47:32+02:00", "updated_at": "2020-04-22T15:47:32+02:00", "name": "Core", "path": ".github/workflows/core.yml", "contents": "name: Core\n\non: [push, pull_request]\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, windows-latest, macos-latest]\n        python-version: [\"3.6\", \"3.7\", \"3.11\", \"3.12\"]\n        exclude:\n          - os: macos-latest\n            python-version: \"3.6\"\n          - os: macos-latest\n            python-version: \"3.7\"\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox\n\n      - name: Core System Info\n        run: |\n          tox -e py\n\n      - name: Python Lint\n        if: ${{ matrix.python-version != '3.6' }}\n        run: |\n          tox -e lint\n\n      - name: Integration Tests\n        if: ${{ matrix.python-version == '3.11' }}\n        run: |\n          tox -e testcore\n\n      - name: Slack Notification\n        uses: homoluctus/slatify@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: '*Core*'\n          commit: true\n          url: ${{ secrets.SLACK_BUILD_WEBHOOK }}\n          token: ${{ secrets.SLACK_GITHUB_TOKEN }}\n", "state": "active", "repository": "platformio/platformio-core"}
{"mined_at": "2024-07-15T13:09:51.089549", "created_at": "2020-04-22T15:47:32+02:00", "updated_at": "2022-05-19T18:16:55+02:00", "name": "Examples", "path": ".github/workflows/examples.yml", "contents": "name: Examples\n\non: [push, pull_request]\n\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n    runs-on: ${{ matrix.os }}\n    env:\n      PIO_INSTALL_DEVPLATFORM_OWNERNAMES: \"platformio\"\n      PIO_INSTALL_DEVPLATFORM_NAMES: \"aceinna_imu,atmelavr,atmelmegaavr,atmelsam,espressif32,espressif8266,nordicnrf52,raspberrypi,ststm32,teensy\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox\n\n      - name: Run on Linux\n        if: startsWith(matrix.os, 'ubuntu')\n        run: |\n          # Free space\n          sudo apt clean\n          docker rmi $(docker image ls -aq)\n          df -h\n          tox -e testexamples\n\n      - name: Run on macOS\n        if: startsWith(matrix.os, 'macos')\n        run: |\n          df -h\n          tox -e testexamples\n\n      - name: Run on Windows\n        if: startsWith(matrix.os, 'windows')\n        env:\n          PLATFORMIO_CORE_DIR: C:/pio\n          PLATFORMIO_WORKSPACE_DIR: C:/pio-workspace/$PROJECT_HASH\n        run: |\n          tox -e testexamples\n\n      - name: Slack Notification\n        uses: homoluctus/slatify@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: '*Examples*'\n          commit: true\n          url: ${{ secrets.SLACK_BUILD_WEBHOOK }}\n          token: ${{ secrets.SLACK_GITHUB_TOKEN }}\n", "state": "active", "repository": "platformio/platformio-core"}
{"mined_at": "2024-07-15T13:09:52.135919", "created_at": "2022-05-18T13:15:11+02:00", "updated_at": "2022-05-18T21:29:42+02:00", "name": "Projects", "path": ".github/workflows/projects.yml", "contents": "name: Projects\n\non: [push, pull_request]\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        project:\n          - marlin:\n            repository: \"MarlinFirmware/Marlin\"\n            folder: \"Marlin\"\n            config_dir: \"Marlin\"\n            env_name: \"mega2560\"\n          - esphome:\n            repository: \"esphome/esphome\"\n            folder: \"esphome\"\n            config_dir: \"esphome\"\n            env_name: \"esp32-arduino\"\n          - smartknob:\n            repository: \"scottbez1/smartknob\"\n            folder: \"smartknob\"\n            config_dir: \"smartknob\"\n            env_name: \"view\"\n          - espurna:\n            repository: \"xoseperez/espurna\"\n            folder: \"espurna\"\n            config_dir: \"espurna/code\"\n            env_name: \"nodemcu-lolin\"\n          - OpenMQTTGateway:\n            repository: \"1technophile/OpenMQTTGateway\"\n            folder: \"OpenMQTTGateway\"\n            config_dir: \"OpenMQTTGateway\"\n            env_name: \"esp32-m5atom-lite\"\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        exclude:\n        - os: windows-latest\n          project: {\"esphome\": \"\", \"repository\": \"esphome/esphome\", \"folder\": \"esphome\", \"config_dir\": \"esphome\", \"env_name\": \"esp32-arduino\"}\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n\n      - name: Install PlatformIO\n        run: pip install -U .\n\n      - name: Check out ${{ matrix.project.repository }}\n        uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n          repository: ${{ matrix.project.repository }}\n          path: ${{ matrix.project.folder }}\n\n      - name: Install ESPHome dependencies\n        # Requires esptool package as it's used in a custom prescript\n        if: ${{ contains(matrix.project.repository, 'esphome') }}\n        run: pip install esptool==3.*\n\n      - name: Compile ${{ matrix.project.repository }}\n        run: pio run -d ${{ matrix.project.config_dir }} -e ${{ matrix.project.env_name }}\n\n", "state": "active", "repository": "platformio/platformio-core"}
{"mined_at": "2024-07-15T13:09:53.424640", "created_at": "2022-05-19T17:23:10+02:00", "updated_at": "2022-05-19T17:23:10+02:00", "name": "Deployment", "path": ".github/workflows/deployment.yml", "contents": "name: Deployment\n\non:\n  push:\n    branches:\n      - \"master\"\n      - \"release/**\"\n\njobs:\n  deployment:\n    runs-on: ubuntu-latest\n    environment: production\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox wheel\n\n      - name: Deployment Tests\n        env:\n          TEST_EMAIL_LOGIN: ${{ secrets.TEST_EMAIL_LOGIN }}\n          TEST_EMAIL_PASSWORD: ${{ secrets.TEST_EMAIL_PASSWORD }}\n          TEST_EMAIL_IMAP_SERVER: ${{ secrets.TEST_EMAIL_IMAP_SERVER }}\n        run: |\n          tox -e testcore\n\n      - name: Build Python source tarball\n        # run:  python setup.py sdist bdist_wheel\n        run:  python setup.py sdist\n\n      - name: Publish package to PyPI\n        if: ${{ github.ref == 'refs/heads/master' }}\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "platformio/platformio-core"}
{"mined_at": "2024-07-15T13:09:55.958756", "created_at": "2020-10-30T08:48:29+01:00", "updated_at": "2020-10-30T08:48:29+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "---\nname: CI\n\n# NOTE(romcheg): Controls when the action will run. Triggers the workflow on\n#                push or pull request events but only for the ng branch\non:\n  push:\n    branches: [ ng ]\n  pull_request:\n    branches: [ ng ]\n\njobs:\n  code_style:\n    name: Code style\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout source code\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.6\n      - name: Downgrade pip\n        run: pip3 install pip==19.3.1\n      - name: Cache pip dependencies\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('base.txt', 'dev.txt', 'docs.txt', 'hermes.txt', 'openstack.txt', 'prod.txt', 'prod_ldap.txt', '', 'test.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n      - name: Install Ralph's python dependencies\n        run: pip3 install -r \"${GITHUB_WORKSPACE}/requirements/code_style.txt\"\n\n      - name: Run flake8\n        run: make flake\n\n  missing_migrations:\n    name: Missing migrations\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        db-engine: [\"psql\", \"mysql\"]\n    env:\n        TEST_DB_ENGINE: ${{ matrix.db-engine }}\n    services:\n      postgres:\n        image: postgres:9.4.26\n        env:\n          POSTGRES_USER: ralph_ng\n          POSTGRES_PASSWORD: ralph_ng\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n      # NOTE(romcheg): Running mysql image of a more recent version will cause user\n      #                ralph_ng to not being able to create a test database.\n      mysql:\n        image: mysql:5.6.45\n        env:\n          MYSQL_ROOT_PASSWORD: root\n          MYSQL_USER: ralph_ng\n          MYSQL_PASSWORD: ralph_ng\n          MYSQL_DATABASE: ralph_ng\n        ports:\n          - 3306:3306\n        options: >-\n          --health-cmd \"mysqladmin ping --silent\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - name: Checkout source code\n        uses: actions/checkout@v2\n\n      - name: Unshallow local copy\n        run: git fetch --prune --unshallow\n\n      - name: Install system packages\n        run: |\n          sudo apt-get update\n          sudo apt-get -y --no-install-recommends install libldap2-dev libsasl2-dev\n        env:\n          DEBIAN_FRONDEND: NONINTERACTIVE\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.6\n\n      - name: Downgrade pip\n        run: pip3 install pip==19.3.1\n\n      - name: Install Ralph\n        run: pip3 install \"${GITHUB_WORKSPACE}\"\n\n      - name: Cache pip dependencies\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('base.txt', 'code_style.txt', 'dev.txt', 'docs.txt', 'hermes.txt', 'openstack.txt', 'prod.txt', 'prod_ldap.txt', '', 'test.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n\n      - name: Install Ralph's python dependencies\n        run: pip3 install -r \"${GITHUB_WORKSPACE}/requirements/test.txt\"\n\n      - name: Install PostgreSQL driver\n        if: ${{ matrix.db-engine == 'psql' }}\n        run: pip3 install psycopg2-binary\n\n      # Runs a set of commands using the runners shell\n      - name: Check missings migrations\n        run: \"${GITHUB_WORKSPACE}/scripts/check_missing_migrations.sh\"\n\n  settings_test:\n    name: Settings tests\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout source code\n        uses: actions/checkout@v2\n\n      - name: Unshallow local copy\n        run: git fetch --prune --unshallow\n\n      - name: Install system packages\n        run: |\n          sudo apt-get update\n          sudo apt-get -y --no-install-recommends install libldap2-dev libsasl2-dev\n        env:\n          DEBIAN_FRONDEND: NONINTERACTIVE\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.6\n\n      - name: Downgrade pip\n        run: pip3 install pip==19.3.1\n\n      - name: Install Ralph\n        run: pip3 install \"${GITHUB_WORKSPACE}\"\n\n      - name: Cache pip dependencies\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('base.txt', 'code_style.txt', 'dev.txt', 'docs.txt', 'hermes.txt', 'openstack.txt', 'prod.txt', 'prod_ldap.txt', '', 'test.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n\n      - name: Install Ralph's python dependencies\n        run: |\n          pip3 install -r \"${GITHUB_WORKSPACE}/requirements/test.txt\"\n          pip3 install -r \"${GITHUB_WORKSPACE}/requirements/openstack.txt\"\n\n      - name: Test Ralph's settings\n        run:  ./scripts/test_settings.sh prod test >/dev/null\n\n  python_tests:\n    name: Python tests\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [3.6]\n        db-engine: [\"psql\", \"mysql\"]\n    env:\n      TEST_DB_ENGINE: ${{ matrix.db-engine }}\n      DATABASE_USER: ralph_ng\n      DATABASE_PASSWORD: ralph_ng\n\n    services:\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n\n      postgres:\n        image: postgres:9.4.26\n        env:\n          POSTGRES_USER: ralph_ng\n          POSTGRES_PASSWORD: ralph_ng\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n      # NOTE(romcheg): See the note regarging the mysql service above.\n      mysql:\n        image: mysql:5.6.45\n        env:\n          MYSQL_ROOT_PASSWORD: root\n          MYSQL_USER: ralph_ng\n          MYSQL_PASSWORD: ralph_ng\n          MYSQL_DATABASE: ralph_ng\n        ports:\n          - 3306:3306\n        options: >-\n          --health-cmd \"mysqladmin ping --silent\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - name: Checkout source code\n        uses: actions/checkout@v2\n\n      - name: Unshallow local copy\n        run: git fetch --prune --unshallow\n\n      - name: Install system packages\n        run: |\n          sudo apt-get update\n          sudo apt-get -y --no-install-recommends install libldap2-dev libsasl2-dev\n        env:\n          DEBIAN_FRONDEND: NONINTERACTIVE\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Downgrade pip\n        run: pip3 install pip==19.3.1\n\n      - name: Install Ralph\n        run: pip3 install \"${GITHUB_WORKSPACE}\"\n\n      - name: Cache pip dependencies\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('base.txt', 'code_style.txt', 'dev.txt', 'docs.txt', 'hermes.txt', 'openstack.txt', 'prod.txt', 'prod_ldap.txt', '', 'test.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n\n      - name: Install Ralph's python dependencies\n        run: |\n          pip3 install -r \"${GITHUB_WORKSPACE}/requirements/test.txt\"\n          pip3 install -r \"${GITHUB_WORKSPACE}/requirements/openstack.txt\"\n\n      - name: Install PostgreSQL driver\n        if: ${{ matrix.db-engine == 'psql' }}\n        run: pip3 install psycopg2-binary\n\n      - name: Test ralph_dchp_agent using python-${{ matrix.python-version }}\n        run: python contrib/dhcp_agent/test.py\n\n      - name: Test Ralph with coverage using python-${{ matrix.python-version }}\n        run: make coverage\n...\n", "state": "active", "repository": "allegro/ralph"}
{"mined_at": "2024-07-15T13:09:57.066180", "created_at": "2024-05-08T15:19:52+02:00", "updated_at": "2024-05-09T09:23:53+02:00", "name": "Publish snapshot", "path": ".github/workflows/publish-snapshot.yml", "contents": "name: Publish snapshot\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'For which branch build snapshot?'\n        required: true\n\njobs:\n  publish:\n\n    runs-on: ubuntu-latest\n    environment: ci\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.inputs.branch }}\n      - name: Publish docker snapshot\n        env:\n          RETRY_COUNT: 3\n        run: |\n          docker login --username ${{ secrets.DOCKER_HUB_USERNAME }} --password ${{ secrets.DOCKER_HUB_PASSWORD }}\n          export RALPH_VERSION=$(shell ./get_version.sh show)\n          until [ \"$RETRY_COUNT\" -le 0 ]\n            do\n              make publish-docker-snapshot-image && break\n              RETRY_COUNT=$((RETRY_COUNT-1))\n              echo \"==== Publish docker failed. Remaining retries: $RETRY_COUNT ====\"\n            done\n          docker logout\n", "state": "active", "repository": "allegro/ralph"}
{"mined_at": "2024-07-15T13:09:58.123884", "created_at": "2021-05-13T14:02:48+02:00", "updated_at": "2021-05-13T14:02:48+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  release:\n    types: [ created ]\n\njobs:\n  publish:\n\n    runs-on: ubuntu-latest\n    environment: ci\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: Verify github ref\n        run: |\n          TAG=$(echo \"$GITHUB_REF\" | grep -E -o '^refs\\/tags\\/[0-9]{8}\\.[0-9]+$' || true)\n          if [[ -z \"$TAG\" ]]; then\n              >&2 echo \"The \\$GITHUB_REF does not point to a properly named tag.\"\n              exit 1\n          fi\n      - name: Build\n        run: make build-package\n      - name: Install packagecloud CLI\n        run: sudo gem install package_cloud\n      - name: Publish deb\n        env:\n          PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}\n        run: package_cloud push allegro/ralph/ubuntu/bionic build/*.deb\n      - name: Publish docker\n        env:\n          WAIT_FOR_PACKAGECLOUD_DELAY: 10\n          RETRY_COUNT: 3\n        run: |\n          docker login --username ${{ secrets.DOCKER_HUB_USERNAME }} --password ${{ secrets.DOCKER_HUB_PASSWORD }}\n          export RALPH_VERSION=${GITHUB_REF#refs/*/}\n          until [ \"$RETRY_COUNT\" -le 0 ]\n            do\n              sleep $WAIT_FOR_PACKAGECLOUD_DELAY\n              make publish-docker-image && break\n              RETRY_COUNT=$((RETRY_COUNT-1))\n              echo \"==== Publish docker failed. Remaining retries: $RETRY_COUNT ====\"\n            done\n          docker logout\n", "state": "active", "repository": "allegro/ralph"}
{"mined_at": "2024-07-15T13:09:59.345119", "created_at": "2024-07-03T15:41:29+02:00", "updated_at": "2024-07-03T15:41:29+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "allegro/ralph"}
{"mined_at": "2024-07-15T13:10:01.576796", "created_at": "2020-11-06T14:24:10+01:00", "updated_at": "2020-11-06T17:13:55+01:00", "name": "basic test", "path": ".github/workflows/main.yml", "contents": "name: basic test\n\non:\n  push:\n    tags:\n      - \".*\"\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n      - feature-2.0\n\njobs:\n  simple-checks:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - uses: pre-commit/action@v3.0.0\n\n  unit-tests:\n    runs-on: ubuntu-latest\n    needs: simple-checks\n\n    env:\n      TOXENV: py3\n      TOXCFG: tox.ini\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/cache@v4\n        env:\n          cache-name: cache-${TOXENV}\n        with:\n          path: .tox\n          key: ${{ runner.os }}-tox-${{ env.cache-name }}-${{ hashFiles('pyproject.toml', 'requirements.in') }}\n\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml', 'requirements.in') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: install deps\n        run: |\n          pip install uv\n          uv pip install --system -r requirements.txt\n\n      - name: tox\n        run: |\n          tox -c ${TOXCFG} -e ${TOXENV}\n\n  integration-tests:\n    runs-on: ubuntu-latest\n    needs: unit-tests\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # integration tests\n          - TOXENV: py3-generic\n            TOXCFG: tox-integration.ini\n          - TOXENV: py3-mqtt\n            TOXCFG: tox-integration.ini\n          - TOXENV: py3-hooks\n            TOXCFG: tox-integration.ini\n          - TOXENV: py3-advanced\n            TOXCFG: tox-integration.ini\n          - TOXENV: py3-grpc\n            TOXCFG: tox-integration.ini\n\n    services:\n      docker:\n        image: docker\n\n    env:\n      TOXENV: ${{ matrix.TOXENV }}\n      TOXCFG: ${{ matrix.TOXCFG }}\n\n    steps:\n      - uses: docker/setup-buildx-action@v3\n        continue-on-error: true\n\n      - uses: actions/checkout@v4\n\n      - uses: actions/cache@v4\n        env:\n          cache-name: cache-${{ matrix.TOXENV }}\n        with:\n          path: .tox\n          key: ${{ runner.os }}-tox-${{ env.cache-name }}-${{ hashFiles('pyproject.toml', 'requirements.in') }}\n\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml', 'requirements.in') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Protoc\n        if: ${{ contains(matrix.TOXENV, 'grpc') }}\n        uses: arduino/setup-protoc@v3\n        with:\n          version: \"23.x\"\n\n      - name: install deps\n        run: |\n          pip install uv\n          uv pip install --system -r requirements.txt\n\n      - name: tox\n        run: |\n          tox -c ${TOXCFG} -e ${TOXENV}\n", "state": "active", "repository": "taverntesting/tavern"}
{"mined_at": "2024-07-15T13:10:03.670931", "created_at": "2022-12-27T15:36:23+01:00", "updated_at": "2023-02-14T09:03:22+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n\njobs:\n  pylama:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup python3.10\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Cache virtualenv\n        id: venv-cache\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ github.job }}-${{ github.ref }}\n      - run: python -m pip install poetry\n      - run: poetry install\n      - run: poetry run pylama\n        env:\n          FORCE_COLOR: 1\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup python3.10\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Cache virtualenv\n        id: venv-cache\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ github.job }}-${{ github.ref }}\n      - run: python -m pip install poetry\n      - run: poetry install\n      - run: poetry run mypy\n        env:\n          FORCE_COLOR: 1\n\n  tests:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n\n      matrix:\n        python:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup python${{ matrix.python }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"${{ matrix.python }}\"\n      - name: Cache virtualenv\n        id: venv-cache\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ github.job }}-${{ github.ref }}-${{ matrix.python }}\n      - run: python -m pip install poetry\n      - run: poetry install --with=uvloop\n      - name: pytest\n        run: >-\n          poetry run pytest \\\n            -vv \\\n            --cov=aio_pika \\\n            --cov-report=term-missing \\\n            --doctest-modules \\\n            --aiomisc-test-timeout=120 \\\n            tests\n        env:\n          FORCE_COLOR: 1\n      - run: poetry run coveralls\n        env:\n          COVERALLS_PARALLEL: 'true'\n          COVERALLS_SERVICE_NAME: github\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  finish:\n    needs:\n       - tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Coveralls Finished\n        uses: coverallsapp/github-action@master\n        with:\n          github-token: ${{ secrets.github_token }}\n          parallel-finished: true\n", "state": "active", "repository": "mosquito/aio-pika"}
{"mined_at": "2024-07-15T13:10:06.295262", "created_at": "2020-01-11T05:27:45+01:00", "updated_at": "2020-01-11T11:24:36+01:00", "name": "macOS", "path": "", "contents": null, "state": "active", "repository": "yubico/yubikey-manager"}
{"mined_at": "2024-07-15T13:10:07.340655", "created_at": "2019-12-19T11:35:15+01:00", "updated_at": "2020-10-07T09:07:48+02:00", "name": "macOS", "path": ".github/workflows/macOS.yml", "contents": "name: macOS\n\non: [push, pull_request]\n\n# Adapted from https://github.com/sabnzbd/sabnzbd/blob/develop/.github/workflows/build_release.yml#L80\njobs:\n  build:\n\n    runs-on: macos-11\n\n    env:\n      MACOSX_DEPLOYMENT_TARGET: \"11.0\"\n      CFLAGS: -arch x86_64 -arch arm64\n      ARCHFLAGS: -arch x86_64 -arch arm64\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Poetry\n        run: pipx install poetry\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12.3'\n          cache: poetry\n\n      - name: Install dependencies\n        run: poetry install\n\n      - name: Explicitly use universal versions\n        run: |\n          # Export exact versions\n          poetry export --without-hashes > requirements.txt\n          grep cryptography requirements.txt > cryptography.txt\n          grep cffi requirements.txt > source-reqs.txt\n          grep pyscard requirements.txt >> source-reqs.txt\n          # Remove non-universal packages\n          poetry run pip uninstall -y cryptography cffi pyscard\n          # Build cffi from source to get universal build\n          poetry run pip install --upgrade -r source-reqs.txt --no-binary :all:\n          # Explicitly install pre-build universal build of cryptography\n          poetry run pip download -r cryptography.txt --platform macosx_10_12_universal2 --only-binary :all: --no-deps --dest .\n          poetry run pip install -r cryptography.txt --no-cache-dir --no-index --find-links .\n\n      - name: PyInstaller\n        run: |\n          poetry run pyinstaller ykman.spec\n          dist/ykman/ykman --version\n          [[ -z \"$(dist/ykman/ykman --version | grep -E \"not found|missing\")\" ]]\n\n      - name: Copy scripts\n        shell: bash\n        run: cp -r resources/macos dist/scripts\n\n      - name: Build installer\n        working-directory: ./dist\n        run: ./scripts/make_pkg.sh\n\n      - name: Upload build\n        uses: actions/upload-artifact@v4\n        with:\n          name: ykman-builds-macos\n          path: dist\n", "state": "active", "repository": "yubico/yubikey-manager"}
{"mined_at": "2024-07-15T13:10:08.389401", "created_at": "2019-12-19T11:35:16+01:00", "updated_at": "2023-08-25T13:01:49+02:00", "name": "Source package", "path": ".github/workflows/source-package.yml", "contents": "name: Source package\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -qq swig libpcsclite-dev\n          python -m pip install --upgrade pip\n          pip install poetry\n          poetry install\n\n      - name: Run unit tests\n        run: poetry run pytest\n\n      - name: Create source package\n        run: |\n          poetry build\n          mkdir artifacts\n          export REF=$(echo ${GITHUB_REF} | cut -d '/' -f 3)\n          mv dist/yubikey_manager-*.tar.gz artifacts/yubikey_manager-$REF.tar.gz\n          mv dist/yubikey_manager-*.whl artifacts/yubikey_manager-$REF.whl\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: yubikey-manager-source-package\n          path: artifacts\n\n  docs:\n    runs-on: ubuntu-latest\n    name: Build sphinx documentation\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install python dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -qq swig libpcsclite-dev\n          python -m pip install --upgrade pip\n          pip install poetry\n          poetry install\n\n      - name: Build sphinx documentation\n        run: poetry run make -C docs/ html\n\n      - name: Upload documentation\n        uses: actions/upload-artifact@v4\n        with:\n          name: yubikey-manager-docs\n          path: docs/_build/html\n", "state": "active", "repository": "yubico/yubikey-manager"}
{"mined_at": "2024-07-15T13:10:09.495562", "created_at": "2021-02-16T15:10:11+01:00", "updated_at": "2021-04-28T12:31:00+02:00", "name": "Ubuntu", "path": ".github/workflows/ubuntu.yml", "contents": "name: Ubuntu\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Poetry\n        run: pipx install poetry\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12.3'\n          cache: poetry\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get install -qq swig libpcsclite-dev\n          poetry install\n\n      - name: Run pre-commit hooks\n        run: |\n          python -m pip install --upgrade pip\n          pip install pre-commit\n          pre-commit install\n          pre-commit run --all-files --verbose\n\n      - name: Run unit tests\n        run: poetry run pytest\n\n      - name: Run CLI\n        run: |\n          pip install .\n          ykman --version\n          [[ -z \"$(ykman --version | grep -E \"not found|missing\")\" ]]\n\n      - name: PyInstaller\n        run: |\n          poetry run pyinstaller ykman.spec\n          dist/ykman/ykman --version\n          [[ -z \"$(dist/ykman/ykman --version | grep -E \"not found|missing\")\" ]]\n          export REF=$(echo ${GITHUB_REF} | cut -d '/' -f 3)\n          mv dist/ykman dist/ykman-$REF\n\n      - name: Upload build\n        uses: actions/upload-artifact@v4\n        with:\n          name: ykman-builds-ubuntu\n          path: dist\n", "state": "active", "repository": "yubico/yubikey-manager"}
{"mined_at": "2024-07-15T13:10:10.728273", "created_at": "2019-12-19T11:35:14+01:00", "updated_at": "2021-02-16T16:48:26+01:00", "name": "Windows", "path": ".github/workflows/windows.yml", "contents": "name: Windows\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: windows-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Poetry\n        run: pipx install poetry\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12.3'\n          cache: poetry\n\n      - name: Install dependencies\n        run: poetry install\n\n      - name: Run unit tests\n        run: poetry run pytest -v\n\n      - name: Build\n        run: poetry build\n\n      - name: Install from tar.gz\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          pip install dist/*.tar.gz\n          ykman --version\n          [[ -z \"$(ykman --version | grep -E \"not found|missing\")\" ]]\n          pip uninstall -y yubikey-manager\n\n      - name: Install from wheel\n        shell: bash\n        run: |\n          pip install dist/*.whl\n          ykman --version\n          [[ -z \"$(ykman --version | grep -E \"not found|missing\")\" ]]\n          pip uninstall -y yubikey-manager\n\n      - name: PyInstaller\n        shell: bash\n        run: |\n          poetry run pyinstaller ykman.spec\n          dist/ykman/ykman.exe --version\n          [[ -z \"$(dist/ykman/ykman.exe --version | grep -E \"not found|missing\")\" ]]\n\n      - name: Copy scripts\n        shell: bash\n        run: cp -r resources/win dist/scripts\n\n      - name: Build installer\n        working-directory: ./dist\n        run: .\\scripts\\make_msi.ps1\n\n      - name: Upload build\n        uses: actions/upload-artifact@v4\n        with:\n          name: ykman-builds-windows\n          path: dist\n", "state": "active", "repository": "yubico/yubikey-manager"}
{"mined_at": "2024-07-15T13:10:11.781753", "created_at": "2023-10-05T10:21:06+02:00", "updated_at": "2023-10-05T10:21:06+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "yubico/yubikey-manager"}
{"mined_at": "2024-07-15T13:10:14.360081", "created_at": "2021-03-05T17:24:30+01:00", "updated_at": "2023-02-09T14:02:41+01:00", "name": "CI Tests", "path": ".github/workflows/ci-tests.yml", "contents": "name: CI Tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch:\n\nconcurrency:\n  group: build-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  TOX_SKIP_MISSING_INTERPRETERS: False\n  # Rich (pip)\n  FORCE_COLOR: 1\n  # Tox\n  PY_COLORS: 1\n  # Mypy (see https://github.com/python/mypy/issues/7771)\n  TERM: xterm-color\n  MYPY_FORCE_COLOR: 1\n  MYPY_FORCE_TERMINAL_WIDTH: 200\n  # Pytest\n  PYTEST_ADDOPTS: --color=yes\n\njobs:\n\n  tox:\n    name: Tox\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        py-ver-major: [3]\n        py-ver-minor: [8, 9, 10, 11, 12]\n        step: [lint, unit, bandit, mypy]\n\n    env:\n      py-semver: ${{ format('{0}.{1}', matrix.py-ver-major, matrix.py-ver-minor) }}\n      TOXENV: ${{ format('py{0}{1}-{2}', matrix.py-ver-major, matrix.py-ver-minor, matrix.step) }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Singularity\n        if: ${{ matrix.step == 'unit' || matrix.step == 'mypy' }}\n        run: |\n          wget --no-verbose https://github.com/sylabs/singularity/releases/download/v3.10.4/singularity-ce_3.10.4-focal_amd64.deb\n          sudo apt-get install -y ./singularity-ce_3.10.4-focal_amd64.deb\n\n      - name: Give the test runner user a name to make provenance happy.\n        if: ${{ matrix.step == 'unit' || matrix.step == 'mypy' }}\n        run: sudo usermod -c 'CI Runner' \"$(whoami)\"\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.py-semver }}\n          allow-prereleases: true\n          cache: pip\n          cache-dependency-path: |\n            requirements.txt\n            tox.ini\n\n      - name: Upgrade setuptools and install tox\n        run: |\n          pip install -U pip setuptools wheel\n          pip install \"tox<4\" \"tox-gh-actions<3\"\n\n      - name: MyPy cache\n        if: ${{ matrix.step == 'mypy' }}\n        uses: actions/cache@v4\n        with:\n          path: .mypy_cache/${{ env.py-semver }}\n          key: mypy-${{ env.py-semver }}\n\n      - name: Test with tox\n        run: APPTAINER_TMPDIR=${RUNNER_TEMP} tox\n\n      - name: Upload coverage to Codecov\n        if: ${{ matrix.step == 'unit' }}\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  tox-style:\n    name: Linters\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        step: [lintreadme, shellcheck, pydocstyle]\n\n    env:\n      py-semver: \"3.12\"\n      TOXENV: ${{ format('py312-{0}', matrix.step) }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.py-semver }}\n          cache: pip\n\n      - name: Upgrade setuptools and install tox\n        run: |\n          pip install -U pip setuptools wheel\n          pip install \"tox<4\" \"tox-gh-actions<3\"\n\n      - if: ${{ matrix.step == 'pydocstyle' && github.event_name == 'pull_request'}}\n        name: Create local branch for diff-quality for PRs\n        run: git branch ${{github.base_ref}} origin/${{github.base_ref}}\n\n      - name: Test with tox\n        run: tox\n\n  clean_working_dir:\n    name: No leftovers\n    runs-on: ubuntu-22.04\n    env:\n      py-semver: \"3.12\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Singularity\n        run: |\n          wget --no-verbose https://github.com/sylabs/singularity/releases/download/v3.10.4/singularity-ce_3.10.4-focal_amd64.deb\n          sudo apt-get install -y ./singularity-ce_3.10.4-focal_amd64.deb\n\n      - name: Give the test runner user a name to make provenance happy.\n        run: sudo usermod -c 'CI Runner' \"$(whoami)\"\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.py-semver }}\n          cache: pip\n\n      - name: install with test dependencies\n        run: |\n          pip install -U pip setuptools wheel\n          pip install --no-build-isolation -rtest-requirements.txt .[deps]\n\n      - name: make working directory read-only\n        run: |\n          mkdir .pytest_cache\n          chmod a-w .\n\n      - name: run tests\n        run: APPTAINER_TMPDIR=${RUNNER_TEMP} make test\n\n\n  conformance_tests:\n    name: CWL conformance\n    runs-on: ubuntu-22.04\n\n    strategy:\n      matrix:\n        cwl-version: [v1.0, v1.1, v1.2]\n        container: [docker, singularity, podman]\n        extras: [\"\"]\n        include:\n          - cwl-version: v1.2\n            container: docker\n            extras: \"--fast-parser\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Singularity\n        if: ${{ matrix.container == 'singularity' }}\n        run: |\n          wget --no-verbose https://github.com/sylabs/singularity/releases/download/v3.10.4/singularity-ce_3.10.4-jammy_amd64.deb\n          sudo apt-get install -y ./singularity-ce_3.10.4-jammy_amd64.deb\n\n      - name: Singularity cache\n        if: ${{ matrix.container == 'singularity' }}\n        uses: actions/cache@v4\n        with:\n          path: sifcache\n          key: singularity\n\n      - name: Set up Podman\n        if: ${{ matrix.container == 'podman' }}\n        run: sudo rm -f /usr/bin/docker ; sudo apt-get install -y podman\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          cache: pip\n\n      - name: \"Test CWL ${{ matrix.cwl-version }} conformance\"\n        env:\n          VERSION: ${{ matrix.cwl-version }}\n          CONTAINER: ${{ matrix.container }}\n          GIT_TARGET: main\n          CWLTOOL_OPTIONS: ${{ matrix.cwl-version == 'v1.2' && '--relax-path-checks' || '' }} ${{ matrix.extras }}\n        run: ./conformance-test.sh\n      - name: Archive test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: cwl-${{ matrix.cwl-version }}-${{ matrix.container }}${{ matrix.extras }}-conformance-results\n          path: |\n            **/cwltool_conf*.xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n  release_test:\n    name: cwltool release test\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Singularity\n        run: |\n          wget --no-verbose https://github.com/sylabs/singularity/releases/download/v3.10.4/singularity-ce_3.10.4-jammy_amd64.deb\n          sudo apt-get install -y ./singularity-ce_3.10.4-jammy_amd64.deb\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          cache: pip\n          cache-dependency-path: |\n            requirements.txt\n            test-requirements.txt\n\n      - name: Give the test runner user a name to make provenance happy.\n        run: sudo usermod -c 'CI Runner' \"$(whoami)\"\n\n      - name: Install packages\n        run: |\n          pip install -U pip setuptools wheel\n          pip install virtualenv\n\n      - name: Release test\n        env:\n          RELEASE_SKIP: head\n        run: ./release-test.sh\n\n  build_test_container:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: record cwltool version\n        run: pip install -U setuptools wheel && pip install setuptools_scm[toml] && python setup.py --version\n      - name: build & test cwltool_module container\n        run: ./build-cwltool-docker.sh\n\n  macos:\n    name: Test on macos-latest\n    runs-on: macos-13  # not latest, that is now an Apple Silicon M1, for which seqtk is not yet built on bioconda\n    env:\n      TOXENV: py312-unit\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          cache: pip\n          cache-dependency-path: |\n            requirements.txt\n            tox.ini\n      - name: Upgrade setuptools and install tox\n        run: |\n          pip install -U pip setuptools wheel\n          pip install \"tox<4\" \"tox-gh-actions<3\"\n      # # docker for mac install is not currently stable\n      # - name: 'SETUP MacOS: load Homebrew cache'\n      #   uses: actions/cache@v4\n      #   if: runner.os == 'macOS'\n      #   with:\n      #      path: |\n      #        ~/Library/Caches/Homebrew/downloads/*--Docker.dmg\n      #      key: brew-actions-setup-docker-1.0.11\n      #      restore-keys: brew-actions-setup-docker-\n      # - name: setup docker on macos (default stable version)\n      #   uses: docker-practice/actions-setup-docker@master\n      - name: Test with tox\n        run: tox\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "common-workflow-language/cwltool"}
{"mined_at": "2024-07-15T13:10:15.729699", "created_at": "2020-06-25T20:24:39+02:00", "updated_at": "2021-08-19T13:24:36+02:00", "name": "Code scanning - action", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"Code scanning - action\"\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  schedule:\n    - cron: '0 10 * * 2'\n\nconcurrency:\n  group: codeql-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  CodeQL-Build:\n\n    runs-on: ubuntu-latest\n\n    permissions:\n      # required for all workflows\n      security-events: write\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: python\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "common-workflow-language/cwltool"}
{"mined_at": "2024-07-15T13:10:16.810661", "created_at": "2021-08-18T18:00:19+02:00", "updated_at": "2021-08-18T18:00:19+02:00", "name": "publish-quay", "path": ".github/workflows/quay-publish.yml", "contents": "name: publish-quay\non:\n  push:\n    tags:\n      - '*'\n  workflow_dispatch: {}\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Get image tags\n        id: image_tags\n        run: |\n          echo -n \"IMAGE_TAGS=${GITHUB_REF#refs/*/}\" >> \"$GITHUB_OUTPUT\"\n      - name: record cwltool version\n        run: |\n          pip install \"setuptools>=61\"\n          pip install setuptools_scm[toml] wheel\n          python setup.py --version\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Cache Docker layers\n        uses: actions/cache@v4\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-multi-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-multi-buildx\n      - name: Login to Quay.io\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ secrets.REGISTRY_SERVER }}\n          username: ${{ secrets.REGISTRY_USERNAME }}\n          password: ${{ secrets.REGISTRY_PASSWORD }}\n      - name: Build and publish cwltool_module image to Quay\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: cwltool.Dockerfile\n          tags: quay.io/commonwl/cwltool_module:${{ steps.image_tags.outputs.IMAGE_TAGS }},quay.io/commonwl/cwltool_module:latest\n          target: module\n          platforms: linux/amd64,linux/arm64\n          push: true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n      - name: Build and publish cwltool image to Quay\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: cwltool.Dockerfile\n          tags: quay.io/commonwl/cwltool:${{ steps.image_tags.outputs.IMAGE_TAGS }},quay.io/commonwl/cwltool:latest\n          platforms: linux/amd64,linux/arm64\n          push: true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n", "state": "active", "repository": "common-workflow-language/cwltool"}
{"mined_at": "2024-07-15T13:10:18.879984", "created_at": "2021-02-23T18:26:36+01:00", "updated_at": "2024-02-24T19:40:16+01:00", "name": "MacOS Python build", "path": ".github/workflows/apple.yml", "contents": "name: MacOS Python build\n\non:\n  push:\n    branches: [main]\n  pull_request:\n  schedule:\n    - cron: '13 11 * * *'\njobs:\n  pythonbuild:\n    runs-on: 'macos-13'\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Rust\n        uses: dtolnay/rust-toolchain@v1\n        with:\n          toolchain: stable\n\n      - name: Emit rustc version\n        run: |\n          rustc --version > .rustc-version\n\n      - uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cargo/registry\n            ~/.cargo/git\n            target\n          key: ${{ runner.os }}-pythonbuild-${{ hashFiles('Cargo.lock', '.rustc-version') }}\n\n      - name: Build\n        run: |\n          cargo build --release\n\n      - name: Upload pythonbuild Executable\n        uses: actions/upload-artifact@v4\n        with:\n          name: pythonbuild\n          path: target/release/pythonbuild\n\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        build:\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.8'\n            optimizations: 'debug'\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.8'\n            optimizations: 'pgo'\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.8'\n            optimizations: 'pgo+lto'\n\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.9'\n            optimizations: 'pgo'\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.9'\n            optimizations: 'pgo+lto'\n\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.10'\n            optimizations: 'pgo'\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.10'\n            optimizations: 'pgo+lto'\n\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.11'\n            optimizations: 'pgo'\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.11'\n            optimizations: 'pgo+lto'\n\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.12'\n            optimizations: 'pgo'\n          - target_triple: 'aarch64-apple-darwin'\n            runner: macos-14\n            py: 'cpython-3.12'\n            optimizations: 'pgo+lto'\n\n          # macOS on Intel hardware. This is pretty straightforward. We exclude\n          # noopt because it doesn't provide any compelling advantages over PGO\n          # or LTO builds.\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.8'\n            optimizations: 'debug'\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.8'\n            optimizations: 'pgo'\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.8'\n            optimizations: 'pgo+lto'\n\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.9'\n            optimizations: 'pgo'\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.9'\n            optimizations: 'pgo+lto'\n\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.10'\n            optimizations: 'pgo'\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.10'\n            optimizations: 'pgo+lto'\n\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.11'\n            optimizations: 'pgo'\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.11'\n            optimizations: 'pgo+lto'\n\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.12'\n            optimizations: 'pgo'\n          - target_triple: 'x86_64-apple-darwin'\n            runner: macos-13\n            py: 'cpython-3.12'\n            optimizations: 'pgo+lto'\n    needs:\n      - pythonbuild\n    runs-on: ${{ matrix.build.runner }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Download pythonbuild\n        uses: actions/download-artifact@v4\n        with:\n          name: pythonbuild\n          path: build\n\n      - name: Build\n        run: |\n          if [ \"${{ matrix.build.target_triple }}\" = \"aarch64-apple-darwin\" ]; then\n            export APPLE_SDK_PATH=/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk\n          elif [ \"${{ matrix.build.target_triple }}\" = \"x86_64-apple-darwin\" ]; then\n            export APPLE_SDK_PATH=/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk\n          else\n            echo \"unhandled target triple: ${{ matrix.build.target_triple }}\"\n            exit 1\n          fi\n\n          ./build-macos.py --target-triple ${{ matrix.build.target_triple }} --python ${{ matrix.build.py }} --optimizations ${{ matrix.build.optimizations }}\n\n      - name: Upload Distributions\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.build.py }}-${{ matrix.build.target_triple }}-${{ matrix.build.optimizations }}\n          path: dist/*\n\n      - uses: actions/checkout@v4\n        with:\n          repository: 'phracker/MacOSX-SDKs'\n          ref: master\n          path: macosx-sdks\n\n      - name: Validate Distribution\n        run: |\n          chmod +x build/pythonbuild\n\n          build/pythonbuild validate-distribution --macos-sdks-path macosx-sdks --run dist/*.tar.zst\n", "state": "active", "repository": "indygreg/python-build-standalone"}
{"mined_at": "2024-07-15T13:10:19.923773", "created_at": "2024-04-01T18:12:41+02:00", "updated_at": "2024-04-14T17:56:12+02:00", "name": "Check", "path": ".github/workflows/check.yml", "contents": "\nname: Check\n\non:\n  push:\n  pull_request:\n\njobs:\n  check:\n    runs-on: \"ubuntu-latest\"\n    name: \"check\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: \"Run checks\"\n        run: |\n          python ./check.py\n", "state": "active", "repository": "indygreg/python-build-standalone"}
{"mined_at": "2024-07-15T13:10:20.969274", "created_at": "2020-12-13T23:28:40+01:00", "updated_at": "2024-02-24T19:40:16+01:00", "name": "Linux Python build", "path": ".github/workflows/linux.yml", "contents": "name: Linux Python build\n\non:\n  push:\n    branches: [main]\n  pull_request:\n  schedule:\n    - cron: '13 11 * * *'\njobs:\n  pythonbuild:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Install System Dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y --no-install-recommends libssl-dev pkg-config\n\n      - uses: actions/checkout@v4\n\n      - name: Install Rust\n        uses: dtolnay/rust-toolchain@v1\n        with:\n          toolchain: stable\n\n      - name: Emit rustc version\n        run: |\n          rustc --version > .rustc-version\n\n      - uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cargo/registry\n            ~/.cargo/git\n            target\n          key: ${{ runner.os }}-pythonbuild-${{ hashFiles('Cargo.lock', '.rustc-version') }}\n\n      - name: Build\n        run: |\n          cargo build --release\n\n      - name: Upload pythonbuild Executable\n        uses: actions/upload-artifact@v4\n        with:\n          name: pythonbuild\n          path: target/release/pythonbuild\n\n  image:\n    strategy:\n      fail-fast: false\n      matrix:\n        image:\n          - build\n          - build.cross\n          - gcc\n          - xcb\n          - xcb.cross\n    runs-on: ubuntu-22.04\n    permissions:\n      packages: write\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Generate Dockerfiles\n        run: |\n          ./build-linux.py --make-target empty\n          repo_name=$(echo \"${GITHUB_REPOSITORY,,}\" | sed 's|\\.|_|g')\n          git_ref_name=$(echo \"${GITHUB_REF_NAME,,}\" | sed 's|[^a-z0-9_-]|_|g')\n          echo \"REPO_NAME=${repo_name}\" >> \"${GITHUB_ENV}\"\n          echo \"GIT_REF_NAME=${git_ref_name}\" >> \"${GITHUB_ENV}\"\n\n      - name: Build Image\n        id: build-image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: build/${{ matrix.image }}.Dockerfile\n          labels: org.opencontainers.image.source=https://github.com/${{ env.REPO_NAME }}\n          # Cache from/to the current branch of the current repo as the primary cache key.\n          # Cache from the default branch of the current repo so branches can have cache hits.\n          # Cache from the default branch of the canonical repo so forks can have cache hits.\n          # Ignore errors on cache writes so CI of forks works without a valid GHCR config.\n          cache-from: |\n            type=registry,ref=ghcr.io/${{ env.REPO_NAME }}:${{ matrix.image }}-${{ env.GIT_REF_NAME }}\n            type=registry,ref=ghcr.io/${{ env.REPO_NAME }}:${{ matrix.image }}-main\n            type=registry,ref=ghcr.io/indygreg/python-build-standalone:${{ matrix.image }}-main\n          cache-to: |\n            type=registry,ref=ghcr.io/${{ env.REPO_NAME }}:${{ matrix.image }}-${{ env.GIT_REF_NAME }},ignore-error=true\n          outputs: |\n            type=docker,dest=build/image-${{ matrix.image }}.tar\n\n      - name: Compress Image\n        run: |\n          echo ${{ steps.build-image.outputs.imageid }} > build/image-${{ matrix.image }}\n          zstd -v -T0 -6 --rm build/image-*.tar\n\n      - name: Upload Docker Image\n        uses: actions/upload-artifact@v4\n        with:\n          name: image-${{ matrix.image }}\n          path: build/image-*\n\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        build:\n          # Cross-compiles can't do PGO.\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.8'\n            optimizations: 'debug'\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.8'\n            optimizations: 'noopt'\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.8'\n            optimizations: 'lto'\n\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'noopt'\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'lto'\n\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'noopt'\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'lto'\n\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'noopt'\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'lto'\n\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'noopt'\n          - target_triple: 'aarch64-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'lto'\n\n          # Cross-compiles can't do PGO and require Python 3.9.\n          - target_triple: 'armv7-unknown-linux-gnueabi'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n          - target_triple: 'armv7-unknown-linux-gnueabi'\n            py: 'cpython-3.9'\n            optimizations: 'noopt'\n          - target_triple: 'armv7-unknown-linux-gnueabi'\n            py: 'cpython-3.9'\n            optimizations: 'lto'\n\n          - target_triple: 'armv7-unknown-linux-gnueabi'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n          - target_triple: 'armv7-unknown-linux-gnueabi'\n            py: 'cpython-3.10'\n            optimizations: 'noopt'\n          - target_triple: 'armv7-unknown-linux-gnueabi'\n            py: 'cpython-3.10'\n            optimizations: 'lto'\n\n          - target_triple: 'armv7-unknown-linux-gnueabi'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n          - target_triple: 'armv7-unknown-linux-gnueabi'\n            py: 'cpython-3.11'\n            optimizations: 'noopt'\n          - target_triple: 'armv7-unknown-linux-gnueabi'\n            py: 'cpython-3.11'\n            optimizations: 'lto'\n\n          - target_triple: 'armv7-unknown-linux-gnueabi'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n          - target_triple: 'armv7-unknown-linux-gnueabi'\n            py: 'cpython-3.12'\n            optimizations: 'noopt'\n          - target_triple: 'armv7-unknown-linux-gnueabi'\n            py: 'cpython-3.12'\n            optimizations: 'lto'\n\n          # Cross-compiles can't do PGO and require Python 3.9.\n          - target_triple: 'armv7-unknown-linux-gnueabihf'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n          - target_triple: 'armv7-unknown-linux-gnueabihf'\n            py: 'cpython-3.9'\n            optimizations: 'noopt'\n          - target_triple: 'armv7-unknown-linux-gnueabihf'\n            py: 'cpython-3.9'\n            optimizations: 'lto'\n\n          - target_triple: 'armv7-unknown-linux-gnueabihf'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n          - target_triple: 'armv7-unknown-linux-gnueabihf'\n            py: 'cpython-3.10'\n            optimizations: 'noopt'\n          - target_triple: 'armv7-unknown-linux-gnueabihf'\n            py: 'cpython-3.10'\n            optimizations: 'lto'\n\n          - target_triple: 'armv7-unknown-linux-gnueabihf'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n          - target_triple: 'armv7-unknown-linux-gnueabihf'\n            py: 'cpython-3.11'\n            optimizations: 'noopt'\n          - target_triple: 'armv7-unknown-linux-gnueabihf'\n            py: 'cpython-3.11'\n            optimizations: 'lto'\n\n          - target_triple: 'armv7-unknown-linux-gnueabihf'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n          - target_triple: 'armv7-unknown-linux-gnueabihf'\n            py: 'cpython-3.12'\n            optimizations: 'noopt'\n          - target_triple: 'armv7-unknown-linux-gnueabihf'\n            py: 'cpython-3.12'\n            optimizations: 'lto'\n\n          # Cross-compiles can't do PGO and require Python 3.9.\n          - target_triple: 'mips-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n          - target_triple: 'mips-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'noopt'\n          - target_triple: 'mips-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'lto'\n\n          - target_triple: 'mips-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n          - target_triple: 'mips-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'noopt'\n          - target_triple: 'mips-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'lto'\n\n          - target_triple: 'mips-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n          - target_triple: 'mips-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'noopt'\n          - target_triple: 'mips-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'lto'\n\n          - target_triple: 'mips-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n          - target_triple: 'mips-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'noopt'\n          - target_triple: 'mips-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'lto'\n\n          # Cross-compiles can't do PGO and require Python 3.9.\n          - target_triple: 'mipsel-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n          - target_triple: 'mipsel-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'noopt'\n          - target_triple: 'mipsel-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'lto'\n\n          - target_triple: 'mipsel-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n          - target_triple: 'mipsel-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'noopt'\n          - target_triple: 'mipsel-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'lto'\n\n          - target_triple: 'mipsel-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n          - target_triple: 'mipsel-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'noopt'\n          - target_triple: 'mipsel-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'lto'\n\n          - target_triple: 'mipsel-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n          - target_triple: 'mipsel-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'noopt'\n          - target_triple: 'mipsel-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'lto'\n\n          # Cross-compiles can't do PGO and require Python 3.9.\n          - target_triple: 's390x-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n          - target_triple: 's390x-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'noopt'\n          - target_triple: 's390x-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'lto'\n\n          - target_triple: 's390x-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n          - target_triple: 's390x-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'noopt'\n          - target_triple: 's390x-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'lto'\n\n          - target_triple: 's390x-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n          - target_triple: 's390x-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'noopt'\n          - target_triple: 's390x-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'lto'\n\n          - target_triple: 's390x-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n          - target_triple: 's390x-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'noopt'\n          - target_triple: 's390x-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'lto'\n\n          # Cross-compiles can't do PGO and require Python 3.9.\n          - target_triple: 'ppc64le-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n          - target_triple: 'ppc64le-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'noopt'\n          - target_triple: 'ppc64le-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'lto'\n\n          - target_triple: 'ppc64le-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n          - target_triple: 'ppc64le-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'noopt'\n          - target_triple: 'ppc64le-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'lto'\n\n          - target_triple: 'ppc64le-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n          - target_triple: 'ppc64le-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'noopt'\n          - target_triple: 'ppc64le-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'lto'\n\n          - target_triple: 'ppc64le-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n          - target_triple: 'ppc64le-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'noopt'\n          - target_triple: 'ppc64le-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'lto'\n\n          # We don't publish noopt builds when PGO is available.\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.8'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.8'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.8'\n            optimizations: 'pgo+lto'\n            run: true\n\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'pgo+lto'\n            run: true\n\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'pgo+lto'\n            run: true\n\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'pgo+lto'\n            run: true\n\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'pgo+lto'\n            run: true\n\n          - target_triple: 'x86_64_v2-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'pgo+lto'\n            run: true\n\n          - target_triple: 'x86_64_v2-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'pgo+lto'\n            run: true\n\n          - target_triple: 'x86_64_v2-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'pgo+lto'\n            run: true\n\n          - target_triple: 'x86_64_v2-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'pgo+lto'\n            run: true\n\n          - target_triple: 'x86_64_v3-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'pgo+lto'\n            run: true\n\n          - target_triple: 'x86_64_v3-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'pgo+lto'\n            run: true\n\n          - target_triple: 'x86_64_v3-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'pgo+lto'\n            run: true\n\n          - target_triple: 'x86_64_v3-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'pgo'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'pgo+lto'\n            run: true\n\n          # GitHub Actions runners don't support x86-64-v4 so we can't PGO.\n          - target_triple: 'x86_64_v4-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n          - target_triple: 'x86_64_v4-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'noopt'\n          - target_triple: 'x86_64_v4-unknown-linux-gnu'\n            py: 'cpython-3.9'\n            optimizations: 'lto'\n\n          # GitHub Actions runners don't support x86-64-v4 so we can't PGO.\n          - target_triple: 'x86_64_v4-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n          - target_triple: 'x86_64_v4-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'noopt'\n          - target_triple: 'x86_64_v4-unknown-linux-gnu'\n            py: 'cpython-3.10'\n            optimizations: 'lto'\n\n          - target_triple: 'x86_64_v4-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n          - target_triple: 'x86_64_v4-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'noopt'\n          - target_triple: 'x86_64_v4-unknown-linux-gnu'\n            py: 'cpython-3.11'\n            optimizations: 'lto'\n\n          - target_triple: 'x86_64_v4-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n          - target_triple: 'x86_64_v4-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'noopt'\n          - target_triple: 'x86_64_v4-unknown-linux-gnu'\n            py: 'cpython-3.12'\n            optimizations: 'lto'\n\n          # musl doesn't support PGO.\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.8'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.8'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.8'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.9'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.9'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.10'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.10'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.11'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.11'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.12'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64-unknown-linux-musl'\n            py: 'cpython-3.12'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64_v2-unknown-linux-musl'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-musl'\n            py: 'cpython-3.9'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-musl'\n            py: 'cpython-3.9'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64_v2-unknown-linux-musl'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-musl'\n            py: 'cpython-3.10'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-musl'\n            py: 'cpython-3.10'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64_v2-unknown-linux-musl'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-musl'\n            py: 'cpython-3.11'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-musl'\n            py: 'cpython-3.11'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64_v2-unknown-linux-musl'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-musl'\n            py: 'cpython-3.12'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64_v2-unknown-linux-musl'\n            py: 'cpython-3.12'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64_v3-unknown-linux-musl'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-musl'\n            py: 'cpython-3.9'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-musl'\n            py: 'cpython-3.9'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64_v3-unknown-linux-musl'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-musl'\n            py: 'cpython-3.10'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-musl'\n            py: 'cpython-3.10'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64_v3-unknown-linux-musl'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-musl'\n            py: 'cpython-3.11'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-musl'\n            py: 'cpython-3.11'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64_v3-unknown-linux-musl'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-musl'\n            py: 'cpython-3.12'\n            optimizations: 'noopt'\n            run: true\n          - target_triple: 'x86_64_v3-unknown-linux-musl'\n            py: 'cpython-3.12'\n            optimizations: 'lto'\n            run: true\n\n          - target_triple: 'x86_64_v4-unknown-linux-musl'\n            py: 'cpython-3.9'\n            optimizations: 'debug'\n          - target_triple: 'x86_64_v4-unknown-linux-musl'\n            py: 'cpython-3.9'\n            optimizations: 'noopt'\n          - target_triple: 'x86_64_v4-unknown-linux-musl'\n            py: 'cpython-3.9'\n            optimizations: 'lto'\n\n          - target_triple: 'x86_64_v4-unknown-linux-musl'\n            py: 'cpython-3.10'\n            optimizations: 'debug'\n          - target_triple: 'x86_64_v4-unknown-linux-musl'\n            py: 'cpython-3.10'\n            optimizations: 'noopt'\n          - target_triple: 'x86_64_v4-unknown-linux-musl'\n            py: 'cpython-3.10'\n            optimizations: 'lto'\n\n          - target_triple: 'x86_64_v4-unknown-linux-musl'\n            py: 'cpython-3.11'\n            optimizations: 'debug'\n          - target_triple: 'x86_64_v4-unknown-linux-musl'\n            py: 'cpython-3.11'\n            optimizations: 'noopt'\n          - target_triple: 'x86_64_v4-unknown-linux-musl'\n            py: 'cpython-3.11'\n            optimizations: 'lto'\n\n          - target_triple: 'x86_64_v4-unknown-linux-musl'\n            py: 'cpython-3.12'\n            optimizations: 'debug'\n          - target_triple: 'x86_64_v4-unknown-linux-musl'\n            py: 'cpython-3.12'\n            optimizations: 'noopt'\n          - target_triple: 'x86_64_v4-unknown-linux-musl'\n            py: 'cpython-3.12'\n            optimizations: 'lto'\n\n    needs:\n      - pythonbuild\n      - image\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Download pythonbuild\n        uses: actions/download-artifact@v4\n        with:\n          name: pythonbuild\n          path: build\n\n      - name: Download images\n        uses: actions/download-artifact@v4\n        with:\n          pattern: image-*\n          path: build\n          merge-multiple: true\n\n      - name: Load Docker Images\n        run: |\n          for f in build/image-*.tar.zst; do\n            echo \"decompressing $f\"\n            zstd -d --rm ${f}\n          done\n\n          for f in build/image-*.tar; do\n            echo \"loading $f\"\n            docker load --input $f\n          done\n\n      - name: Build\n        run: |\n          # Do empty target so all generated files are touched.\n          ./build-linux.py --make-target empty\n\n          # Touch mtimes of all images so they are newer than autogenerated files above.\n          touch build/image-*\n\n          ./build-linux.py --target-triple ${{ matrix.build.target_triple }} --python ${{ matrix.build.py }} --optimizations ${{ matrix.build.optimizations }}\n\n      - name: Validate Distribution\n        run: |\n          chmod +x build/pythonbuild\n\n          if [ -n \"${{matrix.build.run}}\" ]; then\n            EXTRA_ARGS=\"--run\"\n          fi\n\n          build/pythonbuild validate-distribution ${EXTRA_ARGS} dist/*.tar.zst\n\n      - name: Upload Distribution\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.build.py }}-${{ matrix.build.target_triple }}-${{ matrix.build.optimizations }}\n          path: dist/*\n", "state": "active", "repository": "indygreg/python-build-standalone"}
{"mined_at": "2024-07-15T13:10:22.014874", "created_at": "2024-07-14T00:22:37+02:00", "updated_at": "2024-07-14T00:22:37+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": null, "state": "active", "repository": "indygreg/python-build-standalone"}
{"mined_at": "2024-07-15T13:10:23.064381", "created_at": "2020-12-13T21:55:20+01:00", "updated_at": "2024-02-24T19:40:16+01:00", "name": "Windows Python build", "path": ".github/workflows/windows.yml", "contents": "name: Windows Python build\n\non:\n  push:\n    branches: [main]\n  pull_request:\n  schedule:\n    - cron: '13 11 * * *'\njobs:\n  pythonbuild:\n    runs-on: 'windows-2019'\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Rust\n        uses: dtolnay/rust-toolchain@v1\n        with:\n          toolchain: stable\n\n      - name: Emit rustc version\n        run: |\n          rustc --version > .rustc-version\n\n      - uses: actions/cache@v4\n        with:\n          path: |\n            C:/Rust/.cargo/registry\n            C:/Rust/.cargo/git\n            target\n          key: ${{ runner.os }}-pythonbuild-${{ hashFiles('Cargo.lock', '.rustc-version') }}\n\n      - name: Build\n        run: |\n          cargo build --release\n\n      - name: Upload executable\n        uses: actions/upload-artifact@v4\n        with:\n          name: pythonbuild\n          path: target/release/pythonbuild.exe\n\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        py:\n          - 'cpython-3.8'\n          - 'cpython-3.9'\n          - 'cpython-3.10'\n          - 'cpython-3.11'\n          - 'cpython-3.12'\n        vcvars:\n          - 'vcvars32.bat'\n          - 'vcvars64.bat'\n        profile:\n          - 'pgo'\n    needs: pythonbuild\n    runs-on: 'windows-2019'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Cygwin Environment\n        uses: cygwin/cygwin-install-action@49f298a7ebb00d4b3ddf58000c3e78eff5fbd6b9\n        with:\n          packages: autoconf automake libtool\n\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Download pythonbuild Executable\n        uses: actions/download-artifact@v4\n        with:\n          name: pythonbuild\n\n      # We need to do this before we activate the VC++ environment or else binary packages\n      # don't get compiled properly.\n      - name: Bootstrap Python environment\n        run: |\n          py.exe -3.9 build-windows.py --help\n\n      - name: Build\n        shell: cmd\n        run: |\n          call \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Auxiliary\\Build\\${{ matrix.vcvars }}\"\n          py.exe -3.9 build-windows.py --python ${{ matrix.py }} --sh c:\\cygwin\\bin\\sh.exe --profile ${{ matrix.profile }}\n\n      - name: Validate Distribution\n        run: |\n          $Dists = Resolve-Path -Path \"dist/*.tar.zst\" -Relative\n          .\\pythonbuild.exe validate-distribution --run $Dists\n\n      - name: Upload Distributions\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.py }}-${{ matrix.vcvars }}-${{ matrix.profile }}\n          path: dist/*\n", "state": "active", "repository": "indygreg/python-build-standalone"}
{"mined_at": "2024-07-15T13:10:25.174691", "created_at": "2023-01-07T22:06:02+01:00", "updated_at": "2023-01-14T14:59:01+01:00", "name": "afni", "path": ".github/workflows/afni.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:26.218851", "created_at": "2023-01-07T22:06:02+01:00", "updated_at": "2023-01-14T14:59:01+01:00", "name": "ants", "path": ".github/workflows/ants.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:27.259326", "created_at": "2023-11-12T16:23:31+01:00", "updated_at": "2023-11-12T16:23:31+01:00", "name": "bids_validator", "path": ".github/workflows/bids_validator.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:28.319349", "created_at": "2023-01-17T23:09:38+01:00", "updated_at": "2023-02-07T15:47:33+01:00", "name": "bootstrap", "path": ".github/workflows/bootstrap.yml", "contents": "---\n# this workflow bootstraps the testing of the build the docker images\n#\n# - this will run the python script used to generate the workflows\n#   based on a the jinja template\n# - commit and push the generated workflows to the branch test_docker_build\n#   where they will be executed\n\nname: bootstrap\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.ref }}\n    cancel-in-progress: true\n\non:\n    push:\n        branches: [master]\n        paths:\n        -   .github/workflows/bootstrap.yml\n        -   .github/workflows/create_workflows.py\n        -   neurodocker/**\n\n# Uses the cron schedule for github actions\n#\n# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#scheduled-events\n#\n#         ┌───────────── minute (0 - 59)\n#         │ ┌───────────── hour (0 - 23)\n#         │ │   ┌───────────── day of the month (1 - 31)\n#         │ │   │    ┌───────────── month (1 - 12 or JAN-DEC)\n#         │ │   │    │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n#         │ │   │    │ │\n#         │ │   │    │ │\n#         │ │   │    │ │\n#         * *   *    * *\n\n    schedule:\n    -   cron: 0 0 1,15 * *\n\n  # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n        inputs:\n            software_name:\n                description: software to test\n                required: true\n                default: all\n\npermissions:\n    contents: write\n    actions: write\njobs:\n    bootstrap:\n        runs-on: ubuntu-22.04\n\n        steps:\n        -   uses: actions/checkout@v4\n            with:\n                token: ${{ secrets.CI_FLOW }}\n\n        -   name: Set up Python\n            uses: actions/setup-python@v5\n            with:\n                python-version: '3.11'\n\n        -   name: Install dependencies\n            run: python -m pip install jinja2 pyyaml\n\n        -   name: Create workflows\n            run: |\n                software_name=${{ inputs.software_name }}\n                if [ -z \"$software_name\" ]; then\n                  software_name=\"all\"\n                fi\n                if [ \"$software_name\" = \"all\" ]; then\n                  echo \"testing all software\"\n                else\n                  echo \"testing ${software_name}\"\n                fi\n                git checkout -b test_docker_build\n                python .github/workflows/create_workflows.py --software_name ${software_name}\n                ls -l .github/workflows\n                git add .\n                git config --global user.email \"no-reply@repronim.org\"\n                git config --global user.name \"Repronim neurodocker bot\"\n                git commit -am \"added new workflows\"\n                git push origin --force test_docker_build\n", "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:29.354270", "created_at": "2023-01-07T22:06:02+01:00", "updated_at": "2023-01-14T14:59:01+01:00", "name": "cat12", "path": ".github/workflows/cat12.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:30.407680", "created_at": "2023-01-14T14:40:07+01:00", "updated_at": "2023-01-14T14:59:01+01:00", "name": "convert3d", "path": ".github/workflows/convert3d.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:31.458689", "created_at": "2023-01-14T14:40:07+01:00", "updated_at": "2023-01-14T14:59:01+01:00", "name": "dcm2niix", "path": ".github/workflows/dcm2niix.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:32.578354", "created_at": "2023-02-03T20:15:38+01:00", "updated_at": "2023-02-03T20:15:38+01:00", "name": ".github/workflows/docs.yml", "path": ".github/workflows/docs.yml", "contents": "---\non:\n    push:\n        branches:\n        -   master\npermissions:\n    contents: write\njobs:\n    build_docs:\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n        -   name: Set up Python\n            uses: actions/setup-python@v5\n            with:\n                python-version: '3.10'\n        -   name: Install neurodocker\n            run: python -m pip install --editable .[all]\n        -   name: build docs\n            run: |\n                make -C docs cli\n                make -C docs list\n                sphinx-build docs docs-build\n        -   name: Deploy\n            uses: JamesIves/github-pages-deploy-action@v4\n            with:\n                folder: docs-build # The folder the action should deploy.\n", "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:33.798757", "created_at": "2023-01-07T22:06:02+01:00", "updated_at": "2023-01-14T14:59:01+01:00", "name": "freesurfer", "path": ".github/workflows/freesurfer.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:34.870933", "created_at": "2023-01-07T22:06:02+01:00", "updated_at": "2023-01-14T14:59:01+01:00", "name": "fsl", "path": ".github/workflows/fsl.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:35.862617", "created_at": "2023-11-12T12:53:38+01:00", "updated_at": "2023-11-12T12:53:38+01:00", "name": "jq", "path": ".github/workflows/jq.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:36.974990", "created_at": "2023-01-07T22:06:02+01:00", "updated_at": "2023-01-14T14:59:01+01:00", "name": "matlabmcr", "path": ".github/workflows/matlabmcr.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:37.987562", "created_at": "2023-08-29T23:12:26+02:00", "updated_at": "2023-08-29T23:12:26+02:00", "name": "miniconda", "path": ".github/workflows/miniconda.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:39.010181", "created_at": "2023-01-14T14:40:07+01:00", "updated_at": "2023-01-14T14:59:01+01:00", "name": "mricron", "path": ".github/workflows/mricron.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:40.080046", "created_at": "2023-01-07T22:06:02+01:00", "updated_at": "2023-01-14T14:59:01+01:00", "name": "mrtrix3", "path": ".github/workflows/mrtrix3.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:41.184712", "created_at": "2023-01-14T23:57:20+01:00", "updated_at": "2023-01-14T23:57:20+01:00", "name": "Publish to pypi on Github release", "path": ".github/workflows/publish.yml", "contents": "---\nname: Publish to pypi on Github release\n\non:\n    release:\n        types: [published]\n\njobs:\n    pypi-release:\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n\n        -   name: Set up Python\n            uses: actions/setup-python@v5\n            with:\n                python-version: '3.10'\n\n        -   name: Install build & twine\n            run: python -m pip install build twine\n\n        -   name: Publish to pypi\n            run: |\n                python -m build\n                twine upload dist/*\n            env:\n                TWINE_USERNAME: __token__\n                TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:42.338332", "created_at": "2020-09-11T19:14:19+02:00", "updated_at": "2021-07-28T16:32:24+02:00", "name": "CI", "path": ".github/workflows/pull-request.yml", "contents": "---\nname: CI\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.ref }}\n    cancel-in-progress: true\n\non:\n    pull_request:\n        branches: [master]\n\njobs:\n    run-tests:\n        runs-on: ubuntu-22.04\n        strategy:\n            matrix:\n                python-version: ['3.12', '3.11', '3.10', '3.9', '3.8']\n            fail-fast: false\n        steps:\n        -   name: Install Apptainer\n            env:\n                VERSION: 1.1.5\n            run: |\n                sudo apt-get update\n                sudo apt-get install -y wget\n                wget https://github.com/apptainer/apptainer/releases/download/v${VERSION}/apptainer_${VERSION}_amd64.deb\n                wget https://github.com/apptainer/apptainer/releases/download/v${VERSION}/apptainer-suid_${VERSION}_amd64.deb\n                sudo apt-get install --yes ./apptainer*\n        -   name: Set Apptainer/Singularity environment variables\n            run: |\n                # Give reproenv the full path to apptainer, so it still works with `sudo`.\n                echo REPROENV_APPTAINER_PROGRAM=apptainer >> $GITHUB_ENV\n                echo APPTAINER_CACHEDIR=/dev/shm/$(whoami)/singularity >> $GITHUB_ENV\n        -   uses: actions/checkout@v4\n        -   name: Set up Python\n            uses: actions/setup-python@v5\n            with:\n                python-version: ${{ matrix.python-version }}\n        -   name: Install neurodocker\n            run: python -m pip install --editable .[dev]\n        -   name: Run python tests\n            run: pytest --numprocesses auto\n        -   name: Get code coverage\n            run: codecov\n", "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:43.514708", "created_at": "2023-01-14T23:57:21+01:00", "updated_at": "2023-01-14T23:57:21+01:00", "name": "Auto-release on PR merge", "path": ".github/workflows/release.yml", "contents": "---\nname: Auto-release on PR merge\n\non:\n  # ATM, this is the closest trigger to a PR merging\n    push:\n        branches:\n        -   master\n\nenv:\n    AUTO_VERSION: v11.1.6\n\njobs:\n    auto-release:\n        runs-on: ubuntu-latest\n        if: \"!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')\"\n        steps:\n        -   uses: actions/checkout@v4\n\n        -   name: Prepare repository\n        # Fetch full git history and tags\n            run: git fetch --unshallow --tags\n\n        -   name: Unset header\n        # checkout@v2 adds a header that makes branch protection report errors\n        # because the Github action bot is not a collaborator on the repo\n            run: git config --local --unset http.https://github.com/.extraheader\n\n        -   name: Set up Python\n            uses: actions/setup-python@v5\n            with:\n                python-version: '3.10'\n\n        -   name: Download auto\n            run: |\n                auto_download_url=\"$(curl -fsSL https://api.github.com/repos/intuit/auto/releases/tags/$AUTO_VERSION | jq -r '.assets[] | select(.name == \"auto-linux.gz\") | .browser_download_url')\"\n                wget -O- \"$auto_download_url\" | gunzip > ~/auto\n                chmod a+x ~/auto\n\n        -   name: Create release\n            run: |\n                ~/auto shipit -vv\n            env:\n                GH_TOKEN: ${{ secrets.AUTO_USER_TOKEN }}\n", "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:45.087724", "created_at": "2024-04-02T09:15:49+02:00", "updated_at": "2024-04-03T10:46:30+02:00", "name": "pre-commit", "path": ".github/workflows/run_precommit.yml", "contents": "---\nname: pre-commit\n\non:\n    pull_request:\n    push:\n        branches: [master]\n\njobs:\n    pre-commit:\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n        -   uses: actions/setup-python@v5\n        -   uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:46.136061", "created_at": "2023-01-07T22:06:02+01:00", "updated_at": "2023-01-14T14:59:01+01:00", "name": "spm12", "path": ".github/workflows/spm12.yml", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:47.451777", "created_at": "2023-08-22T15:57:33+02:00", "updated_at": "2023-08-22T15:57:33+02:00", "name": "Close inactive issues", "path": ".github/workflows/stale.yml", "contents": "---\n# CRON job to close inactive issues.\n# https://docs.github.com/en/actions/managing-issues-and-pull-requests/closing-inactive-issues\n\nname: Close inactive issues\non:\n    schedule:\n    -   cron: 30 1 * * *\n\njobs:\n    close-issues:\n        runs-on: ubuntu-latest\n        permissions:\n            issues: write\n            pull-requests: write\n        steps:\n        -   uses: actions/stale@v9\n            with:\n                days-before-issue-stale: 60\n                days-before-issue-close: 60\n                stale-issue-label: stale\n                stale-issue-message: This issue is stale because it has been open for 30 days with no activity.\n                close-issue-message: This issue was closed because it has been inactive for 14 days since being marked as stale.\n                days-before-pr-stale: -1\n                days-before-pr-close: -1\n                repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:48.624091", "created_at": "2023-09-03T18:26:31+02:00", "updated_at": "2023-09-18T04:05:33+02:00", "name": "test examples", "path": ".github/workflows/test_doc.yml", "contents": "---\nname: test examples\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.ref }}\n    cancel-in-progress: true\n\non:\n    push:\n        branches: [master]\n    pull_request:\n        branches: [master]\n\n    schedule:\n    -   cron: 0 0 1 * *\n\n    # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n\njobs:\n    test_examples:\n        runs-on: ubuntu-22.04\n\n        steps:\n        -   uses: actions/checkout@v4\n\n        -   name: Set up Python\n            uses: actions/setup-python@v5\n            with:\n                python-version: '3.11'\n\n        -   name: Install neurodocker\n            run: python -m pip install --editable .\n\n        -   name: test common uses\n            run: bash < docs/common_uses/conda_multiple_env.txt\n\n        -   name: 'test nipype_tuto: failure expected'\n            run: bash < docs/examples/nipype_tuto.txt\n          # do not fail the workflow if the example fails\n            continue-on-error: true\n", "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:49.835739", "created_at": "2024-04-02T09:15:49+02:00", "updated_at": "2024-04-03T10:46:30+02:00", "name": "type checking", "path": ".github/workflows/type_checks.yml", "contents": "---\nname: type checking\n\n# runs type checks on several pythons as some errors may only show up on older versions\n\non:\n    pull_request:\n        branches: [master]\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.ref }}\n    cancel-in-progress: true\n\njobs:\n\n    typecheck:\n\n        runs-on: ubuntu-latest\n\n        strategy:\n            matrix:\n                python-version: ['3.12', '3.11', '3.10', '3.9', '3.8']\n\n        steps:\n        -   uses: actions/checkout@v4\n\n        -   name: Set up Python\n            uses: actions/setup-python@v5\n            with:\n                python-version: ${{ matrix.python-version }}\n\n        -   name: Install neurodocker\n            run: python -m pip install . mypy\n\n        -   name: Check types\n            run: mypy --install-types --non-interactive neurodocker\n", "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:50.855229", "created_at": "2024-04-03T10:46:30+02:00", "updated_at": "2024-04-03T10:46:30+02:00", "name": "Update precommit hooks", "path": ".github/workflows/update_precommit_hooks.yml", "contents": "---\nname: Update precommit hooks\n\n\non:\n\n# Uses the cron schedule for github actions\n#\n# https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#scheduled-events\n#\n#            ┌───────────── minute (0 - 59)\n#            │ ┌───────────── hour (0 - 23)\n#            │ │ ┌───────────── day of the month (1 - 31)\n#            │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n#            │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n#            │ │ │ │ │\n#            │ │ │ │ │\n#            │ │ │ │ │\n#            * * * * *\n    schedule:\n    -   cron: 0 0 * * 1 # every monday\n\n  # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n\njobs:\n    update_precommit_hooks:\n\n    # only run on upstream repo\n        if: github.repository_owner == 'ReproNim'\n\n        runs-on: ubuntu-latest\n        steps:\n        -   name: Checkout repo\n            uses: actions/checkout@v4\n        -   name: Set up Python\n            uses: actions/setup-python@v5\n            with:\n                python-version: '3.12'\n                allow-prereleases: false\n        -   name: Install pre-commit\n            run: pip install pre-commit\n        -   name: Update pre-commit hooks\n            run: pre-commit autoupdate\n        -   name: Create Pull Request\n            uses: peter-evans/create-pull-request@v6\n            with:\n                commit-message: pre-commit hooks auto-update\n                base: master\n                token: ${{ secrets.GITHUB_TOKEN }}\n                delete-branch: true\n                title: '[BOT] update pre-commit hooks'\n                body: done via this [GitHub Action](https://github.com/${{ github.repository_owner }}/neurodocker/blob/master/.github/workflows/update_precommit_hooks.yml)\n", "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:51.903253", "created_at": "2023-01-19T02:25:31+01:00", "updated_at": "2023-01-19T02:25:31+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "repronim/neurodocker"}
{"mined_at": "2024-07-15T13:10:54.094712", "created_at": "2020-12-03T12:44:00+01:00", "updated_at": "2020-12-03T12:44:00+01:00", "name": "Test + Deploy", "path": ".github/workflows/ci.yml", "contents": "name: Test + Deploy\n\non:\n  push:\n    branches: [main]\n    tags: [\"v*.*.*\"]\n  pull_request:\n    branches: [main]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.11\"\n    - name: Install dependencies\n      run: pip install tox\n    - name: Run style and typing checks\n      run: tox -e lint\n  test:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.8\"]\n        platform: [ubuntu-latest, windows-latest]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: pip install tox coverage\n    - name: Test with tox\n      run: tox -e py\n    - name: Produce coverage files\n      run: |\n        coverage combine\n        coverage xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n      with:\n        file: coverage.xml\n        flags: unittests\n        name: codecov-umbrella\n        fail_ci_if_error: false\n        # see https://github.com/codecov/codecov-action/issues/557\n        token: ${{ secrets.CODECOV_TOKEN }}\n  deploy:\n    # only run if the commit is tagged...\n    if: startsWith(github.ref, 'refs/tags/v')\n    # ... and both the lint and test jobs completed successfully\n    needs:\n      - lint\n      - test\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        # setuptools_scm requires the git clone to not be 'shallow'\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n    - name: Extract release notes from annotated tag message\n      id: release_notes\n      env:\n        # e.g. v0.1.0a1, v1.2.0b2 or v2.3.0rc3, but not v1.0.0\n        PRERELEASE_TAG_PATTERN: \"v[[:digit:]]+\\\\.[[:digit:]]+\\\\.[[:digit:]]+([ab]|rc)[[:digit:]]+\"\n      run: |\n        # GH checkout action doesn't preserve tag annotations, we must fetch them\n        # https://github.com/actions/checkout/issues/290\n        git fetch --tags --force\n        # strip leading 'refs/tags/' to get the tag name\n        TAG_NAME=\"${GITHUB_REF##*/}\"\n        # Dump tag message to temporary .md file (excluding the PGP signature at the bottom)\n        TAG_MESSAGE=$(git tag -l --format='%(contents)' $TAG_NAME | sed -n '/-----BEGIN PGP SIGNATURE-----/q;p')\n        echo \"$TAG_MESSAGE\" > \"${{ runner.temp }}/release_notes.md\"\n        # if the tag has a pre-release suffix mark the Github Release accordingly\n        if egrep -q \"$PRERELEASE_TAG_PATTERN\" <<< \"$TAG_NAME\"; then\n          echo \"Tag contains a pre-release suffix\"\n          echo \"IS_PRERELEASE=true\" >> \"$GITHUB_ENV\"\n        else\n          echo \"Tag does not contain pre-release suffix\"\n          echo \"IS_PRERELEASE=false\" >> \"$GITHUB_ENV\"\n        fi\n    - name: Create GitHub release\n      id: create_release\n      uses: actions/create-release@v1\n      env:\n        # This token is provided by Actions, you do not need to create your own token\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        tag_name: ${{ github.ref }}\n        release_name: ${{ github.ref }}\n        body_path: \"${{ runner.temp }}/release_notes.md\"\n        draft: false\n        prerelease: ${{ env.IS_PRERELEASE }}\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        if [ \"$IS_PRERELEASE\" == true ]; then\n          echo \"DEBUG: This is a pre-release\"\n        else\n          echo \"DEBUG: This is a final release\"\n        fi\n        # use https://github.com/pypa/build for our setup.py-less setup\n        pipx run build\n        pipx run twine upload dist/*\n", "state": "active", "repository": "googlefonts/glyphslib"}
{"mined_at": "2024-07-15T13:10:55.125908", "created_at": "2021-07-20T10:30:06+02:00", "updated_at": "2021-07-22T11:43:59+02:00", "name": "Regression Tests", "path": ".github/workflows/regression.yml", "contents": "name: Regression Tests\n\non:\n  push:\n    branches: [main]\n    tags: [\"v*.*.*\"]\n  pull_request:\n    branches: [main]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set up Python\n      uses: actions/setup-python@v4\n\n    # Check out a *known good* version\n    # For now I am assuming 'main' is known good\n    - uses: actions/checkout@v3\n      with:\n        repository: googlefonts/glyphsLib\n        ref: main\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python3 -m venv generate\n        . ./generate/bin/activate && pip install -r requirements.txt -r requirements-dev.txt\n\n    - name: Generate test files\n      run: . ./generate/bin/activate && python3 tests/tools/generate_regression_test_files.py\n      env:\n        PYTHONPATH: Lib\n\n    # Now check out the version we want to test\n    - uses: actions/checkout@v3\n      with:\n        clean: false\n\n    - name: Reinstall dependencies\n      run: |\n        python3 -m venv regression\n        . ./regression/bin/activate && pip install -r requirements.txt -r requirements-dev.txt\n\n    - name: Run tests\n      run: . ./regression/bin/activate && pytest --run-regression-tests tests/regression_test.py -n auto\n      env:\n        PYTHONPATH: Lib\n", "state": "active", "repository": "googlefonts/glyphslib"}
{"mined_at": "2024-07-15T13:10:56.182024", "created_at": "2023-08-10T00:13:52+02:00", "updated_at": "2023-08-10T00:13:52+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googlefonts/glyphslib"}
{"mined_at": "2024-07-15T13:10:58.259119", "created_at": "2024-01-15T16:54:52+01:00", "updated_at": "2024-01-24T14:56:17+01:00", "name": "Generate conda-lock file", "path": ".github/workflows/conda_lock.yml", "contents": "name: Generate conda-lock file\n\non: workflow_dispatch\n\njobs:\n  generate_conda_lock:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install conda-lock with Micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: ci\n          create-args: conda-lock\n          init-shell: bash\n\n      - name: Run conda-lock\n        run: conda-lock --mamba -f environment.yml -p osx-64 -p linux-64 -p win-64 --lockfile conda-lock.yml\n        shell: bash -el {0}\n\n      - name: Get branch name\n        id: branch_name\n        run: |\n          GITHUB_REF=$(echo $GITHUB_REF | sed -e \"s#refs/heads/##g\")\n          echo \"name=$GITHUB_REF\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v5\n        with:\n          add-paths: conda-lock.yml\n          branch: ${{ steps.branch_name.outputs.name }}-conda-lock\n          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n          title: Update conda-lock.yml of `${{ steps.branch_name.outputs.name }}`\n          committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n          commit-message: \"Update conda-lock.yml\"\n          assignees: ${{ github.actor }}\n          \n", "state": "active", "repository": "architecture-building-systems/cityenergyanalyst"}
{"mined_at": "2024-07-15T13:10:59.281599", "created_at": "2024-01-31T17:12:47+01:00", "updated_at": "2024-01-31T17:12:47+01:00", "name": "Docker build", "path": ".github/workflows/docker.yml", "contents": "name: Docker build\n\non:\n  push:\n    branches: [master]\n  release:\n    types: [published]\n\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract Repository Name\n        run: echo \"REPO_NAME=${GITHUB_REPOSITORY@L}\" >>${GITHUB_ENV}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/cea:dev\n            ghcr.io/${{ env.REPO_NAME }}/cea:dev\n\n      - name: Push version tag on release\n        if: github.event_name == 'release' && github.event.action == 'published'\n        run: |\n          docker buildx imagetools create \\\n            --tag ${{ secrets.DOCKERHUB_USERNAME }}/cea:${GITHUB_REF##*/} \\\n            --tag ghcr.io/${{ env.REPO_NAME }}/cea:${GITHUB_REF##*/} \\\n            ghcr.io/${{ env.REPO_NAME }}/cea:dev\n            \n", "state": "active", "repository": "architecture-building-systems/cityenergyanalyst"}
{"mined_at": "2024-07-15T13:11:00.364235", "created_at": "2024-01-20T21:46:06+01:00", "updated_at": "2024-01-21T11:56:39+01:00", "name": "Ruff", "path": ".github/workflows/linter.yml", "contents": "name: Ruff\non:\n  pull_request:\n  push:\n    branches: [ master ]\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n        with:\n          args: check --ignore E741,F841", "state": "active", "repository": "architecture-building-systems/cityenergyanalyst"}
{"mined_at": "2024-07-15T13:11:01.412164", "created_at": "2020-06-07T14:46:14+02:00", "updated_at": "2022-05-28T09:19:42+02:00", "name": "Push to Master", "path": ".github/workflows/main.yml", "contents": "name: Push to Master\n\non:\n  push:\n    branches: [master]\n\njobs:\n  test:\n    name: ${{ matrix.os }}-test\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Conda environment with Micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: conda-lock.yml\n          environment-name: cea\n          cache-environment: true\n\n      - name: Install CEA\n        shell: bash -l {0}\n        run: pip install .\n\n      - name: Run tests\n        shell: bash -l {0}\n        run: |\n          cea test --type unittest\n          cea test --type integration\n", "state": "active", "repository": "architecture-building-systems/cityenergyanalyst"}
{"mined_at": "2024-07-15T13:11:02.425957", "created_at": "2022-05-11T17:16:16+02:00", "updated_at": "2022-05-13T11:12:06+02:00", "name": "Pull Request Tests", "path": ".github/workflows/pull.request.yml", "contents": "name: Pull Request Tests\n\non:\n  pull_request:\n    types: [opened, synchronize]\n    branches: [master]\n\njobs:\n  check_environment_yml:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup master branch locally without switching current branch\n        run: git fetch origin master:master\n\n      - name: Check environment.yml diff\n        id: environment_yml_diff\n        run: |\n          set +e\n          git diff --quiet ..master -- environment.yml\n          echo \"env_diff=$?\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Check conda-lock.yml diff\n        id: conda_lock_yml_diff\n        run: |\n          set +e\n          git diff --quiet ..master -- conda-lock.yml\n          echo \"lock_diff=$?\" >> \"$GITHUB_OUTPUT\"\n\n      - uses: actions/github-script@v7\n        if: ${{ steps.environment_yml_diff.outputs.env_diff != 0 && steps.conda_lock_yml_diff.outputs.lock_diff == 0 }}\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Changes detected in `environment.yml` but `conda-lock.yml` is not updated.'\n            })\n            core.setFailed('conda-lock.yml needs to be updated')\n\n  build:\n    name: ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    needs: check_environment_yml\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Conda environment with Micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: conda-lock.yml\n          environment-name: cea\n          cache-environment: true\n\n      - name: Install CEA\n        shell: bash -l {0}\n        run: pip install .\n\n      - name: Run tests\n        shell: bash -l {0}\n        run: |\n          cea test --type unittest\n          cea test --type integration\n", "state": "active", "repository": "architecture-building-systems/cityenergyanalyst"}
{"mined_at": "2024-07-15T13:11:03.448019", "created_at": "2022-10-25T10:47:38+02:00", "updated_at": "2024-04-12T14:40:36+02:00", "name": "Build CEA Setup", "path": ".github/workflows/setup_build.yml", "contents": "name: Build CEA Setup\n\non:\n  workflow_dispatch\n\njobs:\n  build_win_setup:\n    runs-on: \"windows-latest\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Install CEA to python environment\n        run: pip install .\n\n      - name: Get CEA version\n        shell: bash\n        run: echo \"CEA_VERSION=$(python -c \"import cea; print(cea.__version__)\")\" >> \"$GITHUB_ENV\"\n\n      - name: Create sdist of CEA\n        shell: bash\n        run: |\n          python -m pip install build\n          python -m build\n          mv dist/cityenergyanalyst-$CEA_VERSION.tar.gz setup/cityenergyanalyst.tar.gz\n\n      - name: Cache CEA env\n        id: cache-env\n        uses: actions/cache@v4\n        with:\n          path: |\n            setup/dependencies/cea-env.7z\n            setup/dependencies/micromamba.exe\n          key: ${{ runner.os }}-${{ hashFiles('conda-lock.yml') }}-env\n      \n      - uses: mamba-org/setup-micromamba@v1\n        if: steps.cache-env.outputs.cache-hit != 'true'\n        with:\n          environment-file: conda-lock.yml\n          environment-name: cea\n          cache-environment: true\n          micromamba-binary-path: setup/dependencies/micromamba.exe\n          create-args: --no-pyc\n\n      - name: Clean conda environment\n        if: steps.cache-env.outputs.cache-hit != 'true'\n        shell: bash -el {0}\n        run: micromamba clean -afy\n\n      - name: Compress conda environment\n        if: steps.cache-env.outputs.cache-hit != 'true'\n        shell: bash -el {0}\n        run: 7z a setup/dependencies/cea-env.7z $MAMBA_ROOT_PREFIX\n\n      - uses: actions/checkout@v4\n        with:\n          path: gui\n          repository: architecture-building-systems/CityEnergyAnalyst-GUI\n\n      - name: Package CEA GUI\n        shell: bash -el {0}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GUI_GH_TOKEN }}\n        run: |\n          cd $GITHUB_WORKSPACE/gui\n          yarn\n          yarn version $CEA_VERSION\n          yarn electron:release\n          mv \"out/CityEnergyAnalyst-GUI Setup ${CEA_VERSION}.exe\" $GITHUB_WORKSPACE/setup/gui_setup.exe\n\n      - name: Install setup plugin\n        shell: bash\n        run: |\n          cd \"C:\\Program Files (x86)\\NSIS\\Plugins\\x86-unicode\"\n          curl -o Nsis7z.7z https://nsis.sourceforge.io/mediawiki/images/6/69/Nsis7z_19.00.7z\n          7z e Nsis7z.7z Plugins/x86-unicode/nsis7z.dll\n\n      - name: Make setup\n        shell: bash\n        run: |\n          mkdir -p $GITHUB_WORKSPACE/setup/Output\n          makensis $GITHUB_WORKSPACE/setup/cityenergyanalyst.nsi\n\n      - name: Upload setup\n        uses: actions/upload-artifact@v4\n        with:\n          name: setup\n          path: ${{ github.workspace }}\\setup\\Output\n          compression-level: 0 \n\n  build_mac_dmg:\n    runs-on: \"macos-12\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: cea\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Install CEA to python environment\n        run: pip install ${{ github.workspace }}/cea\n\n      - name: Get CEA version\n        shell: bash\n        run: echo \"CEA_VERSION=$(python -c \"import cea; print(cea.__version__)\")\" >> \"$GITHUB_ENV\"\n\n      - uses: actions/checkout@v4\n        with:\n          path: gui\n          repository: architecture-building-systems/CityEnergyAnalyst-GUI\n\n      - name: Fetch micromamba\n        run: |\n          cd gui\n          mkdir -p ./dependencies/arm64\n          curl -Ls https://micro.mamba.pm/api/micromamba/osx-arm64/latest | tar -xvj -C ./dependencies/arm64 --strip-components=1 bin/micromamba\n          mkdir -p ./dependencies/x64\n          curl -Ls https://micro.mamba.pm/api/micromamba/osx-64/latest | tar -xvj -C ./dependencies/x64 --strip-components=1 bin/micromamba \n\n      - name: Save Apple API Key secret to file\n        env:\n          APPLE_API_KEY_BASE64: ${{ secrets.APPLE_API_KEY_BASE64 }}\n        run: |\n          echo -n $APPLE_API_KEY_BASE64 | base64 -d -o ${{ github.workspace }}/gui/api_key.p8\n  \n      - uses: actions/setup-node@v4\n        with:\n          node-version: 20\n  \n      - name: Enable Corepack\n        run: corepack enable\n\n      - name: Package CEA GUI\n        env:\n          APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}\n          APPLE_API_KEY: ${{ github.workspace }}/gui/api_key.p8\n          APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}\n          CSC_LINK: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}\n          CSC_KEY_PASSWORD: ${{ secrets.P12_PASSWORD }}\n          GITHUB_TOKEN: ${{ secrets.GUI_GH_TOKEN }}\n        run: |\n          cd gui\n          yarn\n          yarn version $CEA_VERSION\n          yarn electron:release --arm64 --x64\n", "state": "active", "repository": "architecture-building-systems/cityenergyanalyst"}
{"mined_at": "2024-07-15T13:11:04.512591", "created_at": "2024-01-23T11:51:24+01:00", "updated_at": "2024-01-23T11:51:24+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "architecture-building-systems/cityenergyanalyst"}
{"mined_at": "2024-07-15T13:11:06.681854", "created_at": "2019-12-20T10:24:13+01:00", "updated_at": "2023-02-08T17:14:33+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non: [push]\n\njobs:\n  python:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Show ref\n        run: |\n          echo \"$GITHUB_REF\"\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install dependencies\n        env:\n          DEBIAN_FRONTEND: noninteractive\n        run: |\n          sudo apt-get update -y -qq\n          sudo apt-get install -y -qq libicu-dev\n          pip install wheel pyicu setuptools\n          pip install -e \".[dev]\"\n      - name: Run checks for default model\n        run: |\n          python contrib/check_model.py\n          make default-model\n          git diff\n          if [[ -z \"$(git status --porcelain)\" ]];\n          then\n            echo \"Default model is up to date 👌\"\n          else\n            echo \"⚠️ Default model is not up to date. You need to run `make default-model` and commit the changes.\";\n            exit 1;\n          fi;\n      - name: Run the tests\n        run: |\n          make test\n      - name: Partial mypy type-check\n        run: |\n          make typecheck\n      - name: Build a followthemoney distribution\n        run: |\n          python setup.py sdist bdist_wheel\n      - name: Publish followthemoney to PyPI\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n          packages-dir: dist/\n          skip-existing: true\n\n  nodejs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [16.x]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n      - name: Install dependencies\n        run: |\n          cd js\n          npm install\n          npm run build\n      - name: Run the tests\n        run: |\n          cd js\n          npm run test:prod && npm run lint\n      - name: Publish to NPM\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        run: |\n          cd js\n          npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN\n          npm run build\n          npm publish\n        env:\n          CI: true\n          NPM_AUTH_TOKEN: ${{ secrets.npm_auth_token }}\n\n  docker:\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags')\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          install: true\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ghcr.io/alephdata/followthemoney\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=sha\n      - name: Set env\n        run: echo \"VERSION_NUMBER=${GITHUB_REF/refs\\/tags\\//}\" >> $GITHUB_ENV\n      - name: Login to GitHub Packages\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          cache-from: type=gha\n      - name: Build and push docker image\n        if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n", "state": "active", "repository": "alephdata/followthemoney"}
{"mined_at": "2024-07-15T13:11:07.697392", "created_at": "2022-11-24T12:34:38+01:00", "updated_at": "2023-02-08T17:14:33+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\non:\n  - push\n  - workflow_dispatch\n\n# concurrency:\n#   group: pages\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: read\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          # Fetch all commits and tags\n          # (required to generate version information on schema pages)\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install followthemoney Python package\n        run: make dev\n\n      - name: Build Python API docs\n        run: |\n          pip install pdoc\n          pdoc --no-search -o docs/public/reference/python followthemoney.{model,schema,proxy,property,types.common,namespace,graph,util,exc}\n\n      - name: Build namespace XML\n        run: |\n          mkdir -p docs/public/ns\n          python followthemoney/ontology.py docs/public/ns\n\n      - name: Build docs\n        uses: alephdata/astro-theme-docs/.github/actions/build@main\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          docs-path: ./docs\n\n  deploy:\n    if: ${{ github.ref == 'refs/heads/main' }}\n    needs: [\"build\"]\n    runs-on: ubuntu-latest\n\n    permissions:\n      pages: write\n      id-token: write\n\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.url }}\n\n    steps:\n      - name: Deploy docs\n        id: deployment\n        uses: alephdata/astro-theme-docs/.github/actions/deploy@main\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "alephdata/followthemoney"}
{"mined_at": "2024-07-15T13:11:10.812340", "created_at": "2020-12-01T09:17:34+01:00", "updated_at": "2022-07-26T01:41:46+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\n---\nname: \"CodeQL\"\n\n# yamllint disable-line rule:truthy\non:\n  push:\n    branches: [develop]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [develop]\n  schedule:\n    - cron: '40 23 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: ['python']\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript',\n        # 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v1\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a\n          # config file.  By default, queries listed here will override any\n          # specified in a config file.  Prefix the list here with \"+\" to use\n          # these queries and those in the config file.  queries:\n          # ./path/to/local/query, your-org/your-repo/queries@main\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or\n      # Java).  If this step fails, then you should remove it and run the build\n      # manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v1\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following\n      # three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      # - run: |\n      #    make bootstrap\n      #    make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v1\n", "state": "disabled_inactivity", "repository": "exhuma/puresnmp"}
{"mined_at": "2024-07-15T13:11:11.828251", "created_at": "2019-12-26T13:22:14+01:00", "updated_at": "2023-01-01T01:19:04+01:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "---\nname: Python package\n\n# yamllint disable-line rule:truthy\non:\n  push:\n  pull_request:\n  schedule:\n    # Weekly run ensuring no external dependencies cause surprises\n    - cron: '0 0 * * 0'\n\njobs:\n  test:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version:\n          - \"3.7\"\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.x\"\n\n    steps:\n      - uses: actions/checkout@v1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[dev,test]\n      - name: Test with pytest\n        run: |\n          pytest\n\n  quality-control:\n    runs-on: ubuntu-latest\n    needs: test\n    steps:\n      - uses: actions/checkout@v1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Check black formatting\n        run: |\n          pip install black\n          black --check puresnmp\n      - name: Lint with pylint\n        run: |\n          pip install pylint\n          pylint --reports=y --exit-zero puresnmp\n\n\n  publish:\n\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - name: Build distribution\n        if: >\n          github.event_name == 'push' &&\n          startsWith(github.event.ref, 'refs/tags')\n        run: |\n          python -m pip install --upgrade pip wheel build\n          pip install .[dev,test]\n          pyproject-build\n      - name: Publish package\n        if: >\n            github.event_name == 'push' &&\n            startsWith(github.event.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@v1.5.0\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_token }}\n", "state": "disabled_inactivity", "repository": "exhuma/puresnmp"}
{"mined_at": "2024-07-15T13:11:13.963708", "created_at": "2020-04-06T21:22:43+02:00", "updated_at": "2024-02-26T18:55:32+01:00", "name": "build-and-test", "path": ".github/workflows/test.yml", "contents": "name: build-and-test\n\non:\n  push:\n    branches: [ '**' ]\n  pull_request:\n    branches: [ '**' ]\n  schedule:\n    # At 23:25 on Thursday.\n    - cron: \"25 23 * * 4\"\n  workflow_dispatch:\n\njobs:\n\n  # Build on all platforms\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-latest, macos-11, macos-latest, windows-2019, windows-latest]\n        python-version: [ '3.8', '3.x' ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Setup python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Build and install flydra_core\n      run: python -m pip install ./flydra_core\n    - name: Build and install flydra_analysis\n      run: python -m pip install ./flydra_analysis\n\n  # Test on Ubuntu with system python\n  test-ubuntu-system-python:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-latest]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Update package index\n      run: sudo apt-get update\n    - name: Install system packages\n      run: sudo apt-get install -y libcairo2-dev octave # mayavi2 python3-sympy python3-docopt python3-cherrypy3 python3-pkgconfig python-is-python3\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Build and install flydra_core\n      run: |\n        cd flydra_core\n        python -m pip install -e .\n    - name: Test flydra_core\n      run: |\n        python -m pip install pytest\n        cd flydra_core\n        pytest\n\n    - name: Build and install flydra_analysis\n      run: |\n        cd flydra_analysis\n        python -m pip install -e .\n    - name: Test flydra_analysis\n      run: |\n        python -m pip install pytest\n        cd flydra_analysis\n        pytest\n", "state": "active", "repository": "strawlab/flydra"}
{"mined_at": "2024-07-15T13:11:16.062297", "created_at": "2022-12-13T21:14:04+01:00", "updated_at": "2022-12-13T21:14:04+01:00", "name": "Wikipedia Library - test and deploy", "path": ".github/workflows/cicd.yml", "contents": "---\nname: Wikipedia Library - test and deploy\n\non:\n  push:\n    branches: [\"master\", \"staging\"]\n  pull_request:\n    branches: [\"master\"]\n\njobs:\n  cicd:\n    runs-on: ubuntu-latest\n    environment: cicd\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n      - name: build & run\n        run: >\n          sudo .cicd/build.sh\n          ${GITHUB_HEAD_REF:-$GITHUB_REF_NAME}\n          ${GITHUB_SHA}\n      - name: migrate\n        run: >\n          docker compose exec --no-TTY twlight\n          /app/bin/virtualenv_migrate.sh\n      - name: translate\n        run: >\n          docker compose exec --no-TTY twlight\n          /app/bin/virtualenv_translate.sh last-commit\n      - name: test\n        run: >\n          docker compose exec --no-TTY twlight\n          /app/bin/virtualenv_test.sh\n      - name: deploy\n        env:\n          WIKIBOT_TOKEN: ${{secrets.WIKIBOT_TOKEN}}\n          QUAYBOT_USERNAME: ${{secrets.QUAYBOT_USERNAME}}\n          QUAYBOT_PASSWORD: ${{secrets.QUAYBOT_PASSWORD}}\n        run: >\n          sudo .cicd/deploy.sh\n          ${GITHUB_REF_NAME}\n          ${GITHUB_SHA}\n          ${GITHUB_EVENT_NAME}\n          ${GITHUB_REPOSITORY}\n          ${WIKIBOT_TOKEN}\n          ${QUAYBOT_USERNAME}\n          ${QUAYBOT_PASSWORD}\n\n      - name: cleanup\n        if: always()\n        run: sudo chown -R ${USER}:${USER} .\n", "state": "active", "repository": "wikipedialibrary/twlight"}
{"mined_at": "2024-07-15T13:11:17.098271", "created_at": "2021-03-26T20:41:57+01:00", "updated_at": "2021-03-26T20:41:57+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master, production ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '31 13 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "wikipedialibrary/twlight"}
{"mined_at": "2024-07-15T13:11:18.120017", "created_at": "2021-07-28T20:44:33+02:00", "updated_at": "2021-07-28T20:44:33+02:00", "name": "Coveralls Reporting Check", "path": ".github/workflows/coveralls_check.yml", "contents": "name: Coveralls Reporting Check\n\n# Controls when the workflow will run\non:\n  schedule:\n      - cron: \"0 0 * * *\"\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  coveralls_check:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      # Runs a single command using the runners shell\n      - name: Coveralls reporting check\n        run: \"curl -f -s -o /dev/null -w '%{http_code}' https://coveralls.io/builds/$(git rev-parse HEAD).json || curl -f -s -o /dev/null -w '%{http_code}' https://coveralls.io/builds/$(git rev-parse HEAD~).json\"\n", "state": "active", "repository": "wikipedialibrary/twlight"}
{"mined_at": "2024-07-15T13:11:19.187017", "created_at": "2024-07-12T21:21:53+02:00", "updated_at": "2024-07-12T21:21:53+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "wikipedialibrary/twlight"}
{"mined_at": "2024-07-15T13:11:21.270771", "created_at": "2020-05-04T09:58:27+02:00", "updated_at": "2020-05-04T09:58:27+02:00", "name": "Python application", "path": ".github/workflows/cicd.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python application\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  test:\n    name: Python CI\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v1\n      with:\n        python-version: \"3.10.14\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8\n        python -m pip install wheel\n        chmod 777 ./setup.sh\n        ./setup.sh\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    # Coveralls related steps\n    - name: Coverage with coveralls\n      run: |\n        python -m pip install coveralls\n        coverage run --source=kairon -m pytest tests/ --ignore tests/unit_test/augmentation/ --ignore stress_test/ --disable-warnings\n    - env:\n        COVERALLS_PARALLEL: true\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      name: Submit to coveralls.io\n      run: |\n        coveralls --service=github\n    - name: Generate Sphinx files\n      run: |\n        python -m pip install -U sphinx\n        python -m pip install sphinx_rtd_theme\n        cd docs\n        # sphinx-quickstart\n        # set system_file=../system.yaml\n        export system_file=../system.yaml\n        export EMAIl_CONF=../email.yaml\n        make html\n    - name: Configure AWS credentials\n      uses: aws-actions/configure-aws-credentials@v1\n      if: github.ref == 'refs/heads/master'\n      with:\n        aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        aws-region: us-east-1\n    - name: Copy files to the website\n      if: github.ref == 'refs/heads/master'\n      run: |\n        aws s3 sync docs/_build/html s3://${{ secrets.S3_PATH }}\n  finish:\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - name: Coveralls Finished\n        uses: coverallsapp/github-action@master\n        with:\n          github-token: ${{ secrets.github_token }}\n          parallel-finished: true\n", "state": "active", "repository": "digiteinfotech/kairon"}
{"mined_at": "2024-07-15T13:11:22.333934", "created_at": "2021-10-22T11:22:25+02:00", "updated_at": "2021-10-22T11:22:25+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '36 5 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "digiteinfotech/kairon"}
{"mined_at": "2024-07-15T13:11:23.367344", "created_at": "2020-05-17T07:34:17+02:00", "updated_at": "2020-05-17T07:34:17+02:00", "name": "Vulnerability Scan", "path": ".github/workflows/scan_image.yml", "contents": "# This workflow will scan the created docker images at scheduled time and create issue if vulnerability is found\nname: Vulnerability Scan\n\non:\n  schedule:\n    - cron: '30 5 * * 0'\n\njobs:\n  scan:\n    name: Daily Vulnerability Scan\n    runs-on: ubuntu-latest\n    steps:\n      - name: Pull docker images\n        run: |\n          docker pull digite/kairon-api\n          docker pull digite/kairon-ui\n          docker pull digite/kairon-action-server\n          docker pull digite/kairon-history-server\n          docker pull digite/kairon-script-runner\n          docker pull digite/kairon-chat\n          docker pull digite/kairon-paraphrase\n          docker pull digite/kairon-qg\n      - uses: Azure/container-scan@v0.1\n        name: Scanning api image\n        with:\n          image-name: digite/kairon-api\n      - uses: Azure/container-scan@v0.1\n        name: Scanning ui image\n        with:\n          image-name: digite/kairon-ui\n      - uses: Azure/container-scan@v0.1\n        name: Scanning action image\n        with:\n          image-name: digite/kairon-action-server\n      - uses: Azure/container-scan@v0.1\n        name: Scanning script runner image\n        with:\n          image-name: digite/kairon-script-runner\n      - uses: Azure/container-scan@v0.1\n        name: Scanning history image\n        with:\n          image-name: digite/kairon-history-server\n      - uses: Azure/container-scan@v0.1\n        name: Scanning chat image\n        with:\n          image-name: digite/kairon-chat\n      - uses: Azure/container-scan@v0.1\n        name: Scanning paraphrase image\n        with:\n          image-name: digite/kairon-paraphrase\n      - uses: Azure/container-scan@v0.1\n        name: Scanning question generation image\n        with:\n          image-name: digite/kairon-qg", "state": "active", "repository": "digiteinfotech/kairon"}
{"mined_at": "2024-07-15T13:11:24.409091", "created_at": "2021-12-23T06:14:10+01:00", "updated_at": "2021-12-23T06:14:10+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "digiteinfotech/kairon"}
{"mined_at": "2024-07-15T13:11:26.569399", "created_at": "2022-11-29T20:08:18+01:00", "updated_at": "2023-09-19T11:30:02+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    paths-ignore:\n      - '.cookiecutter/*'\n      - 'docs/*'\n      - 'requirements/*.in'\n      - 'requirements/dev.txt'\n      - '**/.gitignore'\n      - '*.md'\n      - 'LICENSE'\n  workflow_call:\n\njobs:\n  backend:\n    name: Backend\n    runs-on: ubuntu-latest\n    env:\n      TOX_PARALLEL_NO_SPINNER: 1\n\n    steps:\n    - name: Checkout git repo\n      uses: actions/checkout@v3\n\n    - name: Setup python\n      uses: actions/setup-python@v4\n      with:\n        python-version-file: '.python-version'\n\n    - name: Update pip\n      run: python -m pip install --upgrade pip\n\n    - name: Install tox\n      run: python -m pip install 'tox<4'\n\n    - name: Cache the .tox dir\n      uses: actions/cache@v3\n      with:\n        path: .tox\n        key: ${{ runner.os }}-tox-${{ hashFiles('tox.ini', 'requirements*', 'setup.py', 'setup.cfg') }}\n        restore-keys: |\n          ${{ runner.os }}-tox-\n\n    - name: Run tox\n      run: tox --parallel auto -e checkformatting,lint,tests,coverage,functests\n\n  frontend:\n    name: Frontend\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n\n    - name: Cache the node_modules dir\n      uses: actions/cache@v3\n      with:\n        path: node_modules\n        key: ${{ runner.os }}-node_modules-${{ hashFiles('package-lock.json') }}\n\n    - name: Lint\n      run: make frontend-lint\n\n    - name: Test\n      run: make frontend-test\n", "state": "active", "repository": "hypothesis/bouncer"}
{"mined_at": "2024-07-15T13:11:27.626210", "created_at": "2022-09-13T10:16:58+02:00", "updated_at": "2022-09-13T10:23:15+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: CodeQL\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  schedule:\n    #        ┌───────────── minute (0 - 59)\n    #        │  ┌───────────── hour (0 - 23)\n    #        │  │ ┌───────────── day of the month (1 - 31)\n    #        │  │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │  │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │  │ │ │ │\n    #        │  │ │ │ │\n    #        │  │ │ │ │\n    #        *  * * * *\n    - cron: '30 1 * * 0'\n\njobs:\n  CodeQL-Build:\n    # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest\n    runs-on: ubuntu-latest\n\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        # Override language selection by uncommenting this and choosing your languages\n        # with:\n        #   languages: go, javascript, csharp, python, cpp, java\n\n      # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below).\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following\n      #    three lines and modify them (or add more) to build your code if your\n      #    project uses a compiled language\n\n      #- run: |\n      #     make bootstrap\n      #     make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "hypothesis/bouncer"}
{"mined_at": "2024-07-15T13:11:28.673250", "created_at": "2022-09-01T11:53:45+02:00", "updated_at": "2022-09-01T11:53:45+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\nconcurrency:\n  group: deploy\n  cancel-in-progress: true\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - '.cookiecutter/*'\n      - '.github/*'\n      - 'docs/*'\n      - 'requirements/*'\n      - '!requirements/requirements.txt'\n      - 'tests/*'\n      - '**/.gitignore'\n      - '*.md'\n      - 'tox.ini'\njobs:\n  docker_hub:\n    name: Docker Hub\n    uses: hypothesis/workflows/.github/workflows/dockerhub.yml@main\n    with:\n      Application: ${{ github.event.repository.name }}\n    secrets: inherit\n  staging:\n    name: Staging\n    needs: [docker_hub]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Staging\n      github_environment_url: https://staging.hyp.is/b01DwMzhEe6X2ssmLT58kw/en.wikipedia.org/wiki/Wikipedia:Terminal_Event_Management_Policy\n      aws_region: us-west-1\n      elasticbeanstalk_application: bouncer\n      elasticbeanstalk_environment: staging\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n  production:\n    name: Production\n    needs: [docker_hub, staging]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Production\n      github_environment_url: https://hyp.is/FiqzonGfEe2o-AfEssZXnw/en.wikipedia.org/wiki/Wikipedia:Terminal_Event_Management_Policy\n      aws_region: us-west-1\n      elasticbeanstalk_application: bouncer\n      elasticbeanstalk_environment: prod\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/bouncer"}
{"mined_at": "2024-07-15T13:11:29.679488", "created_at": "2022-12-01T18:30:59+01:00", "updated_at": "2022-12-01T18:30:59+01:00", "name": "Redeploy", "path": ".github/workflows/redeploy.yml", "contents": "name: Redeploy\nconcurrency:\n  group: deploy\n  cancel-in-progress: true\non:\n  workflow_dispatch:\n    inputs:\n      staging:\n        type: boolean\n        description: Redeploy Staging\n      production:\n        type: boolean\n        description: Redeploy Production\njobs:\n  staging:\n    name: Staging\n    if: inputs.staging\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Staging\n      github_environment_url: https://staging.hyp.is/FiqzonGfEe2o-AfEssZXnw/en.wikipedia.org/wiki/Wikipedia:Terminal_Event_Management_Policy\n      aws_region: us-west-1\n      elasticbeanstalk_application: bouncer\n      elasticbeanstalk_environment: staging\n    secrets: inherit\n  production:\n    name: Production\n    if: inputs.production\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Production\n      github_environment_url: https://hyp.is/FiqzonGfEe2o-AfEssZXnw/en.wikipedia.org/wiki/Wikipedia:Terminal_Event_Management_Policy\n      aws_region: us-west-1\n      elasticbeanstalk_application: bouncer\n      elasticbeanstalk_environment: prod\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/bouncer"}
{"mined_at": "2024-07-15T13:11:30.727143", "created_at": "2023-09-19T11:30:02+02:00", "updated_at": "2023-09-19T11:30:02+02:00", "name": "Slack", "path": ".github/workflows/slack.yml", "contents": "name: Slack\non:\n  workflow_run:\n    workflows: [CI]\n    types: [completed]\n    branches: [main]\njobs:\n  on-failure:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'failure' }}\n    steps:\n      - name: Post to Slack\n        uses: slackapi/slack-github-action@v1.24.0\n        with:\n          channel-id: 'C4K6M7P5E'\n          slack-message: \"A workflow run failed\\n*Repo:* `${{ github.event.repository.full_name }}` (${{ github.event.repository.html_url }})\\n*Workflow:* ${{ github.event.workflow.name }} (${{ github.event.workflow.html_url }})\\n*Branch:* `${{ github.event.workflow_run.head_branch }}`\\n*Commit:* `${{ github.event.workflow_run.head_commit.id }}`\\n*Run:* ${{ github.event.workflow_run.html_url }}\\n*Conclusion:* ${{ github.event.workflow_run.conclusion }}\"\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n", "state": "active", "repository": "hypothesis/bouncer"}
{"mined_at": "2024-07-15T13:11:32.914483", "created_at": "2022-05-05T13:52:44+02:00", "updated_at": "2024-04-17T13:27:32+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - 'main'\n      - '*.*'\n      - '!*backport*'\n    tags:\n      - 'v*'\n      - '!*dev*'\n      - '!*pre*'\n      - '!*post*'\n  pull_request:\n  # Allow manual runs through the web UI\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  core:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main\n    with:\n      submodules: false\n      coverage: codecov\n      toxdeps: tox-pypi-filter\n      envs: |\n        - linux: py312\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  sdist_verify:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - run: python -m pip install -U --user build\n      - run: python -m build . --sdist\n      - run: python -m pip install -U --user twine\n      - run: python -m twine check dist/*\n\n  test:\n    needs: [core, sdist_verify]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main\n    with:\n      submodules: false\n      coverage: codecov\n      toxdeps: tox-pypi-filter\n      posargs: -n auto\n      envs: |\n        - windows: py311\n        - macos: py310\n        - linux: py310-oldestdeps\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  docs:\n    needs: [core]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main\n    with:\n      default_python: '3.10'\n      submodules: false\n      pytest: false\n      toxdeps: tox-pypi-filter\n      libraries: |\n        apt:\n          - graphviz\n      envs: |\n        - linux: build_docs\n          posargs: ''\n          pytest: false\n          libraries:\n            apt:\n              - libopenjp2-7\n              - graphviz\n\n  cron:\n    if: |\n      github.event_name == 'workflow_dispatch' || (\n        github.event_name == 'pull_request' &&\n        contains(github.event.pull_request.labels.*.name, 'Run cron CI')\n      )\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main\n    with:\n      default_python: '3.10'\n      submodules: false\n      coverage: codecov\n      toxdeps: tox-pypi-filter\n      envs: |\n        - linux: py311-devdeps\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  publish_pure:\n      if: |\n        github.event_name != 'pull_request' && (\n          github.ref_name != 'main' ||\n          github.event_name == 'workflow_dispatch' )\n      needs: [test, docs]\n      uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1\n      with:\n        python-version: '3.10'\n        test_extras: 'tests'\n        test_command: 'pytest -p no:warnings --doctest-rst --pyargs ndcube'\n        submodules: false\n      secrets:\n        pypi_token: ${{ secrets.pypi_token }}\n  notify:\n    if: always() && github.event_name == 'workflow_dispatch'\n    needs: [publish_pure, cron]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: Cadair/matrix-notify-action@main\n        with:\n          matrix_token: ${{ secrets.matrix_access_token }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          homeserver: ${{ secrets.matrix_homeserver }}\n          roomid: '!TWSJXVpyflnZOzmSQz:matrix.org'\n          ignore_pattern: '.*Load tox.*'\n", "state": "active", "repository": "sunpy/ndcube"}
{"mined_at": "2024-07-15T13:11:33.892837", "created_at": "2023-03-09T13:19:54+01:00", "updated_at": "2023-10-06T21:27:53+02:00", "name": ".github/workflows/draft-pdf.yml", "path": ".github/workflows/draft-pdf.yml", "contents": null, "state": "active", "repository": "sunpy/ndcube"}
{"mined_at": "2024-07-15T13:11:34.909077", "created_at": "2022-05-05T13:52:44+02:00", "updated_at": "2022-05-05T13:52:44+02:00", "name": "Scheduled builds", "path": ".github/workflows/scheduled_builds.yml", "contents": "name: Scheduled builds\n\non:\n  # Allow manual runs through the web UI\n  workflow_dispatch:\n  schedule:\n    #        ┌───────── minute (0 - 59)\n    #        │ ┌───────── hour (0 - 23)\n    #        │ │ ┌───────── day of the month (1 - 31)\n    #        │ │ │ ┌───────── month (1 - 12 or JAN-DEC)\n    #        │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)\n    - cron: '0 7 * * 1'  # Every day at 07:00 UTC\n\njobs:\n  dispatch_workflows:\n    runs-on: ubuntu-latest\n    steps:\n      - run: gh workflow run ci.yml --repo sunpy/ndcube --ref main\n      - run: gh workflow run ci.yml --repo sunpy/ndcube --ref 2.1\n    env:\n      GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}\n", "state": "active", "repository": "sunpy/ndcube"}
{"mined_at": "2024-07-15T13:11:35.947893", "created_at": "2022-05-05T13:52:44+02:00", "updated_at": "2022-05-05T13:52:44+02:00", "name": "Stale Bot", "path": ".github/workflows/stale_bot.yml", "contents": "name: Stale Bot\n\non:\n  schedule:\n#            ┌───────── minute (0 - 59)\n#            │ ┌───────── hour (0 - 23)\n#            │ │ ┌───────── day of the month (1 - 31)\n#            │ │ │ ┌───────── month (1 - 12 or JAN-DEC)\n#            │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)\n    - cron: '0 5 * * *' # Every day at 05:00 UTC\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        operations-per-run: 50\n        days-before-issue-stale: 99999999 # Never mark issues as stale\n        days-before-pr-stale: 150\n        days-before-close: 30\n        stale-pr-label: 'Stale'\n        stale-pr-message: >-\n          Hello :wave:,\n          Thanks for your contribution to ndcube!\n\n          I have marked this pull request as stale because there hasn't had any activity in five months.\n          If you are still working on this, or if it's waiting on a maintainer to look at it then please let us know and we will keep it open.\n          Please add a comment with: @sunpy/ndcube-developers to get someone's attention.\n\n          If nobody comments on this pull request for another month, it will be closed.\n        close-pr-message: >-\n          Hello again :wave:,\n          We want to thank you again for your contribution to ndcube!\n\n          This pull request has had no activity since my last reminder, so I am going to close it.\n          If at any time you want to come back to this please feel free to reopen it!\n          If you want to discuss this, please add a comment with: @sunpy/ndcube-developers and someone will get back to you soon.\n        exempt-pr-labels:  'Keep Open'\n", "state": "active", "repository": "sunpy/ndcube"}
{"mined_at": "2024-07-15T13:11:36.992939", "created_at": "2024-02-15T13:42:51+01:00", "updated_at": "2024-04-22T15:34:21+02:00", "name": "Automatic Update from package template", "path": ".github/workflows/sub_package_update.yml", "contents": "# This template is taken from the cruft example code, for further information please see:\n# https://cruft.github.io/cruft/#automating-updates-with-github-actions\nname: Automatic Update from package template\npermissions:\n    contents: write\n    pull-requests: write\n\non:\n  # Allow manual runs through the web UI\n  workflow_dispatch:\n  schedule:\n    #        ┌───────── minute (0 - 59)\n    #        │ ┌───────── hour (0 - 23)\n    #        │ │ ┌───────── day of the month (1 - 31)\n    #        │ │ │ ┌───────── month (1 - 12 or JAN-DEC)\n    #        │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)\n    - cron: '0 7 * * 1'  # Every Monday at 7am UTC\n\njobs:\n  update:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        include:\n          - add-paths: .\n            body: apply the changes to this repo.\n            branch: cruft/update\n            commit-message: \"Automatic package template update\"\n            title: Updates from the package template\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Cruft\n        run: python -m pip install git+https://github.com/Cadair/cruft@patch-p1\n\n      - name: Check if update is available\n        continue-on-error: false\n        id: check\n        run: |\n          CHANGES=0\n          if [ -f .cruft.json ]; then\n            if ! cruft check; then\n              CHANGES=1\n            fi\n          else\n            echo \"No .cruft.json file\"\n          fi\n\n          echo \"has_changes=$CHANGES\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Run update if available\n        if: steps.check.outputs.has_changes == '1'\n        run: |\n          git config --global user.email \"${{ github.actor }}@users.noreply.github.com\"\n          git config --global user.name \"${{ github.actor }}\"\n\n          cruft update --skip-apply-ask --refresh-private-variables\n          git restore --staged .\n\n      - name: Create pull request\n        if: steps.check.outputs.has_changes == '1'\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          add-paths: ${{ matrix.add-paths }}\n          commit-message: ${{ matrix.commit-message }}\n          branch: ${{ matrix.branch }}\n          delete-branch: true\n          branch-suffix: timestamp\n          title: ${{ matrix.title }}\n          body: |\n            This is an autogenerated PR, which will ${{ matrix.body }}.\n            [Cruft](https://cruft.github.io/cruft/) has detected updates from the Package Template\n", "state": "active", "repository": "sunpy/ndcube"}
{"mined_at": "2024-07-15T13:11:39.101846", "created_at": "2024-04-01T08:29:57+02:00", "updated_at": "2024-04-01T08:29:57+02:00", "name": "generate_db", "path": ".github/workflows/generate_db.yml", "contents": "name: generate_db\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  generate_db:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Perl dependencies\n      uses: perl-actions/install-with-cpanm@stable\n      with:\n        cpanfile: \"cpanfile\"\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Generate database\n      run: |\n        chmod +x ./generate_db.sh\n        ./generate_db.sh --noninteractive\n", "state": "active", "repository": "de7vid/klingon-assistant-data"}
{"mined_at": "2024-07-15T13:11:41.189516", "created_at": "2023-02-21T01:03:34+01:00", "updated_at": "2023-02-21T17:31:18+01:00", "name": "languages", "path": ".github/workflows/languages.yaml", "contents": "name: languages\n\non:\n  push:\n    branches: [main, test-me-*]\n    tags: '*'\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  vars:\n    runs-on: ubuntu-latest\n    outputs:\n      languages: ${{ steps.vars.outputs.languages }}\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - name: install deps\n      run: python -mpip install -e . -r requirements-dev.txt\n    - name: vars\n      run: testing/languages ${{ github.event_name == 'push' && '--all' || '' }}\n      id: vars\n  language:\n    needs: [vars]\n    runs-on: ${{ matrix.os }}\n    if: needs.vars.outputs.languages != '[]'\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.vars.outputs.languages) }}\n    steps:\n    - uses: asottile/workflows/.github/actions/fast-checkout@v1.4.0\n    - uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n\n    - run: echo \"$CONDA\\Scripts\" >> \"$GITHUB_PATH\"\n      shell: bash\n      if: matrix.os == 'windows-latest' && matrix.language == 'conda'\n    - run: testing/get-coursier.sh\n      shell: bash\n      if: matrix.language == 'coursier'\n    - run: testing/get-dart.sh\n      shell: bash\n      if: matrix.language == 'dart'\n    - run: |\n        sudo apt-get update\n        sudo apt-get install -y --no-install-recommends \\\n          lua5.3 \\\n          liblua5.3-dev \\\n          luarocks\n      if: matrix.os == 'ubuntu-latest' && matrix.language == 'lua'\n    - run: |\n        echo 'C:\\Strawberry\\perl\\bin' >> \"$GITHUB_PATH\"\n        echo 'C:\\Strawberry\\perl\\site\\bin' >> \"$GITHUB_PATH\"\n        echo 'C:\\Strawberry\\c\\bin' >> \"$GITHUB_PATH\"\n      shell: bash\n      if: matrix.os == 'windows-latest' && matrix.language == 'perl'\n    - uses: haskell/actions/setup@v2\n      if: matrix.language == 'haskell'\n\n    - name: install deps\n      run: python -mpip install -e . -r requirements-dev.txt\n    - name: run tests\n      run: coverage run -m pytest tests/languages/${{ matrix.language }}_test.py\n    - name: check coverage\n      run: coverage report --include pre_commit/languages/${{ matrix.language }}.py,tests/languages/${{ matrix.language }}_test.py\n  collector:\n    needs: [language]\n    if: always()\n    runs-on: ubuntu-latest\n    steps:\n    - name: check for failures\n      if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')\n      run: echo job failed && exit 1\n", "state": "active", "repository": "pre-commit/pre-commit"}
{"mined_at": "2024-07-15T13:11:42.245391", "created_at": "2022-12-30T02:54:22+01:00", "updated_at": "2022-12-30T04:48:28+01:00", "name": "main", "path": ".github/workflows/main.yml", "contents": "name: main\n\non:\n  push:\n    branches: [main, test-me-*]\n    tags: '*'\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  main-windows:\n    uses: asottile/workflows/.github/workflows/tox.yml@v1.6.0\n    with:\n      env: '[\"py39\"]'\n      os: windows-latest\n  main-linux:\n    uses: asottile/workflows/.github/workflows/tox.yml@v1.6.0\n    with:\n      env: '[\"py39\", \"py310\", \"py311\", \"py312\"]'\n      os: ubuntu-latest\n", "state": "active", "repository": "pre-commit/pre-commit"}
{"mined_at": "2024-07-15T13:11:44.348472", "created_at": "2024-05-27T16:47:53+02:00", "updated_at": "2024-05-28T04:54:04+02:00", "name": "CI-Lint", "path": ".github/workflows/lint.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: CI-Lint\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n\n      - name: install pre-commit\n        run: pip install pre-commit\n\n      - name: pre-commit cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          key: \"pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\"\n          restore-keys: \"pre-commit-\"\n\n      - run: pre-commit run --all-files --show-diff-on-failure\n", "state": "active", "repository": "cobrateam/splinter"}
{"mined_at": "2024-07-15T13:11:45.383155", "created_at": "2023-12-15T10:51:59+01:00", "updated_at": "2024-01-09T17:13:47+01:00", "name": "CI-MacOS", "path": ".github/workflows/macos.yml", "contents": "name: CI-MacOS\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  tests_selenium_safari:\n    runs-on: macos-latest\n\n    strategy:\n      matrix:\n        include:\n          - PY_VER: py38\n            python-version: 3.8\n          - PY_VER: py39\n            python-version: 3.9\n          - PY_VER: py310\n            python-version: \"3.10\"\n          - PY_VER: py311\n            python-version: 3.11\n          - PY_VER: py312\n            python-version: \"3.12\"\n\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python-version}}\n\n      - name: Install test dependencies\n        run: pip install tox\n\n      - name: Enable Safari Webdriver\n        run: |\n          defaults write com.apple.Safari IncludeDevelopMenu YES\n          defaults write com.apple.Safari AllowRemoteAutomation 1\n          sudo safaridriver --enable\n\n      - name: Install timeout util and java\n        run: |\n          brew install coreutils\n          brew install java11\n\n      - name: Download Selenium Server\n        run: |\n          wget https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.16.0/selenium-server-4.16.1.jar -O selenium-server.jar\n\n      - name: Setup standalone\n        run: $(brew --prefix openjdk@11)/bin/java -jar selenium-server.jar standalone -I 'safari' > selenium-standalone.log 2>&1 &\n\n\n      - name: Run tests for macos\n        run: |\n          gtimeout 60 bash -c 'while ! wget -O /dev/null -T 1 http://localhost:4444/readyz; do echo waiting for selenium server; sleep 1; done' || (cat selenium-standalone.log && exit 2)\n\n          tox -e tests_selenium_remote_safari -- --cache-clear -n 1  || tox -e tests_selenium_remote_safari -- -n 1 --last-failed --last-failed-no-failures none\n", "state": "active", "repository": "cobrateam/splinter"}
{"mined_at": "2024-07-15T13:11:46.430106", "created_at": "2021-03-05T21:25:34+01:00", "updated_at": "2021-03-06T06:20:24+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: CI\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        include:\n          - PY_VER: py38\n            python-version: 3.8\n          - PY_VER: py39\n            python-version: 3.9\n          - PY_VER: py310\n            python-version: \"3.10\"\n          - PY_VER: py311\n            python-version: 3.11\n          - PY_VER: py312\n            python-version: 3.12\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python-version}}\n\n      - name: Install test dependencies\n        run: pip install tox\n\n      - name: Run splinter tests\n        run: |\n          tox -e tests_splinter -- -n 4\n\n      - name: Run lxml-based driver tests\n        run: |\n          tox -e tests_django -- -n 2;\n          tox -e tests_flask -- -n 2;\n          tox -e tests_zopetestbrowser -- -n 2;\n\n  tests_selenium_remote:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        include:\n          - PY_VER: py38\n            python-version: 3.8\n          - PY_VER: py39\n            python-version: 3.9\n          - PY_VER: py310\n            python-version: \"3.10\"\n          - PY_VER: py311\n            python-version: \"3.11\"\n          - PY_VER: py312\n            python-version: \"3.12\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python-version}}\n\n      - name: Install test dependencies\n        run: pip install tox\n\n      - name: Set env\n        run: echo \"DISPLAY=:99.0\" >> $GITHUB_ENV\n\n      - name: Install selenium server\n        run: |\n          wget https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.3.0/selenium-server-4.3.0.jar -O selenium-server.jar\n\n      - name: Run Selenium Remote tests\n        run: |\n          echo \"Start Selenium Server\"\n          xvfb-run java -jar selenium-server.jar standalone > selenium-server.log 2>&1 &\n          timeout 60 bash -c 'while ! wget -O /dev/null -T 1 http://localhost:4444/readyz; do echo waiting for selenium server; sleep 1; done' || (cat selenium-server.log && exit 2)\n          echo \"Selenium server is ready, running tests\"\n          tox -e tests_selenium_remote_firefox\n          tox -e tests_selenium_remote_chrome\n\n  tests_selenium:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        include:\n          - PY_VER: py38\n            python-version: 3.8\n          - PY_VER: py39\n            python-version: 3.9\n          - PY_VER: py310\n            python-version: \"3.10\"\n          - PY_VER: py311\n            python-version: \"3.11\"\n          - PY_VER: py312\n            python-version: \"3.12\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python-version}}\n\n      - name: Install test dependencies\n        run: pip install tox\n\n      - name: Run Selenium tests\n        run: |\n          tox -e tests_selenium_firefox -- -n 4;\n          tox -e tests_selenium_chrome -- -n 4;\n", "state": "active", "repository": "cobrateam/splinter"}
{"mined_at": "2024-07-15T13:11:47.476404", "created_at": "2022-06-12T01:15:16+02:00", "updated_at": "2022-06-12T01:15:16+02:00", "name": "Upload to PyPI", "path": ".github/workflows/upload-to-pypi.yml", "contents": "name: Upload to PyPI\non:\n  push:\n    tags:\n      - \"*\"\n\n  workflow_dispatch:\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n\n      - run: pip install build twine wheel\n\n      - run: python -m build\n\n      - run: twine upload --skip-existing dist/*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "cobrateam/splinter"}
{"mined_at": "2024-07-15T13:11:48.543247", "created_at": "2021-08-06T23:36:27+02:00", "updated_at": "2021-08-07T00:59:00+02:00", "name": "CI-Windows", "path": ".github/workflows/windows.yml", "contents": "name: CI-Windows\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  tests_selenium_edge:\n    runs-on: windows-latest\n\n    strategy:\n      matrix:\n        include:\n          - PY_VER: py38\n            python-version: 3.8\n          - PY_VER: py39\n            python-version: 3.9\n          - PY_VER: py310\n            python-version: \"3.10\"\n          - PY_VER: py311\n            python-version: 3.11\n          - PY_VER: py312\n            python-version: \"3.12\"\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python-version}}\n\n      - name: Install test dependencies\n        run: pip install tox\n\n      - name: Set env\n        run: echo \"DISPLAY=:99.0\" >> $GITHUB_ENV\n\n      - name: Run tests for windows-only drivers\n        run: |\n          tox -e tests_selenium_edge -- -n 4;\n", "state": "active", "repository": "cobrateam/splinter"}
{"mined_at": "2024-07-15T13:11:50.667789", "created_at": "2021-10-19T18:44:38+02:00", "updated_at": "2021-10-19T18:44:38+02:00", "name": "Explosion Bot", "path": ".github/workflows/explosionbot.yml", "contents": "name: Explosion Bot\n\non:\n  issue_comment:\n    types:\n      - created\n      - edited\n\njobs:\n  explosion-bot:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - name: Install and run explosion-bot\n        run: |\n          pip install git+https://${{ secrets.EXPLOSIONBOT_TOKEN }}@github.com/explosion/explosion-bot\n          python -m explosionbot\n        env:\n          INPUT_TOKEN: ${{ secrets.EXPLOSIONBOT_TOKEN }}\n          INPUT_BK_TOKEN: ${{ secrets.BUILDKITE_SECRET }}\n          ENABLED_COMMANDS: \"test_gpu,test_slow,test_slow_gpu\"\n          ALLOWED_TEAMS: \"spacy-maintainers\"\n", "state": "active", "repository": "explosion/thinc"}
{"mined_at": "2024-07-15T13:11:51.689270", "created_at": "2021-03-02T12:26:55+01:00", "updated_at": "2021-03-02T12:26:55+01:00", "name": "Issue Manager", "path": ".github/workflows/issue-manager.yml", "contents": "name: Issue Manager\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  issue_comment:\n    types:\n      - created\n      - edited\n  issues:\n    types:\n      - labeled\n\njobs:\n  issue-manager:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: tiangolo/issue-manager@0.4.0\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          config: >\n            {\n              \"resolved\": {\n                \"delay\": \"P7D\",\n                \"message\": \"This issue has been automatically closed because it was answered and there was no follow-up discussion.\",\n                \"remove_label_on_comment\": true,\n                \"remove_label_on_close\": true\n              }\n            }\n", "state": "active", "repository": "explosion/thinc"}
{"mined_at": "2024-07-15T13:11:52.727450", "created_at": "2023-02-14T11:23:20+01:00", "updated_at": "2023-02-15T17:51:54+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    paths-ignore:\n      - \"website/**\"\n      - \"*.md\"\n  pull_request:\n    types: [opened, synchronize, reopened, edited]\n    paths-ignore:\n      - \"website/**\"\n      - \"*.md\"\n\njobs:\n  validate:\n    name: Validate\n    if: github.repository_owner == 'explosion'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Configure Python version\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: black\n        run: |\n          python -m pip install black -c requirements.txt\n          python -m black thinc --check\n      - name: isort\n        run: |\n          python -m pip install isort -c requirements.txt\n          python -m isort thinc --check\n      - name: flake8\n        run: |\n          python -m pip install flake8==5.0.4\n          python -m flake8 thinc --count --select=E901,E999,F821,F822,F823,W605 --show-source --statistics\n  tests:\n    name: Test\n    needs: Validate\n    if: github.repository_owner == 'explosion'\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        python_version: [\"3.12\"]\n        include:\n          - os: windows-latest\n            python_version: \"3.9\"\n          - os: macos-13\n            python_version: \"3.10\"\n          - os: ubuntu-latest\n            python_version: \"3.11\"\n\n    runs-on: ${{ matrix.os }}\n    env:\n      NOTEBOOK_KERNEL: \"thinc-notebook-tests\"\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Configure Python version\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -r requirements.txt\n\n      - name: Build sdist\n        run: |\n          python setup.py build_ext --inplace\n          python setup.py sdist --formats=gztar\n\n      - name: Run mypy\n        run: python -m mypy thinc --no-implicit-reexport\n\n      - name: Delete source directory\n        run: rm -rf thinc\n        shell: bash\n\n      - name: Uninstall all packages\n        run: |\n          python -m pip freeze\n          pip freeze --exclude pywin32 > installed.txt\n          pip uninstall -y -r installed.txt\n\n      - name: Install from sdist\n        run: |\n          SDIST=$(python -c \"import os;print(os.listdir('./dist')[-1])\" 2>&1)\n          PIP_CONSTRAINT=\"build-constraints.txt\" pip install dist/$SDIST\n        shell: bash\n\n      - name: Test import\n        run: python -c \"import thinc\"\n\n      - name: Install test requirements\n        run: |\n          pip install -r requirements.txt\n\n      - name: Install notebook test requirements\n        run: |\n          pip install ipykernel pydot graphviz\n          python -m ipykernel install --name thinc-notebook-tests --user\n        if: matrix.python_version != '3.12'\n\n      - name: Run tests without extras\n        run: |\n          python -m pytest --pyargs thinc -Werror --cov=thinc --cov-report=term\n\n      # Notes on numpy requirements hacks:\n      # 1. torch does not have a direct numpy requirement but is compiled\n      # against a newer version than the oldest supported numpy for windows and\n      # python 3.10; this version of numpy would not work with\n      # tensorflow~=2.5.0 as specified above, but there is no release for\n      # python 3.10 anyway\n      # 2. restrict to numpy<1.24.0 due to mxnet incompatibility\n      # 3. forbid torch!=1.13.0 due to segfaults with numpy<1.24.0\n      # Note: some of these pip install commands are known to fail for some platforms.\n      # To continue despite errors as in azure pipelines, remove -e from the default\n      # bash flags.\n      - name: Install extras for testing\n        run: |\n          pip install \"protobuf~=3.20.0\" \"tensorflow~=2.5.0\"\n          pip install \"mxnet; sys_platform != 'win32' and python_version < '3.12'\"\n          pip install \"torch!=1.13.0; sys_platform!='darwin'\" --extra-index-url https://download.pytorch.org/whl/cpu\n          # there is a bug related to MPS devices in github macos runners that\n          # will be fixed in torch v2.1.1\n          # https://github.com/pytorch/pytorch/pull/111576\n          pip install \"torch>=2.1.1; sys_platform=='darwin'\" --extra-index-url https://download.pytorch.org/whl/cpu\n          pip install \"numpy~=1.23.0; python_version=='3.10' and sys_platform=='win32'\"\n          pip install \"numpy<1.24.0\"\n          pip install -r requirements.txt\n          pip uninstall -y mypy\n        shell: bash --noprofile --norc -o pipefail {0}\n\n      - name: Run tests with extras\n        run: python -m pytest --pyargs thinc --cov=thinc --cov-report=term -p thinc.tests.enable_tensorflow -p thinc.tests.enable_mxnet\n", "state": "active", "repository": "explosion/thinc"}
{"mined_at": "2024-07-15T13:11:54.878501", "created_at": "2020-04-22T04:02:03+02:00", "updated_at": "2020-04-22T07:01:45+02:00", "name": "tests", "path": ".github/workflows/tests.yaml", "contents": "---\nname: tests\non:\n  push:\n    branches:\n      - master\n      - '*.x'\n  pull_request:\n    branches:\n      - master\n      - '*.x'\njobs:\n  tests:\n    name: ${{ matrix.python }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python:\n          - '3.12'\n          - '3.11'\n          - '3.10'\n          - '3.9'\n          - '3.8'\n          - 'pypy-3.10'\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: pip|${{ hashFiles('setup.py') }}|${{ hashFiles('tox.ini') }}\n      - run: pip install tox\n      - run: tox -e py\n  style:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.12'\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: pip|${{ hashFiles('setup.py') }}|${{ hashFiles('tox.ini') }}\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit|${{ hashFiles('.pre-commit-config.yaml') }}\n      - run: pip install tox\n      - run: tox -e style\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.12'\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: pip|${{ hashFiles('setup.py') }}|${{ hashFiles('tox.ini') }}\n      - run: pip install tox\n      - run: tox -e docs\n", "state": "active", "repository": "wtforms/wtforms"}
{"mined_at": "2024-07-15T13:11:56.961641", "created_at": "2022-07-25T03:13:39+02:00", "updated_at": "2022-07-26T23:04:37+02:00", "name": "Code Check CI", "path": ".github/workflows/check-code.yml", "contents": "name: Code Check CI\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox tox-gh-actions\n      - name: Check code\n        run: make check\n", "state": "active", "repository": "hyperledger/cello"}
{"mined_at": "2024-07-15T13:11:57.966799", "created_at": "2022-06-28T15:32:21+02:00", "updated_at": "2022-06-28T22:12:14+02:00", "name": "Cello CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Cello CI\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Build images\n        run: |\n          docker build . --file \"build_image/docker/common/api-engine/Dockerfile.in\" --tag hyperledger/cello-api-engine:$(date +%s)\n          docker build . --file \"build_image/docker/common/nginx/Dockerfile.in\" --tag hyperledger/cello-nginx:$(date +%s)\n          docker build . --file \"build_image/docker/common/dashboard/Dockerfile.in\" --tag hyperledger/cello-dashboard:$(date +%s)\n", "state": "active", "repository": "hyperledger/cello"}
{"mined_at": "2024-07-15T13:11:59.012220", "created_at": "2021-12-17T19:43:54+01:00", "updated_at": "2021-12-17T19:43:54+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "hyperledger/cello"}
{"mined_at": "2024-07-15T13:12:01.110218", "created_at": "2020-11-14T20:54:44+01:00", "updated_at": "2020-11-14T23:44:29+01:00", "name": "Lint & Test", "path": ".github/workflows/lint-test.yaml", "contents": "name: Lint & Test\n\non:\n  workflow_call\n\njobs:\n  lint-test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Install Python Dependencies\n        uses: HassanAbouelela/actions/setup-python@setup-python_v1.6.0\n        with:\n          python_version: '3.11'\n\n      # Start the database early to give it a chance to get ready before\n      # we start running tests.\n      - name: Run database using docker compose\n        run: docker compose run -d -p 7777:5432 --name pydis_web postgres\n\n      # We will not run `flake8` here, as we will use a separate flake8\n      # action.\n      - name: Run pre-commit hooks\n        run: SKIP=ruff pre-commit run --all-files\n\n      # Run `ruff` using github formatting to enable automatic inline annotations.\n      - name: Run ruff\n        run: \"ruff check --output-format=github .\"\n\n      - name: Migrations and run tests with coverage.py\n        run: |\n          python manage.py makemigrations --check\n          coverage run manage.py test --no-input\n          coverage report -m\n          coverage lcov\n        env:\n          CI: True\n          DATABASE_URL: postgres://pysite:pysite@localhost:7777/pysite\n          METRICITY_DB_URL: postgres://pysite:pysite@localhost:7777/metricity\n          PYTHONWARNINGS: error\n\n      # This step will publish the coverage reports coveralls.io and\n      # link the report to the commit\n      - name: Publish Coverage Report\n        uses: coverallsapp/github-action@v2.3.0\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          file: ./coverage.lcov\n\n      - name: Tear down docker compose containers\n        run: docker compose stop\n        if: ${{ always() }}\n\n      # Prepare the Pull Request Payload artifact. If this fails, we\n      # we fail silently using the `continue-on-error` option. It's\n      # nice if this succeeds, but if it fails for any reason, it\n      # does not mean that our lint-test checks failed.\n      - name: Prepare Pull Request Payload artifact\n        id: prepare-artifact\n        if: always() && github.event_name == 'pull_request'\n        continue-on-error: true\n        run: cat $GITHUB_EVENT_PATH | jq '.pull_request' > pull_request_payload.json\n\n      # This only makes sense if the previous step succeeded. To\n      # get the original outcome of the previous step before the\n      # `continue-on-error` conclusion is applied, we use the\n      # `.outcome` value. This step also fails silently.\n      - name: Upload a Build Artifact\n        if: always() && steps.prepare-artifact.outcome == 'success'\n        continue-on-error: true\n        uses: actions/upload-artifact@v4\n        with:\n          name: pull-request-payload\n          path: pull_request_payload.json\n", "state": "active", "repository": "python-discord/site"}
{"mined_at": "2024-07-15T13:12:02.187689", "created_at": "2020-11-19T00:46:05+01:00", "updated_at": "2023-03-21T10:53:03+01:00", "name": "Build & Deploy", "path": ".github/workflows/build-deploy.yaml", "contents": "name: Build & Deploy\n\non:\n  workflow_call:\n    inputs:\n      sha-tag:\n        description: \"A short-form SHA tag for the commit that triggered this workflow\"\n        required: true\n        type: string\n\n\njobs:\n  build:\n    name: Build Docker Image\n    runs-on: ubuntu-latest\n\n    steps:\n\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      # The current version (v3) of Docker's build-push action uses\n      # buildx, which comes with BuildKit features that help us speed\n      # up our builds using additional cache features. Buildx also\n      # has a lot of other features that are not as relevant to us.\n      #\n      # See https://github.com/docker/build-push-action\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Github Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      # Build the container, including an inline cache manifest to\n      # allow us to use the registry as a cache source.\n      - name: Build and push\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: ./Dockerfile\n          push: true\n          cache-from: type=registry,ref=ghcr.io/python-discord/site:latest\n          cache-to: type=inline\n          tags: |\n            ghcr.io/python-discord/site:latest\n            ghcr.io/python-discord/site:${{ inputs.sha-tag }}\n          build-args: |\n            git_sha=${{ github.sha }}\n\n  deploy:\n    name: Deploy\n    needs: build\n    runs-on: ubuntu-latest\n    environment: production\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          repository: python-discord/infra\n          path: infra\n\n      - uses: azure/setup-kubectl@v4.0.0\n\n      - name: Authenticate with Kubernetes\n        uses: azure/k8s-set-context@v4\n        with:\n          method: kubeconfig\n          kubeconfig: ${{ secrets.KUBECONFIG }}\n\n      - name: Deploy to Kubernetes\n        uses: Azure/k8s-deploy@v5\n        with:\n          namespace: web\n          manifests: |\n            infra/kubernetes/namespaces/web/site/deployment.yaml\n          images: 'ghcr.io/python-discord/site:${{ inputs.sha-tag }}'\n\n      - name: Purge Cloudflare Edge Cache\n        uses: jakejarvis/cloudflare-purge-action@master\n        env:\n          CLOUDFLARE_ZONE: 989c984a358bfcd1e9b9d188cc86c1df\n          CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_CACHE_TOKEN }}\n", "state": "active", "repository": "python-discord/site"}
{"mined_at": "2024-07-15T13:12:03.238406", "created_at": "2021-10-05T22:30:47+02:00", "updated_at": "2021-10-10T21:00:37+02:00", "name": "Build & Publish Static Preview", "path": ".github/workflows/static-preview.yaml", "contents": "name: Build & Publish Static Preview\n\non:\n  workflow_call:\n    inputs:\n      sha-tag:\n        description: \"A short-form SHA tag for the commit that triggered this workflow\"\n        required: true\n        type: string\n\njobs:\n  build:\n    name: Build Static Preview\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Github Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      # Build the container, including an inline cache manifest to\n      # allow us to use the registry as a cache source.\n      - name: Build Docker Image (Main)\n        uses: docker/build-push-action@v6\n        if: github.ref == 'refs/heads/main'\n        with:\n          context: .\n          push: true\n          cache-from: type=registry,ref=ghcr.io/python-discord/static-site:latest\n          cache-to: type=inline\n          tags: |\n            ghcr.io/python-discord/static-site:latest\n            ghcr.io/python-discord/static-site:${{ inputs.sha-tag }}\n          build-args: |\n            git_sha=${{ github.sha }}\n            STATIC_BUILD=TRUE\n\n      - name: Extract Build From Docker Image (Main)\n        if: github.ref == 'refs/heads/main'\n        run: |\n          mkdir docker_build \\\n          && docker run --entrypoint /bin/echo --name site \\\n          ghcr.io/python-discord/static-site:${{ inputs.sha-tag }} \\\n          && docker cp site:/app docker_build/\n\n      # Build directly to a local folder\n      - name: Build Docker Image (PR)\n        uses: docker/build-push-action@v6\n        if: github.ref != 'refs/heads/main'\n        with:\n          context: .\n          push: false\n          cache-from: type=registry,ref=ghcr.io/python-discord/static-site:latest\n          outputs: type=local,dest=docker_build/\n          build-args: |\n            git_sha=${{ github.sha }}\n            STATIC_BUILD=TRUE\n\n      - name: Upload Build\n        uses: actions/upload-artifact@v4\n        with:\n          name: static-build\n          path: docker_build/app/build/\n          if-no-files-found: error\n", "state": "active", "repository": "python-discord/site"}
{"mined_at": "2024-07-15T13:12:04.327787", "created_at": "2023-03-06T13:56:47+01:00", "updated_at": "2023-03-21T10:53:03+01:00", "name": "CI", "path": ".github/workflows/main.yaml", "contents": "name: CI\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint-test:\n    uses: ./.github/workflows/lint-test.yaml\n\n  generate-sha-tag:\n    runs-on: ubuntu-latest\n    outputs:\n      sha-tag: ${{ steps.sha-tag.outputs.sha-tag }}\n    steps:\n      - name: Create SHA Container tag\n        id: sha-tag\n        run: |\n          tag=$(cut -c 1-7 <<< $GITHUB_SHA)\n          echo \"sha-tag=$tag\" >> $GITHUB_OUTPUT\n\n  publish-static-preview:\n    uses: ./.github/workflows/static-preview.yaml\n    needs:\n      - generate-sha-tag\n    with:\n      sha-tag: ${{ needs.generate-sha-tag.outputs.sha-tag }}\n\n  build-deploy:\n    if: github.ref == 'refs/heads/main'\n    uses: ./.github/workflows/build-deploy.yaml\n    needs:\n      - lint-test\n      - generate-sha-tag\n    with:\n      sha-tag: ${{ needs.generate-sha-tag.outputs.sha-tag }}\n    secrets: inherit\n\n  sentry-release:\n    if: github.ref == 'refs/heads/main'\n    uses: ./.github/workflows/sentry-release.yaml\n    needs:\n      - build-deploy\n    secrets: inherit\n", "state": "active", "repository": "python-discord/site"}
{"mined_at": "2024-07-15T13:12:05.423328", "created_at": "2023-03-21T10:53:03+01:00", "updated_at": "2023-03-21T10:53:03+01:00", "name": "Create Sentry release", "path": ".github/workflows/sentry-release.yaml", "contents": "name: Create Sentry release\n\non:\n  workflow_call\n\njobs:\n  createSentryRelease:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Create a Sentry.io release\n        uses: tclindner/sentry-releases-action@v1.3.0\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: python-discord\n          SENTRY_PROJECT: site\n        with:\n          tagName: ${{ github.sha }}\n          environment: production\n          releaseNamePrefix: site@\n", "state": "active", "repository": "python-discord/site"}
{"mined_at": "2024-07-15T13:12:06.418067", "created_at": "2023-03-21T10:53:03+01:00", "updated_at": "2023-03-21T10:53:03+01:00", "name": "Status Embed", "path": ".github/workflows/status-embed.yaml", "contents": "name: Status Embed\n\non:\n  workflow_run:\n    workflows:\n      - CI\n    types:\n      - completed\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  status_embed:\n    name:  Send Status Embed to Discord\n    runs-on: ubuntu-latest\n\n    steps:\n      # A workflow_run event does not contain all the information\n      # we need for a PR embed. That's why we upload an artifact\n      # with that information in the Lint workflow.\n      - name: Get Pull Request Information\n        id: pr_info\n        if: github.event.workflow_run.event == 'pull_request'\n        run: |\n          curl -s -H \"Authorization: token $GITHUB_TOKEN\" ${{ github.event.workflow_run.artifacts_url }} > artifacts.json\n          DOWNLOAD_URL=$(cat artifacts.json | jq -r '.artifacts[] | select(.name == \"pull-request-payload\") | .archive_download_url')\n          [ -z \"$DOWNLOAD_URL\" ] && exit 1\n          curl -sSL -H \"Authorization: token $GITHUB_TOKEN\" -o pull_request_payload.zip $DOWNLOAD_URL || exit 2\n          unzip -p pull_request_payload.zip > pull_request_payload.json\n          [ -s pull_request_payload.json ] || exit 3\n          echo \"pr_author_login=$(jq -r '.user.login // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n          echo \"pr_number=$(jq -r '.number // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n          echo \"pr_title=$(jq -r '.title // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n          echo \"pr_source=$(jq -r '.head.label // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      # Send an informational status embed to Discord instead of the\n      # standard embeds that Discord sends. This embed will contain\n      # more information and we can fine tune when we actually want\n      # to send an embed.\n      - name: GitHub Actions Status Embed for Discord\n        uses: SebastiaanZ/github-status-embed-for-discord@v0.3.0\n        with:\n          # Our GitHub Actions webhook\n          webhook_id: '784184528997842985'\n          webhook_token: ${{ secrets.GHA_WEBHOOK_TOKEN }}\n\n          # We need to provide the information of the workflow that\n          # triggered this workflow instead of this workflow.\n          workflow_name: ${{ github.event.workflow_run.name }}\n          run_id: ${{ github.event.workflow_run.id }}\n          run_number: ${{ github.event.workflow_run.run_number }}\n          status: ${{ github.event.workflow_run.conclusion }}\n          sha: ${{ github.event.workflow_run.head_sha }}\n\n          pr_author_login: ${{ steps.pr_info.outputs.pr_author_login }}\n          pr_number: ${{ steps.pr_info.outputs.pr_number }}\n          pr_title: ${{ steps.pr_info.outputs.pr_title }}\n          pr_source: ${{ steps.pr_info.outputs.pr_source }}\n", "state": "active", "repository": "python-discord/site"}
{"mined_at": "2024-07-15T13:12:07.456275", "created_at": "2023-08-31T09:28:37+02:00", "updated_at": "2023-08-31T09:28:37+02:00", "name": "Block fixup commits", "path": ".github/workflows/fixup-commit-blocker.yaml", "contents": "name: Block fixup commits\n\non:\n  pull_request_target:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  block-fixup-commits:\n    if: github.ref != 'refs/heads/main'\n    uses: python-discord/.github/.github/workflows/block-fixup-commits.yaml@main\n", "state": "active", "repository": "python-discord/site"}
{"mined_at": "2024-07-15T13:12:09.526956", "created_at": "2022-12-30T00:37:11+01:00", "updated_at": "2022-12-30T00:45:28+01:00", "name": "main", "path": ".github/workflows/main.yml", "contents": "name: main\n\non:\n  push:\n    branches: [main, test-me-*]\n    tags: '*'\n  pull_request:\n\njobs:\n  main-windows:\n    uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1\n    with:\n      env: '[\"py38\"]'\n      os: windows-latest\n      arch: '[\"x64\", \"x86\"]'\n      wheel-tags: true\n      submodules: true\n  main-macos:\n    uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1\n    with:\n      env: '[\"py38\"]'\n      os: macos-latest\n      wheel-tags: true\n      submodules: true\n  main-macos-intel:\n    uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1\n    with:\n      env: '[\"py38\"]'\n      os: macos-13\n      wheel-tags: true\n      submodules: true\n  main-linux:\n    uses: asottile/workflows/.github/workflows/tox.yml@v1.6.1\n    with:\n      env: '[\"pypy3\", \"py38\", \"py39\", \"py310\", \"py311\"]'\n      os: ubuntu-latest\n      submodules: true\n", "state": "active", "repository": "sass/libsass-python"}
{"mined_at": "2024-07-15T13:12:10.549219", "created_at": "2022-11-12T19:11:23+01:00", "updated_at": "2022-11-12T19:11:23+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sass/libsass-python"}
{"mined_at": "2024-07-15T13:12:12.646796", "created_at": "2020-11-17T17:14:39+01:00", "updated_at": "2020-11-17T17:14:39+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\non:\n  push:\n    branches: [main]\n    tags: [\"*\"]\n  pull_request:\n    branches: [main]\n  release:\n    types:\n      - published\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  # Always build & lint package.\n  build-package:\n    name: Build & verify package\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: hynek/build-and-inspect-python-package@v2\n\n  # Upload to Test PyPI on every commit on main.\n  release-test-pypi:\n    name: Publish in-dev package to test.pypi.org\n    if: |\n      github.repository_owner == 'pylast'\n      && github.event_name == 'push'\n      && github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    needs: build-package\n\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Download packages built by build-and-inspect-python-package\n        uses: actions/download-artifact@v4\n        with:\n          name: Packages\n          path: dist\n\n      - name: Upload package to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n\n  # Upload to real PyPI on GitHub Releases.\n  release-pypi:\n    name: Publish released package to pypi.org\n    if: |\n      github.repository_owner == 'pylast'\n      && github.event.action == 'published'\n    runs-on: ubuntu-latest\n    needs: build-package\n\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Download packages built by build-and-inspect-python-package\n        uses: actions/download-artifact@v4\n        with:\n          name: Packages\n          path: dist\n\n      - name: Upload package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "pylast/pylast"}
{"mined_at": "2024-07-15T13:12:13.693159", "created_at": "2020-02-27T21:50:06+01:00", "updated_at": "2020-02-27T21:50:06+01:00", "name": "Sync labels", "path": ".github/workflows/labels.yml", "contents": "name: Sync labels\n\npermissions:\n  pull-requests: write\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - .github/labels.yml\n  workflow_dispatch:\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: micnncim/action-label-syncer@v1\n        with:\n          prune: false\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pylast/pylast"}
{"mined_at": "2024-07-15T13:12:14.780684", "created_at": "2019-12-22T20:01:13+01:00", "updated_at": "2019-12-22T20:01:13+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non: [push, pull_request, workflow_dispatch]\n\nenv:\n  FORCE_COLOR: 1\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n          cache: pip\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "pylast/pylast"}
{"mined_at": "2024-07-15T13:12:15.855577", "created_at": "2020-02-27T21:50:07+01:00", "updated_at": "2020-02-27T21:50:07+01:00", "name": "Release drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - main\n  # pull_request event is required only for autolabeler\n  pull_request:\n    # Only following types are handled by the action, but one can default to all as well\n    types: [opened, reopened, synchronize]\n  # pull_request_target event is required for autolabeler to support PRs from forks\n  # pull_request_target:\n  #   types: [opened, reopened, synchronize]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    if: github.repository_owner == 'pylast'\n    permissions:\n      # write permission is required to create a GitHub Release\n      contents: write\n      # write permission is required for autolabeler\n      # otherwise, read permission is required at least\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next release notes as pull requests are merged into \"main\"\n      - uses: release-drafter/release-drafter@v6\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pylast/pylast"}
{"mined_at": "2024-07-15T13:12:16.953241", "created_at": "2022-05-02T11:13:28+02:00", "updated_at": "2022-05-02T17:13:03+02:00", "name": "Require PR label", "path": ".github/workflows/require-pr-label.yml", "contents": "name: Require PR label\n\non:\n  pull_request:\n    types: [opened, reopened, labeled, unlabeled, synchronize]\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n      - uses: mheap/github-action-required-labels@v5\n        with:\n          mode: minimum\n          count: 1\n          labels:\n            \"changelog: Added, changelog: Changed, changelog: Deprecated, changelog:\n            Fixed, changelog: Removed, changelog: Security, changelog: skip\"\n", "state": "active", "repository": "pylast/pylast"}
{"mined_at": "2024-07-15T13:12:18.029333", "created_at": "2020-11-16T21:52:00+01:00", "updated_at": "2020-11-16T21:52:00+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request, workflow_dispatch]\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"pypy3.10\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13\"]\n        os: [ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n          cache: pip\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U wheel\n          python -m pip install -U tox\n\n      - name: Tox tests\n        run: |\n          tox -e py\n        env:\n          PYLAST_API_KEY: ${{ secrets.PYLAST_API_KEY }}\n          PYLAST_API_SECRET: ${{ secrets.PYLAST_API_SECRET }}\n          PYLAST_PASSWORD_HASH: ${{ secrets.PYLAST_PASSWORD_HASH }}\n          PYLAST_USERNAME: ${{ secrets.PYLAST_USERNAME }}\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v3.1.5\n        with:\n          flags: ${{ matrix.os }}\n          name: ${{ matrix.os }} Python ${{ matrix.python-version }}\n\n  success:\n    needs: test\n    runs-on: ubuntu-latest\n    name: Test successful\n    steps:\n      - name: Success\n        run: echo Test successful\n", "state": "active", "repository": "pylast/pylast"}
{"mined_at": "2024-07-15T13:12:20.277823", "created_at": "2021-11-23T18:44:53+01:00", "updated_at": "2024-06-29T17:30:09+02:00", "name": "Django Datatable View Tests", "path": ".github/workflows/main.yml", "contents": "# This is used for DatatableView\n\nname: Django Datatable View Tests\n\non:\n  push:\n  schedule:\n    - cron: '0 1 * * 5'\n\njobs:\n  cancel:\n    name: Canceling Outstanding Jobs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: styfle/cancel-workflow-action@0.12.1\n        with:\n          access_token: ${{ github.token }}\n\n  outdated:\n    name: Outdated packages\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n          pip install .[test]\n\n      - name: outdated\n        run: pip list --outdated --not-required --user | grep . && echo \"There are outdated packages\" && exit 1 || echo \"All packages up to date\"\n\n  black:\n    name: Black\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n          pip install .[test]\n\n      - name: Black\n        run: black --check .\n\n  pre-commit:\n    name: Pre-Commit\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n          pip install .[test]\n          pre-commit install\n\n      - name: Pre-Commit\n        run: pre-commit run --all-files --show-diff-on-failure\n\n  security:\n    name: Bandit Security\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n\n      - name: Install dependencies\n        run: |\n          pip install .\n          pip install .[test]\n\n      - name: Bandit\n        run: bandit -c pyproject.toml -r -f json -o report.json .\n\n      - name: Show report\n        if: ${{ success() || failure() }}\n        run: cat report.json\n\n      - name: \"Upload Coverage Results\"\n        if: ${{ success() || failure() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: Bandit Security Report\n          path: report.json\n\n  tests:\n    name: Python ${{ matrix.python-version }} / ${{ matrix.db }} / Django ${{ matrix.django-version}}\n    runs-on: ubuntu-latest\n#    continue-on-error: ${{ matrix.django-version == '~=5.0' }}\n    strategy:\n      max-parallel: 4\n      matrix:\n        db: [ sqlite, mariadb ]\n        django-version: [\"~=4.2.0\", \"~=5.0\"]\n        python-version: [ \"3.12\" ]\n\n    services:\n      mariadb:\n        image: mariadb:latest\n        env:\n          MARIADB_ROOT_PASSWORD: password\n        ports:\n          - 3306:3306\n        options: >-\n          --health-cmd=\"mariadb-admin ping\"\n          --health-interval=10s\n          --health-timeout=5s\n          --health-retries=3\n\n    steps:\n      - name: Verify MySQL connection from host\n        if: matrix.db == 'mariadb'\n        run: |\n          mysql --host 127.0.0.1 --port 3306 -uroot -ppassword -e \"SHOW DATABASES\" 2>&1 > /dev/null\n          mysql --host 127.0.0.1 --port 3306 -uroot -ppassword -V\n\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n\n      - name: Install dependencies\n        run: |\n          pip install .\n          pip install .[test]\n          pip uninstall -y Django\n          pip install Django${{ matrix.django-version }}\n\n      - name: Run ${{ matrix.db }} Django ${{ matrix.django-version }} Tests\n        env:\n          PYTHONWARNINGS: once::DeprecationWarning\n          DB_TYPE: ${{ matrix.db }}\n        run: export PYTHONPATH=`pwd` && coverage run\n      - name: \"Upload Coverage Results for PY:${{ matrix.python-version }} DB:${{ matrix.db}} DJ:${{ matrix.django-version }}\"\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-${{ matrix.python-version }}-${{ matrix.db}}-${{ matrix.django-version }}\n          path: .coverage\n          retention-days: 1\n\n      - name: Django Check\n        run: python demo_app/manage.py check\n\n  coverage:\n    name: Upload Coverage to Codecov\n    needs: [ tests ]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install dependencies\n        run: |\n          pip install .\n          pip install .[test]\n\n      - uses: actions/download-artifact@v4\n        with:\n          path: .\n\n      - name: Combine Report Coverage\n        run: |\n          coverage combine coverage-*/.coverage\n          coverage report\n          coverage xml\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          directory: .\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n\n  release:\n    name: Release\n    if: ${{ github.event_name != 'schedule' }}\n    runs-on: ubuntu-latest\n    needs: [ 'cancel', 'outdated', 'black', 'pre-commit', 'security', 'tests', 'coverage' ]\n    outputs:\n      bumped: ${{ steps.release.outputs.bumped }}\n      bump_version: ${{ steps.release.outputs.bump_version }}\n      bump_sha: ${{ steps.release.outputs.bump_sha }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          pip install git+https://${{ secrets.ORGANIZATIONAL_REPO_TOKEN }}@github.com/pivotal-energy-solutions/tensor-infrastructure@master#egg=infrastructure\n      - name: Release\n        id: release\n        env:\n          PYTHONWARNINGS: once::DeprecationWarning\n          GITHUB_TOKEN: ${{ secrets.ORGANIZATIONAL_REPO_TOKEN }}\n        run: |\n          bumper -P\n          echo \"bumped=$(jq '.bumped' out.json)\" >> $GITHUB_OUTPUT\n          echo \"bump_version=$(jq '.bump_version' out.json)\" >> $GITHUB_OUTPUT\n          echo \"bump_sha=$(jq '.bump_sha' out.json)\" >> $GITHUB_OUTPUT\n", "state": "active", "repository": "pivotal-energy-solutions/django-datatable-view"}
{"mined_at": "2024-07-15T13:12:22.605180", "created_at": "2021-03-15T13:38:14+01:00", "updated_at": "2021-03-15T13:38:14+01:00", "name": "Docker", "path": ".github/workflows/docker-publish.yml", "contents": "name: Docker\n\non:\n  push:\n    branches:\n      - manyuser\n\njobs:\n  push:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Build image\n        run: docker build . --file Dockerfile --tag sspaneluim/shadowsocks\n\n      - name: Login to docker hub\n        uses: actions-hub/docker/login@master\n        env:\n          DOCKER_USERNAME: ${{ secrets.DOCKER_USER }}\n          DOCKER_PASSWORD: ${{ secrets.DOCKER_PASS }}\n\n      - name: Push to docker hub :latest\n        uses: actions-hub/docker@master\n        with:\n          args: push sspaneluim/shadowsocks\n", "state": "active", "repository": "anankke/shadowsocks-mod"}
{"mined_at": "2024-07-15T13:12:24.698042", "created_at": "2021-01-29T13:35:03+01:00", "updated_at": "2024-01-03T19:03:37+01:00", "name": "Build PyWPS ⚙️", "path": ".github/workflows/main.yml", "contents": "name: Build PyWPS ⚙️\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  lint:\n    name: Linting Suite\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cancel previous runs\n        uses: styfle/cancel-workflow-action@0.11.0\n        with:\n          access_token: ${{ github.token }}\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - name: Install tox\n        run: |\n          pip install tox>=4.0\n      - name: Run linting suite ⚙️\n        run: |\n          tox -e lint\n\n  test:\n    name: Testing with Python${{ matrix.python-version }}\n    needs: lint\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - tox-env: py38-extra\n            python-version: \"3.8\"\n          - tox-env: py39-extra\n            python-version: \"3.9\"\n          - tox-env: py310-extra\n            python-version: \"3.10\"\n          - tox-env: py311-extra\n            python-version: \"3.11\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install packages 📦\n      run: |\n        sudo apt-get update\n        sudo apt-get -y install libnetcdf-dev libhdf5-dev\n    - uses: actions/setup-python@v5\n      name: Setup Python ${{ matrix.python-version }}\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install tox 📦\n      run: pip install \"tox>=4.0\"\n    - name: Run tests with tox ⚙️\n      run: tox -e ${{ matrix.tox-env }}\n    - name: Run coveralls ⚙️\n      if: matrix.python-version == 3.8\n      uses: AndreMiras/coveralls-python-action@develop\n\n  docs:\n    name: Build docs 🏗️\n    needs: lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Setup Python 3.8\n        with:\n          python-version: 3.8\n      - name: Build documentation 🏗️\n        run: |\n          pip install -e .[dev]\n          cd docs && make html\n", "state": "active", "repository": "geopython/pywps"}
{"mined_at": "2024-07-15T13:12:26.808799", "created_at": "2020-01-11T15:04:31+01:00", "updated_at": "2020-01-11T15:06:22+01:00", "name": "style", "path": "", "contents": null, "state": "active", "repository": "exoplanet-dev/exoplanet"}
{"mined_at": "2024-07-15T13:12:27.869111", "created_at": "2020-04-08T16:38:02+02:00", "updated_at": "2021-04-23T15:09:53+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n  pull_request:\n\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        os: [\"ubuntu-latest\"]\n        session: [\"test_pymc3\", \"test_pymc\"]\n        include:\n          - python-version: \"3.9\"\n            os: \"ubuntu-latest\"\n            session: \"test_pymc3\"\n          - python-version: \"3.11\"\n            os: \"ubuntu-latest\"\n            session: \"test_pymc\"\n          - python-version: \"3.10\"\n            os: \"ubuntu-latest\"\n            session: \"lint\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U nox\n\n      - name: Run tests\n        run: |\n          python -m nox --non-interactive \\\n            --error-on-missing-interpreter \\\n            --python ${{ matrix.python-version }} \\\n            --session ${{ matrix.session }}\n\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.9\"\n      - name: Build sdist and wheel\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U build\n          python -m build .\n      - uses: actions/upload-artifact@v4\n        with:\n          path: dist/*\n\n  publish:\n    environment:\n      name: pypi\n      url: https://pypi.org/p/exoplanet\n    permissions:\n      id-token: write\n    needs: [tests, build]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: artifact\n          path: dist\n      - uses: pypa/gh-action-pypi-publish@v1.9.0\n", "state": "active", "repository": "exoplanet-dev/exoplanet"}
{"mined_at": "2024-07-15T13:12:28.914617", "created_at": "2021-04-23T15:52:56+02:00", "updated_at": "2021-05-04T17:27:28+02:00", "name": "JOSS", "path": ".github/workflows/joss.yml", "contents": "name: JOSS\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"joss/**\"\n\njobs:\n  joss:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Generate .tex\n        uses: docker://openjournals/paperdraft:latest\n        with:\n          args: joss/paper.md --defaults=metadata.yaml --to=latex --output=paper.tex\n        env:\n          GIT_SHA: $GITHUB_SHA\n          JOURNAL: joss\n\n      - name: Generate .pdf\n        uses: docker://openjournals/paperdraft:latest\n        with:\n          args: joss/paper.md --defaults=metadata.yaml\n        env:\n          GIT_SHA: $GITHUB_SHA\n          JOURNAL: joss\n\n      - name: Upload the generated files as an artifact\n        uses: actions/upload-artifact@v4\n        with:\n          path: joss\n          name: joss\n\n      - name: Deploy\n        if: ${{ github.event_name != 'pull_request' }}\n        uses: peaceiris/actions-gh-pages@v4.0.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./joss\n          force_orphan: true\n          publish_branch: joss-compiled\n", "state": "active", "repository": "exoplanet-dev/exoplanet"}
{"mined_at": "2024-07-15T13:12:30.988898", "created_at": "2021-09-21T06:04:39+02:00", "updated_at": "2021-09-21T06:04:39+02:00", "name": "Build Commander", "path": ".github/workflows/build-wheel.yml", "contents": "name: Build Commander\n\non:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Setup Commander\n        uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Build Commander\n        run: |\n          pip install wheel\n          pip install build\n          python3 -m build --wheel\n        shell: bash\n\n      - name: Archive Commander\n        run: |\n          COMMANDER_VERSION=`python3 -c \"import keepercommander.__init__ as init; print(init.__version__);\"`\n          echo \"COMMANDER_VERSION=$COMMANDER_VERSION\" >> $GITHUB_ENV\n        shell: bash\n      - uses: actions/upload-artifact@v2\n        with:\n          name: KeeperCommanderWheel\n          retention-days: 3\n          path: dist/keepercommander-${{ env.COMMANDER_VERSION }}-py3-none-any.whl\n          if-no-files-found: error\n", "state": "active", "repository": "keeper-security/commander"}
{"mined_at": "2024-07-15T13:12:32.038615", "created_at": "2021-02-26T19:12:26+01:00", "updated_at": "2021-02-26T19:12:26+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '32 11 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "keeper-security/commander"}
{"mined_at": "2024-07-15T13:12:33.139439", "created_at": "2021-09-14T16:51:21+02:00", "updated_at": "2021-09-14T16:51:21+02:00", "name": "Test with pytest", "path": ".github/workflows/test-with-pytest.yml", "contents": "name: Test with pytest\n\non: [pull_request, workflow_dispatch]\n\nenv:\n  PYTHONUNBUFFERED: 1\n\njobs:\n  test-with-pytest:\n    strategy:\n      matrix:\n        python-version: ['3.6', '3.11']\n\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install package with test dependencies\n        run: pip install .[test]\n\n      - name: Run unit tests\n        run: pytest unit-tests/\n", "state": "active", "repository": "keeper-security/commander"}
{"mined_at": "2024-07-15T13:12:35.188591", "created_at": "2021-11-20T04:01:36+01:00", "updated_at": "2021-11-20T04:04:12+01:00", "name": "stratis-cli dummy CI", "path": ".github/workflows/dummy.yml", "contents": "---\nname: stratis-cli dummy CI\n\n# yamllint disable-line rule:truthy\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\n  workflow_dispatch:\n\njobs:\n  dummy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Run dummy test\n        run: echo \"I exist to be Required in Github branch protection rules\"\n", "state": "active", "repository": "stratis-storage/stratis-cli"}
{"mined_at": "2024-07-15T13:12:36.284708", "created_at": "2020-12-01T15:23:44+01:00", "updated_at": "2023-09-26T00:13:02+02:00", "name": "stratis-cli CI", "path": ".github/workflows/main.yml", "contents": "---\nname: stratis-cli CI\n\n# yamllint disable-line rule:truthy\non:\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - 'CHANGES.txt'\n      - '**/README.rst'\n      - 'LICENSE'\n      - 'docs/**'\n      - '.packit.yaml'\n  pull_request:\n    branches:\n      - master\n    paths-ignore:\n      - 'CHANGES.txt'\n      - '**/README.rst'\n      - 'LICENSE'\n      - 'docs/**'\n      - '.packit.yaml'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  python-checks:\n    strategy:\n      matrix:\n        include:\n          # MANDATORY CHECKS USING CURRENT DEVELOPMENT INTERPRETER\n          - dependencies: >\n              bandit\n              pylint\n              python3-dateutil\n              python3-dbus-client-gen\n              python3-dbus-python-client-gen\n              python3-justbytes\n              python3-packaging\n              python3-psutil\n              python3-wcwidth\n            task: >\n              PATH=${PATH}:/github/home/.local/bin PYTHONPATH=./src\n              make -f Makefile lint\n          - dependencies: black python3-isort\n            task: make -f Makefile fmt-ci\n          - dependencies: shfmt\n            task: make -f Makefile fmt-shell-ci\n    runs-on: ubuntu-latest\n    container: fedora:40  # CURRENT DEVELOPMENT ENVIRONMENT\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install dependencies\n        run: >\n          dnf install -y\n          make\n          pip\n          python-unversioned-command\n          ${{ matrix.dependencies }}\n      - name: Display Python version\n        run: python --version\n      - name: Install pyright\n        run: pip install --user pyright\n      - name: Run test\n        run: ${{ matrix.task }}\n\n  check-typos:\n    runs-on: ubuntu-latest\n    container: fedora:40  # CURRENT DEVELOPMENT ENVIRONMENT\n    steps:\n      - name: Install dependencies\n        run: >\n          dnf install -y\n          clang\n          glibc-static\n          make\n      - uses: actions/checkout@v4\n      - uses: dtolnay/rust-toolchain@master\n        with:\n          components: cargo\n          toolchain: 1.79.0  # CURRENT DEVELOPMENT RUST TOOLCHAIN\n      - uses: baptiste0928/cargo-install@v2\n        with:\n          crate: typos-cli\n      - name: Run test\n        run: make -f Makefile check-typos\n\n  test-runs:\n    strategy:\n      matrix:\n        include:\n          # MANDATORY CHECKS USING CURRENT DEVELOPMENT ENVIRONMENT\n          - task: make -f Makefile all-tests\n            rust_log: RUST_LOG=stratisd=debug\n            image: fedora:40  # CURRENT DEVELOPMENT ENVIRONMENT\n          - task: make -f Makefile coverage-no-html\n            rust_log:\n            image: fedora:40  # CURRENT DEVELOPMENT ENVIRONMENT\n          # MANDATORY CHECKS USING LOWEST SUPPORTED ENVIRONMENT PROXY\n          - task: make -f Makefile all-tests\n            rust_log: RUST_LOG=stratisd=debug\n            image: fedora:34  # LOWEST DEVELOPMENT ENVIRONMENT\n    runs-on: ubuntu-latest\n    container:\n      image: ${{ matrix.image }}\n      # yamllint disable rule:line-length\n      options: --privileged --userns=host --ipc=host -v /run/dbus/system_bus_socket:/run/dbus/system_bus_socket:ro -v /usr/share/dbus-1:/usr/share/dbus-1\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install dependencies\n        run: >\n          dnf install -y\n          asciidoc\n          clang\n          cryptsetup-devel\n          device-mapper-devel\n          dbus-devel\n          git\n          glibc-static\n          libblkid-devel\n          make\n          python3-coverage\n          python3-dbus-client-gen\n          python3-dbus-python-client-gen\n          python3-justbytes\n          python3-dateutil\n          python3-packaging\n          python3-psutil\n          python3-wcwidth\n          systemd-devel\n      - uses: dtolnay/rust-toolchain@master\n        with:\n          components: cargo\n          toolchain: 1.71.1  # LOWEST SUPPORTED RUST TOOLCHAIN\n      - name: Check out stratisd\n        run: git clone https://github.com/stratis-storage/stratisd.git\n      - name: Build stratisd\n        run: PROFILEDIR=debug make build-all\n        working-directory: ./stratisd\n      - name: Install stratisd\n        run: PROFILEDIR=debug make install\n        working-directory: ./stratisd\n      - name: Workaround for D-Bus inotify\n        run: cp stratisd.conf /usr/share/dbus-1/system.d\n        working-directory: ./stratisd\n      - name: Run test\n        run: >\n          ${{ matrix.rust_log }}\n          STRATISD=/usr/libexec/stratisd\n          PYTHONPATH=./src\n          ${{ matrix.task }}\n\n  lowest-environment-checks:\n    strategy:\n      matrix:\n        include:\n          - dependencies: >\n              python-setuptools\n              python3-dbus-client-gen\n              python3-dbus-python-client-gen\n              python3-justbytes\n              python3-dateutil\n              python3-packaging\n              python3-psutil\n              python3-wcwidth\n            task: make -f Makefile legacy-package\n    runs-on: ubuntu-latest\n    container: fedora:34  # LOWEST DEVELOPMENT ENVIRONMENT\n    steps:\n      - name: Display Python version\n        run: python3 --version\n      - uses: actions/checkout@v4\n      - name: Install dependencies\n        run: >\n          dnf install -y\n          make\n          ${{ matrix.dependencies }}\n      - name: ${{ matrix.task }}\n        run: ${{ matrix.task }}\n", "state": "active", "repository": "stratis-storage/stratis-cli"}
{"mined_at": "2024-07-15T13:12:37.348470", "created_at": "2023-09-01T04:35:22+02:00", "updated_at": "2023-09-01T04:52:13+02:00", "name": "stratis-cli CI for support code", "path": ".github/workflows/support.yml", "contents": "---\nname: stratis-cli CI for support code\n\n# yamllint disable-line rule:truthy\non:\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - 'CHANGES.txt'\n      - '**/README.rst'\n      - 'LICENSE'\n      - 'docs/**'\n      - 'shell-completion/**'\n  pull_request:\n    branches:\n      - master\n    paths-ignore:\n      - 'CHANGES.txt'\n      - '**/README.rst'\n      - 'LICENSE'\n      - 'docs/**'\n      - 'shell-completion/**'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  python-checks:\n    strategy:\n      matrix:\n        include:\n          - dependencies: yamllint\n            task: make -f Makefile yamllint\n    runs-on: ubuntu-latest\n    container: fedora:40  # CURRENT DEVELOPMENT ENVIRONMENT\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install dependencies\n        run: >\n          dnf install -y\n          make\n          ${{ matrix.dependencies }}\n      - name: Run test\n        run: ${{ matrix.task }}\n", "state": "active", "repository": "stratis-storage/stratis-cli"}
{"mined_at": "2024-07-15T13:12:38.418516", "created_at": "2021-08-27T18:09:40+02:00", "updated_at": "2021-08-27T18:09:40+02:00", "name": "stratis-cli weekly", "path": ".github/workflows/weekly.yml", "contents": "---\nname: stratis-cli weekly\n\n# yamllint disable-line rule:truthy\non:\n  schedule:\n    - cron: 25 3 * * 4\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  next-fedora-python-checks:\n    continue-on-error: true\n    strategy:\n      matrix:\n        include:\n          # PYTHON CHECKS ON NEXT FEDORA PYTHON AND PYTHON TOOLS VERSION\n          - dependencies: >\n              bandit\n              pylint\n              python3-dateutil\n              python3-dbus-client-gen\n              python3-dbus-python-client-gen\n              python3-justbytes\n              python3-packaging\n              python3-psutil\n              python3-wcwidth\n            task: >\n              PATH=${PATH}:/github/home/.local/bin PYTHONPATH=./src\n              make -f Makefile lint\n          - dependencies: black python3-isort\n            task: make -f Makefile fmt-ci\n          - dependencies: shfmt\n            task: make -f Makefile fmt-shell-ci\n          - dependencies: yamllint\n            task: make -f Makefile yamllint\n    runs-on: ubuntu-latest\n    container: fedora:40  # NEXT DEVELOPMENT ENVIRONMENT\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install dependencies\n        run: >\n          dnf install -y\n          make\n          pip\n          python-unversioned-command\n          ${{ matrix.dependencies }}\n      - name: Install pyright\n        run: pip install --user pyright\n      - name: ${{ matrix.task }}\n        run: ${{ matrix.task }}\n", "state": "active", "repository": "stratis-storage/stratis-cli"}
{"mined_at": "2024-07-15T13:12:39.431662", "created_at": "2024-07-03T04:33:20+02:00", "updated_at": "2024-07-03T04:33:20+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "stratis-storage/stratis-cli"}
{"mined_at": "2024-07-15T13:12:42.523399", "created_at": "2021-09-06T11:25:16+02:00", "updated_at": "2023-07-14T09:21:58+02:00", "name": "oommf-from-master", "path": ".github/workflows/oommf-from-master.yml", "contents": "name: oommf-from-master\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  schedule:\n    - cron: '0 0 * * 1'  # run every Monday\n  workflow_dispatch:\n\nenv:\n  PYTEST_ADDOPTS: \"--color=yes\"\n\njobs:\n  workflow:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n    - name: Initialisation\n      uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Tk/Tcl\n      run: sudo apt-get install tk-dev tcl-dev\n\n    - name: Clone OOMMF\n      uses: actions/checkout@v2\n      with:\n        repository: fangohr/oommf\n        path: opt  # to mimic directory structure of conda\n\n    - name: Compile OOMMF\n      run: |\n        cd opt\n        make build\n        cd ..\n\n    - name: Create oommf executable\n      run: |\n        mkdir -p bin\n        cat > bin/oommf <<EOF\n        #! /bin/bash\n        tclsh $GITHUB_WORKSPACE/opt/oommf/oommf.tcl \"\\$@\"\n        EOF\n        chmod a+x bin/oommf\n\n    - name: Set environment variables\n      run: |\n        echo \"OOMMFTCL=$GITHUB_WORKSPACE/opt/oommf/oommf.tcl\" >> $GITHUB_ENV\n        echo \"PATH=$GITHUB_WORKSPACE/bin:$PATH\" >> $GITHUB_ENV\n\n    - name: Install testing packages\n      run: python -m pip install --upgrade pip pytest-cov nbval pycodestyle invoke\n\n    - name: Install ubermag dependencies\n      run: |\n        python -m pip install git+https://github.com/ubermag/ubermagutil.git\n        python -m pip install git+https://github.com/ubermag/discretisedfield.git\n        python -m pip install git+https://github.com/ubermag/ubermagtable.git\n        python -m pip install git+https://github.com/ubermag/micromagneticmodel.git\n        python -m pip install git+https://github.com/ubermag/micromagnetictests.git\n        python -m pip install git+https://github.com/ubermag/micromagneticdata.git\n\n    - name: Install package\n      run: python -m pip install .\n\n    - name: Unit tests\n      run: invoke test.unittest\n\n    - name: Documentation tests\n      run: invoke test.docs\n\n    - name: Jupyter notebook tests\n      run: invoke test.ipynb\n", "state": "active", "repository": "ubermag/oommfc"}
{"mined_at": "2024-07-15T13:12:43.620686", "created_at": "2020-12-31T13:22:17+01:00", "updated_at": "2023-07-14T09:22:02+02:00", "name": "workflow", "path": ".github/workflows/workflow.yml", "contents": "name: workflow\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  schedule:\n    - cron: '0 0 * * 1'  # run every Monday\n  workflow_dispatch:\n\nenv:\n  PYTEST_ADDOPTS: \"--color=yes\"\n\njobs:\n  workflow:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-13, windows-latest]\n        python-version: [\"3.8\", \"3.10\"]\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n    - name: Initialisation\n      uses: actions/checkout@v4\n\n    - name: Set up conda\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n        auto-update-conda: true\n        activate-environment: conda-environment\n        environment-file: .github/environment.yml\n\n    - name: Install package\n      run: python -m pip install .[dev]\n\n    - name: Unit tests\n      run: invoke test.unittest\n\n    - name: Unit tests with coverage\n      run: invoke test.coverage\n      if: matrix.os == 'ubuntu-latest'\n\n    - name: Documentation tests\n      run: invoke test.docs\n\n    - name: Jupyter notebook tests\n      run: invoke test.ipynb\n\n    - name: Upload coverage to Codecov.io\n      uses: codecov/codecov-action@v1\n      if: matrix.os == 'ubuntu-latest'\n", "state": "active", "repository": "ubermag/oommfc"}
{"mined_at": "2024-07-15T13:12:45.969507", "created_at": "2023-09-16T11:42:37+02:00", "updated_at": "2023-09-16T11:42:37+02:00", "name": "Run tests", "path": ".github/workflows/test.yaml", "contents": null, "state": "active", "repository": "compserv/hknweb"}
{"mined_at": "2024-07-15T13:12:47.107134", "created_at": "2023-09-16T14:30:51+02:00", "updated_at": "2023-10-04T11:31:39+02:00", "name": "Test 🧪 and deploy 🚀", "path": ".github/workflows/test_and_deploy.yaml", "contents": "name: Test 🧪 and deploy 🚀\n\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request:\n    branches: [\"master\"]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    env:\n      HKNWEB_MODE: dev\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - uses: snok/install-poetry@v1\n        with:\n          version: 1.6.1\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n      - uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ hashFiles('poetry.lock') }}\n\n      - run: poetry install --with prod --no-interaction --no-root\n\n      - name: Run formatting check\n        run: poetry run black . --check\n\n      - name: Run unit tests\n        run: |\n          poetry run coverage run\n          poetry run coverage report\n\n      - name: Deploy\n        run: |\n          poetry run fab deploy\n\n      - name: Run end-to-end tests\n        run: |\n          poetry run curl -f localhost:8000\n\n  deploy:\n    needs: test\n    runs-on: ubuntu-latest\n    if: success() && github.ref == 'refs/heads/master'\n    environment:\n      name: Production\n      url: https://dev-hkn.eecs.berkeley.edu/\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - uses: snok/install-poetry@v1\n        with:\n          version: 1.6.1\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n      - uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ hashFiles('poetry.lock') }}\n\n      - run: poetry install --with prod --no-interaction --no-root\n\n      - name: Unseal secrets\n        uses: jrmcdonald/blackbox-github-actions@v0.2.0\n        with:\n          bb_actions_subcommand: \"postdeploy\"\n        env:\n          BLACKBOX_PUBKEY: ${{ secrets.BLACKBOX_PUBLIC_KEY }}\n          BLACKBOX_PRIVKEY: ${{ secrets.BLACKBOX_PRIVATE_KEY }}\n\n      - name: Setup SSH key\n        run: |\n          mkdir -p ~/.ssh/\n          echo \"$SSH_PRIVATE_KEY\" > ~/.ssh/pkey\n          sudo chmod 600 ~/.ssh/pkey\n          echo \"$SSH_KNOWN_HOSTS\" > ~/.ssh/known_hosts\n        shell: bash\n        env:\n          SSH_PRIVATE_KEY: ${{ secrets.OCF_SSH_KEY }}\n          SSH_KNOWN_HOSTS: ${{ secrets.OCF_SSH_KNOWN_HOSTS }}\n\n      - name: Deploy\n        run: |\n          poetry run fab deploy -i ~/.ssh/pkey --revision ${{ github.sha }}\n        env:\n          HKNWEB_MODE: ${{ vars.HKNWEB_MODE }}\n", "state": "active", "repository": "compserv/hknweb"}
{"mined_at": "2024-07-15T13:12:49.136726", "created_at": "2022-06-25T19:29:44+02:00", "updated_at": "2022-06-26T04:11:37+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non: [pull_request, push, workflow_dispatch]\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v2\n\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install\n        run: |\n          pip install -e .\n          pip install -r reqs/dev-requirements.txt\n\n      - name: Run tests\n        run: pytest lifelines/tests/ -vv\n", "state": "active", "repository": "camdavidsonpilon/lifelines"}
{"mined_at": "2024-07-15T13:12:50.109727", "created_at": "2020-04-14T02:09:07+02:00", "updated_at": "2020-04-14T02:09:07+02:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_LIFELINES_UPLOAD_API_KEY }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "camdavidsonpilon/lifelines"}
{"mined_at": "2024-07-15T13:12:53.582551", "created_at": "2020-12-09T12:04:42+01:00", "updated_at": "2020-12-09T12:04:42+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n    - '*'\n\njobs:\n  build:\n    if: github.repository == 'jazzband/django-pipeline'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U setuptools twine wheel\n\n      - name: Build package\n        run: |\n          python setup.py --version\n          python setup.py sdist --format=gztar bdist_wheel\n          twine check dist/*\n\n      - name: Upload packages to Jazzband\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: jazzband\n          password: ${{ secrets.JAZZBAND_RELEASE_KEY }}\n          repository_url: https://jazzband.co/projects/django-pipeline/upload\n", "state": "active", "repository": "jazzband/django-pipeline"}
{"mined_at": "2024-07-15T13:12:54.603746", "created_at": "2020-12-09T10:34:36+01:00", "updated_at": "2020-12-09T10:34:36+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request]\n\njobs:\n  build:\n    name: build (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }})\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.10']\n        django-version: ['3.2', '4.1', '4.2', '5.0', 'main']\n        exclude:\n          - python-version: '3.8'\n            django-version: '4.1'\n          - python-version: '3.8'\n            django-version: '4.2'\n          - python-version: '3.8'\n            django-version: '5.0'\n          - python-version: '3.8'\n            django-version: 'main'\n          - python-version: '3.9'\n            django-version: '5.0'\n          - python-version: '3.9'\n            django-version: 'main'\n          - python-version: 'pypy-3.10'\n            django-version: '4.1'\n          - python-version: 'pypy-3.10'\n            django-version: '4.2'\n          - python-version: 'pypy-3.10'\n            django-version: '5.0'\n          - python-version: 'pypy-3.10'\n            django-version: 'main'\n          - python-version: '3.10'\n            django-version: '3.2'\n          - python-version: '3.11'\n            django-version: '3.2'\n          - python-version: '3.12'\n            django-version: '3.2'\n          - python-version: '3.12'\n            django-version: '4.1'\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Set up Node\n      uses: actions/setup-node@v3\n      with:\n        node-version: '16'\n\n    - name: Install Node dependencies\n      run: npm install\n\n    - name: Get pip cache dir\n      id: pip-cache\n      run: echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key:\n          ${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/tox.ini') }}\n        restore-keys: |\n          ${{ matrix.python-version }}-v1-\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade tox tox-gh-actions\n\n    - name: Tox tests\n      run: |\n        tox -v\n      env:\n        DJANGO: ${{ matrix.django-version }}\n\n    - name: Upload coverage\n      uses: codecov/codecov-action@v3\n      with:\n        name: Python ${{ matrix.python-version }}\n\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - run: pip install --user ruff\n    - run: ruff --extend-select=C4,C9,I,PLC,PLE,PLR,U --ignore=C414,I001,PLR0913,UP007,UP032 --target-version=py38 .\n", "state": "active", "repository": "jazzband/django-pipeline"}
{"mined_at": "2024-07-15T13:12:57.986884", "created_at": "2020-01-11T08:11:06+01:00", "updated_at": "2020-01-11T08:11:06+01:00", "name": "Release Management", "path": "", "contents": null, "state": "active", "repository": "pycontribs/jira"}
{"mined_at": "2024-07-15T13:12:59.063959", "created_at": "2021-11-11T10:13:53+01:00", "updated_at": "2024-04-29T19:04:19+02:00", "name": ".github/workflows/ack.yml", "path": ".github/workflows/ack.yml", "contents": "# See https://github.com/ansible-community/devtools/blob/main/.github/workflows/ack.yml\nname: ack\non:\n  pull_request_target:\n    types: [opened, labeled, unlabeled, synchronize]\n\njobs:\n  ack:\n    uses: ansible-community/devtools/.github/workflows/ack.yml@main\n", "state": "active", "repository": "pycontribs/jira"}
{"mined_at": "2024-07-15T13:13:00.421625", "created_at": "2021-10-24T12:11:15+02:00", "updated_at": "2023-11-27T17:56:27+01:00", "name": "ci", "path": ".github/workflows/jira_ci.yml", "contents": "name: ci\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  server:\n    uses: pycontribs/jira/.github/workflows/jira_server_ci.yml@main\n\n  cloud:\n    needs: server\n    uses: pycontribs/jira/.github/workflows/jira_cloud_ci.yml@main\n    secrets:\n      CLOUD_ADMIN: ${{ secrets.CI_JIRA_CLOUD_ADMIN }}\n      CLOUD_ADMIN_TOKEN: ${{ secrets.CI_JIRA_CLOUD_ADMIN_TOKEN }}\n      CLOUD_USER: ${{ secrets.CI_JIRA_CLOUD_USER }}\n      CLOUD_USER_TOKEN: ${{ secrets.CI_JIRA_CLOUD_USER_TOKEN }}\n\n  # 'check' the only job that should be marked as required in\n  # repository config, so we do not need to change required jobs\n  # when we add new/remove/rename jobs.\n  check:\n    needs:\n      - cloud\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Report success of the test matrix\n        run: >-\n          print(\"All's good\")\n        shell: python\n", "state": "active", "repository": "pycontribs/jira"}
{"mined_at": "2024-07-15T13:13:01.665409", "created_at": "2021-10-24T16:21:27+02:00", "updated_at": "2021-11-11T10:24:58+01:00", "name": "cloud", "path": ".github/workflows/jira_cloud_ci.yml", "contents": "name: cloud\n\non:\n  workflow_call:\n    secrets:\n      CLOUD_ADMIN:\n        required: true\n      CLOUD_ADMIN_TOKEN:\n        required: true\n      CLOUD_USER:\n        required: true\n      CLOUD_USER_TOKEN:\n        required: true\n  workflow_dispatch:\n\njobs:\n  test:\n    environment: cloud\n    name: py${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        # We only test a single version to prevent concurrent\n        # running of tests influencing one another\n        python-version: [\"3.8\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update; sudo apt-get install gcc libkrb5-dev\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade tox tox-gh-actions\n\n      - name: Test with tox\n        run: tox -e py38 -- -m allow_on_cloud\n        env:\n          CI_JIRA_TYPE: CLOUD\n          CI_JIRA_CLOUD_ADMIN: ${{ secrets.CLOUD_ADMIN }}\n          CI_JIRA_CLOUD_ADMIN_TOKEN: ${{ secrets.CLOUD_ADMIN_TOKEN }}\n          CI_JIRA_CLOUD_USER: ${{ secrets.CLOUD_USER }}\n          CI_JIRA_CLOUD_USER_TOKEN: ${{ secrets.CLOUD_USER_TOKEN }}\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4.1.0\n        with:\n          file: ./coverage.xml\n          name: ${{ runner.os }}-${{ matrix.python-version }}-Cloud\n", "state": "active", "repository": "pycontribs/jira"}
{"mined_at": "2024-07-15T13:13:02.735854", "created_at": "2021-05-01T16:45:38+02:00", "updated_at": "2021-11-11T10:24:58+01:00", "name": "server", "path": ".github/workflows/jira_server_ci.yml", "contents": "name: server\n\non:\n  workflow_call:\n  workflow_dispatch:\n\njobs:\n  test:\n    name: py${{ matrix.python-version }}-jira${{ matrix.jira-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        jira-version: [8.17.1]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Start Jira docker instance\n        run: docker run -dit -p 2990:2990 --name jira addono/jira-software-standalone --version ${{ matrix.jira-version }}\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update; sudo apt-get install gcc libkrb5-dev\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade tox tox-gh-actions\n\n      - name: Lint with tox\n        if: ${{ 'Skipped as pre-commit GHA also running'== 'true' }}\n        run: tox -e lint\n\n      - name: Test with tox\n        run: tox\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4.1.0\n        with:\n          file: ./coverage.xml\n          name: ${{ runner.os }}-${{ matrix.python-version }}\n\n      - name: Run tox packaging\n        run: tox -e packaging\n\n      - name: Make docs\n        if: ${{ 'Skipped as readthedocs GHA also running'== 'true' }}\n        run: tox -e docs\n", "state": "active", "repository": "pycontribs/jira"}
{"mined_at": "2024-07-15T13:13:04.028022", "created_at": "2021-11-11T10:13:53+01:00", "updated_at": "2024-07-09T11:38:57+02:00", "name": ".github/workflows/push.yml", "path": ".github/workflows/push.yml", "contents": "# See https://github.com/ansible-community/devtools/blob/main/.github/workflows/push.yml\nname: push\non:\n  push:\n    branches:\n      - main\n      - 'releases/**'\n      - 'stable/**'\n\njobs:\n  ack:\n    uses: ansible-community/devtools/.github/workflows/push.yml@main\n", "state": "active", "repository": "pycontribs/jira"}
{"mined_at": "2024-07-15T13:13:05.086198", "created_at": "2021-11-11T09:54:29+01:00", "updated_at": "2021-11-11T09:54:29+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  release:\n    types: [published]\n\njobs:\n  pypi:\n    name: Publish to PyPI registry\n    environment: release\n    runs-on: ubuntu-20.04\n\n    env:\n      FORCE_COLOR: 1\n      PY_COLORS: 1\n      TOXENV: packaging\n      TOX_PARALLEL_NO_SPINNER: 1\n\n    steps:\n    - name: Switch to using Python 3.8 by default\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - name: Install build dependencies\n      run: python3 -m pip install --user tox\n\n    - name: Check out src from Git\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0  # needed by setuptools-scm\n\n    - name: Build dists\n      run: python -m tox\n\n    - name: Publish to test.pypi.org\n      if: >-  # \"create\" workflows run separately from \"push\" & \"pull_request\"\n        github.event_name == 'release'\n      uses: pypa/gh-action-pypi-publish@v1\n      with:\n        password: ${{ secrets.testpypi_password }}\n        repository_url: https://test.pypi.org/legacy/\n\n    - name: Publish to pypi.org\n      if: >-  # \"create\" workflows run separately from \"push\" & \"pull_request\"\n        github.event_name == 'release'\n      uses: pypa/gh-action-pypi-publish@v1\n      with:\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "pycontribs/jira"}
{"mined_at": "2024-07-15T13:13:07.173631", "created_at": "2021-12-06T16:47:07+01:00", "updated_at": "2024-02-13T04:18:15+01:00", "name": "Continuous Integration", "path": ".github/workflows/ci.yml", "contents": "name: Continuous Integration\non:\n  push:\n    branches:\n      - master\n\n  pull_request:\n    paths:\n      - .github/workflows/ci.yml\n      - pyparsing/*\n      - pyproject.toml\n      - tox.ini\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    name: Unit tests\n    runs-on: ${{ matrix.os || 'ubuntu-latest' }}\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\"]\n        toxenv: [py]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - python-version: \"3.11\"\n            os: macos-latest\n          - python-version: \"3.11\"\n            toxenv: mypy-test\n          - python-version: \"pypy-3.9\"\n    env:\n      TOXENV: ${{ matrix.toxenv || 'py' }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox railroad-diagrams Jinja2\n\n      - name: Test\n        run: tox\n", "state": "active", "repository": "pyparsing/pyparsing"}
{"mined_at": "2024-07-15T13:13:08.222487", "created_at": "2024-02-14T05:44:51+01:00", "updated_at": "2024-02-14T05:44:51+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": null, "state": "active", "repository": "pyparsing/pyparsing"}
{"mined_at": "2024-07-15T13:13:09.270612", "created_at": "2024-02-15T21:33:46+01:00", "updated_at": "2024-02-15T21:33:46+01:00", "name": "Pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "pyparsing/pyparsing"}
{"mined_at": "2024-07-15T13:13:11.401617", "created_at": "2020-11-14T10:28:35+01:00", "updated_at": "2020-11-14T10:28:35+01:00", "name": "Run tests", "path": ".github/workflows/tests.yml", "contents": "name: Run tests\n\non: [ push, pull_request ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: pip install pre-commit\n      - name: Check pre-commit hooks\n        run: pre-commit run --all\n", "state": "active", "repository": "okfn-brasil/querido-diario"}
{"mined_at": "2024-07-15T13:13:12.437883", "created_at": "2021-08-28T14:18:30+02:00", "updated_at": "2021-08-28T14:55:27+02:00", "name": "Deploy to Scrapy Cloud", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy to Scrapy Cloud\n\non:\n  push:\n    branches: [main]\n  workflow_dispatch:\n\njobs:\n  deploy_to_scrapy_cloud:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n    - name: Install shub\n      run: |\n        python -m pip install --upgrade pip\n        pip install shub\n    - name: Deploy to Scrapy Cloud\n      env:\n        SHUB_APIKEY: ${{ secrets.SHUB_APIKEY }}\n      run: |\n        cd data_collection/\n        shub deploy ${{ secrets.SCRAPY_CLOUD_PROJECT_ID }}\n", "state": "active", "repository": "okfn-brasil/querido-diario"}
{"mined_at": "2024-07-15T13:13:13.468158", "created_at": "2021-09-17T19:52:01+02:00", "updated_at": "2021-09-17T19:52:01+02:00", "name": "Schedule Spider Crawl", "path": ".github/workflows/schedule_spider.yaml", "contents": "name: Schedule Spider Crawl\n\non:\n  workflow_dispatch:\n    inputs:\n      spider_name:\n        description: 'Spider to be scheduled'\n        required: true\n      start_date:\n        description: 'Start date (YYYY-MM-DD)'\n        required: false\n      end_date:\n        description: 'End date (YYYY-MM-DD)'\n        required: false\n\njobs:\n  schedule:\n    runs-on: ubuntu-latest\n    env:\n      SHUB_APIKEY: ${{ secrets.SHUB_APIKEY }}\n      SCRAPY_CLOUD_PROJECT_ID: ${{ secrets.SCRAPY_CLOUD_PROJECT_ID }}\n      FILES_STORE: ${{ secrets.FILES_STORE }}\n      QUERIDODIARIO_DATABASE_URL: ${{ secrets.QUERIDODIARIO_DATABASE_URL }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      AWS_ENDPOINT_URL: ${{ secrets.AWS_ENDPOINT_URL }}\n      AWS_REGION_NAME: ${{ secrets.AWS_REGION_NAME }}\n      SPIDERMON_DISCORD_FAKE: ${{ secrets.SPIDERMON_DISCORD_FAKE }}\n      SPIDERMON_DISCORD_WEBHOOK_URL: ${{ secrets.SPIDERMON_DISCORD_WEBHOOK_URL }}\n      ZYTE_SMARTPROXY_APIKEY: ${{ secrets.ZYTE_SMARTPROXY_APIKEY }}\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n    - name: Prepare environment\n      run: |\n        python -m pip install --upgrade pip\n        pip install click python-decouple scrapinghub SQLAlchemy psycopg2\n    - name: Schedule full crawl\n      if: ${{ !github.event.inputs.start_date }}\n      run: |\n        cd data_collection/\n        python scheduler.py schedule-spider --spider_name=${{ github.event.inputs.spider_name }}\n    - name: Schedule partial crawl\n      if: ${{ github.event.inputs.start_date }}\n      run: |\n        cd data_collection/\n        python scheduler.py schedule-spider --spider_name=${{ github.event.inputs.spider_name }} --start_date=${{ github.event.inputs.start_date }} --end_date=${{ github.event.inputs.end_date }}\n", "state": "active", "repository": "okfn-brasil/querido-diario"}
{"mined_at": "2024-07-15T13:13:14.513777", "created_at": "2022-11-24T01:59:33+01:00", "updated_at": "2022-11-24T01:59:33+01:00", "name": "Schedule All Enabled Spiders Crawl", "path": ".github/workflows/schedule_spider_by_date.yaml", "contents": "name: Schedule All Enabled Spiders Crawl\n\non:\n  workflow_dispatch:\n    inputs:\n      start_date:\n        description: 'Start date (YYYY-MM-DD)'\n        required: true\n\njobs:\n  schedule:\n    runs-on: ubuntu-latest\n    env:\n      SHUB_APIKEY: ${{ secrets.SHUB_APIKEY }}\n      SCRAPY_CLOUD_PROJECT_ID: ${{ secrets.SCRAPY_CLOUD_PROJECT_ID }}\n      FILES_STORE: ${{ secrets.FILES_STORE }}\n      QUERIDODIARIO_DATABASE_URL: ${{ secrets.QUERIDODIARIO_DATABASE_URL }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      AWS_ENDPOINT_URL: ${{ secrets.AWS_ENDPOINT_URL }}\n      AWS_REGION_NAME: ${{ secrets.AWS_REGION_NAME }}\n      SPIDERMON_DISCORD_FAKE: ${{ secrets.SPIDERMON_DISCORD_FAKE }}\n      SPIDERMON_DISCORD_WEBHOOK_URL: ${{ secrets.SPIDERMON_DISCORD_WEBHOOK_URL }}\n      ZYTE_SMARTPROXY_APIKEY: ${{ secrets.ZYTE_SMARTPROXY_APIKEY }}\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n    - name: Prepare environment\n      run: |\n        python -m pip install --upgrade pip\n        pip install click python-decouple scrapinghub SQLAlchemy psycopg2\n    - name: Schedule partial crawl\n      if: ${{ github.event.inputs.start_date }}\n      run: |\n        cd data_collection/\n        python scheduler.py schedule-all-spiders-by-date --start_date ${{ github.event.inputs.start_date }}\n", "state": "active", "repository": "okfn-brasil/querido-diario"}
{"mined_at": "2024-07-15T13:13:15.562446", "created_at": "2023-02-14T01:45:20+01:00", "updated_at": "2024-01-16T17:11:20+01:00", "name": "Monthly Crawl of Enabled Spiders", "path": ".github/workflows/monthly_crawl.yaml", "contents": "name: Monthly Crawl of Enabled Spiders\n\non:\n  schedule:\n    # Execute once a month at 8PM (BRT)\n    - cron: \"0 23 1 * *\"\n  workflow_dispatch:\n\njobs:\n  schedule-jobs:\n    runs-on: ubuntu-latest\n    env:\n      SHUB_APIKEY: ${{ secrets.SHUB_APIKEY }}\n      SCRAPY_CLOUD_PROJECT_ID: ${{ secrets.SCRAPY_CLOUD_PROJECT_ID }}\n      FILES_STORE: ${{ secrets.FILES_STORE }}\n      QUERIDODIARIO_DATABASE_URL: ${{ secrets.QUERIDODIARIO_DATABASE_URL }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      AWS_ENDPOINT_URL: ${{ secrets.AWS_ENDPOINT_URL }}\n      AWS_REGION_NAME: ${{ secrets.AWS_REGION_NAME }}\n      SPIDERMON_DISCORD_FAKE: ${{ secrets.SPIDERMON_DISCORD_FAKE }}\n      SPIDERMON_DISCORD_WEBHOOK_URL: ${{ secrets.SPIDERMON_DISCORD_WEBHOOK_URL }}\n      ZYTE_SMARTPROXY_APIKEY: ${{ secrets.ZYTE_SMARTPROXY_APIKEY }}\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n    - name: Prepare environment\n      run: |\n        python -m pip install --upgrade pip\n        pip install click python-decouple scrapinghub SQLAlchemy psycopg2\n    - name: Schedule jobs\n      run: |\n        cd data_collection/\n        python scheduler.py last-month-schedule-enabled-spiders\n", "state": "active", "repository": "okfn-brasil/querido-diario"}
{"mined_at": "2024-07-15T13:13:16.646610", "created_at": "2024-01-16T17:11:20+01:00", "updated_at": "2024-01-16T17:11:20+01:00", "name": "Daily Crawl of Enabled Spiders", "path": ".github/workflows/daily_crawl.yaml", "contents": "name: Daily Crawl of Enabled Spiders\n\non:\n  schedule:\n    # Execute once a day at 6PM (BRT)\n    - cron: \"0 21 * * *\"\n  workflow_dispatch:\n\njobs:\n  schedule-jobs:\n    runs-on: ubuntu-latest\n    env:\n      SHUB_APIKEY: ${{ secrets.SHUB_APIKEY }}\n      SCRAPY_CLOUD_PROJECT_ID: ${{ secrets.SCRAPY_CLOUD_PROJECT_ID }}\n      FILES_STORE: ${{ secrets.FILES_STORE }}\n      QUERIDODIARIO_DATABASE_URL: ${{ secrets.QUERIDODIARIO_DATABASE_URL }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      AWS_ENDPOINT_URL: ${{ secrets.AWS_ENDPOINT_URL }}\n      AWS_REGION_NAME: ${{ secrets.AWS_REGION_NAME }}\n      SPIDERMON_DISCORD_FAKE: ${{ secrets.SPIDERMON_DISCORD_FAKE }}\n      SPIDERMON_DISCORD_WEBHOOK_URL: ${{ secrets.SPIDERMON_DISCORD_WEBHOOK_URL }}\n      ZYTE_SMARTPROXY_APIKEY: ${{ secrets.ZYTE_SMARTPROXY_APIKEY }}\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n    - name: Prepare environment\n      run: |\n        python -m pip install --upgrade pip\n        pip install click python-decouple scrapinghub SQLAlchemy psycopg2\n    - name: Schedule jobs\n      run: |\n        cd data_collection/\n        python scheduler.py schedule-enabled-spiders\n", "state": "active", "repository": "okfn-brasil/querido-diario"}
{"mined_at": "2024-07-15T13:13:17.659081", "created_at": "2024-01-16T17:11:20+01:00", "updated_at": "2024-01-16T17:11:20+01:00", "name": "Update spider status on production", "path": ".github/workflows/update_spider_status.yaml", "contents": "name: Update spider status on production\n\non:\n  workflow_dispatch:\n    inputs:\n      spider_name:\n        description: 'Spider name'\n        required: true\n      status:\n        type: choice\n        description: 'New Spider status in production'\n        options: \n        - enabled\n        - disabled\n        required: true\n\njobs:\n  update_status:\n    runs-on: ubuntu-latest\n    env:\n      QUERIDODIARIO_DATABASE_URL: ${{ secrets.QUERIDODIARIO_DATABASE_URL }}\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n    - name: Prepare environment\n      run: |\n        python -m pip install --upgrade pip\n        pip install click python-decouple scrapinghub SQLAlchemy psycopg2\n    - name: Enable spider in production\n      if: ${{ github.event.inputs.status == 'enabled' }}\n      run: |\n        cd data_collection/\n        python scheduler.py enable-spider --spider_name=${{ github.event.inputs.spider_name }}\n    - name: Disable spider in production\n      if: ${{ github.event.inputs.status == 'disabled' }}\n      run: |\n        cd data_collection/\n        python scheduler.py disable-spider --spider_name=${{ github.event.inputs.spider_name }}", "state": "active", "repository": "okfn-brasil/querido-diario"}
{"mined_at": "2024-07-15T13:13:19.779811", "created_at": "2019-12-19T11:09:06+01:00", "updated_at": "2019-12-19T11:09:06+01:00", "name": "Test Suite Sanity Checking", "path": ".github/workflows/ci.yml", "contents": "name: Test Suite Sanity Checking\n\non:\n  push:\n  pull_request:\n  release:\n    types: [published]\n  schedule:\n    # Daily at 6:42, arbitrarily as a time that's possibly non-busy\n    - cron: '42 6 * * *'\n\njobs:\n  ci:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install tox\n      run: python -m pip install tox\n    - name: Run the sanity checks\n      run: python -m tox\n", "state": "active", "repository": "json-schema-org/json-schema-test-suite"}
{"mined_at": "2024-07-15T13:13:20.807588", "created_at": "2024-05-03T00:36:01+02:00", "updated_at": "2024-05-03T00:36:01+02:00", "name": "Check PR Dependencies", "path": ".github/workflows/pr-dependencies.yml", "contents": "name: Check PR Dependencies\n\non: pull_request\n\njobs:\n  check_dependencies:\n    runs-on: ubuntu-latest\n    name: Check Dependencies\n    steps:\n    - uses: gregsdennis/dependencies-action@main\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "json-schema-org/json-schema-test-suite"}
{"mined_at": "2024-07-15T13:13:21.861834", "created_at": "2024-04-30T22:00:12+02:00", "updated_at": "2024-05-09T23:18:59+02:00", "name": "Show Specification Annotations", "path": ".github/workflows/show_specification_annotations.yml", "contents": "name: Show Specification Annotations\n\non:\n  pull_request:\n    paths:\n      - 'tests/**'\n\njobs:\n  annotate:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n\n      - name: Generate Annotations\n        run: pip install uritemplate && bin/annotate-specification-links\n", "state": "active", "repository": "json-schema-org/json-schema-test-suite"}
{"mined_at": "2024-07-15T13:13:23.954206", "created_at": "2021-12-30T18:23:21+01:00", "updated_at": "2022-01-03T20:04:07+01:00", "name": "Generate Docker Container", "path": ".github/workflows/build-container.yml", "contents": "name: Generate Docker Container\n\non:\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - '**.md'\n  pull_request:\n    branches:\n      - master\n    paths-ignore:\n      - '**.md'\n\njobs:\n  build-and-upload:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        id: checkout-repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Get Branch Name\n        id: branch-name\n        uses: tj-actions/branch-names@v8\n\n      - id: commit\n        uses: prompt/actions-commit-hash@v3\n\n      - name: Generate Tag\n        id: generate-tag\n        run: |\n          echo \"release_tag=mtgjson:$(date +\"%Y-%m-%d_%H-%M\")-${{ steps.branch-name.outputs.current_branch }}\" >> $GITHUB_OUTPUT\n\n      - name: Build Image\n        id: build-image\n        run: docker build --no-cache -t ${{ steps.generate-tag.outputs.release_tag }} .\n\n      - name: Upload Image to GitHub Actions Archive\n        id: upload-gha\n        uses: ishworkh/container-image-artifact-upload@v1.0.0\n        with:\n          image: ${{ steps.generate-tag.outputs.release_tag }}\n\n      - name: Upload Image to Amazon ECR\n        if: ${{ steps.branch-name.outputs.current_branch == 'master' }}\n        id: upload-ecr\n        uses: jwalton/gh-ecr-push@v2\n        with:\n          access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ECR_UPLOADER }}\n          secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ECR_UPLOADER }}\n          region: us-east-1\n          local-image: ${{ steps.generate-tag.outputs.release_tag }}\n          image: ${{ steps.generate-tag.outputs.release_tag }}, mtgjson:${{ steps.commit.outputs.short }}, mtgjson:latest\n", "state": "active", "repository": "mtgjson/mtgjson"}
{"mined_at": "2024-07-15T13:13:24.997053", "created_at": "2020-12-17T19:05:34+01:00", "updated_at": "2020-12-17T19:05:34+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - '**.md'\n  pull_request:\n    branches:\n      - master\n    paths-ignore:\n      - '**.md'\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        python-version:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n\n    runs-on: ubuntu-latest\n\n    continue-on-error: ${{matrix.allow-failure == 'yes'}}\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Setup python version\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python-version}}\n\n      - name: Install requirements using pip\n        shell: bash\n        run: |\n          python3 -m pip install --upgrade pip setuptools\n          python3 -m pip install --requirement requirements_test.txt\n\n      - name: Run tox\n        shell: bash\n        run: python3 -m tox\n", "state": "active", "repository": "mtgjson/mtgjson"}
{"mined_at": "2024-07-15T13:13:27.095877", "created_at": "2021-10-11T17:24:43+02:00", "updated_at": "2021-10-11T17:24:43+02:00", "name": "presubmit-agent", "path": ".github/workflows/presubmit-agent.yml", "contents": "name: presubmit-agent\non:\n  pull_request:\n    paths:\n      - 'agent/**'\njobs:\n  presubmit:\n    name: Presubmit\n    runs-on: ${{ matrix.os }}\n    env:\n      # Emit backtraces on panics.\n      RUST_BACKTRACE: 1\n    strategy:\n      fail-fast: false\n      matrix:\n        build: [linux, macos, win-msvc]\n        include:\n        - build: linux\n          os: ubuntu-18.04\n          rust: nightly\n          target: x86_64-unknown-linux-musl\n        - build: macos\n          os: macos-latest\n          rust: nightly\n          target: x86_64-apple-darwin\n        - build: win-msvc\n          os: windows-latest\n          rust: nightly\n          target: x86_64-pc-windows-msvc\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        fetch-depth: 1\n\n    - name: Install Rust\n      uses: actions-rs/toolchain@v1\n      with:\n        toolchain: ${{ matrix.rust }}\n        profile: minimal\n        components: rustfmt\n        override: true\n        target: ${{ matrix.target }}\n\n    - name: Cargo Build\n      working-directory: agent\n      run: cargo build --verbose --target ${{ matrix.target }}\n\n    - name: Cargo Test\n      working-directory: agent\n      run: cargo test --verbose --target ${{ matrix.target }}\n\n    - name: Cargo Format Check\n      working-directory: agent\n      run: cargo fmt --all -- --check\n", "state": "active", "repository": "bazelbuild/continuous-integration"}
{"mined_at": "2024-07-15T13:13:28.146116", "created_at": "2021-09-27T06:35:05+02:00", "updated_at": "2021-09-27T06:35:05+02:00", "name": "release-agent", "path": ".github/workflows/release-agent.yml", "contents": "# The way this works is the following:\n#\n# The create-release job runs purely to initialize the GitHub release itself\n# and to output upload_url for the following job.\n#\n# The build-release job runs only once create-release is finished. It gets the\n# release upload URL from create-release job outputs, then builds the release\n# executables for each supported platform and attaches them as release assets\n# to the previously created release.\n#\n# The key here is that we create the release only once.\n#\n# Reference:\n# https://eugene-babichenko.github.io/blog/2020/05/09/github-actions-cross-platform-auto-releases/\n\nname: release-agent\non:\n  push: \n    # Enable when testing release infrastructure on a branch.\n    # branches:\n    # - test\n    tags:\n    - \"agent-[0-9]+.[0-9]+.[0-9]+\"\njobs:\n  create-release:\n    name: create-release\n    runs-on: ubuntu-latest\n    # env:\n      # Set to force version number, e.g., when no tag exists.\n      # AGENT_VERSION: TEST-0.0.0\n    outputs:\n      upload_url: ${{ steps.release.outputs.upload_url }}\n      agent_version: ${{ env.AGENT_VERSION }}\n    steps:\n      - name: Get the release version from the tag\n        shell: bash\n        if: env.AGENT_VERSION == ''\n        run: |\n          # Apparently, this is the right way to get a tag name. Really?\n          #\n          # See: https://github.community/t5/GitHub-Actions/How-to-get-just-the-tag-name/m-p/32167/highlight/true#M1027\n          echo \"AGENT_VERSION=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV\n          echo \"version is: ${{ env.AGENT_VERSION }}\"\n      - name: Create GitHub release\n        id: release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ env.AGENT_VERSION }}\n          release_name: ${{ env.AGENT_VERSION }}\n\n  build-release:\n    name: build-release\n    needs: ['create-release']\n    runs-on: ${{ matrix.os }}\n    env:\n      # Emit backtraces on panics.\n      RUST_BACKTRACE: 1\n    strategy:\n      matrix:\n        build: [linux, linux-aarch64, macos-intel, macos-m1, win-msvc]\n        include:\n        - build: linux\n          os: ubuntu-latest\n          rust: nightly\n          target: x86_64-unknown-linux-musl\n        - build: linux-aarch64\n          os: ubuntu-latest\n          rust: nightly\n          target: aarch64-unknown-linux-musl # cross compile to aarch64 on x86_64\n        - build: macos-intel\n          os: macos-latest\n          rust: nightly\n          target: x86_64-apple-darwin\n        - build: macos-m1\n          os: macos-latest\n          rust: nightly\n          target: aarch64-apple-darwin # cross compile to aarch64 on x86_64\n        - build: win-msvc\n          os: windows-latest\n          rust: nightly\n          target: x86_64-pc-windows-msvc\n\n    steps:\n    - name: Install deps (linux-aarch64)\n      if: matrix.build == 'linux-aarch64'\n      run: sudo apt-get install -y wget && cd /opt && wget http://musl.cc/aarch64-linux-musl-cross.tgz && tar xf aarch64-linux-musl-cross.tgz\n\n    - name: Install deps (linux)\n      if: matrix.build == 'linux'\n      run: sudo apt-get install -y musl-tools\n\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        fetch-depth: 1\n\n    - name: Install Rust\n      uses: actions-rs/toolchain@v1\n      with:\n        toolchain: ${{ matrix.rust }}\n        profile: minimal\n        override: true\n        target: ${{ matrix.target }}\n\n    - name: Test release binary\n      if: matrix.build != 'macos-m1' && matrix.build != 'linux-aarch64' # Can't run aarch64 binary on x86_64\n      working-directory: agent\n      run: cargo test --verbose --release --target ${{ matrix.target }}\n\n    - name: Build release binary\n      if: matrix.build != 'linux-aarch64'\n      working-directory: agent\n      run: cargo build --verbose --release --target ${{ matrix.target }}\n\n    - name: Build release binary (linux-aarch64)\n      if: matrix.build == 'linux-aarch64'\n      working-directory: agent\n      run: CC=/opt/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc cargo build --verbose --release --target ${{ matrix.target }} --config target.${{ matrix.target }}.linker=\\\"/opt/aarch64-linux-musl-cross/bin/aarch64-linux-musl-ld\\\"\n\n    - name: Strip release binary (linux and macos)\n      if: matrix.build == 'linux' || matrix.build == 'macos-intel' || matrix.build == 'macos-m1'\n      working-directory: agent\n      run: strip \"target/${{ matrix.target }}/release/bazelci-agent\"\n\n    - name: Strip release binary (linux-aarch64)\n      if: matrix.build == 'linux-aarch64'\n      working-directory: agent\n      run: /opt/aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip \"target/${{ matrix.target }}/release/bazelci-agent\"\n\n    - name: Build release asset\n      shell: bash\n      run: |\n        staging=\"bazelci-${{ needs.create-release.outputs.agent_version }}-${{ matrix.target }}\"\n        if [ \"${{ matrix.os }}\" = \"windows-latest\" ]; then\n          cp \"agent/target/${{ matrix.target }}/release/bazelci-agent.exe\" \"$staging.exe\"\n          echo \"ASSET=$staging.exe\" >> $GITHUB_ENV\n        else\n          cp \"agent/target/${{ matrix.target }}/release/bazelci-agent\" \"$staging\"\n          echo \"ASSET=$staging\" >> $GITHUB_ENV\n        fi\n    - name: Upload release asset\n      uses: actions/upload-release-asset@v1.0.1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        upload_url: ${{ needs.create-release.outputs.upload_url }}\n        asset_path: ${{ env.ASSET }}\n        asset_name: ${{ env.ASSET }}\n        asset_content_type: application/octet-stream\n", "state": "active", "repository": "bazelbuild/continuous-integration"}
{"mined_at": "2024-07-15T13:13:29.232617", "created_at": "2021-09-27T06:32:26+02:00", "updated_at": "2021-09-27T06:32:26+02:00", "name": "release-rules", "path": ".github/workflows/release-rules.yml", "contents": "name: release-rules\non:\n  push: \n    tags:\n    - \"rules-[0-9]+.[0-9]+.[0-9]+\"\njobs:\n  create-release:\n    name: create-release\n    runs-on: ubuntu-latest\n    outputs:\n      upload_url: ${{ steps.release.outputs.upload_url }}\n      rules_version: ${{ env.RULES_VERSION }}\n    steps:\n      - name: Get the release version from the tag\n        shell: bash\n        if: env.RULES_VERSION == ''\n        run: |\n          echo \"RULES_VERSION=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV\n          echo \"version is: ${{ env.RULES_VERSION }}\"\n      - name: Create GitHub release\n        id: release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ env.RULES_VERSION }}\n          release_name: ${{ env.RULES_VERSION }}\n\n  build-release:\n    name: build-release\n    needs: ['create-release']\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        fetch-depth: 1\n    - name: Build release asset\n      shell: bash\n      run: |\n        staging=\"bazelci_${{ needs.create-release.outputs.rules_version }}\"\n        cp -r rules \"$staging\"\n        tar czf \"$staging.tar.gz\" \"$staging\"\n        echo \"ASSET=$staging.tar.gz\" >> $GITHUB_ENV\n    - name: Upload release asset\n      uses: actions/upload-release-asset@v1.0.1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        upload_url: ${{ needs.create-release.outputs.upload_url }}\n        asset_path: ${{ env.ASSET }}\n        asset_name: ${{ env.ASSET }}\n        asset_content_type: application/octet-stream", "state": "active", "repository": "bazelbuild/continuous-integration"}
{"mined_at": "2024-07-15T13:13:30.308771", "created_at": "2023-08-10T00:20:32+02:00", "updated_at": "2023-08-10T00:20:32+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "bazelbuild/continuous-integration"}
{"mined_at": "2024-07-15T13:13:32.378520", "created_at": "2023-02-25T03:09:51+01:00", "updated_at": "2023-02-25T03:09:51+01:00", "name": "Dependency Deprecation Reminder", "path": ".github/workflows/dependency-deprecation-reminder.yml", "contents": "name: Dependency Deprecation Reminder\n\non:\n  schedule:\n    - cron: '5 0 * * 0'\n  workflow_dispatch: {}\n\njobs:\n  reminder:\n    name: Reminder\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          ref: develop\n\n      - name: Get deprecations\n        id: deprecations\n        uses: cloudfoundry/buildpacks-github-config/actions/dependency/deprecation-list@main\n        with:\n          buildpack: .\n          buffer-days: 30\n\n      - name: File Issue\n        if: steps.deprecations.outputs.list != ''\n        id: file-issue\n        uses: paketo-buildpacks/github-config/actions/issue/file@main\n        with:\n          token: ${{ secrets.CF_BOT_GITHUB_TOKEN }}\n          repo: ${{ github.repository }}\n          comment_if_exists: true\n          label: dependency-deprecation\n          issue_title: Dependency Deprecation Alert\n          issue_body: |\n            Please make sure the following dependencies are removed from buildpack on time.\n\n            ${{ steps.deprecations.outputs.list }}\n          comment_body: |\n            Reminder that deprecation of the following dependencies may require attention\n\n            ${{ steps.deprecations.outputs.list }}\n\n      - name: Add issue to project\n        if: steps.deprecations.outputs.list != ''\n        id: issue-to-proj\n        uses: paketo-buildpacks/github-config/actions/issue/add-to-project@main\n        with:\n          # CF buildpacks project - https://github.com/orgs/cloudfoundry/projects/37\n          project-org: cloudfoundry\n          project-num: 37\n          field-name: Workstream\n          option-name: Dependency Deprecations\n          issue-node-id: ${{ steps.file-issue.outputs.node-id }}\n          token: ${{ secrets.CF_BOT_GITHUB_TOKEN }}\n", "state": "active", "repository": "cloudfoundry/php-buildpack"}
{"mined_at": "2024-07-15T13:13:33.599045", "created_at": "2023-02-25T03:09:51+01:00", "updated_at": "2023-02-25T03:09:51+01:00", "name": "Release Reminder", "path": ".github/workflows/release-reminder.yml", "contents": "name: Release Reminder\n\non:\n  schedule:\n    - cron: '0 0 * * 4' # Run at midnight on Thursdays\n  workflow_dispatch: {}\n\njobs:\n  determine-date:\n    name: Release buildpacks on 2nd and 4th Thursday of the month\n    runs-on: ubuntu-22.04\n    outputs:\n      should_run: ${{ steps.should_run.outputs.bool }}\n    steps:\n      - name: Should run\n        id: should_run\n        run: |\n          if [[ ${{ github.event_name }} == 'workflow_dispatch' ]]; then\n            echo \"Skipping date check, because workflow was run manually\"\n            echo \"bool=true\" >> \"${GITHUB_OUTPUT}\"\n          else\n            day_of_month=$(date +%d)\n            # Check if it's the second or fourth Thursday of the month\n            # second thursday of the month will always be between day 8 and 14 (inclusive)\n            if [[ \"$day_of_month\" -ge \"8\" && \"$day_of_month\" -le \"14\" ]]; then\n                echo \"It's the second Thursday of the month\"\n                echo \"bool=true\" >> \"${GITHUB_OUTPUT}\"\n            # fourth thursday of the month will always be between day 21 and 28 (inclusive)\n            elif [[ \"$day_of_month\" -ge \"22\" && \"$day_of_month\" -le \"28\" ]]; then\n                echo \"It's the fourth Thursday of the month\"\n                echo \"bool=true\" >> \"${GITHUB_OUTPUT}\"\n            else\n                echo \"It's another Thursday of the month\"\n                echo \"bool=false\" >> \"${GITHUB_OUTPUT}\"\n            fi\n          fi\n  reminder:\n    name: Reminder\n    runs-on: ubuntu-22.04\n    needs: [ determine-date ]\n    if: ${{ needs.determine-date.outputs.should_run == 'true' }}\n    steps:\n      - name: Get Date\n        id: date\n        run: |\n          today=$(date +'%m-%d')\n          window_close_date=$(date -d \"+5 days\" +'%m-%d')\n\n          echo \"today=$today\" >> \"${GITHUB_OUTPUT}\"\n          echo \"window_close_date=$window_close_date\" >> \"${GITHUB_OUTPUT}\"\n\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.CF_BOT_GITHUB_TOKEN }}\n          ref: develop\n          fetch-depth: 0\n\n      - name: Get Latest Version\n        id: latest-version\n        run: |\n          echo \"val=$(git describe --abbrev=0 --tag)\" >> \"${GITHUB_OUTPUT}\"\n\n      - name: PHP specific task\n        id: php-specific\n        if: github.repository == 'cloudfoundry/php-buildpack'\n        run: |\n          echo 'task=* Bump PHP modules. See [doc](https://github.com/cloudfoundry/buildpacks-ci/tree/master/scripts/php-modules#pre-buildpack-release-task)' >> \"${GITHUB_OUTPUT}\"\n          echo 'title=Bump PHP Modules and ' >> \"${GITHUB_OUTPUT}\"\n\n      - name: File Issue\n        id: file-issue\n        uses: paketo-buildpacks/github-config/actions/issue/file@main\n        with:\n          token: ${{ secrets.CF_BOT_GITHUB_TOKEN }}\n          repo: ${{ github.repository }}\n          issue_title: \"${{ steps.php-specific.outputs.title }}Release: ${{ github.event.repository.name }} (${{ steps.date.outputs.today }})\"\n          issue_body: |\n            Release reminder for ${{ github.event.repository.name }}\n\n            The ideal release date window for this buildpack starts on: ${{ steps.date.outputs.today }} and ends on ${{ steps.date.outputs.window_close_date }}.\n\n            ${{ steps.php-specific.outputs.task }}\n            * See [diff from latest version](\"https://github.com/${{ github.repository }}/compare/${{ steps.latest-version.outputs.val }}..develop\") and validate if a release is required.\n            * Make sure the latest commit on `develop` has passed tests on the [CI](https://buildpacks.ci.cf-app.com/teams/main/pipelines/${{ github.event.repository.name }})\n            * Refer [release instructions](https://github.com/pivotal-cf/tanzu-buildpacks/wiki/Releasing-CF-Buildpacks). (private link)\n\n      - name: Add issue to project\n        id: issue-to-proj\n        uses: paketo-buildpacks/github-config/actions/issue/add-to-project@main\n        with:\n          # CF buildpacks project - https://github.com/orgs/cloudfoundry/projects/37\n          project-org: cloudfoundry\n          project-num: 37\n          field-name: Workstream\n          option-name: Release Train\n          issue-node-id: ${{ steps.file-issue.outputs.node-id }}\n          token: ${{ secrets.CF_BOT_GITHUB_TOKEN }}\n", "state": "active", "repository": "cloudfoundry/php-buildpack"}
{"mined_at": "2024-07-15T13:13:34.826065", "created_at": "2023-02-13T22:57:52+01:00", "updated_at": "2023-02-25T03:09:51+01:00", "name": "Synchronize Labels", "path": ".github/workflows/synchronize-labels.yml", "contents": "name: Synchronize Labels\n\non:\n  push:\n    branches:\n      - develop\n    paths:\n      - .github/labels.yml\n  workflow_dispatch: {}\njobs:\n  synchronize:\n    name: Synchronize Labels\n    runs-on:\n      - ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: micnncim/action-label-syncer@v1\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "cloudfoundry/php-buildpack"}
{"mined_at": "2024-07-15T13:13:36.789004", "created_at": "2022-12-30T17:45:07+01:00", "updated_at": "2022-12-30T17:45:07+01:00", "name": "docs", "path": ".github/workflows/build-docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - master\n  schedule:\n    - cron: \"00 12 * * 0\" # Every Sunday noon (preserve the cache folders)\n  workflow_dispatch:\n\nenv:\n  PYTHON_VERSION: \"3.11\"\n  POETRY_VERSION: \"1.7.0\"\n\njobs:\n  documentation:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: |\n          git fetch --prune --unshallow --tags\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      # Update full Python version\n      - name: Full Python version\n        run: |\n          echo \"PYTHON_VERSION=$(python -c \"import platform; print(platform.python_version())\")\"\n\n      - name: Download extra data from private repository\n        uses: actions/checkout@v4\n        with:\n          repository: xoolive/traffic_data\n          token: ${{ secrets.PRIVATE_TOKEN }}\n          persist-credentials: false\n          path: ./traffic_data\n\n      - name: Create LFS file list (private repository)\n        working-directory: ./traffic_data\n        run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id\n        shell: bash\n\n      - name: Restore LFS cache (private repository)\n        uses: actions/cache@v4\n        id: lfs-cache\n        with:\n          path: ./traffic_data/.git/lfs\n          key: lfs-${{ hashFiles('./traffic_data/.lfs-assets-id') }}-v1\n\n      - name: Git LFS Pull (private repository)\n        working-directory: ./traffic_data\n        run: |\n          git remote set-url origin https://xoolive:${{ secrets.PRIVATE_TOKEN }}@github.com/xoolive/traffic_data.git\n          git lfs pull\n          unzip ENV_PostOPS_AIRAC_2111_04NOV2021_With_Airspace_Closure.zip -d airac_2111\n        shell: bash\n\n      # virtualenv cache should depends on OS, Python version and `poetry.lock` (and optionally workflow files).\n      - name: Cache Packages\n        uses: actions/cache@v4\n        with:\n          path: |\n            ~/.local\n            .venv\n          key: poetry-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install and configure Poetry\n        uses: snok/install-poetry@v1.3.4\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n\n      - name: Display Python version\n        run: poetry run python -c \"import sys; print(sys.version)\"\n\n      - name: Cache folder for traffic\n        uses: actions/cache@v4\n        id: cache-folder\n        with:\n          path: |\n            ~/.cache/traffic/\n            ~/.cache/opensky/\n            ~/.cache/cartes/\n          key: traffic-${{ runner.os }}\n\n      - name: Cache folder for documentation\n        uses: actions/cache@v4\n        id: docs-folder\n        with:\n          path: |\n            docs/_build/\n          key: docs-${{ runner.os }}\n\n      - name: Ubuntu system dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y libgdal-dev libgeos-dev libproj-dev proj-bin proj-data libarchive-dev npm fonts-ubuntu\n          # Weird issue with libarchive-dev\n          sudo ln -s -f /usr/lib/x86_64-linux-gnu/libarchive.a /usr/lib/x86_64-linux-gnu/liblibarchive.a\n\n      - name: npm dependencies\n        run: |\n          npm install vega-lite vega-cli canvas  # necessary dependency for altair-save\n\n      - name: Dynamic versioning\n        run: poetry self add \"poetry-dynamic-versioning[plugin]\" || true\n\n      - name: Install dependencies\n        run: |\n          poetry install -E full\n\n          # This should not be necessary... but sometimes it is\n          # https://traffic-viz.github.io/troubleshooting/installation.html\n          # SHAPELY_VERSION=$(poetry run python -c \"import shapely; print(shapely.__version__)\")\n          # poetry run pip uninstall -y shapely\n          # poetry run pip install --no-binary shapely shapely==${SHAPELY_VERSION}\n\n      - name: Build pages\n        env:\n          LD_LIBRARY_PATH: /usr/local/lib\n          OPENSKY_USERNAME: ${{ secrets.OPENSKY_USERNAME }}\n          OPENSKY_PASSWORD: ${{ secrets.OPENSKY_PASSWORD }}\n          # PKCS12_PASSWORD: ${{ secrets.PKCS12_PASSWORD }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          TRAFFIC_NOPLUGIN: \"\"\n          TRAFFIC_CACHE_NO_EXPIRE: \"\"\n        run: |\n          # This downloads the cache for cartes atlas\n          poetry run python -c \"from cartes.atlas import default, world_atlas\"\n          # This downloads files to have in cache first\n          poetry run traffic cache --fill\n\n          export TRAFFIC_CONFIG=$(poetry run python -c \"from traffic import config_file; print(config_file)\")\n\n          sed -i \"/nm_path =/ s,=$,= $PWD/traffic_data/airac_2111,\" $TRAFFIC_CONFIG\n          # sed -i \"/pkcs12_filename =/ s,=.*$,= $PWD/traffic_data/CC0000007011_501_openssl.p12,\" $TRAFFIC_CONFIG\n          # sed -i \"/pkcs12_password =/ s,=$,= $PKCS12_PASSWORD,\" $TRAFFIC_CONFIG\n\n          # Run the documentation\n          cd docs && CARTES_CACHE=./cache poetry run make html\n\n      - name: Deploy pages\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}\n          external_repository: traffic-viz/traffic-viz.github.io\n          publish_branch: master\n          publish_dir: docs/_build/html\n", "state": "active", "repository": "xoolive/traffic"}
{"mined_at": "2024-07-15T13:13:37.804520", "created_at": "2020-12-30T22:25:55+01:00", "updated_at": "2021-06-04T23:08:12+02:00", "name": "publish", "path": ".github/workflows/pypi-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\nname: publish\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\nenv:\n  POETRY_VERSION: \"1.7.0\"\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install and configure Poetry\n        uses: snok/install-poetry@v1.3.4\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-in-project: true\n\n      - name: Display Python version\n        run: poetry run python -c \"import sys; print(sys.version)\"\n\n      - name: Dynamic versioning\n        run: poetry self add \"poetry-dynamic-versioning[plugin]\" || true\n\n      - name: Build packages\n        run: poetry build\n\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "xoolive/traffic"}
{"mined_at": "2024-07-15T13:13:38.918700", "created_at": "2022-05-07T23:12:54+02:00", "updated_at": "2022-05-07T23:12:54+02:00", "name": "docker", "path": ".github/workflows/run-docker.yml", "contents": "name: docker\n\non:\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: 'Release tag'\n        required: true \n        type: string\n\nenv:\n  TRAFFIC_JUPYTER_URL: ghcr.io/xoolive/traffic/jupyter\n  TRAFFIC_POETRY_URL: ghcr.io/xoolive/traffic/poetry\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      # jupyter Docker image for users\n      - name: Build jupyter docker image\n        run: docker build --file docker/jupyter.Dockerfile --tag ${{ env.TRAFFIC_JUPYTER_URL }}:${{ inputs.tag }} --tag ${{ env.TRAFFIC_JUPYTER_URL }}:latest docker\n\n      - name: Test jupyter image\n        run: docker run ${{ env.TRAFFIC_JUPYTER_URL }}:latest python -c \"import traffic; print(traffic.__version__)\"\n\n      - name: Push jupyter docker image\n        run: |\n          docker push ${{ env.TRAFFIC_JUPYTER_URL }}:${{ inputs.tag }}\n          docker push ${{ env.TRAFFIC_JUPYTER_URL }}:latest\n\n      # poetry Docker image\n      - name: Build poetry docker image\n        run: docker build --file docker/poetry.Dockerfile --tag ${{ env.TRAFFIC_POETRY_URL }}:${{ inputs.tag }} --tag ${{ env.TRAFFIC_POETRY_URL }}:latest .\n\n      - name: Test poetry docker image\n        run: docker run ${{ env.TRAFFIC_POETRY_URL }}:latest /bin/bash -c \"pip install traffic; python -c \\\"import traffic; print(traffic.__version__)\\\"\"\n\n      - name: Push poetry image\n        run: |\n          docker push ${{ env.TRAFFIC_POETRY_URL }}:${{ inputs.tag }}\n          docker push ${{ env.TRAFFIC_POETRY_URL }}:latest\n", "state": "active", "repository": "xoolive/traffic"}
{"mined_at": "2024-07-15T13:13:39.969038", "created_at": "2021-04-06T15:29:28+02:00", "updated_at": "2022-10-17T22:48:29+02:00", "name": "tests", "path": ".github/workflows/run-tests.yml", "contents": "name: tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request_target:\n  schedule:\n    - cron: \"42 7 * * 0\" # Every Sunday morning when I am fast asleep :)\n    # This is useful for keeping the cache fit and ready\n  workflow_dispatch:\n\nenv:\n  POETRY_VERSION: \"1.7.0\"\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest # ${{ matrix.os }}\n    strategy:\n      matrix:\n        # os: [ubuntu-latest, macos-latest, windows-latest]\n        # onnxruntime needed for 3.11\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    env:\n      PYTHON_VERSION: ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: |\n          git fetch --prune --unshallow --tags\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Update full Python version\n      - name: Full Python version\n        run: |\n          echo \"PYTHON_VERSION=$(python -c \"import platform; print(platform.python_version())\")\"\n          echo \"PYTHON_VERSION=$(python -c \"import platform; print(platform.python_version())\")\" >> $GITHUB_ENV\n\n      - name: Download extra data from private repository\n        uses: actions/checkout@v4\n        with:\n          repository: xoolive/traffic_data\n          token: ${{ secrets.PRIVATE_TOKEN }}\n          persist-credentials: false\n          path: ./traffic_data\n\n      - name: Create LFS file list (private repository)\n        working-directory: ./traffic_data\n        run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id\n        shell: bash\n\n      - name: Restore LFS cache (private repository)\n        uses: actions/cache@v4\n        id: lfs-cache\n        with:\n          path: ./traffic_data/.git/lfs\n          key: lfs-${{ hashFiles('./traffic_data/.lfs-assets-id') }}-v1\n\n      - name: Git LFS Pull (private repository)\n        working-directory: ./traffic_data\n        run: |\n          git remote set-url origin https://xoolive:${{ secrets.PRIVATE_TOKEN }}@github.com/xoolive/traffic_data.git\n          git lfs pull\n          unzip ENV_PostOPS_AIRAC_2111_04NOV2021_With_Airspace_Closure.zip -d airac_2111\n        shell: bash\n\n      # virtualenv cache should depends on OS, Python version and `poetry.lock` (and optionally workflow files).\n      - name: Cache Packages\n        uses: actions/cache@v4\n        with:\n          path: |\n            ~/.local\n            .venv\n          key: poetry-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install and configure Poetry\n        uses: snok/install-poetry@v1.3.4\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n\n      - name: Display Python version\n        run: poetry run python -c \"import sys; print(sys.version)\"\n\n      - name: Cache folder for traffic\n        uses: actions/cache@v4\n        id: cache-folder\n        with:\n          path: |\n            ~/.cache/traffic/\n            ~/.cache/opensky/\n            ~/.cache/cartes/\n          key: traffic-${{ runner.os }}\n\n      - name: Ubuntu system dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y libgdal-dev libgeos-dev libproj-dev proj-bin proj-data libarchive-dev\n          # Weird issue with libarchive-dev\n          sudo ln -s -f /usr/lib/x86_64-linux-gnu/libarchive.a /usr/lib/x86_64-linux-gnu/liblibarchive.a\n\n      - name: Dynamic versioning\n        run: poetry self add \"poetry-dynamic-versioning[plugin]\" || true\n\n      - name: Install dependencies\n        run: |\n          poetry install -E full -E libarchive\n\n      - name: Style checking\n        run: |\n          poetry run ruff src tests\n          poetry run ruff format --check src tests\n\n      - name: Type checking\n        run: |\n          poetry run mypy src tests\n\n      - name: Run tests\n        env:\n          LD_LIBRARY_PATH: /usr/local/lib\n          TRAFFIC_NOPLUGIN: \"\"\n          OPENSKY_USERNAME: ${{ secrets.OPENSKY_USERNAME }}\n          OPENSKY_PASSWORD: ${{ secrets.OPENSKY_PASSWORD }}\n          # PKCS12_PASSWORD: ${{ secrets.PKCS12_PASSWORD }}\n        run: |\n          export TRAFFIC_CONFIG=$(poetry run python -c \"from traffic import config_file; print(config_file)\")\n\n          sed -i \"/nm_path =/ s,= $,= $PWD/traffic_data/airac_2111,\" $TRAFFIC_CONFIG\n          # sed -i \"/pkcs12_filename =/ s,= .*$,= $PWD/traffic_data/CC0000007011_501_openssl.p12,\" $TRAFFIC_CONFIG\n          # sed -i \"/pkcs12_password =/ s,= $,= $PKCS12_PASSWORD,\" $TRAFFIC_CONFIG\n\n          # Don't purge OpenSky cache files here :)\n          sed -i \"/purge = / d\" $TRAFFIC_CONFIG\n\n          poetry run traffic cache --fill  # download files to have in cache first\n          poetry run pytest --cov --cov-report xml\n\n      - name: Upload coverage to Codecov\n        if: ${{ github.event_name != 'pull_request_target' }}\n        uses: codecov/codecov-action@v4\n        with:\n          env_vars: PYTHON_VERSION\n", "state": "active", "repository": "xoolive/traffic"}
{"mined_at": "2024-07-15T13:13:42.096092", "created_at": "2020-11-02T09:18:02+01:00", "updated_at": "2021-03-03T08:25:41+01:00", "name": "doc", "path": ".github/workflows/doc.yml", "contents": "name: doc\n\non:\n  push:\n    branches: [master]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: true\n\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install \".[doc]\"\n\n    - name: Build sphinx documentation\n      run: |\n        make html\n        # notify github this isn't a jekyll site\n        touch build/sphinx/html/.nojekyll\n\n    - name: Upload artifact\n      uses: actions/upload-pages-artifact@v3\n      with:\n        path: build/sphinx/html\n\n  deploy:\n    if: github.repository == 'pkgcore/pkgcore'\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "pkgcore/pkgcore"}
{"mined_at": "2024-07-15T13:13:43.246215", "created_at": "2020-11-02T09:18:02+01:00", "updated_at": "2021-03-03T08:25:41+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  push:\n    branches: [deploy]\n    tags: [v*]\n  workflow_dispatch:\n\njobs:\n  build-and-deploy:\n    runs-on: ubuntu-latest\n    environment: release\n\n    permissions:\n      id-token: write # Used to authenticate to PyPI via OIDC\n\n      contents: write # Used to authenticate github release publish\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n        cache: 'pip'\n        cache-dependency-path: pyproject.toml\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build \".[test,doc]\"\n\n    - name: Test with pytest\n      env:\n        PY_COLORS: 1 # forcibly enable pytest colors\n      run: pytest\n\n    - name: Build sdist\n      run: |\n        git clean -fxd\n        make man\n        make sdist\n\n    - name: Build wheel\n      run: make wheel\n\n    - name: Output dist file info\n      run: |\n        sha512sum dist/*\n        tar -ztf dist/*.tar.gz | sort\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: results\n        path: dist/*\n\n    - name: publish\n      uses: pypa/gh-action-pypi-publish@release/v1\n      if: startsWith(github.ref, 'refs/tags/')\n\n    - name: Create GitHub release\n      uses: softprops/action-gh-release@v1\n      if: startsWith(github.ref, 'refs/tags/')\n      with:\n        files: dist/*.tar.gz\n        fail_on_unmatched_files: true\n        draft: true\n", "state": "active", "repository": "pkgcore/pkgcore"}
{"mined_at": "2024-07-15T13:13:44.392745", "created_at": "2020-11-02T09:18:02+01:00", "updated_at": "2024-01-19T05:23:08+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches-ignore: [deploy]\n  pull_request:\n    branches: [master]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.10', '3.11', '3.12']\n        deps: [newest-deps]\n        experimental: [false]\n        include:\n          - os: ubuntu-latest\n            python-version: '3.11'\n            deps: minimal-deps\n            experimental: false\n          #- os: ubuntu-latest\n          #  python-version: '3.13-dev'\n          #  deps: newest-deps\n          #  experimental: true\n          - os: macos-latest\n            python-version: '3.11'\n            deps: newest-deps\n            experimental: false\n      fail-fast: false\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Pin dependencies to minimal versions\n      if: ${{ matrix.deps == 'minimal-deps' }}\n      run: sed -e '/dependencies/,$s/~=/==/' -i pyproject.toml\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: pyproject.toml\n\n    # experimental targets generally lack lxml wheels\n    - name: Install libxml2 and libxslt development packages\n      if: ${{ matrix.experimental }}\n      run: sudo apt install libxml2-dev libxslt-dev python3-dev\n\n    # macos needs newer bash\n    - name: Install macos deps\n      if: ${{ matrix.os == 'macos-latest' }}\n      run: brew install bash\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install \".[test]\" pytest-github-actions-annotate-failures\n\n    - name: Test with pytest\n      env:\n        PY_COLORS: 1 # forcibly enable pytest colors\n      run: |\n        pytest --cov --cov-report=term --cov-report=xml -v\n\n    - name: Submit code coverage to codecov\n      if: ${{ matrix.os == 'ubuntu-latest' }}\n      uses: codecov/codecov-action@v3\n      with:\n        files: ./coverage.xml\n\n  pkgcheck-test:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout pkgcore\n      uses: actions/checkout@v4\n      with:\n        path: pkgcore\n\n    - name: Checkout pkgcheck\n      uses: actions/checkout@v4\n      with:\n        repository: pkgcore/pkgcheck\n        path: pkgcheck\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n        cache: 'pip'\n        cache-dependency-path: |\n          pkgcore/pyproject.toml\n          pkgcheck/pyproject.toml\n\n    - name: Install pip dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e \"./pkgcore\"\n        pip install \"./pkgcheck[test]\"\n\n    - name: Test with pytest\n      working-directory: ./pkgcheck\n      env:\n        PY_COLORS: 1 # forcibly enable pytest colors\n      run: pytest -v\n\n  pkgdev-test:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout pkgcore\n      uses: actions/checkout@v4\n      with:\n        path: pkgcore\n\n    - name: Checkout pkgdev\n      uses: actions/checkout@v4\n      with:\n        repository: pkgcore/pkgdev\n        path: pkgdev\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n        cache: 'pip'\n        cache-dependency-path: |\n          pkgcore/pyproject.toml\n          pkgdev/pyproject.toml\n\n    - name: Install pip dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e \"./pkgcore\"\n        pip install \"./pkgdev[test]\"\n\n    - name: Test with pytest\n      working-directory: ./pkgdev\n      env:\n        PY_COLORS: 1 # forcibly enable pytest colors\n      run: pytest -v\n\n  format:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n    - name: Install black version\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .[formatter]\n        black --check --diff .\n\n  gentoo-regen:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout pkgcore\n      uses: actions/checkout@v4\n      with:\n        path: pkgcore\n\n    - name: Checkout gentoo\n      uses: actions/checkout@v4\n      with:\n        repository: gentoo/gentoo\n        path: gentoo\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Install pip dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e \"./pkgcore\"\n\n    - name: Run pmaint regen\n      working-directory: ./gentoo\n      run: pmaint regen --use-local-desc --pkg-desc-index --rsync --force .\n", "state": "active", "repository": "pkgcore/pkgcore"}
{"mined_at": "2024-07-15T13:13:46.536974", "created_at": "2019-12-19T14:27:33+01:00", "updated_at": "2019-12-19T14:27:33+01:00", "name": "Python CI", "path": ".github/workflows/ci.yaml", "contents": "name: Python CI\non: [push, pull_request]\nenv:\n  PLANEMO_ENABLE_POSTGRES_TESTS: 1\n  PLANEMO_SKIP_GALAXY_CWL_TESTS: 1\n  PLANEMO_TEST_WORKFLOW_RUN_PROFILE: 1\n  PGPASSWORD: postgres\n  PGHOST: localhost\n  GIT_AUTHOR_NAME: planemo\n  GIT_AUTHOR_EMAIL: planemo@galaxyproject.org\n  GIT_COMMITTER_NAME: planemo\n  GIT_COMMITTER_EMAIL: planemo@galaxyproject.org\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 100\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8']\n        tox-action:\n          - lint\n          - lint_docs\n          - mypy\n          - unit-quick\n          #- unit-diagnostic-servebasic\n          #- unit-diagnostic-servebasic-gx-2005\n          #- unit-diagnostic-servebasic-gx-master\n          - unit-diagnostic-servebasic-gx-dev\n          #- unit-diagnostic-servetraining\n          #- unit-diagnostic-servecmd\n          #- unit-diagnostic-trainingwfcmd\n          - unit-nonredundant-noclientbuild-noshed-gx-2109\n          - unit-nonredundant-noclientbuild-noshed-gx-2205\n          - unit-nonredundant-noclientbuild-noshed-gx-dev\n          - unit-nonredundant-noclientbuild-noshed-nogx\n          - unit-diagnostic-serveclientcmd\n        include:\n          - python-version: '3.11'\n            tox-action: lint\n          - python-version: '3.11'\n            tox-action: mypy\n          - python-version: '3.11'\n            tox-action: unit-quick\n    services:\n      postgres:\n        image: postgres:10.8\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n        - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n          submodules: true\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test psql\n        run: |\n          psql --tuples-only --username postgres -P pager=off --list\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools\n          python -m pip install tox coveralls\n      - name: Checkout system space\n        run: |\n          df\n      - name: Test with tox\n        run: |\n          TOXENV=$(echo $TOXENV | sed 's/\\.//') tox\n        env:\n          TOXENV: py${{ matrix.python-version }}-${{ matrix.tox-action }}\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n          submodules: true\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '18.12.1'\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.7'\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --upgrade pip setuptools\n          python3 -m pip install --upgrade twine wheel\n      - name: Create and check packages\n        run: |\n          make dist\n      - name: Publish to PyPI\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "galaxyproject/planemo"}
{"mined_at": "2024-07-15T13:13:48.586364", "created_at": "2020-12-16T15:59:13+01:00", "updated_at": "2020-12-16T15:59:13+01:00", "name": "deploy-docs", "path": ".github/workflows/main-deploy-docs.yml", "contents": "# Docs Deployment for Tibanna \n\nname: deploy-docs\n\n# Controls when the action will run. \non:\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-22.04\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n      - name: Docs\n        env:\n          DOCS_TOKEN: ${{ secrets.DOCS_TOKEN }}\n        run: curl -X POST -d \"branches=master\" -d \"token=$DOCS_TOKEN\" https://readthedocs.org/api/v2/webhook/tibanna/141616/ \n\n", "state": "active", "repository": "4dn-dcic/tibanna"}
{"mined_at": "2024-07-15T13:13:49.633071", "created_at": "2023-09-21T16:44:55+02:00", "updated_at": "2023-10-05T19:44:28+02:00", "name": "publish", "path": ".github/workflows/main-publish.yml", "contents": "# PyPi publish for tibanna\n\nname: publish\n\n# Controls when the action will run.\non:\n\n  # Publish on all tags\n  push:\n    tags:\n    - '*'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-22.04\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.11\n      - name: Publish\n        env:\n          PYPI_USER: ${{ secrets.PYPI_USER }}\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: | \n          make publish-for-ga\n", "state": "active", "repository": "4dn-dcic/tibanna"}
{"mined_at": "2024-07-15T13:13:50.683533", "created_at": "2020-12-15T21:20:04+01:00", "updated_at": "2023-10-06T14:01:10+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "# Build for Tibanna\n\nname: CI\n\n# Controls when the action will run. \non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\n# In this case, since this repo (tibanna) has tests which cannot reliablly run concurrently,\n# because (at least) they write/read to/from fixed locations in S3, we need to run the tests\n# for each of the Python versions serially; so the build_<version> sections below are just\n# clones of each other, with the proper version and \"needs\" clause on the previous build.\n# Using the strategy/matrix mechanism as is done in other repos causes the tests to run\n# concurrently. TODO: Find a way to do this without having to clone these sections.\njobs:\n  build_3_8:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-22.04\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Install Deps\n        run: |\n          make install\n          \n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-1\n      \n      - name: QA (unit)\n        run: |\n          poetry run invoke test --no-flake\n\n  build_3_9:\n    needs: build_3_8\n    # The type of runner that the job will run on\n    runs-on: ubuntu-22.04\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.9'\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Install Deps\n        run: |\n          make install\n          \n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-1\n      \n      - name: QA (unit)\n        run: |\n          poetry run invoke test --no-flake\n\n  build_3_10:\n    needs: build_3_9\n    # The type of runner that the job will run on\n    runs-on: ubuntu-22.04\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.10'\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Install Deps\n        run: |\n          make install\n          \n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-1\n      \n      - name: QA (unit)\n        run: |\n          poetry run invoke test --no-flake\n\n  build_3_11:\n    needs: build_3_10\n    # The type of runner that the job will run on\n    runs-on: ubuntu-22.04\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.11'\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Install Deps\n        run: |\n          make install\n          \n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-1\n      \n      - name: QA (unit)\n        run: |\n          poetry run invoke test --no-flake\n", "state": "active", "repository": "4dn-dcic/tibanna"}
{"mined_at": "2024-07-15T13:13:53.827420", "created_at": "2020-05-23T20:33:22+02:00", "updated_at": "2021-07-10T14:57:10+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "---\n\nname: CI\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    # Run at 1:00 every day\n    - cron:  '0 1 * * *'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        uv-resolution: [\"highest\", \"lowest\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: \"Set up Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # We do not use the cache action as uv is faster than the cache action.\n      - name: \"Install dependencies\"\n        run: |\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n          uv pip install --system --upgrade --editable .[dev]\n          uv pip compile --resolution=${{ matrix.uv-resolution }} --no-deps pyproject.toml > resolved-requirements.txt\n          uv pip install --system --requirement resolved-requirements.txt\n\n      - name: \"Lint\"\n        run: |\n          pre-commit run --all-files --hook-stage commit --verbose\n          pre-commit run --all-files --hook-stage push --verbose\n          pre-commit run --all-files --hook-stage manual --verbose\n\n      - name: \"Build sample\"\n        run: |\n          make build-sample\n\n      - name: \"Build sample parallel\"\n        run: |\n          make build-sample-parallel\n\n      - name: \"Run tests\"\n        run: |\n          pytest -s -vvv --cov-fail-under 100 --cov=src/ --cov=tests tests/ --cov-report=xml\n\n      - name: \"Upload coverage to Codecov\"\n        uses: \"codecov/codecov-action@v4\"\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n      - uses: pre-commit-ci/lite-action@v1.0.2\n        if: always()\n", "state": "active", "repository": "adamtheturtle/sphinx-substitution-extensions"}
{"mined_at": "2024-07-15T13:13:54.877579", "created_at": "2024-02-22T12:04:13+01:00", "updated_at": "2024-02-22T12:10:26+01:00", "name": "Dependabot auto-merge", "path": ".github/workflows/dependabot-merge.yml", "contents": "---\n\nname: Dependabot auto-merge\non: pull_request\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: github.actor == 'dependabot[bot]'\n    steps:\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v2\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: Enable auto-merge for Dependabot PRs\n        run: gh pr merge --auto --merge \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GH_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "adamtheturtle/sphinx-substitution-extensions"}
{"mined_at": "2024-07-15T13:13:55.925909", "created_at": "2021-12-12T23:11:37+01:00", "updated_at": "2021-12-12T23:11:37+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "---\n\nname: Release\n\non: workflow_dispatch\n\njobs:\n  build:\n    name: Publish a release\n    runs-on: ubuntu-latest\n\n    # Specifying an environment is strongly recommended by PyPI.\n    # See https://github.com/pypa/gh-action-pypi-publish/tree/release/v1/?tab=readme-ov-file#trusted-publishing.\n    environment: release\n\n    permissions:\n      # This is needed for PyPI publishing.\n      # See https://github.com/pypa/gh-action-pypi-publish/tree/release/v1/?tab=readme-ov-file#trusted-publishing.\n      id-token: write\n      # This is needed for https://github.com/stefanzweifel/git-auto-commit-action.\n      contents: write\n\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # See\n          # https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#push-to-protected-branches\n          token: ${{ secrets.RELEASE_PAT }}\n\n      - name: \"Set up Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: \"Calver calculate version\"\n        uses: StephaneBour/actions-calver@master\n        id: calver\n        with:\n          date_format: \"%Y.%m.%d\"\n          release: false\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: \"Update changelog\"\n        uses: jacobtomlinson/gha-find-replace@v3\n        env:\n          NEXT_VERSION: ${{ steps.calver.outputs.release }}\n        with:\n          find: \"Next\\n----\"\n          replace: \"Next\\n----\\n\\n${{ env.NEXT_VERSION }}\\n------------\"\n          include: \"CHANGELOG.rst\"\n          regex: false\n\n      - uses: stefanzweifel/git-auto-commit-action@v5\n        id: commit\n        with:\n          commit_message: Bump CHANGELOG\n\n      - name: Bump version and push tag\n        id: tag_version\n        uses: mathieudutour/github-tag-action@v6.2\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          custom_tag: ${{ steps.calver.outputs.release }}\n          tag_prefix: \"\"\n          commit_sha: ${{ steps.commit.outputs.commit_hash }}\n\n      - name: Create a GitHub release\n        uses: ncipollo/release-action@v1\n        with:\n          tag: ${{ steps.tag_version.outputs.new_tag }}\n          name: Release ${{ steps.tag_version.outputs.new_tag }}\n          body: ${{ steps.tag_version.outputs.changelog }}\n\n      - name: Build a binary wheel and a source tarball\n        run: |\n          # Checkout the latest tag - the one we just created.\n          git fetch --tags\n          git checkout \"$(git describe --tags \"$(git rev-list --tags --max-count=1)\")\"\n          python -m pip install build\n          python -m build --sdist --wheel --outdir dist/ .\n          check-wheel-contents dist/*.whl\n\n      # We use PyPI trusted publishing rather than a PyPI API token.\n      # See https://github.com/pypa/gh-action-pypi-publish/tree/release/v1/?tab=readme-ov-file#trusted-publishing.\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          verbose: true\n", "state": "active", "repository": "adamtheturtle/sphinx-substitution-extensions"}
{"mined_at": "2024-07-15T13:13:58.016377", "created_at": "2022-12-11T15:11:57+01:00", "updated_at": "2024-05-23T15:01:01+02:00", "name": "Linting and unit tests", "path": ".github/workflows/ci-tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Linting and unit tests\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.12\"\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide, we further relax this\n        flake8 . --count --exit-zero --max-complexity=30 --max-line-length=130 --statistics\n\n    - name: Test with pytest\n      run: |\n        pytest\n", "state": "active", "repository": "cs3org/wopiserver"}
{"mined_at": "2024-07-15T13:13:59.601072", "created_at": "2022-11-10T10:01:26+01:00", "updated_at": "2024-05-23T12:09:53+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: CodeQL\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"44 11 * * 0\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "cs3org/wopiserver"}
{"mined_at": "2024-07-15T13:14:01.060990", "created_at": "2022-12-11T14:59:18+01:00", "updated_at": "2024-05-23T15:01:01+02:00", "name": "Releases", "path": ".github/workflows/release.yml", "contents": "name: Releases\non:\n  push:\n    tags:\n      - \"*\"\n  workflow_dispatch:\n\njobs:\n# The following is a clone of cs3org/reva/.github/workflows/docker.yml because reusable actions do not (yet) support lists as input types:\n# see https://github.com/community/community/discussions/11692\n  release:\n    runs-on: ${{ fromJSON('[\"ubuntu-latest\", \"self-hosted\"]')[github.repository == 'cs3org/wopiserver'] }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - file: wopiserver.Dockerfile\n          tags: ${{ vars.DOCKERHUB_ORGANIZATION }}/wopiserver:${{ github.ref_name }}-amd64\n          platform: linux/amd64\n          image: python:3.11-alpine\n          push: ${{ github.event_name != 'workflow_dispatch' }}\n        - file: wopiserver.Dockerfile\n          tags: ${{ vars.DOCKERHUB_ORGANIZATION }}/wopiserver:${{ github.ref_name }}-arm64\n          platform: linux/arm64\n          image: python:3.10-slim-buster\n          push: ${{ github.event_name != 'workflow_dispatch' }}\n        - file: wopiserver-xrootd.Dockerfile\n          tags: ${{ vars.DOCKERHUB_ORGANIZATION }}/wopiserver:${{ github.ref_name }}-xrootd\n          platform: linux/amd64\n          push: ${{ github.event_name != 'workflow_dispatch' }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        if: matrix.platform != ''\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Login to Docker Hub\n        if: matrix.push\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build ${{ matrix.push && 'and push' || '' }} ${{ matrix.tags }} Docker image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          file: ${{ matrix.file }}\n          tags: ${{ matrix.tags }}\n          push: ${{ matrix.push }}\n          build-args: |\n            VERSION=${{ github.ref_name }}\n            BASEIMAGE=${{ matrix.image }}\n          platforms: ${{ matrix.platform }}\n  manifest:\n    runs-on: ${{ fromJSON('[\"ubuntu-latest\", \"self-hosted\"]')[github.repository == 'cs3org/wopiserver'] }}\n    needs: release\n    if: github.event_name != 'workflow_dispatch'\n    strategy:\n      fail-fast: false\n      matrix:\n        manifest:\n          - ${{ vars.DOCKERHUB_ORGANIZATION }}/wopiserver:${{ github.ref_name }}\n          - ${{ vars.DOCKERHUB_ORGANIZATION }}/wopiserver:latest\n    steps:\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Create manifest\n        run: |\n          docker manifest create ${{ matrix.manifest }} \\\n          --amend ${{ vars.DOCKERHUB_ORGANIZATION }}/wopiserver:${{ github.ref_name }}-amd64 \\\n          --amend ${{ vars.DOCKERHUB_ORGANIZATION }}/wopiserver:${{ github.ref_name }}-arm64\n      - name: Push manifest\n        run: docker manifest push ${{ matrix.manifest }}\n", "state": "active", "repository": "cs3org/wopiserver"}
{"mined_at": "2024-07-15T13:14:03.293972", "created_at": "2021-01-31T16:13:11+01:00", "updated_at": "2021-01-31T16:13:11+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest pytest-rerunfailures\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        python -m pip install git+https://github.com/pyscf/naive-hci\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        PYTHONPATH=\".\" pytest --durations=100 --reruns 3 -k \"not slow\"\n", "state": "active", "repository": "wagnergroup/pyqmc"}
{"mined_at": "2024-07-15T13:14:04.438031", "created_at": "2020-06-12T16:49:54+02:00", "updated_at": "2021-02-23T14:48:36+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "wagnergroup/pyqmc"}
{"mined_at": "2024-07-15T13:14:06.570228", "created_at": "2020-12-01T17:02:46+01:00", "updated_at": "2020-12-01T17:02:46+01:00", "name": "Resolwe CI", "path": ".github/workflows/ci.yml", "contents": "name: Resolwe CI\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - \"[0-9]+.[0-9]+.[0-9]+*\"\n\n  pull_request:\n  schedule:\n    - cron: \"30 2 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    env:\n      TOX_COMMAND: \"python3.12 -m tox --skip-missing-interpreters false\"\n      RESOLWE_COMMUNICATOR_IMAGE: \"resolwe/com:testing\"\n\n    runs-on: arc-runner\n    timeout-minutes: 20\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python: \"3.11\"\n            toxenv: \"py311\"\n            description: \"Unit tests (Python 3.11)\"\n          - python: \"3.12\"\n            toxenv: \"py312\"\n            description: \"Unit tests (Python 3.12)\"\n          - python: \"3.12\"\n            toxenv: \"linters\"\n            description: \"Linters (Python 3.12)\"\n          - python: \"3.12\"\n            toxenv: \"packaging\"\n            description: \"Packaging (Python 3.12)\"\n          - python: \"3.12\"\n            toxenv: \"migrations\"\n            description: \"Migrations (Python 3.12)\"\n    name: ${{ matrix.description }}\n\n    services:\n      postgres: \n        image: public.ecr.aws/docker/library/postgres:16\n        ports:\n          - 55432:5432\n        env:\n          POSTGRES_USER: resolwe\n          POSTGRES_DB: resolwe\n          POSTGRES_PASSWORD: resolwe\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n      redis:\n        image: public.ecr.aws/docker/library/redis:7-alpine\n        ports:\n          - 56379:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Build communication container\n        if: matrix.toxenv == 'py311' || matrix.toxenv == 'py312'\n        working-directory: ./resolwe/flow/docker_images\n        run: docker build -f Dockerfile.communication -t ${{ env.RESOLWE_COMMUNICATOR_IMAGE }} ../../\n\n      - name: ${{ matrix.description }}\n        run: |\n          # Make sure `python` refers to the tox environment's Python\n          export PATH=`pwd`/.tox/${{ matrix.toxenv }}/bin:$PATH\n          ${{ env.TOX_COMMAND }} -e ${{ matrix.toxenv }}\n\n  build:\n    runs-on: arc-runner\n    needs: test\n    if: startsWith(github.ref, 'refs/tags')\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install build\n        run: python3.12 -m pip install --user build\n\n      - name: Build a binary wheel and a source tarball\n        run: python3.12 -m build --sdist --wheel --outdir dist/ .\n\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.pypi_password }}\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: .coverage\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "genialis/resolwe"}
{"mined_at": "2024-07-15T13:14:07.699322", "created_at": "2020-12-10T14:36:42+01:00", "updated_at": "2021-02-15T10:02:35+01:00", "name": "Build Docker Images", "path": ".github/workflows/docker.yml", "contents": "name: Build Docker Images\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - \"[0-9]+.[0-9]+.[0-9]+*\"\n\nenv:\n  AWS_REGISTRY: public.ecr.aws/genialis\n  AWS_REGION: us-east-1\n  PLATFORMS: linux/amd64,linux/arm64\n\njobs:\n  build:\n    env:\n      TAGS:\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        image: [fedora-40, ubuntu-24.04, communication]\n        include:\n          - image: fedora-40\n            context: resolwe/toolkit/docker_images/base/\n            file: resolwe/toolkit/docker_images/base/Dockerfile.fedora-40\n            repository: resolwe/base\n            suffix: -fedora\n          - image: ubuntu-24.04\n            context: resolwe/toolkit/docker_images/base/\n            file: resolwe/toolkit/docker_images/base/Dockerfile.ubuntu-24.04\n            repository: resolwe/base\n            suffix: \"\"\n          - image: communication\n            context: resolwe/\n            file: resolwe/flow/docker_images/Dockerfile.communication\n            repository: resolwe/com\n            suffix: \"\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Public ECR\n        uses: docker/login-action@v3\n        with:\n          registry: public.ecr.aws\n          username: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n\n      - name: Generate tags\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.AWS_REGISTRY }}/${{ matrix.repository }}\n          flavor: |\n            latest=false\n            suffix=${{ matrix.suffix }}\n\n          tags: |\n            type=raw,value=latest${{ matrix.suffix }}\n            type=pep440,pattern={{version}}\n            type=raw,value=staging,enable=${{ startsWith(github.ref, 'refs/tags') }}\n            type=match,group=1,value=${{ github.ref }}stable,pattern=refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+(stable)$\n\n      - name: Build and push tagged image ${{ matrix.image }}\n        uses: docker/build-push-action@v6\n        if: tojson(steps.meta.outputs.tags) != '[]'\n        with:\n          context: ${{ matrix.context }}\n          file: ${{ matrix.file }}\n          tags: ${{ steps.meta.outputs.tags }}\n          platforms: ${{ env.PLATFORMS }}\n          push: true\n", "state": "active", "repository": "genialis/resolwe"}
{"mined_at": "2024-07-15T13:14:09.838099", "created_at": "2020-12-21T15:46:24+01:00", "updated_at": "2020-12-21T15:46:24+01:00", "name": "Python Package using Conda", "path": ".github/workflows/actions-test.yml", "contents": "name: Python Package using Conda\n\non: [push]\n\njobs:\n  build-linux:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Add conda to system path\n      run: |\n        # $CONDA is an environment variable pointing to the root of the miniconda directory\n        echo $CONDA/bin >> $GITHUB_PATH\n        echo \"Pip is at $(which pip)\"\n        echo $CONDA\n        echo $GITHUB_PATH\n        \n    - name: pip cache\n      uses: actions/cache@v2\n      id: cache\n      with:\n        path: /usr/share/miniconda/lib/python3.8/site-packages/*\n        key: ${{ runner.os }}-condapip-${{ secrets.CACHE_VERSION }}-${{ hashFiles('requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-condapip-\n          ${{ runner.os }}\n            \n    - name: Install conda dependencies\n      if: steps.cache.outputs.cache-hit != 'true'\n      run: |\n        echo \"Cache miss. Installing dependencies\"\n        conda install -yq pip numpy scipy h5py sphinx matplotlib pandas networkx cffi jupyter psutil sqlalchemy ipykernel ipywidgets\n    - name: Install pip dependencies\n      if: steps.cache.outputs.cache-hit != 'true'\n      run: |\n        echo \"Cache miss. Installing dependencies\"\n        echo \"Pip is at $(which pip)\"\n        echo \"Env python location: ${{ env.pythonLocation}}\"\n        pip install recommonmark sphinx-rtd-theme nbsphinx mkdocs markdown commonmark\n        \n    - name: Install BBN dependencies\n      run: |\n        export GIT_LFS_SKIP_SMUDGE=1\n        pip install git+https://github.com/BBN-Q/bbndb.git\n        pip install git+https://github.com/BBN-Q/QGL.git@develop\n        pip install git+https://github.com/spatialaudio/nbsphinx.git@master\n        pip install pyvisa coveralls scikit-learn pyusb future python-usbtmc setproctitle progress serial\n        export GIT_LFS_SKIP_SMUDGE=0\n        \n    - name: Test with unittest\n      run: |\n        pip install -e .\n        python -m unittest discover -v test\n    - name: Build Documentation\n      run: |\n        cd doc\n        make html\n        cd ..\n    - name: Commit documentation changes\n      run: |\n        echo \"Cloning from $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git\"\n        git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git --branch gh-pages --single-branch gh-pages\n        cp -r doc/_build/html/* gh-pages/\n        cp -r doc/_build/html auspex_documentation\n        cd gh-pages\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        git add .\n        git commit -m \"Update documentation\" -a || true\n        # The above command will fail if no changes were present, so we ignore\n        # the return code.\n    - name: Push changes\n      uses: ad-m/github-push-action@master\n      with:\n        branch: gh-pages\n        directory: gh-pages\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n    - name: Auspex Documentation\n      uses: actions/upload-artifact@v2\n      with:\n        path: auspex_documentation\n", "state": "active", "repository": "bbn-q/auspex"}
{"mined_at": "2024-07-15T13:14:11.958911", "created_at": "2019-12-27T18:08:13+01:00", "updated_at": "2019-12-27T18:11:35+01:00", "name": "Documentation build", "path": ".github/workflows/docbuild.yml", "contents": "name: Documentation build\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[all]\n        sudo apt-get install -y xvfb\n    - name: Build docs\n      env:\n        XVFB: 1\n        DISPLAY: :99\n      run: |\n        Xvfb :99 -screen 0 1280x1024x24 &\n        cd docs\n        make html\n    - name: Upload docs\n      uses: actions/upload-artifact@v1\n      with:\n        name: docs\n        path: docs/build/html\n    - name: Publish docs to Github Pages\n      if: startsWith(github.event.ref, 'refs/tags')\n      uses: JamesIves/github-pages-deploy-action@releases/v3\n      with:\n        ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}\n        BRANCH: gh-pages # The branch the action should deploy to.\n        FOLDER: docs/build/html # The folder the action should deploy.\n", "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:13.053219", "created_at": "2019-12-27T18:08:14+01:00", "updated_at": "2019-12-27T18:11:35+01:00", "name": "Test suite", "path": ".github/workflows/test.yml", "contents": "name: Test suite\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        nibabel-pre: [true, false]\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[all]\n    - name: Nibabel pre-release installation\n      if: ${{ matrix.nibabel-pre }}\n      run: |\n        pip install --pre nibabel\n    - name: Check Dependencies\n      run: |\n        pipconflictchecker\n    - name: Lint\n      run: |\n        flake8 --ignore N802,N806,W503 --select W504 `find . -name \\*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/`\n    - name: Test\n      run: |\n        cd && mkdir for_test && cd for_test && pytest --pyargs AFQ --cov-report term-missing --cov=AFQ -m \"not nightly and not nightly_basic and not nightly_custom and not nightly_anisotropic and not nightly_slr and not nightly_pft and not nightly_reco and not nightly_reco80\" --durations=0\n", "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:14.085018", "created_at": "2019-12-30T06:07:34+01:00", "updated_at": "2023-06-20T19:41:03+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI and TestPyPI", "path": ".github/workflows/publish-to-test-pypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n\non: push\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.9\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: __token__\n        password: ${{ secrets.test_pypi_password }}\n        repository_url: https://test.pypi.org/legacy/\n    - name: Publish distribution 📦 to PyPI\n      if: startsWith(github.event.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}", "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:15.172247", "created_at": "2020-08-17T21:31:37+02:00", "updated_at": "2020-08-19T17:29:28+02:00", "name": "Nightly test suite", "path": ".github/workflows/nightly_test.yml", "contents": "name: Nightly test suite\n\non:\n  schedule:\n    - cron: '0 7 * * *'  # every day at midnight, PST\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[dev,fury,afqbrowser,plot]\n    - name: Lint\n      run: |\n        flake8 --ignore N802,N806,W503 --select W504 `find . -name \\*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/`\n    - name: Test\n      run: |\n        cd && mkdir for_test && cd for_test && pytest --pyargs AFQ --cov-report term-missing --cov=AFQ -m \"nightly\" --durations=0\n", "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:16.402478", "created_at": "2021-03-29T17:37:09+02:00", "updated_at": "2021-04-18T05:28:27+02:00", "name": "Build and Push pyAFQ Docker Image", "path": ".github/workflows/docker_pyafq.yml", "contents": "name: Build and Push pyAFQ Docker Image\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v1\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v1\n\n    - name: Checkout repo\n      uses: actions/checkout@v1\n\n    - name: Build pyAFQ docker image\n      run: sh ./pyafq_docker/docker-build.sh \\\n        \"${{github.sha}}\" \"nrdg\"\n\n    - name: Build a tagged image\n      if: startsWith(github.event.ref, 'refs/tags')\n      run: |\n        sh ./pyafq_docker/docker-build.sh \\\n          \"${GITHUB_REF:10}\" \"nrdg\"\n\n    - name: Build pyAFQ GPU docker image\n      run: sh ./gpu_docker/docker-build.sh \\\n        \"${{github.sha}}\" \"nrdg\" \"11.4.3-devel-ubuntu20.04\" \"11\"\n\n    - name: Build a tagged GPU image\n      if: startsWith(github.event.ref, 'refs/tags')\n      run: |\n        sh ./gpu_docker/docker-build.sh \\\n          \"${GITHUB_REF:10}\" \"nrdg\" \"11.4.3-devel-ubuntu20.04\" \"11\"\n\n    - name: Login to GHCR \n      if: github.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/tags')\n      uses: docker/login-action@v1\n      with:\n        registry: ghcr.io\n        username: nrdg\n        password: ${{secrets.CR_PAT_NRDG}}\n\n    - name: Push pyAFQ docker image\n      if: github.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/tags')\n      run: sh ./pyafq_docker/docker-push.sh \"nrdg\"\n\n    - name: Push pyAFQ GPU docker image\n      if: github.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/tags')\n      run: sh ./gpu_docker/docker-push.sh \"nrdg\" \"11\"\n", "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:17.390054", "created_at": "2021-06-11T04:55:47+02:00", "updated_at": "2021-06-11T04:55:47+02:00", "name": "Nightly test suite", "path": ".github/workflows/nightly_anisotropic_test.yml", "contents": "name: Nightly test suite\n\non:\n  schedule:\n    - cron: '0 11 * * *'  # every day at 4 AM, PST\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[dev,fury,afqbrowser,plot]\n    - name: Lint\n      run: |\n        flake8 --ignore N802,N806,W503 --select W504 `find . -name \\*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/`\n    - name: Test\n      run: |\n        cd && mkdir for_test && cd for_test && pytest --pyargs AFQ --cov-report term-missing --cov=AFQ -m \"nightly_anisotropic\" --durations=0\n", "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:18.449683", "created_at": "2021-06-11T04:55:47+02:00", "updated_at": "2021-06-11T04:55:47+02:00", "name": "Nightly test suite", "path": ".github/workflows/nightly_basic_test.yml", "contents": "name: Nightly test suite\n\non:\n  schedule:\n    - cron: '0 10 * * *'  # every day at 3 AM, PST\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[dev,fury,afqbrowser,plot]\n    - name: Lint\n      run: |\n        flake8 --ignore N802,N806,W503 --select W504 `find . -name \\*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/`\n    - name: Test\n      run: |\n        cd && mkdir for_test && cd for_test && pytest --pyargs AFQ --cov-report term-missing --cov=AFQ -m \"nightly_basic\" --durations=0\n", "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:19.451786", "created_at": "2021-06-11T04:55:47+02:00", "updated_at": "2021-06-11T04:55:47+02:00", "name": "Nightly test suite", "path": ".github/workflows/nightly_custom_test.yml", "contents": "name: Nightly test suite\n\non:\n  schedule:\n    - cron: '0 8 * * *'  # every day at 1 AM, PST\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[dev,fury,afqbrowser]\n    - name: Lint\n      run: |\n        flake8 --ignore N802,N806,W503 --select W504 `find . -name \\*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/`\n    - name: Test\n      run: |\n        export TEST_WITH_XVFB=true\n        cd && mkdir for_test && cd for_test && pytest --pyargs AFQ --cov-report term-missing --cov=AFQ -m \"nightly_custom\" --durations=0\n", "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:20.514604", "created_at": "2021-06-11T04:55:47+02:00", "updated_at": "2021-06-11T04:55:47+02:00", "name": "Nightly test suite", "path": ".github/workflows/nightly_pft_test.yml", "contents": "name: Nightly test suite\n\non:\n  schedule:\n    - cron: '0 7 * * *'  # every day at midnight, PST\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[dev,fury,afqbrowser,plot]\n    - name: Lint\n      run: |\n        flake8 --ignore N802,N806,W503 --select W504 `find . -name \\*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/`\n    - name: Test\n      run: |\n        cd && mkdir for_test && cd for_test && pytest --pyargs AFQ --cov-report term-missing --cov=AFQ -m \"nightly_pft\" --durations=0\n", "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:21.596364", "created_at": "2021-06-11T18:27:53+02:00", "updated_at": "2021-06-11T18:27:53+02:00", "name": "Nightly test suite", "path": ".github/workflows/nightly_reco_test.yml", "contents": "name: Nightly test suite\n\non:\n  schedule:\n    - cron: '0 8 * * *'  # every day at 1 AM, PST\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[dev,fury,afqbrowser,plot]\n    - name: Lint\n      run: |\n        flake8 --ignore N802,N806,W503 --select W504 `find . -name \\*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/`\n    - name: Test\n      run: |\n        cd && mkdir for_test && cd for_test && pytest --pyargs AFQ --cov-report term-missing --cov=AFQ -m \"nightly_reco\" --durations=0\n", "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:22.741815", "created_at": "2022-03-15T22:44:50+01:00", "updated_at": "2022-03-15T22:44:50+01:00", "name": "Nightly test suite", "path": ".github/workflows/nightly_reco80_test.yml", "contents": "name: Nightly test suite\n\non:\n  schedule:\n    - cron: '0 11 * * *'  # every day at 4 AM, PST\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[dev,fury,afqbrowser,plot]\n    - name: Lint\n      run: |\n        flake8 --ignore N802,N806,W503 --select W504 `find . -name \\*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /docs/`\n    - name: Test\n      run: |\n        cd && mkdir for_test && cd for_test && pytest --pyargs AFQ --cov-report term-missing --cov=AFQ -m \"nightly_reco80\" --durations=0\n", "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:23.729393", "created_at": "2022-04-13T01:43:46+02:00", "updated_at": "2022-04-13T01:43:46+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:25.078431", "created_at": "2023-06-20T03:54:04+02:00", "updated_at": "2023-06-20T17:51:15+02:00", "name": "Build and Push pyAFQ CUDA12 Image", "path": ".github/workflows/docker_pyafq_cuda12.yml", "contents": "name: Build and Push pyAFQ CUDA12 Image\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v1\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v1\n\n    - name: Checkout repo\n      uses: actions/checkout@v1\n\n    - name: Build pyAFQ GPU docker image\n      run: sh ./gpu_docker/docker-build.sh \\\n        \"${{github.sha}}\" \"nrdg\" \"12.0.1-devel-ubuntu20.04\" \"12\"\n\n    - name: Build a tagged GPU image\n      if: startsWith(github.event.ref, 'refs/tags')\n      run: |\n        sh ./gpu_docker/docker-build.sh \\\n          \"${GITHUB_REF:10}\" \"nrdg\" \"12.0.1-devel-ubuntu20.04\" \"12\"\n\n    - name: Login to GHCR \n      if: github.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/tags')\n      uses: docker/login-action@v1\n      with:\n        registry: ghcr.io\n        username: nrdg\n        password: ${{secrets.CR_PAT_NRDG}}\n\n    - name: Push pyAFQ GPU docker image\n      if: github.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/tags')\n      run: sh ./gpu_docker/docker-push.sh \"nrdg\" \"12\"\n", "state": "active", "repository": "yeatmanlab/pyafq"}
{"mined_at": "2024-07-15T13:14:27.101237", "created_at": "2023-06-14T03:32:52+02:00", "updated_at": "2023-06-14T03:32:52+02:00", "name": "Build & deploy mpf-docs to missionpinball.org", "path": ".github/workflows/deploy.yml", "contents": "name: Build & deploy mpf-docs to missionpinball.org\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: write\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n\n      - name: Generate project showcase pages from .yaml files\n        run: python build_tools/generate_showcase_pages.py\n\n      - name: Build and deploy site\n        run: mkdocs gh-deploy --force\n", "state": "active", "repository": "missionpinball/mpf-docs"}
{"mined_at": "2024-07-15T13:14:28.101457", "created_at": "2023-06-14T03:59:24+02:00", "updated_at": "2023-06-14T03:59:24+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "missionpinball/mpf-docs"}
{"mined_at": "2024-07-15T13:14:30.226646", "created_at": "2021-03-11T11:07:27+01:00", "updated_at": "2021-03-16T09:26:31+01:00", "name": "Publish to PyPI", "path": ".github/workflows/deploy.yml", "contents": "name: Publish to PyPI\n\non:\n  push:\n    tags:\n      - \"v*\"\n  workflow_dispatch:\n\njobs:\n  build-n-publish:\n    name: Build and publish to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n      - name: Get history and tags for SCM versioning to work\n        run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n\n      - name: Check that the current version isn't already on PyPi\n        run: |\n          if [ \"$(./get_pypi_latest_version.sh)\" != \"$(python setup.py --version)\" ]\n          then\n            echo \"Current version is not on PyPI, proceed with bulding\"\n          else\n            echo \"Current version is the latest version uploaded to PyPI\"\n            exit 1\n          fi\n\n      - name: Check long description is OK for PyPI with tox\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox sphinx\n          tox -e pypi\n\n      - name: Build a binary wheel and a source tarball\n        run: |\n          python -m pip install build\n          python -m build --sdist --wheel\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "cs-si/eodag"}
{"mined_at": "2024-07-15T13:14:31.454335", "created_at": "2022-06-15T15:55:57+02:00", "updated_at": "2023-03-31T15:33:31+02:00", "name": "Fetch product types", "path": ".github/workflows/fetch.yml", "contents": "name: Fetch product types\n\non:\n  workflow_dispatch:\n  push:\n    branches: [master, develop]\n  schedule:\n    - cron: \"0 6 * * *\"\n\njobs:\n  fetch-product-types:\n    name: Fetch providers for new product types\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout the repo\n      uses: actions/checkout@v3\n    - name: Get history and tags for SCM versioning to work\n      run: |\n        git fetch --prune --unshallow\n        git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.8\"\n    - name: Update pip\n      run: python -m pip install --upgrade pip\n    - name: Get pip cache dir\n      id: pip-cache\n      shell: bash\n      run: echo \"DIR=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: Get current week number\n      id: get-week\n      shell: bash\n      run: echo \"WEEK=$(date +'%V')\" >> $GITHUB_OUTPUT\n    - name: Pip cache\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache.outputs.DIR }}\n        key: ${{ runner.os }}-pip-${{ steps.get-week.outputs.WEEK }}-${{ hashFiles('setup.cfg') }}\n    - name: Install eodag\n      run: |\n        python -m pip install \".[all-providers]\"\n    - name: Fetch and update external product types reference\n      run: |\n        export JSON_OUTPUT_FILE=\"eodag/resources/ext_product_types.json\"\n        export JSON_REF_FILE=$(python -c \"import eodag; print(eodag.config.EXT_PRODUCT_TYPES_CONF_URI)\")\n        eodag -vvv discover --storage ${JSON_OUTPUT_FILE}\n        # add empty line at end of file\n        sed -i -e '$a\\' ${JSON_OUTPUT_FILE}\n        git config user.name \"github-actions[bot]\"\n        git config user.email \"'github-actions[bot]@users.noreply.github.com\"\n        git add \"${JSON_OUTPUT_FILE}\"\n        git commit -m \"fix: update external product types reference\" || exit 0\n        echo \"Update external product types reference from daily fetch. See [Python API User Guide / Product types discovery](https://eodag.readthedocs.io/en/latest/notebooks/api_user_guide/2_providers_products_available.html#Product-types-discovery)\" >> $GITHUB_STEP_SUMMARY\n        echo '### Changed files' >> $GITHUB_STEP_SUMMARY\n        echo 'May be truncated.' >> $GITHUB_STEP_SUMMARY\n        COMMIT_SHA=$(git rev-parse HEAD)\n        COMMIT_URL=\"${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/commit/${COMMIT_SHA}\"\n        echo \"commit [${COMMIT_SHA}](${COMMIT_URL})\" >> $GITHUB_STEP_SUMMARY\n        echo '```diff' >> $GITHUB_STEP_SUMMARY\n        git show --name-only --format=tformat: >> $GITHUB_STEP_SUMMARY\n        (diff <(curl ${JSON_REF_FILE} | jq --sort-keys) <(cat ${JSON_OUTPUT_FILE} | jq --sort-keys) || true) >> $GITHUB_STEP_SUMMARY\n        echo '```' >> $GITHUB_STEP_SUMMARY\n        # truncated PR body (too long causes error)\n        full_update_summary=$(cat $GITHUB_STEP_SUMMARY)\n        echo 'UPDATE_SUMMARY<<EOF' >> $GITHUB_ENV\n        echo \"${full_update_summary:0:65536}\" >> $GITHUB_ENV\n        echo 'EOF' >> $GITHUB_ENV\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@v6\n      with:\n        branch: external-product-types-ref-update\n        delete-branch: true\n        title: 'fix: update external product types reference'\n        body: ${{ env.UPDATE_SUMMARY }}\n        labels: |\n          automated pr\n", "state": "active", "repository": "cs-si/eodag"}
{"mined_at": "2024-07-15T13:14:32.686424", "created_at": "2021-03-10T22:09:33+01:00", "updated_at": "2021-03-10T22:09:33+01:00", "name": "Run Tests", "path": ".github/workflows/test.yml", "contents": "name: Run Tests\n\non:\n  push:\n    branches: [master, develop]\n  pull_request:\n    branches: [master, develop]\n  schedule:\n    - cron: \"0 7 * * 1\"\n  workflow_dispatch:\n\njobs:\n  lint:\n    name: Linting (pre-commit)\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout the repo\n      uses: actions/checkout@v3\n    - name: Get history and tags for SCM versioning to work\n      run: |\n        git fetch --prune --unshallow\n        git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.8\"\n    - name: Run pre-commit action\n      uses: pre-commit/action@v3.0.0\n\n  tests:\n    name: Test it!\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.8, \"3.12\"]\n        os: [ubuntu-latest, windows-latest]\n    steps:\n    - name: Checkout the repo\n      uses: actions/checkout@v3\n    - name: Get history and tags for SCM versioning to work\n      run: |\n        git fetch --prune --unshallow\n        git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n    - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Update pip\n      run: python -m pip install --upgrade pip\n    - name: Get pip cache dir\n      id: pip-cache\n      shell: bash\n      run: echo \"DIR=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: Get current week number\n      id: get-week\n      shell: bash\n      run: echo \"WEEK=$(date +'%V')\" >> $GITHUB_OUTPUT\n    - name: Pip cache\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache.outputs.DIR }}\n        key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ steps.get-week.outputs.WEEK }}-${{ hashFiles('setup.cfg') }}\n    - name: Install tox and tox-gh-actions\n      run: python -m pip install tox tox-gh-actions\n    - name: Test with tox\n      run: tox\n    - name: Upload Unit Test Results\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        name: unit-test-results-python${{ matrix.python-version }}-${{ matrix.os }}\n        path: |\n          test-reports/junit-report.xml\n          test-reports/coverage.xml\n\n  publish-test-results:\n    name: \"Publish Unit Tests Results\"\n    needs: tests\n    runs-on: ubuntu-latest\n    if: always()\n\n    steps:\n    - name: Download Artifacts\n      uses: actions/download-artifact@v3\n      with:\n        path: artifacts\n\n    - name: Publish Unit Test Results\n      uses: EnricoMi/publish-unit-test-result-action@v2\n      continue-on-error: true\n      with:\n        files: artifacts/*/junit-report.xml\n\n    - name: Produce the coverage report for Ubuntu\n      uses: insightsengineering/coverage-action@v2\n      with:\n        # Path to the Cobertura XML report.\n        path: artifacts/unit-test-results-python3.12-ubuntu-latest/coverage.xml\n        # Minimum total coverage, if you want to the\n        # workflow to enforce it as a standard.\n        # This has no effect if the `fail` arg is set to `false`.\n        threshold: 70\n        # Fail the workflow if the minimum code coverage\n        # reuqirements are not satisfied.\n        fail: false\n        # Publish the rendered output as a PR comment\n        publish: true\n        # Create a coverage diff report.\n        diff: true\n        # Branch to diff against.\n        # Compare the current coverage to the coverage\n        # determined on this branch.\n        diff-branch: develop\n        # This is where the coverage reports for the\n        # `diff-branch` are stored.\n        # Branch is created if it doesn't already exist'.\n        diff-storage: _xml_coverage_reports\n        # A custom title that can be added to the code\n        # coverage summary in the PR comment.\n        coverage-summary-title: \"Code Coverage (Ubuntu)\"\n        # Make the code coverage report togglable\n        togglable-report: true\n\n    - name: Produce the coverage report for Windows\n      uses: insightsengineering/coverage-action@v2\n      with:\n        # Path to the Cobertura XML report.\n        path: artifacts/unit-test-results-python3.12-windows-latest/coverage.xml\n        # Minimum total coverage, if you want to the\n        # workflow to enforce it as a standard.\n        # This has no effect if the `fail` arg is set to `false`.\n        threshold: 70\n        # Fail the workflow if the minimum code coverage\n        # reuqirements are not satisfied.\n        fail: false\n        # Publish the rendered output as a PR comment\n        publish: true\n        # Create a coverage diff report.\n        diff: true\n        # Branch to diff against.\n        # Compare the current coverage to the coverage\n        # determined on this branch.\n        diff-branch: develop\n        # This is where the coverage reports for the\n        # `diff-branch` are stored.\n        # Branch is created if it doesn't already exist'.\n        diff-storage: _xml_coverage_reports_win\n        # A custom title that can be added to the code\n        # coverage summary in the PR comment.\n        coverage-summary-title: \"Code Coverage (Windows)\"\n        # Make the code coverage report togglable\n        togglable-report: true\n\n  build-docs:\n    name: Build the docs\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout the repo\n      uses: actions/checkout@v3\n    - name: Get history and tags for SCM versioning to work\n      run: |\n        git fetch --prune --unshallow\n        git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.8\"\n    - name: Update pip\n      run: python -m pip install --upgrade pip\n    - name: Get pip cache dir\n      id: pip-cache\n      shell: bash\n      run: echo \"DIR=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: Get current week number\n      id: get-week\n      shell: bash\n      run: echo \"WEEK=$(date +'%V')\" >> $GITHUB_OUTPUT\n    - name: Pip cache\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache.outputs.DIR }}\n        key: ${{ runner.os }}-pip-${{ steps.get-week.outputs.WEEK }}-${{ hashFiles('setup.cfg') }}\n    - name: Install pandoc\n      run: |\n        curl -s https://api.github.com/repos/jgm/pandoc/releases/latest | grep -o \"https.*amd64.deb\" | wget -O pandoc.deb -qi -\n        sudo dpkg -i pandoc.deb && rm pandoc.deb\n    - name: Install tox\n      run: |\n        python -m pip install tox\n    - name: Testing with tox\n      run: python -m tox -e docs\n\n  check-pypi:\n    name: Long description check for PyPI\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout the repo\n      uses: actions/checkout@v3\n    - name: Get history and tags for SCM versioning to work\n      run: |\n        git fetch --prune --unshallow\n        git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.8\"\n    - name: Update pip\n      run: python -m pip install --upgrade pip\n    - name: Get pip cache dir\n      id: pip-cache\n      shell: bash\n      run: echo \"DIR=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: Get current week number\n      id: get-week\n      shell: bash\n      run: echo \"WEEK=$(date +'%V')\" >> $GITHUB_OUTPUT\n    - name: Pip cache\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache.outputs.DIR }}\n        key: ${{ runner.os }}-pip-${{ steps.get-week.outputs.WEEK }}-${{ hashFiles('setup.cfg') }}\n    - name: Install tox and sphinx (to have rst2html.py utility available)\n      run: |\n        python -m pip install tox sphinx\n    - name: Testing with tox\n      run: python -m tox -e pypi\n", "state": "active", "repository": "cs-si/eodag"}
{"mined_at": "2024-07-15T13:14:33.701641", "created_at": "2022-08-03T11:04:57+02:00", "updated_at": "2022-08-03T11:04:57+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "cs-si/eodag"}
{"mined_at": "2024-07-15T13:14:35.810909", "created_at": "2020-03-21T23:06:31+01:00", "updated_at": "2022-05-03T06:07:07+02:00", "name": "lint_python", "path": ".github/workflows/lint_python.yml", "contents": "name: lint_python\non: [pull_request, push]\njobs:\n  lint_python:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n      - run: pip install --upgrade pip wheel\n      - run: pip install bandit black codespell flake8 flake8-2020 flake8-bugbear\n                         flake8-comprehensions isort mypy pytest pyupgrade safety\n      - run: bandit --recursive --skip B101 . || true  # B101 is assert statements\n      - run: black --check . || true\n      - run: codespell || true  # --ignore-words-list=\"\" --skip=\"*.css,*.js,*.lock\"\n      - run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n      - run: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88\n                      --show-source --statistics\n      - run: isort --check-only --profile black . || true\n      - run: pip install -r requirements.txt || pip install --editable . || true\n      - run: mkdir --parents --verbose .mypy_cache\n      - run: mypy --ignore-missing-imports --install-types --non-interactive . || true\n      - run: pytest . || pytest --doctest-modules .\n      - run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true\n      - run: safety check\n", "state": "active", "repository": "geekcomputers/python"}
{"mined_at": "2024-07-15T13:14:37.789842", "created_at": "2020-11-30T02:54:18+01:00", "updated_at": "2021-05-09T17:10:47+02:00", "name": "Build and push README to master", "path": ".github/workflows/build-readme.yml", "contents": "name: Build and push README to master\n\non:\n  push:\n    branches: master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Create local changes\n      run: |\n        python -m pip install --upgrade pip\n        pip install pipenv\n        pipenv install\n        pipenv run python add-metadata.py < template.md > README.md\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    - uses: stefanzweifel/git-auto-commit-action@v4\n", "state": "active", "repository": "lauris/awesome-scala"}
{"mined_at": "2024-07-15T13:14:39.902071", "created_at": "2024-06-28T15:46:24+02:00", "updated_at": "2024-06-28T15:47:19+02:00", "name": "📦 Build", "path": ".github/workflows/build.yaml", "contents": null, "state": "active", "repository": "graphql-python/graphene"}
{"mined_at": "2024-07-15T13:14:40.950561", "created_at": "2021-07-16T22:09:35+02:00", "updated_at": "2024-06-13T16:43:39+02:00", "name": ".github/workflows/deploy.yml", "path": ".github/workflows/deploy.yml", "contents": "name: 🚀 Deploy to PyPI\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Build wheel and source tarball\n      run: |\n        pip install wheel\n        python setup.py sdist bdist_wheel\n    - name: Publish a Python distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@v1.1.0\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "graphql-python/graphene"}
{"mined_at": "2024-07-15T13:14:42.001381", "created_at": "2021-07-14T17:51:59+02:00", "updated_at": "2024-06-13T16:51:32+02:00", "name": "💅 Lint", "path": ".github/workflows/lint.yml", "contents": "name: 💅 Lint\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: Run lint\n      run: tox\n      env:\n        TOXENV: pre-commit\n    - name: Run mypy\n      run: tox\n      env:\n        TOXENV: mypy\n", "state": "active", "repository": "graphql-python/graphene"}
{"mined_at": "2024-07-15T13:14:43.096245", "created_at": "2021-08-19T08:33:38+02:00", "updated_at": "2021-08-21T02:40:52+02:00", "name": ".github/workflows/stale.yml", "path": ".github/workflows/stale.yml", "contents": null, "state": "active", "repository": "graphql-python/graphene"}
{"mined_at": "2024-07-15T13:14:44.126077", "created_at": "2021-07-14T17:51:59+02:00", "updated_at": "2024-06-13T16:52:09+02:00", "name": "📄 Tests", "path": ".github/workflows/tests.yml", "contents": "name: 📄 Tests\non:\n  push:\n    branches:\n      - master\n      - '*.x'\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\n  pull_request:\n    branches:\n      - master\n      - '*.x'\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\njobs:\n  tests:\n    # runs the test suite\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {name: '3.12', python: '3.12', os: ubuntu-latest, tox: py312}\n          - {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311}\n          - {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}\n          - {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}\n          - {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: update pip\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade setuptools wheel\n\n      - name: get pip cache dir\n        id: pip-cache\n        run: echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: cache pip dependencies\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }}\n      - run: pip install tox\n      - run: tox -e ${{ matrix.tox }}\n      - name: Upload coverage.xml\n        if: ${{ matrix.python == '3.10' }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: graphene-coverage\n          path: coverage.xml\n          if-no-files-found: error\n      - name: Upload coverage.xml to codecov\n        if: ${{ matrix.python == '3.10' }}\n        uses: codecov/codecov-action@v3\n", "state": "active", "repository": "graphql-python/graphene"}
{"mined_at": "2024-07-15T13:14:46.200505", "created_at": "2022-09-04T18:24:27+02:00", "updated_at": "2022-12-20T09:38:22+01:00", "name": "Docker build", "path": ".github/workflows/docker.yml", "contents": "name: Docker build\non:\n  pull_request:\n    paths:\n      - '**'\n      - '!mkdocs.yml'\n      - '!docs/**'\n      - '!*.md'\n\njobs:\n  docker:\n    strategy:\n      fail-fast: false\n      matrix:\n        images: [ubuntu20.04, ubuntu22.04, debian11, archlinux]\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Cache for docker images\n      uses: jpribyl/action-docker-layer-caching@v0.1.1\n      # Ignore the failure of a step and avoid terminating the job.\n      continue-on-error: true\n      with:\n        path: ~/.cache/images\n        key: ${{ matrix.images }}-cache-images-{hash}\n\n    - name: Docker Build ${{ matrix.images }}\n      run: docker-compose build ${{ matrix.images }}\n\n    - name: Test on ${{ matrix.images }}\n      run: docker-compose run ${{ matrix.images }} ./tests.sh\n", "state": "active", "repository": "pwndbg/pwndbg"}
{"mined_at": "2024-07-15T13:14:47.429471", "created_at": "2024-01-01T16:57:17+01:00", "updated_at": "2024-01-02T17:28:16+01:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\non: [push, pull_request, workflow_dispatch]\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: Build docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n\n      - name: Install poetry\n        run: curl -sSL https://install.python-poetry.org | python3 -\n\n      - name: Install dependencies\n        run: poetry install --with docs\n\n      - name: Build site\n        run: |\n          source .venv/bin/activate\n          mkdocs build\n\n  deploy:\n    if: github.event_name == 'push' && contains(fromJson('[\"refs/heads/dev\"]'), github.ref)\n    needs: build\n    name: Deploy docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n\n      - name: Install poetry\n        run: curl -sSL https://install.python-poetry.org | python3 -\n\n      - name: Install dependencies\n        run: poetry install --with docs\n\n      - name: Deploy site\n        run: |\n          source .venv/bin/activate\n          mkdocs gh-deploy --force\n", "state": "active", "repository": "pwndbg/pwndbg"}
{"mined_at": "2024-07-15T13:14:48.551770", "created_at": "2020-08-15T20:51:55+02:00", "updated_at": "2022-12-20T09:38:22+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\non:\n  pull_request:\n    paths:\n      - '**'\n      - '!mkdocs.yml'\n      - '!docs/**'\n      - '!*.md'\n\njobs:\n  lint:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-22.04]\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 10\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cache for pip\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ matrix.os }}-cache-pip\n\n    - name: Install dependencies\n      run: |\n        ./setup.sh\n        ./setup-dev.sh\n\n    - name: Run linters\n      run: |\n        git diff-index --quiet HEAD -- pwndbg tests\n        ./lint.sh\n\n    - name: Run mypy\n      uses: tsuyoshicho/action-mypy@v4\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        # Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].\n        reporter: github-pr-check\n        # Change reporter level if you need.\n        # GitHub Status Check won't become failure with warning.\n        level: error\n        # Change the current directory to run mypy command.\n        # mypy command reads setup.cfg or other settings file in this path.\n        execute_command: poetry run mypy\n        install_types: false\n        target: pwndbg\n        filter_mode: nofilter\n        fail_on_error: true\n\n", "state": "active", "repository": "pwndbg/pwndbg"}
{"mined_at": "2024-07-15T13:14:49.784159", "created_at": "2023-11-02T03:24:12+01:00", "updated_at": "2023-11-02T03:26:38+01:00", "name": "Check lock files", "path": ".github/workflows/lock.yml", "contents": "name: Check lock files\non:\n  push:\n    branches:\n      - dev\n    paths:\n      - '**'\n      - '!mkdocs.yml'\n      - '!docs/**'\n      - '!*.md'\n  pull_request:\n    paths:\n      - '**'\n      - '!mkdocs.yml'\n      - '!docs/**'\n      - '!*.md'\n\njobs:\n  check_release_build-x86_64:\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    steps:\n    - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9  # @v3\n    - uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac  # @v22\n      with:\n        nix_path: nixpkgs=channel:nixos-unstable\n\n    - name: build pwndbg\n      run: nix build '.#pwndbg' -o result-pwndbg\n\n  lock_flake:\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    steps:\n    - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9  # @v3\n    - uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac  # @v22\n      with:\n        nix_path: nixpkgs=channel:nixos-unstable\n\n    - name: check flake.lock\n      run: nix flake lock --no-update-lock-file\n\n  lock_poetry:\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    steps:\n    - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9  # @v3\n    - uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac  # @v22\n      with:\n        nix_path: nixpkgs=channel:nixos-unstable\n\n    - name: install poetry\n      run: nix profile install nixpkgs#poetry\n\n    - name: check poetry.lock\n      run: poetry check --lock\n\n", "state": "active", "repository": "pwndbg/pwndbg"}
{"mined_at": "2024-07-15T13:14:50.900846", "created_at": "2024-05-13T15:42:31+02:00", "updated_at": "2024-05-13T15:42:31+02:00", "name": "Pending Author Response Label", "path": ".github/workflows/pending-author-response.yml", "contents": "name: Pending Author Response Label\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  issue_commented:\n    if: ${{ !github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'pending-response') }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: siegerts/pending-author-response@v1\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          pending-response-label: pending-response\n", "state": "active", "repository": "pwndbg/pwndbg"}
{"mined_at": "2024-07-15T13:14:52.140932", "created_at": "2023-08-06T16:16:55+02:00", "updated_at": "2023-08-06T16:16:55+02:00", "name": "Releases", "path": ".github/workflows/releases.yml", "contents": "name: Releases\n\non:\n  push:\n    branches:\n      - dev\n    paths:\n      - '**'\n      - '!mkdocs.yml'\n      - '!docs/**'\n    tags:\n      - '*'\n\njobs:\n  releases-x86_64:\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    steps:\n    - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9  # @v3\n    - uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac  # @v22\n      with:\n        nix_path: nixpkgs=channel:nixos-unstable\n\n    - name: build pwndbg\n      run: nix build '.#pwndbg' -o result-pwndbg\n\n    - name: build rpm\n      run: nix build '.#rpm' -o dist-rpm\n    - name: build deb\n      run: nix build '.#deb' -o dist-deb\n    - name: build apk\n      run: nix build '.#apk' -o dist-apk\n    - name: build archlinux\n      run: nix build '.#archlinux' -o dist-archlinux\n    - name: build tarball\n      run: nix build '.#tarball' -o dist-tarball\n\n    - name: release\n      uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # @v1\n      with:\n        files: |\n          ./dist-rpm/*\n          ./dist-deb/*\n          ./dist-apk/*\n          ./dist-archlinux/*\n          ./dist-tarball/*\n        draft: true\n        token: ${{ secrets.TOKEN }}\n  releases-arm64:\n    runs-on: ARM64\n    timeout-minutes: 60\n    steps:\n    - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9  # @v3\n    - uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac  # @v22\n      with:\n        nix_path: nixpkgs=channel:nixos-unstable\n\n    - name: build pwndbg\n      run: nix build '.#pwndbg' -o result-pwndbg\n\n    - name: build rpm\n      run: nix build '.#rpm' -o dist-rpm\n    - name: build deb\n      run: nix build '.#deb' -o dist-deb\n    - name: build apk\n      run: nix build '.#apk' -o dist-apk\n    - name: build archlinux\n      run: nix build '.#archlinux' -o dist-archlinux\n    - name: build tarball\n      run: nix build '.#tarball' -o dist-tarball\n\n    - name: release\n      uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # @v1\n      with:\n        files: |\n          ./dist-rpm/*\n          ./dist-deb/*\n          ./dist-apk/*\n          ./dist-archlinux/*\n          ./dist-tarball/*\n        draft: true\n        token: ${{ secrets.TOKEN }}\n", "state": "active", "repository": "pwndbg/pwndbg"}
{"mined_at": "2024-07-15T13:14:53.295412", "created_at": "2020-08-15T20:51:55+02:00", "updated_at": "2021-10-02T12:31:47+02:00", "name": "Unit tests", "path": ".github/workflows/tests.yml", "contents": "name: Unit tests\non:\n  push:\n    branches:\n      - dev\n    paths:\n      - '**'\n      - '!mkdocs.yml'\n      - '!docs/**'\n      - '!*.md'\n  pull_request:\n    paths:\n      - '**'\n      - '!mkdocs.yml'\n      - '!docs/**'\n      - '!*.md'\njobs:\n  tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 20\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cache for pip\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ matrix.os }}-cache-pip\n\n    - name: Install dependencies\n      run: |\n        ./setup.sh\n        ./setup-dev.sh\n\n    - name: Python version info\n      run: |\n        echo 'GDB py:'\n        gdb --batch --quiet --nx --nh --ex 'py import sys; print(sys.version)'\n        echo 'Installed py:'\n        ./.venv/bin/python -V\n        echo 'Installed packages:'\n        ./.venv/bin/python -m pip freeze\n\n    # We set `kernel.yama.ptrace_scope=0` for `attachp` command tests\n    - name: Run tests\n      run: |\n        source .venv/bin/activate\n        mkdir .cov\n        sudo sysctl -w kernel.yama.ptrace_scope=0\n        ./tests.sh --cov\n\n    - name: Process coverage data\n      if: matrix.os == 'ubuntu-22.04'\n      run: |\n        ./.venv/bin/coverage combine\n        ./.venv/bin/coverage xml\n\n    - name: \"Upload coverage to Codecov\"\n      if: matrix.os == 'ubuntu-22.04'\n      uses: codecov/codecov-action@v3\n\n  qemu-tests:\n    runs-on: [ubuntu-22.04]\n    timeout-minutes: 30\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Cache for pip\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ matrix.os }}-cache-pip\n\n    - name: Install dependencies\n      run: |\n        ./setup.sh\n        ./setup-dev.sh\n        mkdir .cov\n\n    - name: Set up cache for QEMU images\n      id: qemu-cache\n      uses: actions/cache@v3\n      with:\n        path: ./tests/qemu-tests/images\n        key: ${{ matrix.os }}-cache-qemu-images\n\n    - name: Download images\n      run: |\n        ./tests/qemu-tests/download_images.sh\n\n    # We set `kernel.yama.ptrace_scope=0` for `gdb-pt-dump`\n    - name: Run tests\n      working-directory: ./tests/qemu-tests\n      run: |\n        sudo sysctl -w kernel.yama.ptrace_scope=0\n        ./tests.sh --cov\n\n    - name: Run qemu-user tests\n      working-directory: ./tests/qemu-tests\n      run: |\n        ./test_qemu.sh\n\n    - name: Process coverage data\n      run: |\n        ./.venv/bin/coverage combine\n        ./.venv/bin/coverage xml\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n", "state": "active", "repository": "pwndbg/pwndbg"}
{"mined_at": "2024-07-15T13:14:54.285969", "created_at": "2024-01-02T17:28:51+01:00", "updated_at": "2024-01-02T17:28:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pwndbg/pwndbg"}
{"mined_at": "2024-07-15T13:14:56.290638", "created_at": "2023-08-08T14:51:27+02:00", "updated_at": "2023-12-15T22:07:35+01:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "name: Documentation\n\non:\n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  parse_commit_info:\n    runs-on: ubuntu-latest\n    outputs:\n      can_deploy: ${{ steps.decide.outputs.can_deploy }}\n      deploy_to: ${{ steps.decide.outputs.deploy_to }}\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Copy build utils\n        run: |\n          cp -r .github/utils ../utils\n\n      - name: Decide Whether to Build and/or Release\n        id: decide\n        run: |\n          set -xe\n          CAN_DEPLOY=$(python ../utils/please.py can_i_deploy_documentation)\n          DEPLOY_TO=$(python ../utils/please.py where_can_i_deploy_documentation)\n          # The message string is directly substituted in before the command is run.\n          # We use a HereDoc to avoid quotation issues if the message has quotes as well.\n          TITLE=$(cat <<EOF | head -n 1\n          ${{ github.event.head_commit.message }}\n          EOF\n          )\n\n          echo \"can_deploy=$CAN_DEPLOY\" >> $GITHUB_OUTPUT\n          echo \"deploy_to=$DEPLOY_TO\" >> $GITHUB_OUTPUT\n          echo \"commit_title='$TITLE'\" >> $GITHUB_OUTPUT\n          echo github.ref ${{ github.ref }}\n\n  build-documentation:\n    runs-on: ubuntu-latest\n    needs: parse_commit_info\n\n    strategy:\n      matrix:\n        python-version: [3.12]\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Quarto\n        uses: quarto-dev/quarto-actions/setup@v2\n        with:\n          version: pre-release\n\n      - name: Install Package\n        shell: bash\n        run: |\n          make doc-deps\n\n      - name: Environment Information\n        shell: bash\n        run: |\n          ls -la\n          ls -la doc\n          pip list\n\n      - name: Get Commit Title\n        run: |\n\n      - name: Build docs\n        shell: bash\n        run: |\n          pushd doc; make doc; popd\n\n      - name: Environment Information\n        shell: bash\n        run: |\n          ls -la doc\n          cat doc/_variables.yml\n          ls -la doc/reference\n\n      - name: Deploy to Documentation to a Branch\n        uses: JamesIves/github-pages-deploy-action@v4\n        if: contains(needs.parse_commit_info.outputs.can_deploy, 'true')\n        with:\n          folder: doc/_site\n          branch: ${{ needs.parse_commit_info.outputs.deploy_to }}\n          commit-message: ${{ needs.parse_commit_info.outputs.commit_title }}\n", "state": "active", "repository": "has2k1/plotnine"}
{"mined_at": "2024-07-15T13:14:57.361477", "created_at": "2024-02-17T20:44:09+01:00", "updated_at": "2024-05-09T22:20:21+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n      - 'v[0-9]*'\n\njobs:\n  run-tests:\n    name: Run all tests\n    uses: ./.github/workflows/testing.yml\n    with:\n      skip_codecov: true\n\n  check-semver-tag:\n    name: Check if the tag is in semantic version format\n    needs: [run-tests]\n    runs-on: ubuntu-latest\n    outputs:\n      tag_type: ${{ steps.check-tag.outputs.tag_type }}\n      publish_on: ${{ steps.check-tag.outputs.publish_on }}\n\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        with:\n          python-version: ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n\n      - name: Check for semantic version tag\n        id: check-tag\n        run: python tools/gha_check_semver.py\n\n      - name: See outputs\n        shell: bash\n        run: |\n          echo \"tag_type=\"${{ steps.check-tag.outputs.tag_type }}\n          echo \"publish_on=\"${{ steps.check-tag.outputs.publish_on }}\n\n  # Ref: https://github.com/pypa/gh-action-pypi-publish\n  publish:\n    name: Build and publish Python 🐍 distributions 📦 to TestPyPI or PyPI\n    needs: [check-semver-tag]\n    runs-on: ubuntu-latest\n\n    if: ${{ needs.check-semver-tag.outputs.publish_on != '' }}\n\n    environment:\n      name: release\n      url: https://github.com/has2k1/plotnine\n\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Packages\n        run: python -m pip install build\n\n      - name: Build a wheel and a source tarball\n        run: make dist\n\n      - name: Publish distribution 📦 to Test PyPI\n        if: ${{ needs.check-semver-tag.outputs.publish_on == 'testpypi' }}\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n\n      - name: Publish distribution 📦 to PyPI\n        if: ${{ needs.check-semver-tag.outputs.publish_on == 'pypi' }}\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          skip-existing: true\n\n      - name: Build Website (Dev)\n        if: ${{ needs.check-semver-tag.outputs.publish_on == 'testpypi' }}\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.PAT_PLOTNINE_WEBSITE }}\n          repository: has2k1/plotnine.org\n          event-type: plotnine-pre-release\n\n      - name: Build Website\n        if: ${{ needs.check-semver-tag.outputs.publish_on == 'pypi' }}\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.PAT_PLOTNINE_WEBSITE }}\n          repository: has2k1/plotnine.org\n          event-type: plotnine-release\n", "state": "active", "repository": "has2k1/plotnine"}
{"mined_at": "2024-07-15T13:14:58.478525", "created_at": "2020-11-13T20:01:07+01:00", "updated_at": "2020-12-01T12:17:27+01:00", "name": "build", "path": ".github/workflows/testing.yml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - '*'\n    tags-ignore:\n      - 'v[0-9]*'\n  pull_request:\n  workflow_call:\n    inputs:\n      skip_codecov:\n        type: boolean\n        required: false\n        default: false\njobs:\n  unittests:\n    runs-on: ubuntu-latest\n\n    # We want to run on external PRs, but not on our own internal PRs as they'll be run\n    # by the push to the branch.\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n\n    strategy:\n      matrix:\n        python-version: [\"3.10\", 3.12]\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Packages\n        shell: bash\n        run: |\n          # Install as an editable so that the coverage path\n          # is predicable\n          pip install -e \".[extra,test]\"\n\n      - name: Environment Information\n        shell: bash\n        run: |\n          pip list\n\n      - name: Run Tests\n        shell: bash\n        run: |\n          coverage erase\n          make test\n\n      - name: List Directory\n        shell: bash\n        run: |\n          ls -la\n\n      - uses: actions/upload-artifact@v3\n        if: failure()\n        with:\n          name: result-images\n          path: tests/result_images/\n          if-no-files-found: ignore\n\n      # To change secrets\n      # https://app.codecov.io/github/has2k1/plotnine/settings\n      # https://github.com/has2k1/plotnine/settings/secrets/actions\n      - name: Upload coverage to Codecov\n        if: ${{ !inputs.skip_codecov }}\n        uses: codecov/codecov-action@v4\n        with:\n          name: \"py${{ matrix.python-version }}\"\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n\n  lint-and-format:\n    runs-on: ubuntu-latest\n\n    # We want to run on external PRs, but not on our own internal PRs as they'll be run\n    # by the push to the branch.\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n\n    strategy:\n      matrix:\n        python-version: [3.12]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Packages\n        shell: bash\n        run: |\n          pip install ruff\n\n      - name: Environment Information\n        shell: bash\n        run: pip list\n\n      - name: Check lint with Ruff\n        shell: bash\n        run: |\n          make lint\n\n      - name: Check format with Ruff\n        shell: bash\n        run: |\n          make format\n\n  typecheck:\n    runs-on: ubuntu-latest\n\n    # We want to run on external PRs, but not on our own internal PRs as they'll be run\n    # by the push to the branch.\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n\n    strategy:\n      matrix:\n        python-version: [3.12]\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Packages\n        shell: bash\n        run: |\n          pip install \".[extra, typing]\"\n\n      - name: Environment Information\n        shell: bash\n        run: pip list\n\n      - name: Run Tests\n        shell: bash\n        run: make typecheck\n\n  call-build-documentation:\n    if: |\n      github.event_name == 'push' ||\n      github.event.pull_request.head.repo.full_name != github.repository\n    uses: ./.github/workflows/documentation.yml\n\n  build-website:\n    # Requires all the previous jobs to pass\n    needs: [unittests, lint-and-format, typecheck, call-build-documentation]\n    if: |\n      github.event_name == 'push' &&\n      github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Build Website (Dev)\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.PAT_PLOTNINE_WEBSITE }}\n          repository: has2k1/plotnine.org\n          event-type: push-plotnine-main\n", "state": "active", "repository": "has2k1/plotnine"}
{"mined_at": "2024-07-15T13:14:59.607491", "created_at": "2022-10-20T11:04:12+02:00", "updated_at": "2022-10-28T22:39:26+02:00", "name": "Weekly tests", "path": ".github/workflows/weekly.yml", "contents": "name: Weekly tests\n\non:\n  push:\n    branches: ['weekly-tests']\n  schedule:\n    # At 00:00 on Monday\n    - cron: \"40 06 * * WED\"\n\njobs:\n  plotnine_latest_matplotlib_latest:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [3.12]\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Packages\n        shell: bash\n        run: |\n          pip install --upgrade pip\n          pip install \".[extra,test]\"\n          pip install --upgrade git+https://github.com/matplotlib/matplotlib\n\n      - name: Environment Information\n        shell: bash\n        run: |\n          pip list\n\n      - name: Run Tests\n        shell: bash\n        run: |\n          make test\n\n      - uses: actions/upload-artifact@v3\n        if: failure()\n        with:\n          name: result-images\n          path: result_images/\n          if-no-files-found: ignore\n\n  plotnine_latest_pandas_latest:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [3.12]\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Packages\n        shell: bash\n        run: |\n          pip install --upgrade pip\n          pip install \".[extra,test]\"\n          pip install --upgrade git+https://github.com/pandas-dev/pandas\n\n      - name: Environment Information\n        shell: bash\n        run: |\n          pip list\n\n      # to do: think about catching deprecations earlier\n      - name: Run Tests\n        shell: bash\n        run: |\n          make test\n\n      - uses: actions/upload-artifact@v3\n        if: failure()\n        with:\n          name: result-images\n          path: result_images/\n          if-no-files-found: ignore\n\n  plotnine_pypi_matplotlib_latest:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n      - name: Get latest release with tag from GitHub API\n        id: latestrelease\n        shell: bash\n        run: |\n          echo \"::set-output name=releasetag::$(curl -s https://api.github.com/repos/has2k1/plotnine/releases/latest | jq '.tag_name' | sed 's/\\\"//g')\"\n\n      - name: Confirm Release Tag\n        shell: bash\n        run: |\n          echo ${{ steps.latestrelease.outputs.latestrelease }}\n\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ steps.latestrelease.outputs.latestrelease }}\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Packages\n        shell: bash\n        run: |\n          pip install --upgrade pip\n          pip install --upgrade git+https://github.com/matplotlib/matplotlib\n          pip install \".[extra,test]\"\n\n      - name: Environment Information\n        shell: bash\n        run: |\n          pip list\n\n      - name: Run Tests\n        shell: bash\n        run: |\n          make test\n\n      - uses: actions/upload-artifact@v3\n        if: failure()\n        with:\n          name: result-images\n          path: result_images/\n          if-no-files-found: ignore\n\n  plotnine_pypi_pandas_latest:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n      - name: Get latest release with tag from GitHub API\n        id: latestrelease\n        shell: bash\n        run: |\n          echo \"::set-output name=releasetag::$(curl -s https://api.github.com/repos/has2k1/plotnine/releases/latest | jq '.tag_name' | sed 's/\\\"//g')\"\n\n      - name: Confirm Release Tag\n        shell: bash\n        run: |\n          echo ${{ steps.latestrelease.outputs.latestrelease }}\n\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ steps.latestrelease.outputs.latestrelease }}\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Packages\n        shell: bash\n        run: |\n          pip install --upgrade pip\n          pip install --upgrade git+https://github.com/pandas-dev/pandas\n          pip install \".[extra,test]\"\n\n      - name: Environment Information\n        shell: bash\n        run: |\n          pip list\n\n      # to do: think about catching deprecations earlier\n      - name: Run Tests\n        shell: bash\n        run: |\n          make test\n\n      - uses: actions/upload-artifact@v3\n        if: failure()\n        with:\n          name: result-images\n          path: tests/result_images/\n          if-no-files-found: ignore\n\n  typecheck_plotnine_latest_matplotlib_latest:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [3.11]\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Packages\n        shell: bash\n        run: |\n          pip install --upgrade pip\n          pip install \".[extra,typing]\"\n          pip install --upgrade git+https://github.com/matplotlib/matplotlib\n\n      - name: Environment Information\n        shell: bash\n        run: |\n          pip list\n\n      - name: Run Tests\n        shell: bash\n        run: |\n          make typecheck\n\n  typecheck_plotnine_latest_pandas_latest:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [3.11]\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Packages\n        shell: bash\n        run: |\n          pip install --upgrade pip\n          pip install \".[extra,typing]\"\n          pip install --upgrade git+https://github.com/pandas-dev/pandas\n\n      - name: Environment Information\n        shell: bash\n        run: |\n          pip list\n\n      # to do: think about catching deprecations earlier\n      - name: Run Tests\n        shell: bash\n        run: |\n          make test\n\n      - uses: actions/upload-artifact@v3\n        if: failure()\n        with:\n          name: result-images\n          path: result_images/\n          if-no-files-found: ignore\n", "state": "active", "repository": "has2k1/plotnine"}
{"mined_at": "2024-07-15T13:15:00.593556", "created_at": "2023-08-08T15:32:30+02:00", "updated_at": "2023-08-08T15:32:30+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "has2k1/plotnine"}
{"mined_at": "2024-07-15T13:15:02.788547", "created_at": "2022-01-04T23:55:56+01:00", "updated_at": "2022-01-04T23:55:56+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tensortrade-org/tensortrade"}
{"mined_at": "2024-07-15T13:15:04.838410", "created_at": "2021-09-07T17:05:28+02:00", "updated_at": "2021-09-07T17:05:28+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches:\n      - '**'\n\n\njobs:\n  run_unittest_tests:\n    name: Unittest\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n        python-version:\n            - \"3.7\"\n            - \"3.8\"\n            - \"3.9\"\n            - \"3.10\"\n            - \"3.11\"\n            - \"3.12\"\n        django-version:\n            - \"3.2\"\n            - \"4.1\"\n            - \"4.2\"\n            - \"5.0\"\n            - \"main\"\n        exclude:\n            - python-version: \"3.7\"\n              django-version: \"4.1\"\n            - python-version: \"3.12\"\n              django-version: \"4.1\"\n            - python-version: \"3.7\"\n              django-version: \"4.2\"\n            - python-version: \"3.12\"\n              django-version: \"4.2\"\n            - python-version: \"3.7\"\n              django-version: \"5.0\"\n            - python-version: \"3.8\"\n              django-version: \"5.0\"\n            - python-version: \"3.9\"\n              django-version: \"5.0\"\n            - python-version: \"3.7\"\n              django-version: \"main\"\n            - python-version: \"3.8\"\n              django-version: \"main\"\n            - python-version: \"3.9\"\n              django-version: \"main\"\n            - python-version: \"3.11\"\n              django-version: \"3.2\"\n            - python-version: \"3.12\"\n              django-version: \"3.2\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Dependencies\n        run: |\n          pip install --upgrade setuptools\n          pip install tox\n\n      - name: Run unittest Python ${{ matrix.python-version }} -- Django ${{ matrix.django-version }}\n        env:\n          TOXENV: py${{ matrix.python-version }}-django${{ matrix.django-version }}\n        run: tox\n\n  run_quality_tests:\n    name: Quality tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n        python-version: [\"3.7\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Dependencies\n        run: |\n          pip install tox\n\n      - name: Quality tests\n        env:\n          TOXENV: ruff\n        run: |\n          tox\n", "state": "active", "repository": "jschneier/django-storages"}
{"mined_at": "2024-07-15T13:15:08.011085", "created_at": "2021-07-13T23:47:23+02:00", "updated_at": "2021-07-13T23:47:23+02:00", "name": "OWTF CI", "path": ".github/workflows/main.yml", "contents": "name: OWTF CI\n\non:\n  push:\n    branches:\n      - develop\n  pull_request:\n    branches:\n      - develop\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.9]\n        node-version: [15.0]\n    services:\n      db:\n        image: postgres\n        env:\n          POSTGRES_USER: owtf_db_user\n          POSTGRES_PASSWORD: ${{ secrets.OWTF_DB_PASSWORD }}\n          POSTGRES_DB: owtf_db\n          POSTGRES_HOST_AUTH_METHOD: trust\n        ports:\n          - 5432:5432\n        options: >-\n          --name=postgres\n          --health-cmd pg_isready \n          --health-interval 10s \n          --health-timeout 5s \n          --health-retries 5\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements/*') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-${{ hashFiles('**/requirements/*') }}\n\n      - name: before_install\n        run: |\n          sudo apt update\n          sudo apt -y install libffi-dev golang postgresql-client libgnutls28-dev libyaml-dev python3-yaml python3-pip libcurl4-openssl-dev libssl-dev python3-venv\n          pip3 install pyopenssl\n      - name: install\n        run: |\n          echo \"Running install base requirements\"\n          pip3 install -r requirements/base.txt\n          echo \"Running install test requirements\"\n          pip3 install -r requirements/test.txt\n          echo \"create virtual environment\"\n          python3 -m venv $HOME/.virtualenvs/owtf --clear\n          echo \"Activate virtual environment\"\n          source $HOME/.virtualenvs/owtf/bin/activate\n          echo \"Running setup.py\"\n          echo '\\n\\n' | python3 setup.py develop\n      - name: before_script\n        run: |\n          source $HOME/.virtualenvs/owtf/bin/activate\n          pip3 install mock pyHamcrest\n          mkdir -p ~/.owtf/conf/profiles/plugin_web/\n          mkdir -p ~/.owtf/conf/profiles/plugin_net/\n          mkdir -p ~/.owtf/conf/profiles/plugin_aux/\n          cp -f ./tests/fixtures/profiles/plugin_web/groups.cfg ~/.owtf/conf/profiles/plugin_web/groups.cfg\n          cp -f ./tests/fixtures/profiles/plugin_net/groups.cfg ~/.owtf/conf/profiles/plugin_net/groups.cfg\n          cp -f ./tests/fixtures/profiles/plugin_aux/groups.cfg ~/.owtf/conf/profiles/plugin_aux/groups.cfg\n          git config --global user.email \"tasty@mac.test\"\n          git config --global user.name \"Tasty Test\"\n      - name: Python_tests_step\n        run: |\n          source $HOME/.virtualenvs/owtf/bin/activate\n          python3 -m unittest tests.functional.cli.test_empty_run\n          python3 -m unittest tests.functional.cli.test_list_plugins\n          python3 -m unittest tests.functional.cli.test_nowebui\n          python3 -m unittest tests.functional.plugins.web\n        env:\n          POSTGRES_HOST: localhost\n          POSTGRES_PORT: 5432\n\n      # - name: node_js\n      #   if: \"!contains(github.event.commits[0].message, '[skip ui-tests]')\"\n      #   working-directory: owtf/webapp\n      #   run: yarn install --production=false && yarn test\n\n      - name: slack - GitHub Actions Slack integration\n        uses: act10ns/slack@v1.2.2\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: \"#owtf-notifications\"\n        if: always()\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "owtf/owtf"}
{"mined_at": "2024-07-15T13:15:10.051034", "created_at": "2022-03-22T03:03:51+01:00", "updated_at": "2022-03-22T03:03:51+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [main]\n  schedule:\n    #        ┌───────────── minute (0 - 59)\n    #        │  ┌───────────── hour (0 - 23)\n    #        │  │  ┌───────────── day of the month (1 - 31)\n    #        │  │  │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │  │  │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │  │  │ │ │\n    #        │  │  │ │ │\n    #        │  │  │ │ │\n    #        *  *  * * *\n    - cron: \"35 18 * * 2\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: python\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "ourownstory/neural_prophet"}
{"mined_at": "2024-07-15T13:15:11.083872", "created_at": "2022-10-17T16:46:08+02:00", "updated_at": "2022-10-17T18:48:54+02:00", "name": "Linters", "path": ".github/workflows/linters.yml", "contents": "name: Linters\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  flake8:\n    name: flake8\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - run: python -m pip install flake8\n      - name: flake8\n        uses: liskin/gh-problem-matcher-wrap@v2\n        with:\n          linters: flake8\n          run: flake8 neuralprophet scripts\n\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: ruff\n        uses: chartboost/ruff-action@v1\n\n  isort:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - run: python -m pip install isort\n      - name: isort\n        uses: liskin/gh-problem-matcher-wrap@v2\n        with:\n          linters: isort\n          run: isort --check --diff neuralprophet tests scripts\n\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: black\n        uses: psf/black@stable\n        with:\n          jupyter: true\n\n  pyright:\n    runs-on: ubuntu-latest\n    env:\n      POETRY_VIRTUALENVS_CREATE: false\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Cache poetry\n        id: poetry-cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.local\n          key: poetry\n      - name: Setup poetry\n        if: steps.poetry-cache.outputs.cache-hit != 'true'\n        uses: snok/install-poetry@v1\n      - name: Install dependencies\n        run: poetry install --no-interaction --with=linters --without=dev,docs,pytest,metrics\n      - name: pyright\n        uses: jakebailey/pyright-action@v1\n", "state": "active", "repository": "ourownstory/neural_prophet"}
{"mined_at": "2024-07-15T13:15:12.141584", "created_at": "2022-10-20T06:34:23+02:00", "updated_at": "2024-02-24T00:02:19+01:00", "name": "Measure Model Performance", "path": ".github/workflows/metrics.yml", "contents": "name: Measure Model Performance\non:\n  push:\n    paths: # Run only when files under neuralprophet/ are modified\n      - neuralprophet/**\n    branches: # Run only on these branches\n      - main\n      - develop\n  pull_request: # Run on pull requests\n    branches:\n      - main\n      - develop\n  workflow_dispatch:\njobs:\n  metrics:\n    runs-on: ubuntu-latest # container: docker://ghcr.io/iterative/cml:0-dvc2-base1\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Install Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Setup NodeJS (for CML)\n        uses: actions/setup-node@v3 # For CML\n        with:\n          node-version: '16'\n      - name: Setup CML\n        uses: iterative/setup-cml@v1\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n      - name: Install Dependencies\n        run: poetry install --no-interaction --no-root --with=pytest,metrics --without=dev,docs,linters\n      - name: Install Project\n        run: poetry install --no-interaction --with=pytest,metrics --without=dev,docs,linters\n      - name: Train model\n        run: poetry run pytest tests/test_model_performance.py -n 1 --durations=0\n      - name: Download metrics from main\n        uses: dawidd6/action-download-artifact@v2\n        with:\n          repo: ourownstory/neural_prophet\n          branch: main\n          name: metrics\n          path: tests/metrics-main/\n          if_no_artifact_found: warn\n      - name: Open Benchmark Report\n        run: echo \"## Model Benchmark\" >> report.md\n      - name: Write Benchmark Report\n        run: poetry run python tests/metrics/compareMetrics.py >> report.md\n      - name: Publish Report with CML\n        env:\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          echo \"<details>\\n<summary>Model training plots</summary>\\n\" >> report.md\n          echo \"## Model Training\" >> report.md\n          echo \"### PeytonManning\" >> report.md\n          cml asset publish tests/metrics/PeytonManning.svg --md >> report.md\n          echo \"### YosemiteTemps\" >> report.md\n          cml asset publish tests/metrics/YosemiteTemps.svg --md >> report.md\n          echo \"### AirPassengers\" >> report.md\n          cml asset publish tests/metrics/AirPassengers.svg --md >> report.md\n          echo \"### EnergyPriceDaily\" >> report.md\n          cml asset publish tests/metrics/EnergyPriceDaily.svg --md >> report.md\n          echo \"\\n</details>\" >> report.md\n          cml comment update --target=pr report.md # Post reports as comments in GitHub PRs\n          cml check create --title=ModelReport report.md # update status of check in PR\n      - name: Upload metrics if on main\n        uses: actions/upload-artifact@v3\n        with:\n          name: metrics\n          path: tests/metrics/\n", "state": "active", "repository": "ourownstory/neural_prophet"}
{"mined_at": "2024-07-15T13:15:13.158539", "created_at": "2024-02-23T23:29:46+01:00", "updated_at": "2024-02-24T00:38:40+01:00", "name": "Test build docs", "path": ".github/workflows/test-docs.yml", "contents": "name: Test build docs\non:\n  push:\n    branches:\n      - main\n      - website\n  pull_request:\n    branches:\n      - main\n      - website\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - name: Install Poetry\n        uses: abatilo/actions-poetry@v2\n      - name: Setup Pandoc\n        uses: r-lib/actions/setup-pandoc@v2\n      - name: Setup Requirements\n        run: poetry install  --no-interaction --with=docs --without=dev,pytest,metrics,linters\n      - name: Build with Sphinx\n        run: poetry run sphinx-build docs/source _site", "state": "active", "repository": "ourownstory/neural_prophet"}
{"mined_at": "2024-07-15T13:15:14.196888", "created_at": "2024-02-23T22:57:23+01:00", "updated_at": "2024-02-24T00:38:40+01:00", "name": "Pytest and Coverage", "path": ".github/workflows/tests.yml", "contents": "name: Pytest and Coverage\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  tests:\n    runs-on: ${{matrix.os}}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.9\", \"3.12\"]\n        include:\n          - os: \"ubuntu-22.04\"\n            python-version: \"3.10\"\n    env:\n      POETRY_VIRTUALENVS_CREATE: false\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Install Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n      - name: Install dependencies\n        run: poetry install --no-root --no-interaction --with=dev,pytest --without=docs,metrics,linters\n      - name: Install Project\n        run: poetry install --no-interaction --with=dev,pytest --without=docs,metrics,linters\n      - name: Pytest\n        run: poetry run pytest tests -v -n auto --durations=0 --cov=./ --cov-report=xml\n      - name: Upload coverage to codecov\n        uses: codecov/codecov-action@v3\n        with:\n          env_vars: OS,PYTHON\n          files: ./coverage.xml\n          name: Coverage Report with codecov overview\n          verbose: true\n", "state": "active", "repository": "ourownstory/neural_prophet"}
{"mined_at": "2024-07-15T13:15:15.193928", "created_at": "2022-10-18T21:14:55+02:00", "updated_at": "2022-10-20T03:15:48+02:00", "name": "Deploy website with GitHub Pages", "path": ".github/workflows/website.yml", "contents": "name: Deploy website with GitHub Pages\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches:\n      - website\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow one concurrent deployment\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: true\n\njobs:\n  # Build job\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Pages\n        uses: actions/configure-pages@v2\n      - name: Setup Pandoc\n        uses: r-lib/actions/setup-pandoc@v2\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Setup Poetry\n        uses: snok/install-poetry@v1\n      - name: Setup Requirements\n        run: poetry install --with=docs --without=dev,pytest,metrics,linters\n      - name: Build with Sphinx\n        run: poetry run sphinx-build docs/source _site\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v1\n\n  # Deployment job\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v1\n", "state": "active", "repository": "ourownstory/neural_prophet"}
{"mined_at": "2024-07-15T13:15:17.313680", "created_at": "2021-03-27T13:03:18+01:00", "updated_at": "2021-03-27T13:03:18+01:00", "name": "Build wheels, optionally deploy to PyPI", "path": ".github/workflows/build.yml", "contents": "name: Build wheels, optionally deploy to PyPI\n\non:\n  workflow_dispatch:\n    inputs:\n      confirm_ref:\n        description: \"Confirm chosen branch name to deploy to PyPI (optional):\"\n        default: \"\"\n      override_version:\n        description: \"Override version number (optional):\"\n        default: \"\"\n\n\njobs:\n  # The deploy_test job is part of the test of whether we should deploy to PyPI\n  # or test.PyPI. The job will succeed if either the confirmation reference is\n  # empty, 'test' or if the confirmation is the selected branch or tag name.\n  # It will fail if it is nonempty and does not match.  All later jobs depend\n  # on this job, so that they will be immediately cancelled if the confirmation\n  # is bad.  The dependency is currently necessary (2021-03) because GitHub\n  # Actions does not have a simpler method of cancelling an entire workflow---\n  # the normal use-case expects to try and run as much as possible despite one\n  # or two failures.\n  deploy_test:\n    name: Verify PyPI deployment confirmation\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_REF: ${{ github.ref }}\n      CONFIRM_REF: ${{ github.event.inputs.confirm_ref }}\n    steps:\n      - name: Compare confirmation to current reference\n        shell: bash\n        run: |\n          [[ -z $CONFIRM_REF || $GITHUB_REF =~ ^refs/(heads|tags)/$CONFIRM_REF$ || $CONFIRM_REF == \"test\" ]]\n          if [[ $CONFIRM_REF == \"test\" ]]; then\n            echo \"Build and deploy to test.pypi.org.\"\n          elif [[ -z $CONFIRM_REF ]]; then\n            echo \"Build only.  Nothing will be uploaded to PyPI.\"\n          else\n            echo \"Full build and deploy.  Wheels and source will be uploaded to PyPI.\"\n          fi\n\n\n  build_sdist:\n    name: Build sdist on Ubuntu\n    needs: deploy_test\n    runs-on: ubuntu-latest\n    env:\n      OVERRIDE_VERSION: ${{ github.event.inputs.override_version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v4\n        name: Install Python\n        with:\n          # For the sdist we should be as conservative as possible with our\n          # Python version.  This should be the lowest supported version.  This\n          # means that no unsupported syntax can sneak through.\n          python-version: '3.10'\n\n      - name: Install pip build\n        run: |\n          python -m pip install 'build'\n\n      - name: Build sdist tarball\n        shell: bash\n        run: |\n          if [[ ! -z \"$OVERRIDE_VERSION\" ]]; then echo \"$OVERRIDE_VERSION\" > VERSION; fi\n          # The build package is the reference PEP 517 package builder.  All\n          # dependencies are specified by our setup code.\n          python -m build --sdist .\n\n      # Zip files are not part of PEP 517, so we need to make our own.\n      - name: Create zipfile from tarball\n        shell: bash\n        working-directory: dist\n        run: |\n          # First assert that there is exactly one tarball, and find its name.\n          shopt -s failglob\n          tarball_pattern=\"*.tar.gz\"\n          tarballs=($tarball_pattern)\n          [[ ${#tarballs[@]} == 1 ]]\n          tarball=\"${tarballs[0]}\"\n          # Get the stem and make the zipfile name.\n          stem=\"${tarball%.tar.gz}\"\n          zipfile=\"${stem}.zip\"\n          # Extract the tarball and rezip it.\n          tar -xzf \"$tarball\"\n          zip \"$zipfile\" -r \"$stem\"\n          rm -r \"$stem\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: sdist\n          path: |\n            dist/*.tar.gz\n            dist/*.zip\n          if-no-files-found: error\n\n\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    needs: deploy_test\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n    env:\n      # Set up wheels matrix.  This is CPython 3.10--3.12 for all OS targets.\n      CIBW_BUILD: \"cp3{10,11,12}-*\"\n      # Numpy and SciPy do not supply wheels for i686 or win32 for\n      # Python 3.10+, so we skip those:\n      CIBW_SKIP: \"*-musllinux* cp3{10,11,12}-manylinux_i686 cp3{10,11,12}-win32\"\n      OVERRIDE_VERSION: ${{ github.event.inputs.override_version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v4\n        name: Install Python\n        with:\n          # This is about the build environment, not the released wheel version.\n          python-version: '3.10'\n\n      - name: Install cibuildwheel\n        run: |\n          # cibuildwheel does the heavy lifting for us. Originally tested on\n          # 2.11.3, but should be fine at least up to any minor new release.\n          python -m pip install 'cibuildwheel==2.11.*'\n\n      - name: Build wheels\n        shell: bash\n        run: |\n          # If the version override was specified, then write it the VERSION\n          # file with it.\n          if [[ ! -z \"$OVERRIDE_VERSION\" ]]; then echo \"$OVERRIDE_VERSION\" > VERSION; fi\n          python -m cibuildwheel --output-dir wheelhouse\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels\n          path: ./wheelhouse/*.whl\n\n\n  deploy:\n    name: \"Deploy to PyPI if desired\"\n    # The confirmation is tested explicitly in `deploy_test`, so we know it is\n    # either a missing confirmation (so we shouldn't run this job), 'test' or a\n    # valid confirmation.  We don't need to retest the value of the\n    # confirmation, beyond checking that one existed.\n    if: ${{ github.event.inputs.confirm_ref != '' && github.event.inputs.confirm_ref != 'test' }}\n    needs: [deploy_test, build_sdist, build_wheels]\n    runs-on: ubuntu-latest\n    env:\n      TWINE_USERNAME: __token__\n      TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n      TWINE_NON_INTERACTIVE: 1\n      TWINE_REPOSITORY: pypi\n\n    steps:\n      - name: Download build artifacts to local runner\n        uses: actions/download-artifact@v4\n\n      - uses: actions/setup-python@v4\n        name: Install Python\n        with:\n          python-version: '3.10'\n\n      - name: Verify this is not a dev version\n        shell: bash\n        run: |\n          python -m pip install wheels/*-cp310-cp310-manylinux*.whl\n          python -c 'import qutip; print(qutip.__version__); assert \"dev\" not in qutip.__version__; assert \"+\" not in qutip.__version__'\n\n      # We built the zipfile for convenience distributing to Windows users on\n      # our end, but PyPI only needs the tarball.\n      - name: Upload sdist and wheels to PyPI\n        run: |\n          python -m pip install \"twine\"\n          python -m twine upload --verbose wheels/*.whl sdist/*.tar.gz\n\n\n  deploy_testpypi:\n    name: \"Deploy to TestPyPI if desired\"\n    if: ${{ github.event.inputs.confirm_ref == 'test' }}\n    needs: [deploy_test, build_sdist, build_wheels]\n    runs-on: ubuntu-latest\n    env:\n      TWINE_USERNAME: __token__\n      TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }}\n      TWINE_NON_INTERACTIVE: 1\n\n    steps:\n      - name: Download build artifacts to local runner\n        uses: actions/download-artifact@v4\n\n      - uses: actions/setup-python@v4\n        name: Install Python\n        with:\n          python-version: '3.10'\n\n      - name: Verify this is not a dev version\n        shell: bash\n        run: |\n          python -m pip install wheels/*-cp310-cp310-manylinux*.whl\n          python -c 'import qutip; print(qutip.__version__); assert \"dev\" not in qutip.__version__; assert \"+\" not in qutip.__version__'\n\n      # We built the zipfile for convenience distributing to Windows users on\n      # our end, but PyPI only needs the tarball.\n      - name: Upload sdist and wheels to TestPyPI\n        run: |\n          python -m pip install \"twine\"\n          python -m twine upload --repository testpypi --verbose wheels/*.whl sdist/*.tar.gz\n", "state": "active", "repository": "qutip/qutip"}
{"mined_at": "2024-07-15T13:15:18.466098", "created_at": "2021-04-29T19:35:18+02:00", "updated_at": "2022-12-14T00:24:22+01:00", "name": "Build documentation", "path": ".github/workflows/build_documentation.yml", "contents": "name: Build documentation\n\non:\n  [push, pull_request]\n\njobs:\n  build:\n    name: Build documentation\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v4\n        name: Install Python\n        with:\n          python-version: '3.11'\n\n      - name: Install documentation dependencies\n        run: |\n          pip install pip --upgrade\n          python -mpip install -r doc/requirements.txt\n          sudo apt-get update\n          sudo apt-get install texlive-full\n\n      - name: Install QuTiP from GitHub\n        run: |\n          # Build without build isolation so that we use the build\n          # dependencies already installed from doc/requirements.txt.\n          python -m pip install -e .[full] --no-build-isolation --config-settings editable_mode=compat\n          # Install in editable mode so it doesn't matter if we import from\n          # inside the installation directory, otherwise we can get some errors\n          # because we're importing from the wrong location.\n          python -c 'import qutip; qutip.about()'\n\n      - name: Build PDF documentation\n        working-directory: doc\n        run: |\n          make latexpdf SPHINXOPTS=\"-W --keep-going -T\"\n          # Above flags are:\n          #   -W : turn warnings into errors\n          #   --keep-going : do not stop after the first error\n          #   -T : display a full traceback if a Python exception occurs\n\n      - name: Upload built PDF files\n        uses: actions/upload-artifact@v4\n        with:\n          name: qutip_pdf_docs\n          path: doc/_build/latex/*\n          if-no-files-found: error\n\n      - name: Build HTML documentation\n        working-directory: doc\n        run: |\n          make html SPHINXOPTS=\"-W --keep-going -T\"\n          # Above flags are:\n          #   -W : turn warnings into errors\n          #   --keep-going : do not stop after the first error\n          #   -T : display a full traceback if a Python exception occurs\n\n      - name: Upload built HTML files\n        uses: actions/upload-artifact@v4\n        with:\n          name: qutip_html_docs\n          path: doc/_build/html/*\n          if-no-files-found: error\n", "state": "active", "repository": "qutip/qutip"}
{"mined_at": "2024-07-15T13:15:19.591674", "created_at": "2021-05-11T15:01:04+02:00", "updated_at": "2024-06-17T17:30:24+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "# The name is short because we mostly care how it appears in the pull request\n# \"checks\" dialogue box - it looks like\n#     Tests / ubuntu-latest, python-3.9, defaults\n# or similar.\nname: Tests\n\non:\n    [push, pull_request]\n\ndefaults:\n  run:\n    # The slightly odd shell call is to force bash to read .bashrc, which is\n    # necessary for having conda behave sensibly.  We use bash as the shell even\n    # on Windows, since we don't run anything much complicated, and it makes\n    # things much simpler.\n    shell: bash -l -e {0}\n\njobs:\n  cases:\n    name: ${{ matrix.os }}, python${{ matrix.python-version }}, ${{ matrix.case-name }}\n    runs-on: ${{ matrix.os }}\n    env:\n      MPLBACKEND: Agg  # Explicitly define matplotlib backend for Windows tests\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        # Test other versions of Python in special cases to avoid exploding the\n        # matrix size; make sure to test all supported versions in some form.\n        python-version: [\"3.11\"]\n        case-name: [defaults]\n        # Version 2 not yet available on conda's default channel\n        condaforge: [1]\n        numpy-build: [\"\"]\n        numpy-requirement: [\"\"]\n        scipy-requirement: [\">=1.9\"]\n        coverage-requirement: [\"==6.5\"]\n        # Extra special cases.  In these, the new variable defined should always\n        # be a truth-y value (hence 'nomkl: 1' rather than 'mkl: 0'), because\n        # the lack of a variable is _always_ false-y, and the defaults lack all\n        # the special cases.\n        include:\n          - case-name: p312 numpy 2\n            os: ubuntu-latest\n            python-version: \"3.12\"\n            numpy-build: \">=2.0.0\"\n            numpy-requirement: \">=2.0.0\"\n            pypi: 1\n\n          - case-name: p310 numpy 1.22\n            os: ubuntu-latest\n            python-version: \"3.10\"\n            numpy-build: \">=1.22.0,<1.23.0\"\n            numpy-requirement: \">=1.22.0,<1.23.0\"\n            scipy-requirement: \">=1.10,<1.11\"\n            semidefinite: 1\n            oldcython: 1\n            pypi: 1\n            pytest-extra-options: \"-W ignore:dep_util:DeprecationWarning -W \\\"ignore:The 'renderer' parameter of do_3d_projection\\\"\"\n\n          # Python 3.12 and latest numpy\n          # Use conda-forge to provide Python 3.11 and latest numpy\n          - case-name: p312, numpy fallback\n            os: ubuntu-latest\n            python-version: \"3.12\"\n            numpy-requirement: \">=1.26,<1.27\"\n            scipy-requirement: \">=1.11,<1.12\"\n            condaforge: 1\n            # Install mpi4py to test mpi_pmap\n            # Should be enough to include this in one of the runs\n            includempi: 1\n\n          # Python 3.10, no mkl, scipy 1.9, numpy 1.23\n          # Scipy 1.9 did not support cython 3.0 yet.\n          # cython#17234\n          - case-name: p310 no mkl\n            os: ubuntu-latest\n            python-version: \"3.10\"\n            numpy-requirement: \">=1.23,<1.24\"\n            scipy-requirement: \">=1.9,<1.10\"\n            semidefinite: 1\n            condaforge: 1\n            oldcython: 1\n            nomkl: 1\n            pytest-extra-options: \"-W ignore:dep_util:DeprecationWarning -W \\\"ignore:The 'renderer' parameter of do_3d_projection\\\"\"\n\n          # Mac\n          # Mac has issues with MKL since september 2022.\n          - case-name: macos\n            # setup-miniconda not compatible with macos-latest presently.\n            # https://github.com/conda-incubator/setup-miniconda/issues/344\n            os: macos-12\n            python-version: \"3.12\"\n            numpy-build: \">=2.0.0\"\n            numpy-requirement: \">=2.0.0\"\n            condaforge: 1\n            nomkl: 1\n\n          - case-name: macos - numpy fallback\n            os: macos-12\n            python-version: \"3.11\"\n            numpy-build: \">=2.0.0\"\n            numpy-requirement: \">=1.25,<1.26\"\n            condaforge: 1\n            nomkl: 1\n\n          - case-name: Windows\n            os: windows-latest\n            python-version: \"3.11\"\n            numpy-build: \">=2.0.0\"\n            numpy-requirement: \">=2.0.0\"\n            pypi: 1\n\n          - case-name: Windows - numpy fallback\n            os: windows-latest\n            python-version: \"3.10\"\n            numpy-build: \">=2.0.0\"\n            numpy-requirement: \">=1.24,<1.25\"\n            semidefinite: 1\n            oldcython: 1\n            nocython: 1\n            condaforge: 1\n            pytest-extra-options: \"-W ignore:dep_util:DeprecationWarning -W \\\"ignore:The 'renderer' parameter of do_3d_projection\\\"\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n          channels: ${{ matrix.condaforge == 1 && 'conda-forge' || 'defaults' }}\n\n      - name: Install QuTiP and dependencies\n        # In the run, first we handle any special cases.  We do this in bash\n        # rather than in the GitHub Actions file directly, because bash gives us\n        # a proper programming language to use.\n        # We install without build isolation so qutip is compiled with the\n        # version of cython, scipy, numpy in the test matrix, not a temporary\n        # version use in the installation virtual environment.\n        run: |\n          # Install the extra requirement\n          python -m pip install pytest>=5.2 pytest-rerunfailures  # tests\n          python -m pip install ipython  # ipython\n          python -m pip install loky tqdm  # extras\n          python -m pip install \"coverage${{ matrix.coverage-requirement }}\" chardet\n          python -m pip install pytest-cov coveralls pytest-fail-slow\n\n          if [[ \"${{ matrix.pypi }}\" ]]; then\n            pip install \"numpy${{ matrix.numpy-build }}\"\n            pip install \"scipy${{ matrix.scipy-requirement }}\"\n          elif [[ -z \"${{ matrix.nomkl }}\" ]]; then\n            conda install blas=*=mkl \"numpy${{ matrix.numpy-build }}\" \"scipy${{ matrix.scipy-requirement }}\"\n          elif [[ \"${{ matrix.os }}\" =~ ^windows.*$ ]]; then\n            # Conda doesn't supply forced nomkl builds on Windows, so we rely on\n            # pip not automatically linking to MKL.\n            pip install \"numpy${{ matrix.numpy-build }}\" \"scipy${{ matrix.scipy-requirement }}\"\n          else\n            conda install nomkl \"numpy${{ matrix.numpy-build }}\" \"scipy${{ matrix.scipy-requirement }}\"\n          fi\n          if [[ -n \"${{ matrix.conda-extra-pkgs }}\" ]]; then\n            conda install \"${{ matrix.conda-extra-pkgs }}\"\n          fi\n          if [[ \"${{ matrix.includempi }}\" ]]; then\n            # Use openmpi because mpich causes problems. Note, environment variable names change in v5\n            conda install \"openmpi<5\" mpi4py\n          fi\n          if [[ \"${{ matrix.oldcython }}\" ]]; then\n            python -m pip install cython==0.29.36 filelock matplotlib==3.5\n          else\n            python -m pip install cython filelock\n          fi\n\n          python -m pip install -e . -v --no-build-isolation\n\n          if [[ \"${{ matrix.nocython }}\" ]]; then\n            python -m pip uninstall cython -y\n          fi\n\n          if [[ \"${{ matrix.pypi }}\" ]]; then\n            python -m pip install \"numpy${{ matrix.numpy-requirement }}\"\n          elif [[ -z \"${{ matrix.nomkl }}\" ]]; then\n            conda install \"numpy${{ matrix.numpy-requirement }}\"\n          elif [[ \"${{ matrix.os }}\" =~ ^windows.*$ ]]; then\n            python -m pip install \"numpy${{ matrix.numpy-requirement }}\"\n          else\n            conda install nomkl \"numpy${{ matrix.numpy-requirement }}\"\n          fi\n          if [[ -n \"${{ matrix.semidefinite }}\" ]]; then\n            python -m pip install cvxpy>=1.0 cvxopt\n          fi\n          python -m pip install matplotlib>=1.2.1  # graphics\n\n      - name: Package information\n        run: |\n          conda list\n          python -c \"import qutip; qutip.about()\"\n          python -c \"import qutip; print(qutip.settings)\"\n\n      - name: Environment information\n        run: |\n          uname -a\n          if [[ \"ubuntu-latest\" == \"${{ matrix.os }}\" ]]; then\n              hostnamectl\n              lscpu\n              free -h\n          fi\n\n      - name: Run tests\n        # If our tests are running for longer than an hour, _something_ is wrong\n        # somewhere.  The GitHub default is 6 hours, which is a bit long to wait\n        # to see if something hung.\n        timeout-minutes: 60\n        run: |\n          if [[ -n \"${{ matrix.openmp }}\" ]]; then\n            # Force OpenMP runs to use more threads, even if there aren't\n            # actually that many CPUs.  We have to check any dispatch code is\n            # truly being executed.\n            export QUTIP_NUM_PROCESSES=2\n          fi\n          if [[ \"${{ matrix.includempi }}\" ]]; then\n            # By default, the max. number of allowed worker processes in openmpi is\n            # (number of physical cpu cores) - 1.\n            # We only have 2 physical cores, but we want to test mpi_pmap with 2 workers.\n            export OMPI_MCA_rmaps_base_oversubscribe=true\n          fi\n          pytest -Werror --strict-config --strict-markers --fail-slow=300 --durations=0 --durations-min=1.0 --verbosity=1 --cov=qutip --cov-report= --color=yes ${{ matrix.pytest-extra-options }} qutip/tests\n          # Above flags are:\n          #  -Werror\n          #     treat warnings as errors\n          #  --strict-config\n          #     error out if the configuration file is not parseable\n          #  --strict-markers\n          #     error out if a marker is used but not defined in the\n          #     configuration file\n          #  --timeout=300\n          #     error any individual test that goes longer than the given time\n          #  --durations=0 --durations-min=1.0\n          #     at the end, show a list of all the tests that took longer than a\n          #     second to run\n          #  --verbosity=1\n          #     turn the verbosity up so pytest prints the names of the tests\n          #     it's currently working on\n          #  --cov=qutip\n          #     limit coverage reporting to code that's within the qutip package\n          #  --cov-report=\n          #     don't print the coverage report to the terminal---it just adds\n          #     cruft, and we're going to upload the .coverage file to Coveralls\n          #  --color=yes\n          #     force coloured output in the terminal\n\n      - name: Upload to Coveralls\n        env:\n          GITHUB_TOKEN: ${{ secrets.github_token }}\n          COVERALLS_FLAG_NAME: ${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.case-name }}\n          COVERALLS_PARALLEL: true\n        run: coveralls --service=github\n\n  towncrier-check:\n    name: Verify Towncrier entry added\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Towncrier\n        run: |\n          python -m pip install towncrier\n\n      - name: Verify Towncrier entry added\n        if: github.event_name == 'pull_request'\n        env:\n          BASE_BRANCH: ${{ github.base_ref }}\n        run: |\n          # Fetch the pull request' base branch so towncrier will be able to\n          # compare the current branch with the base branch.\n          # Source: https://github.com/actions/checkout/#fetch-all-branches.\n          git fetch --no-tags origin +refs/heads/${BASE_BRANCH}:refs/remotes/origin/${BASE_BRANCH}\n          towncrier check --compare-with origin/${BASE_BRANCH}\n          towncrier build --version \"$(cat VERSION)\" --draft\n\n  finalise:\n    name: Finalise coverage reporting\n    needs: cases\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n      - name: Finalise coverage reporting\n        env:\n          GITHUB_TOKEN: ${{ secrets.github_token }}\n        run: |\n          python -m pip install coveralls\n          coveralls --service=github --finish\n", "state": "active", "repository": "qutip/qutip"}
{"mined_at": "2024-07-15T13:15:21.534323", "created_at": "2021-07-11T13:05:45+02:00", "updated_at": "2021-11-21T15:01:42+01:00", "name": "Build", "path": ".github/workflows/build.yaml", "contents": "name: Build\non:\n  - push\n  - pull_request\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: linux-3.12\n            python-version: \"3.12\"\n            os: ubuntu-latest\n          - name: windows-3.12\n            python-version: \"3.12\"\n            os: windows-latest\n          - name: macos-3.12-skip-exe\n            python-version: \"3.12\"\n            os: macos-latest\n          - name: linux-3.12-lint-update-help-skip-exe\n            python-version: \"3.12\"\n            os: ubuntu-latest\n          - name: linux-3.11-pytype-skip-exe\n            python-version: \"3.11\"\n            os: ubuntu-latest\n          - name: linux-3.10-skip-exe\n            python-version: \"3.10\"\n            os: ubuntu-latest\n          - name: linux-3.9-skip-exe\n            python-version: \"3.9\"\n            os: ubuntu-latest\n          - name: linux-3.8-skip-exe\n            python-version: \"3.8\"\n            os: ubuntu-latest\n          - name: linux-pypy-3.10-skip-exe\n            python-version: pypy-3.10\n            os: ubuntu-latest\n          - name: linux-pypy-3.9-skip-exe\n            python-version: pypy-3.9\n            os: ubuntu-latest\n          - name: linux-pypy-3.8-skip-exe\n            python-version: pypy-3.8\n            os: ubuntu-latest\n    steps:\n      - name: Checkout source repo\n        uses: actions/checkout@v4\n      - name: Apt install system dependencies (linux unless -skip-exe)\n        if: ${{ startsWith(matrix.name, 'linux-') && !contains(matrix.name, '-skip-exe') }}\n        run: |\n          echo \"::group::Run sudo apt-get update\"\n          sudo apt-get update\n          echo \"::endgroup::\"\n          echo \"::group::Run sudo apt-get install graphviz\"\n          sudo apt-get install graphviz\n          echo \"::endgroup::\"\n          echo \"::group::Run dot -V\"\n          DOT_VERSION=\"$(dot -V 2>&1)\"\n          echo $DOT_VERSION;\n          echo \"::endgroup::\"\n          echo \"::notice::Apt installed ${DOT_VERSION#dot - }\"\n        shell: bash\n      - name: Brew install system dependencies (macos unless -skip-exe)\n        if: ${{ startsWith(matrix.name, 'macos-') && !contains(matrix.name, '-skip-exe') }}\n        run: |\n          echo \"::group::Run brew update --preinstall\"\n          brew update --preinstall\n          echo \"::endgroup::\"\n          echo \"::group::Run brew install graphviz\"\n          brew install graphviz\n          echo \"::endgroup::\"\n          echo \"::group::Run dot -V\"\n          DOT_VERSION=\"$(dot -V 2>&1)\"\n          echo $DOT_VERSION\n          echo \"::endgroup::\"\n          echo \"::notice::Brew installed ${DOT_VERSION#dot - }\"\n        shell: bash\n      - name: Choco install system dependencies (windows unless -skip-exe)\n        if: ${{ startsWith(matrix.name, 'windows-') && !contains(matrix.name, '-skip-exe') }}\n        run: |\n          echo \"::group::Run choco install --no-progress graphviz\"\n          choco install --no-progress graphviz\n          echo \"::endgroup::\"\n          echo \"::group::Run dot -V\"\n          DOT_VERSION=\"$(dot -V 2>&1)\"\n          echo $DOT_VERSION\n          echo \"::endgroup::\"\n          echo \"::notice::Choco installed ${DOT_VERSION#dot - }\"\n        shell: bash\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Pip install dependencies\n        run: |\n          echo \"::group::Run python -m pip install --upgrade pip setuptools wheel\"\n          python -m pip install --upgrade pip setuptools wheel\n          echo \"::endgroup::\"\n          echo \"::group::Run pip install .[test] flake8\"\n          pip install .[test] flake8\n          echo \"::endgroup::\"\n      - name: Run full tests (unless -skip-exe)\n        if: ${{ !contains(matrix.name, '-skip-exe') }}\n        run: python run-tests.py\n      - name: Run tests with --only-exe (unless -skip-exe)\n        if: ${{ !contains(matrix.name, '-skip-exe') }}\n        run: python run-tests.py --only-exe --cov-append\n      - name: Run tests with --skip-exe (always included)\n        run: python run-tests.py --skip-exe --cov-append\n      - name: Upload test coverage\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      - name: Check test coverage\n        run: |\n          echo \"::group::Run coverage report --fail-under=100 --show-missing --skip-covered\"\n          FAILED=0\n          coverage report --fail-under=100 --show-missing --skip-covered || FAILED=$?\n          echo \"::endgroup::\"\n          [ $FAILED -eq 0 ] || echo \"::warning::coverage report --fail-under=100 failed with exit code $FAILED\"\n        shell: bash\n      - name: Run build-docs.py -b doctest (unless -skip-exe)\n        if: ${{ !contains(matrix.name, '-skip-exe') }}\n        run: |\n          echo \"::group::Run pip install .[docs]\"\n          pip install .[docs]\n          echo \"::endgroup::\"\n          echo \"::group::Run build-docs.py -b doctest\"\n          FAILED=0\n          python build-docs.py -b doctest || FAILED=$?\n          echo ::endgroup::\n          [ $FAILED -eq 0 ] || echo \"::warning::build-docs.py -b doctest failed with exit code $FAILED\"\n        shell: bash\n      - name: Run try-examples.py (unless -skip-exe)\n        if: ${{ !contains(matrix.name, '-skip-exe') }}\n        run: |\n          echo \"::group::Run try-examples.py\"\n          FAILED=0\n          python try-examples.py || FAILED=$?\n          echo \"::endgroup::\"\n          SEVERITY=warning\n          ${{ startsWith(matrix.name, 'windows-') }} && SEVERITY=notice\n          [ $FAILED -eq 0 ] || echo \"::$SEVERITY::try-examples.py failed with exit code $FAILED (XFAIL 'Graphviz not built with triangulation library' on Windows cbuild)\"\n        shell: bash\n      - name: Run lint-code.py (if -lint)\n        if: ${{ contains(matrix.name, '-lint') }}\n        run: |\n          echo \"::group::Run lint-code.py\"\n          FAILED=0\n          python lint-code.py || FAILED=$?\n          echo \"::endgroup::\"\n          [ $FAILED -eq 0 ] || echo \"::warning::lint-code.py failed with exit code $FAILED\"\n        shell: bash\n      - name: Run update-help.py (if -update-help)\n        if: ${{ contains(matrix.name, '-update-help') }}\n        run: |\n          echo \"::group::Run update-help.py\"\n          FAILED=0\n          python update-help.py || FAILED=$?\n          echo \"::endgroup::\"\n          [ $FAILED -eq 0 ] || echo \"::warning::update-help.py failed with exit code $FAILED\"\n      - name: Run pytype (if -pytype)\n        if: ${{ contains(matrix.name, '-pytype') }}\n        run: |\n          echo \"::group::Run pip install pytype\"\n          pip install pytype\n          echo \"::endgroup::\"\n          echo \"::group::Run pytype\"\n          FAILED=0\n          pytype || FAILED=$?\n          echo \"::endgroup::\"\n          [ $FAILED -eq 0 ] || echo \"::warning::pytype failed with exit code $FAILED\"\n        shell: bash\n      - name: Upload ${{ matrix.name }} artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.name }}\n          path: |\n            test-log.txt\n            doctest-output/\n            examples/*.gv\n            examples/*.pdf\n", "state": "active", "repository": "xflr6/graphviz"}
{"mined_at": "2024-07-15T13:15:23.611901", "created_at": "2021-04-19T14:52:39+02:00", "updated_at": "2023-03-24T10:14:04+01:00", "name": "Build doc", "path": ".github/workflows/build_doc.yml", "contents": "name: Build doc\n\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n    branches:\n      - 'master'  \n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    # Standard drop-in approach that should work for most people.\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Get Python running\n      run: |\n        python -m pip install --user --upgrade --progress-bar off pip\n        python -m pip install --user --upgrade --progress-bar off -r requirements_all.txt\n        python -m pip install --user --upgrade --progress-bar off -r docs/requirements.txt\n        python -m pip install --user --upgrade --progress-bar off ipython \"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/zipball/master\" memory_profiler\n        python -m pip install --user -e .\n    # Look at what we have and fail early if there is some library conflict\n    - name: Check installation\n      run: |\n        which python\n        python -c \"import ot\"\n    # Build docs\n    - name: Generate HTML docs\n      uses: rickstaa/sphinx-action@master\n      with:\n        docs-folder: \"docs/\"\n    - uses: actions/upload-artifact@v1\n      with:\n        name: Documentation\n        path: docs/build/html/\n", "state": "active", "repository": "pythonot/pot"}
{"mined_at": "2024-07-15T13:15:24.704361", "created_at": "2020-05-04T09:14:02+02:00", "updated_at": "2022-02-04T11:53:06+01:00", "name": "Tests", "path": ".github/workflows/build_tests.yml", "contents": "name: Tests\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - 'master'    \n  push:\n    branches:\n      - 'master'  \n  create:\n    branches:\n      - 'master'\n    tags:\n      - '**'\n\njobs:\n  linux:\n\n    runs-on: ubuntu-latest\n    if: \"!contains(github.event.head_commit.message, 'no ci')\"\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install POT\n      run: |\n        pip install -e .\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements_all.txt\n        pip install pytest pytest-cov\n    - name: Run tests\n      run: |\n        python -m pytest --durations=20 -v test/ ot/ --doctest-modules --color=yes --cov=./ --cov-report=xml\n    - name: Upload coverage reports to Codecov with GitHub Action\n      uses: codecov/codecov-action@v3\n\n  pep8:\n    runs-on: ubuntu-latest\n    if: \"!contains(github.event.head_commit.message, 'no pep8')\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python \n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 \n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 examples/ ot/ test/ --count --max-line-length=127 --statistics\n\n  linux-minimal-deps:\n\n    runs-on: ubuntu-latest\n    if: \"!contains(github.event.head_commit.message, 'no ci')\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python \n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest pytest-cov\n    - name: Install POT\n      run: |\n        pip install -e .\n    - name: Run tests\n      run: |\n        python -m pytest --durations=20 -v test/ ot/ --color=yes --cov=./ --cov-report=xml\n    - name: Upload coverage reports to Codecov with GitHub Action\n      uses: codecov/codecov-action@v3\n\n  macos:\n     runs-on: ${{ matrix.os }}\n     if: \"!contains(github.event.head_commit.message, 'no ci')\"\n     strategy:\n       max-parallel: 4\n       matrix:\n         os: [macos-latest, macos-13]\n         python-version: [\"3.11\"]\n\n     steps:\n     - uses: actions/checkout@v4\n     - name: Set up Python ${{ matrix.python-version }}\n       uses: actions/setup-python@v5\n       with:\n         python-version: ${{ matrix.python-version }}\n     - name: Install POT\n       run: |\n         pip install -e .\n     - name: Install dependencies\n       run: |\n         python -m pip install --upgrade pip\n         pip install -r requirements_all.txt\n         pip install pytest \n     - name: Run tests\n       run: |\n         python -m pytest --durations=20  -v test/ ot/ --color=yes\n\n\n  windows:\n    runs-on: windows-latest\n    if: \"!contains(github.event.head_commit.message, 'no ci')\"\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: RC.exe\n      run: |\n        function Invoke-VSDevEnvironment {\n        $vswhere = \"${env:ProgramFiles(x86)}\\Microsoft Visual Studio\\Installer\\vswhere.exe\"\n            $installationPath = & $vswhere -prerelease -legacy -latest -property installationPath\n            $Command = Join-Path $installationPath \"Common7\\Tools\\vsdevcmd.bat\"\n          & \"${env:COMSPEC}\" /s /c \"`\"$Command`\" -no_logo && set\" | Foreach-Object {\n                if ($_ -match '^([^=]+)=(.*)') {\n                    [System.Environment]::SetEnvironmentVariable($matches[1], $matches[2])\n                }\n            }\n        }\n        Invoke-VSDevEnvironment\n        Get-Command rc.exe | Format-Table -AutoSize\n    - name: Update pip\n      run : |\n        python -m pip install --upgrade pip setuptools\n        python -m pip install cython\n    - name: Install POT\n      run: |\n        python -m pip install -e .\n    - name: Install dependencies\n      run: |\n        python -m pip install -r .github/requirements_test_windows.txt\n        python -m pip3 install torch torchvision torchaudio\n        python -m pip install pytest\n    - name: Run tests\n      run: |\n        python -m pytest --durations=20  -v test/ ot/ --color=yes\n", "state": "active", "repository": "pythonot/pot"}
{"mined_at": "2024-07-15T13:15:25.705167", "created_at": "2023-05-04T14:51:48+02:00", "updated_at": "2023-05-05T13:53:18+02:00", "name": "Tests CUDA", "path": ".github/workflows/build_tests_cuda.yml", "contents": "name: Tests CUDA\n\non:\n  workflow_dispatch:\n  pull_request_review:\n    types: [submitted]\n\njobs:\n  linux-cuda:\n\n    runs-on: pc-cuda\n    if: github.event.review.state == 'approved' || github.event_name ==     'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/master')\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install POT\n      run: |\n        python3.10 -m pip install  --ignore-installed -e .\n    - name: Run tests\n      run: |\n        python3.10 -m pytest --durations=20 -v test/ ot/ --doctest-modules --color=yes --ignore=test/test_dr.py --ignore=ot.dr --ignore=ot.plot\n\n", "state": "active", "repository": "pythonot/pot"}
{"mined_at": "2024-07-15T13:15:26.736182", "created_at": "2020-04-22T15:38:47+02:00", "updated_at": "2021-04-16T13:49:59+02:00", "name": "Build wheels", "path": ".github/workflows/build_wheels.yml", "contents": "name: Build wheels\n\non:\n  workflow_dispatch:\n  release:\n  pull_request:\n  push:\n    branches:\n      - \"*\"\n\njobs:\n  build_wheels:\n    name: ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    if: \"contains(github.event.head_commit.message, 'build wheels')\"\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n\n    - name: Install cibuildwheel\n      run: |\n        python -m pip install cibuildwheel==2.16.2\n\n    - name: Build wheels\n      env:\n        CIBW_SKIP: \"pp*-win* pp*-macosx* cp2* pp* cp36* cp*musl* *i686\" # remove pypy on mac and win (wrong version)\n      run: |\n        python -m cibuildwheel --output-dir wheelhouse\n\n    - uses: actions/upload-artifact@v1\n      with:\n        name: wheels\n        path: ./wheelhouse\n\n\n  build_all_wheels:\n    name: ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    if: \"contains(github.event.head_commit.message, 'build all wheels')\"\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n\n    - name: Install cibuildwheel\n      run: |\n        python -m pip install cibuildwheel==2.16.2\n\n    - name: Set up QEMU\n      if: runner.os == 'Linux'\n      uses: docker/setup-qemu-action@v1\n      with:\n        platforms: all\n\n    - name: Build wheels\n      env:\n        CIBW_SKIP: \"pp*-win* pp*-macosx* cp2* pp* cp*musl* *i686\" # remove pypy on mac and win (wrong version)\n        CIBW_ARCHS_LINUX: auto aarch64 # force aarch64 with QEMU\n        CIBW_ARCHS_MACOS: x86_64 universal2 arm64\n      run: |\n        python -m cibuildwheel --output-dir wheelhouse\n\n    - uses: actions/upload-artifact@v1\n      with:\n        name: wheels\n        path: ./wheelhouse\n\n", "state": "active", "repository": "pythonot/pot"}
{"mined_at": "2024-07-15T13:15:27.754186", "created_at": "2021-04-16T14:18:29+02:00", "updated_at": "2021-04-16T14:18:29+02:00", "name": "Build all wheels", "path": ".github/workflows/build_wheels_weekly.yml", "contents": "name: Build all wheels\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 0 * * 1'\n  push:\n    branches:\n      - \"master\"\n\njobs:\n  build_wheels:\n    name: ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n\n    - name: Install cibuildwheel\n      run: |\n        python -m pip install cibuildwheel==2.16.2\n\n    - name: Set up QEMU\n      if: runner.os == 'Linux'\n      uses: docker/setup-qemu-action@v1\n      with:\n        platforms: all\n\n    - name: Build wheels\n      env:\n        CIBW_SKIP: \"pp*-win* pp*-macosx* cp2* pp* cp*musl* cp36* *i686\" # remove pypy on mac and win (wrong version)\n        CIBW_ARCHS_LINUX: auto aarch64 # force aarch64 with QEMU\n        CIBW_ARCHS_MACOS: x86_64 universal2 arm64\n      run: |\n        python -m cibuildwheel --output-dir wheelhouse\n\n    - uses: actions/upload-artifact@v1\n      with:\n        name: wheels\n        path: ./wheelhouse\n", "state": "active", "repository": "pythonot/pot"}
{"mined_at": "2024-07-15T13:15:28.905501", "created_at": "2020-05-04T09:25:58+02:00", "updated_at": "2020-05-04T09:25:58+02:00", "name": "circleci-redirector", "path": ".github/workflows/circleci-redirector.yml", "contents": "name: circleci-redirector\non: [status]\njobs:\n  circleci_artifacts_redirector_job:\n    runs-on: ubuntu-latest\n    if: \"${{ github.event.context == 'ci/circleci: build_docs' }}\"\n    name: Run CircleCI artifacts redirector\n    steps:\n      - name: GitHub Action step\n        uses: larsoner/circleci-artifacts-redirector-action@master\n        with:\n          api-token: ${{ secrets.CIRCLE_TOKEN }}\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          artifact-path: 0/dev/index.html\n          circleci-jobs: build_docs\n", "state": "active", "repository": "pythonot/pot"}
{"mined_at": "2024-07-15T13:15:30.948930", "created_at": "2022-12-29T22:17:51+01:00", "updated_at": "2022-12-29T22:22:17+01:00", "name": "main", "path": ".github/workflows/main.yml", "contents": "name: main\n\non:\n  push:\n    branches: [main, test-me-*]\n    tags: '*'\n  pull_request:\n\njobs:\n  main-windows:\n    uses: asottile/workflows/.github/workflows/tox.yml@v1.6.0\n    with:\n      env: '[\"py39\"]'\n      os: windows-latest\n  main-linux:\n    uses: asottile/workflows/.github/workflows/tox.yml@v1.6.0\n    with:\n      env: '[\"py39\", \"py310\", \"py311\", \"py312\"]'\n      os: ubuntu-latest\n", "state": "active", "repository": "asottile/pyupgrade"}
{"mined_at": "2024-07-15T13:15:32.925885", "created_at": "2020-10-28T23:31:26+01:00", "updated_at": "2020-10-28T23:31:26+01:00", "name": "Main", "path": ".github/workflows/main.yml", "contents": "name: Main\n\non: [push, pull_request]\n\njobs:\n  test:\n    name: Test\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip setuptools\n          pip install --upgrade tox-gh-actions coveralls\n\n      - name: Run tests\n        run: |\n          tox\n\n      - name: Send coverage report\n        run: |\n          coveralls\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: ${{ matrix.python-version }}\n          COVERALLS_PARALLEL: true\n          COVERALLS_SERVICE_NAME: github\n\n  coveralls:\n    name: Finish Coveralls\n    needs: test\n    runs-on: ubuntu-latest\n    container: python:3-slim\n\n    steps:\n      - name: Finished\n        run: |\n          pip install --upgrade coveralls\n          coveralls --finish\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "dgilland/pydash"}
{"mined_at": "2024-07-15T13:15:35.151195", "created_at": "2020-05-14T01:16:11+02:00", "updated_at": "2020-05-14T01:16:11+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.7, 3.8, 3.9, \"3.10\", \"3.11\"]\n        dj-version: [\"3.2.*\", \"4.0.*\", \"4.1.*\", \"4.2.*\"]\n        drf-version: [\"3.13.*\", \"3.14.*\", \"3.15.*\"]\n        exclude:\n        - python-version: 3.7\n          dj-version: '4.0.*'\n        - python-version: 3.7\n          dj-version: '4.1.*'\n        - python-version: 3.7\n          dj-version: '4.2.*'\n        - dj-version: '4.2.*'\n          drf-version: '3.13.*'\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install 'django==${{ matrix.dj-version }}' 'djangorestframework==${{ matrix.drf-version }}'\n\n    - name: Run Tests\n      run: |\n        ./runtests.py --fast --coverage -rw\n\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python39\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8==5.0.4\n\n    - name: Lint Code\n      run: |\n        flake8 dynamic_rest tests\n", "state": "active", "repository": "altschool/dynamic-rest"}
{"mined_at": "2024-07-15T13:15:37.186665", "created_at": "2021-07-23T13:21:46+02:00", "updated_at": "2023-10-10T16:29:57+02:00", "name": "benchmark-check", "path": ".github/workflows/benchmark.yml", "contents": null, "state": "active", "repository": "scitools/iris"}
{"mined_at": "2024-07-15T13:15:38.207412", "created_at": "2023-08-21T10:47:00+02:00", "updated_at": "2023-08-21T10:47:00+02:00", "name": "benchmarks-report", "path": ".github/workflows/benchmarks_report.yml", "contents": "# Post any reports generated by benchmarks_run.yml .\n# Separated for security:\n#  https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n\nname: benchmarks-report\nrun-name: Report benchmark results\n\non:\n  workflow_run:\n    workflows: [benchmarks-run]\n    types:\n      - completed\n\njobs:\n  download:\n    runs-on: ubuntu-latest\n    outputs:\n      reports_exist: ${{ steps.unzip.outputs.reports_exist }}\n    steps:\n      - name: Download artifact\n        id: download-artifact\n        # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#using-data-from-the-triggering-workflow\n        uses: actions/github-script@v7\n        with:\n          script: |\n            let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               run_id: context.payload.workflow_run.id,\n            });\n            let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => {\n              return artifact.name == \"benchmark_reports\"\n            })[0];\n            if (typeof matchArtifact != 'undefined') {\n              let download = await github.rest.actions.downloadArtifact({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                artifact_id: matchArtifact.id,\n                archive_format: 'zip',\n              });\n              let fs = require('fs');\n              fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/benchmark_reports.zip`, Buffer.from(download.data));\n            };\n\n      - name: Unzip artifact\n        id: unzip\n        run: |\n          if test -f \"benchmark_reports.zip\"; then\n            reports_exist=1\n            unzip benchmark_reports.zip -d benchmark_reports\n          else\n            reports_exist=0\n          fi\n          echo \"reports_exist=$reports_exist\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Store artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: benchmark_reports\n          path: benchmark_reports\n\n  post_reports:\n    runs-on: ubuntu-latest\n    needs: download\n    if: needs.download.outputs.reports_exist == 1\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: benchmark_reports\n          path: .github/workflows/benchmark_reports\n\n      - name: Set up Python\n        # benchmarks/bm_runner.py only needs builtins to run.\n        uses: actions/setup-python@v5\n\n      - name: Post reports\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: python benchmarks/bm_runner.py _gh_post\n", "state": "active", "repository": "scitools/iris"}
{"mined_at": "2024-07-15T13:15:39.448902", "created_at": "2023-08-18T08:57:53+02:00", "updated_at": "2023-08-21T10:47:00+02:00", "name": "benchmarks-run", "path": ".github/workflows/benchmarks_run.yml", "contents": "# Use ASV to check for performance regressions, either:\n#  - In the last 24 hours' commits.\n#  - Introduced by this pull request.\n\nname: benchmarks-run\nrun-name: Run benchmarks\n\non:\n  schedule:\n    # Runs every day at 23:00.\n    - cron: \"0 23 * * *\"\n  workflow_dispatch:\n    inputs:\n      first_commit:\n        description: \"First commit to benchmark (see bm_runner.py > Overnight).\"\n        required: false\n        type: string\n  pull_request:\n    # Add the `labeled` type to the default list.\n    types: [labeled, opened, synchronize, reopened]\n\njobs:\n  pre-checks:\n    runs-on: ubuntu-latest\n    if: github.repository == 'SciTools/iris'\n    outputs:\n      overnight: ${{ steps.overnight.outputs.check }}\n      branch: ${{ steps.branch.outputs.check }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - id: files-changed\n        uses: marceloprado/has-changed-path@df1b7a3161b8fb9fd8c90403c66a9e66dfde50cb\n        with:\n          # SEE ALSO .github/labeler.yml .\n          paths: requirements/locks/*.lock setup.py\n      - id: overnight\n        if: github.event_name != 'pull_request'\n        run: echo \"check=true\" >> \"$GITHUB_OUTPUT\"\n      - id: branch\n        if: >\n          github.event_name == 'pull_request'\n          &&\n          (\n            steps.files-changed.outputs.changed == 'true'\n            ||\n            github.event.label.name == 'benchmark_this'\n          )\n        run: echo \"check=true\" >> \"$GITHUB_OUTPUT\"\n\n\n  benchmark:\n    runs-on: ubuntu-latest\n    needs: pre-checks\n    if: >\n      needs.pre-checks.outputs.overnight == 'true' ||\n      needs.pre-checks.outputs.branch == 'true'\n\n    env:\n      IRIS_TEST_DATA_LOC_PATH: benchmarks\n      IRIS_TEST_DATA_PATH: benchmarks/iris-test-data\n      IRIS_TEST_DATA_VERSION: \"2.22\"\n      # Lets us manually bump the cache to rebuild\n      ENV_CACHE_BUILD: \"0\"\n      TEST_DATA_CACHE_BUILD: \"2\"\n\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Nox\n        run: |\n          pip install nox\n\n      - name: Cache environment directories\n        id: cache-env-dir\n        uses: actions/cache@v4\n        with:\n          path: |\n            .nox\n            benchmarks/.asv/env\n            $CONDA/pkgs\n          key: ${{ runner.os }}-${{ hashFiles('requirements/') }}-${{ env.ENV_CACHE_BUILD }}\n\n      - name: Cache test data directory\n        id: cache-test-data\n        uses: actions/cache@v4\n        with:\n          path: |\n            ${{ env.IRIS_TEST_DATA_PATH }}\n          key:\n            test-data-${{ env.IRIS_TEST_DATA_VERSION }}-${{ env.TEST_DATA_CACHE_BUILD }}\n\n      - name: Fetch the test data\n        if: steps.cache-test-data.outputs.cache-hit != 'true'\n        run: |\n          wget --quiet https://github.com/SciTools/iris-test-data/archive/v${IRIS_TEST_DATA_VERSION}.zip -O iris-test-data.zip\n          unzip -q iris-test-data.zip\n          mkdir --parents ${GITHUB_WORKSPACE}/${IRIS_TEST_DATA_LOC_PATH}\n          mv iris-test-data-${IRIS_TEST_DATA_VERSION} ${GITHUB_WORKSPACE}/${IRIS_TEST_DATA_PATH}\n\n      - name: Set test data var\n        run: |\n          echo \"OVERRIDE_TEST_DATA_REPOSITORY=${GITHUB_WORKSPACE}/${IRIS_TEST_DATA_PATH}/test_data\" >> $GITHUB_ENV\n\n      - name: Benchmark this pull request\n        if: needs.pre-checks.outputs.branch == 'true'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PR_NUMBER: ${{ github.event.number }}\n        run: |\n          nox -s benchmarks -- branch origin/${{ github.base_ref }}\n\n      - name: Run overnight benchmarks\n        id: overnight\n        if: needs.pre-checks.outputs.overnight == 'true'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          first_commit=${{ inputs.first_commit }}\n          if [ \"$first_commit\" == \"\" ]\n          then\n            first_commit=$(git log --after=\"$(date -d \"1 day ago\" +\"%Y-%m-%d\") 23:00:00\" --pretty=format:\"%h\" | tail -n 1)\n          fi\n          \n          if [ \"$first_commit\" != \"\" ]\n          then\n            nox -s benchmarks -- overnight $first_commit\n          fi\n\n      - name: Warn of failure\n        if: >\n          failure() &&\n          steps.overnight.outcome == 'failure'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          title=\"Overnight benchmark workflow failed: \\`${{ github.run_id }}\\`\"\n          body=\"Generated by GHA run [\\`${{github.run_id}}\\`](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})\"\n          gh issue create --title \"$title\" --body \"$body\" --label \"Bot\" --label \"Type: Performance\" --repo $GITHUB_REPOSITORY\n\n      - name: Upload any benchmark reports\n        if: success() || steps.overnight.outcome == 'failure'\n        uses: actions/upload-artifact@v4\n        with:\n          name: benchmark_reports\n          path: .github/workflows/benchmark_reports\n\n      - name: Archive asv results\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: asv-raw-results\n          path: benchmarks/.asv/results\n", "state": "active", "repository": "scitools/iris"}
{"mined_at": "2024-07-15T13:15:40.466198", "created_at": "2023-12-21T15:20:38+01:00", "updated_at": "2023-12-22T16:32:55+01:00", "name": "ci-citation", "path": ".github/workflows/ci-citation.yml", "contents": "name: ci-citation\n\non:\n  pull_request:\n    paths:\n      - \"CITATION.cff\"\n\n  push:\n    paths:\n      - \"CITATION.cff\"\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  validate:\n    name: \"validate\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: \"check CITATION.cff\"\n        uses: citation-file-format/cffconvert-github-action@4cf11baa70a673bfdf9dad0acc7ee33b3f4b6084\n        with:\n          args: \"--validate\"\n", "state": "active", "repository": "scitools/iris"}
{"mined_at": "2024-07-15T13:15:41.529981", "created_at": "2023-04-18T18:44:22+02:00", "updated_at": "2023-05-11T12:05:33+02:00", "name": "ci-manifest", "path": ".github/workflows/ci-manifest.yml", "contents": "# Reference\n#    - https://github.com/actions/checkout\n\nname: ci-manifest\n\non:\n  pull_request:\n    branches:\n      - \"*\"\n\n  push:\n    branches-ignore:\n      - \"auto-update-lockfiles\"\n      - \"pre-commit-ci-update-config\"\n      - \"dependabot/*\"\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  manifest:\n    name: \"check-manifest\"\n    uses: scitools/workflows/.github/workflows/ci-manifest.yml@2024.06.4\n", "state": "active", "repository": "scitools/iris"}
{"mined_at": "2024-07-15T13:15:42.727052", "created_at": "2022-01-14T13:33:59+01:00", "updated_at": "2022-06-17T11:38:12+02:00", "name": "ci-tests", "path": ".github/workflows/ci-tests.yml", "contents": "# reference:\n#   - https://github.com/actions/cache\n#   - https://github.com/actions/checkout\n#   - https://github.com/marketplace/actions/setup-miniconda\n\nname: ci-tests\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"v*x\"\n    tags:\n      - \"v*\"\n  pull_request:\n    branches:\n      - \"*\"\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    name: \"${{ matrix.session }} (py${{ matrix.python-version }} ${{ matrix.os }})\"\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.12\"]\n        session: [\"doctest\", \"gallery\", \"linkcheck\"]\n        include:\n          - os: \"ubuntu-latest\"\n            python-version: \"3.12\"\n            session: \"tests\"\n            coverage: \"--coverage\"\n          - os: \"ubuntu-latest\"\n            python-version: \"3.11\"\n            session: \"tests\"\n          - os: \"ubuntu-latest\"\n            python-version: \"3.10\"\n            session: \"tests\"\n\n    env:\n      IRIS_TEST_DATA_VERSION: \"2.22\"\n      ENV_NAME: \"ci-tests\"\n\n    steps:\n      - name: \"checkout\"\n        uses: actions/checkout@v4\n\n      - name: \"environment configure\"\n        env:\n          # Maximum cache period (in weeks) before forcing a cache refresh.\n          CACHE_WEEKS: 2\n        run: |\n          echo \"CACHE_PERIOD=$(date +%Y).$(expr $(date +%U) / ${CACHE_WEEKS})\" >> ${GITHUB_ENV}\n          echo \"LOCK_FILE=requirements/locks/py$(echo ${{ matrix.python-version }} | tr -d '.')-linux-64.lock\" >> ${GITHUB_ENV}\n\n      - name: \"data cache\"\n        uses: ./.github/workflows/composite/iris-data-cache\n        with:\n          cache_build: 0\n          env_name: ${{ env.ENV_NAME }}\n          version: ${{ env.IRIS_TEST_DATA_VERSION }}\n\n      - name: \"conda package cache\"\n        uses: ./.github/workflows/composite/conda-pkg-cache\n        with:\n          cache_build: 0\n          cache_period: ${{ env.CACHE_PERIOD }}\n          env_name: ${{ env.ENV_NAME }}\n\n      - name: \"conda install\"\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-version: latest\n          channels: conda-forge,defaults\n          activate-environment: ${{ env.ENV_NAME }}\n          auto-update-conda: false\n          use-only-tar-bz2: true\n\n      - name: \"conda environment cache\"\n        uses: ./.github/workflows/composite/conda-env-cache\n        with:\n          cache_build: 0\n          cache_period: ${{ env.CACHE_PERIOD }}\n          env_name: ${{ env.ENV_NAME }}\n          install_packages: \"cartopy nox pip\"\n\n      - name: \"conda info\"\n        run: |\n          conda info\n          conda list\n\n      - name: \"cartopy cache\"\n        uses: ./.github/workflows/composite/cartopy-cache\n        with:\n          cache_build: 0\n          cache_period: ${{ env.CACHE_PERIOD }}\n          env_name: ${{ env.ENV_NAME }}\n\n      - name: \"nox cache\"\n        uses: ./.github/workflows/composite/nox-cache\n        with:\n          cache_build: 2\n          env_name: ${{ env.ENV_NAME }}\n          lock_file: ${{ env.LOCK_FILE }}\n\n      # TODO: drop use of site.cfg and explicit use of mplrc\n      - name: \"iris configure\"\n        env:\n          SITE_CFG: lib/iris/etc/site.cfg\n          MPL_RC: ${HOME}/.config/matplotlib/matplotlibrc\n        run: |\n          mkdir -p $(dirname ${SITE_CFG})\n          echo ${SITE_CFG}\n          echo \"[Resources]\" >> ${SITE_CFG}\n          echo \"test_data_dir = ${HOME}/iris-test-data/test_data\" >> ${SITE_CFG}\n          echo \"doc_dir = ${GITHUB_WORKSPACE}/docs\" >> ${SITE_CFG}\n          cat ${SITE_CFG}\n          mkdir -p $(dirname ${MPL_RC})\n          echo ${MPL_RC}\n          echo \"backend : agg\" >> ${MPL_RC}\n          echo \"image.cmap : viridis\" >> ${MPL_RC}\n          cat ${MPL_RC}\n\n      - name: \"iris ${{ matrix.session }}\"\n        env:\n          PY_VER: ${{ matrix.python-version }}\n          # Force coloured output on GitHub Actions.\n          PY_COLORS: \"1\"\n        run: |\n          nox --session ${{ matrix.session }} -- --verbose ${{ matrix.coverage }}\n\n      - name: \"upload coverage report\"\n        if: ${{ matrix.coverage }}\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}", "state": "active", "repository": "scitools/iris"}
{"mined_at": "2024-07-15T13:15:43.852912", "created_at": "2022-07-02T22:15:21+02:00", "updated_at": "2023-12-15T16:04:17+01:00", "name": "ci-wheels", "path": ".github/workflows/ci-wheels.yml", "contents": "# Reference:\n#   - https://github.com/actions/checkout\n#   - https://github.com/actions/download-artifact\n#   - https://github.com/actions/upload-artifact\n#   - https://github.com/pypa/build\n#   - https://github.com/pypa/gh-action-pypi-publish\n#   - https://test.pypi.org/help/#apitoken\n\nname: ci-wheels\n\non:\n  pull_request:\n\n  push:\n    tags:\n      - \"v*\"\n    branches-ignore:\n      - \"auto-update-lockfiles\"\n      - \"pre-commit-ci-update-config\"\n      - \"dependabot/*\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: \"build sdist & wheel\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: \"building\"\n      shell: bash\n      run: |\n        pipx run build\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: pypi-artifacts\n        path: ${{ github.workspace }}/dist/*\n\n  test-wheel:\n    needs: build\n    name: \"test wheel (py${{ matrix.python-version }})\"\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        session: [\"wheel\"]\n    env:\n      ENV_NAME: \"ci-wheels\"\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: pypi-artifacts\n        path: ${{ github.workspace }}/dist\n\n    - name: \"environment configure\"\n      env:\n        # Maximum cache period (in weeks) before forcing a cache refresh.\n          CACHE_WEEKS: 2\n      run: |\n        echo \"CACHE_PERIOD=$(date +%Y).$(expr $(date +%U) / ${CACHE_WEEKS})\" >> ${GITHUB_ENV}\n        echo \"LOCK_FILE=requirements/locks/py$(echo ${{ matrix.python-version }} | tr -d '.')-linux-64.lock\" >> ${GITHUB_ENV}\n\n    - name: \"conda package cache\"\n      uses: ./.github/workflows/composite/conda-pkg-cache\n      with:\n        cache_build: 0\n        cache_period: ${{ env.CACHE_PERIOD }}\n        env_name: ${{ env.ENV_NAME }}\n\n    - name: \"conda install\"\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniforge-version: latest\n        channels: conda-forge,defaults\n        activate-environment: ${{ env.ENV_NAME }}\n        auto-update-conda: false\n        use-only-tar-bz2: true\n\n    - name: \"conda environment cache\"\n      uses: ./.github/workflows/composite/conda-env-cache\n      with:\n        cache_build: 0\n        cache_period: ${{ env.CACHE_PERIOD }}\n        env_name: ${{ env.ENV_NAME }}\n        install_packages: \"nox pip\"\n\n    - name: \"nox cache\"\n      uses: ./.github/workflows/composite/nox-cache\n      with:\n        cache_build: 1\n        env_name: ${{ env.ENV_NAME }}\n        lock_file: ${{ env.LOCK_FILE }}\n\n    - name: \"nox install and test wheel\"\n      env:\n        PY_VER: ${{ matrix.python-version }}\n      run: |\n        nox --session ${{ matrix.session }} -- --verbose\n\n  show-artifacts:\n    needs: build\n    name: \"show artifacts\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: pypi-artifacts\n        path: ${{ github.workspace }}/dist\n\n    - shell: bash\n      run: |\n        ls -l ${{ github.workspace }}/dist\n\n  publish-artifacts-test-pypi:\n    needs: test-wheel\n    name: \"publish to test.pypi\"\n    runs-on: ubuntu-latest\n    # upload to Test PyPI for every commit on main branch\n    # and check for the SciTools repo\n    if: github.event_name == 'push' && github.event.ref == 'refs/heads/main' && github.repository_owner == 'SciTools'\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: pypi-artifacts\n        path: ${{ github.workspace }}/dist\n\n    - uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n        skip_existing: true\n        print_hash: true\n\n  publish-artifacts-pypi:\n    needs: test-wheel\n    name: \"publish to pypi\"\n    runs-on: ubuntu-latest\n    # upload to PyPI for every tag starting with 'v'\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') && github.repository_owner == 'SciTools'\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: pypi-artifacts\n        path: ${{ github.workspace }}/dist\n\n    - uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        print_hash: true\n", "state": "active", "repository": "scitools/iris"}
{"mined_at": "2024-07-15T13:15:44.969283", "created_at": "2020-09-07T17:01:42+02:00", "updated_at": "2024-02-22T16:35:13+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "# Reference\n#   - https://github.com/actions/labeler\n\nname: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n  labeler:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v5", "state": "active", "repository": "scitools/iris"}
{"mined_at": "2024-07-15T13:15:46.012708", "created_at": "2021-05-04T16:17:20+02:00", "updated_at": "2022-02-11T10:37:14+01:00", "name": "Refresh Lockfiles", "path": ".github/workflows/refresh-lockfiles.yml", "contents": "# Updates the environment lock files. See the called workflow in the\n# scitools/workflows repo for more details.\n\nname: Refresh Lockfiles\n\n\non:\n  workflow_dispatch:\n  schedule:\n    # Run once a week on a Saturday night \n    # N.B. \"should\" be quoted, according to\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule\n    - cron: \"1 0 * * 6\"\n\njobs:\n  refresh_lockfiles:\n    uses: scitools/workflows/.github/workflows/refresh-lockfiles.yml@2024.06.4\n    secrets: inherit\n", "state": "active", "repository": "scitools/iris"}
{"mined_at": "2024-07-15T13:15:47.131962", "created_at": "2021-08-03T13:00:27+02:00", "updated_at": "2021-12-01T13:20:44+01:00", "name": "Stale issues and pull-requests", "path": ".github/workflows/stale.yml", "contents": "# See https://github.com/actions/stale\n\nname: Stale issues and pull-requests\n\non:\n  schedule:\n    # Run once a day\n    # N.B. \"should\" be quoted, according to\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule\n    - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    if: \"github.repository == 'SciTools/iris'\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n\n          # Idle number of days before marking issues/prs stale.\n          days-before-stale: 500\n\n          # Idle number of days before closing stale issues/prs.\n          days-before-close: 28\n\n          # Comment on the staled issues.\n          stale-issue-message: |\n            In order to maintain a backlog of relevant issues, we automatically label them as stale after 500 days of inactivity.\n\n            If this issue is still important to you, then please comment on this issue and the stale label will be removed.\n\n            Otherwise this issue will be automatically closed in 28 days time.\n\n          # Comment on the staled prs.\n          stale-pr-message: |\n            In order to maintain a backlog of relevant PRs, we automatically label them as stale after 500 days of inactivity.\n\n            If this PR is still important to you, then please comment on this PR and the stale label will be removed.\n\n            Otherwise this PR will be automatically closed in 28 days time.\n\n          # Comment on the staled issues while closed.\n          close-issue-message: |\n            This stale issue has been automatically closed due to a lack of community activity.\n\n            If you still care about this issue, then please either:\n              * Re-open this issue, if you have sufficient permissions, or\n              * Add a comment stating that this is still relevant and someone will re-open it on your behalf.\n\n          # Comment on the staled prs while closed.\n          close-pr-message: |\n            This stale PR has been automatically closed due to a lack of community activity.\n\n            If you still care about this PR, then please either:\n              * Re-open this PR, if you have sufficient permissions, or\n              * Add a comment pinging `@SciTools/iris-devs` who will re-open on your behalf.\n\n          # Label to apply on staled issues.\n          stale-issue-label: Stale\n\n          # Label to apply on staled prs.\n          stale-pr-label: Stale\n\n          # Labels on issues exempted from stale.\n          exempt-issue-labels:\n            \"Status: Blocked,Status: Decision Required,Peloton 🚴‍♂️,Good First Issue, Dragon 🐉, Dragon Sub-Task 🦎, Release: Major\"\n\n          # Labels on prs exempted from stale.\n          exempt-pr-labels:\n            \"Status: Blocked,Status: Decision Required,Peloton 🚴‍♂️,Good First Issue, Dragon 🐉, Dragon Sub-Task 🦎, Release: Major\"\n\n          # Max number of operations per run.\n          operations-per-run: 300\n\n          # Remove stale label from issues/prs on updates/comments.\n          remove-stale-when-updated: true\n\n          # Order to get issues/PRs.\n          ascending: true\n\n          # Exempt all issues/prs with milestones from stale.\n          exempt-all-milestones: true\n", "state": "active", "repository": "scitools/iris"}
{"mined_at": "2024-07-15T13:15:49.221174", "created_at": "2020-04-02T18:57:33+02:00", "updated_at": "2020-09-02T18:47:49+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    name: ${{ matrix.database }} Python ${{ matrix.python-version }}\n    runs-on: ubuntu-22.04\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n        - 3.8\n        - 3.9\n        - '3.10'\n        - '3.11'\n        - '3.12'\n        database:\n        - mysql:8.0\n        - mariadb:10.5\n        - mariadb:10.6\n        - mariadb:10.7\n        - mariadb:10.8\n\n    services:\n      database:\n        image: ${{ matrix.database }}\n        env:\n          MYSQL_ROOT_PASSWORD: hunter2\n        ports:\n        - 3306:3306\n        options: --tmpfs /var/lib/mysql\n\n    env:\n      DB_HOST: 127.0.0.1\n      DB_USER: root\n      DB_PASSWORD: hunter2\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n        cache: pip\n        cache-dependency-path: 'requirements/*.txt'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        python -m pip install --upgrade 'tox>=4.0.0rc3'\n\n    - name: Install percona-toolkit\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y percona-toolkit\n\n    - name: Run tox targets for ${{ matrix.python-version }}\n      run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)\n\n    - name: Format database identifier\n      run: |\n        DB=${{ matrix.database }}\n        echo \"db_id=${DB//:/-}\"\n        echo \"db_id=${DB//:/-}\" >> \"$GITHUB_OUTPUT\"\n      id: format_db_id\n\n    - name: Upload coverage data\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage-data-${{ matrix.python-version }}-${{ steps.format_db_id.outputs.db_id }}\n        path: '${{ github.workspace }}/.coverage.*'\n\n  coverage:\n    name: Coverage\n    runs-on: ubuntu-22.04\n    needs: tests\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: Install dependencies\n        run: python -m pip install --upgrade coverage[toml]\n\n      - name: Download data\n        uses: actions/download-artifact@v4\n        with:\n          path: ${{ github.workspace }}\n          pattern: coverage-data-*\n          merge-multiple: true\n\n      - name: Combine coverage and fail if it's <100%\n        run: |\n          python -m coverage combine\n          python -m coverage html --skip-covered --skip-empty\n          python -m coverage report --fail-under=100\n          echo \"## Coverage summary\" >> $GITHUB_STEP_SUMMARY\n          python -m coverage report --format=markdown >> $GITHUB_STEP_SUMMARY\n\n      - name: Upload HTML report\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: html-report\n          path: htmlcov\n", "state": "active", "repository": "adamchainz/django-mysql"}
{"mined_at": "2024-07-15T13:15:51.339740", "created_at": "2022-04-20T01:28:12+02:00", "updated_at": "2023-03-29T21:38:48+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  ci:\n    uses: angr/ci-settings/.github/workflows/angr-ci.yml@master\n  windows:\n    uses: ./.github/workflows/windows.yml\n  macos:\n    uses: ./.github/workflows/macos.yml\n\n", "state": "active", "repository": "angr/cle"}
{"mined_at": "2024-07-15T13:15:52.355561", "created_at": "2023-08-18T02:48:29+02:00", "updated_at": "2023-08-18T02:48:29+02:00", "name": "Test on macOS", "path": ".github/workflows/macos.yml", "contents": "name: Test on macOS\n\non:\n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  macos:\n    name: Test macOS\n    runs-on: macos-12\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          path: cle\n      - uses: actions/checkout@v3\n        with:\n          repository: angr/binaries\n          path: binaries\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: python -m venv $HOME/venv\n        name: Create venv\n        shell: bash\n      - run: |\n          source $HOME/venv/bin/activate\n          pip install git+https://github.com/angr/archinfo.git\n          pip install git+https://github.com/angr/pyvex.git\n        name: Install dependencies\n      - run: |\n          source $HOME/venv/bin/activate\n          pip install ./cle[testing]\n        name: Install\n      - run: |\n          source $HOME/venv/bin/activate\n          pytest -n auto cle\n        name: Run pytest\n", "state": "active", "repository": "angr/cle"}
{"mined_at": "2024-07-15T13:15:53.582924", "created_at": "2022-04-20T01:50:52+02:00", "updated_at": "2022-04-20T01:50:52+02:00", "name": "Nightly CI", "path": ".github/workflows/nightly-ci.yml", "contents": "name: Nightly CI\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  ci:\n    uses: angr/ci-settings/.github/workflows/angr-ci.yml@master\n    with:\n      nightly: true\n    secrets: inherit\n", "state": "active", "repository": "angr/cle"}
{"mined_at": "2024-07-15T13:15:54.617153", "created_at": "2023-08-18T02:48:29+02:00", "updated_at": "2023-08-18T02:48:29+02:00", "name": "Test on Windows", "path": ".github/workflows/windows.yml", "contents": "name: Test on Windows\n\non:\n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  windows:\n    name: Test Windows\n    runs-on: windows-2022\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          path: cle\n      - uses: actions/checkout@v3\n        with:\n          repository: angr/binaries\n          path: binaries\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: python -m venv $HOME/venv\n        name: Create venv\n        shell: bash\n      - run: |\n          call \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat\"\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pip install git+https://github.com/angr/archinfo.git\n          pip install git+https://github.com/angr/pyvex.git\n        name: Install dependencies\n        shell: cmd\n      - run: |\n          call \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat\"\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pip install ./cle[testing]\n        name: Install\n        shell: cmd\n      - run: |\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pytest -n auto cle\n        name: Run pytest\n        shell: cmd\n", "state": "active", "repository": "angr/cle"}
{"mined_at": "2024-07-15T13:15:56.687848", "created_at": "2022-04-20T01:59:49+02:00", "updated_at": "2023-08-17T21:11:12+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  ci:\n    uses: angr/ci-settings/.github/workflows/angr-ci.yml@master\n  windows:\n    uses: ./.github/workflows/windows.yml\n  macos:\n    uses: ./.github/workflows/macos.yml\n\n", "state": "active", "repository": "angr/pyvex"}
{"mined_at": "2024-07-15T13:15:57.764916", "created_at": "2023-09-23T01:19:57+02:00", "updated_at": "2023-10-06T22:26:00+02:00", "name": "OSS-Fuzz", "path": ".github/workflows/cifuzz.yml", "contents": "name: OSS-Fuzz\n\non:\n  # push:\n  #   branches:\n  #     - master\n  # pull_request:\n  workflow_dispatch:\n\npermissions: {}\n\njobs:\n Fuzzing:\n   runs-on: ubuntu-latest\n   permissions:\n     security-events: write\n   steps:\n   - name: Build Fuzzers\n     id: build\n     uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master\n     with:\n       oss-fuzz-project-name: 'pyvex'\n       language: python\n   - name: Run Fuzzers\n     uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master\n     with:\n       oss-fuzz-project-name: 'pyvex'\n       language: python\n       fuzz-seconds: 600\n       output-sarif: true\n   - name: Upload Crash\n     uses: actions/upload-artifact@v3\n     if: failure() && steps.build.outcome == 'success'\n     with:\n       name: artifacts\n       path: ./out/artifacts\n   - name: Upload Sarif\n     if: always() && steps.build.outcome == 'success'\n     uses: github/codeql-action/upload-sarif@v2\n     with:\n      # Path to SARIF file relative to the root of the repository\n      sarif_file: cifuzz-sarif/results.sarif\n      checkout_path: cifuzz-sarif\n", "state": "active", "repository": "angr/pyvex"}
{"mined_at": "2024-07-15T13:15:58.791015", "created_at": "2022-09-13T23:11:01+02:00", "updated_at": "2022-09-13T23:11:01+02:00", "name": "Custom CI", "path": ".github/workflows/custom.yml", "contents": "name: Custom CI\n\non:\n  workflow_dispatch:\n    inputs:\n      image:\n        description: Container image to run with\n        type: string\n        required: true\n      nightly:\n        description: Run in nightly mode (include slow tests, no dependent projects)\n        type: boolean\n        required: true\n      afl:\n        description: Set parameters for AFL\n        type: boolean\n        required: true\n\n\njobs:\n  ci:\n    uses: angr/ci-settings/.github/workflows/angr-ci.yml@master\n    with:\n      container_image: ${{ inputs.image }}\n      nightly: ${{ inputs.nightly }}\n      afl: ${{ inputs.afl }}\n\n\n", "state": "active", "repository": "angr/pyvex"}
{"mined_at": "2024-07-15T13:16:00.031416", "created_at": "2023-08-17T23:57:46+02:00", "updated_at": "2023-08-17T23:57:46+02:00", "name": "Test on macOS", "path": ".github/workflows/macos.yml", "contents": "name: Test on macOS\n\non:\n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  macos:\n    name: Test macOS\n    runs-on: macos-12\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          path: pyvex\n          submodules: true\n      - uses: actions/checkout@v3\n        with:\n          repository: angr/binaries\n          path: binaries\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: python -m venv $HOME/venv\n        name: Create venv\n        shell: bash\n      - run: |\n          source $HOME/venv/bin/activate\n          pip install git+https://github.com/angr/archinfo.git\n        name: Install dependencies\n      - run: |\n          source $HOME/venv/bin/activate\n          pip install ./pyvex[testing]\n        name: Install\n      - run: |\n          source $HOME/venv/bin/activate\n          pytest -n auto pyvex\n        name: Run pytest\n", "state": "active", "repository": "angr/pyvex"}
{"mined_at": "2024-07-15T13:16:01.165177", "created_at": "2022-04-20T02:52:47+02:00", "updated_at": "2022-04-20T02:52:47+02:00", "name": "Nightly CI", "path": ".github/workflows/nightly-ci.yml", "contents": "name: Nightly CI\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  ci:\n    uses: angr/ci-settings/.github/workflows/angr-ci.yml@master\n    with:\n      nightly: true\n    secrets: inherit\n", "state": "active", "repository": "angr/pyvex"}
{"mined_at": "2024-07-15T13:16:02.296306", "created_at": "2023-08-17T21:06:30+02:00", "updated_at": "2023-08-17T23:57:46+02:00", "name": "Test on Windows", "path": ".github/workflows/windows.yml", "contents": "name: Test on Windows\n\non:\n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  windows:\n    name: Test Windows\n    runs-on: windows-2022\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          path: pyvex\n          submodules: true\n      - uses: actions/checkout@v3\n        with:\n          repository: angr/binaries\n          path: binaries\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: python -m venv $HOME/venv\n        name: Create venv\n        shell: bash\n      - run: |\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pip install git+https://github.com/angr/archinfo.git\n        name: Install dependencies\n        shell: cmd\n      - run: |\n          call \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat\"\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pip install ./pyvex[testing]\n        name: Install\n        shell: cmd\n      - run: |\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pytest -n auto pyvex\n        name: Run pytest\n        shell: cmd\n", "state": "active", "repository": "angr/pyvex"}
{"mined_at": "2024-07-15T13:16:04.537036", "created_at": "2022-06-15T12:24:49+02:00", "updated_at": "2023-12-13T12:41:11+01:00", "name": "Check proto on pull request", "path": ".github/workflows/check_milvus_proto.yml", "contents": "name: Check proto on pull request\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Run Check Proto\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.12]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Fetch tags\n      run: |\n        git fetch --prune --unshallow --tags\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e \".[dev]\"\n\n    - name: Try generate proto\n      run: |\n        git submodule update --init\n        make gen_proto\n        make check_proto_product\n\n", "state": "active", "repository": "milvus-io/pymilvus"}
{"mined_at": "2024-07-15T13:16:05.765871", "created_at": "2022-10-20T08:00:33+02:00", "updated_at": "2024-01-05T07:57:37+01:00", "name": "Code checker on pull request", "path": ".github/workflows/code_checker.yml", "contents": "name: Code checker on pull request\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  code-lint:\n    name: Code lint check\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.12]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Check pyproject.toml install\n        run: |\n          pip install -e .\n      - name: Install requirements\n        run: |\n          pip install -e \".[dev]\"\n      - name: Run pylint\n        shell: bash\n        run: |\n          make lint\n", "state": "active", "repository": "milvus-io/pymilvus"}
{"mined_at": "2024-07-15T13:16:06.995125", "created_at": "2021-08-17T14:41:34+02:00", "updated_at": "2021-08-17T14:41:34+02:00", "name": "web-content - Dispatch event after docs files updated", "path": ".github/workflows/doc_update_event.yml", "contents": "name: web-content - Dispatch event after docs files updated\n\non:\n  push:\n    branches-ignore:\n      - 'master'\n      - '1.*'\n    paths:\n      - 'docs/**'\n\njobs:\n  dispatch_event:\n    name: Dispatch event\n    runs-on: ubuntu-latest\n    steps:\n      - id: extract_branch\n        name: Extract branch name\n        shell: bash\n        run: echo \"##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})\"\n      - id: dispatch_branch_name\n        name: Dispatch branch name if update any docs\n        run: |\n          curl \\\n          -X POST \\\n          -H \"Accept: application/vnd.github.v3+json\" \\\n          \"https://api.github.com/repos/milvus-io/web-content/actions/workflows/updateApiByBranchEvent.yml/dispatches\" \\\n          -d '{\"ref\":\"master\", \"inputs\": { \"branchName\": \"${{ steps.extract_branch.outputs.branch }}\", \"repoName\": \"${{ github.event.repository.name }}\" } }' \\\n          -u \".:${{secrets.DOC_TOKEN}}\"", "state": "active", "repository": "milvus-io/pymilvus"}
{"mined_at": "2024-07-15T13:16:08.220106", "created_at": "2021-08-25T04:07:00+02:00", "updated_at": "2021-08-25T04:07:00+02:00", "name": "Nightly CI", "path": ".github/workflows/nightly_ci.yml", "contents": "name: Nightly CI\non:\n  workflow_dispatch:\n\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    #         ┌───────────── minute (0 - 59)\n    #         │ ┌───────────── hour (0 - 23)\n    #         │ │ ┌───────────── day of the month (1 - 31)\n    #         │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #         │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #         │ │ │ │ │\n    #         │ │ │ │ │\n    #         │ │ │ │ │\n    - cron:  '0 18 * * *'\n\njobs:\n  nightly:\n    name: Run Nightly CI\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7]\n    env:\n      IMAGE_REPO: \"milvusdb\"\n      TAG_PREFIX: \"master-\"\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Get the latest of Milvus dev image tag\n      shell: bash\n      id: extracter\n      working-directory: ci/scripts\n      run: echo \"::set-output name=tag::$(./docker_image_find_tag.sh -n ${IMAGE_REPO}/milvus-dev -t ${TAG_PREFIX}latest -f ${TAG_PREFIX} -F -L -q)\"\n\n    - name: Install Milvus\n      working-directory: ci/docker/milvus\n      run: |\n        IMAGE_TAG=${{ steps.extracter.outputs.tag }}  docker-compose up -d\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Clone Milvus Repo\n      uses: actions/checkout@v4\n      with:\n        repository: milvus-io/milvus\n        path: 'milvus'\n\n    - name: Install PyMilvus\n      run: |\n        python3 -m pip install setuptools --upgrade\n        python3 -m pip install --no-cache-dir -r milvus/tests/python_client/requirements.txt\n        python3 -m pip uninstall -y pymilvus\n        python3 setup.py install\n\n    - name: Smoke Test\n      working-directory: milvus/tests/python_client\n      run: |\n        pytest -n 2 --tags L0 L1\n", "state": "active", "repository": "milvus-io/pymilvus"}
{"mined_at": "2024-07-15T13:16:09.355112", "created_at": "2021-06-28T12:14:44+02:00", "updated_at": "2023-06-21T08:38:41+02:00", "name": "Publish Python 🐍 distributions 📦 to TestPyPI", "path": ".github/workflows/publish_dev_package.yml", "contents": "name: Publish Python 🐍 distributions 📦 to TestPyPI\n\non:\n  push:\n    branches:\n      - 'master'\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to TestPyPI\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Check out from Git\n      uses: actions/checkout@v4\n    - name: Get history and tags for SCM versioning\n      run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.TOKEN_TEST_PYPI }}\n        repository-url: https://test.pypi.org/legacy/\n\n", "state": "active", "repository": "milvus-io/pymilvus"}
{"mined_at": "2024-07-15T13:16:10.401901", "created_at": "2023-09-15T10:21:18+02:00", "updated_at": "2023-09-15T10:21:18+02:00", "name": "Publish 🐍 On Release to PyPI", "path": ".github/workflows/publish_on_release.yml", "contents": "name: Publish 🐍 On Release to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Check out from Git\n      uses: actions/checkout@v4\n    - name: Get history and tags for SCM versioning\n      run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.TOKEN_TEST_PYPI }}\n        repository-url: https://test.pypi.org/legacy/\n    - name: Publish distribution 📦 to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "milvus-io/pymilvus"}
{"mined_at": "2024-07-15T13:16:11.503244", "created_at": "2021-06-02T11:34:28+02:00", "updated_at": "2024-01-05T07:57:37+01:00", "name": "Test on pull request", "path": ".github/workflows/pull_request.yml", "contents": "name: Test on pull request\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Run Python Tests\n    strategy:\n      matrix:\n        python-version: [3.8, 3.12]\n        os: [ubuntu-latest, windows-latest]\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Fetch tags\n        run: |\n          git fetch --prune --unshallow --tags\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e \".[dev]\"\n\n      - name: Test with pytest\n        run: |\n          make unittest\n", "state": "active", "repository": "milvus-io/pymilvus"}
{"mined_at": "2024-07-15T13:16:12.619719", "created_at": "2021-06-07T08:22:34+02:00", "updated_at": "2021-08-17T14:41:34+02:00", "name": "web-content - Dispatch new release event", "path": ".github/workflows/release_event.yml", "contents": "name: web-content - Dispatch new release event\non:\n  release:\n    types: [published]\n\njobs:\n  dispatch:\n    name: Dispatch event\n    runs-on: ubuntu-latest\n    steps:\n      - name: Tag name\n        id: tag_name\n        run: |\n          echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}\n      - name: Dispatch tag name\n        id: dispatch_tag_name\n        run: |\n          curl \\\n          -X POST \\\n          -H \"Accept: application/vnd.github.v3+json\" \\\n          \"https://api.github.com/repos/milvus-io/web-content/actions/workflows/updateApiReference.yml/dispatches\" \\\n          -d '{\"ref\":\"master\", \"inputs\": { \"tagName\": \"${{ steps.tag_name.outputs.SOURCE_TAG }}\", \"repoName\": \"${{ github.event.repository.name }}\" } }' \\\n          -u \".:${{secrets.DOC_TOKEN}}\"\n", "state": "active", "repository": "milvus-io/pymilvus"}
{"mined_at": "2024-07-15T13:16:14.912807", "created_at": "2021-10-05T03:41:09+02:00", "updated_at": "2023-09-11T15:36:18+02:00", "name": "Build and Deploy Docs", "path": ".github/workflows/build_docs.yml", "contents": "name: Build and Deploy Docs\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\npermissions: write-all\n\njobs:\n  deploy_docs:\n    runs-on: ubuntu-latest\n        \n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # needed for tag/version\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Install package\n        shell: bash -l {0}\n        working-directory: docs\n        run: |\n          python -m pip install -r requirements.txt\n\n      - name: Build Documentation\n        shell: bash -l {0}\n        working-directory: docs\n        run: |\n          export QCArchiveUsername=${{ secrets.QCARCHIVEUSERNAME }}\n          export QCArchivePWD=${{ secrets.QCARCHIVEPWD }}\n          cd docs\n          make html\n\n      - name: Deploy Documentation\n        uses: JamesIves/github-pages-deploy-action@v4\n        if: github.event_name != 'pull_request'\n        with:\n          folder: docs/build/html\n", "state": "active", "repository": "molssi/qcfractal"}
{"mined_at": "2024-07-15T13:16:16.210947", "created_at": "2022-01-19T15:26:53+01:00", "updated_at": "2023-09-11T15:36:18+02:00", "name": "Core Tests", "path": ".github/workflows/core_tests.yml", "contents": "name: Core Tests\n\non:\n  push:\n    branches:\n      - main\n      - next\n    paths-ignore:\n      - 'docs/**'\n  pull_request:\n    branches:\n      - main\n      - next\n    paths-ignore:\n      - 'docs/**'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        encoding: [\"application/json\", \"application/msgpack\"]\n        \n    steps:\n      - name: Install postgres\n        run: sudo apt update && sudo apt install postgresql postgresql-contrib\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Clone the QCArchive repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Clone MaxMind test db repository\n        uses: actions/checkout@v4\n        with:\n          repository: maxmind/MaxMind-DB\n          path: qcarchivetesting/qcarchivetesting/MaxMind-DB\n\n      - name: Install All QCArchive packages\n        shell: bash -l {0}\n        run: |\n          pip install -e ./qcportal -e ./qcfractalcompute -e ./qcfractal[services,geoip,snowflake] -e ./qcarchivetesting\n          pip install scipy \"geometric @ git+https://github.com/leeping/geomeTRIC\"\n\n      - name: Run tests\n        shell: bash -l {0}\n        run: |\n          pytest --runslow --client-encoding=\"${{ matrix.encoding }}\" \\\n                 --log-level=DEBUG \\\n                 qcfractal qcportal qcfractalcompute\n\n", "state": "active", "repository": "molssi/qcfractal"}
{"mined_at": "2024-07-15T13:16:17.402470", "created_at": "2022-01-19T15:26:53+01:00", "updated_at": "2023-09-11T15:36:18+02:00", "name": "Full Suite End-to-end test", "path": ".github/workflows/full_tests.yml", "contents": "name: Full Suite End-to-end test\n\non:\n  push:\n    branches:\n      - main\n      - next\n    paths-ignore:\n      - 'docs/**'\n  pull_request:\n    branches:\n      - main\n      - next\n    paths-ignore:\n      - 'docs/**'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Clone the QCArchive repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          path: qcarchive\n\n\n      #################################################\n      # QCFractal Server\n      #################################################\n      - name: Configure conda for the QCFractal server\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          activate-environment: qcarchive-server\n          environment-file: qcarchive/qcarchivetesting/conda-envs/fulltest_server.yaml\n          auto-activate-base: false\n\n      - name: Install QCFractal\n        shell: bash -l {0}\n        run: |\n          pip install --no-deps -e ./qcarchive/qcportal -e ./qcarchive/qcfractalcompute -e ./qcarchive/qcfractal\n\n      - name: Conda info for the QCFractal server\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n\n      - name: Start the QCFractal server\n        shell: bash -l {0}\n        run: |\n          mkdir server; cd server\n          cp ../qcarchive/qcarchivetesting/qcarchivetesting/config_files/gha_fractal_server.yaml ./\n          qcfractal-server --config=gha_fractal_server.yaml init-db\n          qcfractal-server --config=gha_fractal_server.yaml start &\n\n\n      #################################################\n      # QCFractalCompute worker\n      #################################################\n      - name: Configure conda for QCFractalCompute worker\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          activate-environment: qcarchive-worker\n          environment-file: qcarchive/qcarchivetesting/conda-envs/fulltest_worker.yaml\n          auto-activate-base: false\n\n      - name: Install QCFractalCompute\n        shell: bash -l {0}\n        run: |\n          pip install --no-deps -e ./qcarchive/qcportal -e ./qcarchive/qcfractalcompute\n\n      - name: Conda info for the QCFractalCompute worker\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n\n      - name: Start the QCFractalCompute worker\n        shell: bash -l {0}\n        run: |\n          mkdir compute; cd compute\n          cp ../qcarchive/qcarchivetesting/qcarchivetesting/config_files/gha_fractal_compute.yaml ./\n          qcfractal-compute-manager --config=gha_fractal_compute.yaml &\n\n\n      #################################################\n      # QCPortal client\n      #################################################\n      - name: Configure conda for the QCPortal client\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          activate-environment: qcarchive-qcportal\n          environment-file: qcarchive/qcarchivetesting/conda-envs/fulltest_qcportal.yaml\n          auto-activate-base: false\n\n      - name: Install QCPortal\n        shell: bash -l {0}\n        run: |\n          pip install --no-deps -e ./qcarchive/qcportal\n          pip install pytest\n\n      - name: Conda info for the QCPortal client\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n\n\n      #################################################\n      # Run tests\n      #################################################\n      - name: Run Tests\n        shell: bash -l {0}\n        run: |\n          python3 -m venv testing_env\n          source testing_env/bin/activate\n          pip install --upgrade pip\n          cd qcarchive\n          pip install -e ./qcportal -e ./qcfractalcompute -e ./qcfractal -e ./qcarchivetesting\n          pytest --log-level=DEBUG --fractal-uri=\"http://127.0.0.1:7900\" qcarchivetesting\n\n      - name: Stop server & worker\n        shell: bash -l {0}\n        run: |\n          killall qcfractal-compute-manager\n          killall qcfractal-server\n", "state": "active", "repository": "molssi/qcfractal"}
{"mined_at": "2024-07-15T13:16:18.448202", "created_at": "2022-03-27T15:49:01+02:00", "updated_at": "2023-09-11T15:36:18+02:00", "name": "Full Snowflake End-to-end tests", "path": ".github/workflows/full_tests_snowflake.yml", "contents": "name: Full Snowflake End-to-end tests\n\non:\n  push:\n    branches:\n      - main\n      - next\n    paths-ignore:\n      - 'docs/**'\n  pull_request:\n    branches:\n      - main\n      - next\n    paths-ignore:\n      - 'docs/**'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        \n    steps:\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Clone the QCArchive repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Configure conda for the snowflake\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          activate-environment: qcarchive-snowflake\n          environment-file: qcarchivetesting/conda-envs/fulltest_snowflake.yaml\n          auto-activate-base: false\n\n      - name: Conda info\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n\n      - name: Install All QCArchive packages\n        shell: bash -l {0}\n        run: |\n          pip install --no-deps -e ./qcportal -e ./qcfractalcompute -e ./qcfractal -e ./qcarchivetesting\n\n      - name: Run Tests\n        shell: bash -l {0}\n        run: |\n          pytest --log-level=DEBUG --fractal-uri=\"snowflake\" qcarchivetesting\n", "state": "active", "repository": "molssi/qcfractal"}
{"mined_at": "2024-07-15T13:16:19.590501", "created_at": "2022-12-06T23:25:39+01:00", "updated_at": "2024-05-21T20:27:18+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '33 9 * * 2'\n\njobs:\n  analyze:\n    name: Analyze (${{ matrix.language }})\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners (GitHub.com only)\n    # Consider using larger runners or machines with greater resources for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # required to fetch internal or private CodeQL packs\n      packages: read\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - language: python\n          build-mode: none\n        # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'\n        # Use `c-cpp` to analyze code written in C, C++ or both\n        # Use 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,\n        # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.\n        # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how\n        # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        build-mode: ${{ matrix.build-mode }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n    # If the analyze step fails for one of the languages you are analyzing with\n    # \"We were unable to automatically build your code\", modify the matrix above\n    # to set the build mode to \"manual\" for that language. Then modify this step\n    # to build your code.\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n    - if: matrix.build-mode == 'manual'\n      shell: bash\n      run: |\n        echo 'If you are using a \"manual\" build mode for one or more of the' \\\n          'languages you are analyzing, replace this with the commands to build' \\\n          'your code, for example:'\n        echo '  make bootstrap'\n        echo '  make release'\n        exit 1\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "molssi/qcfractal"}
{"mined_at": "2024-07-15T13:16:20.715700", "created_at": "2022-12-19T22:36:57+01:00", "updated_at": "2022-12-19T22:36:57+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "molssi/qcfractal"}
{"mined_at": "2024-07-15T13:16:21.799911", "created_at": "2023-05-02T18:16:23+02:00", "updated_at": "2023-05-02T18:16:23+02:00", "name": "Full Suite End-to-end tests (old manager)", "path": ".github/workflows/full_tests_old.yml", "contents": null, "state": "active", "repository": "molssi/qcfractal"}
{"mined_at": "2024-07-15T13:16:23.907029", "created_at": "2020-08-14T22:20:05+02:00", "updated_at": "2020-08-14T22:20:05+02:00", "name": "CI", "path": ".github/workflows/ci_workflows.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n    - main\n    - 'v*'\n    tags:\n    - '*'\n  pull_request:\n  schedule:\n    # Weekly Monday 6AM build\n    # * is a special character in YAML so you have to quote this string\n    - cron: '0 6 * * 1'\n\n# Cancel duplicate builds\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        include:\n          # Make sure that packaging will work\n          - name: Lint with flake8\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: codestyle\n          - name: PEP 517 build\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: twine\n          - name: Security audit\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: bandit\n\n          # Basic tests\n          - name: Test with Python 3.9 on Linux\n            os: ubuntu-latest\n            python: '3.9'\n            toxenv: py39-test\n            toxposargs: -sv\n          - name: Test with Python 3.10 on OSX\n            os: macos-latest\n            python: '3.10'\n            toxenv: py310-test\n            toxposargs: -sv\n          - name: Test with Python 3.11 on Windows\n            os: windows-latest\n            python: '3.11'\n            toxenv: py311-test\n            toxposargs: -sv\n\n          - name: Test with old dependencies\n            os: ubuntu-latest\n            python: 3.8\n            toxenv: py38-test-oldestdeps\n            toxposargs: -sv\n\n          - name: Test with dev dependencies\n            os: ubuntu-latest\n            python: '3.12-dev'\n            toxenv: py312-test-devdeps\n            toxposargs: -sv\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip tox\n    - name: Run tests\n      run: tox -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}\n\n  # tox does not play well with conda\n  conda_linux_tests:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install and build\n      run: |\n        # $CONDA is an environment variable pointing to the root of the miniconda directory\n        $CONDA/bin/conda update -n base -c defaults conda\n        $CONDA/bin/conda install pip setuptools setuptools_scm\n        $CONDA/bin/conda install qtpy pyqt matplotlib\n        $CONDA/bin/conda install attrs \"astropy>=5.2\" pytest-astropy-header pytest-doctestplus pytest-remotedata -c conda-forge\n        $CONDA/bin/pip install -e .\n    - name: Run tests\n      run: $CONDA/bin/pytest --pyargs ginga doc -sv\n", "state": "active", "repository": "ejeschke/ginga"}
{"mined_at": "2024-07-15T13:16:25.006302", "created_at": "2021-01-05T01:23:11+01:00", "updated_at": "2021-01-05T01:23:11+01:00", "name": "When Opened", "path": ".github/workflows/open_actions.yml", "contents": "name: When Opened\n\non:\n  pull_request_target:\n    types:\n    - opened\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Label PR\n      uses: actions/labeler@v5\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "ejeschke/ginga"}
{"mined_at": "2024-07-15T13:16:25.993150", "created_at": "2022-12-08T19:19:13+01:00", "updated_at": "2022-12-15T02:06:24+01:00", "name": "rc-testing", "path": ".github/workflows/predeps_workflow.yml", "contents": "name: rc-testing\n\non:\n  workflow_dispatch:\n\n# Cancel duplicate builds\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        include:\n          # Basic tests but with RC\n          - name: Test with Python 3.9 on Linux\n            os: ubuntu-latest\n            python: '3.9'\n            toxenv: py39-test-predeps\n            toxposargs: -sv\n          - name: Test with Python 3.10 on OSX\n            os: macos-latest\n            python: '3.10'\n            toxenv: py310-test-predeps\n            toxposargs: -sv\n          - name: Test with Python 3.11 on Windows\n            os: windows-latest\n            python: '3.11'\n            toxenv: py311-test-predeps\n            toxposargs: -sv\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip tox\n    - name: Run tests\n      run: tox -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}\n", "state": "active", "repository": "ejeschke/ginga"}
{"mined_at": "2024-07-15T13:16:28.007635", "created_at": "2020-12-18T12:08:40+01:00", "updated_at": "2021-12-14T15:34:42+01:00", "name": "Run tests", "path": ".github/workflows/test.yml", "contents": "name: Run tests\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install Python dependencies\n        run: |\n          pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install -r requirements.dev.txt\n\n      - name: Install Node\n        uses: actions/setup-node@v2\n        with:\n          node-version: '16'\n\n      - name: Ensure JS and CSS are up-to-date\n        run: |\n          echo \"Runnign npm install\"\n          npm install\n          echo \"Running npm run build\"\n          npm run build\n\n      - name: Django check\n        run: python manage.py check --settings=foundation.settings\n\n      - name: Ensure migrations are up-to-date\n        run: |\n          # show migrations\n          python manage.py makemigrations --dry-run --verbosity 3\n          # run manually a migration for plugin\n          # See https://github.com/django-cms/djangocms-picture/issues/122\n          python manage.py makemigrations djangocms_picture\n          # check migrations\n          python manage.py makemigrations --check\n\n      - name: Run tests\n        run: |\n          coverage run manage.py test\n          coverage xml\n\n      - name: Check coding standards\n        run: flake8 .\n\n      - name: Upload coverage report to codecov\n        uses: codecov/codecov-action@v1\n        with:\n          file: ./coverage.xml\n", "state": "active", "repository": "okfn/website"}
{"mined_at": "2024-07-15T13:16:30.170705", "created_at": "2023-03-16T12:22:05+01:00", "updated_at": "2023-07-14T10:56:48+02:00", "name": "Accessibility tests", "path": ".github/workflows/accessibility.yml", "contents": "name: Accessibility tests\non:\n  pull_request:\n    branches: [ develop ]\n\njobs:\n  test_a11y:\n    name: Accessibility testing with ${{ matrix.package }}\n    runs-on: ubuntu-latest\n    continue-on-error: true # currently we expect these tests to fail\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n        # two options for package: \"pa11y\" and \"lighthouse\"\n        # both options use axe-core ruleset for a11y tests\n        # pa11y runs faster and produces smaller artifacts\n        # lighthouse includes performance tests and other checks for non-a11y best practices\n        # for now, just use pa11y as we focus on improving a11y specifically\n        package: [\"pa11y\"] \n      fail-fast: false # don't cancel lighthouse job if pa11y fails, and vice versa\n    env:\n      AMY_DATABASE_HOST: localhost\n      AMY_DATABASE_PORT: 5432\n      AMY_DATABASE_NAME: test_amy\n      AMY_DATABASE_USER: postgres\n      AMY_DATABASE_PASSWORD: postgres  \n      AMY_INSTRUCTOR_RECRUITMENT_ENABLED: True\n\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: test_amy\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n      \n    steps:\n\n      # Database setup\n\n      - name: Check out code\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install pipenv\n          pipenv sync --dev\n\n      - name: Set up Node\n        uses: actions/setup-node@v3\n        with:\n          node-version: 16\n\n      - name: Install NodeJS dependencies\n        run: npm install\n\n      - name: Check migrations\n        run: |\n          pipenv run python manage.py makemigrations --dry-run --check;\n          if [[ $? != \"0\" ]]; then\n            exit 1;\n          fi;\n\n      - name: Collect static files\n        run: |\n          pipenv run python manage.py collectstatic --no-input;\n          if [[ $? != \"0\" ]]; then\n            exit 1;\n          fi;\n\n      - name: Set up dev database\n        run: |\n          echo \"yes\" | pipenv run make dev_database\n\n      - name: Set up Chromium\n        id: setup-chrome\n        uses: browser-actions/setup-chrome@v1\n        with:\n          chrome-version: latest\n\n      # Lighthouse\n\n      - name: run Lighthouse CI\n        run: |\n          npm install -g @lhci/cli@0.12.x \n          npm install -g puppeteer\n          lhci autorun\n        env:\n          CHROME_PATH: ${{ steps.setup-chrome.outputs.chrome-path }}\n        if: matrix.package == 'lighthouse'\n\n      - name: Upload Lighthouse test results\n        uses: actions/upload-artifact@v3\n        with:\n          name: lighthouse-ci-report\n          path: lighthouse-ci-report/\n        if: matrix.package == 'lighthouse'\n\n      # Pa11y\n      \n      - name: Start server in background\n        run: |\n          pipenv run make serve &\n        if: matrix.package == 'pa11y'\n\n      - name: Run pa11y\n        run: |\n          npm install -g pa11y-ci pa11y-ci-reporter-html\n          pa11y-ci\n        if: matrix.package == 'pa11y'\n        continue-on-error: true\n\n      - name: Upload pa11y test results\n        uses: actions/upload-artifact@v3\n        with:\n          name: pa11y-ci-report\n          path: pa11y-ci-report/\n        if: matrix.package == 'pa11y'", "state": "active", "repository": "carpentries/amy"}
{"mined_at": "2024-07-15T13:16:31.366006", "created_at": "2020-11-10T06:42:38+01:00", "updated_at": "2020-11-10T06:42:38+01:00", "name": "build docs", "path": ".github/workflows/build-docs.yml", "contents": "name: build docs\non:\n  push:\n    branches:\n      - develop\nenv:\n  GH_TOKEN: ${{ secrets.GH_TOKEN }}\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n      - run: pip install mkdocs-material\n      - run: mkdocs gh-deploy --force\n", "state": "active", "repository": "carpentries/amy"}
{"mined_at": "2024-07-15T13:16:32.595436", "created_at": "2023-01-23T06:58:11+01:00", "updated_at": "2023-01-23T06:58:11+01:00", "name": "CI/CD (develop)", "path": ".github/workflows/cicd_develop.yml", "contents": "# CI/CD for develop branch\n\nname: CI/CD (develop)\n\non:\n  push:\n    branches: [ develop ]\n  pull_request:\n    branches: [ develop ]\n\njobs:\n  test:\n    uses: ./.github/workflows/test.yml\n\n  build:\n    name: Build Docker image and push to ECR\n    needs: test\n    environment: staging\n    if: github.event_name == 'push'\n    runs-on: ubuntu-latest\n\n    outputs:\n      image: ${{ steps.build-image.outputs.image }}\n\n    permissions:\n      id-token: write\n\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n\n    - name: Configure AWS Credentials\n      uses: aws-actions/configure-aws-credentials@v1-node16\n      with:\n        role-to-assume: ${{ vars.AWS_ECR_ROLE_TO_ASSUME }}\n        aws-region: ${{ vars.AWS_REGION }}\n        mask-aws-account-id: false\n\n    - name: Login to Amazon ECR\n      id: login-ecr\n      uses: aws-actions/amazon-ecr-login@v1\n\n    - name: Build, tag, and push image to Amazon ECR\n      id: build-image\n      env:\n        ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}\n        ECR_REPOSITORY: ${{ vars.AMY_ECR_REPO_NAME }}\n      run: |\n        docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$GITHUB_SHA -f docker/Dockerfile .\n        docker push $ECR_REGISTRY/$ECR_REPOSITORY:$GITHUB_SHA\n        echo \"image=$ECR_REGISTRY/$ECR_REPOSITORY:$GITHUB_SHA\" >> $GITHUB_OUTPUT\n\n  deploy:\n    name: Deploy to ECS\n    needs: build\n    environment: staging\n    if: github.event_name == 'push'\n    runs-on: ubuntu-latest\n\n    permissions:\n      id-token: write\n\n    steps:\n    - name: Configure AWS Credentials\n      uses: aws-actions/configure-aws-credentials@v1-node16\n      with:\n        role-to-assume: ${{ vars.AWS_ECS_ROLE_TO_ASSUME }}\n        aws-region: ${{ vars.AWS_REGION }}\n        mask-aws-account-id: false\n\n    - name: Download task definition\n      env:\n        TASK_DEFINITION_FAMILY: ${{ vars.AMY_ECS_TASK_DEFINITION_FAMILY }}\n      run: |\n        aws ecs describe-task-definition --task-definition $TASK_DEFINITION_FAMILY --query taskDefinition > task-definition.json\n\n    - name: Fill in the new image ID in the Amazon ECS task definition\n      id: task-def\n      uses: aws-actions/amazon-ecs-render-task-definition@v1\n      with:\n        task-definition: task-definition.json\n        container-name: ${{ vars.AMY_ECS_TASK_DEFINITION_CONTAINER_NAME }}\n        image: ${{ needs.build.outputs.image }}\n\n    - name: Deploy Amazon ECS task definition\n      uses: aws-actions/amazon-ecs-deploy-task-definition@v1\n      with:\n        task-definition: ${{ steps.task-def.outputs.task-definition }}\n        service: ${{ vars.AMY_ECS_SERVICE_NAME }}\n        cluster: ${{ vars.AMY_ECS_CLUSTER_NAME }}\n        force-new-deployment: true\n", "state": "active", "repository": "carpentries/amy"}
{"mined_at": "2024-07-15T13:16:33.720812", "created_at": "2023-06-19T14:12:04+02:00", "updated_at": "2023-06-28T17:47:52+02:00", "name": "CI (feature)", "path": ".github/workflows/cicd_feature_branch.yml", "contents": "# CI for feature branches - contains only test runs\n\nname: CI (feature)\n\n# don't run CI for every push of any feature branch\n# but do run CI if a PR is made with any feature branch as a base\non:\n  pull_request:\n    branches: [ 'feature/**' ]\n\njobs:\n  test:\n    uses: ./.github/workflows/test.yml", "state": "active", "repository": "carpentries/amy"}
{"mined_at": "2024-07-15T13:16:34.713301", "created_at": "2023-01-23T06:58:11+01:00", "updated_at": "2023-01-23T06:58:11+01:00", "name": "CI/CD (main)", "path": ".github/workflows/cicd_main.yml", "contents": "# CI/CD for main branch - contains only test runs\n\nname: CI/CD (main)\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  test:\n    uses: ./.github/workflows/test.yml\n", "state": "active", "repository": "carpentries/amy"}
{"mined_at": "2024-07-15T13:16:35.722120", "created_at": "2020-06-26T16:25:50+02:00", "updated_at": "2020-06-26T16:25:50+02:00", "name": "Code scanning - action", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"Code scanning - action\"\n\non:\n  push:\n    branches:\n    - main\n    - develop\n  pull_request:\n    branches: [ main, develop ]\n  schedule:\n    - cron: '0 2 * * 1'\n\njobs:\n  CodeQL-Build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      # Override language selection by uncommenting this and choosing your languages\n      with:\n        languages: javascript, python\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "carpentries/amy"}
{"mined_at": "2024-07-15T13:16:36.793262", "created_at": "2021-05-30T10:19:22+02:00", "updated_at": "2021-06-04T08:11:04+02:00", "name": "Lint Code Base", "path": ".github/workflows/linter.yml", "contents": "---\nname: Lint Code Base\n# Documentation:\n# https://help.github.com/en/articles/workflow-syntax-for-github-actions\n\non:\n  pull_request:\n    branches: [ main, develop ]\n\njobs:\n  build:\n    name: Lint Code Base\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Lint Code Base\n        uses: github/super-linter@v5\n        env:\n          DEFAULT_BRANCH: develop\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          LINTER_RULES_PATH: /\n          PYTHON_BLACK_CONFIG_FILE: pyproject.toml\n          PYTHON_ISORT_CONFIG_FILE: pyproject.toml\n          PYTHON_FLAKE8_CONFIG_FILE: .flake8\n          FILTER_REGEX_EXCLUDE: (.*/migrations/.*|urls\\.py)\n          VALIDATE_ALL_CODEBASE: false\n          VALIDATE_PYTHON_BLACK: true\n          VALIDATE_PYTHON_FLAKE8: true\n          VALIDATE_PYTHON_ISORT: true\n", "state": "active", "repository": "carpentries/amy"}
{"mined_at": "2024-07-15T13:16:37.904168", "created_at": "2023-01-23T06:58:12+01:00", "updated_at": "2023-01-23T06:58:12+01:00", "name": ".github/workflows/test.yml", "path": ".github/workflows/test.yml", "contents": "# reusable workflow\n\non:\n  workflow_call\n\njobs:\n  test:\n    name: ${{ matrix.test-type }} tests on Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ '3.11' ]\n        test-type: [\"Unit\", \"Migration\"]\n      fail-fast: false\n\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: test_amy\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n      \n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install pipenv\n        pipenv sync --dev\n\n    - name: Install NodeJS dependencies\n      run: npm install\n\n    - name: Check migrations\n      run: |\n        pipenv run python manage.py makemigrations --dry-run --check;\n        if [[ $? != \"0\" ]]; then\n          exit 1;\n        fi;\n      env:\n        AMY_DATABASE_HOST: localhost\n        AMY_DATABASE_PORT: 5432\n        AMY_DATABASE_NAME: test_amy\n        AMY_DATABASE_USER: postgres\n        AMY_DATABASE_PASSWORD: postgres\n\n    - name: Create cache tables\n      run: |\n        pipenv run python manage.py createcachetable\n      env:\n        AMY_DATABASE_HOST: localhost\n        AMY_DATABASE_PORT: 5432\n        AMY_DATABASE_NAME: test_amy\n        AMY_DATABASE_USER: postgres\n        AMY_DATABASE_PASSWORD: postgres\n\n    - name: Collect static files\n      run: |\n        pipenv run python manage.py collectstatic --no-input;\n        if [[ $? != \"0\" ]]; then\n          exit 1;\n        fi;\n\n    - name: Unit tests\n      run: pipenv run python manage.py test --exclude-tag=migration_test\n      env:\n        AMY_DATABASE_HOST: localhost\n        AMY_DATABASE_PORT: 5432\n        AMY_DATABASE_NAME: test_amy\n        AMY_DATABASE_USER: postgres\n        AMY_DATABASE_PASSWORD: postgres\n      if: matrix.test-type == 'Unit'\n\n    - name: Migration tests\n      run: pipenv run python manage.py test --tag=migration_test\n      env:\n        AMY_DATABASE_HOST: localhost\n        AMY_DATABASE_PORT: 5432\n        AMY_DATABASE_NAME: test_amy\n        AMY_DATABASE_USER: postgres\n        AMY_DATABASE_PASSWORD: postgres\n      if: matrix.test-type == 'Migration'\n", "state": "active", "repository": "carpentries/amy"}
{"mined_at": "2024-07-15T13:16:38.938324", "created_at": "2022-01-03T21:15:22+01:00", "updated_at": "2022-01-03T21:15:22+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "carpentries/amy"}
{"mined_at": "2024-07-15T13:16:41.606982", "created_at": "2023-10-25T14:56:41+02:00", "updated_at": "2023-10-25T14:56:41+02:00", "name": "xcube docker build", "path": ".github/workflows/xcube_build_docker.yaml", "contents": "name: xcube docker build\n\non:\n  workflow_dispatch:\n\nenv:\n  APP_NAME: xcube\n  ORG_NAME: bcdev\n  IMG_REG_NAME: quay.io\n\njobs:\n  build-docker-image-and-push:\n    runs-on: ubuntu-latest\n    # Build the docker image and push to quay.io\n    name: build-docker-image\n    steps:\n      # Determine latest release tag\n      - name: Get latest release\n        id: latest_release\n        run: |\n            LATEST_RELEASE=$(curl --silent \"https://api.github.com/repos/dcs4cop/xcube/releases/latest\" | jq -r .tag_name)\n            echo \"::set-output name=release_tag::$LATEST_RELEASE\"\n\n      # checkout the repo with the release tag from previous step\n      - name: git-checkout\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ steps.latest_release.outputs.release_tag }}\n\n      # Print some info\n      - name: info\n        id: info\n        run: |\n          echo \"TAG: ${{ steps.latest_release.outputs.release_tag }}\"\n          echo \"EVENT: ${{ github.event_name }}\"\n\n      # Build and push docker release to quay.io\n      - name: push-docker-image-with-release-tag\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: ${{ env.ORG_NAME }}/${{ env.APP_NAME }}\n          tags: ${{ steps.latest_release.outputs.release_tag }}\n          registry: ${{ env.IMG_REG_NAME }}\n          username: ${{ secrets.IMG_REG_USERNAME }}\n          password: ${{ secrets.IMG_REG_PASSWORD }}\n", "state": "active", "repository": "dcs4cop/xcube"}
{"mined_at": "2024-07-15T13:16:42.952167", "created_at": "2024-05-22T10:05:18+02:00", "updated_at": "2024-05-22T10:05:18+02:00", "name": "publish to PyPI", "path": ".github/workflows/xcube_publish_pypi.yml", "contents": null, "state": "active", "repository": "dcs4cop/xcube"}
{"mined_at": "2024-07-15T13:16:44.183063", "created_at": "2024-05-21T12:16:38+02:00", "updated_at": "2024-05-21T12:16:38+02:00", "name": "publish to TestPyPI", "path": ".github/workflows/xcube_publish_testpypi.yml", "contents": null, "state": "active", "repository": "dcs4cop/xcube"}
{"mined_at": "2024-07-15T13:16:45.493091", "created_at": "2021-07-06T08:21:11+02:00", "updated_at": "2024-05-14T12:42:58+02:00", "name": "Unittest and docker builds", "path": ".github/workflows/xcube_workflow.yaml", "contents": "name: Unittest and docker builds\n\non:\n  push:\n  release:\n    types: [published]\n\nenv:\n  APP_NAME: xcube\n  ORG_NAME: bcdev\n  IMG_REG_NAME: quay.io\n\njobs:\n  unittest:\n    runs-on: ubuntu-latest\n    env:\n      NUMBA_DISABLE_JIT: 1\n    steps:\n      - uses: actions/checkout@v2\n      # Setup miniconda build env\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          micromamba-version: '1.4.8-0'\n          environment-file: environment.yml\n          init-shell: >-\n            bash\n          cache-environment: true\n          post-cleanup: 'all'\n      # Setup xcube\n      - name: setup-xcube\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n          python setup.py develop\n      # Run unittests\n      - name: unittest-xcube\n        shell: bash -l {0}\n        run: |\n          pip install pytest pytest-cov\n\n          pytest --cov=./ --cov-report=xml\n      - uses: codecov/codecov-action@v1\n        with:\n          verbose: true # optional (default = false)\n  build-docker-image:\n    runs-on: ubuntu-latest\n    # Build the docker image and push to quay.io\n    name: build-docker-image\n    # Only run if unittests succeed\n    needs: unittest\n    steps:\n      - name: git-checkout\n        uses: actions/checkout@v2\n      # Determine release tag from git ref\n      - name: get-release-tag\n        id: release\n        run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}\n      # Print some info\n      - name: info\n        id: info\n        run: |\n          echo \"TAG: ${{ steps.release.outputs.tag }}\"\n          echo \"EVENT: ${{ github.event_name }}\"\n      # commented out the below step to avoid building docker image for each\n      # commit to master, rather build and push the xcube docker image only on\n      # event type release\n      # Build and push docker image 'latest' to quay.io when the event is a 'push' and branch 'master'\n#      - uses: mr-smithers-excellent/docker-build-push@v5\n#        name: build-push-docker-image-latest\n#        if: ${{ github.event_name == 'push' && steps.release.outputs.tag == 'master'  }}\n#        with:\n#          image: ${{ env.ORG_NAME }}/${{ env.APP_NAME }}\n#          tags: master, latest\n#          registry: ${{ env.IMG_REG_NAME }}\n#          username: ${{ secrets.IMG_REG_USERNAME }}\n#          password: ${{ secrets.IMG_REG_PASSWORD }}\n      # Build and push docker release to quay.io when the event is a 'release'\n      - uses: mr-smithers-excellent/docker-build-push@v5\n        name: build-push-docker-image-release\n        if: ${{ github.event_name == 'release' }}\n        with:\n          image: ${{ env.ORG_NAME }}/${{ env.APP_NAME }}\n          tags: ${{ steps.release.outputs.tag }}\n          registry: ${{ env.IMG_REG_NAME }}\n          username: ${{ secrets.IMG_REG_USERNAME }}\n          password: ${{ secrets.IMG_REG_PASSWORD }}\n  update-version:\n    runs-on: ubuntu-latest\n    needs: build-docker-image\n    name: update-xcube-tag\n    steps:\n      - name: Get installation token\n        id: get_installation_token\n        uses: tibdex/github-app-token@v1\n        with:\n          app_id: ${{ secrets.TOKEN_PROVIDER_APP_ID }}\n          private_key: ${{ secrets.TOKEN_PROVIDER_KEY }}\n          repository: bc-org/k8s-configs\n          # the installationId of the GitHub app we are using\n          installationId: 36950178\n      - name: git-checkout\n        uses: actions/checkout@v2\n      - name: checkout-k8s\n        run: |\n          git clone https://x-access-token:${{ steps.get_installation_token.outputs.token }}@github.com/bc-org/k8s-configs.git\n          mv k8s-configs k8s\n      - name: get-release-tag\n        id: release\n        run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}\n      - name: deployment-phase\n        id: deployment-phase\n        uses: bc-org/gha-determine-phase@v0.1\n        with:\n          event_name: ${{ github.event_name }}\n          tag: ${{ steps.release.outputs.tag }}\n      - name: get-hash\n        id: get-hash\n        run: |\n          HASH=$(skopeo inspect docker://${{ env.IMG_REG_NAME }}/${{ env.ORG_NAME }}/${{ env.APP_NAME }}:${{ steps.release.outputs.tag }} | jq '.Digest')\n          if [[ \"$HASH\" == *\"sha256\"* ]]; then\n            echo ::set-output name=hash::$HASH\n          else\n            echo \"No hash present. Using none as hash. This will use the version tag instead for deployment.\"\n            echo ::set-output name=hash::none\n          fi\n      - name: info\n        run: |\n          echo \"Event: ${{ github.event_name }}\"\n          echo \"Deployment Stage: ${{ steps.deployment-phase.outputs.phase }}\"\n\n          echo \"Release Tag: ${{ steps.release.outputs.tag }}\"\n          echo \"Deployment Release Tag: ${{ steps.deployment-phase.outputs.tag }}\"\n          echo \"Deployment Digest: ${{ steps.get-hash.outputs.hash }}\"\n      - name: set-version-tag-xcube-gen\n        uses: bc-org/update-application-version-tags@main\n        with:\n          app: ${{ env.APP_NAME }}\n          phase: ${{ steps.deployment-phase.outputs.phase }}\n          delimiter: ' '\n          tag: ${{ steps.deployment-phase.outputs.tag }}\n          hash: ${{ steps.get-hash.outputs.hash }}\n          working-directory: ./k8s/xcube-gen/helm\n      - name: cat-result\n        working-directory: ./k8s/xcube-gen/helm\n        run: |\n          head values-dev.yaml\n          head values-stage.yaml\n          head values-prod.yaml\n      - name: Pushes to another repository\n        # Don't run if run locally and should be ignored\n        if: ${{ steps.deployment-phase.outputs.phase != 'ignore' && !env.ACT }}\n        run: |\n          cd ./k8s\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git commit -am \"${{ github.event.release }}. Set version to ${{ steps.release.outputs.tag }}.\"\n          git remote set-url origin https://x-access-token:${{ steps.get_installation_token.outputs.token }}@github.com/bc-org/k8s-configs.git\n          git push origin main\n", "state": "active", "repository": "dcs4cop/xcube"}
{"mined_at": "2024-07-15T13:16:46.716904", "created_at": "2022-01-06T09:00:35+01:00", "updated_at": "2022-01-06T09:00:35+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "dcs4cop/xcube"}
{"mined_at": "2024-07-15T13:16:48.970236", "created_at": "2023-04-28T00:10:21+02:00", "updated_at": "2023-05-03T15:48:20+02:00", "name": "Test Emscripten/Pyodide build", "path": ".github/workflows/build-pyodide.yml", "contents": null, "state": "active", "repository": "neurostuff/nimare"}
{"mined_at": "2024-07-15T13:16:50.108254", "created_at": "2022-02-18T16:22:52+01:00", "updated_at": "2022-02-18T17:50:48+01:00", "name": "Lint Code", "path": ".github/workflows/linting.yml", "contents": "name: \"Lint Code\"\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - '*'\n\nconcurrency:\n  group: linting-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Determine if tests should be run based on commit message.\n  check_skip:\n    runs-on: ubuntu-latest\n    outputs:\n      skip: ${{ steps.result_step.outputs.ci-skip }}\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - id: result_step\n        uses: mstachniuk/ci-skip@master\n        with:\n          commit-filter: '[skip ci];[ci skip];[skip github]'\n          commit-filter-separator: ';'\n\n  style_check:\n    needs: check_skip\n    if: ${{ needs.check_skip.outputs.skip == 'false' }}\n    runs-on: \"ubuntu-latest\"\n    strategy:\n        fail-fast: false\n        matrix:\n            os: [\"ubuntu-latest\"]\n            python-version: [\"3.8\"]\n    name: Style check\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v2\n      - name: 'Set up python'\n        uses: actions/setup-python@v2\n        with:\n            python-version: ${{ matrix.python-version }}\n      - name: 'Install NiMARE'\n        shell: bash {0}\n        run: pip install -e .[tests]\n      - name: 'Run linter'\n        shell: bash {0}\n        run: make lint\n", "state": "active", "repository": "neurostuff/nimare"}
{"mined_at": "2024-07-15T13:16:51.231923", "created_at": "2021-02-05T22:24:12+01:00", "updated_at": "2021-02-05T22:24:12+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "neurostuff/nimare"}
{"mined_at": "2024-07-15T13:16:52.360081", "created_at": "2022-02-16T21:57:55+01:00", "updated_at": "2022-02-18T17:50:48+01:00", "name": "Run Tests", "path": ".github/workflows/testing.yml", "contents": "name: \"Run Tests\"\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - '*'\n\nconcurrency:\n  group: testing-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Determine if tests should be run based on commit message.\n  check_skip:\n    name: Determine if CI should be skipped\n    runs-on: ubuntu-latest\n    outputs:\n      skip: ${{ steps.result_step.outputs.ci-skip }}\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - id: result_step\n        uses: mstachniuk/ci-skip@master\n        with:\n          commit-filter: '[skip ci];[ci skip];[skip github]'\n          commit-filter-separator: ';'\n\n  run_unit_tests:\n    name: Unit tests\n    needs: check_skip\n    if: ${{ needs.check_skip.outputs.skip == 'false' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n        fail-fast: false\n        matrix:\n            os: [\"ubuntu-latest\", \"macos-latest\"]\n            python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v2\n      - name: 'Set up python'\n        uses: actions/setup-python@v2\n        with:\n            python-version: ${{ matrix.python-version }}\n      - name: 'Install NiMARE'\n        shell: bash {0}\n        run: pip install -e .[tests,cbmr]\n      - name: 'Run tests'\n        shell: bash {0}\n        run: make unittest\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: unit_${{ matrix.os }}_${{ matrix.python-version }}\n          path: coverage.xml\n        if: success()\n\n  run_unit_tests_with_minimum_dependencies:\n    name: Unit tests with minimum dependency versions\n    needs: check_skip\n    if: ${{ needs.check_skip.outputs.skip == 'false' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n        fail-fast: false\n        matrix:\n            os: [\"ubuntu-latest\"]\n            python-version: [\"3.8\"]\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v2\n      - name: 'Set up python'\n        uses: actions/setup-python@v2\n        with:\n            python-version: 3.8\n      - name: 'Install NiMARE'\n        shell: bash {0}\n        run: pip install -e .[minimum,tests,cbmr]\n      - name: 'Run tests'\n        shell: bash {0}\n        run: make unittest\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: unit_minimum\n          path: coverage.xml\n        if: success()\n\n  test_performance_estimators:\n    name: Estimator performance tests\n    needs: check_skip\n    if: ${{ needs.check_skip.outputs.skip == 'false' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n        fail-fast: false\n        matrix:\n            os: [\"ubuntu-latest\"]\n            python-version: [\"3.8\"]\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v2\n      - name: 'Set up python'\n        uses: actions/setup-python@v2\n        with:\n            python-version: ${{ matrix.python-version }}\n      - name: 'Install NiMARE'\n        shell: bash {0}\n        run: pip install -e .[tests,cbmr]\n      - name: 'Run tests'\n        shell: bash {0}\n        run: make test_performance_estimators\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: performance_estimator\n          path: coverage.xml\n        if: success()\n\n  test_performance_correctors:\n    name: Corrector performance tests\n    needs: check_skip\n    if: ${{ needs.check_skip.outputs.skip == 'false' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n        fail-fast: false\n        matrix:\n            os: [\"ubuntu-latest\"]\n            python-version: [\"3.8\"]\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v2\n      - name: 'Set up python'\n        uses: actions/setup-python@v2\n        with:\n            python-version: ${{ matrix.python-version }}\n      - name: 'Install NiMARE'\n        shell: bash {0}\n        run: pip install -e .[tests,cbmr]\n      - name: 'Run tests'\n        shell: bash {0}\n        run: make test_performance_correctors\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: performance_corrector\n          path: coverage.xml\n        if: success()\n\n  test_performance_smoke:\n    name: Smoke performance tests\n    needs: check_skip\n    if: ${{ needs.check_skip.outputs.skip == 'false' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n        fail-fast: false\n        matrix:\n            os: [\"ubuntu-latest\"]\n            python-version: [\"3.8\"]\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v2\n      - name: 'Set up python'\n        uses: actions/setup-python@v2\n        with:\n            python-version: ${{ matrix.python-version }}\n      - name: 'Install NiMARE'\n        shell: bash {0}\n        run: pip install -e .[tests,cbmr]\n      - name: 'Run tests'\n        shell: bash {0}\n        run: make test_performance_smoke\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: performance_smoke\n          path: coverage.xml\n        if: success()\n\n  test_cbmr_importerror:\n    name: CBMR ImportError tests\n    needs: check_skip\n    if: ${{ needs.check_skip.outputs.skip == 'false' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n        fail-fast: false\n        matrix:\n            os: [\"ubuntu-latest\"]\n            python-version: [\"3.8\"]\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v2\n      - name: 'Set up python'\n        uses: actions/setup-python@v2\n        with:\n            python-version: ${{ matrix.python-version }}\n      - name: 'Install NiMARE'\n        shell: bash {0}\n        run: pip install -e .[tests]\n      - name: 'Run tests'\n        shell: bash {0}\n        run: make test_cbmr_importerror\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: cbmr_importerror\n          path: coverage.xml\n        if: success()\n\n  upload_to_codecov:\n    name: Upload coverage\n    needs: [run_unit_tests,run_unit_tests_with_minimum_dependencies,test_performance_estimators,test_performance_correctors,test_performance_smoke,test_cbmr_importerror]\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Download artifacts\n        uses: actions/download-artifact@v2\n      - name: Upload to CodeCov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "neurostuff/nimare"}
{"mined_at": "2024-07-15T13:16:53.480640", "created_at": "2022-05-29T17:25:27+02:00", "updated_at": "2022-06-13T21:15:46+02:00", "name": "Update Changelog", "path": ".github/workflows/update-changelog.yml", "contents": "name: \"Update Changelog\"\n\non:\n  release:\n    types: [released]\n\njobs:\n  update:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.PAT }}\n          ref: main\n\n      - name: Update Changelog\n        uses: stefanzweifel/changelog-updater-action@v1\n        with:\n          release-notes: ${{ github.event.release.body }}\n          latest-version: ${{ github.event.release.name }}\n\n      - name: Commit updated CHANGELOG\n        uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          branch: main\n          commit_message: \"[skip ci] Update CHANGELOG\"\n          file_pattern: CHANGELOG.md", "state": "active", "repository": "neurostuff/nimare"}
{"mined_at": "2024-07-15T13:16:54.610876", "created_at": "2023-04-28T00:10:21+02:00", "updated_at": "2023-04-28T00:10:21+02:00", "name": "Wheel builder", "path": ".github/workflows/wheels.yml", "contents": null, "state": "active", "repository": "neurostuff/nimare"}
{"mined_at": "2024-07-15T13:16:56.629898", "created_at": "2021-03-27T17:12:20+01:00", "updated_at": "2021-04-27T20:53:24+02:00", "name": "Auto approve", "path": ".github/workflows/auto-approve.yml", "contents": "name: Auto approve\n\non:\n  pull_request_target\n\njobs:\n  auto-approve:\n    runs-on: ubuntu-latest\n    if: |\n      (\n        github.event.pull_request.user.login == 'dependabot[bot]' ||\n        github.event.pull_request.user.login == 'dependabot' ||\n        github.event.pull_request.user.login == 'dependabot-preview[bot]' ||\n        github.event.pull_request.user.login == 'dependabot-preview' ||\n        github.event.pull_request.user.login == 'renovate[bot]' ||\n        github.event.pull_request.user.login == 'renovate' ||\n        github.event.pull_request.user.login == 'github-actions[bot]' ||\n        github.event.pull_request.user.login == 'pre-commit-ci' ||\n        github.event.pull_request.user.login == 'pre-commit-ci[bot]'\n      )\n        &&\n      (\n        github.actor == 'dependabot[bot]' ||\n        github.actor == 'dependabot' ||\n        github.actor == 'dependabot-preview[bot]' ||\n        github.actor == 'dependabot-preview' ||\n        github.actor == 'renovate[bot]' ||\n        github.actor == 'renovate' ||\n        github.actor == 'github-actions[bot]' ||\n        github.actor == 'pre-commit-ci' ||\n        github.actor == 'pre-commit-ci[bot]'\n      )\n    steps:\n      - uses: hmarr/auto-approve-action@v4\n        with:\n          github-token: ${{ secrets.PAT_TOKEN }}\n", "state": "active", "repository": "tj-django/django-clone"}
{"mined_at": "2024-07-15T13:16:57.785840", "created_at": "2021-05-11T17:08:45+02:00", "updated_at": "2023-08-04T19:28:36+02:00", "name": "Auto-merge", "path": ".github/workflows/auto-merge.yml", "contents": "name: Auto-merge\non:\n  pull_request_target:\n    branches:\n      - main\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v2\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: Enable auto-merge for Dependabot PRs\n        if: |\n          (\n            steps.metadata.outputs.update-type == 'version-update:semver-minor' ||\n            steps.metadata.outputs.update-type == 'version-update:semver-patch'\n          )\n        run: gh pr merge --auto --squash \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.PAT_TOKEN}}\n  pre-commit-ci:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.pull_request.user.login == 'pre-commit-ci[bot]' }}\n    steps:\n      - name: Enable auto-merge for Pre-commit PRs\n        run: gh pr merge --auto --squash \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.PAT_TOKEN}}\n", "state": "active", "repository": "tj-django/django-clone"}
{"mined_at": "2024-07-15T13:16:58.820720", "created_at": "2021-07-19T21:19:42+02:00", "updated_at": "2021-07-30T19:33:47+02:00", "name": "Codacy Security Scan", "path": ".github/workflows/codacy-analysis.yml", "contents": "# This workflow checks out code, performs a Codacy security scan\n# and integrates the results with the\n# GitHub Advanced Security code scanning feature.  For more information on\n# the Codacy security scan action usage and parameters, see\n# https://github.com/codacy/codacy-analysis-cli-action.\n# For more information on Codacy Analysis CLI in general, see\n# https://github.com/codacy/codacy-analysis-cli.\n\nname: Codacy Security Scan\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '15 16 * * 2'\n\njobs:\n  codacy-security-scan:\n    name: Codacy Security Scan\n    runs-on: ubuntu-latest\n    steps:\n      # Checkout the repository to the GitHub Actions runner\n      - name: Checkout code\n        uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4\n\n      # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis\n      - name: Run Codacy Analysis CLI\n        uses: codacy/codacy-analysis-cli-action@v4.4.0\n        with:\n          # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository\n          # You can also omit the token and run the tools that support default configurations\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          verbose: true\n          output: results.sarif\n          format: sarif\n          # Adjust severity of non-security issues\n          gh-code-scanning-compat: true\n          # Force 0 exit code to allow SARIF file generation\n          # This will handover control about PR rejection to the GitHub side\n          max-allowed-issues: 2147483647\n\n      # Upload the SARIF file generated in the previous step\n      - name: Upload SARIF results file\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "tj-django/django-clone"}
{"mined_at": "2024-07-15T13:17:00.448250", "created_at": "2021-06-19T23:26:18+02:00", "updated_at": "2021-06-19T23:26:18+02:00", "name": "Upload Python Package", "path": ".github/workflows/deploy.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4\n        with:\n          fetch-depth: 0\n\n      - name: Run semver-diff\n        id: semver-diff\n        uses: tj-actions/semver-diff@v3.0.1\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.7.x'\n\n      - name: Upgrade pip\n        run: |\n          pip install -U pip\n\n      - name: Install dependencies\n        run: make install-deploy\n\n      - name: Setup git\n        run: |\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n\n      - name: bumpversion\n        run: |\n          make increase-version PART=\"${{ steps.semver-diff.outputs.release_type }}\"\n\n      - name: Build and publish\n        run: make release\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n\n      - name: Generate CHANGELOG\n        uses: tj-actions/github-changelog-generator@v1.20\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          base: \"main\"\n          title: \"Upgraded ${{ steps.semver-diff.outputs.old_version }} → ${{ steps.semver-diff.outputs.new_version }}\"\n          branch: \"chore/upgrade-${{ steps.semver-diff.outputs.old_version }}-to-${{ steps.semver-diff.outputs.new_version }}\"\n          commit-message: \"Upgraded from ${{ steps.semver-diff.outputs.old_version }} → ${{ steps.semver-diff.outputs.new_version }}\"\n          body: \"View [CHANGES](https://github.com/${{ github.repository }}/compare/${{ steps.semver-diff.outputs.old_version }}...${{ steps.semver-diff.outputs.new_version }})\"\n          token: ${{ secrets.PAT_TOKEN }}\n", "state": "active", "repository": "tj-django/django-clone"}
{"mined_at": "2024-07-15T13:17:01.677165", "created_at": "2021-02-22T06:58:12+01:00", "updated_at": "2021-02-22T06:58:12+01:00", "name": "Github pages", "path": ".github/workflows/gh-pages.yml", "contents": "name: Github pages\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3\n        with:\n          fetch-depth: 0\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v4.0.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs\n", "state": "active", "repository": "tj-django/django-clone"}
{"mined_at": "2024-07-15T13:17:02.803290", "created_at": "2021-04-22T17:32:08+02:00", "updated_at": "2021-04-22T17:32:08+02:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request_target, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/first-interaction@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          issue-message: \"Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience.\"\n          pr-message: \"Thanks for implementing a fix, could you ensure that the test covers your changes if applicable.\"\n", "state": "active", "repository": "tj-django/django-clone"}
{"mined_at": "2024-07-15T13:17:03.825389", "created_at": "2021-07-06T15:43:12+02:00", "updated_at": "2021-07-06T15:43:12+02:00", "name": "Fix django migrations", "path": ".github/workflows/migration-fixer.yml", "contents": "name: Fix django migrations\n\non:\n  pull_request:\n    branches:\n      - main\n\njobs:\n  fix-migrations:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4\n        with:\n          fetch-depth: 0\n          persist-credentials: false\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.7.x'\n          cache: 'pip'\n          cache-dependency-path: '**/requirements.txt'\n\n      - name: Install dependencies\n        run: |\n          make install-test\n\n      - name: Run django-migration-fixer\n        uses: tj-django/django-migration-fixer@v1.3.6\n\n      - name: Verify Changed files\n        uses: tj-actions/verify-changed-files@v19\n        id: verify-changed-files\n        with:\n          files: |\n             sample/migrations\n             sample_assignment/migrations\n             sample_driver/migrations\n             sample_company/migrations\n\n      - name: Commit migration changes\n        if: steps.verify-changed-files.outputs.files_changed == 'true'\n        run: |\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git add sample/migrations sample_assignment/migrations sample_driver/migrations sample_company/migrations\n          git commit -m \"Update migrations\"\n\n      - name: Push migration changes\n        if: steps.verify-changed-files.outputs.files_changed == 'true'\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.PAT_TOKEN }}\n          branch: ${{ github.head_ref }}\n", "state": "active", "repository": "tj-django/django-clone"}
{"mined_at": "2024-07-15T13:17:04.828609", "created_at": "2020-09-05T21:39:56+02:00", "updated_at": "2020-09-05T21:39:56+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n    paths:\n      - '**'\n\njobs:\n  cleanup-runs:\n    runs-on: ubuntu-latest\n    if: \"!startsWith(github.ref, 'refs/tags/') && !endsWith(github.ref, 'main')\"\n    steps:\n      - uses: rokroskar/workflow-run-cleanup-action@v0.3.3\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n\n  build:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: true\n      matrix:\n        platform: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [3.6, 3.7, 3.8, 3.9, '3.10', 3.11]\n        exclude:\n          - platform: ubuntu-latest\n            python-version: 3.6\n          - platform: macos-latest\n            python-version: 3.11\n          - platform: windows-latest\n            python-version: 3.6\n          - platform: windows-latest\n            python-version: 3.11\n\n    steps:\n      - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements.txt'\n\n      - name: Install dependencies\n        run: |\n          make install-test\n\n      - name: Run test\n        run: make tox\n        env:\n          CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          PLATFORM: ${{ matrix.platform }}\n\n      - name: \"Upload coverage to Codecov\"\n        if: ${{ runner.os == 'Linux' && matrix.python-version == '3.9' }}\n        uses: codecov/codecov-action@v4.3.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n", "state": "active", "repository": "tj-django/django-clone"}
{"mined_at": "2024-07-15T13:17:06.080143", "created_at": "2021-03-20T22:47:25+01:00", "updated_at": "2021-03-20T22:47:25+01:00", "name": "Sync doc assets", "path": ".github/workflows/update-doc-assets.yml", "contents": "name: Sync doc assets\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  sync-doc-assets:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3\n        with:\n          fetch-depth: 0\n\n      - name: Run test\n        uses: tj-actions/remark@v3\n\n      - name: Verify Changed files\n        uses: tj-actions/verify-changed-files@v19\n        id: verify_changed_files\n        with:\n          files: |\n            README.md\n\n      - name: README.md changed\n        if: steps.verify_changed_files.outputs.files_changed == 'true'\n        run: |\n          echo \"README.md has uncommitted changes\"\n          exit 1\n\n      - name: Create Pull Request\n        if: failure()\n        uses: peter-evans/create-pull-request@v6\n        with:\n          base: \"main\"\n          labels: merge when passing\n          title: \"Updated README.md\"\n          branch: \"chore/update-readme\"\n          commit-message: \"Updated README.md\"\n          body: \"Updated README.md\"\n          token: ${{ secrets.PAT_TOKEN }}\n\n      - name: Copy doc assets\n        run: |\n          cp -f README.md docs/README.md\n          cp -f CHANGELOG.md docs/CHANGELOG.md\n          cp -f *.png docs\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6.0.4\n        with:\n          commit-message: Synced README changes to docs\n          committer: github-actions[bot] <github-actions[bot]@users.noreply@github.com>\n          author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>\n          branch: chore/update-docs\n          labels: merge when passing\n          base: main\n          delete-branch: true\n          title: Updated docs\n          body: |\n            Updated docs\n            - Auto-generated by github-actions[bot]\n          assignees: jackton1\n          reviewers: jackton1\n", "state": "active", "repository": "tj-django/django-clone"}
{"mined_at": "2024-07-15T13:17:07.205605", "created_at": "2022-01-09T23:03:58+01:00", "updated_at": "2022-01-09T23:03:58+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tj-django/django-clone"}
{"mined_at": "2024-07-15T13:17:09.294022", "created_at": "2021-01-31T14:13:32+01:00", "updated_at": "2021-01-31T14:13:32+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\non:\n  push:\n    paths-ignore:\n      - \"docs/**\"\n    branches:\n      - master\n\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n    branches:\n      - \"**\"\n\njobs:\n  tests:\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgis/postgis:11-3.1-alpine\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: disfactory_data\n        ports:\n          - 5432:5432\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 30s\n          --health-retries 5\n\n    runs-on: ubuntu-latest\n    # Docker Hub image that job executes in\n    container: python:3.7\n\n    strategy:\n      matrix:\n        poetry-version: [1.2.0]\n\n    defaults:\n      run:\n        working-directory: ./backend\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v2\n\n      - name: Install poetry ${{ matrix.poetry-version }}\n        run: |\n          python -m ensurepip\n          python -m pip install --upgrade pip\n          python -m pip install poetry==${{ matrix.poetry-version }}\n          poetry --version\n\n      - name: Install dependencies\n        run: |\n          python -m poetry install\n\n      - name: Install GDAL\n        run: |\n          apt-get update\n          apt-get install -y gdal-bin python3-gdal\n\n      - name: Setup .env\n        run: |\n          cp .env.sample .env\n          sed -i -e s/DISFACTORY_BACKEND_DEFAULT_DB_HOST=db/DISFACTORY_BACKEND_DEFAULT_DB_HOST=postgres/g .env\n\n      - name: Run unittest\n        run: |\n          python -m poetry run pytest -vv -k \"not test_easymap\"\n", "state": "active", "repository": "disfactory/disfactory"}
{"mined_at": "2024-07-15T13:17:11.265030", "created_at": "2021-08-03T09:20:57+02:00", "updated_at": "2021-08-03T09:20:57+02:00", "name": "Auto approve", "path": ".github/workflows/auto-approve.yml", "contents": "name: Auto approve\n\non:\n  pull_request_target:\n    types: [opened, reopened]\n\njobs:\n  auto-approve:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: hmarr/auto-approve-action@v4\n      if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'pre-commit-ci[bot]' || github.actor == 'github-actions[bot]' }}\n      with:\n        github-token: \"${{ secrets.REVIEW_TOKEN }}\"\n", "state": "active", "repository": "fixator10/fixator10-cogs"}
{"mined_at": "2024-07-15T13:17:12.331964", "created_at": "2020-05-07T10:46:53+02:00", "updated_at": "2020-05-07T10:46:53+02:00", "name": "black", "path": ".github/workflows/black.yml", "contents": "name: black\n\non: [push, pull_request]\n\n\njobs:\n  mypy:\n    name: Style Check with Black\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n      - run: \"python -m pip install black\"\n        name: Install black\n      - run: \"python -m black -l 99 --check --diff .\"\n        name: Style checking with black\n\n# thanks sinbad & jack\n", "state": "active", "repository": "fixator10/fixator10-cogs"}
{"mined_at": "2024-07-15T13:17:13.354263", "created_at": "2020-09-17T11:16:30+02:00", "updated_at": "2020-09-17T11:16:30+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [V3]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [V3]\n  schedule:\n    - cron: '0 22 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        setup-python-dependencies: false\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file. \n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "fixator10/fixator10-cogs"}
{"mined_at": "2024-07-15T13:17:14.398340", "created_at": "2020-11-20T10:17:19+01:00", "updated_at": "2020-11-20T10:17:19+01:00", "name": "Update translations", "path": ".github/workflows/crowdin.yml", "contents": "name: Update translations\n\non:\n  # Check for updates every sunday\n  schedule:\n    - cron: '0 0 * * *'\n  push:\n    branches: [ V3 ]\n  workflow_dispatch:\n\njobs:\n  synchronize-with-crowdin:\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Update translations\n      uses: crowdin/github-action@v2.0.0\n      with:\n        download_translations: true\n        commit_message: '[automated] update translations from Crowdin'\n        push_translations: true\n        localization_branch_name: V3_i18n\n        crowdin_branch_name: V3\n        create_pull_request: true\n        pull_request_title: 'Update translations from Crowdin'\n        pull_request_body: 'Merge this to add changes from Crowdin to this repo.'\n        pull_request_labels: 'crowdin'\n        config: crowdin.yml\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}\n        CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}\n", "state": "active", "repository": "fixator10/fixator10-cogs"}
{"mined_at": "2024-07-15T13:17:15.481569", "created_at": "2022-09-21T21:54:32+02:00", "updated_at": "2022-09-21T21:54:32+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "name: 'Dependency Review'\non: [pull_request, workflow_dispatch]\npermissions:\n  contents: read\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v4\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v4\n        with:\n          # Possible values: \"critical\", \"high\", \"moderate\", \"low\"\n          # fail-on-severity: critical\n          #\n          # Possible values in comma separated list: \"unknown\", \"runtime\", or \"development\"\n          fail-on-scopes: unknown, runtime, development\n          #\n          # Possible values: Any available git ref\n          base-ref: ${{ github.event.pull_request.base.ref || github.ref }}\n          head-ref: ${{ github.event.pull_request.head.ref || github.ref }}\n          #\n          # You can only include one of these two options: `allow-licenses` and `deny-licenses`. These options are not supported on Enterprise Server.\n          #\n          # Possible values: Any `spdx_id` value(s) from https://docs.github.com/en/rest/licenses\n          # allow-licenses: GPL-3.0, BSD-3-Clause, MIT\n          #\n          # Possible values: Any `spdx_id` value(s) from https://docs.github.com/en/rest/licenses\n          # deny-licenses: LGPL-2.0, BSD-2-Clause\n", "state": "active", "repository": "fixator10/fixator10-cogs"}
{"mined_at": "2024-07-15T13:17:16.510575", "created_at": "2020-07-28T09:43:50+02:00", "updated_at": "2020-07-28T09:43:50+02:00", "name": "isort", "path": ".github/workflows/isort.yml", "contents": "name: isort\n\non: [push, pull_request]\n\n\njobs:\n  mypy:\n    name: Style Check with Isort\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n      - run: \"python -m pip install isort\"\n        name: Install isort\n      - run: \"python -m isort --check-only --diff --profile black -l 99 .\"\n        name: Style checking with isort\n\n# thanks sinbad & jack\n", "state": "active", "repository": "fixator10/fixator10-cogs"}
{"mined_at": "2024-07-15T13:17:17.638386", "created_at": "2020-02-07T20:56:38+01:00", "updated_at": "2020-02-07T20:56:38+01:00", "name": "PR Labeler", "path": ".github/workflows/pr-labeler.yml", "contents": "name: PR Labeler\non:\n  pull_request:\n    types: [opened]\n\njobs:\n  pr-labeler:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: TimonVS/pr-labeler-action@v5\n        with:\n          configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "fixator10/fixator10-cogs"}
{"mined_at": "2024-07-15T13:17:18.760809", "created_at": "2022-05-22T13:09:32+02:00", "updated_at": "2022-05-22T13:09:32+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "fixator10/fixator10-cogs"}
{"mined_at": "2024-07-15T13:17:20.914643", "created_at": "2020-06-14T22:18:20+02:00", "updated_at": "2020-06-14T22:18:20+02:00", "name": "black", "path": ".github/workflows/black.yml", "contents": "name: black\n\non: [push, pull_request]\n\n\njobs:\n  black:\n    name: Style Check with Black\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - uses: actions/setup-python@v1\n        with:\n          python_version: \"3.8\"\n      - run: \"python -m pip install black\"\n        name: Install black\n      - run: \"python -m black -l 99 --check .\"\n        name: Style checking with black\n", "state": "active", "repository": "flaree/flare-cogs"}
{"mined_at": "2024-07-15T13:17:22.980457", "created_at": "2024-06-03T23:52:16+02:00", "updated_at": "2024-06-03T23:52:16+02:00", "name": "Auto-format with autopep8", "path": ".github/workflows/autopep8.yml", "contents": null, "state": "active", "repository": "dbekaert/raider"}
{"mined_at": "2024-07-15T13:17:24.010505", "created_at": "2022-11-09T18:21:33+01:00", "updated_at": "2022-11-09T18:21:33+01:00", "name": "Docker Build", "path": ".github/workflows/build.yml", "contents": "name: Docker Build\n\non:\n  push:\n    branches:\n      - main\n      - dev\n  pull_request:\n    branches:\n      - main\n      - dev\n\njobs:\n  call-version-info-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.11.0\n    with:\n      python_version: '3.10'\n\n  call-docker-ghcr-workflow:\n    needs: call-version-info-workflow\n    uses: ASFHyP3/actions/.github/workflows/reusable-docker-ghcr.yml@v0.11.0\n    with:\n      version_tag: ${{ needs.call-version-info-workflow.outputs.version_tag }}\n      release_branch: main\n      develop_branch: dev\n      user: ${{ github.actor }}\n    secrets:\n      USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "dbekaert/raider"}
{"mined_at": "2024-07-15T13:17:25.015737", "created_at": "2022-12-01T08:30:03+01:00", "updated_at": "2022-12-02T17:12:27+01:00", "name": "Changelog updated?", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog updated?\n\non:\n  pull_request:\n    types:\n      - opened\n      - labeled\n      - unlabeled\n      - synchronize\n    branches:\n      - main\n      - dev\n\njobs:\n  call-changelog-check-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.11.0\n    secrets:\n      USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "dbekaert/raider"}
{"mined_at": "2024-07-15T13:17:26.010923", "created_at": "2022-12-20T18:35:20+01:00", "updated_at": "2022-12-20T18:35:20+01:00", "name": "Deploy Docs to Github.io", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Deploy Docs to Github.io\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  build_and_deploy:\n    name: Build site and deploy\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: mamba-org/provision-with-micromamba@v16\n        with:\n          extra-specs: |\n            python=3.10\n\n      - name: install RAiDER\n        shell: bash -l {0}\n        run: |\n          python -m pip install --no-deps .\n\n      - name: Deploy website\n        shell: bash -l {0}\n        run: |\n          mkdocs gh-deploy --force\n", "state": "active", "repository": "dbekaert/raider"}
{"mined_at": "2024-07-15T13:17:27.161468", "created_at": "2022-12-02T17:12:27+01:00", "updated_at": "2022-12-02T17:12:27+01:00", "name": "Is PR labeled?", "path": ".github/workflows/labeled-pr.yml", "contents": "name: Is PR labeled?\n\non:\n  pull_request:\n    types:\n      - opened\n      - labeled\n      - unlabeled\n      - synchronize\n    branches:\n      - main\n\njobs:\n  call-labeled-pr-check-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.11.0\n", "state": "active", "repository": "dbekaert/raider"}
{"mined_at": "2024-07-15T13:17:28.301044", "created_at": "2022-12-02T17:12:27+01:00", "updated_at": "2022-12-02T17:12:27+01:00", "name": "Create Release", "path": ".github/workflows/release.yml", "contents": "name: Create Release\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  call-release-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.11.0\n    with:\n      release_prefix: RAiDER\n      develop_branch: dev\n      sync_pr_label: bot\n    secrets:\n      USER_TOKEN: ${{ secrets.RELEASE_ACCESS_TOKEN }}\n", "state": "active", "repository": "dbekaert/raider"}
{"mined_at": "2024-07-15T13:17:29.286933", "created_at": "2022-12-02T17:12:27+01:00", "updated_at": "2022-12-02T17:12:27+01:00", "name": "Tag version", "path": ".github/workflows/tag.yml", "contents": "name: Tag version\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  call-bump-version-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.11.0\n    with:\n      user: dbekaert\n      email: bekaertdavid@gmail.com\n    secrets:\n      USER_TOKEN: ${{ secrets.RELEASE_ACCESS_TOKEN }}\n", "state": "active", "repository": "dbekaert/raider"}
{"mined_at": "2024-07-15T13:17:30.282285", "created_at": "2023-11-06T23:35:17+01:00", "updated_at": "2023-11-06T23:35:17+01:00", "name": "Test and build", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "dbekaert/raider"}
{"mined_at": "2024-07-15T13:17:32.602530", "created_at": "2021-10-08T13:03:00+02:00", "updated_at": "2023-07-24T15:53:50+02:00", "name": ".github/workflows/build-test-release.yml", "path": ".github/workflows/build-test-release.yml", "contents": "on:\n  push:\n    branches:\n      - \"main\"\n      - \"develop\"\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n  pull_request:\n    branches:\n      - \"**\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  meta:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }}\n    steps:\n      - uses: actions/checkout@v4\n      - id: matrix\n        uses: splunk/addonfactory-test-matrix-action@v1\n\n  fossa-scan:\n    continue-on-error: true\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: run fossa anlyze and create report\n        run: |\n          curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash\n          fossa analyze --debug\n          fossa report attribution --format text > /tmp/THIRDPARTY\n        env:\n          FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}\n      - name: upload THIRDPARTY file\n        uses: actions/upload-artifact@v4\n        with:\n          name: THIRDPARTY\n          path: /tmp/THIRDPARTY\n      - name: run fossa test\n        run: |\n          fossa test --debug\n        env:\n          FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}\n  \n  compliance-copyrights:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: apache/skywalking-eyes@v0.6.0\n  \n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.7\"\n      - uses: pre-commit/action@v3.0.1\n\n  semgrep:\n    runs-on: ubuntu-latest\n    name: security-sast-semgrep\n    steps:\n      - uses: actions/checkout@v4\n      - id: semgrep\n        uses: semgrep/semgrep-action@v1\n        with:\n          publishToken: ${{ secrets.SEMGREP_PUBLISH_TOKEN }}\n\n  test-splunk-unit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n      - name: Install dependencies\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n          poetry install\n          poetry run pytest -v tests/unit\n\n\n  test-splunk-external:\n    runs-on: ubuntu-latest\n    needs:\n      - meta\n      - pre-commit\n      - fossa-scan\n      - compliance-copyrights\n      - test-splunk-unit\n    strategy:\n      fail-fast: false\n      matrix:\n        splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n      - name: Setup for testing\n        run: |\n          pip install git+https://github.com/pixelb/crudini\n          mkdir test-results-${{ matrix.splunk.version }}\n      - name: Test\n        run: |\n          export SPLUNK_APP_PACKAGE=./tests/e2e/addons/TA_fiction_indextime\n          export SPLUNK_ADDON=TA_fiction_indextime\n          export SPLUNK_APP_ID=TA_fiction_indextime\n          export SPLUNK_VERSION=${{ matrix.splunk.version }}\n          export SPLUNK_HEC_TOKEN=\"9b741d03-43e9-4164-908b-e09102327d22\"\n          echo $SPLUNK_VERSION\n          docker compose -f \"docker-compose-ci.yml\" build\n          SPLUNK_PASSWORD=Chang3d! docker compose -f docker-compose-ci.yml up --abort-on-container-exit\n          docker volume ls\n      - name: Collect Results\n        run: |\n          docker volume ls\n          docker container create --name dummy \\\n                              -v pytest-splunk-addon_results:/work/test-results \\\n                              registry.access.redhat.com/ubi7/ubi\n          docker cp dummy:/work/test-results/test.xml test-results-${{ matrix.splunk.version }}\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: splunk ${{ matrix.splunk.version }} external test artifacts\n          path: |\n            test-results-${{ matrix.splunk.version }}\n\n  test-splunk-matrix:\n    needs:\n      - meta\n      - pre-commit\n      - fossa-scan\n      - compliance-copyrights\n      - test-splunk-unit\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }}\n        test-marker: [\n          \"splunk_connection_docker\",\n          \"splunk_app_fiction\",\n          \"splunk_app_broken\",\n          \"splunk_app_cim_fiction\",\n          \"splunk_app_cim_broken\",\n          \"splunk_fiction_indextime\",\n          \"splunk_fiction_indextime_broken\",\n          \"splunk_fiction_indextime_wrong_hec_token\",\n          \"splunk_setup_fixture\",\n          \"splunk_app_req\",\n          \"splunk_app_req_broken\",\n          \"splunk_cim_model_ipv6_regex\",\n        ]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.7\n      - run: |\n          curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n          poetry install\n          poetry run pytest -v --splunk-version=${{ matrix.splunk.version }} -m docker -m ${{ matrix.test-marker }} tests/e2e\n\n  publish:\n    needs:\n      - test-splunk-external\n      - test-splunk-matrix\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # Very Important semantic-release won't trigger a tagged\n          # build if this is not set false\n          submodules: false\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.7\"\n      - uses: actions/download-artifact@v4\n        with:\n          name: THIRDPARTY\n      - name: Update Notices\n        run: cp -f THIRDPARTY NOTICE\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n      - id: semantic\n        uses: splunk/semantic-release-action@v1.3\n        with:\n          git_committer_name: ${{ secrets.SA_GH_USER_NAME }}\n          git_committer_email: ${{ secrets.SA_GH_USER_EMAIL }}\n          gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }}\n          passphrase: ${{ secrets.SA_GPG_PASSPHRASE }}\n          extra_plugins: |\n            semantic-release-replace-plugin\n        env:\n          GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }}\n      - if: ${{ steps.semantic.outputs.new_release_published == 'true' }}\n        run: |\n          poetry build\n          poetry publish -n -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "splunk/pytest-splunk-addon"}
{"mined_at": "2024-07-15T13:17:33.835941", "created_at": "2021-10-14T07:36:36+02:00", "updated_at": "2022-08-23T13:10:36+02:00", "name": "CLA Assistant", "path": ".github/workflows/agreements.yaml", "contents": "name: \"CLA Assistant\"\non:\n  issue_comment:\n    types: [created]\n  pull_request_target:\n    types: [opened, closed, synchronize]\n\njobs:\n  call-workflow-agreements:\n    uses: splunk/addonfactory-github-workflows/.github/workflows/reusable-agreements.yaml@v1\n    permissions:\n      actions: read\n      contents: read\n      pull-requests: write\n      statuses: read\n    secrets:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}\n", "state": "active", "repository": "splunk/pytest-splunk-addon"}
{"mined_at": "2024-07-15T13:17:34.953227", "created_at": "2024-04-22T14:14:57+02:00", "updated_at": "2024-04-26T12:55:48+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pages: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - run: |\n          curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n          pip install mkdocs mkdocs-material mkdocstrings-python\n      - name: Deploy to GitHub Pages\n        if: github.ref_name == 'main'\n        run: mkdocs gh-deploy --force\n      - name: Build Docs\n        if: github.ref_name != 'main'\n        run: mkdocs build\n", "state": "active", "repository": "splunk/pytest-splunk-addon"}
{"mined_at": "2024-07-15T13:17:36.059084", "created_at": "2024-04-26T12:55:49+02:00", "updated_at": "2024-04-26T12:55:49+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "splunk/pytest-splunk-addon"}
{"mined_at": "2024-07-15T13:17:38.086960", "created_at": "2023-06-08T17:35:10+02:00", "updated_at": "2023-06-08T17:35:10+02:00", "name": "Generate single inventory (conda sec_ctxt)", "path": ".github/workflows/conda-secondary_cntxt.yml", "contents": "# This workflow will generate inventory files based on user input using a\n# Conda environment to install geospatial packages\n\nname: Generate single inventory (conda sec_ctxt)\n\non:\n  # pull_request:\n  #   branches: [master]\n  #   types: [opened, reopened, ready_for_review]\n  workflow_dispatch:\n    inputs:\n        year:\n            description: \"Year\"\n            required: true\n            default: \"2017\"\n        inventory:\n            description: \"Inventory\"\n            required: true\n            default: \"NEI\"\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.9\"\n\n    - name: Add conda to system path\n      run: |\n        # $CONDA is an environment variable pointing to the root of the miniconda directory\n        echo $CONDA/bin >> $GITHUB_PATH\n\n    - name: Install dependencies\n      run: |\n        conda env update --file env_sec_ctxt.yaml --name base\n\n    - name: Generate inventory files with secondary context enabled\n      env:\n          YEAR: ${{ github.event.inputs.year }}\n          INVENTORY: ${{ github.event.inputs.inventory }}\n      run: |\n        echo \"Year: ${{ github.event.inputs.year }}\"\n        echo \"Inventory: ${{ github.event.inputs.inventory }}\"\n        python scripts/generate_select_inventories.py --years $YEAR --inventory $INVENTORY\n\n    - name: Upload files\n      uses: actions/upload-artifact@v3\n      with:\n        # Artifact name\n        name: \"${{ github.event.inputs.inventory }}\"\n        # A file, directory or wildcard patter that describes what to upload\n        path: | # uses local user data dir for ubuntu\n          ~/.local/share/stewi/facility/*\n          ~/.local/share/stewi/flow/*\n          ~/.local/share/stewi/flowbyfacility/*\n          ~/.local/share/stewi/flowbyprocess/*\n          ~/.local/share/stewi/validation/*\n          ~/.local/share/stewi/*.json\n        if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn`\n        # retention-days: 5 # cannot exceed the retention limit set by the repository, organization, or enterprise.\n", "state": "active", "repository": "usepa/standardizedinventories"}
{"mined_at": "2024-07-15T13:17:39.143674", "created_at": "2022-04-18T20:46:35+02:00", "updated_at": "2022-04-19T14:39:58+02:00", "name": "Generate All Inventories", "path": ".github/workflows/generate_all_inventories.yml", "contents": "# This workflow will generate all inventory files on schedule\n\nname: Generate All Inventories\n\non:\n  pull_request:\n    branches: [master]\n    types: [opened, reopened, ready_for_review]\n  schedule:\n    - cron: '0 6 14 * *'        # Runs 14th of every month at 6:00 UTC\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n\n    - name: Update pip & install testing pkgs\n      run: |\n        python -VV\n        python -m pip install --upgrade pip setuptools wheel\n        pip install pytest pytest-cov\n\n    - name: Install package and dependencies\n      run: |\n        pip install .\n\n    - name: Generate inventory files\n      run: |\n        pytest -m inventory --log-level=DEBUG\n\n    - name: Upload files\n      uses: actions/upload-artifact@v3\n      with:\n        # Artifact name\n        name: StEWI Inventory files\n        # A file, directory or wildcard patter that describes what to upload\n        path: | # uses local user data dir for ubuntu\n          ~/.local/share/stewi/facility/*\n          ~/.local/share/stewi/flow/*\n          ~/.local/share/stewi/flowbyfacility/*\n          ~/.local/share/stewi/flowbyprocess/*\n          ~/.local/share/stewi/validation/*\n          ~/.local/share/stewi/*.json\n        if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn`\n        # retention-days: 5 # cannot exceed the retention limit set by the repository, organization, or enterprise.\n", "state": "active", "repository": "usepa/standardizedinventories"}
{"mined_at": "2024-07-15T13:17:40.155907", "created_at": "2022-04-12T16:05:06+02:00", "updated_at": "2022-04-13T14:29:12+02:00", "name": "Generate Combined Inventories", "path": ".github/workflows/generate_combined_inventory.yml", "contents": "# This workflow will generate inventory and combined datasets as artifact\n\nname: Generate Combined Inventories\n\non:\n  pull_request:\n    branches: [master]\n    types: [opened, reopened]   # excludes syncronize to avoid redundant trigger from commits on PRs\n  workflow_dispatch:            # manual trigger only\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n\n    - name: Update pip & install testing pkgs\n      run: |\n        python -VV\n        python -m pip install --upgrade pip setuptools wheel\n        pip install pytest pytest-cov\n\n    - name: Install package and dependencies\n      run: |\n        pip install .\n\n    - name: Combine inventory files\n      run: |\n        pytest -m combined\n\n    - name: Upload files\n      if: always() # Upload files even if some inventories fail\n      uses: actions/upload-artifact@v3\n      with:\n        # Artifact name\n        name: StEWI Combined inventory files\n        # A file, directory or wildcard patter that describes what to upload\n        path: | # uses local user data dir for ubuntu\n          ~/.local/share/stewi/facility/*\n          ~/.local/share/stewi/flow/*\n          ~/.local/share/stewi/flowbyfacility/*\n          ~/.local/share/stewi/flowbyprocess/*\n          ~/.local/share/stewi/validation/*\n          ~/.local/share/stewi/*.json\n          ~/.local/share/stewicombo/*\n          ~/.local/share/facilitymatcher/*.parquet\n          ~/.local/share/facilitymatcher/*.json\n        if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn`\n        # retention-days: 5 # cannot exceed the retention limit set by the repository, organization, or enterprise.\n", "state": "active", "repository": "usepa/standardizedinventories"}
{"mined_at": "2024-07-15T13:17:41.302351", "created_at": "2022-05-11T02:07:38+02:00", "updated_at": "2022-05-11T04:01:23+02:00", "name": "Generate single inventory", "path": ".github/workflows/generate_select_inventories.yml", "contents": "# This workflow will generate inventory files based on user input\n\nname: Generate single inventory\n\non:\n  workflow_dispatch:            # manual trigger only\n    inputs:\n        year:\n            description: \"Year\"\n            required: true\n            default: \"2016-2018\"\n        inventory:\n            description: \"Inventory\"\n            required: true\n            default: \"TRI\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n\n    - name: Update pip & install testing pkgs\n      run: |\n        python -VV\n        python -m pip install --upgrade pip setuptools wheel\n\n    - name: Install package and dependencies\n      run: |\n        pip install .\n\n    - name: Generate inventory files\n      env:\n          YEAR: ${{ github.event.inputs.year }}\n          INVENTORY: ${{ github.event.inputs.inventory }}\n      run: |\n        echo \"Year: ${{ github.event.inputs.year }}\"\n        echo \"Inventory: ${{ github.event.inputs.inventory }}\"\n        python scripts/generate_select_inventories.py --years $YEAR --inventory $INVENTORY\n\n    - name: Upload files\n      uses: actions/upload-artifact@v3\n      with:\n        # Artifact name\n        name: \"${{ github.event.inputs.inventory }}\"\n        # A file, directory or wildcard patter that describes what to upload\n        path: | # uses local user data dir for ubuntu\n          ~/.local/share/stewi/facility/*\n          ~/.local/share/stewi/flow/*\n          ~/.local/share/stewi/flowbyfacility/*\n          ~/.local/share/stewi/flowbyprocess/*\n          ~/.local/share/stewi/validation/*\n          ~/.local/share/stewi/*.json\n        if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn`\n        # retention-days: 5 # cannot exceed the retention limit set by the repository, organization, or enterprise.", "state": "active", "repository": "usepa/standardizedinventories"}
{"mined_at": "2024-07-15T13:17:42.328244", "created_at": "2021-10-14T23:16:42+02:00", "updated_at": "2021-11-19T21:39:18+01:00", "name": "Python CI/CD tests", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint\n# across operating systems, select versions of Python, and user + dev environments\n# For more info see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python CI/CD tests\n\non:\n  push:\n    # branches: [master, develop]\n    paths-ignore:               # prevents workflow execution when only these types of files are modified\n      - '**.md'                 # wildcards prevent file in any repo dir from trigering workflow\n      - '**.bib'\n      - '**.ya?ml'              # captures both .yml and .yaml\n      - 'LICENSE'\n      - '.gitignore'\n  pull_request:\n    branches: [master, develop]\n    types: [opened, reopened, ready_for_review]   # excludes syncronize to avoid redundant trigger from commits on PRs\n    paths-ignore:\n      - '**.md'\n      - '**.bib'\n      - '**.ya?ml'\n      - 'LICENSE'\n      - '.gitignore'\n  workflow_dispatch:            # also allow manual trigger, for testing purposes\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        py-version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v3\n\n    # general Python setup\n    - name: Set up Python ${{ matrix.py-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.py-version }}\n\n    - name: Update pip & install testing pkgs\n      run: |\n        python -VV\n        python -m pip install --upgrade pip setuptools wheel\n        pip install pytest pytest-cov flake8\n\n    # install testing\n    - name: Install package and dependencies\n      run: |\n        pip install .\n\n    # linting & pytest\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --extend-ignore=E12,E26,E231,E251,E701 --exclude build --exit-zero --max-line-length=127 --statistics\n\n    - name: Test with pytest\n      run: |\n        pytest --doctest-modules -m \"not (combined or inventory)\"\n\n", "state": "active", "repository": "usepa/standardizedinventories"}
{"mined_at": "2024-07-15T13:17:44.353699", "created_at": "2021-12-12T19:42:37+01:00", "updated_at": "2021-12-12T19:54:17+01:00", "name": "lint_python", "path": ".github/workflows/main.yaml", "contents": "name: lint_python\non:\n  push:\n    branches:\n      - \"**\" # run all branches\n    tags-ignore:\n      - \"*\" # ignore all tags, release.yaml will trigger the CI\n  pull_request: # run on all pull requests\n\nconcurrency:\n  cancel-in-progress: true\n  group: group-${{ github.ref_name }}\n\njobs:\n  lint_python:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.x\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - run: pip install -U pip\n      - run: pip install -U bandit mypy pyupgrade safety tox setuptools\n      - run: bandit --recursive --skip B105,B110,B311,B605,B607 --exclude ./.tox .\n        if: ${{ matrix.python >= '3.8' }}\n      - run: tox -e lint\n      - run: tox -e py\n      - run: shopt -s globstar && pyupgrade --py3-only **/*.py # --py36-plus\n      - run: safety check -i 42559 -i 62044 -i 67599 -i 70612 # pip version issue, we don't care about it, we don't ship it\n      - run: tox -e build\n      - run: tox -e doc\n", "state": "active", "repository": "burnash/gspread"}
{"mined_at": "2024-07-15T13:17:45.477772", "created_at": "2022-04-10T19:19:08+02:00", "updated_at": "2022-04-10T19:19:08+02:00", "name": "Releases", "path": ".github/workflows/release.yaml", "contents": "name: Releases\n\non:\n  push:\n    tags:\n    - 'v*'\n\njobs:\n\n  release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Setup python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.9\"\n    - name: Setup tox\n      run: pip install tox\n    - name: Run linter\n      run: tox -e lint\n    - name: Run tests\n      run: tox -e py\n    - name: Build package\n      run: tox -e build\n    - name: Create release\n      uses: ncipollo/release-action@v1\n      with:\n        artifacts: dist/gspread-*\n        token: ${{ secrets.GH_TOKEN }}\n        generateReleaseNotes: True\n        artifactErrorsFailBuild: True\n    - name: Publish to TestPyPi\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository-url: https://test.pypi.org/legacy/\n    - name: Publish to PyPi\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "burnash/gspread"}
{"mined_at": "2024-07-15T13:17:47.759862", "created_at": "2020-12-03T18:52:00+01:00", "updated_at": "2020-12-03T18:52:00+01:00", "name": "packages", "path": ".github/workflows/build.yaml", "contents": "name: packages\non:\n  push:\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+a[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+b[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+rc[0-9]+\"\n  # Dry-run only\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 16 * * SUN\"\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\nenv:\n  PYTHON_VERSION: \"3.11\"\n  PACKAGE: \"datashader\"\n  MPLBACKEND: \"Agg\"\n  DASK_DATAFRAME__QUERY_PLANNING: false\n\njobs:\n  waiting_room:\n    name: Waiting Room\n    runs-on: ubuntu-latest\n    needs: [conda_build, pip_install]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    environment:\n      name: publish\n    steps:\n      - run: echo \"All builds have finished, have been approved, and ready to publish\"\n\n  conda_build:\n    name: Build Conda\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: \"100\"\n      - name: Fetch unshallow\n        run: git fetch --prune --tags --unshallow -f\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniconda-version: \"latest\"\n      - name: conda setup\n        run: |\n          # pyct is for running setup.py\n          conda install -y conda-build build pyct -c pyviz/label/dev\n      - name: conda build\n        run: |\n          source ./scripts/conda/build.sh\n          echo \"CONDA_FILE=\"$CONDA_PREFIX/conda-bld/noarch/$PACKAGE-$VERSION-py_0.tar.bz2\"\" >> $GITHUB_ENV\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: conda\n          path: ${{ env.CONDA_FILE }}\n          if-no-files-found: error\n\n  conda_publish:\n    name: Publish Conda\n    runs-on: ubuntu-latest\n    needs: [conda_build, waiting_room]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: conda\n          path: dist/\n      - name: Set environment variables\n        run: |\n          echo \"TAG=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n          echo \"CONDA_FILE=$(ls dist/*.tar.bz2)\" >> $GITHUB_ENV\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniconda-version: \"latest\"\n      - name: conda setup\n        run: |\n          conda install -y anaconda-client\n      - name: conda dev upload\n        if: contains(env.TAG, 'a') || contains(env.TAG, 'b') || contains(env.TAG, 'rc')\n        run: |\n          anaconda --token ${{ secrets.CONDA_UPLOAD_TOKEN }} upload --user pyviz --label=dev $CONDA_FILE\n      - name: conda main upload\n        if: (!(contains(env.TAG, 'a') || contains(env.TAG, 'b') || contains(env.TAG, 'rc')))\n        run: |\n          anaconda --token ${{ secrets.CONDA_UPLOAD_TOKEN }} upload --user pyviz --label=dev --label=main $CONDA_FILE\n\n  pip_build:\n    name: Build PyPI\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: \"100\"\n      - name: Fetch unshallow\n        run: git fetch --prune --tags --unshallow -f\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install build\n        run: |\n          python -m pip install build\n      - name: Build package\n        run: python -m build .\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: pip\n          path: dist/\n          if-no-files-found: error\n\n  pip_install:\n    name: Install PyPI\n    runs-on: \"ubuntu-latest\"\n    needs: [pip_build]\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - uses: actions/download-artifact@v4\n        with:\n          name: pip\n          path: dist/\n      - name: Install package\n        run: python -m pip install dist/*.whl\n      - name: Test package\n        run: python -c \"import $PACKAGE; print($PACKAGE.__version__)\"\n\n  pip_publish:\n    name: Publish PyPI\n    runs-on: ubuntu-latest\n    needs: [pip_build, waiting_room]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: pip\n          path: dist/\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: ${{ secrets.PPU }}\n          password: ${{ secrets.PPP }}\n          repository-url: \"https://upload.pypi.org/legacy/\"\n", "state": "active", "repository": "holoviz/datashader"}
{"mined_at": "2024-07-15T13:17:49.366559", "created_at": "2020-12-03T18:52:00+01:00", "updated_at": "2020-12-03T18:52:00+01:00", "name": "docs", "path": ".github/workflows/docs.yaml", "contents": "name: docs\non:\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n      - 'v[0-9]+.[0-9]+.[0-9]+a[0-9]+'\n      - 'v[0-9]+.[0-9]+.[0-9]+b[0-9]+'\n      - 'v[0-9]+.[0-9]+.[0-9]+rc[0-9]+'\n  workflow_dispatch:\n    inputs:\n      target:\n        description: 'Site to build and deploy'\n        type: choice\n        options:\n        - dev\n        - main\n        - dryrun\n        required: true\n        default: dryrun\n  schedule:\n    - cron: '0 16 * * SUN'\n\njobs:\n  build_docs:\n    name: Documentation\n    runs-on: 'ubuntu-latest'\n    timeout-minutes: 120\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      DESC: \"Documentation build\"\n      DASK_DATAFRAME__QUERY_PLANNING: false\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/install@v0\n        with:\n          name: Documentation\n          python-version: \"3.10\"\n          channel-priority: strict\n          channels: pyviz/label/dev,conda-forge,nodefaults\n          envs: \"-o doc\"\n          cache: true\n          conda-update: true\n      - name: Set output\n        id: vars\n        run: echo \"tag=${GITHUB_REF#refs/*/}\" >> $GITHUB_OUTPUT\n      - name: fetch data\n        run: |\n          conda activate test-environment\n          python scripts/download_data.py\n      - name: generate rst\n        run: |\n          conda activate test-environment\n          nbsite generate-rst --org holoviz --project-name datashader\n      - name: build docs\n        run: |\n          conda activate test-environment\n          nbsite build --what=html --output=builtdocs --org holoviz --project-name datashader\n      - name: Deploy dev\n        uses: peaceiris/actions-gh-pages@v3\n        if: |\n          (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'dev') ||\n          (github.event_name == 'push' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))\n        with:\n          personal_token: ${{ secrets.ACCESS_TOKEN }}\n          external_repository: holoviz-dev/datashader\n          publish_dir: ./builtdocs\n          force_orphan: true\n      - name: Deploy main\n        if: |\n          (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||\n          (github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./builtdocs\n          cname: datashader.org\n          force_orphan: true\n", "state": "active", "repository": "holoviz/datashader"}
{"mined_at": "2024-07-15T13:17:51.462592", "created_at": "2022-04-05T11:28:03+02:00", "updated_at": "2022-04-05T11:28:03+02:00", "name": "downstream_tests", "path": ".github/workflows/downstream_tests.yaml", "contents": "name: downstream_tests\n\non:\n  # Run this workflow after the build workflow has completed.\n  workflow_run:\n    workflows: [packages]\n    types: [completed]\n  # Or by triggering it manually via Github's UI\n  workflow_dispatch:\n    inputs:\n      manual:\n        description: don't change me!\n        type: boolean\n        required: true\n        default: true\n\njobs:\n  downstream_tests:\n    uses: holoviz-dev/holoviz_tasks/.github/workflows/run_downstream_tests.yaml@main\n    with:\n      downstream_repos_as_json: \"{\\\"downstream_repo\\\":[\\\"holoviews\\\", \\\"hvplot\\\"]}\"\n    secrets:\n      ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}\n", "state": "active", "repository": "holoviz/datashader"}
{"mined_at": "2024-07-15T13:17:53.561167", "created_at": "2023-10-30T10:32:14+01:00", "updated_at": "2023-10-30T10:32:14+01:00", "name": "gpu-tests", "path": ".github/workflows/gpu_test.yaml", "contents": null, "state": "active", "repository": "holoviz/datashader"}
{"mined_at": "2024-07-15T13:17:54.673747", "created_at": "2020-11-13T12:30:00+01:00", "updated_at": "2023-10-29T14:44:07+01:00", "name": "tests", "path": ".github/workflows/test.yaml", "contents": "name: tests\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n    - '*'\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"How much of the test suite to run\"\n        type: choice\n        default: default\n        options:\n          - default\n          - full\n          - downstream\n      cache:\n        description: \"Use cache\"\n        type: boolean\n        default: true\n  schedule:\n    - cron: '0 16 * * SUN'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  OMP_NUM_THREADS: 1\n  OPENBLAS_NUM_THREADS: 1\n  MKL_NUM_THREADS: 1\n  VECLIB_MAXIMUM_THREADS: 1\n  NUMEXPR_NUM_THREADS: 1\n  PYDEVD_DISABLE_FILE_VALIDATION: 1\n\njobs:\n  pre_commit:\n    name: Run pre-commit\n    runs-on: 'ubuntu-latest'\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pre-commit@v0\n\n  setup:\n    name: Setup workflow\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ env.MATRIX }}\n    steps:\n      - name: Set matrix option\n        run: |\n          if [[ '${{ github.event_name }}' == 'workflow_dispatch' ]]; then\n            OPTION=${{ github.event.inputs.target }}\n          elif [[ '${{ github.event_name }}' == 'schedule' ]]; then\n            OPTION=\"full\"\n          elif [[ '${{ github.event_name }}' == 'push' && '${{ github.ref_type }}' == 'tag' ]]; then\n            OPTION=\"full\"\n          else\n            OPTION=\"default\"\n          fi\n          echo \"MATRIX_OPTION=$OPTION\" >> $GITHUB_ENV\n      - name: Set test matrix with 'default' option\n        if: env.MATRIX_OPTION == 'default'\n        run: |\n          MATRIX=$(jq -nsc '{\n              \"os\": [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"],\n              \"python-version\": [\"3.9\", \"3.10\", \"3.11\", \"3.12\"],\n              \"numpy-version\": [\"1\"],\n              \"exclude\": [{\n                  \"os\": \"windows-latest\",\n                  \"python-version\": \"3.9\"\n              }],\n              \"include\": [{\n                  \"os\": \"ubuntu-latest\",\n                  \"python-version\": \"3.12\",\n                  \"numpy-version\": \"2\"\n              },\n              {\n                  \"os\": \"macos-latest\",\n                  \"python-version\": \"3.12\",\n                  \"numpy-version\": \"2\"\n              }]\n          }')\n          # Won't solve on Windows + Python 3.9\n          echo \"MATRIX=$MATRIX\" >> $GITHUB_ENV\n      - name: Set test matrix with 'full' option\n        if: env.MATRIX_OPTION == 'full'\n        run: |\n          MATRIX=$(jq -nsc '{\n              \"os\": [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"],\n              \"python-version\": [\"3.9\", \"3.10\", \"3.11\", \"3.12\"],\n              \"numpy-version\": [\"1\"],\n              \"exclude\": [{\n                  \"os\": \"windows-latest\",\n                  \"python-version\": \"3.9\"\n              }],\n              \"include\": [{\n                  \"os\": \"ubuntu-latest\",\n                  \"python-version\": \"3.12\",\n                  \"numpy-version\": \"2\"\n              },\n              {\n                  \"os\": \"macos-latest\",\n                  \"python-version\": \"3.12\",\n                  \"numpy-version\": \"2\"\n              }]\n          }')\n          # Won't solve on Windows + Python 3.9\n          echo \"MATRIX=$MATRIX\" >> $GITHUB_ENV\n      - name: Set test matrix with 'downstream' option\n        if: env.MATRIX_OPTION == 'downstream'\n        run: |\n          MATRIX=$(jq -nsc '{\n              \"os\": [\"ubuntu-latest\"],\n              \"numpy-version\": [\"1\"],\n              \"python-version\": [\"3.11\"]\n          }')\n          echo \"MATRIX=$MATRIX\" >> $GITHUB_ENV\n\n  test_suite:\n    name: Tests on ${{ matrix.os }} with Python ${{ matrix.python-version }}, numpy ${{ matrix.numpy-version }}\n    needs: [pre_commit, setup]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.setup.outputs.matrix) }}\n    timeout-minutes: 180\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - name: Set channels and envs\n        run: |\n          if [[ ${{ matrix.numpy-version }} == \"2\" ]]; then\n            channels=\"pyviz/label/dev,conda-forge/label/numpy_rc,numba/label/dev,conda-forge,nodefaults\"\n            envs=\"-o numpy2\"\n          else\n            channels=\"pyviz/label/dev,numba,conda-forge,nodefaults\"\n            envs=\"-o tests -o examples\"\n          fi\n          echo \"CHANNELS=$channels\" >> $GITHUB_ENV\n          echo \"ENVS=$envs\" >> $GITHUB_ENV\n      - uses: holoviz-dev/holoviz_tasks/install@v0\n        with:\n          name: unit_test_suite_np${{ matrix.numpy-version }}\n          python-version: ${{ matrix.python-version }}\n          channel-priority: flexible\n          channels: ${{ env.CHANNELS }}\n          envs: ${{ env.ENVS }}\n          cache: ${{ github.event.inputs.cache || github.event.inputs.cache == '' }}\n          conda-update: true\n        id: install\n      - name: check version\n        run: |\n          conda activate test-environment\n          python -c \"import numba; print('Numba', numba.__version__)\"\n          python -c \"import numpy; print('Numpy', numpy.__version__)\"\n      - name: download data\n        run: |\n          conda activate test-environment\n          python scripts/download_data.py\n      - name: doit test_unit\n        run: |\n          conda activate test-environment\n          doit test_unit\n      - name: doit test_unit_nojit\n        run: |\n          conda activate test-environment\n          doit test_unit_nojit\n        env:\n          NUMBA_DISABLE_JIT: 1\n      - name: doit test_examples\n        env:\n          DASK_DATAFRAME__QUERY_PLANNING: false\n        run: |\n          conda activate test-environment\n          doit test_examples\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "holoviz/datashader"}
{"mined_at": "2024-07-15T13:17:55.681311", "created_at": "2022-04-25T22:07:39+02:00", "updated_at": "2022-04-25T22:07:39+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "holoviz/datashader"}
{"mined_at": "2024-07-15T13:17:58.311131", "created_at": "2020-03-31T20:41:12+02:00", "updated_at": "2022-05-01T22:43:42+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "# see https://github.com/karlicoss/pymplate for up-to-date reference\n\nname: CI\non:\n  push:\n    branches: '*'\n    tags: 'v[0-9]+.*' # only trigger on 'release' tags for PyPi\n    # Ideally I would put this in the pypi job... but github syntax doesn't allow for regexes there :shrug:\n  pull_request: # needed to trigger on others' PRs\n  # Note that people who fork it need to go to \"Actions\" tab on their fork and click \"I understand my workflows, go ahead and enable them\".\n  workflow_dispatch: # needed to trigger workflows manually\n    # todo cron?\n    inputs:\n      debug_enabled:\n        type: boolean\n        description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'\n        required: false\n        default: false\n\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        exclude: [\n            # windows runners are pretty scarce, so let's only run lowest and highest python version\n            {platform: windows-latest, python-version: '3.9' },\n            {platform: windows-latest, python-version: '3.10'},\n            {platform: windows-latest, python-version: '3.11'},\n\n            # same, macos is a bit too slow and ubuntu covers python quirks well\n            {platform: macos-latest  , python-version: '3.9' },\n            {platform: macos-latest  , python-version: '3.10'},\n            {platform: macos-latest  , python-version: '3.11'},\n        ]\n\n    runs-on: ${{ matrix.platform }}\n\n    #continue-on-error: ${{ matrix.platform == 'windows-latest' }}\n\n    steps:\n    # ugh https://github.com/actions/toolkit/blob/main/docs/commands.md#path-manipulation\n    - run: echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n        fetch-depth: 0  # nicer to have all git history when debugging/for tests\n\n    - uses: mxschmitt/action-tmate@v3\n      if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}\n\n    # explicit bash command is necessary for Windows CI runner, otherwise it thinks it's cmd...\n    - run: bash .ci/run\n\n    - if: matrix.platform == 'ubuntu-latest'  # no need to compute coverage for other platforms\n      uses: actions/upload-artifact@v4\n      with:\n        name: .coverage.mypy-core_${{ matrix.platform }}_${{ matrix.python-version }}\n        path: .coverage.mypy-core/\n    - if: matrix.platform == 'ubuntu-latest'  # no need to compute coverage for other platforms\n      uses: actions/upload-artifact@v4\n      with:\n        name: .coverage.mypy-misc_${{ matrix.platform }}_${{ matrix.python-version }}\n        path: .coverage.mypy-misc/\n\n  # split in two pipelines to speedup running\n  end2end_tests_chrome:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n    - uses: mxschmitt/action-tmate@v3\n      if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}\n    - run: .ci/end2end/build_and_run.sh -k chrome\n\n  end2end_tests_firefox:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n    - uses: mxschmitt/action-tmate@v3\n      if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}\n    - run: .ci/end2end/build_and_run.sh -k firefox\n\n  install_and_run_test:\n    # todo use setup-python thing?\n    # todo run on macos too?\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n\n    - run: .ci/github-ci-compat\n\n    - run: |\n        # --use-pep517 is a work around for some breaking change in setuptools 66.0.0\n        # see https://github.com/pypa/setuptools/issues/3772#issuecomment-1384671296\n        python3 -m pip install --use-pep517 .\n        export PATH=.ci/fake-systemd:$PATH\n        tests/install_and_run\n\n  pypi:\n    runs-on: ubuntu-latest\n    needs: [build, end2end_tests_chrome, end2end_tests_firefox, install_and_run_test]\n\n    steps:\n    # ugh https://github.com/actions/toolkit/blob/main/docs/commands.md#path-manipulation\n    - run: echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n\n    - name: 'release to test pypi'\n      # always deploy merged master to test pypi\n      if: github.event_name != 'pull_request' && github.event.ref == 'refs/heads/master'\n      env:\n        TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD_TEST }}\n      run: pip3 install --user --upgrade build twine && .ci/release --test\n\n    - name: 'release to pypi'\n      # always deploy tags to release pypi\n      # NOTE: release tags are guarded by on: push: tags on the top\n      if: github.event_name != 'pull_request' && startsWith(github.event.ref, 'refs/tags')\n      env:\n        TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n      run: pip3 install --user --upgrade build twine && .ci/release\n\n  ###\n  build_extension:\n    env:\n      name: 'promnesia'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n        fetch-depth: 0  # nicer to have all git history when debugging/for tests\n\n    - uses: actions/setup-node@v4\n      with:\n        node-version: '20'\n\n    - run: extension/.ci/build --lint # debug version\n    - run: extension/.ci/build --lint --release\n\n    # TODO ugh. can't share github actions artifacts publicly...\n    # TODO for fuck's sake... why does it end up named as .zip.zip ????\n    - uses: actions/upload-artifact@v4\n      with:\n        name: '${{ env.name }}-chrome-debug-latest.zip'\n        path: 'extension/dist/artifacts/chrome/${{ env.name }}_dev_-*.zip'\n    - uses: actions/upload-artifact@v4\n      with:\n        name: '${{ env.name }}-chrome-release-latest.zip'\n        path: 'extension/dist/artifacts/chrome/${{ env.name }}-*.zip'\n    - uses: actions/upload-artifact@v4\n      with:\n        name: '${{ env.name }}-firefox-debug-latest.zip'\n        path: 'extension/dist/artifacts/firefox/${{ env.name }}_dev_-*.zip'\n    - uses: actions/upload-artifact@v4\n      with:\n        name: '${{ env.name }}-firefox-release-latest.zip'\n        path: 'extension/dist/artifacts/firefox/${{ env.name }}-*.zip'\n", "state": "active", "repository": "karlicoss/promnesia"}
{"mined_at": "2024-07-15T13:18:00.933497", "created_at": "2020-01-09T23:15:19+01:00", "updated_at": "2020-01-10T17:10:39+01:00", "name": "ci", "path": "", "contents": null, "state": "active", "repository": "nschloe/meshio"}
{"mined_at": "2024-07-15T13:18:02.006267", "created_at": "2019-12-19T09:57:41+01:00", "updated_at": "2019-12-19T09:57:41+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n      - name: Run pre-commit\n        uses: pre-commit/action@v3.0.0\n\n  build:\n    needs: [lint]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macOS-latest]\n        python-version: [\"3.8\", \"3.12\"]\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Checkout code\n        uses: nschloe/action-cached-lfs-checkout@v1\n      - name: Test with tox\n        run: |\n          pip install tox\n          tox -- --cov meshio --cov-report xml --cov-report term\n      - uses: codecov/codecov-action@v3\n        if: ${{ matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest' }}\n", "state": "active", "repository": "nschloe/meshio"}
{"mined_at": "2024-07-15T13:18:04.095595", "created_at": "2021-11-22T21:32:53+01:00", "updated_at": "2021-11-22T21:32:53+01:00", "name": "Combine PRs", "path": ".github/workflows/combine-prs.yml", "contents": "name: 'Combine PRs'\n\n# Controls when the action will run - in this case triggered manually\non:\n  workflow_dispatch:\n    inputs:\n      branchPrefix:\n        description: 'Branch prefix to find combinable PRs based on'\n        required: true\n        default: 'dependabot'\n      mustBeGreen:\n        description: 'Only combine PRs that are green (status is success)'\n        required: true\n        default: true\n      combineBranchName:\n        description: 'Name of the branch to combine PRs into'\n        required: true\n        default: 'combine-prs-branch'\n      ignoreLabel:\n        description: 'Exclude PRs with this label'\n        required: true\n        default: 'nocombine'\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"combine-prs\"\n  combine-prs:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - uses: actions/github-script@v3\n        id: fetch-branch-names\n        name: Fetch branch names\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const pulls = await github.paginate('GET /repos/:owner/:repo/pulls', {\n              owner: context.repo.owner,\n              repo: context.repo.repo\n            });\n            branches = [];\n            prs = [];\n            base_branch = null;\n            for (const pull of pulls) {\n              const branch = pull['head']['ref'];\n              console.log('Pull for branch: ' + branch);\n              if (branch.startsWith('${{ github.event.inputs.branchPrefix }}')) {\n                console.log('Branch matched: ' + branch);\n                statusOK = true;\n                if(${{ github.event.inputs.mustBeGreen }}) {\n                  console.log('Checking green status: ' + branch);\n                  const statuses = await github.paginate('GET /repos/{owner}/{repo}/commits/{ref}/status', {\n                    owner: context.repo.owner,\n                    repo: context.repo.repo,\n                    ref: branch\n                  });\n                  if(statuses.length > 0) {\n                    const latest_status = statuses[0]['state'];\n                    console.log('Validating status: ' + latest_status);\n                    if(latest_status != 'success') {\n                      console.log('Discarding ' + branch + ' with status ' + latest_status);\n                      statusOK = false;\n                    }\n                  }\n                }\n                console.log('Checking labels: ' + branch);\n                const labels = pull['labels'];\n                for(const label of labels) {\n                  const labelName = label['name'];\n                  console.log('Checking label: ' + labelName);\n                  if(labelName == '${{ github.event.inputs.ignoreLabel }}') {\n                    console.log('Discarding ' + branch + ' with label ' + labelName);\n                    statusOK = false;\n                  }\n                }\n                if (statusOK) {\n                  console.log('Adding branch to array: ' + branch);\n                  branches.push(branch);\n                  prs.push('#' + pull['number'] + ' ' + pull['title']);\n                  base_branch = pull['base']['ref'];\n                }\n              }\n            }\n\n            if (branches.length == 0) {\n              core.setFailed('No PRs/branches matched criteria');\n              return;\n            }\n\n            core.setOutput('base-branch', base_branch);\n            core.setOutput('prs-string', prs.join('\\n'));\n            \n            combined = branches.join(' ')\n            console.log('Combined: ' + combined);\n            return combined\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2.3.3\n        with:\n          fetch-depth: 0\n      # Creates a branch with other PR branches merged together\n      - name: Created combined branch\n        env:\n          BASE_BRANCH: ${{ steps.fetch-branch-names.outputs.base-branch }}\n          BRANCHES_TO_COMBINE: ${{ steps.fetch-branch-names.outputs.result }}\n          COMBINE_BRANCH_NAME: ${{ github.event.inputs.combineBranchName }}\n        run: |\n          echo \"$BRANCHES_TO_COMBINE\"\n          sourcebranches=\"${BRANCHES_TO_COMBINE%\\\"}\"\n          sourcebranches=\"${sourcebranches#\\\"}\"\n          \n          basebranch=\"${BASE_BRANCH%\\\"}\"\n          basebranch=\"${basebranch#\\\"}\"\n          \n          git config pull.rebase false\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          \n          git branch $COMBINE_BRANCH_NAME $basebranch\n          git checkout $COMBINE_BRANCH_NAME\n          git pull origin $sourcebranches --no-edit\n          git push origin $COMBINE_BRANCH_NAME\n      # Creates a PR with the new combined branch\n      - uses: actions/github-script@v3\n        name: Create Combined Pull Request\n        env:\n          PRS_STRING: ${{ steps.fetch-branch-names.outputs.prs-string }}\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const prString = process.env.PRS_STRING;\n            const body = 'This PR was created by the Combine PRs action by combining the following PRs:\\n' + prString;\n            await github.pulls.create({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              title: 'Combined PR',\n              head: '${{ github.event.inputs.combineBranchName }}',\n              base: '${{ steps.fetch-branch-names.outputs.base-branch }}',\n              body: body\n            });\n", "state": "active", "repository": "plotly/dash-bio"}
{"mined_at": "2024-07-15T13:18:06.255163", "created_at": "2023-06-24T15:00:09+02:00", "updated_at": "2023-06-26T12:19:50+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions\n#\nname: Release\n\n# Always tests wheel building, but only publish to PyPI on pushed tags.\non:\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \".github/workflows/*.yaml\"\n      - \"!.github/workflows/release.yaml\"\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \".github/workflows/*.yaml\"\n      - \"!.github/workflows/release.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n    tags: [\"**\"]\n  workflow_dispatch:\n\njobs:\n  build-release:\n    runs-on: ubuntu-22.04\n    permissions:\n      # id-token=write is required for pypa/gh-action-pypi-publish, and the PyPI\n      # project needs to be configured to trust this workflow.\n      #\n      # ref: https://github.com/jupyterhub/team-compass/issues/648\n      #\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: install build package\n        run: |\n          pip install --upgrade pip\n          pip install build\n          pip freeze\n\n      - name: build release\n        run: |\n          python -m build --sdist --wheel .\n          ls -l dist\n\n      - name: publish to pypi\n        uses: pypa/gh-action-pypi-publish@release/v1\n        if: startsWith(github.ref, 'refs/tags/')\n", "state": "active", "repository": "jupyterhub/oauthenticator"}
{"mined_at": "2024-07-15T13:18:07.393545", "created_at": "2022-05-20T19:57:32+02:00", "updated_at": "2022-05-23T20:54:26+02:00", "name": "Test docs", "path": ".github/workflows/test-docs.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions\n#\nname: Test docs\n\non:\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - \"oauthenticator/**\"\n      - \"**/test-docs.yaml\"\n  push:\n    paths:\n      - \"docs/**\"\n      - \"oauthenticator/**\"\n      - \"**/test-docs.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n    tags: [\"**\"]\n  workflow_dispatch:\n\njobs:\n  linkcheck:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install deps\n        run: pip install -r docs/requirements.txt\n\n      - name: make linkcheck\n        run: |\n          cd docs\n          make linkcheck SPHINXOPTS='--color -W --keep-going'\n", "state": "active", "repository": "jupyterhub/oauthenticator"}
{"mined_at": "2024-07-15T13:18:09.097410", "created_at": "2020-11-11T15:54:16+01:00", "updated_at": "2020-11-11T15:54:16+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions\n#\nname: Tests\n\non:\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \".github/workflows/*.yaml\"\n      - \"!.github/workflows/test.yaml\"\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \".github/workflows/*.yaml\"\n      - \"!.github/workflows/test.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n    tags: [\"**\"]\n  workflow_dispatch:\n\nenv:\n  OAUTH2_TOKEN_URL: \"token_url\"\n  OAUTH2_USERDATA_URL: \"userdata_url\"\n\njobs:\n  test:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n\n    strategy:\n      # Keep running even if one variation of the job fail\n      fail-fast: false\n      matrix:\n        python:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        include:\n          - python: \"3.9\"\n            oldest_dependencies: oldest_dependencies\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.python }}\"\n\n      - name: Install Python dependencies\n        run: |\n          pip install \".[test]\"\n          pip list\n\n      - name: Downgrade to oldest dependencies\n        if: matrix.oldest_dependencies != ''\n        # take any dependencies in requirements.txt such as jupyterhub>=2.2 and\n        # transform them to jupyterhub==2.2 so we can run tests with the\n        # earliest-supported versions\n        run: |\n          cat requirements.txt | grep '>=' | sed -e 's@>=@==@g' > oldest-requirements.txt\n          pip install -r oldest-requirements.txt\n          pip list\n\n      - name: Run tests\n        run: |\n          pytest\n\n      # GitHub action reference: https://github.com/codecov/codecov-action\n      - uses: codecov/codecov-action@v4\n", "state": "active", "repository": "jupyterhub/oauthenticator"}
{"mined_at": "2024-07-15T13:18:11.221175", "created_at": "2021-02-22T03:34:37+01:00", "updated_at": "2021-02-22T03:34:37+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches:\n      - 'main'\n  pull_request:\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v1\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v1\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "stellarcn/py-stellar-base"}
{"mined_at": "2024-07-15T13:18:12.296515", "created_at": "2020-04-05T16:07:54+02:00", "updated_at": "2023-09-10T07:19:42+02:00", "name": "Test and Deploy", "path": ".github/workflows/continuous-integration-workflow.yml", "contents": "name: Test and Deploy\n\non:\n  push:\n  pull_request:\n  release:\n    types:\n      - created\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - uses: pre-commit/action@v3.0.0\n\n  test:\n    needs: pre-commit\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [\n          { os: 'ubuntu-latest',  python-version: '3.8' },\n          { os: 'ubuntu-latest',  python-version: '3.9' },\n          { os: 'ubuntu-latest',  python-version: '3.10' },\n          { os: 'ubuntu-latest',  python-version: '3.11' },\n          { os: 'ubuntu-latest',  python-version: '3.12' },\n          { os: 'ubuntu-latest',  python-version: 'pypy3.8' },\n          { os: 'ubuntu-latest',  python-version: 'pypy3.9' },\n          { os: 'ubuntu-latest',  python-version: 'pypy3.10' },\n          { os: 'macos-latest',  python-version: '3.8' },\n          { os: 'macos-latest',  python-version: '3.9' },\n          { os: 'macos-latest',  python-version: '3.10' },\n          { os: 'macos-latest',  python-version: '3.11' },\n          { os: 'macos-latest',  python-version: '3.12' },\n          { os: 'macos-latest',  python-version: 'pypy3.8' },\n          { os: 'macos-latest',  python-version: 'pypy3.9' },\n          { os: 'macos-latest',  python-version: 'pypy3.10' },\n          { os: 'windows-latest',  python-version: '3.8' },\n          { os: 'windows-latest',  python-version: '3.9' },\n          { os: 'windows-latest',  python-version: '3.10' },\n          { os: 'windows-latest',  python-version: '3.11' },\n          { os: 'windows-latest',  python-version: '3.12' },\n        ]\n        # https://endoflife.date/python\n    runs-on: ${{ matrix.platform.os }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Wake up httpbin server\n        run: |\n          curl https://httpbinx.fly.dev/ip\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Setup Python ${{ matrix.platform.python-version }} on ${{ matrix.platform.os }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.platform.python-version }}\n\n      - name: Install dependencies\n        run: |\n          poetry install --extras 'aiohttp'\n\n      - name: Echo installed packages\n        run: |\n          poetry show\n\n      - name: Test with pytest\n        run: poetry run pytest -v -rs tests --runslow --cov=./ --cov-report=xml\n\n      - name: Upload coverage to Codecov\n        if: matrix.platform.python-version == '3.11' && matrix.platform.os == 'ubuntu-latest'\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n          fail_ci_if_error: true\n\n  deploy:\n    needs: test\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release' && github.event.action == 'created'\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Build Packages\n        run: poetry build\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "stellarcn/py-stellar-base"}
{"mined_at": "2024-07-15T13:18:13.492786", "created_at": "2023-08-17T08:59:20+02:00", "updated_at": "2023-08-17T08:59:20+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "stellarcn/py-stellar-base"}
{"mined_at": "2024-07-15T13:18:15.712665", "created_at": "2020-08-03T11:34:50+02:00", "updated_at": "2020-08-03T11:34:50+02:00", "name": "REUSE", "path": ".github/workflows/reuse.yml", "contents": "name: REUSE\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the master branch\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  reuse:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    steps:\n    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n    - uses: actions/checkout@v2\n\n    # Check REUSE Compliance\n    - name: REUSE Compliance Check\n      uses: fsfe/reuse-action@v1.1\n", "state": "active", "repository": "sap/infrabox"}
{"mined_at": "2024-07-15T13:18:17.869896", "created_at": "2022-08-09T08:41:54+02:00", "updated_at": "2022-10-06T11:42:49+02:00", "name": "linux", "path": ".github/workflows/linux.yml", "contents": "name: linux\n\non: [pull_request, push]\n\ndefaults:\n  run:\n      shell: bash -l {0}\n\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: mamba-org/setup-micromamba@main\n      with:\n        environment-file: .github/snakePipesEnvCI.yml\n        condarc: |\n          channels:\n            - conda-forge\n            - bioconda\n            - defaults\n          channel_priority: 'strict'\n        cache-downloads: true\n    - name: Install snakePipes\n      run: |\n        micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv\n    - name: docs\n      run: |\n        micromamba activate snakePipes_CI\n        snakePipes config --tempDir /tmp\n        cd docs\n        make html\n  flake:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: mamba-org/setup-micromamba@main\n      with:\n        environment-file: .github/snakePipesEnvCI.yml\n        condarc: |\n          channels:\n            - conda-forge\n            - bioconda\n            - defaults\n          channel_priority: 'strict'\n        cache-downloads: true\n    - name: Install snakePipes\n      run: |\n        micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv\n    - name: flake\n      run: |\n        micromamba activate snakePipes_CI\n        snakePipes config --tempDir /tmp\n        flake8 --ignore=E501,E722,E402 --exclude tests,docs/conf.py,build/lib/snakePipes/shared/tools/three_prime_seq,snakePipes/shared/tools/three_prime_seq .\n  CI:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: mamba-org/setup-micromamba@main\n      with:\n        environment-file: .github/snakePipesEnvCI.yml\n        condarc: |\n          channels:\n            - conda-forge\n            - bioconda\n            - defaults\n          channel_priority: 'strict'\n        cache-downloads: true\n    - name: Install snakePipes\n      run: |\n        micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv\n    - name: CI\n      run: |\n        micromamba activate snakePipes_CI\n        snakePipes config --tempDir /tmp\n        ./.ci_stuff/test_dag.sh\n    - name: pytest\n      run: |\n        micromamba activate snakePipes_CI\n        snakePipes config --tempDir /tmp\n        pytest --verbosity=2\n  createEnvs:\n    needs: CI\n    strategy:\n      fail-fast: false\n      matrix:\n        envs: [\n          'CONDA_SHARED_ENV',\n          'CONDA_CREATE_INDEX_ENV',\n          'CONDA_RNASEQ_ENV',\n          'CONDA_RMATS_ENV',\n          'CONDA_scRNASEQ_ENV',\n          'CONDA_seurat3_ENV',\n          'CONDA_loompy_ENV',\n          'CONDA_alevinqc_ENV',\n          'CONDA_eisaR_ENV',\n          'CONDA_DNA_MAPPING_ENV',\n          'CONDA_CHIPSEQ_ENV',\n          'CONDA_ATAC_ENV',\n          'CONDA_HIC_ENV',\n          'CONDA_WGBS_ENV',\n          'CONDA_DSS_ENV',\n          'CONDA_RMD_ENV',\n          'CONDA_PREPROCESSING_ENV',\n          'CONDA_NONCODING_RNASEQ_ENV',\n          'CONDA_SAMBAMBA_ENV',\n          'CONDA_pysam_ENV'\n        ]\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: mamba-org/setup-micromamba@main\n      with:\n        environment-file: .github/snakePipesEnvCI.yml\n        condarc: |\n          channels:\n            - conda-forge\n            - bioconda\n            - defaults\n          channel_priority: 'strict'\n        cache-downloads: true\n    - name: install snakePipes\n      run: |\n        micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv\n    - name: createEnvs\n      run: |\n        micromamba activate snakePipes_CI\n        snakePipes config --tempDir /tmp\n        snakePipes createEnvs --autodetectCondaEnvDir --only ${{matrix.envs}}\n", "state": "active", "repository": "maxplanck-ie/snakepipes"}
{"mined_at": "2024-07-15T13:18:19.092337", "created_at": "2022-08-09T12:29:44+02:00", "updated_at": "2022-10-06T11:42:49+02:00", "name": "osx", "path": ".github/workflows/osx.yml", "contents": "name: osx\n\non: [pull_request, push]\n\ndefaults:\n  run:\n      shell: bash -l {0}\n\njobs:\n  createEnvs_OSX:\n    strategy:\n      fail-fast: false\n      matrix:\n        envs: [\n          'CONDA_SHARED_ENV',\n          'CONDA_CREATE_INDEX_ENV',\n          'CONDA_RNASEQ_ENV',\n          'CONDA_RMATS_ENV',\n          'CONDA_scRNASEQ_ENV',\n          'CONDA_seurat3_ENV',\n          'CONDA_loompy_ENV',\n          'CONDA_alevinqc_ENV',\n          'CONDA_eisaR_ENV',\n          'CONDA_DNA_MAPPING_ENV',\n          'CONDA_CHIPSEQ_ENV',\n          'CONDA_ATAC_ENV',\n          'CONDA_HIC_ENV',\n          'CONDA_WGBS_ENV',\n          'CONDA_DSS_ENV',\n          'CONDA_RMD_ENV',\n          'CONDA_PREPROCESSING_ENV',\n          'CONDA_NONCODING_RNASEQ_ENV',\n          'CONDA_SAMBAMBA_ENV',\n          'CONDA_pysam_ENV'\n        ]\n    runs-on: macos-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: mamba-org/setup-micromamba@main\n        with:\n          environment-file: .github/snakePipesEnvCI.yml\n          condarc: |\n            channels:\n              - conda-forge\n              - bioconda\n              - defaults\n            channel_priority: 'strict'\n          cache-downloads: true\n      - name: install snakePipes_OSX\n        run: |\n          micromamba run -n snakePipes_CI python -m pip install . --no-deps --ignore-installed -vvv\n      - name: createEnvsOSX\n        run: |\n          micromamba activate snakePipes_CI\n          snakePipes createEnvs --autodetectCondaEnvDir --only ${{matrix.envs}}\n     \n", "state": "active", "repository": "maxplanck-ie/snakepipes"}
{"mined_at": "2024-07-15T13:18:20.124662", "created_at": "2024-06-25T17:00:16+02:00", "updated_at": "2024-06-25T17:01:16+02:00", "name": "pytest", "path": ".github/workflows/pytest.yml", "contents": null, "state": "active", "repository": "maxplanck-ie/snakepipes"}
{"mined_at": "2024-07-15T13:18:22.204688", "created_at": "2020-01-03T15:56:28+01:00", "updated_at": "2022-07-14T20:23:09+02:00", "name": "Examples", "path": ".github/workflows/examples.yml", "contents": "name: Examples\n\non: [pull_request]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n\n    strategy:\n      max-parallel: 1\n      matrix:\n        python-version: ['3.9']\n        os: [ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Cache pip\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install dependencies (pip)\n        run: |\n          pip install \\\n            -r requirements.txt \\\n            -r requirements/tests.txt\n          pip install pypardiso\n\n      - name: Running tests\n        run:\n          pytest examples/\n            --nbval-lax\n", "state": "active", "repository": "pmeal/openpnm"}
{"mined_at": "2024-07-15T13:18:23.256538", "created_at": "2020-06-29T21:52:54+02:00", "updated_at": "2021-10-25T16:44:14+02:00", "name": "Clean Up Tags", "path": ".github/workflows/cleanup-tags.yml", "contents": "name: Clean Up Tags\n\non: [workflow_dispatch]\n\njobs:\n  deploy:\n    name: Clean up tags\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Clean up tags\n      run: |\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY}\n        remote_repo=\"https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${REPOSITORY}.git\"\n        git fetch --all --tags --force\n        prefix=\"v\"\n        pattern=\"^($prefix)(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-((?:0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$\"\n        git tag | grep --invert-match -P $pattern | xargs -n 1 -I % git push \"${remote_repo}\" :refs/tags/%\n", "state": "active", "repository": "pmeal/openpnm"}
{"mined_at": "2024-07-15T13:18:24.387706", "created_at": "2020-06-30T05:44:29+02:00", "updated_at": "2022-08-22T20:58:20+02:00", "name": "Bump Version (release)", "path": ".github/workflows/bump-version.yml", "contents": "name: Bump Version (release)\n\non:\n  push:\n    branches:\n      - release\n\njobs:\n  build:\n    name: Bump version\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        persist-credentials: false  # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token\n        fetch-depth: 0              # otherwise, you will failed to push refs to dest repo\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n\n    - name: Set env variables\n      run: |\n        # The next line is very important, otherwise the line after triggers\n        # git to track the permission change, which breaks bump2version API (needs clean git folder)\n        git config core.filemode false\n        chmod +x .github/workflows/utils.sh\n        echo \"VERSION_FILE=openpnm/__version__.py\" >> $GITHUB_ENV\n        echo \"SETUP_CFG_FILE=setup.cfg\" >> $GITHUB_ENV\n        echo \"${{ github.event.head_commit.message }}\"\n\n    - name: Install dependencies\n      run: |\n        pip install bump2version\n\n    - name: Bump version (patch)\n      if: contains(github.event.head_commit.message, '#patch')\n      run: |\n        source .github/workflows/utils.sh\n        bump_version patch $VERSION_FILE\n        echo \"TAG_NEW=v$(get_version $VERSION_FILE)\" >> $GITHUB_ENV\n\n    - name: Bump version (minor)\n      if: contains(github.event.head_commit.message, '#minor')\n      run: |\n        source .github/workflows/utils.sh\n        bump_version minor $VERSION_FILE\n        echo \"TAG_NEW=v$(get_version $VERSION_FILE)\" >> $GITHUB_ENV\n\n    - name: Bump version (major)\n      if: contains(github.event.head_commit.message, '#major')\n      run: |\n        source .github/workflows/utils.sh\n        bump_version major $VERSION_FILE\n        echo \"TAG_NEW=v$(get_version $VERSION_FILE)\" >> $GITHUB_ENV\n\n    - name: Commit files\n      if:\n        contains(github.event.head_commit.message, '#patch') ||\n        contains(github.event.head_commit.message, '#minor') ||\n        contains(github.event.head_commit.message, '#major')\n      run: |\n        REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY}\n        remote_repo=\"https://${GITHUB_ACTOR}:${{ secrets.PUSH_ACTION_TOKEN }}@github.com/${REPOSITORY}.git\"\n\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n\n        # Commit version bump to release\n        git commit -m \"Bump version number\" -a\n        git push \"${remote_repo}\" release\n\n    - name: Create Pull Request to merge back release into dev\n      uses: repo-sync/pull-request@v2\n      with:\n        source_branch: \"release\"                          # If blank, default: triggered branch\n        destination_branch: \"dev\"                         # If blank, default: master\n        pr_title: \"Merge release branch back into dev\"\n        pr_body: \"Changes made to the release branch (e.g. hotfixes), plus the version bump.\"\n        pr_assignee: \"jgostick,ma-sadeghi\"                # Comma-separated list (no spaces)\n        pr_label: \"high priority\"                         # Comma-separated list (no spaces)\n        pr_draft: false                                   # Creates pull request as draft\n        pr_allow_empty: true                              # Creates pull request even if there are no changes\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Trim the 4th digit from the tag\n      run:\n        echo \"TAG_NEW=${TAG_NEW%.dev?}\" >> $GITHUB_ENV\n\n    - name: Create new tag\n      run: |\n        REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY}\n        remote_repo=\"https://${GITHUB_ACTOR}:${{ secrets.PUSH_ACTION_TOKEN }}@github.com/${REPOSITORY}.git\"\n        if [ -z \"$TAG_NEW\" ]\n        then\n            echo \"New tag not created.\"\n        else\n            git tag $TAG_NEW\n            git push \"${remote_repo}\" $TAG_NEW\n            echo \"Pushed a new tag: $TAG_NEW\"\n        fi\n", "state": "active", "repository": "pmeal/openpnm"}
{"mined_at": "2024-07-15T13:18:25.455910", "created_at": "2020-06-30T06:02:12+02:00", "updated_at": "2021-10-23T03:50:40+02:00", "name": "Deploy to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Deploy to PyPI\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  deploy:\n    name: Publish 🐍 📦 to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        ref: release  # the production branch name (for proper version #)\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n\n    - name: Set env variables\n      run: |\n        chmod +x .github/workflows/utils.sh\n        source .github/workflows/utils.sh\n        VERSION_FILE=openpnm/__version__.py\n        echo \"TAG=$(get_most_recent_tag)\" >> $GITHUB_ENV\n        echo \"VERSION=$(get_version $VERSION_FILE)\" >> $GITHUB_ENV\n\n    - name: Set env variables (for tag mismatch)\n      run: |\n        echo \"Tag: $TAG, Version: $VERSION\"\n        if [ \"${TAG//v}\" = \"${VERSION%.dev?}\" ]; then\n            echo \"TAG_MISMATCH=false\" >> $GITHUB_ENV\n        else\n            echo \"TAG_MISMATCH=true\" >> $GITHUB_ENV\n        fi\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n        echo \"${{ github.event.ref }}\"\n        echo \"Tag/version mismatch: $TAG_MISMATCH\"\n\n    - name: Build distribution 📦\n      run: python setup.py sdist bdist_wheel\n\n    - name: Publish distribution 📦 to PyPI\n      if: startsWith(github.event.ref, 'refs/tags') && contains(env.TAG_MISMATCH, 'false')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n        skip-existing: true\n\n    # - name: Publish distribution 📦 to TestPyPI\n    #   if: startsWith(github.event.ref, 'refs/tags') && contains(env.TAG_MISMATCH, 'false')\n    #   uses: pypa/gh-action-pypi-publish@release/v1\n    #   with:\n    #     user: __token__\n    #     password: ${{ secrets.TESTPYPI_TOKEN }}\n    #     repository_url: https://test.pypi.org/legacy/\n\n    # Not a good idea: if a non-conforming tag is push, e.g. random_tag, it\n    # first gets deleted by cleanup-tags.yml, and then publish-to-pypi.yml gets\n    # tricked and deletes the most recent tag! Ouch!\n\n    # - name: Delete tag if doesn't match with version\n    #   if: contains(env.TAG_MISMATCH, 'true')\n    #   run: |\n    #     git config --local user.email \"action@github.com\"\n    #     git config --local user.name \"GitHub Action\"\n    #     REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY}\n    #     remote_repo=\"https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${REPOSITORY}.git\"\n    #     git push \"${remote_repo}\" :refs/tags/$TAG\n", "state": "active", "repository": "pmeal/openpnm"}
{"mined_at": "2024-07-15T13:18:26.520780", "created_at": "2020-06-30T21:52:50+02:00", "updated_at": "2021-10-23T03:50:48+02:00", "name": "Release Notes", "path": ".github/workflows/release-notes.yml", "contents": "name: Release Notes\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  build:\n    name: Release notes\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n            fetch-depth: 0  # to retrieve entire history of refs/tags\n\n      - name: Generate release notes\n        run: |\n          git fetch --all --tags --force\n          chmod +x .github/workflows/logger.sh\n          chmod +x .github/workflows/utils.sh\n          source .github/workflows/utils.sh\n          bash .github/workflows/logger.sh\n          echo \"TAG=$(get_most_recent_tag)\" >> $GITHUB_ENV\n\n      - name: Create GitHub release\n        uses: Roang-zero1/github-create-release-action@master\n        with:\n          version_regex: ^v[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+\n          create_draft: true\n          created_tag: ${{ env.TAG }}\n          update_existing: false\n          release_title: ${{ env.TAG }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pmeal/openpnm"}
{"mined_at": "2024-07-15T13:18:27.587575", "created_at": "2020-11-06T02:52:39+01:00", "updated_at": "2021-10-23T03:50:34+02:00", "name": "Deploy Documentation", "path": ".github/workflows/gh-pages.yml", "contents": "name: Deploy Documentation\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - release\n\njobs:\n  deploy-docs:\n\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Cache pip\n        uses: actions/cache@v3\n        with:\n          # This path is specific to Ubuntu\n          path: ~/.cache/pip\n          # Look to see if there is a cache hit for the corresponding requirements file\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n\n      - name: Install dependencies\n        run: |\n          pip install -r requirements.txt\n          pip install -r requirements/docs.txt\n          pip install pypardiso\n\n      - name: Build the documentation\n        run: |\n          cd docs\n          make html\n\n      - name: GitHub Pages action\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs/_build/html\n          cname: openpnm.org\n", "state": "active", "repository": "pmeal/openpnm"}
{"mined_at": "2024-07-15T13:18:28.718426", "created_at": "2021-07-16T16:28:10+02:00", "updated_at": "2021-10-23T03:50:51+02:00", "name": "Verify pip-installability", "path": ".github/workflows/verify-pip-installation.yml", "contents": "name: Verify pip-installability\n\non: [workflow_dispatch]\n\njobs:\n  deploy:\n    name: Verify pip-installability\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n\n    - name: Set branch name as env variable\n      run: |\n        echo Current branch: ${GITHUB_REF#refs/heads/}\n        echo \"BRANCH_NAME=${GITHUB_REF#refs/heads/}\" >> $GITHUB_ENV\n\n    - name: Install only using pip\n      run:\n        pip install git+https://github.com/PMEAL/OpenPNM.git@${BRANCH_NAME}\n\n    - name: Test the installation\n      run:\n        python -c \"import openpnm\"\n", "state": "active", "repository": "pmeal/openpnm"}
{"mined_at": "2024-07-15T13:18:29.784333", "created_at": "2021-10-25T01:29:36+02:00", "updated_at": "2021-10-25T05:51:05+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non: [pull_request]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n\n    strategy:\n      fail-fast: false\n      max-parallel: 9\n      matrix:\n        python-version: ['3.9', '3.10', '3.11']\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        include:\n        - os: ubuntu-latest\n          path: ~/.cache/pip\n        - os: macos-latest\n          path: ~/Library/Caches/pip\n        - os: windows-latest\n          path: ~\\AppData\\Local\\pip\\Cache\n\n    steps:\n      - name: Cache pip\n        uses: actions/cache@v3\n        with:\n          path: ${{ matrix.path }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install \\\n            -r requirements.txt \\\n            -r requirements/tests.txt\n\n      - name: Install pypardiso on non-macOS\n        if: (matrix.os != 'macos-latest')\n        run: |\n          pip install pypardiso\n\n      - name: Disable numba JIT for codecov to include jitted methods\n        if: (matrix.python-version == 3.9) && (matrix.os == 'ubuntu-latest')\n        run: |\n          echo \"NUMBA_DISABLE_JIT=1\" >> $GITHUB_ENV\n\n      - name: Running tests\n        run:\n          pytest .\n            --cov=.\n            --cov-report=xml\n            --color=yes\n\n      - name: Upload coverage to Codecov\n        if: (matrix.python-version == 3.9) && (matrix.os == 'ubuntu-latest')\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n\n\n      - name: flake8 Lint\n        if: (matrix.python-version == 3.9) && (matrix.os == 'ubuntu-latest')\n        uses: py-actions/flake8@v2\n        with:\n           ignore: \"D100,E226,E402,E712,E741,F401,F403,N806,W503,WPS111,WPS211,WPS237,WPS300,WPS305,WPS319,WPS347,WPS410,WPS437\"\n           exclude: \"docs/,scripts/,tests/,openpnm/contrib/,setup.py,openpnm/models/_doctxt.py,openpnm/models/phase/_phasedocs.py,openpnm/models/geometry/_geodocs.py\"\n           max-line-length: \"90\"\n           path: \"..\"\n", "state": "active", "repository": "pmeal/openpnm"}
{"mined_at": "2024-07-15T13:18:31.175691", "created_at": "2021-12-17T04:45:00+01:00", "updated_at": "2022-08-22T20:58:20+02:00", "name": "Bump Version (dev)", "path": ".github/workflows/bump-version-dev.yml", "contents": "name: Bump Version (dev)\n\non:\n  push:\n    branches:\n      - dev\n\njobs:\n  build:\n    if: (! contains(github.event.head_commit.message, '[no bump]'))\n\n    name: Bump version\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n\n    - name: Set env variables\n      run: |\n        # The next line is very important, otherwise the line after triggers\n        # git to track the permission change, which breaks bump2version API (needs clean git folder)\n        git config core.filemode false\n        chmod +x .github/workflows/utils.sh\n        echo \"VERSION_FILE=openpnm/__version__.py\" >> $GITHUB_ENV\n        echo \"SETUP_CFG_FILE=setup.cfg\" >> $GITHUB_ENV\n        echo \"${{ github.event.head_commit.message }}\"\n\n    - name: Install dependencies\n      run: |\n        pip install bump2version\n\n    - name: Bump version (build)\n      run: |\n        source .github/workflows/utils.sh\n        bump_version build $VERSION_FILE\n        # Note that we don't want to create a new tag for \"builds\"\n\n    # - name: Commit files\n    #   run: |\n    #     REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY}\n    #     remote_repo=\"https://${GITHUB_ACTOR}:${{ secrets.PUSH_ACTION_TOKEN }}@github.com/${REPOSITORY}.git\"\n\n    #     git config --local user.email \"action@github.com\"\n    #     git config --local user.name \"GitHub Action\"\n\n    #     # Commit version bump to dev ([no ci] to avoid infinite loop)\n    #     git commit -m \"Bump version number (build) [no ci]\" -a\n    #     git push \"${remote_repo}\" dev\n\n    - name: Commit files\n      uses: stefanzweifel/git-auto-commit-action@v4\n      with:\n        commit_message: Bump version number (build part)\n        commit_author: Author <actions@github.com>\n", "state": "active", "repository": "pmeal/openpnm"}
{"mined_at": "2024-07-15T13:18:32.181370", "created_at": "2022-03-23T02:53:51+01:00", "updated_at": "2022-03-23T02:53:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pmeal/openpnm"}
{"mined_at": "2024-07-15T13:18:33.214023", "created_at": "2022-08-22T21:03:56+02:00", "updated_at": "2022-08-22T21:31:04+02:00", "name": "Nightly Builds", "path": ".github/workflows/nightly.yml", "contents": "name: Nightly Builds\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  nightly:\n\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n\n    strategy:\n      fail-fast: false\n      max-parallel: 9\n      matrix:\n        python-version: ['3.9', '3.10', '3.11']\n        # Add macos-latest to the next line once #2451 is fixed\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        include:\n        - os: ubuntu-latest\n          path: ~/.cache/pip\n        - os: macos-latest\n          path: ~/Library/Caches/pip\n        - os: windows-latest\n          path: ~\\AppData\\Local\\pip\\Cache\n\n    steps:\n      - name: Cache pip\n        uses: actions/cache@v3\n        with:\n          path: ${{ matrix.path }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install \\\n            -r requirements.txt \\\n            -r requirements/tests.txt\n\n      - name: Install pypardiso on non-macOS\n        if: (matrix.os != 'macos-latest')\n        run: |\n          pip install pypardiso            \n\n      - name: Running tests\n        run:\n          pytest . --color=yes\n", "state": "active", "repository": "pmeal/openpnm"}
{"mined_at": "2024-07-15T13:18:34.284886", "created_at": "2021-10-29T05:17:18+02:00", "updated_at": "2022-11-05T03:39:49+01:00", "name": "flake8 Lint", "path": ".github/workflows/style-check.yml", "contents": "name: flake8 Lint\n\non: [push, pull_request]\n\njobs:\n  flake8-lint:\n    runs-on: ubuntu-latest\n    name: Lint\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@v2\n      - name: Set up Python environment\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.10'\n      - name: flake8 Lint\n        uses: py-actions/flake8@v2\n        with:\n          ignore: \"D100,E226,F403,N806,W503,WPS111,WPS211,WPS237,WPS300,WPS305,WPS319,WPS347,WPS410,WPS437\"\n          exclude: \"doc/,setup.py,scripts/,tests/\"\n          max-line-length: \"90\"\n          path: \"..\"\n          plugins: \"flake8-bugbear==22.1.11 flake8-black\"\n", "state": "disabled_manually", "repository": "pmeal/openpnm"}
{"mined_at": "2024-07-15T13:18:36.355142", "created_at": "2021-05-03T06:01:58+02:00", "updated_at": "2021-05-04T03:46:32+02:00", "name": "Cron tests", "path": ".github/workflows/cron-tests.yml", "contents": "name: Cron tests\n\non:\n  schedule:\n    - cron: \"0 10 * * 1\"  # Mondays @ 6AM Eastern\n  pull_request:\n    # We also want this workflow triggered if the 'Extra CI' label is added\n    # or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n\njobs:\n  tests:\n    name: Python ${{ matrix.python }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    if: (github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'Extra CI'))\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [ubuntu-latest, macos-latest]  # TODO: re-enable windows-latest\n        python: ['3.9', '3.10', '3.11']\n        include:\n          # These set options for each python version. So, for example, when any\n          # python 3.11 job in the matrix runs, it should use this toxenv\n          - python: '3.11'\n            toxenv: py311-test\n\n          - python: '3.10'\n            toxenv: py310-test\n\n          - python: 3.9\n            toxenv: py39-test-cov\n\n          - python: 3.11\n            toxenv: py311-test-extradeps\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      # For animation tests\n      - uses: FedericoCarboni/setup-ffmpeg@v3\n        with:\n          # Not strictly necessary, but it may prevent rate limit\n          # errors especially on GitHub-hosted macos machines.\n          token: ${{ secrets.GITHUB_TOKEN }}\n        id: setup-ffmpeg\n\n      - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n        if: \"!startsWith(matrix.os, 'windows')\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      # Windows:\n      - uses: conda-incubator/setup-miniconda@v3\n        if: startsWith(matrix.os, 'windows')\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Python dependencies - Windows\n        if: startsWith(matrix.os, 'windows')\n        shell: bash -l {0}\n        run: |\n          conda install -c conda-forge -q gsl libpython\n          python -m pip install -e .[test]\n          python -m pip install tox\n\n      - name: Run tests - Windows\n        if: startsWith(matrix.os, 'windows')\n        shell: bash -l {0}\n        run: |\n          tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} ${{ matrix.toxposargs }}\n\n      # Mac:\n      - name: Setup Mac - GSL\n        if: startsWith(matrix.os, 'mac')\n        run: |\n          brew install gsl\n\n      # Ubuntu:\n      - name: Setup Linux - GSL\n        if: runner.os == 'Linux'\n        run: |\n          sudo apt-get update\n          sudo apt-get install gsl-bin libgsl0-dev build-essential\n\n      # Any *nix:\n      - name: Install Python dependencies - nix\n        if: \"!startsWith(matrix.os, 'windows')\"\n        run: python -m pip install --upgrade tox codecov\n\n      - name: Run tests - nix\n        if: \"!startsWith(matrix.os, 'windows')\"\n        run: tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}\n", "state": "active", "repository": "adrn/gala"}
{"mined_at": "2024-07-15T13:18:37.498004", "created_at": "2021-05-03T05:59:59+02:00", "updated_at": "2023-08-04T19:39:52+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n    - main\n    tags:\n    - '*'\n  pull_request:\n\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'docs only')\n    strategy:\n      fail-fast: true\n      matrix:\n        include:\n\n          - name: Code style checks\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: codestyle\n\n          - name: Python 3.10 with minimal dependencies and coverage\n            os: ubuntu-latest\n            python: '3.10'\n            toxenv: py310-test-cov\n\n          - name: Python 3.9\n            os: ubuntu-latest\n            python: '3.9'\n            toxenv: py39-test\n\n          - name: Python 3.10\n            os: ubuntu-latest\n            python: '3.10'\n            toxenv: py310-test\n\n          - name: Python 3.11\n            os: ubuntu-latest\n            python: '3.11'\n            toxenv: py311-test\n\n          # Has to happen on ubuntu because galpy is finnicky on macOS\n          - name: Python 3.10 with all optional dependencies\n            os: ubuntu-latest\n            python: '3.10'\n            toxenv: py310-test-extradeps\n            toxposargs: --durations=50\n\n          - name: Python 3.10 without GSL\n            os: ubuntu-latest\n            python: '3.10'\n            toxenv: nogsl\n\n          - name: Python 3.9 with oldest supported version of all dependencies\n            os: ubuntu-latest\n            python: 3.9\n            toxenv: py39-test-oldestdeps\n\n          # Mac and Windows:\n          - name: Python 3.10 standard tests (macOS)\n            os: macos-latest\n            python: '3.10'\n            toxenv: py310-test\n\n          # - name: Python 3.9 standard tests (Windows)\n          #   os: windows-latest\n          #   python: 3.9\n          #   toxenv: py39-test\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      # For animation tests\n      - uses: FedericoCarboni/setup-ffmpeg@v3\n        if: ${{ !startsWith(matrix.os, 'mac') }}\n        with:\n          # Not strictly necessary, but it may prevent rate limit\n          # errors especially on GitHub-hosted macos machines.\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n        id: setup-ffmpeg\n\n      - name: Set up Python ${{ matrix.python }} on ${{ matrix.os }}\n        if: ${{ !startsWith(matrix.os, 'windows') }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      # Windows:\n      # - uses: conda-incubator/setup-miniconda@v2\n      #   if: startsWith(matrix.os, 'windows')\n      #   with:\n      #     auto-update-conda: true\n      #     python-version: ${{ matrix.python-version }}\n\n      # - name: Install Python dependencies - Windows\n      #   if: startsWith(matrix.os, 'windows')\n      #   shell: bash -l {0}\n      #   run: |\n      #     conda install -c conda-forge -q gsl python=3.9 libpython\n      #     python -m pip install -e .[test]\n      #     python -m pip install tox\n\n      # - name: Run tests - Windows\n      #   if: startsWith(matrix.os, 'windows')\n      #   shell: bash -l {0}\n      #   run: |\n      #     tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} ${{ matrix.toxposargs }}\n\n      # Mac:\n      - name: Setup Mac - GSL\n        if: startsWith(matrix.os, 'mac')\n        run: |\n          brew install gsl\n\n      # Ubuntu:\n      - name: Setup Linux - GSL\n        if: runner.os == 'Linux'\n        run: |\n          sudo apt-get update\n          sudo apt-get install gsl-bin libgsl0-dev build-essential\n          sudo apt-get install libhdf5-serial-dev  # TODO: remove when h5py has 3.11 wheels\n\n      # Any *nix:\n      - name: Install Python dependencies - nix\n        if: ${{ !startsWith(matrix.os, 'windows') }}\n        run: python -m pip install --upgrade tox codecov\n\n      - name: Run tests - nix\n        if: ${{ !startsWith(matrix.os, 'windows') }}\n        run: tox -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}\n\n      # Coverage:\n      - name: Upload coverage report to codecov\n        uses: codecov/codecov-action@v4\n        if: steps.check_files.outputs.files_exists == 'true' && runner.os == 'Linux'\n        with:\n          file: ./coverage.xml # optional\n", "state": "active", "repository": "adrn/gala"}
{"mined_at": "2024-07-15T13:18:38.467634", "created_at": "2021-04-28T18:37:04+02:00", "updated_at": "2021-04-28T23:31:58+02:00", "name": "Tutorials", "path": ".github/workflows/tutorials.yml", "contents": "name: Tutorials\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  release:\n    types:\n      - published\n\njobs:\n  notebooks:\n    name: \"Build the notebooks for the docs\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip wheel\n          python -m pip install \".[tutorials]\"\n\n      - name: Execute the notebooks\n        run: |\n          cd docs\n          make exectutorials\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: notebooks-for-${{ github.sha }}\n          path: docs/tutorials\n\n      - name: Trigger RTDs build\n        if: ${{ github.event_name != 'pull_request' }}\n        uses: dfm/rtds-action@v1.1.0\n        with:\n          webhook_url: ${{ secrets.RTDS_WEBHOOK_URL }}\n          webhook_token: ${{ secrets.RTDS_WEBHOOK_TOKEN }}\n          commit_ref: ${{ github.ref }}\n", "state": "active", "repository": "adrn/gala"}
{"mined_at": "2024-07-15T13:18:39.522838", "created_at": "2020-07-12T16:22:34+02:00", "updated_at": "2021-04-28T23:31:58+02:00", "name": "Wheels", "path": ".github/workflows/wheels.yml", "contents": "name: Wheels\non:\n  release:\n    types:\n      - published\n      - edited\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_nix_wheels:\n    name: Build wheels on ${{ matrix.os }} - ${{ matrix.python[1] }}\n    runs-on: ${{ matrix.os }}\n    if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'docs only')\n    strategy:\n      fail-fast: false\n      matrix:\n        # Building wheels on linux takes too much time: split wheels into multiple runs\n        python:\n          - [\"1\", \"cp39-* cp310-*\"]\n          - [\"2\", \"cp311-* cp312-*\"]\n        os:\n          - \"macos-14\"\n          - \"ubuntu-latest\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      # - name: Set up QEMU  # For emulation on Linux\n      #   if: runner.os == 'Linux'\n      #   uses: docker/setup-qemu-action@v3\n      #   with:\n      #     platforms: all\n\n      # Mac:\n      # NOTE: need to install pipx explicitly for macos-14\n      - name: Setup Mac\n        if: runner.os == 'macOS'\n        run: |\n          brew install gsl pipx\n\n      # Ubuntu:\n      - name: Setup Linux\n        if: runner.os == 'Linux'\n        run: |\n          sudo apt-get install gsl-bin libgsl0-dev\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.17.0\n        env:\n          CIBW_ARCHS_LINUX: \"x86_64\"\n          CIBW_ARCHS_MACOS: \"x86_64 arm64\"\n          CIBW_BUILD: ${{ matrix.python[1] }}\n          CIBW_SKIP: \"*-win32 *musllinux* pp* *i686\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels-${{ matrix.os }}-${{ matrix.python[0] }}\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.11\"\n\n      - name: Build sdist\n        run: |\n          sudo apt-get update\n          sudo apt-get install gsl-bin libgsl0-dev\n          pip install build\n          python -m build -s .\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels-sdist\n          path: dist/*.tar.gz\n\n  test_upload_pypi:\n    needs: [build_nix_wheels, build_sdist]\n    # Only test upload to pypi on push to main:\n    if: github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: wheels*\n          path: dist\n          merge-multiple: true\n\n      - name: Publish package distributions to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n\n\n  upload_pypi:\n    needs: [build_nix_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release' && github.event.action == 'published'\n    environment:\n      name: release\n      url: https://pypi.org/p/gala\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: wheels*\n          path: dist\n          merge-multiple: true\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "adrn/gala"}
{"mined_at": "2024-07-15T13:18:41.645358", "created_at": "2021-06-18T11:37:56+02:00", "updated_at": "2021-06-24T10:18:01+02:00", "name": "Python CI", "path": ".github/workflows/ci.yaml", "contents": "name: Python CI\n\non: [push]\n\njobs:\n  test:\n    timeout-minutes: 10\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.7, 3.8, 3.9, \"3.10\", 3.11, 3.12]\n    env:\n      MOLER_DEBUG_THREADS: True\n      PYTHON_COVERAGE: '3.12'\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.os }} ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get -y install sshpass\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -Ur requirements/test.txt\n      - name:  Create local users required by integration tests\n        run: |\n          cat /etc/passwd | grep home\n          sudo useradd molerssh -c MolerSshTest -s /bin/bash -l -m\n          echo 'molerssh:moler_password' | sudo chpasswd\n          sudo useradd sshproxy -c Proxy4SshTest -s /bin/bash -l -m\n          echo 'sshproxy:proxy_password' | sudo chpasswd\n          sudo useradd adbshell -c AdbShell4SshTest -s /bin/bash -l -m\n          echo 'adbshell:adb_password' | sudo chpasswd\n          cat /etc/passwd | grep home\n          echo ---- try logging as integration tests users via ssh\n          sshpass -p moler_password ssh -oStrictHostKeyChecking=no molerssh@localhost pwd\n          sshpass -p proxy_password ssh -oStrictHostKeyChecking=no sshproxy@localhost pwd\n          sshpass -p adb_password ssh -oStrictHostKeyChecking=no adbshell@localhost pwd\n      - name:  Upload adb simulator\n        run: |\n          sudo cp adb_simulation.sh /usr/bin/adb\n          sudo chmod +x /usr/bin/adb\n          sudo ls -l /usr/bin/adb\n          which adb\n          echo ----------- test adb simulator\n          adb devices\n      - name: Test with pytest\n        if: ${{ matrix.python-version != env.PYTHON_COVERAGE }}\n        timeout-minutes: 9\n        run: |\n          python -m pytest -vvvsss test/\n          # python -m pytest -c py3pytest.ini -vvvsss test/\n      - name: Test with pytest and coverage\n        if: ${{ matrix.python-version == env.PYTHON_COVERAGE }}\n        timeout-minutes: 9\n        run: |\n          pip list\n          python --version\n          coverage --version\n          coverage run -m pytest -vvvsss test/\n          ls -l .coverage\n      - name: Validate moler overall coverage\n        if: ${{ matrix.python-version == env.PYTHON_COVERAGE }}\n        run: |\n          coverage report -m --fail-under=91\n      - name: Validate coverage for moler commands\n        if: ${{ matrix.python-version == env.PYTHON_COVERAGE }}\n        run: |\n          coverage report -m --fail-under=100 --include=\"moler/cmd/**/*.py\"\n      - name: Validate coverage for moler events\n        if: ${{ matrix.python-version == env.PYTHON_COVERAGE }}\n        run: |\n          coverage report -m --fail-under=100 --include=\"moler/events/**/*.py\"\n      - name: Upload pytest test results\n        uses: actions/upload-artifact@v2\n        if: failure()\n        with:\n          name: pytest-${{ matrix.os }}-${{ matrix.python-version }}\n          path: |\n            moler*.log\n            .coverage\n          retention-days: 5\n\n  style:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.12]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.os }} ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -Ur requirements/test.txt\n      - name: Check PyCodeStyle\n        run: |\n          pycodestyle --statistics --count moler\n#      - name: Check PyDocStyle\n#        run: |\n#          pydocstyle --count moler\n      - name: Check PyLint\n        run: |\n          pylint moler --fail-under=9.4 --rcfile=./pylint.cfg || (exit $(($? % 4)))\n      - name: Check flake8\n        run: |\n          flake8 moler --count --select=E9,F63,F7,F82 --show-source --statistics\n          flake8 moler --count --exit-zero --max-complexity=10 --max-line-length=160 --statistics\n", "state": "active", "repository": "nokia/moler"}
{"mined_at": "2024-07-15T13:18:43.702390", "created_at": "2022-08-31T17:08:09+02:00", "updated_at": "2022-09-01T17:47:38+02:00", "name": "Reporters-DB PR", "path": ".github/workflows/eyecite.yml", "contents": "name: Reporters-DB PR\n\non:\n  pull_request:\n\njobs:\n  repo-dispatch:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@v2\n        with:\n          token: ${{ secrets.FREELAWBOT_TOKEN }}\n          repository: freelawproject/eyecite\n          event-type: reporters-db-pr\n          client-payload: '{\"ref\": \"${{ github.ref }}\", \"pr_number\": \"${{ github.event.number }}\", \"commit\": \"${{ github.event.pull_request.head.sha }}\" }'", "state": "active", "repository": "freelawproject/reporters-db"}
{"mined_at": "2024-07-15T13:18:44.751805", "created_at": "2020-10-07T22:53:43+02:00", "updated_at": "2020-10-07T22:53:43+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non: [push, pull_request]\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2-beta\n      - uses: actions/setup-python@v2\n        with:\n          # Once codebase is updated, this can easily be changed to any specific version.\n          python-version: \"3.8\"\n      - name: Black Code Formatter\n        uses: psf/black@stable\n", "state": "active", "repository": "freelawproject/reporters-db"}
{"mined_at": "2024-07-15T13:18:45.799621", "created_at": "2020-10-28T00:33:58+01:00", "updated_at": "2020-10-28T00:33:58+01:00", "name": "PyPI", "path": ".github/workflows/pypi.yml", "contents": "name: PyPI\non:\n  push:\n    tags:\n      - v*.*.*\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: casperdcl/deploy-pypi@v2\n        with:\n          password: ${{ secrets.pypi_token }}\n          build: true\n", "state": "active", "repository": "freelawproject/reporters-db"}
{"mined_at": "2024-07-15T13:18:46.840607", "created_at": "2021-12-18T01:28:10+01:00", "updated_at": "2021-12-18T01:28:10+01:00", "name": "Semgrep", "path": ".github/workflows/semgrep.yml", "contents": "on:\n  pull_request: {}\n  push:\n    branches:\n    - main\nname: Semgrep\njobs:\n  semgrep:\n    name: Scan\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: returntocorp/semgrep-action@v1\n      with:\n        publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}\n", "state": "active", "repository": "freelawproject/reporters-db"}
{"mined_at": "2024-07-15T13:18:47.916503", "created_at": "2020-10-28T00:33:58+01:00", "updated_at": "2020-10-28T00:33:58+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n        pip install -r requirements.txt\n    - name: Run tests\n      run: |\n        python setup.py test\n", "state": "active", "repository": "freelawproject/reporters-db"}
{"mined_at": "2024-07-15T13:18:50.708460", "created_at": "2021-12-17T04:36:47+01:00", "updated_at": "2021-12-17T04:36:47+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "spatialthoughts/qgis-tutorials"}
{"mined_at": "2024-07-15T13:18:53.040325", "created_at": "2024-02-20T12:02:26+01:00", "updated_at": "2024-02-21T16:20:08+01:00", "name": "Check release notes", "path": ".github/workflows/check-release-notes.yml", "contents": "name: Check release notes\n\non:\n  pull_request:\n    types:\n      - opened\n      - edited\n      - synchronize\n\njobs:\n  check_release_notes:\n    name: Notes are either written, or there are none\n    uses: packit/.github/.github/workflows/check-release-notes.yml@main\n    with:\n      description: ${{ github.event.pull_request.body }}\n", "state": "active", "repository": "packit/ogr"}
{"mined_at": "2024-07-15T13:18:54.198681", "created_at": "2022-09-07T15:33:34+02:00", "updated_at": "2022-09-07T15:33:34+02:00", "name": "Create a GitHub release once a release PR is merged", "path": ".github/workflows/do-release.yml", "contents": "name: Create a GitHub release once a release PR is merged\n\non:\n  workflow_dispatch:\n  pull_request:\n    types:\n      - closed\n\njobs:\n  if_merged:\n    if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release') && github.repository_owner == 'packit'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Create GitHub release\n        run: |\n          VERSION=$(grep -oP '^# \\K[0-9.]*' CHANGELOG.md | head -n 1)\n          # Take the lines between the first two headers from CHANGELOG.md,\n          # and use it as a description for the new release.\n          CHANGELOG=$(awk 'BEGIN { first = 0 } /^# / { if (first == 0) { first = 1 } else { exit } } /^[^#]/ { print $0 }' CHANGELOG.md)\n          # Use the changelog re-calculated to create a new release\n          gh release create ${VERSION} --draft --title ${VERSION} -n \"${CHANGELOG}\"\n        env:\n          GH_TOKEN: ${{ secrets.RELEASEBOT_GITHUB_TOKEN }}\n", "state": "active", "repository": "packit/ogr"}
{"mined_at": "2024-07-15T13:18:55.369003", "created_at": "2021-02-09T12:16:42+01:00", "updated_at": "2021-02-09T12:16:42+01:00", "name": "Deploy documentation", "path": ".github/workflows/docs.yml", "contents": "name: Deploy documentation\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v3\n      - name: Build and push docs\n        run: |\n          git config user.name Packit\n          git config user.email user-cont-team@redhat.com\n\n          python3 -m pip install --upgrade pip\n          python3 -m pip install setuptools\n          python3 -m pip install .\n          python3 -m pip install pdoc3 pygments\n\n          python3 -m pdoc --html -o built_docs ogr\n          mv built_docs/ogr docs\n          touch .nojekyll\n\n          COMMIT_SHA=$(git log -1 --format=%h)\n          git checkout --orphan gh-pages\n          git rm --cached '*'\n          git add docs .nojekyll\n\n          git commit -m \"Update docs for $COMMIT_SHA\"\n          git push --force origin gh-pages\n        shell: bash\n", "state": "active", "repository": "packit/ogr"}
{"mined_at": "2024-07-15T13:18:56.572224", "created_at": "2022-09-08T13:05:25+02:00", "updated_at": "2022-09-08T13:05:25+02:00", "name": "Move new issues into the Kanban board", "path": ".github/workflows/opened-issues-to-the-board.yml", "contents": "name: Move new issues into the Kanban board\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  add-new-issue-to-the-kanban-board:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v0.3.0\n        with:\n          project-url: https://github.com/orgs/packit/projects/7\n          github-token: ${{ secrets.RELEASEBOT_GITHUB_TOKEN }}\n", "state": "active", "repository": "packit/ogr"}
{"mined_at": "2024-07-15T13:18:57.801321", "created_at": "2022-09-07T15:36:41+02:00", "updated_at": "2022-09-07T15:36:41+02:00", "name": "Prepare a new release", "path": ".github/workflows/prepare-release.yml", "contents": "name: Prepare a new release\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        required: true\n        description: Version number for the new release\n\njobs:\n  prepare-release:\n    # To not run in forks\n    if: github.repository_owner == 'packit'\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Prepare release content\n        uses: packit/prepare-release@v1\n        with:\n          version: ${{ inputs.version }}\n          specfiles: fedora/python-ogr.spec\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v4\n        with:\n          labels: release\n          commit-message: Release ${{ inputs.version }}\n          title: Release ${{ inputs.version }}\n          body: Update the changelog and the specfile for release ${{ inputs.version }}.\n          delete-branch: true\n", "state": "active", "repository": "packit/ogr"}
{"mined_at": "2024-07-15T13:18:58.948094", "created_at": "2021-03-10T12:05:55+01:00", "updated_at": "2023-06-05T18:59:47+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI", "path": ".github/workflows/pypi-publish.yml", "contents": "# Upload a Python package when a release is created\n# https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows\n\nname: Publish Python 🐍 distributions 📦 to PyPI\n\non:\n  release:\n    types: [released]\n\njobs:\n  build-n-publish:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write # for trusted publishing\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n\n      - name: Build a source tarball and a binary wheel\n        # https://pypa-build.readthedocs.io\n        run: |\n          python -m pip install build\n          python -m build\n\n      - name: Publish 📦 to PyPI\n        # https://github.com/pypa/gh-action-pypi-publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          verbose: true\n", "state": "active", "repository": "packit/ogr"}
{"mined_at": "2024-07-15T13:18:59.936333", "created_at": "2023-05-18T17:26:14+02:00", "updated_at": "2023-05-18T17:26:14+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "packit/ogr"}
{"mined_at": "2024-07-15T13:19:00.930328", "created_at": "2022-01-03T20:18:51+01:00", "updated_at": "2022-01-03T20:18:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "packit/ogr"}
{"mined_at": "2024-07-15T13:19:03.026609", "created_at": "2023-11-28T15:31:58+01:00", "updated_at": "2023-11-28T15:33:39+01:00", "name": "Setup & build calm-dsl", "path": ".github/workflows/build-new.yml", "contents": null, "state": "active", "repository": "nutanix/calm-dsl"}
{"mined_at": "2024-07-15T13:19:04.086989", "created_at": "2020-02-11T15:55:55+01:00", "updated_at": "2020-03-02T14:56:57+01:00", "name": "Setup & build calm-dsl", "path": ".github/workflows/build.yml", "contents": "name: Setup & build calm-dsl\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: black\n      if: ${{matrix.python-version != '3.7'}}\n      uses: psf/black@stable # Exclude list is not honored - https://github.com/psf/black/issues/1584\n      with:\n        version: \"22.6.0\"\n        options: \"--check --extend-exclude tests/escript/scripts/\"\n    - name: Setup env\n      run: |\n        python -m pip install --upgrade pip\n        pip install virtualenv\n    - name: Install requirements\n      run: |\n        make dev\n    - name: Build python package\n      run: |\n        make dist\n    - name: Build docker image\n      run: |\n        make docker\n    - name: Execute container\n      uses: addnab/docker-run-action@v3\n      with:\n        image: ntnx/calm-dsl\n        run: calm\n    - name: Publish docker image\n      if: ${{ github.event_name == 'push' && github.repository == 'nutanix/calm-dsl' && matrix.python-version == '3.9'}}\n      run: |\n        docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}\n        docker push ntnx/calm-dsl\n", "state": "active", "repository": "nutanix/calm-dsl"}
{"mined_at": "2024-07-15T13:19:05.278804", "created_at": "2023-09-15T09:17:07+02:00", "updated_at": "2023-09-15T09:17:07+02:00", "name": "run pre commit tests", "path": ".github/workflows/pre_commit_test.yml", "contents": null, "state": "active", "repository": "nutanix/calm-dsl"}
{"mined_at": "2024-07-15T13:19:06.377268", "created_at": "2022-03-08T09:52:19+01:00", "updated_at": "2023-12-01T10:02:41+01:00", "name": "Setup & Build release containers", "path": ".github/workflows/release.yml", "contents": "name: Setup & Build release containers\non:\n  push:\n    branches:\n      - 'release/**'\n  pull_request:\n    branches:\n      - 'release/**'\n\njobs:\n  build:\n    runs-on: self-hosted\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.7']\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Setup env\n      run: |\n        python -m pip install --upgrade pip\n        pip install virtualenv\n    - name: Build docker image\n      run: |\n        make docker\n    - name: Read VERSION file\n      id: getversion\n      run: echo \"::set-output name=version::$(cat CalmVersion)\"\n    - name: Execute container\n      uses: addnab/docker-run-action@v3\n      with:\n        image: ntnx/calm-dsl\n        run: calm\n    - name: Publish docker image to jfrog-artifactory\n      if: ${{ github.repository == 'nutanix/calm-dsl' && matrix.python-version == '3.7'}}\n      run: |\n        docker login ${{ secrets.JFROG_REGISTRY }} -u ${{ secrets.JFROG_USERNAME }} -p ${{ secrets.JFROG_PASSWORD }}\n        docker tag ntnx/calm-dsl:latest ${{ secrets.JFROG_REGISTRY }}/calm-dsl/calm-dsl:v${{ steps.getversion.outputs.version }}\n        docker push ${{ secrets.JFROG_REGISTRY }}/calm-dsl/calm-dsl:v${{ steps.getversion.outputs.version }}\n", "state": "active", "repository": "nutanix/calm-dsl"}
{"mined_at": "2024-07-15T13:19:07.509022", "created_at": "2021-05-04T16:09:57+02:00", "updated_at": "2023-01-18T13:18:31+01:00", "name": "Sync Private Repo", "path": ".github/workflows/sync-repo.yml", "contents": "name: Sync Private Repo\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    if: ${{ github.repository == 'nutanix/calm-dsl' }}\n    runs-on: [ubuntu-latest]\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        repository: ideadevice/calm-dsl\n        ref: master\n        token: ${{ secrets.DSL_AUTH_TOKEN }}\n    - name: Git remote add\n      run: git remote add upstream https://github.com/nutanix/calm-dsl\n    - name: Git push disable upstream\n      run: git remote set-url --push upstream DISABLE\n    - name: Print remote\n      run: git remote -v\n    - name: Git Fetch upstream\n      run: git fetch --all --prune --unshallow\n    - name: Git Merge\n      run:  |\n        git merge upstream/master --allow-unrelated-histories\n        git fetch --unshallow origin\n    - name: Push changes\n      uses: ad-m/github-push-action@master\n      with:\n        github_token: ${{ secrets.DSL_AUTH_TOKEN }}\n        repository: ideadevice/calm-dsl\n        branch: master\n", "state": "disabled_manually", "repository": "nutanix/calm-dsl"}
{"mined_at": "2024-07-15T13:19:08.544419", "created_at": "2022-02-11T14:25:23+01:00", "updated_at": "2022-02-11T14:25:23+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nutanix/calm-dsl"}
{"mined_at": "2024-07-15T13:19:10.704380", "created_at": "2020-10-02T04:32:02+02:00", "updated_at": "2020-10-02T04:32:02+02:00", "name": "docker", "path": ".github/workflows/docker.yml", "contents": "# yamllint disable rule:line-length\nname: docker\non: # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - master\n      - dev\n      - 'experimental/**'\n    tags:\n      - v*\n  schedule:\n    - cron: '0 4 * * *'  # nightlies at 4am UTC\nenv:\n  TEST_TAG: hathor-core:test\njobs:\n  buildx:\n    name: buildx ${{ matrix.python-impl }}-${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    timeout-minutes: 180  # default is 360\n    strategy:\n      fail-fast: false\n      matrix:\n        python-impl:\n          - python\n        python-version:\n          - '3.10'\n          - '3.11'\n          - '3.12'\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Prepare base version\n        id: prep\n        run: |\n          export GITHUB_REF='${{ github.ref }}'\n          export GITHUB_EVENT_NAME='${{ github.event_name }}'\n          export GITHUB_SHA='${{ github.sha }}'\n          export GITHUB_EVENT_DEFAULT_BRANCH='${{ github.event.repository.default_branch }}'\n          export GITHUB_EVENT_NUMBER='${{ github.event.number }}'\n          export MATRIX_PYTHON_IMPL='${{ matrix.python-impl }}'\n          export MATRIX_PYTHON_VERSION='${{ matrix.python-version }}'\n          export SECRETS_DOCKERHUB_IMAGE='${{ secrets.DOCKERHUB_IMAGE }}'\n          export SECRETS_GHCR_IMAGE='${{ secrets.GHCR_IMAGE }}'\n\n          python extras/github/docker.py\n      - name: Check version\n        if: steps.prep.outputs.check-version\n        env:\n          VERSION: ${{ steps.prep.outputs.check-version }}\n        run: make check-custom\n      - name: Set up QEMU  # arm64 is not available natively\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n        with:\n          version: latest\n          install: true\n          driver-opts: network=host\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        if: steps.prep.outputs.login-dockerhub == 'true'\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v2\n        if: steps.prep.outputs.login-ghcr == 'true'\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Cache Docker layers\n        uses: actions/cache@v3\n        if: steps.prep_base_version.outputs.is-nightly == 'false'\n        with:\n          path: /tmp/.buildx-cache\n          # this key is setup such that every branch has its cache and new branches can reuse master's cache, but not the other way around\n          key: ${{ runner.os }}-buildx-${{ matrix.python-impl }}${{ matrix.python-version }}-${{ github.head_ref || github.ref }}-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-${{ matrix.python-impl }}${{ matrix.python-version }}-refs/heads/master-\n      - name: Build and export to Docker\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          file: ${{ steps.prep.outputs.dockerfile }}\n          build-args: PYTHON=${{ matrix.python-version }}\n          pull: true\n          load: true\n          tags: ${{ env.TEST_TAG }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n      - name: Test image\n        run: docker run --rm ${{ env.TEST_TAG }} quick_test --data / --testnet\n      - name: Build and push\n        uses: docker/build-push-action@v3\n        if: ${{ !env.ACT }}  # Skip this step when testing locally with https://github.com/nektos/act\n        with:\n          context: .\n          file: ${{ steps.prep.outputs.dockerfile }}\n          build-args: PYTHON=${{ matrix.python-version }}\n          platforms: linux/amd64,linux/arm64\n          pull: true\n          push: ${{ github.event_name != 'pull_request' && steps.prep.outputs.push }}\n          tags: ${{ steps.prep.outputs.tags }}\n          # see: https://github.com/opencontainers/image-spec/blob/master/annotations.md\n          labels: |\n            org.opencontainers.image.title=${{ github.event.repository.name }}\n            org.opencontainers.image.description=${{ github.event.repository.description }}\n            org.opencontainers.image.url=${{ github.event.repository.html_url }}\n            org.opencontainers.image.source=${{ github.event.repository.clone_url }}\n            org.opencontainers.image.version=${{ steps.prep.outputs.version }}\n            org.opencontainers.image.created=${{ steps.prep.outputs.created }}\n            org.opencontainers.image.revision=${{ github.sha }}\n            org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n      - name: Slack Notification\n        if: ${{ steps.prep.outputs.slack-notification-version && steps.prep_base_version.outputs.disable-slack-notification == 'false' && job.status == 'success' }}\n        uses: rtCamp/action-slack-notify@28e8b353eabda5998a2e1203aed33c5999944779\n        env:\n          SLACK_COLOR: ${{ job.status }} # It can turn the job status into a color. Success will be green.\n          SLACK_MESSAGE: 'We will be deploying this new image soon. Get in touch with the hathor-core team if you want to talk about this deployment.'\n          SLACK_TITLE: 'Hathor Core - new ${{ steps.prep.outputs.slack-notification-version }} Docker image pushed :rocket:'\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n          SLACK_FOOTER: ''\n          MSG_MINIMAL: actions url\n", "state": "active", "repository": "hathornetwork/hathor-core"}
{"mined_at": "2024-07-15T13:19:11.734584", "created_at": "2020-06-08T18:49:03+02:00", "updated_at": "2022-01-10T21:11:58+01:00", "name": "tests", "path": ".github/workflows/main.yml", "contents": "# yamllint disable rule:line-length\nname: tests\non: # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - master\n      - dev\n    tags:\n      - v*\n  pull_request:\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - id: set-matrix\n        shell: python\n        run: |\n          import os\n          import json\n          full_matrix = {\n            'python': ['3.10', '3.11', '3.12'],\n            # available OS's: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on\n            'os': ['ubuntu-22.04', 'macos-12', 'windows-2022'],\n          }\n          # this is the fastest one:\n          reduced_matrix = {\n            'python': ['3.12'],\n            'os': ['ubuntu-22.04'],\n          }\n          github_repository = os.environ['GITHUB_REPOSITORY']\n          if github_repository.lower() == 'hathornetwork/hathor-core':\n              matrix = full_matrix\n          else:\n              matrix = reduced_matrix\n          with open(os.environ['GITHUB_OUTPUT'], 'a') as f:\n            f.write('matrix={}\\n'.format(json.dumps(matrix)))\n  check-matrix:\n    runs-on: ubuntu-latest\n    needs: matrix\n    steps:\n      - name: Install json2yaml\n        run: |\n          sudo npm install -g json2yaml\n      - name: Check matrix definition\n        run: |\n          matrix='${{ needs.matrix.outputs.matrix }}'\n          echo $matrix\n          echo $matrix | jq .\n          echo $matrix | json2yaml\n  test:\n    name: python-${{ matrix.python }} (${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    needs: matrix\n    timeout-minutes: 120  # default is 360\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJson(needs.matrix.outputs.matrix)}}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Install Poetry\n        run: pipx install poetry\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'poetry'\n      - name: Install Ubuntu dependencies\n        if: startsWith(matrix.os, 'ubuntu')\n        run: |\n          sudo apt-get -qy update\n          sudo apt-get -qy install graphviz librocksdb-dev libsnappy-dev liblz4-dev\n      - name: Install macOS dependencies\n        if: startsWith(matrix.os, 'macos')\n        run: |\n          brew cleanup -q\n          # brew update -q\n          brew install -q graphviz rocksdb pkg-config\n      - name: Install Poetry dependencies\n        run: poetry install -n --no-root\n      - name: Cache mypy\n        uses: actions/cache@v3\n        with:\n          path: .mypy_cache\n          # this key is setup such that every branch has its cache and new branches can reuse dev's cache, but not the other way around\n          key: ${{ runner.os }}-py${{ matrix.python }}-mypy-${{ github.head_ref || github.ref }}\n          restore-keys: |\n            ${{ runner.os }}-py${{ matrix.python }}-mypy-refs/heads/dev-\n            ${{ runner.os }}-py${{ matrix.python }}-mypy-\n      - name: Run linters\n        run: poetry run make check\n      - name: Run tests\n        run: poetry run make tests\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n        if: matrix.python == 3.11 && startsWith(matrix.os, 'ubuntu')\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "hathornetwork/hathor-core"}
{"mined_at": "2024-07-15T13:19:12.764035", "created_at": "2024-07-12T18:33:42+02:00", "updated_at": "2024-07-12T18:33:42+02:00", "name": "benchmarking", "path": ".github/workflows/pr_benchmarks.yml", "contents": null, "state": "active", "repository": "hathornetwork/hathor-core"}
{"mined_at": "2024-07-15T13:19:15.003679", "created_at": "2020-03-03T20:07:32+01:00", "updated_at": "2020-03-03T20:07:32+01:00", "name": "tests", "path": ".github/workflows/continuous_integration.yml", "contents": "name: tests\n\non:\n  pull_request: # Run on all pull requests\n  push: # Run only on pushes to master\n    branches:\n      - master\n  schedule: # Run monthly\n    - cron: \"0 0 1 * *\"\n\njobs:\n  unit-tests:\n    name: ${{ matrix.os }} (${{ matrix.python-version }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"pypy-3.9\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12-dev\"]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        exclude:\n          # pypy3 randomly fails on Windows builds\n          - os: windows-latest\n            python-version: \"pypy-3.9\"\n        include:\n          - os: ubuntu-latest\n            path: ~/.cache/pip\n          - os: macos-latest\n            path: ~/Library/Caches/pip\n          - os: windows-latest\n            path: ~\\AppData\\Local\\pip\\Cache\n    steps:\n      - uses: actions/checkout@v3\n      - name: Cache pip\n        uses: actions/cache@v3\n        with:\n          path: ${{ matrix.path }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: ${{ runner.os }}-pip-\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install -U pip setuptools wheel\n          pip install -U tox tox-gh-actions\n      - name: Test with tox\n        run: tox\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          file: coverage.xml\n\n  linting:\n    name: Linting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: ${{ runner.os }}-pip-\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pre-commit\n          key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}\n          restore-keys: ${{ runner.os }}-pre-commit-\n      - name: Set up Python ${{ runner.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          pip install -U pip setuptools wheel\n          pip install -U tox\n      - name: Lint code\n        run: tox -e lint -- --show-diff-on-failure\n      - name: Lint docs\n        run: tox -e docs\n", "state": "active", "repository": "arrow-py/arrow"}
{"mined_at": "2024-07-15T13:19:16.015475", "created_at": "2023-09-30T23:49:18+02:00", "updated_at": "2023-09-30T23:49:18+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  workflow_dispatch: # run manually\n  push: # run on matching tags\n    tags:\n      - '*.*.*'\n\njobs:\n  release-to-pypi:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: ${{ runner.os }}-pip-\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          pip install -U pip setuptools wheel\n          pip install -U tox\n      - name: Publish package to PyPI\n        env:\n          FLIT_USERNAME: __token__\n          FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        run: tox -e publish\n", "state": "active", "repository": "arrow-py/arrow"}
{"mined_at": "2024-07-15T13:19:17.979645", "created_at": "2021-08-11T08:58:49+02:00", "updated_at": "2021-08-11T08:58:49+02:00", "name": "Test xlsxwriter commit", "path": ".github/workflows/python-app.yml", "contents": "name: Test xlsxwriter commit\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"pypy-3.8\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install test dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest flake8 black ruff\n\n    - name: Test the code style\n      run: |\n        make lint\n        make test_flake8\n\n    - name: Test with pytest\n      run: |\n        pytest\n", "state": "active", "repository": "jmcnamara/xlsxwriter"}
{"mined_at": "2024-07-15T13:19:21.149004", "created_at": "2020-02-21T02:07:25+01:00", "updated_at": "2020-06-23T05:33:59+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  release-pypi:\n    name: release-pypi\n    runs-on: ubuntu-latest\n\n    # FIXME\n    # help test shouldn't depends on this to run\n    services:\n      redis:\n        image: redis:5\n        ports:\n          - 6379:6379\n        options: --entrypoint redis-server\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n          architecture: 'x64'\n      - name: Cache venv\n        uses: actions/cache@v1\n        with:\n          path: venv\n          # Look to see if there is a cache hit for the corresponding requirements file\n          key: ubuntu-latest-poetryenv-${{ hashFiles('poetry.lock') }}\n      - name: Install Dependencies\n        run: |\n          python3 -m venv venv\n          . venv/bin/activate\n          pip install -U pip\n          pip install poetry\n          poetry install\n          python -c \"import sys; print(sys.version)\"\n          pip list\n      - name: Poetry Build\n        run: |\n          . venv/bin/activate\n          poetry build\n      - name: Test Build\n        run: |\n          python3 -m venv fresh_env\n          . fresh_env/bin/activate\n          pip install dist/*.whl\n\n          iredis -h\n          iredis help GET\n\n      - name: Upload to Pypi\n        env:\n          PASSWORD: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          . venv/bin/activate\n          poetry publish --username __token__ --password ${PASSWORD}\n\n  release-binary:\n    name: Release Executable Binary.\n    runs-on: ubuntu-latest\n\n    # FIXME\n    # help test shouldn't depends on this to run\n    services:\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n        options: --entrypoint redis-server\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n          architecture: 'x64'\n      - name: Cache venv\n        uses: actions/cache@v1\n        with:\n          path: venv\n          # Look to see if there is a cache hit for the corresponding requirements file\n          key: ubuntu-latest-poetryenv-${{ hashFiles('poetry.lock') }}\n      - name: Install Dependencies\n        run: |\n          python3 -m venv venv\n          . venv/bin/activate\n          pip install pip\n          pip install poetry\n          poetry install\n          python -c \"import sys; print(sys.version)\"\n          pip list\n      - name: Poetry Build\n        run: |\n          . venv/bin/activate\n          poetry build\n      - name: Test Build\n        run: |\n          python3 -m venv fresh_env\n          . fresh_env/bin/activate\n          pip install dist/*.whl\n\n          iredis -h\n          iredis help GET\n\n      - name: Executable Build\n        run: |\n          # pyoxidizer doesn't know the wheel path, and it doesn't support passing env vars\n          export WHEEL_PATH=`ls ./dist/iredis*.whl`\n          envsubst '$WHEEL_PATH' < pyoxidizer.template.bzl > pyoxidizer.bzl\n          pip install pyoxidizer\n          pyoxidizer build --release install\n          cd ./build/x86*/release/install\n          tar -zcf ../../../iredis.tar.gz lib/ iredis\n          cd -\n\n      - name: Test Executable\n        run: |\n          ./build/x86*/release/install/iredis -h\n          ./build/x86*/release/install/iredis help GET\n\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: Release ${{ github.ref }}\n          draft: false\n          prerelease: false\n\n      - name: Upload Release Asset\n        id: upload-release-asset\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_path: ./build/iredis.tar.gz\n          asset_name: iredis.tar.gz\n          asset_content_type: application/gzip\n", "state": "active", "repository": "laixintao/iredis"}
{"mined_at": "2024-07-15T13:19:22.143346", "created_at": "2020-11-25T08:53:40+01:00", "updated_at": "2023-12-26T07:04:22+01:00", "name": "Test binary build.", "path": ".github/workflows/test-binary-build.yaml", "contents": "name: Test binary build.\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\njobs:\n  test-release-binary:\n    name: Test Build Executable Binary. You can download from Artifact after building.\n    runs-on: ubuntu-latest\n\n    # FIXME\n    # help test shouldn't depends on this to run\n    services:\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n        options: --entrypoint redis-server\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n          architecture: 'x64'\n      - name: Cache venv\n        uses: actions/cache@v1\n        with:\n          path: venv\n          # Look to see if there is a cache hit for the corresponding requirements file\n          key: ubuntu-latest-poetryenv-${{ hashFiles('poetry.lock') }}\n      - name: Install Dependencies\n        run: |\n          python3 -m venv venv\n          . venv/bin/activate\n          pip install pip\n          pip install poetry\n          poetry install\n          python -c \"import sys; print(sys.version)\"\n          pip list\n      - name: Poetry Build\n        run: |\n          . venv/bin/activate\n          poetry build\n      - name: Test Build\n        run: |\n          python3 -m venv fresh_env\n          . fresh_env/bin/activate\n          pip install dist/*.whl\n\n          iredis -h\n          iredis help GET\n\n      - name: Executable Build\n        run: |\n          # pyoxidizer doesn't know the wheel path, and it doesn't support passing env vars\n          export WHEEL_PATH=`ls ./dist/iredis*.whl`\n          envsubst '$WHEEL_PATH' < pyoxidizer.template.bzl > pyoxidizer.bzl\n          pip install pyoxidizer\n          pyoxidizer build --release install\n          cd ./build/x86*/release/install\n          tar -zcf ../../../iredis.tar.gz lib/ iredis\n          cd -\n\n      - name: Test Executable\n        run: |\n          ./build/x86*/release/install/iredis -h\n          ./build/x86*/release/install/iredis help GET\n\n      - name: Upload Release Asset to Github Artifact\n        uses: actions/upload-artifact@v2\n        with:\n          name: iredis-${{github.sha}}.tar.gz\n          path: ./build/iredis.tar.gz\n", "state": "active", "repository": "laixintao/iredis"}
{"mined_at": "2024-07-15T13:19:23.147170", "created_at": "2020-02-21T02:52:34+01:00", "updated_at": "2021-12-20T05:00:03+01:00", "name": "Test", "path": ".github/workflows/test.yaml", "contents": "name: Test\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\njobs:\n  test:\n    name: Pytest\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-20.04\"]\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11.1\", \"3.12\"]\n        redis: [5, 6, 7, 7.2]\n    runs-on: ${{ matrix.os }}\n\n    services:\n      redis:\n        image: redis:${{ matrix.redis }}\n        ports:\n          - 6379:6379\n        options: --entrypoint redis-server\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: \"x64\"\n      - name: Cache venv\n        uses: actions/cache@v2\n        with:\n          path: venv\n          # Look to see if there is a cache hit for the corresponding requirements file\n          key:\n            poetryenv-${{ matrix.os }}-${{ matrix.python }}-${{\n            hashFiles('poetry.lock') }}\n      - name: Install Dependencies\n        run: |\n          python3 -m venv venv\n          . venv/bin/activate\n          pip install -U pip setuptools\n          pip install poetry\n          poetry install\n          python -c \"import sys; print(sys.version)\"\n          pip list\n      - name: Pytest\n        env:\n          REDIS_VERSION: ${{ matrix.redis }}\n        run: |\n          . venv/bin/activate\n          pytest\n  lint:\n    name: flake8 & black\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: codespell-project/actions-codespell@master\n        with:\n          ignore_words_list: fo,ists,oll,optin,ot,smove,tre,whe,EXAT,exat\n          skip: ./docs/assets/demo.svg,./iredis/data/commands.json,./iredis/data/commands/*,./tests/unittests/*\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n          architecture: \"x64\"\n      - name: Cache venv\n        uses: actions/cache@v2\n        with:\n          path: venv\n          # Look to see if there is a cache hit for the corresponding requirements file\n          key: lintenv-v2\n      - name: Install Dependencies\n        run: |\n          python3 -m venv venv\n          . venv/bin/activate\n          pip install -U pip flake8 black\n      - name: Flake8 test\n        run: |\n          . venv/bin/activate\n          flake8 .\n      - name: Black test\n        run: |\n          . venv/bin/activate\n          black --check .\n", "state": "active", "repository": "laixintao/iredis"}
{"mined_at": "2024-07-15T13:19:25.146038", "created_at": "2024-01-07T23:56:25+01:00", "updated_at": "2024-01-07T23:56:25+01:00", "name": "build", "path": ".github/workflows/build-release.yml", "contents": "name: build\non:\n  push:\n    branches: [\"dev\", \"*.x-line\"]\n    tags: [\"*\"]\n  pull_request:\n\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - { name: \"3.8\", python: \"3.8\", tox: py38-marshmallow3 }\n          - { name: \"3.12\", python: \"3.12\", tox: py312-marshmallow3 }\n          - { name: \"lowest\", python: \"3.8\", tox: py38-lowest }\n          - { name: \"dev\", python: \"3.12\", tox: py312-marshmallowdev }\n    steps:\n      - uses: actions/checkout@v4.0.0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - run: python -m pip install tox\n      - run: python -m tox -e${{ matrix.tox }}\n  build:\n    name: Build package\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install pypa/build\n        run: python -m pip install build\n      - name: Build a binary wheel and a source tarball\n        run: python -m build\n      - name: Install twine\n        run: python -m pip install twine\n      - name: Check build\n        run: python -m twine check --strict dist/*\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n  # this duplicates pre-commit.ci, so only run it on tags\n  # it guarantees that linting is passing prior to a release\n  lint-pre-release:\n    if: startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.0.0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - run: python -m pip install tox\n      - run: python -m tox -e lint\n  publish-to-pypi:\n    name: PyPI release\n    if: startsWith(github.ref, 'refs/tags/')\n    needs: [build, tests, lint-pre-release]\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/webargs\n    permissions:\n      id-token: write\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "marshmallow-code/webargs"}
{"mined_at": "2024-07-15T13:19:26.473688", "created_at": "2024-07-15T03:56:13+02:00", "updated_at": "2024-07-15T03:56:13+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "marshmallow-code/webargs"}
{"mined_at": "2024-07-15T13:19:28.493702", "created_at": "2021-04-27T10:58:41+02:00", "updated_at": "2021-08-23T16:11:08+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [push, pull_request]\njobs:\n  test:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:10.1\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: pythonorg\n        ports:\n        - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n      - name: Install platform dependencies\n        run: |\n          sudo apt -y update\n          sudo apt -y install --no-install-recommends \\\n              texlive-latex-base \\\n              texlive-latex-recommended \\\n              texlive-plain-generic \\\n              lmodern\n      - name: Install pandoc\n        run: |\n          wget https://github.com/jgm/pandoc/releases/download/2.17.1.1/pandoc-2.17.1.1-1-amd64.deb\n          sudo dpkg -i pandoc-2.17.1.1-1-amd64.deb\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9.16\n      - name: Cache Python dependencies\n        uses: actions/cache@v4\n        env:\n          cache-name: pythondotorg-cache-pip\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('requirements.txt', '*-requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-\n            ${{ runner.os }}-${{ github.job }}-\n            ${{ runner.os }}-\n      - name: Install Python dependencies\n        run: |\n          pip install -U pip setuptools wheel\n          pip install -r dev-requirements.txt\n      - name: Check for ungenerated database migrations\n        run: |\n          python manage.py makemigrations --check --dry-run\n        env:\n          DATABASE_URL: postgres://postgres:postgres@localhost:5432/pythonorg\n      - name: Run Tests\n        run: |\n          python -Wd -m coverage run manage.py test -v2\n        env:\n          DATABASE_URL: postgres://postgres:postgres@localhost:5432/pythonorg\n      - name: Coverage\n        run: |\n          coverage report -m --fail-under=75\n", "state": "active", "repository": "python/pythondotorg"}
{"mined_at": "2024-07-15T13:19:29.489924", "created_at": "2024-07-12T10:36:08+02:00", "updated_at": "2024-07-12T10:36:08+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "python/pythondotorg"}
{"mined_at": "2024-07-15T13:19:31.478251", "created_at": "2023-08-27T16:44:06+02:00", "updated_at": "2023-11-13T18:37:30+01:00", "name": "Unit tests", "path": ".github/workflows/unittests.yml", "contents": "name: Unit tests\n\non: [pull_request]\n\njobs:\n\n  unittest:\n    runs-on: ubuntu-latest\n    env:\n      YETI_REDIS_HOST: localhost\n      YETI_REDIS_PORT: 6379\n      YETI_REDIS_DATABASE: 0\n      YETI_ARANGODB_HOST: localhost\n      YETI_ARANGODB_PORT: 8529\n      YETI_ARANGODB_DATABASE: yeti\n      YETI_ARANGODB_USERNAME: root\n      YETI_ARANGODB_PASSWORD: \"\"\n      YETI_AUTH_SECRET_KEY: SECRET\n      YETI_AUTH_ALGORITHM: HS256\n      YETI_AUTH_ACCESS_TOKEN_EXPIRE_MINUTES: 30\n      YETI_AUTH_BROWSER_TOKEN_EXPIRE_MINUTES: 43200\n      YETI_AUTH_ENABLED: False\n      YETI_SYSTEM_PLUGINS_PATH: ./plugins\n      YETI_SYSTEM_AUDIT_LOGFILE: /tmp/yeti_audit.log\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n    steps:\n    - uses: actions/checkout@v4\n    - run:\n        sudo apt-get update && sudo apt-get install -y python3-pip && sudo pip3 install poetry\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: poetry\n    - name: Install Python dependencies\n      run: poetry install --no-root\n    - name: Copy dummy config file\n      run: cp yeti.conf.sample yeti.conf\n    - name: Start redis & arangodb conainers\n      run: docker compose -f extras/docker/dev/docker-compose.yaml up -d redis arangodb\n    - name: Test with unittest\n      run: |\n        poetry run python -m unittest discover -s tests/schemas -p '*.py'\n        poetry run python -m unittest discover -s tests/apiv2 -p '*.py'\n        poetry run python -m unittest discover -s tests/core_tests -p '*.py'\n", "state": "active", "repository": "yeti-platform/yeti"}
{"mined_at": "2024-07-15T13:19:32.477991", "created_at": "2023-12-02T13:26:50+01:00", "updated_at": "2023-12-02T13:26:50+01:00", "name": "Publish Docker image", "path": ".github/workflows/docker-publish.yml", "contents": "name: Publish Docker image\n\non:\n  release:\n    types: [published]\n\njobs:\n  push_to_registries:\n    name: Push Docker image to DockerHub and GHCR\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n      contents: read\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_TOKEN }}\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            yetiplatform/yeti\n            ghcr.io/${{ github.repository }}\n\n      - name: Build and push Docker images\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./extras/docker/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.meta.outputs.tags }},yetiplatform/yeti:latest,ghcr.io/${{ github.repository }}:latest\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "yeti-platform/yeti"}
{"mined_at": "2024-07-15T13:19:33.643991", "created_at": "2023-12-05T14:33:14+01:00", "updated_at": "2023-12-06T09:05:30+01:00", "name": "Test feeds", "path": ".github/workflows/feedtest.yml", "contents": "name: Test feeds\n\non:\n  schedule:\n    - cron: '0 6 * * 3' # Run every Wednesday at 06:00 UTC\n  pull_request:\n\njobs:\n  testfeeds:\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'tasks:feed') || github.event_type == 'schedule' }}\n    runs-on: ubuntu-latest\n    env:\n      YETI_REDIS_HOST: localhost\n      YETI_REDIS_PORT: 6379\n      YETI_REDIS_DATABASE: 0\n      YETI_ARANGODB_HOST: localhost\n      YETI_ARANGODB_PORT: 8529\n      YETI_ARANGODB_DATABASE: yeti\n      YETI_ARANGODB_USERNAME: root\n      YETI_ARANGODB_PASSWORD: \"\"\n      YETI_AUTH_SECRET_KEY: SECRET\n      YETI_AUTH_ALGORITHM: HS256\n      YETI_AUTH_ACCESS_TOKEN_EXPIRE_MINUTES: 30\n      YETI_AUTH_BROWSER_TOKEN_EXPIRE_MINUTES: 43200\n      YETI_AUTH_ENABLED: False\n      YETI_SYSTEM_PLUGINS_PATH: ./plugins\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n    steps:\n    - uses: actions/checkout@v4\n    - run:\n        sudo apt-get update && sudo apt-get install -y python3-pip && sudo pip3 install poetry\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: poetry\n    - name: Install Python dependencies\n      run: poetry install --no-root --with plugins\n    - name: Copy dummy config file\n      run: cp yeti.conf.sample yeti.conf\n    - name: Start redis & arangodb conainers\n      run: docker compose -f extras/docker/dev/docker-compose.yaml up -d redis arangodb\n    - name: Run test feeds\n      run: |\n        poetry run python -m unittest discover -s tests/ -p 'feeds.py'\n", "state": "active", "repository": "yeti-platform/yeti"}
{"mined_at": "2024-07-15T13:19:34.971508", "created_at": "2024-01-29T17:32:41+01:00", "updated_at": "2024-01-29T19:41:07+01:00", "name": "Lint", "path": ".github/workflows/ruff.yml", "contents": "name: Lint\n\non: [pull_request]\n\njobs:\n  lint:\n    name: Lint using Ruff\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n      - name: Install ruff\n        run: pip install ruff\n      - name: Run ruff lint check\n        run: ruff check .\n      - name: Run ruff format check\n        run: ruff format . --check\n", "state": "active", "repository": "yeti-platform/yeti"}
{"mined_at": "2024-07-15T13:19:36.098179", "created_at": "2024-02-09T11:44:43+01:00", "updated_at": "2024-02-09T11:44:43+01:00", "name": "Publish :dev Docker image", "path": ".github/workflows/docker-publish-dev.yml", "contents": "name: Publish :dev Docker image\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  push_to_registries:\n    name: Push :dev Docker image to DockerHub and GHCR\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n      contents: read\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_TOKEN }}\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push Docker images\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./extras/docker/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: yetiplatform/yeti:dev,ghcr.io/${{ github.repository }}:dev\n", "state": "active", "repository": "yeti-platform/yeti"}
{"mined_at": "2024-07-15T13:19:38.210519", "created_at": "2021-12-20T23:57:06+01:00", "updated_at": "2021-12-20T23:57:06+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "marcomusy/vedo"}
{"mined_at": "2024-07-15T13:34:57.405628", "created_at": "2020-04-25T23:04:01+02:00", "updated_at": "2020-04-25T23:40:36+02:00", "name": "code", "path": ".github/workflows/code.yml", "contents": "name: code\n\non:\n  pull_request:\n  push:\n    branches: master\n\njobs:\n  postgres_compatibility:\n    name: Postgres compatibility ${{ matrix.postgres-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        # always use latest Python b/c the point here is to test PostgreSQL compatibility\n        python-version: [\"3.11\"]\n        postgres-version: [12, 13, 14, 15, 16]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Django\n      run: |\n        # always use latest Django b/c the point here is to test PostgreSQL compatibility\n        pip install Django\n\n    - name: Install Python dependencies\n      run: |\n        pip install psycopg2 coverage\n        python setup.py develop\n\n    - name: Create database\n      run: |\n        # maps the container port to localhost\n        docker run --name db -p 5432:5432 -d -e POSTGRES_PASSWORD=testing postgres:${{ matrix.postgres-version }}\n\n        sleep 10 # wait for server to initialize\n        PGPASSWORD=\"testing\" psql -c 'create database dts_test_project;' -U postgres -h localhost\n\n    - name: Run tests\n      run: |\n        export DATABASE_PASSWORD=\"testing\"\n        ./run_tests.sh\n\n  django_compatibility:\n    name:  Django compatibility ${{ matrix.django-version}} / Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        django-version: [\"==4.1.*\", \"==4.2.*\", \"==5.0.*\"]\n        # always use latest Postgres b/c the point here is to test Django compatibility\n        postgres-version: [latest]\n        exclude:\n          - python-version: \"3.12\"\n            django-version: \"==4.1.*\"\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Python dependencies\n      run: |\n        pip install psycopg2 coverage setuptools\n        pip install Django${{ matrix.django-version }}\n        python setup.py develop\n\n    - name: Create database\n      run: |\n        # maps the container port to localhost\n        docker run --name db -p 5432:5432 -d -e POSTGRES_PASSWORD=testing postgres:${{ matrix.postgres-version }}\n\n        sleep 10 # wait for server to initialize\n        PGPASSWORD=\"testing\" psql -c 'create database dts_test_project;' -U postgres -h localhost\n\n    - name: Run tests\n      run: |\n        export DATABASE_PASSWORD=\"testing\"\n        ./run_tests.sh\n\n    - name: Show coverage\n      run: |\n        mv dts_test_project/.coverage* .\n        coverage report -m\n\n    - name: Send coverage to CodeCov\n      uses: codecov/codecov-action@v4\n      if: env.CODECOV_TOKEN\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      with:\n        fail_ci_if_error: true\n        verbose: true\n", "state": "active", "repository": "django-tenants/django-tenants"}
{"mined_at": "2024-07-15T13:34:59.563191", "created_at": "2023-10-02T14:19:45+02:00", "updated_at": "2023-10-02T14:19:45+02:00", "name": "Dependabot auto-merge", "path": ".github/workflows/auto-merge.yml", "contents": "---\n\nname: Dependabot auto-merge\non: pull_request_target\n\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    timeout-minutes: 1\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n    - name: Dependabot metadata\n      id: metadata\n      uses: dependabot/fetch-metadata@v2\n      with:\n        github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n    - name: Enable auto-merge for Dependabot PRs\n      run: gh pr merge --auto --squash \"$PR_URL\"\n      env:\n        PR_URL: ${{github.event.pull_request.html_url}}\n        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n\n...\n", "state": "active", "repository": "aio-libs/yarl"}
{"mined_at": "2024-07-15T13:35:00.692610", "created_at": "2023-07-09T19:13:27+02:00", "updated_at": "2023-11-23T05:23:53+01:00", "name": "CI/CD", "path": ".github/workflows/ci-cd.yml", "contents": "---\n\nname: CI/CD\n\non:\n  merge_group:\n  push:\n    branches:\n    - master\n    - >-\n      [0-9].[0-9]+\n    tags:\n    - v*\n  pull_request:\n    branches:\n    - master\n    - >-\n      [0-9].[0-9]+\n  schedule:\n  - cron: 0 6 * * *  # Daily 6AM UTC build\n\n\nconcurrency:\n  group: ${{ github.ref }}-${{ github.workflow }}\n  cancel-in-progress: true\n\n\nenv:\n  COLOR: >-  # Supposedly, pytest or coveragepy use this\n    yes\n  FORCE_COLOR: 1  # Request colored output from CLI tools supporting it\n  MYPY_FORCE_COLOR: 1  # MyPy's color enforcement\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n  PIP_NO_PYTHON_VERSION_WARNING: 1\n  PIP_NO_WARN_SCRIPT_LOCATION: 1\n  PRE_COMMIT_COLOR: always\n  PROJECT_NAME: yarl\n  PY_COLORS: 1  # Recognized by the `py` package, dependency of `pytest`\n  PYTHONIOENCODING: utf-8\n  PYTHONUTF8: 1\n  PYTHON_LATEST: 3.12\n\n\njobs:\n\n  pre-setup:\n    name: ⚙️ Pre-set global build settings\n    runs-on: ubuntu-latest\n    timeout-minutes: 1\n    defaults:\n      run:\n        shell: python\n    outputs:\n      # NOTE: These aren't env vars because the `${{ env }}` context is\n      # NOTE: inaccessible when passing inputs to reusable workflows.\n      dists-artifact-name: python-package-distributions\n      sdist-name: ${{ env.PROJECT_NAME }}-*.tar.gz\n      wheel-name: ${{ env.PROJECT_NAME }}-*.whl\n    steps:\n    - run: >-\n        print('No-op')\n\n\n  build-pure-python-dists:\n    name: 📦 Build distribution packages\n    needs:\n    - pre-setup\n    runs-on: ubuntu-latest\n    timeout-minutes: 1\n    outputs:\n      sdist-filename: >-\n        ${{ steps.dist-filenames-detection.outputs.sdist-filename }}\n      wheel-filename: >-\n        ${{ steps.dist-filenames-detection.outputs.wheel-filename }}\n    steps:\n    - name: Checkout project\n      uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.PYTHON_LATEST }}\n        cache: pip\n        cache-dependency-path:\n          requirements/*.txt\n    - name: Install core libraries for build\n      run: python -Im pip install build\n    - name: Build sdists and pure-python wheel\n      env:\n        PIP_CONSTRAINT: requirements/cython.txt\n      run: python -Im build --config-setting=pure-python=true\n    - name: Determine actual created filenames\n      id: dist-filenames-detection\n      run: >-\n        {\n        echo -n sdist-filename=\n        ;\n        basename \"$(ls -1 dist/${{ needs.pre-setup.outputs.sdist-name }})\"\n        ;\n        echo -n wheel-filename=\n        ;\n        basename \"$(ls -1 dist/${{ needs.pre-setup.outputs.wheel-name }})\"\n        ;\n        }\n        >> \"${GITHUB_OUTPUT}\"\n    - name: Upload built artifacts for testing\n      uses: actions/upload-artifact@v3\n      with:\n        if-no-files-found: error\n        name: ${{ needs.pre-setup.outputs.dists-artifact-name  }}\n        # NOTE: Exact expected file names are specified here\n        # NOTE: as a safety measure — if anything weird ends\n        # NOTE: up being in this dir or not all dists will be\n        # NOTE: produced, this will fail the workflow.\n        path: |\n          dist/${{ steps.dist-filenames-detection.outputs.sdist-filename }}\n          dist/${{ steps.dist-filenames-detection.outputs.wheel-filename }}\n        retention-days: 15\n\n  lint:\n    uses: ./.github/workflows/reusable-linters.yml\n\n  build-wheels-for-tested-arches:\n    name: >-  # ${{ '' } is a hack to nest jobs under the same sidebar category\n      📦 Build wheels for tested arches${{ '' }}\n    needs:\n    - build-pure-python-dists\n    - pre-setup  # transitive, for accessing settings\n    strategy:\n      matrix:\n        os:\n        - ubuntu\n        - windows\n        - macos\n    uses: ./.github/workflows/reusable-build-wheel.yml\n    with:\n      os: ${{ matrix.os }}\n      wheel-tags-to-skip: >-\n        ${{\n        (github.event_name != 'push' || !contains(github.ref, 'refs/tags/'))\n        && '*_i686\n        *-macosx_universal2\n        *-musllinux_*\n        *-win32\n        pp*'\n        || ''\n        }}\n      source-tarball-name: >-\n        ${{ needs.build-pure-python-dists.outputs.sdist-filename }}\n      dists-artifact-name: ${{ needs.pre-setup.outputs.dists-artifact-name }}\n      cython-tracing: >-  # Cython line tracing for coverage collection\n        ${{\n          (\n            github.event_name == 'push'\n            && contains(github.ref, 'refs/tags/')\n          )\n          && 'false'\n          || 'true'\n        }}\n\n  test:\n    name: Test\n    needs:\n    - build-pure-python-dists  # transitive, for accessing settings\n    - build-wheels-for-tested-arches\n    - pre-setup  # transitive, for accessing settings\n    strategy:\n      matrix:\n        pyver:\n        - 3.12\n        - 3.11\n        - >-\n          3.10\n        - 3.9\n        - 3.8\n        no-extensions: ['', 'Y']\n        os:\n        - ubuntu-latest\n        - macos-latest\n        - windows-latest\n        experimental: [false]\n        exclude:\n        - os: macos-latest\n          no-extensions: Y\n        - os: windows-latest\n          no-extensions: Y\n        include:\n        - pyver: pypy-3.10\n          no-extensions: Y\n          experimental: false\n          os: ubuntu-latest\n        - pyver: pypy-3.9\n          no-extensions: Y\n          experimental: false\n          os: ubuntu-latest\n        - pyver: pypy-3.8\n          no-extensions: Y\n          experimental: false\n          os: ubuntu-latest\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 5\n    continue-on-error: ${{ matrix.experimental }}\n    steps:\n    - name: Retrieve the project source from an sdist inside the GHA artifact\n      uses: re-actors/checkout-python-sdist@release/v1\n      with:\n        source-tarball-name: >-\n          ${{ needs.build-pure-python-dists.outputs.sdist-filename }}\n        workflow-artifact-name: >-\n          ${{ needs.pre-setup.outputs.dists-artifact-name }}\n    - name: Download distributions\n      uses: actions/download-artifact@v3\n      with:\n        name: ${{ needs.pre-setup.outputs.dists-artifact-name }}\n        path: dist\n\n    - name: Setup Python ${{ matrix.pyver }}\n      id: python-install\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.pyver }}\n        cache: pip\n        cache-dependency-path: requirements/*.txt\n    - name: Install dependencies\n      uses: py-actions/py-dependency-install@v4\n      with:\n        path: requirements/test.txt\n    - name: Determine pre-compiled compatible wheel\n      env:\n        # NOTE: When `pip` is forced to colorize output piped into `jq`,\n        # NOTE: the latter can't parse it. So we're overriding the color\n        # NOTE: preference here via https://no-color.org.\n        # NOTE: Setting `FORCE_COLOR` to any value (including 0, an empty\n        # NOTE: string, or a \"YAML null\" `~`) doesn't have any effect and\n        # NOTE: `pip` (through its verndored copy of `rich`) treats the\n        # NOTE: presence of the variable as \"force-color\" regardless.\n        #\n        # NOTE: This doesn't actually work either, so we'll resort to unsetting\n        # NOTE: in the Bash script.\n        # NOTE: Ref: https://github.com/Textualize/rich/issues/2622\n        NO_COLOR: 1\n      id: wheel-file\n      run: >\n        echo -n path= | tee -a \"${GITHUB_OUTPUT}\"\n\n\n        unset FORCE_COLOR\n\n\n        python\n        -X utf8\n        -u -I\n        -m pip install\n        --find-links=./dist\n        --no-index\n        '${{ env.PROJECT_NAME }}'\n        --force-reinstall\n        --no-color\n        --no-deps\n        --only-binary=:all:\n        --dry-run\n        --report=-\n        --quiet\n        | jq --raw-output .install[].download_info.url\n        | tee -a \"${GITHUB_OUTPUT}\"\n      shell: bash\n    - name: Self-install\n      run: python -Im pip install '${{ steps.wheel-file.outputs.path }}'\n    - name: Produce the C-files for the Coverage.py Cython plugin\n      if: >-  # Only works if the dists were built with line tracing\n        !matrix.no-extensions\n        && (\n          github.event_name != 'push'\n          || !contains(github.ref, 'refs/tags/')\n        )\n      env:\n        PYTHONPATH: packaging/\n      run: |\n        set -eEuo pipefail\n\n        python -Im pip install expandvars\n        python -m pep517_backend.cli translate-cython\n      shell: bash\n    - name: Disable the Cython.Coverage Produce plugin\n      if: >-  # Only works if the dists were built with line tracing\n        matrix.no-extensions\n        || (\n          github.event_name == 'push'\n          && contains(github.ref, 'refs/tags/')\n        )\n      run: |\n        set -eEuo pipefail\n        sed -i.bak 's/^plugins = .*//g' .coveragerc\n      shell: bash\n    - name: Run unittests\n      env:\n        YARL_NO_EXTENSIONS: ${{ matrix.no-extensions }}\n      run: >-\n        python -Im\n        pytest\n        -v\n        --cov-report xml\n        --junitxml=.test-results/pytest/test.xml\n    - name: Produce markdown test summary from JUnit\n      if: >-\n        !cancelled()\n      uses: test-summary/action@v2.3\n      with:\n        paths: .test-results/pytest/test.xml\n    - name: Append coverage results to Job Summary\n      if: >-\n        !cancelled()\n      run: >-\n        python -Im coverage report --format=markdown\n        >> \"${GITHUB_STEP_SUMMARY}\"\n      shell: bash\n    - name: Re-run the failing tests with maximum verbosity\n      if: >-\n        !cancelled()\n        && failure()\n      env:\n        YARL_NO_EXTENSIONS: ${{ matrix.no-extensions }}\n      run: >-  # `exit 1` makes sure that the job remains red with flaky runs\n        python -Im\n        pytest --no-cov -vvvvv --lf -rA\n        && exit 1\n      shell: bash\n    - name: Send coverage data to Codecov\n      if: >-\n        !cancelled()\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n        flags: >-\n          CI-GHA,\n          OS-${{ runner.os }},\n          VM-${{ matrix.os }},\n          Py-${{ steps.python-install.outputs.python-version }}\n        fail_ci_if_error: false\n\n  test-summary:\n    name: Test matrix status\n    if: always()\n    runs-on: ubuntu-latest\n    timeout-minutes: 1\n    needs: [lint, test]\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n\n  pre-deploy:\n    name: Pre-Deploy\n    runs-on: ubuntu-latest\n    timeout-minutes: 1\n    needs: test-summary\n    # Run only on pushing a tag\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    steps:\n    - name: Dummy\n      run: |\n        echo \"Predeploy step\"\n\n  build-wheels-for-odd-archs:\n    name: >-  # ${{ '' } is a hack to nest jobs under the same sidebar category\n      📦 Build wheels for odd arches${{ '' }}\n    needs:\n    - build-pure-python-dists\n    - pre-deploy\n    - pre-setup  # transitive, for accessing settings\n    strategy:\n      matrix:\n        qemu:\n        - aarch64\n        - ppc64le\n        - s390x\n    uses: ./.github/workflows/reusable-build-wheel.yml\n    with:\n      qemu: ${{ matrix.qemu }}\n      source-tarball-name: >-\n        ${{ needs.build-pure-python-dists.outputs.sdist-filename }}\n      dists-artifact-name: ${{ needs.pre-setup.outputs.dists-artifact-name }}\n\n  deploy:\n    name: Deploy\n    needs:\n    - build-pure-python-dists\n    - build-wheels-for-odd-archs\n    - build-wheels-for-tested-arches\n    - pre-setup  # transitive, for accessing settings\n    runs-on: ubuntu-latest\n    timeout-minutes: 7\n\n    permissions:\n      contents: write  # IMPORTANT: mandatory for making GitHub Releases\n      id-token: write  # IMPORTANT: mandatory for trusted publishing & sigstore\n\n    environment:\n      name: pypi\n      url: https://pypi.org/p/${{ env.PROJECT_NAME }}\n\n    steps:\n    - name: Retrieve the project source from an sdist inside the GHA artifact\n      uses: re-actors/checkout-python-sdist@release/v1\n      with:\n        source-tarball-name: >-\n          ${{ needs.build-pure-python-dists.outputs.sdist-filename }}\n        workflow-artifact-name: >-\n          ${{ needs.pre-setup.outputs.dists-artifact-name }}\n\n    - name: Download distributions\n      uses: actions/download-artifact@v3\n      with:\n        name: ${{ needs.pre-setup.outputs.dists-artifact-name }}\n        path: dist\n    - run: |\n        tree\n    - name: Login\n      run: |\n        echo \"${{ secrets.GITHUB_TOKEN }}\" | gh auth login --with-token\n    - name: Make Release\n      uses: aio-libs/create-release@v1.6.6\n      with:\n        changes_file: CHANGES.rst\n        version_file: ${{ env.PROJECT_NAME }}/__init__.py\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        head_line: >-\n          v{version}\\n{'=' * (len(version) + 1)}\\n\\n\\*\\({date}\\)\\*\\n\n        fix_issue_regex: >-\n          :issue:`(\\d+)`\n        fix_issue_repl: >-\n          #\\1\n\n    - name: >-\n        Publish 🐍📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n    - name: Sign the dists with Sigstore\n      uses: sigstore/gh-action-sigstore-python@v2.1.1\n      with:\n        inputs: >-\n          ./dist/${{ needs.build-pure-python-dists.outputs.sdist-filename }}\n          ./dist/*.whl\n\n    - name: Upload artifact signatures to GitHub Release\n      # Confusingly, this action also supports updating releases, not\n      # just creating them. This is what we want here, since we've manually\n      # created the release above.\n      uses: softprops/action-gh-release@v2\n      with:\n        # dist/ contains the built packages, which smoketest-artifacts/\n        # contains the signatures and certificates.\n        files: dist/**\n\n...\n", "state": "active", "repository": "aio-libs/yarl"}
{"mined_at": "2024-07-15T13:35:01.817715", "created_at": "2022-11-10T16:20:23+01:00", "updated_at": "2022-12-24T02:02:09+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "---\n\nname: \"CodeQL\"\n\non:\n  push:\n    branches:\n    - master\n  pull_request:\n    branches:\n    - master\n  schedule:\n  - cron: \"46 14 * * 0\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    timeout-minutes: 4\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n        - python\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        queries: +security-and-quality\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{ matrix.language }}\"\n\n...\n", "state": "active", "repository": "aio-libs/yarl"}
{"mined_at": "2024-07-15T13:35:02.943790", "created_at": "2023-11-19T03:37:27+01:00", "updated_at": "2023-11-19T03:37:27+01:00", "name": "Build wheel", "path": ".github/workflows/reusable-build-wheel.yml", "contents": "---\n\nname: Build wheel\n\non:\n  workflow_call:\n    inputs:\n      dists-artifact-name:\n        description: Workflow artifact name containing dists\n        required: true\n        type: string\n      cython-tracing:\n        description: Whether to build Cython modules with line tracing\n        default: '0'\n        required: false\n        type: string\n      os:\n        description: VM OS to use, without version suffix\n        default: ubuntu\n        required: false\n        type: string\n      qemu:\n        description: Emulated QEMU architecture\n        default: ''\n        required: false\n        type: string\n      source-tarball-name:\n        description: Sdist filename wildcard\n        required: true\n        type: string\n      wheel-tags-to-skip:\n        description: Wheel tags to skip building\n        default: ''\n        required: false\n        type: string\n\nenv:\n  FORCE_COLOR: \"1\"  # Make tools pretty.\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  PIP_NO_PYTHON_VERSION_WARNING: \"1\"\n\njobs:\n\n  build-wheel:\n    name: Build wheels on ${{ inputs.os }} ${{ inputs.qemu }}\n    runs-on: ${{ inputs.os }}-latest\n    timeout-minutes: ${{ inputs.qemu && 60 || 20 }}\n    steps:\n    - name: Retrieve the project source from an sdist inside the GHA artifact\n      uses: re-actors/checkout-python-sdist@release/v1\n      with:\n        source-tarball-name: ${{ inputs.source-tarball-name }}\n        workflow-artifact-name: ${{ inputs.dists-artifact-name }}\n\n    - name: Set up QEMU\n      if: inputs.qemu\n      uses: docker/setup-qemu-action@v3\n      with:\n        platforms: all\n      id: qemu\n    - name: Prepare emulation\n      if: inputs.qemu\n      run: |\n        # Build emulated architectures only if QEMU is set,\n        # use default \"auto\" otherwise\n        echo \"CIBW_ARCHS_LINUX=${{ inputs.qemu }}\" >> \"${GITHUB_ENV}\"\n      shell: bash\n\n    - name: Skip building some wheel tags\n      if: inputs.wheel-tags-to-skip\n      run: |\n        echo \"CIBW_SKIP=${{ inputs.wheel-tags-to-skip }}\" >> \"${GITHUB_ENV}\"\n      shell: bash\n\n    - name: Build wheels\n      uses: pypa/cibuildwheel@v2.19.1\n      env:\n        CIBW_ARCHS_MACOS: x86_64 arm64 universal2\n        CIBW_CONFIG_SETTINGS: >-  # Cython line tracing for coverage collection\n          pure-python=false\n          with-cython-tracing=${{ inputs.cython-tracing }}\n\n    - name: Upload built artifacts for testing and publishing\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ inputs.dists-artifact-name }}\n        path: ./wheelhouse/*.whl\n\n...\n", "state": "active", "repository": "aio-libs/yarl"}
{"mined_at": "2024-07-15T13:35:04.063242", "created_at": "2023-11-19T03:37:27+01:00", "updated_at": "2023-11-19T03:37:27+01:00", "name": "Linters", "path": ".github/workflows/reusable-linters.yml", "contents": "---\n\nname: Linters\n\non:\n  workflow_call:\n\nenv:\n  COLOR: >-  # Supposedly, pytest or coveragepy use this\n    yes\n  FORCE_COLOR: 1  # Request colored output from CLI tools supporting it\n  MYPY_FORCE_COLOR: 1  # MyPy's color enforcement\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n  PIP_NO_PYTHON_VERSION_WARNING: 1\n  PIP_NO_WARN_SCRIPT_LOCATION: 1\n  PRE_COMMIT_COLOR: always\n  PY_COLORS: 1  # Recognized by the `py` package, dependency of `pytest`\n  PYTHONIOENCODING: utf-8\n  PYTHONUTF8: 1\n  PYTHON_LATEST: 3.12\n\njobs:\n\n  lint:\n    name: Linter\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Setup Python ${{ env.PYTHON_LATEST }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.PYTHON_LATEST }}\n        cache: pip\n        cache-dependency-path: requirements/*.txt\n    - name: Cache pre-commit.com virtualenvs\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pre-commit\n        key: >-\n          ${{\n            runner.os\n          }}-pre-commit-${{\n            hashFiles('.pre-commit-config.yaml')\n          }}\n    - name: Install dependencies\n      uses: py-actions/py-dependency-install@v4\n      with:\n        path: requirements/lint.txt\n    - name: Self-install\n      run: |\n        pip install .\n    - name: Run linters\n      run: |\n        make lint\n    - name: Send coverage data to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        files: >-\n          .tox/.tmp/.mypy/python-3.12/cobertura.xml,\n          .tox/.tmp/.mypy/python-3.10/cobertura.xml,\n          .tox/.tmp/.mypy/python-3.8/cobertura.xml\n        flags: >-\n          CI-GHA,\n          MyPy\n        fail_ci_if_error: false\n    - name: Install spell checker\n      run: |\n        sudo apt install libenchant-2-dev\n        pip install -r requirements/doc-spelling.txt\n    - name: Run docs spelling\n      run: |\n        make doc-spelling\n    - name: Prepare twine checker\n      run: |\n        pip install -U build twine\n        python -m build --config-setting=pure-python=true\n    - name: Run twine checker\n      run: |\n        twine check --strict dist/*\n\n...\n", "state": "active", "repository": "aio-libs/yarl"}
{"mined_at": "2024-07-15T13:35:06.236806", "created_at": "2020-11-18T02:08:31+01:00", "updated_at": "2020-11-18T02:08:31+01:00", "name": "Publish Docs", "path": ".github/workflows/build_docs.yaml", "contents": "name: Publish Docs\n\non:\n  push:\n    branches: [ main ]\n  release:\n    types: [ created ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  docs:\n    name: Publish Docs\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Setup Conda\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          init-shell: bash\n          environment-name: docs\n          create-args: >-\n            python=3.11\n            cython\n            proj\n\n      - name: Install and Build\n        shell: bash\n        run: |\n          micromamba run -n docs python -m pip install -e .\n          micromamba run -n docs python -m pip install -r requirements-docs.txt\n          micromamba run -n docs sphinx-build -b html docs/ docs/_build/\n\n      - name: Deploy 🚀\n        uses: JamesIves/github-pages-deploy-action@v4\n        if: ${{ github.event_name == 'release' }}\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          branch: gh-pages\n          folder: docs/_build/\n          clean: false\n          target-folder: ${{ github.ref }}\n\n      - name: Deploy 🚀\n        uses: JamesIves/github-pages-deploy-action@v4\n        if: ${{ github.event_name == 'push' }}\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          branch: gh-pages\n          folder: docs/_build/\n          clean: false\n          target-folder: latest\n", "state": "active", "repository": "pyproj4/pyproj"}
{"mined_at": "2024-07-15T13:35:07.337883", "created_at": "2022-06-28T03:35:44+02:00", "updated_at": "2024-02-17T03:16:36+01:00", "name": "Wheels & sdist", "path": ".github/workflows/release.yaml", "contents": "name: Wheels & sdist\n\non:\n  push:\n    branches: [ main ]\n  release:\n    types: [ created ]\n  pull_request:  # also build on PRs touching this file\n    paths:\n      - \".github/workflows/release.yaml\"\n      - \"ci/proj-compile-wheels.sh\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  PROJ_VERSION: \"9.4.0\"\n  DEBIAN_FRONTEND: noninteractive\n\njobs:\n  make_sdist:\n    name: Make sdist\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Conda\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          init-shell: bash\n          environment-name: sdist_env\n          create-args: >-\n            build\n            twine\n            cython\n            proj=${{ matrix.proj-version }}\n\n\n      - name: Make sdist\n        shell: bash\n        run: |\n          micromamba run -n sdist_env python -m build --sdist\n\n      - name: Check packages\n        shell: bash\n        run: |\n          micromamba run -n sdist_env twine check --strict dist/*\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: sdist\n          path: ./dist/*.tar.gz\n          retention-days: 5\n\n  build_wheels:\n    name: Build ${{ matrix.arch }} wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - os: ubuntu-22.04\n          arch: x86_64\n        # - os: ubuntu-22.04\n        #   arch: i686\n        - os: macos-12\n          arch: x86_64\n          cmake_osx_architectures: x86_64\n        - os: macos-14\n          arch: arm64\n          cmake_osx_architectures: arm64\n        - os: \"windows-2022\"\n          arch: \"auto64\"\n          triplet: \"x64-windows\"\n          vcpkg_cache: \"c:\\\\vcpkg\\\\installed\"\n          vcpkg_logs: \"c:\\\\vcpkg\\\\buildtrees\\\\**\\\\*.log\"\n        - os: \"windows-2022\"\n          arch: \"auto32\"\n          triplet: \"x86-windows\"\n          vcpkg_cache: \"c:\\\\vcpkg\\\\installed\"\n          vcpkg_logs: \"c:\\\\vcpkg\\\\buildtrees\\\\**\\\\*.log\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n\n      - name: Setup MSVC (32-bit)\n        if: ${{ matrix.triplet == 'x86-windows' }}\n        uses: bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d  # v1\n        with:\n          architecture: 'x86'\n\n      - name: Cache vcpkg\n        if: contains(matrix.os, 'windows')\n        uses: actions/cache@v4\n        id: vcpkgcache\n        with:\n          path: |\n            ${{ matrix.vcpkg_cache }}\n          # bump the last digit to avoid using previous build cache\n          key: ${{ matrix.os }}-${{ matrix.triplet }}-vcpkg-proj${{ env.PROJ_VERSION }}-cache0\n\n      - name: Install PROJ with vcpkg\n        if: contains(matrix.os, 'windows')\n        env:\n          VCPKG_DEFAULT_TRIPLET: ${{ matrix.triplet }}\n        shell: bash\n        run: |\n          cd \"$VCPKG_INSTALLATION_ROOT\"\n          git pull > nul\n          ./bootstrap-vcpkg.bat -disableMetrics\n          vcpkg install --feature-flags=\"versions,manifests\" --x-manifest-root=${GITHUB_WORKSPACE}/ci --x-install-root=$VCPKG_INSTALLATION_ROOT/installed\n          mkdir -p ${GITHUB_WORKSPACE}/pyproj/proj_dir/share/proj\n          cp \"$VCPKG_INSTALLATION_ROOT/installed/${{ matrix.triplet }}/share/proj/\"* ${GITHUB_WORKSPACE}/pyproj/proj_dir/share/proj/\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.17\n        env:\n          CIBW_SKIP: \"*musllinux* pp*-win* pp31*\"\n          CIBW_ARCHS: ${{ matrix.arch }}\n          CIBW_ENVIRONMENT_LINUX:\n            PROJ_WHEEL=true\n            PROJ_NETWORK=ON\n            PROJ_VERSION=${{ env.PROJ_VERSION }}\n            PROJ_DIR=/project/pyproj/proj_dir\n          CIBW_ENVIRONMENT_MACOS:\n            PROJ_WHEEL=true\n            PROJ_NETWORK=ON\n            PROJ_VERSION=${{ env.PROJ_VERSION }}\n            PROJ_DIR=${GITHUB_WORKSPACE}/pyproj/proj_dir\n            CMAKE_OSX_ARCHITECTURES='${{ matrix.cmake_osx_architectures }}'\n            LDFLAGS=\"${LDFLAGS} -Wl,-rpath,${GITHUB_WORKSPACE}/pyproj/proj_dir/lib\"\n          CIBW_ENVIRONMENT_WINDOWS:\n            PROJ_WHEEL=true\n            PROJ_NETWORK=ON\n            PROJ_VERSION=${{ env.PROJ_VERSION }}\n            PROJ_DIR=$VCPKG_INSTALLATION_ROOT/installed/${{ matrix.triplet }}\n          CIBW_BEFORE_BUILD_WINDOWS: \"python -m pip install delvewheel\"\n          CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: \"delvewheel repair --add-path C:/vcpkg/installed/${{ matrix.triplet }}/bin -w {dest_dir} {wheel}\"\n          CIBW_BEFORE_ALL_LINUX: bash ./ci/proj-compile-wheels.sh\n          CIBW_BEFORE_ALL_MACOS: bash ./ci/proj-compile-wheels.sh\n          CIBW_TEST_REQUIRES: cython pytest numpy --config-settings=setup-args=\"-Dallow-noblas=true\"\n          CIBW_BEFORE_TEST: python -m pip install shapely pandas xarray || echo \"Optional requirements install failed\"\n          CIBW_TEST_COMMAND: >\n            pyproj -v &&\n            python -c \"import pyproj; pyproj.Proj(init='epsg:4269')\"  &&\n            cp -r {package}/test . &&\n            python -m pytest test -v -s\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: wheels-${{ matrix.os }}-${{ matrix.arch }}\n          path: ./wheelhouse/*.whl\n          retention-days: 5\n\n  publish:\n    name: Publish on PyPI\n    needs: [make_sdist,build_wheels]\n    runs-on: ubuntu-latest\n    # release on every tag\n    if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: sdist\n          path: dist\n      - uses: actions/download-artifact@v4\n        with:\n          name: wheels-ubuntu-22.04-x86_64\n          path: dist\n      - uses: actions/download-artifact@v4\n        with:\n          name: wheels-macos-11-x86_64\n          path: dist\n      - uses: actions/download-artifact@v4\n        with:\n          name: wheels-macos-14-arm64\n          path: dist\n      - uses: actions/download-artifact@v4\n        with:\n          name: wheels-windows-2022-auto64\n          path: dist\n      - uses: actions/download-artifact@v4\n        with:\n          name: wheels-windows-2022-auto32\n          path: dist\n\n      - name: Upload Wheels to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip_existing: true\n          # repository_url: https://test.pypi.org/legacy/  # To test\n", "state": "active", "repository": "pyproj4/pyproj"}
{"mined_at": "2024-07-15T13:35:08.362435", "created_at": "2020-11-17T14:14:34+01:00", "updated_at": "2020-11-17T14:14:34+01:00", "name": "Test PROJ Latest", "path": ".github/workflows/test_proj_latest.yaml", "contents": "name: Test PROJ Latest\n\non:\n  push:\n    branches: [ main ]\n  schedule:\n    - cron:  '0 0 * * 0'\n  pull_request:  # also build on PRs touching this file\n    paths:\n      - \".github/workflows/test_proj_latest.yaml\"\n      - \"ci/proj-compile.sh\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  DEBIAN_FRONTEND: noninteractive\n\njobs:\n  test_proj_latest:\n    name: PROJ Latest\n    runs-on: ubuntu-latest\n    env:\n      PYPROJ_FULL_COVERAGE: YES\n      PROJ_DIR: ${{ github.workspace }}/proj_install\n      PROJ_DATA: ${{ github.workspace }}/proj_install/share/proj\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n            python-version: '3.11'\n      - name: Install PROJ\n        shell: bash\n        run: |\n          sudo apt-get update\n          sudo apt-get install -qq sqlite3 libsqlite3-dev libtiff-dev libcurl4-openssl-dev cmake\n          bash ci/proj-compile.sh git\n\n      - name: Install and Log Environment\n        shell: bash\n        run: |\n          python -V\n          python -m pip install cython\n          python -m pip install -e .\n          python -m pip install -r requirements-test.txt\n          pyproj -v\n\n      - name: Test\n        shell: bash\n        run: |\n          python -m pytest --cov-report term-missing --cov=pyproj --cov-report xml\n\n      - name: Test Network\n        shell: bash\n        env:\n          PROJ_NETWORK: ON\n        run: |\n          python -m pytest\n\n      - name: Test Global Context\n        shell: bash\n        env:\n          PYPROJ_GLOBAL_CONTEXT: ON\n        run: |\n          python -m pytest\n\n      - name: Test Network & Global Context\n        shell: bash\n        env:\n          PROJ_NETWORK: ON\n          PYPROJ_GLOBAL_CONTEXT: ON\n        run: |\n          python -m pytest\n\n      - name: Test Grids\n        shell: bash\n        run: |\n          $PROJ_DIR/bin/projsync --quiet --bbox -175,0,-50,85\n          python -m pytest\n", "state": "active", "repository": "pyproj4/pyproj"}
{"mined_at": "2024-07-15T13:35:09.496916", "created_at": "2020-11-17T02:20:55+01:00", "updated_at": "2022-12-22T16:06:42+01:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  schedule:\n    - cron:  '0 0 * * 0'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  PYPROJ_FULL_COVERAGE: YES\n  DEBIAN_FRONTEND: noninteractive\n\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n            python-version: '3.10'\n      - uses: pre-commit/action@v3.0.1\n      - name: Install mypy\n        run: |\n          python -m pip install mypy types-certifi\n      - name: mypy\n        run: |\n          mypy pyproj\n\n  docker_tests:\n    needs: linting\n    runs-on: ubuntu-latest\n    name: Docker | python=${{ matrix.python-version }} | PROJ=${{ matrix.proj-version }}\n    container: ghcr.io/osgeo/proj:${{ matrix.proj-version }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n        proj-version: ['9.4.0']\n        include:\n          - python-version: '3.10'\n            proj-version: '9.3.1'\n          - python-version: '3.10'\n            proj-version: '9.2.1'\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Update\n        run: |\n          apt-get update\n          apt-get -y install software-properties-common\n          add-apt-repository -y ppa:deadsnakes/ppa\n          apt-get update\n\n      - name: Set up Python ${{ matrix.python-version }}\n        run: |\n          apt-get install -y --no-install-recommends \\\n            python${{ matrix.python-version }} \\\n            python${{ matrix.python-version }}-dev \\\n            python${{ matrix.python-version }}-venv \\\n            python3-pip \\\n            g++\n\n      - name: Install dependencies\n        run: |\n          python${{ matrix.python-version }} -m venv testenv\n          . testenv/bin/activate\n          python -m pip install --upgrade pip\n          python -m pip install -r requirements-dev.txt\n          python -m pip install -e .\n          python -m pip install -r requirements-test.txt\n\n      - name: Test\n        shell: bash\n        run: |\n          . testenv/bin/activate\n          python -m pytest --cov-report term-missing --cov=pyproj --cov-report xml\n\n      - name: Test Network\n        shell: bash\n        env:\n          PROJ_NETWORK: ON\n        run: |\n          . testenv/bin/activate\n          python -m pytest\n\n      - name: Test Global Context\n        shell: bash\n        env:\n          PYPROJ_GLOBAL_CONTEXT: ON\n        run: |\n          . testenv/bin/activate\n          python -m pytest\n\n      - name: Test Network & Global Context\n        shell: bash\n        env:\n          PROJ_NETWORK: ON\n          PYPROJ_GLOBAL_CONTEXT: ON\n        run: |\n          . testenv/bin/activate\n          python -m pytest\n\n      - name: Test Grids\n        shell: bash\n        run: |\n          . testenv/bin/activate\n          projsync --quiet --bbox -175,0,-50,85\n          python -m pytest\n\n  conda_tests:\n    needs: linting\n    name: Conda ${{ matrix.os }} | ${{ matrix.python-implementation }}=${{ matrix.python-version }} | PROJ=${{ matrix.proj-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.10', '3.11', '3.12']\n        python-implementation: [python]\n        proj-version: ['*']\n        # DISABLED UNTIL CONDA-FORGE PYPY SUPPORTS PYTHON 3.10+\n        # include:\n          # - os: ubuntu-latest\n          #   python-version: '*'\n          #   python-implementation: pypy\n          #   proj-version: '*'\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Conda\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          init-shell: bash\n          environment-name: test\n          create-args: >-\n            ${{ matrix.python-implementation }}=${{ matrix.python-version }}\n            cython\n            proj=${{ matrix.proj-version }}\n            numpy\n            shapely\n            xarray\n            pandas\n\n      - name: Install Env\n        shell: bash\n        run: |\n          if [ \"${{ matrix.python-implementation }}\" = \"pypy\" ]; then\n            sed -i.bak '/xarray/d' requirements-test.txt;\n            sed -i.bak '/pandas/d' requirements-test.txt;\n          fi;\n          micromamba run -n test python -m pip install -e .\n          micromamba run -n test python -m pip install -r requirements-test.txt\n\n      - name: Check and Log Environment\n        shell: bash\n        run: |\n          micromamba run -n test python -V\n          micromamba run -n test pyproj -v\n          micromamba info\n\n      - name: Install pylint\n        shell: bash\n        if: matrix.python-implementation == 'python'\n        run: |\n          micromamba run -n test python -m pip install pylint\n\n      - name: pylint\n        shell: bash\n        if: matrix.python-implementation == 'python'\n        run: |\n          micromamba run -n test python -m pylint pyproj\n\n      - name: Test with Coverage\n        shell: bash\n        if: matrix.python-implementation == 'python'\n        run: |\n          micromamba run -n test python -m pytest --cov-report term-missing --cov=pyproj --cov-report xml\n\n      - name: Test\n        shell: bash\n        if: matrix.python-implementation == 'pypy'\n        env:\n          PROJ_NETWORK: OFF\n        run: |\n          micromamba run -n test python -m pytest\n\n      - name: Test Network\n        shell: bash\n        env:\n          PROJ_NETWORK: ON\n        run: |\n          micromamba run -n test python -m pytest\n\n      - name: Test Global Context\n        shell: bash\n        env:\n          PROJ_NETWORK: OFF\n          PYPROJ_GLOBAL_CONTEXT: ON\n        run: |\n          micromamba run -n test python -m pytest\n\n      - name: Test Network & Global Context\n        shell: bash\n        env:\n          PROJ_NETWORK: ON\n          PYPROJ_GLOBAL_CONTEXT: ON\n        run: |\n          micromamba run -n test python -m pytest\n\n      - name: Test Grids\n        shell: bash\n        env:\n          PROJ_NETWORK: OFF\n        run: |\n          micromamba run -n test projsync --quiet --bbox -175,0,-50,85\n          micromamba run -n test python -m pytest\n\n      - name: Test Build docs\n        shell: bash\n        if: contains(matrix.os, 'ubuntu') && matrix.python-implementation == 'python'\n        run: |\n          micromamba run -n test python -m pip install -r requirements-docs.txt\n          micromamba run -n test sphinx-build -b html docs/ docs/_build/\n          micromamba run -n test sphinx-build -b man docs/ docs/_build/\n\n      - uses: codecov/codecov-action@v4\n", "state": "active", "repository": "pyproj4/pyproj"}
{"mined_at": "2024-07-15T13:35:10.561968", "created_at": "2022-01-11T23:58:34+01:00", "updated_at": "2022-01-11T23:58:34+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pyproj4/pyproj"}
{"mined_at": "2024-07-15T13:35:12.543896", "created_at": "2023-04-29T13:55:21+02:00", "updated_at": "2023-04-29T13:55:21+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '45 0 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    # - name: Autobuild\n    #   uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "jhpyle/docassemble"}
{"mined_at": "2024-07-15T13:35:13.549094", "created_at": "2021-12-17T04:13:36+01:00", "updated_at": "2021-12-17T04:13:36+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "jhpyle/docassemble"}
{"mined_at": "2024-07-15T13:35:16.691585", "created_at": "2020-12-01T10:06:00+01:00", "updated_at": "2021-04-16T02:38:45+02:00", "name": "Package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Package\n\non:\n  push:\n  pull_request:\n    types: [opened, reopened]\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  git-depth: 0 # Depth to search for tags.\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Ruff\n        run: pip install ruff\n      - name: Ruff Check\n        run: ruff check . --fix-only --exit-non-zero-on-fix --output-format=github\n      - name: Ruff Format\n        run: ruff format . --check\n\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Checkout submodules\n        run: git submodule update --init --recursive --depth 1\n      - name: Install typing dependencies\n        run: pip install mypy pytest -r requirements.txt\n      - name: Mypy\n        uses: liskin/gh-problem-matcher-wrap@v2\n        with:\n          linters: mypy\n          run: mypy --show-column-numbers\n\n  sdist:\n    runs-on: ubuntu-latest\n    steps:\n      - name: APT update\n        run: sudo apt-get update\n      - name: Install APT dependencies\n        run: sudo apt-get install libsdl2-dev\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: ${{ env.git-depth }}\n      - name: Checkout submodules\n        run: git submodule update --init --recursive --depth 1\n      - name: Install build\n        run: pip install build\n      - name: Build source distribution\n        run: python -m build --sdist\n      - uses: actions/upload-artifact@v3\n        with:\n          name: sdist\n          path: dist/tcod-*.tar.gz\n          retention-days: 7\n\n  # This makes sure that the latest versions of the SDL headers parse correctly.\n  parse_sdl:\n    needs: [ruff, mypy]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [\"windows-latest\", \"macos-latest\"]\n        sdl-version: [\"2.0.14\", \"2.0.16\"]\n      fail-fast: true\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: ${{ env.git-depth }}\n      - name: Checkout submodules\n        run: git submodule update --init --recursive --depth 1\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install build dependencies\n        run: pip install -r requirements.txt\n      - name: Test SDL parsing\n        run: python build_sdl.py\n        env:\n          SDL_VERSION: ${{ matrix.sdl-version }}\n\n  build:\n    needs: [ruff, mypy]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\", \"windows-latest\"]\n        python-version: [\"3.8\", \"3.9\", \"pypy-3.8\"]\n        architecture: [\"x64\"]\n        include:\n          - os: \"windows-latest\"\n            python-version: \"3.8\"\n            architecture: \"x86\"\n          - os: \"windows-latest\"\n            python-version: \"pypy-3.8\"\n            architecture: \"x86\"\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: ${{ env.git-depth }}\n      - name: Checkout submodules\n        run: |\n          git submodule update --init --recursive --depth 1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n      - name: Install APT dependencies\n        if: runner.os == 'Linux'\n        run: |\n          sudo apt-get update\n          sudo apt-get install libsdl2-dev xvfb\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest pytest-cov pytest-benchmark pytest-timeout build\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n      - name: Initialize package\n        run: |\n          pip install -e .  # Install the package in-place.\n      - name: Build package\n        run: |\n          python -m build\n      - name: Test with pytest\n        if: runner.os == 'Windows'\n        run: |\n          pytest --cov-report=xml --timeout=300\n      - name: Test with pytest (Xvfb)\n        if: always() && runner.os != 'Windows'\n        run: |\n          xvfb-run -e /tmp/xvfb.log --server-num=$RANDOM --auto-servernum pytest --cov-report=xml --timeout=300\n      - name: Xvfb logs\n        if: runner.os != 'Windows'\n        run: cat /tmp/xvfb.log\n      - uses: codecov/codecov-action@v3\n      - uses: actions/upload-artifact@v3\n        if: runner.os == 'Windows'\n        with:\n          name: wheels-windows\n          path: dist/*.whl\n          retention-days: 7\n\n  test-docs:\n    needs: [ruff, mypy]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Install APT dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install libsdl2-dev\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: ${{ env.git-depth }}\n      - name: Checkout submodules\n        run: git submodule update --init --recursive --depth 1\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r docs/requirements.txt\n      - name: Install package\n        run: pip install -e .\n        env:\n          TDL_BUILD: DEBUG\n      - name: Test doc generation\n        working-directory: docs\n        run: python -m sphinx -T -E -W --keep-going . _build/html\n\n  tox:\n    needs: [ruff]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\", \"windows-latest\"]\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: ${{ env.git-depth }}\n      - name: Checkout submodules\n        run: git submodule update --init --depth 1\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip tox\n      - name: Install APT dependencies\n        if: runner.os == 'Linux'\n        run: |\n          sudo apt-get update\n          sudo apt-get install libsdl2-dev\n      - name: Run tox\n        run: |\n          tox -vv\n\n  linux-wheels:\n    needs: [ruff, mypy]\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      matrix:\n        arch: [\"x86_64\", \"aarch64\"]\n        build: [\"cp38-manylinux*\", \"pp38-manylinux*\"]\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: ${{ env.git-depth }}\n      - name: Set up QEMU\n        if: ${{ matrix.arch == 'aarch64' }}\n        uses: docker/setup-qemu-action@v2\n      - name: Checkout submodules\n        run: |\n          git submodule update --init --recursive --depth 1\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install cibuildwheel==2.16.0\n      - name: Build wheels\n        run: |\n          python -m cibuildwheel --output-dir wheelhouse\n        env:\n          CIBW_BUILD: ${{ matrix.build }}\n          CIBW_ARCHS_LINUX: ${{ matrix.arch }}\n          CIBW_MANYLINUX_*_IMAGE: manylinux2014\n          CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux2014\n          CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: manylinux2014\n          CIBW_BEFORE_ALL_LINUX: >\n            yum install -y epel-release &&\n            yum-config-manager --enable epel &&\n            yum install -y SDL2-devel\n          CIBW_BEFORE_TEST: pip install numpy\n          CIBW_TEST_COMMAND: python -c \"import tcod.context\"\n          # Skip test on emulated architectures\n          CIBW_TEST_SKIP: \"*_aarch64\"\n      - name: Archive wheel\n        uses: actions/upload-artifact@v3\n        with:\n          name: wheels-linux\n          path: wheelhouse/*.whl\n          retention-days: 7\n\n  build-macos:\n    needs: [ruff, mypy]\n    runs-on: \"macos-11\"\n    strategy:\n      fail-fast: true\n      matrix:\n        python: [\"cp38-*_universal2\", \"cp38-*_x86_64\", \"cp38-*_arm64\", \"pp38-*\"]\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: ${{ env.git-depth }}\n      - name: Checkout submodules\n        run: git submodule update --init --recursive --depth 1\n      - name: Install Python dependencies\n        run: pip3 install -r requirements.txt\n      - name: Prepare package\n        # Downloads SDL2 for the later step.\n        run: python3 build_sdl.py\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.17.0\n        env:\n          CIBW_BUILD: ${{ matrix.python }}\n          CIBW_ARCHS_MACOS: x86_64 arm64 universal2\n          CIBW_BEFORE_BUILD_MACOS: pip install --upgrade delocate\n          CIBW_BEFORE_TEST: pip install numpy\n          CIBW_TEST_COMMAND: python -c \"import tcod.context\"\n          CIBW_TEST_SKIP: \"pp* *-macosx_arm64 *-macosx_universal2:arm64\"\n          MACOSX_DEPLOYMENT_TARGET: \"10.11\"\n      - name: Archive wheel\n        uses: actions/upload-artifact@v3\n        with:\n          name: wheels-macos\n          path: wheelhouse/*.whl\n          retention-days: 7\n\n  publish:\n    needs: [sdist, build, build-macos, linux-wheels]\n    runs-on: ubuntu-latest\n    if: startsWith(github.ref, 'refs/tags/')\n    environment:\n      name: release\n      url: https://pypi.org/p/tcod\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: sdist\n          path: dist/\n      - uses: actions/download-artifact@v3\n        with:\n          name: wheels-windows\n          path: dist/\n      - uses: actions/download-artifact@v3\n        with:\n          name: wheels-macos\n          path: dist/\n      - uses: actions/download-artifact@v3\n        with:\n          name: wheels-linux\n          path: dist/\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          skip-existing: true\n", "state": "active", "repository": "libtcod/python-tcod"}
{"mined_at": "2024-07-15T13:35:17.800058", "created_at": "2020-12-30T01:19:53+01:00", "updated_at": "2020-12-30T01:19:53+01:00", "name": "Create Release", "path": ".github/workflows/release-on-tag.yml", "contents": "on:\n  push:\n    tags:\n      - \"*.*.*\"\n\nname: Create Release\n\njobs:\n  build:\n    name: Create Release\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Generate body\n        run: |\n          scripts/get_release_description.py | tee release_body.md\n      - name: Create Release\n        id: create_release\n        uses: ncipollo/release-action@v1\n        with:\n          name: \"\"\n          bodyFile: release_body.md\n", "state": "active", "repository": "libtcod/python-tcod"}
{"mined_at": "2024-07-15T13:35:19.940775", "created_at": "2020-04-23T23:32:07+02:00", "updated_at": "2024-01-22T02:47:09+01:00", "name": "Build Packages", "path": ".github/workflows/build-packages.yml", "contents": null, "state": "active", "repository": "lenskit/lkpy"}
{"mined_at": "2024-07-15T13:35:21.068585", "created_at": "2023-11-11T21:25:19+01:00", "updated_at": "2024-06-15T17:50:14+02:00", "name": "Static Checks", "path": ".github/workflows/check-sources.yml", "contents": "name: Static Checks\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\nconcurrency:\n  group: check-${{github.ref}}\n  cancel-in-progress: true\n\njobs:\n  pre-commit:\n    name: Check pre-commit hooks\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: 📥 Check out source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: 📦 Install pre-commit\n        run: pipx install pre-commit\n\n      - name: 🪝 Install pre-commit hooks\n        run: pre-commit install-hooks\n\n      # switch git branches so we don't trip the branch pre-commit check\n      - name: Switch branches\n        run: git checkout -b check-source HEAD\n\n      - name: ✅ Check that pre-commit is clean\n        run: |\n          if pre-commit run --all-files; then\n            echo \"::debug title=pre-commit::pre-commit checks passed\"\n          else\n            git diff\n            git status -s |sed -Ee 's/^...(.*)/::error file=\\1,title=pre-commit::pre-commit would modify this file/'\n            exit 1\n          fi\n\n  lint:\n    name: Annotate with lint failures\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: 📥 Check out source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: 🐍 Set up Python\n        id: python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: 🛠️ Install development tools and dependencies\n        run: |\n          $PYTHON -m pip install -U uv\n          uv pip install --python $PYTHON -r requirements-dev.txt\n        env:\n          PYTHON: ${{steps.python.outputs.python-path}}\n\n      - name: 🐜 Check source code lint rules\n        id: lint\n        run: ruff check --output-format=github\n", "state": "active", "repository": "lenskit/lkpy"}
{"mined_at": "2024-07-15T13:35:22.172034", "created_at": "2024-07-02T20:47:23+02:00", "updated_at": "2024-07-02T23:56:31+02:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": null, "state": "active", "repository": "lenskit/lkpy"}
{"mined_at": "2024-07-15T13:35:23.191255", "created_at": "2023-11-11T21:48:53+01:00", "updated_at": "2024-06-15T17:50:14+02:00", "name": "Distribution", "path": ".github/workflows/package.yml", "contents": "name: Distribution\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  release:\n    types: [published]\n\njobs:\n  dist:\n    name: Build Packages\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Fetch Git tags\n        run: git fetch --tags\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install Python deps\n        run: pip install -U build\n\n      - name: Build distribution\n        run: |\n          python -m build -o dist lenskit\n          python -m build -o dist lenskit-funksvd\n          python -m build -o dist lenskit-implicit\n          python -m build -o dist lenskit-hpf\n\n      - name: Save archive\n        uses: actions/upload-artifact@v4\n        with:\n          name: pypi-pkgs\n          path: dist\n\n      - name: List dist dir\n        run: ls -R dist\n\n  pypi-publish:\n    name: Publish to PyPI\n    runs-on: ubuntu-latest\n    needs: [dist]\n    if: github.event_name == 'release'\n\n    environment: release\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Fetch compiled package distributions\n        uses: actions/download-artifact@v4\n        with:\n          name: pypi-pkgs\n          path: dist\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "lenskit/lkpy"}
{"mined_at": "2024-07-15T13:35:24.256784", "created_at": "2021-03-02T03:26:59+01:00", "updated_at": "2021-03-02T03:26:59+01:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": null, "state": "active", "repository": "lenskit/lkpy"}
{"mined_at": "2024-07-15T13:35:25.349247", "created_at": "2020-04-18T21:35:20+02:00", "updated_at": "2022-07-16T00:20:02+02:00", "name": "Test Suite", "path": ".github/workflows/test-suite.yml", "contents": null, "state": "active", "repository": "lenskit/lkpy"}
{"mined_at": "2024-07-15T13:35:26.349108", "created_at": "2023-11-11T21:31:50+01:00", "updated_at": "2024-07-04T00:52:39+02:00", "name": "Automatic Tests", "path": ".github/workflows/test.yml", "contents": "name: Automatic Tests\n'on':\n  push:\n    branches:\n      - main\n  pull_request: {}\nconcurrency:\n  group: test-${{github.ref}}\n  cancel-in-progress: true\njobs:\n  conda:\n    name: Conda Python ${{matrix.python}} on ${{matrix.platform}}\n    runs-on: ${{matrix.platform}}\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash -el {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python:\n          - '3.10'\n          - '3.11'\n          - '3.12'\n        platform:\n          - ubuntu-latest\n          - macos-latest\n          - windows-latest\n    steps:\n      - name: 🛒 Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 👢 Generate Conda environment file\n        run: |\n          pipx run ./utils/conda-tool.py --env -o ci-environment.yml -e all requirements-test.txt lenskit/pyproject.toml\n      - id: setup\n        name: 📦 Set up Conda environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci-environment.yml\n          environment-name: lkpy\n          cache-environment: true\n          init-shell: bash\n      - name: 🍱 Install LensKit packages\n        run: |\n          pip install --no-deps -e lenskit\n      - name: 🔍 Inspect environment\n        run: |\n          python -m lenskit.util.envcheck\n      - name: 🏃🏻‍➡️ Test LKPY\n        run: |\n          python -m pytest --verbose --log-file=test.log --durations=25 --cov=lenskit/lenskit lenskit/tests\n      - name: 📐 Coverage results\n        run: |\n          coverage xml\n          coverage report\n      - name: 📤 Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-conda-${{matrix.platform}}-py${{matrix.python}}\n          path: |\n            test*.log\n            coverage.xml\n  vanilla:\n    name: Vanilla Python ${{matrix.python}} on ${{matrix.platform}}\n    runs-on: ${{matrix.platform}}\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        python:\n          - '3.10'\n          - '3.11'\n          - '3.12'\n        platform:\n          - ubuntu-latest\n          - macos-latest\n          - windows-latest\n    steps:\n      - name: 🛒 Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 🐍 Set up Python\n        id: install-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python}}\n          cache: pip\n          cache-dependency-path: |\n            requirements*.txt\n            */pyproject.toml\n      - name: 🕶️ Set up uv\n        run: |\n          pip install -U 'uv>=0.1.15'\n      - name: 📦 Set up Python dependencies\n        id: install-deps\n        run: |\n          uv pip install --python $PYTHON -r requirements-test.txt -e lenskit\n        shell: bash\n        env:\n          PYTHON: ${{steps.install-python.outputs.python-path}}\n          UV_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu\n          UV_INDEX_STRATEGY: unsafe-first-match\n      - name: 🔍 Inspect environment\n        run: |\n          python -m lenskit.util.envcheck\n      - name: 🏃🏻‍➡️ Test LKPY\n        run: |\n          python -m pytest --verbose --log-file=test.log --durations=25 --cov=lenskit/lenskit lenskit/tests\n      - name: 📐 Coverage results\n        run: |\n          coverage xml\n          coverage report\n      - name: 📤 Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-vanilla-${{matrix.platform}}-py${{matrix.python}}\n          path: |\n            test*.log\n            coverage.xml\n  nojit:\n    name: Non-JIT test coverage\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - name: 🛒 Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 🐍 Set up Python\n        id: install-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: pip\n          cache-dependency-path: |\n            requirements*.txt\n            */pyproject.toml\n      - name: 🕶️ Set up uv\n        run: |\n          pip install -U 'uv>=0.1.15'\n      - name: 📦 Set up Python dependencies\n        id: install-deps\n        run: |\n          uv pip install --python $PYTHON -r requirements-test.txt -e lenskit -e lenskit-funksvd\n        shell: bash\n        env:\n          PYTHON: ${{steps.install-python.outputs.python-path}}\n          UV_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu\n          UV_INDEX_STRATEGY: unsafe-first-match\n      - name: 🔍 Inspect environment\n        run: |\n          python -m lenskit.util.envcheck\n      - name: 🏃🏻‍➡️ Test LKPY\n        run: |\n          python -m pytest --verbose --log-file=test.log --durations=25 -m 'not slow' --cov=lenskit/lenskit --cov=lenskit-funksvd/lenskit lenskit/tests lenskit-funksvd/tests\n        env:\n          NUMBA_DISABLE_JIT: 1\n          PYTORCH_JIT: 0\n      - name: 📐 Coverage results\n        run: |\n          coverage xml\n          coverage report\n      - name: 📤 Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-nojit\n          path: |\n            test*.log\n            coverage.xml\n  mindep:\n    name: Minimal dependency tests\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - name: 🛒 Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 🐍 Set up Python\n        id: install-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: pip\n          cache-dependency-path: |\n            requirements*.txt\n            */pyproject.toml\n      - name: 🕶️ Set up uv\n        run: |\n          pip install -U 'uv>=0.1.15'\n      - name: 📦 Set up Python dependencies\n        id: install-deps\n        run: |\n          uv pip install --python $PYTHON -r requirements-test.txt -e lenskit --resolution=lowest-direct\n        shell: bash\n        env:\n          PYTHON: ${{steps.install-python.outputs.python-path}}\n          UV_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu\n          UV_INDEX_STRATEGY: unsafe-first-match\n      - name: 🔍 Inspect environment\n        run: |\n          python -m lenskit.util.envcheck\n      - name: 🏃🏻‍➡️ Test LKPY\n        run: |\n          python -m pytest --verbose --log-file=test.log --durations=25 --cov=lenskit/lenskit lenskit/tests\n      - name: 📐 Coverage results\n        run: |\n          coverage xml\n          coverage report\n      - name: 📤 Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-mindep\n          path: |\n            test*.log\n            coverage.xml\n  funksvd:\n    name: FunkSVD tests on Python ${{matrix.python}}\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash -el {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python:\n          - '3.10'\n          - '3.11'\n          - '3.12'\n    steps:\n      - name: 🛒 Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 👢 Generate Conda environment file\n        run: |\n          pipx run ./utils/conda-tool.py --env -o ci-environment.yml -e all requirements-test.txt lenskit/pyproject.toml lenskit-funksvd/pyproject.toml\n      - id: setup\n        name: 📦 Set up Conda environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci-environment.yml\n          environment-name: lkpy\n          cache-environment: true\n          init-shell: bash\n      - name: 🍱 Install LensKit packages\n        run: |\n          pip install --no-deps -e lenskit -e lenskit-funksvd\n      - name: 🔍 Inspect environment\n        run: |\n          python -m lenskit.util.envcheck\n      - name: 🏃🏻‍➡️ Test LKPY\n        run: |\n          python -m pytest --verbose --log-file=test.log --durations=25 --cov=lenskit-funksvd/lenskit lenskit-funksvd/tests\n      - name: 📐 Coverage results\n        run: |\n          coverage xml\n          coverage report\n      - name: 📤 Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-funksvd-py${{matrix.python}}\n          path: |\n            test*.log\n            coverage.xml\n  funksvd-mindep:\n    name: Minimal dependency tests for FunkSVD\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - name: 🛒 Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 🐍 Set up Python\n        id: install-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: pip\n          cache-dependency-path: |\n            requirements*.txt\n            */pyproject.toml\n      - name: 🕶️ Set up uv\n        run: |\n          pip install -U 'uv>=0.1.15'\n      - name: 📦 Set up Python dependencies\n        id: install-deps\n        run: |\n          uv pip install --python $PYTHON -r requirements-test.txt -e lenskit -e lenskit-funksvd --resolution=lowest-direct\n        shell: bash\n        env:\n          PYTHON: ${{steps.install-python.outputs.python-path}}\n          UV_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu\n          UV_INDEX_STRATEGY: unsafe-first-match\n      - name: 🔍 Inspect environment\n        run: |\n          python -m lenskit.util.envcheck\n      - name: 🏃🏻‍➡️ Test LKPY\n        run: |\n          python -m pytest --verbose --log-file=test.log --durations=25 --cov=lenskit-funksvd/lenskit lenskit-funksvd/tests\n      - name: 📐 Coverage results\n        run: |\n          coverage xml\n          coverage report\n      - name: 📤 Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-mindep-funksvd\n          path: |\n            test*.log\n            coverage.xml\n  implicit:\n    name: Implicit bridge tests on Python ${{matrix.python}}\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash -el {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python:\n          - '3.10'\n          - '3.11'\n          - '3.12'\n    steps:\n      - name: 🛒 Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 👢 Generate Conda environment file\n        run: |\n          pipx run ./utils/conda-tool.py --env -o ci-environment.yml -e all requirements-test.txt lenskit/pyproject.toml lenskit-implicit/pyproject.toml\n      - id: setup\n        name: 📦 Set up Conda environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci-environment.yml\n          environment-name: lkpy\n          cache-environment: true\n          init-shell: bash\n      - name: 🍱 Install LensKit packages\n        run: |\n          pip install --no-deps -e lenskit -e lenskit-implicit\n      - name: 🔍 Inspect environment\n        run: |\n          python -m lenskit.util.envcheck\n      - name: 🏃🏻‍➡️ Test LKPY\n        run: |\n          python -m pytest --verbose --log-file=test.log --durations=25 --cov=lenskit-implicit/lenskit lenskit-implicit/tests\n      - name: 📐 Coverage results\n        run: |\n          coverage xml\n          coverage report\n      - name: 📤 Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-implicit-py${{matrix.python}}\n          path: |\n            test*.log\n            coverage.xml\n  implicit-mindep:\n    name: Minimal dependency tests for Implicit\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - name: 🛒 Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 🐍 Set up Python\n        id: install-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: pip\n          cache-dependency-path: |\n            requirements*.txt\n            */pyproject.toml\n      - name: 🕶️ Set up uv\n        run: |\n          pip install -U 'uv>=0.1.15'\n      - name: 📦 Set up Python dependencies\n        id: install-deps\n        run: |\n          uv pip install --python $PYTHON -r requirements-test.txt -e lenskit -e lenskit-implicit --resolution=lowest-direct\n        shell: bash\n        env:\n          PYTHON: ${{steps.install-python.outputs.python-path}}\n          UV_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu\n          UV_INDEX_STRATEGY: unsafe-first-match\n      - name: 🔍 Inspect environment\n        run: |\n          python -m lenskit.util.envcheck\n      - name: 🏃🏻‍➡️ Test LKPY\n        run: |\n          python -m pytest --verbose --log-file=test.log --durations=25 --cov=lenskit-implicit/lenskit lenskit-implicit/tests\n      - name: 📐 Coverage results\n        run: |\n          coverage xml\n          coverage report\n      - name: 📤 Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-mindep-implicit\n          path: |\n            test*.log\n            coverage.xml\n  hpf:\n    name: HPF bridge tests on Python ${{matrix.python}}\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        python:\n          - '3.10'\n          - '3.11'\n          - '3.12'\n    steps:\n      - name: 🛒 Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 🐍 Set up Python\n        id: install-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python}}\n          cache: pip\n          cache-dependency-path: |\n            requirements*.txt\n            */pyproject.toml\n      - name: 🕶️ Set up uv\n        run: |\n          pip install -U 'uv>=0.1.15'\n      - name: 📦 Set up Python dependencies\n        id: install-deps\n        run: |\n          uv pip install --python $PYTHON -r requirements-test.txt -e lenskit -e lenskit-hpf\n        shell: bash\n        env:\n          PYTHON: ${{steps.install-python.outputs.python-path}}\n          UV_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu\n          UV_INDEX_STRATEGY: unsafe-first-match\n      - name: 🔍 Inspect environment\n        run: |\n          python -m lenskit.util.envcheck\n      - name: 🏃🏻‍➡️ Test LKPY\n        run: |\n          python -m pytest --verbose --log-file=test.log --durations=25 --cov=lenskit-hpf/lenskit lenskit-hpf/tests\n      - name: 📐 Coverage results\n        run: |\n          coverage xml\n          coverage report\n      - name: 📤 Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-hpf-py${{matrix.python}}\n          path: |\n            test*.log\n            coverage.xml\n  eval-tests:\n    name: Evaluation-based tests\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -el {0}\n    steps:\n      - name: 🛒 Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 👢 Generate Conda environment file\n        run: |\n          pipx run ./utils/conda-tool.py --env -o ci-environment.yml -e all requirements-test.txt lenskit/pyproject.toml lenskit-funksvd/pyproject.toml lenskit-implicit/pyproject.toml\n      - id: setup\n        name: 📦 Set up Conda environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci-environment.yml\n          environment-name: lkpy\n          cache-environment: true\n          init-shell: bash\n      - name: 🍱 Install LensKit packages\n        run: |\n          pip install --no-deps -e lenskit -e lenskit-funksvd -e lenskit-implicit\n      - name: Cache ML data\n        uses: actions/cache@v4\n        with:\n          path: |\n            data\n            !data/*.zip\n          key: test-mldata-000-2ee919d5c0eef34d5a4f40bcf0480c1bf0310417db6921e3a2575c48991f379c2f4ad179f8514390133795614a96fa5b4ece55906c68a90af07c09670b2c3c5b\n      - name: Download ML data\n        run: |\n          python -m lenskit.datasets.fetch ml-100k ml-20m\n      - name: Run Eval Tests\n        run: |\n          python -m pytest --cov=lenskit/lenskit --cov=lenskit-funksvd/lenskit --cov=lenskit-implicit/lenskit -m 'eval or realdata' --log-file test-eval.log */tests\n      - name: 📐 Coverage results\n        run: |\n          coverage xml\n          coverage report\n      - name: 📤 Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-eval-tests\n          path: |\n            test*.log\n            coverage.xml\n  doc-tests:\n    name: Demos, examples, and docs\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -el {0}\n    steps:\n      - name: 🛒 Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 👢 Generate Conda environment file\n        run: |\n          pipx run ./utils/conda-tool.py --env -o ci-environment.yml -e all requirements-test.txt requirements-demo.txt lenskit/pyproject.toml lenskit-funksvd/pyproject.toml lenskit-implicit/pyproject.toml\n      - id: setup\n        name: 📦 Set up Conda environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci-environment.yml\n          environment-name: lkpy\n          cache-environment: true\n          init-shell: bash\n      - name: 🍱 Install LensKit packages\n        run: |\n          pip install --no-deps -e lenskit -e lenskit-funksvd -e lenskit-implicit\n      - name: Cache ML data\n        uses: actions/cache@v4\n        with:\n          path: |\n            data\n            !data/*.zip\n          key: test-mldata-000-cd26f1c44a6962b0936346b346a9b418a3ed04b01a2892269fccd24a6387e943dba6d5e64ab2f8feb1823475601d65c2e6ebbeeeca0c2c210f0d37c00aabf2e9\n      - name: Download ML data\n        run: |\n          python -m lenskit.datasets.fetch ml-100k ml-1m ml-10m ml-20m\n      - name: 📕 Validate documentation examples\n        run: |\n          python -m pytest --cov=lenskit/lenskit --cov=lenskit-funksvd/lenskit --cov=lenskit-implicit/lenskit --nbval-lax --log-file test-docs.log docs */lenskit\n      - name: 📐 Coverage results\n        run: |\n          coverage xml\n          coverage report\n      - name: 📤 Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-examples\n          path: |\n            test*.log\n            coverage.xml\n  results:\n    name: Test suite results\n    runs-on: ubuntu-latest\n    needs:\n      - conda\n      - vanilla\n      - nojit\n      - mindep\n      - funksvd\n      - funksvd-mindep\n      - implicit\n      - implicit-mindep\n      - hpf\n      - eval-tests\n      - doc-tests\n    steps:\n      - name: 🛒 Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 📥 Download test artifacts\n        uses: actions/download-artifact@v4\n        with:\n          pattern: test-*\n          path: test-logs\n      - name: 📋 List log files\n        run: ls -lR test-logs\n      - name: ✅ Upload coverage\n        uses: codecov/codecov-action@v3\n        with:\n          directory: test-logs/\n        env:\n          CODECOV_TOKEN: 5cdb6ef4-e80b-44ce-b88d-1402e4dfb781\n", "state": "active", "repository": "lenskit/lkpy"}
{"mined_at": "2024-07-15T13:35:28.425474", "created_at": "2023-08-20T15:44:52+02:00", "updated_at": "2023-08-20T15:47:35+02:00", "name": "black", "path": ".github/workflows/black.yml", "contents": null, "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:29.567662", "created_at": "2023-08-20T10:30:17+02:00", "updated_at": "2024-04-16T09:00:47+02:00", "name": "LNbits CI", "path": ".github/workflows/ci.yml", "contents": "name: LNbits CI\non:\n  push:\n    branches:\n      - main\n      - dev\n  pull_request:\n\n\njobs:\n\n  lint:\n    uses: ./.github/workflows/lint.yml\n\n  test-api:\n    needs: [ lint ]\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n        db-url: [\"\", \"postgres://lnbits:lnbits@0.0.0.0:5432/lnbits\"]\n    uses: ./.github/workflows/tests.yml\n    with:\n      custom-pytest: \"poetry run pytest tests/api\"\n      python-version: ${{ matrix.python-version }}\n      db-url: ${{ matrix.db-url }}\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  test-wallets:\n    needs: [ lint ]\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n        db-url: [\"\", \"postgres://lnbits:lnbits@0.0.0.0:5432/lnbits\"]\n    uses: ./.github/workflows/tests.yml\n    with:\n      custom-pytest: \"poetry run pytest tests/wallets\"\n      python-version: ${{ matrix.python-version }}\n      db-url: ${{ matrix.db-url }}\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  test-unit:\n    needs: [ lint ]\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n        db-url: [\"\", \"postgres://lnbits:lnbits@0.0.0.0:5432/lnbits\"]\n    uses: ./.github/workflows/tests.yml\n    with:\n      custom-pytest: \"poetry run pytest tests/unit\"\n      python-version: ${{ matrix.python-version }}\n      db-url: ${{ matrix.db-url }}\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  migration:\n    needs: [ lint ]\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n    uses: ./.github/workflows/migration.yml\n    with:\n      python-version: ${{ matrix.python-version }}\n\n  openapi:\n    needs: [ lint ]\n    uses: ./.github/workflows/make.yml\n    with:\n      make: openapi\n\n  regtest:\n    needs: [ lint ]\n    uses: ./.github/workflows/regtest.yml\n    strategy:\n      matrix:\n        python-version: [\"3.9\"]\n        backend-wallet-class: [\"LndRestWallet\", \"LndWallet\", \"CoreLightningWallet\", \"CoreLightningRestWallet\", \"LNbitsWallet\", \"EclairWallet\"]\n    with:\n      custom-pytest: \"poetry run pytest tests/regtest\"\n      python-version: ${{ matrix.python-version }}\n      backend-wallet-class: ${{ matrix.backend-wallet-class }}\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  jmeter:\n    needs: [ lint ]\n    strategy:\n      matrix:\n        python-version: [\"3.9\"]\n        poetry-version: [\"1.5.1\"]\n    uses: ./.github/workflows/jmeter.yml\n    with:\n      python-version: ${{ matrix.python-version }}\n      poetry-version: ${{ matrix.poetry-version }}\n", "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:30.695462", "created_at": "2020-07-06T18:51:03+02:00", "updated_at": "2022-08-09T11:05:45+02:00", "name": "codeql", "path": ".github/workflows/codeql.yml", "contents": "name: codeql\n\non:\n  push:\n    branches: [main, dev]\n  pull_request:\n    branches: [main, dev]\n  schedule:\n    - cron: '0 12 * * 5'\n\njobs:\n  analyze:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - run: git checkout HEAD^2\n        if: ${{ github.event_name == 'pull_request' }}\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: javascript, python\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "disabled_manually", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:31.822321", "created_at": "2023-08-20T23:02:03+02:00", "updated_at": "2024-01-30T14:28:36+01:00", "name": "docker", "path": ".github/workflows/docker.yml", "contents": "name: docker\n\non:\n  workflow_dispatch:\n    inputs:\n      tag:\n        default: latest\n        type: string\n  workflow_call:\n    inputs:\n      tag:\n        default: latest\n        type: string\n    secrets:\n      DOCKER_USERNAME:\n        required: true\n      DOCKER_PASSWORD:\n        required: true\n\njobs:\n  push_to_dockerhub:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Cache Docker layers\n        uses: actions/cache@v4\n        id: cache\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n            context: .\n            push: true\n            tags: ${{ secrets.DOCKER_USERNAME }}/lnbits:${{ inputs.tag }}\n            platforms: linux/amd64,linux/arm64\n            cache-from: type=local,src=/tmp/.buildx-cache\n            cache-to: type=local,dest=/tmp/.buildx-cache\n", "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:32.810572", "created_at": "2023-01-22T11:12:32+01:00", "updated_at": "2023-08-23T08:33:47+02:00", "name": "flake8", "path": ".github/workflows/flake8.yml", "contents": null, "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:33.833126", "created_at": "2020-09-03T23:02:21+02:00", "updated_at": "2023-08-23T08:33:47+02:00", "name": "formatting", "path": ".github/workflows/formatting.yml", "contents": null, "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:34.997027", "created_at": "2023-01-23T14:53:37+01:00", "updated_at": "2023-01-23T16:21:49+01:00", "name": "integration-tests", "path": ".github/workflows/integration-tests.yml", "contents": null, "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:36.120941", "created_at": "2023-08-24T12:36:42+02:00", "updated_at": "2023-11-28T10:39:24+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\non:\n  workflow_call:\n\njobs:\n\n  black:\n    uses: ./.github/workflows/make.yml\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n    with:\n      make: checkblack\n      python-version: ${{ matrix.python-version }}\n\n  ruff:\n    uses: ./.github/workflows/make.yml\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n    with:\n      make: checkruff\n      python-version: ${{ matrix.python-version }}\n\n  mypy:\n    uses: ./.github/workflows/make.yml\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n    with:\n      make: mypy\n      python-version: ${{ matrix.python-version }}\n\n  pyright:\n    uses: ./.github/workflows/make.yml\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n    with:\n      make: pyright\n      python-version: ${{ matrix.python-version }}\n      npm: true\n\n\n  prettier:\n    uses: ./.github/workflows/make.yml\n    with:\n      make: checkprettier\n      npm: true\n\n  bundle:\n    uses: ./.github/workflows/make.yml\n    with:\n      make: checkbundle\n      npm: true\n", "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:37.125008", "created_at": "2020-05-04T11:50:18+02:00", "updated_at": "2023-08-24T14:58:33+02:00", "name": "linter", "path": ".github/workflows/linting.yml", "contents": null, "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:38.168177", "created_at": "2023-08-24T12:36:42+02:00", "updated_at": "2024-04-16T11:43:55+02:00", "name": "make", "path": ".github/workflows/make.yml", "contents": "name: make\n\non:\n  workflow_call:\n    inputs:\n      make:\n        description: \"make command that is run\"\n        required: true\n        type: string\n      npm:\n        description: \"use npm install\"\n        default: false\n        type: boolean\n      python-version:\n        description: \"python version\"\n        type: string\n        default: \"3.10\"\n\njobs:\n  make:\n    name: ${{ inputs.make }} (${{ inputs.python-version }})\n    strategy:\n      matrix:\n        os-version: [\"ubuntu-latest\"]\n        node-version: [\"18.x\"]\n    runs-on: ${{ matrix.os-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: lnbits/lnbits/.github/actions/prepare@dev\n        with:\n          python-version: ${{ inputs.python-version }}\n          node-version: ${{ matrix.node-version }}\n          npm: ${{ inputs.npm }}\n      - run: make ${{ inputs.make }}\n", "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:39.193399", "created_at": "2024-04-05T08:35:52+02:00", "updated_at": "2024-04-05T08:35:52+02:00", "name": "migration", "path": ".github/workflows/migration.yml", "contents": "name: migration\n\non:\n  workflow_call:\n    inputs:\n      python-version:\n        description: \"python version\"\n        type: string\n        default: \"3.10\"\n\njobs:\n  make:\n    name: migration (${{ inputs.python-version }})\n    strategy:\n      matrix:\n        os-version: [\"ubuntu-latest\"]\n    runs-on: ${{ matrix.os-version }}\n    services:\n      postgres:\n        image: postgres:latest\n        env:\n          POSTGRES_USER: lnbits\n          POSTGRES_PASSWORD: lnbits\n          POSTGRES_DB: migration\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/prepare\n        with:\n          python-version: ${{ inputs.python-version }}\n      - run: make test-migration\n", "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:40.240657", "created_at": "2020-04-25T09:28:50+02:00", "updated_at": "2023-08-23T08:33:47+02:00", "name": "mypy", "path": ".github/workflows/mypy.yml", "contents": null, "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:41.267388", "created_at": "2023-10-10T18:13:45+02:00", "updated_at": "2024-03-28T09:53:17+01:00", "name": "LNbits CI / nix", "path": ".github/workflows/nix.yml", "contents": "name: LNbits CI / nix\n\n# - run   : on main, dev, nix and cachix branches when relevant files change\n# - cache : on main, dev and cachix branches when relevant files change\n\non:\n  push:\n    branches:\n      - main\n      - dev\n      - nix\n      - cachix\n    paths:\n      - 'flake.nix'\n      - 'flake.lock'\n      - 'pyproject.toml'\n      - 'poetry.lock'\n      - '.github/workflows/nix.yml'\n  pull_request:\n    paths:\n      - 'flake.nix'\n      - 'flake.lock'\n      - 'pyproject.toml'\n      - 'poetry.lock'\n\njobs:\n  nix:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: cachix/install-nix-action@v24\n        with:\n          nix_path: nixpkgs=channel:nixos-23.11\n      - uses: cachix/cachix-action@v13\n        if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/cachix'\n        with:\n          name: lnbits\n          authToken: \"${{ secrets.CACHIX_AUTH_TOKEN }}\"\n      - run: nix build -L\n      - run: cachix push lnbits ./result\n        if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/cachix'\n", "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:42.365859", "created_at": "2023-02-27T09:04:16+01:00", "updated_at": "2023-08-25T10:45:45+02:00", "name": "openapi", "path": ".github/workflows/openapi.yml", "contents": null, "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:43.362260", "created_at": "2023-01-21T13:44:55+01:00", "updated_at": "2023-08-23T08:33:47+02:00", "name": "pylint", "path": ".github/workflows/pylint.yml", "contents": null, "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:44.349158", "created_at": "2023-01-12T11:00:02+01:00", "updated_at": "2023-08-23T08:33:47+02:00", "name": "pyright", "path": ".github/workflows/pyright.yml", "contents": null, "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:45.393433", "created_at": "2022-07-15T10:48:39+02:00", "updated_at": "2023-08-20T16:13:00+02:00", "name": "regtest", "path": ".github/workflows/regtest.yml", "contents": "name: regtest\n\non:\n  workflow_call:\n    inputs:\n      custom-pytest:\n        description: \"Custom pytest arguments\"\n        required: true\n        type: string\n      python-version:\n        default: \"3.9\"\n        type: string\n      os-version:\n        default: \"ubuntu-latest\"\n        type: string\n      backend-wallet-class:\n        required: true\n        type: string\n    secrets:\n      CODECOV_TOKEN:\n        required: true\n\njobs:\n  regtest:\n    runs-on: ${{ inputs.os-version }}\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: docker build\n        if: ${{ inputs.backend-wallet-class == 'LNbitsWallet' }}\n        run: |\n          docker build -t lnbits/lnbits .\n\n      - name: Setup Regtest\n        run: |\n          git clone https://github.com/lnbits/legend-regtest-enviroment.git docker\n          cd docker\n          chmod +x ./tests\n          ./tests\n          sudo chmod -R a+rwx .\n\n      - uses: ./.github/actions/prepare\n        with:\n          python-version: ${{ inputs.python-version }}\n\n      - name: Run pytest\n        uses: pavelzw/pytest-action@v2\n        env:\n          LNBITS_DATABASE_URL: ${{ inputs.db-url }}\n          LNBITS_BACKEND_WALLET_CLASS: ${{ inputs.backend-wallet-class }}\n          LND_REST_ENDPOINT: https://localhost:8081/\n          LND_REST_CERT: ./docker/data/lnd-3/tls.cert\n          LND_REST_MACAROON: ./docker/data/lnd-3/data/chain/bitcoin/regtest/admin.macaroon\n          LND_GRPC_ENDPOINT: localhost\n          LND_GRPC_PORT: 10009\n          LND_GRPC_CERT: docker/data/lnd-3/tls.cert\n          LND_GRPC_MACAROON: docker/data/lnd-3/data/chain/bitcoin/regtest/admin.macaroon\n          CORELIGHTNING_RPC: ./docker/data/clightning-1/regtest/lightning-rpc\n          CORELIGHTNING_REST_URL: https://localhost:3001\n          CORELIGHTNING_REST_MACAROON: ./docker/data/clightning-2-rest/access.macaroon\n          CORELIGHTNING_REST_CERT: ./docker/data/clightning-2-rest/certificate.pem\n          LNBITS_ENDPOINT: http://localhost:5001\n          LNBITS_KEY: \"d08a3313322a4514af75d488bcc27eee\"\n          ECLAIR_URL: http://127.0.0.1:8082\n          ECLAIR_PASS: lnbits\n          PYTHONUNBUFFERED: 1\n          DEBUG: true\n        with:\n          verbose: true\n          job-summary: true\n          emoji: false\n          click-to-expand: true\n          custom-pytest: ${{ inputs.custom-pytest }}\n          report-title: \"regtest (${{ inputs.python-version }}, ${{ inputs.backend-wallet-class }}\"\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          token: ${{ secrets.CODECOV_TOKEN }}\n          verbose: true\n\n      - name: docker lnbits logs\n        if: ${{ inputs.backend-wallet-class == 'LNbitsWallet' }}\n        run: |\n          docker logs lnbits-lnbits-1\n", "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:46.459051", "created_at": "2024-01-30T14:28:36+01:00", "updated_at": "2024-01-30T14:28:36+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  push:\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n      - \"[0-9]+.[0-9]+.[0-9]+\"\n\npermissions:\n  contents: write\n\njobs:\n\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Create github release\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          tag: ${{ github.ref_name }}\n        run: |\n          gh release create \"$tag\" --generate-notes --draft\n\n  docker:\n    needs: [ release ]\n    uses: ./.github/workflows/docker.yml\n    with:\n      tag: ${{ github.ref_name }}\n    secrets:\n      DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n      DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n\n  docker-latest:\n    needs: [ release ]\n    uses: ./.github/workflows/docker.yml\n    with:\n      tag: latest\n    secrets:\n      DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n      DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n\n  pypi:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build and publish to pypi\n        uses: JRubics/poetry-publish@v1.15\n        with:\n          pypi_token: ${{ secrets.PYPI_API_KEY }}\n", "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:47.475328", "created_at": "2023-08-20T16:00:40+02:00", "updated_at": "2023-08-20T16:00:40+02:00", "name": "ruff", "path": ".github/workflows/ruff.yml", "contents": null, "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:48.668212", "created_at": "2020-04-28T23:10:06+02:00", "updated_at": "2022-07-06T14:01:38+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  workflow_call:\n    inputs:\n      custom-pytest:\n        description: \"Custom pytest arguments\"\n        required: true\n        type: string\n      python-version:\n        default: \"3.9\"\n        type: string\n      os-version:\n        default: \"ubuntu-latest\"\n        type: string\n      db-url:\n        default: \"\"\n        type: string\n      db-name:\n        default: \"lnbits\"\n        type: string\n    secrets:\n      CODECOV_TOKEN:\n        required: true\n\njobs:\n  tests:\n    runs-on: ${{ inputs.os-version }}\n\n    services:\n      postgres:\n        image: postgres:latest\n        env:\n          POSTGRES_USER: lnbits\n          POSTGRES_PASSWORD: lnbits\n          POSTGRES_DB: ${{ inputs.db-name }}\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: ./.github/actions/prepare\n        with:\n          python-version: ${{ inputs.python-version }}\n\n      - name: Run pytest\n        uses: pavelzw/pytest-action@v2\n        env:\n          LNBITS_DATABASE_URL: ${{ inputs.db-url }}\n          LNBITS_BACKEND_WALLET_CLASS: FakeWallet\n          PYTHONUNBUFFERED: 1\n          DEBUG: true\n        with:\n          verbose: true\n          job-summary: true\n          emoji: false\n          click-to-expand: true\n          custom-pytest: ${{ inputs.custom-pytest }}\n          report-title: \"test (${{ inputs.python-version }}, ${{ inputs.db-url }})\"\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          token: ${{ secrets.CODECOV_TOKEN }}\n          verbose: false\n", "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:49.740401", "created_at": "2022-07-29T12:34:51+02:00", "updated_at": "2022-07-29T12:34:51+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "lnbits/lnbits"}
{"mined_at": "2024-07-15T13:35:51.786603", "created_at": "2023-10-18T19:59:40+02:00", "updated_at": "2023-10-18T19:59:40+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  workflow_dispatch: {}\n  workflow_call: {}\n\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: |\n          python -m build -sw\n          ls -lh dist/\n      - name: Upload artifact\n        uses: actions/upload-artifact@v2\n        with:\n          name: dist\n          path: dist/", "state": "active", "repository": "openvax/mhcflurry"}
{"mined_at": "2024-07-15T13:35:52.940514", "created_at": "2023-10-16T18:12:52+02:00", "updated_at": "2023-10-17T16:21:05+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\"]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -el {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y pandoc\n      - name: Build Conda environment\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          activate-environment: test-environment\n          environment-file: test-environment.yml\n          python-version: ${{ matrix.python-version }}\n          auto-activate-base: false\n\n      - name: Install python dependencies\n        run: |\n          pip install --upgrade pip\n          pip install flake8 nose-py3 pytest pytest-cov coveralls\n          pip install -r requirements.txt\n          pip install -r docs/requirements.txt\n          pip install .\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n      - name: Download data and models\n        run: |\n          mhcflurry-downloads fetch data_curated data_mass_spec_annotated models_class1 models_class1_presentation models_class1_processing models_class1_pan allele_sequences\n\n      - name: Test with pytest\n        run: |\n          pytest --cov=mhcflurry/ --cov-report=term-missing ./test\n\n      - name: Publish coverage to Coveralls\n        uses: coverallsapp/github-action@v2.2.3\n", "state": "active", "repository": "openvax/mhcflurry"}
{"mined_at": "2024-07-15T13:35:54.041345", "created_at": "2023-10-18T17:55:32+02:00", "updated_at": "2023-10-18T20:06:15+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "# Based on https://docs.pypi.org/trusted-publishers/using-a-publisher/\n\nname: release\n\non:\n  release:\n    types: [published]\n\njobs:\n  build:\n    uses: ./.github/workflows/build.yml\n  pypi-publish:\n    name: upload release to PyPI\n    needs: build\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n      - name: Download build artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: dist\n          path: dist\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n", "state": "active", "repository": "openvax/mhcflurry"}
{"mined_at": "2024-07-15T13:35:55.168397", "created_at": "2023-10-18T17:55:31+02:00", "updated_at": "2023-10-18T20:06:15+02:00", "name": "release_testpypi", "path": ".github/workflows/release_testpypi.yml", "contents": "# Based on https://docs.pypi.org/trusted-publishers/using-a-publisher/\n\nname: release_testpypi\n\non:\n  workflow_dispatch: {}\n\njobs:\n  build:\n    uses: ./.github/workflows/build.yml\n  publish-to-testpypi:\n    name: upload release to TestPyPI\n    needs: build\n    runs-on: ubuntu-latest\n    environment: release_testpypi\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n      - name: Download build artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: dist\n          path: dist\n      - name: Publish distribution to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "openvax/mhcflurry"}
{"mined_at": "2024-07-15T13:35:57.318658", "created_at": "2021-02-10T17:56:07+01:00", "updated_at": "2022-12-19T17:34:44+01:00", "name": "Tests", "path": ".github/workflows/main.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  unittest:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', '3.11']\n    steps:\n    - name: Checkout PyAutoConf\n      uses: actions/checkout@v2\n      with:\n        repository: rhayes777/PyAutoConf\n        path: PyAutoConf\n    - name: Checkout PyAutoFit\n      uses: actions/checkout@v2\n      with:\n        repository: rhayes777/PyAutoFit\n        path: PyAutoFit\n    - name: Checkout PyAutoArray\n      uses: actions/checkout@v2\n      with:\n        repository: Jammy2211/PyAutoArray\n        path: PyAutoArray\n    - name: Checkout PyAutoGalaxy\n      uses: actions/checkout@v2\n      with:\n        repository: Jammy2211/PyAutoGalaxy\n        path: PyAutoGalaxy\n    - name: Checkout PyAutoLens\n      uses: actions/checkout@v2\n      with:\n        path: PyAutoLens\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Extract branch name\n      shell: bash\n      run: |\n        cd PyAutoLens\n        echo \"##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})\"\n      id: extract_branch\n    - name: Change to same branch if exists in deps\n      shell: bash\n      run: |\n        export PACKAGES=(\"PyAutoConf\" \"PyAutoArray\" \"PyAutoFit\" \"PyAutoGalaxy\")\n        export BRANCH=\"${{ steps.extract_branch.outputs.branch }}\"\n        for PACKAGE in ${PACKAGES[@]}; do\n          pushd $PACKAGE\n          export existed_in_remote=$(git ls-remote --heads origin ${BRANCH})\n\n          if [[ -z ${existed_in_remote} ]]; then\n            echo \"Branch $BRANCH did not exist in $PACKAGE\"\n          else\n            echo \"Branch $BRANCH did exist in $PACKAGE\"\n            git fetch\n            git checkout $BRANCH\n          fi\n          popd\n        done\n    - name: Install dependencies\n      run: |\n        pip3 install --upgrade pip\n        pip3 install setuptools\n        pip3 install wheel\n        pip3 install pytest coverage pytest-cov\n        pip3 install -r PyAutoConf/requirements.txt\n        pip3 install -r PyAutoFit/requirements.txt\n        pip3 install -r PyAutoArray/requirements.txt\n        pip3 install -r PyAutoArray/optional_requirements.txt\n        pip3 install -r PyAutoGalaxy/requirements.txt\n        pip3 install -r PyAutoGalaxy/optional_requirements.txt\n        pip3 install -r PyAutoLens/requirements.txt\n        pip3 install -r PyAutoLens/optional_requirements.txt\n    - name: Run tests\n      run: |\n        export ROOT_DIR=`pwd`\n        export PYTHONPATH=$PYTHONPATH:$ROOT_DIR/PyAutoConf\n        export PYTHONPATH=$PYTHONPATH:$ROOT_DIR/PyAutoFit\n        export PYTHONPATH=$PYTHONPATH:$ROOT_DIR/PyAutoArray\n        export PYTHONPATH=$PYTHONPATH:$ROOT_DIR/PyAutoGalaxy\n        export PYTHONPATH=$PYTHONPATH:$ROOT_DIR/PyAutoLens\n        pushd PyAutoLens\n        pytest --cov autolens --cov-report xml:coverage.xml\n    - name: Slack send\n      if: ${{ failure() }}\n      id: slack\n      uses: slackapi/slack-github-action@v1.21.0\n      env:\n        SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n      with:\n        channel-id: C03S98FEDK2\n        payload: |\n                {\n                  \"text\": \"${{ github.repository }}/${{ github.ref_name }} (Python ${{ matrix.python-version }}) build result: ${{ job.status }}\\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n                }\n", "state": "active", "repository": "jammy2211/pyautolens"}
{"mined_at": "2024-07-15T13:35:59.456792", "created_at": "2022-08-30T02:06:00+02:00", "updated_at": "2022-08-30T18:35:28+02:00", "name": "Build and Deploy Docs", "path": ".github/workflows/build_docs.yml", "contents": "name: Build and Deploy Docs\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  deploy_docs:\n    runs-on: ubuntu-latest\n        \n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # needed for tag/version\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install package\n        shell: bash -l {0}\n        run: |\n          python -m pip install .[docs]\n\n      - name: Build Documentation\n        working-directory: ./docs\n        run: |\n          make html\n\n      - name: Deploy on gh-pages \n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: docs/build/html \n", "state": "active", "repository": "molssi-bse/basis_set_exchange"}
{"mined_at": "2024-07-15T13:36:00.527811", "created_at": "2022-12-06T23:41:16+01:00", "updated_at": "2022-12-15T16:32:51+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"20 2 * * 4\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "molssi-bse/basis_set_exchange"}
{"mined_at": "2024-07-15T13:36:01.666921", "created_at": "2022-08-30T02:04:28+02:00", "updated_at": "2022-08-30T18:35:28+02:00", "name": "Continuous Integration", "path": ".github/workflows/tests.yml", "contents": "name: Continuous Integration\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: '0 0 * * *'\n\nenv:\n  BSE_API_URL: \"http://basissetexchange.org\"\n\njobs:\n  test:\n    name: \"Core Tests\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Clone the repository\n        uses: actions/checkout@v4\n\n      - name: Install package\n        run: |\n          pip install .[docs,tests,curate]\n          mkdir deps # For QCSchema\n          mkdir test_wdir # Working directory to run tests from\n                          # (testing installed BSE, not the source tree)\n\n      - name: Clone QCSchema HEAD\n        uses: actions/checkout@v4\n        with:\n          repository: molssi/QCSchema\n          path: deps/QCSchema\n\n      - name: Install QCSchema HEAD\n        run: |\n          pip install deps/QCSchema/\n\n      - name: Run tests\n        working-directory: ./test_wdir # Move to an unrelated dir and test the installed package\n        shell: bash -l {0}\n        run: |\n          pytest --pyargs basis_set_exchange \n\n      - name: Test CLI\n        working-directory: ./test_wdir # Move to an unrelated dir and test the installed package\n        shell: bash -l {0}\n        run: |\n          bse get-basis 6-31g nwchem\n\n      - name: Run documentation tests\n        if: matrix.os == 'ubuntu-latest'\n        working-directory: ./docs\n        run: |\n          ln -s ../basis_set_exchange/tests/fakedata ${HOME}/my_data_dir\n          make doctest && make html\n", "state": "active", "repository": "molssi-bse/basis_set_exchange"}
{"mined_at": "2024-07-15T13:36:02.670807", "created_at": "2022-08-30T02:37:12+02:00", "updated_at": "2022-08-30T02:37:12+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "molssi-bse/basis_set_exchange"}
{"mined_at": "2024-07-15T13:36:04.793987", "created_at": "2022-01-21T20:21:11+01:00", "updated_at": "2022-01-27T22:31:03+01:00", "name": "pytest", "path": ".github/workflows/pytest.yml", "contents": "name: pytest\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      max-parallel: 5\n      # matrix:\n      #   python-version: [\"3.9\", \"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install Conda environment with Micromamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-file: environment.yml\n        cache-environment: true\n    - run: |\n        conda info\n        conda list\n        conda config --show-sources\n        conda config --show\n        printenv | sort\n    - name: install powergenome\n      run: |\n        pip install -e .\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      env:\n        RESOURCE_GROUPS: ${{ secrets.RESOURCE_GROUPS }}\n        PUDL_DB: ${{ secrets.PUDL_DB }}\n        PG_DB: ${{ secrets.PG_DB }}\n      run: |\n        pip install pytest-cov\n        pytest --cov=powergenome tests/ --cov-report=xml\n    - name: Upload test coverage report to CodeCov\n      uses: codecov/codecov-action@v4\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "powergenome/powergenome"}
{"mined_at": "2024-07-15T13:36:06.986948", "created_at": "2020-12-22T21:52:46+01:00", "updated_at": "2020-12-22T21:52:46+01:00", "name": "Python quality", "path": ".github/workflows/python-quality.yml", "contents": "name: Python quality\n\non:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - \"js/**\"\n      - \"api-inference-community/**\"\n  pull_request:\n    types: [assigned, opened, synchronize, reopened]\n    paths-ignore:\n      - \"js/**\"\n      - \"api-inference-community/**\"\n\njobs:\n  check_code_quality:\n    runs-on: ubuntu-latest\n    env:\n      UV_HTTP_TIMEOUT: 600 # max 10min to install deps\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      # Setup venv\n      # TODO: revisit when https://github.com/astral-sh/uv/issues/1526 is addressed.\n      - name: Setup venv + uv\n        run: |\n          pip install --upgrade uv\n          uv venv\n\n      - name: Install dependencies\n        run: uv pip install \"huggingface_hub[dev] @ .\"\n      - run: .venv/bin/ruff check tests src contrib # linter\n      - run: .venv/bin/ruff format --check tests src contrib # formatter\n      - run: .venv/bin/python utils/check_contrib_list.py\n      - run: .venv/bin/python utils/check_inference_input_params.py\n      - run: .venv/bin/python utils/check_static_imports.py\n      - run: .venv/bin/python utils/generate_async_inference_client.py\n      - run: .venv/bin/python utils/generate_inference_types.py\n\n      # Run type checking at least on huggingface_hub root file to check all modules\n      # that can be lazy-loaded actually exist.\n      - run: .venv/bin/mypy src/huggingface_hub/__init__.py --follow-imports=silent --show-traceback\n\n      # Run mypy on full package\n      - run: .venv/bin/mypy src\n", "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:08.071089", "created_at": "2020-12-22T21:52:46+01:00", "updated_at": "2021-07-01T15:22:20+02:00", "name": "Python tests", "path": ".github/workflows/python-tests.yml", "contents": "name: Python tests\n\non:\n  push:\n    branches:\n      - main\n      - ci_*\n    paths-ignore:\n      - \"docs/**\"\n  pull_request:\n    types: [assigned, opened, synchronize, reopened]\n    paths-ignore:\n      - \"docs/**\"\n\njobs:\n  build-ubuntu:\n    runs-on: ubuntu-latest\n    env:\n      UV_HTTP_TIMEOUT: 600 # max 10min to install deps\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.11\"]\n        test_name:\n          [\n            \"Repository only\",\n            \"Everything else\",\n            \"torch\",\n          ]\n        include:\n          - python-version: \"3.11\" # LFS not ran on 3.8\n            test_name: \"lfs\"\n          - python-version: \"3.8\"\n            test_name: \"fastai\"  # fastai not supported on 3.11 -> test it on 3.10\n          - python-version: \"3.10\"\n            test_name: \"fastai\"\n          - python-version: \"3.8\"\n            test_name: \"tensorflow\" # Tensorflow not supported on 3.11 -> test it on 3.10\n          - python-version: \"3.10\"\n            test_name: \"tensorflow\"\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Setup venv\n      # TODO: revisit when https://github.com/astral-sh/uv/issues/1526 is addressed.\n      - name: Setup venv + uv\n        run: |\n          pip install --upgrade uv\n          uv venv\n\n      # Install dependencies\n      - name: Install dependencies\n        run: |\n          uv pip install \"huggingface_hub[testing] @ .\"\n\n          case \"${{ matrix.test_name }}\" in\n\n            \"Repository only\" | \"Everything else\")\n              sudo apt update\n              sudo apt install -y libsndfile1-dev\n              ;;\n\n            lfs)\n              git config --global user.email \"ci@dummy.com\"\n              git config --global user.name \"ci\"\n              ;;\n\n            fastai | torch)\n              uv pip install \"huggingface_hub[${{ matrix.test_name }}] @ .\"\n              ;;\n\n            tensorflow)\n              sudo apt update\n              sudo apt install -y graphviz\n              uv pip install \"huggingface_hub[tensorflow-testing] @ .\"\n              ;;\n\n          esac\n\n      # Run tests\n      - name: Run tests\n        working-directory: ./src # For code coverage to work\n        run: |\n          source ../.venv/bin/activate\n          PYTEST=\"python -m pytest --cov=./huggingface_hub --cov-report=xml:../coverage.xml --vcr-record=none --reruns 5 --reruns-delay 1 --only-rerun '(OSError|Timeout|HTTPError.*502|HTTPError.*504||not less than or equal to 0.01)'\"\n\n          case \"${{ matrix.test_name }}\" in\n\n            \"Repository only\")\n              # Run repo tests concurrently\n              PYTEST=\"$PYTEST ../tests -k 'TestRepository' -n 4\"\n              echo $PYTEST\n              eval $PYTEST\n            ;;\n\n            \"Everything else\")\n              PYTEST=\"$PYTEST ../tests -k 'not TestRepository' -n 4\"\n              echo $PYTEST\n              eval $PYTEST\n            ;;\n\n            lfs)\n              eval \"RUN_GIT_LFS_TESTS=1 $PYTEST ../tests -k 'HfLargefilesTest'\"\n            ;;\n\n\n            fastai)\n              eval \"$PYTEST ../tests/test_fastai*\"\n            ;;\n\n            tensorflow)\n              # Cannot be on same line since '_tf*' checks if tensorflow is NOT imported by default\n              eval \"$PYTEST ../tests/test_tf*\"\n              eval \"$PYTEST ../tests/test_keras*\"\n              eval \"$PYTEST ../tests/test_serialization.py\"\n            ;;\n\n            torch)\n            eval \"$PYTEST ../tests/test_hub_mixin*\"\n            eval \"$PYTEST ../tests/test_serialization.py\"\n            ;;\n\n          esac\n\n      # Upload code coverage\n      - name: Upload coverage reports to Codecov with GitHub Action\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage.xml\n          verbose: true\n\n  build-windows:\n    # (almost) Duplicate config compared to `build-ubuntu` but running on Windows.\n    # Please make sure to keep it updated as well.\n    # Lighter version of the tests with only 1 test suite running on Python3.8.\n    runs-on: windows-latest\n    env:\n      DISABLE_SYMLINKS_IN_WINDOWS_TESTS: 1\n      UV_HTTP_TIMEOUT: 600 # max 10min to install deps\n      GIT_CLONE_PROTECTION_ACTIVE: false # See https://github.com/git-lfs/git-lfs/issues/5754\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\"]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Setup venv\n      # TODO: revisit when https://github.com/astral-sh/uv/issues/1526 is addressed.\n      - name: Setup venv + uv\n        run: |\n          pip install --upgrade uv\n          uv venv\n\n      # Install dependencies\n      - name: Install dependencies\n        run: uv pip install \"huggingface_hub[testing] @ .\"\n\n      # Run tests\n      - name: Run tests\n        working-directory: ./src # For code coverage to work\n        run: |\n          ..\\.venv\\Scripts\\activate\n          python -m pytest -n 4 --cov=./huggingface_hub --cov-report=xml:../coverage.xml --vcr-record=none --reruns 5 --reruns-delay 1 --only-rerun '(OSError|Timeout|HTTPError.*502|HTTPError.*504|not less than or equal to 0.01)' ../tests\n\n      # Upload code coverage\n      - name: Upload coverage reports to Codecov with GitHub Action\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage.xml\n          verbose: true\n", "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:09.186502", "created_at": "2020-12-23T10:21:46+01:00", "updated_at": "2020-12-23T10:21:46+01:00", "name": "Python release", "path": ".github/workflows/python-release.yml", "contents": "name: Python release\n\non:\n  push:\n    tags:\n      - v*\n\nenv:\n  PYPI_TOKEN: ${{ secrets.PYPI_TOKEN_DIST }}\n\njobs:\n  python_release:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install setuptools wheel\n\n    - run: python setup.py sdist bdist_wheel\n\n    - run: |\n        pip install twine\n\n    - name: Upload to PyPi\n      run: |\n          twine upload dist/* -u __token__ -p \"$PYPI_TOKEN\"\n", "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:10.207331", "created_at": "2021-02-16T15:12:11+01:00", "updated_at": "2021-02-16T17:28:35+01:00", "name": "Release Conda", "path": ".github/workflows/release-conda.yml", "contents": "name: Release Conda\n\non:\n  push:\n    tags:\n      - v*\n    branches:\n      - conda_*\n\nenv:\n  ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}\n\njobs:\n  build_and_package:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v1\n\n      - name: Install miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          auto-activate-base: false\n          python-version: 3.8\n          activate-environment: \"build-hub\"\n\n      - name: Setup conda env\n        run: |\n          conda install -c defaults anaconda-client conda-build\n\n      - name: Extract version\n        run: echo \"HUB_VERSION=`python setup.py --version`\" >> $GITHUB_ENV\n\n      - name: Build conda packages\n        run: |\n          conda info\n          conda-build .github/conda\n\n      - name: Upload to Anaconda\n        run: |\n          anaconda upload `conda-build .github/conda --output` --force\n", "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:11.341873", "created_at": "2022-03-01T15:43:33+01:00", "updated_at": "2022-03-01T18:37:34+01:00", "name": ".github/workflows/reviewers.yml", "path": ".github/workflows/reviewers.yml", "contents": null, "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:12.479215", "created_at": "2022-03-18T14:45:36+01:00", "updated_at": "2022-03-31T12:13:54+02:00", "name": "Build PR Documentation", "path": ".github/workflows/build_pr_documentation.yaml", "contents": "name: Build PR Documentation\n\non:\n  pull_request\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main\n    with:\n      commit_sha: ${{ github.event.pull_request.head.sha }}\n      pr_number: ${{ github.event.number }}\n      package: huggingface_hub\n      languages: cn de fr en hi ko\n", "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:13.554275", "created_at": "2022-03-31T12:04:25+02:00", "updated_at": "2022-03-31T15:01:21+02:00", "name": "Build documentation", "path": ".github/workflows/build_documentation.yaml", "contents": "name: Build documentation\n\non:\n  push:\n    branches:\n      - main\n      - doc-builder*\n      - v*-release\n\njobs:\n   build:\n    uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main\n    with:\n      commit_sha: ${{ github.sha }}\n      package: huggingface_hub\n      languages: cn de fr en hi ko\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n", "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:14.624230", "created_at": "2022-11-21T18:26:34+01:00", "updated_at": "2022-11-28T16:55:28+01:00", "name": "Contrib tests", "path": ".github/workflows/contrib-tests.yml", "contents": "name: Contrib tests\n\non:\n  workflow_dispatch:\n  schedule:\n  - cron:  '0 0 * * 6' # Run once a week, Saturday midnight\n  push:\n    branches:\n      - ci_contrib_*\n  pull_request:\n    types: [assigned, opened, synchronize, reopened]\n    paths:\n      - contrib/**\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        contrib: [\n          \"sentence_transformers\",\n          \"spacy\",\n          \"timm\",\n        ]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      # Install pip\n      - name: Install pip\n        run: pip install --upgrade pip\n\n      # Install downstream library and its specific dependencies\n      - name: Install ${{ matrix.contrib }}\n        run: pip install -r contrib/${{ matrix.contrib }}/requirements.txt\n\n      # Install huggingface_hub from source code + testing extras\n      - name: Install `huggingface_hub`\n        run: |\n          pip uninstall -y huggingface_hub\n          pip install .[testing]\n\n      # Run tests\n      - name: Run tests\n        run: pytest contrib/${{ matrix.contrib }}\n", "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:15.739920", "created_at": "2022-12-12T09:33:37+01:00", "updated_at": "2022-12-12T16:34:22+01:00", "name": "Build and push Model Card and Dataset Card examples", "path": ".github/workflows/build_repocard_examples.yaml", "contents": "name: Build and push Model Card and Dataset Card examples\n\non:\n  push:\n    branches:\n      - main\n\nenv:\n  HF_TOKEN: ${{ secrets.HUGGINGFACE_PRODUCTION_USER_TOKEN }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.11\n\n      # Install dependencies\n      - name: Configure and install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install .\n          pip install Jinja2\n\n      # Push cards\n      - name: Push cards\n        run: python utils/push_repocard_examples.py\n", "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:16.735407", "created_at": "2023-04-12T09:00:08+02:00", "updated_at": "2023-04-12T09:00:08+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:17.803942", "created_at": "2023-06-09T11:23:58+02:00", "updated_at": "2023-12-04T12:12:19+01:00", "name": "Upload PR Documentation", "path": ".github/workflows/upload_pr_documentation.yaml", "contents": "name: Upload PR Documentation\n\non:\n  workflow_run:\n    workflows: [\"Build PR Documentation\"]\n    types:\n      - completed\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main\n    with:\n      package_name: huggingface_hub\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n      comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}\n", "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:18.840638", "created_at": "2024-01-15T12:26:53+01:00", "updated_at": "2024-01-15T12:26:53+01:00", "name": "Model and Dataset Card consistency reminder", "path": ".github/workflows/model_card_consistency_reminder.yml", "contents": "name: Model and Dataset Card consistency reminder\n\non:\n  pull_request:\n    paths:\n      - src/huggingface_hub/repocard.py\n      - src/huggingface_hub/templates/modelcard_template.md\n      - src/huggingface_hub/templates/datasetcard_template.md\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n    steps:\n      - name: maintain-comment\n        uses: actions-cool/maintain-one-comment@v3\n        with:\n          body: |\n            It looks like you've updated code related to model or dataset cards in this PR.\n\n            Some content is duplicated among the following files. Please make sure that everything stays consistent.\n              - [src/.../repocard.py](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/repocard.py)\n              - [src/.../datasetcard_template.md](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md)\n              - [src/.../modelcard_template.md](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md)\n              - [modelcard.md](https://github.com/huggingface/hub-docs/blob/main/modelcard.md) (`hub-docs` repo)\n              - [docs/hub/model-cards.md](https://github.com/huggingface/hub-docs/blob/main/docs/hub/model-cards.md) (`hub-docs` repo)\n              - [docs/hub/model-card-annotated.md](https://github.com/huggingface/hub-docs/blob/main/docs/hub/model-card-annotated.md) (`hub-docs` repo)\n              - [datasetcard.md](https://github.com/huggingface/hub-docs/blob/main/datasetcard.md) (`hub-docs` repo)\n              - [docs/hub/datasets-cards.md](https://github.com/huggingface/hub-docs/blob/main/docs/hub/datasets-cards.md) (`hub-docs` repo)\n          token: ${{ secrets.comment_bot_token }}\n          body-include: '<!-- Created by actions-cool/maintain-one-comment -->'\n", "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:19.925983", "created_at": "2024-03-21T17:48:59+01:00", "updated_at": "2024-03-21T17:49:43+01:00", "name": "Build PR Documentation Faster", "path": ".github/workflows/build_pr_documentation_faster.yaml", "contents": null, "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:21.018650", "created_at": "2024-06-10T09:52:04+02:00", "updated_at": "2024-06-10T10:01:06+02:00", "name": "Secret Leaks", "path": ".github/workflows/trufflehog.yml", "contents": "on:\n  push:\n\nname: Secret Leaks\n\njobs:\n  trufflehog:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Secret Scanning\n      uses: trufflesecurity/trufflehog@main\n", "state": "active", "repository": "huggingface/huggingface_hub"}
{"mined_at": "2024-07-15T13:36:24.848292", "created_at": "2021-08-13T19:00:21+02:00", "updated_at": "2021-08-15T22:22:20+02:00", "name": ".github/workflows/check.yml", "path": ".github/workflows/check.yml", "contents": "on:\n  push:\n    branches:\n      - main\n      - bugfix-release\n  pull_request:\n\njobs:\n  mypy:\n    timeout-minutes: 5\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # Mypy running on platform A can check for platform B, so it all runs on linux.\n        # Multiple parallel jobs are needed only to make this faster.\n        mypy-platform: [\"linux\", \"win32\", \"darwin\"]\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n        cache: pip\n    - run: pip install wheel\n    - run: pip install -r requirements-dev.txt\n    - run: |\n        time mypy --platform ${{ matrix.mypy-platform }} --python-version 3.9 porcupine\n        time mypy --platform ${{ matrix.mypy-platform }} --python-version 3.10 porcupine\n        time mypy --platform ${{ matrix.mypy-platform }} --python-version 3.11 porcupine\n\n  pytest-windows:\n    timeout-minutes: 10\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n    - run: pip install wheel\n    - run: pip install -r requirements-dev.txt\n    - name: Download tkdnd\n      run: |\n        python scripts/download-tkdnd.py\n        echo \"TCLLIBPATH=lib\" >> $env:GITHUB_ENV\n    - run: python -m pytest --durations=10\n\n  pytest-linux:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n    - run: pip install wheel\n    - run: pip install -r requirements-dev.txt\n    # Make sure that it doesn't crash with Noto Color Emoji installed\n    - run: sudo apt install --no-install-recommends fonts-noto-color-emoji tkdnd xvfb\n    - run: xvfb-run python -m pytest --durations=10\n\n  # Separate from other pytests because tkinter doesn't work on macos with actions/setup-python.\n  # It imports, but gives this error:    RuntimeError: tk.h version (8.6) doesn't match libtk.a version (8.5)\n  pytest-macos:\n    timeout-minutes: 15\n    # TODO: run tests on M1 macos when we no longer need tree-sitter-builds.\n    # This was never supported by tree-sitter-builds: https://github.com/Akuli/py-tree-sitter-builds/issues/11\n    runs-on: macos-13  # latest intel mac\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n    env:\n      # TODO: how to install tkdnd on mac? add instructions to README or make mac app that bundles it\n      TCLLIBPATH: ./lib\n      PYTHON: /usr/local/opt/python@${{ matrix.python-version }}/libexec/bin/python\n    steps:\n    - uses: actions/checkout@v4\n    - run: brew install python@${{ matrix.python-version }}\n    - run: brew install python-tk@${{ matrix.python-version }}\n    - run: $PYTHON --version\n    - run: $PYTHON -m pip install -r requirements-dev.txt\n    - run: $PYTHON scripts/download-tkdnd.py\n    - run: $PYTHON -m pytest --durations=10\n\n  flake8-tkinter:\n    timeout-minutes: 5\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n        cache: pip\n    # TODO: adding these to requirements-dev.txt breaks pip install\n    - run: pip install flake8=='7.*' flake8_tkinter==0.6.0\n    - run: python3 -m flake8 --select=TK $(git ls-files | grep -E '\\.(py|pyw)$')\n\n  markdown-links:\n    timeout-minutes: 5\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n        cache: pip\n    - run: pip install requests\n    - run: python3 scripts/check-markdown-links.py\n", "state": "active", "repository": "akuli/porcupine"}
{"mined_at": "2024-07-15T13:36:26.751044", "created_at": "2022-07-31T22:18:50+02:00", "updated_at": "2022-07-31T22:18:50+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "akuli/porcupine"}
{"mined_at": "2024-07-15T13:36:27.795920", "created_at": "2022-08-06T11:38:34+02:00", "updated_at": "2022-08-11T20:26:43+02:00", "name": ".github/workflows/release-builds.yml", "path": ".github/workflows/release-builds.yml", "contents": "on:\n  push:\n    tags:\n      - v*\n  pull_request:   # Build windows exe and docs, but not release anything\n\njobs:\n  windows-build:\n    runs-on: windows-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        # This should be the oldest python version we support, so it is\n        # backwards-compatible for older windows versions.\n        python-version: \"3.9\"  \n        cache: pip\n    - run: pip install wheel\n    - run: pip install -r requirements-dev.txt\n    - uses: egor-tensin/setup-clang@v1\n      with:\n        platform: x64\n    # -u makes print show in real time\n    - run: python -u scripts/build-exe-installer.py\n    - uses: actions/upload-artifact@v4\n      with:\n        name: windows-exe\n        path: build/PorcupineSetup_*.exe\n\n  changelog:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - run: |\n        # Extract second \"## blah\" separated part, excluding the \"## blah\" lines\n        # https://stackoverflow.com/a/20943815\n        awk '/^## / { part++ } (part == 1 && line++ != 0) { print }' CHANGELOG.md | tee changelog_part.md\n    - uses: actions/upload-artifact@v4\n      with:\n        name: changelog\n        path: changelog_part.md\n\n  release:\n    runs-on: ubuntu-latest\n    # https://stackoverflow.com/a/58478262\n    #needs: [windows-build, docs, changelog]\n    needs: [windows-build, changelog]\n    if: startsWith(github.ref, 'refs/tags/v')\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: windows-exe\n    - uses: actions/download-artifact@v4\n      with:\n        name: changelog\n    - id: get_version\n      uses: battila7/get-version-action@v2\n    - id: create_release\n      uses: actions/create-release@v1.1.4\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        tag_name: ${{ github.ref }}\n        release_name: ${{ github.ref }}\n        body_path: changelog_part.md\n    - uses: actions/upload-release-asset@v1.0.1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        upload_url: ${{ steps.create_release.outputs.upload_url }}\n        asset_path: PorcupineSetup_${{ steps.get_version.outputs.version-without-v }}.exe\n        asset_name: PorcupineSetup_${{ steps.get_version.outputs.version-without-v }}.exe\n        asset_content_type: application/vnd.microsoft.portable-executable\n", "state": "active", "repository": "akuli/porcupine"}
{"mined_at": "2024-07-15T13:36:28.945395", "created_at": "2023-03-19T22:46:21+01:00", "updated_at": "2023-03-19T22:46:21+01:00", "name": ".github/workflows/autofix.yml", "path": ".github/workflows/autofix.yml", "contents": "on:\n  pull_request_target:\n\njobs:\n  autofix:\n    runs-on: ubuntu-latest\n    steps:\n    # git-auto-commit-action is a bit tricky to use.\n    # See the \"advanced\" section in its README for an insecure configuration that works.\n    #\n    # To make it secure against malicious pull requests, you cannot trust files in the PR,\n    # because pull_request_target jobs have more permissions than pull_request jobs.\n    # Here we place the PR's stuff to a subdirectory named \"pr\".\n    - uses: actions/checkout@v4\n    - uses: actions/checkout@v4\n      with:\n        repository: ${{ github.event.pull_request.head.repo.full_name }}\n        ref: ${{ github.head_ref }}\n        path: ./pr\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n        cache: pip\n    - run: pip install wheel\n    - run: pip install -r requirements-dev.txt\n    - name: Gather a list of Python files in the pull request branch\n      run: |\n        (cd pr && git ls-files) | grep -E '\\.(py|pyw)$' | sed s:^:pr/: | tee filelist.txt\n    - name: Run pyupgrade\n      run: mapfile -t files < filelist.txt && python3 -m pyupgrade --keep-runtime-typing --py39-plus --exit-zero-even-if-changed -- \"${files[@]}\"\n    - name: Run pycln\n      run: mapfile -t files < filelist.txt && python3 -m pycln --all --disable-all-dunder-policy -- \"${files[@]}\"\n    - name: Run black\n      run: mapfile -t files < filelist.txt && python3 -m black -- \"${files[@]}\"\n    - name: Run isort\n      run: mapfile -t files < filelist.txt && python3 -m isort -- \"${files[@]}\"\n    # I like requirements-dev.txt and some other people like pyproject.toml, so we have both.\n    # Auto-generating is the easiest way to ensure the two stay in sync.\n    - name: Generate requirements-dev.txt from pyproject.toml\n      run: |\n        echo \"# Auto-generated in GitHub Actions. See autofix.yml.\" > pr/requirements-dev.txt\n        pip install tomli\n        python3 -c 'if True:\n          import tomli\n          with open(\"pr/pyproject.toml\", \"rb\") as f:\n            content = tomli.load(f)\n          for dep in content[\"project\"][\"dependencies\"]:\n            print(dep)\n          for dep in content[\"project\"][\"optional-dependencies\"][\"dev\"]:\n            print(dep)\n        ' >> pr/requirements-dev.txt\n    - uses: stefanzweifel/git-auto-commit-action@v5\n      with:\n        repository: ./pr\n        commit_message: \"Run pycln, pyupgrade, black and isort\"\n", "state": "active", "repository": "akuli/porcupine"}
{"mined_at": "2024-07-15T13:36:31.198228", "created_at": "2023-01-26T12:32:13+01:00", "updated_at": "2023-01-27T14:59:46+01:00", "name": "linkedevents-ci", "path": ".github/workflows/ci.yml", "contents": "name: linkedevents-ci\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\nenv:\n  SECRET_KEY: topsecret123\n  POSTGRES_DB: test_linkedevents\n  POSTGRES_USER: postgres\n  POSTGRES_PASSWORD: postgres\n  DATABASE_URL: \"postgis://postgres:postgres@localhost/test_linkedevents\"\n  FIELD_ENCRYPTION_KEYS: c87a6669a1ded2834f1dfd0830d86ef6cdd20372ac83e8c7c23feffe87e6a051\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [3.9]\n    services:\n      postgres:\n        image: postgis/postgis:14-3.2-alpine\n        env:\n          # Note: not redundant, parent env is not applied to service\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: test_linkedevents\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          # Required by Sonar\n          fetch-depth: 0\n\n      - name: Update apt\n        run: sudo apt-get update\n\n      - name: psycopg2 prerequisites\n        run: sudo apt-get install libpq-dev\n\n      - name: System requirements for Django\n        run: sudo apt-get install gdal-bin gettext postgresql-client\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          cache: pip\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt -r requirements-dev.txt\n\n      - name: Configure sysctl limits\n        run: |\n          sudo swapoff -a\n          sudo sysctl -w vm.swappiness=1\n          sudo sysctl -w fs.file-max=262144\n          sudo sysctl -w vm.max_map_count=262144\n\n      - name: Check migrations\n        run: |\n          python manage.py makemigrations --dry-run --check\n\n      - name: Apply migrations\n        run: |\n          python manage.py migrate\n\n      - name: Compile translations\n        run: |\n          django-admin compilemessages\n\n      - name: Check black\n        run: |\n          black --check .\n\n      - name: Check flake8\n        uses: liskin/gh-problem-matcher-wrap@v2\n        with:\n          linters: flake8\n          run: flake8\n\n      - name: Check isort\n        uses: liskin/gh-problem-matcher-wrap@v2\n        with:\n          linters: isort\n          run: isort . --check-only --diff\n\n      - name: Check commitlint\n        uses: wagoid/commitlint-github-action@0d749a1a91d4770e983a7b8f83d4a3f0e7e0874e  # v5.4.4\n\n      # With pytest-cov use: --cov=.\n      # Some errors, skipping --doctest-modules for now\n      - name: Run tests\n        uses: liskin/gh-problem-matcher-wrap@v2\n        with:\n          linters: pytest\n          run: pytest -ra -vvv --cov=.\n\n      - name: Codecov\n        uses: codecov/codecov-action@v3\n\n      # Without this workaround Sonar reports a warning about an incorrect source path\n      - name: Override coverage report source path for Sonar\n        run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage.xml\n\n      - name: SonarCloud Scan\n        uses: SonarSource/sonarcloud-github-action@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "city-of-helsinki/linkedevents"}
{"mined_at": "2024-07-15T13:36:32.545491", "created_at": "2024-03-22T09:58:04+01:00", "updated_at": "2024-03-22T09:58:04+01:00", "name": "release-please", "path": ".github/workflows/release-please.yml", "contents": "# .github/workflows/release-please.yml\nname: release-please\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  release-please:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: google-github-actions/release-please-action@v4\n", "state": "active", "repository": "city-of-helsinki/linkedevents"}
{"mined_at": "2024-07-15T13:36:34.838765", "created_at": "2021-10-12T15:28:53+02:00", "updated_at": "2021-11-05T11:32:46+01:00", "name": "tox", "path": ".github/workflows/tox.yaml", "contents": "name: \"tox\"\n\non:\n  - pull_request\n  - push\n\njobs:\n\n  pytest:\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        include:\n        - tox-env: py36\n          py-ver: \"3.6\"\n        - tox-env: py39\n          py-ver: \"3.9\"\n        - tox-env: py310\n          py-ver: \"3.10\"\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.py-ver }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: '${{ matrix.py-ver }}'\n\n    - name: Install dependencies\n      run: |\n        sudo apt install libvirt-dev -y\n        python --version\n        python -m pip install --upgrade pip\n        pip install tox\n        pip install \".[dev]\"\n\n    - name: Test with tox\n      env:\n        TOXENV: ${{ matrix.tox-env }}\n      run: tox\n\n    # - name: Upload Coverage to Codecov\n    #   uses: codecov/codecov-action@v1\n\n  lint:\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python 3\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Install dependencies\n      run: |\n        sudo apt install libvirt-dev -y\n        python -m pip install --upgrade pip\n        pip install tox\n        pip install \".[dev]\"\n\n    - name: Run lint with tox\n      env:\n        TOXENV: lint\n      run: tox\n", "state": "active", "repository": "suse/sesdev"}
{"mined_at": "2024-07-15T13:36:36.986656", "created_at": "2023-07-10T20:44:28+02:00", "updated_at": "2023-07-17T15:29:07+02:00", "name": "Docker-based Testing Suite", "path": ".github/workflows/docker-testing.yml", "contents": "name: Docker-based Testing Suite\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  build:\n    name: Build Docker image\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0\n      - uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0\n        with:\n          context: .\n          file: \"Dockerfile\"\n          tags: localpytest:latest\n          load: true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          push: false\n      - uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3.0.0\n        with:\n          image: localpytest:latest\n          options: -p 9099:9099\n          run: |\n            raven-wps start -b 0.0.0.0 -c /code/etc/demo.cfg -d\n            sleep 2s\n            raven-wps status\n            raven-wps stop\n", "state": "active", "repository": "ouranosinc/raven"}
{"mined_at": "2024-07-15T13:36:38.152176", "created_at": "2021-04-09T20:55:09+02:00", "updated_at": "2023-07-12T21:30:27+02:00", "name": "raven-wps Testing", "path": ".github/workflows/main.yml", "contents": "name: raven-wps Testing\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\nenv:\n  MAIN_TESTDATA_BRANCH: \"master\"\n\nconcurrency:\n  # For a given workflow, if we push to the same branch, cancel all previous builds on that branch except on main.\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\npermissions:\n    contents: read\n\njobs:\n  black:\n    name: Code linting\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            files.pythonhosted.org:443\n            github.com:443\n            pypi.org:443\n      - name: Checkout Repository\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Set up Python${{ matrix.python-version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.x\"\n      - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1\n\n  conda:\n    name: Conda (Python${{ matrix.python-version }}; ${{ matrix.os }})\n    needs: black\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        include:\n          - os: \"macos-latest\"\n            python-version: \"3.10\"\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            cdn.proj.org:443\n            conda.anaconda.org:443\n            files.pythonhosted.org:443\n            github.com:443\n            objects.githubusercontent.com:443\n            pavics.ouranos.ca:443\n            pypi.org:443\n            raw.githubusercontent.com:443\n            repo.anaconda.com:443\n      - name: Checkout Repository\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Setup Conda (Micromamba) with Python${{ matrix.python-version }}\n        uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1.9.0\n        with:\n          cache-downloads: true\n          cache-environment: true\n          environment-file: environment.yml\n          create-args: >-\n            python=${{ matrix.python-version }}\n      - name: Conda and Mamba versions\n        run: |\n          conda --version\n          echo \"micromamba: $(micromamba --version)\"\n      - name: Install RavenWPS\n        run: |\n          python -m pip install --no-user --editable \".[dev]\"\n      - name: Check versions\n        run: |\n          conda list\n          python -m pip check\n      - name: Test RavenWPS\n        run: |\n          python -m pytest -m \"not very_slow\" tests\n\n  finish:\n    name: Finish\n    needs:\n      - conda\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n      - name: Finished\n        run: echo \"Finished!\"\n", "state": "active", "repository": "ouranosinc/raven"}
{"mined_at": "2024-07-15T13:36:40.580900", "created_at": "2021-01-20T18:45:24+01:00", "updated_at": "2022-08-31T22:49:05+02:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\nenv:\n  PYTHON_LATEST: \"3.11\"\n\njobs:\n  test:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12-dev\"]\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache dependencies\n        id: cache-deps\n        uses: actions/cache@v2\n        with:\n          path: |\n            ${{ env.pythonLocation }}/bin/*\n            ${{ env.pythonLocation }}/lib/*\n            ${{ env.pythonLocation }}/scripts/*\n          key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py', 'requirements.txt') }}\n      - name: Install The Fuck with all dependencies\n        if: steps.cache-deps.outputs.cache-hit != 'true'\n        run: |\n          pip install -Ur requirements.txt coveralls\n          python setup.py develop\n      - name: Lint\n        if: matrix.os == 'ubuntu-latest' && matrix.python-version == env.PYTHON_LATEST\n        run: flake8\n      - name: Run tests\n        if: matrix.os != 'ubuntu-latest' || matrix.python-version != env.PYTHON_LATEST\n        run: coverage run --source=thefuck,tests -m pytest -v --capture=sys tests\n      - name: Run tests (including functional)\n        if: matrix.os == 'ubuntu-latest' && matrix.python-version == env.PYTHON_LATEST\n        run: |\n          docker build -t thefuck/python3 -f tests/Dockerfile --build-arg PYTHON_VERSION=3 .\n          docker build -t thefuck/python2 -f tests/Dockerfile --build-arg PYTHON_VERSION=2 .\n          coverage run --source=thefuck,tests -m pytest -v --capture=sys tests --enable-functional\n      - name: Post coverage results\n        if: matrix.os == 'ubuntu-latest' && matrix.python-version == env.PYTHON_LATEST\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: coveralls --service=github\n  test-deprecated:\n    strategy:\n      matrix:\n        python-version: [\"2.7\", \"3.6\"]\n    runs-on: ubuntu-latest\n    container: python:${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install The Fuck with all dependencies\n        run: |\n          pip install -Ur requirements.txt coveralls\n          python setup.py develop\n      - name: Lint\n        run: flake8\n      - name: Run tests\n        run: coverage run --source=thefuck,tests -m pytest -v --capture=sys tests\n", "state": "active", "repository": "nvbn/thefuck"}
{"mined_at": "2024-07-15T13:36:42.828078", "created_at": "2021-01-05T05:29:22+01:00", "updated_at": "2022-05-28T02:33:25+02:00", "name": "pgcli", "path": ".github/workflows/ci.yml", "contents": "name: pgcli\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    paths-ignore:\n      - '**.rst'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    services:\n      postgres:\n        image: postgres:9.6\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n        ports:\n            - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install pgbouncer\n        run: |\n            sudo apt install pgbouncer -y\n\n            sudo chmod 666 /etc/pgbouncer/*.*\n\n            cat <<EOF > /etc/pgbouncer/userlist.txt\n            \"postgres\" \"postgres\"\n            EOF\n\n            cat <<EOF > /etc/pgbouncer/pgbouncer.ini\n            [databases]\n            * = host=localhost port=5432\n            [pgbouncer]\n            listen_port = 6432\n            listen_addr = localhost\n            auth_type = trust\n            auth_file = /etc/pgbouncer/userlist.txt\n            logfile = pgbouncer.log\n            pidfile = pgbouncer.pid\n            admin_users = postgres\n            EOF\n\n            sudo systemctl stop pgbouncer\n\n            pgbouncer -d /etc/pgbouncer/pgbouncer.ini\n\n            psql -h localhost -U postgres -p 6432 pgbouncer -c 'show help'\n\n      - name: Install requirements\n        run: |\n          pip install -U pip setuptools\n          pip install --no-cache-dir \".[sshtunnel]\"\n          pip install -r requirements-dev.txt\n          pip install keyrings.alt>=3.1\n\n      - name: Run unit tests\n        run: coverage run --source pgcli -m pytest\n\n      - name: Run integration tests\n        env:\n            PGUSER: postgres\n            PGPASSWORD: postgres\n\n        run: behave tests/features --no-capture\n\n      - name: Check changelog for ReST compliance\n        run: docutils --halt=warning changelog.rst >/dev/null\n\n      - name: Run Black\n        run: black --check .\n        if: matrix.python-version == '3.8'\n\n      - name: Coverage\n        run: |\n          coverage combine\n          coverage report\n          codecov\n", "state": "active", "repository": "dbcli/pgcli"}
{"mined_at": "2024-07-15T13:36:43.910803", "created_at": "2022-11-10T16:17:06+01:00", "updated_at": "2022-11-11T18:17:36+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: \"29 13 * * 1\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "dbcli/pgcli"}
{"mined_at": "2024-07-15T13:36:46.140313", "created_at": "2020-11-17T17:50:38+01:00", "updated_at": "2020-11-20T17:46:05+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\non:\n  push:\n  pull_request:\n\npermissions:\n  checks: write # to create new checks (coverallsapp/github-action)\n\njobs:\n  build:\n    permissions:\n      contents: read # to fetch code (actions/checkout)\n      checks: write # to create new checks (coverallsapp/github-action)\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        image-tag:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    steps:\n      - uses: satackey/action-docker-layer-caching@v0.0.11\n        continue-on-error: true\n        with:\n          key: thumbor-docker-${{ matrix.image-tag }}-{hash}\n          restore-keys: |\n            thumbor-docker-${{ matrix.image-tag }}-\n      - uses: actions/checkout@v4\n      - name: Build test image\n        run: docker build -t test_image -f TestDockerfile --build-arg PYTHON_VERSION=${{ matrix.image-tag }} .\n      - name: Start test container\n        run: |\n          docker run -dt --name thumbor_test -v $(pwd):/app test_image\n      - name: Fire up Redis\n        run: docker exec thumbor_test make redis\n      - name: Setup\n        run: docker exec thumbor_test make setup\n      - name: Compile Extensions\n        run: docker exec thumbor_test make compile_ext\n      - name: Run Unit Tests\n        run: docker exec thumbor_test make sequential-unit\n      - name: Run Integration Tests\n        run: docker exec -e ASYNC_TEST_TIMEOUT=30 thumbor_test make integration_run\n      - name: Lint\n        run: docker exec thumbor_test make pylint\n      - name: Generate lcov\n        run: docker exec thumbor_test coverage lcov\n      - name: Coveralls\n        uses: coverallsapp/github-action@v2.3.0\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          path-to-lcov: coverage.lcov\n          flag-name: run-${{ matrix.image-tag }}\n          parallel: true\n  finish:\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Coveralls Finished\n        uses: coverallsapp/github-action@v2.3.0\n        with:\n          github-token: ${{ secrets.github_token }}\n          parallel-finished: true\n", "state": "active", "repository": "thumbor/thumbor"}
{"mined_at": "2024-07-15T13:36:47.209192", "created_at": "2022-01-30T18:47:03+01:00", "updated_at": "2022-01-30T18:47:03+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '37 1 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'cpp', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    #- name: Autobuild\n    #  uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    - run: |\n       make build\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "thumbor/thumbor"}
{"mined_at": "2024-07-15T13:36:48.246660", "created_at": "2022-03-29T00:39:47+02:00", "updated_at": "2022-05-12T22:53:07+02:00", "name": "lint/formatter", "path": ".github/workflows/lint.yml", "contents": "name: lint/formatter\non:\n  push:\n  pull_request:\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n        with:\n          options: \"--check --verbose\"\n  flake8:\n    permissions:\n      contents: read # to fetch code (actions/checkout)\n      checks: write # to update checks \n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n      - uses: actions/checkout@v4\n      - name: Install flake8\n        run: pip install flake8\n      - name: Run flake8\n        uses: suo/flake8-github-action@releases/v1\n        with:\n          checkName: 'flake8'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  isort:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n      - uses: actions/checkout@v4\n      - name: Install isort\n        run: pip install isort\n      - name: Run isort\n        run: isort thumbor tests --profile black\n ", "state": "active", "repository": "thumbor/thumbor"}
{"mined_at": "2024-07-15T13:36:49.364110", "created_at": "2022-07-27T10:06:55+02:00", "updated_at": "2022-07-27T10:06:55+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "---\nname: release\non:\n  push:\n    tags:\n      - \"[0-9]+.[0-9]+.[0-9]+\"\n  pull_request:\n    branches:\n      - \"master\"\n\npermissions:\n  contents: read\n  packages: write\n\nenv:\n  CIBW_PROJECT_REQUIRES_PYTHON: \">=3.9\"\n  python-version: \"3.10\"\n\njobs:\n  # Heavily inspired on https://github.com/tornadoweb/tornado/blob/master/.github/workflows/build.yml\n  build_sdist:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install -U pip\n      - name: Build package\n        run: python setup.py sdist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: artifact-sdist\n          path: ./dist/thumbor-*.tar.gz\n\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-20.04\n          - macOS-13\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: ${{ env.python-version }}\n      - name: Set up QEMU\n        if: runner.os == 'Linux'\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.18.1\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: artifact-${{ matrix.os }}\n          path: ./wheelhouse/*.whl\n          overwrite: true\n\n  upload_pypi:\n    name: Upload to PyPI\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: artifact-*\n          path: dist\n          merge-multiple: true\n\n      - run: ls -lah dist\n\n      - uses: pypa/gh-action-pypi-publish@v1.8.14\n        if: github.event_name != 'pull_request'\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip-existing: true\n\n  docker:\n    needs: upload_pypi\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: \"0\"\n\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: artifact-*\n          path: dist\n          merge-multiple: true\n\n      - name: Set output on new tags\n        if: github.event_name != 'pull_request'\n        run: echo \"THUMBOR_VERSION=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n\n      - name: Set output on PR\n        if: github.event_name == 'pull_request'\n        run: echo \"THUMBOR_VERSION=$(cat thumbor/__init__.py | grep \"__version__\" | cut -d'\"' -f2)\" >> $GITHUB_ENV\n\n      - name: Enable docker cache push\n        if: github.event_name != 'pull_request'\n        run: echo \"CACHE_TO=type=registry,ref=ghcr.io/thumbor/thumbor:buildcache-${{ matrix.python_version }},mode=max\" >> $GITHUB_ENV\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to GHCR\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Login to Quay.io\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3\n        with:\n          registry: quay.io\n          username: ${{ secrets.QUAY_IO_USERNAME }}\n          password: ${{ secrets.QUAY_IO_PASSWORD }}\n\n      - name: Login to Docker Hub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          flavor: |\n            suffix=-py-${{ matrix.python_version }}\n          images: |\n            ghcr.io/thumbor/thumbor\n            quay.io/thumbor/thumbor\n            thumbororg/thumbor\n          tags: |\n            type=schedule\n            type=ref,event=branch\n            type=ref,event=pr\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{major}}\n            type=sha\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./docker/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=registry,ref=ghcr.io/thumbor/thumbor:buildcache-${{ matrix.python_version }}\n          cache-to: ${{ env.CACHE_TO }}\n          build-args: |\n            THUMBOR_VERSION=${{ env.THUMBOR_VERSION }}\n            PYTHON_VERSION=${{ matrix.python_version }}\n", "state": "active", "repository": "thumbor/thumbor"}
{"mined_at": "2024-07-15T13:36:50.407154", "created_at": "2022-01-22T20:20:36+01:00", "updated_at": "2022-01-22T20:20:36+01:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "---\n# This workflow warns and then closes issues and PRs that have had no\n# activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Close stale issues and PRs\non:\n  schedule:\n    - cron: '* */12 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v9\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          stale-issue-message: This issue is stale because it has been open 30 days\n            with no activity. Remove the stale label or add a comment, or this issue\n            will be closed in 15 days. You can always re-open if you still feel this\n            is still an issue. Tag @heynemann for more information.\n          stale-pr-message: This PR is stale because it has been open 60 days with\n            no activity. Remove the stale label or add a comment, or this PR will\n            be closed in 30 days. You can always re-open if you feel this is something\n            we should still keep working on. Tag @heynemann for more information.\n          close-issue-message: This issue was closed because it has been stale for\n            15 days with no activity.\n          close-pr-message: This PR was closed because it has been stale for 30 days\n            with no activity.\n          days-before-issue-stale: 30\n          days-before-pr-stale: 60\n          days-before-issue-close: 45\n          days-before-pr-close: 30\n          exempt-draft-pr: true\n          exempt-issue-labels: do-not-reap\n          exempt-pr-labels: do-not-reap\n          operations-per-run: 300\n", "state": "active", "repository": "thumbor/thumbor"}
{"mined_at": "2024-07-15T13:36:52.542749", "created_at": "2020-04-30T18:10:43+02:00", "updated_at": "2020-04-30T18:10:43+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  publish:\n    name: \"Publish release\"\n    runs-on: \"ubuntu-latest\"\n\n    environment:\n       name: deploy\n\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: 3.8\n      - name: \"Install dependencies\"\n        run: \"scripts/install\"\n      - name: \"Build package & docs\"\n        run: \"scripts/build\"\n      - name: \"Publish to PyPI & deploy docs\"\n        run: \"scripts/publish\"\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "encode/httpx"}
{"mined_at": "2024-07-15T13:36:54.068103", "created_at": "2020-04-24T17:16:17+02:00", "updated_at": "2020-04-24T17:16:17+02:00", "name": "Test Suite", "path": ".github/workflows/test-suite.yml", "contents": "---\nname: Test Suite\n\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\"]\n\njobs:\n  tests:\n    name: \"Python ${{ matrix.python-version }}\"\n    runs-on: \"ubuntu-latest\"\n\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n          allow-prereleases: true\n      - name: \"Install dependencies\"\n        run: \"scripts/install\"\n      - name: \"Run linting checks\"\n        run: \"scripts/check\"\n      - name: \"Build package & docs\"\n        run: \"scripts/build\"\n      - name: \"Run tests\"\n        run: \"scripts/test\"\n      - name: \"Enforce coverage\"\n        run: \"scripts/coverage\"\n", "state": "active", "repository": "encode/httpx"}
{"mined_at": "2024-07-15T13:36:55.058449", "created_at": "2022-01-05T17:25:59+01:00", "updated_at": "2022-01-26T15:50:29+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "encode/httpx"}
{"mined_at": "2024-07-15T13:36:57.156356", "created_at": "2021-01-03T05:38:38+01:00", "updated_at": "2021-01-03T05:38:38+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '34 7 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: \"python\"\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "pymysql/pymysql"}
{"mined_at": "2024-07-15T13:36:58.205030", "created_at": "2023-06-21T20:22:43+02:00", "updated_at": "2023-06-21T20:22:43+02:00", "name": "CodeSee", "path": ".github/workflows/codesee-arch-diagram.yml", "contents": "# This workflow was added by CodeSee. Learn more at https://codesee.io/\n# This is v2.0 of this workflow file\non:\n  push:\n    branches:\n      - main\n  pull_request_target:\n    types: [opened, synchronize, reopened]\n\nname: CodeSee\n\npermissions: read-all\n\njobs:\n  codesee:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    name: Analyze the repo with CodeSee\n    steps:\n      - uses: Codesee-io/codesee-action@v2\n        with:\n          codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}\n          codesee-url: https://app.codesee.io\n", "state": "active", "repository": "pymysql/pymysql"}
{"mined_at": "2024-07-15T13:36:59.253914", "created_at": "2023-05-25T04:14:05+02:00", "updated_at": "2023-05-25T07:55:48+02:00", "name": "Django test", "path": ".github/workflows/django.yaml", "contents": "name: Django test\n\non:\n  push:\n    # branches: [\"main\"]\n  # pull_request:\n\njobs:\n  django-test:\n    name: \"Run Django LTS test suite\"\n    runs-on: ubuntu-latest\n    # There are some known difference between MySQLdb and PyMySQL.\n    continue-on-error: true\n    env:\n      PIP_NO_PYTHON_VERSION_WARNING: 1\n      PIP_DISABLE_PIP_VERSION_CHECK: 1\n      # DJANGO_VERSION: \"3.2.19\"\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # Django 3.2.9+ supports Python 3.10\n          # https://docs.djangoproject.com/ja/3.2/releases/3.2/\n          - django: \"3.2.19\"\n            python: \"3.10\"\n\n          - django: \"4.2.1\"\n            python: \"3.11\"\n\n    steps:\n      - name: Start MySQL\n        run: |\n          sudo systemctl start mysql.service\n          mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -uroot -proot mysql\n          mysql -uroot -proot -e \"set global innodb_flush_log_at_trx_commit=0;\"\n          mysql -uroot -proot -e \"CREATE USER 'scott'@'%' IDENTIFIED BY 'tiger'; GRANT ALL ON *.* TO scott;\"\n          mysql -uroot -proot -e \"CREATE DATABASE django_default; CREATE DATABASE django_other;\"\n\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install mysqlclient\n        run: |\n          #pip install mysqlclient  # Use stable version\n          pip install .[rsa]\n\n      - name: Setup Django\n        run: |\n          sudo apt-get install libmemcached-dev\n          wget https://github.com/django/django/archive/${{ matrix.django }}.tar.gz\n          tar xf ${{ matrix.django }}.tar.gz\n          cp ci/test_mysql.py django-${{ matrix.django }}/tests/\n          cd django-${{ matrix.django }}\n          pip install . -r tests/requirements/py3.txt\n\n      - name: Run Django test\n        run: |\n          cd django-${{ matrix.django }}/tests/\n          # test_runner does not using our test_mysql.py\n          # We can't run whole django test suite for now.\n          # Run olly backends test\n          DJANGO_SETTINGS_MODULE=test_mysql python runtests.py backends\n", "state": "active", "repository": "pymysql/pymysql"}
{"mined_at": "2024-07-15T13:37:00.302690", "created_at": "2021-01-03T04:20:31+01:00", "updated_at": "2021-01-03T04:20:31+01:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": "name: Lint\n\non:\n  push:\n    branches: [\"main\"]\n    paths:\n      - '**.py'\n  pull_request:\n    paths:\n      - '**.py'\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: lint\n        uses: chartboost/ruff-action@v1\n\n      - name: check format\n        uses: chartboost/ruff-action@v1\n        with:\n          args: \"format --diff\"\n", "state": "active", "repository": "pymysql/pymysql"}
{"mined_at": "2024-07-15T13:37:01.400477", "created_at": "2021-07-30T05:45:11+02:00", "updated_at": "2023-02-03T07:58:46+01:00", "name": "Lock Threads", "path": ".github/workflows/lock.yml", "contents": "name: 'Lock Threads'\n\non:\n  schedule:\n    - cron: '30 9 * * 1'\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  lock-threads:\n    if: github.repository == 'PyMySQL/PyMySQL'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v5\n\n", "state": "active", "repository": "pymysql/pymysql"}
{"mined_at": "2024-07-15T13:37:02.402671", "created_at": "2021-01-03T02:11:55+01:00", "updated_at": "2023-05-25T07:47:03+02:00", "name": "Test", "path": ".github/workflows/test.yaml", "contents": "name: Test\n\non:\n  push:\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - db: \"mariadb:10.4\"\n            py: \"3.8\"\n\n          - db: \"mariadb:10.5\"\n            py: \"3.7\"\n\n          - db: \"mariadb:10.6\"\n            py: \"3.11\"\n\n          - db: \"mariadb:10.6\"\n            py: \"3.12\"\n\n          - db: \"mariadb:lts\"\n            py: \"3.9\"\n\n          - db: \"mysql:5.7\"\n            py: \"pypy-3.8\"\n\n          - db: \"mysql:8.0\"\n            py: \"3.9\"\n            mysql_auth: true\n\n          - db: \"mysql:8.0\"\n            py: \"3.10\"\n\n    services:\n      mysql:\n        image: \"${{ matrix.db }}\"\n        ports:\n          - 3306:3306\n        env:\n          MYSQL_ALLOW_EMPTY_PASSWORD: yes\n          MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: yes\n        options: \"--name=mysqld\"\n        volumes:\n          - /run/mysqld:/run/mysqld\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Workaround MySQL container permissions\n        if: startsWith(matrix.db, 'mysql')\n        run: |\n          sudo chown 999:999 /run/mysqld\n          /usr/bin/docker ps --all --filter status=exited --no-trunc --format \"{{.ID}}\" | xargs -r /usr/bin/docker start\n\n      - name: Set up Python ${{ matrix.py }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.py }}\n          allow-prereleases: true\n          cache: 'pip'\n          cache-dependency-path: 'requirements-dev.txt'\n\n      - name: Install dependency\n        run: |\n          pip install --upgrade -r requirements-dev.txt\n\n      - name: Set up MySQL\n        run: |\n          while :\n          do\n              sleep 1\n              mysql -h127.0.0.1 -uroot -e 'select version()' && break\n          done\n          mysql -h127.0.0.1 -uroot -e \"SET GLOBAL local_infile=on\"\n          mysql -h127.0.0.1 -uroot --comments < ci/docker-entrypoint-initdb.d/init.sql\n          mysql -h127.0.0.1 -uroot --comments < ci/docker-entrypoint-initdb.d/mysql.sql\n          mysql -h127.0.0.1 -uroot --comments < ci/docker-entrypoint-initdb.d/mariadb.sql\n          cp ci/docker.json pymysql/tests/databases.json\n\n      - name: Run test\n        run: |\n          pytest -v --cov --cov-config .coveragerc pymysql\n          pytest -v --cov-append --cov-config .coveragerc --doctest-modules pymysql/converters.py\n\n      - name: Run MySQL8 auth test\n        if: ${{ matrix.mysql_auth }}\n        run: |\n          docker cp mysqld:/var/lib/mysql/public_key.pem \"${HOME}\"\n          docker cp mysqld:/var/lib/mysql/ca.pem \"${HOME}\"\n          docker cp mysqld:/var/lib/mysql/server-cert.pem \"${HOME}\"\n          docker cp mysqld:/var/lib/mysql/client-key.pem \"${HOME}\"\n          docker cp mysqld:/var/lib/mysql/client-cert.pem \"${HOME}\"\n          pytest -v --cov-append --cov-config .coveragerc tests/test_auth.py;\n\n      - name: Upload coverage reports to Codecov\n        if: github.repository == 'PyMySQL/PyMySQL'\n        uses: codecov/codecov-action@v4\n", "state": "active", "repository": "pymysql/pymysql"}
{"mined_at": "2024-07-15T13:37:04.499440", "created_at": "2023-09-16T21:10:54+02:00", "updated_at": "2023-09-17T14:27:22+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  - push\n  - pull_request\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.10.11, 3.11.3, pypy3.9]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements/dev.txt\n    - name: Test\n      env:\n        FORCE_TTY: Y\n        TERM: xterm-256color\n      run: |\n        coverage run --source=asciimatics -m unittest\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v3\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  testwindows:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements/dev.txt\n        pip install pywin32\n    - name: Test\n      shell: cmd\n      run: |\n        coverage run --source=asciimatics -m unittest\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v3\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  builddist:\n    name: Build distribution 📦\n    runs-on: ubuntu-latest\n    needs: [test, testwindows]\n    if: github.event_name != 'pull_request'\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n    - name: Get history and tags for SCM versioning to work\n      run: |\n        git fetch --prune --unshallow\n        git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n    - name: Install pypa/build\n      run: >-\n        python3 -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: python3 -m build\n    - name: Store the distribution packages\n      uses: actions/upload-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n\n  publish-test:\n    runs-on: ubuntu-latest\n    needs: builddist\n    if: github.event_name != 'pull_request'\n    environment:\n      name: testpypi\n      url: https://test.pypi.org/p/asciimatics\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution 📦 to TestPyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n\n  publish-to-pypi:\n    name: >-\n      Publish Python 🐍 distribution 📦 to PyPI\n    if: github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/')\n    needs:\n    - builddist\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/asciimatics\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  github-release:\n    name: >-\n      Sign the Python 🐍 distribution 📦 with Sigstore\n      and upload them to GitHub Release\n    needs:\n    - publish-to-pypi\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write  # IMPORTANT: mandatory for making GitHub Releases\n      id-token: write  # IMPORTANT: mandatory for sigstore\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Sign the dists with Sigstore\n      uses: sigstore/gh-action-sigstore-python@v1.2.3\n      with:\n        inputs: >-\n          ./dist/*.tar.gz\n          ./dist/*.whl\n    - name: Create GitHub Release\n      run: >-\n        gh release create\n        '${{ github.ref_name }}'\n        --title \"${{ github.ref_name }}\"\n        --notes \"\"\n    - name: Upload artifact signatures to GitHub Release\n      env:\n        GITHUB_TOKEN: ${{ github.token }}\n      # Upload to GitHub Release using the `gh` CLI.\n      # `dist/` contains the built packages, and the\n      # sigstore-produced signatures and certificates.\n      run: >-\n        gh release upload\n        '${{ github.ref_name }}' dist/**\n        --repo '${{ github.repository }}'\n\n", "state": "active", "repository": "peterbrittain/asciimatics"}
{"mined_at": "2024-07-15T13:37:06.593486", "created_at": "2020-12-09T15:42:37+01:00", "updated_at": "2020-12-09T15:42:37+01:00", "name": "Check", "path": ".github/workflows/check.yml", "contents": "name: Check\n\non:\n  push:\n    branches:\n      - \"master\"\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: ${{ matrix.tox-environment }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        tox-environment:\n          - docs\n          - examples\n          - lint\n\n    env:\n      TOXENV: ${{ matrix.tox-environment }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3'\n          cache: pip\n\n      - name: Install dependencies\n        run: python -m pip install tox\n\n      - name: Run\n        run: tox\n", "state": "active", "repository": "factoryboy/factory_boy"}
{"mined_at": "2024-07-15T13:37:07.670248", "created_at": "2021-02-13T12:12:42+01:00", "updated_at": "2022-07-05T12:10:18+02:00", "name": "Linkcheck", "path": ".github/workflows/linkcheck.yml", "contents": "name: Linkcheck\n\non:\n  schedule:\n    - cron: '11 11 * * 1'\n\njobs:\n  build:\n    name: Linkcheck\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3'\n\n      - name: Install dependencies\n        run: python -m pip install tox\n\n      - name: Run linkcheck\n        run: tox -e linkcheck\n", "state": "active", "repository": "factoryboy/factory_boy"}
{"mined_at": "2024-07-15T13:37:08.757725", "created_at": "2020-12-09T15:42:37+01:00", "updated_at": "2020-12-09T15:42:37+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches:\n      - \"master\"\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    name: Python ${{ matrix.python-version }}, Database ${{ matrix.database-type }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          - \"pypy-3.9\"\n          - \"pypy-3.10\"\n        database-type:\n          - \"sqlite\"\n          - \"postgres\"\n\n    services:\n      mongodb:\n        image: mongo\n        ports:\n          - 27017:27017\n\n      postgresdb:\n        image: postgres:alpine\n        ports:\n          - 5432:5432\n        env:\n          POSTGRES_PASSWORD: password\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n\n      - name: Install dependencies\n        run: python -m pip install tox-gh-actions\n\n      - name: Run tests\n        run: tox\n        env:\n          DATABASE_TYPE: ${{ matrix.database-type }}\n", "state": "active", "repository": "factoryboy/factory_boy"}
{"mined_at": "2024-07-15T13:37:10.787413", "created_at": "2021-01-08T14:18:59+01:00", "updated_at": "2024-04-28T18:42:35+02:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\n\non:\n  # Trigger this workflow when the \"main\" workflow has completed successfully\n  # https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#workflow_run\n  workflow_run:\n    workflows:\n      - main\n    branches:\n      - master\n    types:\n      - completed\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n\njobs:\n\n  build_wheels:\n    name: Build & Upload\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n        architecture: 'x64'\n\n    - name: Upgrade pip\n      run: |\n        python3 -m pip install --upgrade pip\n\n    - name: Install build\n      run:\n        pip3 install --upgrade build\n\n    - name: Build wheel & sdist\n      run: |\n        python3 -m build --wheel --sdist\n\n    - uses: actions/upload-artifact@v3\n      with:\n        name: built-packages\n        path: |\n          ./dist/*.whl\n          ./dist/*.tar.gz\n\n    - name: Publish to Pypi\n      if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "disabled_manually", "repository": "crossbario/autobahn-python"}
{"mined_at": "2024-07-15T13:37:11.853850", "created_at": "2021-02-13T19:00:30+01:00", "updated_at": "2024-04-28T18:43:54+02:00", "name": "docker", "path": ".github/workflows/docker.yml", "contents": "name: docker\n\non:\n  # Trigger this workflow when the \"deploy\" workflow has completed successfully\n  # https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#workflow_run\n  workflow_run:\n    workflows:\n      - deploy\n    branches:\n      - master\n    types:\n      - completed\n\njobs:\n\n  # runs on x86-64 (xeon-d) host: matterhorn\n  image_amd64:\n    runs-on: [self-hosted, linux, X64]\n\n    # docker images are only built and published (to DockerHub) when merging\n    # to master (not a yet unmerged PR!)\n    if: github.ref == 'refs/heads/master'\n\n    env:\n      DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}\n      AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}\n      AWS_S3_BUCKET_NAME: ${{ secrets.AWS_S3_BUCKET_NAME }}\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set environment\n      run: |\n        echo AUTOBAHN_BUILD_DATE=`date -u +\"%Y-%m-%d\"` >> $GITHUB_ENV\n        echo AUTOBAHN_BUILD_ID=$(date --utc +%Y%m%d)-$(git rev-parse --short ${GITHUB_SHA}) >> $GITHUB_ENV\n        echo AUTOBAHN_VCS_REF=`git rev-parse --short ${GITHUB_SHA}` >> $GITHUB_ENV\n        echo AUTOBAHN_VERSION=$(grep -E '^(__version__)' ./autobahn/_version.py | cut -d ' ' -f3 | sed -e 's|[u\"'\\'']||g') >> $GITHUB_ENV\n\n    - name: Print environment\n      run: |\n        echo \"\"\n        echo \"Build environment configured:\"\n        echo \"\"\n        echo \"  AUTOBAHN_BUILD_DATE = ${AUTOBAHN_BUILD_DATE}\"\n        echo \"  AUTOBAHN_BUILD_ID   = ${AUTOBAHN_BUILD_ID}\"\n        echo \"  AUTOBAHN_VCS_REF    = ${AUTOBAHN_VCS_REF}\"\n        echo \"  AUTOBAHN_VERSION    = ${AUTOBAHN_VERSION}\"\n        echo \"\"\n        echo \"Wheels (source):\"\n        echo \"  AWS_DEFAULT_REGION  = ${AWS_DEFAULT_REGION}\"\n        echo \"  AWS_S3_BUCKET_NAME  = ${AWS_S3_BUCKET_NAME}\"\n        echo \"\"\n        echo \"Docker image (publish):\"\n        echo \"  DOCKERHUB_USER      = ${DOCKERHUB_USER}\"\n        echo \"\"\n\n    - name: Build & publish Docker image for cpy-amd64\n      run: |\n        cd ./docker && \\\n        make download_wheels && \\\n        make build_cpy_amd64 && \\\n        make test_cpy_amd64\n        docker login -u ${{ secrets.DOCKERHUB_USER }} -p ${{ secrets.DOCKERHUB_PASSWORD }} docker.io && \\\n        make publish_cpy_amd64\n\n    - name: Build & publish Docker image for pypy-amd64\n      run: |\n        cd ./docker && \\\n        make download_wheels && \\\n        make build_pypy_amd64 && \\\n        make test_pypy_amd64\n        docker login -u ${{ secrets.DOCKERHUB_USER }} -p ${{ secrets.DOCKERHUB_PASSWORD }} docker.io && \\\n        make publish_pypy_amd64\n\n  # runs on ARM64v8 (AWS Graviton) host: buildbox-arm64.crossbario.com\n  # image_arm64:\n  #   runs-on: [self-hosted, linux, ARM64]\n\n  #   # docker images are only built and published (to DockerHub) when merging\n  #   # to master (not a yet unmerged PR!)\n  #   if: github.ref == 'refs/heads/master'\n\n  #   env:\n  #     DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}\n  #     AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}\n  #     AWS_S3_BUCKET_NAME: ${{ secrets.AWS_S3_BUCKET_NAME }}\n\n  #   steps:\n  #   - uses: actions/checkout@v2\n\n  #   - name: Set environment\n  #     run: |\n  #       echo AUTOBAHN_BUILD_DATE=`date -u +\"%Y-%m-%d\"` >> $GITHUB_ENV\n  #       echo AUTOBAHN_BUILD_ID=$(date --utc +%Y%m%d)-$(git rev-parse --short ${GITHUB_SHA}) >> $GITHUB_ENV\n  #       echo AUTOBAHN_VCS_REF=`git rev-parse --short ${GITHUB_SHA}` >> $GITHUB_ENV\n  #       echo AUTOBAHN_VERSION=$(grep -E '^(__version__)' ./autobahn/_version.py | cut -d ' ' -f3 | sed -e 's|[u\"'\\'']||g') >> $GITHUB_ENV\n\n  #   - name: Print environment\n  #     run: |\n  #       echo \"\"\n  #       echo \"Build environment configured:\"\n  #       echo \"\"\n  #       echo \"  AUTOBAHN_BUILD_DATE = ${AUTOBAHN_BUILD_DATE}\"\n  #       echo \"  AUTOBAHN_BUILD_ID   = ${AUTOBAHN_BUILD_ID}\"\n  #       echo \"  AUTOBAHN_VCS_REF    = ${AUTOBAHN_VCS_REF}\"\n  #       echo \"  AUTOBAHN_VERSION    = ${AUTOBAHN_VERSION}\"\n  #       echo \"\"\n  #       echo \"Wheels (source):\"\n  #       echo \"  AWS_DEFAULT_REGION  = ${AWS_DEFAULT_REGION}\"\n  #       echo \"  AWS_S3_BUCKET_NAME  = ${AWS_S3_BUCKET_NAME}\"\n  #       echo \"\"\n  #       echo \"Docker image (publish):\"\n  #       echo \"  DOCKERHUB_USER      = ${DOCKERHUB_USER}\"\n  #       echo \"\"\n\n  #   - name: Build & publish Docker image for cpy-arm64\n  #     run: |\n  #       cd ./docker && \\\n  #       make download_wheels && \\\n  #       make build_cpy_arm64v8 && \\\n  #       make test_cpy_arm64v8\n  #       docker login -u ${{ secrets.DOCKERHUB_USER }} -p ${{ secrets.DOCKERHUB_PASSWORD }} docker.io && \\\n  #       make publish_cpy_arm64v8\n\n  #   - name: Build & publish Docker image for pypy-arm64\n  #     run: |\n  #       cd ./docker && \\\n  #       make download_wheels && \\\n  #       make build_pypy_arm64v8 && \\\n  #       make test_pypy_arm64v8\n  #       docker login -u ${{ secrets.DOCKERHUB_USER }} -p ${{ secrets.DOCKERHUB_PASSWORD }} docker.io && \\\n  #       make publish_pypy_arm64v8\n", "state": "disabled_manually", "repository": "crossbario/autobahn-python"}
{"mined_at": "2024-07-15T13:37:12.957692", "created_at": "2020-12-18T23:18:32+01:00", "updated_at": "2022-08-16T19:18:53+02:00", "name": "main", "path": ".github/workflows/main.yml", "contents": "name: main\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  check:\n    env:\n      WEB3_INFURA_PROJECT_ID: \"1c91697c211f4fcd8c7361f4c4e1f55f\"\n      # not sure why, but this doesn't work currently:\n      # WEB3_INFURA_PROJECT_ID: ${{ secrets.WEB3_INFURA_PROJECT_ID }}\n      # WEB3_INFURA_API_SECRET: ${{ secrets.WEB3_INFURA_API_SECRET }}\n\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Install OS package dependencies\n      run: |\n        sudo apt update\n        sudo apt install libenchant-2-dev libbz2-dev libsnappy-dev libunwind-dev libgirepository1.0-dev\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.11'\n        architecture: 'x64'\n\n    - name: Install Python package dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements-dev.txt\n\n    - name: Run Flake8\n      run: tox -c tox.ini -e flake8\n\n  test:\n    env:\n      CB_FULLTESTS: 1\n\n      WEB3_INFURA_PROJECT_ID: \"1c91697c211f4fcd8c7361f4c4e1f55f\"\n      # not sure why, but this doesn't work currently:\n      # WEB3_INFURA_PROJECT_ID: ${{ secrets.WEB3_INFURA_PROJECT_ID }}\n      # WEB3_INFURA_API_SECRET: ${{ secrets.WEB3_INFURA_API_SECRET }}\n\n    # Test on Ubuntu, MacOS, Windows using CPython and PyPy\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n        # os: [ubuntu-22.04, macos-latest, windows-latest]\n\n        # python 3.11 fails with \"src/twisted/test/raiser.c:198:12: fatal error: longintrepr.h: No such file or directory\"\n        # twisted doesn't yet support 3.11 formally: https://github.com/twisted/twisted/blob/trunk/pyproject.toml#L24\n        python-version: ['3.9', '3.11', 'pypy-3.9']\n        framework: ['asyncio', 'tw2403', 'twtrunk']\n\n    # https://github.blog/changelog/2020-04-15-github-actions-new-workflow-features/\n    # https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error\n    continue-on-error: false\n\n    steps:\n    # Checkout sources\n    - uses: actions/checkout@v3\n\n    # Install OS packages, as we install Python packages from source:\n    #\n    # libenchant-dev              needed for pyenchant, needed for sphinx-spellcheck\n    # libbz2-dev, libsnappy-dev   needed for compression\n    # libunwind-dev               needed for vmprof\n    #\n    - name: Install OS package dependencies\n      run: |\n        sudo apt update\n        sudo apt install build-essential libssl-dev libffi-dev libunwind-dev \\\n          libreadline-dev zlib1g-dev libbz2-dev libsqlite3-dev libncurses5-dev \\\n          libsnappy-dev libgirepository1.0-dev\n\n    # Use this Python\n    # https://github.com/actions/setup-python/blob/main/README.md\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Python package dependencies\n      run: |\n        python -m pip install -U pip\n        pip install -U -r requirements-dev.txt\n\n    - name: Install this package\n      run: |\n        pip install .[all]\n\n    - name: Prechecks\n      run: |\n        python -c \"import autobahn; print(autobahn.__version__)\"\n        python -c \"from autobahn import xbr; print(xbr.HAS_XBR)\"\n        python -c \"from autobahn.testutil import FakeTransport; print(FakeTransport)\"\n        python -c \"import os; print('WEB3_INFURA_PROJECT_ID', len(os.environ.get('WEB3_INFURA_PROJECT_ID', '')))\"\n        python -c \"import os; print('WEB3_INFURA_API_SECRET', len(os.environ.get('WEB3_INFURA_API_SECRET', '')))\"\n\n    # does not work on py3.11\n    # python -c \"from web3.auto.infura import w3; print(w3.isConnected())\"\n\n    - name: Run unit tests (PyTest)\n      run: |\n        tox -c tox.ini -e ${{ matrix.framework }}\n\n  docs:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Install OS package dependencies\n      run: |\n        sudo apt update\n        sudo apt install libenchant-2-dev libbz2-dev libsnappy-dev libunwind-dev libgirepository1.0-dev\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.11'\n        architecture: 'x64'\n\n    - name: Install Python package dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements-dev.txt\n\n    - name: Install this package and run Sphinx\n      run: |\n        pip install .[all]\n        tox -c tox.ini -e sphinx\n", "state": "active", "repository": "crossbario/autobahn-python"}
{"mined_at": "2024-07-15T13:37:13.980545", "created_at": "2021-03-09T08:45:07+01:00", "updated_at": "2024-04-28T18:43:59+02:00", "name": "pyinstaller", "path": ".github/workflows/pyinstaller.yml", "contents": "name: pyinstaller\n\non:\n  workflow_run:\n    workflows:\n      - main\n    branches:\n      - master\n    types:\n      - completed\n\njobs:\n\n  # runs on x86-64 (xeon-d) host: matterhorn\n  exe_amd64:\n    runs-on: [self-hosted, linux, X64]\n\n    if: github.ref == 'refs/heads/master'\n\n    env:\n      AWS_DEFAULT_REGION: eu-central-1\n      AWS_S3_BUCKET_NAME: download.crossbario.com\n      AWS_ACCESS_KEY_ID:     ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n        architecture: 'x64'\n\n    # curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py\n    # python3 get-pip.py \"pip<20\"\n    # => fails with https://github.com/pypa/setuptools/issues/3044\n    - name: Install Python package dependencies\n      run: |\n        pip3 install -U pip\n        pip3 show pip\n        pip3 install -r requirements-dev.txt\n\n    - name: Set environment\n      run: |\n        echo AUTOBAHN_BUILD_DATE=`date -u +\"%Y-%m-%d\"` >> $GITHUB_ENV\n        echo AUTOBAHN_BUILD_ID=$(date --utc +%Y%m%d)-$(git rev-parse --short ${GITHUB_SHA}) >> $GITHUB_ENV\n        echo AUTOBAHN_VCS_REF=`git rev-parse --short ${GITHUB_SHA}` >> $GITHUB_ENV\n        echo AUTOBAHN_VERSION=$(grep -E '^(__version__)' ./autobahn/_version.py | cut -d ' ' -f3 | sed -e 's|[u\"'\\'']||g') >> $GITHUB_ENV\n        echo XBRNETWORK_EXE_FILENAME=\"xbrnetwork-linux-amd64-$(date --utc +%Y%m%d)-$(git rev-parse --short ${GITHUB_SHA})\" >> $GITHUB_ENV\n\n    - name: Print environment\n      run: |\n        echo \"\"\n        echo \"Build environment configured:\"\n        echo \"\"\n        echo \"  AUTOBAHN_BUILD_DATE     = ${AUTOBAHN_BUILD_DATE}\"\n        echo \"  AUTOBAHN_BUILD_ID       = ${AUTOBAHN_BUILD_ID}\"\n        echo \"  AUTOBAHN_VCS_REF        = ${AUTOBAHN_VCS_REF}\"\n        echo \"  AUTOBAHN_VERSION        = ${AUTOBAHN_VERSION}\"\n        echo \"\"\n        echo \"  XBRNETWORK_EXE_FILENAME = ${XBRNETWORK_EXE_FILENAME}\"\n        echo \"\"\n        echo \"  AWS_DEFAULT_REGION      = ${AWS_DEFAULT_REGION}\"\n        echo \"  AWS_S3_BUCKET_NAME      = ${AWS_S3_BUCKET_NAME}\"\n        echo \"\"\n\n    - name: Install this package\n      run: |\n        pip3 install .[all]\n\n    - name: Build & publish EXE\n      run: |\n        make build_exe\n        make upload_exe\n", "state": "disabled_manually", "repository": "crossbario/autobahn-python"}
{"mined_at": "2024-07-15T13:37:15.001609", "created_at": "2021-03-17T02:46:37+01:00", "updated_at": "2024-04-28T18:44:06+02:00", "name": "wstest", "path": ".github/workflows/wstest.yml", "contents": "# runs autobahn testsuite and uploads to\n# https://crossbario.com/reports/autobahn-testsuite-2021-03-17/clients/index.html\n\nname: wstest\n\non:\n  # Trigger this workflow when the \"deploy\" workflow has completed successfully\n  # https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#workflow_run\n  workflow_run:\n    workflows:\n      - deploy\n    branches:\n      - master\n    types:\n      - completed\n\njobs:\n\n  # runs on x86-64 (xeon-d) host: matterhorn\n  wstest_amd64:\n\n    if: github.ref == 'refs/heads/master'\n\n    runs-on: [self-hosted, linux, X64]\n\n    strategy:\n      matrix:\n        python-version: ['3.9', 'pypy-3.7']\n\n    env:\n      AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}\n      AWS_S3_BUCKET_NAME: ${{ secrets.AWS_S3_BUCKET_NAME }}\n\n    steps:\n    # Checkout sources\n    - uses: actions/checkout@v2\n\n    # Use this Python\n    # https://github.com/actions/setup-python/blob/main/README.md\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Python package dependencies\n      run: |\n        curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py\n        python3 get-pip.py \"pip<20\"\n        pip3 show pip\n        pip3 install -r requirements-dev.txt\n\n    - name: Set environment\n      run: |\n        echo AUTOBAHN_BUILD_DATE=`date -u +\"%Y-%m-%d\"` >> $GITHUB_ENV\n        echo AUTOBAHN_BUILD_ID=$(date --utc +%Y%m%d)-$(git rev-parse --short ${GITHUB_SHA}) >> $GITHUB_ENV\n        echo AUTOBAHN_VCS_REF=`git rev-parse --short ${GITHUB_SHA}` >> $GITHUB_ENV\n        echo AUTOBAHN_VERSION=$(grep -E '^(__version__)' ./autobahn/_version.py | cut -d ' ' -f3 | sed -e 's|[u\"'\\'']||g') >> $GITHUB_ENV\n\n    - name: Print environment\n      run: |\n        echo \"\"\n        echo \"Build environment configured:\"\n        echo \"\"\n        echo \"  AUTOBAHN_BUILD_DATE = ${AUTOBAHN_BUILD_DATE}\"\n        echo \"  AUTOBAHN_BUILD_ID   = ${AUTOBAHN_BUILD_ID}\"\n        echo \"  AUTOBAHN_VCS_REF    = ${AUTOBAHN_VCS_REF}\"\n        echo \"  AUTOBAHN_VERSION    = ${AUTOBAHN_VERSION}\"\n        echo \"\"\n        echo \"  AWS_DEFAULT_REGION  = ${AWS_DEFAULT_REGION}\"\n        echo \"  AWS_S3_BUCKET_NAME  = ${AWS_S3_BUCKET_NAME}\"\n        echo \"\"\n\n    - name: Install this package\n      run: |\n        pip install .[all]\n\n    - name: Run a Docker container with the fuzzing server and upload reports\n      run: |\n        cd wstest\n        make wstest_server_docker_stop\n        make wstest_server_docker_pull\n        make wstest_server_docker_quick\n        sleep 5\n        python testee_client_tx.py\n        python testee_client_aio.py\n        make wstest_server_docker_stop\n        pwd\n        ls -la .\n        ls -la ./reports\n        aws s3 sync --delete --acl public-read --region=${AWS_DEFAULT_REGION} \\\n          ./reports \\\n          s3://crossbario.com/reports/websocket-testsuite/autobahn-${AUTOBAHN_VERSION}-${{ matrix.python-version }}\n", "state": "disabled_manually", "repository": "crossbario/autobahn-python"}
{"mined_at": "2024-07-15T13:37:17.077200", "created_at": "2024-02-02T01:22:25+01:00", "updated_at": "2024-07-08T20:20:11+02:00", "name": "Netmiko", "path": ".github/workflows/main_testing.yaml", "contents": "---\nname: Netmiko\non: [push,pull_request]\nenv:\n  environment: gh_actions\n  FORCE_COLOR: 1\n\njobs:\n  linters:\n    name: linters\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v5\n        id: cp311\n        with:\n          python-version: '3.11'\n          architecture: x64\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.3.2\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n\n      - name: Cache Poetry virtualenv\n        uses: actions/cache@v2\n        id: cached-poetry-dependencies\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-cache-${{ steps.cp311.outputs.version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install Dependencies\n        run: poetry install\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n\n      - name: Run pylama\n        run: |\n          poetry run pylama .\n\n      - name: Run black\n        run: |\n          poetry run black --check .\n\n      - name: Run mypy\n        run: |\n          poetry run mypy --version\n          poetry run mypy ./netmiko/\n \n  pytest:\n    name: Testing on Python ${{ matrix.python-version }} (${{ matrix.platform}})\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        python-version: [ '3.8', '3.9', '3.10', '3.11' ]\n        platform: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.platform }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v5\n        id: py_ver\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.3.2\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n\n      - name: Cache Poetry virtualenv\n        uses: actions/cache@v2\n        id: cached-poetry-dependencies\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-cache-${{ steps.py_ver.outputs.version }}-${{ hashFiles('**/poetry.lock') }}\n        if: ${{ matrix.platform != 'windows-latest' }}  # windows hangs if using a cached venv\n\n      - name: Install Dependencies\n        run: poetry install\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n\n      - name: Run Tests\n        run: |\n          poetry run pytest -v -s tests/test_import_netmiko.py\n          poetry run pytest -v -s tests/unit/test_base_connection.py\n          poetry run pytest -v -s tests/unit/test_utilities.py\n          poetry run pytest -v -s tests/unit/test_ssh_autodetect.py\n          poetry run pytest -v -s tests/unit/test_connection.py\n          poetry run pytest -v -s tests/unit/test_entry_points.py\n", "state": "active", "repository": "ktbyers/netmiko"}
{"mined_at": "2024-07-15T13:37:18.125446", "created_at": "2023-10-20T06:59:59+02:00", "updated_at": "2023-10-20T06:59:59+02:00", "name": "Python application", "path": ".github/workflows/python-app.yml", "contents": null, "state": "active", "repository": "ktbyers/netmiko"}
{"mined_at": "2024-07-15T13:37:19.173788", "created_at": "2022-09-01T23:00:46+02:00", "updated_at": "2022-09-01T23:00:46+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ktbyers/netmiko"}
{"mined_at": "2024-07-15T13:37:21.273018", "created_at": "2021-03-13T21:23:55+01:00", "updated_at": "2021-03-13T21:23:55+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "---\nname: CI\n\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\"]\n  workflow_dispatch:\n\njobs:\n  tests:\n    name: \"Python ${{ matrix.python-version }} ${{ matrix.tox-test }}\"\n    runs-on: \"ubuntu-latest\"\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        tox-test: [\"default\"]\n\n    steps:\n      - uses: \"actions/checkout@v3\"\n      - uses: \"actions/setup-python@v4\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n      - name: \"Install test locales\"\n        run: |\n          echo \"de_DE.UTF-8 UTF-8\" | sudo tee -a /etc/locale.gen\n          echo \"cs_CZ.UTF-8 UTF-8\" | sudo tee -a /etc/locale.gen\n          echo \"el_GR.UTF-8 UTF-8\" | sudo tee -a /etc/locale.gen\n          echo \"fr_FR.UTF-8 UTF-8\" | sudo tee -a /etc/locale.gen\n          sudo locale-gen\n      - name: \"Install dependencies\"\n        run: |\n          set -xe\n          python -VV\n          python -m site\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install --upgrade coverage[toml] virtualenv tox tox-gh-actions\n\n      - name: \"Run tox targets for ${{ matrix.python-version }}\"\n        if: ${{ matrix.tox-test == 'default' }}\n        # Fake a TTY\n        shell: 'script -q -e -c \"bash --noprofile --norc -eo pipefail {0}\"'\n        run: \"python -m tox\"\n", "state": "active", "repository": "pimutils/khal"}
{"mined_at": "2024-07-15T13:37:24.137927", "created_at": "2021-12-11T20:57:04+01:00", "updated_at": "2022-02-04T02:22:23+01:00", "name": "Run Sage CI for Linux", "path": ".github/workflows/ci-sage.yml", "contents": "name: Run Sage CI for Linux\n\n## This GitHub Actions workflow provides:\n##\n##  - portability testing, by building and testing this project on many platforms\n##\n##  - continuous integration, by building and testing other software\n##    that depends on this project.\n##\n## It runs on every push of a tag to the GitHub repository.\n##\n## The testing can be monitored in the \"Actions\" tab of the GitHub repository.\n##\n## After all jobs have finished (or are canceled) and a short delay,\n## tar files of all logs are made available as \"build artifacts\".\n##\n## This GitHub Actions workflow uses the portability testing framework\n## of SageMath (https://www.sagemath.org/).  For more information, see\n## https://doc.sagemath.org/html/en/developer/portability_testing.html\n\n## The workflow consists of two jobs:\n##\n##  - First, it builds a source distribution of the project\n##    and generates a script \"update-pkgs.sh\".  It uploads them\n##    as a build artifact named upstream.\n##\n##  - Second, it checks out a copy of the SageMath source tree.\n##    It downloads the upstream artifact and replaces the project's\n##    package in the SageMath distribution by the newly packaged one\n##    from the upstream artifact, by running the script \"update-pkgs.sh\".\n##    Then it builds a small portion of the Sage distribution.\n##\n## Many copies of the second step are run in parallel for each of the tested\n## systems/configurations.\n\non:\n  push:\n    tags:\n      - '*'\n  pull_request:\n    paths:\n      - .github/workflows/ci-sage.yml\n  workflow_dispatch:\n    # Allow to run manually\n\npermissions:\n  contents: read\n\nenv:\n  # Ubuntu packages to install so that the project's \"setup.py sdist\" can succeed\n  DIST_PREREQ: python3\n  # Name of this project in the Sage distribution\n  SPKG:        setuptools\n\njobs:\n\n  dist:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out ${{ env.SPKG }}\n        uses: actions/checkout@v4\n        with:\n          path: build/pkgs/${{ env.SPKG }}/src\n      - name: Install prerequisites\n        run: |\n          sudo DEBIAN_FRONTEND=noninteractive apt-get update\n          sudo DEBIAN_FRONTEND=noninteractive apt-get install $DIST_PREREQ\n          python3 -m pip install build\n      - name: Run make dist, prepare upstream artifact\n        run: |\n          (cd build/pkgs/${{ env.SPKG }}/src && python3 -m build --sdist) \\\n          && mkdir -p upstream && cp build/pkgs/${{ env.SPKG }}/src/dist/*.tar.gz upstream/${{ env.SPKG }}-git.tar.gz \\\n          && echo \"sage-package create ${{ env.SPKG }} --pypi --source normal --type standard; sage-package create ${{ env.SPKG }} --version git --tarball ${{ env.SPKG }}-git.tar.gz --type=standard\" > upstream/update-pkgs.sh \\\n          && if [ -n \"${{ env.REMOVE_PATCHES }}\" ]; then echo \"(cd ../build/pkgs/${{ env.SPKG }}/patches && rm -f ${{ env.REMOVE_PATCHES }}; :)\" >> upstream/update-pkgs.sh; fi \\\n          && ls -l upstream/\n      - uses: actions/upload-artifact@v3\n        with:\n          path: upstream\n          name: upstream\n\n  linux:\n    # https://github.com/sagemath/sage/blob/develop/.github/workflows/docker.yml\n    uses: sagemath/sage/.github/workflows/docker.yml@develop\n    with:\n      # Sage distribution packages to build\n      targets: setuptools pyzmq\n      # Standard setting: Test the current beta release of Sage:\n      sage_repo: sagemath/sage\n      sage_ref: develop\n      upstream_artifact: upstream\n      # We prefix the image name with the SPKG name (\"setuptools-\") to avoid the error\n      # 'Package \"sage-docker-...\" is already associated with another repository.'\n      docker_push_repository: ghcr.io/${{ github.repository }}/setuptools-\n    needs: [dist]\n", "state": "active", "repository": "pypa/setuptools"}
{"mined_at": "2024-07-15T13:37:25.200342", "created_at": "2020-12-07T03:44:32+01:00", "updated_at": "2024-02-25T21:16:03+01:00", "name": "tests", "path": ".github/workflows/main.yml", "contents": "name: tests\n\non:\n  merge_group:\n  push:\n    branches-ignore:\n    # temporary GH branches relating to merge queues (jaraco/skeleton#93)\n    - gh-readonly-queue/**\n    tags:\n    # required if branches-ignore is supplied (jaraco/skeleton#103)\n    - '**'\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: >-\n    ${{ github.workflow }}-\n    ${{ github.ref_type }}-\n    ${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\nenv:\n  # Environment variable to support color support (jaraco/skeleton#66)\n  FORCE_COLOR: 1\n\n  # Suppress noisy pip warnings\n  PIP_DISABLE_PIP_VERSION_CHECK: 'true'\n  PIP_NO_PYTHON_VERSION_WARNING: 'true'\n  PIP_NO_WARN_SCRIPT_LOCATION: 'true'\n\n  # Ensure tests can sense settings about the environment\n  TOX_OVERRIDE: >-\n    testenv.pass_env+=GITHUB_*,FORCE_COLOR\n\n\njobs:\n  test:\n    strategy:\n      # https://blog.jaraco.com/efficient-use-of-ci-resources/\n      matrix:\n        python:\n        - \"3.8\"\n        - \"3.12\"\n        platform:\n        - ubuntu-latest\n        - macos-latest\n        - windows-latest\n        include:\n        - python: \"3.9\"\n          platform: ubuntu-latest\n        - python: \"3.10\"\n          platform: ubuntu-latest\n        - python: \"3.11\"\n          platform: ubuntu-latest\n        - python: pypy3.10\n          platform: ubuntu-latest\n          distutils: stdlib\n        - platform: ubuntu-latest\n          python: \"3.10\"\n          distutils: stdlib\n        # Python 3.8, 3.9 are on macos-13 but not macos-latest (macos-14-arm64)\n        # https://github.com/actions/setup-python/issues/850\n        # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n        - {python: \"3.8\", platform: \"macos-13\"}\n        exclude:\n        - {python: \"3.8\", platform: \"macos-latest\"}\n    runs-on: ${{ matrix.platform }}\n    continue-on-error: ${{ matrix.python == '3.13' }}\n    env:\n      SETUPTOOLS_USE_DISTUTILS: ${{ matrix.distutils || 'local' }}\n    timeout-minutes: 75\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        id: python-install\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: setuptools/tests/config/downloads/*.cfg\n          key: >-\n            ${{ hashFiles('setuptools/tests/config/setupcfg_examples.txt') }}-\n            ${{ hashFiles('setuptools/tests/config/downloads/*.py') }}\n      - name: Populate download cache\n        if: steps.cache.outputs.cache-hit != 'true'\n        working-directory: setuptools/tests/config\n        run: python -m downloads.preload setupcfg_examples.txt\n      - name: Pre-build distributions for test\n        shell: bash\n        run: |\n          rm -rf dist\n          # workaround for pypa/setuptools#4333\n          pipx run --pip-args 'pyproject-hooks!=1.1' build\n          echo \"PRE_BUILT_SETUPTOOLS_SDIST=$(ls dist/*.tar.gz)\" >> $GITHUB_ENV\n          echo \"PRE_BUILT_SETUPTOOLS_WHEEL=$(ls dist/*.whl)\" >> $GITHUB_ENV\n          rm -rf setuptools.egg-info  # Avoid interfering with the other tests\n      - name: Workaround for unreleased PyNaCl (pyca/pynacl#805)\n        if: contains(matrix.python, 'pypy')\n        run: echo \"SETUPTOOLS_ENFORCE_DEPRECATION=0\" >> $GITHUB_ENV\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox\n      - name: Create coverage report\n        if: hashFiles('.coverage') != ''  # Rudimentary `file.exists()`\n        run: pipx run coverage xml --ignore-errors\n      - name: Publish coverage\n        if: hashFiles('coverage.xml') != ''  # Rudimentary `file.exists()`\n        uses: codecov/codecov-action@v4\n        with:\n          flags: >-  # Mark which lines are covered by which envs\n            CI-GHA,\n            ${{ github.job }},\n            OS-${{ runner.os }},\n            VM-${{ matrix.platform }},\n            Py-${{ steps.python-install.outputs.python-version }}\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  collateral:\n    strategy:\n      fail-fast: false\n      matrix:\n        job:\n        - diffcov\n        - docs\n        - check-extern\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Eval ${{ matrix.job }}\n        run: tox -e ${{ matrix.job }}\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n    - integration-test\n    - test\n    - collateral\n    - test_cygwin\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        allowed-skips: integration-test\n        jobs: ${{ toJSON(needs) }}\n\n  test_cygwin:\n    strategy:\n      matrix:\n        python:\n        - 39\n        platform:\n        - windows-latest\n    runs-on: ${{ matrix.platform }}\n    timeout-minutes: 75\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Cygwin with Python\n        uses: cygwin/cygwin-install-action@v4\n        with:\n          platform: x86_64\n          packages: >-\n            python${{ matrix.python }},\n            python${{ matrix.python }}-devel,\n            python${{ matrix.python }}-tox,\n            gcc-core,\n            git,\n      - name: Record the currently selected Python version\n        id: python-install\n        # NOTE: This roughly emulates what `actions/setup-python` provides\n        # NOTE: except the action gets the version from the installation path\n        # NOTE: on disk and we get it from runtime.\n        run: |\n          python -c 'import platform; print(\"python-version=\" + platform.python_version())' >> ${GITHUB_OUTPUT}\n        shell: C:\\cygwin\\bin\\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\\cygwin\\bin\\bash.exe -leo pipefail -o igncr {0}\n      - name: Run tests\n        shell: C:\\cygwin\\bin\\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\\cygwin\\bin\\bash.exe -leo pipefail -o igncr {0}\n        run: |\n          git config --global --add safe.directory \"$(cygpath -u \"$GITHUB_WORKSPACE\")\" # workaround for #3408\n          tox\n      - name: Create coverage report\n        if: hashFiles('.coverage') != ''  # Rudimentary `file.exists()`\n        run: |\n          python -m pip install coverage\n          python -m coverage xml --ignore-errors\n        shell: C:\\cygwin\\bin\\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\\cygwin\\bin\\bash.exe -leo pipefail -o igncr {0}\n      - name: Publish coverage\n        if: hashFiles('coverage.xml') != ''  # Rudimentary `file.exists()`\n        uses: codecov/codecov-action@v4\n        with:\n          files: >-\n            ${{ github.workspace }}\\coverage.xml\n          flags: >-  # Mark which lines are covered by which envs\n            CI-GHA,\n            ${{ github.job }},\n            OS-${{ runner.os }},\n            VM-${{ matrix.platform }},\n            Py-${{ steps.python-install.outputs.python-version }}\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  integration-test:\n    needs: test\n    if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && contains(github.ref, 'refs/tags/'))\n    # To avoid long times and high resource usage, we assume that:\n    # 1. The setuptools APIs used by packages don't vary too much with OS or\n    #    Python implementation\n    # 2. Any circumstance for which the previous assumption is not valid is\n    #    already tested via unit tests (or other tests not classified here as\n    #    \"integration\")\n    # With that in mind, the integration tests can run for a single setup\n    runs-on: ubuntu-latest\n    timeout-minutes: 75\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install OS-level dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install build-essential gfortran libopenblas-dev libyaml-dev\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          # Use a release that is not very new but still have a long life:\n          python-version: \"3.10\"\n      - name: Install tox\n        run: |\n          python -m pip install tox\n      - name: Run integration tests\n        run: tox -e integration\n\n  release:\n    permissions:\n      contents: write\n    needs:\n    - check\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n    timeout-minutes: 75\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox -e release\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pypa/setuptools"}
{"mined_at": "2024-07-15T13:37:27.207519", "created_at": "2022-04-11T07:38:12+02:00", "updated_at": "2022-04-22T06:09:45+02:00", "name": "conda-build", "path": ".github/workflows/ci.yml", "contents": "name: conda-build\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - 'v*'\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest, ubuntu-latest, macos-latest]\n        python-version: [3.9, '3.10', 3.11]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Cache conda\n      uses: actions/cache@v2\n      env:\n        CACHE_NUMBER: 0\n      with:\n        path: ~/conda_pkgs_dir\n        key:\n          ${{ runner.os }}-${{ matrix.python-version }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}\n\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        auto-update-conda: true\n        environment-file: environment.yml\n        python-version: ${{ matrix.python-version }}\n        auto-activate-base: false\n        use-only-tar-bz2: true\n\n    - name: Conda info\n      shell: bash -l {0}\n      run: |\n        conda info\n        conda list\n\n    - name: Setup QuantEcon\n      shell: bash -l {0}\n      run: |\n        python -m pip install -U pip\n        pip install .[testing]\n\n    - name: flake8 Tests\n      shell: bash -l {0}\n      run: |\n        flake8 --select F401, F405, E231 quantecon\n\n    - name: Run Tests (pytest)\n      shell: bash -l {0}\n      run: |\n        coverage run -m pytest quantecon\n        coverage lcov\n\n    - name: Coveralls\n      uses: coverallsapp/github-action@master\n      if: runner.os == 'Linux'\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        path-to-lcov: coverage.lcov\n\n  publish:\n\n    name: Publish to PyPi\n    needs: [tests]\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.x\"\n      - name: Install flit\n        run: |\n          pip install flit~=3.6\n      - name: Build and publish\n        run: |\n          flit publish\n        env:\n          FLIT_USERNAME: __token__\n          FLIT_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "quantecon/quantecon.py"}
{"mined_at": "2024-07-15T13:37:28.202975", "created_at": "2023-05-23T14:17:32+02:00", "updated_at": "2023-05-23T14:17:32+02:00", "name": "paper-draft", "path": ".github/workflows/paper_ci.yml", "contents": null, "state": "active", "repository": "quantecon/quantecon.py"}
{"mined_at": "2024-07-15T13:37:30.544415", "created_at": "2024-07-01T23:58:01+02:00", "updated_at": "2024-07-01T23:58:01+02:00", "name": ".github/workflows/benchmark_base.yml", "path": ".github/workflows/benchmark_base.yml", "contents": null, "state": "active", "repository": "rigetti/pyquil"}
{"mined_at": "2024-07-15T13:37:31.603149", "created_at": "2024-06-08T01:56:19+02:00", "updated_at": "2024-07-01T23:58:02+02:00", "name": ".github/workflows/benchmark_pr.yml", "path": ".github/workflows/benchmark_pr.yml", "contents": null, "state": "active", "repository": "rigetti/pyquil"}
{"mined_at": "2024-07-15T13:37:32.607904", "created_at": "2022-11-10T19:39:53+01:00", "updated_at": "2022-11-10T19:39:53+01:00", "name": "Prepare Release", "path": ".github/workflows/prepare-release.yml", "contents": null, "state": "active", "repository": "rigetti/pyquil"}
{"mined_at": "2024-07-15T13:37:33.653466", "created_at": "2024-04-05T01:06:06+02:00", "updated_at": "2024-04-08T21:31:47+02:00", "name": "Publish pyQuil (test)", "path": ".github/workflows/publish-test.yml", "contents": null, "state": "active", "repository": "rigetti/pyquil"}
{"mined_at": "2024-07-15T13:37:34.808413", "created_at": "2023-09-18T22:40:54+02:00", "updated_at": "2023-09-18T22:40:54+02:00", "name": "Publish pyQuil", "path": ".github/workflows/publish.yml", "contents": "name: Publish pyQuil\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n    description: \"Manually publish release\"\n\njobs:\n  build-publish:\n    name: Build and Publish\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v3\n    - uses: snok/install-poetry@v1\n      with:\n        virtualenvs-in-project: true\n    - name: \"Build\"\n      run: |\n        poetry build --no-interaction\n    - id: publish\n      name: \"Publish\"\n      run: |\n        poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}\n        poetry publish\n        export PYQUIL_TAG_VERSION=$(poetry version --short)\n        export PYQUIL_TAG_LATEST=$([[ \"$PYQUIL_TAG_VERSION\" =~ ^[0-9]+[.][0-9]+[.][0-9]+$ ]] && echo latest || echo)\n        export PYQUIL_TAG_RC=$([[ \"$PYQUIL_TAG_VERSION\" =~ ^[0-9]+[.][0-9]+[.][0-9]+-rc[.][0-9]+$ ]] && echo rc || echo)\n        echo \"PYQUIL_TAG_VERSION=$PYQUIL_TAG_VERSION\" >> \"$GITHUB_OUTPUT\"\n        echo \"PYQUIL_TAG_LATEST=$PYQUIL_TAG_LATEST\" >> \"$GITHUB_OUTPUT\"\n        echo \"PYQUIL_TAG_RC=$PYQUIL_TAG_RC\" >> \"$GITHUB_OUTPUT\"\n    outputs:\n      PYQUIL_TAG_VERSION: ${{ steps.publish.outputs.PYQUIL_TAG_VERSION }}\n      PYQUIL_TAG_LATEST: ${{ steps.publish.outputs.PYQUIL_TAG_LATEST }}\n      PYQUIL_TAG_RC: ${{ steps.publish.outputs.PYQUIL_TAG_RC }}\n\n  build-publish-grpc-web:\n    name: Build and Publish (pyquil-grpc-web)\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v3\n    - uses: snok/install-poetry@v1\n      with:\n        virtualenvs-in-project: true\n    - name: Patch package metadata for grpc-web\n      run: |\n        pip install toml\n        python scripts/ci_publish_grpc_web.py\n    - name: Poetry Build\n      run: |\n        poetry build --no-interaction\n    - name: Upload wheels as artifacts\n      uses: actions/upload-artifact@v2 \n      with: \n        name: wheels\n        path: dist\n    - name: Mint token\n      id: mint\n      uses: tschm/token-mint-action@v1.0.3\n    - name: Publish the package with poetry\n      run: |\n        poetry publish -u __token__ -p '${{ steps.mint.outputs.api-token }}'\n\n  docker-publish:\n    name: Docker Publish\n    runs-on: ubuntu-latest\n    needs: build-publish\n    env:\n      PYQUIL_TAG_VERSION: ${{ needs.build-publish.outputs.PYQUIL_TAG_VERSION }}\n      PYQUIL_TAG_LATEST: ${{ needs.build-publish.outputs.PYQUIL_TAG_LATEST }}\n      PYQUIL_TAG_RC: ${{ needs.build-publish.outputs.PYQUIL_TAG_RC }}\n    steps:\n      # Determine the tags to publish based on the release tag\n      - name: Docker Metadata\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ${{ vars.DOCKER_IMAGE_NAME }}\n          tags: |\n            type=raw,value=${{ env.PYQUIL_TAG_VERSION }}\n            type=raw,value=${{ env.PYQUIL_TAG_LATEST }},enable=${{ env.PYQUIL_TAG_LATEST != '' }}\n            type=raw,value=${{ env.PYQUIL_TAG_RC }},enable=${{ env.PYQUIL_TAG_RC != '' }}\n      # Checkout is needed to use the path context: .\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Build and Test\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          load: true\n          tags: \"${{ vars.DOCKER_IMAGE_NAME }}:test\"\n          build-args: |\n            pyquil_version=${{ env.PYQUIL_TAG_VERSION }}\n      - name: Test Image\n        run: |\n          docker run --rm \"${{ vars.DOCKER_IMAGE_NAME }}:test\" python -c \"from pyquil import get_qc\"\n      # Build and publish the image\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      - name: Build and Push\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            pyquil_version=${{ env.PYQUIL_TAG_VERSION }}\n", "state": "active", "repository": "rigetti/pyquil"}
{"mined_at": "2024-07-15T13:37:35.925644", "created_at": "2022-08-05T00:15:20+02:00", "updated_at": "2022-08-10T23:08:06+02:00", "name": "Release Dry Run", "path": ".github/workflows/release-dry-run.yml", "contents": "name: Release Dry Run\n\non:\n  pull_request:\n    branches: [ master ]\n  workflow_dispatch:\n    inputs:\n      type:\n        description: Runs knope with the --dry-run flag to see what the next release would look like.\n        required: true\n        default: prerelease\n        options:\n          - prerelease\n          - release\n\njobs:\n  release-dry-run:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Install Knope\n      uses: knope-dev/action@v2.0.0\n      with:\n        version: 0.11.0 # Test before updating, breaking changes likely: https://github.com/knope-dev/action#install-latest-version\n    - name: Prepare Prerelease\n      run: knope prerelease --dry-run\n      if: github.event_name == 'pull_request'\n    - name: Prepare Release\n      run: knope ${{ inputs.type }} --dry-run\n      if: github.event_name == 'workflow_dispatch'\n", "state": "active", "repository": "rigetti/pyquil"}
{"mined_at": "2024-07-15T13:37:36.950363", "created_at": "2022-08-05T00:24:37+02:00", "updated_at": "2023-09-18T22:38:03+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    branches:\n      - master\n  workflow_dispatch:\n    inputs:\n      type:\n        description: Bump versions and trigger a new release.\n        required: true\n        default: prerelease\n        options:\n          - prerelease\n          - release\n\njobs:\n  prepare-release:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ secrets.PAT }}\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n        token: ${{ secrets.PAT }}\n    - name: Install Knope\n      uses: knope-dev/action@v2.0.0\n      with:\n        version: 0.11.0 # Test before updating, breaking changes likely: https://github.com/knope-dev/action#install-latest-version\n    - name: Configure Git\n      run: |\n        git config --global user.name \"${{ github.triggering_actor }}\"\n        git config --global user.email \"${{ github.triggering_actor}}@users.noreply.github.com\"\n    - name: Prepare Prerelease\n      run: knope prerelease\n      if: github.event_name == 'push'\n    - name: Prepare Release\n      run: knope ${{ inputs.type }}\n      if: github.event_name == 'workflow_dispatch'\n", "state": "active", "repository": "rigetti/pyquil"}
{"mined_at": "2024-07-15T13:37:38.064180", "created_at": "2020-12-16T16:18:03+01:00", "updated_at": "2020-12-16T16:18:03+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n  workflow_dispatch:\n\njobs:\n  docs:\n    name: Build and test documentation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - uses: actions/cache@v2\n        with:\n          path: .venv\n          key: poetry-${{ hashFiles('poetry.lock') }}\n      - name: Build and test the documentation\n        run: |\n          sudo apt update\n          sudo apt install pandoc\n          . scripts/ci_install_deps\n          poetry run make docs\n\n  check-format:\n    name: Check formatting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - uses: actions/cache@v2\n        with:\n          path: .venv\n          key: poetry-${{ hashFiles('poetry.lock') }}\n      - name: Check format\n        run: |\n          sudo apt update\n          . scripts/ci_install_deps\n          poetry run make check-format\n\n  check-style:\n    name: Check style\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - uses: actions/cache@v2\n        with:\n          path: .venv\n          key: poetry-${{ hashFiles('poetry.lock') }}\n      - name: Check style\n        run: |\n          sudo apt update\n          . scripts/ci_install_deps\n          poetry run make check-style\n\n  check-types:\n    name: Check types\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - uses: actions/cache@v2\n        with:\n          path: .venv\n          key: poetry-${{ hashFiles('poetry.lock') }}\n      - name: Check types\n        run: |\n          sudo apt update\n          . scripts/ci_install_deps\n          poetry run make check-types\n\n  check-dependencies:\n\n    name: Check dependencies for vulnerabilities\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Go\n      uses: actions/setup-go@v5\n    - name: Install OSV scanner\n      run: |\n        go install github.com/google/osv-scanner/cmd/osv-scanner@latest\n    - name: Run OSV scanner\n      run: |\n        osv-scanner --lockfile=./poetry.lock\n\n  test-doctest:\n    name: Run Doctests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13.0-beta.1\"]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/cache@v2\n        with:\n          path: .venv\n          key: poetry-${{ hashFiles('poetry.lock') }}\n      - name: Test Unit (Python ${{ matrix.python-version }})\n        run: |\n          sudo apt update\n          . scripts/ci_install_deps\n          sudo apt install pandoc\n          docker run --rm -itd -p 5555:5555 rigetti/quilc -R\n          docker run --rm -itd -p 5000:5000 rigetti/qvm -S\n          poetry run make doctest\n\n  test-unit:\n    name: Test Unit\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write # allows coverage bot to comment\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13.0-beta.1\"]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/cache@v2\n        with:\n          path: .venv\n          key: poetry-${{ hashFiles('poetry.lock') }}\n      - name: Test Unit (Python ${{ matrix.python-version }})\n        run: |\n          sudo apt update\n          . scripts/ci_install_deps\n          docker run --rm -itd -p 5555:5555 rigetti/quilc -R\n          docker run --rm -itd -p 5000:5000 rigetti/qvm -S\n          poetry run make test\n      - name: Report Coverage\n        if: matrix.python-version == '3.11' && github.event_name == 'pull_request'\n        continue-on-error: true \n        uses: orgoro/coverage@v3.1\n        with:\n          coverageFile: coverage.xml\n          thresholdAll: 0.87\n          thresholdNew: 0.9\n          token:  ${{ secrets.GITHUB_TOKEN }}\n\n  check-docker-image:\n    name: Check docker image\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.9'\n      - uses: actions/cache@v2\n        with:\n          path: .venv\n          key: poetry-${{ hashFiles('poetry.lock') }}\n      - name: Check wheel installation\n        run: |\n          sudo apt update\n          pip wheel . -w wheels\n      - name: Build and Test\n        uses: docker/build-push-action@v4\n        with:\n          file: Dockerfile.test\n          context: .\n          load: true\n          tags: test\n      - name: Test Image\n        run: |\n          docker run --rm test python -c \"from pyquil import get_qc\"\n\n  test-e2e:\n    name: Test e2e QVM\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13.0-beta.1\"]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/cache@v2\n        with:\n          path: .venv\n          key: poetry-${{ hashFiles('poetry.lock') }}\n      - name: Test e2e QVM (Python ${{ matrix.python-version }})\n        id: runTests\n        run: |\n          sudo apt update\n          . scripts/ci_install_deps\n          docker run --rm -itd -p 5555:5555 rigetti/quilc -R\n          docker run --rm -itd -p 5000:5000 rigetti/qvm -S\n          poetry run make e2e TEST_QUANTUM_PROCESSOR=2q-qvm\n          docker ps -q | xargs -L 1 docker logs\n      - name: Dump docker logs\n        if: always() && steps.runTests.outcome == 'failure'\n        run: |\n            docker ps -q | xargs -L 1 docker logs\n", "state": "active", "repository": "rigetti/pyquil"}
{"mined_at": "2024-07-15T13:37:40.231925", "created_at": "2020-06-19T21:13:10+02:00", "updated_at": "2023-11-12T16:05:57+01:00", "name": "Android Integration", "path": ".github/workflows/android.yml", "contents": "on: [push, pull_request]\n\nenv:\n  PYTHONFORANDROID_PREREQUISITES_INSTALL_INTERACTIVE: 0\n\nname: Android Integration\njobs:\n  Integration:\n    strategy:\n      matrix:\n        os:\n          - 'ubuntu-latest'\n          - 'macOs-latest'\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: Setup python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Setup Java\n      uses: actions/setup-java@v4\n      with:\n        java-version: '17'\n        distribution: 'temurin'\n    - uses: actions/checkout@v4\n    - name: Setup environment\n      run: |\n        pip install .\n    - run: buildozer --help\n    - run: buildozer init\n    - name: SDK, NDK and p4a download\n      run: |\n        sed -i.bak \"s/# android.accept_sdk_license = False/android.accept_sdk_license = True/\" buildozer.spec\n        sed -i.bak \"s/#p4a.branch = master/p4a.branch = develop/\" buildozer.spec\n        buildozer android p4a -- --help\n    # Install OS specific dependencies\n    - name: Install Linux dependencies\n      if: matrix.os == 'ubuntu-latest'\n      # Required by some p4a recipes, but not\n      # installed by p4a on Linux.\n      run: sudo apt -y install automake        \n    - name: Debug Build\n      run: |\n        touch main.py\n        buildozer android debug\n    - name: Release Build (aab)\n      run: |\n        touch main.py\n        export BUILDOZER_ALLOW_ORG_TEST_DOMAIN=1\n        buildozer android release\n", "state": "active", "repository": "kivy/buildozer"}
{"mined_at": "2024-07-15T13:37:41.334167", "created_at": "2020-06-20T19:15:31+02:00", "updated_at": "2020-06-20T19:15:31+02:00", "name": "iOS", "path": ".github/workflows/ios.yml", "contents": "on: [push, pull_request]\nname: iOS\njobs:\n  Integration:\n    name: \"Integration (${{ matrix.runs_on }}, ${{ matrix.python }})\"\n    runs-on: ${{ matrix.runs_on }}\n    strategy:\n      matrix:\n        # macos-latest (ATM macos-14) runs on Apple Silicon,\n        # macos-13 runs on Intel\n        runs_on: [macos-latest, macos-13]\n    steps:\n    - name: Setup python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - uses: actions/checkout@v4\n    - name: Setup environment\n      run: |\n        pip install .[ios]\n    - name: Check buildozer installation\n      run: |\n        buildozer --help\n    - name: Initialize buildozer in project folder\n      run: |\n        buildozer init\n    - name: Install dependencies\n      run: |\n        brew install autoconf automake libtool pkg-config\n    - name: buildozer ios debug\n      run: |\n        touch main.py\n        buildozer ios debug\n", "state": "active", "repository": "kivy/buildozer"}
{"mined_at": "2024-07-15T13:37:42.504597", "created_at": "2023-11-10T08:35:24+01:00", "updated_at": "2023-11-10T08:35:24+01:00", "name": "No Response", "path": ".github/workflows/no-response.yml", "contents": "name: No Response\n\n# Both `issue_comment` and `scheduled` event types are required for this Action\n# to work properly.\non:\n  issue_comment:\n    types: [created]\n  schedule:\n    # Schedule for an arbitrary time (5am) once every day\n    - cron: '* 5 * * *'\n\njobs:\n  noResponse:\n    # Don't run if in a fork\n    if: github.repository_owner == 'kivy'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb\n        # This commit hash targets release v0.5.0 of lee-dohm/no-response.\n        # Targeting a commit hash instead of a tag has been done for security reasons.\n        # Please be aware that the commit hash specifically targets the \"Automatic compilation\"\n        # done by `github-actions[bot]` as the `no-response` Action needs to be compiled.\n        with:\n          token: ${{ github.token }}\n          daysUntilClose: 42\n          responseRequiredLabel: 'awaiting-reply'\n          closeComment: >\n                This issue has been automatically closed because there has been no response\n                to our request for more information from the original author. With only the\n                information that is currently in the issue, we don't have the means\n                to take action. Please reach out if you have or find the answers we need so\n                that we can investigate further.\n", "state": "active", "repository": "kivy/buildozer"}
{"mined_at": "2024-07-15T13:37:43.554314", "created_at": "2020-05-17T07:28:04+02:00", "updated_at": "2020-05-17T07:28:04+02:00", "name": "PyPI release", "path": ".github/workflows/pypi-release.yml", "contents": "name: PyPI release\non: [push]\n\njobs:\n  pypi_release:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Install build dependencies\n      run: |\n        python -m pip install --upgrade setuptools wheel twine build\n    - name: Build\n      run: |\n        python -m build \n        twine check dist/*\n    - name: Publish package\n      if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@v1.1.0\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "kivy/buildozer"}
{"mined_at": "2024-07-15T13:37:44.653389", "created_at": "2021-12-08T11:43:04+01:00", "updated_at": "2021-12-08T11:43:04+01:00", "name": "Support Requests", "path": ".github/workflows/support.yml", "contents": "# When a user creates an issue that is actually a support request, it should\n# be closed with a friendly comment.\n#\n# This triggers on an issue being labelled with the `support` tag.\n\nname: 'Support Requests'\n\non:\n  issues:\n    types: [labeled, unlabeled, reopened]\n\npermissions:\n  issues: write\n\njobs:\n  action:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/support-requests@v4\n        with:\n          github-token: ${{ github.token }}\n          support-label: 'support'\n          issue-comment: >\n            👋 @{issue-author},\n            \n            Sorry to hear you are having difficulties with Kivy's Buildozer; Kivy unites a number of different technologies, so building apps can be temperamental.\n\n            We try to use GitHub issues only to track work for developers to do to fix bugs and add new features to Buildozer. This issue has been closed, because it doesn't describe a bug or new feature request for Buildozer.\n\n            There is a mailing list and a Discord channel to support Kivy users debugging their own systems, which should be able to help. They are linked in the [ReadMe](https://github.com/kivy/buildozer#support).\n\n            Of course, if it turns out you have stumbled over a bug in Buildozer, we do want to hear about it here. The support channels should be able to help you craft an appropriate bug report.\n          \n          close-issue: true\n          lock-issue: false\n", "state": "active", "repository": "kivy/buildozer"}
{"mined_at": "2024-07-15T13:37:45.679997", "created_at": "2019-12-22T19:12:03+01:00", "updated_at": "2020-06-19T21:13:10+02:00", "name": "Tests", "path": ".github/workflows/test_python.yml", "contents": "on: [push, pull_request]\nname: Tests\njobs:\n  Tests:\n    name: base\n    strategy:\n      matrix:\n        python:\n           - '3.8'\n           - '3.9'\n           - '3.10'\n           - '3.11'\n        os:\n          - 'ubuntu-latest'\n          - 'macOs-latest'\n        architecture:\n          - 'x64'\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Requirements\n      run: |\n        pip install -U coveralls setuptools tox>=2.0\n    - name: Tox\n      run: tox\n    - name: Coveralls\n      env:\n        COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NAME: github\n      run: coveralls\n\n  Docker:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Docker build\n      run: docker build --tag=kivy/buildozer .\n    - name: Docker run\n      run: docker run kivy/buildozer --version\n\n  Documentation:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Requirements\n      run: pip install -U sphinx\n    - name: Check links\n      run: sphinx-build -b linkcheck docs/source docs/build\n    - name: Generate documentation\n      run: sphinx-build docs/source docs/build\n\n", "state": "active", "repository": "kivy/buildozer"}
{"mined_at": "2024-07-15T13:37:47.634310", "created_at": "2020-03-05T01:54:37+01:00", "updated_at": "2020-04-03T23:48:25+02:00", "name": "Tests", "path": ".github/workflows/pythonapp.yml", "contents": "name: Tests\n\non:\n  push:\n    paths:\n    - \"**/*.py\"\n  pull_request:\n    paths:\n    - \"**/*.py\"\n\njobs:\n  old_python:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-13, ubuntu-20.04, windows-2019]\n        python-version: [\"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: \"Set up timezone to America/Los_Angeles\"\n      uses: szenius/set-timezone@v1.2\n      with:\n        timezoneLinux: \"America/Los_Angeles\"\n        timezoneMacos: \"America/Los_Angeles\"\n        timezoneWindows: \"Pacific Standard Time\"\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n    - name: Test with unittest\n      run: |\n        python -m unittest discover tests\n\n  latest_python:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-latest, ubuntu-latest, windows-latest]\n        python-version: [\"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: \"Set up timezone to America/Los_Angeles\"\n      uses: szenius/set-timezone@v1.2\n      with:\n        timezoneLinux: \"America/Los_Angeles\"\n        timezoneMacos: \"America/Los_Angeles\"\n        timezoneWindows: \"Pacific Standard Time\"\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n    - name: Test with unittest\n      run: |\n        python -m unittest discover tests\n", "state": "active", "repository": "kellyjonbrazil/jc"}
{"mined_at": "2024-07-15T13:37:48.630620", "created_at": "2021-12-21T22:21:19+01:00", "updated_at": "2021-12-21T22:21:19+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "kellyjonbrazil/jc"}
{"mined_at": "2024-07-15T13:37:50.654831", "created_at": "2023-03-20T05:38:29+01:00", "updated_at": "2023-03-20T05:38:29+01:00", "name": "Documentation", "path": ".github/workflows/build_docs.yml", "contents": "name: Documentation\n\non:\n  workflow_call:\n\njobs:\n  docs-GH:\n    name: Build Docs\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install Dependencies\n      run: |\n        pip install -e .[docs]\n    - name: Build Docs\n      run: sphinx-build -W ./docs ./build\n", "state": "active", "repository": "imageio/imageio"}
{"mined_at": "2024-07-15T13:37:51.687383", "created_at": "2021-10-18T22:07:34+02:00", "updated_at": "2022-07-04T05:31:36+02:00", "name": "CD", "path": ".github/workflows/cd.yml", "contents": "name: CD\n\n# This action handles ImageIOs automatic releasing. It performs the following steps:\n#\n# - check for any new commits to master in fixed intervals (if none, exit)\n# - check if they require a new semver version (if no, exit)\n# - run through full unit-tests (if they fail, exit)\n# - check if the docs build without warnings (if they fail, exit)\n# - check if the wheel can be built (if it fails, exit)\n# - bump ImageIO's version\n# - update the changelog with the changes made (breaking, feature, fix, doc,\n#   ...)\n# - commit, tag, and push the new version + changelog to master (this also\n#   pushes the new tag)\n# - build the new imageIO version\n# - release the new version to GitHub and PyPI\n\n\non:\n  schedule:\n    - cron: '42 1 * * 1' # weekly on Monday at 1:42am (UTC)\n  workflow_dispatch:\n\nconcurrency:\n  group: deployment\n\njobs:\n  initial_check:\n    name: Should release?\n    if: github.repository_owner == 'imageio'\n    runs-on: ubuntu-latest\n    outputs:\n      make_release: ${{ env.make_release }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Install Dependencies\n      run: |\n        pip install python-semantic-release==7.34.6\n    - name: Detect API changes\n      id: skippy\n      run: |\n        export PYTHONPATH=$PWD:$PYTHONPATH\n        if [[ $(semantic-release print-version 2>/dev/null) = \"\" ]]; then\n          echo \"make_release=false\" >> \"$GITHUB_ENV\"\n          echo \"No changes to the API detected.\"\n        else\n          echo \"make_release=true\" >> \"$GITHUB_ENV\"\n          echo \"Releasing v$(semantic-release print-version)\"\n        fi\n\n  docs:\n    name: Build Docs\n    needs: initial_check\n    if: needs.initial_check.outputs.make_release == 'true'\n    uses: ./.github/workflows/build_docs.yml\n  \n  cpython_tests:\n    needs: initial_check\n    if: needs.initial_check.outputs.make_release == 'true'\n    name: CPython Test Suite\n    uses: ./.github/workflows/cpython_tests.yml\n\n  pypy_tests:\n    name: PyPy Test Suite\n    needs: initial_check\n    if: needs.initial_check.outputs.make_release == 'true'\n    uses: ./.github/workflows/pypy_tests.yml\n  \n  build_test:\n    name: Wheel Building Test\n    needs: initial_check\n    if: needs.initial_check.outputs.make_release == 'true'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies for tests\n        shell: bash\n        run: |\n            pip install .[build]\n      - name: Build the wheel\n        run: python setup.py sdist bdist_wheel\n\n  release:\n    name: Release new Version\n    needs: [cpython_tests, pypy_tests, build_test, docs]\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Python Semantic Release\n      uses: python-semantic-release/python-semantic-release@v7.34.6\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        pypi_token: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "imageio/imageio"}
{"mined_at": "2024-07-15T13:37:52.834361", "created_at": "2021-02-16T17:17:13+01:00", "updated_at": "2023-03-19T19:52:19+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\n# This action runs through ImageIO's continous integration pipeline. It\n# performs the following checks:\n# \n# - Linting/Style (Black)\n# - Invokes the unit tests in no-internet mode on python 3.8\n# - runs unit test on cypthon in matrix mode (python 3.X) x (3 major OS)\n# - runs unit tests on pypy in matrix mode (pypy 3.X) x (3 major OS)\n\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\nconcurrency:\n  group: ci-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  docs-GH:\n    name: Build Docs\n    uses: ./.github/workflows/build_docs.yml\n\n  style:\n    name: \"Linting\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - uses: psf/black@24.1.1\n        with:\n          args: \". --check\"\n      - name: Install Dependencies\n        shell: bash\n        run: |\n            pip install .[linting]\n      - name: Flake8\n        uses: liskin/gh-problem-matcher-wrap@v2\n        with:\n          linters: flake8\n          run: flake8 .\n\n  no-internet:\n    name: \"No-Internet Install\"\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n      - name: Install Dependencies\n        run: |\n            # Build to force downloading images (but this step needs numpy and pillow)\n            pip install -q --upgrade numpy pillow\n            python setup.py sdist\n            pip install .[test,all-plugins]\n            # Delete the local copy, so we're actually using the installed version\n            rm -rf ./imageio ./build ./egg-info\n      - name: Unit tests\n        run: |\n            pytest -v -m \"not needs_internet\"\n        env:\n          IMAGEIO_NO_INTERNET: 1\n\n  cpython:\n    name: CPython Test Suite\n    uses: ./.github/workflows/cpython_tests.yml\n\n  pypy:\n    name: PyPy Test Suite\n    uses: ./.github/workflows/pypy_tests.yml\n", "state": "active", "repository": "imageio/imageio"}
{"mined_at": "2024-07-15T13:37:53.953872", "created_at": "2023-03-20T05:38:29+01:00", "updated_at": "2023-03-20T05:38:29+01:00", "name": "CPython Test Suite", "path": ".github/workflows/cpython_tests.yml", "contents": "name: CPython Test Suite\n\non:\n  workflow_call:\n\njobs:\n  cpython:\n    name: \"${{ matrix.os }} / CPython ${{ matrix.pyversion }}\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        pyversion: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - name: Linux py310 full\n            os: ubuntu-latest\n            pyversion: '3.10'\n            TEST_UNIT: 1\n            TEST_FULL: 1\n          - name: Use PyAV 10.0.0\n            pyversion: '3.11'\n            PYAV_10_0_0: 1\n        exclude:\n          # exclude 3.11 on windows until we can replicate the\n          # access violation found in CI\n          - os: windows-latest\n            pyversion: '3.11'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - name: Set up Python ${{ matrix.pyversion }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.pyversion }}\n      - name: Install dependencies for tests\n        shell: bash\n        run: |\n            pip install .[test,all-plugins]\n      - name: Install OpenCV on non-MacOS\n        if: matrix.os != 'macos-latest'\n        run: |\n            pip install opencv-python\n      - name: Install optional dependencies for tests\n        if: matrix.TEST_FULL == 1\n        run: |\n            pip install -q --upgrade simpleitk astropy\n      - name: Downgrade PyAV\n        # PyAV 10.0.0 is needed on py3.11 but has issues, so we only use it on\n        # py3.11 for now\n        if: matrix.PYAV_10_0_0 != 1\n        run: |\n            pip install --upgrade av!=10.0.0\n      - name: Run All Unit tests\n        run: |\n            coverage run -m pytest -v --github-username \"anything\" --github-token ${{ secrets.GITHUB_TOKEN }}\n      - name: Upload coverage to Codecov\n        run: |\n          curl -s https://codecov.io/bash | bash\n        shell: bash\n", "state": "active", "repository": "imageio/imageio"}
{"mined_at": "2024-07-15T13:37:54.970410", "created_at": "2023-03-20T05:38:29+01:00", "updated_at": "2023-03-20T05:38:29+01:00", "name": "PyPy Test Suite", "path": ".github/workflows/pypy_tests.yml", "contents": "name: PyPy Test Suite\n\non:\n  workflow_call:\n\njobs:\n  pypy:\n    name: \"${{ matrix.os }} / ${{ matrix.pyversion }}\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-12\"]\n        pyversion: [\"pypy-3.9\", \"pypy-3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up pypy\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.pyversion }}\"\n      - name: MacOS Numpy Fix\n        if: runner.os == 'macOS'\n        run: |\n            brew install openblas\n            OPENBLAS=\"$(brew --prefix openblas)\" pypy3 -m pip install numpy\n      - name: Install dependencies\n        shell: bash\n        run: |\n            pypy3 -m pip install .[test,all-plugins-pypy]\n      - name: Run Unit tests\n        run: |\n            pytest -v --github-username \"anything\" --github-token ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "imageio/imageio"}
{"mined_at": "2024-07-15T13:37:57.025611", "created_at": "2020-10-19T05:00:57+02:00", "updated_at": "2021-06-02T01:16:35+02:00", "name": "rstcheck", "path": ".github/workflows/rstcheck.yml", "contents": "name: rstcheck\n\n# Run this workflow for commits to doc files\non:\n  push:\n    paths:\n      - \".github/workflows/rstcheck.yml\"\n      - \"README.rst\"\n      - \"docs/**\"\n      - \"ci/rstcheck/*\"\n  pull_request:\n    paths:\n      - \".github/workflows/rstcheck.yml\"\n      - \"README.rst\"\n      - \"docs/**\"\n      - \"ci/rstcheck/*\"\n\npermissions:\n  contents: read\n\njobs:\n  rstcheck:\n    name: rstcheck\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.3\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install -r ci/rstcheck/requirements.txt\n\n      - name: Run rstcheck\n        run: |\n          rstcheck -r --ignore-directives automodule --ignore-substitutions version,release,today .\n", "state": "active", "repository": "toblerity/fiona"}
{"mined_at": "2024-07-15T13:37:58.015100", "created_at": "2023-09-05T00:04:45+02:00", "updated_at": "2023-09-05T00:50:48+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ main, 'maint-*' ]\n    paths:\n      - '.github/workflows/tests.yml'\n      - 'requirements*.txt'\n      - 'setup.py'\n      - 'setup.cfg'\n      - 'MANIFEST.in'\n      - 'pyproject.toml'\n      - 'fiona/**'\n      - 'tests/**'\n  pull_request:\n    branches: [ main, 'maint-*' ]\n    paths:\n      - '.github/workflows/tests.yml'\n      - 'requirements*.txt'\n      - 'setup.py'\n      - 'setup.cfg'\n      - 'MANIFEST.in'\n      - 'pyproject.toml'\n      - 'fiona/**'\n      - 'tests/**'\n  schedule:\n    - cron:  '0 0 * * 0'\n\npermissions:\n  contents: read\n\njobs:\n  docker_tests:\n    runs-on: ubuntu-latest\n    name: Docker | GDAL=${{ matrix.gdal-version }} | python=${{ matrix.python-version }}\n    container: ghcr.io/osgeo/gdal:ubuntu-small-${{ matrix.gdal-version }}\n    env:\n        DEBIAN_FRONTEND: noninteractive\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: '3.8'\n            gdal-version: '3.4.3'\n          - python-version: '3.9'\n            gdal-version: '3.5.3'\n          - python-version: '3.10'\n            gdal-version: '3.6.4'\n          - python-version: '3.11'\n            gdal-version: '3.7.3'\n          - python-version: '3.12'\n            gdal-version: '3.8.3'\n\n    steps:\n      - uses: actions/checkout@v4.1.3\n\n      - name: Update\n        run: |\n          apt-get update\n          apt-get -y install software-properties-common\n          add-apt-repository -y ppa:deadsnakes/ppa\n          apt-get update\n\n      - name: Set up Python ${{ matrix.python-version }}\n        run: |\n          apt-get install -y --no-install-recommends \\\n            python${{ matrix.python-version }} \\\n            python${{ matrix.python-version }}-dev \\\n            python${{ matrix.python-version }}-venv \\\n            python3-pip \\\n            g++\n\n      - name: Install dependencies\n        run: |\n          python${{ matrix.python-version }} -m venv testenv\n          . testenv/bin/activate\n          python -m pip install --upgrade pip\n          python -m pip wheel -r requirements-dev.txt\n          python -m pip install -r requirements-dev.txt\n          python setup.py clean\n          python -m pip install --no-deps --force-reinstall -e .[test]\n\n      - name: Run tests\n        run: |\n          . testenv/bin/activate\n          python -m pytest -v -m \"not wheel or gdal\" -rxXs --cov fiona --cov-report term-missing\n\n  conda_test:\n    name: Conda | ${{ matrix.os }} | python=${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        include:\n          - os: macos-13\n            python-version: '3.11'\n          - os: macos-14\n            python-version: '3.11'\n          - os: windows-latest\n            python-version: '3.11'\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Conda Setup\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          auto-update-conda: true\n          use-only-tar-bz2: false\n\n      - name: Install Env (OSX)\n        if: matrix.os == 'macos-13' || matrix.os == 'macos-14'\n        shell: bash -l {0}\n        run: |\n          conda config --prepend channels conda-forge\n          conda config --set channel_priority strict\n          conda create -n test python=${{ matrix.python-version }} libgdal geos=3.11 cython=3\n          conda activate test\n          python -m pip install -e . || python -m pip install -e .\n          python -m pip install -r requirements-dev.txt\n\n      - name: Install Env (Windows)\n        if: matrix.os == 'windows-latest'\n        shell: bash -l {0}\n        run: |\n          conda config --prepend channels conda-forge\n          conda config --set channel_priority strict\n          conda create -n test python=${{ matrix.python-version }} libgdal geos=3.11 cython=3\n          conda activate test\n          GDAL_VERSION=\"3.7\" python setup.py build_ext -I\"/c/Users/runneradmin/miniconda3/envs/test/Library/include\" -lgdal -L\"/c/Users/runneradmin/miniconda3/envs/test/Library/lib\" install\n          python -m pip install -r requirements-dev.txt\n\n      - name: Check and Log Environment\n        shell: bash -l {0}\n        run: |\n          conda activate test\n          python -V\n          conda info\n\n      - name: Test with Coverage (Windows)\n        if: matrix.os == 'windows-latest'\n        shell: bash -l {0}\n        run: |\n          conda activate test\n          pytest -v -m \"not wheel\" -rxXs --cov fiona --cov-report term-missing\n\n      - name: Test with Coverage (OSX)\n        if: matrix.os == 'macos-13'\n        shell: bash -l {0}\n        run: |\n          conda activate test\n          python -m pytest -v -m \"not wheel\" -rxXs  --cov fiona --cov-report term-missing\n\n      - uses: codecov/codecov-action@v3\n", "state": "active", "repository": "toblerity/fiona"}
{"mined_at": "2024-07-15T13:37:59.030967", "created_at": "2023-09-05T00:04:45+02:00", "updated_at": "2023-09-05T00:50:48+02:00", "name": "Test GDAL Latest", "path": ".github/workflows/test_gdal_latest.yml", "contents": "name: Test GDAL Latest\n\non:\n  push:\n    branches: [ main, 'maint-*' ]\n  schedule:\n    - cron:  '0 0 * * 0'\n  pull_request:  # also build on PRs touching this file\n    paths:\n      - \".github/workflows/test_gdal_latest.yaml\"\n      - \"ci/gdal-compile.sh\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  test_gdal_latest:\n    name: GDAL Latest\n    runs-on: ubuntu-latest\n    container: osgeo/proj:9.1.0\n    env:\n      GDAL_DIR: ${{ github.workspace }}/gdal_install\n      GDAL_DATA: ${{ github.workspace }}/gdal_install/share/gdal\n      LD_LIBRARY_PATH: \"${{ github.workspace }}/gdal_install/lib/:${LD_LIBRARY_PATH}\"\n    steps:\n      - uses: actions/checkout@v4.1.3\n      - name: Update\n        run: |\n          apt-get update\n          apt-get -y install software-properties-common\n          add-apt-repository -y ppa:deadsnakes/ppa\n          apt-get update\n\n      - name: Set up Python\n        run: |\n          apt-get install -y --no-install-recommends \\\n            python3.10 \\\n            python3.10-dev \\\n            python3.10-venv \\\n            python3-pip \\\n            g++\n\n      - name: Install GDAL\n        shell: bash\n        run: |\n          apt-get update\n          apt-get install -qq \\\n            libcurl4-gnutls-dev \\\n            libgeos-dev \\\n            libjpeg-dev \\\n            libnetcdf-dev \\\n            libhdf4-alt-dev \\\n            libhdf5-serial-dev \\\n            libssl-dev \\\n            libsqlite3-dev \\\n            libexpat-dev \\\n            libxerces-c-dev \\\n            libpng-dev \\\n            libopenjp2-7-dev \\\n            libzstd-dev \\\n            libwebp-dev \\\n            cmake \\\n            curl \\\n            git\n          bash ci/gdal-compile.sh git\n\n      - name: Install dependencies\n        run: |\n          export PATH=\"${GDAL_DIR}/bin/:${PATH}\"\n          python3.10 -m venv testenv\n          . testenv/bin/activate\n          python -m pip install --upgrade pip\n          python -m pip wheel -r requirements-dev.txt\n          python -m pip install -r requirements-dev.txt\n          python setup.py clean\n          python -m pip install --no-deps --force-reinstall -e .[test]\n\n      - name: Test\n        shell: bash\n        run: |\n          export PATH=\"${GDAL_DIR}/bin/:${PATH}\"\n          . testenv/bin/activate\n          python -m pytest -v -m \"not wheel or gdal\" -rxXs --cov fiona --cov-report term-missing\n", "state": "active", "repository": "toblerity/fiona"}
{"mined_at": "2024-07-15T13:38:00.098246", "created_at": "2024-03-11T18:11:18+01:00", "updated_at": "2024-03-11T18:11:18+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '41 21 * * 0'\n  push:\n    branches: [ \"main\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "toblerity/fiona"}
{"mined_at": "2024-07-15T13:38:02.465355", "created_at": "2021-03-30T10:03:09+02:00", "updated_at": "2021-10-19T14:42:53+02:00", "name": "Integration tests", "path": ".github/workflows/integration-test.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions\n#\nname: Integration tests\n\non:\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/integration-test.yaml\"\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/integration-test.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n  workflow_dispatch:\n\njobs:\n  integration-tests:\n    # integration tests run in a container,\n    # not in the worker, so this version is not relevant to the tests\n    # and can be the same for all tested versions\n    runs-on: ubuntu-22.04\n\n    name: ${{ matrix.name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: \"Debian 11, Py 3.9\"\n            distro_image: \"debian:11\"\n            extra_flags: \"\"\n          - name: \"Debian 12, Py 3.11\"\n            distro_image: \"debian:12\"\n            extra_flags: \"\"\n          - name: \"Ubuntu 20.04, Py 3.8\"\n            distro_image: \"ubuntu:20.04\"\n            extra_flags: \"\"\n          - name: \"Ubuntu 22.04 Py 3.10\"\n            distro_image: \"ubuntu:22.04\"\n            extra_flags: \"\"\n          - name: \"Ubuntu 24.04 Py 3.12\"\n            distro_image: \"ubuntu:24.04\"\n            extra_flags: \"\"\n          - name: \"Ubuntu 22.04, Py 3.10, from main\"\n            distro_image: \"ubuntu:22.04\"\n            extra_flags: --upgrade-from=main\n          - name: \"Ubuntu 22.04, Py 3.10, from latest\"\n            distro_image: \"ubuntu:22.04\"\n            extra_flags: --upgrade-from=latest\n          - name: \"Ubuntu 22.04, Py 3.10, from 0.2.0\"\n            distro_image: \"ubuntu:22.04\"\n            extra_flags: --upgrade-from=0.2.0\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Build systemd image, derived from ${{ matrix.distro_image }}\n        run: |\n          .github/integration-test.py build-image \\\n              --build-arg \"BASE_IMAGE=${{ matrix.distro_image }}\"\n\n      # Overview of how this logic influences the end result.\n      # - integration-test.yaml:\n      #\n      #   - Runs integration-test.py build-image, to build a systemd based image\n      #     to use later.\n      #\n      #   - Runs integration-test.py run-tests, to start a systemd based\n      #     container, run the bootstrap.py script inside it, and then run\n      #     pytest from the hub python environment setup by the bootstrap\n      #     script.\n      #\n      # About passed --installer-args:\n      #\n      #   - --admin admin:admin\n      #     Required for test_admin_installer.py\n      #\n      #   - --plugin /srv/src/integration-tests/plugins/simplest\n      #     Required for test_simplest_plugin.py\n      #\n      - name: pytest integration-tests/\n        id: integration-tests\n        run: |\n          .github/integration-test.py run-test integration-tests \\\n              --installer-args \"--admin test-admin-username:test-admin-password\" \\\n              --installer-args \"--plugin /srv/src/integration-tests/plugins/simplest\" \\\n              ${{ matrix.extra_flags }} \\\n              test_hub.py \\\n              test_proxy.py \\\n              test_install.py \\\n              test_extensions.py \\\n              test_admin_installer.py \\\n              test_simplest_plugin.py\n        timeout-minutes: 15\n      - name: show logs\n        if: always() && steps.integration-tests.outcome != 'skipped'\n        run: |\n          .github/integration-test.py show-logs integration-tests\n\n  integration-tests-bootstrap:\n    # integration tests run in a container,\n    # not in the worker, so this version is not relevant to the tests\n    # and can be the same for all tested versions\n    runs-on: ubuntu-22.04\n\n    name: ${{ matrix.name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: \"Ubuntu 22.04 Py 3.10 (test_bootstrap.py)\"\n            distro_image: \"ubuntu:22.04\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      # FIXME: The test_bootstrap.py script has duplicated logic to run build\n      #        and start images and run things in them. This makes tests slower,\n      #        and adds code to maintain. Let's try to remove it.\n      #\n      #        - bootstrap.py's failure detections, put in unit tests?\n      #        - bootstrap.py's --show-progress-page test, include as a normal\n      #          integration test?\n      #\n      - name: Install integration-tests/requirements.txt for test_bootstrap.py\n        run: pip install -r integration-tests/requirements.txt\n\n      - name: Run bootstrap tests (Runs in/Builds ${{ matrix.distro_image }} derived image)\n        run: |\n          pytest integration-tests/test_bootstrap.py\n        timeout-minutes: 10\n        env:\n          # integration-tests/test_bootstrap.py will build and start containers\n          # based on this environment variable. This is similar to how\n          # .github/integration-test.py build-image can take a --build-arg\n          # setting the base image via a Dockerfile ARG.\n          BASE_IMAGE: ${{ matrix.distro_image }}\n", "state": "active", "repository": "jupyterhub/the-littlest-jupyterhub"}
{"mined_at": "2024-07-15T13:38:03.481945", "created_at": "2021-03-29T21:08:59+02:00", "updated_at": "2021-10-28T20:55:44+02:00", "name": "Unit tests", "path": ".github/workflows/unit-test.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions\n#\nname: Unit tests\n\non:\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/unit-test.yaml\"\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/unit-test.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n  workflow_dispatch:\n\njobs:\n  unit-tests:\n    name: ${{ matrix.name }}\n\n    # runs-on can only be configured to the LTS releases of ubuntu (18.04,\n    # 20.04, ...), so if we want to test against the latest non-LTS release, we\n    # must compromise when configuring runs-on and configure runs-on to be the\n    # latest LTS release instead.\n    #\n    # This can have consequences because actions like actions/setup-python will\n    # mount cached installations associated with the chosen runs-on environment.\n    #\n    runs-on: ${{ format('ubuntu-{0}', matrix.runs_on || matrix.ubuntu_version) }}\n    container: ubuntu:${{ matrix.ubuntu_version }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: \"Ubuntu 20.04, Py 3.9\"\n            ubuntu_version: \"20.04\"\n            python_version: \"3.9\"\n          - name: \"Ubuntu 22.04, Py 3.10\"\n            ubuntu_version: \"22.04\"\n            python_version: \"3.10\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.python_version }}\"\n\n      - name: Install venv, git, pip and setup venv\n        run: |\n          export DEBIAN_FRONTEND=noninteractive\n          apt-get update\n          apt-get install --yes \\\n              python3-venv \\\n              python3-pip \\\n              bzip2 \\\n              git\n\n          python3 -m venv /srv/venv\n          echo '/srv/venv/bin' >> $GITHUB_PATH\n\n      # WARNING: This action loads a cache of pip dependencies based on the\n      #          declared key, and it will save a cache for that key on job\n      #          completion. Make sure to update the key to bust the cache\n      #          properly if you make a change that should influence it.\n      - name: Load cached Python dependencies\n        uses: actions/cache@v4\n        with:\n          path: /srv/venv/\n          key: >-\n            pip-\n            ${{ matrix.runs_on }}-\n            ${{ matrix.ubuntu_version }}-\n            ${{ matrix.python_version }}-\n            ${{ hashFiles('setup.py', 'dev-requirements.txt', '.github/workflows/unit-test.yaml') }}\n\n      - name: Install Python dependencies\n        run: |\n          pip install -r dev-requirements.txt\n          pip install -e .\n\n      - name: List Python dependencies\n        run: |\n          pip freeze\n\n      - name: Run unit tests\n        run: pytest tests\n        timeout-minutes: 15\n\n      - uses: codecov/codecov-action@v4\n", "state": "active", "repository": "jupyterhub/the-littlest-jupyterhub"}
{"mined_at": "2024-07-15T13:38:05.462861", "created_at": "2020-08-20T05:54:50+02:00", "updated_at": "2020-08-20T05:54:50+02:00", "name": "Docker Publish", "path": ".github/workflows/docker.yml", "contents": "name: Docker Publish\n\non:\n  push:\n    branches:\n      - master\n\nenv:\n  IMAGE_NAME: capirca\n\njobs:\n  build:\n    name: \"Build Capirca container\"\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v1\n      - name: Log into registry\n        run: |\n          echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin\n\n      - name: Build and tag the image\n        run: docker build . --tag $IMAGE_NAME\n\n      - name: Push the image to the container registry\n        run: |\n          IMAGE_ID=\"docker.pkg.github.com/${{ github.repository }}/$IMAGE_NAME\"\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          VERSION=$(cat VERSION)\n\n          docker tag $IMAGE_NAME $IMAGE_ID:latest\n          docker tag $IMAGE_NAME $IMAGE_ID:$VERSION\n\n          docker push $IMAGE_ID:latest\n          docker push $IMAGE_ID:$VERSION\n", "state": "active", "repository": "google/capirca"}
{"mined_at": "2024-07-15T13:38:06.525085", "created_at": "2021-03-12T18:46:46+01:00", "updated_at": "2021-03-12T18:46:46+01:00", "name": "Python package", "path": ".github/workflows/main.yml", "contents": "---\nname: Python package\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    timeout-minutes: 20\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [3.6, 3.7, 3.8, 3.9]\n        include:\n          - os-version: ubuntu-latest\n          - python-version: 3.6\n            os-version: ubuntu-20.04\n    runs-on: ${{ matrix.os-version }}\n\n\n    steps:\n    - name: Checkout branch with changes\n      uses: actions/checkout@v2\n      with:\n        path: current\n    - name: Checkout master branch\n      uses: actions/checkout@v2\n      with:\n        path: master\n        ref: master\n    - name: Set up Node.js\n      uses: actions/setup-node@v2\n      with:\n        node-version: '14'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Setup environment variables\n      run: |\n        mkdir -p artifacts\n        echo \"wfdt=$(date +'%Y%m%d_%H%M%S')\" >> $GITHUB_ENV\n    - name: Install dependencies\n      run: |\n        sudo apt update\n        sudo apt install unzip zip\n        python -m pip install --upgrade pip\n        python -m pip install setuptools wheel\n        python -m pip install flake8 pytest\n        cd current\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        cd current\n        flake8 . --count --select=W291,W293,W391 --statistic\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        flake8 . --count --exit-zero --max-complexity=10 \\\n          --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        cd current\n        pytest\n    - name: Perform end-to-end testing with current branch or pull request\n      run: |\n        cd current\n        git status\n        python setup.py sdist bdist_wheel\n        python3 -m pip -v install dist/capirca*py3*.whl\n        aclgen --output_directory ./output --logtostderr\n        cd ./output/ && \\\n          zip -r ../../artifacts/capirca_output_${{ env.wfdt }}.zip .\n        cd ..\n        python3 -m pip -v uninstall -y capirca\n    - name: Perform end-to-end testing with master branch\n      run: |\n        cd master\n        git status\n        python setup.py sdist bdist_wheel\n        python3 -m pip -v install dist/capirca*py3*.whl\n        aclgen --output_directory ./output --logtostderr\n        python3 -m pip -v uninstall -y capirca\n    - name: Compare output files between the branches\n      run: |\n        mkdir -p artifacts-diff\n        sudo npm install -g diff2html diff2html-cli\n        diff2html --version\n        diff -qr current/output master/output > \\\n          ./artifacts-diff/policy_output.diff | true\n        cat ./artifacts-diff/policy_output.diff | grep Files | grep differ \\\n          | cut -d\" \" -f2 | cut -d \"/\" -f3 > ./artifacts-diff/files.list\n        while read p; do diff -u master/output/$p current/output/$p | \\\n          diff2html -i stdin --file ./artifacts-diff/$p.html | \\\n          true; done < ./artifacts-diff/files.list\n        sed -i '/Diff to HTML by/d' ./artifacts-diff/*\n    - name: Upload generated policies\n      uses: actions/upload-artifact@v2\n      with:\n        name: capirca_output_${{ matrix.python-version }}_${{ env.wfdt }}\n        path: ./artifacts/capirca_output_${{ env.wfdt }}.zip\n    - name: Upload policy differences\n      uses: actions/upload-artifact@v2\n      with:\n        name: capirca_output_policy_diff\n        path: ./artifacts-diff\n", "state": "active", "repository": "google/capirca"}
{"mined_at": "2024-07-15T13:38:07.670485", "created_at": "2021-02-23T22:42:11+01:00", "updated_at": "2021-02-23T22:42:11+01:00", "name": "Upload Python Package", "path": ".github/workflows/pypi_release.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_APIKEY }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "google/capirca"}
{"mined_at": "2024-07-15T13:38:08.905043", "created_at": "2021-03-13T03:35:15+01:00", "updated_at": "2021-03-13T16:25:17+01:00", "name": "Python Package for Windows", "path": ".github/workflows/windows.yml", "contents": "---\nname: Python Package for Windows\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: windows-latest\n    timeout-minutes: 20\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [3.8, 3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/cache@v2\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ runner.os }}-${{ matrix.python-version}}-pip-test-${{ hashFiles('setup.py','requirements.txt','test-requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.python-version}}-pip-test-\n          ${{ runner.os }}-${{ matrix.python-version}}-pip-\n          ${{ runner.os }}-${{ matrix.python-version}}-\n    - name: Add msbuild to PATH\n      uses: microsoft/setup-msbuild@v1.0.2\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install setuptools wheel\n        python -m pip install flake8 pytest\n        python -m pip install -r test-requirements.txt\n        python -m pip install -r requirements.txt\n    - name: Build, install, and run\n      run: |\n        python setup.py sdist bdist_wheel\n        python -m pip -v install --find-links=dist --no-index capirca\n        aclgen --output_directory .\\output --logtostderr\n        powershell Compress-Archive -Force output\\* output.zip\n    - name: Upload generated policies\n      uses: actions/upload-artifact@v2\n      with:\n        name: capirca_output_${{ matrix.python-version }}\n        path: ./output.zip\n", "state": "active", "repository": "google/capirca"}
{"mined_at": "2024-07-15T13:38:09.936037", "created_at": "2023-08-01T21:55:02+02:00", "updated_at": "2023-08-01T21:55:02+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/capirca"}
{"mined_at": "2024-07-15T13:38:12.138691", "created_at": "2020-12-10T00:41:52+01:00", "updated_at": "2020-12-10T00:41:52+01:00", "name": "create-parity-issue.yml", "path": ".github/workflows/create-parity-issue.yml", "contents": "name: create-parity-issue.yml\n\non:\n  workflow_dispatch:\n    inputs:\n      prDescription:\n        description: PR description\n        default: 'No description provided'\n        required: true\n      prNumber:\n        description: PR number\n        required: true\n      prTitle:\n        description: PR title\n        required: true\n      sourceRepo:\n        description: repository PR is sourced from\n        required: true\n\njobs:\n  createIssue:\n    name: create issue\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: joshgummersall/create-issue@main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          title: |\n            port: ${{ github.event.inputs.prTitle }} (#${{ github.event.inputs.prNumber }})\n          labels: |\n            [\"parity\", \"needs-triage\", \"ExemptFromDailyDRIReport\"]\n          body: |\n             The changes in [${{ github.event.inputs.prTitle }} (#${{ github.event.inputs.prNumber }})](https://github.com/${{ github.event.inputs.sourceRepo }}/pull/${{ github.event.inputs.prNumber }}) may need to be ported to maintain parity with `${{ github.event.inputs.sourceRepo }}`.\n\n             <blockquote>\n             ${{ github.event.inputs.prDescription }}\n             </blockquote>\n\n             Please review and, if necessary, port the changes.\n", "state": "active", "repository": "microsoft/botbuilder-python"}
{"mined_at": "2024-07-15T13:38:13.223901", "created_at": "2021-04-08T20:59:01+02:00", "updated_at": "2021-04-08T20:59:01+02:00", "name": "pr-style.yml", "path": ".github/workflows/pr-style.yml", "contents": "name: pr-style.yml\n\non:\n  pull_request:\n    types: [opened, edited, synchronize]\n\njobs:\n  prStyle:\n    name: pr-style\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: joshgummersall/pr-style@main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          require_issue: \"true\"\n          skip_authors: \"dependabot\"\n", "state": "active", "repository": "microsoft/botbuilder-python"}
{"mined_at": "2024-07-15T13:38:15.531143", "created_at": "2020-01-10T06:58:19+01:00", "updated_at": "2020-01-10T06:58:19+01:00", "name": "Python package", "path": "", "contents": null, "state": "active", "repository": "minio/minio-py"}
{"mined_at": "2024-07-15T13:38:16.565602", "created_at": "2023-01-09T05:21:07+01:00", "updated_at": "2023-01-09T06:08:50+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n    branches:\n    - master\n  push:\n    branches:\n    - master\n\nenv:\n  MINIO_ROOT_USER: minio\n  MINIO_ROOT_PASSWORD: minio123\n  MINIO_CI_CD: 1\n  MINT_MODE: full\n  SERVER_ENDPOINT: localhost:9000\n  ACCESS_KEY: minio\n  SECRET_KEY: minio123\n  ENABLE_HTTPS: 1\n\n# This ensures that previous jobs for the PR are canceled when the PR is\n# updated.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: Test on python ${{ matrix.python-version }} and ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Run spell check on Ubuntu\n      if: matrix.os == 'ubuntu-latest'\n      uses: codespell-project/actions-codespell@master\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools\n        pip install certifi urllib3 mock pytest argon2-cffi pycryptodome\n    - name: Run check if Ubuntu\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        export PATH=${HOME}/.local/bin:${PATH}\n        make check\n    - name: Setup PATH if macOS\n      if: matrix.os == 'macos-latest'\n      run: |\n        echo \"/Users/runner/Library/Python/3.11/bin\" >> $GITHUB_PATH\n        echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n        echo \"/Users/runner/.local/bin\" >> $GITHUB_PATH\n    - name: Run unit tests\n      run: |\n        pip install -e .\n        pytest\n    - name: Run functional tests on Ubuntu\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        wget --quiet -O /tmp/minio https://dl.min.io/server/minio/release/linux-amd64/minio\n        chmod +x /tmp/minio\n        mkdir -p /tmp/minio-config/certs/\n        cp tests/certs/* /tmp/minio-config/certs/\n        /tmp/minio --certs-dir /tmp/minio-config/certs server /tmp/fs{1...4} &\n        SSL_CERT_FILE=/tmp/minio-config/certs/public.crt python tests/functional/tests.py\n    - name: Run functional tests on Windows\n      if: matrix.os == 'windows-latest'\n      run: |\n        New-Item -ItemType Directory -Path \"$env:temp/minio-config/certs/\"\n        Copy-Item -Path tests\\certs\\* -Destination \"$env:temp/minio-config/certs/\"\n        Invoke-WebRequest -Uri https://dl.minio.io/server/minio/release/windows-amd64/minio.exe -OutFile $HOME/minio.exe\n        Start-Process -NoNewWindow -FilePath \"$HOME/minio.exe\" -ArgumentList \"--certs-dir\", \"$env:temp/minio-config/certs\", \"server\", \"$env:temp/fs{1...4}\"\n        $env:SSL_CERT_FILE = \"$env:temp/minio-config/certs/public.crt\"\n        python tests/functional/tests.py\n", "state": "active", "repository": "minio/minio-py"}
{"mined_at": "2024-07-15T13:38:17.692190", "created_at": "2022-02-01T02:38:43+01:00", "updated_at": "2022-02-01T02:38:43+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "minio/minio-py"}
{"mined_at": "2024-07-15T13:38:20.765139", "created_at": "2022-04-20T01:00:03+02:00", "updated_at": "2023-05-10T22:31:51+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  ci:\n    uses: angr/ci-settings/.github/workflows/angr-ci.yml@master\n  pyinstaller:\n    uses: ./.github/workflows/pyinstaller-build.yml\n  windows:\n    uses: ./.github/workflows/windows.yml\n", "state": "active", "repository": "angr/angr-management"}
{"mined_at": "2024-07-15T13:38:21.902489", "created_at": "2022-11-22T19:24:28+01:00", "updated_at": "2022-12-06T00:57:06+01:00", "name": "Bundle", "path": ".github/workflows/nightly-build.yml", "contents": "name: Bundle\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n  workflow_dispatch:\n    inputs:\n      deploy:\n        description: \"Deploy the nightly build\"\n        required: false\n        default: \"false\"\n\njobs:\n  build:\n    uses: ./.github/workflows/pyinstaller-build.yml\n    with:\n      version: 'master'\n  deploy:\n    name: Deploy release\n    needs:\n      - build\n    runs-on: ubuntu-22.04\n    if: ${{ github.event_name == 'schedule' || github.event.inputs.deploy == 'true'}}\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n      - name: Delete old nightly\n        run: gh release -R angr/angr-management delete nightly --cleanup-tag --yes\n        env:\n          GH_TOKEN: ${{ github.token }}\n        continue-on-error: true\n      - name: Make nightly release\n        run: >\n          gh release create nightly \\\n            --repo angr/angr-management \\\n            --title \"angr management nightly preview\" \\\n            --notes \"$RELEASE_NOTES\" \\\n            --prerelease \\\n            --target $GITHUB_SHA \\\n            $(find . -type f)\n        env:\n          RELEASE_NOTES: >\n            This release is an automatically generated pre-release. We do our\n            best to make sure everything works, but please be advised that\n            features may break or change without notice.\n\n            Mac users: Make sure to select the build that matches your CPU\n            archetecture. Both are currently not signed, so you will need to\n            right-click and select \"Open\" the first time you run them.\n\n          GH_TOKEN: ${{ github.token }}\n\n  report:\n    name: Report status\n    needs: deploy\n    runs-on: ubuntu-22.04\n    if: ${{ github.event_name == 'schedule' && failure() }}\n    steps:\n      - name: Send result email\n        env:\n          MAILGUN_API_TOKEN: ${{ secrets.MAILGUN_API_TOKEN }}\n        run: |\n          BUILD_URL=\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n          curl -s --user \"api:$MAILGUN_API_TOKEN\" \\\n            https://api.mailgun.net/v3/mail.rev.fish/messages \\\n            -F from=\"angr management bundle <angr-nightly-ci@mail.rev.fish>\" \\\n            -F to=angr-dev@asu.edu \\\n            -F subject=\"angr management nightly bundle failed\" \\\n            -F text=\"Link to failed build: $BUILD_URL\"\n", "state": "active", "repository": "angr/angr-management"}
{"mined_at": "2024-07-15T13:38:23.039347", "created_at": "2022-04-20T01:14:05+02:00", "updated_at": "2022-04-20T01:14:05+02:00", "name": "Nightly CI", "path": ".github/workflows/nightly-ci.yml", "contents": "name: Nightly CI\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  ci:\n    uses: angr/ci-settings/.github/workflows/angr-ci.yml@master\n    with:\n      nightly: true\n    secrets: inherit\n", "state": "active", "repository": "angr/angr-management"}
{"mined_at": "2024-07-15T13:38:24.156419", "created_at": "2024-05-22T23:31:09+02:00", "updated_at": "2024-05-22T23:31:09+02:00", "name": "Pyinstaller build", "path": ".github/workflows/pyinstaller-build.yml", "contents": "name: Pyinstaller build\n\non:\n  workflow_call:\n    inputs:\n      version:\n        description: 'Release version'\n        required: false\n        type: string\n        default: 'master'\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os:\n          - ubuntu-20.04\n          - ubuntu-22.04\n          - windows-2022\n          - macos-12\n          - macos-14\n      fail-fast: false\n    name: Build on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - run: |\n          sudo apt-get update;\n          sudo apt-get install -y \\\n            libfuse2 \\\n            libegl1 \\\n            libxkbcommon-x11-0 \\\n            libxcb-cursor0 \\\n            libxcb-icccm4 \\\n            libxcb-image0 \\\n            libxcb-keysyms1 \\\n            libxcb-randr0 \\\n            libxcb-render-util0 \\\n            libxcb-shape0\n        if: startsWith(matrix.os, 'ubuntu')\n      - run: |\n          call \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat\"\n          bash .github\\workflows\\nightly-build.sh ${{ inputs.version }}\n        shell: cmd\n        if: startsWith(matrix.os, 'windows')\n      - run: bash .github/workflows/nightly-build.sh\n        if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')\n      - uses: actions/upload-artifact@v4\n        with:\n          name: angr-management-${{ matrix.os }}\n          path: |\n            upload/*.tar.gz\n            upload/*.zip\n          compression-level: 0\n\n  test_ubuntu:\n    strategy:\n      matrix:\n        os:\n          - ubuntu-20.04\n          - ubuntu-22.04\n      fail-fast: false\n    name: Test on ${{ matrix.os }}\n    needs: build\n    runs-on: ${{ matrix.os }}\n    steps:\n      - run: sudo apt-get update && sudo apt-get install -y xvfb x11-utils libegl1\n        name: Install X11 app testing utilities\n      - uses: actions/download-artifact@v4\n        with:\n          name: angr-management-${{ matrix.os }}\n      - run: |\n          set -x\n          . /etc/os-release\n\n          tar -xzf angr-management-ubuntu-$VERSION_ID.tar.gz\n          export binary=\"./angr-management/angr-management\"\n          export QT_DEBUG_PLUGINS=1\n          chmod +x $binary\n          xvfb-run bash -x -c '\n            $binary &\n            sleep 30 && output=$(xwininfo -tree -root)\n            [[ \"$output\" == *\"angr management\"* ]] || exit 1\n          '\n\n  test_windows:\n    strategy:\n      matrix:\n        os:\n          - windows-2022\n      fail-fast: false\n    name: Test on ${{ matrix.os }}\n    needs: build\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: angr-management-${{ matrix.os }}\n      - run: |\n          7z x angr-management-win64.zip\n          .\\angr-management\\angr-management.exe\n          sleep 30\n          [array]$am_windows = Get-Process |\n            Where-Object {$_.MainWindowTitle -ne \"\"} |\n            Select-Object MainWindowTitle |\n            where {$_ -match 'angr management'}\n          if ($am_windows.Length -ne 1) {\n            echo \"Number of open angr management windows\" $am_windows.Length\n            exit 1\n          }\n\n  test_macos:\n    strategy:\n      matrix:\n        os:\n          - macos-12\n          - macos-14\n      fail-fast: false\n    name: Test on ${{ matrix.os }}\n    needs: build\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: angr-management-${{ matrix.os }}\n      - run: |\n          set -x\n          unzip -o ./angr-management-macOS-$(uname -m).zip\n          open *.app\n          for i in {0..7}; do\n            sleep 15\n            windows=$(osascript -e '\n              tell application \"System Events\" to get (name of every window of processes whose name contains \"angr management\") as string\n            ')\n            if [ \"$windows\" != \"\" ]; then\n              exit 0\n            fi\n          done\n          exit 1\n", "state": "active", "repository": "angr/angr-management"}
{"mined_at": "2024-07-15T13:38:25.259689", "created_at": "2024-05-28T06:33:25+02:00", "updated_at": "2024-05-28T06:33:25+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release version'\n        required: false\n        default: 'master'\n        type: string\n\njobs:\n  build:\n    uses: ./.github/workflows/pyinstaller-build.yml\n    with:\n      version: ${{ github.event.inputs.version }}\n  deploy:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n      - name: Make release\n        run: >\n          gh release create nightly \\\n            --repo angr/angr-management \\\n            --title \"angr management ${{ github.event.inputs.version }}\" \\\n            --notes \"$RELEASE_NOTES\" \\\n            --target $GITHUB_SHA \\\n            $(find . -type f)\n        env:\n          RELEASE_NOTES: >\n            Mac users: Make sure to select the build that matches your CPU\n            archetecture. Both are currently not signed, so you will need to\n            right-click and select \"Open\" the first time you run them.\n\n          GH_TOKEN: ${{ github.token }}\n\n", "state": "active", "repository": "angr/angr-management"}
{"mined_at": "2024-07-15T13:38:26.385720", "created_at": "2024-04-05T21:15:24+02:00", "updated_at": "2024-04-05T21:15:24+02:00", "name": "Test on Windows", "path": ".github/workflows/windows.yml", "contents": "name: Test on Windows\n\non:\n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  windows:\n    name: Test Windows\n    runs-on: windows-2022\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: angr-management\n      - uses: actions/checkout@v4\n        with:\n          repository: angr/binaries\n          path: binaries\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: python -m venv $HOME/venv\n        name: Create venv\n        shell: bash\n      - run: |\n          call \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat\"\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pip install \"setuptools>=59\" wheel cffi \"unicorn==2.0.1.post1\"\n          pip install git+https://github.com/angr/archinfo.git\n          pip install git+https://github.com/angr/pyvex.git\n          pip install git+https://github.com/angr/cle.git\n          pip install git+https://github.com/angr/claripy.git\n          pip install git+https://github.com/angr/ailment.git\n          pip install --no-build-isolation git+https://github.com/angr/angr.git\n        name: Install dependencies\n        shell: cmd\n      - run: |\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pip install .\\angr-management[testing]\n        name: Install angr-management\n        shell: cmd\n      - run: |\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pytest -n auto angr-management\n        name: Run pytest\n        shell: cmd\n", "state": "active", "repository": "angr/angr-management"}
{"mined_at": "2024-07-15T13:38:31.537288", "created_at": "2024-06-19T02:48:01+02:00", "updated_at": "2024-06-19T03:11:53+02:00", "name": "phonopy test using conda-forge environment and numpy 2.0", "path": ".github/workflows/phonopy-pytest-conda-numpy2.yml", "contents": "name: phonopy test using conda-forge environment and numpy 2.0\n\non:\n  push:\n    branches-ignore:\n    - publish-gh-pages\n    - develop\n    - master\n    - rc\n  pull_request:\n    branches: [ develop ]\n\njobs:\n  build-linux:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniforge-version: latest\n    - name: Install dependencies\n      run: |\n        conda activate test\n        conda install --yes -c conda-forge python=${{ matrix.python-version }}\n        conda install --yes -c conda-forge matplotlib-base pyyaml scipy \"numpy=2\" h5py pip pytest c-compiler\n    - name: Setup spglib\n      run: |\n        conda activate test\n        git clone --depth 1 https://github.com/spglib/spglib.git\n        cd spglib\n        pip install -e . -vvv\n        cd ..\n    - name: Setup symfc\n      run: |\n        conda activate test\n        git clone --depth 1 https://github.com/symfc/symfc.git\n        cd symfc\n        pip install -e . -vvv\n        cd ..\n    - name: Setup phonopy\n      run: |\n        conda activate test\n        pip install -e . -vvv\n    - name: Test with pytest\n      run: |\n        conda activate test\n        pytest test\n", "state": "active", "repository": "phonopy/phonopy"}
{"mined_at": "2024-07-15T13:38:32.764014", "created_at": "2022-09-03T12:01:16+02:00", "updated_at": "2022-09-03T12:33:08+02:00", "name": "phonopy test using conda-forge environment with openmp", "path": ".github/workflows/phonopy-pytest-conda-openmp.yml", "contents": "name: phonopy test using conda-forge environment with openmp\n\non:\n  push:\n    branches-ignore:\n    - publish-gh-pages\n    - develop\n    - master\n    - rc\n  pull_request:\n    branches: [ develop ]\n\njobs:\n  build-linux:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniforge-version: latest\n    - name: Install dependencies\n      run: |\n        conda activate test\n        conda install --yes -c conda-forge python=${{ matrix.python-version }}\n        conda install --yes -c conda-forge matplotlib-base pyyaml scipy numpy spglib h5py pip pytest codecov pytest-cov pytest cmake c-compiler\n    - name: Setup symfc\n      run: |\n        conda activate test\n        git clone --depth 1 https://github.com/symfc/symfc.git\n        cd symfc\n        pip install -e . -vvv\n        cd ..\n    - name: Setup phonopy\n      run: |\n        conda activate test\n        export PHONOPY_USE_OPENMP=true\n        pip install -e . -vvv\n    - name: Test with pytest\n      run: |\n        conda activate test\n        pytest --cov=./ --cov-report=xml test\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n      with:\n        verbose: true\n", "state": "active", "repository": "phonopy/phonopy"}
{"mined_at": "2024-07-15T13:38:33.890443", "created_at": "2021-01-30T11:14:32+01:00", "updated_at": "2022-09-03T12:01:16+02:00", "name": "phonopy test using conda-forge environment", "path": ".github/workflows/phonopy-pytest-conda.yml", "contents": "name: phonopy test using conda-forge environment\n\non:\n  push:\n    branches-ignore:\n    - publish-gh-pages\n    - develop\n    - master\n    - rc\n  pull_request:\n    branches: [ develop ]\n\njobs:\n  build-linux:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniforge-version: latest\n    - name: Install dependencies\n      run: |\n        conda activate test\n        conda install --yes -c conda-forge python=${{ matrix.python-version }}\n        conda install --yes -c conda-forge matplotlib-base pyyaml scipy numpy spglib h5py pip pytest codecov pytest-cov c-compiler\n    - name: Setup symfc\n      run: |\n        conda activate test\n        git clone --depth 1 https://github.com/symfc/symfc.git\n        cd symfc\n        pip install -e . -vvv\n        cd ..\n    - name: Setup phonopy\n      run: |\n        conda activate test\n        pip install -e . -vvv\n    - name: Test with pytest\n      run: |\n        conda activate test\n        pytest --cov=./ --cov-report=xml test\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n      with:\n        verbose: true\n", "state": "active", "repository": "phonopy/phonopy"}
{"mined_at": "2024-07-15T13:38:34.913500", "created_at": "2023-01-02T12:05:41+01:00", "updated_at": "2023-01-02T13:31:43+01:00", "name": "publish phonopy gh-pages", "path": ".github/workflows/publish-gh-pages.yml", "contents": "name: publish phonopy gh-pages\n\non:\n  push:\n    branches: [publish-gh-pages]\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        auto-update-conda: true\n        channels: conda-forge\n        channel-priority: strict\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        conda activate test\n        conda install --yes -c conda-forge python=${{ matrix.python-version }}\n        conda install --yes -c conda-forge sphinx-book-theme linkify-it-py myst-parser sphinxcontrib-bibtex ipython\n    - name: Build\n      run: |\n        conda activate test\n        sphinx-build doc docs_build\n\n    - name: Deploy docs at develop branch\n      if: ${{ github.ref == 'refs/heads/publish-gh-pages' }}\n      uses: peaceiris/actions-gh-pages@v3\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: ./docs_build\n        # deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}\n", "state": "active", "repository": "phonopy/phonopy"}
{"mined_at": "2024-07-15T13:38:35.937758", "created_at": "2021-03-17T03:15:44+01:00", "updated_at": "2021-06-10T04:11:07+02:00", "name": "publish PyPI and TestPyPI", "path": ".github/workflows/publish-to-test-pypi.yml", "contents": "name: publish PyPI and TestPyPI\n\non:\n  push:\n    branches:\n    - master\n    - rc\n\njobs:\n  build-linux:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9, ]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Make sdist\n      run: |\n        ./get_nanoversion.sh\n        cat __nanoversion__.txt\n        pip install numpy\n        python setup.py sdist\n    - name: Publish package to TestPyPI\n      if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/rc')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n    - name: Publish package to PyPI\n      if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/master')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "phonopy/phonopy"}
{"mined_at": "2024-07-15T13:38:36.952347", "created_at": "2022-04-10T01:59:03+02:00", "updated_at": "2022-04-10T01:59:03+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "phonopy/phonopy"}
{"mined_at": "2024-07-15T13:38:39.113673", "created_at": "2022-09-07T18:21:40+02:00", "updated_at": "2022-09-07T19:40:50+02:00", "name": "Unit Tests", "path": ".github/workflows/validate-pull-request.yaml", "contents": "name: Unit Tests\non:\n  pull_request:\n    branches:\n      - develop\n      - release/**\n    paths:\n      - bmtk/**\n      - .github/workflows/**\n\njobs:\n  run-tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n        python-version: [\"3.6\", \"3.7\", \"3.8\", \"3.9\"]\n\n    steps:\n      - uses: actions/checkout@v2\n      \n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      \n      - name: Install Requirements\n        run: |\n          pip install -r test_requirements.txt\n          pip install neuron==8.0.0\n          pip install .\n\n      - name: Check NRN mechanisms directory exists\n        id: has_mechanisms_dir\n        uses: andstor/file-existence-action@v1\n        with:\n          files: bmtk/tests/simulator/bionet/components/mechanisms\n\n      - name: Setup NEURON\n        if: steps.has_mechanisms_dir.outputs.files_exists == 'true'\n        run: |\n          cd bmtk/tests/simulator/bionet/components/mechanisms\n          nrnivmodl modfiles\n\n      - name: Run Tests\n        run: |\n          pytest --cov=bmtk --cov-report=html bmtk/tests\n          \n  linter:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Requirements\n        run: |\n          pip install -r test_requirements.txt\n\n      - name: Run Python Linter\n        run: |\n          flake8 bmtk --exit-zero --statistics --count", "state": "active", "repository": "alleninstitute/bmtk"}
{"mined_at": "2024-07-15T13:38:40.100430", "created_at": "2022-02-18T18:40:05+01:00", "updated_at": "2022-02-18T18:40:05+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "alleninstitute/bmtk"}
{"mined_at": "2024-07-15T13:38:42.178926", "created_at": "2022-03-08T23:57:28+01:00", "updated_at": "2022-03-09T16:04:41+01:00", "name": "Deploy to PyPI", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Build Package\n        run: |\n          pip install wheel\n          python setup.py sdist bdist_wheel\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.4.1\n        with:\n          skip_existing: true\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "tenable/pytenable"}
{"mined_at": "2024-07-15T13:38:43.189702", "created_at": "2022-04-29T21:04:31+02:00", "updated_at": "2022-05-02T17:11:12+02:00", "name": "Testing Pipeline", "path": ".github/workflows/testing.yml", "contents": "name: Testing Pipeline\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  unit_tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          pip install pytest            \\\n                      pytest-vcr        \\\n                      pytest-datafiles  \\\n                      pytest-cov        \\\n                      responses\n          pip install -r requirements.txt\n      - name: Run the unit test suite.\n        run: |\n          pytest tests                        \\\n            --vcr-record=none                 \\\n            --cov-report term-missing         \\\n            --cov-report xml:cov/coverage.xml \\\n            --cov=tenable tests\n      - name: Save Coverage Report\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage_report_${{ matrix.python-version }}\n          path: cov\n          retention-days: 1\n\n  style:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n    - name: Setup environment\n      run: |\n        python -m pip install -U pip\n        pip install flake8          \\\n                    flake8-fixme    \\\n                    flake8-author   \\\n                    flake8-pylint   \\\n                    flake8-plugin-utils\n    - name: Run flake8\n      run: |\n        flake8 tenable            \\\n          --count                 \\\n          --select=E9,F63,F7,F82  \\\n          --show-source           \\\n          --statistics\n        flake8 tenable            \\\n          --count                 \\\n          --exit-zero             \\\n          --max-complexity=12     \\\n          --statistics\n", "state": "active", "repository": "tenable/pytenable"}
{"mined_at": "2024-07-15T13:38:45.288873", "created_at": "2021-07-07T22:29:07+02:00", "updated_at": "2021-07-15T21:56:16+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '41 6 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "softlayer/softlayer-python"}
{"mined_at": "2024-07-15T13:38:46.383563", "created_at": "2020-04-09T23:42:09+02:00", "updated_at": "2020-04-14T21:29:26+02:00", "name": "documentation", "path": ".github/workflows/documentation.yml", "contents": "name: documentation\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.11]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r tools/test-requirements.txt\n    - name: Documentation Checks\n      run: |\n        python docCheck.py\n", "state": "active", "repository": "softlayer/softlayer-python"}
{"mined_at": "2024-07-15T13:38:47.390555", "created_at": "2020-05-26T21:27:56+02:00", "updated_at": "2023-02-27T23:34:33+01:00", "name": "Release to PyPi", "path": ".github/workflows/release.yml", "contents": "# https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n# Trusted Publisher stuff: https://docs.pypi.org/trusted-publishers/adding-a-publisher/\n\nname: Release to PyPi\n\non:\n  release:\n    types: [published]\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/project/SoftLayer/\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.11\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n", "state": "active", "repository": "softlayer/softlayer-python"}
{"mined_at": "2024-07-15T13:38:48.479896", "created_at": "2023-11-16T19:16:07+01:00", "updated_at": "2023-11-16T19:16:07+01:00", "name": "🧪 Test snap can be built on x86_64", "path": ".github/workflows/test-snap-can-build.yml", "contents": null, "state": "active", "repository": "softlayer/softlayer-python"}
{"mined_at": "2024-07-15T13:38:49.496284", "created_at": "2021-04-14T21:01:17+02:00", "updated_at": "2023-09-13T16:51:37+02:00", "name": "TEST Publish 📦 to TestPyPI", "path": ".github/workflows/test_pypi_release.yml", "contents": "# https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n# Trusted Publisher stuff: https://docs.pypi.org/trusted-publishers/adding-a-publisher/\n\nname: TEST Publish 📦 to TestPyPI\n\non:\n  push:\n    branches: [test-pypi]\n\njobs:\n  build-n-publish:\n    name: TEST Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi-test\n      url: https://test.pypi.org/project/SoftLayer/\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.11\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "softlayer/softlayer-python"}
{"mined_at": "2024-07-15T13:38:50.530640", "created_at": "2020-04-14T21:29:26+02:00", "updated_at": "2021-04-26T20:14:53+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8,3.9,'3.10',3.11,3.12]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r tools/test-requirements.txt\n    - name: Tox Test\n      run: tox -e py\n  coverage:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r tools/test-requirements.txt\n    - name: Tox Coverage\n      run: tox -e coverage\n  analysis:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r tools/test-requirements.txt\n    - name: Tox Analysis\n      run: tox -e analysis\n  detectsecrets:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python/@v5\n      with:\n        python-version: 3.11\n    - name: Install Detect Secrets\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade \"git+https://github.com/ibm/detect-secrets.git@master#egg=detect-secrets\"\n    - name: Detect Secrets\n      run: |\n        detect-secrets scan --update .secrets.baseline\n        detect-secrets audit .secrets.baseline --report --fail-on-unaudited --omit-instructions", "state": "active", "repository": "softlayer/softlayer-python"}
{"mined_at": "2024-07-15T13:38:52.733556", "created_at": "2020-12-08T16:25:58+01:00", "updated_at": "2023-06-08T02:48:19+02:00", "name": "check-build", "path": ".github/workflows/check-build.yml", "contents": "name: check-build\n\non:\n  pull_request:\n    branches:\n      - master\n\n# only run one at a time per branch\nconcurrency:\n  group: check-build-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  check-build:\n    runs-on:\n      labels: ubuntu-latest-m\n    steps:\n    - name: install hugo\n      run: wget https://github.com/gohugoio/hugo/releases/download/v0.118.2/hugo_extended_0.118.2_linux-amd64.deb && sudo dpkg -i hugo_extended*.deb\n    - name: update\n      run: sudo apt-get update\n    - name: install other deps\n      run: sudo apt-get install -y jing bibutils openssh-client rsync libyaml-dev libpython3-dev\n    - uses: actions/checkout@v3\n    - name: build\n      run: make check site\n", "state": "active", "repository": "acl-org/acl-anthology"}
{"mined_at": "2024-07-15T13:38:53.778635", "created_at": "2023-11-05T12:29:25+01:00", "updated_at": "2023-12-25T14:21:27+01:00", "name": "Checks", "path": ".github/workflows/code-quality.yml", "contents": "name: Checks\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - '.pre-commit-config.yaml'\n      - '.codecov.yml'\n      - 'python/**'\n  pull_request:\n    paths:\n      - '.pre-commit-config.yaml'\n      - '.codecov.yml'\n      - 'python/**'\n\njobs:\n  build:\n    defaults:\n      run:\n        working-directory: ./python\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        poetry-version: [\"1.7.1\"]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      # Setup all dependencies\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Poetry\n        uses: abatilo/actions-poetry@v2\n        with:\n          poetry-version: ${{ matrix.poetry-version }}\n      - name: Setup a local virtual environment (if no poetry.toml file)\n        run: |\n          poetry config virtualenvs.create true --local\n          poetry config virtualenvs.in-project true --local\n      - uses: actions/cache@v3\n        name: Cache virtual environment based on Poetry lockfile\n        with:\n          path: ./.venv\n          key: venv-${{ hashFiles('poetry.lock') }}\n      - name: Install dependencies\n        run: poetry install --with dev --verbose\n      - name: Cache pre-commit hooks based on pre-commit config\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit|${{ matrix.os }}|${{ matrix.python-version }}|${{ hashFiles('~/.pre-commit-config.yaml') }}\n\n      # Run all checks and tests\n      - name: Run pre-commit hooks\n        run: poetry run pre-commit run --all-files\n        env:\n          SKIP: no-commit-to-branch\n      - name: Run type checker\n        run: poetry run mypy acl_anthology\n      - name: Run tests\n        run: poetry run pytest -m \"not integration\" --cov=acl_anthology --cov-report=xml\n\n      # Run integration tests, but only run on latest Python version to save time\n      - name: Run integration tests\n        if: ${{ matrix.python-version == '3.12' }}\n        run: poetry run pytest -m \"integration\" --cov=acl_anthology --cov-report=xml --cov-append\n\n      # Coverage report\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n", "state": "active", "repository": "acl-org/acl-anthology"}
{"mined_at": "2024-07-15T13:38:54.839161", "created_at": "2024-05-14T18:59:34+02:00", "updated_at": "2024-07-12T10:44:10+02:00", "name": "link-to-checklist", "path": ".github/workflows/link-to-checklist.yml", "contents": null, "state": "active", "repository": "acl-org/acl-anthology"}
{"mined_at": "2024-07-15T13:38:55.838530", "created_at": "2021-11-23T18:13:53+01:00", "updated_at": "2021-11-23T18:13:53+01:00", "name": "Merge PRs from acl-pwc-bot", "path": ".github/workflows/paperswithcode-automerge.yml", "contents": "name: Merge PRs from acl-pwc-bot\n\non:\n  # Triggers when the required build check is completed\n  workflow_run:\n    types:\n      - completed\n    workflows:\n      - 'check-build'\n\njobs:\n  merge-me:\n    name: Merge PR if it's by acl-pwc-bot\n    runs-on: ubuntu-latest\n    steps:\n      - # Only attempt merge when the check was a success\n        if: ${{ github.event.workflow_run.conclusion == 'success' }}\n        name: Merge PR\n        uses: ridedott/merge-me-action@v2\n        with:\n          # Merge only PRs by acl-pwc-bot this way\n          GITHUB_LOGIN: acl-pwc-bot\n          # Merge with acl-pwc-bot credentials, so the merge will trigger our\n          # deployment workflow\n          GITHUB_TOKEN: ${{ secrets.PWC_BOT_TOKEN }}\n          MERGE_METHOD: SQUASH\n", "state": "active", "repository": "acl-org/acl-anthology"}
{"mined_at": "2024-07-15T13:38:56.869549", "created_at": "2021-11-12T13:33:12+01:00", "updated_at": "2021-11-12T13:33:12+01:00", "name": "Update Papers with Code", "path": ".github/workflows/paperswithcode.yml", "contents": "# Fetches metadata from Papers with Code and commits changes\nname: Update Papers with Code\n\n# Controls when the workflow will run.\n# We run it once a week to minimize merge commits.\non:\n  # Triggers the workflow at 0:30 UTC every Thursday\n  schedule:\n  - cron: '30 0 * * 4'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  ingest-pwc:\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Update system\n      run: sudo apt-get update\n    - name: Install dependencies\n      run: sudo apt-get install -y jing bibutils openssh-client rsync libyaml-dev libpython3-dev python3-lxml\n\n    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n    - uses: actions/checkout@v3\n      name: Checkout master branch\n      with:\n        ref: master\n        fetch-depth: 0\n\n    - id: update-pwc-metadata\n      name: Update PwC metadata\n      run: |\n        python3 bin/ingest_pwc.py\n        git add data/xml/*xml\n        make check_staged_xml\n\n    # Check conditions for creating a PR\n    # - commits-this-week: number of commits (on master) by the bot during the last 6 days\n    # - lines-changed: number of added + deleted lines by the update-pwc-metadata step\n    - id: check-if-pr\n      name: Check if PR should be created\n      if: steps.update-pwc-metadata.conclusion == 'success'\n      run: |\n        echo \"commits-this-week=\"$(git log --author='acl-pwc-bot' --after=$(date --date='6 days ago' +%Y-%m-%d) --oneline | wc -l) >> $GITHUB_OUTPUT\n        echo \"lines-changed=\"$(git diff --cached --numstat data/xml/*xml | awk 'BEGIN {s=0} {s+=$1; s+=$2} END {print s}' -) >> $GITHUB_OUTPUT\n\n    - uses: peter-evans/create-pull-request@v3\n      id: create-pr\n      name: Create pull request\n      if: steps.check-if-pr.outputs.lines-changed > 0\n      with:\n        token: ${{ secrets.PWC_BOT_TOKEN }}\n        branch: automated/update-pwc-metadata\n        author: \"acl-pwc-bot <acl-pwc-bot@bollmann.me>\"\n        commit-message: \"Update metadata from Papers with Code\"\n        title: \"[automated] Update metadata from Papers with Code\"\n        body: |\n          **Auto-generated PR by GitHub action; will be merged automatically.**\n\n          Update ${{ steps.check-if-pr.outputs.lines-changed }} lines of XML data from [Papers with Code](https://paperswithcode.com/).\n        delete-branch: true\n\n    - uses: hmarr/auto-approve-action@v2\n      name: Automatically approve PR\n      if: steps.create-pr.outputs.pull-request-operation == 'created'\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        pull-request-number: ${{ steps.create-pr.outputs.pull-request-number }}\n", "state": "active", "repository": "acl-org/acl-anthology"}
{"mined_at": "2024-07-15T13:38:57.885929", "created_at": "2021-04-03T19:57:06+02:00", "updated_at": "2021-04-03T19:57:06+02:00", "name": "preview", "path": ".github/workflows/preview.yml", "contents": "# Builds a preview of all non-master branches and publishes them\n# to https://aclanthology.org/previews/BRANCHNAME\n\nname: preview\n\non:\n  push:\n    branches:\n    - '*'\n    - '!master'\n    - '!python-dev'\n\n# only run one at a time per branch\nconcurrency:\n  group: preview-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  preview:\n    if: github.repository == 'acl-org/acl-anthology'\n    runs-on:\n      labels: ubuntu-latest-m\n    steps:\n    - name: install hugo\n      run: wget https://github.com/gohugoio/hugo/releases/download/v0.118.2/hugo_extended_0.118.2_linux-amd64.deb && sudo dpkg -i hugo_extended*.deb\n    - name: update\n      run: sudo apt-get update\n    - name: install other deps\n      run: sudo apt-get install -y jing bibutils openssh-client rsync libyaml-dev libpython3-dev\n    - name: dump secret key\n      env:\n        SSH_KEY: ${{ secrets.PUBLISH_SSH_KEY }}\n      run: |\n        mkdir -p $HOME/.ssh/\n        echo \"$SSH_KEY\" > $HOME/.ssh/id_rsa\n        chmod 600 $HOME/.ssh/id_rsa\n    - uses: actions/checkout@v3\n    - name: fetch master branch\n      run: |\n        git fetch origin master\n    - name: install pip dependencies\n      run: |\n        python -m pip install -U pip\n        python -m pip install lxml\n    - name: extract branch name\n      shell: bash\n      run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >> $GITHUB_OUTPUT\n      id: extract_branch\n    - name: list volumes\n      shell: bash\n      run: echo \"volumes=$(git diff --name-only $GITHUB_REF origin/master | python ./bin/volumes_from_diff.py https://preview.aclanthology.org/${{ steps.extract_branch.outputs.branch }}/volumes)\" >> $GITHUB_OUTPUT\n      id: list_volumes\n#    - name: list volumes debug\n#      shell: bash\n#      run: |\n#        git diff --name-only $GITHUB_REF origin/master\n#        git diff --name-only $GITHUB_REF origin/master | python ./bin/volumes_from_diff.py https://preview.aclanthology.org/${{ steps.extract_branch.outputs.branch }}\n    - name: preview\n      shell: bash\n      env:\n        ANTHOLOGY_PREFIX: https://preview.aclanthology.org/${{ steps.extract_branch.outputs.branch }}\n      run: |\n        make NOBIB=true ANTHOLOGY_PREFIX=${ANTHOLOGY_PREFIX} check site preview\n    - uses: mshick/add-pr-comment@v2\n      with:\n        # this causes pushes to update the old message, instead of generating a new one\n        message-id: preview\n        message: |\n          Build successful. Some useful links:\n          * Complete site preview: https://preview.aclanthology.org/${{ steps.extract_branch.outputs.branch }}\n          * Potential volumes of interest: ${{ steps.list_volumes.outputs.volumes }}\n\n          This preview will be removed when the branch is merged.\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        allow-repeats: false\n", "state": "active", "repository": "acl-org/acl-anthology"}
{"mined_at": "2024-07-15T13:38:58.877500", "created_at": "2024-06-23T18:23:08+02:00", "updated_at": "2024-07-12T10:44:10+02:00", "name": "print-info", "path": ".github/workflows/print-info.yml", "contents": null, "state": "active", "repository": "acl-org/acl-anthology"}
{"mined_at": "2024-07-15T13:39:00.007640", "created_at": "2019-12-19T17:30:12+01:00", "updated_at": "2021-07-01T15:36:57+02:00", "name": "publish-aclanthology", "path": ".github/workflows/publish.yml", "contents": "# Publishes the build to our current mirror, aclanthology.org\n\nname: publish-aclanthology\n\non:\n  push:\n    branches:\n      - master\n\n# only run one at a time\nconcurrency: publish\n\njobs:\n  publish-aclanthology:\n    if: github.repository == 'acl-org/acl-anthology'\n    runs-on:\n      labels: ubuntu-latest-m\n    steps:\n    - name: install hugo\n      run: wget https://github.com/gohugoio/hugo/releases/download/v0.118.2/hugo_extended_0.118.2_linux-amd64.deb && sudo dpkg -i hugo_extended*.deb\n    - name: update\n      run: sudo apt-get update\n    - name: install other deps\n      run: sudo apt-get install -y jing bibutils openssh-client rsync libyaml-dev libpython3-dev\n    - name: dump secret key\n      env:\n        SSH_KEY: ${{ secrets.PUBLISH_SSH_KEY }}\n      run: |\n        mkdir -p $HOME/.ssh/\n        echo \"$SSH_KEY\" > $HOME/.ssh/id_rsa\n        chmod 600 $HOME/.ssh/id_rsa\n    - uses: actions/checkout@v3\n    - name: build\n      env:\n        ANTHOLOGY_PREFIX: https://aclanthology.org\n      run: |\n        make ANTHOLOGY_PREFIX=${ANTHOLOGY_PREFIX} check site\n    - name: publish\n      run: |\n        make ANTHOLOGY_PREFIX=${ANTHOLOGY_PREFIX} upload\n", "state": "active", "repository": "acl-org/acl-anthology"}
{"mined_at": "2024-07-15T13:39:04.085470", "created_at": "2020-08-17T22:55:24+02:00", "updated_at": "2020-08-17T22:55:24+02:00", "name": "Docker", "path": ".github/workflows/python-docker.yml", "contents": "# This file wont do us much good in this location, make sure you change the path as directed to continue!\n\nname: Docker\n\non:\n#   push:\n#     # Sequence of patterns matched against refs/tags\n#     tags:\n#       - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v1\n      - name: npm install and build webpack\n        run: |\n          npm install\n          npm run build\n      - uses: actions/upload-artifact@master\n        with:\n          name: webpack artifacts\n          path: public/\n  test:\n    runs-on: ubuntu-latest\n    needs: build\n    strategy:\n      matrix:\n        os: [ubuntu-lastest, windows-2016]\n        node-version: [12.x, 14.x]\n\n    steps:\n      - uses: actions/checkout@v1\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v1\n        with:\n          node-version: ${{ matrix.node-version }}\n      - uses: actions/download-artifact@master\n        with:\n          name: webpack artifacts\n          path: public\n      - name: npm install, and test\n        run: |\n          npm install\n          npm test\n        env:\n          CI: true\n\n  Build-and-Push-Docker-Image:\n    runs-on: ubuntu-latest\n    needs: test\n    name: Docker Build, Tag, Push\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v1\n    - name: Download built artifact\n      uses: actions/download-artifact@master\n      with:\n        name: webpack artifacts\n        path: public\n    - name: Build container image\n      uses: docker/build-push-action@v1\n      with:\n        username: ${{github.actor}}\n        password: ${{secrets.GITHUB_TOKEN}}\n        registry: docker.pkg.github.com\n        repository: aristoteleo/dynamo-release\n        tag_with_sha: true\n", "state": "active", "repository": "aristoteleo/dynamo-release"}
{"mined_at": "2024-07-15T13:39:05.131736", "created_at": "2020-08-05T03:46:50+02:00", "updated_at": "2022-02-05T21:52:52+01:00", "name": "package build", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: package build\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install git+https://github.com/pypa/pip.git@611e9253ff74ca5b8ce438c2423373ab0d44c961\n        pip install flake8 pytest\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Install package\n      run: |\n        pip install -e .[test]\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n#    - name: Test with pytest\n#      run: |\n#        pytest", "state": "active", "repository": "aristoteleo/dynamo-release"}
{"mined_at": "2024-07-15T13:39:06.351544", "created_at": "2021-08-29T14:44:56+02:00", "updated_at": "2022-02-05T21:52:52+01:00", "name": "dynamo test", "path": ".github/workflows/python-plain-run-test.yml", "contents": "# This workflow will install Python dependencies, run tests, collect coverage and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: dynamo test\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install git+https://github.com/pypa/pip.git@611e9253ff74ca5b8ce438c2423373ab0d44c961\n        pip install flake8 pytest\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Install package\n      run: |\n        pip install -e .[test]\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n#    - name: Test with pytest\n#      run: |\n#        pytest\n    - name: Run tests and collect coverage\n      run: |\n        pip install pytest-cov\n        pytest --cov=./ --cov-report=xml\n    - name: Upload coverage to Codecov\n      uses: Wandalen/wretry.action@v1\n      with:\n        action: codecov/codecov-action@v3\n        with: |\n          fail_ci_if_error: true\n          verbose: true\n        attempt_limit: 5\n        attempt_delay: 10000\n", "state": "active", "repository": "aristoteleo/dynamo-release"}
{"mined_at": "2024-07-15T13:39:07.382796", "created_at": "2020-08-05T03:46:31+02:00", "updated_at": "2020-08-05T03:46:31+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10\n  # workflow_dispatch:\n  \njobs:\n  release:\n    name: Create Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@master\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1.1.2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: Release ${{ github.ref }}\n          body: |\n            Changes in this Release\n          draft: true\n          prerelease: true\n  deploy:\n    needs: release\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.7'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build setuptools wheel twine\n    - name: Build package\n      run: python setup.py sdist bdist_wheel\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        verbose: true\n        repository-url: https://upload.pypi.org/legacy/\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "aristoteleo/dynamo-release"}
{"mined_at": "2024-07-15T13:39:08.604574", "created_at": "2022-08-31T18:24:00+02:00", "updated_at": "2022-08-31T18:24:00+02:00", "name": "Close stale issues", "path": ".github/workflows/stale.yml", "contents": "name: \"Close stale issues\"\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days'\n        days-before-stale: 90\n        days-before-close: 14\n", "state": "active", "repository": "aristoteleo/dynamo-release"}
{"mined_at": "2024-07-15T13:39:10.829870", "created_at": "2020-01-09T17:50:52+01:00", "updated_at": "2020-01-11T16:07:52+01:00", "name": "Test", "path": "", "contents": null, "state": "active", "repository": "hugovk/pypistats"}
{"mined_at": "2024-07-15T13:39:11.837615", "created_at": "2020-11-09T23:27:53+01:00", "updated_at": "2020-11-09T23:27:53+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\non:\n  push:\n    branches: [main]\n    tags: [\"*\"]\n  pull_request:\n    branches: [main]\n  release:\n    types:\n      - published\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  # Always build & lint package.\n  build-package:\n    name: Build & verify package\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: hynek/build-and-inspect-python-package@v2\n\n  # Upload to Test PyPI on every commit on main.\n  release-test-pypi:\n    name: Publish in-dev package to test.pypi.org\n    if: |\n      github.repository_owner == 'hugovk'\n      && github.event_name == 'push'\n      && github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    needs: build-package\n\n    permissions:\n      attestations: write\n      id-token: write\n\n    steps:\n      - name: Download packages built by build-and-inspect-python-package\n        uses: actions/download-artifact@v4\n        with:\n          name: Packages\n          path: dist\n\n      - name: Attest build provenance\n        uses: actions/attest-build-provenance@v1\n        with:\n          subject-path: \"dist/*\"\n\n      - name: Upload package to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n\n  # Upload to real PyPI on GitHub Releases.\n  release-pypi:\n    name: Publish released package to pypi.org\n    if: |\n      github.repository_owner == 'hugovk'\n      && github.event.action == 'published'\n    runs-on: ubuntu-latest\n    needs: build-package\n\n    permissions:\n      attestations: write\n      id-token: write\n\n    steps:\n      - name: Download packages built by build-and-inspect-python-package\n        uses: actions/download-artifact@v4\n        with:\n          name: Packages\n          path: dist\n\n      - name: Attest build provenance\n        uses: actions/attest-build-provenance@v1\n        with:\n          subject-path: \"dist/*\"\n\n      - name: Upload package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "hugovk/pypistats"}
{"mined_at": "2024-07-15T13:39:12.997479", "created_at": "2020-02-16T19:35:46+01:00", "updated_at": "2020-02-16T19:35:46+01:00", "name": "Sync labels", "path": ".github/workflows/labels.yml", "contents": "name: Sync labels\n\npermissions:\n  pull-requests: write\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - .github/labels.yml\n  workflow_dispatch:\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: micnncim/action-label-syncer@v1\n        with:\n          prune: false\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "hugovk/pypistats"}
{"mined_at": "2024-07-15T13:39:14.008913", "created_at": "2019-12-20T18:05:43+01:00", "updated_at": "2019-12-20T18:05:43+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non: [push, pull_request, workflow_dispatch]\n\nenv:\n  FORCE_COLOR: 1\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n          cache: pip\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "hugovk/pypistats"}
{"mined_at": "2024-07-15T13:39:15.159825", "created_at": "2020-02-16T19:41:36+01:00", "updated_at": "2020-02-16T19:41:36+01:00", "name": "Release drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - main\n  # pull_request event is required only for autolabeler\n  pull_request:\n    # Only following types are handled by the action, but one can default to all as well\n    types: [opened, reopened, synchronize]\n  # pull_request_target event is required for autolabeler to support PRs from forks\n  # pull_request_target:\n  #   types: [opened, reopened, synchronize]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    if: github.repository_owner == 'hugovk'\n    permissions:\n      # write permission is required to create a GitHub Release\n      contents: write\n      # write permission is required for autolabeler\n      # otherwise, read permission is required at least\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next release notes as pull requests are merged into \"main\"\n      - uses: release-drafter/release-drafter@v6\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "hugovk/pypistats"}
{"mined_at": "2024-07-15T13:39:16.173707", "created_at": "2022-09-18T17:48:17+02:00", "updated_at": "2022-09-18T17:53:08+02:00", "name": "Require PR label", "path": ".github/workflows/require-pr-label.yml", "contents": "name: Require PR label\n\non:\n  pull_request:\n    types: [opened, reopened, labeled, unlabeled, synchronize]\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n      - uses: mheap/github-action-required-labels@v5\n        with:\n          mode: minimum\n          count: 1\n          labels:\n            \"changelog: Added, changelog: Changed, changelog: Deprecated, changelog:\n            Fixed, changelog: Removed, changelog: Security, changelog: skip\"\n", "state": "active", "repository": "hugovk/pypistats"}
{"mined_at": "2024-07-15T13:39:17.272400", "created_at": "2019-12-20T18:05:43+01:00", "updated_at": "2019-12-20T18:05:43+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request, workflow_dispatch]\n\npermissions:\n  contents: read\n\nenv:\n  FORCE_COLOR: 1\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"pypy3.10\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13\"]\n        os: [windows-latest, macos-latest, ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n          cache: pip\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U tox\n\n      - name: Tox tests\n        run: |\n          tox -e py\n\n      - name: Tox tests (pins)\n        if: matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest'\n        run: |\n          tox -e pins\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v3.1.5\n        with:\n          flags: ${{ matrix.os }}\n          name: \"${{ matrix.os }} Python ${{ matrix.python-version }}\"\n\n  success:\n    needs: test\n    runs-on: ubuntu-latest\n    name: Test successful\n    steps:\n      - name: Success\n        run: echo Test successful\n", "state": "active", "repository": "hugovk/pypistats"}
{"mined_at": "2024-07-15T13:39:19.293292", "created_at": "2024-01-05T16:02:56+01:00", "updated_at": "2024-01-05T16:02:56+01:00", "name": "Mark stale issues", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues\n\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  stale:\n    permissions:\n      issues: write  # for actions/stale to close stale issues\n      pull-requests: write  # for actions/stale to close stale PRs\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/stale@v3\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          stale-issue-message: \"This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.\"\n          close-issue-message: \"This issue was closed because it has been stalled for 10 days with no activity. This does not necessarily mean that the issue is bad, but it most likely means that nobody is willing to take the time to fix it. If you have found Locust useful, then consider contributing a fix yourself!\"\n          stale-pr-message: \"This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.\"\n          close-pr-message: \"This PR was closed because it has been stalled for 10 days with no activity.\"\n          days-before-close: 10\n", "state": "active", "repository": "svenskaspel/locust-plugins"}
{"mined_at": "2024-07-15T13:39:20.454147", "created_at": "2021-08-27T21:19:07+02:00", "updated_at": "2021-08-27T21:19:07+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - { name: \"lint\", python: \"3.10\", os: ubuntu-latest, tox: \"lint\" }\n          - { name: \"no_extras\", python: \"3.10\", os: ubuntu-latest, tox: no_extras }\n          - { name: \"3.12\", python: \"3.12\", os: ubuntu-latest, tox: py312 }\n          - { name: \"3.11\", python: \"3.11\", os: ubuntu-latest, tox: py311 }\n          - { name: \"3.10\", python: \"3.10\", os: ubuntu-latest, tox: py310 }\n          - { name: \"3.9\", python: \"3.9\", os: ubuntu-latest, tox: py39 }\n          # - { name: \"3.8\", python: \"3.8\", os: ubuntu-latest, tox: py38 } disable for now, because pylint crashes (!?)\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Update pip\n        run: |\n          pip install -U wheel\n          pip install -U setuptools\n          python -m pip install -U pip\n      - name: Get pip cache dir\n        id: pip-cache\n        run: echo \"::set-output name=dir::$(pip cache dir)\"\n      - uses: actions/cache@v2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }}\n      - name: set full Python version in PY env var\n        # See https://pre-commit.com/#github-actions-example\n        run: echo \"PY=$(python -VV | sha256sum | cut -d' ' -f1)\" >> $GITHUB_ENV\n      - run: pip install tox codecov\n      - run: tox -e ${{ matrix.tox }}\n\n  publish:\n    name: PyPI - Publish if this is a tagged commit\n    needs: tests\n    if: startsWith(github.event.ref, 'refs/tags') && github.repository_owner == 'SvenskaSpel'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n      - name: Build\n        run: |\n          python setup.py sdist bdist_wheel\n      - name: Publish to PyPI (Test)\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "svenskaspel/locust-plugins"}
{"mined_at": "2024-07-15T13:39:22.635234", "created_at": "2021-07-24T17:58:58+02:00", "updated_at": "2021-07-24T17:58:58+02:00", "name": "Nightly", "path": ".github/workflows/nightly.yml", "contents": "name: Nightly\n\non:\n  schedule:\n    - cron: '0 2 * * *' # run at 2 AM UTC\n\njobs:\n  test-against-pre-releases-of-dependencies:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox tox-gh-actions\n    - name: Test with tox\n      run: tox -e pre-release\n", "state": "active", "repository": "rsokl/mygrad"}
{"mined_at": "2024-07-15T13:39:23.620585", "created_at": "2020-06-22T00:03:25+02:00", "updated_at": "2020-06-22T00:03:25+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "rsokl/mygrad"}
{"mined_at": "2024-07-15T13:39:24.627791", "created_at": "2020-12-29T19:56:15+01:00", "updated_at": "2020-12-29T19:56:15+01:00", "name": "Tests", "path": ".github/workflows/tox_run.yml", "contents": "name: Tests\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - master\n      - develop\n  pull_request:\n    branches:\n      - master\n      - develop\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    strategy:\n      max-parallel: 3\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox tox-gh-actions\n    - name: Test with tox\n      run: tox -e py\n\n\n  coverage:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\"]\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: Measure coverage\n      run: tox -e coverage\n\n\n  py310:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: Test with tox\n      run: tox -e py310\n\n  py311:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: Test with tox\n      run: tox -e py311\n\n  minimum_numpy:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\"]\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: Test vs Minimum Python/Numpy\n      run: tox -e min_numpy\n\n  check-repo-format:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox tox-gh-actions\n    - name: Test with tox\n      run: tox -e enforce-format", "state": "active", "repository": "rsokl/mygrad"}
{"mined_at": "2024-07-15T13:39:26.781489", "created_at": "2023-07-27T16:09:34+02:00", "updated_at": "2023-07-28T08:42:25+02:00", "name": "CICD (Merge)", "path": ".github/workflows/cicd-on-merge.yml", "contents": "---\nname: CICD (Merge)\non:\n    push:\n        branches: [master]\n\njobs:\n\n  get-updated-dirs:\n    runs-on: ubuntu-latest\n    outputs:\n      dirs: ${{ steps.get-dirs.outputs.dirs }}\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Get updated directories\n        id: get-dirs\n        run: |\n          DIRS=$(git diff --name-only HEAD~1 HEAD | grep '^dags/resources/stages/parse/table_definitions' | cut -d\"/\" -f1-6 | uniq)\n          echo \"Updated directories: $DIRS\"\n          sudo apt-get install jq\n          DIRS_JSON=$(echo $DIRS | tr '\\n' ' ' | jq -R -s -c 'split(\" \") | map(select(length > 0))')\n          echo \"dirs=$DIRS_JSON\" >> $GITHUB_OUTPUT\n\n  run:\n    needs: [get-updated-dirs]\n    if: needs.get-updated-dirs.outputs.dirs != '[]'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        dir: ${{fromJson(needs.get-updated-dirs.outputs.dirs)}}\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n\n    - name: Build Docker image\n      run: |\n        docker build -t ethereum-etl-parse:latest -f parse.Dockerfile .\n\n    - name: Run Docker image\n      run: |\n        DATASET_NAME=${{ matrix.dir }}\n        DATASET_NAME=${DATASET_NAME#dags/resources/stages/parse/table_definitions/} # this will remove 'dags/resources/stages/parse/table_definitions/' from start\n\n        echo \"$SERVICE_ACCOUNT_PROD\" > ./credentials.json\n        docker run \\\n          -v $PWD:/app \\\n          -e GOOGLE_APPLICATION_CREDENTIALS=/app/credentials.json \\\n          ethereum-etl-parse:latest \\\n          --project ${{ vars.PARSE_PROJECT }} \\\n          --dataset_name $DATASET_NAME \\\n          --dataset_folder \"/app/${{ matrix.dir }}\" \\\n          --state_bucket ${{ vars.PARSE_STATE_BUCKET }} \\\n          --destination_dataset_project_id ${{ vars.PARSE_DESTINATION_DATASET_PROJECT_ID }}\n        rm ./credentials.json\n      env:\n        SERVICE_ACCOUNT_PROD: ${{ secrets.SERVICE_ACCOUNT_PROD }}\n", "state": "active", "repository": "blockchain-etl/ethereum-etl-airflow"}
{"mined_at": "2024-07-15T13:39:28.985095", "created_at": "2023-08-28T12:06:15+02:00", "updated_at": "2023-08-28T12:09:30+02:00", "name": "CICD (PR)", "path": ".github/workflows/cicd-on-pr.yml", "contents": "---\nname: CICD (PR)\non:\n    pull_request:\n        branches: [master]\n        types:\n            - opened\n            - reopened\n            - synchronize\n            - ready_for_review\n\njobs:\n  validate-json-files:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8.12\"\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip &&\n          pip install -r requirements_test.txt\n      - name: Run pyTest to Validate JSON Files\n        run: pytest tests/test_validate_json.py\n\n  airflow-tests:\n    runs-on: ubuntu-latest\n    name: airflow tests\n    steps:\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8.12\"\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip &&\n          pip install \\\n            -r requirements_test.txt \\\n            -r requirements_local.txt \\\n            -r requirements_airflow.txt\n      - name: Run pytest on airflow/tests\n        run: pytest -v tests/test_dag_validation.py\n\n  check-changed-file-limit:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Fetch master branch\n        run: git fetch origin master:master\n\n      - name: Check number of changed files\n        id: check-files\n        run: |\n          # Count the number of changed files\n          NUM_FILES=$(git diff --name-only master HEAD | grep '^dags/resources/stages/parse/table_definitions' | wc -l)\n          echo \"Number of changed files: $NUM_FILES\"\n          \n          # Fail the job if more than 50 files are changed\n          if [ \"$NUM_FILES\" -gt 50 ]; then\n            echo \"Error: More than 50 files have been changed. Failing the job.\"\n            exit 1\n          else\n            echo \"Number of changed files is within limit.\"\n          fi", "state": "active", "repository": "blockchain-etl/ethereum-etl-airflow"}
{"mined_at": "2024-07-15T13:39:34.511940", "created_at": "2021-09-13T21:32:01+02:00", "updated_at": "2024-05-28T18:24:44+02:00", "name": "Tethys-CI", "path": ".github/workflows/tethys-release.yml", "contents": "# Tethys Main CI\nname: Tethys-CI\n\n# Only run on tags.\non:\n  push:\n    tags:\n      - \"*\"\n\nenv:\n  CONDA_BUILD_PIN_LEVEL: minor\n\njobs:\n  docker-build:\n    name: Docker Build (${{ matrix.platform }}, ${{ matrix.django-version }}, ${{ matrix.python-version }})\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        django-version: [\"3.2\", \"4.2\", \"5.0\"]\n    steps:\n      # Checkout the source\n      - name: Checkout Source\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      # Parse version parts from tag\n      - name: Parse version from tag\n        id: version\n        uses: release-kit/semver@v1\n      - name: Safe Tag\n        id: safetag\n        run: |\n          full_tag=\"${{ steps.version.outputs.full }}-py${{ matrix.python-version }}-dj${{ matrix.django-version }}\";\n          # no \"+\" characters allowed in Docker tags\n          safe_tag=\"${full_tag//+/-}\";\n          echo \"safetag=$safe_tag\" >> $GITHUB_OUTPUT;\n          echo $safe_tag;\n      - name: Log version\n        id: logversion\n        run: |\n          full_tag=\"${{ steps.version.outputs.full }}\";\n          # no \"+\" characters allowed in Docker tags\n          safe_tag=\"${full_tag//+/-}\";\n          echo \"safetag=$safe_tag\" >> $GITHUB_OUTPUT;\n          echo \"Major: ${{ steps.version.outputs.major }}\"\n          echo \"Minor: ${{ steps.version.outputs.minor }}\"\n          echo \"Patch: ${{ steps.version.outputs.patch }}\"\n          echo \"Prerelease: ${{ steps.version.outputs.prerelease }}\"\n          echo \"Build: ${{ steps.version.outputs.build }}\"\n          echo \"Full: ${{ steps.version.outputs.full }}\"\n          echo \"Tag: ${{ steps.version.outputs.tag }}\"\n          echo \"Safe Tag: ${{ steps.safetag.outputs.safetag }}\"\n      # Build the docker with version tag\n      - name: Build With Tag\n        run: |\n          full_tag=\"${{ steps.version.outputs.full }}\";\n          # no \"+\" characters allowed in Docker tags\n          safe_tag=\"${full_tag//+/-}\";\n          docker build -t ${{ secrets.DOCKER_UPLOAD_URL }}:\"${{ steps.safetag.outputs.safetag }}\" .;\n      # Authenticate docker\n      - name: Authenticate Docker\n        run: |\n          echo \"${{ secrets.DOCKER_PASSWORD }}\" | docker login -u \"${{ secrets.DOCKER_USERNAME }}\" --password-stdin;\n      # Upload docker\n      - name: Upload Docker With Tag\n        run: |\n          echo \"Pushing to docker registry\";\n          docker push ${{ secrets.DOCKER_UPLOAD_URL }}:${{ steps.safetag.outputs.safetag }};\n\n  conda-build:\n    name: Conda Build (${{ matrix.platform }})\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest]\n      # Checkout the source\n    steps:\n      - name: Checkout Source\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      # Parse version parts from tag\n      - name: Parse version from tag\n        id: version\n        uses: release-kit/semver@v1\n      - name: Safe Tag\n        id: safetag\n        run: |\n          full_tag=\"${{ steps.version.outputs.full }}\";\n          # no \"+\" characters allowed in Docker tags\n          safe_tag=\"${full_tag//+/-}\";\n          echo \"safetag=$safe_tag\" >> $GITHUB_OUTPUT;\n          echo $safe_tag;\n      - name: Log version\n        id: logversion\n        run: |\n          full_tag=\"${{ steps.version.outputs.full }}\";\n          # no \"+\" characters allowed in Docker tags\n          safe_tag=\"${full_tag//+/-}\";\n          echo \"safetag=$safe_tag\" >> $GITHUB_OUTPUT;\n          echo \"Major: ${{ steps.version.outputs.major }}\"\n          echo \"Minor: ${{ steps.version.outputs.minor }}\"\n          echo \"Patch: ${{ steps.version.outputs.patch }}\"\n          echo \"Prerelease: ${{ steps.version.outputs.prerelease }}\"\n          echo \"Build: ${{ steps.version.outputs.build }}\"\n          echo \"Full: ${{ steps.version.outputs.full }}\"\n          echo \"Tag: ${{ steps.version.outputs.tag }}\"\n          echo \"Safe Tag: ${{ steps.safetag.outputs.safetag }}\"\n      # Setup Tethys\n      - name: Setup Tethys\n        run: |\n          cd ..\n          bash ./tethys/scripts/install_tethys.sh --partial-tethys-install me -n tethys -s $PWD/tethys -x\n          . ~/miniconda/etc/profile.d/conda.sh\n          conda activate tethys\n          hash -r\n          conda config --set always_yes yes --set changeps1 no\n          conda update -q conda\n      # Export Conda Build Path\n      - name: Set Conda Build Path\n        run: |\n          echo \"CONDA_BLD_PATH=/home/runner/conda-bld\" >> $GITHUB_ENV\n      # Generate Conda Recipe With Constrained Dependencies\n      - name: Generate Conda Recipe\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          conda activate tethys;\n          tethys gen metayaml -p ${CONDA_BUILD_PIN_LEVEL} --overwrite;\n      # Show Tethys Meta\n      - name: Show Tethys Meta\n        run: |\n          cd ..\n          cat ./tethys/conda.recipe/meta.yaml\n      # Build Conda\n      - name: Build Conda\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          conda create -y -c conda-forge -n conda-build conda-build anaconda-client \n          conda activate conda-build\n          conda config --set anaconda_upload no\n          mkdir -p ~/conda-bld\n          conda-build -c tethysplatform -c conda-forge ./tethys/conda.recipe\n      # Upload to Anaconda Cloud\n      - name: Upload to Conda Release Channel\n        if: ${{ steps.version.outputs.prerelease == '' }}\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          conda activate conda-build;\n          echo \"Publishing to release channel...\";\n          anaconda -t \"${{ secrets.CONDA_UPLOAD_TOKEN }}\" upload -u ${{ secrets.CONDA_UPLOAD_USER }} $CONDA_BLD_PATH/noarch/tethys-platform*.tar.bz2 --force;\n      - name: Upload to Conda Dev Channel\n        if: ${{ steps.version.outputs.prerelease != '' }}\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          conda activate conda-build;\n          echo \"Publishing to dev channel...\";\n          anaconda -t \"${{ secrets.CONDA_UPLOAD_TOKEN }}\" upload -u ${{ secrets.CONDA_UPLOAD_USER }} -l dev $CONDA_BLD_PATH/noarch/tethys-platform*.tar.bz2 --force;\n\n      # BUILD micro-tethys-platform\n\n      # Generate Conda Recipe With Constrained Dependencies\n      - name: Generate Conda Recipe - micro\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          conda activate tethys;\n          tethys gen metayaml -p ${CONDA_BUILD_PIN_LEVEL} --micro --overwrite;\n      # Show Tethys Meta\n      - name: Show Tethys Meta - micro\n        run: |\n          cd ..\n          cat ./tethys/conda.recipe/meta.yaml\n      # Build Conda\n      - name: Build Conda - micro\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          conda activate conda-build\n          conda-build -c tethysplatform -c conda-forge ./tethys/conda.recipe\n      # Upload to Anaconda Cloud\n      - name: Upload to Conda Release Channel - micro\n        if: ${{ steps.version.outputs.prerelease == '' }}\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          conda activate conda-build;\n          echo \"Publishing to release channel...\";\n          anaconda -t \"${{ secrets.CONDA_UPLOAD_TOKEN }}\" upload -u ${{ secrets.CONDA_UPLOAD_USER }} $CONDA_BLD_PATH/noarch/micro-tethys-platform*.tar.bz2 --force;\n      - name: Upload to Conda Dev Channel - micro\n        if: ${{ steps.version.outputs.prerelease != '' }}\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          conda activate conda-build;\n          echo \"Publishing to dev channel...\";\n          anaconda -t \"${{ secrets.CONDA_UPLOAD_TOKEN }}\" upload -u ${{ secrets.CONDA_UPLOAD_USER }} -l dev $CONDA_BLD_PATH/noarch/micro-tethys-platform*.tar.bz2 --force;\n", "state": "active", "repository": "tethysplatform/tethys"}
{"mined_at": "2024-07-15T13:39:35.741002", "created_at": "2021-09-13T21:32:01+02:00", "updated_at": "2021-09-13T21:32:01+02:00", "name": "Tethys-CI", "path": ".github/workflows/tethys.yml", "contents": "# Tethys Main CI\nname: Tethys-CI\n\n# Run on pushes and pull requests but not tags.\non:\n  push:\n    branches:\n      - \"main\"\n      - \"release*\"\n  pull_request:\n    branches:\n      - \"*\"\n  schedule:\n    - cron: \"0 0 * * 0\" # weekly\n\nenv:\n  CONDA_BUILD_PIN_LEVEL: minor\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  TEST_IMAGE: tethys\n  POSTGRES_DB: tethys_postgis\n  POSTGRES_PASSWORD: please_dont_use_default_passwords\n  POSTGRES_PORT: 5432\n  TETHYS_DB_HOST: 172.17.0.1\n  TETHYS_DB_PORT: 5432\n  TETHYS_DB_USERNAME: tethys_default\n  TETHYS_DB_PASSWORD: please_dont_use_default_passwords\n  TETHYS_DB_SUPERUSER: tethys_super\n  TETHYS_DB_SUPERUSER_PASS: please_dont_use_default_passwords\n\njobs:\n  lint:\n    name: Lint with Flake8\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Source\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install Flake8\n        run: pip install flake8\n      - name: Run Flake8\n        run: flake8 $GITHUB_WORKSPACE\n\n  format:\n    name: Check Black Formatting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n\n  tests:\n    name: Tests (${{ matrix.platform }}, ${{ matrix.django-version }}, ${{ matrix.python-version }})\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest, macos-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        django-version: [\"3.2\", \"4.2\", \"5.0\"]\n    steps:\n      # Checkout the source\n      - name: Checkout Source\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      # Install Tethys\n      - name: Install Tethys\n        run: |\n          cd ..\n          bash ./tethys/scripts/install_tethys.sh -h\n          bash ./tethys/scripts/install_tethys.sh --partial-tethys-install meds -n tethys -s $PWD/tethys -x -d ${{ matrix.django-version }} --python-version ${{ matrix.python-version }}\n      # Setup Tethys and Conda\n      - name: Setup Tethys and Conda\n        run: |\n          . ~/miniconda/etc/profile.d/conda.sh\n          conda activate tethys\n          conda list\n          tethys db start\n          pip install coveralls\n      # Test Tethys\n      - name: Test Tethys\n        run: |\n          . ~/miniconda/etc/profile.d/conda.sh\n          conda activate tethys\n          tethys test -c -u -v 2\n      # Generate Coverage Report\n      - name: Generate Coverage Report\n        if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.10' && matrix.django-version == '4.2' }}\n        run: |\n          . ~/miniconda/etc/profile.d/conda.sh\n          conda activate tethys\n          coveralls --service=github\n\n  docker-build:\n    name: Docker Build (${{ matrix.platform }}, ${{ matrix.django-version }}, ${{ matrix.python-version }})\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        django-version: [\"3.2\", \"4.2\", \"5.0\"]\n    steps:\n      # Checkout the source\n      - name: Checkout Source\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      # Build the docker for no tag\n      - name: Build Without Tag\n        run: |\n          docker build --build-arg DJANGO_VERSION=${{ matrix.django-version }} --build-arg PYTHON_VERSION=${{ matrix.python-version }} -t ${{ secrets.DOCKER_UPLOAD_URL }}:dev-py${{ matrix.python-version }}-dj${{ matrix.django-version }} .;\n          docker tag ${{ secrets.DOCKER_UPLOAD_URL }}:dev-py${{ matrix.python-version }}-dj${{ matrix.django-version }} ${{ env.TEST_IMAGE }}:dev-py${{ matrix.python-version }}-dj${{ matrix.django-version }};\n      # Upload docker if pull request no tag\n      - name: Upload Docker No Tag\n        if: ${{ github.event_name != 'pull_request' }}\n        run: |\n          echo \"Pushing to docker registry\";\n          echo \"${{ secrets.DOCKER_PASSWORD }}\" | docker login -u \"${{ secrets.DOCKER_USERNAME }}\" --password-stdin;\n          docker push ${{ secrets.DOCKER_UPLOAD_URL }}:dev-py${{ matrix.python-version }}-dj${{ matrix.django-version }};\n      # No Upload if Pull Request\n      - name: No Upload\n        if: ${{ github.event_name == 'pull_request' }}\n        run: |\n          echo \"Uploading is skipped for pull requests.\"\n      # Save image as artifact for startup test job\n      - name: Upload Docker Artifact\n        uses: ishworkh/container-image-artifact-upload@v1.1.1\n        with:\n          image: ${{ env.TEST_IMAGE }}:dev-py${{ matrix.python-version }}-dj${{ matrix.django-version }}\n          retention_days: \"1\"\n\n  startup_test:\n    name: Docker Start-up Test (${{ matrix.platform }}, ${{ matrix.django-version }}, ${{ matrix.python-version }})\n    needs: [docker-build]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        django-version: [\"3.2\", \"4.2\", \"5.0\"]\n    services:\n      tethys-postgis:\n        image: postgis/postgis:14-3.3\n        env:\n          POSTGRES_HOST: tethys-postgis\n          POSTGRES_PASSWORD: please_dont_use_default_passwords\n          POSTGRES_DB: tethys_postgis\n          POSTGRES_PORT: 5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 10\n        ports:\n          - 5432:5432\n    steps:\n      - name: Download Docker Artifact\n        uses: ishworkh/container-image-artifact-download@v1.1.1\n        with:\n          image: ${{ env.TEST_IMAGE }}:dev-py${{ matrix.python-version }}-dj${{ matrix.django-version }}\n      - name: Run Salt Test\n        run: |\n          docker run --rm \\\n            -e POSTGRES_DB=${{ env.POSTGRES_DB }} \\\n            -e POSTGRES_PASSWORD=${{ env.POSTGRES_PASSWORD }} \\\n            -e POSTGRES_PORT=${{ env.POSTGRES_PORT }} \\\n            -e TETHYS_DB_HOST='${{ env.TETHYS_DB_HOST }}' \\\n            -e TETHYS_DB_PORT=${{ env.TETHYS_DB_PORT }} \\\n            -e TETHYS_DB_USERNAME=${{ env.TETHYS_DB_USERNAME }} \\\n            -e TETHYS_DB_PASSWORD=${{ env.TETHYS_DB_PASSWORD }} \\\n            -e TETHYS_DB_SUPERUSER=${{ env.TETHYS_DB_SUPERUSER }} \\\n            -e TETHYS_DB_SUPERUSER_PASS=${{ env.TETHYS_DB_SUPERUSER_PASS }} \\\n            ${{ env.TEST_IMAGE }}:dev-py${{ matrix.python-version }}-dj${{ matrix.django-version }} \\\n            /bin/bash -c \"cd /usr/lib/tethys && source ./run.sh --test\"\n\n  conda-build:\n    name: Conda Build\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest]\n    steps:\n      # Checkout the source\n      - name: Checkout Source\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      # Setup Tethys\n      - name: Setup Tethys\n        run: |\n          cd ..\n          bash ./tethys/scripts/install_tethys.sh --partial-tethys-install me -n tethys -s $PWD/tethys\n          . ~/miniconda/etc/profile.d/conda.sh\n          conda activate tethys\n          hash -r\n          conda config --set always_yes yes --set changeps1 no\n          conda update -q conda\n      # Export Conda Build Path\n      - name: Set Conda Build Path\n        run: |\n          echo \"CONDA_BLD_PATH=/home/runner/conda-bld\" >> $GITHUB_ENV\n      # Generate Conda Recipe Without Constrained Dependencies\n      - name: Generate Conda Recipe\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          conda activate tethys;\n          tethys gen metayaml --overwrite;\n      # Show Tethys Meta\n      - name: Show Tethys Meta\n        run: |\n          cd ..\n          cat ./tethys/conda.recipe/meta.yaml\n      # Build Conda\n      - name: Build Conda\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          conda create -y -c conda-forge -n conda-build conda-build anaconda-client \n          conda activate conda-build\n          conda config --set anaconda_upload no\n          mkdir -p ~/conda-bld\n          conda-build -c conda-forge ./tethys/conda.recipe\n      # Upload Conda No Pull Request No Tag\n      - name: Upload Conda No Tag\n        if: ${{ github.event_name != 'pull_request' }}\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          ls ~/conda-bld/noarch\n          conda activate conda-build\n          anaconda -t \"${{ secrets.CONDA_UPLOAD_TOKEN }}\" upload -u ${{ secrets.CONDA_UPLOAD_USER }} -l dev $CONDA_BLD_PATH/noarch/tethys-platform*.tar.bz2 --force;\n      # No Upload if Pull Request\n      - name: No Upload\n        if: ${{ github.event_name == 'pull_request' }}\n        run: |\n          echo \"Uploading is skipped for pull requests.\"\n\n      # BUILD micro-tethys-platform\n\n      # Generate Conda Recipe Without Constrained Dependencies\n      - name: Generate Conda Recipe - micro\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          conda activate tethys;\n          tethys gen metayaml --micro --overwrite;\n      # Show Tethys Meta\n      - name: Show Tethys Meta - micro\n        run: |\n          cd ..\n          cat ./tethys/conda.recipe/meta.yaml\n      # Build Conda\n      - name: Build Conda - micro\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          conda create -y -c conda-forge -n conda-build conda-build anaconda-client \n          conda activate conda-build\n          conda config --set anaconda_upload no\n          mkdir -p ~/conda-bld\n          conda-build -c conda-forge ./tethys/conda.recipe\n      # Upload Conda No Pull Request No Tag\n      - name: Upload Conda No Tag - micro\n        if: ${{ github.event_name != 'pull_request' }}\n        run: |\n          cd ..\n          . ~/miniconda/etc/profile.d/conda.sh;\n          ls ~/conda-bld/noarch\n          conda activate conda-build\n          anaconda -t \"${{ secrets.CONDA_UPLOAD_TOKEN }}\" upload -u ${{ secrets.CONDA_UPLOAD_USER }} -l dev $CONDA_BLD_PATH/noarch/micro-tethys-platform*.tar.bz2 --force;\n      # No Upload if Pull Request\n      - name: No Upload - micro\n        if: ${{ github.event_name == 'pull_request' }}\n        run: |\n          echo \"Uploading is skipped for pull requests.\"", "state": "active", "repository": "tethysplatform/tethys"}
{"mined_at": "2024-07-15T13:39:38.786131", "created_at": "2020-01-09T12:58:05+01:00", "updated_at": "2020-01-09T12:58:15+01:00", "name": "Github Workflow", "path": "", "contents": null, "state": "active", "repository": "browniebroke/deezer-python"}
{"mined_at": "2024-07-15T13:39:39.938965", "created_at": "2020-06-17T19:45:29+02:00", "updated_at": "2020-06-17T19:45:29+02:00", "name": "Sync Github labels", "path": ".github/workflows/labels.yml", "contents": "name: Sync Github labels\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \".github/**\"\n\njobs:\n  labels:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Install labels\n        run: pip install labels\n      - name: Sync config with Github\n        run: labels -u ${{ github.repository_owner }} -t ${{ secrets.GITHUB_TOKEN }} sync -f .github/labels.toml\n", "state": "active", "repository": "browniebroke/deezer-python"}
{"mined_at": "2024-07-15T13:39:41.016505", "created_at": "2020-06-30T12:56:41+02:00", "updated_at": "2020-06-30T12:56:41+02:00", "name": "Issue Manager", "path": ".github/workflows/issue-manager.yml", "contents": "name: Issue Manager\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  issue_comment:\n    types:\n      - created\n  issues:\n    types:\n      - labeled\n  pull_request_target:\n    types:\n      - labeled\n  workflow_dispatch:\n\njobs:\n  issue-manager:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: tiangolo/issue-manager@0.5.0\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          config: >\n            {\n              \"answered\": {\n                \"message\": \"Assuming the original issue was solved, it will be automatically closed now.\"\n              },\n              \"waiting\": {\n                \"message\": \"Automatically closing. To re-open, please provide the additional information requested.\"\n              },\n              \"wontfix\": {\n                \"message\": \"This is considered out of scope or not worth doing.\"\n              }\n            }\n", "state": "active", "repository": "browniebroke/deezer-python"}
{"mined_at": "2024-07-15T13:39:42.083192", "created_at": "2020-09-27T12:52:50+02:00", "updated_at": "2020-09-27T12:52:50+02:00", "name": "Hacktoberfest", "path": ".github/workflows/hacktoberfest.yml", "contents": "name: Hacktoberfest\n\non:\n  workflow_dispatch:\n  schedule:\n    # Run every day in October\n    - cron: \"0 0 * 10 *\"\n    # Run on the 1st of November to revert\n    - cron: \"0 13 1 11 *\"\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: browniebroke/hacktoberfest-labeler-action@v2.3.0\n        with:\n          github_token: ${{ secrets.CPR_GITHUB_TOKEN }}\n", "state": "active", "repository": "browniebroke/deezer-python"}
{"mined_at": "2024-07-15T13:39:43.086439", "created_at": "2020-10-01T13:25:43+02:00", "updated_at": "2024-02-09T20:32:37+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n      - stable/*\n  pull_request:\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        os:\n          - ubuntu-latest\n          - windows-latest\n          # - macOS-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          cache: poetry\n          python-version: ${{ matrix.python-version }}\n      - name: Install Dependencies\n        run: poetry install --without docs\n        shell: bash\n      - name: Test with Pytest\n        run: poetry run pytest --cov-report=xml\n        shell: bash\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  commitlint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: wagoid/commitlint-github-action@v6.0.1\n\n  release:\n    needs:\n      - test\n      - commitlint\n\n    runs-on: ubuntu-latest\n    environment: release\n    concurrency: release\n    permissions:\n      id-token: write\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.head_ref || github.ref_name }}\n\n      # Do a dry run of PSR\n      - name: Test release\n        uses: python-semantic-release/python-semantic-release@v9.8.3\n        if: ${{ github.ref_name != 'main' && !startsWith(github.ref_name, 'stable/') }}\n        with:\n          root_options: --noop\n\n      # # On main/stable branch: actual PSR + upload to PyPI & GitHub\n      # - name: Release\n      #   uses: python-semantic-release/python-semantic-release@v9.7.3\n      #   id: release\n      #   if: ${{ github.ref_name == 'main' || startsWith(github.ref_name, 'stable/') }}\n      #   with:\n      #     github_token: ${{ secrets.GITHUB_TOKEN }}\n      #\n      # - name: Publish package distributions to PyPI\n      #   uses: pypa/gh-action-pypi-publish@release/v1\n      #   if: steps.release.outputs.released == 'true'\n      #\n      # - name: Publish package distributions to GitHub Releases\n      #   uses: python-semantic-release/upload-to-gh-release@main\n      #   if: steps.release.outputs.released == 'true'\n      #   with:\n      #     github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "browniebroke/deezer-python"}
{"mined_at": "2024-07-15T13:39:44.047139", "created_at": "2022-04-04T21:11:50+02:00", "updated_at": "2022-04-04T21:11:50+02:00", "name": "Upgrader", "path": ".github/workflows/poetry-upgrade.yml", "contents": "name: Upgrader\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"26 21 10 * *\"\n\njobs:\n  upgrade:\n    uses: browniebroke/github-actions/.github/workflows/poetry-upgrade.yml@v1\n    secrets:\n      gh_pat: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n", "state": "active", "repository": "browniebroke/deezer-python"}
{"mined_at": "2024-07-15T13:39:45.088084", "created_at": "2022-11-10T17:25:40+01:00", "updated_at": "2022-11-11T10:37:58+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n  schedule:\n    - cron: \"15 2 * * 3\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [python]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "browniebroke/deezer-python"}
{"mined_at": "2024-07-15T13:39:47.120070", "created_at": "2020-10-06T01:03:13+02:00", "updated_at": "2020-11-19T16:39:50+01:00", "name": "Build Docs", "path": ".github/workflows/docs.yml", "contents": "name: Build Docs\n\non:\n  pull_request:\n  push:\n    branches: [main]\n    tags:\n      - '*'\n\nenv:\n  COMMIT_EMAIL: ben.jeffery.well+adminbot@gmail.com\n  DOXYGEN: true\n  MAKE_TARGET: -C python\n  OWNER: tskit-dev\n  REPO: tskit\n  REQUIREMENTS: python/requirements/CI-docs/requirements.txt\n  APTGET: doxygen\n\njobs:\n  build-deploy-docs:\n    name: Docs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n        with:\n          access_token: ${{ github.token }}\n\n      - uses: actions/checkout@v4\n\n      - name: Install apt deps\n        if: env.APTGET\n        run: sudo apt-get install -y ${{env.APTGET}}\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n          cache: 'pip'\n\n      - name: Create venv and install deps\n        run: |\n          pip install --upgrade pip wheel\n          pip install -r ${{env.REQUIREMENTS}}          \n\n      - name: Build C module\n        if: env.MAKE_TARGET\n        run: |\n          make $MAKE_TARGET\n\n      - name: Build Docs\n        run: |\n          make -C docs\n\n      - name: Trigger docs site rebuild\n        if: github.ref == 'refs/heads/main'\n        run: |\n          curl -X POST https://api.github.com/repos/tskit-dev/tskit-site/dispatches \\\n                    -H 'Accept: application/vnd.github.everest-preview+json' \\\n                    -u AdminBot-tskit:${{ secrets.ADMINBOT_TOKEN }} \\\n                    --data '{\"event_type\":\"build-docs\"}'\n", "state": "active", "repository": "tskit-dev/tskit"}
{"mined_at": "2024-07-15T13:39:48.175582", "created_at": "2021-12-03T14:47:03+01:00", "updated_at": "2021-12-03T14:47:03+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non: push\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install dependencies and set path\n        run: |\n            sudo apt-get update\n            sudo apt-get install -y ninja-build libcunit1-dev python3-pip\n            # Install meson as root so we can install to the system below.\n            sudo pip install meson\n      - name: Build tarball and changelogs\n        run: |\n          git rm -rf c/tests/meson-subproject\n          git config --global user.email \"CI@CI.com\"\n          git config --global user.name \"Mr Robot\"\n          git add -A\n          git commit -m \"dummy commit to make meson not add in the symlinked directory\"\n          meson c build-gcc\n          meson dist -C build-gcc\n          python docs/convert_changelog.py c/CHANGELOG.rst > C-CHANGELOG.txt\n          python docs/convert_changelog.py python/CHANGELOG.rst > PYTHON-CHANGELOG.txt\n      - name: Get the version\n        id: get_version\n        run:\n          echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)\n      - name: C Release\n        uses: softprops/action-gh-release@v1\n        if: startsWith(github.ref, 'refs/tags/') && contains(github.event.ref, 'C_')\n        with:\n          name: C API ${{ steps.get_version.outputs.VERSION }}\n          body_path: C-CHANGELOG.txt\n          draft: True\n          fail_on_unmatched_files: True\n          files: build-gcc/meson-dist/*\n      - name: Python Release\n        uses: softprops/action-gh-release@v1\n        if: startsWith(github.ref, 'refs/tags/') && !contains(github.event.ref, 'C_')\n        with:\n          name: Python ${{ steps.get_version.outputs.VERSION }}\n          body_path: PYTHON-CHANGELOG.txt\n          draft: True\n          fail_on_unmatched_files: True", "state": "active", "repository": "tskit-dev/tskit"}
{"mined_at": "2024-07-15T13:39:49.221801", "created_at": "2020-10-27T17:16:17+01:00", "updated_at": "2021-04-23T11:19:56+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  pull_request:\n  push:\n    branches: [main, test]\n\njobs:\n  pre-commit:\n    name: Lint\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n        with:\n          access_token: ${{ github.token }}\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: install clang-format\n        if: steps.clang_format.outputs.cache-hit != 'true'\n        run: |\n          sudo pip install clang-format==6.0.1\n          sudo ln -s /usr/local/bin/clang-format /usr/local/bin/clang-format-6.0\n      - uses: pre-commit/action@v3.0.0\n\n  benchmark:\n    name: Benchmark\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: 'pip'\n          cache-dependency-path: python/requirements/benchmark.txt\n      - name: Install deps\n        run: pip install -r python/requirements/benchmark.txt\n      - name: Build module\n        run: |\n          cd python\n          python setup.py build_ext --inplace\n      - name: Run benchmarks\n        run: |\n          cd python/benchmark\n          pip uninstall -y tskit\n          python run.py\n      - name: Upload Results\n        uses: actions/upload-artifact@v2\n        with:\n          name: benchmark-results\n          path: python/benchmark\n\n  test:\n    name: Python\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [ 3.8, 3.9, \"3.11\" ]\n        os:  [ macos-latest, ubuntu-latest, windows-latest ]\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n        with:\n          access_token: ${{ github.token }}\n\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Install OSX libs\n        if: matrix.os == 'macos-latest'\n        run: |\n          brew install libxml2 libxslt\n\n      - name: Cache conda and dependencies\n        id: cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ env.CONDA }}/envs\n          key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.python}}-conda-v1-${{ hashFiles('python/requirements/CI-tests-conda/requirements.txt') }}-${{ hashFiles('python/requirements/CI-tests-pip/requirements.txt') }}\n\n      - name: Install Conda\n        uses: conda-incubator/setup-miniconda@v3\n        if: steps.cache.outputs.cache-hit != 'true'\n        with:\n          activate-environment: anaconda-client-env\n          python-version: ${{ matrix.python }}\n          channels: conda-forge\n          channel-priority: strict\n          auto-update-conda: true\n\n      - name: Fix windows symlinks\n        working-directory: python\n        if: matrix.os == 'windows-latest'\n        run: |\n          rm -r lib\n          mkdir lib\n          cp -r --dereference ../c/subprojects lib/.\n          cp -r --dereference ../c/tskit lib/.\n          cp ../c/tskit.h lib/.\n\n      - name: Fix windows .profile\n        if: steps.cache.outputs.cache-hit != 'true' && matrix.os == 'windows-latest'\n        run: |\n          cp ~/.bash_profile ~/.profile\n\n      - name: Install conda deps\n        if: steps.cache.outputs.cache-hit != 'true'\n        shell: bash -l {0} #We need a login shell to get conda\n        run: |\n          conda install --yes --file=python/requirements/CI-tests-conda/requirements.txt\n\n      - name: Install pip deps\n        if: steps.cache.outputs.cache-hit != 'true'\n        shell: bash -l {0}\n        run: |\n          pip install setuptools==57.5.0 #v58 broke some deps https://setuptools.pypa.io/en/latest/history.html#v58-0-0\n          pip install -r python/requirements/CI-tests-pip/requirements.txt\n          # Remove tskit installed by conda\n          pip uninstall -y tskit\n\n      - name: Build module\n        working-directory: python\n        run: |\n          source ~/.profile\n          conda activate anaconda-client-env\n          python setup.py build_ext --inplace\n\n      - name: Remove py311 incompatible tests (lack of numba support for 3.11, needed for lshmm)\n        if: matrix.python == '3.11'\n        run: |\n          rm python/tests/test_*matching*\n\n      - name: Run tests\n        working-directory: python\n        run: |\n          source ~/.profile\n          conda activate anaconda-client-env\n          # pytest -xv -n2\n          python -m pytest -x --cov=tskit --cov-report=xml --cov-branch -n2 tests\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          working-directory: python\n          fail_ci_if_error: false\n          flags: python-tests\n          name: codecov-umbrella\n          verbose: true\n\n  msys2:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        include:\n        - { sys: mingw32, env: i686 }\n        - { sys: mingw64, env: x86_64 }\n    name: Windows (${{ matrix.sys }}, ${{ matrix.env }})\n    defaults:\n      run:\n        shell: msys2 {0}\n    steps:\n    - name: Cancel Previous Runs\n      uses: styfle/cancel-workflow-action@0.12.1\n      with:\n        access_token: ${{ github.token }}\n\n    - name: 'Checkout'\n      uses: actions/checkout@v4\n\n    - name: Setup MSYS2 ${{matrix.sys}}\n      uses: msys2/setup-msys2@v2\n      with:\n        msystem: ${{matrix.sys}}\n        update: true\n        install: >-\n          git\n          mingw-w64-${{matrix.env}}-toolchain\n          mingw-w64-${{matrix.env}}-ninja\n          mingw-w64-${{matrix.env}}-meson\n          mingw-w64-${{matrix.env}}-cunit\n\n    - name: Build\n      working-directory: c\n      run: |\n        meson build -Dbuild_examples=false\n        ninja -C build\n\n    - name: Run tests\n      working-directory: c\n      run: |\n        ninja -C build test\n", "state": "active", "repository": "tskit-dev/tskit"}
{"mined_at": "2024-07-15T13:39:50.260424", "created_at": "2020-06-15T16:51:27+02:00", "updated_at": "2020-06-15T16:51:27+02:00", "name": "Build and test wheels", "path": ".github/workflows/wheels.yml", "contents": "name: Build and test wheels\n\non:\n  push:\n    branches:\n      - main\n      - test\n    tags:\n      - '*'\n  release:\n    types: [published]\n\njobs:\n  OSX:\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python: [3.8, 3.9, \"3.10\", 3.11]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install deps\n        run: |\n          # Upgrade pip to get bdist_wheel\n          pip install --upgrade pip\n          pip install setuptools wheel\n          # Instead of letting setup.py install a newer numpy we install it here\n          # using the oldest supported version for ABI compatibility\n          pip install oldest-supported-numpy\n      - name: Build C extension\n        run: |\n          cd python\n          python -VV\n          python setup.py build_ext --inplace\n      - name: Build Wheel\n        run: |\n          cd python\n          python setup.py bdist_wheel\n      - name: Delocate to bundle dynamic libs\n        run: |\n          cd python\n          pip install delocate\n          delocate-wheel -v dist/*.whl\n      - name: Upload Wheels\n        uses: actions/upload-artifact@v4\n        with:\n          name: osx-wheel-${{ matrix.python }}\n          path: python/dist\n\n  windows:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python: [3.8, 3.9, \"3.10\", 3.11]\n        wordsize: [64]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install deps\n        env:\n          PYTHON: \"py -${{ matrix.python }}-${{ matrix.wordsize }}\"\n        shell: bash\n        run: |\n          set -ex\n          ${PYTHON} -m pip install --upgrade pip\n          ${PYTHON} -m pip install setuptools wheel\n          # Instead of letting setup.py install a newer numpy we install it here\n          # using the oldest supported version for ABI compatibility\n          ${PYTHON} -m pip install oldest-supported-numpy\n      - name: Build C Extension\n        env:\n          PYTHON: \"py -${{ matrix.python }}-${{ matrix.wordsize }}\"\n        shell: bash\n        run: |\n          set -ex\n          git reset --hard\n          cd python\n          ${PYTHON} -VV\n          # For some reason I can't work out the C compiler is not following symlinks\n          rm -r lib\n          mkdir lib\n          cp -r --dereference ../c/subprojects lib/.\n          cp -r --dereference ../c/tskit lib/.\n          cp ../c/tskit.h lib/.\n          ${PYTHON} setup.py build_ext --inplace\n      - name: Build Wheel\n        env:\n          PYTHON: \"py -${{ matrix.python }}-${{ matrix.wordsize }}\"\n        shell: bash\n        run: |\n          set -ex\n          cd python\n          ${PYTHON} setup.py bdist_wheel\n      - name: Upload Wheels\n        uses: actions/upload-artifact@v4\n        with:\n          name: win-wheel-${{ matrix.python }}-${{ matrix.wordsize }}\n          path: python/dist\n\n  manylinux:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Build sdist\n        shell: bash\n        run: |\n          cd python\n          python setup.py sdist\n\n      - name: Upload sdist\n        uses: actions/upload-artifact@v4\n        with:\n          name: sdist\n          path: python/dist\n\n      - name: Build wheels in docker\n        shell: bash\n        run: |\n          docker run --rm -v `pwd`:/project -w /project quay.io/pypa/manylinux2014_x86_64 bash .github/workflows/docker/buildwheel.sh\n\n      - name: Upload Wheels\n        uses: actions/upload-artifact@v4\n        with:\n          name: linux-wheels\n          path: python/dist/wheelhouse\n\n  OSX-test:\n    needs: ['OSX']\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python: [3.8, 3.9, \"3.10\", 3.11]\n    steps:\n      - name: Download wheels\n        uses: actions/download-artifact@v4\n        with:\n          name: osx-wheel-${{ matrix.python }}\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install wheel and test\n        run: |\n          python -VV\n          # Install the local wheel\n          pip install ./tskit-*.whl\n          python -c \"import tskit\"\n\n  windows-test:\n    needs: ['windows']\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python: [3.8, 3.9, \"3.10\", 3.11]\n        wordsize: [64]\n    steps:\n      - name: Download wheels\n        uses: actions/download-artifact@v4\n        with:\n          name: win-wheel-${{ matrix.python }}-${{ matrix.wordsize }}\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install wheel and test\n        shell: bash\n        run: |\n          python -VV\n          # Install the local wheel\n          python -m pip install *.whl\n          python -c \"import tskit\"\n\n  manylinux-test:\n    runs-on: ubuntu-latest\n    needs: ['manylinux']\n    strategy:\n      matrix:\n        python: [3.8, 3.9, \"3.10\", 3.11]\n        include:\n\n          - python: 3.8\n            wheel: cp38\n          - python: 3.9\n            wheel: cp39\n          - python: \"3.10\"\n            wheel: cp310\n          - python: 3.11\n            wheel: cp311\n    steps:\n      - name: Download wheels\n        uses: actions/download-artifact@v4\n        with:\n          name: linux-wheels\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install wheel and test\n        run: |\n          python -VV\n          # Install the local wheel\n          pip install ./tskit-*-${{ matrix.wheel }}-*.whl\n          python -c \"import tskit\"\n\n\n  PyPI_Upload:\n    runs-on: ubuntu-latest\n    environment: release\n    needs: ['windows-test', 'OSX-test', 'manylinux-test']\n    permissions:\n      id-token: write\n    steps:\n      - name: Download all\n        uses: actions/download-artifact@v4\n      - name: Move to dist\n        run: |\n          mkdir dist\n          cp */*.{whl,gz} dist/.\n      - name: Publish distribution to Test PyPI\n        if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && !contains(github.event.ref, 'C_')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository_url: https://test.pypi.org/legacy/\n      - name: Publish distribution to PRODUCTION PyPI\n        if: github.event_name == 'release' && !startsWith(github.event.release.tag_name, 'C_')\n        uses: pypa/gh-action-pypi-publish@release/v1", "state": "active", "repository": "tskit-dev/tskit"}
{"mined_at": "2024-07-15T13:39:53.297536", "created_at": "2020-05-12T19:12:03+02:00", "updated_at": "2020-05-12T19:12:03+02:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.6'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "dcc-lab/raytracing"}
{"mined_at": "2024-07-15T13:39:54.319385", "created_at": "2021-09-08T03:02:12+02:00", "updated_at": "2021-09-08T03:02:12+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '37 11 * * *'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'Stale issue message'\n        stale-pr-message: 'Stale pull request message'\n        stale-issue-label: 'no-issue-activity'\n        stale-pr-label: 'no-pr-activity'\n", "state": "active", "repository": "dcc-lab/raytracing"}
{"mined_at": "2024-07-15T13:39:56.340781", "created_at": "2023-11-05T10:22:16+01:00", "updated_at": "2023-11-05T11:25:06+01:00", "name": "Deploy images AlmaLinux9", "path": ".github/workflows/deploy_images_a9.yml", "contents": "name: Deploy images AlmaLinux9\n\non:\n  workflow_dispatch:\n    inputs:\n      push_image:\n        description: Push to DockerHub\n        type: boolean\n        default: false\n\n      specific_job:\n        description: Specific job to run\n        type: choice\n        default: none\n        options:\n          - none\n          - py37\n          - py38\n          - py39\n          - py310\n          - py311\n          - example\n\n      platforms:\n        description: Platforms to build for\n        type: choice\n        default: linux/amd64,linux/arm64\n        options:\n          - linux/amd64,linux/arm64\n          - linux/amd64\n          - linux/arm64\n\njobs:\n  a9-py37:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py37') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_alma9_py37\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:a9-py37,riga/law:py37\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n\n  a9-py38:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py38') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_alma9_py38\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:a9-py38,riga/law:py38\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n\n  a9-py39:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py39') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_alma9_py39\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:a9-py39,riga/law:py39\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n\n  a9-py310:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py310') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_alma9_py310\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:a9-py310,riga/law:py310\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n\n  a9-py311:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py311') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_alma9_py311\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:a9-py311,riga/law:a9-py3,riga/law:a9,riga/law:py311,riga/law:py3,riga/law:latest\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n\n  example:\n    if: ${{ github.event.inputs.push_image == 'true' && (github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'example')) }}\n    needs: a9-py311\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_example\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:example\n          push_image: true\n", "state": "active", "repository": "riga/law"}
{"mined_at": "2024-07-15T13:39:57.360213", "created_at": "2023-11-05T10:22:16+01:00", "updated_at": "2023-11-05T10:22:16+01:00", "name": "Deploy images CentOS7", "path": ".github/workflows/deploy_images_c7.yml", "contents": "name: Deploy images CentOS7\n\non:\n  workflow_dispatch:\n    inputs:\n      push_image:\n        description: \"Push to DockerHub\"\n        type: boolean\n        default: false\n\n      specific_job:\n        description: \"Specific job to run\"\n        type: choice\n        default: none\n        options:\n          - none\n          - py27\n          - py36\n          - py37\n          - py38\n          - py39\n          - py310\n\n      platforms:\n        description: Platforms to build for\n        type: choice\n        default: linux/amd64,linux/arm64\n        options:\n          - linux/amd64,linux/arm64\n          - linux/amd64\n          - linux/arm64\n\njobs:\n  # still existing for legacy support, to be removed soon\n  c7-py27:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py27') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: docker/build-push-action@v1\n        with:\n          path: docker\n          dockerfile: docker/Dockerfile_centos7_py27\n          repository: riga/law\n          tags: c7-py27,py27,py2\n          push: ${{ github.event.inputs.build_only != 'true' }}\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n  # still existing for legacy support, to be removed soon\n  c7-py36:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py36') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: docker/build-push-action@v1\n        with:\n          path: docker\n          dockerfile: docker/Dockerfile_centos7_py36\n          repository: riga/law\n          tags: c7-py36,py36\n          push: ${{ github.event.inputs.build_only != 'true' }}\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n  c7-py37:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py37') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_centos7_py37\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:c7-py37\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n\n  c7-py38:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py38') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_centos7_py38\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:c7-py38\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n\n  c7-py39:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py39') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_centos7_py39\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:c7-py39\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n\n  c7-py310:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py310') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_centos7_py310\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:c7-py310,riga/law:c7-py3,riga/law:c7\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n", "state": "active", "repository": "riga/law"}
{"mined_at": "2024-07-15T13:39:58.439052", "created_at": "2023-11-05T10:22:16+01:00", "updated_at": "2023-11-05T10:22:16+01:00", "name": "Deploy images CentOS8", "path": ".github/workflows/deploy_images_c8.yml", "contents": "name: Deploy images CentOS8\n\non:\n  workflow_dispatch:\n    inputs:\n      push_image:\n        description: Push to DockerHub\n        type: boolean\n        default: false\n\n      specific_job:\n        description: Specific job to run\n        type: choice\n        default: none\n        options:\n          - none\n          - py37\n          - py38\n          - py39\n          - py310\n          - py311\n\n      platforms:\n        description: Platforms to build for\n        type: choice\n        default: linux/amd64,linux/arm64\n        options:\n          - linux/amd64,linux/arm64\n          - linux/amd64\n          - linux/arm64\n\njobs:\n  c8-py37:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py37') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_centos8_py37\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:c8-py37\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n\n  c8-py38:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py38') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_centos8_py38\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:c8-py38\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n\n  c8-py39:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py39') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_centos8_py39\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:c8-py39\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n\n  c8-py310:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py310') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_centos8_py310\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:c8-py310\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n\n  c8-py311:\n    if: ${{ github.event.inputs.specific_job == 'none' || contains(github.event.inputs.specific_job, 'py311') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Build and deploy image 🐳\n        uses: ./.github/actions/build-image\n        with:\n          dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n          dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}\n          docker_file: docker/Dockerfile_centos8_py311\n          platforms: ${{ github.event.inputs.platforms }}\n          tags: riga/law:c8-py311,riga/law:c8-py3,riga/law:c8\n          push_image: ${{ github.event.inputs.push_image == 'true' }}\n", "state": "active", "repository": "riga/law"}
{"mined_at": "2024-07-15T13:39:59.450728", "created_at": "2020-07-27T12:54:05+02:00", "updated_at": "2020-07-27T15:55:59+02:00", "name": "Lint and test", "path": ".github/workflows/lint_and_test.yml", "contents": "name: Lint and test\n\non:\n  workflow_dispatch:\n  push:\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Pull docker image 🐳\n        run: docker pull riga/law\n\n      - name: Lint 🔍\n        run: ./tests/docker.sh riga/law ./tests/lint.sh\n\n  pypi:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Setup python 🐍\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Install dependencies ☕️\n        run: |\n          python -m pip install --upgrade pip\n          pip install twine\n\n      - name: Check bundling 📦\n        run: python setup.py sdist\n\n      - name: Check setup 🚦\n        run: twine check \"dist/$( python setup.py --fullname ).tar.gz\"\n\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\"37\", \"38\", \"39\", \"310\", \"311\"]\n    name: test (python ${{ matrix.python }})\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Pull docker image 🐳\n        run: docker pull riga/law:py${{ matrix.python }}\n\n      - name: Test 🎢\n        run: ./tests/docker.sh riga/law:py${{ matrix.python }}\n\n  coverage:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout ⬇️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          submodules: recursive\n\n      - name: Pull docker image 🐳\n        run: docker pull riga/law\n\n      - name: Run coverage test 🎢\n        run: ./tests/docker.sh riga/law ./tests/coverage.sh\n\n      - name: Upload report 🔝\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./coverage.xml\n          flags: unittests\n          fail_ci_if_error: false\n", "state": "active", "repository": "riga/law"}
{"mined_at": "2024-07-15T13:40:00.624443", "created_at": "2020-08-05T15:42:00+02:00", "updated_at": "2020-08-05T15:42:00+02:00", "name": "Publish on PyPI", "path": ".github/workflows/publish_pypi.yml", "contents": "name: Publish on PyPI\n\non:\n  workflow_dispatch:\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Setup python 🐍\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Bundle 📦\n        run: python setup.py sdist\n\n      - name: Publish package ⬆️\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n          skip_existing: true\n", "state": "active", "repository": "riga/law"}
{"mined_at": "2024-07-15T13:40:02.887575", "created_at": "2024-02-14T17:22:20+01:00", "updated_at": "2024-06-23T02:26:25+02:00", "name": "GHA CI", "path": ".github/workflows/main.yml", "contents": null, "state": "disabled_inactivity", "repository": "ipa320/cob_command_tools"}
{"mined_at": "2024-07-15T13:40:05.107601", "created_at": "2022-05-09T22:51:00+02:00", "updated_at": "2022-05-11T14:07:28+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    tags:\n      - v*\n    branches:\n      - master\n\njobs:\n  build_publish_docs:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.9\n\n      - name: Build docs\n        run: |\n          make develop-docs\n          cd docs/\n          make html\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: docs/build/html\n\n\n          ", "state": "active", "repository": "augerai/a2ml"}
{"mined_at": "2024-07-15T13:40:06.199805", "created_at": "2022-05-11T10:53:06+02:00", "updated_at": "2022-05-12T23:43:26+02:00", "name": "publish_docker", "path": ".github/workflows/publish_docker.yml", "contents": "name: publish_docker\n\non:\n  push:\n    tags:\n      - v*\n    branches:\n      - master\n\njobs:\n  publish_docker:\n    runs-on: ubuntu-latest\n\n    permissions:\n      id-token: write\n      contents: read\n    env:\n      DOCKER_TAG: ${{github.ref_type == 'tag' && github.ref_name || 'latest'}}\n      REPO_NAME: 'augerai/a2ml'\n      DOCKER_USER: ${{ secrets.DOCKER_USER }}\n      DOCKER_PASS: ${{ secrets.DOCKER_PASS }}\n\n      AWS_KS_ROLE: ${{ secrets[format('AWS_KS_{0}_ROLE', github.ref_type == 'tag' && 'STABLE' || 'EXPERIMENTAL')] }}\n      CLUSTER_NAME: ${{ secrets[format('{0}_CLUSTER_NAME', github.ref_type == 'tag' && 'STABLE' || 'EXPERIMENTAL')] }}      \n      KUBECONFIG_FILE: '/home/runner/.kube/config'\n      RELEASE_NAME: 'a2ml'\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Build docker and run tests\n        run: make config docker-test\n\n      - name: Push docker image    \n        run: |\n          docker login -u $DOCKER_USER -p $DOCKER_PASS\n          docker push $REPO_NAME:$DOCKER_TAG\n\n      - name: configure aws credentials with role1\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_ROLE }}\n          aws-region: us-west-2\n\n      - name: Assume execution role\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }}\n          aws-region: us-west-2\n          aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }}\n          aws-session-token: ${{ env.AWS_SESSION_TOKEN }}\n          role-duration-seconds: 3000\n          role-skip-session-tagging: true\n          role-to-assume: ${{ env.AWS_KS_ROLE }}\n\n      - uses: azure/setup-kubectl@v3\n      - uses: Azure/setup-helm@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: setup the kubectl config\n        run : |\n          kubectl version --client=true\n          rm -f $KUBECONFIG_FILE\n          aws eks update-kubeconfig --name $CLUSTER_NAME --region us-west-2\n          cat $KUBECONFIG_FILE\n\n      - name: Helm upgrade augerai repo\n        run: |\n          helm repo add augerai https://augerai.github.io/charts\n          helm repo update\n          helm repo list\n          helm upgrade $RELEASE_NAME $REPO_NAME \\\n            --install \\\n            --namespace=$RELEASE_NAME \\\n            --set=image.tag=$DOCKER_TAG \\\n            --reuse-values \\\n            --wait \\\n            --atomic \\\n            --install \\\n            --kubeconfig $KUBECONFIG_FILE\n", "state": "active", "repository": "augerai/a2ml"}
{"mined_at": "2024-07-15T13:40:07.267026", "created_at": "2022-05-09T22:51:00+02:00", "updated_at": "2022-05-11T14:07:28+02:00", "name": "publish_pip", "path": ".github/workflows/publish_pip.yml", "contents": "name: publish_pip\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  publish_pip:\n    runs-on: ubuntu-latest\n    env:\n      PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n      PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.9\n\n      - name: Make pypirc file\n        run: |\n          echo -e \"[pypi]\" >> ~/.pypirc\n          echo -e \"username = $PYPI_USERNAME\" >> ~/.pypirc\n          echo -e \"password = $PYPI_PASSWORD\" >> ~/.pypirc\n\n      - name: Install dependencies\n        run: pip install wheel          \n      - name: Build wheel\n        run: make build\n      - name: Deploy package\n        run: make release\n", "state": "active", "repository": "augerai/a2ml"}
{"mined_at": "2024-07-15T13:40:08.305893", "created_at": "2022-05-10T13:10:52+02:00", "updated_at": "2022-05-11T14:07:28+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non: \n  push:\n    branches-ignore:\n      - master\n\n    tags-ignore:\n      - v*\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Run tests\n        run: make config docker-test\n     ", "state": "active", "repository": "augerai/a2ml"}
{"mined_at": "2024-07-15T13:40:09.297111", "created_at": "2021-12-18T11:21:10+01:00", "updated_at": "2021-12-18T11:21:10+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "augerai/a2ml"}
{"mined_at": "2024-07-15T13:40:11.683580", "created_at": "2021-07-03T06:17:40+02:00", "updated_at": "2021-07-03T16:39:53+02:00", "name": "Linux pip tests", "path": ".github/workflows/linux-pip-tests.yml", "contents": "name: Linux pip tests\n\non:\n  push:\n    branches:\n    - master\n    - 2.*\n  pull_request:\n    branches:\n    - master\n    - 2.*\n\nconcurrency:\n  group: linux-pip-tests-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  linux:\n    name: Py${{ matrix.PYTHON_VERSION }}\n    runs-on: ubuntu-latest\n    env:\n      CI: True\n      PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}\n      RUNNER_OS: 'ubuntu'\n      USE_CONDA: 'false'\n    strategy:\n      fail-fast: false \n      matrix:\n        PYTHON_VERSION: ['3.8', '3.9', '3.10']\n    timeout-minutes: 20\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v1\n      - name: Install System Packages\n        run: | \n          sudo apt-get update\n          sudo apt-get install libegl1-mesa\n      - name: Install Conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n           activate-environment: test\n           auto-update-conda: false\n           auto-activate-base: false\n           python-version: ${{ matrix.PYTHON_VERSION }} \n      - name: Install package and dependencies\n        shell: bash -l {0}\n        run: |\n          pip install -e .[test]\n      - name: Show environment information\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n      - name: Run tests\n        shell: bash -l {0}\n        run: |\n          xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \\\n          xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \\\n          xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          fail_ci_if_error: false\n          verbose: true\n", "state": "active", "repository": "spyder-ide/spyder-kernels"}
{"mined_at": "2024-07-15T13:40:12.913830", "created_at": "2020-03-04T12:04:24+01:00", "updated_at": "2021-04-21T14:04:25+02:00", "name": "Linux tests", "path": ".github/workflows/linux-tests.yml", "contents": "name: Linux tests\n\non:\n  push:\n    branches:\n    - master\n    - 2.*\n  pull_request:\n    branches:\n    - master\n    - 2.*\n\nconcurrency:\n  group: linux-tests-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  linux:\n    name: Py${{ matrix.PYTHON_VERSION }}\n    runs-on: ubuntu-latest\n    env:\n      CI: True\n      PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}\n      RUNNER_OS: 'ubuntu'\n      USE_CONDA: 'true'\n    strategy:\n      fail-fast: false \n      matrix:\n        PYTHON_VERSION: ['3.8', '3.9', '3.10']\n    timeout-minutes: 20\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v1\n      - name: Install System Packages\n        run: | \n          sudo apt-get update\n          sudo apt-get install libegl1-mesa\n      - name: Install Conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n           activate-environment: test\n           auto-update-conda: true\n           auto-activate-base: false\n           channels: conda-forge\n           miniforge-variant: Mambaforge\n           python-version: ${{ matrix.PYTHON_VERSION }} \n      - name: Install package dependencies\n        shell: bash -l {0}\n        run: |\n          mamba install --file requirements/posix.txt -y -q\n      - name: Install test dependencies\n        shell: bash -l {0}\n        run: mamba install --file requirements/tests.txt -y -q\n      - name: Install Package\n        shell: bash -l {0}\n        run: pip install -e .\n      - name: Show environment information\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n      - name: Run tests\n        shell: bash -l {0}\n        run: |\n          xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \\\n          xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \\\n          xvfb-run --auto-servernum pytest spyder_kernels --color=yes --cov=spyder_kernels -vv\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          fail_ci_if_error: false\n          verbose: true\n", "state": "active", "repository": "spyder-ide/spyder-kernels"}
{"mined_at": "2024-07-15T13:40:14.041134", "created_at": "2020-03-04T12:04:25+01:00", "updated_at": "2021-04-21T14:04:25+02:00", "name": "Macos tests", "path": ".github/workflows/macos-tests.yml", "contents": "name: Macos tests\n\non:\n  push:\n    branches:\n    - master\n    - 2.*\n  pull_request:\n    branches:\n    - master\n    - 2.*\n\nconcurrency:\n  group: macos-tests-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  macos:\n    name: Py${{ matrix.PYTHON_VERSION }}\n    runs-on: macos-latest\n    env:\n      CI: True\n      PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}\n      RUNNER_OS: 'macos'\n      USE_CONDA: 'true'\n    strategy:\n      fail-fast: false \n      matrix:\n        PYTHON_VERSION: ['3.8', '3.9', '3.10']\n    timeout-minutes: 25\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v1\n      - name: Install Conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n           activate-environment: test\n           auto-update-conda: true\n           auto-activate-base: false\n           channels: conda-forge\n           miniforge-variant: Mambaforge\n           python-version: ${{ matrix.PYTHON_VERSION }} \n      - name: Install package dependencies\n        shell: bash -l {0}\n        run: |\n          mamba install --file requirements/posix.txt -y -q\n      - name: Install test dependencies\n        shell: bash -l {0}\n        run: mamba install --file requirements/tests.txt -y -q\n      - name: Install Package\n        shell: bash -l {0}\n        run: pip install -e .\n      - name: Show environment information\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n      - name: Run tests\n        shell: bash -l {0}\n        run: |\n          pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \\\n          pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \\\n          pytest spyder_kernels --color=yes --cov=spyder_kernels -vv\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          fail_ci_if_error: false\n          verbose: true\n", "state": "active", "repository": "spyder-ide/spyder-kernels"}
{"mined_at": "2024-07-15T13:40:15.046745", "created_at": "2020-03-04T12:04:25+01:00", "updated_at": "2021-04-21T14:04:25+02:00", "name": "Windows tests", "path": ".github/workflows/windows-tests.yml", "contents": "name: Windows tests\n\non:\n  push:\n    branches:\n    - master\n    - 2.*\n  pull_request:\n    branches:\n    - master\n    - 2.*\n\nconcurrency:\n  group: windows-tests-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  windows:\n    name: Py${{ matrix.PYTHON_VERSION }}\n    runs-on: windows-latest\n    env:\n      CI: True\n      PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}\n      RUNNER_OS: 'windows'\n      USE_CONDA: 'true'\n    strategy:\n      fail-fast: false \n      matrix:\n        PYTHON_VERSION: ['3.8', '3.9', '3.10']\n    timeout-minutes: 25\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v1\n      - name: Install Conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n           activate-environment: test\n           auto-update-conda: true\n           auto-activate-base: false\n           channels: conda-forge\n           miniforge-variant: Mambaforge\n           python-version: ${{ matrix.PYTHON_VERSION }}\n      - name: Install package dependencies\n        shell: bash -l {0}\n        run: mamba install --file requirements/windows.txt -y -q\n      - name: Install test dependencies\n        shell: bash -l {0}\n        run: |\n          mamba install --file requirements/tests.txt -y -q\n      - name: Install Package\n        shell: bash -l {0}\n        run: pip install -e .\n      - name: Show environment information\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n      - name: Run tests\n        shell: bash -l {0}\n        run: |\n          pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \\\n          pytest spyder_kernels --color=yes --cov=spyder_kernels -vv || \\\n          pytest spyder_kernels --cov=spyder_kernels -vv\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          fail_ci_if_error: false\n          verbose: true\n", "state": "active", "repository": "spyder-ide/spyder-kernels"}
{"mined_at": "2024-07-15T13:40:18.502434", "created_at": "2020-11-09T15:37:35+01:00", "updated_at": "2023-06-19T18:20:49+02:00", "name": "SolveBio Python Package", "path": ".github/workflows/python-package.yml", "contents": "name: SolveBio Python Package\n\n# on: [push, pull_request]\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [3.6, 3.7, 3.8, '3.10', '3.11', '3.12', pypy2, pypy3]\n    env:\n      SOLVEBIO_API_HOST: ${{ secrets.QUARTZBIO_API_HOST }}\n      SOLVEBIO_API_KEY: ${{ secrets.QUARTZBIO_API_KEY }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Export pythonpath\n        run: |\n          export PYTHONPATH=$PYTHONPATH:$(pwd)\n      - name: Install Tox and any other packages\n        run: |\n          pip install -U wheel --user\n          pip install setuptools\n          pip install flake8 pytest\n      - name: Install dependencies\n        run: |\n          pip install -r requirements-dev.txt\n          pip install XlsxWriter===0.9.3\n      - name: Scripts\n        run: |\n          python -m pytest recipes/tests/test_recipes_sync.py\n          python -m pytest solvebio/test/test_object.py\n          python -m flake8 solvebio\n  build_py27:\n    runs-on: ubuntu-20.04\n    env:\n      SOLVEBIO_API_HOST: ${{ secrets.QUARTZBIO_API_HOST }}\n      SOLVEBIO_API_KEY: ${{ secrets.QUARTZBIO_API_KEY }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Setup Python 2.7\n        run: |\n          sudo apt install python2\n          sudo apt-get install -y curl python2\n          sudo curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py\n          sudo python2.7 get-pip.py\n      - name: Display Python version\n        run: python2.7 -c \"import sys; print(sys.version)\"\n      - name: Export pythonpath\n        run: |\n          export PYTHONPATH=$PYTHONPATH:$(pwd)\n      - name: Install Tox and any other packages\n        run: |\n          python2.7 -m pip install -U wheel --user\n          python2.7 -m pip install setuptools\n          python2.7 -m pip install flake8 pytest\n      - name: Install dependencies\n        run: |\n          python2.7 -m pip install -r requirements-dev.txt\n          python2.7 -m pip install XlsxWriter===0.9.3\n      - name: Scripts\n        run: |\n          python2.7 -m pytest recipes/tests/test_recipes_sync.py\n          python2.7 -m flake8 solvebio\n", "state": "active", "repository": "solvebio/solvebio-python"}
{"mined_at": "2024-07-15T13:40:20.455202", "created_at": "2020-04-16T21:05:13+02:00", "updated_at": "2020-04-16T21:05:13+02:00", "name": "Test Python Package", "path": ".github/workflows/tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test Python Package\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install -e .[cloudvolume,meshing]\n#     - name: Lint with flake8\n#       run: |\n#         pip install flake8\n#         # stop the build if there are Python syntax errors or undefined names\n#         flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n#         # exit-zero treats all errors as warnings.\n#         flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test unittests\n      run: |\n        python -m unittest discover .\n    - name: Notify slack success\n      if: success()\n      env:\n        SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n      uses: voxmedia/github-action-slack-notify-build@v1\n      with:\n        channel: ci\n        status: SUCCESS\n        color: good\n\n    - name: Notify slack fail\n      if: failure()\n      env:\n        SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n      uses: voxmedia/github-action-slack-notify-build@v1\n      with:\n        channel: ci\n        status: FAILED\n        color: danger\n", "state": "active", "repository": "jhuapl-boss/intern"}
{"mined_at": "2024-07-15T13:40:21.603912", "created_at": "2022-01-06T17:30:27+01:00", "updated_at": "2022-01-06T17:30:27+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "jhuapl-boss/intern"}
{"mined_at": "2024-07-15T13:40:23.879769", "created_at": "2020-01-06T17:53:45+01:00", "updated_at": "2020-01-06T17:53:45+01:00", "name": "Docker images verification", "path": ".github/workflows/docker-image-verify.yml", "contents": "name: Docker images verification\n# This workflow is triggered on pushes and pull requests to the repository.\non: [push, pull_request]\n\n\njobs:\n  build:\n    # This job runs on Linux\n    runs-on: ubuntu-latest\n\n    steps:\n       - uses: actions/checkout@v1\n       - uses: ./.github/actions/docker-images-verification\n         with:\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITGUB_PAT }}\n          registry: ghcr.io\n", "state": "active", "repository": "opensciencegrid/cvmfs-singularity-sync"}
{"mined_at": "2024-07-15T13:40:26", "created_at": "2023-04-30T16:34:25+02:00", "updated_at": "2023-04-30T16:34:25+02:00", "name": "Build and publish Docker images", "path": ".github/workflows/build-publish.yml", "contents": "name: Build and publish Docker images\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * 1\"\n  push:\n    branches:\n      - main\n    tags:\n      - \"*.*.*\"\n    paths-ignore:\n      - \"test/*\"\n      - \".gitignore\"\n      - \"docker-compose-separate-containers.yml\"\n      - \"docker-compose.yml\"\n      - \"LICENSE\"\n      - \"Makefile\"\n      - \"*.md\"\n\njobs:\n  multiarch-build:\n    name: Build and publish image\n    strategy:\n      matrix:\n        base: [alpine, debian]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Retrieve nginx-proxy version\n        id: nginx-proxy_version\n        run: echo \"VERSION=$(git describe --tags)\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Retrieve docker-gen version\n        id: docker-gen_version\n        run: sed -n -e 's;^FROM nginxproxy/docker-gen:\\([0-9.]*\\).*;VERSION=\\1;p' Dockerfile.${{ matrix.base }} >> \"$GITHUB_OUTPUT\"\n\n      - name: Get Docker tags\n        id: docker_meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ghcr.io/nginx-proxy/nginx-proxy\n            nginxproxy/nginx-proxy\n            jwilder/nginx-proxy\n          tags: |\n            type=semver,pattern={{version}},enable=${{ matrix.base == 'debian' }}\n            type=semver,pattern={{major}}.{{minor}},enable=${{ matrix.base == 'debian' }}\n            type=semver,suffix=-alpine,pattern={{version}},enable=${{ matrix.base == 'alpine' }}\n            type=semver,suffix=-alpine,pattern={{major}}.{{minor}},enable=${{ matrix.base == 'alpine' }}\n            type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && matrix.base == 'debian' }}\n            type=raw,value=alpine,enable=${{ github.ref == 'refs/heads/main' && matrix.base == 'alpine' }}\n          labels: |\n            org.opencontainers.image.authors=Nicolas Duchon <nicolas.duchon@gmail.com> (@buchdag), Jason Wilder\n            org.opencontainers.image.version=${{ steps.nginx-proxy_version.outputs.VERSION }}\n          flavor: |\n            latest=false\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Log in to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push the image\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: Dockerfile.${{ matrix.base }}\n          build-args: |\n            NGINX_PROXY_VERSION=${{ steps.nginx-proxy_version.outputs.VERSION }}\n            DOCKER_GEN_VERSION=${{ steps.docker-gen_version.outputs.VERSION }}\n          platforms: linux/amd64,linux/arm64,linux/s390x,linux/arm/v7\n          sbom: true\n          push: true\n          provenance: mode=max\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Images digests\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "nginx-proxy/nginx-proxy"}
{"mined_at": "2024-07-15T13:40:27.037078", "created_at": "2023-12-19T20:27:15+01:00", "updated_at": "2023-12-19T20:27:15+01:00", "name": "Update Docker Hub Description", "path": ".github/workflows/dockerhub-description.yml", "contents": "name: Update Docker Hub Description\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - README.md\n      - .github/workflows/dockerhub-description.yml\n\njobs:\n  dockerHubDescription:\n    name: Update Docker Hub Description\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Docker Hub Description\n        uses: peter-evans/dockerhub-description@v4\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN_RWD }}\n          repository: nginxproxy/nginx-proxy\n          short-description: ${{ github.event.repository.description }}\n          enable-url-completion: true\n", "state": "active", "repository": "nginx-proxy/nginx-proxy"}
{"mined_at": "2024-07-15T13:40:28.093293", "created_at": "2021-04-01T22:18:17+02:00", "updated_at": "2021-05-04T11:03:45+02:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - \"LICENSE\"\n      - \"**.md\"\n  pull_request:\n    paths-ignore:\n      - \"LICENSE\"\n      - \"**.md\"\n\njobs:\n  unit:\n    name: Unit Tests\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        base_docker_image: [alpine, debian]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r python-requirements.txt\n        working-directory: test/requirements\n\n      - name: Build Docker web server image\n        run: make build-webserver\n\n      - name: Build Docker nginx proxy test image\n        run: make build-nginx-proxy-test-${{ matrix.base_docker_image }}\n\n      - name: Run tests\n        run: pytest\n        working-directory: test\n", "state": "active", "repository": "nginx-proxy/nginx-proxy"}
{"mined_at": "2024-07-15T13:40:29.175484", "created_at": "2024-05-01T13:53:11+02:00", "updated_at": "2024-05-01T13:53:11+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "nginx-proxy/nginx-proxy"}
{"mined_at": "2024-07-15T13:40:31.441066", "created_at": "2021-01-30T11:20:21+01:00", "updated_at": "2021-01-30T11:20:21+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  tests:\n    name: Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version:\n        - '3.8'\n        - '3.9'\n        - '3.10'\n        - '3.11'\n        - '3.12'\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: requirements/*.txt\n\n    - name: Upgrade packaging tools\n      run: python -m pip install --upgrade pip setuptools virtualenv wheel\n\n    - name: Install dependencies\n      run: python -m pip install --upgrade codecov tox\n\n    - name: Run tox targets for ${{ matrix.python-version }}\n      run: |\n        ENV_PREFIX=$(tr -C -d \"0-9\" <<< \"${{ matrix.python-version }}\")\n        TOXENV=$(tox --listenvs | grep \"^py$ENV_PREFIX\" | tr '\\n' ',') tox\n    - name: Run lint\n      if: ${{ matrix.python-version == '3.9' }}\n      run: |\n        tox -e lint\n\n  deploy:\n    runs-on: ubuntu-latest\n    needs: [tests]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        pip install build twine\n    - name: Publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n      run: |\n        python -m build\n        twine upload dist/*\n", "state": "active", "repository": "django-crispy-forms/django-crispy-forms"}
{"mined_at": "2024-07-15T13:40:32.434121", "created_at": "2021-04-09T09:26:31+02:00", "updated_at": "2021-04-09T09:26:31+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n\njobs:\n  tests:\n    name: Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version:\n        - '3.8'\n        - '3.9'\n        - '3.10'\n        - '3.11'\n        - '3.12'\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: requirements/*.txt\n\n    - name: Upgrade packaging tools\n      run: python -m pip install --upgrade pip setuptools virtualenv wheel\n\n    - name: Install dependencies\n      run: python -m pip install --upgrade codecov tox\n\n    - name: Run tox targets for ${{ matrix.python-version }}\n      run: |\n        ENV_PREFIX=$(tr -C -d \"0-9\" <<< \"${{ matrix.python-version }}\")\n        TOXENV=$(tox --listenvs | grep \"^py$ENV_PREFIX\" | tr '\\n' ',') tox\n    - name: Run lint\n      if: ${{ matrix.python-version == '3.9' }}\n      run: |\n        tox -e lint\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        flags: unittests\n        name: codecov-umbrella\n        fail_ci_if_error: false\n", "state": "active", "repository": "django-crispy-forms/django-crispy-forms"}
{"mined_at": "2024-07-15T13:40:34.621993", "created_at": "2020-03-05T19:25:06+01:00", "updated_at": "2022-01-25T04:54:10+01:00", "name": "Tests master", "path": ".github/workflows/ci.yml", "contents": "name: Tests master\n\non:\n  # This avoids having duplicate builds for a pull request\n  push:\n    branches:\n      - master\n      - \"*-maintenance\"\n    tags:\n      - \"v*\"\n  pull_request:\n    branches:\n      - master\n      - \"*-maintenance\"\n\njobs:\n  ############################################################################\n  # Lint jobs\n  ############################################################################\n  lint:\n    name: lint\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"lts/*\"\n          cache: \"npm\"\n          cache-dependency-path: \"**/package-lock.json\"\n      - name: Install node dependencies\n        run: make frontend/node_modules\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n          cache: \"pip\"\n          cache-dependency-path: \"**/pyproject.toml\"\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}\n      - name: Install python dependencies\n        id: pip\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox pre-commit\n          python -m pip freeze --local\n      - name: Run pylint\n        run: tox -e lint\n      - name: Run pre-commit\n        # run pre-commit check even if pylint check fails\n        if: steps.pip.outcome == 'success'\n        run: pre-commit run --show-diff-on-failure --color=always --all-files\n\n  ############################################################################\n  # Node tests\n  ############################################################################\n  node-tests:\n    name: ${{ matrix.os}} node-${{ matrix.node }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        node: [\"lts/*\"]\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        include:\n          - node: \"current\"\n            os: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: ${{ matrix.node }}\n          cache: \"npm\"\n          cache-dependency-path: \"**/package-lock.json\"\n      - name: Build frontend\n        run: make\n      - name: Typecheck and run frontend tests\n        run: make test-js\n\n  ############################################################################\n  # Python tests\n  ############################################################################\n  python-tests:\n    name: ${{ matrix.os }} py${{ matrix.python }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          - os: \"macos-latest\"\n            python: \"3.9\"\n          - os: \"macos-latest\"\n            python: \"3.10\"\n          - os: \"macos-latest\"\n            python: \"3.11\"\n          - os: \"windows-latest\"\n            python: \"3.9\"\n          - os: \"windows-latest\"\n            python: \"3.10\"\n          - os: \"windows-latest\"\n            python: \"3.11\"\n        include:\n          - python: \"3.12\"\n            install-ffmpeg: true\n          - os: \"macos-latest\"\n            # Omit test with older pillow versions on macOS.\n            # (Binary wheels not available?)\n            tox_skip_env: \".*-pillow\"\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"pip\"\n          cache-dependency-path: \"**/pyproject.toml\"\n\n      - name: Install Linux system dependencies\n        if: runner.os == 'Linux' && matrix.install-ffmpeg\n        run: |\n          sudo apt-get update\n          sudo apt-get -y install ffmpeg\n\n      - name: Install macOS system dependencies\n        if: runner.os == 'macOS' && matrix.install-ffmpeg\n        run: brew install ffmpeg\n\n      - name: Install Windows system dependencies\n        if: runner.os == 'Windows' && matrix.install-ffmpeg\n        run: choco install --no-progress --timeout 600 ffmpeg\n        continue-on-error: true\n      - name: Workaround for UnicodeDecodeError from tox on Windows\n        # Refs:\n        #   https://github.com/lektor/lektor/pull/933#issuecomment-923107580\n        #   https://github.com/tox-dev/tox/issues/1550\n        if: runner.os == 'Windows'\n        run: Out-File $env:GITHUB_ENV utf8 -Append -InputObject 'PYTHONIOENCODING=utf-8'\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox tox-gh-actions coverage[toml]\n      - name: Run python tests\n        run: tox\n        env:\n          TOX_SKIP_ENV: ${{ matrix.tox_skip_env }}\n      - name: Publish coverage data to codecov\n        uses: codecov/codecov-action@v3\n\n  ############################################################################\n  # Package and (Possibly) Publish to PyPI\n  ############################################################################\n  deploy:\n    needs: [\"lint\", \"node-tests\", \"python-tests\"]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v4\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"lts/*\"\n\n      - name: Install dependencies\n        run: python -m pip install build\n\n      - name: Build release artifacts\n        env:\n          HATCH_BUILD_CLEAN: \"true\"\n        run: python -m build\n\n      - name: Save release artifacts (for inspection)\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist\n          path: dist/*\n\n      - name: Publish release\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "lektor/lektor"}
{"mined_at": "2024-07-15T13:40:35.611529", "created_at": "2021-12-14T17:43:43+01:00", "updated_at": "2023-04-16T18:33:20+02:00", "name": "Upload Python Package on tags", "path": ".github/workflows/publish.yml", "contents": null, "state": "active", "repository": "lektor/lektor"}
{"mined_at": "2024-07-15T13:40:37.694476", "created_at": "2022-07-13T03:16:43+02:00", "updated_at": "2022-07-15T15:17:03+02:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": "name: Lint\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: psf/black@stable\n", "state": "active", "repository": "hhyo/archery"}
{"mined_at": "2024-07-15T13:40:38.821099", "created_at": "2021-03-28T13:20:44+02:00", "updated_at": "2021-03-28T13:20:44+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '27 10 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "hhyo/archery"}
{"mined_at": "2024-07-15T13:40:39.931722", "created_at": "2021-12-05T10:29:23+01:00", "updated_at": "2023-08-14T11:48:42+02:00", "name": "Django CI", "path": ".github/workflows/django.yml", "contents": "name: Django CI\n\non:\n  push:\n    branches:\n      - 'master'\n    tags:\n      - 'v*'\n  pull_request:\n    branches:\n      - 'master'\n\njobs:\n  django_ci:\n    name: Build and Test a Django Project\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n  \n    # https://github.com/actions/example-services/tree/master/.github/workflows\n    services:\n      mysql:\n        image: mysql:5.7\n        env:\n          MYSQL_ALLOW_EMPTY_PASSWORD: yes\n        ports:\n        - 3306:3306\n        options: >-\n          --name=mysql \n          --health-cmd=\"mysqladmin ping\" \n          --health-interval=10s \n          --health-timeout=5s \n          --health-retries=5\n      redis:\n        image: redis\n        ports:\n        - 6379:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n    - name: Check out repository code\n      uses: actions/checkout@v2\n    \n    - name: SET MySQL Cnf\n      run: |\n        cat << EOF > my.cnf\n        [mysqld]\n        server-id=100\n        log_bin=ON\n        character-set-server = utf8mb4\n        collation-server = utf8mb4_general_ci\n        lower_case_table_names=1\n        default-time_zone = '+8:00'\n        [client]\n        default-character-set=utf8mb4\n        EOF\n        docker cp my.cnf mysql:/etc/mysql/conf.d/\n        docker restart mysql\n    \n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        \n    - name: Install Dependencies\n      run: |\n        sudo apt-get update && sudo apt-get install libsasl2-dev libkrb5-dev libldap2-dev libssl-dev unixodbc unixodbc-dev\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install -r dev-requirements.txt\n        \n    - name: Init Table\n      run: |\n        mysql -h127.0.0.1 -uroot -e \"CREATE DATABASE archery CHARSET UTF8MB4;\"\n        mysql -h127.0.0.1 -uroot -e \"DROP DATABASE IF EXISTS test_archery;CREATE DATABASE test_archery CHARSET UTF8MB4;\"\n\n    - name: Run Tests\n      run: |\n        python manage.py makemigrations\n        python manage.py makemigrations sql\n        pytest --cov --cov-report xml\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        files: ./coverage.xml\n        fail_ci_if_error: true\n", "state": "active", "repository": "hhyo/archery"}
{"mined_at": "2024-07-15T13:40:40.926099", "created_at": "2022-02-19T03:52:05+01:00", "updated_at": "2022-02-19T04:33:06+01:00", "name": "Publish Docker Base image", "path": ".github/workflows/docker-base-image.yml", "contents": "name: Publish Docker Base image\n\non:\n  push:\n    branches:\n      - 'master'\n    paths:\n      - 'src/docker/Dockerfile-base'\n  pull_request:\n    branches:\n      - 'master'\n    paths:\n      - 'src/docker/Dockerfile-base'\n\njobs:\n  push_to_registries:\n    name: Build and push Docker Base images\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n      contents: read\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v2\n\n      - name: Log in to Docker Hub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v3\n        with:\n          tags: |\n            type=sha\n          images: |\n            hhyo/archery-base\n\n      - name: Build and push Docker Base images\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          file: src/docker/Dockerfile-base\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "hhyo/archery"}
{"mined_at": "2024-07-15T13:40:41.994447", "created_at": "2021-12-05T10:00:59+01:00", "updated_at": "2021-12-05T10:55:11+01:00", "name": "Publish Docker image", "path": ".github/workflows/docker-image.yml", "contents": "name: Publish Docker image\n\non:\n  push:\n    branches:\n      - 'master'\n    tags:\n      - 'v*'\n  pull_request:\n    branches:\n      - 'master'\n\njobs:\n  push_to_registries:\n    name: Build and push Docker images\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n      contents: read\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v2\n\n      - name: Log in to Docker Hub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Log in to the Container registry\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v3\n        with:\n          images: |\n            hhyo/archery\n            ghcr.io/${{ github.repository }}\n\n      - name: Build and push Docker images\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          file: src/docker/Dockerfile\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "hhyo/archery"}
{"mined_at": "2024-07-15T13:40:44.042098", "created_at": "2022-01-18T13:30:49+01:00", "updated_at": "2022-01-18T13:30:49+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sukeesh/jarvis"}
{"mined_at": "2024-07-15T13:40:46.102036", "created_at": "2020-07-01T03:15:36+02:00", "updated_at": "2020-07-01T03:42:10+02:00", "name": "Python package", "path": ".github/workflows/python-app.yml", "contents": "name: Python package\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"pypy-3.8\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n    - name: Install dependencies\n      run: make requirements\n    - name: Run tests\n      run: make coverage\n    - name: Static checks\n      if: \"matrix.python-version == '3.8'\"\n      run: make check\n    - name: Build docs with sphinx\n      if: \"matrix.python-version == '3.8'\"\n      run: make docs\n    - name: Build packages\n      if: \"matrix.python-version == '3.8'\"\n      run: make package\n    - name: Upload packages\n      if: \"matrix.python-version == '3.8'\"\n      uses: actions/upload-artifact@v4\n      with:\n        name: more-itertools-packages\n        path: dist/*\n", "state": "active", "repository": "more-itertools/more-itertools"}
{"mined_at": "2024-07-15T13:40:48.152187", "created_at": "2019-12-23T15:25:02+01:00", "updated_at": "2021-06-17T11:52:50+02:00", "name": "pgmpy", "path": ".github/workflows/ci.yml", "contents": "name: pgmpy\non: [push, pull_request]\njobs:\n  build:\n    name: Running tests - OS - ${{ matrix.os }}; Python - ${{ matrix.python-version}}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, windows-latest, macOS-latest]\n        group: [1, 2, 3, 4]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{matrix.python-version}}\n          cache: 'pip'\n      - name: Print python info\n        run: |\n          which python\n          python --version\n      - name: Install dependencies\n        run: |\n          pip install pip -U\n          pip install black -U\n          pip install pytest-split\n          pip install -r requirements.txt -U\n      - name: Check formatting\n        run: |\n          black --diff .\n          black --check .\n      - name: Print package versions\n        run: |\n          pip freeze\n      - name: Run tests\n        run: pytest --cov-config .coveragerc --cov-report html --cov-report term --cov=pgmpy --splits 4 --group ${{ matrix.group }} --verbose\n", "state": "active", "repository": "pgmpy/pgmpy"}
{"mined_at": "2024-07-15T13:40:50.202359", "created_at": "2020-01-11T00:38:46+01:00", "updated_at": "2020-01-11T00:44:49+01:00", "name": "Run all tests", "path": "", "contents": null, "state": "active", "repository": "flexget/flexget"}
{"mined_at": "2024-07-15T13:40:51.234109", "created_at": "2019-12-19T20:49:06+01:00", "updated_at": "2019-12-19T20:49:06+01:00", "name": "Changelog Update", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog Update\n\non:\n  push:\n    branches:\n    - develop\n\npermissions:\n  contents: read\n\njobs:\n  update-changelog:\n    permissions:\n      contents: write  # for Git to git push\n    name: Update Changelog\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: 3.11\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n      with:\n        fetch-depth: 0\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n      with:\n        repository: Flexget/wiki\n        path: wiki\n        token: ${{ secrets.flexgetbot_pat }}\n        ref: main\n    - name: Setup Git User\n      run: |\n        git config --global user.email ${{ secrets.git_email }}\n        git config --global user.name ${{ secrets.git_user }}\n    - name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n    - name: Install dev dependencies\n      run: |\n        pip --cache-dir pip_cache install -r dev-requirements.txt\n    - name: Update the Changelog\n      run: |\n        set -x\n        python update-changelog.py wiki/ChangeLog.md\n        cd wiki\n        git add ChangeLog.md\n        if ! git diff --cached --exit-code; then\n            git commit -m \"Automated ChangeLog update\"\n            git push origin main\n        fi\n", "state": "active", "repository": "flexget/flexget"}
{"mined_at": "2024-07-15T13:40:52.337342", "created_at": "2021-10-11T07:12:09+02:00", "updated_at": "2021-11-11T05:36:11+01:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Docker Image CI\n\non:\n  push:\n    branches:\n      - develop\n    tags:\n      - v*.*.*\n  pull_request:\n    branches:\n      - \"*\"\n\npermissions: {}\n\njobs:\n  build:\n    permissions:\n      contents: read # to fetch code (actions/checkout)\n      packages: write # to push to ghcr.io\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          install: true\n\n      - name: Log in to Docker Hub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        if: github.event_name == 'push'\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ github.token }}\n\n      - name: Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            flexget/flexget\n            ghcr.io/flexget/flexget\n          tags: |\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{major}}\n            type=ref,event=branch\n\n      - name: Build Base Docker Image\n        id: docker_build\n        uses: docker/build-push-action@v6\n        with:\n          context: ./\n          file: ./Dockerfile\n          builder: ${{ steps.buildx.output.name }}\n          push: ${{ github.event_name == 'push' && github.ref != 'refs/heads/master' }}\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: |\n            type=gha, scope=${{ github.ref_name }}\n            type=gha, scope=${{ github.base_ref }}\n          cache-to: type=gha, mode=max, scope=${{ github.ref_name }}\n", "state": "active", "repository": "flexget/flexget"}
{"mined_at": "2024-07-15T13:40:53.390627", "created_at": "2019-12-19T15:30:03+01:00", "updated_at": "2019-12-19T15:30:03+01:00", "name": "Main Workflow", "path": ".github/workflows/main.yml", "contents": "name: Main Workflow\n\non:\n  push:\n    branches:\n    - develop\n  pull_request:\n    branches:\n    - \"*\"\npermissions:\n  contents: read\n\njobs:\n  tests:\n    name: Run Tests\n    runs-on: ${{ matrix.operating-system }}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        operating-system: [ubuntu-latest] # TODO: Fix a couple tests and enable windows. windows-latest\n      fail-fast: false\n    env:\n      POETRY_VERSION: \"1.2.2\"\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n    # Can we cache the apt-get stuff somehow?\n    - name: Install unrar  # used by some flexget tests\n      if: matrix.operating-system == 'ubuntu-latest'\n      run: |\n        sudo apt-get update\n        sudo apt-get install -qy unrar\n    # There is some poetry caching built in to setup-python, but there seems to be some confusion\n    # about whether it works well when using a matrix of different python versions. Doing caching\n    # manually for now, until there is more info.\n    - name: Set up Python ${{ matrix.python-version }}\n      id: setup-python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: cache poetry install\n      uses: actions/cache@v4\n      with:\n        path: ~/.local\n        key: poetry-${{ matrix.python-version }}-${{ env.POETRY_VERSION }}-0  # increment last number to reset cache\n    - uses: snok/install-poetry@v1\n      with:\n        version: ${{ env.POETRY_VERSION }}\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n    - name: Load cached venv\n      id: cached-poetry-dependencies\n      uses: actions/cache@v4\n      with:\n        path: .venv\n        key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n    - name: Install dependencies\n      if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n      run: poetry install --no-interaction --no-root\n    - name: Install project\n      run: poetry install --no-interaction\n    - name: Test with pytest\n      run: |\n        poetry run pytest -n auto\n", "state": "active", "repository": "flexget/flexget"}
{"mined_at": "2024-07-15T13:40:54.590148", "created_at": "2020-01-14T16:02:44+01:00", "updated_at": "2021-10-20T22:04:36+02:00", "name": "Trigger Deploy", "path": ".github/workflows/nightly.yml", "contents": "name: Trigger Deploy\n\non:\n  schedule:\n    - cron: 0 15 * * *\n  workflow_dispatch: {}\n\npermissions: {}\n\njobs:\n  deploy:\n    permissions:\n      contents: read # to fetch code (actions/checkout)\n      deployments: write # to create deployment\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n      - uses: actions/github-script@v7\n        name: Create Deployment\n        with:\n          github-token: ${{ secrets.flexgetbot_pat }}\n          script: |\n            await github.rest.repos.createDeployment({\n              ...context.repo,\n              ref: context.ref.slice(11),\n            });\n", "state": "active", "repository": "flexget/flexget"}
{"mined_at": "2024-07-15T13:40:55.603159", "created_at": "2020-05-16T20:47:12+02:00", "updated_at": "2020-05-16T20:47:12+02:00", "name": "No PRs to Master", "path": ".github/workflows/no-prs-to-master.yml", "contents": "name: No PRs to Master\n\non:\n  pull_request:\n    branches:\n      - 'master'\n\npermissions:\n  contents: read\n\njobs:\n  fail:\n    permissions:\n      contents: none\n    runs-on: ubuntu-latest\n    name: Please make them to develop\n    steps:\n      - name: No PRs to master, please make them to develop\n        run: |\n          echo \"::error::No PRs should be made against master\"\n          exit 1\n", "state": "active", "repository": "flexget/flexget"}
{"mined_at": "2024-07-15T13:40:56.819377", "created_at": "2020-05-16T19:54:43+02:00", "updated_at": "2020-05-16T20:24:33+02:00", "name": "Build and release to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Build and release to PyPI\non: ['deployment']\npermissions: {}\njobs:\n  release:\n    permissions:\n      contents: write # for git push\n      deployments: write # to create a deployment status\n\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: \"3.11\"\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n      with:\n        token: ${{ secrets.flexgetbot_pat }}\n        fetch-depth: 0\n    - name: Setup Git User\n      run: |\n        git config user.email ${{ secrets.git_email }}\n        git config user.name ${{ secrets.git_user }}\n    - name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n        cache: 'pip'\n        cache-dependency-path: 'dev-requirements.txt'\n    - name: Install dev dependencies\n      run: |\n        pip install -r requirements-release.txt\n    - name: Set Deployment Status Pending\n      uses: justacodename/deployment-status@v2\n      with:\n        state: pending\n    - name: Run release script\n      env:\n        TWINE_USERNAME: \"__token__\"\n        TWINE_PASSWORD: ${{ secrets.pypi_token }}\n      run: |\n        ./release.sh\n    - name: Build Changelog\n      id: changelog\n      if: env.release_tag\n      run: |\n        echo 'CHANGELOG_BODY<<EOF' >> $GITHUB_ENV\n        python dev_tools.py get-changelog ${{ env.release_tag }} >> $GITHUB_ENV\n        echo 'EOF' >> $GITHUB_ENV\n    - name: Create GitHub Release\n      uses: ncipollo/release-action@v1\n      if: env.release_tag\n      with:\n        tag: ${{ env.release_tag }}\n        artifacts: \"dist/*\"\n        token: ${{ secrets.GITHUB_TOKEN }}\n        body: ${{ env.CHANGELOG_BODY }}\n    - name: Set Deployment Status Success\n      uses: justacodename/deployment-status@v2\n      with:\n        state: success\n    - name: Set Deployment Status Failure\n      if: failure() || cancelled()\n      uses: justacodename/deployment-status@v2\n      with:\n        state: failure\n", "state": "active", "repository": "flexget/flexget"}
{"mined_at": "2024-07-15T13:40:57.969323", "created_at": "2021-05-03T15:56:04+02:00", "updated_at": "2021-05-03T15:56:04+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '30 */12 * * *'\nenv:\n  DAYS_BEFORE_ISSUE_STALE: 150\n  DAYS_BEFORE_ISSUE_CLOSE: 30\n  DAYS_BEFORE_PR_STALE: 150\n  DAYS_BEFORE_PR_CLOSE: 60\npermissions:\n  contents: read\n\njobs:\n  stale:\n    permissions:\n      issues: write  # for actions/stale to close stale issues\n      pull-requests: write  # for actions/stale to close stale PRs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          stale-issue-message: 'This issue is stale because it has been open ${{ env.DAYS_BEFORE_ISSUE_STALE }} days with no activity. Remove stale label or comment or this will be closed in ${{ env.DAYS_BEFORE_ISSUE_CLOSE }} days.'\n          close-issue-message: 'This issue has been stale for ${{ env.DAYS_BEFORE_ISSUE_CLOSE }} days and is being closed.'\n          days-before-issue-stale: ${{ env.DAYS_BEFORE_ISSUE_STALE }}\n          days-before-issue-close: ${{ env.DAYS_BEFORE_ISSUE_CLOSE }}\n          stale-pr-message: 'This PR is stale because it has been open ${{ env.DAYS_BEFORE_PR_STALE }} days with no activity. Remove stale label or comment or this will be closed in ${{ env.DAYS_BEFORE_PR_CLOSE }} days.'\n          close-pr-message: 'This PR has been stale for ${{ env.DAYS_BEFORE_PR_CLOSE }} days and is being closed. Apologies if this is still relevant, it can be hard to find the time to review and merge everything. Feel free to make sure it is up to date and open it again.'\n          days-before-pr-stale: ${{ env.DAYS_BEFORE_PR_STALE }}\n          days-before-pr-close: ${{ env.DAYS_BEFORE_PR_CLOSE }}\n          operations-per-run: 100\n          ascending: true\n", "state": "active", "repository": "flexget/flexget"}
{"mined_at": "2024-07-15T13:41:01.143793", "created_at": "2020-01-10T03:28:48+01:00", "updated_at": "2020-01-10T03:28:57+01:00", "name": "CI", "path": "", "contents": null, "state": "active", "repository": "beeware/briefcase"}
{"mined_at": "2024-07-15T13:41:02.185057", "created_at": "2019-12-20T11:16:26+01:00", "updated_at": "2024-02-04T05:58:56+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  pull_request:\n  push:\n    branches:\n      - main\n  workflow_call:\n    inputs:\n      attest-package:\n        description: \"Create GitHub provenance attestation for the package.\"\n        default: \"false\"\n        type: string\n    outputs:\n      artifact-name:\n        description: \"Name of the uploaded artifact; use for artifact retrieval.\"\n        value: ${{ jobs.package.outputs.artifact-name }}\n\n# Cancel active CI runs for a PR before starting another run\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash  # https://github.com/beeware/briefcase/pull/912\n\nenv:\n  FORCE_COLOR: \"1\"\n\njobs:\n  pre-commit:\n    name: Pre-commit checks\n    uses: beeware/.github/.github/workflows/pre-commit-run.yml@main\n\n  towncrier:\n    name: Check towncrier\n    uses: beeware/.github/.github/workflows/towncrier-run.yml@main\n\n  package:\n    name: Package Briefcase\n    permissions:\n      id-token: write\n      contents: read\n      attestations: write\n    uses: beeware/.github/.github/workflows/python-package-create.yml@main\n    with:\n      attest: ${{ inputs.attest-package }}\n\n  package-automation:\n    name: Package Automation\n    permissions:\n      id-token: write\n      contents: read\n      attestations: write\n    uses: beeware/.github/.github/workflows/python-package-create.yml@main\n    with:\n      build-subdirectory: \"automation\"\n\n  unit-tests:\n    name: Unit tests\n    needs: [ pre-commit, towncrier, package ]\n    runs-on: ${{ matrix.platform }}\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ \"macos-12\", \"macos-14\", \"windows-latest\", \"ubuntu-latest\" ]\n        python-version: [ \"3.8\", \"3.12\", \"3.13-dev\" ]\n        include:\n          - experimental: false\n          - platform: \"ubuntu-latest\"\n            python-version: \"3.9\"\n            experimental: false\n          - platform: \"ubuntu-latest\"\n            python-version: \"3.10\"\n            experimental: false\n          - platform: \"ubuntu-latest\"\n            python-version: \"3.11\"\n            experimental: false\n          # Allow dev Python to fail without failing entire job\n          - python-version: \"3.13-dev\"\n            experimental: true\n        exclude:\n          # macos-14 (i.e. arm64) does not support Python 3.8\n          - platform: \"macos-14\"\n            python-version: \"3.8\"\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4.1.7\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Get Packages\n      uses: actions/download-artifact@v4.1.7\n      with:\n        name: ${{ needs.package.outputs.artifact-name }}\n        path: dist\n\n    - name: Install Tox\n      uses: beeware/.github/.github/actions/install-requirement@main\n      with:\n        requirements: tox\n        extra: dev\n\n    - name: Test\n      id: test\n      run: |\n        RUNNER_OS=$(cut -d- -f1 <<< ${{ matrix.platform }})\n        RUNNER_VERSION=$(cut -d- -f2 <<< ${{ matrix.platform }})\n        COVERAGE_FILE=\".coverage.${RUNNER_OS}.${RUNNER_VERSION}.${{ matrix.python-version }}\" \\\n          tox -e py-cov --installpkg dist/briefcase-*.whl\n\n    - name: Store Coverage Data\n      if: always() && contains('success,failure', steps.test.outcome)\n      uses: actions/upload-artifact@v4.3.3\n      with:\n        name: coverage-data-${{ matrix.platform }}-${{ matrix.python-version }}\n        path: \".coverage.*\"\n        if-no-files-found: ignore\n\n    - name: Report Platform Coverage\n      id: coverage\n      if: always() && contains('success,failure', steps.test.outcome)\n      # coverage reporting must use the same Python version used to produce coverage\n      run: tox -qe coverage$(tr -dc \"0-9\" <<< \"${{ matrix.python-version }}\")\n\n  coverage:\n    name: Project coverage\n    runs-on: ubuntu-latest\n    needs: unit-tests\n    if: always() && contains('success,failure', needs.unit-tests.result)\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4.1.7\n      with:\n        fetch-depth: 0\n\n    - name: Setup Python\n      uses: actions/setup-python@v5.1.0\n      with:\n        # Use minimum version of python for coverage to avoid phantom branches\n        # https://github.com/nedbat/coveragepy/issues/1572#issuecomment-1522546425\n        python-version: \"3.8\"\n\n    - name: Install Tox\n      uses: beeware/.github/.github/actions/install-requirement@main\n      with:\n        requirements: tox\n        extra: dev\n\n    - name: Retrieve Coverage Data\n      uses: actions/download-artifact@v4.1.7\n      with:\n        pattern: coverage-data-*\n        merge-multiple: true\n\n    - name: Platform Coverage Reports\n      id: platform-coverage\n      run: |\n        tox --parallel-no-spinner -qe \\\n          coverage-ci-platform-linux,coverage-ci-platform-macos,coverage-ci-platform-windows\n\n    - name: Project Coverage Report\n      id: project-coverage\n      if: always() || contains('success,failure', needs.platform-coverage.result)\n      run: tox -qe coverage-ci-project-html\n\n    - name: Upload Project Coverage HTML Report\n      if: always() && steps.project-coverage.outcome == 'failure'\n      uses: actions/upload-artifact@v4.3.3\n      with:\n        name: html-coverage-report-project\n        path: htmlcov\n\n  verify-projects:\n    name: Verify project\n    needs: [ package, package-automation, unit-tests ]\n    uses: beeware/.github/.github/workflows/app-create-verify.yml@main\n    with:\n      runner-os: ${{ matrix.runner-os }}\n      framework: ${{ matrix.framework }}\n    strategy:\n      fail-fast: false\n      matrix:\n        framework: [ \"toga\", \"pyside6\", \"pygame\", \"console\" ]\n        runner-os: [ \"macos-12\", \"macos-14\", \"ubuntu-22.04\", \"windows-latest\" ]\n\n  verify-apps:\n    name: Build app\n    needs: [ package, package-automation, unit-tests ]\n    uses: beeware/.github/.github/workflows/app-build-verify.yml@main\n    with:\n      # This *must* be the version of Python that is the system Python on the\n      # Ubuntu version used to run Linux tests. We use a fixed ubuntu-22.04\n      # rather than `-latest` because at some point, `-latest` will become\n      # `-24.04`, but it will be a soft changeover, which will cause havoc with\n      # the hard Python version requirement for local system packages.\n      python-version: \"3.10\"\n      runner-os: ${{ matrix.runner-os }}\n      framework: ${{ matrix.framework }}\n    strategy:\n      fail-fast: false\n      matrix:\n        framework: [ \"toga\", \"pyside6\", \"pygame\", \"console\" ]\n        runner-os: [ \"macos-12\", \"macos-14\", \"ubuntu-22.04\", \"windows-latest\" ]\n", "state": "active", "repository": "beeware/briefcase"}
{"mined_at": "2024-07-15T13:41:03.395953", "created_at": "2024-03-07T04:23:50+01:00", "updated_at": "2024-03-07T04:23:50+01:00", "name": "Bump Config File Dependencies", "path": ".github/workflows/config-file-deps-bump.yml", "contents": "name: Bump Config File Dependencies\n\non:\n  schedule:\n    - cron: \"0 20 * * SUN\"  # Sunday @ 2000 UTC\n  workflow_dispatch:\n\njobs:\n  dep-bump-versions:\n    name: Bump Config File Dependencies\n    uses: beeware/.github/.github/workflows/dep-version-bump.yml@main\n    secrets: inherit\n    with:\n      subdirectory: . automation\n", "state": "active", "repository": "beeware/briefcase"}
{"mined_at": "2024-07-15T13:41:04.523545", "created_at": "2022-09-30T03:08:28+02:00", "updated_at": "2022-09-30T03:08:28+02:00", "name": "Dependabot Change Note", "path": ".github/workflows/dependabot-changenote.yml", "contents": "name: Dependabot Change Note\n\non:\n  push:\n    branches:\n      - 'dependabot/**'\n\njobs:\n  changenote:\n    name: Dependabot Change Note\n    uses: beeware/.github/.github/workflows/dependabot-changenote.yml@main\n    secrets: inherit\n", "state": "active", "repository": "beeware/briefcase"}
{"mined_at": "2024-07-15T13:41:05.649390", "created_at": "2023-01-29T23:26:01+01:00", "updated_at": "2023-05-14T22:12:52+02:00", "name": "Update pre-commit", "path": ".github/workflows/pre-commit-update.yml", "contents": "name: Update pre-commit\n\non:\n  schedule:\n    - cron: \"0 20 * * SUN\"  # Sunday @ 2000 UTC\n  workflow_dispatch:\n\njobs:\n  pre-commit-update:\n    name: Update pre-commit\n    uses: beeware/.github/.github/workflows/pre-commit-update.yml@main\n    secrets: inherit\n", "state": "active", "repository": "beeware/briefcase"}
{"mined_at": "2024-07-15T13:41:06.652609", "created_at": "2019-12-28T07:47:13+01:00", "updated_at": "2019-12-28T07:47:13+01:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: published\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      # This permission is required for trusted publishing.\n      id-token: write\n    steps:\n      - uses: dsaltares/fetch-gh-release-asset@1.1.2\n        with:\n          version: tags/${{ github.event.release.tag_name }}\n          file: ${{ github.event.repository.name }}.*\n          regex: true\n          target: dist/\n\n      - name: Publish release to production PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "beeware/briefcase"}
{"mined_at": "2024-07-15T13:41:07.701872", "created_at": "2019-12-28T07:41:39+01:00", "updated_at": "2023-04-17T05:01:23+02:00", "name": "Create Release", "path": ".github/workflows/release.yml", "contents": "name: Create Release\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  ci:\n    name: CI\n    uses: ./.github/workflows/ci.yml\n    with:\n      attest-package: \"true\"\n\n  docs:\n    name: Verify Docs Build\n    uses: beeware/.github/.github/workflows/docs-build-verify.yml@main\n    secrets: inherit\n    with:\n      project-name: \"briefcase\"\n      project-version: ${{ github.ref_name }}\n\n  release:\n    name: Create Release\n    needs: [ ci, docs ]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      # This permission is required for trusted publishing.\n      id-token: write\n    steps:\n      - name: Set build variables\n        run: |\n          echo \"VERSION=${GITHUB_REF_NAME#v}\" | tee -a $GITHUB_ENV\n\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.x\"\n\n      - name: Get packages\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: ${{ needs.ci.outputs.artifact-name }}\n          path: dist\n\n      - name: Purge non-release packages\n        run: rm -rf dist/x-*\n\n      - name: Install packages\n        run: pip install dist/*.whl\n\n      - name: Check version number\n        # Check that the setuptools_scm-generated version number is still the same when\n        # installed from a wheel with setuptools_scm not present.\n        run: |\n          set -x\n          test $(briefcase --version) = $VERSION\n\n      - name: Create release\n        uses: ncipollo/release-action@v1.14.0\n        with:\n          name: ${{ env.VERSION }}\n          draft: true\n          artifacts: dist/${{ github.event.repository.name }}*\n          artifactErrorsFailBuild: true\n\n      - name: Publish release to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "beeware/briefcase"}
{"mined_at": "2024-07-15T13:41:09.767687", "created_at": "2023-12-27T08:43:15+01:00", "updated_at": "2023-12-27T08:43:15+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "cltk/cltk"}
{"mined_at": "2024-07-15T13:41:11.754784", "created_at": "2020-11-06T20:26:38+01:00", "updated_at": "2020-12-30T17:14:44+01:00", "name": "tests", "path": ".github/workflows/main.yml", "contents": "name: tests\n\non:\n  merge_group:\n  push:\n    branches-ignore:\n    # temporary GH branches relating to merge queues (jaraco/skeleton#93)\n    - gh-readonly-queue/**\n    tags:\n    # required if branches-ignore is supplied (jaraco/skeleton#103)\n    - '**'\n  pull_request:\n\npermissions:\n  contents: read\n\nenv:\n  # Environment variable to support color support (jaraco/skeleton#66)\n  FORCE_COLOR: 1\n\n  # Suppress noisy pip warnings\n  PIP_DISABLE_PIP_VERSION_CHECK: 'true'\n  PIP_NO_PYTHON_VERSION_WARNING: 'true'\n  PIP_NO_WARN_SCRIPT_LOCATION: 'true'\n\n  # Ensure tests can sense settings about the environment\n  TOX_OVERRIDE: >-\n    testenv.pass_env+=GITHUB_*,FORCE_COLOR\n\n\njobs:\n  test:\n    strategy:\n      # https://blog.jaraco.com/efficient-use-of-ci-resources/\n      matrix:\n        python:\n        - \"3.8\"\n        - \"3.12\"\n        platform:\n        - ubuntu-latest\n        - macos-latest\n        - windows-latest\n        include:\n        - python: \"3.9\"\n          platform: ubuntu-latest\n        - python: \"3.10\"\n          platform: ubuntu-latest\n        - python: \"3.11\"\n          platform: ubuntu-latest\n        - python: pypy3.10\n          platform: ubuntu-latest\n    runs-on: ${{ matrix.platform }}\n    continue-on-error: ${{ matrix.python == '3.13' }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox\n\n  collateral:\n    strategy:\n      fail-fast: false\n      matrix:\n        job:\n        - diffcov\n        - docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Eval ${{ matrix.job }}\n        run: tox -e ${{ matrix.job }}\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n    - test\n    - collateral\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n\n  release:\n    permissions:\n      contents: write\n    needs:\n    - check\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox -e release\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "jaraco/keyring"}
{"mined_at": "2024-07-15T13:41:13.826452", "created_at": "2020-04-29T19:20:10+02:00", "updated_at": "2020-05-10T19:03:46+02:00", "name": "Continuous Integration", "path": ".github/workflows/ci.yml", "contents": "name: Continuous Integration\non:\n  schedule:\n    - cron: \"0 0 * * 2\"\n  push:\n    branches:\n      - main\n      - staging\n      - trying\n  pull_request_target:\n    branches:\n      - main\n    paths:\n      - .github/workflows/ci.yml\n      - \"pyvisa/**\"\n      - pyproject.toml\n\njobs:\n  formatting:\n    name: Check code formatting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install tools\n        run: |\n          python -m pip install --upgrade pip\n          pip install ruff mypy pytest numpy\n      - name: Formatting\n        run: |\n          ruff format pyvisa --check;\n      - name: Linting\n        if: always()\n        run: |\n          ruff pyvisa;\n      - name: typing\n        if: always()\n        run: |\n          mypy pyvisa;\n  tests:\n    name: Unit tests\n    runs-on: ${{ matrix.os }}\n    needs:\n      - formatting\n    if: needs.formatting.result == 'success'\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          - python-version: '3.9'\n            os: macos-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install numpy\n      - name: Install project\n        run: |\n          pip install -e .\n      - name: Test with pytest\n        run: |\n          pip install pytest-cov\n          python -X dev -m pytest --pyargs pyvisa --cov --cov-report xml -v\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: unittests\n          name: codecov-umbrella\n          fail_ci_if_error: true\n\n  # Added to summarize the matrix (otherwise we would need to list every single\n  # job in bors.toml)\n  tests-result:\n    name: Tests result\n    if: always()\n    needs:\n      - tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Mark the job as a success\n        if: needs.tests.result == 'success'\n        run: exit 0\n      - name: Mark the job as a failure\n        if: needs.tests.result != 'success'\n        run: exit 1\n", "state": "active", "repository": "pyvisa/pyvisa"}
{"mined_at": "2024-07-15T13:41:15.070270", "created_at": "2020-05-10T18:25:34+02:00", "updated_at": "2020-05-10T18:25:34+02:00", "name": "Documentation building", "path": ".github/workflows/docs.yml", "contents": "name: Documentation building\non:\n  schedule:\n    - cron: \"0 0 * * 2\"\n  push:\n    branches:\n      - main\n      - staging\n      - trying\n  pull_request_target:\n    branches:\n      - main\n    paths:\n      - .github/workflows/docs.yml\n      - \"pyvisa/**\"\n      - \"docs/**\"\n\njobs:\n  docs:\n    name: Docs building\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r docs/requirements.txt\n      - name: Install project\n        run: |\n          pip install .\n      - name: Install graphviz\n        uses: ts-graphviz/setup-graphviz@v2\n      - name: Build documentation\n        run: |\n          mkdir docs_output;\n          sphinx-build docs/source docs_output -W -b html;\n", "state": "active", "repository": "pyvisa/pyvisa"}
{"mined_at": "2024-07-15T13:41:16.150480", "created_at": "2022-05-10T10:44:48+02:00", "updated_at": "2022-05-10T10:44:48+02:00", "name": "Build and upload wheels", "path": ".github/workflows/release.yml", "contents": "name: Build and upload wheels\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * 3'\n  push:\n    tags:\n      - '*'\n\njobs:\n  build_sdist:\n    name: Build sdist\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Get history and tags for SCM versioning to work\n        run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n      - name: Setup Python\n        uses: actions/setup-python@v5\n      - name: Build sdist\n        run: |\n          pip install --upgrade pip\n          pip install wheel build\n          python -m build . -s\n      - name: Test sdist\n        run: |\n          pip install pytest\n          pip install dist/*.tar.gz\n          python -X dev -m pytest --pyargs pyvisa\n      - name: Store artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: dist/*\n\n  build_wheel:\n    name: Build wheel\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Get history and tags for SCM versioning to work\n        run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n      - name: Setup Python\n        uses: actions/setup-python@v5\n      - name: Build wheels\n        run: |\n          pip install --upgrade pip\n          pip install wheel build\n          python -m build . -w\n      - name: Test wheel\n        run: |\n          pip install pytest\n          pip install dist/*.whl\n          python -X dev -m pytest --pyargs pyvisa\n      - name: Store artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: dist/*.whl\n\n  release_upload:\n    name: Create Release and Upload Release Asset\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n    needs: [build_wheel, build_sdist]\n    steps:\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: Release ${{ github.ref }}\n          draft: false\n          prerelease: ${{ contains(github.ref, 'rc') || contains(github.ref, 'a') || contains(github.ref, 'b')}}\n      - uses: actions/download-artifact@v4\n        with:\n          name: artifact\n          path: dist\n      - name: Upload Release Asset\n        id: upload-release-asset\n        uses: shogo82148/actions-upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_path: dist/*\n\n  upload_pypi:\n    if: github.event_name == 'push'\n    needs: [build_wheel, build_sdist]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n          # To test:\n          # repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "pyvisa/pyvisa"}
{"mined_at": "2024-07-15T13:41:18.291011", "created_at": "2019-12-20T00:26:55+01:00", "updated_at": "2019-12-20T00:26:55+01:00", "name": "Build & Test", "path": ".github/workflows/ci.yml", "contents": "---\nname: Build & Test\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: '42 3 * * *'\n\njobs:\n  build:\n    name: Build on ${{ matrix.os }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [bookworm, focal, jammy, debian-testing]\n    container:\n      image: ganeti/ci:${{ matrix.os }}-py3\n      options: \"--init\"\n    steps:\n      - uses: actions/checkout@v1\n\n      - name: autogen\n        run: ./autogen.sh\n\n      - name: configure\n        run: ./configure --enable-haskell-tests\n\n      - name: Build\n        run: make -j 2\n\n      - name: Check Local\n        run: mv .github/ /tmp/\n             && LC_ALL=C make check-local\n             && mv /tmp/.github/ .\n\n      - name: Python tests\n        run: make py-tests\n\n      - name: Haskell tests\n        run: make -j 2 hs-tests\n", "state": "active", "repository": "ganeti/ganeti"}
{"mined_at": "2024-07-15T13:41:19.293309", "created_at": "2020-08-31T20:48:49+02:00", "updated_at": "2020-08-31T20:48:49+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [master, stable-2.16]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 12 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n         languages: ${{ matrix.language }}\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "ganeti/ganeti"}
{"mined_at": "2024-07-15T13:41:20.326405", "created_at": "2021-10-31T19:13:05+01:00", "updated_at": "2021-10-31T19:13:05+01:00", "name": "Manual Ganeti QA Suite Run", "path": ".github/workflows/qa-suite-run.yml", "contents": "---\nname: Manual Ganeti QA Suite Run\non:\n  workflow_dispatch:\n    inputs:\n      recipe:\n        description: \"QA recipe to run\"\n        required: true\n        default: \"kvm-drbd_file_sharedfile-bridged\"\n      source:\n        description: \"Source Repository (Syntax 'user-name/repo-name')\"\n        required: true\n        default: \"ganeti/ganeti\"\n      branch:\n        description: \"Branch to build from\"\n        required: true\n        default: \"master\"\n      debian-version:\n        description: \"Which Debian version to use\"\n        required: true\n        default: \"bullseye\"\ndefaults:\n  run:\n    working-directory: /home/rbott/ganeti-cluster-testing\njobs:\n  Run-QA-Suite:\n    runs-on: [ qa-runner ]\n    steps:\n      - name: \"Start the QA suite on Debian ${{ github.event.inputs.debian-version }} from ${{ github.event.inputs.source }}:${{ github.event.inputs.branch }}\"\n        run: \"python3 -u run-cluster-test.py run-test --os-version '${{ github.event.inputs.debian-version }}' --recipe '${{ github.event.inputs.recipe }}' --source '${{ github.event.inputs.source }}' --branch '${{ github.event.inputs.branch }}' --remove-instances-on-success\"\n        working-directory: \"/home/rbott/ganeti-cluster-testing/\"", "state": "active", "repository": "ganeti/ganeti"}
{"mined_at": "2024-07-15T13:41:22.294551", "created_at": "2021-04-24T00:07:47+02:00", "updated_at": "2023-05-31T19:02:41+02:00", "name": "CodeQL Security Scan", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL Security Scan\"\n\non:\n  pull_request:\n    branches: [ master ]\n  schedule:\n    - cron: '0 0 * * 3'\n\njobs:\n  analyze:\n    name: CodeQLAnalyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3", "state": "active", "repository": "jonrau1/electriceye"}
{"mined_at": "2024-07-15T13:41:23.361270", "created_at": "2023-05-18T02:22:52+02:00", "updated_at": "2023-06-01T04:40:09+02:00", "name": "ElectricEye on Docker Hub", "path": ".github/workflows/push-docker-hub.yml", "contents": "name: \"ElectricEye on Docker Hub\"\n\non:\n  push:\n    branches: [ master ]\n\njobs:\n  ElectricEyeOnDockerHub:\n    runs-on: ubuntu-latest\n\n    env:\n      DOCKER_USER: ${{secrets.DOCKER_USER}}\n      DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}\n      IMAGE_TAG: ${{ github.sha }}\n\n    steps:\n      # Checkout le branch\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      # Log in to Docker Hub\n      - name: Docker Hub Login\n        run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD \n\n      # Build, Tag, Push to Docker Hub\n      - name: Build, Tag, Push Image to Docker Hub\n        id: tag-and-push-image\n        run: |\n          docker build -t electriceye/electriceye:$IMAGE_TAG .\n          docker tag electriceye/electriceye:$IMAGE_TAG electriceye/electriceye:latest\n          docker push electriceye/electriceye:$IMAGE_TAG\n          docker push electriceye/electriceye:latest\n\n      # Print the location\n      - name: Print Image\n        run: echo \"electriceye/electriceye:$IMAGE_TAG\"", "state": "active", "repository": "jonrau1/electriceye"}
{"mined_at": "2024-07-15T13:41:24.358349", "created_at": "2023-05-17T19:19:37+02:00", "updated_at": "2023-06-01T04:40:09+02:00", "name": "ElectricEye on ECR Public", "path": ".github/workflows/push-ecr-public.yml", "contents": "name: \"ElectricEye on ECR Public\"\n\non:\n  push:\n    branches: [ master ]\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  ElectricEyeOnEcrPublic:\n    runs-on: ubuntu-latest\n\n    steps:\n      # Checkout le branch\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      # Assume Role via OIDC Provider\n      - name: Assume AWS Role with OIDC\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: arn:aws:iam::${{ secrets.ELECTRIC_EYE_OPENSOURCE_AWS_ACCOUNT_ID }}:role/ElectricEyeOIDCGitHubActionRole\n          aws-region: us-east-1\n\n      # ECR Login to ECR-Public\n      - name: Amazon ECR Public Login\n        id: login-ecr-public\n        uses: aws-actions/amazon-ecr-login@v2\n        with:\n          registry-type: public\n\n      # Build, Tag, Push to ECR-Public\n      - name: Build, Tag, Push Image to ECR Public\n        env:\n          REGISTRY: ${{ steps.login-ecr-public.outputs.registry }}\n          REGISTRY_ALIAS: t4o3u7t2\n          REPOSITORY: electriceye\n          IMAGE_TAG: ${{ github.sha }}\n        run: |\n          docker build -t $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG .\n          docker tag $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:latest\n          docker push $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG\n          docker push $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:latest\n      \n      # Print the location\n      - name: Print Image\n        run: echo \"$REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG\"", "state": "active", "repository": "jonrau1/electriceye"}
{"mined_at": "2024-07-15T13:41:25.395880", "created_at": "2023-05-17T20:12:11+02:00", "updated_at": "2023-06-01T04:40:09+02:00", "name": "ElectricEye on OCI Container Registry", "path": ".github/workflows/push-ocr-public.yml", "contents": "name: \"ElectricEye on OCI Container Registry\"\n\non:\n  push:\n    branches: [ master ]\n\njobs:\n  ElectricEyeOnOcrPublic:\n    runs-on: ubuntu-latest\n\n    # All 5 of these OCI_ tags must match exactly\n    # https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/clienvironmentvariables.htm\n    env:\n      OCI_CLI_USER: ${{ secrets.OCI_CLI_USER }}\n      OCI_CLI_TENANCY: ${{ secrets.OCI_CLI_TENANCY }}\n      OCI_CLI_FINGERPRINT: ${{ secrets.OCI_CLI_FINGERPRINT }}\n      OCI_CLI_KEY_CONTENT: ${{ secrets.OCI_CLI_KEY_CONTENT }}\n      OCI_CLI_REGION: ${{ secrets.OCI_CLI_REGION }}\n      IMAGE_TAG: ${{ github.sha }}\n\n    steps:\n      # Checkout le branch\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      # Get OCR Repo Information\n      - name: Get OCR Repository\n        uses: oracle-actions/get-ocir-repository@v1.2.1\n        id: get-ocir-repository\n        with:\n          name: electriceye\n          compartment: ${{ secrets.OCI_COMPARTMENT_OCID }}\n\n      # Log into OCR with AuthKey\n      - name: OCR Login\n        uses: oracle-actions/login-ocir@v1.2.1\n        id: login-ocir\n        with:\n          auth_token: ${{ secrets.OCR_AUTHKEY }}\n\n      # Build, Tag, Push to OCR\n      - name: Build, Tag, Push Image to OCR\n        id: tag-and-push-image\n        run: |\n          docker build -t ${{ steps.get-ocir-repository.outputs.repo_path }}:$IMAGE_TAG .\n          docker tag ${{ steps.get-ocir-repository.outputs.repo_path }}:$IMAGE_TAG ${{ steps.get-ocir-repository.outputs.repo_path }}:latest\n          docker push ${{ steps.get-ocir-repository.outputs.repo_path }}:$IMAGE_TAG\n          docker push ${{ steps.get-ocir-repository.outputs.repo_path }}:latest\n\n      # Print the location\n      - name: Print Image\n        run: echo \"${{ steps.get-ocir-repository.outputs.repo_path }}:$IMAGE_TAG\"", "state": "active", "repository": "jonrau1/electriceye"}
{"mined_at": "2024-07-15T13:41:26.541134", "created_at": "2023-05-17T17:01:24+02:00", "updated_at": "2023-06-01T04:40:09+02:00", "name": "Syft & Grype SBOM and Vuln Scan", "path": ".github/workflows/sbom-vulns.yml", "contents": "name: \"Syft & Grype SBOM and Vuln Scan\"\n\non:\n  pull_request:\n    branches: [ master ]\n\njobs:\n  Anchore-Syft-Grype:\n    runs-on: ubuntu-latest\n\n    steps:\n      # Checkout le branch\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      # Build the ElectricEye Docker Image, locally\n      - name: Build ElectricEye Docker Image\n        run: docker build . --file Dockerfile --tag localbuild/electriceye:latest\n\n      # Generate an CycloneDX JSON SBOM with Syft on the Image\n      - name: Generate CDX SBOM\n        uses: anchore/sbom-action@v0\n        with:\n          image: localbuild/electriceye:latest\n          format: cyclonedx-json # the One True SBOM Format\n          artifact-name: \"${{ github.event.repository.name }}-sbom.spdx.json\"\n          output-file: \"${{ github.event.repository.name }}-sbom.spdx.json\"\n\n      # Print SBOM to stdout\n      - name: SBOM Printer Goes Brrrr\n        run: cat \"${{ github.event.repository.name }}-sbom.spdx.json\"\n\n      # Scan the CDX SBOM with Grype\n      - name: Grype Scan SBOM\n        uses: anchore/scan-action@v3.6.4\n        id: scan\n        with:\n          output-format: sarif\n          sbom: \"${{ github.event.repository.name }}-sbom.spdx.json\"\n          severity-cutoff: critical\n          fail-build: true\n          only-fixed: true\n\n      # Print Grype SARIF Report to stdout\n      - name: View Grype Scan SBOM Report\n        if: always() # run when build fails too\n        run: cat \"${{ steps.scan.outputs.sarif }}\"\n\n      # Upload Grype SARIF Report to GitHub Security\n      - name: Upload Grype Scan SBOM Report\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: ${{ steps.scan.outputs.sarif }}", "state": "active", "repository": "jonrau1/electriceye"}
{"mined_at": "2024-07-15T13:41:28.616825", "created_at": "2020-01-01T12:30:06+01:00", "updated_at": "2020-01-01T12:30:06+01:00", "name": "", "path": "", "contents": null, "state": "active", "repository": "neuropsychology/neurokit"}
{"mined_at": "2024-07-15T13:41:29.694489", "created_at": "2020-05-31T03:07:50+02:00", "updated_at": "2023-06-17T01:45:57+02:00", "name": "🏭Tests", "path": ".github/workflows/tests.yml", "contents": "name: 🏭Tests\n\n# on: [push, pull_request]\non:\n    # Trigger the workflow on push to master branch or pull request\n    push:\n        branches:\n            - master\n    pull_request:\n\njobs:\n    build:\n        runs-on: ${{ matrix.platform }}\n        strategy:\n            max-parallel: 4\n            matrix:\n                # https://help.github.com/articles/virtual-environments-for-github-actions\n                platform:\n                    - ubuntu-latest # ubuntu-18.04\n                #  - macos-latest  # macOS-10.14\n                #  - windows-latest  # windows-2019\n                python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python-version }}\n\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade setuptools pip wheel\n                  python -m pip install tox\n\n            - name: Test with tox\n              run: |\n                  cd $GITHUB_WORKSPACE && python -m tox -e py\n\n            - name: Upload coverage to Codecov\n              uses: codecov/codecov-action@v3\n", "state": "active", "repository": "neuropsychology/neurokit"}
{"mined_at": "2024-07-15T13:41:30.686554", "created_at": "2020-05-31T03:27:05+02:00", "updated_at": "2023-06-17T01:45:57+02:00", "name": "✨ Style", "path": ".github/workflows/style.yml", "contents": "name: ✨ Style\n\non:\n    pull_request:\n        branches:\n            - master\n            - dev\n    push:\n\njobs:\n    build:\n        runs-on: ubuntu-latest\n\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: \"3.10\"\n\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade setuptools pip wheel\n\n            - name: Fix code style with isort (import calls)\n              run: |\n                  python -m pip install isort\n                  isort neurokit2 -l 120 --balanced --multi-line 3 --lines-between-types 1 --lines-after-imports 2 --trailing-comma --skip neurokit2/complexity/__init__.py --diff\n\n            - name: Fix code style with black (line lengths)\n              run: |\n                  pip install black\n                  # The GitHub editor is 127 chars wide. See https://black.readthedocs.io/en/stable/installation_and_usage.html\n                  black neurokit2 --line-length 120 .\n\n            # - name: Fix code style with docformatter (docstrings)\n            #   run: |\n            #       pip install docformatter\n            #       # See https://github.com/myint/docformatter\n            #       docformatter neurokit2 --wrap-summaries 120 --wrap-descriptions 113 --blank --make-summary-multi-line --recursive\n\n            - name: Detect remaining style errors with flake8\n              run: |\n                  pip install flake8\n                  # The GitHub editor is 127 chars wide. See https://flake8.pycqa.org/en/latest/user/configuration.html\n                  flake8 neurokit2 --exclude neurokit2/__init__.py --max-line-length=127 --max-complexity=10 --ignore E303,C901,E203,W503,E712\n\n            - name: Detect remaining style errors with Pylint (fail under)\n              run: |\n                  pip install pylint\n                  # See http://pylint.pycqa.org/en/latest/index.html\n                  pylint neurokit2 --max-line-length=127 --load-plugins=pylint.extensions.docparams --load-plugins=pylint.extensions.docstyle --variable-naming-style=any --argument-naming-style=any --reports=n --suggestion-mode=y --disable=E303 --disable=R0913 --disable=R0801 --disable=C0114 --disable=E203 --disable=E0401 --disable=W9006 --disable=C0330 --disable=R0914 --disable=R0912 --disable=R0915 --disable=W0102 --disable=W0511 --disable=C1801 --disable=C0111 --disable=R1705 --disable=R1720 --disable=C0301 --disable=C0415 --disable=C0103 --disable=C0302 --disable=R1716 --disable=W0632 --disable=E1136 --extension-pkg-whitelist=numpy --exit-zero --fail-under 9.80\n\n            - name: Commit changes\n              uses: EndBug/add-and-commit@v4\n              with:\n                  message: \"Commit style fixes\"\n                  add: \"*.py\"\n                  cwd: \"./neurokit2/\"\n              env:\n                  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "neuropsychology/neurokit"}
{"mined_at": "2024-07-15T13:41:31.698974", "created_at": "2020-06-05T01:53:06+02:00", "updated_at": "2023-06-17T01:45:57+02:00", "name": "🌼 Release checks", "path": ".github/workflows/checks.yml", "contents": "name: 🌼 Release checks\n\n# on: [push, pull_request]\non: pull_request\n\njobs:\n    build:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: \"3.11\"\n\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  cd $GITHUB_WORKSPACE && pip install .[test]\n\n            - name: Run README_examples.py\n              run: |\n                  cd $GITHUB_WORKSPACE/docs/readme\n                  python README_examples.py\n\n            - name: Build package and test with twine\n              run: |\n                  python -m pip install --upgrade setuptools pip wheel twine\n                  python setup.py sdist bdist_wheel\n                  python -m twine check dist/*\n", "state": "active", "repository": "neuropsychology/neurokit"}
{"mined_at": "2024-07-15T13:41:32.732469", "created_at": "2020-06-15T10:17:26+02:00", "updated_at": "2023-04-06T23:15:31+02:00", "name": "📦 Release PR", "path": ".github/workflows/releasePR.yml", "contents": "name: 📦 Release PR\n# https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\non:\n    push:\n        branches:\n            - master\n\njobs:\n    readme:\n        name: Run README and save figures\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: \"3.11\"\n\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install https://github.com/DominiqueMakowski/popularipy/zipball/master\n                  cd $GITHUB_WORKSPACE && pip install .[test]\n\n            - name: Run README_examples.py\n              run: |\n                  cd $GITHUB_WORKSPACE/docs/readme\n                  python README_examples.py\n\n            - name: Commit figures\n              uses: EndBug/add-and-commit@v4\n              with:\n                  message: \"Update README figures\"\n                  ref: \"master\"\n                  add: \"*.png\"\n\n              env:\n                  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    build-n-publish:\n        name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n        needs: readme\n        if: always()\n        runs-on: ubuntu-latest\n\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: \"3.11\"\n\n            - name: Install pep517\n              run: >-\n                  python -m\n                  pip install\n                  pep517\n                  --user\n\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install setuptools wheel twine\n\n            - name: Build package\n              run: python setup.py sdist bdist_wheel\n\n            - name: Publish distribution 📦 to Test PyPI\n              uses: pypa/gh-action-pypi-publish@release/v1\n              with:\n                  password: ${{ secrets.TEST_PYPI_PASSWORD }}\n                  repository_url: https://test.pypi.org/legacy/\n\n            - name: Publish distribution 📦 to PyPI\n              #if: startsWith(github.event.ref, 'refs/tags')\n              uses: pypa/gh-action-pypi-publish@release/v1\n              with:\n                  password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "neuropsychology/neurokit"}
{"mined_at": "2024-07-15T13:41:33.755850", "created_at": "2020-06-28T12:17:46+02:00", "updated_at": "2023-04-06T23:15:31+02:00", "name": "🚀 Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: 🚀 Release Drafter\n\non:\n    push:\n        branches:\n            - master\n\njobs:\n    update_release_draft:\n        runs-on: ubuntu-latest\n        steps:\n            # Drafts your next Release notes as Pull Requests are merged into \"master\"\n            - uses: release-drafter/release-drafter@v5\n              with:\n                  # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml\n                  config-name: release-drafter-config.yml\n              env:\n                  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "neuropsychology/neurokit"}
{"mined_at": "2024-07-15T13:41:34.936975", "created_at": "2021-10-29T03:58:15+02:00", "updated_at": "2021-11-12T02:23:27+01:00", "name": "Security", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"Security\"\n\non:\n    push:\n        branches: [dev]\n    pull_request:\n        # The branches below must be a subset of the branches above\n        branches: [dev]\n    schedule:\n        - cron: \"24 2 * * 3\"\n\njobs:\n    analyze:\n        name: CodeQL\n        runs-on: ubuntu-latest\n        permissions:\n            actions: read\n            contents: read\n            security-events: write\n\n        strategy:\n            fail-fast: false\n            matrix:\n                language: [\"python\"]\n                # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n                # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n        steps:\n            - name: Checkout repository\n              uses: actions/checkout@v2\n\n            # Initializes the CodeQL tools for scanning.\n            - name: Initialize CodeQL\n              uses: github/codeql-action/init@v1\n              with:\n                  languages: ${{ matrix.language }}\n                  # If you wish to specify custom queries, you can do so here or in a config file.\n                  # By default, queries listed here will override any specified in a config file.\n                  # Prefix the list here with \"+\" to use these queries and those in the config file.\n                  # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n            # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n            # If this step fails, then you should remove it and run the build manually (see below)\n            - name: Autobuild\n              uses: github/codeql-action/autobuild@v1\n\n            # ℹ️ Command-line programs to run using the OS shell.\n            # 📚 https://git.io/JvXDl\n\n            # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n            #    and modify them (or add more) to build your code if your project\n            #    uses a compiled language\n\n            #- run: |\n            #   make bootstrap\n            #   make release\n\n            - name: Perform CodeQL Analysis\n              uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "neuropsychology/neurokit"}
{"mined_at": "2024-07-15T13:41:36.048256", "created_at": "2022-03-25T08:01:45+01:00", "updated_at": "2023-06-17T01:45:57+02:00", "name": "📜 Documentation check", "path": ".github/workflows/docs-check.yml", "contents": "name: \"📜 Documentation check\"\non:\n    - pull_request\n\njobs:\n    docs:\n        runs-on: windows-latest\n        steps:\n            - uses: actions/checkout@v4\n              with:\n                  fetch-depth: 0 # To be able to push refs to destination repo\n            - name: Set up Python 🐍\n              uses: actions/setup-python@v4\n              with:\n                  python-version: \"3.10\"\n                  cache: \"pip\"\n\n            - name: Install dependencies 🏭\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install sphinx\n                  pip install sphinx-book-theme\n                  pip install sphinxemoji\n                  pip install sphinx-copybutton\n                  pip install ipykernel==6.23.2\n                  pip install ipython\n                  pip install myst-parser\n                  pip install myst-nb\n                  pip install numpy==1.24.3\n                  pip install pandas\n                  pip install scipy\n                  pip install scikit-learn\n                  pip install matplotlib\n                  pip install mne\n                  pip install PyWavelets\n                  pip install astropy\n                  pip install seaborn\n                  pip install EMD-signal\n                  pip install cvxopt\n                  pip install ts2vg\n                  pip install https://github.com/neuropsychology/neurokit/zipball/dev\n\n            - name: Build documentation 📜\n              run: |\n                  cd docs\n                  sphinx-build -b html . _build\n", "state": "active", "repository": "neuropsychology/neurokit"}
{"mined_at": "2024-07-15T13:41:37.198172", "created_at": "2022-04-01T12:10:54+02:00", "updated_at": "2023-06-17T01:45:57+02:00", "name": "📜 Documentation builder", "path": ".github/workflows/docs-build.yml", "contents": "name: \"📜 Documentation builder\"\n\non:\n    push:\n        branches:\n            - master\n    pull_request:\n        branches:\n            - master\n\njobs:\n    docs:\n        runs-on: windows-latest\n        steps:\n            - uses: actions/checkout@v4\n              with:\n                  fetch-depth: 0 # To be able to push refs to destination repo\n            - name: Set up Python 🐍\n              uses: actions/setup-python@v4\n              with:\n                  python-version: \"3.10\"\n                  cache: \"pip\"\n\n            - name: Install dependencies 🏭\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install sphinx-book-theme\n                  pip install sphinxemoji\n                  pip install sphinx-copybutton\n                  pip install ipykernel==6.23.2\n                  pip install ipython\n                  pip install myst-parser\n                  pip install myst-nb\n                  pip install numpy==1.24.3\n                  pip install pandas\n                  pip install scipy\n                  pip install scikit-learn\n                  pip install matplotlib\n                  pip install mne\n                  pip install PyWavelets\n                  pip install EMD-signal\n                  pip install astropy\n                  pip install seaborn\n                  pip install EMD-signal\n                  pip install cvxopt\n                  pip install ts2vg\n                  pip install https://github.com/neuropsychology/neurokit/zipball/dev\n\n            - name: Build documentation 📜\n              run: |\n                  cd docs\n                  sphinx-build -b html . _build\n\n            - name: Deploy 🚀\n              uses: peaceiris/actions-gh-pages@v3\n              with:\n                  github_token: ${{ secrets.GITHUB_TOKEN }}\n                  publish_dir: ./docs/_build\n", "state": "active", "repository": "neuropsychology/neurokit"}
{"mined_at": "2024-07-15T13:41:38.243460", "created_at": "2022-04-01T12:37:27+02:00", "updated_at": "2022-04-01T12:37:27+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "neuropsychology/neurokit"}
{"mined_at": "2024-07-15T13:41:40.166222", "created_at": "2022-11-08T08:14:03+01:00", "updated_at": "2023-04-01T13:36:09+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"next\" ]\n  pull_request:\n    branches: [ \"next\" ]\n  schedule:\n    - cron: \"32 11 * * 6\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "disabled_inactivity", "repository": "ssato/python-anyconfig"}
{"mined_at": "2024-07-15T13:41:41.166739", "created_at": "2021-01-01T08:57:38+01:00", "updated_at": "2021-01-01T08:57:38+01:00", "name": "Tests inside CentOS container", "path": ".github/workflows/tests-in-centos.yml", "contents": null, "state": "active", "repository": "ssato/python-anyconfig"}
{"mined_at": "2024-07-15T13:41:42.411801", "created_at": "2021-01-01T08:57:38+01:00", "updated_at": "2021-01-01T08:57:38+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "---\n# .. seealso:: https://github.com/ymyzk/tox-gh-actions\n#\nname: Tests\n# yamllint disable-line rule:truthy\non:\n  - push\n\njobs:\n  build:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      max-parallel: 5\n      matrix:\n        platform:\n          - ubuntu-latest\n          - windows-latest\n          # - macos-latest\n        python-version:\n          - 3.9\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox tox-gh-actions\n      - name: Test with tox\n        run: tox\n        env:\n          PLATFORM: ${{ matrix.platform }}\n      - uses: codecov/codecov-action@v4\n        # .. seealso:: https://github.com/marketplace/actions/codecov#usage\n        # .. seealso:: https://docs.codecov.com/reference/overview\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          # files: ./coverage1.xml,./coverage2.xml # optional\n          # flags: unittests # optional\n          # name: codecov-umbrella # optional\n          #fail_ci_if_error: true # optional (default = false)\n          verbose: true # optional (default = false)\n", "state": "active", "repository": "ssato/python-anyconfig"}
{"mined_at": "2024-07-15T13:41:44.450144", "created_at": "2024-01-10T23:51:21+01:00", "updated_at": "2024-02-09T02:44:02+01:00", "name": "Tests & Coverage", "path": ".github/workflows/tests-coverage.yml", "contents": "# Tests with pytest the package and monitors the coverage and sends it to coveralls.io\n# Coverage is only send to coveralls.io when no pytest tests fail\nname: \"Tests & Coverage\"\n\non: [push]\n\n# Cancel jobs on new push\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: \"${{ matrix.name-suffix }} at py${{ matrix.python-version }} on ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name-suffix: \"coverage\"\n            os: ubuntu-latest\n            python-version: \"3.11\"\n          - name-suffix: \"basic\"\n            os: ubuntu-latest\n            python-version: \"3.10\"\n          - name-suffix: \"basic\"\n            os: ubuntu-latest\n            python-version: \"3.12\"\n          - name-suffix: \"basic\"\n            os: windows-latest\n            python-version: \"3.11\"\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Set up Conda\n        if: runner.os == 'Windows'\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniconda-version: \"latest\"\n          python-version: ${{ matrix.python-version }}\n          activate-environment: testenv\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel setuptools\n          python -m pip install .[dev]\n\n      - name: Run tests\n        if: ${{ !(runner.os == 'Linux' && matrix.python-version == 3.9 && matrix.name-suffix == 'coverage') }}\n        run: |\n          python -m pytest --disable-warnings --color=yes -v\n\n      - name: Run tests, coverage and send to coveralls\n        if: runner.os == 'Linux' && matrix.python-version == 3.9 && matrix.name-suffix == 'coverage'\n        run: |\n          coverage run --source=windpowerlib -m pytest --disable-warnings --color=yes -v\n          coveralls\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_SERVICE_NAME: github\n", "state": "active", "repository": "wind-python/windpowerlib"}
{"mined_at": "2024-07-15T13:41:47.528480", "created_at": "2020-01-09T22:28:06+01:00", "updated_at": "2020-01-11T16:15:34+01:00", "name": "Test suite", "path": "", "contents": null, "state": "active", "repository": "cherrypy/cheroot"}
{"mined_at": "2024-07-15T13:41:48.572158", "created_at": "2021-12-14T00:13:29+01:00", "updated_at": "2023-06-22T03:13:23+02:00", "name": "📝 Git commit messages", "path": ".github/workflows/bad-commit-message-blocker.yml", "contents": "---\n\nname: 📝 Git commit messages\n\non:   # yamllint disable-line rule:truthy\n  pull_request:\n\nenv:\n  MAX_ALLOWED_PR_COMMITS: 50\n\njobs:\n  check-commit-message:\n    name: ✍\n    if: github.event.pull_request.user.type != 'Bot'\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Get PR commits details\n      id: commits\n      run: |\n        COMMITS_NUMBER=\"$(\\\n            2>http_headers curl --verbose --show-error \\\n            --header 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' \\\n            --header 'Accept: application/vnd.github.v3+json' \\\n            'https://api.github.com/repos/${{\n                github.repository\n            }}/pulls/${{\n                github.event.pull_request.number\n            }}/commits?per_page=${{\n                env.MAX_ALLOWED_PR_COMMITS\n            }}' | jq length \\\n        )\"\n        echo \"number=${COMMITS_NUMBER}\" >> \"${GITHUB_OUTPUT}\"\n\n        if grep 'link:' http_headers\n        then\n            TOO_MANY=true\n        else\n            TOO_MANY=false\n        fi\n        echo \"too-many=${TOO_MANY}\" >> \"${GITHUB_OUTPUT}\"\n\n        echo check-range='${{\n            github.event.pull_request.base.sha\n        }}..${{\n            github.event.pull_request.head.sha\n        }}' >> \"${GITHUB_OUTPUT}\"\n\n        echo last-commit='${{\n            github.event.pull_request.head.sha\n        }}' >> \"${GITHUB_OUTPUT}\"\n      shell: bash\n    - name: Prepare helper commands\n      id: commands\n      run: |\n        echo gitlint-install='pip install --user gitlint' >> \"${GITHUB_OUTPUT}\"\n\n        echo gitlint-lint=\"\\\n        python -m \\\n        gitlint.cli \\\n        --ignore-stdin \\\n        --commits '${{ steps.commits.outputs.check-range }}'\\\n        \" >> \"${GITHUB_OUTPUT}\"\n        # -C ./.github/workflows/.gitlint\n\n        echo git-log=\"\\\n        git log --color --no-patch \\\n        '${{ steps.commits.outputs.check-range }}'\\\n        \" >> \"${GITHUB_OUTPUT}\"\n      shell: bash\n    # Ref:https://joe.gl/ombek/blog/pr-gitlint/\n    - name: Check out src from Git\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: steps.commits.outputs.number\n        ref: ${{ github.event.pull_request.head.sha }}\n    - name: Log the commits to be checked\n      run: ${{ steps.commands.outputs.git-log }}\n    - name: Install gitlint\n      run: ${{ steps.commands.outputs.gitlint-install }}\n    - name: Check commit messages in the PR\n      shell: bash\n      run: |\n        >&2 echo Checking the following commit range: '${{\n            steps.commits.outputs.check-range\n        }}'\n        ${{\n            steps.commands.outputs.gitlint-lint\n        }} 2>&1 | >&2 tee gitlint-results.txt\n    - name: Report check summary for too many commits\n      if: fromJSON(steps.commits.outputs.too-many)\n      run: >-\n        echo\n        '# This pull request has too many commits, only the last ${{\n            env.MAX_ALLOWED_PR_COMMITS\n        }} have been checked'\n        >>\n        \"${GITHUB_STEP_SUMMARY}\"\n      shell: bash\n    - name: Set a failing status because of too many commits\n      if: fromJSON(steps.commits.outputs.too-many)\n      run: exit 1\n      shell: bash\n    - name: Report gitlint check summary\n      if: always()\n      run: |\n        echo >> \"${GITHUB_STEP_SUMMARY}\"\n        echo '> **Note**' >> \"${GITHUB_STEP_SUMMARY}\"\n        echo \\\n        '> If this check is failing, check the Gitlint rule violations,' \\\n        'matching them with the corresponding commits listed down  below.' \\\n        'Fix the problems and force-push the pull request branch to clear' \\\n        'this failure.' >> \"${GITHUB_STEP_SUMMARY}\"\n        echo >> \"${GITHUB_STEP_SUMMARY}\"\n\n        echo >> \"${GITHUB_STEP_SUMMARY}\"\n        echo '# Gitlint check output' >> \"${GITHUB_STEP_SUMMARY}\"\n        echo >> \"${GITHUB_STEP_SUMMARY}\"\n\n        echo '```console' >> \"${GITHUB_STEP_SUMMARY}\"\n        echo \"$ ${{\n            steps.commands.outputs.gitlint-install\n        }}\" >> \"${GITHUB_STEP_SUMMARY}\"\n        echo \"$ ${{\n            steps.commands.outputs.gitlint-lint\n        }}\" >> \"${GITHUB_STEP_SUMMARY}\"\n        if [[ \\\n            \"\" != \"$(cat gitlint-results.txt)\" && \\\n            ! $(grep 'Commit' gitlint-results.txt) \\\n        ]]\n        then\n            echo 'Commit ${{\n                steps.commits.outputs.last-commit\n            }}:' >> \"${GITHUB_STEP_SUMMARY}\"\n        fi\n        cat gitlint-results.txt >> \"${GITHUB_STEP_SUMMARY}\"\n        echo '```' >> \"${GITHUB_STEP_SUMMARY}\"\n\n        echo >> \"${GITHUB_STEP_SUMMARY}\"\n        echo '# Checked commits' >> \"${GITHUB_STEP_SUMMARY}\"\n        echo >> \"${GITHUB_STEP_SUMMARY}\"\n        echo '```console' >> \"${GITHUB_STEP_SUMMARY}\"\n        ${{\n            steps.commands.outputs.git-log\n        }} --no-color >> \"${GITHUB_STEP_SUMMARY}\"\n        echo '```' >> \"${GITHUB_STEP_SUMMARY}\"\n      shell: bash\n\n...\n", "state": "active", "repository": "cherrypy/cheroot"}
{"mined_at": "2024-07-15T13:41:49.597359", "created_at": "2021-07-24T21:49:08+02:00", "updated_at": "2021-07-24T21:49:08+02:00", "name": "CI/CD", "path": ".github/workflows/ci-cd.yml", "contents": "---\n\nname: CI/CD\n\non:   # yamllint disable-line rule:truthy\n  merge_group:\n  push:\n    branches-ignore:\n    - dependabot/**\n    - gh-readonly-queue/**  # Temporary merge queue-related GH-made branches\n    - maintenance/pip-tools-constraint-lockfiles\n    - maintenance/pip-tools-constraint-lockfiles-**\n    - patchback/backports/**\n    - pre-commit-ci-update-config\n  pull_request:\n  schedule:\n  - cron: 1 0 * * *  # Run daily at 0:01 UTC\n  workflow_dispatch:\n    inputs:\n      release-version:\n        # github.event_name == 'workflow_dispatch'\n        # && github.event.inputs.release-version\n        description: >-\n          Target PEP440-compliant version to release.\n          Please, don't prepend `v`.\n        required: true\n        type: string\n      release-committish:\n        # github.event_name == 'workflow_dispatch'\n        # && github.event.inputs.release-committish\n        default: ''\n        description: >-\n          The commit to be released to PyPI and tagged\n          in Git as `release-version`. Normally, you\n          should keep this empty.\n        type: string\n      YOLO:\n        default: false\n        description: >-\n          Set this flag to disregard the outcome of the\n          test stage. The test results will block the\n          release otherwise. Only use this under\n          extraordinary circumstances to ignore the test\n          failures and cut the release regardless.\n        type: boolean\n\nconcurrency:\n  group: >-\n    ${{\n        github.workflow\n    }}-${{\n        github.ref_type\n    }}-${{\n        github.event.pull_request.number || github.sha\n    }}\n  cancel-in-progress: true\n\nenv:\n  dists-artifact-name: python-package-distributions\n\n  FORCE_COLOR: 1  # Request colored output from CLI tools supporting it\n  MYPY_FORCE_COLOR: 1  # MyPy's color enforcement\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n  PIP_NO_PYTHON_VERSION_WARNING: 1\n  PIP_NO_WARN_SCRIPT_LOCATION: 1\n  PRE_COMMIT_COLOR: always\n  PY_COLORS: 1  # Recognized by the `py` package, dependency of `pytest`\n  PYTHONIOENCODING: utf-8\n  PYTHONUTF8: 1\n  TOX_PARALLEL_NO_SPINNER: 1\n  TOX_TESTENV_PASSENV: >-  # Make tox-wrapped tools see color requests\n    FORCE_COLOR\n    MYPY_FORCE_COLOR\n    NO_COLOR\n    PIP_DISABLE_PIP_VERSION_CHECK\n    PIP_NO_PYTHON_VERSION_WARNING\n    PIP_NO_WARN_SCRIPT_LOCATION\n    PRE_COMMIT_COLOR\n    PY_COLORS\n    PYTEST_THEME\n    PYTEST_THEME_MODE\n    PYTHONIOENCODING\n    PYTHONLEGACYWINDOWSSTDIO\n    PYTHONUTF8\n  TOX_VERSION: tox < 4.12\n\nrun-name: >-\n  ${{\n    github.event_name == 'workflow_dispatch'\n    && format('📦 Releasing v{0}...', github.event.inputs.release-version)\n    || ''\n  }}\n  ${{\n      github.event.pull_request.number && 'PR' || ''\n  }}${{\n      !github.event.pull_request.number && 'Commit' || ''\n  }}\n  ${{ github.event.pull_request.number || github.sha }}\n  triggered by: ${{ github.event_name }} of ${{\n    github.ref\n  }} ${{\n    github.ref_type\n  }}\n  (workflow run ID: ${{\n    github.run_id\n  }}; number: ${{\n    github.run_number\n  }}; attempt: ${{\n    github.run_attempt\n  }})\n\njobs:\n  pre-setup:\n    name: ⚙️ Pre-set global build settings\n    runs-on: ubuntu-latest\n    timeout-minutes: 1\n    defaults:\n      run:\n        shell: python\n    outputs:\n      dist-version: >-\n        ${{\n            steps.request-check.outputs.release-requested == 'true'\n            && github.event.inputs.release-version\n            || steps.scm-version.outputs.dist-version\n        }}\n      is-untagged-devel: >-\n        ${{ steps.untagged-check.outputs.is-untagged-devel || false }}\n      release-requested: >-\n        ${{\n            steps.request-check.outputs.release-requested || false\n        }}\n      is-yolo-mode: >-\n        ${{\n          (\n            steps.request-check.outputs.release-requested == 'true'\n            && github.event.inputs.YOLO\n          )\n          && true || false\n        }}\n      cache-key-files: >-\n        ${{ steps.calc-cache-key-files.outputs.files-hash-key }}\n      git-tag: ${{ steps.git-tag.outputs.tag }}\n      sdist-artifact-name: ${{ steps.artifact-name.outputs.sdist }}\n      wheel-artifact-name: ${{ steps.artifact-name.outputs.wheel }}\n      changelog-patch-name: ${{ steps.changelog-patch-name.outputs.filename }}\n      changelog-draft-name-md: >-\n        ${{ steps.changelog-draft-name.outputs.filename-base }}.md\n      changelog-draft-name-rst: >-\n        ${{ steps.changelog-draft-name.outputs.filename-base }}.rst\n    steps:\n    - name: Switch to using Python 3.11 by default\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n    - name: >-\n        Mark the build as untagged '${{\n            github.event.repository.default_branch\n        }}' branch build\n      id: untagged-check\n      if: >-\n        github.event_name == 'push' &&\n        github.ref == format(\n          'refs/heads/{0}', github.event.repository.default_branch\n        )\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print('is-untagged-devel=true', file=outputs_file)\n    - name: Mark the build as \"release request\"\n      id: request-check\n      if: github.event_name == 'workflow_dispatch'\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print('release-requested=true', file=outputs_file)\n    - name: Check out src from Git\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: >-\n          ${{\n            steps.request-check.outputs.release-requested == 'true'\n            && 1 || 0\n          }}\n        ref: ${{ github.event.inputs.release-committish }}\n    - name: >-\n        Calculate Python interpreter version hash value\n        for use in the cache key\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      id: calc-cache-key-py\n      run: |\n        from hashlib import sha512\n        from os import environ\n        from pathlib import Path\n        from sys import version\n\n        FILE_APPEND_MODE = 'a'\n\n        hash = sha512(version.encode()).hexdigest()\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(f'py-hash-key={hash}', file=outputs_file)\n    - name: >-\n        Calculate dependency files' combined hash value\n        for use in the cache key\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      id: calc-cache-key-files\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(\n                \"files-hash-key=${{\n                    hashFiles(\n                      'tox.ini', 'pyproject.toml',\n                      '.pre-commit-config.yaml', 'pytest.ini'\n                    )\n                }}\",\n                file=outputs_file,\n            )\n    - name: Get pip cache dir\n      id: pip-cache-dir\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      run: >-\n        echo \"dir=$(python -m pip cache dir)\" >> \"${GITHUB_OUTPUT}\"\n      shell: bash\n    - name: Set up pip cache\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache-dir.outputs.dir }}\n        key: >-\n          ${{ runner.os }}-pip-${{\n          steps.calc-cache-key-py.outputs.py-hash-key }}-${{\n          steps.calc-cache-key-files.outputs.files-hash-key }}\n        restore-keys: |\n          ${{ runner.os }}-pip-${{\n              steps.calc-cache-key-py.outputs.py-hash-key\n          }}-\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n    - name: Drop Git tags from HEAD for non-release requests\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      run: >-\n        git tag --points-at HEAD\n        |\n        xargs git tag --delete\n      shell: bash\n    - name: Set up versioning prerequisites\n      if: >-\n        steps.request-check.outputs.release-requested != 'true'\n      run: >-\n        python -m\n        pip install\n        --user\n        setuptools-scm\n      shell: bash\n    - name: Set the current dist version from Git\n      if: steps.request-check.outputs.release-requested != 'true'\n      id: scm-version\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        import setuptools_scm\n\n        FILE_APPEND_MODE = 'a'\n\n        ver = setuptools_scm.get_version(\n          ${{\n              steps.untagged-check.outputs.is-untagged-devel == 'true'\n              && 'local_scheme=\"no-local-version\"' || ''\n          }}\n        )\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(f'dist-version={ver}', file=outputs_file)\n            print(\n                f'dist-version-for-filenames={ver.replace(\"+\", \"-\")}',\n                file=outputs_file,\n            )\n    - name: Set the target Git tag\n      id: git-tag\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(\n                \"tag=v${{\n                    steps.request-check.outputs.release-requested == 'true'\n                    && github.event.inputs.release-version\n                    || steps.scm-version.outputs.dist-version\n                }}\",\n                file=outputs_file,\n            )\n    - name: Set the expected dist artifact names\n      id: artifact-name\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(\n                \"sdist=cheroot-${{\n                    steps.request-check.outputs.release-requested == 'true'\n                    && github.event.inputs.release-version\n                    || steps.scm-version.outputs.dist-version\n                }}.tar.gz\",\n                file=outputs_file,\n            )\n            print(\n                \"wheel=cheroot-${{\n                    steps.request-check.outputs.release-requested == 'true'\n                    && github.event.inputs.release-version\n                    || steps.scm-version.outputs.dist-version\n                }}-py3-none-any.whl\",\n                file=outputs_file,\n            )\n    - name: Set the expected changelog patch filename\n      id: changelog-patch-name\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print('filename=0001-Generate-a-change-log-entry-for-v${{\n                steps.request-check.outputs.release-requested == 'true'\n                && github.event.inputs.release-version\n                || steps.scm-version.outputs.dist-version-for-filenames\n            }}.patch', file=outputs_file)\n    - name: Set the expected changelog draft filename\n      id: changelog-draft-name\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        FILE_APPEND_MODE = 'a'\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print('filename-base=change-notes-v${{\n                steps.request-check.outputs.release-requested == 'true'\n                && github.event.inputs.release-version\n                || steps.scm-version.outputs.dist-version-for-filenames\n            }}', file=outputs_file)\n\n  build-changelog:\n    name: >-\n      👷📝 ${{ needs.pre-setup.outputs.git-tag }} changelog\n      [mode: ${{\n        fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n        && 'nightly' || ''\n      }}${{\n        fromJSON(needs.pre-setup.outputs.release-requested)\n        && 'release' || ''\n      }}${{\n        (\n          !fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n          && !fromJSON(needs.pre-setup.outputs.release-requested)\n        ) && 'test' || ''\n      }}]\n    needs:\n    - pre-setup\n    runs-on: ubuntu-latest\n\n    env:\n      TOXENV: make-changelog\n\n    steps:\n    - name: Switch to using Python 3.11\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: 3.11\n\n    - name: Grab the source from Git\n      uses: actions/checkout@v4.1.1\n      with:\n        fetch-depth: 1  # Enough for this job to generate the changelog\n        ref: ${{ github.event.inputs.release-committish }}\n\n    - name: >-\n        Calculate Python interpreter version hash value\n        for use in the cache key\n      id: calc-cache-key-py\n      run: |\n        from hashlib import sha512\n        from os import environ\n        from pathlib import Path\n        from sys import version\n\n        FILE_APPEND_MODE = 'a'\n\n        hash = sha512(version.encode()).hexdigest()\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(f'py-hash-key={hash}', file=outputs_file)\n      shell: python\n    - name: Set up pip cache\n      uses: actions/cache@v4.0.0\n      with:\n        path: >-\n          ${{\n              runner.os == 'Linux'\n              && '~/.cache/pip'\n              || '~/Library/Caches/pip'\n          }}\n        key: >-\n          ${{ runner.os }}-pip-${{\n          steps.calc-cache-key-py.outputs.py-hash-key }}-${{\n          needs.pre-setup.outputs.cache-key-files }}\n        restore-keys: |\n          ${{ runner.os }}-pip-${{\n            steps.calc-cache-key-py.outputs.py-hash-key\n          }}-\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n    - name: Install tox\n      run: >-\n        python -m\n        pip install\n        --user\n        '${{ env.TOX_VERSION }}'\n\n    - name: Pre-populate the tox env\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --notest\n\n    - name: Drop Git tags from HEAD for non-tag-create events\n      if: >-\n        !fromJSON(needs.pre-setup.outputs.release-requested)\n      run: >-\n        git tag --points-at HEAD\n        |\n        xargs git tag --delete\n      shell: bash\n\n    - name: Setup git user as [bot]\n      # Refs:\n      # * https://github.community/t/github-actions-bot-email-address/17204/6\n      # * https://github.com/actions/checkout/issues/13#issuecomment-724415212\n      uses: fregante/setup-git-user@v2.0.1\n\n    - name: Generate changelog draft to a temporary file\n      run: >-\n        2>/dev/null\n        python -m\n        tox\n        --skip-missing-interpreters false\n        --skip-pkg-install\n        -qq\n        --\n        '${{ needs.pre-setup.outputs.dist-version }}'\n        --draft\n        |\n        tee\n        '${{ needs.pre-setup.outputs.changelog-draft-name-rst }}'\n      shell: bash\n    - name: Sanitize the markdown changelog version\n      run: >-\n        sed\n        -i\n        -e 's/:commit:`\\([0-9a-f]\\+\\)`/${{\n          ''\n        }}https:\\/\\/github.com\\/cherrypy\\/cheroot\\/commit\\/\\1/g'\n        -e 's/:gh:`\\([-.a-zA-Z0-9]\\+\\)`/https:\\/\\/github.com\\/\\1/g'\n        -e 's/:\\(issue\\|pr\\):`\\([0-9]\\+\\)`/#\\2/g'\n        -e 's/:user:`\\([-.a-zA-Z0-9]\\+\\)`/@\\1/g'\n        '${{ needs.pre-setup.outputs.changelog-draft-name-rst }}'\n      shell: bash\n    - name: Install pandoc via apt\n      run: sudo apt install -y pandoc\n    - name: >-\n        Convert ${{ needs.pre-setup.outputs.changelog-draft-name-rst }}\n        into ${{ needs.pre-setup.outputs.changelog-draft-name-md }}\n        with a native pandoc run\n      run: >-\n        pandoc\n        --from=rst\n        --to=gfm\n        --output='${{ needs.pre-setup.outputs.changelog-draft-name-md }}'\n        '${{ needs.pre-setup.outputs.changelog-draft-name-rst }}'\n    - name: Render the changelog draft in the GitHub Job Summary\n      run: |\n        echo \"# Changelog for ${{\n            needs.pre-setup.outputs.git-tag\n        }}\" >> \"${GITHUB_STEP_SUMMARY}\"\n        echo >> \"${GITHUB_STEP_SUMMARY}\"\n        echo >> \"${GITHUB_STEP_SUMMARY}\"\n        cat '${{\n            needs.pre-setup.outputs.changelog-draft-name-md\n        }}' >> \"${GITHUB_STEP_SUMMARY}\"\n      shell: bash\n    - name: Generate changelog update with tox and stage it in Git\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --skip-pkg-install\n        --\n        '${{ needs.pre-setup.outputs.dist-version }}'\n        --yes\n    - name: >-\n        Commit the changelog updates for release\n        ${{ needs.pre-setup.outputs.git-tag }} in the local Git repo\n      run: >-\n        git commit -m\n        'Generate a change log entry for ${{\n            needs.pre-setup.outputs.git-tag\n        }}'\n    - name: Log the changelog commit\n      run: git show --color\n    - name: Create a changelog update patch from the last Git commit\n      run: >-\n        git format-patch\n        --output='${{ needs.pre-setup.outputs.changelog-patch-name }}'\n        -1 HEAD\n    - name: Verify that expected patch got created\n      run: ls -1 '${{ needs.pre-setup.outputs.changelog-patch-name }}'\n    - name: Save the package bump patch as a GHA artifact\n      uses: actions/upload-artifact@v3\n      with:\n        name: changelog\n        path: |\n          ${{ needs.pre-setup.outputs.changelog-patch-name }}\n          ${{ needs.pre-setup.outputs.changelog-draft-name-md }}\n          ${{ needs.pre-setup.outputs.changelog-draft-name-rst }}\n\n  build:\n    name: >-\n      👷 dists ${{ needs.pre-setup.outputs.git-tag }}\n      [mode: ${{\n        fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n        && 'nightly' || ''\n      }}${{\n        fromJSON(needs.pre-setup.outputs.release-requested)\n        && 'release' || ''\n      }}${{\n        (\n          !fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n          && !fromJSON(needs.pre-setup.outputs.release-requested)\n        ) && 'test' || ''\n      }}]\n    needs:\n    - build-changelog\n    - pre-setup  # transitive, for accessing settings\n\n    runs-on: ubuntu-latest\n\n    timeout-minutes: 2\n\n    env:\n      TOXENV: cleanup-dists,build-dists\n\n    steps:\n    - name: Switch to using Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n\n    - name: Grab the source from Git\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: >-\n          ${{\n              fromJSON(needs.pre-setup.outputs.release-requested)\n              && 1 || 0\n          }}\n        ref: ${{ github.event.inputs.release-committish }}\n\n    - name: >-\n        Calculate Python interpreter version hash value\n        for use in the cache key\n      id: calc-cache-key-py\n      run: |\n        from hashlib import sha512\n        from os import environ\n        from pathlib import Path\n        from sys import version\n\n        FILE_APPEND_MODE = 'a'\n\n        hash = sha512(version.encode()).hexdigest()\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(f'py-hash-key={hash}', file=outputs_file)\n      shell: python\n    - name: Get pip cache dir\n      id: pip-cache-dir\n      run: >-\n        echo \"dir=$(python -m pip cache dir)\" >> \"${GITHUB_OUTPUT}\"\n    - name: Set up pip cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache-dir.outputs.dir }}\n        key: >-\n          ${{ runner.os }}-pip-${{\n          steps.calc-cache-key-py.outputs.py-hash-key }}-${{\n          needs.pre-setup.outputs.cache-key-files }}\n        restore-keys: |\n          ${{ runner.os }}-pip-${{\n              steps.calc-cache-key-py.outputs.py-hash-key\n          }}-\n          ${{ runner.os }}-pip-\n    - name: Install tox\n      run: >-\n        python -m\n        pip install\n        --user\n        '${{ env.TOX_VERSION }}'\n\n    - name: Pre-populate the tox env\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --notest\n\n    - name: Drop Git tags from HEAD for non-tag-create events\n      if: >-\n        !fromJSON(needs.pre-setup.outputs.release-requested)\n      run: >-\n        git tag --points-at HEAD\n        |\n        xargs git tag --delete\n      shell: bash\n\n    - name: Setup git user as [bot]\n      if: >-\n        fromJSON(needs.pre-setup.outputs.release-requested)\n        || fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n      uses: fregante/setup-git-user@v2\n    - name: >-\n        Tag the release in the local Git repo\n        as ${{ needs.pre-setup.outputs.git-tag }}\n        for setuptools-scm to set the desired version\n      if: >-\n        fromJSON(needs.pre-setup.outputs.release-requested)\n      run: >-\n        git tag\n        -m '${{ needs.pre-setup.outputs.git-tag }}'\n        '${{ needs.pre-setup.outputs.git-tag }}'\n        --\n        ${{\n          fromJSON(needs.pre-setup.outputs.release-requested)\n          && github.event.inputs.release-committish || ''\n        }}\n\n    - name: Install tomlkit Python distribution package\n      if: >-\n        fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n      run: >-\n        python -m pip install --user tomlkit\n    - name: Instruct setuptools-scm not to add a local version part\n      if: >-\n        fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n      run: |\n        from pathlib import Path\n\n        import tomlkit\n\n        pyproject_toml_path = Path.cwd() / 'pyproject.toml'\n        pyproject_toml_txt = pyproject_toml_path.read_text()\n        pyproject_toml = tomlkit.loads(pyproject_toml_txt)\n        setuptools_scm_section = pyproject_toml['tool']['setuptools_scm']\n        setuptools_scm_section['local_scheme'] = 'no-local-version'\n        patched_pyproject_toml_txt = tomlkit.dumps(pyproject_toml)\n        pyproject_toml_path.write_text(patched_pyproject_toml_txt)\n      shell: python\n    - name: Pretend that pyproject.toml is unchanged\n      if: >-\n        fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n      run: |\n        git diff --color=always\n        git update-index --assume-unchanged pyproject.toml\n\n    - name: Build dists\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --skip-pkg-install\n    - name: Verify that the artifacts with expected names got created\n      run: >-\n        ls -1\n        'dist/${{ needs.pre-setup.outputs.sdist-artifact-name }}'\n        'dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}'\n    - name: Store the distribution packages\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ env.dists-artifact-name }}\n        # NOTE: Exact expected file names are specified here\n        # NOTE: as a safety measure — if anything weird ends\n        # NOTE: up being in this dir or not all dists will be\n        # NOTE: produced, this will fail the workflow.\n        path: |\n          dist/${{ needs.pre-setup.outputs.sdist-artifact-name }}\n          dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}\n        retention-days: >-\n          ${{\n              (\n                fromJSON(needs.pre-setup.outputs.release-requested)\n              ) && 90 || 30\n          }}\n\n  lint:\n    name: 🧹 ${{ matrix.toxenv }}\n    needs:\n    - build\n    - pre-setup  # transitive, for accessing settings\n\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n      matrix:\n        os:\n        - ubuntu\n        python-version:\n        - 3.11\n        toxenv:\n        - pre-commit\n        - metadata-validation\n        - build-docs\n        - doctest-docs\n        - linkcheck-docs\n        - spellcheck-docs\n      fail-fast: false\n\n    env:\n      TOXENV: ${{ matrix.toxenv }}\n\n    steps:\n    - name: >-\n        Switch to using Python v${{ matrix.python-version }}\n        by default\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    # NOTE: `pre-commit --show-diff-on-failure` and `sphinxcontrib-spellcheck`\n    # NOTE: with Git authors allowlist enabled both depend on the presence of a\n    # NOTE: Git repository.\n    - name: Grab the source from Git\n      if: >-\n        contains(fromJSON('[\"pre-commit\", \"spellcheck-docs\"]'), matrix.toxenv)\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.inputs.release-committish }}\n    - name: Retrieve the project source from an sdist inside the GHA artifact\n      if: >-\n        !contains(fromJSON('[\"pre-commit\", \"spellcheck-docs\"]'), matrix.toxenv)\n      uses: re-actors/checkout-python-sdist@release/v1\n      with:\n        source-tarball-name: ${{ needs.pre-setup.outputs.sdist-artifact-name }}\n        workflow-artifact-name: ${{ env.dists-artifact-name }}\n\n    - name: >-\n        Calculate Python interpreter version hash value\n        for use in the cache key\n      id: calc-cache-key-py\n      run: |\n        from hashlib import sha512\n        from os import environ\n        from pathlib import Path\n        from sys import version\n\n        FILE_APPEND_MODE = 'a'\n\n        hash = sha512(version.encode()).hexdigest()\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(f'py-hash-key={hash}', file=outputs_file)\n      shell: python\n    - name: Get pip cache dir\n      id: pip-cache\n      run: >-\n        echo \"dir=$(pip cache dir)\" >> \"${GITHUB_OUTPUT}\"\n    - name: Set up pip cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: >-\n          ${{ runner.os }}-pip-${{\n          steps.calc-cache-key-py.outputs.py-hash-key }}-${{\n          needs.pre-setup.outputs.cache-key-files }}\n        restore-keys: |\n          ${{ runner.os }}-pip-${{\n              steps.calc-cache-key-py.outputs.py-hash-key\n          }}-\n          ${{ runner.os }}-pip-\n    - name: Install tox\n      run: >-\n        python -m\n        pip install\n        --user\n        '${{ env.TOX_VERSION }}'\n\n    - name: Make the env clean of non-test files\n      if: matrix.toxenv == 'metadata-validation'\n      run: |\n        shopt -s extglob\n        rm -rf !tox.ini\n      shell: bash\n    - name: Download all the dists\n      if: matrix.toxenv == 'metadata-validation'\n      uses: actions/download-artifact@v3\n      with:\n        name: ${{ env.dists-artifact-name }}\n        path: dist/\n\n    - name: >-\n        Pre-populate tox envs: `${{ env.TOXENV }}`\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --notest\n    - name: Initialize pre-commit envs if needed\n      run: >-\n        test -d .tox/pre-commit\n        && .tox/pre-commit/bin/python -m pre_commit install-hooks\n        || :\n    - name: >-\n        Run tox envs: `${{ env.TOXENV }}`\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --skip-pkg-install\n\n  tests:\n    name: >-\n      🧪 🐍${{\n          matrix.python-version\n      }} @ ${{\n          matrix.os\n      }}\n    needs:\n    - build\n    - pre-setup  # transitive, for accessing settings\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version:\n        # NOTE: The latest and the lowest supported Pythons are prioritized\n        # NOTE: to improve the responsiveness. It's nice to see the most\n        # NOTE: important results first.\n        - 3.12\n        - 3.11\n        - >-\n          3.10\n        - 3.9\n        - 3.8\n        os:\n        - ubuntu-22.04\n        - ubuntu-20.04\n        - macos-11.0\n        - macos-13\n        - windows-2019\n        - windows-2022\n\n    continue-on-error: >-\n      ${{\n          (\n            fromJSON(needs.pre-setup.outputs.is-yolo-mode) ||\n            (\n              startsWith(matrix.python-version, '~')\n            ) ||\n            contains(matrix.python-version, 'alpha')\n          ) && true || false\n      }}\n\n    env:\n      TOXENV: python\n\n    steps:\n    - name: Set up Python ${{ matrix.python-version }}\n      id: python-install\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Retrieve the project source from an sdist inside the GHA artifact\n      uses: re-actors/checkout-python-sdist@release/v1\n      with:\n        source-tarball-name: ${{ needs.pre-setup.outputs.sdist-artifact-name }}\n        workflow-artifact-name: ${{ env.dists-artifact-name }}\n\n    - name: Figure out if the interpreter ABI is stable\n      id: py-abi\n      run: |\n        from os import environ\n        from sys import version_info\n\n        FILE_APPEND_MODE = 'a'\n\n        is_stable_abi = version_info.releaselevel == 'final'\n\n        with open(\n                environ['GITHUB_OUTPUT'],\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(\n                'is-stable-abi={is_stable_abi}'.\n                format(is_stable_abi=str(is_stable_abi).lower()),\n                file=outputs_file,\n            )\n      shell: python\n    - name: >-\n        Calculate Python interpreter version hash value\n        for use in the cache key\n      if: fromJSON(steps.py-abi.outputs.is-stable-abi)\n      id: calc-cache-key-py\n      run: |\n        from hashlib import sha512\n        from os import environ\n        from sys import version\n\n        FILE_APPEND_MODE = 'a'\n\n        hash = sha512(version.encode()).hexdigest()\n\n        with open(\n                environ['GITHUB_OUTPUT'], mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(f'py-hash-key={hash}', file=outputs_file)\n      shell: python\n    - name: Get pip cache dir\n      if: fromJSON(steps.py-abi.outputs.is-stable-abi)\n      id: pip-cache-dir\n      run: >-\n        echo \"dir=$(python -m pip cache dir)\" >> \"${GITHUB_OUTPUT}\"\n      shell: bash\n    - name: Set up pip cache\n      if: fromJSON(steps.py-abi.outputs.is-stable-abi)\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache-dir.outputs.dir }}\n        key: >-\n          ${{ runner.os }}-pip-${{\n          steps.calc-cache-key-py.outputs.py-hash-key }}-${{\n          needs.pre-setup.outputs.cache-key-files }}\n        restore-keys: |\n          ${{ runner.os }}-pip-${{\n              steps.calc-cache-key-py.outputs.py-hash-key\n          }}-\n          ${{ runner.os }}-pip-\n\n    - name: Upgrade pip with `requires_python`\n      run: >-\n        python -m\n        pip install\n        --user\n        --upgrade\n        --force-reinstall\n        pip-with-requires-python\n    - name: Install tox\n      run: >-\n        python -m\n        pip install\n        --user\n        '${{ env.TOX_VERSION }}'\n\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: ${{ env.dists-artifact-name }}\n        path: dist/\n\n    - name: >-\n        Pre-populate tox env:\n        ${{ env.TOXENV }}\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --installpkg 'dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}'\n        --notest\n\n    - name: Windows system info\n      run: systeminfo\n      if: >-\n        startsWith(matrix.os, 'windows-')\n    - name: >-\n        Log platform.platform()\n      run: >-\n        python -m platform\n    - name: >-\n        Log platform.version()\n      run: >-\n        python -c \"import platform;\n        print(platform.version())\"\n    - name: >-\n        Log platform.uname()\n      run: >-\n        python -c \"import platform;\n        print(platform.uname())\"\n    - name: >-\n        Log platform.release()\n      run: >-\n        python -c \"import platform;\n        print(platform.release())\"\n    - name: Log stdlib OpenSSL version\n      run: >-\n        python -c\n        \"import ssl; print('\\nOPENSSL_VERSION: '\n        + ssl.OPENSSL_VERSION + '\\nOPENSSL_VERSION_INFO: '\n        + repr(ssl.OPENSSL_VERSION_INFO)\n        + '\\nOPENSSL_VERSION_NUMBER: '\n        + repr(ssl.OPENSSL_VERSION_NUMBER))\"\n\n    - name: Run the testing\n      run: >-\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        --installpkg 'dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}'\n        --skip-pkg-install\n    - name: Produce markdown test summary from JUnit\n      if: >-\n        !cancelled()\n      uses: test-summary/action@v2.3\n      with:\n        paths: .test-results/pytest/test.xml\n    - name: Check if Cobertura XML coverage files exist\n      if: >-\n        !cancelled()\n        && runner.os == 'Linux'\n      id: coverage-files\n      run: >-\n        compgen -G '.test-results/pytest/cov.xml'\n        && ( echo 'present=true' >> ${GITHUB_OUTPUT} )\n        ;\n        exit 0\n      shell: bash\n    - name: Produce markdown test summary from Cobertura XML\n      if: steps.coverage-files.outputs.present == 'true'\n      uses: irongut/CodeCoverageSummary@v1.3.0\n      with:\n        badge: true\n        filename: .test-results/pytest/cov.xml\n        format: markdown\n        output: both\n    # Ref: https://github.com/irongut/CodeCoverageSummary/issues/66\n    - name: Append coverage results to Job Summary\n      if: steps.coverage-files.outputs.present == 'true'\n      run: >-\n        cat code-coverage-results.md >> \"${GITHUB_STEP_SUMMARY}\"\n    - name: Re-run the failing tests with maximum verbosity\n      if: >-\n        !cancelled()\n        && failure()\n      run: >-  # `exit 1` makes sure that the job remains red with flaky runs\n        python -m\n        tox\n        --parallel auto\n        --parallel-live\n        --skip-missing-interpreters false\n        -vvvvv\n        --installpkg 'dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}'\n        --\n        --no-cov -vvvvv --lf\n        && exit 1\n      shell: bash\n    - name: Send coverage data to Codecov\n      if: >-\n        !cancelled()\n      uses: codecov/codecov-action@v3\n      with:\n        files: .test-results/pytest/cov.xml\n        flags: >-\n          CI-GHA,\n          OS-${{\n            runner.os\n          }},\n          VM-${{\n            matrix.os\n          }},\n          Py-${{\n            steps.python-install.outputs.python-version\n          }}\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n    - lint\n    - pre-setup  # transitive, for accessing settings\n    - tests\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        allowed-failures: >-\n          ${{\n            fromJSON(needs.pre-setup.outputs.is-yolo-mode)\n            && 'lint, tests' || ''\n          }}\n        jobs: ${{ toJSON(needs) }}\n\n  publish-pypi:\n    name: Publish 🐍📦 ${{ needs.pre-setup.outputs.git-tag }} to PyPI\n    needs:\n    - check\n    - pre-setup  # transitive, for accessing settings\n    if: >-\n      fromJSON(needs.pre-setup.outputs.release-requested)\n    runs-on: ubuntu-latest\n\n    environment:\n      name: pypi\n      url: >-\n        https://pypi.org/project/cheroot/${{\n          needs.pre-setup.outputs.dist-version\n        }}\n\n    permissions:\n      contents: read  # This job doesn't need to `git push` anything\n      id-token: write  # PyPI Trusted Publishing (OIDC)\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: ${{ env.dists-artifact-name }}\n        path: dist/\n    - name: >-\n        Publish 🐍📦 ${{ needs.pre-setup.outputs.git-tag }} to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-testpypi:\n    name: Publish 🐍📦 ${{ needs.pre-setup.outputs.git-tag }} to TestPyPI\n    needs:\n    - check\n    - pre-setup  # transitive, for accessing settings\n    if: >-\n      fromJSON(needs.pre-setup.outputs.is-untagged-devel)\n      || fromJSON(needs.pre-setup.outputs.release-requested)\n    runs-on: ubuntu-latest\n\n    environment:\n      name: testpypi\n      url: >-\n        https://test.pypi.org/project/cheroot/${{\n          needs.pre-setup.outputs.dist-version\n        }}\n\n    permissions:\n      contents: read  # This job doesn't need to `git push` anything\n      id-token: write  # PyPI Trusted Publishing (OIDC)\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: ${{ env.dists-artifact-name }}\n        path: dist/\n    - name: >-\n        Publish 🐍📦  ${{ needs.pre-setup.outputs.git-tag }} to TestPyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n\n  post-release-repo-update:\n    name: >-\n      Publish post-release Git tag\n      for ${{ needs.pre-setup.outputs.git-tag }}\n    needs:\n    - publish-pypi\n    - pre-setup  # transitive, for accessing settings\n    runs-on: ubuntu-latest\n\n    outputs:\n      pull_request_url: ${{ steps.pr.outputs.pull_request_url }}\n\n    permissions:\n      contents: write  # Mandatory for `git push` to work\n      pull-requests: write\n\n    steps:\n    - name: Fetch the src snapshot  # IMPORTANT: Must be before the tag check\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 2\n        ref: ${{ github.event.inputs.release-committish }}\n    - name: >-\n        Check if the requested tag ${{ needs.pre-setup.outputs.git-tag }}\n        is present and is pointing at the required commit ${{\n          github.event.inputs.release-committish\n        }}\n      id: existing-remote-tag-check\n      run: |\n        set -eEuo pipefail\n\n        REMOTE_TAGGED_COMMIT_SHA=\"$(\n          git ls-remote --tags --refs $(git remote get-url origin) '${{\n            needs.pre-setup.outputs.git-tag\n          }}' | awk '{print $1}'\n        )\"\n\n        # NOTE: Since we're making a new change log commit on top of the one\n        # NOTE: that is the release workflow trigger, it'll be the one that's\n        # NOTE: tagged if the workflow run succeeded previously. So we need to\n        # NOTE: grab its parent for comparison, since new workflow runs will\n        # NOTE: generate a new changelog update commit and while its diff and\n        # NOTE: the parent may be the same, the metadata like the timestamp\n        # NOTE: would differ causing it to have a different commit SHA. But the\n        # NOTE: parent would be immutable so that's what we'll compare to the\n        # NOTE: release committish.\n        if [[ \"${REMOTE_TAGGED_COMMIT_SHA}\" == '' ]]\n        then\n          LAST_HUMAN_COMMIT_SHA=\n        else\n          LAST_HUMAN_COMMIT_SHA=$(git rev-parse \"${REMOTE_TAGGED_COMMIT_SHA}\"^)\n        fi\n\n        RELEASE_REQUEST_COMMIT_SHA=$(git rev-parse '${{\n          github.event.inputs.release-committish || 'HEAD'\n        }}')\n\n        if [[ \"${LAST_HUMAN_COMMIT_SHA}\" == \"${RELEASE_REQUEST_COMMIT_SHA}\" ]]\n        then\n          echo \"already-exists=true\" >> \"${GITHUB_OUTPUT}\"\n        fi\n\n    - name: Setup git user as [bot]\n      if: steps.existing-remote-tag-check.outputs.already-exists != 'true'\n      # Refs:\n      # * https://github.community/t/github-actions-bot-email-address/17204/6\n      # * https://github.com/actions/checkout/issues/13#issuecomment-724415212\n      uses: fregante/setup-git-user@v2\n    - name: Fetch the GHA artifact with the version patch\n      if: steps.existing-remote-tag-check.outputs.already-exists != 'true'\n      uses: actions/download-artifact@v3\n      with:\n        name: changelog\n\n    - name: Apply the changelog patch\n      if: steps.existing-remote-tag-check.outputs.already-exists != 'true'\n      run: git am '${{ needs.pre-setup.outputs.changelog-patch-name }}'\n      shell: bash\n\n    - name: >-\n        Create a local 'release/${{\n          needs.pre-setup.outputs.dist-version\n        }}' branch\n      if: steps.existing-remote-tag-check.outputs.already-exists != 'true'\n      run: >-\n        git checkout -b 'release/${{\n          needs.pre-setup.outputs.dist-version\n        }}'\n\n    - name: >-\n        Tag the release in the local Git repo\n        as ${{ needs.pre-setup.outputs.git-tag }}\n      if: steps.existing-remote-tag-check.outputs.already-exists != 'true'\n      run: >-\n        git tag\n        -m '${{ needs.pre-setup.outputs.git-tag }}'\n        -m 'Published at https://pypi.org/project/cheroot/${{\n          needs.pre-setup.outputs.dist-version\n        }}'\n        -m 'This release has been produced by the following workflow run: ${{\n          github.server_url\n        }}/${{\n          github.repository\n        }}/actions/runs/${{\n          github.run_id\n        }}'\n        '${{ needs.pre-setup.outputs.git-tag }}'\n\n    - name: >-\n        Push ${{ needs.pre-setup.outputs.git-tag }} tag corresponding\n        to the just published release back to GitHub\n      if: steps.existing-remote-tag-check.outputs.already-exists != 'true'\n      run: >-\n        git push --atomic origin\n        'release/${{ needs.pre-setup.outputs.dist-version }}'\n        '${{ needs.pre-setup.outputs.git-tag }}'\n\n    - name: pull-request-action\n      id: pr\n      uses: vsoch/pull-request-action@1.1.1\n      env:\n        BRANCH_PREFIX: ''\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        PULL_REQUEST_BODY: >-\n          Automated changelog generation with the version\n          ${{ needs.pre-setup.outputs.dist-version }}.\n        PULL_REQUEST_BRANCH: ${{ github.event.repository.default_branch }}\n        PULL_REQUEST_FROM_BRANCH: >-\n          release/${{ needs.pre-setup.outputs.dist-version }}\n        PULL_REQUEST_TITLE: >-\n          🔖 Release ${{ needs.pre-setup.outputs.git-tag }}\n    - name: Log the pull request details\n      run: |\n        echo \"PR number: ${{ steps.pr.outputs.pull_request_number }}\"\n        echo \"PR URL: ${{ steps.pr.outputs.pull_request_url }}\"\n\n  publish-github-release:\n    name: >-\n      Publish a GitHub Release for\n      ${{ needs.pre-setup.outputs.git-tag }}\n    needs:\n    - post-release-repo-update\n    - pre-setup  # transitive, for accessing settings\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n      discussions: write\n      id-token: write  # IMPORTANT: mandatory for Sigstore signing\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: ${{ env.dists-artifact-name }}\n        path: dist/\n    - name: Fetch the GHA artifact with the version patch\n      uses: actions/download-artifact@v3\n      with:\n        name: changelog\n\n    - name: Figure out if the current version is a pre-release\n      id: release-maturity-check\n      run: |\n        from os import environ\n        from pathlib import Path\n\n        release_version = '${{\n          needs.pre-setup.outputs.dist-version\n        }}'\n\n        FILE_APPEND_MODE = 'a'\n\n        is_pre_release = any(\n            hint_char in release_version\n            for hint_char in {'a', 'b', 'd', 'r'}\n        )\n\n        with Path(environ['GITHUB_OUTPUT']).open(\n                mode=FILE_APPEND_MODE,\n        ) as outputs_file:\n            print(\n                f'is-pre-release={is_pre_release !s}'.lower(),\n                file=outputs_file,\n            )\n      shell: python\n    - name: Prepare the release notes file for the GitHub Releases\n      run: |\n        echo '## 📝 Release notes' | tee -a release-notes.md\n        echo | tee -a release-notes.md\n        echo | tee -a release-notes.md\n        echo '📦 PyPI page: https://pypi.org/project/cheroot/${{\n          needs.pre-setup.outputs.dist-version\n        }}' | tee -a release-notes.md\n        echo | tee -a release-notes.md\n        echo | tee -a release-notes.md\n        echo '${{\n          steps.release-maturity-check.outputs.is-pre-release == 'true'\n          && format(\n            '🚧 {0} is marked as a pre-release.',\n            needs.pre-setup.outputs.git-tag\n          )\n          || format(\n            '🌱 {0} is marked as a stable release.',\n            needs.pre-setup.outputs.git-tag\n          )\n        }}' | tee -a release-notes.md\n        echo | tee -a release-notes.md\n        echo | tee -a release-notes.md\n        echo '🔗 This release has been produced by ' \\\n        'the following workflow run: ${{\n          github.server_url\n        }}/${{\n          github.repository\n        }}/actions/runs/${{\n          github.run_id\n        }}' | tee -a release-notes.md\n        echo | tee -a release-notes.md\n        echo | tee -a release-notes.md\n        cat '${{\n            needs.pre-setup.outputs.changelog-draft-name-md\n        }}' | tee -a release-notes.md\n      shell: bash\n\n    - name: Sign the dists with Sigstore\n      uses: sigstore/gh-action-sigstore-python@v2.1.1\n      with:\n        inputs: >-\n          dist/${{ needs.pre-setup.outputs.sdist-artifact-name }}\n          dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}\n\n    - name: >-\n        Publish a GitHub Release for\n        ${{ needs.pre-setup.outputs.git-tag }}\n        with Sigstore-signed artifacts\n      uses: ncipollo/release-action@v1\n      with:\n        allowUpdates: false\n        artifactErrorsFailBuild: false\n        artifacts: |\n          dist/${{ needs.pre-setup.outputs.sdist-artifact-name }}\n          dist/${{ needs.pre-setup.outputs.sdist-artifact-name }}.sigstore\n          dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}\n          dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}.sigstore\n        artifactContentType: raw  # Because whl and tgz are of different types\n        bodyFile: release-notes.md\n        discussionCategory: Announcements\n        draft: false\n        name: ${{ needs.pre-setup.outputs.git-tag }}\n        # omitBody: false\n        omitBodyDuringUpdate: true\n        omitName: false\n        omitNameDuringUpdate: true\n        omitPrereleaseDuringUpdate: true\n        prerelease: ${{ steps.release-maturity-check.outputs.is-pre-release }}\n        removeArtifacts: false\n        replacesArtifacts: false\n        tag: ${{ needs.pre-setup.outputs.git-tag }}\n        token: ${{ secrets.GITHUB_TOKEN }}\n\n...\n", "state": "active", "repository": "cherrypy/cheroot"}
{"mined_at": "2024-07-15T13:41:50.626593", "created_at": "2022-11-11T19:06:52+01:00", "updated_at": "2024-04-28T23:39:35+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "---\n\nname: CodeQL\n\non:   # yamllint disable-line rule:truthy\n  push:\n    branches:\n    - main\n  pull_request:\n    branches:\n    - main\n  schedule:\n  - cron: 54 7 * * 6\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n        - python\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        queries: +security-and-quality\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: /language:${{ matrix.language }}\n\n...\n", "state": "active", "repository": "cherrypy/cheroot"}
{"mined_at": "2024-07-15T13:41:51.666343", "created_at": "2022-01-10T04:18:57+01:00", "updated_at": "2022-01-10T04:18:57+01:00", "name": "pip-tools", "path": ".github/workflows/pip-tools.yml", "contents": "---\n\nname: pip-tools\n\non:   # yamllint disable-line rule:truthy\n  workflow_dispatch:\n    inputs:\n      package-distribuition:\n        # github.event_name == 'workflow_dispatch'\n        # && github.event.inputs.package-distribuition\n        description: >-\n          A target Python package distribution to upgrade\n        required: false\n  pull_request:\n    paths:\n    - .github/workflows/pip-tools.yml\n  schedule:\n  - cron: 1 0 * * *  # Run daily at 0:01 UTC\n\nenv:\n  git-branch: >-\n    maintenance/pip-tools-constraint-lockfiles${{\n      (\n      github.event_name == 'workflow_dispatch'\n      && github.event.inputs.package-distribuition\n      )\n      && format('-updating-{0}', github.event.inputs.package-distribuition)\n      || ''\n    }}\n\nconcurrency:\n  group: >-\n    ${{\n        github.workflow\n    }}-${{\n        github.event.inputs.package-distribuition\n        || github.event.pull_request.number\n        || github.sha\n    }}\n  cancel-in-progress: true\n\njobs:\n\n  deps:\n    name: >-\n      ⛓🔒 🐍${{\n          matrix.python-version\n      }} @ ${{\n          matrix.os\n      }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version:\n        # NOTE: The latest and the lowest supported Pythons are prioritized\n        # NOTE: to improve the responsiveness. It's nice to see the most\n        # NOTE: important results first.\n        - 3.12\n        - 3.8\n        - 3.11\n        - >-\n          3.10\n        - 3.9\n        os:\n        - ubuntu-20.04\n        - macOS-11.0\n        - windows-2019\n\n    env:\n      PIP_DISABLE_PIP_VERSION_CHECK: 1\n      PIP_NO_PYTHON_VERSION_WARNING: 1\n      PIP_NO_WARN_SCRIPT_LOCATION: 1\n      PY_COLORS: 1\n\n    steps:\n    - name: Grab the source from Git\n      uses: actions/checkout@v3  # Keep before `setup-python` for cache to work\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        cache: pip\n        cache-dependency-path: requirements/**\n        python-version: ${{ matrix.python-version }}\n\n    - name: Upgrade pip with `requires_python`\n      run: >-\n        python -m\n        pip install\n        --user\n        --upgrade\n        --force-reinstall\n        pip-with-requires-python\n    - name: Install pip-tools\n      run: >-\n        python -m\n        pip install\n        --user\n        pip-tools\n\n    - name: Setup git user as [bot]\n      # Refs:\n      # * https://github.community/t/github-actions-bot-email-address/17204/6\n      # * https://github.com/actions/checkout/issues/13#issuecomment-724415212\n      uses: fregante/setup-git-user@v1.1.0\n\n    - name: Generate constraints files\n      id: constraints\n      # NOTE: `sed` under macOS needs a backup argument.\n      # Ref: https://stackoverflow.com/a/7573438/595220\n      run: >\n        set -x\n\n\n        BASE_NAME=$(\n        PYTHONPATH=bin/ python -c\n        'from pip_constraint_helpers import get_constraint_file_path,\n        get_runtime_python_tag;\n        print(get_constraint_file_path(\n        \"\", \"py\", get_runtime_python_tag())[:-4]\n        )\n        '\n        )\n\n\n        (cd requirements/;\n        ${{\n        runner.os != 'Windows'\n        && 'ln -svf tests.in \"${BASE_NAME}.in\"; git add \"${BASE_NAME}.in\"'\n        || 'GIT_INDEX_OBJECT_SYMLINK_TYPE=120000;\n        SYMLINK_TARGET_HASH=$(echo -n tests.in | git hash-object --stdin);\n        CURRENT_SRC_OBJECT_TYPE=\"$(\n        git ls-tree HEAD -- \"${BASE_NAME}.in\"\n        | awk \"{print\\$1}\"\n        )\";\n        echo \"CURRENT_SRC_OBJECT_TYPE=${CURRENT_SRC_OBJECT_TYPE}\";\n        if [[ \"${GIT_INDEX_OBJECT_SYMLINK_TYPE}\" !=\n        \"${CURRENT_SRC_OBJECT_TYPE}\" ]];\n        then\n        git update-index --add --cacheinfo\n        \"${GIT_INDEX_OBJECT_SYMLINK_TYPE}\" \"${SYMLINK_TARGET_HASH}\"\n        \"requirements/${BASE_NAME}.in\" &&\n        git status &&\n        git restore -- \"${BASE_NAME}.in\";\n        fi'\n        }}\n        )\n\n\n        python -m piptools compile\n        ${{\n        (\n        github.event_name == 'workflow_dispatch'\n        && github.event.inputs.package-distribuition\n        )\n        && format(\n        '--upgrade-package=\"{0}\"',\n        github.event.inputs.package-distribuition\n        )\n        || '--upgrade'\n        }}\n        --output-file=\"requirements/${BASE_NAME}.txt\"\n        \"requirements/${BASE_NAME}.in\"\n        pyproject.toml\n\n\n        git add \"requirements/${BASE_NAME}.txt\"\n\n\n        git commit -m \"Update ${BASE_NAME} constraints${{\n        (\n        github.event_name == 'workflow_dispatch'\n        && github.event.inputs.package-distribuition\n        )\n        && format(' for {0}', github.event.inputs.package-distribuition)\n        || ''\n        }}\" requirements/\n        && {\n        echo\n        \"patch=0001-Update-${BASE_NAME}-constraints.patch\"\n        >> \"${GITHUB_OUTPUT}\"\n        ;\n        }\n        || :\n      shell: bash\n\n    - name: Log the patch\n      if: steps.constraints.outputs.patch\n      run: git show --color\n    - name: Create a temporary patch directory\n      if: steps.constraints.outputs.patch\n      run: mkdir -pv '${{ runner.temp }}/patches'\n      shell: bash\n    - name: Create a patch from the last Git commit\n      if: steps.constraints.outputs.patch\n      run: >-\n        git format-patch\n        --output='${{\n            runner.temp\n        }}/patches/${{\n            steps.constraints.outputs.patch\n        }}'\n        -1\n        HEAD\n    - name: Save the package bump patch as a GHA artifact\n      if: steps.constraints.outputs.patch\n      uses: actions/upload-artifact@v3\n      with:\n        name: pip-constraints-git-patches\n        path: ${{ runner.temp }}/patches/${{ steps.constraints.outputs.patch }}\n\n  check:  # This job does nothing and is only used for the branch protection\n    name: >-\n      check\n      ⮸\n      ${{\n      (\n          github.event_name == 'workflow_dispatch'\n          && github.event.inputs.package-distribuition\n      )\n      && format('`{0}`', github.event.inputs.package-distribuition)\n      || 'everything'\n      }}\n    if: always()\n\n    needs:\n    - deps\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n\n  publish-pr:\n    name: Open/refresh a PR\n    if: github.event_name != 'pull_request'\n    needs:\n    - check\n    runs-on: Ubuntu-latest\n\n    environment: pip-tools\n\n    permissions:\n      contents: write  # Needed to enable auto-merge\n      pull-requests: write\n\n    steps:\n    - name: Download all the dists\n      id: artifacts-download\n      continue-on-error: true  # and judge whether there's updates later\n      uses: actions/download-artifact@v3\n      with:\n        name: pip-constraints-git-patches\n        path: ${{ runner.temp }}/patches/\n    - name: >-\n        Determine whether any change suggestions to lockfiles\n        have been produced\n      if: steps.artifacts-download.outcome == 'success'\n      id: artifacts\n      run: >-\n        echo \"lockfile-updates-needed=true\" >> \"${GITHUB_OUTPUT}\"\n    - name: Grab the source from Git\n      if: steps.artifacts.outputs.lockfile-updates-needed\n      uses: actions/checkout@v3\n      with:\n        ssh-key: ${{ secrets.PIP_TOOLS_DEPLOYMENT_KEY }}\n    - name: Setup git user as [bot]\n      if: steps.artifacts.outputs.lockfile-updates-needed\n      # Refs:\n      # * https://github.community/t/github-actions-bot-email-address/17204/6\n      # * https://github.com/actions/checkout/issues/13#issuecomment-724415212\n      uses: fregante/setup-git-user@v1.1.0\n\n    - name: Figure out if the pre-existing remote branch exists\n      if: steps.artifacts.outputs.lockfile-updates-needed\n      id: pre-existing-remote-branch\n      run: >-\n        echo \"info=$(\n        git ls-remote origin '${{ env.git-branch }}'\n        )\" >> \"${GITHUB_OUTPUT}\"\n    - name: Fetch the existing remote PR branch\n      if: steps.pre-existing-remote-branch.outputs.info\n      run: git fetch origin '${{ env.git-branch }}'\n    - name: Switch to the PR branch\n      if: steps.artifacts.outputs.lockfile-updates-needed\n      run: git checkout -B '${{ env.git-branch }}'\n    - name: Make an empty initial commit\n      if: >-\n        !steps.pre-existing-remote-branch.outputs.info\n        && steps.artifacts.outputs.lockfile-updates-needed\n      run: git commit --allow-empty -m \"Pip-tools initial commit $(uuidgen)\"\n    - name: Push the PR branch to remote\n      # ... so that it's possible to create a PR out of it\n      if: >-\n        !steps.pre-existing-remote-branch.outputs.info\n        && steps.artifacts.outputs.lockfile-updates-needed\n      # FIXME: use `GITHUB_TOKEN`\n      run: git push --atomic origin 'HEAD:${{ env.git-branch }}'\n    - name: Wipe the dummy commit\n      if: >-\n        !steps.pre-existing-remote-branch.outputs.info\n        && steps.artifacts.outputs.lockfile-updates-needed\n      # ... so that it's possible to create a PR out of it\n      run: git reset HEAD^\n\n    - name: Create a PR\n      if: >-\n        !steps.pre-existing-remote-branch.outputs.info\n        && steps.artifacts.outputs.lockfile-updates-needed\n      id: pr\n      uses: vsoch/pull-request-action@1.1.1\n      env:\n        BRANCH_PREFIX: ''\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        PULL_REQUEST_BODY: >-\n          Automated pip-tools-managed pip constraint lockfiles update.\n        PULL_REQUEST_BRANCH: ${{ github.event.repository.default_branch }}\n        PULL_REQUEST_FROM_BRANCH: ${{ env.git-branch }}\n        PULL_REQUEST_TITLE: >-\n          Bump transitive deps in pip-tools-managed lockfiles${{\n          (\n          github.event_name == 'workflow_dispatch'\n          && github.event.inputs.package-distribuition\n          )\n          && format(' for {0}', github.event.inputs.package-distribuition)\n          || ''\n          }}\n    - name: Log the pull request details\n      run: >-\n        echo\n        \"PR number: ${{ steps.pr.outputs.pull_request_number }}\"\n        \"\\nPR URL: ${{ steps.pr.outputs.pull_request_url }}\"\n\n    - name: List Git patches\n      if: steps.artifacts.outputs.lockfile-updates-needed\n      run: ls -alh '${{ runner.temp }}/patches/'\n    - name: Apply patches to the Git repo\n      if: steps.artifacts.outputs.lockfile-updates-needed\n      run: git am '${{ runner.temp }}/patches'/*.patch\n    - name: Force-push the PR branch to remote\n      # ... with only the useful commits which will cause a `pull_request`\n      # `synchronize` event because of the SSH key\n      if: steps.artifacts.outputs.lockfile-updates-needed\n      run: >-\n        git push\n        --atomic\n        origin 'HEAD:${{ env.git-branch }}'\n        --force-with-lease\n\n    - name: Enable auto-merge for the PR\n      if: steps.pr.outputs.pull_request_url\n      run: >-\n        gh pr merge\n        --auto --merge\n        '${{ steps.pr.outputs.pull_request_url }}'\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n...\n", "state": "active", "repository": "cherrypy/cheroot"}
{"mined_at": "2024-07-15T13:41:53.778647", "created_at": "2022-06-13T15:26:38+02:00", "updated_at": "2022-06-16T19:14:36+02:00", "name": "MacOS unit test", "path": ".github/workflows/ci-unit-macos.yml", "contents": "on:\n  push:\n    branches:\n      - master\n      - 'dev/**'\n    tags:\n      - '[0-9]+.[0-9]+.[0-9]+'\n  pull_request:\n\nname: MacOS unit test\n\njobs:  \n  macOS:\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10']\n\n    steps:\n      # https://www.cybertec-postgresql.com/en/postgresql-github-actions-continuous-integration/\n    - name: Start PostgreSQL\n      run: |\n        brew services start postgresql\n        echo \"Check PostgreSQL service is running\"\n        i=10\n        COMMAND='pg_isready'\n        while [ $i -gt 0 ]; do\n            echo \"Check PostgreSQL service status\"\n            eval $COMMAND && break\n            ((i--))\n            if [ $i == 0 ]; then\n                echo \"PostgreSQL service not ready, all attempts exhausted\"\n                exit 1\n            fi\n            echo \"PostgreSQL service not ready, wait 10 more sec, attempts left: $i\"\n            sleep 10\n        done\n\n    - name: Create PostgreSQL user\n      run: psql --command=\"CREATE USER postgres PASSWORD 'postgres'\" postgres\n\n    - name: Update PostgreSQL permissions\n      run: psql --command=\"ALTER DATABASE postgres OWNER TO postgres\" postgres\n\n    - name: Check PostgreSQL authentication\n      run: PGPASSWORD=postgres pg_isready --dbname postgres --username postgres\n\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        miniconda-version: \"latest\"\n        activate-environment: conda-env\n        python-version: ${{ matrix.python-version }}\n\n    - name: Set up R\n      uses: r-lib/actions/setup-r@v2\n\n    - name: Install dependencies\n      run: |\n\n        eval \"$(conda shell.bash hook)\"\n        conda activate conda-env\n\n        # upgrade pip to use the most recent resolver\n        pip install pip --upgrade\n\n        # make the build fail quickly on linting errors\n        pip install pkgmt\n        pkgmt lint\n\n        conda install -y pygraphviz -c conda-forge\n\n        # Test vanilla installation, make sure core modules are importable\n        # note: I needed to add \"--ignore-installed certifi\" because the\n        # installation started failing suddenly\n        pip install .  --ignore-installed certifi\n        python -c 'import ploomber'\n        python -c 'import ploomber.tasks'\n        python -c 'import ploomber.products'\n        python -c 'import ploomber.clients'\n\n        # install dev requirements\n        pip install .[dev]\n\n        # install IR kernel\n        echo \"install.packages('IRkernel', repos='http://cran.us.r-project.org'); IRkernel::installspec()\" | Rscript -\n\n        # install sample package for tests\n        pip install --editable tests/assets/test_pkg\n\n    - name: Run tests\n      env:\n        PLOOMBER_STATS_ENABLED: false\n      run: |\n        eval \"$(conda shell.bash hook)\"\n        conda activate conda-env\n        pip install pytest-timeout\n        pytest tests --timeout=120\n", "state": "active", "repository": "ploomber/ploomber"}
{"mined_at": "2024-07-15T13:41:54.906799", "created_at": "2022-06-13T15:26:38+02:00", "updated_at": "2022-06-16T19:14:36+02:00", "name": "Linux unit test", "path": ".github/workflows/ci-unit-linux.yml", "contents": "on:\n  push:\n    branches:\n      - master\n      - 'dev/**'\n    tags:\n      - '[0-9]+.[0-9]+.[0-9]+'\n  pull_request:\n\nname: Linux unit test\n\njobs:\n  linux:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10']\n    \n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Set up R\n      uses: r-lib/actions/setup-r@v2\n\n    - name: Config\n      run: |\n        conda create -q -n conda-env python=${{ matrix.python-version }} -c conda-forge\n        # for the tests that depend on git repos\n        git config --global user.email \"someone@example.com\"\n        git config --global user.name \"Someone\"\n\n    - name: Install dependencies\n      run: |\n        eval \"$(conda shell.bash hook)\"\n        conda activate conda-env\n\n        # upgrade pip to use the most recent resolver\n        pip install pip --upgrade\n\n        # make the build fail quickly on linting errors\n        pip install pkgmt\n        pkgmt lint\n\n        # for some reason, conda does not resolve the env correctly and\n        # installs and old version of pygraphviz (1.3) which breaks in\n        # Python 3.7\n        conda install -y \"pygraphviz>=1.6\" -c conda-forge\n\n        # Test vanilla installation, make sure core modules are importable\n        pip install .\n        python -c 'import ploomber'\n        python -c 'import ploomber.tasks'\n        python -c 'import ploomber.products'\n        python -c 'import ploomber.clients'\n        python -c 'import ploomber.io'\n\n        # install dev requirements\n        pip install .[dev]\n\n        # install IR kernel\n        echo \"install.packages('IRkernel', repos='http://cran.us.r-project.org'); IRkernel::installspec()\" | Rscript -\n\n        # install sample package for tests\n        pip install --editable tests/assets/test_pkg\n    - name: Run tests\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        PLOOMBER_STATS_ENABLED: false\n      run: |\n        eval \"$(conda shell.bash hook)\"\n        conda activate conda-env\n\n        # doc tests\n        export PY_IGNORE_IMPORTMISMATCH=1\n        pytest src/ploomber --doctest-modules --ignore src/ploomber/resources\n        unset PY_IGNORE_IMPORTMISMATCH\n\n        # run tests\n        pip install pytest-timeout\n        pytest tests --cov=ploomber --timeout=120\n\n\n  # run: pkgmt check\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.10'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install 'pkgmt[check]'\n      - name: Check project\n        run: |\n          pkgmt check\n\n  broken-links:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.10'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pkgmt\n      - name: Check for broken links\n        run: |\n          pkgmt check-links --only-404", "state": "active", "repository": "ploomber/ploomber"}
{"mined_at": "2024-07-15T13:41:55.972346", "created_at": "2023-03-30T03:55:58+02:00", "updated_at": "2023-03-30T03:55:58+02:00", "name": "readthedocs/actions", "path": ".github/workflows/rtd.yml", "contents": "name: readthedocs/actions\non:\n  pull_request_target:\n    types:\n      - opened\n\npermissions:\n  pull-requests: write\n\njobs:\n  documentation-links:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: readthedocs/actions/preview@v1\n        with:\n          project-slug: \"ploomber\"", "state": "active", "repository": "ploomber/ploomber"}
{"mined_at": "2024-07-15T13:41:59.200256", "created_at": "2020-02-08T06:28:59+01:00", "updated_at": "2020-02-08T06:28:59+01:00", "name": "Test Application", "path": ".github/workflows/pythonapp.yml", "contents": "name: Test Application\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n\n    services:\n      postgres:\n        image: postgres:10.8\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          # will assign a random free host port\n          - 5432/tcp\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n      mysql:\n        image: mysql:5.7\n        env:\n          MYSQL_ALLOW_EMPTY_PASSWORD: yes\n          MYSQL_DATABASE: orm\n        ports:\n          - 3306\n        options: --health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=3\n\n    strategy:\n      matrix:\n        python-version: [\"3.6\", \"3.7\", \"3.8\", \"3.9\"]\n    name: Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make init\n      - name: Test with pytest\n        env:\n          POSTGRES_DATABASE_HOST: localhost\n          POSTGRES_DATABASE_DATABASE: postgres\n          POSTGRES_DATABASE_USER: postgres\n          POSTGRES_DATABASE_PASSWORD: postgres\n          POSTGRES_DATABASE_PORT: ${{ job.services.postgres.ports[5432] }}\n          MYSQL_DATABASE_HOST: localhost\n          MYSQL_DATABASE_DATABASE: orm\n          MYSQL_DATABASE_USER: root\n          MYSQL_DATABASE_PORT: ${{ job.services.mysql.ports[3306] }}\n          DB_CONFIG_PATH: tests/integrations/config/database.py\n        run: |\n          python orm migrate --connection postgres\n          python orm migrate --connection mysql\n          make test\n  lint:\n    runs-on: ubuntu-20.04\n    name: Lint\n    steps:\n      - uses: actions/checkout@v1\n      - name: Set up Python 3.6\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.6\n      - name: Install Flake8\n        run: |\n          pip install flake8==3.7.9\n      - name: Lint\n        run: make lint\n", "state": "active", "repository": "masoniteframework/orm"}
{"mined_at": "2024-07-15T13:42:00.331987", "created_at": "2020-05-25T17:55:03+02:00", "updated_at": "2021-12-05T17:03:55+01:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n\n    services:\n      postgres:\n        image: postgres:10.8\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          # will assign a random free host port\n          - 5432/tcp\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n      mysql:\n        image: mysql:5.7\n        env:\n          MYSQL_ALLOW_EMPTY_PASSWORD: yes\n          MYSQL_DATABASE: orm\n        ports:\n          - 3306\n        options: --health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=3\n\n    strategy:\n      matrix:\n        python-version: [\"3.6\"]\n    name: Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make init\n      - name: Test with Pytest and Publish to PYPI\n        env:\n          POSTGRES_DATABASE_HOST: localhost\n          POSTGRES_DATABASE_DATABASE: postgres\n          POSTGRES_DATABASE_USER: postgres\n          POSTGRES_DATABASE_PASSWORD: postgres\n          POSTGRES_DATABASE_PORT: ${{ job.services.postgres.ports[5432] }}\n          MYSQL_DATABASE_HOST: localhost\n          MYSQL_DATABASE_DATABASE: orm\n          MYSQL_DATABASE_USER: root\n          MYSQL_DATABASE_PORT: ${{ job.services.mysql.ports[3306] }}\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n          DB_CONFIG_PATH: tests/integrations/config/database.py\n        run: |\n          python orm migrate --connection postgres\n          python orm migrate --connection mysql\n          make publish\n      - name: Discord notification\n        env:\n          DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}\n        uses: Ilshidur/action-discord@master\n        with:\n          args: \"{{ EVENT_PAYLOAD.repository.full_name }} {{ EVENT_PAYLOAD.release.tag_name }} has been released. Checkout the full release notes here: {{ EVENT_PAYLOAD.release.html_url }}\"\n\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: publish-to-conda\n        uses: fcakyon/conda-publish-action@v1.3\n        with:\n          subdir: \"conda\"\n          anacondatoken: ${{ secrets.ANACONDA_TOKEN }}\n          platforms: \"win osx linux\"\n", "state": "active", "repository": "masoniteframework/orm"}
{"mined_at": "2024-07-15T13:42:03.927433", "created_at": "2022-03-10T09:20:07+01:00", "updated_at": "2022-03-10T10:05:45+01:00", "name": "Check Markdown links", "path": ".github/workflows/docs.yaml", "contents": "name: Check Markdown links\n\non:\n  pull_request:\n    branches:\n      - develop\n      - master\n\njobs:\n  markdown-link-check:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n    - name: Run link check\n      uses: gaurav-nelson/github-action-markdown-link-check@v1\n      with:\n        use-verbose-mode: 'yes'\n        check-modified-files-only: 'yes'\n", "state": "active", "repository": "ibm/ibm-block-csi-driver"}
{"mined_at": "2024-07-15T13:42:05.833675", "created_at": "2024-07-15T08:07:28+02:00", "updated_at": "2024-07-15T08:07:28+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "ibm/ibm-block-csi-driver"}
{"mined_at": "2024-07-15T13:42:06.885978", "created_at": "2023-11-28T21:12:09+01:00", "updated_at": "2023-11-28T21:12:09+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "ibm/ibm-block-csi-driver"}
{"mined_at": "2024-07-15T13:42:10.029857", "created_at": "2021-07-19T00:43:03+02:00", "updated_at": "2021-07-19T15:33:46+02:00", "name": "Sync addon metadata translations", "path": ".github/workflows/sync-addon-metadata-translations.yml", "contents": "name: Sync addon metadata translations\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - '**addon.xml'\n      - '**resource.language.**strings.po'\n\njobs:\n  default:\n    if: github.repository == 'zim514/script.service.hue'\n    runs-on: ubuntu-latest\n\n    strategy:\n\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n\n    steps:\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          path: project\n          fetch-depth: 0\n\n      - name: Checkout sync_addon_metadata_translations repository\n        uses: actions/checkout@v4\n        with:\n          repository: xbmc/sync_addon_metadata_translations\n          path: sync_addon_metadata_translations\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install sync_addon_metadata_translations/\n\n      - name: Run sync-addon-metadata-translations\n        run: |\n          sync-addon-metadata-translations\n        working-directory: ./project/script.service.hue\n\n      - name: Commit\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          repository: project\n          commit_message: Sync of addon metadata translations triggered by ${{ github.sha }}\n          add_options: '--all'\n", "state": "active", "repository": "zim514/script.service.hue"}
{"mined_at": "2024-07-15T13:42:11.096216", "created_at": "2022-04-21T03:56:03+02:00", "updated_at": "2022-05-04T00:38:21+02:00", "name": "Release version", "path": ".github/workflows/release.yml", "contents": "name: Release version\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    name: Release addon\n    if: github.repository == 'zim514/script.service.hue'\n\n    steps:\n\n      - name: Checkout addon\n        uses: actions/checkout@v4\n        with:\n          path: 'addon'\n\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          path: 'repo'\n          repository: 'zim514/zim514.github.io'\n          token: ${{secrets.ACTIONHOSTEDREPO}}\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: 'pip'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install kodi-addon-checker gitpython\n\n      - name: Kodi addon checker validation\n        id: kodi-addon-check\n        run: kodi-addon-checker --branch=matrix ./addon/script.service.hue\n\n\n      - name: Clean & Generate repo\n        run: |\n          git --git-dir=./repo/.git/ --work-tree=./repo/ rm -rf --ignore-unmatch *.md5 *.zip\n          echo \"pwd: $(pwd)\"\n          ./repo/create_repository.py --datadir=repo/docs/repo ./addon/script.service.hue ./repo/repository.snapcase\n\n#      - name: Output debug\n#        shell: bash\n#        run: |\n#          echo \"****************************************\"\n#          find . -name .git -prune -o -print\n\n      - name : Find addon zip\n        id: zip_filename\n        run: |\n          file=$(find . -type f -name \"script.service.hue-*.zip\")\n          echo \"File: $file\"\n          echo \"zip_filename=$file\" >> $GITHUB_ENV\n\n      - name: Create Github Release\n        id: create_release\n        uses: ncipollo/release-action@v1.14.0\n        with:\n          allowUpdates: true\n          artifacts: \"${{ env.zip_filename }}\"\n          artifactContentType: application/zip\n\n      - name: Update hosted repo\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: Automated repo update ${{  github.ref_name }}\n          repository: ./repo\n          add_options: '--all'\n\n\n  rollbar:\n    name: Notify deploy to Rollbar\n    if: github.repository == 'zim514/script.service.hue'\n    runs-on: ubuntu-latest\n    needs: [ release ]\n\n    steps:\n      - name: Notify deploy to Rollbar\n        uses: rollbar/github-deploy-action@2.1.2\n        id: rollbar_deploy\n        with:\n          environment: 'production'\n          version: ${{  github.ref_name }}\n        env:\n          ROLLBAR_ACCESS_TOKEN: ${{ secrets.ROLLBAR_ACCESS_TOKEN }}\n          ROLLBAR_USERNAME: ${{ github.actor }}\n", "state": "active", "repository": "zim514/script.service.hue"}
{"mined_at": "2024-07-15T13:42:12.124742", "created_at": "2022-04-21T03:56:03+02:00", "updated_at": "2022-04-21T05:13:49+02:00", "name": "Submit script.service.hue", "path": ".github/workflows/submit.yml", "contents": "name: Submit script.service.hue\n\non:\n  workflow_dispatch:\n\njobs:\n  kodi-addon-submitter:\n    runs-on: ubuntu-latest\n    name: Kodi addon submitter\n    if: github.repository == 'zim514/script.service.hue'\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Submit to official kodi repository\n      id: kodi-addon-submitter\n      uses: xbmc/action-kodi-addon-submitter@master\n      with: # Replace all the below values\n        kodi-repository: repo-scripts\n        kodi-version: matrix\n        addon-id: script.service.hue\n        kodi-matrix: false # Submit a Python 2/3 compatible addon to matrix branch in addition to the target branch\n        sub-directory: true #Addon is stored in its own directory within the git repo\n        #push-only: true # Only push to your repo fork and not create a pull request'\n      env: # Make sure you create the below secrets (GH_TOKEN and EMAIL)\n        GH_USERNAME: ${{ github.actor }}\n        GH_TOKEN: ${{secrets.GH_TOKEN}}\n        EMAIL: ${{secrets.EMAIL}}\n", "state": "active", "repository": "zim514/script.service.hue"}
{"mined_at": "2024-07-15T13:42:13.178472", "created_at": "2022-04-21T04:25:39+02:00", "updated_at": "2023-02-09T00:35:21+01:00", "name": "Addon Checker", "path": ".github/workflows/check.yml", "contents": "name: Addon Checker\n\non: [push, pull_request]\n\njobs:\n  kodi-addon-checker:\n    if: github.repository == 'zim514/script.service.hue'\n    runs-on: ubuntu-latest\n    name: Kodi addon checker\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n        cache: 'pip'\n\n    - name: Install dependencies\n      run: pip install kodi-addon-checker\n\n    - name: Kodi addon checker validation\n      id: kodi-addon-check\n      run: kodi-addon-checker --branch=matrix ./script.service.hue", "state": "active", "repository": "zim514/script.service.hue"}
{"mined_at": "2024-07-15T13:42:14.274605", "created_at": "2023-02-09T00:40:51+01:00", "updated_at": "2023-12-27T16:06:52+01:00", "name": "Qodana", "path": ".github/workflows/code_quality.yml", "contents": "name: Qodana\non:\n  pull_request:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n\n\njobs:\n  Qodana:\n    runs-on: ubuntu-latest\n    if: github.repository == 'zim514/script.service.hue'\n    permissions:\n      contents: write\n      pull-requests: write\n      checks: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}  # to check out the actual pull request commit, not the merge commit\n          fetch-depth: 0\n      - name: 'Qodana Scan'\n        uses: JetBrains/qodana-action@latest\n        with:\n          use-caches: true\n          cache-default-branch-only: true\n          args: --baseline,qodana.sarif.json\n        env:\n          QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}", "state": "active", "repository": "zim514/script.service.hue"}
{"mined_at": "2024-07-15T13:42:16.320915", "created_at": "2021-02-01T20:21:11+01:00", "updated_at": "2021-02-01T20:21:11+01:00", "name": "CI", "path": ".github/workflows/python-package.yml", "contents": "# Workflow is based on the Astropy GitHub actions workflow, ci_workflows.yml\nname: CI\n\non:\n    push:\n        branches:\n            - '*'\n        tags:\n            - '*'\n    pull_request:\n\njobs:\n    tests:\n        name: Unit tests\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: true\n            matrix:\n                os: [ubuntu-latest]\n                python-version: [3.9]\n                astropy-version: ['==5.0', '<6']  # fuji version\n                fitsio-version: ['==1.1.6']  # fuji version\n                numpy-version: ['<1.23']  # to keep asscalar, used by astropy\n                matplotlib-version: ['<3.6.3'] # later versions of matplotlib require later versions of numpy.\n\n        env:\n            DESIUTIL_VERSION: 3.2.5\n            DESIMODEL_DATA: branches/test-0.17\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: |\n                python -m pip install --upgrade pip wheel\n                python -m pip install pytest\n                python -m pip install git+https://github.com/desihub/desiutil.git@${DESIUTIL_VERSION}#egg=desiutil\n                python -m pip install -r requirements.txt\n                python -m pip install -U 'numpy${{ matrix.numpy-version }}'\n                python -m pip install -U 'astropy${{ matrix.astropy-version }}'\n                python -m pip install -U 'matplotlib${{ matrix.matplotlib-version }}'\n                python -m pip cache remove fitsio\n                python -m pip install --no-deps --force-reinstall --ignore-installed 'fitsio${{ matrix.fitsio-version }}'\n                svn export https://desi.lbl.gov/svn/code/desimodel/${DESIMODEL_DATA}/data\n            - name: Run the test\n              run: DESIMODEL=$(pwd) pytest\n\n    coverage:\n        name: Test coverage\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: true\n            matrix:\n                os: [ubuntu-latest]\n                python-version: [3.9]\n                fitsio-version: ['==1.1.6']  # fuji version\n                numpy-version: ['<1.23']  # to keep asscalar, used by astropy\n                matplotlib-version: ['<3.6.3'] # later versions of matplotlib require later versions of numpy.\n        env:\n            DESIUTIL_VERSION: 3.2.5\n            DESIMODEL_DATA: branches/test-0.17\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: |\n                python -m pip install --upgrade pip wheel\n                python -m pip install pytest\\<7 pytest-cov\\<4 coveralls\n                python -m pip install git+https://github.com/desihub/desiutil.git@${DESIUTIL_VERSION}#egg=desiutil\n                python -m pip install -r requirements.txt\n                python -m pip install -U 'numpy${{ matrix.numpy-version }}'\n                python -m pip install -U 'matplotlib${{ matrix.matplotlib-version }}'\n                python -m pip cache remove fitsio\n                python -m pip install --no-deps --force-reinstall --ignore-installed 'fitsio${{ matrix.fitsio-version }}'\n                svn export https://desi.lbl.gov/svn/code/desimodel/${DESIMODEL_DATA}/data\n            - name: Run the test with coverage\n              run: DESIMODEL=$(pwd) pytest --cov\n            - name: Coveralls\n              env:\n                COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n                GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n              run: coveralls\n\n    docs:\n        name: Doc test\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest]\n                python-version: [3.9]\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: python -m pip install --upgrade pip wheel Sphinx\n            - name: Test the documentation\n              run: sphinx-build -W --keep-going -b html doc doc/_build/html\n\n    style:\n        name: Style check\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest]\n                python-version: [3.9]\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: python -m pip install --upgrade pip wheel pycodestyle\n            - name: Test the style; failures are allowed\n              # This is equivalent to an allowed falure.\n              continue-on-error: true\n              run: pycodestyle --count py/desitarget\n", "state": "active", "repository": "desihub/desitarget"}
{"mined_at": "2024-07-15T13:42:18.416578", "created_at": "2024-05-24T20:21:07+02:00", "updated_at": "2024-05-24T23:21:52+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "# Codespell configuration is within setup.cfg\n---\nname: Codespell\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\npermissions:\n  contents: read\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Annotate locations with typos\n        uses: codespell-project/codespell-problem-matcher@v1\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "magic-wormhole/magic-wormhole"}
{"mined_at": "2024-07-15T13:42:19.464976", "created_at": "2021-01-10T23:08:39+01:00", "updated_at": "2021-01-10T23:08:39+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  testing:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip tox codecov\n\n    - name: Test\n      run: |\n        python --version\n        tox -e coverage\n\n    - name: Upload Coverage\n      run: codecov\n\n  flake8:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip tox\n\n    - name: Flake8\n      run: |\n        python --version\n        tox -e flake8less\n\n  docs:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip tox\n\n    - name: Docs\n      run: |\n        python --version\n        tox -e docs\n", "state": "active", "repository": "magic-wormhole/magic-wormhole"}
{"mined_at": "2024-07-15T13:42:21.562351", "created_at": "2020-04-30T10:49:45+02:00", "updated_at": "2020-04-30T10:49:45+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  publish:\n    name: \"Publish release\"\n    runs-on: \"ubuntu-latest\"\n\n    environment:\n      name: deploy\n\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"3.11\"\n      - name: \"Install dependencies\"\n        run: \"scripts/install\"\n      - name: \"Build package & docs\"\n        run: \"scripts/build\"\n      - name: \"Publish to PyPI & deploy docs\"\n        run: \"scripts/publish\"\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "encode/starlette"}
{"mined_at": "2024-07-15T13:42:22.731771", "created_at": "2020-04-23T17:03:35+02:00", "updated_at": "2020-04-23T17:03:35+02:00", "name": "Test Suite", "path": ".github/workflows/test-suite.yml", "contents": "---\nname: Test Suite\n\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\"]\n\njobs:\n  tests:\n    name: \"Python ${{ matrix.python-version }}\"\n    runs-on: \"ubuntu-latest\"\n\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n          allow-prereleases: true\n      - name: \"Install dependencies\"\n        run: \"scripts/install\"\n      - name: \"Run linting checks\"\n        run: \"scripts/check\"\n      - name: \"Build package & docs\"\n        run: \"scripts/build\"\n      - name: \"Run tests\"\n        run: \"scripts/test\"\n      - name: \"Enforce coverage\"\n        run: \"scripts/coverage\"\n", "state": "active", "repository": "encode/starlette"}
{"mined_at": "2024-07-15T13:42:23.730817", "created_at": "2022-01-23T12:12:06+01:00", "updated_at": "2022-01-23T12:12:06+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "encode/starlette"}
{"mined_at": "2024-07-15T13:42:25.857513", "created_at": "2021-05-11T19:22:13+02:00", "updated_at": "2023-03-09T15:35:53+01:00", "name": "Compute coverage and push to Codecov", "path": ".github/workflows/codecov.yml", "contents": "name: Compute coverage and push to Codecov\r\non: [push]\r\njobs:\r\n  run:\r\n    runs-on: ${{ matrix.os }}\r\n    strategy:\r\n      matrix:\r\n        os: [ubuntu-latest, macos-latest, windows-latest]\r\n    env:\r\n      OS: ${{ matrix.os }}\r\n      PYTHON: '3.8'\r\n    steps:\r\n    - uses: actions/checkout@v3\r\n      name: Download with submodules\r\n      with:\r\n        submodules: recursive\r\n    - name: Setup Python\r\n      uses: actions/setup-python@v3\r\n      with:\r\n        python-version: \"3.8\"\r\n    - name: Install dependencies\r\n      run: |\r\n        python -m pip install --upgrade pip\r\n        pip install -r test-requirements.txt\r\n    - name: Generate coverage report\r\n      run: |\r\n        pip install pytest\r\n        pip install pytest-cov\r\n        pytest --cov=./ --cov-report=xml\r\n    - name: Upload coverage to Codecov\r\n      uses: codecov/codecov-action@v1\r\n      with:\r\n        token: ${{ secrets.CODECOV_TOKEN }}\r\n        files: ./coverage.xml\r\n        flags: unittests\r\n        env_vars: OS,PYTHON\r\n        name: codecov-umbrella\r\n        fail_ci_if_error: false\r\n        path_to_write_report: ./coverage/codecov_report.txt\r\n        verbose: true\r\n", "state": "active", "repository": "lark-parser/lark"}
{"mined_at": "2024-07-15T13:42:26.869521", "created_at": "2024-02-14T22:44:43+01:00", "updated_at": "2024-02-14T22:44:43+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": null, "state": "active", "repository": "lark-parser/lark"}
{"mined_at": "2024-07-15T13:42:27.887810", "created_at": "2020-02-18T09:17:24+01:00", "updated_at": "2020-02-18T09:17:24+01:00", "name": "Python type check", "path": ".github/workflows/mypy.yml", "contents": "name: Python type check\non: [push, pull_request]\njobs:\n  type:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: recursive\n      - name: Lint with mypy\n        run: pipx run tox -e type\n\n  pre-commit:\n    name: Format\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v3\n    - uses: pre-commit/action@v2.0.3\n", "state": "active", "repository": "lark-parser/lark"}
{"mined_at": "2024-07-15T13:42:28.924970", "created_at": "2020-03-29T10:08:13+02:00", "updated_at": "2020-03-29T10:08:13+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13-dev\", \"pypy-3.10\"]\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: recursive\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r test-requirements.txt\n      - name: Run tests\n        run: |\n          python -m tests\n", "state": "active", "repository": "lark-parser/lark"}
{"mined_at": "2024-07-15T13:42:29.950488", "created_at": "2022-01-04T15:02:44+01:00", "updated_at": "2022-01-04T15:02:44+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "lark-parser/lark"}
{"mined_at": "2024-07-15T13:42:32.302159", "created_at": "2023-05-30T12:02:14+02:00", "updated_at": "2023-05-30T12:02:14+02:00", "name": ".github/workflows/test.yml", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "yourlabs/django-autocomplete-light"}
{"mined_at": "2024-07-15T13:42:34.663769", "created_at": "2022-09-14T23:04:24+02:00", "updated_at": "2022-09-17T22:25:56+02:00", "name": "Docker Images", "path": ".github/workflows/docker-images.yaml", "contents": "name: Docker Images\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  setup:\n    permissions:\n      contents: read\n    runs-on: ubuntu-latest\n    outputs:\n      docker-push: ${{ steps.vars.outputs.docker-push }}\n      oci-reference: ${{ steps.vars.outputs.oci-reference }}\n    steps:\n      - id: vars\n        run: |\n          echo ::set-output name=github-ref::${{ github.ref }}\n          echo ::set-output name=docker-push::${{ github.ref == 'refs/heads/main' }}\n          echo ::set-output name=oci-reference::ghcr.io/$( echo \"${{ github.repository}}\" | tr '[:upper:]' '[:lower:]' )\n      - id: vars-dump\n        run: |\n          echo \"steps.vars.github-ref = ${{ steps.vars.outputs.github-ref }}\"\n          echo \"steps.vars.docker-push = ${{ steps.vars.outputs.docker-push }}\"\n          echo \"steps.vars.oci-reference = ${{ steps.vars.outputs.oci-reference }}\"\n\n  build:\n    needs: setup\n    permissions:\n      contents: read\n      packages: read\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n      - name: Install Task\n        uses: arduino/setup-task@v2\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install poetry\n        run: |\n          pip install -r devtools/requirements-poetry.in\n      - name: Build images\n        shell: bash\n        run: |\n          task \\\n            OCI_REFERENCE=\"${{ needs.setup.outputs.oci-reference }}\" \\\n            docker:latest docker:unstable\n  push:\n    if: \"${{ needs.setup.outputs.docker-push == 'true' }}\"\n    needs: [ setup, build ]\n    permissions:\n      id-token: write\n      packages: write\n      contents: read\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n      - name: Install Task\n        uses: arduino/setup-task@v2\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install poetry\n        run: |\n          pip install -r devtools/requirements-poetry.in\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Push images\n        shell: bash\n        run: |\n          task \\\n            DOCKER_PUSH=true \\\n            OCI_REFERENCE=\"${{ needs.setup.outputs.oci-reference }}\" \\\n            docker:latest docker:unstable\n", "state": "active", "repository": "rdflib/rdflib"}
{"mined_at": "2024-07-15T13:42:35.712272", "created_at": "2022-08-23T19:42:03+02:00", "updated_at": "2022-08-23T19:42:03+02:00", "name": "Test Report", "path": ".github/workflows/test-report.yml", "contents": "name: \"Test Report\"\non:\n  workflow_run:\n    workflows: [\"Validate\"]\n    types:\n      - completed\njobs:\n  report:\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      statuses: write\n    steps:\n      - uses: dorny/test-reporter@v1\n        with:\n          artifact: /(.*)-mypy-junit-xml$/\n          name: mypy report\n          path: \"*.xml\"\n          reporter: java-junit\n          fail-on-error: \"false\"\n      - uses: dorny/test-reporter@v1\n        with:\n          artifact: /(.*)-pytest-junit-xml$/\n          name: pytest report\n          path: \"*.xml\"\n          reporter: java-junit\n          fail-on-error: \"false\"\n", "state": "active", "repository": "rdflib/rdflib"}
{"mined_at": "2024-07-15T13:42:36.764003", "created_at": "2021-12-01T04:34:09+01:00", "updated_at": "2023-03-19T11:31:19+01:00", "name": "Validate", "path": ".github/workflows/validate.yaml", "contents": "name: Validate\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n  workflow_dispatch:\n\nenv:\n  FORCE_COLOR: 1\n  XDG_CACHE_HOME: ${{ github.workspace }}/.var/cache\n  POETRY_CACHE_DIR: ${{ github.workspace }}/.var/cache/pypoetry\n  PIP_CACHE_DIR: ${{ github.workspace }}/.var/cache/pip\n\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  validate:\n    permissions:\n      contents: read\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        # This is used for injecting additional tests for a specific python\n        # version and OS.\n        suffix: [\"\"]\n        include:\n          - python-version: \"3.8\"\n            os: ubuntu-latest\n            extensive-tests: true\n            TOXENV_SUFFIX: \"-docs\"\n          - python-version: \"3.8\"\n            os: ubuntu-latest\n            extensive-tests: true\n            PREPARATION: \"sudo apt-get install -y libxml2-dev libxslt-dev\"\n            suffix: \"-min\"\n            TOXENV_SUFFIX: \"-min\"\n          - python-version: \"3.9\"\n            os: ubuntu-latest\n            TOXENV_SUFFIX: \"-docs\"\n          - python-version: \"3.10\"\n            os: ubuntu-latest\n            TOX_EXTRA_COMMAND: \"- black --check --diff ./rdflib\"\n            TOXENV_SUFFIX: \"-lxml\"\n          - python-version: \"3.11\"\n            os: ubuntu-latest\n            TOXENV_SUFFIX: \"-docs\"\n            PREPARATION: \"sudo apt-get install -y firejail\"\n            extensive-tests: true\n            TOX_TEST_HARNESS: \"firejail --net=none --\"\n            TOX_PYTEST_EXTRA_ARGS: \"-m 'not webtest'\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Cache XDG_CACHE_HOME\n        uses: actions/cache@v4\n        with:\n          path: ${{ env.XDG_CACHE_HOME }}\n          key: ${{ github.job }}-xdg-v1-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml', '**/poetry.lock', '**/with-fuseki.sh', '**/*requirements*.txt', '**/*requirements*.in') }}\n          restore-keys: |\n            ${{ github.job }}-xdg-v1-${{ matrix.os }}-${{ matrix.python-version }}-\n            ${{ github.job }}-xdg-v1-${{ matrix.os }}-\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install poetry\n        run: |\n          pip install -r devtools/requirements-poetry.in\n      - uses: actions/setup-java@v4\n        if: ${{ matrix.extensive-tests }}\n        with:\n          distribution: \"temurin\"\n          java-version: \"17\"\n      - name: Install Task\n        uses: arduino/setup-task@v2\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Run preparation\n        if: ${{ matrix.PREPARATION }}\n        shell: bash\n        run: |\n          ${{ matrix.PREPARATION }}\n      - name: Run validation\n        shell: bash\n        run: |\n          task \\\n            OS=${{ matrix.os }} \\\n            MATRIX_SUFFIX=${{ matrix.suffix }} \\\n            EXTENSIVE=${{ matrix.extensive-tests || 'false' }} \\\n            TOX_PYTHON_VERSION=${{ matrix.python-version }} \\\n            TOXENV_SUFFIX=${{ matrix.TOXENV_SUFFIX }} \\\n            TOX_JUNIT_XML_PREFIX=${{ matrix.python-version }}-${{ matrix.os }}${{matrix.suffix}}- \\\n            gha:validate\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          TOX_PYTEST_EXTRA_ARGS: ${{ matrix.TOX_PYTEST_EXTRA_ARGS }}\n          TOX_TEST_HARNESS: ${{ matrix.TOX_TEST_HARNESS }}\n          TOX_EXTRA_COMMAND: ${{ matrix.TOX_EXTRA_COMMAND }}\n      - uses: actions/upload-artifact@v4\n        if: ${{ (success() || failure()) }}\n        with:\n          name: ${{ matrix.python-version }}-${{ matrix.os }}${{matrix.suffix}}-mypy-junit-xml\n          path: test_reports/${{ matrix.python-version }}-${{ matrix.os }}${{matrix.suffix}}-mypy-junit.xml\n      - uses: actions/upload-artifact@v4\n        if: ${{ (success() || failure()) }}\n        with:\n          name: ${{ matrix.python-version }}-${{ matrix.os }}${{matrix.suffix}}-pytest-junit-xml\n          path: test_reports/${{ matrix.python-version }}-${{ matrix.os }}${{matrix.suffix}}-pytest-junit.xml\n  extra-tasks:\n    permissions:\n      contents: read\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - task: \"gha:lint\"\n            python-version: 3.8\n    steps:\n      - uses: actions/checkout@v4\n      - name: Cache XDG_CACHE_HOME\n        uses: actions/cache@v4\n        with:\n          path: ${{ env.XDG_CACHE_HOME }}\n          key: ${{ github.job }}-xdg-v1-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml', '**/poetry.lock', '**/with-fuseki.sh', '**/*requirements*.txt', '**/*requirements*.in') }}\n          restore-keys: |\n            ${{ github.job }}-xdg-v1-${{ matrix.os }}-${{ matrix.python-version }}-\n            ${{ github.job }}-xdg-v1-${{ matrix.os }}-\n      - name: Set up Python ${{env.DEFAULT_PYTHON}}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install poetry\n        run: |\n          pip install -r devtools/requirements-poetry.in\n      - name: Install Task\n        uses: arduino/setup-task@v2\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Run task\n        shell: bash\n        run: |\n          task ${{ matrix.task }}\n  finish:\n    permissions:\n      contents: read\n    needs: validate\n    runs-on: ubuntu-latest\n    steps:\n      - name: Coveralls Finished\n        uses: coverallsapp/github-action@master\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          parallel-finished: true\n", "state": "active", "repository": "rdflib/rdflib"}
{"mined_at": "2024-07-15T13:42:39.142872", "created_at": "2020-03-18T19:16:54+01:00", "updated_at": "2022-03-16T20:32:07+01:00", "name": "Release Trimesh", "path": ".github/workflows/release.yml", "contents": "name: Release Trimesh\n\non:\n  push:\n    branches:\n      - main\n      - release-candidate\n\njobs:\n  formatting:\n    name: Check Code Formatting\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.11\"\n    - name: Install Formatting\n      run: |\n        pip install ruff\n    - name: Check Formatting\n      run: ruff check .\n  tests:\n    name: Run Unit Tests\n    needs: formatting\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest, macos-13, windows-latest]\n        exclude:\n            # windows runners have gotten flaky\n          - os: windows-latest\n            python-version: 3.8\n          - os: windows-latest\n            python-version: 3.9\n          - os: macos-13\n            python-version: 3.9\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Test a minimal install\n      run: |\n        pip install --no-cache-dir .\n        python tests/test_minimal.py\n    - name: Install Trimesh\n      run: pip install --no-cache-dir .[easy,test]\n    - name: Run Pytest\n      run: pytest tests/\n\n  pypi:\n    name: Release To PyPi\n    needs: [tests, containers]\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n    - name: Install publishing dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n      run: |\n        pyproject-build --outdir dist .\n        twine upload dist/*\n\n  containers:\n    name: Build Docker Images\n    runs-on: ubuntu-latest\n    steps:\n    - name: Log In to Docker Hub\n      run: echo ${{ secrets.DH_PASS }} | docker login --username mikedh --password-stdin\n    - name: Checkout trimesh\n      uses: actions/checkout@v3\n    - name: Build Images And Docs\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      run: |\n        make tests # build docker images and run unit tests\n        make publish-docker # push images to docker hub\n        make docs # build sphinx docs\n    - name: Deploy Github Pages\n      uses: peaceiris/actions-gh-pages@v3\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: ./html\n        force_orphan: true\n    - name: Logout of registries\n      if: always()\n      run: |\n        docker logout\n\n  corpus:\n    runs-on: ubuntu-latest\n    name: Check Corpus Loading\n    steps:\n    - uses: actions/checkout@v3\n    - name: Trimesh DiskCache\n      id: cache-resolvers\n      uses: actions/cache@v3\n      with:\n        path: ~/.trimesh-cache\n        key: trimesh-cache\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n         python-version: \"3.10\"\n    - name: Install Trimesh\n      run: pip install .[easy,test]\n    - name: Run Corpus Check\n      run: python tests/corpus.py\n\n  release:\n    permissions:\n      contents: write  # for actions/create-release\n    name: Create GitHub Release\n    needs: [tests, containers]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Tag Version\n        id: set_tag\n        run: |\n          export VER=$(python trimesh/version.py)\n          echo \"::set-output name=tag_name::${VER}\"\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@latest\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ steps.set_tag.outputs.tag_name }}\n          release_name: Release ${{ steps.set_tag.outputs.tag_name }}\n          draft: false\n          prerelease: false\n", "state": "active", "repository": "mikedh/trimesh"}
{"mined_at": "2024-07-15T13:42:40.161877", "created_at": "2020-03-18T18:06:08+01:00", "updated_at": "2021-04-27T21:25:42+02:00", "name": "Run Tests", "path": ".github/workflows/test.yml", "contents": "name: Run Tests\n\non: [pull_request,workflow_dispatch]\n\npermissions:\n  contents: read\n\njobs:\n  formatting:\n    name: Check Formatting\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.11\"\n    - name: Install\n      run: pip install ruff\n    - name: Run Ruff\n      run: ruff check .\n\n  tests:\n    name: Run Unit Tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.11\"]\n        os: [ubuntu-latest, windows-latest, macos-13]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Test a minimal install\n      run: |\n        pip install --no-cache-dir .\n        python tests/test_minimal.py\n    - name: Install Trimesh\n      run: pip install --no-cache-dir .[easy,test]\n    - name: Run Pytest\n      run: |\n        pytest\n  docker:\n    name: Run Tests In Docker\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Run Pytest In Docker\n      run: make tests\n\n  corpus:\n    runs-on: ubuntu-latest\n    name: Check Corpus Loading\n    steps:\n    - uses: actions/checkout@v3\n    - name: Trimesh DiskCache\n      id: cache-resolvers\n      uses: actions/cache@v3\n      with:\n        path: ~/.trimesh-cache\n        key: trimesh-cache\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v4\n      with:\n         python-version: \"3.11\"\n    - name: Install Trimesh\n      run: pip install .[easy,test]\n    - name: Run Corpus Check\n      run: python tests/corpus.py\n\n", "state": "active", "repository": "mikedh/trimesh"}
{"mined_at": "2024-07-15T13:42:41.235513", "created_at": "2022-01-03T01:29:05+01:00", "updated_at": "2022-01-03T01:29:05+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mikedh/trimesh"}
{"mined_at": "2024-07-15T13:42:44.411895", "created_at": "2020-01-13T22:05:11+01:00", "updated_at": "2020-01-13T22:05:11+01:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py clean sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "dtmilano/androidviewclient"}
{"mined_at": "2024-07-15T13:42:45.356854", "created_at": "2022-01-12T17:36:14+01:00", "updated_at": "2022-01-12T17:36:14+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "dtmilano/androidviewclient"}
{"mined_at": "2024-07-15T13:42:47.481394", "created_at": "2020-11-07T18:31:06+01:00", "updated_at": "2021-01-11T07:26:21+01:00", "name": "tests", "path": ".github/workflows/main.yml", "contents": "name: tests\n\non:\n  merge_group:\n  push:\n    branches-ignore:\n    # temporary GH branches relating to merge queues (jaraco/skeleton#93)\n    - gh-readonly-queue/**\n    tags:\n    # required if branches-ignore is supplied (jaraco/skeleton#103)\n    - '**'\n  pull_request:\n\npermissions:\n  contents: read\n\nenv:\n  # Environment variable to support color support (jaraco/skeleton#66)\n  FORCE_COLOR: 1\n\n  # Suppress noisy pip warnings\n  PIP_DISABLE_PIP_VERSION_CHECK: 'true'\n  PIP_NO_PYTHON_VERSION_WARNING: 'true'\n  PIP_NO_WARN_SCRIPT_LOCATION: 'true'\n\n  # Ensure tests can sense settings about the environment\n  TOX_OVERRIDE: >-\n    testenv.pass_env+=GITHUB_*,FORCE_COLOR\n\n\njobs:\n  test:\n    strategy:\n      # https://blog.jaraco.com/efficient-use-of-ci-resources/\n      matrix:\n        python:\n        - \"3.8\"\n        - \"3.12\"\n        platform:\n        - ubuntu-latest\n        - macos-latest\n        - windows-latest\n        include:\n        - python: \"3.9\"\n          platform: ubuntu-latest\n        - python: \"3.10\"\n          platform: ubuntu-latest\n        - python: \"3.11\"\n          platform: ubuntu-latest\n        - python: pypy3.10\n          platform: ubuntu-latest\n    runs-on: ${{ matrix.platform }}\n    continue-on-error: ${{ matrix.python == '3.13' }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox\n\n  collateral:\n    strategy:\n      fail-fast: false\n      matrix:\n        job:\n        - diffcov\n        - docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Eval ${{ matrix.job }}\n        run: tox -e ${{ matrix.job }}\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n    - test\n    - collateral\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n\n  release:\n    permissions:\n      contents: write\n    needs:\n    - check\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox -e release\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "jaraco/path"}
{"mined_at": "2024-07-15T13:42:50.616317", "created_at": "2021-12-17T00:48:32+01:00", "updated_at": "2021-12-17T00:48:32+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "jacebrowning/memegen"}
{"mined_at": "2024-07-15T13:42:52.838057", "created_at": "2020-11-18T23:40:17+01:00", "updated_at": "2021-04-27T08:30:31+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "# The quick CI tests run on every push to a PR. They perform a quick check\n# if the feature set and codebase are stable in general, but only for\n# a representative selection of environments.\nname: CI\non:\n  pull_request:\n    branches:\n      - main\n      - release/**\n  workflow_dispatch: {}\n\njobs:\n  linters:\n    name: Linting and static analysis\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5  # usually 1-2, rarely 3 mins (because of installations)\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - run: pip install -r requirements.txt\n      - run: pre-commit run --all-files\n      - run: mypy kopf --strict\n      - run: |\n          # Mypying the examples\n          exit_codes=0\n          for d in $(find examples -maxdepth 1 -mindepth 1 -type d)\n          do\n            echo \"Checking ${d}\"\n            mypy $d\n            exit_codes=$[${exit_codes} + $?]\n          done\n          exit ${exit_codes}\n\n  unit-tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        install-extras: [ \"\", \"full-auth\" ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n        include:\n          - install-extras: \"uvloop\"\n            python-version: \"3.12\"\n    name: Python ${{ matrix.python-version }} ${{ matrix.install-extras }}\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5  # usually 2-3 mins\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - run: pip install -r requirements.txt\n      - run: pip install -e .[${{ matrix.install-extras }}]\n        if: ${{ matrix.install-extras }}\n      - run: pytest --color=yes --timeout=2 --cov=kopf --cov-branch\n\n      - name: Publish coverage to Coveralls.io\n        if: success()\n        run: coveralls --service=github\n        env:\n          GITHUB_TOKEN: ${{ secrets.github_token }}\n        continue-on-error: true\n      - name: Publish coverage to CodeCov.io\n        uses: codecov/codecov-action@v3\n        if: success()\n        env:\n          PYTHON: ${{ matrix.python-version }}\n        with:\n          flags: unit\n          env_vars: PYTHON\n        continue-on-error: true\n\n  # Only the core functionality is tested: no e2e or functional tests (for simplicity).\n  # No coverage: PyPy performs extremely poorly with tracing/coverage (13 mins vs. 3 mins).\n  # Extra time: 2-3 mins for building the dependencies (since no binary wheels are available).\n  # Extra time: PyPy is good with JIT for repetitive code; tests are too unique for JIT.\n  pypy-tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        install-extras: [ \"\", \"full-auth\" ]\n        python-version: [ \"pypy-3.8\", \"pypy-3.9\", \"pypy-3.10\" ]\n    name: Python ${{ matrix.python-version }} ${{ matrix.install-extras }}\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - run: sudo apt-get update && sudo apt-get install libxml2-dev libxslt-dev\n      - run: pip install wheel\n\n      - run: pip install -r requirements.txt\n      - run: pip install -e .[${{ matrix.install-extras }}]\n        if: ${{ matrix.install-extras }}\n      - run: pytest --color=yes --timeout=2 --no-cov\n\n  functional:\n    strategy:\n      fail-fast: false\n      matrix:\n        k3s: [latest, v1.28, v1.27, v1.26]\n    name: K3s ${{matrix.k3s}}\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10  # usually 4-5 mins\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - uses: nolar/setup-k3d-k3s@v1\n        with:\n          version: ${{ matrix.k3s }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      - run: pip install -r requirements.txt -r examples/requirements.txt\n      - run: pytest --color=yes --timeout=30 --only-e2e\n\n  coveralls-finish:\n    name: Finalize coveralls.io\n    needs: [unit-tests, pypy-tests, functional]\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/setup-python@v4\n      - run: pip install coveralls\n      - run: coveralls --service=github --finish\n        env:\n          GITHUB_TOKEN: ${{ secrets.github_token }}\n        continue-on-error: true\n", "state": "active", "repository": "nolar/kopf"}
{"mined_at": "2024-07-15T13:42:53.795931", "created_at": "2020-11-29T12:52:45+01:00", "updated_at": "2021-04-27T08:30:31+02:00", "name": "Thorough tests", "path": ".github/workflows/thorough.yaml", "contents": "# The thorough tests run only on the main branch after everything is merged,\n# and regularly by time —- on order to detect bugs and incompatibility with\n# the new versions of freshly released software (e.g. K8s, K3s, Python libs).\n# The first part fully includes the CI workflow, with more versions of K3d/K3s.\n# The second part is unique to the thorough tests.\nname: Thorough tests\non:\n  push:\n    branches:\n      - main\n      - release/**\n  schedule:\n    - cron: \"13 3 * * 6\"\n  workflow_dispatch: {}\n\njobs:\n  linters:\n    name: Linting and static analysis\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5  # usually 1-2, rarely 3 mins (because of installations)\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - run: pip install -r requirements.txt\n      - run: pre-commit run --all-files\n      - run: mypy kopf --strict\n      - run: |\n          # Mypying the examples\n          exit_codes=0\n          for d in $(find examples -maxdepth 1 -mindepth 1 -type d)\n          do\n            echo \"Checking ${d}\"\n            mypy $d\n            exit_codes=$[${exit_codes} + $?]\n          done\n          exit ${exit_codes}\n\n  unit-tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        install-extras: [ \"\", \"full-auth\" ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n        include:\n          - install-extras: \"uvloop\"\n            python-version: \"3.12\"\n    name: Python ${{ matrix.python-version }} ${{ matrix.install-extras }}\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5  # usually 2-3 mins\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - run: pip install -r requirements.txt\n      - run: pip install -e .[${{ matrix.install-extras }}]\n        if: ${{ matrix.install-extras }}\n      - run: pytest --color=yes --timeout=2 --cov=kopf --cov-branch\n\n      - name: Publish coverage to Coveralls.io\n        if: success()\n        run: coveralls --service=github\n        env:\n          GITHUB_TOKEN: ${{ secrets.github_token }}\n        continue-on-error: true\n      - name: Publish coverage to CodeCov.io\n        uses: codecov/codecov-action@v3\n        if: success()\n        env:\n          PYTHON: ${{ matrix.python-version }}\n        with:\n          flags: unit\n          env_vars: PYTHON\n        continue-on-error: true\n\n  # Only the core functionality is tested: no e2e or functional tests (for simplicity).\n  # No coverage: PyPy performs extremely poorly with tracing/coverage (13 mins vs. 3 mins).\n  # Extra time: 2-3 mins for building the dependencies (since no binary wheels are available).\n  # Extra time: PyPy is good with JIT for repetitive code; tests are too unique for JIT.\n  pypy-tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        install-extras: [ \"\", \"full-auth\" ]\n        python-version: [ \"pypy-3.8\", \"pypy-3.9\", \"pypy-3.10\" ]\n    name: Python ${{ matrix.python-version }} ${{ matrix.install-extras }}\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - run: sudo apt-get update && sudo apt-get install libxml2-dev libxslt-dev\n      - run: pip install wheel\n\n      - run: pip install -r requirements.txt\n      - run: pip install -e .[${{ matrix.install-extras }}]\n        if: ${{ matrix.install-extras }}\n      - run: pytest --color=yes --timeout=2 --no-cov\n\n  functional:\n    strategy:\n      fail-fast: false\n      matrix:\n        k3s: [latest, v1.28, v1.27, v1.26]\n    name: K3s ${{matrix.k3s}}\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10  # usually 4-5 mins\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - uses: nolar/setup-k3d-k3s@v1\n        with:\n          version: ${{ matrix.k3s }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      - run: pip install -r requirements.txt -r examples/requirements.txt\n      - run: pytest --color=yes --timeout=30 --only-e2e\n\n  full-scale:\n    strategy:\n      fail-fast: false\n      matrix:\n        k8s: [latest, v1.28.5, v1.27.9, v1.26.13]\n    name: K8s ${{matrix.k8s}}\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10  # usually 4-5 mins\n    env:\n      K8S: ${{ matrix.k8s }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - run: tools/install-minikube.sh\n      - run: pip install -r requirements.txt -r examples/requirements.txt\n      - run: pytest --color=yes --timeout=30 --only-e2e\n\n  coveralls-finish:\n    name: Finalize coveralls.io\n    needs: [unit-tests, pypy-tests, functional]\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/setup-python@v4\n      - run: pip install coveralls\n      - run: coveralls --service=github --finish\n        env:\n          GITHUB_TOKEN: ${{ secrets.github_token }}\n        continue-on-error: true\n", "state": "active", "repository": "nolar/kopf"}
{"mined_at": "2024-07-15T13:42:55.115830", "created_at": "2020-11-30T00:59:37+01:00", "updated_at": "2020-11-30T00:59:37+01:00", "name": "Publish to PyPI", "path": ".github/workflows/publish.yaml", "contents": "name: Publish to PyPI\non:\n  release:\n    types:\n      - published\n#  push:\n#    tags:\n#      - \"[0-9]+.[0-9]+*\"\n  workflow_dispatch: {}\n\njobs:\n  publish:\n    name: Build and publish\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - run: pip install --upgrade setuptools wheel twine\n      - run: python setup.py sdist bdist_wheel\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_token }}\n          skip_existing: true\n", "state": "active", "repository": "nolar/kopf"}
{"mined_at": "2024-07-15T13:42:56.187956", "created_at": "2022-11-10T12:22:55+01:00", "updated_at": "2022-11-13T22:34:49+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: \"6 2 * * 3\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "nolar/kopf"}
{"mined_at": "2024-07-15T13:42:58.301571", "created_at": "2024-05-29T04:44:16+02:00", "updated_at": "2024-05-29T04:45:55+02:00", "name": "Workflow for Black", "path": ".github/workflows/black.yml", "contents": null, "state": "active", "repository": "milvus-io/bootcamp"}
{"mined_at": "2024-07-15T13:42:59.359913", "created_at": "2021-11-03T07:37:45+01:00", "updated_at": "2021-11-03T07:37:45+01:00", "name": "Deploy CI Test", "path": ".github/workflows/deploy_ci.yml", "contents": "name: Deploy CI Test\n\non:\n  pull_request:\n    branches:\n      - master\n    types: [ labeled ]\n\njobs:\n  CI-Deploy-Test:\n    # Example label: audio_similarity_search/quick_deploy\n    if: contains(github.event.label.name, 'benchmark') || contains(github.event.label.name, '/quick_deploy') || contains(github.event.label.name, '/object_detection')\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@master\n    - name: Setup Python3.7\n      uses: actions/setup-python@master\n      with:\n        python-version: 3.7\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        auto-update-conda: true\n        python-version: 3.7\n    - name: Conda install RDKit\n      if: github.event.label.name == 'molecular_similarity_search/quick_deploy'\n      shell: bash -l {0}\n      run: |\n        conda info\n        conda install -c rdkit rdkit -y\n\n    - name: Install pip packeages\n      shell: bash -l {0}\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        pip install gdown\n    - name: Start Milvus\n      run: |\n        wget https://github.com/milvus-io/milvus/releases/download/v2.0.0-rc7/milvus-standalone-docker-compose.yml -O docker-compose.yml\n        docker-compose up -d\n\n    - name: Install libsndfile\n      if: github.event.label.name == 'audio_similarity_search/quick_deploy'\n      run: sudo apt-get install -y libsndfile1\n    - name: Install ffmpeg\n      if: github.event.label.name == 'video_similarity_search/object_detection' || github.event.label.name == 'video_similarity_search/quick_deploy'\n      run: sudo apt-get install -y ffmpeg\n    - name: Start MySQL\n      if: contains(github.event.label.name, '/quick_deploy') || contains(github.event.label.name, '/object_detection')\n      run: docker run -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 -d mysql:5.7\n    \n    - name: Test main server\n      if: contains(github.event.label.name, '/quick_deploy') || contains(github.event.label.name, '/object_detection')\n      shell: bash -l {0}\n      run: |\n        cd solutions/${{github.event.label.name}}/server\n        pip install -r requirements.txt\n        cd src && python -m pytest\n\n    - name: Test benchmark\n      if: github.event.label.name == 'benchmark'\n      shell: bash -l {0}\n      run: |\n        cd benchmark_test/scripts\n        pip install -r requirements.txt\n        python -m pytest test_main.py\n", "state": "active", "repository": "milvus-io/bootcamp"}
{"mined_at": "2024-07-15T13:43:00.383466", "created_at": "2021-11-09T08:49:51+01:00", "updated_at": "2021-11-09T08:49:51+01:00", "name": "Docker Compose CI Test", "path": ".github/workflows/docker_compose_ci.yml", "contents": "name: Docker Compose CI Test\non:\n  pull_request:\n    branches:\n      - master\n    types: [ labeled ]\n    paths:\n      - '**docker-compose.yaml'\n\njobs:\n  Docker-Compose-Test:\n    if: github.event.label.name == 'docker-compose'\n    runs-on: ubuntu-latest\n    \n    steps:\n    - uses: actions/checkout@master\n    - name: Setup Python3.7\n      uses: actions/setup-python@master\n      with:\n        python-version: 3.7\n    - name: Install pip packeages\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        pip install gdown\n\n    - name: Get all added and modified files as CSV\n      id: files\n      uses: Ana06/get-changed-files@v2.0.0\n      with:\n        format: 'csv'\n    - name: Run test with docker-compose\n      run: |\n        mapfile -d ',' -t added_modified_files < <(printf '%s,' '${{ steps.files.outputs.added_modified }}')\n        for added_modified_file in \"${added_modified_files[@]}\"; do\n          if [[ ${added_modified_file} = *docker-compose.yaml ]]; then\n            mkdir -p `dirname ${added_modified_file}`/data\n            docker-compose -f ${added_modified_file} up -d\n            cd `dirname ${added_modified_file}`\n            pip install -r server/requirements.txt\n            python -m pytest test_docker_compose.py\n          fi\n        done\n", "state": "active", "repository": "milvus-io/bootcamp"}
{"mined_at": "2024-07-15T13:43:01.599133", "created_at": "2021-11-03T07:37:25+01:00", "updated_at": "2021-11-03T07:37:25+01:00", "name": "Jupyter CI Test", "path": ".github/workflows/jupyter_ci.yml", "contents": "name: Jupyter CI Test\non:\n  pull_request:\n    branches:\n      - master\n    types: [ labeled ]\n    paths:\n      - '**.ipynb'\n\njobs:\n  CI-Deploy-Test:\n    if: github.event.label.name == 'jupyter'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Setup Python3.8\n      uses: actions/setup-python@master\n      with:\n        python-version: 3.8\n    - name: Install pip packeages\n      run: |\n        python -m pip install --upgrade pip\n        pip install gdown\n        pip install pytest nbmake\n\n    - name: Install libsndfile\n      run: sudo apt-get install -y libsndfile1\n    - name: Install libglu\n      run: sudo apt-get install -y libglu1-mesa\n    - name: Install libopengl\n      run: sudo apt install -y libopengl0\n\n    - name: Start Milvus\n      run: |\n        wget https://github.com/milvus-io/milvus/releases/download/v2.0.0-rc7/milvus-standalone-docker-compose.yml -O docker-compose.yml\n        docker-compose up -d\n\n    - name: Get all added and modified files as CSV\n      id: files\n      uses: Ana06/get-changed-files@v2.0.0\n      with:\n        format: 'csv'\n    - name: Get Notebook and test with nbmake\n      run: |\n        mapfile -d ',' -t added_modified_files < <(printf '%s,' '${{ steps.files.outputs.added_modified }}')\n        for added_modified_file in \"${added_modified_files[@]}\"; do\n          if [[ ${added_modified_file} = *.ipynb ]]; then\n            pytest --nbmake ${added_modified_file}\n          fi\n        done\n            \n    \n", "state": "active", "repository": "milvus-io/bootcamp"}
{"mined_at": "2024-07-15T13:43:03.269921", "created_at": "2021-10-26T10:59:02+02:00", "updated_at": "2021-10-26T10:59:02+02:00", "name": "Workflow for pylint", "path": ".github/workflows/pylint.yml", "contents": "# This is a workflow to checkout code with pylint\n\nname: Workflow for pylint\non:\n  pull_request:\n    branches:\n      - main\njobs:\n  Pylint-Check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Setup Python\n      uses: actions/setup-python@master\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Python pylint\n      run: |\n        pip install pylint==2.10.2\n        pylint --rcfile=pylint.conf --output-format=colorized solutions\n        pylint --rcfile=pylint.conf --output-format=colorized benchmark_test\n", "state": "active", "repository": "milvus-io/bootcamp"}
{"mined_at": "2024-07-15T13:43:05.357750", "created_at": "2023-12-06T08:49:46+01:00", "updated_at": "2023-12-06T08:49:46+01:00", "name": "Publish Container Image", "path": ".github/workflows/image-publish.yml", "contents": "name: Publish Container Image\n\non:\n  push:\n    tags:\n      - '*'\n  workflow_dispatch:\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Prepare\n        id: prep\n        run: |\n          TIME=$(date +%s)\n          VERSION=dev-$TIME\n          if [[ $GITHUB_REF == refs/tags/* ]]; then\n            VERSION=${GITHUB_REF#refs/tags/}\n            VERSION=\"${VERSION:1}\"\n          fi\n          IMAGE=\"ghcr.io/preferredai/cornac-server\"\n          echo ::set-output name=tagged_image::${IMAGE}:${VERSION},${IMAGE}:latest\n        shell: bash\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: true\n          platforms: linux/amd64,linux/arm64\n          tags: ${{ steps.prep.outputs.tagged_image }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max", "state": "active", "repository": "preferredai/cornac"}
{"mined_at": "2024-07-15T13:43:06.382128", "created_at": "2021-07-08T15:51:27+02:00", "updated_at": "2021-07-09T14:09:38+02:00", "name": "master", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: master\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    name: Building on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, ubuntu-latest, macos-13, macos-14]\n        # python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        versions:\n          - { python: \"3.8\", numpy: 1.22.4 }\n          - { python: \"3.9\", numpy: 1.22.4 }\n          - { python: \"3.10\", numpy: 1.22.4 }\n          - { python: \"3.11\", numpy: 1.24.3 }\n          - { python: \"3.12\", numpy: 1.26.4 }\n        \n    steps:\n    - name: Get number of CPU cores\n      uses: SimenB/github-actions-cpu-cores@v2\n      id: cpu-cores\n\n    - uses: actions/checkout@v4\n\n    - name: Setup Python ${{ matrix.versions.python }}\n      if: ${{ (matrix.os != 'macos-14') || ((matrix.os == 'macos-14') && (matrix.versions.python != '3.8') && (matrix.versions.python != '3.9')) }}\n      uses: actions/setup-python@v5\n      id: pysetup\n      with:\n        python-version: ${{ matrix.versions.python }}\n        cache: 'pip'\n\n    - name: Setup Python 3.8-3.9 - macos-arm\n      if: ${{ (matrix.os == 'macos-14') && ((matrix.versions.python == '3.8') || (matrix.versions.python == '3.9')) }}\n      run: |\n        brew update\n        brew install python@${{ matrix.versions.python }}\n        curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py\n        python${{ matrix.versions.python }} get-pip.py\n\n    - name: Create Python alias for Windows \n      if: matrix.os == 'windows-latest'\n      run: |\n        $newPath = \"${{ steps.pysetup.outputs.python-path }}\".Replace(\"python.exe\", \"python${{ matrix.versions.python }}.exe\")\n        New-Item -ItemType HardLink -Path \"$newPath\" -Value \"${{ steps.pysetup.outputs.python-path }}\"\n\n    - name: Display Python and Pip versions\n      run: | \n        python${{ matrix.versions.python }} -c \"import sys; print(sys.version)\"\n        pip --version\n\n    - name: Upgrade pip wheel setuptools\n      run: pip install wheel setuptools pip --upgrade\n\n    - name: Install numpy ${{ matrix.versions.numpy }}\n      run: pip install numpy==${{ matrix.versions.numpy }}\n    \n    - name: Display numpy version\n      run: python${{ matrix.versions.python }} -c \"import numpy; print(numpy.__version__)\"\n\n    - name: Install other dependencies\n      run: |\n        pip install scipy Cython pytest pytest-cov flake8\n        python${{ matrix.versions.python }} setup.py build_ext -j${{ steps.cpu-cores.outputs.count }}\n        pip install -e .[tests]\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    \n    - name: Test with pytest\n      run: |\n        pytest --cov=cornac\n", "state": "active", "repository": "preferredai/cornac"}
{"mined_at": "2024-07-15T13:43:07.509065", "created_at": "2021-07-08T16:07:08+02:00", "updated_at": "2021-07-09T14:09:38+02:00", "name": "upload", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: upload\n\non:\n  release:\n    types: [published]\n\njobs:\n  build-wheels:\n    name: Building on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, ubuntu-latest, macos-13, macos-14]\n        versions:\n          - { python: \"3.8\", numpy: 1.22.4 }\n          - { python: \"3.9\", numpy: 1.22.4 }\n          - { python: \"3.10\", numpy: 1.22.4 }\n          - { python: \"3.11\", numpy: 1.24.3 }\n          - { python: \"3.12\", numpy: 1.26.4 }\n\n    steps:\n    - uses: actions/checkout@v4\n    \n    - name: Setup Python ${{ matrix.versions.python }}\n      if: ${{ (matrix.os != 'macos-14') || ((matrix.os == 'macos-14') && (matrix.versions.python != '3.8') && (matrix.versions.python != '3.9')) }}\n      uses: actions/setup-python@v5\n      id: pysetup\n      with:\n        python-version: ${{ matrix.versions.python }}\n        cache: 'pip'\n\n    - name: Setup Python 3.8-3.9 - macos-arm\n      if: ${{ (matrix.os == 'macos-14') && ((matrix.versions.python == '3.8') || (matrix.versions.python == '3.9')) }}\n      run: |\n        brew update\n        brew install python@${{ matrix.versions.python }}\n        curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py\n        python${{ matrix.versions.python }} get-pip.py\n\n    - name: Create Python alias for Windows \n      if: matrix.os == 'windows-latest'\n      run: |\n        $newPath = \"${{ steps.pysetup.outputs.python-path }}\".Replace(\"python.exe\", \"python${{ matrix.versions.python }}.exe\")\n        New-Item -ItemType HardLink -Path \"$newPath\" -Value \"${{ steps.pysetup.outputs.python-path }}\"\n\n    - name: Display Python and Pip versions\n      run: | \n        python${{ matrix.versions.python }} -c \"import sys; print(sys.version)\"\n        pip --version\n\n    - name: Upgrade pip wheel setuptools\n      run: pip install wheel setuptools pip --upgrade\n\n    - name: Install numpy ${{ matrix.versions.numpy }}\n      run: pip install numpy==${{ matrix.versions.numpy }}\n    \n    - name: Display numpy version\n      run: python${{ matrix.versions.python }} -c \"import numpy; print(numpy.__version__)\"\n\n    - name: Install other dependencies\n      run: |\n        pip install scipy Cython wheel\n    \n    - name: Build wheels\n      run: python${{ matrix.versions.python }} setup.py bdist_wheel\n        \n    - name: Rename Linux wheels to supported platform of PyPI\n      if: matrix.os == 'ubuntu-latest'\n      run: for f in dist/*.whl; do mv \"$f\" \"$(echo \"$f\" | sed s/linux/manylinux1/)\"; done\n\n    - name: Publish wheels to GitHub artifacts\n      uses: actions/upload-artifact@v2\n      with:\n        name: wheels\n        path: ./dist/*.whl\n\n\n  publish-pypi:\n    needs: [build-wheels]\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n          \n    - uses: actions/download-artifact@v2\n      with:\n        name: wheels\n        path: dist/\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Display Python version\n      run: python -c \"import sys; print(sys.version)\"\n\n    - name: Install numpy\n      run: |\n        python -m pip install numpy==1.22.4\n        python -c \"import numpy; print(numpy.__version__)\"\n\n    - name: Install other dependencies\n      run: |\n        python -m pip install scipy Cython wheel\n\n    - name: Build source tar file\n      run: python setup.py sdist\n        \n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        packages_dir: ./dist/\n        verify_metadata: false\n        skip_existing: true\n        verbose: true\n", "state": "active", "repository": "preferredai/cornac"}
{"mined_at": "2024-07-15T13:43:08.725826", "created_at": "2023-10-20T03:42:51+02:00", "updated_at": "2023-10-20T03:42:51+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [opened, reopened, synchronize]\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - name: Draft release\n        uses: release-drafter/release-drafter@v5.25.0\n        id: release_drafter\n        with:\n          config-name: draft-config.yml\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "preferredai/cornac"}
{"mined_at": "2024-07-15T13:43:10.758032", "created_at": "2020-09-16T14:18:48+02:00", "updated_at": "2023-07-03T23:38:59+02:00", "name": "Checks", "path": ".github/workflows/formatting_check.yml", "contents": "name: Checks\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the master branch\non: pull_request\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  check:\n    name: Formatting (black)\n\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - uses: yezz123/setup-uv@v4\n        with:\n          uv-venv: .venv\n\n      - name: Install black\n        run: |\n          uv pip install -v black==23.9.1\n\n      - name: Black Code Formatter\n        run: black --check --diff --color .\n\n  ruff:\n    name: Code (ruff)\n\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: chartboost/ruff-action@v1\n        with:\n          version: 0.4.2\n          args: --config pyproject.toml\n          src: netket test Examples\n", "state": "active", "repository": "netket/netket"}
{"mined_at": "2024-07-15T13:43:11.782493", "created_at": "2020-10-11T15:08:49+02:00", "updated_at": "2022-03-30T18:21:39+02:00", "name": "CI", "path": ".github/workflows/CI.yml", "contents": "name: CI\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - master\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.9\"\n            mpi: \"\"\n            doctest: true\n            oldest_deps: false\n\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            mpi: \"\"\n            main_tests: true\n            oldest_deps: false\n\n          - os: macos-latest\n            python-version: \"3.10\"\n            mpi: \"mpich\"\n            main_tests: true\n            oldest_deps: false\n\n          - os: macos-latest\n            python-version: \"3.10\"\n            mpi: \"\"\n            main_tests: true\n            oldest_deps: false\n            env: NUMBA_BOUNDSCHECK=1\n\n        # python-version: [3.9, 3.10, 3.11]\n        # os: [ubuntu-latest, macos-latest]\n\n    env:\n      MPICH_INTERFACE_HOSTNAME: localhost\n      USE_MPI: ${{ matrix.mpi }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-tags: true\n\n      - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: yezz123/setup-uv@v4\n        with:\n          uv-venv: .venv\n\n      - name: Setup MPI\n        uses: mpi4py/setup-mpi@v1\n        if: matrix.mpi != ''\n        with:\n          mpi: ${{ matrix.mpi }}\n\n      - name: Install packages\n        if: ${{ ! matrix.oldest_deps }}\n        run: |\n          uv pip install jaxlib\n          if [ -z \"${{ matrix.mpi }}\" ]; then\n            uv pip install -e \".[dev,extra,pyscf]\"\n          else\n            uv pip install -e \".[dev,mpi]\"\n          fi\n          uv pip install dm-haiku\n\n      - name: Netket tests\n        if: ${{ matrix.main_tests }}\n        run: |\n          export NETKET_EXPERIMENTAL=1\n          pytest --cov=netket --cov-append test\n\n      - name: NetKet docstring tests\n        if: ${{ matrix.doctest }}\n        run: |\n          pytest --doctest-continue-on-failure --doctest-modules netket/\n\n      - name: MPI tests\n        if: matrix.mpi != ''\n        run: |\n          mpirun -host localhost:2 -np 2 coverage run -m pytest -n 0 test\n          coverage combine --append\n\n      - name: Upload coverage reports to Codecov\n        if: always()\n        uses: codecov/codecov-action@v3\n", "state": "active", "repository": "netket/netket"}
{"mined_at": "2024-07-15T13:43:12.810481", "created_at": "2021-03-23T11:59:03+01:00", "updated_at": "2021-03-23T11:59:03+01:00", "name": "Publish to PyPi", "path": ".github/workflows/publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Publish to PyPi\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/netket\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      # make sure tags are fetched so we can get a version\n      - run: |\n          git fetch --prune --unshallow --tags\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade build\n          pip install -U build twine \n\n      - name: Build\n        run: |\n          python -m build\n      \n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "netket/netket"}
{"mined_at": "2024-07-15T13:43:13.958292", "created_at": "2023-11-09T12:22:58+01:00", "updated_at": "2024-01-08T16:13:53+01:00", "name": "CI_sharding", "path": ".github/workflows/CI_sharding.yml", "contents": "name: CI_sharding\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - master\n\njobs:\n  test_sharding:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            mpi: \"\"\n            runscript: \"run_test_sharding_1cpu.sh\"\n\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            mpi: \"\"\n            runscript: \"run_test_sharding_2cpu.sh\"\n\n          # - os: self-hosted\n          #   python-version: \"3.10\"\n          #   mpi: \"openmpi\"\n          #   runscript: \"run_test_sharding_distributed.sh\"\n\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            mpi: \"\"\n            runscript: \"run_standard_tests_with_sharding.sh\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-tags: true\n\n      - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: yezz123/setup-uv@v4\n        with:\n          uv-venv: .venv\n\n      - name: Setup MPI\n        uses: mpi4py/setup-mpi@v1\n        if: matrix.mpi != ''\n        with:\n          mpi: ${{ matrix.mpi }}\n\n      - name: Pip install packages\n        run: |\n          uv pip install jaxlib\n          uv pip install -e \".[dev,extra]\"\n\n      - name: run tests\n        run: |\n          ./test_sharding/\"${{ matrix.runscript }}\"\n", "state": "active", "repository": "netket/netket"}
{"mined_at": "2024-07-15T13:43:16.415850", "created_at": "2022-06-09T01:13:22+02:00", "updated_at": "2022-06-09T01:13:22+02:00", "name": "Auto-merge minor dependency updates", "path": ".github/workflows/auto-merge-dependency-updates.yaml", "contents": "name: Auto-merge minor dependency updates\n\non: pull_request\n\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  check-pull-request:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v2.1.0\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: Approve\n        if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'}}\n        run: gh pr review --body \"Automatic approval for minor dependency update.\" --approve \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n      - name: Merge\n        if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'}}\n        run: gh pr merge --auto --merge \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "uccser/cs-unplugged"}
{"mined_at": "2024-07-15T13:43:17.524981", "created_at": "2020-11-09T01:08:29+01:00", "updated_at": "2020-11-09T01:08:29+01:00", "name": "Synchronise with Crowdin", "path": ".github/workflows/crowdin-actions.yaml", "contents": "name: Synchronise with Crowdin\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 3 * * *'\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}\n  CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}\n\njobs:\n  synchronise-with-crowdin:\n    runs-on: ubuntu-20.04\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Upload or update source files to Crowdin\n      uses: crowdin/github-action@v1.20.4\n      with:\n        upload_sources: true\n\n    - name: Download Chinese (simplified) translations\n      uses: crowdin/github-action@v1.20.4\n      with:\n        upload_sources: false\n        download_translations: true\n        download_language: 'zh-CN'\n        skip_untranslated_files: true\n        export_only_approved: true\n        push_translations: true\n        commit_message: 'Update Chinese (simplified) Crowdin translations by Github Action'\n        localization_branch_name: translation-zh-cn\n        create_pull_request: true\n        pull_request_title: 'Update Chinese (simplified) language translations'\n        pull_request_body: 'This pull request will add/update Chinese (simplified) language files from Crowdin.'\n        pull_request_labels: 'internationalization'\n        pull_request_base_branch_name: develop\n        config: crowdin.yaml\n\n    - name: Download French translations\n      uses: crowdin/github-action@v1.20.4\n      with:\n        upload_sources: false\n        download_translations: true\n        download_language: 'fr'\n        skip_untranslated_files: true\n        export_only_approved: true\n        push_translations: true\n        commit_message: 'Update French Crowdin translations by Github Action'\n        localization_branch_name: translation-fr\n        create_pull_request: true\n        pull_request_title: 'Update French language translations'\n        pull_request_body: 'This pull request will add/update French language files from Crowdin.'\n        pull_request_labels: 'internationalization'\n        pull_request_base_branch_name: develop\n        config: crowdin.yaml\n\n    - name: Download German translations\n      uses: crowdin/github-action@v1.20.4\n      with:\n        upload_sources: false\n        download_translations: true\n        download_language: 'de'\n        skip_untranslated_files: true\n        export_only_approved: true\n        push_translations: true\n        commit_message: 'Update German Crowdin translations by Github Action'\n        localization_branch_name: translation-de\n        create_pull_request: true\n        pull_request_title: 'Update German language translations'\n        pull_request_body: 'This pull request will add/update German language files from Crowdin.'\n        pull_request_labels: 'internationalization'\n        pull_request_base_branch_name: develop\n        config: crowdin.yaml\n\n    - name: Download Indonesian translations\n      uses: crowdin/github-action@v1.20.4\n      with:\n        upload_sources: false\n        download_translations: true\n        download_language: 'id'\n        skip_untranslated_files: true\n        export_only_approved: true\n        push_translations: true\n        commit_message: 'Update Indonesian Crowdin translations by Github Action'\n        localization_branch_name: translation-id\n        create_pull_request: true\n        pull_request_title: 'Update Indonesian language translations'\n        pull_request_body: 'This pull request will add/update Indonesian language files from Crowdin.'\n        pull_request_labels: 'internationalization'\n        pull_request_base_branch_name: develop\n        config: crowdin.yaml\n\n    - name: Download Italian translations\n      uses: crowdin/github-action@v1.20.4\n      with:\n        upload_sources: false\n        download_translations: true\n        download_language: 'it'\n        skip_untranslated_files: true\n        export_only_approved: true\n        push_translations: true\n        commit_message: 'Update Italian Crowdin translations by Github Action'\n        localization_branch_name: translation-it\n        create_pull_request: true\n        pull_request_title: 'Update Italian language translations'\n        pull_request_body: 'This pull request will add/update Italian language files from Crowdin.'\n        pull_request_labels: 'internationalization'\n        pull_request_base_branch_name: develop\n        config: crowdin.yaml\n\n    - name: Download Te Reo Māori translations\n      uses: crowdin/github-action@v1.20.4\n      with:\n        upload_sources: false\n        download_translations: true\n        download_language: 'mi'\n        skip_untranslated_files: true\n        export_only_approved: true\n        push_translations: true\n        commit_message: 'Update Te Reo Māori Crowdin translations by Github Action'\n        localization_branch_name: translation-mi\n        create_pull_request: true\n        pull_request_title: 'Update Te Reo Māori language translations'\n        pull_request_body: 'This pull request will add/update Te Reo Māori language files from Crowdin.'\n        pull_request_labels: 'internationalization'\n        pull_request_base_branch_name: develop\n        config: crowdin.yaml\n\n    - name: Download Turkish translations\n      uses: crowdin/github-action@v1.20.4\n      with:\n        upload_sources: false\n        download_translations: true\n        download_language: 'tr'\n        skip_untranslated_files: true\n        export_only_approved: true\n        push_translations: true\n        commit_message: 'Update Turkish Crowdin translations by Github Action'\n        localization_branch_name: translation-tr\n        create_pull_request: true\n        pull_request_title: 'Update Turkish language translations'\n        pull_request_body: 'This pull request will add/update Turkish language files from Crowdin.'\n        pull_request_labels: 'internationalization'\n        pull_request_base_branch_name: develop\n        config: crowdin.yaml\n", "state": "active", "repository": "uccser/cs-unplugged"}
{"mined_at": "2024-07-15T13:43:18.567539", "created_at": "2021-07-29T02:02:54+02:00", "updated_at": "2021-08-12T00:27:06+02:00", "name": "Test and deploy", "path": ".github/workflows/test-and-deploy.yaml", "contents": "name: Test and deploy\n\non:\n  workflow_dispatch:\n  push:\n  release:\n    types: [published]\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  test-django-system-check:\n    name: Tests - Django system check\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Create Docker network\n        run: docker network create uccser-development-stack\n        # Required for the node service\n      - name: Set DOCKER_UID variable\n        run: echo \"DOCKER_UID=$(echo $UID)\" >> $GITHUB_ENV\n      - name: Start systems\n        run: docker compose -f docker-compose.local.yml up -d\n      - name: Run Django system check\n        run: docker compose -f docker-compose.local.yml run --rm django python ./manage.py check --fail-level WARNING\n\n  test-content:\n    name: Tests - Content\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Create Docker network\n        run: docker network create uccser-development-stack\n        # Required for the node service\n      - name: Set DOCKER_UID variable\n        run: echo \"DOCKER_UID=$(echo $UID)\" >> $GITHUB_ENV\n      - name: Start systems\n        run: docker compose -f docker-compose.local.yml up -d\n      - name: Create static files\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" node npm run generate-assets\n      - name: Collect static files\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" django python ./manage.py collectstatic --no-input\n      - name: Migrate database\n        run: docker compose -f docker-compose.local.yml run --rm django python ./manage.py migrate\n      - name: Load content\n        run: docker compose -f docker-compose.local.yml run --rm django python ./manage.py updatedata\n      - name: Make resource thumbnails\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" django python ./manage.py makeresourcethumbnails\n      - name: Collect static files\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" django python ./manage.py collectstatic --no-input\n\n  test-general:\n    name: Tests - General\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Run general tests\n        run: ./dev ci test_general\n      - name: Create coverage file\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" django coverage xml -i\n      - name: Upload coverage file\n        uses: codecov/codecov-action@v4\n        with:\n          files: ./csunplugged/coverage.xml\n          verbose: true\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  test-resources:\n    name: Tests - Resources\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Run resource tests\n        run: ./dev ci test_resources\n      - name: Create coverage file\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" django coverage xml -i\n      - name: Upload coverage file\n        uses: codecov/codecov-action@v4\n        with:\n          files: ./csunplugged/coverage.xml\n          verbose: true\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  test-management:\n    name: Tests - Management\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Run management tests\n        run: ./dev ci test_management\n      - name: Create coverage file\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" django coverage xml -i\n      - name: Upload coverage file\n        uses: codecov/codecov-action@v4\n        with:\n          files: ./csunplugged/coverage.xml\n          verbose: true\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  test-style:\n    name: Tests - Style\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Run style tests\n        run: ./dev ci style\n\n  test-docs:\n    name: Tests - Documentation\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r docs/requirements.txt\n      - name: Build documentation\n        run: sphinx-build -b html -W docs/ docs/_build/\n\n  create-static-files:\n    name: Create static files\n    if: |\n      (github.ref == 'refs/heads/develop')\n      || startsWith(github.ref, 'refs/heads/research-study-')\n      || github.event_name == 'release'\n    runs-on: ubuntu-20.04\n    needs: [\n      test-django-system-check,\n      test-content,\n      test-general,\n      test-resources,\n      test-management,\n      test-style,\n      test-docs\n    ]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Create Docker network\n        run: docker network create uccser-development-stack\n\n      # Required for the node service\n      - name: Set DOCKER_UID variable\n        run: echo \"DOCKER_UID=$(echo $UID)\" >> $GITHUB_ENV\n\n      - name: Start system\n        run: docker compose -f docker-compose.local.yml up -d\n\n      - name: Create production static files\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" node npm run build\n\n      - name: Collect staticfiles\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" django python manage.py collectstatic --no-input\n\n      - name: Archive static files\n        run: tar czf static-files.tar.gz --directory csunplugged/staticfiles/ .\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: static-files\n          path: static-files.tar.gz\n          retention-days: 3\n\n  create-resource-thumbnails:\n    name: Create resource thumbnails\n    if: |\n      (github.ref == 'refs/heads/develop')\n      || startsWith(github.ref, 'refs/heads/research-study-')\n      || github.event_name == 'release'\n    runs-on: ubuntu-20.04\n    needs: [\n      test-django-system-check,\n      test-content,\n      test-general,\n      test-resources,\n      test-management,\n      test-style,\n      test-docs\n    ]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Create Docker network\n        run: docker network create uccser-development-stack\n\n      # Required for the node service\n      - name: Set DOCKER_UID variable\n        run: echo \"DOCKER_UID=$(echo $UID)\" >> $GITHUB_ENV\n\n      - name: Start system\n        run: docker compose -f docker-compose.local.yml up -d\n\n      - name: Create production static files\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" node npm run build\n\n      - name: Migrate database\n        run: docker compose -f docker-compose.local.yml run --rm django python ./manage.py migrate\n\n      - name: Load resources\n        run: docker compose -f docker-compose.local.yml run --rm django python ./manage.py loadresources\n\n      - name: Make resource thumbnails\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" django python ./manage.py makeresourcethumbnails --all-languages\n\n      - name: Archive static files\n        run: tar czf resource-thumbnails.tar.gz --directory csunplugged/build/img/resources/ .\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: resource-thumbnails\n          path: resource-thumbnails.tar.gz\n          retention-days: 3\n\n  create-at-a-distance-files:\n    name: Create at a distance files\n    if: |\n      (github.ref == 'refs/heads/develop')\n      || startsWith(github.ref, 'refs/heads/research-study-')\n      || github.event_name == 'release'\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        language: [\n          'en',\n        ]\n      fail-fast: true\n\n    needs: [\n      test-django-system-check,\n      test-content,\n      test-general,\n      test-resources,\n      test-management,\n      test-style,\n      test-docs\n    ]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Create Docker network\n        run: docker network create uccser-development-stack\n\n      # Required for the node service\n      - name: Set DOCKER_UID variable\n        run: echo \"DOCKER_UID=$(echo $UID)\" >> $GITHUB_ENV\n\n      - name: Start system\n        run: docker compose -f docker-compose.local.yml up -d\n\n      - name: Create standard static files\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" node npm run generate-assets\n\n      - name: Collect staticfiles\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" django python manage.py collectstatic --no-input\n\n      - name: Migrate database\n        run: docker compose -f docker-compose.local.yml run --rm django python ./manage.py migrate\n\n      - name: Load at a distance data\n        run: docker compose -f docker-compose.local.yml run --rm django python ./manage.py load_at_a_distance_data\n\n      - name: Run decktape script\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" decktape --language ${{ matrix.language }}\n\n      - name: Create speaker notes PDFs\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" django python ./manage.py create_lesson_speaker_notes_pdfs --language ${{ matrix.language }}\n\n      - name: Archive static files\n        run: tar czf at-a-distance-files.tar.gz --directory csunplugged/build/slides/ .\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: at-a-distance-files-${{ matrix.language }}\n          path: at-a-distance-files.tar.gz\n          retention-days: 3\n\n  create-resources:\n    name: Create resources\n    if: |\n      (github.ref == 'refs/heads/develop')\n      || startsWith(github.ref, 'refs/heads/research-study-')\n      || github.event_name == 'release'\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        language: [\n          'en',\n          'de',\n          'es',\n          'fr',\n          'mi',\n          'zh-hans',\n        ]\n      fail-fast: true\n    needs: [\n      test-django-system-check,\n      test-content,\n      test-general,\n      test-resources,\n      test-management,\n      test-style,\n      test-docs\n    ]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Create Docker network\n        run: docker network create uccser-development-stack\n\n      # Required for the node service\n      - name: Set DOCKER_UID variable\n        run: echo \"DOCKER_UID=$(echo $UID)\" >> $GITHUB_ENV\n\n      - name: Start system\n        run: docker compose -f docker-compose.local.yml up -d\n\n      - name: Create production static files\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" node npm run build\n\n      - name: Migrate database\n        run: docker compose -f docker-compose.local.yml run --rm django python ./manage.py migrate\n\n      - name: Load resources\n        run: docker compose -f docker-compose.local.yml run --rm django python ./manage.py loadresources\n\n      - name: Make resources\n        run: docker compose -f docker-compose.local.yml run --rm --user=\"root\" django python ./manage.py makeresources --language ${{ matrix.language }}\n\n      - name: Archive static files\n        run: tar czf resources.tar.gz --directory csunplugged/build/resources/ .\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: resources-${{ matrix.language }}\n          path: resources.tar.gz\n          retention-days: 3\n\n  publish-docker-image:\n    name: Create and publish Docker image\n    if: |\n      (github.ref == 'refs/heads/develop')\n      || startsWith(github.ref, 'refs/heads/research-study-')\n      || github.event_name == 'release'\n    runs-on: ubuntu-20.04\n    needs: [\n      create-static-files,\n      create-resource-thumbnails,\n      create-resources,\n      create-at-a-distance-files,\n    ]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Download all workflow run artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: artifacts/\n\n      - name: Show file tree of artifacts directory\n        run: ls -R -l artifacts/\n\n      - name: Unpack all artifacts\n        run: |\n          mkdir -p csunplugged/staticfiles\n          tar -xz --file artifacts/static-files/static-files.tar.gz --directory csunplugged/staticfiles\n          mkdir -p csunplugged/staticfiles/img/resources\n          tar -xz --file artifacts/resource-thumbnails/resource-thumbnails.tar.gz --directory csunplugged/staticfiles/img/resources\n          mkdir -p csunplugged/staticfiles/resources\n          ls artifacts/resources-*/resources.tar.gz | xargs -n1 tar -xz --directory csunplugged/staticfiles/resources --file\n          mkdir -p csunplugged/staticfiles/slides\n          ls artifacts/at-a-distance-files-*/at-a-distance-files.tar.gz | xargs -n1 tar -xz --directory csunplugged/staticfiles/slides --file\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3.2.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Setup Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n          tags: |\n            type=ref,event=tag,priority=1\n            type=ref,event=branch,priority=2\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5.4.0\n        with:\n          file: ./infrastructure/production/django/Dockerfile\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          build-args: |\n            GIT_SHA=${{ github.sha }}\n", "state": "active", "repository": "uccser/cs-unplugged"}
{"mined_at": "2024-07-15T13:43:20.614373", "created_at": "2020-01-27T09:29:51+01:00", "updated_at": "2020-01-27T09:29:51+01:00", "name": "Secrets Check - Commit", "path": ".github/workflows/main.yml", "contents": "name: Secrets Check - Commit\n\non: [push]\n\njobs:\n  security-check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - name: Trufflehog Actions Scan\n        uses: nasa-gibs/trufflehog-actions-scan@master\n        with:\n          scanArguments: \"--regex --entropy=False\"\n", "state": "active", "repository": "nasa-gibs/onearth"}
{"mined_at": "2024-07-15T13:43:22.662407", "created_at": "2020-05-12T21:42:43+02:00", "updated_at": "2021-04-23T22:50:48+02:00", "name": "Run Tests", "path": ".github/workflows/run_tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Run Tests\n\non:\n  - push\n  - pull_request\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pyats[full]\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        pip uninstall genie.libs.parser -y\n\n    - name: Make develop\n      run: |\n        make develop\n        make json\n        git status\n        git diff\n\n    - name: Folder based testing\n      run: |\n        cd tests\n        pyats run job folder_parsing_job.py --no-mail --no-archive\n\n    - name: Unittest based testing\n      run: |\n        cd tests\n        python -m unittest\n", "state": "active", "repository": "ciscotestautomation/genieparser"}
{"mined_at": "2024-07-15T13:43:24.812987", "created_at": "2024-03-25T20:48:57+01:00", "updated_at": "2024-03-25T20:48:57+01:00", "name": "00 PR Auto approve", "path": ".github/workflows/00_pr_auto_approve.yml", "contents": "name: \"00 PR Auto approve\"\n\non: pull_request_target\n\npermissions:\n  contents: read\n\njobs:\n  auto-approve:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    if: contains(fromJson('[\"dependabot[bot]\", \"github-actions[bot]\", \"pdxjohnny\"]'), github.actor)\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1\n        with:\n          egress-policy: audit\n\n      - uses: hmarr/auto-approve-action@8f929096a962e83ccdfa8afcf855f39f12d4dac7 # v4\n        with:\n          review-message: \"LGTM\"\n", "state": "active", "repository": "intel/dffml"}
{"mined_at": "2024-07-15T13:43:26.036972", "created_at": "2022-10-11T16:43:03+02:00", "updated_at": "2023-01-11T23:32:04+01:00", "name": "Build: Images: Containers (Reusable)", "path": ".github/workflows/build_images_containers.yml", "contents": "# References:\n# - https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_call\n# - https://docs.github.com/en/actions/using-workflows/reusing-workflows\n# - https://github.com/slsa-framework/slsa/blob/main/docs/get-started.md\n# - https://github.com/slsa-framework/github-actions-demo\n# - https://github.blog/2022-04-07-slsa-3-compliance-with-github-actions/\n# - https://docs.github.com/en/actions/learn-github-actions/expressions#fromjson\n# - https://stackoverflow.com/questions/66381595/trying-to-parse-json-output-in-a-github-action\n# - https://github.com/GoogleContainerTools/kaniko#kaniko-build-contexts\n#   - Git Repository\n# - https://github.com/GoogleContainerTools/kaniko#debug-image\n#   - `$ docker run -it --entrypoint=/busybox/sh gcr.io/kaniko-project/executor:debug`\n#\n# Example usage:\n#\n# inputs.json\n#\n#   {\n#     \"manifests\": \"[{\\\"image_name\\\": \\\"dffml-base\\\", \\\"dockerfile\\\": \\\"Dockerfile\\\", \\\"branch\\\": \\\"alice\\\", \\\"commit\\\": \\\"9a0d2311bc9c8925e9387efc6f999c0434989015\\\"}]\",\n#   }\n#\n# Enable SSO on token\n#\n#   $ export GH_ACCESS_TOKEN=$(grep oauth_token < ~/.config/gh/hosts.yml | sed -e 's/    oauth_token: //g')\n#\n# Dispatch the workflow via curl\n#\n#   $ curl -v -X POST \\\n#       -H \"Accept: application/vnd.github.v3+json\" \\\n#       -H \"Authorization: token $GH_ACCESS_TOKEN\" \\\n#       https://api.github.com/repos/intel/dffml/actions/workflows/dispatch_build_images_containers.yml/dispatches \\\n#       -d \"$(echo '[{\"branch\": \"main\", \"commit\": \"1a4d03b5bb5ecbc343430b6e725250cee24ccd21\", \"image_name\": \"dffml-base\", \"dockerfile\": \"Dockerfile\"}]' | python -c 'import pathlib, json, sys; print(json.dumps({\"ref\": \"main\", \"inputs\": {\"manifests\": sys.stdin.read().strip()}}))')\"\n#\n# Get the run id of the last dispatched workflow\n#\n#   $ gh run list -w dispatch_build_images_containers.yml -L 1 | grep workflow_dispatch | awk '{print $(NF-2)}'\n#   3293874395\n#\n# Watch the workflow run\n#\n#   $ gh run watch --exit-status $(gh run list -w dispatch_build_images_containers.yml -L 1 | grep workflow_dispatch | awk '{print $(NF-2)}')\n#\n# In the event of a failure\n#\n#   $ gh run view --exit-status --log $(gh run list -w dispatch_build_images_containers.yml -L 1 | grep workflow_dispatch | awk '{print $(NF-2)}')\n#\nname: \"Build: Images: Containers (Reusable)\"\n\non:\n  workflow_call:\n    inputs:\n      manifests:\n        required: true\n        type: string\n        description: 'https://github.com/intel/dffml/tree/main/schema/dffml/image/container/build/0.0.1.schema.json'\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: Build container images\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 40\n      matrix: ${{ fromJSON(inputs.manifests) }}\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1\n        with:\n          egress-policy: audit\n\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          repository: '${{ github.repository }}'\n          ref: '${{ matrix.commit }}'\n          persist-credentials: false\n          fetch-depth: 1\n          lfs: true\n          submodules: true\n      - name: Install dependencies\n        run: |\n          set -x\n          curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -\n          sudo add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable\"\n          sudo apt-get update && sudo apt-get install -y docker-ce docker-ce-cli containerd.io\n      - name: Build image\n        env:\n          IMAGE_NAME: \"${{ matrix.image_name }}\"\n          DOCKERFILE: \"${{ matrix.dockerfile }}\"\n          BUILD_ARGS: \"${{ matrix.build_args }}\"\n        run: |\n          export BUILD_ARGS=$(jq -r <<<\"${BUILD_ARGS}\" | jq -r '.[] | (\"--build-arg \\\"\" + .[0] + \"=\" + .[1] + \"\\\"\")')\n          docker build --build-arg DFFML_RELEASE=main $BUILD_ARGS -t \"${IMAGE_NAME}\" -f \"${DOCKERFILE}\" .\n          # TODO Communicate built container hash for SLSA3 cosign send to transparency log\n", "state": "active", "repository": "intel/dffml"}
{"mined_at": "2024-07-15T13:43:27.171733", "created_at": "2024-01-03T18:21:30+01:00", "updated_at": "2024-01-03T18:23:33+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [\"main\"]\n  schedule:\n    - cron: \"0 0 * * 1\"\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    if: false\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"javascript\", \"python\"]\n        # CodeQL supports [ $supported-codeql-languages ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1\n        with:\n          egress-policy: audit\n\n      - name: Checkout repository\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      #   If the Autobuild fails above, remove it and uncomment the following three lines.\n      #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n      # - run: |\n      #   echo \"Run, Build Application using script\"\n      #   ./location_of_script_within_repo/buildscript.sh\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "intel/dffml"}
{"mined_at": "2024-07-15T13:43:28.283449", "created_at": "2024-01-03T18:21:30+01:00", "updated_at": "2024-01-03T18:23:33+01:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request,\n# surfacing known-vulnerable versions of the packages declared or updated in the PR.\n# Once installed, if the workflow run is marked as required,\n# PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1\n        with:\n          egress-policy: audit\n\n      - name: 'Checkout Repository'\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@0c155c5e8556a497adf53f2c18edabf945ed8e70 # v4.3.2\n", "state": "active", "repository": "intel/dffml"}
{"mined_at": "2024-07-15T13:43:29.523727", "created_at": "2022-10-12T22:03:58+02:00", "updated_at": "2022-10-12T22:03:58+02:00", "name": "DFFML: Build: Images: Containers", "path": ".github/workflows/dffml_build_images_containers.yml", "contents": "# References:\n# - https://docs.github.com/en/actions/learn-github-actions/contexts#github-context\n# - https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow\n# - https://github.com/intel/dffml/blob/main/.github/workflows/dispatch_build_images_containers.yml\nname: \"DFFML: Build: Images: Containers\"\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \".github/workflows/build_images_containers.yml\"\n      - \".github/workflows/dffml_build_images_containers.yml\"\n      - \"Dockerfile\"\n      - \"**/*Dockerfile\"\n      - \"**/*.manifest.json\"\n  push:\n    branches:\n      - main\n    paths:\n      - \".github/workflows/build_images_containers.yml\"\n      - \".github/workflows/dffml_build_images_containers.yml\"\n      - \"Dockerfile\"\n      - \"**/*Dockerfile\"\n      - \"**/*.manifest.json\"\n\npermissions:\n  contents: read\n\njobs:\n  manifest:\n    runs-on: ubuntu-latest\n    outputs:\n      length: ${{ steps.create-manifest-instance.outputs.length }}\n      manifest: ${{ steps.create-manifest-instance.outputs.github_actions_manifest }}\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1\n        with:\n          egress-policy: audit\n\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Build manifest from changed dockerfiles\n        uses: \"./.github/actions/create_manifest_instance_build_images_containers\"\n        id: create-manifest-instance\n        with:\n          prefix: '[\".\", \"scripts\", \"dffml/skel/operations\"]'\n          # TODO Drop non root dir once pinning rebuild chain is active\n          no_delta_prefix: '[\".\", \"scripts\", \"dffml/skel/operations\"]'\n\n  build:\n    needs: manifest\n    uses: \"./.github/workflows/build_images_containers.yml\"\n    if: ${{ fromJSON(needs.manifest.outputs.length) > 0 }}\n    with:\n      manifests: \"${{ needs.manifest.outputs.manifest }}\"\n", "state": "active", "repository": "intel/dffml"}
{"mined_at": "2024-07-15T13:43:30.680244", "created_at": "2022-10-11T16:44:19+02:00", "updated_at": "2023-01-11T22:38:01+01:00", "name": "Dispatch: Build: Images: Containers", "path": ".github/workflows/dispatch_build_images_containers.yml", "contents": "# References:\n# - https://docs.github.com/en/actions/learn-github-actions/contexts#github-context\n# - https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow\nname: \"Dispatch: Build: Images: Containers\"\n\npermissions:\n  contents: read\n\non:\n  workflow_dispatch:\n    inputs:\n      manifest:\n        required: true\n        type: string\n        description: \"https://github.com/intel/dffml/tree/main/schema/dffml/image/container/build/0.0.1.schema.json\"\n\njobs:\n  manifest:\n    runs-on: ubuntu-latest\n    outputs:\n      manifest: ${{ steps.create-manifest-instance.outputs.manifest }}\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1\n        with:\n          egress-policy: audit\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: 3.9\n      - name: Build manifest\n        id: create-manifest-instance\n        env:\n          MANIFEST: '${{ toJSON(github.event.inputs.manifest) }}'\n        shell: python -u {0}\n        run: |\n          import os\n          import json\n\n          try:\n              manifest = json.loads(os.environ[\"MANIFEST\"])\n          except json.decoder.JSONDecodeError:\n              manifest = json.loads(os.environ[\"MANIFEST\"].replace(r\"\\n\", \"\\n\"))\n          print(manifest)\n          print(\"::set-output name=manifest::\" + json.dumps({\"include\": manifest}))\n\n  build:\n    needs: manifest\n    uses: \"./.github/workflows/build_images_containers.yml\"\n    with:\n      manifests: '${{ needs.manifest.outputs.manifest }}'\n", "state": "active", "repository": "intel/dffml"}
{"mined_at": "2024-07-15T13:43:31.747628", "created_at": "2023-12-05T15:49:58+01:00", "updated_at": "2023-12-05T15:49:58+01:00", "name": "IssueOps: Alice: ShouldI: Contribute", "path": ".github/workflows/new_2nd_party_tcb_eval.yml", "contents": "# Upstream: https://github.com/actions/importer-issue-ops/blob/f5fc2781a33d92f232f415c62d021dcf6dae1e06/.github/workflows/issue_ops.yml#license=MIT\n# Overlays:\n# - Upstream: https://github.com/stefanbuck/github-issue-parser/blob/145e4dc5ee373ffe0129d3a3d9fc44dce64f7491/README.md#license=MIT\nname: 'IssueOps: Alice: ShouldI: Contribute'\non:\n  issues:\n    types: [created]\n\npermissions:\n  contents: read\n  issues: write\n\njobs:\n  issue-parser:\n    outputs:\n      repo_name: ${{ steps.issue-parser.outputs.issueparser_repo_name }}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Harden Runner\n      uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1\n      with:\n        egress-policy: audit\n\n    - uses: stefanbuck/github-issue-parser@51ca3d60963b9cea813101636b0c596945082867 # v3\n      id: issue-parser\n      with:\n        template-path: .github/ISSUE_TEMPLATE/new_plugin.yml\n    - name: Add comment\n      uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043\n      with:\n        issue-number: ${{ github.event.issue.number }}\n        body: \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n\n  contribute:\n    needs: issue-parser\n    uses: \"./.github/workflows/alice_shouldi_contribute.yml\"\n    with:\n      repo_url: \"${{ needs.issue-parser.outputs.repo_url }}\"\n    secrets:\n      GH_USER: \"aliceoa\"\n      GH_ACCESS_TOKEN: ${{ secrets.ALICE_SHOULDI_CONTRIBUTE_ISSUE_OPS }}\n", "state": "active", "repository": "intel/dffml"}
{"mined_at": "2024-07-15T13:43:32.751315", "created_at": "2023-05-05T00:15:44+02:00", "updated_at": "2023-05-05T00:16:00+02:00", "name": "Pin: Downstream: 2nd party", "path": ".github/workflows/pin_downstream.yml", "contents": "name: \"Pin: Downstream: 2nd party\"\n\n# TODO 3rd party will be based off ActivityPub\n# - References\n#   - RFCv5.1: IETF SCITT: Use Case: Attestations of alignment to S2C2F and org Overlays: https://github.com/ietf-scitt/use-cases/blob/a832905e3c428fd54b1c08d4851801383eac91a6/openssf_metrics.md#use-case-attestations-of-alignment-to-s2c2f-and-org-overlays\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - synchronize\n      - reopened\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  manifest:\n    runs-on: ubuntu-latest\n    # Disabled currently\n    if: false\n    outputs:\n      length: ${{ steps.create-manifest-instance.outputs.length }}\n      manifest: ${{ steps.create-manifest-instance.outputs.github_actions_manifest }}\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1\n        with:\n          egress-policy: audit\n\n      - name: Set up Python\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: \"3.11\"\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Build manifest from plugins.json from pull request\n        id: create-manifest-instance\n        env:\n          PLUGINS_JSON: \"dffml/plugins.json\"\n          SCHEMA: \"TODO-dffml-2ndparty-pin\"\n          JSON_INDENT: \"    \"\n        shell: python -u {0}\n        run: |\n          import os\n          import json\n          import pathlib\n\n          plugins = json.loads(pathlib.Path(os.environ[\"PLUGINS_JSON\"]).read_text())\n          manifest = plugins[\"plugins\"][\"parties\"][\"2nd\"]\n          \n          # SECURITY Allowlist of 2nd party orgs to pin\n          for downstream in manifest:\n              if not downstream[\"source_url\"].startswith(\"https://github.com/dffml/\"):\n                  raise ValueError(f\"source_url not in allowed org: {downstream!r}\")\n\n          github_actions_manifest = {\n              \"include\": manifest,\n          }\n          json_ld_manifest = {\n              \"@context\": {\n                  \"@vocab\": os.environ[\"SCHEMA\"],\n              },\n              **github_actions_manifest,\n          }\n          print(json.dumps(json_ld_manifest, sort_keys=True, indent=os.environ.get(\"JSON_INDENT\", None)))\n\n          if \"GITHUB_OUTPUT\" in os.environ:\n              with open(os.environ[\"GITHUB_OUTPUT\"], \"a\") as fileobj:\n                  fileobj.write(f'length={len(manifest)}\\n')\n                  fileobj.write(f\"manifest={json.dumps(manifest, sort_keys=True)}\\n\")\n                  fileobj.write(f'github_actions_manifest={json.dumps(github_actions_manifest, sort_keys=True)}\\n')\n                  fileobj.write(f'json_ld_manifest={json.dumps(json_ld_manifest, sort_keys=True)}\\n')\n\n  \n  pin_downstream_pep_440:\n    permissions:\n      contents: write  # for Git to git push\n    name: \"Pin downstream to latest commit\"\n    runs-on: ubuntu-latest\n    # Disabled currently\n    if: false\n    env:\n      PIN_PULL_REQUEST_EMAIL: 'alice.omega.alpha@outlook.com'\n      PIN_PULL_REQUEST_NAME: 'Alice Alchemy'\n      GH_ACCESS_TOKEN: ${{ secrets.PIN_DOWNSTREAM_2ND_PARTY_GH_ACCESS_TOKEN }}\n      PIN_TO_COMMIT: ${{ github.event.after || github.event.pull_request.head.sha }}\n      UPSTREAM_PACKAGE_NAME: 'dffml'\n      BUMP_DEP: \"dffml @ https://github.com/intel/dffml/archive/\"\n    needs:\n    - manifest\n    strategy:\n      fail-fast: false\n      max-parallel: 100\n      matrix: ${{ fromJSON(needs.manifest.outputs.manifest) }}\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1\n        with:\n          egress-policy: audit\n\n      - name: Checkout downstream\n        env:\n          # TODO Pull requests on pull requests, probably from renovate/dependabot\n          # https://github.com/intel/dffml/pull/1061#pullrequestreview-1281885921\n          TARGET_REPO_URL: ${{ matrix.source_url }}\n          TARGET_BRANCH: ${{ matrix.branch }}\n          TARGET_COMMIT: ${{ matrix.branch }}\n        run: |\n          set -x\n          git init\n          git remote add origin \"${TARGET_REPO_URL}\"\n          git fetch origin \"${TARGET_BRANCH}\" --depth 1\n          git fetch origin \"${TARGET_COMMIT}\" --depth 1\n          git reset --hard \"origin/${TARGET_COMMIT}\"\n      - name: Find repo local dependent files\n        id: repo-local-downstream\n        run: |\n          set -x\n          get_files() {\n            git grep \"${BUMP_DEP}\" | sed -e 's/:.*//g' | sort | uniq\n          }\n          echo files_length=$(get_files | wc -l) >> $GITHUB_OUTPUT\n      - name: Update pinning of upstream within downstream\n        if: ${{ fromJSON(steps.repo-local-downstream.outputs.files_length) > 0 }}\n        id: create-pull-request\n        env:\n          NEW_HASH: ${{ env.PIN_TO_COMMIT }}\n          COMMIT_MESSAGE: \"setup: Pin ${{ env.UPSTREAM_PACKAGE_NAME }} to ${{ env.PIN_TO_COMMIT }}\\n${{ github.event.pull_request.html_url }}\\n${{ github.server_url }}/${{ github.repository }}/commit/${{ env.PIN_TO_COMMIT }}\\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n          NEW_BRANCH_WITH_PIN: \"pin/pep_440/${{ github.repository }}/${{ env.PIN_TO_COMMIT }}\"\n          FILES: ${{ toJSON(steps.repo-local-downstream.outputs.files) }}\n          BASE: ${{ matrix.branch }}\n        run: |\n          set -x\n          get_files() {\n            git grep \"${BUMP_DEP}\" | sed -e 's/:.*//g' | sort | uniq\n          }\n          # https://github.com/dffml/dffml-model-transformers/blob/898af4a51d9b5d70d58ce80ba2c508f3afa82400/setup.cfg#L6\n          sed -i -r -e \"s#${BUMP_DEP}[A-Fa-f0-9]{40}#${BUMP_DEP}${NEW_HASH}#g\" $(get_files)\n          git checkout -b \"${NEW_BRANCH_WITH_PIN}\"\n          git config user.email \"${PIN_PULL_REQUEST_EMAIL}\"\n          git config user.name \"${PIN_PULL_REQUEST_NAME}\"\n          git commit -sam \"${COMMIT_MESSAGE}\"\n          git log -n 1 -p\n\n          mkdir -p ~/.config/gh/\n          echo \"github.com:\" > ~/.config/gh/hosts.yml\n          echo \"    oauth_token: ${GH_ACCESS_TOKEN}\" >> ~/.config/gh/hosts.yml\n          echo \"    user: token\" >> ~/.config/gh/hosts.yml\n          echo \"    git_protocol: https\" >> ~/.config/gh/hosts.yml\n          gh auth setup-git\n\n          git push -u origin -f \"${NEW_BRANCH_WITH_PIN}\"\n          gh pr create --base \"${BASE}\" --head \"${NEW_BRANCH_WITH_PIN}\" --title \"${COMMIT_MESSAGE}\" --body \"\" | tee pull-request-url\n          PULL_REQUEST_URL=\"$(cat pull-request-url)\"\n          if [[ \"x${PULL_REQUEST_URL}\" == \"x\" ]]; then\n            echo \"No pull request URL\" 1>&2\n            exit 1\n          fi\n          echo \"url=${PULL_REQUEST_URL}\" | tee -a $GITHUB_OUTPUT\n", "state": "active", "repository": "intel/dffml"}
{"mined_at": "2024-07-15T13:43:33.751785", "created_at": "2024-01-03T18:15:14+01:00", "updated_at": "2024-01-03T18:15:14+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "name: Scorecard supply-chain security\non:\n  branch_protection_rule:\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      security-events: write\n      id-token: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1\n        with:\n          egress-policy: audit\n\n      - name: \"Checkout code\"\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          persist-credentials: false\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          publish_results: true\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n      - name: Upload SARIF file\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          # Path to SARIF file relative to the root of the repository\n          sarif_file: results.sarif\n          # Optional category for the results\n          # Used to differentiate multiple results for one commit\n          category: ossf-scorecard\n", "state": "active", "repository": "intel/dffml"}
{"mined_at": "2024-07-15T13:43:34.720147", "created_at": "2024-01-02T18:06:19+01:00", "updated_at": "2024-01-02T18:06:19+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "intel/dffml"}
{"mined_at": "2024-07-15T13:43:36.827948", "created_at": "2023-08-27T17:17:55+02:00", "updated_at": "2023-08-27T18:22:18+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "---\nname: CI\n\non:\n  - push\n  - pull_request\n\nenv:\n  DEFAULT_PYTHON: '3.12'\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install tox tox-gh-actions\n\n      - name: Test with tox\n        run: tox\n        if: ${{ matrix.python-version != env.DEFAULT_PYTHON }}\n\n      - name: Test with tox (and upload coverage)\n        uses: paambaati/codeclimate-action@v8.0.0\n        if: ${{ matrix.python-version == env.DEFAULT_PYTHON }}\n        env:\n          CC_TEST_REPORTER_ID: 2a411f596959fc32f5d73f3ba7cef8cc4d5733299d742dbfc97fd6c190b9010c\n        with:\n          coverageCommand: tox\n          coverageLocations: |\n            ${{ github.workspace }}/.tox/reports/*/coverage.xml:coverage.py\n          prefix: ${{ github.workspace }}/.tox/py39/lib/python3.9/site-packages\n\n      - uses: codecov/codecov-action@v4\n        with:\n          directory: '.tox/reports'\n", "state": "active", "repository": "webcomics/dosage"}
{"mined_at": "2024-07-15T13:43:37.919943", "created_at": "2022-04-17T19:22:26+02:00", "updated_at": "2022-04-17T19:22:26+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "---\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '44 6 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "webcomics/dosage"}
{"mined_at": "2024-07-15T13:43:38.920051", "created_at": "2021-04-30T23:41:14+02:00", "updated_at": "2021-05-01T14:12:20+02:00", "name": "GitHub Pages", "path": ".github/workflows/pages.yml", "contents": "---\nname: GitHub Pages\n\non:\n  push:\n    branches:\n      - master\n  workflow_dispatch:\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 10\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: Build\n        run: |\n          sudo apt-get --yes install --no-install-recommends libimage-exiftool-perl\n          pip install wheel\n          pip install git+https://github.com/spanezz/staticsite.git@v2.3\n          ssite build --output public\n          cd public\n          rm -rf Jenkinsfile dosagelib scripts tests\n\n      - name: Setup Pages\n        id: pages\n        uses: actions/configure-pages@v5\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: public\n\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "webcomics/dosage"}
{"mined_at": "2024-07-15T13:43:39.960960", "created_at": "2023-08-27T18:22:18+02:00", "updated_at": "2023-08-27T18:22:18+02:00", "name": "Publish test version to TestPyPI", "path": ".github/workflows/test-publish.yaml", "contents": "---\nname: Publish test version to TestPyPI\n\non:\n  workflow_dispatch:\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    environment: testpypi\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '${{ env.DEFAULT_PYTHON }}'\n\n      - name: Build\n        run: |\n          # Cheat\n          sed -i '/\\[tool.setuptools_scm\\]/ s/$/\\nlocal_scheme = \"no-local-version\"/' pyproject.toml\n          pip install build\n          python3 -m build\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "webcomics/dosage"}
{"mined_at": "2024-07-15T13:43:40.967109", "created_at": "2024-07-15T09:33:56+02:00", "updated_at": "2024-07-15T09:33:56+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "webcomics/dosage"}
{"mined_at": "2024-07-15T13:43:42.221071", "created_at": "2022-02-14T20:39:26+01:00", "updated_at": "2022-02-14T20:39:26+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "webcomics/dosage"}
{"mined_at": "2024-07-15T13:43:45.292544", "created_at": "2022-09-21T16:17:12+02:00", "updated_at": "2022-09-21T16:17:12+02:00", "name": "Formatting and Snippets", "path": ".github/workflows/formatting_and_snippets.yml", "contents": "name: Formatting and Snippets\non:\n  push:\njobs:\n  format_and_snippets:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Run black\n      run: |\n        pip install black\n        python -m black .\n    - name: Run MarkdownSnippets\n      run: |\n        dotnet tool install --global MarkdownSnippets.Tool\n        mdsnippets ${GITHUB_WORKSPACE}\n      shell: bash\n    - name: Git Commit and Push\n      uses: github-actions-x/commit@v2.9\n      with:\n        github-token: \"${secrets.GITHUB_TOKEN}\"\n        commit-message: \". d updated markdown snippets\"\n        rebase: 'true'\n        push-branch: 'main'\n        name: github actions\n        email: actions@github.com \n\n", "state": "active", "repository": "approvals/approvaltests.python"}
{"mined_at": "2024-07-15T13:43:46.398546", "created_at": "2020-11-15T18:54:50+01:00", "updated_at": "2022-07-24T19:09:56+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [ created ]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Determine version from git tag\n        id: version\n        run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}\n      - name: set version\n        run: |\n          rm ./version.py\n          echo version_number = \\\"${{ steps.version.outputs.tag }}\\\" > ./version.py\n          cp ./version.py ./approvaltests/version.py\n      - name: Push changes\n        run: |\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git commit -m \"${{ steps.version.outputs.tag }}\" -a  || echo \"nothing to commit\"\n          git checkout -b temp\n          git fetch\n          git checkout main\n          git merge temp\n          remote=\"https://${GITHUB_ACTOR}:${{secrets.GITHUB_TOKEN}}@github.com/${GITHUB_REPOSITORY}.git\"\n          branch=\"main\"\n          git push \"${remote}\" ${branch} || echo \"nothing to push\"\n        shell: bash\n      - name: Build and publish approval_utilities\n        env:\n            TWINE_USERNAME: __token__\n            TWINE_PASSWORD: ${{ secrets.PYPI_APPROVAL_UTILITIES }}\n        run: |\n          ./publish_approval_utilities.sh\n      - name: Build and publish approvaltests\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python setup.publish.py sdist bdist_wheel\n          twine upload --repository-url https://upload.pypi.org/legacy/ dist/*\n          rm -r dist\n      - name: Build and publish minimal\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_APPROVALTESTS_MINIMAL }}\n        run: |\n          python setup.minimal.py sdist bdist_wheel\n          twine upload --repository-url https://upload.pypi.org/legacy/ dist/*\n          rm -r dist\n          \n", "state": "active", "repository": "approvals/approvaltests.python"}
{"mined_at": "2024-07-15T13:43:47.546786", "created_at": "2020-11-07T18:01:54+01:00", "updated_at": "2023-12-07T00:36:44+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\"]\n        os: [macos-latest, ubuntu-latest, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test\n        run: |\n          ./run_tests.sh\n", "state": "active", "repository": "approvals/approvaltests.python"}
{"mined_at": "2024-07-15T13:43:48.578243", "created_at": "2022-02-06T19:11:10+01:00", "updated_at": "2022-02-06T19:11:10+01:00", "name": "Test Current Release", "path": ".github/workflows/test_current_release.yml", "contents": "name: Test Current Release\n\non: \n  workflow_dispatch:\n  schedule:\n    - cron: '45 16 * * 0'  # <https://crontab.guru/#45_16_*_*_0> - \"At 16:45 UTC on Sunday\"  \n    - cron: '30 18 * * 0'\n    - cron: '30 19 * * 0' \n\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [\"3.11\", \"3.12\"]\n        os: [macos-latest, ubuntu-latest, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: approvals/ApprovalTests.Python.StarterProject\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Run Tests\n        run: |\n          ./run_tests.sh\n", "state": "active", "repository": "approvals/approvaltests.python"}
{"mined_at": "2024-07-15T13:43:49.695914", "created_at": "2022-05-22T19:41:22+02:00", "updated_at": "2022-05-22T19:46:09+02:00", "name": "Test Min Versions", "path": ".github/workflows/test_min.yml", "contents": "name: Test Min Versions\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\"]\n        os: [macos-latest, ubuntu-latest, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test\n        run: |\n          python ./generate_prod_min.py\n          ./run_tests.sh", "state": "active", "repository": "approvals/approvaltests.python"}
{"mined_at": "2024-07-15T13:43:51.696856", "created_at": "2023-11-28T21:19:01+01:00", "updated_at": "2023-11-28T21:19:01+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "ibm/ibm-spectrum-scale-csi"}
{"mined_at": "2024-07-15T13:43:53.689776", "created_at": "2021-06-12T19:24:22+02:00", "updated_at": "2022-04-25T23:11:07+02:00", "name": "Linux", "path": ".github/workflows/pytest-linux.yaml", "contents": "name: Linux\n\non:\n  push:\n    tags:\n      - \"*\"\n  workflow_dispatch:\n      \njobs:\n  test-on-linux:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n    name: Test BusyLight For Humans ${{ matrix.python-version }} on Linux\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install libusb\n        run: |\n            sudo apt-get update\n            sudo apt-get install -y libusb-1.0-0-dev libudev-dev\n      - name: Install pip/poetry/pytest\n        run: |\n            python -m pip install --upgrade pip\n            pip install poetry pytest\n      - name: Install Busylight-For-Humans with WebAPI\n        run: |\n            poetry install -E webapi\n      - name: Test with pytest\n        run: |\n            poetry run pytest          \n            \n", "state": "active", "repository": "jnyjny/busylight"}
{"mined_at": "2024-07-15T13:43:54.714023", "created_at": "2021-06-12T19:24:22+02:00", "updated_at": "2022-04-25T23:11:07+02:00", "name": "Windows", "path": ".github/workflows/pytest-windows.yaml", "contents": "name: Windows\n\non:\n  push:\n    tags:\n      - \"*\"\n  workflow_dispatch:\n      \njobs:\n  test-on-windows:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n    name: Test BusyLight for Humans ${{ matrix.python-version }} on Windows\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install poetry/pytest\n        run: |\n          python -m pip install -U poetry pytest\n      - name: Install BusyLight-For-Humans with WebAPI\n        run: |\n          poetry install -E webapi\n      - name: Test with pytest\n        run: |\n          poetry run pytest\n          \n          \n            \n", "state": "active", "repository": "jnyjny/busylight"}
{"mined_at": "2024-07-15T13:43:55.694301", "created_at": "2022-04-25T23:40:51+02:00", "updated_at": "2022-04-25T23:42:55+02:00", "name": "MacOS", "path": ".github/workflows/pytest-macos.yaml", "contents": "name: MacOS\n\non:\n  push:\n    tags:\n      - \"*\"\n  workflow_dispatch:\n      \njobs:\n  test-on-macos:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n    name: Test BusyLight For Humans ${{ matrix.python-version }} on MacOS\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install pip/poetry/pytest\n        run: |\n            python -m pip install --upgrade pip\n            pip install poetry pytest\n      - name: Install Busylight-For-Humans with WebAPI\n        run: |\n            poetry install -E webapi\n      - name: Test with pytest\n        run: |\n            poetry run pytest\n", "state": "active", "repository": "jnyjny/busylight"}
{"mined_at": "2024-07-15T13:43:57.723014", "created_at": "2021-10-14T09:28:38+02:00", "updated_at": "2021-10-15T06:37:43+02:00", "name": "Build exe", "path": ".github/workflows/build-exe.yml", "contents": "name: Build exe\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n    paths-ignore:\n      - \"Cargo.*\"\n      - \"src/libs/**\"\n      - \"src/tauri/**\"\n\njobs:\n  build:\n    runs-on: windows-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          # Python 3.8 is the latest version supporting Windows 7\n          python-version: 3.8\n      - name: Set up Rust\n        uses: dtolnay/rust-toolchain@stable\n      - name: Install dependencies\n        run: |\n          # Install pyinstaller in addition to usual deps\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt -r requirements-dev.txt -r requirements-win.txt\n      - name: Install package\n        run: |\n          python setup.py develop\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 src/ --count --select=E9,F63,F7,F82 --show-source --statistics\n      - name: Test with pytest\n        run: |\n          pytest -v src/\n      - name: Check pylint\n        run: |\n          pylint --disable=R,C src/modlunky2\n      - name: Build exe\n        run: |\n          python build-exe.py\n      - name: \"Upload Artifact\"\n        uses: actions/upload-artifact@v3\n        with:\n          name: modlunky2.exe\n          path: target/release/modlunky2.exe\n          retention-days: 5\n", "state": "active", "repository": "spelunky-fyi/modlunky2"}
{"mined_at": "2024-07-15T13:43:58.754204", "created_at": "2022-07-30T20:07:06+02:00", "updated_at": "2022-07-30T21:26:22+02:00", "name": "Rust testing", "path": ".github/workflows/rust-test.yml", "contents": "name: Rust testing\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n    paths-ignore:\n      - \"src/modlunky2/**\"\n      - \"src/tests/**\"\n      - \"requirements*.txt\"\n\njobs:\n  build:\n    name: \"Rust ${{matrix.rust}}\"\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # Test stable and MSRV\n        rust: [stable, \"1.70\"]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Rust\n        uses: dtolnay/rust-toolchain@master\n        with:\n          toolchain: ${{matrix.rust}}\n          components: clippy rustfmt\n      - name: cargo fmt\n        run: cargo fmt --all --check\n      - name: cargo check\n        run: cargo check --workspace --all-targets --exclude launcher --locked\n      - name: cargo clippy\n        run: cargo clippy --workspace --all-targets --exclude launcher --locked -- -D warnings\n      - name: cargo test\n        run: cargo test --workspace --all-targets --exclude launcher --locked\n  # cargo deny only works on Linux due to using a container\n  deny:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: cargo deny check\n        uses: EmbarkStudios/cargo-deny-action@v1\n", "state": "active", "repository": "spelunky-fyi/modlunky2"}
{"mined_at": "2024-07-15T13:43:59.783282", "created_at": "2021-05-12T02:25:43+02:00", "updated_at": "2021-05-12T02:37:03+02:00", "name": "Python Testing", "path": ".github/workflows/test.yml", "contents": "name: Python Testing\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n    paths-ignore:\n      - \"Cargo.*\"\n      - \"src/libs/**\"\n      - \"src/tauri/**\"\n\njobs:\n  build:\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", 3.11]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt -r requirements-dev.txt -r requirements-win.txt\n      - name: Install package\n        run: |\n          python setup.py develop\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 src/ --count --select=E9,F63,F7,F82 --show-source --statistics\n      - name: Test with pytest\n        run: |\n          pytest -v src/\n      - name: Check formatting\n        run: |\n          black --check src/\n      - name: Check pylint\n        run: |\n          pylint --disable=R,C src/modlunky2\n", "state": "active", "repository": "spelunky-fyi/modlunky2"}
{"mined_at": "2024-07-15T13:44:00.878798", "created_at": "2022-01-20T06:53:52+01:00", "updated_at": "2022-08-06T21:28:33+02:00", "name": "UI Tests", "path": ".github/workflows/ui-test.yml", "contents": "name: UI Tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n    paths-ignore:\n      - \"src/modlunky2/**\"\n      - \"src/tests/**\"\n      - \"requirements*.txt\"\n\njobs:\n  build:\n    runs-on: windows-latest\n\n    defaults:\n      run:\n        working-directory: ./src/tauri\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup Node\n        uses: actions/setup-node@v3\n        with:\n          node-version: 18\n\n      - name: Install Rust stable\n        uses: dtolnay/rust-toolchain@stable\n        with:\n          toolchain: stable\n\n      - name: Setup Rust caching\n        uses: Swatinem/rust-cache@v2\n\n      - run: npm install\n\n      - run: npm run check\n\n      - run: npm run build\n\n      - name: Build Tauri\n        uses: tauri-apps/tauri-action@v0\n", "state": "active", "repository": "spelunky-fyi/modlunky2"}
{"mined_at": "2024-07-15T13:44:03.317216", "created_at": "2021-02-07T03:17:31+01:00", "updated_at": "2021-02-07T03:17:31+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [ master ]\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+*'\n  pull_request:\n    branches: [ master ]\n\njobs:\n  test:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: FNNDSC/cube-integration-action@master\n        with:\n          repository: ${{ github.workspace }}\n          which: all\n\n\n  build:\n    needs: [ test ]\n    if: github.event_name == 'push' || github.event_name == 'release'\n    runs-on: ubuntu-22.04\n    env:\n      repo_name: fnndsc/cube\n    steps:\n      - name: Get git tag\n        id: git_info\n        if: startsWith(github.ref, 'refs/tags/')\n        run: echo \"tag=${GITHUB_REF##*/}\" >> $GITHUB_OUTPUT\n      - name: Determine image tags\n        id: determine\n        env:\n          git_tag: ${{ steps.git_info.outputs.tag }}\n        run: |\n          repo=${{ env.repo_name }}\n          tag=\"${git_tag:-latest}\"  # if build triggered by tag, use tag name\n\n          # if tag is a version number prefixed by 'v', remove the 'v'\n          if [[ \"$tag\" =~ ^v[0-9].* ]]; then\n            tag=\"${tag:1}\"\n          fi\n\n          dock_image=$repo:$tag\n          echo $dock_image\n          echo \"dock_image=$dock_image\" >> $GITHUB_OUTPUT\n      - uses: actions/checkout@v4\n      - uses: docker/setup-qemu-action@v2\n      - uses: docker/setup-buildx-action@v2\n        id: buildx\n      - name: Cache Docker layers\n        uses: actions/cache@v3\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n          \n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n          \n      - name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          push: true\n          context: .\n          file: ./Dockerfile\n          tags: |\n            docker.io/${{ steps.determine.outputs.dock_image }}\n            ghcr.io/${{ steps.determine.outputs.dock_image }}\n          platforms: linux/amd64,linux/ppc64le,linux/arm64\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n\n      - name: Update Docker Hub description\n        uses: peter-evans/dockerhub-description@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n          short-description: ChRIS backend\n          readme-filepath: ./README.md\n          repository: ${{ env.repo_name }}\n", "state": "active", "repository": "fnndsc/chris_ultron_backend"}
{"mined_at": "2024-07-15T13:44:06.809843", "created_at": "2020-11-14T01:28:20+01:00", "updated_at": "2024-04-07T20:04:23+02:00", "name": "Lock inactive closed issues", "path": ".github/workflows/lock.yaml", "contents": "name: Lock inactive closed issues\n# Lock closed issues that have not received any further activity for two weeks.\n# This does not close open issues, only humans may do that. It is easier to\n# respond to new issues with fresh examples rather than continuing discussions\n# on old issues.\n\non:\n  schedule:\n    - cron: '0 0 * * *'\npermissions:\n  issues: write\n  pull-requests: write\nconcurrency:\n  group: lock\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1\n        with:\n          issue-inactive-days: 14\n          pr-inactive-days: 14\n          discussion-inactive-days: 14\n", "state": "active", "repository": "pallets/flask"}
{"mined_at": "2024-07-15T13:44:08.915373", "created_at": "2023-01-20T22:50:40+01:00", "updated_at": "2023-01-20T22:50:40+01:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "name: Publish\non:\n  push:\n    tags:\n      - '*'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    outputs:\n      hash: ${{ steps.hash.outputs.hash }}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - run: pip install -r requirements/build.txt\n      # Use the commit date instead of the current date during the build.\n      - run: echo \"SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)\" >> $GITHUB_ENV\n      - run: python -m build\n      # Generate hashes used for provenance.\n      - name: generate hash\n        id: hash\n        run: cd dist && echo \"hash=$(sha256sum * | base64 -w0)\" >> $GITHUB_OUTPUT\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          path: ./dist\n  provenance:\n    needs: [build]\n    permissions:\n      actions: read\n      id-token: write\n      contents: write\n    # Can't pin with hash due to how this workflow works.\n    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0\n    with:\n      base64-subjects: ${{ needs.build.outputs.hash }}\n  create-release:\n    # Upload the sdist, wheels, and provenance to a GitHub release. They remain\n    # available as build artifacts for a while as well.\n    needs: [provenance]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      - name: create release\n        run: >\n          gh release create --draft --repo ${{ github.repository }}\n          ${{ github.ref_name }}\n          *.intoto.jsonl/* artifact/*\n        env:\n          GH_TOKEN: ${{ github.token }}\n  publish-pypi:\n    needs: [provenance]\n    # Wait for approval before attempting to upload to PyPI. This allows reviewing the\n    # files in the draft release.\n    environment:\n      name: publish\n      url: https://pypi.org/project/Flask/${{ github.ref_name }}\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          packages-dir: artifact/\n      - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          packages-dir: artifact/\n", "state": "active", "repository": "pallets/flask"}
{"mined_at": "2024-07-15T13:44:10.967413", "created_at": "2020-05-23T23:07:19+02:00", "updated_at": "2021-04-27T16:32:32+02:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\non:\n  push:\n    branches:\n      - main\n      - '*.x'\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\njobs:\n  tests:\n    name: ${{ matrix.name || matrix.python }}\n    runs-on: ${{ matrix.os || 'ubuntu-latest' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {python: '3.13'}\n          - {python: '3.12'}\n          - {name: Windows, python: '3.12', os: windows-latest}\n          - {name: Mac, python: '3.12', os: macos-latest}\n          - {python: '3.11'}\n          - {python: '3.10'}\n          - {python: '3.9'}\n          - {python: '3.8'}\n          - {name: PyPy, python: 'pypy-3.10', tox: pypy310}\n          - {name: Minimum Versions, python: '3.12', tox: py-min}\n          - {name: Development Versions, python: '3.8', tox: py-dev}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - run: pip install tox\n      - run: tox run -e ${{ matrix.tox || format('py{0}', matrix.python) }}\n  typing:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - name: cache mypy\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: ./.mypy_cache\n          key: mypy|${{ hashFiles('pyproject.toml') }}\n      - run: pip install tox\n      - run: tox run -e typing\n", "state": "active", "repository": "pallets/flask"}
{"mined_at": "2024-07-15T13:44:13.162063", "created_at": "2023-10-11T18:29:34+02:00", "updated_at": "2023-10-11T18:29:34+02:00", "name": "Autoclose Issues", "path": ".github/workflows/close-issues.yml", "contents": "name: 'Autoclose Issues'\n\non:\n  issues:\n    types:\n      - labeled\n\npermissions:\n  issues: write\n\njobs:\n  close_qa:\n    if: github.event.label.name == 'actions/autoclose-qa'\n    runs-on: ubuntu-latest\n    steps:\n      - env:\n          ISSUE_URL: ${{ github.event.issue.html_url }}\n          GH_TOKEN: ${{ github.token }}\n        run: |\n          gh issue close $ISSUE_URL \\\n            --comment \"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow](https://stackoverflow.com/)\" \\\n            --reason completed\n          gh issue lock $ISSUE_URL --reason off_topic\n  close_feature_request:\n    if: github.event.label.name == 'actions/autoclose-feat'\n    runs-on: ubuntu-latest\n    steps:\n      - env:\n          ISSUE_URL: ${{ github.event.issue.html_url }}\n          GH_TOKEN: ${{ github.token }}\n        run: |\n          gh issue close $ISSUE_URL \\\n            --comment \"As described in the template, Requests is not accepting feature requests\" \\\n            --reason \"not planned\"\n          gh issue lock $ISSUE_URL --reason off_topic\n", "state": "active", "repository": "psf/requests"}
{"mined_at": "2024-07-15T13:44:14.240506", "created_at": "2020-10-02T21:06:27+02:00", "updated_at": "2021-08-26T07:34:55+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [main]\n  schedule:\n    - cron: '0 23 * * 0'\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    permissions:\n      actions: read  # for github/codeql-action/init to get workflow details\n      contents: read  # for actions/checkout to fetch code\n      security-events: write  # for github/codeql-action/autobuild to send a status report\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@df5a14dc28094dc936e103b37d749c6628682b60 # v3.25.0\n      with:\n        languages: \"python\"\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@df5a14dc28094dc936e103b37d749c6628682b60 # v3.25.0\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@df5a14dc28094dc936e103b37d749c6628682b60 # v3.25.0\n", "state": "active", "repository": "psf/requests"}
{"mined_at": "2024-07-15T13:44:15.249460", "created_at": "2023-04-04T22:06:36+02:00", "updated_at": "2023-11-22T23:07:26+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": null, "state": "active", "repository": "psf/requests"}
{"mined_at": "2024-07-15T13:44:16.290857", "created_at": "2022-06-08T06:19:33+02:00", "updated_at": "2022-06-08T21:11:15+02:00", "name": "Lint code", "path": ".github/workflows/lint.yml", "contents": "name: Lint code\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-20.04\n    timeout-minutes: 10\n\n    steps:\n    - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0\n    - name: Set up Python\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: \"3.x\"\n    - name: Run pre-commit\n      uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0\n", "state": "active", "repository": "psf/requests"}
{"mined_at": "2024-07-15T13:44:17.360193", "created_at": "2021-08-25T20:21:41+02:00", "updated_at": "2021-08-25T20:21:41+02:00", "name": "Lock Threads", "path": ".github/workflows/lock-issues.yml", "contents": "name: 'Lock Threads'\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  action:\n    if: github.repository_owner == 'psf'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@d42e5f49803f3c4e14ffee0378e31481265dda22 # v5.0.0\n        with:\n            issue-lock-inactive-days: 90\n            pr-lock-inactive-days: 90\n", "state": "active", "repository": "psf/requests"}
{"mined_at": "2024-07-15T13:44:18.408953", "created_at": "2020-11-10T23:27:31+01:00", "updated_at": "2020-11-10T23:27:31+01:00", "name": "Tests", "path": ".github/workflows/run-tests.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 10\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"pypy-3.9\", \"pypy-3.10\"]\n        os: [ubuntu-22.04, macOS-latest, windows-latest]\n        # Python 3.8 and 3.9 do not run on macOS-latest which\n        # is now using arm64 hardware.\n        # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n        exclude:\n        - { python-version: \"3.8\", os: \"macos-latest\" }\n        - { python-version: \"3.9\", os: \"macos-latest\" }\n        include:\n        - { python-version: \"3.8\", os: \"macos-13\" }\n        - { python-version: \"3.9\", os: \"macos-13\" }\n\n    steps:\n    - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        make\n    - name: Run tests\n      run: |\n        make ci\n\n  no_chardet:\n    name: \"No Character Detection\"\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n\n    steps:\n      - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608\n      - name: 'Set up Python 3.8'\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: '3.8'\n      - name: Install dependencies\n        run: |\n          make\n          python -m pip uninstall -y \"charset_normalizer\" \"chardet\"\n      - name: Run tests\n        run: |\n          make ci\n", "state": "active", "repository": "psf/requests"}
{"mined_at": "2024-07-15T13:44:20.543492", "created_at": "2021-04-10T13:46:43+02:00", "updated_at": "2021-04-10T13:50:32+02:00", "name": "Build docs", "path": ".github/workflows/docs.yml", "contents": "name: Build docs\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.x\n    - name: Install Graphviz\n      run: |\n        sudo apt-get update\n        sudo apt-get install graphviz\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools coverage rstvalidator\n        pip install -r docs/requirements.txt\n    - name: Build docs\n      run: |\n        python -m rstvalidator long_description.rst\n        python tools/fixup_whats_new_pr.py\n        make -C docs/ html SPHINXOPTS=\"-W\" \\\n          PYTHON=\"coverage run -a\" \\\n          SPHINXBUILD=\"coverage run -a -m sphinx.cmd.build\"\n    - name: Generate coverage xml\n      run: |\n        coverage combine `find . -name .coverage\\*` && coverage xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v2\n      with:\n        name: Docs\n", "state": "active", "repository": "ipython/ipython"}
{"mined_at": "2024-07-15T13:44:21.545042", "created_at": "2021-11-09T20:11:51+01:00", "updated_at": "2021-11-13T01:37:08+01:00", "name": "Run Downstream tests", "path": ".github/workflows/downstream.yml", "contents": "name: Run Downstream tests\n\non:\n  push:\n  pull_request:\n  # Run weekly on Monday at 1:23 UTC\n  schedule:\n  - cron:  '23 1 * * 1'\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    # Disable scheduled CI runs on forks\n    if: github.event_name != 'schedule' || github.repository_owner == 'ipython'\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n        include:\n          - os: macos-13\n            python-version: \"3.10\"\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Update Python installer\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n    - name: Install ipykernel\n      run: |\n        cd ..\n        git clone https://github.com/ipython/ipykernel\n        cd ipykernel\n        pip install -e .[test]\n        cd ..\n    - name: Install and update Python dependencies\n      run: |\n        python -m pip install --upgrade -e file://$PWD#egg=ipython[test]\n        # we must install IPython after ipykernel to get the right versions.\n        python -m pip install --upgrade --upgrade-strategy eager flaky ipyparallel\n    - name: pytest ipykernel\n      env:\n        COLUMNS: 120\n      run: |\n        cd ../ipykernel\n        pytest\n    - name: Install sagemath-repl\n      run: |\n        cd ..\n        git clone --depth 1 https://github.com/sagemath/sage\n        cd sage\n        # We cloned it for the tests, but for simplicity we install the\n        # wheels from PyPI.\n        # (Avoid 10.3b6 because of https://github.com/sagemath/sage/pull/37178)\n        pip install --pre sagemath-repl sagemath-environment\n        # Install optionals that make more tests pass\n        pip install pillow\n        pip install --pre sagemath-categories\n        cd ..\n    - name: Test sagemath-repl\n      run: |\n        cd ../sage/\n        # From https://github.com/sagemath/sage/blob/develop/pkgs/sagemath-repl/tox.ini\n        sage-runtests -p --environment=sage.all__sagemath_repl --baseline-stats-path=pkgs/sagemath-repl/known-test-failures.json --initial --optional=sage src/sage/repl src/sage/doctest src/sage/misc/sage_input.py src/sage/misc/sage_eval.py\n", "state": "active", "repository": "ipython/ipython"}
{"mined_at": "2024-07-15T13:44:22.670540", "created_at": "2020-10-23T06:03:22+02:00", "updated_at": "2020-10-23T06:04:33+02:00", "name": "Run MyPy", "path": ".github/workflows/mypy.yml", "contents": "name: Run MyPy\n\non:\n  push:\n    branches: [ main, 7.x]\n  pull_request:\n    branches: [ main, 7.x]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.x\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install mypy pyflakes flake8 types-decorator\n    - name: Lint with mypy\n      run: |\n        set -e\n        mypy IPython\n    - name: Lint with pyflakes\n      run: |\n        set -e\n        flake8  IPython/core/magics/script.py\n        flake8  IPython/core/magics/packaging.py\n", "state": "active", "repository": "ipython/ipython"}
{"mined_at": "2024-07-15T13:44:23.802287", "created_at": "2023-05-22T20:16:06+02:00", "updated_at": "2023-05-22T20:30:14+02:00", "name": "Nightly Wheel builder", "path": ".github/workflows/nightly-wheel-build.yml", "contents": "name: Nightly Wheel builder\non:\n  workflow_dispatch:\n  schedule:\n    # this cron is ran every Sunday at midnight UTC\n    - cron: '0 0 * * 0'\n\njobs:\n  upload_anaconda:\n    name: Upload to Anaconda\n    runs-on: ubuntu-latest\n    # The artifacts cannot be uploaded on PRs, also disable scheduled CI runs on forks\n    if: github.event_name != 'pull_request' && (github.event_name != 'schedule' || github.repository_owner == 'ipython')\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: pip\n          cache-dependency-path: |\n            pyproject.toml\n      - name: Try building with Python build\n        if: runner.os != 'Windows'  # setup.py does not support sdist on Windows\n        run: |\n          python -m pip install build\n          python -m build\n\n      - name: Upload wheel\n        uses: scientific-python/upload-nightly-action@main\n        with:\n          artifacts_path: dist\n          anaconda_nightly_upload_token: ${{secrets.UPLOAD_TOKEN}}\n", "state": "active", "repository": "ipython/ipython"}
{"mined_at": "2024-07-15T13:44:24.972348", "created_at": "2020-10-19T17:28:31+02:00", "updated_at": "2020-10-19T17:28:31+02:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\npermissions:\n  contents: read\n\non:\n  push:\n    branches: [ main, 7.x ]\n  pull_request:\n    branches: [ main, 7.x ]\n\njobs:\n  formatting:\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.x\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        # when changing the versions please update CONTRIBUTING.md too\n        pip install --only-binary ':all:' darker==1.5.1 black==22.10.0\n    - name: Lint with darker\n      run: |\n        darker -r 60625f241f298b5039cb2debc365db38aa7bb522 --check --diff . || (\n        echo \"Changes need auto-formatting. Run:\"\n        echo \"    darker -r 60625f241f298b5039cb2debc365db38aa7bb522 .\"\n        echo \"then commit and push changes to fix.\"\n        exit 1\n        )\n", "state": "active", "repository": "ipython/ipython"}
{"mined_at": "2024-07-15T13:44:26.023289", "created_at": "2021-04-10T13:22:59+02:00", "updated_at": "2021-04-10T17:13:08+02:00", "name": "Run tests", "path": ".github/workflows/test.yml", "contents": "name: Run tests\n\non:\n  push:\n    branches:\n      - main\n      - '*.x'\n  pull_request:\n  # Run weekly on Monday at 1:23 UTC\n  schedule:\n  - cron:  '23 1 * * 1'\n  workflow_dispatch:\n\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    # Disable scheduled CI runs on forks\n    if: github.event_name != 'schedule' || github.repository_owner == 'ipython'\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        deps: [test_extra]\n        # Test all on ubuntu, test ends on macos\n        include:\n          - os: macos-latest\n            python-version: \"3.10\"\n            deps: test_extra\n          - os: macos-latest\n            python-version: \"3.11\"\n            deps: test_extra\n          # Tests minimal dependencies set\n          - os: ubuntu-latest\n            python-version: \"3.11\"\n            deps: test\n          # Tests latest development Python version\n          - os: ubuntu-latest\n            python-version: \"3.13-dev\"\n            deps: test\n          # Installing optional dependencies stuff takes ages on PyPy\n          - os: ubuntu-latest\n            python-version: \"pypy-3.10\"\n            deps: test\n          - os: windows-latest\n            python-version: \"pypy-3.10\"\n            deps: test\n          - os: macos-latest\n            python-version: \"pypy-3.10\"\n            deps: test\n          # Temporary CI run to use entry point compatible code in matplotlib-inline.\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            deps: test_extra\n            want-latest-entry-point-code: true\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: |\n          pyproject.toml\n    - name: Install latex\n      if: runner.os == 'Linux' && matrix.deps == 'test_extra'\n      run: echo \"disable latex for now, issues in mirros\" #sudo apt-get -yq -o Acquire::Retries=3 --no-install-suggests --no-install-recommends install texlive dvipng\n    - name: Install and update Python dependencies (binary only)\n      if: ${{ ! contains( matrix.python-version, 'dev' ) }}\n      run: |\n        python -m pip install --only-binary ':all:' --upgrade pip setuptools wheel build\n        python -m pip install --only-binary ':all:' --no-binary curio --upgrade -e .[${{ matrix.deps }}]\n        python -m pip install --only-binary ':all:' --upgrade check-manifest pytest-cov  pytest-json-report 'pytest<8'\n    - name: Install and update Python dependencies (dev?)\n      if: ${{ contains( matrix.python-version, 'dev' ) }}\n      run: |\n        python -m pip install --pre --upgrade pip setuptools wheel build\n        python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --no-binary curio --upgrade -e .[${{ matrix.deps }}]\n        python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --upgrade check-manifest pytest-cov  pytest-json-report\n        python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple git+https://github.com/alexmojaki/executing.git@3.13\n    - name: Try building with Python build\n      if: runner.os != 'Windows'  # setup.py does not support sdist on Windows\n      run: |\n        python -m build\n        shasum -a 256 dist/*\n    - name: Check manifest\n      if: runner.os != 'Windows'  # setup.py does not support sdist on Windows\n      run: check-manifest\n\n    - name: Install entry point compatible code (TEMPORARY)\n      if: matrix.want-latest-entry-point-code\n      run: |\n        python -m pip list\n        # Not installing matplotlib's entry point code as building matplotlib from source is complex.\n        # Rely upon matplotlib to test all the latest entry point branches together.\n        python -m pip install --upgrade git+https://github.com/ipython/matplotlib-inline.git@main\n        python -m pip list\n\n    - name: pytest\n      env:\n        COLUMNS: 120\n      run: |\n        pytest --color=yes -raXxs ${{ startsWith(matrix.python-version, 'pypy') && ' ' || '--cov --cov-report=xml' }} --json-report --json-report-file=./report-${{ matrix.python-version }}-${{runner.os}}.json --maxfail=15\n    - uses: actions/upload-artifact@v3\n      with:\n          name: upload pytest timing reports as json\n          path: |\n            ./report-*.json\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n      with:\n         name: Test\n         files: /home/runner/work/ipython/ipython/coverage.xml\n", "state": "active", "repository": "ipython/ipython"}
{"mined_at": "2024-07-15T13:44:28.120283", "created_at": "2021-01-28T10:32:35+01:00", "updated_at": "2021-01-28T10:35:55+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches:\n      - main\n      - current-release\n      - \"*LTS\"\n  pull_request:\n    branches:\n      - main\n      - current-release\n      - \"*LTS\"\n    types: [opened, synchronize, reopened, ready_for_review]\n  schedule:\n    - cron: '25 16 * * 0'\n\njobs:\n  analyze:\n    if: github.event.pull_request.draft == false\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "sanic-org/sanic"}
{"mined_at": "2024-07-15T13:44:29.167940", "created_at": "2021-06-19T23:02:29+02:00", "updated_at": "2021-06-21T13:53:11+02:00", "name": "Coverage check", "path": ".github/workflows/coverage.yml", "contents": "name: Coverage check\non:\n  push:\n    branches:\n      - main\n      - current-release\n      - \"*LTS\"\n    tags:\n      - \"!*\" # Do not execute on tags\n  pull_request:\n    branches:\n      - main\n      - current-release\n      - \"*LTS\"\n\njobs:\n  coverage:\n    name: Check coverage\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n      - name: Run coverage\n        uses: sanic-org/simple-tox-action@v1\n        with:\n          python-version: \"3.11\"\n          tox-env: coverage\n          ignore-errors: true\n      - name: Run Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage.xml\n          fail_ci_if_error: false\n", "state": "active", "repository": "sanic-org/sanic"}
{"mined_at": "2024-07-15T13:44:30.215478", "created_at": "2023-07-09T20:50:52+02:00", "updated_at": "2023-07-09T20:50:52+02:00", "name": "Run unit tests (Linux)", "path": ".github/workflows/pr-unit-linux.yml", "contents": null, "state": "active", "repository": "sanic-org/sanic"}
{"mined_at": "2024-07-15T13:44:31.267490", "created_at": "2023-07-10T00:40:09+02:00", "updated_at": "2023-07-10T00:40:09+02:00", "name": ".github/workflows/pr-unit-tests.yml", "path": ".github/workflows/pr-unit-tests.yml", "contents": null, "state": "active", "repository": "sanic-org/sanic"}
{"mined_at": "2024-07-15T13:44:32.312563", "created_at": "2023-08-23T19:33:12+02:00", "updated_at": "2023-08-23T19:33:12+02:00", "name": "PR tests", "path": ".github/workflows/pr-tests.yml", "contents": null, "state": "active", "repository": "sanic-org/sanic"}
{"mined_at": "2024-07-15T13:44:33.454750", "created_at": "2023-08-27T16:59:21+02:00", "updated_at": "2023-08-29T20:47:44+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - main\n      - current-release\n      - \"*LTS\"\n    tags:\n      - \"!*\"\n  pull_request:\n    branches:\n      - main\n      - current-release\n      - \"*LTS\"\n    types: [opened, synchronize, reopened, ready_for_review]\n\njobs:\n  run_tests:\n    name: \"${{ matrix.config.platform == 'windows-latest' && 'Windows' || 'Linux' }} / Python ${{ matrix.config.python-version }} / tox -e ${{ matrix.config.tox-env }}\"\n    if: github.event.pull_request.draft == false\n    runs-on: ${{ matrix.config.platform || 'ubuntu-latest' }}\n    strategy:\n      fail-fast: true\n      matrix:\n        config:\n          - { python-version: \"3.8\",  tox-env: security }\n          - { python-version: \"3.9\",  tox-env: security }\n          - { python-version: \"3.10\", tox-env: security }\n          - { python-version: \"3.11\", tox-env: security }\n          - { python-version: \"3.10\", tox-env: lint }\n          # - { python-version: \"3.10\", tox-env: docs }\n          - { python-version: \"3.8\",  tox-env: type-checking }\n          - { python-version: \"3.9\",  tox-env: type-checking }\n          - { python-version: \"3.10\", tox-env: type-checking }\n          - { python-version: \"3.11\", tox-env: type-checking }\n          - { python-version: \"3.8\",  tox-env: py38,          max-attempts: 3 }\n          - { python-version: \"3.8\",  tox-env: py38-no-ext,   max-attempts: 3 }\n          - { python-version: \"3.9\",  tox-env: py39,          max-attempts: 3 }\n          - { python-version: \"3.9\",  tox-env: py39-no-ext,   max-attempts: 3 }\n          - { python-version: \"3.10\", tox-env: py310,         max-attempts: 3 }\n          - { python-version: \"3.10\", tox-env: py310-no-ext,  max-attempts: 3 }\n          - { python-version: \"3.11\", tox-env: py311,         max-attempts: 3 }\n          - { python-version: \"3.12\", tox-env: py312,         max-attempts: 3 }\n          - { python-version: \"3.11\", tox-env: py311-no-ext,  max-attempts: 3 }\n          - { python-version: \"3.8\",  tox-env: py38-no-ext,   platform: windows-latest, ignore-errors: true }\n          - { python-version: \"3.9\",  tox-env: py39-no-ext,   platform: windows-latest, ignore-errors: true }\n          - { python-version: \"3.10\", tox-env: py310-no-ext,  platform: windows-latest, ignore-errors: true }\n          - { python-version: \"3.11\", tox-env: py310-no-ext,  platform: windows-latest, ignore-errors: true }\n    steps:\n      - name: Run tests\n        uses: sanic-org/simple-tox-action@v1\n        with:\n          python-version: ${{ matrix.config.python-version }}\n          tox-env: ${{ matrix.config.tox-env }}\n          max-attempts: ${{ matrix.config.max-attempts || 1 }}\n          ignore-errors: ${{ matrix.config.ignore-errors || false }}\n", "state": "active", "repository": "sanic-org/sanic"}
{"mined_at": "2024-07-15T13:44:34.503601", "created_at": "2023-08-29T20:47:44+02:00", "updated_at": "2023-08-29T20:47:44+02:00", "name": "Publish release", "path": ".github/workflows/publish-release.yml", "contents": "name: Publish release\n\non:\n  release:\n    types: [created]\n\nenv:\n  IS_TEST: false\n  DOCKER_ORG_NAME: sanicframework\n  DOCKER_IMAGE_NAME: sanic\n  DOCKER_BASE_IMAGE_NAME: sanic-build\n  DOCKER_IMAGE_DOCKERFILE: ./docker/Dockerfile\n  DOCKER_BASE_IMAGE_DOCKERFILE: ./docker/Dockerfile-base\n\njobs:\n  generate_info:\n    name: Generate info\n    runs-on: ubuntu-latest\n    outputs:\n      docker-tags: ${{ steps.generate_docker_info.outputs.tags }}\n      pypi-version: ${{ steps.parse_version_tag.outputs.pypi-version }}\n      is-test: ${{ env.IS_TEST }}\n    steps:\n      - name: Parse version tag\n        id: parse_version_tag\n        env:\n          TAG_NAME: ${{ github.event.release.tag_name }}\n        run: |\n          tag_name=\"${{ env.TAG_NAME }}\"\n\n          if [[ ! \"${tag_name}\" =~ ^v([0-9]{2})\\.([0-9]{1,2})\\.([0-9]+)$ ]]; then\n            echo \"::error::Tag name must be in the format vYY.MM.MICRO\"\n            exit 1\n          fi\n\n          year_output=\"year=${BASH_REMATCH[1]}\"\n          month_output=\"month=${BASH_REMATCH[2]}\"\n          pypi_output=\"pypi-version=${tag_name#v}\"\n\n          echo \"${year_output}\"\n          echo \"${month_output}\"\n          echo \"${pypi_output}\"\n\n          echo \"${year_output}\" >> $GITHUB_OUTPUT\n          echo \"${month_output}\" >> $GITHUB_OUTPUT\n          echo \"${pypi_output}\" >> $GITHUB_OUTPUT\n\n      - name: Get latest release\n        id: get_latest_release\n        run: |\n          latest_tag=$(\n            curl -L \\\n              -H \"Accept: application/vnd.github+json\" \\\n              -H \"Authorization: Bearer ${{ github.token }}\" \\\n              -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n              https://api.github.com/repos/${{ github.repository }}/releases/latest \\\n              | jq -r '.tag_name'\n          )\n          echo \"latest_tag=$latest_tag\" >> $GITHUB_OUTPUT\n\n      - name: Generate Docker info\n        id: generate_docker_info\n        run: |\n          tag_year=\"${{ steps.parse_version_tag.outputs.year }}\"\n          tag_month=\"${{ steps.parse_version_tag.outputs.month }}\"\n          latest_tag=\"${{ steps.get_latest_release.outputs.latest_tag }}\"\n          tag=\"${{ github.event.release.tag_name }}\"\n\n          tags=\"${tag_year}.${tag_month}\"\n\n          if [[ \"${tag_month}\" == \"12\" ]]; then\n            tags+=\",lts\"\n            echo \"::notice::Tag ${tag} is LTS version\"\n          else\n            echo \"::notice::Tag ${tag} is not LTS version\"\n          fi\n\n          if [[ \"${latest_tag}\" == \"${{ github.event.release.tag_name }}\" ]]; then\n            tags+=\",latest\"\n            echo \"::notice::Tag ${tag} is marked as latest\"\n          else\n            echo \"::notice::Tag ${tag} is not marked as latest\"\n          fi\n\n          tags_output=\"tags=${tags}\"\n\n          echo \"${tags_output}\"\n          echo \"${tags_output}\" >> $GITHUB_OUTPUT\n\n  publish_package:\n    name: Build and publish package\n    runs-on: ubuntu-latest\n    needs: generate_info\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v3\n\n    - name: Setup Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.11\"\n\n    - name: Install dependencies\n      run: pip install build twine\n\n    - name: Update package version\n      run: |\n        echo \"__version__ = \\\"${{ needs.generate_info.outputs.pypi-version }}\\\"\" > sanic/__version__.py\n\n    - name: Build a binary wheel and a source tarball\n      run: python -m build --sdist --wheel --outdir dist/ .\n\n    - name: Publish package distribution\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: ${{ env.IS_TEST == 'true' && 'https://test.pypi.org/legacy/' || 'https://upload.pypi.org/legacy/' }}\n\n  publish_docker:\n    name: Publish Docker / Python ${{ matrix.python-version }}\n    needs: [generate_info, publish_package]\n    runs-on: ubuntu-latest\n    if: ${{ needs.generate_info.outputs.is-test == 'false' }}\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_ACCESS_USER }}\n          password: ${{ secrets.DOCKER_ACCESS_TOKEN }}\n\n      - name: Build and push base image\n        uses: docker/build-push-action@v4\n        with:\n          push: ${{ env.IS_TEST == 'false' }}\n          file: ${{ env.DOCKER_BASE_IMAGE_DOCKERFILE }}\n          tags: ${{ env.DOCKER_ORG_NAME }}/${{ env.DOCKER_BASE_IMAGE_NAME }}:${{ matrix.python-version }}\n          build-args: |\n            PYTHON_VERSION=${{ matrix.python-version }}\n\n      - name: Parse tags for this Python version\n        id: parse_tags\n        run: |\n          IFS=',' read -ra tags <<< \"${{ needs.generate_info.outputs.docker-tags }}\"\n          tag_args=\"\"\n\n          for tag in \"${tags[@]}\"; do\n              tag_args+=\",${{ env.DOCKER_ORG_NAME }}/${{ env.DOCKER_IMAGE_NAME }}:${tag}-py${{ matrix.python-version }}\"\n          done\n\n          tag_args_output=\"tag_args=${tag_args:1}\"\n\n          echo \"${tag_args_output}\"\n          echo \"${tag_args_output}\" >> $GITHUB_OUTPUT\n\n      - name: Build and push Sanic image\n        uses: docker/build-push-action@v4\n        with:\n          push: ${{ env.IS_TEST == 'false' }}\n          file: ${{ env.DOCKER_IMAGE_DOCKERFILE }}\n          tags: ${{ steps.parse_tags.outputs.tag_args }}\n          build-args: |\n            BASE_IMAGE_ORG=${{ env.DOCKER_ORG_NAME }}\n            BASE_IMAGE_NAME=${{ env.DOCKER_BASE_IMAGE_NAME }}\n            BASE_IMAGE_TAG=${{ matrix.python-version }}\n            SANIC_PYPI_VERSION=${{ needs.generate_info.outputs.pypi-version }}\n", "state": "active", "repository": "sanic-org/sanic"}
{"mined_at": "2024-07-15T13:44:36.902986", "created_at": "2020-11-13T20:39:23+01:00", "updated_at": "2024-04-23T21:24:09+02:00", "name": "Lock inactive closed issues", "path": ".github/workflows/lock.yaml", "contents": "name: Lock inactive closed issues\n# Lock closed issues that have not received any further activity for two weeks.\n# This does not close open issues, only humans may do that. It is easier to\n# respond to new issues with fresh examples rather than continuing discussions\n# on old issues.\n\non:\n  schedule:\n    - cron: '0 0 * * *'\npermissions:\n  issues: write\n  pull-requests: write\nconcurrency:\n  group: lock\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1\n        with:\n          issue-inactive-days: 14\n          pr-inactive-days: 14\n          discussion-inactive-days: 14\n", "state": "active", "repository": "pallets/jinja"}
{"mined_at": "2024-07-15T13:44:37.921185", "created_at": "2023-01-20T22:35:36+01:00", "updated_at": "2023-01-20T22:35:36+01:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "name: Publish\non:\n  push:\n    tags:\n      - '*'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    outputs:\n      hash: ${{ steps.hash.outputs.hash }}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - run: pip install -r requirements/build.txt\n      # Use the commit date instead of the current date during the build.\n      - run: echo \"SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)\" >> $GITHUB_ENV\n      - run: python -m build\n      # Generate hashes used for provenance.\n      - name: generate hash\n        id: hash\n        run: cd dist && echo \"hash=$(sha256sum * | base64 -w0)\" >> $GITHUB_OUTPUT\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          path: ./dist\n  provenance:\n    needs: [build]\n    permissions:\n      actions: read\n      id-token: write\n      contents: write\n    # Can't pin with hash due to how this workflow works.\n    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0\n    with:\n      base64-subjects: ${{ needs.build.outputs.hash }}\n  create-release:\n    # Upload the sdist, wheels, and provenance to a GitHub release. They remain\n    # available as build artifacts for a while as well.\n    needs: [provenance]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      - name: create release\n        run: >\n          gh release create --draft --repo ${{ github.repository }}\n          ${{ github.ref_name }}\n          *.intoto.jsonl/* artifact/*\n        env:\n          GH_TOKEN: ${{ github.token }}\n  publish-pypi:\n    needs: [provenance]\n    # Wait for approval before attempting to upload to PyPI. This allows reviewing the\n    # files in the draft release.\n    environment:\n      name: publish\n      url: https://pypi.org/project/Jinja2/${{ github.ref_name }}\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          packages-dir: artifact/\n      - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          packages-dir: artifact/\n", "state": "active", "repository": "pallets/jinja"}
{"mined_at": "2024-07-15T13:44:38.944419", "created_at": "2020-05-23T21:59:14+02:00", "updated_at": "2020-05-23T21:59:14+02:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\non:\n  push:\n    branches:\n      - main\n      - '*.x'\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\njobs:\n  tests:\n    name: ${{ matrix.name || matrix.python }}\n    runs-on: ${{ matrix.os || 'ubuntu-latest' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {python: '3.13'}\n          - {python: '3.12'}\n          - {name: Windows, python: '3.12', os: windows-latest}\n          - {name: Mac, python: '3.12', os: macos-latest}\n          - {python: '3.11'}\n          - {python: '3.10'}\n          - {python: '3.9'}\n          - {python: '3.8'}\n          - {name: PyPy, python: 'pypy-3.10', tox: pypy310}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - run: pip install tox\n      - run: tox run -e ${{ matrix.tox || format('py{0}', matrix.python) }}\n  typing:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - name: cache mypy\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: ./.mypy_cache\n          key: mypy|${{ hashFiles('pyproject.toml') }}\n      - run: pip install tox\n      - run: tox run -e typing\n", "state": "active", "repository": "pallets/jinja"}
{"mined_at": "2024-07-15T13:44:40.999239", "created_at": "2020-10-19T19:40:54+02:00", "updated_at": "2020-10-19T19:40:54+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n\njobs:\n  tests:\n    name: Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n        - \"3.8\"\n        - \"3.9\"\n        - \"3.10\"\n        - \"3.11\"\n        - \"3.12\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel setuptools\n          python -m pip install --upgrade tox\n\n      - name: Run tox targets for ${{ matrix.python-version }}\n        run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)\n\n  lint:\n    name: Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip tox\n\n      - name: Run lint\n        run: tox -e qa\n", "state": "active", "repository": "django/channels"}
{"mined_at": "2024-07-15T13:44:43.323701", "created_at": "2020-01-09T13:59:27+01:00", "updated_at": "2020-01-11T05:02:13+01:00", "name": "cron", "path": "", "contents": null, "state": "active", "repository": "jazzband/pip-tools"}
{"mined_at": "2024-07-15T13:44:44.365673", "created_at": "2020-01-13T07:03:57+01:00", "updated_at": "2020-05-02T11:02:42+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  merge_group:\n  pull_request:\n  push:\n    branches:\n      - main\n    tags:\n  workflow_call:\n    inputs:\n      cpython-pip-version:\n        description: >-\n          A JSON string with pip versions\n          to test against under CPython.\n        required: true\n        type: string\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: 1 # Request colored output from CLI tools supporting it\n  MYPY_FORCE_COLOR: 1 # MyPy's color enforcement\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n  PIP_NO_PYTHON_VERSION_WARNING: 1\n  PIP_NO_WARN_SCRIPT_LOCATION: 1\n  PRE_COMMIT_COLOR: 1\n  PY_COLORS: 1 # Recognized by the `py` package, dependency of `pytest`\n  TOX_PARALLEL_NO_SPINNER: 1\n  TOX_TESTENV_PASSENV: >-\n    FORCE_COLOR\n    MYPY_FORCE_COLOR\n    NO_COLOR\n    PY_COLORS\n    PYTEST_THEME\n    PYTEST_THEME_MODE\n    PRE_COMMIT_COLOR\n\njobs:\n  linters:\n    name: Linters\n    uses: ./.github/workflows/reusable-qa.yml\n\n  test:\n    name: ${{ matrix.os }} / ${{ matrix.python-version }} / ${{ matrix.pip-version }}\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - Ubuntu\n          - Windows\n          - macOS\n        python-version:\n          - \"3.11\"\n          - \"3.10\"\n          - \"3.9\"\n          - \"3.8\"\n        pip-version: >-\n          ${{\n            fromJSON(\n              github.job_workflow_sha\n              && inputs.cpython-pip-version\n              || '[\"latest\", \"previous\"]'\n            )\n          }}\n        include:\n          - os: Ubuntu\n            python-version: >-\n              ${{\n                github.job_workflow_sha\n                && '3.12-dev'\n                || '3.8'\n              }}\n            pip-version: main\n    env:\n      TOXENV: >-\n        pip${{ matrix.pip-version }}${{\n          !github.job_workflow_sha\n          && '-coverage'\n          || ''\n        }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }} from GitHub\n        id: python-install\n        if: \"!endsWith(matrix.python-version, '-dev')\"\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set up Python ${{ matrix.python-version }} from deadsnakes\n        if: endsWith(matrix.python-version, '-dev')\n        uses: deadsnakes/action@v2.1.1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Log python version info (${{ matrix.python-version }})\n        run: python --version --version\n      - name: Get pip cache dir\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: Pip cache\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: >-\n            ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}-${{\n            hashFiles('pyproject.toml') }}-${{ hashFiles('tox.ini') }}-${{\n            hashFiles('.pre-commit-config.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n      - name: Install test dependencies\n        run: python -m pip install -U tox virtualenv\n      - name: Prepare test environment\n        run: tox -vv --notest -p auto --parallel-live\n      - name: Test pip ${{ matrix.pip-version }}\n        run: tox --skip-pkg-install\n      - name: Upload coverage to Codecov\n        if: >-\n          !github.job_workflow_sha\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage.xml\n          flags: >-\n            CI-GHA,\n            OS-${{ runner.os }},\n            VM-${{ matrix.os }},\n            Py-${{ steps.python-install.outputs.python-version }},\n            Pip-${{ matrix.pip-version }}\n          name: >-\n            OS-${{ runner.os }},\n            VM-${{ matrix.os }},\n            Py-${{ steps.python-install.outputs.python-version }},\n            Pip-${{ matrix.pip-version }}\n\n  pypy:\n    name: ${{ matrix.os }} / ${{ matrix.python-version }} / ${{ matrix.pip-version }}\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - Ubuntu\n          - MacOS\n          - Windows\n        python-version:\n          - pypy-3.8\n        pip-version:\n          - latest\n    env:\n      TOXENV: pip${{ matrix.pip-version }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Get pip cache dir\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: Pip cache\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: >-\n            ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}-${{\n            hashFiles('pyproject.toml') }}-${{ hashFiles('tox.ini') }}-${{\n            hashFiles('.pre-commit-config.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n      - name: Install tox\n        run: pip install tox\n      - name: Prepare test environment\n        run: tox --notest -p auto --parallel-live\n      - name: Test pip ${{ matrix.pip-version }}\n        run: tox\n\n  check: # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n      - linters\n      - pypy\n      - test\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@afee1c1eac2a506084c274e9c02c8e0687b48d9e\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "jazzband/pip-tools"}
{"mined_at": "2024-07-15T13:44:45.413235", "created_at": "2019-12-20T01:03:48+01:00", "updated_at": "2020-05-16T02:14:34+02:00", "name": "Cron", "path": ".github/workflows/cron.yml", "contents": "name: Cron\n\non:\n  schedule:\n    # Run everyday at 03:53 UTC\n    - cron: 53 3 * * *\n\njobs:\n  main:\n    name: CI\n    uses: ./.github/workflows/ci.yml\n    with:\n      cpython-pip-version: >-\n        [\"main\", \"latest\", \"previous\"]\n", "state": "active", "repository": "jazzband/pip-tools"}
{"mined_at": "2024-07-15T13:44:46.461348", "created_at": "2021-06-20T15:10:19+02:00", "updated_at": "2021-06-20T15:10:19+02:00", "name": "release-drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: release-drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - main\n      - \"releases/**\"\n      - \"stable/**\"\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write\n      pull-requests: read\n    if: github.repository == 'jazzband/pip-tools'\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next release notes as Pull Requests are merged into \"main\"\n      - uses: release-drafter/release-drafter@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "jazzband/pip-tools"}
{"mined_at": "2024-07-15T13:44:47.522384", "created_at": "2020-11-27T11:47:52+01:00", "updated_at": "2020-11-27T11:47:52+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    branches:\n      - main\n  release:\n    types:\n      - published\n\njobs:\n  build:\n    if: github.repository == 'jazzband/pip-tools'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U twine build setuptools-scm\n\n      - name: Build package\n        run: |\n          python -m setuptools_scm\n          python -m build\n          twine check --strict dist/*\n\n      - name: Upload packages to Jazzband\n        if: github.event.action == 'published'\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: jazzband\n          password: ${{ secrets.JAZZBAND_RELEASE_KEY }}\n          repository_url: https://jazzband.co/projects/pip-tools/upload\n", "state": "active", "repository": "jazzband/pip-tools"}
{"mined_at": "2024-07-15T13:44:48.605813", "created_at": "2023-07-04T22:57:09+02:00", "updated_at": "2023-07-04T22:57:09+02:00", "name": "QA", "path": ".github/workflows/reusable-qa.yml", "contents": "name: QA\n\non:\n  workflow_call:\n\njobs:\n  qa:\n    name: ${{ matrix.toxenv }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        toxenv:\n          - readme\n          - build-docs\n          - linkcheck-docs\n        python-version:\n          - \"3.x\"\n    env:\n      PY_COLORS: 1\n      TOXENV: ${{ matrix.toxenv }}\n      TOX_PARALLEL_NO_SPINNER: 1\n    steps:\n      - uses: actions/checkout@main\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: Pip cache\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: >-\n            ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}-${{\n            hashFiles('pyproject.toml') }}-${{ hashFiles('tox.ini') }}-${{\n            hashFiles('.pre-commit-config.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n      - name: Prepare cache key\n        id: cache-key\n        run: echo \"sha-256=$(python -VV | sha256sum | cut -d' ' -f1)\" >> $GITHUB_OUTPUT\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit|${{ steps.cache-key.outputs.sha-256 }}|${{ hashFiles('.pre-commit-config.yaml') }}\n      - name: Install tox\n        run: pip install tox\n      - name: Prepare test environment\n        run: tox -vv --notest -p auto --parallel-live\n      - name: Test ${{ matrix.toxenv }}\n        run: tox --skip-pkg-install\n", "state": "active", "repository": "jazzband/pip-tools"}
{"mined_at": "2024-07-15T13:44:51.706151", "created_at": "2023-08-02T16:06:32+02:00", "updated_at": "2023-08-04T23:57:33+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "---\n# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: CodeQL\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: 19 10 * * 6\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [python]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "dpkp/kafka-python"}
{"mined_at": "2024-07-15T13:44:52.779066", "created_at": "2023-08-02T16:06:33+02:00", "updated_at": "2023-08-04T23:57:33+02:00", "name": "CI/CD", "path": ".github/workflows/python-package.yml", "contents": "name: CI/CD\n\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\"]\n  release:\n    types: [created]\n    branches:\n      - 'master'\n  workflow_dispatch:\n\nenv:\n  FORCE_COLOR: \"1\"  # Make tools pretty.\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  PIP_NO_PYTHON_VERSION_WARNING: \"1\"\n  PYTHON_LATEST: \"3.12\"\n  KAFKA_LATEST: \"2.6.0\"\n\n  # For re-actors/checkout-python-sdist\n  sdist-artifact: python-package-distributions\n\njobs:\n\n  build-sdist:\n    name: 📦 Build the source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout project\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_LATEST }}\n          cache: pip\n      - run: python -m pip install build\n        name: Install core libraries for build and install\n      - name: Build artifacts\n        run: python -m build\n      - name: Upload built artifacts for testing\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ env.sdist-artifact }}\n          # NOTE: Exact expected file names are specified here\n          # NOTE: as a safety measure — if anything weird ends\n          # NOTE: up being in this dir or not all dists will be\n          # NOTE: produced, this will fail the workflow.\n          path: dist/${{ env.sdist-name }}\n          retention-days: 15\n\n  test-python:\n    name: Tests on ${{ matrix.python-version }}\n    needs:\n      - build-sdist\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        experimental: [ false ]\n        include:\n          - python-version: \"pypy3.9\"\n            experimental: true\n          - python-version: \"~3.13.0-0\"\n            experimental: true\n    steps:\n      - name: Checkout the source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup java\n        uses: actions/setup-java@v4\n        with:\n          distribution: temurin\n          java-version: 11\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: |\n            requirements-dev.txt\n      - name: Check Java installation\n        run: source travis_java_install.sh\n      - name: Pull Kafka releases\n        run: ./build_integration.sh\n        env:\n          PLATFORM: ${{ matrix.platform }}\n          KAFKA_VERSION: ${{ env.KAFKA_LATEST }}\n        # TODO: Cache releases to expedite testing\n      - name: Install dependencies\n        run: |\n          sudo apt install -y libsnappy-dev libzstd-dev\n          python -m pip install --upgrade pip\n          python -m pip install tox tox-gh-actions\n          pip install .\n          pip install -r requirements-dev.txt\n      - name: Test with tox\n        run: tox\n        env:\n          PLATFORM: ${{ matrix.platform }}\n          KAFKA_VERSION: ${{ env.KAFKA_LATEST }}\n\n  test-kafka:\n    name: Tests for Kafka ${{ matrix.kafka-version }}\n    needs:\n      - build-sdist\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        kafka-version:\n          - \"0.8.2.2\"\n          - \"0.9.0.1\"\n          - \"0.10.2.2\"\n          - \"0.11.0.2\"\n          - \"0.11.0.3\"\n          - \"1.1.1\"\n          - \"2.4.0\"\n          - \"2.5.0\"\n          - \"2.6.0\"\n    steps:\n      - name: Checkout the source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup java\n        uses: actions/setup-java@v4\n        with:\n          distribution: temurin\n          java-version: 8\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_LATEST }}\n          cache: pip\n          cache-dependency-path: |\n            requirements-dev.txt\n      - name: Pull Kafka releases\n        run: ./build_integration.sh\n        env:\n          # This is fast enough as long as you pull only one release at a time,\n          # no need to worry about caching\n          PLATFORM: ${{ matrix.platform }}\n          KAFKA_VERSION: ${{ matrix.kafka-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt install -y libsnappy-dev libzstd-dev\n          python -m pip install --upgrade pip\n          python -m pip install tox tox-gh-actions\n          pip install .\n          pip install -r requirements-dev.txt\n      - name: Test with tox\n        run: tox\n        env:\n          PLATFORM: ${{ matrix.platform }}\n          KAFKA_VERSION: ${{ matrix.kafka-version }}\n\n  check:  # This job does nothing and is only used for the branch protection\n    name: ✅ Ensure the required checks passing\n    if: always()\n    needs:\n      - build-sdist\n      - test-python\n      - test-kafka\n    runs-on: ubuntu-latest\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n  publish:\n    name: 📦 Publish to PyPI\n    runs-on: ubuntu-latest\n    needs: [build-sdist]\n    permissions:\n      id-token: write\n    environment: pypi\n    if: github.event_name == 'release' && github.event.action == 'created'\n    steps:\n      - name: Download the sdist artifact\n        uses: actions/download-artifact@v3\n        with:\n          name: artifact\n          path: dist\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "dpkp/kafka-python"}
{"mined_at": "2024-07-15T13:44:54.866957", "created_at": "2021-03-29T14:35:19+02:00", "updated_at": "2021-03-29T14:35:19+02:00", "name": "doconfly", "path": ".github/workflows/doconfly.yml", "contents": "name: doconfly\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n\njobs:\n  doconfly:\n    name: doconfly job\n    runs-on: ubuntu-latest\n    env:\n      PORT: ${{ secrets.PORT }}\n      SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}\n      TAKOYAKI: ${{ secrets.TAKOYAKI }}\n      USER: ${{ secrets.USER }}\n      DOCUMENTATION_PATH: ${{ secrets.DOCUMENTATION_PATH }}\n      DOCUMENTATION_URL: ${{ secrets.DOCUMENTATION_URL }}\n    steps:\n      - run: |\n          which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )\n          eval $(ssh-agent -s)\n          echo \"$SSH_PRIVATE_KEY\" | tr -d '\\r' | ssh-add -\n          mkdir -p ~/.ssh\n          chmod 700 ~/.ssh\n          ssh-keyscan -p $PORT $TAKOYAKI >> ~/.ssh/known_hosts\n          chmod 644 ~/.ssh/known_hosts\n          ssh $USER@$TAKOYAKI -p $PORT \"doconfly/doconfly.sh $GITHUB_REPOSITORY $GITHUB_REF $DOCUMENTATION_PATH $DOCUMENTATION_URL\"\n", "state": "active", "repository": "kozea/weasyprint"}
{"mined_at": "2024-07-15T13:44:55.909082", "created_at": "2023-07-23T15:52:54+02:00", "updated_at": "2024-01-29T20:18:52+01:00", "name": "WeasyPrint’s exe generation", "path": ".github/workflows/exe.yml", "contents": "name: WeasyPrint’s exe generation\non: [push]\n\njobs:\n  generate:\n    name: ${{ matrix.os }}\n    runs-on: 'windows-2019'\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - name: Use absolute imports and install Pango (Windows)\n        run: |\n          C:\\msys64\\usr\\bin\\bash -lc 'pacman -S mingw-w64-x86_64-pango mingw-w64-x86_64-sed --noconfirm'\n          C:\\msys64\\mingw64\\bin\\sed -i 's/^from \\. /from weasyprint /' weasyprint/__main__.py\n          C:\\msys64\\mingw64\\bin\\sed  -i 's/^from \\./from weasyprint\\./' weasyprint/__main__.py\n          echo \"C:\\msys64\\mingw64\\bin\" | Out-File -FilePath $env:GITHUB_PATH\n          rm C:\\msys64\\mingw64\\bin\\python.exe\n      - name: Install requirements\n        run: python -m pip install . pyinstaller\n      - name: Generate executable\n        run: python -m PyInstaller weasyprint/__main__.py -n weasyprint -F --hidden-import \"fontTools.ttLib.tables.V_A_R_C_\"\n      - name: Test executable\n        run: dist/weasyprint --info\n      - name: Store executable\n        uses: actions/upload-artifact@v4\n        with:\n          name: weasyprint-windows\n          path: |\n            dist/weasyprint\n            dist/weasyprint.exe\n            README.rst\n            LICENSE\n", "state": "active", "repository": "kozea/weasyprint"}
{"mined_at": "2024-07-15T13:44:56.951560", "created_at": "2022-02-23T16:21:19+01:00", "updated_at": "2022-02-23T17:10:03+01:00", "name": "WeasyPrint's samples tests", "path": ".github/workflows/test_samples.yml", "contents": "name: WeasyPrint's samples tests\non: [push, pull_request]\n\nenv:\n  REPORTS_FOLDER: 'report'\n\njobs:\n  samples:\n    name: Generate samples\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip and setuptools\n        run: python -m pip install --upgrade pip setuptools\n      - name: Install requirements\n        run: python -m pip install .\n      - name: Clone samples repository\n        run: git clone https://github.com/CourtBouillon/weasyprint-samples.git\n      - name: Create output folder\n        run: mkdir ${{env.REPORTS_FOLDER}}\n      - name: Book classical\n        run: python -m weasyprint weasyprint-samples/book/book.html -s weasyprint-samples/book/book-classical.css ${{env.REPORTS_FOLDER}}/book-classical.pdf\n      - name: Book fancy\n        run: python -m weasyprint weasyprint-samples/book/book.html -s weasyprint-samples/book/book.css ${{env.REPORTS_FOLDER}}/book-fancy.pdf\n      - name: Invoice\n        run: python -m weasyprint weasyprint-samples/invoice/invoice.html ${{env.REPORTS_FOLDER}}/invoice.pdf\n      - name: Letter\n        run: python -m weasyprint weasyprint-samples/letter/letter.html ${{env.REPORTS_FOLDER}}/letter.pdf\n      - name: Poster\n        run: python -m weasyprint weasyprint-samples/poster/poster.html -s weasyprint-samples/poster/poster.css ${{env.REPORTS_FOLDER}}/poster.pdf\n      - name: Flyer\n        run: python -m weasyprint weasyprint-samples/poster/poster.html -s weasyprint-samples/poster/flyer.css ${{env.REPORTS_FOLDER}}/flyer.pdf\n      - name: Report\n        run: python -m weasyprint weasyprint-samples/report/report.html ${{env.REPORTS_FOLDER}}/report.pdf\n      - name: Ticket\n        run: python -m weasyprint weasyprint-samples/ticket/ticket.html ${{env.REPORTS_FOLDER}}/ticket.pdf\n      - name: Archive generated PDFs\n        uses: actions/upload-artifact@v3\n        with:\n          name: generated-documents\n          path: ${{env.REPORTS_FOLDER}}\n          retention-days: 1\n", "state": "active", "repository": "kozea/weasyprint"}
{"mined_at": "2024-07-15T13:44:58.025084", "created_at": "2020-04-04T23:30:40+02:00", "updated_at": "2021-04-22T12:37:53+02:00", "name": "WeasyPrint's tests", "path": ".github/workflows/tests.yml", "contents": "name: WeasyPrint's tests\non: [push, pull_request]\n\njobs:\n  tests:\n    name: ${{ matrix.os }} - ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.12']\n        include:\n          - os: ubuntu-latest\n            python-version: '3.9'\n          - os: ubuntu-latest\n            python-version: 'pypy-3.9'\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install DejaVu and Ghostscript (Ubuntu)\n        if: matrix.os == 'ubuntu-latest'\n        run: sudo apt-get update -y && sudo apt-get install fonts-dejavu ghostscript -y\n      - name: Install DejaVu, Pango and Ghostscript (MacOS)\n        if: matrix.os == 'macos-latest'\n        run: |\n          brew update\n          brew install --cask font-dejavu\n          brew install pango ghostscript\n      - name: Install DejaVu, Pango and Ghostscript (Windows)\n        if: matrix.os == 'windows-latest'\n        run: |\n          C:\\msys64\\usr\\bin\\bash -lc 'pacman -S mingw-w64-x86_64-ttf-dejavu mingw-w64-x86_64-pango mingw-w64-x86_64-ghostscript --noconfirm'\n          xcopy \"C:\\msys64\\mingw64\\share\\fonts\\TTF\" \"C:\\Users\\runneradmin\\.fonts\" /e /i\n          echo \"C:\\msys64\\mingw64\\bin\" | Out-File -FilePath $env:GITHUB_PATH\n          rm C:\\msys64\\mingw64\\bin\\python.exe\n      - name: Upgrade pip and setuptools\n        run: python -m pip install --upgrade pip setuptools\n      - name: Install tests’ requirements\n        run: python -m pip install .[test] pytest-xdist\n      - name: Launch tests\n        run: python -m pytest -n auto\n        env:\n          DYLD_FALLBACK_LIBRARY_PATH: /opt/homebrew/lib\n      - name: Check coding style\n        run: python -m ruff check\n", "state": "active", "repository": "kozea/weasyprint"}
{"mined_at": "2024-07-15T13:44:59.042572", "created_at": "2024-07-11T15:14:50+02:00", "updated_at": "2024-07-11T15:31:31+02:00", "name": "WeasyPrint’s wheel for Windows", "path": ".github/workflows/win-wheel.yml", "contents": null, "state": "active", "repository": "kozea/weasyprint"}
{"mined_at": "2024-07-15T13:45:01.175722", "created_at": "2022-03-31T01:55:59+02:00", "updated_at": "2022-03-31T01:55:59+02:00", "name": "Auto Build Example Repo", "path": ".github/workflows/autogen.yml", "contents": "name: \"Auto Build Example Repo\"\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  analyze:\n    name: Auto Build Example Repo\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Prepare Deploy Key\n        run: |\n          mkdir ~/.ssh\n          echo \"${{ secrets.DEMO_COOKIECUTTER_FLASK_PRIVATE_DEPLOY_KEY }}\" > ~/.ssh/id_rsa\n          chmod 600 ~/.ssh/id_rsa\n      - name: Checkout template repository\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Generate template project\n        run: invoke build\n      - name: Clone demo repo\n        run: git clone --no-checkout git@github.com:jamescurtin/demo-cookiecutter-flask.git /tmp/demo-cookiecutter-flask\n      - name: Move .git dir to generated project\n        run: mv /tmp/demo-cookiecutter-flask/.git my_flask_app\n      - name: Commit changes\n        run: |\n          cd my_flask_app\n          git config --global user.email \"jameswcurtin@gmail.com\"\n          git config --global user.name \"James Curtin\"\n          git add .\n          git commit -m \"Autobuilding example project\" || true\n          git push -u --force origin master || true\n", "state": "active", "repository": "cookiecutter-flask/cookiecutter-flask"}
{"mined_at": "2024-07-15T13:45:02.249457", "created_at": "2022-03-31T01:45:52+02:00", "updated_at": "2022-03-31T01:56:00+02:00", "name": "Build Status", "path": ".github/workflows/lint.yml", "contents": "name: Build Status\n\non:\n  - push\n  - pull_request\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/setup-node@v4\n        with:\n          node-version: \"20.x\"\n          registry-url: \"https://registry.npmjs.org\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Run test suite\n        run: invoke test\n      - name: Run lints\n        run: invoke lint\n      - name: Make sure placeholders not being committed\n        run: invoke no-placeholders\n      - name: Make sure Docker images can build\n        run: invoke test-image-build\n", "state": "active", "repository": "cookiecutter-flask/cookiecutter-flask"}
{"mined_at": "2024-07-15T13:45:03.309356", "created_at": "2022-03-31T01:50:30+02:00", "updated_at": "2022-03-31T01:56:00+02:00", "name": "CodeQL", "path": ".github/workflows/scan.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: \"0 14 * * 5\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n          - python\n          - javascript\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - run: git checkout HEAD^2\n        if: ${{ github.event_name == 'pull_request' }}\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          config-file: ./.github/codeql/codeql-config.yml\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Generate template project\n        run: invoke build\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "cookiecutter-flask/cookiecutter-flask"}
{"mined_at": "2024-07-15T13:45:05.336429", "created_at": "2022-07-01T09:57:20+02:00", "updated_at": "2022-07-01T15:27:41+02:00", "name": "Check", "path": ".github/workflows/changelog.yml", "contents": "name: Check\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, reopened, synchronize]\n\npermissions: \"read-all\"\n\njobs:\n  check-changelog-entry:\n    name: changelog entry\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: \"Checkout repository\"\n        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n        with:\n          # `towncrier check` runs `git diff --name-only origin/main...`, which\n          # needs a non-shallow clone.\n          fetch-depth: 0\n\n      - name: \"Check changelog\"\n        if: \"!contains(github.event.pull_request.labels.*.name, 'Skip Changelog')\"\n        run: |\n          if ! pipx run towncrier check --compare-with origin/${{ github.base_ref }}; then\n          echo \"Please see https://github.com/urllib3/urllib3/blob/main/changelog/README.rst for guidance.\"\n            false\n          fi\n", "state": "active", "repository": "urllib3/urllib3"}
{"mined_at": "2024-07-15T13:45:06.582206", "created_at": "2020-04-02T04:37:33+02:00", "updated_at": "2023-04-21T13:00:12+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request, workflow_dispatch]\n\npermissions: \"read-all\"\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  package:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - name: \"Checkout repository\"\n        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.x\"\n          cache: \"pip\"\n\n      - name: \"Check packages\"\n        run: |\n          python -m pip install -U pip setuptools wheel build twine rstcheck\n          python -m build\n          rstcheck CHANGES.rst\n          python -m twine check dist/*\n\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13\"]\n        os:\n          - macos-12\n          - windows-latest\n          - ubuntu-22.04\n        nox-session: ['']\n        include:\n          - experimental: false\n          # integration\n          # 3.8 and 3.9 have a known issue with large SSL requests that we work around:\n          # https://github.com/urllib3/urllib3/pull/3181#issuecomment-1794830698\n          - python-version: \"3.8\"\n            os: ubuntu-latest\n            experimental: false\n            nox-session: test_integration\n          - python-version: \"3.9\"\n            os: ubuntu-latest\n            experimental: false\n            nox-session: test_integration\n          - python-version: \"3.12\"\n            os: ubuntu-latest\n            experimental: false\n            nox-session: test_integration\n          # OpenSSL 1.1.1\n          - python-version: \"3.8\"\n            os: ubuntu-20.04\n            experimental: false\n            nox-session: test-3.8\n          # pypy\n          - python-version: \"pypy-3.8\"\n            os: ubuntu-latest\n            experimental: false\n            nox-session: test-pypy3.8\n          - python-version: \"pypy-3.9-v7.3.13\"\n            os: ubuntu-latest\n            experimental: false\n            nox-session: test-pypy3.9\n          - python-version: \"pypy-3.10\"\n            os: ubuntu-latest\n            experimental: false\n            nox-session: test-pypy3.10\n          - python-version: \"3.x\"\n          # brotli\n            os: ubuntu-latest\n            experimental: false\n            nox-session: test_brotlipy\n          # Test CPython with a broken hostname_checks_common_name (the fix is in 3.9.3)\n          - python-version: \"3.9.2\"\n            os: ubuntu-20.04  # CPython 3.9.2 is not available for ubuntu-22.04.\n            experimental: false\n            nox-session: test-3.9\n          - python-version: \"3.11\"\n            os: ubuntu-latest\n            nox-session: emscripten\n            experimental: true\n          - python-version: \"3.13\"\n            experimental: true\n        exclude:\n          # Ubuntu 22.04 comes with OpenSSL 3.0, so only CPython 3.9+ is compatible with it\n          # https://github.com/python/cpython/issues/83001\n          - python-version: \"3.8\"\n            os: ubuntu-22.04\n\n    runs-on: ${{ matrix.os }}\n    name: ${{ fromJson('{\"macos-12\":\"macOS\",\"windows-latest\":\"Windows\",\"ubuntu-latest\":\"Ubuntu\",\"ubuntu-20.04\":\"Ubuntu 20.04 (OpenSSL 1.1.1)\",\"ubuntu-22.04\":\"Ubuntu 22.04 (OpenSSL 3.0)\"}')[matrix.os] }} ${{ matrix.python-version }} ${{ matrix.nox-session}}\n    continue-on-error: ${{ matrix.experimental }}\n    timeout-minutes: 30\n    steps:\n      - name: \"Checkout repository\"\n        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n        with:\n          fetch-depth: 0 # Needed to fetch the version from git\n\n      - name: \"Setup Python ${{ matrix.python-version }}\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n\n      - name: \"Install dependencies\"\n        run: python -m pip install --upgrade pip setuptools nox\n\n      - name: \"Install Chrome\"\n        uses: browser-actions/setup-chrome@db1b524c26f20a8d1a10f7fc385c92387e2d0477 # v1.7.1\n        if: ${{ matrix.nox-session == 'emscripten' }}\n      - name: \"Install Firefox\"\n        uses: browser-actions/setup-firefox@233224b712fc07910ded8c15fb95a555c86da76f # v1.5.0\n        if: ${{ matrix.nox-session == 'emscripten' }}\n      - name: \"Run tests\"\n        # If no explicit NOX_SESSION is set, run the default tests for the chosen Python version\n        run: nox -s ${NOX_SESSION:-test-$PYTHON_VERSION}\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          NOX_SESSION: ${{ matrix.nox-session }}\n\n      - name: \"Upload coverage data\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: coverage-data-${{ matrix.python-version }}-${{ matrix.os }}-${{ matrix.experimental }}-${{ matrix.nox-session }}\n          path: \".coverage.*\"\n          if-no-files-found: error\n\n\n  coverage:\n    if: always()\n    runs-on: \"ubuntu-latest\"\n    needs: test\n    steps:\n      - name: \"Checkout repository\"\n        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.x\"\n\n      - name: \"Install coverage\"\n        run: \"python -m pip install -r dev-requirements.txt\"\n\n      - name: \"Download coverage data\"\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          pattern: coverage-data-*\n          merge-multiple: true\n\n      - name: \"Combine & check coverage\"\n        run: |\n          python -m build\n          python -m coverage combine\n          python -m coverage html --skip-covered --skip-empty\n          python -m coverage report --ignore-errors --show-missing --fail-under=100\n\n      - if: ${{ failure() }}\n        name: \"Upload report if check failed\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: coverage-report\n          path: htmlcov\n", "state": "active", "repository": "urllib3/urllib3"}
{"mined_at": "2024-07-15T13:45:08.485858", "created_at": "2022-09-18T22:20:34+02:00", "updated_at": "2022-09-19T20:06:26+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n  schedule:\n    - cron: \"0 0 * * 5\"\n  workflow_dispatch:\n\npermissions: \"read-all\"\n\njobs:\n  analyze:\n    if: github.repository_owner == 'urllib3'\n    name: \"Analyze\"\n    runs-on: \"ubuntu-latest\"\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    steps:\n    - name: \"Checkout repository\"\n      uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n    - name: \"Run CodeQL init\"\n      uses: github/codeql-action/init@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6\n      with:\n        config-file: \"./.github/codeql.yml\"\n        languages: \"python\"\n\n    - name: \"Run CodeQL autobuild\"\n      uses: github/codeql-action/autobuild@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6\n\n    - name: \"Run CodeQL analyze\"\n      uses: github/codeql-action/analyze@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6\n", "state": "active", "repository": "urllib3/urllib3"}
{"mined_at": "2024-07-15T13:45:09.570078", "created_at": "2023-11-06T11:21:20+01:00", "updated_at": "2023-11-06T12:57:05+01:00", "name": "Downstream", "path": ".github/workflows/downstream.yml", "contents": "name: Downstream\n\non: [push, pull_request, workflow_dispatch]\n\npermissions: \"read-all\"\n\njobs:\n  downstream:\n    strategy:\n      fail-fast: false\n      matrix:\n        downstream: [botocore, requests]\n    runs-on: ubuntu-22.04\n    timeout-minutes: 30\n\n    steps:\n      - name: \"Checkout repository\"\n        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.x\"\n\n      - name: \"Install dependencies\"\n        run: python -m pip install --upgrade nox\n\n      - name: \"Run downstream tests\"\n        run: nox -s downstream_${{ matrix.downstream }}\n", "state": "active", "repository": "urllib3/urllib3"}
{"mined_at": "2024-07-15T13:45:10.552572", "created_at": "2021-06-24T21:54:13+02:00", "updated_at": "2024-06-17T09:24:58+02:00", "name": "Downstream", "path": ".github/workflows/integration.yml", "contents": null, "state": "active", "repository": "urllib3/urllib3"}
{"mined_at": "2024-07-15T13:45:11.605783", "created_at": "2020-11-20T09:58:04+01:00", "updated_at": "2021-01-08T08:27:35+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non: [push, pull_request, workflow_dispatch]\n\npermissions: \"read-all\"\n\njobs:\n  lint:\n    runs-on: ubuntu-20.04\n    timeout-minutes: 10\n\n    steps:\n      - name: \"Checkout repository\"\n        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.x\"\n          cache: pip\n\n      - name: \"Run pre-commit\"\n        uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0\n\n      - name: \"Install dependencies\"\n        run: python -m pip install nox\n\n      - name: \"Run mypy\"\n        run: nox -s mypy\n", "state": "active", "repository": "urllib3/urllib3"}
{"mined_at": "2024-07-15T13:45:12.618546", "created_at": "2022-07-01T18:44:38+02:00", "updated_at": "2022-07-03T15:19:57+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Publish to PyPI\n\non:\n  push:\n    branches:\n      - \"1.26.x\"\n      - \"main\"\n    tags:\n      - \"*\"\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: \"Build distribution 📦\"\n    runs-on: \"ubuntu-latest\"\n    outputs:\n      hashes: ${{ steps.hash.outputs.hashes }}\n\n    steps:\n      - name: \"Checkout repository\"\n        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n        with:\n          fetch-depth: 0 # Needed to fetch the version from git\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.x\"\n\n      - name: \"Install dependencies\"\n        run: python -m pip install build==0.8.0\n\n      - name: \"Build dists\"\n        run: |\n          SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) \\\n          python -m build\n\n      - name: \"Generate hashes\"\n        id: hash\n        run: |\n          cd dist && echo \"hashes=$(sha256sum * | base64 -w0)\" >> $GITHUB_OUTPUT\n\n      - name: \"Upload dists\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: \"dist\"\n          path: \"dist/\"\n          if-no-files-found: error\n          retention-days: 5\n\n  provenance:\n    needs: [build]\n    permissions:\n      actions: read\n      contents: write\n      id-token: write # Needed to access the workflow's OIDC identity.\n    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0\n    with:\n      base64-subjects: \"${{ needs.build.outputs.hashes }}\"\n      upload-assets: true\n\n  publish-to-pypi-and-github:\n    name: \"Publish to PyPI\"\n    if: startsWith(github.ref, 'refs/tags/')\n    needs: [\"build\", \"provenance\"]\n    permissions:\n      contents: write # Needed for making GitHub releases\n      id-token: write # Needed for trusted publishing to PyPI.\n    runs-on: \"ubuntu-latest\"\n    environment:\n      name: \"publish\"\n\n    steps:\n    - name: \"Download dists\"\n      uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      with:\n        name: \"dist\"\n        path: \"dist/\"\n\n    - name: \"Upload dists to GitHub Release\"\n      env:\n        GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n      run: |\n        gh release upload ${{ github.ref_name }} dist/* --repo ${{ github.repository }}\n\n    - name: \"Publish dists to PyPI\"\n      uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0\n\n  publish-to-test-pypi:\n    name: \"Publish to Test PyPI\"\n    needs: [\"build\", \"provenance\"]\n    permissions:\n      id-token: write # Needed for trusted publishing to PyPI.\n    runs-on: \"ubuntu-latest\"\n    environment:\n      name: \"testpypi\"\n\n    steps:\n    - name: \"Download dists\"\n      uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      with:\n        name: \"dist\"\n        path: \"dist/\"\n\n    - name: \"Publish dists to Test PyPI\"\n      uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0\n      with:\n        repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "urllib3/urllib3"}
{"mined_at": "2024-07-15T13:45:13.654167", "created_at": "2022-08-11T15:57:45+02:00", "updated_at": "2022-08-11T15:57:45+02:00", "name": "Scorecard", "path": ".github/workflows/scorecards.yml", "contents": "name: \"Scorecard\"\non:\n  branch_protection_rule:\n  schedule:\n    - cron: \"0 0 * * 0\"\n  push:\n    branches: [\"main\", \"1.26.x\"]\n\npermissions: read-all\n\njobs:\n  analysis:\n    if: github.repository_owner == 'urllib3'\n    name: \"Scorecard\"\n    runs-on: \"ubuntu-latest\"\n    permissions:\n      security-events: write\n      id-token: write\n      contents: read\n      actions: read\n\n    steps:\n      - name: \"Checkout repository\"\n        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n        with:\n          persist-credentials: false\n\n      - name: \"Run Scorecard\"\n        uses: ossf/scorecard-action@483ef80eb98fb506c348f7d62e28055e49fe2398 # v2.3.0\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          repo_token: ${{ secrets.SCORECARD_TOKEN }}\n          publish_results: true\n", "state": "active", "repository": "urllib3/urllib3"}
{"mined_at": "2024-07-15T13:45:15.693736", "created_at": "2024-03-25T19:22:39+01:00", "updated_at": "2024-03-25T19:22:39+01:00", "name": "Issue Manager", "path": ".github/workflows/issue-manager.yml", "contents": "# Automatically close issues or pull requests that have a label, after a custom delay, if no one replies.\n# https://github.com/tiangolo/issue-manager\nname: Issue Manager\n\non:\n  schedule:\n    - cron: \"12 0 * * *\"\n  issue_comment:\n    types:\n      - created\n  issues:\n    types:\n      - labeled\n  pull_request_target:\n    types:\n      - labeled\n  workflow_dispatch:\n\njobs:\n  issue-manager:\n    # Disables this workflow from running in a repository that is not part of the indicated organization/user\n    if: github.repository_owner == 'jazzband'\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: tiangolo/issue-manager@0.5.0\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          config: >\n            {\n              \"answered\": {\n                \"delay\": 864000,\n                \"message\": \"Assuming the question was answered, this will be automatically closed now.\"\n              },\n              \"solved\": {\n                \"delay\": 864000,\n                \"message\": \"Assuming the original issue was solved, it will be automatically closed now.\"\n              },\n              \"waiting\": {\n                \"delay\": 864000,\n                \"message\": \"Automatically closing after waiting for additional info. To re-open, please provide the additional information requested.\"\n              },\n              \"wontfix\": {\n                \"delay\": 864000,\n                \"message\": \"As discussed, we won't be implementing this. Automatically closing.\"\n              }\n            }\n", "state": "active", "repository": "jazzband/django-model-utils"}
{"mined_at": "2024-07-15T13:45:16.839701", "created_at": "2020-11-29T15:37:17+01:00", "updated_at": "2020-11-29T15:37:17+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n    - '*'\n\njobs:\n  build:\n    if: github.repository == 'jazzband/django-model-utils'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U setuptools twine wheel\n\n      - name: Build package\n        run: |\n          python setup.py --version\n          python setup.py sdist --format=gztar bdist_wheel\n          twine check dist/*\n\n      - name: Upload packages to Jazzband\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: jazzband\n          password: ${{ secrets.JAZZBAND_RELEASE_KEY }}\n          repository_url: https://jazzband.co/projects/django-model-utils/upload\n", "state": "active", "repository": "jazzband/django-model-utils"}
{"mined_at": "2024-07-15T13:45:17.855620", "created_at": "2020-11-29T14:39:31+01:00", "updated_at": "2020-11-29T14:39:31+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request]\n\nenv:\n  POSTGRES_USER: postgres\n  POSTGRES_PASSWORD: postgres\n  POSTGRES_DB: postgres\n  FORCE_COLOR: 1\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 5\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12-dev']\n\n    services:\n      postgres:\n        image: postgres:13-alpine\n        env:\n          POSTGRES_USER: ${{ env.POSTGRES_USER }}\n          POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}\n          POSTGRES_DB: ${{ env.POSTGRES_DB }}\n        ports:\n        - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"::set-output name=dir::$(pip cache dir)\"\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key:\n          ${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/tox.ini') }}\n        restore-keys: |\n          ${{ matrix.python-version }}-v1-\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade tox tox-gh-actions\n\n    - name: Tox tests\n      run: |\n        tox -v -- --cov --cov-append --cov-report term-missing --cov-report xml\n      env:\n        POSTGRES_DB: ${{ env.POSTGRES_DB }}\n        POSTGRES_USER: ${{ env.POSTGRES_USER }}\n        POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}\n\n    - name: Upload coverage\n      uses: codecov/codecov-action@v3\n      with:\n        name: Python ${{ matrix.python-version }}\n", "state": "active", "repository": "jazzband/django-model-utils"}
{"mined_at": "2024-07-15T13:45:19.913949", "created_at": "2020-12-29T12:51:26+01:00", "updated_at": "2021-04-25T17:26:52+02:00", "name": "Run Linux CI-Tests for vidgear", "path": ".github/workflows/ci_linux.yml", "contents": "# Copyright (c) 2019 Abhishek Thakur(@abhiTronix) <abhi.una12@gmail.com>\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n\n#    http://www.apache.org/licenses/LICENSE-2.0\n\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Run Linux CI-Tests for vidgear\n\non:\n  push:\n    branches:\n      - testing\n    paths-ignore:\n      - \"**/*.md\"\n      - \"**/*.html\"\n      - \"**/*.js\"\n      - \"**/*.css\"\n      - \"docs/**/*\"\n      - README.md\n      - mkdocs.yml\n  pull_request:\n    branches:\n      - testing\n    paths-ignore:\n      - \"**/*.md\"\n      - \"docs/**/*\"\n\njobs:\n  test:\n    name: CI Test vidgear\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: install apt_dependencies\n        run: |\n          sudo apt-get update -qq\n          sudo apt-get install -qq unzip wget -y\n          sudo apt-get install -qq dos2unix -y\n          sudo apt-get install ffmpeg v4l2loopback-dkms v4l2loopback-utils linux-modules-extra-$(uname -r) -y\n      - name: prepare bash_scripts\n        run: |\n          dos2unix scripts/bash/prepare_dataset.sh\n          chmod +x scripts/bash/prepare_dataset.sh\n          dos2unix scripts/bash/install_opencv.sh\n          chmod +x scripts/bash/install_opencv.sh\n      - name: install pip_dependencies\n        run: |\n          pip install -U pip wheel\n          pip install \"numpy<2.0.0\"\n          pip install -U .[asyncio] six httpx yt_dlp paramiko\n          pip uninstall opencv-python -y\n          pip install -U flake8 codecov pytest pytest-asyncio pytest-cov mpegdash m3u8 async-asgi-testclient\n          pip install -U deffcode\n        if: success()\n      - name: run prepare_dataset_script\n        run: bash scripts/bash/prepare_dataset.sh\n        shell: bash\n      - name: run install_opencv_script\n        run: bash scripts/bash/install_opencv.sh\n        shell: bash\n      - name: recheck pip_dependencies\n        run: pip install .[core]\n      - name: pytest with_ENV\n        run: |\n          mkdir -p $HOME/logs\n          export VIDGEAR_LOGFILE=\"$HOME/logs\"\n          timeout 1200 pytest --verbose --cov=vidgear --cov-report=xml  --cov-report term-missing vidgear/tests/ || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; else echo \"EXIT_CODE=$code\" >>$GITHUB_ENV; fi\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        if: success() && matrix.python-version == 3.7\n      - name: pytest without_ENV\n        run: |\n          sudo modprobe v4l2loopback devices=1 video_nr=0 exclusive_caps=1 card_label='VCamera'\n          timeout 1200 pytest --verbose --cov=vidgear --cov-report=xml  --cov-report term-missing vidgear/tests/ || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; else echo \"EXIT_CODE=$code\" >>$GITHUB_ENV; fi\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        if: success() && matrix.python-version != 3.7\n      - name: Display exit code\n        run: echo \"Exit code was = $EXIT_CODE\"\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          name: ${{ matrix.python-version }}\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n          verbose: true\n        if: ${{ env.EXIT_CODE != '124' }}\n", "state": "active", "repository": "abhitronix/vidgear"}
{"mined_at": "2024-07-15T13:45:20.907724", "created_at": "2020-06-11T17:42:30+02:00", "updated_at": "2021-04-25T17:26:52+02:00", "name": "VidGear Docs Deployer", "path": ".github/workflows/deploy_docs.yml", "contents": "# Copyright (c) 2019 Abhishek Thakur(@abhiTronix) <abhi.una12@gmail.com>\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n\n#    http://www.apache.org/licenses/LICENSE-2.0\n\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: VidGear Docs Deployer\n\non:\n  push:\n    branches:\n      - testing\n      - master\n  release:\n    types: [published]\n\nenv:\n  PYTHON_VERSION: 3.9\n  GIT_TOKEN: ${{ secrets.GIT_TOKEN }}\n  GIT_NAME: ${{ secrets.GIT_NAME }}\n  GIT_EMAIL: ${{ secrets.GIT_EMAIL }}\n\njobs:\n  deploy-docs-release:\n    name: Deploy Release Docs\n    if: github.event_name == 'release' && github.event.action == 'published'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: install_vidgear\n        run: |\n          python -m pip install --upgrade pip wheel setuptools\n          pip install .[asyncio]\n        if: success()\n      - name: install_dependencies\n        run: |\n          pip install -U mkdocs mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-minify-plugin          \n          pip install -U mkdocs-exclude mike mkdocstrings mkdocstrings-python-legacy\n          pip install -U mkdocs-git-authors-plugin\n          pip install jinja2==3.0.*\n        if: success()\n      - name: git configure\n        run: |\n          REMOTE=\"https://${GIT_TOKEN}@github.com/${GITHUB_REPOSITORY}\"\n          git config --global user.name \"${GIT_NAME}\"\n          git config --global user.email \"${GIT_EMAIL}\"\n          git remote set-url origin ${REMOTE}\n        if: success()\n      - name: Release name_configure\n        run: |\n          echo \"RELEASE_NAME=$(python -c 'import vidgear; print(vidgear.__version__)')\" >>$GITHUB_ENV\n        shell: bash\n        if: success()\n      - name: mike deploy docs release\n        run: |\n          echo \"${{ env.NAME_RELEASE }}\"\n          mike deploy --push --update-aliases --alias-type=copy ${{ env.NAME_RELEASE }} ${{ env.RELEASE_NAME }} --title=${{ env.RELEASE_NAME }}\n        env:\n          NAME_RELEASE: \"v${{ env.RELEASE_NAME }}-release\"\n        if: success()\n\n  deploy-docs-stable:\n    name: Deploy Latest Docs\n    if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: install_vidgear\n        run: |\n          python -m pip install --upgrade pip wheel setuptools\n          pip install .[asyncio]\n        if: success()\n      - name: install_dependencies\n        run: |\n          pip install -U mkdocs mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-minify-plugin          \n          pip install -U mkdocs-exclude mike mkdocstrings mkdocstrings-python-legacy\n          pip install -U mkdocs-git-authors-plugin          \n          pip install jinja2==3.0.*\n        if: success()\n      - name: git configure\n        run: |\n          REMOTE=\"https://${GIT_TOKEN}@github.com/${GITHUB_REPOSITORY}\"\n          git config --global user.name \"${GIT_NAME}\"\n          git config --global user.email \"${GIT_EMAIL}\"\n          git remote set-url origin ${REMOTE}\n        if: success()\n      - name: Release name_configure\n        run: |\n          echo \"RELEASE_NAME=$(python -c 'import vidgear; print(vidgear.__version__)')\" >>$GITHUB_ENV\n        shell: bash\n        if: success()\n      - name: mike deploy docs stable\n        run: |\n          echo \"${{ env.NAME_STABLE }}\"\n          mike deploy --push --update-aliases --alias-type=copy ${{ env.NAME_STABLE }} latest --title=latest\n          mike set-default --push latest\n        env:\n          NAME_STABLE: \"v${{ env.RELEASE_NAME }}-stable\"\n        if: success()\n\n  deploy-docs-dev:\n    name: Deploy Development Docs\n    if: github.event_name == 'push' && github.ref == 'refs/heads/testing'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - run: git checkout testing\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: install_vidgear\n        run: |\n          python -m pip install --upgrade pip wheel setuptools\n          pip install .[asyncio]\n        if: success()\n      - name: install_dependencies\n        run: |\n          pip install -U mkdocs mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-minify-plugin          \n          pip install -U mkdocs-exclude mike mkdocstrings mkdocstrings-python-legacy\n          pip install -U mkdocs-git-authors-plugin          \n          pip install jinja2==3.0.*\n        if: success()\n      - name: git configure\n        run: |\n          REMOTE=\"https://${GIT_TOKEN}@github.com/${GITHUB_REPOSITORY}\"\n          git config --global user.name \"${GIT_NAME}\"\n          git config --global user.email \"${GIT_EMAIL}\"\n          git remote set-url origin ${REMOTE}\n        if: success()\n      - name: Release name_configure\n        run: |\n          echo \"RELEASE_NAME=$(python -c 'import vidgear; print(vidgear.__version__)')\" >>$GITHUB_ENV\n        shell: bash\n        if: success()\n      - name: mike deploy docs dev\n        run: |\n          echo \"Releasing ${{ env.NAME_DEV }}\"\n          mike deploy --push --update-aliases --alias-type=copy ${{ env.NAME_DEV }} dev --title=dev\n        env:\n          NAME_DEV: \"v${{ env.RELEASE_NAME }}-dev\"\n        if: success()\n", "state": "active", "repository": "abhitronix/vidgear"}
{"mined_at": "2024-07-15T13:45:21.903398", "created_at": "2020-12-26T05:59:41+01:00", "updated_at": "2020-12-26T05:59:41+01:00", "name": "Needs More Info Workflow", "path": ".github/workflows/need_info.yml", "contents": "name: Needs More Info Workflow\non:\n  pull_request:\n    types: [opened]\n  issues:\n    types: [opened]\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: wow-actions/needs-more-info@v1\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          CONFIG_FILE: .github/needs-more-info.yml", "state": "active", "repository": "abhitronix/vidgear"}
{"mined_at": "2024-07-15T13:45:22.901913", "created_at": "2022-02-07T06:42:35+01:00", "updated_at": "2022-02-07T06:42:35+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "abhitronix/vidgear"}
{"mined_at": "2024-07-15T13:45:24.947840", "created_at": "2020-09-14T18:59:21+02:00", "updated_at": "2023-02-03T10:03:10+01:00", "name": "CI tests", "path": ".github/workflows/ci.yml", "contents": "name: CI tests\n\non:\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"pyproject.toml\"\n      - \"mkdocs.yml\"\n      - \".readthedocs.yml\"\n      - \".github/workflows/docs.yml\"\n\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n\nenv:\n  POETRY_VERSION: \"1.2.2\"\n  POETRY_VIRTUALENVS_IN_PROJECT: \"1\"\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    services:\n      postgres:\n        image: postgres:16\n        env:\n          POSTGRES_PASSWORD: djstripe\n          POSTGRES_DB: djstripe\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n      mysql:\n        image: mysql:8.3\n        env:\n          MYSQL_ROOT_PASSWORD: djstripe\n          MYSQL_DATABASE: djstripe\n        ports:\n          - 3306:3306\n        options: >-\n          --health-cmd=\"mysqladmin ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: ./.github/install_poetry_action\n        with:\n            POETRY_VERSION: ${{ env.POETRY_VERSION }}\n            python_version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: poetry install --with ci\n\n      - name: Test with tox for ${{ matrix.python-version }}\n        run: poetry run tox\n\n      - name: Convert coverage\n        run: poetry run coverage xml\n", "state": "active", "repository": "dj-stripe/dj-stripe"}
{"mined_at": "2024-07-15T13:45:25.941057", "created_at": "2020-09-21T23:52:05+02:00", "updated_at": "2020-09-21T23:52:05+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: \"0 11 * * 2\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: [\"python\"]\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "dj-stripe/dj-stripe"}
{"mined_at": "2024-07-15T13:45:26.972676", "created_at": "2022-10-18T03:04:39+02:00", "updated_at": "2022-10-18T03:04:39+02:00", "name": "Build and deploy docs", "path": ".github/workflows/docs.yml", "contents": "name: Build and deploy docs\n\non:\n  push:\n    branches:\n      - \"master\"\n      # Push events to branches matching \"stable/*\"\n      - \"stable/*\"\n\n  workflow_dispatch: # to trigger manually\n\nenv:\n  POETRY_VERSION: \"1.2.2\"\n  POETRY_VIRTUALENVS_IN_PROJECT: \"1\"\n  LATEST_STABLE_BRANCH: \"stable/2.8\"\n  DOCS_REPO: \"dj-stripe.github.io\"\n  OWNER: \"dj-stripe\" # if you forked the repo, change this to your gh username\n  SOURCE_REPO: \"dj-stripe\"\n\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source repo\n        uses: actions/checkout@v4\n\n      - name: Checkout documentation repo\n        uses: actions/checkout@v4\n        with:\n          repository: \"${{ env.OWNER }}/${{ env.DOCS_REPO }}\"\n          path: ./${{ env.DOCS_REPO }}\n          # token: ${{ secrets.GH_PAT }}  # Token needed to push site to gh-pages branch\n          ssh-key: ${{ secrets.SSH_KEY }}\n\n\n      - uses: ./.github/install_poetry_action\n        with:\n            POETRY_VERSION: ${{ env.POETRY_VERSION }}\n            python_version: \"3.12\"\n\n      - name: Copy docs and configuration from source to documentation repo\n        run: |\n          cp -r pyproject.toml mkdocs.yml docs tests ${{ env.DOCS_REPO }}/\n          cd ${{ env.DOCS_REPO }}\n          sed -i 's|name = \"dj-stripe\"|name = \"dj-stripe-docs\"|' pyproject.toml\n          sed -i 's|include = \"djstripe\"|include = \"../djstripe\"|' pyproject.toml\n          poetry add ../../dj-stripe\n\n      - name: Install dependencies\n        run: |\n            cd ${{ env.DOCS_REPO }}\n            poetry install --with docs\n\n      - name: Configure git user to make commit\n        run: |\n          git config --global user.name \"dj-stripe commit bot\"\n          git config --global user.email \"admin@djstripe.dev\"\n\n      - name: Fetch gh-pages remote changes (if any)\n        run: |\n            cd ${{ env.DOCS_REPO }}\n            git fetch origin gh-pages --depth=1\n\n      - name: Deploy (and Update) docs for the branch, ${GITHUB_REF##*/}\n        run: |\n            cd ${{ env.DOCS_REPO }}\n            poetry run mike deploy --push \"${GITHUB_REF##*/}\"\n\n      - name: Set default docs to ${LATEST_STABLE_BRANCH##*/}\n        run: |\n            cd ${{ env.DOCS_REPO }}\n            poetry run mike set-default --push \"${LATEST_STABLE_BRANCH##*/}\"\n", "state": "active", "repository": "dj-stripe/dj-stripe"}
{"mined_at": "2024-07-15T13:45:28.206668", "created_at": "2022-10-18T04:44:09+02:00", "updated_at": "2022-10-18T04:44:09+02:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\n\non:\n  push:\n\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n\nenv:\n  POETRY_VERSION: \"1.2.2\"\n  POETRY_VIRTUALENVS_IN_PROJECT: \"1\"\n\n\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:16\n        env:\n          POSTGRES_PASSWORD: djstripe\n          POSTGRES_DB: djstripe\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: ./.github/install_poetry_action\n        with:\n            POETRY_VERSION: ${{ env.POETRY_VERSION }}\n            python_version: \"3.12\"\n\n      - name: Install pre-commit\n        run: poetry install --with dev -E postgres\n\n      - name: Run pre-commit\n        run: poetry run pre-commit run --all-files --show-diff-on-failure\n", "state": "active", "repository": "dj-stripe/dj-stripe"}
{"mined_at": "2024-07-15T13:45:29.307494", "created_at": "2021-12-17T00:44:33+01:00", "updated_at": "2021-12-17T00:44:33+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "dj-stripe/dj-stripe"}
{"mined_at": "2024-07-15T13:45:31.381568", "created_at": "2020-12-28T16:06:32+01:00", "updated_at": "2021-10-11T19:23:38+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\non: [push, pull_request]\n\njobs:\n  windows:\n    name: Build for Windows\n    runs-on: windows-2019\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n          architecture: x86\n\n      - name: Check Python install\n        run: |\n          which python\n          python --version\n          python -c \"import struct; print(struct.calcsize('P') * 8)\"\n          which pip\n          pip --version\n\n      - name: Install Python dependencies\n        run: |\n          pip3 install -U setuptools wheel pip\n          pip3 install -r requirements.txt\n          pip3 install -r requirements_gui.txt\n          pip3 install py2exe\n\n      - name: Check Python dependencies\n        run: |\n          python3 -c \"from PySide2 import __version__; print(__version__)\"\n          python3 -c \"from PySide2.QtCore import __version__; print(__version__)\"\n          python3 -c \"from PySide2.QtCore import QLibraryInfo; print(QLibraryInfo.location(QLibraryInfo.LibrariesPath))\"\n\n      - name: Build\n        run: |\n          $ver = (findstr version .\\syncplay\\__init__.py).split(\"'\")[1]\n          echo $ver\n          echo \"VER=$ver\" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append\n          python buildPy2exe.py\n          New-Item -Path syncplay_v$ver -Name \"syncplay.ini\" -Value \" \"\n\n      - name: Prepare for deployment\n        run: dir\n\n      - name: Deploy portable\n        uses: actions/upload-artifact@v2\n        with:\n          name: Syncplay_${{ env.VER }}_Portable\n          path: |\n            syncplay_v${{ env.VER }}\n\n      - name: Deploy installer\n        uses: actions/upload-artifact@v2\n        with:\n          name: Syncplay-${{ env.VER }}-Setup.exe\n          path: |\n            Syncplay-${{ env.VER }}-Setup.exe\n\n  macos:\n    name: Build for macOS\n    runs-on: macos-12\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        run: |\n          wget https://www.python.org/ftp/python/3.10.6/python-3.10.6-macos11.pkg\n          sudo installer -verbose -pkg ./python-3.10.6-macos11.pkg -target /\n          echo \"/Library/Frameworks/Python.framework/Versions/3.10/bin\" >> $GITHUB_PATH\n\n      - name: Check Python install\n        run: |\n          which python3\n          python3 --version\n          which pip3\n          pip3 --version\n          file $(which python3)\n\n      - name: Install Python dependencies\n        run: |\n          pip3 install -U pip setuptools wheel\n          pip3 install -r requirements.txt\n          pip3 install -r requirements_gui.txt\n          pip3 install py2app\n\n      - name: Install universal2 dependencies\n        env:\n          CFLAGS: -arch x86_64 -arch arm64\n          ARCHFLAGS: -arch x86_64 -arch arm64\n        run: |\n          pip3 uninstall zope.interface -y\n          pip3 install --no-binary :all: zope.interface\n\n          pip3 uninstall cffi -y\n          pip3 install --no-binary :all: cffi\n\n          pip3 uninstall cryptography -y\n          pip3 download --platform macosx_10_10_universal2 --only-binary :all: --no-deps --dest . cryptography\n          pip3 install --no-cache-dir --no-index --find-links . cryptography\n\n          pip3 uninstall charset-normalizer -y\n          pip3 download --platform macosx_10_9_universal2 --only-binary :all: --no-deps --dest . charset-normalizer\n          pip3 install --no-cache-dir --no-index --find-links . charset-normalizer\n\n      - name: Check Python dependencies\n        run: |\n          python3 -c \"from PySide6 import __version__; print(__version__)\"\n          python3 -c \"from PySide6.QtCore import __version__; print(__version__)\"\n          python3 -c \"from PySide6.QtCore import QLibraryInfo; print(QLibraryInfo.location(QLibraryInfo.LibrariesPath))\"\n          python3 -c \"import ssl; print(ssl)\"\n          python3 -c \"from py2app.recipes import pyside6\"\n          python3 -c 'from distutils.sysconfig import get_config_var; print(get_config_var(\"LDLIBRARY\"))'\n\n      - name: Build\n        run: |\n          python3 buildPy2app.py py2app\n\n      - name: Prepare for deployment\n        run: |\n          ls -al\n          export VER=\"$(cat syncplay/__init__.py | awk '/version/ {gsub(\"\\047\", \"\", $3); print $NF}')\"\n          echo \"VER=$VER\" >> $GITHUB_ENV\n          mkdir dist_actions\n          ci/macos-deploy.sh\n          ls -al dist_actions\n\n      - name: Deploy\n        uses: actions/upload-artifact@v2\n        with:\n          name: Syncplay_${{ env.VER }}.dmg\n          path: |\n            dist_actions/Syncplay_${{ env.VER }}.dmg\n\n  deb:\n    name: Build Debian package\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Build\n        run: ci/deb-script.sh\n\n      - name: Build server\n        run: ci/deb-server-script.sh\n\n      - name: Test\n        run: ci/deb-installation-test.sh\n\n      - name: Prepare for deployment\n        run: |\n          ls -al\n          export VER=\"$(cat syncplay/__init__.py | awk '/version/ {gsub(\"\\047\", \"\", $3); print $NF}')\"\n          echo \"VER=$VER\" >> $GITHUB_ENV\n          mkdir dist_actions\n          mv /tmp/syncplay.deb dist_actions/syncplay_${VER}.deb\n          mv /tmp/syncplay-server.deb dist_actions/syncplay-server_${VER}.deb\n          ls -al dist_actions\n\n      - name: Deploy full deb\n        uses: actions/upload-artifact@v2\n        with:\n          name: syncplay.deb\n          path: |\n            dist_actions/syncplay_*.deb\n\n      - name: Deploy server deb\n        uses: actions/upload-artifact@v2\n        with:\n          name: syncplay-server.deb\n          path: |\n            dist_actions/syncplay-server_*.deb\n", "state": "active", "repository": "syncplay/syncplay"}
{"mined_at": "2024-07-15T13:45:33.386604", "created_at": "2020-04-18T16:15:24+02:00", "updated_at": "2020-04-18T16:15:24+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "# see https://github.com/karlicoss/pymplate for up-to-date reference\n\nname: CI\non:\n  push:\n    branches: '*'\n    tags: 'v[0-9]+.*' # only trigger on 'release' tags for PyPi\n    # Ideally I would put this in the pypi job... but github syntax doesn't allow for regexes there :shrug:\n  pull_request: # needed to trigger on others' PRs\n  # Note that people who fork it need to go to \"Actions\" tab on their fork and click \"I understand my workflows, go ahead and enable them\".\n  workflow_dispatch: # needed to trigger workflows manually\n    # todo cron?\n    inputs:\n      debug_enabled:\n        type: boolean\n        description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'\n        required: false\n        default: false\n\n\njobs:\n  build:\n    strategy:\n      matrix:\n        platform: [ubuntu-latest, macos-latest,  windows-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        exclude: [\n            # windows runners are pretty scarce, so let's only run lowest and highest python version\n            {platform: windows-latest, python-version: '3.9' },\n            {platform: windows-latest, python-version: '3.10'},\n            {platform: windows-latest, python-version: '3.11'},\n\n            # same, macos is a bit too slow and ubuntu covers python quirks well\n            {platform: macos-latest  , python-version: '3.9'  },\n            {platform: macos-latest  , python-version: '3.10' },\n            {platform: macos-latest  , python-version: '3.11' },\n        ]\n\n    runs-on: ${{ matrix.platform }}\n\n    # useful for 'optional' pipelines\n    # continue-on-error: ${{ matrix.platform == 'windows-latest' }}\n\n    steps:\n    # ugh https://github.com/actions/toolkit/blob/main/docs/commands.md#path-manipulation\n    - run: echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n        fetch-depth: 0  # nicer to have all git history when debugging/for tests\n\n    - uses: mxschmitt/action-tmate@v3\n      if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}\n\n    # explicit bash command is necessary for Windows CI runner, otherwise it thinks it's cmd...\n    - run: bash .ci/run\n\n    - if: matrix.platform == 'ubuntu-latest'  # no need to compute coverage for other platforms\n      uses: actions/upload-artifact@v4\n      with:\n        name: .coverage.mypy-misc_${{ matrix.platform }}_${{ matrix.python-version }}\n        path: .coverage.mypy-misc/\n    - if: matrix.platform == 'ubuntu-latest'  # no need to compute coverage for other platforms\n      uses: actions/upload-artifact@v4\n      with:\n        name: .coverage.mypy-core_${{ matrix.platform }}_${{ matrix.python-version }}\n        path: .coverage.mypy-core/\n\n  pypi:\n    runs-on: ubuntu-latest\n    needs: [build] # add all other jobs here\n\n    steps:\n    # ugh https://github.com/actions/toolkit/blob/main/docs/commands.md#path-manipulation\n    - run: echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n\n    - name: 'release to test pypi'\n      # always deploy merged master to test pypi\n      if: github.event_name != 'pull_request' && github.event.ref == 'refs/heads/master'\n      env:\n        TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD_TEST }}\n      run: pip3 install --user --upgrade build twine && .ci/release --test\n\n    - name: 'release to pypi'\n      # always deploy tags to release pypi\n      # NOTE: release tags are guarded by on: push: tags on the top\n      if: github.event_name != 'pull_request' && startsWith(github.event.ref, 'refs/tags')\n      env:\n        TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n      run: pip3 install --user --upgrade build twine && .ci/release\n", "state": "active", "repository": "karlicoss/hpi"}
{"mined_at": "2024-07-15T13:45:36.318085", "created_at": "2022-11-15T18:59:55+01:00", "updated_at": "2022-11-15T18:59:55+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\", \"1.4_branch\", \"2.0_branch\", \"2.1_branch\", \"2.2_branch\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"2 18 * * 2\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "omry/omegaconf"}
{"mined_at": "2024-07-15T13:45:38.652000", "created_at": "2024-04-17T12:45:04+02:00", "updated_at": "2024-04-17T18:25:41+02:00", "name": "Deploy textX docs to Pages", "path": ".github/workflows/docs.yml", "contents": "name: Deploy textX docs to Pages\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches: [master]\n    paths:\n      - 'docs/**'\n      - '.github/workflows/docs.yml'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: true\n\njobs:\n  # Build job\n  build:\n    runs-on: ubuntu-latest\n    container:\n      image: igordejanovic/mdbook-textx\n      options: --user root\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Pages\n        id: pages\n        uses: actions/configure-pages@v5\n      - name: Build with mdBook\n        run: |\n          cd ./docs\n          mdbook build\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: ./docs/book\n\n  # Deployment job\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "textx/textx"}
{"mined_at": "2024-07-15T13:45:39.797122", "created_at": "2024-04-17T16:47:06+02:00", "updated_at": "2024-04-17T18:25:41+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    paths:\n      - 'textx/**'\n      - 'tests/**'\n      - 'examples/**'\n      - '.github/workflows/tests.yml'\n  pull_request:\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install test dependencies\n      run: |\n        ./install-test.sh\n    - name: Install dev version of Arpeggio\n      run: |\n        cd ..\n        git clone --depth=1 --branch=master https://github.com/textX/Arpeggio\n        pip install -e Arpeggio --upgrade\n        cd textX\n    - name: Run unit tests\n      run: |\n        ./runtests.sh\n    - name: Upload coverage data to coveralls.io\n      env:\n        COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_FLAG_NAME: ${{ matrix.python-version }}\n        COVERALLS_PARALLEL: true\n      run: |\n        coveralls --service=github\n", "state": "active", "repository": "textx/textx"}
{"mined_at": "2024-07-15T13:45:40.791253", "created_at": "2022-02-20T15:05:51+01:00", "updated_at": "2022-02-20T15:05:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "textx/textx"}
{"mined_at": "2024-07-15T13:45:42.955636", "created_at": "2023-02-13T22:26:36+01:00", "updated_at": "2024-04-25T11:20:25+02:00", "name": "Build and test matrix", "path": ".github/workflows/build_and_test_matrix.yml", "contents": "name: Build and test matrix\n\non:\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macOS-latest, ubuntu-latest, windows-latest]\n        python-version: ['3.10', '3.11', '3.12']\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n         pip install --upgrade pip\n         pip install flake8 pytest wheel\n         pip install \"numpy<2\"\n    - name: Install HDF5 on macOS\n      if: matrix.os == 'macOS-latest'\n      run: |\n         brew install hdf5 c-blosc\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        flake8 . --count --select=E9,F63,F7 --show-source --statistics\n        # exit-zero treats all errors as warnings. The Sfepy style should be 79 chars\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=79 --statistics\n    - name: install sfepy\n      run: |\n        pip install .\n    - name: Test with pytest\n      run: |\n        # We create a special directory for running tests, to ensure that the\n        # installed package is used, rather than the source in current\n        # directory.\n        mkdir -p sfepy-testing\n        cd sfepy-testing\n        pytest ../sfepy/tests -v -x --durations=10\n", "state": "active", "repository": "sfepy/sfepy"}
{"mined_at": "2024-07-15T13:45:45.308209", "created_at": "2020-12-10T23:39:45+01:00", "updated_at": "2022-10-17T03:06:35+02:00", "name": "ipykernel tests", "path": ".github/workflows/ci.yml", "contents": "name: ipykernel tests\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ci-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash -eux {0}\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: [\"3.8\", \"3.12\"]\n        include:\n          - os: windows-latest\n            python-version: \"3.9\"\n          - os: ubuntu-latest\n            python-version: \"pypy-3.9\"\n          - os: macos-latest\n            python-version: \"3.10\"\n          - os: ubuntu-latest\n            python-version: \"3.11\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Run the tests\n        timeout-minutes: 15\n        if: ${{ !startsWith( matrix.python-version, 'pypy' ) && !startsWith(matrix.os, 'windows') }}\n        run: |\n          hatch run cov:test --cov-fail-under 50 || hatch run test:test --lf\n\n      - name: Run the tests on pypy\n        timeout-minutes: 15\n        if: ${{ startsWith( matrix.python-version, 'pypy' ) }}\n        run: |\n          hatch run test:nowarn || hatch run test:nowarn --lf\n\n      - name: Run the tests on Windows\n        timeout-minutes: 15\n        if: ${{  startsWith(matrix.os, 'windows') }}\n        run: |\n          hatch run cov:nowarn || hatch run test:nowarn --lf\n\n      - name: Check Launcher\n        run: |\n          pip install .\n          cd $HOME\n          python -m ipykernel_launcher --help\n\n      - uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1\n\n  coverage:\n    runs-on: ubuntu-latest\n    needs:\n      - build\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/report-coverage@v1\n        with:\n          fail_under: 80\n\n  test_lint:\n    name: Test Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Run Linters\n        run: |\n          hatch run typing:test\n          pipx run interrogate -vv . --fail-under 90\n          hatch run lint:build\n          pipx run doc8 --max-line-length=200\n\n  check_release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  test_docs:\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Build API docs\n        run: |\n          hatch run docs:api\n          # If this fails run `hatch run docs:api` locally\n          # and commit.\n          git status --porcelain\n          git status -s | grep \"A\" && exit 1\n          git status -s | grep \"M\" && exit 1\n          echo \"API docs done\"\n      - run: hatch run docs:build\n\n  test_without_debugpy:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.9\"]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Install the Python dependencies without debugpy\n        run: |\n          pip install .[test]\n          pip uninstall --yes debugpy\n\n      - name: List installed packages\n        run: |\n          pip freeze\n\n      - name: Run the tests\n        timeout-minutes: 15\n        run: pytest -W default -vv || pytest --vv -W default --lf\n\n  test_miniumum_versions:\n    name: Test Minimum Versions\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: minimum\n\n      - name: List installed packages\n        run: |\n          hatch -v run test:list\n\n      - name: Run the unit tests\n        run: |\n          hatch -v run test:nowarn || hatch run test:nowarn --lf\n\n  test_prereleases:\n    name: Test Prereleases\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: pre\n      - name: Run the tests\n        run: |\n          hatch run test:nowarn || hatch run test:nowarn --lf\n\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/make-sdist@v1\n\n  test_sdist:\n    runs-on: ubuntu-latest\n    needs: [make_sdist]\n    name: Install from SDist and Test\n    timeout-minutes: 20\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1\n\n  link_check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1\n\n  tests_check: # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n      - coverage\n      - test_docs\n      - test_without_debugpy\n      - test_miniumum_versions\n      - test_lint\n      - test_prereleases\n      - check_release\n      - link_check\n      - test_sdist\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "ipython/ipykernel"}
{"mined_at": "2024-07-15T13:45:46.429147", "created_at": "2021-04-13T11:13:09+02:00", "updated_at": "2021-08-23T11:35:06+02:00", "name": "Test downstream projects", "path": ".github/workflows/downstream.yml", "contents": "name: Test downstream projects\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n\nconcurrency:\n  group: downstream-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  nbclient:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Run Test\n        uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: nbclient\n          env_values: IPYKERNEL_CELL_NAME=\\<IPY-INPUT\\>\n\n  ipywidgets:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Run Test\n        uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: ipywidgets\n          test_command: pytest -vv -raXxs -k \\\"not deprecation_fa_icons and not tooltip_deprecation and not on_submit_deprecation\\\" -W default --durations 10 --color=yes\n\n  jupyter_client:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Run Test\n        uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: jupyter_client\n\n  ipyparallel:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Run Test\n        uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: ipyparallel\n          package_spec: '-e \".[test]\"'\n\n  jupyter_kernel_test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Run Test\n        run: |\n          git clone https://github.com/jupyter/jupyter_kernel_test.git\n          cd jupyter_kernel_test\n          pip install -e \".[test]\"\n          python test_ipykernel.py\n\n  qtconsole:\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n          architecture: \"x64\"\n      - name: Install System Packages\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y --no-install-recommends '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev\n      - name: Install qtconsole dependencies\n        shell: bash -l {0}\n        run: |\n          cd ${GITHUB_WORKSPACE}/..\n          git clone https://github.com/jupyter/qtconsole.git\n          cd qtconsole\n          ${pythonLocation}/bin/python -m pip install -e \".[test]\"\n          ${pythonLocation}/bin/python -m pip install pyqt5\n      - name: Install Ipykernel changes\n        shell: bash -l {0}\n        run: ${pythonLocation}/bin/python -m pip install -e .\n      - name: Test qtconsole\n        shell: bash -l {0}\n        run: |\n          cd ${GITHUB_WORKSPACE}/../qtconsole\n          xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -x -vv -s --full-trace --color=yes qtconsole\n\n  spyder_kernels:\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n          architecture: \"x64\"\n      - name: Install System Packages\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y --no-install-recommends libegl1-mesa\n      - name: Install spyder-kernels dependencies\n        shell: bash -l {0}\n        run: |\n          cd ${GITHUB_WORKSPACE}/..\n          git clone https://github.com/spyder-ide/spyder-kernels.git\n          cd spyder-kernels\n          ${pythonLocation}/bin/python -m pip install -e \".[test]\"\n      - name: Install IPykernel changes\n        shell: bash -l {0}\n        run: ${pythonLocation}/bin/python -m pip install -e .\n      - name: Test spyder-kernels\n        shell: bash -l {0}\n        run: |\n          cd ${GITHUB_WORKSPACE}/../spyder-kernels\n          xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -x -vv -s --full-trace --color=yes spyder_kernels\n\n  downstream_check: # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n      - nbclient\n      - ipywidgets\n      - jupyter_client\n      - ipyparallel\n      - jupyter_kernel_test\n      - spyder_kernels\n      - qtconsole\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "ipython/ipykernel"}
{"mined_at": "2024-07-15T13:45:47.542660", "created_at": "2021-11-18T16:54:48+01:00", "updated_at": "2021-11-18T17:24:38+01:00", "name": "Enforce PR label", "path": ".github/workflows/enforce-label.yml", "contents": "name: Enforce PR label\n\nconcurrency:\n  group: label-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, edited, synchronize]\njobs:\n  enforce-label:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: enforce-triage-label\n        uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1\n", "state": "active", "repository": "ipython/ipykernel"}
{"mined_at": "2024-07-15T13:45:48.560403", "created_at": "2022-11-11T16:24:49+01:00", "updated_at": "2022-11-11T16:24:49+01:00", "name": "Step 1: Prep Release", "path": ".github/workflows/prep-release.yml", "contents": "name: \"Step 1: Prep Release\"\non:\n  workflow_dispatch:\n    inputs:\n      version_spec:\n        description: \"New Version Specifier\"\n        default: \"next\"\n        required: false\n      branch:\n        description: \"The branch to target\"\n        required: false\n      post_version_spec:\n        description: \"Post Version Specifier\"\n        required: false\n      silent:\n        description: \"Set a placeholder in the changelog and don't publish the release.\"\n        required: false\n        type: boolean\n      since:\n        description: \"Use PRs with activity since this date or git reference\"\n        required: false\n      since_last_stable:\n        description: \"Use PRs with activity since the last stable git tag\"\n        required: false\n        type: boolean\njobs:\n  prep_release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Prep Release\n        id: prep-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          version_spec: ${{ github.event.inputs.version_spec }}\n          silent: ${{ github.event.inputs.silent }}\n          post_version_spec: ${{ github.event.inputs.post_version_spec }}\n          target: ${{ github.event.inputs.target }}\n          branch: ${{ github.event.inputs.branch }}\n          since: ${{ github.event.inputs.since }}\n          since_last_stable: ${{ github.event.inputs.since_last_stable }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}\"\n", "state": "active", "repository": "ipython/ipykernel"}
{"mined_at": "2024-07-15T13:45:49.712534", "created_at": "2024-03-12T13:17:54+01:00", "updated_at": "2024-03-12T13:17:54+01:00", "name": "Publish Changelog", "path": ".github/workflows/publish-changelog.yml", "contents": "name: \"Publish Changelog\"\non:\n  release:\n    types: [published]\n\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch to target\"\n        required: false\n\njobs:\n  publish_changelog:\n    runs-on: ubuntu-latest\n    environment: release\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Publish changelog\n        id: publish-changelog\n        uses: jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}\"\n", "state": "active", "repository": "ipython/ipykernel"}
{"mined_at": "2024-07-15T13:45:50.735898", "created_at": "2022-11-11T16:24:49+01:00", "updated_at": "2022-11-11T16:24:49+01:00", "name": "Step 2: Publish Release", "path": ".github/workflows/publish-release.yml", "contents": "name: \"Step 2: Publish Release\"\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The target branch\"\n        required: false\n      release_url:\n        description: \"The URL of the draft GitHub release\"\n        required: false\n      steps_to_skip:\n        description: \"Comma separated list of steps to skip\"\n        required: false\n\njobs:\n  publish_release:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Populate Release\n        id: populate-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n          release_url: ${{ github.event.inputs.release_url }}\n          steps_to_skip: ${{ github.event.inputs.steps_to_skip }}\n\n      - name: Finalize Release\n        id: finalize-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          release_url: ${{ steps.populate-release.outputs.release_url }}\n\n      - name: \"** Next Step **\"\n        if: ${{ success() }}\n        run: |\n          echo \"Verify the final release\"\n          echo ${{ steps.finalize-release.outputs.release_url }}\n\n      - name: \"** Failure Message **\"\n        if: ${{ failure() }}\n        run: |\n          echo \"Failed to Publish the Draft Release Url:\"\n          echo ${{ steps.populate-release.outputs.release_url }}\n", "state": "active", "repository": "ipython/ipykernel"}
{"mined_at": "2024-07-15T13:45:52.826464", "created_at": "2021-04-19T08:14:48+02:00", "updated_at": "2023-12-12T22:42:02+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/PR_labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        sparse-checkout: |\n          .github\n    - uses: actions/labeler@v5\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        sync-labels: true\n", "state": "active", "repository": "scikit-rf/scikit-rf"}
{"mined_at": "2024-07-15T13:45:53.834855", "created_at": "2022-10-18T17:50:18+02:00", "updated_at": "2022-10-18T20:46:37+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '33 16 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: ['python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "scikit-rf/scikit-rf"}
{"mined_at": "2024-07-15T13:45:54.843858", "created_at": "2024-03-12T23:13:17+01:00", "updated_at": "2024-03-17T19:16:53+01:00", "name": "Code linting", "path": ".github/workflows/linting.yml", "contents": "name: Code linting\n\non: [push, pull_request]\n\njobs:\n  Tests:\n\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      checks: write\n      id-token: write\n      pull-requests: write\n    strategy:\n      matrix:\n        python-version: ['3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Lint with Ruff\n      run: |\n        python -m pip install --upgrade pip\n        pip install ruff\n        ruff check --output-format=github .", "state": "active", "repository": "scikit-rf/scikit-rf"}
{"mined_at": "2024-07-15T13:45:55.871242", "created_at": "2020-11-28T15:43:18+01:00", "updated_at": "2024-05-06T22:59:59+02:00", "name": "Code testing", "path": ".github/workflows/testing.yml", "contents": "name: Code testing\n\non: [push, pull_request]\n\njobs:\n  Tests:\n\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox tox-gh-actions\n\n    # run the tests located in skrf/\n    - name: Test the code, tutorials and examples\n      if: ${{ always() }}\n      run: |\n        tox\n\n    - name: Upload Test Results\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: Test Results (Python ${{ matrix.python-version }})\n        path: test-results/*.xml\n                  \n\n    # Upload coverage data to coveralls.io\n    - name: Upload coverage data to coveralls.io\n      continue-on-error: true\n      if: ${{ always() }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_FLAG_NAME: ${{ matrix.test-name }}\n        COVERALLS_PARALLEL: true\n      run: |\n        pip install coveralls\n        coveralls --service=github\n\n  coveralls:\n    name: Indicate completion to coveralls.io (Finish)\n    continue-on-error: true\n    if: ${{ always() }}\n    needs: Tests\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n      - name: Finished\n        run: |\n          pip3 install --upgrade coveralls\n          coveralls --finish\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n\n  publish-test-results:\n    name: \"Publish Tests Results\"\n    needs: Tests\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n\n      # only needed unless run with comment_mode: off\n      pull-requests: write\n\n    if: always()\n\n    steps:\n      - name: Download Artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: artifacts\n\n      - name: Publish Test Results\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          files: \"artifacts/**/*.xml\"", "state": "active", "repository": "scikit-rf/scikit-rf"}
{"mined_at": "2024-07-15T13:45:56.823474", "created_at": "2024-03-12T21:19:32+01:00", "updated_at": "2024-03-12T21:22:39+01:00", "name": "nightly testing", "path": ".github/workflows/testing_nightly.yml", "contents": null, "state": "active", "repository": "scikit-rf/scikit-rf"}
{"mined_at": "2024-07-15T13:45:57.829945", "created_at": "2021-12-02T20:38:03+01:00", "updated_at": "2021-12-03T15:46:07+01:00", "name": "notebooks testing", "path": ".github/workflows/testing_notebooks.yml", "contents": "name: notebooks testing\n\non: [push, pull_request]\n\njobs:\n  test-notebooks:\n\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.draft == false\n    strategy:\n      matrix:\n        python-version: ['3.9']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox tox-gh-actions\n\n    # test code *and* notebooks (tutorials and examples)\n    - name: Test the code, tutorials and examples\n      if: ${{ always() }}\n      run: |\n        tox --skip-env minimal-dependencies -- --nbval-lax --nbval-current-env --dist loadscope\n", "state": "active", "repository": "scikit-rf/scikit-rf"}
{"mined_at": "2024-07-15T13:45:58.918927", "created_at": "2023-07-28T15:17:50+02:00", "updated_at": "2023-07-28T15:17:50+02:00", "name": "Check URLs", "path": ".github/workflows/urlchecker.yml", "contents": "name: Check URLs\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: urls-checker\n      uses: urlstechie/urlchecker-action@master\n      with:\n        # A subfolder or path to navigate to in the present or cloned repository\n        subfolder: doc\n\n        # A comma-separated list of file types to cover in the URL checks\n        file_types: .md,.py,.rst\n\n        # Choose whether to include file with no URLs in the prints.\n        print_all: false\n\n        # The timeout seconds to provide to requests, defaults to 5 seconds\n        timeout: 5\n\n        # How many times to retry a failed request (each is logged, defaults to 1)\n        retry_count: 3\n\n        # A comma separated links to exclude during URL checks\n        exclude_urls:\n\n        # A comma separated patterns to exclude during URL checks\n        exclude_patterns:\n\n        # choose if the force pass or not\n        force_pass : true\n", "state": "active", "repository": "scikit-rf/scikit-rf"}
{"mined_at": "2024-07-15T13:46:00.897263", "created_at": "2024-03-04T20:35:51+01:00", "updated_at": "2024-03-04T20:35:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "counterpartyxcp/counterparty-lib"}
{"mined_at": "2024-07-15T13:46:02.899845", "created_at": "2024-05-06T10:24:41+02:00", "updated_at": "2024-05-06T11:36:42+02:00", "name": "conda build", "path": ".github/workflows/python-package-conda.yml", "contents": "name: conda build\n\non: [ push ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgis/postgis:16-3.4\n        env:\n          POSTGRES_PASSWORD: Password12!\n        ports:\n          - 5432:5432\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.10\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: '3.10'\n      - name: install ESA SNAP\n        run: |\n          wget -nv https://download.esa.int/step/snap/10_0/installers/esa-snap_sentinel_linux-10.0.0.sh\n          bash esa-snap_sentinel_linux-10.0.0.sh -q -dir $GITHUB_ACTION_PATH/esa-snap\n      - name: Set paths and variables\n        run: |\n          echo \"$CONDA/bin\" >> $GITHUB_PATH\n          echo \"$GITHUB_ACTION_PATH/esa-snap/bin\" >> $GITHUB_PATH\n          echo \"PROJ_DATA=$CONDA/share/proj\" >> $GITHUB_ENV\n      - name: Install dependencies\n        run: |\n          : # https://github.com/conda/conda/issues/13560#issuecomment-1992720842\n          conda install -y python=3.10\n          conda env update --file environment.yml --name base\n      - name: Lint with flake8\n        run: |\n          conda install flake8\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n      - name: Install package\n        run: |\n          pip install .\n      - name: Test with pytest\n        run: |\n          conda install pytest coverage\n          coverage run -m pytest\n        env:\n          PGUSER: postgres\n          PGPASSWORD: Password12!\n      - name: Publish to coveralls.io\n        uses: coverallsapp/github-action@v2\n        with:\n          github-token: ${{ github.token }}\n", "state": "active", "repository": "johntruckenbrodt/pyrosar"}
{"mined_at": "2024-07-15T13:46:03.926705", "created_at": "2024-04-16T17:34:35+02:00", "updated_at": "2024-04-16T17:34:35+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [ published ]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "johntruckenbrodt/pyrosar"}
{"mined_at": "2024-07-15T13:46:05.874105", "created_at": "2020-02-16T11:51:18+01:00", "updated_at": "2020-02-17T09:56:50+01:00", "name": "Build FontGoggles Application", "path": ".github/workflows/buildapp.yml", "contents": "name: Build FontGoggles Application\n\non:\n  push:\n    tags:\n      - \"v*\"\n  workflow_dispatch: # allow manual trigger\n\njobs:\n  build:\n    runs-on: macos-latest\n\n    steps:\n      - name: Install Certificates\n        run: |\n          echo ${{ secrets.CERTIFICATE_P12 }} | base64 --decode > certificate.p12\n          security import certificate.p12 -P ${{ secrets.CERTIFICATE_PASSWORD }}\n          security create-keychain -p fgKeychain fg.keychain\n          security default-keychain -s fg.keychain\n          security set-keychain-settings -l -u -t 8000\n          security unlock-keychain -p fgKeychain fg.keychain\n          security import certificate.p12 -k fg.keychain -P ${{ secrets.CERTIFICATE_PASSWORD }} -T /usr/bin/codesign\n          security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k fgKeychain fg.keychain\n          rm -fr *.p12\n          # security find-identity -v -p codesigning\n\n      - name: Git checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python from python.org\n        run: |\n          curl https://www.python.org/ftp/python/3.12.3/python-3.12.3-macos11.pkg --output python-installer.pkg\n          sudo installer -pkg python-installer.pkg -target /\n          # Somehow using plain \"python3\" gives us the runner's homebrew Python,\n          # so let's be explicit about the path:\n          ourpython=/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12\n          ls -l $ourpython\n          $ourpython --version\n          $ourpython -c \"import platform; print('platform:', platform.platform())\"\n          $ourpython -c \"import platform; print('macOS version:', platform.mac_ver()[0])\"\n          $ourpython -m venv venv\n          source venv/bin/activate\n          python -c \"print('venv')\"\n          python -c \"import sys; print('\\n'.join(sys.path))\"\n          python -c \"import platform; print('platform:', platform.platform())\"\n          python -c \"import platform; print('macOS version:', platform.mac_ver()[0])\"\n\n      - name: Install dependencies\n        run: |\n          source venv/bin/activate\n          python -m pip install --upgrade pip\n          python -m pip --version\n          pip install -r requirements.txt | tee pip_log.txt\n          python App/Distribute/ensure_universal_wheels.py pip_log.txt\n          pip install --force build/universal_wheels/*.whl\n          pip install -r requirements-dev.txt\n          pip install .\n\n      - name: Run Tests\n        run: |\n          source venv/bin/activate\n          pytest\n\n      - name: Build Application\n        run: |\n          source venv/bin/activate\n          python App/setup.py py2app\n\n      - name: Codesign and Notarize\n        run: |\n          APP_PATH=\"App/dist/FontGoggles.app\"\n          DMG_PATH=\"App/dist/FontGoggles.dmg\"\n          ENTITLEMENTS_PATH=\"App/Distribute/entitlements.xml\"\n\n          source venv/bin/activate\n          App/Distribute/codesign_app.sh \"${{ secrets.CODESIGN_NAME }}\" \"$APP_PATH\" \"$ENTITLEMENTS_PATH\"\n          python App/Distribute/build_dmg.py \"$APP_PATH\" \"$DMG_PATH\"\n\n          codesign --sign \"${{ secrets.CODESIGN_NAME }}\" \"$DMG_PATH\"\n\n          echo \"Run notarytool...\"\n\n          xcrun notarytool submit \\\n            --apple-id \"${{ secrets.NOTARIZE_DEVELOPER }}\" \\\n            --team-id \"${{ secrets.NOTARIZE_TEAM_ID }}\" \\\n            --password \"${{ secrets.NOTARIZE_PASSWORD }}\" \\\n            --output-format json \\\n            --wait \\\n            $DMG_PATH \\\n            | python App/Distribute/print_notarize_log.py \\\n              \"${{ secrets.NOTARIZE_DEVELOPER }}\" \\\n              \"${{ secrets.NOTARIZE_TEAM_ID }}\" \\\n              \"${{ secrets.NOTARIZE_PASSWORD }}\"\n\n          xcrun stapler staple \"$DMG_PATH\"\n\n      - name: Storing macOS Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: FontGoggles\n          path: App/dist/FontGoggles.dmg\n\n      - name: Read CHANGELOG.md\n        id: changelog\n        if: startsWith(github.event.ref, 'refs/tags')\n        env:\n          GITHUB_REF: ${{ github.ref }}\n        run: |\n          source venv/bin/activate\n          echo \"changelog_contents=$(python App/Distribute/extract_changes.py)\" >>$GITHUB_OUTPUT\n\n      - name: Create Release\n        id: create_release\n        if: startsWith(github.event.ref, 'refs/tags')\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: Release ${{ github.ref }}\n          body: ${{ steps.changelog.outputs.changelog_contents }}\n          draft: true\n          prerelease: false\n\n      - name: Upload Release Asset\n        id: upload-release-asset\n        if: startsWith(github.event.ref, 'refs/tags')\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps\n          asset_path: App/dist/FontGoggles.dmg\n          asset_name: FontGoggles.dmg\n          asset_content_type: application/octet-stream\n", "state": "active", "repository": "justvanrossum/fontgoggles"}
{"mined_at": "2024-07-15T13:46:06.869424", "created_at": "2020-02-16T11:51:18+01:00", "updated_at": "2020-02-27T14:48:09+01:00", "name": "Run FontGoggles test suite", "path": ".github/workflows/runtests.yml", "contents": "name: Run FontGoggles test suite\n\non:\n  push:\n    branches: [master]\n    paths-ignore:\n      - docs/*\n      - docsSource/*\n      - Scripts/*\n      - AUTHORS.txt\n      - CHANGELOG.md\n      - CONTRIBUTORS.txt\n      - LICENSE.txt\n      - README.md\n\n  pull_request:\n    branches: [master]\n\njobs:\n  build:\n    runs-on: macos-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install .\n          python -c \"import platform; print(platform.platform())\"\n      - name: Lint with flake8\n        run: |\n          pip install flake8\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --ignore=F403,F405\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --ignore=F403,F405\n      - name: Test with pytest\n        run: |\n          pip install -r requirements-dev.txt\n          pytest\n", "state": "active", "repository": "justvanrossum/fontgoggles"}
{"mined_at": "2024-07-15T13:46:07.842182", "created_at": "2022-01-13T06:59:11+01:00", "updated_at": "2022-01-13T06:59:11+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "justvanrossum/fontgoggles"}
{"mined_at": "2024-07-15T13:46:10.065587", "created_at": "2021-01-05T14:46:58+01:00", "updated_at": "2023-06-16T11:55:02+02:00", "name": "build ⚙️", "path": ".github/workflows/main.yml", "contents": "name: build ⚙️\n\non: [ push, pull_request ]\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NAME: github\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      name: Setup Python ${{ matrix.python-version }}\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install packages\n      run: |\n        sudo apt-get -y install pandoc\n      if: matrix.python-version == 3.8\n    - name: Install requirements 📦\n      run: |\n        pip3 install -e .\n        pip3 install -r requirements.txt\n        pip3 install -r requirements-dev.txt\n        pip3 install -r docs/requirements.txt\n    - name: run tests ⚙️\n      run: python3 -m pytest\n    - name: run coveralls ⚙️\n      run: coveralls\n      if: matrix.python-version == 3.8\n    - name: build docs 🏗️\n      run: cd docs && make html\n      if: matrix.python-version == 3.8\n    - name: run flake8 ⚙️\n      run: flake8 owslib\n      if: matrix.python-version == 3.8\n", "state": "active", "repository": "geopython/owslib"}
{"mined_at": "2024-07-15T13:46:12.240424", "created_at": "2021-02-20T20:06:42+01:00", "updated_at": "2021-02-20T20:06:42+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "# This workflow runs CI tests: it installs Python dependencies and run tests across a variety of Python versions\n\nname: build\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    env:\n      MODULE_NAME: specparam\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        pip install pytest-cov\n        pip install -r requirements.txt\n        pip install -r optional-requirements.txt\n    - name: Test with pytest\n      run: |\n        pytest --cov=./\n    - name: Run doctests\n      run: |\n        pytest --doctest-modules --ignore=$MODULE_NAME/tests $MODULE_NAME\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n", "state": "active", "repository": "fooof-tools/fooof"}
{"mined_at": "2024-07-15T13:46:13.237047", "created_at": "2023-09-20T15:33:57+02:00", "updated_at": "2023-09-20T15:33:57+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "fooof-tools/fooof"}
{"mined_at": "2024-07-15T13:46:15.670232", "created_at": "2024-04-13T04:42:22+02:00", "updated_at": "2024-07-13T06:08:36+02:00", "name": "Build and Test", "path": ".github/workflows/build_and_test.yml", "contents": "name: Build Package\n\non:\n  push:\n    branches: [ \"develop\" ]\n  pull_request:\n    branches: [ \"develop\" ]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    # For the sake of simplicity in testing, the Paddle2ONNX packaging program will temporarily run on Ubuntu-latest.\n    # However, to ensure the stability of the packaging system, we will need to fix the Ubuntu version in the future.\n    runs-on: ubuntu-latest\n\n    # For the sake of simplicity in testing, the Paddle2ONNX packaging program will temporarily only package executable files for Python 3.8.\n    # In the future, we will need to extend support to cover Python 3.8 through Python 3.10.\n    steps:\n      - name: Setup Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      # Checkout the latest branch of Paddle2ONNX.\n      - name: Checkout Paddle2ONNX\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n          path: paddle2onnx\n\n      # Checkout the branch(v3.16.0) of Paddle2ONNX.\n      - name: Checkout Protobuf\n        uses: actions/checkout@v4\n        with:\n          repository: protocolbuffers/protobuf\n          ref: v3.16.0\n          path: protobuf\n\n      # Build Protobuf, detailed process can refer to the [Paddle2ONNX construction documentation](https://github.com/PaddlePaddle/Paddle2ONNX/blob/develop/docs/zh/compile.md).\n      - name: Build Protobuf\n        working-directory: ./protobuf\n        run: |\n          #============\n          cmake ./cmake -B build_wd -Dprotobuf_BUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install_dir\n          cmake --build ./build_wd\n          cmake --build ./build_wd -- install\n          echo \"$PWD/install_dir/bin\" >> $GITHUB_PATH\n\n      # Install Dependencies for Python\n      - name: Install Dependencies for Python\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel auditwheel auditwheel-symbols build\n\n      # Build Paddle2ONNX\n      - name: Build Paddle2ONNX\n        working-directory: ./paddle2onnx\n        run: |\n          python -m build\n          python -m pip install dist/*.whl\n\n      # Install Test\n      - name: Run Test\n        working-directory: ./paddle2onnx/tests\n        run: |\n          bash run.sh python", "state": "active", "repository": "paddlepaddle/paddle2onnx"}
{"mined_at": "2024-07-15T13:46:16.950503", "created_at": "2024-06-14T11:16:07+02:00", "updated_at": "2024-06-17T12:13:40+02:00", "name": "LinuxRelease_aarch64", "path": ".github/workflows/release_linux_aarch64.yml", "contents": "name: LinuxRelease_aarch64\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12']\n        architecture: [ 'x64' ]\n    \n    steps:\n      # Checkout the latest branch of Paddle2ONNX.\n      - name: Checkout Paddle2ONNX\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      # setting up qemu for enabling aarch64 binary execution on x86 machine\n      - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0\n\n      - name: Build on manylinux2014_aarch64\n        uses: docker://quay.io/pypa/manylinux2014_aarch64:latest\n        with:\n          entrypoint: bash\n          args: .github/workflows/scripts/entrypoint.sh ${{ matrix.python-version }} manylinux2014_aarch64 CentOS\n\n      - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32\n        with:\n          name: wheels\n          path: dist\n\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n        with:\n          user: __token__\n          password: ${{ secrets.PADDLE2ONNX_API_TOKEN }}", "state": "active", "repository": "paddlepaddle/paddle2onnx"}
{"mined_at": "2024-07-15T13:46:17.996852", "created_at": "2024-04-13T06:19:52+02:00", "updated_at": "2024-06-17T06:20:13+02:00", "name": "LinuxRelease_x86_64", "path": ".github/workflows/release_linux_x86_64.yml", "contents": "name: LinuxRelease_x86_64\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12']\n        architecture: [ 'x64' ]\n\n    steps:\n      # Checkout the latest branch of Paddle2ONNX.\n      - name: Checkout Paddle2ONNX\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Build on manylinux2014_x86_64\n        uses: docker://quay.io/pypa/manylinux2014_x86_64:latest\n        with:\n          entrypoint: bash\n          args: .github/workflows/scripts/entrypoint.sh ${{ matrix.python-version }} manylinux2014_x86_64 CentOS\n\n      - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32\n        with:\n          name: wheels\n          path: dist\n\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n        with:\n          user: __token__\n          password: ${{ secrets.PADDLE2ONNX_API_TOKEN }}", "state": "active", "repository": "paddlepaddle/paddle2onnx"}
{"mined_at": "2024-07-15T13:46:20.082746", "created_at": "2021-04-26T11:57:24+02:00", "updated_at": "2021-05-26T20:41:56+02:00", "name": "Build documentation", "path": ".github/workflows/build-docs.yml", "contents": "\nname: Build documentation\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - main\n\njobs:\n  build-docs:\n    name: Build documentation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      # make sure tags are fetched so we can get a version\n      - run: |\n          git fetch --prune --unshallow --tags\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          # make sure to use the same version as in .readthedocs.yml\n          python-version: \"3.11\"\n\n      - name: Install requirements\n        run: pip install -r doc/requirements.txt\n\n      - name: Build docs\n        run: make -C doc html SPHINXOPTS=\"-W --keep-going\"\n", "state": "active", "repository": "team-ocean/veros"}
{"mined_at": "2024-07-15T13:46:21.152477", "created_at": "2021-05-26T20:41:56+02:00", "updated_at": "2021-05-26T20:41:56+02:00", "name": "Upload release", "path": ".github/workflows/deploy.yml", "contents": "name: Upload release\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      # make sure tags are fetched so we can get a version\n      - run: |\n          git fetch --prune --unshallow --tags\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install cython setuptools wheel twine\n\n      - name: Build sdist\n        run: |\n          python setup.py sdist\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "team-ocean/veros"}
{"mined_at": "2024-07-15T13:46:22.274614", "created_at": "2021-05-11T14:57:49+02:00", "updated_at": "2021-05-26T20:41:56+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - main\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n    - uses: pre-commit/action@v2.0.0\n", "state": "active", "repository": "team-ocean/veros"}
{"mined_at": "2024-07-15T13:46:23.361141", "created_at": "2021-05-07T18:43:16+02:00", "updated_at": "2021-05-26T20:41:56+02:00", "name": "Tests", "path": ".github/workflows/test-all.yml", "contents": "name: Tests\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - main\n\njobs:\n  test:\n    name: Run tests\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n\n      matrix:\n        os: [ubuntu-20.04]\n        python-version: [\"3.8\", \"3.12\"]\n        backend: [numpy, jax]\n\n    env:\n      PYOM2_DIR: /home/runner/pyom2\n      PETSC_VERSION: \"3.20.0\"\n      PETSC_DIR: /home/runner/petsc\n      PETSC_ARCH: arch-linux-c-opt\n      OMPI_MCA_rmaps_base_oversubscribe: \"1\"\n      OMPI_MCA_mpi_yield_when_idle: \"1\"\n      VEROS_REQUIRE_CYTHON_EXT: \"1\"\n\n    steps:\n      - uses: actions/checkout@v2\n\n      # make sure tags are fetched so we can get a version\n      - run: git fetch --prune --unshallow --tags\n\n      - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Restore pip cache\n        uses: actions/cache@v2\n        id: pip-cache\n        with:\n          path: ~/.cache/pip\n          key: ${{ matrix.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ matrix.os }}-pip-${{ matrix.python-version }}-\n\n      - name: Restore PyOM2 build cache\n        uses: actions/cache@v2\n        id: pyom2-cache\n        with:\n          path: ${{ env.PYOM2_DIR }}/py_src/*.so\n          key: ${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('vendor/pyom2/**/*') }}-${{ hashFiles('requirements.txt') }}\n\n      - name: Restore PETSc build cache\n        uses: actions/cache@v2\n        id: petsc-cache\n        with:\n          path: ${{ env.PETSC_DIR }}\n          key: ${{ matrix.os }}-${{ env.PETSC_VERSION }}\n\n      - name: Setup Python environment\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          pip install cython\n\n      - name: Install system requirements\n        run: |\n          sudo apt-get update\n          sudo apt-get install libopenmpi-dev liblapack-dev libblas-dev\n\n      - name: Build PETSc\n        if: steps.petsc-cache.outputs.cache-hit != 'true'\n        run: |\n          git clone -b v$PETSC_VERSION --depth 1 https://gitlab.com/petsc/petsc.git $PETSC_DIR\n          pushd $PETSC_DIR\n          ./configure --with-debugging=0 -with-shared-libraries --with-precision=double\n          make all\n          popd\n\n      - name: Install Veros\n        run: |\n          pip install mpi4py\n          if [ ${{ matrix.backend }} == \"jax\" ]\n          then\n            pip install mpi4jax\n            pip install -e .[test,jax]\n          else\n            pip install -e .[test]\n          fi\n          pip install petsc4py==$PETSC_VERSION --no-deps --no-build-isolation\n\n      # Build PyOM2 after Veros to make sure we have compatible versions of NumPy / f2py\n      - name: Build PyOM2\n        if: steps.pyom2-cache.outputs.cache-hit != 'true'\n        run: |\n          mkdir -p $PYOM2_DIR\n          cp -r vendor/pyom2/* $PYOM2_DIR\n          pushd $PYOM2_DIR\n          if [ ${{ matrix.python-version }} == \"3.8\" ]\n          then\n            mv pyOM2_site_specific_distutils site_specific.mk_\n          else\n            pip install meson ninja\n            mv pyOM2_site_specific_meson site_specific.mk_\n          fi\n          tar xzf pyOM2.1.0.tar.gz\n          git init\n          for patchfile in ./patches/*.patch; do\n            git apply --whitespace=fix $patchfile\n          done\n          make -C py_src -j 4\n          popd\n\n      - name: Export paths\n        run: |\n          echo \"PYOM2_LIB=$(readlink -f $PYOM2_DIR/py_src/pyOM_code.*.so)\" >> $GITHUB_ENV\n          echo \"PYOM2_LIB_MPI=$(readlink -f $PYOM2_DIR/py_src/pyOM_code_MPI.*.so)\" >> $GITHUB_ENV\n\n      - name: Run tests\n        run: |\n          pytest . -v --cov --pyom2-lib $PYOM2_LIB --backend ${{ matrix.backend }}\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v1\n", "state": "active", "repository": "team-ocean/veros"}
{"mined_at": "2024-07-15T13:46:24.427533", "created_at": "2021-05-07T18:43:16+02:00", "updated_at": "2021-05-28T19:12:33+02:00", "name": "Test with Conda", "path": ".github/workflows/test-conda.yml", "contents": "name: Test with Conda\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - main\n\njobs:\n  test-conda:\n    name: Test conda env\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    env:\n      # requests crashes on OSX without this\n      no_proxy: \"*\"\n      # issue with SciPy on Windows, see https://github.com/scipy/scipy/issues/14002\n      CONDA_DLL_SEARCH_MODIFICATION_ENABLE: \"1\"\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Cache conda\n        uses: actions/cache@v2\n        with:\n          path: ~/conda_pkgs_dir\n          key:\n            ${{ runner.os }}-conda-${{hashFiles('conda-environment.yml') }}\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: veros\n          environment-file: conda-environment.yml\n          use-only-tar-bz2: true\n\n      - name: Install test dependencies\n        run: |\n          pip install pytest\n\n      - name: List\n        run: |\n          conda info\n          conda list\n\n      - name: Run tests\n        run: pytest .\n", "state": "active", "repository": "team-ocean/veros"}
{"mined_at": "2024-07-15T13:46:25.472235", "created_at": "2021-09-24T12:32:50+02:00", "updated_at": "2021-09-24T14:56:13+02:00", "name": "Test installation", "path": ".github/workflows/test-install.yml", "contents": "name: Test installation\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - main\n\njobs:\n  test-install:\n    name: Test pip install\n\n    defaults:\n      run:\n        shell: bash {0}\n\n    strategy:\n      fail-fast: false\n\n      matrix:\n          os: [ubuntu-latest, macos-latest, windows-latest]\n          python-version: [\"3.8\", \"3.12\"]\n          nocc: [false]\n\n          include:\n            # also test whether installation without C compiler works\n            - os: ubuntu-latest\n              python-version: \"3.8\"\n              nocc: true\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install CUDA\n        if: runner.os == 'Linux' && matrix.nocc != 'true'\n        run: |\n          sudo apt-get update\n          sudo apt-get install nvidia-cuda-toolkit\n\n      - name: Test installing Veros\n        run: |\n          if ${{ matrix.nocc }}; then export CC=foobar; fi\n          python -m pip install .\n\n      - name: Build extensions\n        if: matrix.nocc != 'true'\n        run: |\n          export VEROS_REQUIRE_CYTHON_EXT=1\n          if [ ${{ runner.os }} = \"Linux\" ]; then\n            export VEROS_REQUIRE_CUDA_EXT=1\n          fi\n          pip install -U setuptools wheel cython\n          python setup.py build_ext --inplace\n\n      - name: Test whether Cython extensions are present\n        if: matrix.nocc != 'true'\n        run: |\n          if [ ${{ runner.os }} = \"Windows\" ]; then\n            test -f veros/core/special/tdma_cython_.*.pyd\n          else\n            test -f veros/core/special/tdma_cython_.*.so\n          fi\n\n      - name: Test whether CUDA extensions are present\n        if: runner.os == 'Linux' && matrix.nocc != 'true'\n        run: |\n          test -f veros/core/special/tdma_cuda_.*.so\n", "state": "active", "repository": "team-ocean/veros"}
{"mined_at": "2024-07-15T13:46:27.459907", "created_at": "2022-01-19T13:04:58+01:00", "updated_at": "2024-06-03T18:54:01+02:00", "name": "Deploy Care", "path": ".github/workflows/deployment.yaml", "contents": null, "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:28.623905", "created_at": "2022-05-19T08:20:24+02:00", "updated_at": "2022-05-19T08:20:24+02:00", "name": "Automate Issues to Project", "path": ".github/workflows/issue-automation.yml", "contents": "name: Automate Issues to Project\non:\n  issues:\n    types:\n      - opened\n      - reopened\n      - closed\njobs:\n  issue_opened_and_reopened:\n    name: issue_opened_and_reopened\n    runs-on: ubuntu-latest\n    if: github.repository == 'coronasafe/care' && github.event_name == 'issues' && github.event.action == 'opened' || github.event.action == 'reopened'\n    steps:\n      - name: 'Move issue to \"Triage\"'\n        uses: leonsteinhaeuser/project-beta-automations@v1.0.1\n        with:\n          gh_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n          organization: coronasafe\n          project_id: 4\n          resource_node_id: ${{ github.event.issue.node_id }}\n          status_value: \"Triage\"\n  issue_closed:\n    name: issue_closed\n    runs-on: ubuntu-latest\n    if: github.repository == 'coronasafe/care' && github.event_name == 'issues' && github.event.action == 'closed'\n    steps:\n      - name: 'Moved issue to \"Done\"'\n        uses: leonsteinhaeuser/project-beta-automations@v1.0.1\n        with:\n          gh_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n          organization: coronasafe\n          project_id: 4\n          resource_node_id: ${{ github.event.issue.node_id }}\n          status_value: \"Done\"\n", "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:29.625918", "created_at": "2022-06-06T19:39:19+02:00", "updated_at": "2022-06-08T15:18:21+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non:\n  push:\n    branches:\n      - develop\n    paths:\n      - \"docs/**\"\n  pull_request:\n    branches:\n      - develop\n    paths:\n      - \"docs/**\"\n  workflow_dispatch:\n\njobs:\n  build-docs:\n    if: github.repository == 'coronasafe/care'\n    name: Build docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: 'pipenv'\n\n      - name: Install pipenv\n        run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python\n\n      - name: Install dependencies\n        run: pipenv sync --categories \"docs\"\n\n      - name: Build docs\n        run: |\n          make -C ./docs html\n\n      - name: Upload sphinx documentation\n        uses: actions/upload-artifact@v4\n        with:\n          name: sphinx-docs\n          path: ./docs/_build/html\n          retention-days: 30\n\n  deploy-docs:\n    if: github.repository == 'coronasafe/care' && github.ref == 'refs/heads/develop'\n    name: Deploy docs\n    runs-on: ubuntu-latest\n    needs: build-docs\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download sphinx documentation\n        uses: actions/download-artifact@v3\n        with:\n          name: sphinx-docs\n          path: ./build\n\n      - name: Add files to bypass jekyll build\n        run: |\n          touch build/.nojekyll\n\n      - name: Deploy docs\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          branch: gh-pages\n          folder: build\n", "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:30.755596", "created_at": "2022-06-08T13:07:19+02:00", "updated_at": "2023-12-12T08:06:58+01:00", "name": ".github/workflows/docs_new.yml", "path": ".github/workflows/docs_new.yml", "contents": null, "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:31.748721", "created_at": "2022-06-08T13:11:55+02:00", "updated_at": "2022-06-13T10:20:35+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:32.795601", "created_at": "2022-06-08T15:38:35+02:00", "updated_at": "2024-06-03T08:23:37+02:00", "name": "Test Pull Request", "path": ".github/workflows/tests.yml", "contents": null, "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:33.845953", "created_at": "2022-09-08T10:57:37+02:00", "updated_at": "2024-05-16T06:15:50+02:00", "name": "Lint Code Base", "path": ".github/workflows/linter.yml", "contents": "name: Lint Code Base\n\non:\n  pull_request:\n    branches:\n      - develop\n      - staging\n  merge_group:\n\npermissions: { }\n\njobs:\n  build:\n    name: Lint Code Base\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: read\n      statuses: write\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Lint Code Base\n        uses: super-linter/super-linter/slim@v6\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VALIDATE_ALL_CODEBASE: false\n          VALIDATE_PYTHON_BLACK: true\n          VALIDATE_PYTHON_FLAKE8: true\n          VALIDATE_PYTHON_ISORT: true\n          LINTER_RULES_PATH: /\n          PYTHON_BLACK_CONFIG_FILE: \"pyproject.toml\"\n          PYTHON_FLAKE8_CONFIG_FILE: \".flake8\"\n          PYTHON_ISORT_CONFIG_FILE: \"pyproject.toml\"\n", "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:34.869216", "created_at": "2023-09-08T18:47:01+02:00", "updated_at": "2023-09-08T18:47:01+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:35.876834", "created_at": "2023-09-19T19:38:12+02:00", "updated_at": "2023-09-21T06:23:27+02:00", "name": "Test Pull Request", "path": ".github/workflows/test-merge-queue.yml", "contents": "name: Test Pull Request\n\non:\n  merge_group:\n\njobs:\n  test:\n    uses: ./.github/workflows/reusable-test.yml\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n    with:\n      event_name: ${{ github.event_name }}\n", "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:36.879097", "created_at": "2024-04-03T16:17:50+02:00", "updated_at": "2024-04-03T16:17:50+02:00", "name": "Create Release on Branch Push", "path": ".github/workflows/release.yml", "contents": "name: Create Release on Branch Push\n\non:\n  push:\n    branches:\n      - production\n\npermissions:\n  contents: write\n\njobs:\n  release:\n    name: Release on Push\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0  # Necessary to fetch all tags\n\n      - name: Calculate next tag\n        id: calc_tag\n        run: |\n          YEAR=$(date +\"%y\")\n          WEEK=$(date +\"%V\")\n          LAST_TAG=$(git tag -l \"v$YEAR.$WEEK.*\" | sort -V | tail -n1)\n          LAST_TAG=$(echo \"$LAST_TAG\" | tr -d '\\r' | sed 's/[[:space:]]*$//')\n          echo \"Last Tag: $LAST_TAG\"\n          if [[ $LAST_TAG == \"\" ]]; then\n            MINOR=0\n          else\n            MINOR=$(echo $LAST_TAG | awk -F '.' '{print $NF}')\n            echo \"Minor Version: $MINOR\"\n            MINOR=$((MINOR + 1))\n          fi\n          TAG=\"v$YEAR.$WEEK.$MINOR\"\n          echo \"TAG=$TAG\" >> $GITHUB_ENV\n          echo \"Next Tag: $TAG\"\n      - name: Configure git\n        run: |\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n      - name: Create and push tag\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          git tag -a \"$TAG\" -m \"Release $TAG\"\n          git push origin \"$TAG\"\n      - name: Create release\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release create \"$TAG\" \\\n              --repo=\"$GITHUB_REPOSITORY\" \\\n              --title=\"$TAG\" \\\n              --generate-notes \\\n              --draft\n", "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:37.918945", "created_at": "2024-04-28T19:09:04+02:00", "updated_at": "2024-04-28T19:09:04+02:00", "name": "Combine Dependencies", "path": ".github/workflows/combine-dependencies.yml", "contents": "name: Combine Dependencies\n\non: workflow_dispatch\n\n# The minimum permissions required to run this Action\npermissions:\n  contents: write\n  pull-requests: write\n  checks: read\n\njobs:\n  combine-prs:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Combine dependencies\n        id: combine-dependencies\n        uses: github/combine-prs@v5.0.0\n        with:\n          pr_title: Combined dependencies # The title of the pull request to create\n          select_label: dependencies # The label which marks PRs that should be combined.\n          labels: combined-dependencies # Add a label to the combined PR\n          ci_required: \"false\" # Whether or not CI should be passing to combine the PR\n", "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:38.919947", "created_at": "2024-06-02T15:24:21+02:00", "updated_at": "2024-06-03T08:15:59+02:00", "name": "Test Pull Request", "path": ".github/workflows/test-pull-request.yml", "contents": "name: Test Pull Request\n\non:\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    uses: ./.github/workflows/reusable-test.yml\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n    with:\n      event_name: ${{ github.event_name }}\n", "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:40.060339", "created_at": "2024-06-03T08:15:59+02:00", "updated_at": "2024-06-03T08:15:59+02:00", "name": "Deploy Care", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy Care\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - 'v*'\n    branches:\n      - develop\n      - staging\n    paths-ignore:\n      - \"docs/**\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  IMAGE_NAME: care\n  AWS_DEFAULT_REGION: ap-south-1\n  AWS_DEFAULT_OUTPUT: json\n  AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID}}\n  AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n  EKS_CLUSTER_NAME: ${{ secrets.AWS_EKS_CLUSTER_NAME }}\n  ECS_SERVICE_BACKEND: \"care-backend\"\n  ECS_SERVICE_CELERY: \"care-celery\"\n  ECS_CLUSTER: \"egov\"\n  ECS_TASK_DEFINITION_BACKEND: \"./aws/backend.json\"\n  ECS_TASK_DEFINITION_CELERY: \"./aws/celery.json\"\n  CONTAINER_NAME_BACKEND: \"care-backend\"\n  CONTAINER_NAME_WORKER: \"care-celery-worker\"\n  CONTAINER_NAME_CRON: \"care-celery-beat\"\n\njobs:\n  test:\n    uses: ./.github/workflows/reusable-test.yml\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n    with:\n      event_name: ${{ github.event_name }}\n\n  build:\n    needs: test\n    name: Build & Push to container registries\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Generate docker tags\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ghcr.io/${{ github.repository }}\n            ${{ secrets.DOCKER_HUB_USERNAME }}/${{ github.event.repository.name }}\n          tags: |\n            type=raw,value=production-latest,enable=${{ startsWith(github.event.ref, 'refs/tags/v') }}\n            type=raw,value=production-latest-${{ github.run_number }}-{{date 'YYYYMMDD'}}-{{sha}},enable=${{ startsWith(github.event.ref, 'refs/tags/v') }}\n            type=raw,value=staging-latest,enable=${{ github.ref == 'refs/heads/staging' }}\n            type=raw,value=staging-latest-${{ github.run_number }}-{{date 'YYYYMMDD'}}-{{sha}},enable=${{ github.ref == 'refs/heads/staging' }}\n            type=raw,value=latest,enable=${{ github.ref == 'refs/heads/develop' }}\n            type=raw,value=latest-${{ github.run_number }},enable=${{ github.ref == 'refs/heads/develop' }}\n            type=semver,pattern={{version}}\n          flavor: |\n            latest=false\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Cache Docker layers\n        uses: actions/cache@v4\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-build-${{ hashFiles('Pipfile.lock', 'docker/prod.Dockerfile') }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-build-\n\n      - name: Build and push image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: docker/prod.Dockerfile\n          push: true\n          provenance: false\n          platforms: linux/amd64,linux/arm64\n          tags: ${{ steps.meta.outputs.tags }}\n          build-args: |\n            APP_VERSION=${{ github.sha }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max\n\n      - name: Create Sentry release\n        uses: getsentry/action-release@v1\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n          SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}\n        with:\n          version: ${{ github.sha }}\n\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n\n  notify-release:\n    needs: build\n    if: startsWith(github.event.ref, 'refs/tags/v')\n    name: Notify release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Notify release\n        run: |\n          echo \"Release ${{ github.sha }} is ready to be deployed to production\"\n\n  deploy-staging-egov:\n    needs: build\n    if: github.ref == 'refs/heads/develop'\n    name: Deploy to ECS API Egov\n    runs-on: ubuntu-latest\n    environment:\n      name: Staging-egov\n      url: https://careapi.ohc.network\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ env.AWS_DEFAULT_REGION }}\n\n      - name: IMAGE Tagging\n        env:\n          ECR_REGISTRY: ghcr.io/${{ github.repository }}\n          IMAGE_TAG: latest-${{ github.run_number }}\n        run: echo \"IMAGE_VALUE=`echo ghcr.io/${{ github.repository }}:$IMAGE_TAG`\" >> $GITHUB_ENV\n\n      - name: Fill Backend Api definition\n        id: task-def-api\n        uses: aws-actions/amazon-ecs-render-task-definition@v1\n        with:\n          task-definition: ${{ env.ECS_TASK_DEFINITION_BACKEND }}\n          container-name: ${{ env.CONTAINER_NAME_BACKEND }}\n          image: ${{env.IMAGE_VALUE}}\n\n      - name: Deploy Backend Api\n        uses: aws-actions/amazon-ecs-deploy-task-definition@v1\n        with:\n          task-definition: ${{ steps.task-def-api.outputs.task-definition }}\n          service: ${{ env.ECS_SERVICE_BACKEND }}\n          cluster: ${{ env.ECS_CLUSTER }}\n          wait-for-service-stability: true\n\n      - name: Fill Celery Cron definition\n        id: task-def-celery-cron\n        uses: aws-actions/amazon-ecs-render-task-definition@v1\n        with:\n          task-definition: ${{ env.ECS_TASK_DEFINITION_CELERY }}\n          container-name: ${{ env.CONTAINER_NAME_CRON }}\n          image: ${{env.IMAGE_VALUE}}\n\n      - name: Fill Celery Worker definition\n        id: task-def-celery-worker\n        uses: aws-actions/amazon-ecs-render-task-definition@v1\n        with:\n          task-definition: ${{ steps.task-def-celery-cron.outputs.task-definition }}\n          container-name: ${{ env.CONTAINER_NAME_WORKER }}\n          image: ${{env.IMAGE_VALUE}}\n\n      - name: Deploy Backend Celery\n        uses: aws-actions/amazon-ecs-deploy-task-definition@v1\n        with:\n          task-definition: ${{ steps.task-def-celery-worker.outputs.task-definition }}\n          service: ${{ env.ECS_SERVICE_CELERY }}\n          cluster: ${{ env.ECS_CLUSTER }}\n          wait-for-service-stability: true\n\n  deploy-staging-gcp:\n    needs: build\n    if: github.ref == 'refs/heads/staging'\n    name: Deploy to staging GCP cluster\n    runs-on: ubuntu-latest\n    environment:\n      name: Staging-GCP\n      url: https://care-staging-api.ohc.network/\n    steps:\n      - name: Trigger deploy\n        run: |\n          COMMIT_SHA=${{ github.sha }}\n          JSON='{ \"substitutions\": { \"care_be_tag\":\"'\"$COMMIT_SHA\"'\", \"care_fe_tag\": \"\", \"metabase_tag\": \"\" } }'\n          curl --location \"${{ secrets.STAGING_GCP_DEPLOY_URL }}\" \\\n            --header 'Content-Type: application/json' --data \"$JSON\"\n", "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:41.089056", "created_at": "2024-06-03T08:15:59+02:00", "updated_at": "2024-06-03T08:15:59+02:00", "name": "Test", "path": ".github/workflows/reusable-test.yml", "contents": "name: Test\n\non:\n  workflow_call:\n    secrets:\n      CODECOV_TOKEN:\n        required: true\n    inputs:\n      event_name:\n        required: false\n        type: string\n        default: 'pull_request'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Restore Docker layers cache\n        id: cache-restore\n        uses: actions/cache/restore@v4\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ hashFiles('Pipfile.lock', 'docker/dev.Dockerfile') }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n\n      - name: Bake docker images\n        uses: docker/bake-action@v4\n        with:\n          load: true\n          set: |\n            *.cache-from=type=local,src=/tmp/.buildx-cache\n            *.cache-to=type=local,dest=/tmp/.buildx-cache-new\n          files: docker-compose.yaml,docker-compose.local.yaml\n\n      - name: Start services\n        run: |\n          docker compose \\\n            -f docker-compose.yaml \\\n            -f docker-compose.local.yaml \\\n            up -d --wait ||\\\n          docker compose \\\n            -f docker-compose.yaml \\\n            -f docker-compose.local.yaml \\\n            logs\n\n      - name: Check migrations\n        run: make checkmigration\n\n      - name: Validate integrity of fixtures\n        run: make load-dummy-data\n\n      - name: Run tests\n        run: make test-coverage\n\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n      - name: Move new cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n\n      - name: Save Docker layers cache\n        if: ${{ inputs.event_name == 'push' || github.event_name == 'push' }}\n        uses: actions/cache/save@v4\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ hashFiles('Pipfile.lock', 'docker/dev.Dockerfile') }}\n", "state": "active", "repository": "coronasafe/care"}
{"mined_at": "2024-07-15T13:46:43.371747", "created_at": "2020-08-20T20:22:19+02:00", "updated_at": "2020-08-20T20:22:19+02:00", "name": "Linters", "path": ".github/workflows/linters.yaml", "contents": "name: Linters\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - master\n      - release_*\n\njobs:\n  bandit:\n    name: Bandit analyzer for Python ${{ matrix.os.python }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: fedora\n            version: 35\n            python: 3\n            engine: docker\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - run: ./test.sh\n        env:\n          OS: ${{ matrix.os.name }}\n          OS_VERSION: ${{ matrix.os.version }}\n          PYTHON_VERSION: ${{ matrix.os.python }}\n          ENGINE: ${{ matrix.os.engine }}\n          ACTION: bandit\n\n  flake8:\n    name: Flake8 for Python 3\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v3\n\n      - name: Run flake8 for Python 3\n        uses: containerbuildsystem/actions/flake8@master\n\n  markdownlint:\n    name: Markdownlint\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v3\n\n      - name: Run markdownlint\n        uses: containerbuildsystem/actions/markdownlint@master\n\n  mypy:\n    name: mypy\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v3\n\n      - name: Run mypy\n        uses: containerbuildsystem/actions/mypy@master\n        with:\n          package: 'atomic_reactor'\n\n  pylint:\n    name: Pylint analyzer for Python ${{ matrix.os.python }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        os:\n          - name: fedora\n            version: 35\n            python: 3\n            engine: docker\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - run: ./test.sh\n        env:\n          OS: ${{ matrix.os.name }}\n          OS_VERSION: ${{ matrix.os.version }}\n          PYTHON_VERSION: ${{ matrix.os.python }}\n          ENGINE: ${{ matrix.os.engine }}\n          ACTION: pylint\n\n  shellcheck:\n    name: Shellcheck\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v3\n\n      - name: Run ShellCheck\n        uses: containerbuildsystem/actions/shellcheck@master\n\n  tekton-lint:\n    name: tekton-lint\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v3\n\n      - name: Run tekton-lint\n        uses: containerbuildsystem/actions/tekton-lint@master\n        with:\n          path: 'tekton/**/*.yaml'\n", "state": "active", "repository": "containerbuildsystem/atomic-reactor"}
{"mined_at": "2024-07-15T13:46:44.484196", "created_at": "2020-08-20T20:22:19+02:00", "updated_at": "2020-08-20T20:22:19+02:00", "name": "Unittests", "path": ".github/workflows/unittests.yaml", "contents": "name: Unittests\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - master\n      - release_*\n\njobs:\n  test:\n    name: Python ${{ matrix.os.python }} tests on ${{ matrix.os.name }}-${{ matrix.os.version }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: centos\n            version: 8\n            python: \"3.8\"\n            engine: docker\n\n          - name: fedora\n            version: 35\n            python: 3\n            engine: docker\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v3\n\n      - name: pytests via test.sh\n        env:\n          OS: ${{ matrix.os.name }}\n          OS_VERSION: ${{ matrix.os.version }}\n          PYTHON_VERSION: ${{ matrix.os.python }}\n          ENGINE: ${{ matrix.os.engine }}\n        run: ./test.sh\n\n      - name: Upload pytest html report\n        uses: actions/upload-artifact@v3\n        if: failure()\n        with:\n          path: __pytest_reports/atomic-reactor-unit-tests.html\n          name: atomic-reactor-unit-tests_${{ matrix.os.name }}_${{ matrix.os.version }}.python${{ matrix.os.python }}.html\n\n      - name: Run coveralls-python\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: ${{ matrix.os.name }}-${{ matrix.os.version }}-python${{ matrix.os.python }}\n          COVERALLS_PARALLEL: true\n        run: |\n          sudo apt install python3-testresources\n          pip3 install --upgrade pip==20.0.2\n          pip3 install --upgrade setuptools\n          pip3 install --upgrade coveralls\n          /home/runner/.local/bin/coveralls --service=github\n\n  coveralls-finish:\n    name: Finish coveralls-python\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n    - name: Finished\n      run: |\n        sudo apt install python3-testresources\n        pip3 install --upgrade pip==20.0.2\n        pip3 install --upgrade setuptools\n        pip3 install --upgrade coveralls\n        /home/runner/.local/bin/coveralls --finish --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "containerbuildsystem/atomic-reactor"}
{"mined_at": "2024-07-15T13:46:45.515995", "created_at": "2022-11-22T18:55:04+01:00", "updated_at": "2024-01-09T06:44:12+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\", osbs_ocp3 ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '41 5 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "disabled_inactivity", "repository": "containerbuildsystem/atomic-reactor"}
{"mined_at": "2024-07-15T13:46:47.788685", "created_at": "2024-01-01T01:10:31+01:00", "updated_at": "2024-01-01T01:10:31+01:00", "name": "Yaml Linting", "path": ".github/workflows/yaml_linter.yaml", "contents": "---\nname: Yaml Linting\non: # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"*\"\njobs:\n  YAML_Linting:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: YAML Linting\n        uses: ibiqlik/action-yamllint@v3\n        with:\n          config_file: .github/config/.yamllint.yml\n", "state": "active", "repository": "r-anime/holo"}
{"mined_at": "2024-07-15T13:46:49.854037", "created_at": "2022-08-15T22:39:09+02:00", "updated_at": "2022-08-15T22:57:10+02:00", "name": "Continuous Integration", "path": ".github/workflows/ci.yml", "contents": "---\nname: Continuous Integration\non: [push, pull_request]\n\njobs:\n  tests_coverage:\n    name: Tests & Coverage\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n          environment-file: .github/pysb-conda-env.yml\n          activate-environment: pysb\n      - name: Install StochKit (except on Windows)\n        if: matrix.os != 'windows-latest'\n        run: conda install -y -c alubbock stochkit\n      - name: Install StochKit Lite (Windows only)\n        if: matrix.os == 'windows-latest'\n        run: conda install -y -c alubbock -c conda-forge stochkit-lite\n      - name: Fix gfortran DLL linker error on Windows/Python 3.8\n        if: matrix.os == 'windows-latest' && matrix.python-version == '3.8'\n        run: pip install --upgrade --force-reinstall scipy\n      - name: Conda environment info\n        run: |\n          conda info\n          conda list\n      - name: Build PySB\n        run: python setup.py build --build-lib=build/lib\n      - name: Run nosetests\n        env:\n          PYTHONFAULTHANDLER: 1\n        run: >\n          nosetests\n          build/lib/pysb\n          --with-coverage --cover-inclusive --cover-package=build/lib/pysb\n          --cover-xml\n          -a '!gpu'\n      - uses: codecov/codecov-action@v3\n        with:\n          verbose: true\n          flags: os-${{ matrix.os }},python-${{ matrix.python-version }}\n", "state": "active", "repository": "pysb/pysb"}
{"mined_at": "2024-07-15T13:46:51.810752", "created_at": "2020-01-11T07:33:45+01:00", "updated_at": "2020-01-11T07:35:03+01:00", "name": "Test MicropyCli", "path": "", "contents": null, "state": "active", "repository": "bradenm/micropy-cli"}
{"mined_at": "2024-07-15T13:46:53.097515", "created_at": "2023-01-29T11:21:45+01:00", "updated_at": "2023-01-30T00:40:59+01:00", "name": "Changelog", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  changelog:\n    name: Generate Changelog\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    if: github.actor != 'github-actions[bot]' || github.event.pusher.email != 'github-actions[bot]@users.noreply.github.com'\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.GH_PAT }}\n          fetch-depth: 0\n\n      - name: Setup go\n        uses: actions/setup-go@v3\n\n      - name: Generate Changelog\n        run: go run github.com/git-chglog/git-chglog/cmd/git-chglog@latest --output CHANGELOG.md\n\n      - name: Commit Changes\n        run: |\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git commit -m \"chore(chglog): update changelog.\" -a || true\n\n      - name: Push Changes\n        uses: ad-m/github-push-action@9870d48124da805820c70ebc6ba563c715551019\n        with:\n          github_token: ${{ secrets.GH_PAT }}\n          branch: ${{ github.ref }}\n", "state": "disabled_manually", "repository": "bradenm/micropy-cli"}
{"mined_at": "2024-07-15T13:46:54.123305", "created_at": "2022-04-11T05:38:04+02:00", "updated_at": "2022-04-11T10:31:10+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: \"24 9 * * 4\"\n\nenv:\n  POETRY_VERSION: 1.8.3\n  PYTHON_VERSION: 3.11\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"python\"]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Setup environment.\n        uses: ./.github/actions/setup-micropy\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n          python-version: ${{ env.PYTHON_VERSION }}\n          runner: ubuntu-latest\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        env:\n          CODEQL_PYTHON: ./.venv/bin/python\n        with:\n          languages: ${{ matrix.language }}\n          setup-python-dependencies: false\n          config-file: ./.github/codeql/codeql-config.yml\n          source-root: micropy\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      - name: Perform CodeQL Analysis\n        env:\n          CODEQL_PYTHON: ./.venv/bin/python\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "bradenm/micropy-cli"}
{"mined_at": "2024-07-15T13:46:55.115693", "created_at": "2019-12-19T07:26:12+01:00", "updated_at": "2019-12-19T07:26:12+01:00", "name": "Test MicropyCli", "path": ".github/workflows/main.yml", "contents": "name: Test MicropyCli\n\non:\n  pull_request: ~\n  push:\n    branches:\n      - master\n\nenv:\n  POETRY_VERSION: 1.8.3\n\nconcurrency:\n  group: main-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  test:\n    name: ${{ matrix.os }} @ Py v${{ matrix.python }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        # explicitly use macOS-12 to avoid\n        # macOS-11 cached wheels failing to install on a 12 runner.\n        # this is due to an active transition by github.\n        # see: https://github.blog/changelog/2022-10-03-github-actions-jobs-running-on-macos-latest-are-now-running-on-macos-12/\n        os: [windows-latest, macOS-12, ubuntu-latest]\n        python: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: true\n\n      - name: Setup environment.\n        uses: ./.github/actions/setup-micropy\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n          python-version: ${{ matrix.python }}\n\n      - name: Run Tests\n        run: poetry run pytest --cov --cov-config=pyproject.toml --junit-xml=test_log.xml --cov-report=xml:cov.xml -vv -ra -n'auto'\n\n      - name: Upload Codecov\n        uses: codecov/codecov-action@v3\n        env:\n          OS: ${{ matrix.os }}\n          PYTHON: ${{ matrix.python }}\n        with:\n          files: ./cov.xml\n          fail_ci_if_error: false\n          flags: unittests,py-${{ matrix.python }},os-${{ matrix.os }}\n          env_vars: OS,PYTHON\n", "state": "active", "repository": "bradenm/micropy-cli"}
{"mined_at": "2024-07-15T13:46:56.249840", "created_at": "2023-01-30T02:53:38+01:00", "updated_at": "2023-01-30T02:53:38+01:00", "name": "Publish Release", "path": ".github/workflows/publish.yml", "contents": "name: Publish Release\n\non:\n  release:\n    types:\n      - created\n\nenv:\n  POETRY_VERSION: 1.8.3\n  PYTHON_VERSION: 3.11\n\njobs:\n  publish:\n    name: Publish\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: true\n\n      - name: Setup environment.\n        uses: ./.github/actions/setup-micropy\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Build\n        run: poetry build\n\n      - name: Publish to PyPi\n        env:\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n        run: poetry publish\n", "state": "active", "repository": "bradenm/micropy-cli"}
{"mined_at": "2024-07-15T13:46:57.272943", "created_at": "2023-01-29T11:45:32+01:00", "updated_at": "2023-01-29T11:45:32+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n\njobs:\n  release-please:\n    name: Release Please\n    runs-on: ubuntu-latest\n    steps:\n      - name: Release Please\n        id: release-please\n        # see: googleapis/release-please#1837\n        uses: BradenM/release-please-action@d0fa220390843191f01153795b2e5dce67410563\n        with:\n          token: ${{ secrets.GH_PAT }}\n          command: manifest\n", "state": "active", "repository": "bradenm/micropy-cli"}
{"mined_at": "2024-07-15T13:46:59.549638", "created_at": "2019-12-19T02:35:00+01:00", "updated_at": "2021-04-24T18:12:45+02:00", "name": "Examples", "path": ".github/workflows/examples.yml", "contents": "name: Examples\n\non: pull_request\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.operating-system }}\n    defaults:\n      run:\n        shell: bash\n\n    strategy:\n      fail-fast: false\n      max-parallel: 5\n      matrix:\n        python-version: ['3.10']\n        operating-system: [ubuntu-latest]\n        # Next line should be [1, 2, ..., max-parallel)\n        test_group: [1, 2, 3, 4, 5]\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: FedericoCarboni/setup-ffmpeg@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          # This path is specific to Ubuntu\n          path: ~/.cache/pip\n          # Look to see if there is a cache hit for the corresponding requirements file\n          key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n\n      - name: Install dependencies (pip)\n        run: |\n          pip install -e .[test,extras]\n\n      - name: Running tests\n        # Make sure to pass max-parallel to --splits\n        run: |\n          pytest \\\n            -p no:python \\\n            --nbval-lax \\\n            --splits ${{ strategy.max-parallel}} \\\n            --group ${{ matrix.test_group }} \\\n            --durations-path test/fixtures/.test_durations_examples \\\n            --suppress-no-test-exit-code  # so if no tests collected, CI won't break\n", "state": "active", "repository": "pmeal/porespy"}
{"mined_at": "2024-07-15T13:47:00.779697", "created_at": "2020-08-18T17:39:40+02:00", "updated_at": "2024-03-11T17:51:18+01:00", "name": "Clean Up Tags", "path": ".github/workflows/cleanup-tags.yml", "contents": "name: Clean Up Tags\n\non: [workflow_dispatch]\n\njobs:\n  deploy:\n    name: Clean up tags\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Clean up tags\n      run: |\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY}\n        remote_repo=\"https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${REPOSITORY}.git\"\n        git fetch --all --tags --force\n        prefix=\"v\"\n        pattern=\"^($prefix)(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-((?:0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$\"\n        git tag | grep --invert-match -P $pattern | xargs -n 1 -I % git push \"${remote_repo}\" :refs/tags/%\n", "state": "active", "repository": "pmeal/porespy"}
{"mined_at": "2024-07-15T13:47:01.904932", "created_at": "2020-08-18T19:43:16+02:00", "updated_at": "2022-08-23T02:05:29+02:00", "name": "Bump Version (release)", "path": ".github/workflows/bump-version.yml", "contents": "name: Bump Version (release)\n\non:\n  push:\n    branches:\n      - release\n\njobs:\n  build:\n    name: Bump version\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        persist-credentials: false  # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token\n        fetch-depth: 0              # otherwise, you will failed to push refs to dest repo\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Set env variables\n      run: |\n        echo \"${{ github.event.head_commit.message }}\"\n\n    - name: Install dependencies\n      run: |\n        pip install -e .[build]\n\n    - name: Bump version (patch)\n      if: contains(github.event.head_commit.message, '#patch')\n      run: |\n        hatch version patch\n        echo \"TAG_NEW=v$(hatch version)\" >> $GITHUB_ENV\n\n    - name: Bump version (minor)\n      if: contains(github.event.head_commit.message, '#minor')\n      run: |\n        hatch version minor\n        echo \"TAG_NEW=v$(hatch version)\" >> $GITHUB_ENV\n\n    - name: Bump version (major)\n      if: contains(github.event.head_commit.message, '#major')\n      run: |\n        hatch version major\n        echo \"TAG_NEW=v$(hatch version)\" >> $GITHUB_ENV\n\n    - name: Commit files\n      if: |\n        contains(github.event.head_commit.message, '#patch') ||\n        contains(github.event.head_commit.message, '#minor') ||\n        contains(github.event.head_commit.message, '#major')\n      run: |\n        REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY}\n        remote_repo=\"https://${GITHUB_ACTOR}:${{ secrets.PUSH_ACTION_TOKEN }}@github.com/${REPOSITORY}.git\"\n\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n\n        # Commit version bump to release\n        git commit -m \"Bump version number\" -a\n        git push \"${remote_repo}\" release\n\n    - name: Create Pull Request to merge back release into dev\n      uses: repo-sync/pull-request@v2\n      with:\n        source_branch: \"release\"                          # If blank, default: triggered branch\n        destination_branch: \"dev\"                         # If blank, default: master\n        pr_title: \"Merge release -> dev to propagate version number bump\"\n        pr_body: \"Changes made to the release branch (e.g. hotfixes), plus the version bump.\"\n        pr_assignee: \"jgostick,ma-sadeghi\"                # Comma-separated list (no spaces)\n        pr_label: \"high priority\"                         # Comma-separated list (no spaces)\n        pr_draft: false                                   # Creates pull request as draft\n        pr_allow_empty: true                              # Creates pull request even if there are no changes\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Create new tag\n      run: |\n        REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY}\n        remote_repo=\"https://${GITHUB_ACTOR}:${{ secrets.PUSH_ACTION_TOKEN }}@github.com/${REPOSITORY}.git\"\n        if [ -z \"$TAG_NEW\" ]\n        then\n            echo \"New tag not created.\"\n        else\n            git tag $TAG_NEW\n            git push \"${remote_repo}\" $TAG_NEW\n            echo \"Pushed a new tag: $TAG_NEW\"\n        fi\n", "state": "active", "repository": "pmeal/porespy"}
{"mined_at": "2024-07-15T13:47:03.018847", "created_at": "2020-08-18T19:43:16+02:00", "updated_at": "2021-02-12T21:04:44+01:00", "name": "Deploy to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Deploy to PyPI\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  deploy:\n    name: Publish 🐍 📦 to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: release\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Set env variables\n      run: |\n        chmod +x .github/workflows/utils.sh\n        source .github/workflows/utils.sh\n        echo \"TAG=$(get_most_recent_tag)\" >> $GITHUB_ENV\n        echo \"VERSION=$(hatch version)\" >> $GITHUB_ENV\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .[build]\n        echo ${{ github.event.ref }}\n        echo \"Tag/version mismatch: $TAG_MISMATCH\"\n\n    - name: Build and publish to PyPI 📦\n      run: |\n        export HATCH_INDEX_USER=\"__token__\"\n        export HATCH_INDEX_AUTH=\"${{ secrets.HATCH_INDEX_AUTH }}\"\n        hatch build\n        hatch publish\n\n    # - name: Build distribution 📦\n    #   run: python setup.py sdist bdist_wheel\n\n    # - name: Publish distribution 📦 to PyPI\n    #   if: startsWith(github.event.ref, 'refs/tags')\n    #   uses: pypa/gh-action-pypi-publish@release/v1\n    #   with:\n    #     user: __token__\n    #     password: ${{ secrets.PYPI_TOKEN }}\n    #     skip-existing: true\n", "state": "active", "repository": "pmeal/porespy"}
{"mined_at": "2024-07-15T13:47:04.159966", "created_at": "2020-08-18T19:43:16+02:00", "updated_at": "2022-08-12T23:24:17+02:00", "name": "Release Notes", "path": ".github/workflows/release-notes.yml", "contents": "name: Release Notes\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  build:\n    name: Release notes\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n            fetch-depth: 0  # Retrieve entire history of refs/tags\n\n      - name: get-recent-tag\n        run: |\n          git fetch --all --tags --force\n          chmod +x .github/workflows/logger.sh\n          chmod +x .github/workflows/utils.sh\n          source .github/workflows/utils.sh\n          bash .github/workflows/logger.sh\n          echo \"TAG=$(get_most_recent_tag)\" >> $GITHUB_OUTPUT\n\n      - name: Create GitHub release\n        uses: Roang-zero1/github-create-release-action@v3\n        with:\n          version_regex: ^v[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+\n          create_draft: true\n          created_tag: ${{ steps.get-recent-tag.outputs.TAG }}\n          update_existing: false\n          release_title: ${{ steps.get-recent-tag.outputs.TAG }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pmeal/porespy"}
{"mined_at": "2024-07-15T13:47:05.235167", "created_at": "2021-03-27T05:04:54+01:00", "updated_at": "2021-04-24T23:30:35+02:00", "name": "Deploy Documentation", "path": ".github/workflows/gh-pages.yml", "contents": "name: Deploy Documentation\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - dev\n\njobs:\n  deploy-docs:\n\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Cache pip\n        uses: actions/cache@v2\n        with:\n          # This path is specific to Ubuntu\n          path: ~/.cache/pip\n          # Look to see if there is a cache hit for the corresponding requirements file\n          key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n\n      - name: Install dependencies (conda)\n        run: |\n          pip install -e .[docs,interactive]\n\n      # Build the documentation\n      - name: Build the documentation\n        run: |\n          cd docs\n          make html\n\n      # Push the documentation's HTML to github-pages\n      - name: GitHub Pages action\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs/_build/html\n          cname: porespy.org\n", "state": "active", "repository": "pmeal/porespy"}
{"mined_at": "2024-07-15T13:47:06.307902", "created_at": "2021-04-08T04:16:27+02:00", "updated_at": "2021-04-08T04:29:33+02:00", "name": "Test Duration Logger", "path": ".github/workflows/test-duration-logger.yml", "contents": "name: Test Duration Logger\n\non: [workflow_dispatch]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    strategy:\n      max-parallel: 1\n      matrix:\n        python-version: ['3.10']\n        os: [ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          # This path is specific to Ubuntu\n          path: ~/.cache/pip\n          # Look to see if there is a cache hit for the corresponding requirements file\n          key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n\n      - name: Install dependencies (pip)\n        run: |\n          pip install -e .[test,extras]\n\n      - name: Running unit tests and examples\n        run: |\n          rm test/fixtures/.test_durations*\n          pytest \\\n            --nbval-lax examples/ \\\n            --store-durations \\\n            --durations-path test/fixtures/.test_durations_examples\n          pytest test/ \\\n            --store-durations \\\n            --durations-path test/fixtures/.test_durations_unit\n\n      - name: Committing test duration files\n        uses: EndBug/add-and-commit@v9\n        with:\n          add: 'test/fixtures'\n          author_name: github-actions\n          author_email: actions@github.com\n          message: 'Updated test duration files.'\n", "state": "active", "repository": "pmeal/porespy"}
{"mined_at": "2024-07-15T13:47:07.430351", "created_at": "2021-07-14T17:40:13+02:00", "updated_at": "2021-07-14T17:40:13+02:00", "name": "Verify pip-installability", "path": ".github/workflows/verify-pip-installation.yml", "contents": "name: Verify pip-installability\n\non:\n  schedule:\n    # Run (on default branch only) at 05:00 (hr:mm) UTC -> 12am EST\n    - cron: \"0 5 * * *\"\n  workflow_dispatch:  \n\njobs:\n  deploy:\n    name: Verify pip-installability\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Set branch name as env variable\n      run: |\n        echo Current branch: ${GITHUB_REF#refs/heads/}\n        echo \"BRANCH_NAME=${GITHUB_REF#refs/heads/}\" >> $GITHUB_ENV\n\n    - name: Install only using pip\n      run:\n        pip install git+https://github.com/PMEAL/porespy.git@${BRANCH_NAME}\n\n    - name: Test the installation\n      run:\n        python -c \"import porespy\"\n", "state": "active", "repository": "pmeal/porespy"}
{"mined_at": "2024-07-15T13:47:08.547016", "created_at": "2021-12-21T04:13:53+01:00", "updated_at": "2021-12-21T04:13:53+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pmeal/porespy"}
{"mined_at": "2024-07-15T13:47:09.789279", "created_at": "2022-02-09T08:30:12+01:00", "updated_at": "2022-02-09T15:32:25+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n  pull_request:\n    branches:\n      - release\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n\n    strategy:\n      fail-fast: false\n      max-parallel: 12\n      matrix:\n        python-version: ['3.10', '3.11']\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        include:\n        - os: ubuntu-latest\n          path: ~/.cache/pip\n        - os: macos-latest\n          path: ~/Library/Caches/pip\n        - os: windows-latest\n          path: ~\\AppData\\Local\\pip\\Cache\n\n    steps:\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ${{ matrix.path }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies (pip)\n        run: |\n          pip install -e .[test,extras]\n\n      # TODO: uncomment this step when integration tests are fixed\n      # - name: Disable numba JIT for codecov to include jitted methods\n      #   if: (matrix.python-version == 3.10) && (matrix.os == 'ubuntu-latest')\n      #   run: |\n      #     echo \"NUMBA_DISABLE_JIT=1\" >> $GITHUB_ENV\n\n      - name: Running tests\n        run:\n          pytest --cov=. --cov-report=xml\n\n      - name: Upload coverage to Codecov\n        if: (matrix.python-version == 3.10) && (matrix.os == 'ubuntu-latest')\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n", "state": "active", "repository": "pmeal/porespy"}
{"mined_at": "2024-07-15T13:47:10.778271", "created_at": "2022-02-09T19:45:15+01:00", "updated_at": "2022-08-23T02:05:29+02:00", "name": "Bump Version (dev)", "path": ".github/workflows/bump-version-dev.yml", "contents": "name: Bump Version (dev)\n\non:\n  push:\n    branches:\n      - dev\n\njobs:\n  build:\n    if: (! contains(github.event.head_commit.message, '[no bump]'))\n\n    name: Bump version\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Set env variables\n      run: |\n        echo \"${{ github.event.head_commit.message }}\"\n\n    - name: Install dependencies\n      run: |\n        pip install -e .[build]\n\n    - name: Bump version (dev)\n      run: |\n        hatch version dev\n\n    - name: Commit files\n      uses: stefanzweifel/git-auto-commit-action@v5\n      with:\n        commit_message: Bump version number (dev segment)\n        commit_author: GitHub Actions <actions@github.com>\n", "state": "active", "repository": "pmeal/porespy"}
{"mined_at": "2024-07-15T13:47:11.939629", "created_at": "2024-03-11T17:30:11+01:00", "updated_at": "2024-03-11T17:51:18+01:00", "name": "Ruff", "path": ".github/workflows/ruff.yml", "contents": "name: Ruff\n\non: pull_request\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n", "state": "active", "repository": "pmeal/porespy"}
{"mined_at": "2024-07-15T13:47:14.499923", "created_at": "2021-03-05T10:23:46+01:00", "updated_at": "2021-03-05T10:23:46+01:00", "name": "Rebuild & push images", "path": ".github/workflows/build-and-push.yml", "contents": "name: Rebuild & push images\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n\njobs:\n  build-n-push:\n    # To not run in forks\n    if: github.repository_owner == 'packit'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - dockerfile: Containerfile\n            image: packit\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Build Image\n        id: build-image\n        # https://github.com/marketplace/actions/buildah-build\n        uses: redhat-actions/buildah-build@v2\n        with:\n          dockerfiles: ${{ matrix.dockerfile }}\n          image: ${{ matrix.image }}\n          tags: latest\n          oci: true\n\n      - name: Push To Quay\n        # https://github.com/marketplace/actions/push-to-registry\n        uses: redhat-actions/push-to-registry@v2\n        with:\n          image: ${{ steps.build-image.outputs.image }}\n          tags: ${{ steps.build-image.outputs.tags }}\n          registry: quay.io/packit\n          username: ${{ secrets.QUAY_IMAGE_BUILDER_USERNAME }}\n          password: ${{ secrets.QUAY_IMAGE_BUILDER_TOKEN }}\n", "state": "active", "repository": "packit/packit"}
{"mined_at": "2024-07-15T13:47:15.506941", "created_at": "2024-02-19T15:36:22+01:00", "updated_at": "2024-02-19T18:06:49+01:00", "name": "Check release notes", "path": ".github/workflows/check-release-notes.yml", "contents": "name: Check release notes\n\non:\n  pull_request:\n    types:\n      - opened\n      - edited\n      - synchronize\n\njobs:\n  check_release_notes:\n    name: Notes are either written, or there are none\n    uses: packit/.github/.github/workflows/check-release-notes.yml@main\n    with:\n      description: ${{ github.event.pull_request.body }}\n", "state": "active", "repository": "packit/packit"}
{"mined_at": "2024-07-15T13:47:16.650515", "created_at": "2022-09-08T16:36:33+02:00", "updated_at": "2022-09-08T16:36:33+02:00", "name": "Create a GitHub release once a release PR is merged", "path": ".github/workflows/do_release.yml", "contents": "name: Create a GitHub release once a release PR is merged\n\non:\n  workflow_dispatch:\n  pull_request:\n    types:\n      - closed\n\njobs:\n  if_merged:\n    if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release') && github.repository_owner == 'packit'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Create GitHub release\n        run: |\n          VERSION=$(grep -oP '^# \\K[0-9.]*' CHANGELOG.md | head -n 1)\n          # Take the lines between the first two headers from CHANGELOG.md,\n          # and use it as a description for the new release.\n          CHANGELOG=$(awk 'BEGIN { first = 0 } /^# / { if (first == 0) { first = 1 } else { exit } } /^[^#]/ { print $0 }' CHANGELOG.md)\n          # Use the changelog re-calculated to create a new release\n          gh release create ${VERSION} --draft --title ${VERSION} -n \"${CHANGELOG}\"\n        env:\n          GH_TOKEN: ${{ secrets.RELEASEBOT_GITHUB_TOKEN }}\n", "state": "active", "repository": "packit/packit"}
{"mined_at": "2024-07-15T13:47:17.761566", "created_at": "2022-09-06T15:29:22+02:00", "updated_at": "2022-09-06T15:29:22+02:00", "name": "Move new issues into the Kanban board", "path": ".github/workflows/opened-issues-to-the-board.yml", "contents": "name: Move new issues into the Kanban board\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  add-new-issue-to-the-kanban-board:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v0.3.0\n        with:\n          project-url: https://github.com/orgs/packit/projects/7\n          github-token: ${{ secrets.RELEASEBOT_GITHUB_TOKEN }}\n", "state": "active", "repository": "packit/packit"}
{"mined_at": "2024-07-15T13:47:18.783105", "created_at": "2022-09-07T13:38:48+02:00", "updated_at": "2022-09-07T13:38:48+02:00", "name": "Prepare a new release", "path": ".github/workflows/prepare-release.yml", "contents": "name: Prepare a new release\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        required: true\n        description: Version number for the new release\n\njobs:\n  prepare-release:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Prepare release content\n        uses: packit/prepare-release@v1\n        with:\n          version: ${{ inputs.version }}\n          specfiles: packit.spec\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v4\n        with:\n          labels: release\n          commit-message: Release ${{ inputs.version }}\n          title: Release ${{ inputs.version }}\n          body: Update the changelog and the specfile for release ${{ inputs.version }}.\n          delete-branch: true\n", "state": "active", "repository": "packit/packit"}
{"mined_at": "2024-07-15T13:47:19.783311", "created_at": "2021-03-10T15:47:52+01:00", "updated_at": "2023-06-17T12:23:04+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI", "path": ".github/workflows/pypi-publish.yml", "contents": "# Upload a Python package when a release is created\n# https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows\n\nname: Publish Python 🐍 distributions 📦 to PyPI\n\non:\n  release:\n    types: [released]\n\njobs:\n  build-n-publish:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write # for trusted publishing\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n\n      - name: Get history and tags for SCM versioning to work\n        run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n\n      - name: Build a source tarball and a binary wheel\n        # https://pypa-build.readthedocs.io\n        run: |\n          python -m pip install build\n          python -m build\n\n      - name: Publish 📦 to PyPI\n        # https://github.com/pypa/gh-action-pypi-publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          verbose: true\n", "state": "active", "repository": "packit/packit"}
{"mined_at": "2024-07-15T13:47:20.829877", "created_at": "2023-05-18T17:23:36+02:00", "updated_at": "2023-05-18T17:23:36+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "packit/packit"}
{"mined_at": "2024-07-15T13:47:22.825468", "created_at": "2021-12-27T11:31:51+01:00", "updated_at": "2021-12-27T11:31:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "openfun/richie"}
{"mined_at": "2024-07-15T13:47:25.048317", "created_at": "2020-10-01T17:33:29+02:00", "updated_at": "2021-12-14T00:34:34+01:00", "name": "CI", "path": ".github/workflows/climpred_testing.yml", "contents": "name: CI  # based on https://github.com/pydata/xarray/blob/master/.github/workflows/ci.yaml\n\non:\n  pull_request:\n  schedule:\n    - cron: \"0 23 * * 0\" # Sun 23:00 UTC\n  workflow_dispatch: # allows you to trigger the workflow run manually\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  detect-ci-trigger:\n    name: detect ci trigger\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' || github.event_name == 'pull_request'\n    outputs:\n      triggered: ${{ steps.detect-trigger.outputs.trigger-found }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - uses: xarray-contrib/ci-trigger@v1.2\n        id: detect-trigger\n        with:\n          keyword: \"[skip-ci]\"\n\n  minimum-test:  # Runs testing suite with minimal dependencies\n    name: Test minimum dependencies, Python3.9\n    runs-on: ubuntu-latest\n    needs: detect-ci-trigger\n    if: needs.detect-ci-trigger.outputs.triggered == 'false'\n    defaults:\n        run:\n          shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n            fetch-depth: 0 # Fetch all history for all branches and tags.\n      - name: Set up conda (micromamba)\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/requirements/minimum-tests.yml\n          environment-name: climpred-minimum-tests\n          cache-environment: true\n          create-args: >-\n            python=3.9\n            conda\n      - name: Install climpred\n        run: |\n          python -m pip install -e .\n          python -m pip uninstall netcdf4 -y\n      - name: Conda info\n        run: |\n          conda info\n      - name: Conda list\n        run: |\n          conda list\n      - name: Cache datasets  # pytest-xdist fails otherwise\n        run: |\n          python -c \"import climpred; climpred.tutorial._cache_all()\"\n      - name: Run tests\n        run: |\n          pytest -n 4 --durations=20\n\n  maximum-test:  # Runs testing suite with all optional dependencies\n    name: Test optional dependencies, Python${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    needs: detect-ci-trigger\n    if: needs.detect-ci-trigger.outputs.triggered == 'false'\n    defaults:\n        run:\n          shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        env: [\"\"]\n        include:\n          - env: \"climpred-maximum-tests\"\n            python-version: \"3.9\"\n            os: ubuntu-latest\n          - env: \"climpred-maximum-tests\"\n            python-version: \"3.10\"\n            os: ubuntu-latest\n          - env: \"climpred-maximum-tests-upstream\"\n            python-version: \"3.11\"\n            os: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n            fetch-depth: 0 # Fetch all history for all branches and tags.\n      - name: Setup conda (micromamba)\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/requirements/maximum-tests.yml\n          environment-name: climpred-maximum-tests\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n          create-args: >-\n            python=${{matrix.python-version}}\n            conda\n      - name: Install climpred[complete]\n        run: |\n          python -m pip install -e .[complete]\n          python -m pip uninstall netcdf4 -y\n      - name: Install bleeding edge\n        if: matrix.env == 'climpred-maximum-tests-upstream'\n        run: |\n          python -m pip install -r requirements_upstream.txt\n      - name: Conda info\n        run: |\n          conda info\n      - name: Conda list\n        run: |\n          conda list\n      - name: Cache datasets  # pytest-xdist fails otherwise\n        run: |\n          python -c \"import climpred; climpred.tutorial._cache_all()\"\n      - name: Run tests\n        run: |\n          pytest -n 4 --durations=20 --cov=climpred --cov-report=xml\n      - name: Upload coverage to codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          fail_ci_if_error: false\n\n  doctest:  # tests all docstrings\n    name: Doctests, Python3.9\n    runs-on: \"ubuntu-latest\"\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup conda (micromamba)\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/requirements/maximum-tests.yml\n          environment-name: climpred-maximum-tests\n          cache-environment: true\n          create-args: >-\n            python=3.9\n            conda\n      - name: Install climpred[complete]\n        run: |\n          python -m pip install -e .[complete]\n          python -m pip install 'xarray<2024.2.0'\n      - name: Conda info\n        run: |\n          conda info\n      - name: Conda list\n        run: |\n          conda list\n      - name: Run doctests\n        run: |\n          python -m pytest --doctest-modules climpred --ignore climpred/tests\n\n  notebooks:  # Checks that pre-compiled notebooks in docs still work.\n    name: Notebooks, Python3.9\n    runs-on: ubuntu-latest\n    defaults:\n        run:\n          shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up conda (micromamba)\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/requirements/docs.yml\n          environment-name: climpred-docs\n          cache-environment: true\n          create-args: >-\n            python=3.9\n            conda\n      - name: Install climpred\n        run: |\n          python -m pip install -e .\n      - name: Conda info\n        run: |\n          conda info\n      - name: Conda list\n        run: |\n          conda list\n      - name: Test notebooks in docs\n        run: |\n          pushd docs\n          nbstripout source/*.ipynb source/examples/decadal/*.ipynb source/examples/monseas/*.ipynb examples/subseasonal/*ly-subx-example.html\n          make -j4 html\n          popd\n", "state": "active", "repository": "pangeo-data/climpred"}
{"mined_at": "2024-07-15T13:47:26.192424", "created_at": "2020-10-01T17:57:27+02:00", "updated_at": "2021-12-14T00:34:34+01:00", "name": "install", "path": ".github/workflows/climpred_installs.yml", "contents": "name: install\n\non:\n  pull_request:\n  workflow_dispatch: # allows you to trigger manually\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  detect-ci-trigger:\n    name: detect ci trigger\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' || github.event_name == 'pull_request'\n    outputs:\n      triggered: ${{ steps.detect-trigger.outputs.trigger-found }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - uses: xarray-contrib/ci-trigger@v1.2\n        id: detect-trigger\n        with:\n          keyword: \"[skip-ci]\"\n\n  install-climpred-complete:  # Installs climpred on various OS.\n    name: Install climpred[complete], ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    needs: detect-ci-trigger\n    if: needs.detect-ci-trigger.outputs.triggered == 'false'\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        pip install -e .[complete]\n        python -c \"import climpred\"\n\n  install-climpred:  # Installs climpred on various OS.\n    name: Install climpred, ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    needs: detect-ci-trigger\n    if: needs.detect-ci-trigger.outputs.triggered == 'false'\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0 # Fetch all history for all branches and tags.\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        pip install -e .\n        python -c \"import climpred\"\n", "state": "active", "repository": "pangeo-data/climpred"}
{"mined_at": "2024-07-15T13:47:27.296050", "created_at": "2021-04-11T18:23:55+02:00", "updated_at": "2021-04-26T13:45:07+02:00", "name": "CI Upstream", "path": ".github/workflows/upstream-dev-ci.yml", "contents": "name: CI Upstream\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 23 * * 0\" # Sun 23:00 UTC\n  workflow_dispatch: # allows you to trigger the workflow run manually\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  detect-ci-trigger:\n    name: detect upstream-dev ci trigger\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' || github.event_name == 'pull_request'\n    outputs:\n      triggered: ${{ steps.detect-trigger.outputs.trigger-found }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - uses: xarray-contrib/ci-trigger@v1.2\n        id: detect-trigger\n        with:\n          keyword: \"[test-upstream]\"\n\n  upstream-dev:\n    name: upstream-dev\n    runs-on: ubuntu-latest\n    needs: detect-ci-trigger\n    if: |\n      always()\n      && github.repository == 'pangeo-data/climpred'\n      && (\n        (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')\n        || needs.detect-ci-trigger.outputs.triggered == 'true'\n      )\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n    outputs:\n      artifacts_availability: ${{ steps.status.outputs.ARTIFACTS_AVAILABLE }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n      - name: Set up conda (micromamba)\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/requirements/climpred-dev.yml\n          environment-name: climpred-dev\n          cache-environment: true\n          create-args: >-\n            python=${{ matrix.python-version }}\n            pytest-reportlog\n            conda\n      - name: Set up conda environment\n        run: |\n          bash ci/install-upstream-wheels.sh\n      - name: Install climpred (no deps)\n        run: |\n          python -m pip install --no-deps -e .\n      - name: Conda info\n        run: conda info -a\n      - name: Conda list\n        run: conda list\n      - name: import climpred\n        run: |\n          python -c 'import climpred; climpred.show_versions()'\n      - name: Run Tests\n        if: success()\n        id: status\n        run: |\n          python -m pytest --timeout=60 -rf \\\n            --report-log output-${{ matrix.python-version }}-log.jsonl \\\n            || (\n              echo '::set-output name=ARTIFACTS_AVAILABLE::true' && false\n          )\n      - name: Upload artifacts\n        if: |\n          failure()\n          && github.event_name == 'schedule'\n          && steps.status.outcome == 'failure'\n          && github.repository == 'pangeo-data/climpred'\n        uses: actions/upload-artifact@v4\n        with:\n          name: output-${{ matrix.python-version }}-log.jsonl\n          path: output-${{ matrix.python-version }}-log.jsonl\n          retention-days: 5\n\n  report:\n    name: report\n    needs: upstream-dev\n    if: |\n      always()\n      && github.event_name == 'schedule'\n      && github.repository == 'pangeo-data/climpred'\n      && needs.upstream-dev.outputs.artifacts_availability == 'true'\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - uses: actions/download-artifact@v4\n        with:\n          path: /tmp/workspace/logs\n      - name: Move all log files into a single directory\n        run: |\n          rsync -a /tmp/workspace/logs/output-*/ ./logs\n          ls -R ./logs\n      - name: Parse logs\n        run: |\n          shopt -s globstar\n          wget https://raw.githubusercontent.com/pydata/xarray/main/.github/workflows/parse_logs.py\n          python -m pip install pytest\n          ls logs/**/*-log*\n          ls\n          python parse_logs.py logs/**/*-log*\n          cat pytest-logs.txt\n      - name: Report failures\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const fs = require('fs');\n            const pytest_logs = fs.readFileSync('pytest-logs.txt', 'utf8');\n            const title = \"⚠️ Nightly upstream-dev CI failed ⚠️\"\n            const workflow_url = `https://github.com/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`\n            const issue_body = `[Workflow Run URL](${workflow_url})\\n${pytest_logs}`\n            // Run GraphQL query against GitHub API to find the most recent open issue used for reporting failures\n            const query = `query($owner:String!, $name:String!, $creator:String!, $label:String!){\n              repository(owner: $owner, name: $name) {\n                issues(first: 1, states: OPEN, filterBy: {createdBy: $creator, labels: [$label]}, orderBy: {field: CREATED_AT, direction: DESC}) {\n                  edges {\n                    node {\n                      body\n                      id\n                      number\n                    }\n                  }\n                }\n              }\n            }`;\n            const variables = {\n                owner: context.repo.owner,\n                name: context.repo.repo,\n                label: 'CI',\n                creator: \"github-actions[bot]\"\n            }\n            const result = await github.graphql(query, variables)\n            // If no issue is open, create a new issue,\n            // else update the body of the existing issue.\n            if (result.repository.issues.edges.length === 0) {\n                github.rest.issues.create({\n                    owner: variables.owner,\n                    repo: variables.name,\n                    body: issue_body,\n                    title: title,\n                    labels: [variables.label]\n                })\n            } else {\n                github.rest.issues.update({\n                    owner: variables.owner,\n                    repo: variables.name,\n                    issue_number: result.repository.issues.edges[0].node.number,\n                    body: issue_body\n                })\n            }\n", "state": "active", "repository": "pangeo-data/climpred"}
{"mined_at": "2024-07-15T13:47:28.308167", "created_at": "2022-01-05T14:47:18+01:00", "updated_at": "2022-01-06T00:31:12+01:00", "name": "Benchmark", "path": ".github/workflows/benchmarks.yml", "contents": "# see https://github.com/pydata/xarray/blob/main/.github/workflows/benchmarks.yml\nname: Benchmark\n\non:\n  pull_request:\n    types: [opened, reopened, synchronize, labeled]\n  workflow_dispatch:\n\njobs:\n  benchmark:\n    if: ${{ contains( github.event.pull_request.labels.*.name, 'run-benchmark') && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}\n    name: Linux\n    runs-on: ubuntu-20.04\n    env:\n      ASV_DIR: \"./asv_bench\"\n\n    steps:\n      # We need the full repo to avoid this issue\n      # https://github.com/actions/checkout/issues/23\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          # installer-url: https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh\n          installer-url: https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh\n\n      - name: Setup some dependencies\n        shell: bash -l {0}\n        run: |\n          pip install asv\n          sudo apt-get update -y\n      - name: Run benchmarks\n        shell: bash -l {0}\n        id: benchmark\n        env:\n          OPENBLAS_NUM_THREADS: 1\n          MKL_NUM_THREADS: 1\n          OMP_NUM_THREADS: 1\n          ASV_FACTOR: 1.5\n          ASV_SKIP_SLOW: 1\n        run: |\n          set -x\n          # ID this runner\n          asv machine --yes\n          echo \"Baseline:  ${{ github.event.pull_request.base.sha }} (${{ github.event.pull_request.base.label }})\"\n          echo \"Contender: ${GITHUB_SHA} (${{ github.event.pull_request.head.label }})\"\n          # Use mamba for env creation\n          # export CONDA_EXE=$(which mamba)\n          export CONDA_EXE=$(which conda)\n          # Run benchmarks for current commit against base\n          ASV_OPTIONS=\"--split --show-stderr --factor $ASV_FACTOR\"\n          asv continuous $ASV_OPTIONS ${{ github.event.pull_request.base.sha }} ${GITHUB_SHA} \\\n              | sed \"/Traceback \\|failed$\\|PERFORMANCE DECREASED/ s/^/::error::/\" \\\n              | tee benchmarks.log\n          # Report and export results for subsequent steps\n          if grep \"Traceback \\|failed\\|PERFORMANCE DECREASED\" benchmarks.log > /dev/null ; then\n              exit 1\n          fi\n        working-directory: ${{ env.ASV_DIR }}\n\n      - name: Add instructions to artifact\n        if: always()\n        run: |\n          cat benchmarks.log\n          cp benchmarks.log .asv/results/\n        working-directory: ${{ env.ASV_DIR }}\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: asv-benchmark-results-${{ runner.os }}\n          path: ${{ env.ASV_DIR }}/.asv/results\n", "state": "active", "repository": "pangeo-data/climpred"}
{"mined_at": "2024-07-15T13:47:29.313459", "created_at": "2023-11-08T23:53:40+01:00", "updated_at": "2023-11-08T23:53:40+01:00", "name": "Publish Python 🐍 distributions 📦 to PyPI", "path": ".github/workflows/publish-production-pypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  build-n-publish-pypi:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    environment: production\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python3\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n      - name: Install packaging libraries\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install build\n      - name: Build a binary wheel and a source tarball\n        run: |\n          python -m build\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "pangeo-data/climpred"}
{"mined_at": "2024-07-15T13:47:30.377576", "created_at": "2023-11-08T23:53:40+01:00", "updated_at": "2023-11-08T23:53:40+01:00", "name": "Publish Python 🐍 distributions 📦 to TestPyPI", "path": ".github/workflows/publish-staging-testpypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to TestPyPI\n\non:\n  push:\n    tags:\n      - 'v*.*' # Push events to matching v*, i.e. v1.0, v20.15.10\n\njobs:\n  release:\n    name: Create Release from tag\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Create Release\n        uses: softprops/action-gh-release@v2\n        env:\n          # This token is provided by Actions, you do not need to create your own token\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ github.ref }}\n          name: Release ${{ github.ref }}\n          draft: true\n          prerelease: false\n  deploy-testpypi:\n    name: Build and publish Python 🐍 distributions 📦 to TestPyPI\n    needs: release\n    environment: staging\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python3\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install packaging libraries\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install build\n    - name: Build a binary wheel and a source tarball\n      run: |\n        python -m build\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n        skip-existing: true\n", "state": "active", "repository": "pangeo-data/climpred"}
{"mined_at": "2024-07-15T13:47:32.407973", "created_at": "2023-01-21T16:19:54+01:00", "updated_at": "2023-03-14T08:44:56+01:00", "name": "Python Checks", "path": ".github/workflows/ci.yml", "contents": "# Adapted from: https://github.com/sesh/thttp/blob/main/.github/workflows/ci.yml\n# Thanks!\n\nname: Python Checks\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"pypy-3.9\"]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install test dependencies\n      run: |\n        pip install -e .[dev]\n\n    - name: Test\n      run: |\n        ./script/test -v\n", "state": "active", "repository": "botify-labs/simpleflow"}
{"mined_at": "2024-07-15T13:47:33.443706", "created_at": "2023-03-06T11:28:49+01:00", "updated_at": "2023-03-14T08:44:56+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [main]\n  workflow_dispatch:\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v3\n    - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "botify-labs/simpleflow"}
{"mined_at": "2024-07-15T13:47:34.456678", "created_at": "2023-07-19T11:29:03+02:00", "updated_at": "2023-07-19T11:29:03+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "botify-labs/simpleflow"}
{"mined_at": "2024-07-15T13:47:36.634779", "created_at": "2022-09-25T04:20:43+02:00", "updated_at": "2022-10-05T06:27:35+02:00", "name": "Publish to PyPI", "path": ".github/workflows/deploy-pypi.yml", "contents": "name: Publish to PyPI\n\non:\n  push:\n    tags:\n      - 'v*.*.*'\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  build-and-test-sdist-and-wheels:\n    uses: ./.github/workflows/publish-packages.yml\n    with:\n      upload_to_test: false\n    secrets:\n      PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "glotzerlab/signac"}
{"mined_at": "2024-07-15T13:47:37.719838", "created_at": "2022-09-25T04:20:43+02:00", "updated_at": "2022-10-05T06:27:35+02:00", "name": "Publish to TestPyPI", "path": ".github/workflows/deploy-test-pypi.yml", "contents": "name: Publish to TestPyPI\n\non:\n  push:\n    branches:\n      - 'release/*.*.*'\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  build-and-test-sdist-and-wheels:\n    uses: ./.github/workflows/publish-packages.yml\n    with:\n      upload_to_test: true\n    secrets:\n      TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}\n", "state": "active", "repository": "glotzerlab/signac"}
{"mined_at": "2024-07-15T13:47:38.750673", "created_at": "2022-09-25T02:30:39+02:00", "updated_at": "2022-10-05T06:27:35+02:00", "name": "Publish packages", "path": ".github/workflows/publish-packages.yml", "contents": "name: Publish packages\n\non:\n  workflow_call:\n    inputs:\n      upload_to_test:\n        required: true\n        type: boolean\n    secrets:\n      TEST_PYPI_API_TOKEN:\n        required: false\n      PYPI_API_TOKEN:\n        required: false\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out repo\n      uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - name: Install dependencies\n      run: |\n        # We must explicitly install the requirements so that we can force\n        # installation of the local wheel below in case the version conflicts\n        # with published wheels (typically only possible during testing).\n        python -m pip install \\\n        -r requirements.txt \\\n        -r requirements/requirements-test.txt \\\n        -r requirements/requirements-test-optional.txt\n    - name: Install pypa/build\n      run:\n        python -m pip install build\n    - name: Build a binary wheel and a source tarball\n      run:\n        python -m build --sdist --wheel --outdir dist/ .\n    - name: Install wheel\n      run:\n        python -m pip install signac --progress-bar off --no-index -f dist/\n    - name: Test with pytest\n      run:\n        python -m pytest -v tests/\n    - name: Upload artifact\n      uses: actions/upload-artifact@v4\n      with:\n          name: release\n          path: dist/\n\n  publish:\n    needs: [build]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n            name: release\n            path: dist/\n      - name: Publish package to TestPyPI\n        if: ${{ inputs.upload_to_test }}\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository_url: https://test.pypi.org/legacy/\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n      - name: Publish package to PyPI\n        if: ${{ !inputs.upload_to_test }}\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "glotzerlab/signac"}
{"mined_at": "2024-07-15T13:47:39.883609", "created_at": "2022-06-19T22:51:09+02:00", "updated_at": "2022-07-05T04:16:28+02:00", "name": "Run Unit Tests", "path": ".github/workflows/run-pytest.yml", "contents": "name: Run Unit Tests\n\non:\n  # trigger on pull requests\n  pull_request:\n\n  # trigger on all commits to main\n  push:\n    branches:\n      - 'main'\n\n  # trigger on request\n  workflow_dispatch:\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\njobs:\n  test:\n    name: test (${{ matrix.os }}, ${{ matrix.python }}, ${{ matrix.dependencies }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        # Unused key to force creation of new entries in the matrix\n        default: ['true']\n        include:\n          # Defaults to newest dependencies\n          - dependencies: 'newest'\n          # Oldest dependency tests\n          - python: '3.8'\n            dependencies: 'oldest'\n          - os: 'macos-latest'\n            python: '3.8'\n            dependencies: 'oldest'\n          - os: 'windows-latest'\n            python: '3.8'\n            dependencies: 'oldest'\n          # Newest version tests for non-Linux OS\n          - os: 'ubuntu-latest'\n            python: '3.12'\n            dependencies: 'newest'\n          - os: 'macos-latest'\n            python: '3.12'\n            dependencies: 'newest'\n          - os: 'windows-latest'\n            python: '3.12'\n            dependencies: 'newest'\n          # Minimal dependencies tests\n          - default: 'false'\n            os: 'ubuntu-latest'\n            python: '3.12'\n            dependencies: 'minimal'\n          - os: 'macos-14'\n            python: '3.12'\n            dependencies: 'minimal'\n          - os: 'windows-latest'\n            python: '3.12'\n            dependencies: 'minimal'\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install newest dependencies\n      run: |\n        pip install -r requirements/requirements-test.txt\n        pip install -r requirements/requirements-test-optional.txt\n      if: ${{ matrix.dependencies == 'newest' }}\n    - name: Install minimal dependencies\n      run: |\n        pip install -r requirements/requirements-test.txt\n      if: ${{ matrix.dependencies == 'minimal' }}\n    - name: Install oldest supported dependencies\n      # To prevent Dependabot from updating the pinnings in this \"oldest\"\n      # dependency list, we have to avoid the word \"requirements\" in the\n      # filename. That's why it is in the .github/ directory and named \"reqs\"\n      # instead of \"requirements.\"\n      run: |\n        pip install -r .github/workflows/ci-oldest-reqs.txt\n      if: ${{ matrix.dependencies == 'oldest' }}\n    - name: Install the package\n      run: |\n        pip install -e .\n    - name: Test with pytest\n      run: |\n        pytest --cov=signac --cov-config=pyproject.toml --cov-report=xml tests/ -v\n    - uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "glotzerlab/signac"}
{"mined_at": "2024-07-15T13:47:41.021385", "created_at": "2024-06-01T13:34:15+02:00", "updated_at": "2024-06-01T13:34:15+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "glotzerlab/signac"}
{"mined_at": "2024-07-15T13:47:43.138840", "created_at": "2023-05-03T11:04:58+02:00", "updated_at": "2023-05-08T09:47:10+02:00", "name": "Start CI Run", "path": ".github/workflows/CIBase.yml", "contents": "name: Start CI Run\n\non:\n  push:\n    branches:\n      - 'main'\n      - 'release/**'\n\npermissions:\n  contents: read\n\njobs:\n  starter:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: Get branch names\n        id: branch-names\n        uses: tj-actions/branch-names@v8\n      - name: 'start test'\n        run: |\n         curl -s -X POST \\\n           --fail \\\n           -F token=${{ secrets.CB_PIPELINE }} \\\n           -F \"ref=heat/base\" \\\n           -F \"variables[SHA]=$GITHUB_SHA\" \\\n           -F \"variables[GHBRANCH]=${{ steps.branch-names.outputs.current_branch }}\" \\\n           https://codebase.helmholtz.cloud/api/v4/projects/7605/trigger/pipeline -o /dev/null\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:44.154590", "created_at": "2023-12-20T12:53:51+01:00", "updated_at": "2024-01-31T15:42:54+01:00", "name": "Start CI Support Run", "path": ".github/workflows/CISupport.yml", "contents": "name: Start CI Support Run\n\non:\n  push:\n    branches:\n      - 'support/**'\n\njobs:\n  starter:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get branch names\n        id: branch-names\n        uses: tj-actions/branch-names@v8\n      - name: 'start test'\n        run: |\n         curl -s -X POST \\\n           --fail \\\n           -F token=${{ secrets.CB_PIPELINE }} \\\n           -F \"ref=heat/support\" \\\n           -F \"variables[SHA]=$GITHUB_SHA\" \\\n           -F \"variables[GHBRANCH]=${{ steps.branch-names.outputs.current_branch }}\" \\\n           https://codebase.helmholtz.cloud/api/v4/projects/7605/trigger/pipeline -o /dev/null\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:45.171384", "created_at": "2023-03-17T14:27:06+01:00", "updated_at": "2023-03-17T14:27:06+01:00", "name": "Comment on the pull request", "path": ".github/workflows/CommentPR.yml", "contents": "name: Comment on the pull request\n\non:\n  workflow_run:\n    workflows: [\"Receive PR\"]\n    types:\n      - completed\n\njobs:\n  upload:\n    runs-on: ubuntu-latest\n    if: >\n      github.event.workflow_run.event == 'pull_request' &&\n      github.event.workflow_run.conclusion == 'success'\n    outputs:\n      PR_NR: ${{ steps.step1.outputs.test }}\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: 'Download artifact'\n        uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1\n        with:\n          script: |\n            let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               run_id: context.payload.workflow_run.id,\n            });\n            let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => {\n              return artifact.name == \"pr_number\"\n            })[0];\n            let download = await github.rest.actions.downloadArtifact({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               artifact_id: matchArtifact.id,\n               archive_format: 'zip',\n            });\n            let fs = require('fs');\n            fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/pr_number.zip`, Buffer.from(download.data));\n\n      - name: 'Unzip artifact'\n        run: unzip pr_number.zip\n\n      - name: 'Comment on PR'\n        uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            let fs = require('fs');\n            let issue_number = Number(fs.readFileSync('./pr_number'));\n            await github.rest.issues.createComment({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: issue_number,\n              body: 'Thank you for the PR!'\n            });\n      - id: step1\n        run: echo \"test=$(< ./pr_number)\" >> \"$GITHUB_OUTPUT\"\n\n  push:\n    needs: upload\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: 'Trigger Workflow'\n        run: |\n         curl -s -X POST \\\n           --fail \\\n           -F token=${{ secrets.CB_PIPELINE }} \\\n           -F \"ref=heat/pr\" \\\n           -F \"variables[PR]=${{ needs.upload.outputs.PR_NR }}\" \\\n           https://codebase.helmholtz.cloud/api/v4/projects/7605/trigger/pipeline -o /dev/null\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:46.359244", "created_at": "2023-02-16T14:11:12+01:00", "updated_at": "2023-05-17T10:38:48+02:00", "name": "Receive PR", "path": ".github/workflows/ReceivePR.yml", "contents": "name: Receive PR\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n    paths:\n      - 'heat/**'\n\njobs:\n  build:\n    if: ${{ !startsWith(github.head_ref, 'support/') && (github.event.pull_request.draft == false) }}\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - uses: actions/checkout@v4.1.7\n\n      - name: Use Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: 3.8\n          architecture: x64\n\n      - name: Setup MPI\n        uses: mpi4py/setup-mpi@40c19a60792debf8ca403a3e6ee5f84c4e76555d # v1.2.1\n        with:\n          mpi: openmpi\n\n      - name: Test\n        run: |\n          pip install .[dev]\n          pre-commit run --all-files\n          python -m unittest\n\n      - name: Save PR number\n        env:\n          PR_NUMBER: ${{ github.event.number }}\n        run: |\n          mkdir -p ./pr\n          echo $PR_NUMBER > ./pr/pr_number\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: pr_number\n          path: pr/\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:48.153103", "created_at": "2023-05-17T10:05:47+02:00", "updated_at": "2023-05-17T10:05:47+02:00", "name": "Test Array API", "path": ".github/workflows/array-api.yml", "contents": null, "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:50.250547", "created_at": "2024-02-02T09:50:14+01:00", "updated_at": "2024-02-02T09:50:14+01:00", "name": "Backport merged pull request", "path": ".github/workflows/backport.yml", "contents": "name: Backport merged pull request\non:\n  pull_request_target:\n    types: [closed]\npermissions:\n  contents: write # so it can comment\n  pull-requests: write # so it can create pull requests\njobs:\n  backport:\n    name: Backport pull request\n    runs-on: ubuntu-latest\n    # Don't run on closed unmerged pull requests\n    if: github.event.pull_request.merged\n    steps:\n      - uses: actions/checkout@v4.1.7\n      - name: Create backport pull requests\n        uses: korthout/backport-action@v3\n        with:\n          merge_commits: 'skip'\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:51.894778", "created_at": "2023-08-07T10:58:16+02:00", "updated_at": "2023-08-07T10:58:16+02:00", "name": "Benchmarks report", "path": ".github/workflows/bench_report.yml", "contents": "name: Benchmarks report\non:\n  workflow_dispatch:\n    inputs:\n      job_id:\n        description: \"Gitlab job id\"\n        required: true\n        type: string\n      author:\n        description: \"Commit author\"\n        required: true\n        type: string\n\njobs:\n  bench_report:\n    name: Benchmark report\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: Checkout\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: \"Collect Gitlab Benchmarks\"\n        env:\n          GITLAB_CB_API_TOKEN: ${{ secrets.GITLAB_CB_API_TOKEN }}\n        run: |\n          curl --location \\\n          --fail-with-body \\\n          --header \"PRIVATE-TOKEN: $GITLAB_CB_API_TOKEN\" \\\n          --output benchmarks.json \\\n          \"https://codebase.helmholtz.cloud/api/v4/projects/7930/jobs/${{ inputs.job_id }}/artifacts/heat/bench_data/benchmarks.json\"\n          cat benchmarks.json\n          curl --location \\\n          --fail-with-body \\\n          --header \"PRIVATE-TOKEN: $GITLAB_CB_API_TOKEN\" \\\n          --output report.txt \\\n          \"https://codebase.helmholtz.cloud/api/v4/projects/7930/jobs/${{ inputs.job_id }}/artifacts/heat/bench_data/report.txt\"\n          echo \"Pipeline URL: https://codebase.helmholtz.cloud/helmholtz-analytics/cb/-/jobs/${{ inputs.job_id}}\" >> $GITHUB_STEP_SUMMARY\n          cat report.txt >> $GITHUB_STEP_SUMMARY\n      - name: Compare and Save Benchmark Results\n        id: action_bench\n        uses: benchmark-action/github-action-benchmark@4de1bed97a47495fc4c5404952da0499e31f5c29 # v1.20.3\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          # Benchmark action input and output\n          tool: \"customSmallerIsBetter\"\n          output-file-path: benchmarks.json\n          # Alert configuration\n          fail-on-alert: true # Don't fail on main branch\n          comment-on-alert: true\n          alert-comment-cc-users: ${{ format('@{0}', inputs.author) }}\n          # Save benchmarks from the main branch\n          save-data-file: ${{ github.ref == 'refs/heads/main' }}\n          # Pages configuration\n          auto-push: ${{ github.ref == 'refs/heads/main' }}\n          gh-pages-branch: gh-pages\n          benchmark-data-dir-path: dev/bench\n      - name: Update commit status\n        if: always()\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          if [[ \"${{ steps.action_bench.outcome }}\" =~ success|failure ]]; then export STEP_STATE=\"${{ steps.action_bench.outcome }}\" && echo \"then $STEP_STATE\"; else export STEP_STATE=error && echo \"else $STEP_STATE\"; fi\n          echo \"$STEP_STATE\"\n          curl -L -X POST \\\n            --fail-with-body \\\n            -H \"Accept: application/vnd.github+json\" \\\n            -H \"Authorization: Bearer $GITHUB_TOKEN\" \\\n            -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n            https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \\\n            -d \"{ \\\"state\\\":\\\"$STEP_STATE\\\", \\\"target_url\\\":\\\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\\\", \\\"description\\\":\\\"The results are here!\\\", \\\"context\\\":\\\"cb/report\\\" }\"\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:52.957958", "created_at": "2023-08-07T10:58:16+02:00", "updated_at": "2023-08-07T10:58:16+02:00", "name": "Trigger benchmarks", "path": ".github/workflows/bench_trigger.yml", "contents": "name: Trigger benchmarks\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    types: [synchronize]\n\njobs:\n  trigger-benchmark:\n    name: Trigger Benchmarks\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: Checkout\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Trigger benchmarks (PR)\n        id: setup_pr\n        if: contains(github.event.pull_request.labels.*.name, 'benchmark PR')\n        env:\n          AUTHOR: ${{ github.event.pull_request.assignee.login }}\n          BRANCH: ${{ github.head_ref }}\n          PIPE_TRIGGER_TOKEN: ${{ secrets.BENCH_PIPE_TRIGGER }}\n          SHA: ${{ github.event.pull_request.head.sha }}\n          PR_NUMBER: ${{ github.event.pull_request.number }}\n        run: |\n          SHORT_SHA=$(git rev-parse --short ${{ github.event.pull_request.head.sha }})\n          curl -s -X POST \\\n            --fail-with-body \\\n            -F \"token=$PIPE_TRIGGER_TOKEN\" \\\n            -F \"ref=main\" \\\n            -F \"variables[SHA]=$SHA\" \\\n            -F \"variables[SHORT_SHA]=${SHORT_SHA}\" \\\n            -F \"variables[BRANCH]=$BRANCH\" \\\n            -F \"variables[PR]=$PR_NUMBER\" \\\n            -F \"variables[AUTHOR]=${AUTHOR:-heat_team}\" \\\n            https://codebase.helmholtz.cloud/api/v4/projects/7930/trigger/pipeline\n      - name: Trigger benchmarks (Push main)\n        id: setup_push\n        if: ${{ github.event_name == 'push' }}\n        env:\n          AUTHOR: ${{ github.event.pull_request.assignee.login }}\n          PIPE_TRIGGER_TOKEN: ${{ secrets.BENCH_PIPE_TRIGGER }}\n          SHA: ${{ github.event.pull_request.head.sha }}\n        run: |\n          SHORT_SHA=$(git rev-parse --short $GITHUB_SHA)\n          curl -s -X POST \\\n            --fail-with-body \\\n            -F \"token=$PIPE_TRIGGER_TOKEN\" \\\n            -F \"ref=main\" \\\n            -F \"variables[SHA]=$SHA\" \\\n            -F \"variables[SHORT_SHA]=${SHORT_SHA}\" \\\n            -F \"variables[BRANCH]=main\" \\\n            -F \"variables[AUTHOR]=${AUTHOR:-heat_team}\" \\\n            https://codebase.helmholtz.cloud/api/v4/projects/7930/trigger/pipeline\n      - name: Create status\n        if: ${{ steps.setup_pr.outcome == 'success' || steps.setup_push.outcome == 'success'}}\n        env:\n          REPO: ${{ github.repository }}\n          SHA: ${{ github.event.pull_request.head.sha }}\n        run: |\n          curl -L -X POST \\\n            --fail-with-body \\\n            -H \"Accept: application/vnd.github+json\" \\\n            -H \"Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}\" \\\n            -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n            https://api.github.com/repos/$REPO/statuses/$SHA \\\n            -d '{ \"state\":\"pending\", \"target_url\":\"https://codebase.helmholtz.cloud/helmholtz-analytics/cb/-/pipelines\", \"description\":\"Waiting for benchmarks to execute.\", \"context\":\"cb/report\" }'\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:54.299134", "created_at": "2023-04-18T14:41:03+02:00", "updated_at": "2023-09-26T15:03:56+02:00", "name": "Benchmark PR", "path": ".github/workflows/benchmark_pr.yml", "contents": null, "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:55.527962", "created_at": "2022-06-01T09:49:07+02:00", "updated_at": "2022-06-01T09:49:07+02:00", "name": "Update Changelog", "path": ".github/workflows/changelog-updater.yml", "contents": "name: 'Update Changelog'\n\non:\n  release:\n    types: [released]\n\npermissions:\n  contents: read\n\njobs:\n  update-changelog:\n    permissions:\n      contents: write  # for stefanzweifel/git-auto-commit-action to push code in repo\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: Checkout code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          repository: helmholtz-analytics/heat\n          ref: ${{ github.event.release.target_commitish }}\n      - name: Update Changelog\n        run: |\n          echo $RELEASE_TITLE > cl_title.md\n          echo \"$RELEASE_BODY\" > cl_new_body.md\n          echo \"\" > newline.txt\n          cat cl_title.md newline.txt cl_new_body.md newline.txt CHANGELOG.md > tmp\n          mv tmp CHANGELOG.md\n          rm cl_title.md\n          rm cl_new_body.md\n          rm newline.txt\n          cat CHANGELOG.md\n        env:\n          RELEASE_TITLE: ${{ format('# {0} - {1}', github.event.release.tag_name, github.event.release.name) }}\n          RELEASE_BODY: ${{ github.event.release.body }}\n      - name: Create PR\n        uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5\n        with:\n            base: main\n            branch: post-release-changelog-update\n            delete-branch: true\n            token: ${{ secrets.GITHUB_TOKEN }}\n            commit-message: Update Changelog post release\n            title: Update Changelog post release\n            body: |\n              This PR updates the changelog post release.\n\n              Changed files should include an updated CHANGELOG.md containing the release notes from the latest release.\n\n            reviewers: ClaudiaComito, mtar, JuanPedroGHM\n            labels: chore, github_actions\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:56.586298", "created_at": "2021-06-17T11:18:47+02:00", "updated_at": "2022-03-14T10:05:10+01:00", "name": "ci", "path": ".github/workflows/ci.yaml", "contents": "name: ci\n\non:\n  pull_request_review:\n    types: [submitted]\n\njobs:\n  approved:\n    if: github.event.review.state == 'approved'\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        py-version:\n          - 3.8\n          - 3.9\n          - '3.10'\n          - 3.11\n        mpi: [ 'openmpi' ]\n        install-options: [ '.', '.[hdf5,netcdf]' ]\n        pytorch-version:\n          - 'torch==1.12.1+cpu torchvision==0.13.1+cpu torchaudio==0.12.1'\n          - 'torch==1.13.1+cpu torchvision==0.14.1+cpu torchaudio==0.13.1'\n          - 'torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2'\n          - 'torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2'\n          - 'torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2'\n          - 'torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1'\n        exclude:\n          - py-version: '3.11'\n            pytorch-version: 'torch==1.12.1+cpu torchvision==0.13.1+cpu torchaudio==0.12.1'\n          - py-version: '3.11'\n            pytorch-version: 'torch==1.13.1+cpu torchvision==0.14.1+cpu torchaudio==0.13.1'\n\n\n    name: Python ${{ matrix.py-version }} with ${{ matrix.pytorch-version }}; options ${{ matrix.install-options }}\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: Checkout\n        uses: actions/checkout@v4.1.7\n      - name: Setup MPI\n        uses: mpi4py/setup-mpi@v1.2.0\n        with:\n          mpi: ${{ matrix.mpi }}\n      - name: Use Python ${{ matrix.py-version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.py-version }}\n          architecture: x64\n      - name: Test\n        run: |\n          pip install pytest\n          pip install ${{ matrix.pytorch-version }} --extra-index-url https://download.pytorch.org/whl/cpu\n          pip install ${{ matrix.install-options }}\n          mpirun -n 3 pytest heat/\n          mpirun -n 4 pytest heat/\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:57.633695", "created_at": "2024-06-21T16:18:36+02:00", "updated_at": "2024-06-21T16:18:36+02:00", "name": "ci", "path": ".github/workflows/ci_on_label.yaml", "contents": null, "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:58.682047", "created_at": "2024-06-21T16:26:43+02:00", "updated_at": "2024-06-21T16:26:43+02:00", "name": "ci", "path": ".github/workflows/ci_on_macos.yaml", "contents": null, "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:47:59.716802", "created_at": "2023-12-12T08:56:27+01:00", "updated_at": "2023-12-13T13:12:35+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [\"main\"]\n  schedule:\n    - cron: \"0 0 * * 1\"\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"python\"]\n        # CodeQL supports [ $supported-codeql-languages ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: Checkout repository\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      #   If the Autobuild fails above, remove it and uncomment the following three lines.\n      #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n      # - run: |\n      #   echo \"Run, Build Application using script\"\n      #   ./location_of_script_within_repo/buildscript.sh\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:00.795491", "created_at": "2023-07-24T15:00:10+02:00", "updated_at": "2023-07-24T15:00:10+02:00", "name": "Create branch on assignment", "path": ".github/workflows/create-branch-on-assignment.yml", "contents": "name: Create branch on assignment\n\non:\n  # The issues event below is only needed for the default (auto) mode,\n  # you can remove it otherwise\n  issues:\n    types: [ assigned ]\n\njobs:\n  create_issue_branch_job:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: Create Issue Branch\n        uses: robvanderleek/create-issue-branch@b31e23e51967afc3ae85e13e708c6170474298aa # main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:01.821738", "created_at": "2023-12-12T08:56:27+01:00", "updated_at": "2023-12-13T13:12:35+01:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request,\n# surfacing known-vulnerable versions of the packages declared or updated in the PR.\n# Once installed, if the workflow run is marked as required,\n# PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: 'Checkout Repository'\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@72eb03d02c7872a771aacd928f3123ac62ad6d3a # v4.3.3\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:02.910445", "created_at": "2023-06-20T15:02:19+02:00", "updated_at": "2023-06-20T15:02:19+02:00", "name": "Build and upload Docker img", "path": ".github/workflows/docker.yml", "contents": "name: 'Build and upload Docker img'\non:\n    workflow_dispatch:\n        inputs:\n            heat_version:\n                description: 'Heat version'\n                required: true\n                default: 'latest'\n                type: string\n            pytorch_img:\n                description: 'Base PyTorch Img'\n                required: true\n                default: '23.05-py3'\n                type: string\n            name:\n                description: 'Output Image name'\n                required: true\n                default: 'heat:1.3.0_torch2.0.0_cu12.1'\n                type: string\npermissions:\n  contents: read\n\njobs:\n    build-and-push-img:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Harden Runner\n              uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n              with:\n                egress-policy: audit\n\n            -\n              name: Checkout\n              uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n            -\n              name: Set up QEMU\n              uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0\n            -\n              name: Set up Docker Buildx\n              uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0\n              with:\n                driver: docker\n            -\n              name: Login to GitHub Container Registry\n              uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0\n              with:\n                registry: ghcr.io\n                username: ${{ github.repository_owner }}\n                password: ${{ secrets.GITHUB_TOKEN }}\n            -\n              name: Build\n              uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0\n              with:\n                file: docker/Dockerfile.release\n                build-args: |\n                    HEAT_VERSION=${{ inputs.heat_version }}\n                    PYTORCH_IMG=${{ inputs.pytorch_img}}\n                load: true\n                tags: |\n                  test_${{ inputs.name }}\n            -\n              name: Test\n              run: |\n                docker images\n                docker run -v `pwd`:`pwd` -w `pwd` --rm test_${{ inputs.name }} pytest\n            -\n              name: Build and push\n              uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0\n              with:\n                file: docker/Dockerfile.release\n                build-args: |\n                    HEAT_VERSION=${{ inputs.heat_version }}\n                    PYTORCH_IMG=${{ inputs.pytorch_img}}\n                push: true\n                tags: |\n                  ghcr.io/helmholtz-analytics/${{ inputs.name }}\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:03.929766", "created_at": "2023-04-21T09:24:07+02:00", "updated_at": "2023-04-21T09:24:07+02:00", "name": "fair-software", "path": ".github/workflows/fair-software.yml", "contents": null, "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:05.085376", "created_at": "2023-11-30T14:47:52+01:00", "updated_at": "2023-11-30T14:47:52+01:00", "name": "Close inactive issues", "path": ".github/workflows/inactivity.yml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"30 1 * * 1\"\n\npermissions:\n  contents: read\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0\n        with:\n          days-before-issue-stale: 60\n          days-before-issue-close: 60\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue is stale because it has been open for 60 days with no activity.\"\n          close-issue-message: \"This issue was closed because it has been inactive for 60 days since being marked as stale.\"\n          days-before-pr-stale: 60\n          days-before-pr-close: 60\n          stale-pr-label: \"stale\"\n          stale-pr-message: \"This pull request is stale because it has been open for 60 days with no activity.\"\n          close-pr-message: \"This pull request was closed because it has been inactive for 60 days since being marked as stale.\"\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:06.215820", "created_at": "2022-01-25T14:34:10+01:00", "updated_at": "2023-12-12T14:36:16+01:00", "name": "Support latest PyTorch", "path": ".github/workflows/latest-pytorch-support.yml", "contents": "name: Support latest PyTorch\n\non:\n  workflow_call:\n    inputs:\n      working_branch:\n        required: true\n        type: string\n      base_branch:\n        required: true\n        type: string\npermissions:\n  contents: write\n  issues: write\n  pull-requests: write\njobs:\n  latest-torch-support:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 # v2.9.2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        id:\n          create-issue\n        with:\n          filename: .github/ISSUE_TEMPLATE/support_latest_pytorch.md\n          milestone: 1\n          update_existing: true\n          search_existing: open\n      - name: Check out new branch\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          ref: '${{ inputs.working_branch }}'\n      - name: Set env variables\n        run: |\n          echo \"previous_pytorch=$(grep 'torch>=' setup.py | awk -F '<' '{print $2}' | tr -d '\",')\" >> $GITHUB_ENV\n          echo \"new_pytorch=$(<.github/pytorch-release-versions/pytorch-latest.txt)\"  >> $GITHUB_ENV\n      - name: Increment version\n        run: |\n          chmod +x .github/workflows/increment_version.sh\n          echo \"setup_pytorch=$(.github/workflows/increment_version.sh ${{ env.new_pytorch }})\" >> $GITHUB_ENV\n      - name: Update setup.py\n        run: |\n          sed -i '/torch>=/ s/'\"${{ env.previous_pytorch }}\"'/'\"${{ env.setup_pytorch }}\"'/g' setup.py\n      - name: Create PR from branch\n        uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5\n        with:\n            base: ${{ inputs.base_branch }}\n            branch: ${{ inputs.working_branch }}\n            delete-branch: true\n            token: ${{ secrets.GITHUB_TOKEN }}\n            commit-message: Support latest PyTorch release\n            title: Support PyTorch ${{ env.new_pytorch }}\n            body: |\n              Run tests on latest PyTorch release\n              Issue/s resolved: #${{ steps.create-issue.outputs.number }}\n              TODO:\n              - [ ] update `.github/workflows/ci.yaml` to include `n-1` Pytorch version\n              - [ ] update Nvidia and AMD Docker images on gitlab CI\n              Auto-generated by [create-pull-request][1]\n              [1]: https://github.com/peter-evans/create-pull-request\n            reviewers: ClaudiaComito, mtar, mrfh92\n            labels: interoperability\n            draft: true\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:07.241860", "created_at": "2023-02-09T12:00:08+01:00", "updated_at": "2023-02-09T12:00:08+01:00", "name": "Markdown Links Check", "path": ".github/workflows/markdown-links-check.yml", "contents": "name: Markdown Links Check\n# runs every monday at 9 am\non:\n  schedule:\n    - cron: \"0 9 * * 1\"\n\npermissions:\n  contents: read\n\njobs:\n  check-links:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # master\n      - uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1\n        # checks all markdown files from root but ignores subfolders\n        # By Removing the max-depth variable we can modify it -> to check all the .md files in the entire repo.\n        with:\n          use-quiet-mode: 'yes'\n          # Specifying yes to show only errors in the output\n          use-verbose-mode: 'yes'\n          # Specifying yes to show detailed HTTP status for checked links.\n          max-depth: 0\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:08.236274", "created_at": "2023-08-02T14:49:58+02:00", "updated_at": "2023-08-02T14:49:58+02:00", "name": ".github/workflows/merge-release-changes-to-main.yml", "path": ".github/workflows/merge-release-changes-to-main.yml", "contents": null, "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:09.278627", "created_at": "2022-03-28T10:05:31+02:00", "updated_at": "2023-11-23T08:25:46+01:00", "name": "Get latest PyTorch version release branch", "path": ".github/workflows/pytorch-latest-release.yml", "contents": "name: Get latest PyTorch version release branch\non:\n  workflow_dispatch:\nenv:\n  working_branch: support/new-pytorch-${{ github.ref_name }}\n  base_branch: ${{ github.ref_name }}\npermissions:\n  contents: write\n  issues: write\n  pull-requests: write\njobs:\n  get-version:\n    runs-on: ubuntu-latest\n    if: ${{ github.repository }} == 'hemlholtz-analytics/heat'\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          ref: '${{ env.base_branch }}'\n      - name: Fetch PyTorch release version\n        run: |\n          curl -sL https://api.github.com/repos/pytorch/pytorch/releases/latest | \\\n          jq -r \".tag_name\" | tr -d 'v' > .github/pytorch-release-versions/pytorch-latest.txt\n      - name: Check if file has been modified\n        id: git-check\n        run: echo \"::set-output name=modified::$([ -z \"`git status --porcelain`\" ] && echo \"false\" || echo \"true\")\"\n      - name: Delete working branch if it already exists\n        run: git push --delete origin ${{ env.working_branch }} || true\n      - name: Commit latest PyTorch release version to new branch\n        if: ${{ steps.git-check.outputs.modified == 'true' }}\n        run: |\n          git checkout -b  ${{ env.working_branch }}\n          echo \"new=$(<.github/pytorch-release-versions/pytorch-latest.txt)\" >> $GITHUB_ENV\n          git config --global user.name 'ClaudiaComito'\n          git config --global user.email 'c.comito@fz-juelich.de@users.noreply.github.com'\n          git commit -am \"New PyTorch release ${{ env.new }}\"\n          git push --set-upstream origin ${{ env.working_branch }}\n  call-workflow:\n    needs: get-version\n    uses: ./.github/workflows/latest-pytorch-support.yml\n    with:\n      working_branch: support/new-pytorch-${{ github.ref_name }}\n      base_branch: ${{ github.ref_name }}\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:10.286733", "created_at": "2022-06-01T09:49:07+02:00", "updated_at": "2022-06-01T09:49:07+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  pull_request_target:\n    types: [closed]\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write  # for release-drafter/release-drafter to create a github release\n      pull-requests: write  # for release-drafter/release-drafter to add label to PR\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - uses: release-drafter/release-drafter@09c613e259eb8d4e7c81c2cb00618eb5fc4575a7 # v5.25.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:11.434614", "created_at": "2023-02-03T16:44:22+01:00", "updated_at": "2023-03-29T11:42:52+02:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '37 10 * * 5'\n  push:\n    branches: [ \"main\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: \"Checkout code\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:12.449237", "created_at": "2023-02-03T16:28:30+01:00", "updated_at": "2023-02-03T16:28:30+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:13.689726", "created_at": "2022-03-07T15:01:32+01:00", "updated_at": "2022-03-07T15:01:32+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "helmholtz-analytics/heat"}
{"mined_at": "2024-07-15T13:48:16.804522", "created_at": "2021-12-30T20:09:53+01:00", "updated_at": "2021-12-30T20:09:53+01:00", "name": ".github/workflows/actions.yml", "path": ".github/workflows/actions.yml", "contents": "on: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install pre-commit\n      - name: Lint with pre-commit\n        run: pre-commit run --all-files\n\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        database_url:\n          - sqlite:///db.sqlite3\n          - mysql://root:test@127.0.0.1:3306/data_browser\n          - postgres://postgres:test@127.0.0.1:5432/data_browser,\n    services:\n      mysql:\n        image: mysql\n        env:\n          MYSQL_ROOT_PASSWORD: test\n        ports:\n          - 3306:3306\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: test\n        ports:\n          - 5432:5432\n    env:\n      DATABASE_URL: ${{ matrix.database_url }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox tox-gh-actions\n      - name: Test with tox\n        run: tox run\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v2\n        with:\n          name: coverage-data\n          path: \".coverage.*\"\n\n  coverage:\n    runs-on: ubuntu-latest\n    needs: test\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install coverage[toml]\n      - name: Download coverage data.\n        uses: actions/download-artifact@v2\n        with:\n          name: coverage-data\n      - name: Combine coverage & fail if it's <100%.\n        run: |\n          python -m coverage combine\n          python -m coverage html\n          python -m coverage report --fail-under=100\n      - name: Upload HTML report if check failed.\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: html-report\n          path: htmlcov\n", "state": "active", "repository": "tolomea/django-data-browser"}
{"mined_at": "2024-07-15T13:48:18.902421", "created_at": "2022-05-08T10:01:45+02:00", "updated_at": "2023-05-21T12:06:26+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI and TestPyPI", "path": ".github/workflows/publish.yml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n\non:\n  release:\n    types: [released]\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n      url: https://pypi.org/p/xsdata\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "tefra/xsdata"}
{"mined_at": "2024-07-15T13:48:19.952017", "created_at": "2020-10-04T20:13:29+02:00", "updated_at": "2020-10-04T22:10:39+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {name: Python 3.8, python: '3.8'}\n          - {name: Python 3.9, python: '3.9'}\n          - {name: Python 3.10, python: '3.10'}\n          - {name: Python 3.11, python: '3.11'}\n          - {name: Python 3.12, python: '3.12'}\n          - {name: Python 3.13, python: '3.13-dev'}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install libxml2\n        if: startsWith(matrix.python, '3.13')\n        run: |\n          sudo apt-get install libxml2-dev libxslt-dev\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools\n          python -m pip install .[lxml,cli,test,soap]\n      - name: Test\n        run: |\n          pytest --cov=./xsdata --cov-report=xml --cov-branch --doctest-glob=\"docs/*.md\"\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n  w3c-tests:\n    name: W3C Tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/checkout@v4\n        with:\n          repository: tefra/xsdata-w3c-tests\n          ref: main\n          submodules: true\n          path: w3c-tests\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools pytest pytest-xdist xmlschema\n          python -m pip install .[lxml,cli]\n      - name: Test\n        run: |\n          pytest -n auto --mode xsd w3c-tests/tests\n  benchmark:\n    name: Benchmarks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install .[lxml,cli,test]\n      - name: Benchmark\n        run: |\n          pytest --benchmark-only --benchmark-columns=min,max,mean,median tests/integration/benchmarks\n  minimum:\n    name: Minimum Installation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Install pip install .\n        run: |\n          pip install -e .[test]\n      - name: Verify\n        run: |\n          python benchmark.py -c XmlEventWriter\n          python benchmark.py -c XmlEventHandler\n          python benchmark.py -c JsonParser\n          python benchmark.py -c JsonSerializer\n          xsdata | xargs -0 python -c \"import sys; assert 'Install cli' in sys.argv[1]\"\n  pre-commit:\n    name: Pre-commit Hooks\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n    - uses: pre-commit/action@v3.0.1\n  check-package:\n    name: Build & Inspect Package.\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: hynek/build-and-inspect-python-package@v2\n", "state": "active", "repository": "tefra/xsdata"}
{"mined_at": "2024-07-15T13:48:22.040310", "created_at": "2023-07-04T18:24:13+02:00", "updated_at": "2023-10-09T10:58:40+02:00", "name": "Build documentation (don't publish)", "path": ".github/workflows/build_docs.yml", "contents": "name: Build documentation (don't publish)\n\non:\n  pull_request:\n      branches: [ main ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n        \n    - name: Install MIKE IO\n      run: |\n        pip install .[dev]\n    \n    - name: Build documentation\n      run: |\n        make docs\n\n    - name: Upload documentation\n      uses: actions/upload-artifact@v2\n      with:\n        name: html\n        path: docs/_site/\n", "state": "active", "repository": "dhi/mikeio"}
{"mined_at": "2024-07-15T13:48:23.089850", "created_at": "2020-09-16T09:50:27+02:00", "updated_at": "2020-09-16T09:50:27+02:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non: \n  push:\n    branches: [ main]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        \n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        \n    - name: Install mikeio\n      run: |\n        pip install .[dev]\n    \n    - name: Build documentation\n      run: |\n        make docs\n\n    - name: Publish to GitHub Pages\n      uses: peaceiris/actions-gh-pages@v3.6.1\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: docs/_site/\n", "state": "active", "repository": "dhi/mikeio"}
{"mined_at": "2024-07-15T13:48:24.142166", "created_at": "2024-03-05T11:50:08+01:00", "updated_at": "2024-03-05T11:50:08+01:00", "name": "Check docs for broken links", "path": ".github/workflows/docs_dead_links.yml", "contents": "name: Check docs for broken links\non: \n  workflow_dispatch: # allow manual trigger\n  schedule:\n    # run daily at 4 am\n    - cron:  '0 4 * * *'\njobs:\n  crawl_for_broken_links:\n    runs-on: ubuntu-latest\n    name: Broken-Links-Crawler\n    steps:\n    - name: Checking links\n      uses: ScholliYT/Broken-Links-Crawler-Action@v3\n      with:\n        website_url: 'https://dhi.github.io/mikeio/'\n        exclude_url_prefix: 'https://github.com/DHI/mikeio/edit/main/docs/api/,https://docs.mikepoweredbydhi.com/'\n        verbose: true\n        max_retry_time: 30\n        max_retries: 2\n        max_depth: -1", "state": "active", "repository": "dhi/mikeio"}
{"mined_at": "2024-07-15T13:48:25.229449", "created_at": "2023-01-11T20:43:22+01:00", "updated_at": "2023-01-13T08:40:19+01:00", "name": "Downstream test", "path": ".github/workflows/downstream_test.yml", "contents": "name: Downstream test\n\non:\n  push:\n    branches: [ main]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        \n    - name: Install mikeio\n      run: |\n        pip install .\n    - name: Test modelskill from github\n      run: |\n        git clone --depth 1 https://github.com/DHI/modelskill.git\n        cd modelskill\n        pip install .[test]\n        pytest\n", "state": "active", "repository": "dhi/mikeio"}
{"mined_at": "2024-07-15T13:48:26.271616", "created_at": "2020-09-10T13:41:32+02:00", "updated_at": "2022-08-02T14:24:53+02:00", "name": "Full test", "path": ".github/workflows/full_test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Full test\n\non:\n  push:\n    branches: [ main]\n  pull_request:\n    branches: [ main ]\n\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [3.8, \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: chartboost/ruff-action@v1 # Fail fast if there are any linting errors\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest pytest-cov\n        \n    - name: Install mikeio\n      run: |\n        pip install .[test]\n    - name: Test with pytest\n      run: |\n        pytest --cov=mikeio tests --ignore tests/performance/ --ignore tests/notebooks/ --disable-warnings\n    - name: Test docstrings with doctest\n      run: make doctest\n    - name: Static type check\n      run: make typecheck\n", "state": "active", "repository": "dhi/mikeio"}
{"mined_at": "2024-07-15T13:48:27.281730", "created_at": "2024-02-09T15:09:46+01:00", "updated_at": "2024-02-09T15:30:27+01:00", "name": "Legacy test", "path": ".github/workflows/legacy_test.yml", "contents": "name: Legacy test\n\non: \n    push:\n        branches:\n            - main\n    pull_request:\n        branches:\n            - main\n\njobs:\n    test:\n        runs-on: ubuntu-latest\n\n        steps:\n        - uses: actions/checkout@v3\n        - name: Set up Python\n          uses: actions/setup-python@v4\n          with:\n            python-version: 3.8\n              \n        - name: Install MIKE IO\n          run: |\n            python -m pip install --upgrade pip\n            pip install .[test]\n            pip install -r requirements_min.txt\n        - name: Test with pytest\n          run: |\n            pytest --ignore tests/notebooks/", "state": "active", "repository": "dhi/mikeio"}
{"mined_at": "2024-07-15T13:48:28.332395", "created_at": "2021-08-30T09:10:35+02:00", "updated_at": "2022-08-03T16:19:40+02:00", "name": "Notebooks test", "path": ".github/workflows/notebooks_test.yml", "contents": "name: Notebooks test\n\non:\n  push:\n    branches: [ main]\n  pull_request:\n    branches: [ main ]\n    types: [review_requested, ready_for_review]\n  workflow_dispatch:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'    \n    - name: Install mikeio\n      run: |\n        pip install .[test,notebooks]    \n    - name: Test notebooks\n      run: |\n        pytest tests/notebooks/\n", "state": "active", "repository": "dhi/mikeio"}
{"mined_at": "2024-07-15T13:48:29.378825", "created_at": "2021-06-14T16:26:42+02:00", "updated_at": "2021-06-14T16:26:42+02:00", "name": "Performance test", "path": ".github/workflows/perf_test.yml", "contents": "name: Performance test\n\non:\n  workflow_dispatch:\n\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    - cron:  '0 5 * * 0'\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        \n    - name: Install mikeio\n      run: |\n        pip install .[test]\n    - name: Test with pytest\n      run: |\n        make perftest\n", "state": "active", "repository": "dhi/mikeio"}
{"mined_at": "2024-07-15T13:48:30.430406", "created_at": "2020-06-16T15:40:24+02:00", "updated_at": "2020-06-16T15:40:24+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n    \njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build wheel twine\n    - name: Install mikeio\n      run: pip install .[test]\n    - name: Test\n      run: pytest\n    - name: Build\n      run: python -m build\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n", "state": "active", "repository": "dhi/mikeio"}
{"mined_at": "2024-07-15T13:48:31.476737", "created_at": "2022-01-25T19:51:22+01:00", "updated_at": "2022-01-25T19:51:22+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "dhi/mikeio"}
{"mined_at": "2024-07-15T13:48:33.591774", "created_at": "2021-09-03T11:00:53+02:00", "updated_at": "2022-08-12T20:46:12+02:00", "name": "Generate docs and Create PR on docs repo", "path": ".github/workflows/docs.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Generate docs and Create PR on docs repo\n\non:\n  push:\n    tags:\n      - v*\n  workflow_dispatch:\n\njobs:\n  make_docs:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install requirements\n      run: |\n        pip install poetry\n        poetry install -n\n    - name: Generate docs JSON\n      run: poetry run python .github/insert_docs.py > docs.json\n    - name: Upload to TerminusCMS\n      run: |\n        curl -H 'Authorization: Token ${{ secrets.TERMINUSCMS_TOKEN}}' \\\n             -H 'Content-Type: application/json' \\\n            '${{ secrets.TERMINUSCMS_URL}}' -d @./docs.json\n\n", "state": "active", "repository": "terminusdb/terminusdb-client-python"}
{"mined_at": "2024-07-15T13:48:34.634834", "created_at": "2021-03-08T23:30:08+01:00", "updated_at": "2021-03-08T23:30:08+01:00", "name": "Labeling new issue", "path": ".github/workflows/issue.yml", "contents": "name: Labeling new issue\non:\n  issues:\n    types: ['opened']\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: Renato66/auto-label@v2\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          ignore-comments: true\n          default-labels: '[\"triage\", \"area: python client\"]'\n", "state": "active", "repository": "terminusdb/terminusdb-client-python"}
{"mined_at": "2024-07-15T13:48:35.709074", "created_at": "2021-01-11T10:05:00+01:00", "updated_at": "2021-01-11T10:05:00+01:00", "name": "Python package", "path": ".github/workflows/python.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n  pull_request:\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox\n    - name: Linting\n      run: |\n        tox -e check\n  build:\n    needs: check\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox\n    - name: Test with pytest\n      run: |\n        [[ \"$GITHUB_REPOSITORY\" == \"terminusdb/terminusdb-client-python\" && \"$GITHUB_EVENT_NAME\" == \"push\" ]] && export TERMINUSX_TOKEN='${{ secrets.TERMINUSX_TOKEN_DEV }}'\n        tox -e test\n    - name: Coverage report\n      uses: codecov/codecov-action@v2\n      with:\n        files: ./cov.xml\n        verbose: true\n\n  deploy:\n    runs-on: ubuntu-latest\n    needs: build\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Run setup.py sdist\n      run: |\n        pip install poetry\n        poetry build\n        tar -xf dist/*.tar.gz\n        unzip -n dist/*.whl\n        head -20 *.dist-info/METADATA\n\n    - name: Deploy to pypi\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "terminusdb/terminusdb-client-python"}
{"mined_at": "2024-07-15T13:48:37.767660", "created_at": "2021-06-07T23:19:33+02:00", "updated_at": "2021-06-07T23:36:21+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yaml", "contents": "---\nname: \"CodeQL\"\n\n# yamllint disable-line rule:truthy\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n  schedule:\n    - cron: \"30 1 * * 0\"\n\njobs:\n  codeql:\n    name: Scanning\n    runs-on: ubuntu-latest\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: 🏗 Initialize CodeQL\n        uses: github/codeql-action/init@v3.25.10\n      - name: 🚀 Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3.25.10\n", "state": "active", "repository": "frenck/python-wled"}
{"mined_at": "2024-07-15T13:48:38.816064", "created_at": "2021-06-07T23:36:21+02:00", "updated_at": "2021-06-07T23:36:21+02:00", "name": "Sync labels", "path": ".github/workflows/labels.yaml", "contents": "---\nname: Sync labels\n\n# yamllint disable-line rule:truthy\non:\n  push:\n    branches:\n      - main\n    paths:\n      - .github/labels.yml\n  workflow_dispatch:\n\njobs:\n  labels:\n    name: ♻️ Sync labels\n    runs-on: ubuntu-latest\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: 🚀 Run Label Syncer\n        uses: micnncim/action-label-syncer@v1.3.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "frenck/python-wled"}
{"mined_at": "2024-07-15T13:48:39.867394", "created_at": "2021-06-07T23:19:33+02:00", "updated_at": "2021-06-07T23:36:21+02:00", "name": "Linting", "path": ".github/workflows/linting.yaml", "contents": "---\nname: Linting\n\n# yamllint disable-line rule:truthy\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\nenv:\n  DEFAULT_PYTHON: \"3.11\"\n\njobs:\n  codespell:\n    name: codespell\n    runs-on: ubuntu-latest\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: 🏗 Set up Poetry\n        run: pipx install poetry\n      - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          cache: \"poetry\"\n      - name: 🏗 Install workflow dependencies\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: 🏗 Install Python dependencies\n        run: poetry install --extras cli --no-interaction\n      - name: 🚀 Check code for common misspellings\n        run: poetry run pre-commit run codespell --all-files\n\n  ruff:\n    name: Ruff\n    runs-on: ubuntu-latest\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: 🏗 Set up Poetry\n        run: pipx install poetry\n      - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          cache: \"poetry\"\n      - name: 🏗 Install workflow dependencies\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: 🏗 Install Python dependencies\n        run: poetry install --extras cli --no-interaction\n      - name: 🚀 Run ruff linter\n        run: poetry run ruff check --output-format=github .\n      - name: 🚀 Run ruff formatter\n        run: poetry run ruff format --check .\n\n  pre-commit-hooks:\n    name: pre-commit-hooks\n    runs-on: ubuntu-latest\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: 🏗 Set up Poetry\n        run: pipx install poetry\n      - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          cache: \"poetry\"\n      - name: 🏗 Install workflow dependencies\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: 🏗 Install Python dependencies\n        run: poetry install --extras cli --no-interaction\n      - name: 🚀 Check Python AST\n        run: poetry run pre-commit run check-ast --all-files\n      - name: 🚀 Check for case conflicts\n        run: poetry run pre-commit run check-case-conflict --all-files\n      - name: 🚀 Check docstring is first\n        run: poetry run pre-commit run check-docstring-first --all-files\n      - name: 🚀 Check that executables have shebangs\n        run: poetry run pre-commit run check-executables-have-shebangs --all-files\n      - name: 🚀 Check JSON files\n        run: poetry run pre-commit run check-json --all-files\n      - name: 🚀 Check for merge conflicts\n        run: poetry run pre-commit run check-merge-conflict --all-files\n      - name: 🚀 Check for broken symlinks\n        run: poetry run pre-commit run check-symlinks --all-files\n      - name: 🚀 Check TOML files\n        run: poetry run pre-commit run check-toml --all-files\n      - name: 🚀 Check YAML files\n        run: poetry run pre-commit run check-yaml --all-files\n      - name: 🚀 Detect Private Keys\n        run: poetry run pre-commit run detect-private-key --all-files\n      - name: 🚀 Check End of Files\n        run: poetry run pre-commit run end-of-file-fixer --all-files\n      - name: 🚀 Trim Trailing Whitespace\n        run: poetry run pre-commit run trailing-whitespace --all-files\n\n  pylint:\n    name: pylint\n    runs-on: ubuntu-latest\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: 🏗 Set up Poetry\n        run: pipx install poetry\n      - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          cache: \"poetry\"\n      - name: 🏗 Install workflow dependencies\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: 🏗 Install Python dependencies\n        run: poetry install --extras cli --no-interaction\n      - name: 🚀 Run pylint\n        run: poetry run pre-commit run pylint --all-files\n\n  yamllint:\n    name: yamllint\n    runs-on: ubuntu-latest\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: 🏗 Set up Poetry\n        run: pipx install poetry\n      - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          cache: \"poetry\"\n      - name: 🏗 Install workflow dependencies\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: 🏗 Install Python dependencies\n        run: poetry install --extras cli --no-interaction\n      - name: 🚀 Run yamllint\n        run: poetry run yamllint .\n\n  prettier:\n    name: Prettier\n    runs-on: ubuntu-latest\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: 🏗 Set up Poetry\n        run: pipx install poetry\n      - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          cache: \"poetry\"\n      - name: 🏗 Install workflow dependencies\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: 🏗 Install Python dependencies\n        run: poetry install --extras cli --no-interaction\n      - name: 🏗 Set up Node.js\n        uses: actions/setup-node@v4.0.2\n        with:\n          node-version-file: \".nvmrc\"\n          cache: \"npm\"\n      - name: 🏗 Install NPM dependencies\n        run: npm install\n      - name: 🚀 Run prettier\n        run: poetry run pre-commit run prettier --all-files\n", "state": "active", "repository": "frenck/python-wled"}
{"mined_at": "2024-07-15T13:48:40.913338", "created_at": "2021-06-07T23:36:21+02:00", "updated_at": "2021-06-07T23:36:21+02:00", "name": "Lock", "path": ".github/workflows/lock.yaml", "contents": "---\nname: Lock\n\n# yamllint disable-line rule:truthy\non:\n  schedule:\n    - cron: \"0 9 * * *\"\n  workflow_dispatch:\n\njobs:\n  lock:\n    name: 🔒 Lock closed issues and PRs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v5.0.1\n        with:\n          github-token: ${{ github.token }}\n          issue-inactive-days: \"30\"\n          issue-lock-reason: \"\"\n          pr-inactive-days: \"1\"\n          pr-lock-reason: \"\"\n", "state": "active", "repository": "frenck/python-wled"}
{"mined_at": "2024-07-15T13:48:41.963312", "created_at": "2021-06-07T23:20:02+02:00", "updated_at": "2021-06-07T23:36:21+02:00", "name": "PR Labels", "path": ".github/workflows/pr-labels.yaml", "contents": "---\nname: PR Labels\n\n# yamllint disable-line rule:truthy\non:\n  pull_request_target:\n    types:\n      - opened\n      - labeled\n      - unlabeled\n      - synchronize\n  workflow_call:\n\njobs:\n  pr_labels:\n    name: Verify\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🏷 Verify PR has a valid label\n        uses: jesusvasquez333/verify-pr-label-action@v1.4.0\n        with:\n          pull-request-number: \"${{ github.event.pull_request.number }}\"\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          valid-labels: >-\n            breaking-change, bugfix, documentation, enhancement,\n            refactor, performance, new-feature, maintenance, ci, dependencies\n          disable-reviews: true\n", "state": "active", "repository": "frenck/python-wled"}
{"mined_at": "2024-07-15T13:48:43.010433", "created_at": "2021-06-07T23:36:21+02:00", "updated_at": "2021-06-07T23:36:21+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yaml", "contents": "---\nname: Release Drafter\n\n# yamllint disable-line rule:truthy\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  update_release_draft:\n    name: ✏️ Draft release\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🚀 Run Release Drafter\n        uses: release-drafter/release-drafter@v6.0.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "frenck/python-wled"}
{"mined_at": "2024-07-15T13:48:44.059439", "created_at": "2021-06-07T23:36:21+02:00", "updated_at": "2021-06-07T23:36:21+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "---\nname: Release\n\n# yamllint disable-line rule:truthy\non:\n  release:\n    types:\n      - published\n\nenv:\n  DEFAULT_PYTHON: \"3.11\"\n\njobs:\n  release:\n    name: Releasing to PyPi\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n      url: https://pypi.org/p/wled\n    permissions:\n      contents: write\n      id-token: write\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: 🏗 Set up Poetry\n        run: pipx install poetry\n      - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          cache: \"poetry\"\n      - name: 🏗 Install workflow dependencies\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: 🏗 Install dependencies\n        run: poetry install --extras cli --no-interaction\n      - name: 🏗 Set package version\n        run: |\n          version=\"${{ github.event.release.tag_name }}\"\n          version=\"${version,,}\"\n          version=\"${version#v}\"\n          poetry version --no-interaction \"${version}\"\n      - name: 🏗 Build package\n        run: poetry build --no-interaction\n      - name: 🚀 Publish to PyPi\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          verbose: true\n          print-hash: true\n      - name: ✍️ Sign published artifacts\n        uses: sigstore/gh-action-sigstore-python@v2.1.1\n        with:\n          inputs: ./dist/*.tar.gz ./dist/*.whl\n          release-signing-artifacts: true\n", "state": "active", "repository": "frenck/python-wled"}
{"mined_at": "2024-07-15T13:48:45.107173", "created_at": "2021-06-07T23:36:21+02:00", "updated_at": "2021-06-07T23:36:21+02:00", "name": "Stale", "path": ".github/workflows/stale.yaml", "contents": "---\nname: Stale\n\n# yamllint disable-line rule:truthy\non:\n  schedule:\n    - cron: \"0 8 * * *\"\n  workflow_dispatch:\n\njobs:\n  stale:\n    name: 🧹 Clean up stale issues and PRs\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🚀 Run stale\n        uses: actions/stale@v9.0.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          days-before-stale: 30\n          days-before-close: 7\n          remove-stale-when-updated: true\n          stale-issue-label: \"stale\"\n          exempt-issue-labels: \"no-stale,help-wanted\"\n          stale-issue-message: >\n            There hasn't been any activity on this issue recently, so we\n            clean up some of the older and inactive issues.\n\n            Please make sure to update to the latest version and\n            check if that solves the issue. Let us know if that works for you\n            by leaving a comment 👍\n\n            This issue has now been marked as stale and will be closed if no\n            further activity occurs. Thanks!\n          stale-pr-label: \"stale\"\n          exempt-pr-labels: \"no-stale\"\n          stale-pr-message: >\n            There hasn't been any activity on this pull request recently. This\n            pull request has been automatically marked as stale because of that\n            and will be closed if no further activity occurs within 7 days.\n            Thank you for your contributions.\n", "state": "active", "repository": "frenck/python-wled"}
{"mined_at": "2024-07-15T13:48:46.156777", "created_at": "2021-06-07T23:19:33+02:00", "updated_at": "2021-06-07T23:36:21+02:00", "name": "Testing", "path": ".github/workflows/tests.yaml", "contents": "---\nname: Testing\n\n# yamllint disable-line rule:truthy\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\nenv:\n  DEFAULT_PYTHON: \"3.11\"\n\njobs:\n  pytest:\n    name: Python ${{ matrix.python }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [\"3.11\"]\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: 🏗 Set up Poetry\n        run: pipx install poetry\n      - name: 🏗 Set up Python ${{ matrix.python }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"poetry\"\n      - name: 🏗 Install workflow dependencies\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: 🏗 Install dependencies\n        run: poetry install --extras cli --no-interaction\n      - name: 🚀 Run pytest\n        run: poetry run pytest --cov wled tests\n      - name: ⬆️ Upload coverage artifact\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: coverage-${{ matrix.python }}\n          path: .coverage\n\n  coverage:\n    runs-on: ubuntu-latest\n    needs: pytest\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 0\n      - name: ⬇️ Download coverage data\n        uses: actions/download-artifact@v4.1.7\n      - name: 🏗 Set up Poetry\n        run: pipx install poetry\n      - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          cache: \"poetry\"\n      - name: 🏗 Install workflow dependencies\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: 🏗 Install dependencies\n        run: poetry install --extras cli --no-interaction\n      - name: 🚀 Process coverage results\n        run: |\n          poetry run coverage combine coverage*/.coverage*\n          poetry run coverage xml -i\n      - name: 🚀 Upload coverage report\n        uses: codecov/codecov-action@v3.1.6\n      - name: SonarCloud Scan\n        if: github.event.pull_request.head.repo.fork == false\n        uses: SonarSource/sonarcloud-github-action@v2.3.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "frenck/python-wled"}
{"mined_at": "2024-07-15T13:48:47.171094", "created_at": "2021-06-07T23:19:33+02:00", "updated_at": "2021-06-07T23:36:21+02:00", "name": "Typing", "path": ".github/workflows/typing.yaml", "contents": "---\nname: Typing\n\n# yamllint disable-line rule:truthy\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\nenv:\n  DEFAULT_PYTHON: \"3.11\"\n\njobs:\n  mypy:\n    name: mypy\n    runs-on: ubuntu-latest\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: 🏗 Set up Poetry\n        run: pipx install poetry\n      - name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          cache: \"poetry\"\n      - name: 🏗 Install workflow dependencies\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: 🏗 Install dependencies\n        run: poetry install --extras cli --no-interaction\n      - name: 🚀 Run mypy\n        run: poetry run mypy examples src tests\n", "state": "active", "repository": "frenck/python-wled"}
{"mined_at": "2024-07-15T13:48:51.179838", "created_at": "2021-01-04T16:01:56+01:00", "updated_at": "2021-01-04T17:27:32+01:00", "name": "CI Build", "path": ".github/workflows/CI_build.yml", "contents": "name: CI Build\n\non:\n  pull_request:\n    types: [opened, ready_for_review, closed]\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: Tag for manually running CI Build workflow\n        required: False\n        default: ''\n\njobs:\n  first_check:\n    name: first code check / python-3.9 / ubuntu-latest\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Python info\n        run: |\n          which python\n          python --version\n      - name: Build package and create dev environment\n        run: |\n          python -m pip install --upgrade pip poetry\n          poetry install\n      - name: Show pip list\n        run: |\n          pip list\n      - name: Test with coverage\n        run: |\n          poetry run pytest --cov --cov-report term --cov-report xml --junitxml=xunit-result.xml\n      - name: Correct coverage paths\n        run: sed -i \"s+$PWD/++g\" coverage.xml\n      - name: Check style against standards using prospector\n        shell: bash -l {0}\n        run: prospector -o grouped -o pylint:pylint-report.txt\n      - name: Store PR metadata in json file\n        env:\n          PR_NUMBER: ${{ github.event.pull_request.number }}\n          HEAD_REF: ${{ github.event.pull_request.head.ref }}\n          BASE_REF: ${{ github.event.pull_request.base.ref }}\n        run: |\n          jq -n --arg pr_number \"$PR_NUMBER\"\\\n                --arg head_ref \"$HEAD_REF\"\\\n                --arg base_ref \"$BASE_REF\"\\\n            '{\"pr_number\": $pr_number, \"head_ref\": $head_ref, \"base_ref\": $base_ref}' > pr_metadata.json\n      - uses: actions/upload-artifact@v3\n        with:\n          name: sonarcloud-data-pip\n          path: |\n            coverage.xml\n            xunit-result.xml\n            pr_metadata.json\n      - name: Check whether import statements are used consistently\n        run: isort . --check-only --diff\n\n  build_pypi:\n    name: Test pypi build\n    runs-on: ubuntu-latest\n    needs: first_check\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Python info\n        run: |\n          which python\n          python --version\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip poetry\n      - name: Build package\n        run: |\n          poetry build\n      - name: Test package\n        run: |\n          poetry install --only dev\n          python -m twine check dist/*\n      - name: Show pip list\n        run: |\n          pip list\n      - name: Install development dependencies\n        run: |\n          poetry install\n      - name: Show pip list again\n        run: |\n          pip list\n      - name: Run tests\n        run: |\n          poetry run pytest\n      - name: Show environment variables\n        shell: bash -l {0}\n        run: |\n          env | sort\n\n  test_dev:\n    name: test dev environment / python-${{ matrix.python-version }} / ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    needs: first_check\n    strategy:\n      fail-fast: false\n      matrix:\n        os: ['ubuntu-latest', 'macos-latest', 'windows-latest']\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Python info\n        run: |\n          which python\n          python --version\n      - name: Install dependencies (includinv dev + chemistry)\n        run: |\n          python -m pip install --upgrade pip poetry\n          poetry install\n      - name: Show pip list\n        run: |\n          pip list\n      - name: Run tests\n        run: |\n          poetry run pytest\n\n\n  test_with_conda:\n    name: Anaconda build and test documentation\n    runs-on: ubuntu-latest\n    needs: first_check\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: \"0\"\n      - name: Create conda environment\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: 3.8\n      - name: Show conda config\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n          conda config --show-sources\n          conda config --show\n          conda env list\n      - name: Python info\n        shell: bash -l {0}\n        run: |\n          which python\n          python --version\n      - name: Show environment variables\n        shell: bash -l {0}\n        run: |\n          env | sort\n      - name: Install conda dependencies\n        shell: bash -l {0}\n        run: |\n          conda install -c conda-forge poetry\n      - name: Install with development dependencies\n        shell: bash -l {0}\n        run: |\n          python -m pip install --upgrade pip\n          poetry install --with dev,docs\n      - name: Build documentation\n        shell: bash -l {0}\n        run: |\n          make coverage doctest html\n        working-directory: readthedocs/\n        env:\n          SPHINXOPTS: \"-n\"  # enable nit-picky mode\n      - name: Check documentation coverage threshold\n        run: |\n          cat readthedocs/_build/coverage/python.txt\n          UNCOVERED_MEMBERS=$(grep '*' readthedocs/_build/coverage/python.txt | wc -l)\n          UNCOVERED_MEMBERS_ALLOWED=10\n          if (( $UNCOVERED_MEMBERS > $UNCOVERED_MEMBERS_ALLOWED )) ; then echo \"There are currently ${UNCOVERED_MEMBERS} uncovered members in the documentation, which is more than the ${UNCOVERED_MEMBERS_ALLOWED} allowed.\" && exit 1;fi\n          echo \"The code is sufficiently documented with ${UNCOVERED_MEMBERS} uncovered members out of ${UNCOVERED_MEMBERS_ALLOWED} allowed.\";\n      - name: Test with coverage\n        shell: bash -l {0}\n        run: |\n          poetry run pytest --cov --cov-report term --cov-report xml --junitxml=xunit-result.xml\n      - name: Correct coverage paths\n        run: sed -i \"s+$PWD/++g\" coverage.xml\n      - name: Store PR metadata in json file\n        env:\n          PR_NUMBER: ${{ github.event.pull_request.number }}\n          HEAD_REF: ${{ github.event.pull_request.head.ref }}\n          BASE_REF: ${{ github.event.pull_request.base.ref }}\n        run: |\n          jq -n --arg pr_number \"$PR_NUMBER\"\\\n                --arg head_ref \"$HEAD_REF\"\\\n                --arg base_ref \"$BASE_REF\"\\\n            '{\"pr_number\": $pr_number, \"head_ref\": $head_ref, \"base_ref\": $base_ref}' > pr_metadata.json\n      - uses: actions/upload-artifact@v3\n        with:\n          name: sonarcloud-data-conda\n          path: |\n            coverage.xml\n            xunit-result.xml\n            pr_metadata.json\n", "state": "active", "repository": "matchms/matchms"}
{"mined_at": "2024-07-15T13:48:52.293547", "created_at": "2023-08-10T11:09:12+02:00", "updated_at": "2023-08-10T11:09:12+02:00", "name": "CI first code check", "path": ".github/workflows/CI_first_code_check.yml", "contents": "name: CI first code check\n\non:\n  push:\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: Tag for manually running CI first code check workflow\n        required: False\n        default: ''\n\njobs:\n\n  first_check:\n    name: first code check / python-3.9 / ubuntu-latest\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Python info\n        run: |\n          which python\n          python --version\n      - name: Build package and create dev environment\n        run: |\n          python -m pip install --upgrade pip poetry\n          poetry install\n      - name: Show pip list\n        run: |\n          pip list\n      - name: Test with coverage\n        run: |\n          poetry run pytest --cov --cov-report term --cov-report xml --junitxml=xunit-result.xml\n      - name: Correct coverage paths\n        run: sed -i \"s+$PWD/++g\" coverage.xml\n      - name: Check style against standards using prospector\n        shell: bash -l {0}\n        run: prospector -o grouped -o pylint:pylint-report.txt\n      - name: Store PR metadata in json file\n        env:\n          PR_NUMBER: ${{ github.event.pull_request.number }}\n          HEAD_REF: ${{ github.event.pull_request.head.ref }}\n          BASE_REF: ${{ github.event.pull_request.base.ref }}\n        run: |\n          jq -n --arg pr_number \"$PR_NUMBER\"\\\n                --arg head_ref \"$HEAD_REF\"\\\n                --arg base_ref \"$BASE_REF\"\\\n            '{\"pr_number\": $pr_number, \"head_ref\": $head_ref, \"base_ref\": $base_ref}' > pr_metadata.json\n      - uses: actions/upload-artifact@v3\n        with:\n          name: sonarcloud-data-pip\n          path: |\n            coverage.xml\n            xunit-result.xml\n            pr_metadata.json\n      - name: Check whether import statements are used consistently\n        run: isort . --check-only --diff\n", "state": "active", "repository": "matchms/matchms"}
{"mined_at": "2024-07-15T13:48:53.362059", "created_at": "2020-10-12T15:52:50+02:00", "updated_at": "2020-10-12T15:52:50+02:00", "name": "Publish", "path": ".github/workflows/CI_publish_pypi.yml", "contents": "name: Publish\n\non:\n  release:\n    types: [published]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Build and publish to pypi\n        uses: JRubics/poetry-publish@v1.17\n        with:\n          pypi_token: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "matchms/matchms"}
{"mined_at": "2024-07-15T13:48:54.548606", "created_at": "2023-01-05T13:13:13+01:00", "updated_at": "2023-01-05T13:13:13+01:00", "name": "SonarCloud Scan", "path": ".github/workflows/SonarCloud.yml", "contents": "name: SonarCloud Scan\n\non:\n  workflow_run:\n    workflows: [\"CI Build\"]\n    types:\n      - completed\n\njobs:\n  sonarcloud-pip:\n    name: SonarCloud Scan on pip build\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.conclusion == 'success'\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          repository: ${{ github.event.workflow_run.head_repository.full_name }}\n          ref: ${{ github.event.workflow_run.head_branch }}\n          fetch-depth: 0\n      - name: Fetch coverage report from artifact\n        uses: dawidd6/action-download-artifact@v2\n        with:\n          workflow: CI_build.yml\n          name: sonarcloud-data-pip\n          path: ${{ github.workspace }}\n      - name: Get PR metadata from json\n        run: |\n            echo \"PR_NUMBER=$(jq -r '.pr_number' pr_metadata.json)\" >> $GITHUB_ENV\n            echo \"HEAD_REF=$(jq -r '.head_ref' pr_metadata.json)\" >> $GITHUB_ENV\n            echo \"BASE_REF=$(jq -r '.base_ref' pr_metadata.json)\" >> $GITHUB_ENV\n      - name: SonarCloud Scan\n        uses: sonarsource/sonarcloud-github-action@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n        with:\n          args: >\n            -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }}\n            -Dsonar.pullrequest.key=${{ env.PR_NUMBER }}\n            -Dsonar.pullrequest.branch=${{ env.HEAD_REF }}\n            -Dsonar.pullrequest.base=${{ env.BASE_REF }}\n\n  sonarcloud-conda:\n    name: SonarCloud Scan on conda build\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.conclusion == 'success'\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          repository: ${{ github.event.workflow_run.head_repository.full_name }}\n          ref: ${{ github.event.workflow_run.head_branch }}\n          fetch-depth: 0\n      - name: Fetch coverage report from artifact\n        uses: dawidd6/action-download-artifact@v2\n        with:\n          workflow: CI_build.yml\n          name: sonarcloud-data-conda\n          path: ${{ github.workspace }}\n      - name: Get PR metadata from json\n        run: |\n            echo \"PR_NUMBER=$(jq -r '.pr_number' pr_metadata.json)\" >> $GITHUB_ENV\n            echo \"HEAD_REF=$(jq -r '.head_ref' pr_metadata.json)\" >> $GITHUB_ENV\n            echo \"BASE_REF=$(jq -r '.base_ref' pr_metadata.json)\" >> $GITHUB_ENV\n      - name: SonarCloud Scan\n        uses: sonarsource/sonarcloud-github-action@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n        with:\n          args: >\n            -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }}\n            -Dsonar.pullrequest.key=${{ env.PR_NUMBER }}\n            -Dsonar.pullrequest.branch=${{ env.HEAD_REF }}\n            -Dsonar.pullrequest.base=${{ env.BASE_REF }}\n", "state": "active", "repository": "matchms/matchms"}
{"mined_at": "2024-07-15T13:48:55.617623", "created_at": "2024-06-20T20:13:12+02:00", "updated_at": "2024-06-20T20:13:12+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": null, "state": "active", "repository": "matchms/matchms"}
{"mined_at": "2024-07-15T13:48:57.727837", "created_at": "2020-12-18T11:00:57+01:00", "updated_at": "2022-06-16T18:16:17+02:00", "name": "tests", "path": ".github/workflows/ci.yaml", "contents": "name: tests\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - \"main\"\n  schedule:\n    - cron: \"0 0 * * *\"\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n\n  test:\n\n    name: 💻 ${{ matrix.os }}, 🐍 ${{ matrix.python-version }}, 👀 ${{ matrix.openeye }}, pymbar ${{ matrix.pymbar-version }}, Pydantic ${{ matrix.pydantic-version }}, OpenMM ${{ matrix.openmm-version }}\n    runs-on: ${{ matrix.os }}\n\n    env:\n      OE_LICENSE: ${{ github.workspace }}/oe_license.txt\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - macos-12\n        python-version:\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        pymbar-version:\n          - \"3.1\"\n        pydantic-version:\n          - \"2\"\n        openmm-version:\n          - \"7\"\n          - \"8\"\n        openeye:\n          - true\n          - false\n        exclude:\n          - python-version: \"3.11\"\n            openmm-version: \"7\"\n          - python-version: \"3.12\"\n            openmm-version: \"7\"\n          - os: \"macos-12\"\n            openmm-version: \"7\"\n          - python-version: \"3.12\"\n            openeye: true\n          - python-version: \"3.11\"\n            pymbar-version: \"3.1\"\n          - python-version: \"3.12\"\n            pymbar-version: \"3.1\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Conda Environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: devtools/conda-envs/test_env.yaml\n          create-args: >-\n            python=${{ matrix.python-version }}\n            pymbar=${{ matrix.pymbar-version }}\n            pydantic=${{ matrix.pydantic-version }}\n            openmm=${{ matrix.openmm-version }}\n\n      - name: Install OpenEye\n        if: matrix.openeye\n        run: |\n          echo \"${SECRET_OE_LICENSE}\" > ${OE_LICENSE}\n\n          micromamba install -c openeye openeye-toolkits\n          python -c \"from openeye import oechem; assert oechem.OEChemIsLicensed()\"\n        env:\n          SECRET_OE_LICENSE: ${{ secrets.OE_LICENSE }}\n\n      - name: Install PASCAL Compiler (MacOS)\n        if: startsWith(matrix.os, 'macOS')\n        run: brew install fpc\n\n      - name: Install PASCAL Compiler (Ubuntu)\n        if: startsWith(matrix.os, 'ubuntu')\n        run: sudo apt-get install fp-compiler\n\n      - name: Install checkmol\n        run: |\n\n          curl https://homepage.univie.ac.at/norbert.haider/download/chemistry/checkmol/checkmol.pas > checkmol.pas\n          fpc checkmol.pas -S2\n\n          echo $(pwd) >> $GITHUB_PATH\n\n      - name: Install Package and test plugins\n        run: python -m pip install . utilities/test_plugins/\n\n      - name: Run tests\n        run: python -m pytest -v --cov=openff openff/evaluator/_tests/ --cov-report=xml --color=yes\n\n      - name: Run (non-GPU) tutorials\n        if: ${{ matrix.pymbar-version == 3.1 }}\n        run: |\n          # ForceBalance requires pymbar 3, so don't run these tests if we are using pymbar 4,\n          # even though we're not running the fitting tutorial\n          # https://github.com/conda-forge/forcebalance-feedstock/blob/9793b0205489f8ec7826d301a3c82cfb96997c57/recipe/meta.yaml#L29\n          micromamba install \"forcebalance >=1.9.5\" -c conda-forge -yq\n          python -m pytest --nbval-lax --dist loadscope -nauto -p no:randomly \\\n            docs/tutorials/tutorial01.ipynb \\\n            docs/tutorials/tutorial03.ipynb\n\n      - name: Code coverage\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}\n", "state": "active", "repository": "openforcefield/openff-evaluator"}
{"mined_at": "2024-07-15T13:48:59.758744", "created_at": "2023-08-01T22:03:32+02:00", "updated_at": "2023-08-01T22:03:32+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/llvm-premerge-checks"}
{"mined_at": "2024-07-15T13:49:02.123488", "created_at": "2021-03-15T23:23:10+01:00", "updated_at": "2021-04-06T02:16:03+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  pull_request:\n  schedule:\n    - cron: '0 0 * * *' # Daily “At 00:00”\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-and-run:\n    name: Build Sphinx Docs (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ \"ubuntu-latest\", \"macos-13\" ]\n        python-version: [ \"3.9\", \"3.10\", \"3.11\" ]\n\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n    - name: Set environment variables\n      run: |\n        echo \"TODAY=$(date +'%Y-%m-%d')\" >> $GITHUB_ENV\n    - name: setup micromamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n         environment-name: geocat-examples\n         environment-file: conda_environment.yml\n         cache-environment: true\n         cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}-${{env.TODAY}}\"\n         create-args: >-\n           python=${{matrix.python-version}}\n    - name: make html\n      uses: nick-fields/retry@v3\n      with:\n         timeout_minutes: 40\n         max_attempts: 3\n         command: |\n            eval \"$(micromamba shell hook --shell bash)\"\n            micromamba activate\n            micromamba activate geocat-examples\n            cd docs\n            conda info\n            conda list\n            make html\n", "state": "active", "repository": "ncar/geocat-examples"}
{"mined_at": "2024-07-15T13:49:03.174884", "created_at": "2021-03-26T07:53:42+01:00", "updated_at": "2021-04-28T04:20:33+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "ncar/geocat-examples"}
{"mined_at": "2024-07-15T13:49:04.376816", "created_at": "2024-01-03T21:56:45+01:00", "updated_at": "2024-01-03T21:56:45+01:00", "name": "CI Upstream", "path": ".github/workflows/upstream-dev-ci.yml", "contents": "name: CI Upstream\non:\n  schedule:\n    - cron: \"0 0 * * *\" # daily at 00:00 UTC\n  workflow_dispatch: # allows you to trigger the workflow run manually\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  upstream-dev:\n    name: upstream-dev\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # fetch all history for all branches and tags.\n      - name: set up environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: conda_environment.yml\n          create-args: >-\n            python=${{ matrix.python-version }}\n      - name: install upstream versions\n        run: |\n          bash ci/install-upstream.sh\n      - name: environment info\n        run: |\n          conda info\n          conda list\n      - name: make html\n        uses: nick-fields/retry@v3\n        with:\n           timeout_minutes: 40\n           max_attempts: 3\n           command: |\n              eval \"$(micromamba shell hook --shell bash)\"\n              micromamba activate\n              micromamba activate geocat-examples\n              cd docs\n              make html\n", "state": "active", "repository": "ncar/geocat-examples"}
{"mined_at": "2024-07-15T13:49:06.629116", "created_at": "2023-04-10T19:49:40+02:00", "updated_at": "2023-04-10T19:49:40+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "ibm/ibm-spectrum-scale-install-infra"}
{"mined_at": "2024-07-15T13:49:08.885743", "created_at": "2022-06-29T21:09:22+02:00", "updated_at": "2023-06-13T12:04:18+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n    paths-ignore:\n      - '.cookiecutter/*'\n      - '.github/dependabot.yml'\n      - '.github/workflows/deploy.yml'\n      - '.github/workflows/redeploy.yml'\n      - 'bin/logger'\n      - 'bin/make_python'\n      - 'bin/make_template'\n      - 'conf/development.ini'\n      - 'conf/production.ini'\n      - 'conf/supervisord*.conf'\n      - 'docs/*'\n      - 'requirements/*.in'\n      - 'requirements/dev.txt'\n      - '.docker.env'\n      - '**/.gitignore'\n      - 'Dockerfile'\n      - 'LICENSE'\n      - '*.md'\n      - 'docker-compose.yml'\n  workflow_dispatch:\n  workflow_call:\n  schedule:\n  - cron: '0 1 * * *'\njobs:\n  Format:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: format-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            format-${{ runner.os }}-tox-\n      - run: python -m pip install 'tox<4'\n      - run: tox -e checkformatting\n  Lint:\n    runs-on: ubuntu-latest-32-cores\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: lint-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            lint-${{ runner.os }}-tox-\n      - run: python -m pip install 'tox<4'\n      - run: tox -e lint\n  Typecheck:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: typecheck-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            typecheck-${{ runner.os }}-tox-\n      - run: python -m pip install 'tox<4'\n      - run: tox -e typecheck\n  Tests:\n    runs-on: ubuntu-latest-32-cores\n    services:\n      postgres:\n        image: postgres:15.6-alpine\n        ports:\n        - 5433:5432\n        env:\n          POSTGRES_HOST_AUTH_METHOD: trust\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: tests-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            tests-${{ runner.os }}-tox-\n      - name: Create test database\n        run: psql -U postgres -h localhost -p 5433 -c 'CREATE DATABASE lms_tests'\n      - run: yarn install --frozen-lockfile\n      - run: yarn build\n      - run: python -m pip install 'tox<4'\n      - run: tox -e tests\n        env:\n          COVERAGE_FILE: .coverage.${{ matrix.python-version }}\n      - name: Upload coverage file\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage\n          path: .coverage.*\n  Coverage:\n    needs: tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: coverage-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            coverage-${{ runner.os }}-tox-\n      - name: Download coverage files\n        uses: actions/download-artifact@v3\n        with:\n          name: coverage\n      - run: python -m pip install 'tox<4'\n      - run: tox -e coverage\n  Functests:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:15.6-alpine\n        ports:\n        - 5433:5432\n        env:\n          POSTGRES_HOST_AUTH_METHOD: trust\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: functests-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            functests-${{ runner.os }}-tox-\n      - name: Create test database\n        run: psql -U postgres -h localhost -p 5433 -c 'CREATE DATABASE lms_functests'\n      - run: yarn install --frozen-lockfile\n      - run: yarn build\n      - run: python -m pip install 'tox<4'\n      - run: tox -e functests\n  Frontend:\n    uses: ./.github/workflows/frontend.yml\n  BDD_Tests:\n    name: BDD Tests\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:15.6-alpine\n        ports:\n        - 5433:5432\n        env:\n          POSTGRES_HOST_AUTH_METHOD: trust\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: bddtests-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            bddtests-${{ runner.os }}-tox-\n      - name: Create test database\n        run: psql -U postgres -h localhost -p 5433 -c 'CREATE DATABASE lms_bddtests'\n      - run: yarn install --frozen-lockfile\n      - run: yarn build\n      - run: python -m pip install 'tox<4'\n      - run: tox -e bddtests\n", "state": "active", "repository": "hypothesis/lms"}
{"mined_at": "2024-07-15T13:49:09.953046", "created_at": "2022-11-25T16:46:45+01:00", "updated_at": "2022-11-25T16:46:45+01:00", "name": "Data tasks", "path": ".github/workflows/data_tasks.yml", "contents": "# Run various tasks, usually related to the report aggregations\n\nname: Data tasks\non:\n  workflow_dispatch:\n    inputs:\n      Task:\n        type: choice\n        description: \"The data task to perform\"\n        required: true\n        options:\n          - \"report/refresh\"\n          - \"report/create_from_scratch\"\n      Environment:\n        type: choice\n        description: \"The environment to target\"\n        required: true\n        default: 'staging'\n        options:\n          - 'staging'\n          - 'prod'\n      Region:\n        type: choice\n        description: \"The AWS region to target\"\n        required: true\n        default: 'all'\n        options:\n          - 'all'\n          - 'ca-central-1'\n          - 'us-west-1'\n      Destructive:\n        description: Check to confirm you are happy to proceed with a destructive operation\n        type: boolean\n        required: false\n        default: false\n\njobs:\n  check_for_danger:\n    runs-on: ubuntu-latest\n    name: \"Check for approval for dangerous actions\"\n    steps:\n      - name: \"Approval not given!\"\n        if: contains(fromJson('[\"report/create_from_scratch\"]'), inputs.Task) && inputs.Destructive == false\n        run: |\n          echo \"::error::'${{ inputs.Task }}' needs destructive option\"\n          exit 1\n\n  run_task:\n    needs: check_for_danger\n    name: \"Run '${{ inputs.Task }}' Data task in ${{ inputs.Environment }} / ${{ inputs.Region }}\"\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: ${{ inputs.Environment }}\n      Timeout: 3600\n      Region: ${{ inputs.Region }}\n      Command: 'newrelic-admin run-program python bin/run_data_task.py --config-file conf/production.ini --task ${{ inputs.Task }}'\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/lms"}
{"mined_at": "2024-07-15T13:49:11.134947", "created_at": "2022-09-01T12:10:41+02:00", "updated_at": "2024-03-28T11:30:04+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\nconcurrency:\n  group: deploy\n  cancel-in-progress: true\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - '.cookiecutter/*'\n      - '.github/*'\n      - 'bin/create-db'\n      - 'bin/make_python'\n      - 'bin/make_template'\n      - 'conf/development.ini'\n      - 'conf/supervisord-dev.conf'\n      - 'docs/*'\n      - 'requirements/*'\n      - '!requirements/prod.txt'\n      - 'tests/*'\n      - '**/.gitignore'\n      - '.python-version'\n      - 'LICENSE'\n      - '*.md'\n      - 'docker-compose.yml'\n      - 'tox.ini'\njobs:\n  docker_hub:\n    name: Docker Hub\n    uses: hypothesis/workflows/.github/workflows/dockerhub.yml@main\n    with:\n      Application: ${{ github.event.repository.name }}\n    secrets: inherit\n  staging:\n    name: Staging\n    needs: [docker_hub]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Staging\n      github_environment_url: https://hypothesis.instructure.com/courses/125/assignments/879\n      aws_region: us-west-1\n      elasticbeanstalk_application: lms\n      elasticbeanstalk_environment: staging\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n  production:\n    name: Production\n    needs: [docker_hub, staging]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Production\n      github_environment_url: https://hypothesis.instructure.com/courses/125/assignments/884\n      aws_region: us-west-1\n      elasticbeanstalk_application: lms\n      elasticbeanstalk_environment: prod\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n  production_canada:\n    name: Production (Canada)\n    needs: [docker_hub, staging]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Production (Canada)\n      github_environment_url: https://hypothesis.instructure.com/courses/315/assignments/2735\n      aws_region: ca-central-1\n      elasticbeanstalk_application: lms\n      elasticbeanstalk_environment: prod\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/lms"}
{"mined_at": "2024-07-15T13:49:12.355163", "created_at": "2023-06-05T16:27:00+02:00", "updated_at": "2023-06-05T16:27:00+02:00", "name": "Frontend", "path": ".github/workflows/frontend.yml", "contents": "name: Frontend\non:\n  workflow_call:\n  workflow_dispatch:\njobs:\n  Frontend:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n    - name: Cache the node_modules dir\n      uses: actions/cache@v3\n      with:\n        path: node_modules\n        key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}\n    - name: Install\n      run: yarn install --frozen-lockfile\n    - name: Lint\n      run: make frontend-lint\n    - name: Test\n      run: make frontend-test\n", "state": "active", "repository": "hypothesis/lms"}
{"mined_at": "2024-07-15T13:49:13.364378", "created_at": "2022-12-01T18:30:42+01:00", "updated_at": "2022-12-01T18:30:42+01:00", "name": "Redeploy", "path": ".github/workflows/redeploy.yml", "contents": "name: Redeploy\nconcurrency:\n  group: deploy\n  cancel-in-progress: true\non:\n  workflow_dispatch:\n    inputs:\n      staging:\n        type: boolean\n        description: Redeploy Staging\n      production:\n        type: boolean\n        description: Redeploy Production\n      production_canada:\n        type: boolean\n        description: Redeploy Production (Canada)\njobs:\n  staging:\n    name: Staging\n    if: inputs.staging\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Staging\n      github_environment_url: https://hypothesis.instructure.com/courses/125/assignments/879\n      aws_region: us-west-1\n      elasticbeanstalk_application: lms\n      elasticbeanstalk_environment: staging\n    secrets: inherit\n  production:\n    name: Production\n    if: inputs.production\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Production\n      github_environment_url: https://hypothesis.instructure.com/courses/125/assignments/884\n      aws_region: us-west-1\n      elasticbeanstalk_application: lms\n      elasticbeanstalk_environment: prod\n    secrets: inherit\n  production_canada:\n    name: Production (Canada)\n    if: inputs.production_canada\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Production (Canada)\n      github_environment_url: https://hypothesis.instructure.com/courses/315/assignments/2735\n      aws_region: ca-central-1\n      elasticbeanstalk_application: lms\n      elasticbeanstalk_environment: prod\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/lms"}
{"mined_at": "2024-07-15T13:49:14.616650", "created_at": "2022-10-28T14:15:21+02:00", "updated_at": "2022-10-28T14:15:21+02:00", "name": "Report refresh", "path": ".github/workflows/report_refresh.yml", "contents": "# Update the nightly report stats etc.\n\nname: Report refresh\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 05 * * *'\n\njobs:\n  refresh:\n    name: \"Update report information\"\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: 'prod'\n      Timeout: 3600\n      Region: 'all'\n      Command: 'newrelic-admin run-program python bin/run_data_task.py --config-file conf/production.ini --task report/refresh'\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/lms"}
{"mined_at": "2024-07-15T13:49:15.845518", "created_at": "2023-09-19T11:43:03+02:00", "updated_at": "2023-09-19T12:24:28+02:00", "name": "Slack", "path": ".github/workflows/slack.yml", "contents": "name: Slack\non:\n  workflow_run:\n    workflows: [CI, Deploy]\n    types: [completed]\n    branches: [main]\njobs:\n  on-failure:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'failure' }}\n    steps:\n      - name: Post to Slack\n        uses: slackapi/slack-github-action@v1.24.0\n        with:\n          channel-id: 'C4K6M7P5E'\n          slack-message: \"A workflow run failed\\n*Repo:* `${{ github.event.repository.full_name }}` (${{ github.event.repository.html_url }})\\n*Workflow:* ${{ github.event.workflow.name }} (${{ github.event.workflow.html_url }})\\n*Branch:* `${{ github.event.workflow_run.head_branch }}`\\n*Commit:* `${{ github.event.workflow_run.head_commit.id }}`\\n*Run:* ${{ github.event.workflow_run.html_url }}\\n*Conclusion:* ${{ github.event.workflow_run.conclusion }}\"\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n", "state": "active", "repository": "hypothesis/lms"}
{"mined_at": "2024-07-15T13:49:16.862539", "created_at": "2021-01-22T12:04:40+01:00", "updated_at": "2021-01-22T12:04:40+01:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '0 10 * * *'\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v3\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'\n          days-before-stale: 30\n          days-before-close: 5\n", "state": "active", "repository": "hypothesis/lms"}
{"mined_at": "2024-07-15T13:49:17.859065", "created_at": "2022-09-02T13:37:12+02:00", "updated_at": "2022-09-02T13:37:12+02:00", "name": "Tasks", "path": ".github/workflows/tasks.yml", "contents": "# Run database migration commands inside the Docker container running\n# the Elastic Beanstalk application\n\nname: Tasks\n\non:\n  workflow_dispatch:\n    inputs:\n      Task:\n        type: choice\n        description: \"The task to perform\"\n        required: true\n        options:\n          - 'db current revision'\n          - 'db upgrade to head'\n          - 'db upgrade to next'\n          - 'db downgrade to previous'\n      Environment:\n        type: choice\n        description: \"The environment to target\"\n        required: true\n        default: 'staging'\n        options:\n          - 'staging'\n          - 'prod'\n      Timeout:\n        type: string\n        description: \"The timeout in seconds\"\n        default: '900'\n      Region:\n        type: choice\n        description: \"The AWS region to target\"\n        required: true\n        default: 'all'\n        options:\n          - 'all'\n          - 'ca-central-1'\n          - 'us-west-1'\n      Destructive:\n        description: Check to confirm you are happy to proceed with a destructive operation\n        type: boolean\n        required: false\n        default: false\n\njobs:\n\n  preflight:\n    runs-on: ubuntu-latest\n    steps:\n    - name: catch unauthorised destructive operations\n      run: |\n        if [[ \"${{ inputs.Task }}\" = 'db upgrade to head' ]] &&\n           [[ \"${{ github.event.inputs.Destructive }}\" = 'false' ]] ||\n           [[ \"${{ inputs.Task }}\" = 'db upgrade to next' ]] &&\n           [[ \"${{ github.event.inputs.Destructive }}\" = 'false' ]] ||\n           [[ \"${{ inputs.Task }}\" = 'db downgrade to previous' ]] &&\n           [[ \"${{ github.event.inputs.Destructive }}\" = 'false' ]] ; then\n             echo \"::error::'${{ inputs.Task }}' needs destructive option\"\n             exit 1\n        else\n             echo \"::notice::Preparing '${{ inputs.Task }}' update in ${{ inputs.Environment }}\"\n             echo \"::notice::Targeting regions - '${{ inputs.region }}'\"\n             echo \"::notice::Timeout - '${{ inputs.Timeout }}'\"\n             exit 0\n        fi\n\n  current:\n    if: inputs.Task == 'db current revision'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'alembic -c conf/alembic.ini current'\n    secrets: inherit\n\n  head:\n    if: inputs.Task == 'db upgrade to head' && github.event.inputs.Destructive == 'true'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'alembic -c conf/alembic.ini upgrade head'\n    secrets: inherit\n\n  next:\n    if: inputs.Task == 'db upgrade to next' && github.event.inputs.Destructive == 'true'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'alembic -c conf/alembic.ini upgrade +1'\n    secrets: inherit\n\n  downgrade:\n    if: inputs.Task == 'db downgrade to previous' && github.event.inputs.Destructive == 'true'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'alembic -c conf/alembic.ini downgrade -1'\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/lms"}
{"mined_at": "2024-07-15T13:49:19.811750", "created_at": "2022-05-11T20:11:12+02:00", "updated_at": "2022-05-11T20:11:12+02:00", "name": "CI", "path": ".github/workflows/lint.yml", "contents": "name: CI\n\non:\n  # Triggers the workflow on push or pull request events\n  push:\n    branches: [ master ]\n  pull_request:\n    branches:\n      - \"*\"\n\njobs:\n  Lint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n\n    - uses: actions/setup-python@v3\n      with:\n        python-version: '3.9'\n\n    - uses: pre-commit/action@v2.0.3\n", "state": "active", "repository": "slicermorph/slicermorph"}
{"mined_at": "2024-07-15T13:49:22.911217", "created_at": "2024-01-10T16:55:30+01:00", "updated_at": "2024-04-15T17:28:22+02:00", "name": "Tests & Build", "path": ".github/workflows/main.yml", "contents": "name: Tests & Build\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - stable\n      - dev\n    tags:\n      - v**\n  pull_request:\n    branches:\n      - stable\n      - dev\n\njobs:\n  misc_tests:\n    name: Misc tests\n    container: fedorapython/fedora-python-tox\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install RPM dependencies\n        run: dnf install -y poetry\n      - name: Mark the directory as safe for git\n        run: git config --global --add safe.directory $PWD\n      - name: Run tests\n        run: tox -e ${{ matrix.tox_env }}\n    continue-on-error: ${{ matrix.optional }}\n    strategy:\n      matrix:\n        tox_env:\n          - lint\n          - format\n          - licenses\n          - security\n          - docs\n        # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error\n        include:\n          - optional: false\n          - tox_env: licenses\n            optional: true\n      fail-fast: false\n    runs-on: ubuntu-latest\n\n  unit_tests:\n    name: Unit tests\n    container: fedorapython/fedora-python-tox:latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install RPM dependencies\n        run: dnf install -y poetry\n      - name: Mark the directory as safe for git\n        run: git config --global --add safe.directory $PWD\n      - name: Run tests\n        run: tox -e ${{ matrix.tox_env }}\n    strategy:\n      matrix:\n        tox_env:\n          - py39-unittest\n          - py310-unittest\n    runs-on: ubuntu-latest\n\n  integration_tests:\n    name: Integration tests\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install RabbitMQ\n        uses: mer-team/rabbitmq-mng-action@v1.2\n        with:\n          RABBITMQ_TAG: \"3-management-alpine\"\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Tox\n        run: pip install tox poetry\n      - name: Run integration tests\n        # Run tox using the version of Python in `PATH`\n        run: tox -e py-integration\n    strategy:\n      matrix:\n        python:\n          - \"3.9\"\n          - \"3.10\"\n    runs-on: ubuntu-latest\n\n  # https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n  build:\n    name: Build distribution 📦\n    runs-on: ubuntu-latest\n    needs:\n      - misc_tests\n      - unit_tests\n      - integration_tests\n    outputs:\n      release-notes: ${{ steps.extract-changelog.outputs.markdown }}\n\n    steps:\n\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - name: Install pypa/build\n        run: python3 -m pip install build --user\n\n      - name: Build a binary wheel and a source tarball\n        run: python3 -m build\n\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n\n      - name: Extract changelog section\n        id: extract-changelog\n        uses: sean0x42/markdown-extract@v2\n        with:\n          file: docs/release_notes.md\n          pattern: 'v[[:digit:].]+'\n          no-print-matched-heading: true\n      - name: Show the changelog\n        env:\n          CHANGELOG: ${{ steps.extract-changelog.outputs.markdown }}\n        run: echo \"$CHANGELOG\"\n\n\n  publish-to-pypi:\n    name: Publish to PyPI 🚀\n    # only publish to PyPI on final tag pushes\n    if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'rc')\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/noggin-aaa\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n\n  github-release:\n    name: Create a GitHub Release 📢\n    needs:\n      - publish-to-pypi\n      - build\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write  # IMPORTANT: mandatory for making GitHub Releases\n      id-token: write  # IMPORTANT: mandatory for sigstore\n\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n\n      - name: Sign the dists with Sigstore\n        uses: sigstore/gh-action-sigstore-python@v2.1.1\n        with:\n          inputs: >-\n            ./dist/*.tar.gz\n            ./dist/*.whl\n\n      - name: Release\n        uses: softprops/action-gh-release@v2\n        with:\n          files: dist/*\n          fail_on_unmatched_files: true\n          body: ${{ needs.build.outputs.release-notes }}\n", "state": "active", "repository": "fedora-infra/noggin"}
{"mined_at": "2024-07-15T13:49:24.037361", "created_at": "2024-06-04T04:05:07+02:00", "updated_at": "2024-06-04T04:05:07+02:00", "name": "Clean Stale Issues", "path": ".github/workflows/stale.yml", "contents": "name: Clean Stale Issues\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 1 * * *\"\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Close stale issues\n        uses: actions/stale@v9.0.0\n        with:\n          exempt-all-assignees: true\n          # exclude issues/PRs with the specified labels\n          exempt-issue-labels: todo\n          stale-issue-message: \"This issue is stale because it has been open for 60 days with no activity.\"\n          close-issue-message: \"This issue was closed because it has been inactive for 7 days since being marked as stale.\"\n          operations-per-run: 1000\n", "state": "active", "repository": "fedora-infra/noggin"}
{"mined_at": "2024-07-15T13:49:26.221328", "created_at": "2020-10-01T15:03:33+02:00", "updated_at": "2021-06-16T11:14:35+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic. \nname: \"CodeQL\"\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 14 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file. \n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "vortechsa/python-sdk"}
{"mined_at": "2024-07-15T13:49:27.254556", "created_at": "2022-03-09T12:46:38+01:00", "updated_at": "2022-03-09T12:46:38+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "vortechsa/python-sdk"}
{"mined_at": "2024-07-15T13:49:29.354351", "created_at": "2024-03-27T09:04:35+01:00", "updated_at": "2024-05-01T17:58:24+02:00", "name": "ci", "path": ".github/workflows/ci-tests.yml", "contents": "name: ci\n\non:\n  push:\n    branches:\n     - master\n     - next*\n\n  pull_request:\n    branches:\n     - next*\n\njobs:\n  ci-without-nix:\n    name: CCM Integration tests\n    uses: ./.github/workflows/integration-tests.yml\n    with:\n      reloc_version: \"2023-04-13T13:31:00Z\"\n  ci-with-nix:\n    name: CCM Integration tests (using Nix)\n    uses: ./.github/workflows/nix.yml\n    with:\n      reloc_version: \"2023-04-13T13:31:00Z\"\n", "state": "active", "repository": "scylladb/scylla-ccm"}
{"mined_at": "2024-07-15T13:49:30.488687", "created_at": "2020-10-28T22:50:42+01:00", "updated_at": "2020-10-28T22:50:42+01:00", "name": "CCM Integration tests", "path": ".github/workflows/integration-tests.yml", "contents": "name: CCM Integration tests\n\non:\n  workflow_call:\n    inputs:\n      reloc_version:\n        required: true\n        type: string\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache pip\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-test.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Setup java\n      uses: actions/setup-java@v3\n      with:\n        distribution: 'temurin'\n        java-version: '8'\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install python2\n        \n        pip install -U pip setuptools\n\n        pip install .\n\n        if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi\n\n    - name: Cache binary versions\n      id: cache-versions\n      uses: actions/cache@v2\n      with:\n        path: |\n          ~/.ccm/repository\n          ~/.ccm/scylla-repository\n        key: ${{ runner.os }}-${{ inputs.reloc_version }}-binaries\n\n    - name: Set environmental variables\n      run: |\n        echo \"SCYLLA_VERSION=unstable/master:${{ inputs.reloc_version }}\" >> \"$GITHUB_ENV\"\n\n    - name: Download versions\n      if: steps.cache-versions.outputs.cache-hit != 'true'\n      run: |\n        normalized=$(echo ${{ inputs.reloc_version }} | tr ':' '_')\n        if [ ! -f ~/.ccm/scylla-repository/unstable/master/$normalized ]; then\n          ./ccm create temp -n 1 --scylla --version unstable/master:${{ inputs.reloc_version }}\n          ./ccm remove\n        fi\n        ./ccm create temp-cas -n 1 --version 3.11.4 > /dev/null\n        ./ccm remove\n\n    - name: Test with pytest\n      run: |\n        python -m pytest ./tests -x\n\n    - name: Copy logs/results\n      if: contains(github.event.pull_request.labels.*.name, 'PR-upload-log')\n      uses: actions/upload-artifact@v2\n      with:\n        name: ccm-tests-log\n        path: tests/test_results/\n", "state": "active", "repository": "scylladb/scylla-ccm"}
{"mined_at": "2024-07-15T13:49:31.493882", "created_at": "2023-07-03T15:58:50+02:00", "updated_at": "2023-07-13T18:23:48+02:00", "name": "CCM Integration tests (using Nix)", "path": ".github/workflows/nix.yml", "contents": "name: CCM Integration tests (using Nix)\n\non:\n  workflow_call:\n    inputs:\n      reloc_version:\n        required: true\n        type: string\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    steps:\n    - uses: actions/checkout@v3\n    - uses: cachix/install-nix-action@v20\n      with:\n        github_access_token: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Cache binary versions\n      id: cache-versions\n      uses: actions/cache@v2\n      with:\n        path: |\n          ~/.ccm/repository\n          ~/.ccm/scylla-repository\n        key: ${{ runner.os }}-${{ inputs.reloc_version }}-binaries\n\n    - name: Set environmental variables\n      run: |\n        echo \"SCYLLA_VERSION=unstable/master:${{ inputs.reloc_version }}\" >> \"$GITHUB_ENV\"\n\n    - name: Download versions\n      if: steps.cache-versions.outputs.cache-hit != 'true'\n      run: |\n        normalized=$(echo ${{ inputs.reloc_version }} | tr ':' '_')\n        if [ ! -f ~/.ccm/scylla-repository/unstable/master/$normalized ]; then\n          nix develop --command ./ccm create temp -n 1 --scylla --version $SCYLLA_VERSION\n          nix develop --command ./ccm remove\n        fi\n        nix develop --command ./ccm create temp-cas -n 1 --version 3.11.4 > /dev/null\n        nix develop --command ./ccm remove\n\n    - name: Test with pytest (python 3.9)\n      run: |\n        nix develop --command python3.9 -m pytest ./tests -x\n\n    - name: Test with pytest (python 3.11)\n      run: |\n        nix develop --command python3.11 -m pytest ./tests -x\n\n    - name: Copy logs/results\n      if: contains(github.event.pull_request.labels.*.name, 'PR-upload-log')\n      uses: actions/upload-artifact@v2\n      with:\n        name: ccm-tests-log\n        path: tests/test_results/\n", "state": "active", "repository": "scylladb/scylla-ccm"}
{"mined_at": "2024-07-15T13:49:36.402704", "created_at": "2022-02-08T21:35:34+01:00", "updated_at": "2022-02-22T18:19:59+01:00", "name": "Build workflow", "path": ".github/workflows/build.yml", "contents": "name: \"Build workflow\"\non: [pull_request]\njobs:\n  build-test:\n    runs-on: ubuntu-20.04\n    container: python:3.9-slim\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: Install pip dependencies\n        run: pip install -r requirements.txt\n      - name: Build\n        run: mkdocs build\n", "state": "active", "repository": "algorand/docs"}
{"mined_at": "2024-07-15T13:49:37.786957", "created_at": "2022-08-01T13:20:49+02:00", "updated_at": "2022-08-02T17:09:03+02:00", "name": "PR Generator", "path": ".github/workflows/pr-generator.yml", "contents": "name: \"PR Generator\"\non:\n  workflow_dispatch:\n    inputs:\n      go_algorand_version:\n        description: \"Go-Algorand Full Version (Example: v1.2.3-stable)\"\n        type: string\n        required: true\n      indexer_version:\n        description: \"Indexer Version (Example: X.X.X)\"\n        type: string\n        required: true\n  workflow_call:\n    inputs:\n      go_algorand_version:\n        description: \"Go-Algorand Full Version (Example: v1.2.3-stable)\"\n        type: string\n        required: true\n      indexer_version:\n        description: \"Indexer Version (Example: X.X.X)\"\n        type: string\n        required: true\n\njobs:\n  pr-generator:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone docs repo\n        uses: actions/checkout@v3\n        with:\n          path: docs\n\n      - name: Clone go-algorand repo\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        uses: actions/checkout@v3\n        with:\n          repository: algorand/go-algorand\n          ref: ${{ inputs.go_algorand_version }}\n          path: go-algorand\n\n      - name: Get short/clean go-algorand version\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        run: |\n          TEMP_VERSION=${{ inputs.go_algorand_version }}\n          TEMP_VERSION=$(echo $TEMP_VERSION | sed 's/v//' | sed 's/-stable//')\n          echo \"GO_ALGORAND_VERSION set to $TEMP_VERSION\"\n          echo \"GO_ALGORAND_VERSION=$TEMP_VERSION\" >> $GITHUB_ENV\n\n      - name: Clone Indexer repo\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        uses: actions/checkout@v3\n        with:\n          repository: algorand/indexer\n          ref: v${{ inputs.indexer_version }}\n          path: indexer\n          submodules: true\n\n      - name: Install golang\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        uses: actions/setup-go@v3\n        with:\n          go-version: 1.20.7\n\n      - name: Generate conduit docs\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        run: |\n          sudo apt update\n          sudo apt -y install python3 python3-pip python3-setuptools python3-wheel libboost-math-dev libffi-dev\n          cd ./indexer\n          make\n          rm -r ../get-details/conduit/* && cp ./conduit-docs/* ../get-details/conduit/\n          cd ../\n\n      - name: Download binaries\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        run: |\n          wget https://github.com/algorand/go-algorand/releases/download/v${{ env.GO_ALGORAND_VERSION }}-stable/node_stable_linux-amd64_${{ env.GO_ALGORAND_VERSION }}.tar.gz\n          wget https://github.com/algorand/indexer/releases/download/v${{ inputs.indexer_version }}/indexer_Linux_x86_64_${{ inputs.indexer_version }}.tar.gz\n          ls -la\n\n      - name: Install binaries\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        run: |\n          mkdir -p ~/go/bin\n          mkdir -p node_stable_linux-amd64_${{ env.GO_ALGORAND_VERSION }}\n          tar xzf node_stable_linux-amd64_${{ env.GO_ALGORAND_VERSION }}.tar.gz -C node_stable_linux-amd64_${{ env.GO_ALGORAND_VERSION }}/\n          cd node_stable_linux-amd64_${{ env.GO_ALGORAND_VERSION }}/bin/\n          cp goal algokey kmd diagcfg tealdbg  ~/go/bin/\n          cd ../../\n          mkdir -p indexer_Linux_x86_64_${{ inputs.indexer_version }}\n          tar xzf indexer_Linux_x86_64_${{ inputs.indexer_version }}.tar.gz -C indexer_Linux_x86_64_${{ inputs.indexer_version }}\n          cd indexer_Linux_x86_64_${{ inputs.indexer_version }}\n          cp algorand-indexer ~/go/bin/\n          cd ../\n          ls -la\n          ls -la ~/go/bin\n\n      - name: Run doc generator\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        run: |\n          cd docs/scripts/\n          ./reformat-all-commands.sh ../../go-algorand/ ../../indexer/\n          go run config_json_gen/main.go -path ../../go-algorand/ > ../docs/run-a-node/reference/config.md\n          git diff\n\n      - name: Change version for Beta release\n        if: contains(inputs.go_algorand_version, '-beta')\n        run: |\n          cd docs/docs/get-details/algorand-networks\n          sed -i.bak 's/v.*-beta/${{ inputs.go_algorand_version }}/' betanet.md\n          rm betanet.md.bak\n          cd ../../../\n          echo \"${{ inputs.go_algorand_version }}\" > .go-algorand-beta.version\n\n      - name: Change go-algorand version for Stable release\n        if: contains(inputs.go_algorand_version, '-stable')\n        run: |\n          cd docs/docs/get-details/algorand-networks\n          sed -i.bak 's/v.*-stable/${{ inputs.go_algorand_version }}/' testnet.md\n          sed -i.bak 's/v.*-stable/${{ inputs.go_algorand_version }}/' mainnet.md\n          rm testnet.md.bak mainnet.md.bak\n          cd ../../../\n          echo \"${{ inputs.go_algorand_version }}\" > .go-algorand-stable.version\n\n      - name: Change Indexer version\n        if: inputs.indexer_version != '' && !contains(inputs.indexer_version, '-')\n        run: |\n          echo \"${{ inputs.indexer_version }}\" > docs/.indexer.version\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v4\n        with:\n          path: docs\n          branch: \"automatic-pr-go-algorand-${{ inputs.go_algorand_version }}-indexer-${{ inputs.indexer_version }}\"\n          title: \"Automatic update generated for go-algorand: ${{ inputs.go_algorand_version }} and indexer: ${{ inputs.indexer_version }}\"\n          body: \"Changes generated automatically by github action docs-generator.\"\n          reviewers: \"nullun,ryanrfox\"\n          delete-branch: true\n          base: staging\n", "state": "active", "repository": "algorand/docs"}
{"mined_at": "2024-07-15T13:49:39.357831", "created_at": "2022-08-04T19:20:45+02:00", "updated_at": "2023-05-10T23:30:30+02:00", "name": "Check for releases", "path": ".github/workflows/release-checker.yml", "contents": "name: \"Check for releases\"\non:\n  schedule:\n    - cron: '*/30 * * * *'\n\njobs:\n  release-checker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout docs repo\n        uses: actions/checkout@v3\n        with:\n          path: docs\n\n      - name: Clone go-algorand repo\n        uses: actions/checkout@v3\n        with:\n          repository: algorand/go-algorand\n          ref: rel/stable\n          path: go-algorand\n\n      - name: Clone Indexer repo\n        uses: actions/checkout@v3\n        with:\n          repository: algorand/indexer\n          ref: main\n          path: indexer\n\n      - name: Get current documentation versions\n        id: current_versions\n        run: |\n          cd docs\n          TEMP_STABLE=$(cat .go-algorand-stable.version)\n          echo \"Stable version: $TEMP_STABLE\"\n          echo \"::set-output name=stable::$TEMP_STABLE\"\n          TEMP_BETA=$(cat .go-algorand-beta.version)\n          echo \"Beta version: $TEMP_BETA\"\n          echo \"::set-output name=beta::$TEMP_BETA\"\n          TEMP_INDEXER=$(cat .indexer.version)\n          echo \"Indexer version: $TEMP_INDEXER\"\n          echo \"::set-output name=indexer::$TEMP_INDEXER\"\n\n      - name: Get latest stable and beta go-algorand releases\n        id: latest_go_algorand\n        run: |\n          cd go-algorand\n          git fetch --tags\n          echo \"::set-output name=stable::$(git tag --list 'v[0-9]*.[0-9]*.[0-9]*-stable' | sort -V | tail -1)\"\n          git tag --list 'v[0-9]*.[0-9]*.[0-9]*-stable' | sort -V | tail -1\n          echo \"::set-output name=beta::$(git tag --list 'v[0-9]*.[0-9]*.[0-9]*-beta' | sort -V | tail -1)\"\n          git tag --list 'v[0-9]*.[0-9]*.[0-9]*-beta' | sort -V | tail -1\n\n      - name: Get latest indexer release without dashes\n        id: latest_indexer\n        run: |\n          cd indexer\n          git fetch --tags\n          echo \"::set-output name=indexer::$(git tag --list | grep '[0-9]*\\.[0-9]*\\.[0-9]*' | grep -v '-' | sed 's/^v//' | sort -V | tail -1)\"\n          git tag --list | grep '[0-9]*\\.[0-9]*\\.[0-9]*' | grep -v '-' | sed 's/^v//' | sort -V | tail -1\n\n      - name: Check versions # Just for easier troubleshooting\n        run: |\n          echo \"Checking if current stable: ${{ steps.current_versions.outputs.stable }} equals latest stable: ${{ steps.latest_go_algorand.outputs.stable }}\"\n          [[ \"${{ steps.current_versions.outputs.stable }}\" == \"${{ steps.latest_go_algorand.outputs.stable }}\" ]] && echo \"Matches\" || echo \"NO MATCH!!\"\n          echo \"Checking if current beta: ${{ steps.current_versions.outputs.beta }} equals latest beta: ${{ steps.latest_go_algorand.outputs.beta }}\"\n          [[ \"${{ steps.current_versions.outputs.beta }}\" == \"${{ steps.latest_go_algorand.outputs.beta }}\" ]] && echo \"Matches\" || echo \"NO MATCH!!\"\n          echo \"Checking if current indexer: ${{ steps.current_versions.outputs.indexer }} equals latest indexer: ${{ steps.latest_indexer.outputs.indexer }}\"\n          [[ \"${{ steps.current_versions.outputs.indexer }}\" == \"${{ steps.latest_indexer.outputs.indexer }}\" ]] && echo \"Matches\" || echo \"NO MATCH!!\"\n\n    outputs: # Translate step outputs into job outputs\n      current_stable: ${{ steps.current_versions.outputs.stable }}\n      current_beta: ${{ steps.current_versions.outputs.beta }}\n      current_indexer: ${{ steps.current_versions.outputs.indexer }}\n      latest_stable: ${{ steps.latest_go_algorand.outputs.stable }}\n      latest_beta: ${{ steps.latest_go_algorand.outputs.beta }}\n      latest_indexer: ${{ steps.latest_indexer.outputs.indexer }}\n\n  trigger-pr-generator-stable:\n    name: Trigger docs and version updates if STABLE versions don't match\n    needs: release-checker\n    if: |\n      needs.release-checker.outputs.current_stable != needs.release-checker.outputs.latest_stable ||\n      needs.release-checker.outputs.current_indexer != needs.release-checker.outputs.latest_indexer\n    uses: ./.github/workflows/pr-generator.yml\n    with:\n      go_algorand_version: ${{ needs.release-checker.outputs.latest_stable }}\n      indexer_version: ${{ needs.release-checker.outputs.latest_indexer }}\n\n  trigger-pr-generator-beta:\n    name: Trigger docs and version updates if BETA versions don't match\n    needs: release-checker\n    if: needs.release-checker.outputs.current_beta != needs.release-checker.outputs.latest_beta\n    uses: ./.github/workflows/pr-generator.yml\n    with:\n      go_algorand_version: ${{ needs.release-checker.outputs.latest_beta }}\n      indexer_version: ${{ needs.release-checker.outputs.latest_indexer }}\n", "state": "active", "repository": "algorand/docs"}
{"mined_at": "2024-07-15T13:49:41.503552", "created_at": "2021-05-14T11:48:20+02:00", "updated_at": "2021-05-14T11:48:20+02:00", "name": "Upload to PyPI", "path": ".github/workflows/pip-publish.yml", "contents": "name: Upload to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  upload:\n    runs-on: ubuntu-latest\n\n    environment:\n      name: pypi.org\n      url: https://pypi.org/project/cookiecutter/\n\n    steps:\n\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n\n    - name: Publish a Python distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "cookiecutter/cookiecutter"}
{"mined_at": "2024-07-15T13:49:42.728081", "created_at": "2022-06-07T10:18:43+02:00", "updated_at": "2022-06-07T10:37:47+02:00", "name": "CI/CD Tests", "path": ".github/workflows/tests.yml", "contents": "name: CI/CD Tests\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"*\"\n\njobs:\n  documentation_build_test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox\n      - name: Build docs\n        run: tox -e docs\n      - uses: actions/upload-artifact@v4\n        with:\n          name: DocumentationHTML\n          path: docs/_build/html/\n  tests_run:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - macos-latest\n          - windows-latest\n        python:\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        include:\n          - os: ubuntu-latest\n            python: \"3.7\"\n          - os: ubuntu-latest\n            python: \"3.8\"\n          - os: ubuntu-latest\n            python: \"3.9\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox\n      - name: Project internals test build\n        run: \"tox -e py${{ matrix.python }}\"\n      - name: Project security test\n        run: \"tox -e safety\"\n      - name: Send coverage report to codeclimate\n        continue-on-error: true\n        uses: paambaati/codeclimate-action@v6.0.0\n        with:\n          coverageCommand: echo \"Ignore rerun\"\n          coverageLocations: ${{github.workspace}}/coverage.xml:coverage.py\n        env:\n          CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}\n      - name: Send coverage report to codecov\n        uses: codecov/codecov-action@v4\n        with:\n          env_vars: OS=${{ matrix.os }},PYTHON=${{ matrix.python }}\n          file: ./coverage.xml\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "cookiecutter/cookiecutter"}
{"mined_at": "2024-07-15T13:49:43.816081", "created_at": "2022-06-07T10:18:43+02:00", "updated_at": "2022-06-07T10:37:47+02:00", "name": "Release Drafter", "path": ".github/workflows/drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - master\n  # autolabeler\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v6\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "cookiecutter/cookiecutter"}
{"mined_at": "2024-07-15T13:49:47.221282", "created_at": "2019-12-19T05:24:59+01:00", "updated_at": "2020-01-14T12:49:48+01:00", "name": "Tests", "path": ".github/workflows/run_tests.yml", "contents": "name: Tests\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', 'pypy-2.7', 'pypy-3.6', 'pypy-3.7']\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: .github/workflows/install-deps.sh\n    - name: Run tests\n      run: pytest\n", "state": "active", "repository": "bottlepy/bottle"}
{"mined_at": "2024-07-15T13:49:49.330845", "created_at": "2021-05-16T03:22:10+02:00", "updated_at": "2021-05-16T03:22:10+02:00", "name": "CD: PyPI", "path": ".github/workflows/cd-pypi.yml", "contents": "name: \"CD: PyPI\"\non:\n  release:\n    types: [created]\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        python: [3.9]\n    steps:\n      - name: \"[INIT] Checkout repository\"\n        uses: actions/checkout@v2\n      - name: \"[INIT] Install Python ${{ matrix.python }}\"\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: \"[INIT] Install Poetry\"\n        uses: snok/install-poetry@v1.3\n      - name: \"[INIT] Restore dependency cache\"\n        id: cache-restore\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/.cache/pip\n            ~/.cache/pypoetry\n          key: ${{ runner.os }}-py${{ matrix.python }}-${{ hashFiles('**/poetry.lock') }}\n      - name: \"[INIT] Install dependencies\"\n        if: ${{ !steps.cache-restore.outputs.cache-hit }}\n        run: pip install poetry && poetry install\n      - name: \"[EXEC] Build\"\n        run: poetry build\n      - name: \"[EXEC] Publish to PyPI\"\n        run: poetry run twine upload dist/*\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USER }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASS }}\n", "state": "active", "repository": "amperser/proselint"}
{"mined_at": "2024-07-15T13:49:50.477224", "created_at": "2021-05-16T03:22:10+02:00", "updated_at": "2021-05-16T03:22:10+02:00", "name": "CD: Site", "path": ".github/workflows/cd-site.yml", "contents": "name: \"CD: Site\"\non:\n  release:\n    types: [created]\njobs:\n  build-site:\n    name: Build Site\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        python: [3.9]\n        ruby: [3.0.0]\n    steps:\n      - name: \"[INIT] Checkout repository\"\n        uses: actions/checkout@v2\n      - name: \"[INIT] Install Python ${{ matrix.python }}\"\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: \"[INIT] Install Ruby ${{ matrix.ruby }}\"\n        uses: ruby/setup-ruby@v1.95.0\n        with:\n          ruby-version: ${{ matrix.ruby }}\n          bundler-cache: true\n      - name: \"[EXEC] Insert demo\"\n        run: python scripts/insert_demo.py\n      - name: \"[EXEC] Build site\"\n        run: cd site && ~/.gem/ruby/${{ matrix.ruby }}/jekyll build\n      - name: \"[EXEC] Push to s3\"\n        run: s3_website push\n      - name: \"[POST] Verify crawl\"\n        run: |\n          cd ..\n          wget --spider -e robots=off -w 1 -r -p https://www.proselint.com\n", "state": "active", "repository": "amperser/proselint"}
{"mined_at": "2024-07-15T13:49:51.533166", "created_at": "2021-05-16T03:22:10+02:00", "updated_at": "2021-05-16T03:22:10+02:00", "name": "CI: Danger", "path": ".github/workflows/ci-danger.yml", "contents": "name: \"CI: Danger\"\non: [pull_request]\njobs:\n  danger:\n    name: Danger\n    if: \"!(contains(github.event.head_commit.message, '[skip_ci]'))\"\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        ruby: [3.0.0]\n    steps:\n      - name: \"[INIT] Checkout repository\"\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: \"[INIT] Install Ruby ${{ matrix.ruby }}\"\n        uses: ruby/setup-ruby@v1.95.0\n        with:\n          ruby-version: ${{ matrix.ruby }}\n          bundler-cache: true\n      - name: \"[EXEC] Run Danger\"\n        run: bundle exec danger\n        env:\n          DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "amperser/proselint"}
{"mined_at": "2024-07-15T13:49:52.535337", "created_at": "2021-05-19T03:39:40+02:00", "updated_at": "2021-05-19T03:39:40+02:00", "name": "CI: Synchronize Labels", "path": ".github/workflows/ci-label.yml", "contents": "name: \"CI: Synchronize Labels\"\non:\n  push:\n    branches:\n      - \"master\"\n    paths:\n      - \".github/labels.yml\"\n      - \".github/workflows/ci-label.yml\"\njobs:\n  labeler:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"[INIT] Checkout repository\"\n        uses: actions/checkout@v2\n      - name: \"[EXEC] Synchronize labels\"\n        uses: crazy-max/ghaction-github-labeler@v3\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "amperser/proselint"}
{"mined_at": "2024-07-15T13:49:53.554814", "created_at": "2021-05-16T03:22:10+02:00", "updated_at": "2021-07-18T22:59:35+02:00", "name": "CI: Lint & Test", "path": ".github/workflows/ci-lint-test.yml", "contents": "name: \"CI: Lint & Test\"\non: [push, pull_request]\njobs:\n  lint:\n    name: Lint\n    if: \"!(contains(github.event.head_commit.message, '[skip_ci]'))\"\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n    steps:\n      - name: \"[INIT] Checkout repository\"\n        uses: actions/checkout@v3\n      - name: \"[INIT] Install Python ${{ matrix.python }}\"\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: \"[INIT] Install Poetry\"\n        uses: snok/install-poetry@v1.3\n      - name: \"[INIT] Restore dependency cache\"\n        id: cache-restore\n        uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            ~/.cache/pypoetry\n          key: ${{ runner.os }}-py${{ matrix.python }}-${{ hashFiles('**/poetry.lock') }}\n      - name: \"[INIT] Install dependencies\"\n        if: ${{ !steps.cache-restore.outputs.cache-hit }}\n        run: pip install poetry && poetry install\n      - name: \"[EXEC] Lint\"\n        run: ./utils ci lint\n  test-cover:\n    name: Test & Cover\n    if: \"!(contains(github.event.head_commit.message, '[skip_ci]'))\"\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"pypy3.9\", \"pypy3.10\"]\n        os: [ubuntu-22.04, macos-12, windows-2022]\n    steps:\n      - name: \"[INIT] Checkout repository\"\n        uses: actions/checkout@v3\n      - name: \"[INIT] Install Python ${{ matrix.python }}\"\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: \"[INIT] Install Poetry\"\n        uses: snok/install-poetry@v1.3\n      - name: \"[INIT] Restore dependency cache\"\n        id: cache-restore\n        uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            ~/.cache/pypoetry\n          key: ${{ runner.os }}-py${{ matrix.python }}-${{ hashFiles('**/poetry.lock') }}\n      - name: \"[INIT] Install dependencies\"\n        if: ${{ !steps.cache-restore.outputs.cache-hit }}\n        run: pip install poetry && poetry install\n      - name: \"[EXEC] Test\"\n        run: ./utils ci test --coverage\n      - name: \"[EXEC] Upload coverage to Codecov\"\n        uses: codecov/codecov-action@v3\n        with:\n          fail_ci_if_error: true\n          flags: ${{ matrix.os }},py${{ matrix.python }}\n", "state": "active", "repository": "amperser/proselint"}
{"mined_at": "2024-07-15T13:49:55.621556", "created_at": "2023-03-20T17:41:46+01:00", "updated_at": "2023-08-06T00:15:43+02:00", "name": "CI Coverage for PR", "path": ".github/workflows/coverage.yml", "contents": "name: CI Coverage for PR\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - synchronize\n  pull_request:\n    types:\n      - opened\n      - synchronize\n\njobs:\n  coverage:\n    env:\n      PY_VER: ''\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Setup\n      run: |\n        sudo apt-get -qq update\n        sudo apt-get -qq install -y gdb-multiarch python3-dev python3-pip python3-wheel python3-setuptools git cmake gcc g++ pkg-config libglib2.0-dev gdbserver qemu-user curl\n        sudo python3 -m pip install --upgrade pip --quiet\n    - name: Run test coverage\n      id: get_coverage\n      env:\n        ALLOWED_MARGIN: 0.01\n        MIN_COVERAGE: 70\n      run: |\n        echo PY_VER=`gdb -q -nx -ex \"pi print('.'.join(map(str, sys.version_info[:2])))\" -ex quit` >> $GITHUB_ENV\n        echo GEF_CI_NB_CPU=`grep -c ^processor /proc/cpuinfo` >> $GITHUB_ENV\n        echo GEF_CI_ARCH=`uname --processor` >> $GITHUB_ENV\n        python${{ env.PY_VER }} -m pip install --user --upgrade -r tests/requirements.txt --quiet\n        current_score=$(curl --silent https://hugsy.github.io/gef/coverage/gef_py.html | grep pc_cov | sed 's?.*<span class=\"pc_cov\">\\([^%]*\\)%</span>?\\1?g')\n        bash scripts/generate-coverage-docs.sh\n        new_score=$(cat docs/coverage/gef_py.html | grep pc_cov | sed 's?.*<span class=\"pc_cov\">\\([^%]*\\)%</span>?\\1?g')\n        score_diff=$(python -c \"print(f'{${new_score} - ${current_score}:.04f}')\")\n        echo \"new_score=${new_score}\" >> $GITHUB_OUTPUT\n        echo \"current_score=${current_score}\" >> $GITHUB_OUTPUT\n        echo \"score_diff=${score_diff}\" >> $GITHUB_OUTPUT\n\n    - name: Post comment\n      uses: actions/github-script@v7\n      with:\n        script: |\n          const old_score   = ${{ steps.get_coverage.outputs.current_score }};\n          const new_score   = ${{ steps.get_coverage.outputs.new_score }};\n          const score_diff  = ${{ steps.get_coverage.outputs.score_diff }};\n          const comment = `## 🤖 Coverage update for ${{ github.event.pull_request.head.sha }} ${(score_diff >= 0) ? \"🟢\" : \"🔴\"}\n\n          |        | Old | New |\n          |--------|-----|-----|\n          | Commit | ${{ github.event.pull_request.base.sha }} | ${{ github.event.pull_request.head.sha }} |\n          | Score  | ${old_score}% | ${new_score}% (${score_diff}) |\n          `;\n\n          try {\n            const { owner, repo, number } = context.issue;\n            await github.rest.issues.createComment({ owner, repo, issue_number: number, body: comment });\n          } catch (err) { console.log(err); }\n", "state": "active", "repository": "hugsy/gef"}
{"mined_at": "2024-07-15T13:49:56.701688", "created_at": "2022-06-13T22:37:39+02:00", "updated_at": "2022-06-14T04:58:48+02:00", "name": "Generate GithubPages", "path": ".github/workflows/generate-docs.yml", "contents": "name: Generate GithubPages\n\non:\n\n  workflow_dispatch:\n\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    if: github.event.repository.fork == false\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install pre-requisite\n        run: |\n          sudo apt update\n          sudo apt install gdb-multiarch python3 python3-dev python3-wheel python3-setuptools git cmake gcc g++ pkg-config libglib2.0-dev gdbserver qemu-user  -y\n          version=$(gdb -q -nx -ex 'pi print(f\"{sys.version_info.major}.{sys.version_info.minor}\", end=\"\")' -ex quit)\n          python${version} -m pip install --requirement docs/requirements.txt --upgrade\n          python${version} -m pip install --requirement tests/requirements.txt --upgrade\n      - name: Regenerate GEF API file\n        run: |\n          echo \"source $(pwd)/gef.py\" > ~/.gdbinit\n          bash scripts/generate-api-docs.sh\n          bash scripts/generate-settings-docs.sh\n          bash scripts/generate-coverage-docs.sh\n      - name: Build and publish the docs\n        run: |\n          git config --global user.name \"hugsy\"\n          git config --global user.email \"hugsy@users.noreply.github.com\"\n          mkdocs gh-deploy --force\n", "state": "active", "repository": "hugsy/gef"}
{"mined_at": "2024-07-15T13:49:57.723993", "created_at": "2023-08-02T19:25:36+02:00", "updated_at": "2023-08-06T18:26:46+02:00", "name": "Notifications", "path": ".github/workflows/notify.yml", "contents": "name: \"Notifications\"\n\non:\n  issues:\n      types:\n      - opened\n      - reopened\n  push:\n    branches:\n      - main\n\n  pull_request:\n    types:\n      - opened\n      - closed\n    branches:\n      - main\n\nenv:\n  DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}\n\njobs:\n  discord:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Notify/Push\n        if: github.event_name == 'push' && github.repository_owner == 'hugsy'\n        uses: sarisia/actions-status-discord@v1.12\n        with:\n          nodetail: true\n          title: \"[${{ github.repository }}] ${{ github.actor }} pushed to `${{ github.ref_name }}`\"\n          description: |\n            **Commits**:\n              ● ${{ join(github.event.commits.*.message, '\n              ● ') }}\n            ---\n            [Open Diff View](${{ github.event.compare }})\n          color: 0x00ff00\n          username: ${{ github.actor }} via GithubBot\n          avatar_url: ${{ github.actor.avatar_url }}\n\n      - name: Notify/Pull Request\n        if: github.event_name == 'pull_request'\n        uses: sarisia/actions-status-discord@v1.12\n        with:\n          nodetail: true\n          title: \"[${{ github.repository }}] ${{ github.actor }} ${{ github.event.action }} PR #${{ github.event.pull_request.number }}\"\n          description: |\n            **Title**: ${{ github.event.pull_request.title }}\n            ---\n            [Goto PR](${{ github.event.pull_request.html_url }})\n          color: 0x0000ff\n          username: ${{ github.actor }} via GithubBot\n          avatar_url: ${{ github.actor.avatar_url }}\n\n      - name: Notify/Issue\n        if: github.event_name == 'issues' &&  github.repository_owner == 'hugsy'\n        uses: sarisia/actions-status-discord@v1.12\n        with:\n          nodetail: true\n          title: \"[${{ github.repository }}] ${{ github.actor }} ${{ github.event.action}} issue #${{ github.event.issue.number }}\"\n          description: |\n            **Title**: ${{ github.event.issue.title }}\n            ---\n            [Goto issue](${{ github.event.issue.html_url }})\n          color: 0xff0000\n          username: ${{ github.actor }} via GithubBot\n          avatar_url: ${{ github.actor.avatar_url }}\n", "state": "active", "repository": "hugsy/gef"}
{"mined_at": "2024-07-15T13:49:58.774328", "created_at": "2020-12-10T20:46:32+01:00", "updated_at": "2021-06-26T18:00:37+02:00", "name": "CI Test for GEF", "path": ".github/workflows/run-tests.yml", "contents": "name: CI Test for GEF\n\non:\n  push:\n    branches:\n      - main\n\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-22.04\n          - ubuntu-20.04\n    name: \"Run Unit tests on ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Install python and toolchain\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y gdb-multiarch python3-dev python3-pip python3-wheel python3-setuptools git cmake gcc g++ pkg-config libglib2.0-dev gdbserver qemu-user\n        sudo python3 -m pip install --upgrade pip\n\n    - name: Set runtime environment variables\n      run: |\n        echo PY_VER=`gdb -q -nx -ex \"pi print('.'.join(map(str, sys.version_info[:2])))\" -ex quit` >> $GITHUB_ENV\n        echo GEF_CI_NB_CPU=`grep -c ^processor /proc/cpuinfo` >> $GITHUB_ENV\n        echo GEF_CI_ARCH=`uname --processor` >> $GITHUB_ENV\n        echo GEF_CI_CACHE_DIR=`python3 -m pip cache dir` >> $GITHUB_ENV\n\n    - name: Cache dependencies\n      uses: actions/cache@v3\n      id: cache-deps\n      env:\n        cache-name: cache-deps\n      with:\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        path: ${{ env.GEF_CI_CACHE_DIR }}\n        restore-keys:\n          ${{ runner.os }}-pip-${{ env.cache-name }}-\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-${{ env.cache-name }}-\n          ${{ runner.os }}-\n\n    - name: Install Python Requirements\n      run: |\n        mkdir -p ${{ env.GEF_CI_CACHE_DIR }}\n        python${{ env.PY_VER }} -m pip install --user --upgrade -r tests/requirements.txt\n\n    - name: Setup GEF\n      run: |\n        echo \"source $(pwd)/gef.py\" > ~/.gdbinit\n        gdb -q -ex 'gef missing' -ex 'gef help' -ex 'gef config' -ex start -ex continue -ex quit /bin/pwd\n\n    - name: Run Tests\n      run: |\n        make -C tests/binaries -j ${{ env.GEF_CI_NB_CPU }}\n        python${{ env.PY_VER }} -m pytest --forked -n ${{ env.GEF_CI_NB_CPU }} -v -m \"not benchmark\" tests/\n", "state": "active", "repository": "hugsy/gef"}
{"mined_at": "2024-07-15T13:49:59.807744", "created_at": "2023-08-07T02:40:50+02:00", "updated_at": "2023-08-08T01:36:37+02:00", "name": "Validation", "path": ".github/workflows/validate.yml", "contents": "name: Validation\n\non:\n  pull_request:\n    branches:\n      - main\n\njobs:\n  pre_commit:\n    name: Check formatting\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v5.1.0\n      with:\n        python-version: \"3.8\"\n    - uses: pre-commit/action@v3.0.1\n\n  docs_link_check:\n    name: Check URLs in docs\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4.1.6\n      - name: Check links\n        uses: lycheeverse/lychee-action@v1.10.0\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        with:\n          args: --exclude-mail --accept=401 --no-progress --exclude 'https://cs.github.com/hugsy/gef\\?q=.*' 'docs/**/*.md'\n          fail: false\n", "state": "active", "repository": "hugsy/gef"}
{"mined_at": "2024-07-15T13:50:00.853097", "created_at": "2022-06-13T22:39:37+02:00", "updated_at": "2022-06-13T22:39:37+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "hugsy/gef"}
{"mined_at": "2024-07-15T13:50:04.522487", "created_at": "2020-10-09T04:04:55+02:00", "updated_at": "2020-10-09T04:04:55+02:00", "name": "Build PDF of Docs", "path": ".github/workflows/pdf.yml", "contents": "name: Build PDF of Docs\n\non:\n  push:\n    branches: [master]\n    tags:\n      - 'v*'\n  pull_request:\n\njobs:\n\n  pdfhtml:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: \"pip\"\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n        pip install -e .[sphinx,pdfhtml]\n    - name: Install Headless Chrome dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -yq $(cat .github/workflows/pyppeteer_reqs.txt)\n    - name: Install Chromium\n      run: |\n        pyppeteer-install\n    - name: Build PDF from HTML (Docs)\n      run: |\n        jb build docs --builder pdfhtml -n -W --keep-going\n    - uses: actions/upload-artifact@v3\n      with:\n        name: PDF_HTML\n        path: docs/_build/pdf/book.pdf\n\n  pdflatex:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: \"pip\"\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n        pip install -e .[sphinx,pdflatex]\n    - name: Install latex dependencies\n      run: |\n        sudo apt-get -qq update\n        sudo apt-get install -y     \\\n          texlive-latex-recommended \\\n          texlive-latex-extra       \\\n          texlive-fonts-extra       \\\n          fonts-freefont-otf        \\\n          texlive-xetex             \\\n          latexmk                   \\\n          xindy\n\n    - name: Build PDF from LaTeX (Docs)\n      run: |\n        jb build docs --builder pdflatex -n -W --keep-going\n    - uses: actions/upload-artifact@v3\n      with:\n        name: PDF_LATEX\n        path: docs/_build/latex/book.pdf\n", "state": "active", "repository": "executablebooks/jupyter-book"}
{"mined_at": "2024-07-15T13:50:05.790555", "created_at": "2022-11-23T10:50:32+01:00", "updated_at": "2022-11-23T10:50:32+01:00", "name": "Publish to PyPI", "path": ".github/workflows/publish.yml", "contents": "# This will run every time a tag is created and pushed to the repository.\n# It calls our tests workflow via a `workflow_call`, and if tests pass\n# then it triggers our upload to PyPI for a new release.\nname: Publish to PyPI\non:\n  release:\n    types: [\"published\"]\n\njobs:\n  tests:\n    uses: ./.github/workflows/tests.yml\n  publish:\n    name: publish\n    needs: [tests] # require tests to pass before deploy runs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install flit\n        run: |\n          pip install flit~=3.6\n\n      - name: Build and publish\n        run: |\n          flit publish\n        env:\n          FLIT_USERNAME: __token__\n          FLIT_PASSWORD: ${{ secrets.PYPI_KEY }}\n", "state": "active", "repository": "executablebooks/jupyter-book"}
{"mined_at": "2024-07-15T13:50:07.145498", "created_at": "2022-05-05T05:10:46+02:00", "updated_at": "2022-05-05T05:10:46+02:00", "name": "scheduled-tests", "path": ".github/workflows/scheduled_tests.yml", "contents": "name: scheduled-tests\n\non:\n  schedule:\n    # Run at the beginning of each day\n    - cron:  '0 0 * * *'\n\njobs:\n\n  tests-windows:\n    name: Run tests and build docs on Windows\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        # Using the default python in the Windows 2022 github actions runner\n        # ref: https://github.com/actions/virtual-environments/issues/4856\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: \"pip\"\n    - uses: actions/cache@v4\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.python-version }}-pip-\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n        pip install --upgrade-strategy eager -e .[testing,sphinx]\n\n    - name: Run pytest\n      run: pytest --durations=10 -m 'not requires_chrome and not requires_tex' --jb-tempdir local_path\n\n    - name: Build the book\n      run: |\n        jb build -W -n --keep-going --builder html docs/\n\n  osx:\n    name: Run Tests on OS X\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: \"pip\"\n    - uses: actions/cache@v4\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.python-version }}-pip-\n    # Install libmagic to avoid a flaky Fonts error with matplotlib\n    # ref: https://stackoverflow.com/questions/62279920/python-macos-error-unable-to-revert-mtime-library-fonts\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n        pip install --upgrade-strategy eager -e .[testing,sphinx]\n        brew install libmagic\n\n    - name: Run Pytest\n      run: |\n        pytest --durations=10 -m 'not requires_chrome and not requires_tex' --jb-tempdir local_path\n\n    - name: Build the book\n      run: |\n        jb build -W -n --keep-going --builder html docs/\n", "state": "active", "repository": "executablebooks/jupyter-book"}
{"mined_at": "2024-07-15T13:50:08.498565", "created_at": "2020-04-28T22:17:25+02:00", "updated_at": "2020-04-28T22:17:25+02:00", "name": "continuous-integration", "path": ".github/workflows/tests.yml", "contents": "name: continuous-integration\n\non:\n  push:\n    branches: [master]\n    tags:\n      - 'v*'\n  pull_request:\n  workflow_call:\n\nenv:\n  # Force colors for logs\n  PY_COLORS: 1\n  FORCE_COLOR: True\n\njobs:\n\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - uses: pre-commit/action@v3.0.0\n\n  # for speed, we run a test matrix against only the tests that do not require TeX,\n  # then test-with-cov for all tests, for a single environment\n\n  test-with-cov:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: \"pip\"\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n        pip install -e .[testing]\n\n    - name: Install Headless Chrome dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -yq $(cat .github/workflows/pyppeteer_reqs.txt)\n\n    - name: Install latex dependencies\n      run: |\n        sudo apt-get -qq update\n        sudo apt-get install -y   \\\n          texlive                 \\\n          texlive-xetex           \\\n          texlive-latex-extra     \\\n          texlive-fonts-extra     \\\n          fonts-freefont-otf      \\\n          latexmk                 \\\n          xindy\n\n    - name: Run pytest\n      run: |\n        pytest --durations=10 --cov=jupyter_book --cov-report=xml --cov-report=term-missing\n        coverage xml\n      # for some reason the tests/conftest.py::check_nbs fixture breaks pytest-cov's cov-report outputting\n      # this is why we run `coverage xml` afterwards (required by codecov)\n\n    - name: Upload to Codecov\n      if: github.repository == 'executablebooks/jupyter-book'\n      uses: codecov/codecov-action@v3.1.4\n      with:\n        name: ebp-jupyter-book-pytests-py3.9\n        flags: pytests\n        file: ./coverage.xml\n        fail_ci_if_error: true\n\n  tests:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        # We support sphinx>=5,<8, but docutils compatibility of sphinxcontrib-bibtex requires\n        # that we do not test sphinx==6.\n        sphinx: [\"==5.*\", \"==7.*\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n        pip install -e .[testing] \"sphinx${{ matrix.sphinx }}\"\n\n    - name: Install Headless Chrome dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -yq $(cat .github/workflows/pyppeteer_reqs.txt)\n\n    - name: Run pytest\n      run: pytest --durations=10 -m 'not requires_tex'\n", "state": "active", "repository": "executablebooks/jupyter-book"}
{"mined_at": "2024-07-15T13:50:10.565546", "created_at": "2023-12-16T22:47:10+01:00", "updated_at": "2023-12-21T10:38:16+01:00", "name": "CIFuzz", "path": ".github/workflows/cifuzz.yml", "contents": "name: CIFuzz\non: [pull_request]\npermissions: {}\njobs:\n  Fuzzing:\n    runs-on: ubuntu-latest\n    permissions:\n      security-events: write\n    steps:\n    - name: Build Fuzzers\n      id: build\n      uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master\n      with:\n        oss-fuzz-project-name: 'dateparser'\n        language: python\n    - name: Run Fuzzers\n      uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master\n      with:\n        oss-fuzz-project-name: 'dateparser'\n        language: python\n        fuzz-seconds: 600\n        output-sarif: true\n    - name: Upload Crash\n      uses: actions/upload-artifact@v3\n      if: failure() && steps.build.outcome == 'success'\n      with:\n        name: artifacts\n        path: ./out/artifacts\n    - name: Upload Sarif\n      if: always() && steps.build.outcome == 'success'\n      uses: github/codeql-action/upload-sarif@v2\n      with:\n        # Path to SARIF file relative to the root of the repository\n        sarif_file: cifuzz-sarif/results.sarif\n        checkout_path: cifuzz-sarif\n", "state": "active", "repository": "scrapinghub/dateparser"}
{"mined_at": "2024-07-15T13:50:11.554637", "created_at": "2021-02-09T09:04:01+01:00", "updated_at": "2021-02-09T09:04:01+01:00", "name": "Build", "path": ".github/workflows/main.yml", "contents": "name: Build\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: 3.8\n            env:\n              TOXENV: flake8\n          - python-version: 3.7\n            env:\n              TOXENV: py\n          - python-version: 3.8\n            env:\n              TOXENV: py\n          - python-version: 3.9\n            env:\n              TOXENV: py\n          - python-version: \"3.10\"\n            env:\n              TOXENV: py\n          - python-version: \"3.10\"\n            env:\n              TOXENV: latest\n          - python-version: \"3.11\"\n            env:\n              TOXENV: py\n          - python-version: \"3.11\"\n            env:\n              TOXENV: latest\n          - python-version: \"3.11\"\n            env:\n              TOXENV: twinecheck\n          - python-version: \"3.11\"  # Keep in sync with tox.ini\n            env:\n              TOXENV: docs\n    steps:\n      - uses: actions/checkout@v3\n      - name: 'Set up Python ${{ matrix.python-version }}'\n        uses: actions/setup-python@v4\n        with:\n          python-version: '${{ matrix.python-version }}'\n      - name: Install language-pack-fr\n        run: sudo apt-get update && sudo apt-get install language-pack-fr\n      - name: Install python dependencies\n        run: pip install tox\n      - name: tox\n        run: tox -e py\n      - name: Upload coverage.xml to codecov\n        if: ${{ matrix.python-version == '3.9' && matrix.env.TOXENV == 'latest'}}\n        uses: codecov/codecov-action@v3\n\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "scrapinghub/dateparser"}
{"mined_at": "2024-07-15T13:50:12.694405", "created_at": "2021-10-04T10:12:08+02:00", "updated_at": "2021-10-04T10:12:08+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "scrapinghub/dateparser"}
{"mined_at": "2024-07-15T13:50:13.804128", "created_at": "2024-04-23T12:28:50+02:00", "updated_at": "2024-04-23T12:28:50+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "scrapinghub/dateparser"}
{"mined_at": "2024-07-15T13:50:15.945117", "created_at": "2021-05-04T15:58:48+02:00", "updated_at": "2021-06-15T19:57:35+02:00", "name": "Build and Test", "path": ".github/workflows/build-test.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support documentation.\n# This workflow will do a clean install of python dependencies, build the source code and run tests across different versions of python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Build and Test\n\non:\n  push:\n    branches: [ '**' ]\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  build_test:\n    name: Build on Python ${{ matrix.python-version }} using ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.10', '3.11']\n        os: [ubuntu-latest, windows-latest]\n        exclude:\n          - os: windows-latest\n            python-version: '3.9'\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies (ubuntu)\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        pip3 install -r requirements.txt\n        pip3 install -r requirements-dev.txt\n        pip3 install --editable .\n    - name: Install dependencies (windows)\n      if: matrix.os == 'windows-latest'\n      run: |\n        pip3 install -r requirements.txt --use-deprecated=legacy-resolver\n        pip3 install -r requirements-dev.txt --use-deprecated=legacy-resolver\n        pip3 install --editable . --use-deprecated=legacy-resolver\n    - name: Execute Python 3.9 unit tests\n      if: matrix.python-version == '3.9'\n      run: |\n        pip3 install -U python-dotenv\n        py.test test/unit\n    - name: Execute Python 3.10 unit tests (windows)\n      if: matrix.python-version == '3.10' && matrix.os == 'windows-latest'\n      run: |\n        pip3 install -U python-dotenv\n        py.test test/unit --reruns 3\n    - name: Execute Python 3.10 unit tests (ubuntu)\n      if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'\n      run: |\n        pip3 install -U python-dotenv\n        py.test test/unit --reruns 3 --cov=ibm_watson\n    - name: Execute Python 3.11 unit tests (windows)\n      if: matrix.python-version == '3.11' && matrix.os == 'windows-latest'\n      run: |\n        pip3 install -U python-dotenv\n        py.test test/unit --reruns 3\n    - name: Execute Python 3.11 unit tests (ubuntu)\n      if: matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest'\n      run: |\n        pip3 install -U python-dotenv\n        py.test test/unit --reruns 3\n    - name: Upload coverage to Codecov\n      if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'\n      uses: codecov/codecov-action@v1\n      with:\n        name: py${{ matrix.python-version }}-${{ matrix.os }}\n", "state": "active", "repository": "watson-developer-cloud/python-sdk"}
{"mined_at": "2024-07-15T13:50:17.286068", "created_at": "2021-05-11T21:30:20+02:00", "updated_at": "2024-05-15T20:51:53+02:00", "name": "Deploy and Publish", "path": ".github/workflows/deploy.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support documentation.\n# This workflow will download a prebuilt Python version, install dependencies, build and deploy/publish a new release\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Deploy and Publish\n\non:\n  workflow_run:\n    workflows: [\"Build and Test\"]\n    branches: [ master ]\n    types:\n      - completed\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  deploy:\n    if: \"!contains(github.event.head_commit.message, 'skip ci')\"\n    name: Deploy and Publish\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        persist-credentials: false\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.11'\n\n    - name: Setup Node\n      uses: actions/setup-node@v2\n      with:\n        node-version: 20\n\n    - name: Install Semantic Release dependencies\n      run: |\n        sudo apt-get install bumpversion\n        npm install -g semantic-release\n        npm install -g @semantic-release/changelog\n        npm install -g @semantic-release/exec\n        npm install -g @semantic-release/git\n        npm install -g @semantic-release/github\n        npm install -g @semantic-release/commit-analyzer\n        npm install -g @semantic-release/release-notes-generator\n\n    - name: Publish js docs\n      if: ${{ github.event.workflow_run.conclusion == 'success' }}\n      env:\n        GH_TOKEN: ${{ secrets.GH_TOKEN }}\n        GHA_BRANCH: ${{ github.ref }} # non PR only need to get last part\n        GHA_COMMIT: ${{ github.sha }}\n      run: |\n        sudo apt-get install python3-sphinx\n        docs/publish_gha.sh\n\n    - name: Publish to Git Releases and Tags\n      if: ${{ github.event.workflow_run.conclusion == 'success' }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}\n        NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n      run: npx semantic-release #--dry-run --branches 9388_gha Uncomment for testxing purposes\n\n    - name: Build binary wheel and a source tarball\n      run: |\n        pip3 install setuptools wheel twine build\n        python -m build --sdist --outdir dist/\n\n    - name: Publish distribution to Test PyPI\n      continue-on-error: true\n      uses: pypa/gh-action-pypi-publish@v1.4.2 # Try to update version tag every release\n      with:\n        password: ${{ secrets.PYPI_TOKEN }}\n        repository_url: https://upload.pypi.org/legacy/ # This must be changed if testing deploys to test.pypi.org\n", "state": "disabled_manually", "repository": "watson-developer-cloud/python-sdk"}
{"mined_at": "2024-07-15T13:50:18.959162", "created_at": "2021-11-09T20:07:36+01:00", "updated_at": "2021-11-17T18:53:12+01:00", "name": "Run Integration Tests", "path": ".github/workflows/integration-test.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support documentation.\n# This workflow will download a prebuilt Python version, install dependencies and run integration tests\n\nname: Run Integration Tests\n\non:\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  integration_test:\n    name: Build and Run Integration Tests on Python ${{ matrix.python-version }} and ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n        os: [ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Python dependencies (ubuntu)\n        run: |\n          pip3 install -r requirements.txt\n          pip3 install -r requirements-dev.txt\n          pip3 install --editable .\n\n      - name: Execute Python integration tests\n        # continue-on-error: true\n        env:\n          LANGUAGE_TRANSLATOR_APIKEY: ${{ secrets.LT_APIKEY }}\n          LANGUAGE_TRANSLATOR_URL: \"https://api.us-south.language-translator.watson.cloud.ibm.com\"\n          NATURAL_LANGUAGE_UNDERSTANDING_APIKEY: ${{ secrets.NLU_APIKEY }}\n          NATURAL_LANGUAGE_UNDERSTANDING_URL: \"https://api.us-south.natural-language-understanding.watson.cloud.ibm.com\"\n          SPEECH_TO_TEXT_APIKEY: ${{ secrets.STT_APIKEY }}\n          SPEECH_TO_TEXT_URL: \"https://api.us-south.speech-to-text.watson.cloud.ibm.com\"\n          TEXT_TO_SPEECH_APIKEY: ${{ secrets.TTS_APIKEY }}\n          TEXT_TO_SPEECH_URL: \"https://api.us-south.text-to-speech.watson.cloud.ibm.com\"\n          ASSISTANT_APIKEY: ${{ secrets.WA_APIKEY }}\n          ASSISTANT_WORKSPACE_ID: ${{ secrets.WA_WORKSPACE_ID }}\n          ASSISTANT_ASSISTANT_ID: ${{ secrets.WA_ASSISTANT_ID }}\n          ASSISTANT_URL: \"https://api.us-south.assistant.watson.cloud.ibm.com\"\n          DISCOVERY_APIKEY: ${{ secrets.D1_APIKEY }}\n          DISCOVERY_ENVIRONMENT_ID: ${{ secrets.D1_ENVIRONMENT_ID }}\n          DISCOVERY_COLLECTION_ID: ${{ secrets.D1_COLLECTION_ID }}\n          DISCOVERY_URL: \"https://api.us-south.discovery.watson.cloud.ibm.com\"\n          DISCOVERY_V2_APIKEY: ${{ secrets.D2_APIKEY }}\n          DISCOVERY_V2_PROJECT_ID: ${{ secrets.D2_PROJECT_ID }}\n          DISCOVERY_V2_COLLECTION_ID: ${{ secrets.D2_COLLECTION_ID }}\n          DISCOVERY_V2_URL: \"https://api.us-south.discovery.watson.cloud.ibm.com\"\n        run: |\n          pip3 install -U python-dotenv\n          pytest test/integration/test_assistant_v1.py -rap\n          pytest test/integration/test_discovery_v1.py -rap\n          pytest test/integration/test_discovery_v2.py -rap\n          pytest test/integration/test_language_translator_v3.py -rap\n          pytest test/integration/test_natural_language_understanding_v1.py -rap\n          pytest test/integration/test_speech_to_text_v1.py -rap\n          pytest test/integration/test_text_to_speech_v1.py -rap\n\n        # Do not notify on success.  We will leave the code here just in case we decide to switch gears\n      - name: Notify slack on success\n        if: false # success()\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}\n        uses: voxmedia/github-action-slack-notify-build@v1\n        with:\n          channel: watson-e2e-tests\n          status: SUCCESS\n          color: good\n\n      - name: Notify slack on failure\n        if: false # failure()\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}\n        uses: voxmedia/github-action-slack-notify-build@v1\n        with:\n          channel: watson-e2e-tests\n          status: FAILED\n          color: danger\n", "state": "active", "repository": "watson-developer-cloud/python-sdk"}
{"mined_at": "2024-07-15T13:50:21.330900", "created_at": "2020-01-10T20:54:04+01:00", "updated_at": "2020-01-10T20:54:04+01:00", "name": "CI", "path": "", "contents": null, "state": "active", "repository": "ironlanguages/ironpython3"}
{"mined_at": "2024-07-15T13:50:22.425255", "created_at": "2019-12-19T16:18:18+01:00", "updated_at": "2019-12-19T16:18:18+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, ubuntu-latest, macos-latest]\n\n    steps:\n    - name: Install tools\n      if: matrix.os == 'ubuntu-latest'\n      run: sudo apt-get -yq install mono-vbnc dos2unix\n    - uses: actions/checkout@v2\n      with:\n        submodules: true\n    - name: Setup .NET Core 3.1\n      uses: actions/setup-dotnet@v1\n      with:\n        dotnet-version: '3.1.x'\n    - name: Setup .NET 6.0\n      uses: actions/setup-dotnet@v1\n      with:\n        dotnet-version: '6.0.x'\n    - name: Setup .NET 7.0\n      uses: actions/setup-dotnet@v1\n      with:\n        dotnet-version: '7.0.x'\n    - name: Version Information\n      run: |\n        dotnet --info\n        try { msbuild -version } catch { }\n        try { mono --version } catch { }\n      shell: pwsh\n    - name: Build\n      run: pwsh make.ps1\n    - name: Package\n      run: pwsh make.ps1 package\n    - uses: actions/upload-artifact@v2\n      with:\n        name: packages\n        path: Package/Release/Packages\n    - name: Test (net462)\n      run: ./make.ps1 -frameworks net462 test-all\n      shell: pwsh\n    - name: Test (netcoreapp3.1)\n      run: ./make.ps1 -frameworks netcoreapp3.1 test-all\n      shell: pwsh\n    - name: Test (net6.0)\n      run: ./make.ps1 -frameworks net6.0 test-all\n      shell: pwsh\n    - name: Test (net7.0)\n      run: ./make.ps1 -frameworks net7.0 test-all\n      shell: pwsh\n", "state": "active", "repository": "ironlanguages/ironpython3"}
{"mined_at": "2024-07-15T13:50:24.506382", "created_at": "2023-04-21T12:46:12+02:00", "updated_at": "2023-04-21T12:46:12+02:00", "name": "Benchmarks", "path": ".github/workflows/benchmark.yml", "contents": "name: Benchmarks\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - benchmark-**\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 1\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        ref: main\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n        pip install -e .[asgi-file-uploads,tracing,telemetry,test,dev]\n    - name: Benchmark\n      run: |\n        pytest benchmark --benchmark-storage=file://benchmark/results --benchmark-autosave\n        cd benchmark && python rotate_results.py \"${{ matrix.python-version }}\"\n    - name: Commit\n      run: |\n        git config user.name \"pytest-benchmark\"\n        git config user.email \"<>\"\n        git add benchmark/results --all\n        git commit -m \"Benchmark results for ${{ matrix.python-version }}\"\n        git push\n", "state": "active", "repository": "mirumee/ariadne"}
{"mined_at": "2024-07-15T13:50:25.517154", "created_at": "2022-01-21T14:04:26+01:00", "updated_at": "2022-01-21T14:04:26+01:00", "name": "Publish on PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Publish on PyPI \n\non:\n  release:\n    types:\n      - published\n\njobs:\n  build-n-publish:\n    name: Build and publish to PyPI\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.11\"\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish distribution to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "mirumee/ariadne"}
{"mined_at": "2024-07-15T13:50:26.784474", "created_at": "2021-03-04T21:22:42+01:00", "updated_at": "2021-03-04T21:22:42+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  schedule:\n    - cron:  \"0 7 * * 1,3\"\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n        pip install -e .[asgi-file-uploads,tracing,telemetry,test,dev]\n    - name: Pytest\n      run: |\n        pytest --cov=ariadne --cov=tests\n    - uses: codecov/codecov-action@v3\n    - name: Linters\n      run: |\n        pylint ariadne tests\n        mypy ariadne tests_mypy --ignore-missing-imports --check-untyped-defs\n        black --check .\n    - name: Benchmark\n      run: |\n        pytest benchmark --benchmark-storage=file://benchmark/results --benchmark-compare\n\n  integration:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        library: [\"fastapi\", \"starlette\", \"flask\"]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n        pip install -r tests_integrations/${{ matrix.library }}/requirements.txt\n        pip install -e .[asgi-file-uploads,tracing,telemetry,test,dev]\n    - name: Pytest\n      run: |\n        pytest tests_integrations/${{ matrix.library }}\n", "state": "active", "repository": "mirumee/ariadne"}
{"mined_at": "2024-07-15T13:50:28.924485", "created_at": "2022-03-05T17:21:07+01:00", "updated_at": "2022-03-17T14:55:11+01:00", "name": "build", "path": ".github/workflows/build-release.yml", "contents": "name: build\non:\n  push:\n    branches: [\"dev\", \"*.x-line\"]\n    tags: [\"*\"]\n  pull_request:\n  # Run builds nightly to catch incompatibilities with new marshmallow releases\n  schedule:\n    - cron: \"0 0 * * *\"\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {\n              name: \"3.8-ma3\",\n              python: \"3.8\",\n              os: ubuntu-latest,\n              tox: py38-marshmallow3,\n            }\n          - {\n              name: \"3.12-ma3\",\n              python: \"3.12\",\n              os: ubuntu-latest,\n              tox: py312-marshmallow3,\n            }\n          - {\n              name: \"3.12-madev\",\n              python: \"3.12\",\n              os: ubuntu-latest,\n              tox: py312-marshmallowdev,\n            }\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - run: pip install tox\n      - run: tox -e${{ matrix.tox }}\n  build:\n    name: Build package\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install pypa/build\n        run: python -m pip install build\n      - name: Build a binary wheel and a source tarball\n        run: python -m build\n      - name: Install twine\n        run: python -m pip install twine\n      - name: Check build\n        run: python -m twine check --strict dist/*\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n  # this duplicates pre-commit.ci, so only run it on tags\n  # it guarantees that linting is passing prior to a release\n  lint-pre-release:\n    if: startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - run: python -m pip install tox\n      - run: python -m tox -e lint\n  publish-to-pypi:\n    name: PyPI release\n    if: startsWith(github.ref, 'refs/tags/')\n    needs: [build, tests, lint-pre-release]\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/apispec\n    permissions:\n      id-token: write\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "marshmallow-code/apispec"}
{"mined_at": "2024-07-15T13:50:29.965003", "created_at": "2024-07-15T06:04:42+02:00", "updated_at": "2024-07-15T06:04:42+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "marshmallow-code/apispec"}
{"mined_at": "2024-07-15T13:50:32.502496", "created_at": "2020-01-10T06:07:17+01:00", "updated_at": "2020-01-11T09:51:26+01:00", "name": "CI", "path": "", "contents": null, "state": "active", "repository": "allenai/scispacy"}
{"mined_at": "2024-07-15T13:50:34.132446", "created_at": "2019-12-27T07:48:50+01:00", "updated_at": "2019-12-27T07:48:50+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  pull_request:\n    branches:\n    - main \n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    \n    steps:\n    - uses: actions/checkout@v1\n    - name: Build and test with Docker\n      run: |\n        docker build --tag scispacy .\n        docker run --rm scispacy pytest tests/\n        docker run --rm scispacy flake8 scispacy\n        docker run --rm scispacy black scispacy --check --line-length 88\n        docker run --rm scispacy bash scripts/mypy.sh\n        docker run --rm scispacy pytest tests/ --cov scispacy --cov-fail-under=20\n", "state": "active", "repository": "allenai/scispacy"}
{"mined_at": "2024-07-15T13:50:35.192722", "created_at": "2020-10-13T00:49:08+02:00", "updated_at": "2020-10-13T00:49:08+02:00", "name": "Publish Package", "path": ".github/workflows/publish.yml", "contents": "# This workflow publishes the scispacy package (not the scispacy models) to pypi.\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Publish Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  pypi-publish:\n    name: upload release to PyPI\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.7'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build\n        run: |\n          python setup.py sdist bdist_wheel\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "allenai/scispacy"}
{"mined_at": "2024-07-15T13:50:36.361463", "created_at": "2023-10-04T08:31:19+02:00", "updated_at": "2023-10-04T08:31:19+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "allenai/scispacy"}
{"mined_at": "2024-07-15T13:50:37.385740", "created_at": "2022-02-03T23:27:55+01:00", "updated_at": "2022-02-03T23:27:55+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "allenai/scispacy"}
{"mined_at": "2024-07-15T13:50:39.711996", "created_at": "2023-04-16T02:41:06+02:00", "updated_at": "2023-04-16T02:47:36+02:00", "name": "repo", "path": ".github/workflows/repo.yml", "contents": "name: repo\n\non:\n  schedule:\n    - cron: \"0 15 1 * *\"\n  workflow_dispatch:\n\njobs:\n  pre-commit-autoupdate:\n    name: pre-commit autoupdate\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/commaai/opendbc:latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: pre-commit autoupdate\n      run: |\n        git config --global --add safe.directory '*'\n        pre-commit autoupdate\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@5b4a9f6a9e2af26e5f02351490b90d01eb8ec1e5\n      with:\n        token: ${{ secrets.ACTIONS_CREATE_PR_PAT }}\n        commit-message: Update pre-commit hook versions\n        title: 'pre-commit: autoupdate hooks'\n        branch: pre-commit-updates\n        base: master\n        delete-branch: true\n", "state": "active", "repository": "commaai/opendbc"}
{"mined_at": "2024-07-15T13:50:40.897314", "created_at": "2020-02-17T19:24:03+01:00", "updated_at": "2020-10-29T21:05:55+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non: [push, pull_request]\n\nenv:\n  RUN: docker run -v $GITHUB_WORKSPACE:/project/opendbc -w /project/opendbc -e PYTHONWARNINGS=\"error,default::DeprecationWarning\" --shm-size 1G --rm opendbc /bin/bash -c\n  BUILD: docker buildx build --pull --load --cache-to type=inline --cache-from type=registry,ref=ghcr.io/commaai/opendbc:latest -t opendbc -f Dockerfile .\n  PYTHONWARNINGS: error\n\njobs:\n  unit-tests:\n    name: unit tests\n    runs-on: ubuntu-latest\n    #strategy:\n    #  fail-fast: false\n    #  matrix:\n    #    run: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Build Docker image\n      run: eval \"$BUILD\"\n    - name: Build opendbc\n      run: ${{ env.RUN }} \"cd ../ && scons -j$(nproc) --minimal\"\n    - name: Unit tests\n      run: ${{ env.RUN }} \"pytest\"\n\n  static-analysis:\n    name: static analysis\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Build Docker image\n      run: eval \"$BUILD\"\n    - name: Build opendbc\n      run: ${{ env.RUN }} \"cd ../ && scons -j$(nproc) --minimal\"\n    - name: pre-commit\n      # TODO: a package pre-commit installs has a warning, remove the unset once that's fixed\n      run: ${{ env.RUN }} \"unset PYTHONWARNINGS && pre-commit run --all\"\n    - name: Generator test\n      run: ${{ env.RUN }} \"generator/test_generator.py\"\n\n  docker-push:\n    name: docker push\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/opendbc'\n    steps:\n    - uses: actions/checkout@v4\n    - name: Build Docker image\n      run: eval \"$BUILD\"\n    - name: Push to dockerhub\n      run: |\n        docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}\n        docker tag opendbc ghcr.io/commaai/opendbc:latest\n        docker push ghcr.io/commaai/opendbc:latest\n", "state": "active", "repository": "commaai/opendbc"}
{"mined_at": "2024-07-15T13:50:43.296535", "created_at": "2022-09-08T12:22:48+02:00", "updated_at": "2022-09-22T11:37:20+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '29 0 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "zarr-developers/zarr-python"}
{"mined_at": "2024-07-15T13:50:44.527882", "created_at": "2024-05-22T22:27:21+02:00", "updated_at": "2024-05-22T22:27:21+02:00", "name": "Pyodide wheel", "path": ".github/workflows/emscripten.yml", "contents": null, "state": "active", "repository": "zarr-developers/zarr-python"}
{"mined_at": "2024-07-15T13:50:45.627986", "created_at": "2024-06-04T04:38:35+02:00", "updated_at": "2024-06-04T04:38:35+02:00", "name": "Slow Hypothesis CI", "path": ".github/workflows/hypothesis.yaml", "contents": null, "state": "active", "repository": "zarr-developers/zarr-python"}
{"mined_at": "2024-07-15T13:50:46.890961", "created_at": "2024-06-04T19:04:30+02:00", "updated_at": "2024-06-04T19:04:30+02:00", "name": "Monthly issue metrics", "path": ".github/workflows/issue-metrics.yml", "contents": "name: Monthly issue metrics\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '3 2 1 * *'\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: issue metrics\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: read\n    steps:\n    - name: Get dates for last month\n      shell: bash\n      run: |\n        # Calculate the first day of the previous month\n        first_day=$(date -d \"last month\" +%Y-%m-01)\n\n        # Calculate the last day of the previous month\n        last_day=$(date -d \"$first_day +1 month -1 day\" +%Y-%m-%d)\n\n        #Set an environment variable with the date range\n        echo \"$first_day..$last_day\"\n        echo \"last_month=$first_day..$last_day\" >> \"$GITHUB_ENV\"\n\n    - name: Run issue-metrics tool\n      uses: github/issue-metrics@v3\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        SEARCH_QUERY: 'repo:zarr-developers/zarr-python is:issue created:${{ env.last_month }} -reason:\"not planned\"'\n\n    - name: Create issue\n      uses: peter-evans/create-issue-from-file@v5\n      with:\n        title: Monthly issue metrics report\n        token: ${{ secrets.GITHUB_TOKEN }}\n        content-filepath: ./issue_metrics.md\n", "state": "active", "repository": "zarr-developers/zarr-python"}
{"mined_at": "2024-07-15T13:50:48.082595", "created_at": "2021-09-19T16:11:08+02:00", "updated_at": "2024-05-26T19:50:44+02:00", "name": "Minimal installation", "path": ".github/workflows/minimal.yml", "contents": null, "state": "active", "repository": "zarr-developers/zarr-python"}
{"mined_at": "2024-07-15T13:50:49.087630", "created_at": "2022-11-15T20:40:04+01:00", "updated_at": "2022-11-15T20:40:04+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/needs_release_notes.yml", "contents": "name: \"Pull Request Labeler\"\n\non:\n  - pull_request_target\n\njobs:\n  triage:\n    if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} && ${{ github.event.pull_request.user.login != 'pre-commit-ci[bot]' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@main\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        sync-labels: true\n", "state": "active", "repository": "zarr-developers/zarr-python"}
{"mined_at": "2024-07-15T13:50:50.097932", "created_at": "2020-12-16T02:08:24+01:00", "updated_at": "2024-05-26T19:50:44+02:00", "name": "Linux Testing", "path": ".github/workflows/python-package.yml", "contents": null, "state": "active", "repository": "zarr-developers/zarr-python"}
{"mined_at": "2024-07-15T13:50:51.111760", "created_at": "2020-10-05T20:48:11+02:00", "updated_at": "2022-10-19T17:43:20+02:00", "name": "Wheels", "path": ".github/workflows/releases.yml", "contents": "name: Wheels\n\non: [push, pull_request]\n\njobs:\n\n  build_artifacts:\n    name: Build wheel on ubuntu-latest\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.11'\n\n      - name: Install PyBuild\n        run: |\n          python -m pip install --upgrade pip \n          pip install hatch\n      - name: Build wheel and sdist\n        run: hatch build\n      - uses: actions/upload-artifact@v4\n        with:\n          name: releases\n          path: dist\n\n  test_dist_pypi:\n    needs: [build_artifacts]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: releases\n          path: dist\n\n      - name: test\n        run: |\n          ls\n          ls dist\n\n  upload_pypi:\n    needs: [build_artifacts]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: releases\n          path: dist\n      - uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n          # To test: repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "zarr-developers/zarr-python"}
{"mined_at": "2024-07-15T13:50:52.207522", "created_at": "2024-02-06T20:40:47+01:00", "updated_at": "2024-02-06T20:40:47+01:00", "name": "Test V3", "path": ".github/workflows/test-v3.yml", "contents": null, "state": "active", "repository": "zarr-developers/zarr-python"}
{"mined_at": "2024-07-15T13:50:53.331217", "created_at": "2024-04-25T00:25:44+02:00", "updated_at": "2024-05-24T00:42:54+02:00", "name": "Test V3", "path": ".github/workflows/test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test V3\n\non:\n  push:\n    branches: [ v3 ]\n  pull_request:\n    branches: [ v3 ]\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: py=${{ matrix.python-version }}, np=${{ matrix.numpy-version }}, deps=${{ matrix.dependency-set }}\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11']\n        numpy-version: ['1.24', '1.26', '2.0.0rc1']\n        dependency-set: [\"minimal\", \"optional\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install Hatch\n      run: |\n        python -m pip install --upgrade pip \n        pip install hatch\n    - name: Set Up Hatch Env\n      run: |\n        hatch env create test.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }}\n        hatch env run -e test.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }} list-env\n    - name: Run Tests\n      run: |\n        hatch env run --env test.py${{ matrix.python-version }}-${{ matrix.numpy-version }}-${{ matrix.dependency-set }} run\n", "state": "active", "repository": "zarr-developers/zarr-python"}
{"mined_at": "2024-07-15T13:50:54.729968", "created_at": "2020-12-21T23:07:19+01:00", "updated_at": "2024-05-26T19:50:44+02:00", "name": "Python package", "path": ".github/workflows/windows-testing.yml", "contents": null, "state": "active", "repository": "zarr-developers/zarr-python"}
{"mined_at": "2024-07-15T13:50:57.120597", "created_at": "2020-11-12T00:00:52+01:00", "updated_at": "2020-11-12T00:00:52+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n  pull_request:\n\n  # Run CI once a week even without code changes to ensure tests pass with updated dependencies.\n  schedule:\n    - cron: '0 0 * * 5'\n\n  # Allow triggering a CI run from the web UI.\n  workflow_dispatch:\n\njobs:\n  build-and-test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n        - { icon: 🐧, name: ubuntu-20.04 }\n        - { icon: 🍎, name: macos-latest }\n        # CI is currently broken on Windows\n        # https://github.com/olofk/fusesoc/issues/528\n        #- { icon: 🧊, name: windows-latest }\n        pyver:\n          - '3.6'\n          - '3.7'\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11.0-alpha - 3.11.0'\n    runs-on: ${{ matrix.os.name }}\n    name: ${{ matrix.os.icon }} ${{ matrix.os.name }} | ${{ matrix.pyver }}\n    steps:\n\n    - name: 🧰 Repository Checkout\n      uses: actions/checkout@v3\n\n    - name: 🐍 Set up Python ${{ matrix.pyver }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.pyver }}\n\n    - name: Display Python version\n      run: python -c \"import sys; print(sys.version)\"\n\n    - name: 🛠️ Install Tox and any other packages\n      run: pip install tox tox-gh-actions\n\n    - name: 🚧 Build package and run tests with tox\n      # XXX: Remove `-e py3-ci` and rely on the settings in tox.ini as soon as\n      # https://github.com/ymyzk/tox-gh-actions/issues/44 is resolved.\n      run: tox -e py3-ci\n", "state": "active", "repository": "olofk/fusesoc"}
{"mined_at": "2024-07-15T13:50:58.554880", "created_at": "2020-11-12T00:10:24+01:00", "updated_at": "2020-11-12T00:10:24+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non:\n  pull_request:\n  push:\n    branches: [master]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n    - uses: pre-commit/action@v2.0.0\n", "state": "active", "repository": "olofk/fusesoc"}
{"mined_at": "2024-07-15T13:51:00.911119", "created_at": "2020-12-08T02:57:06+01:00", "updated_at": "2020-12-08T02:57:06+01:00", "name": "CI Unit tests", "path": ".github/workflows/ci_pr.yml", "contents": "name: CI Unit tests\n\non:\n  push:\n    branches: [ \"*\" ]\n  pull_request:\n    branches: [ \"*\" ]\n  workflow_dispatch:\n\njobs:\n  test-python-2_6-and-3_4-versions:\n    \n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: 2.6\n          - python-version: 3.4\n\n    name: \"Python ${{ matrix.python-version }} Unit Tests\"\n    runs-on: ubuntu-20.04\n    container:\n      image: ubuntu:16.04\n      volumes:\n        - /home/waagent:/home/waagent\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    env:\n      NOSEOPTS: \"--verbose\"\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Install Python ${{ matrix.python-version }}\n      run: |\n        apt-get update\n        apt-get install -y curl bzip2 sudo python3\n        curl https://dcrdata.blob.core.windows.net/python/python-${{ matrix.python-version }}.tar.bz2 -o python-${{ matrix.python-version }}.tar.bz2\n        sudo tar xjvf python-${{ matrix.python-version }}.tar.bz2 --directory /\n\n    - name: Test with nosetests\n      run: |\n        if [[ ${{ matrix.python-version }} == 2.6 ]]; then\n          source /home/waagent/virtualenv/python2.6.9/bin/activate\n        else\n          source /home/waagent/virtualenv/python3.4.8/bin/activate\n        fi\n        ./ci/nosetests.sh\n        exit $?\n\n  test-python-2_7:\n\n    strategy:\n      fail-fast: false\n\n    name: \"Python 2.7 Unit Tests\"\n    runs-on: ubuntu-20.04\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    env:\n      NOSEOPTS: \"--verbose\"\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Install Python 2.7\n      run: |\n        apt-get update\n        apt-get install -y curl bzip2 sudo\n        curl https://dcrdata.blob.core.windows.net/python/python-2.7.tar.bz2 -o python-2.7.tar.bz2\n        sudo tar xjvf python-2.7.tar.bz2 --directory /\n\n    - name: Test with nosetests\n      run: |\n        source /home/waagent/virtualenv/python2.7.16/bin/activate\n        ./ci/nosetests.sh\n        exit $?\n\n  test-current-python-versions:\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: 3.5\n            PYLINTOPTS: \"--rcfile=ci/3.6.pylintrc --ignore=tests_e2e,makepkg.py\"\n\n          - python-version: 3.6\n            PYLINTOPTS: \"--rcfile=ci/3.6.pylintrc --ignore=tests_e2e\"\n\n          - python-version: 3.7\n            PYLINTOPTS: \"--rcfile=ci/3.6.pylintrc --ignore=tests_e2e\"\n\n          - python-version: 3.8\n            PYLINTOPTS: \"--rcfile=ci/3.6.pylintrc --ignore=tests_e2e\"\n\n          - python-version: 3.9\n            PYLINTOPTS: \"--rcfile=ci/3.6.pylintrc\"\n            additional-nose-opts: \"--with-coverage --cover-erase --cover-inclusive --cover-branches --cover-package=azurelinuxagent\"\n\n    name: \"Python ${{ matrix.python-version }} Unit Tests\"\n    runs-on: ubuntu-20.04\n\n    env:\n      PYLINTOPTS: ${{ matrix.PYLINTOPTS }}\n      PYLINTFILES: \"azurelinuxagent setup.py makepkg.py tests tests_e2e\"\n      NOSEOPTS: \"--with-timer ${{ matrix.additional-nose-opts }}\"\n      PYTHON_VERSION: ${{ matrix.python-version }}\n\n    steps:\n\n    - name: Checkout WALinuxAgent repo\n      uses: actions/checkout@v3\n\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      id: install-dependencies\n      run: |\n        sudo env \"PATH=$PATH\" python -m pip install --upgrade pip\n        sudo env \"PATH=$PATH\" pip install -r requirements.txt\n        sudo env \"PATH=$PATH\" pip install -r test-requirements.txt\n\n    - name: Run pylint\n      run: |\n        pylint $PYLINTOPTS --jobs=0 $PYLINTFILES\n\n    - name: Test with nosetests\n      if: success() || (failure() && steps.install-dependencies.outcome == 'success')\n      run: |\n        ./ci/nosetests.sh\n        exit $?\n\n    - name: Compile Coverage\n      if: matrix.python-version == 3.9\n      run: |\n        echo looking for coverage files :\n        ls -alh | grep -i coverage\n        sudo env \"PATH=$PATH\" coverage combine coverage.*.data\n        sudo env \"PATH=$PATH\" coverage xml\n        sudo env \"PATH=$PATH\" coverage report\n\n    - name: Upload Coverage\n      if: matrix.python-version == 3.9\n      uses: codecov/codecov-action@v3\n      with:\n        file: ./coverage.xml\n", "state": "active", "repository": "azure/walinuxagent"}
{"mined_at": "2024-07-15T13:51:03.061265", "created_at": "2020-11-16T00:43:53+01:00", "updated_at": "2020-11-16T00:43:53+01:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions\n#\nname: Publish\n\non:\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/publish.yaml\"\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/publish.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n    tags:\n      - \"**\"\n  workflow_dispatch:\n\njobs:\n  publish-to-pypi:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: install build package\n        run: |\n          pip install build\n          pip freeze\n\n      - name: build release\n        run: |\n          python -m build --sdist --wheel .\n          ls -alh dist\n\n      # ref: https://github.com/pypa/gh-action-pypi-publish\n      - name: publish to pypi\n        if: startsWith(github.ref, 'refs/tags/')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "jupyterhub/kubespawner"}
{"mined_at": "2024-07-15T13:51:04.109805", "created_at": "2020-11-16T00:43:53+01:00", "updated_at": "2020-11-16T00:43:53+01:00", "name": "Test", "path": ".github/workflows/test.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions\n#\nname: Test\n\non:\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/test.yaml\"\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/test.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n  workflow_dispatch:\n\njobs:\n  run-pytest:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n\n    strategy:\n      # Keep running even if one variation of the job fail\n      fail-fast: false\n      matrix:\n        # We run this job multiple times with different parameterization\n        # specified below, these parameters have no meaning on their own and\n        # gain meaning on how job steps use them.\n        #\n        # k3s-channel:        https://update.k3s.io/v1-release/channels\n        # kubernetes_asyncio:  https://github.com/tomplus/kubernetes_asyncio/tags\n        #\n        include:\n          # Tests with oldest supported Python, jupyterhub, k8s, and k8s client\n          #\n          # NOTE: If lower bounds are updated, also update our test for the\n          #       lower bounds in pyproject.toml.\n          #\n          - python: \"3.7\"\n            k3s: v1.24\n            test_dependencies: >-\n              jupyterhub==4.0.0\n              kubernetes_asyncio==24.2.3\n\n          # Test with modern python and k8s versions\n          - python: \"3.11\"\n            k3s: v1.27\n          - python: \"3.12\"\n            k3s: v1.28\n\n          # Test with latest python and JupyterHub in main branch\n          - python: \"3.X\"\n            k3s: latest\n            test_dependencies: git+https://github.com/jupyterhub/jupyterhub\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.python }}\"\n\n      - name: Install package and test dependencies\n        run: |\n          pip install -e \".[test]\" ${{ matrix.test_dependencies }}\n          pip freeze\n\n      # Starts a k8s cluster with NetworkPolicy enforcement and installs both\n      # kubectl and helm. We won't need network policy enforcement or helm\n      # though.\n      #\n      # ref: https://github.com/jupyterhub/action-k3s-helm/\n      - uses: jupyterhub/action-k3s-helm@v4\n        with:\n          k3s-channel: ${{ matrix.k3s }}\n          metrics-enabled: false\n          traefik-enabled: false\n          docker-enabled: false\n\n      - name: Run pytest\n        run: |\n          pytest --cov kubespawner\n\n      # ref: https://github.com/jupyterhub/action-k8s-namespace-report\n      - name: Kubernetes namespace report\n        uses: jupyterhub/action-k8s-namespace-report@v1\n        if: always()\n\n      # ref: https://github.com/codecov/codecov-action\n      - uses: codecov/codecov-action@v4\n", "state": "active", "repository": "jupyterhub/kubespawner"}
{"mined_at": "2024-07-15T13:51:06.440762", "created_at": "2020-12-03T11:32:11+01:00", "updated_at": "2021-09-29T18:56:17+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  lint:\n    # Run for PRs only if they come from a forked repo (avoids duplicate runs)\n    if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n        toxenv: [flake8, mypy, docs, black]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install tox\n      run: pip install tox\n    - name: Run tox ${{ matrix.toxenv }}\n      run: tox -e ${{ matrix.toxenv }}\n\n  build:\n    if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0  # required for setuptools_scm\n    - name: Build sdist and temporary wheel\n      run: pipx run build\n    - uses: actions/upload-artifact@v4\n      with:\n        name: sdist\n        path: dist/*.tar.gz\n\n  test:\n    if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name\n    timeout-minutes: 10\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n        - os: macos-13\n          python-version: \"3.10\"\n        - os: macos-14\n          python-version: \"3.10\"\n        - os: windows-latest\n          python-version: \"3.10\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install tox\n      run: pip install tox\n    - name: Test\n      run: tox -e py$(echo ${{ matrix.python-version }} | tr -d .)\n    - name: Upload coverage report\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n\n  wheels:\n    if: github.event_name == 'push' && github.ref_type == 'tag'\n    needs: [lint, build, test]\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, windows-2019, macos-13, macos-14]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0  # required for setuptools_scm\n    - name: Build wheels\n      uses: pypa/cibuildwheel@v2.17.0\n      env:\n        CIBW_BUILD: \"cp*-manylinux_x86_64 cp3*-win_amd64 cp3*-macosx_x86_64 cp3*-macosx_arm64\"\n        CIBW_SKIP: \"cp37-*\"\n        CIBW_TEST_SKIP: \"cp38-macosx_*:arm64\"\n    - uses: actions/upload-artifact@v4\n      with:\n        name: wheels-${{ matrix.os }}\n        path: wheelhouse/*.whl\n\n  publish:\n    if: github.event_name == 'push' && github.ref_type == 'tag'\n    needs: [build, wheels]\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: sdist\n        path: dist/\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: wheels-*\n        path: dist/\n        merge-multiple: true\n    - name: Publish alpha release to test PyPI\n      if: contains(github.ref_name, 'a')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.test_pypi_password }}\n        repository-url: https://test.pypi.org/legacy/\n    - name: Publish to PyPI\n      if: \"!contains(github.ref_name, '.dev') && !contains(github.ref_name, 'a')\"\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "marcelm/cutadapt"}
{"mined_at": "2024-07-15T13:51:07.772763", "created_at": "2020-06-03T23:28:47+02:00", "updated_at": "2020-06-03T23:28:47+02:00", "name": "PyInstaller", "path": ".github/workflows/pyinstaller.yml", "contents": "name: PyInstaller\n\non:\n  schedule:\n  - cron: \"0 15 6 * *\"\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.9'\n      - name: Install\n        run: |\n          python -m venv venv\n          venv/Scripts/pip install pyinstaller\n          venv/Scripts/pip install .\n      - name: Make exe\n        run: |\n          echo \"from cutadapt.__main__ import main_cli\" > script.py\n          echo \"sys.exit(main_cli())\" >> script.py\n          venv/Scripts/pyinstaller -F --hidden-import=cutadapt._match_tables -n cutadapt script.py\n      - name: Run it\n        run: dist/cutadapt.exe --version\n      - name: Test multicore\n        run: ( echo \">read\" && echo \"ACGT\" ) | dist/cutadapt.exe -j 2 --quiet -\n      - uses: actions/upload-artifact@v3\n        with:\n          name: cutadapt-exe\n          path: dist/cutadapt.exe\n", "state": "active", "repository": "marcelm/cutadapt"}
{"mined_at": "2024-07-15T13:51:09.921036", "created_at": "2021-08-06T11:30:28+02:00", "updated_at": "2021-10-13T18:26:58+02:00", "name": "Zulip server CI", "path": ".github/workflows/zulip-ci.yml", "contents": "# This file is largely copied from the Zulip server's continuous\n# integration.  The intent is to run the Zulip server's API\n# documentation test suite using the current version of this project,\n# to verify that the API client is generally compatible with the old\n# server release.\nname: Zulip server CI\n\non: [push, pull_request]\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # Focal ships with Python 3.8.10.\n          - docker_image: zulip/ci:focal\n            name: Ubuntu 20.04 (Python 3.8, backend)\n            os: focal\n            legacy_client_interface: \"3\"\n            server_version: refs/tags/3.2\n          # Bullseye ships with Python 3.9.2.\n          - docker_image: zulip/ci:bullseye\n            name: Debian 11 (Python 3.9, backend)\n            os: bullseye\n            legacy_client_interface: \"4\"\n            server_version: refs/tags/4.0\n          # Ubuntu 22.04 ships with Python 3.10.6.\n          - docker_image: zulip/ci:jammy\n            name: Ubuntu 22.04 (Python 3.10, backend)\n            os: jammy\n            legacy_client_interface: \"6\"\n            server_version: refs/tags/6.0\n\n    runs-on: ubuntu-latest\n    name: ${{ matrix.name }} (Zulip ${{matrix.server_version}})\n    container: ${{ matrix.docker_image }}\n    env:\n      # GitHub Actions sets HOME to /github/home which causes\n      # problem later in provison and frontend test that runs\n      # tools/setup/postgresql-init-dev-db because of the .pgpass\n      # location. PostgreSQL (psql) expects .pgpass to be at\n      # /home/github/.pgpass and setting home to `/home/github/`\n      # ensures it written there because we write it to ~/.pgpass.\n      HOME: /home/github/\n\n    steps:\n      - name: \"Check out python-zulip-api\"\n        uses: actions/checkout@v4\n        with:\n          path: api\n\n      - name: \"Check out Zulip server ${{ matrix.server_version }}\"\n        uses: actions/checkout@v4\n        with:\n          repository: zulip/zulip\n          ref: ${{ matrix.server_version }}\n          path: server\n\n      - name: Install dependencies\n        run: |\n          cd server\n          # This is the main setup job for the test suite\n          ./tools/ci/setup-backend --skip-dev-db-build\n\n          # Cleaning caches is mostly unnecessary in GitHub Actions, because\n          # most builds don't get to write to the cache.\n          # scripts/lib/clean_unused_caches.py --verbose --threshold 0\n\n      - name: Replace dependency with the latest python-zulip-api\n        run: |\n          cd server\n          source tools/ci/activate-venv\n          pip install ../api/zulip\n          pip install ../api/zulip_bots\n\n      - name: Run documentation and api tests\n        run: |\n          cd server\n          source tools/ci/activate-venv\n          ./tools/test-api\n        env:\n          LEGACY_CLIENT_INTERFACE_FROM_SERVER_DOCS_VERSION: ${{ matrix.legacy_client_interface }}\n\n      - name: Run backend tests\n        run: |\n          cd server\n          source tools/ci/activate-venv\n          ./tools/test-backend zerver.tests.test_bots zerver.tests.test_embedded_bot_system\n        env:\n          LEGACY_CLIENT_INTERFACE_FROM_SERVER_DOCS_VERSION: ${{ matrix.legacy_client_interface }}\n", "state": "active", "repository": "zulip/python-zulip-api"}
{"mined_at": "2024-07-15T13:51:11.047119", "created_at": "2021-02-23T22:46:29+01:00", "updated_at": "2021-02-23T22:46:29+01:00", "name": "build", "path": ".github/workflows/zulip-tests.yml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  static-analysis:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n\n      - name: Install dependencies\n        run: tools/provision --force\n\n      - name: Running Test-Suite\n        run: |\n          source zulip-api-py3-venv/bin/activate\n          tools/lint --skip=gitlint\n\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: python tools/provision --force\n\n      - if: runner.os == 'Linux'\n        name: Running Test-Suite on Linux\n        run: |\n          source zulip-api-py3-venv/bin/activate\n          pytest --cov --cov-config=tools/.coveragerc --cov-report=xml\n\n      - if: runner.os == 'Windows'\n        name: Running Test-Suite on Windows\n        run: |\n          zulip-api-py3-venv\\Scripts\\Activate.ps1\n          pytest --cov --cov-config=tools\\.coveragerc --cov-report=xml\n\n      - uses: codecov/codecov-action@v4\n        with:\n          files: coverage.xml\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "zulip/python-zulip-api"}
{"mined_at": "2024-07-15T13:51:13.789738", "created_at": "2021-01-20T04:00:05+01:00", "updated_at": "2021-01-20T04:00:05+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "on:\n  push:\n    tags:\n      - \"[0-9]+.[0-9]+*\"\n\nname: Release\n\njobs:\n  sdist:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - name: update pip\n        run: |\n          python -m pip install -U pip\n      - name: Create dist\n        run: |\n          pip install tox\n          tox -e makedist\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{secrets.PYPI_API_TOKEN}}\n", "state": "active", "repository": "flask-middleware/flask-security"}
{"mined_at": "2024-07-15T13:51:15.888391", "created_at": "2021-01-09T16:46:12+01:00", "updated_at": "2021-01-09T20:59:30+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "\n\nname: tests\non:\n  push:\n    branches:\n      - master\n      - \"[0-9]+.[0-9]+.x\"\n  pull_request:\n    branches:\n      - master\n      - \"[0-9]+.[0-9]+.x\"\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {python: '3.9', tox: 'py39-release'}\n          - {python: '3.9', tox: 'py39-low'}\n          - {python: '3.10', tox: 'py310-release'}\n          - {python: '3.10', tox: 'py310-low'}\n          - {python: '3.11', tox: 'py311-release'}\n          - {python: '3.11', tox: 'py311-low'}\n          - { python: '3.12', tox: 'py312-release' }\n          - { python: '3.12', tox: 'py312-low' }\n          - {python: 'pypy-3.9', tox: 'pypy39-release'}\n          - {python: 'pypy-3.9', tox: 'pypy39-low'}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: update pip\n        run: |\n          python -m pip install -U pip\n      - name: cache pip\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: pip-${{ runner.os }}-${{ matrix.tox }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*.txt') }}\n      - name: run tests\n        run: |\n          pip install tox\n          tox -e ${{ matrix.tox }}\n\n  lint:\n      runs-on: ubuntu-latest\n      steps:\n        - uses: actions/checkout@v4\n        - uses: actions/setup-python@v5\n          with:\n            python-version: \"3.11\"\n        - name: update pip\n          run: |\n            python -m pip install -U pip\n        - name: Style, docs, mypy\n          run: |\n            pip install tox\n            tox -e style,docs,mypy\n\n  other:\n      runs-on: ubuntu-latest\n      steps:\n        - uses: actions/checkout@v4\n        - uses: actions/setup-python@v5\n          with:\n            python-version: \"3.11\"\n        - name: update pip\n          run: |\n            python -m pip install -U pip\n        - name: nobabel, nowebauthn, noauthlib, noflasksqlalchemy, async\n          run: |\n            pip install tox\n            tox -e nobabel,nowebauthn,noauthlib,noflasksqlalchemy,async\n  cov:\n      runs-on: ubuntu-latest\n      steps:\n        - uses: actions/checkout@v4\n        - uses: actions/setup-python@v5\n          with:\n            python-version: \"3.11\"\n        - name: update pip\n          run: |\n            python -m pip install -U pip\n        - name: Coverage\n          run: |\n            pip install tox coverage\n            tox -e coverage\n        - name: Upload coverage to Codecov\n          uses: codecov/codecov-action@v4\n          with:\n            fail_ci_if_error: false\n            verbose: true\n            token: ${{ secrets.CODECOV_TOKEN }}\n  realdb:\n      runs-on: ubuntu-latest\n\n      services:\n        postgres:\n          image: postgres:latest\n          env:\n            POSTGRES_USER: postgres\n            POSTGRES_PASSWORD: testpw\n            POSTGRES_DB: testdb\n          ports:\n            - 5432:5432\n          options: >-\n            --health-cmd pg_isready\n            --health-interval 10s\n            --health-timeout 5s\n            --health-retries 5\n      steps:\n        - uses: actions/checkout@v4\n        - uses: actions/setup-python@v5\n          with:\n            python-version: \"3.11\"\n        - name: update pip\n          run: |\n            python -m pip install -U pip\n        - name: cache pip\n          uses: actions/cache@v3\n          with:\n            path: ~/.cache/pip\n            key: pip-${{ runner.os }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*.txt') }}\n        - name: Postgres\n          run: |\n            pip install tox\n            tox -e realpostgres -- --realdburl='postgresql://postgres:testpw@localhost:5432/testdb'\n", "state": "active", "repository": "flask-middleware/flask-security"}
{"mined_at": "2024-07-15T13:51:17.988108", "created_at": "2024-06-20T18:20:31+02:00", "updated_at": "2024-06-20T18:20:31+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "flask-middleware/flask-security"}
{"mined_at": "2024-07-15T13:51:20.448636", "created_at": "2021-12-01T20:17:21+01:00", "updated_at": "2022-02-14T16:55:08+01:00", "name": "Site Deploy", "path": ".github/workflows/website-deploy.yml", "contents": "name: Site Deploy\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: website-deploy-${{ github.ref }}\n      cancel-in-progress: true\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python Environment\n        uses: ./.github/actions/setup-python\n\n      - name: Setup Node Environment\n        uses: ./.github/actions/setup-node\n\n      - name: Build API Doc\n        uses: ./.github/actions/build-api-doc\n\n      - name: Build Doc\n        run: yarn build\n\n      - name: Get Branch Name\n        run: echo \"BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})\" >> $GITHUB_ENV\n\n      - name: Deploy to Netlify\n        uses: nwtgck/actions-netlify@v3\n        with:\n          publish-dir: \"./website/build\"\n          production-deploy: true\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          deploy-message: \"Deploy ${{ env.BRANCH_NAME }}@${{ github.sha }}\"\n          enable-commit-comment: false\n          alias: ${{ env.BRANCH_NAME }}\n        env:\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n          NETLIFY_SITE_ID: ${{ secrets.SITE_ID }}\n", "state": "active", "repository": "nonebot/nonebot2"}
{"mined_at": "2024-07-15T13:51:21.748628", "created_at": "2021-12-10T10:02:25+01:00", "updated_at": "2022-01-04T09:12:44+01:00", "name": "Code Coverage", "path": ".github/workflows/codecov.yml", "contents": "name: Code Coverage\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    paths:\n      - \"envs/**\"\n      - \"nonebot/**\"\n      - \"packages/**\"\n      - \"tests/**\"\n      - \".github/actions/setup-python/**\"\n      - \".github/workflows/codecov.yml\"\n      - \"pyproject.toml\"\n      - \"poetry.lock\"\n\njobs:\n  test:\n    name: Test Coverage\n    runs-on: ${{ matrix.os }}\n    concurrency:\n      group: test-coverage-${{ github.ref }}-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.env }}\n      cancel-in-progress: true\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        env: [pydantic-v1, pydantic-v2]\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON_VERSION: ${{ matrix.python-version }}\n      PYDANTIC_VERSION: ${{ matrix.env }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python environment\n        uses: ./.github/actions/setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n          env-dir: ./envs/${{ matrix.env }}\n          no-root: true\n\n      - name: Run Pytest\n        run: |\n          cd ./envs/${{ matrix.env }}\n          poetry run bash \"../../scripts/run-tests.sh\"\n\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v4\n        with:\n          env_vars: OS,PYTHON_VERSION,PYDANTIC_VERSION\n          files: ./tests/coverage.xml\n          flags: unittests\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "nonebot/nonebot2"}
{"mined_at": "2024-07-15T13:51:23.028724", "created_at": "2022-01-04T09:12:44+01:00", "updated_at": "2022-01-04T09:12:44+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate token\n        id: generate-token\n        uses: tibdex/github-app-token@v2\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_KEY }}\n\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ steps.generate-token.outputs.token }}\n\n      - name: Setup Python Environment\n        uses: ./.github/actions/setup-python\n\n      - name: Setup Node Environment\n        uses: ./.github/actions/setup-node\n\n      - name: Build API Doc\n        uses: ./.github/actions/build-api-doc\n\n      - run: echo \"TAG_NAME=v$(poetry version -s)\" >> $GITHUB_ENV\n\n      - name: Archive Changelog\n        uses: docker://ghcr.io/nonebot/auto-changelog:master\n        with:\n          changelog_file: website/src/pages/changelog.md\n          archive_regex: '(?<=## )最近更新(?=\\n)'\n          archive_title: ${{ env.TAG_NAME }}\n          commit_and_push: false\n\n      - name: Archive Files\n        run: |\n          yarn archive $(poetry version -s)\n          yarn prettier\n\n      - name: Push Tag\n        run: |\n          git config user.name noneflow[bot]\n          git config user.email 129742071+noneflow[bot]@users.noreply.github.com\n          git add .\n          git commit -m \":bookmark: Release $(poetry version -s)\"\n          git tag ${{ env.TAG_NAME }}\n          git push && git push --tags\n", "state": "active", "repository": "nonebot/nonebot2"}
{"mined_at": "2024-07-15T13:51:24.232530", "created_at": "2022-02-14T16:55:08+01:00", "updated_at": "2022-02-14T16:55:08+01:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    tags:\n      - v*\n  pull_request_target:\n    branches:\n      - master\n    types:\n      - closed\n\njobs:\n  update-release-draft:\n    if: github.event_name == 'pull_request_target'\n    runs-on: ubuntu-latest\n    concurrency:\n      group: pull-request-changelog\n      cancel-in-progress: true\n    steps:\n      - name: Generate token\n        id: generate-token\n        uses: tibdex/github-app-token@v2\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_KEY }}\n\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ steps.generate-token.outputs.token }}\n\n      - name: Setup Node Environment\n        uses: ./.github/actions/setup-node\n\n      - uses: release-drafter/release-drafter@v6\n        id: release-drafter\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n\n      - name: Update Changelog\n        uses: docker://ghcr.io/nonebot/auto-changelog:master\n        with:\n          changelog_file: website/src/pages/changelog.md\n          latest_changes_position: '# 更新日志\\n\\n'\n          latest_changes_title: \"## 最近更新\"\n          replace_regex: '(?<=## 最近更新\\n)[\\s\\S]*?(?=\\n## )'\n          changelog_body: ${{ steps.release-drafter.outputs.body }}\n          commit_and_push: false\n\n      - name: Commit and Push\n        run: |\n          yarn prettier\n          git config user.name noneflow[bot]\n          git config user.email 129742071+noneflow[bot]@users.noreply.github.com\n          git add .\n          git diff-index --quiet HEAD || git commit -m \":memo: Update changelog\"\n          git push\n\n  release:\n    if: startsWith(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: write\n    steps:\n      - name: Generate token\n        id: generate-token\n        uses: tibdex/github-app-token@v2\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_KEY }}\n\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Environment\n        uses: ./.github/actions/setup-python\n\n      - name: Setup Node Environment\n        uses: ./.github/actions/setup-node\n\n      - name: Build API Doc\n        uses: ./.github/actions/build-api-doc\n\n      - name: Get Version\n        id: version\n        run: |\n          echo \"VERSION=$(poetry version -s)\" >> $GITHUB_OUTPUT\n          echo \"TAG_VERSION=${GITHUB_REF#refs/tags/v}\" >> $GITHUB_OUTPUT\n          echo \"TAG_NAME=${GITHUB_REF#refs/tags/}\" >> $GITHUB_OUTPUT\n\n      - name: Check Version\n        if: steps.version.outputs.VERSION != steps.version.outputs.TAG_VERSION\n        run: exit 1\n\n      - uses: release-drafter/release-drafter@v6\n        with:\n          name: Release ${{ steps.version.outputs.TAG_NAME }} 🌈\n          tag: ${{ steps.version.outputs.TAG_NAME }}\n          publish: true\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n\n      - name: Build Package\n        run: |\n          poetry build\n\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n      - name: Publish package to GitHub\n        run: |\n          gh release upload --clobber ${{ steps.version.outputs.TAG_NAME }} dist/*.tar.gz dist/*.whl\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n\n      - name: Build and Publish Doc Package\n        run: |\n          yarn build:plugin --out-dir ../packages/nonebot-plugin-docs/nonebot_plugin_docs/dist\n          cd packages/nonebot-plugin-docs/\n          poetry version ${{ steps.version.outputs.VERSION }}\n          poetry build\n\n      - name: Publish Doc Package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: packages/nonebot-plugin-docs/dist/\n\n      - name: Publish Doc Package to GitHub\n        run: |\n          cd packages/nonebot-plugin-docs/\n          gh release upload --clobber ${{ steps.version.outputs.TAG_NAME }} dist/*.tar.gz dist/*.whl\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n", "state": "active", "repository": "nonebot/nonebot2"}
{"mined_at": "2024-07-15T13:51:25.647558", "created_at": "2022-02-17T09:44:32+01:00", "updated_at": "2022-02-17T09:44:32+01:00", "name": "Site Deploy(Preview)", "path": ".github/workflows/website-preview.yml", "contents": "name: Site Deploy(Preview)\n\non:\n  pull_request_target:\n\njobs:\n  preview:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: pull-request-preview-${{ github.event.number }}\n      cancel-in-progress: true\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          fetch-depth: 0\n\n      - name: Setup Python Environment\n        uses: ./.github/actions/setup-python\n\n      - name: Setup Node Environment\n        uses: ./.github/actions/setup-node\n\n      - name: Build API Doc\n        uses: ./.github/actions/build-api-doc\n\n      - name: Build Doc\n        run: yarn build\n\n      - name: Get Deploy Name\n        run: |\n          echo \"DEPLOY_NAME=deploy-preview-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Deploy to Netlify\n        uses: nwtgck/actions-netlify@v3\n        with:\n          publish-dir: \"./website/build\"\n          production-deploy: false\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          deploy-message: \"Deploy ${{ env.DEPLOY_NAME }}@${{ github.sha }}\"\n          enable-commit-comment: false\n          alias: ${{ env.DEPLOY_NAME }}\n        env:\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n          NETLIFY_SITE_ID: ${{ secrets.SITE_ID }}\n", "state": "active", "repository": "nonebot/nonebot2"}
{"mined_at": "2024-07-15T13:51:26.693949", "created_at": "2023-02-08T03:27:05+01:00", "updated_at": "2023-02-08T03:27:05+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "nonebot/nonebot2"}
{"mined_at": "2024-07-15T13:51:27.803313", "created_at": "2023-04-07T17:54:15+02:00", "updated_at": "2024-04-29T11:05:10+02:00", "name": "NoneFlow", "path": ".github/workflows/noneflow.yml", "contents": "name: NoneFlow\n\non:\n  issues:\n    types: [opened, reopened, edited]\n  pull_request_target:\n    types: [closed]\n  issue_comment:\n    types: [created]\n  pull_request_review:\n    types: [submitted]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.issue.number || github.run_id }}\n  cancel-in-progress: false\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    name: check\n    # do not run on forked PRs, do not run on not related issues, do not run on pr comments\n    if: |\n      !(\n        (\n          github.event.pull_request &&\n          (\n            github.event.pull_request.head.repo.fork ||\n            !(\n              contains(github.event.pull_request.labels.*.name, 'Plugin') ||\n              contains(github.event.pull_request.labels.*.name, 'Adapter') ||\n              contains(github.event.pull_request.labels.*.name, 'Bot')\n            )\n          )\n        ) ||\n        (\n          github.event_name == 'issue_comment' && github.event.issue.pull_request\n        )\n      )\n    steps:\n      - run: echo \"Check passed\"\n  reaction:\n    runs-on: ubuntu-latest\n    name: reaction\n    needs: check\n    if: |\n      (\n        github.event_name == 'issue_comment' &&\n        github.event.action == 'created'\n      ) ||\n      (\n        github.event_name == 'issues' &&\n        github.event.action == 'opened'\n      )\n    steps:\n      - name: Generate token\n        id: generate-token\n        uses: tibdex/github-app-token@v2\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_KEY }}\n\n      - name: Reaction on issue\n        if: github.event_name == 'issues'\n        run: |\n          gh api --method POST /repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/reactions -f \"content=rocket\"\n        env:\n          GH_TOKEN: ${{ steps.generate-token.outputs.token }}\n\n      - name: Reaction on issue comment\n        if: github.event_name == 'issue_comment'\n        run: |\n          gh api --method POST /repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions -f \"content=rocket\"\n        env:\n          GH_TOKEN: ${{ steps.generate-token.outputs.token }}\n  plugin_test:\n    runs-on: ubuntu-latest\n    name: nonebot2 plugin test\n    needs: check\n    permissions:\n      issues: read\n    outputs:\n      result: ${{ steps.plugin-test.outputs.RESULT }}\n      output: ${{ steps.plugin-test.outputs.OUTPUT }}\n      metadata: ${{ steps.plugin-test.outputs.METADATA }}\n    steps:\n      - name: Install Poetry\n        if: ${{ !startsWith(github.event_name, 'pull_request') }}\n        run: pipx install poetry\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - name: Test Plugin\n        id: plugin-test\n        run: |\n          curl -sSL https://github.com/nonebot/noneflow/releases/latest/download/plugin_test.py | python -\n  noneflow:\n    runs-on: ubuntu-latest\n    name: noneflow\n    needs: plugin_test\n    steps:\n      - name: Generate token\n        id: generate-token\n        uses: tibdex/github-app-token@v2\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_KEY }}\n\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          token: ${{ steps.generate-token.outputs.token }}\n\n      - name: Cache pre-commit hooks\n        uses: actions/cache@v4\n        with:\n          path: .cache/.pre-commit\n          key: noneflow-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}\n\n      - name: NoneFlow\n        uses: docker://ghcr.io/nonebot/noneflow:latest\n        with:\n          config: >\n            {\n              \"base\": \"master\",\n              \"plugin_path\": \"assets/plugins.json\",\n              \"bot_path\": \"assets/bots.json\",\n              \"adapter_path\": \"assets/adapters.json\"\n            }\n        env:\n          PLUGIN_TEST_RESULT: ${{ needs.plugin_test.outputs.result }}\n          PLUGIN_TEST_OUTPUT: ${{ needs.plugin_test.outputs.output }}\n          PLUGIN_TEST_METADATA: ${{ needs.plugin_test.outputs.metadata }}\n          APP_ID: ${{ secrets.APP_ID }}\n          PRIVATE_KEY: ${{ secrets.APP_KEY }}\n          PRE_COMMIT_HOME: /github/workspace/.cache/.pre-commit\n\n      - name: Fix permission\n        run: sudo chown -R $(whoami):$(id -ng) .cache/.pre-commit\n", "state": "active", "repository": "nonebot/nonebot2"}
{"mined_at": "2024-07-15T13:51:28.853720", "created_at": "2023-06-20T11:42:11+02:00", "updated_at": "2023-06-24T08:47:40+02:00", "name": "Ruff Lint", "path": ".github/workflows/ruff.yml", "contents": "name: Ruff Lint\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    paths:\n      - \"envs/**\"\n      - \"nonebot/**\"\n      - \"packages/**\"\n      - \"tests/**\"\n      - \".github/actions/setup-python/**\"\n      - \".github/workflows/ruff.yml\"\n      - \"pyproject.toml\"\n      - \"poetry.lock\"\n\njobs:\n  ruff:\n    name: Ruff Lint\n    runs-on: ubuntu-latest\n    concurrency:\n      group: pyright-${{ github.ref }}\n      cancel-in-progress: true\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Run Ruff Lint\n        uses: chartboost/ruff-action@v1\n", "state": "active", "repository": "nonebot/nonebot2"}
{"mined_at": "2024-07-15T13:51:29.915911", "created_at": "2023-07-17T10:41:47+02:00", "updated_at": "2023-07-17T14:42:19+02:00", "name": "Pyright Lint", "path": ".github/workflows/pyright.yml", "contents": "name: Pyright Lint\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    paths:\n      - \"envs/**\"\n      - \"nonebot/**\"\n      - \"packages/**\"\n      - \"tests/**\"\n      - \".github/actions/setup-python/**\"\n      - \".github/workflows/pyright.yml\"\n      - \"pyproject.toml\"\n      - \"poetry.lock\"\n\njobs:\n  pyright:\n    name: Pyright Lint\n    runs-on: ubuntu-latest\n    concurrency:\n      group: pyright-${{ github.ref }}-${{ matrix.env }}\n      cancel-in-progress: true\n    strategy:\n      matrix:\n        env: [pydantic-v1, pydantic-v2]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python environment\n        uses: ./.github/actions/setup-python\n        with:\n          env-dir: ./envs/${{ matrix.env }}\n          no-root: true\n\n      - run: |\n          (cd ./envs/${{ matrix.env }} && echo \"$(poetry env info --path)/bin\" >> $GITHUB_PATH)\n          if [ \"${{ matrix.env }}\" = \"pydantic-v1\" ]; then\n            sed -i 's/PYDANTIC_V2 = true/PYDANTIC_V2 = false/g' ./pyproject.toml\n          fi\n        shell: bash\n\n      - name: Run Pyright\n        uses: jakebailey/pyright-action@v2\n", "state": "active", "repository": "nonebot/nonebot2"}
{"mined_at": "2024-07-15T13:51:31.939085", "created_at": "2020-11-30T20:48:45+01:00", "updated_at": "2022-07-25T01:53:43+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "# Action which validates the ability to build this extension against multiple\n# versions of Sphinx using various Python interpreters.\n\nname: Build\n\non:\n  push:\n    branches:\n    - main\n    paths:\n      - '.github/workflows/build.yml'\n      - 'sphinxcontrib/**'\n      - 'tests/**'\n      - '.pylintrc'\n      - 'MANIFEST.in'\n      - 'pyproject.toml'\n      - 'requirements_dev.txt'\n      - 'ruff.toml'\n      - 'tox.ini'\n  pull_request:\n    branches:\n    - main\n    paths:\n      - '.github/workflows/build.yml'\n      - 'sphinxcontrib/**'\n      - 'tests/**'\n      - '.pylintrc'\n      - 'MANIFEST.in'\n      - 'pyproject.toml'\n      - 'requirements_dev.txt'\n      - 'ruff.toml'\n      - 'tox.ini'\n\njobs:\n  build:\n    name: ${{ matrix.toxenv }}  (${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n            # test each python/sphinx pair supported\n            - { os:  ubuntu-latest, python:  \"3.8\", toxenv:  py38-sphinx62, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python:  \"3.8\", toxenv:  py38-sphinx70, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python:  \"3.8\", toxenv:  py38-sphinx71, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python:  \"3.9\", toxenv:  py39-sphinx62, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python:  \"3.9\", toxenv:  py39-sphinx70, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python:  \"3.9\", toxenv:  py39-sphinx71, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python:  \"3.9\", toxenv:  py39-sphinx72, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python:  \"3.9\", toxenv:  py39-sphinx73, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.10\", toxenv: py310-sphinx62, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.10\", toxenv: py310-sphinx70, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.10\", toxenv: py310-sphinx71, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.10\", toxenv: py310-sphinx72, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.10\", toxenv: py310-sphinx73, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.11\", toxenv: py311-sphinx62, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.11\", toxenv: py311-sphinx70, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.11\", toxenv: py311-sphinx71, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.11\", toxenv: py311-sphinx72, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.11\", toxenv: py311-sphinx73, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.12\", toxenv: py312-sphinx62, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.12\", toxenv: py312-sphinx70, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.12\", toxenv: py312-sphinx71, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.12\", toxenv: py312-sphinx72, cache: ~/.cache/pip }\n            - { os:  ubuntu-latest, python: \"3.12\", toxenv: py312-sphinx73, cache: ~/.cache/pip }\n\n            # other OSes\n            #  - test against all other supported OSes, using most recent interpreter/sphinx\n            - { os:   macos-latest, python: \"3.12\", toxenv: py312-sphinx73, cache: ~/Library/Caches/pip }\n            - { os: windows-latest, python: \"3.12\", toxenv: py312-sphinx73, cache: ~\\AppData\\Local\\pip\\Cache }\n\n            # linting\n            #  - any OS, using most recent interpreter\n            - { os: ubuntu-latest, python: \"3.12\", toxenv:   ruff, cache: ~/.cache/pip }\n            - { os: ubuntu-latest, python: \"3.12\", toxenv: pylint, cache: ~/.cache/pip }\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Cache pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ${{ matrix.cache }}\n        key: ${{ matrix.os }}-${{ matrix.python }}-pip-\n\n    - name: Install dependencies\n      run: python -m pip install --upgrade tox\n\n    - name: tox\n      env:\n        TOXENV: ${{ matrix.toxenv }}\n      run: tox\n", "state": "active", "repository": "sphinx-contrib/confluencebuilder"}
{"mined_at": "2024-07-15T13:51:32.976287", "created_at": "2024-02-18T23:41:29+01:00", "updated_at": "2024-02-18T23:41:29+01:00", "name": "Confluence Publish Check", "path": ".github/workflows/confluence-publish-check.yml", "contents": "# Provides a manual action allowing maintainers to trigger a validation\n# run which will publish results to Confluence Cloud.\n#\n#  sphinxcontrib-confluencebuilder -- Development Space\n#  https://sphinxcontrib-confluencebuilder.atlassian.net/wiki/spaces/DEVELOP\n\nname: Confluence Publish Check\n\non:\n  workflow_dispatch:\n    inputs:\n      python:\n        description: 'Python interpreter'\n        required: true\n        default: '3.12'\n      space:\n        description: 'Space'\n        default: 'DEVELOP'\n      test_key:\n        description: 'Test Key (Base Page)'\n        default: 'test-holder'\n      test_desc:\n        description: 'Test Description'\n        default: 'test state'\n      test_version:\n        description: 'Test Version'\n        default: 'main'\n\njobs:\n  build:\n    name: Generate\n    runs-on: ubuntu-latest\n    container: ghcr.io/sphinx-contrib/confluencebuilder/doctest:main\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ github.event.inputs.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ github.event.inputs.python }}\n\n    - name: tox\n      env:\n        CONFLUENCE_AUTH: ${{ secrets.CONFLUENCE_AUTH }}\n        CONFLUENCE_SPACE: ${{ github.event.inputs.space }}\n        CONFLUENCE_TEST_DESC: ${{ github.event.inputs.test_desc }}\n        CONFLUENCE_TEST_KEY: ${{ github.event.inputs.test_key }}\n        CONFLUENCE_TEST_VERSION: ${{ github.event.inputs.test_version }}\n      run: tox -e validation\n", "state": "active", "repository": "sphinx-contrib/confluencebuilder"}
{"mined_at": "2024-07-15T13:51:34.030143", "created_at": "2021-11-21T18:01:32+01:00", "updated_at": "2024-04-08T00:09:55+02:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "# Action which validates the ability to build this extension's documentation.\n\nname: Documentation\n\non:\n  push:\n    branches:\n    - main\n    paths:\n      - '.github/workflows/docs.yml'\n      - 'doc/**'\n      - 'CHANGES.rst'\n  pull_request:\n    branches:\n    - main\n    paths:\n      - '.github/workflows/docs.yml'\n      - 'doc/**'\n      - 'CHANGES.rst'\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    container: ghcr.io/sphinx-contrib/confluencebuilder/doctest:main\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Install\n      run: |\n        python -m venv venv\n        . venv/bin/activate\n        pip install -e .\n\n    - name: HTML\n      run: |\n        . venv/bin/activate\n        cd doc\n        make html\n\n    - name: PDF\n      run: |\n        . venv/bin/activate\n        cd doc\n        make latexpdf\n\n    - name: Archive generated PDF\n      uses: actions/upload-artifact@v4\n      with:\n        name: sphinxcontrib-confluencebuilder.pdf\n        path: doc/_build/latex/sphinxconfluencebuilder.pdf\n        retention-days: 10\n", "state": "active", "repository": "sphinx-contrib/confluencebuilder"}
{"mined_at": "2024-07-15T13:51:35.086743", "created_at": "2024-02-26T00:12:10+01:00", "updated_at": "2024-02-26T00:12:10+01:00", "name": "Publish", "path": ".github/workflows/publish-pypi.yml", "contents": "name: Publish\npermissions: read-all\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  build:\n    name: Build Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.x'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n\n      - name: Build package\n        run: python -m build\n\n      - name: Generate hashes\n        run: |\n          cd dist/\n          sha256sum -b * >SHA256SUMS\n          cat SHA256SUMS\n\n      - name: Store release artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: release-artifacts\n          path: dist/\n\n  pypi-publish:\n    name: Publish to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n      url: https://pypi.org/project/sphinxcontrib-confluencebuilder/\n    needs:\n      - build\n    permissions:\n      id-token: write\n    steps:\n      - name: Acquire release artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: release-artifacts\n          path: dist/\n\n      - name: Prepare distribution\n        run: rm dist/SHA256SUMS\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  draft-release:\n    name: Prepare GitHub Draft Release\n    runs-on: ubuntu-latest\n    environment: release\n    needs:\n      - build\n    permissions:\n      contents: write\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v4\n\n      - name: Acquire release artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: release-artifacts\n          path: dist/\n\n      - name: Prepare GitHub Release\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run:\n          gh release create --draft --verify-tag\n            '${{ github.ref_name }}' dist/**\n", "state": "active", "repository": "sphinx-contrib/confluencebuilder"}
{"mined_at": "2024-07-15T13:51:36.127381", "created_at": "2022-07-25T01:38:24+02:00", "updated_at": "2022-07-25T01:38:24+02:00", "name": "Sphinx Development Check", "path": ".github/workflows/sphinx-dev-check.yml", "contents": "# Provides a manual action allowing developers to trigger a tox run\n# against a specific version of Sphinx directly from Sphinx's official\n# repository. This action can be used by this extension's maintainers\n# as well as sphinx-contrib owners (if needed).\n\nname: Sphinx Development Check\n\non:\n  workflow_dispatch:\n    inputs:\n      python:\n        description: 'Python interpreter'\n        required: true\n        default: '3.12'\n      sphinx:\n        description: 'Sphinx Revision'\n        required: true\n        default: 'master'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ github.event.inputs.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ github.event.inputs.python }}\n\n    - name: Cache pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: ubuntu-latest-${{ github.event.inputs.python }}-pip-\n\n    - name: Install dependencies\n      run: python -m pip install --upgrade tox\n\n    - name: tox\n      env:\n        SPHINX_VER: ${{ github.event.inputs.sphinx }}\n      run: tox -e develop\n", "state": "active", "repository": "sphinx-contrib/confluencebuilder"}
{"mined_at": "2024-07-15T13:51:37.168235", "created_at": "2024-04-07T23:07:19+02:00", "updated_at": "2024-04-07T23:07:19+02:00", "name": "Container (Documentation Testing)", "path": ".github/workflows/test-docker-publish.yml", "contents": "name: Container (Documentation Testing)\n\non:\n  schedule:\n    - cron: '34 2 * * 0'\n  workflow_dispatch:\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}/doctest\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: read\n      packages: write\n      # This is used to complete the identity challenge\n      # with sigstore/fulcio when running outside of PRs.\n      id-token: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Install the cosign tool except on PR\n      # https://github.com/sigstore/cosign-installer\n      - name: Install cosign\n        if: github.event_name != 'pull_request'\n        uses: sigstore/cosign-installer@v3.4.0\n\n      # Set up BuildKit Docker container builder to be able to build\n      # multi-platform images and export cache\n      # https://github.com/docker/setup-buildx-action\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      # Login against a Docker registry except on PR\n      # https://github.com/docker/login-action\n      - name: Log into registry ${{ env.REGISTRY }}\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      # Extract metadata (tags, labels) for Docker\n      # https://github.com/docker/metadata-action\n      - name: Extract Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      # Build and push Docker image with Buildx (don't push on PR)\n      # https://github.com/docker/build-push-action\n      - name: Build and push Docker image\n        id: build-and-push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./support/docker/Dockerfile\n          build-args: |\n            BUILD_MODE=local\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      # Sign the resulting Docker image digest except on PRs.\n      # This will only write to the public Rekor transparency log when the Docker\n      # repository is public to avoid leaking data.  If you would like to publish\n      # transparency data even for private images, pass --force to cosign below.\n      # https://github.com/sigstore/cosign\n      - name: Sign the published Docker image\n        if: ${{ github.event_name != 'pull_request' }}\n        env:\n          # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable\n          TAGS: ${{ steps.meta.outputs.tags }}\n          DIGEST: ${{ steps.build-and-push.outputs.digest }}\n        # This step uses the identity token to provision an ephemeral certificate\n        # against the sigstore community Fulcio instance.\n        run: echo \"${TAGS}\" | xargs -I {} cosign sign --yes {}@${DIGEST}\n", "state": "active", "repository": "sphinx-contrib/confluencebuilder"}
{"mined_at": "2024-07-15T13:51:39.350339", "created_at": "2020-11-28T16:33:08+01:00", "updated_at": "2020-11-28T16:33:08+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "---\nname: CI\non:\n  - push\n  - pull_request\n\njobs:\n  poetry-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref || github.ref }}\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install Poetry\n        run: pipx install poetry\n      - name: Validate pyproject.toml and poetry.lock\n        run: poetry check\n\n  python-lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref || github.ref }}\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Setup environment\n        run: |\n          pipx install poetry\n          poetry config virtualenvs.prefer-active-python true\n      - name: Install dependencies\n        run: poetry install --no-root --only dev\n      - name: Run Ruff formatter\n        run: poetry run ruff format --check --diff\n\n  tests:\n    runs-on: ubuntu-latest\n    needs:\n      - poetry-check\n      - python-lint\n    strategy:\n      matrix:\n        python-version:\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    services:\n      postgres:\n        image: postgres:12\n        ports:\n          - 5432:5432\n        env:\n          POSTGRES_DB: peering_manager\n          POSTGRES_USER: devbox\n          POSTGRES_PASSWORD: devbox\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n      redis:\n        image: redis:6\n        ports:\n          - 6379:6379\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref || github.ref }}\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup environment\n        run: |\n          pipx install poetry\n          poetry config virtualenvs.prefer-active-python true\n          cp peering_manager/configuration.example.py peering_manager/configuration.py\n      - name: Install dependencies\n        run: poetry install --no-root --with dev,docs\n      - name: Build documentation\n        run: poetry run mkdocs build\n      - name: Collect static files\n        run: poetry run python manage.py collectstatic --no-input\n      - name: Check for missing migrations\n        run: poetry run python manage.py makemigrations --check\n      - name: Run tests\n        run: poetry run coverage run manage.py test\n      - name: Generate coverage report\n        run: poetry run coverage xml -i\n      - name: Report coverage\n        uses: coverallsapp/github-action@v2\n        with:\n          flag-name: run-${{ join(matrix.*, '-') }}\n          parallel: true\n          github-token: ${{ secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "peering-manager/peering-manager"}
{"mined_at": "2024-07-15T13:51:41.419312", "created_at": "2021-12-29T13:20:15+01:00", "updated_at": "2023-09-21T07:47:48+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  tests:\n    name: ${{ matrix.session }} ${{ matrix.python }} / ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - { python: \"3.12\", os: \"ubuntu-latest\", session: \"pre-commit\" }\n          - { python: \"3.12\", os: \"ubuntu-latest\", session: \"mypy\" }\n          - { python: \"3.11\", os: \"ubuntu-latest\", session: \"mypy\" }\n          - { python: \"3.10\", os: \"ubuntu-latest\", session: \"mypy\" }\n          - { python: \"3.9\", os: \"ubuntu-latest\", session: \"mypy\" }\n          - { python: \"3.12\", os: \"ubuntu-latest\", session: \"tests\" }\n          - { python: \"3.11\", os: \"ubuntu-latest\", session: \"tests\" }\n          - { python: \"3.10\", os: \"ubuntu-latest\", session: \"tests\" }\n          - { python: \"3.9\", os: \"ubuntu-latest\", session: \"tests\" }\n          - { python: \"3.12\", os: \"windows-latest\", session: \"tests\" }\n          - { python: \"3.11\", os: \"windows-latest\", session: \"tests\" }\n          - { python: \"3.10\", os: \"windows-latest\", session: \"tests\" }\n          - { python: \"3.9\", os: \"windows-latest\", session: \"tests\" }\n          - { python: \"3.12\", os: \"macos-latest\", session: \"tests\" }\n          - { python: \"3.11\", os: \"macos-latest\", session: \"tests\" }\n          - { python: \"3.10\", os: \"macos-latest\", session: \"tests\" }\n          - { python: \"3.9\", os: \"macos-latest\", session: \"tests\" }\n          - { python: \"3.12\", os: \"macos-13\", session: \"tests\" }\n          - { python: \"3.11\", os: \"macos-13\", session: \"tests\" }\n          - { python: \"3.10\", os: \"macos-13\", session: \"tests\" }\n          - { python: \"3.9\", os: \"macos-13\", session: \"tests\" }\n          - { python: \"3.10\", os: \"ubuntu-latest\", session: \"docs-build\" }\n\n    env:\n      NOXSESSION: ${{ matrix.session }}\n      FORCE_COLOR: \"1\"\n      PRE_COMMIT_COLOR: \"always\"\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Upgrade pip\n        run: |\n          pip install --constraint=.github/workflows/constraints.txt pip\n          pip --version\n\n      - name: Upgrade pip in virtual environments\n        shell: python\n        run: |\n          import os\n          import pip\n\n          with open(os.environ[\"GITHUB_ENV\"], mode=\"a\") as io:\n              print(f\"VIRTUALENV_PIP={pip.__version__}\", file=io)\n\n      - name: Install Poetry\n        run: |\n          pipx install --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt poetry\n          poetry --version\n\n      - name: Install Nox\n        run: |\n          pipx install --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt nox\n          pipx inject --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt nox nox-poetry\n          nox --version\n\n      - name: Install pandoc\n        if: matrix.session == 'docs-build'\n        uses: pandoc/actions/setup@v1\n\n      - name: Compute pre-commit cache key\n        if: matrix.session == 'pre-commit'\n        id: pre-commit-cache\n        shell: python\n        run: |\n          import hashlib\n          import sys\n\n          python = \"py{}.{}\".format(*sys.version_info[:2])\n          payload = sys.version.encode() + sys.executable.encode()\n          digest = hashlib.sha256(payload).hexdigest()\n          result = \"${{ runner.os }}-{}-{}-pre-commit\".format(python, digest[:8])\n\n          print(\"::set-output name=result::{}\".format(result))\n\n      - name: Restore pre-commit cache\n        uses: actions/cache@v4\n        if: matrix.session == 'pre-commit'\n        with:\n          path: ~/.cache/pre-commit\n          key: ${{ steps.pre-commit-cache.outputs.result }}-${{ hashFiles('.pre-commit-config.yaml') }}\n          restore-keys: |\n            ${{ steps.pre-commit-cache.outputs.result }}-\n\n      - name: Run Nox\n        run: |\n          nox --python=${{ matrix.python }}\n\n      - name: Upload coverage data\n        if: always() && matrix.session == 'tests'\n        uses: \"actions/upload-artifact@v3\"\n        with:\n          name: coverage-data\n          path: \".coverage.*\"\n\n      - name: Upload documentation\n        if: matrix.session == 'docs-build'\n        uses: actions/upload-artifact@v3\n        with:\n          name: docs\n          path: docs/_build\n\n  coverage:\n    runs-on: ubuntu-latest\n    needs: tests\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Upgrade pip\n        run: |\n          pip install --constraint=.github/workflows/constraints.txt pip\n          pip --version\n\n      - name: Install Poetry\n        run: |\n          pipx install --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt poetry\n          poetry --version\n\n      - name: Install Nox\n        run: |\n          pipx install --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt nox\n          pipx inject --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt nox nox-poetry\n          nox --version\n\n      - name: Download coverage data\n        uses: actions/download-artifact@v3\n        with:\n          name: coverage-data\n\n      - name: Combine coverage data and display human readable report\n        run: |\n          nox --session=coverage\n\n      - name: Create coverage report\n        run: |\n          nox --session=coverage -- xml -i\n\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v3.1.4\n", "state": "active", "repository": "robbievanleeuwen/section-properties"}
{"mined_at": "2024-07-15T13:51:42.770101", "created_at": "2022-01-17T14:17:52+01:00", "updated_at": "2022-01-17T14:17:52+01:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/first-interaction@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          issue-message: \"Thanks for opening your first issue in ``sectionproperties`` :raised_hands: Pull requests are always welcome :wink:\"\n          pr-message: \"Thank you for your contribution to ``sectionproperties`` :pray: We will be reviewing your PR shortly :monocle_face:\"\n", "state": "active", "repository": "robbievanleeuwen/section-properties"}
{"mined_at": "2024-07-15T13:51:44.006459", "created_at": "2023-10-03T05:37:21+02:00", "updated_at": "2023-10-03T05:37:21+02:00", "name": "Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: Labeler\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  labeler:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Run Labeler\n        uses: crazy-max/ghaction-github-labeler@v5.0.0\n        with:\n          skip-delete: true\n", "state": "active", "repository": "robbievanleeuwen/section-properties"}
{"mined_at": "2024-07-15T13:51:45.036588", "created_at": "2023-10-03T05:37:21+02:00", "updated_at": "2023-10-03T05:37:21+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Upgrade pip\n        run: |\n          pip install --constraint=.github/workflows/constraints.txt pip\n          pip --version\n\n      - name: Install Poetry\n        run: |\n          pip install --constraint=.github/workflows/constraints.txt poetry\n          poetry --version\n\n      - name: Check if there is a parent commit\n        id: check-parent-commit\n        run: |\n          echo \"::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)\"\n\n      - name: Detect and tag new version\n        id: check-version\n        if: steps.check-parent-commit.outputs.sha\n        uses: salsify/action-detect-and-tag-new-version@v2.0.3\n        with:\n          version-command: |\n            bash -o pipefail -c \"poetry version | awk '{ print \\$2 }'\"\n\n      - name: Bump version for developmental release\n        if: \"! steps.check-version.outputs.tag\"\n        run: |\n          poetry version patch &&\n          version=$(poetry version | awk '{ print $2 }') &&\n          poetry version $version.dev.$(date +%s)\n\n      - name: Build package\n        run: |\n          poetry build --ansi\n\n      - name: Publish package on PyPI\n        if: steps.check-version.outputs.tag\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n      - name: Publish package on TestPyPI\n        if: \"! steps.check-version.outputs.tag\"\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n\n      - name: Publish the release notes\n        uses: release-drafter/release-drafter@v6.0.0\n        with:\n          publish: ${{ steps.check-version.outputs.tag != '' }}\n          tag: ${{ steps.check-version.outputs.tag }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "robbievanleeuwen/section-properties"}
{"mined_at": "2024-07-15T13:51:47.133683", "created_at": "2024-03-09T18:55:56+01:00", "updated_at": "2024-03-09T19:30:19+01:00", "name": "Run code formatters", "path": ".github/workflows/formatter.yaml", "contents": "name: Run code formatters\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    - name: Set up Python 3.9.17\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9.17\n\n    - name: Install pipenv\n      run: |\n        python -m pip install --upgrade pip\n        pip install pipenv\n\n    - name: Install dependencies\n      run: |\n        pipenv install --dev --system\n\n    - name: Run isort\n      run: isort --check-only .\n\n    - name: Run black\n      run: black --check --diff .\n", "state": "active", "repository": "chicagopython/chipy.org"}
{"mined_at": "2024-07-15T13:51:48.240051", "created_at": "2024-03-09T18:55:56+01:00", "updated_at": "2024-03-09T19:30:19+01:00", "name": "Run test suite", "path": ".github/workflows/tests.yaml", "contents": "name: Run test suite\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    services:\n      docker:\n        image: docker:19.03.12\n        options: --privileged\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    - name: Build and run the Docker containers\n      run: |\n        cp docker/docker.env.sample docker/docker.env\n        docker-compose up --build -d\n\n    - name: Run pytest in Docker container\n      run: |\n        docker-compose exec -t web pytest -v chipy_org/\n", "state": "active", "repository": "chicagopython/chipy.org"}
{"mined_at": "2024-07-15T13:51:50.325882", "created_at": "2021-01-11T23:17:04+01:00", "updated_at": "2021-03-20T23:31:36+01:00", "name": "Release builds", "path": ".github/workflows/stable-releases.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Release builds\n\non:\n  push:\n    tags:\n      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Install dependencies\n        run: |\n          sudo apt install -y python3.8-minimal python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace git\n          sudo wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /usr/local/bin/appimagetool\n          sudo chmod +x /usr/local/bin/appimagetool\n      - uses: actions/checkout@v3\n      - name: Install appimage-builder\n        run: |\n          git config --global --add safe.directory $PWD\n          git fetch --prune --unshallow\n          sudo python3.8 -m pip install .\n      - name: Build AppImage\n        run: |\n          cd recipes/appimage-builder\n          export APPIMAGE_BUILDER_VERSION=$(appimage-builder --version | head -1 | cut -f 2 -d\" \")\n          appimage-builder --skip-test\n      - name: Upload Artifacts\n        uses: actions/upload-artifact@v2.1.4\n        with:\n          name: appimage-builder\n          path: 'recipes/appimage-builder/appimage-builder*.AppImage*'\n  test:\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - uses: actions/checkout@v3\n      - name: Download AppImage from build job\n        uses: actions/download-artifact@v2\n        with:\n          name: appimage-builder\n      - name: Install dependencies\n        run: |\n          sudo apt install -y adwaita-icon-theme\n      - name: Pack bash\n        run: |\n          # build bash\n          BUILDER_PATH=$(find $PWD -name appimage-builder-*.AppImage)\n          chmod +x \"$BUILDER_PATH\"\n          cd recipes/bash/\n          \"$BUILDER_PATH\" --skip-test\n      - name: Test bash\n        run: |\n          recipes/bash/*.AppImage --appimage-extract-and-run -c \"echo Hello World\"\n      - name: Upload Artifacts\n        uses: actions/upload-artifact@v2.1.4\n        with:\n          name: bash\n          path: 'recipes/bash/*.AppImage*'\n  publish-appimage:\n    runs-on: ubuntu-20.04\n    needs: test\n    steps:\n      - name: Download AppImage from build job\n        uses: actions/download-artifact@v2\n        with:\n          name: appimage-builder\n      - uses: \"marvinpinto/action-automatic-releases@latest\"\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          prerelease: false\n          files: 'appimage-builder*.AppImage*'\n  publish-python-wheel:\n    runs-on: ubuntu-latest\n    needs: test\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "appimagecrafters/appimage-builder"}
{"mined_at": "2024-07-15T13:51:51.448162", "created_at": "2021-02-01T23:08:22+01:00", "updated_at": "2021-02-02T02:43:22+01:00", "name": "Continuous Builds", "path": ".github/workflows/continuous-builds.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Continuous Builds\n\non:\n  push:\n    branches:\n      - '**'\n    tags:\n      - '!**'\n\njobs:\n  pytest-ubuntu-focal:\n    runs-on: ubuntu-latest\n    container: ubuntu:22.04\n    steps:\n      - name: Install dependencies\n        run: |\n          apt-get update \n          apt-get install -y python3.11 python3-pip python3-pytest fakeroot binutils patchelf git\n      - uses: actions/checkout@v3\n      - name: Install appimage-builder\n        run: |\n          git config --global --add safe.directory $PWD\n          git fetch --prune --unshallow\n          python3 -m pip install -e .[dev]\n      - name: Run pytest\n        run: python3 -m unittest\n\n  pytest-archlinux:\n    runs-on: ubuntu-latest\n    container: archlinux\n    steps:\n      - name: Install dependencies\n        run: pacman -Syu --noconfirm python-pip python-pytest python-setuptools binutils patchelf fakeroot strace patchelf git\n      - uses: actions/checkout@v3\n      - name: Install appimage-builder\n        run: |\n          git config --global --add safe.directory $PWD\n          git fetch --prune --unshallow\n          python3 -m pip install -e .[dev]\n      - name: Run pytest\n        run: python3 -m unittest\n\n  build:\n    runs-on: ubuntu-latest\n    needs: [ pytest-ubuntu-focal, pytest-archlinux ]\n    steps:\n      - name: Install dependencies\n        run: |\n          sudo apt install -y python3.11-minimal python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace git\n          sudo wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /usr/local/bin/appimagetool\n          sudo chmod +x /usr/local/bin/appimagetool\n      - uses: actions/checkout@v3\n      - name: Install appimage-builder\n        run: |\n          git config --global --add safe.directory $PWD\n          git fetch --prune --unshallow\n          sudo python3.11 -m pip install .\n      - name: Build AppImage\n        run: |\n          cd recipes/appimage-builder\n          export APPIMAGE_BUILDER_VERSION=$(appimage-builder --version | head -1 | cut -f 2 -d\" \")\n          appimage-builder --skip-test\n      - name: Upload Artifacts\n        uses: actions/upload-artifact@v2.1.4\n        with:\n          name: appimage-builder\n          path: 'recipes/appimage-builder/appimage-builder*.AppImage*'\n  test-pack-bash:\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - uses: actions/checkout@v3\n      - name: Download AppImage from build job\n        uses: actions/download-artifact@v2\n        with:\n          name: appimage-builder\n      - name: Install dependencies\n        run: |\n          sudo apt install -y adwaita-icon-theme\n      - name: Pack bash\n        run: |\n          # build bash\n          BUILDER_PATH=$(find $PWD -name appimage-builder-*.AppImage)\n          chmod +x \"$BUILDER_PATH\"\n          cd recipes/bash/\n          \"$BUILDER_PATH\" --skip-test\n      - name: Test bash\n        run: |\n          recipes/bash/*.AppImage --appimage-extract-and-run -c \"echo Hello World\"\n      - name: Upload Artifacts\n        uses: actions/upload-artifact@v2.1.4\n        with:\n          name: bash\n          path: 'recipes/bash/*.AppImage*'\n  publish:\n    runs-on: ubuntu-latest\n    needs: test-pack-bash\n    if: github.ref == 'refs/heads/main'\n    steps:\n      - name: Download AppImage from build job\n        uses: actions/download-artifact@v2\n        with:\n          name: appimage-builder\n      - uses: \"marvinpinto/action-automatic-releases@latest\"\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          prerelease: true\n          automatic_release_tag: Continuous\n          files: 'appimage-builder*.AppImage*'\n", "state": "active", "repository": "appimagecrafters/appimage-builder"}
{"mined_at": "2024-07-15T13:51:53.490840", "created_at": "2019-12-30T23:00:22+01:00", "updated_at": "2020-01-10T18:49:28+01:00", "name": "Connector Packager CI", "path": ".github/workflows/packaging.yml", "contents": "name: Connector Packager CI\non: [push]\n\njobs:\n  test:\n    strategy:\n      matrix:\n        java: ['1.8', '1.9', '1.10', '1.11', '1.12']\n        os: [windows-latest, macos-latest, ubuntu-latest]\n    runs-on: ${{matrix.os}}\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: 3.9\n    - name: Set up Java\n      uses: actions/setup-java@v1\n      with:\n        java-version: ${{matrix.java}}\n    - name: Run Connector Packager unit tests with JDK ${{ matrix.java }}\n      run: |\n        cd connector-packager\n        python setup.py test\n", "state": "active", "repository": "tableau/connector-plugin-sdk"}
{"mined_at": "2024-07-15T13:51:54.565124", "created_at": "2019-12-30T23:00:23+01:00", "updated_at": "2019-12-30T23:06:42+01:00", "name": "TDVT CI", "path": ".github/workflows/tdvt.yml", "contents": "name: TDVT CI\non: [push]\n\njobs:\n  test:\n    strategy:\n      matrix:\n        os: [windows-latest, macos-latest, ubuntu-latest]\n    runs-on: ${{matrix.os}}\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: 3.9\n    - name: Install TDVT\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e tdvt/\n    - name: Run TDVT unit tests\n      run: |\n        cd tdvt/test\n        python tdvt_test.py -v CommandLineTest ConfigTest DiffTest PrintConfigurationsTest ResultsTest ResultsExceptionTest TestCreatorTest MangleTest\n", "state": "active", "repository": "tableau/connector-plugin-sdk"}
{"mined_at": "2024-07-15T13:51:55.653957", "created_at": "2021-12-16T22:57:46+01:00", "updated_at": "2021-12-16T22:57:46+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tableau/connector-plugin-sdk"}
{"mined_at": "2024-07-15T13:51:57.820129", "created_at": "2024-07-08T20:14:38+02:00", "updated_at": "2024-07-08T20:14:38+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "bcgov/aries-vcr"}
{"mined_at": "2024-07-15T13:52:00.073076", "created_at": "2020-01-11T01:40:32+01:00", "updated_at": "2020-01-11T01:40:32+01:00", "name": "test", "path": "", "contents": null, "state": "active", "repository": "diofant/diofant"}
{"mined_at": "2024-07-15T13:52:01.358352", "created_at": "2022-11-11T18:58:15+01:00", "updated_at": "2022-11-14T05:16:17+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"43 10 * * 4\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n          config-file: ./.github/codeql/config.yml\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "diofant/diofant"}
{"mined_at": "2024-07-15T13:52:02.550255", "created_at": "2019-12-20T10:03:27+01:00", "updated_at": "2020-11-01T07:50:34+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 0 * * 2'\njobs:\n  test:\n    permissions:\n      contents: write\n    strategy:\n      matrix:\n        python-version: ['3.11', '3.12']\n        coverage: [false]\n        include:\n          - python-version: '3.11'\n            coverage: true\n    runs-on: ubuntu-latest\n    env:\n      TERM: xterm\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n    - name: Install libs\n      run: |\n        sudo apt update\n        sudo apt install graphviz texlive-xetex texlive-fonts-recommended \\\n                         fonts-freefont-otf latexmk lmodern\n        sudo apt install libatlas-base-dev liblapack-dev gfortran\n    - name: Install dependencies\n      run: |\n        pip install -U pip setuptools wheel\n        pip install -U .[interactive,develop,gmpy,exports,docs]\n    - name: Install ~/.python_history\n      run: touch ~/.python_history\n    - name: Linting with flake8 and pylint\n      if: ${{ ! github.event_name.schedule }}\n      run: |\n        flake518\n        pylint diofant\n    - name: Run type checks with mypy\n      run: mypy diofant\n    - name: Tests\n      if: matrix.coverage == false\n      env:\n        PYTEST_ADDOPTS: --doctest-modules --color yes\n      run: pytest\n    - name: Coverage tests\n      if: matrix.coverage\n      env:\n        PYTEST_ADDOPTS: --color yes --cov diofant --cov-append -m \"not slow and not xfail and not regression\" --ignore docs\n      run: |\n        pytest\n        pip uninstall -y gmpy2 numpy IPython\n        DIOFANT_GROUND_TYPES='gmpy' pytest diofant/tests/domains\n        pytest diofant/tests/polys\n        pytest diofant/tests/external diofant/tests/utilities\n        pytest diofant/tests/test_cli.py\n        coverage html\n        coverage xml\n    - name: Upload coverage data\n      if: matrix.coverage\n      uses: codecov/codecov-action@v4\n      with:\n        files: ./coverage.xml\n        fail_ci_if_error: true\n        token: ${{ secrets.CODECOV_TOKEN }}\n        version: v0.6.0  # Workaround for codecov/codecov-action#1487\n    - name: Get version\n      id: release\n      run: |\n        export VERSION=$(python -c 'import diofant;print(diofant.__version__)')\n        echo ::set-output name=version::${VERSION}\n        echo ::set-output name=short_version::$(echo ${VERSION}|sed 's/\\([0-9]\\+\\.[0-9]\\+\\).*$/\\1/')\n    - name: Building docs\n      run: |\n        sphinx-build --color -W --keep-going -b html docs build/sphinx/html\n        sphinx-build --color -W --keep-going -b latex docs build/sphinx/latex\n        make -C build/sphinx/latex all-pdf\n    - name: Prepare update for docs on Github Pages\n      run: |\n        wget -q https://github.com/diofant/diofant.github.io/archive/master.zip\n        unzip -x master.zip\n        rsync -a --delete build/sphinx/html/ diofant.github.io-master/en/latest/\n    - name: Make packages\n      run: python -m build\n    - name: Archive production artifacts\n      uses: actions/upload-artifact@v4\n      if: matrix.coverage\n      with:\n        path: |\n          dist/\n          build/sphinx/html/\n          build/sphinx/latex/Diofant-*.pdf\n          coverage.xml\n          build/coverage/html/\n    - name: Upload docs to Github Pages\n      if: github.event_name == 'push' && matrix.coverage\n      uses: peaceiris/actions-gh-pages@v3\n      with:\n        deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}\n        external_repository: diofant/diofant.github.io\n        publish_branch: master\n        publish_dir: diofant.github.io-master\n    - name: Publish on Github Releases\n      uses: softprops/action-gh-release@v1\n      if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && matrix.coverage\n      with:\n        files: |\n          dist/*\n          build/sphinx/latex/Diofant-*.pdf\n        draft: true\n        prerelease: true\n        name: \"Diofant ${{ steps.release.outputs.version }}\"\n        body: \"See [release notes](https://diofant.readthedocs.io/\\\n               en/latest/release/notes-${{ steps.release.outputs.short_version }}.html).\"\n        token: ${{ secrets.RELEASES_DEPLOY_KEY }}\n    - name: Publish package on PyPI\n      if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && matrix.coverage\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "diofant/diofant"}
{"mined_at": "2024-07-15T13:52:04.782292", "created_at": "2020-04-28T16:41:50+02:00", "updated_at": "2020-04-28T16:41:50+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\non:\n  release:\n    types:\n      - published\njobs:\n  build-and-publish:\n    name: Build package and publish to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install dependencies\n        run: python3 -m pip install flit\n      - name: Build package\n        run: python3 -m flit build\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.1.0\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "evalf/nutils"}
{"mined_at": "2024-07-15T13:52:05.910128", "created_at": "2020-04-09T16:34:53+02:00", "updated_at": "2023-12-19T13:36:01+01:00", "name": "test", "path": ".github/workflows/test.yaml", "contents": "name: test\non:\n  pull_request:\n  push:\n    branches:\n      - master\n      - release/*\ndefaults:\n  run:\n    shell: bash\nenv:\n  official_container_repository: ghcr.io/evalf/nutils\njobs:\n  build-python-package:\n    name: Build Python package\n    runs-on: ubuntu-latest\n    outputs:\n      wheel: ${{ steps.build.outputs.wheel }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install build dependencies\n        run: python3 -m pip install flit\n      - name: Build package\n        id: build\n        run: |\n          # To make the wheels reproducible, set the timestamp of the (files in\n          # the) generated wheels to the date of the commit.\n          export SOURCE_DATE_EPOCH=`git show -s --format=%ct`\n          python3 -m flit build\n          echo wheel=`echo dist/*.whl` >> $GITHUB_OUTPUT\n      - name: Upload package artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package\n          path: dist/\n          if-no-files-found: error\n  test:\n    needs: build-python-package\n    name: 'Test ${{ matrix.name }}'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          - {name: \"baseline\", os: ubuntu-latest, python-version: \"3.12\", matrix-backend: numpy, nprocs: 1}\n          - {name: \"windows\", os: windows-latest, python-version: \"3.12\", matrix-backend: numpy, nprocs: 1}\n          - {name: \"macos\", os: macos-latest, python-version: \"3.12\", matrix-backend: numpy, nprocs: 1}\n          - {name: \"python 3.8\", os: ubuntu-latest, python-version: \"3.8\", matrix-backend: numpy, nprocs: 1}\n          - {name: \"python 3.9\", os: ubuntu-latest, python-version: \"3.9\", matrix-backend: numpy, nprocs: 1}\n          - {name: \"python 3.10\", os: ubuntu-latest, python-version: \"3.10\", matrix-backend: numpy, nprocs: 1}\n          - {name: \"python 3.11\", os: ubuntu-latest, python-version: \"3.11\", matrix-backend: numpy, nprocs: 1}\n          - {name: \"scipy matrix\", os: ubuntu-latest, python-version: \"3.12\", matrix-backend: scipy, nprocs: 1}\n          - {name: \"mkl linux\", os: ubuntu-latest, python-version: \"3.12\", matrix-backend: mkl, nprocs: 1}\n          - {name: \"mkl linux parallel\", os: ubuntu-latest, python-version: \"3.12\", matrix-backend: mkl, nprocs: 2}\n          - {name: \"mkl windows\", os: windows-latest, python-version: \"3.12\", matrix-backend: mkl, nprocs: 1}\n          - {name: \"parallel\", os: ubuntu-latest, python-version: \"3.12\", matrix-backend: numpy, nprocs: 2}\n          - {name: \"numpy 1.17\", os: ubuntu-latest, python-version: \"3.8\", matrix-backend: numpy, nprocs: 1, numpy-version: ==1.17.3}\n          - {name: \"tensorial\", os: ubuntu-latest, python-version: \"3.12\", matrix-backend: numpy, nprocs: 1, tensorial: test}\n      fail-fast: false\n    env:\n      _wheel: ${{ needs.build-python-package.outputs.wheel }}\n      NUTILS_MATRIX: ${{ matrix.matrix-backend }}\n      NUTILS_NPROCS: ${{ matrix.nprocs }}\n      NUTILS_DEBUG: all\n      OMP_NUM_THREADS: 1\n      VECLIB_MAXIMUM_THREADS: 1\n      MKL_DYNAMIC: FALSE\n      MKL_NUM_THREADS: 1\n      PYTHONHASHSEED: 0\n      NUTILS_TENSORIAL: ${{ matrix.tensorial }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Move nutils directory\n        run: mv nutils _nutils\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Download Python package artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package\n          path: dist/\n      - name: Install Graphviz\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: sudo apt install -y graphviz\n      - name: Install Nutils and dependencies\n        id: install\n        env:\n          _numpy_version: ${{ matrix.numpy-version }}\n        run: |\n          python -um pip install --upgrade --upgrade-strategy eager wheel\n          python -um pip install --upgrade --upgrade-strategy eager numpy$_numpy_version\n          # Install Nutils from `dist` dir created in job `build-python-package`.\n          python -um pip install \"$_wheel[import_gmsh,export_mpl]\"\n      - name: Install Scipy\n        if: ${{ matrix.matrix-backend == 'scipy' }}\n        run: python -um pip install --upgrade scipy\n      - name: Configure MKL\n        if: ${{ matrix.matrix-backend == 'mkl' }}\n        run: |\n          python -um pip install --upgrade --upgrade-strategy eager mkl\n          python -um devtools.gha.configure_mkl\n      - name: Test\n        env:\n          COVERAGE_ID: ${{ matrix.name }}\n        run: python -um devtools.gha.unittest\n      - name: Upload coverage artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: _coverage_${{ matrix.name }}\n          path: target/coverage/\n          if-no-files-found: error\n  process-coverage:\n    if: ${{ always() }}\n    needs: test\n    name: 'Test coverage'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Download coverage artifacts\n        uses: actions/download-artifact@v4\n        with:\n          pattern: _coverage_*\n          path: target/coverage\n          merge-multiple: true\n      - name: Generate summary\n        run: python -um devtools.gha.report_coverage\n      - name: Upload lcov artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage\n          path: target/coverage/coverage.info\n      - name: Delete temporary coverage artifacts\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: python -um devtools.gha.delete_coverage_artifacts\n  test-examples:\n    needs: build-python-package\n    name: 'Test examples ${{ matrix.os }}'\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n      matrix:\n        os: [ubuntu, macos, windows]\n      fail-fast: false\n    env:\n      _wheel: ${{ needs.build-python-package.outputs.wheel }}\n      NUTILS_MATRIX: scipy\n      NUTILS_NPROCS: 1\n      NUTILS_DEBUG: all\n      OMP_NUM_THREADS: 1\n      VECLIB_MAXIMUM_THREADS: 1\n      PYTHONHASHSEED: 0\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Move nutils directory\n        run: mv nutils _nutils\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Download Python package artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package\n          path: dist/\n      - name: Install Nutils and dependencies\n        id: install\n        run: |\n          python -um pip install --upgrade --upgrade-strategy eager wheel\n          # Install Nutils from `dist` dir created in job `build-python-package`.\n          python -um pip install \"$_wheel[matrix_scipy,export_mpl]\"\n      - name: Test\n        run: python -um unittest discover -b -q -t . -s examples\n  test-sphinx:\n    name: Test building docs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install dependencies\n        run: |\n          python3 -um pip install setuptools wheel\n          python3 -um pip install --upgrade --upgrade-strategy eager .[docs]\n      - name: Build docs\n        run: python3 -m sphinx -n -W --keep-going docs build/sphinx/html\n  build-and-test-container-image:\n    name: Build container image\n    needs: build-python-package\n    runs-on: ubuntu-latest\n    env:\n      # Fixes https://github.com/actions/virtual-environments/issues/3080\n      STORAGE_OPTS: overlay.mount_program=/usr/bin/fuse-overlayfs\n      _wheel: ${{ needs.build-python-package.outputs.wheel }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Download Python package artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package\n          path: dist/\n      - name: Get base and image tags\n        id: tags\n        run: python3 -um devtools.gha.get_base_and_image_tags\n      - name: Pull container base image\n        env:\n          _base: ${{ env.official_container_repository }}:${{ steps.tags.outputs.base }}\n        run: podman pull \"docker://$_base\"\n      - name: Build container image\n        id: build\n        env:\n          _base: ${{ env.official_container_repository }}:${{ steps.tags.outputs.base }}\n          _name: ${{ env.official_container_repository }}:${{ steps.tags.outputs.image }}\n        run: python3 -um devtools.container.build --revision \"$GITHUB_SHA\" --wheel \"$_wheel\" --examples examples --name \"$_name\" --base \"$_base\"\n      - name: Test examples/laplace.py\n        env:\n          _image: ${{ steps.build.outputs.id }}\n        run: |\n          mkdir /tmp/log\n          podman run --pull=never --rm -v /tmp/log:/log:rw \"$_image\" laplace\n          if [ ! -e /tmp/log/log.html ]; then\n            echo ::error ::\"log file not generated\"\n            exit 1\n          fi\n      - name: Run unit tests\n        env:\n          _image: ${{ steps.build.outputs.id }}\n        run: podman run --pull=never --rm -v \"$PWD/tests:/app/tests:ro\" -v \"$PWD/examples:/app/examples:ro\" --env NUTILS_DEBUG=all \"$_image\" -m unittest -bq\n      - name: Push image to container registry\n        if: ${{ github.event_name == 'push' }}\n        env:\n          _username: ${{ secrets.DOCKER_USERNAME }}\n          _password: ${{ secrets.DOCKER_PASSWORD }}\n          _repository: ${{ secrets.DOCKER_REPOSITORY }}\n          _image_id: ${{ steps.build.outputs.id }}\n          _tag: ${{ steps.tags.outputs.image }}\n        run: |\n          # Push the image to the official container repository if this\n          # workflow is triggered from the official git repository, otherwise\n          # use the `DOCKER_REPOSITORY` secret.\n          case \"$GITHUB_REPOSITORY\" in\n            evalf/nutils)\n              _repository=\"$official_container_repository\"\n              ;;\n            *)\n              if [ -z \"$_repository\" ]; then\n                echo ::error ::\"Github secret DOCKER_REPOSITORY is empty\"\n                exit 1\n              fi\n              ;;\n          esac\n          # Login without exposing the password via the command line as recommended by GitHub\n          # (https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets#using-encrypted-secrets-in-a-workflow).\n          printenv _password | podman login --username \"$_username\" --password-stdin \"${_repository%%/*}\"\n          podman push \"$_image_id\" \"docker://$_repository:$_tag\"\n", "state": "active", "repository": "evalf/nutils"}
{"mined_at": "2024-07-15T13:52:08.164964", "created_at": "2023-12-15T18:27:02+01:00", "updated_at": "2023-12-18T20:34:42+01:00", "name": "Build Docs", "path": ".github/workflows/build-docs.yml", "contents": "name: Build Docs\non:\n  push:\n    branches:\n      - master\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure Git Credentials\n        run: |\n          git config user.name github-actions[bot]\n          git config user.email 41898282+github-actions[bot]@users.noreply.github.com\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - run: echo \"cache_id=$(date --utc '+%V')\" >> $GITHUB_ENV\n      - uses: actions/cache@v3\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n      - run: pip install mkdocs mkdocs-material mkdocstrings mkdocstrings-python termynal markdown-include mkdocs-open-in-new-tab\n      - run: mkdocs gh-deploy --force\n", "state": "active", "repository": "sage-bionetworks/synapsepythonclient"}
{"mined_at": "2024-07-15T13:52:09.314803", "created_at": "2020-09-30T19:59:45+02:00", "updated_at": "2024-05-29T00:47:51+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "# GitHub Action workflow for testing, building, and releasing the Synapse Python Client.\n\n# - all pushes, releases, and pull requests  are tested against unit tests, and additionally\n#     integration tests if account configuration secrets are available.\n# - releases are additionally packaged, uploaded as build and release artifacts,\n#     and deployed to pypi servers (test.pypi.org for prereleases, and pypi.org for releases)\n#     Release tags must conform to our semver versioning, e.g. v1.2.3 in order to be packaged\n#     for pypi deployment.\n# - all pushes to the `develop` branch of the repository trigger a docker build and push to ghcr.io\n#     with the image tag named after the sha of the commit,\n#     e.g. `ghcr.io/sage-bionetworks/synapsepythonclient:develop-abc123`\n# - all non-prerelease releases trigger a docker build and push to ghcr.io with the image tag named\n#     after the release tag, e.g. `ghcr.io/sage-bionetworks/synapsepythonclient:1.2.3`\n\nname: build\n\non:\n  push:\n    # we test all pushed branches, but not tags.\n    # we only push tags with releases, and we handle releases explicitly\n    branches:\n      - '**'\n    tags-ignore:\n      - '**'\n\n  release:\n    types:\n      - 'published'\n\njobs:\n\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n    - uses: pre-commit/action@v3.0.0\n\n\n  # run unit (and integration tests if account secrets available) on our build matrix\n  test:\n    needs: [pre-commit]\n\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, macos-12, windows-2022]\n\n        # if changing the below change the run-integration-tests versions and the check-deploy versions\n        python: [3.8, '3.9', '3.10', '3.11']\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: get-dependencies-location\n        shell: bash\n        run: |\n          SITE_PACKAGES_LOCATION=$(python -c \"from distutils.sysconfig import get_python_lib; print(get_python_lib())\")\n          SITE_BIN_DIR=$(python3 -c \"import os; import platform; import distutils.sysconfig; pre = distutils.sysconfig.get_config_var('prefix'); bindir = os.path.join(pre, 'Scripts' if platform.system() == 'Windows' else 'bin'); print(bindir)\")\n          echo \"site_packages_loc=$SITE_PACKAGES_LOCATION\" >> $GITHUB_OUTPUT\n          echo \"site_bin_dir=$SITE_BIN_DIR\" >> $GITHUB_OUTPUT\n        id: get-dependencies\n\n      - name: Cache py-dependencies\n        id: cache-dependencies\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-py-dependencies\n        with:\n          path: |\n            ${{ steps.get-dependencies.outputs.site_packages_loc }}\n            ${{ steps.get-dependencies.outputs.site_bin_dir }}\n          key: ${{ runner.os }}-${{ matrix.python }}-build-${{ env.cache-name }}-${{ hashFiles('setup.py') }}-v17\n\n      - name: Install py-dependencies\n        if: steps.cache-dependencies.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          pip install -e \".[boto3,pandas,pysftp,tests]\"\n\n          # ensure that numpy c extensions are installed on windows\n          # https://stackoverflow.com/a/59346525\n          if [ \"${{startsWith(runner.os, 'Windows')}}\" == \"true\" ]; then\n            pip uninstall -y numpy\n            pip uninstall -y setuptools\n            pip install setuptools\n            pip install numpy\n          fi\n\n      - name: run-unit-tests\n        shell: bash\n        run: |\n          pytest -sv --cov-append --cov=. --cov-report xml tests/unit\n      - name: Check for Secret availability\n        id: secret-check\n        if: ${{ contains(fromJSON('[\"3.9\"]'), matrix.python) }}\n        # perform secret check & put boolean result as an output\n        shell: bash\n        run: |\n          if [ -z \"${{ secrets.encrypted_d17283647768_key }}\" ]  || [ -z \"${{ secrets.encrypted_d17283647768_iv }}\" ]; then\n            echo \"secrets_available=false\" >> $GITHUB_OUTPUT;\n          else\n            echo \"secrets_available=true\" >> $GITHUB_OUTPUT;\n          fi\n\n          if [ -z \"${{ secrets.synapse_personal_access_token }}\" ]; then\n            echo \"synapse_pat_available=false\" >> $GITHUB_OUTPUT;\n          else\n            echo \"synapse_pat_available=true\" >> $GITHUB_OUTPUT;\n          fi\n      - name: OpenTelemtry pre-check\n        id: otel-check\n        if: ${{ steps.secret-check.outputs.secrets_available == 'true' && steps.secret-check.outputs.synapse_pat_available == 'true' }}\n        shell: bash\n        run: |\n          # Leave disabled during normal integration test runs - Enable when we want to\n          # collect the data.\n          # echo \"run_opentelemetry=true\" >> $GITHUB_OUTPUT;\n          echo \"run_opentelemetry=false\" >> $GITHUB_OUTPUT;\n\n          # AWS CLI is pre-installed on github hosted runners - Commented out for GH runs\n            # curl \"https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip\" -o \"awscliv2.zip\"\n            # unzip awscliv2.zip\n            # sudo ./aws/install\n            # curl \"https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb\" -o \"session-manager-plugin.deb\"\n            # sudo dpkg -i session-manager-plugin.deb\n      # - name: Create AWS Config\n      #   if: ${{ steps.otel-check.outputs.run_opentelemetry == 'true' }}\n      #   shell: bash\n      #   run: |\n      #     touch test.awsConfig\n      #     printf \"[default]\\nregion = us-east-1\\ncredential_process = \\\"tests/integration/synapse_creds.sh\\\" \\\"https://sc.sageit.org\\\" \\\"${{ secrets.synapse_personal_access_token }}\\\"\\n\" >> test.awsConfig\n      #     chmod +x tests/integration/synapse_creds.sh\n      # If you are exporting data using `otlp` you can start a port forwading session\n      # - name: SSM Port Forward Start\n      #   if: ${{ steps.otel-check.outputs.run_opentelemetry == 'true' }}\n      #   shell: bash\n      #   env:\n      #     AWS_CONFIG_FILE: \"test.awsConfig\"\n      #   run: |\n      #     # Start a port-forwarding session in a non-interactive way. AWS will clean-up\n      #     # stale sessions after 20 minutes of inactivity\n      #     aws ssm start-session --target i-0ffcdecd1edf375ee --document-name AWS-StartPortForwardingSession  --parameters \"portNumber\"=[\"4318\"],\"localPortNumber\"=[\"4318\"] & disown\n      #     sleep 15\n\n      # run integration tests iff the decryption keys for the test configuration are available.\n      # they will not be available in pull requests from forks.\n      # run integration tests on the oldest and newest supported versions of python.\n      # we don't run on the entire matrix to avoid a 3xN set of concurrent tests against\n      # the target server where N is the number of supported python versions.\n      - name: run-integration-tests\n        shell: bash\n\n        # keep versions consistent with the first and last from the strategy matrix\n        if: ${{ contains(fromJSON('[\"3.9\"]'), matrix.python) && steps.secret-check.outputs.secrets_available == 'true'}}\n        run: |\n          # decrypt the encrypted test synapse configuration\n          openssl aes-256-cbc -K ${{ secrets.encrypted_d17283647768_key }} -iv ${{ secrets.encrypted_d17283647768_iv }} -in test.synapseConfig.enc -out test.synapseConfig -d\n          mv test.synapseConfig ~/.synapseConfig\n\n          if [ \"${{ startsWith(matrix.os, 'ubuntu') }}\" == \"true\" ]; then\n            # on linux only we can build and run a docker container to serve as an SFTP host for our SFTP tests.\n            # Docker is not available on GH Action runners on Mac and Windows.\n\n            docker build -t sftp_tests - < tests/integration/synapseclient/core/upload/Dockerfile_sftp\n            docker run -d sftp_tests:latest\n\n            # get the internal IP address of the just launched container\n            export SFTP_HOST=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -q))\n\n            printf \"[sftp://$SFTP_HOST]\\nusername: test\\npassword: test\\n\" >> ~/.synapseConfig\n\n            # add to known_hosts so the ssh connections can be made without any prompting/errors\n            mkdir -p ~/.ssh\n            ssh-keyscan -H $SFTP_HOST >> ~/.ssh/known_hosts\n          fi\n\n            # set env vars used in external bucket tests from secrets\n          export EXTERNAL_S3_BUCKET_NAME=\"${{secrets.EXTERNAL_S3_BUCKET_NAME}}\"\n          export EXTERNAL_S3_BUCKET_AWS_ACCESS_KEY_ID=\"${{secrets.EXTERNAL_S3_BUCKET_AWS_ACCESS_KEY_ID}}\"\n          export EXTERNAL_S3_BUCKET_AWS_SECRET_ACCESS_KEY=\"${{secrets.EXTERNAL_S3_BUCKET_AWS_SECRET_ACCESS_KEY}}\"\n          if [ ${{ steps.otel-check.outputs.run_opentelemetry }} == \"true\" ]; then\n            # Set to 'file' to enable OpenTelemetry export to file\n            export SYNAPSE_OTEL_INTEGRATION_TEST_EXPORTER=\"file\"\n          fi\n\n          # use loadscope to avoid issues running tests concurrently that share scoped fixtures\n          pytest -sv --reruns 3 --cov-append --cov=. --cov-report xml tests/integration -n auto --ignore=tests/integration/synapseclient/test_command_line_client.py --dist loadscope\n\n          # Execute the CLI tests in a non-dist way because they were causing some test instability when being run concurrently\n          # pytest -sv --reruns 3 --cov-append --cov=. --cov-report xml tests/integration/synapseclient/test_command_line_client.py\n      - name: Upload otel spans\n        uses: actions/upload-artifact@v2\n        if: always()\n        with:\n          name: otel_spans_integration_testing_${{ matrix.os }}\n          path: tests/integration/otel_spans_integration_testing_*.ndjson\n          if-no-files-found: ignore\n      - name: Upload coverage report\n        id: upload_coverage_report\n        uses: actions/upload-artifact@v2\n        if: ${{ contains(fromJSON('[\"3.9\"]'), matrix.python) && contains(fromJSON('[\"ubuntu-20.04\"]'), matrix.os)}}\n        with:\n          name: coverage-report\n          path: coverage.xml\n\n  sonarcloud:\n    needs: [test]\n    if: ${{ always() && !cancelled()}}\n    name: SonarCloud\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0  # Shallow clones should be disabled for a better relevancy of analysis\n      - name: Check coverage report existence\n        id: check_coverage_report\n        uses: andstor/file-existence-action@v3\n        with:\n          files: \"coverage.xml\"\n      - name: Download coverage report\n        uses: actions/download-artifact@v2\n        if: steps.check_coverage_report.outputs.files_exists == 'true'\n        with:\n          name: coverage-report\n        # This is a workaround described in https://community.sonarsource.com/t/sonar-on-github-actions-with-python-coverage-source-issue/36057\n      - name: Override Coverage Source Path for Sonar\n        if: steps.check_coverage_report.outputs.files_exists == 'true'\n        run: sed -i \"s/<source>\\/home\\/runner\\/work\\/synapsePythonClient<\\/source>/<source>\\/github\\/workspace<\\/source>/g\" coverage.xml\n      - name: SonarCloud Scan\n        uses: SonarSource/sonarcloud-github-action@master\n        if: ${{ always() }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n\n  # on a GitHub release, build the pip package and upload it as a GitHub release asset\n  package:\n    needs: [test,pre-commit]\n\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'release'\n\n    outputs:\n      sdist-package-name: ${{ steps.build-package.outputs.sdist-package-name }}\n      bdist-package-name: ${{ steps.build-package.outputs.bdist-package-name }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n\n      - name: set-release-env\n        shell: bash\n        run: |\n          RELEASE_TAG=\"${{ github.event.release.tag_name }}\"\n          if [[ $RELEASE_TAG =~ ^v?([[:digit:]\\.]+)(-rc)? ]]; then\n            VERSION=\"${BASH_REMATCH[1]}\"\n            if [[ \"${{ github.event.release.prerelease}}\" == \"true\" ]]; then\n              if [[ -z \"${BASH_REMATCH[2]}\" ]]; then\n                echo \"A test release tag should end with \\\"-rc\\\"\"\n                exit 1\n              fi\n\n              # for staging builds we append the build number so we have\n              # distinct version numbers between prod and test pypi.\n              VERSION=\"$VERSION.$GITHUB_RUN_NUMBER\"\n            fi\n\n          else\n            echo \"Unable to parse deployment version from $RELEASE_TAG\"\n            exit 1\n          fi\n\n          echo \"VERSION=$VERSION\" >> $GITHUB_ENV\n\n      # ensure that the version file in the package will have the correct version\n      # matching the name of the tag\n      - name: update-version\n        shell: bash\n        run: |\n          if [[ -n \"$VERSION\" ]]; then\n            sed \"s|\\\"latestVersion\\\":.*$|\\\"latestVersion\\\":\\\"$VERSION\\\",|g\" synapseclient/synapsePythonClient > temp\n            rm synapseclient/synapsePythonClient\n            mv temp synapseclient/synapsePythonClient\n          fi\n\n      - id: build-package\n        shell: bash\n        run: |\n          python3 -m pip install --upgrade pip\n          python3 -m pip install setuptools\n          python3 -m pip install wheel\n          python3 -m pip install build\n\n          # install synapseclient\n          python3 -m pip install .\n\n          # create distribution\n          python3 -m build\n\n          SDIST_PACKAGE_NAME=\"synapseclient-${{env.VERSION}}.tar.gz\"\n          BDIST_PACKAGE_NAME=\"synapseclient-${{env.VERSION}}-py3-none-any.whl\"\n          RELEASE_URL_PREFIX=\"https://uploads.github.com/repos/${{ github.event.repository.full_name }}/releases/${{ github.event.release.id }}/assets?name=\"\n\n          echo \"sdist-package-name=$SDIST_PACKAGE_NAME\" >> $GITHUB_OUTPUT\n          echo \"bdist-package-name=$BDIST_PACKAGE_NAME\" >> $GITHUB_OUTPUT\n\n          echo \"sdist-release-url=${RELEASE_URL_PREFIX}${SDIST_PACKAGE_NAME}\" >> $GITHUB_OUTPUT\n          echo \"bdist-release-url=${RELEASE_URL_PREFIX}${BDIST_PACKAGE_NAME}\" >> $GITHUB_OUTPUT\n\n      # upload the packages as build artifacts of the GitHub Action\n\n      - name: upload-build-sdist\n        uses: actions/upload-artifact@v2\n        with:\n          name: ${{ steps.build-package.outputs.sdist-package-name }}\n          path: dist/${{ steps.build-package.outputs.sdist-package-name }}\n\n      - name: upload-build-bdist\n        uses: actions/upload-artifact@v2\n        with:\n          name: ${{ steps.build-package.outputs.bdist-package-name }}\n          path: dist/${{ steps.build-package.outputs.bdist-package-name }}\n\n      # upload the packages as artifacts of the GitHub release\n\n      # - name: upload-release-sdist\n      #   uses: actions/upload-release-asset@v1\n      #   env:\n      #     GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      #   with:\n      #     upload_url: ${{ steps.build-package.outputs.sdist-release-url }}\n      #     asset_name: ${{ steps.build-package.outputs.sdist-package-name }}\n      #     asset_path: dist/${{ steps.build-package.outputs.sdist-package-name }}\n      #     asset_content_type: application/gzip\n\n      # - name: upload-release-bdist\n      #   uses: actions/upload-release-asset@v1\n      #   env:\n      #     GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      #   with:\n      #     upload_url: ${{ steps.build-package.outputs.bdist-release-url }}\n      #     asset_name: ${{ steps.build-package.outputs.bdist-package-name }}\n      #     asset_path: dist/${{ steps.build-package.outputs.bdist-package-name }}\n      #     asset_content_type: application/zip\n\n\n  # re-download the built package to the appropriate pypi server.\n  # we upload prereleases to test.pypi.org and releases to pypi.org.\n  deploy:\n    needs: package\n    runs-on: ubuntu-latest\n    environment:\n      url: ${{ github.event.release.prerelease == 'true' && 'https://test.pypi.org/p/synapseclient' || 'https://pypi.org/p/synapseclient' }}\n      name: pypi\n    permissions:\n      id-token: write\n    steps:\n      - name: download-sdist\n        uses: actions/download-artifact@v2\n        with:\n          name: ${{ needs.package.outputs.sdist-package-name }}\n          path: dist\n\n      - name: download-bdist\n        uses: actions/download-artifact@v2\n        with:\n          name: ${{ needs.package.outputs.bdist-package-name }}\n          path: dist\n      - name: deploy-to-test-pypi\n        if: 'github.event.release.prerelease'\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n      - name: deploy-to-prod-pypi\n        if: '!github.event.release.prerelease'\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  # on each of our matrix platforms, download the newly uploaded package from pypi and confirm its version\n  check-deploy:\n    needs: deploy\n\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, macos-11, windows-2019]\n\n        # python versions should be consistent with the strategy matrix and the runs-integration-tests versions\n        python: [3.8, '3.9', '3.10', '3.11']\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: check-pypi\n        shell: bash\n        run: |\n          if [[ \"${{ github.event.release.prerelease}}\" == \"false\" ]]; then\n            PYPI_INDEX_URL=\"https://pypi.org/simple/\"\n          else\n            PYPI_INDEX_URL=\"https://test.pypi.org/simple/\"\n          fi\n\n          RELEASE_TAG=\"${{ github.event.release.tag_name }}\"\n          if [[ $RELEASE_TAG =~ ^v?([[:digit:]\\.]+)(-rc)? ]]; then\n            VERSION=\"${BASH_REMATCH[1]}\"\n            if [[ \"${{ github.event.release.prerelease}}\" == \"true\" ]]; then\n              VERSION=\"$VERSION.$GITHUB_RUN_NUMBER\"\n            fi\n          else\n            echo \"Unrecognized release tag\"\n            exit 1\n          fi\n\n          # it can take some time for the packages to become available in pypi after uploading\n          for i in 5 10 20 40; do\n            if pip3 install --index-url $PYPI_INDEX_URL --extra-index-url https://pypi.org/simple \"synapseclient==$VERSION\"; then\n              ACTUAL_VERSION=$(synapse --version)\n\n              if [ -n \"$(echo \"$ACTUAL_VERSION\" | grep -oF \"$VERSION\")\" ]; then\n                echo \"Successfully installed version $VERSION\"\n                exit 0\n              else\n                echo \"Expected version $VERSION, found $ACTUAL_VERSION instead\"\n                exit 1\n              fi\n            fi\n\n            sleep $i\n          done\n\n          echo \"Failed to install expected version $VERSION\"\n          exit 1\n\n  # containerize the package and upload to the GHCR upon new release (whether pre-release or not)\n  ghcr-build-and-push-on-release:\n    needs: deploy\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n      - name: Extract Release Version\n        run: echo \"RELEASE_VERSION=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV\n        shell: bash\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Log in to GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and push Docker image (official release)\n        id: docker_build\n        if: '!github.event.release.prerelease'\n        uses: docker/build-push-action@v3\n        with:\n          push: true\n          provenance: false\n          tags: ghcr.io/sage-bionetworks/synapsepythonclient:latest,ghcr.io/sage-bionetworks/synapsepythonclient:${{ env.RELEASE_VERSION }}\n          file: ./Dockerfile\n          platforms: linux/amd64\n          cache-from: type=registry,ref=ghcr.io/sage-bionetworks/synapsepythonclient:build-cache\n          cache-to: type=registry,mode=max,ref=ghcr.io/sage-bionetworks/synapsepythonclient:build-cache\n      - name: Build and push Docker image (pre-release)\n        id: docker_build_prerelease\n        if: 'github.event.release.prerelease'\n        uses: docker/build-push-action@v3\n        with:\n          push: true\n          provenance: false\n          tags: ghcr.io/sage-bionetworks/synapsepythonclient:${{ env.RELEASE_VERSION }}-prerelease\n          file: ./Dockerfile\n          platforms: linux/amd64\n          cache-from: type=registry,ref=ghcr.io/sage-bionetworks/synapsepythonclient:build-cache-prerelease\n          cache-to: type=registry,mode=max,ref=ghcr.io/sage-bionetworks/synapsepythonclient:build-cache-prerelease\n      - name: Output image digest (official release)\n        if: '!github.event.release.prerelease'\n        run: echo \"The image digest for official release is ${{ steps.docker_build.outputs.digest }}\"\n      - name: Output image digest (pre-release)\n        if: 'github.event.release.prerelease'\n        run: echo \"The image digest for pre-release is ${{ steps.docker_build_prerelease.outputs.digest }}\"\n\n  # containerize the package and upload to the GHCR upon commit in develop\n  ghcr-build-and-push-on-develop:\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/develop'\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Log in to GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and push Docker image for develop\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          provenance: false\n          tags: ghcr.io/sage-bionetworks/synapsepythonclient:develop-${{ github.sha }}\n          file: ./Dockerfile\n          platforms: linux/amd64\n          cache-from: type=registry,ref=ghcr.io/sage-bionetworks/synapsepythonclient:build-cache\n          cache-to: type=inline\n      - name: Output image digest\n        run: echo \"The image digest is ${{ steps.docker_build.outputs.digest }}\"\n", "state": "active", "repository": "sage-bionetworks/synapsepythonclient"}
{"mined_at": "2024-07-15T13:52:10.325459", "created_at": "2022-08-05T01:38:31+02:00", "updated_at": "2022-08-05T03:25:53+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"develop\", master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"develop\" ]\n  schedule:\n    - cron: '20 14 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "sage-bionetworks/synapsepythonclient"}
{"mined_at": "2024-07-15T13:52:11.643022", "created_at": "2021-12-29T17:05:05+01:00", "updated_at": "2021-12-29T17:05:05+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sage-bionetworks/synapsepythonclient"}
{"mined_at": "2024-07-15T13:52:14.580543", "created_at": "2020-10-08T10:21:57+02:00", "updated_at": "2020-10-08T10:21:57+02:00", "name": ".github/workflows/push-to-pypi.yml", "path": ".github/workflows/push-to-pypi.yml", "contents": "on:\n  workflow_dispatch:\n    inputs:\n      confirmation:\n        description: 'I want to manually trigger a PyPi push, without publishing a GitHub release (not recommended!)'\n        required: true\n        type: boolean\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    name: Upload release to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/coc.py\n    permissions:\n      id-token: write\n    if: github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' &&  github.event.inputs.confirmation != 'false')\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install --upgrade build\n    - name: Build\n      run: |\n        python -m build\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "mathsman5133/coc.py"}
{"mined_at": "2024-07-15T13:52:15.963411", "created_at": "2020-10-03T03:42:25+02:00", "updated_at": "2020-10-03T03:59:19+02:00", "name": "coc.py Workflows", "path": ".github/workflows/tests.yml", "contents": "name: coc.py Workflows\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      # You can use PyPy versions in python-version.\n      # For example, pypy2 and pypy3\n      matrix:\n#        python-version: [\"3.7.13\", \"3.8.13\", \"3.9.13\", \"3.10\"]\n         python-version: [3.8]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    # You can test your matrix by printing the current Python version\n    - name: Display Python version\n      run: python -c \"import sys; print(sys.version)\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n    - name: Running examples as tests\n      env:\n        DEV_SITE_EMAIL: ${{ secrets.DEV_SITE_EMAIL }}\n        DEV_SITE_PASSWORD: ${{ secrets.DEV_SITE_PASSWORD }}\n        DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}\n        RUNNING_TESTS: true\n      run: |\n        python -m examples.events_example\n        python -m examples.war_logs\n", "state": "active", "repository": "mathsman5133/coc.py"}
{"mined_at": "2024-07-15T13:52:18.264239", "created_at": "2021-08-17T19:43:50+02:00", "updated_at": "2021-11-25T22:59:42+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\non:\n push:\n   branches:\n     - master\n\nconcurrency:\n  group: deploy\n  cancel-in-progress: true\n\njobs:\n  deploy:\n    name: Deploy\n    runs-on: ubuntu-latest\n    environment: production\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.11\n      - name: Add SSH key\n        uses: webfactory/ssh-agent@v0.5.3\n        with:\n          ssh-private-key: ${{ secrets.DEPLOY_KEY }}\n      - name: Add known hosts\n        run: |\n          ssh-keyscan -p 2222 -H pratchett.ugent.be >> ~/.ssh/known_hosts\n      - name: Run script\n        run: |\n          ./server/deploy.sh ./server/\n", "state": "active", "repository": "zeuswpi/hydra"}
{"mined_at": "2024-07-15T13:52:19.415188", "created_at": "2021-08-10T18:56:22+02:00", "updated_at": "2021-11-25T22:59:42+01:00", "name": "CI", "path": ".github/workflows/test.yml", "contents": "name: CI\n\non: [push]\n\njobs:\n  test:\n    name: Test\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v2\n      - name: Install apt packages\n        run: |\n          sudo apt-get update\n          sudo apt-get install shellcheck\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.11\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install html5validator==0.4.2\n      - name: Set up Node\n        uses: actions/setup-node@v2\n        with:\n          node-version: '18'\n      - name: Install Node dependencies\n        run: |\n          npm install -g ajv-cli@5.0.0 ajv-formats@2.1.1 ajv-keywords@5.1.0\n      - name: Run tests\n        run: |\n          html5validator --version\n          \"./server/test.sh\"\n", "state": "active", "repository": "zeuswpi/hydra"}
{"mined_at": "2024-07-15T13:52:21.780856", "created_at": "2021-02-08T12:24:39+01:00", "updated_at": "2023-02-01T10:02:29+01:00", "name": "black", "path": ".github/workflows/black.yml", "contents": "##\n## Copyright 2023 Ocean Protocol Foundation\n## SPDX-License-Identifier: Apache-2.0\n##\nname: black\n\non: [push]\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: psf/black@stable\n        with:\n          options: \"--check --verbose\"\n          version: \"22.10.0\"\n", "state": "active", "repository": "oceanprotocol/ocean.py"}
{"mined_at": "2024-07-15T13:52:23.009408", "created_at": "2022-10-27T20:44:34+02:00", "updated_at": "2022-12-13T11:23:46+01:00", "name": "Ocean.py multiple OS", "path": ".github/workflows/build.yml", "contents": "##\n## Copyright 2023 Ocean Protocol Foundation\n## SPDX-License-Identifier: Apache-2.0\n##\nname: Ocean.py multiple OS\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - '**'\n  pull_request:\n    branches:\n      - '**'\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        version: ['3.8', '3.10', '3.11']\n    steps:\n      - name: Setup Ocean.py\n        uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.version }}\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n      - name: Install Mac OS specific dependencies\n        if: ${{ matrix.os == 'macos-latest' }}\n        run: |\n          brew install autoconf automake libtool pkg-config\n      - name: Install dependencies\n        working-directory: ${{ github.workspace }}\n        # vyper is grounded here until it declares explicit support for Python 3.11\n        run: |\n          python -m pip install --upgrade pip\n          pip install vyper==0.3.7 --ignore-requires-python\n          pip install -r requirements_dev.txt\n", "state": "active", "repository": "oceanprotocol/ocean.py"}
{"mined_at": "2024-07-15T13:52:24.040284", "created_at": "2022-10-27T20:42:55+02:00", "updated_at": "2022-12-13T11:23:46+01:00", "name": ".github/workflows/dependabot.yml", "path": ".github/workflows/dependabot.yml", "contents": null, "state": "active", "repository": "oceanprotocol/ocean.py"}
{"mined_at": "2024-07-15T13:52:25.135104", "created_at": "2023-05-26T13:52:32+02:00", "updated_at": "2023-05-26T13:52:32+02:00", "name": "Ocean.py library docs", "path": ".github/workflows/docs.yml", "contents": null, "state": "active", "repository": "oceanprotocol/ocean.py"}
{"mined_at": "2024-07-15T13:52:26.234770", "created_at": "2022-06-20T10:02:24+02:00", "updated_at": "2022-06-20T10:03:44+02:00", "name": "Ocean.py library check", "path": ".github/workflows/libcheck.yml", "contents": "##\n## Copyright 2023 Ocean Protocol Foundation\n## SPDX-License-Identifier: Apache-2.0\n##\nname: Ocean.py library check\n\non:\n  schedule:\n    - cron: '30 5 * * 2'\n  workflow_dispatch:\n\njobs:\n  build:\n    environment: CC_REPORTER_ID\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Ocean.py\n        uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n      - uses: actions/checkout@v2\n        name: Checkout Barge\n        with:\n          repository: \"oceanprotocol/barge\"\n          path: 'barge'\n      - name: Run Barge\n        working-directory: ${{ github.workspace }}/barge\n        env:\n          GANACHE_FORK: london\n        run: |\n          bash -x start_ocean.sh --no-dashboard 2>&1 --with-provider2 --with-c2d > start_ocean.log &\n          for i in $(seq 1 108); do\n            sleep 5\n            [ -f \"$HOME/.ocean/ocean-contracts/artifacts/ready\" -a -f \"$HOME/.ocean/ocean-c2d/ready\" ] && break\n            done\n          ls -la \"$HOME/.ocean/ocean-contracts/artifacts/\"\n      - name: Install dependencies\n        working-directory: ${{ github.workspace }}\n        run: |\n          python -m pip install --upgrade pip\n          pip install ocean-lib\n          pip install mkcodes pytest matplotlib\n      - name: Delete default runner images\n        run: |\n          docker image rm node:14\n          docker image rm node:14-alpine\n          docker image rm node:16\n          docker image rm node:16-alpine\n          docker image rm node:18\n          docker image rm node:18-alpine\n          docker image rm buildpack-deps:buster\n          docker image rm buildpack-deps:bullseye\n          docker image rm debian:10\n          docker image rm debian:11\n          docker image rm moby/buildkit:latest\n      - name: Generate and test readmes\n        working-directory: ${{ github.workspace }}\n        env:\n          TEST_PRIVATE_KEY1: \"0x8467415bb2ba7c91084d932276214b11a3dd9bdb2930fefa194b666dd8020b99\"\n          TEST_PRIVATE_KEY2: \"0x1d751ded5a32226054cd2e71261039b65afb9ee1c746d055dd699b1150a5befc\"\n          TEST_PRIVATE_KEY3: \"0x732fbb7c355aa8898f4cff92fa7a6a947339eaf026a08a51f171199e35a18ae0\"\n          ADDRESS_FILE: \"~/.ocean/ocean-contracts/artifacts/address.json\"\n          OCEAN_NETWORK_URL: \"http://127.0.0.1:8545\"\n          OCEAN_CONFIG_FILE: \"config.ini\"\n          FACTORY_DEPLOYER_PRIVATE_KEY: \"0xc594c6e5def4bab63ac29eed19a134c130388f74f019bc74b8f4389df2837a58\"\n          MUMBAI_RPC_URL: ${{ secrets.MUMBAI_RPC_URL }}\n        run: |\n          mkcodes --github --output tests/generated-readmes/test_{name}.{ext} READMEs\n          pytest tests/readmes/test_readmes.py\n      - name: Slack notify via webhook\n        uses: up9cloud/action-notify@master\n        if: cancelled() == false\n        env:\n          GITHUB_JOB_STATUS: ${{ job.status }}\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "oceanprotocol/ocean.py"}
{"mined_at": "2024-07-15T13:52:27.331971", "created_at": "2022-02-03T10:54:46+01:00", "updated_at": "2023-01-11T11:25:32+01:00", "name": "Ocean.py tests", "path": ".github/workflows/pytest.yml", "contents": "##\n## Copyright 2023 Ocean Protocol Foundation\n## SPDX-License-Identifier: Apache-2.0\n##\nname: Ocean.py tests\n\non:\n  - push\n  - pull_request\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n  build:\n    environment: CC_REPORTER_ID\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Ocean.py\n        uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n      - uses: actions/checkout@v2\n        name: Checkout Barge\n        with:\n          repository: \"oceanprotocol/barge\"\n          path: 'barge'\n      - name: Run Barge\n        working-directory: ${{ github.workspace }}/barge\n        env:\n          GANACHE_FORK: london\n        run: |\n          bash -x start_ocean.sh --no-dashboard 2>&1 --with-provider2 --with-thegraph --with-c2d --skip-subgraph-deploy > start_ocean.log &\n      - name: Install dependencies\n        working-directory: ${{ github.workspace }}\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements_dev.txt\n      - name: Delete default runner images\n        run: |\n          docker image rm node:16\n          docker image rm node:16-alpine\n          docker image rm node:18\n          docker image rm node:18-alpine\n          docker image rm debian:10\n          docker image rm debian:11\n          docker image rm moby/buildkit:latest\n      - name: Wait for contracts deployment\n        working-directory: ${{ github.workspace }}/barge\n        run: |\n          for i in $(seq 1 250); do\n            sleep 5\n            [ -f \"$HOME/.ocean/ocean-contracts/artifacts/ready\" -a -f \"$HOME/.ocean/ocean-c2d/ready\" ] && break\n            done\n      - name: \"Read address.json contents\"\n        working-directory: ${{ github.workspace }}\n        run: cat \"$HOME/.ocean/ocean-contracts/artifacts/address.json\"\n      - name: Test with pytest\n        run: |\n          mkcodes --github --output tests/generated-readmes/test_{name}.{ext} READMEs\n          coverage run --source ocean_lib -m pytest\n          coverage report\n          coverage xml\n        env:\n          REMOTE_TEST_PRIVATE_KEY1: ${{secrets.REMOTE_TEST_PRIVATE_KEY1}}\n          REMOTE_TEST_PRIVATE_KEY2: ${{secrets.REMOTE_TEST_PRIVATE_KEY2}}\n          MUMBAI_RPC_URL: ${{secrets.MUMBAI_RPC_URL}}\n      - name:  docker logs\n        run: docker logs ocean_aquarius_1 && docker logs ocean_provider_1\n        if: ${{ failure() }}\n      - name: Publish code coverage\n        uses: paambaati/codeclimate-action@v2.7.5\n        env:\n          CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}\n", "state": "active", "repository": "oceanprotocol/ocean.py"}
{"mined_at": "2024-07-15T13:52:28.408123", "created_at": "2021-09-21T09:26:55+02:00", "updated_at": "2021-09-24T13:22:54+02:00", "name": "Ocean.py release", "path": ".github/workflows/release.yml", "contents": "##\n## Copyright 2023 Ocean Protocol Foundation\n## SPDX-License-Identifier: Apache-2.0\n##\nname: Ocean.py release\n\non:\n  release:\n    types: [created]\n\njobs:\n  build-n-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Ocean.py\n        uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          verbose: true\n          password: ${{ secrets.PYPI_PASSWORD }}\n\n", "state": "active", "repository": "oceanprotocol/ocean.py"}
{"mined_at": "2024-07-15T13:52:30.683412", "created_at": "2023-07-21T16:23:31+02:00", "updated_at": "2023-07-21T16:38:35+02:00", "name": "Build BigSur bottles", "path": ".github/workflows/build-bigsur-bottles.yml", "contents": null, "state": "active", "repository": "serokell/tezos-packaging"}
{"mined_at": "2024-07-15T13:52:31.887871", "created_at": "2021-08-06T09:53:30+02:00", "updated_at": "2023-12-20T12:27:11+01:00", "name": "Build homebrew bottles", "path": ".github/workflows/build-bottles.yml", "contents": "name: Build homebrew bottles\non:\n  # Run when a release is tagged\n  push:\n    tags:\n      - \"v*\"\npermissions:\n  # Restrict GITHUB_TOKEN permissions\n  contents: write\n  pull-requests: write\njobs:\n  build-bottles:\n    runs-on: ${{ matrix.os.id }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ { id: macos-12, name: \"monterey\" } ]\n        # we don't bottle meta-formulas that contain only services\n        formula: [tezos-smart-rollup-wasm-debugger, tezos-smart-rollup-node, tezos-dac-client, tezos-dac-node, tezos-dal-node, tezos-signer, tezos-codec, tezos-client, tezos-admin-client, tezos-node, tezos-accuser-PsParisC, tezos-baker-PsParisC, tezos-accuser-PtParisB, tezos-baker-PtParisB]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install GNU sed\n        run: |\n          brew install gnu-sed\n          echo \"$(brew --prefix)/opt/gnu-sed/libexec/gnubin\" >> $GITHUB_PATH\n\n      - id: extract-tag\n        name: Extract the right version from the formula\n        run: echo \"tag=$(sed -n 's/^\\s\\+version \\\"\\(.*\\)\\\"/\\1/p' ./Formula/${{ matrix.formula }}.rb)\" >> $GITHUB_ENV\n\n      - id: check-built\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        name: Check if the bottle has already been built\n        continue-on-error: true\n        run: gh release view \"${{ env.tag }}\" | grep \"${{ matrix.formula }}.*\\.${{ matrix.os.name }}.bottle.tar.gz\"\n\n        # tezos-sapling-params is used as a dependency for some of the formulas\n        # so we handle it separately.\n        # We don't build the bottle for it because it is never updated over time.\n      - name: Build tezos-sapling-params\n        if: steps.check-built.outcome == 'failure'\n        run: brew install --formula ./Formula/tezos-sapling-params.rb\n\n      - name: Build the bottle\n        if: steps.check-built.outcome == 'failure'\n        run: ./scripts/build-one-bottle.sh \"${{ matrix.formula }}\"\n        timeout-minutes: 120\n\n      - name: Upload the bottle to Github Actions\n        if: steps.check-built.outcome == 'failure'\n        uses: actions/upload-artifact@v4\n        with:\n          name: homebrew-bottles-${{ matrix.os }}\n          path: '*.bottle.*'\n\n      - name: Attach the bottle to the release\n        if: steps.check-built.outcome == 'failure'\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        run: gh release upload \"${{ env.tag }}\" *.bottle.*\n\n  sync-hashes:\n    runs-on: macos-12\n    needs: build-bottles\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install GNU sed\n        run: |\n          brew install gnu-sed\n          echo \"$(brew --prefix)/opt/gnu-sed/libexec/gnubin\" >> $GITHUB_PATH\n\n      - name: Install coreutils for macOS # for sha256sum\n        run: brew install coreutils\n\n       # Since using the tag that triggered the pipeline isn't very resilient, we use the version\n       # from the tezos-client formula, which hopefully will stay the most up-to-date.\n      - id: extract-tag\n        name: Extract the right version from the formula\n        run: echo \"tag=$(sed -n 's/^\\s\\+version \\\"\\(.*\\)\\\"/\\1/p' ./Formula/tezos-client.rb)\" >> $GITHUB_ENV\n\n       # It's possible we have had to rerun the building workflow, skipping some jobs and\n       # erasing the previously built bottles, so we use the release to download them all\n      - name: Download Monterey bottles from the release\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        run: gh release download \"${{ github.ref_name }}\" -p \"*.monterey.bottle.tar.gz\" -D \"./Monterey\"\n\n      - name: Add bottle hashes to formulae\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        run: ./scripts/sync-bottle-hashes.sh \"${{ github.ref_name }}\" \"Monterey\"\n", "state": "disabled_manually", "repository": "serokell/tezos-packaging"}
{"mined_at": "2024-07-15T13:52:32.923076", "created_at": "2021-08-06T09:53:30+02:00", "updated_at": "2021-08-12T13:18:36+02:00", "name": "Check homebrew formulas", "path": ".github/workflows/check-formulas.yml", "contents": "name: Check homebrew formulas\non:\n  # Run on any push which changes related files\n  push:\n    paths:\n      - 'Formula/*.rb'\n      - '.github/workflows/check-formulas.yml'\njobs:\n  check-formulas:\n    runs-on: macos-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Check formula syntax\n        run: ruby -c ./Formula/*.rb\n\n      - name: Check formula source\n        # All formulas share the same source URL, so it's fine to fetch sources\n        # for only one formula\n        run: brew fetch --formula -s ./Formula/tezos-client.rb\n", "state": "active", "repository": "serokell/tezos-packaging"}
{"mined_at": "2024-07-15T13:52:33.951163", "created_at": "2023-07-11T19:08:52+02:00", "updated_at": "2023-07-11T19:17:22+02:00", "name": "Check maintenance scripts", "path": ".github/workflows/maintenance.yml", "contents": null, "state": "active", "repository": "serokell/tezos-packaging"}
{"mined_at": "2024-07-15T13:52:35.203226", "created_at": "2023-07-18T18:45:37+02:00", "updated_at": "2023-07-19T12:46:38+02:00", "name": "Test Fedora binaries (Sequential)", "path": ".github/workflows/sequential-test-fedora-binaries copy.yml", "contents": null, "state": "active", "repository": "serokell/tezos-packaging"}
{"mined_at": "2024-07-15T13:52:36.424021", "created_at": "2023-07-18T18:45:37+02:00", "updated_at": "2023-07-19T12:46:38+02:00", "name": "Test Ubuntu binaries (Sequential)", "path": ".github/workflows/sequential-test-ubuntu-binaries.yml", "contents": null, "state": "active", "repository": "serokell/tezos-packaging"}
{"mined_at": "2024-07-15T13:52:37.552219", "created_at": "2023-08-01T13:54:04+02:00", "updated_at": "2023-10-18T19:54:39+02:00", "name": "Test Tezos binaries", "path": ".github/workflows/test-binaries.yml", "contents": "name: Test Tezos binaries\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  test_binaries:\n    name: Install and test binaries\n    runs-on: [self-hosted, Linux, X64, nix]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Test fedora binaries\n        run: nix develop .#buildkite -c ./docker/tests/scripts/test-fedora-binaries.sh\n\n      - name: Test ubuntu binaries\n        run: nix develop .#buildkite -c ./docker/tests/scripts/test-ubuntu-binaries.sh\n", "state": "active", "repository": "serokell/tezos-packaging"}
{"mined_at": "2024-07-15T13:52:38.659911", "created_at": "2023-07-17T11:00:54+02:00", "updated_at": "2023-07-26T18:20:50+02:00", "name": "Test Fedora binaries (Sequential)", "path": ".github/workflows/test-fedora-binaries.yml", "contents": null, "state": "active", "repository": "serokell/tezos-packaging"}
{"mined_at": "2024-07-15T13:52:39.646716", "created_at": "2023-07-17T10:32:58+02:00", "updated_at": "2023-07-26T18:20:50+02:00", "name": "Test Ubuntu binaries (Sequential)", "path": ".github/workflows/test-ubuntu-binaries.yml", "contents": null, "state": "active", "repository": "serokell/tezos-packaging"}
{"mined_at": "2024-07-15T13:52:41.647738", "created_at": "2020-05-05T09:34:40+02:00", "updated_at": "2023-01-25T16:24:39+01:00", "name": "Validate with HACS", "path": ".github/workflows/hacs-validate.yml", "contents": "name: Validate with HACS\n\non:\n  push:\n  pull_request:\n\njobs:\n  validate:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: HACS validation\n        uses: hacs/action@main\n        with:\n          category: integration\n          ignore: wheels\n\n", "state": "active", "repository": "make-all/tuya-local"}
{"mined_at": "2024-07-15T13:52:42.656499", "created_at": "2020-05-05T09:34:40+02:00", "updated_at": "2023-01-25T16:24:39+01:00", "name": "Validate with hassfest", "path": ".github/workflows/hassfest-validate.yml", "contents": "name: Validate with hassfest\n\non:\n  push:\n  pull_request:\n\njobs:\n  validate:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: home-assistant/actions/hassfest@master\n", "state": "active", "repository": "make-all/tuya-local"}
{"mined_at": "2024-07-15T13:52:43.695647", "created_at": "2020-05-10T12:11:01+02:00", "updated_at": "2023-01-25T16:24:39+01:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\r\n\r\non: [push, pull_request]\r\n\r\njobs:\r\n  lint:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/checkout@v4\r\n\r\n      - name: Setup Python\r\n        uses: actions/setup-python@v5\r\n        with:\r\n          python-version: '3.12'\r\n\r\n      - name: Install dependencies\r\n        run: |\r\n          python -m pip install --upgrade pip\r\n          pip install -r requirements-dev.txt\r\n      - name: Python lint\r\n        run: ruff check --output-format=github .\r\n      - name: Python include order\r\n        run: ruff check --select I --diff .\r\n      - name: Python coding style\r\n        run: ruff format --check --diff .\r\n      - name: YAML lint\r\n        run: yamllint --format github custom_components/tuya_local/devices\r\n", "state": "active", "repository": "make-all/tuya-local"}
{"mined_at": "2024-07-15T13:52:44.719900", "created_at": "2020-05-27T06:12:15+02:00", "updated_at": "2023-01-25T16:24:39+01:00", "name": "Python tests", "path": ".github/workflows/tests.yml", "contents": "name: Python tests\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - '**.py'\n  push:\n    paths:\n      - '**.py'\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n      - name: Full test with pytest\n        run: pytest --cov=. --cov-config=.coveragerc --cov-report xml:coverage.xml\n      - name: SonarCloud scan\n        uses: sonarsource/sonarcloud-github-action@master\n        if: (github.event.sender.login == github.event.repository.owner.login) && (github.repository == 'make-all/tuya-local') && (github.ref == 'main')\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "make-all/tuya-local"}
{"mined_at": "2024-07-15T13:52:45.845852", "created_at": "2024-03-03T02:59:51+01:00", "updated_at": "2024-03-03T02:59:51+01:00", "name": "YAML tests", "path": ".github/workflows/yamltests.yml", "contents": "name: YAML tests\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - 'custom_components/tuya_local/devices/*.yaml'\n  push:\n    paths:\n      - 'custom_components/tuya_local/devices/*.yaml'\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n      - name: Device configs check with pytest\n        run: pytest tests/test_device_config.py\n", "state": "active", "repository": "make-all/tuya-local"}
{"mined_at": "2024-07-15T13:52:46.858790", "created_at": "2023-04-14T09:37:41+02:00", "updated_at": "2023-04-14T09:37:41+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "make-all/tuya-local"}
{"mined_at": "2024-07-15T13:52:48.874491", "created_at": "2020-04-30T15:59:15+02:00", "updated_at": "2020-04-30T15:59:15+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n      - \"!dependabot/**\"\n  pull_request:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    name: Python ${{ matrix.python }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n        os:\n          - ubuntu-latest\n        include:\n          - os: macos-latest\n            python: '3.8'\n          - os: macos-latest\n            python: '3.12'\n          - os: windows-latest\n            python: '3.8'\n          - os: windows-latest\n            python: '3.12'\n\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: pip\n\n      - name: Print versions\n        run: |\n          python --version\n          pip --version\n\n      - name: Install Python dependencies\n        run: pip install -r requirements.txt\n\n      - name: Run lint\n        run: flake8\n\n      - name: Run makeHosts.py\n        run: python makeHosts.py\n\n      - name: Run tests\n        run: python testUpdateHostsFile.py\n", "state": "active", "repository": "stevenblack/hosts"}
{"mined_at": "2024-07-15T13:52:49.868901", "created_at": "2020-10-31T17:59:37+01:00", "updated_at": "2020-10-31T17:59:37+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches:\n      - master\n      - \"!dependabot/**\"\n  pull_request:\n    branches:\n      - master\n      - \"!dependabot/**\"\n  schedule:\n    - cron: \"40 15 * * 4\"\n  workflow_dispatch:\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: \"python\"\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:python\"\n", "state": "active", "repository": "stevenblack/hosts"}
{"mined_at": "2024-07-15T13:52:50.858111", "created_at": "2022-07-13T17:07:43+02:00", "updated_at": "2022-07-13T17:07:43+02:00", "name": "Create and publish a container image", "path": ".github/workflows/container.yml", "contents": "name: Create and publish a container image\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - \"*\"\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    name: Build and push container image\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels)\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push container image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "stevenblack/hosts"}
{"mined_at": "2024-07-15T13:52:51.970813", "created_at": "2022-06-13T04:36:32+02:00", "updated_at": "2022-06-13T18:11:22+02:00", "name": "Dependency Review", "path": ".github/workflows/depsreview.yaml", "contents": "name: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Dependency Review\n        uses: actions/dependency-review-action@v4\n", "state": "active", "repository": "stevenblack/hosts"}
{"mined_at": "2024-07-15T13:52:54.138841", "created_at": "2022-07-19T02:47:59+02:00", "updated_at": "2022-07-19T02:47:59+02:00", "name": "cffconvert", "path": ".github/workflows/cffconvert.yml", "contents": "name: cffconvert\n\non:\n  push:\n    paths:\n      - CITATION.cff\n  workflow_dispatch:\n\njobs:\n  validate:\n    name: \"validate\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out a copy of the repository\n        uses: actions/checkout@v4\n\n      - name: Check whether the citation metadata from CITATION.cff is valid\n        uses: citation-file-format/cffconvert-github-action@2.0.0\n        with:\n          args: \"--validate\"\n", "state": "active", "repository": "nltk/nltk"}
{"mined_at": "2024-07-15T13:52:55.322745", "created_at": "2021-07-21T19:16:33+02:00", "updated_at": "2021-07-25T02:31:47+02:00", "name": "ci-workflow", "path": ".github/workflows/ci.yaml", "contents": "name: ci-workflow\n# run workflow for these events\non: [push, pull_request, workflow_dispatch]\n\nenv:\n  CORENLP: /home/runner/third/stanford-corenlp\n  CORENLP_MODELS: /home/runner/third/stanford-corenlp\n  STANFORD_PARSER: /home/runner/third/stanford-parser\n  STANFORD_MODELS: /home/runner/third/stanford-postagger\n  STANFORD_POSTAGGER: /home/runner/third/stanford-postagger\n  SENNA: /home/runner/third/senna\n  PROVER9: /home/runner/third/prover9/bin\n  MEGAM: /home/runner/third/megam\n  # TADM requires `libtaopetsc.so` from PETSc v2.3.3, and likely has more\n  # tricky to install requirements, so we don't run tests for it.\n  # TADM: /home/runner/third/tadm/bin\n  MALT_PARSER: /home/runner/third/maltparser\n\njobs:\n  pre-commit:\n    name: Run pre-commit\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.x' # run with latest python version\n      - run: |\n          pip install pre-commit\n          pre-commit run --all-files\n\n  cache_nltk_data:\n    name: Cache nltk_data\n    needs: pre-commit\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Cache nltk data\n        uses: actions/cache@v4\n        id: restore-cache\n        with:\n          path: ~/nltk_data\n          key: nltk_data_${{ secrets.CACHE_VERSION }}\n\n      - name: Download nltk data packages on cache miss\n        run: |\n          pip install regex # dependencies needed to download nltk data\n          python -c \"import nltk; from pathlib import Path; path = Path('~/nltk_data').expanduser(); path.mkdir(exist_ok=True); nltk.download('all', download_dir=path)\"\n        shell: bash\n        if: steps.restore-cache.outputs.cache-hit != 'true'\n\n  cache_third_party:\n    name: Cache third party tools\n    needs: pre-commit\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Cache third party tools\n        uses: actions/cache@v4\n        id: restore-cache\n        with:\n          path: ~/third\n          key: third_${{ hashFiles('tools/github_actions/third-party.sh') }}_${{ secrets.CACHE_VERSION }}\n\n      - name: Download third party data\n        run: |\n          chmod +x ./tools/github_actions/third-party.sh\n          ./tools/github_actions/third-party.sh\n        if: steps.restore-cache.outputs.cache-hit != 'true'\n\n  test:\n    name: Python ${{ matrix.python-version }} on ${{ matrix.os }}\n    needs: [cache_nltk_data, cache_third_party]\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest, macos-latest, windows-latest]\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Restore cached dependencies\n        uses: actions/cache@v4\n        id: restore-cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: python-dependencies-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements-ci.txt') }}-${{ env.pythonLocation }}\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install --upgrade --requirement requirements-ci.txt\n        #if: steps.restore-cache.outputs.cache-hit != 'true' # disabled due to a persistent issue with restoring cache on macos runner\n\n      - name: Use cached nltk data\n        uses: actions/cache@v4\n        with:\n          path: ~/nltk_data\n          key: nltk_data_${{ secrets.CACHE_VERSION }}\n\n      - name: Use cached third party tools\n        uses: actions/cache@v4\n        with:\n          path: ~/third\n          key: third_${{ hashFiles('tools/github_actions/third-party.sh') }}_${{ secrets.CACHE_VERSION }}\n        if: runner.os == 'Linux'\n\n      - name: Set up JDK 16\n        uses: actions/setup-java@v4\n        with:\n          distribution: 'zulu'\n          java-version: '16'\n        if: runner.os == 'Linux'\n\n      - name: Run pytest\n        shell: bash\n        run: |\n          pytest --numprocesses auto -rsx --doctest-modules nltk\n", "state": "active", "repository": "nltk/nltk"}
{"mined_at": "2024-07-15T13:52:56.382541", "created_at": "2022-12-05T12:16:04+01:00", "updated_at": "2022-12-05T12:16:04+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v5\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        sync-labels: true\n", "state": "active", "repository": "nltk/nltk"}
{"mined_at": "2024-07-15T13:52:58.546072", "created_at": "2020-11-22T00:28:45+01:00", "updated_at": "2022-09-16T16:42:10+02:00", "name": "Create wheel", "path": ".github/workflows/create-wheels.yaml", "contents": "name: Create wheel\n\non:\n  # run when a release has been created\n  release:\n    types: [created]\n\nenv:\n  # set this so the falcon test uses the installed version and not the local one\n  PYTHONNOUSERSITE: 1\n  # comment TWINE_REPOSITORY_URL to use the real pypi. NOTE: change also the secret used in TWINE_PASSWORD\n  # TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/\n\njobs:\n  # four jobs are defined make-wheel-win-osx, make-wheel-linux, make-source-dist and make-emulated-wheels\n  # the wheels jobs do the the same steps, but linux wheels need to be build to target manylinux\n  make-wheel-win-osx:\n    needs: make-source-dist\n    name: ${{ matrix.python-version }}-${{ matrix.architecture }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - \"windows-latest\"\n          - \"macos-latest\"\n        python-version:\n          - \"3.6\"\n          - \"3.7\"\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        architecture:\n          - x64\n\n      fail-fast: false\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: Create wheel\n        # `--no-deps` is used to only generate the wheel for the current library.\n        # Redundant in falcon since it has no dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip --version\n          pip install 'setuptools>=47' 'wheel>=0.34'\n          pip wheel -w dist -v --no-deps .\n\n      - name: Check created wheel\n        # - install the created wheel without using the pypi index\n        # - check the cython extension\n        # - runs the tests\n        run: |\n          pip install tox\n          tox -e wheel_check -- ${{ matrix.pytest-extra }}\n\n      - name: Upload wheels to release\n        # upload the generated wheels to the github release\n        uses: AButler/upload-release-assets@v2.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          files: 'dist/*.whl'\n\n      - name: Publish wheel\n        # the action https://github.com/marketplace/actions/pypi-publish runs only on linux and we cannot specify\n        # additional options\n        env:\n          TWINE_USERNAME: __token__\n          # replace TWINE_PASSWORD with token for real pypi\n          # TWINE_PASSWORD: ${{ secrets.test_pypi_token }}\n          TWINE_PASSWORD: ${{ secrets.pypi_token }}\n        run: |\n          pip install -U twine\n          twine upload --skip-existing dist/*\n\n  make-wheel-linux:\n    needs: make-source-dist\n    # see also comments in the make-wheel-win-osx job for details on the steps\n    name: ${{ matrix.python-version }}-${{ matrix.architecture }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - \"ubuntu-latest\"\n        python-version:\n          # the versions are <python tag>-<abi tag> as specified in PEP 425.\n          - cp37-cp37m\n          - cp38-cp38\n          - cp39-cp39\n          - cp310-cp310\n          - cp311-cp311\n          - cp312-cp312\n        architecture:\n          - x64\n\n      fail-fast: false\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: Get python version\n        id: linux-py-version\n        env:\n          py_tag: ${{ matrix.python-version }}\n        run: |\n          platform=${py_tag%%-*}\n          version=${platform:2:1}.${platform:3:3}\n          echo $version\n          echo \"::set-output name=python-version::$version\"\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ steps.linux-py-version.outputs.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: Create wheel for manylinux 2014\n        uses: RalfG/python-wheels-manylinux-build@v0.6.0-manylinux2014_x86_64\n        # this action generates 2 wheels in dist/. linux, manylinux2014\n        with:\n          # Remove previous original wheel just to be sure it is recreated. Should not be needed\n          pre-build-command: \"rm -f ./dist/*-linux*.whl\"\n          python-versions: ${{ matrix.python-version }}\n          build-requirements: \"setuptools>=47 wheel>=0.34\"\n          pip-wheel-args: \"-w ./dist -v --no-deps\"\n\n      - name: Check created wheel\n        # - install the created wheel without using the pypi index\n        # - check the cython extension\n        # - runs the tests\n        run: |\n          pip install tox\n          tox -e wheel_check -- ${{ matrix.pytest-extra }}\n\n      - name: Upload wheels to release\n        # upload the generated wheels to the github release\n        uses: AButler/upload-release-assets@v2.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          files: 'dist/*manylinux*'\n\n      - name: Publish wheel\n        # We upload all manylinux wheels. pip will download the appropriate one according to the system.\n        env:\n          TWINE_USERNAME: __token__\n          # replace TWINE_PASSWORD with token for real pypi\n          # TWINE_PASSWORD: ${{ secrets.test_pypi_token }}\n          TWINE_PASSWORD: ${{ secrets.pypi_token }}\n        run: |\n          pip install -U twine\n          twine upload --skip-existing dist/*manylinux*\n\n  make-source-dist:\n    # see also comments in the make-wheel-win-osx job for details on the steps\n    name: sdist-${{ matrix.python-version }}-${{ matrix.architecture }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - \"ubuntu-latest\"\n        python-version:\n          - \"3.10\"\n        architecture:\n          - x64\n\n      fail-fast: false\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: Create sdist\n        run: |\n          python -m pip install --upgrade pip\n          pip --version\n          pip install setuptools>=47 wheel>=0.34\n          python setup.py sdist --dist-dir dist\n          python .github/workflows/scripts/verify_tag.py dist\n\n      - name: Upload wheels to release\n        # upload the generated wheels to the github release\n        uses: AButler/upload-release-assets@v2.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          files: 'dist/*.tar.gz'\n\n      - name: Publish sdist\n        env:\n          TWINE_USERNAME: __token__\n          # replace TWINE_PASSWORD with token for real pypi\n          # TWINE_PASSWORD: ${{ secrets.test_pypi_token }}\n          TWINE_PASSWORD: ${{ secrets.pypi_token }}\n        run: |\n          pip install -U twine\n          twine upload --skip-existing dist/*\n\n  make-emulated-wheels:\n    needs: make-source-dist\n    # see also comments in the make-wheel-linux job for details on the steps\n    name: ${{ matrix.python-version }}-${{ matrix.architecture }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os:\n          - \"ubuntu-latest\"\n        python-version:\n          # the versions are <python tag>-<abi tag> as specified in PEP 425.\n          - cp37-cp37m\n          - cp38-cp38\n          - cp39-cp39\n          - cp310-cp310\n          - cp311-cp311\n          - cp312-cp312\n        architecture:\n          - aarch64\n          - s390x\n\n      fail-fast: false\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: Cache wheels\n        uses: actions/cache@v3\n        with:\n          path: .pip\n          key: ${{ matrix.python-version }}-${{ matrix.architecture }}-pip-${{ hashFiles('requirements/tests') }}\n\n      - name: Set up emulation\n        run: |\n          docker run --rm --privileged multiarch/qemu-user-static --reset -p yes\n\n      - name: Create wheel for manylinux 2014 for arm\n        if: ${{ matrix.architecture == 'aarch64' }}\n        uses: RalfG/python-wheels-manylinux-build@v0.6.0-manylinux2014_aarch64\n        # this action generates 2 wheels in dist/. linux, manylinux2014\n        with:\n          python-versions: ${{ matrix.python-version }}\n          build-requirements: \"setuptools>=47 wheel>=0.34\"\n          pip-wheel-args: \"-w ./dist -v --no-deps\"\n\n      - name: Check created wheel for arm\n        if: ${{ matrix.architecture == 'aarch64' }}\n        uses: docker://quay.io/pypa/manylinux2014_aarch64\n        env:\n          PIP_CACHE_DIR: /github/workspace/.pip/\n          PYTHON_VERSION: ${{ matrix.python-version }}\n        with:\n          args: |\n            bash -c \"\n            export PATH=/opt/python/${{ matrix.python-version }}/bin:$PATH &&\n            pip install tox 'pip>=20' &&\n            tox -e wheel_check -- ${{ matrix.pytest-extra }}\n            \"\n\n      - name: Create wheel for manylinux 2014 for s390x\n        if: ${{ matrix.architecture == 's390x' }}\n        uses: RalfG/python-wheels-manylinux-build@v0.6.0-manylinux2014_s390x\n        # this action generates 2 wheels in dist/. linux, manylinux2014\n        with:\n          python-versions: ${{ matrix.python-version }}\n          build-requirements: \"setuptools>=47 wheel>=0.34\"\n          pip-wheel-args: \"-w ./dist -v --no-deps\"\n\n      - name: Check created wheel for s390x\n        if: ${{ matrix.architecture == 's390x' }}\n        uses: docker://quay.io/pypa/manylinux2014_s390x\n        env:\n          PIP_CACHE_DIR: /github/workspace/.pip/\n        with:\n          args: |\n            bash -c \"\n            export PATH=/opt/python/${{ matrix.python-version }}/bin:$PATH &&\n            pip install tox 'pip>=20' &&\n            tox -e wheel_check -- ${{ matrix.pytest-extra }}\n            \"\n\n      - name: Upload wheels to release\n        # upload the generated wheels to the github release\n        uses: AButler/upload-release-assets@v2.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          files: 'dist/*manylinux*'\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          architecture: \"x64\"\n\n      - name: Publish wheel\n        env:\n          TWINE_USERNAME: __token__\n          # replace TWINE_PASSWORD with token for real pypi\n          # TWINE_PASSWORD: ${{ secrets.test_pypi_token }}\n          TWINE_PASSWORD: ${{ secrets.pypi_token }}\n        run: |\n          pip install -U twine\n          twine upload --skip-existing dist/*manylinux*\n", "state": "active", "repository": "falconry/falcon"}
{"mined_at": "2024-07-15T13:52:59.653356", "created_at": "2022-02-18T19:34:30+01:00", "updated_at": "2022-08-31T21:41:36+02:00", "name": "Run tests (contributor's checklist)", "path": ".github/workflows/mintest.yaml", "contents": "name: Run tests (contributor's checklist)\n\non:\n  # Trigger the workflow on master but also allow it to run manually.\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n\njobs:\n  run_tox:\n    name: tox (default envlist on ${{matrix.python-version}})\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -U setuptools tox wheel\n          python --version\n          pip --version\n          tox --version\n\n      - name: Adjust .coveragerc\n        if: ${{ matrix.python-version != '3.10' }}\n        run: |\n          tools/sed_coverage_rc.py\n\n      - name: Run tox inside sdist\n        run: |\n          tools/tox_sdist.py\n", "state": "active", "repository": "falconry/falcon"}
{"mined_at": "2024-07-15T13:53:00.897641", "created_at": "2020-08-15T21:15:21+02:00", "updated_at": "2022-02-21T07:31:46+01:00", "name": "Run tests (emulated)", "path": ".github/workflows/tests-emulated.yaml", "contents": "name: Run tests (emulated)\n\non:\n  # Trigger the workflow on master but also allow it to run manually.\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n\njobs:\n  run_tox_emulate:\n    name: tox -e py310_cython (${{ matrix.architecture }})\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        architecture:\n          - s390x\n          - arm64v8\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: Cache PIP\n        uses: actions/cache@v3\n        with:\n          path: |\n            .pip\n          key: python-${{ matrix.architecture }}-${{ hashFiles('requirements/tests') }}\n\n      - name: Set up emulation\n        run: |\n          docker run --rm --privileged multiarch/qemu-user-static --reset -p yes\n\n      # TODO(vytas): Revisit second half of 2021 to see if we still need to pin tox\n      #\n      #   See also: https://github.com/tox-dev/tox/issues/1777\n      #\n      - name: Run tox s390x\n        if: ${{ matrix.architecture == 's390x' }}\n        uses: docker://s390x/python:3.10-buster\n        env:\n          PIP_CACHE_DIR: /github/workspace/.pip/\n        with:\n          # NOTE: without 'pip install ujson' tox fails to install it with \"Requested ujson from <url> has different version in metadata: '0.0.0'\"\n          # NOTE(vytas): installing fixtures/pbr because otherwise pip install\n          # inside tox fails with an import error on some older CPythons\n          args: |\n            /bin/bash -c \"\n            lscpu &&\n            mkdir -p $PIP_CACHE_DIR &&\n            chown -R $(whoami) $PIP_CACHE_DIR &&\n            pip install -U fixtures pip tox &&\n            python --version &&\n            pip --version &&\n            tox --version &&\n            pip install ujson &&\n            tox -e py310_cython\"\n\n      - name: Run tox arm64v8\n        if: ${{ matrix.architecture == 'arm64v8' }}\n        uses: docker://arm64v8/python:3.10-buster\n        env:\n          PIP_CACHE_DIR: /github/workspace/.pip/\n        with:\n          args: |\n            /bin/bash -c \"\n            lscpu &&\n            mkdir -p $PIP_CACHE_DIR &&\n            chown -R $(whoami) $PIP_CACHE_DIR &&\n            pip install -U fixtures pip tox &&\n            python --version &&\n            pip --version &&\n            tox --version &&\n            tox -e py310_cython\"\n\n      - name: Fix cache permission\n        run: |\n          sudo chmod -R 777 .pip\n          sudo chmod -R 777 .tox\n", "state": "active", "repository": "falconry/falcon"}
{"mined_at": "2024-07-15T13:53:02.024752", "created_at": "2022-02-21T19:20:26+01:00", "updated_at": "2022-02-27T22:06:16+01:00", "name": "Run tests (GNU Mailman 3)", "path": ".github/workflows/tests-mailman.yaml", "contents": "name: Run tests (GNU Mailman 3)\n\non:\n  # Trigger the workflow on master but also allow it to run manually.\n  workflow_dispatch:\n\n  # NOTE(vytas): Disabled as it is failing as of 2023-09.\n  #   Maybe @maxking just needs to update the Docker image (?)\n  # push:\n  #   branches:\n  #     - master\n\njobs:\n  run_tox:\n    name: tox -e falcon-nocov\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: Run tox\n        uses: docker://ghcr.io/maxking/mailman-ci-runner-falcon:master\n        with:\n          # NOTE(vytas,maxking): The below hack to sed away ::1 is needed since\n          #   Mailman’s aiosmtpd isn’t able to bind to local IPv6 loopback\n          #   inside the container and raises exceptions upon teardown.\n          args: |\n            /bin/bash -c \"\n            export LC_ALL=C.UTF-8 &&\n            tools/testing/fetch_mailman.sh &&\n            sed '/::1/d' /etc/hosts > /tmp/hosts && cat /tmp/hosts > /etc/hosts &&\n            python3 --version &&\n            tox --version &&\n            tox -c .ecosystem/mailman/tox.ini -e falcon-nocov\"\n", "state": "active", "repository": "falconry/falcon"}
{"mined_at": "2024-07-15T13:53:03.253309", "created_at": "2020-08-07T20:34:27+02:00", "updated_at": "2022-08-30T21:29:13+02:00", "name": "Run tests", "path": ".github/workflows/tests.yaml", "contents": "name: Run tests\n\non:\n  # NOTE(vytas): Trigger the tests workflow on push or pull request\n  #   (pull requests only for the master branch for now).\n  push:\n    branches:\n      - \"*\"\n  pull_request:\n    branches:\n      - master\n\njobs:\n  run_tox:\n    name: tox -e ${{ matrix.toxenv }} (${{matrix.python-version}} on ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.12\"\n        os:\n          - \"ubuntu-latest\"\n        toxenv:\n          - \"pep8\"\n          - \"pep8-docstrings\"\n          - \"pep8-examples\"\n          - \"ruff\"\n          - \"mypy\"\n          - \"mypy_tests\"\n          - \"py312\"\n          - \"py312_sans_msgpack\"\n          - \"py312_cython\"\n          - \"docs\"\n          - \"towncrier\"\n          - \"look\"\n          - \"asgilook\"\n          - \"check_vendored\"\n          - \"twine_check\"\n          - \"daphne\"\n          - \"hypercorn\"\n          - \"e2e_chrome\"\n          - \"e2e_firefox\"\n          - \"no_optional_packages\"\n          # TODO(kgriffs): Re-enable once hug has a chance to address\n          # breaking changes in Falcon 3.0\n          # - \"hug\"\n        include:\n          - python-version: pypy3.9\n            os: ubuntu-latest\n            toxenv: pypy3\n          - python-version: \"3.7\"\n            os: ubuntu-latest\n            toxenv: py37\n          - python-version: \"3.8\"\n            os: ubuntu-latest\n            toxenv: py38\n          - python-version: \"3.8\"\n            os: ubuntu-latest\n            toxenv: py38_cython\n          - python-version: \"3.9\"\n            os: ubuntu-latest\n            toxenv: py39\n          - python-version: \"3.9\"\n            os: ubuntu-latest\n            toxenv: py39_cython\n          - python-version: \"3.10\"\n            os: ubuntu-latest\n            toxenv: py310\n          - python-version: \"3.10\"\n            os: ubuntu-latest\n            toxenv: py310_cython\n          - python-version: \"3.11\"\n            os: ubuntu-latest\n            toxenv: py311\n          - python-version: \"3.11\"\n            os: ubuntu-latest\n            toxenv: py311_cython\n          - python-version: \"3.12\"\n            os: ubuntu-latest\n            toxenv: py312\n          - python-version: \"3.12\"\n            os: ubuntu-latest\n            toxenv: py312_cython\n          - python-version: \"3.12\"\n            os: macos-latest\n            toxenv: py312_nocover\n          - python-version: \"3.12\"\n            os: windows-latest\n            toxenv: py312_nocover\n          # These env require 3.8 and 20.04, see tox.ini\n          - python-version: \"3.8\"\n            os: ubuntu-20.04\n            toxenv: py38_smoke\n          - python-version: \"3.8\"\n            os: ubuntu-20.04\n            toxenv: py38_smoke_cython\n          - python-version: \"3.8\"\n            os: ubuntu-latest\n            toxenv: \"wsgi_servers\"\n\n    # Steps to run in each job.\n    # Some are GitHub actions, others run shell commands.\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        # NOTE(vytas): Work around\n        #   https://github.com/codecov/codecov-action/issues/190\n        with:\n          fetch-depth: 2\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install smoke test dependencies\n        if: ${{ matrix.toxenv == 'py38_smoke' || matrix.toxenv == 'py38_smoke_cython' }}\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y libunwind-dev\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -U coverage fixtures setuptools tox wheel\n          python --version\n          pip --version\n          tox --version\n          coverage --version\n\n      - name: Run tests\n        run: tox -e ${{ matrix.toxenv }}\n\n      - name: Combine coverage\n        if: ${{ matrix.toxenv == 'py312' || matrix.toxenv == 'py312_sans_msgpack' }}\n        run: |\n          coverage --version\n          coverage combine\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        if: ${{ matrix.toxenv == 'py312' || matrix.toxenv == 'py312_sans_msgpack' }}\n        with:\n          env_vars: PYTHON\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "falconry/falcon"}
{"mined_at": "2024-07-15T13:53:05.283111", "created_at": "2024-06-22T04:44:59+02:00", "updated_at": "2024-06-22T04:44:59+02:00", "name": ".NET Core Desktop", "path": ".github/workflows/dotnet-desktop.yml", "contents": null, "state": "active", "repository": "nodejs/node-gyp"}
{"mined_at": "2024-07-15T13:53:06.292368", "created_at": "2024-03-12T20:21:27+01:00", "updated_at": "2024-03-12T20:21:27+01:00", "name": "Mac M1 test", "path": ".github/workflows/mac-m1.yml", "contents": null, "state": "active", "repository": "nodejs/node-gyp"}
{"mined_at": "2024-07-15T13:53:07.298889", "created_at": "2024-03-16T20:20:18+01:00", "updated_at": "2024-03-16T20:20:18+01:00", "name": "Python application", "path": ".github/workflows/python-app.yml", "contents": null, "state": "active", "repository": "nodejs/node-gyp"}
{"mined_at": "2024-07-15T13:53:08.409961", "created_at": "2023-10-27T05:38:19+02:00", "updated_at": "2023-10-27T05:38:19+02:00", "name": "release-please", "path": ".github/workflows/release-please-v9.yml", "contents": null, "state": "active", "repository": "nodejs/node-gyp"}
{"mined_at": "2024-07-15T13:53:09.536202", "created_at": "2021-05-19T09:22:04+02:00", "updated_at": "2021-05-19T09:22:04+02:00", "name": "release-please", "path": ".github/workflows/release-please.yml", "contents": "name: release-please\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  release-please:\n    outputs:\n      pr: ${{ steps.release.outputs.pr }}\n    permissions:\n      contents: write # to create release commit (google-github-actions/release-please-action)\n      pull-requests: write # to create release PR (google-github-actions/release-please-action)\n    if: github.event_name == 'push'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: google-github-actions/release-please-action@v4\n      id: release\n        # Standard Conventional Commits: `feat` and `fix`\n        # node-gyp subdirectories: `bin`, `gyp`, `lib`, `src`, `test`\n        # node-gyp subcommands: `build`, `clean`, `configure`, `install`, `list`, `rebuild`, `remove`\n        # Core abstract category: `deps`\n        # Languages/platforms: `python`, `lin`, `linux`, `mac`, `macos`, `win`, `window`, `zos`\n        # Documentation: `doc`, `docs`, `readme`\n        # Standard Conventional Commits: `chore` (under \"Miscellaneous\")\n        # Miscellaneous abstract categories: `refactor`, `ci`, `meta`\n\n  test:\n    name: Release Test\n    needs: [ release-please ]\n    if: needs.release-please.outputs.pr || startsWith(github.head_ref, 'release-please--')\n    uses: ./.github/workflows/tests.yml\n", "state": "active", "repository": "nodejs/node-gyp"}
{"mined_at": "2024-07-15T13:53:10.666332", "created_at": "2020-09-01T02:31:57+02:00", "updated_at": "2021-10-24T11:49:10+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources\n# TODO: add `python -m pytest --doctest-modules`\n\nname: Tests\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  workflow_call:\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  lint-python:\n    name: Lint Python\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - run: pip install --user ruff\n    - run: ruff --output-format=github --select=\"E,F,PLC,PLE,UP,W,YTT\" --ignore=\"E721,PLC1901,S101,UP031\" --target-version=py38 .\n  \n  lint-js:\n    name: Lint JS\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n    - name: Use Node.js 20.x\n      uses: actions/setup-node@v4\n      with:\n        node-version: 20.x\n    - name: Install Dependencies\n      run: npm install\n    - name: Lint\n      run: npm run lint\n\n  check-engines:\n    name: Check Engines\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n    - name: Use Node.js 20.x\n      uses: actions/setup-node@v4\n      with:\n        node-version: 20.x\n    - name: Install Dependencies\n      run: npm install\n    - name: Check Engines\n      run: |\n        # TODO: move this to its own action\n        npm install @npmcli/arborist@7 semver@7 --no-save\n        node .github/scripts/check-engines.js\n\n  test-pack:\n    name: Test Pack\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n    - name: Use Node.js 20.x\n      uses: actions/setup-node@v4\n      with:\n        node-version: 20.x\n    - name: Update npm\n      run: npm install npm@latest -g\n    - name: Install Dependencies\n      run: npm install\n    - name: Pack\n      id: pack\n      env:\n        NODE_GYP_TEMP_DIR: '${{ runner.temp }}/node-gyp'\n      run: |\n        mkdir -p $NODE_GYP_TEMP_DIR\n        npm pack\n        tar xzf *.tgz -C $NODE_GYP_TEMP_DIR --strip-components=1\n        cp -r test/ $NODE_GYP_TEMP_DIR/test/\n        echo \"dir=$NODE_GYP_TEMP_DIR\" >> \"$GITHUB_OUTPUT\"\n    - name: Test\n      working-directory: ${{ steps.pack.outputs.dir }}\n      env:\n        FULL_TEST: '1'\n      run: |\n        npm install\n        npm test\n\n  tests:\n    # lint-python takes ~5 seconds, so wait for it to pass before running the full matrix of tests.\n    needs: [lint-python] \n    strategy:\n      fail-fast: false\n      max-parallel: 15\n      matrix:\n        os: [macos-latest, ubuntu-latest, windows-latest]\n        python: [\"3.8\", \"3.10\", \"3.12\"]\n        node: [16.x, 18.x, 20.x]\n        include:  # `npm test` is running Windows find-visualstudio tests on an M1 Mac!!!\n          - os: macos-14\n            python: \"3.12\"\n            node: 20.x\n    name: ${{ matrix.os }} - ${{ matrix.python }} - ${{ matrix.node }}\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n      - name: Use Node.js ${{ matrix.node }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node }}\n      - name: Use Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n        env:\n          PYTHON_VERSION: ${{ matrix.python }}  # Why do this?\n      - uses: seanmiddleditch/gha-setup-ninja@v4\n      - name: Install Dependencies\n        run: |\n          npm install\n          pip install pytest\n      - name: Set Windows Env\n        if: startsWith(matrix.os, 'windows')\n        run: |\n          echo 'GYP_MSVS_VERSION=2015' >> $Env:GITHUB_ENV\n          echo 'GYP_MSVS_OVERRIDE_PATH=C:\\\\Dummy' >> $Env:GITHUB_ENV\n      - name: Run Python Tests\n        run: python -m pytest\n      - name: Run Tests (macOS or Linux)\n        if: \"!startsWith(matrix.os, 'windows')\"\n        shell: bash\n        run: npm test --python=\"${pythonLocation}/python\"\n        env:\n          FULL_TEST: ${{ (matrix.node == '20.x' && matrix.python == '3.12') && '1' || '0' }}\n      - name: Run Tests (Windows)\n        if: startsWith(matrix.os, 'windows')\n        shell: pwsh\n        run: npm run test --python=\"${env:pythonLocation}\\\\python.exe\"\n        env:\n          FULL_TEST: ${{ (matrix.node == '20.x' && matrix.python == '3.12') && '1' || '0' }}\n", "state": "active", "repository": "nodejs/node-gyp"}
{"mined_at": "2024-07-15T13:53:11.848004", "created_at": "2021-10-24T11:49:10+02:00", "updated_at": "2022-07-13T10:11:33+02:00", "name": "visual-studio", "path": ".github/workflows/visual-studio.yml", "contents": "# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources\n\nname: visual-studio\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  visual-studio:\n    strategy:\n      fail-fast: false\n      max-parallel: 8\n      matrix:\n        include:\n          - os: windows-2019\n            msvs-verison: 2019\n          - os: windows-2022\n            msvs-version: 2022\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n      - name: Use Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install Dependencies\n        run: npm install\n      - name: Run Node tests\n        shell: pwsh\n        run: npm run test --python=\"${env:pythonLocation}\\\\python.exe\" --msvs-version=\"${{ matrix.msvs-version }}\"\n", "state": "active", "repository": "nodejs/node-gyp"}
{"mined_at": "2024-07-15T13:53:14.825472", "created_at": "2020-01-04T15:45:48+01:00", "updated_at": "2024-05-21T10:44:17+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.10\", \"3.11\", \"3.12\"]\n        jsonschema-version: [\"3.0\", \"latest\"]\n    name: py ${{ matrix.python-version }} js ${{ matrix.jsonschema-version }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      # - name: Set Up Chromedriver\n      #   run: |\n      #     sudo apt-get update\n      #     sudo apt-get --only-upgrade install google-chrome-stable\n      #     sudo apt-get -yqq install chromium-chromedriver\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \".[all, dev]\"\n          # pip install \"selenium<4.3.0\"\n          # pip install altair_saver\n      - name: Install specific jsonschema\n        # Only have to execute this if we don't want the latest jsonschema version\n        if: ${{ matrix.jsonschema-version != 'latest' }}\n        run: |\n          pip install jsonschema==${{ matrix.jsonschema-version }}\n      - name: Maybe uninstall optional dependencies\n        # We uninstall pyarrow and vegafusion for one job to test that we have not\n        # accidentally introduced a hard dependency on these libraries.\n        # Uninstalling for Python 3.8 is an arbitrary choice.\n        # Also see https://github.com/altair-viz/altair/pull/3114\n        if: ${{ matrix.python-version == '3.8' }}\n        run: |\n          pip uninstall -y pyarrow vegafusion vegafusion-python-embed\n      - name: Maybe install lowest supported pandas version\n        # We install the lowest supported pandas version for one job to test that\n        # it still works. Downgrade to the oldest versions of pandas and numpy that include\n        # Python 3.8 wheels, so only run this job for Python 3.8\n        if: ${{ matrix.python-version == '3.8' }}\n        run: |\n          pip install pandas==0.25.3 numpy==1.17.5\n      - name: Test that schema generation has no effect\n        run: |\n          python tools/generate_schema_wrapper.py\n          # This gets the paths of all files which were either deleted, modified\n          # or are not yet tracked by Git\n          files=`git ls-files --deleted --modified --others --exclude-standard`\n          # Depending on the shell it can happen that 'files' contains empty\n          # lines which are filtered out in the for loop below\n          files_cleaned=()\n          for i in \"${files[@]}\"; do\n            # Skip empty items\n            if [ -z \"$i\" ]; then\n              continue\n            fi\n            # Add the rest of the elements to a new array\n            files_cleaned+=(\"${i}\")\n          done\n          if [ ${#files_cleaned[@]} -gt 0 ]; then\n              echo \"The code generation modified the following files:\"\n              echo $files\n              exit 1\n          fi\n      - name: Test with pytest\n        run: |\n          pytest --doctest-modules tests\n      # - name: Selected tests without vl-convert-python\n      #   run: |\n      #     pip uninstall vl-convert-python --yes\n      #     pytest -m save_engine --doctest-modules tests\n      # - name: Selected tests without vl-convert-python and altair_saver\n      #   run: |\n      #     pip uninstall altair_saver --yes\n      #     pytest -m save_engine --doctest-modules tests\n      - name: Selected tests with vl-convert-python and without altair_saver\n        run: |\n          # pip install vl-convert-python\n          pytest -m save_engine --doctest-modules tests\n      - name: Validate Vega-Lite schema\n        run: |\n          # We install all 'format' dependencies of jsonschema as check-jsonschema\n          # only does the 'format' checks which are installed.\n          # We can always use the latest jsonschema version here.\n          # uri-reference check is disabled as the URIs in the Vega-Lite schema do\n          # not conform RFC 3986.\n          pip install 'jsonschema[format]' check-jsonschema --upgrade\n          check-jsonschema --check-metaschema altair/vegalite/v5/schema/vega-lite-schema.json --disable-formats uri-reference\n", "state": "active", "repository": "altair-viz/altair"}
{"mined_at": "2024-07-15T13:53:16.104677", "created_at": "2024-03-30T13:58:18+01:00", "updated_at": "2024-03-30T13:58:18+01:00", "name": "Lint PR", "path": ".github/workflows/check-pr.yml", "contents": "name: \"Lint PR\"\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n\npermissions:\n  pull-requests: read\n\njobs:\n  main:\n    name: Validate PR title\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "altair-viz/altair"}
{"mined_at": "2024-07-15T13:53:17.383857", "created_at": "2020-03-21T15:58:09+01:00", "updated_at": "2020-03-21T16:08:00+01:00", "name": "docbuild", "path": ".github/workflows/docbuild.yml", "contents": "name: docbuild\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install hatch\n    - name: Run doc:build-html\n      run: |\n        hatch run doc:build-html\n    - name: Run doc:doctest\n      run: |\n        hatch run doc:doctest\n\n        \n", "state": "active", "repository": "altair-viz/altair"}
{"mined_at": "2024-07-15T13:53:18.587043", "created_at": "2020-02-26T06:45:10+01:00", "updated_at": "2020-02-26T06:45:10+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    name: ruff-mypy\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    # Installing all dependencies and not just the linters as mypy needs them for type checking\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install \".[all, dev]\"\n    - name: Lint with ruff\n      run: |        \n        ruff check .        \n    - name: Check formatting with ruff\n      run: |\n        ruff format --diff .\n        ruff format --check .\n    - name: Lint with mypy\n      run: |\n        mypy altair tests\n", "state": "active", "repository": "altair-viz/altair"}
{"mined_at": "2024-07-15T13:53:19.842039", "created_at": "2024-01-16T18:32:30+01:00", "updated_at": "2024-01-16T18:32:30+01:00", "name": "test_on_windows", "path": ".github/workflows/win.yml", "contents": null, "state": "active", "repository": "altair-viz/altair"}
{"mined_at": "2024-07-15T13:53:22.039939", "created_at": "2020-04-28T17:21:28+02:00", "updated_at": "2020-04-28T17:21:28+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  publish:\n    name: \"Publish release\"\n    runs-on: \"ubuntu-latest\"\n\n    environment:\n        name: deploy\n\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"3.8\"\n      - name: \"Install dependencies\"\n        run: \"scripts/install\"\n      - name: \"Build package & docs\"\n        run: \"scripts/build\"\n      - name: \"Publish to PyPI & deploy docs\"\n        run: \"scripts/publish\"\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "encode/uvicorn"}
{"mined_at": "2024-07-15T13:53:23.118587", "created_at": "2020-04-24T11:12:58+02:00", "updated_at": "2020-04-24T11:12:58+02:00", "name": "Test Suite", "path": ".github/workflows/test-suite.yml", "contents": "---\nname: Test Suite\n\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\"]\n\njobs:\n  tests:\n    name: \"Python ${{ matrix.python-version }} ${{ matrix.os }}\"\n    runs-on: \"${{ matrix.os }}\"\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [windows-latest, ubuntu-latest, macos-latest]\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n      - name: \"Install dependencies\"\n        run: \"scripts/install\"\n        shell: bash\n      - name: \"Run linting checks\"\n        run: \"scripts/check\"\n        shell: bash\n        if: \"${{ matrix.os == 'ubuntu-latest'}}\"\n      - name: \"Build package & docs\"\n        run: \"scripts/build\"\n        shell: bash\n      - name: \"Run tests\"\n        run: \"scripts/test\"\n        shell: bash\n      - name: \"Enforce coverage\"\n        run: \"scripts/coverage\"\n        shell: bash\n", "state": "active", "repository": "encode/uvicorn"}
{"mined_at": "2024-07-15T13:53:24.229533", "created_at": "2022-01-14T11:45:46+01:00", "updated_at": "2022-01-14T11:45:46+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "encode/uvicorn"}
{"mined_at": "2024-07-15T13:53:26.599426", "created_at": "2020-11-15T15:26:31+01:00", "updated_at": "2020-11-15T15:26:31+01:00", "name": "MongoengineCI", "path": ".github/workflows/github-actions.yml", "contents": "name: MongoengineCI\non:\n  # All PR\n  pull_request:\n  # master branch merge\n  push:\n    branches:\n      - master\n  # Manual trigger from Action page\n  workflow_dispatch:\n  # release tags\n  create:\n    tags:\n      - 'v[0-9]+\\.[0-9]+\\.[0-9]+*'\nenv:\n  MONGODB_3_6: 3.6.23\n  MONGODB_4_0: 4.0.28\n  MONGODB_4_4: 4.4\n  MONGODB_5_0: \"5.0\"\n  MONGODB_6_0: \"6.0\"\n  MONGODB_7_0: \"7.0\"\n\n  PYMONGO_3_4: 3.4\n  PYMONGO_3_6: 3.6\n  PYMONGO_3_9: 3.9\n  PYMONGO_3_11: 3.11\n  PYMONGO_3_12: 3.12\n  PYMONGO_4_0: 4.0\n  PYMONGO_4_3: 4.3.3\n  PYMONGO_4_4: 4.4.1\n  PYMONGO_4_6: 4.6.2\n\n  MAIN_PYTHON_VERSION: 3.9\n\njobs:\n  linting:\n    # Run pre-commit (https://pre-commit.com/)\n    # which runs pre-configured linter & autoformatter\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n        check-latest: true\n    - run: bash .github/workflows/install_ci_python_dep.sh\n    - run: pre-commit run -a\n\n  test:\n    # Test suite run against recent python versions\n    # and against a few combination of MongoDB and pymongo\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.7, 3.8, 3.9, \"3.10\", 3.11, pypy3.9, pypy3.10]\n        MONGODB: [$MONGODB_4_0]\n        PYMONGO: [$PYMONGO_3_11]\n        include:\n          - python-version: 3.7\n            MONGODB: $MONGODB_3_6\n            PYMONGO: $PYMONGO_3_9\n          - python-version: 3.8\n            MONGODB: $MONGODB_4_4\n            PYMONGO: $PYMONGO_3_11\n          - python-version: 3.9\n            MONGODB: $MONGODB_4_4\n            PYMONGO: $PYMONGO_3_12\n          - python-version: \"3.10\"\n            MONGODB: $MONGODB_4_4\n            PYMONGO: $PYMONGO_4_0\n          - python-version: \"3.11\"\n            MONGODB: $MONGODB_5_0\n            PYMONGO: $PYMONGO_4_3\n          - python-version: \"3.11\"\n            MONGODB: $MONGODB_6_0\n            PYMONGO: $PYMONGO_4_4\n          - python-version: \"3.11\"\n            MONGODB: $MONGODB_7_0\n            PYMONGO: $PYMONGO_4_6\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        check-latest: true\n    - name: install mongo and ci dependencies\n      run: |\n        bash .github/workflows/install_mongo.sh ${{ matrix.MONGODB }}\n        bash .github/workflows/install_ci_python_dep.sh\n        bash .github/workflows/start_mongo.sh ${{ matrix.MONGODB }}\n    - name: tox dry-run (to pre-install venv)\n      run: tox -e $(echo py${{ matrix.python-version }}-mg${{ matrix.PYMONGO }} | tr -d . | sed -e 's/pypypy/pypy/') -- \"-k=test_ci_placeholder\"\n    - name: Run test suite\n      run: tox -e $(echo py${{ matrix.python-version }}-mg${{ matrix.PYMONGO }} | tr -d . | sed -e 's/pypypy/pypy/') -- \"--cov=mongoengine\"\n    - name: Send coverage to Coveralls\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NAME: github\n      if: ${{ matrix.python-version == env.MAIN_PYTHON_VERSION }}\n      run: coveralls\n\n  build_doc_dryrun:\n    # ensures that readthedocs can be built continuously\n    # to avoid that it breaks when new releases are being created\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.7\n        check-latest: true\n    - name: install python dep\n      run: |\n        pip install -e .\n        pip install -r docs/requirements.txt\n    - name: build doc\n      run: |\n        cd docs\n        make html-readthedocs\n\n  build-dryrun:\n    runs-on: ubuntu-latest\n    needs: [linting, test, build_doc_dryrun]\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        check-latest: true\n    - name: build dummy wheel for test-pypi\n      run: |\n        pip install wheel\n        python setup.py sdist bdist_wheel\n\n  build-n-publish:\n    runs-on: ubuntu-latest\n    needs: [linting, test, build_doc_dryrun, build-dryrun]\n    if: github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        check-latest: true\n    # todo separate build from publish\n    # https://stackoverflow.com/questions/59349905/which-properties-does-github-event-in-a-github-workflow-have\n    - name: build dummy wheel for test-pypi\n      run: |\n        pip install wheel\n        python setup.py sdist bdist_wheel\n    - name: publish pypi\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.pypi_token }}\n", "state": "active", "repository": "mongoengine/mongoengine"}
{"mined_at": "2024-07-15T13:53:28.828443", "created_at": "2020-12-02T13:06:18+01:00", "updated_at": "2020-12-02T13:06:18+01:00", "name": "CI Build", "path": ".github/workflows/ci-build.yml", "contents": "# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\nname: CI Build\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n    # Avoiding -latest due to https://github.com/actions/setup-python/issues/162\n    runs-on: ubuntu-20.04\n    timeout-minutes: 15\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - '3.12'\n          - '3.11'\n          - '3.10'\n          - '3.9'\n          - '3.8'\n          - '3.7'\n          - '3.6'\n          - 'pypy3.10'\n    env:\n      PYTHON_SLACK_SDK_MOCK_SERVER_MODE: 'threading'\n      CI_LARGE_SOCKET_MODE_PAYLOAD_TESTING_DISABLED: '1'\n      CI_UNSTABLE_TESTS_SKIP_ENABLED: '1'\n      FORCE_COLOR: '1'\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n    - name: Install dependencies\n      run: |\n        pip install -U pip setuptools wheel\n        pip install -r requirements/testing.txt\n        pip install -r requirements/optional.txt\n    - name: Run codegen\n      run: |\n        python setup.py codegen\n    - name: Run validation (black/flake8/pytest)\n      run: |\n        python setup.py validate\n    - name: Run tests for SQLAlchemy v1.4 (backward-compatibility)\n      run: |\n        # Install v1.4 for testing\n        pip install \"SQLAlchemy>=1.4,<2\"\n        python setup.py unit_tests --test-target tests/slack_sdk/oauth/installation_store/test_sqlalchemy.py && \\\n        python setup.py unit_tests --test-target tests/slack_sdk/oauth/state_store/test_sqlalchemy.py\n    - name: Run codecov (only 3.9)\n      if: startsWith(matrix.python-version, '3.9')\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        # python setup.py validate generates the coverage file\n        files: ./coverage.xml\n", "state": "active", "repository": "slackapi/python-slack-sdk"}
{"mined_at": "2024-07-15T13:53:30.010854", "created_at": "2021-10-17T04:29:55+02:00", "updated_at": "2021-10-19T09:35:57+02:00", "name": "pytype validation", "path": ".github/workflows/pytype.yml", "contents": "name: pytype validation\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        python-version: ['3.9']\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install -U pip\n        pip install -r requirements/testing.txt\n        pip install -r requirements/optional.txt\n        # As pytype can change its behavior in newer versions, we manually upgrade it\n        # 2023.9.11 fails due to errors that only happen on GH Actions\n        pip install \"pytype==2023.5.24\"\n    - name: Run pytype\n      run: |\n        pytype slack_sdk/\n", "state": "active", "repository": "slackapi/python-slack-sdk"}
{"mined_at": "2024-07-15T13:53:31.134997", "created_at": "2021-11-30T22:49:41+01:00", "updated_at": "2022-01-03T18:30:05+01:00", "name": "Close stale issues and PRs", "path": ".github/workflows/triage-issues.yml", "contents": "# This workflow uses the following github action to automate\n# management of stale issues and prs in this repo:\n# https://github.com/marketplace/actions/close-stale-issues\n\nname: Close stale issues and PRs\n\non: \n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * 1'\n  \npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9.0.0\n        with:\n          days-before-issue-stale: 30\n          days-before-issue-close: 10\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          stale-issue-label: auto-triage-stale\n          stale-issue-message: 👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.\n          close-issue-message: As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.\n          exempt-issue-labels: auto-triage-skip\n          exempt-all-milestones: true\n          remove-stale-when-updated: true\n          enable-statistics: true\n          operations-per-run: 60\n\n", "state": "active", "repository": "slackapi/python-slack-sdk"}
{"mined_at": "2024-07-15T13:53:32.193184", "created_at": "2022-01-07T03:59:02+01:00", "updated_at": "2022-01-07T03:59:02+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "slackapi/python-slack-sdk"}
{"mined_at": "2024-07-15T13:53:34.485304", "created_at": "2022-03-19T13:47:21+01:00", "updated_at": "2022-03-19T13:47:21+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']\n    steps:\n      - uses: actions/checkout@v4\n      - name: Filter changed file paths to outputs\n        uses: dorny/paths-filter@v3.0.0\n        id: changes\n        with:\n          filters: |\n            root_docs:\n              - CHANGES\n              - README.*\n            docs:\n              - 'docs/**'\n              - 'examples/**'\n            python_files:\n              - 'src/tmuxp/**'\n              - pyproject.toml\n              - poetry.lock\n\n      - name: Should publish\n        if: steps.changes.outputs.docs == 'true' || steps.changes.outputs.root_docs == 'true' || steps.changes.outputs.python_files == 'true'\n        run: echo \"PUBLISH=$(echo true)\" >> $GITHUB_ENV\n\n      - name: Install poetry\n        if: env.PUBLISH == 'true'\n        run: pipx install \"poetry==1.8.2\"\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        if: env.PUBLISH == 'true'\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n\n      - name: Install dependencies [w/ docs]\n        if: env.PUBLISH == 'true'\n        run: poetry install --with=docs,lint\n\n      - name: Print python versions\n        if: env.PUBLISH == 'true'\n        run: |\n          python -V\n          poetry run python -V\n\n      - name: Build documentation\n        if: env.PUBLISH == 'true'\n        run: |\n          pushd docs; make SPHINXBUILD='poetry run sphinx-build' html; popd\n\n      - name: Push documentation to S3\n        if: env.PUBLISH == 'true'\n        uses: jakejarvis/s3-sync-action@master\n        with:\n          args: --acl public-read --follow-symlinks --delete\n        env:\n          AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_REGION: 'us-west-1' # optional: defaults to us-east-1\n          SOURCE_DIR: 'docs/_build/html' # optional: defaults to entire repository\n\n      - name: Purge cache on Cloudflare\n        if: env.PUBLISH == 'true'\n        uses: jakejarvis/cloudflare-purge-action@v0.3.0\n        env:\n          CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}\n          CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}\n", "state": "active", "repository": "tmux-python/tmuxp"}
{"mined_at": "2024-07-15T13:53:35.611195", "created_at": "2020-08-16T17:14:44+02:00", "updated_at": "2020-08-16T17:14:44+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non: [push, pull_request]\n\njobs:\n  build:\n    # Don't run twice for internal PRs from our own repo\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']\n        tmux-version: ['2.6', '2.7', '2.8', '3.0a', '3.1b', '3.2a', '3.3a', '3.4', 'master']\n        # balance ci coverage across supported python/tmux versions with CI speed\n        include:\n          - python-version: '3.8'\n            tmux-version: '2.6'\n          - python-version: '3.8'\n            tmux-version: 'master'\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install poetry\n        run: pipx install \"poetry==1.8.2\"\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n\n      - name: Setup tmux build cache for tmux ${{ matrix.tmux-version }}\n        id: tmux-build-cache\n        uses: actions/cache@v4\n        with:\n          path: ~/tmux-builds/tmux-${{ matrix.tmux-version }}\n          key: tmux-${{ matrix.tmux-version }}\n\n      - name: Build tmux ${{ matrix.tmux-version }}\n        if: steps.tmux-build-cache.outputs.cache-hit != 'true'\n        run: |\n          sudo apt install libevent-dev libncurses5-dev libtinfo-dev libutempter-dev bison\n          mkdir ~/tmux-builds\n          mkdir ~/tmux-src\n          git clone https://github.com/tmux/tmux.git ~/tmux-src/tmux-${{ matrix.tmux-version }}\n          cd ~/tmux-src/tmux-${{ matrix.tmux-version }}\n          git checkout ${{ matrix.tmux-version }}\n          sh autogen.sh\n          ./configure --prefix=$HOME/tmux-builds/tmux-${{ matrix.tmux-version }} && make && make install\n          export PATH=$HOME/tmux-builds/tmux-${{ matrix.tmux-version }}/bin:$PATH\n          cd ~\n          tmux -V\n\n      - name: Install python dependencies\n        run: poetry install --with=test,coverage,lint\n\n      - name: Lint with ruff check .\n        run: poetry run ruff check .\n\n      - name: Format with ruff\n        run: poetry run ruff format . --check\n\n      - name: Lint with mypy\n        run: poetry run mypy .\n\n      - name: Print python versions\n        run: |\n          python -V\n          poetry run python -V\n\n      - name: Test with pytest\n        continue-on-error: ${{ matrix.tmux-version == 'master' }}\n        run: |\n          sudo apt install libevent-2.1-7\n          export PATH=$HOME/tmux-builds/tmux-${{ matrix.tmux-version }}/bin:$PATH\n          ls $HOME/tmux-builds/tmux-${{ matrix.tmux-version }}/bin\n          tmux -V\n          poetry run py.test --cov=./ --cov-report=xml\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  release:\n    runs-on: ubuntu-latest\n    needs: build\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n\n    strategy:\n      matrix:\n        python-version: ['3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install poetry\n        run: pipx install \"poetry==1.8.2\"\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n\n      - name: Build package\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        run: poetry build\n\n      - name: Publish package\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip_existing: true\n", "state": "active", "repository": "tmux-python/tmuxp"}
{"mined_at": "2024-07-15T13:53:36.737956", "created_at": "2023-11-26T19:42:48+01:00", "updated_at": "2023-11-26T19:42:48+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tmux-python/tmuxp"}
{"mined_at": "2024-07-15T13:53:38.723232", "created_at": "2020-12-22T15:44:36+01:00", "updated_at": "2021-08-18T11:04:52+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [push, pull_request]\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [3.6, 3.7, 3.8, 3.9, \"3.10\", 3.11, 3.12, pypy2.7, pypy3.9]\n\n    steps:\n    - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install protobuf==3.17.3 pycodestyle\n    - name: Lint\n      run: make -C tools/python lint\n    - name: Test\n      run: |\n        make -C tools/python metaclean\n        make -C tools/python test\n        # Check re-generation didn't change anything (except locale.py)\n        git checkout --  python/phonenumbers/geodata/locale.py\n        status=$(git status --porcelain ) || :\n        if [[ -n ${status} ]]; then\n         echo \"Regenerated files differ from checked-in versions: ${status}\"\n         git status\n         exit 1\n        fi\n", "state": "active", "repository": "daviddrysdale/python-phonenumbers"}
{"mined_at": "2024-07-15T13:53:39.750567", "created_at": "2020-12-22T16:10:53+01:00", "updated_at": "2020-12-22T16:10:53+01:00", "name": "coverage", "path": ".github/workflows/coverage.yml", "contents": "name: coverage\non: [push]\npermissions:\n  contents: read\n\njobs:\n  coverage:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3\n    - name: Set up latest Python 3\n      uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4\n      with:\n        python-version: 3\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install protobuf==3.17.3 pycodestyle coverage coveralls\n    - name: Test with coverage\n      run: |\n        cd python\n        COVERAGE_FILE=main.cov coverage run --source=phonenumbers ./testwrapper.py\n        COVERAGE_FILE=pb2.cov coverage run --source=phonenumbers.pb2 ./testpb2.py\n        coverage combine main.cov pb2.cov\n    - name: Upload coverage\n      env:\n        COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n      run: |\n        cd python\n        coveralls\n", "state": "active", "repository": "daviddrysdale/python-phonenumbers"}
{"mined_at": "2024-07-15T13:53:40.762344", "created_at": "2021-09-02T01:37:01+02:00", "updated_at": "2021-09-05T18:54:44+02:00", "name": "Test type stubs", "path": ".github/workflows/typing.yml", "contents": "name: Test type stubs\non: [push, pull_request]\npermissions:\n  contents: read\n\njobs:\n  stubtest:\n    name: Run stubtest\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2\n\n      - name: Set up latest Python 3\n        uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # v2\n        with:\n          python-version: 3\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install mypy==0.921 types-protobuf==3.19.21\n\n      - name: Execute run_stubtest.py\n        run: |\n          cd python\n          python run_stubtest.py\n\n  mypy:\n    name: Run mypy on stubs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2\n\n      - name: Set up latest Python 3\n        uses: actions/setup-python@f38219332975fe8f9c04cca981d674bf22aea1d3 # v2\n        with:\n          python-version: 3\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install mypy==0.921 types-protobuf==3.19.21\n\n      - name: Run mypy\n        run: |\n          cd python\n          mypy --exclude pb2/ -p phonenumbers\n", "state": "active", "repository": "daviddrysdale/python-phonenumbers"}
{"mined_at": "2024-07-15T13:53:41.790498", "created_at": "2023-07-24T13:47:04+02:00", "updated_at": "2023-07-24T13:47:04+02:00", "name": "Check libphonenumbers releases", "path": ".github/workflows/upstream.yml", "contents": "name: Check libphonenumbers releases\n\non:\n  schedule:\n    - cron: '30 7,19 * * *'  # Run daily at 07:30 and 19:30\n  workflow_dispatch:\n\njobs:\n  versioncheck:\n    runs-on: ubuntu-latest\n    if: github.repository_owner == 'daviddrysdale'\n    steps:\n      - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3\n      - uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4\n        with:\n          python-version: 3\n      - name: Check upstream version\n        run: |\n          pip install -U pip\n          pip install requests\n          python3 tools/python/checkupstreamversion.py\n", "state": "active", "repository": "daviddrysdale/python-phonenumbers"}
{"mined_at": "2024-07-15T13:53:42.778219", "created_at": "2021-12-25T07:39:36+01:00", "updated_at": "2021-12-25T07:39:36+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "daviddrysdale/python-phonenumbers"}
{"mined_at": "2024-07-15T13:53:44.815003", "created_at": "2023-05-30T12:02:16+02:00", "updated_at": "2023-05-30T12:02:16+02:00", "name": "CD", "path": ".github/workflows/cd.yml", "contents": "name: CD\n\non:\n  workflow_dispatch:\n  release:\n    types:\n    - published\n\nenv:\n  FORCE_COLOR: 3\n\njobs:\n  dist:\n    name: Dist\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: hynek/build-and-inspect-python-package@v2\n\n  deploy:\n    name: Deploy\n    runs-on: ubuntu-22.04\n    needs: [dist]\n    if: github.event_name == 'release' && github.event.action == 'published'\n    environment: pypi\n    permissions:\n      id-token: write\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: Packages\n        path: dist\n\n    - uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "tomerfiliba/plumbum"}
{"mined_at": "2024-07-15T13:53:45.954119", "created_at": "2020-12-11T00:16:23+01:00", "updated_at": "2021-04-24T18:51:04+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n    - master\n    - main\n  pull_request:\n    branches:\n    - master\n    - main\n\nenv:\n  FORCE_COLOR: 3\n\njobs:\n\n  pre-commit:\n    name: Format\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n    - uses: pre-commit/action@v3.0.1\n    - name: pylint\n      run: pipx run --python python nox -s pylint -- --output-format=github\n\n  tests:\n    name: Tests on 🐍 ${{ matrix.python-version }} ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.10\", \"3.12\"]\n        os: [ubuntu-latest, windows-latest, macos-13]\n        include:\n        - python-version: 'pypy-3.8'\n          os: ubuntu-latest\n        - python-version: 'pypy-3.10'\n          os: ubuntu-latest\n        - python-version: '3.9'\n          os: ubuntu-latest\n        - python-version: '3.13'\n          os: ubuntu-latest\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n\n    - name: Setup uv (uncached)\n      uses: yezz123/setup-uv@v4\n      if: \"!startsWith(matrix.python-version, 'pypy')\"\n\n    - name: Setup uv (cached)\n      uses: hynek/setup-cached-uv@v1\n      if: \"startsWith(matrix.python-version, 'pypy')\"\n      with:\n        cache-suffix: -${{ matrix.python-version }}\n\n    - name: Install\n      run: |\n        uv pip install --system -e.[test] pytest-github-actions-annotate-failures --reinstall-package plumbum\n\n    - name: Setup SSH tests\n      if: runner.os != 'Windows'\n      run: |\n        chmod 755 ~\n        mkdir -p ~/.ssh\n        chmod 755 ~/.ssh\n        echo \"NoHostAuthenticationForLocalhost yes\" >> ~/.ssh/config\n        echo \"StrictHostKeyChecking no\" >> ~/.ssh/config\n        ssh-keygen -q -f ~/.ssh/id_rsa -N ''\n        cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys\n        chmod 644 ~/.ssh/authorized_keys\n        ls -la ~\n        ssh localhost -vvv \"echo 'Worked!'\"\n\n    - name: Test with pytest\n      run: pytest --cov --run-optional-tests=ssh,sudo\n\n    - name: Upload coverage\n      run: pipx run coveralls --service=github\n      env:\n        COVERALLS_PARALLEL: true\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_FLAG_NAME: test-${{ matrix.os }}-${{ matrix.python-version }}\n\n  coverage:\n    needs: [tests]\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n    - name: Install coveralls\n      run: pip install coveralls\n    - name: Coveralls Finished\n      run: coveralls --service=github --finish\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "tomerfiliba/plumbum"}
{"mined_at": "2024-07-15T13:53:48.004458", "created_at": "2023-04-24T12:54:59+02:00", "updated_at": "2023-04-24T12:54:59+02:00", "name": ".github/workflows/pre-commit.yml", "path": ".github/workflows/pre-commit.yml", "contents": "on:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - uses: pre-commit/action@v3.0.0\n    - uses: pre-commit-ci/lite-action@v1.0.1\n      if: always()\n", "state": "active", "repository": "django-import-export/django-import-export"}
{"mined_at": "2024-07-15T13:53:49.091036", "created_at": "2023-09-16T21:08:35+02:00", "updated_at": "2024-04-28T17:10:10+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  build:\n    name: Build Distribution 📦\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Install pypa/build\n        run: >-\n          SETUPTOOLS_SCM_DEBUG=1\n          python -m\n          pip install\n          build\n          --user\n      - name: Build a binary wheel and a source tarball\n        run: python -m build\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n\n  publish-to-pypi:\n    name: >-\n      Publish Python 🐍 distribution 📦 to PyPI\n    needs:\n    - build\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/django-import-export\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v4\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-to-testpypi:\n    name: Publish Python 🐍 distribution 📦 to TestPyPI\n    needs:\n    - build\n    runs-on: ubuntu-latest\n    environment:\n      name: testpypi\n      url: https://test.pypi.org/p/django-import-export\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v4\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution 📦 to TestPyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "django-import-export/django-import-export"}
{"mined_at": "2024-07-15T13:53:50.143817", "created_at": "2023-09-17T20:26:55+02:00", "updated_at": "2024-04-28T17:10:10+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n    branches:\n    - main\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    env:\n      DB_NAME: import_export\n      IMPORT_EXPORT_POSTGRESQL_USER: postgres\n      IMPORT_EXPORT_POSTGRESQL_PASSWORD: somepass\n      IMPORT_EXPORT_MYSQL_USER: root\n      IMPORT_EXPORT_MYSQL_PASSWORD: root\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: ${{ env.IMPORT_EXPORT_POSTGRESQL_USER }}\n          POSTGRES_PASSWORD: ${{ env.IMPORT_EXPORT_POSTGRESQL_PASSWORD }}\n          POSTGRES_DB: ${{ env.DB_NAME }}\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    steps:\n    - name: Set up MySQL\n      run: >\n        sudo /etc/init.d/mysql start\n\n        mysql -e 'CREATE DATABASE ${{ env.DB_NAME }};'\n        -u${{ env.IMPORT_EXPORT_MYSQL_USER }}\n        -p${{ env.IMPORT_EXPORT_MYSQL_PASSWORD }}\n    - name: Check out repository code\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox coverage coveralls\n    - name: Run tox targets for ${{ matrix.python-version }} (sqlite)\n      run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)\n    - name: Run tox targets for ${{ matrix.python-version }} (postgres)\n      run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)\n      env:\n        IMPORT_EXPORT_TEST_TYPE: postgres\n    - name: Run tox targets for ${{ matrix.python-version }} (mysql)\n      run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)\n      env:\n        IMPORT_EXPORT_TEST_TYPE: mysql-innodb\n    - name: Combine test coverage\n      run: coverage combine\n    - name: Upload coverage data to coveralls.io\n      run: coveralls --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_FLAG_NAME: ${{ matrix.python-version }}\n        COVERALLS_PARALLEL: true\n\n  coveralls:\n    name: Indicate completion to coveralls.io\n    needs: test\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n      - name: Finished\n        run: |\n          pip3 install --upgrade coveralls\n          coveralls --service=github --finish\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "django-import-export/django-import-export"}
{"mined_at": "2024-07-15T13:53:52.107161", "created_at": "2019-12-19T10:45:17+01:00", "updated_at": "2019-12-19T10:45:17+01:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "name: Upload Python Package\n\non: push\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n        python setup.py sdist bdist_wheel\n    - name: Publish package\n      if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "thilinarajapakse/simpletransformers"}
{"mined_at": "2024-07-15T13:53:53.073757", "created_at": "2022-01-20T13:19:51+01:00", "updated_at": "2022-01-20T13:19:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "thilinarajapakse/simpletransformers"}
{"mined_at": "2024-07-15T13:53:55.194039", "created_at": "2020-04-23T11:52:54+02:00", "updated_at": "2020-04-23T11:52:54+02:00", "name": "Build dist and wheels", "path": ".github/workflows/build_wheels.yml", "contents": "name: Build dist and wheels\n\non:\n  release:\n    types:\n      - published\njobs:\n  build_wheels:\n    name: ubuntu-latest\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n\n    - name: Build wheel\n      run: |\n        pip wheel -w wheelhouse/ .\n\n    - uses: actions/upload-artifact@v2\n      with:\n        name: wheels\n        path: ./wheelhouse\n", "state": "active", "repository": "tslearn-team/tslearn"}
{"mined_at": "2024-07-15T13:53:57.193001", "created_at": "2020-09-15T14:41:16+02:00", "updated_at": "2020-09-15T14:41:16+02:00", "name": "Python tests", "path": ".github/workflows/build.yml", "contents": "name: Python tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python:\n          - { VERSION: \"3.7\", TOXENV: \"py37\", ALLOW_FAILURE: false }\n          - { VERSION: \"3.8\", TOXENV: \"py38\", ALLOW_FAILURE: false }\n          - { VERSION: \"3.9\", TOXENV: \"py39\", ALLOW_FAILURE: false }\n          - { VERSION: \"3.10\", TOXENV: \"py310\", ALLOW_FAILURE: false }\n          - { VERSION: \"3.11\", TOXENV: \"py311\", ALLOW_FAILURE: false }\n          - {\n              VERSION: \"3.11\",\n              TOXENV: \"flake8,doclint,docs,commitlint\",\n              ALLOW_FAILURE: false,\n            }\n          - { VERSION: \"3.11\", TOXENV: \"docstrings\", ALLOW_FAILURE: true }\n          - { VERSION: \"pypy3.9\", TOXENV: \"pypy\", ALLOW_FAILURE: false }\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v4.2.0\n        with:\n          python-version: ${{ matrix.PYTHON.VERSION }}\n\n      - name: Upgrade pip\n        run: |\n          pip install pip\n          pip --version\n\n      - name: Install Tox\n        run: |\n          pip install tox\n          tox --version\n\n      - name: Run Tox\n        run: tox\n        env:\n          TOXENV: ${{ matrix.PYTHON.TOXENV }}\n          GH_RECORD_MODE: \"none\"\n        continue-on-error: ${{ matrix.PYTHON.ALLOW_FAILURE }}\n", "state": "active", "repository": "sigmavirus24/github3.py"}
{"mined_at": "2024-07-15T13:53:58.224645", "created_at": "2022-02-20T16:32:19+01:00", "updated_at": "2022-02-20T16:32:19+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main, debian ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '32 17 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "sigmavirus24/github3.py"}
{"mined_at": "2024-07-15T13:53:59.374559", "created_at": "2023-12-15T13:58:39+01:00", "updated_at": "2023-12-15T15:43:37+01:00", "name": "Check documentation", "path": ".github/workflows/docs.yml", "contents": "---\nname: Check documentation\n\n\"on\":\n  schedule:\n    - cron: \"0 1 * * *\" # everyday at 1am\n  push:\n    paths:\n      - \"**.rst\"\n      - \"docs/**\"\n  pull_request:\n    paths:\n      - \"**.rst\"\n      - \"docs/**\"\n\njobs:\n  docs:\n    name: Build documentation & check links\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Upgrade pip\n        run: |\n          pip install -U pip\n          pip --version\n\n      - name: Install Tox\n        run: |\n          pip install tox\n          tox --version\n\n      - name: Build documentation\n        run: tox\n        env:\n          TOXENV: docs\n\n      - name: Upload documentation\n        uses: actions/upload-artifact@v3\n        with:\n          name: docs\n          path: docs/build\n", "state": "active", "repository": "sigmavirus24/github3.py"}
{"mined_at": "2024-07-15T13:54:00.465960", "created_at": "2021-01-07T19:03:44+01:00", "updated_at": "2021-01-07T19:03:44+01:00", "name": "Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: Labeler\n\non:\n  push:\n    branches:\n      - main\n      - master\n\njobs:\n  labeler:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v2.3.3\n\n      - name: Run Labeler\n        uses: crazy-max/ghaction-github-labeler@v3.1.1\n        with:\n          skip-delete: true\n", "state": "active", "repository": "sigmavirus24/github3.py"}
{"mined_at": "2024-07-15T13:54:01.470135", "created_at": "2023-05-12T22:25:13+02:00", "updated_at": "2023-05-12T22:25:13+02:00", "name": "Publish to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Publish to PyPI\n\non:\n  push:\n    tags:\n      - \"*\"\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: \"Build dists\"\n    runs-on: \"ubuntu-latest\"\n    environment:\n      name: \"publish\"\n    outputs:\n      hashes: ${{ steps.hash.outputs.hashes }}\n\n    steps:\n      - name: \"Checkout repository\"\n        uses: \"actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3\"\n\n      - name: \"Setup Python\"\n        uses: \"actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\"\n        with:\n          python-version: \"3.x\"\n\n      - name: \"Install dependencies\"\n        run: python -m pip install build==0.8.0\n\n      - name: \"Build dists\"\n        run: |\n          SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) \\\n          python -m build\n\n      - name: \"Generate hashes\"\n        id: hash\n        run: |\n          cd dist && echo \"::set-output name=hashes::$(sha256sum * | base64 -w0)\"\n\n      - name: \"Upload dists\"\n        uses: \"actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce\"\n        with:\n          name: \"dist\"\n          path: \"dist/\"\n          if-no-files-found: error\n          retention-days: 5\n\n  provenance:\n    needs: [build]\n    permissions:\n      actions: read\n      contents: write\n      id-token: write # Needed to access the workflow's OIDC identity.\n    uses: \"slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.5.0\"\n    with:\n      base64-subjects: \"${{ needs.build.outputs.hashes }}\"\n      upload-assets: true\n      compile-generator: true # Workaround for https://github.com/slsa-framework/slsa-github-generator/issues/1163\n\n  publish:\n    name: \"Publish\"\n    if: startsWith(github.ref, 'refs/tags/')\n    needs: [\"build\", \"provenance\"]\n    permissions:\n      contents: write\n      id-token: write\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n    - name: \"Download dists\"\n      uses: \"actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a\"\n      with:\n        name: \"dist\"\n        path: \"dist/\"\n\n    - name: \"Publish dists to PyPI\"\n      uses: \"pypa/gh-action-pypi-publish@48b317d84d5f59668bb13be49d1697e36b3ad009\"\n", "state": "active", "repository": "sigmavirus24/github3.py"}
{"mined_at": "2024-07-15T13:54:03.582975", "created_at": "2022-06-15T22:31:05+02:00", "updated_at": "2024-01-16T15:57:30+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - master\n      - beta\n      - sdk-release/**\n      - feature/**\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]+*\n  pull_request:\n    branches:\n      - master\n      - beta\n      - sdk-release/**\n      - feature/**\n\njobs:\n  lint:\n    name: Lint & Mypy\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: mypy\n        run: make mypy\n      - name: lint\n        run: make lint\n      - name: fmtcheck\n        run: make fmtcheck\n\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install tools\n        run: make venv\n\n      - name: Build and check package\n        run: |\n          set -x\n          source venv/bin/activate\n          python setup.py clean --all sdist bdist_wheel --universal\n          python -m twine check dist/*\n\n      - name: \"Upload Artifact\"\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist\n          path: dist/\n\n  test:\n    # Specific ubuntu version to support python 3.6 testing\n    # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877 for details\n    # move to ubuntu-latest when we drop 3.6\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python:\n          - { version: \"3.6\" , env: \"py36\" }\n          - { version: \"3.7\" , env: \"py37\" }\n          - { version: \"3.8\" , env: \"py38\" }\n          - { version: \"3.9\" , env: \"py39\" }\n          - { version: \"3.10\" , env: \"py310\" }\n          - { version: \"3.11\" , env: \"py311\" }\n          - { version: \"3.12\" , env: \"py312\" }\n          - { version: \"pypy-3.7\" , env: \"py3.7\" }\n          - { version: \"pypy-3.8\" , env: \"py3.8\" }\n          - { version: \"pypy-3.9\" , env: \"py3.9\" }\n          - { version: \"pypy-3.10\" , env: \"py3.10\" }\n    name: Test (${{ matrix.python.version }})\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python.version }} and 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: |\n            ${{ matrix.python.version }}\n            3.10\n\n      - uses: stripe/openapi/actions/stripe-mock@master\n\n      - name: Typecheck with pyright\n        run: PYRIGHT_ARGS=\"-- --pythonversion ${{ matrix.python.version }}\" make pyright\n        # Skip typecheking in pypy legs\n        if: ${{ !contains(matrix.python.version, 'pypy') }}\n\n      - name: Test with pytest\n        run: TOX_ARGS=\"-e ${{ matrix.python.env }}\" make ci-test\n\n      - name: Calculate and publish coverage\n        run: make coveralls\n        if: env.COVERALLS_REPO_TOKEN && matrix.python.version == '3.10'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n\n  publish:\n    name: Publish\n    if: >-\n      ((github.event_name == 'workflow_dispatch') || (github.event_name == 'push')) &&\n      startsWith(github.ref, 'refs/tags/v') &&\n      endsWith(github.actor, '-stripe')\n    needs: [build, test, lint]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Download all workflow run artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: dist\n          path: dist\n      - name: Set up Python 3\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Configure GPG Key\n        run: |\n          set -ex\n          echo $GPG_SIGNING_PRIVKEY | base64 --decode | gpg --import --batch --yes --pinentry-mode loopback --passphrase \"$GPG_SIGNING_PASSPHRASE\"\n        env:\n          GPG_SIGNING_PRIVKEY: ${{ secrets.GPG_SIGNING_PRIVKEY }}\n          GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSPHRASE }}\n      - name: Install tools\n        run: make venv\n      - name: Publish packages to PyPy\n        run: |\n          set -ex\n          source venv/bin/activate\n          export VERSION=$(cat VERSION)\n          gpg --detach-sign --local-user $GPG_SIGNING_KEYID  --pinentry-mode loopback --passphrase $GPG_SIGNING_PASSPHRASE -a dist/stripe-$VERSION.tar.gz\n          gpg --detach-sign --local-user $GPG_SIGNING_KEYID  --pinentry-mode loopback --passphrase $GPG_SIGNING_PASSPHRASE -a dist/stripe-$VERSION-py2.py3-none-any.whl\n\n          python -m twine upload --verbose dist/stripe-$VERSION.tar.gz  dist/stripe-$VERSION-py2.py3-none-any.whl dist/stripe-$VERSION.tar.gz.asc dist/stripe-$VERSION-py2.py3-none-any.whl.asc\n        env:\n          GPG_SIGNING_KEYID: ${{ secrets.GPG_SIGNING_KEYID }}\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n          GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSPHRASE }}\n      - uses: stripe/openapi/actions/notify-release@master\n        if: always()\n        with:\n          bot_token: ${{ secrets.SLACK_BOT_TOKEN }}\n", "state": "active", "repository": "stripe/stripe-python"}
{"mined_at": "2024-07-15T13:54:05.686972", "created_at": "2021-05-19T12:33:23+02:00", "updated_at": "2021-05-19T12:33:23+02:00", "name": ".github/workflows/python-tox.yml", "path": ".github/workflows/python-tox.yml", "contents": "on: [pull_request, push]\njobs:\n  build:\n    # Prevent duplicate builds for 'internal' pull requests on existing commits\n    # Credit: https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012\n    if: github.event.push || github.event.pull_request.head.repo.full_name != github.repository\n    strategy:\n      fail-fast: false\n      matrix:\n        # 2.7 and 3.7 run on Windows via AppVeyor\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, windows-latest]\n        deps: [base, optional]\n        include:\n          - python: \"pypy-2.7\"\n            os: ubuntu-latest\n            deps: base\n          - python: \"pypy-3.10\"\n            os: ubuntu-latest\n            deps: base\n          - python: \"3.8\"\n            os: ubuntu-latest\n            deps: oldest\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n      - if: ${{ matrix.deps == 'base' }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: pip\n          cache-dependency-path: |\n            requirements.txt\n            requirements-test.txt\n      - if: ${{ matrix.deps == 'optional' }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: pip\n          cache-dependency-path: |\n            requirements.txt\n            requirements-optional.txt\n            requirements-test.txt\n      - if: ${{ matrix.deps == 'oldest' }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: pip\n          cache-dependency-path: |\n            requirements-oldest.txt\n      - if: ${{ matrix.os == 'windows-latest' }}\n        name: Determine environment name for Tox (PowerShell)\n        run: python toxver.py ${{ matrix.python }} ${{ matrix.deps }} >> $env:GITHUB_ENV\n      - if: ${{ matrix.os == 'ubuntu-latest' }}\n        name: Determine environment name for Tox (Bash)\n        run: python toxver.py ${{ matrix.python }} ${{ matrix.deps }} >> $GITHUB_ENV\n      - run: pip install tox\n      - run: tox\n      - if: ${{ always() }}\n        run: python debug-info.py\n", "state": "active", "repository": "html5lib/html5lib-python"}
{"mined_at": "2024-07-15T13:54:07.780012", "created_at": "2023-06-23T07:01:48+02:00", "updated_at": "2023-06-26T14:40:08+02:00", "name": "Publish PyPI Package", "path": ".github/workflows/pypi_publish.yml", "contents": "# Workflow for publishing module package to https://pypi.org.\nname: Publish PyPI Package\n\non:\n  # trigger this workflow when a release is published.\n  release:\n    types:\n      - published\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE , so your workflow can access it.\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      # Run build to a specified version of python into a specified directory.\n      - name: Python Build\n        run: python3 -m pip install --upgrade build && python3 -m build\n      # Publish the python package to pypi.org with the api token.\n      - name: Publish Package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://upload.pypi.org/legacy/\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "jchanvfx/nodegraphqt"}
{"mined_at": "2024-07-15T13:54:08.798424", "created_at": "2023-06-26T07:09:01+02:00", "updated_at": "2023-06-26T14:51:23+02:00", "name": "Build API Documentation", "path": ".github/workflows/sphinx_doc_build.yml", "contents": "# Workflow for building the sphinx api documentation.\nname: Build API Documentation\n\non:\n  release:\n    types:\n      - published\n\nenv:\n  # environment variables.\n  SOURCE_BRANCH: main\n  PAGES_BRANCH: gh-pages\n\njobs:\n  docs-build:\n    runs-on: ubuntu-latest\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE , so your workflow can access it.\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      # Install Graphviz required for the sphinx plugin.\n      - name: Set up Graphviz\n        uses: ts-graphviz/setup-graphviz@v1\n      # Install a version of python.\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      # Install the python dependencies required for building.\n      - name: Install Dependencies\n        run: |\n            pip install sphinx==7.1.2\n            pip install bs4\n            pip install PySide2\n            pip install Qt.py\n            pip install autodocsumm\n      # Set the local git configs.\n      - name: Set Git Config\n        run: |\n            git config --local user.email \"actions@github.com\"\n            git config --local user.name \"Github Actions\"\n      # Merge the \"main\" branch to the \"gh-pages\" branch.\n      - name: Update \"gh-pages\" branch\n        run: |\n            git checkout $PAGES_BRANCH\n            git merge origin/$SOURCE_BRANCH\n      # Build the sphinx api documentation.\n      - name: Run Sphinx Build\n        run: sphinx-build -b html ./docs ./api -a -E\n      # Deploy the html updates to the \"gh-pages\" branch.\n      - name: Deploy HTML\n        run: |\n            git ls-files --others --exclude-standard\n            git add ./api\n            git commit -m \"github action: auto build api docs\"\n            git push origin $PAGES_BRANCH\n", "state": "active", "repository": "jchanvfx/nodegraphqt"}
{"mined_at": "2024-07-15T13:54:09.902126", "created_at": "2022-03-24T10:37:43+01:00", "updated_at": "2022-03-24T10:37:43+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "jchanvfx/nodegraphqt"}
{"mined_at": "2024-07-15T13:54:12.001160", "created_at": "2023-03-16T14:34:55+01:00", "updated_at": "2023-03-16T14:55:18+01:00", "name": "ci-build", "path": ".github/workflows/ci-build.yml", "contents": "name: ci-build\n\non:  # yamllint disable-line rule:truthy\n  schedule:\n    - cron: '0 3 * * 0'\n  workflow_call:\n    inputs:\n      py:\n        description: 'Python version'\n        required: false\n        default: 3\n        type: string\n  workflow_dispatch:\n    inputs:\n      py:\n        description: 'Python version'\n        required: true\n        default: 3\n        type: string\n\npermissions:\n  contents: read\n\njobs:\n\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        backend:\n          - skbuild\n          - mesonpy\n        os:\n          - ubuntu-22.04\n          - ubuntu-20.04\n          - macos-14\n          - macos-13\n          - macos-12\n          - windows-2022\n          - windows-2019\n        mpi:\n          - mpich\n          - openmpi\n          - intelmpi\n          - msmpi\n        exclude:\n          - backend: mesonpy\n            os:  windows-2022\n          - backend: mesonpy\n            os:  windows-2019\n          - os:  ubuntu-22.04\n            mpi: msmpi\n          - os:  ubuntu-20.04\n            mpi: msmpi\n          - os:  macos-14\n            mpi: intelmpi\n          - os:  macos-14\n            mpi: msmpi\n          - os:  macos-13\n            mpi: intelmpi\n          - os:  macos-13\n            mpi: msmpi\n          - os:  macos-12\n            mpi: intelmpi\n          - os:  macos-12\n            mpi: msmpi\n          - os:  windows-2022\n            mpi: mpich\n          - os:  windows-2022\n            mpi: openmpi\n          - os:  windows-2019\n            mpi: mpich\n          - os:  windows-2019\n            mpi: openmpi\n\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    # - name: Setup MSVC\n    #   if:   matrix.backend == 'mesonpy' && runner.os == 'Windows'\n    #   uses: bus1/cabuild/action/msdevshell@v1\n    #   with:\n    #     architecture: x64\n\n    - name: Setup MPI (${{ matrix.mpi }})\n      uses: mpi4py/setup-mpi@v1\n      with:\n        mpi: ${{ matrix.mpi }}\n\n    - name: Setup Python (${{ github.event.inputs.py || 3 }})\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ github.event.inputs.py || 3 }}\n        cache: pip\n        cache-dependency-path: |\n          conf/requirements-build-cython.txt\n          conf/requirements-build-${{ matrix.backend }}.txt\n\n    - name: Upgrade pip\n      run:  python -m pip install -U pip\n\n    - name: Install Python packages (build)\n      run:  python -m pip install -U build\n\n    - name: Build sdist and wheel (${{ matrix.backend }})\n      run:  python -m build\n      env:\n        MPI4PY_BUILD_BACKEND: ${{ matrix.backend }}\n        MPI4PY_LOCAL_VERSION: ${{ matrix.mpi }}\n\n    - name: Upload wheel\n      uses: actions/upload-artifact@v4\n      with:\n        name: mpi4py-${{ matrix.backend }}-${{ matrix.os }}-${{ matrix.mpi }}\n        path: dist/mpi4py-*.whl\n\n    - name: Install wheel\n      run:  python -m pip install mpi4py\n              --verbose --no-index --find-links=dist\n\n    - name: Test wheel after install (cmdline)\n      run:  mpiexec -n 1 python -m mpi4py --mpi-lib-version\n\n    - name: Test wheel after install (test_package)\n      run:  mpiexec -n 1 python test/main.py test_package\n\n    - name: Test wheel after install (helloworld)\n      run:  mpiexec -n 2 python -m mpi4py.bench helloworld\n\n    - name: Uninstall wheel after testing\n      run:  python -m pip uninstall mpi4py\n              --verbose --yes\n\n    - name: Install package with pip (${{ matrix.backend }})\n      run:  python -m pip install .\n              --verbose\n      env:\n        MPI4PY_BUILD_BACKEND: ${{ matrix.backend }}\n        MPI4PY_LOCAL_VERSION: ${{ matrix.mpi }}\n\n    - name: Test wheel after install (cmdline)\n      run:  mpiexec -n 1 python -m mpi4py --mpi-lib-version\n\n    - name: Test package after install (test_package)\n      run:  mpiexec -n 1 python test/main.py test_package\n\n    - name: Test package after install (helloworld)\n      run:  mpiexec -n 2 python -m mpi4py.bench helloworld\n\n    - name: Uninstall package after testing\n      run:  python -m pip uninstall mpi4py\n              --verbose --yes\n", "state": "active", "repository": "mpi4py/mpi4py"}
{"mined_at": "2024-07-15T13:54:13.192493", "created_at": "2023-03-16T14:34:56+01:00", "updated_at": "2023-03-16T14:55:18+01:00", "name": "ci-check", "path": ".github/workflows/ci-check.yml", "contents": "name: ci-check\n\non:  # yamllint disable-line rule:truthy\n  schedule:\n    - cron: '0 3 * * 0'\n  workflow_call:\n    inputs:\n      py:\n        description: 'Python version'\n        required: false\n        default: 3\n        type: string\n  workflow_dispatch:\n    inputs:\n      py:\n        description: 'Python version'\n        required: true\n        default: 3\n        type: string\n\npermissions:\n  contents: read\n\njobs:\n\n  conf:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - macos-latest\n          - windows-latest\n\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Setup Python (${{ github.event.inputs.py || 3 }})\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ github.event.inputs.py || 3 }}\n        cache: pip\n        cache-dependency-path: |\n          conf/requirements-build-cython.txt\n\n    - name: Upgrade pip\n      run:  python -m pip install -U pip setuptools\n\n    - name: Install Python packages (build)\n      run:  python -m pip install -U -r conf/requirements-build-cython.txt\n\n    - name: Build package\n      run:  python setup.py build\n      env:\n        MPICFG: nompi\n        CFLAGS: -O0\n\n    - name: Check build configuration\n      run:  |\n        # check nompi pympiconf.h\n        cp \"src/lib-mpi/pympiconf.h\" \"conf/nompi/pympiconf.h\"\n        git diff --exit-code\n\n    - name: Check code generation\n      run:  |\n        python conf/mpiapigen.py\n        git diff --exit-code\n\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Setup Python (${{ github.event.inputs.py || 3 }})\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ github.event.inputs.py || 3 }}\n        cache: pip\n        cache-dependency-path: |\n          conf/requirements-build-cython.txt\n          conf/requirements-build-lint.txt\n\n    - name: Upgrade pip\n      run:  python -m pip install -U pip\n\n    - name: Install package for linting\n      run:  python -m pip install .\n      env:\n        MPICFG: nompi-fast\n        CFLAGS: -O0\n\n    - name: Install Python packages (lint)\n      run:  python -m pip install -U -r conf/requirements-lint.txt\n\n    - name: ruff\n      run:  ruff check\n\n    - name: flake8\n      run:  flake8 docs src\n\n    - name: flake8 (testsuite)\n      run:  flake8 --select=A test\n\n    - name: pylint\n      run:  pylint mpi4py\n\n    - name: codespell\n      run:  codespell\n\n    - name: cython\n      run:  conf/cythonize.sh -Wextra -Werror\n\n    - name: cython-lint\n      run:  cython-lint .\n\n    - name: yamllint\n      run:  yamllint .\n\n  type:\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Setup Python (${{ github.event.inputs.py || 3 }})\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ github.event.inputs.py || 3 }}\n        cache: pip\n        cache-dependency-path: |\n          conf/requirements-build-cython.txt\n          conf/requirements-build-type.txt\n\n    - name: Upgrade pip\n      run:  python -m pip install -U pip\n\n    - name: Install package for typing\n      run:  python -m pip install .\n      env:\n        MPICFG: nompi-fast\n        CFLAGS: -O0\n\n    - name: Check stub generation\n      run:  |\n        python conf/mpistubgen.py\n        git diff --exit-code\n\n    - name: Install Python packages (type)\n      run:  python -m pip install -U -r conf/requirements-type.txt\n\n    - name: mypy (typecheck)\n      run:  |\n        mypy --python-version 3.13 -p mpi4py\n        mypy --python-version 3.12 -p mpi4py\n        mypy --python-version 3.11 -p mpi4py\n        mypy --python-version 3.10 -p mpi4py\n        mypy --python-version 3.9  -p mpi4py\n        mypy --python-version 3.8  -p mpi4py\n\n    - name: mypy (stubtest)\n      run:  stubtest mpi4py\n              ${{ github.event.inputs.py == '3.8' && '$(\n              echo mpi4py.*.Executor.submit > allowlist &&\n              echo --allowlist=allowlist )' || '' }}\n", "state": "active", "repository": "mpi4py/mpi4py"}
{"mined_at": "2024-07-15T13:54:14.321116", "created_at": "2023-05-18T13:04:16+02:00", "updated_at": "2023-05-19T14:09:43+02:00", "name": "ci-cover", "path": ".github/workflows/ci-cover.yml", "contents": "name: ci-cover\n\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      py:\n        description: 'Python version'\n        required: false\n        default: 3\n        type: string\n  workflow_dispatch:\n    inputs:\n      py:\n        description: 'Python version'\n        required: true\n        default: 3\n        type: string\n\npermissions:\n  contents: read\n\nenv:\n  MPI4PY_COVERAGE_PLUGIN: cycoverage\n  PYTHONPATH: ${{ github.workspace }}/conf\n\njobs:\n\n  cover:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    strategy:\n      fail-fast: false\n      matrix:\n        mpi:\n          - mpich\n          - openmpi\n        py:\n          - ${{ github.event.inputs.py || 3 }}\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    steps:\n\n    - uses: actions/checkout@v4\n\n    - uses: mamba-org/setup-micromamba@v1\n      with:\n        init-shell: bash\n        post-cleanup: none\n        environment-name: cover\n        create-args: >-\n          ${{ matrix.mpi }}${{ matrix.mpi == 'openmpi' && '=5.0.0' || '' }}\n          ${{ matrix.mpi }}-mpicc\n          python=${{ matrix.py }}\n          pip\n          setuptools\n          cython\n          coverage\n          numpy\n        condarc: |\n          show_channel_urls: true\n          channel_priority: strict\n          channels:\n            - conda-forge\n            - nodefaults\n\n    - run: python -m pip install .\n      env:\n        CFLAGS: -O0\n        CPPFLAGS: -O0 -Wp,-U_FORTIFY_SOURCE\n        PIP_VERBOSE: 3\n        PIP_NO_CACHE_DIR: true\n        PIP_NO_BUILD_ISOLATION: false  # pypa/pip#5735\n        PIP_DISABLE_PIP_VERSION_CHECK: true\n\n    - name: Tweak MPI\n      run: |\n        openmpi_mca_params=$HOME/.openmpi/mca-params.conf\n        mkdir -p $(dirname $openmpi_mca_params)\n        echo plm_ssh_agent=false >> $openmpi_mca_params\n        echo pml=ob1 >> $openmpi_mca_params\n        echo btl=tcp,self >> $openmpi_mca_params\n        echo mpi_yield_when_idle=true >> $openmpi_mca_params\n        echo btl_base_warn_component_unused=false >> $openmpi_mca_params\n        prte_mca_params=$HOME/.prte/mca-params.conf\n        mkdir -p $(dirname $prte_mca_params)\n        echo rmaps_default_mapping_policy=:oversubscribe >> $prte_mca_params\n\n    - name: Run coverage\n      run:  test/coverage.sh\n\n    - name: Prepare coverage data\n      run:  mv .coverage .coverage.${TAG}\n      env:\n        TAG: ${{ runner.os }}.${{ matrix.mpi }}.py${{ matrix.py }}\n\n    - name: Upload coverage data\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage-data-${{ runner.os }}-${{ matrix.mpi }}-${{ matrix.py }}\n        path: \".coverage.*\"\n        if-no-files-found: ignore\n\n  report:\n    runs-on: ubuntu-latest\n    needs: cover\n    if: always()\n\n    steps:\n\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ github.event.inputs.py || 3 }}\n        cache: pip\n        cache-dependency-path: |\n          conf/requirements-build-cython.txt\n    - run: python -m pip install -U pip setuptools\n\n    - run: python -m pip install -U -r conf/requirements-build-cython.txt\n    - run: python -m pip install -U coverage\n    - run: python setup.py build_src\n\n    - name: Download coverage data\n      uses: actions/download-artifact@v4\n      with:\n        pattern: coverage-data-*\n        merge-multiple: true\n\n    - name: Report coverage\n      run: |\n        python -m coverage combine\n        python -m coverage html\n        python -m coverage xml\n        python -m coverage report --format=markdown >> $GITHUB_STEP_SUMMARY\n        python -m coverage report --fail-under=100\n\n    - name: Upload HTML report\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage-html\n        path: htmlcov\n      if: failure()\n", "state": "active", "repository": "mpi4py/mpi4py"}
{"mined_at": "2024-07-15T13:54:15.547292", "created_at": "2023-03-16T14:39:08+01:00", "updated_at": "2024-02-27T18:47:27+01:00", "name": "ci-test", "path": ".github/workflows/ci-test.yml", "contents": "name: ci-test\n\non:  # yamllint disable-line rule:truthy\n  schedule:\n    - cron: '0 3 * * 0'\n  workflow_call:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-22.04\n          - macos-14\n          - windows-2022\n        mpi:\n          - mpich\n          - openmpi\n          - msmpi\n        py:\n          - \"3.11\"\n          - \"3.12\"\n          - \"3.13-dev\"\n          - \"pypy-3.9\"\n          - \"pypy-3.10\"\n        exclude:\n          - os: ubuntu-22.04\n            mpi: msmpi\n          - os: macos-14\n            mpi: msmpi\n          - os: windows-2022\n            mpi: mpich\n          - os: windows-2022\n            mpi: openmpi\n\n    steps:\n\n    - name: Configure hostname\n      run:  echo 127.0.0.1 `hostname` | sudo tee -a /etc/hosts > /dev/null\n      if:   runner.os == 'Linux' || runner.os == 'macOS'\n\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Setup MPI (${{ matrix.mpi }})\n      uses: mpi4py/setup-mpi@v1\n      with:\n        mpi: ${{ matrix.mpi }}\n\n    - name: Setup Python (${{ matrix.py }})\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.py }}\n        cache: pip\n        cache-dependency-path: |\n          conf/requirements-build-cython.txt\n          conf/requirements-test.txt\n\n    - name: Upgrade pip\n      run:  python -m pip install -U pip\n\n    - name: Build package\n      run:  python -m pip wheel -v --wheel-dir=dist .\n    - name: Upload package artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: mpi4py-${{ matrix.os }}-${{ matrix.mpi }}-${{ matrix.py }}\n        path: dist/mpi4py-*.whl\n\n    - name: Install package for testing\n      run:  python -m pip install mpi4py\n              --verbose --no-index --find-links=dist\n\n    - name: Install Python packages (test)\n      run:  python -m pip install -U -r conf/requirements-test.txt\n      if:   ${{ !endsWith(matrix.py, '-dev') &&\n                !contains(matrix.py, '-alpha') }}\n\n    - name: Test mpi4py (np=1)\n      run:  mpiexec -n 1 python test/main.py -v\n    - name: Test mpi4py (np=2)\n      run:  mpiexec -n 2 python test/main.py -v -f -e spawn\n\n    - name: Test mpi4py.futures (np=1)\n      run:  mpiexec -n 1 python demo/futures/test_futures.py -v\n    - name: Test mpi4py.futures (np=2)\n      run:  mpiexec -n 2 python demo/futures/test_futures.py -v\n\n    - name: Test mpi4py.run\n      run:  python demo/test-run/test_run.py -v\n      if:   matrix.mpi != 'msmpi'\n    - name: Test init-fini\n      run:  bash demo/init-fini/run.sh\n      if:   matrix.mpi != 'msmpi'\n    - name: Test check-mpiexec\n      run:  bash demo/check-mpiexec/run.sh\n      if:   matrix.mpi != 'msmpi'\n\n    - name: Uninstall package after testing\n      run:  python -m pip uninstall --yes mpi4py\n", "state": "active", "repository": "mpi4py/mpi4py"}
{"mined_at": "2024-07-15T13:54:16.557422", "created_at": "2020-02-05T00:46:39+01:00", "updated_at": "2020-02-05T10:23:28+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:  # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - master\n      - maint\n      - ci/all\n      - ci/github\n  pull_request:\n    branches:\n      - master\n      - maint\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}\n\npermissions:\n  contents: read\n\njobs:\n\n  test:\n    uses: ./.github/workflows/ci-test.yml\n\n  build:\n    uses: ./.github/workflows/ci-build.yml\n\n  check:\n    uses: ./.github/workflows/ci-check.yml\n\n  cover:\n    uses: ./.github/workflows/ci-cover.yml\n\n  ci-status:\n    runs-on: ubuntu-latest\n    if: ${{ success() || failure() }}\n    needs:\n      - test\n      - build\n      - check\n      - cover\n    steps:\n    - run: ${{ !(contains(needs.*.result, 'failure')) }}\n", "state": "active", "repository": "mpi4py/mpi4py"}
{"mined_at": "2024-07-15T13:54:17.629563", "created_at": "2023-02-21T08:56:50+01:00", "updated_at": "2023-02-21T22:34:26+01:00", "name": "dist", "path": ".github/workflows/dist.yml", "contents": "name: dist\n\non:  # yamllint disable-line rule:truthy\n  release:\n    types:\n      - published\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n\n  docs:\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - name: Install LaTeX\n      run:  |\n        # Install Tex Live\n        sudo apt update && \\\n        sudo apt install -y \\\n           texlive-latex-base \\\n           texlive-latex-recommended \\\n           texlive-latex-extra \\\n           latexmk \\\n           texinfo\n\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Set SOURCE_DATE_EPOCH\n      run:  |\n        SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)\n        echo SOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH >> $GITHUB_ENV\n        echo $(git log -1 --pretty=%ci) [timestamp=$SOURCE_DATE_EPOCH]\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3\n\n    - name: Upgrade pip\n      run:  python -m pip install -U pip\n\n    - name: Install tox\n      run:  python -m pip install -U tox\n\n    - name: Build documentation\n      run:  python -m tox run -m docs\n\n    - name: Archive documentation\n      run: |\n        archive=mpi4py-docs.zip\n        rootdir=${archive%.zip}\n        ln -s docs $rootdir\n        python conf/metadata.py version > $rootdir/version\n        python -m zipfile -c $archive $rootdir\n\n    - name: Upload documentation artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: mpi4py-docs\n        path: mpi4py-docs.zip\n\n  sdist:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      id-token: write\n      attestations: write\n\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Set SOURCE_DATE_EPOCH\n      run:  |\n        SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)\n        echo SOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH >> $GITHUB_ENV\n        echo $(git log -1 --pretty=%ci) [timestamp=$SOURCE_DATE_EPOCH]\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3\n\n    - name: Upgrade pip\n      run:  python -m pip install -U pip\n\n    - name: Install build and twine\n      run:  python -m pip install -U build twine\n\n    - name: Build source distribution\n      run:  python -m build --sdist\n\n    - name: Check source distribution\n      run:  python -m twine check dist/mpi4py-*.tar.gz\n\n    - name: Compute SHA256 checksum\n      run:  sha256sum -b mpi4py-*.tar.gz >> sha256sum.txt\n      working-directory: dist\n\n    - name: Report SHA256 checksum\n      run:  |\n        echo '```'        >> $GITHUB_STEP_SUMMARY\n        cat sha256sum.txt >> $GITHUB_STEP_SUMMARY\n        echo '```'        >> $GITHUB_STEP_SUMMARY\n      working-directory: dist\n\n    - name: Upload distribution artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: mpi4py-dist\n        path: |\n          dist/mpi4py-*.tar.gz\n          dist/sha256sum.txt\n\n    - if: ${{ github.event_name == 'release' }}\n      name: Attest distribution artifact\n      uses: actions/attest-build-provenance@v1\n      with:\n        subject-path: dist/mpi4py-*.tar.gz\n\n  gh-publish:\n    if: ${{ github.event_name == 'release' }}\n    runs-on: ubuntu-latest\n    needs: sdist\n    environment:\n      name: gh\n      url: https://github.com/mpi4py/mpi4py/releases\n    permissions:\n      contents: write\n\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Download distribution artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: mpi4py-dist\n        path: dist\n\n    - name: Publish package distributions to GitHub Releases\n      run:  gh release upload $TAG dist/mpi4py-*.tar.gz\n      env:\n        TAG: ${{ github.event.release.tag_name }}\n        GITHUB_TOKEN: ${{ github.token }}\n\n  pypi-publish:\n    if: ${{ github.event_name == 'release' }}\n    runs-on: ubuntu-latest\n    needs: sdist\n    environment:\n      name: pypi\n      url: https://pypi.org/p/mpi4py/\n    permissions:\n      id-token: write\n\n    steps:\n\n    - name: Download distribution artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: mpi4py-dist\n        path: dist\n\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "mpi4py/mpi4py"}
{"mined_at": "2024-07-15T13:54:18.644823", "created_at": "2023-10-21T10:14:40+02:00", "updated_at": "2023-10-21T10:14:40+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mpi4py/mpi4py"}
{"mined_at": "2024-07-15T13:54:20.668030", "created_at": "2021-06-12T16:33:34+02:00", "updated_at": "2022-11-26T13:38:04+01:00", "name": "CI", "path": ".github/workflows/workflow.yml", "contents": "name: CI\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11.2'\n    - name: Set up Node\n      uses: actions/setup-node@v4\n      with:\n        node-version: '18.17.1'\n    - name: Install chromedriver\n      uses: nanasess/setup-chromedriver@master\n    - name: Install Python and JS dependencies\n      run: ./scripts/install_deps.sh\n    - name: Build\n      id: build\n      env:\n        REACT_APP_SENTRY_DSN: https://37b1f01452b54bf4a0fe88656070998f@o871617.ingest.sentry.io/5824691\n        REACT_APP_USE_FIREBASE_EMULATORS: '1'\n        REACT_APP_FIREBASE_STAGING: '1'\n        FUTURECODER_LANGUAGE: en\n      run: ./scripts/build.sh\n    - name: Test\n      env:\n        FUTURECODER_LANGUAGE: en\n        FIREBASE_TOKEN: '1//03I37hFeN4kn3CgYIARAAGAMSNwF-L9IrUvqofZbhOkS8YMtQBhw_bu2TpWYC5MHvnaZDsWPP0KJMypXPyoxogkl8A6p2RxPJQwQ'\n      run: ./scripts/ci_test.sh\n    - name: Upload test artifacts\n      uses: actions/upload-artifact@v4\n      if: steps.build.outcome == 'success'\n      with:\n        path: '**/test_frontend_assets/'\n    - name: Deploy preview\n      uses: FirebaseExtended/action-hosting-deploy@v0\n      if: steps.build.outcome == 'success' && github.ref != 'refs/heads/master'\n      with:\n        repoToken: '${{ secrets.GITHUB_TOKEN }}'\n        firebaseServiceAccount: '{ \"type\": \"service_account\", \"project_id\": \"futurecoder-staging\", \"private_key_id\": \"22b14cd951860ff430e5dbc8f594fb4bc8f6cdab\", \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCfOtcinbvJ5t9J\\nh1N3yA37BUBlm0UdibbcZkQhI2YI5oUogF//F8Q9giEGzKcGexM5Yz2mLKhkwGVl\\n+j5H+C3EFqUUqtAHk7Lf/F7KnS54fjMz76MgxG80xFCxrZcD6jJerxKUroukIEsK\\n7VO28oY16i2kWF8gFwCIeTPGbRcSi3Y+V9JbOaIkIafx7kOU4u0o6X/KymKmws6G\\nW462VBfaOwF81cObDMDBUl2RvbDK7vw2XhyTd5ua/EGNv0gGNdnl3XNVYI+a81Ct\\nM1GIxV0r77wHTpEHWkC6bUh+e5D5mom6NQkZo64jcQSKAtkUzSaVdeXkHdEJjEZC\\no/xBGRjPAgMBAAECggEADn2ATnokOL912m8iPWhLPWjA734tz/5UUcJMuOdLxcuU\\nmpb0JXa4ORC6iK/fE0vn9/T8Cz9NI74OfDVFra78GzgkVbklrUrXoGKLDc04CWcS\\nqctJARZfOGIVJdYyQ/zwEIXGHxmzQ4Bc0+W9FI0FgaqJ9MbGAVmWhtTgzVHoI5vA\\npPgDBYX6NTKUwcGcIAloapvGUSmBuNE2nt46TA8zR8UFCxSHogY030WQZJJrQhGY\\nmwlmWcj4+yVP9DSzGKo4M6eEkfx/uoPT0SHED91Fev3lMre5j4Jcsw5DaAECnyS4\\n6osyXDverxmoqHtDjULt8qZR6cpD1lj8j1rukX/ZYQKBgQDRt/UeiqeoGDiQMuii\\nG8A6WKc8Ajt/H0NQTHiRxuK0KJWXQoo29rVIRTWYdhiryXn5Ox6IqHyzdR8n/45M\\nS2MchwJ5flztePZAfAL1bT5VZ4wS9XvXmg6kqPVDztEM0b/tc8pYbu7vFaa3t1KZ\\nWg5OHQG4ujSzB1ov3kZk1rNzIwKBgQDCXoYShoaoAsbXWGrZ5Alwia7ovm+EI0XT\\nukeNZ+jrNPs6feBLSZtWmNpWcYtFtudrLJxn/5zesxJdT35y1C2HuH4//9UHpd7q\\njKKonUXmRmP+5EirCYr08kO3fzrM8tPpZgEOx/hw+dvS04zgwjGSsZ4L2YyAtT13\\nYteV2hFkZQKBgQC8dgHS1mtfxZRfEUC5HRMb27s9VAw/asrFCFN5PS9REv+LFIK8\\nbevu7DMDtWzqQ35XGGeSC0c0xdWfzioEKeMBKdpxb7r2tLMms8q83tUbTpg0GWKX\\nF5x9IFB4BQ0b5goBywJVgis5s01E33tcz+73B14asUrWb47+YVMFH2PX3QKBgQCx\\nX0z+TuFHJPGLxtYLbPvoRNzm7BIcBYxNQOrW8gIt0jWJFSG/0rX8+pQU2pz7y4O3\\n3AgHJ85htAyINmjwJQw/lG8xvCcNSaL5a8lsEcmd8JKEIpLl8llqWkLNiz9/lAEq\\nNrm0YWwovPqLlB41ZUGT2p6dtbNwKPSkpACUcWH5uQKBgGO1hVeWdVgKESi4eDZF\\nRiY7i/RvsVSz6FY4vOB8gjGFuPkucPnDQEczFU64HbqiVqqv50ceGm7CkYWekCbh\\nWlqvH/ptmKt71taSi2hbNoinFqWoU2Wqs2n2JFAzFNrS8m2KYjshVK9/ycllGIFr\\nYXCZv1gcS+vONiEt5lzPK/We\\n-----END PRIVATE KEY-----\\n\", \"client_email\": \"firebase-adminsdk-r0lzu@futurecoder-staging.iam.gserviceaccount.com\", \"client_id\": \"109050011633679213214\", \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\", \"token_uri\": \"https://oauth2.googleapis.com/token\", \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\", \"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-r0lzu%40futurecoder-staging.iam.gserviceaccount.com\" }'\n        projectId: futurecoder-staging\n        channelId: ${{ github.ref }}\n", "state": "active", "repository": "alexmojaki/futurecoder"}
{"mined_at": "2024-07-15T13:54:22.920700", "created_at": "2020-11-21T23:09:52+01:00", "updated_at": "2020-11-21T23:09:52+01:00", "name": "Linux tests", "path": ".github/workflows/linux-tests.yml", "contents": "name: Linux tests\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n    branches:\n    - main\n  workflow_dispatch:\n\nconcurrency:\n  group: linux-tests-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  linux:\n    name: Linux Py${{ matrix.PYTHON_VERSION }} - ${{ matrix.INSTALL_TYPE }} - ${{ matrix.QT_LIB }}\n    runs-on: ubuntu-latest\n    env:\n      CI: True\n      QTCONSOLE_TESTING: True\n      PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}\n      RUNNER_OS: 'ubuntu'\n      COVERALLS_REPO_TOKEN: XWVhJf2AsO7iouBLuCsh0pPhwHy81Uz1v\n    strategy:\n      fail-fast: false\n      matrix:\n        PYTHON_VERSION: ['3.8', '3.9', '3.10', '3.11']\n        INSTALL_TYPE: ['conda', 'pip']\n        QT_LIB: ['pyqt5', 'pyqt6']\n        exclude:\n          - INSTALL_TYPE: 'conda'\n            QT_LIB: 'pyqt6'\n    timeout-minutes: 15\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v3\n      - name: Install System Packages\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y --no-install-recommends '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev libegl1\n      - name: Install Conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n           activate-environment: test\n           auto-update-conda: false\n           auto-activate-base: false\n           channels: conda-forge\n           channel-priority: strict\n           miniforge-variant: Mambaforge\n           python-version: ${{ matrix.PYTHON_VERSION }}\n      - name: Install dependencies with conda\n        if: matrix.INSTALL_TYPE == 'conda'\n        shell: bash -l {0}\n        run: mamba env update --file requirements/environment.yml\n      - name: Install dependencies with pip\n        if: matrix.INSTALL_TYPE == 'pip'\n        shell: bash -l {0}\n        run: |\n          pip install -e .[test]\n          if [ ${{ matrix.QT_LIB }} = \"pyqt6\" ]; then\n            pip install pyqt6!=6.4.0 pyqt6-qt6!=6.4.0 coveralls pytest-cov\n          else\n            pip install ${{ matrix.QT_LIB }} coveralls pytest-cov\n          fi\n      - name: Show environment information\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n          pip list\n      - name: Run tests\n        shell: bash -l {0}\n        run: xvfb-run --auto-servernum pytest -vv -s --full-trace --color=yes --cov=qtconsole qtconsole\n        env:\n          QT_API: ${{ matrix.QT_LIB }}\n          PYTEST_QT_API: ${{ matrix.QT_LIB }}\n      - name: Upload coverage to Codecov\n        if: matrix.PYTHON_VERSION == '3.8'\n        shell: bash -l {0}\n        run: coveralls\n", "state": "active", "repository": "jupyter/qtconsole"}
{"mined_at": "2024-07-15T13:54:23.954575", "created_at": "2020-11-21T23:09:52+01:00", "updated_at": "2020-11-21T23:09:52+01:00", "name": "Macos tests", "path": ".github/workflows/macos-tests.yml", "contents": "name: Macos tests\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n    branches:\n    - main\n\nconcurrency:\n  group: macos-tests-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  macos:\n    name: Mac Py${{ matrix.PYTHON_VERSION }}\n    runs-on: macos-latest\n    env:\n      CI: True\n      QTCONSOLE_TESTING: True\n      PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}\n      RUNNER_OS: 'macos'\n    strategy:\n      fail-fast: false\n      matrix:\n        PYTHON_VERSION: ['3.8', '3.9', '3.10', '3.11']\n    timeout-minutes: 15\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v3\n      - name: Install Conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n           activate-environment: test\n           auto-update-conda: false\n           auto-activate-base: false\n           python-version: ${{ matrix.PYTHON_VERSION }}\n           miniforge-variant: Mambaforge\n           channels: conda-forge\n           channel-priority: strict\n      - name: Install package dependencies\n        shell: bash -l {0}\n        run: mamba env update --file requirements/environment.yml\n      - name: Show environment information\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n      - name: Run tests\n        shell: bash -l {0}\n        run: pytest -vv --color=yes --cov=qtconsole qtconsole\n", "state": "active", "repository": "jupyter/qtconsole"}
{"mined_at": "2024-07-15T13:54:25.086049", "created_at": "2020-11-21T23:09:52+01:00", "updated_at": "2020-11-21T23:09:52+01:00", "name": "Windows tests", "path": ".github/workflows/windows-tests.yml", "contents": "name: Windows tests\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n    branches:\n    - main\n\nconcurrency:\n  group: windows-tests-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  windows:\n    name: Windows Py${{ matrix.PYTHON_VERSION }}\n    runs-on: windows-latest\n    env:\n      CI: True\n      QTCONSOLE_TESTING: True\n      PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}\n      RUNNER_OS: 'windows'\n    strategy:\n      fail-fast: false\n      matrix:\n        PYTHON_VERSION: ['3.8', '3.9', '3.10', '3.11']\n    timeout-minutes: 15\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v3\n      - name: Install Conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n           activate-environment: test\n           auto-update-conda: false\n           auto-activate-base: false\n           python-version: ${{ matrix.PYTHON_VERSION }}\n           miniforge-variant: Mambaforge\n           channels: conda-forge\n           channel-priority: strict\n      - name: Install package dependencies\n        shell: bash -l {0}\n        run: mamba env update --file requirements/environment.yml\n      - name: Show environment information\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n      - name: Run tests\n        shell: bash -l {0}\n        run: pytest -vv --color=yes --cov=qtconsole qtconsole\n", "state": "active", "repository": "jupyter/qtconsole"}
{"mined_at": "2024-07-15T13:54:27.207852", "created_at": "2020-10-22T19:09:43+02:00", "updated_at": "2021-12-08T13:37:07+01:00", "name": "PyMeasure CI", "path": ".github/workflows/pymeasure_CI.yml", "contents": "name: PyMeasure CI\non:\n  push:\n    branches:\n      - master\n      - develop\n  pull_request:\n\njobs:\n  docs_lint:\n    name: Docs and Linting\n    runs-on: \"ubuntu-latest\"\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install pymeasure requirements\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: .github/pymeasure.yml\n          cache-environment-key: pylatest-ubuntu-latest-mamba-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}\n          cache-downloads: false\n      - name: Python and Mamba version\n        run: |\n          python --version\n          micromamba info\n      - name: Set up flake8 annotations\n        uses: rbialon/flake8-annotations@v1\n      - name: Lint with flake8\n        run: |\n          # Be sure to check for Python syntax errors or undefined names\n          flake8 . --count --extend-select=E9,F63,F7,F82 --show-source --statistics\n      - uses: ammaraskar/sphinx-problem-matcher@master\n      - name: Generate docs\n        if: always()  # run even if the previous step failed\n        working-directory: ./docs\n        run: |\n          echo \"::add-matcher::.github/sphinx.json\"\n          make html SPHINXOPTS=\"-W --keep-going\"\n      - name: Run doctests\n        if: always()  # run even if the previous step failed\n        working-directory: ./docs\n        run: |\n          echo \"::add-matcher::.github/sphinx.json\"\n          make doctest SPHINXOPTS=\"-W --keep-going\"\n\n  test_coverage:\n    name: Code Coverage on codecov\n    runs-on: \"ubuntu-latest\"\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install pymeasure requirements\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: .github/pymeasure.yml\n          create-args: python=${{ matrix.python-version }}\n          cache-environment-key: py${{ matrix.python-version }}-${{ matrix.os }}-mamba-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}\n          cache-downloads: false\n      - name: Python version\n        run: python --version\n      - name: Install Pymeasure\n        run: pip install -e .[tests]  # editable for covtest\n      - name: Pymeasure version\n        run: python -c \"import pymeasure;print(pymeasure.__version__)\"\n      - name: Test for Coverage\n        # xvfb for graphical interface\n        run: |\n          echo \"::add-matcher::.github/pytest.json\"\n          xvfb-run -a pytest --cov=pymeasure --cov-report=xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n          files: ./coverage.xml,!./cache\n          flags: unittests\n          name: codecov-umbrella\n          verbose: true\n\n  test:\n    name: Python ${{ matrix.python-version }}, ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install pymeasure requirements\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          # ternary operator: if python-version == 3.12 use pymeasure_python312.yml else use pymeasure.yml\n          environment-file: ${{ matrix.python-version == '3.12' && '.github/pymeasure_python312.yml' || '.github/pymeasure.yml'}}\n          create-args: python=${{ matrix.python-version }}\n          cache-environment-key: py${{ matrix.python-version }}-${{ matrix.os }}-mamba-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}\n          cache-downloads: false\n      - name: Python version\n        run: python --version\n      - name: Install Pymeasure\n        # If the pytest problem matcher stops working because of bad paths, do an editable install\n        run: pip install .[tests]\n      - name: Pymeasure version\n        run: python -c \"import pymeasure;print(pymeasure.__version__)\"\n      - name: Run pytest with xvfb\n        if: runner.os == 'Linux'\n        run: |\n          echo \"::add-matcher::.github/pytest.json\"\n          xvfb-run -a pytest\n      - name: Run pytest\n        if: runner.os != 'Linux'\n        run: |\n          echo \"::add-matcher::.github/pytest.json\"\n          pytest\n\n\n  test_numpy2:\n    name: Python 3.11, ubuntu-latest, numpy>=2\n    runs-on: \"ubuntu-latest\"\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install pymeasure requirements\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: .github/pymeasure_numpy2.yml\n          create-args: python=3.11\n          cache-environment-key: py3.11-ubuntu-latest-mamba-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}\n          cache-downloads: false\n      - name: Python version\n        run: python --version\n      - name: Install Pymeasure\n        # If the pytest problem matcher stops working because of bad paths, do an editable install\n        run: pip install .[tests]\n      - name: Pymeasure version\n        run: python -c \"import pymeasure;print(pymeasure.__version__)\"\n      - name: Run pytest with xvfb\n        run: |\n          echo \"::add-matcher::.github/pytest.json\"\n          xvfb-run -a pytest\n", "state": "active", "repository": "pymeasure/pymeasure"}
{"mined_at": "2024-07-15T13:54:28.221080", "created_at": "2024-05-21T08:51:19+02:00", "updated_at": "2024-05-21T08:51:19+02:00", "name": "Build and Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Build and Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build twine\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "pymeasure/pymeasure"}
{"mined_at": "2024-07-15T13:54:30.322829", "created_at": "2023-09-15T19:04:59+02:00", "updated_at": "2023-09-15T19:04:59+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  pull_request:\n  push:\n    branches: ['**']\n    tags-ignore: ['**']\n\nconcurrency:\n  group: ${{ github.event_name != 'pull_request' && github.run_id || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  LC_ALL: 'C.UTF-8'\n  LANG: 'C.UTF-8'\n  LANGUAGE: 'C.UTF-8'\n\njobs:\n  type-check:\n    name: Type check\n    runs-on: ubuntu-latest\n    container: python:latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: |\n          pip install poetry\n          poetry install\n\n      - name: Run check\n        run: >\n          poetry run\n          mypy\n          hwi.py\n          hwilib/_base58.py\n          hwilib/_bech32.py\n          hwilib/_cli.py\n          hwilib/commands.py\n          hwilib/common.py\n          hwilib/descriptor.py\n          hwilib/devices/bitbox02.py\n          hwilib/devices/coldcard.py\n          hwilib/devices/digitalbitbox.py\n          hwilib/devices/jade.py\n          hwilib/devices/__init__.py\n          hwilib/devices/keepkey.py\n          hwilib/devices/ledger.py\n          hwilib/devices/trezor.py\n          hwilib/errors.py\n          hwilib/_script.py\n          hwilib/_serialize.py\n          hwilib/tx.py\n          hwilib/hwwclient.py\n          hwilib/__init__.py\n          hwilib/key.py\n          hwilib/udevinstaller.py\n\n  non-device-tests:\n    name: Non-device tests\n    runs-on: ubuntu-latest\n    container: python:latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: |\n          pip install poetry\n          poetry install\n\n      - name: Run tests\n        run: |\n          cd test; poetry run ./run_tests.py; cd ..\n\n  lint:\n    name: lint\n    runs-on: ubuntu-latest\n    container: python:latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: |\n          pip install poetry\n          poetry install\n\n      - run: |\n          poetry run flake8\n\n\n  wine-builder:\n    name: Wine builder\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: contrib/build-wine.Dockerfile\n          tags: build-wine-container\n          load: true\n\n      - run: >\n          docker run --rm \\\n            --volume ${{ github.workspace }}:${{ github.workspace }} \\\n            --workdir ${{ github.workspace }} \\\n            build-wine-container bash -c \"\n              git config --global --add safe.directory ${{ github.workspace }}\n              contrib/build_wine.sh\n              find dist -type f -exec sha256sum {} \\;\n            \"\n\n  dist-builder:\n    name: Dist builder\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: contrib/build.Dockerfile\n          tags: build-container\n          load: true\n\n      - run: >\n          docker run --rm \\\n            --volume ${{ github.workspace }}:${{ github.workspace }} \\\n            --workdir ${{ github.workspace }} \\\n            build-container bash -c \"\n              git config --global --add safe.directory ${{ github.workspace }}\n              contrib/build_bin.sh\n              contrib/build_dist.sh\n              find dist -type f -exec sha256sum {} \\;\n            \"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist/\n\n  sim-builder:\n    name: Sim builder\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        device:\n          - { name: 'trezor-1', archive: 'trezor-firmware',  paths: 'test/work/trezor-firmware' }\n          - { name: 'trezor-t', archive: 'trezor-firmware',  paths: 'test/work/trezor-firmware' }\n          - { name: 'coldcard', archive: 'coldcard-mpy',     paths: 'test/work/firmware/external/micropython/ports/unix/coldcard-mpy test/work/firmware/unix/coldcard-mpy test/work/firmware/unix/l-mpy test/work/firmware/unix/l-port' }\n          - { name: 'bitbox01', archive: 'mcu',              paths: 'test/work/mcu' }\n          - { name: 'jade',     archive: 'jade',             paths: 'test/work/jade/simulator' }\n          - { name: 'ledger',   archive: 'speculos',         paths: 'test/work/speculos' }\n          - { name: 'keepkey',  archive: 'keepkey-firmware', paths: 'test/work/keepkey-firmware/bin' }\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y gcc-arm-linux-gnueabihf libsdl2-image-dev libslirp-dev libpcsclite-dev ninja-build\n          pip install poetry\n          wget https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-linux-x86_64.zip\n          sudo unzip protoc-22.0-linux-x86_64.zip -d /usr/local\n          protoc --version\n\n      - name: Build simulator\n        run: |\n          git config --global user.email \"ci@ci.com\"\n          git config --global user.name \"ci\"\n          cd test; ./setup_environment.sh --${{ matrix.device.name }}; cd ..\n          tar -czf ${{ matrix.device.archive }}.tar.gz ${{ matrix.device.paths }}\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.device.name }}-sim\n          path: ${{ matrix.device.archive }}.tar.gz\n\n  ledger-app-builder:\n    name: Ledger App builder\n    runs-on: ubuntu-latest\n    container: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest\n    steps:\n      - run: |\n          git clone https://github.com/LedgerHQ/app-bitcoin-new.git\n          cd app-bitcoin-new\n          make DEBUG=1\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: ledger_app\n          path: app-bitcoin-new/bin/app.elf\n\n  bitcoind-builder:\n    name: bitcoind builder\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/build-bitcoind\n\n  test-dist:\n    name: Python ${{ matrix.python-version }} ${{ matrix.device }} ${{ matrix.script.name }}\n    runs-on: ubuntu-latest\n    needs: [ dist-builder, sim-builder, ledger-app-builder, bitcoind-builder ]\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]\n        device:\n          - 'trezor-1'\n          - 'trezor-t'\n          - 'coldcard'\n          - 'bitbox01'\n          - 'jade'\n          - 'ledger'\n          - 'ledger-legacy'\n          - 'keepkey'\n        script:\n          - name: 'Wheel'\n            install: 'pip install dist/*.whl'\n            test: 'cd test; ./run_tests.py $DEVICE --interface=cli --device-only; cd ..'\n          - name: 'Sdist'\n            install: 'pip install $(find dist -name \"*.tar.gz\" -a -not -name \"*linux*\")'\n            test: 'cd test; ./run_tests.py $DEVICE --interface=cli --device-only; cd ..'\n          - name: 'Bindist'\n            install: 'poetry install; cd dist; tar -xvf hwi*linux*.tar.gz; cd ..'\n            test: 'cd test; poetry run ./run_tests.py $DEVICE --interface=bindist --device-only; cd ..'\n\n    env:\n      DEVICE: '--${{ matrix.device }}'\n\n    container: python:${{ matrix.python-version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: |\n          pip install poetry\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist/\n\n      - run: |\n          ${{ matrix.script.install }}\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: bitcoind\n\n      - run: |\n          tar -xvf bitcoind.tar.gz\n\n      - uses: ./.github/actions/install-sim\n        with:\n          device: ${{ matrix.device }}\n\n      - name: Run tests\n        run: |\n          ${{ matrix.script.test }}\n\n      - if: failure()\n        run: |\n          tail -v -n +1 test/*.std*\n\n\n  test-all:\n    name: Python ${{ matrix.python-version }} ${{ matrix.device }} ${{ matrix.interface }}\n    runs-on: ubuntu-latest\n    needs: [ sim-builder, ledger-app-builder, bitcoind-builder ]\n    timeout-minutes: 45\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]\n        device:\n          - 'trezor-1'\n          - 'trezor-t'\n          - 'coldcard'\n          - 'bitbox01'\n          - 'jade'\n          - 'ledger'\n          - 'ledger-legacy'\n          - 'keepkey'\n        interface: [ 'library', 'cli', 'stdin' ]\n\n    container: python:${{ matrix.python-version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: |\n          pip install poetry\n          poetry install\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: bitcoind\n\n      - run: |\n          tar -xvf bitcoind.tar.gz\n\n      - uses: ./.github/actions/install-sim\n        with:\n          device: ${{ matrix.device }}\n\n      - name: Run tests\n        run: |\n          cd test; poetry run ./run_tests.py --${{ matrix.device }} --interface=${{ matrix.interface }} --device-only; cd ..\n\n      - if: failure()\n        run: |\n          tail -v -n +1 test/*.std*\n", "state": "active", "repository": "bitcoin-core/hwi"}
{"mined_at": "2024-07-15T13:54:32.432179", "created_at": "2020-11-15T23:46:27+01:00", "updated_at": "2020-11-15T23:46:27+01:00", "name": "weekly", "path": ".github/workflows/weekly.yml", "contents": "name: weekly\n\non:\n  schedule:\n    - cron:  '0 9 * * 1'\n  workflow_dispatch:\n\njobs:\n  weekly:\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n      max-parallel: 5\n      fail-fast: false\n      matrix:\n        os: [ubuntu]\n        python: [3.7, 3.8]\n        extras: ['']\n        include:\n          - os: macos\n            python: 3.8\n          - os: windows\n            python: 3.8\n          - os: ubuntu\n            python: 3.9\n            extras: -minimal\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        auto-update-conda: true\n        python-version: ${{ matrix.python }}\n        activate-environment: ${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}\n        environment-file: environment${{ matrix.extras }}.in.yml\n    - name: Export concrete dependencies\n      shell: bash -l {0}\n      run: |\n        conda env export --no-build -f tests/environment-${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}.yml\n        git diff\n    - name: Archive environment-${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}.yml\n      uses: actions/upload-artifact@v3\n      with:\n        name: environment-${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}.yml\n        path: tests/environment-${{ matrix.os }}-${{ matrix.python }}${{ matrix.extras }}.yml\n", "state": "active", "repository": "ecmwf/cfgrib"}
{"mined_at": "2024-07-15T13:54:33.561758", "created_at": "2023-08-24T16:26:24+02:00", "updated_at": "2023-09-06T14:36:01+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n  # Trigger the workflow on push to master or develop, except tag creation\n  push:\n    branches:\n      - 'master'\n      - 'develop'\n    tags-ignore:\n      - '**'\n\n  # Trigger the workflow on pull request\n  pull_request: ~\n\n  # Trigger the workflow manually\n  workflow_dispatch: ~\n\n  # Trigger after public PR approved for CI\n  pull_request_target:\n    types: [labeled]\n\njobs:\n  # Run CI including downstream packages on self-hosted runners\n  downstream-ci:\n    name: downstream-ci\n    if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}\n    uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci.yml@main\n    with:\n      cfgrib: ecmwf/cfgrib@${{ github.event.pull_request.head.sha || github.sha }}\n      codecov_upload: true\n    secrets: inherit\n\n  # Run CI of private downstream packages on self-hosted runners\n  private-downstream-ci:\n    name: private-downstream-ci\n    needs: [downstream-ci]\n    if: (success() || failure()) && ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: Dispatch private downstream CI\n        uses: ecmwf-actions/dispatch-private-downstream-ci@v1\n        with:\n          token: ${{ secrets.GH_REPO_READ_TOKEN }}\n          owner: ecmwf-actions\n          repository: private-downstream-ci\n          event_type: downstream-ci\n          payload: '{\"cfgrib\": \"ecmwf/cfgrib@${{ github.event.pull_request.head.sha || github.sha }}\"}'\n\n  # Build downstream packages on HPC\n  downstream-ci-hpc:\n    name: downstream-ci-hpc\n    if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}\n    uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci-hpc.yml@main\n    with:\n      cfgrib: ecmwf/cfgrib@${{ github.event.pull_request.head.sha || github.sha }}\n    secrets: inherit\n\n  # Run CI of private downstream packages on HPC\n  private-downstream-ci-hpc:\n    name: private-downstream-ci-hpc\n    needs: [downstream-ci-hpc]\n    if: (success() || failure()) && ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: Dispatch private downstream CI\n        uses: ecmwf-actions/dispatch-private-downstream-ci@v1\n        with:\n          token: ${{ secrets.GH_REPO_READ_TOKEN }}\n          owner: ecmwf-actions\n          repository: private-downstream-ci\n          event_type: downstream-ci-hpc\n          payload: '{\"cfgrib\": \"ecmwf/cfgrib@${{ github.event.pull_request.head.sha || github.sha }}\"}'\n", "state": "active", "repository": "ecmwf/cfgrib"}
{"mined_at": "2024-07-15T13:54:34.580918", "created_at": "2023-10-18T14:39:45+02:00", "updated_at": "2023-10-18T14:39:45+02:00", "name": "label-public-pr", "path": ".github/workflows/label-public-pr.yml", "contents": "# Manage labels of pull requests that originate from forks\nname: label-public-pr\n \non:\n  pull_request_target:\n    types: [opened, synchronize]\n \njobs:\n  label:\n    uses: ecmwf-actions/reusable-workflows/.github/workflows/label-pr.yml@v2\n", "state": "active", "repository": "ecmwf/cfgrib"}
{"mined_at": "2024-07-15T13:54:36.625041", "created_at": "2023-09-17T08:07:34+02:00", "updated_at": "2023-09-17T08:07:34+02:00", "name": "Publish Website", "path": ".github/workflows/publish-site.yml", "contents": "name: Publish Website\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'docs/**'\n  workflow_dispatch:\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skip in-between runs, and don't cancel runs in progress.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n          cache: 'pip'\n      - run: pip install mkdocs-material mkdocs-macros-plugin \n      - run: mkdocs build --config-file mkdocs-gh-pages.yml\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v2\n        with:\n          path: './site'\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "lagolunatic/wwrando"}
{"mined_at": "2024-07-15T13:54:37.770318", "created_at": "2021-07-04T03:22:10+02:00", "updated_at": "2021-07-04T03:22:10+02:00", "name": "Build", "path": ".github/workflows/python-app.yml", "contents": "name: Build\n\non:\n  push:\n    branches: [ master ]\n    paths-ignore:\n      - 'docs/**'\n  pull_request:\n    branches: [ master ]\n    paths-ignore:\n      - 'docs/**'\n  workflow_dispatch:\n    inputs:\n      version:\n        description: Version\n      env:\n        description: Environment\n        type: environment\n        required: true\n        default: \"Production\"\n\njobs:\n  build:\n    strategy:\n      matrix:\n        include:\n          - name: Windows\n            os: windows-latest\n            architecture: x64\n            artifact: windows\n            upload_path_suffix: '/*'\n            reqs_file: requirements_full.txt\n          - name: Windows (Qt 5)\n            os: windows-latest\n            architecture: x64\n            artifact: windows-qt5\n            upload_path_suffix: '/*'\n            reqs_file: requirements_qt5_full.txt\n          - name: MacOS\n            os: macos-latest\n            architecture: x64\n            artifact: macos\n            upload_path_suffix: '.zip'\n            reqs_file: requirements_full.txt\n          - name: Linux\n            os: ubuntu-latest\n            architecture: x64\n            artifact: linux\n            upload_path_suffix: '/*'\n            reqs_file: requirements_full.txt\n    \n    runs-on: ${{ matrix.os }}\n    environment: ${{ github.event.inputs.env || 'Development' }}\n    \n    defaults:\n      run:\n        shell: bash\n    \n    env:\n      ACTIONS_ALLOW_UNSECURE_COMMANDS: true\n      MACOSX_DEPLOYMENT_TARGET: 10.15\n    \n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: recursive\n      - name: Add keys\n        run: |\n            echo \"$SEED_KEY\" > keys/seed_key.py\n        env:\n          SEED_KEY: ${{ secrets.SEED_KEY }}\n      - name: Set up Python\n        id: setup-py\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.12'\n          check-latest: true\n          architecture: ${{ matrix.architecture }}\n          cache: 'pip' # Cache all pip dependency downloads\n      - name: Cache venv\n        id: cache-venv\n        uses: actions/cache@v3\n        with:\n          path: ./.venv\n          key: ${{ runner.os }}-venv-${{ steps.setup-py.outputs.python-version  }}-${{ matrix.reqs_file }}-${{ hashFiles('**/requirements*.txt') }}\n      - name: Create venv\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          python -m venv ./.venv\n      - name: Activate venv\n        run: |\n          source ./.venv/bin/activate || source ./.venv/Scripts/activate\n          echo $PATH >> $GITHUB_PATH\n      - name: Install venv dependencies\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r ${{ matrix.reqs_file }}\n      - name: Install any missing Qt dependencies\n        if: runner.os == 'Linux'\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y qtbase5-dev\n          sudo apt-get install -y libxcb-cursor0\n      - name: Set variables\n        id: vars\n        run: |\n          USER_INPUT_VERSION=${{ github.event.inputs.version }}\n          TXT_VERSION=$(cat version.txt)\n          GIT_SHA_SHORT=$(git rev-parse --short=7 ${{ github.sha }})\n          echo \"full_version=${USER_INPUT_VERSION:-${TXT_VERSION}_${GIT_SHA_SHORT}}\" >> $GITHUB_OUTPUT\n      - name: Set version\n        id: version\n        run: |\n          echo ${{ steps.vars.outputs.full_version }} > version.txt\n      - name: Build Python App\n        run: python -m PyInstaller --log-level=WARN wwrando.spec\n      - name: Bundle Python App\n        run: python build.py\n      - name: Upload Python App\n        uses: actions/upload-artifact@v3\n        with:\n          name: wwrando-${{ steps.vars.outputs.full_version }}-${{ matrix.artifact }}-${{ matrix.architecture }}\n          path: dist/release_archive_${{ steps.vars.outputs.full_version }}_${{ matrix.architecture }}${{ matrix.upload_path_suffix }}\n", "state": "active", "repository": "lagolunatic/wwrando"}
{"mined_at": "2024-07-15T13:54:38.768989", "created_at": "2023-12-12T01:54:48+01:00", "updated_at": "2023-12-12T01:54:48+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches: [ master ]\n    paths-ignore:\n      - 'docs/**'\n  pull_request:\n    branches: [ master ]\n    paths-ignore:\n      - 'docs/**'\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: Windows\n            os: windows-latest\n            artifact: windows\n            reqs_file: requirements_full.txt\n          - name: Windows (Qt 5)\n            os: windows-latest\n            artifact: windows-qt5\n            reqs_file: requirements_qt5_full.txt\n          - name: MacOS\n            os: macos-latest\n            artifact: macos\n            reqs_file: requirements_full.txt\n          - name: Linux\n            os: ubuntu-latest\n            artifact: linux\n            reqs_file: requirements_full.txt\n    \n    runs-on: ${{ matrix.os }}\n    \n    env:\n      DISPLAY: ':99.0'\n    \n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.12'\n          cache: 'pip' # Cache all pip dependency downloads\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ matrix.reqs_file }}\n      - name: Install any missing Qt dependencies\n        if: runner.os == 'Linux'\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y qtbase5-dev libxcb-cursor0 libxcb-xinerama0 xvfb herbstluftwm\n      - name: Set up Qt\n        uses: tlambert03/setup-qt-libs@v1\n        if: runner.os == 'Linux'\n      - name: Build \"display\"\n        if: runner.os == 'Linux'\n        run: |\n          /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX\n      - name: Prepare test env vars\n        run: |\n          echo \"WW_RANDO_OUTPUT_DIR=/wwrando-output\" > .env\n      - name: Test with pytest\n        run: |\n          pip install pytest pytest-cov\n          pytest test --cov --cov-report=html\n      - name: Upload Coverage Report\n        uses: actions/upload-artifact@v3\n        with:\n          name: wwrando-htmlcov-${{ matrix.artifact }}\n          path: htmlcov\n", "state": "active", "repository": "lagolunatic/wwrando"}
{"mined_at": "2024-07-15T13:54:40.944113", "created_at": "2021-04-13T09:20:03+02:00", "updated_at": "2021-07-30T16:33:34+02:00", "name": "Test downstream projects", "path": ".github/workflows/downstream.yml", "contents": "name: Test downstream projects\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n\nconcurrency:\n  group: downstream-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  ipykernel:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: ipykernel\n\n  nbclient:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: nbclient\n          env_values: IPYKERNEL_CELL_NAME=\\<IPY-INPUT\\>\n\n  papermill:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: papermill\n\n  nbconvert:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: nbconvert\n          package_spec: pip install -e \".[test]\"\n\n  jupyter_server:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: jupyter_server\n\n  jupyter_kernel_test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Setup conda ${{ matrix.python-version }}\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          activate-environment: jupyter_kernel_test\n          miniforge-variant: Mambaforge\n          python-version: ${{ matrix.python-version }}\n\n      - name: Test jupyter_kernel_test\n        shell: bash -l {0}\n        run: |\n          git clone https://github.com/jupyter/jupyter_kernel_test.git\n          cd jupyter_kernel_test\n          conda env update --name jupyter_kernel_test --file environment.yml\n          pip install -e \".[test]\"\n          python -m unittest -v\n\n  qtconsole:\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n          architecture: \"x64\"\n\n      - name: Install System Packages\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y --no-install-recommends '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev\n\n      - name: Install qtconsole dependencies\n        shell: bash -l {0}\n        run: |\n          cd ${GITHUB_WORKSPACE}/..\n          git clone https://github.com/jupyter/qtconsole.git\n          cd qtconsole\n          ${pythonLocation}/bin/python -m pip install -e \".[test]\"\n          ${pythonLocation}/bin/python -m pip install pyqt5\n\n      - name: Install Jupyter-Client changes\n        shell: bash -l {0}\n        run: ${pythonLocation}/bin/python -m pip install -e .\n\n      - name: Test qtconsole\n        shell: bash -l {0}\n        run: |\n          cd ${GITHUB_WORKSPACE}/../qtconsole\n          xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -x -vv -s --full-trace --color=yes qtconsole\n\n  downstreams_check: # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n      - ipykernel\n      - nbclient\n      - papermill\n      - nbconvert\n      - jupyter_server\n      - jupyter_kernel_test\n      - qtconsole\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "jupyter/jupyter_client"}
{"mined_at": "2024-07-15T13:54:41.962668", "created_at": "2021-11-18T16:51:27+01:00", "updated_at": "2021-11-18T17:24:16+01:00", "name": "Enforce PR label", "path": ".github/workflows/enforce-label.yml", "contents": "name: Enforce PR label\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, edited, synchronize]\njobs:\n  enforce-label:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: enforce-triage-label\n        uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1\n", "state": "active", "repository": "jupyter/jupyter_client"}
{"mined_at": "2024-07-15T13:54:43.095258", "created_at": "2020-11-06T18:13:40+01:00", "updated_at": "2020-11-06T18:13:40+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n\nconcurrency:\n  group: ci-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash -eux {0}\n\njobs:\n  check_release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  check_links:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1\n\n  test:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 20\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: [\"3.8\", \"3.12\"]\n        include:\n          - os: windows-latest\n            python-version: \"3.11\"\n          - os: ubuntu-latest\n            python-version: \"pypy-3.9\"\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n          - os: macos-latest\n            python-version: \"3.9\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Run the tests\n        if: ${{ !startsWith(matrix.python-version, 'pypy') && !startsWith(matrix.os, 'windows') }}\n        run: |\n          hatch run cov:test --cov-fail-under 75 || hatch run test:test --lf\n      - name: Run the tests on pypy\n        if: ${{ startsWith(matrix.python-version, 'pypy') }}\n        run: |\n          hatch run test:nowarn || hatch run test:nowarn --lf\n      - name: Run the tests on windows\n        if: ${{ startsWith(matrix.os, 'windows') }}\n        run: |\n          hatch run cov:nowarn || hatch run test:nowarn --lf\n      - uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1\n\n  coverage:\n    runs-on: ubuntu-latest\n    needs:\n      - test\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/report-coverage@v1\n        with:\n          fail_under: 78\n\n  docs:\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Build API docs\n        run: |\n          hatch run docs:api\n          # If this fails run `hatch run docs:api` locally\n          # and commit.\n          git status --porcelain\n          git status -s | grep \"A\" && exit 1\n          git status -s | grep \"M\" && exit 1\n          echo \"API docs done\"\n      - run: hatch run docs:build\n\n  lint:\n    name: Test Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Run Linters\n        run: |\n          hatch run typing:test\n          hatch run lint:build\n          pipx run interrogate -v .\n          pipx run doc8 --max-line-length=200  --ignore-path=docs/source/other/full-config.rst\n\n  test_minimum_verisons:\n    name: Test Minimum Versions\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: minimum\n      - name: Run the unit tests\n        run: |\n          hatch -vv run test:nowarn || hatch run test:nowarn --lf\n\n  test_prereleases:\n    name: Test Prereleases\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: pre\n      - name: Run the tests\n        run: |\n          hatch run test:nowarn || hatch run test:nowarn --lf\n\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/make-sdist@v1\n\n  test_sdist:\n    runs-on: ubuntu-latest\n    needs: [make_sdist]\n    name: Install from SDist and Test\n    timeout-minutes: 20\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1\n        with:\n          test_command: pytest -vv || pytest -vv --lf\n\n  tests_check: # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n      - coverage\n      - docs\n      - lint\n      - check_links\n      - test_minimum_verisons\n      - test_prereleases\n      - test_sdist\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "jupyter/jupyter_client"}
{"mined_at": "2024-07-15T13:54:44.201093", "created_at": "2022-12-13T04:26:05+01:00", "updated_at": "2022-12-13T04:26:05+01:00", "name": "Step 1: Prep Release", "path": ".github/workflows/prep-release.yml", "contents": "name: \"Step 1: Prep Release\"\non:\n  workflow_dispatch:\n    inputs:\n      version_spec:\n        description: \"New Version Specifier\"\n        default: \"next\"\n        required: false\n      branch:\n        description: \"The branch to target\"\n        required: false\n      post_version_spec:\n        description: \"Post Version Specifier\"\n        required: false\n      silent:\n        description: \"Set a placeholder in the changelog and don't publish the release.\"\n        required: false\n        type: boolean\n      since:\n        description: \"Use PRs with activity since this date or git reference\"\n        required: false\n      since_last_stable:\n        description: \"Use PRs with activity since the last stable git tag\"\n        required: false\n        type: boolean\njobs:\n  prep_release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Prep Release\n        id: prep-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          version_spec: ${{ github.event.inputs.version_spec }}\n          silent: ${{ github.event.inputs.silent }}\n          post_version_spec: ${{ github.event.inputs.post_version_spec }}\n          target: ${{ github.event.inputs.target }}\n          branch: ${{ github.event.inputs.branch }}\n          since: ${{ github.event.inputs.since }}\n          since_last_stable: ${{ github.event.inputs.since_last_stable }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}\"\n", "state": "active", "repository": "jupyter/jupyter_client"}
{"mined_at": "2024-07-15T13:54:45.348143", "created_at": "2024-03-12T12:55:28+01:00", "updated_at": "2024-03-12T12:55:28+01:00", "name": "Publish Changelog", "path": ".github/workflows/publish-changelog.yml", "contents": "name: \"Publish Changelog\"\non:\n  release:\n    types: [published]\n\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch to target\"\n        required: false\n\njobs:\n  publish_changelog:\n    runs-on: ubuntu-latest\n    environment: release\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Publish changelog\n        id: publish-changelog\n        uses: jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}\"\n", "state": "active", "repository": "jupyter/jupyter_client"}
{"mined_at": "2024-07-15T13:54:46.371721", "created_at": "2022-12-13T04:26:05+01:00", "updated_at": "2022-12-13T04:26:05+01:00", "name": "Step 2: Publish Release", "path": ".github/workflows/publish-release.yml", "contents": "name: \"Step 2: Publish Release\"\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The target branch\"\n        required: false\n      release_url:\n        description: \"The URL of the draft GitHub release\"\n        required: false\n      steps_to_skip:\n        description: \"Comma separated list of steps to skip\"\n        required: false\n\njobs:\n  publish_release:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Populate Release\n        id: populate-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n          release_url: ${{ github.event.inputs.release_url }}\n          steps_to_skip: ${{ github.event.inputs.steps_to_skip }}\n\n      - name: Finalize Release\n        id: finalize-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          release_url: ${{ steps.populate-release.outputs.release_url }}\n\n      - name: \"** Next Step **\"\n        if: ${{ success() }}\n        run: |\n          echo \"Verify the final release\"\n          echo ${{ steps.finalize-release.outputs.release_url }}\n\n      - name: \"** Failure Message **\"\n        if: ${{ failure() }}\n        run: |\n          echo \"Failed to Publish the Draft Release Url:\"\n          echo ${{ steps.populate-release.outputs.release_url }}\n", "state": "active", "repository": "jupyter/jupyter_client"}
{"mined_at": "2024-07-15T13:54:48.481804", "created_at": "2020-08-21T14:10:23+02:00", "updated_at": "2020-08-21T14:10:23+02:00", "name": "Upload Python Package", "path": ".github/workflows/pypi.yml", "contents": "name: Upload Python Package\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  deploy:\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python: [\"3.x\"]\n        poetry: [\"1.5.1\"]\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 10\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install poetry\n        run: pipx install poetry==${{ matrix.poetry }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"poetry\"\n\n      - name: Install dependencies\n        run: |\n          poetry install\n\n      - name: Build and publish\n        run: |\n          poetry build -n\n          poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}\n          poetry publish\n", "state": "active", "repository": "censys/censys-python"}
{"mined_at": "2024-07-15T13:54:49.514869", "created_at": "2020-11-25T06:30:59+01:00", "updated_at": "2020-11-25T06:30:59+01:00", "name": "Python CI", "path": ".github/workflows/python-ci.yml", "contents": "name: Python CI\n\non:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - \"**.md\"\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python: [\"3.8\", \"3.10\"]\n        poetry: [\"1.5.1\"]\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 10\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install poetry\n        run: pipx install poetry==${{ matrix.poetry }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"poetry\"\n\n      - name: Install dependencies\n        run: |\n          poetry install\n\n      - name: Get all doc files that have changed\n        id: changed_docs\n        uses: tj-actions/changed-files@v41\n        with:\n          files: |\n            docs\n\n      - name: Build docs\n        if: steps.changed_docs.outputs.any_changed == 'true' && startsWith(matrix.os, 'ubuntu') && startsWith(matrix.python, '3.10')\n        working-directory: docs\n        run: |\n          poetry run pip install -r requirements.txt\n          poetry run make html\n\n      - name: Lint with flake8\n        if: startsWith(matrix.os, 'ubuntu')\n        run: |\n          poetry run flake8 --max-line-length=127\n\n      - name: Type checking with mypy\n        if: startsWith(matrix.os, 'ubuntu')\n        run: |\n          poetry run mypy censys\n\n      - name: Test with pytest\n        run: |\n          poetry run pytest --cov --cov-fail-under=100\n", "state": "active", "repository": "censys/censys-python"}
{"mined_at": "2024-07-15T13:54:50.580276", "created_at": "2021-09-09T18:14:32+02:00", "updated_at": "2021-09-09T18:14:32+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"30 12 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n      - uses: actions/stale@v9\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          days-before-stale: 60\n          days-before-close: 7\n          stale-issue-label: \"stale\"\n          stale-pr-label: \"stale\"\n", "state": "active", "repository": "censys/censys-python"}
{"mined_at": "2024-07-15T13:54:52.720650", "created_at": "2022-07-13T20:47:44+02:00", "updated_at": "2022-07-13T20:47:44+02:00", "name": "bot-auto-merge", "path": ".github/workflows/bot-auto-merge.yml", "contents": "---\nname: bot-auto-merge\n\non:\n  workflow_run:\n    types: [completed]\n    workflows: [\"pytest\"]\n\njobs:\n  bot-auto-merge:\n    name: Auto-merge passing bot PRs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Impersonate auto merge PR bot\n        uses: tibdex/github-app-token@v2\n        id: generate-token\n        with:\n          app_id: ${{ secrets.BOT_AUTO_MERGE_PRS_APP_ID }}\n          private_key: ${{ secrets.BOT_AUTO_MERGE_PRS_APP_KEY }}\n      - name: Auto-merge passing dependabot PRs\n        if: ${{ github.event.workflow_run.conclusion == 'success' }}\n        uses: ridedott/merge-me-action@v2\n        with:\n          # For clarity only. dependabot is default login.\n          GITHUB_LOGIN: dependabot\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n          ENABLED_FOR_MANUAL_CHANGES: \"true\"\n      - name: Auto-merge passing pre-commit-ci PRs\n        if: ${{ github.event.workflow_run.conclusion == 'success' }}\n        uses: ridedott/merge-me-action@v2\n        with:\n          GITHUB_LOGIN: pre-commit-ci\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n          ENABLED_FOR_MANUAL_CHANGES: \"true\"\n", "state": "active", "repository": "catalyst-cooperative/pudl"}
{"mined_at": "2024-07-15T13:54:53.746701", "created_at": "2022-06-03T01:34:46+02:00", "updated_at": "2022-06-22T03:30:32+02:00", "name": "build-deploy-pudl", "path": ".github/workflows/build-deploy-pudl.yml", "contents": "name: build-deploy-pudl\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - \"v20*\"\n  schedule:\n    # 6am UTC daily (11pm PDT, 2am EDT)\n    # But only if there are changes since the last nightly build.\n    - cron: \"0 6 * * *\"\n\nenv:\n  GCP_BILLING_PROJECT: ${{ secrets.GCP_BILLING_PROJECT }}\n  GCE_INSTANCE: pudl-deployment-tag # This is changed to pudl-deployment-dev if running on a schedule\n  GCE_INSTANCE_ZONE: ${{ secrets.GCE_INSTANCE_ZONE }}\n  GCS_OUTPUT_BUCKET: gs://builds.catalyst.coop\n  BATCH_JOB_JSON: batch_job.json\n\njobs:\n  build_and_deploy_pudl:\n    name: Build Docker image, push to Docker Hub and deploy to Google Batch\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      id-token: write\n    steps:\n      - name: Use pudl-deployment-dev vm if running on a schedule\n        if: ${{ (github.event_name == 'schedule') }}\n        run: |\n          echo \"This action was triggered by a schedule.\"\n          echo \"GCE_INSTANCE=pudl-deployment-dev\" >> $GITHUB_ENV\n\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Skip the build if no changes since the last successful nightly build.\n        if: ${{ (github.event_name == 'schedule') }}\n        run: |\n          CURRENT_COMMIT=$(git rev-parse HEAD)\n          NIGHTLY_COMMIT=$(git rev-parse origin/nightly)\n          if [[ \"$CURRENT_COMMIT\" == \"$NIGHTLY_COMMIT\" ]]; then\n            echo \"::notice::No changes since last successful nightly build. Skipping.\"\n            echo \"SKIP_BUILD=true\" >> $GITHUB_ENV\n            exit 0\n          fi\n\n      - name: Set action environment variables\n        if: ${{ env.SKIP_BUILD != 'true' }}\n        run: |\n          echo \"NIGHTLY_TAG=nightly-$(date +%Y-%m-%d)\" >> $GITHUB_ENV\n          echo \"BUILD_ID=$(date +%Y-%m-%d-%H%M)-$(git rev-parse --short HEAD)-${{ github.ref_name }}\" >> $GITHUB_ENV\n          echo \"BATCH_JOB_ID=$(date +%Y-%m-%d-%H%M)-$(git rev-parse --short HEAD)\" >> $GITHUB_ENV\n\n      - name: Show freshly set envvars\n        if: ${{ env.SKIP_BUILD != 'true' }}\n        run: |\n          echo \"GCE_INSTANCE: $GCE_INSTANCE\"\n          echo \"NIGHTLY_TAG: $NIGHTLY_TAG\"\n          echo \"BUILD_ID: $BUILD_ID\"\n          echo \"BATCH_JOB_ID: $BATCH_JOB_ID\"\n\n      - name: Tag nightly build\n        if: ${{ (github.event_name == 'schedule') && (env.SKIP_BUILD != 'true') }}\n        run: |\n          git config user.email \"pudl@catalyst.coop\"\n          git config user.name \"pudlbot\"\n          git tag -a -m \"$NIGHTLY_TAG\" $NIGHTLY_TAG ${{ github.ref_name }}\n          git push origin $NIGHTLY_TAG\n\n      - name: Docker Metadata\n        id: docker_metadata\n        if: ${{ env.SKIP_BUILD != 'true' }}\n        uses: docker/metadata-action@v5\n        with:\n          images: catalystcoop/pudl-etl\n          flavor: |\n            latest=auto\n          tags: |\n            type=raw,value=${{ github.ref_name }}\n            type=ref,event=tag\n\n      - name: Set up Docker Buildx\n        if: ${{ env.SKIP_BUILD != 'true' }}\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        if: ${{ (github.event_name != 'pull_request') && (env.SKIP_BUILD != 'true') }}\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build image and push to Docker Hub\n        id: docker-build\n        if: ${{ env.SKIP_BUILD != 'true' }}\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: docker/Dockerfile\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.docker_metadata.outputs.tags }}\n          labels: ${{ steps.docker_metadata.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - id: \"auth\"\n        if: ${{ env.SKIP_BUILD != 'true' }}\n        uses: \"google-github-actions/auth@v2\"\n        with:\n          workload_identity_provider: \"projects/345950277072/locations/global/workloadIdentityPools/gh-actions-pool/providers/gh-actions-provider\"\n          service_account: \"deploy-pudl-github-action@catalyst-cooperative-pudl.iam.gserviceaccount.com\"\n\n      # Setup gcloud CLI\n      - name: Set up Cloud SDK\n        if: ${{ env.SKIP_BUILD != 'true' }}\n        uses: google-github-actions/setup-gcloud@v2\n\n      # Deploy PUDL image to GCE\n      # Dagster Postgres connection configured in docker/dagster.yaml - otherwise we get a str for port num\n      - name: Make GCP Batch config file\n        if: ${{ env.SKIP_BUILD != 'true' }}\n        env:\n          PUDL_GCS_OUTPUT: ${{ env.GCS_OUTPUT_BUCKET }}/${{ env.BUILD_ID }}\n        run: |-\n          ./devtools/generate_batch_config.py \\\n            --container-image \"docker.io/catalystcoop/pudl-etl@${{ steps.docker-build.outputs.digest }}\" \\\n            --container-command \"micromamba\" \\\n            --container-arg=\"run\" \\\n            --container-arg=\"--prefix\" \\\n            --container-arg=\"/home/mambauser/env\" \\\n            --container-arg=\"--attach\" \\\n            --container-arg='' \\\n            --container-arg=\"bash\" \\\n            --container-arg=\"./docker/gcp_pudl_etl.sh\" \\\n            --container-env AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} \\\n            --container-env AWS_DEFAULT_REGION=${{ secrets.AWS_DEFAULT_REGION }} \\\n            --container-env AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} \\\n            --container-env BUILD_ID=${{ env.BUILD_ID }} \\\n            --container-env BUILD_REF=${{ github.ref_name }} \\\n            --container-env FLY_ACCESS_TOKEN=${{ secrets.FLY_ACCESS_TOKEN }} \\\n            --container-env GCE_INSTANCE=${{ env.GCE_INSTANCE }} \\\n            --container-env GCE_INSTANCE_ZONE=${{ env.GCE_INSTANCE_ZONE }} \\\n            --container-env GCP_BILLING_PROJECT=${{ secrets.GCP_BILLING_PROJECT }} \\\n            --container-env GITHUB_ACTION_TRIGGER=${{ github.event_name }} \\\n            --container-env NIGHTLY_TAG=${{ env.NIGHTLY_TAG }} \\\n            --container-env OMP_NUM_THREADS=4 \\\n            --container-env PUDL_BOT_PAT=${{ secrets.PUDL_BOT_PAT }} \\\n            --container-env PUDL_GCS_OUTPUT=${{ env.PUDL_GCS_OUTPUT }} \\\n            --container-env PUDL_SETTINGS_YML=\"/home/mambauser/pudl/src/pudl/package_data/settings/etl_full.yml\" \\\n            --container-env SLACK_TOKEN=${{ secrets.PUDL_DEPLOY_SLACK_TOKEN }} \\\n            --container-env ZENODO_SANDBOX_TOKEN_PUBLISH=${{ secrets.ZENODO_SANDBOX_TOKEN_PUBLISH }} \\\n            --container-env ZENODO_TARGET_ENV=${{ (startsWith(github.ref_name, 'v20') && 'production') || 'sandbox' }} \\\n            --container-env ZENODO_TOKEN_UPLOAD=${{ secrets.ZENODO_TOKEN_UPLOAD }} \\\n            --output ${{ env.BATCH_JOB_JSON }}\n\n      # Start the batch job\n      - name: Kick off batch job\n        if: ${{ env.SKIP_BUILD != 'true' }}\n        run: gcloud batch jobs submit run-etl-${{ env.BATCH_JOB_ID }} --config ${{ env.BATCH_JOB_JSON }} --location us-west1\n\n      - name: Post to a pudl-deployments channel\n        if: always()\n        id: slack\n        uses: slackapi/slack-github-action@v1\n        with:\n          channel-id: \"C03FHB9N0PQ\"\n          slack-message: \"`${{ env.BUILD_ID }}` build-deploy-pudl status: ${{ (env.SKIP_BUILD == 'true') && 'skipped' || job.status }}\\n${{ env.GCS_OUTPUT_BUCKET }}/${{ env.BUILD_ID }}\"\n        env:\n          channel-id: \"C03FHB9N0PQ\"\n          SLACK_BOT_TOKEN: ${{ secrets.PUDL_DEPLOY_SLACK_TOKEN }}\n", "state": "active", "repository": "catalyst-cooperative/pudl"}
{"mined_at": "2024-07-15T13:54:54.745004", "created_at": "2023-01-18T20:26:56+01:00", "updated_at": "2023-04-20T20:35:01+02:00", "name": "com-dev-notify", "path": ".github/workflows/com-dev-notify.yml", "contents": "name: com-dev-notify\n\non:\n  issues:\n    types: [opened]\n  discussion:\n    types: [created]\n\nenv:\n  username: ${{ github.event.issue.user.login }}\n  url: ${{ github.event.issue.html_url }}\n  org: catalyst-cooperative\n\njobs:\n  com-dev-notify:\n    name: Notify Catalyst of community activity\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get username if a discussion was created\n        if: ${{ (github.event_name == 'discussion') }}\n        run: |\n          echo \"username=${{ github.event.discussion.user.login }}\" >> $GITHUB_ENV\n          echo \"url=${{ github.event.discussion.html_url }}\" >> $GITHUB_ENV\n\n      - name: Check if organization member\n        id: is_organization_member\n        uses: JamesSingleton/is-organization-member@1.0.1\n        with:\n          organization: ${{ env.org }}\n          username: ${{ env.username }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Post to a Slack channel user isn't a part of Catalyst\n        if: ${{ !steps.is_organization_member.outputs.result }}\n        id: slack\n        uses: slackapi/slack-github-action@v1.24.0\n\n        with:\n          # Slack channel id, channel name, or user id to post message.\n          # See also: https://api.slack.com/methods/chat.postMessage#channels\n          # You can pass in multiple channels to post to by providing a comma-delimited list of channel IDs.\n          channel-id: \"community-dev\"\n          # For posting a markdown message\n          payload: |\n            {\n              \"blocks\": [\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"<https://github.com/${{ env.username }}|${{ env.username }}> created ${{ env.url }}\"\n                  }\n                }\n              ]\n            }\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.COMMUNITY_DEV_SLACK_BOT_TOKEN }}\n", "state": "active", "repository": "catalyst-cooperative/pudl"}
{"mined_at": "2024-07-15T13:54:55.784132", "created_at": "2023-09-07T19:00:59+02:00", "updated_at": "2023-09-08T19:54:21+02:00", "name": "docker-build-test", "path": ".github/workflows/docker-build-test.yml", "contents": "---\nname: docker-build-test\non:\n  workflow_dispatch:\n  pull_request:\n  merge_group:\n    types:\n      - checks_requested\n\njobs:\n  pudl_docker_build:\n    name: Test building the PUDL ETL Docker image\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      id-token: write\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n\n      - name: Docker Metadata\n        id: docker_metadata\n        uses: docker/metadata-action@v5\n        with:\n          images: catalystcoop/pudl-etl\n          flavor: |\n            latest=auto\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build image but do not push to Docker Hub\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: docker/Dockerfile\n          push: false\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n", "state": "active", "repository": "catalyst-cooperative/pudl"}
{"mined_at": "2024-07-15T13:54:56.830757", "created_at": "2023-08-17T02:35:33+02:00", "updated_at": "2023-08-17T02:35:33+02:00", "name": "pudl-s3-logs-sync", "path": ".github/workflows/pudl-s3-logs-sync.yml", "contents": null, "state": "active", "repository": "catalyst-cooperative/pudl"}
{"mined_at": "2024-07-15T13:54:57.855326", "created_at": "2023-11-13T17:03:34+01:00", "updated_at": "2023-12-13T20:27:39+01:00", "name": "pytest", "path": ".github/workflows/pytest.yml", "contents": "---\nname: pytest\n\non:\n  pull_request:\n  merge_group:\n    types:\n      - checks_requested\n  workflow_dispatch:\n\nenv:\n  PUDL_OUTPUT: /home/runner/pudl-work/output/\n  PUDL_INPUT: /home/runner/pudl-work/input/\n  DAGSTER_HOME: /home/runner/pudl-work/dagster_home/\n\njobs:\n  ci-docs:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Install conda-lock environment with micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environments/conda-lock.yml\n          environment-name: pudl-dev\n          cache-environment: true\n\n      - name: Log environment details\n        run: |\n          conda info\n          conda list\n          conda config --show-sources\n          conda config --show\n          printenv | sort\n\n      - name: Make input, output and dagster dirs\n        run: mkdir -p ${{ env.PUDL_OUTPUT }} ${{ env.PUDL_INPUT}} ${{ env.DAGSTER_HOME }}\n\n      - name: Lint and build PUDL documentation with Sphinx\n        run: |\n          pip install --no-deps --editable .\n          make docs-build\n\n      - name: Upload docs coverage artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-docs\n          path: ./*coverage*\n\n  ci-unit:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Install conda-lock environment with micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environments/conda-lock.yml\n          environment-name: pudl-dev\n          cache-environment: true\n\n      - name: Log environment details\n        run: |\n          conda info\n          conda list\n          conda config --show-sources\n          conda config --show\n          printenv | sort\n\n      - name: Make input, output and dagster dirs\n        run: mkdir -p ${{ env.PUDL_OUTPUT }} ${{ env.PUDL_INPUT}} ${{ env.DAGSTER_HOME }}\n\n      - name: Log SQLite3 version\n        run: |\n          which sqlite3\n          sqlite3 --version\n\n      - name: Run PUDL unit tests and collect test coverage\n        run: |\n          pip install --no-deps --editable .\n          make pytest-unit\n\n      - name: Upload unit tests coverage artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-unit\n          path: ./*coverage*\n\n  ci-integration:\n    runs-on:\n      group: large-runner-group\n      labels: ubuntu-22.04-4core\n    if: github.event_name == 'workflow_dispatch' || github.event.merge_group\n    permissions:\n      contents: read\n      id-token: write\n    strategy:\n      fail-fast: false\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Install Conda environment using mamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environments/conda-lock.yml\n          environment-name: pudl-dev\n          cache-environment: true\n\n      - name: Log environment details\n        run: |\n          conda info\n          conda list\n          conda config --show-sources\n          conda config --show\n          printenv | sort\n\n      - name: Log SQLite3 version\n        run: |\n          which sqlite3\n          sqlite3 --version\n\n      - name: Compile Zenodo datastore DOIs for cache invalidation\n        run:\n          grep -e '.*10\\.\\(5281\\|5072\\)/zenodo\\..*' src/pudl/workspace/datastore.py\n          | sed -e 's/\",*$//g' | sed -e 's/^.*\"//g' | sort > datastore-dois.txt\n\n      - name: Restore Zenodo datastore from cache if possible\n        uses: actions/cache@v4\n        id: cache-zenodo-datastore\n        with:\n          path: ${{ env.PUDL_INPUT }}\n          key: zenodo-datastore-${{ hashFiles('datastore-dois.txt') }}\n\n      - name: Make input, output and dagster dirs\n        run: mkdir -p ${{ env.PUDL_OUTPUT }} ${{ env.PUDL_INPUT}} ${{ env.DAGSTER_HOME }}\n\n      - name: List workspace contents\n        run: find /home/runner/pudl-work\n\n      - name: Set default GCP credentials\n        id: gcloud-auth\n        continue-on-error: true\n        uses: \"google-github-actions/auth@v2\"\n        with:\n          workload_identity_provider: \"projects/345950277072/locations/global/workloadIdentityPools/gh-actions-pool/providers/gh-actions-provider\"\n          service_account: \"tox-pytest-github-action@catalyst-cooperative-pudl.iam.gserviceaccount.com\"\n\n      - name: Run integration tests, trying to use GCS cache if possible\n        run: |\n          pip install --no-deps --editable .\n          pudl_datastore --dataset epacems --partition year_quarter=2022q1\n          make pytest-integration\n\n      - name: Upload integration test coverage artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-integration\n          path: ./*coverage*\n\n      - name: Log post-test Zenodo datastore contents\n        run: find ${{ env.PUDL_INPUT }}\n\n  ci-coverage:\n    runs-on: ubuntu-latest\n    needs:\n      - ci-docs\n      - ci-unit\n      - ci-integration\n    steps:\n      - uses: actions/checkout@v4\n      - name: Download coverage\n        id: download-coverage\n        uses: actions/download-artifact@v4\n        with:\n          path: coverage\n      - name: List downloaded files\n        run: |\n          find coverage -type f\n      - name: Upload test coverage report to CodeCov\n        uses: codecov/codecov-action@v4\n        with:\n          directory: coverage\n          token: ${{ secrets.CODECOV_TOKEN }}\n      - name: Install Micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          init-shell: bash\n          environment-name: coverage\n          create-args: >-\n            python=3.12\n            coverage>=7.4.1\n      - name: Combine coverage data and check that we have required coverage\n        # Required coverage is set in pyproject.toml section [tool.coverage.report]\n        run: |\n          micromamba run -n coverage coverage combine coverage/*/.coverage\n          micromamba run -n coverage coverage xml --fail-under=0\n          micromamba run -n coverage coverage report\n", "state": "active", "repository": "catalyst-cooperative/pudl"}
{"mined_at": "2024-07-15T13:54:58.892859", "created_at": "2024-07-11T01:03:10+02:00", "updated_at": "2024-07-11T01:03:10+02:00", "name": "quarterly-update-issues", "path": ".github/workflows/q-update-issue-scheduler.yml", "contents": null, "state": "active", "repository": "catalyst-cooperative/pudl"}
{"mined_at": "2024-07-15T13:55:00.093727", "created_at": "2023-12-05T04:28:57+01:00", "updated_at": "2023-12-05T19:39:13+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "---\nname: release\n\non: push\n\njobs:\n  build-distribution:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Build source and wheel distributions\n        run: |\n          python -m pip install --upgrade build twine\n          python -m build\n          twine check --strict dist/*\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n\n  publish-test-pypi:\n    name: Upload release to PyPI Test Server\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v20')\n    needs:\n      - build-distribution\n    runs-on: ubuntu-latest\n    environment:\n      name: test-pypi\n      url: https://test.pypi.org/p/catalystcoop.pudl\n    permissions:\n      id-token: write\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution to PyPI Test Server\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n\n  publish-pypi:\n    name: Upload release to PyPI - only if test release is successful!\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v20')\n    needs:\n      - publish-test-pypi\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/catalystcoop.pudl\n    permissions:\n      id-token: write\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-github:\n    name: Release package on GitHub\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v20')\n    needs:\n      - publish-test-pypi\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      id-token: write\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Sign dist with Sigstore\n        uses: sigstore/gh-action-sigstore-python@v2.1.1\n        with:\n          inputs: ./dist/*.tar.gz ./dist/*.whl\n      - name: Upload artifact signatures to GitHub Release\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n        run: >-\n          gh release create '${{ github.ref_name }}' ./dist/*.tar.gz ./dist/*.whl\n          --title 'PUDL ${{ github.ref_name }}'\n          --generate-notes\n          --repo '${{ github.repository }}'\n\n  notify-slack:\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v20')\n    runs-on: ubuntu-latest\n    needs:\n      - publish-github\n    steps:\n      - name: Inform the Codemonkeys\n        uses: 8398a7/action-slack@v3\n        continue-on-error: true\n        with:\n          status: custom\n          fields: workflow,job,commit,repo,ref,author,took\n          custom_payload: |\n            {\n              username: 'action-slack',\n              icon_emoji: ':octocat:',\n              attachments: [{\n                color: '${{ needs.publish-github.result }}' === 'success' ? 'good' : '${{ needs.publish-github.result }}' === 'failure' ? 'danger' : 'warning',\n                text: `${process.env.AS_REPO}@${process.env.AS_REF}\\n ${process.env.AS_WORKFLOW} (${process.env.AS_COMMIT})\\n by ${process.env.AS_AUTHOR}\\n Status: ${{ needs.publish-github.result }}`,\n              }]\n            }\n        env:\n          GITHUB_TOKEN: ${{ github.token }} # required\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required\n          MATRIX_CONTEXT: ${{ toJson(matrix) }} # required\n", "state": "active", "repository": "catalyst-cooperative/pudl"}
{"mined_at": "2024-07-15T13:55:01.149887", "created_at": "2020-08-13T18:03:20+02:00", "updated_at": "2023-11-15T21:12:54+01:00", "name": "tox-pytest", "path": ".github/workflows/tox-pytest.yml", "contents": null, "state": "active", "repository": "catalyst-cooperative/pudl"}
{"mined_at": "2024-07-15T13:55:02.242562", "created_at": "2023-11-13T17:03:31+01:00", "updated_at": "2023-11-15T18:33:24+01:00", "name": "update-conda-lockfile", "path": ".github/workflows/update-conda-lockfile.yml", "contents": "---\nname: update-conda-lockfile\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 9 * * 1\" # Mondays at 9AM UTC\n\n# What branch does this action run on?\n# - workflow_dispatch: Whatever branch it was run against.\n# - schedule: Always runs on main\n\njobs:\n  update-conda-lockfile:\n    runs-on: ubuntu-latest\n    if: ${{ (github.event_name == 'schedule' && github.repository == 'catalyst-cooperative/pudl') || (github.event_name == 'workflow_dispatch') }}\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Get today's date\n        run: |\n          echo \"TODAY=$(date +%Y-%m-%d)\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.PUDL_BOT_PAT }}\n      - name: Install Micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: conda-lock\n          create-args: >-\n            python=3.12\n            conda-lock>=2.5.2\n            prettier\n      - name: Run conda-lock to recreate lockfile from scratch\n        run: |\n          make conda-clean\n          make conda-lock.yml\n      - name: Make a PR to merge updated conda lockfiles\n        # If we are relocking dependencies on a schedule or workflow_dispatch, we need\n        # to make our own PR to check whether the updated environment actually solves\n        # and the tests pass.\n        if: ${{ (github.event_name == 'schedule' && github.repository == 'catalyst-cooperative/pudl') || (github.event_name == 'workflow_dispatch') }}\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.PUDL_BOT_PAT }}\n          commit-message: \"Update conda-lock.yml and rendered conda environment files.\"\n          title: Update conda lockfile for week of ${{ env.TODAY }}\n          body: >\n            This pull request relocks the dependencies with conda-lock.\n            It is triggered by [update-conda-lockfile](https://github.com/catalyst-cooperative/pudl/blob/main/.github/workflows/update-conda-lockfile.yml).\n          labels: dependencies, conda-lock\n          reviewers: zaneselvans\n          branch: update-conda-lockfile\n          base: ${{ github.ref_name }}\n          delete-branch: true\n", "state": "active", "repository": "catalyst-cooperative/pudl"}
{"mined_at": "2024-07-15T13:55:03.359896", "created_at": "2022-09-16T02:15:17+02:00", "updated_at": "2022-11-29T16:24:41+01:00", "name": "zenodo-cache-sync", "path": ".github/workflows/zenodo-cache-sync.yml", "contents": "---\nname: zenodo-cache-sync\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 6 * * 1-5\" # Weekdays at midnight on MST\n  pull_request:\n    paths:\n      - \"src/pudl/workspace/datastore.py\"\n\nenv:\n  INTERNAL_ZENODO_CACHE_BUCKET: gs://internal-zenodo-cache.catalyst.coop\n  PUBLIC_ZENODO_CACHE_BUCKET: gs://zenodo-cache.catalyst.coop\n  PUDL_OUTPUT: ~/pudl-work/output\n  PUDL_INPUT: ~/pudl-work/input/\n\njobs:\n  zenodo-cache-sync:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      id-token: write\n    strategy:\n      fail-fast: false\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Checkout desired branch\n        uses: actions/checkout@v4\n\n      - name: Install Conda environment using mamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environments/conda-lock.yml\n          environment-name: pudl-dev\n          cache-environment: true\n\n      - name: Log environment details\n        run: |\n          conda info\n          conda list\n          conda config --show-sources\n          conda config --show\n          printenv | sort\n\n      - name: Install pudl package\n        run: |\n          pip install --editable ./\n\n      - name: Set default gcp credentials\n        id: gcloud-auth\n        uses: \"google-github-actions/auth@v2\"\n        with:\n          workload_identity_provider: \"projects/345950277072/locations/global/workloadIdentityPools/gh-actions-pool/providers/gh-actions-provider\"\n          service_account: \"zenodo-cache-manager@catalyst-cooperative-pudl.iam.gserviceaccount.com\"\n\n      - name: Set up Cloud SDK\n        uses: google-github-actions/setup-gcloud@v2\n\n      - name: Update GCS cache with any new Zenodo archives\n        run: |\n          pudl_datastore --gcs-cache-path ${{ env.INTERNAL_ZENODO_CACHE_BUCKET }} --bypass-local-cache --loglevel DEBUG\n\n      - name: Sync internal and public caches\n        run: |\n          gsutil -u catalyst-cooperative-pudl -m rsync -dr ${{ env.INTERNAL_ZENODO_CACHE_BUCKET }} ${{ env.PUBLIC_ZENODO_CACHE_BUCKET }}\n\n  zenodo-cache-sync-notify:\n    runs-on: ubuntu-latest\n    if: ${{ always() }}\n    needs: zenodo-cache-sync\n    steps:\n      - name: Inform the Codemonkeys\n        uses: 8398a7/action-slack@v3\n        with:\n          status: custom\n          fields: workflow,job,commit,repo,ref,author,took\n          custom_payload: |\n            {\n              username: 'action-slack',\n              icon_emoji: ':octocat:',\n              attachments: [{\n                color: '${{ needs.zenodo-cache-sync.result }}' === 'success' ? 'good' : '${{ needs.zenodo-cache-sync.result }}' === 'failure' ? 'danger' : 'warning',\n                text: `${process.env.AS_REPO}@${process.env.AS_REF}\\n ${process.env.AS_WORKFLOW} (${process.env.AS_COMMIT})\\n by ${process.env.AS_AUTHOR}\\n Status: ${{ needs.zenodo-cache-sync.result }}`,\n              }]\n            }\n        env:\n          GITHUB_TOKEN: ${{ github.token }} # required\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required\n          MATRIX_CONTEXT: ${{ toJson(matrix) }} # required\n", "state": "active", "repository": "catalyst-cooperative/pudl"}
{"mined_at": "2024-07-15T13:55:05.381483", "created_at": "2020-06-22T10:35:12+02:00", "updated_at": "2020-06-30T21:38:44+02:00", "name": "Build and Test", "path": ".github/workflows/build_test.yml", "contents": "name: Build and Test\n\non:\n    push:\n        branches:\n            - master\n            - main\n        tags:\n            - v*\n    pull_request:\n        branches:\n            - master\n            - main\n            - prep-**\n    workflow_dispatch:\n        inputs:\n          logLevel:\n            default: warning\n            description: \"Log level\"\n            required: true\n          tags:\n            description: \"Test scenario tags\"\n\njobs:\n  lint:\n    name: Check linting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Display Python version\n        run: python -c \"import sys; import os; print(\\\"\\n\\\".join(os.environ[\\\"PATH\\\"].split(os.pathsep))); print(sys.version); print(sys.executable);\"\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox>=4\n      - name: Set PY\n        run: echo \"PY=$(python -VV | sha256sum | cut -d' ' -f1)\" >> $GITHUB_ENV\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}\n      - name: Run fix_lint\n        run: python -m tox run -e fix_lint\n\n  dependency:\n    name: Check dependency\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Install tox\n        run: python -m pip install tox>=4\n      - name: Run tests\n        run: python -m tox run -e dependency\n\n  build:\n    needs: lint\n    strategy:\n      matrix:\n        os:\n          - image: ubuntu-20.04\n            id: manylinux_x86_64\n          - image: ubuntu-20.04\n            id: manylinux_aarch64\n          - image: windows-2019\n            id: win_amd64\n          - image: macos-latest\n            id: macosx_x86_64\n          - image: macos-latest\n            id: macosx_arm64\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    name: Build ${{ matrix.os.id }}-py${{ matrix.python-version }}\n    runs-on: ${{ matrix.os.image }}\n    steps:\n      - name: Set shortver\n        run: echo \"shortver=${longver//./}\" >> $GITHUB_ENV\n        env:\n          longver: ${{ matrix.python-version }}\n        shell: bash\n      - name: Set up QEMU\n        if: ${{ matrix.os.id == 'manylinux_aarch64' }}\n        uses: docker/setup-qemu-action@v2\n        with:\n          platforms: all\n      - uses: actions/checkout@v3\n      - name: Building wheel\n        uses: pypa/cibuildwheel@v2.16.5\n        env:\n          CIBW_BUILD: cp${{ env.shortver }}-${{ matrix.os.id }}\n          MACOSX_DEPLOYMENT_TARGET: 10.14  # Should be kept in sync with ci/build_darwin.sh\n        with:\n          output-dir: dist\n      - name: Show wheels generated\n        run: ls -lh dist\n        shell: bash\n      - uses: actions/upload-artifact@v3\n        with:\n          name: ${{ matrix.os.id }}_py${{ matrix.python-version }}\n          path: dist/\n\n  test:\n    name: Test ${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ${{ matrix.os.image_name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n         - image_name: ubuntu-latest\n           download_name: manylinux_x86_64\n         - image_name: macos-latest\n           download_name: macosx_x86_64\n         - image_name: windows-2019\n           download_name: win_amd64\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        cloud-provider: [aws, azure, gcp]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Setup parameters file\n        shell: bash\n        env:\n          PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}\n        run: |\n          gpg --quiet --batch --yes --decrypt --passphrase=\"$PARAMETERS_SECRET\" \\\n          .github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v3\n        with:\n          name: ${{ matrix.os.download_name }}_py${{ matrix.python-version }}\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox>=4\n      - name: Run tests\n        run: python -m tox run -e `echo py${PYTHON_VERSION/\\./}-{extras,unit,integ,pandas,sso}-ci | sed 's/ /,/g'`\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox run -e coverage --skip-missing-interpreters false\n        shell: bash\n      - uses: actions/upload-artifact@v3\n        with:\n          name: coverage_${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  test-olddriver:\n    name: Old Driver Test ${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: lint\n    runs-on: ${{ matrix.os.image_name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n         - image_name: ubuntu-latest\n           download_name: linux\n        python-version: [3.8]\n        cloud-provider: [aws]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Setup parameters file\n        shell: bash\n        env:\n          PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}\n        run: |\n          gpg --quiet --batch --yes --decrypt --passphrase=\"$PARAMETERS_SECRET\" \\\n          .github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox>=4\n      - name: Run tests\n        run: python -m tox run -e olddriver\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n        shell: bash\n\n  test-noarrowextension:\n    name: No Arrow Extension Test ${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: lint\n    runs-on: ${{ matrix.os.image_name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n         - image_name: ubuntu-latest\n           download_name: linux\n        python-version: [3.8]\n        cloud-provider: [aws]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox>=4\n      - name: Run tests\n        run: python -m tox run -e noarrowextension\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n        shell: bash\n\n  test-fips:\n    name: Test FIPS linux-3.8-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        cloud-provider: [aws]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup parameters file\n        shell: bash\n        env:\n          PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}\n        run: |\n          gpg --quiet --batch --yes --decrypt --passphrase=\"$PARAMETERS_SECRET\" \\\n          .github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v3\n        with:\n          name: manylinux_x86_64_py3.8\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Run tests\n        run: ./ci/test_fips_docker.sh\n        env:\n          PYTHON_VERSION: 3.8\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - uses: actions/upload-artifact@v3\n        with:\n          name: coverage_linux-fips-3.8-${{ matrix.cloud-provider }}\n          path: |\n            .coverage\n            coverage.xml\n\n  test-lambda:\n    name: Test Lambda linux-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        cloud-provider: [aws]\n    steps:\n      - name: Set shortver\n        run: echo \"shortver=${longver//./}\" >> $GITHUB_ENV\n        env:\n          longver: ${{ matrix.python-version }}\n        shell: bash\n      - uses: actions/checkout@v3\n      - name: Setup parameters file\n        shell: bash\n        env:\n          PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}\n        run: |\n          gpg --quiet --batch --yes --decrypt --passphrase=\"$PARAMETERS_SECRET\" \\\n          .github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v3\n        with:\n          name: manylinux_x86_64_py${{ matrix.python-version }}\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Run tests\n        run: ./ci/test_lambda_docker.sh ${PYTHON_VERSION}\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - uses: actions/upload-artifact@v3\n        with:\n          name: coverage_linux-lambda-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n          path: |\n            .coverage.py${{ env.shortver }}-lambda-ci\n            junit.py${{ env.shortver }}-lambda-ci-dev.xml\n\n  combine-coverage:\n    if: ${{ success() || failure() }}\n    name: Combine coverage\n    needs: [lint, test, test-fips, test-lambda]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/download-artifact@v3\n        with:\n          path: artifacts\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox>=4\n      - name: Collect all coverages to one dir\n        run: |\n          python -c '\n          from pathlib import Path\n          import shutil\n\n          src_dir = Path(\"artifacts\")\n          dst_dir = Path(\".\") / \".tox\"\n          dst_dir.mkdir()\n          for src_file in src_dir.glob(\"*/.coverage\"):\n              dst_file = dst_dir / \".coverage.{}\".format(src_file.parent.name[9:])\n              print(\"{} copy to {}\".format(src_file, dst_file))\n              shutil.copy(str(src_file), str(dst_file))'\n      - name: Combine coverages\n        run: python -m tox run -e coverage\n      - name: Publish html coverage\n        uses: actions/upload-artifact@v3\n        with:\n          name: overall_cov_html\n          path: .tox/htmlcov\n      - name: Publish xml coverage\n        uses: actions/upload-artifact@v3\n        with:\n          name: overall_cov_xml\n          path: .tox/coverage.xml\n      - uses: codecov/codecov-action@v3\n        with:\n          files: .tox/coverage.xml\n", "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:06.545165", "created_at": "2023-03-14T18:54:56+01:00", "updated_at": "2023-03-15T23:47:28+01:00", "name": "Changelog Check", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog Check\n\non:\n  pull_request:\n    types: [opened, synchronize, labeled, unlabeled]\n    branches:\n      - main\n\njobs:\n  check_change_log:\n    runs-on: ubuntu-latest\n    if: ${{!contains(github.event.pull_request.labels.*.name, 'NO-CHANGELOG-UPDATES')}}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n\n    - name: Ensure DESCRIPTION.md is updated\n      run: git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -wq \"DESCRIPTION.md\"\n", "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:07.640242", "created_at": "2021-12-16T20:49:21+01:00", "updated_at": "2021-12-16T20:49:21+01:00", "name": "CLA Assistant", "path": ".github/workflows/cla_bot.yml", "contents": "name: \"CLA Assistant\"\non:\n  issue_comment:\n    types: [created]\n  pull_request_target:\n    types: [opened,closed,synchronize]\n\njobs:\n  CLAssistant:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n      contents: write\n      pull-requests: write\n      statuses: write\n    steps:\n      - name: \"CLA Assistant\"\n        if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'\n        uses: contributor-assistant/github-action/@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOT_TOKEN }}\n        with:\n          path-to-signatures: 'signatures/version1.json'\n          path-to-document: 'https://github.com/snowflakedb/CLA/blob/main/README.md'\n          branch: 'main'\n          allowlist: 'dependabot[bot],github-actions,Jenkins User,sfc-gh-snyk-sca-sa'\n          remote-organization-name: 'snowflakedb'\n          remote-repository-name: 'cla-db'\n", "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:08.677771", "created_at": "2021-06-30T17:56:01+02:00", "updated_at": "2021-08-24T07:27:04+02:00", "name": "Create Requirements Files", "path": ".github/workflows/create_req_files.yml", "contents": "name: Create Requirements Files\n\non:\n  workflow_dispatch:\n\njobs:\n  create-req-files:\n    name: Create requirements files\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install Python Connector\n        shell: bash\n        run: python -m pip install .\n      - name: Generate reqs file name\n        shell: bash\n        run: echo \"requirements_file=temp_requirement/requirements_$(python -c 'from sys import version_info;print(str(version_info.major)+str(version_info.minor))').reqs\" >> $GITHUB_ENV\n      - name: Create reqs file\n        shell: bash\n        run: |\n          mkdir temp_requirement\n          echo \"# Generated on: $(python --version)\" >${{ env.requirements_file }}\n          python -m pip freeze | grep -v snowflake-connector-python 1>>${{ env.requirements_file }} 2>/dev/null\n          echo \"snowflake-connector-python==$(python -m pip show snowflake-connector-python | grep ^Version | cut -d' ' -f2-)\" >>${{ env.requirements_file }}\n        id: create-reqs-file\n      - name: Show created req file\n        shell: bash\n        run: cat ${{ env.requirements_file }}\n      - uses: actions/upload-artifact@v3\n        with:\n          path: temp_requirement\n\n  push-files:\n    needs: create-req-files\n    name: Commit and push files\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.PAT }}\n      - name: Download requirement files\n        uses: actions/download-artifact@v3\n        with:\n          name: artifact\n          path: tested_requirements\n      - name: Commit and push new requirements files\n        run: |\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git add tested_requirements\n          git commit -m \"Update requirements files\" -a\n          git push\n", "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:09.705073", "created_at": "2020-12-12T00:32:08+01:00", "updated_at": "2021-07-23T20:52:13+02:00", "name": "Jira closure", "path": ".github/workflows/jira_close.yml", "contents": "name: Jira closure\n\non:\n  issues:\n    types: [closed, deleted]\n\njobs:\n  close-issue:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          repository: snowflakedb/gh-actions\n          ref: jira_v1\n          token: ${{ secrets.SNOWFLAKE_GITHUB_TOKEN }} # stored in GitHub secrets\n          path: .\n      - name: Jira login\n        uses: atlassian/gajira-login@master\n        env:\n          JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n          JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n          JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n      - name: Extract issue from title\n        id: extract\n        env:\n          TITLE: \"${{ github.event.issue.title }}\"\n        run: |\n          jira=$(echo -n $TITLE | awk '{print $1}' | sed -e 's/://')\n          echo ::set-output name=jira::$jira\n      - name: Close issue\n        uses: ./jira/gajira-close\n        if: startsWith(steps.extract.outputs.jira, 'SNOW-')\n        with:\n          issue: \"${{ steps.extract.outputs.jira }}\"\n", "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:10.807571", "created_at": "2020-02-04T19:57:32+01:00", "updated_at": "2020-02-04T19:57:32+01:00", "name": "Jira comment", "path": ".github/workflows/jira_comment.yml", "contents": "name: Jira comment\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  comment-issue:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Jira login\n        uses: atlassian/gajira-login@master\n        env:\n          JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n          JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n          JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n      - name: Extract issue from title\n        id: extract\n        env:\n          TITLE: \"${{ github.event.issue.title }}\"\n        run: |\n          jira=$(echo -n $TITLE | awk '{print $1}' | sed -e 's/://')\n          echo ::set-output name=jira::$jira\n      - name: Comment on issue\n        uses: atlassian/gajira-comment@master\n        if: startsWith(steps.extract.outputs.jira, 'SNOW-')\n        with:\n          issue: \"${{ steps.extract.outputs.jira }}\"\n          comment: \"${{ github.event.comment.user.login }} commented:\\n\\n${{ github.event.comment.body }}\\n\\n${{ github.event.comment.html_url }}\"\n", "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:11.868353", "created_at": "2020-02-05T16:30:37+01:00", "updated_at": "2020-02-05T16:30:37+01:00", "name": "Jira creation", "path": ".github/workflows/jira_issue.yml", "contents": "name: Jira creation\n\non:\n  issues:\n    types: [opened]\n  issue_comment:\n    types: [created]\n\njobs:\n  create-issue:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    if: ((github.event_name == 'issue_comment' && github.event.comment.body == 'recreate jira' && github.event.comment.user.login == 'sfc-gh-mkeller') || (github.event_name == 'issues' && github.event.pull_request.user.login != 'whitesource-for-github-com[bot]'))\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          repository: snowflakedb/gh-actions\n          ref: jira_v1\n          token: ${{ secrets.SNOWFLAKE_GITHUB_TOKEN }} # stored in GitHub secrets\n          path: .\n\n      - name: Login\n        uses: atlassian/gajira-login@v2.0.0\n        env:\n          JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n          JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n          JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n\n      - name: Create JIRA Ticket\n        id: create\n        uses: atlassian/gajira-create@v3.0.1\n        with:\n          project: SNOW\n          issuetype: Bug\n          summary: '${{ github.event.issue.title }}'\n          description: |\n            ${{ github.event.issue.body }} \\\\ \\\\ _Created from GitHub Action_ for ${{ github.event.issue.html_url }}\n          fields: '{\"customfield_11401\":{\"id\":\"14586\"},\"assignee\":{\"id\":\"61027a237ab143006ecfb9a2\"},\"components\":[{\"id\":\"16413\"}]}'\n\n      - name: Update GitHub Issue\n        uses: ./jira/gajira-issue-update\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          issue_number: \"{{ event.issue.id }}\"\n          owner: \"{{ event.repository.owner.login }}\"\n          name: \"{{ event.repository.name }}\"\n          jira: \"${{ steps.create.outputs.issue }}\"\n", "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:12.964908", "created_at": "2024-06-28T20:32:01+02:00", "updated_at": "2024-07-01T17:59:47+02:00", "name": "Port Changes to SP", "path": ".github/workflows/port_changes_to_sp.yml", "contents": null, "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:14.014913", "created_at": "2022-10-21T19:51:50+02:00", "updated_at": "2023-05-11T02:01:48+02:00", "name": "Run semgrep checks", "path": ".github/workflows/semgrep.yml", "contents": "---\nname: Run semgrep checks\n\non:\n  pull_request:\n    branches: [main]\n\npermissions:\n  contents: read\n\njobs:\n  run-semgrep-reusable-workflow:\n    uses: snowflakedb/reusable-workflows/.github/workflows/semgrep-v2.yml@main\n    secrets:\n      token: ${{ secrets.SEMGREP_APP_TOKEN }}\n", "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:15.135026", "created_at": "2022-07-06T19:03:07+02:00", "updated_at": "2022-07-06T19:03:07+02:00", "name": "Snyk Issue", "path": ".github/workflows/snyk-issue.yml", "contents": "name: Snyk Issue\n\non:\n  schedule:\n    - cron: '* */12 * * *'\n\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n\nconcurrency: snyk-issue\n\njobs:\n  snyk:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Action\n      uses: actions/checkout@v3\n      with:\n        repository: snowflakedb/whitesource-actions\n        token: ${{ secrets.whitesource_action_token }}\n        path: whitesource-actions\n    - name: Set Env\n      run: echo \"repo=$(basename $GITHUB_REPOSITORY)\" >> $GITHUB_ENV\n    - name: Jira Creation\n      uses: ./whitesource-actions/snyk-issue\n      with:\n        snyk_org: ${{ secrets.snyk_org_id_public_repo }}\n        snyk_token:  ${{ secrets.snyk_github_integration_token_public_repo }}\n        jira_token: ${{ secrets.jira_token_public_repo }}\n      env:\n        gh_token: ${{ secrets.github_token }}\n", "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:16.200121", "created_at": "2022-04-26T05:23:35+02:00", "updated_at": "2022-07-06T19:03:07+02:00", "name": "Snyk PR", "path": ".github/workflows/snyk-pr.yml", "contents": "name: Snyk PR\non:\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n\njobs:\n  snyk:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.pull_request.user.login == 'sfc-gh-snyk-sca-sa' }}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n      with:\n        ref: ${{ github.event.pull_request.head.ref }}\n        fetch-depth: 0\n\n    - name: Checkout Action\n      uses: actions/checkout@v3\n      with:\n        repository: snowflakedb/whitesource-actions\n        token: ${{ secrets.whitesource_action_token }}\n        path: whitesource-actions\n\n    - name: Snyk Pull Request Scan Check\n      uses: ./whitesource-actions/snyk-pr\n      env:\n        pr_title: ${{ github.event.pull_request.title }}\n      with:\n        jira_token: ${{ secrets.jira_token_public_repo }}\n        gh_token: ${{ secrets.github_token }}\n        amend: false\n", "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:17.191950", "created_at": "2023-08-17T23:12:50+02:00", "updated_at": "2023-08-17T23:25:40+02:00", "name": "Stored Procedure Change Check", "path": ".github/workflows/sp_change.yml", "contents": null, "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:18.258242", "created_at": "2023-03-09T23:20:37+01:00", "updated_at": "2023-03-09T23:20:37+01:00", "name": "Close Stale Issues", "path": ".github/workflows/stale_issue_bot.yml", "contents": "name: Close Stale Issues\non:\n  workflow_dispatch:\n    inputs:\n      staleDays:\n        required: true\n\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v7\n        with:\n          close-issue-message: 'To clean up and re-prioritize bugs and feature requests we are closing all issues older than 6 months as of March 1, 2023. If there are any issues or feature requests that you would like us to address, please re-create them. For urgent issues, opening a support case with this link [Snowflake Community](https://community.snowflake.com/s/article/How-To-Submit-a-Support-Case-in-Snowflake-Lodge) is the fastest way to get a response'\n          days-before-issue-stale: ${{ inputs.staleDays }}\n          days-before-pr-stale: -1\n          # Stale issues are closed immediately\n          days-before-issue-close: 0\n          days-before-pr-close: -1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "snowflakedb/snowflake-connector-python"}
{"mined_at": "2024-07-15T13:55:20.357836", "created_at": "2022-04-20T01:26:51+02:00", "updated_at": "2022-04-20T01:26:51+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  ci:\n    uses: angr/ci-settings/.github/workflows/angr-ci.yml@master\n  windows:\n    uses: ./.github/workflows/windows.yml\n  macos:\n    uses: ./.github/workflows/macos.yml\n\n", "state": "active", "repository": "angr/claripy"}
{"mined_at": "2024-07-15T13:55:21.406700", "created_at": "2023-08-17T23:45:29+02:00", "updated_at": "2023-08-17T23:45:29+02:00", "name": "Test on macOS", "path": ".github/workflows/macos.yml", "contents": "name: Test on macOS\n\non:\n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  macos:\n    name: Test macOS\n    runs-on: macos-12\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: python -m venv $HOME/venv\n        name: Create venv\n        shell: bash\n      - run: |\n          source $HOME/venv/bin/activate\n          pip install .[testing]\n        name: Install\n      - run: |\n          source $HOME/venv/bin/activate\n          pytest -n auto\n        name: Run pytest\n", "state": "active", "repository": "angr/claripy"}
{"mined_at": "2024-07-15T13:55:22.429074", "created_at": "2022-04-20T01:26:51+02:00", "updated_at": "2022-04-20T01:26:51+02:00", "name": "Nightly CI", "path": ".github/workflows/nightly-ci.yml", "contents": "name: Nightly CI\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  ci:\n    uses: angr/ci-settings/.github/workflows/angr-ci.yml@master\n    with:\n      nightly: true\n    secrets: inherit\n", "state": "active", "repository": "angr/claripy"}
{"mined_at": "2024-07-15T13:55:23.543655", "created_at": "2023-08-17T23:45:29+02:00", "updated_at": "2023-08-17T23:45:29+02:00", "name": "Test on Windows", "path": ".github/workflows/windows.yml", "contents": "name: Test on Windows\n\non:\n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  windows:\n    name: Test Windows\n    runs-on: windows-2022\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: python -m venv $HOME/venv\n        name: Create venv\n        shell: bash\n      - run: |\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pip install .[testing]\n        name: Install\n        shell: cmd\n      - run: |\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pytest -n auto\n        name: Run pytest\n        shell: cmd\n", "state": "active", "repository": "angr/claripy"}
{"mined_at": "2024-07-15T13:55:25.526672", "created_at": "2021-07-20T15:29:34+02:00", "updated_at": "2021-07-20T15:29:34+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\n\non:\n  release:\n    types:\n      - created\n\njobs:\n  release:\n    name: \"Publish release\"\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n      - uses: \"actions/checkout@v3\"\n      - uses: \"actions/setup-python@v1\"\n        with:\n          python-version: 3.12\n      - name: \"Install dependencies\"\n        run: \"pip install -r requirements/dev-requirements.txt\"\n      - name: \"Publish to PyPI\"\n        run: \"./scripts/release.sh\"\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "piccolo-orm/piccolo"}
{"mined_at": "2024-07-15T13:55:26.601050", "created_at": "2021-03-23T20:42:48+01:00", "updated_at": "2021-07-16T19:14:33+02:00", "name": "Test Suite", "path": ".github/workflows/tests.yaml", "contents": "name: Test Suite\n\non:\n    push:\n        branches: [\"master\", \"v1\"]\n        paths-ignore:\n          - \"docs/**\"\n    pull_request:\n        branches: [\"master\", \"v1\"]\n        paths-ignore:\n            - \"docs/**\"\n\njobs:\n    linters:\n        runs-on: ubuntu-latest\n        timeout-minutes: 60\n        strategy:\n            matrix:\n                python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n        steps:\n            - uses: actions/checkout@v3\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v3\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install -r requirements/requirements.txt\n                  pip install -r requirements/dev-requirements.txt\n                  pip install -r requirements/test-requirements.txt\n            - name: Lint\n              run: ./scripts/lint.sh\n\n    integration:\n        runs-on: ubuntu-latest\n        timeout-minutes: 60\n        strategy:\n            matrix:\n                # These tests are slow, so we only run on the latest Python\n                # version.\n                python-version: [\"3.10\"]\n                postgres-version: [14]\n        services:\n            postgres:\n                image: postgres:${{ matrix.postgres-version }}\n                env:\n                    POSTGRES_PASSWORD: postgres\n                options: >-\n                    --health-cmd pg_isready\n                    --health-interval 10s\n                    --health-timeout 5s\n                    --health-retries 5\n                ports:\n                    - 5432:5432\n        steps:\n            - uses: actions/checkout@v3\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v3\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install -r requirements/requirements.txt\n                  pip install -r requirements/test-requirements.txt\n                  pip install -r requirements/extras/postgres.txt\n            - name: Setup postgres\n              run: |\n                  export PGPASSWORD=postgres\n                  psql -h localhost -c 'CREATE DATABASE piccolo;' -U postgres\n                  psql -h localhost -c \"CREATE USER piccolo PASSWORD 'piccolo';\" -U postgres\n                  psql -h localhost -c \"GRANT ALL PRIVILEGES ON DATABASE piccolo TO piccolo;\" -U postgres\n                  psql -h localhost -c \"CREATE EXTENSION IF NOT EXISTS \\\"uuid-ossp\\\";\" -d piccolo -U postgres\n            - name: Run integration tests\n              run: ./scripts/test-integration.sh\n              env:\n                  PG_HOST: localhost\n                  PG_DATABASE: piccolo\n                  PG_PASSWORD: postgres\n\n    postgres:\n        runs-on: ubuntu-latest\n        timeout-minutes: 60\n        strategy:\n            matrix:\n                python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n                postgres-version: [11, 12, 13, 14, 15, 16]\n\n        # Service containers to run with `container-job`\n        services:\n            # Label used to access the service container\n            postgres:\n                # Docker Hub image\n                image: postgres:${{ matrix.postgres-version }}\n                # Provide the password for postgres\n                env:\n                    POSTGRES_PASSWORD: postgres\n                # Set health checks to wait until postgres has started\n                options: >-\n                    --health-cmd pg_isready\n                    --health-interval 10s\n                    --health-timeout 5s\n                    --health-retries 5\n                ports:\n                    - 5432:5432\n\n        steps:\n            - uses: actions/checkout@v3\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v3\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install -r requirements/requirements.txt\n                  pip install -r requirements/test-requirements.txt\n                  pip install -r requirements/extras/postgres.txt\n            - name: Setup postgres\n              run: |\n                  export PGPASSWORD=postgres\n                  psql -h localhost -c 'CREATE DATABASE piccolo;' -U postgres\n                  psql -h localhost -c \"CREATE USER piccolo PASSWORD 'piccolo';\" -U postgres\n                  psql -h localhost -c \"GRANT ALL PRIVILEGES ON DATABASE piccolo TO piccolo;\" -U postgres\n                  psql -h localhost -c \"CREATE EXTENSION IF NOT EXISTS \\\"uuid-ossp\\\";\" -d piccolo -U postgres\n\n            - name: Test with pytest, Postgres\n              run: ./scripts/test-postgres.sh\n              env:\n                  PG_HOST: localhost\n                  PG_DATABASE: piccolo\n                  PG_PASSWORD: postgres\n            - name: Upload coverage\n              uses: codecov/codecov-action@v1\n              if: matrix.python-version == '3.12'\n\n    cockroach:\n        runs-on: ubuntu-latest\n        timeout-minutes: 60\n        strategy:\n            matrix:\n                python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n                cockroachdb-version: [\"v24.1.0\"]\n        steps:\n            - uses: actions/checkout@v3\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v3\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install -r requirements/requirements.txt\n                  pip install -r requirements/test-requirements.txt\n                  pip install -r requirements/extras/postgres.txt\n            - name: Setup CockroachDB\n              run: |\n                  wget -qO- https://binaries.cockroachdb.com/cockroach-${{ matrix.cockroachdb-version }}.linux-amd64.tgz | tar xz\n                  ./cockroach-${{ matrix.cockroachdb-version }}.linux-amd64/cockroach start-single-node --insecure --background\n                  ./cockroach-${{ matrix.cockroachdb-version }}.linux-amd64/cockroach sql --insecure -e 'create database piccolo;'\n\n            - name: Test with pytest, CockroachDB\n              run: ./scripts/test-cockroach.sh\n              env:\n                  PG_HOST: localhost\n                  PG_DATABASE: piccolo\n            - name: Upload coverage\n              uses: codecov/codecov-action@v1\n              if: matrix.python-version == '3.12'\n\n    sqlite:\n        runs-on: ubuntu-latest\n        timeout-minutes: 60\n        strategy:\n            matrix:\n                python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n        steps:\n            - uses: actions/checkout@v3\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v3\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install -r requirements/requirements.txt\n                  pip install -r requirements/test-requirements.txt\n                  pip install -r requirements/extras/sqlite.txt\n            - name: Test with pytest, SQLite\n              run: ./scripts/test-sqlite.sh\n            - name: Upload coverage\n              uses: codecov/codecov-action@v1\n              if: matrix.python-version == '3.12'\n", "state": "active", "repository": "piccolo-orm/piccolo"}
{"mined_at": "2024-07-15T13:55:28.636688", "created_at": "2023-01-04T16:04:43+01:00", "updated_at": "2023-03-24T06:00:55+01:00", "name": "build", "path": ".github/workflows/build.yaml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - \"branch-*\"\n    tags:\n      - v[0-9][0-9].[0-9][0-9].[0-9][0-9]\n  workflow_dispatch:\n    inputs:\n      branch:\n        required: true\n        type: string\n      date:\n        required: true\n        type: string\n      sha:\n        required: true\n        type: string\n      build_type:\n        type: string\n        default: nightly\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}\n  cancel-in-progress: true\n\njobs:\n  conda-python-build:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-24.08\n    with:\n      build_type: ${{ inputs.build_type || 'branch' }}\n      branch: ${{ inputs.branch }}\n      date: ${{ inputs.date }}\n      sha: ${{ inputs.sha }}\n  docs-build:\n    if: github.ref_type == 'branch'\n    needs: [conda-python-build]\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-24.08\n    with:\n      arch: \"amd64\"\n      branch: ${{ inputs.branch }}\n      build_type: ${{ inputs.build_type || 'branch' }}\n      container_image: \"rapidsai/ci-conda:latest\"\n      date: ${{ inputs.date }}\n      node_type: \"gpu-v100-latest-1\"\n      run_script: \"ci/build_docs.sh\"\n      sha: ${{ inputs.sha }}\n  upload-conda:\n    needs: [conda-python-build]\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-upload-packages.yaml@branch-24.08\n    with:\n      build_type: ${{ inputs.build_type || 'branch' }}\n      branch: ${{ inputs.branch }}\n      date: ${{ inputs.date }}\n      sha: ${{ inputs.sha }}\n  wheel-build:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.08\n    with:\n      build_type: ${{ inputs.build_type || 'branch' }}\n      branch: ${{ inputs.branch }}\n      sha: ${{ inputs.sha }}\n      date: ${{ inputs.date }}\n      script: ci/build_wheel.sh\n      # Package is pure Python and only ever requires one build.\n      # This selects \"ARCH=amd64 + the latest supported Python + CUDA\".\n      matrix_filter: map(select(.ARCH == \"amd64\")) | max_by([(.PY_VER|split(\".\")|map(tonumber)), (.CUDA_VER|split(\".\")|map(tonumber))]) | [.]\n  wheel-publish:\n    needs: wheel-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-24.08\n    with:\n      build_type: ${{ inputs.build_type || 'branch' }}\n      branch: ${{ inputs.branch }}\n      sha: ${{ inputs.sha }}\n      date: ${{ inputs.date }}\n      package-name: dask-cuda\n", "state": "active", "repository": "rapidsai/dask-cuda"}
{"mined_at": "2024-07-15T13:55:29.662226", "created_at": "2021-02-17T20:02:17+01:00", "updated_at": "2021-02-17T20:02:17+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n triage:\n   runs-on: ubuntu-latest\n   steps:\n   - uses: actions/labeler@v4\n     with:\n       repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "rapidsai/dask-cuda"}
{"mined_at": "2024-07-15T13:55:30.814493", "created_at": "2022-12-05T17:15:38+01:00", "updated_at": "2023-04-21T20:25:38+02:00", "name": "pr", "path": ".github/workflows/pr.yaml", "contents": "name: pr\n\non:\n  push:\n    branches:\n      - \"pull-request/[0-9]+\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pr-builder:\n    needs:\n      - checks\n      - conda-python-build\n      - conda-python-tests\n      - docs-build\n      - wheel-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-24.08\n  checks:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@branch-24.08\n  conda-python-build:\n    needs: checks\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-24.08\n    with:\n      build_type: pull-request\n  conda-python-tests:\n    needs: conda-python-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@branch-24.08\n    with:\n      build_type: pull-request\n  docs-build:\n    needs: conda-python-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-24.08\n    with:\n      build_type: pull-request\n      node_type: \"gpu-v100-latest-1\"\n      arch: \"amd64\"\n      container_image: \"rapidsai/ci-conda:latest\"\n      run_script: \"ci/build_docs.sh\"\n  wheel-build:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.08\n    with:\n      build_type: pull-request\n      # Package is pure Python and only ever requires one build.\n      # This selects \"ARCH=amd64 + the latest supported Python + CUDA\".\n      matrix_filter: map(select(.ARCH == \"amd64\")) | max_by([(.PY_VER|split(\".\")|map(tonumber)), (.CUDA_VER|split(\".\")|map(tonumber))]) | [.]\n      script: \"ci/build_wheel.sh\"\n", "state": "active", "repository": "rapidsai/dask-cuda"}
{"mined_at": "2024-07-15T13:55:31.922524", "created_at": "2023-01-04T16:04:43+01:00", "updated_at": "2023-01-04T16:04:43+01:00", "name": "test", "path": ".github/workflows/test.yaml", "contents": "name: test\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        required: true\n        type: string\n      date:\n        required: true\n        type: string\n      sha:\n        required: true\n        type: string\n\njobs:\n  conda-python-tests:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@branch-24.08\n    with:\n      build_type: nightly\n      branch: ${{ inputs.branch }}\n      date: ${{ inputs.date }}\n      sha: ${{ inputs.sha }}\n", "state": "active", "repository": "rapidsai/dask-cuda"}
{"mined_at": "2024-07-15T13:55:33.909925", "created_at": "2020-11-19T20:42:23+01:00", "updated_at": "2021-04-26T15:12:42+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Setup java\n      uses: actions/setup-java@v1\n      with:\n        java-version: 8\n    - name: Install dependencies\n      run: |\n        echo $GITHUB_EVENT_NAME\n        sudo apt-get update\n        sudo apt-get install libstdc++6 graphviz python3-dev libgraphviz-dev pkg-config\n        # Install test/CI-specific dependencies not covered elsewhere\n        pip install --upgrade pip setuptools wheel\n        pip install pytest pytest-cov pydot jsonschema awscli pycodestyle\n        mkdir -p $HOME/.pybel/data\n        wget -nv https://bigmech.s3.amazonaws.com/travis/pybel_cache.db -O $HOME/.pybel/data/pybel_cache.db\n        # PySB and dependencies\n        wget \"https://github.com/RuleWorld/bionetgen/releases/download/BioNetGen-2.4.0/BioNetGen-2.4.0-Linux.tgz\" -O bionetgen.tar.gz -nv\n        tar xzf bionetgen.tar.gz\n        pip install git+https://github.com/pysb/pysb.git\n        # Temporary fix. Ensure cython is installed before pyjnius\n        pip install \"cython<3\"\n        # Now install INDRA with all its extras\n        pip install .[all]\n        # Run slow tests only if we're in the cron setting\n        #- |\n        #  if [[ $TRAVIS_EVENT_TYPE == \"cron\" ]]; then\n        #      export RUN_SLOW=true;\n        #  fi\n        # Install TEES only if slow tests are being run\n        #- |\n        #  if [[ $RUN_SLOW == \"true\" ]]; then\n        #      sudo pip2 install numpy\n        #      sudo apt-get --yes install ruby;\n        #      aws s3 cp s3://bigmech/travis/TEES.tar.bz2 . --no-sign-request --no-sign-request;\n        #      tar xjf TEES.tar.bz2;\n        #      mv TEES ~/TEES;\n        #      export TEES_SETTINGS=~/TEES/tees_local_settings.py\n        #  fi\n        # Download adeft models\n        python -m adeft.download\n        python -m gilda.resources\n        # Get INDRA World\n        git clone https://github.com/indralab/indra_world.git\n        # Download Reach\n        wget -nv https://bigmech.s3.amazonaws.com/travis/reach-82631d-biores-e9ee36.jar\n        # Get INDRA Bioontology\n        BIOONTOLOGY_VERSION=$(python -m indra.ontology.bio version)\n        echo $BIOONTOLOGY_VERSION\n        mkdir -p $HOME/.indra/bio_ontology/$BIOONTOLOGY_VERSION\n        wget -nv https://bigmech.s3.amazonaws.com/travis/bio_ontology/$BIOONTOLOGY_VERSION/mock_ontology.pkl -O $HOME/.indra/bio_ontology/$BIOONTOLOGY_VERSION/bio_ontology.pkl\n    - name: Run unit tests\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        INDRA_DB_REST_URL: ${{ secrets.INDRA_DB_REST_URL }}\n        INDRA_DB_REST_API_KEY: ${{ secrets.INDRA_DB_REST_API_KEY }}\n        ELSEVIER_API_KEY: ${{ secrets.ELSEVIER_API_KEY }}\n        ELSEVIER_INST_KEY: ${{ secrets.ELSEVIER_INST_KEY }}\n        BIOGRID_API_KEY: ${{ secrets.BIOGRID_API_KEY }}\n      run: |\n        # Set pytest attributes based on the context in which we are running\n        export PYTESTMARKS=\"(not nogha) and (not slow) and (not cron)\"\n        export PYTESTMARKS=$(if [ \"$GITHUB_EVENT_NAME\" == \"pull_request\" ]; then echo $PYTESTMARKS \"and (not nonpublic)\"; else echo $PYTESTMARKS; fi)\n        export PYTHONPATH=$PYTHONPATH:`pwd`/indra_world\n        export _JAVA_OPTIONS=\"-Xmx4g -Xms1g\"\n        export BNGPATH=`pwd`/BioNetGen-2.4.0\n        export REACHPATH=`pwd`/reach-82631d-biores-e9ee36.jar\n        export CLASSPATH=$REACHPATH\n        # These are files that are ignored so that doctests don't fail\n        #export NOSE_IGNORE_FILES=\"find_full_text_sentence.py\";\n        #- cd $TRAVIS_BUILD_DIR\n        # Now run all INDRA tests\n        pytest -v -m \"$PYTESTMARKS\" --ignore-glob='*tees*' --ignore-glob='*isi*' --ignore-glob='*test_reach*' --cov=indra --cov-report=term-missing --doctest-modules --durations=10 --continue-on-collection-errors indra/tests\n        pytest -v -m \"$PYTESTMARKS\" indra/tests/test_reach.py\n        # TEES tests\n        #- python -m nose_notify indra/tests/test_tees.py --slack_hook $SLACK_NOTIFY_HOOK\n        #  --label \"$TRAVIS_REPO_SLUG - $TRAVIS_BRANCH\" -v -a $NOSEATTR --process-restartworker;\n        # Run NL model examples only when the environmental variable\n        # RUN_NL_MODELS is set to true in the Travis build\n        # NOTE: if blocks in Travis DO NOT FAIL even if there is\n        # and error in one of the commands inside. Therefore passing\n        # alone does not mean that all the operations inside were\n        # successful. Rather, the log needs to be inspected and compared\n        # to desired behavior.\n        #- |\n        #  if [[ $RUN_NL_MODELS == \"true\" ]]; then\n        #      cd $TRAVIS_BUILD_DIR/models\n        #      python hello_indra.py\n        #      cd $TRAVIS_BUILD_DIR/models/p53_model\n        #      python run_p53_model.py noplot\n        #      cd $TRAVIS_BUILD_DIR/models/braf_model\n        #      python assemble_model.py\n        #      cd $TRAVIS_BUILD_DIR/models/ras_pathway\n        #      python run_ras_pathway.py trips\n        #   fi\n        #- cd $TRAVIS_BUILD_DIR\n        # Run code style report on diff\n        #- git remote set-branches --add origin master\n        #- git fetch\n        #- git diff origin/master | pycodestyle --diff > pep8.txt; cat pep8.txt;\n", "state": "active", "repository": "sorgerlab/indra"}
{"mined_at": "2024-07-15T13:55:34.977670", "created_at": "2021-12-23T20:02:29+01:00", "updated_at": "2021-12-23T20:02:29+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sorgerlab/indra"}
{"mined_at": "2024-07-15T13:55:36.992615", "created_at": "2021-07-31T16:09:23+02:00", "updated_at": "2021-07-31T16:43:30+02:00", "name": "build & test", "path": ".github/workflows/build-and-test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: build & test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest\n        python -m pip install scipy\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with unittest\n      run: |\n        python -m unittest Testing\n", "state": "active", "repository": "jwock82/pynite"}
{"mined_at": "2024-07-15T13:55:38.022041", "created_at": "2021-05-30T00:47:09+02:00", "updated_at": "2021-05-30T00:47:09+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "jwock82/pynite"}
{"mined_at": "2024-07-15T13:55:40.130712", "created_at": "2020-12-16T10:51:12+01:00", "updated_at": "2020-12-16T10:51:12+01:00", "name": "WA Test Suite", "path": ".github/workflows/main.yml", "contents": "name: WA Test Suite\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n    types: [opened, synchronize, reopened, ready_for_review]\n  schedule:\n    - cron: 0 2 * * *\n  # Allows runing this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  Run-Linters-and-Tests:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.7\n    - name: git-bash\n      uses: pkg-src/github-action-git-bash@v1.1\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        cd /tmp && git clone https://github.com/ARM-software/devlib.git && cd devlib && pip install .\n        cd $GITHUB_WORKSPACE && pip install .[test]\n        python -m pip install pylint==2.6.2 pep8 flake8 mock nose\n    - name: Run pylint\n      run: |\n        cd $GITHUB_WORKSPACE && ./dev_scripts/pylint wa/\n    - name: Run PEP8\n      run: |\n        cd $GITHUB_WORKSPACE && ./dev_scripts/pep8 wa\n    - name: Run nose tests\n      run: |\n        nosetests\n\n  Execute-Test-Workload-and-Process:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: git-bash\n      uses: pkg-src/github-action-git-bash@v1.1\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        cd /tmp && git clone https://github.com/ARM-software/devlib.git && cd devlib && pip install .\n        cd $GITHUB_WORKSPACE && pip install .\n    - name: Run test workload\n      run: |\n        cd /tmp && wa run $GITHUB_WORKSPACE/tests/ci/idle_agenda.yaml -v -d idle_workload\n    - name: Test Process Command\n      run: |\n        cd /tmp && wa process -f -p csv idle_workload\n\n  Test-WA-Commands:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: git-bash\n      uses: pkg-src/github-action-git-bash@v1.1\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        cd /tmp && git clone https://github.com/ARM-software/devlib.git && cd devlib && pip install .\n        cd $GITHUB_WORKSPACE && pip install .\n    - name: Test Show Command\n      run: |\n        wa show dhrystone && wa show generic_android && wa show trace-cmd && wa show csv\n    - name: Test List Command\n      run: |\n        wa list all\n    - name: Test Create Command\n      run: |\n        wa create agenda dhrystone generic_android csv trace_cmd && wa create package test && wa create workload test\n", "state": "active", "repository": "arm-software/workload-automation"}
{"mined_at": "2024-07-15T13:55:42.142191", "created_at": "2021-02-25T16:38:42+01:00", "updated_at": "2021-03-01T16:30:25+01:00", "name": ".github/workflows/qiita-ci.yml", "path": ".github/workflows/qiita-ci.yml", "contents": "# name: Qiita CI\n\non:\n  push:\n    branches: [ dev ]\n  pull_request:\n\njobs:\n  # derived from https://github.com/actions/example-services/blob/master/.github/workflows/postgres-service.yml\n  main:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        include:\n          - cover_package: \"qiita_db\"\n          - cover_package: \"qiita_pet qiita_core qiita_ware\"\n\n    services:\n      postgres:\n        # Docker Hub image\n        image: postgres:13.4\n        env:\n          POSTGRES_DB: postgres\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          COVER_PACKAGE: ${{ matrix.cover_package }}\n\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # based on https://github.com/actions/example-services/blob/master/.github/workflows/postgres-service.yml#L44-L72\n          - 5432/tcp\n\n    steps:\n      # Downloads a copy of the code in your repository before running CI tests\n      - name: Check out repository code\n        uses: actions/checkout@v2\n\n      - name: Setup for conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: '3.9'\n\n      - name: Basic dependencies install\n        env:\n          COVER_PACKAGE: ${{ matrix.cover_package }}\n        shell: bash -l {0}\n        run: |\n          echo \"Testing: \" $COVER_PACKAGE\n\n          # pull out the port so we can modify the configuration file easily\n          pgport=${{ job.services.postgres.ports[5432] }}\n          sed -i \"s/PORT = 5432/PORT = $pgport/\" qiita_core/support_files/config_test.cfg\n\n          # PGPASSWORD is read by pg_restore, which is called by the build_db process.\n          export PGPASSWORD=postgres\n\n          # Setting up main qiita conda environment\n          conda config --add channels conda-forge\n          conda deactivate\n          conda create --quiet --yes -n qiita python=3.9 pip libgfortran numpy nginx cython redis\n          conda env list\n          conda activate qiita\n          pip install -U pip\n          pip install sphinx sphinx-bootstrap-theme nose-timer Click coverage\n\n          # Configuring SSH\n          cp /etc/ssh/sshd_config sshd_config\n          echo \"RSAAuthentication yes\" > sshd_config\n          echo \"PubkeyAuthentication yes\" > sshd_config\n          echo \"StrictModes no\" > sshd_config\n          sudo mv sshd_config /etc/ssh/sshd_config\n          sudo systemctl restart ssh\n\n      - name: Webdis install\n        shell: bash -l {0}\n        run: |\n          sudo apt-get -y install libevent-dev\n          git clone https://github.com/nicolasff/webdis\n          cd webdis\n          make\n\n      - name: Main install\n        shell: bash -l {0}\n        run: |\n          conda activate qiita\n          export QIITA_ROOTCA_CERT=`pwd`/qiita_core/support_files/ci_rootca.crt\n          export QIITA_CONFIG_FP=`pwd`/qiita_core/support_files/config_test.cfg\n          export REDBIOM_HOST=\"http://localhost:7379\"\n\n          pip install . --no-binary redbiom\n          # 10.2022\n          # this is for redbiom / biom-format (so fine to delete in the future)\n          pip install future\n          pwd\n          mkdir ~/.qiita_plugins\n\n      - name: Install plugins\n        shell: bash -l {0}\n        run: |\n          wget https://data.qiime2.org/distro/core/qiime2-2022.11-py38-linux-conda.yml\n          conda env create --quiet -n qtp-biom --file qiime2-2022.11-py38-linux-conda.yml\n          rm qiime2-2022.11-py38-linux-conda.yml\n          export QIITA_ROOTCA_CERT=`pwd`/qiita_core/support_files/ci_rootca.crt\n          export QIITA_CONFIG_FP=`pwd`/qiita_core/support_files/config_test.cfg\n          export REDBIOM_HOST=\"http://localhost:7379\"\n          conda activate qtp-biom\n          pip install -U pip\n          pip install https://github.com/qiita-spots/qiita_client/archive/master.zip\n          pip install https://github.com/qiita-spots/qtp-biom/archive/master.zip\n\n          # if QIITA_ROOTCA_CERT is appended to certifi's cacert.pem file,\n          # then --server-cert does not need to be specified to any plugin,\n          # including configure_biom.\n          # echo `python -c \"import certifi;print(certifi.where())\"`\n          configure_biom --env-script \"source /home/runner/.profile; conda activate qtp-biom\" --server-cert $QIITA_ROOTCA_CERT\n\n      - name: Starting services\n        shell: bash -l {0}\n        run: |\n          conda activate qiita\n          export QIITA_ROOTCA_CERT=`pwd`/qiita_core/support_files/ci_rootca.crt\n          export QIITA_CONFIG_FP=`pwd`/qiita_core/support_files/config_test.cfg\n          export REDBIOM_HOST=\"http://localhost:7379\"\n\n          echo \"1. Setting up redis\"\n          redis-server --daemonize yes --port 7777\n          redis-server --daemonize yes --port 6379\n\n          echo \"2. Starting webdis\"\n          pushd webdis\n          ./webdis &\n          popd\n\n          echo \"3. Starting redbiom: \" $REDBIOM_HOST\n          curl -s http://localhost:7379/FLUSHALL > /dev/null\n          redbiom --version\n          redbiom admin scripts-writable\n          redbiom admin create-context --name \"qiita-test\" --description \"qiita-test context\"\n          redbiom admin load-sample-metadata --metadata `pwd`/qiita_db/support_files/test_data/templates/1_19700101-000000.txt\n          redbiom admin load-sample-metadata-search --metadata `pwd`/qiita_db/support_files/test_data/templates/1_19700101-000000.txt\n          redbiom admin load-sample-data --table `pwd`/qiita_db/support_files/test_data/processed_data/1_study_1001_closed_reference_otu_table.biom --context qiita-test --tag 4\n          redbiom admin load-sample-data --table `pwd`/qiita_db/support_files/test_data/processed_data/1_study_1001_closed_reference_otu_table-for_redbiom_tests.biom --context qiita-test --tag 5\n\n          echo \"4. Setting up nginx\"\n          mkdir -p /usr/share/miniconda/envs/qiita/var/run/nginx/\n          nginx -c ${PWD}/qiita_pet/nginx_example.conf\n\n          echo \"5. Setting up qiita\"\n          conda activate qiita\n          # adapt environment_script for private qiita plugins from travis to github actions.\n          sed 's#export PATH=\"/home/travis/miniconda3/bin:$PATH\"; source #source /home/runner/.profile; conda #' -i qiita_db/support_files/patches/54.sql\n          qiita-env make --no-load-ontologies\n          qiita-test-install\n          qiita plugins update\n\n          echo \"6. Starting supervisord => multiple qiita instances\"\n          supervisord -c ${PWD}/qiita_pet/supervisor_example.conf\n          sleep 10\n          cat /tmp/supervisord.log\n\n          echo \"7. Starting plugins\"\n          conda deactivate\n          conda activate qtp-biom\n          export QIITA_CLIENT_DEBUG_LEVEL=DEBUG\n          start_biom https://localhost:8383 register ignored\n          conda deactivate\n\n          echo \"8. Setting up SSH\"\n          ssh-keygen -t rsa -b 4096 -N '' -f $PWD/qiita_ware/test/test_data/test_key\n          mkdir ~/.ssh/\n          cp $PWD/qiita_ware/test/test_data/test_key* ~/.ssh/\n          cat ~/.ssh/test_key.pub > ~/.ssh/authorized_keys\n          chmod 600 $PWD/qiita_ware/test/test_data/test_key*\n          chmod 600 ~/.ssh/*\n          chmod 700 ~/.ssh/\n          echo \"Connecting as $USER@localhost\"\n          # this line (and the -o StrictHostKeyChecking=no) is so the server\n          # is added to the list of known servers\n          scp -o StrictHostKeyChecking=no -i $PWD/qiita_ware/test/test_data/test_key $USER@localhost:/home/runner/work/qiita/qiita/qiita_ware/test/test_data/random_key /home/runner/work/qiita/qiita/qiita_ware/test/test_data/random_key_copy_1\n\n      - name: Main tests\n        shell: bash -l {0}\n        env:\n          COVER_PACKAGE: ${{ matrix.cover_package }}\n        run: |\n          conda activate qiita\n          export QIITA_ROOTCA_CERT=`pwd`/qiita_core/support_files/ci_rootca.crt\n          export QIITA_CONFIG_FP=`pwd`/qiita_core/support_files/config_test.cfg\n          # for testing we only need to have this set, not actually exist\n          export QIITA_JOB_SCHEDULER_EPILOGUE=`/path/to/epilogue/file`\n          export REDBIOM_HOST=\"http://localhost:7379\"\n\n          nosetests $COVER_PACKAGE --with-doctest --with-coverage --with-timer -v --cover-package=${COVER_PACKAGE// / --cover-package=} -e 'test_submit_EBI_parse_EBI_reply_failure' -e 'test_full_submission'\n\n          # killing the qiita server to run the next commands\n          QIITA_PID=`cat /tmp/supervisord.pid`\n          kill $QIITA_PID\n          sleep 10\n          if [[ \"$COVER_PACKAGE\" != *\"qiita_db\"* ]]; then test_data_studies/commands.sh; all-qiita-cron-job; fi\n\n      - name: Submit coveralls\n        uses: AndreMiras/coveralls-python-action@develop\n        with:\n          github-token: ${{ secrets.github_token }}\n          flag-name: \"${{ matrix.cover_package }}\"\n          parallel: true\n\n  coveralls_finish:\n    needs: main\n    runs-on: ubuntu-latest\n    steps:\n    - name: Coveralls Finished\n      uses: AndreMiras/coveralls-python-action@develop\n      with:\n        github-token: ${{ secrets.github_token }}\n        parallel-finished: true\n\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - name: flake8\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n    - name: install dependencies\n      run: python -m pip install --upgrade pip\n    - name: Check out repository code\n      uses: actions/checkout@v2\n    - name: lint\n      run: |\n        pip install -q flake8\n        flake8 qiita_* setup.py scripts/qiita* notebooks/*/*.py\n", "state": "active", "repository": "qiita-spots/qiita"}
{"mined_at": "2024-07-15T13:55:43.153430", "created_at": "2024-03-25T15:55:43+01:00", "updated_at": "2024-03-25T15:55:43+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "qiita-spots/qiita"}
{"mined_at": "2024-07-15T13:55:45.111931", "created_at": "2022-05-04T10:15:49+02:00", "updated_at": "2022-07-19T10:23:48+02:00", "name": "Dependabot auto-approve and auto-merge", "path": ".github/workflows/auto-merge-dependabot.yml", "contents": "# Based on https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request\nname: Dependabot auto-approve and auto-merge\non: pull_request_target\n\npermissions:\n    pull-requests: write\n    contents: write\n\njobs:\n    autoapprove:\n      name: Auto Approve a PR by dependabot\n      runs-on: ubuntu-latest\n      steps:\n        - name: Auto approve\n          uses: hmarr/auto-approve-action@v4.0.0\n          if: github.actor == 'dependabot[bot]'\n          with:\n            github-token: ${{ secrets.GITHUB_TOKEN }}\n    dependabot:\n        runs-on: ubuntu-latest\n        if: ${{ github.actor == 'dependabot[bot]' }}\n        steps:\n            - name: Dependabot metadata\n              id: metadata\n              uses: dependabot/fetch-metadata@v2.1.0\n              with:\n                  github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n            - name: Enable auto-merge for Dependabot PRs\n              # Automatically merge semver-patch and semver-minor PRs\n              # or black dependency upgrades\n              if: \"${{ steps.metadata.outputs.update-type ==\n                  'version-update:semver-minor' ||\n                  steps.metadata.outputs.update-type ==\n                  'version-update:semver-patch' ||\n                  steps.metadata.outputs.dependency-names ==\n                  'black' }}\"\n\n              # https://cli.github.com/manual/gh_pr_merge\n              run: gh pr merge --auto --squash \"$PR_URL\"\n              env:\n                  PR_URL: ${{github.event.pull_request.html_url}}\n                  GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "collerek/ormar"}
{"mined_at": "2024-07-15T13:55:46.097032", "created_at": "2024-02-08T10:36:07+01:00", "updated_at": "2024-02-08T10:57:19+01:00", "name": "codspeed-benchmarks", "path": ".github/workflows/benchmark.yml", "contents": "name: codspeed-benchmarks\n\non:\n  push:\n    branches: [ master, pydantic_v2 ]\n  pull_request:\n    branches: [ master, pydantic_v2 ]\n  # `workflow_dispatch` allows CodSpeed to trigger backtest\n  # performance analysis in order to generate initial data.\n  workflow_dispatch:\n\njobs:\n  benchmarks:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.3\n        with:\n          version: 1.4.2\n          virtualenvs-create: false\n\n      - name: Poetry details\n        run: |\n          poetry --version\n          poetry config --list\n\n      - name: Install dependencies\n        run: poetry install --extras \"all\"\n\n      - name: Run benchmarks\n        uses: CodSpeedHQ/action@v2\n        with:\n          token: ${{ secrets.CODSPEED_TOKEN }}\n          run: poetry run pytest benchmarks/ --codspeed", "state": "active", "repository": "collerek/ormar"}
{"mined_at": "2024-07-15T13:55:47.195665", "created_at": "2020-11-04T06:00:28+01:00", "updated_at": "2020-11-04T06:00:28+01:00", "name": "Build Documentation using MkDocs", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Build Documentation using MkDocs\non:\n  push:\n    # Pattern matched against refs/tags\n    tags:\n      - '**'\njobs:\n  build:\n    name: Build and Deploy Documentation\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Master\n        uses: actions/checkout@v4\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n      - name: Install dependencies\n        run: |\n          python -m pip install poetry==1.4.1\n          poetry install --extras \"all\"\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n      - name: Set env\n        run: echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n      - name: Test\n        run: |\n          echo $RELEASE_VERSION\n          echo ${{ env.RELEASE_VERSION }}\n      - name: Deploy\n        run: |\n          mike deploy --push --update-aliases ${{ env.RELEASE_VERSION }} latest\n", "state": "active", "repository": "collerek/ormar"}
{"mined_at": "2024-07-15T13:55:48.196745", "created_at": "2024-01-25T15:05:17+01:00", "updated_at": "2024-03-23T19:28:30+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: lint\n\non:\n  push:\n    branches-ignore:\n      - 'gh-pages'\n  pull_request:\n    branches: [ master, pydantic_v2 ]\n\njobs:\n  lint:\n    name: \"Python ${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'collerek/ormar'\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n\n    - name: Install Poetry\n      uses: snok/install-poetry@v1.3.3\n      with:\n        version: 1.4.2\n        virtualenvs-create: false\n\n    - name: Poetry details\n      run: |\n        poetry --version\n        poetry config --list\n\n    - name: Install dependencies\n      run: poetry install --extras \"all\" --no-root\n\n    - name: Format\n      run: make fmt\n\n    - name: Lint\n      run: make lint\n", "state": "active", "repository": "collerek/ormar"}
{"mined_at": "2024-07-15T13:55:49.226843", "created_at": "2020-09-25T11:00:37+02:00", "updated_at": "2020-09-25T11:00:37+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n\n    - name: Install Poetry\n      uses: snok/install-poetry@v1.3\n      with:\n        version: 1.4.1\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n\n    - name: Build and publish\n      run: |\n        poetry build -vvv\n        poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "collerek/ormar"}
{"mined_at": "2024-07-15T13:55:50.261011", "created_at": "2020-11-20T11:37:16+01:00", "updated_at": "2024-03-23T19:14:58+01:00", "name": "test", "path": ".github/workflows/test-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: test\n\non:\n  push:\n    branches-ignore:\n      - 'gh-pages'\n  pull_request:\n    branches: [ master, pydantic_v2 ]\n\njobs:\n  tests:\n    name: \"Python ${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'collerek/ormar'\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", 3.11]\n      fail-fast: false\n    services:\n      mysql:\n        image: mysql:5.7\n        env:\n          MYSQL_USER: username\n          MYSQL_PASSWORD: password\n          MYSQL_ROOT_PASSWORD: password\n          MYSQL_DATABASE: testsuite\n        ports:\n          - 3306:3306\n        options: --health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=3\n\n      postgres:\n        image: postgres:10.8\n        env:\n          POSTGRES_USER: username\n          POSTGRES_PASSWORD: password\n          POSTGRES_DB: testsuite\n        ports:\n          - 5432:5432\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 --name postgres\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        submodules: false\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Poetry\n      uses: snok/install-poetry@v1.3.3\n      with:\n        version: 1.4.2\n        virtualenvs-create: false\n\n    - name: Poetry details\n      run: |\n        poetry --version\n        poetry config --list\n\n    - name: Install dependencies\n      run: poetry install --extras \"all\"\n\n    - name: Run mysql\n      env:\n        DATABASE_URL: \"mysql://username:password@127.0.0.1:3306/testsuite\"\n      run: bash scripts/test.sh\n\n    - name: Install postgresql-client\n      run: |\n        sudo apt-get update\n        sudo apt-get install --yes postgresql-client\n\n    - name: Connect to PostgreSQL with CLI\n      run: env PGPASSWORD=password psql -h localhost -U username -c 'SELECT VERSION();' testsuite\n\n    - name: Show max connections\n      run: env PGPASSWORD=password psql -h localhost -U username -c 'SHOW max_connections;' testsuite\n\n    - name: Alter max connections\n      run: |\n        \n        docker exec -i postgres bash << EOF\n          sed -i -e 's/max_connections = 100/max_connections = 1000/' /var/lib/postgresql/data/postgresql.conf\n          sed -i -e 's/shared_buffers = 128MB/shared_buffers = 512MB/' /var/lib/postgresql/data/postgresql.conf\n        EOF\n        docker restart --time 0 postgres\n        sleep 5\n\n    - name: Show max connections\n      run: env PGPASSWORD=password psql -h localhost -U username -c 'SHOW max_connections;' testsuite\n\n    - name: Run postgres\n      env:\n        DATABASE_URL: \"postgresql://username:password@localhost:5432/testsuite\"\n      run: bash scripts/test.sh\n\n    - name: Run sqlite\n      env:\n        DATABASE_URL: \"sqlite:///testsuite\"\n      run: bash scripts/test.sh\n\n    - name: Upload coverage\n      uses: codecov/codecov-action@v4.5.0\n      with:\n        name: codecov-umbrella\n        token: ${{ secrets.CODCOV_TOKEN }}\n        verbose: true\n\n    - name: Test & publish code coverage\n      uses: paambaati/codeclimate-action@v6.0.0\n      if: github.event.pull_request.head.repo.full_name == 'collerek/ormar'\n      env:\n        CC_TEST_REPORTER_ID:  ${{ secrets.CC_COVERAGE_TOKEN }}\n", "state": "active", "repository": "collerek/ormar"}
{"mined_at": "2024-07-15T13:55:51.244063", "created_at": "2024-01-26T18:47:59+01:00", "updated_at": "2024-03-23T19:28:30+01:00", "name": "test_docs", "path": ".github/workflows/test_docs.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: test_docs\n\non:\n  push:\n    branches-ignore:\n      - 'gh-pages'\n  pull_request:\n    branches: [ master, pydantic_v2 ]\n\njobs:\n  tests_docs:\n    name: \"Python ${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'collerek/ormar'\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n    - name: Install dependencies\n      run: |\n        python -m pip install poetry==1.4.2\n        poetry install --extras \"all\"\n      env:\n        POETRY_VIRTUALENVS_CREATE: false\n    - name: Test docs\n      run: bash scripts/test_docs.sh\n", "state": "active", "repository": "collerek/ormar"}
{"mined_at": "2024-07-15T13:55:52.231958", "created_at": "2024-01-25T15:05:17+01:00", "updated_at": "2024-03-23T19:28:30+01:00", "name": "type_check", "path": ".github/workflows/type-check.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: type_check\n\non:\n  push:\n    branches-ignore:\n      - 'gh-pages'\n  pull_request:\n    branches: [ master, pydantic_v2 ]\n\njobs:\n  lint:\n    name: \"Python ${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'collerek/ormar'\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n\n    - name: Install Poetry\n      uses: snok/install-poetry@v1.3.3\n      with:\n        version: 1.4.2\n        virtualenvs-create: false\n\n    - name: Poetry details\n      run: |\n        poetry --version\n        poetry config --list\n\n    - name: Install dependencies\n      run: poetry install --extras \"all\" --no-root\n\n    - name: Type check\n      run: make type_check\n", "state": "active", "repository": "collerek/ormar"}
{"mined_at": "2024-07-15T13:55:53.212144", "created_at": "2021-12-20T16:20:08+01:00", "updated_at": "2021-12-20T16:20:08+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "collerek/ormar"}
{"mined_at": "2024-07-15T13:55:55.280650", "created_at": "2023-06-14T22:22:01+02:00", "updated_at": "2023-06-14T22:22:01+02:00", "name": "Add Issues to xclim Project", "path": ".github/workflows/add-to-project.yml", "contents": "name: Add Issues to xclim Project\n\non:\n  issues:\n    types:\n      - opened\n\npermissions:\n  contents: read\n\njobs:\n  add-to-project:\n    name: Add Issue to xclim Project\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      repository-projects: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n\n      - uses: actions/add-to-project@9bfe908f2eaa7ba10340b31e314148fcfe6a2458 # v1.0.1\n        with:\n          project-url: https://github.com/orgs/Ouranosinc/projects/6\n          github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }}\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:55:56.293252", "created_at": "2022-06-17T23:07:54+02:00", "updated_at": "2022-06-17T23:07:54+02:00", "name": "Bump Patch Version", "path": ".github/workflows/bump-version.yml", "contents": "name: Bump Patch Version\n\non:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - .*\n      - .github/*/*.md\n      - .github/*/*.yml\n      - CHANGES.rst\n      - Makefile\n      - docs/*/*.ipynb\n      - docs/*/*.py\n      - docs/*/*.rst\n      - docs/Makefile\n      - docs/make.bat\n      - docs/references.bib\n      - environment.yml\n      - pylintrc\n      - pyproject.toml\n      - requirements_upstream.txt\n      - tox.ini\n      - xclim/__init__.py\n\npermissions:\n  contents: read\n\njobs:\n  bump_patch_version:\n    name: Bumpversion Patch\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            files.pythonhosted.org:443\n            github.com:443\n            pypi.org:443\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          persist-credentials: false\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.x\"\n      - name: Config Commit Bot\n        run: |\n          git config --local user.email \"bumpversion[bot]@ouranos.ca\"\n          git config --local user.name \"bumpversion[bot]\"\n      - name: Current Version\n        run: |\n          CURRENT_VERSION=\"$(grep -E '__version__'  xclim/__init__.py | cut -d ' ' -f3)\"\n          echo \"current_version=${CURRENT_VERSION}\"\n          echo \"CURRENT_VERSION=${CURRENT_VERSION}\" >> $GITHUB_ENV\n      - name: Install bump-my-version\n        run: |\n          python -m pip install bump-my-version==0.21.0\n      - name: Conditional Bump\n        id: bump\n        run: |\n          if [[ ${{ env.CURRENT_VERSION }} =~ -dev(\\.\\d+)? ]]; then\n            echo \"Development version (ends in 'dev(\\.\\d+)?'), bumping 'build' version\"\n            bump-my-version bump build\n          else\n            echo \"Version is stable, bumping 'patch' version\"\n            bump-my-version bump patch\n          fi\n          NEW_VERSION=\"$(grep -E '__version__'  xclim/__init__.py | cut -d ' ' -f3)\"\n          echo \"new_version=${NEW_VERSION}\"\n          echo \"NEW_VERSION=${NEW_VERSION}\" >> $GITHUB_ENV\n      - name: Push Changes\n        uses: ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df\n        with:\n          force: false\n          github_token: ${{ secrets.BUMP_VERSION_TOKEN }}\n          branch: ${{ github.ref }}\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:55:57.309055", "created_at": "2023-08-31T22:57:20+02:00", "updated_at": "2023-08-31T22:57:20+02:00", "name": "Cleanup Caches on PR Merge", "path": ".github/workflows/cache-cleaner.yml", "contents": "# Example taken from https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#managing-caches\nname: Cleanup Caches on PR Merge\non:\n  pull_request:\n    types:\n      - closed\n\npermissions:\n  contents: read\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n            github.com:443\n            objects.githubusercontent.com:443\n\n      - name: Check out code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: Cleanup\n        run: |\n          gh extension install actions/gh-actions-cache\n\n          REPO=${{ github.repository }}\n          BRANCH=\"refs/pull/${{ github.event.pull_request.number }}/merge\"\n\n          echo \"Fetching list of cache key\"\n          cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH -L 100 | cut -f 1 )\n\n          ## Setting this to not fail the workflow while deleting cache keys.\n          set +e\n          echo \"Deleting caches...\"\n          for cacheKey in $cacheKeysForPR\n          do\n              gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm\n          done\n          echo \"Done\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:55:58.399081", "created_at": "2024-06-25T23:57:51+02:00", "updated_at": "2024-06-25T23:57:51+02:00", "name": "CodeQL Scan", "path": ".github/workflows/codeql.yml", "contents": null, "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:55:59.486051", "created_at": "2023-01-31T21:02:22+01:00", "updated_at": "2023-02-01T22:53:20+01:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: 'Dependency Review'\non:\n  pull_request:\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.deps.dev:443\n            api.github.com:443\n            github.com:443\n\n      - name: 'Checkout Repository'\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@72eb03d02c7872a771aacd928f3123ac62ad6d3a # v4.3.3\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:00.602009", "created_at": "2023-01-16T17:09:17+01:00", "updated_at": "2023-01-16T19:40:39+01:00", "name": "Draft compile JOSS paper", "path": ".github/workflows/draft-pdf.yml", "contents": null, "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:01.740367", "created_at": "2024-01-22T16:16:24+01:00", "updated_at": "2024-01-22T16:16:24+01:00", "name": "First Pull Request", "path": ".github/workflows/first-pull-request.yml", "contents": "name: First Pull Request\n\non:\n  pull_request_target:\n    types:\n      - opened\n\npermissions:\n  contents: read\n\njobs:\n  welcome:\n    name: Welcome\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n\n      - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        with:\n          script: |\n            // Get a list of all issues created by the PR opener\n            // See: https://octokit.github.io/rest.js/#pagination\n            const creator = context.payload.sender.login\n            const opts = github.rest.issues.listForRepo.endpoint.merge({\n              ...context.issue,\n              creator,\n              state: 'all'\n            })\n            const issues = await github.paginate(opts)\n\n            for (const issue of issues) {\n              if (issue.number === context.issue.number) {\n                continue\n              }\n\n              if (issue.pull_request) {\n                return // Creator is already a contributor.\n              }\n            }\n\n            await github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: `**Welcome**, new contributor!\n\n              It appears that this is your first Pull Request. To give credit where it's due, we ask that you add your information to the \\`AUTHORS.rst\\` and \\`.zenodo.json\\`:\n               - [ ] The relevant author information has been added to \\`AUTHORS.rst\\` and \\`.zenodo.json\\`\n\n              Please make sure you've read our [contributing guide](CONTRIBUTING.rst). We look forward to reviewing your Pull Request shortly ✨`\n            })\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:02.762996", "created_at": "2024-01-19T19:24:40+01:00", "updated_at": "2024-01-22T16:16:24+01:00", "name": "Label Pull Request on Pull Request review approval", "path": ".github/workflows/label-on-approval.yml", "contents": "name: Label Pull Request on Pull Request review approval\n\non:\n  pull_request_review:\n    types:\n      - submitted\n  pull_request_target:\n    types:\n      - ready_for_review\n      - review_requested\n\npermissions:\n  contents: read\n\njobs:\n  label_approved:\n    name: Label on Approval\n    runs-on: ubuntu-latest\n    if: |\n      (!contains(github.event.pull_request.labels.*.name, 'approved')) &&\n      (github.event.review.state == 'approved') &&\n      (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)\n    permissions:\n      checks: write\n      contents: read\n      pull-requests: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n\n      - name: Label Approved\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        with:\n          script: |\n            github.rest.issues.addLabels({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              labels: ['approved']\n            })\n\n  comment_approved:\n    name: Comment Concerning Approved Tag\n    runs-on: ubuntu-latest\n    if: |\n      (github.event_name == 'pull_request_target') &&\n      (github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name)\n    permissions:\n      checks: write\n      contents: read\n      pull-requests: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n      - name: Find comment\n        uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3.1.0\n        id: fc\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-author: 'github-actions[bot]'\n          body-includes: This Pull Request is coming from a fork and must be manually tagged `approved` in order to perform additional testing.\n      - name: Create comment\n        if: |\n          (steps.fc.outputs.comment-id == '') &&\n          (!contains(github.event.pull_request.labels.*.name, 'approved')) &&\n          (github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name)\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0\n        with:\n          comment-id: ${{ steps.fc.outputs.comment-id }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            > **Warning**\n            > This Pull Request is coming from a fork and must be manually tagged `approved` in order to perform additional testing.\n          edit-mode: replace\n      - name: Update comment\n        if: |\n          contains(github.event.pull_request.labels.*.name, 'approved')\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0\n        with:\n          comment-id: ${{ steps.fc.outputs.comment-id }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            > **Note**\n            > This Pull Request is approved!\n          reactions: |\n            hooray\n          edit-mode: append\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:03.881162", "created_at": "2022-10-27T19:35:35+02:00", "updated_at": "2022-10-31T18:14:53+01:00", "name": "Labeler", "path": ".github/workflows/label.yml", "contents": "# This workflow will triage pull requests and apply a label based on the\n# paths that are modified in the pull request.\n#\n# To use this workflow, you will need to set up a .github/labeler.yml\n# file with configuration.  For more information, see:\n# https://github.com/actions/labeler/blob/master/README.md\n\nname: Labeler\non:\n  # Note: potential security risk from this action using pull_request_target.\n  # Do not add actions in here which need a checkout of the repo, and do not use any caching in here.\n  # See: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - synchronize\n\npermissions:\n  contents: read\n\njobs:\n  label:\n    name: Label\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      contents: read\n      pull-requests: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n\n      - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:05.013525", "created_at": "2021-02-15T15:54:23+01:00", "updated_at": "2023-03-20T19:24:14+01:00", "name": "xclim Testing Suite", "path": ".github/workflows/main.yml", "contents": "name: xclim Testing Suite\n\non:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - CHANGES.rst\n      - README.rst\n      - pyproject.toml\n      - xclim/__init__.py\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n  pull_request_review:\n    types:\n      - submitted\n\nenv:\n  XCLIM_TESTDATA_BRANCH: v2023.12.14\n\nconcurrency:\n  # For a given workflow, if we push to the same branch, cancel all previous builds on that branch except on main.\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\npermissions:\n  contents: read\n  pull-requests: read\n\njobs:\n  lint:\n    name: Black (Python${{ matrix.python-version }})\n    runs-on: ubuntu-latest\n    if: |\n      ((github.event_name == 'pull_request') && (github.event.action != 'labeled')) ||\n      (github.event.review.state == 'approved') ||\n      (github.event_name == 'push')\n    strategy:\n      matrix:\n        python-version:\n          - \"3.9\"\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            files.pythonhosted.org:443\n            github.com:443\n            pypi.org:443\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Set up Python${{ matrix.python-version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install pip, pylint, and tox\n        run: |\n          python -m pip install flit==3.9 pip==24.0 pylint==3.1 tox==4.15\n      - name: Run pylint\n        run: |\n          python -m pylint --rcfile=.pylintrc.toml --disable=import-error --exit-zero xclim\n      - name: Run linting suite\n        run: |\n          python -m tox -e lint\n\n  test-py39:\n    name: test-${{ matrix.tox-env }} (Python${{ matrix.python-version }})\n    needs: lint\n    if: |\n      (github.event_name == 'pull_request') && !contains(github.event.pull_request.labels.*.name, 'approved')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - tox-env: \"py39\"  # \"py39-coverage\"\n            python-version: \"3.9\"\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n            dap.service.does.not.exist:443\n            files.pythonhosted.org:443\n            github.com:443\n            pypi.org:443\n            raw.githubusercontent.com:443\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Set up Python${{ matrix.python-version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install tox\n        run: |\n          python -m pip install flit==3.9 pip==24.0 tox==4.15\n      - name: Test with tox\n        run: |\n          python -m tox -e ${{ matrix.tox-env }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n#          COVERALLS_FLAG_NAME: run-{{ matrix.tox-env }}\n#          COVERALLS_SERVICE_NAME: github\n\n  test-pypi:\n    needs: lint\n    name: ${{ matrix.tox-env }} (Python${{ matrix.python-version }}, ${{ matrix.os }})\n    if: |\n      contains(github.event.pull_request.labels.*.name, 'approved') ||\n      (github.event.review.state == 'approved') ||\n      (github.event_name == 'push')\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          # Windows builds\n          - tox-env: py39-coverage-prefetch\n            python-version: \"3.9\"\n            markers: -m 'not slow'\n            os: windows-latest\n          # macOS builds\n          - tox-env: py310-coverage-lmoments-doctest\n            python-version: \"3.10\"\n            markers: -m 'not slow'\n            os: macos-latest\n          # Linux builds\n          - tox-env: py39-coverage-sbck-doctest\n            python-version: \"3.9\"\n            markers: -m 'not slow'\n            os: ubuntu-latest\n          - tox-env: py310-coverage-lmoments  # No markers -- includes slow tests\n            python-version: \"3.10\"\n            os: ubuntu-latest\n          - tox-env: py311-coverage-sbck\n            python-version: \"3.11\"\n            markers: -m 'not slow'\n            os: ubuntu-latest\n          - tox-env: py312-coverage-lmoments-doctest\n            python-version: \"3.12\"\n            markers: -m 'not slow'\n            os: ubuntu-latest\n          - tox-env: notebooks\n            python-version: \"3.10\"\n            os: ubuntu-latest\n          - tox-env: offline-prefetch\n            python-version: \"3.11\"\n            markers: -m 'not slow and not requires_internet'\n            os: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n            azure.archive.ubuntu.com:80\n            coveralls.io:443\n            dap.service.does.not.exist:443\n            esm.ubuntu.com:443\n            files.pythonhosted.org:443\n            github.com:443\n            motd.ubuntu.com:443\n            packages.microsoft.com:443\n            ppa.launchpadcontent.net:443\n            pypi.org:443\n            raw.githubusercontent.com:443\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Install Eigen3\n        if: contains(matrix.tox-env, 'sbck')\n        run: |\n          sudo apt-get update\n          sudo apt-get install libeigen3-dev\n      - name: Set up Python${{ matrix.python-version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install tox\n        run: |\n          python -m pip install flit==3.9 pip==24.0 tox==4.15 tox-gh==1.3.1\n      - name: Test with tox\n        run: |\n          python -m tox -e ${{ matrix.tox-env }} -- ${{ matrix.markers }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: run-{{ matrix.tox-env }}-{{ matrix.os }}\n          COVERALLS_PARALLEL: true\n          COVERALLS_SERVICE_NAME: github\n\n  test-conda:\n    needs: lint\n    name: Python${{ matrix.python-version }} (Conda, ${{ matrix.os }})\n    if: |\n      contains(github.event.pull_request.labels.*.name, 'approved') ||\n      (github.event.review.state == 'approved') ||\n      (github.event_name == 'push')\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.9\", \"3.12\"]\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n            conda.anaconda.org:443\n            coveralls.io:443\n            dap.service.does.not.exist:443\n            files.pythonhosted.org:443\n            github.com:443\n            objects.githubusercontent.com:443\n            pypi.org:443\n            raw.githubusercontent.com:443\n            repo.anaconda.com:443\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Setup Conda (Micromamba) with Python${{ matrix.python-version }}\n        uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1.9.0\n        with:\n          cache-downloads: true\n          cache-environment: true\n          environment-file: environment.yml\n          create-args: >-\n            conda\n            python=${{ matrix.python-version }}\n      - name: Conda and Mamba versions\n        run: |\n          conda --version\n          echo \"micromamba: $(micromamba --version)\"\n      - name: Install xclim\n        run: |\n          python -m pip install --no-user --editable .\n      - name: Check versions\n        run: |\n          conda list\n          xclim show_version_info\n          python -m pip check || true\n      - name: Test with pytest\n        run: |\n          python -m pytest --numprocesses=logical --durations=10 --cov=xclim --cov-report=term-missing\n#      - name: Install tox\n#        shell: bash -l {0}\n#        run: |\n#          mamba install -n xclim39 tox tox-conda\n#      - name: Test\n#        shell: bash -l {0}\n#        run: |\n#          conda activate xclim39\n#          tox -e opt-slow\n#        env:\n#          CONDA_EXE: mamba\n#          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Report coverage\n        run: |\n          pip install --upgrade coveralls\n          coveralls\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: run-{{ matrix.tox-env }}-opt-slow\n          COVERALLS_PARALLEL: true\n          COVERALLS_SERVICE_NAME: github\n\n  finish:\n    needs:\n      - test-pypi\n      - test-conda\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n      - name: Coveralls Finished\n        run: |\n          python -m pip install --upgrade coveralls==4.0\n          python -m coveralls --finish\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_SERVICE_NAME: github\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:06.019809", "created_at": "2023-08-31T22:57:20+02:00", "updated_at": "2023-08-31T22:57:20+02:00", "name": "Publish Release Announcement to Mastodon", "path": ".github/workflows/publish-mastodon.yml", "contents": "name: Publish Release Announcement to Mastodon\n\non:\n  release:\n    types:\n      - published\n  workflow_dispatch:\n    inputs:\n      version-tag:\n        description: 'Version to announce'\n        required: true\n        type: string\n      dry-run:\n        description: 'Dry run'\n        default: true\n        type: boolean\n\npermissions:\n  contents: read\n\njobs:\n  toot:\n    name: Generate Mastodon Toot\n    runs-on: ubuntu-latest\n    environment: production\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n            fosstodon.org:443\n            github.com:443\n\n      - name: Checkout\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: Current Version\n        if: ${{ !github.event.inputs.version-tag }}\n        run: |\n          CURRENT_VERSION=\"$(grep -E '__version__'  xclim/__init__.py | cut -d ' ' -f3)\"\n          echo \"version=v${CURRENT_VERSION}\" >> $GITHUB_ENV\n      - name: Set Version from Input\n        if: ${{ github.event.inputs.version-tag }}\n        run: |\n          echo \"version=${{ github.event.inputs.version-tag }}\" >> $GITHUB_ENV\n\n      - name: Get Release Description\n        if: ${{ !endsWith(env.current_version, '-dev') }}\n        id: get_release_description\n        run: |\n          # Fetch the release information using the GitHub API\n          RELEASE_INFO=$(curl -sH \"Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}\" \\\n            \"https://api.github.com/repos/${{ github.repository }}/releases/tags/${{ env.version }}\")\n\n          # Extract the release description from the response\n          RELEASE_DESCRIPTION=$(echo \"$RELEASE_INFO\" | jq -r .body)\n\n          # Remove Markdown links and the space preceding them\n          CLEANED_DESCRIPTION=$(echo \"$RELEASE_DESCRIPTION\" | sed -E 's/\\ \\(\\[[^]]+\\]\\([^)]+\\)\\)//g')\n\n          # Extract the first line of the release description\n          CONTRIBUTORS=$(echo \"$CLEANED_DESCRIPTION\" | head -n 1)\n\n          echo \"contributors=${CONTRIBUTORS}\" >> $GITHUB_ENV\n\n      - name: Prepare Message\n        id: render_template\n        uses: chuhlomin/render-template@807354a04d9300c9c2ac177c0aa41556c92b3f75 # v1.10\n        with:\n          template: .github/publish-mastodon.template.md\n          vars: |\n            version: ${{ env.version }}\n\n      - name: Message Preview\n        run: |\n          echo \"${{ steps.render_template.outputs.result }}${{ env.contributors }}\"\n\n      - name: Send toot to Mastodon\n        if: ${{ github.event.inputs.dry-run != 'true' }} || ${{ github.event_name == 'release' }}\n        uses: cbrgm/mastodon-github-action@b02016b6090558f6787e0adee133218dd078f629 # v2.1.3\n        with:\n          url: ${{ secrets.MASTODON_URL }}\n          access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}\n          message: \"${{ steps.render_template.outputs.result }}${{ env.contributors }}\"\n          language: \"en\"\n          visibility: \"public\"\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:07.267245", "created_at": "2021-10-14T18:45:01+02:00", "updated_at": "2023-05-09T21:46:15+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI", "path": ".github/workflows/publish-pypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI\n\non:\n  release:\n    types:\n      - published\n\npermissions:\n  contents: read\n\njobs:\n  build-n-publish-pypi:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    environment: production\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            files.pythonhosted.org:443\n            github.com:443\n            pypi.org:443\n            upload.pypi.org:443\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Set up Python3\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.x\"\n      - name: Install packaging libraries\n        run: |\n          python -m pip install flit==3.9.0\n      - name: Build a binary wheel and a source tarball\n        run: |\n          python -m flit build\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:08.396618", "created_at": "2024-01-16T16:11:59+01:00", "updated_at": "2024-01-16T16:11:59+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '41 8 * * 4'\n  push:\n    branches:\n      - main\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: \"Checkout code\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          repo_token: ${{ secrets.OPENSSF_SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118  # 3.23.0\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:09.392958", "created_at": "2021-10-14T18:45:01+02:00", "updated_at": "2023-05-09T21:29:01+02:00", "name": "Publish Python 🐍 distributions 📦 to TestPyPI", "path": ".github/workflows/tag-testpypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to TestPyPI\n\non:\n  push:\n    tags:\n      - 'v*'\n\npermissions:\n  contents: read\n\njobs:\n  build-n-publish-testpypi:\n    name: Build and publish Python 🐍 distributions 📦 to TestPyPI\n    environment: staging\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            files.pythonhosted.org:443\n            github.com:443\n            pypi.org:443\n            test.pypi.org:443\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Set up Python3\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.x\"\n      - name: Install packaging libraries\n        run: |\n          python -m pip install flit==3.9.0\n      - name: Build a binary wheel and a source tarball\n        run: |\n          python -m flit build\n      - name: Publish distribution 📦 to Test PyPI\n        uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:10.547689", "created_at": "2024-01-19T18:35:09+01:00", "updated_at": "2024-01-22T16:16:24+01:00", "name": "Verify Testing Data", "path": ".github/workflows/testdata-version.yml", "contents": "name: Verify Testing Data\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n    paths:\n      - .github/workflows/main.yml\n\npermissions:\n  contents: read\n\njobs:\n  use-latest-tag:\n    name: Check Latest xclim-testdata Tag\n    runs-on: ubuntu-latest\n    if: |\n     (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)\n    permissions:\n      contents: read\n      pull-requests: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n            github.com:443\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Find xclim-testdata Tag and CI Testing Branch\n        run: |\n          XCLIM_TESTDATA_TAG=\"$( \\\n          git -c 'versionsort.suffix=-' \\\n          ls-remote --exit-code --refs --sort='version:refname' --tags https://github.com/Ouranosinc/xclim-testdata '*.*.*' \\\n          | tail --lines=1 \\\n          | cut --delimiter='/' --fields=3)\"\n          echo \"XCLIM_TESTDATA_TAG=${XCLIM_TESTDATA_TAG}\" >> $GITHUB_ENV\n          XCLIM_TESTDATA_BRANCH=\"$(grep -E \"XCLIM_TESTDATA_BRANCH\" .github/workflows/main.yml | cut -d ' ' -f4)\"\n          echo \"XCLIM_TESTDATA_BRANCH=${XCLIM_TESTDATA_BRANCH}\" >> $GITHUB_ENV\n      - name: Report Versions Found\n        run: |\n          echo \"Latest xclim-testdata tag: ${{ env.XCLIM_TESTDATA_TAG }}\"\n          echo \"Tag for xclim-testdata in CI: ${{ env.XCLIM_TESTDATA_BRANCH }}\"\n      - name: Find Comment\n        uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3.1.0\n        id: fc\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-author: 'github-actions[bot]'\n          body-includes: It appears that this Pull Request modifies the `main.yml` workflow.\n      - name: Compare Versions\n        if: ${{( env.XCLIM_TESTDATA_TAG != env.XCLIM_TESTDATA_BRANCH )}}\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        with:\n          script: |\n            core.setFailed('Configured `xclim-testdata` tag is not `latest`.')\n      - name: Update Failure Comment\n        if: ${{ failure() }}\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0\n        with:\n          comment-id: ${{ steps.fc.outputs.comment-id }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            > **Warning**\n            > It appears that this Pull Request modifies the `main.yml` workflow.\n\n            On inspection, it seems that the `XCLIM_TESTDATA_BRANCH` environment variable is set to a tag that is not the latest in the `Ouranosinc/xclim-testdata` repository.\n\n            This value must match the most recent tag (`${{ env.XCLIM_TESTDATA_TAG }}`) in order to merge this Pull Request.\n\n            If this PR depends on changes in a new testing dataset branch, be sure to tag a new version of `Ouranosinc/xclim-testdata` once your changes have been merged to its `main` branch.\n          edit-mode: replace\n      - name: Update Success Comment\n        if: ${{ success() }}\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0\n        with:\n          comment-id: ${{ steps.fc.outputs.comment-id }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            > **Note**\n            > It appears that this Pull Request modifies the `main.yml` workflow.\n\n            On inspection, the `XCLIM_TESTDATA_BRANCH` environment variable is set to the most recent tag (`${{ env.XCLIM_TESTDATA_TAG }}`).\n\n            No further action is required.\n          edit-mode: replace\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:11.615147", "created_at": "2023-03-20T18:47:43+01:00", "updated_at": "2023-03-30T22:08:24+02:00", "name": "Test Upstream Dependencies", "path": ".github/workflows/upstream.yml", "contents": "name: Test Upstream Dependencies\non:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - CHANGES.rst\n      - README.rst\n      - pyproject.toml\n      - xclim/__init__.py\n  schedule:\n    - cron: \"0 0 * * *\" # Daily “At 00:00” UTC\n  workflow_dispatch: # allows you to trigger the workflow run manually\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  upstream-dev:\n    name: test-upstream-dev (Python${{ matrix.python-version }})\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      issues: write\n    if: |\n      (github.event_name == 'schedule') ||\n      (github.event_name == 'workflow_dispatch') ||\n      (github.event_name == 'push')\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.10\"\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n            conda.anaconda.org:443\n            dap.service.does.not.exist:443\n            files.pythonhosted.org:443\n            github.com:443\n            objects.githubusercontent.com:443\n            pypi.org:443\n            raw.githubusercontent.com:443\n            repo.anaconda.com:443\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n      - name: Setup Conda (Micromamba) with Python${{ matrix.python-version }}\n        uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1.9.0\n        with:\n          cache-downloads: true\n          cache-environment: true\n          environment-file: environment.yml\n          create-args: >-\n            conda\n            eigen\n            pybind11\n            python=${{ matrix.python-version }}\n            pytest-reportlog\n      - name: Conda and Mamba versions\n        run: |\n          conda --version\n          echo \"micromamba: $(micromamba --version)\"\n      - name: Install upstream versions and SBCK\n        run: |\n          python -m pip install -r requirements_upstream.txt\n          python -m pip install \"sbck @ git+https://github.com/yrobink/SBCK-python.git@master\"\n      - name: Install xclim\n        run: |\n          python -m pip install --no-user --no-deps --editable .\n      - name: Check versions\n        run: |\n          conda list\n          xclim show_version_info\n          python -m pip check || true\n      - name: Run Tests\n        if: success()\n        id: status\n        run: |\n          python -m pytest --numprocesses=logical --durations=10 --cov=xclim --cov-report=term-missing --report-log output-${{ matrix.python-version }}-log.jsonl\n      - name: Generate and publish the report\n        if: |\n          failure()\n          && steps.status.outcome == 'failure'\n          && github.event_name == 'schedule'\n          && github.repository_owner == 'Ouranosinc'\n        uses: xarray-contrib/issue-from-pytest-log@138db94bfe4b12ac11fc1aff307ee0835feab403 # v1.2.8\n        with:\n          log-path: output-${{ matrix.python-version }}-log.jsonl\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:12.626364", "created_at": "2024-01-19T18:35:09+01:00", "updated_at": "2024-01-22T16:16:24+01:00", "name": "Workflow Changes Warnings", "path": ".github/workflows/workflow-warning.yml", "contents": "name: Workflow Changes Warnings\n\non:\n  # Note: potential security risk from this action using pull_request_target.\n  # Do not add actions in here which need a checkout of the repo, and do not use any caching in here.\n  # See: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - synchronize\n    paths:\n      - .github/workflows/*.yml\n\npermissions:\n  contents: read\n\njobs:\n  comment-concerning-workflow-changes:\n    name: Comment Concerning Workflow Changes\n    runs-on: ubuntu-latest\n    if: |\n      (github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name)\n    permissions:\n      contents: read\n      pull-requests: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n      - name: Find comment\n        uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3.1.0\n        id: fc\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-author: 'github-actions[bot]'\n          body-includes: |\n            This Pull Request modifies GitHub workflows and is coming from a fork.\n      - name: Create comment\n        if: |\n          (steps.fc.outputs.comment-id == '') &&\n          (!contains(github.event.pull_request.labels.*.name, 'approved')) &&\n          (github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name)\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0\n        with:\n          comment-id: ${{ steps.fc.outputs.comment-id }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            > **Warning**\n            > This Pull Request modifies GitHub Workflows and is coming from a fork.\n            **It is very important for the reviewer to ensure that the workflow changes are appropriate.**\n          edit-mode: replace\n      - name: Update comment\n        if: |\n          contains(github.event.pull_request.labels.*.name, 'approved')\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0\n        with:\n          comment-id: ${{ steps.fc.outputs.comment-id }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            > **Note**\n            > Changes have been approved by a maintainer.\n          reactions: |\n            hooray\n          edit-mode: append\n", "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:13.725963", "created_at": "2024-06-28T14:41:35+02:00", "updated_at": "2024-06-28T14:41:35+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "ouranosinc/xclim"}
{"mined_at": "2024-07-15T13:56:15.747402", "created_at": "2023-03-15T19:27:20+01:00", "updated_at": "2023-03-15T19:27:20+01:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Docker Image CI\n\non:\n  push:\n    branches: [ \"master\" ]\n  workflow_dispatch: # run manually\n\nenv:\n  GHCRIO_DOCKER_TAG: ghcr.io/ocr-d/core\n  DOCKERIO_DOCKER_TAG: docker.io/ocrd/core\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n      contents: read\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        # we need tags for docker version tagging\n        fetch-tags: true\n        fetch-depth: 0\n    - # Activate cache export feature to reduce build time of images\n      name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n    - name: Build the Docker image\n      run: make docker\n    - name: Build the Docker image with GPU support\n      run: make docker-cuda \n    - name: Alias Docker images\n      # default tag uses docker.io, so tag post-hoc\n      run: |\n        docker tag ocrd/core ${{ env.GHCRIO_DOCKER_TAG }}\n        docker tag ocrd/core-cuda ${{ env.GHCRIO_DOCKER_TAG }}-cuda\n    - name: Smoke Test that ocrd --help works\n      run: |\n        docker run --rm ${{ env.GHCRIO_DOCKER_TAG }} ocrd --version\n        docker run --rm ${{ env.GHCRIO_DOCKER_TAG }}-cuda ocrd --version\n    - name: Login to GitHub Container Registry\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n    - name: Log in to Docker Hub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKERIO_USERNAME }}\n        password: ${{ secrets.DOCKERIO_PASSWORD }}\n    - name: Push images to Github Container Registry\n      run: |\n        docker push ${{ env.GHCRIO_DOCKER_TAG }}:latest\n        docker push ${{ env.GHCRIO_DOCKER_TAG }}-cuda:latest\n    - name: Push images to Docker Hub\n      run: |\n        docker tag ${{ env.GHCRIO_DOCKER_TAG }} ${{ env.DOCKERIO_DOCKER_TAG }}\n        docker tag ${{ env.GHCRIO_DOCKER_TAG }}-cuda ${{ env.DOCKERIO_DOCKER_TAG }}-cuda\n        docker push ${{ env.DOCKERIO_DOCKER_TAG }}:latest\n        docker push ${{ env.DOCKERIO_DOCKER_TAG }}-cuda:latest\n        docker push ${{ env.DOCKERIO_DOCKER_TAG }}:latest\n        docker push ${{ env.DOCKERIO_DOCKER_TAG }}-cuda:latest\n        docker tag ${{ env.DOCKERIO_DOCKER_TAG }} ${{ env.DOCKERIO_DOCKER_TAG }}:$(git describe --tags --abbrev=0)\n        docker tag ${{ env.DOCKERIO_DOCKER_TAG }}-cuda ${{ env.DOCKERIO_DOCKER_TAG }}-cuda:$(git describe --tags --abbrev=0)\n        docker push ${{ env.DOCKERIO_DOCKER_TAG }}:$(git describe --tags --abbrev=0)\n        docker push ${{ env.DOCKERIO_DOCKER_TAG }}-cuda:$(git describe --tags --abbrev=0)\n    \n", "state": "active", "repository": "ocr-d/core"}
{"mined_at": "2024-07-15T13:56:16.791338", "created_at": "2024-02-20T14:42:57+01:00", "updated_at": "2024-04-08T15:59:57+02:00", "name": "ocrd network module and integration tests", "path": ".github/workflows/network-testing.yml", "contents": "name: ocrd network module and integration tests\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  workflow_dispatch: # run manually\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n        os:\n          - ubuntu-22.04\n          # - macos-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Homebrew\n        id: set-up-homebrew\n        uses: Homebrew/actions/setup-homebrew@master\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          if [[ \"${{ matrix.os }}\" == \"ubuntu\"* ]];then\n            sudo apt-get -y update\n            sudo make deps-ubuntu\n          else\n            HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 \\\n            HOMEBREW_NO_AUTO_UPDATE=1 \\\n            brew install imagemagick geos bash  # opencv\n          fi\n          make install deps-test\n      - name: Install Docker on macOS\n        if: runner.os == 'macos'\n        run: |\n          brew install docker docker-compose\n          colima start\n      - name: Run network modules tests with pytest\n        run: make network-module-test\n      - name: Run network integration tests with pytest\n        run: |\n          if [[ \"${{ matrix.os }}\" == \"macos\"* ]];then\n            make network-integration-test-cicd DOCKER_COMPOSE=docker-compose\n          else\n            make network-integration-test-cicd\n          fi\n", "state": "active", "repository": "ocr-d/core"}
{"mined_at": "2024-07-15T13:56:17.886606", "created_at": "2023-03-15T12:03:23+01:00", "updated_at": "2023-03-15T12:03:23+01:00", "name": "Check pull request", "path": ".github/workflows/pr_check.yml", "contents": null, "state": "active", "repository": "ocr-d/core"}
{"mined_at": "2024-07-15T13:56:18.934203", "created_at": "2024-01-22T11:11:13+01:00", "updated_at": "2024-01-23T18:29:56+01:00", "name": "Test core installation and run tests", "path": ".github/workflows/unit-test.yml", "contents": "name: Test core installation and run tests\n\n# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n        os:\n          - ubuntu-22.04\n          - ubuntu-20.04\n          - macos-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Homebrew\n      id: set-up-homebrew\n      uses: Homebrew/actions/setup-homebrew@master\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        if [[ \"${{ matrix.os }}\" == \"ubuntu\"* ]];then\n          sudo apt-get -y update\n          sudo make deps-ubuntu\n        else\n          HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 \\\n          HOMEBREW_NO_AUTO_UPDATE=1 \\\n          brew install imagemagick geos bash  # opencv\n        fi\n        make install deps-test\n    - name: Test with pytest\n      run: |\n        make test benchmark\n    - name: test to ensure that --editable install works\n      run: |\n        make install-dev; ocrd --version\n    - name: Lint with flake8\n      run: |\n        python -m pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 src --count --exit-zero --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 src --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n", "state": "active", "repository": "ocr-d/core"}
{"mined_at": "2024-07-15T13:56:21.927762", "created_at": "2021-01-25T17:49:28+01:00", "updated_at": "2021-01-25T17:49:28+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  # Triggers the workflow on push only for the master branch or pull request events\n  push:\n    branches: [master]\n  pull_request:\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    name: \"Python ${{ matrix.python-version }} on ${{ matrix.os }} ${{ matrix.name-suffix }}\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          - name-suffix: \"PyQt5 sdist\"\n            os: ubuntu-20.04\n            python-version: \"3.8\"\n            BUILD_OPTION: --sdist\n            QT_BINDING: PyQt5\n            RUN_TESTS_OPTIONS: --qt-binding=PyQt5 --no-opencl --low-mem\n          - name-suffix: \"PyQt5 wheel\"\n            os: macos-latest\n            python-version: \"3.10\"\n            BUILD_OPTION: --wheel\n            QT_BINDING: PyQt5\n            RUN_TESTS_OPTIONS: --qt-binding=PyQt5 --no-opencl --low-mem\n\n          - name-suffix: \"PySide6 sdist\"\n            os: ubuntu-latest\n            python-version: \"3.8\"\n            BUILD_OPTION: --sdist\n            QT_BINDING: PySide6\n            RUN_TESTS_OPTIONS: --qt-binding=PySide6 --no-opencl --low-mem\n          - name-suffix: \"PySide6 wheel\"\n            os: macos-latest\n            python-version: \"3.9\"\n            BUILD_OPTION: --wheel\n            QT_BINDING: \"PySide6<6.7\"\n            RUN_TESTS_OPTIONS: --qt-binding=PySide6 --no-opencl --low-mem\n\n          - name-suffix: \"PyQt6 wheel\"\n            os: ubuntu-latest\n            python-version: \"3.11\"\n            BUILD_OPTION: --wheel\n            QT_BINDING: PyQt6\n            RUN_TESTS_OPTIONS: --qt-binding=PyQt6 --no-opengl --low-mem\n          - name-suffix: \"PyQt6 wheel\"\n            os: macos-latest\n            python-version: \"3.11\"\n            BUILD_OPTION: --wheel\n            QT_BINDING: PyQt6\n            RUN_TESTS_OPTIONS: --qt-binding=PyQt6 --no-opencl --low-mem\n\n          - name-suffix: \"No GUI wheel\"\n            os: windows-latest\n            python-version: \"3.9\"\n            BUILD_COMMAND: --wheel\n            QT_BINDING: PyQt5\n            RUN_TESTS_OPTIONS: --no-gui --low-mem\n            # No GUI tests on Windows\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - uses: actions/checkout@v4\n\n        # Install X server packages\n        # libegl1-mesa: Required by Qt xcb platform plugin\n        # ocl-icd-opencl-dev: OpenCL headers, lib and icd loader\n        # libgl1-mesa-glx: For OpenGL\n        # xserver-xorg-video-dummy: For OpenGL\n        # libxkbcommon-x11-0: needed for Qt plugins\n      - name: Install X server\n        if: runner.os == 'Linux'\n        run: |\n          sudo apt-get update\n          sudo apt-get install libegl1-mesa ocl-icd-opencl-dev intel-opencl-icd libgl1-mesa-glx xserver-xorg-video-dummy libxkbcommon-x11-0 libxkbcommon0 libxkbcommon-dev libxcb-icccm4 libxcb-image0 libxcb-shm0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-sync1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb-cursor0 libxcb1\n\n      # Runs a single command using the runners shell\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n\n      - name: Upgrade distribution modules\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade build setuptools wheel\n          pip install --upgrade --pre cython\n\n      - name: Print python info used for build\n        run: |\n          python ./ci/info_platform.py\n          pip list\n\n      - name: Generate source package or wheel\n        run: |\n          if [ ${{ runner.os }} == 'macOS' ]; then\n              export MACOSX_DEPLOYMENT_TARGET=10.9;\n          fi\n          python -m build --no-isolation ${{ matrix.BUILD_OPTION }}\n          ls dist\n\n      - name: Pre-install dependencies\n        run: |\n          if [ -s \"ci/requirements-pinned.txt\" ];\n          then\n            pip install -r ci/requirements-pinned.txt;\n          fi\n          pip install --pre -r requirements.txt\n          pip uninstall -y PyQt5 PyQt6 PySide6\n          pip install --pre \"${{ matrix.QT_BINDING }}\"\n\n      - name: Install pytest\n        run: |\n          pip install pytest\n          pip install pytest-xvfb\n          pip install pytest-mock\n\n      - name: Install silx package\n        run: pip install --pre --find-links dist/ --no-cache-dir --no-index --no-build-isolation silx\n\n      - name: Print python info used for tests\n        run: |\n          python ./ci/info_platform.py\n          pip list\n\n      # For Linux: Start X server with dummy video dirver\n      # Use this instead of Xvfb to have RANDR extension\n      # Otherwise there is a bug with Qt5.10.0\n      - name: Run the tests\n        run: |\n          if [ ${{ runner.os }} == 'Linux' ]; then\n              export OCL_ICD_VENDORS=$(pwd)/intel_opencl_icd/vendors\n              export DISPLAY=:99.0\n              Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./99.log -config ./ci/xorg.conf :99 &\n              sleep 3\n          fi\n          echo \"RUN_TESTS_OPTIONS=\"${{ matrix.RUN_TESTS_OPTIONS }}\n          python run_tests.py --installed -v ${{ matrix.RUN_TESTS_OPTIONS }}\n", "state": "active", "repository": "silx-kit/silx"}
{"mined_at": "2024-07-15T13:56:23.002259", "created_at": "2024-02-14T09:01:24+01:00", "updated_at": "2024-02-14T09:01:24+01:00", "name": "Build and deploy", "path": ".github/workflows/release.yml", "contents": "name: Build and deploy\n\non:\n  workflow_dispatch:\n  release:\n    types:\n      - published\n\njobs:\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build twine\n      - name: Build sdist\n        run: python -m build --sdist\n      - name: Check the package\n        run: python -m twine check dist/*\n      - uses: actions/upload-artifact@v4\n        with:\n          name: cibw-sdist\n          path: dist/*.tar.gz\n\n  test_sdist:\n    needs: [build_sdist]\n    name: Test source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n      - uses: actions/download-artifact@v4\n        with:\n          name: cibw-sdist\n          path: dist\n      - name: Install from sdist\n        run: pip install \"$(ls dist/silx-*.tar.gz)[full,test]\"\n      - name: Run tests\n        env:\n          WITH_QT_TEST: \"False\"\n          WITH_GL_TEST: \"False\"\n          SILX_OPENCL: \"False\"\n          SILX_TEST_LOW_MEM: \"False\"\n        run: python -c \"import silx.test, sys; sys.exit(silx.test.run_tests(verbosity=3))\"\n\n  build_doc:\n    name: Build documentation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n      - name: Install pandoc&graphviz\n        run: sudo apt-get install pandoc graphviz\n      - name: Install silx\n        run: pip install .[full,test,doc]\n      - name: Build doc\n        env:\n          QT_QPA_PLATFORM: \"offscreen\"\n        run: |\n          export SILX_VERSION=\"$(python -c 'import silx; print(silx.strictversion)')\"\n          sphinx-build doc/source/ \"silx-${SILX_VERSION}_documentation/\"\n          zip -r \"silx-${SILX_VERSION}_documentation.zip\" \"silx-${SILX_VERSION}_documentation/\"\n      - uses: actions/upload-artifact@v4\n        with:\n          name: documentation\n          path: silx-*_documentation.zip\n\n  build_windows_installer:\n    name: Build Windows \"fat binary\"\n    runs-on: windows-2022\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pip\"\n      - name: Install silx\n        run: pip install .[full,test]\n      - name: Install pyinstaller\n        # Install pyinstaller from source and compile bootloader\n        env:\n          PYINSTALLER_COMPILE_BOOTLOADER: \"1\"\n          PYINSTALLER_BOOTLOADER_WAF_ARGS: \"--msvc_target=x64\"\n        run: pip install pyinstaller --no-binary pyinstaller\n      - name: Build fat binary\n        run: |\n          cd package/windows\n          pyinstaller pyinstaller.spec\n      - uses: actions/upload-artifact@v4\n        with:\n          name: windows-installer\n          path: |\n            ./package/windows/artifacts/silx-*.exe\n            ./package/windows/artifacts/silx-*.zip\n\n  test_windows_installer:\n    needs: [build_windows_installer]\n    name: Test Windows \"fat binary\"\n    runs-on: windows-2022\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: windows-installer\n      - name: Unzip \"fat binary\"\n        run: 7z x silx-*.zip\n      - name: Test\n        run: |\n          cd silx\n          ./silx-view.exe --help\n          ./silx.exe --help\n\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}-${{ matrix.cibw_archs }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-20.04\n            cibw_archs: \"auto64\"\n            with_sse2: true\n          - os: ubuntu-20.04\n            cibw_archs: \"aarch64\"\n            with_sse2: false\n          - os: ubuntu-20.04\n            cibw_archs: \"ppc64le\"\n            with_sse2: false\n          - os: windows-2019\n            cibw_archs: \"auto64\"\n            with_sse2: true\n          - os: macos-11\n            cibw_archs: \"universal2\"\n            with_sse2: true\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: docker/setup-qemu-action@v3\n        if: runner.os == 'Linux'\n        with:\n          platforms: all\n      - uses: pypa/cibuildwheel@v2.16.5\n        env:\n          # Configure silx build\n          SILX_FORCE_CYTHON: \"True\"\n          SILX_WITH_OPENMP: \"False\"\n          # Configure silx tests\n          WITH_QT_TEST: \"False\"\n          WITH_GL_TEST: \"False\"\n          SILX_OPENCL: \"False\"\n          SILX_TEST_LOW_MEM: \"False\"\n\n          CIBW_ENVIRONMENT_PASS_LINUX: SILX_FORCE_CYTHON SILX_WITH_OPENMP WITH_QT_TEST WITH_GL_TEST SILX_OPENCL SILX_TEST_LOW_MEM\n\n          CIBW_BUILD_VERBOSITY: 1\n          CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-*\n          # Do not build for pypy and muslinux\n          CIBW_SKIP: pp* *-musllinux_*\n          CIBW_ARCHS: ${{ matrix.cibw_archs }}\n\n          # Install test dependencies\n          CIBW_TEST_EXTRAS: \"full,test\"\n          CIBW_TEST_COMMAND: python -c \"import silx.test, sys; sys.exit(silx.test.run_tests(verbosity=3))\"\n          # Skip tests for emulated architectures and arm64 macos\n          # Skip cp38 test on macos: Issue with libOpenGL\n          # Skip cp311 and cp312 on macos: bitshuffle does not build there\n          CIBW_TEST_SKIP: \"*-*linux_{aarch64,ppc64le,s390x} *-macosx_arm64 *-macosx_universal2:arm64 cp38-macosx* cp311-macosx* cp312-macosx*\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}\n          path: ./wheelhouse/*.whl\n\n  pypi-publish:\n    needs: [build_doc, build_sdist, build_wheels, test_sdist, build_windows_installer, test_windows_installer]\n    name: Upload release to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n    permissions:\n      id-token: write\n    if: github.event_name == 'release' && github.event.action == 'published'\n    # or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)\n    # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: cibw-*\n          path: dist\n          merge-multiple: true\n      - uses: pypa/gh-action-pypi-publish@release/v1\n\n  windows-installer-publish:\n    needs: [build_windows_installer, test_windows_installer]\n    name: Upload Windows installer\n    runs-on: ubuntu-latest\n    environment:\n      name: assets\n    permissions:\n      contents: write\n    if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n        with:\n          name: windows-installer\n      - name: Upload release assets\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          export ASSETS=$(ls silx-*.exe silx-*.zip)\n          echo \"ASSETS=${ASSETS}\"\n          gh release upload ${{ github.event.release.tag_name }} ${ASSETS}\n", "state": "active", "repository": "silx-kit/silx"}
{"mined_at": "2024-07-15T13:56:25.031144", "created_at": "2021-07-04T17:42:52+02:00", "updated_at": "2021-07-04T17:42:52+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '33 0 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "cairis-platform/cairis"}
{"mined_at": "2024-07-15T13:56:26.091838", "created_at": "2021-06-17T14:43:49+02:00", "updated_at": "2021-06-17T14:43:49+02:00", "name": "Semgrep", "path": ".github/workflows/semgrep.yml", "contents": "on:\n  pull_request: {}\n  push:\n    branches:\n    - main\n    - master\nname: Semgrep\njobs:\n  semgrep:\n    name: Scan\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: returntocorp/semgrep-action@v1\n      with:\n        auditOn: push\n        publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}\n        publishDeployment: 1581\n", "state": "active", "repository": "cairis-platform/cairis"}
{"mined_at": "2024-07-15T13:56:28.256101", "created_at": "2022-02-16T02:45:55+01:00", "updated_at": "2022-02-16T02:45:55+01:00", "name": "Meerk40t (CentOS 7)", "path": ".github/workflows/centos.yml", "contents": "# This workflow builds PyInstaller single-file executables\n# of Meerk40t for Linux (CentOS 7 self-hosted runner)\n\nname: Meerk40t (CentOS 7)\n\non:\n  release:\n    types: [published]\n\njobs:\n  build-centos7:\n    runs-on: centos7\n    steps:\n    - name: Checkout meerk40t\n      uses: actions/checkout@v2\n    \n    - name: Ensure dependencies installed\n      run: |\n        pip3 install ezdxf pyserial\n        pip3 install scipy\n        pip3 install meerk40t-camera opencv-python-headless\n\n    - name: Build Meerk40t\n      run: |\n        mv meerk40t.py mk40t.py\n        pyinstaller --windowed --onefile --name meerk40t .github/workflows/linux/meerk40t.spec\n        mv mk40t.py meerk40t.py\n        mv dist/MeerK40t dist/MeerK40t-Linux\n\n    - name: Upload Release Assets\n      id: release\n      uses: softprops/action-gh-release@v1\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        files: |\n          dist/MeerK40t-Linux\n\n", "state": "active", "repository": "meerk40t/meerk40t"}
{"mined_at": "2024-07-15T13:56:29.779399", "created_at": "2021-09-25T22:43:49+02:00", "updated_at": "2021-09-27T10:32:24+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [main, legacy6, legacy7, legacy8]\n    paths:\n      - '**.py'\n      - '.github/workflows/codeql*.yml'\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [main, legacy6, legacy7, legacy8]\n    paths:\n      - '**.py'\n      - '.github/workflows/codeql*.yml'\n  schedule:\n    - cron: '0 23 * * 5'\n\nconcurrency:\n  group: codeql-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  analyze:\n    name: CodeQL\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-18.04]\n        python-version: [3.9]\n\n    steps:\n    - name: Checkout ${{ github.ref }}\n      uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Identify precise Python version\n      id: full-python-version\n      shell: bash\n      run: echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")\n\n    - name: Cache Python env for ${{ matrix.os }}-py${{ steps.full-python-version.outputs.version }}\n      uses: actions/cache@v2\n      with:\n        path: ${{ env.pythonLocation }}\n        key: ${{ matrix.os }}-py${{ steps.full-python-version.outputs.version }}-${{ hashFiles('requirements.txt') }}\n\n    - name: Install Python dependencies\n      run: |\n        python3 -m pip install --upgrade --upgrade-strategy eager pip setuptools wheel babel\n        if [ -f requirements-nogui.txt ]; then pip install --upgrade --upgrade-strategy eager -r requirements-nogui.txt; fi\n\n    - name: List environment\n      env:\n        GITHUB_CONTEXT: ${{ toJSON(github) }}\n        JOB_CONTEXT: ${{ toJSON(job) }}\n        STEPS_CONTEXT: ${{ toJSON(steps) }}\n        RUNNER_CONTEXT: ${{ toJSON(runner) }}\n        STRATEGY_CONTEXT: ${{ toJSON(strategy) }}\n        MATRIX_CONTEXT: ${{ toJSON(matrix) }}\n      run: |\n        pip list\n        env\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: python\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "meerk40t/meerk40t"}
{"mined_at": "2024-07-15T13:56:31.881026", "created_at": "2021-10-25T09:18:11+02:00", "updated_at": "2023-06-13T20:43:01+02:00", "name": "MeerK40t (Macintosh)", "path": ".github/workflows/mac11_pyinst.yml", "contents": "name: MeerK40t (Macintosh)\n##Options for VM\n##macos-10.15 or macos-latest\n##macos-11\n##\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n  \njobs:\n  build-macos11:\n    runs-on: macos-11\n    steps:\n    - name: Checkout meerk40t\n      uses: actions/checkout@v3\n##    - name: Set up Python 3.9\n##      uses: actions/setup-python@v2\n##      with:\n##        python-version: 3.9\n    - name: Alternative Python Install if needed\n      run: |\n        wget https://www.python.org/ftp/python/3.8.10/python-3.8.10-macosx10.9.pkg\n        sudo installer -pkg python-3.8.10-macosx10.9.pkg -target /\n    - name: Install Mac dependencies\n      run: |\n        which curl\n        python3 -V\n        which wget\n        which git\n        which gcc\n        which xcode-select\n        which cmake\n        which pkgbuild\n        which productsign\n        which plutil\n        which codesign\n        which xcrun\n        which xcode-select\n        ls\n        git clone https://github.com/libusb/libusb.git\n        cd libusb\n        ./autogen.sh && ./configure && make && sudo make install\n        cd ..\n        curl --remote-name http://www.ijg.org/files/jpegsrc.v9c.tar.gz\n        tar -zxvf jpegsrc.v9c.tar.gz\n        cd jpeg-9c\n        ./configure && make && sudo make install\n        cd ..\n        ## git clone https://github.com/numpy/numpy.git\n        ## cd numpy\n        ## python3.8 -m pip install .\n        ## cd ..\n\n    - name: Ensure latest pip and meerk40t-camera\n      run: |\n        python3.8 -m pip install --upgrade pip\n        python3.8 -m pip install wheel setuptools\n        python3.8 -m pip install meerk40t-camera opencv-python-headless==3.4.13.47\n        python3.8 -m pip install --no-use-pep517 pyinstaller==4.3\n        \n        ## numpy toggle based on 32 bit fix\n        python3.8 -m pip install six numpy ezdxf\n        ## python3.8 -m pip install wheel six ezdxf\n        \n        python3.8 -m pip install potracer\n        \n        python3.8 -m pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04 wxPython==4.1.1\n        if [ -f requirements-nogui.txt ]; then python3.8 -m pip install -r requirements-nogui.txt; fi\n        python3.8 -m pip uninstall -y meerk40t[gui]\n\n    - name: Build meerk40t\n      id: build\n      run: |\n        ## git clone https://github.com/meerk40t/meerk40t.git\n        ## cd meerk40t\n        ## git pull\n        git clone https://github.com/ronaldoussoren/py2app.git\n        cd py2app\n        git checkout master\n        git pull\n        python3.8 -m pip install .\n        cd ..\n        python3.8 -m pip list\n            ##Set bundle version\n            ##Download the extra files here meerk40t.icns entitlements.plist setup_mac.py\n            ##May need to compare extras_required vs. current version of setup.py\n            ##Unpack inside the meerk40t directory\n        cp .github/workflows/mac/setup_mac.py setup_mac.py\n        cp .github/workflows/mac/entitlements.plist entitlements.plist\n        cp .github/workflows/mac/meerk40t.icns meerk40t.icns\n        cp .github/workflows/mac/libusb-1.0.dylib libusb-1.0.dylib\n        VERSION=$(python3.8 meerk40t.py -V)\n        MKVERSION=$(echo $VERSION | cut -d\" \" -f 2)\n        sed -i \"\" \"s|0.0.0|$MKVERSION|g\" setup_mac.py\n\n        ## Export env variable to github actions scope to use in tag_name of upload release\n        ## echo \"::set-output name=mkversion::$(echo $MKVERSION)\"\n        echo \"mkversion=$(echo $MKVERSION)\" >> $GITHUB_OUTPUT\n        ## python3.8 setup_mac.py py2app --dylib-excludes /usr/local/lib/libssl.1.1.dylib,/usr/local/lib/libcrypto.1.1.dylib,/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/PIL/.dylibs/libfreetype.6.dylib,/Users/runner/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/PIL/.dylibs/liblzma.5.dylib --frameworks libusb-1.0.dylib\n        mv meerk40t.py mk40t.py\n        python3.8 -m PyInstaller --hidden-import wx._adv --hidden-import wx._xml --hidden-import meerk40t --windowed --noconfirm -i meerk40t.icns --add-data 'locale/:locale/' --name MeerK40t mk40t.py\n        mv mk40t.py meerk40t.py\n        rm -rf dist/MeerK40t\n        sed -i \"\" \"s|$MKVERSION|0.0.0|g\" setup_mac.py\n        ## Backwards compatibility\n        rm dist/MeerK40t.app/Contents/MacOS/libusb-1.0.dylib\n        cp libusb-1.0.dylib dist/MeerK40t.app/Contents/MacOS/libusb-1.0.dylib\n        ## plutil -insert NSRequiresAquaSystemAppearance -bool NO dist/meerk40t.app/Contents/Info.plist\n        plutil -insert NSRequiresAquaSystemAppearance -bool NO dist/meerk40t.app/Contents/Info.plist\n        plutil -insert CFBundleDevelopmentRegion -string en dist/meerk40t.app/Contents/Info.plist\n        plutil -insert CFAppleHelpAnchor -string YES dist/meerk40t.app/Contents/Info.plist\n        plutil -replace CFBundleIdentifier -string org.tatarize.MeerK40t dist/meerk40t.app/Contents/Info.plist\n        plutil -replace CFBundleShortVersionString -string $MKVERSION dist/meerk40t.app/Contents/Info.plist\n        plutil -insert CFBundleSupportedPlatforms -string MacOSX dist/meerk40t.app/Contents/Info.plist\n        ## plutil -insert CFBundleTypeExtensions -string \"*\" dist/meerk40t.app/Contents/Info.plist\n        plutil -insert CFBundleTypeRole -string Editor dist/meerk40t.app/Contents/Info.plist\n        plutil -insert CFBundleVersion -string $MKVERSION dist/meerk40t.app/Contents/Info.plist\n        plutil -insert LSApplicationCategoryType -string public.app-category.utilities dist/meerk40t.app/Contents/Info.plist\n        ## plutil -insert LSFileQuarantineEnabled -string YES dist/meerk40t.app/Contents/Info.plist\n        ## plutil -insert NSAppleScriptEnabled -bool NO dist/meerk40t.app/Contents/Info.plist\n        plutil -insert NSHumanReadableCopyright -string \"Copyright © 2019-2021 MeerK40t Developers, MIT License\" dist/meerk40t.app/Contents/Info.plist\n\n        ## plutil -insert  -string  dist/meerk40t.app/Contents/Info.plist\n        ## plutil -replace  -string  dist/meerk40t.app/Contents/Info.plist\n        SIG=\"-\"\n        plutil -replace CFBundleSupportedPlatforms -xml \"<array><string>MacOSX</string></array>\" dist/MeerK40t.app/Contents/Info.plist\n        \n        ## Fix the numpy 32 bit issue inside the app bundle - or install numpy from source.\n        ## lipo dist/MeerK40t.app/Contents/MacOS/libgcc_s.1.dylib -remove i386 -output dist/MeerK40t.app/Contents/MacOS/libgcc_s_new.1.dylib\n        ## rm dist/MeerK40t.app/Contents/MacOS/libgcc_s.1.dylib\n        ## mv dist/MeerK40t.app/Contents/MacOS/libgcc_s_new.1.dylib dist/MeerK40t.app/Contents/MacOS/libgcc_s.1.dylib\n        \n        echo \"Codesign for GITHUB\"\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/*.zip\n\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/wx/*.so\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/Python\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/PIL/*.so\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/numpy/random/*.so\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/numpy/linalg/*.so\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/numpy/fft/*.so\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/numpy/core/*.so\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/lib-dynload/*.so\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/ezdxf/acc/*.so\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/cv2/*.so\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/*.dylib\n        ## codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/*.so\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app/Contents/MacOS/MeerK40t\n\n        codesign -s $SIG --force --verbose=4 --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/MeerK40t.app\n        ## codesign -s $SIG --deep --timestamp --entitlements entitlements.plist -i org.tatarize.MeerK40t -o runtime --arch x86_64 dist/meerk40t.app\n\n        echo \"DMG Build...\"\n        hdiutil create -volname \"MeerK40t Mac\" -srcfolder dist -ov MeerK40t_unsigned.dmg\n            ## GUI function check - Fails on runner (security settings).\n        ## open dist/MeerK40t.app\n            ## Binary bundle CLI function check - Fails on runner (security settings).\n        ##. dist/MeerK40t.app/Contents/MacOS/MeerK40t -V\n            ##I don't do this part; mv dist/meerk40t dist/MeerK40t-Ubuntu-Latest\n\n    - name: Directory contents\n      run: |\n        cd ..\n        ls\n        cd ..\n        ls\n\n# Switched to using softprops/action-gh-release@v1\n# because it supports uploading to existing release based on current tag.\n    - name: Upload Release Assets\n      id: release\n      uses: softprops/action-gh-release@v1\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        files: |\n          MeerK40t_unsigned.dmg\n", "state": "active", "repository": "meerk40t/meerk40t"}
{"mined_at": "2024-07-15T13:56:33.975899", "created_at": "2021-10-01T10:17:49+02:00", "updated_at": "2021-10-03T19:07:26+02:00", "name": "Platform configurations", "path": ".github/workflows/platform-check.yml", "contents": "name: Platform configurations\n\non:\n  workflow_dispatch:\n\nconcurrency:\n  group: platform-configuration\n  cancel-in-progress: true\n\njobs:\n  check-mac:\n    name: ${{ matrix.os }} system_profiler\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-10.15, macos-11]\n\n\n    steps:\n    - name: Create artifacts directory\n      run: mkdir -p artifacts\n\n    - name: system_profiler basic\n      run: |\n        system_profiler -detailLevel basic | tee artifacts/${{ matrix.os }}_system_profile_basic.txt\n\n    - name: system_profiler full\n      run: |\n        system_profiler -detailLevel full | tee artifacts/${{ matrix.os }}_system_profile_full.txt\n\n    - name: Upload analysis results\n      uses: actions/upload-artifact@v2\n      with:\n        name: System-Information\n        path: artifacts/\n\n\n  check-ubuntu:\n    name: ${{ matrix.os }} lshw\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-18.04, ubuntu-20.04]\n\n\n    steps:\n    - name: Create artifacts directory\n      run: mkdir -p artifacts\n\n    - name: lshw\n      run: |\n        sudo lshw | tee artifacts/${{ matrix.os }}-lshw.txt\n        sudo lshw -html > artifacts/${{ matrix.os }}-lshw.html\n\n    - name: Upload analysis results\n      uses: actions/upload-artifact@v2\n      with:\n        name: System-Information\n        path: artifacts/\n\n\n  check-windows:\n    name: ${{ matrix.os }} systeminfo\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-2016, windows-2019, windows-2022]\n\n\n    steps:\n    - name: Create artifacts directory\n      run: mkdir -p artifacts\n\n    - name: systeminfo\n      run: |\n        systeminfo\n        systeminfo > artifacts/${{ matrix.os }}-systeminfo.txt\n\n    - name: Upload analysis results\n      uses: actions/upload-artifact@v2\n      with:\n        name: System-Information\n        path: artifacts/\n", "state": "active", "repository": "meerk40t/meerk40t"}
{"mined_at": "2024-07-15T13:56:35.104785", "created_at": "2021-10-15T23:55:23+02:00", "updated_at": "2021-11-10T11:30:09+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/pull-request-labeler.yml", "contents": "# Add labels to Pull-Requests based on the types of files modified\n# https://github.com/actions/labeler\n\nname: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n  labeler:\n    runs-on: ubuntu-latest\n    timeout-minutes: 1\n    steps:\n    - uses: actions/labeler@v3\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        sync-labels:\ttrue\n", "state": "active", "repository": "meerk40t/meerk40t"}
{"mined_at": "2024-07-15T13:56:36.170129", "created_at": "2021-09-26T13:43:36+02:00", "updated_at": "2022-02-18T00:43:59+01:00", "name": "Python code quality", "path": ".github/workflows/python-code-quality.yml", "contents": "name: Python code quality\n\non:\n  push:\n    branches: [main, legacy6, legacy7, legacy8]\n    paths:\n      - '**.py'\n      - '.github/workflows/python-code-quality.yml'\n      - 'pyproject.toml'\n  pull_request:\n    branches: [main, legacy6, legacy7, legacy8]\n    paths:\n      - '**.py'\n      - '.github/workflows/python-code-quality.yml'\n      - 'pyproject.toml'\n\nconcurrency:\n  group: codequality-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  analyze:\n\n    name: Lint ${{ matrix.os }} / ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 20\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-18.04]\n        python-version: [3.9]\n\n    steps:\n    - name: Checkout ${{ github.ref }}\n      uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Identify precise Python version\n      id: full-python-version\n      shell: bash\n      run: echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")\n\n    - name: Cache Python env for ${{ matrix.os }}-py${{ steps.full-python-version.outputs.version }}\n      uses: actions/cache@v2\n      with:\n        path: ${{ env.pythonLocation }}\n        key: ${{ matrix.os }}-py${{ steps.full-python-version.outputs.version }}-${{ hashFiles('requirements.txt') }}\n\n    - name: Install Python dependencies\n      run: |\n        python3 -m pip install --upgrade --upgrade-strategy eager pip setuptools wheel babel\n        pip install --upgrade --upgrade-strategy eager pylint pyproject-flake8 flake8-deprecated black mypy isort\n        if [ \"${{ runner.os }}\" == \"Windows\" ]; then\n            pip install --upgrade --upgrade-strategy eager wxPython\n        else\n            pip install --upgrade --upgrade-strategy eager -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/${{ matrix.os }} wxPython\n        fi\n        if [ -f requirements-gui.txt ]; then pip install --upgrade --upgrade-strategy eager -r requirements-gui.txt; fi\n\n    - name: List environment\n      env:\n        GITHUB_CONTEXT: ${{ toJSON(github) }}\n        JOB_CONTEXT: ${{ toJSON(job) }}\n        STEPS_CONTEXT: ${{ toJSON(steps) }}\n        RUNNER_CONTEXT: ${{ toJSON(runner) }}\n        STRATEGY_CONTEXT: ${{ toJSON(strategy) }}\n        MATRIX_CONTEXT: ${{ toJSON(matrix) }}\n      run: |\n        pip list\n        env\n\n    - name: Create output directory\n      run: mkdir -p artifacts\n\n    - name: Analyse with pylint\n      id: pylint\n      continue-on-error: true\n      run: |\n        pylint -j 0 --output-format=text:artifacts/pylint.txt,colorized meerk40t\n\n    - name: Analyse with flake8\n      id: flake8\n      continue-on-error: true\n      run: |\n        pflake8 meerk40t --tee --output-file=artifacts/flake8.txt\n\n    - name: Analyse with black\n      id: black\n      continue-on-error: true\n      run: |\n        black --diff --color meerk40t\n\n    - name: Analyse with isort\n      id: isort\n      continue-on-error: true\n      run: |\n        isort meerk40t -c --diff\n\n# MK Not strongly typed - mypy is not going to be run\n#    - name: Analyse with mypy\n#      id: mypy\n#      continue-on-error: true\n#      run: |\n#        mypy meerk40t\n#        exit 0\n\n    - name: Upload analysis results\n      uses: actions/upload-artifact@v2\n      with:\n        name: Artifacts\n        path: artifacts/\n\n    - name: \"Set status\"\n      run: |\n        if ${{ steps.pylint.outcome != 'success' || steps.flake8.outcome != 'success' || steps.black.outcome != 'success' || steps.isort.outcome != 'success' }}; then\n         exit 0\n         exit 1\n        fi\n", "state": "disabled_manually", "repository": "meerk40t/meerk40t"}
{"mined_at": "2024-07-15T13:56:37.453602", "created_at": "2024-01-14T20:53:06+01:00", "updated_at": "2024-01-15T01:10:33+01:00", "name": "Check Translations", "path": ".github/workflows/translation-error-checker.yml", "contents": "name: Check Translations\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  check_translations:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.x\n\n    - name: Run translation check script\n      run: |\n        cp .github/workflows/translate-error-check.py translate-error-check.py\n        python translate-error-check.py\n\n    - name: Check for script exit code\n      run: |\n        if [ $? -ne 0 ]; then\n          echo \"Error: Flawed translations found.\"\n          exit 1\n        fi\n", "state": "active", "repository": "meerk40t/meerk40t"}
{"mined_at": "2024-07-15T13:56:38.504934", "created_at": "2022-02-16T02:45:55+01:00", "updated_at": "2024-07-02T23:12:14+02:00", "name": "Meerk40t (Ubuntu)", "path": ".github/workflows/ubuntu.yml", "contents": "# This workflow builds PyInstaller single-file executables\n# of Meerk40t for Ubuntu (latest)\n\nname: Meerk40t (Ubuntu)\n\non:\n  release:\n    types: [published]\n\njobs:\n  build-ubuntu:\n    if: ${{ false }}\n    runs-on: ubuntu-18.04\n    steps:\n    - name: Checkout meerk40t\n      uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        sudo apt-get install libgtk-3-dev\n        python3 -m pip install --upgrade pip\n        pip install pyinstaller wheel\n        pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04 wxPython\n        if [ -f requirements-nogui.txt ]; then pip install -r requirements-nogui.txt; fi\n\n    - name: Build meerk40t\n      run: |\n        mv meerk40t.py mk40t.py\n        pyinstaller --windowed --onefile --name meerk40t mk40t.py\n        mv mk40t.py meerk40t.py\n        mv dist/meerk40t dist/MeerK40t-Ubuntu-Latest\n\n# Switched to using softprops/action-gh-release@v1\n# because it supports uploading to existing release based on current tag.\n    - name: Upload Release Assets\n      id: release\n      uses: softprops/action-gh-release@v1\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        files: |\n          dist/MeerK40t-Ubuntu-Latest\n\n", "state": "active", "repository": "meerk40t/meerk40t"}
{"mined_at": "2024-07-15T13:56:39.567310", "created_at": "2021-09-26T13:43:36+02:00", "updated_at": "2021-11-20T11:49:00+01:00", "name": "Unittest", "path": ".github/workflows/unittests.yml", "contents": "name: Unittest\n\non:\n  push:\n    branches: [main, legacy6, legacy7, legacy8]\n    paths:\n      - '**.py'\n      - '.github/workflows/unittests.yml'\n  pull_request:\n    branches: [main, legacy6, legacy7, legacy8]\n    paths:\n      - '**.py'\n      - '.github/workflows/unittests.yml'\n\nconcurrency:\n  group: unittests-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  unittests:\n\n    name: ${{ matrix.os }}+py${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 10\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-2019, macos-11]\n        python-version: [3.8, 3.12]\n\n    steps:\n\n    - name: Checkout ${{ github.ref }}\n      uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Identify precise Python version\n      id: full-python-version\n      shell: bash\n      run: echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")\n\n    - name: Cache Python env for ${{ matrix.os }}-py${{ steps.full-python-version.outputs.version }}\n      uses: actions/cache@v2\n      with:\n        path: ${{ env.pythonLocation }}\n        key: new-${{ matrix.os }}-py${{ steps.full-python-version.outputs.version }}-${{ hashFiles('requirements-nogui.txt') }}\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade --upgrade-strategy eager pip setuptools wheel babel\n        if [ -f requirements-nogui.txt ]; then pip install --upgrade --upgrade-strategy eager -r requirements-nogui.txt; fi\n\n    - name: List environment\n      env:\n        GITHUB_CONTEXT: ${{ toJSON(github) }}\n        JOB_CONTEXT: ${{ toJSON(job) }}\n        STEPS_CONTEXT: ${{ toJSON(steps) }}\n        RUNNER_CONTEXT: ${{ toJSON(runner) }}\n        STRATEGY_CONTEXT: ${{ toJSON(strategy) }}\n        MATRIX_CONTEXT: ${{ toJSON(matrix) }}\n      run: |\n        pip list\n        env\n\n    - name: Run Unittests\n      run: |\n        python -m unittest discover test -v\n        if ${{ matrix.experimental }} == true; then\n            exit 0\n        fi\n", "state": "active", "repository": "meerk40t/meerk40t"}
{"mined_at": "2024-07-15T13:56:40.668817", "created_at": "2022-02-16T02:45:55+01:00", "updated_at": "2022-03-29T03:13:07+02:00", "name": "Meerk40t (Windows)", "path": ".github/workflows/win.yml", "contents": "# This workflow builds PyInstaller single-file executables\n# of Meerk40t for Windows\n\nname: Meerk40t (Windows)\n\non:\n  release:\n    types: [published]\n\njobs:\n  build-windows:\n    runs-on: windows-latest\n    steps:\n    - name: Checkout meerk40t\n      uses: actions/checkout@v3\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n        # Latest version of python support by Windows 7 is Python 3.8\n        architecture: x86\n        # 32-bit architecture required for libusb to connect properly\n\n    - name: Install dependencies\n      # Numpy-locked 1.23.5 on 2023-9-28, beyond this crashes in 32-bit python for Windows 7\n      run: |\n        ## pip install . establishes meerk40t as a package in pip, so that meerk40t-barcodes can find it as a dependency\n        pip install numpy==1.23.5\n        pip install pyusb\n        pip install wheel\n        pip install potracer\n        pip install pillow==9.5.0\n        pip install wxPython\n        pip install ezdxf\n        pip install pyserial\n        pip install bitarray\n        pip install scipy\n        pip install pypotrace-windows\n        pip install pyclipr\n        pip install .\n        pip install meerk40t-camera opencv-python-headless==4.5.3.56\n        pip install meerk40t-barcodes\n\n    - name: pip list\n      run: |\n          pip list\n\n    \n\n# Compile bootloaders in order to reduce virus totals\n# PYTHONHASHSEED is an attempt to get deterministic builds for VirusTotal\n    - name: Build pyinstaller, generate bootloaders\n      env:\n        PYTHONHASHSEED: 12506\n      run: |\n        git clone --depth=1 https://github.com/pyinstaller/pyinstaller\n        cd pyinstaller/bootloader\n        python3 ./waf distclean all --target-arch=32bit\n        cd ..\n        pip3 install .\n        cd ..\n\n    - name: Build MeerK40t\n      run: |\n        ## pyinstaller struggles recognizing and including imports that are dynamic (such as for the plugins)\n        ## So for build purposes, we replace the dynamic imports with the static listing that we include in builds\n        cd meerk40t\n        move external_plugins.py external_plugins.unused\n        move external_plugins_build.py external_plugins.py\n        cd ..\n\n        ## pyinstaller struggles with meerk40t.py having the same name as the package meerk40t. Rename for the build\n        move meerk40t.py mk40t.py\n        pyinstaller .github/workflows/win/meerk40t.spec\n        move mk40t.py meerk40t.py\n\n        ## Restore original configuration (not really necessary in build environment which is fresh each time)\n        ##cd meerk40t\n        ##move external_plugins.py external_plugins_build.py\n        ##move external_plugins.unused external_plugins.py\n        ##cd ..\n\n    - name: Upload Release Assets\n      id: release\n      uses: softprops/action-gh-release@v1\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        files: |\n          dist/MeerK40t.exe\n", "state": "active", "repository": "meerk40t/meerk40t"}
{"mined_at": "2024-07-15T13:56:43.468986", "created_at": "2023-08-22T11:30:42+02:00", "updated_at": "2023-08-22T11:30:42+02:00", "name": "Build and Deploy Docs", "path": ".github/workflows/build-and-deploy-docs.yml", "contents": "name: Build and Deploy Docs\non:\n  push:\n    branches:\n      - main\n      - master\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\n\njobs:\n  # Build job\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Pages\n        uses: actions/configure-pages@v3\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Compile package requirements.txt\n        run: |\n           pip install pip-tools\n           pip-compile requirements.in\n      - name: Install required packages\n        run: | \n            pip install -r requirements.txt\n            pip install furo\n      - name: Build\n        run: ./docs/build.sh\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v2\n        with:\n          path: './docs/build/html/'\n\n  # Deployment job\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n\n      # - name: Deploy\n      #   uses: JamesIves/github-pages-deploy-action@v4\n      #   with:\n      #     folder: ./docs/build/html\n      #     repository-name: OasisLMF/OasisLMF.github.io\n      #     token: ${{ secrets.BUILD_DEPLOY_TOKEN }}", "state": "active", "repository": "oasislmf/oasislmf"}
{"mined_at": "2024-07-15T13:56:44.646075", "created_at": "2023-08-02T11:55:09+02:00", "updated_at": "2023-08-22T11:30:42+02:00", "name": "Build Docs", "path": ".github/workflows/build-docs.yml", "contents": "name: Build Docs\non:\n  pull_request:\n    # build docs for all PRs targeting main\n    branches:    \n      - main\n\npermissions:\n  contents: write\n\njobs:\n  build:\n    concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Compile package requirements.txt\n        run: |\n             pip install pip-tools\n             pip-compile requirements.in\n      - name: Install required packages\n        run: |\n            pip install -r requirements.txt\n            pip install furo\n      - name: Build\n        run: ./docs/build.sh\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v2\n        with:\n          path: './docs/build/html/'", "state": "active", "repository": "oasislmf/oasislmf"}
{"mined_at": "2024-07-15T13:56:45.880066", "created_at": "2022-11-02T13:19:35+01:00", "updated_at": "2022-11-07T12:08:19+01:00", "name": "Oasislmf Build", "path": ".github/workflows/build.yml", "contents": "# Workflow for building the oasislmf python package\n#\n#  Inputs:\n#    ktools_branch: If given a git reference for the ktools repo, add in an optional\n#                    'build ktools' Job. The output binaries from that job is used to\n#                    build oasislmf instead of pulling them from a ktools release\n#\n#    build_osx: either `true`, `false`, when set to true run the steps to build an\n#                OSX python package using the mac (intel) amd64 ktool binaries.\n#                If 'ktools_branch' is not set, or the file 'Darwin_x86_64.tar.gz'\n#                has not been attached to the pinned ktools release this will fail.\n#\n#  Outputs:\n#    src_pkg_filename:  source package filename, used for downloading the stored\n#                       artifact in other related Jobs\n#\n#    linux_pkg_filename: Linux wheel package filename\n#\n#    osx_pkg_filename:  OSX wheel package filename\n#\n\nname: Oasislmf Build\n\non:\n  workflow_dispatch:\n    inputs:\n      ktools_branch:\n        description: 'If set, build ktools from scratch and use output to build package: [Branch, commit]'\n        required: false\n        default: \"\"\n      build_osx:\n        description: 'If set, build ktools from scratch and use output to build package: [true, false]'\n        required: false\n        default: \"false\"\n\n  workflow_call:\n    inputs:\n      ktools_branch:\n        description: 'If set, build ktools from scratch and use output to build package: [Branch, commit]'\n        required: false\n        default: \"\"\n        type: string\n      build_osx:\n        description: 'If set, build ktools from scratch and use output to build package: [true, false]'\n        required: false\n        default: \"false\"\n        type: string\n\n    outputs:\n      src_pkg_filename:\n        description: \"Source package filename\"\n        value: ${{ jobs.oasislmf.outputs.src_pkg_filename }}\n      linux_pkg_filename:\n        description: \"Linux package filename\"\n        value: ${{ jobs.oasislmf.outputs.linux_pkg_filename }}\n      osx_pkg_filename:\n        description: \"OSX package filename\"\n        value: ${{ jobs.oasislmf.outputs.osx_pkg_filename }}\n\njobs:\n  ktools:\n    if: inputs.ktools_branch != ''\n    uses:  OasisLMF/ktools/.github/workflows/build.yml@master\n    secrets: inherit\n    with:\n      create_ktools_builder: 'false'\n      skip_cmake: 'true'\n      ktools_branch: ${{ inputs.ktools_branch }}\n\n  oasislmf:\n    if: ${{ ! failure() || ! cancelled() }}\n    needs: [ktools]\n    runs-on: ubuntu-latest\n    outputs:\n      src_pkg_filename: ${{ steps.package_src.outputs.filename }}\n      linux_pkg_filename: ${{ steps.linux_whl.outputs.filename }}\n      osx_pkg_filename: ${{ steps.darwin_whl.outputs.filename }}\n    steps:\n    - name: Dump github context\n      run:   echo \"$GITHUB_CONTEXT\"\n      shell: bash\n      env:\n       GITHUB_CONTEXT: ${{ toJson(github) }}\n\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - run: pip install pip-tools\n\n\n    # --- Ktools setup and download --- #\n\n    # With this option set the package build will install local ktools binary tarballs\n    # stored in `KTOOLS_TAR_FILE_DIR`, rather than trying to pull a release using\n    # the pinned version tag in setup.py\n    - name: Set local ktools tar dir\n      if: inputs.ktools_branch != ''\n      run: |\n        echo \"KTOOLS_TAR_FILE_DIR=${{ github.workspace }}\" >> $GITHUB_ENV\n\n    - name: Download ktools build (Linux)\n      if: inputs.ktools_branch != ''\n      uses: actions/download-artifact@v3\n      with:\n        name: Linux_x86_64\n        path: ${{ github.workspace }}/\n\n    - name: Download ktools build (Darwin)\n      if: inputs.ktools_branch != ''\n      uses: actions/download-artifact@v3\n      with:\n        name: Darwin_x86_64\n        path: ${{ github.workspace }}/\n\n\n    # --- Source Distribution --- #\n    - name: Build - source distribution\n      run: |\n        python setup.py sdist\n        TAR_PKG=$(find ./dist/ -name \"oasislmf-*.tar.gz\")\n        echo \"PKG_SRC_PATH=${TAR_PKG}\" >> $GITHUB_ENV\n\n    - name: Store - source distribution\n      uses: actions/upload-artifact@v3\n      with:\n        name: oasislmf-source-pkg\n        path: ${{ env.PKG_SRC_PATH }}\n        retention-days: 5\n\n    - name: Filename - source distribution\n      id: package_src\n      run: |\n        FILENAME=$(find ./dist/ -name \"oasislmf-*.tar.gz\" -exec basename {} \\;)\n        echo \"filename=$FILENAME\" >> $GITHUB_OUTPUT\n\n\n    # --- Linux Distribution --- #\n    - name: Build - binary distribution (Linux)\n      run: |\n        python setup.py bdist_wheel --plat-name Linux_x86_64\n        WHL_LINUX=$(find ./dist/ -name \"oasislmf-*manylinux1_x86_64.whl\")\n        echo \"PKG_LINUX_PATH=${WHL_LINUX}\" >> $GITHUB_ENV\n\n    - name: Store - binary distribution (Linux)\n      uses: actions/upload-artifact@v3\n      with:\n        name: oasislmf-bin-pkg_linux\n        path: ${{ env.PKG_LINUX_PATH }}\n        retention-days: 5\n\n    - name: Filename - binary distribution (Linux)\n      id: linux_whl\n      run: |\n        FILENAME=$(find ./dist/ -name \"oasislmf-*manylinux1_x86_64.whl\" -exec basename {} \\;)\n        echo \"filename=$FILENAME\" >> $GITHUB_OUTPUT\n\n\n    ## --- Darwin Distribution --- #\n    - name:  Build - binary distribution (Darwin)\n      if: inputs.build_osx == 'true' || inputs.ktools_branch != ''\n      run: |\n        python setup.py bdist_wheel --plat-name Darwin_x86_64\n        WHL_OSX=$(find ./dist/ -name \"oasislmf-*macosx_10_6_intel.whl\")\n        echo \"PKG_DARWIN_PATH=${WHL_OSX}\" >> $GITHUB_ENV\n\n    - name: Store - binary distribution (Darwin)\n      if: inputs.build_osx == 'true' || inputs.ktools_branch != ''\n      uses: actions/upload-artifact@v3\n      with:\n        name: oasislmf-bin-pkg_darwin\n        path: ${{ env.PKG_DARWIN_PATH }}\n        retention-days: 5\n\n    - name: Filename - binary distribution (Darwin)\n      if: inputs.build_osx == 'true' || inputs.ktools_branch != ''\n      id: darwin_whl\n      run: |\n        FILENAME=$(find ./dist/ -name \"oasislmf-*macosx_10_6_intel.whl\" -exec basename {} \\;)\n        echo \"osx_pkg=$FILENAME\" >> $GITHUB_OUTPUT\n", "state": "active", "repository": "oasislmf/oasislmf"}
{"mined_at": "2024-07-15T13:56:46.981355", "created_at": "2022-11-08T17:47:29+01:00", "updated_at": "2022-12-20T12:45:10+01:00", "name": "Code Quality", "path": ".github/workflows/code-quality.yml", "contents": "# This workflow performs code quality checks like:\n#   - PEP8: the workflow fails if code is not PEP8 compliant\n#   - flake8: the problems identified by flake 8 are listed but the workflow\n#             presently doesn't fail if flake reports errors.\n\nname: Code Quality\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n      - stable**\n\nenv:\n  max_line_length: 150\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: install pip tools\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade pip-tools\n\n      - name: install code quality tools\n        run: pip install --upgrade autopep8 flake8\n\n      - name: Run (partial) flake8\n        if: ${{ ! cancelled() }}\n        run: flake8 --select F401,F522,F524,F541 --show-source oasislmf/\n\n      - name: check PEP8 compliance\n        if: ${{ ! cancelled() }}\n        id: autopep8\n        run: |\n          autopep8 --diff --exit-code --recursive --max-line-length ${{ env.max_line_length }} --ignore E402 .\n", "state": "active", "repository": "oasislmf/oasislmf"}
{"mined_at": "2024-07-15T13:56:48.189408", "created_at": "2022-11-03T17:00:13+01:00", "updated_at": "2022-11-07T12:08:19+01:00", "name": "Slack Message", "path": ".github/workflows/notify.yml", "contents": "# Workflow to send slack notifications to a slack channel\n#    The repo needs to have the follow slack hook urls added as secrets\n#     https://api.slack.com/messaging/webhooks\n#\n#    SLACK_WEBHOOK_URL_OASIS: Post messages to the channel '#oasis-release' (workspace CoreOasis)\n#    SLACK_WEBHOOK_URL_MEMBERS: Post messages to the channel '#oasis-release' (workspace OasisMembers)\n#\n#    If one of these hooks is not set, the job won't fail, it should instead skip that channel.\n#    To add more channels, extend the job matrix\n\nname: Slack Message\n\non:\n  workflow_call:\n    inputs:\n      heading:\n        description: 'Slack text block heading'\n        required: true\n        default: \"\"\n        type: string\n      title:\n        description: 'Title of build message'\n        required: true\n        default: \"\"\n        type: string\n      build_branch:\n        description: 'Branch which build ran on'\n        required: true\n        default: \"\"\n        type: string\n      run_url:\n        description: 'URL for Github actions run'\n        required: true\n        default: \"\"\n        type: string\n      run_id:\n        description: 'run ID of workflow run'\n        required: true\n        default: \"\"\n        type: string\n      run_status:\n        description: 'Status of run'\n        required: true\n        default: \"\"\n        type: string\n      run_date:\n        description: 'Date run was executed on'\n        required: true\n        default: \"\"\n        type: string\n\n  workflow_dispatch:\n    inputs:\n      heading:\n        description: 'Slack text block heading'\n        required: true\n        default: \"\"\n      title:\n        description: 'Title of build message'\n        required: true\n        default: \"\"\n      build_branch:\n        description: 'Branch which build ran on'\n        required: true\n        default: \"\"\n      run_url:\n        description: 'URL for Github actions run'\n        required: true\n        default: \"\"\n      run_id:\n        description: 'run ID of workflow run'\n        required: true\n        default: \"\"\n      run_status:\n        description: 'Status of run'\n        required: true\n        default: \"\"\n      run_date:\n        description: 'Date run was executed on'\n        required: true\n        default: \"\"\n\n\njobs:\n  notify:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        channel: [oasis, members] #Array of slack channels\n        include:\n        - channel: oasis\n          webhook_secret: SLACK_WEBHOOK_URL_OASIS\n        - channel: members\n          webhook_secret: SLACK_WEBHOOK_URL_MEMBERS\n\n    steps:\n    - name: Send slack message\n      id: slack\n      uses: slackapi/slack-github-action@v1.23.0\n      with:\n        # For posting a rich message using Block Kit\n        payload: |\n          {\n            \"text\": \"${{ inputs.heading }}\",\n            \"blocks\": [\n              {\n                \"type\": \"section\",\n                \"text\": {\n                  \"type\": \"mrkdwn\",\n                  \"text\": \"${{ inputs.title }}\"\n                }\n              },\n              {\n                \"type\": \"section\",\n                \"text\": {\n                  \"type\": \"mrkdwn\",\n                  \"text\": \" *build branch:* ${{ inputs.build_branch }} \\n *workflow run:* <${{ inputs.run_url }}| Build ${{ inputs.run_id }}>  \\n *build result:* ${{ inputs.run_status }} \\n *date:* ${{ inputs.run_date }}\"\n                }\n              }\n            ]\n          }\n      env:\n        SLACK_WEBHOOK_URL: ${{ secrets[matrix.webhook_secret] }}\n        SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n", "state": "active", "repository": "oasislmf/oasislmf"}
{"mined_at": "2024-07-15T13:56:49.280733", "created_at": "2022-10-28T10:09:19+02:00", "updated_at": "2023-11-09T12:01:03+01:00", "name": "PiWind MDK", "path": ".github/workflows/piwind-mdk.yml", "contents": "# Workflow to test the MDK command line works by invoking\n#   'oasislmf model run' on a piwind branch\n#\n#    The output is not checked, and will fail on either exceptions\n#    or empty output files\n\nname: PiWind MDK\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n      - stable**\n\n  workflow_dispatch:\n    inputs:\n      piwind_branch:\n        description: 'Branch to run PiWind from'\n        required: true\n        default: main\n      mdk_run_type:\n        description: 'Loss modes to test, options are one of \"[gul, il, ri]\"'\n        required: true\n        default: ri\n      ods_branch:\n        description: 'Build ods_tools package before test [git ref]'\n        required: false\n        type: string\n\njobs:\n  PiWind:\n    uses: OasisLMF/OasisPiWind/.github/workflows/run_mdk.yml@main\n    with:\n      mdk_branch: ${{ github.ref }}\n      mdk_run_type: ${{ github.event_name != 'workflow_dispatch' && 'ri' || inputs.mdk_run_type }}\n      piwind_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.piwind_branch }}\n      ods_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.ods_branch }}\n", "state": "active", "repository": "oasislmf/oasislmf"}
{"mined_at": "2024-07-15T13:56:50.358348", "created_at": "2022-11-24T14:40:18+01:00", "updated_at": "2023-07-18T10:43:31+02:00", "name": "PiWind output check", "path": ".github/workflows/piwind-test.yml", "contents": "# Workflow to remote call the PiWind output checks using\n# a branch of oasislmf\n#\n# Inputs:\n#   platform_version: The docker tag (OasisPlatfrom Release) to test the oasis stack with\n#                     SemVar string of published docker images \"1.26.4\" ({n}.{n}.{n})\n#                     default is \"latest\"\n#\n#   piwind_branch: The git reference (like branch name / Pull request) to run the PiWind tests from\n#\n#   ktools_branch: The git reference to a ktools branch, If a ktools reference is set, then\n#                  also build ktools and use the binaries when building the oasislmf package.\nname: PiWind output check\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n      - stable**\n\n  workflow_dispatch:\n    inputs:\n      platform_1_version:\n        description: 'OasisPlatform 1 - Version to test [docker tag]'\n        required: true\n        default: latest\n      platform_2_version:\n        description: 'OasisPlatform 2 - Version to test [docker tag]'\n        required: true\n        default: latest\n      piwind_branch:\n        description: 'Branch to run PiWind from [git ref]'\n        required: true\n      ktools_branch:\n        description: 'Build ktools [git ref]'\n        required: false\n      ods_branch:\n        description: 'Build ods_tools package before test [git ref]'\n        required: false\n        type: string\n\n\njobs:\n  build:\n    uses: ./.github/workflows/build.yml\n    secrets: inherit\n    with:\n      ktools_branch: ${{ github.event_name != 'workflow_dispatch' && '' ||  inputs.ktools_branch }}\n\n  ods_tools:\n    if: ${{ inputs.ods_branch != '' || github.event_name != 'workflow_dispatch' }}\n    uses: OasisLMF/ODS_Tools/.github/workflows/build.yml@main\n    secrets: inherit\n    with:\n      ods_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' ||  inputs.ods_branch }}\n\n  platform1:\n    if: ${{ ! failure() || ! cancelled() }}\n    uses: OasisLMF/OasisPiWind/.github/workflows/test.yml@main\n    secrets: inherit\n    needs: [build, ods_tools]\n    with:\n      piwind_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.piwind_branch }}\n      oasislmf_package: ${{ needs.build.outputs.linux_pkg_filename }}\n      oasislmf_branch: ''\n      ods_package: ${{ needs.ods_tools.outputs.whl_filename }}\n      platform_version: ${{ github.event_name != 'workflow_dispatch' && 'latest' ||  inputs.platform_1_version }}\n      pytest_opts: \"--docker-compose=./docker/plat2-v2.docker-compose.yml\"\n      worker_api_ver: 'v1'\n      storage_suffix: '_platform1'\n\n  platform2:\n    if: ${{ ! failure() || ! cancelled() }}\n    uses: OasisLMF/OasisPiWind/.github/workflows/test.yml@main\n    secrets: inherit\n    needs: [build, ods_tools]\n    with:\n      piwind_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' || inputs.piwind_branch }}\n      oasislmf_package: ${{ needs.build.outputs.linux_pkg_filename }}\n      oasislmf_branch: ''\n      ods_package: ${{ needs.ods_tools.outputs.whl_filename }}\n      platform_version: ${{ github.event_name != 'workflow_dispatch' && 'latest' ||  inputs.platform_2_version }}\n      pytest_opts: \"--docker-compose=./docker/plat2-v2.docker-compose.yml\"\n      worker_api_ver: 'v2'\n      storage_suffix: '_platform2'\n", "state": "active", "repository": "oasislmf/oasislmf"}
{"mined_at": "2024-07-15T13:56:51.506651", "created_at": "2023-01-09T15:33:35+01:00", "updated_at": "2023-01-09T16:38:23+01:00", "name": "Add PR to project", "path": ".github/workflows/project-PR.yml", "contents": "name: Add PR to project\non:\n  pull_request:\n    types:\n      - opened\njobs:\n  track_pr:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get project data\n        env:\n          GITHUB_TOKEN: ${{ secrets.PROJECT_ACCESS_TOKEN }}\n          ORGANIZATION: Oasislmf\n          PROJECT_NUMBER: 44\n        run: |\n          gh api graphql -f query='\n            query($org: String!, $number: Int!) {\n              organization(login: $org){\n                projectV2(number: $number) {\n                  id\n                  fields(first:20) {\n                    nodes {\n                      ... on ProjectV2Field {\n                        id\n                        name\n                      }\n                      ... on ProjectV2SingleSelectField {\n                        id\n                        name\n                        options {\n                          id\n                          name\n                        }\n                      }\n                    }\n                  }\n                }\n              }\n            }' -f org=$ORGANIZATION -F number=$PROJECT_NUMBER > project_data.json\n\n          echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV\n                    \n      - name: Add PR to project\n        env:\n          GITHUB_TOKEN: ${{ secrets.PROJECT_ACCESS_TOKEN }}\n          PR_ID: ${{ github.event.pull_request.node_id }}\n        run: |\n          item_id=\"$( gh api graphql -f query='\n            mutation($project:ID!, $pr:ID!) {\n              addProjectV2ItemById(input: {projectId: $project, contentId: $pr}) {\n                item {\n                  id\n                }\n              }\n            }' -f project=$PROJECT_ID -f pr=$PR_ID --jq '.data.addProjectV2ItemById.projectV2Item.id')\"          \n", "state": "active", "repository": "oasislmf/oasislmf"}
{"mined_at": "2024-07-15T13:56:52.660989", "created_at": "2023-01-09T16:38:23+01:00", "updated_at": "2023-01-09T16:38:23+01:00", "name": "Add issue to project", "path": ".github/workflows/project-issue.yml", "contents": "name: Add issue to project\non:\n  issues:\n    types:\n      - opened\njobs:\n  track_issue:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get project data\n        env:\n          GITHUB_TOKEN: ${{ secrets.PROJECT_ACCESS_TOKEN }}\n          ORGANIZATION: Oasislmf\n          PROJECT_NUMBER: 44\n        run: |\n          gh api graphql -f query='\n            query($org: String!, $number: Int!) {\n              organization(login: $org){\n                projectV2(number: $number) {\n                  id\n                  fields(first:20) {\n                    nodes {\n                      ... on ProjectV2Field {\n                        id\n                        name\n                      }\n                      ... on ProjectV2SingleSelectField {\n                        id\n                        name\n                        options {\n                          id\n                          name\n                        }\n                      }\n                    }\n                  }\n                }\n              }\n            }' -f org=$ORGANIZATION -F number=$PROJECT_NUMBER > project_data.json\n\n          echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV\n                    \n      - name: Add issue to project\n        env:\n          GITHUB_TOKEN: ${{ secrets.PROJECT_ACCESS_TOKEN }}\n          ISSUE_ID: ${{ github.event.issue.node_id }}\n        run: |\n          item_id=\"$( gh api graphql -f query='\n            mutation($project:ID!, $issue:ID!) {\n              addProjectV2ItemById(input: {projectId: $project, contentId: $issue}) {\n                item {\n                  id\n                }\n              }\n            }' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectV2ItemById.projectV2Item.id')\"   \n", "state": "active", "repository": "oasislmf/oasislmf"}
{"mined_at": "2024-07-15T13:56:53.720286", "created_at": "2022-11-02T16:51:05+01:00", "updated_at": "2022-11-07T12:08:19+01:00", "name": "Oasislmf Release", "path": ".github/workflows/publish.yml", "contents": "# Workflow to manage the GitHub release for OasisLMF (CD)\n#   Tags, builds, creates a GitHub release and uploads to pypi\n#\n# inputs:\n#   release_tag: The SemVar release tag to publish as format - [{n}.{n}.{n}] e.g. 3.0.0,\n#                where 'n' is an int.  For Pre-Releases the format is  [{n}.{n}.{n}rc{n}]\n#                If the tag format is not followed the workflow fails.\n#\n#\n#   prev_release_tag: When building the release notes and changelogs, this is the tag to start listing\n#                     changes from. so if (prev_release_tag=1.26.3, release_tag=1.26.5)\n#\n#                     the changelogs will document all PRs between the exisiting tag '1.26.3' and the\n#                     newly created tag '1.26.5'\n#\n#   pre_release: Either 'true', 'false', if set to true then the release is marked as a pre-release and the version\n#                tag must be formatted as \"{n}.{n}.{n}rc{n}\"\n#\n#   build_osx: Either 'true', 'false', optional setting to build and upload an OSX python package (intel support only)\n\nname: Oasislmf Release\n\non:\n  workflow_dispatch:\n    inputs:\n      release_tag:\n        description: 'Release tag, for release [semvar]'\n        required: true\n\n      prev_release_tag:\n        description: 'The previous oasislmf release version [semvar]'\n        required: true\n\n      pre_release:\n        description: 'Mark GitHub release as pre-release [true, false]'\n        required: true\n        default: 'false'\n\n      build_osx:\n        description: 'Build OSX package package [true, false]'\n        required: false\n        default: 'false'\n\n\nenv:\n  WORKSPACE: ${{ github.workspace }}/OasisLMF\n  RELEASE_TAG: ${{ inputs.release_tag }}\n  PREV_RELEASE_TAG: ${{ inputs.prev_release_tag }}\n  PRE_RELEASE: ${{ inputs.pre_release }}\n\n\njobs:\n  update:\n    uses: ./.github/workflows/version.yml\n    secrets: inherit\n    with:\n      oasislmf_version: ${{ inputs.release_tag }}\n\n  build:\n    uses: ./.github/workflows/build.yml\n    secrets: inherit\n    needs: update\n    with:\n      build_osx: ${{ inputs.build_osx }}\n\n  release:\n    runs-on: ubuntu-latest\n    needs: build\n    outputs:\n      heading: ${{ steps.slack_vars.outputs.heading }}\n      title: ${{ steps.slack_vars.outputs.title }}\n      build_branch: ${{ steps.slack_vars.outputs.branch }}\n      run_url: ${{ steps.slack_vars.outputs.run_url }}\n      run_id: ${{ steps.slack_vars.outputs.run_id }}\n      run_status: ${{ steps.slack_vars.outputs.run_status }}\n      run_date: ${{ steps.slack_vars.outputs.run_date }}\n\n    steps:\n    # --- Pre Publish checks --- #\n    - name: check branchname is valid for release\n      if: ${{ !startsWith(github.ref_name , 'release/') && !startsWith(github.ref_name, 'stable/') }}\n      run: |\n        echo \"Releases must be trigged on branchs 'release/x.x.x' or 'stable/x.x.x' \"\n        exit 1\n\n    - name: Check tag is valid for release\n      if: env.PRE_RELEASE == 'false'\n      run: |\n        VALID=$(echo ${{ env.RELEASE_TAG }} | grep -oPc \"^(\\d+)\\.(\\d+)\\.(\\d+)$\")\n        if [[ ! \"$VALID\" == 1 ]]; then\n            echo \"Release Tag ${{ env.RELEASE_TAG }} is not valid\"\n            exit 1\n        fi\n\n    - name: Check tag is valid for pre-release\n      if: env.PRE_RELEASE == 'true'\n      run: |\n        VALID=$(echo ${{ env.RELEASE_TAG }} | grep -oPc \"^(\\d+)\\.(\\d+)\\.(\\d+)rc(\\d+)$\")\n        if [[ ! \"$VALID\" == 1 ]]; then\n            echo \"Release Tag ${{ env.RELEASE_TAG }} is not valid\"\n            exit 1\n        fi\n\n    - name: Checkout\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 0 # fetch the whole repo for complete history\n        ref: ${{ github.ref_name }}\n        path: ${{ env.WORKSPACE }}\n\n    - name: Check tag matches version set\n      working-directory: ${{ env.WORKSPACE }}\n      run: |\n       BUILD_VER=$(grep '__version__' oasislmf/__init__.py | awk -F\"'\" '{print $2}')\n       RELEASE_VER=${{ env.RELEASE_TAG }}\n       [[ \"$RELEASE_VER\" = \"$BUILD_VER\" ]] && ERROR_CODE=0 || ERROR_CODE=1\n       if [[ \"$ERROR_CODE\" == 1 ]]; then\n           echo \"PACKAGE_VER: $BUILD_VER stored in 'oasislmf/__init__.py' dosn't match RELEASE_TAG: $RELEASE_VER\" && exit $ERROR_CODE\n       fi\n\n    - name: Test package names\n      run: |\n        ERROR_CODE=0\n        SRC_VER=$(echo ${{ needs.build.outputs.src_pkg_filename }} | grep -oP \"(\\d+)\\.(\\d+)\\.(\\d+)rc(\\d+)|(\\d+)\\.(\\d+)\\.(\\d+)\")\n        BIN_VER=$(echo ${{ needs.build.outputs.linux_pkg_filename }} | grep -oP \"(\\d+)\\.(\\d+)\\.(\\d+)rc(\\d+)|(\\d+)\\.(\\d+)\\.(\\d+)\")\n        [[ \"${{ env.RELEASE_TAG }}\" = \"$SRC_VER\" ]] || ERROR_CODE=1\n        [[ \"${{ env.RELEASE_TAG }}\" = \"$BIN_VER\" ]] || ERROR_CODE=1\n        if [[ \"$ERROR_CODE\" == 1 ]]; then\n            echo \"Package names don't match release tag.\"\n            echo \"  RELEASE_TAG: ${{ env.RELEASE_TAG }}\"\n            echo \"  PACKAGES: ${{ needs.build.outputs.src_pkg_filename }}, ${{ needs.build.outputs.linux_pkg_filename }}\"\n            exit $ERROR_CODE\n        fi\n\n    # --- Setup Changelog builder script --- #\n    - name: Setup github user\n      run: |\n        git config --global user.email ${{ env.GIT_EMAIL }}\n        git config --global user.name ${{ env.GIT_USERNAME }}\n        git config --global pull.ff only\n      env:\n        GIT_EMAIL: ${{ secrets.BUILD_GIT_EMAIL }}\n        GIT_USERNAME: ${{ secrets.BUILD_GIT_USERNAME }}\n\n    - name: Tag Release\n      working-directory: ${{ env.WORKSPACE }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n      run: |\n        git checkout ${{ github.ref_name }}\n        git tag ${{ env.RELEASE_TAG }}\n\n    - name: Setup python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n\n    - name: Setup Changelog builder\n      run: |\n        BRANCH='main'\n        BASE_URL=\"https://raw.githubusercontent.com/OasisLMF/OasisPlatform/$BRANCH/scripts\"\n        pip install -r $BASE_URL/requirments-changelog.txt\n        wget $BASE_URL/update-changelog.py\n        chmod +x update-changelog.py\n\n    - name: Setup Twine\n      working-directory: ${{ github.workspace }}\n      run: pip install twine\n\n    - name: Create changelog\n      working-directory: ${{ env.WORKSPACE }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n      run: |\n        ${{ github.workspace }}/update-changelog.py build-changelog \\\n          --repo ${{ github.event.repository.name }} \\\n          --from-tag ${{ env.PREV_RELEASE_TAG }} \\\n          --to-tag ${{ env.RELEASE_TAG }} \\\n          --github-token ${{ secrets.BUILD_GIT_TOKEN }} \\\n          --local-repo-path ./ \\\n          --output-path ./CHANGELOG.rst \\\n          --apply-milestone\n        git add ./CHANGELOG.rst\n        git commit -m 'Update changelog'\n\n    - name: Create Release notes\n      working-directory: ${{ env.WORKSPACE }}\n      run: |\n        ${{ github.workspace }}/update-changelog.py build-release \\\n          --repo ${{ github.event.repository.name }} \\\n          --from-tag ${{ env.PREV_RELEASE_TAG }} \\\n          --to-tag ${{ env.RELEASE_TAG }} \\\n          --github-token ${{ secrets.BUILD_GIT_TOKEN }} \\\n          --local-repo-path ./ \\\n          --output-path ./RELEASE.md\n\n    - name: Download Source package\n      uses: actions/download-artifact@v3\n      with:\n        name: oasislmf-source-pkg\n        path: ${{ github.workspace }}/\n\n    - name: Download Linux package\n      uses: actions/download-artifact@v3\n      with:\n        name: oasislmf-bin-pkg_linux\n        path: ${{ github.workspace }}/\n\n    - name: Download OSX package\n      if: needs.build.outputs.osx_pkg_filename != ''\n      uses: actions/download-artifact@v3\n      with:\n        name: oasislmf-bin-pkg_darwin\n        path: ${{ github.workspace }}/\n\n    # --- Create Release --- #\n    - name: Push changes\n      working-directory: ${{ env.WORKSPACE }}\n      run: |\n        git push origin ${{ env.RELEASE_TAG  }}\n        git push\n\n    - name: Create Release\n      id: create_release\n      uses: actions/create-release@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n      with:\n        tag_name: ${{ env.RELEASE_TAG }}\n        release_name: Release ${{ env.RELEASE_TAG }}\n        body_path: ${{ env.WORKSPACE }}/RELEASE.md\n        draft: false\n        prerelease: ${{ env.PRE_RELEASE }}\n\n    # --- Attach build assest --- #\n    - name: Upload Source package\n      id: upload-source-release-asset\n      uses: actions/upload-release-asset@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n      with:\n        upload_url: ${{ steps.create_release.outputs.upload_url }}\n        asset_path: ${{ github.workspace }}/${{ needs.build.outputs.src_pkg_filename }}\n        asset_name: ${{ needs.build.outputs.src_pkg_filename }}\n        asset_content_type: application/octet-stream\n\n    - name: Upload Linux package\n      id: upload-linux-release-asset\n      uses: actions/upload-release-asset@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n      with:\n        upload_url: ${{ steps.create_release.outputs.upload_url }}\n        asset_path: ${{ github.workspace }}/${{ needs.build.outputs.linux_pkg_filename }}\n        asset_name: ${{ needs.build.outputs.linux_pkg_filename }}\n        asset_content_type: application/octet-stream\n\n    - name: Upload OSX package\n      if: needs.build.outputs.osx_pkg_filename != ''\n      id: upload-osx-release-asset\n      uses: actions/upload-release-asset@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n      with:\n        upload_url: ${{ steps.create_release.outputs.upload_url }}\n        asset_path: ${{ github.workspace }}/${{ needs.build.outputs.osx_pkg_filename }}\n        asset_name: ${{ needs.build.outputs.osx_pkg_filename }}\n        asset_content_type: application/octet-stream\n\n    # --- Publish to Pypi --- #\n    - name: PYPI - Source package\n      run: twine upload ${{ needs.build.outputs.src_pkg_filename }}\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n\n    - name: PYPI - Linux package\n      run: twine upload ${{ needs.build.outputs.linux_pkg_filename }}\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n\n    - name: PYPI - OSX package\n      if: needs.build.outputs.osx_pkg_filename != ''\n      run: twine upload ${{ needs.build.outputs.osx_pkg_filename }}\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n\n    # --- Slack notify --- #\n    - name: slack message vars\n      id: slack_vars\n      run: |\n        HEAD=$(echo \"*${{ github.event.repository.name}} Release* (${{ env.RELEASE_TAG }})\")\n        DATE=$(date)\n        TITLE=$(echo \"• <https://github.com/${{ github.repository }}/releases/tag/${{ env.RELEASE_TAG }}|${{ github.event.repository.name }} ${{ env.RELEASE_TAG }} - Release Notes>\")\n        JOB_URL=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        echo \"heading=$HEAD\" >> $GITHUB_OUTPUT\n        echo \"run_date=$DATE\" >> $GITHUB_OUTPUT\n        echo \"title=$TITLE\" >> $GITHUB_OUTPUT\n        echo \"run_url=$JOB_URL\" >> $GITHUB_OUTPUT\n        echo \"run_id=${{ github.run_id }}\"  >> $GITHUB_OUTPUT\n        echo \"branch=${{ github.ref_name }}\" >> $GITHUB_OUTPUT\n        echo \"run_status=${{ job.status }}\" >> $GITHUB_OUTPUT\n\n  # --- Notify Slack --- #\n  slack:\n    uses: ./.github/workflows/notify.yml\n    secrets: inherit\n    needs: release\n    with:\n      heading: ${{ needs.release.outputs.heading }}\n      title: ${{ needs.release.outputs.title }}\n      build_branch: ${{ needs.release.outputs.build_branch }}\n      run_url: ${{ needs.release.outputs.run_url }}\n      run_id: ${{ needs.release.outputs.run_id }}\n      run_status: ${{ needs.release.outputs.run_status }}\n      run_date: ${{ needs.release.outputs.run_date }}\n", "state": "active", "repository": "oasislmf/oasislmf"}
{"mined_at": "2024-07-15T13:56:54.986055", "created_at": "2022-11-02T17:20:55+01:00", "updated_at": "2024-01-15T11:47:57+01:00", "name": "Oasislmf Testing", "path": ".github/workflows/unittest.yml", "contents": "# Workflow to run the package unit tests on multiple python versions (CI)\n#\n#  inputs:\n#    ktools_branch: If set, build ktools from scratch and use output to build package\n#                   These new ktools binaries, will be used when testing the oasislmf\n#                   instead of the pinned ktools version\n\nname: Oasislmf Testing\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n      - stable**\n  workflow_dispatch:\n    inputs:\n      ktools_branch:\n        description: \"Build Ktools before tests: [git ref]\"\n        required: false\n\n      ods_branch:\n        description: \"Git install ods_tools branch before tests: [git ref]\"\n        required: false\n\njobs:\n  build:\n    uses: ./.github/workflows/build.yml\n    secrets: inherit\n    with:\n      ktools_branch: ${{ inputs.ktools_branch }}\n\n  ods_tools:\n    if: ${{ inputs.ods_branch != '' || github.event_name != 'workflow_dispatch' }}\n    uses: OasisLMF/ODS_Tools/.github/workflows/build.yml@main\n    secrets: inherit\n    with:\n      ods_branch: ${{ github.event_name != 'workflow_dispatch' && 'main' ||  inputs.ods_branch }} # Enable 'ods-tools' build by default\n\n  unittest:\n    if: ${{ ! failure() || ! cancelled() }}\n    runs-on: ubuntu-latest\n    needs: [build, ods_tools]\n    strategy:\n      matrix:\n        cfg:\n          - { python-version: \"3.8\", pkg-version: \"\", upload-cov: false }\n          - { python-version: \"3.9\", pkg-version: \"\", upload-cov: false }\n          - { python-version: \"3.10\", pkg-version: \"\", upload-cov: false }\n          - { python-version: \"3.11\", pkg-version: \"\", upload-cov: false }\n          - { python-version: \"3.12\", pkg-version: \"\", upload-cov: false }\n          - { python-version: \"3.11\", pkg-version: \"\", upload-cov: true }\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.cfg.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.cfg.python-version }}\n\n      - name: Install pip-tools\n        run: |\n          python -m pip install --upgrade pip\n          pip install pip-tools\n\n      - name: Set pip resolver flag\n        if: matrix.cfg.python-version == 3.7\n        run: |\n          echo \"PIP_RESOLVER=--resolver=backtracking\" >> $GITHUB_ENV\n      - name: Pip Compile\n        run: |\n          rm -f requirements.txt\n          if [ -z \"${{ matrix.cfg.pkg-version }}\" ]; then\n            pip-compile requirements.in -o requirements.txt ${PIP_RESOLVER}\n          else\n            pip-compile --upgrade-package \"${{ matrix.cfg.pkg-version }}\" requirements.in -o requirements.txt ${PIP_RESOLVER}\n          fi\n          pip install -r requirements.txt\n\n      - name: Download package\n        if: matrix.cfg.upload-cov != true\n        uses: actions/download-artifact@v3\n        with:\n          name: oasislmf-bin-pkg_linux\n          path: ${{ github.workspace }}/\n\n      - name: Install Package (From Package)\n        if: matrix.cfg.upload-cov != true\n        run: |\n          pip install ${{ needs.build.outputs.linux_pkg_filename }}\n\n      - name: Install Oasislmf (Editable mode)\n        if: matrix.cfg.upload-cov == true\n        run: |\n          pip install -v -e .\n\n      - name: download ods_tools\n        if: needs.ods_tools.outputs.whl_filename != ''\n        uses: actions/download-artifact@v3\n        with:\n          name: bin_package\n          path: ${{ github.workspace }}/\n\n      - name: install ods_tools\n        if: needs.ods_tools.outputs.whl_filename != ''\n        run: |\n          pip uninstall ods_tools -y\n          pip install ${{ needs.ods_tools.outputs.whl_filename }}\n\n      - name: run pytest (JIT enabled)\n        if: matrix.cfg.upload-cov != true\n        run: pytest -p no:flaky --ignore=fm_testing_tool --ignore=validation --cov-config=tox.ini --cov=oasislmf --cov-report=xml --cov-report=term\n\n      - name: run pytest (JIT disabled)\n        if: matrix.cfg.upload-cov == true\n        run: pytest -p no:flaky --ignore=fm_testing_tool --ignore=validation --cov-config=tox.ini --cov=oasislmf --cov-report=xml --cov-report=term --gul-rtol 1e-3 --gul-atol 1e-3\n        env:\n          NUMBA_DISABLE_JIT: 1\n\n      - name: Upload coverage to Codecov\n        if: matrix.cfg.upload-cov == true\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage.xml\n", "state": "active", "repository": "oasislmf/oasislmf"}
{"mined_at": "2024-07-15T13:56:56.050508", "created_at": "2022-11-04T10:25:55+01:00", "updated_at": "2022-11-07T12:08:19+01:00", "name": "Oasislmf Version", "path": ".github/workflows/version.yml", "contents": "# Workflow to update the version tags in the oasislmf repo\n#\n#  inputs:\n#    ktools_version: Update the pinned ktools version stored in setup.py\n#                    Note: (without the \"v\") so for the ktools release v3.0.0, input '3.0.0'\n#\n#    oasislmf_version: Update the package version stored in __init__.py\n\nname: Oasislmf Version\n\non:\n  workflow_dispatch:\n    inputs:\n      ktools_version:\n        description: 'Update the ktools version [semvar]'\n        required: false\n        default: \"\"\n      oasislmf_version:\n        description: 'Update the package version [semvar]'\n        required: false\n        default: \"\"\n\n  workflow_call:\n    inputs:\n      ktools_version:\n        description: 'Update the ktools version'\n        required: false\n        default: \"\"\n        type: string\n      oasislmf_version:\n        description: 'Update the package version'\n        required: false\n        default: \"\"\n        type: string\n\nenv:\n  ktools_file: 'setup.py'\n  ktools_regex: '^KTOOLS_VERSION'\n\n  oasislmf_file: 'oasislmf/__init__.py'\n  oasislmf_regex: '^__version__'\n\n\njobs:\n  version:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Check input is valid semvar (Ktools)\n      if: inputs.ktools_version != ''\n      run: |\n        VALID=$(echo ${{ inputs.ktools_version }} | grep -oPc \"^(\\d+)\\.(\\d+)\\.(\\d+)rc(\\d+)|(\\d+)\\.(\\d+)\\.(\\d+)$\")\n        [[ \"$VALID\" -eq \"1\" ]] || exit 1\n\n    - name: Check input is valid semvar (Oasislmf)\n      if: inputs.oasislmf_version != ''\n      run: |\n        VALID=$(echo ${{ inputs.oasislmf_version }} | grep -oPc \"^(\\d+)\\.(\\d+)\\.(\\d+)rc(\\d+)|(\\d+)\\.(\\d+)\\.(\\d+)$\")\n        [[ \"$VALID\" -eq \"1\" ]] || exit 1\n\n    - name: Checkout\n      if: inputs.ktools_version != '' ||  inputs.oasislmf_version != ''\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 0 # fetch the whole repo for complete history\n\n    - name: Setup github user\n      if: inputs.ktools_version != '' ||  inputs.oasislmf_version != ''\n      run: |\n        git config --global user.email ${{ env.GIT_EMAIL }}\n        git config --global user.name ${{ env.GIT_USERNAME }}\n        git config --global pull.ff only\n      env:\n        GIT_EMAIL: ${{ secrets.BUILD_GIT_EMAIL }}\n        GIT_USERNAME: ${{ secrets.BUILD_GIT_USERNAME }}\n\n    - name: Write ktools version\n      if: inputs.ktools_version != ''\n      run: |\n        CURRENT_VER=$(grep ${{ env.ktools_regex }} ${{ env.ktools_file }} | awk -F\"'\" '{print $2}')\n        sed -i 's|'$CURRENT_VER'|'${{ inputs.ktools_version }}'|g' ${{ env.ktools_file }}\n        git add ${{ env.ktools_file }}\n        # Only commit if something changed\n        [[ -z $(git status -s) ]] || git commit -m \"Set Ktools to version ${{ inputs.ktools_version }}\"\n\n    - name: Write oasislmf version\n      if: inputs.oasislmf_version != ''\n      run: |\n        CURRENT_VER=$(grep ${{ env.oasislmf_regex }} ${{ env.oasislmf_file }} | awk -F\"'\" '{print $2}')\n        sed -i 's|'$CURRENT_VER'|'${{ inputs.oasislmf_version }}'|g' ${{ env.oasislmf_file }}\n        git add ${{ env.oasislmf_file }}\n        # Only commit if something changed\n        [[ -z $(git status -s) ]] || git commit -m \"Set oasislmf to version ${{ inputs.oasislmf_version }}\"\n\n    - name: Push\n      if: inputs.ktools_version != '' ||  inputs.oasislmf_version != ''\n      run: git push\n      env:\n        GITHUB_TOKEN: ${{ secrets.BUILD_GIT_TOKEN }}\n", "state": "active", "repository": "oasislmf/oasislmf"}
{"mined_at": "2024-07-15T13:56:58.132646", "created_at": "2024-03-12T20:42:14+01:00", "updated_at": "2024-03-12T20:42:14+01:00", "name": "Publish Docker image", "path": ".github/workflows/docker-image.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# GitHub recommends pinning actions to a commit SHA.\n# To get a newer version, you will need to update the SHA.\n# You can also reference a tag or branch, but the action may change without warning.\n\nname: Publish Docker image\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker Hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7\n        with:\n          images: jblance/mppsolar\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671\n        with:\n          context: .\n          file: ./Dockerfile\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "jblance/mpp-solar"}
{"mined_at": "2024-07-15T13:56:59.176333", "created_at": "2024-03-12T20:42:14+01:00", "updated_at": "2024-03-12T20:42:14+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build --wheel\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "jblance/mpp-solar"}
{"mined_at": "2024-07-15T13:57:01.313679", "created_at": "2022-10-19T16:43:17+02:00", "updated_at": "2022-10-19T16:43:17+02:00", "name": "Check & Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Check & Deploy\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  check-and-deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout git repository\n        uses: actions/checkout@v2\n        with:\n          submodules: true\n          path: _src/\n\n      - name: Install Python dependencies\n        run: |\n          pushd _src\n          pip install .[sampling,plotting,testing]\n          pip install pytest\n          popd\n\n      - name: Test with pytest\n        run: |\n          pushd _src\n          pytest\n          popd\n\n      - name: Verify release version matches source code version\n        shell: bash\n        run: |\n          pushd _src\n          export TAG_VERSION=${GITHUB_REF##refs/tags/v}\n          export SRC_VERSION=$(python3 -c \"from flavio._version import __version__; print(__version__)\")\n          if [[ ${TAG_VERSION} != ${SRC_VERSION} ]] ; then\n            echo \"tag/release version and source code version disagree, exiting\"\n            exit 1\n          fi\n          popd\n\n      - name: Build bdist\n        shell: bash\n        run: |\n          mkdir dist\n          pushd _src\n          python3 ./setup.py sdist -d ../dist/\n          python3 ./setup.py bdist_wheel -d ../dist/\n          popd\n          \n      - name: Test installing the wheel\n        shell: bash\n        run: |\n          python3 -m pip install dist/flavio-*.whl\n          \n      - name: Upload build as artifact\n        uses: actions/upload-artifact@v1\n        with:\n          name: flavio-dist-${{ github.sha }}\n          path: dist\n\n      - name: Upload to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user:     ${{ secrets.TWINE_USERNAME }}\n          password: ${{ secrets.TWINE_PASSWORD }}\n", "state": "active", "repository": "flav-io/flavio"}
{"mined_at": "2024-07-15T13:57:02.341262", "created_at": "2022-02-22T19:04:20+01:00", "updated_at": "2022-10-19T16:43:17+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9, '3.10']\n    steps:\n      - name: Checkout git repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Python dependencies\n        run: |\n          pip install .[sampling,plotting,testing]\n          pip install pytest\n\n      - name: Test with pytest\n        run: |\n          pytest\n", "state": "active", "repository": "flav-io/flavio"}
{"mined_at": "2024-07-15T13:57:05.532237", "created_at": "2020-01-15T16:11:55+01:00", "updated_at": "2022-06-23T15:59:28+02:00", "name": "Check URLs", "path": ".github/workflows/urlchecker.yml", "contents": "name: Check URLs\n\non:\n  push:\n    branches: [devel]\n  pull_request:\n    branches: [devel]\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  urlcheck:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: URLs-checker\n      uses: urlstechie/urlchecker-action@0.0.34\n      with:\n        # check this subfolder only\n        subfolder: docs\n\n        # clone devel\n        branch: devel\n        # A comma-separated list of file types to cover in the URL checks\n        file_types: .md,.py,.rst\n\n        # Choose whether to include file with no URLs in the prints.\n        print_all: false\n\n        # timeout in 10 seconds if url is not reached\n        timeout: 10\n\n        # How many times to retry a failed request (defaults to 1)\n        retry_count: 5\n\n        # Cannot check private GitHub settings\n        exclude_patterns: https://github.com/buildtesters/buildtest/settings,https://hpckp.org/past-edition/hpckp-17/,https://hpckp.org/past-edition/hpckp-18,https://sc19.supercomputing.org/presentation/?id=bof195&sess=sess324,https://sc19.supercomputing.org/,https://trac.mcs.anl.gov/projects/cobalt,https://cache.e4s.io,https://readthedocs.org/accounts/signup/,http://localhost:9000,https://www.hpcwire.com/2019/01/17/pfizer-hpc-engineer-aims-to-automate-software-stack-testing/,https://my.cdash.org/\n        \n        verbose: true\n", "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:06.651939", "created_at": "2020-09-09T06:07:29+02:00", "updated_at": "2020-09-09T06:07:29+02:00", "name": "regressiontest", "path": ".github/workflows/regression.yml", "contents": "name: regressiontest\n\non:\n  pull_request:\n    branches: [devel]\n    paths:\n      - 'buildtest/**'\n      - 'tests/**'\n      - '.github/workflows/regression.yml'\n      - 'requirements.txt'\n      - 'pyproject.toml'\n\njobs:\n\n  buildtest_regtest:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n\n      matrix:\n        os: [macos-latest, macos-13, ubuntu-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Run buildtest unittests for os - ${{ matrix.os }}, python version - ${{ matrix.python-version }}\n      env:\n        OS: ${{ matrix.os }}\n      shell: bash\n      run: |\n        if [ $OS = \"ubuntu-latest\"  ] ; then sudo apt-get install -y csh tcsh zsh && sudo add-apt-repository ppa:kelleyk/emacs && sudo apt-get install -y emacs28; else brew install tcsh zsh emacs ;  fi\n        cat /etc/shells\n        source setup.sh\n        pip install pytest\n        pip install coverage\n        python $BUILDTEST_ROOT/buildtest/tools/unittests.py -c\n        returncode=$?\n        if [ $returncode != 0 ]; then exit $returncode; fi\n        buildtest cdash upload --site=github unittests\n\n    - name: Setup tmate session\n      if: ${{ failure() }}\n      uses: mxschmitt/action-tmate@v3\n      timeout-minutes: 30\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        verbose: true\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:07.903739", "created_at": "2021-02-02T20:56:15+01:00", "updated_at": "2021-02-02T21:01:34+01:00", "name": "installation", "path": ".github/workflows/installation.yml", "contents": "name: installation\n\non:\n  pull_request:\n    branches: [devel]\n\n\njobs:\n\n  buildtest-installation:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, macos-13, ubuntu-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: \"Install Zsh and Tcsh\"\n      run: |\n        if [[ ${{ matrix.os }} == 'ubuntu-latest' ]]; then\n          sudo apt-get install -y tcsh zsh\n        else\n          brew install tcsh zsh\n        fi\n    - name: Buildtest Installation for os - ${{ matrix.os }}, python version - ${{ matrix.python-version }}, shell - bash\n      env:\n        OS: '${{ matrix.os }}'\n      shell: bash\n      run: |        \n        echo \"$SHELL\"        \n        pip install -U pip                \n        source setup.sh        \n        which buildtest\n        buildtest --help\n\n    - name: Buildtest Installation for os - ${{ matrix.os }}, python version - ${{ matrix.python-version }}, shell - zsh\n      env:\n        OS: '${{ matrix.os }}'\n      shell: zsh {0}\n      run: |        \n        echo \"$SHELL\"        \n        pip install -U pip                \n        source setup.sh        \n        which buildtest\n        buildtest --help\n\n    - uses: actions/checkout@v4\n    - name: Setup tmate session\n      if: ${{ failure() }}\n      uses: mxschmitt/action-tmate@v3\n      timeout-minutes: 30\n", "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:08.965885", "created_at": "2021-12-08T05:19:08+01:00", "updated_at": "2021-12-08T05:19:38+01:00", "name": "Build Container", "path": ".github/workflows/build_container.yml", "contents": "name: Build Container\n\non:\n  pull_request:\n    branches: [devel]\n\njobs:  \n  build_container:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      \n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n      \n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Log in to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5\n        with:\n          tags: ghcr.io/buildtesters/buildtest_spack:spack-sc23\n          context: scripts/spack_container\n          push: true\n", "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:09.985663", "created_at": "2021-12-08T06:28:49+01:00", "updated_at": "2021-12-08T06:30:26+01:00", "name": "Regression Test in Container", "path": ".github/workflows/tutorials_regression_test.yml", "contents": null, "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:11.021625", "created_at": "2022-01-23T23:18:19+01:00", "updated_at": "2022-01-23T23:18:19+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:12.049021", "created_at": "2023-02-10T19:34:23+01:00", "updated_at": "2023-02-11T01:11:18+01:00", "name": "Nightly Regression Test", "path": ".github/workflows/nightly_regression.yml", "contents": "name: Nightly Regression Test\n\non:\n \n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n\n  buildtest_nightly_regression_test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n\n      matrix:\n        os: [macos-latest, macos-13, ubuntu-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Run buildtest unittests for os - ${{ matrix.os }}, python version - ${{ matrix.python-version }}\n      env:\n        OS: ${{ matrix.os }}\n      shell: bash\n      run: |\n        if [ $OS = \"ubuntu-latest\"  ] ; then sudo apt-get install -y csh tcsh zsh && sudo add-apt-repository ppa:kelleyk/emacs && sudo apt-get install -y emacs28; else brew install tcsh zsh emacs ;  fi\n        cat /etc/shells\n        source setup.sh\n        pip install pytest\n        pip install coverage\n        python $BUILDTEST_ROOT/buildtest/tools/unittests.py -c\n        returncode=$?\n        if [ $returncode != 0 ]; then exit $returncode; fi\n        buildtest cdash upload --site=github nightly-$(date)\n\n    - name: Setup tmate session\n      if: ${{ failure() }}\n      uses: mxschmitt/action-tmate@v3\n      timeout-minutes: 30\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        verbose: true\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:13.097678", "created_at": "2023-02-10T19:58:57+01:00", "updated_at": "2023-02-13T18:41:18+01:00", "name": "Style Checks", "path": ".github/workflows/style.yml", "contents": "name: Style Checks\n\non:\n  push:\n    branches:\n      - master\n      - devel\n  pull_request:\n    branches:\n      - master\n      - devel\n\njobs:\n  style_checks:\n    runs-on: ubuntu-latest\n    steps:\n\n      # use isort github action see\n      #https://pycqa.github.io/isort/docs/configuration/github_action.html\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5.0.0\n        with:\n          python-version: 3.8\n\n      - name: Check imports with pyflakes\n        run: |\n          pip install pyflakes\n          pyflakes buildtest tests scripts\n\n      - name: Running isort check\n        uses: jamescurtin/isort-action@master\n        with:\n          #requirementsFiles: \"requirements.txt docs/requirements.txt\"\n          sortPaths: \"buildtest tests docs\"\n\n      - name: Running black check\n      # use black github action see\n      #https://black.readthedocs.io/en/stable/integrations/github_actions.html\n        uses: psf/black@stable\n        with:\n          options: \"--check --verbose\"\n          src: \"buildtest tests scripts\"\n\n      - name: Run yamllint\n        run: |\n          pip install yamllint\n          yamllint -c .yamllint.yml .github .gitlab buildtest tests docs\n", "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:14.148818", "created_at": "2023-02-13T15:58:30+01:00", "updated_at": "2023-02-13T18:41:18+01:00", "name": "Shell Check", "path": ".github/workflows/shellcheck.yml", "contents": "name: Shell Check\n\non:\n  push:\n    branches:\n      - devel\n  pull_request:\n    branches:\n      - devel\n\njobs:\n  style_checks:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n      - name: Run Shell Check\n        run: |\n          sudo apt-get install -y shellcheck\n          shellcheck --version\n          shellcheck -x  setup.sh scripts/spack_container/*.sh\n", "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:15.195402", "created_at": "2023-09-29T17:29:52+02:00", "updated_at": "2024-06-28T21:12:35+02:00", "name": "Regression Test in Container", "path": ".github/workflows/regressiontest_container.yml", "contents": null, "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:16.244306", "created_at": "2023-11-13T16:37:43+01:00", "updated_at": "2023-11-13T19:55:09+01:00", "name": "regressiontest", "path": ".github/workflows/cli_tutorial_check.yml", "contents": "name: regressiontest\n\non:\n  pull_request:\n    branches: [devel]\n\njobs:\n\n  commandline_tutorial_check:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: 3.8\n\n      - name: Buildtest CLI Check\n        shell: bash\n        run: |\n          sudo apt-get install -y csh tcsh zsh\n          source setup.sh\n          # tutorial check\n          bash .github/workflows/cli.sh\n", "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:17.293292", "created_at": "2024-02-26T17:53:22+01:00", "updated_at": "2024-02-26T18:57:20+01:00", "name": "Regression Test with Spack Support", "path": ".github/workflows/spack_regression_test.yml", "contents": "name: Regression Test with Spack Support\n\non:\n  pull_request:\n    branches: [devel]\n    paths:\n      - 'buildtest/**'\n      - 'tests/**'\n      - '.github/workflows/spack_regression_test.yml'\n      - 'requirements.txt'\n      - 'pyproject.toml'\n\njobs:\n\n  buildtest_regtest_with_spack:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5.0.0\n      - name: Set up Spack\n        uses: spack/setup-spack@v2\n      - name: Spack Regression Test\n        shell: spack-bash {0}\n        run: |\n          spack --version\n          whoami\n          spack find\n          source setup.sh\n          pip install pytest coverage          \n          python $BUILDTEST_ROOT/buildtest/tools/unittests.py -c -p \"-m spack\"\n          returncode=$?\n          if [ $returncode != 0 ]; then exit $returncode; fi\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          verbose: true\n", "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:18.340352", "created_at": "2024-04-19T00:29:30+02:00", "updated_at": "2024-04-19T00:29:30+02:00", "name": "jlse regtest", "path": ".github/workflows/jlse.yml", "contents": null, "state": "active", "repository": "buildtesters/buildtest"}
{"mined_at": "2024-07-15T13:57:20.439419", "created_at": "2023-01-18T21:17:38+01:00", "updated_at": "2024-04-22T22:34:30+02:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "name: Backport\non:\n  workflow_dispatch:\n    inputs:\n      number:\n        description: \"The pull request # to backport\"\n        required: true\n\njobs:\n  backport:\n    runs-on: ubuntu-latest\n    steps:\n      - run: |\n          if [[ ! $GITHUB_REF_NAME =~ ^release/v[0-9]+\\.[0-9]+\\.x-0\\.[0-9]+bx$ ]]; then\n            echo this workflow should only be run against long-term release branches\n            exit 1\n          fi\n\n      - uses: actions/checkout@v4\n        with:\n          # history is needed to run git cherry-pick below\n          fetch-depth: 0\n\n      - name: Use CLA approved github bot\n        run: .github/scripts/use-cla-approved-github-bot.sh\n\n      - name: Create pull request\n        env:\n          NUMBER: ${{ github.event.inputs.number }}\n          # not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows\n          GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}\n        run: |\n          commit=$(gh pr view $NUMBER --json mergeCommit --jq .mergeCommit.oid)\n          title=$(gh pr view $NUMBER --json title --jq .title)\n\n          branch=\"opentelemetrybot/backport-${NUMBER}-to-${GITHUB_REF_NAME//\\//-}\"\n\n          git cherry-pick $commit\n          git push origin HEAD:$branch\n          gh pr create --title \"[$GITHUB_REF_NAME] $title\" \\\n                       --body \"Clean cherry-pick of #$NUMBER to the \\`$GITHUB_REF_NAME\\` branch.\" \\\n                       --head $branch \\\n                       --base $GITHUB_REF_NAME\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:21.541897", "created_at": "2020-12-08T18:11:40+01:00", "updated_at": "2020-12-08T18:11:40+01:00", "name": "changelog", "path": ".github/workflows/changelog.yml", "contents": "# This action requires that any PR targeting the main branch should touch at\n# least one CHANGELOG file. If a CHANGELOG entry is not required, add the \"Skip\n# Changelog\" label to disable this action.\n\nname: changelog\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened, labeled, unlabeled]\n    branches:\n      - main\n\njobs:\n  changelog:\n    runs-on: ubuntu-latest\n    if: |\n      !contains(github.event.pull_request.labels.*.name, 'Skip Changelog')\n      && github.actor != 'opentelemetrybot'\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Check for CHANGELOG changes\n        run: |\n          # Only the latest commit of the feature branch is available\n          # automatically. To diff with the base branch, we need to\n          # fetch that too (and we only need its latest commit).\n          git fetch origin ${{ github.base_ref }} --depth=1\n          if [[ $(git diff --name-only FETCH_HEAD | grep CHANGELOG) ]]\n          then\n            echo \"A CHANGELOG was modified. Looks good!\"\n          else\n            echo \"No CHANGELOG was modified.\"\n            echo \"Please add a CHANGELOG entry, or add the \\\"Skip Changelog\\\" label if not required.\"\n            false\n          fi\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:22.535155", "created_at": "2023-08-21T19:45:03+02:00", "updated_at": "2024-01-30T20:13:30+01:00", "name": "check-links", "path": ".github/workflows/check-links.yml", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:23.619677", "created_at": "2020-12-31T21:52:05+01:00", "updated_at": "2020-12-31T21:52:05+01:00", "name": "CodeQL Analysis", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: CodeQL Analysis\n\non:\n  workflow_dispatch:\n  schedule:\n    #        ┌───────────── minute (0 - 59)\n    #        │  ┌───────────── hour (0 - 23)\n    #        │  │ ┌───────────── day of the month (1 - 31)\n    #        │  │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │  │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │  │ │ │ │\n    #        │  │ │ │ │\n    #        │  │ │ │ │\n    #        *  * * * *\n    - cron: '30 1 * * *'\n\njobs:\n  CodeQL-Build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: python\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:24.638371", "created_at": "2021-09-02T21:06:09+02:00", "updated_at": "2021-09-02T21:50:17+02:00", "name": "Component Owners", "path": ".github/workflows/component-owners.yml", "contents": "# This action assigns and requires approval from owners of components for\n# PRs that are open against those components. Components are defined as\n# individual paths within this repository.\nname: 'Component Owners'\n\non:\n  pull_request_target:\n\njobs:\n  run_self:\n    runs-on: ubuntu-latest\n    name: Auto Assign Owners\n    # Don't fail tests if this workflow fails. Some pending issues:\n    # - https://github.com/dyladan/component-owners/issues/8\n    continue-on-error: true\n    steps:\n      - uses: dyladan/component-owners@main\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:25.747353", "created_at": "2024-01-11T01:04:52+01:00", "updated_at": "2024-07-04T01:16:20+02:00", "name": "Contrib Repo Tests", "path": ".github/workflows/instrumentations_0.yml", "contents": "name: Contrib Repo Tests\n\non:\n  push:\n    branches-ignore:\n    - 'release/*'\n  pull_request:\nenv:\n  CORE_REPO_SHA: 141a6a2e473ef7f0ec4915dfb71e3c0fa595283e\n\njobs:\n  instrumentations-0:\n    env:\n      # We use these variables to convert between tox and GHA version literals\n      py38: 3.8\n      py39: 3.9\n      py310: \"3.10\"\n      py311: \"3.11\"\n      py312: \"3.12\"\n      pypy3: pypy-3.8\n      RUN_MATRIX_COMBINATION: ${{ matrix.python-version }}-${{ matrix.package }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false  # ensures the entire test matrix is run, even if one permutation fails\n      matrix:\n        python-version: [py38, py39, py310, py311, py312, pypy3]\n        package:\n          # Do not add more instrumentations here, add them in instrumentations_1.yml.\n          # The reason for this separation of instrumentations into more than one YAML file is\n          # the limit of jobs that can be run from a Github actions matrix:\n          # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs\n          # \"A matrix will generate a maximum of 256 jobs per workflow run. This limit applies\n          # to both GitHub-hosted and self-hosted runners.\"\n          - \"aiohttp-client\"\n          - \"aiohttp-server\"\n          - \"aiopg\"\n          - \"aio-pika\"\n          - \"asgi\"\n          - \"asyncpg\"\n          - \"aws-lambda\"\n          - \"boto\"\n          - \"boto3sqs\"\n          - \"botocore\"\n          - \"cassandra\"\n          - \"celery\"\n          - \"confluent-kafka\"\n          - \"dbapi\"\n          - \"django\"\n          - \"elasticsearch\"\n          - \"falcon\"\n          - \"fastapi\"\n          - \"flask\"\n          - \"grpc\"\n          - \"httpx\"\n          - \"jinja2\"\n          - \"kafka-python\"\n          - \"logging\"\n          - \"mysql\"\n          - \"mysqlclient\"\n          - \"sio-pika\"\n          - \"psycopg2\"\n          - \"pymemcache\"\n          - \"pymongo\"\n          - \"pymysql\"\n          - \"pyramid\"\n          - \"redis\"\n          - \"remoulade\"\n          - \"requests\"\n          - \"sklearn\"\n          - \"sqlalchemy\"\n          - \"sqlite3\"\n          - \"starlette\"\n          - \"system-metrics\"\n          - \"tornado\"\n          - \"tortoiseorm\"\n        os: [ubuntu-20.04]\n        exclude:\n          - python-version: py39\n            package: \"sklearn\"\n          - python-version: py310\n            package: \"sklearn\"\n          - python-version: py311\n            package: \"sklearn\"\n          - python-version: py312\n            package: \"sklearn\"\n          - python-version: py312\n            package: \"boto\"\n          - python-version: py312\n            package: \"kafka-python\"\n          - python-version: pypy3\n            package: \"aiopg\"\n          - python-version: pypy3\n            package: \"asyncpg\"\n          - python-version: pypy3\n            package: \"boto\"\n          - python-version: pypy3\n            package: \"boto3sqs\"\n          - python-version: pypy3\n            package: \"botocore\"\n          - python-version: pypy3\n            package: \"psycopg2\"\n          - python-version: pypy3\n            package: \"remoulade\"\n          - python-version: pypy3\n            package: \"requests\"\n          - python-version: pypy3\n            package: \"sklearn\"\n          - python-version: pypy3\n            package: \"confluent-kafka\"\n          - python-version: pypy3\n            package: \"grpc\"\n    steps:\n      - name: Checkout Contrib Repo @ SHA - ${{ github.sha }}\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ env[matrix.python-version] }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env[matrix.python-version] }}\n      - name: Install tox\n        run: pip install tox\n      - name: Cache tox environment\n        # Preserves .tox directory between runs for faster installs\n        uses: actions/cache@v4\n        with:\n          path: |\n            .tox\n            ~/.cache/pip\n          key: v7-build-tox-cache-${{ env.RUN_MATRIX_COMBINATION }}-${{ hashFiles('tox.ini', 'gen-requirements.txt', 'dev-requirements.txt') }}\n      - name: run tox\n        run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra --benchmark-json=${{ env.RUN_MATRIX_COMBINATION }}-benchmark.json\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:26.749695", "created_at": "2024-01-11T01:04:52+01:00", "updated_at": "2024-07-04T23:40:16+02:00", "name": "Contrib Repo Tests", "path": ".github/workflows/instrumentations_1.yml", "contents": "name: Contrib Repo Tests\n\non:\n  push:\n    branches-ignore:\n    - 'release/*'\n  pull_request:\nenv:\n  CORE_REPO_SHA: 141a6a2e473ef7f0ec4915dfb71e3c0fa595283e\n\njobs:\n  instrumentations-1:\n    env:\n      # We use these variables to convert between tox and GHA version literals\n      py38: 3.8\n      py39: 3.9\n      py310: \"3.10\"\n      py311: \"3.11\"\n      py312: \"3.12\"\n      pypy3: pypy-3.8\n      RUN_MATRIX_COMBINATION: ${{ matrix.python-version }}-${{ matrix.package }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false  # ensures the entire test matrix is run, even if one permutation fails\n      matrix:\n        python-version: [py38, py39, py310, py311, py312, pypy3]\n        package:\n          - \"urllib\"\n          - \"urllib3\"\n          - \"wsgi\"\n          - \"distro\"\n          - \"richconsole\"\n          - \"psycopg\"\n          - \"prometheus-remote-write\"\n          - \"sdk-extension-aws\"\n          - \"propagator-aws-xray\"\n          - \"propagator-ot-trace\"\n          - \"resource-detector-container\"\n        os: [ubuntu-20.04]\n        exclude:\n          - python-version: pypy3\n            package: \"prometheus-remote-write\"\n    steps:\n      - name: Checkout Contrib Repo @ SHA - ${{ github.sha }}\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ env[matrix.python-version] }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env[matrix.python-version] }}\n      - name: Install tox\n        run: pip install tox\n      - name: Cache tox environment\n        # Preserves .tox directory between runs for faster installs\n        uses: actions/cache@v4\n        with:\n          path: |\n            .tox\n            ~/.cache/pip\n          key: v7-build-tox-cache-${{ env.RUN_MATRIX_COMBINATION }}-${{ hashFiles('tox.ini', 'gen-requirements.txt', 'dev-requirements.txt') }}\n      - name: run tox\n        run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra --benchmark-json=${{ env.RUN_MATRIX_COMBINATION }}-benchmark.json\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:27.823743", "created_at": "2024-07-05T01:17:47+02:00", "updated_at": "2024-07-06T01:11:06+02:00", "name": "Tests", "path": ".github/workflows/instrumentations_3.yml", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:28.950043", "created_at": "2024-04-27T00:42:58+02:00", "updated_at": "2024-04-30T16:05:51+02:00", "name": "Lint tests", "path": ".github/workflows/lint.yml", "contents": "name: Lint tests\n\non:\n  push:\n    branches-ignore:\n    - 'release/*'\n  pull_request:\nenv:\n  CORE_REPO_SHA: 141a6a2e473ef7f0ec4915dfb71e3c0fa595283e\n\njobs:\n  lint-3_12:\n    strategy:\n      fail-fast: false  # ensures the entire test matrix is run, even if one permutation fails\n      matrix:\n        package:\n          - \"distro\"\n          - \"exporter-prometheus-remote-write\"\n          - \"exporter-richconsole\"\n          - \"instrumentation-aio-pika\"\n          - \"instrumentation-aiohttp-client\"\n          - \"instrumentation-aiohttp-server\"\n          - \"instrumentation-aiopg\"\n          - \"instrumentation-asgi\"\n          - \"instrumentation-asyncio\"\n          - \"instrumentation-asyncpg\"\n          - \"instrumentation-aws-lambda\"\n          - \"instrumentation-boto\"\n          - \"instrumentation-boto3sqs\"\n          - \"instrumentation-botocore\"\n          - \"instrumentation-cassandra\"\n          - \"instrumentation-celery\"\n          - \"instrumentation-confluent-kafka\"\n          - \"instrumentation-dbapi\"\n          - \"instrumentation-django\"\n          - \"instrumentation-elasticsearch\"\n          - \"instrumentation-falcon\"\n          - \"instrumentation-fastapi\"\n          - \"instrumentation-flask\"\n          - \"instrumentation-grpc\"\n          - \"instrumentation-httpx\"\n          - \"instrumentation-jinja2\"\n          - \"instrumentation-kafka-python\"\n          - \"instrumentation-logging\"\n          - \"instrumentation-mysql\"\n          - \"instrumentation-mysqlclient\"\n          - \"instrumentation-psycopg\"\n          - \"instrumentation-psycopg2\"\n          - \"instrumentation-pymemcache\"\n          - \"instrumentation-pymongo\"\n          - \"instrumentation-pymysql\"\n          - \"instrumentation-pyramid\"\n          - \"instrumentation-redis\"\n          - \"instrumentation-remoulade\"\n          - \"instrumentation-requests\"\n          - \"instrumentation-sio-pika\"\n          - \"instrumentation-sqlalchemy\"\n          - \"instrumentation-sqlite3\"\n          - \"instrumentation-starlette\"\n          - \"instrumentation-system-metrics\"\n          - \"instrumentation-threading\"\n          - \"instrumentation-tornado\"\n          - \"instrumentation-tortoiseorm\"\n          - \"instrumentation-urllib\"\n          - \"instrumentation-urllib3\"\n          - \"instrumentation-wsgi\"\n          - \"opentelemetry-instrumentation\"\n          - \"processor-baggage\"\n          - \"propagator-aws-xray\"\n          - \"propagator-ot-trace\"\n          - \"resource-detector-container\"\n          - \"sdk-extension-aws\"\n        os: [ubuntu-20.04]\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout Contrib Repo @ SHA - ${{ github.sha }}\n        uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n      - name: Install tox\n        run: pip install tox\n      - name: Cache tox environment\n        # Preserves .tox directory between runs for faster installs\n        uses: actions/cache@v4\n        with:\n          path: |\n            .tox\n            ~/.cache/pip\n          key: v7-build-tox-cache-${{ matrix.package }}-${{ hashFiles('tox.ini', 'gen-requirements.txt', 'dev-requirements.txt') }}\n      - name: run tox\n        run: tox -e lint-${{ matrix.package }}\n\n  lint-3_8:\n    strategy:\n      fail-fast: false  # ensures the entire test matrix is run, even if one permutation fails\n      matrix:\n        package:\n          - \"instrumentation-sklearn\"\n        os: [ubuntu-20.04]\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout Contrib Repo @ SHA - ${{ github.sha }}\n        uses: actions/checkout@v4\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install tox\n        run: pip install tox\n      - name: Cache tox environment\n        # Preserves .tox directory between runs for faster installs\n        uses: actions/cache@v4\n        with:\n          path: |\n            .tox\n            ~/.cache/pip\n          key: v7-build-tox-cache-${{ matrix.package }}-${{ hashFiles('tox.ini', 'gen-requirements.txt', 'dev-requirements.txt') }}\n      - name: run tox\n        run: tox -e lint-${{ matrix.package }}\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:30.595848", "created_at": "2024-04-26T21:26:15+02:00", "updated_at": "2024-04-26T21:26:15+02:00", "name": "Lint tests", "path": ".github/workflows/lint_0.yml", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:31.977480", "created_at": "2024-05-08T19:39:06+02:00", "updated_at": "2024-05-08T19:45:18+02:00", "name": "lint 1", "path": ".github/workflows/lint_1.yml", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:32.986565", "created_at": "2024-07-10T03:16:00+02:00", "updated_at": "2024-07-10T03:16:00+02:00", "name": "Misc tests", "path": ".github/workflows/misc.yml", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:34.003100", "created_at": "2023-01-18T21:17:38+01:00", "updated_at": "2024-02-14T05:33:16+01:00", "name": "Prepare patch release", "path": ".github/workflows/prepare-patch-release.yml", "contents": "name: Prepare patch release\non:\n  workflow_dispatch:\n\njobs:\n  prepare-patch-release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: |\n          if [[ ! $GITHUB_REF_NAME =~ ^release/v[0-9]+\\.[0-9]+\\.x-0\\.[0-9]+bx$ ]]; then\n            echo this workflow should only be run against long-term release branches\n            exit 1\n          fi\n\n          if ! grep --quiet \"^## Unreleased$\" CHANGELOG.md; then\n            echo the change log is missing an \\\"Unreleased\\\" section\n            exit 1\n          fi\n\n      - name: Set environment variables\n        run: |\n          stable_version=$(./scripts/eachdist.py version --mode stable)\n          unstable_version=$(./scripts/eachdist.py version --mode prerelease)\n\n          if [[ $stable_version =~ ^([0-9]+\\.[0-9]+)\\.([0-9]+)$ ]]; then\n            stable_major_minor=\"${BASH_REMATCH[1]}\"\n            stable_patch=\"${BASH_REMATCH[2]}\"\n          else\n            echo \"unexpected stable_version: $stable_version\"\n            exit 1\n          fi\n\n          if [[ $unstable_version =~ ^0\\.([0-9]+)b([0-9]+)$ ]]; then\n            unstable_minor=\"${BASH_REMATCH[1]}\"\n            unstable_patch=\"${BASH_REMATCH[2]}\"\n          else\n            echo \"unexpected unstable_version: $unstable_version\"\n            exit 1\n          fi\n\n          stable_version=\"$stable_major_minor.$((stable_patch + 1))\"\n          unstable_version=\"0.${unstable_minor}b$((unstable_patch + 1))\"\n\n          echo \"STABLE_VERSION=$stable_version\" >> $GITHUB_ENV\n          echo \"UNSTABLE_VERSION=$unstable_version\" >> $GITHUB_ENV\n\n      - name: Update version\n        run: .github/scripts/update-version.sh $STABLE_VERSION $UNSTABLE_VERSION\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install tox\n        run: pip install tox\n      - name: run tox\n        run: tox -e generate\n\n      - name: Update the change log with the approximate release date\n        run: |\n          date=$(date \"+%Y-%m-%d\")\n          sed -Ei \"s/^## Unreleased$/## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} ($date)/\" CHANGELOG.md\n\n      - name: Use CLA approved github bot\n        run: .github/scripts/use-cla-approved-github-bot.sh\n\n      - name: Create pull request\n        env:\n          # not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows\n          GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}\n        run: |\n          message=\"Prepare release ${STABLE_VERSION}/${UNSTABLE_VERSION}\"\n          branch=\"opentelemetrybot/prepare-release-${STABLE_VERSION}-${UNSTABLE_VERSION}\"\n\n          git commit -a -m \"$message\"\n          git push origin HEAD:$branch\n          gh pr create --title \"[$GITHUB_REF_NAME] $message\" \\\n                       --body \"$message.\" \\\n                       --head $branch \\\n                       --base $GITHUB_REF_NAME\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:35.014190", "created_at": "2023-01-18T21:17:38+01:00", "updated_at": "2024-02-14T05:33:16+01:00", "name": "Prepare release branch", "path": ".github/workflows/prepare-release-branch.yml", "contents": "name: Prepare release branch\non:\n  workflow_dispatch:\n    inputs:\n      prerelease_version:\n        description: \"Pre-release version number? (e.g. 1.9.0rc2)\"\n        required: false\n\njobs:\n  prereqs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Verify prerequisites\n        env:\n          PRERELEASE_VERSION: ${{ github.event.inputs.prerelease_version }}\n        run: |\n          if [[ $GITHUB_REF_NAME != main ]]; then\n            echo this workflow should only be run against main\n            exit 1\n          fi\n\n          if ! grep --quiet \"^## Unreleased$\" CHANGELOG.md; then\n            echo the change log is missing an \\\"Unreleased\\\" section\n            exit 1\n          fi\n\n          if [[ ! -z $PRERELEASE_VERSION ]]; then\n            stable_version=$(./scripts/eachdist.py version --mode stable)\n            stable_version=${stable_version//.dev/}\n            if [[ $PRERELEASE_VERSION != ${stable_version}* ]]; then\n              echo \"$PRERELEASE_VERSION is not a prerelease for the version on main ($stable_version)\"\n              exit 1\n            fi\n          fi\n\n  create-pull-request-against-release-branch:\n    runs-on: ubuntu-latest\n    needs: prereqs\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Create release branch\n        env:\n          PRERELEASE_VERSION: ${{ github.event.inputs.prerelease_version }}\n        run: |\n          if [[ -z $PRERELEASE_VERSION ]]; then\n            stable_version=$(./scripts/eachdist.py version --mode stable)\n            stable_version=${stable_version//.dev/}\n          else\n            stable_version=$PRERELEASE_VERSION\n          fi\n\n          unstable_version=$(./scripts/eachdist.py version --mode prerelease)\n          unstable_version=${unstable_version//.dev/}\n\n          if [[ $stable_version =~ ^([0-9]+)\\.([0-9]+)\\.0$ ]]; then\n            stable_version_branch_part=$(echo $stable_version | sed -E 's/([0-9]+)\\.([0-9]+)\\.0/\\1.\\2.x/')\n            unstable_version_branch_part=$(echo $unstable_version | sed -E 's/0\\.([0-9]+)b0/0.\\1bx/')\n            release_branch_name=\"release/v${stable_version_branch_part}-${unstable_version_branch_part}\"\n          elif [[ $stable_version =~ ^([0-9]+)\\.([0-9]+)\\.0 ]]; then\n            # pre-release version, e.g. 1.9.0rc2\n            release_branch_name=\"release/v$stable_version-$unstable_version\"\n          else\n            echo \"unexpected version: $stable_version\"\n            exit 1\n          fi\n\n          git push origin HEAD:$release_branch_name\n\n          echo \"STABLE_VERSION=$stable_version\" >> $GITHUB_ENV\n          echo \"UNSTABLE_VERSION=$unstable_version\" >> $GITHUB_ENV\n          echo \"RELEASE_BRANCH_NAME=$release_branch_name\" >> $GITHUB_ENV\n\n      - name: Update version\n        run: .github/scripts/update-version.sh $STABLE_VERSION $UNSTABLE_VERSION\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install tox\n        run: pip install tox\n      - name: run tox\n        run: tox -e generate\n\n      - name: Update the change log with the approximate release date\n        run: |\n          date=$(date \"+%Y-%m-%d\")\n          sed -Ei \"s/^## Unreleased$/## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} ($date)/\" CHANGELOG.md\n\n      - name: Use CLA approved github bot\n        run: .github/scripts/use-cla-approved-github-bot.sh\n\n      - name: Create pull request against the release branch\n        env:\n          # not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows\n          GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}\n        run: |\n          message=\"Prepare release ${STABLE_VERSION}/${UNSTABLE_VERSION}\"\n          branch=\"opentelemetrybot/prepare-release-${STABLE_VERSION}-${UNSTABLE_VERSION}\"\n\n          git commit -a -m \"$message\"\n          git push origin HEAD:$branch\n          gh pr create --title \"[$RELEASE_BRANCH_NAME] $message\" \\\n                       --body \"$message.\" \\\n                       --head $branch \\\n                       --base $RELEASE_BRANCH_NAME\n\n  create-pull-request-against-main:\n    runs-on: ubuntu-latest\n    needs: prereqs\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set environment variables\n        env:\n          PRERELEASE_VERSION: ${{ github.event.inputs.prerelease_version }}\n        run: |\n          if [[ -z $PRERELEASE_VERSION ]]; then\n            stable_version=$(./scripts/eachdist.py version --mode stable)\n            stable_version=${stable_version//.dev/}\n          else\n            stable_version=$PRERELEASE_VERSION\n          fi\n\n          unstable_version=$(./scripts/eachdist.py version --mode prerelease)\n          unstable_version=${unstable_version//.dev/}\n\n          if [[ $stable_version =~ ^([0-9]+)\\.([0-9]+)\\.0$ ]]; then\n            stable_major=\"${BASH_REMATCH[1]}\"\n            stable_minor=\"${BASH_REMATCH[2]}\"\n            stable_next_version=\"$stable_major.$((stable_minor + 1)).0\"\n          elif [[ $stable_version =~ ^([0-9]+)\\.([0-9]+)\\.0 ]]; then\n            # pre-release version, e.g. 1.9.0rc2\n            stable_major=\"${BASH_REMATCH[1]}\"\n            stable_minor=\"${BASH_REMATCH[2]}\"\n            stable_next_version=\"$stable_major.$stable_minor.0\"\n          else\n            echo \"unexpected stable_version: $stable_version\"\n            exit 1\n          fi\n\n          if [[ $unstable_version =~ ^0\\.([0-9]+)b[0-9]+$ ]]; then\n            unstable_minor=\"${BASH_REMATCH[1]}\"\n          else\n            echo \"unexpected unstable_version: $unstable_version\"\n            exit 1\n          fi\n\n          unstable_next_version=\"0.$((unstable_minor + 1))b0\"\n\n          echo \"STABLE_VERSION=${stable_version}\" >> $GITHUB_ENV\n          echo \"STABLE_NEXT_VERSION=${stable_next_version}.dev\" >> $GITHUB_ENV\n\n          echo \"UNSTABLE_VERSION=${unstable_version}\" >> $GITHUB_ENV\n          echo \"UNSTABLE_NEXT_VERSION=${unstable_next_version}.dev\" >> $GITHUB_ENV\n\n      - name: Update version\n        run: .github/scripts/update-version.sh $STABLE_NEXT_VERSION $UNSTABLE_NEXT_VERSION\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install tox\n        run: pip install tox\n      - name: run tox\n        run: tox -e generate\n\n      - name: Update the change log on main\n        run: |\n          # the actual release date on main will be updated at the end of the release workflow\n          date=$(date \"+%Y-%m-%d\")\n          sed -Ei \"s/^## Unreleased$/## Unreleased\\n\\n## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} ($date)/\" CHANGELOG.md\n\n      - name: Use CLA approved github bot\n        run: .github/scripts/use-cla-approved-github-bot.sh\n\n      - name: Create pull request against main\n        env:\n          # not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows\n          GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}\n        run: |\n          message=\"Update version to ${STABLE_NEXT_VERSION}/${UNSTABLE_NEXT_VERSION}\"\n          body=\"Update version to \\`${STABLE_NEXT_VERSION}/${UNSTABLE_NEXT_VERSION}\\`.\"\n          branch=\"opentelemetrybot/update-version-to-${STABLE_NEXT_VERSION}-${UNSTABLE_NEXT_VERSION}\"\n\n          git commit -a -m \"$message\"\n          git push origin HEAD:$branch\n          gh pr create --title \"$message\" \\\n                       --body \"$body\" \\\n                       --head $branch \\\n                       --base main\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:36.153053", "created_at": "2023-02-27T21:34:18+01:00", "updated_at": "2023-02-27T21:34:18+01:00", "name": "Publish a Package from Tag", "path": ".github/workflows/publish-a-package-from-tag.yml", "contents": "name: Publish a Package from Tag\n\non:\n  push:\n    tags:\n      - 'opentelemetry-*==[1-9]*.*'\n\njobs:\n  publish-a-package:\n    name: Publish package from tag\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Log tag that triggered publish workflow\n      run:  echo \"Attempting to publish package from tag $GITHUB_REF\"\n    - name: Build wheel for tag\n      run: ./scripts/build_a_package.sh\n    - name: Install twine\n      run: |\n        pip install twine\n    # We don't need to publish to TestPyPI because we only publish 1 package.\n    # If it fails no other work needs to be reversed.\n    - name: Publish to PyPI\n      env:\n        TWINE_USERNAME: '__token__'\n        TWINE_PASSWORD: ${{ secrets.pypi_password }}\n      run: |\n        twine upload --skip-existing --verbose dist/*\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:37.382150", "created_at": "2023-01-18T21:17:38+01:00", "updated_at": "2024-02-23T18:24:45+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  workflow_dispatch:\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - run: |\n          if [[ $GITHUB_REF_NAME != release/* ]]; then\n            echo this workflow should only be run against release branches\n            exit 1\n          fi\n\n      - uses: actions/checkout@v4\n\n      - name: Set environment variables\n        run: |\n          stable_version=$(./scripts/eachdist.py version --mode stable)\n          unstable_version=$(./scripts/eachdist.py version --mode prerelease)\n\n          if [[ $stable_version =~ ^([0-9]+)\\.([0-9]+)\\.([0-9]+) ]]; then\n            stable_major=\"${BASH_REMATCH[1]}\"\n            stable_minor=\"${BASH_REMATCH[2]}\"\n            stable_patch=\"${BASH_REMATCH[3]}\"\n          else\n            echo \"unexpected stable_version: $stable_version\"\n            exit 1\n          fi\n          if [[ $stable_patch != 0 ]]; then\n            if [[ $unstable_version =~ ^0\\.([0-9]+)b([0-9]+)$ ]]; then\n              unstable_minor=\"${BASH_REMATCH[1]}\"\n              unstable_patch=\"${BASH_REMATCH[2]}\"\n            else\n              echo \"unexpected unstable_version: $unstable_version\"\n              exit 1\n            fi\n            if [[ $unstable_patch != 0 ]]; then\n              prior_version_when_patch=\"$stable_major.$stable_minor.$((stable_patch - 1))/0.${unstable_minor}b$((unstable_patch - 1))\"\n            fi\n          fi\n\n          echo \"STABLE_VERSION=$stable_version\" >> $GITHUB_ENV\n          echo \"UNSTABLE_VERSION=$unstable_version\" >> $GITHUB_ENV\n\n          echo \"PRIOR_VERSION_WHEN_PATCH=$prior_version_when_patch\" >> $GITHUB_ENV\n\n      - run: |\n          if [[ -z $PRIOR_VERSION_WHEN_PATCH ]]; then\n            # not making a patch release\n            if ! grep --quiet \"^## Version ${STABLE_VERSION}/${UNSTABLE_VERSION} \" CHANGELOG.md; then\n              echo the pull request generated by prepare-release-branch.yml needs to be merged first\n              exit 1\n            fi\n          fi\n\n      # check out main branch to verify there won't be problems with merging the change log\n      # at the end of this workflow\n      - uses: actions/checkout@v4\n        with:\n          ref: main\n\n        # back to the release branch\n      - uses: actions/checkout@v4\n\n        # next few steps publish to pypi\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Build wheels\n        run: ./scripts/build.sh\n\n      - name: Install twine\n        run: |\n          pip install twine\n\n      # The step below publishes to testpypi in order to catch any issues\n      # with the package configuration that would cause a failure to upload\n      # to pypi. One example of such a failure is if a classifier is\n      # rejected by pypi (e.g \"3 - Beta\"). This would cause a failure during the\n      # middle of the package upload causing the action to fail, and certain packages\n      # might have already been updated, this would be bad.\n      # EDIT: 5/31/2024 - TestPypi now requires a verified email. Commenting out as a temporary measure\n      # until we found TestPypi credentials.\n      # - name: Publish to TestPyPI\n      #   env:\n      #     TWINE_USERNAME: '__token__'\n      #     TWINE_PASSWORD: ${{ secrets.test_pypi_token }}\n      #   run: |\n      #     twine upload --repository testpypi --skip-existing --verbose dist/*\n\n      - name: Publish to PyPI\n        env:\n          TWINE_USERNAME: '__token__'\n          TWINE_PASSWORD: ${{ secrets.pypi_password }}\n        run: |\n          twine upload --skip-existing --verbose dist/*\n\n      - name: Generate release notes\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # conditional block not indented because of the heredoc\n          if [[ ! -z $PRIOR_VERSION_WHEN_PATCH ]]; then\n          cat > /tmp/release-notes.txt << EOF\n          This is a patch release on the previous $PRIOR_VERSION_WHEN_PATCH release, fixing the issue(s) below.\n\n          EOF\n          fi\n\n          # CHANGELOG_SECTION.md is also used at the end of the release workflow\n          # for copying the change log updates to main\n          sed -n \"0,/^## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} /d;/^## Version /q;p\" CHANGELOG.md \\\n            > /tmp/CHANGELOG_SECTION.md\n\n          # the complex perl regex is needed because markdown docs render newlines as soft wraps\n          # while release notes render them as line breaks\n          perl -0pe 's/(?<!\\n)\\n *(?!\\n)(?![-*] )(?![1-9]+\\. )/ /g' /tmp/CHANGELOG_SECTION.md \\\n            >> /tmp/release-notes.txt\n\n      - name: Create GitHub release\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release create --target $GITHUB_REF_NAME \\\n                            --title \"Version ${STABLE_VERSION}/${UNSTABLE_VERSION}\" \\\n                            --notes-file /tmp/release-notes.txt \\\n                            --discussion-category announcements \\\n                            v$UNSTABLE_VERSION\n\n      - uses: actions/checkout@v4\n        with:\n          # the step below is creating a pull request against main\n          ref: main\n\n      - name: Copy change log updates to main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          if [[ -z $PRIOR_VERSION_WHEN_PATCH ]]; then\n            # this was not a patch release, so the version exists already in the CHANGELOG.md\n\n            # update the release date\n            date=$(gh release view v$STABLE_VERSION --json publishedAt --jq .publishedAt | sed 's/T.*//')\n            sed -Ei \"s/## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} .*/## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} ($date)/\" CHANGELOG.md\n\n            # the entries are copied over from the release branch to support workflows\n            # where change log entries may be updated after preparing the release branch\n\n            # copy the portion above the release, up to and including the heading\n            sed -n \"0,/^## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} ($date)/p\" CHANGELOG.md > /tmp/CHANGELOG.md\n\n            # copy the release notes\n            cat /tmp/CHANGELOG_SECTION.md >> /tmp/CHANGELOG.md\n\n            # copy the portion below the release\n            sed -n \"0,/^## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} /d;0,/^## Version /{/^## Version/!d};p\" CHANGELOG.md \\\n              >> /tmp/CHANGELOG.md\n\n            # update the real CHANGELOG.md\n            cp /tmp/CHANGELOG.md CHANGELOG.md\n          else\n            # this was a patch release, so the version does not exist already in the CHANGELOG.md\n\n            # copy the portion above the top-most release, not including the heading\n            sed -n \"0,/^## Version /{ /^## Version /!p }\" CHANGELOG.md > /tmp/CHANGELOG.md\n\n            # add the heading\n            date=$(gh release view v$STABLE_VERSION --json publishedAt --jq .publishedAt | sed 's/T.*//')\n            echo \"## Version ${STABLE_VERSION}/${UNSTABLE_VERSION} ($date)\" >> /tmp/CHANGELOG.md\n\n            # copy the release notes\n            cat /tmp/CHANGELOG_SECTION.md >> /tmp/CHANGELOG.md\n\n            # copy the portion starting from the top-most release\n            sed -n \"/^## Version /,\\$p\" CHANGELOG.md >> /tmp/CHANGELOG.md\n\n            # update the real CHANGELOG.md\n            cp /tmp/CHANGELOG.md CHANGELOG.md\n          fi\n\n      - name: Use CLA approved github bot\n        run: .github/scripts/use-cla-approved-github-bot.sh\n\n      - name: Create pull request against main\n        env:\n          # not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows\n          GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}\n        run: |\n          message=\"Copy change log updates from $GITHUB_REF_NAME\"\n          body=\"Copy log updates from \\`$GITHUB_REF_NAME\\`.\"\n          branch=\"opentelemetrybot/copy-change-log-updates-from-${GITHUB_REF_NAME//\\//-}\"\n\n          if [[ -z $PRIOR_VERSION_WHEN_PATCH ]]; then\n            if git diff --quiet; then\n              echo there are no updates needed to the change log on main, not creating pull request\n              exit 0 # success\n            fi\n          fi\n\n          git commit -a -m \"$message\"\n          git push origin HEAD:$branch\n          gh pr create --title \"$message\" \\\n                       --body \"$body\" \\\n                       --head $branch \\\n                       --base main\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:38.514378", "created_at": "2024-04-03T16:43:30+02:00", "updated_at": "2024-04-16T18:36:39+02:00", "name": "Shellcheck", "path": ".github/workflows/shellcheck.yml", "contents": "name: Shellcheck\n\non:\n  push:\n    branches-ignore:\n    - 'release/*'\n  pull_request:\n\njobs:\n  shellcheck:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install shellcheck\n        run: sudo apt update && sudo apt install --assume-yes shellcheck\n\n      - name: Run shellcheck\n        run: find . -name \\*.sh | xargs shellcheck --severity=warning\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:39.544045", "created_at": "2024-05-08T19:39:06+02:00", "updated_at": "2024-05-08T19:45:18+02:00", "name": "spellcheck 1", "path": ".github/workflows/spellcheck_1.yml", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:40.656878", "created_at": "2020-10-02T07:28:19+02:00", "updated_at": "2024-07-12T09:24:46+02:00", "name": "Contrib Repo Tests", "path": ".github/workflows/test.yml", "contents": "name: Contrib Repo Tests\n\non:\n  push:\n    branches-ignore:\n    - 'release/*'\n  pull_request:\nenv:\n  CORE_REPO_SHA: 141a6a2e473ef7f0ec4915dfb71e3c0fa595283e\n\njobs:\n  misc:\n    strategy:\n      fail-fast: false\n      matrix:\n        tox-environment: [ \"docker-tests\", \"spellcheck\", \"docs\", \"generate\" ]\n    name: ${{ matrix.tox-environment }}\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout Contrib Repo @ SHA - ${{ github.sha }}\n        uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install tox\n        run: pip install tox\n      - name: Cache tox environment\n        # Preserves .tox directory between runs for faster installs\n        uses: actions/cache@v4\n        with:\n          path: |\n            .tox\n            ~/.cache/pip\n          key: v7-misc-tox-cache-${{ matrix.tox-environment }}-${{ hashFiles('tox.ini', 'dev-requirements.txt', 'gen-requirements.txt', 'docs-requirements.txt') }}\n      - name: run tox\n        run: tox -e ${{ matrix.tox-environment }}\n      - name: Ensure generated code is up to date\n        if: matrix.tox-environment == 'generate'\n        run: git diff --exit-code || (echo 'Generated code is out of date, please run \"tox -e generate\" and commit the changes in this PR.' && exit 1)\n", "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:41.640134", "created_at": "2024-05-08T19:39:06+02:00", "updated_at": "2024-05-08T19:45:18+02:00", "name": "test 1", "path": ".github/workflows/test_1.yml", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:42.637045", "created_at": "2024-07-10T01:25:02+02:00", "updated_at": "2024-07-10T02:22:48+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python-contrib"}
{"mined_at": "2024-07-15T13:57:44.773090", "created_at": "2023-11-27T21:47:56+01:00", "updated_at": "2024-05-24T21:32:22+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  release:\n    types: [ released ]\n  pull_request:\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: micromamba-shell {0}\n\njobs:\n  build:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1\n    with:\n      upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}\n    secrets:\n      pypi_token: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }}\n  freeze:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: \n          [ \"ubuntu-latest\", \"macos-latest\" ]\n        python-version:\n          [ \"3.11\", \"3.12\" ]\n      fail-fast: false\n    name: freeze versions (Python ${{ matrix.python-version }}, ${{ matrix.os }})\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: jwql-${{ runner.os }}-py${{ matrix.python-version }}\n          environment-file: environment.yml\n          create-args: >-\n            python=${{ matrix.python-version }}\n            conda\n          init-shell: none\n          generate-run-shell: true\n      - run: pip install .\n      - run: pip list\n      - id: version\n        uses: mtkennerly/dunamai-action@v1\n        with:\n          args: --strict --pattern \"default-unprefixed\" --style semver\n      - id: filename\n        run: echo \"filename=jwql_${{ steps.version.outputs.version }}_conda_${{ runner.os }}_${{ runner.arch }}_py${{ matrix.python-version }}.yml\" >> $GITHUB_OUTPUT\n      - run: conda env export --no-build | grep -v \"name:\" | grep -v \"prefix:\" > ${{ steps.filename.outputs.filename }}\n      - run: cat ${{ steps.filename.outputs.filename }}\n      - uses: actions/upload-artifact@v4\n        with:\n          name: ${{ steps.filename.outputs.filename }}\n          path: ${{ steps.filename.outputs.filename }}\n      - if: (github.event_name == 'release' && github.event.action == 'released')\n        uses: svenstaro/upload-release-action@v2\n        with:\n          file: ${{ steps.filename.outputs.filename }}\n            \n\n", "state": "active", "repository": "spacetelescope/jwql"}
{"mined_at": "2024-07-15T13:57:45.879298", "created_at": "2021-03-16T15:09:35+01:00", "updated_at": "2024-05-24T20:08:46+02:00", "name": "test", "path": ".github/workflows/ci.yml", "contents": "name: test\n\non: \n  push:\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - run: pip install bandit\n      - run: bandit ./jwql/ -c .bandit\n\n  test:\n    name: test (Python ${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ \"ubuntu-latest\", \"macos-latest\" ]\n        python-version: [ \"3.11\", \"3.12\" ]\n      fail-fast: false\n    env:\n      PYTHONUNBUFFERED: 1\n    defaults:\n      run:\n        shell: micromamba-shell {0}\n    steps:\n      - uses: actions/checkout@v4\n      \n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: jwql-${{ runner.os }}-py${{ matrix.python-version }}\n          environment-file: environment.yml\n          create-args: >-\n            python=${{ matrix.python-version }}\n          init-shell: none\n          generate-run-shell: true\n          \n      - run: pip install -e .[test] pytest-xdist\n\n      - run: pip list\n\n      - run: micromamba env export\n\n      - if: runner.os == 'Linux'\n        uses: supercharge/redis-github-action@1.4.0\n        with:\n          redis-version: 5.0\n\n      - run: python -c \"import jwql; print('Version ' + jwql.__version__); print('Path ' + jwql.__path__[0])\"\n\n      - run: pytest -n auto jwql/tests/\n", "state": "active", "repository": "spacetelescope/jwql"}
{"mined_at": "2024-07-15T13:57:47.006210", "created_at": "2023-05-15T17:40:05+02:00", "updated_at": "2023-05-15T17:40:05+02:00", "name": "flake8 Lint", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "spacetelescope/jwql"}
{"mined_at": "2024-07-15T13:57:48.038176", "created_at": "2023-05-23T19:20:47+02:00", "updated_at": "2023-05-23T19:20:47+02:00", "name": "Ruff", "path": ".github/workflows/ruff.yml", "contents": null, "state": "active", "repository": "spacetelescope/jwql"}
{"mined_at": "2024-07-15T13:57:52.227648", "created_at": "2020-12-03T15:30:36+01:00", "updated_at": "2021-04-26T12:22:39+02:00", "name": "Acceptance tests", "path": ".github/workflows/acceptance-tests.yml", "contents": "name: Acceptance tests\n\non:\n  pull_request:\n    types:\n      - opened\n      - edited\n      - synchronize\n      - reopened\n      - closed\n\njobs:\n  cleanup-previous-runs:\n    runs-on: ubuntu-latest\n    if: github.event.action != 'closed'\n    steps:\n      - uses: rokroskar/workflow-run-cleanup-action@v0.3.3\n        env:\n          GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n  check-deploy:\n    runs-on: ubuntu-20.04\n    outputs:\n      pr-contains-string: ${{ steps.deploy-comment.outputs.pr-contains-string }}\n      renku: ${{ steps.deploy-comment.outputs.renku}}\n      renku-gateway: ${{ steps.deploy-comment.outputs.renku-gateway}}\n      renku-graph: ${{ steps.deploy-comment.outputs.renku-graph}}\n      renku-notebooks: ${{ steps.deploy-comment.outputs.renku-notebooks}}\n      renku-ui: ${{ steps.deploy-comment.outputs.renku-ui}}\n      renku-data-services: ${{ steps.deploy-comment.outputs.renku-data-services}}\n      test-enabled: ${{ steps.deploy-comment.outputs.test-enabled}}\n      extra-values: ${{ steps.deploy-comment.outputs.extra-values}}\n      persist: ${{ steps.deploy-comment.outputs.persist}}\n    steps:\n      - id: deploy-comment\n        uses: SwissDataScienceCenter/renku-actions/check-pr-description@v1.9.1\n        with:\n          string: /deploy\n          pr_ref: ${{ github.event.number }}\n  deploy-pr:\n    needs: check-deploy\n    if: github.event.action != 'closed' && needs.check-deploy.outputs.pr-contains-string == 'true'\n    runs-on: ubuntu-20.04\n    environment:\n      name: renku-ci-rp-${{ github.event.number }}\n    steps:\n      - name: deploy-pr\n        uses: SwissDataScienceCenter/renku-actions/deploy-renku@v1.9.1\n        env:\n          DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }}\n          DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }}\n          GITLAB_TOKEN: ${{ secrets.DEV_GITLAB_TOKEN }}\n          KUBECONFIG: \"${{ github.workspace }}/renkubot-kube.config\"\n          RANCHER_PROJECT_ID: ${{ secrets.CI_RANCHER_PROJECT }}\n          RENKU_RELEASE: renku-ci-rp-${{ github.event.number }}\n          RENKU_VALUES_FILE: \"${{ github.workspace }}/values.yaml\"\n          RENKU_VALUES: ${{ secrets.COMBINED_CHARTS_CI_RENKU_VALUES }}\n          RENKUBOT_KUBECONFIG: ${{ secrets.RENKUBOT_DEV_KUBECONFIG }}\n          RENKUBOT_RANCHER_BEARER_TOKEN: ${{ secrets.RENKUBOT_RANCHER_BEARER_TOKEN }}\n          RANCHER_DEV_API_ENDPOINT: ${{ secrets.RANCHER_DEV_API_ENDPOINT }}\n          RENKU_BOT_DEV_PASSWORD: ${{ secrets.RENKU_BOT_DEV_PASSWORD }}\n          RENKU_ANONYMOUS_SESSIONS: true\n          RENKU_TESTS_ENABLED: true\n          TEST_ARTIFACTS_PATH: \"tests-artifacts-${{ github.sha }}\"\n          renku_core: \"@${{ github.head_ref }}\"\n          renku: \"${{ needs.check-deploy.outputs.renku }}\"\n          renku_gateway: \"${{ needs.check-deploy.outputs.renku-gateway }}\"\n          renku_graph: \"${{ needs.check-deploy.outputs.renku-graph }}\"\n          renku_notebooks: \"${{ needs.check-deploy.outputs.renku-notebooks }}\"\n          renku_ui: \"${{ needs.check-deploy.outputs.renku-ui }}\"\n          renku_data_services: \"${{ needs.check-deploy.outputs.renku-data-services }}\"\n          extra_values: \"${{ needs.check-deploy.outputs.extra-values }}\"\n      - name: Check existing renkubot comment\n        uses: peter-evans/find-comment@v2\n        id: findcomment\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-author: \"RenkuBot\"\n          body-includes: \"You can access the deployment of this PR at\"\n      - name: Create comment pre deploy\n        if: steps.findcomment.outputs.comment-id == 0\n        uses: peter-evans/create-or-update-comment@v3\n        with:\n          token: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            You can access the deployment of this PR at https://renku-ci-rp-${{ github.event.number }}.dev.renku.ch\n\n  test-pr:\n    runs-on: ubuntu-20.04\n    if: ${{ github.event.action != 'closed' && needs.check-deploy.outputs.pr-contains-string == 'true' && needs.check-deploy.outputs.test-enabled == 'true' }}\n    needs: [check-deploy, deploy-pr]\n    steps:\n      - uses: SwissDataScienceCenter/renku-actions/test-renku@v1.9.1\n        with:\n          kubeconfig: ${{ secrets.RENKUBOT_DEV_KUBECONFIG }}\n          renku-release: renku-ci-rp-${{ github.event.number }}\n          gitlab-token: ${{ secrets.DEV_GITLAB_TOKEN }}\n          persist: \"${{ needs.check-deploy.outputs.persist }}\"\n          s3-results-access-key: ${{ secrets.ACCEPTANCE_TESTS_BUCKET_ACCESS_KEY }}\n          s3-results-secret-key: ${{ secrets.ACCEPTANCE_TESTS_BUCKET_SECRET_KEY }}\n\n  cleanup:\n    needs: check-deploy\n    if: github.event.action == 'closed' && needs.check-deploy.outputs.pr-contains-string == 'true'\n    runs-on: ubuntu-20.04\n    steps:\n      - name: renku teardown\n        uses: SwissDataScienceCenter/renku-actions/cleanup-renku-ci-deployments@v1.9.1\n        env:\n          HELM_RELEASE_REGEX: \"^renku-ci-rp-${{ github.event.number }}$\"\n          GITLAB_TOKEN: ${{ secrets.DEV_GITLAB_TOKEN }}\n          RENKUBOT_KUBECONFIG: ${{ secrets.RENKUBOT_DEV_KUBECONFIG }}\n          MAX_AGE_SECONDS: 0\n          DELETE_NAMESPACE: \"true\"\n", "state": "active", "repository": "swissdatasciencecenter/renku-python"}
{"mined_at": "2024-07-15T13:57:53.345298", "created_at": "2022-09-12T12:25:36+02:00", "updated_at": "2022-09-23T12:35:30+02:00", "name": "Create cheatsheet", "path": ".github/workflows/cheatsheet.yml", "contents": "name: Create cheatsheet\n\non:\n  push:\n    branches:\n      - \"**\"\n    tags:\n      - \"v*.*.*\"\n\njobs:\n  cheatsheet:\n    runs-on: ubuntu-latest\n    if: \"'refs/heads/master' != github.ref && 'refs/heads/develop' != github.ref && !startsWith(github.ref, 'refs/tags/')\"\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n      - name: Install xetex\n        run: |\n          sudo add-apt-repository \"deb http://archive.ubuntu.com/ubuntu jammy main restricted multiverse universe\"\n          sudo apt-get update -y\n          sudo apt-get install -y -t jammy texlive-xetex\n      - name: Build cheatsheet\n        run: |\n          sphinx-build -b latex -c docs/cheatsheet/ docs docs/latex/ -W\n          cd docs/latex/\n          xelatex cheatsheet\n          cat <(md5sum cheatsheet.tex) <(md5sum sdsc_cheatsheet.cls) > ../cheatsheet_hash_new\n          cd ../..\n        env:\n          CHEATSHEET_TARGET: rp\n      - name: Build cheatsheet json\n        run: |\n          sphinx-build -b json -c docs/cheatsheet/ docs docs/json/ -W\n          cd docs/json/\n          python -c 'import json; print(json.dumps(json.loads(json.load(open(\"cheatsheet.fjson\", \"r\"))[\"body\"]), indent=2, sort_keys=True))' > cheatsheet.json\n          cat <(md5sum cheatsheet.json) > ../cheatsheet_json_hash_new\n          cd ../..\n      - name: Publish cheatsheet if changed\n        id: publish-pdf\n        if: ${{ hashFiles('docs/cheatsheet_hash') != hashFiles('docs/cheatsheet_hash_new') }}\n        run: |\n          cat docs/cheatsheet_hash\n          cat docs/cheatsheet_hash_new\n          cd docs\n          rm cheatsheet_hash\n          mv cheatsheet_hash_new cheatsheet_hash\n          cp latex/cheatsheet.pdf _static/cheatsheet/\n          git add cheatsheet_hash _static/cheatsheet/cheatsheet.pdf\n          git commit -m \"chore: Update cheatsheet pdf\"\n      - name: Publish UI cheatsheet if changed\n        id: publish-json\n        if: ${{ hashFiles('docs/cheatsheet_json_hash') != hashFiles('docs/cheatsheet_json_hash_new') }}\n        run: |\n          cat docs/cheatsheet_json_hash\n          cat docs/cheatsheet_json_hash_new\n          cd docs\n          rm cheatsheet_json_hash\n          mv cheatsheet_json_hash_new cheatsheet_json_hash\n          cp json/cheatsheet.json _static/cheatsheet/\n          git add cheatsheet_json_hash _static/cheatsheet/cheatsheet.json\n          git commit -m \"chore: Update cheatsheet json\"\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n        if: (steps.publish-pdf.outcome != 'Skipped' || steps.publish-json.outcome != 'Skipped') && success()\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ github.ref }}\n", "state": "active", "repository": "swissdatasciencecenter/renku-python"}
{"mined_at": "2024-07-15T13:57:54.481180", "created_at": "2022-09-06T10:06:42+02:00", "updated_at": "2022-09-06T23:39:51+02:00", "name": "Combine Dependabot PRs", "path": ".github/workflows/combine-dependabot-updates.yml", "contents": "name: \"Combine Dependabot PRs\"\non:\n  workflow_dispatch:\n    inputs:\n      target_branch:\n        description: Target branch to create a release/PR to\n        type: string\n        required: true\n        default: develop\n      branch_name:\n        description: Name of the branch to combine PRs into\n        type: string\n        required: true\n        default: combined-prs-branch\n\njobs:\n  combine-prs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n          token: \"${{ secrets.RENKUBOT_GITHUB_TOKEN }}\"\n          ref: develop\n      - name: Setup local branch and merge tool\n        run: |\n          git checkout -b \"${{ inputs.branch_name }}\" || ( git checkout \"${{ inputs.branch_name }}\" && git branch -u \"origin/${{ inputs.branch_name }}\" && git pull && git merge develop)\n          echo \"poetry.lock merge=ours\" >> .git/info/attributes\n          git config merge.ours.driver true\n          git merge --no-edit \"origin/${{ inputs.target_branch }}\"\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        env:\n          POETRY_VIRTUALENVS_CREATE: \"false\"\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n      - name: Set Git config\n        shell: bash\n        run: |\n          git config --global --add user.name \"Renku Bot\"\n          git config --global --add user.email \"renku@datascience.ch\"\n      - name: Merge PRs\n        id: merge_prs\n        env:\n          POETRY_VIRTUALENVS_CREATE: \"false\"\n        run: |\n          repo=\"https://api.github.com/repos/${{ github.repository }}\"\n          dependabot_pulls=($(curl -s \"$repo/pulls?state=open\" | jq -r \".[] | select((.head.ref | test(\\\"dependabot/\\\"))) | \\\"\\(.head.ref),\\(.number)\\\"\"))\n\n          pr_body=\"# Combined PRs\\n✅ The following pull requests have been successfully combined on this PR:\\n\"\n          failed=()\n\n          for branch in \"${dependabot_pulls[@]}\"; do\n            branch_arr=(${branch//,/ })\n            echo \"Merging branch ${branch_arr[0]}\"\n\n            if git merge --no-edit \"origin/${branch_arr[0]}\"; then\n              pr_body=\"$pr_body\\n- #${branch_arr[1]}\"\n            else\n              git merge --abort\n              git clean -fdx\n              git reset --hard\n              failed+=(${branch_arr[1]})\n            fi\n          done\n\n          if (( ${#failed[@]} )); then\n            pr_body=\"$pr_body\\n\\nFailed to combine:\\n\"\n\n            for fail in \"${failed[@]}\"; do\n              pr_body=\"$pr_body\\n- #$fail\"\n            done\n          fi\n          poetry lock\n          git add -A\n          git commit -m \"update lock file\" --no-verify\n          git status\n          git push origin \"${{ inputs.branch_name }}\"\n          echo \"pr_body=$pr_body\" >> $GITHUB_OUTPUT\n      - name: Create Pull Request\n        uses: actions/github-script@v6\n        with:\n          token: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}\n          script: |\n            const { repo, owner } = context.repo;\n            const result = await github.rest.pulls.create({\n              title: 'chore: combined dependency update',\n              owner,\n              repo,\n              head: '${{ inputs.branch_name }}',\n              base: '${{ inputs.target_branch }}',\n              body: '${{ steps.merge_prs.outputs.pr_body }}'\n            });\n            github.rest.issues.addLabels({\n              owner,\n              repo,\n              issue_number: result.data.number,\n              labels: ['dependencies', 'automated pr']\n            });\n", "state": "active", "repository": "swissdatasciencecenter/renku-python"}
{"mined_at": "2024-07-15T13:57:55.488341", "created_at": "2022-05-18T12:04:46+02:00", "updated_at": "2022-05-20T10:19:28+02:00", "name": "Add PR and Issues to project", "path": ".github/workflows/github-project.yml", "contents": "name: Add PR and Issues to project\non:\n  pull_request:\n    types:\n      - opened\n  issues:\n    types:\n      - opened\njobs:\n  add_to_project:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Add to renku-python\n        uses: actions/add-to-project@main\n        with:\n          project-url: https://github.com/orgs/SwissDataScienceCenter/projects/45\n          github-token: ${{ secrets.RENKUBOT_GITHUB_TOKEN  }}\n      - name: Add to triage board\n        uses: actions/add-to-project@main\n        with:\n          project-url: https://github.com/orgs/SwissDataScienceCenter/projects/51\n          github-token: ${{ secrets.RENKUBOT_GITHUB_TOKEN  }}\n          labeled: status/triage\n", "state": "active", "repository": "swissdatasciencecenter/renku-python"}
{"mined_at": "2024-07-15T13:57:56.508765", "created_at": "2020-01-12T15:15:52+01:00", "updated_at": "2020-01-12T15:15:52+01:00", "name": "Label PR as needs documentation", "path": ".github/workflows/labeler.yml", "contents": "name: \"Label PR as needs documentation\"\non:\n  pull_request:\n    types: [opened]\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v5.0.0\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "swissdatasciencecenter/renku-python"}
{"mined_at": "2024-07-15T13:57:57.512380", "created_at": "2020-01-09T15:55:44+01:00", "updated_at": "2020-01-09T15:55:44+01:00", "name": "Publish SHACL shape for current version", "path": ".github/workflows/publish_shacl.yml", "contents": "name: Publish SHACL shape for current version\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'renku/data/shacl_shape.json'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n        with:\n          python-version: \"3.10\"\n      - name: Publish shape\n        run: |\n          git clone https://${{secrets.RENKUBOT_GITHUB_TOKEN}}@github.com/SwissDataScienceCenter/renku-ontology.git shacl_publish\n          cd shacl_publish\n          mkdir $(renku --version)\n          cp ../renku/data/shacl_shape.json ./$(renku --version)/\n          git config --local user.email \"renku@datascience.ch\"\n          git config --local user.name \"RenkuBot\"\n          git add $(renku --version)/shacl_shape.json\n          git commit -m \"Publish SHACL shape for $(renku --version)\"\n          git push\n", "state": "active", "repository": "swissdatasciencecenter/renku-python"}
{"mined_at": "2024-07-15T13:57:58.492156", "created_at": "2023-03-15T18:46:16+01:00", "updated_at": "2023-03-15T18:46:16+01:00", "name": "Publish final pypi release", "path": ".github/workflows/pypi-release.yml", "contents": "name: \"Publish final pypi release\"\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: New release version (e.g. '2.3.1')\n        type: string\n        required: true\n\njobs:\n  finalize-release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n          token: \"${{ secrets.RENKUBOT_GITHUB_TOKEN }}\"\n          ref: 'refs/tags/v${{ github.event.inputs.version }}'\n      - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - name: Install dependencies\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry poetry-lock-package twine\n          poetry self add \"poetry-dynamic-versioning[plugin]\"\n          poetry install -E service --with dev,tests,docs\n          git config --global --add user.name \"Renku Bot\"\n          git config --global --add user.email \"renku@datascience.ch\"\n      - name: Build and publish to pypi\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n        run: make publish-package\n      - name: Build and publish lock package\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n        run: make publish-lock-package\n", "state": "active", "repository": "swissdatasciencecenter/renku-python"}
{"mined_at": "2024-07-15T13:57:59.612194", "created_at": "2022-09-28T09:47:44+02:00", "updated_at": "2022-09-28T09:47:44+02:00", "name": "Create Release PR", "path": ".github/workflows/release.yml", "contents": "name: \"Create Release PR\"\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: New release version (e.g. 2.3.1)\n        type: string\n        required: true\n      ref:\n        description: Source branch/ref to create a release from\n        type: string\n        required: true\n        default: develop\n      target_branch:\n        description: Target branch to create a release/PR to\n        type: string\n        required: true\n        default: master\n\njobs:\n  create-release-pr:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n          token: \"${{ secrets.RENKUBOT_GITHUB_TOKEN }}\"\n          ref: '${{ github.event.inputs.ref }}'\n      - uses: actions/setup-node@v3\n      - name: Create Branch\n        run: git checkout -b \"release/v${{ github.event.inputs.version }}\"\n      - name: Merge Target\n        run: git merge \"origin/${{ github.event.inputs.target_branch }}\"\n      - name: Install dependencies\n        run: |\n          sudo add-apt-repository -y ppa:rmescandon/yq\n          sudo apt-get update -y\n          sudo apt-get install -y pandoc yq\n          npm install -g conventional-changelog-cli\n      - name: Update changelog\n        id: changelog\n        run: |\n          echo '{\"version\": \"${{ github.event.inputs.version }}\"}' > context.json\n          conventional-changelog -r 1 -p angular -c context.json | sed -e '1,${s/^# /## /}' | pandoc --from markdown --to rst | sed -e '/=======/r /dev/stdin' -e '0,/=======/ s/=======/=======\\n/' -i CHANGES.rst\n          conventional-changelog -r 1 -p angular -c context.json | sed -e '1,${s/^# /## /}' > release_body.md\n          rm context.json\n      - name: Update Chart version\n        run: |\n          yq eval -i '.version = \"${{ github.event.inputs.version }}\"' helm-chart/renku-core/Chart.yaml\n      - name: Update Values file version\n        run: |\n          yq eval -i '.versions.latest.image.tag = \"v${{ github.event.inputs.version }}\"' helm-chart/renku-core/values.yaml\n      - name: commit changes\n        run: |\n          git config --global --add user.name \"Renku Bot\"\n          git config --global --add user.email \"renku@datascience.ch\"\n          git config push.autoSetupRemote true\n          git add helm-chart/renku-core/values.yaml helm-chart/renku-core/Chart.yaml renku/version.py CHANGES.rst\n          git commit -m \"chore: release v${{ github.event.inputs.version }}\"\n          git push\n      - uses: ncipollo/release-action@v1\n        with:\n          token: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}\n          draft: true\n          bodyFile: \"release_body.md\"\n          tag: \"v${{ github.event.inputs.version }}\"\n          name: \"v${{ github.event.inputs.version }}\"\n          commit: \"${{ github.event.inputs.target_branch }}\"\n      - name: Create Pull Request\n        uses: actions/github-script@v6\n        with:\n          token: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}\n          script: |\n            const { repo, owner } = context.repo;\n            const result = await github.rest.pulls.create({\n              title: 'chore: release v${{ github.event.inputs.version }}',\n              owner,\n              repo,\n              head: 'release/v${{ github.event.inputs.version }}',\n              base: '${{ github.event.inputs.target_branch }}',\n              body: [\n                'This PR is auto-generated by',\n                '[actions/github-script](https://github.com/actions/github-script).'\n              ].join('\\n')\n            });\n            github.rest.issues.addLabels({\n              owner,\n              repo,\n              issue_number: result.data.number,\n              labels: ['feature', 'automated pr']\n            });\n", "state": "active", "repository": "swissdatasciencecenter/renku-python"}
{"mined_at": "2024-07-15T13:58:00.829930", "created_at": "2019-12-19T13:25:29+01:00", "updated_at": "2020-01-13T13:38:45+01:00", "name": "Conventional Commit PR Message", "path": ".github/workflows/semantic_pr.yml", "contents": "name: \"Conventional Commit PR Message\"\non:\n  pull_request:\n    types:\n      - opened\n      - edited\n      - synchronize\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5.4.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "swissdatasciencecenter/renku-python"}
{"mined_at": "2024-07-15T13:58:01.947474", "created_at": "2020-01-20T11:04:11+01:00", "updated_at": "2023-03-31T18:03:53+02:00", "name": "Test, Integration Tests and Deploy", "path": ".github/workflows/test_deploy.yml", "contents": "name: Test, Integration Tests and Deploy\n\non:\n  push:\n    branches:\n      - master\n      - develop\n      - \"release/**\" # Or else PRs created by the PR action don't execute tests\n      - \"hotfix/**\"\n    tags:\n      - \"v*.*.*\"\n  pull_request:\n    types: [ opened, reopened, synchronize ]\n    branches:\n      - \"**\"\n      - \"!master\"\n\njobs:\n  set-matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - name: set matrix\n        id: set-matrix\n        env:\n          REF: ${{ github.ref }}\n          DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}\n        run: |\n          if [ \"$REF\" == \"refs/heads/$DEFAULT_BRANCH\" ] || [[ \"$REF\" =~ ^refs/tags/.* ]]\n          then\n              echo \"matrix={\\\"python-version\\\": [\\\"3.8\\\", \\\"3.11\\\"]}\" >> $GITHUB_OUTPUT\n          else\n              echo \"matrix={\\\"python-version\\\": [\\\"3.10\\\"]}\" >> $GITHUB_OUTPUT\n          fi\n\n  cleanup-runs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: rokroskar/workflow-run-cleanup-action@v0.3.3\n        env:\n          GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n    if: \"!startsWith(github.ref, 'refs/tags/') && !endsWith(github.ref, github.event.repository.default_branch)\"\n\n  style-check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3.6.0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n        with:\n          python-version: '3.10'\n      - name: Test style\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n        run: ./run-tests.sh -s\n      - name: Upload poetry lock file\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: poetry-lock\n          path: poetry.lock\n          retention-days: 5\n\n  docs-linux:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3.6.0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n      - name: Test docs\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          SIDEBAR: 1\n        run: ./run-tests.sh -d\n\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n      - name: Test mypy\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n        run: mypy renku\n\n  test-distro:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n      - name: Build Package\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n        run: poetry build\n      - name: test with twine\n        run: twine check dist/*\n\n  test-linux-api:\n    runs-on: ubuntu-latest\n    needs: [ set-matrix ]\n    strategy:\n      max-parallel: 3\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test with pytest\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n        run: pytest -v -m \"not integration and not publish and not serial\" -n auto tests/api\n      - name: Coveralls\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n          GITHUB_TOKEN: $COVERALLS_REPO_TOKEN\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n          COVERALLS_PARALLEL: true\n        if: always()\n        run: coveralls --service=github-actions\n        continue-on-error: true\n\n  test-linux-cli:\n    runs-on: ubuntu-latest\n    needs: [ set-matrix ]\n    strategy:\n      max-parallel: 3\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test with pytest\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n        run: pytest -v -m \"not integration and not publish and not serial\" -n auto  tests/cli\n      - name: Test with pytest (serial)\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n        run: pytest -v --cov-append -m \"not integration and not publish and serial\"  tests/cli\n      - name: Coveralls\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n          GITHUB_TOKEN: $COVERALLS_REPO_TOKEN\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n          COVERALLS_PARALLEL: true\n        if: always()\n        run: coveralls --service=github-actions\n        continue-on-error: true\n\n  test-linux-core:\n    runs-on: ubuntu-latest\n    needs: [ set-matrix ]\n    strategy:\n      max-parallel: 3\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test with pytest\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n        run: pytest -v -m \"not integration and not publish and not serial\" -n auto tests/core\n      - name: Test with pytest (serial)\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n        run: pytest -v --cov-append -m \"not integration and not publish and serial\" tests/core\n      - name: Coveralls\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n          GITHUB_TOKEN: $COVERALLS_REPO_TOKEN\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n          COVERALLS_PARALLEL: true\n        if: always()\n        run: coveralls --service=github-actions\n        continue-on-error: true\n\n  test-linux-service:\n    runs-on: ubuntu-latest\n    needs: [ set-matrix ]\n    strategy:\n      max-parallel: 3\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test with pytest\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n        run: pytest -v -m \"not integration and not publish\" -n auto tests/service\n      - name: Coveralls\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n          GITHUB_TOKEN: $COVERALLS_REPO_TOKEN\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n          COVERALLS_PARALLEL: true\n        if: always()\n        run: coveralls --service=github-actions\n        continue-on-error: true\n\n  test-linux-integration:\n    runs-on: ubuntu-latest\n    needs: [ set-matrix ]\n    strategy:\n      max-parallel: 3\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test with pytest\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          DATAVERSE_ACCESS_TOKEN: ${{ secrets.DATAVERSE_ACCESS_TOKEN }}\n          IT_OAUTH_GIT_TOKEN: ${{ secrets.IT_OAUTH_GIT_TOKEN }}\n          ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}\n          OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n          CLOUD_STORAGE_AZURE_KEY: ${{ secrets.CLOUD_STORAGE_AZURE_KEY }}\n          CLOUD_STORAGE_S3_ACCESS_KEY_ID: ${{ secrets.CLOUD_STORAGE_S3_ACCESS_KEY_ID }}\n          CLOUD_STORAGE_S3_SECRET_ACCESS_KEY: ${{ secrets.CLOUD_STORAGE_S3_SECRET_ACCESS_KEY }}\n        run: pytest -m \"integration and not shaky and not service and not serial\" -v --timeout=600 -n auto\n      - name: Start Redis\n        uses: supercharge/redis-github-action@1.8.0\n      - name: Test with pytest (serial)\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          DATAVERSE_ACCESS_TOKEN: ${{ secrets.DATAVERSE_ACCESS_TOKEN }}\n          IT_OAUTH_GIT_TOKEN: ${{ secrets.IT_OAUTH_GIT_TOKEN }}\n          ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}\n          OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n        run: pytest --cov-append -m \"integration and not shaky and not service and serial\" -v --timeout=600\n      - name: Coveralls\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n          GITHUB_TOKEN: $COVERALLS_REPO_TOKEN\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n          COVERALLS_PARALLEL: true\n        if: always()\n        run: coveralls --service=github-actions\n        continue-on-error: true\n\n  test-linux-integration-shaky:\n    runs-on: ubuntu-latest\n    needs: [ set-matrix ]\n    strategy:\n      max-parallel: 3\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test with pytest\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          DATAVERSE_ACCESS_TOKEN: ${{ secrets.DATAVERSE_ACCESS_TOKEN }}\n          IT_OAUTH_GIT_TOKEN: ${{ secrets.IT_OAUTH_GIT_TOKEN }}\n          ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}\n          OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n          CLOUD_STORAGE_AZURE_KEY: ${{ secrets.CLOUD_STORAGE_AZURE_KEY }}\n          CLOUD_STORAGE_S3_ACCESS_KEY_ID: ${{ secrets.CLOUD_STORAGE_S3_ACCESS_KEY_ID }}\n          CLOUD_STORAGE_S3_SECRET_ACCESS_KEY: ${{ secrets.CLOUD_STORAGE_S3_SECRET_ACCESS_KEY }}\n        run: pytest -m \"integration and shaky and not service and not serial\" -v --timeout=600 -n auto\n      - name: Start Redis\n        uses: supercharge/redis-github-action@1.8.0\n      - name: Test with pytest (serial)\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          DATAVERSE_ACCESS_TOKEN: ${{ secrets.DATAVERSE_ACCESS_TOKEN }}\n          IT_OAUTH_GIT_TOKEN: ${{ secrets.IT_OAUTH_GIT_TOKEN }}\n          ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}\n          OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n          CLOUD_STORAGE_AZURE_KEY: ${{ secrets.CLOUD_STORAGE_AZURE_KEY }}\n          CLOUD_STORAGE_S3_ACCESS_KEY_ID: ${{ secrets.CLOUD_STORAGE_S3_ACCESS_KEY_ID }}\n          CLOUD_STORAGE_S3_SECRET_ACCESS_KEY: ${{ secrets.CLOUD_STORAGE_S3_SECRET_ACCESS_KEY }}\n        run: pytest -m \"integration and shaky and not service and serial\" -v --timeout=600 -n auto\n      - name: Coveralls\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n          GITHUB_TOKEN: $COVERALLS_REPO_TOKEN\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n          COVERALLS_PARALLEL: true\n        if: always()\n        run: coveralls --service=github-actions\n        continue-on-error: true\n\n  test-linux-integration-service:\n    runs-on: ubuntu-latest\n    needs: [ set-matrix ]\n    strategy:\n      max-parallel: 3\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test with pytest\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          DATAVERSE_ACCESS_TOKEN: ${{ secrets.DATAVERSE_ACCESS_TOKEN }}\n          IT_OAUTH_GIT_TOKEN: ${{ secrets.IT_OAUTH_GIT_TOKEN }}\n          ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}\n          OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n        run: pytest -m \"integration and service and not serial\" -v --timeout=600 -n auto\n      - name: Test with pytest (serial)\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          DATAVERSE_ACCESS_TOKEN: ${{ secrets.DATAVERSE_ACCESS_TOKEN }}\n          IT_OAUTH_GIT_TOKEN: ${{ secrets.IT_OAUTH_GIT_TOKEN }}\n          ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}\n          OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n        run: pytest --cov-append -m \"integration and service and serial\" -v --timeout=600\n      - name: Coveralls\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n          GITHUB_TOKEN: $COVERALLS_REPO_TOKEN\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n          COVERALLS_PARALLEL: true\n        if: always()\n        run: coveralls --service=github-actions\n        continue-on-error: true\n\n  test-macos-api:\n    runs-on: macos-latest\n    needs: [ set-matrix ]\n    strategy:\n      max-parallel: 3\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-macos\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test with pytest\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n        run: pytest -v -m \"not integration and not publish and not serial and not service\" tests/api\n\n  test-macos-cli:\n    runs-on: macos-latest\n    needs: [ set-matrix ]\n    strategy:\n      max-parallel: 3\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-macos\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test with pytest\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n        run: pytest -v -m \"not integration and not publish and not serial and not service\" tests/cli\n      - name: Test with pytest (serial)\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n        run: pytest -v -m \"not integration and not publish and serial and not service\" tests/cli\n\n  test-macos-core:\n    runs-on: macos-latest\n    needs: [ set-matrix ]\n    strategy:\n      max-parallel: 3\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-macos\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Test with pytest\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n        run: pytest -v -m \"not integration and not publish and not serial and not service\" tests/core\n      - name: Test with pytest (serial)\n        env:\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n        run: pytest -v -m \"not integration and not publish and serial and not service\" tests/core\n\n  test-macos-integration:\n    runs-on: macos-latest\n    needs: [ set-matrix ]\n    strategy:\n      max-parallel: 1\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix) }}\n    if: \"startsWith(github.ref, 'refs/tags/') || endsWith(github.ref, github.event.repository.default_branch)\"\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-macos\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install RClone\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n        run: brew install rclone macfuse\n      - name: Test with pytest\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          DATAVERSE_ACCESS_TOKEN: ${{ secrets.DATAVERSE_ACCESS_TOKEN }}\n          IT_OAUTH_GIT_TOKEN: ${{ secrets.IT_OAUTH_GIT_TOKEN }}\n          ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}\n          OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n          CLOUD_STORAGE_AZURE_KEY: ${{ secrets.CLOUD_STORAGE_AZURE_KEY }}\n          CLOUD_STORAGE_S3_ACCESS_KEY_ID: ${{ secrets.CLOUD_STORAGE_S3_ACCESS_KEY_ID }}\n          CLOUD_STORAGE_S3_SECRET_ACCESS_KEY: ${{ secrets.CLOUD_STORAGE_S3_SECRET_ACCESS_KEY }}\n        run: pytest -m \"integration and not serial and not service and not redis\" -v\n      - name: Test with pytest (serial)\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          LANG: en_US.UTF-8\n          LC_ALL: en_US.UTF-8\n          DATAVERSE_ACCESS_TOKEN: ${{ secrets.DATAVERSE_ACCESS_TOKEN }}\n          IT_OAUTH_GIT_TOKEN: ${{ secrets.IT_OAUTH_GIT_TOKEN }}\n          ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}\n          OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}\n          RENKU_REQUESTS_TIMEOUT_SECONDS: 120\n        run: pytest -m \"integration and serial and not service\" -v\n\n  publish-pypi:\n    runs-on: ubuntu-latest\n    if: \"startsWith(github.ref, 'refs/tags/')\"\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n        with:\n          python-version: '3.9'\n      - name: Calculate pre-release version\n        id: pre-release-version\n        run: |\n          renku_version=$(renku --version)\n          rc=$(curl -s https://pypi.org/pypi/renku/json | jq \".releases | keys_unsorted | map(select( . | startswith(\\\"$renku_version\\\"))) | map(match(\\\"[0-9]+\\\\\\\\.[0-9]+\\\\\\\\.[0-9]+(rc([0-9]+))?\\\").captures[1].string // 0) | max // 0 | tonumber + 1\")\n          echo \"RELEASE_VERSION=${renku_version}rc${rc}\" >> \"$GITHUB_OUTPUT\"\n      - name: Build and publish to pypi\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n          POETRY_DYNAMIC_VERSIONING_BYPASS: ${{ steps.pre-release-version.outputs.RELEASE_VERSION }}\n        run: make publish-package\n      - name: Build and publish lock package\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n          POETRY_DYNAMIC_VERSIONING_BYPASS: ${{ steps.pre-release-version.outputs.RELEASE_VERSION  }}\n        run: make publish-lock-package\n\n  build-images:\n    runs-on: ubuntu-latest\n    needs:\n      [\n        docs-linux,\n        test-linux-cli,\n        test-linux-core,\n        test-linux-service,\n        test-macos-cli,\n        test-macos-core,\n      ]\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Build images\n        run: make docker-tag\n      - name: Docker Login\n        if: \"startsWith(github.ref, 'refs/tags/') || endsWith(github.ref, github.event.repository.default_branch)\"\n        uses: Azure/docker-login@v1\n        with:\n          username: ${{ secrets.RENKU_DOCKER_USERNAME }}\n          password: ${{ secrets.RENKU_DOCKER_PASSWORD }}\n      - name: Push images\n        if: \"startsWith(github.ref, 'refs/tags/') ||  endsWith(github.ref, github.event.repository.default_branch)\"\n        run: |\n          make docker-push\n\n  publish-chart:\n    runs-on: ubuntu-latest\n    needs:\n      [\n        docs-linux,\n        test-linux-cli,\n        test-linux-core,\n        test-linux-service,\n        test-macos-cli,\n        test-macos-core,\n      ]\n    if: startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Set up environment variables\n        run: |\n          echo \"GIT_USER=Renku Bot\" >> $GITHUB_ENV\n          echo \"GIT_EMAIL=renku@datascience.ch\" >> $GITHUB_ENV\n      - name: Build and push images\n        uses: SwissDataScienceCenter/renku-actions/publish-chartpress-images@v1.9.1\n        env:\n          GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}\n          DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }}\n          DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }}\n      - name: Update component version\n        uses: SwissDataScienceCenter/renku-actions/update-component-version@v1.9.1\n        env:\n          COMPONENT_NAME: renku-core\n          GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }}\n\n  coveralls-final:\n    name: Aggregate coveralls data\n    needs:\n      [\n        test-linux-cli,\n        test-linux-core,\n        test-linux-service,\n        test-linux-api,\n        test-linux-integration,\n        test-linux-integration-shaky,\n        test-linux-integration-service,\n      ]\n    if: always()\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n    steps:\n      - name: Coveralls Finished\n        uses: coverallsapp/github-action@master\n        with:\n          github-token: ${{ secrets.github_token }}\n          parallel-finished: true\n          base-path: renku/\n", "state": "active", "repository": "swissdatasciencecenter/renku-python"}
{"mined_at": "2024-07-15T13:58:03.082586", "created_at": "2020-03-19T11:22:36+01:00", "updated_at": "2020-03-19T11:22:36+01:00", "name": "Integration Test when Publishing to External Data Warehouses", "path": ".github/workflows/test_publish.yml", "contents": "name: Integration Test when Publishing to External Data Warehouses\n\non:\n  push:\n    branches:\n      - master\n      - develop\n    paths:\n      - renku/core/commands/providers/*.py\n\njobs:\n  test-linux-integration-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3.6.0\n        with:\n          fetch-depth: 0\n      - name: Install dependencies\n        uses: ./.github/actions/install-linux\n        with:\n          python-version: \"3.10\"\n      - name: Test with pytest\n        env:\n          DATAVERSE_ACCESS_TOKEN: ${{ secrets.DATAVERSE_ACCESS_TOKEN }}\n          IT_OAUTH_GIT_TOKEN: ${{ secrets.IT_OAUTH_GIT_TOKEN }}\n          ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}\n          OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}\n        run: pytest -m publish -v\n", "state": "active", "repository": "swissdatasciencecenter/renku-python"}
{"mined_at": "2024-07-15T13:58:05.104164", "created_at": "2023-11-30T13:41:18+01:00", "updated_at": "2023-11-30T13:41:18+01:00", "name": ".github/workflows/_test.yml", "path": ".github/workflows/_test.yml", "contents": "on:\n  workflow_call:\n  # Permissions inherited from caller workflow\n\npermissions: {}\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        # Run tests once on each supported Python\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest]\n        toxenv: [py]\n        include:\n          # Run macOS, Windows and \"special\" tests on latest Python version only\n          - python-version: \"3.11\"\n            os: macos-latest\n            toxenv: py\n          - python-version: \"3.11\"\n            os: windows-latest\n            toxenv: py\n          - python-version: \"3.11\"\n            os: ubuntu-latest\n            toxenv: purepy311\n          - python-version: \"3.11\"\n            os: ubuntu-latest\n            toxenv: py311-no-gpg\n          - python-version: \"3.11\"\n            os: ubuntu-latest\n            toxenv: py311-test-gpg-fails\n          - python-version: \"3.11\"\n            os: ubuntu-latest\n            toxenv: lint\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Checkout securesystemslib\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: \"requirements*.txt\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox\n\n      - name:  Install system dependencies\n        shell: bash\n        run: |\n          # NOTE: HSM tests are skipped silently, if PYKCS11LIB is unset.\n\n          if [ \"$RUNNER_OS\" == \"Linux\" ]; then\n            sudo apt-get install -y softhsm2\n            echo \"PYKCS11LIB=/usr/lib/softhsm/libsofthsm2.so\" >> $GITHUB_ENV\n\n          elif [ \"$RUNNER_OS\" == \"macOS\" ]; then\n            brew install softhsm\n            echo \"PYKCS11LIB=$(brew --prefix softhsm)/lib/softhsm/libsofthsm2.so\" >> $GITHUB_ENV\n\n          elif [ \"$RUNNER_OS\" == \"Windows\" ]; then\n            echo \"Skipping HSM tests on Windows\"\n            # see https://github.com/secure-systems-lab/securesystemslib/issues/520\n\n\n          else\n              echo \"$RUNNER_OS not supported\"\n              exit 1\n          fi\n\n      - name: Run tox\n        run: tox -e ${{ matrix.toxenv }}\n", "state": "active", "repository": "secure-systems-lab/securesystemslib"}
{"mined_at": "2024-07-15T13:58:06.359955", "created_at": "2023-11-30T13:41:18+01:00", "updated_at": "2023-11-30T13:41:18+01:00", "name": "CD", "path": ".github/workflows/cd.yml", "contents": "name: CD\nconcurrency: cd\n\non:\n  push:\n    tags:\n      - v*\n\npermissions: {}\n\njobs:\n  test:\n    name: Test\n    uses: ./.github/workflows/_test.yml\n\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    needs: test\n    steps:\n      - name: Checkout release tag\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          ref: ${{ github.event.workflow_run.head_branch }}\n\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n\n      - name: Install build dependency\n        run: python3 -m pip install --constraint requirements-build.txt build\n\n      - name: Build binary wheel and source tarball\n        run: PIP_CONSTRAINT=requirements-build.txt python3 -m build --sdist --wheel --outdir dist/ .\n\n      - name: Store build artifacts\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        # NOTE: The GitHub release page contains the release artifacts too, but using\n        # GitHub upload/download actions seems robuster: there is no need to compute\n        # download URLs and tampering with artifacts between jobs is more limited.\n        with:\n          name: build-artifacts\n          path: dist\n\n  candidate_release:\n    name: Release candidate on Github for review\n    runs-on: ubuntu-latest\n    needs: build\n    permissions:\n      contents: write # to modify GitHub releases\n    outputs:\n      release_id: ${{ steps.gh-release.outputs.result }}\n    steps:\n      - name: Fetch build artifacts\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: build-artifacts\n          path: dist\n\n      - id: gh-release\n        name: Publish GitHub release draft\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        with:\n          script: |\n            fs = require('fs')\n            res = await github.rest.repos.createRelease({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              name: '${{ github.ref_name }}-rc',\n              tag_name: '${{ github.ref }}',\n              body: 'Release waiting for review...',\n            });\n\n            fs.readdirSync('dist/').forEach(file => {\n              github.rest.repos.uploadReleaseAsset({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                release_id: res.data.id,\n                name: file,\n                data: fs.readFileSync('dist/' + file),\n              });\n            });\n            return res.data.id\n\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    needs: candidate_release\n    environment: release\n    permissions:\n      contents: write # to modify GitHub releases\n      id-token: write # to authenticate as Trusted Publisher to pypi.org\n    steps:\n      - name: Fetch build artifacts\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: build-artifacts\n          path: dist\n\n      - name: Publish binary wheel and source tarball on PyPI\n        # Only attempt pypi upload in upstream repository\n        if: github.repository == 'secure-systems-lab/securesystemslib'\n        uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0\n\n      - name: Finalize GitHub release\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        with:\n          script: |\n            github.rest.repos.updateRelease({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              release_id: '${{ needs.candidate_release.outputs.release_id }}',\n              name: '${{ github.ref_name }}',\n              body: 'See [CHANGELOG.md](https://github.com/' +\n                     context.repo.owner + '/' + context.repo.repo +\n                    '/blob/${{ github.ref_name }}/CHANGELOG.md) for details.'\n            })\n", "state": "active", "repository": "secure-systems-lab/securesystemslib"}
{"mined_at": "2024-07-15T13:58:07.588578", "created_at": "2020-10-30T12:56:21+01:00", "updated_at": "2022-02-10T10:41:14+01:00", "name": "Look for changes in ed25519 upstream", "path": ".github/workflows/check-upstream-ed25519.yml", "contents": "name: Look for changes in ed25519 upstream\n\non:\n  schedule:\n    - cron: '0 13 * * *'\n  workflow_dispatch:\n\npermissions: {}\n\njobs:\n  check-ed25519-upstream:\n    name: Open an issue if upstream ed25519 has new commits\n    runs-on: ubuntu-latest\n    permissions:\n      issues: 'write' # for filing an issue on failure\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n    - name: Test if ed25519 upstream main HEAD is what we expect\n      id: test_ed25519\n      run: |\n        if output=$(securesystemslib/_vendor/test-ed25519-upstream.sh); then\n          echo \"result=0\" >> $GITHUB_OUTPUT\n        else\n          echo \"result=1\" >> $GITHUB_OUTPUT\n          echo \"output=$output\" >> $GITHUB_OUTPUT\n        fi\n    - name: Create issue (unless one is open already)\n      uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea\n      if: ${{ steps.test_ed25519.outputs.result == '1' }}\n      with:\n        script: |\n          console.log(\"ed25519 upstream main has changed!\")\n          console.log(\"${{ steps.test_ed25519.outputs.output }}\")\n          const repo = context.repo.owner + \"/\" + context.repo.repo\n          const issues = await github.rest.search.issuesAndPullRequests({\n            q: \"ed25519+upstream+has+new+commits+in:title+state:open+type:issue+repo:\" + repo,\n          })\n\n          if (issues.data.total_count > 0) {\n            console.log(\"Issue is already open, not creating.\")\n          } else {\n            console.log(\"Creating a new issue...\")\n            await github.rest.issues.create({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              title: \"ed25519 upstream has new commits\",\n              body: \"It seems https://github.com/pyca/ed25519.git has changed: \" +\n                    \"${{ steps.test_ed25519.outputs.output }} \" +\n                    \"Please review changes, update the vendored copy if needed, and \" +\n                    \"then update the expected hash in _vendor/test-ed25519-upstream.sh\"\n            })\n          }\n", "state": "active", "repository": "secure-systems-lab/securesystemslib"}
{"mined_at": "2024-07-15T13:58:08.754294", "created_at": "2021-02-10T14:36:49+01:00", "updated_at": "2022-11-16T16:09:14+01:00", "name": "Run Securesystemslib tests", "path": ".github/workflows/ci.yml", "contents": "name: Run Securesystemslib tests\n\non:\n  push:\n    branches:\n      - main\n\n  pull_request:\n  workflow_dispatch:\n\npermissions: {}\n\njobs:\n  test:\n    name: Test\n    uses: ./.github/workflows/_test.yml\n", "state": "active", "repository": "secure-systems-lab/securesystemslib"}
{"mined_at": "2024-07-15T13:58:09.778409", "created_at": "2024-04-11T16:41:24+02:00", "updated_at": "2024-04-12T11:17:26+02:00", "name": "Run AWS KMS tests", "path": ".github/workflows/test-kms-aws.yml", "contents": "name: Run AWS KMS tests\n\non:\n  push:\n  pull_request:\n\njobs:\n  local-aws-kms:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout securesystemslib\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: '3.x'\n          cache: 'pip'\n          cache-dependency-path: 'requirements*.txt'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox\n\n      - name: Run tests\n        run: tox -e local-aws-kms\n", "state": "active", "repository": "secure-systems-lab/securesystemslib"}
{"mined_at": "2024-07-15T13:58:10.865208", "created_at": "2022-12-12T09:47:23+01:00", "updated_at": "2022-12-12T09:47:23+01:00", "name": "Run KMS tests", "path": ".github/workflows/test-kms.yml", "contents": "name: Run KMS tests\n\non:\n  push:\n  workflow_dispatch:\n\npermissions: {}\n\njobs:\n  test-kms:\n    runs-on: ubuntu-latest\n    if: github.repository_owner == 'secure-systems-lab' # only run upstream\n\n    permissions:\n      id-token: 'write' # for OIDC auth for GCP authentication\n      issues: 'write' # for filing an issue on failure\n\n    steps:\n      - name: Checkout securesystemslib\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: '3.x'\n          cache: 'pip'\n          cache-dependency-path: 'requirements*.txt'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox\n\n      - name: Authenticate to Google Cloud\n        uses: google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa\n        with:\n          token_format: access_token\n          workload_identity_provider: projects/843741030650/locations/global/workloadIdentityPools/securesystemslib-tests/providers/securesystemslib-tests\n          service_account: securesystemslib@python-tuf-kms.iam.gserviceaccount.com\n\n      - run: tox -e kms\n\n      - name: File an issue on failure\n        if: ${{ failure() }}\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea\n        with:\n          script: |\n              const repo = context.repo.owner + \"/\" + context.repo.repo\n              const issues = await github.rest.search.issuesAndPullRequests({\n                q: \"KMS+tests+failed+in:title+state:open+type:issue+repo:\" + repo,\n              })\n              if (issues.data.total_count > 0) {\n                console.log(\"Issue open already, not creating.\")\n              } else {\n                await github.rest.issues.create({\n                  owner: context.repo.owner,\n                  repo: context.repo.repo,\n                  title: \"KMS tests failed\",\n                  body: \"Hey, it seems KMS tests have failed, please see - [workflow run](\" +\n                        \"https://github.com/\" + repo + \"/actions/runs/\" + context.runId + \")\"\n                })\n                console.log(\"New issue created.\")\n              }\n", "state": "active", "repository": "secure-systems-lab/securesystemslib"}
{"mined_at": "2024-07-15T13:58:11.971490", "created_at": "2023-02-28T17:10:21+01:00", "updated_at": "2023-03-10T09:31:30+01:00", "name": "Run Sigstore Signer tests", "path": ".github/workflows/test-sigstore.yml", "contents": "name: Run Sigstore Signer tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  workflow_dispatch:\n\npermissions: {}\n\njobs:\n  test-sigstore:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout securesystemslib\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: '3.x'\n          cache: 'pip'\n          cache-dependency-path: 'requirements*.txt'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox\n\n      - run: |\n          tox -e sigstore\n", "state": "active", "repository": "secure-systems-lab/securesystemslib"}
{"mined_at": "2024-07-15T13:58:13.221816", "created_at": "2024-04-26T14:11:03+02:00", "updated_at": "2024-05-02T12:38:52+02:00", "name": "Run HashiCorp Vault tests", "path": ".github/workflows/test-vault.yaml", "contents": "name: Run HashiCorp Vault tests\n\non:\n  push:\n  pull_request:\n\njobs:\n  local-vault:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout securesystemslib\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: '3.x'\n          cache: 'pip'\n          cache-dependency-path: 'requirements*.txt'\n\n      - name:  Install system dependencies\n        shell: bash\n        run: |\n          sudo apt update && sudo apt install -y gpg wget\n          wget -O- https://apt.releases.hashicorp.com/gpg | \\\n            sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg\n\n          gpg --no-default-keyring --fingerprint \\\n            --keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg\n\n          echo \"deb [arch=$(dpkg --print-architecture) \\\n            signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \\\n            https://apt.releases.hashicorp.com $(lsb_release -cs) main\" | \\\n            sudo tee /etc/apt/sources.list.d/hashicorp.list\n\n          sudo apt update && sudo apt install -y vault\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox\n\n      - name: Run tests\n        run: tox -e local-vault\n", "state": "active", "repository": "secure-systems-lab/securesystemslib"}
{"mined_at": "2024-07-15T13:58:15.371869", "created_at": "2024-03-24T02:17:26+01:00", "updated_at": "2024-03-24T18:00:29+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\nenv:\n  PYTHON_VERSION: '3.12'\n  TZ: Europe/Zurich\n\non:\n  push:\n    branches:\n      - 'master'\n      - '*.x'\n  pull_request:\n    branches:\n      - 'master'\n      - '*.x'\n    types:\n      - opened\n      - reopened\n      - synchronize\n      - labeled\n  workflow_dispatch:\n    inputs:\n      add-version-suffix:\n        type: boolean\n        default: true\n        description: Append version suffix\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: Build plugins 🏗\n    uses: indico/indico-gh-actions/.github/workflows/build-plugins.yml@master\n    with:\n      directory: public\n      add-version-suffix: ${{ github.event_name != 'workflow_dispatch' || inputs.add-version-suffix }}\n\n  bundle:\n    name: Bundle wheels 📦\n    needs: build\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n          pattern: plugin-wheel-*\n          path: dist\n      - name: List artifacts 📃\n        run: ls -al dist/\n      - uses: actions/upload-artifact@v4\n        name: Upload build artifacts 📦\n        with:\n          name: plugin-wheels\n          retention-days: 7\n          path: dist\n      - name: Delete individual artifacts 🚮\n        uses: geekyeggo/delete-artifact@v5\n        with:\n          name: plugin-wheel-*\n", "state": "active", "repository": "indico/indico-plugins"}
{"mined_at": "2024-07-15T13:58:16.419584", "created_at": "2021-01-26T19:12:44+01:00", "updated_at": "2021-01-26T19:12:44+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\nenv:\n  PYTHON_VERSION: '3.12.2'\n\non:\n  push:\n    branches:\n      - master\n      - '*.x'\n  pull_request:\n    branches:\n      - master\n      - '*.x'\n\njobs:\n  setup:\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Pick Indico core repo\n        env:\n          GH_TOKEN: ${{ github.token }}\n          PR_BODY: ${{ github.event_name == 'pull_request' && github.event.pull_request.body }}\n          PR_BASE_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref }}\n        run: python .github/utils/get_core_repo.py indico/indico INDICO\n\n      - name: Install system dependencies\n        run: sudo apt-get install postgresql-client libpq-dev\n\n      - name: Create virtualenv\n        run: |\n          python3.12 -m venv .venv\n          source .venv/bin/activate\n          pip install -U pip setuptools wheel\n\n      - name: Activate virtualenv for later steps\n        run: |\n          echo \"VIRTUAL_ENV=$(pwd)/.venv\" >> $GITHUB_ENV\n          echo \"$(pwd)/.venv/bin\" >> $GITHUB_PATH\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: Cache pip\n        id: cache-pip\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: pip|${{ runner.os }}|3.12|${{ hashFiles('**/setup.cfg') }}\n\n      - uses: actions/cache@v4\n        id: cache-npm\n        with:\n          path: node_modules\n          key: ${{ runner.os }}-npm-${{ hashFiles('package*.json') }}\n\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        if: steps.cache-npm.outputs.cache-hit != 'true'\n        with:\n          node-version: '18.x'\n\n      - name: Install Indico\n        run: |\n          pip install Babel\n          pip install \"indico[dev] @ git+https://github.com/${INDICO_REPO}.git@${INDICO_BRANCH}\"\n\n      - name: Install node dependencies\n        if: steps.cache-npm.outputs.cache-hit != 'true'\n        run: npm ci\n\n      - name: Archive environment\n        run: tar cf /tmp/env.tar .venv node_modules\n\n      - name: Upload environment\n        uses: actions/upload-artifact@v4\n        with:\n          name: environment\n          retention-days: 1\n          path: /tmp/env.tar\n\n  lint:\n    needs: setup\n    runs-on: ubuntu-22.04\n\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: '18.x'\n\n      - name: Download environment\n        uses: actions/download-artifact@v4\n        with:\n          name: environment\n          path: /tmp\n\n      - name: Restore environment\n        run: tar xf /tmp/env.tar\n\n      - name: Activate virtualenv for later steps\n        run: |\n          echo \"VIRTUAL_ENV=$(pwd)/.venv\" >> $GITHUB_ENV\n          echo \"$(pwd)/.venv/bin\" >> $GITHUB_PATH\n\n      - name: Check manifests\n        run: python .github/utils/check_manifests.py\n\n      - name: Check import sorting\n        if: success() || failure()\n        run: isort --diff --check-only .\n\n      - name: Check headers\n        if: success() || failure()\n        run: |\n          echo '::add-matcher::.github/matchers/headers-problem-matcher.json'\n          unbehead --check\n          echo '::remove-matcher owner=headers::'\n\n      - name: Run ruff\n        if: success() || failure()\n        run: |\n          ruff check --output-format github .\n\n      - name: Run flake8\n        if: success() || failure()\n        run: |\n          echo '::add-matcher::.github/matchers/flake8-problem-matcher.json'\n          flake8 --format '%(path)s:%(row)d:%(col)d: %(code)s %(text)s'\n          echo '::remove-matcher owner=flake8::'\n\n  test-plugin:\n    needs: setup\n    runs-on: ubuntu-22.04\n\n    defaults:\n      run:\n        shell: bash\n\n    services:\n      postgres:\n        image: postgres:13\n        env:\n          POSTGRES_HOST_AUTH_METHOD: trust\n        ports:\n          - 5432\n        options: --health-cmd pg_isready --health-interval 5s --health-timeout 5s --health-retries 10\n\n    strategy:\n      matrix:\n        include:\n          - plugin: citadel\n          - plugin: livesync\n          - plugin: payment_paypal\n          - plugin: storage_s3\n          - plugin: vc_zoom\n          - plugin: prometheus\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: '18.x'\n\n      - name: Download environment\n        uses: actions/download-artifact@v4\n        with:\n          name: environment\n          path: /tmp\n\n      - name: Restore environment\n        run: tar xf /tmp/env.tar\n\n      - name: Activate virtualenv for later steps\n        run: |\n          echo \"VIRTUAL_ENV=$(pwd)/.venv\" >> $GITHUB_ENV\n          echo \"$(pwd)/.venv/bin\" >> $GITHUB_PATH\n\n      - name: Install extra dependencies\n        if: matrix.plugin == 'citadel' || matrix.plugin == 'prometheus'\n        run: |\n          pip install -e \"${GITHUB_WORKSPACE}/livesync/\"\n\n      - name: Install plugin\n        run: |\n          cd \"${GITHUB_WORKSPACE}/${{ matrix.plugin }}\"\n          pip install -e .\n\n      - name: Install redis\n        run: sudo apt-get install redis-server\n\n      - name: Setup database\n        run: |\n          export PGHOST=localhost\n          export PGPORT=${{ job.services.postgres.ports[5432] }}\n          export PGUSER=postgres\n          createuser indicotest\n          createdb -O indicotest indicotest\n          psql indicotest -c 'CREATE EXTENSION unaccent;'\n          psql indicotest -c 'CREATE EXTENSION pg_trgm;'\n\n      - name: Run tests\n        run: |\n          export INDICO_TEST_DATABASE_URI=\"postgresql://indicotest@localhost:${{ job.services.postgres.ports[5432] }}/indicotest\"\n          cd \"${GITHUB_WORKSPACE}/${{ matrix.plugin }}\"\n          pytest --color=yes\n", "state": "active", "repository": "indico/indico-plugins"}
{"mined_at": "2024-07-15T13:58:17.436337", "created_at": "2024-03-30T15:33:08+01:00", "updated_at": "2024-03-30T16:49:31+01:00", "name": "PyPI release 🐍 📦", "path": ".github/workflows/pypi.yml", "contents": "name: PyPI release 🐍 📦\n\nenv:\n  PYTHON_VERSION: '3.12'\n  TZ: Europe/Zurich\n\non:\n  push:\n    tags:\n      - 'v*'\n      - '!v0.*'\n      - '!v1.*'\n      - '!v2.*'\n      - '!v3.0'\n      - '!v3.0.*'\n      - '!v3.1'\n      - '!v3.1.*'\n      - '!v3.2'\n      - '!v3.2.*'\n      - '!*\\+docs'\n\npermissions:\n  contents: read\n\njobs:\n  check-version:\n    name: Check version\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Set up Python 🐍\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Check version 🔍\n        run: python .github/utils/check_version.py \"${GITHUB_REF#refs/tags/v}\"\n\n  build:\n    name: Build plugins 🏗\n    needs: check-version\n    uses: indico/indico-gh-actions/.github/workflows/build-plugins.yml@master\n    with:\n      directory: public\n      add-version-suffix: false\n\n  test-install:\n    name: Test installing plugins\n    needs: build\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Download build artifacts 📦\n        uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n          pattern: plugin-wheel-*\n          path: wheels\n\n      - name: Set up Python 🐍\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Install Indico 🔧\n        run: |\n          sudo apt-get install libpq-dev\n          pip install setuptools wheel\n          pip install indico\n\n      - name: Install plugins 🧩\n        run: pip install wheels/*.whl\n\n      - name: List plugins 🧩\n        run: indico setup list-plugins\n\n  create-github-release:\n    name: Create GitHub release 🐙\n    # Upload wheel to a GitHub release. It remains available as a build artifact for a while as well.\n    needs:\n      - build\n      - test-install\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: write\n    steps:\n      - name: Download build artifacts 📦\n        uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n          pattern: plugin-wheel-*\n          path: dist\n      - name: Create draft release 🐙\n        run: >-\n          gh release create\n          --draft\n          --repo ${{ github.repository }}\n          --title ${{ github.ref_name }}\n          ${{ github.ref_name }}\n          dist/*\n        env:\n          GH_TOKEN: ${{ github.token }}\n\n  publish-pypi:\n    name: Publish 🚀\n    needs:\n      - build\n      - test-install\n      - create-github-release\n    # Wait for approval before attempting to upload to PyPI. This allows reviewing the\n    # files in the draft release.\n    environment: publish\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: write\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n          pattern: plugin-wheel-*\n          path: dist\n      # Try uploading to Test PyPI first, in case something fails.\n      - name: Publish to Test PyPI 🧪\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          packages-dir: dist/\n          skip-existing: true\n      - name: Publish to PyPI 🚀\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          packages-dir: dist/\n          skip-existing: true\n      - name: Publish GitHub release 🐙\n        run: >-\n          gh release edit\n          --draft=false\n          --repo ${{ github.repository }}\n          ${{ github.ref_name }}\n        env:\n          GH_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "indico/indico-plugins"}
{"mined_at": "2024-07-15T13:58:19.655043", "created_at": "2020-06-19T09:19:15+02:00", "updated_at": "2024-06-01T02:05:22+02:00", "name": "Python application", "path": ".github/workflows/python-unit-tests.yml", "contents": null, "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:20.788699", "created_at": "2020-08-18T22:47:55+02:00", "updated_at": "2020-08-18T22:47:55+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [master, ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 17 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      # Override language selection by uncommenting this and choosing your languages\n      # with:\n      #   languages: go, javascript, csharp, python, cpp, java\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:21.924584", "created_at": "2020-09-30T04:08:54+02:00", "updated_at": "2022-11-24T09:50:54+01:00", "name": "Build and publish shakenfist.com", "path": ".github/workflows/publish-website.yml", "contents": "# With thanks to https://bluegenes.github.io/mkdocs-github-actions/\nname: Build and publish shakenfist.com\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - develop\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.7\"\n          architecture: \"x64\"\n\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --upgrade pip\n          python3 -m pip install mkdocs\n          python3 -m pip install mkdocs-material\n\n      - name: Build site\n        run: mkdocs build\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./site\n", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:22.917942", "created_at": "2021-12-28T10:58:35+01:00", "updated_at": "2021-12-28T10:58:35+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:23.978724", "created_at": "2022-09-15T10:06:47+02:00", "updated_at": "2024-05-01T22:03:38+02:00", "name": "Functional tests", "path": ".github/workflows/functional-tests.yml", "contents": "name: Functional tests\n\n# NOTE(mikal): git repos are checked out to /srv/github/_work/{repo}/{repo}\n# which is available as GITHUB_WORKSPACE. You can find other environment\n# variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\non:\n  pull_request:\n    branches:\n      - develop\n      - v*-releases\n    paths-ignore:\n      - 'docs/**'\n      - mkdocs.yml\n\njobs:\n  lint:\n    runs-on: self-hosted\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}-lint\n      cancel-in-progress: true\n\n    steps:\n      - name: Checkout code with two commits\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Lint with flake8\n        run: |\n          /usr/bin/tox -eflake8\n\n  # NOTE(mikal): we need this one early because renovate creates a lot of PRs\n  # where the proposed combination of dependencies doesn't actually install and\n  # I don't want to waste a lot of CI resources on them.\n  requirements-check:\n    needs: lint\n    runs-on: self-hosted\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}-requirements\n      cancel-in-progress: true\n\n    steps:\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Attempt to install requirements\n        run: |\n          cd ${GITHUB_WORKSPACE}\n          python3 -mvenv venv\n          venv/bin/pip3 install -r shakenfist/requirements.txt\n\n  build38:\n    needs: lint\n    runs-on: self-hosted\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}-build38\n      cancel-in-progress: true\n\n    steps:\n      - name: Checkout code with two commits\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Run python3 unit tests\n        run: |\n          /usr/bin/tox -epy3\n\n  functional_matrix:\n    needs: requirements-check\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\n          {\n            job_name: 'debian-11-localhost',\n            base_image: 'sf://label/ci-images/debian-11',\n            base_image_user: 'debian',\n            topology: 'localhost',\n            concurrency: 3\n          },\n          {\n            job_name: 'debian-12-slim-primary',\n            base_image: 'sf://label/ci-images/debian-12',\n            base_image_user: 'debian',\n            topology: 'slim-primary',\n            concurrency: 5\n          },\n          {\n            job_name: 'ubuntu-2004-localhost',\n            base_image: 'sf://label/ci-images/ubuntu-2004',\n            base_image_user: 'ubuntu',\n            topology: 'localhost',\n            concurrency: 3\n          },\n          {\n            job_name: 'ubuntu-2204-slim-primary',\n            base_image: 'sf://label/ci-images/ubuntu-2204',\n            base_image_user: 'ubuntu',\n            topology: 'slim-primary',\n            concurrency: 5\n          },\n        ]\n    runs-on: self-hosted\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os.job_name }}\n      cancel-in-progress: true\n\n    steps:\n      - name: Log matrix details\n        run: |\n          echo \"job_name: ${{ matrix.os.job_name }}\"\n          echo \"base_image: ${{ matrix.os.base_image }}\"\n          echo \"base_image_user: ${{ matrix.os.base_image_user }}\"\n          echo \"topology: ${{ matrix.os.topology }}\"\n          echo \"concurrency: ${{ matrix.os.concurrency }}\"\n\n      - name: Set environment variables\n        run: |\n          echo \"SF_HEAD_SHA=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n          echo \"SF_PRIMARY_REPO=$( echo ${{ github.repository }} | cut -f 2 -d '/' )\" >> $GITHUB_ENV\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Determine if there is any dependency between the repositories\n        run: |\n          python3 ${GITHUB_WORKSPACE}/shakenfist/tools/clone_with_depends.py\n\n      - name: Build infrastructure\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n              --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=${{ matrix.os.base_image }} base_image_user=${{ matrix.os.base_image_user }}\" \\\n              deploy/ansible/ci-topology-${{ matrix.os.topology }}.yml\n\n      - name: Copy CI tools to primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null -rp tools \\\n              ${{ matrix.os.base_image_user }}@${primary}:.\n\n      - name: Log github actions buffering status\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          tools/run_remote ${primary} python3 tools/buffer.py\n\n      - name: Run getsf installer on primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} /tmp/getsf-wrapper\n          echo \"\"\n          echo \"\"\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              'sudo rm /etc/apache2/sites-enabled/*; sudo a2ensite sf-example.conf; sudo apachectl graceful'\n\n      - name: Wait for API to start answering\n        run: |\n          set +e\n\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} 'sudo chmod ugo+r /etc/sf/* /var/log/syslog'\n\n          count=0\n          while [ $count -lt 60 ]\n          do\n            ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} '. /etc/sf/sfrc; sf-client instance list'\n            if [ $? == 0 ]; then\n              exit 0\n            fi\n\n            count=$(( $count + 1 ))\n            sleep 5\n          done\n\n          exit 1\n\n      - name: Import cached images\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              '. /etc/sf/sfrc; sf-client artifact upload ubuntu-1804 /srv/ci/ubuntu:18.04 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              '. /etc/sf/sfrc; sf-client artifact upload ubuntu-2004 /srv/ci/ubuntu:20.04 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              '. /etc/sf/sfrc; sf-client artifact upload debian-11 /srv/ci/debian:11 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              '. /etc/sf/sfrc; sf-client artifact upload cirros /srv/ci/cirros --shared'\n\n      - name: Create a base level of activity in the cluster\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              'echo \"==== sfrc ====\"; cat /etc/sf/sfrc; echo \"==== end sfrc ====\"'\n          echo \"\"\n          echo \"\"\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              '. /etc/sf/sfrc; for i in `seq 100`; do sf-client --async=continue network create background-$i 10.$i.0.0/24 > /dev/null; echo -n \".\"; done'\n          echo \"\"\n\n      - name: Run functional tests\n        timeout-minutes: 120\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -rp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              $source_path/shakenfist \\\n              ${{ matrix.os.base_image_user }}@${primary}:shakenfist\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \"cd shakenfist/deploy; . /etc/sf/sfrc; sudo PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install -r requirements.txt; set -e; stestr run --concurrency=${{ matrix.os.concurrency}}; stestr slowest\"\n\n      - name: Check logs\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          tools/run_remote ${primary} \"sudo bash tools/ci_log_checks.sh develop ${{ matrix.os.job_name }}\"\n\n      # On Ubuntu 22.04 the cleaner is rated a CPU hog because of etcd cleanup\n      # cost. That's not really something we can control, so just ignore the CPU\n      # usage of that process instead.\n      - name: Check SF process CPU usage\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} '. /etc/sf/sfrc; sf-client node cpuhogs --ignore sf_cleaner'\n\n      - name: Check for reasonable data rates\n        timeout-minutes: 5\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          tools/run_remote ${primary} sudo /home/${{ matrix.os.base_image_user }}/tools/ci_event_checks.sh\n\n      - name: Fetch and tweak inventory\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary}:/etc/sf/inventory.yaml /srv/github/\n          sed -i 's|/root/.ssh|/home/debian/.ssh|g' /srv/github/inventory.yaml\n\n          echo \"=====\"\n          cat /srv/github/inventory.yaml\n\n      - name: Gather logs\n        if: always()\n        run: |\n          set -x\n\n          # We need the ssh key in the place ansible expects it to be, which isn't\n          # true on the CI worker node.\n          cp /srv/github/id_ci /home/debian/.ssh/id_rsa\n          cp /srv/github/id_ci.pub /home/debian/.ssh/id_rsa.pub\n\n          ansible-playbook -i /srv/github/inventory.yaml \\\n              --extra-vars \"base_image_user=${{ matrix.os.base_image_user }} \\\n              ansible_ssh_common_args='-o StrictHostKeyChecking=no'\" \\\n              ${GITHUB_WORKSPACE}/shakenfist/deploy/ansible/ci-gather-logs.yml\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: bundle-${{ matrix.os.job_name }}.zip\n          retention-days: 90\n          if-no-files-found: error\n          path: /srv/github/artifacts/bundle.zip\n\n  ansible-modules:\n    needs: requirements-check\n    runs-on: self-hosted\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}-ansiblemodules\n      cancel-in-progress: true\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SF_HEAD_SHA=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n          echo \"SF_PRIMARY_REPO=$( echo ${{ github.repository }} | cut -f 2 -d '/' )\" >> $GITHUB_ENV\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Determine if there is any dependency between the repositories\n        run: |\n          python3 ${GITHUB_WORKSPACE}/shakenfist/tools/clone_with_depends.py\n\n      - name: Build infrastructure\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n              --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=sf://label/ci-images/debian-11 base_image_user=debian\" \\\n              deploy/ansible/ci-topology-slim-primary.yml\n\n      - name: Copy CI tools to primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null -rp tools \\\n              debian@$primary:.\n\n      - name: Run getsf installer on primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary /tmp/getsf-wrapper\n          echo \"\"\n          echo \"\"\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              'sudo rm /etc/apache2/sites-enabled/*; sudo a2ensite sf-example.conf; sudo apachectl graceful'\n\n      - name: Wait for API to start answering\n        run: |\n          set +e\n\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary 'sudo chmod ugo+r /etc/sf/* /var/log/syslog'\n\n          count=0\n          while [ $count -lt 60 ]\n          do\n            ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary '. /etc/sf/sfrc; sf-client instance list'\n            if [ $? == 0 ]; then\n              exit 0\n            fi\n\n            count=$(( $count + 1 ))\n            sleep 5\n          done\n\n          exit 1\n\n      - name: Import cached images\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload ubuntu-1804 /srv/ci/ubuntu:18.04 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload ubuntu-2004 /srv/ci/ubuntu:20.04 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload debian-11 /srv/ci/debian:11 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload cirros /srv/ci/cirros --shared'\n\n      - name: Run ansible module tests\n        timeout-minutes: 120\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -rp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              $source_path/shakenfist \\\n              debian@$primary:shakenfist\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \"cd shakenfist/deploy; . /etc/sf/sfrc; bash ansiblemoduletests.sh\"\n\n      - name: Check logs\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          tools/run_remote ${primary} \"sudo bash tools/ci_log_checks.sh develop ansible-modules\"\n\n      - name: Check process CPU usage\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary '. /etc/sf/sfrc; sf-client node cpuhogs'\n\n      - name: Fetch and tweak inventory\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary:/etc/sf/inventory.yaml /srv/github/\n          sed -i 's|/root/.ssh|/home/debian/.ssh|g' /srv/github/inventory.yaml\n\n          echo \"=====\"\n          cat /srv/github/inventory.yaml\n\n      - name: Gather logs\n        if: always()\n        run: |\n          set -x\n\n          # We need the ssh key in the place ansible expects it to be, which isn't\n          # true on the CI worker node.\n          cp /srv/github/id_ci /home/debian/.ssh/id_rsa\n          cp /srv/github/id_ci.pub /home/debian/.ssh/id_rsa.pub\n          chown -R debian.debian /home/debian/.ssh\n\n          ansible-playbook -i /srv/github/inventory.yaml \\\n              --extra-vars \"base_image_user=debian ansible_ssh_common_args='-o StrictHostKeyChecking=no'\" \\\n              ${GITHUB_WORKSPACE}/shakenfist/deploy/ansible/ci-gather-logs.yml\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: bundle-ansible-modules.zip\n          retention-days: 90\n          if-no-files-found: error\n          path: /srv/github/artifacts/bundle.zip\n\n\n  node-lifecycle:\n    needs: requirements-check\n    runs-on: self-hosted\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}-nodelifecycle\n      cancel-in-progress: true\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SF_HEAD_SHA=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n          echo \"SF_PRIMARY_REPO=$( echo ${{ github.repository }} | cut -f 2 -d '/' )\" >> $GITHUB_ENV\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Determine if there is any dependency between the repositories\n        run: |\n          python3 ${GITHUB_WORKSPACE}/shakenfist/tools/clone_with_depends.py\n\n      - name: Build infrastructure\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n              --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=sf://label/ci-images/debian-11 base_image_user=debian\" \\\n              deploy/ansible/ci-topology-slim-primary.yml\n\n      - name: Copy CI tools to primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null -rp tools \\\n              debian@$primary:.\n\n      - name: Run getsf installer on primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary /tmp/getsf-wrapper\n          echo \"\"\n          echo \"\"\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              'sudo rm /etc/apache2/sites-enabled/*; sudo a2ensite sf-example.conf; sudo apachectl graceful'\n\n      - name: Wait for API to start answering\n        run: |\n          set +e\n\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary 'sudo chmod ugo+r /etc/sf/* /var/log/syslog'\n\n          count=0\n          while [ $count -lt 60 ]\n          do\n            ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary '. /etc/sf/sfrc; sf-client instance list'\n            if [ $? == 0 ]; then\n              exit 0\n            fi\n\n            count=$(( $count + 1 ))\n            sleep 5\n          done\n\n          exit 1\n\n      - name: Import cached images\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload ubuntu-1804 /srv/ci/ubuntu:18.04 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload ubuntu-2004 /srv/ci/ubuntu:20.04 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload debian-11 /srv/ci/debian:11 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload cirros /srv/ci/cirros --shared'\n\n      - name: Run node lifecycle tests\n        timeout-minutes: 120\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -rp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              $source_path/shakenfist \\\n              debian@$primary:shakenfist\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \"cd shakenfist/deploy; . /etc/sf/sfrc; bash nodelifecycletests.sh\"\n\n      - name: Check logs\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          tools/run_remote ${primary} \"sudo bash tools/ci_log_checks.sh develop node-lifecycle\"\n\n      - name: Restart Shaken Fist nodes so we can collect logs\n        if: always()\n        run: |\n          set -x\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          for node in ${sf1_uuid} ${sf2_uuid} ${sf3_uuid} ${sf4_uuid} ${sf5_uuid}; do\n              sf-client instance reboot --hard ${node}\n          done\n          sleep 90\n\n      - name: Fetch and tweak inventory\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary:/etc/sf/inventory.yaml /srv/github/\n          sed -i 's|/root/.ssh|/home/debian/.ssh|g' /srv/github/inventory.yaml\n\n          echo \"=====\"\n          cat /srv/github/inventory.yaml\n\n      - name: Gather logs\n        if: always()\n        run: |\n          set -x\n\n          # We need the ssh key in the place ansible expects it to be, which isn't\n          # true on the CI worker node.\n          cp /srv/github/id_ci /home/debian/.ssh/id_rsa\n          cp /srv/github/id_ci.pub /home/debian/.ssh/id_rsa.pub\n          chown -R debian.debian /home/debian/.ssh\n\n          ansible-playbook -i /srv/github/inventory.yaml \\\n              --extra-vars \"base_image_user=debian ansible_ssh_common_args='-o StrictHostKeyChecking=no'\" \\\n              ${GITHUB_WORKSPACE}/shakenfist/deploy/ansible/ci-gather-logs.yml\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: bundle-node-lifecycle.zip\n          retention-days: 90\n          if-no-files-found: error\n          path: /srv/github/artifacts/bundle.zip\n\n\n  upgrade-0-6-15:\n    needs: requirements-check\n    runs-on: self-hosted\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}-upgrade-0-6-15\n      cancel-in-progress: true\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SF_HEAD_SHA=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n          echo \"SF_PRIMARY_REPO=$( echo ${{ github.repository }} | cut -f 2 -d '/' )\" >> $GITHUB_ENV\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Determine if there is any dependency between the repositories\n        run: |\n          python3 ${GITHUB_WORKSPACE}/shakenfist/tools/clone_with_depends.py\n\n      - name: Build infrastructure\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n              --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=sf://label/ci-images/debian-11 base_image_user=debian\" \\\n              deploy/ansible/ci-topology-localhost-upgrade.yml\n\n      - name: Copy CI tools to primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null -rp tools \\\n              debian@$primary:.\n\n      - name: Run getsf to only install etcd, and then restore a backup\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary /tmp/getsf-wrapper --tags bootstrap,etcd\n\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary 'sudo chmod ugo+r /etc/sf/*; . /etc/sf/sfrc; /srv/shakenfist/venv/bin/sf-backup restore /srv/ci/backup-0.6.15-20230319'\n\n      - name: Run getsf installer on primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary /tmp/getsf-wrapper\n          echo \"\"\n          echo \"\"\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              'sudo rm /etc/apache2/sites-enabled/*; sudo a2ensite sf-example.conf; sudo apachectl graceful'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary 'sudo chmod ugo+r /etc/sf/*'\n\n      # The sf-backup script deliberately clobbers keys in its output, so we need\n      # to repair the system key before we can use command line tools.\n      - name: Repair clobbered system key\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary '. /etc/sf/sfrc; /srv/shakenfist/venv/bin/sf-ctl bootstrap-system-key deploy ${SHAKENFIST_KEY}'\n\n      - name: List current nodes\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary '. /etc/sf/sfrc; sf-client node list'\n\n      - name: Wait for five minutes\n        run: sleep 300\n\n      - name: Check logs\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          tools/run_remote ${primary} \"sudo bash tools/ci_log_checks.sh develop upgrade-0-6-15\"\n\n      - name: Fetch and tweak inventory\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary:/etc/sf/inventory.yaml /srv/github/\n          sed -i 's|/root/.ssh|/home/debian/.ssh|g' /srv/github/inventory.yaml\n\n          echo \"=====\"\n          cat /srv/github/inventory.yaml\n\n      - name: Gather logs\n        if: always()\n        run: |\n          set -x\n\n          # We need the ssh key in the place ansible expects it to be, which isn't\n          # true on the CI worker node.\n          cp /srv/github/id_ci /home/debian/.ssh/id_rsa\n          cp /srv/github/id_ci.pub /home/debian/.ssh/id_rsa.pub\n\n          ansible-playbook -i /srv/github/inventory.yaml \\\n              --extra-vars \"base_image_user=debian ansible_ssh_common_args='-o StrictHostKeyChecking=no'\" \\\n              ${GITHUB_WORKSPACE}/shakenfist/deploy/ansible/ci-gather-logs.yml\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: bundle-upgrade-0-6-15.zip\n          retention-days: 90\n          if-no-files-found: error\n          path: /srv/github/artifacts/bundle.zip", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:24.984052", "created_at": "2022-09-23T07:33:35+02:00", "updated_at": "2024-06-01T02:05:22+02:00", "name": "Test ubuntu-2004-slim-primary", "path": ".github/workflows/functional-tests-ubuntu-2004-slim-primary.yml", "contents": null, "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:26.002339", "created_at": "2022-09-23T07:33:36+02:00", "updated_at": "2023-12-05T03:21:03+01:00", "name": "Test debian-10-localhost", "path": ".github/workflows/functional-tests-debian-10-localhost.yml", "contents": null, "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:27.156162", "created_at": "2022-09-23T07:33:36+02:00", "updated_at": "2024-06-01T02:05:22+02:00", "name": "Test debian-11-slim-primary", "path": ".github/workflows/functional-tests-debian-11-slim-primary.yml", "contents": null, "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:28.260650", "created_at": "2022-10-09T11:15:25+02:00", "updated_at": "2022-10-09T11:15:25+02:00", "name": "Rebuild debian-11", "path": ".github/workflows/ci-images-debian-11.yml", "contents": "name: Rebuild debian-11\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '00 16 * * *'        # utc\n\njobs:\n  debian-11:\n    runs-on: self-hosted\n    timeout-minutes: 120\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Build image\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n            --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=debian:11 base_image_user=debian label=ci-images/debian-11\" \\\n            deploy/ansible/ci-image.yml\n\n      - uses: JasonEtco/create-an-issue@v2\n        if: failure()\n        id: create-issue\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SF_CI_NAME: debian-11\n          SF_ACTION_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        with:\n          filename: shakenfist/.github/workflows/ci-images-failure.md\n          update_existing: true\n          search_existing: open\n\n      - if: failure()\n        run: 'echo Created ${{ steps.create-issue.outputs.url }}'", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:29.320676", "created_at": "2022-10-09T11:15:25+02:00", "updated_at": "2022-10-09T11:15:25+02:00", "name": "Rebuild ubuntu-2004", "path": ".github/workflows/ci-images-ubuntu-2004.yml", "contents": "name: Rebuild ubuntu-2004\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '00 16 * * *'        # utc\n\njobs:\n  ubuntu-2004:\n    runs-on: self-hosted\n    timeout-minutes: 120\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Build image\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n            --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=ubuntu:20.04 base_image_user=ubuntu label=ci-images/ubuntu-2004\" \\\n            deploy/ansible/ci-image.yml\n\n      - uses: JasonEtco/create-an-issue@v2\n        if: failure()\n        id: create-issue\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SF_CI_NAME: ubuntu-2004\n          SF_ACTION_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        with:\n          filename: shakenfist/.github/workflows/ci-images-failure.md\n          update_existing: true\n          search_existing: open\n\n      - if: failure()\n        run: 'echo Created ${{ steps.create-issue.outputs.url }}'", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:30.314404", "created_at": "2022-10-18T21:52:08+02:00", "updated_at": "2024-06-01T02:05:22+02:00", "name": "Node lifecycle testing", "path": ".github/workflows/nodelifecycle-tests.yml", "contents": null, "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:31.314876", "created_at": "2022-10-30T10:36:15+01:00", "updated_at": "2024-06-01T02:05:22+02:00", "name": "Upgrade testing", "path": ".github/workflows/upgrade-tests.yml", "contents": null, "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:32.323420", "created_at": "2022-11-24T09:27:07+01:00", "updated_at": "2022-11-24T09:30:32+01:00", "name": "Refresh shakenfist.com daily", "path": ".github/workflows/refresh-website.yml", "contents": "name: Refresh shakenfist.com daily\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 3 * * *' # Runs every day at 3am\n\njobs:\n  refresh:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Trigger GitHub pages rebuild\n        run: |\n          curl --fail --request POST \\\n            --url https://api.github.com/repos/${{ github.repository }}/pages/builds \\\n            --header \"Authorization: Bearer $USER_TOKEN\"\n        env:\n          # You must create a personal token with repo access as GitHub does\n          # not yet support server-to-server page builds.\n          USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:33.354447", "created_at": "2023-01-08T10:10:51+01:00", "updated_at": "2023-01-08T10:10:51+01:00", "name": "Rebuild ubuntu-2204", "path": ".github/workflows/ci-images-ubuntu-2204.yml", "contents": "name: Rebuild ubuntu-2204\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '00 16 * * *'        # utc\n\njobs:\n  ubuntu-2204:\n    runs-on: self-hosted\n    timeout-minutes: 120\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Build image\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n            --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=ubuntu:22.04 base_image_user=ubuntu label=ci-images/ubuntu-2204\" \\\n            deploy/ansible/ci-image.yml\n\n      - uses: JasonEtco/create-an-issue@v2\n        if: failure()\n        id: create-issue\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SF_CI_NAME: ubuntu-2204\n          SF_ACTION_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        with:\n          filename: shakenfist/.github/workflows/ci-images-failure.md\n          update_existing: true\n          search_existing: open\n\n      - if: failure()\n        run: 'echo Created ${{ steps.create-issue.outputs.url }}'", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:34.417996", "created_at": "2023-06-12T04:34:33+02:00", "updated_at": "2023-06-12T04:34:33+02:00", "name": "Rebuild CI dependencies", "path": ".github/workflows/ci-dependencies.yml", "contents": "name: Rebuild CI dependencies\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '00 16 * * *'        # utc\n\njobs:\n  ci-dependencies:\n    runs-on: self-hosted\n    timeout-minutes: 120\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Install the github command line\n        run: |\n          sudo apt update\n          sudo apt install -y curl\n\n          curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg\n          sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg\n          echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null\n\n          sudo apt update\n          sudo apt install -y gh\n\n      - name: Lookup latest version of the GitHub actions runner\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          actions_url=$(gh release view --repo actions/runner --json assets | \\\n              jq -r '.assets[].url | select (contains(\"linux-x64-2\")) | select (test(\"[0-9].tar.gz$\"))')\n          echo \"GITHUB_ACTIONS_URL=$actions_url\" >> $GITHUB_ENV\n\n      - name: Build dependencies image\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n            --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=sf://label/ci-images/debian-11 base_image_user=debian \\\n              label=ci-images/dependencies actions_url=$GITHUB_ACTIONS_URL\" \\\n            deploy/ansible/ci-dependencies.yml\n\n      - uses: JasonEtco/create-an-issue@v2\n        if: failure()\n        id: create-issue\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SF_CI_NAME: ci-dependencies\n          SF_ACTION_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        with:\n          filename: shakenfist/.github/workflows/ci-images-failure.md\n          update_existing: true\n          search_existing: open\n\n      - if: failure()\n        run: 'echo Created ${{ steps.create-issue.outputs.url }}'", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:35.435106", "created_at": "2023-11-02T06:49:12+01:00", "updated_at": "2023-11-03T00:06:02+01:00", "name": "Rebuild debian-11-test", "path": ".github/workflows/ci-images-debian-11-test.yml", "contents": "name: Rebuild debian-11-test\n\non:\n  pull_request:\n    paths:\n      - deploy/ansible/ci-image.yml\n      - .github/workflows/ci-images-*\n\njobs:\n  debian-11-test:\n    runs-on: self-hosted\n    timeout-minutes: 120\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Build image\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n            --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=debian:11 base_image_user=debian label=ci-images/debian-11-test\" \\\n            deploy/ansible/ci-image.yml\n\n      - uses: JasonEtco/create-an-issue@v2\n        if: failure()\n        id: create-issue\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SF_CI_NAME: debian-11-test\n          SF_ACTION_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        with:\n          filename: shakenfist/.github/workflows/ci-images-failure.md\n          update_existing: true\n          search_existing: open\n\n      - if: failure()\n        run: 'echo Created ${{ steps.create-issue.outputs.url }}'", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:36.432784", "created_at": "2023-11-02T06:49:12+01:00", "updated_at": "2023-11-03T00:06:02+01:00", "name": "Rebuild ubuntu-2204-test", "path": ".github/workflows/ci-images-ubuntu-2204-test.yml", "contents": "name: Rebuild ubuntu-2204-test\n\non:\n  pull_request:\n    paths:\n      - deploy/ansible/ci-image.yml\n      - .github/workflows/ci-images-*\n\njobs:\n  ubuntu-2204-test:\n    runs-on: self-hosted\n    timeout-minutes: 120\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Build image\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n            --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=ubuntu:22.04 base_image_user=ubuntu label=ci-images/ubuntu-2204-test\" \\\n            deploy/ansible/ci-image.yml\n\n      - uses: JasonEtco/create-an-issue@v2\n        if: failure()\n        id: create-issue\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SF_CI_NAME: ubuntu-2204-test\n          SF_ACTION_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        with:\n          filename: shakenfist/.github/workflows/ci-images-failure.md\n          update_existing: true\n          search_existing: open\n\n      - if: failure()\n        run: 'echo Created ${{ steps.create-issue.outputs.url }}'", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:37.591374", "created_at": "2023-11-02T06:49:12+01:00", "updated_at": "2023-11-03T00:06:02+01:00", "name": "Rebuild ubuntu-2004-test", "path": ".github/workflows/ci-images-ubuntu-2004-test.yml", "contents": "name: Rebuild ubuntu-2004-test\n\non:\n  pull_request:\n    paths:\n      - deploy/ansible/ci-image.yml\n      - .github/workflows/ci-images-*\n\njobs:\n  ubuntu-2004-test:\n    runs-on: self-hosted\n    timeout-minutes: 120\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Build image\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n            --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=ubuntu:20.04 base_image_user=ubuntu label=ci-images/ubuntu-2004-test\" \\\n            deploy/ansible/ci-image.yml\n\n      - uses: JasonEtco/create-an-issue@v2\n        if: failure()\n        id: create-issue\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SF_CI_NAME: ubuntu-2004-test\n          SF_ACTION_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        with:\n          filename: shakenfist/.github/workflows/ci-images-failure.md\n          update_existing: true\n          search_existing: open\n\n      - if: failure()\n        run: 'echo Created ${{ steps.create-issue.outputs.url }}'", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:38.625553", "created_at": "2023-11-28T22:52:19+01:00", "updated_at": "2023-11-28T22:52:19+01:00", "name": "Renovate dependency updater", "path": ".github/workflows/renovate.yml", "contents": "name: Renovate dependency updater\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0/15 * * * *'\n\njobs:\n  renovate:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Self-hosted Renovate\n        uses: renovatebot/github-action@v40.1.11\n        with:\n          token: ${{ secrets.RENOVATE_TOKEN }}\n        env:\n          RENOVATE_AUTODISCOVER: \"true\"\n          RENOVATE_AUTODISCOVER_FILTER: \"shakenfist/shakenfist\"", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:39.742773", "created_at": "2024-01-31T04:02:29+01:00", "updated_at": "2024-01-31T04:02:29+01:00", "name": "Rebuild debian-12-test", "path": ".github/workflows/ci-images-debian-12-test.yml", "contents": "name: Rebuild debian-12-test\n\non:\n  pull_request:\n    paths:\n      - deploy/ansible/ci-image.yml\n      - .github/workflows/ci-images-*\n\njobs:\n  debian-12-test:\n    runs-on: self-hosted\n    timeout-minutes: 120\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Build image\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n            --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=debian:12 base_image_user=debian label=ci-images/debian-12-test\" \\\n            deploy/ansible/ci-image.yml\n\n      - uses: JasonEtco/create-an-issue@v2\n        if: failure()\n        id: create-issue\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SF_CI_NAME: debian-12-test\n          SF_ACTION_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        with:\n          filename: shakenfist/.github/workflows/ci-images-failure.md\n          update_existing: true\n          search_existing: open\n\n      - if: failure()\n        run: 'echo Created ${{ steps.create-issue.outputs.url }}'", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:40.746295", "created_at": "2024-01-31T04:02:29+01:00", "updated_at": "2024-01-31T04:02:29+01:00", "name": "Rebuild debian-12", "path": ".github/workflows/ci-images-debian-12.yml", "contents": "name: Rebuild debian-12\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '00 16 * * *'        # utc\n\njobs:\n  debian-12:\n    runs-on: self-hosted\n    timeout-minutes: 120\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Build image\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n            --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=debian:12 base_image_user=debian label=ci-images/debian-12\" \\\n            deploy/ansible/ci-image.yml\n\n      - uses: JasonEtco/create-an-issue@v2\n        if: failure()\n        id: create-issue\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SF_CI_NAME: debian-12\n          SF_ACTION_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        with:\n          filename: shakenfist/.github/workflows/ci-images-failure.md\n          update_existing: true\n          search_existing: open\n\n      - if: failure()\n        run: 'echo Created ${{ steps.create-issue.outputs.url }}'", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:41.766657", "created_at": "2024-02-24T07:14:26+01:00", "updated_at": "2024-02-24T10:05:33+01:00", "name": "Pin indirect dependencies", "path": ".github/workflows/pin-indirect-dependencies.yml", "contents": "# NOTE(mikal): we need to pin indirect dependencies because some of our\n# dependencies don't pin things how we like to. If they're not pinned then when\n# something multiple layers away does a release and breaks us it can be super\n# confusing.\n\nname: Pin indirect dependencies\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '00 00 * * *'        # utc\n\njobs:\n  indirect-dependencies:\n    runs-on: self-hosted\n    timeout-minutes: 60\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Install the github command line\n        run: |\n          sudo apt update\n          sudo apt install -y curl\n\n          curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg\n          sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg\n          echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null\n\n          sudo apt update\n          sudo apt install -y gh\n\n      - name: Install all our dependencies in a venv\n        run: |\n          sudo DEBIAN_FRONTEND=noninteractive apt-get -o DPkg::Lock::Timeout=-1 -o Dpkg::Options::=\"--force-confold\" -y \\\n            install git python3-cffi python3-dev python3-grpcio python3-pip python3-venv python3-wheel\n\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          python3 -m venv  --system-site-packages ${RUNNER_TEMP}/venv\n          ${RUNNER_TEMP}/venv/bin/pip install -r requirements.txt\n\n      - name: List all our dependencies\n        run: |\n          ${RUNNER_TEMP}/venv/bin/pip freeze --local\n\n      - name: Ensure all dependencies are pinned\n        env:\n          GITHUB_TOKEN: ${{ secrets.DEPENDENCIES_TOKEN }}\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n\n          datestamp=$(date \"+%Y%m%d\")\n          git checkout -b pin-dependencies-${datestamp}\n\n          for depver in $(${RUNNER_TEMP}/venv/bin/pip freeze --local); do\n            dep=$(echo ${depver} | sed 's/==.*//')\n\n            if [ $(egrep -ic \"^${dep}==\" requirements.txt) -lt 1 ]; then\n              echo \"${depver}\" >> requirements.txt\n            fi\n          done\n\n          # Did we find something new?\n          if [ $(git diff | wc -l) -gt 0 ]; then\n            echo \"New dependencies detected...\"\n            echo\n            git diff\n\n            git config --global user.name \"shakenfist-bot\"\n            git config --global user.email \"bot@shakenfist.com\"\n            git commit -a -m \"Update pinned dependencies.\"\n            git push -f origin pin-dependencies-${datestamp}\n            echo\n            gh pr create \\\n                --assignee mikalstill \\\n                --reviewer mikalstill \\\n                --title \"Update pinned dependencies.\" \\\n                --body \"New indirect dependencies were detected.\" \\\n                --label dependencies\n            echo\n            echo \"Pull request created.\"\n          fi", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:42.898827", "created_at": "2024-04-21T07:59:15+02:00", "updated_at": "2024-04-24T23:28:12+02:00", "name": "Rebuild rocky-9-test", "path": ".github/workflows/ci-images-rocky-9-test.yml", "contents": "name: Rebuild rocky-9-test\n\non:\n  pull_request:\n    paths:\n      - deploy/ansible/ci-image.yml\n      - .github/workflows/ci-images-*\n\njobs:\n  rocky-9-test:\n    runs-on: self-hosted\n    timeout-minutes: 120\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Build image\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n            --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=rocky:9 base_image_user=cloud-user label=ci-images/rocky-9-test\" \\\n            deploy/ansible/ci-image.yml\n\n      - uses: JasonEtco/create-an-issue@v2\n        if: failure()\n        id: create-issue\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SF_CI_NAME: rocky-9-test\n          SF_ACTION_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        with:\n          filename: shakenfist/.github/workflows/ci-images-failure.md\n          update_existing: true\n          search_existing: open\n\n      - if: failure()\n        run: 'echo Created ${{ steps.create-issue.outputs.url }}'", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:44.040501", "created_at": "2024-04-24T23:28:12+02:00", "updated_at": "2024-04-24T23:28:12+02:00", "name": "Rebuild rocky-9", "path": ".github/workflows/ci-images-rocky-9.yml", "contents": "name: Rebuild rocky-9\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '00 16 * * *'        # utc\n\njobs:\n  rocky-9:\n    runs-on: self-hosted\n    timeout-minutes: 120\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Build image\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n            --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=rocky:9 base_image_user=cloud-user label=ci-images/rocky-9\" \\\n            deploy/ansible/ci-image.yml\n\n      - uses: JasonEtco/create-an-issue@v2\n        if: failure()\n        id: create-issue\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SF_CI_NAME: rocky-9\n          SF_ACTION_RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        with:\n          filename: shakenfist/.github/workflows/ci-images-failure.md\n          update_existing: true\n          search_existing: open\n\n      - if: failure()\n        run: 'echo Created ${{ steps.create-issue.outputs.url }}'", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:45.150470", "created_at": "2024-05-01T22:03:38+02:00", "updated_at": "2024-05-01T22:03:38+02:00", "name": "Documentation tests", "path": ".github/workflows/docs-tests.yml", "contents": "name: Documentation tests\n\n# NOTE(mikal): git repos are checked out to /srv/github/_work/{repo}/{repo}\n# which is available as GITHUB_WORKSPACE. You can find other environment\n# variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\non:\n  pull_request:\n    branches:\n      - develop\n      - v*-releases\n    paths:\n      - 'docs/**'\n      - mkdocs.yml\n\njobs:\n  build-docs:\n    runs-on: self-hosted\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}-lint\n      cancel-in-progress: true\n\n    steps:\n      - name: Checkout code with two commits\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Ensure the docs build\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n\n          mkdir -p /srv/github/artifacts/site\n          /usr/bin/tox -edocs -- --site-dir /srv/github/artifacts/site | tee /srv/github/artifacts/site/build.log\n\n          cd /srv/github/artifacts/\n          zip -r /srv/github/artifacts/site.zip site\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: site.zip\n          retention-days: 90\n          if-no-files-found: error\n          path: /srv/github/artifacts/site.zip", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:46.157538", "created_at": "2024-05-20T09:03:48+02:00", "updated_at": "2024-05-20T09:03:48+02:00", "name": "Run automated code formatters", "path": ".github/workflows/code-formatting.yml", "contents": "name: Run automated code formatters\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '00 00 * * *'        # utc\n  pull_request:\n    branches:\n      - develop\n    paths:\n      - '.github/workflows/code-formatting.yml'\n      - 'tools/ci_code_formatting.sh'\n\njobs:\n  code-formatters:\n    runs-on: self-hosted\n    timeout-minutes: 60\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    # NOTE(mikal): git repos are checked out to /srv/github/_work/{org}/{repo}\n    # which is available as GITHUB_WORKSPACE. You can find other environment\n    # variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Install the github command line\n        run: |\n          sudo apt update\n          sudo apt install -y curl\n\n          curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg\n          sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg\n          echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null\n\n          sudo apt update\n          sudo apt install -y gh\n\n      - name: Install formatting tools in a venv\n        run: |\n          sudo DEBIAN_FRONTEND=noninteractive apt-get -o DPkg::Lock::Timeout=-1 -o Dpkg::Options::=\"--force-confold\" -y \\\n            install git python3-cffi python3-dev python3-grpcio python3-pip python3-venv python3-wheel\n\n          python3 -m venv  --system-site-packages ${RUNNER_TEMP}/venv\n          ${RUNNER_TEMP}/venv/bin/pip install pyupgrade\n\n      - name: Scan for obsolete syntax\n        env:\n          GITHUB_TOKEN: ${{ secrets.DEPENDENCIES_TOKEN }}\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ${GITHUB_WORKSPACE}/shakenfist/tools/ci_code_formatting.sh 38\n", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:47.317089", "created_at": "2024-05-20T09:03:49+02:00", "updated_at": "2024-05-20T09:03:49+02:00", "name": "Scheduled tests", "path": ".github/workflows/scheduled-tests.yml", "contents": "name: Scheduled tests\n\n# NOTE(mikal): git repos are checked out to /srv/github/_work/{repo}/{repo}\n# which is available as GITHUB_WORKSPACE. You can find other environment\n# variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '00 13 * * *'        # utc\n\njobs:\n  functional_matrix:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\n          {\n            job_name: 'develop-debian-11-localhost',\n            base_image: 'sf://label/ci-images/debian-11',\n            base_image_user: 'debian',\n            topology: 'localhost',\n            concurrency: 3,\n            branch: 'develop'\n          },\n          {\n            job_name: 'develop-debian-12-slim-primary',\n            base_image: 'sf://label/ci-images/debian-12',\n            base_image_user: 'debian',\n            topology: 'slim-primary',\n            concurrency: 5,\n            branch: 'develop'\n          },\n          {\n            job_name: 'develop-ubuntu-2004-localhost',\n            base_image: 'sf://label/ci-images/ubuntu-2004',\n            base_image_user: 'ubuntu',\n            topology: 'localhost',\n            concurrency: 3,\n            branch: 'develop'\n          },\n          {\n            job_name: 'develop-ubuntu-2204-slim-primary',\n            base_image: 'sf://label/ci-images/ubuntu-2204',\n            base_image_user: 'ubuntu',\n            topology: 'slim-primary',\n            concurrency: 5,\n            branch: 'develop'\n          },\n\n          # v0.7\n          {\n            job_name: 'v07-debian-11-localhost',\n            base_image: 'sf://label/ci-images/debian-11',\n            base_image_user: 'debian',\n            topology: 'localhost',\n            concurrency: 3,\n            branch: 'v0.7-releases'\n          },\n          {\n            job_name: 'v07-debian-11-slim-primary',\n            base_image: 'sf://label/ci-images/debian-11',\n            base_image_user: 'debian',\n            topology: 'slim-primary',\n            concurrency: 5,\n            branch: 'v0.7-releases'\n          },\n          {\n            job_name: 'v07-ubuntu-2004-slim-primary',\n            base_image: 'sf://label/ci-images/ubuntu-2004',\n            base_image_user: 'ubuntu',\n            topology: 'slim-primary',\n            concurrency: 5,\n            branch: 'v0.7-releases'\n          },\n\n          # v0.7 released\n          {\n            job_name: 'v07-debian-11-localhost',\n            base_image: 'sf://label/ci-images/debian-11',\n            base_image_user: 'debian',\n            topology: 'localhost-released',\n            concurrency: 3,\n            branch: 'v0.7-releases'\n          },\n          {\n            job_name: 'v07-debian-11-slim-primary',\n            base_image: 'sf://label/ci-images/debian-11',\n            base_image_user: 'debian',\n            topology: 'slim-primary-released',\n            concurrency: 5,\n            branch: 'v0.7-releases'\n          },\n          {\n            job_name: 'v07-ubuntu-2004-slim-primary',\n            base_image: 'sf://label/ci-images/ubuntu-2004',\n            base_image_user: 'ubuntu',\n            topology: 'slim-primary-released',\n            concurrency: 5,\n            branch: 'v0.7-releases'\n          },\n        ]\n    runs-on: self-hosted\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os.job_name }}\n      cancel-in-progress: true\n\n    steps:\n      - name: Log matrix details\n        run: |\n          echo \"job_name: ${{ matrix.os.job_name }}\"\n          echo \"base_image: ${{ matrix.os.base_image }}\"\n          echo \"base_image_user: ${{ matrix.os.base_image_user }}\"\n          echo \"topology: ${{ matrix.os.topology }}\"\n          echo \"concurrency: ${{ matrix.os.concurrency }}\"\n\n      - name: Set environment variables\n        run: |\n          echo \"SF_HEAD_SHA=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n          echo \"SF_PRIMARY_REPO=$( echo ${{ github.repository }} | cut -f 2 -d '/' )\" >> $GITHUB_ENV\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n          ref: ${{ matrix.os.branch }}\n\n      - name: Determine if there is any dependency between the repositories\n        run: |\n          python3 ${GITHUB_WORKSPACE}/shakenfist/tools/clone_with_depends.py\n\n      - name: Build infrastructure\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n              --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=${{ matrix.os.base_image }} base_image_user=${{ matrix.os.base_image_user }}\" \\\n              deploy/ansible/ci-topology-${{ matrix.os.topology }}.yml\n\n      - name: Copy CI tools to primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null -rp tools \\\n              ${{ matrix.os.base_image_user }}@${primary}:.\n\n      - name: Log github actions buffering status\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          tools/run_remote ${primary} python3 tools/buffer.py\n\n      - name: Run getsf installer on primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} /tmp/getsf-wrapper\n          echo \"\"\n          echo \"\"\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              'sudo rm /etc/apache2/sites-enabled/*; sudo a2ensite sf-example.conf; sudo apachectl graceful'\n\n      - name: Wait for API to start answering\n        run: |\n          set +e\n\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} 'sudo chmod ugo+r /etc/sf/* /var/log/syslog'\n\n          count=0\n          while [ $count -lt 60 ]\n          do\n            ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} '. /etc/sf/sfrc; sf-client instance list'\n            if [ $? == 0 ]; then\n              exit 0\n            fi\n\n            count=$(( $count + 1 ))\n            sleep 5\n          done\n\n          exit 1\n\n      - name: Import cached images\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              '. /etc/sf/sfrc; sf-client artifact upload ubuntu-1804 /srv/ci/ubuntu:18.04 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              '. /etc/sf/sfrc; sf-client artifact upload ubuntu-2004 /srv/ci/ubuntu:20.04 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              '. /etc/sf/sfrc; sf-client artifact upload debian-11 /srv/ci/debian:11 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              '. /etc/sf/sfrc; sf-client artifact upload cirros /srv/ci/cirros --shared'\n\n      - name: Create a base level of activity in the cluster\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              'echo \"==== sfrc ====\"; cat /etc/sf/sfrc; echo \"==== end sfrc ====\"'\n          echo \"\"\n          echo \"\"\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \\\n              '. /etc/sf/sfrc; for i in `seq 100`; do sf-client --async=continue network create background-$i 10.$i.0.0/24 > /dev/null; echo -n \".\"; done'\n          echo \"\"\n\n      - name: Run functional tests\n        timeout-minutes: 120\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -rp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              $source_path/shakenfist \\\n              ${{ matrix.os.base_image_user }}@${primary}:shakenfist\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} \"cd shakenfist/deploy; . /etc/sf/sfrc; sudo PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install -r requirements.txt; set -e; stestr run --concurrency=${{ matrix.os.concurrency}}; stestr slowest\"\n\n      - name: Check logs\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          tools/run_remote ${primary} sudo /home/${{ matrix.os.base_image_user }}/tools/ci_event_checks.sh\n\n      # On Ubuntu 22.04 the cleaner is rated a CPU hog because of etcd cleanup\n      # cost. That's not really something we can control, so just ignore the CPU\n      # usage of that process instead.\n      - name: Check SF process CPU usage\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary} '. /etc/sf/sfrc; sf-client node cpuhogs --ignore sf_cleaner'\n\n      - name: Check for reasonable data rates\n        timeout-minutes: 5\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          tools/run_remote ${primary} sudo /home/${{ matrix.os.base_image_user }}/tools/ci_event_checks.sh\n\n      - name: Fetch and tweak inventory\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              ${{ matrix.os.base_image_user }}@${primary}:/etc/sf/inventory.yaml /srv/github/\n          sed -i 's|/root/.ssh|/home/debian/.ssh|g' /srv/github/inventory.yaml\n\n          echo \"=====\"\n          cat /srv/github/inventory.yaml\n\n      - name: Gather logs\n        if: always()\n        run: |\n          set -x\n\n          # We need the ssh key in the place ansible expects it to be, which isn't\n          # true on the CI worker node.\n          cp /srv/github/id_ci /home/debian/.ssh/id_rsa\n          cp /srv/github/id_ci.pub /home/debian/.ssh/id_rsa.pub\n\n          ansible-playbook -i /srv/github/inventory.yaml \\\n              --extra-vars \"base_image_user=${{ matrix.os.base_image_user }} \\\n              ansible_ssh_common_args='-o StrictHostKeyChecking=no'\" \\\n              ${GITHUB_WORKSPACE}/shakenfist/deploy/ansible/ci-gather-logs.yml\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: bundle-${{ matrix.os.job_name }}.zip\n          retention-days: 90\n          if-no-files-found: error\n          path: /srv/github/artifacts/bundle.zip\n\n  ansible-modules:\n    needs: requirements-check\n    runs-on: self-hosted\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}-ansiblemodules\n      cancel-in-progress: true\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SF_HEAD_SHA=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n          echo \"SF_PRIMARY_REPO=$( echo ${{ github.repository }} | cut -f 2 -d '/' )\" >> $GITHUB_ENV\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Determine if there is any dependency between the repositories\n        run: |\n          python3 ${GITHUB_WORKSPACE}/shakenfist/tools/clone_with_depends.py\n\n      - name: Build infrastructure\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n              --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=sf://label/ci-images/debian-11 base_image_user=debian\" \\\n              deploy/ansible/ci-topology-slim-primary.yml\n\n      - name: Run getsf installer on primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary /tmp/getsf-wrapper\n          echo \"\"\n          echo \"\"\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              'sudo rm /etc/apache2/sites-enabled/*; sudo a2ensite sf-example.conf; sudo apachectl graceful'\n\n      - name: Wait for API to start answering\n        run: |\n          set +e\n\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary 'sudo chmod ugo+r /etc/sf/* /var/log/syslog'\n\n          count=0\n          while [ $count -lt 60 ]\n          do\n            ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary '. /etc/sf/sfrc; sf-client instance list'\n            if [ $? == 0 ]; then\n              exit 0\n            fi\n\n            count=$(( $count + 1 ))\n            sleep 5\n          done\n\n          exit 1\n\n      - name: Import cached images\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload ubuntu-1804 /srv/ci/ubuntu:18.04 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload ubuntu-2004 /srv/ci/ubuntu:20.04 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload debian-11 /srv/ci/debian:11 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload cirros /srv/ci/cirros --shared'\n\n      - name: Run ansible module tests\n        timeout-minutes: 120\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -rp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              $source_path/shakenfist \\\n              debian@$primary:shakenfist\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \"cd shakenfist/deploy; . /etc/sf/sfrc; bash ansiblemoduletests.sh\"\n\n      - name: Check logs\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n                -o UserKnownHostsFile=/dev/null \\\n                debian@$primary sudo chmod ugo+r /var/log/syslog\n          scp -rp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary:/var/log/syslog \\\n              ${GITHUB_WORKSPACE}/syslog\n\n          failures=0\n\n          echo\n          etcd_conns=`grep -c \"Building new etcd connection\" ${GITHUB_WORKSPACE}/syslog || true`\n          echo \"This CI run created $etcd_conns etcd connections.\"\n          if [ $etcd_conns -gt 5000 ]; then\n            echo \"FAILURE: Too many etcd clients!\"\n            failures=1\n          fi\n\n          echo\n          sigterms=`grep -c \"Sent SIGTERM to \" ${GITHUB_WORKSPACE}/syslog || true`\n          echo \"This CI run sent $sigterms SIGTERM signals while shutting down.\"\n          if [ $sigterms -gt 50 ]; then\n            echo \"FAILURE: Too many SIGTERMs sent!\"\n            failures=1\n          fi\n\n          FORBIDDEN=(\"Traceback (most recent call last):\"\n                     \"ERROR sf\"\n                     \"ERROR gunicorn\"\n                     \" died\"\n                     \"Extra vxlan present\"\n                     \"Fork support is only compatible with the epoll1 and poll polling strategies\"\n                     \"not using configured address\"\n                     \"Dumping thread traces\"\n                     \"because it is leased to\"\n                     \"not committing online upgrade\"\n                     \"Received a GOAWAY with error code ENHANCE_YOUR_CALM\"\n                     \"ConnectionFailedError\"\n                     \"invalid JWT in Authorization header\"\n                     \"Libvirt Error: XML error\"\n                     \"Cleaning up leaked IPAM\"\n                     \"Cleaning up leaked vxlan\"\n                     \"Waiting to acquire lock\"\n                     'apparmor=\"DENIED\"'\n                     \"Ignoring malformed cache entry\")\n          IFS=\"\"\n          for forbid in ${FORBIDDEN[*]}\n          do\n            if [ `grep -c \"$forbid\" ${GITHUB_WORKSPACE}/syslog || true` -gt 0 ]\n            then\n              echo \"FAILURE: Forbidden string found in logs: $forbid\"\n              failures=1\n            fi\n          done\n\n          if [ $failures -gt 0 ]; then\n              echo \"...failures detected.\"\n              exit 1\n          fi\n\n      - name: Check process CPU usage\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary '. /etc/sf/sfrc; sf-client node cpuhogs'\n\n      - name: Fetch and tweak inventory\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary:/etc/sf/inventory.yaml /srv/github/\n          sed -i 's|/root/.ssh|/home/debian/.ssh|g' /srv/github/inventory.yaml\n\n          echo \"=====\"\n          cat /srv/github/inventory.yaml\n\n      - name: Gather logs\n        if: always()\n        run: |\n          set -x\n\n          # We need the ssh key in the place ansible expects it to be, which isn't\n          # true on the CI worker node.\n          cp /srv/github/id_ci /home/debian/.ssh/id_rsa\n          cp /srv/github/id_ci.pub /home/debian/.ssh/id_rsa.pub\n          chown -R debian.debian /home/debian/.ssh\n\n          ansible-playbook -i /srv/github/inventory.yaml \\\n              --extra-vars \"base_image_user=debian ansible_ssh_common_args='-o StrictHostKeyChecking=no'\" \\\n              ${GITHUB_WORKSPACE}/shakenfist/deploy/ansible/ci-gather-logs.yml\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: bundle-ansible-modules.zip\n          retention-days: 90\n          if-no-files-found: error\n          path: /srv/github/artifacts/bundle.zip\n\n\n  node-lifecycle:\n    needs: requirements-check\n    runs-on: self-hosted\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}-nodelifecycle\n      cancel-in-progress: true\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SF_HEAD_SHA=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n          echo \"SF_PRIMARY_REPO=$( echo ${{ github.repository }} | cut -f 2 -d '/' )\" >> $GITHUB_ENV\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Determine if there is any dependency between the repositories\n        run: |\n          python3 ${GITHUB_WORKSPACE}/shakenfist/tools/clone_with_depends.py\n\n      - name: Build infrastructure\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n              --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=sf://label/ci-images/debian-11 base_image_user=debian\" \\\n              deploy/ansible/ci-topology-slim-primary.yml\n\n      - name: Copy CI tools to primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null -rp tools \\\n              debian@$primary:.\n\n      - name: Run getsf installer on primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary /tmp/getsf-wrapper\n          echo \"\"\n          echo \"\"\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              'sudo rm /etc/apache2/sites-enabled/*; sudo a2ensite sf-example.conf; sudo apachectl graceful'\n\n      - name: Wait for API to start answering\n        run: |\n          set +e\n\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary 'sudo chmod ugo+r /etc/sf/* /var/log/syslog'\n\n          count=0\n          while [ $count -lt 60 ]\n          do\n            ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary '. /etc/sf/sfrc; sf-client instance list'\n            if [ $? == 0 ]; then\n              exit 0\n            fi\n\n            count=$(( $count + 1 ))\n            sleep 5\n          done\n\n          exit 1\n\n      - name: Import cached images\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload ubuntu-1804 /srv/ci/ubuntu:18.04 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload ubuntu-2004 /srv/ci/ubuntu:20.04 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload debian-11 /srv/ci/debian:11 --shared'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              '. /etc/sf/sfrc; sf-client artifact upload cirros /srv/ci/cirros --shared'\n\n      - name: Run node lifecycle tests\n        timeout-minutes: 120\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -rp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              $source_path/shakenfist \\\n              debian@$primary:shakenfist\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \"cd shakenfist/deploy; . /etc/sf/sfrc; bash nodelifecycletests.sh\"\n\n      - name: Check logs\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          tools/run_remote ${primary} sudo /home/${baseuser}/tools/ci_event_checks.sh\n\n      - name: Restart Shaken Fist nodes so we can collect logs\n        if: always()\n        run: |\n          set -x\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          for node in ${sf1_uuid} ${sf2_uuid} ${sf3_uuid} ${sf4_uuid} ${sf5_uuid}; do\n              sf-client instance reboot --hard ${node}\n          done\n          sleep 90\n\n      - name: Fetch and tweak inventory\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary:/etc/sf/inventory.yaml /srv/github/\n          sed -i 's|/root/.ssh|/home/debian/.ssh|g' /srv/github/inventory.yaml\n\n          echo \"=====\"\n          cat /srv/github/inventory.yaml\n\n      - name: Gather logs\n        if: always()\n        run: |\n          set -x\n\n          # We need the ssh key in the place ansible expects it to be, which isn't\n          # true on the CI worker node.\n          cp /srv/github/id_ci /home/debian/.ssh/id_rsa\n          cp /srv/github/id_ci.pub /home/debian/.ssh/id_rsa.pub\n          chown -R debian.debian /home/debian/.ssh\n\n          ansible-playbook -i /srv/github/inventory.yaml \\\n              --extra-vars \"base_image_user=debian ansible_ssh_common_args='-o StrictHostKeyChecking=no'\" \\\n              ${GITHUB_WORKSPACE}/shakenfist/deploy/ansible/ci-gather-logs.yml\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: bundle-node-lifecycle.zip\n          retention-days: 90\n          if-no-files-found: error\n          path: /srv/github/artifacts/bundle.zip\n\n\n  upgrade-0-6-15:\n    needs: requirements-check\n    runs-on: self-hosted\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}-upgrade-0-6-15\n      cancel-in-progress: true\n\n    steps:\n      - name: Set environment variables\n        run: |\n          echo \"SF_HEAD_SHA=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n          echo \"SF_PRIMARY_REPO=$( echo ${{ github.repository }} | cut -f 2 -d '/' )\" >> $GITHUB_ENV\n          echo \"SHAKENFIST_NAMESPACE=$(hostname)\" >> $GITHUB_ENV\n\n      - name: Checkout shakenfist\n        uses: actions/checkout@v4\n        with:\n          path: shakenfist\n          fetch-depth: 0\n\n      - name: Determine if there is any dependency between the repositories\n        run: |\n          python3 ${GITHUB_WORKSPACE}/shakenfist/tools/clone_with_depends.py\n\n      - name: Build infrastructure\n        run: |\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          ansible-playbook -i /home/debian/ansible-hosts \\\n              --extra-vars \"identifier=${SHAKENFIST_NAMESPACE} source_path=${GITHUB_WORKSPACE} \\\n              base_image=sf://label/ci-images/debian-11 base_image_user=debian\" \\\n              deploy/ansible/ci-topology-localhost-upgrade.yml\n\n      - name: Copy CI tools to primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null -rp tools \\\n              debian@$primary:.\n\n      - name: Run getsf to only install etcd, and then restore a backup\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary /tmp/getsf-wrapper --tags bootstrap,etcd\n\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary 'sudo chmod ugo+r /etc/sf/*; . /etc/sf/sfrc; /srv/shakenfist/venv/bin/sf-backup restore /srv/ci/backup-0.6.15-20230319'\n\n      - name: Run getsf installer on primary\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary /tmp/getsf-wrapper\n          echo \"\"\n          echo \"\"\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary \\\n              'sudo rm /etc/apache2/sites-enabled/*; sudo a2ensite sf-example.conf; sudo apachectl graceful'\n          ssh -i /srv/github/id_ci -o StrictHostKeyChecking=no \\\n              -o UserKnownHostsFile=/dev/null \\\n              debian@$primary 'sudo chmod ugo+r /etc/sf/*'\n\n      - name: Wait for five minutes\n        run: sleep 300\n\n      - name: Check logs\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          cd ${GITHUB_WORKSPACE}/shakenfist\n          tools/run_remote ${primary} sudo /home/${baseuser}/tools/ci_event_checks.sh\n\n      - name: Fetch and tweak inventory\n        if: always()\n        run: |\n          . ${GITHUB_WORKSPACE}/ci-environment.sh\n          scp -i /srv/github/id_ci -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \\\n              debian@$primary:/etc/sf/inventory.yaml /srv/github/\n          sed -i 's|/root/.ssh|/home/debian/.ssh|g' /srv/github/inventory.yaml\n\n          echo \"=====\"\n          cat /srv/github/inventory.yaml\n\n      - name: Gather logs\n        if: always()\n        run: |\n          set -x\n\n          # We need the ssh key in the place ansible expects it to be, which isn't\n          # true on the CI worker node.\n          cp /srv/github/id_ci /home/debian/.ssh/id_rsa\n          cp /srv/github/id_ci.pub /home/debian/.ssh/id_rsa.pub\n\n          ansible-playbook -i /srv/github/inventory.yaml \\\n              --extra-vars \"base_image_user=debian ansible_ssh_common_args='-o StrictHostKeyChecking=no'\" \\\n              ${GITHUB_WORKSPACE}/shakenfist/deploy/ansible/ci-gather-logs.yml\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: bundle-upgrade-0-6-15.zip\n          retention-days: 90\n          if-no-files-found: error\n          path: /srv/github/artifacts/bundle.zip", "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:48.428826", "created_at": "2024-07-06T08:55:18+02:00", "updated_at": "2024-07-06T08:55:18+02:00", "name": "Rebuild ubuntu-2404-test", "path": ".github/workflows/ci-images-ubuntu-2404-test.yml", "contents": null, "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:49.437059", "created_at": "2024-07-08T06:44:27+02:00", "updated_at": "2024-07-08T06:46:51+02:00", "name": "WIP slow tests exploration", "path": ".github/workflows/___wip___slowtests.yml", "contents": null, "state": "active", "repository": "shakenfist/shakenfist"}
{"mined_at": "2024-07-15T13:58:51.597021", "created_at": "2021-12-31T21:27:18+01:00", "updated_at": "2022-01-16T22:48:44+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "# The \"build\" workflow produces wheels (and the sdist) for all python\n# versions/platforms. Where possible (i.e. the build is not a cross-compile),\n# the test suite is also run for the wheel (this test covers fewer\n# configurations than the \"test\" workflow and tox.ini).\nname: Build\n\non:\n  push:\n    branches:\n      # Run on release branches. This gives us a chance to detect rot in this\n      # configuration before pushing a tag (which we'd rather not have to undo).\n      - \"branch[0-9]*\"\n    tags:\n      # The main purpose of this workflow is to build wheels for release tags.\n      # It runs automatically on tags matching this pattern and pushes to pypi.\n      - \"v*\"\n  workflow_dispatch:\n    # Allow this workflow to be run manually (pushing to testpypi instead of pypi)\n\nenv:\n  python-version: '3.9'\n\njobs:\n  build_sdist:\n    name: Build sdist\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: ${{ env.python-version }}\n\n      - name: Check metadata\n        run: \"python setup.py check\"\n      - name: Build sdist\n        run: \"python setup.py sdist && ls -l dist\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: artifacts-sdist\n          path: ./dist/tornado-*.tar.gz\n\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-22.04, windows-2022, macos-12]\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: ${{ env.python-version }}\n      - name: Set up QEMU\n        if: runner.os == 'Linux'\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.18\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: artifacts-${{ matrix.os }}\n          path: ./wheelhouse/*.whl\n\n  upload_pypi_test:\n    name: Upload to PyPI (test)\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-22.04\n    if: github.repository == 'tornadoweb/tornado' && github.event_name == 'workflow_dispatch'\n    permissions:\n      # This permission is required for pypi's \"trusted publisher\" feature\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: artifacts-*\n          path: dist\n          merge-multiple: true\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n\n  upload_pypi:\n    name: Upload to PyPI (prod)\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-22.04\n    if: github.repository == 'tornadoweb/tornado' && github.event_name == 'push' && github.ref_type == 'tag' && startsWith(github.ref_name, 'v')\n    permissions:\n      # This permission is required for pypi's \"trusted publisher\" feature\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: artifacts-*\n          path: dist\n          merge-multiple: true\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "tornadoweb/tornado"}
{"mined_at": "2024-07-15T13:58:52.749278", "created_at": "2022-01-02T20:58:31+01:00", "updated_at": "2022-01-16T22:48:44+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "# The \"test\" workflow is run on every PR and runs tests across all\n# supported python versions and a range of configurations\n# specified in tox.ini. Also see the \"build\" workflow which is only\n# run for release branches and covers platforms other than linux-amd64\n# (Platform-specific issues are rare these days so we don't want to\n# take that time on every build).\n\nname: Test\n\non: pull_request\n\njobs:\n  # Before starting the full build matrix, run one test configuration\n  # and the linter (the `black` linter is especially likely to catch\n  # first-time contributors).\n  test_quick:\n    name: Run quick tests\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          # Lint python version must be synced with tox.ini\n          python-version: '3.11'\n      - name: Install tox\n        run: python -m pip install tox -c requirements.txt\n\n      - name: Run test suite\n        run: python -m tox -e py311,lint\n\n  test_tox:\n    name: Run full tests\n    needs: test_quick\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        include:\n          - python: '3.8'\n            tox_env: py38-full\n          - python: '3.9'\n            tox_env: py39-full\n          - python: '3.10'\n            tox_env: py310-full\n          - python: '3.10.8'\n            # Early versions of 3.10 and 3.11 had different deprecation\n            # warnings in asyncio. Test with them too to make sure everything\n            # works the same way.\n            tox_env: py310-full\n          - python: '3.11'\n            tox_env: py311-full\n          - python: '3.11.0'\n            tox_env: py311-full\n          - python: '3.12.0'\n            tox_env: py312-full\n          - python: '3.13.0-beta.2 - 3.13'\n            # Some optional dependencies don't seem to work on 3.13 yet\n            tox_env: py313\n          - python: 'pypy-3.8'\n            # Pypy is a lot slower due to jit warmup costs, so don't run the\n            # \"full\" test config there.\n            tox_env: pypy3\n          - python: '3.11'\n            # Docs python version must be synced with tox.ini\n            tox_env: docs\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: ${{ matrix.python}}\n      - name: Install apt packages\n        run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev\n      - name: Install tox\n        run: python -m pip install tox -c requirements.txt\n\n      - name: Run test suite\n        run: python -m tox -e ${{ matrix.tox_env }}\n\n  test_win:\n    # Windows tests are fairly slow, so only run one configuration here.\n    # We test on windows but not mac because even though mac is a more\n    # fully-supported platform, it's similar enough to linux that we\n    # don't generally need to test it separately. Windows is different\n    # enough that we'll break it if we don't test it in CI.\n    name: Run windows tests\n    needs: test_quick\n    runs-on: windows-2022\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.11'\n      - name: Run test suite\n        # TODO: figure out what's up with these log messages\n        run: py -m tornado.test --fail-if-logs=false\n", "state": "active", "repository": "tornadoweb/tornado"}
{"mined_at": "2024-07-15T13:58:54.759350", "created_at": "2024-01-27T12:17:13+01:00", "updated_at": "2024-01-29T22:31:14+01:00", "name": "Auto-fix", "path": ".github/workflows/autofix.yml", "contents": "name: Auto-fix\non:\n  push:\n  pull_request:\njobs:\n  style:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade hatch\n      - name: Fix code style\n        run: hatch run style:fix --fix-only\n      - name: Check if any edits are necessary\n        run: git diff --color --exit-code\n      - name: Apply automatic fixes using pre-commit-ci-lite\n        if: failure() && github.event_name == 'pull_request'\n        uses: pre-commit-ci/lite-action@v1.0.1\n", "state": "active", "repository": "mkdocs/mkdocs"}
{"mined_at": "2024-07-15T13:58:55.819323", "created_at": "2022-10-03T02:39:03+02:00", "updated_at": "2022-10-07T23:18:08+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 6 * * 6'\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9-v7.x']\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        include:\n          - python-version: pypy-3.9-v7.x\n            py: pypy3\n        # Just to slim down the test matrix:\n        exclude:\n          - python-version: '3.9'\n            os: macos-latest\n          - python-version: '3.9'\n            os: windows-latest\n          - python-version: '3.10'\n            os: ubuntu-latest\n          - python-version: '3.11'\n            os: macos-latest\n          - python-version: '3.11'\n            os: windows-latest\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade hatch\n      - name: Run tests\n        run: |\n          hatch run +py=${{ matrix.py || matrix.python-version }} test:with-coverage\n      - name: Run integration tests\n        run: |\n          hatch run +py=${{ matrix.py || matrix.python-version }} integration:test\n        shell: bash\n      - name: Upload Codecov Results\n        if: success()\n        uses: codecov/codecov-action@v3\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          name: ${{ matrix.os }}/${{ matrix.python-version }}\n          fail_ci_if_error: false\n\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade hatch\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n      - name: Check with ruff\n        if: always()\n        run: hatch run style:lint\n      - name: Check with mypy\n        if: always()\n        run: hatch run types:check\n      - name: Check Markdown style\n        if: always()\n        run: hatch run lint:markdown\n      - name: Check JS style\n        if: always()\n        run: hatch run lint:js\n      - name: Check spelling\n        if: always()\n        run: hatch run lint:spelling\n\n  package:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Install dependencies\n        run: pip install -U build\n      - name: Build package\n        run: python -m build\n      - name: Check packaged files\n        shell: bash -e -x {0}\n        run: |\n          expected_wheel=(-emkdocs/{templates/sitemap.xml,config/base.py,py.typed,contrib/search/lunr-language/lunr.nl.js,themes/{mkdocs,readthedocs}/{base.html,locales/{de,es}/LC_MESSAGES/messages.mo}})\n          expected_sdist=(\"${expected_wheel[@]}\" -e{pyproject.toml,hatch_build.py})\n          test \"$(tar -ztf dist/mkdocs-*.tar.gz | grep -F \"${expected_sdist[@]}\" | tee /dev/stderr | wc -l)\" -eq \"${#expected_sdist[@]}\"\n          test \"$(unzip -l dist/mkdocs-*any.whl | grep -F \"${expected_wheel[@]}\" | tee /dev/stderr | wc -l)\" -eq \"${#expected_wheel[@]}\"\n", "state": "active", "repository": "mkdocs/mkdocs"}
{"mined_at": "2024-07-15T13:58:56.945732", "created_at": "2020-11-05T21:04:09+01:00", "updated_at": "2023-09-18T18:13:51+02:00", "name": "Deploy release", "path": ".github/workflows/deploy-release.yml", "contents": "name: Deploy release\non:\n  push:\n    tags:\n      - '*'\njobs:\n  pypi:\n    permissions:\n      id-token: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Install dependencies\n        run: pip install -U build\n      - name: Build package\n        run: python -m build\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "mkdocs/mkdocs"}
{"mined_at": "2024-07-15T13:58:58.001192", "created_at": "2023-12-03T12:57:11+01:00", "updated_at": "2023-12-05T21:48:19+01:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 6 * * 6'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Download source\n        uses: actions/checkout@v4\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Install dependencies\n        run: pip install --no-deps -r requirements/requirements-docs.txt\n      - name: Build site\n        run: mkdocs build --strict\n", "state": "active", "repository": "mkdocs/mkdocs"}
{"mined_at": "2024-07-15T13:58:58.996807", "created_at": "2022-03-26T20:54:28+01:00", "updated_at": "2022-03-26T20:54:28+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mkdocs/mkdocs"}
{"mined_at": "2024-07-15T13:59:01.023053", "created_at": "2024-03-01T06:02:33+01:00", "updated_at": "2024-03-05T02:11:55+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": null, "state": "active", "repository": "paddlepaddle/paddleocr"}
{"mined_at": "2024-07-15T13:59:02.033783", "created_at": "2024-04-02T21:05:31+02:00", "updated_at": "2024-04-02T21:05:31+02:00", "name": "CodeStyle Check", "path": ".github/workflows/codestyle-check.yml", "contents": null, "state": "active", "repository": "paddlepaddle/paddleocr"}
{"mined_at": "2024-07-15T13:59:03.048470", "created_at": "2024-05-07T04:10:31+02:00", "updated_at": "2024-05-22T07:02:25+02:00", "name": "PaddleOCR Code Style Check", "path": ".github/workflows/codestyle.yml", "contents": "name: PaddleOCR Code Style Check\n\non:\n  pull_request:\n  push:\n    branches: ['main', 'release/*']\n\njobs:\n  check-code-style:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ github.ref }}\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    # Install Dependencies for Python\n    - name: Install Dependencies for Python\n      run: |\n        python -m pip install --upgrade pip\n        pip install \"clang-format==13.0.0\"\n    - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "paddlepaddle/paddleocr"}
{"mined_at": "2024-07-15T13:59:04.056858", "created_at": "2024-02-29T20:41:54+01:00", "updated_at": "2024-02-29T20:41:54+01:00", "name": ".github/workflows/main.yml", "path": ".github/workflows/main.yml", "contents": null, "state": "active", "repository": "paddlepaddle/paddleocr"}
{"mined_at": "2024-07-15T13:59:05.125653", "created_at": "2023-06-30T05:26:17+02:00", "updated_at": "2024-01-03T03:34:44+01:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/mark_stale_issue.yml", "contents": null, "state": "active", "repository": "paddlepaddle/paddleocr"}
{"mined_at": "2024-07-15T13:59:06.366804", "created_at": "2024-03-25T09:49:26+01:00", "updated_at": "2024-03-25T09:49:26+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n        pip install setuptools\n        pip install wheel\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "paddlepaddle/paddleocr"}
{"mined_at": "2024-07-15T13:59:07.475195", "created_at": "2024-05-07T03:54:44+02:00", "updated_at": "2024-05-22T07:02:25+02:00", "name": "PaddleOCR PR Tests", "path": ".github/workflows/tests.yaml", "contents": "name: PaddleOCR PR Tests\n\non:\n  push:\n  pull_request:\n    branches: [\"main\", \"release/*\"]\n\npermissions:\n  contents: read\n\njobs:\n  test-pr:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        pip install paddlepaddle==0.0.0 -f https://www.paddlepaddle.org.cn/whl/linux/cpu-mkl/develop.html\n        pip install -e .\n    - name: Test with pytest\n      run: |\n        pytest --verbose tests/\n", "state": "active", "repository": "paddlepaddle/paddleocr"}
{"mined_at": "2024-07-15T13:59:09.527331", "created_at": "2022-11-08T10:52:40+01:00", "updated_at": "2023-01-10T23:48:31+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"develop\", \"develop-4\", \"release/0.10.x\", \"release/2.1.x\", \"release/2.2.x\", \"release/2.3.x\", \"release/2.4.x\", \"release/3.0.x\", \"release/3.1.x\", \"release/3.2.x\", \"release/3.3.x\", \"release/3.4.x\", \"release/3.5.x\", \"release/3.6.x\", \"release/3.7.x\", \"release/3.8.x\", \"release/3.9.x\", \"release/3.10.x\", \"release/3.11.x\", \"release/4.0.x\", \"release/4.0.0.x\", \"release/4.0.1.x\", \"release/4.1.x\" ]\n  pull_request:\n    branches: [ \"develop\" ]\n  schedule:\n    - cron: \"40 4 * * 6\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python, javascript ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n        if: ${{ matrix.language == 'python' || matrix.language == 'javascript' }}\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:10.549829", "created_at": "2021-03-31T18:31:38+02:00", "updated_at": "2021-03-31T18:31:38+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non: pull_request\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    name: docs\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n      - name: Cache dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - run: python -m pip install -r docs/requirements.txt\n      - run: python setup.py install\n      - run: codespell -w *.rst\n      - run: codespell -w --skip docs/spelling_wordlist docs\n      - name: Build docs\n        run: |\n          cd docs\n          sphinx-build -b dirhtml -n -d build/doctrees   . build/dirhtml\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:11.699846", "created_at": "2021-03-31T18:31:38+02:00", "updated_at": "2021-03-31T18:31:38+02:00", "name": "django CMS frontend.yml", "path": ".github/workflows/frontend.yml", "contents": "name: django CMS frontend.yml\n\non: pull_request\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  frontend:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        node-version: ['18']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Use Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v4\n      with:\n        node-version: ${{ matrix.node-version }}\n    - run: npm install\n    - run: npm install -g gulp@4.0.2\n    - run: |\n          gulp unitTest\n          gulp lint\n    - run: gulp icons\n    - run: gulp sass\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:12.714353", "created_at": "2022-04-20T22:53:30+02:00", "updated_at": "2022-04-20T22:53:30+02:00", "name": "Lint PR", "path": ".github/workflows/lint-pr.yml", "contents": "name: \"Lint PR\"\n\n# Validates PR titles against the conventional commit spec\n# https://github.com/commitizen/conventional-commit-types\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n\njobs:\n  main:\n    name: Validate PR title\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5.5.2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:13.815207", "created_at": "2021-03-31T18:31:38+02:00", "updated_at": "2024-04-16T00:53:01+02:00", "name": "django CMS linters.yml", "path": ".github/workflows/linters.yml", "contents": "name: django CMS linters.yml\n\non: pull_request\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  ruff:\n    name: ruff\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - run: python -Im pip install --user ruff\n\n    - name: Run ruff on cms\n      run: ruff --output-format=github cms\n\n    - name: Run ruff on menus\n      run: ruff --output-format=github menus\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:14.826330", "created_at": "2022-12-12T18:33:18+01:00", "updated_at": "2022-12-12T18:33:18+01:00", "name": "Create a django CMS release", "path": ".github/workflows/make-release.yml", "contents": "name: Create a django CMS release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version number to create, e.g., \"3.11.1rc1\"'\n        required: true\n        type: string\n    branches:\n      - 'develop*'\n      - 'release/**'\n\njobs:\n  make-release:\n    if: github.actor == 'marksweb' || github.actor == 'fsbraun'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n      - name: Start building version ${{ inputs.version }}\n        env:\n          BUILD_BRANCH: release/build\n          TX_TOKEN: ${{ secrets.TX_TOKEN }}\n        run: ./scripts/make-release ${{ inputs.version }} ${GITHUB_REF}\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:15.849364", "created_at": "2024-01-30T11:40:09+01:00", "updated_at": "2024-01-30T11:40:09+01:00", "name": "New contributor message", "path": ".github/workflows/new_contributor_pr.yml", "contents": "name: New contributor message\n\non:\n  pull_request_target:\n    types: [opened]\n\npermissions:\n  pull-requests: write\n\njobs:\n  new:\n    name: Hello new contributor\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/first-interaction@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          pr-message: |\n            Hello! Thank you for your contribution! 🎉\n\n            As it's your first contribution, be sure to check out the [contribution docs](https://docs.django-cms.org/en/latest/contributing/index.html).\n\n            We invite you to join us on our [Discord Server](https://discord-main-channel.django-cms.org)!\n\n            Welcome aboard ⛵️!\n  discord:\n    name: Discord Notification\n    runs-on: ubuntu-latest\n    needs: new\n    steps:\n      - name: Send Discord Webhook\n        env:\n          DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}\n          DISCORD_EMBEDS: |\n            {\n              \"embeds\": [\n                {\n                  \"title\": \"New Contributor Alert\",\n                  \"description\": \"A new contributor has opened a pull request!\",\n                  \"color\": 3066993,\n                  \"fields\": [\n                    {\n                      \"name\": \"Repository\",\n                      \"value\": \"${{ github.repository }}\"\n                    },\n                    {\n                      \"name\": \"Pull Request\",\n                      \"value\": \"${{ github.event.pull_request.html_url }}\"\n                    },\n                    {\n                      \"name\": \"Contributor\",\n                      \"value\": \"${{ github.event.pull_request.user.login }}\"\n                    }\n                  ]\n                }\n              ]\n            }\n        uses: Ilshidur/action-discord@master\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:16.913395", "created_at": "2022-11-14T18:09:16+01:00", "updated_at": "2023-06-21T21:24:04+02:00", "name": "Publish Python 🐍 distributions 📦 to pypi", "path": ".github/workflows/publish-to-live-pypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to pypi\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to pypi\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n\n    - name: Publish distribution 📦 to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:17.923113", "created_at": "2022-11-14T18:03:59+01:00", "updated_at": "2023-06-21T17:54:27+02:00", "name": "Publish Python 🐍 distributions 📦 to TestPyPI", "path": ".github/workflows/publish-to-test-pypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to TestPyPI\n\non:\n  push:\n    branches:\n      - 'develop'\n      - 'release/**'\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to TestPyPI\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n        skip_existing: true\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:18.940479", "created_at": "2023-12-11T20:24:06+01:00", "updated_at": "2024-01-12T21:02:09+01:00", "name": "Comment on PRs into release/* branches", "path": ".github/workflows/releases.yml", "contents": "name: Comment on PRs into release/* branches\n\non:\n  pull_request:\n    branches:\n      - release/*\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Comment on PR\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: '👋 Hi there!\\n\\nPlease remember to **MERGE COMMIT** pull requests from `develop` or `develop-4`!\\n\\n**Do not SQUASH** commits to preserve history for the changelog.'\n            })\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:20.190442", "created_at": "2022-07-03T15:20:53+02:00", "updated_at": "2022-07-03T22:19:06+02:00", "name": "django CMS spelling", "path": ".github/workflows/spelling.yml", "contents": "name: django CMS spelling\n\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  codespell:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: codespell\n        uses: codespell-project/actions-codespell@master\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:21.177247", "created_at": "2021-03-31T18:31:38+02:00", "updated_at": "2022-10-21T12:48:28+02:00", "name": "django CMS test.yml", "path": ".github/workflows/test.yml", "contents": "name: django CMS test.yml\n\non: pull_request\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  postgres:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9, '3.10', '3.11', '3.12' ]  # latest release minus two\n        requirements-file: [\n          django-2.2.txt,\n          django-3.2.txt,\n          django-4.0.txt,\n          django-4.1.txt,\n          django-4.2.txt,\n          django-5.0.txt\n        ]\n        os: [\n          ubuntu-20.04,\n        ]\n        exclude:\n          - requirements-file: django-5.0.txt\n            python-version: 3.8\n          - requirements-file: django-5.0.txt\n            python-version: 3.9\n\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        sudo apt install gettext gcc -y\n        python -m pip install --upgrade pip\n        pip install pytest uv\n        uv pip install --system -r test_requirements/${{ matrix.requirements-file }}\n        uv pip install --system -r test_requirements/databases.txt\n        python setup.py install\n\n    - name: Test with django test runner\n      run: |\n        python manage.py test\n      env:\n        DATABASE_URL: postgres://postgres:postgres@127.0.0.1/postgres\n\n\n  mysql:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9, '3.10', '3.11', '3.12' ]  # latest release minus two\n        requirements-file: [\n          django-2.2.txt,\n          django-3.2.txt,\n          django-4.0.txt,\n          django-4.1.txt,\n          django-4.2.txt,\n          django-5.0.txt\n        ]\n        os: [\n          ubuntu-20.04,\n        ]\n        exclude:\n          - requirements-file: django-5.0.txt\n            python-version: 3.8\n          - requirements-file: django-5.0.txt\n            python-version: 3.9\n\n    services:\n      mysql:\n        image: mysql:8.0\n        env:\n          MYSQL_ALLOW_EMPTY_PASSWORD: yes\n          MYSQL_DATABASE: djangocms_test\n        ports:\n          - 3306:3306\n        options: --health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=3\n\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        sudo apt install gettext gcc -y\n        python -m pip install --upgrade pip\n        pip install pytest uv\n        uv pip install --system -r test_requirements/${{ matrix.requirements-file }}\n        uv pip install --system -r test_requirements/databases.txt\n        python setup.py install\n\n\n    - name: Test with django test runner\n      run: |\n        python manage.py test\n      env:\n        DATABASE_URL: mysql://root@127.0.0.1/djangocms_test\n\n  sqlite:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9, '3.10', '3.11', '3.12' ]  # latest release minus two\n        requirements-file: [\n          django-2.2.txt,\n          django-3.2.txt,\n          django-4.0.txt,\n          django-4.1.txt,\n          django-4.2.txt,\n          django-5.0.txt\n        ]\n        os: [\n          ubuntu-20.04,\n        ]\n        exclude:\n          - requirements-file: django-5.0.txt\n            python-version: 3.9\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        sudo apt install gettext gcc -y\n        python -m pip install --upgrade pip\n        pip install pytest uv\n        uv pip install --system -r test_requirements/${{ matrix.requirements-file }}\n        python setup.py install\n\n    - name: Test with django test runner\n      run: python manage.py test\n      env:\n        DATABASE_URL: sqlite://localhost/testdb.sqlite\n\n  django-main-sqlite:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.12']\n        requirements-file: ['requirement_base_django_main.txt']\n        os: [\n          ubuntu-20.04,\n        ]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo apt install gettext gcc -y\n        python -m pip install --upgrade pip\n        pip install uv\n        uv pip install --system -r test_requirements/${{ matrix.requirements-file }}\n        uv pip install --system pytest\n        python setup.py install\n\n    - name: Test with django test runner\n      run: python manage.py test\n      continue-on-error: true\n      env:\n        DATABASE_URL: sqlite://localhost/testdb.sqlite\n\n  django-main-postgres:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.12']\n        requirements-file: ['requirement_base_django_main.txt']\n        os: [\n          ubuntu-20.04,\n        ]\n\n    services:\n      postgres:\n        image: postgres:13\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        sudo apt install gettext gcc -y\n        python -m pip install --upgrade pip\n        pip install uv\n        uv pip install --system -r test_requirements/${{ matrix.requirements-file }}\n        uv pip install --system pytest\n        uv pip install --system -r test_requirements/databases.txt\n        python setup.py install\n\n    - name: Test with django test runner\n      run: |\n        python -c \"from django import __version__ ; print(f'Django version {__version__}')\"\n        python manage.py test\n      continue-on-error: true\n      env:\n        DATABASE_URL: postgres://postgres:postgres@127.0.0.1/postgres\n\n  django-main-mysql:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.12']\n        requirements-file: ['requirement_base_django_main.txt']\n        os: [\n          ubuntu-20.04,\n        ]\n\n    services:\n      mysql:\n        image: mysql:8.0\n        env:\n          MYSQL_ALLOW_EMPTY_PASSWORD: yes\n          MYSQL_DATABASE: djangocms_test\n        ports:\n          - 3306:3306\n        options: --health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=3\n\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        sudo apt install gettext gcc -y\n        python -m pip install --upgrade pip\n        pip install uv\n        uv pip install --system -r test_requirements/${{ matrix.requirements-file }}\n        uv pip install --system pytest\n        uv pip install --system -r test_requirements/databases.txt\n        python setup.py install\n\n    - name: Test with django test runner\n      run: |\n        python manage.py test\n      continue-on-error: true\n      env:\n        DATABASE_URL: mysql://root@127.0.0.1/djangocms_test\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:22.200201", "created_at": "2023-11-23T16:53:21+01:00", "updated_at": "2024-05-08T11:59:44+02:00", "name": "djangocms mysite test", "path": ".github/workflows/test_startcmsproject.yml", "contents": "name: djangocms mysite test\n\non: pull_request\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  create-project:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        django-version: [\n          '3.2', '4.2',\n        ]\n        python-version: ['3.11']\n        requirements-file: ['requirements_base.txt']\n        os: [\n          ubuntu-20.04,\n        ]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Create project from template\n      run: |\n        sudo apt install gettext gcc -y\n        python -m venv .venv\n        source ./.venv/bin/activate\n        python -m pip install --upgrade pip\n        pip install -e .\n        djangocms mysite --noinput\n", "state": "active", "repository": "django-cms/django-cms"}
{"mined_at": "2024-07-15T13:59:24.274167", "created_at": "2024-04-12T22:57:31+02:00", "updated_at": "2024-04-25T00:51:59+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"dev\" ]\n  pull_request:\n    branches: [ \"dev\" ]\n  schedule:\n    - cron: '33 17 * * 6'\n\njobs:\n  analyze:\n    name: Analyze (${{ matrix.language }})\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners (GitHub.com only)\n    # Consider using larger runners or machines with greater resources for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # required to fetch internal or private CodeQL packs\n      packages: read\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - language: python\n          build-mode: none\n        # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'\n        # Use `c-cpp` to analyze code written in C, C++ or both\n        # Use 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,\n        # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.\n        # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how\n        # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        build-mode: ${{ matrix.build-mode }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n    # If the analyze step fails for one of the languages you are analyzing with\n    # \"We were unable to automatically build your code\", modify the matrix above\n    # to set the build mode to \"manual\" for that language. Then modify this step\n    # to build your code.\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n    - if: matrix.build-mode == 'manual'\n      run: |\n        echo 'If you are using a \"manual\" build mode for one or more of the' \\\n          'languages you are analyzing, replace this with the commands to build' \\\n          'your code, for example:'\n        echo '  make bootstrap'\n        echo '  make release'\n        exit 1\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "archivebox/archivebox"}
{"mined_at": "2024-07-15T13:59:25.414134", "created_at": "2020-11-28T11:44:44+01:00", "updated_at": "2021-04-24T10:06:03+02:00", "name": "Build Debian package", "path": ".github/workflows/debian.yml", "contents": "name: Build Debian package\n\non:\n  workflow_dispatch:\n  push:\n\nenv:\n  DEB_BUILD_OPTIONS: nocheck\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: true\n          fetch-depth: 1\n\n      - name: Install packaging dependencies\n        run: |\n          sudo apt-get update -qq\n          sudo apt-get install -y \\\n            python3 python3-dev python3-pip python3-venv python3-all \\\n            dh-python debhelper devscripts dput software-properties-common \\\n            python3-distutils python3-setuptools python3-wheel python3-stdeb\n\n      # - name: Build Debian/Apt sdist_dsc\n      #   run: |\n      #     ./bin/build_pip.sh\n\n      # - name: Check ArchiveBox version\n      #   run: |\n      #     # must create dir needed for snaps to run as non-root on github actions\n      #     sudo mkdir -p /run/user/1001 && sudo chmod -R 777 /run/user/1001\n      #     mkdir \"${{ github.workspace }}/data\" && cd \"${{ github.workspace }}/data\"\n      #     archivebox --version\n      #     archivebox init --setup\n\n      # - name: Add some links to test\n      #   run: |\n      #     cd \"${{ github.workspace }}/data\"\n      #     archivebox add 'https://example.com'\n      #     archivebox status\n\n      # - name: Commit built package\n      #   run: |\n      #     cd deb_dist/\n      #     git config --local user.email \"action@github.com\"\n      #     git config --local user.name \"GitHub Action\"\n      #     git commit -m \"Debian package autobuild\" -a\n      \n      # - name: Push build to Github\n      #   uses: ad-m/github-push-action@master\n      #   with:\n      #     github_token: ${{ secrets.GITHUB_TOKEN }}\n      #     repository: ArchiveBox/debian-archivebox\n      #     branch: ${{ github.ref }}\n      #     directory: deb_dist\n\n      # - name: Push build to Launchpad PPA\n      #   run: |\n      #     debsign -k \"$PGP_KEY_ID\" \"deb_dist/archivebox_${VERSION}-${DEBIAN_VERSION}_source.changes\"\n      #     dput archivebox \"deb_dist/archivebox_${VERSION}-${DEBIAN_VERSION}_source.changes\"\n", "state": "active", "repository": "archivebox/archivebox"}
{"mined_at": "2024-07-15T13:59:26.422627", "created_at": "2020-11-22T23:58:15+01:00", "updated_at": "2024-04-25T01:14:39+02:00", "name": "Build Docker image", "path": ".github/workflows/docker.yml", "contents": "name: Build Docker image\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - '**'\n    tags:\n      - 'v*'\n  # pull_request:\n\nenv:\n  DOCKER_IMAGE: archivebox-ci\n\njobs:\n  buildx:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 1\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          version: latest\n          install: true\n          platforms: linux/amd64,linux/arm64\n\n      - name: Builder instance name\n        run: echo ${{ steps.buildx.outputs.name }}\n\n      - name: Available platforms\n        run: echo ${{ steps.buildx.outputs.platforms }}\n\n      - name: Cache Docker layers\n        uses: actions/cache@v3\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n\n      - name: Docker Login\n        uses: docker/login-action@v3\n        if: github.event_name != 'pull_request'\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Collect Docker tags\n        # https://github.com/docker/metadata-action\n        id: docker_meta\n        uses: docker/metadata-action@v5\n        with:\n          images: archivebox/archivebox,nikisweeting/archivebox\n          tags: |\n              # :stable\n              type=ref,event=branch\n              # :0.7.3\n              type=semver,pattern={{version}}\n              # :0.7\n              type=semver,pattern={{major}}.{{minor}}\n              # :sha-463ea54\n              type=sha\n              # :latest\n              type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'stable') }}\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./\n          file: ./Dockerfile\n          builder: ${{ steps.buildx.outputs.name }}\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache-new\n          platforms: linux/amd64,linux/arm64\n\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n\n      - name: Update README\n        uses: peter-evans/dockerhub-description@v4\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n          repository: archivebox/archivebox\n\n      # This ugly bit is necessary if you don't want your cache to grow forever\n      # until it hits GitHub's limit of 5GB.\n      # Temp fix\n      # https://github.com/docker/build-push-action/issues/252\n      # https://github.com/moby/buildkit/issues/1896\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n", "state": "disabled_manually", "repository": "archivebox/archivebox"}
{"mined_at": "2024-07-15T13:59:27.436473", "created_at": "2020-11-28T11:44:44+01:00", "updated_at": "2020-12-06T15:26:52+01:00", "name": "Build Homebrew package", "path": ".github/workflows/homebrew.yml", "contents": "name: Build Homebrew package\n\non:\n  workflow_dispatch:\n  push:\n\n\njobs:\n  build:\n    runs-on: macos-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: true\n          fetch-depth: 1\n\n      # TODO: modify archivebox.rb to update src url, hashes, and dependencies\n\n      - name: Build Homebrew Bottle\n        run: |\n          pip3 install --upgrade pip setuptools wheel\n          cd brew_dist/\n          brew install --build-bottle ./archivebox.rb\n          # brew bottle archivebox\n          archivebox version\n\n      - name: Add some links to test\n        run: |\n          mkdir data && cd data\n          archivebox init --setup\n          archivebox add 'https://example.com'\n          archivebox version\n          archivebox status\n\n      # - name: Commit built package\n      #   run: |\n      #     cd brew_dist/\n      #     git config --local user.email \"action@github.com\"\n      #     git config --local user.name \"GitHub Action\"\n      #     git commit -m \"Homebrew package autobuild\" -a\n      \n      # - name: Push build to Github\n      #   uses: ad-m/github-push-action@master\n      #   with:\n      #     github_token: ${{ secrets.GITHUB_TOKEN }}\n      #     repository: ArchiveBox/homebrew-archivebox\n      #     branch: ${{ github.ref }}\n      #     directory: brew_dist\n\n      # TODO: push bottle homebrew core PR with latest changes\n", "state": "active", "repository": "archivebox/archivebox"}
{"mined_at": "2024-07-15T13:59:28.472652", "created_at": "2023-11-14T07:27:28+01:00", "updated_at": "2024-01-05T04:27:28+01:00", "name": "Build GitHub Pages website", "path": ".github/workflows/jekyll-gh-pages.yml", "contents": "# Sample workflow for building and deploying a Jekyll site to GitHub Pages\nname: Build GitHub Pages website\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches: [\"dev\"]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: true\n\njobs:\n  # Build job\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 1\n      - name: Copy README.md into place\n        run: |\n          rm ./website/README.md\n          cp ./README.md ./website/README.md\n      - name: Setup Pages\n        uses: actions/configure-pages@v3\n      - name: Build with Jekyll\n        uses: actions/jekyll-build-pages@v1\n        with:\n          source: ./website\n          destination: ./_site\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v2\n\n  # Deployment job\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "archivebox/archivebox"}
{"mined_at": "2024-07-15T13:59:29.536549", "created_at": "2020-11-28T11:44:44+01:00", "updated_at": "2021-04-24T06:09:56+02:00", "name": "Run linters", "path": ".github/workflows/lint.yml", "contents": "name: Run linters\n\non:\n  workflow_dispatch:\n  push:\n\nenv:\n  MAX_LINE_LENGTH: 110\n\njobs:\n  lint:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: true\n          fetch-depth: 1\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n          architecture: x64\n\n      - name: Install flake8\n        run: |\n          pip install flake8\n\n      - name: Lint with flake8\n        run: |\n          cd archivebox\n          # one pass for show-stopper syntax errors or undefined names\n          flake8 . --count --show-source --statistics\n          # one pass for small stylistic things\n          flake8 . --count --max-line-length=\"$MAX_LINE_LENGTH\" --statistics\n", "state": "active", "repository": "archivebox/archivebox"}
{"mined_at": "2024-07-15T13:59:30.622496", "created_at": "2020-11-28T11:44:44+01:00", "updated_at": "2021-01-21T01:13:58+01:00", "name": "Build Pip package", "path": ".github/workflows/pip.yml", "contents": "name: Build Pip package\n\non:\n  workflow_dispatch:\n  push:\n\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 1\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          architecture: x64\n\n      - uses: awalsh128/cache-apt-pkgs-action@latest\n        with:\n          packages: ripgrep build-essential python3-dev python3-setuptools libssl-dev libldap2-dev libsasl2-dev zlib1g-dev libatomic1 gnupg2 curl wget python3-ldap python3-msgpack python3-mutagen python3-regex python3-pycryptodome procps\n          version: 1.0\n\n      - uses: pdm-project/setup-pdm@v3\n        with:\n          python-version: '3.11'\n          cache: true\n\n      - name: Install dependencies\n        run: pdm install --fail-fast --no-lock --dev --group=':all' --no-self\n\n      - name: Build package\n        run: |\n          pdm build\n\n      - name: Install from build\n        run: pip install ./dist/archivebox-*.whl\n\n      - name: Add some links to test\n        run: |\n          mkdir data && cd data\n          archivebox init\n          archivebox add 'https://example.com'\n          archivebox version\n          archivebox status\n\n      #- name: Publish package distributions to PyPI\n      #  run: pdm publish --no-build\n\n      # - name: Push build to PyPI\n      #   run: |\n      #     cd pip_dist/\n      #     python3 -m twine upload --repository testpypi pip_dist/*.{whl,tar.gz}\n      #     python3 -m twine upload --repository pypi pip_dist/*.{whl,tar.gz}\n\n      # - name: Commit built package\n      #   run: |\n      #     cd pip_dist/\n      #     git config --local user.email \"action@github.com\"\n      #     git config --local user.name \"GitHub Action\"\n      #     git commit -m \"Pip package autobuild\" -a\n      \n      # - name: Push build to Github\n      #   uses: ad-m/github-push-action@master\n      #   with:\n      #     github_token: ${{ secrets.GITHUB_TOKEN }}\n      #     repository: ArchiveBox/pip-archivebox\n      #     branch: ${{ github.ref }}\n      #     directory: pip_dist\n\n", "state": "active", "repository": "archivebox/archivebox"}
{"mined_at": "2024-07-15T13:59:31.738664", "created_at": "2020-07-04T00:06:47+02:00", "updated_at": "2020-12-11T20:45:23+01:00", "name": "Run tests", "path": ".github/workflows/test.yml", "contents": "name: Run tests\non: [push]\n\nenv:\n  DOCKER_IMAGE: archivebox-ci\n  PYTHONIOENCODING: utf-8\n  PYTHONLEGACYWINDOWSSTDIO: utf-8\n  USE_COLOR: False\n\njobs:\n  python_tests:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n        # os: [ubuntu-22.04, macos-latest, windows-latest]\n        python: [3.11]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 1\n\n      ### Setup Python & JS Languages\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: x64\n\n      - name: Set up Node JS\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20.10.0\n\n      - name: Setup PDM\n        uses: pdm-project/setup-pdm@v3\n        with:\n          python-version: '3.11'\n          cache: true\n\n      ### Install Python & JS Dependencies\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"::set-output name=dir::$(pip cache dir)\"\n\n      - name: Cache pip\n        uses: actions/cache@v3\n        id: cache-pip\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-${{ matrix.python }}-venv-${{ hashFiles('setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python }}-venv-\n\n      - uses: awalsh128/cache-apt-pkgs-action@latest\n        with:\n          packages: ripgrep build-essential python3-dev python3-setuptools libssl-dev libldap2-dev libsasl2-dev zlib1g-dev libatomic1 python3-minimal gnupg2 curl wget python3-ldap python3-msgpack python3-mutagen python3-regex python3-pycryptodome procps\n          version: 1.0\n\n      - name: Install pip dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel pytest bottle build\n          python -m pip install -r requirements.txt\n          python -m pip install -e .[sonic,ldap]\n\n      - name: Get npm cache dir\n        id: npm-cache\n        run: |\n          echo \"::set-output name=dir::$GITHUB_WORKSPACE/node_modules\"\n\n      - name: Cache npm\n        uses: actions/cache@v3\n        id: cache-npm\n        with:\n          path: ${{ steps.npm-cache.outputs.dir }}\n          key: ${{ runner.os }}-node_modules-${{ hashFiles('package-lock.json') }}\n          restore-keys: |\n            ${{ runner.os }}-node_modules\n\n      - name: Install npm requirements\n        run: |\n          npm install\n          echo \"SINGLEFILE_BINARY=$GITHUB_WORKSPACE/node_modules/.bin/single-file\" >> $GITHUB_ENV\n          echo \"READABILITY_BINARY=$GITHUB_WORKSPACE/node_modules/.bin/readability-extractor\" >> $GITHUB_ENV\n          echo \"MERCURY_BINARY=$GITHUB_WORKSPACE/node_modules/.bin/mercury-parser\" >> $GITHUB_ENV\n\n      ### Run the tests\n      - name: Directory listing for debugging\n        run: |\n          pwd\n          ls\n\n      - name: Archivebox version\n        run: |\n          archivebox version\n\n      - name: Test built package with pytest\n        # TODO: remove this exception for windows once we get tests passing on that platform\n        if: ${{ !contains(matrix.os, 'windows') }}\n        run: |\n          python -m pytest -s --basetemp=tests/out --ignore=archivebox/vendor --ignore=deb_dist --ignore=pip_dist --ignore=brew_dist\n\n  docker_tests:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 1\n\n      # TODO: as of 2020-11 this helper layer broke, upgrade and re-enable this once it's usable again\n      # - uses: satackey/action-docker-layer-caching@v0.0.8\n\n      - name: Build image\n        run: |\n          docker build . -t \"$DOCKER_IMAGE\"\n\n      - name: Init data dir\n        run: |\n          mkdir \"${{ github.workspace }}/data\"\n          docker run -v \"${{ github.workspace }}/data\":/data \"$DOCKER_IMAGE\" init\n\n      - name: Run test server\n        run: |\n          sudo bash -c 'echo \"127.0.0.1  www.test-nginx-1.local www.test-nginx-2.local\" >> /etc/hosts'\n          docker run --name www-nginx -p 80:80 -d nginx\n\n      - name: Add link\n        run: |\n          docker run -v \"$PWD\"/data:/data --network host \"$DOCKER_IMAGE\" add http://www.test-nginx-1.local\n\n      - name: Add stdin link\n        run: |\n          echo \"http://www.test-nginx-2.local\" | docker run -i --network host -v \"$PWD\"/data:/data \"$DOCKER_IMAGE\" add\n\n      - name: List links\n        run: |\n          docker run -v \"$PWD\"/data:/data \"$DOCKER_IMAGE\" list | grep -q \"www.test-nginx-1.local\" || { echo \"The site 1 isn't in the list\"; exit 1; }\n          docker run -v \"$PWD\"/data:/data \"$DOCKER_IMAGE\" list | grep -q \"www.test-nginx-2.local\" || { echo \"The site 2 isn't in the list\"; exit 1; }\n\n      - name: Start docker-compose stack\n        run: |\n          docker-compose run archivebox init\n          docker-compose up -d\n          sleep 5\n          curl --silent --location 'http://127.0.0.1:8000' | grep 'ArchiveBox'\n          curl --silent --location 'http://127.0.0.1:8000/static/admin/js/jquery.init.js' | grep 'window.django'\n\n      - name: Check added urls show up in index\n        run: |\n          docker-compose run archivebox add 'http://example.com/#test_docker' --index-only\n          curl --silent --location 'http://127.0.0.1:8000' | grep 'http://example.com/#test_docker'\n          docker-compose down || true\n", "state": "active", "repository": "archivebox/archivebox"}
{"mined_at": "2024-07-15T13:59:32.731656", "created_at": "2024-01-05T04:41:48+01:00", "updated_at": "2024-01-05T04:41:48+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "archivebox/archivebox"}
{"mined_at": "2024-07-15T13:59:33.745720", "created_at": "2021-12-17T22:53:40+01:00", "updated_at": "2021-12-17T22:53:40+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "archivebox/archivebox"}
{"mined_at": "2024-07-15T13:59:35.963124", "created_at": "2024-03-25T14:57:28+01:00", "updated_at": "2024-03-25T14:57:28+01:00", "name": "Issue assignment", "path": ".github/workflows/auto-assign-issue.yml", "contents": "# auto-assign-issue (https://github.com/marketplace/actions/auto-assign-issue)\nname: Issue assignment\n\non:\n  issues:\n    types: [opened]\n\npermissions:\n  issues: write\n\njobs:\n  auto-assign:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: pozil/auto-assign-issue@v2\n        if: \"contains(github.event.issue.labels.*.name, 'status: needs triage')\"\n        with:\n          # Weighted assignments\n          assignees: arthanson:3, jeffgdotorg:3, jeremystretch:3, DanSheps\n          numOfAssignee: 1\n          abortIfPreviousAssignees: true\n", "state": "active", "repository": "netbox-community/netbox"}
{"mined_at": "2024-07-15T13:59:37.193201", "created_at": "2020-01-10T21:01:09+01:00", "updated_at": "2020-12-08T20:42:46+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    paths-ignore:\n      - 'contrib/**'\n      - 'docs/**'\n      - 'netbox/translations/**'\n  pull_request:\n    paths-ignore:\n      - 'contrib/**'\n      - 'docs/**'\n      - 'netbox/translations/**'\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      NETBOX_CONFIGURATION: netbox.configuration_testing\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n        node-version: ['18.x']\n    services:\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: netbox\n          POSTGRES_PASSWORD: netbox\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n\n    steps:\n    - name: Check out repo\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Use Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v4\n      with:\n        node-version: ${{ matrix.node-version }}\n    \n    - name: Install Yarn Package Manager\n      run: npm install -g yarn\n    \n    - name: Setup Node.js with Yarn Caching\n      uses: actions/setup-node@v4\n      with:\n        node-version: ${{ matrix.node-version }}\n        cache: yarn\n        cache-dependency-path: netbox/project-static/yarn.lock\n    \n    - name: Install Frontend Dependencies\n      run: yarn --cwd netbox/project-static\n\n    - name: Install dependencies & set up configuration\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install pycodestyle coverage tblib\n\n    - name: Build documentation\n      run: mkdocs build\n\n    - name: Collect static files\n      run: python netbox/manage.py collectstatic --no-input\n\n    - name: Check for missing migrations\n      run: python netbox/manage.py makemigrations --check\n\n    - name: Check PEP8 compliance\n      run: pycodestyle --ignore=W504,E501 --exclude=node_modules netbox/\n\n    - name: Check UI ESLint, TypeScript, and Prettier Compliance\n      run: yarn --cwd netbox/project-static validate\n    \n    - name: Validate Static Asset Integrity\n      run: scripts/verify-bundles.sh\n\n    - name: Run tests\n      run: coverage run --source=\"netbox/\" netbox/manage.py test netbox/ --parallel\n\n    - name: Show coverage report\n      run: coverage report --skip-covered --omit '*/migrations/*,*/tests/*'\n", "state": "active", "repository": "netbox-community/netbox"}
{"mined_at": "2024-07-15T13:59:38.225586", "created_at": "2024-05-16T20:04:56+02:00", "updated_at": "2024-05-16T20:04:56+02:00", "name": "Close incomplete issues", "path": ".github/workflows/close-incomplete-issues.yml", "contents": "# close-stale-issues (https://github.com/marketplace/actions/close-stale-issues)\nname: Close incomplete issues\n\non:\n  schedule:\n    - cron: '15 4 * * *'\n  workflow_dispatch:\n\npermissions:\n  actions: write\n  issues: write\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          close-issue-message: >\n            This issue is being closed as no further information has been provided. If\n            you would like to revisit this topic, please first modify your original post\n            to include all the requested detail, and then ask that the issue be reopened.\n          days-before-stale: 7\n          days-before-close: 7\n          only-issue-labels: 'status: revisions needed'\n          operations-per-run: 100\n          remove-stale-when-updated: false\n          stale-issue-label: 'pending closure'\n          stale-issue-message: >\n            This is a reminder that additional information is needed in order to further\n            triage this issue. If the requested details are not provided, the issue will\n            soon be closed automatically.\n", "state": "active", "repository": "netbox-community/netbox"}
{"mined_at": "2024-07-15T13:59:39.221260", "created_at": "2024-03-25T14:57:28+01:00", "updated_at": "2024-03-25T14:57:28+01:00", "name": "Close stale issues/PRs", "path": ".github/workflows/close-stale-issues.yml", "contents": "# close-stale-issues (https://github.com/marketplace/actions/close-stale-issues)\nname: Close stale issues/PRs\n\non:\n  schedule:\n    - cron: '0 4 * * *'\n  workflow_dispatch:\n\npermissions:\n  actions: write\n  issues: write\n  pull-requests: write\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          # General parameters\n          operations-per-run: 100\n          remove-stale-when-updated: false\n\n          # Issue parameters\n          close-issue-message: >\n            This issue has been automatically closed due to lack of activity. In an\n            effort to reduce noise, please do not comment any further. Note that the\n            core maintainers may elect to reopen this issue at a later date if deemed\n            necessary.\n          days-before-issue-stale: 90\n          days-before-issue-close: 30\n          exempt-issue-labels: 'status: accepted,status: backlog,status: blocked'\n          stale-issue-label: 'pending closure'\n          stale-issue-message: >\n            This issue has been automatically marked as stale because it has not had\n            recent activity. It will be closed if no further activity occurs. NetBox\n            is governed by a small group of core maintainers which means not all opened\n            issues may receive direct feedback. **Do not** attempt to circumvent this\n            process by \"bumping\" the issue; doing so will result in its immediate closure\n            and you may be barred from participating in any future discussions. Please see\n            our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).\n\n          # Pull request parameters\n          close-pr-message: >\n            This PR has been automatically closed due to lack of activity.\n          days-before-pr-stale: 15\n          days-before-pr-close: 15\n          stale-pr-label: 'pending closure'\n          stale-pr-message: >\n            This PR has been automatically marked as stale because it has not had\n            recent activity. It will be closed automatically if no further action is\n            taken.\n", "state": "active", "repository": "netbox-community/netbox"}
{"mined_at": "2024-07-15T13:59:40.245932", "created_at": "2024-03-25T14:57:28+01:00", "updated_at": "2024-03-25T14:57:28+01:00", "name": "Lock threads", "path": ".github/workflows/lock-threads.yml", "contents": "# lock-threads (https://github.com/marketplace/actions/lock-threads)\nname: Lock threads\n\non:\n  schedule:\n    - cron: '0 3 * * *'\n  workflow_dispatch:\n\npermissions:\n  issues: write\n  pull-requests: write\n  discussions: write\n\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v5\n        with:\n          issue-inactive-days: 90\n          pr-inactive-days: 30\n          discussion-inactive-days: 180\n          issue-lock-reason: 'resolved'\n", "state": "active", "repository": "netbox-community/netbox"}
{"mined_at": "2024-07-15T13:59:41.395746", "created_at": "2024-05-30T15:59:04+02:00", "updated_at": "2024-05-30T15:59:04+02:00", "name": "Update translation strings", "path": ".github/workflows/update-translation-strings.yml", "contents": "name: Update translation strings\n\non:\n  schedule:\n    - cron: '0 5 * * *'\n  workflow_dispatch:\n\npermissions:\n  contents: write\n\nenv:\n  LOCALE: \"en\"\n\njobs:\n  makemessages:\n    runs-on: ubuntu-latest\n    env:\n      NETBOX_CONFIGURATION: netbox.configuration_testing\n\n    steps:\n    - name: Check out repo\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n\n    - name: Install system dependencies\n      run: sudo apt install -y gettext\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n\n    - name: Run makemessages\n      run: python netbox/manage.py makemessages -l ${{ env.LOCALE }}\n\n    - name: Commit changes\n      uses: EndBug/add-and-commit@v9\n      with:\n        add: 'netbox/translations/'\n        default_author: github_actions\n        message: 'Update source translation strings'\n", "state": "active", "repository": "netbox-community/netbox"}
{"mined_at": "2024-07-15T13:59:43.640301", "created_at": "2022-09-15T19:04:30+02:00", "updated_at": "2023-10-23T17:33:39+02:00", "name": "Cherry-Pick into Release Branch", "path": ".github/workflows/cherry-pick-release.yml", "contents": "name: Cherry-Pick into Release Branch\n\non:\n  push:\n    branches: [\"master\"]\n\njobs:\n  release_pull_requestk:\n    name: cherry_pick_into_${{ matrix.release-branch }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        release-branch: [release-0.7, release-0.8]\n\n    steps:\n      - name: checkout\n        uses: actions/checkout@v1\n\n      - name: Check PR labels action step\n        id: check_pr_labels\n        uses: shioyang/check-pr-labels-on-push-action@v1.0.6\n        with:\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          labels: '[\"${{ matrix.release-branch }}\"]'\n\n      - name: Create PR into release branch\n        if: steps.check_pr_labels.outputs.result == 'true'\n        uses: gorillio/github-action-cherry-pick@master\n        with:\n          pr_branch: ${{ matrix.release-branch }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          DRY_RUN: false\n", "state": "active", "repository": "ludwig-ai/ludwig"}
{"mined_at": "2024-07-15T13:59:44.727433", "created_at": "2021-04-21T04:27:41+02:00", "updated_at": "2023-10-21T12:05:28+02:00", "name": "docker", "path": ".github/workflows/docker.yml", "contents": "name: docker\n\non:\n  schedule:\n    - cron: \"0 10 * * *\" # everyday at 10am\n  push:\n    branches: [\"master\", \"release-*\"]\n    tags: [\"v*.*.*\"]\n\njobs:\n  start-runner:\n    name: Start self-hosted EC2 runner\n    if: >\n      github.event_name == 'schedule' && github.repository == 'ludwig-ai/ludwig' ||\n      github.event_name == 'push' && github.repository == 'ludwig-ai/ludwig' ||\n      github.event_name == 'pull_request' && github.event.pull_request.base.repo.full_name == 'ludwig-ai/ludwig' && !github.event.pull_request.head.repo.fork\n    runs-on: ubuntu-latest\n    outputs:\n      label: ${{ steps.start-ec2-runner.outputs.label }}\n      ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}\n\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n\n      - name: Start EC2 runner\n        id: start-ec2-runner\n        uses: machulav/ec2-github-runner@v2.3.2\n        with:\n          mode: start\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          ec2-image-id: ami-0759580dedc953d1f\n          ec2-instance-type: r5.large\n          subnet-id: subnet-0983be43\n          security-group-id: sg-4cba0d08\n          aws-resource-tags: >\n            [\n              {\"Key\": \"Name\", \"Value\": \"ludwig-github-${{ github.head_ref || github.sha }}\"},\n              {\"Key\": \"GitHubRepository\", \"Value\": \"${{ github.repository }}\"},\n              {\"Key\": \"GitHubHeadRef\", \"Value\": \"${{ github.head_ref }}\"},\n              {\"Key\": \"GitHubSHA\", \"Value\": \"${{ github.sha }}\"}\n            ]\n\n  docker:\n    name: Build docker image ${{ matrix.docker-image }} (push=${{ github.event_name != 'pull_request' }})\n    if: needs.start-runner.result != 'skipped'\n    needs: start-runner # required to start the main job when the runner is ready\n    runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runners\n\n    # we want an ongoing run of this workflow to be canceled by a later commit\n    # so that there is only one concurrent run of this workflow for each branch\n    concurrency:\n      group: docker-${{ matrix.docker-image }}-${{ github.head_ref || github.sha }}\n      cancel-in-progress: true\n\n    strategy:\n      fail-fast: false\n      matrix:\n        docker-image:\n          - ludwig\n          - ludwig-gpu\n          - ludwig-ray\n          - ludwig-ray-gpu\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Docker meta\n        id: meta\n        uses: crazy-max/ghaction-docker-meta@v2\n        with:\n          # list of Docker images to use as base name for tags\n          images: |\n            ludwigai/${{ matrix.docker-image }}\n          # generate Docker tags based on the following events/attributes\n          tags: |\n            type=schedule\n            type=ref,event=branch\n            type=ref,event=pr\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{major}}\n            type=sha\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to DockerHub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          file: ./docker/${{ matrix.docker-image }}/Dockerfile\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n\n  stop-runner:\n    name: Stop self-hosted EC2 runner\n\n    # required to stop the runner even if the error happened in the previous job\n    if: always() && needs.start-runner.result != 'skipped'\n    needs:\n      - start-runner # required to get output from the start-runner job\n      - docker # required to wait when the main job is done\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n\n      - name: Stop EC2 runner\n        uses: machulav/ec2-github-runner@v2.3.2\n        with:\n          mode: stop\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          label: ${{ needs.start-runner.outputs.label }}\n          ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}\n", "state": "active", "repository": "ludwig-ai/ludwig"}
{"mined_at": "2024-07-15T13:59:45.742502", "created_at": "2021-03-15T14:38:57+01:00", "updated_at": "2023-12-01T14:48:25+01:00", "name": "pytest", "path": ".github/workflows/pytest.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: pytest\n\non:\n  push:\n    branches: [\"master\", \"release-*\"]\n  pull_request:\n    branches: [\"master\", \"release-*\"]\n\n# We want an ongoing run of this workflow to be canceled by a later commit\n# so that there is only one concurrent run of this workflow for each branch\nconcurrency:\n  group: pytest-${{ github.head_ref || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  pytest:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n        test-markers: [\"not distributed\", \"distributed\"]\n        include:\n          - python-version: \"3.8\"\n            pytorch-version: 2.0.0\n            torchscript-version: 1.10.2\n            ray-version: 2.3.1\n          - python-version: \"3.9\"\n            pytorch-version: 2.1.1\n            torchscript-version: 1.10.2\n            ray-version: 2.3.1\n          - python-version: \"3.10\"\n            # pytorch-version: nightly\n            pytorch-version: 2.2.1\n            torchscript-version: 1.10.2\n            ray-version: 2.3.1\n    env:\n      PYTORCH: ${{ matrix.pytorch-version }}\n      MARKERS: ${{ matrix.test-markers }}\n      NEUROPOD_BASE_DIR: \"/usr/local/lib/neuropod\"\n      NEUROPOD_VERISON: \"0.3.0-rc6\"\n      TORCHSCRIPT_VERSION: ${{ matrix.torchscript-version }}\n      RAY_VERSION: ${{ matrix.ray-version }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.LUDWIG_TESTS_AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.LUDWIG_TESTS_AWS_SECRET_ACCESS_KEY }}\n      KAGGLE_USERNAME: ${{ secrets.KAGGLE_USERNAME }}\n      KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }}\n      IS_NOT_FORK: ${{ !(github.event.pull_request.base.repo.full_name == 'ludwig-ai/ludwig' && github.event.pull_request.head.repo.fork) }}\n\n    name: py${{ matrix.python-version  }}, torch-${{ matrix.pytorch-version }}, ${{ matrix.test-markers }}, ${{ matrix.os }}, ray ${{ matrix.ray-version }}\n    services:\n      minio:\n        image: fclairamb/minio-github-actions\n        env:\n          MINIO_ACCESS_KEY: minio\n          MINIO_SECRET_KEY: minio123\n        ports:\n          - 9000:9000\n\n    timeout-minutes: 150\n    steps:\n      - name: Setup ludwigai/ludwig-ray container for local testing with act.\n        if: ${{ env.ACT }}\n        run: |\n          curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -\n          sudo apt-get install -y nodejs\n          sudo mkdir -p /opt/hostedtoolcache/\n          sudo chmod 777 -R /opt/hostedtoolcache/\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Setup Linux\n        if: runner.os == 'linux'\n        run: |\n          sudo apt-get update && sudo apt-get install -y cmake libsndfile1 wget libsox-dev\n\n      - name: Setup macOS\n        if: runner.os == 'macOS'\n        run: |\n          brew install libuv\n\n      - name: pip cache\n        if: ${{ !env.ACT }}\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-torch${{ matrix.pytorch-version }}-${{ matrix.test-markers }}-${{ hashFiles('requirements*.txt', '.github/workflows/pytest.yml') }}\n\n      - name: Debug out of space\n        run: |\n          du -h -d 1 ~\n          df -h\n\n      - name: Install dependencies\n        run: |\n          python --version\n          pip --version\n          python -m pip install -U pip\n          cmake --version\n\n          # remove torch and ray from the dependencies so we can add them depending on the matrix args for the job.\n          cat requirements.txt | sed '/^torch[>=<\\b]/d' | sed '/^torchtext/d' | sed '/^torchvision/d' | sed '/^torchaudio/d' > requirements-temp && mv requirements-temp requirements.txt\n          cat requirements_distributed.txt | sed '/^ray[\\[]/d'\n\n          if [ \"$MARKERS\" != \"distributed\" ]; then\n            # Skip distributed and hyperopt requirements to test optional imports\n            echo > requirements-temp && mv requirements-temp requirements_distributed.txt\n            echo > requirements-temp && mv requirements-temp requirements_hyperopt.txt\n\n            # Skip distributed tree requirement (lightgbm-ray)\n            cat requirements_tree.txt | sed '/^lightgbm-ray/d' > requirements-temp && mv requirements-temp requirements_tree.txt\n          else\n            if [ \"$RAY_VERSION\" == \"nightly\" ]; then\n              # NOTE: hardcoded for python 3.10 on Linux\n              echo \"ray[default,data,serve,tune] @ https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp310-cp310-manylinux2014_x86_64.whl\" >> requirements_distributed.txt\n            else\n              echo \"ray[default,data,serve,tune]==$RAY_VERSION\" >> requirements_distributed.txt\n            fi\n          fi\n\n          if [ \"$PYTORCH\" == \"nightly\" ]; then\n            extra_index_url=https://download.pytorch.org/whl/nightly/cpu\n            pip install --pre torch torchtext torchvision torchaudio --extra-index-url $extra_index_url\n\n          else\n            extra_index_url=https://download.pytorch.org/whl/cpu\n            pip install torch==$PYTORCH torchtext torchvision torchaudio --extra-index-url $extra_index_url\n          fi\n\n          pip install '.[test]' --extra-index-url $extra_index_url\n          pip list\n\n          if [ \"$PYTORCH\" == \"nightly\" ]; then\n            python -c \"from packaging import version; import torch; assert version.parse(torch.__version__).release >= version.parse(\\\"2.0.0\\\").release, f\\\"torch {version.parse(torch.__version__).release} < version.parse(\\'2.0.0\\').release\\\"\"\n          else\n            python -c \"from packaging import version; import torch; assert version.parse(torch.__version__).release == version.parse(\\\"$PYTORCH\\\").release, f\\\"torch {version.parse(torch.__version__).release} != version.parse(\\'$PYTORCH\\').release\\\"\"\n          fi\n\n          if [ \"$MARKERS\" == \"distributed\" ]; then\n            python -c \"from packaging import version; import ray; assert version.parse(ray.__version__).release == version.parse(\\\"$RAY_VERSION\\\").release, f\\\"ray {version.parse(ray.__version__).release} != version.parse(\\'$RAY_VERSION\\').release\\\"\"\n          else\n            python -c \"import importlib.util; assert importlib.util.find_spec('ray') is None, \\\"found ray but expected it to not be installed\\\"\"\n          fi\n        shell: bash\n\n      - name: Install Neuropod backend\n        run: |\n          sudo mkdir -p \"$NEUROPOD_BASE_DIR\"\n          curl -L https://github.com/uber/neuropod/releases/download/v${{ env.NEUROPOD_VERISON }}/libneuropod-cpu-linux-v${{ env.NEUROPOD_VERISON }}-torchscript-${{ env.TORCHSCRIPT_VERSION }}-backend.tar.gz | sudo tar -xz -C \"$NEUROPOD_BASE_DIR\"\n        shell: bash\n\n      - name: Unit Tests\n        run: |\n          RUN_PRIVATE=$IS_NOT_FORK LUDWIG_TEST_SUITE_TIMEOUT_S=5400 pytest -v --timeout 300 --durations 100 -m \"$MARKERS and not slow and not combinatorial and not horovod and not llm\" --junitxml pytest.xml tests/ludwig\n\n      - name: Regression Tests\n        run: |\n          RUN_PRIVATE=$IS_NOT_FORK LUDWIG_TEST_SUITE_TIMEOUT_S=5400 pytest -v --timeout 300 --durations 100 -m \"$MARKERS and not slow and not combinatorial and not horovod or benchmark and not llm\" --junitxml pytest.xml tests/regression_tests\n\n      # Skip Horovod and replace with DDP.\n      # https://github.com/ludwig-ai/ludwig/issues/3468\n      # - name: Install Horovod if necessary\n      #   if: matrix.test-markers == 'distributed' && matrix.pytorch-version != 'nightly'\n      #   env:\n      #     HOROVOD_WITH_PYTORCH: 1\n      #     HOROVOD_WITHOUT_MPI: 1\n      #     HOROVOD_WITHOUT_TENSORFLOW: 1\n      #     HOROVOD_WITHOUT_MXNET: 1\n      #   run: |\n      #     pip install -r requirements_extra.txt\n      #     HOROVOD_BUILT=$(python -c \"import horovod.torch; horovod.torch.nccl_built(); print('SUCCESS')\" || true)\n      #     if [[ $HOROVOD_BUILT != \"SUCCESS\" ]]; then\n      #       pip uninstall -y horovod\n      #       pip install --no-cache-dir git+https://github.com/horovod/horovod.git@master\n      #     fi\n      #     horovodrun --check-build\n      #   shell: bash\n\n      # Skip Horovod tests and replace with DDP.\n      # https://github.com/ludwig-ai/ludwig/issues/3468\n      # - name: Horovod Tests\n      #   if: matrix.test-markers == 'distributed' && matrix.pytorch-version != 'nightly'\n      #   run: |\n      #     RUN_PRIVATE=$IS_NOT_FORK LUDWIG_TEST_SUITE_TIMEOUT_S=5400 pytest -v --timeout 300 --durations 100 -m \"$MARKERS and horovod and not slow and not combinatorial and not llm\" --junitxml pytest.xml tests/\n\n      - name: Upload Unit Test Results\n        if: ${{ always() && !env.ACT }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: Unit Test Results (Python ${{ matrix.python-version }} ${{ matrix.test-markers }})\n          path: pytest.xml\n\n  integration-tests:\n    name: ${{ matrix.test-markers }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        test-markers:\n          - \"integration_tests_a\"\n          - \"integration_tests_b\"\n          - \"integration_tests_c\"\n          - \"integration_tests_d\"\n          - \"integration_tests_e\"\n          - \"integration_tests_f\"\n\n    env:\n      AWS_ACCESS_KEY_ID: ${{ secrets.LUDWIG_TESTS_AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.LUDWIG_TESTS_AWS_SECRET_ACCESS_KEY }}\n      KAGGLE_USERNAME: ${{ secrets.KAGGLE_USERNAME }}\n      KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }}\n      IS_NOT_FORK: ${{ !(github.event.pull_request.base.repo.full_name == 'ludwig-ai/ludwig' && github.event.pull_request.head.repo.fork) }}\n      MARKERS: ${{ matrix.test-markers }}\n\n    services:\n      minio:\n        image: fclairamb/minio-github-actions\n        env:\n          MINIO_ACCESS_KEY: minio\n          MINIO_SECRET_KEY: minio123\n        ports:\n          - 9000:9000\n\n    timeout-minutes: 90\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Linux\n        if: runner.os == 'linux'\n        run: |\n          sudo apt-get update && sudo apt-get install -y cmake libsndfile1\n\n      - name: Setup macOS\n        if: runner.os == 'macOS'\n        run: |\n          brew install libuv\n\n      - name: Install dependencies\n        run: |\n          python --version\n          pip --version\n          python -m pip install -U pip\n\n          # remove torch and ray from the dependencies so we can add them depending on the matrix args for the job.\n          cat requirements.txt | sed '/^torch[>=<\\b]/d' | sed '/^torchtext/d' | sed '/^torchvision/d' | sed '/^torchaudio/d' > requirements-temp && mv requirements-temp requirements.txt\n          cat requirements_distributed.txt | sed '/^ray[\\[]/d'\n          pip install torch==2.0.0 torchtext torchvision torchaudio\n          pip install ray==2.3.0\n          pip install '.[test]'\n          pip list\n        shell: bash\n\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          tool-cache: false\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: false\n          docker-images: true\n          swap-storage: true\n\n      - name: Clean out /tmp directory\n        run: |\n          sudo rm -rf /tmp/*\n\n      - name: Integration Tests\n        run: |\n          RUN_PRIVATE=$IS_NOT_FORK LUDWIG_TEST_SUITE_TIMEOUT_S=7200 pytest -v --timeout 300 --durations 100 -m \"not slow and not combinatorial and not horovod and not llm and $MARKERS\" --junitxml pytest.xml tests/integration_tests\n\n  llm-tests:\n    name: LLM Tests\n    runs-on: ubuntu-latest\n\n    timeout-minutes: 60\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Setup Linux\n        if: runner.os == 'linux'\n        run: |\n          sudo apt-get update && sudo apt-get install -y cmake libsndfile1\n\n      - name: Setup macOS\n        if: runner.os == 'macOS'\n        run: |\n          brew install libuv\n\n      - name: Install dependencies\n        run: |\n          python --version\n          pip --version\n          python -m pip install -U pip\n\n          # remove torch and ray from the dependencies so we can add them depending on the matrix args for the job.\n          cat requirements.txt | sed '/^torch[>=<\\b]/d' | sed '/^torchtext/d' | sed '/^torchvision/d' | sed '/^torchaudio/d' > requirements-temp && mv requirements-temp requirements.txt\n          cat requirements_distributed.txt | sed '/^ray[\\[]/d'\n          pip install torch==2.0.0 torchtext torchvision torchaudio\n          pip install ray==2.3.0\n          pip install '.[test]'\n          pip list\n        shell: bash\n\n      - name: LLM Tests\n        run: |\n          pytest -vs --durations 100 -m \"llm\" --junitxml pytest.xml tests\n\n  combinatorial-tests:\n    name: Combinatorial Tests\n    runs-on: ubuntu-latest\n\n    timeout-minutes: 60\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Setup Linux\n        if: runner.os == 'linux'\n        run: |\n          sudo apt-get update && sudo apt-get install -y cmake libsndfile1\n\n      - name: Setup macOS\n        if: runner.os == 'macOS'\n        run: |\n          brew install libuv\n\n      - name: Install dependencies\n        run: |\n          python --version\n          pip --version\n          python -m pip install -U pip\n          pip install '.[test]'\n          pip list\n        shell: bash\n\n      - name: Testing combinatorial config generation code\n        run: |\n          pytest -vs --durations 100 -m \"combinatorial\" --junitxml pytest.xml tests/ludwig/config_sampling\n\n      - name: Combinatorial Tests\n        run: |\n          pytest -rx --durations 100 -m \"combinatorial\" --junitxml pytest.xml tests/training_success\n\n  test-minimal-install:\n    name: Test Minimal Install\n    runs-on: ubuntu-latest\n\n    timeout-minutes: 15\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Setup Linux\n        if: runner.os == 'linux'\n        run: |\n          sudo apt-get update && sudo apt-get install -y cmake libsndfile1\n\n      - name: Setup macOS\n        if: runner.os == 'macOS'\n        run: |\n          brew install libuv\n\n      - name: Install dependencies\n        run: |\n          python --version\n          pip --version\n          python -m pip install -U pip\n          pip install torch==2.0.0 torchtext\n          pip install ray==2.3.0\n          pip install '.'\n          pip list\n        shell: bash\n      - name: Check Install\n        run: |\n          ludwig check_install\n        shell: bash\n\n      - name: Test Getting Started\n        run: |\n          cd examples/getting_started && sh ./run.sh\n        shell: bash\n\n  # start-runner:\n  #   name: Start self-hosted EC2 runner\n  #   if: >\n  #     always() && needs.pytest.result != 'failure' && (\n  #     github.event_name == 'schedule' && github.repository == 'ludwig-ai/ludwig' ||\n  #     github.event_name == 'push' && github.repository == 'ludwig-ai/ludwig' ||\n  #     github.event_name == 'pull_request' && github.event.pull_request.base.repo.full_name == 'ludwig-ai/ludwig' && !github.event.pull_request.head.repo.fork)\n  #   needs: pytest\n  #   runs-on: ubuntu-latest\n  #   outputs:\n  #     label: ${{ steps.start-ec2-runner.outputs.label }}\n  #     ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}\n\n  #   steps:\n  #     - name: Configure AWS credentials\n  #       uses: aws-actions/configure-aws-credentials@v1\n  #       with:\n  #         aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n  #         aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n  #         aws-region: ${{ secrets.AWS_REGION }}\n\n  #     - name: Start EC2 runner\n  #       id: start-ec2-runner\n  #       uses: machulav/ec2-github-runner@v2.3.2\n  #       with:\n  #         mode: start\n  #         github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n  #         ec2-image-id: ami-0759580dedc953d1f\n  #         ec2-instance-type: g4dn.xlarge\n  #         subnet-id: subnet-0983be43\n  #         security-group-id: sg-4cba0d08\n  #         aws-resource-tags: >\n  #           [\n  #             {\"Key\": \"Name\", \"Value\": \"ludwig-github-${{ github.head_ref || github.sha }}\"},\n  #             {\"Key\": \"GitHubRepository\", \"Value\": \"${{ github.repository }}\"},\n  #             {\"Key\": \"GitHubHeadRef\", \"Value\": \"${{ github.head_ref }}\"},\n  #             {\"Key\": \"GitHubSHA\", \"Value\": \"${{ github.sha }}\"}\n  #           ]\n\n  # pytest-gpu:\n  #   if: needs.start-runner.result != 'skipped'\n  #   needs: start-runner # required to start the main job when the runner is ready\n  #   runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runners\n  #   strategy:\n  #     fail-fast: false\n  #     matrix:\n  #       python-version: [3.7]\n  #       include:\n  #         - python-version: 3.7\n  #           pytorch-version: 1.10.0\n  #           torchscript-version: 1.10.2\n  #   env:\n  #     PYTORCH: ${{ matrix.pytorch-version }}\n  #     NEUROPOD_BASE_DIR: \"/usr/local/lib/neuropod\"\n  #     NEUROPOD_VERISON: \"0.3.0-rc6\"\n  #     TORCHSCRIPT_VERSION: ${{ matrix.torchscript-version }}\n\n  #   name: py${{ matrix.python-version  }}, torch-${{ matrix.pytorch-version }}, gpu\n\n  #   timeout-minutes: 70\n  #   steps:\n  #     - uses: actions/checkout@v2\n  #     - name: Set up Python ${{ matrix.python-version }}\n  #       uses: actions/setup-python@v2\n  #       with:\n  #         python-version: ${{ matrix.python-version }}\n\n  #     - name: Setup Linux\n  #       if: runner.os == 'linux'\n  #       run: |\n  #         sudo apt-get update && sudo apt-get install -y libsndfile1 cmake ccache build-essential g++-8 gcc-8\n  #         cmake --version\n\n  #     - name: Install CUDA drivers\n  #       run: |\n  #         wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin\n  #         sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600\n  #         wget https://developer.download.nvidia.com/compute/cuda/11.5.1/local_installers/cuda-repo-ubuntu2004-11-5-local_11.5.1-495.29.05-1_amd64.deb\n  #         sudo dpkg -i cuda-repo-ubuntu2004-11-5-local_11.5.1-495.29.05-1_amd64.deb\n  #         sudo apt-key add /var/cuda-repo-ubuntu2004-11-5-local/7fa2af80.pub\n  #         sudo apt-get update\n  #         sudo apt-get -y install cuda\n  #       shell: bash\n\n  #     - name: pip cache\n  #       uses: actions/cache@v2\n  #       with:\n  #         path: ~/.cache/pip\n  #         key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-torch${{ matrix.pytorch-version }}-${{ hashFiles('requirements*.txt') }}\n  #         restore-keys: |\n  #           ${{ runner.os }}-pip-py${{ matrix.python-version }}-torch${{ matrix.pytorch-version }}-\n\n  #     - name: Install dependencies\n  #       env:\n  #         HOROVOD_WITH_PYTORCH: 1\n  #         HOROVOD_WITHOUT_MPI: 1\n  #         HOROVOD_WITHOUT_TENSORFLOW: 1\n  #         HOROVOD_WITHOUT_MXNET: 1\n  #       run: |\n  #         python --version\n  #         pip --version\n  #         python -m pip install -U pip\n  #         if [ $PYTORCH == \"nightly\" ]; then\n  #           cat requirements.txt | sed '/^torch[>=<]/d' > requirements-temp && mv requirements-temp requirements.txt\n  #           pip install --pre torch torchvision -f https://download.pytorch.org/whl/torch_stable.html\n  #         else\n  #           pip install torch==${PYTORCH}+cu111 -f https://download.pytorch.org/whl/torch_stable.html\n  #         fi\n  #         # pip install --no-cache-dir git+https://github.com/horovod/horovod.git@master\n  #         pip install dulwich==0.20.26 # workaround for `/usr/bin/ld: cannot find -lpython3.7m`\n  #         pip install '.[test]'\n  #         pip list\n  #       shell: bash\n\n  #     - name: Install Neuropod backend\n  #       run: |\n  #         sudo mkdir -p \"$NEUROPOD_BASE_DIR\"\n  #         curl -L https://github.com/uber/neuropod/releases/download/v${{ env.NEUROPOD_VERISON }}/libneuropod-cpu-linux-v${{ env.NEUROPOD_VERISON }}-torchscript-${{ env.TORCHSCRIPT_VERSION }}-backend.tar.gz | sudo tar -xz -C \"$NEUROPOD_BASE_DIR\"\n  #       shell: bash\n\n  #     - name: Reinstall Horovod if necessary\n  #       env:\n  #         HOROVOD_WITH_PYTORCH: 1\n  #         HOROVOD_WITHOUT_MPI: 1\n  #         HOROVOD_WITHOUT_TENSORFLOW: 1\n  #         HOROVOD_WITHOUT_MXNET: 1\n  #       run: |\n  #         HOROVOD_BUILT=$(python -c \"import horovod.torch; horovod.torch.nccl_built(); print('SUCCESS')\" || true)\n  #         if [[ $HOROVOD_BUILT != \"SUCCESS\" ]]; then\n  #           pip uninstall -y horovod\n  #           pip install --no-cache-dir git+https://github.com/horovod/horovod.git@master\n  #         fi\n  #         horovodrun --check-build\n  #       shell: bash\n\n  #     - name: Check CUDA is available\n  #       run: |\n  #         python -c \"import torch; assert torch.cuda.is_available()\"\n\n  #     - name: Tests\n  #       run: |\n  #         pytest -v --timeout 300 --durations 10 --junitxml pytest.xml tests\n\n  #     - name: Upload Unit Test Results\n  #       if: always()\n  #       uses: actions/upload-artifact@v2\n  #       with:\n  #         name: Unit Test Results (Python ${{ matrix.python-version }} gpu\n  #         path: pytest.xml\n\n  event_file:\n    name: \"Event File\"\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Upload\n        if: ${{ !env.ACT }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: Event File\n          path: ${{ github.event_path }}\n\n  # stop-runner:\n  #   name: Stop self-hosted EC2 runner\n\n  #   # required to stop the runner even if the error happened in the previous job\n  #   if: always() && needs.start-runner.result != 'skipped'\n  #   needs:\n  #     - start-runner # required to get output from the start-runner job\n  #     - pytest-gpu # required to wait when the main job is done\n  #   runs-on: ubuntu-latest\n\n  #   steps:\n  #     - name: Configure AWS credentials\n  #       uses: aws-actions/configure-aws-credentials@v1\n  #       with:\n  #         aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n  #         aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n  #         aws-region: ${{ secrets.AWS_REGION }}\n\n  #     - name: Stop EC2 runner\n  #       uses: machulav/ec2-github-runner@v2.3.1\n  #       with:\n  #         mode: stop\n  #         github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n  #         label: ${{ needs.start-runner.outputs.label }}\n  #         ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}\n", "state": "active", "repository": "ludwig-ai/ludwig"}
{"mined_at": "2024-07-15T13:59:46.799487", "created_at": "2023-01-31T00:52:28+01:00", "updated_at": "2023-10-23T17:33:39+02:00", "name": "pytest (slow)", "path": ".github/workflows/pytest_slow.yml", "contents": "# This workflow will install Python dependencies and run all tests marked as `slow` on a single Python version.\n# The tests will run on a high-memory AWS compute instance to accommodate memory-intensive workloads.\n\nname: pytest (slow)\n\non:\n  push:\n    branches: [\"master\", \"release-*\"]\n\njobs:\n  slow-pytest:\n    name: py-slow${{ matrix.python-version  }}\n    runs-on: ubuntu-latest\n    env:\n      AWS_ACCESS_KEY_ID: ${{ secrets.LUDWIG_TESTS_AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.LUDWIG_TESTS_AWS_SECRET_ACCESS_KEY }}\n      KAGGLE_USERNAME: ${{ secrets.KAGGLE_USERNAME }}\n      KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }}\n      IS_NOT_FORK: ${{ !(github.event.pull_request.base.repo.full_name == 'ludwig-ai/ludwig' && github.event.pull_request.head.repo.fork) }}\n\n    services:\n      minio:\n        image: fclairamb/minio-github-actions\n        env:\n          MINIO_ACCESS_KEY: minio\n          MINIO_SECRET_KEY: minio123\n        ports:\n          - 9000:9000\n\n    timeout-minutes: 150\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Setup Linux\n        if: runner.os == 'linux'\n        run: |\n          sudo apt-get update && sudo apt-get install -y cmake libsndfile1 libsox-dev\n\n      - name: Setup macOS\n        if: runner.os == 'macOS'\n        run: |\n          brew install libuv\n\n      - name: Install dependencies\n        run: |\n          python --version\n          pip --version\n          python -m pip install -U pip\n          pip install torch==2.1.0 torchtext torchvision torchaudio\n          pip install ray==2.3.1\n          pip install '.[test]'\n\n          pip list\n\n        shell: bash\n\n      - name: Tests\n        run: |\n          RUN_PRIVATE=$IS_NOT_FORK LUDWIG_TEST_SUITE_TIMEOUT_S=7200 pytest -v --timeout 600 --durations 100 -m \"slow\" --junitxml pytest.xml tests/integration_tests/\n", "state": "active", "repository": "ludwig-ai/ludwig"}
{"mined_at": "2024-07-15T13:59:47.799348", "created_at": "2021-10-30T03:35:03+02:00", "updated_at": "2023-10-21T00:05:16+02:00", "name": "test results", "path": ".github/workflows/test-results.yml", "contents": "name: test results\n\non:\n  workflow_run:\n    workflows: [\"pytest\"]\n    types:\n      - completed\n\njobs:\n  test-results:\n    name: Test Results\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.conclusion != 'skipped'\n\n    steps:\n      - name: Download and Extract Artifacts\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        run: |\n           mkdir -p artifacts && cd artifacts\n\n           artifacts_url=${{ github.event.workflow_run.artifacts_url }}\n\n           gh api \"$artifacts_url\" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact\n           do\n             IFS=$'\\t' read name url <<< \"$artifact\"\n             gh api $url > \"$name.zip\"\n             unzip -d \"$name\" \"$name.zip\"\n           done\n\n      - name: Publish Unit Test Results\n        uses: EnricoMi/publish-unit-test-result-action@v1\n        with:\n          commit: ${{ github.event.workflow_run.head_sha }}\n          event_file: artifacts/Event File/event.json\n          event_name: ${{ github.event.workflow_run.event }}\n          files: \"artifacts/**/*.xml\"\n", "state": "active", "repository": "ludwig-ai/ludwig"}
{"mined_at": "2024-07-15T13:59:48.861760", "created_at": "2022-01-12T20:14:55+01:00", "updated_at": "2024-01-17T01:28:13+01:00", "name": "Upload to PyPI", "path": ".github/workflows/upload-pypi.yml", "contents": "name: Upload to PyPI\n\non:\n  # Triggers the workflow when a release or draft of a release is published,\n  # or a pre-release is changed to a release\n  release:\n    types: [released]\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  pypi-publish:\n    name: upload release to PyPI\n    runs-on: ubuntu-latest\n    # Specifying a GitHub environment is optional, but strongly encouraged\n    environment: release\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n      # retrieve your distributions here\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          submodules: \"recursive\"\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Build and upload to PyPI\n        run: |\n          python setup.py sdist\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "ludwig-ai/ludwig"}
{"mined_at": "2024-07-15T13:59:50.910287", "created_at": "2020-12-15T15:15:32+01:00", "updated_at": "2020-12-15T15:15:32+01:00", "name": "test", "path": ".github/workflows/test.yaml", "contents": "name: test\n\non:\n  push: # any branch\n  pull_request:\n    branches: [master]\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  test-ubuntu:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n      - name: Install Dependencies\n        run: |\n          sudo apt remove python3-pip\n          python -m pip install --upgrade pip\n          python -m pip install . ruff typos coverage codecov mypy pytest readme_renderer types-contextvars asyncssh\n          pip list\n      - name: Ruff\n        run: |\n          ruff .\n          ruff format --check .\n          typos .\n      - name: Tests\n        run: |\n          coverage run -m pytest\n      - if: \"matrix.python-version != '3.7'\"\n        name: Mypy\n        # Check whether the imports were sorted correctly.\n        # When this fails, please run ./tools/sort-imports.sh\n        run: |\n          mypy --strict src/prompt_toolkit --platform win32\n          mypy --strict src/prompt_toolkit --platform linux\n          mypy --strict src/prompt_toolkit --platform darwin\n      - name: Validate README.md\n        # Ensure that the README renders correctly (required for uploading to PyPI).\n        run: |\n          python -m readme_renderer README.rst > /dev/null\n      - name: Run codecov\n        run: |\n          codecov\n", "state": "active", "repository": "prompt-toolkit/python-prompt-toolkit"}
{"mined_at": "2024-07-15T13:59:52.863148", "created_at": "2021-12-20T09:25:34+01:00", "updated_at": "2021-12-20T09:25:34+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "jindongwang/transferlearning"}
{"mined_at": "2024-07-15T13:59:54.891705", "created_at": "2023-12-16T16:18:16+01:00", "updated_at": "2023-12-16T16:18:16+01:00", "name": "No Response", "path": ".github/workflows/no-response.yml", "contents": "name: No Response\n\n# Both `issue_comment` and `scheduled` event types are required for this Action\n# to work properly.\non:\n  issue_comment:\n    types: [created]\n  schedule:\n    # Schedule for an arbitrary time (5am) once every day\n    - cron: '* 5 * * *'\n\njobs:\n  noResponse:\n    # Don't run if in a fork\n    if: github.repository_owner == 'kivy'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb\n        # This commit hash targets release v0.5.0 of lee-dohm/no-response.\n        # Targeting a commit hash instead of a tag has been done for security reasons.\n        # Please be aware that the commit hash specifically targets the \"Automatic compilation\"\n        # done by `github-actions[bot]` as the `no-response` Action needs to be compiled.\n        with:\n          token: ${{ github.token }}\n          daysUntilClose: 42\n          responseRequiredLabel: 'awaiting-reply'\n          closeComment: >\n                This issue has been automatically closed because there has been no response\n                to our request for more information from the original author. With only the\n                information that is currently in the issue, we don't have the means\n                to take action. Please reach out if you have or find the answers we need so\n                that we can investigate further.\n", "state": "active", "repository": "kivy/python-for-android"}
{"mined_at": "2024-07-15T13:59:55.916129", "created_at": "2019-12-22T19:44:09+01:00", "updated_at": "2020-04-05T10:08:50+02:00", "name": "Unit tests & build apps", "path": ".github/workflows/push.yml", "contents": "name: Unit tests & build apps\n\non: ['push', 'pull_request']\n\nenv:\n  APK_ARTIFACT_FILENAME: bdist_unit_tests_app-debug-1.1.apk\n  AAB_ARTIFACT_FILENAME: bdist_unit_tests_app-release-1.1.aab\n  AAR_ARTIFACT_FILENAME: bdist_unit_tests_app-release-1.1.aar\n  PYTHONFORANDROID_PREREQUISITES_INSTALL_INTERACTIVE: 0\n\njobs:\n\n  flake8:\n    name: Flake8 tests\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout python-for-android\n      uses: actions/checkout@v4\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.x\n    - name: Run flake8\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox>=2.0\n        tox -e pep8\n\n  test:\n    name: Pytest [Python ${{ matrix.python-version }} | ${{ matrix.os }}]\n    needs: flake8\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        os: [ubuntu-latest, macOs-latest]\n    steps:\n    - name: Checkout python-for-android\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Tox tests\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox>=2.0\n        make test\n    - name: Coveralls\n      uses: AndreMiras/coveralls-python-action@develop\n      if: ${{ matrix.os == 'ubuntu-latest' }}\n      with:\n        parallel: true\n        flag-name: run-${{ matrix.os }}-${{ matrix.python-version }}\n\n  ubuntu_build:\n    name: Build test APP [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ]\n    needs: [flake8]\n    runs-on: ${{ matrix.runs_on }}\n    continue-on-error: true\n    strategy:\n      matrix:\n        runs_on: [ubuntu-latest]\n        bootstrap:\n          - name: sdl2\n            target: testapps-with-numpy\n          - name: sdl2_scipy\n            target: testapps-with-scipy\n          - name: webview\n            target: testapps-webview\n          - name: service_library\n            target: testapps-service_library-aar\n          - name: qt\n            target: testapps-qt\n    steps:\n    - name: Checkout python-for-android\n      uses: actions/checkout@v4\n    - name: Build python-for-android docker image\n      run: |\n        docker build --tag=kivy/python-for-android .\n    - name: Build multi-arch ${{ matrix.bootstrap.target }} artifact with docker\n      run: |\n        docker run --name p4a-latest kivy/python-for-android make ${{ matrix.bootstrap.target }}\n    - name: Copy produced artifacts from docker container (*.apk, *.aab)\n      if: matrix.bootstrap.name != 'service_library'\n      run: |\n        mkdir -p dist\n        docker cp p4a-latest:/home/user/app/testapps/on_device_unit_tests/${{ env.APK_ARTIFACT_FILENAME }} dist/\n        docker cp p4a-latest:/home/user/app/testapps/on_device_unit_tests/${{ env.AAB_ARTIFACT_FILENAME }} dist/\n    - name: Copy produced artifacts from docker container (*.aar)\n      if: matrix.bootstrap.name == 'service_library'\n      run: |\n        mkdir -p dist\n        docker cp p4a-latest:/home/user/app/testapps/on_device_unit_tests/${{ env.AAR_ARTIFACT_FILENAME }} dist/\n    - name: Rename artifacts to include the build platform name (*.apk, *.aab, *.aar)\n      run: |\n        if [ -f dist/${{ env.APK_ARTIFACT_FILENAME }} ]; then mv dist/${{ env.APK_ARTIFACT_FILENAME }} dist/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}; fi\n        if [ -f dist/${{ env.AAB_ARTIFACT_FILENAME }} ]; then mv dist/${{ env.AAB_ARTIFACT_FILENAME }} dist/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.AAB_ARTIFACT_FILENAME }}; fi\n        if [ -f dist/${{ env.AAR_ARTIFACT_FILENAME }} ]; then mv dist/${{ env.AAR_ARTIFACT_FILENAME }} dist/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.AAR_ARTIFACT_FILENAME }}; fi\n    - name: Upload artifacts\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-artifacts\n        path: dist\n\n  macos_build:\n    name: Build test APP [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ]\n    needs: [flake8]\n    runs-on: ${{ matrix.runs_on }}\n    continue-on-error: true\n    strategy:\n      matrix:\n        # macos-latest (ATM macos-14) runs on Apple Silicon,\n        # macos-13 runs on Intel\n        runs_on: ['macos-latest', 'macos-13']\n        bootstrap:\n          - name: sdl2\n            target: testapps-with-numpy\n          - name: webview\n            target: testapps-webview\n    env:\n      ANDROID_HOME: ${HOME}/.android\n      ANDROID_SDK_ROOT: ${HOME}/.android/android-sdk\n      ANDROID_SDK_HOME: ${HOME}/.android/android-sdk\n      ANDROID_NDK_HOME: ${HOME}/.android/android-ndk\n    steps:\n      - name: Checkout python-for-android\n        uses: actions/checkout@v4\n      - name: Set up Python 3.x\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Install python-for-android\n        run: |\n          python3 -m pip install -e .\n      - name: Install prerequisites via pythonforandroid/prerequisites.py (Experimental)\n        run: |\n          python3 pythonforandroid/prerequisites.py\n      - name: Install dependencies (Legacy)\n        run: |\n          make --file ci/makefiles/osx.mk\n      - name: Build multi-arch apk Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)\n        run: |\n          make ${{ matrix.bootstrap.target }}\n      - name: Copy produced artifacts into dist/ (*.apk, *.aab)\n        run: |\n          mkdir -p dist\n          cp testapps/on_device_unit_tests/*.apk dist/\n          cp testapps/on_device_unit_tests/*.aab dist/\n          ls -l dist/\n      - name: Rename artifacts to include the build platform name (*.apk, *.aab)\n        run: |\n          if [ -f dist/${{ env.APK_ARTIFACT_FILENAME }} ]; then mv dist/${{ env.APK_ARTIFACT_FILENAME }} dist/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}; fi\n          if [ -f dist/${{ env.AAB_ARTIFACT_FILENAME }} ]; then mv dist/${{ env.AAB_ARTIFACT_FILENAME }} dist/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.AAB_ARTIFACT_FILENAME }}; fi\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-artifacts\n          path: dist\n\n  ubuntu_rebuild_updated_recipes:\n    name: Test updated recipes for arch ${{ matrix.android_arch }} [ ubuntu-latest ]\n    needs: [flake8]\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    strategy:\n      matrix:\n        android_arch: [\"arm64-v8a\", \"armeabi-v7a\", \"x86_64\", \"x86\"]\n    env:\n      REBUILD_UPDATED_RECIPES_EXTRA_ARGS: --arch=${{ matrix.android_arch }}\n    steps:\n    - name: Checkout python-for-android (all-history)\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    # helps with GitHub runner getting out of space\n    - name: Free disk space\n      run: |\n        df -h\n        sudo swapoff -a\n        sudo rm -f /swapfile\n        sudo apt -y clean\n        docker rmi $(docker image ls -aq)\n        df -h\n    - name: Pull docker image\n      run: |\n        make docker/pull\n    - name: Rebuild updated recipes\n      run: |\n        make docker/run/make/rebuild_updated_recipes\n\n  macos_rebuild_updated_recipes:\n    name: Test updated recipes for arch ${{ matrix.android_arch }} [ ${{ matrix.runs_on }} ]\n    needs: [flake8]\n    runs-on: ${{ matrix.runs_on }}\n    continue-on-error: true\n    strategy:\n      matrix:\n        android_arch: [\"arm64-v8a\", \"armeabi-v7a\", \"x86_64\", \"x86\"]\n        # macos-latest (ATM macos-14) runs on Apple Silicon,\n        # macos-13 runs on Intel\n        runs_on: ['macos-latest', 'macos-13']\n    env:\n      ANDROID_HOME: ${HOME}/.android\n      ANDROID_SDK_ROOT: ${HOME}/.android/android-sdk\n      ANDROID_SDK_HOME: ${HOME}/.android/android-sdk\n      ANDROID_NDK_HOME: ${HOME}/.android/android-ndk\n      REBUILD_UPDATED_RECIPES_EXTRA_ARGS: --arch=${{ matrix.android_arch }}\n    steps:\n      - name: Checkout python-for-android (all-history)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.x\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Install python-for-android\n        run: |\n          python3 -m pip install -e .\n      - name: Install prerequisites via pythonforandroid/prerequisites.py (Experimental)\n        run: |\n          python3 pythonforandroid/prerequisites.py\n      - name: Install dependencies (Legacy)\n        run: |\n          make --file ci/makefiles/osx.mk\n      - name: Rebuild updated recipes\n        run: |\n          make rebuild_updated_recipes\n\n  coveralls_finish:\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n    - name: Coveralls Finished\n      uses: AndreMiras/coveralls-python-action@develop\n      with:\n        parallel-finished: true\n\n  documentation:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Requirements\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r doc/requirements.txt\n    - name: Check links\n      run: sphinx-build -b linkcheck doc/source doc/build\n    - name: Generate documentation\n      run: sphinx-build doc/source doc/build\n\n", "state": "active", "repository": "kivy/python-for-android"}
{"mined_at": "2024-07-15T13:59:56.928424", "created_at": "2021-09-05T11:02:22+02:00", "updated_at": "2021-09-05T11:02:22+02:00", "name": "PyPI release", "path": ".github/workflows/pypi-release.yml", "contents": "name: PyPI release\non: [push]\n\njobs:\n  pypi_release:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade setuptools wheel twine\n    - name: Build\n      run: |\n        python setup.py sdist bdist_wheel\n        twine check dist/*\n    - name: Publish package\n      if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@v1.4.2\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}", "state": "active", "repository": "kivy/python-for-android"}
{"mined_at": "2024-07-15T13:59:57.928599", "created_at": "2021-11-01T16:21:11+01:00", "updated_at": "2021-11-01T16:21:11+01:00", "name": "Support Requests", "path": ".github/workflows/support.yml", "contents": "# When a user creates an issue that is actually a support request, it should\n# be closed with a friendly comment.\n#\n# This triggers on an issue being labelled with the `support` tag.\n\nname: 'Support Requests'\n\non:\n  issues:\n    types: [labeled, unlabeled, reopened]\n\npermissions:\n  issues: write\n\njobs:\n  action:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/support-requests@v4\n        with:\n          github-token: ${{ github.token }}\n          support-label: 'support'\n          issue-comment: >\n            👋 @{issue-author},\n            \n            Sorry to hear you are having difficulties with Kivy's python-for-android; Kivy unites a number of different technologies, so building apps can be temperamental.\n\n            We try to use GitHub issues only to track work for developers to do to fix bugs and add new features to python-for-android. \n            \n            However, this issue appears to be a support request. Please use our\n            [support channels](https://github.com/kivy/python-for-android/blob/master/CONTACT.md)\n            to get help with the project.\n\n            If you're having trouble installing python-for-android,\n            please see our [quickstart](https://python-for-android.readthedocs.io/en/latest/quickstart) guide.\n\n            If you're having trouble using python-for-android,\n            please see our [troubleshooting guide](https://python-for-android.readthedocs.io/en/latest/troubleshooting) \n            and [FAQ](https://github.com/kivy/python-for-android/blob/master/FAQ.md).\n\n            Let us know if this comment was made in error, and we'll be happy\n            to reopen the issue.\n\n          close-issue: true\n          lock-issue: false\n", "state": "active", "repository": "kivy/python-for-android"}
{"mined_at": "2024-07-15T14:00:00.026315", "created_at": "2021-09-08T15:15:12+02:00", "updated_at": "2024-01-08T15:01:13+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\non: [push, pull_request]\nenv:\n  GCS_BUCKET: autobuilds.grr-response.com\n  GCS_BUCKET_OPENAPI: autobuilds-grr-openapi\n  DOCKER_REPOSITORY: ghcr.io/google/grr\njobs:\n  test-devenv:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: check_deps\n        run: |\n          sudo apt-get update && sudo apt-get install -y podman curl jq\n          sudo usermod --add-subuids 500000-565535 --add-subgids 500000-565535 \"${USER}\"\n          devenv/devenv.sh check_deps\n      - name: start\n        run: |\n          devenv/devenv.sh start\n          OK=false\n          for attempt in $(seq 20); do\n            curl -su admin:admin http://localhost:4280/api/clients |\n              sed 1d |\n              jq -r \".items[].value.client_id.value\" |\n              egrep -e \"^C[.][0-9a-f]{16}\\$\" && { OK=true; break; }\n            echo \"attempt ${attempt}: devenv not ready\"\n            sleep 10\n          done\n          [[ $OK = true ]]\n\n  test-ubuntu:\n    runs-on: ubuntu-22.04\n    env:\n      CHROME_DEB: google-chrome-stable_current_amd64.deb\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install\n        run: |\n          free -hmw\n          lscpu\n          sudo apt install -y python3-dev python3-pip python3-venv python3-mysqldb\n          if [[ -z \"$(type google-chrome 2>/dev/null)\" ]]; then\n            wget \"https://dl.google.com/linux/direct/${CHROME_DEB}\" && sudo apt install -y \"./${CHROME_DEB}\";\n          fi\n          python3 -m venv --system-site-packages \"${HOME}/INSTALL\"\n          travis/install.sh\n      - name: Test\n        run: |\n          source \"${HOME}/INSTALL/bin/activate\"\n          pip install pytest-xdist==2.2.1 pytest==6.2.5\n          # We have 4 vCPUs available, but only use 3 here to avoid timeouts like\n          # https://ci.appveyor.com/project/grr/grr-ia94e/builds/20483467/messages ,\n          # which happen when tests stall.\n          pytest --verbose -n 3 grr/ --ignore grr/server/grr_response_server/gui/selenium_tests/ --ignore grr/client/grr_response_client/client_actions/windows/\n          # jsTree tests seem to fail on Chrome 71 headless due to https://github.com/GoogleChrome/puppeteer/issues/3463\n          if [ $(google-chrome --version | grep -Eo \" [0-9]{1,3}\") != \"71\" ]; then (cd grr/server/grr_response_server/gui/static/ && npm run gulp test); fi\n\n  build-openapi:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install\n        run: |\n          sudo apt install -y python3-dev python3-pip python3-venv python3-mysqldb\n          python3 -m venv --system-site-packages \"${HOME}/INSTALL\"\n          travis/install.sh\n      - name: Build\n        run: |\n          source \"${HOME}/INSTALL/bin/activate\"\n          mkdir -p _openapi_artifacts/openapi_description\n          mkdir -p _openapi_artifacts/documentation\n          travis/build_api_documentation.sh \"_openapi_artifacts/openapi_description/openapi_description.json\" \"_openapi_artifacts/documentation/openapi_documentation.html\"\n          ls -la _openapi_artifacts/*\n      - name: Upload OpenAPI to GitHub artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: openapi\n          path: _openapi_artifacts/\n          retention-days: 1\n\n  build-ubuntu:\n    runs-on: ubuntu-22.04\n    env:\n      GCS_TAG: ubuntu_64bit\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Set up\n        run: |\n          sudo apt install fakeroot debhelper libffi-dev libssl-dev\n          pip install virtualenv\n          virtualenv \"${HOME}/INSTALL\"\n      - name: Build\n        run: |\n          travis/install_client_builder.sh\n          travis/build_templates.sh\n          ls -la gcs_upload_dir\n      - name: Upload installers to GitHub artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: ubuntu-installers\n          path: gcs_upload_dir/\n          retention-days: 1\n\n  build-osx:\n    runs-on: macos-13\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Set up\n        run: |\n          pip install --upgrade setuptools virtualenv\n          virtualenv \"${HOME}/INSTALL\"\n      - name: Build installers\n        run: |\n          travis/install_client_builder.sh\n          travis/build_templates.sh\n          ls -la gcs_upload_dir\n      - name: Upload installers to GitHub artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: osx-installers\n          path: gcs_upload_dir/\n          retention-days: 1\n\n  build-centos:\n    runs-on: ubuntu-22.04\n    env:\n      GCS_TAG: centos_64bit\n      DOCKER_IMG: grrdocker/centos7-python39\n      DOCKER_CONTAINER: centos_64bit_container\n      DOCKER_USER: grrbot\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build installers\n        run: |\n          docker run -dit \\\n            --volume \"${PWD}:/mnt/grr\" \\\n            --workdir /mnt/grr \\\n            --env DOCKER_USER=\"${DOCKER_USER}\" \\\n            --env TRAVIS_OS_NAME=\"linux\" \\\n            --name \"${DOCKER_CONTAINER}\" \\\n            \"${DOCKER_IMG}\"\n          # Using `bash -l` here and below to make sure devtools\n          # (including the C++ 14 compatible compiler) are properly\n          # registered in the environment variables.\n          docker exec \"${DOCKER_CONTAINER}\" bash -l travis/set_up_test_user.sh\n          docker exec --user \"${DOCKER_USER}\" \"${DOCKER_CONTAINER}\" bash -l -c '/usr/local/bin/python3.9 -m venv \"/home/${DOCKER_USER}/INSTALL\"'\n          docker exec --user \"${DOCKER_USER}\" \"${DOCKER_CONTAINER}\" bash -l travis/install_client_builder.sh\n          docker exec --user \"${DOCKER_USER}\" \"${DOCKER_CONTAINER}\" bash -l travis/build_templates.sh\n          docker exec \"${DOCKER_CONTAINER}\" rpm -vih gcs_upload_dir/*.rpm\n          ls -la gcs_upload_dir\n      - name: Upload installers to GitHub artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: centos-installers\n          path: gcs_upload_dir/\n          retention-days: 1\n\n  build-windows:\n    runs-on: windows-2022\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Build installers\n        shell: bash\n        run: |\n          set -ex\n          pip install virtualenv wheel\n          python -u appveyor/windows_templates/build_windows_templates.py --grr_src=$GITHUB_WORKSPACE --output_dir=$GITHUB_WORKSPACE/output --test_repack_install\n          mkdir -p gcs_upload_dir\n          mv -v output*/* gcs_upload_dir\n          ls -la gcs_upload_dir\n      - name: Upload installers to GitHub artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: windows-installers\n          path: gcs_upload_dir/\n          retention-days: 1\n\n  build-docker-image:\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: 'read'\n      id-token: 'write'\n    needs:\n      - build-centos\n      - build-ubuntu\n      - build-osx\n      - build-windows\n    steps:\n      - uses: actions/checkout@v4\n      - name: Download installers from GitHub artifacts\n        id: download\n        uses: actions/download-artifact@v4\n        with:\n          pattern: '*installer*'\n          path: _installers\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.DOCKER_REPOSITORY }}\n      - name: Build and export\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: Dockerfile\n          # Temporarily add a `testing`-tag to identify this image\n          # for testing, tag is removed again before uploading to\n          # github container registry.\n          tags: |\n            ${{ env.DOCKER_REPOSITORY }}:testing\n            ${{ steps.meta.outputs.tags }}\n          outputs: type=docker,dest=/tmp/grr_base_image.tar\n      - name: Upload docker image\n        uses: actions/upload-artifact@v4\n        with:\n          name: grr_base_image\n          path: /tmp/grr_base_image.tar\n          retention-days: 3\n\n  docker-compose-e2e-test:\n    permissions:\n      contents: 'read'\n      id-token: 'write'\n    runs-on: ubuntu-22.04\n    needs:\n      - build-docker-image\n    steps:\n      - uses: actions/checkout@v4\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: grr_base_image\n          path: /tmp\n      - name: Load image\n        run: |\n          docker load --input /tmp/grr_base_image.tar\n      - name: Start docker compose stack\n        shell: bash\n        run: |\n          docker_config_files/init_certs.sh\n          docker compose \\\n            -f compose.yaml \\\n            -f compose.testing.yaml \\\n            up -d --wait\n      - name: Test\n        shell: bash\n        run: |\n          docker compose exec grr-client bash /configs/client/create_fake_user.sh\n          docker run \\\n            --add-host=host.docker.internal:host-gateway \\\n            -v $(pwd):/github_workspace \\\n            -v ./docker_config_files:/configs \\\n            -w /github_workspace \\\n            --entrypoint appveyor/e2e_tests/run_docker_compose_e2e_test.sh \\\n            ${{ env.DOCKER_REPOSITORY }}:testing \\\n            $(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' grr-client)\n      - name: Dump docker compose log output\n        if: always()\n        shell: bash\n        run: |\n          docker compose logs > /tmp/docker_compose_test.log\n      - name: Upload docker compose logs\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: docker_commpose_test_logs\n          path: /tmp/docker_compose_test.log\n          retention-days: 3\n      - name: Stop the docker compose stack\n        if: always()\n        shell: bash\n        run: |\n          docker compose down --volumes\n\n  push-docker-image:\n    if: ${{ github.event_name == 'push' }}\n    env:\n      REGISTRY: ghcr.io\n    permissions: write-all\n    runs-on: ubuntu-22.04\n    needs:\n      - test-ubuntu\n      - docker-compose-e2e-test\n    steps:\n      - uses: actions/checkout@v4\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: grr_base_image\n          path: /tmp\n      - name: Load image\n        run: |\n          docker load --input /tmp/grr_base_image.tar\n      - name: Login to GitHub Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Push Docker image\n        run: |\n          # Remove the tag used to identify the image for testing again.\n          docker rmi ${{ env.DOCKER_REPOSITORY }}:testing\n          docker push --all-tags ${{ env.DOCKER_REPOSITORY }}\n\n  upload-artifacts:\n    if: ${{ github.event_name == 'push' }}\n    permissions:\n      contents: 'read'\n      id-token: 'write'\n    runs-on: ubuntu-22.04\n    needs:\n      - docker-compose-e2e-test\n      - test-ubuntu\n      - build-centos\n      - build-ubuntu\n      - build-osx\n      - build-windows\n      - build-openapi\n    steps:\n      - uses: actions/checkout@v4\n      - name: Download installers from GitHub artifacts\n        id: download\n        uses: actions/download-artifact@v4\n        with:\n          path: _artifacts\n      - run: |\n          ls -la _artifacts/*/\n          COMMIT_TIME=$(git show -s --date='format-local:%Y-%m-%dT%H:%M:%SZ' --format=\"%cd\" $GITHUB_SHA)\n          OUTPUT_DIR=gcs_upload_dir/${COMMIT_TIME}_${GITHUB_SHA}/\n          echo \"OUTPUT_DIR=$OUTPUT_DIR\" >> $GITHUB_ENV\n          mkdir -p $OUTPUT_DIR/centos/\n          mv -v _artifacts/centos-installers/* $OUTPUT_DIR/centos\n          mkdir -p $OUTPUT_DIR/ubuntu/\n          mv -v _artifacts/ubuntu-installers/* $OUTPUT_DIR/ubuntu\n          mkdir -p $OUTPUT_DIR/osx/\n          mv -v _artifacts/osx-installers/* $OUTPUT_DIR/osx\n          mkdir -p $OUTPUT_DIR/windows/\n          mv -v _artifacts/windows-installers/* $OUTPUT_DIR/windows\n      - name: Authenticate\n        uses: 'google-github-actions/auth@v1'\n        with:\n          credentials_json: ${{ secrets.GCP_SA_KEY }}\n          export_environment_variables: true\n      - name: Set up Cloud SDK\n        uses: google-github-actions/setup-gcloud@v1.1.0\n      - name: Upload installers to GCS\n        uses: google-github-actions/upload-cloud-storage@v1.0.0\n        with:\n          path: gcs_upload_dir/\n          destination: ${{ env.GCS_BUCKET }}\n          # Omit `path` (e.g. /home/runner/deploy/) in final GCS path.\n          parent: false\n      - name: Upload OpenAPI to GCS\n        uses: google-github-actions/upload-cloud-storage@v1.0.0\n        with:\n          path: _artifacts/openapi/\n          destination: ${{ env.GCS_BUCKET_OPENAPI }}\n          # Omit `path` (e.g. /home/runner/deploy/) in final GCS path.\n          parent: false\n", "state": "active", "repository": "google/grr"}
{"mined_at": "2024-07-15T14:00:01.255932", "created_at": "2024-06-12T17:00:59+02:00", "updated_at": "2024-06-13T20:01:10+02:00", "name": "Publish to PyPi", "path": ".github/workflows/publish-pypi.yml", "contents": "name: Publish to PyPi\non:\n  release:\n    types: [published]\n\njobs:\n  build-pypi-packages:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 16.13.0\n      - name: Build\n        run: |\n          set -ex\n          mkdir /tmp/sdists\n          python grr/proto/setup.py --quiet sdist --formats=zip --dist-dir=\"/tmp/sdists\"\n          python grr/core/setup.py --quiet sdist --formats=zip --dist-dir=\"/tmp/sdists\"\n          python grr/client/setup.py --quiet sdist --formats=zip --dist-dir=\"/tmp/sdists\"\n          python grr/client_builder/setup.py --quiet sdist --formats=zip --dist-dir=\"/tmp/sdists\"\n          python grr/server/setup.py --quiet sdist --formats=zip --dist-dir=\"/tmp/sdists\"\n          python grr/test/setup.py --quiet sdist --formats=zip --dist-dir=\"/tmp/sdists\"\n          python colab/setup.py --quiet sdist --formats=zip --dist-dir=\"/tmp/sdists\"\n          python api_client/python/setup.py --quiet sdist --formats=zip --dist-dir=\"/tmp/sdists\"\n      - name: Upload grr-response-proto\n        uses: actions/upload-artifact@v4\n        with:\n          name: grr-response-proto\n          path: /tmp/sdists/grr-response-proto-[0-9]*.zip\n          retention-days: 3          \n      - name: Upload grr-response-core\n        uses: actions/upload-artifact@v4\n        with:\n          name: grr-response-core\n          path: /tmp/sdists/grr-response-core-[0-9]*.zip\n          retention-days: 3          \n      - name: Upload grr-response-client\n        uses: actions/upload-artifact@v4\n        with:\n          name: grr-response-client\n          path: /tmp/sdists/grr-response-client-[0-9]*.zip\n          retention-days: 3          \n      - name: Upload grr-response-client-builder\n        uses: actions/upload-artifact@v4\n        with:\n          name: grr-response-client-builder\n          path: /tmp/sdists/grr-response-client-builder-[0-9]*.zip\n          retention-days: 3          \n      - name: Upload grr-response-server\n        uses: actions/upload-artifact@v4\n        with:\n          name: grr-response-server\n          path: /tmp/sdists/grr-response-server-[0-9]*.zip\n          retention-days: 3              \n      - name: Upload grr-response-test\n        uses: actions/upload-artifact@v4\n        with:\n          name: grr-response-test\n          path: /tmp/sdists/grr-response-test-[0-9]*.zip\n          retention-days: 3\n      - name: Upload grr-colab\n        uses: actions/upload-artifact@v4\n        with:\n          name: grr-colab\n          path: /tmp/sdists/grr-colab-[0-9]*.zip\n          retention-days: 3          \n      - name: Upload grr-api-client\n        uses: actions/upload-artifact@v4\n        with:\n          name: grr-api-client\n          path: /tmp/sdists/grr-api-client-[0-9]*.zip\n          retention-days: 3          \n  \n  publish-to-pypi-grr-response-proto:\n    name: Publish grr-response-proto to PyPI\n    needs:\n    - build-pypi-packages\n    runs-on: ubuntu-22.04\n    environment:\n      name: pypi\n      url: https://pypi.org/p/grr-response-proto\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n    - name: Download the artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: grr-response-proto\n        path: dist/\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-to-pypi-grr-response-core:\n    name: Publish grr-response-core to PyPI\n    needs:\n    - build-pypi-packages\n    runs-on: ubuntu-22.04\n    environment:\n      name: pypi\n      url: https://pypi.org/p/grr-response-core\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n    - name: Download the artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: grr-response-core\n        path: dist/\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-to-pypi-grr-response-client:\n    name: Publish grr-response-client to PyPI\n    needs:\n    - build-pypi-packages\n    runs-on: ubuntu-22.04\n    environment:\n      name: pypi\n      url: https://pypi.org/p/grr-response-client\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n    - name: Download the artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: grr-response-client\n        path: dist/\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-to-pypi-grr-response-client-builder:\n    name: Publish grr-response-client-builder to PyPI\n    needs:\n    - build-pypi-packages\n    runs-on: ubuntu-22.04\n    environment:\n      name: pypi\n      url: https://pypi.org/p/grr-response-client-builder\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n    - name: Download the artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: grr-response-client-builder\n        path: dist/\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-to-pypi-grr-response-server:\n    name: Publish grr-response-server to PyPI\n    needs:\n    - build-pypi-packages\n    runs-on: ubuntu-22.04\n    environment:\n      name: pypi\n      url: https://pypi.org/p/grr-response-server\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n    - name: Download the artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: grr-response-server\n        path: dist/\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-to-pypi-grr-response-test:\n    name: Publish grr-response-test to PyPI\n    needs:\n    - build-pypi-packages\n    runs-on: ubuntu-22.04\n    environment:\n      name: pypi\n      url: https://pypi.org/p/grr-response-test\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n    - name: Download the artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: grr-response-test\n        path: dist/\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-to-pypi-grr-colab:\n    name: Publish grr-colab to PyPI\n    needs:\n    - build-pypi-packages\n    runs-on: ubuntu-22.04\n    environment:\n      name: pypi\n      url: https://pypi.org/p/grr-colab\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n    - name: Download the artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: grr-colab\n        path: dist/\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-to-pypi-grr-api-client:\n    name: Publish grr-api-client to PyPI\n    needs:\n    - build-pypi-packages\n    runs-on: ubuntu-22.04\n    environment:\n      name: pypi\n      url: https://pypi.org/p/grr-api-client\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n    - name: Download the artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: grr-api-client\n        path: dist/\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "google/grr"}
{"mined_at": "2024-07-15T14:00:02.379852", "created_at": "2023-08-01T21:52:55+02:00", "updated_at": "2023-08-01T21:52:55+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/grr"}
{"mined_at": "2024-07-15T14:00:03.495164", "created_at": "2022-06-21T17:06:23+02:00", "updated_at": "2022-06-21T17:06:23+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "google/grr"}
{"mined_at": "2024-07-15T14:00:05.758904", "created_at": "2022-07-20T01:50:45+02:00", "updated_at": "2022-07-20T01:50:45+02:00", "name": "Deploy Wiki", "path": ".github/workflows/deploy-wiki.yaml", "contents": "name: Deploy Wiki\n\non:\n  push:\n    paths:\n      - 'kubernetes/docs/**'\n    branches:\n      - master\n\njobs:\n  deploy-wiki:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Install rsync\n      run: |\n        sudo apt install rsync grsync\n    - name: Clone Wiki\n      run: |\n        git config --global --add safe.directory \"/github/workspace\"\n        git config --global --add safe.directory \"/github/workspace/wiki\"\n        git clone https://github.com/kubernetes-client/python.wiki.git wiki\n        message=$(git log -1 --format=%B)\n    - name: Copy to wiki repository\n      run: |\n        rsync -av --delete kubernetes/docs/ wiki/ --exclude .git\n    - name: Push wiki\n      run: |\n        cd wiki\n        git config user.name github-actions\n        git config user.email github-actions@github.com\n        git add .\n        git commit -m \"$message\"\n        git push\n        ", "state": "active", "repository": "kubernetes-client/python"}
{"mined_at": "2024-07-15T14:00:06.770928", "created_at": "2021-05-28T12:32:21+02:00", "updated_at": "2021-06-07T17:40:42+02:00", "name": "End to End Tests - master", "path": ".github/workflows/e2e-master.yaml", "contents": "name: End to End Tests - master\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Create Kind Cluster\n      uses: helm/kind-action@v1.10.0\n      with:\n        cluster_name: kubernetes-python-e2e-master-${{ matrix.python-version }}\n        # The kind version to be used to spin the cluster up\n        # this needs to be updated whenever a new Kind version is released\n        version: v0.17.0\n        # Update the config here whenever a new client snapshot is performed\n        # This would eventually point to cluster with the latest Kubernetes version\n        # as we sync with Kubernetes upstream\n        config: .github/workflows/kind-configs/cluster-1.25.yaml\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -r test-requirements.txt\n    - name: Install package\n      run: python -m pip install -e .\n    - name: Run End to End tests\n      run: pytest -vvv -s kubernetes/e2e_test\n", "state": "active", "repository": "kubernetes-client/python"}
{"mined_at": "2024-07-15T14:00:08.011621", "created_at": "2021-05-28T12:32:20+02:00", "updated_at": "2021-06-07T17:40:42+02:00", "name": "End to End Tests - release-11.0", "path": ".github/workflows/e2e-release-11.0.yaml", "contents": "name: End to End Tests - release-11.0\n\non:\n  push:\n    branches:\n      - release-11.0\n  pull_request:\n    branches:\n      - release-11.0\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [2.7, 3.5, 3.6, 3.7, 3.8]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Create Kind Cluster\n      uses: helm/kind-action@v1.10.0\n      with:\n        cluster_name: kubernetes-python-e2e-release-11.0-${{ matrix.python-version }}\n        # The kind version to be used to spin the cluster up\n        # this needs to be updated whenever a new Kind version is released\n        version: v0.11.1\n        # Update the config here whenever a new client snapshot is performed\n        # This would eventually point to cluster with the latest Kubernetes version\n        # as we sync with Kubernetes upstream\n        config: .github/workflows/kind-configs/cluster-1.15.yaml\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -r test-requirements.txt\n    - name: Install package\n      run: python -m pip install -e .\n    - name: Run End to End tests\n      run: pytest -vvv -s kubernetes/e2e_test\n", "state": "active", "repository": "kubernetes-client/python"}
{"mined_at": "2024-07-15T14:00:09.162190", "created_at": "2021-05-28T12:32:20+02:00", "updated_at": "2021-06-07T17:40:42+02:00", "name": "End to End Tests - release-12.0", "path": ".github/workflows/e2e-release-12.0.yaml", "contents": "name: End to End Tests - release-12.0\n\non:\n  push:\n    branches:\n      - release-12.0\n  pull_request:\n    branches:\n      - release-12.0\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [2.7, 3.5, 3.6, 3.7, 3.8]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Create Kind Cluster\n      uses: helm/kind-action@v1.10.0\n      with:\n        cluster_name: kubernetes-python-e2e-release-12.0-${{ matrix.python-version }}\n        # The kind version to be used to spin the cluster up\n        # this needs to be updated whenever a new Kind version is released\n        version: v0.11.1\n        # Update the config here whenever a new client snapshot is performed\n        # This would eventually point to cluster with the latest Kubernetes version\n        # as we sync with Kubernetes upstream\n        config: .github/workflows/kind-configs/cluster-1.16.yaml\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -r test-requirements.txt\n    - name: Install package\n      run: python -m pip install -e .\n    - name: Run End to End tests\n      run: pytest -vvv -s kubernetes/e2e_test\n", "state": "active", "repository": "kubernetes-client/python"}
{"mined_at": "2024-07-15T14:00:10.217960", "created_at": "2021-05-28T12:32:20+02:00", "updated_at": "2021-06-07T17:40:42+02:00", "name": "End to End Tests - release-17.0", "path": ".github/workflows/e2e-release-17.0.yaml", "contents": "name: End to End Tests - release-17.0\n\non:\n  push:\n    branches:\n      - release-17.0\n  pull_request:\n    branches:\n      - release-17.0\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [2.7, 3.5, 3.6, 3.7, 3.8]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Create Kind Cluster\n      uses: helm/kind-action@v1.10.0\n      with:\n        cluster_name: kubernetes-python-e2e-release-17.0-${{ matrix.python-version }}\n        # The kind version to be used to spin the cluster up\n        # this needs to be updated whenever a new Kind version is released\n        version: v0.11.1\n        # Update the config here whenever a new client snapshot is performed\n        # This would eventually point to cluster with the latest Kubernetes version\n        # as we sync with Kubernetes upstream\n        config: .github/workflows/kind-configs/cluster-1.17.yaml\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -r test-requirements.txt\n    - name: Install package\n      run: python -m pip install -e .\n    - name: Run End to End tests\n      run: pytest -vvv -s kubernetes/e2e_test\n", "state": "active", "repository": "kubernetes-client/python"}
{"mined_at": "2024-07-15T14:00:11.288571", "created_at": "2021-05-28T12:32:21+02:00", "updated_at": "2021-06-07T17:40:42+02:00", "name": "End to End Tests - release-18.0", "path": ".github/workflows/e2e-release-18.0.yaml", "contents": "name: End to End Tests - release-18.0\n\non:\n  push:\n    branches:\n      - release-18.0\n  pull_request:\n    branches:\n      - release-18.0\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.6, 3.7, 3.8, 3.9]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Create Kind Cluster\n      uses: helm/kind-action@v1.10.0\n      with:\n        cluster_name: kubernetes-python-e2e-release-18.0-${{ matrix.python-version }}\n        # The kind version to be used to spin the cluster up\n        # this needs to be updated whenever a new Kind version is released\n        version: v0.11.1\n        # Update the config here whenever a new client snapshot is performed\n        # This would eventually point to cluster with the latest Kubernetes version\n        # as we sync with Kubernetes upstream\n        config: .github/workflows/kind-configs/cluster-1.18.yaml\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -r test-requirements.txt\n    - name: Install package\n      run: python -m pip install -e .\n    - name: Run End to End tests\n      run: pytest -vvv -s kubernetes/e2e_test\n", "state": "active", "repository": "kubernetes-client/python"}
{"mined_at": "2024-07-15T14:00:12.434221", "created_at": "2023-01-31T23:48:58+01:00", "updated_at": "2023-01-31T23:48:58+01:00", "name": "End to End Tests - release-26.0", "path": ".github/workflows/e2e-release-26.0.yaml", "contents": "name: End to End Tests - release-26.0\n\non:\n  push:\n    branches:\n      - release-26.0\n  pull_request:\n    branches:\n      - release-26.0\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Create Kind Cluster\n      uses: helm/kind-action@v1.10.0\n      with:\n        cluster_name: kubernetes-python-e2e-release-26.0-${{ matrix.python-version }}\n        # The kind version to be used to spin the cluster up\n        # this needs to be updated whenever a new Kind version is released\n        version: v0.17.0\n        # Update the config here whenever a new client snapshot is performed\n        # This would eventually point to cluster with the latest Kubernetes version\n        # as we sync with Kubernetes upstream\n        config: .github/workflows/kind-configs/cluster-1.26.yaml\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -r test-requirements.txt\n    - name: Install package\n      run: python -m pip install -e .\n    - name: Run End to End tests\n      run: pytest -vvv -s kubernetes/e2e_test\n", "state": "active", "repository": "kubernetes-client/python"}
{"mined_at": "2024-07-15T14:00:13.591285", "created_at": "2020-05-14T03:00:33+02:00", "updated_at": "2020-05-14T03:00:33+02:00", "name": "Kubernetes Python Client - Validation", "path": ".github/workflows/test.yaml", "contents": "name: Kubernetes Python Client - Validation\n\non: [ push, pull_request ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.10\", \"3.11\"]\n        include:\n          - python-version: \"3.9\"\n            use_coverage: 'coverage'\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Install Tox and any other packages\n      run: pip install tox\n\n    - name: Test without coverage\n      if: \"! matrix.use_coverage\"\n      run: tox -e py  # Run tox using the version of Python in `PATH`\n\n    - name: Test with coverage\n      if: \"matrix.use_coverage\"\n      run: tox -e py-coverage\n\n    - name: Upload coverage to Codecov\n      if: \"matrix.use_coverage\"\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: false\n        verbose: true\n", "state": "active", "repository": "kubernetes-client/python"}
{"mined_at": "2024-07-15T14:00:15.652239", "created_at": "2022-11-25T08:30:36+01:00", "updated_at": "2022-11-25T08:30:36+01:00", "name": "Build docset", "path": ".github/workflows/build-docset.yml", "contents": "---\nname: Build docset\n\non:\n  push:\n    tags: [\"*\"]\n  workflow_dispatch:\n\nenv:\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  PIP_NO_PYTHON_VERSION_WARNING: \"1\"\n\npermissions: {}\n\njobs:\n  docset:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - run: python -Im pip install tox\n\n      - run: python -Im tox run -e docset\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: docset\n          path: attrs.tgz\n", "state": "active", "repository": "python-attrs/attrs"}
{"mined_at": "2024-07-15T14:00:16.749214", "created_at": "2022-08-22T11:08:09+02:00", "updated_at": "2022-08-22T11:08:09+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "---\nname: CI\n\non:\n  merge_group:\n  push:\n    branches: [main]\n    tags: [\"*\"]\n  pull_request:\n  workflow_dispatch:\n\nenv:\n  FORCE_COLOR: \"1\" # Make tools pretty.\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  PIP_NO_PYTHON_VERSION_WARNING: \"1\"\n  # Use oldest version used in doctests / examples.\n  SETUPTOOLS_SCM_PRETEND_VERSION: \"19.2.0\"\n\npermissions: {}\n\njobs:\n  tests:\n    name: Tests & Mypy on ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.7\"\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          - \"3.13\"\n          - \"pypy-3.8\"\n          - \"pypy-3.9\"\n          - \"pypy-3.10\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n          cache: pip\n\n      - name: Prepare tox\n        run: |\n          V=${{ matrix.python-version }}\n\n          if [[ \"$V\" = pypy-* ]]; then\n            V=pypy3\n            IS_PYPY=1\n          else\n            V=py$(echo $V | tr -d .)\n            IS_PYPY=0\n          fi\n\n          echo IS_PYPY=$IS_PYPY >>$GITHUB_ENV\n          echo TOX_PYTHON=$V >>$GITHUB_ENV\n\n          python -Im pip install tox\n\n      - run: python -Im pip install tox-uv\n        if: matrix.python-version != '3.7'\n\n      - run: python -Im tox run -e ${{ env.TOX_PYTHON }}-tests\n      - run: python -Im tox run -e ${{ env.TOX_PYTHON }}-mypy\n        if: env.IS_PYPY == '0' && matrix.python-version != '3.7'\n\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-data-${{ matrix.python-version }}\n          path: .coverage.*\n          if-no-files-found: ignore\n\n  coverage:\n    name: Combine & check coverage.\n    runs-on: ubuntu-latest\n    needs: tests\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: .python-version-default\n          cache: pip\n\n      - name: Download coverage data\n        uses: actions/download-artifact@v4\n        with:\n          pattern: coverage-data-*\n          merge-multiple: true\n\n      - name: Combine coverage & fail if it's <100%.\n        run: |\n          python -Im pip install coverage[toml]\n\n          python -Im coverage combine\n          python -Im coverage html --skip-covered --skip-empty\n\n          # Report and write to summary.\n          python -Im coverage report --format=markdown >> $GITHUB_STEP_SUMMARY\n\n          # Report again and fail if under 100%.\n          python -Im coverage report --fail-under=100\n\n      - name: Upload HTML report if check failed.\n        uses: actions/upload-artifact@v4\n        with:\n          name: html-report\n          path: htmlcov\n        if: ${{ failure() }}\n\n  docs:\n    name: Build docs & run doctests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          # Keep in sync with tox/docs and .readthedocs.yaml.\n          python-version: \"3.12\"\n          cache: pip\n\n      - run: python -Im pip install tox-uv\n      - run: python -Im tox run -e docs,changelog\n\n  pyright:\n    name: Check types using pyright\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: .python-version-default\n          cache: pip\n\n      - run: python -Im pip install tox-uv\n      - run: python -Im tox run -e pyright\n\n  install-dev:\n    name: Verify dev env\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: .python-version-default\n          cache: pip\n\n      - name: Install in dev mode & import\n        run: |\n          python -Im pip install -e .[dev]\n          python -Ic 'import attr; print(attr.__version__)'\n          python -Ic 'import attrs; print(attrs.__version__)'\n\n  # Ensure everything required is passing for branch protection.\n  required-checks-pass:\n    if: always()\n\n    needs:\n      - coverage\n      - docs\n      - install-dev\n      - pyright\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "python-attrs/attrs"}
{"mined_at": "2024-07-15T14:00:17.944811", "created_at": "2022-09-14T09:16:08+02:00", "updated_at": "2022-09-14T09:20:23+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "---\nname: CodeQL\n\non:\n  schedule:\n    - cron: \"30 22 * * 4\"\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [python]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "python-attrs/attrs"}
{"mined_at": "2024-07-15T14:00:19.071153", "created_at": "2022-12-18T12:15:54+01:00", "updated_at": "2023-01-29T11:14:11+01:00", "name": "Build & maybe upload PyPI package", "path": ".github/workflows/pypi-package.yml", "contents": "---\nname: Build & maybe upload PyPI package\n\non:\n  push:\n    branches: [main]\n    tags: [\"*\"]\n  pull_request:\n    branches: [main]\n  release:\n    types:\n      - published\n  workflow_dispatch:\n\npermissions:\n  contents: read\n  id-token: write\n\njobs:\n  # Always build & lint package.\n  build-package:\n    name: Build & verify package\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: hynek/build-and-inspect-python-package@v2\n\n  # Upload to Test PyPI on every commit on main.\n  release-test-pypi:\n    name: Publish in-dev package to test.pypi.org\n    environment: release-test-pypi\n    if: github.repository_owner == 'python-attrs' && github.event_name == 'push' && github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    needs: build-package\n\n    steps:\n      - name: Download packages built by build-and-inspect-python-package\n        uses: actions/download-artifact@v4\n        with:\n          name: Packages\n          path: dist\n\n      - name: Upload package to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n\n  # Upload to real PyPI on GitHub Releases.\n  release-pypi:\n    name: Publish released package to pypi.org\n    environment: release-pypi\n    if: github.repository_owner == 'python-attrs' && github.event.action == 'published'\n    runs-on: ubuntu-latest\n    needs: build-package\n\n    steps:\n      - name: Download packages built by build-and-inspect-python-package\n        uses: actions/download-artifact@v4\n        with:\n          name: Packages\n          path: dist\n\n      - name: Upload package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "python-attrs/attrs"}
{"mined_at": "2024-07-15T14:00:21.223508", "created_at": "2022-07-31T14:13:04+02:00", "updated_at": "2022-07-31T14:13:04+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '20 4 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "lk-geimfari/mimesis"}
{"mined_at": "2024-07-15T14:00:22.347326", "created_at": "2020-11-18T09:05:49+01:00", "updated_at": "2020-11-18T09:05:49+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  release:\n    types:\n      - created\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.10.x\n      - name: Upgrade pip\n        run: pip install --upgrade --user pip\n      - name: Install Poetry\n        run: pip install poetry\n      - name: Cache virtual environment\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: ${{ runner.os }}-python-${{ matrix.python-version }}-venv-${{ hashFiles('**/poetry.lock') }}\n      - name: Install dependencies\n        run: poetry install --no-interaction\n      - name: Build and validate\n        run: |\n          poetry run task minify\n          poetry build\n          poetry run pip install --quiet --disable-pip-version-check \"twine>=1.12\"\n          poetry run twine check --strict dist/*\n      - name: Publish\n        env:\n          # https://python-poetry.org/docs/repositories/#configuring-credentials\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}\n        run: |\n          poetry publish\n", "state": "active", "repository": "lk-geimfari/mimesis"}
{"mined_at": "2024-07-15T14:00:23.336027", "created_at": "2020-11-18T09:05:50+01:00", "updated_at": "2020-12-06T17:53:43+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\n# https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows\non:\n  push:\n    branches: [master]\n  pull_request:\n    types: [opened, synchronize]\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: ['3.10', '3.11', '3.12']\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install --upgrade --user pip\n      - name: Install Poetry\n        run: pip install poetry\n      - name: Cache virtual environment\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: ${{ runner.os }}-python-${{ matrix.python-version }}-venv-${{ hashFiles('**/poetry.lock') }}\n      - name: Install dependencies\n        run: poetry install --no-interaction\n      - name: mypy, pytest, codecov\n        run: make test\n      - name: Check code style\n        run: make lint\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        if: \"github.repository == 'lk-geimfari/mimesis' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'\"\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          env_vars: OS,PYTHON\n          fail_ci_if_error: true\n\n  quick-test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['pypy3.10']\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install --upgrade --user pip\n      - name: Install Poetry\n        run: pip install poetry\n      - name: Install dependencies\n        run: poetry install --no-interaction\n      - name: pytest and codecov\n        run: poetry run pytest\n", "state": "active", "repository": "lk-geimfari/mimesis"}
{"mined_at": "2024-07-15T14:00:25.317770", "created_at": "2021-11-04T21:23:51+01:00", "updated_at": "2021-11-04T21:23:51+01:00", "name": "Python codeqa/test", "path": ".github/workflows/codeqa_test.yaml", "contents": null, "state": "active", "repository": "agronholm/apscheduler"}
{"mined_at": "2024-07-15T14:00:26.316896", "created_at": "2021-01-09T13:18:26+01:00", "updated_at": "2021-01-09T13:18:26+01:00", "name": "Publish packages to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Publish packages to PyPI\n\non:\n  push:\n    tags:\n      - \"[0-9]+.[0-9]+.[0-9]+\"\n      - \"[0-9]+.[0-9]+.[0-9]+.post[0-9]+\"\n      - \"[0-9]+.[0-9]+.[0-9]+[a-b][0-9]+\"\n      - \"[0-9]+.[0-9]+.[0-9]+rc[0-9]+\"\n\njobs:\n  build:\n    name: Build the source tarball and the wheel\n    runs-on: ubuntu-latest\n    environment: release\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Install dependencies\n      run: pip install build\n    - name: Create packages\n      run: python -m build\n    - name: Archive packages\n      uses: actions/upload-artifact@v4\n      with:\n        name: dist\n        path: dist\n\n  publish:\n    name: Publish build artifacts to the PyPI\n    needs: build\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n    - name: Retrieve packages\n      uses: actions/download-artifact@v4\n    - name: Upload packages\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  release:\n    name: Create a GitHub release\n    needs: build\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n    - uses: actions/checkout@v4\n    - id: changelog\n      uses: agronholm/release-notes@v1\n      with:\n        path: docs/versionhistory.rst\n    - uses: ncipollo/release-action@v1\n      with:\n        body: ${{ steps.changelog.outputs.changelog }}\n", "state": "active", "repository": "agronholm/apscheduler"}
{"mined_at": "2024-07-15T14:00:27.289254", "created_at": "2023-08-14T09:25:22+02:00", "updated_at": "2023-08-14T09:25:22+02:00", "name": "test suite", "path": ".github/workflows/test.yaml", "contents": null, "state": "active", "repository": "agronholm/apscheduler"}
{"mined_at": "2024-07-15T14:00:28.335809", "created_at": "2022-01-02T14:25:52+01:00", "updated_at": "2022-07-27T12:02:12+02:00", "name": "test suite", "path": ".github/workflows/test.yml", "contents": "name: test suite\n\non:\n  push:\n    branches: [master]\n  pull_request:\n\njobs:\n  test-linux:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.11\", \"3.12\"]\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n        cache: pip\n        cache-dependency-path: pyproject.toml\n    - name: Start external services\n      run: docker compose up -d\n    - name: Install the project and its dependencies\n      run: pip install -e .[test]\n    - name: Test with pytest\n      run: coverage run -m pytest -v\n    - name: Generate coverage report\n      run: coverage xml\n    - name: Upload Coverage\n      uses: coverallsapp/github-action@v2\n      with:\n        parallel: true\n        file: coverage.xml\n\n  test-pypy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: pypy-3.10\n        cache: pip\n        cache-dependency-path: pyproject.toml\n    - name: Start external services\n      run: docker compose up -d\n    - name: Install the project and its dependencies\n      run: pip install -e .[test]\n    - name: Test with pytest\n      run: pytest -v\n\n  test-others:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.12\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n        cache: pip\n        cache-dependency-path: pyproject.toml\n    - name: Install the project and its dependencies\n      run: pip install -e .[test]\n    - name: Test with pytest\n      run: coverage run -m pytest -v -m \"not external_service\"\n    - name: Generate coverage report\n      run: coverage xml\n    - name: Upload Coverage\n      uses: coverallsapp/github-action@v2\n      with:\n        parallel: true\n        file: coverage.xml\n\n  coveralls:\n    name: Finish Coveralls\n    needs:\n      - test-linux\n      - test-others\n    runs-on: ubuntu-latest\n    steps:\n    - name: Finished\n      uses: coverallsapp/github-action@v2\n      with:\n        parallel-finished: true\n", "state": "active", "repository": "agronholm/apscheduler"}
{"mined_at": "2024-07-15T14:00:30.513494", "created_at": "2024-01-23T15:33:09+01:00", "updated_at": "2024-01-23T15:33:09+01:00", "name": "Build and Publish Bandit Images", "path": ".github/workflows/build-publish-image.yml", "contents": "name: Build and Publish Bandit Images\n\non:\n  release:\n    types: [created]\n  schedule:\n    - cron: '0 0 * * 0' # Every Sunday at midnight\n  workflow_dispatch:\n\njobs:\n  build-and-publish:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      id-token: write\n\n    steps:\n\n    - name: Get latest release tag\n      if: github.event_name != 'release'\n      id: get-latest-tag\n      run: |\n        TAG=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r .tag_name)\n        echo \"Latest tag is $TAG\"\n        echo \"RELEASE_TAG=$TAG\" >> $GITHUB_ENV\n\n    - name: Check out the repo\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4\n      with:\n        ref: ${{ github.event_name == 'release' && github.ref || env.RELEASE_TAG }}\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3\n\n    - name: Log in to GitHub Container Registry\n      uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Install Cosign\n      uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0\n      with:\n        cosign-release: 'v2.2.2'\n\n    - name: Downcase github.repository value\n      run: |\n        echo \"IMAGE_NAME=`echo ${{github.repository}} | tr '[:upper:]' '[:lower:]'`\" >>${GITHUB_ENV}\n\n    - name: Build and push Docker image\n      id: build-and-push\n      uses: docker/build-push-action@c382f710d39a5bb4e430307530a720f50c2d3318 # v6\n      with:\n        context: .\n        file: ./docker/Dockerfile\n        push: true\n        tags: ghcr.io/${{ env.IMAGE_NAME }}/bandit:latest\n        platforms: linux/amd64, linux/arm64, linux/arm/v7, linux/arm/v8\n\n    - name: Sign the image\n      env:\n        TAGS: ghcr.io/${{ env.IMAGE_NAME }}/bandit:latest\n        DIGEST: ${{ steps.build-and-push.outputs.digest }}\n      run: |\n        echo \"${TAGS}\" | xargs -I {} cosign sign --yes {}@${DIGEST}\n", "state": "active", "repository": "pycqa/bandit"}
{"mined_at": "2024-07-15T14:00:31.560901", "created_at": "2023-09-18T23:10:08+02:00", "updated_at": "2023-09-18T23:10:08+02:00", "name": ".github/workflows/dependabot.yml", "path": ".github/workflows/dependabot.yml", "contents": null, "state": "active", "repository": "pycqa/bandit"}
{"mined_at": "2024-07-15T14:00:32.690042", "created_at": "2022-05-03T20:14:08+02:00", "updated_at": "2022-05-04T03:53:32+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "name: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v4\n", "state": "active", "repository": "pycqa/bandit"}
{"mined_at": "2024-07-15T14:00:33.818470", "created_at": "2020-12-06T11:08:30+01:00", "updated_at": "2020-12-06T11:08:30+01:00", "name": "Publish to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish to PyPI\n\non: workflow_dispatch\n\njobs:\n  build-n-publish:\n    name: Build and publish to PyPI\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - name: Install dependencies\n      run: pip install wheel\n\n    - name: Build a binary wheel and a source tarball\n      run: |\n        python setup.py sdist bdist_wheel\n\n    - name: Publish distribution to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "pycqa/bandit"}
{"mined_at": "2024-07-15T14:00:34.843055", "created_at": "2020-12-06T08:59:01+01:00", "updated_at": "2020-12-06T08:59:01+01:00", "name": "Publish to Test PyPI", "path": ".github/workflows/publish-to-test-pypi.yml", "contents": "name: Publish to Test PyPI\n\non: workflow_dispatch\n\njobs:\n  build-n-publish:\n    name: Build and publish to Test PyPI\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - name: Install dependencies\n      run: pip install wheel\n\n    - name: Build a binary wheel and a source tarball\n      run: |\n        python setup.py sdist bdist_wheel\n\n    - name: Publish distribution to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "pycqa/bandit"}
{"mined_at": "2024-07-15T14:00:35.967201", "created_at": "2020-01-11T05:10:28+01:00", "updated_at": "2022-02-17T06:07:47+01:00", "name": "Build and Test Bandit", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Build and Test Bandit\n\non: [push, pull_request]\n\njobs:\n  format:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: Run tox\n      run: tox run -e format\n\n  pep8:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: Run tox\n      run: tox run -e pep8\n\n  tests:\n    strategy:\n      matrix:\n        python-version: [\n          [\"3.8\", \"38\"],\n          [\"3.9\", \"39\"],\n          [\"3.10\", \"310\"],\n          [\"3.11\", \"311\"],\n          [\"3.12\", \"312\"],\n          [\"3.13.0-a - 3.13\", \"313\"],\n        ]\n        os: [ubuntu-latest, macos-latest]\n    runs-on: ${{ matrix.os }}\n    name: ${{ matrix.os }} (${{ matrix.python-version[0] }})\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version[0] }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version[0] }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: Run tox\n      run: tox run -e py${{ matrix.python-version[1] }}\n", "state": "active", "repository": "pycqa/bandit"}
{"mined_at": "2024-07-15T14:00:38.120753", "created_at": "2020-01-11T07:03:57+01:00", "updated_at": "2020-01-11T08:10:31+01:00", "name": "CI", "path": "", "contents": null, "state": "active", "repository": "beeware/toga"}
{"mined_at": "2024-07-15T14:00:39.348405", "created_at": "2019-12-22T00:58:36+01:00", "updated_at": "2024-05-28T22:39:26+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  pull_request:\n  push:\n    branches:\n      - main\n  workflow_call:\n    inputs:\n      attest-package:\n        description: \"Create GitHub provenance attestation for the package.\"\n        default: \"false\"\n        type: string\n    outputs:\n      artifact-basename:\n        description: \"Base name of the uploaded artifacts; use for artifact retrieval.\"\n        value: ${{ jobs.package.outputs.artifact-basename }}\n\nenv:\n  min_python_version: \"3.8\"\n  max_python_version: \"3.12\"\n  FORCE_COLOR: \"1\"\n\ndefaults:\n  run:\n    shell: bash\n\n# Cancel active CI runs for a PR before starting another run\nconcurrency:\n  group: ${{ github.workflow}}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pre-commit:\n    name: Pre-commit checks\n    uses: beeware/.github/.github/workflows/pre-commit-run.yml@main\n    with:\n      pre-commit-source: \"./core[dev]\"\n\n  towncrier:\n    name: Check towncrier\n    uses: beeware/.github/.github/workflows/towncrier-run.yml@main\n    with:\n      tox-source: \"./core[dev]\"\n\n  package:\n    name: Package Toga\n    permissions:\n      id-token: write\n      contents: read\n      attestations: write\n    strategy:\n      matrix:\n        subdir:\n        - \"android\"\n        - \"cocoa\"\n        - \"core\"\n        - \"demo\"\n        - \"dummy\"\n        - \"gtk\"\n        - \"iOS\"\n        - \"toga\"\n        - \"textual\"\n        - \"web\"\n        - \"winforms\"\n    uses: beeware/.github/.github/workflows/python-package-create.yml@main\n    with:\n      build-subdirectory: ${{ matrix.subdir }}\n      attest: ${{ inputs.attest-package }}\n\n  core:\n    name: Test core\n    runs-on: ${{ matrix.platform }}\n    needs: [ pre-commit, towncrier, package ]\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ \"macos-12\", \"macos-14\", \"ubuntu-latest\", \"windows-latest\" ]\n        python-version: [ \"3.8\", \"3.12\", \"3.13-dev\" ]\n        include:\n        - experimental: false\n        # Test Python 3.9-3.11 on Ubuntu only\n        - platform: \"ubuntu-latest\"\n          python-version: \"3.9\"\n          experimental: false\n        - platform: \"ubuntu-latest\"\n          python-version: \"3.10\"\n          experimental: false\n        - platform: \"ubuntu-latest\"\n          python-version: \"3.11\"\n          experimental: false\n        # Allow development Python to fail without failing entire job.\n        - python-version: \"3.13-dev\"\n          experimental: true\n        exclude:\n        # macos-14 (i.e. arm64) does not support Python 3.8\n        - platform: \"macos-14\"\n          python-version: \"3.8\"\n        # Pillow isn't available for Python 3.13 on Windows\n        - platform: \"windows-latest\"\n          python-version: \"3.13-dev\"\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4.1.7\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Tox\n      uses: beeware/.github/.github/actions/install-requirement@main\n      with:\n        requirements: tox\n        extra: dev\n        project-root: core\n\n    - name: Get Packages\n      uses: actions/download-artifact@v4.1.7\n      with:\n        pattern: ${{ format('{0}-*', needs.package.outputs.artifact-basename) }}\n        merge-multiple: true\n        path: dist\n\n    - name: Test\n      run: |\n        # The $(ls ...) shell expansion is done in the Github environment;\n        # the value of TOGA_INSTALL_COMMAND will be a literal string without any shell expansions to perform\n        TOGA_INSTALL_COMMAND=\"python -m pip install ../$(ls dist/toga_core-*.whl)[dev] ../$(ls dist/toga_dummy-*.whl)\" \\\n          tox -e py-cov\n        tox -qe coverage$(tr -dc \"0-9\" <<< \"${{ matrix.python-version }}\")\n        mv core/.coverage core/.coverage.${{ matrix.platform }}.${{ matrix.python-version }}\n\n    - name: Store Coverage Data\n      uses: actions/upload-artifact@v4.3.3\n      with:\n        name: core-coverage-data-${{ matrix.platform }}-${{ matrix.python-version }}\n        path: \"core/.coverage.*\"\n        if-no-files-found: error\n\n  core-coverage:\n    name: Coverage\n    needs: core\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4.1.7\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python ${{ env.min_python_version }}\n      uses: actions/setup-python@v5.1.0\n      with:\n        # Use minimum version of python for coverage to avoid phantom branches\n        # https://github.com/nedbat/coveragepy/issues/1572#issuecomment-1522546425\n        python-version: ${{ env.min_python_version }}\n\n    - name: Install Tox\n      uses: beeware/.github/.github/actions/install-requirement@main\n      with:\n        requirements: tox\n        extra: dev\n        project-root: core\n\n    - name: Retrieve Coverage Data\n      uses: actions/download-artifact@v4.1.7\n      with:\n        pattern: core-coverage-data-*\n        path: core\n        merge-multiple: true\n\n    - name: Generate Coverage Report\n      run: tox -e coverage-html-fail-platform\n\n    - name: Upload HTML Coverage Report\n      uses: actions/upload-artifact@v4.3.3\n      if: failure()\n      with:\n        name: html-coverage-report\n        path: core/htmlcov\n\n  testbed:\n    name: Testbed\n    needs: core\n    runs-on: ${{ matrix.runs-on }}\n    strategy:\n      fail-fast: false\n      matrix:\n        backend: [ \"macOS-x86_64\", \"macOS-arm64\", \"windows\", \"linux-x11\", \"linux-wayland\",\"android\", \"iOS\" ]\n        include:\n        - pre-command: \"\"\n          briefcase-run-prefix: \"\"\n          briefcase-run-args: \"\"\n          setup-python: true\n\n        - backend: \"macOS-x86_64\"\n          platform: \"macOS\"\n          runs-on: \"macos-12\"\n          app-user-data-path: \"$HOME/Library/Application Support/org.beeware.toga.testbed\"\n\n        - backend: \"macOS-arm64\"\n          platform: \"macOS\"\n          runs-on: \"macos-14\"\n          app-user-data-path: \"$HOME/Library/Application Support/org.beeware.toga.testbed\"\n\n        # We use a fixed Ubuntu version rather than `-latest` because at some point,\n        # `-latest` will be updated, but it will be a soft changeover, which would cause\n        # the system Python version to become inconsistent from run to run.\n        - backend: \"linux-x11\"\n          platform: \"linux\"\n          runs-on: \"ubuntu-22.04\"\n          # The package list should be the same as in tutorial-0.rst, and the BeeWare\n          # tutorial, plus blackbox to provide a window manager. We need a window\n          # manager that is reasonably lightweight, honors full screen mode, and\n          # treats the window position as the top-left corner of the *window*, not the\n          # top-left corner of the window *content*. The default GNOME window managers of\n          # most distros meet these requirements, but they're heavyweight; flwm doesn't\n          # work either. Blackbox is the lightest WM we've found that works.\n          pre-command: |\n            sudo apt update -y\n            sudo apt install -y --no-install-recommends \\\n              blackbox pkg-config python3-dev libgirepository1.0-dev libcairo2-dev gir1.2-webkit2-4.1\n\n            # Start Virtual X Server\n            echo \"Start X server...\"\n            Xvfb :99 -screen 0 2048x1536x24 &\n            sleep 1\n\n            # Start Window Mmanager\n            echo \"Start window manager...\"\n            DISPLAY=:99 blackbox &\n            sleep 1\n          briefcase-run-prefix: 'DISPLAY=:99'\n          setup-python: false  # Use the system Python packages\n          app-user-data-path: \"$HOME/.local/share/testbed\"\n\n        - backend: \"linux-wayland\"\n          platform: \"linux\"\n          runs-on: \"ubuntu-22.04\"\n          # The package list should be the same as in tutorial-0.rst, and the BeeWare\n          # tutorial, plus mutter to provide a window manager, and libjpeg-dev for Pillow.\n          pre-command: |\n            sudo apt update -y\n            sudo apt install -y --no-install-recommends \\\n              mutter pkg-config python3-dev libgirepository1.0-dev libcairo2-dev gir1.2-webkit2-4.1\n\n            # Start Virtual X Server\n            echo \"Start X server...\"\n            Xvfb :99 -screen 0 2048x1536x24 &\n            sleep 1\n\n            # Start Window Manager\n            echo \"Start window manager...\"\n            # mutter is being run inside a virtual X server because mutter's headless\n            # mode is not compatible with Gtk\n            DISPLAY=:99 MUTTER_DEBUG_DUMMY_MODE_SPECS=2048x1536 \\\n              mutter --nested --wayland --no-x11 --wayland-display toga &\n            sleep 1\n          briefcase-run-prefix: \"WAYLAND_DISPLAY=toga\"\n          setup-python: false  # Use the system Python packages\n          app-user-data-path: \"$HOME/.local/share/testbed\"\n\n        - backend: \"windows\"\n          platform: \"windows\"\n          runs-on: \"windows-latest\"\n          app-user-data-path: '$HOME\\AppData\\Local\\Tiberius Yak\\Toga Testbed\\Data'\n\n        - backend: \"iOS\"\n          platform: \"iOS\"\n          runs-on: \"macos-14\"\n          # As of early April 2024, the XCode 15/iOS 17 simulator had a performance\n          # issue that rendered Github Actions testing impossible. The issue didn't\n          # impact iOS 16.4, but that required the use of Xcode 14.3.1.\n          #\n          # Refs #2476, actions/runner-images#9591.\n          pre-command: \"sudo xcode-select -s /Applications/Xcode_14.3.1.app\"\n          briefcase-run-args: \"--device 'iPhone SE (3rd generation)::iOS 16.4'\"\n          # briefcase-run-args: \"--device 'iPhone SE (3rd generation)'\"\n          app-user-data-path: \"$(xcrun simctl get_app_container booted org.beeware.toga.testbed data)/Documents\"\n\n        - backend: \"android\"\n          platform: \"android\"\n          runs-on: \"ubuntu-latest\"\n          briefcase-run-prefix: JAVA_HOME=${JAVA_HOME_17_X64}\n          briefcase-run-args: >-\n            --device '{\"avd\":\"beePhone\",\"skin\":\"pixel_3a\"}'\n            --Xemulator=-no-window\n            --Xemulator=-no-snapshot\n            --Xemulator=-no-audio\n            --Xemulator=-no-boot-anim\n            --shutdown-on-exit\n          pre-command: |\n            # allow access to KVM to run the emulator\n            echo 'KERNEL==\"kvm\", GROUP=\"kvm\", MODE=\"0666\", OPTIONS+=\"static_node=kvm\"' \\\n              | sudo tee /etc/udev/rules.d/99-kvm4all.rules\n            sudo udevadm control --reload-rules\n            sudo udevadm trigger --name-match=kvm\n    steps:\n    # Github runners seem to have intermittent connectivity issues.\n    # See https://github.com/beeware/toga/issues/2632\n    - name: Tune GitHub-hosted runner network\n      uses: smorimoto/tune-github-hosted-runner-network@v1.0.0\n\n    - name: Checkout\n      uses: actions/checkout@v4.1.7\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5.1.0\n      if: matrix.setup-python\n      with:\n        # We're not using Python 3.11 yet, because:\n        # * The testbed's ProxyEventLoop has some problems with it\n        #   (https://github.com/beeware/toga/issues/1982).\n        # * It doesn't have an Android build of Pillow yet.\n        python-version: \"3.10\"\n\n    - name: Install Dependencies\n      run: |\n        ${{ matrix.pre-command }}\n        # Use the development version of Briefcase\n        python -m pip install -U pip\n        python -m pip install git+https://github.com/beeware/briefcase.git\n\n    - name: Test App\n      working-directory: testbed\n      timeout-minutes: 15\n      run: |\n        ${{ matrix.briefcase-run-prefix }} \\\n          briefcase run ${{ matrix.platform }} --log --test ${{ matrix.briefcase-run-args }} -- --ci\n\n    - name: Upload Logs\n      uses: actions/upload-artifact@v4.3.3\n      if: failure()\n      with:\n        name: testbed-failure-logs-${{ matrix.backend }}\n        path: testbed/logs/*\n\n    - name: Copy App Generated User Data\n      if: failure() && matrix.backend != 'android'\n      run: |\n        mkdir -p testbed/app_data\n        cp -r \"${{ matrix.app-user-data-path }}\" testbed/app_data/testbed-app_data-${{ matrix.backend }}\n\n    - name: Upload App Data\n      uses: actions/upload-artifact@v4.3.3\n      if: failure() && matrix.backend != 'android'\n      with:\n        name: testbed-failure-app-data-${{ matrix.backend }}\n        path: testbed/app_data/*\n\n    # This step is only needed if you're trying to diagnose test failures that\n    # only occur in CI, and can't be reproduced locally. When it runs, it will\n    # open an SSH server (URL reported in the logs) so you can ssh into the CI\n    # machine.\n    # - name: Setup tmate session\n    #   uses: mxschmitt/action-tmate@v3\n    #   if: failure()\n", "state": "active", "repository": "beeware/toga"}
{"mined_at": "2024-07-15T14:00:40.371668", "created_at": "2024-03-07T23:30:29+01:00", "updated_at": "2024-03-07T23:30:29+01:00", "name": "Bump Config File Dependencies", "path": ".github/workflows/config-file-deps-bump.yml", "contents": "name: Bump Config File Dependencies\n\non:\n  schedule:\n    - cron: \"0 20 * * SUN\"  # Sunday @ 2000 UTC\n  workflow_dispatch:\n\njobs:\n  dep-bump-versions:\n    name: Bump Config File Dependencies\n    uses: beeware/.github/.github/workflows/dep-version-bump.yml@main\n    secrets: inherit\n    with:\n      subdirectory: . core dummy android cocoa demo gtk iOS testbed textual toga web winforms\n", "state": "active", "repository": "beeware/toga"}
{"mined_at": "2024-07-15T14:00:41.365291", "created_at": "2022-11-02T15:25:47+01:00", "updated_at": "2022-11-02T15:25:47+01:00", "name": "Dependabot Change Note", "path": ".github/workflows/dependabot-changenote.yml", "contents": "name: Dependabot Change Note\n\non:\n  push:\n    branches:\n      - 'dependabot/**'\n\njobs:\n  changenote:\n    name: Dependabot Change Note\n    uses: beeware/.github/.github/workflows/dependabot-changenote.yml@main\n    secrets: inherit\n", "state": "active", "repository": "beeware/toga"}
{"mined_at": "2024-07-15T14:00:42.523032", "created_at": "2023-02-02T03:48:14+01:00", "updated_at": "2023-02-02T03:48:14+01:00", "name": "Update pre-commit", "path": ".github/workflows/pre-commit-update.yml", "contents": "name: Update pre-commit\n\non:\n  schedule:\n    - cron: \"0 20 * * SUN\" # Sunday @ 2000 UTC\n  workflow_dispatch:\n\njobs:\n  pre-commit-update:\n    name: Update pre-commit\n    uses: beeware/.github/.github/workflows/pre-commit-update.yml@main\n    secrets: inherit\n    with:\n      pre-commit-source: './core[dev]'\n", "state": "active", "repository": "beeware/toga"}
{"mined_at": "2024-07-15T14:00:43.580726", "created_at": "2022-10-14T20:16:42+02:00", "updated_at": "2022-10-19T18:13:55+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: published\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      # This permission is required for trusted publishing.\n      id-token: write\n    strategy:\n      # One element of this matrix failing should not terminate the others mid-run.\n      # This prevents one bad platform from stalling the publication of others.\n      fail-fast: false\n      matrix:\n        package:\n        - \"toga\"\n        - \"toga_android\"\n        - \"toga_cocoa\"\n        - \"toga_core\"\n        - \"toga_demo\"\n        - \"toga_dummy\"\n        - \"toga_gtk\"\n        - \"toga_textual\"\n        - \"toga_iOS\"\n        - \"toga_web\"\n        - \"toga_winforms\"\n    steps:\n      - name: Get packages\n        uses: dsaltares/fetch-gh-release-asset@1.1.2\n        with:\n          version: tags/${{ github.event.release.tag_name }}\n          file: ${{ github.event.repository.name }}.*\n          regex: true\n          target: packages/\n\n      - name: Extract ${{ matrix.package }}\n        run: |\n          mkdir dist\n          mv packages/$(echo ${{ matrix.package }} | sed 's/_/?/')-[0-9]* dist\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "beeware/toga"}
{"mined_at": "2024-07-15T14:00:44.585604", "created_at": "2022-10-14T19:46:37+02:00", "updated_at": "2022-10-19T18:13:55+02:00", "name": "Create Release", "path": ".github/workflows/release.yml", "contents": "name: Create Release\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  ci:\n    uses: ./.github/workflows/ci.yml\n    with:\n      attest-package: \"true\"\n\n  docs:\n    name: Verify Docs Build\n    uses: beeware/.github/.github/workflows/docs-build-verify.yml@main\n    secrets: inherit\n    with:\n      project-name: \"toga\"\n      project-version: ${{ github.ref_name }}\n\n  release:\n    name: Create GitHub release\n    needs: [ ci, docs ]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: Set Build Variables\n        run: |\n          echo \"VERSION=${GITHUB_REF_NAME#v}\" | tee -a $GITHUB_ENV\n\n      - name: Get Packages\n        uses: actions/download-artifact@v4.1.7\n        with:\n          pattern: ${{ format('{0}-*', needs.ci.outputs.artifact-basename) }}\n          merge-multiple: true\n          path: dist\n\n      - name: Create Release\n        uses: ncipollo/release-action@v1.14.0\n        with:\n          name: ${{ env.VERSION }}\n          draft: true\n          artifacts: \"dist/*\"\n          artifactErrorsFailBuild: true\n\n  deploy-test:\n    name: Publish to TestPyPI\n    runs-on: ubuntu-latest\n    needs: [ ci, release ]\n    permissions:\n      # This permission is required for trusted publishing.\n      id-token: write\n    continue-on-error: true\n    strategy:\n      # One element of this matrix failing should not terminate the others mid-run.\n      # This prevents one bad platform from stalling the publication of others.\n      fail-fast: false\n      matrix:\n        package:\n        - \"toga\"\n        - \"toga_android\"\n        - \"toga_cocoa\"\n        - \"toga_core\"\n        - \"toga_demo\"\n        - \"toga_dummy\"\n        - \"toga_gtk\"\n        - \"toga_iOS\"\n        - \"toga_textual\"\n        - \"toga_web\"\n        - \"toga_winforms\"\n    steps:\n      - name: Get Packages\n        uses: actions/download-artifact@v4.1.7\n        with:\n          pattern: ${{ format('{0}-*', needs.ci.outputs.artifact-basename) }}\n          merge-multiple: true\n          path: staging_dist\n\n      - name: Extract ${{ matrix.package }}\n        run: |\n          mkdir dist\n          mv staging_dist/$(echo ${{ matrix.package }} | sed 's/_/?/')-[0-9]* dist\n\n      - name: Publish to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "beeware/toga"}
{"mined_at": "2024-07-15T14:00:46.824425", "created_at": "2024-06-04T03:11:17+02:00", "updated_at": "2024-06-04T03:11:17+02:00", "name": "Build and Push Docker image", "path": ".github/workflows/docker-build-and-push.yml", "contents": "name: Build and Push Docker image\n\non:\n  push:\n    branches:\n      - 'master'\n      - 'staging'\n    tags:\n      - '*.*.*'\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          # list of Docker images to use as base name for tags\n          images: |\n            pokeapi/pokeapi\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to DockerHub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME_NARAMSIM }}\n          password: ${{ secrets.DOCKERHUB_TOKEN_NARAMSIM }}\n      - name: Inspect builder\n        run: |\n          echo \"Name:      ${{ steps.buildx.outputs.name }}\"\n          echo \"Endpoint:  ${{ steps.buildx.outputs.endpoint }}\"\n          echo \"Status:    ${{ steps.buildx.outputs.status }}\"\n          echo \"Flags:     ${{ steps.buildx.outputs.flags }}\"\n          echo \"Platforms: ${{ steps.buildx.outputs.platforms }}\"\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Resources/docker/app/Dockerfile\n          push: true\n          platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "pokeapi/pokeapi"}
{"mined_at": "2024-07-15T14:00:47.943700", "created_at": "2024-02-01T19:32:08+01:00", "updated_at": "2024-06-04T03:11:17+02:00", "name": "Build Docker image and create k8s with it", "path": ".github/workflows/docker-k8s.yml", "contents": "name: Build Docker image and create k8s with it\n\non:\n  pull_request:\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: pokeapi/pokeapi\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Build\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Resources/docker/app/Dockerfile\n          push: false\n          platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6\n          tags: pokeapi/pokeapi:local\n          labels: ${{ steps.meta.outputs.labels }}\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n  k8s:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: pokeapi/pokeapi\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Build\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Resources/docker/app/Dockerfile\n          push: false\n          load: true\n          platforms: local\n          tags: pokeapi/pokeapi:local\n          labels: ${{ steps.meta.outputs.labels }}\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n      - name: Lint k8s\n        run: (cd Resources/k8s/kustomize && yamllint .)\n      - name: Create k8s Kind Cluster\n        uses: helm/kind-action@v1.10.0\n        with:\n          cluster_name: pokeapi\n          version: v0.21.0\n      - name: Create deployment configuration\n        run: |\n          cp Resources/k8s/kustomize/base/secrets/postgres.env.sample Resources/k8s/kustomize/base/secrets/postgres.env\n          cp Resources/k8s/kustomize/base/secrets/graphql.env.sample Resources/k8s/kustomize/base/secrets/graphql.env\n          cp Resources/k8s/kustomize/base/config/pokeapi.env.sample Resources/k8s/kustomize/base/config/pokeapi.env\n      - name: Load local image to Kind\n        run: kind load docker-image pokeapi/pokeapi:local --name pokeapi\n      - name: K8s Apply\n        run: |\n          make kustomize-local-apply\n          kubectl proxy &\n          sleep 1\n          bash Resources/scripts/wait.sh http://localhost:8001/api/v1/namespaces/pokeapi/services/pokeapi/proxy/api/v2/\n      - name: Set default namespace and print info\n        run: |\n          kubectl config set-context --current --namespace pokeapi\n          kubectl describe deployment\n      - name: Migrate and build data\n        run: |\n          make k8s-migrate\n          make k8s-build-db\n          bash Resources/scripts/wait.sh http://localhost:8001/api/v1/namespaces/pokeapi/services/pokeapi/proxy/api/v2/pal-park-area/5/\n      - name: K8s wait for job\n        run: |\n          kubectl wait --timeout=600s --for=condition=complete job/load-graphql\n          last_command=$(kubectl get job -o jsonpath='{.status.succeeded}' load-graphql)\n          test \"$last_command\" -eq 1\n      - name: Get GQL output\n        run: kubectl logs jobs/load-graphql\n", "state": "active", "repository": "pokeapi/pokeapi"}
{"mined_at": "2024-07-15T14:00:50.104496", "created_at": "2021-07-15T09:38:55+02:00", "updated_at": "2021-07-15T09:38:55+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n#  push:\n#    branches: [ master ]\n#  pull_request:\n#    # The branches below must be a subset of the branches above\n#    branches: [ master ]\n  schedule:\n    - cron: '45 3 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "allegroai/clearml"}
{"mined_at": "2024-07-15T14:00:52.248687", "created_at": "2019-12-19T10:09:22+01:00", "updated_at": "2023-10-07T18:00:53+02:00", "name": "OctoDNS", "path": ".github/workflows/main.yml", "contents": "name: OctoDNS\non: [pull_request]\n\njobs:\n  config:\n    runs-on: ubuntu-latest\n    outputs:\n      json: ${{ steps.load.outputs.json }}\n    steps:\n    - uses: actions/checkout@v4\n    - id: load\n      # based on https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings\n      run: |\n        {\n          echo 'json<<EOF'\n          cat ./.ci-config.json\n          echo EOF\n        } >> $GITHUB_OUTPUT\n  ci:\n    needs: config\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # Defined in a file that resides in the top level of octodns/octodns,\n        # based on dates in https://devguide.python.org/versions/#versions\n        python-version: ${{ fromJson(needs.config.outputs.json).python_versions_active }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install virtualenv\n      - name: CI Build\n        run: |\n          ./script/cibuild\n      - name: Store Code Coverage Data\n        # if the previous step(s) failed try anyways\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: code-coverage-${{ matrix.python-version }}\n          path: |\n            .coverage\n            coverage.xml\n            htmlcov\n  setup-py:\n    needs: config\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          # Most recent release from https://devguide.python.org/versions/#versions\n          python-version: ${{ fromJson(needs.config.outputs.json).python_version_current }}\n          architecture: x64\n      - name: CI setup.py\n        run: |\n          ./script/cibuild-setup-py\n", "state": "active", "repository": "octodns/octodns"}
{"mined_at": "2024-07-15T14:00:53.276059", "created_at": "2022-03-09T15:45:04+01:00", "updated_at": "2022-03-09T16:06:57+01:00", "name": "OctoDNS Modules", "path": ".github/workflows/modules.yml", "contents": "name: OctoDNS Modules\non:\n  workflow_dispatch: # option to run manually if/when needed\n  pull_request_review:\n    types: [submitted]\n\njobs:\n  config:\n    runs-on: ubuntu-latest\n    outputs:\n      json: ${{ steps.load.outputs.json }}\n    steps:\n    - uses: actions/checkout@v4\n    - id: load\n      # based on https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings\n      run: |\n        {\n          echo 'json<<EOF'\n          cat ./.ci-config.json\n          echo EOF\n        } >> $GITHUB_OUTPUT\n  ci:\n    needs: config\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        module:\n          - asyncon/octoblox\n          - octodns/octodns-azure\n          - octodns/octodns-bind\n          - octodns/octodns-cloudflare\n          - octodns/octodns-constellix\n          - octodns/octodns-ddns\n          - octodns/octodns-digitalocean\n          - octodns/octodns-dnsimple\n          - octodns/octodns-dnsmadeeasy\n          - octodns/octodns-easydns\n          - octodns/octodns-edgecenter\n          - octodns/octodns-edgedns\n          - octodns/octodns-etchosts\n          - octodns/octodns-fastly\n          - octodns/octodns-gandi\n          - octodns/octodns-gcore\n          - octodns/octodns-googlecloud\n          - octodns/octodns-hetzner\n          - octodns/octodns-mythicbeasts\n          - octodns/octodns-ns1\n          - octodns/octodns-ovh\n          - octodns/octodns-powerdns\n          - octodns/octodns-rackspace\n          - octodns/octodns-route53\n          - octodns/octodns-selectel\n          - octodns/octodns-spf\n          - octodns/octodns-transip\n          - octodns/octodns-ultra\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ fromJson(needs.config.outputs.json).python_version_current }}\n          architecture: x64\n      - name: Test Module\n        run: |\n          ./script/cibuild-module ${{ matrix.module }}\n", "state": "active", "repository": "octodns/octodns"}
{"mined_at": "2024-07-15T14:00:54.501839", "created_at": "2022-01-27T02:59:03+01:00", "updated_at": "2022-01-27T02:59:03+01:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '42 4 * * *'\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v8\n        with:\n          stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.'\n          days-before-stale: 90\n          days-before-close: 7\n", "state": "active", "repository": "octodns/octodns"}
{"mined_at": "2024-07-15T14:00:56.542686", "created_at": "2020-01-11T14:20:07+01:00", "updated_at": "2020-01-11T14:20:07+01:00", "name": "Python application", "path": "", "contents": null, "state": "active", "repository": "timbrel/gitsavvy"}
{"mined_at": "2024-07-15T14:00:57.735926", "created_at": "2020-11-02T16:18:27+01:00", "updated_at": "2022-10-07T22:44:28+02:00", "name": "CI", "path": ".github/workflows/lint.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  merge_group:\n\njobs:\n  check-messages:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: kaste/upgrade-messages-test-action@v1\n\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - run: pip install \"flake8<6.0.0\"\n    - uses: TrueBrain/actions-flake8@v2\n\n  mypy:\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: ['linux', 'darwin', 'win32']\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: Install mypy\n      run: |\n        pip install mypy\n    - name: Check with mypy\n      run: |\n        mypy -p GitSavvy --platform=${{ matrix.platform }}\n\n", "state": "active", "repository": "timbrel/gitsavvy"}
{"mined_at": "2024-07-15T14:00:58.802356", "created_at": "2020-11-02T16:18:27+01:00", "updated_at": "2020-11-02T16:48:10+01:00", "name": "Run tests", "path": ".github/workflows/test.yml", "contents": "name: Run tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  merge_group:\n\njobs:\n  run-tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"windows-latest\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - run: |\n          git config --global user.name GitSavvy\n          git config --global user.email gitsavvy@gitsavvy.com\n      - uses: SublimeText/UnitTesting/actions/setup@v1\n      - uses: SublimeText/UnitTesting/actions/run-tests@v1\n\n  run-syntax-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: SublimeText/UnitTesting/actions/setup@v1\n      - uses: SublimeText/UnitTesting/actions/run-syntax-tests@v1\n", "state": "active", "repository": "timbrel/gitsavvy"}
{"mined_at": "2024-07-15T14:01:00.939560", "created_at": "2020-01-09T13:13:42+01:00", "updated_at": "2020-01-09T13:13:42+01:00", "name": "CI", "path": "", "contents": null, "state": "active", "repository": "apache/libcloud"}
{"mined_at": "2024-07-15T14:01:02.072130", "created_at": "2021-01-23T11:54:38+01:00", "updated_at": "2021-01-23T11:54:38+01:00", "name": "CodeQL Analysis", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL Analysis\"\n\non:\n  push:\n    branches: [ trunk ]\n  pull_request:\n    branches: [ trunk ]\n  schedule:\n    - cron: '0 3 * * *'\n\npermissions:\n  contents: read  # for actions/checkout to fetch code\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    permissions:\n      actions: read  # for github/codeql-action/init to get workflow details\n      security-events: write  # for github/codeql-action/autobuild to send a status report\n    name: Analyze\n    runs-on: ubuntu-latest\n    timeout-minutes: 12\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@master\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "apache/libcloud"}
{"mined_at": "2024-07-15T14:01:03.086626", "created_at": "2022-06-04T00:02:27+02:00", "updated_at": "2022-06-04T22:10:40+02:00", "name": "Dependency Review", "path": ".github/workflows/depsreview.yaml", "contents": "name: 'Dependency Review'\n\non:\n  pull_request:\n    branches:\n      - trunk\n\npermissions:\n  contents: read  # for actions/checkout to fetch code\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  dependency-review:\n    name: Dependency Review\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v4\n\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v4\n        # TODO: We really want one check for direct prod dependencies where we\n        # only allows ASF, MIT, BSD and nother one for testing / dev\n        # dependencies where we also allow GPL, etc.\n        #with:\n        #   allow-licenses: MIT, Apache-2.0, BSD-3-Clause\n", "state": "active", "repository": "apache/libcloud"}
{"mined_at": "2024-07-15T14:01:04.187466", "created_at": "2021-10-26T14:38:53+02:00", "updated_at": "2021-10-26T17:38:27+02:00", "name": "Install stable version using pip", "path": ".github/workflows/install_test.yml", "contents": "# Workflow which verifies that the latest stable version can be installed from\n# pip on all the supported Python versions\nname: Install stable version using pip\n\non:\n  schedule:\n    - cron: '0 13 * * *'\n    - cron: '0 2 * * *'\n\npermissions:\n  contents: read  # for actions/checkout to fetch code\n\njobs:\n  install_and_verify:\n    name: Install\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 2\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - \"ubuntu-latest\"\n        python_version:\n          - 3.7\n          - 3.8\n          - 3.9\n          - \"3.10\"\n          - \"3.11\"\n          - \"pypy-3.7\"\n        include:\n          # python 3.5 + 3.6 is not supported with ubuntu-latest anymore so we need to\n          # use ubuntu 20.04\n          - python_version: 3.5\n            os: ubuntu-20.04\n          - python_version: 3.6\n            os: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n\n      - name: Use Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install Libcloud\n        run: |\n          python --version\n          pip show apache-libcloud && exit 1\n          pip install apache-libcloud\n          pip show apache-libcloud\n\n  # Job which verifies that the checksum for release artifacts for the latest\n  # stable version are the same for official ASF mirror and PyPi\n  verify_checksums:\n    name: Verify Artifacts Checksum\n    runs-on: ubuntu-latest\n    timeout-minutes: 2\n\n    steps:\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n\n      - name: Verify Checksums\n        run: |\n          LAST_STABLE_VERSION=$(curl -s --fail https://pypi.org/pypi/apache-libcloud/json | jq \".releases | to_entries | last | .key\" -r)\n          echo \"Verifying checksums for version ${LAST_STABLE_VERSION}\"\n          ./dist/verify_checksums.sh \"apache-libcloud-${LAST_STABLE_VERSION}\"\n", "state": "active", "repository": "apache/libcloud"}
{"mined_at": "2024-07-15T14:01:05.211723", "created_at": "2021-05-02T21:25:28+02:00", "updated_at": "2021-05-02T22:26:29+02:00", "name": "Integration Tests", "path": ".github/workflows/integration-tests.yml", "contents": "# NOTE: Integration tests are part of a separate workflow so we can re-run just\n# this workflow on failure\nname: Integration Tests\n\non:\n  push:\n    branches:\n      - trunk\n  pull_request:\n    branches:\n      - trunk\n  schedule:\n    - cron: '0 1 * * *'\n\npermissions:\n  contents: read  # for actions/checkout to fetch code\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  # Needed if we want colors in pytest output without tty and script -e -c wrapper\n  PY_COLORS: \"1\"\n  FORCE_COLOR: \"1\"\n\njobs:\n  integration_tests:\n    name: Run Integration Tests\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n\n    strategy:\n      matrix:\n        python_version: [3.8]\n\n    steps:\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n\n      - name: Use Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install OS / deb dependencies\n        run: |\n          sudo DEBIAN_FRONTEND=noninteractive apt-get update\n          sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq gcc libvirt-dev\n\n      - name: Cache Python Dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements-tests.txt', 'integration/storage/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install Python Dependencies\n        run: |\n          pip install -r requirements-ci.txt\n\n      - name: Run tox target\n        run: |\n          tox -e integration-storage\n        env:\n          AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_ACCESS_KEY_SECRET: ${{ secrets.AWS_ACCESS_KEY_SECRET }}\n", "state": "active", "repository": "apache/libcloud"}
{"mined_at": "2024-07-15T14:01:06.473393", "created_at": "2020-12-13T13:46:36+01:00", "updated_at": "2020-12-13T13:46:36+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - trunk\n  pull_request:\n    branches:\n      - trunk\n  schedule:\n    - cron: '0 1 * * *'\n\npermissions:\n  contents: read  # for actions/checkout to fetch code\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  # Needed if we want colors in pytest output without tty and script -e -c wrapper\n  PY_COLORS: \"1\"\n  FORCE_COLOR: \"1\"\n\njobs:\n  unit_tests:\n    name: Unit Tests (Python ${{ matrix.python_version }})\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 8\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version:\n          - 3.8\n          - 3.9\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          # cryptography is not compatible with older PyPy versions\n          - \"pypy-3.8\"\n        os:\n          - ubuntu-latest\n        include:\n          - python_version: pyjion\n            os: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n\n      - name: Use Python ${{ matrix.python_version }}\n        if: ${{ matrix.python_version != 'pyjion' }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install OS / deb dependencies\n        run: |\n          sudo DEBIAN_FRONTEND=noninteractive apt-get update\n          sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq gcc libvirt-dev\n\n      - name: Use Python 3.10 (pyjion)\n        if: ${{ matrix.python_version == 'pyjion' }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      # From https://github.com/tonybaloney/Pyjion/blob/develop/main/.github/workflows/benchmark.yml#L26 (MIT)\n      - name: Install OS / deb dependencies\n        if: ${{ matrix.python_version == 'pyjion' }}\n        run: |\n          sudo DEBIAN_FRONTEND=noninteractive apt-get update\n          sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq cmake llvm-9 clang-9 autoconf automake \\\n          libtool build-essential python curl git lldb-6.0 liblldb-6.0-dev \\\n          libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev \\\n          libssl-dev libnuma-dev libkrb5-dev zlib1g-dev\n\n      - name: Setup Dotnet 6\n        if: ${{ matrix.python_version == 'pyjion' }}\n        uses: actions/setup-dotnet@v4.0.0\n        with:\n          dotnet-version: \"6.0.100\"\n\n      - name: Cache Python Dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements-tests.txt', '') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install Pyjion\n        if: ${{ matrix.python_version == 'pyjion' }}\n        run: |\n          pip install pyjion\n\n      - name: Install Python Dependencies\n        run: |\n          pip install -r requirements-ci.txt\n\n      - name: Run unit tests tox target\n        run: |\n         tox -e py${{ matrix.python_version }}\n\n      - name: Run dist install checks tox target\n        # NOTE: 3.12 will be failing until we migrate away from setup.py\n        if: ${{ matrix.python_version != 'pypy-3.7' && matrix.python_version != 'pypy-3.8' && matrix.python_version != 'pyjion' && matrix.python_version != '3.12-dev' }}\n        run: |\n         tox -e py${{ matrix.python_version }}-dist,py${{ matrix.python_version }}-dist-wheel\n\n  code_coverage:\n    name: Generate Code Coverage\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python_version: [3.8]\n\n    steps:\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n\n      - name: Use Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install OS / deb dependencies\n        run: |\n          sudo DEBIAN_FRONTEND=noninteractive apt-get update\n          sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq graphviz gcc libvirt-dev\n\n      - name: Cache Python Dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements-tests.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install Python Dependencies\n        run: |\n          pip install -r requirements-ci.txt\n\n      - name: Run Checks\n        run: |\n          tox -e coverage-ci\n\n      - name: Upload Coverage to codecov.io\n        uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0\n        with:\n          # We utilize secret for more realiable builds. Without secret being set, upload step\n          # fails fairly often.\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n          verbose: true\n\n  lint_checks:\n    name: Run Various Lint and Other Checks\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python_version: [3.8]\n\n    steps:\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n\n      - name: Use Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install OS / deb dependencies\n        run: |\n          sudo DEBIAN_FRONTEND=noninteractive apt-get update\n          sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq graphviz gcc libvirt-dev\n\n      - name: Cache Python Dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements-lint.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install Python Dependencies\n        run: |\n          pip install -r requirements-ci.txt\n\n      - name: Run shellcheck\n        run: |\n          shellcheck dist/*.sh contrib/*.sh\n\n      - name: Run Python Checks\n        run: |\n          tox -e black-check,isort-check,pyupgrade,checks,import-timings,lint,pylint,mypy\n\n  build_test_docker_image:\n    name: Build and Verify Docker Image\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python_version: [3.8]\n\n    steps:\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n\n      - name: Build Testing Docker Image\n        run: |\n          docker build -f contrib/Dockerfile -t libcloud_runtest_img .\n\n      - name: Verify Image Works\n        # This step runs checks under various Python versions and it's slow so\n        # we only run it on nightly basis\n        if: ${{ github.event.schedule == '0 1 * * *' }}\n        run: |\n          docker run libcloud_runtest_img\n\n  security_checks:\n    name: Run Security Checks\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python_version: [3.8]\n\n    steps:\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n\n      - name: Install OS / deb dependencies\n        run: |\n          sudo DEBIAN_FRONTEND=noninteractive apt-get update\n          sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq gcc libvirt-dev\n\n      - name: Use Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Cache Python Dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements-lint.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install Python Dependencies\n        run: |\n          pip install -r requirements-ci.txt\n\n      - name: Install Library Into Virtualenv\n        run: |\n          python -m venv venv/\n          source venv/bin/activate\n          python -m pip install .\n\n      - name: Run Pip Audit Check On Main Library Dependencies\n        uses: ./.github/actions/gh-action-pip-audit/  # v1.0.0\n        with:\n          virtual-environment: venv/\n          # setuptools which we don't install or depend on directly\n          # PYSEC-2023-228 - pip vulnerability and we don't install pip directly\n          ignore-vulns: |\n            GHSA-r9hx-vwmv-q579\n            PYSEC-2022-43012\n            PYSEC-2023-228\n\n      - name: Cleanup\n        run: |\n          rm -rf venv/ || true\n\n      - name: Run Pip Audit Check On All Development And Test Dependencies\n        uses: ./.github/actions/gh-action-pip-audit/  # v1.0.0\n        with:\n          inputs: requirements-tests.txt requirements-lint.txt requirements-mypy.txt requirements-docs.txt\n          # setuptools which we don't install or depend on directly\n          ignore-vulns: |\n            GHSA-r9hx-vwmv-q579\n\n      - name: Run Bandit Check\n        run: |\n          tox -e bandit\n\n  micro-benchmarks:\n    name: Micro Benchmarks\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python_version: [3.8]\n\n    steps:\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n\n      - name: Use Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install OS / deb dependencies\n        run: |\n          sudo DEBIAN_FRONTEND=noninteractive apt-get update\n          sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq graphviz gcc libvirt-dev\n\n      - name: Cache Python Dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements-tests.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install Python Dependencies\n        run: |\n          pip install -r requirements-ci.txt\n\n      - name: Run Micro Benchmarks\n        run: |\n          tox -e micro-benchmarks\n\n  docs:\n    name: Build and upload Documentation\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python_version: [3.8]\n\n    steps:\n      - name: Print Environment Info\n        id: printenv\n        run: |\n          printenv | sort\n\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n\n      - name: Use Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install OS / deb dependencies\n        run: |\n          sudo DEBIAN_FRONTEND=noninteractive apt-get update\n          sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq graphviz gcc libvirt-dev\n\n      - name: Cache Python Dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements-docs.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install Python Dependencies\n        run: |\n          pip install -r requirements-ci.txt\n\n      - name: Build Docs\n        run: |\n          tox -e docs\n\n      - name: Trigger ReadTheDocs build\n        if: ${{ github.ref_name == 'trunk' }}\n        env:\n          RTD_TOKEN: ${{ secrets.RTD_TOKEN }}\n          BRANCH_NAME: \"trunk\"\n        run: |\n          pip install requests\n          python ./contrib/trigger_rtd_build.py\n", "state": "active", "repository": "apache/libcloud"}
{"mined_at": "2024-07-15T14:01:07.604488", "created_at": "2022-03-18T23:47:36+01:00", "updated_at": "2022-03-19T00:05:07+01:00", "name": "Publish dev release bundle", "path": ".github/workflows/publish_dev_artifact.yml", "contents": "# Workflow which builds .tar.gz and .whl development artifact on each push to\n# trunk and stores it as a Github Actions workflow artifact\n# NOTE: Those artifacts are not persisted long term and are mostly meant to be\n# used for testing and similar\nname: Publish dev release bundle\n\non:\n  workflow_run:\n    workflows:\n      - \"CI\"\n    branches:\n      - trunk\n    types:\n      - completed\n\npermissions:\n  contents: read  # for actions/checkout to fetch code\n\njobs:\n  generate_and_publish_dev_release_artifacts:\n    name: Generate and Publish Dev Release Artifacts\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n\n    steps:\n      - name: Print Environment Info\n        id: printenv\n        run: |\n          printenv | sort\n\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n\n      - name: Use Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Install Dependencies\n        run: |\n          pip install --upgrade pip\n          pip install build\n\n      - name: Create Dev Artifacts\n        run: |\n          python -m build\n          ls -la dist\n\n          # Ensure artifacts have been created\n          ls -la dist | grep .tar.gz\n          ls -la dist | grep .whl\n\n      - name: Store dev artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: libcloud-dev-artifacts\n          retention-days: 60\n          path: |\n            dist/*.tar.gz\n            dist/*.whl\n", "state": "active", "repository": "apache/libcloud"}
{"mined_at": "2024-07-15T14:01:08.940320", "created_at": "2020-12-13T14:13:16+01:00", "updated_at": "2020-12-13T14:13:16+01:00", "name": "Publish pricing.json to S3 bucket", "path": ".github/workflows/publish_pricing_to_s3.yml", "contents": "# Workflow which runs on daily basis and publishes pricing data to S3 bucket\nname: Publish pricing.json to S3 bucket\n\non:\n  schedule:\n    - cron: '0 13 * * *'\n    - cron: '0 2 * * *'\n\npermissions:\n  contents: read  # for actions/checkout to fetch code\n\njobs:\n  generate_and_publish_pricing_data:\n    name: Generate and Publish Pricing file to S3\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n\n    strategy:\n      matrix:\n        python_version: [3.8]\n\n    steps:\n      - name: Print Environment Info\n        id: printenv\n        run: |\n          printenv | sort\n\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 1\n\n      - name: Use Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install Python Dependencies\n        run: |\n          pip install -r requirements-ci.txt\n\n      - name: Generate and publish pricing data\n        env:\n          GCE_API_KEY: ${{ secrets.GCE_API_KEY }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_ACCESS_KEY_SECRET: ${{ secrets.AWS_ACCESS_KEY_SECRET }}\n        run: |\n          script -e -c \"tox -escrape-and-publish-provider-prices\"\n\n      - name: Verify files can be downloaded\n        # Verify that the permissions are correct and files can be downloaded publicly\n        run: |\n          curl --fail https://libcloud-pricing-data.s3.amazonaws.com/pricing.json\n          curl --fail https://libcloud-pricing-data.s3.amazonaws.com/pricing.json.sha256\n          curl --fail https://libcloud-pricing-data.s3.amazonaws.com/pricing.json.sha512\n", "state": "active", "repository": "apache/libcloud"}
{"mined_at": "2024-07-15T14:01:10.978357", "created_at": "2020-11-13T10:43:00+01:00", "updated_at": "2020-11-13T10:50:35+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\non:\n  push:\n    branches-ignore:\n      - main\n  pull_request:\n    branches-ignore:\n      - main\njobs:\n  test:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres\n        ports:\n          - 5432:5432\n        env:\n          POSTGRES_PASSWORD: 123456\n          POSTGRES_USER: postgres\n        options: --health-cmd=pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n      mysql:\n        image: mysql\n        ports:\n          - 3306:3306\n        env:\n          MYSQL_ROOT_PASSWORD: 123456\n        options: --health-cmd=\"mysqladmin ping\" --health-interval 10s --health-timeout 5s --health-retries 5\n      mssql:\n        image: mcr.microsoft.com/mssql/server:2019-CU15-ubuntu-20.04\n        ports:\n          - 1433:1433\n        env:\n          ACCEPT_EULA: Y\n          SA_PASSWORD: Abcd12345678\n        options: >-\n          --health-cmd \"/opt/mssql-tools/bin/sqlcmd -U sa -P Abcd12345678 -Q 'select 1' -b -o /dev/null\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    env:\n      TORTOISE_TEST_MODULES: tests.testmodels\n      TORTOISE_MYSQL_PASS: 123456\n      TORTOISE_POSTGRES_PASS: 123456\n      TORTOISE_MSSQL_PASS: Abcd12345678\n      TORTOISE_MSSQL_DRIVER: ODBC Driver 18 for SQL Server\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install and configure Poetry\n        run: |\n          pip install -U pip poetry\n          poetry config virtualenvs.create false\n      - name: Install ODBC driver\n        run: |\n          sudo curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -\n          sudo curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list -o /etc/apt/sources.list.d/mssql-release.list\n          sudo apt-get update\n          ACCEPT_EULA=Y sudo apt-get install -y msodbcsql18\n      - name: Run ci\n        run: make ci\n      - name: Test Examples\n        run: |\n          export DEST=examples/blacksheep && PYTHONPATH=$DEST pytest $PYTEST_ARGS $DEST/_tests.py\n          export DEST=examples/fastapi && PYTHONPATH=$DEST pytest $PYTEST_ARGS $DEST/_tests.py\n        env:\n          PYTHONDEVMODE: 1\n          PYTEST_ARGS: \"-n auto --cov=tortoise --cov-append --tb=native -q\"\n      - name: Upload Coverage\n        run: |\n          pip3 install --upgrade coveralls\n          coveralls --service=github\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: ${{ matrix.python-version }}\n          COVERALLS_PARALLEL: true\n\n  coveralls:\n    name: Finish Coveralls\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - name: Finished\n        run: |\n          pip3 install --upgrade coveralls\n          coveralls --finish\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "tortoise/tortoise-orm"}
{"mined_at": "2024-07-15T14:01:12.108478", "created_at": "2022-05-23T03:24:52+02:00", "updated_at": "2022-05-23T03:24:52+02:00", "name": "gh-pages-release", "path": ".github/workflows/gh-pages-release.yml", "contents": "name: gh-pages-release\non:\n  release:\n    types:\n      - created\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Install and configure Poetry\n        run: |\n          pip install -U pip poetry\n          poetry config virtualenvs.create false\n      - name: Build docs\n        run: make docs\n      - name: Deploy release docs\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          personal_token: ${{ secrets.PERSONAL_TOKEN }}\n          publish_dir: build/html\n          external_repository: tortoise/tortoise.github.io\n          publish_branch: master\n          destination_dir: ${{ github.ref_name }}\n", "state": "active", "repository": "tortoise/tortoise-orm"}
{"mined_at": "2024-07-15T14:01:13.298034", "created_at": "2021-07-07T15:42:47+02:00", "updated_at": "2021-07-07T15:42:47+02:00", "name": "gh-pages", "path": ".github/workflows/gh-pages.yml", "contents": "name: gh-pages\non:\n  workflow_dispatch:\n  release:\n    types:\n      - created\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Install and configure Poetry\n        run: |\n          pip install -U pip poetry\n          poetry config virtualenvs.create false\n      - name: Build docs\n        run: make docs\n      - name: Deploy latest docs\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          personal_token: ${{ secrets.PERSONAL_TOKEN }}\n          publish_dir: build/html\n          external_repository: tortoise/tortoise.github.io\n          publish_branch: main\n", "state": "active", "repository": "tortoise/tortoise-orm"}
{"mined_at": "2024-07-15T14:01:14.366899", "created_at": "2020-09-16T10:13:29+02:00", "updated_at": "2020-09-16T10:13:29+02:00", "name": "pypi", "path": ".github/workflows/pypi.yml", "contents": "name: pypi\non:\n  release:\n    types:\n      - created\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Install and configure Poetry\n        run: |\n          pip install -U pip poetry\n          poetry config virtualenvs.create false\n      - name: Install requirements\n        run: make deps\n      - name: Build dists\n        run: make build\n      - name: Pypi Publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "tortoise/tortoise-orm"}
{"mined_at": "2024-07-15T14:01:16.423626", "created_at": "2020-01-13T01:00:34+01:00", "updated_at": "2021-05-15T15:07:06+02:00", "name": "Run examples", "path": ".github/workflows/examples.yml", "contents": "name: Run examples\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.11\n    - name: Install dependencies\n      run: |\n        pip install ogb matplotlib\n    - name: Install Spektral\n      run: |\n        pip install .\n    - name: Just one epoch\n      run: |\n        sed -i -e 's/epochs = /epochs = 1 #/g' examples/node_prediction/*.py\n        sed -i -e 's/epochs = /epochs = 1 #/g' examples/graph_prediction/*.py\n        sed -i -e 's/epochs = /epochs = 1 #/g' examples/other/*.py\n    - name: Run all examples\n      run: |\n        cd examples/node_prediction/\n        for f in *.py; do\n          echo \"##### $f #####\"\n          python $f\n        done\n        cd ..\n        cd graph_prediction/\n        for f in *.py; do\n          echo \"##### $f #####\"\n          python $f\n        done\n        cd ..\n        cd other/\n        for f in *.py; do\n          echo \"##### $f #####\"\n          python $f\n        done\n        cd ..\n", "state": "active", "repository": "danielegrattarola/spektral"}
{"mined_at": "2024-07-15T14:01:17.547222", "created_at": "2021-04-20T16:44:50+02:00", "updated_at": "2021-07-09T09:36:22+02:00", "name": "Style check", "path": ".github/workflows/style_check.yml", "contents": "name: Style check\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.11\n    - name: Lint Python code\n      run: |\n        pip install flake8\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n    - name: Black formatting\n      run: |\n        pip install black\n        black --diff --check .\n    - name: Ensure import sorted\n      run: |\n        pip install isort\n        isort -rc --diff --check-only .\n", "state": "active", "repository": "danielegrattarola/spektral"}
{"mined_at": "2024-07-15T14:01:18.770769", "created_at": "2021-04-20T16:44:50+02:00", "updated_at": "2021-07-09T09:36:22+02:00", "name": "Tests and coverage", "path": ".github/workflows/test.yml", "contents": "name: Tests and coverage\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Setup utilities\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install pytest coverage codecov\n    - name: Install Spektral\n      run: |\n        python -m pip install .\n    - name: Test with pytest and coverage\n      run: |\n        python -m coverage run --source=. -m pytest\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n", "state": "active", "repository": "danielegrattarola/spektral"}
{"mined_at": "2024-07-15T14:01:19.723061", "created_at": "2022-02-01T14:53:47+01:00", "updated_at": "2022-02-01T14:53:47+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "danielegrattarola/spektral"}
{"mined_at": "2024-07-15T14:01:21.688789", "created_at": "2019-12-19T04:10:57+01:00", "updated_at": "2020-01-12T10:13:42+01:00", "name": "Test Application", "path": ".github/workflows/pythonapp.yml", "contents": "name: Test Application\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    name: Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          path: ~/test\n      - name: Install dependencies\n        run: |\n          make init\n      - name: Test with pytest\n        env:\n          MAIL_HOST: ${{ github.secrets.MAIL_HOST }}\n          MAIL_PORT: ${{ github.secrets.MAIL_PORT }}\n          MAIL_USERNAME: ${{ github.secrets.MAIL_USERNAME }}\n          MAIL_PASSWORD: ${{ github.secrets.MAIL_PASSWORD }}\n          DB_CONFIG_PATH: tests/integrations/config/database\n        run: |\n          make ci\n  lint:\n    runs-on: ubuntu-latest\n    name: Lint\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up latest Python 3.X\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.x\"\n      - name: Install Flake8\n        run: |\n          pip install flake8\n      - name: Lint\n        run: make lint\n", "state": "active", "repository": "masoniteframework/masonite"}
{"mined_at": "2024-07-15T14:01:22.866904", "created_at": "2020-01-18T14:17:38+01:00", "updated_at": "2020-01-18T14:17:38+01:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        env:\n          MAIL_HOST: ${{ github.secrets.MAIL_HOST }}\n          MAIL_PORT: ${{ github.secrets.MAIL_PORT }}\n          MAIL_USERNAME: ${{ github.secrets.MAIL_USERNAME }}\n          MAIL_PASSWORD: ${{ github.secrets.MAIL_PASSWORD }}\n          DB_CONFIG_PATH: tests/integrations/config/database\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n          make init\n          make ci\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n          MAIL_HOST: ${{ github.secrets.MAIL_HOST }}\n          MAIL_PORT: ${{ github.secrets.MAIL_PORT }}\n          MAIL_USERNAME: ${{ github.secrets.MAIL_USERNAME }}\n          MAIL_PASSWORD: ${{ github.secrets.MAIL_PASSWORD }}\n          DB_CONFIG_PATH: tests/integrations/config/database\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n      - name: Discord notification\n        env:\n          DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}\n        uses: Ilshidur/action-discord@master\n        with:\n          args: \"{{ EVENT_PAYLOAD.repository.full_name }} {{ EVENT_PAYLOAD.release.tag_name }} has been released. Checkout the full release notes here: {{ EVENT_PAYLOAD.release.html_url }}\"\n", "state": "active", "repository": "masoniteframework/masonite"}
{"mined_at": "2024-07-15T14:01:26.040831", "created_at": "2020-09-08T12:26:58+02:00", "updated_at": "2020-09-08T12:26:58+02:00", "name": "Docker build", "path": ".github/workflows/docker.yml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions\n#\nname: Docker build\n\non:\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \"**.rst\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/docker.yml\"\n      - \".pre-commit-config.yaml\"\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \"**.rst\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/docker.yml\"\n      - \".pre-commit-config.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n    tags:\n      - \"**\"\n  workflow_dispatch:\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      # https://github.com/docker/build-push-action\n      - name: Build Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          tags: jupyter/repo2docker:pr\n          push: false\n\n      - name: Run repo2docker Docker image\n        run: docker run jupyter/repo2docker:pr repo2docker --version\n", "state": "active", "repository": "jupyterhub/repo2docker"}
{"mined_at": "2024-07-15T14:01:27.169353", "created_at": "2021-01-23T10:26:13+01:00", "updated_at": "2021-08-21T18:50:13+02:00", "name": "Publish", "path": ".github/workflows/release.yml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions\n#\nname: Publish\n\non:\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \"**.rst\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/release.yml\"\n      - \".pre-commit-config.yaml\"\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \"**.rst\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/release.yml\"\n      - \".pre-commit-config.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n    tags:\n      - \"**\"\n  workflow_dispatch:\n\njobs:\n  build-n-publish:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: install build requirements\n        run: |\n          pip install build\n          pip freeze\n\n      - name: build release\n        run: |\n          python -m build --sdist --wheel .\n          ls -l dist\n\n      # ref: https://github.com/actions/upload-artifact#readme\n      - uses: actions/upload-artifact@v4\n        with:\n          name: repo2docker-${{ github.sha }}\n          path: \"dist/*\"\n          if-no-files-found: error\n\n      # This step is only run when a new tag is pushed\n      # all previous steps always run in order to exercise them\n      - name: Publish distribution to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_PASSWORD }}\n\n  publish-docker:\n    runs-on: ubuntu-22.04\n    env:\n      DEFAULT_REGISTRY: quay.io\n      IMAGE_NAME: jupyterhub/repo2docker\n\n    services:\n      # So that we can test this in PRs/branches\n      local-registry:\n        image: registry:2\n        ports:\n          - 5000:5000\n\n    steps:\n      - name: Should we push this image to a public registry?\n        run: |\n          if [ \"${{ startsWith(github.ref, 'refs/tags/') || (github.ref == 'refs/heads/main') }}\" = \"true\" ]; then\n              REGISTRY=$DEFAULT_REGISTRY\n          else\n              REGISTRY=localhost:5000\n          fi\n          echo \"REGISTRY=$REGISTRY\" >> $GITHUB_ENV\n          echo \"Publishing to $REGISTRY\"\n\n      # versioneer requires the full git history for non-tags\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      # Setup docker to build for multiple platforms, see:\n      # https://github.com/docker/build-push-action/tree/v2.4.0#usage\n      # https://github.com/docker/build-push-action/blob/v2.4.0/docs/advanced/multi-platform.md\n      - name: Set up QEMU (for docker buildx)\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx (for multi-arch builds)\n        uses: docker/setup-buildx-action@v3\n        with:\n          # Allows pushing to registry on localhost:5000\n          driver-opts: network=host\n\n      - name: Setup push rights to Docker registry\n        if: env.REGISTRY != 'localhost:5000'\n        run: |\n          docker login -u \"${{ secrets.DOCKER_REGISTRY_USERNAME }}\" -p \"${{ secrets.DOCKER_REGISTRY_TOKEN }}\" \"${{ env.REGISTRY }}\"\n\n      # when building jupyter/repo2docker:master\n      # also push jupyter/repo2docker:1.2.3-3.abcd1234 (replace + with -)\n      - name: Get list of repo2docker docker tags\n        run: |\n          VERSION=$(python3 -c 'import versioneer; print(versioneer.get_version().replace(\"+\", \"-\"))')\n          TAGS=\"${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:$VERSION\"\n          if [ \"${{ github.ref }}\" == \"refs/heads/main\" ]; then\n            TAGS=\"$TAGS,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:main\"\n          fi\n          if [ \"${{ startsWith(github.ref, 'refs/tags/') }}\" = \"true\" ]; then\n            TAGS=\"$TAGS,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest\"\n          fi\n\n          echo \"TAGS=$TAGS\"\n          echo \"TAGS=$TAGS\" >> $GITHUB_ENV\n\n      - name: Build and push repo2docker\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ env.TAGS }}\n", "state": "active", "repository": "jupyterhub/repo2docker"}
{"mined_at": "2024-07-15T14:01:28.397102", "created_at": "2020-08-14T18:44:17+02:00", "updated_at": "2022-10-09T13:02:33+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions\n#\nname: Test\n\non:\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \"**.rst\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/test.yml\"\n      - \".pre-commit-config.yaml\"\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**.md\"\n      - \"**.rst\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/test.yml\"\n      - \".pre-commit-config.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n    tags:\n      - \"**\"\n  schedule:\n    # Run weekly test so we know if tests break for external reasons\n    # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#scheduled-events\n    #\n    # At 10:36 on Sunday (https://crontab.guru)\n    - cron: '36 10 * * 0'\n  workflow_dispatch:\n\n# Global environment variables\nenv:\n  GIT_COMMITTER_EMAIL: ci-user@github.local\n  GIT_COMMITTER_NAME: CI User\n  GIT_AUTHOR_EMAIL: ci-user@github.local\n  GIT_AUTHOR_NAME: CI User\n\njobs:\n  test:\n    runs-on: ubuntu-${{ matrix.ubuntu_version }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        ubuntu_version: [\"22.04\"]\n        python_version: [\"3.9\"]\n        repo_type:\n          - base\n          - conda\n          - dockerfile\n          - external\n          - julia\n          - nix\n          - pipfile\n          - r\n          - unit\n          - venv\n        include:\n          # The actions/setup-python action with Python version 3.6 isn't\n          # possible to use with the ubuntu-22.04 runner, so we use ubuntu-20.04\n          # for this test where Python 3.6 remain available.\n          - ubuntu_version: \"20.04\"\n            python_version: \"3.6\"\n            repo_type: venv\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.python_version }}\"\n\n      - name: Install dependencies\n        run: |\n          pip install -r dev-requirements.txt\n          pip freeze\n\n      - name: Install repo2docker\n        run: |\n          python -m build --wheel .\n          pip install dist/*.whl\n\n          # add for mercurial tests\n          pip install mercurial hg-evolve\n\n          pip freeze\n\n      - name: Run pytest\n        run: |\n          pytest --verbose --color=yes --durations=10 --cov=repo2docker tests/${{ matrix.repo_type }}\n\n      - uses: codecov/codecov-action@v4\n", "state": "active", "repository": "jupyterhub/repo2docker"}
{"mined_at": "2024-07-15T14:01:30.633468", "created_at": "2023-09-14T15:24:59+02:00", "updated_at": "2023-09-21T22:38:22+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  lint:\n    name: Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n      - uses: pre-commit/action@v3.0.0\n\n  test:\n    name: Unit Tests\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: python -m pip install -U pip -r requirements-dev.txt \"coveralls<3.0.0\"\n\n      - name: Run test suite\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tox\n          coveralls\n", "state": "active", "repository": "kayak/pypika"}
{"mined_at": "2024-07-15T14:01:32.661992", "created_at": "2022-05-13T23:28:51+02:00", "updated_at": "2022-05-15T13:49:15+02:00", "name": "Code Scanning - Action", "path": ".github/workflows/codeql.yml", "contents": "name: \"Code Scanning - Action\"\n\non:\n  pull_request:\n\njobs:\n  CodeQL-Build:\n    # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest\n    runs-on: ubuntu-latest\n\n    permissions:\n      # required for all workflows\n      security-events: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        # Override language selection by uncommenting this and choosing your languages\n        # with:\n        #   languages: go, javascript, csharp, python, cpp, java\n\n      # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below).\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following\n      #    three lines and modify them (or add more) to build your code if your\n      #    project uses a compiled language\n\n      #- run: |\n      #     make bootstrap\n      #     make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "jazzband/django-axes"}
{"mined_at": "2024-07-15T14:01:33.721905", "created_at": "2020-11-26T17:11:05+01:00", "updated_at": "2020-11-26T17:11:05+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n    - '*'\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    if: github.repository == 'jazzband/django-axes'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U setuptools twine wheel\n\n      - name: Build package\n        run: |\n          python setup.py --version\n          python setup.py sdist --format=gztar bdist_wheel\n          twine check dist/*\n\n      - name: Upload packages to Jazzband\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: jazzband\n          password: ${{ secrets.JAZZBAND_RELEASE_KEY }}\n          repository-url: https://jazzband.co/projects/django-axes/upload\n", "state": "active", "repository": "jazzband/django-axes"}
{"mined_at": "2024-07-15T14:01:34.840070", "created_at": "2020-11-26T10:21:10+01:00", "updated_at": "2020-11-26T10:21:10+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: build (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }})\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 5\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        django-version: ['3.2', '4.2', '5.0']\n        include:\n          # Tox configuration for QA environment\n          - python-version: '3.12'\n            django-version: 'qa'\n          # Django main\n          - python-version: '3.12'\n            django-version: 'main'\n            experimental: true\n          # PyPy 3.10\n          - python-version: 'pypy-3.10'\n            django-version: '3.2'\n            experimental: true\n          - python-version: 'pypy-3.10'\n            django-version: '4.2'\n            experimental: true\n          - python-version: 'pypy-3.10'\n            django-version: '5.0'\n            experimental: true\n        exclude:\n          - python-version: '3.11'\n            django-version: '3.2'\n          - python-version: '3.12'\n            django-version: '3.2'\n          - python-version: '3.8'\n            django-version: '5.0'\n          - python-version: '3.9'\n            django-version: '5.0'\n\n\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"::set-output name=dir::$(pip cache dir)\"\n\n    - name: Cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key:\n          ${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }}\n        restore-keys: |\n          ${{ matrix.python-version }}-v1-\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade tox tox-gh-actions\n\n    - name: Tox tests\n      run: |\n        tox -v\n      env:\n        DJANGO: ${{ matrix.django-version }}\n\n    - name: Upload coverage\n      uses: codecov/codecov-action@v3\n      with:\n        name: Python ${{ matrix.python-version }}\n", "state": "active", "repository": "jazzband/django-axes"}
{"mined_at": "2024-07-15T14:01:36.848937", "created_at": "2023-03-13T01:53:56+01:00", "updated_at": "2023-03-13T23:19:07+01:00", "name": "ci-manifest", "path": ".github/workflows/ci-manifest.yml", "contents": "# Reference:\n#   - https://github.com/actions/checkout\n\nname: ci-manifest\n\non:\n  pull_request:\n    branches:\n      - \"*\"\n\n  push:\n    branches-ignore:\n      - \"dependabot/*\"\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  manifest:\n    name: \"check-manifest\"\n\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: \"check-manifest\"\n        run: |\n          pipx run check-manifest\n", "state": "active", "repository": "scitools/cartopy"}
{"mined_at": "2024-07-15T14:01:38.026235", "created_at": "2020-12-12T00:27:45+01:00", "updated_at": "2020-12-16T15:59:07+01:00", "name": "Tests", "path": ".github/workflows/ci-testing.yml", "contents": "name: Tests\n\non:\n  push:\n  pull_request:\n  schedule:\n    # 10th of each month\n    - cron: \"0 0 10 * *\"\n  workflow_dispatch:\n\njobs:\n  build:\n    if: github.repository == 'scitools/cartopy'\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.10', '3.11', '3.12']\n        use-network: [true]\n        include:\n          - os: ubuntu-latest\n            python-version: '3.11'\n            use-network: false\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n\n      - name: Minimum packages\n        if: |\n          matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest' &&\n          (github.event_name == 'push' || github.event_name == 'pull_request')\n        id: minimum-packages\n        run: |\n          pip install cython==0.29.28 matplotlib==3.6 numpy==1.23 owslib==0.27 pyproj==3.3.1 scipy==1.9 shapely==1.8 pyshp==2.3.1\n\n      - name: Coverage packages\n        id: coverage\n        # only want the coverage to be run on the latest ubuntu and for code changes i.e. push and pr\n        if: |\n          matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' &&\n          (github.event_name == 'push' || github.event_name == 'pull_request')\n        run: |\n          echo \"CYTHON_COVERAGE=1\" >> $GITHUB_ENV\n          # Also add doctest here to avoid windows runners which expect a different path separator\n          echo \"EXTRA_TEST_ARGS=--cov=cartopy -ra --doctest-modules\" >> $GITHUB_ENV\n          pip install cython\n\n      - name: Install Nightlies\n        if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'\n        run: |\n          # Install Nightly builds from Scientific Python\n          python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple matplotlib scipy shapely\n\n      - name: Install Cartopy\n        id: install\n        run: |\n          pip install -e .[test]\n          python -c \"import cartopy; print('Version ', cartopy.__version__)\"\n\n      - name: Install extras\n        # Default is to install just the minimum testing requirements,\n        # but we want to get as much coverage as possible.\n        if: steps.minimum-packages.conclusion == 'skipped'\n        run: |\n          pip install .[ows,plotting,speedups]\n\n      - name: Testing\n        id: test\n        if: matrix.use-network\n        # we need to force bash to use line continuations on Windows\n        shell: bash\n        run: |\n          # Check that the downloader tool at least knows where to get the data from (but don't actually download it)\n          python -m cartopy.feature.download gshhs physical --dry-run\n          # It should also be available as a script\n          cartopy_feature_download gshhs physical --dry-run\n          CARTOPY_GIT_DIR=$PWD\n          pytest -rfEsX -n 4 \\\n              --color=yes \\\n              --mpl --mpl-generate-summary=html \\\n              --mpl-results-path=\"cartopy_test_output-${{ matrix.os }}-${{ matrix.python-version }}\" \\\n              --pyargs cartopy ${EXTRA_TEST_ARGS}\n\n      - name: No Network Tests\n        # Ensure any test that needs network access has been marked as such\n        if: ${{ ! matrix.use-network }}\n        run: |\n          pip install pytest-socket\n          pytest -rfEsX -n 4 \\\n              --color=yes \\\n              --pyargs cartopy -m \"not natural_earth and not network\" --disable-socket\n\n      - name: Coveralls\n        if: steps.coverage.conclusion == 'success'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run:\n          coveralls --service=github\n\n      - name: Upload image results\n        uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: image-failures-${{ matrix.os }}-${{ matrix.python-version }}\n          path: cartopy_test_output-${{ matrix.os }}-${{ matrix.python-version }}\n\n  # Separate dependent job to only upload one issue from the matrix of jobs\n  create-issue:\n    if: ${{ failure() && github.event_name == 'schedule' }}\n    needs: [build]\n    permissions:\n      issues: write\n    runs-on: ubuntu-latest\n    name: Create issue on failure\n\n    steps:\n      - name: Create issue on failure\n        uses: imjohnbo/issue-bot@v3\n        with:\n          title: \"[TST] Upcoming dependency test failures\"\n          body: |\n            The build with nightly wheels from matplotlib, scipy, shapely and their\n            dependencies has failed. Check the logs for any updates that need to be\n            made in cartopy.\n            https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}\n\n          pinned: false\n          close-previous: false\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "scitools/cartopy"}
{"mined_at": "2024-07-15T14:01:39.047624", "created_at": "2020-03-06T18:40:41+01:00", "updated_at": "2020-03-06T18:40:41+01:00", "name": ".github/workflows/circleci.yml", "path": ".github/workflows/circleci.yml", "contents": "on: [status]\njobs:\n  circleci_artifacts_redirector_job:\n    runs-on: ubuntu-latest\n    name: Run CircleCI artifacts redirector\n    steps:\n      - name: GitHub Action step\n        uses: larsoner/circleci-artifacts-redirector-action@master\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          api-token: ${{ secrets.CIRCLECI_TOKEN }}\n          artifact-path: 0/docs/build/html/index.html\n          circleci-jobs: docs-python3\n", "state": "active", "repository": "scitools/cartopy"}
{"mined_at": "2024-07-15T14:01:40.276564", "created_at": "2020-12-22T11:10:42+01:00", "updated_at": "2021-04-30T18:31:04+02:00", "name": "Build and upload to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Build and upload to PyPI\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\n\n# Only build on published releases\non:\n  release:\n    types:\n      - published\n  # Also allow running this action on PRs if requested by applying the\n  # \"Run cibuildwheel\" label.\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - labeled\n\njobs:\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    outputs:\n      SDIST_NAME: ${{ steps.sdist.outputs.SDIST_NAME }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # We need the full history to generate the proper version number\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.11'\n\n      - name: Install dependencies\n        run: python -m pip install build twine\n\n      - name: Build sdist\n        id: sdist\n        run: |\n          python -m build --sdist\n          # Get the name of the build sdist file for later use\n          echo \"SDIST_NAME=$(ls -1 dist)\" >> $GITHUB_OUTPUT\n\n      - name: Check README rendering for PyPI\n        run: twine check dist/*\n\n      - name: Upload sdist result\n        uses: actions/upload-artifact@v4\n        with:\n          name: cibw-sdist\n          path: dist/*.tar.gz\n          if-no-files-found: error\n\n  generate-wheels-matrix:\n    if: |\n      github.event_name == 'release' ||\n      (github.event_name == 'pull_request' && (\n        (\n          github.event.action == 'labeled' &&\n          github.event.label.name == 'CI: build wheels'\n        ) ||\n        contains(github.event.pull_request.labels.*.name,\n                'CI: build wheels')\n        )\n      )\n    name: Generate wheels matrix\n    runs-on: ubuntu-latest\n    outputs:\n      include: ${{ steps.set-matrix.outputs.include }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install cibuildwheel\n        run: pipx install cibuildwheel==2.16.2\n      - id: set-matrix\n        run: |\n          MATRIX=$(\n            {\n              cibuildwheel --print-build-identifiers --platform linux \\\n              | jq -nRc '{\"only\": inputs, \"os\": \"ubuntu-latest\"}' \\\n              && cibuildwheel --print-build-identifiers --platform macos \\\n              | jq -nRc '{\"only\": inputs, \"os\": \"macos-latest\"}' \\\n              && cibuildwheel --print-build-identifiers --platform windows \\\n              | jq -nRc '{\"only\": inputs, \"os\": \"windows-2019\"}'\n            } | jq -sc\n          )\n          echo \"include=$MATRIX\" >> $GITHUB_OUTPUT\n        env:\n          CIBW_BUILD: \"cp310-* cp311-* cp312-*\"\n          # Skip 32 bit builds and musllinux due to lack of numpy wheels\n          CIBW_SKIP: \"*-win32 *_i686 *-musllinux*\"\n          CIBW_ARCHS_MACOS: x86_64 arm64\n\n  build_wheels:\n    name: Build ${{ matrix.os }} ${{ matrix.only }}\n    needs: [generate-wheels-matrix, build_sdist]\n    strategy:\n      matrix:\n        include: ${{ fromJson(needs.generate-wheels-matrix.outputs.include) }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    steps:\n\n      - name: Download sdist\n        uses: actions/download-artifact@v4\n        with:\n          name: cibw-sdist\n          path: dist\n\n      - uses: pypa/cibuildwheel@932529cab190fafca8c735a551657247fa8f8eaf # v2.19.1\n        with:\n          only: ${{ matrix.only }}\n          package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: cibw-wheels-${{ matrix.os }}-${{ matrix.only }}\n          path: ./wheelhouse/*.whl\n\n  publish:\n    name: Publish to PyPI\n    # Only publish on releases\n    if: github.event_name == 'release'\n    needs: [build_wheels, build_sdist]\n    environment:\n      name: PyPI\n      url: https://pypi.org/project/cartopy\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Download wheels\n        uses: actions/download-artifact@v4\n        with:\n          pattern: cibw-*\n          path: dist\n          merge-multiple: true\n\n      - name: Publish Package\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n", "state": "active", "repository": "scitools/cartopy"}
{"mined_at": "2024-07-15T14:01:42.370552", "created_at": "2020-12-14T20:49:36+01:00", "updated_at": "2020-12-14T20:49:36+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements/project.txt\n    - name: Test with hatch\n      run: hatch run all", "state": "active", "repository": "ultrabug/py3status"}
{"mined_at": "2024-07-15T14:01:43.451055", "created_at": "2022-11-07T21:21:42+01:00", "updated_at": "2024-02-06T10:17:31+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"11 1 * * 0\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "ultrabug/py3status"}
{"mined_at": "2024-07-15T14:01:44.441872", "created_at": "2023-10-13T16:35:41+02:00", "updated_at": "2023-10-13T16:35:41+02:00", "name": "Deploy docs", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Deploy docs\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Deploy docs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Download source\n        uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.x'\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade hatch\n      - name: Build site\n        run: hatch -e docs run mkdocs build\n      - name: Deploy to gh-pages\n        if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n        uses: oprypin/push-to-gh-pages@v3\n        with:\n          publish_dir: site\n          commit_message: 'Generate docs: '", "state": "active", "repository": "ultrabug/py3status"}
{"mined_at": "2024-07-15T14:01:45.473336", "created_at": "2023-10-13T16:35:42+02:00", "updated_at": "2023-10-13T16:35:42+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ultrabug/py3status"}
{"mined_at": "2024-07-15T14:01:47.596721", "created_at": "2022-02-22T20:05:48+01:00", "updated_at": "2022-02-23T10:27:47+01:00", "name": "aim docker image pipeline", "path": ".github/workflows/create-docker-image.yml", "contents": "name: aim docker image pipeline\n\non:\n  workflow_dispatch:\n    inputs:\n      pkg_version:\n        description: 'Aim package version'\n        required: true\n        type: string\n\njobs:\n  docker-image:\n    runs-on: ubuntu-latest\n    name: Build & push new Docker image\n\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v2\n\n      - name: Install Docker\n        run: |\n          apt update && apt install -y docker.io\n          sudo systemctl enable --now docker\n\n      - name: Docker login\n        env:\n          DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}\n          DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}\n        run: docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD\n\n      - name: Build & Push aim image\n        working-directory: ./docker\n        env:\n          AIM_VERSION: ${{ github.event.inputs.pkg_version }}\n        run: . create-docker-image.sh\n", "state": "active", "repository": "aimhubio/aim"}
{"mined_at": "2024-07-15T14:01:48.671921", "created_at": "2022-03-03T19:16:15+01:00", "updated_at": "2023-05-11T22:01:45+02:00", "name": "nightly releases", "path": ".github/workflows/nightly-release.yml", "contents": "name: nightly releases\n\non:\n  schedule:\n    # Run at 20:00 UTC Every Day\n    - cron: \"0 20 * * *\"\n\njobs:\n  version-override:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set Git config\n        run: |\n          git config --local user.email \"actions@github.com\"\n          git config --local user.name \"Github Actions\"\n      - name: Rebase with main and update version\n        run: |\n          git fetch --unshallow\n          git checkout main\n          git pull --rebase\n          git checkout nightly\n          git pull --rebase\n          git merge main --strategy-option theirs\n          git checkout main -- ./aim/VERSION\n          . ./.github/scripts/override-version.sh\n          git add ./aim/VERSION\n          git commit -m \"Update VERSION file\"\n          git push\n\n  run-checks:\n    runs-on: ubuntu-latest\n    name: Run Unit-tests & Code-style checks\n    steps:\n      - name: checkout\n        uses: actions/checkout@v2\n        with:\n          ref: 'nightly'\n\n      - name: setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.7'\n          architecture: x64\n\n      - name: install deps\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r requirements.dev.txt\n          python -m pip install -r tests/requirements.txt\n\n      - name: code style checks\n        run: |\n          flake8 aim\n\n      - name: unit-tests\n        run: |\n          pytest tests || pytest --lf tests\n\n  trigger-packaging-workflow:\n    needs: version-override\n    uses: ./.github/workflows/python-package.yml\n    secrets:\n      PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}\n      DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}\n    with:\n      branch: nightly\n", "state": "active", "repository": "aimhubio/aim"}
{"mined_at": "2024-07-15T14:01:49.683919", "created_at": "2021-08-25T09:57:30+02:00", "updated_at": "2022-09-28T15:05:12+02:00", "name": "sanity checks on opened pull requests", "path": ".github/workflows/pull-request.yml", "contents": "name: sanity checks on opened pull requests\n\non:\n  pull_request:\n    branches:\n      - main\n      - release/**\n      - feature/**\n    paths:\n      - 'aim/cli/**'\n      - 'aim/ext/**'\n      - 'aim/sdk/**'\n      - 'aim/web/api/**'\n      - 'aim/storage/**'\n      - 'aim/utils/**'\n      - '.github/workflows/pull-request.yml'\n      - 'tests/**'\n      - 'performance_tests/**'\n      - 'setup.py'\n    types:\n      - opened\n      - synchronize\n      - ready_for_review\n      - reopened\n      - edited\njobs:\n  validate-naming-convention:\n    name: Pull Request's title matches naming convention\n    runs-on: ubuntu-latest\n    steps:\n      - uses: deepakputhraya/action-pr-title@master\n        with:\n          regex: '^\\[(?:feat|fix|doc|refactor|deprecation)\\]\\s[A-Z].*(?<!\\.)$'\n          github_token: ${{ github.token }}\n  run-checks:\n    if: github.event.pull_request.draft == false && github.event.action != 'edited'\n    runs-on: ubuntu-latest\n    name: Run Unit-tests & Code-style checks\n    steps:\n      - name: checkout\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ github.head_ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n\n      - name: setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.7'\n          architecture: x64\n\n      - name: install deps\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r requirements.dev.txt\n          python -m pip install -r tests/requirements.txt\n\n      - name: code style checks\n        run: |\n          flake8 aim\n\n      - name: unit-tests\n        run: |\n          pytest --cov-report term --cov-branch --cov-fail-under=50 --cov=aim/web --cov=aim/storage --cov=aim/sdk tests\n\n  storage-performance-checks:\n    needs: run-checks\n    concurrency: perf-tests\n    runs-on: [self-hosted, performance-tests]\n    name: Performance tests\n    steps:\n      - name: checkout\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ github.head_ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n\n      - name: install deps\n        run: |\n          python3 -m venv venv\n          . venv/bin/activate\n          python -m pip install --upgrade pip\n          python -m pip install -r requirements.dev.txt\n          python -m pip install -r performance_tests/requirements.txt\n\n      - name: perf tests\n        run: |\n          . venv/bin/activate\n          export AWS_ACCESS_KEY_ID=${{ secrets.AIM_LOGS_AWS_ACCESS_KEY_ID }}\n          export AWS_SECRET_ACCESS_KEY=${{ secrets.AIM_LOGS_AWS_SECRET_ACCESS_KEY }}\n          pytest performance_tests || pytest --lf performance_tests\n", "state": "active", "repository": "aimhubio/aim"}
{"mined_at": "2024-07-15T14:01:50.705958", "created_at": "2021-07-19T20:26:29+02:00", "updated_at": "2024-06-11T00:33:13+02:00", "name": "aim packaging pipeline", "path": ".github/workflows/python-package.yml", "contents": "name: aim packaging pipeline\n\non:\n  workflow_call:\n    secrets:\n      PYPI_PASSWORD:\n        required: true\n      DOCKER_HUB_USERNAME:\n        required: true\n      DOCKER_HUB_PASSWORD:\n        required: true\n    inputs:\n      branch:\n        required: true\n        type: string\n  workflow_dispatch:\n\njobs:\n  aim-ui-dist:\n    if: ${{ github.event_name == 'schedule' || github.actor == 'mihran113' || github.actor == 'alberttorosyan' || github.actor == 'roubkar' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ inputs.branch || github.ref }}\n\n      - name: Use node v16\n        uses: actions/setup-node@v2\n        with:\n          node-version: '16'\n\n      - name: Build UI\n        working-directory: ./aim/web/ui\n        run: |\n          npm i --legacy-peer-deps\n          CI=false npm run build\n\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n          architecture: x64\n\n      - name: Install dev dependencies\n        run: |\n          python -m pip install -r requirements.dev.txt\n\n      - name: Build sdist\n        working-directory: ./aim/web/ui\n        run: |\n          python setup.py sdist\n\n      - name: Publish wheel\n        env:\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        working-directory: ./aim/web/ui\n        run: |\n          python -m twine upload -u __token__ -p \"${PYPI_PASSWORD}\" dist/*\n\n  linux-dist:\n    if: ${{ github.event_name == 'schedule' || github.actor == 'mihran113' || github.actor == 'alberttorosyan' || github.actor == 'roubkar' }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        manylinux-version: ['manylinux2014_x86_64', 'manylinux_2_24_x86_64', 'manylinux_2_28_x86_64']\n    name: Linux wheels build (using Docker) ${{ matrix.manylinux-version }}\n    needs: aim-ui-dist\n    steps:\n      - name: Install Docker & pull images\n        run: |\n          apt update && apt install -y docker.io\n          sudo systemctl enable --now docker\n          docker pull quay.io/pypa/${{ matrix.manylinux-version }}\n\n      - name: Checkout sources\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ inputs.branch || github.ref }}\n\n      - name: Capture aim version\n        id: capture-version\n        run: |\n          AIM_VERSION=$(< ./aim/VERSION)\n          echo \"::set-output name=AIM_VERSION::$AIM_VERSION\"\n\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n          architecture: x64\n\n      - name: Install dev dependencies\n        run: |\n          python -m pip install -r requirements.dev.txt\n          python -m pip install -r requirements.txt\n\n      - name: Build bdist wheels for 'cp37-cp37m'\n        uses: nick-fields/retry@v2\n        with:\n          max_attempts: 3\n          timeout_minutes: 30\n          retry_wait_seconds: 60\n          command: docker run  -e PYTHON_VERSION='cp37-cp37m' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh\n\n      - name: Build bdist wheels for 'cp38-cp38'\n        uses: nick-fields/retry@v2\n        with:\n          max_attempts: 3\n          timeout_minutes: 30\n          retry_wait_seconds: 60\n          command: docker run  -e PYTHON_VERSION='cp38-cp38' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh\n\n      - name: Build bdist wheels for 'cp39-cp39'\n        uses: nick-fields/retry@v2\n        with:\n          max_attempts: 3\n          timeout_minutes: 30\n          retry_wait_seconds: 60\n          command: docker run  -e PYTHON_VERSION='cp39-cp39' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh\n\n      - name: Build bdist wheels for 'cp310-cp310'\n        uses: nick-fields/retry@v2\n        with:\n          max_attempts: 3\n          timeout_minutes: 30\n          retry_wait_seconds: 60\n          command: docker run  -e PYTHON_VERSION='cp310-cp310' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh\n\n      - name: Build bdist wheels for 'cp311-cp311'\n        uses: nick-fields/retry@v2\n        with:\n          max_attempts: 3\n          timeout_minutes: 30\n          retry_wait_seconds: 60\n          command: docker run  -e PYTHON_VERSION='cp311-cp311' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh\n\n      - name: Build bdist wheels for 'cp312-cp312'\n        if: matrix.manylinux-version == 'manylinux_2_28_x86_64'\n        uses: nick-fields/retry@v2\n        with:\n          max_attempts: 3\n          timeout_minutes: 30\n          retry_wait_seconds: 60\n          command: docker run  -e PYTHON_VERSION='cp312-cp312' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh\n\n      - name: Publish wheels\n        env:\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python -m twine upload -u __token__ -p \"${PYPI_PASSWORD}\" multilinux_dist/*\n\n      - name: Docker login\n        env:\n          DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}\n          DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}\n        run: docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD\n\n      - name: Build & Push aim image\n        if: matrix.manylinux-version == 'manylinux_2_24_x86_64'\n        working-directory: ./docker\n        env:\n          AIM_VERSION: ${{ steps.capture-version.outputs.AIM_VERSION }}\n          UPDATE_TAG: ${{ inputs.branch || 'latest' }}\n        run: . create-docker-image.sh\n\n  macos-dist:\n    if: ${{ github.event_name == 'schedule' || github.actor == 'mihran113' || github.actor == 'alberttorosyan' || github.actor == 'roubkar' }}\n    runs-on: m1\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]\n        arch: ['arm64', 'x86_64']\n        exclude:\n          - arch: 'arm64'\n            python-version: 3.7\n\n    name: Python ${{ matrix.python-version }} for ${{ matrix.arch }} build\n    env:\n      MACOSX_DEPLOYMENT_TARGET: 10.14\n      AIM_DEP_DIR: /tmp/aim_run/${{ github.run_number }}/${{ matrix.arch }}\n      PYTHON: /opt/conda/${{ matrix.arch }}/envs/py${{ matrix.python-version }}/bin/python\n\n    needs: aim-ui-dist\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ inputs.branch || github.ref }}\n\n      - name: Build bdist wheel\n        run: |\n          arch -${{matrix.arch}} $PYTHON -m build\n\n      - name: Publish source dist\n        if: matrix.python-version == '3.10' && matrix.arch == 'arm64'\n        env:\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          $PYTHON -m twine upload -u __token__ -p \"${PYPI_PASSWORD}\" dist/*.tar.gz\n\n      - name: Publish wheel\n        env:\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          $PYTHON -m twine upload -u __token__ -p \"${PYPI_PASSWORD}\" dist/*.whl\n", "state": "active", "repository": "aimhubio/aim"}
{"mined_at": "2024-07-15T14:01:52.638542", "created_at": "2021-12-01T17:20:12+01:00", "updated_at": "2021-12-01T17:32:14+01:00", "name": "Dependabot auto-approve", "path": ".github/workflows/autoapprove.yml", "contents": "name: Dependabot auto-approve\non: pull_request\n\npermissions:\n  pull-requests: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v1.1.1\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: Approve a PR\n        run: gh pr review --approve \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "jdb78/pytorch-forecasting"}
{"mined_at": "2024-07-15T14:01:53.633026", "created_at": "2021-02-02T21:27:08+01:00", "updated_at": "2021-12-01T17:26:02+01:00", "name": "Dependabot auto-merge", "path": ".github/workflows/automerge.yml", "contents": "name: Dependabot auto-merge\non: pull_request\n\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v1.1.1\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: Enable auto-merge for Dependabot PRs\n        run: gh pr merge --auto --merge \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "jdb78/pytorch-forecasting"}
{"mined_at": "2024-07-15T14:01:54.630982", "created_at": "2021-05-23T19:26:31+02:00", "updated_at": "2021-05-23T19:28:27+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  linter-black:\n      name: Check code formatting with Black\n      runs-on: ubuntu-latest\n      steps:\n        - name: Checkout\n          uses: actions/checkout@v2\n        - name: Set up Python 3.8\n          uses: actions/setup-python@v2\n          with:\n            python-version: 3.8\n        - name: Install Black\n          run: pip install black[jupyter]\n        - name: Run Black\n          run: black --check .\n\n  imports-check-isort:\n    name: Check valid import formatting with isort\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install isort\n        run: pip install isort==5.6.4\n      - name: Run isort\n        run: isort --check-only --diff .\n\n  linter-flake8:\n    name: Check valid formatting with flake8\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: pip install flake8\n      - name: Run checks\n        run: flake8\n\n\n  pre-commit-hooks:\n    name: Check that pre-commit hooks pass\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: pip install pre-commit\n\n      - name: Run checks\n        run: pre-commit run --all-files\n", "state": "active", "repository": "jdb78/pytorch-forecasting"}
{"mined_at": "2024-07-15T14:01:55.839331", "created_at": "2020-08-23T18:49:15+02:00", "updated_at": "2020-08-23T18:49:15+02:00", "name": "PyPI Release", "path": ".github/workflows/pypi_release.yml", "contents": "name: PyPI Release\n\n# https://help.github.com/en/actions/reference/events-that-trigger-workflows\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the master branch\n  push:\n    branches:\n      - master\n  release:\n    types:\n      - created\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Install poetry\n        shell: bash\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 -\n          python -m pip install poetry-dynamic-versioning[plugin]\n\n      - name: Set poetry path variable\n        run: echo \"/Users/runner/.local/bin\" >> $GITHUB_PATH\n\n      - name: Build\n        run: |\n          poetry build\n\n      - name: Publish distribution 📦 to PyPI\n        if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n        run: |\n          poetry publish --username \"${{ secrets.PYPI_USER }}\" --password \"${{ secrets.PYPI_PASSWORD }}\"\n", "state": "active", "repository": "jdb78/pytorch-forecasting"}
{"mined_at": "2024-07-15T14:01:56.967626", "created_at": "2020-08-14T00:49:12+02:00", "updated_at": "2020-08-15T16:29:51+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  pytest:\n    name: Run pytest\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macOS-latest] # add windows-2019 when poetry allows installation with `-f` flag\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Setup macOS\n        if: runner.os == 'macOS'\n        run: |\n          brew install libomp  # https://github.com/pytorch/pytorch/issues/20030\n\n      - name: Get full Python version\n        id: full-python-version\n        run: echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")\n\n      - name: Install poetry\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 -\n\n      - name: Set poetry path variable\n        run: echo \"/Users/runner/.local/bin\" >> $GITHUB_PATH\n\n      - name: Configure poetry\n        run: poetry config virtualenvs.in-project true\n\n      - name: Set up cache\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Ensure cache is healthy\n        if: steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n\n      - name: Upgrade pip\n        run: poetry run python -m pip install pip -U\n\n      - name: Install dependencies\n        run: poetry install -E \"github-actions graph mqf2\"\n\n      # - name: Install pytorch geometric dependencies\n      #   shell: bash\n      #   run: poetry run pip install pyg_lib torch-scatter torch-sparse torch-cluster torch-spline-conv torch-geometric -f https://data.pyg.org/whl/torch-2.0.0+cpu.html\n\n      - name: Run pytest\n        run: poetry run pytest tests\n\n      - name: Statistics\n        run: |\n          pip install coverage\n          coverage report\n          coverage xml\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1\n        if: always()\n        continue-on-error: true\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: coverage.xml\n          flags: cpu,pytest\n          name: CPU-coverage\n          fail_ci_if_error: false\n\n  docs:\n    name: Docs build\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n\n      - name: Cache pip\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.txt') }}\n          restore-keys: ${{ runner.os }}-pip-\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update --fix-missing\n          sudo apt-get install -y pandoc\n          pip install -r docs/requirements.txt\n\n      - name: Build sphinx documentation\n        working-directory: docs/\n        run: make html --debug --jobs 2 SPHINXOPTS=\"-W\"\n\n      - name: Upload built docs\n        uses: actions/upload-artifact@v2\n        with:\n          name: docs-results-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.requires }}\n          path: docs/build/html/\n        # Use always() to always run this step to publish test results when there are test failures\n        #if: success()\n", "state": "active", "repository": "jdb78/pytorch-forecasting"}
{"mined_at": "2024-07-15T14:01:59.219013", "created_at": "2020-01-13T06:33:31+01:00", "updated_at": "2020-01-13T06:33:31+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install libolm\n        if: runner.os == 'macos'\n        run: |\n          brew install libolm\n      - name: Install ffmpeg on Ubuntu\n        if: runner.os != 'Windows'\n        run: |\n          if [ $RUNNER_OS = Linux ]; then\n              sudo apt update || true\n              sudo apt install ffmpeg -y\n          fi\n      - name: Install ffmpeg on windows\n        if: runner.os == 'Windows'\n        run: |\n              choco feature enable -n=allowGlobalConfirmation\n              choco install ffmpeg\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -U tox tox-gh-actions\n      - name: Run tests\n        env:\n          PLATFORM: ${{ runner.os }}\n        run: tox -vv\n        timeout-minutes: 30\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v1\n        with:\n          file: ./cov.xml\n\n  check:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        component: [docker-full, docker-min, lint]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -U tox\n      - name: Run checks\n        run: tox -vv -e ${{ matrix.component }}\n        timeout-minutes: 30\n", "state": "active", "repository": "opsdroid/opsdroid"}
{"mined_at": "2024-07-15T14:02:00.224482", "created_at": "2022-07-06T15:57:54+02:00", "updated_at": "2022-07-08T15:38:59+02:00", "name": "Upload Docker Dev Container", "path": ".github/workflows/deploy-docker-dev.yml", "contents": "name: Upload Docker Dev Container\n\non:\n  push:\n    branches:    \n      - 'main'\n      - 'master'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Repos\n      uses: actions/checkout@v3\n    - name: Setup QEMU\n      uses: docker/setup-qemu-action@v2\n      with:\n        platforms: 'arm64,arm'\n    - name: Set up Docker Buildx\n      id: builder\n      uses: docker/setup-buildx-action@v2\n    - name: Docker meta\n      id: docker_meta\n      uses: docker/metadata-action@v3\n      with:\n        images: |\n          ${{ secrets.DOCKERHUB_REPO }}\n          ghcr.io/${{ github.repository_owner }}/opsdroid\n        tags: |\n          type=raw,value=dev\n    - name: Login to Dockerhub\n      uses: docker/login-action@v2\n      with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n    - name: Login to GitHub Container Registry\n      uses: docker/login-action@v2\n      with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n    - name: Build and push\n      uses: docker/build-push-action@v3\n      with:\n        push: true\n        tags: ${{ steps.docker_meta.outputs.tags }}\n        platforms: linux/amd64,linux/arm64,linux/arm\n        labels: ${{ steps.docker_meta.outputs.labels }}\n", "state": "active", "repository": "opsdroid/opsdroid"}
{"mined_at": "2024-07-15T14:02:01.249481", "created_at": "2021-10-11T13:58:21+02:00", "updated_at": "2021-10-11T13:58:21+02:00", "name": "Upload Docker Container", "path": ".github/workflows/deploy-docker.yml", "contents": "name: Upload Docker Container\n\non:\n  release:\n    types: [released]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Repo\n      uses: actions/checkout@v3\n    - name: Setup QEMU\n      uses: docker/setup-qemu-action@v2\n      with:\n        platforms: 'arm64,arm'\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v2\n    - name: Docker meta\n      id: docker_meta\n      uses: docker/metadata-action@v3\n      with:\n        images: |\n          ${{ secrets.DOCKERHUB_REPO }}\n          ghcr.io/${{ github.repository_owner }}/opsdroid\n        tags: |\n          type=semver,pattern={{raw}}\n    - name: Login to Dockerhub\n      uses: docker/login-action@v2 \n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n    - name: Login to GitHub Container Registry\n      uses: docker/login-action@v2 \n      with:\n        registry: ghcr.io\n        username: ${{ github.repository_owner }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n    - name: Build and push\n      uses: docker/build-push-action@v3\n      with:\n        push: true\n        tags: ${{ steps.docker_meta.outputs.tags }}\n        platforms: linux/amd64,linux/arm64,linux/arm\n        labels: ${{ steps.docker_meta.outputs.labels }}\n", "state": "active", "repository": "opsdroid/opsdroid"}
{"mined_at": "2024-07-15T14:02:02.290547", "created_at": "2021-10-11T13:58:21+02:00", "updated_at": "2021-10-11T13:58:21+02:00", "name": "Upload Python Package", "path": ".github/workflows/deploy-pypi.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [released]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish python package\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist\n        twine upload dist/*\n", "state": "active", "repository": "opsdroid/opsdroid"}
{"mined_at": "2024-07-15T14:02:03.356333", "created_at": "2020-05-15T00:59:36+02:00", "updated_at": "2020-05-15T00:59:36+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v4\n", "state": "active", "repository": "opsdroid/opsdroid"}
{"mined_at": "2024-07-15T14:02:04.425601", "created_at": "2020-04-30T23:10:52+02:00", "updated_at": "2020-04-30T23:10:52+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "opsdroid/opsdroid"}
{"mined_at": "2024-07-15T14:02:06.491230", "created_at": "2022-11-09T12:40:08+01:00", "updated_at": "2023-12-09T16:14:42+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ 'master' ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ 'master' ]\n  schedule:\n    - cron: '36 22 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        queries: +security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "aio-libs/aiokafka"}
{"mined_at": "2024-07-15T14:02:07.721770", "created_at": "2020-06-19T17:09:10+02:00", "updated_at": "2020-06-19T17:09:10+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Publish\n\non:\n  release:\n    types: [created]\n  workflow_dispatch: {}\n\njobs:\n  package-source:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8\"\n      - name: Prepare C files to include\n        run: |\n          python -m pip install --upgrade pip build\n          python -m pip install -r requirements-cython.txt\n          # Make sure we install to have all c files to be shiped with bundle\n          python -m pip install -vv -U .  # We set -vv to see compiler exceptions/warnings\n      - name: Build source package\n        run: python -m build --sdist\n      - name: Upload source package\n        uses: actions/upload-artifact@v2\n        with:\n          name: dist\n          path: dist/\n\n  package-wheel:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        arch: [auto]\n        include:\n          - os: ubuntu-latest\n            arch: aarch64\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8\"\n      - name: Set up QEMU\n        if: ${{ matrix.arch == 'aarch64' }}\n        uses: docker/setup-qemu-action@v1\n      - name: Build wheels\n        env:\n          CIBW_ARCHS_LINUX: ${{matrix.arch}}\n          CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-*\n          CIBW_SKIP: '*-musllinux*'\n          CIBW_BEFORE_BUILD_LINUX: pip install -r requirements-cython.txt && yum install -y zlib-devel\n          # On windows and mac we should have z library preinstalled\n          CIBW_BEFORE_BUILD: pip install -r requirements-cython.txt\n          CIBW_BUILD_VERBOSITY: 2\n        run: |\n          python -m pip install --upgrade pip\n          pip install cibuildwheel\n          cibuildwheel --output-dir dist\n        shell: bash\n      - name: Upload wheels\n        uses: actions/upload-artifact@v2\n        with:\n          name: dist\n          path: dist/\n\n  test-wheels-windows:\n    needs: [package-source, package-wheel]\n    runs-on: windows-latest\n\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - python: \"3.8\"\n            aiokafka_whl: dist/aiokafka-*-cp38-cp38-win_amd64.whl\n          - python: \"3.9\"\n            aiokafka_whl: dist/aiokafka-*-cp39-cp39-win_amd64.whl\n          - python: \"3.10\"\n            aiokafka_whl: dist/aiokafka-*-cp310-cp310-win_amd64.whl\n          - python: \"3.11\"\n            aiokafka_whl: dist/aiokafka-*-cp311-cp311-win_amd64.whl\n          - python: \"3.12\"\n            aiokafka_whl: dist/aiokafka-*-cp312-cp312-win_amd64.whl\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Download distributions\n        uses: actions/download-artifact@v2\n        with:\n          name: dist\n          path: dist/\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install -r requirements-win-test.txt\n          python -m pip install ${{ matrix.aiokafka_whl }}\n        shell: bash\n\n      - name: Run Unit Tests\n        run: |\n          # Remove source code to be sure we use wheel code\n          rm -rf aiokafka\n          make ci-test-unit\n        shell: bash\n\n  test-wheels-mac:\n    needs: [package-source, package-wheel]\n    runs-on: macos-latest\n\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - python: \"3.8\"\n            aiokafka_whl: dist/aiokafka-*-cp38-cp38-macosx_10_9_x86_64.whl\n          - python: \"3.9\"\n            aiokafka_whl: dist/aiokafka-*-cp39-cp39-macosx_10_9_x86_64.whl\n          - python: \"3.10\"\n            aiokafka_whl: dist/aiokafka-*-cp310-cp310-macosx_10_9_x86_64.whl\n          - python: \"3.11\"\n            aiokafka_whl: dist/aiokafka-*-cp311-cp311-macosx_10_9_x86_64.whl\n          - python: \"3.12\"\n            aiokafka_whl: dist/aiokafka-*-cp312-cp312-macosx_10_9_x86_64.whl\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Download distributions\n        uses: actions/download-artifact@v2\n        with:\n          name: dist\n          path: dist/\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install python dependencies\n        run: |\n          pip install --upgrade pip setuptools wheel\n          pip install -r requirements-ci.txt\n          pip install ${{ matrix.aiokafka_whl }}\n\n      - name: Run Unit Tests\n        run: |\n          # Remove source code to be sure we use wheel code\n          rm -rf aiokafka\n          make ci-test-unit\n\n  test-wheels-linux:\n    needs: [package-source, package-wheel]\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - python: \"3.8\"\n            aiokafka_whl: dist/aiokafka-*-cp38-cp38-manylinux*_x86_64.whl\n          - python: \"3.9\"\n            aiokafka_whl: dist/aiokafka-*-cp39-cp39-manylinux*_x86_64.whl\n          - python: \"3.10\"\n            aiokafka_whl: dist/aiokafka-*-cp310-cp310-manylinux*_x86_64.whl\n          - python: \"3.11\"\n            aiokafka_whl: dist/aiokafka-*-cp311-cp311-manylinux*_x86_64.whl\n          - python: \"3.12\"\n            aiokafka_whl: dist/aiokafka-*-cp312-cp312-manylinux*_x86_64.whl\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Download distributions\n        uses: actions/download-artifact@v2\n        with:\n          name: dist\n          path: dist/\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y libkrb5-dev\n      - name: Install python dependencies\n        run: |\n          pip install --upgrade pip setuptools wheel\n          pip install -r requirements-ci.txt\n          pip install ${{ matrix.aiokafka_whl }}\n\n      - name: Run Unit Tests\n        run: |\n          # Remove source code to be sure we use wheel code\n          rm -rf aiokafka\n          make ci-test-unit\n\n  test-wheels-aarch64-linux:\n    needs: [package-source, package-wheel]\n    runs-on: ubuntu-latest\n    env:\n      py: /opt/python/${{ matrix.pyver }}/bin/python\n      img: quay.io/pypa/manylinux2014_aarch64\n\n    strategy:\n      matrix:\n        include:\n          - pyver: cp38-cp38\n            aiokafka_whl: dist/aiokafka-*-cp38-cp38-manylinux*_aarch64.whl\n          - pyver: cp39-cp39\n            aiokafka_whl: dist/aiokafka-*-cp39-cp39-manylinux*_aarch64.whl\n          - pyver: cp310-cp310\n            aiokafka_whl: dist/aiokafka-*-cp310-cp310-manylinux*_aarch64.whl\n          - pyver: cp311-cp311\n            aiokafka_whl: dist/aiokafka-*-cp311-cp311-manylinux*_aarch64.whl\n          - pyver: cp312-cp312\n            aiokafka_whl: dist/aiokafka-*-cp312-cp312-manylinux*_aarch64.whl\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up QEMU\n        id: qemu\n        uses: docker/setup-qemu-action@v1\n      - name: Download distributions\n        uses: actions/download-artifact@v2\n        with:\n          name: dist\n          path: dist/\n      - name: Test Wheel\n        run: |\n              docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \\\n              ${{ env.img }} \\\n              bash -exc '${{ env.py }} -m venv .env && \\\n              source .env/bin/activate && \\\n              yum install -y epel-release && \\\n              yum-config-manager --enable epel && \\\n              yum install -y krb5-devel && \\\n              pip install --upgrade pip setuptools wheel && \\\n              pip install -r requirements-ci.txt && \\\n              pip install ${{ matrix.aiokafka_whl }} && \\\n              rm -rf aiokafka && \\\n              make ci-test-unit && \\\n              deactivate'\n\n  deploy:\n\n    runs-on: ubuntu-latest\n    needs: [test-wheels-linux, test-wheels-aarch64-linux, test-wheels-mac, test-wheels-windows]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Download distributions\n        uses: actions/download-artifact@v2\n        with:\n          name: dist\n          path: dist/\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: ${{ secrets.PYPI_USERNAME }}\n          password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "aio-libs/aiokafka"}
{"mined_at": "2024-07-15T14:02:08.846209", "created_at": "2020-06-15T16:10:20+02:00", "updated_at": "2020-06-15T16:10:20+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Tests\n\non:\n  push:\n    branches: [ master, '**' ]\n    tags:\n      - \"v0.[0-9]+.[0-9]+\"\n      - \"v0.[0-9]+.[0-9]+.dev*\"\n  pull_request:\n    branches: [ master ]\n\njobs:\n  test-sanity:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n\n    - name: Install system dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libkrb5-dev\n\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        python -m pip install -U \"pip>=20.1\"\n        echo \"::set-output name=dir::$(pip cache dir)\"\n\n    - name: Cache packages\n      uses: actions/cache@v1\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-py-3.9-${{ hashFiles('requirements-ci.txt') }}-${{ hashFiles('setup.py') }}\n        # If miss on key takes any other cache with different hashes, will download correct ones on next step anyway\n        restore-keys: |\n          ${{ runner.os }}-py-3.9-\n\n    - name: Install python dependencies\n      run: |\n        pip install --upgrade pip setuptools wheel\n        pip install -r requirements-ci.txt\n        pip install -vv -Ue .  # We set -vv to see compiler exceptions/warnings\n\n    - name: Run Unit Tests\n      run: |\n        make ci-test-unit\n\n    - name: Lint code\n      run: |\n        make lint\n\n    - name: Check readme for package\n      run: |\n        make check-readme\n\n    - name: Build doc\n      run: |\n        pip install -r requirements-docs.txt\n        make -C docs html\n\n  test-windows:\n    needs: test-sanity\n    runs-on: windows-latest\n\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        python -m pip install -U \"pip>=20.1\"\n        echo \"::set-output name=dir::$(pip cache dir)\"\n\n    - name: Cache packages\n      uses: actions/cache@v1\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-py-${{ matrix.python }}-${{ hashFiles('requirements-win-test.txt') }}-${{ hashFiles('setup.py') }}\n        # If miss on key takes any other cache with different hashes, will download correct ones on next step anyway\n        restore-keys: |\n         ${{ runner.os }}-py-${{ matrix.python }}-\n\n    - name: Install python dependencies\n      run: |\n        pip install --upgrade pip setuptools wheel\n        pip install -r requirements-win-test.txt\n        pip install -vv -Ue .  # We set -vv to see compiler exceptions/warnings\n\n    - name: Run Unit Tests\n      run: |\n        make ci-test-unit\n        mv coverage.xml coverage-ext.xml\n      env:\n        PYTHONASYNCIODEBUG: \"1\"\n\n    - name: Run Unit Tests without extensions\n      run: |\n        make ci-test-unit\n        mv coverage.xml coverage-py.xml\n      env:\n        AIOKAFKA_NO_EXTENSIONS: \"1\"\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        file: ./coverage-ext.xml\n        flags: unit,cext\n        name: test-windows-${{ matrix.python }}-ext\n      if: ${{ always() }}\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        file: ./coverage-py.xml\n        flags: unit,purepy\n        name: test-windows-${{ matrix.python }}-py\n      if: ${{ always() }}\n\n  test-mac:\n    needs: test-sanity\n    runs-on: macos-latest\n\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        python -m pip install -U \"pip>=20.1\"\n        echo \"::set-output name=dir::$(pip cache dir)\"\n\n    - name: Cache packages\n      uses: actions/cache@v1\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-py-${{ matrix.python }}-${{ hashFiles('requirements-ci.txt') }}-${{ hashFiles('setup.py') }}\n        # If miss on key takes any other cache with different hashes, will download correct ones on next step anyway\n        restore-keys: |\n         ${{ runner.os }}-py-${{ matrix.python }}-\n\n    - name: Install python dependencies\n      run: |\n        pip install --upgrade pip setuptools wheel\n        pip install -r requirements-ci.txt\n        pip install -vv -Ue .  # We set -vv to see compiler exceptions/warnings\n\n    - name: Run All Tests\n      run: |\n        make ci-test-unit\n        mv coverage.xml coverage-ext.xml\n      env:\n        PYTHONASYNCIODEBUG: \"1\"\n\n    - name: Run All Tests without extensions\n      run: |\n        make ci-test-unit\n        mv coverage.xml coverage-py.xml\n      env:\n        AIOKAFKA_NO_EXTENSIONS: \"1\"\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        file: ./coverage-ext.xml\n        flags: unit,cext\n        name: test-mac-${{ matrix.python }}-ext\n      if: ${{ always() }}\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        file: ./coverage-py.xml\n        flags: unit,purepy\n        name: test-mac-${{ matrix.python }}-py\n      if: ${{ always() }}\n\n  test-linux:\n    needs: test-sanity\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        include:\n          - python: \"3.12\"\n            kafka: \"2.8.1\"\n            scala: \"2.13\"\n\n          # Older python versions against latest broker\n          - python: \"3.8\"\n            kafka: \"2.8.1\"\n            scala: \"2.13\"\n          - python: \"3.9\"\n            kafka: \"2.8.1\"\n            scala: \"2.13\"\n          - python: \"3.10\"\n            kafka: \"2.8.1\"\n            scala: \"2.13\"\n          - python: \"3.11\"\n            kafka: \"2.8.1\"\n            scala: \"2.13\"\n\n          # Older brokers against latest python version\n          - python: \"3.12\"\n            kafka: \"0.9.0.1\"\n            scala: \"2.11\"\n          - python: \"3.12\"\n            kafka: \"0.10.2.1\"\n            scala: \"2.11\"\n          - python: \"3.12\"\n            kafka: \"0.11.0.3\"\n            scala: \"2.12\"\n          - python: \"3.12\"\n            kafka: \"1.1.1\"\n            scala: \"2.12\"\n          - python: \"3.12\"\n            kafka: \"2.1.1\"\n            scala: \"2.12\"\n          - python: \"3.12\"\n            kafka: \"2.2.2\"\n            scala: \"2.12\"\n          - python: \"3.12\"\n            kafka: \"2.3.1\"\n            scala: \"2.12\"\n          - python: \"3.12\"\n            kafka: \"2.4.1\"\n            scala: \"2.12\"\n          - python: \"3.12\"\n            kafka: \"2.5.1\"\n            scala: \"2.12\"\n          - python: \"3.12\"\n            kafka: \"2.6.3\"\n            scala: \"2.12\"\n          - python: \"3.12\"\n            kafka: \"2.7.2\"\n            scala: \"2.13\"\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Install system dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libkrb5-dev krb5-user\n\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        python -m pip install -U \"pip>=20.1\"\n        echo \"::set-output name=dir::$(pip cache dir)\"\n\n    - name: Cache packages\n      uses: actions/cache@v1\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-py-${{ matrix.python }}-${{ hashFiles('requirements-ci.txt') }}-${{ hashFiles('setup.py') }}\n        # If miss on key takes any other cache with different hashes, will download correct ones on next step anyway\n        restore-keys: |\n         ${{ runner.os }}-py-${{ matrix.python }}-\n\n    - name: Install python dependencies\n      run: |\n        pip install --upgrade pip setuptools wheel\n        pip install -r requirements-ci.txt\n        pip install -vv -Ue .  # We set -vv to see compiler exceptions/warnings\n\n    - name: Run All Tests\n      run: |\n        make ci-test-all\n        mv coverage.xml coverage-ext.xml\n      env:\n        SCALA_VERSION: ${{ matrix.scala }}\n        KAFKA_VERSION: ${{ matrix.kafka }}\n\n    - name: Run All Tests without extensions\n      run: |\n        make ci-test-all\n        mv coverage.xml coverage-py.xml\n      env:\n        AIOKAFKA_NO_EXTENSIONS: \"1\"\n        SCALA_VERSION: ${{ matrix.scala }}\n        KAFKA_VERSION: ${{ matrix.kafka }}\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        file: ./coverage-ext.xml\n        flags: integration,cext\n        name: test-linux-${{ matrix.python }}-${{ matrix.kafka }}-${{ matrix.scala }}-ext\n      if: ${{ always() }}\n\n    - name: Upload coverage without cext to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        file: ./coverage-py.xml\n        flags: integration,purepy\n        name: test-linux-${{ matrix.python }}-${{ matrix.kafka }}-${{ matrix.scala }}-py\n      if: ${{ always() }}\n", "state": "active", "repository": "aio-libs/aiokafka"}
{"mined_at": "2024-07-15T14:02:09.834247", "created_at": "2023-12-09T15:57:52+01:00", "updated_at": "2023-12-09T15:57:52+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "aio-libs/aiokafka"}
{"mined_at": "2024-07-15T14:02:11.960512", "created_at": "2020-01-14T06:26:04+01:00", "updated_at": "2021-04-23T07:50:28+02:00", "name": "python tests+artifacts+release", "path": ".github/workflows/python-tests.yml", "contents": "name: python tests+artifacts+release\n\non:\n  pull_request:\n  push:\n    branches:\n    - \"*\"\n    tags:\n    - \"v*\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n\n  package:\n    name: Build & inspect our package.\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: hynek/build-and-inspect-python-package@v2\n\n  test:\n    needs: [package]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [ '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.10' ]\n        os: [windows-latest, ubuntu-latest] #, macos-latest]\n        include:\n        - os: windows-latest\n          python_version: 'msys2'\n\n    name: ${{ matrix.os }} - Python ${{ matrix.python_version }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup python\n        uses: actions/setup-python@v5\n        if: matrix.python_version != 'msys2'\n        with:\n          python-version: ${{ matrix.python_version }}\n          architecture: x64\n      - name: Setup MSYS2\n        uses: msys2/setup-msys2@v2\n        if: matrix.python_version == 'msys2'\n        with:\n          msystem: MINGW64\n          install: git mingw-w64-x86_64-python mingw-w64-x86_64-python-setuptools\n          update: true\n      - name: Setup GnuPG\n        # At present, the Windows VMs only come with the copy of GnuPG that's bundled\n        # with Git for Windows. If we want to use this version _and_ be able to set\n        # arbitrary GnuPG home directories, then the test would need to figure out when\n        # to convert Windows-style paths into Unix-style paths with cygpath, which is\n        # unreasonable.\n        #\n        # Instead, we'll install a version of GnuPG that can handle Windows-style paths.\n        # However, due to <https://dev.gnupg.org/T5593>, installation fails if the PATH\n        # environment variable is too long. Consequently, we need to shorten PATH to\n        # something minimal before we can install GnuPG. For further details, see\n        # <https://github.com/actions/virtual-environments/issues/2876>.\n        #\n        # Additionally, we'll explicitly set `gpg.program` to ensure Git for Windows\n        # doesn't invoke the bundled GnuPG, otherwise we'll run into\n        # <https://dev.gnupg.org/T5504>. See also: <https://dev.gnupg.org/T3020>.\n        run: |\n          $env:PATH = \"C:\\Program Files\\Git\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\ProgramData\\Chocolatey\\bin\"\n          [Environment]::SetEnvironmentVariable(\"Path\", $env:PATH, \"Machine\")\n          choco install gnupg -y --no-progress\n          echo \"C:\\Program Files (x86)\\gnupg\\bin\" >> $env:GITHUB_PATH\n          git config --system gpg.program \"C:\\Program Files (x86)\\gnupg\\bin\\gpg.exe\"\n        if: runner.os == 'Windows'\n      - run: pip install -U 'setuptools>=61'\n      - uses: actions/download-artifact@v4\n        with:\n          name: Packages\n          path: dist\n      - shell: bash\n        run: pip install \"$(echo -n dist/*whl)[toml,test]\"\n      - run: |\n          $(hg debuginstall --template \"{pythonexe}\") -m pip install hg-git --user\n        if: matrix.os == 'ubuntu-latest'\n      # this hopefully helps with os caches, hg init sometimes gets 20s timeouts\n      - run: hg version\n      - run: pytest\n        timeout-minutes: 15\n\n  dist_upload:\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n    permissions:\n      id-token: write\n    needs: [test]\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: Packages\n        path: dist\n    - name: Publish package to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  test-pypi-upload:\n    runs-on: ubuntu-latest\n    needs: [test]\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: Packages\n        path: dist\n    - name: Publish package to PyPI\n      continue-on-error: true\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "pypa/setuptools_scm"}
{"mined_at": "2024-07-15T14:02:14.169877", "created_at": "2023-11-15T10:32:20+01:00", "updated_at": "2023-11-15T10:32:20+01:00", "name": "Discord Release Notification", "path": ".github/workflows/discord_release_notification.yml", "contents": "name: Discord Release Notification\n\non:\n  release:\n    types: [published]\n\njobs:\n  notify-discord:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Send Notification to Discord\n      env:\n        DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}\n      # We truncate the description at the models section (starting with ### Models)\n      # to keep the message short.\n      # We have also have to format the release description for it to be valid JSON.\n      # This is done by piping the description to jq.\n      run: |\n          DESCRIPTION=$(echo '${{ github.event.release.body }}' | awk '/### Models/{exit}1' | jq -aRs .)\n          curl -H \"Content-Type: application/json\" \\\n               -X POST \\\n               -d @- \\\n               \"${DISCORD_WEBHOOK}\" << EOF\n          {\n            \"username\": \"Lightly\",\n            \"avatar_url\": \"https://avatars.githubusercontent.com/u/50146475\",\n            \"content\": \"Lightly ${{ github.event.release.tag_name }} has been released!\",\n            \"embeds\": [\n              {\n                \"title\": \"${{ github.event.release.name }}\",\n                \"url\": \"${{ github.event.release.html_url }}\",\n                \"color\": 5814783,\n                \"description\": $DESCRIPTION\n              }\n            ]\n          }\n          EOF\n", "state": "active", "repository": "lightly-ai/lightly"}
{"mined_at": "2024-07-15T14:02:15.398648", "created_at": "2023-03-31T14:24:14+02:00", "updated_at": "2023-03-31T16:40:05+02:00", "name": "Build and release lightly", "path": ".github/workflows/release_pypi.yml", "contents": "name: Build and release lightly\n\non:\n  workflow_dispatch:\n# TODO(Philipp, 03/23): Enable me after proper testing.\n#  release:\n#    types: [published]\n\njobs:\n  build:\n    name: Build and release\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - name: Checkout latest release tag\n      id: checkout_latest_release_tag\n      run: |\n        LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)\n        git checkout $LATEST_TAG\n        echo \"tag_name=$LATEST_TAG\" >> $GITHUB_OUTPUT;\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Build and release\n      id: build_and_release\n      run: |\n        pip3 install wheel\n        pip3 install twine\n        make dist\n        twine upload -u ${{ secrets.PYPI_USER_NAME }} -p ${{ secrets.PYPI_PASSWORD }} dist/*\n    - name: Convert success/failure strings to emojis\n      id: emoji_status\n      run: |\n        function set-emoji-output {\n          if [ \"$2\" == \"success\" ];\n          then echo \"$1=:github-check-mark:\" >> $GITHUB_OUTPUT;\n          else echo \"$1=:github-changes-requested:\" >> $GITHUB_OUTPUT;\n          fi\n        }\n        set-emoji-output status ${{ steps.build_and_release.outcome }}\n    - name: Slack notification\n      if: always()\n      uses: rtCamp/action-slack-notify@v2\n      env:\n        SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_RELEASES }}\n        SLACK_ICON_EMOJI: \":python:\"\n        SLACK_USERNAME: Release of Lightly PIP Package ${{steps.checkout_latest_release_tag.outputs.tag_name}}\n        SLACK_COLOR: ${{ steps.build_and_release.outcome }}\n        SLACK_FOOTER: \"\"\n        SLACK_MESSAGE: |\n          Release status: ${{steps.emoji_status.outputs.status}}\n          https://pypi.org/project/lightly/${{steps.checkout_latest_release_tag.outputs.tag_name}}\n", "state": "active", "repository": "lightly-ai/lightly"}
{"mined_at": "2024-07-15T14:02:16.395374", "created_at": "2020-12-17T18:04:12+01:00", "updated_at": "2022-08-03T16:33:18+02:00", "name": "Unit Tests", "path": ".github/workflows/test.yml", "contents": "name: Unit Tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  detect-code-changes:\n    name: Detect Code Changes\n    runs-on: ubuntu-latest\n    outputs:\n      run-tests: ${{ steps.filter.outputs.run-tests }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          list-files: shell\n          filters: |\n            run-tests:\n              - '!docs/**'\n              - '!examples/**'\n              - '!benchmarks/**'\n\n  test:\n    name: Test\n    needs: detect-code-changes\n    if: needs.detect-code-changes.outputs.run-tests == 'true'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [\"3.7\", \"3.10\"]\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v3\n      - name: Hack to get setup-python to work on nektos/act\n        run: |\n          if [ ! -f \"/etc/lsb-release\" ] ; then\n            echo \"DISTRIB_RELEASE=18.04\" > /etc/lsb-release\n          fi\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - uses: actions/cache@v2\n        with:\n          path: ${{ env.pythonLocation }}\n          key: general-env-${{ runner.os }}-python-${{ matrix.python }}-${{ hashFiles('requirements/**') }}\n      - name: Install Dependencies and lightly\n        run: pip install -e '.[all]'\n      - name: Clean Previous Coverage Data\n        run: rm -f .coverage\n      - name: Run Pytest (Python 3.7)\n        if: matrix.python == '3.7'\n        run: |\n          export LIGHTLY_SERVER_LOCATION=\"localhost:-1\"\n          python -m pytest -s -v --runslow --ignore=./lightly/openapi_generated/\n      - name: Run Pytest with Coverage (Python 3.10)\n        if: matrix.python == '3.10'\n        run: |\n          export LIGHTLY_SERVER_LOCATION=\"localhost:-1\"\n          pip install pytest-cov==5.0.0\n          python -m pytest -s -v --runslow --cov=./lightly --cov-report=xml --ignore=./lightly/openapi_generated/\n      - name: Upload coverage to Codecov\n        if: matrix.python == '3.10'\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: false\n          files: ./coverage.xml\n          token: ${{ secrets.CODECOV_TOKEN }}", "state": "active", "repository": "lightly-ai/lightly"}
{"mined_at": "2024-07-15T14:02:17.407923", "created_at": "2024-07-05T10:22:16+02:00", "updated_at": "2024-07-05T15:03:10+02:00", "name": "Install API Dependencies Only", "path": ".github/workflows/test_api_deps_only.yml", "contents": null, "state": "active", "repository": "lightly-ai/lightly"}
{"mined_at": "2024-07-15T14:02:18.469792", "created_at": "2023-03-07T15:37:17+01:00", "updated_at": "2023-03-08T09:02:46+01:00", "name": "Code Format Check", "path": ".github/workflows/test_code_format.yml", "contents": "name: Code Format Check\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  test:\n    name: Check\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v3\n    - name: Hack to get setup-python to work on nektos/act\n      run: |\n        if [ ! -f \"/etc/lsb-release\" ] ; then\n          echo \"DISTRIB_RELEASE=18.04\" > /etc/lsb-release\n        fi\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.7\"\n    - uses: actions/cache@v2\n      with:\n        path: ${{ env.pythonLocation }}\n        key: cache_v2_${{ env.pythonLocation }}-${{ hashFiles('requirements/**') }}\n    - name: Install Dependencies and lightly\n      run: pip install -e '.[all]'\n    - name: Run Format Check\n      run: |\n        make format-check\n    - name: Run Type Check\n      run: |\n        make type-check\n", "state": "active", "repository": "lightly-ai/lightly"}
{"mined_at": "2024-07-15T14:02:19.488060", "created_at": "2024-01-12T16:14:08+01:00", "updated_at": "2024-01-16T13:32:17+01:00", "name": "Minimal Dependency Tests", "path": ".github/workflows/test_minimal_deps.yml", "contents": "name: Minimal Dependency Tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  detect-code-changes:\n    name: Detect Code Changes\n    runs-on: ubuntu-latest\n    outputs:\n      run-tests: ${{ steps.filter.outputs.run-tests }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          list-files: shell\n          filters: |\n            run-tests:\n              - '!docs/**'\n              - '!examples/**'\n              - '!benchmarks/**'\n\n  test:\n    name: Test\n    needs: detect-code-changes\n    if: needs.detect-code-changes.outputs.run-tests == 'true'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [\"3.7\"]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Cache Python Dependencies\n        uses: actions/cache@v2\n        with:\n          path: ${{ env.pythonLocation }}\n          key: minimal-env-${{ runner.os }}-python-${{ matrix.python }}-${{ hashFiles('requirements/minimal_requirements.txt') }}\n      - name: Install Minimal Dependencies\n        run: pip install -r requirements/minimal_requirements.txt\n      - name: Install Package Without Dependencies\n        run: pip install --no-deps .\n      - name: Run Tests\n        run: |\n          export LIGHTLY_SERVER_LOCATION=\"localhost:-1\"\n          python -m pytest -s -v --runslow\n", "state": "active", "repository": "lightly-ai/lightly"}
{"mined_at": "2024-07-15T14:02:20.605897", "created_at": "2023-05-09T13:13:52+02:00", "updated_at": "2023-05-09T13:13:52+02:00", "name": "Build and release lightly", "path": ".github/workflows/test_release_pypi.yml", "contents": null, "state": "active", "repository": "lightly-ai/lightly"}
{"mined_at": "2024-07-15T14:02:21.635983", "created_at": "2021-03-03T20:00:30+01:00", "updated_at": "2022-08-03T16:33:18+02:00", "name": "check setup.py", "path": ".github/workflows/test_setup.yml", "contents": "name: check setup.py\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  detect-code-changes:\n    name: Detect Code Changes\n    runs-on: ubuntu-latest\n    outputs:\n      run-tests: ${{ steps.filter.outputs.run-tests }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          list-files: shell\n          filters: |\n            run-tests:\n              - '!docs/**'\n\n  test:\n    name: Test setup.py\n    needs: detect-code-changes\n    if: needs.detect-code-changes.outputs.run-tests == 'true'\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v3\n      - name: Hack to get setup-python to work on nektos/act\n        run: |\n          if [ ! -f \"/etc/lsb-release\" ] ; then\n            echo \"DISTRIB_RELEASE=18.04\" > /etc/lsb-release\n          fi\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n      - uses: actions/cache@v2\n        with:\n          path: ${{ env.pythonLocation }}\n          key: cache_v2_${{ env.pythonLocation }}-${{ hashFiles('requirements/**') }}\n      - name: Install Dependencies and lightly\n        run: pip install .\n      - name: basic tests of CLI\n        run: |\n          LIGHTLY_SERVER_LOCATION=\"localhost:-1\"\n          lightly-crop --help\n          lightly-train --help\n          lightly-embed --help\n          lightly-magic --help\n          lightly-download --help\n          lightly-version\n      - name: test of CLI on a real dataset\n        run: |\n          LIGHTLY_SERVER_LOCATION=\"localhost:-1\"\n          git clone https://github.com/alexeygrigorev/clothing-dataset-small clothing_dataset_small\n          INPUT_DIR_1=\"clothing_dataset_small/test/dress\"\n          lightly-train input_dir=$INPUT_DIR_1 trainer.max_epochs=1 loader.num_workers=6\n          lightly-embed input_dir=$INPUT_DIR_1\n", "state": "active", "repository": "lightly-ai/lightly"}
{"mined_at": "2024-07-15T14:02:22.873346", "created_at": "2021-11-25T15:03:04+01:00", "updated_at": "2021-11-25T16:10:40+01:00", "name": "run unmocked tests", "path": ".github/workflows/tests_unmocked.yml", "contents": "name: run unmocked tests\non: [workflow_dispatch]\n\n# Why is this only triggered manually with workflow_dispatch?\n# - We have many unittests anyway\n# - We ran into quota problems with too many tests (3000mins for the pip package)\n# - The tests are unreliable / not deterministic, as they depend on the API from staging\n# - The tests take 10mins, which can slow down development\n\njobs:\n  test:\n    name: Run unmocked tests\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v3\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.7\n    - uses: actions/cache@v2\n      with:\n        path: ${{ env.pythonLocation }}\n        key: cache_v2_${{ env.pythonLocation }}-${{ hashFiles('requirements/**') }}\n    - name: Install Dependencies and lightly\n      run: pip install .\n    - name: run unmocked tests\n      run: |\n        export LIGHTLY_SERVER_LOCATION=${{ secrets.LIGHTLY_SERVER_LOCATION }}\n        bash tests/UNMOCKED_end2end_tests/run_all_unmocked_tests.sh ${{ secrets.DUMMY_USER_TOKEN_STAGING }}\n", "state": "active", "repository": "lightly-ai/lightly"}
{"mined_at": "2024-07-15T14:02:23.974101", "created_at": "2022-08-22T18:30:37+02:00", "updated_at": "2022-08-23T15:32:58+02:00", "name": "Weekly Dependency Test", "path": ".github/workflows/weekly_dependency_test.yml", "contents": "# Install lightly from scratch and run tests.\n# Python environment for regular unit tests is cached. In this workflow,\n# we always pick up the latest dependencies and therefore check if a new\n# external release breaks lightly.\nname: Weekly Dependency Test\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 22 * * THU' # each Thursday night, at 22:00 UTC\n\njobs:\n  test_fresh_install:\n    name: Test fresh install\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Install Lightly from scratch\n      run: |\n        pip3 install \".[dev]\"\n    - name: Run tests\n      id: run_tests\n      run: |\n        pytest -n auto\n    - name: Slack notification\n      if: always()\n      uses: rtCamp/action-slack-notify@v2\n      env:\n        SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_NIGHTLY }}\n        SLACK_ICON_EMOJI: \":github:\"\n        SLACK_USERNAME: Lightly PIP Package ${{ github.workflow }}\n        SLACK_COLOR: ${{ steps.run_tests.outcome }}\n        SLACK_FOOTER: \"\"\n", "state": "active", "repository": "lightly-ai/lightly"}
{"mined_at": "2024-07-15T14:02:26.177354", "created_at": "2023-04-11T17:24:00+02:00", "updated_at": "2023-04-12T15:56:45+02:00", "name": "Docker Build and Publish", "path": ".github/workflows/dockerbuild.yml", "contents": "name: Docker Build and Publish\n\npermissions:\n  packages: write\n\non:\n  workflow_dispatch:\n    inputs:\n      tags:\n        description: 'Manual supplied image tag like 1.16.0'\n        required: true\n        type: string\n  push:\n    tags:\n      - \"*.*.*\"\njobs:\n  build-and-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ghcr.io/${{ github.repository }}/mapproxy\n          tags: |\n            type=semver,pattern={{version}}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to ghcr.io\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push base image\n        uses: docker/build-push-action@v5\n        if: ${{ inputs.tags }}\n        with:\n          context: docker/\n          file: ./docker/Dockerfile\n          push: true\n          build-args: |\n            MAPPROXY_VERSION=${{ inputs.tags }}\n          target: base\n          tags: |\n            ghcr.io/${{ github.repository }}/mapproxy:${{ inputs.tags }}\n          platforms: linux/amd64,linux/arm64\n\n      - name: Build and push base image\n        uses: docker/build-push-action@v5\n        if: ${{ !inputs.tags }}\n        with:\n          context: docker/\n          file: ./docker/Dockerfile\n          push: true\n          build-args: |\n            MAPPROXY_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}\n          target: base\n          tags: |\n            ghcr.io/${{ github.repository }}/mapproxy:${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}\n          platforms: linux/amd64,linux/arm64\n\n      - name: Build and push base alpine image\n        uses: docker/build-push-action@v5\n        if: ${{ inputs.tags }}\n        with:\n          context: docker/\n          file: ./docker/Dockerfile-alpine\n          push: true\n          build-args: |\n            MAPPROXY_VERSION=${{ inputs.tags }}\n          target: base\n          tags: |\n            ghcr.io/${{ github.repository }}/mapproxy:${{ inputs.tags }}-alpine\n          platforms: linux/amd64,linux/arm64\n\n      - name: Build and push base alpine image\n        uses: docker/build-push-action@v5\n        if: ${{ !inputs.tags }}\n        with:\n          context: docker/\n          file: ./docker/Dockerfile-alpine\n          push: true\n          build-args: |\n            MAPPROXY_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}\n          target: base\n          tags: |\n            ghcr.io/${{ github.repository }}/mapproxy:${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}-alpine\n          platforms: linux/amd64,linux/arm64\n\n      - name: Build and push development image\n        uses: docker/build-push-action@v5\n        if: ${{ inputs.tags }}\n        with:\n          context: docker/\n          file: ./docker/Dockerfile\n          push: true\n          build-args: |\n            MAPPROXY_VERSION=${{ inputs.tags }}\n          target: development\n          tags: |\n            ghcr.io/${{ github.repository }}/mapproxy:${{ inputs.tags }}-dev\n          platforms: linux/amd64,linux/arm64\n\n      - name: Build and push development image\n        uses: docker/build-push-action@v5\n        if: ${{ !inputs.tags }}\n        with:\n          context: docker/\n          file: ./docker/Dockerfile\n          push: true\n          build-args: |\n            MAPPROXY_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}\n          target: development\n          tags: |\n            ghcr.io/${{ github.repository }}/mapproxy:${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}-dev\n          platforms: linux/amd64,linux/arm64\n\n      - name: Build and push nginx image\n        uses: docker/build-push-action@v5\n        if: ${{ inputs.tags }}\n        with:\n          context: docker/\n          file: ./docker/Dockerfile\n          push: true\n          build-args: |\n            MAPPROXY_VERSION=${{ inputs.tags }}\n          target: nginx\n          tags: |\n            ghcr.io/${{ github.repository }}/mapproxy:${{ inputs.tags }}-nginx\n          platforms: linux/amd64,linux/arm64\n\n      - name: Build and push nginx image\n        uses: docker/build-push-action@v5\n        if: ${{ !inputs.tags }}\n        with:\n          context: docker/\n          file: ./docker/Dockerfile\n          push: true\n          build-args: |\n            MAPPROXY_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}\n          target: nginx\n          tags: |\n            ghcr.io/${{ github.repository }}/mapproxy:${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}-nginx\n          platforms: linux/amd64,linux/arm64\n\n      - name: Build and push alpine based nginx image\n        uses: docker/build-push-action@v5\n        if: ${{ inputs.tags }}\n        with:\n          context: docker/\n          file: ./docker/Dockerfile-alpine\n          push: true\n          build-args: |\n            MAPPROXY_VERSION=${{ inputs.tags }}\n          target: nginx\n          tags: |\n            ghcr.io/${{ github.repository }}/mapproxy:${{ inputs.tags }}-alpine-nginx\n          platforms: linux/amd64,linux/arm64\n\n      - name: Build and push alpine based nginx image\n        uses: docker/build-push-action@v5\n        if: ${{ !inputs.tags }}\n        with:\n          context: docker/\n          file: ./docker/Dockerfile-alpine\n          push: true\n          build-args: |\n            MAPPROXY_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}\n          target: nginx\n          tags: |\n            ghcr.io/${{ github.repository }}/mapproxy:${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}-alpine-nginx\n          platforms: linux/amd64,linux/arm64\n", "state": "active", "repository": "mapproxy/mapproxy"}
{"mined_at": "2024-07-15T14:02:27.170506", "created_at": "2021-11-24T19:15:42+01:00", "updated_at": "2021-11-24T19:15:42+01:00", "name": "Build and deploy documentation on github pages", "path": ".github/workflows/ghpages.yml", "contents": "name: Build and deploy documentation on github pages\n\non:\n  push:\n    tags:\n      - \"*.*.*\"\n\npermissions:\n  contents: write\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n\n    steps:\n    - name: Checkout sources\n      uses: actions/checkout@v4\n      with:\n        ref: upgrade-docs\n\n    - name: Install dependencies ⏬\n      run: pip install sphinx sphinx-book-theme sphinx-copybutton\n\n    - name: Run documentation build\n      run: sphinx-build doc/ docs -D html_context.current_version=${{ github.ref_name }}\n\n    - name: Deploy docs to folder `latest` to GitHub Pages\n      uses: JamesIves/github-pages-deploy-action@v4.5.0\n      with:\n        folder: docs\n        target-folder: docs/latest\n\n    - name: Deploy docs to a folder named after the new tag to GitHub Pages\n      uses: JamesIves/github-pages-deploy-action@v4.5.0\n      with:\n        folder: docs\n        target-folder: docs/${{ github.ref_name }}\n\n    - name: Update versions config\n      # read existing versions from gh-pages branch, add new version, sort, dedupe and write results to config/versions.json\n      run: |\n        mkdir config\n        echo -e \"${{ github.ref_name }}\\n$(git show gh-pages:config/versions.json | jq -r '.[]')\" \\\n        | sort -V | uniq | jq -R -s -c 'split(\"\\n\")[:-1]' > config/versions.json\n\n    - name: Deploy config folder to GitHub Pages\n      uses: JamesIves/github-pages-deploy-action@v4.5.0\n      with:\n        folder: config\n        target-folder: docs/config\n", "state": "active", "repository": "mapproxy/mapproxy"}
{"mined_at": "2024-07-15T14:02:28.294184", "created_at": "2024-01-08T15:30:03+01:00", "updated_at": "2024-01-11T16:34:42+01:00", "name": "Running mapproxy lint", "path": ".github/workflows/lint.yml", "contents": "name: Running mapproxy lint\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v4\n\n      - name: Use python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: flake8 Lint\n        uses: py-actions/flake8@v2\n", "state": "active", "repository": "mapproxy/mapproxy"}
{"mined_at": "2024-07-15T14:02:29.426983", "created_at": "2024-07-10T14:59:35+02:00", "updated_at": "2024-07-10T14:59:35+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": null, "state": "active", "repository": "mapproxy/mapproxy"}
{"mined_at": "2024-07-15T14:02:30.496561", "created_at": "2021-08-06T10:51:08+02:00", "updated_at": "2021-08-06T16:01:27+02:00", "name": "Running mapproxy tests", "path": ".github/workflows/test.yml", "contents": "name: Running mapproxy tests\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    services:\n      redis-server:\n        image: redis\n        ports:\n          - 6379:6379\n      couchdb:\n        image: couchdb:2\n        ports:\n          - 5984:5984\n      riak:\n        image: basho/riak-kv\n        ports:\n          - 8087:8087\n          - 8098:8098\n      azure-blob:\n        image: mcr.microsoft.com/azure-storage/azurite\n        ports:\n          - 10000:10000\n\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    env:\n      MAPPROXY_TEST_COUCHDB: 'http://localhost:5984'\n      MAPPROXY_TEST_REDIS: '127.0.0.1:6379'\n      MAPPROXY_TEST_RIAK_HTTP: 'http://localhost:8098'\n      MAPPROXY_TEST_RIAK_PBC: 'pbc://localhost:8087'\n      MAPPROXY_TEST_AZURE_BLOB: 'http://localhost:10000'\n      # do not load /etc/boto.cfg with Python 3 incompatible plugin\n      # https://github.com/travis-ci/travis-ci/issues/5246#issuecomment-166460882\n      BOTO_CONFIG: '/doesnotexist'\n\n    steps:\n    - name: Install packages\n      run: |\n        sudo apt update\n        sudo apt install proj-bin libgeos-dev libgdal-dev libxslt1-dev libxml2-dev build-essential python-dev libjpeg-dev zlib1g-dev libfreetype6-dev protobuf-compiler libprotoc-dev -y\n\n    - name: Checkout sources\n      uses: actions/checkout@v4\n\n    - name: Use python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache python deps 💾\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.OS }}-python-${{ hashFiles('**/requirements-tests.txt') }}\n        restore-keys: |\n          ${{ runner.OS }}-python-\n          ${{ runner.OS }}-\n\n    - name: Install dependencies ⏬\n      run: |\n        pip install .\n        pip install -r requirements-tests.txt\n        pip freeze\n\n    - name: Run tests 🏗️\n      run: |\n        export LD_PRELOAD=/lib/x86_64-linux-gnu/libstdc++.so.6:$LD_PRELOAD\n        pytest mapproxy\n", "state": "active", "repository": "mapproxy/mapproxy"}
{"mined_at": "2024-07-15T14:02:31.577432", "created_at": "2022-06-14T10:37:20+02:00", "updated_at": "2022-06-14T10:37:20+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mapproxy/mapproxy"}
{"mined_at": "2024-07-15T14:02:34.035258", "created_at": "2020-11-18T16:02:09+01:00", "updated_at": "2020-11-18T16:02:09+01:00", "name": "Issue Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Issue Labeler\"\non:\n  issues:\n    types: [opened]\n  pull_request_target:\n    types: [opened]\n\n# '*: write' permissions for https://docs.github.com/en/rest/issues/labels?apiVersion=2022-11-28#add-labels-to-an-issue\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Add agent-python label\n      uses: actions-ecosystem/action-add-labels@v1\n      with:\n        labels: agent-python\n    - id: is_elastic_member\n      uses: elastic/apm-pipeline-library/.github/actions/is-member-elastic-org@current\n      with:\n        username: ${{ github.actor }}\n        token: ${{ secrets.APM_TECH_USER_TOKEN }}\n    - name: Add community and triage labels\n      if: contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]' && github.actor != 'apmmachine'\n      uses: actions-ecosystem/action-add-labels@v1\n      with:\n        labels: |\n          community\n          triage\n", "state": "active", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:35.153472", "created_at": "2022-08-18T10:50:11+02:00", "updated_at": "2022-10-05T18:30:37+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\npermissions:\n  contents: read\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n    - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:36.299438", "created_at": "2023-01-30T15:11:03+01:00", "updated_at": "2023-05-10T18:14:50+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test # The name must be the same as in test-docs.yml\n\non:\n  workflow_call:\n    inputs:\n      full-matrix:\n        description: \"Run the full matrix\"\n        required: true\n        type: boolean\n      ref:\n        description: \"The git ref of elastic/apm-agent-python to run test workflow from.\"\n        required: false\n        type: string\n  pull_request:\n    paths-ignore:\n      - \"**/*.md\"\n      - \"**/*.asciidoc\"\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - \"**/*.md\"\n      - \"**/*.asciidoc\"\n  schedule:\n    - cron: \"0 2 * * *\"\n  workflow_dispatch:\n    inputs:\n      full-matrix:\n        description: \"Run the full matrix\"\n        required: true\n        type: boolean\n\npermissions:\n  contents: read\n\njobs:\n  build-distribution:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/build-distribution\n\n\n  create-matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.generate.outputs.matrix }}\n      data: ${{ steps.split.outputs.data }}\n      chunks: ${{ steps.split.outputs.chunks }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref || github.ref }}\n      - id: generate\n        uses: elastic/apm-pipeline-library/.github/actions/version-framework@current\n        with:\n          # Use .ci/.matrix_python_full.yml if it's a scheduled workflow, otherwise use .ci/.matrix_python.yml\n          versionsFile: .ci/.matrix_python${{ (github.event_name == 'schedule' || github.event_name == 'push' || inputs.full-matrix) && '_full' || '' }}.yml\n          # Use .ci/.matrix_framework_full.yml if it's a scheduled workflow, otherwise use .ci/.matrix_framework.yml\n          frameworksFile: .ci/.matrix_framework${{ (github.event_name == 'schedule' || github.event_name == 'push' || inputs.full-matrix) && '_full' || '' }}.yml\n          excludedFile: .ci/.matrix_exclude.yml\n      - name: Split matrix\n        shell: python\n        id: split\n        run: |\n          import os\n          import json\n\n          def split(lst, n):\n            return [lst[i::n] for i in range(n)]\n\n          matrix = json.loads(os.environ['GENERATED_MATRIX'])\n\n          # Using the number 4 because the full matrix has roughly 400+ items\n          # Hence, it is split into chunks of size ~100\n          # We are doing this because the matrix in GH actions has a max limit of 256\n          chunks = split(matrix['include'], 4)\n          chunks_json = json.dumps(chunks)\n\n          with open(os.environ['GITHUB_OUTPUT'], 'a') as f:\n            print(f'chunks={chunks_json}', file=f)\n\n        env:\n          GENERATED_MATRIX: ${{ steps.generate.outputs.matrix }}\n\n  chunks-0:\n    needs: create-matrix\n    uses: ./.github/workflows/run-matrix.yml\n    with:\n      include: ${{ toJSON(fromJSON(needs.create-matrix.outputs.chunks)[0]) }}\n\n  chunks-1:\n    needs: create-matrix\n    uses: ./.github/workflows/run-matrix.yml\n    with:\n      include: ${{ toJSON(fromJSON(needs.create-matrix.outputs.chunks)[1]) }}\n\n  chunks-2:\n    needs: create-matrix\n    uses: ./.github/workflows/run-matrix.yml\n    with:\n      include: ${{ toJSON(fromJSON(needs.create-matrix.outputs.chunks)[2]) }}\n\n  chunks-3:\n    needs: create-matrix\n    uses: ./.github/workflows/run-matrix.yml\n    with:\n      include: ${{ toJSON(fromJSON(needs.create-matrix.outputs.chunks)[3]) }}\n\n  windows:\n    name: \"windows (version: ${{ matrix.version }}, framework: ${{ matrix.framework }}, asyncio: ${{ matrix.asyncio }})\"\n    runs-on: windows-2019\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          #  - version: \"3.6\"\n          #    framework: \"none\"\n          #    asyncio: \"true\"\n          #  - version: \"3.7\"\n          #    framework: none\n          #    asyncio: true\n          - version: \"3.8\"\n            framework: none\n            asyncio: true\n          - version: \"3.9\" # waiting for greenlet to have binary wheels for 3.9\n            framework: none\n            asyncio: true\n    env:\n      VERSION: ${{ matrix.version }}\n      FRAMEWORK: ${{ matrix.framework }}\n      ASYNCIO: ${{ matrix.asyncio }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref || github.ref }}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.version }}\n          cache: pip\n          cache-dependency-path: \"tests/requirements/reqs-${{ matrix.framework }}.txt\"\n      - name: Install tools\n        run: .\\scripts\\install-tools.bat\n      - name: Run tests\n        run: .\\scripts\\run-tests.bat\n      - if: success() || failure()\n        name: Upload JUnit Test Results\n        uses: actions/upload-artifact@v3\n        with:\n          name: test-results\n          path: \"**/*-python-agent-junit.xml\"\n      - if: success() || failure()\n        name: Upload Coverage Reports\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-reports\n          path: \"**/.coverage*\"\n  # This job is here to have a single status check that can be set as required.\n  # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds\n  # If a run contains a series of jobs that need each other, a failure applies to all jobs in the dependency chain from the point of failure onwards.\n  all:\n    if: always()\n    runs-on: ubuntu-latest\n    needs:\n      - chunks-0\n      - chunks-1\n      - chunks-2\n      - chunks-3\n      - windows\n    steps:\n      - id: check\n        uses: elastic/apm-pipeline-library/.github/actions/check-dependent-jobs@current\n        with:\n          needs: ${{ toJSON(needs) }}\n      - run: ${{ steps.check.outputs.isSuccess }}\n      - if: failure() && (github.event_name == 'schedule' || github.event_name == 'push')\n        uses: elastic/oblt-actions/slack/notify-result@v1\n        with:\n          bot-token: ${{ secrets.SLACK_BOT_TOKEN }}\n          status: ${{ steps.check.outputs.status }}\n          channel-id: \"#apm-agent-python\"\n\n  coverage:\n    name: Combine & check coverage.\n    needs: all\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref || github.ref }}\n\n      - uses: actions/setup-python@v5\n        with:\n          # Use latest Python, so it understands all syntax.\n          python-version: 3.11\n\n      - run: python -Im pip install --upgrade coverage[toml]\n\n      - uses: actions/download-artifact@v3\n        with:\n          name: coverage-reports\n\n      - name: Combine coverage & fail if it's <84%.\n        run: |\n          python -Im coverage combine\n          python -Im coverage html --skip-covered --skip-empty\n\n          # Report and write to summary.\n          python -Im coverage report | sed 's/^/    /' >> $GITHUB_STEP_SUMMARY\n\n          # Report again and fail if under 84%.\n          python -Im coverage report --fail-under=84\n\n      - name: Upload HTML report\n        uses: actions/upload-artifact@v4\n        with:\n          name: html-coverage-report\n          path: htmlcov\n      - uses: geekyeggo/delete-artifact@24928e75e6e6590170563b8ddae9fac674508aa1\n        with:\n          name: coverage-reports\n", "state": "active", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:37.319205", "created_at": "2023-01-31T14:51:36+01:00", "updated_at": "2024-03-11T09:32:59+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  push:\n    tags:\n      - \"v*.*.*\"\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    uses: ./.github/workflows/test-release.yml\n    with:\n      full-matrix: true\n      enabled: ${{ startsWith(github.ref, 'refs/tags') }}\n\n  packages:\n    permissions:\n      attestations: write\n      id-token: write\n      contents: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/packages\n      - name: generate build provenance\n        uses: actions/attest-build-provenance@534b352d658f90498fd148d231fdbf88f3886a3a  # v1.3.1\n        with:\n          subject-path: \"${{ github.workspace }}/dist/*\"\n\n  publish-pypi:\n    needs:\n      - test\n      - packages\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n        with:\n          name: packages\n          path: dist\n      - name: Upload pypi.org\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0\n        with:\n          repository-url: https://upload.pypi.org/legacy/\n      - name: Upload test.pypi.org\n        if: ${{ ! startsWith(github.ref, 'refs/tags') }}\n        uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0\n        with:\n          repository-url: https://test.pypi.org/legacy/\n\n  build-distribution:\n    permissions:\n      attestations: write\n      id-token: write\n      contents: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/build-distribution\n      - name: generate build provenance\n        uses: actions/attest-build-provenance@534b352d658f90498fd148d231fdbf88f3886a3a  # v1.3.1\n        with:\n          subject-path: \"${{ github.workspace }}/build/dist/elastic-apm-python-lambda-layer.zip\"\n\n  publish-lambda-layers:\n    needs:\n      - build-distribution\n    runs-on: ubuntu-latest\n    env:\n      # TODO: use keyless\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v3\n        with:\n          name: build-distribution\n          path: ./build\n      - name: Publish lambda layers to AWS\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          # Convert v1.2.3 to ver-1-2-3\n          VERSION=${GITHUB_REF_NAME/v/ver-}\n          VERSION=${VERSION//./-}\n\n          ELASTIC_LAYER_NAME=\"elastic-apm-python-${VERSION}\" .ci/publish-aws.sh\n      - uses: actions/upload-artifact@v4\n        if: startsWith(github.ref, 'refs/tags')\n        with:\n          name: arn-file\n          path: \".arn-file.md\"\n          if-no-files-found: error\n\n  publish-docker:\n    needs:\n      - build-distribution\n    runs-on: ubuntu-latest\n    permissions:\n      attestations: write\n      id-token: write\n      contents: write\n    strategy:\n      fail-fast: false\n      matrix:\n        dockerfile: [ 'Dockerfile', 'Dockerfile.wolfi' ]\n    env:\n      DOCKER_IMAGE_NAME: docker.elastic.co/observability/apm-agent-python\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Log in to the Elastic Container registry\n        uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0\n        with:\n          registry: ${{ secrets.ELASTIC_DOCKER_REGISTRY }}\n          username: ${{ secrets.ELASTIC_DOCKER_USERNAME }}\n          password: ${{ secrets.ELASTIC_DOCKER_PASSWORD }}\n\n      - uses: actions/download-artifact@v3\n        with:\n          name: build-distribution\n          path: ./build\n\n      - name: Extract metadata (tags, labels)\n        id: docker-meta\n        uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81  # v5.5.1\n        with:\n          images: ${{ env.DOCKER_IMAGE_NAME }}\n          tags: |\n            type=raw,value=latest,prefix=test-,enable={{is_default_branch}}\n            type=semver,pattern={{version}}\n          flavor: |\n            suffix=${{ contains(matrix.dockerfile, 'wolfi') && '-wolfi' || '' }}\n\n      - name: Build and push image\n        id: push\n        uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25  # v5.4.0\n        with:\n          context: .\n          push: true\n          file: ${{ matrix.dockerfile }}\n          tags: ${{ steps.docker-meta.outputs.tags }}\n          labels: ${{ steps.docker-meta.outputs.labels }}\n          build-args: |\n            AGENT_DIR=./build/dist/package/python\n\n      - name: generate build provenance (containers)\n        uses: actions/attest-build-provenance@534b352d658f90498fd148d231fdbf88f3886a3a  # v1.3.1\n        with:\n          subject-name: \"${{ env.DOCKER_IMAGE_NAME }}\"\n          subject-digest: ${{ steps.push.outputs.digest }}\n          push-to-registry: true\n\n  github-draft:\n    permissions:\n      contents: write\n    needs:\n      - publish-lambda-layers\n    if: startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n        with:\n          name: arn-file\n      - name: Create GitHub Draft Release\n        run: >-\n          gh release create \"${GITHUB_REF_NAME}\"\n          --title=\"${GITHUB_REF_NAME}\"\n          --generate-notes\n          --notes-file=\".arn-file.md\"\n          --draft\n        env:\n          GH_TOKEN: ${{ github.token }}\n\n  notify:\n    runs-on: ubuntu-latest\n    if: always()\n    needs:\n      - publish-lambda-layers\n      - publish-pypi\n      - publish-docker\n      - github-draft\n    steps:\n      - id: check\n        uses: elastic/apm-pipeline-library/.github/actions/check-dependent-jobs@current\n        with:\n          needs: ${{ toJSON(needs) }}\n      - if: startsWith(github.ref, 'refs/tags')\n        uses: elastic/oblt-actions/slack/notify-result@v1.7.0\n        with:\n          bot-token: ${{ secrets.SLACK_BOT_TOKEN }}\n          channel-id: \"#apm-agent-python\"\n          status: ${{ steps.check.outputs.status }}\n", "state": "active", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:38.313626", "created_at": "2023-02-01T10:21:35+01:00", "updated_at": "2023-02-07T08:55:55+01:00", "name": "packages", "path": ".github/workflows/packages.yml", "contents": "name: packages\n\non:\n  workflow_call: ~\n  pull_request:\n    paths-ignore:\n      - '**/*.md'\n      - '**/*.asciidoc'\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - '**/*.md'\n      - '**/*.asciidoc'\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/packages\n", "state": "active", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:39.567085", "created_at": "2023-02-09T09:10:15+01:00", "updated_at": "2023-02-09T09:10:15+01:00", "name": "run-matrix", "path": ".github/workflows/run-matrix.yml", "contents": "name: run-matrix\n\non:\n  workflow_call:\n    inputs:\n      include:\n        required: true\n        description: Matrix include JSON string\n        type: string\n\npermissions:\n  contents: read\n\njobs:\n  docker:\n    name: \"docker (version: ${{ matrix.version }}, framework: ${{ matrix.framework }})\"\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 10\n      matrix:\n        include: ${{ fromJSON(inputs.include) }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run tests\n        run: ./tests/scripts/docker/run_tests.sh ${{ matrix.version }} ${{ matrix.framework }}\n        env:\n          LOCALSTACK_VOLUME_DIR: localstack_data\n      - if: success() || failure()\n        name: Upload JUnit Test Results\n        uses: actions/upload-artifact@v3\n        with:\n          name: test-results\n          path: \"**/*-python-agent-junit.xml\"\n      - if: success() || failure()\n        name: Upload Coverage Reports\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-reports\n          path: \"**/.coverage*\"\n", "state": "active", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:40.676144", "created_at": "2023-02-13T14:40:46+01:00", "updated_at": "2023-02-13T14:40:46+01:00", "name": "test", "path": ".github/workflows/test-docs.yml", "contents": "---\n# This workflow sets the test / all status check to success in case it's a docs only PR and test.yml is not triggered\n# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks\nname: test # The name must be the same as in test.yml\n\non:\n  pull_request:\n    paths-ignore: # This expression needs to match the paths ignored on test.yml.\n      - '**'\n      - '!**/*.md'\n      - '!**/*.asciidoc'\n\npermissions:\n  contents: read\n\njobs:\n  all:\n    runs-on: ubuntu-latest\n    steps:\n      - run: 'echo \"No build required\"'\n      # As long as this workflow uses the same name than .github/workflows/test.yml and\n      # the test-reporter requires artifacts with the test results to exist.\n      # let's produce a dummy test so the test-report don't fail in this particular\n      # case\n      - name: Generate junit placeholder - to integrate with test-reporter\n        run: |-\n          cat > docs-python-agent-junit.xml << ENDOFFILE\n          <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n          <testsuites name=\"apm-agent-python\" tests=\"1\" failures=\"0\" errors=\"0\" time=\"1\">\n            <testsuite name=\"apm-agent-python-docs\" errors=\"0\" failures=\"0\" skipped=\"1\" time=\"1\" tests=\"1\">\n              <testcase classname=\"docs\" name=\"Skipped test\" time=\"0\">\n                <skipped/>\n              </testcase>\n            </testsuite>\n          </testsuites>\n          ENDOFFILE\n      - if: success() || failure()\n        name: Upload JUnit Test Results\n        uses: actions/upload-artifact@v3\n        with:\n          name: test-results\n          path: \"docs-python-agent-junit.xml\"\n", "state": "active", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:41.817063", "created_at": "2023-03-21T11:58:34+01:00", "updated_at": "2023-03-21T11:58:34+01:00", "name": "updatecli", "path": ".github/workflows/updatecli.yml", "contents": "name: updatecli\n\non:\n  workflow_dispatch: ~\n  schedule:\n    - cron: '0 6 * * *'\n\npermissions:\n  contents: read\n\njobs:\n  bump:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: elastic/oblt-actions/updatecli/run@v1\n        with:\n          command: \"apply --config .ci/updatecli/updatecli.d --values .ci/updatecli/values.yml\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.UPDATECLI_GH_TOKEN }}\n\n      - if: failure()\n        uses: elastic/oblt-actions/slack/send@v1\n        with:\n          bot-token: ${{ secrets.SLACK_BOT_TOKEN }}\n          channel-id: \"#apm-agent-python\"\n          message: \":traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`, @robots-ci please look what's going on <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>\"\n", "state": "active", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:42.944058", "created_at": "2023-05-10T11:56:25+02:00", "updated_at": "2023-05-16T21:19:52+02:00", "name": "microbenchmark", "path": ".github/workflows/microbenchmark.yml", "contents": "name: microbenchmark\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - '**.md'\n      - '**.asciidoc'\n\n# limit the access of the generated GITHUB_TOKEN\npermissions:\n  contents: read\n\njobs:\n  microbenchmark:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - name: Run microbenchmark\n        uses: elastic/oblt-actions/buildkite/run@v1.5.0\n        with:\n          pipeline: \"apm-agent-microbenchmark\"\n          token: ${{ secrets.BUILDKITE_TOKEN }}\n          wait-for: false\n          env-vars: |\n            script=.ci/bench.sh\n            repo=apm-agent-python\n            sha=${{ github.sha }}\n            BRANCH_NAME=${{ github.ref_name }}\n", "state": "active", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:44.073647", "created_at": "2024-01-26T22:27:38+01:00", "updated_at": "2024-01-29T21:32:06+01:00", "name": "matrix-command", "path": ".github/workflows/matrix-command.yml", "contents": "name: matrix-command\n\non:\n  pull_request_review:\n    types:\n      - submitted\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\npermissions:\n  contents: read\n\njobs:\n  command-validation:\n    if: startsWith(github.event.review.body, '/test matrix')\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    permissions:\n      pull-requests: write\n    steps:\n      - name: Is comment allowed?\n        uses: actions/github-script@v7\n        with:\n          script: |\n            const actorPermission = (await github.rest.repos.getCollaboratorPermissionLevel({\n              ...context.repo,\n              username: context.actor\n            })).data.permission\n            const isPermitted = ['write', 'admin'].includes(actorPermission)\n            if (!isPermitted) {\n              const errorMessage = 'Only users with write permission to the repository can run GitHub commands'\n              await github.rest.issues.createComment({\n                ...context.repo,\n                issue_number: context.issue.number,\n                body: errorMessage,\n              })\n              core.setFailed(errorMessage)\n              return\n            }\n\n  test:\n    needs:\n      - command-validation\n    uses: ./.github/workflows/test.yml\n    with:\n      full-matrix: true\n      ref: ${{ github.event.pull_request.head.sha }}\n", "state": "active", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:45.299477", "created_at": "2024-03-13T18:08:29+01:00", "updated_at": "2024-03-13T18:08:29+01:00", "name": "test-release", "path": ".github/workflows/test-release.yml", "contents": "name: test-release\n\non:\n  workflow_call:\n    inputs:\n      full-matrix:\n        description: \"Run the full matrix\"\n        required: true\n        type: boolean\n      ref:\n        description: \"The git ref of elastic/apm-agent-python to run test workflow from.\"\n        required: false\n        type: string\n      enabled:\n        description: \"Whether to run the workfow\"\n        required: true\n        type: boolean\n  workflow_dispatch:\n    inputs:\n      full-matrix:\n        description: \"Run the full matrix\"\n        required: true\n        type: boolean\n      enabled:\n        description: \"Whether to run the workfow\"\n        required: true\n        type: boolean\n\njobs:\n  test:\n    if: ${{ inputs.enabled }}\n    uses: ./.github/workflows/test.yml\n    with:\n      full-matrix: ${{ inputs.full-matrix }}\n\n  run-if-disabled:\n    if: ${{ ! inputs.enabled }}\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo \"do something to help with the reusable workflows with needs\"\n", "state": "active", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:46.527666", "created_at": "2023-02-07T08:55:55+01:00", "updated_at": "2024-04-29T10:12:56+02:00", "name": "test-reporter", "path": ".github/workflows/test-reporter.yml", "contents": "---\n## Workflow to process the JUnit test results and add a report to the checks.\nname: test-reporter\non:\n  workflow_run:\n    workflows:\n      - test\n    types:\n      - completed\n\npermissions:\n  contents: read\n  actions: read\n  checks: write\n\njobs:\n  report:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: elastic/apm-pipeline-library/.github/actions/test-report@current\n        with:\n          artifact: test-results\n          name: JUnit Tests\n          path: \"**/*-python-agent-junit.xml\"\n          reporter: java-junit\n", "state": "disabled_manually", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:47.614915", "created_at": "2024-03-25T12:16:21+01:00", "updated_at": "2024-05-07T16:00:51+02:00", "name": "sbom", "path": ".github/workflows/sbom.yml", "contents": null, "state": "disabled_manually", "repository": "elastic/apm-agent-python"}
{"mined_at": "2024-07-15T14:02:49.668463", "created_at": "2022-05-31T18:57:05+02:00", "updated_at": "2023-10-22T21:50:56+02:00", "name": "CI", "path": ".github/workflows/python-app.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\nenv:\n  DEFAULT_PYTHON: \"3.10\"\n\npermissions:\n  contents: read\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: chartboost/ruff-action@v1\n\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n      - uses: psf/black@24.4.2\n\n  pylint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n      - name: Run Pylint\n        run: |\n          pylint office365\n\n  pytest:\n    runs-on: ubuntu-latest\n    needs:\n      - ruff\n      - black\n      - pylint\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n      - name: Test with pytest\n        env:\n          office365_python_sdk_securevars: ${{ secrets.OFFICE365_PYTHON_SDK_SECUREVARS }}\n        run: |\n          echo \"${{env.office365_python_sdk_securevars}}\"\n          pytest\n", "state": "active", "repository": "vgrem/office365-rest-python-client"}
{"mined_at": "2024-07-15T14:02:51.752284", "created_at": "2022-03-25T10:04:21+01:00", "updated_at": "2022-03-25T10:04:21+01:00", "name": "Gnocchi CI Image", "path": ".github/workflows/gnocchi-ci-image.yml", "contents": "name: Gnocchi CI Image\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n      - 'images/Dockerfile.ci'\n      - 'images/entrypoint.sh.ci'\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - uses: docker/build-push-action@v2\n        with:\n          context: ./images\n          file: ./images/Dockerfile.ci\n          push: true\n          tags: ghcr.io/gnocchixyz/ci:latest\n", "state": "active", "repository": "gnocchixyz/gnocchi"}
{"mined_at": "2024-07-15T14:02:52.878651", "created_at": "2021-07-07T21:19:58+02:00", "updated_at": "2022-06-14T00:11:12+02:00", "name": "Gnocchi", "path": ".github/workflows/gnocchi.yml", "contents": "name: Gnocchi\n\non:\n  workflow_dispatch:\n    inputs:\n      debug:\n        description: 'Enable debug'\n        required: false\n        default: false\n        type: boolean\n  pull_request:\n\n# NOTE(tobias-urdin): If you change any jobs make sure to modify\n# the Mergify.io config in .mergify.yml to include the jobs!\n\njobs:\n  doc:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        env:\n          - docs\n          - docs-gnocchi-web\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - run: sudo chown -R 1001:1001 $GITHUB_WORKSPACE\n      - uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            ci_image:\n              - 'images/Dockerfile.ci'\n              - 'images/entrypoint.sh.ci'\n      - uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n        if: steps.changes.outputs.ci_image == 'false'\n      - run: docker pull ghcr.io/gnocchixyz/ci:latest\n        if: steps.changes.outputs.ci_image == 'false'\n      - uses: docker/build-push-action@v2\n        with:\n          context: ./images\n          file: ./images/Dockerfile.ci\n          push: false\n          tags: ghcr.io/gnocchixyz/ci:latest\n        if: steps.changes.outputs.ci_image == 'true'\n      - name: Set env vars\n        run: |\n          if [ \"${{ github.event.inputs.debug }}\" == \"true\" ]; then\n            echo \"DOCKER_ENV_OPTS=-e GNOCCHI_TEST_DEBUG=1\" >> $GITHUB_ENV\n          else\n            echo \"DOCKER_ENV_OPTS=\" >> $GITHUB_ENV\n          fi\n      - name: Run tests with tox in container\n        run: docker run --rm -v ${{ github.workspace }}:/github/workspace -w /github/workspace $DOCKER_ENV_OPTS ghcr.io/gnocchixyz/ci:latest \"tox -e ${{ matrix.env }}\"\n\n  check:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        env:\n          - build\n          - pep8\n    steps:\n      - uses: actions/checkout@v4\n      - run: sudo chown -R 1001:1001 $GITHUB_WORKSPACE\n      - uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            ci_image:\n              - 'images/Dockerfile.ci'\n              - 'images/entrypoint.sh.ci'\n      - uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n        if: steps.changes.outputs.ci_image == 'false'\n      - run: docker pull ghcr.io/gnocchixyz/ci:latest\n        if: steps.changes.outputs.ci_image == 'false'\n      - uses: docker/build-push-action@v2\n        with:\n          context: ./images\n          file: ./images/Dockerfile.ci\n          push: false\n          tags: ghcr.io/gnocchixyz/ci:latest\n        if: steps.changes.outputs.ci_image == 'true'\n      - name: Set env vars\n        run: |\n          if [ \"${{ github.event.inputs.debug }}\" == \"true\" ]; then\n            echo \"DOCKER_ENV_OPTS=-e GNOCCHI_TEST_DEBUG=1\" >> $GITHUB_ENV\n          else\n            echo \"DOCKER_ENV_OPTS=\" >> $GITHUB_ENV\n          fi\n      - name: Run tests with tox in container\n        run: docker run --rm -v ${{ github.workspace }}:/github/workspace -w /github/workspace $DOCKER_ENV_OPTS ghcr.io/gnocchixyz/ci:latest \"tox -e ${{ matrix.env }}\"\n\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        python:\n          - py39\n          - py311\n        env:\n          - mysql-ceph-upgrade-from-4.4\n          - postgresql-file-upgrade-from-4.4\n          - mysql-file\n          - mysql-file-sqlalchemy14\n          - mysql-swift\n          - mysql-s3\n          - mysql-ceph\n          - postgresql-file\n          - postgresql-file-sqlalchemy14\n          - postgresql-swift\n          - postgresql-s3\n          - postgresql-ceph\n        exclude:\n          - env: mysql-ceph-upgrade-from-4.4\n            python: py39\n          - env: mysql-ceph\n            python: py39\n          - env: postgresql-ceph\n            python: py39\n          - env: mysql-ceph-upgrade-from-4.4\n            python: py311\n          - env: mysql-ceph\n            python: py311\n          - env: postgresql-ceph\n            python: py311\n    steps:\n      - uses: actions/checkout@v4\n      - run: sudo chown -R 1001:1001 $GITHUB_WORKSPACE\n      - uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            ci_image:\n              - 'images/Dockerfile.ci'\n              - 'images/entrypoint.sh.ci'\n      - uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n        if: steps.changes.outputs.ci_image == 'false'\n      - run: docker pull ghcr.io/gnocchixyz/ci:latest\n        if: steps.changes.outputs.ci_image == 'false'\n      - uses: docker/build-push-action@v2\n        with:\n          context: ./images\n          file: ./images/Dockerfile.ci\n          push: false\n          tags: ghcr.io/gnocchixyz/ci:latest\n        if: steps.changes.outputs.ci_image == 'true'\n      - name: Set env vars\n        run: |\n          if [ \"${{ github.event.inputs.debug }}\" == \"true\" ]; then\n            echo \"DOCKER_ENV_OPTS=-e GNOCCHI_TEST_DEBUG=1\" >> $GITHUB_ENV\n          else\n            echo \"DOCKER_ENV_OPTS=\" >> $GITHUB_ENV\n          fi\n      - name: Run tests with tox in container\n        run: docker run --rm -v ${{ github.workspace }}:/github/workspace -w /github/workspace $DOCKER_ENV_OPTS ghcr.io/gnocchixyz/ci:latest \"tox -e ${{ matrix.python }}-${{ matrix.env }}\"\n", "state": "active", "repository": "gnocchixyz/gnocchi"}
{"mined_at": "2024-07-15T14:02:54.925191", "created_at": "2022-10-27T07:27:34+02:00", "updated_at": "2022-10-27T07:27:34+02:00", "name": "Nightly CPU Tests", "path": ".github/workflows/nightly-test-cpu.yml", "contents": "name: \"Nightly CPU Tests\"\n\non:\n  schedule:\n  - cron: 0 0 * * *\n  workflow_dispatch:\n    inputs:\n      ref:\n        description: 'Commit or branch to test (e.g., refs/pull/1234/merge)'\n        type: string\n\njobs:\n  nightly-test:\n    runs-on: ubuntu-22.04\n    env:\n      JUPYTER_PLATFORM_DIRS: \"1\"\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ inputs.ref || github.ref }}\n        submodules: recursive\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n\n    - name: Install\n      run: |\n        pip install -U pip wheel\n        pip install -v -e . -r ./tests/requirements.txt  \"torch>=0.0.0a1\" \"torchvision>=0.0.0a1\" \"torchaudio>=0.0.0a1\" --extra-index-url https://download.pytorch.org/whl/nightly/cpu \n        # Test PPE is importable with minimum dependency\n        python -c 'import pytorch_pfn_extras'\n\n    - name: Test CPU only\n      run: |\n        make cputest\n", "state": "active", "repository": "pfnet/pytorch-pfn-extras"}
{"mined_at": "2024-07-15T14:02:56.053107", "created_at": "2022-11-02T05:38:04+01:00", "updated_at": "2023-04-06T09:14:30+02:00", "name": "Pre-review Tests", "path": ".github/workflows/pretest-and-test.yml", "contents": "name: \"Pre-review Tests\"\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        torch: ['1.10.*', '1.11.*', '1.12.*', '1.13.*', '2.0.*', '2.1.*', '2.2.*']\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n      with:\n        submodules: recursive\n\n    - name: Setup Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n\n    - uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}-${{ matrix.torch }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Install\n      run: |\n        pip install -U pip wheel\n        pip install -e . -r ./tests/requirements.txt torch==${{ matrix.torch }} --extra-index-url https://download.pytorch.org/whl/cpu\n        # Test PPE is importable with minimum dependency\n        python -c 'import pytorch_pfn_extras'\n\n    - name: Code Style\n      run: |\n        make lint\n\n    - name: Code Style (Examples)\n      run: |\n        make example_lint\n\n    - name: Test CPU only\n      run: |\n        make cputest\n", "state": "active", "repository": "pfnet/pytorch-pfn-extras"}
{"mined_at": "2024-07-15T14:02:57.102071", "created_at": "2023-07-24T07:44:31+02:00", "updated_at": "2023-07-24T07:44:31+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: \"Publish to PyPI\"\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Git Checkout\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Install Dependencies\n        run: python3 -m pip install build --user\n      - name: Build Packages\n        run: python3 -m build --sdist --outdir dist/ .\n      - name: Upload Artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist\n          path: dist\n\n  publish:\n    needs: build\n    runs-on: ubuntu-22.04\n    permissions:\n      id-token: write\n    steps:\n      - name: Download Artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: dist\n          path: dist\n      - name: Enumerate Files\n        run: find dist -ls\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "pfnet/pytorch-pfn-extras"}
{"mined_at": "2024-07-15T14:02:59.328273", "created_at": "2020-08-01T14:49:58+02:00", "updated_at": "2020-08-01T14:49:58+02:00", "name": "Python 4HEad", "path": ".github/workflows/build.yml", "contents": "---\nname: Python 4HEad\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\nenv:\n  SKIP_PYENV: \"1\"\n\njobs:\n  test:\n    name: \"Test ubuntu-latest, Python ${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Cache virtual environment\n        id: cache-venv\n        uses: actions/cache@v4\n        with:\n          path: ./venv\n          key: ubuntu-latest-${{ steps.setup-python.outputs.python-version }}-prod@${{ hashFiles('requirements.txt') }}-dev@${{ hashFiles('requirements-dev.txt') }}\n\n      - name: Install dependencies\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: ./scripts/venvinstall.sh --dev\n\n      - name: Run tests\n        run: ./venv/bin/pytest\n\n  check_format:\n    name: \"Check format ubuntu-latest, Python ${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Cache virtual environment\n        id: cache-venv\n        uses: actions/cache@v4\n        with:\n          path: ./venv\n          key: ubuntu-latest-${{ steps.setup-python.outputs.python-version }}-prod@${{ hashFiles('requirements.txt') }}-dev@${{ hashFiles('requirements-dev.txt') }}\n\n      - name: Install dependencies\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: ./scripts/venvinstall.sh --dev\n\n      - name: Check code style\n        run: . venv/bin/activate && ./scripts/reformat.sh --check\n", "state": "active", "repository": "pajbot/pajbot"}
{"mined_at": "2024-07-15T14:03:00.453155", "created_at": "2020-10-28T14:50:09+01:00", "updated_at": "2021-04-27T10:09:38+02:00", "name": "Changelog Check", "path": ".github/workflows/changelog-check.yml", "contents": "name: Changelog Check\n\non:\n  pull_request:\n    branches: [ master ]\n    types: [ opened, synchronize, reopened, ready_for_review, labeled, unlabeled ]\n\njobs:\n  check-changelog:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      # Gives an error if there's no change in the changelog (except using label)\n      - name: Changelog check\n        uses: dangoslen/changelog-enforcer@v3\n        with:\n          changeLogPath: 'CHANGELOG.md'\n          skipLabels: 'no changelog entry needed, dependencies'\n", "state": "active", "repository": "pajbot/pajbot"}
{"mined_at": "2024-07-15T14:03:01.581740", "created_at": "2020-10-09T13:31:22+02:00", "updated_at": "2021-06-05T17:13:31+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '21 3 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "pajbot/pajbot"}
{"mined_at": "2024-07-15T14:03:03.701023", "created_at": "2020-01-11T06:04:12+01:00", "updated_at": "2021-02-17T23:38:18+01:00", "name": "Nightly Publish", "path": "", "contents": null, "state": "disabled_manually", "repository": "naomiproject/naomi"}
{"mined_at": "2024-07-15T14:03:04.857915", "created_at": "2022-11-08T18:30:23+01:00", "updated_at": "2022-11-12T20:47:00+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"naomi-dev\" ]\n  pull_request:\n    branches: [ \"naomi-dev\" ]\n  schedule:\n    - cron: \"15 20 * * 0\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "naomiproject/naomi"}
{"mined_at": "2024-07-15T14:03:05.987498", "created_at": "2020-06-01T06:50:22+02:00", "updated_at": "2020-06-01T06:50:22+02:00", "name": "Deploy oneliners via ftp", "path": ".github/workflows/oneliners.yml", "contents": "name: Deploy oneliners via ftp\non: push\njobs:\n  deploy:\n    name: Deploy\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Upload ftp\n      uses: sebastianpopp/ftp-action@releases/v2\n      with:\n        host: ${{ secrets.FTP_SERVER }}\n        user: ${{ secrets.FTP_USERNAME }}\n        password: ${{ secrets.FTP_PASSWORD }}\n        localDir: \"installers\"\n", "state": "active", "repository": "naomiproject/naomi"}
{"mined_at": "2024-07-15T14:03:08.012712", "created_at": "2024-06-07T21:04:49+02:00", "updated_at": "2024-06-07T23:24:12+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  push:\n    branches: [ master, dev ]\n  pull_request:\n    branches: [ master, dev ]\n\njobs:\n  build:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      matrix:\n        platform:\n          - ubuntu-latest\n        python-version: ['3.11']\n    steps:\n    - name: Check out code from GitHub\n      uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install -r requirements_test.txt\n        pip install tox\n    - name: Build Wheel\n      run: |\n        tox -r -e build\n", "state": "active", "repository": "fronzbot/blinkpy"}
{"mined_at": "2024-07-15T14:03:09.058320", "created_at": "2020-04-13T22:32:42+02:00", "updated_at": "2020-04-13T22:32:59+02:00", "name": "coverage", "path": ".github/workflows/coverage.yml", "contents": "name: coverage\n\non:\n  push:\n    branches: [ master, dev ]\n  pull_request:\n    branches: [ master, dev ]\n\njobs:\n  coverage:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - name: Check out code from GitHub\n      uses: actions/checkout@v4.1.6\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install -r requirements_test.txt\n        pip install tox\n    - name: Run Coverage\n      run: |\n        tox -r -e cov\n    - name: Upload coverage\n      uses: actions/upload-artifact@v4.3.3\n      with:\n        name: coverage-${{ matrix.python-version }}\n        path: coverage.xml\n        overwrite: true\n  upload-coverage:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.11']\n    needs:\n      - coverage\n    timeout-minutes: 10\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.6\n      - name: Download all coverage artifacts\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: coverage-${{ matrix.python-version }}\n          path: coverage.xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4.4.1\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: blinkpy\n", "state": "active", "repository": "fronzbot/blinkpy"}
{"mined_at": "2024-07-15T14:03:10.074188", "created_at": "2020-04-13T22:02:36+02:00", "updated_at": "2020-04-13T22:02:36+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Lint\n\non:\n  push:\n    branches: [ master, dev ]\n  pull_request:\n    branches: [ master, dev ]\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 2\n      matrix:\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install -r requirements_test.txt\n    - name: Ruff\n      run: |\n        ruff check blinkpy tests blinkapp\n    - name: Black\n      run: |\n        black --check --color --diff blinkpy tests blinkapp\n    - name: RST-Lint\n      run: |\n        rst-lint README.rst CHANGES.rst CONTRIBUTING.rst\n", "state": "active", "repository": "fronzbot/blinkpy"}
{"mined_at": "2024-07-15T14:03:11.064906", "created_at": "2020-04-14T02:54:45+02:00", "updated_at": "2020-04-14T02:54:45+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install twine build\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python -m build\n        twine upload dist/*\n", "state": "active", "repository": "fronzbot/blinkpy"}
{"mined_at": "2024-07-15T14:03:12.057031", "created_at": "2023-10-10T17:35:59+02:00", "updated_at": "2023-10-10T17:42:32+02:00", "name": "Stale", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Stale\n\non:\n  schedule:\n    - cron: '13 * * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - name: stale-issues\n      uses: actions/stale@v5\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        days-before-stale: 60\n        days-before-close: 7\n        days-before-pr-stale: -1\n        days-before-pr-close: -1\n        remove-stale-when-updated: true\n        stale-issue-label: \"stale\"\n        exempt-issue-labels: \"no-stale,help-wanted,priority\"\n        stale-issue-message: >\n            There hasn't been any activity on this issue recently.\n            Please make sure to update to the latest blinkpy version and\n            check if that solves the issue. Let us know if that works for you by\n            adding a comment 👍\n\n            This issue has now been marked as stale and will be closed if no\n            further activity occurs. Thank you for your contributions.\n    - name: stale-pulls\n      uses: actions/stale@v5\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        days-before-stale: 90\n        days-before-close: 7\n        days-before-issue-stale: -1\n        days-before-issue-close: -1\n        remove-stale-when-updated: true\n        stale-issue-label: \"stale\"\n        exempt-issue-labels: \"no-stale\"\n        stale-pr-message: >\n            There hasn't been any activity on this pull request recently. This\n            pull request has been automatically marked as stale because of that\n            and will be closed if no further activity occurs within 7 days.\n\n            Thank you for your contributions.\n", "state": "active", "repository": "fronzbot/blinkpy"}
{"mined_at": "2024-07-15T14:03:13.056318", "created_at": "2020-04-13T22:11:18+02:00", "updated_at": "2024-06-07T20:30:23+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    branches: [ master, dev ]\n  pull_request:\n    branches: [ master, dev ]\n\njobs:\n  pytest:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      max-parallel: 4\n      matrix:\n        platform:\n          - ubuntu-latest\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n    steps:\n    - name: Check out code from GitHub\n      uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install -r requirements_test.txt\n        pip install .\n    - name: Tests\n      run: |\n        python -m pytest \\\n          --timeout=30 \\\n          --durations=10 \\\n          --cov=blinkpy \\\n          --cov-report term-missing\n", "state": "active", "repository": "fronzbot/blinkpy"}
{"mined_at": "2024-07-15T14:03:14.113892", "created_at": "2023-08-01T14:41:04+02:00", "updated_at": "2023-08-01T14:41:04+02:00", "name": "Type", "path": ".github/workflows/type.yml", "contents": null, "state": "active", "repository": "fronzbot/blinkpy"}
{"mined_at": "2024-07-15T14:03:16.129711", "created_at": "2022-06-30T15:32:53+02:00", "updated_at": "2022-07-15T13:03:31+02:00", "name": "Continuous Integration", "path": ".github/workflows/main.yml", "contents": "name: Continuous Integration\n\non:\n  push:\n    branches:\n      - \"master\"\n    tags:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"master\"\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nenv:\n  # needed by coveralls\n  GITHUB_TOKEN: ${{ secrets.COVERALLS_TOKEN }}\n\njobs:\n  source_check:\n    name: source check\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install black 'isort[colors]<6'\n          pip install --editable .\n\n      - name: isort check\n        run: |\n          python -m isort --check --diff --color .\n\n  build_sdist:\n    name: sdist on ${{ matrix.os }} with py ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: ['3.7', '3.8', '3.9', '3.10']\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: '0'\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build coveralls>=3.0.0\n          pip install --editable .[test]\n\n      - name: Run tests\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          python -m pytest --cov spotpy --cov-report term-missing -v tests/\n          python -m coveralls --service=github\n\n      - name: Build sdist\n        run: |\n          python -m build\n\n      - uses: actions/upload-artifact@v2\n        if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'\n        with:\n          path: dist\n\n  upload_to_pypi:\n    needs: [build_sdist]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/download-artifact@v2\n        with:\n          name: artifact\n          path: dist\n\n      - name: Publish to Test PyPI\n        # only if working on master\n        if: github.ref == 'refs/heads/master'\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n          skip_existing: true\n\n      - name: Publish to PyPI\n        # only if tagged\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "thouska/spotpy"}
{"mined_at": "2024-07-15T14:03:18.110050", "created_at": "2022-05-01T23:14:18+02:00", "updated_at": "2022-05-02T23:10:27+02:00", "name": "CI/CD", "path": ".github/workflows/cicd.yaml", "contents": "name: CI/CD\n\non:\n  push:\n    branches: [main]\n    tags: [\"v*\"]\n  pull_request:\n    branches: [main]\n\njobs:\n  test:\n    name: Tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install poetry\n        uses: snok/install-poetry@v1.3\n        with:\n          version: 1.4.0\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          virtualenvs-path: \"{project-dir}/.venv\"\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: tests-venv-${{ matrix.python-version }}-v1-${{ hashFiles('poetry.lock') }}\n      - name: Install dependencies\n        run: poetry install --only main,test\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n      - name: Testing\n        run: poetry run pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=apps --cov-report=xml --cov-report=html\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n  pre-commit:\n    name: pre-commit\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install pre-commit\n        run: pip install pre-commit\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\n      - name: Run pre-commit\n        run: pre-commit run --all-files --show-diff-on-failure\n  hacs:\n    name: HACS validation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: hacs/action@main\n        with:\n          category: appdaemon\n  docs:\n    name: Documentation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install poetry\n        uses: snok/install-poetry@v1.3\n        with:\n          version: 1.4.0\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          virtualenvs-path: \"{project-dir}/.venv\"\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: docs-venv-${{ hashFiles('poetry.lock') }}\n      - name: Install dependencies\n        run: poetry install --only main,docs\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n      - name: Build docs\n        run: cd docs && poetry run mkdocs build\n      - uses: actions/upload-artifact@master\n        with:\n          name: built-docs\n          path: docs/site\n  publish_preview_docs:\n    name: Publish preview documentation\n    runs-on: ubuntu-latest\n    needs: [test, pre-commit, hacs, docs]\n    if: github.ref_type != 'tag'\n    steps:\n      - uses: actions/download-artifact@master\n        with:\n          name: built-docs\n          path: docs/site\n      - name: Move docs to controllerx/ folder\n        run: mkdir docs/controllerx-site && mv docs/site docs/controllerx-site/controllerx\n      - name: Create redirect for /controllerx\n        run: echo \"/ /controllerx\" > ./docs/controllerx-site/_redirects\n      - name: Deploy to Netlify\n        id: netlify\n        uses: nwtgck/actions-netlify@v3.0\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          publish-dir: \"./docs/controllerx-site\"\n          deploy-message: \"${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }}\"\n          production-deploy: ${{ github.ref_type == 'branch' && github.ref_name == 'main' }}\n          enable-pull-request-comment: true\n          enable-commit-comment: false\n          overwrites-pull-request-comment: true\n        env:\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n  deploy:\n    name: Deployment\n    runs-on: ubuntu-latest\n    needs: [test, pre-commit, hacs, docs]\n    if: startsWith(github.ref, 'refs/tags/v')\n    steps:\n      - uses: actions/checkout@v4\n      - name: Archive Release\n        uses: thedoctor0/zip-release@master\n        with:\n          type: zip\n          filename: ../../controllerx.zip\n          directory: apps/controllerx\n      - run: sed -i 's/VERSION_TAG/${{ github.ref_name }}/g' RELEASE_NOTES.md\n      - run: \"sed -i 's/BASE_URL/controllerx.netlify.app/g' RELEASE_NOTES.md\"\n        if: contains(github.ref_name, 'b')\n      - run: sed -i 's/BASE_URL/xaviml.github.io/g' RELEASE_NOTES.md\n        if: \"!contains(github.ref_name, 'b')\"\n      - uses: ncipollo/release-action@v1\n        with:\n          artifacts: controllerx.zip\n          prerelease: ${{ contains(github.ref_name, 'b') }}\n          bodyFile: RELEASE_NOTES.md\n          generateReleaseNotes: false\n  post_deploy:\n    name: Post deployment\n    runs-on: ubuntu-latest\n    needs: [deploy]\n    if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, 'b')\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: main\n      - run: mv RELEASE_NOTES.md RELEASE_NOTES.old.md\n      - run: cp .github/RELEASE_NOTES.template.md RELEASE_NOTES.md\n      - name: Commit report\n        if: hashFiles('RELEASE_NOTES.old.md') != hashFiles('RELEASE_NOTES.md')\n        run: |\n          git config --global user.name 'xaviml'\n          git config --global user.email 'xaviml@users.noreply.github.com'\n          git add RELEASE_NOTES.md\n          git commit -m \"Upload RELEASE_NOTES.md\"\n          git push origin HEAD\n  publish_doc:\n    name: Publish documentation\n    runs-on: ubuntu-latest\n    needs: [deploy]\n    if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, 'b')\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install poetry\n        uses: snok/install-poetry@v1.3\n        with:\n          version: 1.4.0\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          virtualenvs-path: \"{project-dir}/.venv\"\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: docs-venv-${{ hashFiles('poetry.lock') }}\n      - name: Install dependencies\n        run: poetry install --only main,docs\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n      - name: Publish docs\n        run: cd docs && poetry run mkdocs gh-deploy --force\n", "state": "active", "repository": "xaviml/controllerx"}
{"mined_at": "2024-07-15T14:03:19.194166", "created_at": "2021-08-25T23:33:26+02:00", "updated_at": "2021-08-25T23:33:26+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  schedule:\n    - cron: \"30 6 * * 1\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Install poetry\n        uses: snok/install-poetry@v1.3\n        with:\n          version: 1.4.0\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          virtualenvs-path: \"{project-dir}/.venv\"\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: codeql-venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}\n      - name: Install dependencies\n        run: poetry install\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: python\n          setup-python-dependencies: false\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "xaviml/controllerx"}
{"mined_at": "2024-07-15T14:03:20.176164", "created_at": "2020-04-25T18:05:25+02:00", "updated_at": "2021-05-03T19:04:30+02:00", "name": "Validate", "path": ".github/workflows/hacs.yml", "contents": "name: Validate\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  validate:\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: HACS validation\n        uses: hacs/action@main\n        with:\n          category: appdaemon\n", "state": "active", "repository": "xaviml/controllerx"}
{"mined_at": "2024-07-15T14:03:21.154980", "created_at": "2022-06-25T11:56:10+02:00", "updated_at": "2022-06-25T11:57:04+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n    inputs:\n      increment:\n        description: \"Increment\"\n        required: false\n        default: \"MINOR\"\n        type: choice\n        options: [MAJOR, MINOR, PATCH]\n      prerelease:\n        description: \"Prerelease\"\n        required: true\n        default: true\n        type: boolean\n      dry_run:\n        description: \"Dry run\"\n        required: true\n        default: false\n        type: boolean\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Set prerelease argument\"\n        run: |\n          if ${{ inputs.prerelease }} == true; then\n            echo \"PRERELEASE_ARG=--prerelease beta\" >> $GITHUB_ENV\n          else\n            echo \"PRERELEASE_ARG=\" >> $GITHUB_ENV\n          fi\n      - name: \"Set dry run argument\"\n        run: |\n          if ${{ inputs.dry_run }} == true; then\n            echo \"DRY_RUN_ARG=--dry-run\" >> $GITHUB_ENV\n          else\n            echo \"DRY_RUN_ARG=\" >> $GITHUB_ENV\n          fi\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: main\n          persist-credentials: false\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - run: pip install commitizen\n      - name: Configure git\n        run: |\n          git config --global user.name 'xaviml'\n          git config --global user.email 'xaviml@users.noreply.github.com'\n      - name: Bump version\n        run: cz bump --increment ${{ inputs.increment }} ${PRERELEASE_ARG} ${DRY_RUN_ARG}\n      - name: Push tag\n        if: \"!inputs.dry_run\"\n        uses: ad-m/github-push-action@master\n        with:\n          branch: main\n          github_token: ${{ secrets.PAT }}\n          tags: true\n", "state": "active", "repository": "xaviml/controllerx"}
{"mined_at": "2024-07-15T14:03:22.146095", "created_at": "2020-08-02T07:09:22+02:00", "updated_at": "2020-08-02T07:09:22+02:00", "name": "Update copyright year(s) in license file", "path": ".github/workflows/update-license.yml", "contents": "name: Update copyright year(s) in license file\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 0 1 1 *\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: FantasticFiasco/action-update-license-year@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "xaviml/controllerx"}
{"mined_at": "2024-07-15T14:03:24.143270", "created_at": "2021-01-31T02:14:10+01:00", "updated_at": "2021-07-11T05:15:11+02:00", "name": "Linux/Mac build", "path": ".github/workflows/build.yml", "contents": "name: Linux/Mac build\n\non:\n  push:\n    paths:\n      - '**'\n      - '!*'\n      - '*.py'\n      - '!doc/**'\n      - '!.github/**'\n      - '.github/workflows/build.yml'\n  pull_request:\n    paths-ignore:\n      - 'doc/**'\n  schedule:\n    - cron: '0 20 * * 2'\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    if: \"!contains(github.event.head_commit.message, 'ci skip')\"\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_actionAngle.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_sphericaldf.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: true\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_actionAngleTorus.py tests/test_conversion.py tests/test_galpypaper.py tests/test_import.py tests/test_interp_potential.py tests/test_kuzminkutuzov.py  tests/test_util.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_SpiralArmsPotential.py tests/test_potential.py tests/test_scf.py tests/test_snapshotpotential.py\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_quantity.py tests/test_coords.py\n            REQUIRES_PYNBODY: false\n            # needs to be separate for different config\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_evolveddiskdf.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_jeans.py tests/test_dynamfric.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_qdf.py tests/test_pv2qdf.py tests/test_streamgapdf_impulse.py tests/test_noninertial.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: true\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_streamgapdf.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_diskdf.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_streamdf.py tests/test_streamspraydf.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.11\"\n            TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.11\"\n            TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: 3.9\n            TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: 3.9\n            TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: 3.8\n            TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: ubuntu-latest\n            python-version: 3.8\n            TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: macos-12\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: macos-12\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'\n            REQUIRES_PYNBODY: true\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n    env:\n      PYTHON_COVREPORTS_VERSION: \"3.12\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install lcov\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n         wget https://github.com/linux-test-project/lcov/releases/download/v1.15/lcov-1.15.tar.gz\n         tar xf lcov-1.15.tar.gz\n         sudo make -C lcov-1.15/ install\n    - name: Install the GSL\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n         sudo apt-get install libgsl-dev\n    - name: Install the GSL\n      if: matrix.os == 'macos-12'\n      run: |\n         brew install gsl\n         echo \"CFLAGS=-I$(brew --prefix)/include\" >> $GITHUB_ENV\n         echo \"LDFLAGS=-L$(brew --prefix)/lib\" >> $GITHUB_ENV\n         echo \"LD_LIBRARY_PATH=$(brew --prefix)/lib\" >> $GITHUB_ENV\n    - uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('.github/workflows/build.yml') }}-${{ matrix.REQUIRES_PYNBODY }}-${{ matrix.REQUIRES_ASTROPY }}-${{ matrix.REQUIRES_ASTROQUERY }}-${{ matrix.REQUIRES_NUMBA }}-${{ matrix.REQUIRES_JAX }}\n    - name: Install Python dependencies\n      run: |\n         pip install --upgrade --upgrade-strategy eager numpy scipy matplotlib numexpr setuptools cython pytest tqdm\n    - name: Install pynbody\n      if: ${{ matrix.REQUIRES_PYNBODY }}\n      run: |\n         pip install --upgrade --upgrade-strategy eager h5py pandas pytz\n         pip install --upgrade --upgrade-strategy eager wheel\n         pip install --upgrade --upgrade-strategy eager pynbody\n    - name: Install astropy\n      if: ${{ matrix.REQUIRES_ASTROPY }}\n      run: pip install astropy pyerfa\n    - name: Install astroquery\n      if: ${{ matrix.REQUIRES_ASTROQUERY }}\n      run: pip install astroquery\n    - name: Install numba\n      if: ${{ matrix.REQUIRES_NUMBA }}\n      run: |\n        pip install numba\n        # numba may force install an older version of setuptools,\n        # but it isn't actually a *runtime* requirement numba/numba#8366\n        pip install --upgrade --force-reinstall setuptools\n    - name: Install JAX\n      if: ${{ matrix.REQUIRES_JAX }}\n      run: pip install jax jaxlib\n    - name: Install torus code\n      env:\n          TEST_FILES: ${{ matrix.TEST_FILES }}\n      run: |\n         if [[ $TEST_FILES != 'tests/test_evolveddiskdf.py' ]]; then\n           git clone https://github.com/jobovy/Torus.git galpy/actionAngle/actionAngleTorus_c_ext/torus\n           cd galpy/actionAngle/actionAngleTorus_c_ext/torus\n           git checkout galpy\n           cd -\n         fi\n    - name: Install package\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        python setup.py build_ext --no-openmp --coverage --single_ext --inplace\n        python setup.py develop --single_ext\n    - name: Install package\n      if: matrix.os == 'macos-12'\n      run: |\n        python -m pip install -v .\n    - name: Special config\n      env:\n          TEST_FILES: ${{ matrix.TEST_FILES }}\n      run: |\n        if [[ $TEST_FILES == 'tests/test_evolveddiskdf.py' ]]; then echo -e '[normalization]' > $HOME/.galpyrc && echo -e 'ro = 8.' >> $HOME/.galpyrc && echo -e 'vo = 220.' >> $HOME/.galpyrc; fi\n        if [[ $TEST_FILES == 'tests/test_diskdf.py' ]]; then echo -e '[normalization]' > $HOME/.galpyrc && echo -e 'ro = 8.' >> $HOME/.galpyrc && echo -e '[astropy]' >> $HOME/.galpyrc && echo -e 'astropy-units = False' >> $HOME/.galpyrc && echo -e '[plot]' >> $HOME/.galpyrc && echo -e 'seaborn-bovy-defaults = True' >> $HOME/.galpyrc && echo -e '[warnings]' >> $HOME/.galpyrc && echo -e 'verbose = True' >> $HOME/.galpyrc; fi\n    - name: Print debug info\n      env:\n         REQUIRES_ASTROPY : ${{ matrix.REQUIRES_ASTROPY }}\n         REQUIRES_ASTROQUERY : ${{ matrix.REQUIRES_ASTROQUERY }}\n         REQUIRES_PYNBODY : ${{ matrix.REQUIRES_PYNBODY }}\n      run: |\n         python -c \"import numpy; print('numpy: {}'.format(numpy.__version__))\"\n         python -c \"import scipy; print('scipy: {}'.format(scipy.__version__))\"\n         python -c \"import matplotlib; print('matplotlib: {}'.format(matplotlib.__version__))\"\n         if $REQUIRES_ASTROPY; then python -c \"import astropy; print('astropy: {}'.format(astropy.__version__))\"; fi\n         if $REQUIRES_ASTROQUERY; then python -c \"import astroquery; print('astroquery: {}'.format(astroquery.__version__))\"; fi\n         if $REQUIRES_PYNBODY; then python -c \"import pynbody; print('pynbody: {}'.format(pynbody.__version__))\"; fi\n    - name: Test with pytest\n      env:\n          TEST_FILES: ${{ matrix.TEST_FILES }}\n          REQUIRES_ASTROPY : ${{ matrix.REQUIRES_ASTROPY }}\n      run: |\n        pip install coverage\n        pip install pytest-cov\n        # Turn astropy deprecation warnings into errors as well if astropy\n        if $REQUIRES_ASTROPY; then export PYTEST_ADDOPTS=\"-W error::astropy.utils.exceptions.AstropyDeprecationWarning\"; else export PYTEST_ADDOPTS=\"\"; fi\n        export TQDM_DEPRECATION=\"-W ignore:\\\"datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version.\\\":DeprecationWarning -W ignore:\\\"datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC\\\":DeprecationWarning\"\n        # eval necessary for -k 'not ...' in TEST_FILES\n        eval \"pytest -W error::DeprecationWarning -W error::FutureWarning $PYTEST_ADDOPTS $TQDM_DEPRECATION -v $TEST_FILES --cov galpy --cov-config .coveragerc --disable-pytest-warnings --durations=0 --cov-report=term --cov-report=xml\"\n    - name: Generate code coverage\n      if: ${{ matrix.python-version == env.PYTHON_COVREPORTS_VERSION && matrix.os == 'ubuntu-latest' }}\n      run: |\n        lcov --capture --base-directory . --directory build/temp.linux-x86_64-`python -c \"import sys; print(sys.implementation.cache_tag)\"`/galpy/ --no-external --output-file coverage_full.info\n        lcov --remove coverage_full.info 'galpy/actionAngle/actionAngleTorus_c_ext/torus/*' -o coverage.info\n    - name: Upload coverage reports to codecov\n      if: ${{ matrix.python-version == env.PYTHON_COVREPORTS_VERSION && matrix.os == 'ubuntu-latest' }}\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "jobovy/galpy"}
{"mined_at": "2024-07-15T14:03:25.253156", "created_at": "2021-04-09T03:33:33+02:00", "updated_at": "2022-05-04T04:29:11+02:00", "name": "Windows build", "path": ".github/workflows/build_windows.yml", "contents": "name: Windows build\n\non:\n  push:\n    paths:\n      - '**'\n      - '!*'\n      - '*.py'\n      - '!doc/**'\n      - '!.github/**'\n      - '.github/workflows/build_windows.yml'\n  pull_request:\n    paths-ignore:\n      - 'doc/**'\n  schedule:\n    - cron: '0 20 * * 2'\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    if: \"!contains(github.event.head_commit.message, 'ci skip')\"\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_actionAngle.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_sphericaldf.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_conversion.py tests/test_galpypaper.py tests/test_import.py tests/test_interp_potential.py tests/test_kuzminkutuzov.py  tests/test_util.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_SpiralArmsPotential.py tests/test_potential.py tests/test_scf.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_quantity.py tests/test_coords.py\n            REQUIRES_PYNBODY: false\n            # needs to be separate for different config\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_evolveddiskdf.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_jeans.py tests/test_dynamfric.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_qdf.py tests/test_pv2qdf.py tests/test_streamgapdf_impulse.py tests/test_noninertial.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_streamgapdf.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_diskdf.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.12\"\n            TEST_FILES: tests/test_streamdf.py tests/test_streamspraydf.py\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: false\n            REQUIRES_ASTROQUERY: false\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.11\"\n            TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.11\"\n            TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.10\"\n            TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: \"3.10\"\n            TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: 3.9\n            TEST_FILES: tests/test_orbit.py -k test_energy_jacobi_conservation\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n          - os: windows-latest\n            python-version: 3.9\n            TEST_FILES: tests/test_orbit.py tests/test_orbits.py -k 'not test_energy_jacobi_conservation'\n            REQUIRES_PYNBODY: false\n            REQUIRES_ASTROPY: true\n            REQUIRES_ASTROQUERY: true\n            REQUIRES_NUMBA: false\n            REQUIRES_JAX: false\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    # Cache both conda and pip, conda done by setup-micromamba\n    - uses: actions/cache@v4\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('.github/workflows/build_windows.yml') }}-${{ matrix.REQUIRES_PYNBODY }}-${{ matrix.REQUIRES_ASTROPY }}-${{ matrix.REQUIRES_ASTROQUERY }}-${{ matrix.REQUIRES_NUMBA }}-${{ matrix.REQUIRES_JAX }}\n    # Install just the GSL using conda\n    - uses: mamba-org/setup-micromamba@v1\n      with:\n         environment-name: gsl\n         condarc: |\n            channels:\n              - conda-forge\n         create-args: gsl\n         cache-environment: true\n         cache-environment-key: ${{ runner.os }}-${{ hashFiles('.github/workflows/build_windows.yml') }}\n    - name: Set GSL environment variables\n      shell: bash -l {0}\n      run: |\n        echo \"INCLUDE=$CONDA_PREFIX\\\\Library\\\\include\" >> $GITHUB_ENV\n        echo \"LIB=$CONDA_PREFIX\\\\Library\\\\lib\" >> $GITHUB_ENV\n        echo \"LIBPATH=$CONDA_PREFIX\\\\Library\\\\lib\" >> $GITHUB_ENV\n        echo \"$CONDA_PREFIX\\\\Library\\\\bin\" >> $GITHUB_PATH # necessary when we don't activate the environment\n    - name: Install Python dependencies\n      run: |\n         pip install --upgrade --upgrade-strategy eager numpy scipy matplotlib numexpr setuptools cython pytest tqdm\n    - name: Install pynbody\n      if: ${{ matrix.REQUIRES_PYNBODY }}\n      run: |\n         pip install --upgrade --upgrade-strategy eager h5py pandas pytz\n         pip install --upgrade --upgrade-strategy eager wheel\n         pip install --upgrade --upgrade-strategy eager pynbody\n    - name: Install astropy\n      if: ${{ matrix.REQUIRES_ASTROPY && matrix.python-version != 4.0 }}\n      run: |\n         pip install astropy pyerfa\n    - name: Install astropy (Python 4.0; doesn't exist of course, placeholder for new python v)\n      if: ${{ matrix.REQUIRES_ASTROPY && matrix.python-version == 4.0 }}\n      run: |\n         pip install pyerfa\n         pip install --extra-index-url=https://pkgs.dev.azure.com/astropy-project/astropy/_packaging/nightly/pypi/simple/ --pre astropy\n    - name: Install astroquery\n      if: ${{ matrix.REQUIRES_ASTROQUERY }}\n      run: pip install astroquery\n    - name: Install numba\n      if: ${{ matrix.REQUIRES_NUMBA }}\n      run: pip install numba\n    - name: Install JAX\n      if: ${{ matrix.REQUIRES_JAX }}\n      run: pip install jax jaxlib\n    - name: Install package\n      run: |\n        python -m pip install -ve .\n    - name: Print debug info\n      shell: pwsh\n      env:\n         REQUIRES_ASTROPY : ${{ matrix.REQUIRES_ASTROPY }}\n         REQUIRES_ASTROQUERY : ${{ matrix.REQUIRES_ASTROQUERY }}\n         REQUIRES_PYNBODY : ${{ matrix.REQUIRES_PYNBODY }}\n      run: |\n         python -c \"import numpy; print('numpy: {}'.format(numpy.__version__))\"\n         python -c \"import scipy; print('scipy: {}'.format(scipy.__version__))\"\n         python -c \"import matplotlib; print('matplotlib: {}'.format(matplotlib.__version__))\"\n         if ( $REQUIRES_ASTROPY ) { python -c \"import astropy; print('astropy: {}'.format(astropy.__version__))\"}\n         if ( $REQUIRES_ASTROQUERY ) { python -c \"import astroquery; print('astroquery: {}'.format(astroquery.__version__))\"}\n         if ( $REQUIRES_PYNBODY ) {python -c \"import pynbody; print('pynbody: {}'.format(pynbody.__version__))\"}\n    - name: Test with pytest\n      shell: bash\n      env:\n          TEST_FILES: ${{ matrix.TEST_FILES }}\n          REQUIRES_ASTROPY : ${{ matrix.REQUIRES_ASTROPY }}\n      run: |\n        pip install pytest-cov\n        # Turn astropy deprecation warnings into errors as well if astropy\n        if $REQUIRES_ASTROPY; then export PYTEST_ADDOPTS=\"-W error::astropy.utils.exceptions.AstropyDeprecationWarning\"; else export PYTEST_ADDOPTS=\"\"; fi\n        export TQDM_DEPRECATION=\"-W ignore:\\\"datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version.\\\":DeprecationWarning -W ignore:\\\"datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC\\\":DeprecationWarning\"\n        # eval necessary for -k 'not ...' in TEST_FILES\n        eval \"pytest -W error::DeprecationWarning -W error::FutureWarning $PYTEST_ADDOPTS $TQDM_DEPRECATION -v $TEST_FILES --cov galpy --cov-config .coveragerc --disable-pytest-warnings --durations=0\"\n", "state": "active", "repository": "jobovy/galpy"}
{"mined_at": "2024-07-15T14:03:26.249828", "created_at": "2022-06-10T17:02:41+02:00", "updated_at": "2022-06-16T03:45:55+02:00", "name": "Build pyodide/wasm wheels", "path": ".github/workflows/build_pyodide_wheels.yml", "contents": "name: Build pyodide/wasm wheels\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - '**'\n      - '!*'\n      - '*.py'\n      - '!tests/**'\n      - '!doc/**'\n      - '!.github/**'\n      - '.github/pyodide_meta.yaml'\n      - '.github/pyodide_gsl_meta.yaml'\n      - '.github/workflows/build_pyodide_wheels.yml'\n  pull_request:\n    branches:\n      - main\n    paths:\n      - '**'\n      - '!tests/**'\n      - '!doc/**'\n      - '!.github/**'\n      - '.github/pyodide_meta.yaml'\n      - '.github/pyodide_gsl_meta.yaml'\n      - '.github/workflows/build_pyodide_wheels.yml'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: Build pyodide/wasm wheels\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.10.2\n      - uses: mymindstorm/setup-emsdk@v14\n        with:\n          version: 3.1.14\n      - run: pip install pyodide-build==0.21.0\n      - name: Build wheel\n        run: |\n          # From https://github.com/pyodide/pyodide/issues/3002#issuecomment-1248513970\n          # Set up libs dir and pkg config\n          mkdir .libs\n          export LIBDIR=`pwd`/.libs\n          export PKG_CONFIG_PATH=`pwd`/.libs/lib/pkgconfig\n          # Build gsl\n          wget https://ftp.gnu.org/gnu/gsl/gsl-2.7.tar.gz\n          tar -xvzf gsl-2.7.tar.gz\n          cd gsl-2.7\n          emconfigure ./configure \\\n              CFLAGS=\"-fPIC\" \\\n              --prefix=$LIBDIR \\\n              --disable-dependency-tracking \\\n              --disable-shared\n          emmake make -j 3\n          emmake make install\n          # Build galpy\n          cd ..\n          CFLAGS=`pkg-config --cflags-only-I --dont-define-prefix gsl` \\\n          LDFLAGS=`pkg-config --libs-only-L --dont-define-prefix gsl` \\\n          pyodide build\n      - name: Rename wheels to 'latest' version\n        run: |\n          GALPY_VERSION=\"$(awk '/^current_version/{print $NF}' .bumpversion.cfg)\"\n          for f in dist/*$GALPY_VERSION*; do sudo mv -i -- \"$f\" \"${f//$GALPY_VERSION/latest}\"; done\n      - uses: actions/upload-artifact@v4\n        with:\n          name: galpy-wheel-pyodide\n          path: dist/*.whl\n      # Upload to AWS S3\n      - name: Upload to AWS S3\n        uses: jakejarvis/s3-sync-action@v0.5.1\n        if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'\n        with:\n          args: --acl public-read --follow-symlinks\n        env:\n          AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_REGION: 'us-east-2'\n          SOURCE_DIR: dist\n          DEST_DIR: wheelhouse\n", "state": "active", "repository": "jobovy/galpy"}
{"mined_at": "2024-07-15T14:03:27.284250", "created_at": "2022-10-18T02:57:16+02:00", "updated_at": "2022-10-18T20:26:05+02:00", "name": "Wheel builder and uploader", "path": ".github/workflows/wheels.yml", "contents": "name: Wheel builder and uploader\n\n# Update on every push and PR to main, and upon release creation\non:\n  push:\n    branches:\n      - main\n    paths:\n      - '**'\n      - '!*'\n      - '*.py'\n      - '!tests/**'\n      - '!doc/**'\n      - '!.github/**'\n      - '.github/workflows/wheels.yml'\n  pull_request:\n    branches:\n      - main\n    paths-ignore:\n      - 'doc/**'\n  release:\n    types: [created]\n\njobs:\n  build_wheels:\n    name: Build wheel for ${{ matrix.python }}-${{ matrix.buildplat[1] }}-${{ matrix.buildplat[2] }}\n    runs-on: ${{ matrix.buildplat[0] }}\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        # Following numpy's setup\n        buildplat:\n        - [ubuntu-22.04, manylinux, x86_64]\n        - [macos-12, macosx, x86_64]\n        - [macos-14, macosx, arm64]\n        - [windows-2019, win, amd64]\n        python: [\"cp38\", \"cp39\", \"cp310\", \"cp311\", \"cp312\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install GSL (Windows / Mac OS x86_64)\n        uses: mamba-org/setup-micromamba@v1\n        if: matrix.buildplat[1] == 'win' || matrix.buildplat[1] == 'macosx'\n        with:\n          environment-name: gsl\n          condarc: |\n            channels:\n              - conda-forge\n          create-args: gsl\n          cache-environment: true\n          cache-environment-key: ${{ matrix.buildplat[1] }}-${{ matrix.buildplat[2] }}-${{ hashFiles('.github/workflows/wheels.yml') }}\n      - name: Set GSL environment variables (Windows)\n        if: matrix.buildplat[1] == 'win'\n        shell: bash -l {0}\n        run: |\n          echo \"INCLUDE=$CONDA_PREFIX\\\\Library\\\\include\" >> $GITHUB_ENV\n          echo \"LIB=$CONDA_PREFIX\\\\Library\\\\lib\" >> $GITHUB_ENV\n          echo \"LIBPATH=$CONDA_PREFIX\\\\Library\\\\lib\" >> $GITHUB_ENV\n          echo \"$CONDA_PREFIX\\\\Library\\\\bin\" >> $GITHUB_PATH # necessary when we don't activate the environment\n      - name: Set GSL environment variables (Mac OS)\n        if: matrix.buildplat[1] == 'macosx'\n        shell: bash -l {0}\n        run: |\n          echo \"CFLAGS=-I$CONDA_PREFIX/include\" >> $GITHUB_ENV\n          echo \"LDFLAGS=-L$CONDA_PREFIX/lib\" >> $GITHUB_ENV\n          echo \"REPAIR_LIBRARY_PATH=$CONDA_PREFIX/lib\" >> $GITHUB_ENV # https://github.com/pypa/cibuildwheel/issues/816#issuecomment-916197079\n          echo \"$CONDA_PREFIX/bin\" >> $GITHUB_PATH # necessary when we don't activate the environment\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19\n        env:\n          CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}_${{ matrix.buildplat[2] }}\n          CIBW_BUILD_VERBOSITY: 1\n          CIBW_BEFORE_BUILD_LINUX: yum -y install gsl-devel\n          CIBW_ARCHS_MACOS: ${{ matrix.buildplat[2] }}\n          CIBW_ENVIRONMENT_MACOS: \"MACOSX_DEPLOYMENT_TARGET=10.13\"\n          CIBW_REPAIR_WHEEL_COMMAND_MACOS: >\n            DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-listdeps {wheel} &&\n            DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-wheel -v --require-archs {delocate_archs} -w {dest_dir} {wheel}\n          CIBW_BEFORE_TEST: pip install pytest astropy\n          CIBW_TEST_COMMAND: pytest -v {package}/tests/test_orbit.py -k \"test_energy_jacobi_conservation and NFW\"\n      - uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.python }}-${{ matrix.buildplat[1] }}_${{ matrix.buildplat[2] }}\n          path: ./wheelhouse/*.whl\n  build_sdist:\n    name: Build source directory for release\n    if: github.event_name == 'release' && github.event.action == 'created'\n    runs-on: ubuntu-latest\n    steps:\n      # check-out this repository\n      - uses: actions/checkout@v4\n      # Setup python\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      # Install the GSL (necessary to properly include the C files)\n      - name: Install GSL\n        run: sudo apt-get install -y libgsl0-dev\n      - name: Build sdist\n        run: |\n          pip install build\n          python -m build --sdist\n      - uses: actions/upload-artifact@v4\n        with:\n          name: sdist\n          path: ./dist/*.tar.gz\n# Deploy wheels and sdist to PyPI (upon release creation)\n  deploy_pypi:\n    name: Deploy to PyPI\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    if: github.event_name == 'release' && github.event.action == 'created'\n    steps:\n      - uses: actions/checkout@v4\n      - run: |\n          mkdir tmp_wheelhouse\n          mkdir wheelhouse\n      - uses: actions/download-artifact@v4\n        with:\n          path: tmp_wheelhouse/\n      - run: find tmp_wheelhouse/ -mindepth 2 -type f -exec mv -i '{}' wheelhouse/ ';'\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages_dir: wheelhouse/\n# Deploy wheels and sdist to AWS S3 (main)\n  deploy_s3:\n    name: Deploy to AWS S3\n    needs: build_wheels\n    runs-on: ubuntu-latest\n    if: github.event_name != 'release' && github.event_name != 'pull_request' && github.ref == 'refs/heads/main'\n    steps:\n      - uses: actions/checkout@v4\n      - run: |\n          mkdir tmp_wheelhouse\n          mkdir wheelhouse\n      - uses: actions/download-artifact@v4\n        with:\n          path: tmp_wheelhouse/\n      - run: find tmp_wheelhouse/ -mindepth 2 -type f -exec mv -i '{}' wheelhouse/ ';'\n      - name: Rename wheel to 'latest' version for AWS S3\n        run: |\n          GALPY_VERSION=\"$(awk '/^current_version/{print $NF}' .bumpversion.cfg)\"\n          for f in wheelhouse/*$GALPY_VERSION*.whl; do mv -i -- \"$f\" \"${f//$GALPY_VERSION/latest}\"; done\n      - name: Upload to AWS S3\n        uses: jakejarvis/s3-sync-action@v0.5.1\n        with:\n          args: --acl public-read --follow-symlinks --delete --exclude \"*emscripten*\"\n        env:\n          AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_REGION: 'us-east-2'\n          SOURCE_DIR: wheelhouse\n          DEST_DIR: wheelhouse\n", "state": "active", "repository": "jobovy/galpy"}
{"mined_at": "2024-07-15T14:03:28.286816", "created_at": "2023-02-15T02:47:53+01:00", "updated_at": "2023-02-15T02:47:53+01:00", "name": "Close stale issues", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues'\non:\n  schedule:\n    - cron: '0 20 * * 1'\n\npermissions:\n  contents: write # only for delete-branch option\n  issues: write\n  pull-requests: write\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If the issue has been resolved since the last activity, please close the issue. Thank you for your contributions.'\n          stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. Please close the PR if it is no longer relevant. If no further activity occurs, the PR may be closed. Thank you for your contributions.'\n          stale-issue-label: 'wontfix'\n          stale-pr-label: 'Stale'\n          exempt-issue-labels: 'pinned,security'\n          exempt-pr-labels: 'pinned,security'\n          days-before-pr-close: -1\n", "state": "active", "repository": "jobovy/galpy"}
{"mined_at": "2024-07-15T14:03:30.341851", "created_at": "2020-11-10T22:31:54+01:00", "updated_at": "2021-12-08T16:36:46+01:00", "name": "Create and Publish Release", "path": ".github/workflows/publish-release.yml", "contents": "on:\n  push:\n    tags:\n      - \"v*\" # Push events to matching `v*` version srings. e.g. v1.0, v20.15.10\n\nname: Create and Publish Release\n\njobs:\n  build:\n    name: Build distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n\n      - name: Install release dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade setuptools wheel build\n\n      - name: Get release notes\n        id: release_notes\n        run: |\n          # By default, GH Actions checkout will only fetch a single commit.\n          # For us to extract the release notes, we need to fetch the tags\n          # and tag annotations as well.\n          # https://github.com/actions/checkout/issues/290\n          git fetch --tags --force\n          TAG_NAME=${GITHUB_REF/refs\\/tags\\//}\n          echo \"$(git tag -l --format='%(contents)' $TAG_NAME)\" > \"${{ runner.temp }}/CHANGELOG.md\"\n\n      - name: Create GitHub release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: ${{ github.ref }}\n          body_path: \"${{ runner.temp }}/CHANGELOG.md\"\n          draft: false\n          prerelease: false\n\n      - name: Build a binary wheel and a source tarball\n        run: python3 -m build\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n\n  publish-to-pypi:\n    name: >-\n      Publish Python 🐍 distribution 📦 to PyPI\n    if: startsWith(github.ref, 'refs/tags/')  # only publish to PyPI on tag pushes\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/gftools\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          # repository-url: https://test.pypi.org/legacy/ # for testing purposes\n          verify-metadata: false # twine previously didn't verify metadata when uploading", "state": "active", "repository": "googlefonts/gftools"}
{"mined_at": "2024-07-15T14:03:31.361506", "created_at": "2020-11-11T16:23:36+01:00", "updated_at": "2022-11-29T18:10:23+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nenv:\n  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n  build:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        platform: [ubuntu-latest, windows-latest]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install packages\n        run: |\n          pip install '.[qa]'\n          pip install '.[test]'\n      - name: lint\n        run: |\n            black . --check --diff --color\n      - name: Run Tests\n        env:\n          DEV_FAMILY_DOWNLOAD: ${{ secrets.DEV_FAMILY_DOWNLOAD }}\n          DEV_META_URL: ${{ secrets.DEV_META_URL }}\n          DEV_URL: ${{ secrets.DEV_URL }}\n          DEV_VERSIONS_URL: ${{ secrets.DEV_VERSIONS_URL }}\n          PRODUCTION_META_URL: ${{ secrets.PRODUCTION_META_URL }}\n          PRODUCTION_URL: ${{ secrets.PRODUCTION_URL}}\n          PRODUCTION_VERSIONS_URL: ${{ secrets.PRODUCTION_VERSIONS_URL }}\n          SANDBOX_FAMILY_DOWNLOAD: ${{ secrets.SANDBOX_FAMILY_DOWNLOAD }}\n          SANDBOX_META_URL: ${{ secrets.SANDBOX_META_URL }}\n          SANDBOX_URL: ${{ secrets.SANDBOX_URL }}\n          SANDBOX_VERSIONS_URL: ${{ secrets.SANDBOX_VERSIONS_URL }}\n          TRAFFIC_JAM_ID: ${{ secrets.TRAFFIC_JAM_ID }}\n          STATUS_FIELD_ID: ${{ secrets.STATUS_FIELD_ID }}\n          LIST_FIELD_ID: ${{ secrets.LIST_FIELD_ID }}\n          PR_GF_ID: ${{ secrets.PR_GF_ID }}\n          IN_DEV_ID: ${{ secrets.IN_DEV_ID }}\n          IN_SANDBOX_ID: ${{ secrets.IN_SANDBOX_ID }}\n          LIVE_ID: ${{ secrets.LIVE_ID }}\n          TO_SANDBOX_ID: ${{ secrets.TO_SANDBOX_ID }}\n          TO_PRODUCTION_ID: ${{ secrets.TO_PRODUCTION_ID }}\n          BLOCKED_ID: ${{ secrets.BLOCKED_ID }}\n        run: |\n          pytest tests", "state": "active", "repository": "googlefonts/gftools"}
{"mined_at": "2024-07-15T14:03:32.458003", "created_at": "2023-08-10T00:14:25+02:00", "updated_at": "2023-08-10T00:14:25+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googlefonts/gftools"}
{"mined_at": "2024-07-15T14:03:34.555243", "created_at": "2020-01-11T14:20:21+01:00", "updated_at": "2020-01-11T14:42:42+01:00", "name": "Lint", "path": "", "contents": null, "state": "active", "repository": "hacs/default"}
{"mined_at": "2024-07-15T14:03:35.684877", "created_at": "2020-05-27T18:22:39+02:00", "updated_at": "2020-05-27T18:22:39+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\non:\n  pull_request:\n    branches:\n      - master\n  push:\n    branches:\n      - master\n\nconcurrency:\n  group: lint-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  jq:\n    name: JQ\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4.1.1\n\n      - name: Validate\n        run: jq --raw-output . appdaemon blacklist critical integration netdaemon plugin python_script removed template theme\n\n  jsonschema:\n    name: JSON schema\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4.1.1\n\n      - name: Critical\n        uses: cardinalby/schema-validator-action@3.1.1\n        with:\n          file: \"critical\"\n          schema: \"tools/jsonschema/critical.schema.json\"\n\n      - name: Repositories\n        uses: cardinalby/schema-validator-action@3.1.1\n        with:\n          file: \"appdaemon|blacklist|integration|netdaemon|plugin|python_script|template|theme\"\n          schema: \"tools/jsonschema/repositories.schema.json\"\n\n      - name: Removed\n        uses: cardinalby/schema-validator-action@3.1.1\n        with:\n          file: \"removed\"\n          schema: \"tools/jsonschema/removed.schema.json\"\n\n  sorted:\n    name: Sorted\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4.1.1\n\n      - name: Check lists\n        run: python3 scripts/is_sorted.py\n", "state": "active", "repository": "hacs/default"}
{"mined_at": "2024-07-15T14:03:36.852010", "created_at": "2020-05-27T18:22:45+02:00", "updated_at": "2020-05-27T18:22:45+02:00", "name": "Checks", "path": ".github/workflows/checks.yml", "contents": "name: \"Checks\"\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - unlabeled\n    branches:\n      - master\n    paths:\n      - appdaemon\n      - blacklist\n      - critical\n      - integration\n      - netdaemon\n      - plugin\n      - python_script\n      - removed\n      - template\n      - theme\n\nconcurrency:\n  group: checks-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  preflight:\n    runs-on: ubuntu-latest\n    name: Initialize\n    outputs:\n      repository: ${{ steps.repository.outputs.repository }}\n      category: ${{ steps.category.outputs.category }}\n      removal: ${{ steps.removal.outputs.removal }}\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4.1.1\n\n      - name: Clone origin\n        run: git clone --depth 1 https://github.com/hacs/default /tmp/repositories/default\n\n      - name: Set repository\n        id: repository\n        run: echo \"repository=$(python3 -m scripts.changed.repo)\" >> $GITHUB_OUTPUT\n\n      - name: Check removal\n        id: removal\n        run: |\n          if [ \"${{ steps.repository.outputs.repository }}\" == \"Bad data []\" ]; then\n            echo \"removal=true\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Set category\n        if: steps.removal.outputs.removal != 'true'\n        id: category\n        run: echo \"category=$(python3 -m scripts.changed.category)\" >> $GITHUB_OUTPUT\n\n      - name: Clone new addition\n        if: steps.removal.outputs.removal != 'true'\n        run: |\n          repo=$(python3 -m scripts.changed.repo)\n          git clone --depth 1 \"https://github.com/$repo\" /tmp/repositories/addition\n\n      - name: Upload shared artifacts\n        if: steps.removal.outputs.removal != 'true'\n        uses: actions/upload-artifact@v3\n        with:\n          name: repositories\n          path: /tmp/repositories\n\n  owner:\n    runs-on: ubuntu-latest\n    name: Check Owner\n    needs: preflight\n    if: needs.preflight.outputs.removal != 'true'\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4.1.1\n\n      - name: Download shared artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: repositories\n          path: /tmp/repositories\n\n      - name: Install dependencies if needed\n        run: scripts/setup\n\n      - name: Run the check\n        run: python3 -m scripts.check.owner\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  edits:\n    runs-on: ubuntu-latest\n    name: Check if PR is editable\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4.1.1\n\n      - name: Install dependencies if needed\n        run: scripts/setup\n\n      - name: Run the check\n        run: python3 -m scripts.check.edits\n\n\n  hassfest:\n    runs-on: ubuntu-latest\n    name: \"Check hassfest\"\n    needs: preflight\n    if: needs.preflight.outputs.category == 'integration'\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4.1.1\n\n      - name: Download shared artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: repositories\n          path: /tmp/repositories\n\n      - name: Get hassfest action\n        run: |\n          git clone --depth 1 https://github.com/home-assistant/actions.git /tmp/actions\n          echo \"::add-matcher::/tmp/actions/hassfest/problem-matcher.json\"\n\n      - name: Enable problem-matcher\n        run: echo \"::add-matcher::/tmp/actions/hassfest/problem-matcher.json\"\n\n      - name: Build hassfest\n        run: docker build /tmp/actions/hassfest -f /tmp/actions/hassfest/Dockerfile -t hassfest\n\n      - name: Run hassfest\n        run: |\n          integration=$(python3 -m scripts.helpers.integration_path)\n          domain=$(python3 -m scripts.helpers.domain)\n          docker run \\\n            --rm \\\n            -v \"$integration\":\"/github/workspace/$domain\" \\\n            hassfest\n  hacs:\n    runs-on: ubuntu-latest\n    name: \"Run HACS Action\"\n    needs: preflight\n    if: needs.preflight.outputs.removal != 'true'\n    steps:\n      - name: HACS action\n        uses: \"hacs/action@main\"\n        with:\n          repository: ${{needs.preflight.outputs.repository}}\n          category: ${{needs.preflight.outputs.category}}", "state": "active", "repository": "hacs/default"}
{"mined_at": "2024-07-15T14:03:38.038048", "created_at": "2023-01-12T14:47:28+01:00", "updated_at": "2023-01-12T14:47:28+01:00", "name": "Upload removed file to R2", "path": ".github/workflows/upload-removed.yml", "contents": "name: Upload removed file to R2\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n    paths:\n      - removed\n\nconcurrency:\n  cancel-in-progress: true\n  group: upload-removed\n\njobs:\n  upload:\n    runs-on: ubuntu-latest\n    name: Upload\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.1\n\n      - name: Validate with JSON schema\n        uses: cardinalby/schema-validator-action@3.1.1\n        with:\n          file: 'removed'\n          schema: 'tools/jsonschema/removed.schema.json'\n\n      - name: Set up Python\n        uses: actions/setup-python@v5.0.0\n        id: python\n        with:\n          python-version: \"3.x\"\n\n      - name: Install AWS CLI\n        run:  |\n          pip3 install \\\n            --disable-pip-version-check install \\\n            --ignore-installed \\\n            awscli\n\n      - name: Handle the removed file\n        run: |\n          mkdir -p upload/removed\n          jq -c . < removed > upload/removed/data.json\n          jq -c '[.[].repository]' < removed > upload/removed/repositories.json\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: removed\n          path: upload/removed\n          if-no-files-found: error\n\n      - name: Upload to R2\n        run: |\n          aws s3 sync \\\n            upload/removed \\\n            s3://data-v2/removed \\\n            --endpoint-url ${{ secrets.CF_R2_ENDPOINT_DATA }}\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.CF_R2_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_SECRET_ACCESS_KEY }}\n\n      - name: Bust Cloudflare cache\n        run: |\n          curl --silent --show-error --fail -X POST \\\n            \"https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE_ID }}/purge_cache\" \\\n            -H \"Authorization: Bearer ${{ secrets.CF_BUST_CACHE_TOKEN }}\" \\\n            -H \"Content-Type: application/json\" \\\n            --data '{\"files\": [\"https:\\/\\/data-v2.hacs.xyz\\/removed\\/data.json\", \"https:\\/\\/data-v2.hacs.xyz\\/removed\\/repositories.json\"]}'\n\n      - name: Discord notification\n        if: ${{ github.event_name == 'schedule' && failure() }}\n        run: |\n          curl \\\n            -H \"Content-Type: application/json\" \\\n            -d '{\"username\": \"GitHub action failure\", \"content\": \"[Scheduled action failed!](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})\"}' \\\n            ${{ secrets.DISCORD_WEBHOOK_ACTION_FAILURE }}\n", "state": "active", "repository": "hacs/default"}
{"mined_at": "2024-07-15T14:03:39.149708", "created_at": "2023-01-15T15:31:48+01:00", "updated_at": "2023-01-15T15:31:48+01:00", "name": "Upload critical file to R2", "path": ".github/workflows/upload-critical.yml", "contents": "name: Upload critical file to R2\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n    paths:\n      - critical\n\nconcurrency:\n  cancel-in-progress: true\n  group: upload-critical\n\njobs:\n  upload:\n    runs-on: ubuntu-latest\n    name: Upload\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.1\n\n      - name: Validate with JSON schema\n        uses: cardinalby/schema-validator-action@3.1.1\n        with:\n          file: 'critical'\n          schema: 'tools/jsonschema/critical.schema.json'\n\n      - name: Set up Python\n        uses: actions/setup-python@v5.0.0\n        id: python\n        with:\n          python-version: \"3.x\"\n\n      - name: Install AWS CLI\n        run:  |\n          pip3 install \\\n            --disable-pip-version-check install \\\n            --ignore-installed \\\n            awscli\n\n      - name: Handle the critical file\n        run: |\n          mkdir -p upload/critical\n          jq -c . < critical > upload/critical/data.json\n          jq -c '[.[].repository]' < critical > upload/critical/repositories.json\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: critical\n          path: upload/critical\n          if-no-files-found: error\n\n      - name: Upload to R2\n        run: |\n          aws s3 sync \\\n            upload/critical \\\n            s3://data-v2/critical \\\n            --endpoint-url ${{ secrets.CF_R2_ENDPOINT_DATA }}\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.CF_R2_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_SECRET_ACCESS_KEY }}\n\n      - name: Bust Cloudflare cache\n        run: |\n          curl --silent --show-error --fail -X POST \\\n            \"https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE_ID }}/purge_cache\" \\\n            -H \"Authorization: Bearer ${{ secrets.CF_BUST_CACHE_TOKEN }}\" \\\n            -H \"Content-Type: application/json\" \\\n            --data '{\"files\": [\"https:\\/\\/data-v2.hacs.xyz\\/critical\\/data.json\", \"https:\\/\\/data-v2.hacs.xyz\\/critical\\/repositories.json\"]}'\n\n      - name: Discord notification\n        if: ${{ github.event_name == 'schedule' && failure() }}\n        run: |\n          curl \\\n            -H \"Content-Type: application/json\" \\\n            -d '{\"username\": \"GitHub action failure\", \"content\": \"[Scheduled action failed!](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})\"}' \\\n            ${{ secrets.DISCORD_WEBHOOK_ACTION_FAILURE }}\n", "state": "active", "repository": "hacs/default"}
{"mined_at": "2024-07-15T14:03:41.243013", "created_at": "2021-05-05T00:34:12+02:00", "updated_at": "2021-05-05T03:33:17+02:00", "name": "build", "path": ".github/workflows/python-app.yml", "contents": "\nname: build\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    env:\n        working-directory: ./tests\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pytest\n      working-directory: ${{env.working-directory}}\n", "state": "active", "repository": "ericfillion/happy-transformer"}
{"mined_at": "2024-07-15T14:03:42.272707", "created_at": "2022-02-06T06:47:02+01:00", "updated_at": "2022-02-06T06:47:02+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ericfillion/happy-transformer"}
{"mined_at": "2024-07-15T14:03:44.381840", "created_at": "2021-02-11T09:44:55+01:00", "updated_at": "2024-07-04T23:36:33+02:00", "name": "Documentation link", "path": ".github/workflows/docs-link.yml", "contents": "name: Documentation link\n\non: [status]\n\npermissions: read-all\n\njobs:\n  circleci_artifacts_redirector_job:\n    runs-on: ubuntu-latest\n    if: \"${{ github.event.context == 'ci/circleci: docs' }}\"\n    permissions:\n      statuses: write\n    name: Run CircleCI artifacts redirector\n    steps:\n      - name: GitHub Action step\n        uses: scientific-python/circleci-artifacts-redirector-action@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          api-token: ${{ secrets.CIRCLECI_DOCS_LINK }}\n          artifact-path: 0/docs/index.html\n          circleci-jobs: docs\n          job-title: Check the rendered docs here!\n", "state": "active", "repository": "dstl/stone-soup"}
{"mined_at": "2024-07-15T14:03:46.537057", "created_at": "2021-02-17T16:25:29+01:00", "updated_at": "2021-11-03T22:30:29+01:00", "name": "Integration tests", "path": ".github/workflows/integration.yaml", "contents": "name: Integration tests\n\n# Run this workflow every time a new commit pushed to your repository\non:\n  push:\n    branches:\n    - main\n  pull_request_target:\n    branches:\n      - main\n  workflow_dispatch: {}\n\njobs:\n  # Set the job key. The key is displayed as the job name\n  # when a job name is not provided\n  lint:\n    name: Lint code\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ '3.10' ]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n           python-version: ${{ matrix.python-version }}\n\n      - name: Cache pip dir\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: pip-cache-${{ matrix.python-version }}-lint\n\n      - name: Install required packages\n        run: pip install tox\n\n      - name: Run tox\n        run: tox -e lint\n\n  integration:\n    # Name the Job\n    name: Per-cloud integration tests\n    needs: lint\n    # Set the type of machine to run on\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10']\n        cloud-provider: ['aws', 'azure', 'gcp', 'mock', 'openstack']\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n           python-version: ${{ matrix.python-version }}\n\n      - name: Cache pip dir\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('**/setup.py', '**/requirements.txt') }}\n\n      - name: Install required packages\n        run: pip install tox\n\n      - name: Run tox\n        id: tox\n        run: tox -e py${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n        env:\n          PYTHONUNBUFFERED: \"True\"\n          # aws\n          AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}\n          AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}\n          CB_VM_TYPE_AWS: ${{ secrets.CB_VM_TYPE_AWS }}\n          # azure\n          AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}\n          AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}\n          AZURE_SECRET: ${{ secrets.AZURE_SECRET }}\n          AZURE_TENANT: ${{ secrets.AZURE_TENANT }}\n          AZURE_RESOURCE_GROUP: ${{ secrets.AZURE_RESOURCE_GROUP }}\n          AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE_ACCOUNT }}\n          CB_IMAGE_AZURE: ${{ secrets.CB_IMAGE_AZURE }}\n          CB_VM_TYPE_AZURE: ${{ secrets.CB_VM_TYPE_AZURE }}\n          # gcp\n          GCP_SERVICE_CREDS_DICT: ${{ secrets.GCP_SERVICE_CREDS_DICT }}\n          CB_IMAGE_GCP: ${{ secrets.CB_IMAGE_GCP }}\n          CB_VM_TYPE_GCP: ${{ secrets.CB_VM_TYPE_GCP }}\n          # openstack\n          OS_AUTH_URL: ${{ secrets.OS_AUTH_URL }}\n          OS_PASSWORD: ${{ secrets.OS_PASSWORD }}\n          OS_PROJECT_NAME: ${{ secrets.OS_PROJECT_NAME }}\n          OS_PROJECT_DOMAIN_NAME: ${{ secrets.OS_PROJECT_DOMAIN_NAME }}\n          OS_TENANT_NAME: ${{ secrets.OS_TENANT_NAME }}\n          OS_USERNAME: ${{ secrets.OS_USERNAME }}\n          OS_REGION_NAME: ${{ secrets.OS_REGION_NAME }}\n          OS_USER_DOMAIN_NAME: ${{ secrets.OS_USER_DOMAIN_NAME }}\n          OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}\n          OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}\n          CB_IMAGE_OS: ${{ secrets.CB_IMAGE_OS }}\n          CB_VM_TYPE_OS: ${{ secrets.CB_VM_TYPE_OS }}\n          CB_PLACEMENT_OS: ${{ secrets.CB_PLACEMENT_OS }}\n\n      - name: Create Build Status Badge\n        if: github.ref == 'refs/heads/master'\n        uses: schneegans/dynamic-badges-action@v1.1.0\n        with:\n          auth: ${{ secrets.BUILD_STATUS_GIST_SECRET }}\n          gistID: ${{ secrets.BUILD_STATUS_GIST_ID }}\n          filename: cloudbridge_py${{ matrix.python-version }}_${{ matrix.cloud-provider }}.json\n          label: ${{ matrix.cloud-provider }}\n          message: ${{ fromJSON('[\"passing\", \"failing\"]')[steps.tox.outcome != 'success'] }}\n          color: ${{ fromJSON('[\"green\", \"red\"]')[steps.tox.outcome != 'success'] }}\n\n      - name: Coveralls\n        if: ${{ steps.tox.outcome == 'success' }}\n        uses: AndreMiras/coveralls-python-action@develop\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          flag-name: run-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n          parallel: true\n\n  finish:\n    needs: integration\n    runs-on: ubuntu-latest\n    steps:\n    - name: Coveralls Finished\n      uses: AndreMiras/coveralls-python-action@develop\n      with:\n        github-token: ${{ secrets.github_token }}\n        parallel-finished: true\n", "state": "active", "repository": "cloudve/cloudbridge"}
{"mined_at": "2024-07-15T14:03:47.554040", "created_at": "2023-09-06T15:44:16+02:00", "updated_at": "2023-09-06T15:44:16+02:00", "name": "Publish cloudbridge to PyPI", "path": ".github/workflows/deploy.yaml", "contents": "name: Publish cloudbridge to PyPI\non:\n  release:\n    types: [published]\n  push:\n    tags:\n      - '*'\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python 3.10.12\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.10.12\n    - name: Install dependencies\n      run: |\n        python3 -m pip install --upgrade pip setuptools\n        python3 -m pip install --upgrade twine wheel\n    - name: Create and check packages\n      run: |\n        python3 setup.py sdist bdist_wheel\n        twine check dist/*\n        ls -l dist\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n        skip_existing: true\n    - name: Publish distribution 📦 to PyPI\n      if: github.event_name == 'release'\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "cloudve/cloudbridge"}
{"mined_at": "2024-07-15T14:03:49.679681", "created_at": "2023-06-30T11:49:58+02:00", "updated_at": "2024-03-27T10:52:37+01:00", "name": "Update comparison symlinks", "path": ".github/workflows/auto_update_script_contents.yml", "contents": null, "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:03:50.698369", "created_at": "2022-06-08T16:49:26+02:00", "updated_at": "2024-04-05T13:41:54+02:00", "name": "autoblack", "path": ".github/workflows/autoblack.yml", "contents": "name: autoblack\non: [pull_request]\n\nenv:\n  PYTHON_VERSION: \"3.12.1\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Install poetry using pipx\n        run: |\n          pipx install poetry\n          pipx ensurepath\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12.1\"\n          cache: \"poetry\"\n\n      - name: Install dependencies\n        run: |\n          poetry config virtualenvs.in-project true\n          poetry install --no-interaction --no-root --only linting\n\n      - name: Run Black autoformatter\n        run: poetry run black .\n\n      - name: If needed, commit black changes to the pull request\n        run: |\n          git config user.name \"$(git log -n 1 --pretty=format:%an)\"\n          git config user.email \"$(git log -n 1 --pretty=format:%ae)\"\n          # short-circuit if we have no changes, otherwise attempt to commit and push\n          # should only fail on forks, in which case contributors will need to manually run black, commit, and push\n          git diff-index --quiet HEAD || (echo \"Attempting to commit changes\" && git commit -am 'lint with black' && git push -f)\n      - name: Run black --check\n        run: poetry run black --check .\n", "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:03:51.690817", "created_at": "2024-04-05T12:18:24+02:00", "updated_at": "2024-04-05T12:39:46+02:00", "name": "Lint with ruff", "path": ".github/workflows/autoruff.yml", "contents": null, "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:03:52.704933", "created_at": "2022-06-08T17:48:50+02:00", "updated_at": "2023-05-24T22:42:05+02:00", "name": "docswithmkdoc", "path": ".github/workflows/documentation.yml", "contents": "name: docswithmkdoc\n\non:\n  push:\n    branches:\n      - master\n\n  pull_request:\n    branches:\n      - master\n    paths:\n      # files that affect the docs build:\n      - docs/**\n      - CONTRIBUTING.md\n      - mkdocs.yml\n\n  workflow_dispatch:\n\njobs:\n  generate-files:\n    runs-on: ubuntu-20.04\n    # https://docs.github.com/en/actions/creating-actions/creating-a-composite-action\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9.10\n\n      #----------------------------------------------\n      #  -- save a few section by caching poetry --\n      #----------------------------------------------\n      - name: Load cached Poetry installation\n        uses: actions/cache@v2\n        with:\n          path: ~/.local  # the path depends on the OS\n          key: poetry-0  # increment to reset cache\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: '1.7.0'\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-00\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root\n      #----------------------------------------------\n      # install your root project, if required\n      #----------------------------------------------\n      - name: Install library\n        run: poetry install --no-interaction\n\n      - name: Generate comparison/level library dialect + dataset tables\n        run: |\n          source .venv/bin/activate\n          mv scripts/generate_dialect_comparison_docs.py generate_dialect_comparison_docs.py\n          mv scripts/generate_dataset_docs.py generate_dataset_docs.py\n          python generate_dialect_comparison_docs.py\n          python generate_dataset_docs.py\n\n      - name: Upload generated docs files\n        uses: actions/upload-artifact@v3\n        with:\n          name: generated_files\n          path: docs/includes/generated_files\n\n  build:\n    runs-on: ubuntu-latest\n    needs: generate-files\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - uses: actions/download-artifact@v3\n        with:\n          name: generated_files\n          path: docs/includes/generated_files\n\n      - run: tree docs/\n      - name: install docs dependencies\n        run: |\n          pip install --upgrade pip\n          pip install -r scripts/docs-requirements.txt\n\n      - name: build documentation\n        run: mkdocs build\n\n      - name: check links\n        uses: lycheeverse/lychee-action@v1.8.0\n        with:\n          fail: true\n          args: --offline site/ --verbose './**/*.html'\n\n      - name: Upload built site\n        uses: actions/upload-artifact@v3\n        with:\n          name: built_site\n          path: site\n\n      # some environment info:\n      - run: pip freeze\n      - run: mkdocs --version\n\n  deploy:\n    runs-on: ubuntu-latest\n    needs: build\n    # we only deplot on push to master\n    # this job doesn't run if this is triggered by a PR\n    if: github.event_name == 'push'\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - uses: actions/download-artifact@v3\n        with:\n          name: built_site\n          path: site\n\n      - name: commit and force-push to gh-pages branch\n        run: |\n          pip install ghp-import==2.1.0\n          git config --global user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git config --global user.name \"github-actions[bot]\"\n          ghp-import -opfm \"Update docs from commit ${{ github.sha }}\" site\n", "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:03:53.908038", "created_at": "2022-03-06T16:51:14+01:00", "updated_at": "2024-07-15T12:13:39+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\non: [pull_request]\n\nenv:\n  PYTHON_VERSION: \"3.12.1\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Install poetry using pipx\n        run: |\n          pipx install poetry\n          pipx ensurepath\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12.1\"\n          cache: \"poetry\"\n\n      - name: Install dependencies\n        run: |\n          poetry config virtualenvs.in-project true\n          poetry install --no-interaction --no-root --only linting\n\n      - name: Lint Python files with ruff\n        run: poetry run ruff --show-source .\n", "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:03:55.021759", "created_at": "2024-03-12T18:18:01+01:00", "updated_at": "2024-03-12T18:18:01+01:00", "name": "Type hinting with mypy", "path": ".github/workflows/mypy.yml", "contents": null, "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:03:56.054861", "created_at": "2022-03-08T08:11:36+01:00", "updated_at": "2023-05-24T22:42:05+02:00", "name": "Release Package on PyPi", "path": ".github/workflows/poetry_pypi_release.yml", "contents": "name: Release Package on PyPi\non:\n  push:\n    tags:\n      - \"v*.*.*\"\n  workflow_dispatch:\njobs:\n  poetry-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: master\n      - name: Install poetry\n        run: pipx install poetry\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      - name: Publish to Pypi\n        env:\n          TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n        run: poetry publish --build -u __token__ -p $TOKEN\n      # Create duckdbless requirements\n      - name: Run duckdbless setup\n        run: |\n           chmod +x ./scripts/duckdb-less_packages.sh\n           ./scripts/duckdb-less_packages.sh\n        shell: bash\n      - uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: Update duckdbless requirements\n          # feed exact file for ease\n          file_pattern: 'duckdbless_requirements.txt'\n          repository: ./scripts\n      - name: Update binder_branch branch so binder points to current master\n        run: |\n          git branch -f binder_branch master\n          git push origin binder_branch\n", "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:03:57.083058", "created_at": "2022-02-19T16:51:06+01:00", "updated_at": "2023-09-12T13:00:56+02:00", "name": "Benchmark comment", "path": ".github/workflows/pytest_benchmark_comment.yml", "contents": "name: Benchmark comment\non:\n  pull_request:\n    branches:\n      - master\n    paths:\n      - splink/**\n      - benchmarking/**\n      - pyproject.toml\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v3\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9.10\n\n      #----------------------------------------------\n      #  -- save a few section by caching poetry --\n      #----------------------------------------------\n      - name: Load cached Poetry installation\n        uses: actions/cache@v2\n        with:\n          path: ~/.local  # the path depends on the OS\n          key: poetry-0  # increment to reset cache\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: '1.7.0'\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-bm-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-00\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root --with benchmarking\n      #----------------------------------------------\n      # install your root project, if required\n      #----------------------------------------------\n      - name: Install library\n        run: poetry install --no-interaction\n      #----------------------------------------------\n      #              run benchmarks and comment\n      #----------------------------------------------\n      - name: Run benchmark and comment\n        run: |\n          source .venv/bin/activate\n          pytest benchmarking/test_performance.py  --benchmark-json benchmarking/output.json -k 'test_2_rounds_1k_sqlite or test_2_rounds_1k_duckdb'\n          python benchmarking/combine_benchmarks_timeseries.py\n      - uses: NejcZdovc/comment-pr@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          file: benchmark_comment_markdown.md\n", "state": "disabled_manually", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:03:58.092508", "created_at": "2022-02-19T17:11:07+01:00", "updated_at": "2023-11-17T16:35:45+01:00", "name": "Benchmark timeseries commit", "path": ".github/workflows/pytest_benchmark_commit.yml", "contents": "name: Benchmark timeseries commit\non:\n  pull_request_target:\n    types:\n      - closed\n\n\njobs:\n  if_merged:\n    if: github.event.pull_request.merged == true && github.repository == 'moj-analytical-services/splink'\n    runs-on: ubuntu-20.04\n    # only run this workflow on the upstream\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v3\n        with:\n          ref: master\n          token: ${{ secrets.SPLINK_TOKEN }}\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9.10\n\n      #----------------------------------------------\n      #  -- save a few section by caching poetry --\n      #----------------------------------------------\n      - name: Load cached Poetry installation\n        uses: actions/cache@v2\n        with:\n          path: ~/.local  # the path depends on the OS\n          key: poetry-0  # increment to reset cache\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: '1.7.0'\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-bm-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-00\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root --with benchmarking\n      #----------------------------------------------\n      # install your root project, if required\n      #----------------------------------------------\n      - name: Install library\n        run: poetry install --no-interaction\n      #----------------------------------------------\n      #              run benchmarks and comment\n      #----------------------------------------------\n      - name: Run benchmark and comment\n        run: |\n          source .venv/bin/activate\n          pytest benchmarking/test_performance.py  --benchmark-json benchmarking/output.json -k 'test_2_rounds_1k_sqlite or test_2_rounds_1k_duckdb'\n          python benchmarking/combine_benchmarks_timeseries.py\n          git checkout master\n          git config --global user.email \"actions@users.noreply.github.com\"\n          git config --global user.name \"robin\"\n          git add -A -f benchmarking/time_series.json\n          git commit -m \"Updated benchmarks timeseries\" || exit 0\n          git push --force\n", "state": "disabled_manually", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:03:59.217068", "created_at": "2024-03-29T22:31:21+01:00", "updated_at": "2024-03-29T22:32:34+01:00", "name": "Duckdb and core tests", "path": ".github/workflows/pytest_duckdb.yml", "contents": null, "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:04:00.262262", "created_at": "2023-05-23T21:01:55+02:00", "updated_at": "2024-07-03T07:47:30+02:00", "name": "Postgres tests", "path": ".github/workflows/pytest_postgres.yml", "contents": "name: Run postgres tests with cache\non:\n  pull_request:\n    branches:\n      - master\n      - '**dev'\n    paths:\n      - splink/**\n      - tests/**\n      - pyproject.toml\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [ \"3.8.16\", \"3.9.10\" ]\n    services:\n      pg_splink_ci:\n        image: postgres\n        # use default connection options - no need to do any different\n        env:\n          POSTGRES_USER: splinkognito\n          POSTGRES_PASSWORD: splink123!\n          POSTGRES_DB: splink_db\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n            # map port so we can access\n            - 5432:5432\n    name: Run tests with python verion ${{ matrix.python-version }}\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v3\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      #----------------------------------------------\n      #  -- save a few section by caching poetry --\n      #----------------------------------------------\n      - name: Load cached Poetry installation\n        uses: actions/cache@v2\n        with:\n          path: ~/.local  # the path depends on the OS\n          key: poetry-0  # increment to reset cache\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.5.1\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-00\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root\n      #----------------------------------------------\n      # install your root project, if required\n      #----------------------------------------------\n      - name: Install library\n        run: poetry install --no-interaction\n      #----------------------------------------------\n      #              run test suite\n      #----------------------------------------------\n      - name: Run only postgres-marked tests\n        run: |\n          source .venv/bin/activate\n          pytest -v --durations=0 -m postgres_only tests/\n\n", "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:04:01.372761", "created_at": "2022-02-20T15:02:37+01:00", "updated_at": "2023-05-24T22:42:05+02:00", "name": "Run tests with cache", "path": ".github/workflows/pytest_run_tests_with_cache.yml", "contents": "name: Run tests with cache\non:\n  pull_request:\n    branches:\n      - master\n      - '**dev'\n    paths:\n      - splink/**\n      - tests/**\n      - pyproject.toml\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [ \"3.8.16\", \"3.9.10\" ]\n    name: Run tests with python verion ${{ matrix.python-version }}\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v3\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      #----------------------------------------------\n      #  -- save a few section by caching poetry --\n      #----------------------------------------------\n      - name: Load cached Poetry installation\n        uses: actions/cache@v2\n        with:\n          path: ~/.local  # the path depends on the OS\n          key: poetry-0  # increment to reset cache\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.5.1\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-00\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root\n      #----------------------------------------------\n      # install your root project, if required\n      #----------------------------------------------\n      - name: Install library\n        run: poetry install --no-interaction\n      #----------------------------------------------\n      #              run test suite\n      #----------------------------------------------\n      - name: Run tests\n        run: |\n          source .venv/bin/activate\n          pytest --durations=0 tests/\n\n", "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:04:02.375618", "created_at": "2024-03-30T21:03:54+01:00", "updated_at": "2024-03-30T21:05:18+01:00", "name": "Spark tests", "path": ".github/workflows/pytest_spark.yml", "contents": null, "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:04:03.505363", "created_at": "2024-03-29T22:31:21+01:00", "updated_at": "2024-03-29T22:32:34+01:00", "name": "Spark and sqlite tests", "path": ".github/workflows/pytest_spark_or_sqlite.yml", "contents": null, "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:04:04.551800", "created_at": "2024-03-30T21:03:54+01:00", "updated_at": "2024-03-30T21:05:17+01:00", "name": "Sqlite tests", "path": ".github/workflows/pytest_sqlite.yml", "contents": null, "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:04:05.684521", "created_at": "2022-09-20T10:09:29+02:00", "updated_at": "2023-07-28T14:42:27+02:00", "name": "Run splink example notebooks", "path": ".github/workflows/run_demos_examples.yml", "contents": "name: Run splink example notebooks\n\non:\n  pull_request:\n    branches:\n      - master\n    paths:\n      - \"splink/**\"\n      - \"docs/demos/examples/**\"\n      - “!docs/demos/examples/examples_index.md”\n      - \"pyproject.toml\"\n\n  workflow_dispatch:\n\njobs:\n  test-notebooks:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\"]\n        test-group: [\"duckdb\", \"spark\", \"sqlite\"]\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      #----------------------------------------------\n      #  -- save a few section by caching poetry --\n      #----------------------------------------------\n      - name: Load cached Poetry installation\n        uses: actions/cache@v2\n        with:\n          path: ~/.local # the path depends on the OS\n          key: poetry-0 # increment to reset cache\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: '1.7.0'\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-demos-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-00\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction\n      #----------------------------------------------\n      #       pip install additional requirements\n      #----------------------------------------------\n      - name: Install additional requirements from demos_requirements.txt\n        run: |\n          poetry run pip install -r docs/demos/data/demos_requirements.txt\n      #----------------------------------------------\n      # Modify the notebooks to reduce the amount of data processed and speed up the tests\n      #----------------------------------------------\n      - name: Modify Notebooks to reduce data size\n        run: |\n          python scripts/reduce_notebook_runtime.py\n      #----------------------------------------------\n      # Test each notebook group in parallel\n      #----------------------------------------------\n      - name: Test ${{ matrix.test-group }} example notebooks with pytest\n        run: |\n          source .venv/bin/activate\n          python -m pytest --nbmake -n=auto --nbmake-kernel=python3 --durations=0 docs/demos/examples/${{ matrix.test-group }}/*ipynb\n", "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:04:06.821285", "created_at": "2022-09-20T10:01:13+02:00", "updated_at": "2023-06-02T13:55:29+02:00", "name": "Run splink_demos tutorial notebooks", "path": ".github/workflows/run_demos_tutorials.yml", "contents": "name: Run splink_demos tutorial notebooks\n\non:\n  pull_request:\n    branches:\n      - master\n    paths:\n      - splink/**\n      - docs/demos/tutorials/**\n      - pyproject.toml\n\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\"]\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      #----------------------------------------------\n      #  -- save a few section by caching poetry --\n      #----------------------------------------------\n      - name: Load cached Poetry installation\n        uses: actions/cache@v2\n        with:\n          path: ~/.local # the path depends on the OS\n          key: poetry-0 # increment to reset cache\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: '1.7.0'\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-demos-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-00\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction\n      #----------------------------------------------\n      #       pip install additional requirements\n      #----------------------------------------------\n      - name: Install additional requirements from demos_requirements.txt\n        run: |\n          poetry run pip install -r docs/demos/data/demos_requirements.txt\n      #----------------------------------------------\n      # Modify the notebooks to reduce the amount of data processed and speed up the tests\n      #----------------------------------------------\n      - name: Modify Notebooks to reduce data size\n        run: |\n          python scripts/reduce_notebook_runtime.py\n      #----------------------------------------------\n      # Make sure that the demo notebooks run without error\n      #----------------------------------------------\n      - name: Test with pytest\n        run: |\n          source .venv/bin/activate\n          python -m pytest --nbmake -n=auto --nbmake-kernel=python3 docs/demos/tutorials/*ipynb\n", "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:04:07.908615", "created_at": "2023-05-23T20:46:55+02:00", "updated_at": "2023-05-23T20:46:55+02:00", "name": "Run postgres tests with cache", "path": ".github/workflows/tests_postgres.yml", "contents": null, "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:04:09.052383", "created_at": "2024-02-21T10:38:19+01:00", "updated_at": "2024-02-21T10:38:19+01:00", "name": "update_splink4_merge_branch", "path": ".github/workflows/update_splink4_merge_branch.yml", "contents": "name: update_splink4_merge_branch\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  update-merge-branch:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n        with:\n          ref: master\n          fetch-depth: 0\n\n      - name: Check if branch exists already and create if not\n        run: |\n            git fetch\n            if git ls-remote --exit-code --heads origin merge/splink_3_to_4; then\n              echo \"Branch merge/splink_3_to_4 exists\"\n            else\n              git switch -c merge/splink_3_to_4\n              git push -u origin merge/splink_3_to_4\n            fi\n\n      - name: Update to-merge branch\n        run: |\n            git fetch\n            git switch merge/splink_3_to_4\n            git pull --ff-only\n            git config --global user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n            git config --global user.name \"github-actions[bot]\"\n            git merge origin/master\n            git push origin merge/splink_3_to_4\n", "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:04:10.092804", "created_at": "2022-06-08T17:50:24+02:00", "updated_at": "2022-06-08T17:50:24+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "moj-analytical-services/splink"}
{"mined_at": "2024-07-15T14:04:12.241701", "created_at": "2021-03-01T09:38:08+01:00", "updated_at": "2021-03-01T09:38:08+01:00", "name": "ros_buildfarm-ci", "path": ".github/workflows/ci.yaml", "contents": "---\nname: ros_buildfarm-ci\n\non:\n  push:\n    branches: [master]\n  pull_request:\n\njobs:\n  pytest:\n    name: Pytest\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        run: |\n          python -m pip install -U -e .[test]\n      - name: Run tests\n        run: |\n          python -m pytest -s test\n\n  ros1_audit:\n    name: ROS 1 Audit\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python: ['3.6']\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{matrix.python}}\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/audit\n        with:\n          ros_distro: noetic\n          os_code_name: focal\n\n  ros1_config:\n    name: ROS 1 Config Validation\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Validate configration\n        run: validate_config_index.py https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml\n\n  ros1_doc:\n    name: ROS 1 Doc\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python: ['3.6']\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{matrix.python}}\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/doc\n        with:\n          ros_distro: noetic\n          os_code_name: focal\n          repo: roscpp_core\n\n  ros1_prerelease:\n    name: ROS 1 Prerelease\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python: ['3.6']\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{matrix.python}}\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/prerelease\n        with:\n          ros_distro: noetic\n          os_code_name: focal\n          overlay_pkg: roscpp\n          underlay_repos: roscpp_core\n\n  ros1_prerelease_external:\n    name: ROS 1 Prerelease (External)\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python: ['3.6']\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Check out dummy_package\n        uses: actions/checkout@v2\n        with:\n          repository: ros-infrastructure/ros_buildfarm\n          ref: dummy_package\n          path: dummy_package\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{matrix.python}}\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/prerelease\n        with:\n          ros_distro: noetic\n          os_code_name: focal\n          source_dir: ${{github.workspace}}/dummy_package\n\n  ros1_release:\n    name: ROS 1 Release\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python: ['3.6']\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{matrix.python}}\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/release\n        with:\n          ros_distro: noetic\n          os_code_name: focal\n          pkg_name: rostime\n\n  ros1_release_reconfigure:\n    name: ROS 1 Release Reconfigure\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python: ['3.6']\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{matrix.python}}\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/release_reconfigure\n        with:\n          ros_distro: noetic\n          pkg_names: rostime\n\n  ros1_status_pages:\n    name: ROS 1 Status Pages\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python: ['3.6']\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{matrix.python}}\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/status_pages\n        with:\n          ros_distro: noetic\n\n  ros1_sync_criteria_check:\n    name: ROS 1 Sync Criteria Check\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python: ['3.6']\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/sync_criteria_check\n        with:\n          ros_distro: noetic\n          os_code_name: focal\n\n  ros1_trigger:\n    name: ROS 1 Trigger\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python: ['3.6']\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/trigger\n        with:\n          ros_distro: noetic\n\n  ros2_audit:\n    name: ROS 2 Audit\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/audit\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          ros_distro: humble\n          os_code_name: jammy\n\n  ros2_ci:\n    name: ROS 2 CI\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job 1\n        id: underlay1\n        uses: ./.github/actions/ci\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          ros_distro: humble\n          os_code_name: jammy\n          package_selection_args: --packages-up-to ament_flake8\n      - name: Run job 2\n        id: underlay2\n        uses: ./.github/actions/ci\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          ros_distro: humble\n          os_code_name: jammy\n          underlay_dirs: ${{steps.underlay1.outputs.install_dir}}\n          package_selection_args: --packages-skip-up-to ament_flake8 --packages-up-to ament_pep257\n      - name: Run job 3\n        uses: ./.github/actions/ci\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          ros_distro: humble\n          os_code_name: jammy\n          underlay_dirs: ${{steps.underlay1.outputs.install_dir}} ${{steps.underlay2.outputs.install_dir}}\n          package_selection_args: --packages-skip-up-to ament_flake8 ament_pep257 --packages-up-to ament_cmake_ros\n\n  ros2_config:\n    name: ROS 2 Config Validation\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Validate configration\n        run: validate_config_index.py https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n\n  ros2_devel:\n    name: ROS 2 Devel\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/devel\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          ros_distro: humble\n          os_code_name: jammy\n          repo: rcutils\n\n  ros2_doc_noble:\n    name: ROS 2 Doc (Noble)\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/doc\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          ros_distro: rolling\n          os_code_name: noble\n          repo: rcl\n          output_directory: ws/docs_output\n\n  ros2_doc_jammy:\n    name: ROS 2 Doc (Jammy)\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/doc\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          ros_distro: humble\n          os_code_name: jammy\n          repo: rcl\n          output_directory: ws/docs_output\n\n  ros2_prerelease:\n    name: ROS 2 Prerelease\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/prerelease\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          ros_distro: humble\n          os_code_name: jammy\n          overlay_pkg: rcutils\n          underlay_repos: ament_cmake_ros\n\n  ros2_release:\n    name: ROS 2 Release\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/release\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          ros_distro: rolling\n          os_code_name: noble\n          pkg_name: rcutils\n\n  ros2_release_reconfigure:\n    name: ROS 2 Release Reconfigure\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/release_reconfigure\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          ros_distro: rolling\n          pkg_names: rcutils\n\n  ros2_release_rpm:\n    name: ROS 2 Release (RPM)\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/release\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          config_name: rhel\n          ros_distro: rolling\n          os_name: rhel\n          os_code_name: 9\n          arch: x86_64\n          pkg_name: rcutils\n\n  ros2_sync_criteria_check:\n    name: ROS 2 Sync Criteria Check\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/sync_criteria_check\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          ros_distro: rolling\n          os_code_name: noble\n\n  ros2_sync_criteria_check_rpm:\n    name: ROS 2 Sync Criteria Check (RPM)\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/sync_criteria_check\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          config_name: rhel\n          ros_distro: rolling\n          os_name: rhel\n          os_code_name: 9\n          arch: x86_64\n\n  ros2_trigger:\n    name: ROS 2 Trigger\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out project\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        uses: ./.github/actions/setup\n      - name: Run job\n        uses: ./.github/actions/trigger\n        with:\n          config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml\n          ros_distro: rolling\n", "state": "active", "repository": "ros-infrastructure/ros_buildfarm"}
{"mined_at": "2024-07-15T14:04:14.490678", "created_at": "2023-01-17T20:21:19+01:00", "updated_at": "2023-01-17T20:21:19+01:00", "name": "Publish to PyPI", "path": ".github/workflows/deploy-pypi.yml", "contents": "name: Publish to PyPI\n\non:\n  push:\n    tags:\n      - 'v*.*.*'\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  build-and-test-sdist-and-wheels:\n    uses: ./.github/workflows/publish-packages.yml\n    with:\n      upload_to_test: false\n    secrets:\n      PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "glotzerlab/signac-flow"}
{"mined_at": "2024-07-15T14:04:15.750750", "created_at": "2023-01-17T20:21:19+01:00", "updated_at": "2023-01-17T20:21:19+01:00", "name": "Publish to TestPyPI", "path": ".github/workflows/deploy-test-pypi.yml", "contents": "name: Publish to TestPyPI\n\non:\n  push:\n    branches:\n      - 'release/*.*.*'\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  build-and-test-sdist-and-wheels:\n    uses: ./.github/workflows/publish-packages.yml\n    with:\n      upload_to_test: true\n    secrets:\n      TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}\n", "state": "active", "repository": "glotzerlab/signac-flow"}
{"mined_at": "2024-07-15T14:04:16.755725", "created_at": "2023-01-17T20:21:19+01:00", "updated_at": "2023-01-17T20:21:19+01:00", "name": "Publish packages", "path": ".github/workflows/publish-packages.yml", "contents": "name: Publish packages\n\non:\n  workflow_call:\n    inputs:\n      upload_to_test:\n        required: true\n        type: boolean\n    secrets:\n      TEST_PYPI_API_TOKEN:\n        required: false\n      PYPI_API_TOKEN:\n        required: false\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out repo\n      uses: actions/checkout@v4\n      with:\n        submodules: \"recursive\"\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - name: Install dependencies\n      run: |\n        # We must explicitly install the requirements so that we can force\n        # installation of the local wheel below in case the version conflicts\n        # with published wheels (typically only possible during testing).\n        python -m pip install \\\n        -r requirements.txt \\\n        -r requirements/requirements-test.txt\n    - name: Install pypa/build\n      run:\n        python -m pip install build\n    - name: Build a binary wheel and a source tarball\n      run:\n        python -m build --sdist --wheel --outdir dist/ .\n    - name: Install wheel\n      run:\n        python -m pip install signac-flow --progress-bar off --no-index -f dist/\n    - name: Test with pytest\n      run:\n        python -m pytest -v tests/\n    - name: Upload artifact\n      uses: actions/upload-artifact@v4\n      with:\n          name: release\n          path: dist/\n\n  publish:\n    needs: [build]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n            name: release\n            path: dist/\n      - name: Publish package to TestPyPI\n        if: ${{ inputs.upload_to_test }}\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository_url: https://test.pypi.org/legacy/\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n      - name: Publish package to PyPI\n        if: ${{ !inputs.upload_to_test }}\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "glotzerlab/signac-flow"}
{"mined_at": "2024-07-15T14:04:17.973482", "created_at": "2022-12-04T18:42:34+01:00", "updated_at": "2023-01-17T20:21:19+01:00", "name": "Run Unit Tests", "path": ".github/workflows/run-pytest.yml", "contents": "name: Run Unit Tests\n\non:\n  # trigger on pull requests\n  pull_request:\n\n  # trigger on all commits to main\n  push:\n    branches:\n      - 'main'\n\n  # trigger on request\n  workflow_dispatch:\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\njobs:\n  test:\n    name: test (${{ matrix.os }}, ${{ matrix.python }}, ${{ matrix.dependencies }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        include:\n          # Defaults to newest dependencies\n          - dependencies: 'newest'\n          # Other tests\n          - python: '3.8'\n            dependencies: 'oldest'\n          - os: 'macos-14'\n            python: '3.10'\n            dependencies: 'oldest'\n          - os: 'macos-14'\n            python: '3.12'\n            dependencies: 'newest'\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: \"recursive\"\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install newest dependencies\n      run: |\n        pip install -r requirements/requirements-test.txt\n      if: ${{ matrix.dependencies == 'newest' }}\n    - name: Install oldest supported dependencies\n      # To prevent Dependabot from updating the pinnings in this \"oldest\"\n      # dependency list, we have to avoid the word \"requirements\" in the\n      # filename. That's why it is in the .github/ directory and named \"reqs\"\n      # instead of \"requirements.\"\n      run: |\n        pip install -r .github/workflows/ci-oldest-reqs.txt\n      if: ${{ matrix.dependencies == 'oldest' }}\n    - name: Install the package\n      run: |\n        pip install -e .\n    - name: Test with pytest\n      run: |\n        pytest --cov=flow --cov-config=pyproject.toml --cov-report=xml tests/ -v\n    - uses: codecov/codecov-action@v4\n", "state": "active", "repository": "glotzerlab/signac-flow"}
{"mined_at": "2024-07-15T14:04:18.990466", "created_at": "2024-06-01T13:49:22+02:00", "updated_at": "2024-06-01T13:49:22+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "glotzerlab/signac-flow"}
{"mined_at": "2024-07-15T14:04:21.146821", "created_at": "2021-05-17T23:42:47+02:00", "updated_at": "2021-05-17T23:42:47+02:00", "name": "Build Python package and docs", "path": ".github/workflows/build.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Build Python package and docs\n\non: \n  push:\n    tags-ignore:\n      - '**'\n  pull_request:\n    paths:\n      - doc/**\n      - src/**\n      - poetry.lock\n      - poetry.toml\n      - pyproject.toml\n      - setup.cfg\n\n\njobs:\n  build:\n\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: recursive\n    - name: Install dependencies\n      run: |\n        pip install poetry\n        poetry run python -m pip install --upgrade pip\n        poetry run python -m pip install --upgrade setuptools\n        poetry install\n    - name: Lint Python code\n      run: poetry run flake8\n    - name: Build package\n      run: poetry build\n    - name: Lint docs\n      run: poetry run doc8\n    - name: Build html docs for Read the Docs\n      run: poetry run make -C doc html\n    - name: Install IDE docs dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install dvisvgm preview-latex-style texlive texlive-fonts-extra texlive-latex-extra\n    - name: Build html docs for Pybricks Code IDE\n      run: poetry run make -C doc html TAG=ide\n", "state": "active", "repository": "pybricks/pybricks-api"}
{"mined_at": "2024-07-15T14:04:22.181166", "created_at": "2022-06-24T21:49:36+02:00", "updated_at": "2022-06-24T22:21:15+02:00", "name": "pybricks_jedi", "path": ".github/workflows/jedi.yml", "contents": "name: pybricks_jedi\n\non: [push, pull_request]\n\njobs:\n  test:\n    if: github.ref_type != 'tag'\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n    - run: pipx install poetry\n    - run: poetry install\n      working-directory: ./jedi\n    - run: poetry run pytest -vv\n      working-directory: ./jedi\n\n  publish:\n    if: github.ref_type == 'tag' && startsWith(github.ref_name, 'pybricks_jedi/')\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n    - run: pipx install poetry\n    - run: poetry install\n      working-directory: ./jedi\n    - run: poetry build\n      working-directory: ./jedi\n    - run: poetry publish\n      working-directory: ./jedi\n      env:\n        POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_PYBRICKS_JEDI_TOKEN }}\n", "state": "active", "repository": "pybricks/pybricks-api"}
{"mined_at": "2024-07-15T14:04:23.180102", "created_at": "2021-01-26T03:16:17+01:00", "updated_at": "2021-01-26T03:16:17+01:00", "name": "Release @pybricks/ide-docs", "path": ".github/workflows/publish-ide-docs.yml", "contents": "name: Release @pybricks/ide-docs\n\non:\n  push:\n    tags: \n    - '@pybricks/ide-docs/**'\n\njobs:\n  publish_ide_docs:\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Ubuntu packages\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y dvisvgm preview-latex-style texlive texlive-fonts-extra texlive-latex-extra\n    - uses: actions/checkout@v3\n      with:\n        submodules: recursive\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        pip install poetry\n        poetry run python -m pip install --upgrade pip\n        poetry run python -m pip install --upgrade setuptools\n        poetry install --only=doc\n    - uses: actions/setup-node@v3\n      with:\n        node-version: '14.x'\n        registry-url: 'https://registry.npmjs.org'\n    - run: yarn build\n      working-directory: npm/ide-docs\n    - run: yarn publish\n      working-directory: npm/ide-docs\n      env:\n        NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}\n", "state": "active", "repository": "pybricks/pybricks-api"}
{"mined_at": "2024-07-15T14:04:24.259999", "created_at": "2022-10-28T19:22:22+02:00", "updated_at": "2022-11-03T14:05:30+01:00", "name": "Release @pybricks/images", "path": ".github/workflows/publish-images.yml", "contents": "name: Release @pybricks/images\n\non:\n  push:\n    tags: \n    - '@pybricks/images/**'\n\njobs:\n  publish_ide_docs:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n    # Setup .npmrc file to publish to npm\n    - uses: actions/setup-node@v3\n      with:\n        node-version: '16.x'\n        registry-url: 'https://registry.npmjs.org'\n    - run: ./build.py\n      working-directory: npm/images\n    - run: yarn publish\n      working-directory: npm/images/build\n      env:\n        NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}\n", "state": "active", "repository": "pybricks/pybricks-api"}
{"mined_at": "2024-07-15T14:04:25.344431", "created_at": "2022-09-08T03:03:47+02:00", "updated_at": "2022-09-08T03:12:49+02:00", "name": "Release @pybricks/jedi", "path": ".github/workflows/publish-jedi.yml", "contents": "name: Release @pybricks/jedi\n\non:\n  push:\n    tags: \n    - '@pybricks/jedi/**'\n\njobs:\n  publish_jedi:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n    # Setup .npmrc file to publish to npm\n    - uses: actions/setup-node@v3\n      with:\n        node-version: '16.x'\n        registry-url: 'https://registry.npmjs.org'\n    - run: ./build.py\n      working-directory: npm/jedi\n    - run: yarn publish\n      working-directory: npm/jedi/build\n      env:\n        NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}\n", "state": "active", "repository": "pybricks/pybricks-api"}
{"mined_at": "2024-07-15T14:04:26.375174", "created_at": "2024-04-05T11:00:14+02:00", "updated_at": "2024-04-05T11:13:23+02:00", "name": "Create release on GitHub and PyPI", "path": ".github/workflows/release.yml", "contents": "on:\n  push:\n    tags:\n    - 'v3.*'\n\nname: Create release on GitHub and PyPI\n\npermissions:\n  contents: write\n\njobs:\n  create_release:\n    name: Create release on GitHub\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          submodules: true\n          fetch-depth: 0\n      - name: Get tag\n        run: echo \"GITHUB_TAG=${GITHUB_REF#*refs/tags/}\" >> $GITHUB_ENV\n      - name: Create release\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          tag: ${{ github.ref_name }}\n        run: |\n          if [[ \"${{ contains(env.GITHUB_TAG, 'a') || contains(env.GITHUB_TAG, 'b') || contains(env.GITHUB_TAG, 'c') }}\" == \"true\" ]]; then\n            PRERELEASE_FLAG=\"--prerelease\"\n          else\n            PRERELEASE_FLAG=\"\"\n          fi\n          gh release create \"$tag\" \\\n              --repo=\"$GITHUB_REPOSITORY\" \\\n              --title=\"${tag#v}\" \\\n              -F CHANGELOG.md \\\n              $PRERELEASE_FLAG\n  build_and_publish:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n    - run: pipx run poetry build\n    - run: pipx run poetry publish\n      env:\n        POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "pybricks/pybricks-api"}
{"mined_at": "2024-07-15T14:04:30.569098", "created_at": "2022-05-19T08:41:37+02:00", "updated_at": "2022-05-19T08:41:37+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  workflow_call:\n    inputs:\n      skip_tests:\n        type: boolean\n        required: false\n        default: false\n    outputs:\n      version_tag:\n        description: \"Auto-generated semantic version tag\"\n        value: ${{ jobs.get-version.outputs.version_tag }}\n      current_version_tag:\n        description: \"Current semantic version tag\"\n        value: ${{ jobs.get-version.outputs.current_version_tag }}\n\njobs:\n  get-version:\n    name: Get semantic versions\n    runs-on: ubuntu-latest\n    outputs:\n      version_tag: ${{ steps.autogenerate-version.outputs.version_tag }}\n      current_version_tag: ${{ steps.get-current-version.outputs.current_version_tag}}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Get current version\n        id: get-current-version\n        run: |\n          CURRENT_VERSION_TAG=$(git tag --list --merged HEAD --sort=-version:refname \"v*\" | head -n 1)\n          echo \"::set-output name=current_version_tag::${CURRENT_VERSION_TAG}\"\n      - name: Auto-generate future version\n        id: autogenerate-version\n        uses: paulhatch/semantic-version@v5.4.0\n        with:\n          tag_prefix: \"v\"\n          major_pattern: \"(major)\"\n          minor_pattern: \"(minor)\"\n          version_format: \"${major}.${minor}.${patch}-pre${increment}\"\n  build:\n    name: Build\n    needs: get-version\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.10.13\n          cache: pip\n      - name: Install Python requirements\n        run: make install_requirements\n      - name: Lint\n        if: ${{ inputs.skip_tests == false }}\n        run: make lint\n      - name: Run unit tests\n        if: ${{ inputs.skip_tests == false }}\n        run: make test_unit\n      - name: Build\n        run: VERSION=${{ needs.get-version.outputs.version_tag }} make build\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist\n          overwrite: true\n", "state": "active", "repository": "mendix/cf-mendix-buildpack"}
{"mined_at": "2024-07-15T14:04:31.615262", "created_at": "2020-10-29T11:40:12+01:00", "updated_at": "2020-10-29T11:42:03+01:00", "name": "Deploy to Github Releases", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy to Github Releases\n\non:\n  pull_request:\n    types: [closed]\n    branches:\n      - master\n      - 'releases/**'\n\njobs:\n  pre:\n    name: Prepare workflow run\n    runs-on: ubuntu-latest\n    outputs:\n      skip: ${{ steps.skip-check.outputs.should_skip }}\n    steps:\n      - name: Check if workflow should be skipped\n        id: skip-check\n        uses: fkirc/skip-duplicate-actions@v5\n        with:\n          github_token: ${{ github.token }}\n          paths_ignore: '[\"**.md\", \"dev/**\"]'\n  build:\n    name: Build\n    needs: pre\n    if: ${{ needs.pre.outputs.skip != 'true' && github.event.pull_request.merged }}\n    uses: ./.github/workflows/build.yml\n    with:\n      skip_tests: true\n  deploy:\n    name: Deploy\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist\n      - name: Create Github release\n        id: create-release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ needs.build.outputs.version_tag }}\n          release_name: \"${{ needs.build.outputs.version_tag }}: ${{ github.event.pull_request.title }}\"\n          body: ${{ github.event.pull_request.body }}\n          draft: true\n          prerelease: false\n      - name: Upload release asset\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create-release.outputs.upload_url }}\n          asset_path: dist/cf-mendix-buildpack.zip\n          asset_name: cf-mendix-buildpack.zip\n          asset_content_type: application/zip\n", "state": "active", "repository": "mendix/cf-mendix-buildpack"}
{"mined_at": "2024-07-15T14:04:32.644090", "created_at": "2020-10-27T15:05:37+01:00", "updated_at": "2022-05-17T12:08:35+02:00", "name": "Run Integration Tests", "path": ".github/workflows/test.yml", "contents": "name: Run Integration Tests\n\non:\n  push:\n    branches:\n      - develop\n  pull_request:\n    branches:\n      - develop\n      - master\n      - 'releases/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: false\n\njobs:\n  pre:\n    name: Prepare workflow run\n    runs-on: ubuntu-latest\n    outputs:\n      skip: ${{ steps.skip-check.outputs.should_skip }}\n    steps:\n    - name: Check if workflow should be skipped\n      id: skip-check\n      uses: fkirc/skip-duplicate-actions@v5\n      with:\n        github_token: ${{ github.token }}\n        paths_ignore: '[\"**.md\", \"dev/**\", \"LICENSE\"]'\n  build:\n    name: Build\n    needs: pre\n    uses: ./.github/workflows/build.yml\n    if: ${{ needs.pre.outputs.skip != 'true' }}\n  setup-integration-tests:\n    name: Set up integration tests\n    runs-on: ubuntu-latest\n    needs: pre\n    if: ${{ needs.pre.outputs.skip != 'true' }}\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n    - uses: actions/checkout@v4\n    - id: set-matrix\n      name: Set up test matrix\n      run: |\n        FILES=$(cd tests/integration && ls -m test*.py | tr -d \\ \\\\n)\n        TEST=$(jq -n -c --arg inarr \"$FILES\" '{ test: $inarr | split(\",\") }')\n        echo \"::set-output name=matrix::${TEST}\"\n  integration-test:\n    needs: [build, setup-integration-tests]\n    name: Run integration tests\n    runs-on: ubuntu-22.04\n    timeout-minutes: 30\n    strategy:\n      matrix: ${{fromJson(needs.setup-integration-tests.outputs.matrix)}}\n    env:\n      TEST_DISK: 1G\n      TEST_MEMORY: 1G\n      TEST_PROCESSES: 1\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/download-artifact@v4\n      with:\n        name: dist\n        path: dist\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.10.13\n        cache: pip\n    - name: Install Python requirements\n      run: make install_requirements\n    - name: Install Cloud Foundry development tools\n      run: |\n        wget --no-check-certificate -v -O gpg.key https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key\n        sudo apt-key add gpg.key\n        echo \"deb https://packages.cloudfoundry.org/debian stable main\" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list\n        sudo apt-get update && sudo apt-get install -y cf-cli\n        sudo curl -s https://download.mendix.com/Mendix-CA-G2.crt -o /usr/local/share/ca-certificates/ca.crt && sudo update-ca-certificates\n        cf install-plugin https://cdn.mendix.com/mx-buildpack/cflocal/cflocal-0.20.0-rc1-linux -f\n    - name: Export hostname for use in tests\n      run: |\n        TEST_HOST=$(ip -4 addr show docker0 | grep -Po 'inet \\K[\\d.]+')\n        echo \"TEST_HOST=${TEST_HOST}\" >> $GITHUB_ENV\n    - name: Run test (${{ matrix.test }})\n      run: make test_integration TEST_FILES=tests/integration/${{ matrix.test }}\n  integration-test-result:\n    if: ${{ needs.pre.outputs.skip != 'true' }}\n    runs-on: ubuntu-latest\n    name: Get integration test results\n    needs: [pre, integration-test]\n    steps:\n      - name: Get integration test results\n        if: ${{ needs.integration-test.result != 'success' }}\n        run: exit 1\n", "state": "active", "repository": "mendix/cf-mendix-buildpack"}
{"mined_at": "2024-07-15T14:04:33.735123", "created_at": "2020-11-10T13:18:04+01:00", "updated_at": "2021-05-19T14:06:33+02:00", "name": "Scan with Veracode", "path": ".github/workflows/veracodescan.yml", "contents": "name: Scan with Veracode\n\non:\n  pull_request:\n    types: [closed]\n    branches:\n      - master\n\njobs:\n  build:\n    name: Build\n    uses: ./.github/workflows/build.yml\n    with:\n      skip_tests: true\n  veracode-scan:\n    name: Perform scan\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist\n      - name: Upload and scan\n        uses: veracode/veracode-uploadandscan-action@master\n        continue-on-error: true\n        with:\n          filepath: dist/cf-mendix-buildpack.zip\n          vid: ${{ secrets.VERACODE_API_ID }}\n          vkey: ${{ secrets.VERACODE_API_KEY }}\n          appname: ${{ secrets.VERACODE_APP_NAME }}\n          sandboxid: ${{ secrets.VERACODE_SANDBOX_ID }}\n          scantimeout: 15\n          criticality: VeryLow\n", "state": "active", "repository": "mendix/cf-mendix-buildpack"}
{"mined_at": "2024-07-15T14:04:35.995077", "created_at": "2020-01-08T18:43:21+01:00", "updated_at": "2020-01-10T15:49:57+01:00", "name": "Wool", "path": "", "contents": null, "state": "active", "repository": "uc-cdis/fence"}
{"mined_at": "2024-07-15T14:04:37.225508", "created_at": "2022-09-08T19:56:03+02:00", "updated_at": "2024-06-17T21:55:45+02:00", "name": "CI", "path": ".github/workflows/buildpipeline.yaml", "contents": null, "state": "active", "repository": "uc-cdis/fence"}
{"mined_at": "2024-07-15T14:04:38.350323", "created_at": "2022-07-13T22:52:43+02:00", "updated_at": "2024-06-17T17:21:11+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\non:\n  push:\n  pull_request:\n    types: [opened, reopened]\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\njobs:\n  Security:\n    name: Security Pipeline\n    uses: uc-cdis/.github/.github/workflows/securitypipeline.yaml@master\n    secrets: inherit\n\n  UnitTest:\n    name: Python Unit Test with Postgres\n    uses: uc-cdis/.github/.github/workflows/python_unit_test.yaml@master\n    with:\n       python-version: '3.9'\n       test-script: 'tests/ci_commands_script.sh'\n       run-coveralls: true\n  ci:\n    name: Build Image and Push\n    # TODO Uncomment after PXP-9212\n    # needs: Security\n    uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master\n    secrets:\n      ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}\n      ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}\n      QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}\n      QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}\n", "state": "active", "repository": "uc-cdis/fence"}
{"mined_at": "2024-07-15T14:04:39.462017", "created_at": "2023-04-24T18:20:02+02:00", "updated_at": "2023-04-24T18:20:02+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n  pull_request_target:\n    types: [opened]\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v3\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "uc-cdis/fence"}
{"mined_at": "2024-07-15T14:04:40.581113", "created_at": "2023-10-20T20:33:58+02:00", "updated_at": "2023-10-20T21:21:28+02:00", "name": "Markdown validation", "path": ".github/workflows/markdown-lint.yaml", "contents": null, "state": "active", "repository": "uc-cdis/fence"}
{"mined_at": "2024-07-15T14:04:41.831504", "created_at": "2022-09-13T19:08:12+02:00", "updated_at": "2022-10-07T23:19:41+02:00", "name": "Run Fence unit tests", "path": ".github/workflows/unitTests.yaml", "contents": null, "state": "active", "repository": "uc-cdis/fence"}
{"mined_at": "2024-07-15T14:04:42.877109", "created_at": "2023-05-23T23:15:14+02:00", "updated_at": "2023-05-23T23:15:14+02:00", "name": "Run Fence unit tests", "path": ".github/workflows/unittests.yaml", "contents": null, "state": "active", "repository": "uc-cdis/fence"}
{"mined_at": "2024-07-15T14:04:44.005646", "created_at": "2023-10-20T22:13:40+02:00", "updated_at": "2023-10-25T16:37:10+02:00", "name": "Markdown validation", "path": ".github/workflows/validate_markdown.yaml", "contents": "name: Markdown validation\n\non:\n  pull_request:\n    types:\n    - opened\n    - reopened\n    - synchronize\n    paths:\n    - .github/workflows/validate_markdown.yaml\n    - \"**.md\"\n\njobs:\n  markdown_validation:\n    name: Markdown validation\n    uses: uc-cdis/.github/.github/workflows/validate_markdown.yaml@master\n", "state": "active", "repository": "uc-cdis/fence"}
{"mined_at": "2024-07-15T14:04:46.234775", "created_at": "2021-03-27T17:12:20+01:00", "updated_at": "2021-03-27T17:12:20+01:00", "name": "Auto approve", "path": ".github/workflows/auto-approve.yml", "contents": "name: Auto approve\n\non:\n  pull_request_target\n\njobs:\n  auto-approve:\n    runs-on: ubuntu-latest\n    if: |\n      (\n        github.event.pull_request.user.login == 'dependabot[bot]' ||\n        github.event.pull_request.user.login == 'dependabot' ||\n        github.event.pull_request.user.login == 'dependabot-preview[bot]' ||\n        github.event.pull_request.user.login == 'dependabot-preview' ||\n        github.event.pull_request.user.login == 'renovate[bot]' ||\n        github.event.pull_request.user.login == 'renovate' ||\n        github.event.pull_request.user.login == 'github-actions[bot]' ||\n        github.event.pull_request.user.login == 'pre-commit-ci' ||\n        github.event.pull_request.user.login == 'pre-commit-ci[bot]'\n      )\n        &&\n      (\n        github.actor == 'dependabot[bot]' ||\n        github.actor == 'dependabot' ||\n        github.actor == 'dependabot-preview[bot]' ||\n        github.actor == 'dependabot-preview' ||\n        github.actor == 'renovate[bot]' ||\n        github.actor == 'renovate' ||\n        github.actor == 'github-actions[bot]' ||\n        github.actor == 'pre-commit-ci' ||\n        github.actor == 'pre-commit-ci[bot]'\n      )\n    steps:\n      - uses: hmarr/auto-approve-action@v3\n        with:\n          github-token: ${{ secrets.PAT_TOKEN }}\n", "state": "active", "repository": "tj-django/django-view-breadcrumbs"}
{"mined_at": "2024-07-15T14:04:47.335846", "created_at": "2021-05-11T17:08:46+02:00", "updated_at": "2021-05-11T17:08:46+02:00", "name": "automerge", "path": ".github/workflows/auto-merge.yml", "contents": "name: automerge\non:\n  check_suite:\n    types:\n      - completed\n\njobs:\n  automerge:\n    runs-on: ubuntu-latest\n    if: |\n      github.actor == 'dependabot[bot]' ||\n      github.actor == 'dependabot' ||\n      github.actor == 'dependabot-preview[bot]' ||\n      github.actor == 'dependabot-preview' ||\n      github.actor == 'renovate[bot]' ||\n      github.actor == 'renovate'\n    steps:\n      - name: automerge\n        uses: pascalgn/automerge-action@v0.16.3\n        env:\n          GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}\n          MERGE_METHOD: \"rebase\"\n          UPDATE_METHOD: \"rebase\"\n          MERGE_RETRIES: \"6\"\n          MERGE_RETRY_SLEEP: \"100000\"\n          MERGE_LABELS: \"\"\n", "state": "active", "repository": "tj-django/django-view-breadcrumbs"}
{"mined_at": "2024-07-15T14:04:48.490691", "created_at": "2021-07-19T21:19:42+02:00", "updated_at": "2021-07-30T19:33:47+02:00", "name": "Codacy Security Scan", "path": ".github/workflows/codacy-analysis.yml", "contents": "# This workflow checks out code, performs a Codacy security scan\n# and integrates the results with the\n# GitHub Advanced Security code scanning feature.  For more information on\n# the Codacy security scan action usage and parameters, see\n# https://github.com/codacy/codacy-analysis-cli-action.\n# For more information on Codacy Analysis CLI in general, see\n# https://github.com/codacy/codacy-analysis-cli.\n\nname: Codacy Security Scan\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '15 16 * * 2'\n\njobs:\n  codacy-security-scan:\n    name: Codacy Security Scan\n    runs-on: ubuntu-latest\n    steps:\n      # Checkout the repository to the GitHub Actions runner\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis\n      - name: Run Codacy Analysis CLI\n        uses: codacy/codacy-analysis-cli-action@v4.4.0\n        with:\n          # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository\n          # You can also omit the token and run the tools that support default configurations\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          verbose: true\n          output: results.sarif\n          format: sarif\n          # Adjust severity of non-security issues\n          gh-code-scanning-compat: true\n          # Force 0 exit code to allow SARIF file generation\n          # This will handover control about PR rejection to the GitHub side\n          max-allowed-issues: 2147483647\n\n      # Upload the SARIF file generated in the previous step\n      - name: Upload SARIF results file\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "tj-django/django-view-breadcrumbs"}
{"mined_at": "2024-07-15T14:04:49.523464", "created_at": "2022-12-07T12:24:03+01:00", "updated_at": "2022-12-20T18:34:34+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: \"22 12 * * 1\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "tj-django/django-view-breadcrumbs"}
{"mined_at": "2024-07-15T14:04:50.522470", "created_at": "2022-01-17T15:10:10+01:00", "updated_at": "2022-01-17T15:10:10+01:00", "name": "Upload Python Package", "path": ".github/workflows/deploy.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Run semver-diff\n        id: semver-diff\n        uses: tj-actions/semver-diff@v3.0.1\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11.x'\n\n      - name: Upgrade pip\n        run: |\n          pip install -U pip\n\n      - name: Install dependencies\n        run: make install-deploy\n\n      - name: Setup git\n        run: |\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n\n      - name: bumpversion\n        run: |\n          make increase-version PART=\"${{ steps.semver-diff.outputs.release_type }}\"\n\n      - name: Build and publish\n        run: make release\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n\n      - name: Run git-cliff\n        uses: tj-actions/git-cliff@v1\n        with:\n          output: CHANGELOG.md\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          base: \"main\"\n          title: \"Upgraded ${{ steps.semver-diff.outputs.old_version }} → ${{ steps.semver-diff.outputs.new_version }}\"\n          branch: \"chore/upgrade-${{ steps.semver-diff.outputs.old_version }}-to-${{ steps.semver-diff.outputs.new_version }}\"\n          commit-message: \"Upgraded from ${{ steps.semver-diff.outputs.old_version }} → ${{ steps.semver-diff.outputs.new_version }}\"\n          body: \"View [CHANGES](https://github.com/${{ github.repository }}/compare/${{ steps.semver-diff.outputs.old_version }}...${{ steps.semver-diff.outputs.new_version }})\"\n          token: ${{ secrets.PAT_TOKEN }}\n", "state": "active", "repository": "tj-django/django-view-breadcrumbs"}
{"mined_at": "2024-07-15T14:04:51.531584", "created_at": "2021-02-22T05:56:09+01:00", "updated_at": "2021-04-30T14:02:48+02:00", "name": "Github pages", "path": ".github/workflows/gh-pages.yml", "contents": "name: Github pages\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v4.0.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs\n", "state": "active", "repository": "tj-django/django-view-breadcrumbs"}
{"mined_at": "2024-07-15T14:04:52.512524", "created_at": "2021-04-22T17:32:09+02:00", "updated_at": "2021-04-22T17:32:09+02:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request_target, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/first-interaction@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          issue-message: \"Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience.\"\n          pr-message: \"Thanks for implementing a fix, could you ensure that the test covers your changes if applicable.\"\n", "state": "active", "repository": "tj-django/django-view-breadcrumbs"}
{"mined_at": "2024-07-15T14:04:53.710261", "created_at": "2023-11-03T05:26:26+01:00", "updated_at": "2023-11-03T05:26:26+01:00", "name": "Pre-commit auto-merge", "path": ".github/workflows/pre-commit-auto-merge.yml", "contents": "name: Pre-commit auto-merge\non:\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: ${{ github.head_ref == 'pre-commit-ci-update-config' }}\n    steps:\n      - name: Enable auto-merge for Pre-commit PRs\n        run: gh pr merge --auto --squash \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.PAT_TOKEN}}\n", "state": "active", "repository": "tj-django/django-view-breadcrumbs"}
{"mined_at": "2024-07-15T14:04:54.807330", "created_at": "2021-05-16T01:20:58+02:00", "updated_at": "2021-05-16T02:56:27+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n      - '**'\n\njobs:\n  build:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: true\n      matrix:\n        platform: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [3.6, 3.7, 3.8, 3.9, '3.10', 3.11]\n        exclude:\n          - platform: ubuntu-latest\n            python-version: 3.6\n          - platform: macos-latest\n            python-version: 3.11\n          - platform: windows-latest\n            python-version: 3.6\n          - platform: windows-latest\n            python-version: 3.11\n\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: actions/cache@v4.0.2\n        id: pip-cache\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.platform }}-pip-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.platform }}-pip-${{ matrix.python-version }}-\n\n      - uses: actions/cache@v4.0.2\n        id: pytest-cache\n        with:\n          path: |\n            .pytest_cache\n          key: ${{ runner.os }}-pytest-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}-{{ hashFiles('pytest.ini') }}\n          restore-keys: |\n            ${{ runner.os }}-pytest-${{ matrix.python-version }}-\n\n      - name: Install dependencies\n        run: |\n          make install-test\n\n      - name: Run test\n        run: make tox\n        env:\n          CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          PLATFORM: ${{ matrix.platform }}\n\n      - name: \"Upload coverage to Codecov\"\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n", "state": "active", "repository": "tj-django/django-view-breadcrumbs"}
{"mined_at": "2024-07-15T14:04:55.851512", "created_at": "2021-03-29T14:52:54+02:00", "updated_at": "2021-04-30T14:02:48+02:00", "name": "Sync doc assets.", "path": ".github/workflows/update-doc-assets.yml", "contents": "name: Sync doc assets.\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  sync-assets:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.3\n        with:\n          fetch-depth: 0\n\n      - name: Run test\n        uses: tj-actions/remark@v3\n\n      - name: Verify Changed files\n        uses: tj-actions/verify-changed-files@v19\n        id: verify_changed_files\n        with:\n          files: |\n            README.md\n\n      - name: README.md changed\n        if: steps.verify_changed_files.outputs.files_changed == 'true'\n        run: |\n          echo \"README.md has uncommited changes\"\n          exit 1\n\n      - name: Create Pull Request\n        if: failure()\n        uses: peter-evans/create-pull-request@v6\n        with:\n          base: \"main\"\n          title: \"Updated README.md\"\n          branch: \"chore/update-readme\"\n          commit-message: \"Updated README.md\"\n          body: \"Updated README.md\"\n          token: ${{ secrets.PAT_TOKEN }}\n\n      - name: Copy doc assets\n        run: |\n          cp -f README.md docs/README.md\n          cp -f CHANGELOG.md docs/CHANGELOG.md\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6.0.4\n        with:\n          commit-message: Synced README changes to docs\n          committer: github-actions[bot] <github-actions[bot]@users.noreply@github.com>\n          author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>\n          branch: chore/update-docs\n          base: main\n          delete-branch: true\n          title: Updated docs\n          body: |\n            Updated docs\n            - Auto-generated by github-actions[bot]\n          assignees: jackton1\n          reviewers: jackton1\n", "state": "active", "repository": "tj-django/django-view-breadcrumbs"}
{"mined_at": "2024-07-15T14:04:56.954121", "created_at": "2022-01-03T00:29:18+01:00", "updated_at": "2022-01-03T00:29:18+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tj-django/django-view-breadcrumbs"}
{"mined_at": "2024-07-15T14:04:59.037244", "created_at": "2020-04-03T02:04:44+02:00", "updated_at": "2020-04-03T02:04:44+02:00", "name": "awseks", "path": ".github/workflows/awseks.yml", "contents": "name: awseks\n# This builds, packages and tests pygluu-kubernetes\non: [workflow_dispatch]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install unzip -y\n        sudo python3 -m pip install --upgrade pip\n        sudo pip3 install setuptools --upgrade\n        sudo pip3 install pyOpenSSL --upgrade\n        sudo pip3 install requests --upgrade\n\n    - name: Lint with flake8\n      run: |\n        sudo pip3 install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        sudo flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        sudo flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Install pygluu\n      run: |\n        sudo apt-get update\n        sudo apt-get install build-essential\n        sudo pip3 install -U shiv wheel setuptools\n        mkdir /home/runner/work/test/\n        cp -r ./* /home/runner/work/test/\n        cd /home/runner/work/test/\n        sudo make zipapp\n\n    - name: Install AWS dependencies\n      run: |\n          cd /home/runner/work/test/\n          curl \"https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip\" -o \"awscliv2.zip\"\n          unzip awscliv2.zip\n          sudo ./aws/install\n          curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.15.10/2020-02-22/bin/linux/amd64/aws-iam-authenticator\n          chmod +x ./aws-iam-authenticator\n          mkdir -p $HOME/bin && cp ./aws-iam-authenticator $HOME/bin/aws-iam-authenticator && export PATH=$PATH:$HOME/bin\n          echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc\n          curl --silent --location \"https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz\" | tar xz -C /tmp\n          sudo mv /tmp/eksctl /usr/local/bin\n          curl -o kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.15.10/2020-02-22/bin/linux/amd64/kubectl\n          chmod +x ./kubectl\n          mkdir -p $HOME/bin && cp ./kubectl $HOME/bin/kubectl && export PATH=$PATH:$HOME/bin\n          echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc\n          aws configure set region ${{ secrets.aws_region }} --profile default\n          aws configure set aws_access_key_id ${{ secrets.aws_access_key_id }} --profile default\n          aws configure set aws_secret_access_key ${{ secrets.aws_secret_access_key }} --profile default\n          aws configure set output json --profile default\n          export PATH=~/.local/bin:$PATH\n          export PATH=$HOME/.local/lib:$PATH\n          export PATH=$HOME/bin:$PATH\n          echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.profile\n          echo 'export PATH=$HOME/bin:$PATH' >> ~/.profile\n          echo 'export PATH=$HOME/.local/lib:$PATH' >> ~/.profile\n          ssh-keygen -q -t rsa -N '' -f ~/.ssh/id_rsa 2>/dev/null <<< y >/dev/null\n          curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3\n          chmod 700 get_helm.sh\n          ./get_helm.sh\n          sudo helm version\n\n    - name: Create EKS cluster\n      run: |\n        cd /home/runner/work/test/\n        RAND_STR=$(openssl rand -hex 4)\n        EKS_NAME=automation-test-\"$RAND_STR\"\n        echo \"$EKS_NAME\" > eks_cluster_name\n        cat eks_cluster_name\n        eksctl create cluster $EKS_NAME --version 1.17 --nodegroup-name standard-workers --node-type t2.xlarge --zones ${{ secrets.aws_region }}a,${{ secrets.aws_region }}b,${{ secrets.aws_region }}c --nodes 2 --region ${{ secrets.aws_region }} --node-ami auto --ssh-public-key \"~/.ssh/id_rsa.pub\"\n\n    #- name: Install Istio\n    #  run: |\n    #      sudo curl -sL https://istio.io/downloadIstioctl | sh -\n    #      export PATH=$PATH:$HOME/.istioctl/bin\n    #      $HOME/.istioctl/bin/istioctl install --set profile=default\n\n    - name: Create settings.json\n      id: settings\n      run: |\n        cat <<EOF > /home/runner/work/test/settings.json\n        {\n          \"ACCEPT_GLUU_LICENSE\": \"Y\",\n          \"TEST_ENVIRONMENT\": \"Y\",\n          \"GLUU_VERSION\": \"4.5\",\n          \"GLUU_UPGRADE_TARGET_VERSION\": \"\",\n          \"NGINX_INGRESS_NAMESPACE\": \"ingress-nginx\",\n          \"GLUU_HELM_RELEASE_NAME\": \"helm\",\n          \"NGINX_INGRESS_RELEASE_NAME\": \"ningress\",\n          \"INSTALL_POSTGRES\": \"N\",\n          \"POSTGRES_NAMESPACE\": \"postgres\",\n          \"POSTGRES_URL\": \"postgres.postgres.svc.cluster.local\",\n          \"USE_ISTIO\": \"N\",\n          \"USE_ISTIO_INGRESS\": \"N\",\n          \"ISTIO_SYSTEM_NAMESPACE\": \"istio-system\",\n          \"NODES_IPS\": [],\n          \"NODES_ZONES\": [],\n          \"NODES_NAMES\": [],\n          \"NODE_SSH_KEY\": \"~/.ssh/id_rsa\",\n          \"HOST_EXT_IP\": \"\",\n          \"VERIFY_EXT_IP\": \"\",\n          \"AWS_LB_TYPE\": \"clb\",\n          \"USE_ARN\": \"N\",\n          \"ARN_AWS_IAM\": \"\",\n          \"LB_ADD\": \"\",\n          \"REDIS_URL\": \"\",\n          \"REDIS_TYPE\": \"\",\n          \"REDIS_PW\": \"\",\n          \"REDIS_USE_SSL\": \"false\",\n          \"DEPLOYMENT_ARCH\": \"eks\",\n          \"PERSISTENCE_BACKEND\": \"ldap\",\n          \"INSTALL_JACKRABBIT\": \"Y\",\n          \"MIGRATION_ENABLED\": \"N\",\n          \"JACKRABBIT_STORAGE_SIZE\": \"4Gi\",\n          \"JACKRABBIT_URL\": \"http://jackrabbit:8080\",\n          \"JACKRABBIT_ADMIN_ID\": \"admin\",\n          \"JACKRABBIT_ADMIN_PASSWORD\": \"admin\",\n          \"JACKRABBIT_CLUSTER\": \"Y\",\n          \"JACKRABBIT_PG_USER\": \"jackrabbit\",\n          \"JACKRABBIT_PG_PASSWORD\": \"jackrabbit\",\n          \"JACKRABBIT_DATABASE\": \"jackrabbit\",\n          \"INSTALL_COUCHBASE\": \"Y\",\n          \"COUCHBASE_NAMESPACE\": \"cbns\",\n          \"COUCHBASE_VOLUME_TYPE\": \"io1\",\n          \"COUCHBASE_CLUSTER_NAME\": \"cbgluu\",\n          \"COUCHBASE_URL\": \"cbgluu.cbns.svc.cluster.local\",\n          \"COUCHBASE_INDEX_NUM_REPLICA\": \"0\",\n          \"COUCHBASE_USER\": \"gluu\",\n          \"COUCHBASE_SUPERUSER\": \"admin\",\n          \"COUCHBASE_BUCKET_PREFIX\": \"test\",\n          \"COUCHBASE_PASSWORD\": \"nTB5#|\",\n          \"COUCHBASE_SUPERUSER_PASSWORD\": \"nTB5#2\",\n          \"COUCHBASE_CRT\": \"\",\n          \"COUCHBASE_CN\": \"Couchbase CN\",\n          \"COUCHBASE_SUBJECT_ALT_NAME\": \"\",\n          \"COUCHBASE_CLUSTER_FILE_OVERRIDE\": \"N\",\n          \"COUCHBASE_USE_LOW_RESOURCES\": \"Y\",\n          \"COUCHBASE_DATA_NODES\": \"\",\n          \"COUCHBASE_QUERY_NODES\": \"\",\n          \"COUCHBASE_INDEX_NODES\": \"\",\n          \"COUCHBASE_SEARCH_EVENTING_ANALYTICS_NODES\": \"\",\n          \"COUCHBASE_GENERAL_STORAGE\": \"\",\n          \"COUCHBASE_DATA_STORAGE\": \"\",\n          \"COUCHBASE_INDEX_STORAGE\": \"\",\n          \"COUCHBASE_QUERY_STORAGE\": \"\",\n          \"COUCHBASE_ANALYTICS_STORAGE\": \"\",\n          \"COUCHBASE_INCR_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"COUCHBASE_FULL_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"COUCHBASE_BACKUP_RETENTION_TIME\": \"24h\",\n          \"COUCHBASE_BACKUP_STORAGE_SIZE\": \"5Gi\",\n          \"LDAP_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"NUMBER_OF_EXPECTED_USERS\": \"\",\n          \"EXPECTED_TRANSACTIONS_PER_SEC\": \"\",\n          \"USING_CODE_FLOW\": \"\",\n          \"USING_SCIM_FLOW\": \"\",\n          \"USING_RESOURCE_OWNER_PASSWORD_CRED_GRANT_FLOW\": \"\",\n          \"DEPLOY_MULTI_CLUSTER\": \"N\",\n          \"HYBRID_LDAP_HELD_DATA\": \"\",\n          \"LDAP_JACKRABBIT_VOLUME\": \"io1\",\n          \"APP_VOLUME_TYPE\": 7,\n          \"LDAP_STATIC_VOLUME_ID\": \"\",\n          \"LDAP_STATIC_DISK_URI\": \"\",\n          \"GLUU_CACHE_TYPE\": \"NATIVE_PERSISTENCE\",\n          \"GLUU_NAMESPACE\": \"gluu\",\n          \"GLUU_FQDN\": \"demoexample.gluu.org\",\n          \"COUNTRY_CODE\": \"US\",\n          \"STATE\": \"TX\",\n          \"EMAIL\": \"support@gluu.org\",\n          \"CITY\": \"Austin\",\n          \"ORG_NAME\": \"Gluu\",\n          \"GMAIL_ACCOUNT\": \"\",\n          \"GOOGLE_NODE_HOME_DIR\": \"\",\n          \"IS_GLUU_FQDN_REGISTERED\": \"N\",\n          \"LDAP_PW\": \"nTB5#|\",\n          \"ADMIN_PW\": \"@4n,Js\",\n          \"OXD_SERVER_PW\": \"n8H0NKuGTXsn\",\n          \"OXD_APPLICATION_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_ADMIN_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_SERVER_STORAGE\": \"h2\",\n          \"LDAP_STORAGE_SIZE\": \"4Gi\",\n          \"OXAUTH_REPLICAS\": 1,\n          \"OXTRUST_REPLICAS\": 1,\n          \"LDAP_REPLICAS\": 1,\n          \"OXSHIBBOLETH_REPLICAS\": 1,\n          \"OXPASSPORT_REPLICAS\": 1,\n          \"OXD_SERVER_REPLICAS\": 1,\n          \"FIDO2_REPLICAS\": 1,\n          \"SCIM_REPLICAS\": 1,\n          \"CASA_REPLICAS\": 1,\n          \"ENABLE_OXTRUST_API\": \"N\",\n          \"ENABLE_OXTRUST_TEST_MODE\": \"N\",\n          \"ENABLE_CACHE_REFRESH\": \"N\",\n          \"ENABLE_OXD\": \"Y\",\n          \"ENABLE_OXPASSPORT\": \"Y\",\n          \"ENABLE_OXSHIBBOLETH\": \"Y\",\n          \"ENABLE_CASA\": \"Y\",\n          \"OXAUTH_KEYS_LIFE\": 48,\n          \"ENABLE_OXAUTH_KEY_ROTATE\": \"Y\",\n          \"ENABLE_FIDO2\": \"Y\",\n          \"ENABLE_SCIM\": \"Y\",\n          \"ENABLE_OXTRUST_API_BOOLEAN\": \"true\",\n          \"ENABLE_OXTRUST_TEST_MODE_BOOLEAN\": \"false\",\n          \"ENABLE_OXPASSPORT_BOOLEAN\": \"true\",\n          \"ENABLE_CASA_BOOLEAN\": \"true\",\n          \"ENABLE_SAML_BOOLEAN\": \"true\",\n          \"EDIT_IMAGE_NAMES_TAGS\": \"N\",\n          \"CONFIRM_PARAMS\": \"Y\",\n          \"GLUU_LDAP_MULTI_CLUSTER\": \"N\"\n        }\n        EOF\n\n    - name: Test Pygluu ldap helm\n      id: test_kubernetes_ldap_helm\n      run: |\n          cd /home/runner/work/test/\n          sudo ./pygluu-kubernetes.pyz helm-install\n          kubectl wait -n gluu --for=condition=ready pod --timeout=900s -l statefulset.kubernetes.io/pod-name=helm-opendj-0 || sudo kubectl logs -l app=opendj -c opendj -n gluu || echo \"Not Found\"\n          kubectl -n gluu wait --for=condition=available --timeout=600s deploy/helm-oxauth || kubectl logs -l app=oxauth -c oxauth -n gluu || echo \"Not Found\"\n          kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=helm-oxtrust-0 || kubectl logs -l app=oxtrust -c oxtrust -n gluu || echo \"Not Found\"\n          kubectl -n gluu wait --for=condition=available --timeout=300s deploy/helm-oxpassport || kubectl logs -l app=oxpassport -c oxpassport -n gluu || echo \"Not Found\"\n          kubectl -n gluu wait --for=condition=available --timeout=300s deploy/helm-casa || kubectl logs -l app=casa -c casa -n gluu || echo \"Not Found\"\n          kubectl -n gluu wait --for=condition=available --timeout=300s deploy/helm-oxd-server || kubectl logs -l app=oxd-server -c oxd-server -n gluu || echo \"Not Found\"\n          kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=helm-oxshibboleth-0 || kubectl logs -l app=oxshiboleth -c oxshiboleth -n gluu || echo \"Not Found\"\n          sudo helm delete helm-ldap-backup -n gluu || echo \"Resources not found\"\n          sudo kubectl get po -n gluu\n          sudo ./pygluu-kubernetes.pyz helm-uninstall\n          sleep 20\n\n    - name: Test Pygluu couchbase helm\n      id: test_kubernetes_couchbase_helm\n      run: |\n        cd /home/runner/work/test/\n        cat settings.json | sed 's/\"INSTALL_COUCHBASE\": \"N\"/\"INSTALL_COUCHBASE\": \"Y\"/g' > tmpfile.py && mv tmpfile.py settings.json\n        sudo ./pygluu-kubernetes.pyz install-couchbase\n        cat settings.json | sed 's/\"INSTALL_COUCHBASE\": \"Y\"/\"INSTALL_COUCHBASE\": \"N\"/g' | sed -s \"s@cbgluu.cbns.svc.cluster.local@$COUCHBASE_IP@g\" > tmpfile.py && mv tmpfile.py settings.json\n        cat settings.json | sed 's/\"COUCHBASE_URL\": \"couchbase\"/\"COUCHBASE_URL\": \"cbgluu.cbns.svc.cluster.local\"/g' > tmpfile.py && mv tmpfile.py settings.json\n        cat settings.json | sed 's/\"COUCHBASE_URL\": \"\"/\"COUCHBASE_URL\": \"cbgluu.cbns.svc.cluster.local\"/g' > tmpfile.py && mv tmpfile.py settings.json\n        sudo ./pygluu-kubernetes.pyz helm-install\n        kubectl -n gluu wait --for=condition=available --timeout=600s deploy/helm-oxauth || kubectl logs -l app=oxauth -c oxauth -n gluu || echo \"Not Found\"\n        kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=helm-oxtrust-0 || kubectl logs -l app=oxtrust -c oxtrust -n gluu || echo \"Not Found\"\n        kubectl -n gluu wait --for=condition=available --timeout=300s deploy/helm-oxpassport || kubectl logs -l app=oxpassport -c oxpassport -n gluu || echo \"Not Found\"\n        kubectl -n gluu wait --for=condition=available --timeout=300s deploy/helm-casa || kubectl logs -l app=casa -c casa -n gluu || echo \"Not Found\"\n        kubectl -n gluu wait --for=condition=available --timeout=300s deploy/helm-oxd-server || kubectl logs -l app=oxd-server -c oxd-server -n gluu || echo \"Not Found\"\n        kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=helm-oxshibboleth-0 || kubectl logs -l app=oxshiboleth -c oxshiboleth -n gluu || echo \"Not Found\"\n        kubectl get po -n cbns\n        kubectl get po -n gluu\n        kubectl delete -f couchbase-backup.yaml || echo \"Resources not found\"\n        sudo ./pygluu-kubernetes.pyz uninstall-couchbase\n        sudo ./pygluu-kubernetes.pyz helm-uninstall\n        sleep 20\n        kubectl get po -n cbns\n        kubectl get po -n gluu\n\n\n    - name: Uninstall and destroy cluster\n      if: always()\n      run: |\n          cd /home/runner/work/test/\n          sudo ./pygluu-kubernetes.pyz uninstall-couchbase || echo \"pygluu failed\"\n          sudo ./pygluu-kubernetes.pyz helm-uninstall || echo \"pygluu failed\"\n          EKS_NAME=$(cat eks_cluster_name || echo \"noname\")\n          eksctl delete cluster $EKS_NAME\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:00.264125", "created_at": "2021-11-08T09:22:18+01:00", "updated_at": "2021-11-08T09:22:18+01:00", "name": "Code quality check", "path": ".github/workflows/central_code_quality_check.yml", "contents": "# Please do not attempt to edit this flow without the direct consent from the DevOps team. This file is managed centrally.\n# Contact @moabu\n# Sonar cloud https://sonarcloud.io/organizations/janssenproject/projects\nname: Code quality check\n\non:\n  push:\n    branches:\n      - master\n      - main\n      - \"4.5\"\n  pull_request:\n    branches:\n      - master\n      - main\n      - \"4.5\"\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      JVM_PROJECTS: |\n        GluuFederation/oxAuth\n        GluuFederation/oxTrust\n        GluuFederation/scim\n        GluuFederation/oxShibboleth\n        GluuFederation/fido2\n        GluuFederation/oxd\n        GluuFederation/casa\n        GluuFederation/gluu-opendj4\n      NON_JVM_PROJECTS: |\n        GluuFederation/gluu-passport\n        GluuFederation/gluu-admin-ui\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0  # Shallow clones should be disabled for a better relevancy of sonarqube analysis\n\n      - name: Set up JDK 11\n        if: contains(env.JVM_PROJECTS, github.repository)\n        uses: actions/setup-java@v4.0.0\n        with:\n          java-version: 11\n          distribution: 'adopt'\n\n      - name: Cache SonarCloud packages for JVM based project\n        if: contains(env.JVM_PROJECTS, github.repository)\n        uses: actions/cache@v3.3.2\n        with:\n          path: ~/.sonar/cache\n          key: ${{ runner.os }}-sonar\n          restore-keys: ${{ runner.os }}-sonar\n\n      - name: Build and analyze JVM based project\n        if: contains(env.JVM_PROJECTS, github.repository)\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n        run: |\n          case \"$GITHUB_REPOSITORY\" in\n            \"GluuFederation/gluu-opendj4\")\n                  echo \"Build opendj-sdk first for gluu-opendj4\"\n                  mvn -B -f opendj-sdk/pom.xml -DskipTests clean install\n                  ;&\n            \"GluuFederation/oxAuth\")\n                  ;&\n            \"GluuFederation/oxTrust\")\n                  ;&\n            \"GluuFederation/scim\")\n                  ;&\n            \"GluuFederation/casa\")\n                  ;&\n            \"GluuFederation/oxd\")\n                  echo \"Run Sonar analysis without test execution\"\n                  mvn -B -DskipTests=true install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar\n                  ;;\n            *)\n                  echo \"Run Sonar analysis with test execution\"\n                  mvn -B install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar\n                  ;;\n          esac\n\n\n      - name: Convert repo org name to lowercase for non JVM projects\n        if: contains(env.NON_JVM_PROJECTS, github.repository)\n        env:\n          REPO_OWNER: ${{ github.repository_owner }}\n        run: |\n          echo \"REPO_ORG=${REPO_OWNER,,}\" >>${GITHUB_ENV}\n\n      - name: SonarCloud Scan for non-JVM project\n        if: contains(env.NON_JVM_PROJECTS, github.repository)\n        uses: SonarSource/sonarcloud-github-action@master\n        with:\n          args: >\n            -Dsonar.organization=${{ env.REPO_ORG }}\n            -Dsonar.projectKey=${{ github.repository_owner }}_${{ github.event.repository.name }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:01.362941", "created_at": "2021-03-26T16:49:14+01:00", "updated_at": "2021-03-26T16:49:14+01:00", "name": "Workflow Sync", "path": ".github/workflows/central_sync_workflows.yml", "contents": "name: Workflow Sync\n\non:\n  push:\n    branches:\n      - master\n      - main\n      - \"4.5\"\n    paths:\n      - \".github/**\"\n  workflow_dispatch:\n\njobs:\n  All_Repos_Common_Workflows:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Fetching Local Repository\n        uses: actions/checkout@v4\n        \n      - name: Import GPG key\n        id: import_gpg\n        uses: crazy-max/ghaction-import-gpg@v6\n        with:\n          gpg_private_key: ${{ secrets.MOAUTO_GPG_PRIVATE_KEY }}\n          passphrase: ${{ secrets.MOAUTO_GPG_PRIVATE_KEY_PASSPHRASE }}\n          git_user_signingkey: true\n          git_commit_gpgsign: true\n\n      - name: Running General Workflow Sync\n        env:\n          REPOSITORIES: |\n            GluuFederation/gluu-passport\n            GluuFederation/casa\n            GluuFederation/oxTrust\n            GluuFederation/oxAuth\n            GluuFederation/scim\n            GluuFederation/fido2\n            GluuFederation/gluu-opendj4\n            GluuFederation/oxd\n            GluuFederation/oxshibboleth\n      #      GluuFederation/cloud-native-edition\n      #      GluuFederation/docker-oxd\n      #      GluuFederation/docker-radius\n      #      GluuFederation/docker-cr-rotate\n      #      GluuFederation/docker-fido2\n      #      GluuFederation/docker-scim\n      #      GluuFederation/docker-opendj\n      #      GluuFederation/docker-oxshibboleth\n      #      GluuFederation/docker-oxauth\n      #      GluuFederation/docker-oxtrust\n      #      GluuFederation/cluster-mgr\n      #      GluuFederation/docker-persistence\n      #      GluuFederation/pygluu-containerlib\n      #      GluuFederation/docker-config-init\n      #      GluuFederation/community-edition-setup\n       #      GluuFederation/docker-certmanager\n       #     GluuFederation/docker-jackrabbit\n       #     GluuFederation/gluu-passport-testing\n       #     GluuFederation/openbanking\n       #     GluuFederation/community-edition-containers\n       #     GluuFederation/guru-app\n       #     GluuFederation/docker-upgrade\n       #     GluuFederation/gluu-admin-ui-api\n       #     GluuFederation/oxtrust-api\n          WORKFLOW_FILES: |\n            .github/workflows/commit-check.yml=.github/workflows/commit-check.yml\n            .github/workflows/central_code_quality_check.yml=.github/workflows/central_code_quality_check.yml\n          GITHUB_TOKEN: ${{ secrets.MOWORKFLOWTOKEN }}\n          GPG_KEY_ID: ${{ steps.import_gpg.outputs.keyid }}\n          PR_BRANCH_NAME: repo_sync\n        run: |\n          echo\n          wget https://raw.githubusercontent.com/mo-auto/scripts/main/org_workflows_sync.sh\n          chmod u+x org_workflows_sync.sh\n          bash org_workflows_sync.sh\n\n      - name: Running Docker Workflow Sync\n        env:\n          REPOSITORIES: |\n            GluuFederation/docker-oxauth\n            GluuFederation/docker-oxtrust\n            GluuFederation/docker-nginx\n            GluuFederation/docker-config-init\n            GluuFederation/docker-oxshibboleth\n            GluuFederation/docker-opendj\n            GluuFederation/docker-oxPassport\n            GluuFederation/docker-upgrade\n            GluuFederation/docker-cr-rotate\n            GluuFederation/docker-persistence\n            GluuFederation/docker-oxd\n            GluuFederation/docker-casa\n            GluuFederation/docker-certmanager\n            GluuFederation/docker-jackrabbit\n            GluuFederation/docker-fido2\n            GluuFederation/docker-scim\n          WORKFLOW_FILES: |\n            .github/docker/central_docker_imagescan.yml=.github/workflows/imagescan.yml\n            .github/docker/central_docker_release.yml=.github/workflows/release.yaml\n            .github/docker/central_docker_triggerdevbuild.yml=.github/workflows/triggerdevbuild.yml\n            .github/docker/central_docker_build_image.yml=.github/workflows/build_image.yml\n          GITHUB_TOKEN: ${{ secrets.MOWORKFLOWTOKEN }}\n          GPG_KEY_ID: ${{ steps.import_gpg.outputs.keyid }}\n          PR_BRANCH_NAME: docker_repo_sync\n        run: |\n          echo\n          wget https://raw.githubusercontent.com/mo-auto/scripts/main/org_workflows_sync.sh\n          chmod u+x org_workflows_sync.sh\n          bash org_workflows_sync.sh\n\n      - name: Running CODEOWNERS Workflow Sync\n        env:\n          GITHUB_TOKEN: ${{ secrets.MOWORKFLOWTOKEN }}\n          GPG_KEY_ID: ${{ steps.import_gpg.outputs.keyid }}\n          PR_BRANCH_NAME: code_owner_repo_sync\n        run: |\n          wget https://raw.githubusercontent.com/mo-auto/scripts/main/org_workflows_sync.sh\n          chmod u+x org_workflows_sync.sh\n\n          for FILE in .github/GLUUFEDERATION_CODEOWNERS/*_CODEOWNERS; do FILENAME=$(basename -- \"$FILE\"); repo=\"${FILENAME%_CODEOWNERS}\"; echo \"$repo\"; export REPOSITORIES=\"GluuFederation/$repo\"; export WORKFLOW_FILES=\"$FILE=.github/CODEOWNERS\"; bash org_workflows_sync.sh; done", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:02.619560", "created_at": "2021-03-26T16:49:14+01:00", "updated_at": "2021-03-26T16:49:14+01:00", "name": "Commit Message Check", "path": ".github/workflows/commit-check.yml", "contents": "# Please do not attempt to edit this flow without the direct consent from the DevOps team. This file is managed centrally.\n# Contact @moabu\nname: 'Commit Message Check'\non:\n  pull_request:\n    types:\n      - opened\n      - edited\n      - reopened\n      - synchronize\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - reopened\n      - synchronize\n  push:\n\njobs:\n  check-commit-message:\n    name: Check Commit Message\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Project\n        uses: actions/checkout@v4\n        with:\n          # We need to fetch with a depth of 2 for pull_request so we can do HEAD^2\n          fetch-depth: 2\n\n      - uses: actions/setup-node@v4.0.0\n        with:\n          node-version: 14\n\n      - run: |\n          npm install --save-dev @commitlint/{config-conventional,cli}\n          echo \"module.exports = {extends: ['@commitlint/config-conventional']};\" > commitlint.config.js\n\n        # If this workflow was triggered by a push then resolve the commit message from HEAD\n      - name: \"[Push] Check Commit Standard\"\n        if: github.event_name == 'push' || github.event_name == 'pull_request_target'\n        id: push_get_commit_message\n        run: |\n          git log --format=%B -n 1 HEAD | npx commitlint |& tee -a output.txt\n          echo \"::set-output name=errormsg::$(tr -d \"\\n\\r\" < output.txt)\"\n          git log --format=%B -n 1 HEAD | npx commitlint\n        continue-on-error: true\n\n        # If this workflow was triggered by a pull request (open or synchronize!) then resolve the commit message from HEAD^2\n      - name: \"[Pull Request] Check Commit Standard\"\n        if: github.event_name == 'pull_request'\n        id: pr_get_commit_message\n        run: |\n          git log --format=%B -n 1 HEAD^2 | npx commitlint |& tee -a output.txt\n          echo \"::set-output name=errormsg::$(tr -d \"\\n\\r\" < output.txt)\"\n          git log --format=%B -n 1 HEAD^2 | npx commitlint\n        continue-on-error: true\n\n\n  #    - name: Check Line Length\n  #      id: linelength\n  #      uses: gsactions/commit-message-checker@v1\n  #      continue-on-error: true\n  #      with:\n  #        pattern: '^.{1,50}$'\n  #        error: 'The maximum line length of 50 characters is exceeded.'\n  #        excludeDescription: 'true' # optional: this excludes the description body of a pull request\n  #        excludeTitle: 'true' # optional: this excludes the title of a pull request\n  #        checkAllCommitMessages: 'true' # optional: this checks all commits associated with a pull request\n  #        accessToken: ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true\n\n#      - name: Check for Resolves / Fixes\n#        uses: gsactions/commit-message-checker@v1\n#        with:\n#          pattern: '^.+(Resolves|Fixes): \\#[0-9]+$'\n#          error: 'You need at least one \"Resolves|Fixes: #<issue number>\" line.'\n\n      - name: \"[Push] Report Commit Standard Status\"\n        if: steps.push_get_commit_message.outcome != 'success' && github.event_name == 'push'\n        run: |\n          curl -X POST -H 'Content-Type: application/json' --data '{\"alias\":\"Mo-Auto\",\"emoji\":\":robot:\",\"text\":\":x: :cry: I am reporting a bad [commit](https://github.com/${{github.repository}}/commit/${{github.sha}}) by :thinking_face: @${{github.actor}} :x:\",\"attachments\":[{\"title\":\"GitHub user behavior reporter\",\"title_link\":\"https://www.conventionalcommits.org\",\"text\":\"We are not too happy with your last [commit](https://github.com/${{github.repository}}/commit/${{github.sha}}). Here is why : ${{ steps.push_get_commit_message.outputs.errormsg }}\",\"color\":\"#764FA5\"}]}' ${{ secrets.GITHUBUSERBEHAVIORROCKETCHATREPORTER }}\n          exit 1\n\n      - name: \"[Pull Request] Report Commit Standard Status\"\n        if: steps.pr_get_commit_message.outcome != 'success' && github.event_name == 'pull_request'\n        run: |\n          curl -X POST -H 'Content-Type: application/json' --data '{\"alias\":\"Mo-Auto\",\"emoji\":\":robot:\",\"text\":\":x: :cry: I am reporting a bad [commit](https://github.com/${{github.repository}}/tree/$GITHUB_HEAD_REF) by :thinking_face: @${{github.actor}} :x:\",\"attachments\":[{\"title\":\"GitHub user behavior reporter\",\"title_link\":\"https://www.conventionalcommits.org\",\"text\":\"We are not too happy with your last commit merging into https://github.com/${{github.repository}}/tree/${{github.base_ref}}. Here is why : ${{ steps.pr_get_commit_message.outputs.errormsg }}\",\"color\":\"#764FA5\"}]}' ${{ secrets.GITHUBUSERBEHAVIORROCKETCHATREPORTER }}\n          exit 1\n\n#      - name: Check Commit length\n#        if: steps.linelength.outcome != 'success'\n#        run: |\n#          curl -X POST -H 'Content-Type: application/json' --data '{\"alias\":\"Mo-Auto\",\"emoji\":\":robot:\",\"text\":\":x: :cry: I am reporting a bad [commit](https://github.com/${{github.repository}}/commit/${{github.sha}}) :thinking_face: by @${{github.actor}} :x:\",\"attachments\":[{\"title\":\"GitHub user behavior reporter\",\"title_link\":\"https://www.conventionalcommits.org\",\"text\":\"We are not too happy with your last [commit](https://github.com/${{github.repository}}/commit/${{github.sha}}). Limit your commits to <50 chars. Place additional information in the description body of the commit.\",\"color\":\"#764FA5\"}]}' ${{ secrets.GITHUBUSERBEHAVIORROCKETCHATREPORTER }}\n#          echo \"The maximum line length of 100 characters is exceeded.\"\n#          exit 1\n\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:03.851508", "created_at": "2022-07-05T13:08:00+02:00", "updated_at": "2022-07-05T13:08:00+02:00", "name": "couchbase", "path": ".github/workflows/couchbase_microk8s.yml", "contents": "name: couchbase\non:\n  push:\n    branches:\n      - master\n      - main\n      - \"4.5\"\n    paths:\n      - \"helm/**\"\n  pull_request:\n    branches:\n      - master\n      - main\n      - \"4.5\"\n    paths:\n      - \"helm/**\"\n  workflow_dispatch:\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: 3.9\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo python3 -m pip install --upgrade pip\n        sudo pip3 install setuptools --upgrade\n        sudo pip3 install pyOpenSSL --upgrade\n        sudo pip3 install requests --upgrade\n        sudo apt-get install build-essential\n        sudo pip3 install -U shiv wheel setuptools\n        mkdir /home/runner/work/test\n        cp -r ./* /home/runner/work/test/\n        cd /home/runner/work/test/\n        sudo make zipapp\n\n    - name: Install microk8s\n      run: |\n        sudo snap install microk8s --classic\n        sudo snap alias microk8s.kubectl kubectl\n        sudo microk8s.status --wait-ready\n        sudo microk8s.enable dns registry ingress\n\n\n    - name: Install helm\n      run: |\n        curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3\n        chmod 700 get_helm.sh\n        ./get_helm.sh\n        sudo helm version\n\n    - name: Test 1 settings(LDAP)\n      run: |\n        default_iface=$(awk '$2 == 00000000 { print $1 }' /proc/net/route)\n        ip=$(ip addr show dev \"$default_iface\" | awk '$1 == \"inet\" { sub(\"/.*\", \"\", $2); print $2 }')\n        cat <<EOF > /home/runner/work/test/settings.json\n        {\n          \"ACCEPT_GLUU_LICENSE\": \"Y\",\n          \"TEST_ENVIRONMENT\": \"Y\",\n          \"GLUU_VERSION\": \"4.5\",\n          \"GLUU_UPGRADE_TARGET_VERSION\": \"\",\n          \"NGINX_INGRESS_NAMESPACE\": \"ingress-nginx\",\n          \"GLUU_HELM_RELEASE_NAME\": \"cn\",\n          \"NGINX_INGRESS_RELEASE_NAME\": \"ningress\",\n          \"INSTALL_GLUU_GATEWAY\": \"N\",\n          \"INSTALL_POSTGRES\": \"N\",\n          \"POSTGRES_NAMESPACE\": \"postgres\",\n          \"KONG_NAMESPACE\": \"gluu-gateway\",\n          \"GLUU_GATEWAY_UI_NAMESPACE\": \"gg-ui\",\n          \"KONG_PG_USER\": \"kong\",\n          \"KONG_PG_PASSWORD\": \"MUs6#@\",\n          \"GLUU_GATEWAY_UI_PG_USER\": \"konga\",\n          \"GLUU_GATEWAY_UI_PG_PASSWORD\": \"MUs6#@\",\n          \"KONG_DATABASE\": \"kong\",\n          \"GLUU_GATEWAY_UI_DATABASE\": \"konga\",\n          \"POSTGRES_REPLICAS\": 3,\n          \"POSTGRES_URL\": \"postgres.postgres.svc.cluster.local\",\n          \"KONG_HELM_RELEASE_NAME\": \"kong\",\n          \"GLUU_GATEWAY_UI_HELM_RELEASE_NAME\": \"ggui\",\n          \"USE_ISTIO\": \"N\",\n          \"USE_ISTIO_INGRESS\": \"N\",\n          \"MIGRATION_ENABLED\": \"N\",\n          \"ISTIO_SYSTEM_NAMESPACE\": \"istio-system\",\n          \"NODES_IPS\": [\n            \"$ip\"\n          ],\n          \"NODES_ZONES\": [],\n          \"NODES_NAMES\": [],\n          \"NODE_SSH_KEY\": \"\",\n          \"HOST_EXT_IP\": \"$ip\",\n          \"VERIFY_EXT_IP\": \"\",\n          \"AWS_LB_TYPE\": \"\",\n          \"USE_ARN\": \"\",\n          \"ARN_AWS_IAM\": \"\",\n          \"COUCHBASE_CLUSTER_FILE_OVERRIDE\": \"Y\",\n          \"LB_ADD\": \"\",\n          \"REDIS_URL\": \"\",\n          \"REDIS_TYPE\": \"\",\n          \"REDIS_PW\": \"\",\n          \"REDIS_USE_SSL\": \"false\",\n          \"DEPLOYMENT_ARCH\": \"microk8s\",\n          \"PERSISTENCE_BACKEND\": \"couchbase\",\n          \"INSTALL_JACKRABBIT\": \"Y\",\n          \"JACKRABBIT_STORAGE_SIZE\": \"4Gi\",\n          \"JACKRABBIT_URL\": \"http://jackrabbit:8080\",\n          \"JACKRABBIT_ADMIN_ID\": \"admin\",\n          \"JACKRABBIT_ADMIN_PASSWORD\": \"admin\",\n          \"JACKRABBIT_CLUSTER\": \"Y\",\n          \"JACKRABBIT_PG_USER\": \"jackrabbit\",\n          \"JACKRABBIT_PG_PASSWORD\": \"jackrabbit\",\n          \"JACKRABBIT_DATABASE\": \"jackrabbit\",\n          \"INSTALL_COUCHBASE\": \"Y\",\n          \"COUCHBASE_NAMESPACE\": \"cbns\",\n          \"COUCHBASE_VOLUME_TYPE\": \"io1\",\n          \"COUCHBASE_CLUSTER_NAME\": \"cn\",\n          \"COUCHBASE_URL\": \"cn.cbns.svc.cluster.local\",\n          \"COUCHBASE_INDEX_NUM_REPLICA\": \"0\",\n          \"COUCHBASE_USER\": \"cn\",\n          \"COUCHBASE_SUPERUSER\": \"admin\",\n          \"COUCHBASE_PASSWORD\": \"P@ssw0rd\",\n          \"COUCHBASE_SUPERUSER_PASSWORD\": \"P@ssw0rd\",\n          \"COUCHBASE_CRT\": \"\",\n          \"COUCHBASE_CN\": \"Couchbase CN\",\n          \"COUCHBASE_SUBJECT_ALT_NAME\": \"\",\n          \"COUCHBASE_BUCKET_PREFIX\": \"cn\",\n          \"GLUU_LDAP_MULTI_CLUSTER\": \"N\",\n          \"COUCHBASE_USE_LOW_RESOURCES\": \"Y\",\n          \"COUCHBASE_DATA_NODES\": \"\",\n          \"COUCHBASE_QUERY_NODES\": \"\",\n          \"COUCHBASE_INDEX_NODES\": \"\",\n          \"COUCHBASE_SEARCH_EVENTING_ANALYTICS_NODES\": \"\",\n          \"COUCHBASE_GENERAL_STORAGE\": \"\",\n          \"COUCHBASE_DATA_STORAGE\": \"\",\n          \"COUCHBASE_INDEX_STORAGE\": \"\",\n          \"COUCHBASE_QUERY_STORAGE\": \"\",\n          \"COUCHBASE_ANALYTICS_STORAGE\": \"\",\n          \"COUCHBASE_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"COUCHBASE_BACKUP_RESTORE_POINTS\": 1,\n          \"LDAP_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"NUMBER_OF_EXPECTED_USERS\": \"\",\n          \"EXPECTED_TRANSACTIONS_PER_SEC\": \"\",\n          \"USING_CODE_FLOW\": \"\",\n          \"USING_SCIM_FLOW\": \"\",\n          \"USING_RESOURCE_OWNER_PASSWORD_CRED_GRANT_FLOW\": \"\",\n          \"DEPLOY_MULTI_CLUSTER\": \"N\",\n          \"HYBRID_LDAP_HELD_DATA\": \"\",\n          \"LDAP_JACKRABBIT_VOLUME\": \"\",\n          \"APP_VOLUME_TYPE\": 1,\n          \"LDAP_STATIC_VOLUME_ID\": \"\",\n          \"LDAP_STATIC_DISK_URI\": \"\",\n          \"GLUU_CACHE_TYPE\": \"NATIVE_PERSISTENCE\",\n          \"GLUU_NAMESPACE\": \"gluu\",\n          \"GLUU_FQDN\": \"demoexample.gluu.org\",\n          \"COUNTRY_CODE\": \"US\",\n          \"STATE\": \"TX\",\n          \"EMAIL\": \"support@gluu.org\",\n          \"CITY\": \"Austin\",\n          \"ORG_NAME\": \"Gluu\",\n          \"GMAIL_ACCOUNT\": \"\",\n          \"GOOGLE_NODE_HOME_DIR\": \"\",\n          \"IS_GLUU_FQDN_REGISTERED\": \"N\",\n          \"LDAP_PW\": \"nTB5#|\",\n          \"ADMIN_PW\": \"@4n,Js\",\n          \"OXD_SERVER_PW\": \"n8H0NKuGTXsn\",\n          \"OXD_APPLICATION_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_ADMIN_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_SERVER_STORAGE\": \"h2\",\n          \"LDAP_STORAGE_SIZE\": \"4Gi\",\n          \"OXAUTH_REPLICAS\": 1,\n          \"OXTRUST_REPLICAS\": 1,\n          \"LDAP_REPLICAS\": 1,\n          \"FIDO2_REPLICAS\": 1,\n          \"SCIM_REPLICAS\": 1,\n          \"OXSHIBBOLETH_REPLICAS\": 1,\n          \"OXPASSPORT_REPLICAS\": 1,\n          \"OXD_SERVER_REPLICAS\": 1,\n          \"CASA_REPLICAS\": 1,\n          \"RADIUS_REPLICAS\": 1,\n          \"ENABLE_OXTRUST_API\": \"N\",\n          \"ENABLE_OXTRUST_TEST_MODE\": \"N\",\n          \"ENABLE_CACHE_REFRESH\": \"N\",\n          \"ENABLE_OXD\": \"Y\",\n          \"ENABLE_RADIUS\": \"Y\",\n          \"ENABLE_OXPASSPORT\": \"Y\",\n          \"ENABLE_OXSHIBBOLETH\": \"Y\",\n          \"ENABLE_FIDO2\": \"Y\",\n          \"ENABLE_SCIM\": \"Y\",\n          \"ENABLE_CASA\": \"Y\",\n          \"OXAUTH_KEYS_LIFE\": 48,\n          \"ENABLE_OXAUTH_KEY_ROTATE\": \"Y\",\n          \"ENABLE_OXTRUST_API_BOOLEAN\": \"true\",\n          \"ENABLE_OXTRUST_TEST_MODE_BOOLEAN\": \"false\",\n          \"ENABLE_RADIUS_BOOLEAN\": \"true\",\n          \"ENABLE_OXPASSPORT_BOOLEAN\": \"true\",\n          \"ENABLE_CASA_BOOLEAN\": \"true\",\n          \"ENABLE_SAML_BOOLEAN\": \"true\",\n          \"EDIT_IMAGE_NAMES_TAGS\": \"N\",\n          \"CONFIRM_PARAMS\": \"Y\",\n          \"GLUU_SCIM_PROTECTION_MODE\": \"OAUTH\",\n          \"NGINX_LEGACY\": \"N\",\n          \"SPANNER_EMULATOR_HOST\": \"\",\n          \"CONTAINER_REGISTRY_SECRET_NAME\": \"regcred\",\n          \"USE_CUSTOM_SALT\": \"N\",\n          \"SALT\": \"\",\n          \"DOCUMENT_STORE_TYPE\": \"DB\"\n        }\n\n    - name: Install Couchbase\n      run: |\n        cd /home/runner/work/test/\n        wget ${{ secrets.cbpackage }}\n        sudo ./pygluu-kubernetes.pyz install-couchbase || { sudo rm -rf ./couchbase; sudo ./pygluu-kubernetes.pyz install-couchbase; }\n        COUCHBASE_IP=$(sudo microk8s.kubectl get po cbgluu-0000 -n cbns --template={{.status.podIP}})\n        cat settings.json | sed 's/\"INSTALL_COUCHBASE\": \"Y\"/\"INSTALL_COUCHBASE\": \"N\"/g' |  sed -s \"s@cbgluu.cbns.svc.cluster.local@$COUCHBASE_IP@g\" > tmpfile.py && mv tmpfile.py settings.json\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:04.976705", "created_at": "2020-04-03T02:04:20+02:00", "updated_at": "2020-09-17T07:36:27+02:00", "name": "googlegke", "path": ".github/workflows/googlegke.yml", "contents": "name: googlegke\n# This builds, packages and tests pygluu-kubernetes\non: [workflow_dispatch]\njobs:\n  build:\n\n    runs-on: ubuntu-18.04\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install unzip -y\n        sudo python3 -m pip install --upgrade pip\n        sudo pip3 install setuptools --upgrade\n        sudo pip3 install pyOpenSSL --upgrade\n        sudo pip3 install requests --upgrade\n\n    - name: Lint with flake8\n      run: |\n        sudo pip3 install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        sudo flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        sudo flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Install pygluu\n      run: |\n        sudo apt-get update\n        sudo apt-get install build-essential\n        sudo pip3 install -U shiv wheel setuptools\n        mkdir /home/runner/work/test/\n        cp -r ./* /home/runner/work/test/\n        cd /home/runner/work/test/\n        sudo make zipapp\n\n    - name: Install Google GKE dependencies\n      run: |\n          cd /home/runner/work/test/\n          echo \"deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main\" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list\n          sudo apt-get install apt-transport-https ca-certificates gnupg\n          curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -\n          sudo apt-get update && sudo apt-get install google-cloud-sdk\n          sudo apt-get update && sudo apt-get install -y apt-transport-https\n          curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -\n          echo \"deb https://apt.kubernetes.io/ kubernetes-xenial main\" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list\n          sudo apt-get update\n          sudo apt-get install -y kubectl\n          wget \"${{ secrets.google_service_account }}\" -O sa.json\n\n    - name: Install Helm\n      run: |\n          cd /home/runner/work/test/\n          curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3\n          chmod 700 get_helm.sh\n          ./get_helm.sh\n          sudo helm version\n\n    - name: Create GKE cluster\n      run: |\n        cd /home/runner/work/test/\n        RAND_STR=$(openssl rand -hex 4)\n        GKE_NAME=automation-test-\"$RAND_STR\"\n        echo \"$GKE_NAME\" > gke_cluster_name\n        cat gke_cluster_name\n        sudo gcloud auth activate-service-account --key-file sa.json\n        sudo gcloud config set project ${{ secrets.google_project }}\n        sudo gcloud container clusters create $GKE_NAME --num-nodes 2 --machine-type e2-highcpu-8 --zone ${{ secrets.google_region }}-a\n        sudo gcloud container clusters get-credentials $GKE_NAME --zone ${{ secrets.google_region }}-a\n\n    #- name: Install Istio\n    #  run: |\n    #      curl -sL https://istio.io/downloadIstioctl | sh -\n    #      export PATH=$PATH:$HOME/.istioctl/bin\n    #      istioctl operator init\n\n    - name: Create settings.json\n      id: test1_settings\n      run: |\n        cat <<EOF > /home/runner/work/test/settings.json\n        {\n          \"ACCEPT_GLUU_LICENSE\": \"Y\",\n          \"TEST_ENVIRONMENT\": \"Y\",\n          \"GLUU_VERSION\": \"4.5\",\n          \"GLUU_UPGRADE_TARGET_VERSION\": \"\",\n          \"NGINX_INGRESS_NAMESPACE\": \"ingress-nginx\",\n          \"GLUU_HELM_RELEASE_NAME\": \"helm\",\n          \"NGINX_INGRESS_RELEASE_NAME\": \"ningress\",\n          \"INSTALL_POSTGRES\": \"N\",\n          \"POSTGRES_NAMESPACE\": \"postgres\",\n          \"POSTGRES_URL\": \"postgres.postgres.svc.cluster.local\",\n          \"USE_ISTIO\": \"N\",\n          \"USE_ISTIO_INGRESS\": \"N\",\n          \"MIGRATION_ENABLED\": \"N\",\n          \"ISTIO_SYSTEM_NAMESPACE\": \"istio-system\",\n          \"NODES_IPS\": [],\n          \"NODES_ZONES\": [],\n          \"NODES_NAMES\": [],\n          \"NODE_SSH_KEY\": \"~/.ssh/id_rsa\",\n          \"HOST_EXT_IP\": \"\",\n          \"VERIFY_EXT_IP\": \"\",\n          \"AWS_LB_TYPE\": \"clb\",\n          \"USE_ARN\": \"N\",\n          \"ARN_AWS_IAM\": \"\",\n          \"LB_ADD\": \"\",\n          \"REDIS_URL\": \"\",\n          \"REDIS_TYPE\": \"\",\n          \"REDIS_PW\": \"\",\n          \"REDIS_USE_SSL\": \"false\",\n          \"DEPLOYMENT_ARCH\": \"gke\",\n          \"PERSISTENCE_BACKEND\": \"ldap\",\n          \"INSTALL_JACKRABBIT\": \"Y\",\n          \"JACKRABBIT_STORAGE_SIZE\": \"4Gi\",\n          \"JACKRABBIT_URL\": \"http://jackrabbit:8080\",\n          \"JACKRABBIT_ADMIN_ID\": \"admin\",\n          \"JACKRABBIT_ADMIN_PASSWORD\": \"admin\",\n          \"JACKRABBIT_CLUSTER\": \"Y\",\n          \"JACKRABBIT_PG_USER\": \"jackrabbit\",\n          \"JACKRABBIT_PG_PASSWORD\": \"jackrabbit\",\n          \"JACKRABBIT_DATABASE\": \"jackrabbit\",\n          \"INSTALL_COUCHBASE\": \"Y\",\n          \"COUCHBASE_NAMESPACE\": \"cbns\",\n          \"COUCHBASE_VOLUME_TYPE\": \"pd-standard\",\n          \"COUCHBASE_CLUSTER_NAME\": \"cbgluu\",\n          \"COUCHBASE_URL\": \"cbgluu.cbns.svc.cluster.local\",\n          \"COUCHBASE_INDEX_NUM_REPLICA\": \"0\",s\n          \"COUCHBASE_USER\": \"gluu\",\n          \"COUCHBASE_SUPERUSER\": \"admin\",\n          \"COUCHBASE_BUCKET_PREFIX\": \"test\",\n          \"COUCHBASE_PASSWORD\": \"nTB5#|\",\n          \"COUCHBASE_SUPERUSER_PASSWORD\": \"nTB5#2\",\n          \"COUCHBASE_CRT\": \"\",\n          \"COUCHBASE_CN\": \"Couchbase CN\",\n          \"COUCHBASE_SUBJECT_ALT_NAME\": \"\",\n          \"COUCHBASE_CLUSTER_FILE_OVERRIDE\": \"N\",\n          \"COUCHBASE_USE_LOW_RESOURCES\": \"Y\",\n          \"COUCHBASE_DATA_NODES\": \"\",\n          \"COUCHBASE_QUERY_NODES\": \"\",\n          \"COUCHBASE_INDEX_NODES\": \"\",\n          \"COUCHBASE_SEARCH_EVENTING_ANALYTICS_NODES\": \"\",\n          \"COUCHBASE_GENERAL_STORAGE\": \"\",\n          \"COUCHBASE_DATA_STORAGE\": \"\",\n          \"COUCHBASE_INDEX_STORAGE\": \"\",\n          \"COUCHBASE_QUERY_STORAGE\": \"\",\n          \"COUCHBASE_ANALYTICS_STORAGE\": \"\",\n          \"COUCHBASE_INCR_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"COUCHBASE_FULL_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"COUCHBASE_BACKUP_RETENTION_TIME\": \"24h\",\n          \"COUCHBASE_BACKUP_STORAGE_SIZE\": \"5Gi\",\n          \"LDAP_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"NUMBER_OF_EXPECTED_USERS\": \"\",\n          \"EXPECTED_TRANSACTIONS_PER_SEC\": \"\",\n          \"USING_CODE_FLOW\": \"\",\n          \"USING_SCIM_FLOW\": \"\",\n          \"USING_RESOURCE_OWNER_PASSWORD_CRED_GRANT_FLOW\": \"\",\n          \"DEPLOY_MULTI_CLUSTER\": \"N\",\n          \"HYBRID_LDAP_HELD_DATA\": \"\",\n          \"LDAP_JACKRABBIT_VOLUME\": \"pd-standard\",\n          \"APP_VOLUME_TYPE\": 11,\n          \"LDAP_STATIC_VOLUME_ID\": \"\",\n          \"LDAP_STATIC_DISK_URI\": \"\",\n          \"GLUU_CACHE_TYPE\": \"NATIVE_PERSISTENCE\",\n          \"GLUU_NAMESPACE\": \"gluu\",\n          \"GLUU_FQDN\": \"demoexample.gluu.org\",\n          \"COUNTRY_CODE\": \"US\",\n          \"STATE\": \"TX\",\n          \"EMAIL\": \"support@gluu.org\",\n          \"CITY\": \"Austin\",\n          \"ORG_NAME\": \"Gluu\",\n          \"GMAIL_ACCOUNT\": \"${{ secrets.google_email }}\",\n          \"GOOGLE_NODE_HOME_DIR\": \"\",\n          \"IS_GLUU_FQDN_REGISTERED\": \"N\",\n          \"LDAP_PW\": \"nTB5#|\",\n          \"ADMIN_PW\": \"@4n,Js\",\n          \"OXD_SERVER_PW\": \"n8H0NKuGTXsn\",\n          \"OXD_APPLICATION_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_ADMIN_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_SERVER_STORAGE\": \"h2\",\n          \"LDAP_STORAGE_SIZE\": \"4Gi\",\n          \"OXAUTH_REPLICAS\": 1,\n          \"OXTRUST_REPLICAS\": 1,\n          \"FIDO2_REPLICAS\": 1,\n          \"SCIM_REPLICAS\": 1,\n          \"LDAP_REPLICAS\": 1,\n          \"OXSHIBBOLETH_REPLICAS\": 1,\n          \"OXPASSPORT_REPLICAS\": 1,\n          \"OXD_SERVER_REPLICAS\": 1,\n          \"CASA_REPLICAS\": 1,\n          \"ENABLE_OXTRUST_API\": \"N\",\n          \"ENABLE_OXTRUST_TEST_MODE\": \"N\",\n          \"ENABLE_CACHE_REFRESH\": \"N\",\n          \"ENABLE_OXD\": \"Y\",\n          \"ENABLE_FIDO2\": \"Y\",\n          \"ENABLE_SCIM\": \"Y\",\n          \"ENABLE_OXPASSPORT\": \"Y\",\n          \"ENABLE_OXSHIBBOLETH\": \"Y\",\n          \"ENABLE_CASA\": \"Y\",\n          \"OXAUTH_KEYS_LIFE\": 48,\n          \"ENABLE_OXAUTH_KEY_ROTATE\": \"Y\",\n          \"ENABLE_OXTRUST_API_BOOLEAN\": \"true\",\n          \"ENABLE_OXTRUST_TEST_MODE_BOOLEAN\": \"false\",\n          \"ENABLE_OXPASSPORT_BOOLEAN\": \"true\",\n          \"ENABLE_CASA_BOOLEAN\": \"true\",\n          \"ENABLE_SAML_BOOLEAN\": \"true\",\n          \"EDIT_IMAGE_NAMES_TAGS\": \"N\",\n          \"CONFIRM_PARAMS\": \"Y\",\n          \"GLUU_LDAP_MULTI_CLUSTER\": \"N\"\n        }\n        EOF\n\n    - name: Test Pygluu ldap helm\n      id: test_kubernetes_ldap_helm\n      run: |\n          cd /home/runner/work/test/\n          sudo ./pygluu-kubernetes.pyz helm-install\n          sleep 30\n          sudo kubectl wait -n gluu --for=condition=ready pod --timeout=900s -l statefulset.kubernetes.io/pod-name=helm-opendj-0 || sudo kubectl logs -l app=opendj -c opendj -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=600s deploy/helm-oxauth || sudo kubectl logs -l app=oxauth -c oxauth -n gluu || echo \"Not Found\"\n          sudo kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=helm-oxtrust-0 || sudo kubectl logs -l app=oxtrust -c oxtrust -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/helm-oxpassport || sudo kubectl logs -l app=oxpassport -c oxpassport -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/helm-casa || sudo kubectl logs -l app=casa -c casa -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/helm-oxd-server || sudo kubectl logs -l app=oxd-server -c oxd-server -n gluu || echo \"Not Found\"\n          sudo kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=helm-oxshibboleth-0 || sudo kubectl logs -l app=oxshiboleth -c oxshiboleth -n gluu || echo \"Not Found\"\n          sudo kubectl get po -n gluu\n          sudo ./pygluu-kubernetes.pyz helm-uninstall\n          sudo kubectl delete -f gluu_gke_yamls/nginx/. || echo \"Resources not found\"\n          sudo helm delete helm-ldap-backup -n gluu || echo \"Resources not found\"\n          sleep 20\n\n    - name: Test Pygluu couchbase helm\n      id: test_kubernetes_couchbase_helm\n      run: |\n        cd /home/runner/work/test/\n        cat settings.json | sed 's/\"INSTALL_COUCHBASE\": \"N\"/\"INSTALL_COUCHBASE\": \"Y\"/g' > tmpfile.py && mv tmpfile.py settings.json\n        sudo ./pygluu-kubernetes.pyz install-couchbase\n        cat settings.json | sed 's/\"INSTALL_COUCHBASE\": \"Y\"/\"INSTALL_COUCHBASE\": \"N\"/g' | sed -s \"s@cbgluu.cbns.svc.cluster.local@$COUCHBASE_IP@g\" > tmpfile.py && mv tmpfile.py settings.json\n        cat settings.json | sed 's/\"COUCHBASE_URL\": \"couchbase\"/\"COUCHBASE_URL\": \"cbgluu.cbns.svc.cluster.local\"/g' > tmpfile.py && mv tmpfile.py settings.json\n        cat settings.json | sed 's/\"COUCHBASE_URL\": \"\"/\"COUCHBASE_URL\": \"cbgluu.cbns.svc.cluster.local\"/g' > tmpfile.py && mv tmpfile.py settings.json\n        sudo ./pygluu-kubernetes.pyz helm-install\n        sudo kubectl delete -f couchbase-backup.yaml || echo \"Resources not found\"\n        sleep 30\n        sudo kubectl -n gluu wait --for=condition=available --timeout=600s deploy/helm-oxauth || sudo kubectl logs -l app=oxauth -c oxauth -n gluu || echo \"Not Found\"\n        sudo kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=helm-oxtrust-0 || sudo kubectl logs -l app=oxtrust -c oxtrust -n gluu || echo \"Not Found\"\n        sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/helm-oxpassport || sudo kubectl logs -l app=oxpassport -c oxpassport -n gluu || echo \"Not Found\"\n        sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/helm-casa || sudo kubectl logs -l app=casa -c casa -n gluu || echo \"Not Found\"\n        sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/helm-oxd-server || sudo kubectl logs -l app=oxd-server -c oxd-server -n gluu || echo \"Not Found\"\n        sudo kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=helm-oxshibboleth-0 || sudo kubectl logs -l app=oxshiboleth -c oxshiboleth -n gluu || echo \"Not Found\"\n        sudo kubectl get po -n cbns\n        sudo kubectl get po -n gluu\n        sudo ./pygluu-kubernetes.pyz uninstall-couchbase\n        sudo ./pygluu-kubernetes.pyz helm-uninstall\n        sudo kubectl delete -f gluu_gke_yamls/nginx/. || echo \"Resources not found\"\n        sleep 20\n        sudo kubectl get po -n cbns\n        sudo kubectl get po -n gluu\n\n\n    - name: Uninstall and destroy cluster\n      if: always()\n      run: |\n          cd /home/runner/work/test/\n          sudo ./pygluu-kubernetes.pyz uninstall-couchbase || echo \"pygluu failed\"\n          sudo ./pygluu-kubernetes.pyz helm-uninstall || echo \"pygluu failed\"\n          GKE_NAME=$(cat gke_cluster_name || echo \"noname\")\n          sudo gcloud container clusters delete $GKE_NAME --zone ${{ secrets.google_region }}-a --quiet\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:05.993287", "created_at": "2022-07-05T12:53:10+02:00", "updated_at": "2022-07-05T13:08:00+02:00", "name": "microk8s", "path": ".github/workflows/ldap_microk8s.yml", "contents": "name: microk8s\n# This builds, packages and tests pygluu-kubernetes\non:\n  push:\n    paths:\n      - \"pygluu/**\"\n      - \"tests/**\"\n      - \"setup.py\"\n    branches:\n      - \"4.5\"\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Test with Microk8s\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 6\n      matrix:\n        python-version: [3.9]\n        gluu-version: ['\"4.5.4_dev\"']\n        test-cases: [\"install\", \"helm-install\"]\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo python3 -m pip install --upgrade pip\n        sudo pip3 install setuptools --upgrade\n        sudo pip3 install pyOpenSSL --upgrade\n        sudo pip3 install requests --upgrade\n\n    - name: Lint with flake8\n      run: |\n        sudo pip3 install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        sudo flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        sudo flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Build pygluu\n      run: |\n        sudo apt-get update\n        sudo apt-get install build-essential\n        sudo pip3 install -U shiv wheel setuptools\n        mkdir /home/runner/work/test\n        cp -r ./* /home/runner/work/test/\n        cd /home/runner/work/test/\n        sudo make zipapp\n\n    - name: Test 1 settings(LDAP)\n      id: test1_settings\n      run: |\n        default_iface=$(awk '$2 == 00000000 { print $1 }' /proc/net/route)\n        ip=$(ip addr show dev \"$default_iface\" | awk '$1 == \"inet\" { sub(\"/.*\", \"\", $2); print $2 }')\n        cat <<EOF > /home/runner/work/test/settings.json\n        {\n          \"ACCEPT_GLUU_LICENSE\": \"Y\",\n          \"TEST_ENVIRONMENT\": \"Y\",\n          \"GLUU_VERSION\": ${{ matrix.gluu-version }},\n          \"GLUU_UPGRADE_TARGET_VERSION\": \"\",\n          \"NGINX_INGRESS_NAMESPACE\": \"ingress-nginx\",\n          \"GLUU_HELM_RELEASE_NAME\": \"gluu\",\n          \"NGINX_INGRESS_RELEASE_NAME\": \"ningress\",\n          \"INSTALL_POSTGRES\": \"Y\",\n          \"POSTGRES_NAMESPACE\": \"postgres\",\n          \"POSTGRES_URL\": \"postgres.postgres.svc.cluster.local\",\n          \"USE_ISTIO\": \"N\",\n          \"USE_ISTIO_INGRESS\": \"N\",\n          \"MIGRATION_ENABLED\": \"N\",\n          \"ISTIO_SYSTEM_NAMESPACE\": \"istio-system\",\n          \"NODES_IPS\": [\n            \"$ip\"\n          ],\n          \"NODES_ZONES\": [],\n          \"NODES_NAMES\": [],\n          \"NODE_SSH_KEY\": \"\",\n          \"HOST_EXT_IP\": \"$ip\",\n          \"VERIFY_EXT_IP\": \"\",\n          \"AWS_LB_TYPE\": \"\",\n          \"USE_ARN\": \"\",\n          \"ARN_AWS_IAM\": \"\",\n          \"LB_ADD\": \"\",\n          \"REDIS_URL\": \"\",\n          \"REDIS_TYPE\": \"\",\n          \"REDIS_PW\": \"\",\n          \"REDIS_USE_SSL\": \"false\",\n          \"DEPLOYMENT_ARCH\": \"microk8s\",\n          \"PERSISTENCE_BACKEND\": \"ldap\",\n          \"INSTALL_JACKRABBIT\": \"Y\",\n          \"JACKRABBIT_STORAGE_SIZE\": \"4Gi\",\n          \"JACKRABBIT_URL\": \"http://jackrabbit:8080\",\n          \"JACKRABBIT_ADMIN_ID\": \"admin\",\n          \"JACKRABBIT_ADMIN_PASSWORD\": \"admin\",\n          \"JACKRABBIT_CLUSTER\": \"N\",\n          \"JACKRABBIT_PG_USER\": \"jackrabbit\",\n          \"JACKRABBIT_PG_PASSWORD\": \"jackrabbit\",\n          \"JACKRABBIT_DATABASE\": \"jackrabbit\",\n          \"INSTALL_COUCHBASE\": \"Y\",\n          \"COUCHBASE_NAMESPACE\": \"cbns\",\n          \"COUCHBASE_VOLUME_TYPE\": \"io1\",\n          \"COUCHBASE_CLUSTER_NAME\": \"cbgluu\",\n          \"COUCHBASE_URL\": \"cbgluu.cbns.svc.cluster.local\",\n          \"COUCHBASE_INDEX_NUM_REPLICA\": \"0\",\n          \"COUCHBASE_USER\": \"gluu\",\n          \"COUCHBASE_SUPERUSER\": \"admin\",\n          \"COUCHBASE_BUCKET_PREFIX\": \"test\",\n          \"COUCHBASE_PASSWORD\": \"nTB5#|\",\n          \"COUCHBASE_SUPERUSER_PASSWORD\": \"nTB5#2\",\n          \"COUCHBASE_CRT\": \"\",\n          \"COUCHBASE_CN\": \"Couchbase CN\",\n          \"COUCHBASE_SUBJECT_ALT_NAME\": \"\",\n          \"COUCHBASE_CLUSTER_FILE_OVERRIDE\": \"N\",\n          \"COUCHBASE_USE_LOW_RESOURCES\": \"Y\",\n          \"COUCHBASE_DATA_NODES\": \"\",\n          \"COUCHBASE_QUERY_NODES\": \"\",\n          \"COUCHBASE_INDEX_NODES\": \"\",\n          \"COUCHBASE_SEARCH_EVENTING_ANALYTICS_NODES\": \"\",\n          \"COUCHBASE_GENERAL_STORAGE\": \"\",\n          \"COUCHBASE_DATA_STORAGE\": \"\",\n          \"COUCHBASE_INDEX_STORAGE\": \"\",\n          \"COUCHBASE_QUERY_STORAGE\": \"\",\n          \"COUCHBASE_ANALYTICS_STORAGE\": \"\",\n          \"COUCHBASE_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"COUCHBASE_BACKUP_RESTORE_POINTS\": 1,\n          \"LDAP_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"NUMBER_OF_EXPECTED_USERS\": \"\",\n          \"EXPECTED_TRANSACTIONS_PER_SEC\": \"\",\n          \"USING_CODE_FLOW\": \"\",\n          \"USING_SCIM_FLOW\": \"\",\n          \"USING_RESOURCE_OWNER_PASSWORD_CRED_GRANT_FLOW\": \"\",\n          \"DEPLOY_MULTI_CLUSTER\": \"N\",\n          \"HYBRID_LDAP_HELD_DATA\": \"\",\n          \"LDAP_JACKRABBIT_VOLUME\": \"\",\n          \"APP_VOLUME_TYPE\": 1,\n          \"LDAP_STATIC_VOLUME_ID\": \"\",\n          \"LDAP_STATIC_DISK_URI\": \"\",\n          \"GLUU_CACHE_TYPE\": \"NATIVE_PERSISTENCE\",\n          \"GLUU_NAMESPACE\": \"gluu\",\n          \"GLUU_FQDN\": \"demoexample.gluu.org\",\n          \"COUNTRY_CODE\": \"US\",\n          \"STATE\": \"TX\",\n          \"EMAIL\": \"support@gluu.org\",\n          \"CITY\": \"Austin\",\n          \"ORG_NAME\": \"Gluu\",\n          \"GMAIL_ACCOUNT\": \"\",\n          \"GOOGLE_NODE_HOME_DIR\": \"\",\n          \"IS_GLUU_FQDN_REGISTERED\": \"N\",\n          \"LDAP_PW\": \"nTB5#|\",\n          \"ADMIN_PW\": \"@4n,Js\",\n          \"OXD_SERVER_PW\": \"n8H0NKuGTXsn\",\n          \"OXD_APPLICATION_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_ADMIN_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_SERVER_STORAGE\": \"h2\",\n          \"LDAP_STORAGE_SIZE\": \"4Gi\",\n          \"OXAUTH_REPLICAS\": 1,\n          \"OXTRUST_REPLICAS\": 1,\n          \"LDAP_REPLICAS\": 1,\n          \"FIDO2_REPLICAS\": 1,\n          \"SCIM_REPLICAS\": 1,\n          \"OXSHIBBOLETH_REPLICAS\": 1,\n          \"OXPASSPORT_REPLICAS\": 1,\n          \"OXD_SERVER_REPLICAS\": 1,\n          \"CASA_REPLICAS\": 1,\n          \"ENABLE_OXTRUST_API\": \"N\",\n          \"ENABLE_OXTRUST_TEST_MODE\": \"N\",\n          \"ENABLE_CACHE_REFRESH\": \"N\",\n          \"ENABLE_OXD\": \"Y\",\n          \"ENABLE_OXPASSPORT\": \"Y\",\n          \"ENABLE_OXSHIBBOLETH\": \"Y\",\n          \"ENABLE_FIDO2\": \"Y\",\n          \"ENABLE_SCIM\": \"Y\",\n          \"ENABLE_CASA\": \"Y\",\n          \"OXAUTH_KEYS_LIFE\": 48,\n          \"ENABLE_OXAUTH_KEY_ROTATE\": \"Y\",\n          \"ENABLE_OXTRUST_API_BOOLEAN\": \"true\",\n          \"ENABLE_OXTRUST_TEST_MODE_BOOLEAN\": \"false\",\n          \"ENABLE_OXPASSPORT_BOOLEAN\": \"true\",\n          \"ENABLE_CASA_BOOLEAN\": \"true\",\n          \"ENABLE_SAML_BOOLEAN\": \"true\",\n          \"EDIT_IMAGE_NAMES_TAGS\": \"N\",\n          \"CONFIRM_PARAMS\": \"Y\",\n          \"GLUU_LDAP_MULTI_CLUSTER\": \"N\",\n          \"GLUU_INSTALL_SQL\": \"N\",\n          \"GLUU_SQL_DB_DIALECT\": \"mysql\",\n          \"GLUU_SQL_DB_NAMESPACE\": \"sql\",\n          \"GLUU_SQL_DB_HOST\": \"gluu-postgresql.sql.svc.cluster.local\",\n          \"GLUU_SQL_DB_PORT\": \"3306\",\n          \"GLUU_SQL_DB_NAME\": \"gluu\",\n          \"GLUU_SQL_DB_USER\": \"gluu\",\n          \"GLUU_SQL_DB_PASSWORD\": \"Test1234#\",\n          \"GLUU_SCIM_PROTECTION_MODE\": \"OAUTH\",\n          \"NGINX_LEGACY\": \"N\",\n          \"SPANNER_EMULATOR_HOST\": \"\",\n          \"CONTAINER_REGISTRY_SECRET_NAME\": \"regcred\",\n          \"USE_CUSTOM_SALT\": \"N\",\n          \"SALT\": \"\",\n          \"DOCUMENT_STORE_TYPE\": \"DB\"\n        }\n        EOF\n\n    - name: Install microk8s\n      run: |\n        sudo snap install microk8s --classic --channel=1.21\n        sudo snap alias microk8s.kubectl kubectl\n        sudo microk8s.status --wait-ready\n        sudo microk8s.enable dns registry ingress\n\n    - name: Install Helm\n      run: |\n        curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3\n        chmod 700 get_helm.sh\n        ./get_helm.sh\n        sudo helm version\n\n    - name: Test Pygluu kubernetes\n      id: test_kubernetes\n      run: |\n          cd /home/runner/work/test/\n          INSTALL=TRUE\n          [[ -f sqlfile  && \"${{ matrix.test-cases }}\" == \"install\"  ]] && INSTALL=FALSE\n          [[ \"$INSTALL\" == \"TRUE\" ]] && sudo ./pygluu-kubernetes.pyz ${{ matrix.test-cases }}\n          sleep 30\n          sudo microk8s.kubectl get po -n cbns\n          sudo microk8s.kubectl get po -n gluu\n          cat /home/runner/work/test/settings.json\n          sudo kubectl -n gluu wait --for=condition=available --timeout=600s deploy/gluu-oxauth || sudo kubectl logs -l app=oxauth -c oxauth -n gluu || echo \"Not Found\"\n          sudo kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=gluu-oxtrust-0 || sudo kubectl logs -l app=oxtrust -c oxtrust -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/gluu-oxpassport || sudo kubectl logs -l app=oxpassport -c oxpassport -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/gluu-casa || sudo kubectl logs -l app=casa -c casa -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/gluu-oxd-server || sudo kubectl logs -l app=oxd-server -c oxd-server -n gluu || echo \"Not Found\"\n          sudo kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=gluu-oxshibboleth-0 || sudo kubectl logs -l app=oxshiboleth -c oxshiboleth -n gluu || echo \"Not Found\"\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:06.998090", "created_at": "2020-03-04T12:59:38+01:00", "updated_at": "2021-07-15T15:34:34+02:00", "name": "microk8s", "path": ".github/workflows/microk8s.yml", "contents": "name: microk8s\n# This builds, packages and tests pygluu-kubernetes\non:\n  push:\n    paths:\n      - \"pygluu/**\"\n      - \"tests/**\"\n      - \"setup.py\"\n  workflow_dispatch:\njobs:\n  build:\n\n    runs-on: ubuntu-22.04\n    strategy:\n      max-parallel: 6\n      matrix:\n        gluu-version: ['\"4.5\"']\n        test-cases: [\"install\", \"helm-install\"]\n        # add '\"pgsql\" when supported\n        persistence-backends: ['\"ldap\"','\"couchbase\"','\"sql\"']\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n    - name: Lint with flake8\n      run: |\n        sudo apt-get update\n        sudo pip3 install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        sudo flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        sudo flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Build Zipapp\n      run: |\n        sudo apt-get install build-essential\n        sudo pip3 install -U shiv wheel setuptools\n        mkdir /home/runner/work/test\n        cp -r ./* /home/runner/work/test/\n        cd /home/runner/work/test/\n        sudo make zipapp\n\n    - name: Test 1 settings(LDAP)\n      id: test1_settings\n      run: |\n        ip=$(curl ipinfo.io/ip)\n        cat <<EOF > /home/runner/work/test/settings.json\n        {\n          \"ACCEPT_GLUU_LICENSE\": \"Y\",\n          \"TEST_ENVIRONMENT\": \"Y\",\n          \"GLUU_VERSION\": ${{ matrix.gluu-version }},\n          \"GLUU_UPGRADE_TARGET_VERSION\": \"\",\n          \"NGINX_INGRESS_NAMESPACE\": \"ingress-nginx\",\n          \"GLUU_HELM_RELEASE_NAME\": \"gluu\",\n          \"NGINX_INGRESS_RELEASE_NAME\": \"ningress\",\n          \"INSTALL_POSTGRES\": \"\",\n          \"POSTGRES_NAMESPACE\": \"\",\n          \"POSTGRES_URL\": \"\",\n          \"USE_ISTIO\": \"N\",\n          \"USE_ISTIO_INGRESS\": \"\",\n          \"MIGRATION_ENABLED\": \"N\",\n          \"ISTIO_SYSTEM_NAMESPACE\": \"\",\n          \"NODES_IPS\": [\n            \"$ip\"\n          ],\n          \"NODES_ZONES\": [],\n          \"NODES_NAMES\": [],\n          \"NODE_SSH_KEY\": \"\",\n          \"HOST_EXT_IP\": \"$ip\",\n          \"VERIFY_EXT_IP\": \"\",\n          \"AWS_LB_TYPE\": \"\",\n          \"USE_ARN\": \"\",\n          \"ARN_AWS_IAM\": \"\",\n          \"LB_ADD\": \"\",\n          \"REDIS_URL\": \"\",\n          \"REDIS_TYPE\": \"\",\n          \"REDIS_PW\": \"\",\n          \"REDIS_USE_SSL\": \"false\",\n          \"DEPLOYMENT_ARCH\": \"microk8s\",\n          \"PERSISTENCE_BACKEND\": ${{ matrix.persistence-backends }},\n          \"INSTALL_JACKRABBIT\": \"N\",\n          \"JACKRABBIT_STORAGE_SIZE\": \"\",\n          \"JACKRABBIT_URL\": \"\",\n          \"JACKRABBIT_ADMIN_ID\": \"\",\n          \"JACKRABBIT_ADMIN_PASSWORD\": \"\",\n          \"JACKRABBIT_CLUSTER\": \"\",\n          \"JACKRABBIT_PG_USER\": \"\",\n          \"JACKRABBIT_PG_PASSWORD\": \"\",\n          \"JACKRABBIT_DATABASE\": \"\",\n          \"INSTALL_COUCHBASE\": \"Y\",\n          \"COUCHBASE_NAMESPACE\": \"cbns\",\n          \"COUCHBASE_VOLUME_TYPE\": \"io1\",\n          \"COUCHBASE_CLUSTER_NAME\": \"cbgluu\",\n          \"COUCHBASE_URL\": \"cbgluu.cbns.svc.cluster.local\",\n          \"COUCHBASE_INDEX_NUM_REPLICA\": \"0\",\n          \"COUCHBASE_USER\": \"gluu\",\n          \"COUCHBASE_SUPERUSER\": \"admin\",\n          \"COUCHBASE_BUCKET_PREFIX\": \"test\",\n          \"COUCHBASE_PASSWORD\": \"nTB5#|\",\n          \"COUCHBASE_SUPERUSER_PASSWORD\": \"nTB5#2\",\n          \"COUCHBASE_CRT\": \"\",\n          \"COUCHBASE_CN\": \"Couchbase CN\",\n          \"COUCHBASE_SUBJECT_ALT_NAME\": \"\",\n          \"COUCHBASE_CLUSTER_FILE_OVERRIDE\": \"N\",\n          \"COUCHBASE_USE_LOW_RESOURCES\": \"Y\",\n          \"COUCHBASE_DATA_NODES\": \"\",\n          \"COUCHBASE_QUERY_NODES\": \"\",\n          \"COUCHBASE_INDEX_NODES\": \"\",\n          \"COUCHBASE_SEARCH_EVENTING_ANALYTICS_NODES\": \"\",\n          \"COUCHBASE_GENERAL_STORAGE\": \"\",\n          \"COUCHBASE_DATA_STORAGE\": \"\",\n          \"COUCHBASE_INDEX_STORAGE\": \"\",\n          \"COUCHBASE_QUERY_STORAGE\": \"\",\n          \"COUCHBASE_ANALYTICS_STORAGE\": \"\",\n          \"COUCHBASE_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"COUCHBASE_BACKUP_RESTORE_POINTS\": 1,\n          \"LDAP_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"NUMBER_OF_EXPECTED_USERS\": \"\",\n          \"EXPECTED_TRANSACTIONS_PER_SEC\": \"\",\n          \"USING_CODE_FLOW\": \"\",\n          \"USING_SCIM_FLOW\": \"\",\n          \"USING_RESOURCE_OWNER_PASSWORD_CRED_GRANT_FLOW\": \"\",\n          \"DEPLOY_MULTI_CLUSTER\": \"\",\n          \"HYBRID_LDAP_HELD_DATA\": \"\",\n          \"LDAP_JACKRABBIT_VOLUME\": \"\",\n          \"APP_VOLUME_TYPE\": 1,\n          \"LDAP_STATIC_VOLUME_ID\": \"\",\n          \"LDAP_STATIC_DISK_URI\": \"\",\n          \"GLUU_CACHE_TYPE\": \"NATIVE_PERSISTENCE\",\n          \"GLUU_NAMESPACE\": \"gluu\",\n          \"GLUU_FQDN\": \"demoexample.gluu.org\",\n          \"COUNTRY_CODE\": \"US\",\n          \"STATE\": \"TX\",\n          \"EMAIL\": \"support@gluu.org\",\n          \"CITY\": \"Austin\",\n          \"ORG_NAME\": \"Gluu\",\n          \"GMAIL_ACCOUNT\": \"\",\n          \"GOOGLE_NODE_HOME_DIR\": \"\",\n          \"IS_GLUU_FQDN_REGISTERED\": \"N\",\n          \"LDAP_PW\": \"nTB5#|\",\n          \"ADMIN_PW\": \"@4n,Js\",\n          \"OXD_SERVER_PW\": \"n8H0NKuGTXsn\",\n          \"OXD_APPLICATION_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_ADMIN_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_SERVER_STORAGE\": \"h2\",\n          \"LDAP_STORAGE_SIZE\": \"4Gi\",\n          \"OXAUTH_REPLICAS\": 1,\n          \"OXTRUST_REPLICAS\": 1,\n          \"LDAP_REPLICAS\": 1,\n          \"FIDO2_REPLICAS\": 1,\n          \"SCIM_REPLICAS\": 1,\n          \"OXSHIBBOLETH_REPLICAS\": 1,\n          \"OXPASSPORT_REPLICAS\": 1,\n          \"OXD_SERVER_REPLICAS\": 1,\n          \"CASA_REPLICAS\": 1,\n          \"ENABLE_OXTRUST_API\": \"N\",\n          \"ENABLE_OXTRUST_TEST_MODE\": \"N\",\n          \"ENABLE_CACHE_REFRESH\": \"N\",\n          \"ENABLE_OXD\": \"Y\",\n          \"ENABLE_OXPASSPORT\": \"Y\",\n          \"ENABLE_OXSHIBBOLETH\": \"Y\",\n          \"ENABLE_FIDO2\": \"Y\",\n          \"ENABLE_SCIM\": \"Y\",\n          \"ENABLE_CASA\": \"Y\",\n          \"OXAUTH_KEYS_LIFE\": 48,\n          \"ENABLE_OXAUTH_KEY_ROTATE\": \"Y\",\n          \"ENABLE_OXTRUST_API_BOOLEAN\": \"true\",\n          \"ENABLE_OXTRUST_TEST_MODE_BOOLEAN\": \"false\",\n          \"ENABLE_OXPASSPORT_BOOLEAN\": \"true\",\n          \"ENABLE_CASA_BOOLEAN\": \"true\",\n          \"ENABLE_SAML_BOOLEAN\": \"true\",\n          \"EDIT_IMAGE_NAMES_TAGS\": \"N\",\n          \"CONFIRM_PARAMS\": \"Y\",\n          \"GLUU_LDAP_MULTI_CLUSTER\": \"N\",\n          \"GLUU_INSTALL_SQL\": \"N\",\n          \"GLUU_SQL_DB_DIALECT\": \"mysql\",\n          \"GLUU_SQL_DB_NAMESPACE\": \"sql\",\n          \"GLUU_SQL_DB_HOST\": \"gluu-mysql.sql.svc.cluster.local\",\n          \"GLUU_SQL_DB_PORT\": 3306,\n          \"GLUU_SQL_DB_NAME\": \"gluu\",\n          \"GLUU_SQL_DB_USER\": \"gluu\",\n          \"GLUU_SQL_DB_PASSWORD\": \"Test1234#\",\n          \"GLUU_SCIM_PROTECTION_MODE\": \"OAUTH\",\n          \"NGINX_LEGACY\": \"N\",\n          \"SPANNER_EMULATOR_HOST\": \"\",\n          \"CONTAINER_REGISTRY_SECRET_NAME\": \"regcred\",\n          \"USE_CUSTOM_SALT\": \"N\",\n          \"SALT\": \"\",\n          \"DOCUMENT_STORE_TYPE\": \"DB\"\n        }\n        EOF\n\n\n    - name: Install microk8s\n      run: |\n        sudo snap install microk8s --classic\n        sudo microk8s.status --wait-ready\n        sudo microk8s.enable dns registry ingress helm3\n        sudo snap alias microk8s.kubectl kubectl\n        sudo snap alias microk8s.helm3 helm\n        sudo helm version\n\n    - name: Install Couchbase\n      if: ${{ matrix.persistence-backends == '\"couchbase\"' }}\n      run: |\n          cd /home/runner/work/test/\n          wget ${{ secrets.cbpackage }}\n          sudo ./pygluu-kubernetes.pyz install-couchbase || { sudo rm -rf ./couchbase; sudo ./pygluu-kubernetes.pyz install-couchbase; }\n          COUCHBASE_IP=$(sudo microk8s.kubectl get po cbgluu-0000 -n cbns --template={{.status.podIP}})\n          cat settings.json | sed 's/\"INSTALL_COUCHBASE\": \"Y\"/\"INSTALL_COUCHBASE\": \"N\"/g' |  sed -s \"s@cbgluu.cbns.svc.cluster.local@$COUCHBASE_IP@g\" > tmpfile.py && mv tmpfile.py settings.json\n\n    - name: SQL\n      if: ${{ matrix.persistence-backends == '\"sql\"' }}\n      run: |\n          cd /home/runner/work/test/\n          sudo microk8s config > config\n          cat settings.json | sed 's/\"INSTALL_COUCHBASE\": \"Y\"/\"INSTALL_COUCHBASE\": \"N\"/g' |  sed -s \"s@cbgluu.cbns.svc.cluster.local@$COUCHBASE_IP@g\" > tmpfile.py && mv tmpfile.py settings.json\n          cat settings.json | sed 's/\"GLUU_INSTALL_SQL\": \"N\"/\"GLUU_INSTALL_SQL\": \"Y\"/g' > tmpfile.py && mv tmpfile.py settings.json\n          touch sqlfile\n\n\n   # - name: PostGRE\n   #   if: ${{ matrix.persistence-backends == '\"pgsql\"' }}\n   #   run: |\n   #       cd /home/runner/work/test/\n   #       cat settings.json | sed 's/\"INSTALL_COUCHBASE\": \"Y\"/\"INSTALL_COUCHBASE\": \"N\"/g' |  sed -s \"s@cbgluu.cbns.svc.cluster.local@$COUCHBASE_IP@g\" > tmpfile.py && mv tmpfile.py settings.json\n   #       cat settings.json | sed 's/\"GLUU_INSTALL_SQL\": \"N\"/\"GLUU_INSTALL_SQL\": \"Y\"/g' > tmpfile.py && mv tmpfile.py settings.json\n   #       cat settings.json | sed 's/\"GLUU_SQL_DB_DIALECT\": \"mysql\"/\"GLUU_SQL_DB_DIALECT\": \"pgsql\"/g' > tmpfile.py && mv tmpfile.py settings.json\n   #       cat settings.json | sed 's/\"PERSISTENCE_BACKEND\": \"pgsql\"/\"PERSISTENCE_BACKEND\": \"sql\"/g' > tmpfile.py && mv tmpfile.py settings.json\n   #       touch sqlfile\n\n\n    - name: Test Pygluu kubernetes\n      id: test_kubernetes\n      run: |\n          cd /home/runner/work/test/\n          INSTALL=TRUE\n          [[ -f sqlfile  && \"${{ matrix.test-cases }}\" == \"install\"  ]] && INSTALL=FALSE\n          [[ \"$INSTALL\" == \"TRUE\" ]] && sudo ./pygluu-kubernetes.pyz ${{ matrix.test-cases }}\n          sleep 30\n          sudo microk8s.kubectl get po -n cbns\n          sudo microk8s.kubectl get po -n gluu\n          cat /home/runner/work/test/settings.json\n          sudo kubectl -n gluu wait --for=condition=available --timeout=600s deploy/gluu-oxauth || sudo kubectl logs -l app=oxauth -c oxauth -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=gluu-oxtrust-0 || sudo kubectl logs -l app=oxtrust -c oxtrust -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/gluu-oxd-server || sudo kubectl logs -l app=oxd-server -c oxd-server -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=gluu-oxshibboleth-0 || sudo kubectl logs -l app=oxshiboleth -c oxshiboleth -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/gluu-casa || sudo kubectl logs -l app=casa -c casa -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/gluu-oxpassport || sudo kubectl logs -l app=oxpassport -c oxpassport -n gluu || echo \"Not Found\"\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:08.052221", "created_at": "2022-07-05T12:53:10+02:00", "updated_at": "2022-07-05T13:08:00+02:00", "name": "microk8s", "path": ".github/workflows/pgsql_microk8s.yml", "contents": "name: microk8s\n# This builds, packages and tests pygluu-kubernetes\non:\n  push:\n    paths:\n      - \"pygluu/**\"\n      - \"tests/**\"\n      - \"setup.py\"\n    branches:\n      - \"4.5\"\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Test with Microk8s\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 6\n      matrix:\n        python-version: [3.9]\n        gluu-version: ['\"4.5.4_dev\"']\n        test-cases: [\"install\", \"helm-install\"]\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo python3 -m pip install --upgrade pip\n        sudo pip3 install setuptools --upgrade\n        sudo pip3 install pyOpenSSL --upgrade\n        sudo pip3 install requests --upgrade\n\n    - name: Lint with flake8\n      run: |\n        sudo pip3 install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        sudo flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        sudo flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Build pygluu\n      run: |\n        sudo apt-get update\n        sudo apt-get install build-essential\n        sudo pip3 install -U shiv wheel setuptools\n        mkdir /home/runner/work/test\n        cp -r ./* /home/runner/work/test/\n        cd /home/runner/work/test/\n        sudo make zipapp\n\n    - name: Test 1 settings(LDAP)\n      id: test1_settings\n      run: |\n        default_iface=$(awk '$2 == 00000000 { print $1 }' /proc/net/route)\n        ip=$(ip addr show dev \"$default_iface\" | awk '$1 == \"inet\" { sub(\"/.*\", \"\", $2); print $2 }')\n        cat <<EOF > /home/runner/work/test/settings.json\n        {\n          \"ACCEPT_GLUU_LICENSE\": \"Y\",\n          \"TEST_ENVIRONMENT\": \"Y\",\n          \"GLUU_VERSION\": ${{ matrix.gluu-version }},\n          \"GLUU_UPGRADE_TARGET_VERSION\": \"\",\n          \"NGINX_INGRESS_NAMESPACE\": \"ingress-nginx\",\n          \"GLUU_HELM_RELEASE_NAME\": \"gluu\",\n          \"NGINX_INGRESS_RELEASE_NAME\": \"ningress\",\n          \"INSTALL_POSTGRES\": \"Y\",\n          \"POSTGRES_NAMESPACE\": \"postgres\",\n          \"POSTGRES_URL\": \"postgres.postgres.svc.cluster.local\",\n          \"USE_ISTIO\": \"N\",\n          \"USE_ISTIO_INGRESS\": \"N\",\n          \"MIGRATION_ENABLED\": \"N\",\n          \"ISTIO_SYSTEM_NAMESPACE\": \"istio-system\",\n          \"NODES_IPS\": [\n            \"$ip\"\n          ],\n          \"NODES_ZONES\": [],\n          \"NODES_NAMES\": [],\n          \"NODE_SSH_KEY\": \"\",\n          \"HOST_EXT_IP\": \"$ip\",\n          \"VERIFY_EXT_IP\": \"\",\n          \"AWS_LB_TYPE\": \"\",\n          \"USE_ARN\": \"\",\n          \"ARN_AWS_IAM\": \"\",\n          \"LB_ADD\": \"\",\n          \"REDIS_URL\": \"\",\n          \"REDIS_TYPE\": \"\",\n          \"REDIS_PW\": \"\",\n          \"REDIS_USE_SSL\": \"false\",\n          \"DEPLOYMENT_ARCH\": \"microk8s\",\n          \"PERSISTENCE_BACKEND\": \"pgsql\",\n          \"INSTALL_JACKRABBIT\": \"Y\",\n          \"JACKRABBIT_STORAGE_SIZE\": \"4Gi\",\n          \"JACKRABBIT_URL\": \"http://jackrabbit:8080\",\n          \"JACKRABBIT_ADMIN_ID\": \"admin\",\n          \"JACKRABBIT_ADMIN_PASSWORD\": \"admin\",\n          \"JACKRABBIT_CLUSTER\": \"N\",\n          \"JACKRABBIT_PG_USER\": \"jackrabbit\",\n          \"JACKRABBIT_PG_PASSWORD\": \"jackrabbit\",\n          \"JACKRABBIT_DATABASE\": \"jackrabbit\",\n          \"INSTALL_COUCHBASE\": \"Y\",\n          \"COUCHBASE_NAMESPACE\": \"cbns\",\n          \"COUCHBASE_VOLUME_TYPE\": \"io1\",\n          \"COUCHBASE_CLUSTER_NAME\": \"cbgluu\",\n          \"COUCHBASE_URL\": \"cbgluu.cbns.svc.cluster.local\",\n          \"COUCHBASE_INDEX_NUM_REPLICA\": \"0\",\n          \"COUCHBASE_USER\": \"gluu\",\n          \"COUCHBASE_SUPERUSER\": \"admin\",\n          \"COUCHBASE_BUCKET_PREFIX\": \"test\",\n          \"COUCHBASE_PASSWORD\": \"nTB5#|\",\n          \"COUCHBASE_SUPERUSER_PASSWORD\": \"nTB5#2\",\n          \"COUCHBASE_CRT\": \"\",\n          \"COUCHBASE_CN\": \"Couchbase CN\",\n          \"COUCHBASE_SUBJECT_ALT_NAME\": \"\",\n          \"COUCHBASE_CLUSTER_FILE_OVERRIDE\": \"N\",\n          \"COUCHBASE_USE_LOW_RESOURCES\": \"Y\",\n          \"COUCHBASE_DATA_NODES\": \"\",\n          \"COUCHBASE_QUERY_NODES\": \"\",\n          \"COUCHBASE_INDEX_NODES\": \"\",\n          \"COUCHBASE_SEARCH_EVENTING_ANALYTICS_NODES\": \"\",\n          \"COUCHBASE_GENERAL_STORAGE\": \"\",\n          \"COUCHBASE_DATA_STORAGE\": \"\",\n          \"COUCHBASE_INDEX_STORAGE\": \"\",\n          \"COUCHBASE_QUERY_STORAGE\": \"\",\n          \"COUCHBASE_ANALYTICS_STORAGE\": \"\",\n          \"COUCHBASE_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"COUCHBASE_BACKUP_RESTORE_POINTS\": 1,\n          \"LDAP_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"NUMBER_OF_EXPECTED_USERS\": \"\",\n          \"EXPECTED_TRANSACTIONS_PER_SEC\": \"\",\n          \"USING_CODE_FLOW\": \"\",\n          \"USING_SCIM_FLOW\": \"\",\n          \"USING_RESOURCE_OWNER_PASSWORD_CRED_GRANT_FLOW\": \"\",\n          \"DEPLOY_MULTI_CLUSTER\": \"N\",\n          \"HYBRID_LDAP_HELD_DATA\": \"\",\n          \"LDAP_JACKRABBIT_VOLUME\": \"\",\n          \"APP_VOLUME_TYPE\": 1,\n          \"LDAP_STATIC_VOLUME_ID\": \"\",\n          \"LDAP_STATIC_DISK_URI\": \"\",\n          \"GLUU_CACHE_TYPE\": \"NATIVE_PERSISTENCE\",\n          \"GLUU_NAMESPACE\": \"gluu\",\n          \"GLUU_FQDN\": \"demoexample.gluu.org\",\n          \"COUNTRY_CODE\": \"US\",\n          \"STATE\": \"TX\",\n          \"EMAIL\": \"support@gluu.org\",\n          \"CITY\": \"Austin\",\n          \"ORG_NAME\": \"Gluu\",\n          \"GMAIL_ACCOUNT\": \"\",\n          \"GOOGLE_NODE_HOME_DIR\": \"\",\n          \"IS_GLUU_FQDN_REGISTERED\": \"N\",\n          \"LDAP_PW\": \"nTB5#|\",\n          \"ADMIN_PW\": \"@4n,Js\",\n          \"OXD_SERVER_PW\": \"n8H0NKuGTXsn\",\n          \"OXD_APPLICATION_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_ADMIN_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_SERVER_STORAGE\": \"h2\",\n          \"LDAP_STORAGE_SIZE\": \"4Gi\",\n          \"OXAUTH_REPLICAS\": 1,\n          \"OXTRUST_REPLICAS\": 1,\n          \"LDAP_REPLICAS\": 1,\n          \"FIDO2_REPLICAS\": 1,\n          \"SCIM_REPLICAS\": 1,\n          \"OXSHIBBOLETH_REPLICAS\": 1,\n          \"OXPASSPORT_REPLICAS\": 1,\n          \"OXD_SERVER_REPLICAS\": 1,\n          \"CASA_REPLICAS\": 1,\n          \"ENABLE_OXTRUST_API\": \"N\",\n          \"ENABLE_OXTRUST_TEST_MODE\": \"N\",\n          \"ENABLE_CACHE_REFRESH\": \"N\",\n          \"ENABLE_OXD\": \"Y\",\n          \"ENABLE_OXPASSPORT\": \"Y\",\n          \"ENABLE_OXSHIBBOLETH\": \"Y\",\n          \"ENABLE_FIDO2\": \"Y\",\n          \"ENABLE_SCIM\": \"Y\",\n          \"ENABLE_CASA\": \"Y\",\n          \"OXAUTH_KEYS_LIFE\": 48,\n          \"ENABLE_OXAUTH_KEY_ROTATE\": \"Y\",\n          \"ENABLE_OXTRUST_API_BOOLEAN\": \"true\",\n          \"ENABLE_OXTRUST_TEST_MODE_BOOLEAN\": \"false\",\n          \"ENABLE_OXPASSPORT_BOOLEAN\": \"true\",\n          \"ENABLE_CASA_BOOLEAN\": \"true\",\n          \"ENABLE_SAML_BOOLEAN\": \"true\",\n          \"EDIT_IMAGE_NAMES_TAGS\": \"N\",\n          \"CONFIRM_PARAMS\": \"Y\",\n          \"GLUU_LDAP_MULTI_CLUSTER\": \"N\",\n          \"GLUU_INSTALL_SQL\": \"N\",\n          \"GLUU_SQL_DB_DIALECT\": \"mysql\",\n          \"GLUU_SQL_DB_NAMESPACE\": \"sql\",\n          \"GLUU_SQL_DB_HOST\": \"gluu-postgresql.sql.svc.cluster.local\",\n          \"GLUU_SQL_DB_PORT\": \"3306\",\n          \"GLUU_SQL_DB_NAME\": \"gluu\",\n          \"GLUU_SQL_DB_USER\": \"gluu\",\n          \"GLUU_SQL_DB_PASSWORD\": \"Test1234#\",\n          \"GLUU_SCIM_PROTECTION_MODE\": \"OAUTH\",\n          \"NGINX_LEGACY\": \"N\",\n          \"SPANNER_EMULATOR_HOST\": \"\",\n          \"CONTAINER_REGISTRY_SECRET_NAME\": \"regcred\",\n          \"USE_CUSTOM_SALT\": \"N\",\n          \"SALT\": \"\",\n          \"DOCUMENT_STORE_TYPE\": \"DB\"\n        }\n        EOF\n\n    - name: Install microk8s\n      run: |\n        sudo snap install microk8s --classic --channel=1.21\n        sudo snap alias microk8s.kubectl kubectl\n        sudo microk8s.status --wait-ready\n        sudo microk8s.enable dns registry ingress\n\n    - name: Install Helm\n      run: |\n        curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3\n        chmod 700 get_helm.sh\n        ./get_helm.sh\n        sudo helm version\n\n    - name: PostGRE\n      run: |\n          cd /home/runner/work/test/\n          cat settings.json | sed 's/\"INSTALL_COUCHBASE\": \"Y\"/\"INSTALL_COUCHBASE\": \"N\"/g' |  sed -s \"s@cbgluu.cbns.svc.cluster.local@$COUCHBASE_IP@g\" > tmpfile.py && mv tmpfile.py settings.json\n          cat settings.json | sed 's/\"GLUU_INSTALL_SQL\": \"N\"/\"GLUU_INSTALL_SQL\": \"Y\"/g' > tmpfile.py && mv tmpfile.py settings.json\n          cat settings.json | sed 's/\"GLUU_SQL_DB_DIALECT\": \"mysql\"/\"GLUU_SQL_DB_DIALECT\": \"pgsql\"/g' > tmpfile.py && mv tmpfile.py settings.json\n          cat settings.json | sed 's/\"PERSISTENCE_BACKEND\": \"pgsql\"/\"PERSISTENCE_BACKEND\": \"sql\"/g' > tmpfile.py && mv tmpfile.py settings.json\n          touch sqlfile\n\n    - name: Test Pygluu kubernetes PostGRE\n      id: test_kubernetes_postgres\n      run: |\n          cd /home/runner/work/test/\n          INSTALL=TRUE\n          [[ -f sqlfile  && \"${{ matrix.test-cases }}\" == \"install\"  ]] && INSTALL=FALSE\n          [[ \"$INSTALL\" == \"TRUE\" ]] && sudo ./pygluu-kubernetes.pyz ${{ matrix.test-cases }}\n          sleep 30\n          sudo microk8s.kubectl get po -n cbns\n          sudo microk8s.kubectl get po -n gluu\n          cat /home/runner/work/test/settings.json\n          sudo kubectl -n gluu wait --for=condition=available --timeout=600s deploy/gluu-oxauth || sudo kubectl logs -l app=oxauth -c oxauth -n gluu || echo \"Not Found\"\n          sudo kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=gluu-oxtrust-0 || sudo kubectl logs -l app=oxtrust -c oxtrust -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/gluu-oxpassport || sudo kubectl logs -l app=oxpassport -c oxpassport -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/gluu-casa || sudo kubectl logs -l app=casa -c casa -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/gluu-oxd-server || sudo kubectl logs -l app=oxd-server -c oxd-server -n gluu || echo \"Not Found\"\n          sudo kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=gluu-oxshibboleth-0 || sudo kubectl logs -l app=oxshiboleth -c oxshiboleth -n gluu || echo \"Not Found\"\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:09.172647", "created_at": "2021-03-17T15:15:40+01:00", "updated_at": "2021-03-17T15:15:40+01:00", "name": "release-please", "path": ".github/workflows/releaseplease.yml", "contents": "on:\n push:\n   branches:\n     - \"4.5\"\nname: release-please\njobs:\n release-please:\n   runs-on: ubuntu-latest\n   steps:\n     - uses: GoogleCloudPlatform/release-please-action@v3.7\n       with:\n         token: ${{ secrets.MOWORKFLOWTOKEN }}\n         release-type: python\n\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:10.237594", "created_at": "2022-07-05T12:53:10+02:00", "updated_at": "2022-07-05T13:08:00+02:00", "name": "microk8s", "path": ".github/workflows/sql_microk8s.yml", "contents": "name: microk8s\n# This builds, packages and tests pygluu-kubernetes\non:\n  push:\n    paths:\n      - \"pygluu/**\"\n      - \"tests/**\"\n      - \"setup.py\"\n    branches:\n      - \"4.5\"\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Test with Microk8s\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 6\n      matrix:\n        python-version: [3.9]\n        gluu-version: ['\"4.5.4_dev\"']\n        test-cases: [\"install\", \"helm-install\"]\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo python3 -m pip install --upgrade pip\n        sudo pip3 install setuptools --upgrade\n        sudo pip3 install pyOpenSSL --upgrade\n        sudo pip3 install requests --upgrade\n\n    - name: Lint with flake8\n      run: |\n        sudo pip3 install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        sudo flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        sudo flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Build pygluu\n      run: |\n        sudo apt-get update\n        sudo apt-get install build-essential\n        sudo pip3 install -U shiv wheel setuptools\n        mkdir /home/runner/work/test\n        cp -r ./* /home/runner/work/test/\n        cd /home/runner/work/test/\n        sudo make zipapp\n\n    - name: Test 1 settings(LDAP)\n      id: test1_settings\n      run: |\n        default_iface=$(awk '$2 == 00000000 { print $1 }' /proc/net/route)\n        ip=$(ip addr show dev \"$default_iface\" | awk '$1 == \"inet\" { sub(\"/.*\", \"\", $2); print $2 }')\n        cat <<EOF > /home/runner/work/test/settings.json\n        {\n          \"ACCEPT_GLUU_LICENSE\": \"Y\",\n          \"TEST_ENVIRONMENT\": \"Y\",\n          \"GLUU_VERSION\": ${{ matrix.gluu-version }},\n          \"GLUU_UPGRADE_TARGET_VERSION\": \"\",\n          \"NGINX_INGRESS_NAMESPACE\": \"ingress-nginx\",\n          \"GLUU_HELM_RELEASE_NAME\": \"gluu\",\n          \"NGINX_INGRESS_RELEASE_NAME\": \"ningress\",\n          \"INSTALL_POSTGRES\": \"Y\",\n          \"POSTGRES_NAMESPACE\": \"postgres\",\n          \"POSTGRES_URL\": \"postgres.postgres.svc.cluster.local\",\n          \"USE_ISTIO\": \"N\",\n          \"USE_ISTIO_INGRESS\": \"N\",\n          \"MIGRATION_ENABLED\": \"N\",\n          \"ISTIO_SYSTEM_NAMESPACE\": \"istio-system\",\n          \"NODES_IPS\": [\n            \"$ip\"\n          ],\n          \"NODES_ZONES\": [],\n          \"NODES_NAMES\": [],\n          \"NODE_SSH_KEY\": \"\",\n          \"HOST_EXT_IP\": \"$ip\",\n          \"VERIFY_EXT_IP\": \"\",\n          \"AWS_LB_TYPE\": \"\",\n          \"USE_ARN\": \"\",\n          \"ARN_AWS_IAM\": \"\",\n          \"LB_ADD\": \"\",\n          \"REDIS_URL\": \"\",\n          \"REDIS_TYPE\": \"\",\n          \"REDIS_PW\": \"\",\n          \"REDIS_USE_SSL\": \"false\",\n          \"DEPLOYMENT_ARCH\": \"microk8s\",\n          \"PERSISTENCE_BACKEND\": \"sql\",\n          \"INSTALL_JACKRABBIT\": \"Y\",\n          \"JACKRABBIT_STORAGE_SIZE\": \"4Gi\",\n          \"JACKRABBIT_URL\": \"http://jackrabbit:8080\",\n          \"JACKRABBIT_ADMIN_ID\": \"admin\",\n          \"JACKRABBIT_ADMIN_PASSWORD\": \"admin\",\n          \"JACKRABBIT_CLUSTER\": \"N\",\n          \"JACKRABBIT_PG_USER\": \"jackrabbit\",\n          \"JACKRABBIT_PG_PASSWORD\": \"jackrabbit\",\n          \"JACKRABBIT_DATABASE\": \"jackrabbit\",\n          \"INSTALL_COUCHBASE\": \"Y\",\n          \"COUCHBASE_NAMESPACE\": \"cbns\",\n          \"COUCHBASE_VOLUME_TYPE\": \"io1\",\n          \"COUCHBASE_CLUSTER_NAME\": \"cbgluu\",\n          \"COUCHBASE_URL\": \"cbgluu.cbns.svc.cluster.local\",\n          \"COUCHBASE_INDEX_NUM_REPLICA\": \"0\",\n          \"COUCHBASE_USER\": \"gluu\",\n          \"COUCHBASE_SUPERUSER\": \"admin\",\n          \"COUCHBASE_BUCKET_PREFIX\": \"test\",\n          \"COUCHBASE_PASSWORD\": \"nTB5#|\",\n          \"COUCHBASE_SUPERUSER_PASSWORD\": \"nTB5#2\",\n          \"COUCHBASE_CRT\": \"\",\n          \"COUCHBASE_CN\": \"Couchbase CN\",\n          \"COUCHBASE_SUBJECT_ALT_NAME\": \"\",\n          \"COUCHBASE_CLUSTER_FILE_OVERRIDE\": \"N\",\n          \"COUCHBASE_USE_LOW_RESOURCES\": \"Y\",\n          \"COUCHBASE_DATA_NODES\": \"\",\n          \"COUCHBASE_QUERY_NODES\": \"\",\n          \"COUCHBASE_INDEX_NODES\": \"\",\n          \"COUCHBASE_SEARCH_EVENTING_ANALYTICS_NODES\": \"\",\n          \"COUCHBASE_GENERAL_STORAGE\": \"\",\n          \"COUCHBASE_DATA_STORAGE\": \"\",\n          \"COUCHBASE_INDEX_STORAGE\": \"\",\n          \"COUCHBASE_QUERY_STORAGE\": \"\",\n          \"COUCHBASE_ANALYTICS_STORAGE\": \"\",\n          \"COUCHBASE_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"COUCHBASE_BACKUP_RESTORE_POINTS\": 1,\n          \"LDAP_BACKUP_SCHEDULE\": \"*/30 * * * *\",\n          \"NUMBER_OF_EXPECTED_USERS\": \"\",\n          \"EXPECTED_TRANSACTIONS_PER_SEC\": \"\",\n          \"USING_CODE_FLOW\": \"\",\n          \"USING_SCIM_FLOW\": \"\",\n          \"USING_RESOURCE_OWNER_PASSWORD_CRED_GRANT_FLOW\": \"\",\n          \"DEPLOY_MULTI_CLUSTER\": \"N\",\n          \"HYBRID_LDAP_HELD_DATA\": \"\",\n          \"LDAP_JACKRABBIT_VOLUME\": \"\",\n          \"APP_VOLUME_TYPE\": 1,\n          \"LDAP_STATIC_VOLUME_ID\": \"\",\n          \"LDAP_STATIC_DISK_URI\": \"\",\n          \"GLUU_CACHE_TYPE\": \"NATIVE_PERSISTENCE\",\n          \"GLUU_NAMESPACE\": \"gluu\",\n          \"GLUU_FQDN\": \"demoexample.gluu.org\",\n          \"COUNTRY_CODE\": \"US\",\n          \"STATE\": \"TX\",\n          \"EMAIL\": \"support@gluu.org\",\n          \"CITY\": \"Austin\",\n          \"ORG_NAME\": \"Gluu\",\n          \"GMAIL_ACCOUNT\": \"\",\n          \"GOOGLE_NODE_HOME_DIR\": \"\",\n          \"IS_GLUU_FQDN_REGISTERED\": \"N\",\n          \"LDAP_PW\": \"nTB5#|\",\n          \"ADMIN_PW\": \"@4n,Js\",\n          \"OXD_SERVER_PW\": \"n8H0NKuGTXsn\",\n          \"OXD_APPLICATION_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_ADMIN_KEYSTORE_CN\": \"oxd-server\",\n          \"OXD_SERVER_STORAGE\": \"h2\",\n          \"LDAP_STORAGE_SIZE\": \"4Gi\",\n          \"OXAUTH_REPLICAS\": 1,\n          \"OXTRUST_REPLICAS\": 1,\n          \"LDAP_REPLICAS\": 1,\n          \"FIDO2_REPLICAS\": 1,\n          \"SCIM_REPLICAS\": 1,\n          \"OXSHIBBOLETH_REPLICAS\": 1,\n          \"OXPASSPORT_REPLICAS\": 1,\n          \"OXD_SERVER_REPLICAS\": 1,\n          \"CASA_REPLICAS\": 1,\n          \"ENABLE_OXTRUST_API\": \"N\",\n          \"ENABLE_OXTRUST_TEST_MODE\": \"N\",\n          \"ENABLE_CACHE_REFRESH\": \"N\",\n          \"ENABLE_OXD\": \"Y\",\n          \"ENABLE_OXPASSPORT\": \"Y\",\n          \"ENABLE_OXSHIBBOLETH\": \"Y\",\n          \"ENABLE_FIDO2\": \"Y\",\n          \"ENABLE_SCIM\": \"Y\",\n          \"ENABLE_CASA\": \"Y\",\n          \"OXAUTH_KEYS_LIFE\": 48,\n          \"ENABLE_OXAUTH_KEY_ROTATE\": \"Y\",\n          \"ENABLE_OXTRUST_API_BOOLEAN\": \"true\",\n          \"ENABLE_OXTRUST_TEST_MODE_BOOLEAN\": \"false\",\n          \"ENABLE_OXPASSPORT_BOOLEAN\": \"true\",\n          \"ENABLE_CASA_BOOLEAN\": \"true\",\n          \"ENABLE_SAML_BOOLEAN\": \"true\",\n          \"EDIT_IMAGE_NAMES_TAGS\": \"N\",\n          \"CONFIRM_PARAMS\": \"Y\",\n          \"GLUU_LDAP_MULTI_CLUSTER\": \"N\",\n          \"GLUU_INSTALL_SQL\": \"N\",\n          \"GLUU_SQL_DB_DIALECT\": \"mysql\",\n          \"GLUU_SQL_DB_NAMESPACE\": \"sql\",\n          \"GLUU_SQL_DB_HOST\": \"gluu-postgresql.sql.svc.cluster.local\",\n          \"GLUU_SQL_DB_PORT\": \"3306\",\n          \"GLUU_SQL_DB_NAME\": \"gluu\",\n          \"GLUU_SQL_DB_USER\": \"gluu\",\n          \"GLUU_SQL_DB_PASSWORD\": \"Test1234#\",\n          \"GLUU_SCIM_PROTECTION_MODE\": \"OAUTH\",\n          \"NGINX_LEGACY\": \"N\",\n          \"SPANNER_EMULATOR_HOST\": \"\",\n          \"CONTAINER_REGISTRY_SECRET_NAME\": \"regcred\",\n          \"USE_CUSTOM_SALT\": \"N\",\n          \"SALT\": \"\",\n          \"DOCUMENT_STORE_TYPE\": \"DB\"\n        }\n        EOF\n\n    - name: Install microk8s\n      run: |\n        sudo snap install microk8s --classic --channel=1.21\n        sudo snap alias microk8s.kubectl kubectl\n        sudo microk8s.status --wait-ready\n        sudo microk8s.enable dns registry ingress\n\n    - name: Install Helm\n      run: |\n        curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3\n        chmod 700 get_helm.sh\n        ./get_helm.sh\n        sudo helm version\n\n    - name: SQL\n      run: |\n          cd /home/runner/work/test/\n          sudo microk8s config > config\n          cat settings.json | sed 's/\"INSTALL_COUCHBASE\": \"Y\"/\"INSTALL_COUCHBASE\": \"N\"/g' |  sed -s \"s@cbgluu.cbns.svc.cluster.local@$COUCHBASE_IP@g\" > tmpfile.py && mv tmpfile.py settings.json\n          cat settings.json | sed 's/\"GLUU_INSTALL_SQL\": \"N\"/\"GLUU_INSTALL_SQL\": \"Y\"/g' > tmpfile.py && mv tmpfile.py settings.json\n          cat settings.json | sed 's/\"GLUU_SQL_DB_HOST\": \"gluu-postgresql.sql.svc.cluster.local\"/\"GLUU_SQL_DB_HOST\": \"gluu-mysql.sql.svc.cluster.local\"/g' > tmpfile.py && mv tmpfile.py settings.json\n          touch sqlfile\n\n    - name: Test Pygluu kubernetes\n      id: test_kubernetes\n      run: |\n          cd /home/runner/work/test/\n          INSTALL=TRUE\n          [[ -f sqlfile  && \"${{ matrix.test-cases }}\" == \"install\"  ]] && INSTALL=FALSE\n          [[ \"$INSTALL\" == \"TRUE\" ]] && sudo ./pygluu-kubernetes.pyz ${{ matrix.test-cases }}\n          sleep 30\n          sudo microk8s.kubectl get po -n cbns\n          sudo microk8s.kubectl get po -n gluu\n          cat /home/runner/work/test/settings.json\n          sudo kubectl -n gluu wait --for=condition=available --timeout=600s deploy/gluu-oxauth || sudo kubectl logs -l app=oxauth -c oxauth -n gluu || echo \"Not Found\"\n          sudo kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=gluu-oxtrust-0 || sudo kubectl logs -l app=oxtrust -c oxtrust -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/gluu-oxpassport || sudo kubectl logs -l app=oxpassport -c oxpassport -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/gluu-casa || sudo kubectl logs -l app=casa -c casa -n gluu || echo \"Not Found\"\n          sudo kubectl -n gluu wait --for=condition=available --timeout=300s deploy/gluu-oxd-server || sudo kubectl logs -l app=oxd-server -c oxd-server -n gluu || echo \"Not Found\"\n          sudo kubectl wait -n gluu --for=condition=ready pod --timeout=300s -l statefulset.kubernetes.io/pod-name=gluu-oxshibboleth-0 || sudo kubectl logs -l app=oxshiboleth -c oxshiboleth -n gluu || echo \"Not Found\"\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:11.427184", "created_at": "2020-09-09T21:09:29+02:00", "updated_at": "2020-09-09T21:09:29+02:00", "name": "testcases", "path": ".github/workflows/testcases.yml", "contents": "name: testcases\n\non:\n  push:\n    branches:\n      - 4.5\n    paths:\n      - \"pygluu/**\"\n      - \"tests/**\"\n      - \"setup.py\"\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python3 -m pip install --upgrade pip\n        python3 -m pip install tox\n\n    - name: Test with pytest\n      run: |\n        tox\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:12.654417", "created_at": "2020-07-30T13:10:40+02:00", "updated_at": "2020-07-30T13:10:40+02:00", "name": "updateimages", "path": ".github/workflows/updateimages.yml", "contents": "name: updateimages\n# This builds, packages and releases pygluu-kubernetes\non: [workflow_dispatch]\n\njobs:\n  createPullRequest:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo python3 -m pip install --upgrade pip\n          sudo pip3 install -r ./automation/requirements.txt\n          sudo apt-get update\n          sudo apt-get install jq\n\n      - uses: actions/checkout@v4\n\n      - name: Update images\n        run: |\n          cd automation\n          sudo python3 auto_update_image_pr.py\n\n      - name: Create Pull Request\n        id: cpr\n        uses: peter-evans/create-pull-request@v5\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          commit-message: Update Image tags\n          committer: GitHub <noreply@github.com>\n          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n          branch: update-images\n          title: 'Update image tags'\n          body: |\n\n            - Updated images tags\n            - Auto-generated due to update in docker images\n\n          labels: |\n            enhancement\n          assignees: moabu\n          reviewers: moabu\n\n      - name: Check output\n        run: |\n          echo \"Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}\"\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:13.783716", "created_at": "2021-03-17T15:15:40+01:00", "updated_at": "2021-03-17T15:15:40+01:00", "name": "upload-release", "path": ".github/workflows/uploadrelease.yml", "contents": "name: upload-release\n# This builds, packages and releases pygluu-kubernetes\non:\n  push:\n    tags:\n      - '*'\n  workflow_dispatch:\n\njobs:\n  publish:\n    name: Publish for ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-latest, ubuntu-latest]\n        python-version: [3.9]\n        include:\n          - os: ubuntu-latest\n            artifact_name: pygluu-kubernetes.pyz\n            asset_name: pygluu-kubernetes-linux-amd64.pyz\n          - os: macos-latest\n            artifact_name: pygluu-kubernetes.pyz\n            asset_name: pygluu-kubernetes-macos-amd64.pyz\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python3 -m pip install --upgrade pip\n        pip3 install jq cffi\n\n    - name: Lint with flake8\n      run: |\n        pip3 install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Build pygluu\n      run: |\n        sudo apt-get update || brew install jq\n        sudo apt-get install build-essential || echo \"Maybe im on macor OS\"\n        pip3 install -U shiv wheel setuptools\n        make zipapp\n\n    - name: Get project\n      id: project\n      run: |\n        echo \"::set-output name=gituser::$(python3 -c 'import os ; REPO = os.environ.get(\"GITHUB_REPOSITORY\") ; print(str(REPO).split(\"/\")[0])')\"\n        echo \"::set-output name=gitproject::$(python3 -c 'import os ; REPO = os.environ.get(\"GITHUB_REPOSITORY\") ; print(str(REPO).split(\"/\")[1])')\"\n\n    - name: Get latest tag and print version\n      id: previoustag\n      run: |\n        echo \"::set-output name=tag::$(curl https://api.github.com/repos/${{ steps.project.outputs.gituser }}/${{ steps.project.outputs.gitproject }}/releases/latest -s | grep \"tag_name\" | cut -d '\"' -f 4)\"\n        echo \"${{ steps.previoustag.outputs.tag }}\"\n\n\n    - name: Upload binaries to release\n      uses: svenstaro/upload-release-action@v2\n      with:\n        repo_token: ${{ secrets.MOWORKFLOWTOKEN }}\n        file: ${{ matrix.artifact_name }}\n        asset_name: ${{ matrix.asset_name }}\n        tag: ${{ steps.previoustag.outputs.tag }}\n", "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:14.796377", "created_at": "2021-12-23T13:26:11+01:00", "updated_at": "2021-12-23T13:26:11+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "gluufederation/cloud-native-edition"}
{"mined_at": "2024-07-15T14:05:17.169952", "created_at": "2020-11-02T13:59:04+01:00", "updated_at": "2021-11-15T22:51:24+01:00", "name": "Build and Test", "path": ".github/workflows/build_package.yml", "contents": "name: Build and Test\n\non:\n  push:\n    branches: [ master, dev, 'release/*' ]\n  pull_request:\n    branches: [ master, dev, 'release/*' ]\n  workflow_dispatch:\n\njobs:\n  build-and-test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.10']\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install c3 package\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest qiskit\n        pip install .\n    - name: Test with pytest\n      run: |\n        pytest -v -x -m \"not slow\" test/\n        pytest -v -x -m \"slow\" test/\n", "state": "active", "repository": "q-optimize/c3"}
{"mined_at": "2024-07-15T14:05:18.221709", "created_at": "2021-02-21T11:23:05+01:00", "updated_at": "2021-02-21T11:23:05+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master, dev ]\n  workflow_dispatch:\n\njobs:\n  codeql-analyze:\n    name: CodeQL Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1", "state": "active", "repository": "q-optimize/c3"}
{"mined_at": "2024-07-15T14:05:19.341883", "created_at": "2020-11-02T13:59:04+01:00", "updated_at": "2020-11-02T13:59:04+01:00", "name": "Code Coverage", "path": ".github/workflows/coverage.yml", "contents": "name: Code Coverage\n\non:\n  push:\n    branches: [ master, dev, 'release/*' ]\n  pull_request:\n    branches: [ master, dev, 'release/*' ]\n  workflow_dispatch:\n\njobs:\n  coverage_check_upload:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10']\n    env:\n      OS: 'ubuntu-latest'\n      PYTHON: '3.10'\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n    - name: Test with pytest\n      run: |\n        pytest -x -v --cov=c3 --cov-report=xml test/\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        file: ./coverage.xml\n        env_vars: OS,PYTHON\n        name: codecov-c3\n        fail_ci_if_error: true\n        verbose: true", "state": "active", "repository": "q-optimize/c3"}
{"mined_at": "2024-07-15T14:05:20.539210", "created_at": "2021-01-30T20:55:51+01:00", "updated_at": "2021-05-26T15:01:11+02:00", "name": "Code Formatting and Linting", "path": ".github/workflows/format_lint.yml", "contents": "name: Code Formatting and Linting\n\non:\n  push:\n    branches: [ master, dev, 'release/*' ]\n  pull_request:\n    branches: [ master, dev, 'release/*' ]\n  workflow_dispatch:\n\njobs:\n  format_lint_check:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10']\n    env:\n      OS: 'ubuntu-latest'\n      PYTHON: '3.10'\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install black flake8\n    - name: Test Code Formatting with Black\n      run: |\n        black --check c3/\n    - name: Code Linting with flake8\n      run: |\n        flake8 --count c3/\n\n", "state": "active", "repository": "q-optimize/c3"}
{"mined_at": "2024-07-15T14:05:21.769316", "created_at": "2021-02-06T12:14:19+01:00", "updated_at": "2024-01-25T15:17:21+01:00", "name": "Nightly Release", "path": ".github/workflows/nightly_pypi.yml", "contents": "name: Nightly Release\n\non:\n  schedule:\n    - cron: '45 9 * * *' # 9.45 AM UTC everyday \n\njobs:\n  nightly_build-and-publish:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n      with:\n        ref: 'dev'\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.10\n    - name : Install Prerequisites\n      run : |\n        sudo apt-add-repository universe\n        sudo apt-get update\n        sudo apt-get install gcc libpq-dev -y\n        sudo apt-get install python3-dev python3-pip python3-venv python3-wheel -y\n        pip3 install wheel\n    - name : Update Version numbers\n      run : |\n        python .github/prepare-nightly.py\n    - name: Build sdist and bdist_wheel\n      run: python setup.py sdist bdist_wheel\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.test_pypi_password }}\n        skip_existing: true\n        repository_url: https://test.pypi.org/legacy/\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.pypi_password }}\n        skip_existing: true\n    - name: Wait for 3 minutes\n      uses: juliangruber/sleep-action@v1\n      with:\n          time: 3m\n\n  check-pip-install:\n    needs: [nightly_build-and-publish]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.10']\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install c3-toolset-nightly from pip\n      run: |\n        python -m pip install --upgrade pip\n        pip install c3-toolset-nightly\n", "state": "active", "repository": "q-optimize/c3"}
{"mined_at": "2024-07-15T14:05:22.890604", "created_at": "2021-01-22T17:50:32+01:00", "updated_at": "2021-05-26T15:01:11+02:00", "name": "Notebook Test", "path": ".github/workflows/notebook_test.yml", "contents": "name: Notebook Test\n\non:\n  push:\n    branches: [ master, dev, 'release/*' ]\n  pull_request:\n    branches: [ master, dev, 'release/*' ]\n  workflow_dispatch:\n\njobs:\n  notebook_run_check:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.10']\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install jupyter notebook ipykernel matplotlib\n        pip install .\n    - name: Test with nbconvert\n      run: |\n        jupyter nbconvert --to notebook --inplace --execute examples/*.ipynb\n", "state": "active", "repository": "q-optimize/c3"}
{"mined_at": "2024-07-15T14:05:23.920526", "created_at": "2020-12-22T16:30:07+01:00", "updated_at": "2020-12-22T16:30:07+01:00", "name": "Release", "path": ".github/workflows/publish_pypi.yml", "contents": "name: Release\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build-and-publish:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python '3.10'\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.10'\n    - name : Install Prerequisites\n      run : |\n        sudo apt-add-repository universe\n        sudo apt-get update\n        sudo apt-get install gcc libpq-dev -y\n        sudo apt-get install python3-dev python3-pip python3-venv python3-wheel -y\n        pip3 install wheel\n    - name: Build sdist and bdist_wheel\n      run: python setup.py sdist bdist_wheel\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.test_pypi_password }}\n        skip_existing: true\n        repository_url: https://test.pypi.org/legacy/\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.pypi_password }}\n        skip_existing: true\n    - name: Wait for 3 minutes\n      uses: juliangruber/sleep-action@v1\n      with:\n          time: 3m\n\n  check-pip-install:\n    needs: [build-and-publish]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.10']\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install c3-toolset from pip\n      run: |\n        python -m pip install --upgrade pip\n        pip install c3-toolset\n", "state": "active", "repository": "q-optimize/c3"}
{"mined_at": "2024-07-15T14:05:26.095616", "created_at": "2024-02-15T17:07:57+01:00", "updated_at": "2024-02-26T11:36:33+01:00", "name": "Fast functional tests", "path": ".github/workflows/functional-fast-opensuse-leap.yml", "contents": "name: Fast functional tests\n\non:\n  push:\n    branches: [openSUSE/release/3006.0]\n  pull_request:\n    branches: [openSUSE/release/3006.0]\n  workflow_dispatch:\n\njobs:\n  fast-functional-tests:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_ACTIONS: 1\n    container:\n      image: registry.opensuse.org/systemsmanagement/saltstack/products/testing/containers/leap15.5/containers/salt-testsuite-github:leap15.5\n      options: --hostname=salt-test-container\n    steps:\n      - name: Checkout Salt\n        uses: actions/checkout@v4\n      - name: Fix the Salt version in _version.txt file\n        run: rpm -q python3-salt-testsuite --queryformat '%{VERSION}' > $GITHUB_WORKSPACE/salt/_version.txt\n      - name: Run Fast functional tests\n        run: |\n          salt-test --skiplist https://raw.githubusercontent.com/openSUSE/salt-test-skiplist/main/skipped_tests.toml \\\n            --directory . --package-flavor classic functional -- -vvv\n", "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:27.184992", "created_at": "2024-02-15T17:07:57+01:00", "updated_at": "2024-02-26T11:36:33+01:00", "name": "Full functional tests", "path": ".github/workflows/functional-full-opensuse-leap.yml", "contents": "name: Full functional tests\n\non:\n  push:\n    branches: [openSUSE/release/3006.0]\n  pull_request:\n    branches: [openSUSE/release/3006.0]\n  workflow_dispatch:\n\njobs:\n  full-functional-tests:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_ACTIONS: 1\n    container:\n      image: registry.opensuse.org/systemsmanagement/saltstack/products/testing/containers/leap15.5/containers/salt-testsuite-github:leap15.5\n      options: --hostname=salt-test-container\n    steps:\n      - name: Checkout Salt\n        uses: actions/checkout@v4\n      - name: Fix the Salt version in _version.txt file\n        run: rpm -q python3-salt-testsuite --queryformat '%{VERSION}' > $GITHUB_WORKSPACE/salt/_version.txt\n      - name: Run Full functional tests\n        run: |\n          salt-test --skiplist https://raw.githubusercontent.com/openSUSE/salt-test-skiplist/main/skipped_tests.toml \\\n            --directory . --package-flavor classic functional -- --core-tests --slow --run-expensive --ssh-tests --run-destructive -vvv\n", "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:28.428208", "created_at": "2024-02-15T17:07:57+01:00", "updated_at": "2024-02-26T11:36:33+01:00", "name": "Fast integration tests", "path": ".github/workflows/integration-fast-opensuse-leap.yml", "contents": "name: Fast integration tests\n\non:\n  push:\n    branches: [openSUSE/release/3006.0]\n  pull_request:\n    branches: [openSUSE/release/3006.0]\n  workflow_dispatch:\n\njobs:\n  fast-integration-tests:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_ACTIONS: 1\n    container:\n      image: registry.opensuse.org/systemsmanagement/saltstack/products/testing/containers/leap15.5/containers/salt-testsuite-github:leap15.5\n      options: --hostname=salt-test-container\n    steps:\n      - name: Checkout Salt\n        uses: actions/checkout@v4\n      - name: Fix the Salt version in _version.txt file\n        run: rpm -q python3-salt-testsuite --queryformat '%{VERSION}' > $GITHUB_WORKSPACE/salt/_version.txt\n      - name: Run Fast integration tests\n        run: |\n          salt-test --skiplist https://raw.githubusercontent.com/openSUSE/salt-test-skiplist/main/skipped_tests.toml \\\n            --directory . --package-flavor classic integration -- -vvv\n", "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:29.450436", "created_at": "2024-02-15T17:07:57+01:00", "updated_at": "2024-02-26T11:36:33+01:00", "name": "Full integration tests", "path": ".github/workflows/integration-full-opensuse-leap.yml", "contents": "name: Full integration tests\n\non:\n  push:\n    branches: [openSUSE/release/3006.0]\n  pull_request:\n    branches: [openSUSE/release/3006.0]\n  workflow_dispatch:\n\njobs:\n  full-integration-tests:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_ACTIONS: 1\n    container:\n      image: registry.opensuse.org/systemsmanagement/saltstack/products/testing/containers/leap15.5/containers/salt-testsuite-github:leap15.5\n      options: --hostname=salt-test-container\n    steps:\n      - name: Checkout Salt\n        uses: actions/checkout@v4\n      - name: Fix the Salt version in _version.txt file\n        run: rpm -q python3-salt-testsuite --queryformat '%{VERSION}' > $GITHUB_WORKSPACE/salt/_version.txt\n      - name: Run Full integration tests\n        run: |\n          salt-test --skiplist https://raw.githubusercontent.com/openSUSE/salt-test-skiplist/main/skipped_tests.toml \\\n            --directory . --package-flavor classic integration -- --core-tests --slow --run-expensive --ssh-tests --run-destructive -vvv\n", "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:30.465262", "created_at": "2021-03-12T17:04:19+01:00", "updated_at": "2021-10-22T12:36:27+02:00", "name": "integration-opensuse-leap-15-1", "path": ".github/workflows/integration-opensuse-leap-15-1.yml", "contents": null, "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:31.468104", "created_at": "2024-02-12T16:57:16+01:00", "updated_at": "2024-02-12T16:57:16+01:00", "name": "Integration tests", "path": ".github/workflows/integration-opensuse.yml", "contents": null, "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:32.483653", "created_at": "2024-02-15T17:07:57+01:00", "updated_at": "2024-02-26T11:36:33+01:00", "name": "Fast scenarios tests", "path": ".github/workflows/scenarios-fast-opensuse-leap.yml", "contents": "name: Fast scenarios tests\n\non:\n  push:\n    branches: [openSUSE/release/3006.0]\n  pull_request:\n    branches: [openSUSE/release/3006.0]\n  workflow_dispatch:\n\njobs:\n  fast-scenarios-tests:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_ACTIONS: 1\n    container:\n      image: registry.opensuse.org/systemsmanagement/saltstack/products/testing/containers/leap15.5/containers/salt-testsuite-github:leap15.5\n      options: --hostname=salt-test-container\n    steps:\n      - name: Checkout Salt\n        uses: actions/checkout@v4\n      - name: Fix the Salt version in _version.txt file\n        run: rpm -q python3-salt-testsuite --queryformat '%{VERSION}' > $GITHUB_WORKSPACE/salt/_version.txt\n      - name: Run Fast scenarios tests\n        run: |\n          salt-test --skiplist https://raw.githubusercontent.com/openSUSE/salt-test-skiplist/main/skipped_tests.toml \\\n            --directory . --package-flavor classic scenarios -- -vvv\n", "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:33.646684", "created_at": "2024-02-15T17:07:57+01:00", "updated_at": "2024-02-26T11:36:33+01:00", "name": "Full scenarios tests", "path": ".github/workflows/scenarios-full-opensuse-leap.yml", "contents": "name: Full scenarios tests\n\non:\n  push:\n    branches: [openSUSE/release/3006.0]\n  pull_request:\n    branches: [openSUSE/release/3006.0]\n  workflow_dispatch:\n\njobs:\n  full-scenarios-tests:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_ACTIONS: 1\n    container:\n      image: registry.opensuse.org/systemsmanagement/saltstack/products/testing/containers/leap15.5/containers/salt-testsuite-github:leap15.5\n      options: --hostname=salt-test-container\n    steps:\n      - name: Checkout Salt\n        uses: actions/checkout@v4\n      - name: Fix the Salt version in _version.txt file\n        run: rpm -q python3-salt-testsuite --queryformat '%{VERSION}' > $GITHUB_WORKSPACE/salt/_version.txt\n      - name: Run Full scenarios tests\n        run: |\n          salt-test --skiplist https://raw.githubusercontent.com/openSUSE/salt-test-skiplist/main/skipped_tests.toml \\\n            --directory . --package-flavor classic scenarios -- --core-tests --slow --run-expensive --ssh-tests --run-destructive -vvv\n", "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:34.636178", "created_at": "2024-02-14T17:53:38+01:00", "updated_at": "2024-02-14T17:53:38+01:00", "name": "Scenarios tests", "path": ".github/workflows/scenarios-opensuse.yml", "contents": null, "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:35.733798", "created_at": "2024-02-15T17:07:57+01:00", "updated_at": "2024-02-26T11:36:33+01:00", "name": "Fast unit tests", "path": ".github/workflows/unit-fast-opensuse-leap.yml", "contents": "name: Fast unit tests\n\non:\n  push:\n    branches: [openSUSE/release/3006.0]\n  pull_request:\n    branches: [openSUSE/release/3006.0]\n  workflow_dispatch:\n\njobs:\n  fast-unit-tests:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_ACTIONS: 1\n    container:\n      image: registry.opensuse.org/systemsmanagement/saltstack/products/testing/containers/leap15.5/containers/salt-testsuite-github:leap15.5\n      options: --hostname=salt-test-container\n    steps:\n      - name: Checkout Salt\n        uses: actions/checkout@v4\n      - name: Fix the Salt version in _version.txt file\n        run: rpm -q python3-salt-testsuite --queryformat '%{VERSION}' > $GITHUB_WORKSPACE/salt/_version.txt\n      - name: Run Fast unit tests\n        run: |\n          salt-test --skiplist https://raw.githubusercontent.com/openSUSE/salt-test-skiplist/main/skipped_tests.toml \\\n            --directory . --package-flavor classic unit -- -vvv\n", "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:36.900157", "created_at": "2024-02-15T17:07:57+01:00", "updated_at": "2024-02-26T11:36:33+01:00", "name": "Full unit tests", "path": ".github/workflows/unit-full-opensuse-leap.yml", "contents": "name: Full unit tests\n\non:\n  push:\n    branches: [openSUSE/release/3006.0]\n  pull_request:\n    branches: [openSUSE/release/3006.0]\n  workflow_dispatch:\n\njobs:\n  full-unit-tests:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_ACTIONS: 1\n    container:\n      image: registry.opensuse.org/systemsmanagement/saltstack/products/testing/containers/leap15.5/containers/salt-testsuite-github:leap15.5\n      options: --hostname=salt-test-container\n    steps:\n      - name: Checkout Salt\n        uses: actions/checkout@v4\n      - name: Fix the Salt version in _version.txt file\n        run: rpm -q python3-salt-testsuite --queryformat '%{VERSION}' > $GITHUB_WORKSPACE/salt/_version.txt\n      - name: Run Full unit tests\n        run: |\n          salt-test --skiplist https://raw.githubusercontent.com/openSUSE/salt-test-skiplist/main/skipped_tests.toml \\\n            --directory . --package-flavor classic unit -- --core-tests --slow --run-expensive --ssh-tests --run-destructive -vvv\n", "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:37.921324", "created_at": "2021-03-12T16:38:00+01:00", "updated_at": "2021-10-22T12:36:27+02:00", "name": "unit-opensuse-leap-15-1", "path": ".github/workflows/unit-opensuse-leap-15-1.yml", "contents": null, "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:39.044818", "created_at": "2024-01-03T17:22:49+01:00", "updated_at": "2024-01-03T17:22:49+01:00", "name": "Unit tests", "path": ".github/workflows/unit-opensuse.yml", "contents": null, "state": "active", "repository": "opensuse/salt"}
{"mined_at": "2024-07-15T14:05:41.224232", "created_at": "2020-07-31T00:45:34+02:00", "updated_at": "2021-02-24T20:55:47+01:00", "name": "Docker build and push.", "path": ".github/workflows/docker_build.yml", "contents": "name: Docker build and push.\n\non:\n  push:\n    paths:\n      - \"projects/**\"\n      - \"tests/**\"\n    branches:\n      - master\n\njobs:\n  build_push:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to DockerHub\n        uses: docker/login-action@v3.0.0\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v5.2.0\n        with:\n          push: true\n          tags: ${{ secrets.DOCKERHUB_REPOSITORY }}\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "conp-pcno/conp-dataset"}
{"mined_at": "2024-07-15T14:05:42.353068", "created_at": "2021-03-12T19:52:45+01:00", "updated_at": "2021-03-12T19:52:45+01:00", "name": "Linting", "path": ".github/workflows/pre-commit.yml", "contents": "name: Linting\n\non:\n  push:\n    branches: master\n  pull_request:\n    branches: master\n\njobs:\n  pre-commit:\n    name: pre-commit hooks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5.0.0\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "conp-pcno/conp-dataset"}
{"mined_at": "2024-07-15T14:05:43.477903", "created_at": "2021-03-31T14:42:37+02:00", "updated_at": "2021-03-31T14:42:37+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: \"Close stale issues and PRs\"\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          stale-issue-message: \"This issue is stale because it has been open 5 months with no activity. Remove stale label or comment or this will be closed in 3 months.\"\n          stale-pr-message: \"This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 20 days.\"\n          close-issue-message: \"This issue was closed because it has been stalled for 3 months with no activity.\"\n          close-pr-message: \"This PR was closed because it has been stalled for 20 days with no activity.\"\n          days-before-issue-stale: 150 # ~5 months\n          days-before-issue-close: 90 # ~3 months\n          days-before-pr-stale: 45\n          days-before-pr-close: 20\n", "state": "active", "repository": "conp-pcno/conp-dataset"}
{"mined_at": "2024-07-15T14:05:44.599753", "created_at": "2021-07-29T15:42:16+02:00", "updated_at": "2021-07-29T15:42:16+02:00", "name": "Open pull request for submodule updates", "path": ".github/workflows/update-submodules.yml", "contents": "name: \"Open pull request for submodule updates\"\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: mathdugre/submodule-update@v0.2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "conp-pcno/conp-dataset"}
{"mined_at": "2024-07-15T14:05:46.858538", "created_at": "2023-03-20T19:18:37+01:00", "updated_at": "2023-03-20T19:18:37+01:00", "name": "Trigger CLI Release", "path": ".github/workflows/cli-release-trigger.yml", "contents": "name: Trigger CLI Release\non:\n  release:\n    types: [ published ]\njobs:\n  trigger-cli-release:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Generate App Installation Token\n        id: generate_token\n        uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 # pin@v1\n        with:\n          app_id: ${{ secrets.CLI_RELEASE_APP_ID }}\n          private_key: ${{ secrets.CLI_RELEASE_PRIVATE_KEY }}\n          repository: linode/linode-cli\n\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@26b39ed245ab8f31526069329e112ab2fb224588 # pin@v2\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n          repository: linode/linode-cli\n          event-type: cli-release\n          client-payload: '{\"spec_version\": \"${{ github.event.release.tag_name }}\"}'\n", "state": "active", "repository": "linode/linode-api-docs"}
{"mined_at": "2024-07-15T14:05:47.866455", "created_at": "2020-12-15T20:24:53+01:00", "updated_at": "2020-12-15T20:24:53+01:00", "name": "Python package", "path": ".github/workflows/test.yaml", "contents": "name: Python package\n\non: [pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.7.x'\n        architecture: 'x64'\n    - name: Cache pip\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        # Look to see if there is a cache hit for the corresponding requirements file\n        key: ${{ runner.os }}-pip-${{ hashFiles('./ci/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install openapi3\n    - name: openapi linter\n      run: |\n        python -m openapi3 openapi.yaml", "state": "active", "repository": "linode/linode-api-docs"}
{"mined_at": "2024-07-15T14:05:51.059176", "created_at": "2023-11-16T14:43:42+01:00", "updated_at": "2023-11-16T14:43:42+01:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - \"**\"\n\njobs:\n  documentation:\n    name: Build and deploy\n    if: github.repository == 'streamlink/streamlink'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 300\n      - name: Fetch tags\n        run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install Python dependencies\n        run: >\n          python -m pip install -U\n          -e .\n          -r docs-requirements.txt\n      - name: Build\n        run: make --directory=docs html\n      - name: Deploy\n        env:\n          DOCS_DEPLOY_TOKEN: ${{ secrets.DOCS_DEPLOY_TOKEN }}\n        run: ./script/deploy-docs.sh\n", "state": "active", "repository": "streamlink/streamlink"}
{"mined_at": "2024-07-15T14:05:52.065289", "created_at": "2022-05-24T21:06:19+02:00", "updated_at": "2022-05-24T23:07:50+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request: {}\n\njobs:\n  files:\n    name: Files\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - name: File permissions\n        run: \"! grep -Ev '^644' <(git ls-files src/ tests/ | xargs stat '--format=%a %n')\"\n      - name: File encodings\n        run: \"! grep -E -e 'UTF-[^8]' -e 'UTF-[^ ]+ \\\\(with BOM\\\\)' <(git ls-files src/ tests/ | xargs stat '--format=%a %n')\"\n      - name: Line terminators\n        run: \"! grep 'with CRLF line terminators' <(git ls-files | file -nNf-)\"\n      - name: No unicode bidirectional control characters\n        run: \"! git grep -EIn $'[\\\\u2066\\\\u2067\\\\u2068\\\\u2069\\\\u202A\\\\u202B\\\\u202C\\\\u202D\\\\u202E]'\"\n\n  style:\n    name: Code style\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install Python dependencies\n        run: >\n          python -m pip install -U\n          -e .\n          -r dev-requirements.txt\n      - name: ruff\n        run: >\n          python -m ruff check .\n\n  typing:\n    name: Typing\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install Python dependencies\n        run: >\n          python -m pip install -U\n          -e .\n          -r dev-requirements.txt\n          -r docs-requirements.txt\n      - name: mypy\n        run: |\n          python -m mypy --no-incremental\n          python -m mypy --no-incremental docs\n", "state": "active", "repository": "streamlink/streamlink"}
{"mined_at": "2024-07-15T14:05:53.205229", "created_at": "2023-11-16T14:43:43+01:00", "updated_at": "2023-11-16T14:43:43+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    branches-ignore:\n      - \"**\"\n    tags:\n      - \"**\"\n\njobs:\n  build:\n    name: Build\n    if: github.repository == 'streamlink/streamlink'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 300\n      - name: Fetch tags\n        run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install Python dependencies\n        run: >\n          python -m pip install -U\n          -e .\n          -r docs-requirements.txt\n          shtab\n          build\n          wheel\n      - name: Build man page\n        run: make --directory=docs man\n      - name: Build shell completions\n        run: ./script/build-shell-completions.sh\n      - name: Build sdist and wheels\n        run: ./script/build-and-sign.sh\n        env:\n          SIGNING_KEY_ID: 1AEB6400EDA27DA9\n          SIGNING_KEY_PASSPHRASE: ${{ secrets.SIGNING_KEY_PASSPHRASE }}\n      - uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist/\n\n  deploy:\n    name: Deploy\n    if: github.repository == 'streamlink/streamlink'\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 300\n      - name: Fetch tags\n        run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install Python dependencies\n        run: >\n          python -m pip install -U\n          jinja2\n          requests\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist/\n      - name: Github release\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: ./script/github-release.py dist/*.tar.gz{,.asc}\n      - name: Delete signatures before deploying to PyPI\n        run: rm dist/*.asc\n      - name: PyPI release\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "streamlink/streamlink"}
{"mined_at": "2024-07-15T14:05:54.308151", "created_at": "2023-11-15T16:30:48+01:00", "updated_at": "2023-11-16T14:43:43+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches-ignore:\n      - \"automated/**\"\n    tags-ignore:\n      - \"**\"\n  pull_request: {}\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  test:\n    name: Test\n    strategy:\n      fail-fast: false\n      # please remember to change the `codecov.notify.after_n_builds` value in .codecov.yml\n      # when changing the build matrix and changing the number of test runners\n      matrix:\n        runs-on:\n          - ubuntu-latest\n          - windows-latest\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n#        include:\n#          - runs-on: ubuntu-latest\n#            python-version: \"3.13-dev\"\n#            continue: true\n#          - runs-on: windows-latest\n#            python-version: \"3.13-dev\"\n#            continue: true\n    runs-on: ${{ matrix.runs-on }}\n    timeout-minutes: 60\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 300\n      - name: Fetch tags\n        run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Python dependencies\n        run: >\n          python -m pip install -U\n          -e .\n          -r dev-requirements.txt\n          brotli\n          shtab\n        continue-on-error: ${{ matrix.continue || false }}\n      - name: Test\n        continue-on-error: ${{ matrix.continue || false }}\n        run: pytest -r a --cov --cov-branch --cov-report=xml --durations 10\n      - name: Build shell completions\n        continue-on-error: ${{ matrix.continue || false }}\n        run: bash ./script/build-shell-completions.sh\n      - name: Upload coverage data\n        if: github.event_name != 'schedule'\n        continue-on-error: ${{ matrix.continue || false }}\n        uses: codecov/codecov-action@v4\n        with:\n          name: os:${{ matrix.runs-on }} py:${{ matrix.python-version }}\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  test_build:\n    name: Test build\n    if: github.event_name != 'push'\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 300\n      - name: Fetch tags\n        run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install Python dependencies\n        run: >\n          python -m pip install -U\n          -r dev-requirements.txt\n          build wheel\n      - name: Build sdist and wheels\n        run: ./script/build-and-sign.sh\n      - name: Plugins JSON\n        run: |\n          set -x\n          unzip -p ./dist/streamlink-*-any.whl 'streamlink-*.dist-info/RECORD' | grep 'streamlink/plugins/_plugins.json'\n          unzip -p ./dist/streamlink-*-any.whl 'streamlink/plugins/_plugins.json' | jq -e 'keys > 0'\n          unzip -p ./dist/streamlink-*-any.whl 'streamlink/plugins/_plugins.json' | jq\n\n  documentation:\n    name: Test docs\n    if: github.event_name != 'push'\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 300\n      - name: Fetch tags\n        run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install Python dependencies\n        run: >\n          python -m pip install -U\n          -e .\n          -r docs-requirements.txt\n      - name: Build\n        run: make --directory=docs html man\n", "state": "active", "repository": "streamlink/streamlink"}
{"mined_at": "2024-07-15T14:05:55.356161", "created_at": "2022-06-14T15:40:33+02:00", "updated_at": "2022-06-14T15:40:33+02:00", "name": "Update user agents", "path": ".github/workflows/useragents.yml", "contents": "name: Update user agents\n\non:\n  schedule:\n    - cron: '0 0 1 * *'\n\njobs:\n  update-user-agents:\n    if: github.repository == 'streamlink/streamlink'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - run: python -m pip install requests\n      - run: python ./script/update-user-agents.py\n        env:\n          WHATISMYBROWSER_API_KEY: ${{ secrets.WHATISMYBROWSER_API_KEY }}\n      - uses: peter-evans/create-pull-request@6d9c0cdf5825c01278b6e63a0788434e6b3c5e27\n        with:\n          token: ${{ secrets.STREAMLINKBOT_USERAGENTS_PR }}\n          add-paths: |\n            src/streamlink/plugin/api/useragents.py\n          commit-message: \"plugin.api: update useragents\"\n          committer: \"streamlinkbot <streamlinkbot@users.noreply.github.com>\"\n          author: \"streamlinkbot <streamlinkbot@users.noreply.github.com>\"\n          branch: \"automated/plugin/api/useragents\"\n          branch-suffix: timestamp\n          delete-branch: true\n          title: \"plugin.api: update useragents\"\n          body: \"Automated pull request\"\n", "state": "active", "repository": "streamlink/streamlink"}
{"mined_at": "2024-07-15T14:05:57.403561", "created_at": "2021-04-02T23:36:54+02:00", "updated_at": "2021-04-02T23:36:54+02:00", "name": "Compile Catalog", "path": ".github/workflows/compile_catalog.yml", "contents": "name: Compile Catalog\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  compile_catalog:\n    name: Compile Catalog\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Set up Python 3.x\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - run: python -m pip install tox\n      - name: Compile Catalog\n        run: tox\n        env:\n          TOXENV: compile-catalog\n", "state": "active", "repository": "django-extensions/django-extensions"}
{"mined_at": "2024-07-15T14:05:58.506704", "created_at": "2021-04-02T22:48:28+02:00", "updated_at": "2021-04-02T22:48:28+02:00", "name": "Linters", "path": ".github/workflows/linters.yml", "contents": "name: Linters\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  flake8:\n    name: flake8\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Set up Python 3.x\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - run: python -m pip install tox\n      - name: tox py310-flake8\n        run: tox\n        env:\n          TOXENV: py310-flake8\n\n  mypy:\n    name: mypy\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Set up Python 3.x\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - run: python -m pip install tox\n      - name: tox mypy\n        run: tox\n        env:\n          TOXENV: mypy\n", "state": "active", "repository": "django-extensions/django-extensions"}
{"mined_at": "2024-07-15T14:05:59.565892", "created_at": "2021-04-02T22:48:29+02:00", "updated_at": "2021-04-02T22:48:29+02:00", "name": "Pre-Commit Checks", "path": ".github/workflows/precommit.yml", "contents": "name: Pre-Commit Checks\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  precommit:\n    name: precommit\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Set up Python 3.x\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - run: python -m pip install tox\n      - name: tox precommit\n        run: tox\n        env:\n          TOXENV: precommit\n", "state": "active", "repository": "django-extensions/django-extensions"}
{"mined_at": "2024-07-15T14:06:00.680809", "created_at": "2021-04-02T22:48:29+02:00", "updated_at": "2021-04-02T22:48:29+02:00", "name": "PyTest", "path": ".github/workflows/pytest.yml", "contents": "name: PyTest\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  pytest:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 4\n      matrix:\n        python-version:\n          - 3.7\n          - 3.8\n          - 3.9\n          - \"3.10\"\n          - \"3.11\"\n          # 2023-06-05: disabled pypy3.9 due to asgiref typing error\n          # - \"pypy3.9\"\n        tox-django-version:\n          - \"32\"\n          - \"40\"\n          - \"41\"\n          - \"42\"\n          # GH Actions don't support something like allow-failure ?\n          # - \"master\"\n        exclude:\n          - python-version: \"3.7\"\n            tox-django-version: \"40\"\n          - python-version: \"pypy3.9\"\n            tox-django-version: \"40\"\n          - python-version: \"3.6\"\n            tox-django-version: \"41\"\n          - python-version: \"3.7\"\n            tox-django-version: \"41\"\n          - python-version: \"pypy3.9\"\n            tox-django-version: \"41\"\n          - python-version: \"3.6\"\n            tox-django-version: \"42\"\n          - python-version: \"3.7\"\n            tox-django-version: \"42\"\n          - python-version: \"pypy3.9\"\n            tox-django-version: \"42\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - run: python -m pip install tox\n      - name: Pytest\n        run: tox -e py-dj${{ matrix.tox-django-version }}\n\n  pytest-postgresql:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: django_extensions_test\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    strategy:\n      fail-fast: false\n      max-parallel: 4\n      matrix:\n        python-version:\n          - \"3.10\"\n        tox-django-version:\n          - \"32\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - run: python -m pip install tox\n      - name: Pytest\n        run: tox -e py-dj${{ matrix.tox-django-version }}-postgres\n        env:\n          DJANGO_EXTENSIONS_DATABASE_HOST: localhost\n          DJANGO_EXTENSIONS_DATABASE_USER: postgres\n          DJANGO_EXTENSIONS_DATABASE_PASSWORD: postgres\n", "state": "active", "repository": "django-extensions/django-extensions"}
{"mined_at": "2024-07-15T14:06:01.741283", "created_at": "2021-04-02T22:48:29+02:00", "updated_at": "2021-04-02T22:48:29+02:00", "name": "Check Security Vulnerabilities", "path": ".github/workflows/security.yml", "contents": "name: Check Security Vulnerabilities\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  safety:\n    name: safety\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Set up Python 3.x\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - run: python -m pip install tox\n      - name: safety\n        run: tox\n        env:\n          TOXENV: safety\n", "state": "active", "repository": "django-extensions/django-extensions"}
{"mined_at": "2024-07-15T14:06:03.984457", "created_at": "2023-11-29T16:16:14+01:00", "updated_at": "2023-12-04T14:41:24+01:00", "name": "Build Docker Images", "path": ".github/workflows/build.yml", "contents": "name: Build Docker Images\n\non:\n  workflow_dispatch:\n    inputs:\n      onmt_version:\n        description: \"OpenNMT version\"\n        required: true\n        type: string\n  # to facilitate initial tests in PR\n  push:\n    branches:\n      - \"docker\"\n\nrun-name: ${{ github.workflow }} -- ${{ inputs.onmt_version || 'test' }}\n\nenv:\n  ONMT_VERSION: ${{ inputs.onmt_version || 'test' }}\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        cuda_version: [11.8.0, 12.1.0]\n      fail-fast: false\n    permissions: write-all\n    steps:\n    - name: Maximize build space\n      uses: easimon/maximize-build-space@master\n      with:\n        root-reserve-mb: 512\n        swap-size-mb: 10\n        remove-dotnet: 'true'\n        remove-android: 'true'\n        remove-haskell: 'true'\n        overprovision-lvm: 'true'\n    - name: Checkout opennmt repo\n      uses: actions/checkout@v4\n    - name: Login to ghcr\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n    - name: Build\n      run: |\n        docker/build.sh ${{ env.ONMT_VERSION }} ${{ matrix.cuda_version}}\n", "state": "active", "repository": "opennmt/opennmt-py"}
{"mined_at": "2024-07-15T14:06:05.383423", "created_at": "2024-03-18T17:03:26+01:00", "updated_at": "2024-03-18T17:03:26+01:00", "name": "Manual workflow", "path": ".github/workflows/deploy_docs.yml", "contents": "# This is a basic workflow that is manually triggered\n\nname: Manual workflow\n\n# Controls when the action will run. Workflow runs when manually triggered using the UI\n# or API.\non:\n  workflow_dispatch:\n    # Inputs the workflow accepts.\n    inputs:\n      name:\n        # Friendly description to be shown in the UI instead of 'name'\n        description: 'Person to greet'\n        # Default value if no value is explicitly provided\n        default: 'World'\n        # Input has to be provided for the workflow to run\n        required: true\n        # The data type of the input\n        type: string\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  deploy-docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade setuptools\n        pip install -e .\n        pip install -r docs/requirements.txt\n    - name: Build docs\n      run: |\n        set -e\n        # Check that docs are built without errors\n        cd docs/ && make html && cd ..\n    - name: Deploy docs\n      uses: JamesIves/github-pages-deploy-action@3.7.1\n      with:\n        GITHUB_TOKEN:  ${{ secrets.GITHUB_TOKEN }}\n        BRANCH: gh-pages\n        FOLDER: docs/build/html\n        CLEAN: true\n", "state": "active", "repository": "opennmt/opennmt-py"}
{"mined_at": "2024-07-15T14:06:06.532847", "created_at": "2020-11-10T16:39:10+01:00", "updated_at": "2021-04-30T18:34:57+02:00", "name": "Lint & Tests", "path": ".github/workflows/push.yml", "contents": "name: Lint & Tests\n\non: [push, pull_request]\n\njobs:\n  lint-and-tests:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9] # build only for 3.9 for now\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade setuptools\n        pip install -e .\n        pip install -r requirements.opt.txt\n        pip install sacrebleu\n        pip install flake8\n        python -m pip install black==22.* flake8==3.8.*\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Check code with Black\n      run: |\n        black --check .\n    - name: Lint with flake8\n      run: |\n        flake8 .\n    - name: Unit tests\n      run: |\n        python -m unittest discover\n    - name: Test vocabulary build\n      run: |\n        python onmt/bin/build_vocab.py \\\n          -config data/data.yaml \\\n          -save_data /tmp/onmt \\\n          -n_sample 5000 \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.tgt \\\n          && rm -rf /tmp/sample\n    - name: Test vocabulary build with features\n      run: |\n        python onmt/bin/build_vocab.py \\\n          -config data/features_data.yaml \\\n          -save_data /tmp/onmt_feat \\\n          -src_vocab /tmp/onmt_feat.vocab.src \\\n          -tgt_vocab /tmp/onmt_feat.vocab.tgt \\\n          -n_sample -1 \\\n          && rm -rf /tmp/sample\n    - name: Test field/transform dump\n      run: |\n        # The dumped fields are used later when testing tools\n        python train.py \\\n          -config data/data.yaml \\\n          -save_data /tmp/onmt.train.check \\\n          -dump_fields \\\n          -dump_transforms \\\n          -n_sample 30 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.tgt \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000\n    - name: Test RNN training\n      run: |\n        python train.py \\\n          -config data/data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.tgt \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -hidden_size 2 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -batch_size 10 \\\n          -word_vec_size 5 \\\n          -report_every 5\\\n          -hidden_size 10 \\\n          -train_steps 10 \\\n          -tensorboard \"true\" \\\n          -tensorboard_log_dir /tmp/logs_train\n        python onmt/tests/test_events.py --logdir /tmp/logs_train -tensorboard_checks train\n    - name: Test RNN training and validation with copy\n      run: |\n        python train.py \\\n          -config data/data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.tgt \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -hidden_size 2 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -batch_size 10 \\\n          -word_vec_size 5 \\\n          -report_every 5 \\\n          -hidden_size 10 \\\n          -train_steps 10 -valid_steps 5 \\\n          -tensorboard \"true\" \\\n          -tensorboard_log_dir /tmp/logs_train_and_valid \\\n          -copy_attn\n        python onmt/tests/test_events.py --logdir /tmp/logs_train_and_valid -tensorboard_checks train\n                python onmt/tests/test_events.py --logdir /tmp/logs_train_and_valid -tensorboard_checks valid\n    - name: Test RNN training with coverage\n      run: |\n        python train.py \\\n          -config data/data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.tgt \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -hidden_size 2 -batch_size 10 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -word_vec_size 5 -report_every 5        \\\n          -coverage_attn true -lambda_coverage 0.1 \\\n          -hidden_size 10 -train_steps 10\n    - name: Test Transformer training with align\n      run: |\n        python train.py \\\n          -config data/align_data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.tgt \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -encoder_type transformer \\\n          -decoder_type transformer \\\n          -layers 4 \\\n          -word_vec_size 16 \\\n          -hidden_size 16 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -heads 2 \\\n          -transformer_ff 64 \\\n          -lambda_align 0.05 \\\n          -alignment_layer 2 \\\n          -alignment_heads 0 \\\n          -dropout_steps 0 3 7 \\\n          -dropout 0.3 0.2 0.1 \\\n          -attention_dropout 0.2 0.1 0.1 \\\n          -report_every 5 \\\n          -train_steps 10\n    - name : Test Transformer training and validation with dynamic scoring and copy\n      run: |\n        python3 train.py \\\n          -config data/data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.tgt \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -encoder_type transformer \\\n          -decoder_type transformer \\\n          -layers 4 \\\n          -word_vec_size 16 \\\n          -hidden_size 16 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -heads 2 \\\n          -transformer_ff 64 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -accum_count 2 4 8 \\\n          -accum_steps 0 15000 30000 \\\n          -save_model /tmp/onmt.model \\\n          -train_steps 10  -valid_steps 5 \\\n          -report_every 2 \\\n          -valid_metrics \"BLEU\" \"TER\" \\\n          -tensorboard \"true\" \\\n          -scoring_debug \"true\" \\\n          -tensorboard_log_dir /tmp/logs_dynamic-scoring_and_copy \\\n          -dump_preds /tmp/dump_preds \\\n          -position_encoding \\\n          -copy_attn\n        python onmt/tests/test_events.py --logdir /tmp/logs_dynamic-scoring_and_copy -tensorboard_checks valid_metrics \n    - name : Test Transformer training and validation with dynamic scoring and maxrelative\n      run: |\n        python3 train.py \\\n          -config data/data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.tgt \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -encoder_type transformer \\\n          -decoder_type transformer \\\n          -layers 4 \\\n          -word_vec_size 16 \\\n          -hidden_size 16 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -heads 2 \\\n          -transformer_ff 64 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -accum_count 2 4 8 \\\n          -accum_steps 0 15000 30000 \\\n          -save_model /tmp/onmt.model \\\n          -train_steps 10  -valid_steps 5 \\\n          -report_every 2 \\\n          -valid_metrics \"BLEU\" \"TER\" \\\n          -tensorboard \"true\" \\\n          -scoring_debug \"true\" \\\n          -tensorboard_log_dir /tmp/logs_dynamic-scoring_and_relative \\\n          -dump_preds /tmp/dump_preds \\\n          -max_relative_positions 8\n        python onmt/tests/test_events.py --logdir /tmp/logs_dynamic-scoring_and_relative -tensorboard_checks valid_metrics \n    - name : Test Transformer training and validation with dynamic scoring and rotary\n      run: |\n        python3 train.py \\\n          -config data/data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.tgt \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -encoder_type transformer \\\n          -decoder_type transformer \\\n          -layers 4 \\\n          -word_vec_size 16 \\\n          -hidden_size 16 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -heads 2 \\\n          -transformer_ff 64 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -accum_count 2 4 8 \\\n          -accum_steps 0 15000 30000 \\\n          -save_model /tmp/onmt.model \\\n          -train_steps 10  -valid_steps 5 \\\n          -report_every 2 \\\n          -valid_metrics \"BLEU\" \"TER\" \\\n          -tensorboard \"true\" \\\n          -scoring_debug \"true\" \\\n          -tensorboard_log_dir /tmp/logs_dynamic-scoring_and_rotary \\\n          -dump_preds /tmp/dump_preds \\\n          -max_relative_positions -1\n        python onmt/tests/test_events.py --logdir /tmp/logs_dynamic-scoring_and_rotary -tensorboard_checks valid_metrics \n    - name : Test Transformer training and validation with dynamic scoring and alibi\n      run: |\n        python3 train.py \\\n          -config data/data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.tgt \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -encoder_type transformer \\\n          -decoder_type transformer \\\n          -layers 4 \\\n          -word_vec_size 16 \\\n          -hidden_size 16 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -heads 2 \\\n          -transformer_ff 64 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -accum_count 2 4 8 \\\n          -accum_steps 0 15000 30000 \\\n          -save_model /tmp/onmt.model \\\n          -train_steps 10  -valid_steps 5 \\\n          -report_every 2 \\\n          -valid_metrics \"BLEU\" \"TER\" \\\n          -tensorboard \"true\" \\\n          -scoring_debug \"true\" \\\n          -tensorboard_log_dir /tmp/logs_dynamic-scoring_and_alibi \\\n          -dump_preds /tmp/dump_preds \\\n          -max_relative_positions 8\n        python onmt/tests/test_events.py --logdir /tmp/logs_dynamic-scoring_and_alibi -tensorboard_checks valid_metrics \n    - name: Test LM training\n      run: |\n        python train.py \\\n            -config data/lm_data.yaml \\\n            -src_vocab /tmp/onmt.vocab.src \\\n            -tgt_vocab /tmp/onmt.vocab.src \\\n            -model_task lm \\\n            -encoder_type transformer_lm \\\n            -decoder_type transformer_lm \\\n            -src_vocab_size 1000 \\\n            -tgt_vocab_size 1000 \\\n            -num_workers 0 -bucket_size 1024 \\\n            -dec_layers 2 -batch_size 10 \\\n            -heads 4 -transformer_ff 64 \\\n            -word_vec_size 16 -report_every 5 \\\n            -hidden_size 16 -train_steps 10\n    - name: Test LM training with copy\n      run: |\n        python train.py \\\n          -config data/lm_data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.src \\\n          -model_task lm \\\n          -encoder_type transformer_lm \\\n          -decoder_type transformer_lm \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -dec_layers 2 -batch_size 10 \\\n          -heads 4 -transformer_ff 64 \\\n          -word_vec_size 16 -report_every 5        \\\n          -hidden_size 16 -train_steps 10 \\\n          -copy_attn\n    - name: Test Graph neural network training\n      run: |\n        python train.py \\\n          -config data/ggnn_data.yaml \\\n          -src_seq_length 1000 \\\n          -tgt_seq_length 30 \\\n          -encoder_type ggnn \\\n          -layers 2 \\\n          -decoder_type rnn \\\n          -hidden_size 256 \\\n          -learning_rate 0.1 \\\n          -learning_rate_decay 0.8 \\\n          -global_attention general \\\n          -batch_size 32 \\\n          -word_vec_size 256 \\\n          -bridge \\\n          -num_workers 0 -bucket_size 1024 \\\n          -train_steps 10 \\\n          -n_edge_types 9 \\\n          -state_dim 256 \\\n          -n_steps 10 \\\n          -n_node 64\n    - name: Testing training with features\n      run: |\n        python onmt/bin/train.py \\\n          -config data/features_data.yaml \\\n          -src_vocab /tmp/onmt_feat.vocab.src \\\n          -tgt_vocab /tmp/onmt_feat.vocab.tgt \\\n          -src_vocab_size 1000 -tgt_vocab_size 1000 \\\n          -hidden_size 2 -batch_size 10 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -word_vec_size 5 -hidden_size 10 \\\n          -report_every 5 -train_steps 10 \\\n          -save_model /tmp/onmt.model \\\n          -save_checkpoint_steps 10\n    - name: Testing training with features and dynamic scoring\n      run: |\n        python onmt/bin/train.py \\\n          -config data/features_data.yaml \\\n          -src_vocab /tmp/onmt_feat.vocab.src \\\n          -tgt_vocab /tmp/onmt_feat.vocab.tgt \\\n          -src_vocab_size 1000 -tgt_vocab_size 1000 \\\n          -hidden_size 2 -batch_size 10 \\\n          -word_vec_size 5 -hidden_size 10 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -report_every 5 -train_steps 10 -valid_steps 5\\\n          -valid_metrics \"BLEU\" \"TER\" \\\n          -save_model /tmp/onmt.model \\\n          -save_checkpoint_steps 10\n    - name: Testing translation with features\n      run: |\n        python translate.py \\\n            -model /tmp/onmt.model_step_10.pt \\\n            -src data/data_features/src-test-with-feats.txt \\\n            -n_src_feats 1 -verbose\n    - name: Test RNN translation\n      run: |\n        head data/src-test.txt > /tmp/src-test.txt\n        python translate.py \\\n          -model onmt/tests/test_model.pt \\\n          -src /tmp/src-test.txt \\\n          -verbose\n    - name: Test RNN ensemble translation\n      run: |\n        head data/src-test.txt > /tmp/src-test.txt\n        python translate.py \\\n          -model onmt/tests/test_model.pt \\\n          onmt/tests/test_model.pt \\\n          -src /tmp/src-test.txt \\\n          -verbose\n    - name: Test RNN translation with beam search\n      run: |\n        python translate.py \\\n          -model onmt/tests/test_model2.pt \\\n          -src data/morph/src.valid \\\n          -verbose \\\n          -batch_size 10 \\\n          -beam_size 10 \\\n          -tgt data/morph/tgt.valid \\\n          -out /tmp/trans\n        diff data/morph/tgt.valid /tmp/trans && rm /tmp/trans\n    - name: Test RNN translation with random sampling\n      run: |\n        python translate.py \\\n          -model onmt/tests/test_model2.pt \\\n          -src data/morph/src.valid \\\n          -verbose \\\n          -batch_size 10 \\\n          -beam_size 1 \\\n          -seed 1 \\\n          -random_sampling_topk \"-1\" \\\n          -random_sampling_temp 0.0001 \\\n          -tgt data/morph/tgt.valid \\\n          -out /tmp/trans\n        diff data/morph/tgt.valid /tmp/trans && rm /tmp/trans\n    - name: Test LM generation\n      run: |\n        head data/src-test.txt > /tmp/src-test.txt\n        python translate.py \\\n          -model onmt/tests/test_model_lm.pt \\\n          -src /tmp/src-test.txt \\\n          -verbose\n    - name: Test LM generation with beam search\n      run: |\n        python translate.py \\\n          -model onmt/tests/test_model_lm.pt \\\n          -src data/data_lm/src-gen.txt \\\n          -verbose -batch_size 1 \\\n          -beam_size 10 \\\n          -ban_unk_token \\\n          -length_penalty none \\\n          -out /tmp/gen\n        diff data/data_lm/gen-beam-sol.txt /tmp/gen && rm /tmp/gen\n    - name: Test LM generation with random sampling\n      run: |\n        python translate.py -model onmt/tests/test_model_lm.pt \\\n          -src data/data_lm/src-gen.txt \\\n          -verbose -batch_size 1 \\\n          -beam_size 1 \\\n          -seed 1 \\\n          -random_sampling_topk -1 \\\n          -random_sampling_temp 0.0001 \\\n          -ban_unk_token \\\n          -length_penalty none \\\n          -out /tmp/gen\n        diff data/data_lm/gen-sampling-sol.txt /tmp/gen && rm /tmp/gen\n    - name: Test LM generation with random top-k/nucleus sampling\n      run: |\n        python translate.py -model onmt/tests/test_model_lm.pt \\\n          -src data/data_lm/src-gen.txt \\\n          -verbose -batch_size 1 \\\n          -beam_size 1 \\\n          -seed 3 \\\n          -random_sampling_topk -1 \\\n          -random_sampling_topp 0.95 \\\n          -random_sampling_temp 1 \\\n          -ban_unk_token \\\n          -length_penalty none \\\n          -out /tmp/gen\n        diff data/data_lm/gen-nucleus-sampling-sol$(python -c \"import torch; print(torch.__version__[0])\").txt /tmp/gen && rm /tmp/gen\n    - name: Test LM generation with random sampling multi-beams\n      run: |\n        python translate.py -model onmt/tests/test_model_lm.pt \\\n          -src data/data_lm/src-gen.txt \\\n          -verbose -batch_size 1 \\\n          -beam_size 10 \\\n          -seed 2 \\\n          -random_sampling_topk 50 \\\n          -random_sampling_topp 0.95 \\\n          -random_sampling_temp 1 \\\n          -length_penalty avg \\\n          -ban_unk_token \\\n          -min_length 5 \\\n          -out /tmp/gen\n        diff data/data_lm/gen-sampling-beams-sol$(python -c \"import torch; print(torch.__version__[0])\").txt /tmp/gen && rm /tmp/gen\n    - name: Test py-LM inference engine\n      run: |\n        head data/src-test.txt > /tmp/src-test.txt\n        python onmt/tests/test_inference_engines.py \\\n          -model onmt/tests/test_model_lm.pt \\\n          -model_task lm \\\n          -input_file /tmp/src-test.txt \\\n          -inference_config_file data/inference-engine_py.yaml \\\n          -inference_mode py \\\n          -out /tmp/inference_engine_lm_py_outputs\n    - name: Test ct2-LM inference engine\n      run: |\n        head data/src-test.txt > /tmp/src-test.txt\n        python onmt/tests/test_inference_engines.py \\\n          -model onmt/tests/test_model_lm_ct2 \\\n          -model_task lm \\\n          -input_file /tmp/src-test.txt \\\n          -inference_config_file data/inference-engine_py.yaml \\\n          -inference_mode ct2 \\\n          -out /tmp/inference_engine_lm_py_outputs\n    - name: Test py-SEQ2SEQ inference engine\n      run: |\n        head data/src-test.txt > /tmp/src-test.txt\n        python onmt/tests/test_inference_engines.py \\\n          -model onmt/tests/test_model.pt \\\n          -model_task seq2seq \\\n          -input_file /tmp/src-test.txt \\\n          -inference_config_file data/inference-engine_py.yaml \\\n          -inference_mode py \\\n          -out /tmp/inference_engine_lm_py_outputs\n    - name: Test extract_vocabulary tool\n      run: |\n        python tools/extract_vocabulary.py \\\n          -model onmt/tests/test_model.pt \\\n          -side src \\\n          -out_file /tmp/onmt.vocab.txt\n        if ! wc -l /tmp/onmt.vocab.txt | grep -qF  \"1002\"\n          then echo \"wrong word count\" && exit 1\n        else\n          echo \"create vocabulary pass\"\n        fi\n    - name: Test embeddings_to_torch tool\n      run: |\n        python tools/embeddings_to_torch.py \\\n          -emb_file_enc onmt/tests/sample_glove.txt \\\n          -emb_file_dec onmt/tests/sample_glove.txt \\\n          -dict_file onmt/tests/test_model.pt \\\n          -output_file /tmp/q_gloveembeddings \\\n          && rm /tmp/q_gloveembeddings*\n    - name: Test extract_embeddings tool\n      run: |\n        python tools/extract_embeddings.py \\\n          -model onmt/tests/test_model.pt\n    - name: Test checkpoint vocabulary update\n      run: |\n        python train.py \\\n          -config data/data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.tgt \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -hidden_size 2 \\\n          -batch_size 10 \\\n          -word_vec_size 5 \\\n          -report_every 5\\\n          -hidden_size 10 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -train_steps 10 \\\n          -save_model /tmp/onmt.model \\\n          -save_checkpoint_steps 10\n        sed -i '1s/^/new_tok\\t100000000\\n/' /tmp/onmt.vocab.src\n        python train.py \\\n          -config data/data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.tgt \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -hidden_size 2 \\\n          -batch_size 10 \\\n          -word_vec_size 5 \\\n          -report_every 5\\\n          -hidden_size 10 \\\n          -train_steps 20 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -update_vocab \\\n          -reset_optim \"states\" \\\n          -train_from /tmp/onmt.model_step_10.pt\n    - name: Test checkpoint vocabulary update with LM\n      run: |\n        python train.py \\\n          -config data/lm_data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.src \\\n          -model_task lm \\\n          -encoder_type transformer_lm \\\n          -decoder_type transformer_lm \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -dec_layers 2 -batch_size 10 \\\n          -heads 4 -transformer_ff 64 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -word_vec_size 16 -report_every 5 \\\n          -save_model /tmp/lm.onmt.model \\\n          -save_checkpoint_steps 10 \\\n          -hidden_size 16 -train_steps 10\n        sed -i '1s/^/new_tok2\\t100000000\\n/' /tmp/onmt.vocab.src\n        python train.py \\\n          -config data/lm_data.yaml \\\n          -src_vocab /tmp/onmt.vocab.src \\\n          -tgt_vocab /tmp/onmt.vocab.src \\\n          -model_task lm \\\n          -encoder_type transformer_lm \\\n          -decoder_type transformer_lm \\\n          -src_vocab_size 1000 \\\n          -tgt_vocab_size 1000 \\\n          -num_workers 0 -bucket_size 1024 \\\n          -dec_layers 2 -batch_size 10 \\\n          -heads 4 -transformer_ff 64 \\\n          -word_vec_size 16 -report_every 5 \\\n          -hidden_size 16  -train_steps 20 \\\n          -update_vocab -reset_optim \"states\" \\\n          -train_from /tmp/lm.onmt.model_step_10.pt\n\n  build-docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade setuptools\n        pip install -e .\n        pip install -r docs/requirements.txt\n    - name: Build docs\n      run: |\n        set -e\n        # Check that docs are built without errors\n        cd docs/ && make html && cd ..\n", "state": "active", "repository": "opennmt/opennmt-py"}
{"mined_at": "2024-07-15T14:06:07.596631", "created_at": "2020-11-10T18:44:01+01:00", "updated_at": "2020-11-10T18:44:01+01:00", "name": "Deploy Docs & Publish to PyPi", "path": ".github/workflows/release.yml", "contents": "name: Deploy Docs & Publish to PyPi\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy-docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade setuptools\n        pip install -e .\n        pip install -r docs/requirements.txt\n    - name: Build docs\n      run: |\n        set -e\n        # Check that docs are built without errors\n        cd docs/ && make html && cd ..\n    - name: Deploy docs\n      uses: JamesIves/github-pages-deploy-action@3.7.1\n      with:\n        GITHUB_TOKEN:  ${{ secrets.GITHUB_TOKEN }}\n        BRANCH: gh-pages\n        FOLDER: docs/build/html\n        CLEAN: true\n  publish-pypi:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade setuptools wheel\n    - name: Build a binary wheel and a source tarball\n      run: |\n        python setup.py sdist bdist_wheel\n    - name: Publish release to PyPi\n      uses: pypa/gh-action-pypi-publish@54b39fb9371c0b3a6f9f14bb8a67394defc7a806\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n        verbose: true\n", "state": "active", "repository": "opennmt/opennmt-py"}
{"mined_at": "2024-07-15T14:06:08.638746", "created_at": "2022-09-14T18:52:28+02:00", "updated_at": "2022-09-14T18:52:28+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "opennmt/opennmt-py"}
{"mined_at": "2024-07-15T14:06:10.716371", "created_at": "2023-05-09T18:24:32+02:00", "updated_at": "2023-05-09T18:24:32+02:00", "name": "Deploy a Datasette branch preview to Vercel", "path": ".github/workflows/deploy-branch-preview.yml", "contents": "name: Deploy a Datasette branch preview to Vercel\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"Branch to deploy\"\n        required: true\n        type: string\n\njobs:\n  deploy-branch-preview:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.11\"\n    - name: Install dependencies\n      run: |\n        pip install datasette-publish-vercel\n    - name: Deploy the preview\n      env:\n        VERCEL_TOKEN: ${{ secrets.BRANCH_PREVIEW_VERCEL_TOKEN }}\n      run: |\n        export BRANCH=\"${{ github.event.inputs.branch }}\"\n        wget https://latest.datasette.io/fixtures.db\n        datasette publish vercel fixtures.db \\\n          --branch $BRANCH \\\n          --project \"datasette-preview-$BRANCH\" \\\n          --token $VERCEL_TOKEN \\\n          --scope datasette \\\n          --about \"Preview of $BRANCH\" \\\n          --about_url \"https://github.com/simonw/datasette/tree/$BRANCH\"\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:11.842684", "created_at": "2020-03-25T03:26:16+01:00", "updated_at": "2020-03-25T03:26:16+01:00", "name": "Deploy latest.datasette.io", "path": ".github/workflows/deploy-latest.yml", "contents": "name: Deploy latest.datasette.io\n\non:\n  push:\n    branches:\n    - main\n    - 1.0-dev\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out datasette\n      uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      # gcloud commmand breaks on higher Python versions, so stick with 3.9:\n      with:\n        python-version: \"3.9\"\n    - uses: actions/cache@v3\n      name: Configure pip caching\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -e .[test]\n        python -m pip install -e .[docs]\n        python -m pip install sphinx-to-sqlite==0.1a1\n    - name: Run tests\n      if: ${{ github.ref == 'refs/heads/main' }}\n      run: |\n        pytest -n auto -m \"not serial\"\n        pytest -m \"serial\"\n    - name: Build fixtures.db and other files needed to deploy the demo\n      run: |-\n        python tests/fixtures.py \\\n          fixtures.db \\\n          fixtures-config.json \\\n          fixtures-metadata.json \\\n          plugins \\\n          --extra-db-filename extra_database.db\n    - name: Build docs.db\n      if: ${{ github.ref == 'refs/heads/main' }}\n      run: |-\n        cd docs\n        DISABLE_SPHINX_INLINE_TABS=1 sphinx-build -b xml . _build\n        sphinx-to-sqlite ../docs.db _build\n        cd ..\n    - name: Set up the alternate-route demo\n      run: |\n        echo '\n        from datasette import hookimpl\n\n        @hookimpl\n        def startup(datasette):\n            db = datasette.get_database(\"fixtures2\")\n            db.route = \"alternative-route\"\n        ' > plugins/alternative_route.py\n        cp fixtures.db fixtures2.db\n    - name: And the counters writable canned query demo\n      run: |\n        cat > plugins/counters.py <<EOF\n        from datasette import hookimpl\n        @hookimpl\n        def startup(datasette):\n            db = datasette.add_memory_database(\"counters\")\n            async def inner():\n                await db.execute_write(\"create table if not exists counters (name text primary key, value integer)\")\n                await db.execute_write(\"insert or ignore into counters (name, value) values ('counter_a', 0)\")\n                await db.execute_write(\"insert or ignore into counters (name, value) values ('counter_b', 0)\")\n                await db.execute_write(\"insert or ignore into counters (name, value) values ('counter_c', 0)\")\n            return inner\n        @hookimpl\n        def canned_queries(database):\n            if database == \"counters\":\n                queries = {}\n                for name in (\"counter_a\", \"counter_b\", \"counter_c\"):\n                    queries[\"increment_{}\".format(name)] = {\n                        \"sql\": \"update counters set value = value + 1 where name = '{}'\".format(name),\n                        \"on_success_message_sql\": \"select 'Counter {name} incremented to ' || value from counters where name = '{name}'\".format(name=name),\n                        \"write\": True,\n                    }\n                    queries[\"decrement_{}\".format(name)] = {\n                        \"sql\": \"update counters set value = value - 1 where name = '{}'\".format(name),\n                        \"on_success_message_sql\": \"select 'Counter {name} decremented to ' || value from counters where name = '{name}'\".format(name=name),\n                        \"write\": True,\n                    }\n                return queries\n        EOF\n    # - name: Make some modifications to metadata.json\n    #   run: |\n    #     cat fixtures.json | \\\n    #       jq '.databases |= . + {\"ephemeral\": {\"allow\": {\"id\": \"*\"}}}' | \\\n    #       jq '.plugins |= . + {\"datasette-ephemeral-tables\": {\"table_ttl\": 900}}' \\\n    #       > metadata.json\n    #     cat metadata.json\n    - name: Set up Cloud Run\n      uses: google-github-actions/setup-gcloud@v0\n      with:\n        version: '318.0.0'\n        service_account_email: ${{ secrets.GCP_SA_EMAIL }}\n        service_account_key: ${{ secrets.GCP_SA_KEY }}\n    - name: Deploy to Cloud Run\n      env:\n        LATEST_DATASETTE_SECRET: ${{ secrets.LATEST_DATASETTE_SECRET }}\n      run: |-\n        gcloud config set run/region us-central1\n        gcloud config set project datasette-222320\n        export SUFFIX=\"-${GITHUB_REF#refs/heads/}\"\n        export SUFFIX=${SUFFIX#-main}\n        # Replace 1.0 with one-dot-zero in SUFFIX\n        export SUFFIX=${SUFFIX//1.0/one-dot-zero}\n        datasette publish cloudrun fixtures.db fixtures2.db extra_database.db \\\n            -m fixtures-metadata.json \\\n            --plugins-dir=plugins \\\n            --branch=$GITHUB_SHA \\\n            --version-note=$GITHUB_SHA \\\n            --extra-options=\"--setting template_debug 1 --setting trace_debug 1 --crossdb\" \\\n            --install 'datasette-ephemeral-tables>=0.2.2' \\\n            --service \"datasette-latest$SUFFIX\" \\\n            --secret $LATEST_DATASETTE_SECRET\n    - name: Deploy to docs as well (only for main)\n      if: ${{ github.ref == 'refs/heads/main' }}\n      run: |-\n        # Deploy docs.db to a different service\n        datasette publish cloudrun docs.db \\\n            --branch=$GITHUB_SHA \\\n            --version-note=$GITHUB_SHA \\\n            --extra-options=\"--setting template_debug 1\" \\\n            --service=datasette-docs-latest\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:12.870068", "created_at": "2022-08-03T01:38:04+02:00", "updated_at": "2022-08-03T01:38:04+02:00", "name": "Read the Docs Pull Request Preview", "path": ".github/workflows/documentation-links.yml", "contents": "name: Read the Docs Pull Request Preview\non:\n  pull_request_target:\n    types:\n      - opened\n\npermissions:\n  pull-requests: write\n\njobs:\n  documentation-links:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: readthedocs/actions/preview@v1\n        with:\n          project-slug: \"datasette\"\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:13.843409", "created_at": "2020-12-31T22:42:15+01:00", "updated_at": "2020-12-31T22:42:15+01:00", "name": "Check JavaScript for conformance with Prettier", "path": ".github/workflows/prettier.yml", "contents": "name: Check JavaScript for conformance with Prettier\n\non: [push]\n\npermissions:\n  contents: read\n\njobs:\n  prettier:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out repo\n      uses: actions/checkout@v2\n    - uses: actions/cache@v2\n      name: Configure npm caching\n      with:\n        path: ~/.npm\n        key: ${{ runner.OS }}-npm-${{ hashFiles('**/package-lock.json') }}\n        restore-keys: |\n          ${{ runner.OS }}-npm-\n    - name: Install dependencies\n      run: npm ci\n    - name: Run prettier\n      run: |-\n        npm run prettier -- --check\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:14.861800", "created_at": "2020-08-18T07:09:36+02:00", "updated_at": "2020-08-18T07:09:36+02:00", "name": "Publish Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Publish Python Package\n\non:\n  release:\n    types: [created]\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: setup.py\n    - name: Install dependencies\n      run: |\n        pip install -e '.[test]'\n    - name: Run tests\n      run: |\n        pytest\n\n  deploy:\n    runs-on: ubuntu-latest\n    needs: [test]\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n        cache: pip\n        cache-dependency-path: setup.py\n    - name: Install dependencies\n      run: |\n        pip install setuptools wheel build\n    - name: Build\n      run: |\n        python -m build\n    - name: Publish\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  deploy_static_docs:\n    runs-on: ubuntu-latest\n    needs: [deploy]\n    if: \"!github.event.release.prerelease\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n        cache: pip\n        cache-dependency-path: setup.py\n    - name: Install dependencies\n      run: |\n        python -m pip install -e .[docs]\n        python -m pip install sphinx-to-sqlite==0.1a1\n    - name: Build docs.db\n      run: |-\n        cd docs\n        DISABLE_SPHINX_INLINE_TABS=1 sphinx-build -b xml . _build\n        sphinx-to-sqlite ../docs.db _build\n        cd ..\n    - name: Set up Cloud Run\n      uses: google-github-actions/setup-gcloud@v0\n      with:\n        version: '318.0.0'\n        service_account_email: ${{ secrets.GCP_SA_EMAIL }}\n        service_account_key: ${{ secrets.GCP_SA_KEY }}\n    - name: Deploy stable-docs.datasette.io to Cloud Run\n      run: |-\n        gcloud config set run/region us-central1\n        gcloud config set project datasette-222320\n        datasette publish cloudrun docs.db \\\n            --service=datasette-docs-stable\n\n  deploy_docker:\n    runs-on: ubuntu-latest\n    needs: [deploy]\n    if: \"!github.event.release.prerelease\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Build and push to Docker Hub\n      env:\n        DOCKER_USER: ${{ secrets.DOCKER_USER }}\n        DOCKER_PASS: ${{ secrets.DOCKER_PASS }}\n      run: |-\n        sleep 60 # Give PyPI time to make the new release available\n        docker login -u $DOCKER_USER -p $DOCKER_PASS\n        export REPO=datasetteproject/datasette\n        docker build -f Dockerfile \\\n          -t $REPO:${GITHUB_REF#refs/tags/} \\\n          --build-arg VERSION=${GITHUB_REF#refs/tags/} .\n        docker tag $REPO:${GITHUB_REF#refs/tags/} $REPO:latest\n        docker push $REPO:${GITHUB_REF#refs/tags/}\n        docker push $REPO:latest\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:15.877171", "created_at": "2021-03-29T03:36:14+02:00", "updated_at": "2021-03-29T03:36:14+02:00", "name": "Push specific Docker tag", "path": ".github/workflows/push_docker_tag.yml", "contents": "name: Push specific Docker tag\n\non:\n  workflow_dispatch:\n    inputs:\n      version_tag:\n        description: Tag to build and push\n\npermissions:\n  contents: read\n\njobs:\n  deploy_docker:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Build and push to Docker Hub\n      env:\n        DOCKER_USER: ${{ secrets.DOCKER_USER }}\n        DOCKER_PASS: ${{ secrets.DOCKER_PASS }}\n        VERSION_TAG: ${{ github.event.inputs.version_tag }}\n      run: |-\n        docker login -u $DOCKER_USER -p $DOCKER_PASS\n        export REPO=datasetteproject/datasette\n        docker build -f Dockerfile \\\n          -t $REPO:${VERSION_TAG} \\\n          --build-arg VERSION=${VERSION_TAG} .\n        docker push $REPO:${VERSION_TAG}\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:16.875377", "created_at": "2021-08-03T18:20:09+02:00", "updated_at": "2021-08-03T18:36:40+02:00", "name": "Check spelling in documentation", "path": ".github/workflows/spellcheck.yml", "contents": "name: Check spelling in documentation\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  spellcheck:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n        cache: 'pip'\n        cache-dependency-path: '**/setup.py'\n    - name: Install dependencies\n      run: |\n        pip install -e '.[docs]'\n    - name: Check spelling\n      run: |\n        codespell README.md --ignore-words docs/codespell-ignore-words.txt\n        codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt\n        codespell datasette -S datasette/static --ignore-words docs/codespell-ignore-words.txt\n        codespell tests --ignore-words docs/codespell-ignore-words.txt\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:17.870045", "created_at": "2020-06-13T22:52:50+02:00", "updated_at": "2020-06-13T22:52:50+02:00", "name": "Calculate test coverage", "path": ".github/workflows/test-coverage.yml", "contents": "name: Calculate test coverage\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out datasette\n      uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n        cache: 'pip'\n        cache-dependency-path: '**/setup.py'\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -e .[test]\n        python -m pip install pytest-cov\n    - name: Run tests\n      run: |-\n        ls -lah\n        cat .coveragerc\n        pytest --cov=datasette --cov-config=.coveragerc --cov-report xml:coverage.xml --cov-report term\n        ls -lah\n    - name: Upload coverage report\n      uses: codecov/codecov-action@v1\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: coverage.xml\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:18.845114", "created_at": "2022-05-03T01:32:32+02:00", "updated_at": "2022-05-03T01:32:32+02:00", "name": "Test in Pyodide with shot-scraper", "path": ".github/workflows/test-pyodide.yml", "contents": "name: Test in Pyodide with shot-scraper\n\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n        cache: 'pip'\n        cache-dependency-path: '**/setup.py'\n    - name: Cache Playwright browsers\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache/ms-playwright/\n        key: ${{ runner.os }}-browsers\n    - name: Install Playwright dependencies\n      run: |\n        pip install shot-scraper build\n        shot-scraper install\n    - name: Run test\n      run: |\n        ./test-in-pyodide-with-shot-scraper.sh\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:19.868732", "created_at": "2024-06-13T18:41:44+02:00", "updated_at": "2024-06-13T19:09:47+02:00", "name": "Test SQLite versions", "path": ".github/workflows/test-sqlite-support.yml", "contents": "name: Test SQLite versions\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ${{ matrix.platform }}\n    continue-on-error: true\n    strategy:\n      matrix:\n        platform: [ubuntu-latest]\n        python-version: [  \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        sqlite-version: [\n          #\"3\", # latest version\n          \"3.46\",\n          #\"3.45\",\n          #\"3.27\",\n          #\"3.26\",\n          \"3.25\",\n          #\"3.25.3\", # 2018-09-25, window functions breaks test_upsert for some reason on 3.10, skip for now\n          #\"3.24\", # 2018-06-04, added UPSERT support\n          #\"3.23.1\" # 2018-04-10, before UPSERT\n        ]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n        cache: pip\n        cache-dependency-path: setup.py\n    - name: Set up SQLite ${{ matrix.sqlite-version }}\n      uses: asg017/sqlite-versions@71ea0de37ae739c33e447af91ba71dda8fcf22e6\n      with:\n        version: ${{ matrix.sqlite-version }}\n        cflags: \"-DSQLITE_ENABLE_DESERIALIZE -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_JSON1\"\n    - run: python3 -c \"import sqlite3; print(sqlite3.sqlite_version)\"\n    - run: echo $LD_LIBRARY_PATH\n    - name: Build extension for --load-extension test\n      run: |-\n        (cd tests && gcc ext.c -fPIC -shared -o ext.so)\n    - name: Install dependencies\n      run: |\n        pip install -e '.[test]'\n        pip freeze\n    - name: Run tests\n      run: |\n        pytest -n auto -m \"not serial\"\n        pytest -m \"serial\"\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:20.858961", "created_at": "2024-06-13T07:37:36+02:00", "updated_at": "2024-06-13T07:37:36+02:00", "name": "Test", "path": ".github/workflows/test-support.yml", "contents": null, "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:21.837003", "created_at": "2020-08-16T21:12:59+02:00", "updated_at": "2020-08-16T21:12:59+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n        cache: pip\n        cache-dependency-path: setup.py\n    - name: Build extension for --load-extension test\n      run: |-\n        (cd tests && gcc ext.c -fPIC -shared -o ext.so)\n    - name: Install dependencies\n      run: |\n        pip install -e '.[test]'\n        pip freeze\n    - name: Run tests\n      run: |\n        pytest -n auto -m \"not serial\"\n        pytest -m \"serial\"\n        # And the test that exceeds a localhost HTTPS server\n        tests/test_datasette_https_server.sh\n    - name: Install docs dependencies on Python 3.9+\n      if: matrix.python-version != '3.8'\n      run: |\n        pip install -e '.[docs]'\n    - name: Check if cog needs to be run\n      if: matrix.python-version != '3.8'\n      run: |\n        cog --check docs/*.rst\n    - name: Check if blacken-docs needs to be run\n      if: matrix.python-version != '3.8'\n      run: |\n        # This fails on syntax errors, or a diff was applied\n        blacken-docs -l 60 docs/*.rst\n    - name: Test DATASETTE_LOAD_PLUGINS\n      run: |\n        pip install datasette-init datasette-json-html\n        tests/test-datasette-load-plugins.sh\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:23.003424", "created_at": "2021-01-04T22:31:57+01:00", "updated_at": "2021-01-04T22:31:57+01:00", "name": "tmate session mac", "path": ".github/workflows/tmate-mac.yml", "contents": "name: tmate session mac\n\non:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: macos-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup tmate session\n      uses: mxschmitt/action-tmate@v3\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:24.040562", "created_at": "2020-09-14T23:53:56+02:00", "updated_at": "2020-09-14T23:53:56+02:00", "name": "tmate session", "path": ".github/workflows/tmate.yml", "contents": "name: tmate session\n\non:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup tmate session\n      uses: mxschmitt/action-tmate@v3\n", "state": "active", "repository": "simonw/datasette"}
{"mined_at": "2024-07-15T14:06:26.115097", "created_at": "2022-02-26T19:41:44+01:00", "updated_at": "2023-02-23T21:00:17+01:00", "name": "Automated Maintenance", "path": ".github/workflows/maintenance.yaml", "contents": "name: Automated Maintenance\non:\n  schedule:\n    - cron: '0 13 * * *'\n  workflow_dispatch: # Enables on-demand/manual triggering\njobs:\n  job:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - run: |\n          npm install\n          npx pyright --version\n          python -m pip install -r requirements-dev.txt\n          make spec\n          make regen\n          make test\n          make lint\n      - name: Set spec version variable\n        id: vars\n        run: |\n          echo \"pr_title=Updates from spec version $(jq -r .ResourceSpecificationVersion CloudFormationResourceSpecification.json)\" >> $GITHUB_OUTPUT\n      - uses: peter-evans/create-pull-request@v6\n        with:\n          commit-message: |\n            ${{ steps.vars.outputs.pr_title }}\n          title: ${{ steps.vars.outputs.pr_title }}\n          delete-branch: true\n          body: |\n            Autogenerated by maintenance action\n\n            If tests are stuck on https://github.com/peter-evans/create-pull-request/issues/48:\n            [\"Manually close pull requests and immediately reopen them. This will enable `on: pull_request` workflows to run and be added as checks.\"](https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#triggering-further-workflow-runs)\n", "state": "active", "repository": "cloudtools/troposphere"}
{"mined_at": "2024-07-15T14:06:27.304909", "created_at": "2021-06-04T16:44:20+02:00", "updated_at": "2021-06-04T16:44:20+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  test-python:\n    name: Python Linting & Tests\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: '17'\n      - name: Pip Cache (Linux)\n        uses: actions/cache@v4\n        if: runner.os == 'Linux'\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ matrix.python-version }}\n          restore-keys: |\n            ${{ runner.os }}-pip-${{ matrix.python-version }}\n      - name: Install Python Dependencies\n        run: |\n          pip install -r requirements-dev.txt\n      - name: Install Node Dependencies\n        run: npm install\n      - name: Run Lints\n        run: make lint\n      - name: Run Tests\n        run: make test\n\n  test-spec:\n    name: Spec Generation & Formatting Fixups\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install Python Dependencies\n        run: |\n          python -m pip install -r requirements-dev.txt\n      - name: Ensure spec generation and formatting fixups are clean\n        run: |\n          make spec\n          make regen\n          git diff --exit-code\n", "state": "active", "repository": "cloudtools/troposphere"}
{"mined_at": "2024-07-15T14:06:29.246243", "created_at": "2020-08-23T11:30:52+02:00", "updated_at": "2020-08-23T11:35:02+02:00", "name": "Integration", "path": ".github/workflows/integration.yml", "contents": "---\nname: Integration\n\n\"on\":\n  push:\n  pull_request:\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: pip cache\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: integration-pip-${{ hashFiles('**/pyproject.toml') }}\n          restore-keys: |\n            integration-pip-\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        run: |\n          pip install --constraint=.github/workflows/constraints.txt pip\n          pip --version\n\n      - name: Install Poetry\n        run: |\n          pipx install --pip-args=--constraint=.github/workflows/poetry-constraints.txt poetry\n          poetry --version\n\n      - name: Install dependencies\n        run: poetry install\n\n      - name: Test integration\n        run: ./scripts/test_integration.sh\n", "state": "active", "repository": "pycqa/isort"}
{"mined_at": "2024-07-15T14:06:30.273558", "created_at": "2022-12-11T17:28:40+01:00", "updated_at": "2022-12-11T17:28:40+01:00", "name": "Labeler", "path": ".github/workflows/labeler.yml", "contents": "---\nname: Labeler\n\n\"on\":\n  push:\n    branches:\n      - main\n\njobs:\n  labeler:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v3\n\n      - name: Run Labeler\n        uses: crazy-max/ghaction-github-labeler@v4\n        with:\n          skip-delete: true\n", "state": "active", "repository": "pycqa/isort"}
{"mined_at": "2024-07-15T14:06:31.385100", "created_at": "2020-05-12T08:23:22+02:00", "updated_at": "2020-05-12T08:23:22+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "---\nname: Lint\n\n\"on\":\n  push:\n  pull_request:\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: pip cache\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: lint-pip-${{ hashFiles('**/pyproject.toml') }}\n          restore-keys: |\n            lint-pip-\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        run: |\n          pip install --constraint=.github/workflows/constraints.txt pip\n          pip --version\n\n      - name: Install Poetry\n        run: |\n          pip install --constraint=.github/workflows/poetry-constraints.txt poetry\n          poetry --version\n\n      - name: Install dependencies\n        run: poetry install\n\n      - name: Lint\n        run: ./scripts/lint.sh\n", "state": "active", "repository": "pycqa/isort"}
{"mined_at": "2024-07-15T14:06:32.431165", "created_at": "2022-12-11T17:28:40+01:00", "updated_at": "2022-12-11T17:28:40+01:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "---\nname: Release Drafter\n\n\"on\":\n  push:\n    branches:\n      - main\n\njobs:\n  draft_release:\n    if: github.repository_owner == 'PyCQA'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pycqa/isort"}
{"mined_at": "2024-07-15T14:06:33.500306", "created_at": "2022-12-14T06:04:19+01:00", "updated_at": "2022-12-14T06:04:19+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "---\nname: Release\n\n\"on\":\n  push:\n    branches:\n      - main\n\njobs:\n  release:\n    if: github.repository_owner == 'PyCQA'\n    name: Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Upgrade pip\n        run: |\n          pip install --constraint=.github/workflows/constraints.txt pip\n          pip --version\n\n      - name: Install Poetry\n        run: |\n          pip install --constraint=.github/workflows/poetry-constraints.txt poetry\n          poetry --version\n\n      - name: Check if there is a parent commit\n        id: check-parent-commit\n        run: |\n          echo \"::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)\"\n\n      - name: Detect and tag new version\n        id: check-version\n        if: steps.check-parent-commit.outputs.sha\n        uses: salsify/action-detect-and-tag-new-version@v2\n        with:\n          tag-template: \"{VERSION}\"\n          version-command: |\n            bash -o pipefail -c \"poetry version | awk '{ print \\$2 }'\"\n\n      - name: Bump version for developmental release\n        if: \"! steps.check-version.outputs.tag\"\n        run: |\n          poetry version patch &&\n          version=$(poetry version | awk '{ print $2 }') &&\n          poetry version $version.dev.$(date +%s)\n\n      - name: Build package\n        run: |\n          poetry build --ansi\n\n      - name: Publish package on PyPI\n        if: steps.check-version.outputs.tag\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n      - name: Publish the release notes\n        uses: release-drafter/release-drafter@v5\n        with:\n          publish: ${{ steps.check-version.outputs.tag != '' }}\n          tag: ${{ steps.check-version.outputs.tag }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pycqa/isort"}
{"mined_at": "2024-07-15T14:06:34.575771", "created_at": "2020-05-12T08:23:23+02:00", "updated_at": "2020-05-12T08:23:23+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "---\nname: Test\n\non:\n  push:\n  pull_request:\n\npermissions:\n  contents: read\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Ubuntu cache\n        uses: actions/cache@v2\n        if: startsWith(matrix.os, 'ubuntu')\n        with:\n          path: ~/.cache/pip\n          key:\n            ${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml') }}\n          restore-keys: |\n            ${{ matrix.os }}-${{ matrix.python-version }}-\n\n      - name: macOS cache\n        uses: actions/cache@v2\n        if: startsWith(matrix.os, 'macOS')\n        with:\n          path: ~/Library/Caches/pip\n          key:\n            ${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml') }}\n          restore-keys: |\n            ${{ matrix.os }}-${{ matrix.python-version }}-\n\n      - name: Windows cache\n        uses: actions/cache@v2\n        if: startsWith(matrix.os, 'windows')\n        with:\n          path: c:\\users\\runneradmin\\appdata\\local\\pip\\cache\n          key:\n            ${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml') }}\n          restore-keys: |\n            ${{ matrix.os }}-${{ matrix.python-version }}-\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        run: |\n          pip install --constraint=.github/workflows/constraints.txt pip\n          pip --version\n\n      - name: Install Poetry\n        run: |\n          pipx install --pip-args=--constraint=.github/workflows/poetry-constraints.txt poetry\n          poetry --version\n\n      - name: Install dependencies\n        run: poetry install\n\n      - name: Test\n        shell: bash\n        run: ./scripts/test.sh\n\n      - name: Report Coverage\n        if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'\n        uses: codecov/codecov-action@v1\n", "state": "active", "repository": "pycqa/isort"}
{"mined_at": "2024-07-15T14:06:36.723678", "created_at": "2024-02-15T21:42:10+01:00", "updated_at": "2024-02-16T07:25:12+01:00", "name": "test-alpine", "path": ".github/workflows/alpine-test.yml", "contents": "name: test-alpine\n\non: [push, pull_request, workflow_dispatch]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    container:\n      image: alpine:latest\n\n    defaults:\n      run:\n        shell: sudo -u runner sh -exo pipefail {0}\n\n    steps:\n    - name: Prepare Alpine Linux\n      run: |\n        apk add sudo git git-daemon python3 py3-pip\n        echo 'Defaults env_keep += \"CI GITHUB_* RUNNER_*\"' >/etc/sudoers.d/ci_env\n        addgroup -g 127 docker\n        adduser -D -u 1001 runner\n        adduser runner docker\n      shell: sh -exo pipefail {0}  # Run this as root, not the \"runner\" user.\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set workspace ownership\n      run: |\n        chown -R runner:docker -- \"$GITHUB_WORKSPACE\"\n      shell: sh -exo pipefail {0}  # Run this as root, not the \"runner\" user.\n\n    - name: Prepare this repo for tests\n      run: |\n        ./init-tests-after-clone.sh\n\n    - name: Set git user identity and command aliases for the tests\n      run: |\n        git config --global user.email \"travis@ci.com\"\n        git config --global user.name \"Travis Runner\"\n        # If we rewrite the user's config by accident, we will mess it up\n        # and cause subsequent tests to fail\n        cat test/fixtures/.gitconfig >> ~/.gitconfig\n\n    - name: Set up virtualenv\n      run: |\n        python -m venv .venv\n        . .venv/bin/activate\n        printf '%s=%s\\n' 'PATH' \"$PATH\" 'VIRTUAL_ENV' \"$VIRTUAL_ENV\" >>\"$GITHUB_ENV\"\n\n    - name: Update PyPA packages\n      run: |\n        # Get the latest pip, wheel, and prior to Python 3.12, setuptools.\n        python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel\n\n    - name: Install project and test dependencies\n      run: |\n        pip install \".[test]\"\n\n    - name: Show version and platform information\n      run: |\n        uname -a\n        command -v git python\n        git version\n        python --version\n        python -c 'import os, sys; print(f\"sys.platform={sys.platform!r}, os.name={os.name!r}\")'\n\n    - name: Test with pytest\n      run: |\n        pytest --color=yes -p no:sugar --instafail -vv\n", "state": "active", "repository": "gitpython-developers/gitpython"}
{"mined_at": "2024-07-15T14:06:37.854549", "created_at": "2023-12-13T06:54:57+01:00", "updated_at": "2023-12-13T10:42:51+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '27 10 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]\n        # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        setup-python-dependencies: false\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "gitpython-developers/gitpython"}
{"mined_at": "2024-07-15T14:06:38.846695", "created_at": "2022-06-11T18:04:42+02:00", "updated_at": "2022-06-21T05:45:03+02:00", "name": "test-cygwin", "path": ".github/workflows/cygwin-test.yml", "contents": "name: test-cygwin\n\non: [push, pull_request, workflow_dispatch]\n\njobs:\n  build:\n    runs-on: windows-latest\n\n    strategy:\n      fail-fast: false\n\n    env:\n      CHERE_INVOKING: \"1\"\n      CYGWIN_NOWINPATH: \"1\"\n\n    defaults:\n      run:\n        shell: C:\\tools\\cygwin\\bin\\bash.exe --login --norc -eo pipefail -o igncr \"{0}\"\n\n    steps:\n    - name: Force LF line endings\n      run: |\n        git config --global core.autocrlf false  # Affects the non-Cygwin git.\n      shell: bash  # Use Git Bash instead of Cygwin Bash for this step.\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Cygwin\n      uses: egor-tensin/setup-cygwin@v4\n      with:\n        packages: python39=3.9.16-1 python39-pip python39-virtualenv git\n\n    - name: Arrange for verbose output\n      run: |\n        # Arrange for verbose output but without shell environment setup details.\n        echo 'set -x' >~/.bash_profile\n\n    - name: Special configuration for Cygwin git\n      run: |\n        git config --global --add safe.directory \"$(pwd)\"\n        git config --global --add safe.directory \"$(pwd)/.git\"\n        git config --global core.autocrlf false\n\n    - name: Prepare this repo for tests\n      run: |\n        ./init-tests-after-clone.sh\n\n    - name: Set git user identity and command aliases for the tests\n      run: |\n        git config --global user.email \"travis@ci.com\"\n        git config --global user.name \"Travis Runner\"\n        # If we rewrite the user's config by accident, we will mess it up\n        # and cause subsequent tests to fail\n        cat test/fixtures/.gitconfig >> ~/.gitconfig\n\n    - name: Ensure the \"pip\" command is available\n      run: |\n        # This is used unless, and before, an updated pip is installed.\n        ln -s pip3 /usr/bin/pip\n\n    - name: Update PyPA packages\n      run: |\n        # Get the latest pip, wheel, and prior to Python 3.12, setuptools.\n        python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel\n\n    - name: Install project and test dependencies\n      run: |\n        pip install \".[test]\"\n\n    - name: Show version and platform information\n      run: |\n        uname -a\n        command -v git python\n        git version\n        python --version\n        python -c 'import os, sys; print(f\"sys.platform={sys.platform!r}, os.name={os.name!r}\")'\n\n    - name: Test with pytest\n      run: |\n        pytest --color=yes -p no:sugar --instafail -vv\n", "state": "active", "repository": "gitpython-developers/gitpython"}
{"mined_at": "2024-07-15T14:06:39.904333", "created_at": "2023-01-16T17:14:10+01:00", "updated_at": "2023-01-17T08:16:39+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non: [push, pull_request, workflow_dispatch]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n\n    - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "gitpython-developers/gitpython"}
{"mined_at": "2024-07-15T14:06:41.042885", "created_at": "2020-04-11T04:41:31+02:00", "updated_at": "2022-02-13T15:43:44+01:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non: [push, pull_request, workflow_dispatch]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-13\", \"macos-14\", \"windows-latest\"]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n        - os: \"macos-14\"\n          python-version: \"3.7\"\n        - os: \"macos-14\"\n          python-version: \"3.8\"\n        - os: \"macos-14\"\n          python-version: \"3.9\"\n        include:\n        - experimental: false\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash --noprofile --norc -exo pipefail {0}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: ${{ matrix.experimental }}\n\n    - name: Set up WSL (Windows)\n      if: startsWith(matrix.os, 'windows')\n      uses: Vampire/setup-wsl@v3.1.1\n      with:\n        distribution: Debian\n\n    - name: Prepare this repo for tests\n      run: |\n        ./init-tests-after-clone.sh\n\n    - name: Set git user identity and command aliases for the tests\n      run: |\n        git config --global user.email \"travis@ci.com\"\n        git config --global user.name \"Travis Runner\"\n        # If we rewrite the user's config by accident, we will mess it up\n        # and cause subsequent tests to fail\n        cat test/fixtures/.gitconfig >> ~/.gitconfig\n\n    - name: Update PyPA packages\n      run: |\n        # Get the latest pip, wheel, and prior to Python 3.12, setuptools.\n        python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel\n\n    - name: Install project and test dependencies\n      run: |\n        pip install \".[test]\"\n\n    - name: Show version and platform information\n      run: |\n        uname -a\n        command -v git python\n        git version\n        python --version\n        python -c 'import os, sys; print(f\"sys.platform={sys.platform!r}, os.name={os.name!r}\")'\n\n    # For debugging hook tests on native Windows systems that may have WSL.\n    - name: Show bash.exe candidates (Windows)\n      if: startsWith(matrix.os, 'windows')\n      run: |\n        set +e\n        bash.exe -c 'printenv WSL_DISTRO_NAME; uname -a'\n        python -c 'import subprocess; subprocess.run([\"bash.exe\", \"-c\", \"printenv WSL_DISTRO_NAME; uname -a\"])'\n      continue-on-error: true\n\n    - name: Check types with mypy\n      run: |\n        mypy --python-version=${{ matrix.python-version }}\n      env:\n        MYPY_FORCE_COLOR: \"1\"\n        TERM: \"xterm-256color\"  # For color: https://github.com/python/mypy/issues/13817\n      # With new versions of mypy new issues might arise. This is a problem if there is\n      # nobody able to fix them, so we have to ignore errors until that changes.\n      continue-on-error: true\n\n    - name: Test with pytest\n      run: |\n        pytest --color=yes -p no:sugar --instafail -vv\n      continue-on-error: false\n\n    - name: Documentation\n      run: |\n        pip install \".[doc]\"\n        make -C doc html\n", "state": "active", "repository": "gitpython-developers/gitpython"}
{"mined_at": "2024-07-15T14:06:43.152885", "created_at": "2023-06-20T20:04:14+02:00", "updated_at": "2023-06-20T20:12:37+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [main, v1]\n  pull_request:\n    branches: [main, v1]\n  schedule:\n    - cron: \"0 5 * * 1\" # every monday at 05:00 UTC\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Python ${{ matrix.python-version }} ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest]\n\n    defaults:\n      run:\n        shell: bash -elo pipefail {0}\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Create environment with Micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          cache-environment: true\n          create-args: python=${{ matrix.python-version }}\n          environment-file: ./environments/tests/env-ci.yml\n          post-cleanup: none\n\n      - name: Install OSMnx\n        run: |\n          python -m pip install -e .\n          micromamba list\n          python -m pip show osmnx\n\n      - name: Cache pre-commit\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit/\n          key: pre-commit-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('.pre-commit-config.yaml') }}\n\n      - name: Run pre-commit checks\n        run: pre-commit run --all-files\n        env:\n          SKIP: no-commit-to-branch\n\n      - name: Test docs build\n        run: make -C ./docs html SPHINXOPTS=\"-E -W --keep-going\"\n\n      - name: Test code and coverage\n        run: pytest --verbose --maxfail=1 --typeguard-packages=osmnx --cov=osmnx --cov-report=xml\n\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "gboeing/osmnx"}
{"mined_at": "2024-07-15T14:06:44.137310", "created_at": "2023-06-20T20:12:37+02:00", "updated_at": "2023-06-20T20:12:37+02:00", "name": "Test minimal versions", "path": ".github/workflows/test-minimal.yml", "contents": "name: Test minimal versions\n\non:\n  schedule:\n    - cron: \"0 4 * * 1\" # every monday at 04:00 UTC\n  workflow_dispatch:\n\njobs:\n  build:\n    name: ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, ubuntu-latest, windows-latest]\n\n    defaults:\n      run:\n        shell: bash -elo pipefail {0}\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Create environment with Micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          cache-environment: true\n          environment-file: ./environments/tests/env-test-minimal.yml\n          post-cleanup: none\n\n      - name: Install OSMnx\n        run: |\n          python -m pip install -e .\n          micromamba list\n          python -m pip show osmnx\n\n      - name: Test code\n        run: pytest --verbose --maxfail=1\n", "state": "active", "repository": "gboeing/osmnx"}
{"mined_at": "2024-07-15T14:06:45.169040", "created_at": "2023-09-07T18:01:20+02:00", "updated_at": "2023-09-07T18:01:20+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "gboeing/osmnx"}
{"mined_at": "2024-07-15T14:06:46.268949", "created_at": "2024-05-02T01:58:17+02:00", "updated_at": "2024-05-02T01:58:17+02:00", "name": "Build and check package/docs", "path": ".github/workflows/test-build.yml", "contents": "name: Build and check package/docs\n\non:\n  schedule:\n    - cron: \"0 6 * * 1\" # every monday at 06:00 UTC\n  workflow_dispatch:\n\njobs:\n  build:\n    name: ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n\n    defaults:\n      run:\n        shell: bash -elo pipefail {0}\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n\n      - name: Install requirements\n        run: python -m pip install -r ./environments/tests/requirements-test-build.txt\n\n      - name: Build and validate package\n        run: |\n          validate-pyproject ./pyproject.toml\n          hatch build --clean\n          twine check --strict ./dist/*\n\n      - name: Build docs and check links\n        run: python -m sphinx -E -W --keep-going -b linkcheck ./docs/source ./docs/build/linkcheck\n", "state": "active", "repository": "gboeing/osmnx"}
{"mined_at": "2024-07-15T14:06:48.391687", "created_at": "2020-01-05T19:13:03+01:00", "updated_at": "2020-01-05T19:53:21+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "jobs:\n  ci:\n    name: CI\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/ci.yml@main\n    with:\n      package: praw\nname: CI\non: [ pull_request, push ]\npermissions: read-all\n", "state": "active", "repository": "praw-dev/praw"}
{"mined_at": "2024-07-15T14:06:49.514592", "created_at": "2023-05-21T18:36:17+02:00", "updated_at": "2024-06-12T20:04:58+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "jobs:\n  analyze:\n    name: Analyze\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{matrix.language}}\"\nname: \"CodeQL\"\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: 30 1 * * 6\n", "state": "disabled_manually", "repository": "praw-dev/praw"}
{"mined_at": "2024-07-15T14:06:50.652172", "created_at": "2021-11-14T00:57:31+01:00", "updated_at": "2021-11-14T01:11:00+01:00", "name": "Manual Tag Release", "path": ".github/workflows/manual_tag_release.yml", "contents": "jobs:\n  manual_tag_release:\n    name: Manual Tag Release\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/manual_tag_release.yml@main\n    with:\n      commit: ${{ inputs.commit }}\nname: Manual Tag Release\non:\n  workflow_dispatch:\n    inputs:\n      commit:\n        description: The commit the version bump occurred\n        required: true\npermissions:\n  contents: write\n", "state": "active", "repository": "praw-dev/praw"}
{"mined_at": "2024-07-15T14:06:51.780850", "created_at": "2021-09-11T19:15:32+02:00", "updated_at": "2021-09-11T19:15:32+02:00", "name": "Update pre-commit hooks", "path": ".github/workflows/pre-commit_autoupdate.yml", "contents": "jobs:\n  pre-commit_autoupdate:\n    name: Update pre-commit hooks\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/pre-commit_autoupdate.yml@main\nname: Update pre-commit hooks\non:\n  schedule:\n    - cron: 0 15 * * 1\n  workflow_dispatch:\npermissions:\n  contents: write\n  pull-requests: write\n", "state": "active", "repository": "praw-dev/praw"}
{"mined_at": "2024-07-15T14:06:53.110043", "created_at": "2021-02-05T07:03:34+01:00", "updated_at": "2021-02-05T08:17:39+01:00", "name": "Prepare Release", "path": ".github/workflows/prepare_release.yml", "contents": "jobs:\n  prepare_release:\n    name: Prepare Release\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/prepare_release.yml@main\n    with:\n      version: ${{ inputs.version }}\nname: Prepare Release\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: The version to prepare for release\n        required: true\npermissions:\n  contents: read\n  pull-requests: write\n", "state": "active", "repository": "praw-dev/praw"}
{"mined_at": "2024-07-15T14:06:54.125084", "created_at": "2021-02-06T07:22:14+01:00", "updated_at": "2023-10-01T23:51:28+02:00", "name": "Upload Python Package", "path": ".github/workflows/pypi.yml", "contents": "jobs:\n  pypi-publish:\n    environment: release\n    name: Upload release to PyPI\n    permissions:\n      id-token: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: python -m build\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\nname: Upload Python Package\non:\n  release:\n    types: [ published ]\n", "state": "active", "repository": "praw-dev/praw"}
{"mined_at": "2024-07-15T14:06:55.158011", "created_at": "2022-01-28T05:12:03+01:00", "updated_at": "2022-01-28T05:12:03+01:00", "name": "Scorecards supply-chain security", "path": ".github/workflows/scorecards-analysis.yml", "contents": "jobs:\n  analysis:\n    name: Scorecards analysis\n    permissions:\n      actions: read\n      contents: read\n      id-token: write\n      security-events: write\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0\n        with:\n          persist-credentials: false\n      - name: Run analysis\n        uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}\n          publish_results: true\n      - name: Upload artifact\n        uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n      - name: Upload to code-scanning\n        uses: github/codeql-action/upload-sarif@5f532563584d71fdef14ee64d17bafb34f751ce5 # v1.0.26\n        with:\n          sarif_file: results.sarif\nname: Scorecards supply-chain security\non:\n  branch_protection_rule:\n  push:\n    branches: [ master ]\n  schedule:\n    - cron: 30 1 * * 6\npermissions: read-all\n", "state": "active", "repository": "praw-dev/praw"}
{"mined_at": "2024-07-15T14:06:56.152882", "created_at": "2023-01-08T23:29:15+01:00", "updated_at": "2023-01-08T23:29:15+01:00", "name": "Set Active Docs", "path": ".github/workflows/set_active_docs.yml", "contents": "jobs:\n  set_active_docs:\n    name: Set Active Docs\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/set_active_docs.yml@main\nname: Set Active Docs\non:\n  release:\n    types: [ published ]\npermissions:\n  contents: read\n", "state": "active", "repository": "praw-dev/praw"}
{"mined_at": "2024-07-15T14:06:57.308087", "created_at": "2023-01-08T23:29:15+01:00", "updated_at": "2023-05-11T03:09:40+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale_action.yml", "contents": "jobs:\n  stale_action:\n    name: Close stale issues and PRs\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/stale_action.yml@main\nname: Close stale issues and PRs\non:\n  schedule:\n    - cron: 0 */6 * * *\n  workflow_dispatch:\npermissions:\n  issues: write\n  pull-requests: write\n", "state": "active", "repository": "praw-dev/praw"}
{"mined_at": "2024-07-15T14:06:58.538474", "created_at": "2021-02-06T01:57:58+01:00", "updated_at": "2021-02-06T02:18:30+01:00", "name": "Tag Release", "path": ".github/workflows/tag_release.yml", "contents": "jobs:\n  tag_release:\n    name: Tag Release\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/tag_release.yml@main\nname: Tag Release\non:\n  push:\n    branches: [ master, release_test ]\npermissions:\n  contents: write\n", "state": "active", "repository": "praw-dev/praw"}
{"mined_at": "2024-07-15T14:06:59.639948", "created_at": "2024-06-12T20:04:58+02:00", "updated_at": "2024-06-12T20:04:58+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "praw-dev/praw"}
{"mined_at": "2024-07-15T14:07:05.899101", "created_at": "2021-12-05T22:49:23+01:00", "updated_at": "2021-12-06T08:16:22+01:00", "name": "CodeQL", "path": ".github/workflows/analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '41 0 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "alerta/alerta"}
{"mined_at": "2024-07-15T14:07:06.931837", "created_at": "2023-03-09T08:25:22+01:00", "updated_at": "2023-03-09T08:25:22+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\non:\n  push:\n    branches: [ master, release/* ]\n\nenv:\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n  BUILD_NUMBER: ${{ format('{0}-{1}-{2}', github.run_id, github.run_number, github.run_attempt) }}\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: superfly/flyctl-actions/setup-flyctl@master\n      - run: >-\n          flyctl deploy\n          --build-arg BUILD_DATE=$(date -u +\"%Y-%m-%dT%H:%M:%SZ\")\n          --build-arg BUILD_NUMBER=$BUILD_NUMBER\n          --build-arg RELEASE=$(cat VERSION)\n          --build-arg VERSION=${{ github.sha }}\n          --remote-only\n          --app alerta-api\n        env:\n          FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}\n      - uses: act10ns/slack@v2\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n", "state": "active", "repository": "alerta/alerta"}
{"mined_at": "2024-07-15T14:07:08.162811", "created_at": "2020-04-19T00:23:04+02:00", "updated_at": "2021-12-06T08:16:22+01:00", "name": "Docker", "path": ".github/workflows/docker.yml", "contents": "name: Docker\n\non:\n  push:\n    branches: [ master, release/* ]\n    tags: [ '**' ]\n\nenv:\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n  BUILD_NUMBER: ${{ format('{0}-{1}-{2}', github.run_id, github.run_number, github.run_attempt) }}\n\njobs:\n  build:\n    name: Build & Push\n    runs-on: ubuntu-latest\n\n    env:\n      REPOSITORY_URL: ghcr.io\n      IMAGE_NAME: ${{ github.repository_owner }}/alerta-api\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build Image\n        id: docker-build\n        run: >-\n          docker build\n          --build-arg BUILD_DATE=$(date -u +\"%Y-%m-%dT%H:%M:%SZ\")\n          --build-arg BUILD_NUMBER=$BUILD_NUMBER\n          --build-arg RELEASE=$(cat VERSION)\n          --build-arg VERSION=${{ github.sha }}\n          -t $IMAGE_NAME\n          -t $REPOSITORY_URL/$IMAGE_NAME:$(cat VERSION)\n          -t $REPOSITORY_URL/$IMAGE_NAME:$(git rev-parse --short HEAD)\n          -t $REPOSITORY_URL/$IMAGE_NAME:latest .\n      - name: Docker Login\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ env.REPOSITORY_URL }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Publish Image\n        id: docker-push\n        run: docker push --all-tags $REPOSITORY_URL/$IMAGE_NAME\n\n      - uses: act10ns/slack@v2\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n        if: failure()\n", "state": "active", "repository": "alerta/alerta"}
{"mined_at": "2024-07-15T14:07:09.392247", "created_at": "2023-12-21T12:15:25+01:00", "updated_at": "2023-12-21T12:29:23+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n  pull_request:\n    branches: [ master ]\n\nenv:\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.11']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        id: install-deps\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest\n          pip install -r requirements-dev.txt\n      - name: Pre-commit hooks\n        id: hooks\n        run: |\n          pre-commit run -a --show-diff-on-failure\n      - name: Lint with flake8\n        id: lint\n        run: |\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          flake8 . --count --exit-zero --max-complexity=50 --max-line-length=127 --statistics\n", "state": "active", "repository": "alerta/alerta"}
{"mined_at": "2024-07-15T14:07:10.517521", "created_at": "2021-12-06T23:57:27+01:00", "updated_at": "2023-02-27T21:10:32+01:00", "name": "Performance", "path": ".github/workflows/performance.yml", "contents": "name: Performance\n\non:\n  push:\n    branches: [ master, release/* ]\n    tags: [ '**' ]\n\nenv:\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n\njobs:\n  load-test:\n    runs-on: ubuntu-latest\n\n    services:\n      postgres:\n        image: postgres:15\n        env:\n          POSTGRES_DB: alerta\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n      alerta:\n        image: ghcr.io/alerta/alerta-api\n        ports:\n          - 8080:8080\n        env:\n          DEBUG: 1\n          DATABASE_URL: postgres://postgres:postgres@postgres:5432/alerta\n        options: >-\n          --health-cmd \"curl --fail http://localhost:8080/_ || exit 1\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n          --health-start-period 30s\n\n    steps:\n      - name: Perf test\n        run: >-\n          docker run\n          --network host\n          ghcr.io/act10ns/hey\n          -z 2s\n          -m POST\n          -T application/json\n          -d '{\"environment\":\"Production\",\"service\":[\"network\"],\"resource\":\"router01\",\"event\":\"node_down\"}'\n          http://localhost:8080/alert\n      - uses: act10ns/slack@v2\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n        if: failure()\n", "state": "active", "repository": "alerta/alerta"}
{"mined_at": "2024-07-15T14:07:11.644556", "created_at": "2021-11-20T15:52:09+01:00", "updated_at": "2023-03-17T21:18:06+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags: [ 'v*' ]\n\nenv:\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n\njobs:\n  test:\n    name: Test\n    runs-on: ubuntu-latest\n\n    services:\n      postgres:\n        image: postgres:15\n        env:\n          POSTGRES_DB: alerta\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        id: install-deps\n        run: |\n          python3 -m pip install --upgrade pip\n          pip install flake8 pytest\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n          pip install .\n      - name: Pre-commit hooks\n        id: hooks\n        run: |\n          pre-commit run -a --show-diff-on-failure\n      - name: Test with pytest\n        id: test\n        env:\n          DATABASE_URL: postgres://postgres:postgres@localhost:5432/alerta\n        run: |\n          pytest --cov=alerta tests/*.py\n      - uses: act10ns/slack@v2\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n        if: failure()\n\n  release:\n    name: Publish\n    needs: test\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Build\n        id: build\n        run: |\n          python3 -m pip install --upgrade build\n          python3 -m build\n      - name: Publish to PyPI\n        id: publish\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        run: |\n          python3 -m pip install --upgrade twine\n          python3 -m twine check dist/*\n          python3 -m twine upload --verbose dist/*\n\n      - uses: act10ns/slack@v2\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n\n      - name: Test Install\n        run: |\n          python3 -m pip install --upgrade alerta-server\n          python3 -m pip freeze\n", "state": "active", "repository": "alerta/alerta"}
{"mined_at": "2024-07-15T14:07:12.770266", "created_at": "2021-12-05T22:48:49+01:00", "updated_at": "2021-12-06T08:16:22+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n  pull_request:\n    branches: [ master ]\n\nenv:\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n\njobs:\n  test-postgres13:\n    runs-on: ubuntu-latest\n\n    services:\n      postgres:\n        image: postgres:13\n        env:\n          POSTGRES_DB: alerta\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        id: install-deps\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n          pip install .\n      - name: Test with pytest\n        id: test\n        env:\n          DATABASE_URL: postgres://postgres:postgres@localhost:5432/alerta\n        run: |\n          pytest --cov=alerta tests/*.py\n      - uses: act10ns/slack@v2\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n        if: failure()\n\n  test-postgres16:\n    runs-on: ubuntu-latest\n\n    services:\n      postgres:\n        image: postgres:16\n        env:\n          POSTGRES_DB: alerta\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        id: install-deps\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n          pip install .\n      - name: Test with pytest\n        id: test\n        env:\n          DATABASE_URL: postgres://postgres:postgres@localhost:5432/alerta\n        run: |\n          pytest --cov=alerta tests/*.py\n      - uses: act10ns/slack@v2\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n        if: failure()\n\n  test-mongodb60:\n    runs-on: ubuntu-latest\n\n    services:\n      mongodb:\n        image: mongo:6.0\n        ports:\n          - 27017:27017\n\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        id: install-deps\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n          pip install .\n      - name: Test with pytest\n        id: test\n        env:\n          DATABASE_URL: mongodb://127.0.0.1:27017/alerta\n        run: |\n          pytest --cov=alerta tests/*.py\n      - uses: act10ns/slack@v2\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n        if: failure()\n\n  test-mongodb70:\n    runs-on: ubuntu-latest\n\n    services:\n      mongodb:\n        image: mongo:7.0\n        ports:\n          - 27017:27017\n\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        id: install-deps\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n          pip install .\n      - name: Test with pytest\n        id: test\n        env:\n          DATABASE_URL: mongodb://127.0.0.1:27017/alerta\n        run: |\n          pytest --cov=alerta tests/*.py\n      - uses: act10ns/slack@v2\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n        if: failure()\n\n  test-integration:\n    runs-on: ubuntu-latest\n\n    services:\n      mongodb:\n        image: mongo\n        ports:\n          - 27017:27017\n      ldap:\n        image: rroemhild/test-openldap\n        ports:\n          - 389:10389\n      saml-idp:\n        image: jamedjo/test-saml-idp\n        ports:\n          - 9443:8443\n          - 9080:8080\n        env:\n          SIMPLESAMLPHP_SP_ENTITY_ID: http://localhost:8080\n          SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE: http://localhost:8080/auth/saml\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install packages\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y \\\n            build-essential \\\n            python3-dev \\\n            libldap2-dev \\\n            libsasl2-dev \\\n            xmlsec1\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n          architecture: 'x64'\n      - name: Install dependencies\n        id: install-deps\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n          pip install -r requirements-ci.txt\n          pip install .\n      - name: Integration Test (LDAP) with pytest\n        id: integration-test-ldap\n        env:\n          DATABASE_URL: mongodb://127.0.0.1:27017/alerta\n        run: |\n          pytest tests/integration/test_auth_ldap.py\n      - name: Integration Test (SAML) with pytest\n        id: integration-test-saml\n        env:\n          DATABASE_URL: mongodb://127.0.0.1:27017/alerta\n        run: |\n          pytest tests/integration/test_auth_saml.py\n      - uses: act10ns/slack@v2\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n        if: failure()\n", "state": "active", "repository": "alerta/alerta"}
{"mined_at": "2024-07-15T14:07:14.923526", "created_at": "2022-01-24T18:15:26+01:00", "updated_at": "2023-03-27T22:20:10+02:00", "name": "detect-secrets-ci", "path": ".github/workflows/ci.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: detect-secrets-ci\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 1 * *'\n\njobs:\n  main:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python }}\n    - run: python -m pip install --upgrade setuptools pip tox virtualenv\n    # Run tox only for the installed py version on the runner as outlined in the python matrix\n    # Ensures the correct py version is installed and tested as opposed to 'tox' which attempts to run for all py versions in tox.ini\n    - run: tox -e py\n    - run: tox -e mypy\n", "state": "active", "repository": "yelp/detect-secrets"}
{"mined_at": "2024-07-15T14:07:15.960155", "created_at": "2022-02-08T15:53:29+01:00", "updated_at": "2022-02-16T20:36:17+01:00", "name": "detect-secrets-pypi", "path": ".github/workflows/pypi.yml", "contents": "# This workflow will upload a Python Package using Twine when a new tag is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: detect-secrets-pypi\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n\n  tox:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python }}\n    - run: python -m pip install --upgrade setuptools pip tox virtualenv\n    # Run tox only for the installed py version on the runner as outlined in the python matrix\n    # Ensures the correct py version is installed and tested as opposed to 'tox' which attempts to run for all py versions in tox.ini\n    - run: tox -e py\n    - run: tox -e mypy\n\n  deploy:\n    # Run tests beforing deploying to pypi\n    needs: tox\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: pip install wheel\n    - name: Build package\n      run: python setup.py sdist bdist_wheel\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@v1.5.0\n      with:\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "yelp/detect-secrets"}
{"mined_at": "2024-07-15T14:07:17.061650", "created_at": "2024-07-11T17:43:05+02:00", "updated_at": "2024-07-11T17:43:05+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "yelp/detect-secrets"}
{"mined_at": "2024-07-15T14:07:19.096689", "created_at": "2022-03-25T19:51:35+01:00", "updated_at": "2022-03-25T19:51:35+01:00", "name": "Lint PR", "path": ".github/workflows/pr-lint.yml", "contents": "name: Lint PR\non:\n  pull_request_target:\n    types: [ opened, edited, synchronize, reopened ]\n\njobs:\n  validate:\n    name: Validate title\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5\n        with:\n          types: |\n            chore\n            docs\n            fix\n            feat\n            misc\n            test\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "twilio/twilio-python"}
{"mined_at": "2024-07-15T14:07:20.349440", "created_at": "2021-12-03T17:50:36+01:00", "updated_at": "2022-02-28T16:00:26+01:00", "name": "Test and Deploy", "path": ".github/workflows/test-and-deploy.yml", "contents": "name: Test and Deploy\non:\n  push:\n    branches: [ '*' ]\n    tags: [ '*' ]\n  pull_request:\n    branches: [ main ]\n  schedule:\n    # Run automatically at 8AM PST Monday-Friday\n    - cron: '0 15 * * 1-5'\n  workflow_dispatch:\n\njobs:\n  test:\n    name: Test\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]\n    steps:\n      - name: Checkout twilio-python\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0  # Shallow clones should be disabled for a better relevancy of analysis\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Dependencies\n        run: |\n          pip install virtualenv --upgrade\n          make install test-install\n          make prettier\n\n      - name: Run the tests\n        run: make test-with-coverage\n\n      - name: Run Cluster Tests\n        if: (!github.event.pull_request.head.repo.fork)\n        env:\n          TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}\n          TWILIO_API_KEY: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY}}\n          TWILIO_API_SECRET: ${{ secrets.TWILIO_CLUSTER_TEST_API_KEY_SECRET }}\n          TWILIO_FROM_NUMBER: ${{ secrets.TWILIO_FROM_NUMBER }}\n          TWILIO_TO_NUMBER: ${{ secrets.TWILIO_TO_NUMBER }}\n          TWILIO_AUTH_TOKEN: ${{ secrets.TWILIO_AUTH_TOKEN }}\n        run: make cluster-test\n\n      - name: Verify docs generation\n        run: make docs\n\n      # only send coverage for PRs and branch updates\n      - name: SonarCloud Scan\n        if: (github.event_name == 'pull_request' || github.ref_type == 'branch') && !github.event.pull_request.head.repo.fork && matrix.python-version == '3.10'\n        uses: SonarSource/sonarcloud-github-action@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n\n  deploy:\n    name: Deploy\n    if: success() && github.ref_type == 'tag'\n    needs: [ test ]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout twilio-python\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n\n      - name: Build package\n        run: python -m build\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_AUTH_TOKEN }}\n\n      # The expression strips off the shortest match from the front of the string to yield just the tag name as the output\n      - name: Get tagged version\n        run: echo \"GITHUB_TAG=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n\n      - name: Create GitHub Release\n        uses: sendgrid/dx-automator/actions/release@main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and Push image\n        run: make docker-build docker-push\n\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n\n      - name: Submit metric to Datadog\n        uses: sendgrid/dx-automator/actions/datadog-release-metric@main\n        env:\n          DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}\n\n  notify-on-failure:\n    name: Slack notify on failure\n    if: failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')\n    needs: [ test, deploy ]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: rtCamp/action-slack-notify@v2\n        env:\n          SLACK_COLOR: failure\n          SLACK_ICON_EMOJI: ':github:'\n          SLACK_MESSAGE: ${{ format('Test *{0}*, Deploy *{1}*, {2}/{3}/actions/runs/{4}', needs.test.result, needs.deploy.result, github.server_url, github.repository, github.run_id) }}\n          SLACK_TITLE: Action Failure - ${{ github.repository }}\n          SLACK_USERNAME: GitHub Actions\n          SLACK_MSG_AUTHOR: twilio-dx\n          SLACK_FOOTER: Posted automatically using GitHub Actions\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n          MSG_MINIMAL: true\n", "state": "active", "repository": "twilio/twilio-python"}
{"mined_at": "2024-07-15T14:07:22.601316", "created_at": "2022-01-12T21:25:38+01:00", "updated_at": "2023-10-18T16:12:28+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [ \"3.9\", \"3.10\", \"3.11\" ]\n        postgres-version: [12, 15]\n        os: [ubuntu-20.04, ubuntu-22.04]\n        include:\n          - python-version: \"3.9\"\n            toxenv: py39\n          - python-version: \"3.10\"\n            toxenv: py310\n          - python-version: \"3.11\"\n            toxenv: py311\n        exclude:\n          - os: ubuntu-20.04  # python 3.10 isn't working on 20.04 due to missing \"libldap-2.5.so.0\"\n            python-version: \"3.10\"\n          - os: ubuntu-22.04  # python 3.9 isn't working on 22.04 due to missing \"libldap_r-2.4.so.2\"\n            python-version: \"3.9\"\n      fail-fast: false # run all matrix jobs even if one fails, so we know if the problem is version-specific\n\n    services:\n      postgres:\n        image: postgres:${{ matrix.postgres-version }}\n        env:\n          POSTGRES_USER: lemur\n          POSTGRES_PASSWORD: lemur\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n\n    env:\n      TOXENV: ${{ matrix.toxenv }}\n      PIP_DOWNLOAD_CACHE: .pip_download_cache\n      # The following line is a temporary workaround for this issue: https://github.com/pypa/setuptools/issues/2230\n      SETUPTOOLS_USE_DISTUTILS: stdlib\n      # do not load /etc/boto.cfg with Python 3 incompatible plugin\n      # https://github.com/travis-ci/travis-ci/issues/5246#issuecomment-166460882\n      BOTO_CONFIG: /doesnotexist\n      # Enable colors in pytest output: https://github.com/pytest-dev/pytest/issues/7443\n      PY_COLORS: 1\n      # Enable colors in chalk output: https://github.com/chalk/chalk#chalklevel\n      FORCE_COLOR: 1\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Set up Node.js 16\n        uses: actions/setup-node@v4\n        with:\n          node-version: 16\n      - name: Install dependencies\n        run: |\n          python -m venv ~/env\n          source ~/env/bin/activate\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools\n          pip install bandit\n          sudo apt-get update\n          sudo apt-get install libsasl2-dev libldap2-dev xvfb\n      - name: Test\n        run: |\n          python -m venv ~/env\n          source ~/env/bin/activate\n          make test\n      - name: Test JS\n        run: |\n          python -m venv ~/env\n          source ~/env/bin/activate\n          bandit -r . -ll -ii -x lemur/tests/,docs\n          xvfb-run make test-js\n  # todo: re-enable me once https://github.com/coverallsapp/github-action/issues/205 is resolved\n  #     - name: Coveralls GitHub Action\n  #       uses: coverallsapp/github-action@v2\n  #       with:\n  #         parallel: true\n  #         flag-name: Python ${{ matrix.python-version }} Postgres ${{ matrix.postgres-version }} OS ${{ matrix.os }}\n  #       env:\n  #         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  # coveralls:\n  #     name: Indicate completion to coveralls.io\n  #     needs: build\n  #     if: ${{ always() }}\n  #     runs-on: ubuntu-latest\n  #     steps:\n  #     - name: Coveralls Finished\n  #       uses: coverallsapp/github-action@v2\n  #       with:\n  #         parallel-finished: true\n", "state": "active", "repository": "netflix/lemur"}
{"mined_at": "2024-07-15T14:07:23.729703", "created_at": "2023-07-12T21:59:22+02:00", "updated_at": "2023-07-12T22:12:47+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '15 16 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n    \n    # Install prerequisites for python-ldap. See: https://www.python-ldap.org/en/python-ldap-3.3.0/installing.html#build-prerequisites\n    - name: Install python-ldap prerequisites\n      run: sudo apt-get update && sudo apt-get install libldap2-dev libsasl2-dev\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "netflix/lemur"}
{"mined_at": "2024-07-15T14:07:24.794883", "created_at": "2021-03-16T23:41:14+01:00", "updated_at": "2024-02-20T19:27:44+01:00", "name": "Dependabot auto-approve and auto-merge", "path": ".github/workflows/dependabot-auto-merge.yml", "contents": "name: Dependabot auto-approve and auto-merge\non: pull_request\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: github.actor == 'dependabot[bot]'\n    steps:\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v2\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: Approve a PR (patch and minor updates only)\n        run: gh pr review --approve \"$PR_URL\"\n        if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GH_TOKEN: ${{secrets.GITHUB_TOKEN}}\n      - name: Enable auto-merge for Dependabot PRs\n        run: gh pr merge --auto --merge \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GH_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "netflix/lemur"}
{"mined_at": "2024-07-15T14:07:25.876091", "created_at": "2021-03-11T03:03:13+01:00", "updated_at": "2021-03-11T03:03:13+01:00", "name": "Publish Lemur's latest package to PyPI", "path": ".github/workflows/lemur-publish-release-pypi.yml", "contents": "# This workflow will upload a Python Package to PyPI when a Lemur release is created via github\n# For more information see: https://github.com/marketplace/actions/pypi-publish\n\nname: Publish Lemur's latest package to PyPI\n\non:\n  release:\n    types: [created]\n\njobs:\n  build:\n    name: Build distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n      - name: Autobump version\n        run: |\n          # from refs/tags/v0.8.1 get 0.8.1\n          VERSION=$(echo $GITHUB_REF | sed 's#.*/v##')\n          PLACEHOLDER='^__version__ =.*'\n          VERSION_FILE='lemur/__about__.py'\n          # in case placeholder is missing, exists with code 1 and github actions aborts the build\n          grep \"$PLACEHOLDER\" \"$VERSION_FILE\"\n          sed -i \"s/$PLACEHOLDER/__version__ = \\\"${VERSION}\\\"/g\" \"$VERSION_FILE\"\n        shell: bash\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n      - name: Build package\n        run: |\n          python setup.py sdist bdist_wheel\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n  pypi-publish:\n    name: upload release to PyPI\n    runs-on: ubuntu-latest\n    needs: build # wait for the build job to complete\n    environment:\n      name: release\n      url: https://pypi.org/p/lemur\n    permissions:\n      # https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-pypi\n      id-token: write\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "netflix/lemur"}
{"mined_at": "2024-07-15T14:07:27.919504", "created_at": "2022-03-30T08:25:00+02:00", "updated_at": "2022-03-30T08:53:14+02:00", "name": "hadolint", "path": ".github/workflows/hadolint.yml", "contents": "name: hadolint\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - '{{cookiecutter.project_name}}/docker/django/Dockerfile'\n      - '.github/workflows/hadolint.yml'\n  pull_request:\n    paths:\n      - '{{cookiecutter.project_name}}/docker/django/Dockerfile'\n      - '.github/workflows/hadolint.yml'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: hadolint/hadolint-action@v3.1.0\n        with:\n          dockerfile: '{{cookiecutter.project_name}}/docker/django/Dockerfile'\n          failure-threshold: style\n", "state": "active", "repository": "wemake-services/wemake-django-template"}
{"mined_at": "2024-07-15T14:07:29.055984", "created_at": "2022-03-30T10:23:50+02:00", "updated_at": "2022-03-30T16:03:29+02:00", "name": "shellcheck", "path": ".github/workflows/shellcheck.yml", "contents": "name: shellcheck\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'tests/**/*.sh'\n      - '{{cookiecutter.project_name}}/**/*.sh'\n      - '.github/workflows/shellcheck.yml'\n  pull_request:\n    paths:\n      - 'tests/**/*.sh'\n      - '{{cookiecutter.project_name}}/**/*.sh'\n      - '.github/workflows/shellcheck.yml'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ludeeus/action-shellcheck@2.0.0\n        env:\n          SHELLCHECK_OPTS: --shell bash\n        with:\n          severity: style\n          check_together: 'yes'\n", "state": "active", "repository": "wemake-services/wemake-django-template"}
{"mined_at": "2024-07-15T14:07:30.062535", "created_at": "2020-03-28T23:14:56+01:00", "updated_at": "2020-10-19T15:28:49+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\nenv:  # Keep in sync with `POETRY_VERSION` in `Dockerfile`\n  POETRY_VERSION: \"1.8.3\"\n\njobs:\n  test-generated-project:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        python-version: ['3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install poetry\n      run: |\n        curl -sSL \"https://install.python-poetry.org\" | python -\n\n        # Adding `poetry` to `$PATH`:\n        echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n\n    - name: Install dependencies\n      run: |\n        poetry install\n        poetry run pip install -U pip\n\n    - name: Run template's tests\n      run: poetry run bash tests/test_github.sh\n\n  test-internal:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        python-version: ['3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install poetry\n      run: |\n        curl -sSL \"https://install.python-poetry.org\" | python -\n\n        # Adding `poetry` to `$PATH`:\n        echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n\n    - name: Install dependencies\n      run: |\n        poetry config virtualenvs.in-project true\n        poetry run pip install -U pip\n        poetry install\n\n    - name: Run internal project checks\n      run: |\n        poetry run flake8 .\n        poetry run pytest\n        poetry run poetry check\n        poetry run pip check\n", "state": "active", "repository": "wemake-services/wemake-django-template"}
{"mined_at": "2024-07-15T14:07:32.331430", "created_at": "2021-01-28T14:44:19+01:00", "updated_at": "2021-08-12T01:42:11+02:00", "name": "CI", "path": ".github/workflows/CI.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CI\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4.1.2\n\n      - name: Build the code with docker\n        run: docker build . -t nettacker\n\n      - name: Lint\n        run: \"docker run -e github_ci=true -v $(pwd):/usr/src/owaspnettacker --rm nettacker flake8 --extend-exclude\n        '*.txt,*.js,*.md,*.html' --count --select=E9,F63,F7,F82 --show-source\"\n\n      - name: Help Menu\n        run: \"docker run -e github_ci=true -v $(pwd):/usr/src/owaspnettacker --rm nettacker python nettacker.py --help\"\n\n      - name: Help Menu in Persian\n        run: \"docker run -e github_ci=true -v $(pwd):/usr/src/owaspnettacker --rm nettacker python nettacker.py --help\n          -L fa\"\n\n      - name: Show all modules\n        run: \"docker run -e github_ci=true -v $(pwd):/usr/src/owaspnettacker --rm nettacker python nettacker.py\n        --show-all-modules\"\n\n      - name: Show all profiles\n        run: \"docker run -e github_ci=true -v $(pwd):/usr/src/owaspnettacker --rm nettacker python nettacker.py --show-all-profiles\"\n\n      - name: Test all modules command + check if it's finish successfully + csv\n        run: \"docker run -e github_ci=true -v $(pwd):/usr/src/owaspnettacker --rm -i nettacker python nettacker.py\n         -i 127.0.0.1 -u user1,user2 -p pass1,pass2 -m all -g 21,25,80,443 -t 1000 -T 3 -o out.csv\"\n\n      - name: Test all modules command + check if it's finish successfully + csv\n        run: \"docker run -e github_ci=true -v $(pwd):/usr/src/owaspnettacker --rm -i nettacker python nettacker.py\n          -i 127.0.0.1 -u user1,user2 -p pass1,pass2 -m all -g 21,25,80,443 -t 1000 -T 3 -o out.csv --skip-service-discovery\"\n\n      - name: Test all modules command + check if it's finish successfully + with graph + Persian\n        run: \"docker run -e github_ci=true -v $(pwd):/usr/src/owaspnettacker --rm -i nettacker python nettacker.py -i\n         127.0.0.1 -L fa -u user1,user2 -p pass1,pass2 --profile all -g 21,25,80,443 -t 1000 -T 3\n         --graph d3_tree_v2_graph -v\"\n\n      - name: Test all modules command + check if it's finish successfully + with graph + Persian\n        run: \"docker run -e github_ci=true -v $(pwd):/usr/src/owaspnettacker --rm -i nettacker python nettacker.py -i\n         127.0.0.1 -L fa -u user1,user2 -p pass1,pass2 --profile all -g 21,25,80,443 -t 1000 -T 3\n         --graph d3_tree_v2_graph -v --skip-service-discovery\"\n", "state": "active", "repository": "owasp/nettacker"}
{"mined_at": "2024-07-15T14:07:33.455896", "created_at": "2023-10-29T02:36:35+01:00", "updated_at": "2023-10-29T02:36:35+01:00", "name": "CI/CD", "path": ".github/workflows/ci_cd.yml", "contents": null, "state": "active", "repository": "owasp/nettacker"}
{"mined_at": "2024-07-15T14:07:34.512352", "created_at": "2022-09-25T12:21:01+02:00", "updated_at": "2022-09-25T14:09:37+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '00 0 * * *'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4.1.2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "owasp/nettacker"}
{"mined_at": "2024-07-15T14:07:35.481154", "created_at": "2023-10-29T02:36:35+01:00", "updated_at": "2023-10-29T02:36:35+01:00", "name": "CodeQL", "path": ".github/workflows/codeql_analysis.yml", "contents": null, "state": "active", "repository": "owasp/nettacker"}
{"mined_at": "2024-07-15T14:07:36.632403", "created_at": "2022-10-06T00:48:16+02:00", "updated_at": "2022-10-06T02:07:51+02:00", "name": "Publish Docker image", "path": ".github/workflows/publish_docker_image.yml", "contents": "# build and publish docker image from master branch\nname: Publish Docker image\non:\n  push:\n    branches:\n      - master\njobs:\n  push_to_registry:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4.1.2\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile\n          push: true\n          tags: owasp/nettacker:latest", "state": "active", "repository": "owasp/nettacker"}
{"mined_at": "2024-07-15T14:07:38.678164", "created_at": "2024-01-19T08:47:27+01:00", "updated_at": "2024-01-19T09:07:36+01:00", "name": "Move ticket to closed", "path": ".github/workflows/close_issue.yml", "contents": "on:\n  issues:\n    types:\n      - closed\n\nname: Move ticket to closed\n\njobs:\n  close-ticket-in-jira:\n    if: ${{ !github.event.issue.pull_request }}\n    name: Close ticket\n    runs-on: ubuntu-latest\n    steps:\n    - name: Login\n      uses: atlassian/gajira-login@master\n      env:\n        JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n        JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n        JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n        \n    - name: Find Comment\n      uses: peter-evans/find-comment@v2\n      id: find_comment\n      with:\n        issue-number: ${{ github.event.issue.number }}\n        comment-author: 'github-actions[bot]'\n        direction: first\n        nth: 0\n        \n    - name: Find Jira ticket\n      if: steps.find_comment.outputs.comment-id != ''\n      id: find_ticket\n      uses: atlassian/gajira-find-issue-key@v3\n      with:\n        string: ${{ steps.find_comment.outputs.comment-body }}\n\n    - name: Update Jira ticket\n      if: steps.find_ticket.outputs.issue != ''\n      uses: atlassian/gajira-comment@v3\n      with:\n        issue: ${{ steps.find_ticket.outputs.issue }}\n        comment: |\n          Github issue was closed by *${{ github.event.sender.login }}*\n\n    - name: Move to Done\n      if: steps.find_ticket.outputs.issue != ''\n      id: transition\n      uses: atlassian/gajira-transition@v3\n      with:\n        issue: ${{ steps.find_ticket.outputs.issue }}\n        transition: \"Closed\"\n", "state": "active", "repository": "thingsboard/thingsboard-gateway"}
{"mined_at": "2024-07-15T14:07:39.970257", "created_at": "2021-09-07T11:55:56+02:00", "updated_at": "2023-08-13T08:50:17+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '42 4 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "thingsboard/thingsboard-gateway"}
{"mined_at": "2024-07-15T14:07:41.033281", "created_at": "2024-01-17T08:00:53+01:00", "updated_at": "2024-01-17T08:00:53+01:00", "name": "Create an issue in Jira", "path": ".github/workflows/issue_creation.yml", "contents": "on:\n  issues:\n    types:\n      - opened\n\nname: Create an issue in Jira\n\njobs:\n  create-issue-in-jira:\n    name: Issue creation\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n    - name: Login\n      uses: atlassian/gajira-login@master\n      env:\n        JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n        JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n        JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n        \n    - name: Create\n      id: create\n      uses: atlassian/gajira-create@v3\n      with:\n        project: IOTGW\n        issuetype: Task\n        summary: '[GH issue ${{ github.event.issue.number }}] ${{ github.event.issue.title }}'\n        description: |\n          Github issue was created by *${{ github.event.issue.user.login }}*:\n           \n          ${{ github.event.issue.body }}\n           \n          ${{ github.event.issue.html_url }}\n        fields: '{\"labels\":[\"IoT_Gateway\"]}'\n\n    - name: Move to Backlog\n      id: transition\n      uses: atlassian/gajira-transition@v3\n      with:\n        issue: ${{ steps.create.outputs.issue }}\n        transition: \"task in backlog\"\n        \n    - name: Add comment with issue name\n      id: comment_github_issue\n      run: gh issue comment \"$NUMBER\" --body \"$BODY\"\n      env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GH_REPO: ${{ github.repository }}\n          NUMBER: ${{ github.event.issue.number }}\n          BODY: |\n            Hi @${{ github.event.issue.user.login }}.  \n            Thank you for your interest in ThingsBoard IoT Gateway.  \n            Your issue was registered, please wait for response from engineer.  \n            \n            ${{ steps.create.outputs.issue }} \n        \n    - name: Log created issue\n      run: echo \"Issue ${{ steps.create.outputs.issue }} was created\"\n", "state": "active", "repository": "thingsboard/thingsboard-gateway"}
{"mined_at": "2024-07-15T14:07:42.157673", "created_at": "2024-01-19T08:50:38+01:00", "updated_at": "2024-01-19T09:13:53+01:00", "name": "Move ticket if it was reopened", "path": ".github/workflows/reopened_issue.yml", "contents": "on:\n  issues:\n    types:\n      - reopened\n\nname: Move ticket if it was reopened\n\njobs:\n  close-ticket-in-jira:\n    if: ${{ !github.event.issue.pull_request }}\n    name: Move ticket if reopened\n    runs-on: ubuntu-latest\n    steps:\n    - name: Login\n      uses: atlassian/gajira-login@master\n      env:\n        JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n        JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n        JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n        \n    - name: Find Comment\n      uses: peter-evans/find-comment@v2\n      id: find_comment\n      with:\n        issue-number: ${{ github.event.issue.number }}\n        comment-author: 'github-actions[bot]'\n        direction: first\n        nth: 0\n        \n    - name: Find Jira ticket\n      if: steps.find_comment.outputs.comment-id != ''\n      id: find_ticket\n      uses: atlassian/gajira-find-issue-key@v3\n      with:\n        string: ${{ steps.find_comment.outputs.comment-body }}\n\n    - name: Update Jira ticket\n      if: steps.find_ticket.outputs.issue != ''\n      uses: atlassian/gajira-comment@v3\n      with:\n        issue: ${{ steps.find_ticket.outputs.issue }}\n        comment: |\n          Github issue was reopened by *${{ github.event.sender.login }}*\n\n    - name: Move to Backlog\n      if: steps.find_ticket.outputs.issue != ''\n      id: transition_to_backlog\n      uses: atlassian/gajira-transition@v3\n      with:\n        issue: ${{ steps.find_ticket.outputs.issue }}\n        transition: \"task in backlog\"\n        \n    - name: Move to Backlog\n      if: steps.find_ticket.outputs.issue != ''\n      id: transition_to_todo\n      uses: atlassian/gajira-transition@v3\n      with:\n        issue: ${{ steps.find_ticket.outputs.issue }}\n        transition: \"Admin permissions only\"\n        \n", "state": "active", "repository": "thingsboard/thingsboard-gateway"}
{"mined_at": "2024-07-15T14:07:43.189477", "created_at": "2024-01-18T14:57:39+01:00", "updated_at": "2024-01-18T14:57:39+01:00", "name": "Create a comment for ticket in Jira", "path": ".github/workflows/update_issue_in_jira.yml", "contents": "on:\n  issue_comment:\n    types:\n      - created\n\nname: Create a comment for ticket in Jira\n\njobs:\n  create-comment-for-ticket-in-jira:\n    if: ${{ !github.event.issue.pull_request }}\n    name: Ticket comment creation\n    runs-on: ubuntu-latest\n    steps:\n    - name: Login\n      uses: atlassian/gajira-login@master\n      env:\n        JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n        JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n        JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n        \n    - name: Find Comment\n      uses: peter-evans/find-comment@v2\n      id: find_comment\n      with:\n        issue-number: ${{ github.event.issue.number }}\n        comment-author: 'github-actions[bot]'\n        direction: first\n        nth: 0\n        \n    - name: Find Jira ticket\n      if: steps.find_comment.outputs.comment-id != ''\n      id: find_ticket\n      uses: atlassian/gajira-find-issue-key@v3\n      with:\n        string: ${{ steps.find_comment.outputs.comment-body }}\n\n    - name: Update Jira ticket\n      if: steps.find_ticket.outputs.issue != ''\n      uses: atlassian/gajira-comment@v3\n      with:\n        issue: ${{ steps.find_ticket.outputs.issue }}\n        comment: |\n          Github issue was commented by *${{ github.event.comment.user.login }}*:\n           \n          ${{ github.event.comment.body }}\n", "state": "active", "repository": "thingsboard/thingsboard-gateway"}
{"mined_at": "2024-07-15T14:07:45.334666", "created_at": "2020-11-20T19:54:08+01:00", "updated_at": "2024-05-21T11:15:35+02:00", "name": "Gsutil CI", "path": ".github/workflows/ci.yml", "contents": "name: Gsutil CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [pypy3, 3.5.x, 3.6.x, 3.7.x, 3.8.x, 3.9.x, 3.10.x, 3.11.x]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n      env:\n        PIP_TRUSTED_HOST: \"pypi.python.org pypi.org files.pythonhosted.org\"\n    - name: Install dependencies\n      run: |\n        set -x\n        git submodule update --init --recursive\n    - name: Lint\n      if: ${{ matrix.python-version  == 3.6 }}\n      run: |\n        set -x\n        pip install pylint\n        pip install yapf\n        test/run_pylint.sh\n        yapf -dr .\n    - name: Test\n      run: |\n        set -x\n        python gsutil version -l\n        python gsutil test -u\n", "state": "active", "repository": "googlecloudplatform/gsutil"}
{"mined_at": "2024-07-15T14:07:46.447296", "created_at": "2023-08-10T00:06:04+02:00", "updated_at": "2023-08-10T00:06:04+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googlecloudplatform/gsutil"}
{"mined_at": "2024-07-15T14:07:48.493872", "created_at": "2024-07-02T17:37:42+02:00", "updated_at": "2024-07-02T17:37:42+02:00", "name": "Bump Version", "path": ".github/workflows/bump_version.yml", "contents": null, "state": "active", "repository": "aws/aws-parallelcluster"}
{"mined_at": "2024-07-15T14:07:49.635299", "created_at": "2024-07-02T17:37:42+02:00", "updated_at": "2024-07-02T17:37:42+02:00", "name": "Bump Version for AWSBatch CLI", "path": ".github/workflows/bump_version_awsbatch_cli.yml", "contents": null, "state": "active", "repository": "aws/aws-parallelcluster"}
{"mined_at": "2024-07-15T14:07:50.630354", "created_at": "2020-10-30T19:23:26+01:00", "updated_at": "2020-10-30T19:23:26+01:00", "name": "Enforce Changelog Updates", "path": ".github/workflows/changelog_enforcer.yml", "contents": "name: Enforce Changelog Updates\non:\n  pull_request:\n      types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]\n\njobs:\n  # Enforces the update of a changelog file on every pull request \n  changelog:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: dangoslen/changelog-enforcer@v1.4.0\n      with:\n        changeLogPath: CHANGELOG.md\n        skipLabel: skip-changelog-update\n", "state": "active", "repository": "aws/aws-parallelcluster"}
{"mined_at": "2024-07-15T14:07:51.789267", "created_at": "2020-12-21T13:39:01+01:00", "updated_at": "2022-11-28T18:45:41+01:00", "name": "ParallelCluster CI", "path": ".github/workflows/ci.yml", "contents": "name: ParallelCluster CI\n\non: [push, pull_request]\n\njobs:\n  depcheck:\n    name: Dependency Check\n    runs-on: ubuntu-latest\n    steps:\n        - uses: actions/checkout@v2\n        - name: Dependency Check\n          uses: dependency-check/Dependency-Check_Action@main\n          with:\n            path: './cli'\n            format: 'HTML'\n            project: 'aws-parallelcluster'\n        - name: Upload Test results\n          uses: actions/upload-artifact@master\n          with:\n            name: CLI Depcheck report\n            path: ${{github.workspace}}/reports\n        - name: AWS Batch CLI Dependency Check\n          uses: dependency-check/Dependency-Check_Action@main\n          with:\n            path: './awsbatch-cli'\n            format: 'HTML'\n            project: 'aws-parallelcluster'\n        - name: Upload AWS Batch CLI Test results\n          uses: actions/upload-artifact@master\n          with:\n            name: AWS Batch CLI Depcheck report\n            path: ${{github.workspace}}/reports\n  cli-tests:\n    name: CLI Tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        name:\n          - Python 3.7 Tests\n          - Python 3.8 Tests\n          - Python 3.9 Tests\n          - Python 3.10 Tests\n          - Python 3.11 Tests\n          - Python 3.12 Tests\n          - Python 3.10 Tests Coverage\n          - Code Checks\n          - CLI CloudFormation Templates Checks\n          - API CloudFormation Templates Checks\n          - Integration Tests Config Checks\n        include:\n          - name: Python 3.7 Tests\n            python: 3.7\n            toxdir: cli\n            toxenv: py37-nocov\n          - name: Python 3.8 Tests\n            python: 3.8\n            toxdir: cli\n            toxenv: py38-nocov\n          - name: Python 3.9 Tests\n            python: 3.9\n            toxdir: cli\n            toxenv: py39-nocov\n          - name: Python 3.10 Tests\n            python: '3.10'\n            toxdir: cli\n            toxenv: py310-nocov\n          - name: Python 3.11 Tests\n            python: '3.11'\n            toxdir: cli\n            toxenv: py311-nocov\n          - name: Python 3.12 Tests\n            python: '3.12'\n            toxdir: cli\n            toxenv: py312-nocov\n          - name: Python 3.10 Tests Coverage\n            python: '3.10'\n            toxdir: cli\n            toxenv: py310-cov\n          - name: Code Checks\n            python: '3.10'\n            toxdir: cli\n            toxenv: code-linters\n          - name: CLI CloudFormation Templates Checks\n            python: '3.10'\n            toxdir: cli\n            toxenv: cfn-format-check,cfn-lint,cfn-tests\n          - name: API CloudFormation Templates Checks\n            python: '3.10'\n            toxdir: api\n            toxenv: cfn-lint\n          - name: Integration Tests Config Checks\n            python: '3.10'\n            toxdir: tests/integration-tests\n            toxenv: validate-test-configs\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Tox and any other packages\n        run: pip install tox\n      - name: Run Tox\n        run: cd ${{ matrix.toxdir }} && tox -e ${{ matrix.toxenv }}\n      - name: Upload code coverage report to Codecov\n        uses: codecov/codecov-action@v3\n        if: ${{ endsWith(matrix.toxenv, '-cov') }}\n        with:\n          files: cli/coverage.xml\n          flags: unittests\n          verbose: true\n  awsbatch-cli-tests:\n    name: AWS Batch CLI Tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        name:\n          - Python 3.7 AWS Batch CLI Tests\n          - Python 3.8 AWS Batch CLI Tests\n          - Python 3.9 AWS Batch CLI Tests\n          - Python 3.10 AWS Batch CLI Tests\n          - Python 3.11 AWS Batch CLI Tests\n          - Python 3.12 AWS Batch CLI Tests\n          - Python 3.10 AWS Batch CLI Tests Coverage\n          - Code Checks AWS Batch CLI\n        include:\n          - name: Python 3.7 AWS Batch CLI Tests\n            python: 3.7\n            toxdir: awsbatch-cli\n            toxenv: py37-nocov\n          - name: Python 3.8 AWS Batch CLI Tests\n            python: 3.8\n            toxdir: awsbatch-cli\n            toxenv: py38-nocov\n          - name: Python 3.9 AWS Batch CLI Tests\n            python: 3.9\n            toxdir: awsbatch-cli\n            toxenv: py39-nocov\n          - name: Python 3.10 AWS Batch CLI Tests\n            python: '3.10'\n            toxdir: awsbatch-cli\n            toxenv: py310-nocov\n          - name: Python 3.11 AWS Batch CLI Tests\n            python: '3.11'\n            toxdir: awsbatch-cli\n            toxenv: py311-nocov\n          - name: Python 3.12 AWS Batch CLI Tests\n            python: '3.12'\n            toxdir: awsbatch-cli\n            toxenv: py312-nocov\n          - name: Python 3.10 AWS Batch CLI Tests Coverage\n            python: '3.10'\n            toxdir: awsbatch-cli\n            toxenv: py310-cov\n          - name: Code Checks AWS Batch CLI\n            python: '3.10'\n            toxdir: awsbatch-cli\n            toxenv: code-linters\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Tox and any other packages\n        run: pip install tox\n      - name: Run Tox\n        run: cd ${{ matrix.toxdir }} && tox -e ${{ matrix.toxenv }}\n  validate-api-model:\n    name: API Model Validation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-java@v1\n        with:\n          java-version: 11\n      - run: |\n          sudo npm install -g redoc-cli\n          sudo snap install yq\n      - working-directory: api\n        run: ./gradlew buildSmithyModel openApiValidate redoc\n      - name: Verify Generation of OpenAPI Specs\n        run: |\n          git diff --exit-code --quiet api/spec/openapi\n      - working-directory: api\n        run: ./gradlew generatePythonClient\n      - name: Verify Generation of API client\n        run: |\n          git diff --exit-code --quiet -- api/client/src/ ':!api/client/src/.openapi-generator/FILES'\n  validate-external-slurmdbd-template:\n    name: External SlurmDBD Template Validation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.12'\n      - name: Install AWS CDK\n        run: |\n          npm install -g aws-cdk\n          pip install -r cloudformation/external-slurmdbd/requirements.txt\n      - working-directory: cloudformation/external-slurmdbd\n        run: cdk synth --no-version-reporting\n      - name: Verify External SlurmDBD Template\n        run:\n          git diff --exit-code --quiet cloudformation/external-slurmdbd/external-slurmdbd.json cloudformation/external-slurmdbd/cdk.out/ExternalSlurmdbdStack.template.json\n  api-docker-test:\n    name: API Docker Tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: mikefarah/yq@v4.32.2\n      - run: api/docker/awslambda/docker-build.sh\n  shellcheck:\n    name: Shellcheck\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run ShellCheck\n        uses: ludeeus/action-shellcheck@master\n        with:\n          severity: warning\n          ignore_paths: tests\n          ignore_names: user_data.sh\n", "state": "active", "repository": "aws/aws-parallelcluster"}
{"mined_at": "2024-07-15T14:07:52.911879", "created_at": "2021-01-06T00:49:32+01:00", "updated_at": "2021-01-06T00:49:32+01:00", "name": "Closed Issue Message", "path": ".github/workflows/closed-issue-message.yml", "contents": "name: Closed Issue Message\non:\n  issues:\n    types: [closed]\njobs:\n  auto_comment:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: aws-actions/closed-issue-message@v1\n        with:\n          # These inputs are both required\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          message: |\n            This issue is now closed. Comments on closed issues are hard for our team to see. \n            If you need more assistance, please open a new issue that references this one. ", "state": "active", "repository": "aws/aws-parallelcluster"}
{"mined_at": "2024-07-15T14:07:54.038556", "created_at": "2021-05-19T15:39:00+02:00", "updated_at": "2021-05-21T14:56:23+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 10 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        config-file: ./.github/codeql/codeql-config.yml\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2", "state": "active", "repository": "aws/aws-parallelcluster"}
{"mined_at": "2024-07-15T14:07:55.056726", "created_at": "2022-06-10T09:36:04+02:00", "updated_at": "2022-06-10T09:36:04+02:00", "name": "No Response", "path": ".github/workflows/no-response.yml", "contents": "# https://github.com/lee-dohm/no-response\nname: No Response\n\n# Both `issue_comment` and `scheduled` event types are required for this Action\n# to work properly.\non:\n  issue_comment:\n    types: [created]\n  schedule:\n    # Schedule for five minutes after the hour, every hour\n    - cron: '5 * * * *'\n\n# Grant permission to write on \"issues\"\n# By specifying the access of one of the scopes, all of those that are not\n# specified are set to 'none'.\npermissions:\n  issues: write\n\njobs:\n  noResponse:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: lee-dohm/no-response@v0.5.0\n        with:\n          token: ${{ github.token }}\n          daysUntilClose: 7 # Number of days of inactivity before an Issue is closed for lack of response\n          responseRequiredLabel: closing-soon-if-no-response # Label requiring a response\n          closeComment: >\n            This issue has been automatically closed because there has been no response\n            to our request for more information from the original author. With only the\n            information that is currently in the issue, we don't have enough information\n            to take action. Please reach out if you have or find the answers we need so\n            that we can investigate further.\n", "state": "active", "repository": "aws/aws-parallelcluster"}
{"mined_at": "2024-07-15T14:07:56.064070", "created_at": "2022-12-13T15:59:48+01:00", "updated_at": "2022-12-15T12:50:15+01:00", "name": "Security Exclusions Checker", "path": ".github/workflows/security_exclusions_checker.yml", "contents": "name: Security Exclusions Checker\non:\n  pull_request:\n      types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]\n\njobs:\n  # Prevent security exclusions\n  security-exclusions-check:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check PR\n      uses: francesco-giordano/gh-pr-content-checker@v1.0.0\n      with:\n        diffDoesNotContainRegex: \"\\\\bnosec\\\\b|\\\\bnosemgrep\\\\b\"\n        skipLabels: skip-security-exclusions-check\n", "state": "active", "repository": "aws/aws-parallelcluster"}
{"mined_at": "2024-07-15T14:07:58.956405", "created_at": "2021-01-03T17:09:06+01:00", "updated_at": "2021-01-03T17:09:06+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ dev ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ dev ]\n  schedule:\n    - cron: '17 9 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "pythainlp/pythainlp"}
{"mined_at": "2024-07-15T14:07:59.963376", "created_at": "2021-03-15T18:42:28+01:00", "updated_at": "2021-03-15T18:42:28+01:00", "name": "Deploy Docs dev", "path": ".github/workflows/deploy_docs.yml", "contents": "name: Deploy Docs dev\non:\n  push:\n    branches:\n    - dev\n    paths-ignore:\n      - '**.md'\n      - '**.yml'\n\njobs:\n  release:\n    name: Build\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      env:\n        SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL: True\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest coverage coveralls\n        if [ -f docker_requirements.txt ]; then pip install -r docker_requirements.txt; fi\n        pip install deepcut\n        pip install .[full]\n        pip install boto smart_open sphinx sphinx-rtd-theme\n        python -m nltk.downloader omw-1.4\n    - name: Build sphinx documentation\n      run: |\n        cd docs && make html\n        cd ..\n    - name: Deploy\n      uses: peaceiris/actions-gh-pages@v3\n      with:\n        personal_token: ${{ secrets.PERSONAL_TOKEN }}\n        publish_dir: ./docs/_build/html\n        external_repository: PyThaiNLP/dev-docs\n        user_name: 'github-actions[bot]'\n        user_email: 'github-actions[bot]@users.noreply.github.com'\n", "state": "active", "repository": "pythainlp/pythainlp"}
{"mined_at": "2024-07-15T14:08:01.211073", "created_at": "2022-04-13T07:13:39+02:00", "updated_at": "2022-04-13T07:13:39+02:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/first-interaction@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        pr-message:  'Hello @${{ github.actor }}, thank you for submitting a PR! We will respond as soon as possible.'\n        issue-message: |\n          Hello @${{ github.actor }}, thank you for your interest in our work!\n\n          If this is a bug report, please provide screenshots and **minimum viable code to reproduce your issue**, otherwise we can not help you.\n", "state": "active", "repository": "pythainlp/pythainlp"}
{"mined_at": "2024-07-15T14:08:02.435434", "created_at": "2020-12-09T14:06:39+01:00", "updated_at": "2020-12-09T14:06:39+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n    branches:\n      - dev\n    paths-ignore:\n      - '**.md'\n      - '**.yml'\n      - 'docs/**'\n  pull_request:\n    branches:\n      - dev\n    paths-ignore:\n      - '**.md'\n      - '**.yml'\n      - 'docs/**'\n\njobs:\n    ruff:\n      runs-on: ubuntu-latest\n      steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n        with:\n          src: \"./pythainlp\"\n          args: check --verbose --line-length 79 --select C901\n", "state": "active", "repository": "pythainlp/pythainlp"}
{"mined_at": "2024-07-15T14:08:03.551539", "created_at": "2021-02-19T03:28:52+01:00", "updated_at": "2021-02-19T03:39:56+01:00", "name": "macOS Unit test and code coverage", "path": ".github/workflows/macos-test.yml", "contents": "name: macOS Unit test and code coverage\n\non:\n  push:\n    paths-ignore:\n      - '**.md'\n      - 'docs/**'\n#       - '**.yml'\n  pull_request:\n    branches:\n      - dev\n    paths-ignore:\n      - '**.md'\n      - '**.yml'\n      - 'docs/**'\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, self-hosted]\n        python-version: [3.8]\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        auto-activate-base: false\n        auto-update-conda: true\n      if: matrix.os == 'macos-latest'\n#     - name: Install mac m1\n#       run: |\n#         mkdir -p ~/miniconda3\n#         wget https://repo.anaconda.com/miniconda/Miniconda3-py38_4.12.0-MacOSX-arm64.sh\n#         chmod +x Miniconda3-py38_4.12.0-MacOSX-arm64.sh\n#         bash Miniconda3-py38_4.12.0-MacOSX-arm64.sh -b -u -p ~/miniconda3\n#         ~/miniconda3/bin/conda init bash\n#         ~/miniconda3/bin/conda init zsh\n#       if: matrix.os == 'self-hosted'\n    - name: Test PyThaiNLP - M1\n      shell: bash -l {0}\n      run: |\n        source ~/miniconda3/etc/profile.d/conda.sh\n        conda create -y -n pythainlpwork38 python=3.8\n        conda activate pythainlpwork38\n        conda info\n        conda list\n        python -m pip install --upgrade pip\n        SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True pip install -r docker_requirements.txt\n        conda install -y -c conda-forge protobuf\n        pip install pytest coverage coveralls typing_extensions==4.5.0\n        pip install ssg epitran\n        pip install fastai==1.0.61\n        pip install fairseq==0.10.2\n        conda install -y -c conda-forge icu\n        conda install -y -c conda-forge pyicu\n        pip install deepcut tltk\n        pip install .[full]\n        python -m nltk.downloader omw-1.4\n        python -m pip cache purge\n        python -m unittest discover\n      if: matrix.os == 'self-hosted'\n    - shell: bash -l {0}\n      run: |\n        conda info\n        conda list\n      if: matrix.os == 'self-hosted'\n    - name: Install PyTorch\n      shell: bash -l {0}\n      run: |\n        pip install torch==1.10.0\n      if: matrix.os != 'self-hosted'\n    - name: Install dependencies\n      shell: bash -l {0}\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest coverage coveralls\n        conda install -c conda-forge icu\n        conda install -c conda-forge pyicu\n        SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True pip install -r docker_requirements.txt\n        pip install deepcut tltk\n        pip install .[full]\n        python -m nltk.downloader omw-1.4\n        python -m pip cache purge\n      if: matrix.os != 'self-hosted'\n    - name: Test\n      shell: bash -l {0}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NAME: github\n      run: |\n        coverage run -m unittest discover\n        coveralls\n      if: matrix.os != 'self-hosted'\n", "state": "active", "repository": "pythainlp/pythainlp"}
{"mined_at": "2024-07-15T14:08:04.790233", "created_at": "2020-12-09T14:06:39+01:00", "updated_at": "2020-12-09T14:06:39+01:00", "name": "Upload package to PyPI", "path": ".github/workflows/pypi-publish.yml", "contents": "name: Upload package to PyPI\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n        python setup.py sdist bdist_wheel\n    - name: Publish a Python distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "pythainlp/pythainlp"}
{"mined_at": "2024-07-15T14:08:05.881887", "created_at": "2022-02-09T11:56:12+01:00", "updated_at": "2022-02-09T11:56:12+01:00", "name": "PyPI Unit test", "path": ".github/workflows/pypi-test.yml", "contents": "name: PyPI Unit test\n\non:\n  schedule:\n    - cron: '0 0 * * *' # Once per day\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      env:\n        SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL: True\n      run: |\n        python -m pip install --upgrade pip\n        pip install deepcut tltk\n        SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True pip install -r https://raw.githubusercontent.com/PyThaiNLP/pythainlp/dev/docker_requirements.txt\n        pip install pythainlp[full]\n        python -m nltk.downloader omw-1.4\n    - name: Test\n      run: |\n        mkdir pythainlp_test\n        cd pythainlp_test\n        pip download --no-binary=:all: --no-dependencies pythainlp\n        file=\"find . -name *.tar.gz\"\n        file=$(eval \"$file\")\n        tar -xvzf $file --one-top-level\n        second=\"/\"\n        path=${file//.tar.gz/$second}\n        cd $path\n        ls\n        cd tests\n        mkdir tests\n        mv data tests/\n        python -m unittest discover\n", "state": "active", "repository": "pythainlp/pythainlp"}
{"mined_at": "2024-07-15T14:08:06.921650", "created_at": "2022-10-27T17:43:03+02:00", "updated_at": "2022-10-27T17:43:03+02:00", "name": "Mark stale pull requests", "path": ".github/workflows/stale.yml", "contents": "# workflows from https://github.com/faster-cpython/cpython/blob/main/.github/workflows/stale.yml\nname: Mark stale pull requests\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\npermissions:\n  pull-requests: write\n\njobs:\n  stale:\n    if: github.repository_owner == 'PyThaiNLP'\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: \"Check PRs\"\n      uses: actions/stale@v6\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity.'\n        stale-pr-label: 'stale'\n        days-before-issue-stale: -1\n        days-before-pr-stale: 30\n        days-before-close: -1\n        ascending: true\n        operations-per-run: 120\n", "state": "active", "repository": "pythainlp/pythainlp"}
{"mined_at": "2024-07-15T14:08:07.942327", "created_at": "2020-12-09T14:06:39+01:00", "updated_at": "2020-12-10T09:25:34+01:00", "name": "Unit test and code coverage", "path": ".github/workflows/test.yml", "contents": "name: Unit test and code coverage\n\non:\n  push:\n    paths-ignore:\n      - '**.md'\n      - '**.yml'\n      - 'docs/**'\n  pull_request:\n    paths-ignore:\n      - '**.md'\n      - '**.yml'\n      - 'docs/**'\n\njobs:\n  build:\n\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install backports.zoneinfo[tzdata]\n        pip install pytest coverage coveralls\n        SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True pip install -r docker_requirements.txt\n        pip install deepcut tltk\n        pip install .[full]\n        python -m nltk.downloader omw-1.4\n        python -m pip install spacy deepcut tltk\n        python -m pip cache purge\n    - name: Test\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NAME: github\n      run: |\n        coverage run -m unittest discover\n        coveralls\n", "state": "active", "repository": "pythainlp/pythainlp"}
{"mined_at": "2024-07-15T14:08:08.988158", "created_at": "2020-12-11T16:37:20+01:00", "updated_at": "2022-09-10T20:30:43+02:00", "name": "Windows Unit test and code coverage", "path": ".github/workflows/windows-test.yml", "contents": "name: Windows Unit test and code coverage\n\non:\n  push:\n    paths-ignore:\n      - '**.md'\n      - '**.yml'\n      - 'docs/**'\n  pull_request:\n    branches:\n      - dev\n    paths-ignore:\n      - '**.md'\n      - '**.yml'\n      - 'docs/**'\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest]\n        python-version: [3.8]\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        auto-activate-base: true\n        auto-update-conda: true\n    - shell: powershell\n      run: |\n        conda info\n        conda list\n    - name: Install PyTorch\n      shell: powershell\n      run: |\n        pip install torch==1.8.1\n    - name: Install dependencies\n      shell: powershell\n      env:\n        SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL: True\n      run: |\n        python -m pip install --disable-pip-version-check --user --upgrade pip setuptools\n        python -m pip install backports.zoneinfo[tzdata]\n        python -m pip --version\n        python -m pip install pytest coverage coveralls\n        conda install -y -c conda-forge fairseq\n        python -m pip install https://www.dropbox.com/s/o6p2sj5z50iim1e/PyICU-2.3.1-cp38-cp38-win_amd64.whl?dl=1\n        python -m pip install -r docker_requirements.txt\n        python -m pip install .[full]\n        python -m nltk.downloader omw-1.4\n        python -m pip install spacy deepcut tltk\n    - name: Test\n      shell: powershell\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NAME: github\n      run: |\n        coverage run -m unittest discover\n        coveralls\n", "state": "active", "repository": "pythainlp/pythainlp"}
{"mined_at": "2024-07-15T14:08:11.089686", "created_at": "2021-02-13T13:23:14+01:00", "updated_at": "2021-02-13T13:23:14+01:00", "name": "Stale Bot", "path": ".github/workflows/stale_bot.yml", "contents": "name: Stale Bot\n\non:\n  schedule:\n#            ┌───────── minute (0 - 59)\n#            │ ┌───────── hour (0 - 23)\n#            │ │ ┌───────── day of the month (1 - 31)\n#            │ │ │ ┌───────── month (1 - 12 or JAN-DEC)\n#            │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)\n    - cron: '0 5 * * *' # Every day at 05:00 UTC\n\njobs:\n  stale:\n    permissions:\n      issues: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        operations-per-run: 50\n        days-before-issue-stale: 99999999 # Never mark issues as stale\n        days-before-pr-stale: 150\n        days-before-close: 30\n        stale-pr-label: 'Stale'\n        stale-pr-message: >-\n          Hello :wave:,\n          Thanks for your contribution to sunpy!\n\n          I have marked this pull request as stale because there hasn't had any activity in five months.\n          If you are still working on this, or if it's waiting on a maintainer to look at it then please let us know and we will keep it open.\n          Please add a comment with: @sunpy/sunpy-developers to get someone's attention.\n\n          If nobody comments on this pull request for another month, it will be closed.\n        close-pr-message: >-\n          Hello again :wave:,\n          We want to thank you again for your contribution to sunpy!\n\n          This pull request has had no activity since my last reminder, so I am going to close it.\n          If at any time you want to come back to this please feel free to reopen it!\n          If you want to discuss this, please add a comment with: @sunpy/sunpy-developers and someone will get back to you soon.\n        exempt-pr-labels:  'Keep Open'\n", "state": "active", "repository": "sunpy/sunpy"}
{"mined_at": "2024-07-15T14:08:12.163576", "created_at": "2021-02-22T12:04:43+01:00", "updated_at": "2022-04-11T20:13:43+02:00", "name": "asv-benchmarks-daily", "path": ".github/workflows/asv-regular.yml", "contents": "name: asv-benchmarks-daily\n\non:\n  # Allow manual runs through the web UI\n  workflow_dispatch:\n  schedule:\n    #        ┌───────── minute (0 - 59)\n    #        │  ┌───────── hour (0 - 23)\n    #        │  │ ┌───────── day of the month (1 - 31)\n    #        │  │ │ ┌───────── month (1 - 12 or JAN-DEC)\n    #        │  │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)\n    - cron: \"37 3 * * *\" # Every day at 3:37am UTC\n\njobs:\n  asv-run:\n    if: ${{ github.repository == 'sunpy/sunpy' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout sunpy repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: \"0\"\n      - name: Checkout sunpy-benchmarks repo\n        uses: actions/checkout@v4\n        with:\n          repository: sunpy/sunpy-benchmarks\n          ref: main\n          path: asv_results\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          architecture: \"x64\"\n      - name: Install dependencies\n        run: |\n          sudo apt-get install -y libopencv-dev\n          python -m pip install --upgrade pip\n          pip install asv virtualenv\n      - name: Add machine info for ASV\n        run: asv machine --machine GH-Actions --os ubuntu-latest --arch x64 --cpu \"2-core unknown\" --ram 7GB\n      - name: Run benchmarks for commits since v2.1\n        run: taskset -c 0 asv run --skip-existing-successful v3.0.dev..\n      - name: Install SSH Client 🔑\n        uses: webfactory/ssh-agent@v0.9.0\n        with:\n          ssh-private-key: ${{ secrets.ASV_CI_KEY }}\n      - name: Push results\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          branch: main\n          folder: asv_results\n          repository-name: sunpy/sunpy-benchmarks\n          ssh-key: true\n          commit-message: |\n            Push new results from GitHub Actions\n            repository: ${{ github.repository }}\n            workflow: ${{ github.workflow }}\n            triggered by: ${{ github.sha }}\n", "state": "active", "repository": "sunpy/sunpy"}
{"mined_at": "2024-07-15T14:08:13.296607", "created_at": "2022-03-09T00:29:47+01:00", "updated_at": "2024-06-10T11:18:35+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - 'main'\n      - '*.*'\n      - '!*backport*'\n    tags:\n      - 'v*'\n      - '!*dev*'\n      - '!*pre*'\n      - '!*post*'\n  pull_request:\n  # Allow manual runs through the web UI\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  core:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main\n    with:\n      submodules: false\n      coverage: codecov\n      toxdeps: tox-pypi-filter\n      posargs: -n auto --color=yes\n      envs: |\n        - linux: py312\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  test:\n    needs: [core]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main\n    with:\n      submodules: false\n      coverage: codecov\n      toxdeps: tox-pypi-filter\n      posargs: -n auto --color=yes\n      envs: |\n        - windows: py311\n        - macos: py310\n        - linux: py310-oldestdeps\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  docs:\n    needs: [core]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main\n    with:\n      default_python: '3.12'\n      submodules: false\n      pytest: false\n      toxdeps: tox-pypi-filter\n      cache-path: |\n        docs/_build/\n        docs/generated/\n        .tox/sample_data/\n      cache-key: docs-${{ github.run_id }}\n      libraries: |\n        apt:\n          - graphviz\n      envs: |\n        - linux: build_docs\n\n  online:\n    if: \"!startsWith(github.event.ref, 'refs/tags/v')\"\n    needs: [docs]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main\n    with:\n      # Due to mplcario, we need to use Python 3.10 for the wheels\n      default_python: '3.10'\n      submodules: false\n      coverage: codecov\n      toxdeps: tox-pypi-filter\n      envs: |\n        - linux: build_docs-gallery\n          pytest: false\n          cache-path: |\n            docs/_build/\n            docs/generated/\n            .tox/sample_data/\n          cache-key: docs-${{ github.run_id }}\n          libraries:\n            apt:\n              - libopenjp2-7\n              - graphviz\n        - linux: py312-online\n          posargs: -n auto --dist loadgroup --color=yes\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  cron:\n    if: |\n      github.event_name == 'workflow_dispatch' || (\n        github.event_name == 'pull_request' &&\n        contains(github.event.pull_request.labels.*.name, 'Run cron CI')\n      )\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main\n    with:\n      default_python: '3.12'\n      submodules: false\n      coverage: codecov\n      toxdeps: tox-pypi-filter\n      posargs: -n auto --color=yes\n      envs: |\n        - linux: base_deps\n        - linux: py312-devdeps\n        - linux: core_deps\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  sdist_verify:\n    if: |\n      github.event_name == 'workflow_dispatch' || (\n        github.event_name == 'pull_request' &&\n        contains(github.event.pull_request.labels.*.name, 'Run cron CI')\n      )\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - run: python -m pip install -U --user build\n      - run: python -m build . --sdist\n      - run: python -m pip install -U --user twine\n      - run: python -m twine check dist/*\n\n  conda:\n    if: |\n      github.event_name == 'workflow_dispatch' || (\n        github.event_name == 'pull_request' &&\n        contains(github.event.pull_request.labels.*.name, 'Run cron CI')\n      )\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: sunpy-test\n          environment-file: sunpy-dev-env.yml\n          python-version: \"3.12\"\n      - name: Install sunpy\n        shell: bash -el {0}\n        run: |\n          pip install --no-deps --no-build-isolation .\n      - name: Run test\n        shell: bash -el {0}\n        run: |\n          conda list\n          cd /tmp\n          pytest -vvv -r a --pyargs sunpy --cov-report=xml --cov=sunpy --cov-config=$GITHUB_WORKSPACE/pyproject.toml $GITHUB_WORKSPACE/docs -n auto --color=yes\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./coverage.xml\n\n  publish:\n    # Build wheels when pushing to any branch except main\n    # publish.yml will only publish if tagged ^v.*\n    if: |\n      (\n        github.event_name != 'pull_request' && (\n          github.ref_name != 'main' ||\n          github.event_name == 'workflow_dispatch'\n        )\n      ) || (\n        github.event_name == 'pull_request' &&\n        contains(github.event.pull_request.labels.*.name, 'Run publish')\n      )\n    needs: [test, docs]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@main\n    with:\n      upload_to_anaconda: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}\n      anaconda_user: scientific-python-nightly-wheels\n      anaconda_package: sunpy\n      anaconda_keep_n_latest: 1\n      sdist: false\n      test_extras: 'tests'\n      test_command: 'pytest -p no:warnings --doctest-rst -m \"not mpl_image_compare\" --pyargs sunpy'\n      submodules: false\n      targets: |\n        - cp3{10,11,12}-manylinux*_x86_64\n        - cp3{10,11,12}-macosx_x86_64\n        - cp3{10,11,12}-macosx_arm64\n    secrets:\n      pypi_token: ${{ secrets.pypi_token }}\n      anaconda_token: ${{ secrets.anaconda_org_upload_token }}\n\n  publish_pure:\n    needs: [publish]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@main\n    with:\n      python-version: \"3.12\"\n      test_extras: 'tests'\n      test_command: 'pytest -p no:warnings --doctest-rst -m \"not mpl_image_compare\" --pyargs sunpy'\n      submodules: false\n      env: |\n        SUNPY_NO_BUILD_ANA_EXTENSION: 1\n    secrets:\n      pypi_token: ${{ secrets.pypi_token }}\n\n  notify:\n    if: always() && github.event_name == 'workflow_dispatch'\n    needs: [publish_pure, online, cron, conda]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: Cadair/matrix-notify-action@main\n        with:\n          matrix_token: ${{ secrets.matrix_access_token }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          homeserver: ${{ secrets.matrix_homeserver }}\n          roomid: '!JYqfIVJjWANcHnfktY:cadair.com'\n          ignore_pattern: '.*Load.*'\n          summarise_success: true\n", "state": "active", "repository": "sunpy/sunpy"}
{"mined_at": "2024-07-15T14:08:14.325920", "created_at": "2022-03-23T00:35:49+01:00", "updated_at": "2022-03-23T00:35:49+01:00", "name": "Scheduled builds", "path": ".github/workflows/scheduled_builds.yml", "contents": "name: Scheduled builds\n\non:\n  # Allow manual runs through the web UI\n  workflow_dispatch:\n  schedule:\n    #        ┌───────── minute (0 - 59)\n    #        │ ┌───────── hour (0 - 23)\n    #        │ │ ┌───────── day of the month (1 - 31)\n    #        │ │ │ ┌───────── month (1 - 12 or JAN-DEC)\n    #        │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)\n    - cron: '0 7 * * *'  # Every day at 07:00 UTC\n\njobs:\n  dispatch_workflows:\n    runs-on: ubuntu-latest\n    steps:\n      - run: gh workflow run ci.yml --repo sunpy/sunpy --ref main\n      - run: gh workflow run ci.yml --repo sunpy/sunpy --ref 5.1\n      - run: gh workflow run ci.yml --repo sunpy/sunpy --ref 5.0\n    env:\n      GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}\n", "state": "active", "repository": "sunpy/sunpy"}
{"mined_at": "2024-07-15T14:08:15.436849", "created_at": "2024-02-06T14:18:04+01:00", "updated_at": "2024-04-09T18:15:42+02:00", "name": "Automatic Update from package template", "path": ".github/workflows/sub_package_update.yml", "contents": "# This template is taken from the cruft example code, for further information please see:\n# https://cruft.github.io/cruft/#automating-updates-with-github-actions\nname: Automatic Update from package template\npermissions:\n    contents: write\n    pull-requests: write\n\non:\n  # Allow manual runs through the web UI\n  workflow_dispatch:\n  schedule:\n    #        ┌───────── minute (0 - 59)\n    #        │ ┌───────── hour (0 - 23)\n    #        │ │ ┌───────── day of the month (1 - 31)\n    #        │ │ │ ┌───────── month (1 - 12 or JAN-DEC)\n    #        │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)\n    - cron: '0 7 * * 1'  # Every Monday at 7am UTC\n\njobs:\n  update:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        include:\n          - add-paths: .\n            body: apply the changes to this repo.\n            branch: cruft/update\n            commit-message: \"Automatic package template update\"\n            title: Updates from the package template\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Cruft\n        run: python -m pip install git+https://github.com/Cadair/cruft@patch-p1\n\n      - name: Check if update is available\n        continue-on-error: false\n        id: check\n        run: |\n          CHANGES=0\n          if [ -f .cruft.json ]; then\n            if ! cruft check; then\n              CHANGES=1\n            fi\n          else\n            echo \"No .cruft.json file\"\n          fi\n\n          echo \"has_changes=$CHANGES\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Run update if available\n        if: steps.check.outputs.has_changes == '1'\n        run: |\n          git config --global user.email \"${{ github.actor }}@users.noreply.github.com\"\n          git config --global user.name \"${{ github.actor }}\"\n\n          cruft update --skip-apply-ask --refresh-private-variables\n          git restore --staged .\n\n      - name: Create pull request\n        if: steps.check.outputs.has_changes == '1'\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          add-paths: ${{ matrix.add-paths }}\n          commit-message: ${{ matrix.commit-message }}\n          branch: ${{ matrix.branch }}\n          delete-branch: true\n          branch-suffix: timestamp\n          title: ${{ matrix.title }}\n          body: |\n            This is an autogenerated PR, which will ${{ matrix.body }}.\n            [Cruft](https://cruft.github.io/cruft/) has detected updates from the Package Template\n", "state": "active", "repository": "sunpy/sunpy"}
{"mined_at": "2024-07-15T14:08:17.463135", "created_at": "2022-10-01T03:09:21+02:00", "updated_at": "2022-10-01T03:09:21+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '28 18 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n          # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n          # queries: security-extended,security-and-quality\n\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      #   If the Autobuild fails above, remove it and uncomment the following three lines.\n      #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n      # - run: |\n      #   echo \"Run, Build Application using script\"\n      #   ./location_of_script_within_repo/buildscript.sh\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "atlassian-api/atlassian-python-api"}
{"mined_at": "2024-07-15T14:08:18.613898", "created_at": "2020-11-15T20:28:10+01:00", "updated_at": "2020-11-15T20:28:10+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n\n  run-docker:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ '3.6', '3.7', '3.8', '3.9', '3.11', '3.12' ]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build Docker\n        run: |\n          make docker-qa-build PYTHON_VERSION=${{matrix.python-version}}\n      - name: Run Docker\n        run: |\n          .github/bump_version ./ minor > atlassian/VERSION\n          make docker-qa PYTHON_VERSION=${{matrix.python-version}}\n      - name: Creating coverage report\n        uses: codecov/codecov-action@v4\n        with:\n          files: ./coverage.xml\n          fail_ci_if_error: false\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "atlassian-api/atlassian-python-api"}
{"mined_at": "2024-07-15T14:08:19.707590", "created_at": "2021-12-18T06:59:23+01:00", "updated_at": "2021-12-18T06:59:23+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "atlassian-api/atlassian-python-api"}
{"mined_at": "2024-07-15T14:08:23.017831", "created_at": "2023-03-21T17:17:39+01:00", "updated_at": "2023-03-21T17:17:39+01:00", "name": "Build loadgen wheels and release them into PYPI", "path": ".github/workflows/build_wheels.yml", "contents": "name: Build loadgen wheels and release them into PYPI\n\non:\n  release:\n    types: [published]\n  push:\n    branches:\n      - master\n    paths:\n      - loadgen/setup.py\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macOS-latest]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v3\n\n      - name: Install requirements\n        run: python -m pip install cibuildwheel twine\n\n      - name: Build wheels\n        run: python -m cibuildwheel loadgen/ --output-dir wheels\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./wheels/*.whl \n\n      - name: Publish package to PyPI\n        run: python -m twine upload wheels/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}\n\n", "state": "active", "repository": "mlcommons/inference"}
{"mined_at": "2024-07-15T14:08:24.105451", "created_at": "2020-12-23T02:29:11+01:00", "updated_at": "2021-01-20T18:41:46+01:00", "name": "cla-bot", "path": ".github/workflows/cla.yml", "contents": "\nname: \"cla-bot\"\non:\n  issue_comment:\n    types: [created]\n  pull_request_target:\n    types: [opened,closed,synchronize]\n\njobs:\n  cla-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"MLCommons CLA bot check\"\n        if: (github.event.comment.body == 'recheck') || github.event_name == 'pull_request_target'\n        # Alpha Release\n        uses: mlcommons/cla-bot@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # the below token should have repo scope and must be manually added by you in the repository's secret\n          PERSONAL_ACCESS_TOKEN : ${{ secrets.MLCOMMONS_BOT_CLA_TOKEN }}\n        with:\n          path-to-signatures: 'cla-bot/v1/cla.json'\n          # branch should not be protected\n          branch: 'main'\n          allowlist: user1,bot*\n          remote-organization-name: mlcommons\n          remote-repository-name: systems\n          \n         #below are the optional inputs - If the optional inputs are not given, then default values will be taken\n          #remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #remote-repository-name:  enter the  remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #create-file-commit-message: 'For example: Creating file for storing CLA Signatures'\n          #signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo'\n          #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'\n          #custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'\n          #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'\n", "state": "active", "repository": "mlcommons/inference"}
{"mined_at": "2024-07-15T14:08:25.134957", "created_at": "2024-04-13T00:54:04+02:00", "updated_at": "2024-04-13T00:54:04+02:00", "name": "format", "path": ".github/workflows/format.yml", "contents": null, "state": "active", "repository": "mlcommons/inference"}
{"mined_at": "2024-07-15T14:08:26.175570", "created_at": "2024-05-21T18:33:35+02:00", "updated_at": "2024-05-21T18:33:35+02:00", "name": "Publish site", "path": ".github/workflows/publish.yaml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Publish site\n\n\non:\n  release:\n    types: [published]\n  push:\n    branches:\n      - master\n      - docs\n\njobs:\n\n  publish:\n    name: Publish the site\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository normally\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Mkdocs\n        run: pip install -r docs/requirements.txt\n\n      - name: Run Mkdocs deploy\n        run: mkdocs gh-deploy --force\n", "state": "active", "repository": "mlcommons/inference"}
{"mined_at": "2024-07-15T14:08:27.471515", "created_at": "2023-06-20T15:52:48+02:00", "updated_at": "2023-06-27T16:54:22+02:00", "name": "Test for MLPerf inference bert submission generation using CM script automation", "path": ".github/workflows/test-bert.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test for MLPerf inference bert submission generation using CM script automation\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - language/bert/**\n      - tools/submission/**\n      - .github/workflows/test-bert.yml\n      - '!**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.9\" ]\n        backend: [ \"deepsparse\" ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cm4mlops\n    - name: Test BERT and end to end submission generation\n      run: |\n        cm run script --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --quiet --submitter=\"MLCommons\" --hw_name=default --model=bert-99 --implementation=reference --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --adr.compiler.tags=gcc  --adr.inference-src.version=custom --adr.inference-src.tags=_repo.${{ github.event.pull_request.head.repo.html_url }},_branch.${{ github.event.pull_request.head.ref }}\n", "state": "active", "repository": "mlcommons/inference"}
{"mined_at": "2024-07-15T14:08:28.652406", "created_at": "2022-10-28T13:29:13+02:00", "updated_at": "2022-11-08T18:46:01+01:00", "name": "Test for MLPerf inference loadgen using CM script automation", "path": ".github/workflows/test-loadgen.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test for MLPerf inference loadgen using CM script automation\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - loadgen/**\n      - .github/workflows/test-loadgen.yml\n      - '!**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cm4mlops\n    - name: Test Loadgen\n      run: |\n        cm run script --tags=get,mlperf,inference,loadgen --quiet --version=custom --adr.inference-src.tags=_repo.${{ github.event.pull_request.head.repo.html_url }},_branch.${{ github.event.pull_request.head.ref }}\n", "state": "active", "repository": "mlcommons/inference"}
{"mined_at": "2024-07-15T14:08:29.879810", "created_at": "2022-11-18T12:52:34+01:00", "updated_at": "2022-11-22T17:56:14+01:00", "name": "Test for MLPerf inference resnet50 submission generation using CM script automation", "path": ".github/workflows/test-resnet50.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test for MLPerf inference resnet50 submission generation using CM script automation\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - vision/classification_and_detection/**\n      - tools/submission/**\n      - .github/workflows/test-resnet50.yml\n      - '!**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.9\" ]\n        backend: [ \"onnxruntime\", \"tf\" ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cm4mlops\n    - name: Test Resnet50 and end to end submission generation\n      run: |\n        cm run script --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --quiet --submitter=\"MLCommons\" --hw_name=default --model=resnet50 --implementation=reference --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=500 --adr.compiler.tags=gcc --adr.inference-src.tags=_branch.${{ github.event.pull_request.head.ref }},_repo.${{ github.event.pull_request.head.repo.html_url }} --adr.inference-src.version=custom\n", "state": "active", "repository": "mlcommons/inference"}
{"mined_at": "2024-07-15T14:08:31.005174", "created_at": "2022-11-18T12:40:50+01:00", "updated_at": "2022-11-22T17:56:14+01:00", "name": "Test for MLPerf inference retinanet submission generation using CM script automation", "path": ".github/workflows/test-retinanet.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test for MLPerf inference retinanet submission generation using CM script automation\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - vision/classification_and_detection/**\n      - tools/submission/**\n      - .github/workflows/test-retinanet.yml\n      - '!**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.10\" ]\n        backend: [ \"onnxruntime\", \"pytorch\" ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cm4mlops\n    - name: Test Retinanet and end to end submission generation\n      run: |\n        cm run script --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --quiet --submitter=\"MLCommons\" --hw_name=default --model=retinanet --implementation=reference --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=10 --adr.compiler.tags=gcc  --adr.inference-src.version=custom --adr.inference-src.tags=_repo.${{ github.event.pull_request.head.repo.html_url }},_branch.${{ github.event.pull_request.head.ref }}\n", "state": "active", "repository": "mlcommons/inference"}
{"mined_at": "2024-07-15T14:08:32.234120", "created_at": "2023-06-20T15:52:48+02:00", "updated_at": "2023-06-27T16:54:22+02:00", "name": "Test for MLPerf inference rnnt submission generation using CM script automation", "path": ".github/workflows/test-rnnt.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test for MLPerf inference rnnt submission generation using CM script automation\n\non:\n  pull_request:\n    branches: [ \"master-retired\", \"dev-retired\" ]\n    paths:\n      - speech_recognition/rnnt/**\n      - tools/submission/**\n      - .github/workflows/test-rnnt.yml\n      - '!**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.9\" ]\n        backend: [ \"pytorch\" ]\n        precision: [ \"fp32\" ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        cm pull repo mlcommons@ck\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test RNNT and end to end submission generation\n      run: |\n        cm run script --tags=run,mlperf,inference,generate-run-cmds,_performance-only --quiet --submitter=\"MLCommons\" --hw_name=default --model=rnnt --implementation=reference --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --precision=${{ matrix.precision }} --adr.compiler.tags=gcc  --adr.inference-src.version=custom --adr.inference-src.env.CM_GIT_CHECKOUT=${{ github.event.pull_request.head.ref }} --adr.inference-src.env.CM_GIT_URL=${{ github.event.pull_request.head.repo.html_url }} --adr.ml-engine-pytorch.version=1.13.0 --adr.ml-engine-torchvision.version=0.14.1 --adr.librosa.version_max=0.9.1\n", "state": "active", "repository": "mlcommons/inference"}
{"mined_at": "2024-07-15T14:08:33.352236", "created_at": "2024-04-11T10:41:32+02:00", "updated_at": "2024-05-08T00:25:13+02:00", "name": "Test for MLPerf inference submission checker using CM script automation", "path": ".github/workflows/test-submission-checker.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test for MLPerf inference submission checker using CM script automation\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - tools/submission/**\n      - .github/workflows/test-submission-checker.yml\n      - '!**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.8\", \"3.11\", \"3.12\" ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        cm pull repo mlcommons@ck\n        git clone https://github.com/mlcommons/inference_results_v4.0 --depth 1\n    - name: Test MLPerf inference submission checker\n      run: |\n        cm run script --tags=run,mlperf,inference,submission,checker --adr.inference-src.tags=_branch.${{ github.event.pull_request.head.ref }},_repo.${{ github.event.pull_request.head.repo.html_url }} --adr.inference-src.version=custom --input=`pwd`/inference_results_v4.0 --version=r4.0 --quiet \n", "state": "active", "repository": "mlcommons/inference"}
{"mined_at": "2024-07-15T14:08:34.508722", "created_at": "2023-06-20T16:26:53+02:00", "updated_at": "2023-06-27T16:54:22+02:00", "name": "Test for MLPerf inference resnet50 TVM backend using CM script automation", "path": ".github/workflows/test-tvm.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test for MLPerf inference resnet50 TVM backend using CM script automation\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - vision/classification_and_detection/backend_tvm.py\n      - vision/classification_and_detection/main.py\n      - .github/workflows/test-tvm.yml\n      - '!**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.10\" ]\n        backend: [ \"tvm-onnx\" ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cm4mlops\n    - name: Test Resnet50 TVM backend\n      run: |\n        cm run script --tags=run,mlperf,inference,generate-run-cmds --quiet --submitter=\"MLCommons\" --hw_name=default --model=resnet50 --implementation=reference --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=5 --adr.compiler.tags=gcc  --adr.inference-src.version=custom --adr.inference-src.tags=_repo.${{ github.event.pull_request.head.repo.html_url }},_branch.${{ github.event.pull_request.head.ref }}\n", "state": "active", "repository": "mlcommons/inference"}
{"mined_at": "2024-07-15T14:08:35.612891", "created_at": "2024-05-23T00:15:11+02:00", "updated_at": "2024-05-23T00:15:11+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mlcommons/inference"}
{"mined_at": "2024-07-15T14:08:37.660617", "created_at": "2021-07-14T08:41:44+02:00", "updated_at": "2021-07-14T08:41:44+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types:\n      - opened\n      - edited\n      - synchronize\n    branches:\n      - master\n\njobs:\n  ci:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@main\n\n      - name: Setup Python\n        uses: actions/setup-python@main\n        with:\n          python-version: 3.8\n\n      - name: Setup Node.js\n        uses: actions/setup-node@main\n        with:\n          node-version: 'lts/*'\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n\n      - name: Install Node.js NPM global dependencies\n        run: npm install -g markdownlint-cli2\n\n      - name: Run flake8\n        run: flake8 . --count --show-source --statistics\n\n      - name: Run pylint\n        run: pylint .\n\n      - name: Run markdownlint\n        run: markdownlint-cli2 .\n\n      - name: Run pytest\n        run: pytest .\n", "state": "active", "repository": "jonlabelle/sublimejsprettier"}
{"mined_at": "2024-07-15T14:08:38.700857", "created_at": "2021-10-13T04:28:42+02:00", "updated_at": "2024-06-16T16:16:34+02:00", "name": "Lock stale threads", "path": ".github/workflows/lock.yml", "contents": "name: Lock stale threads\n\non:\n  schedule:\n    - cron: \"37 2 * * *\" # Every day at 2:37 AM UTC\n  workflow_dispatch:\n\npermissions:\n  issues: write\n\nconcurrency:\n  group: lock\n\njobs:\n  action:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Lock stale threads\n        uses: dessant/lock-threads@main\n        with:\n          github-token: ${{ github.token }}\n          issue-inactive-days: 60\n          process-only: issues\n          exclude-any-issue-labels: \"wip, help-wanted\"\n          log-output: false\n          issue-comment: >-\n            This issue has been automatically locked due to inactivity.\n            Please open a new issue for related bugs.\n", "state": "active", "repository": "jonlabelle/sublimejsprettier"}
{"mined_at": "2024-07-15T14:08:40.732893", "created_at": "2021-04-09T01:19:47+02:00", "updated_at": "2021-04-09T01:19:47+02:00", "name": "Gitlab mirror", "path": ".github/workflows/autopush.yml", "contents": "name: Gitlab mirror\non:\n    push:\n        branches:\n        - main\n\njobs:\n    autopush:\n        name: Automatic push to gitlab.tiker.net\n        if: startsWith(github.repository, 'inducer/')\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n        -   run: |\n                curl -L -O https://tiker.net/ci-support-v0\n                . ./ci-support-v0\n                mirror_github_to_gitlab\n\n            env:\n                GITLAB_AUTOPUSH_KEY: ${{ secrets.GITLAB_AUTOPUSH_KEY }}\n\n# vim: sw=4\n", "state": "active", "repository": "inducer/loopy"}
{"mined_at": "2024-07-15T14:08:41.863118", "created_at": "2020-03-16T19:14:42+01:00", "updated_at": "2022-10-18T02:28:14+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n    push:\n        branches:\n        - main\n    pull_request:\n    schedule:\n        - cron:  '17 3 * * 0'\n\njobs:\n    flake8:\n        name: Flake8\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n        -\n            uses: actions/setup-python@v5\n            with:\n                # matches compat target in setup.py\n                python-version: '3.8'\n        -   name: \"Main Script\"\n            run: |\n                curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh\n                . ./prepare-and-run-flake8.sh \"$(basename $GITHUB_REPOSITORY)\" ./test examples proto-tests contrib\n\n    pylint:\n        name: Pylint\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n        -   name: \"Main Script\"\n            run: |\n                sed 's/python=3/python=3.7/' .test-conda-env-py3.yml > .test-conda-env.yml\n                USE_CONDA_BUILD=1\n                curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-pylint.sh\n                . ./prepare-and-run-pylint.sh \"$(basename $GITHUB_REPOSITORY)\" test/test_*.py\n\n    mypy:\n        name: Mypy\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n        -   name: \"Main Script\"\n            run: |\n                curl -L -O https://tiker.net/ci-support-v0\n                . ./ci-support-v0\n                build_py_project_in_conda_env\n                python -m pip install mypy\n                ./run-mypy.sh\n\n    pytest:\n        name: Conda Pytest\n        runs-on: ${{ matrix.os }}\n        strategy:\n          matrix:\n            os: [ubuntu-latest, macos-latest]\n        steps:\n        -   uses: actions/checkout@v4\n        -   name: \"Main Script\"\n            run: |\n                curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project-within-miniconda.sh\n                . ./build-and-test-py-project-within-miniconda.sh\n\n    pytest_intel:\n        name: Conda Pytest with Intel CL\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n        -   name: \"Main Script\"\n            run: |\n                curl -L -O https://raw.githubusercontent.com/illinois-scicomp/machine-shop-maintenance/main/install-intel-icd.sh\n                sudo bash ./install-intel-icd.sh\n                CONDA_ENVIRONMENT=.test-conda-env-py3.yml\n                echo \"- ocl-icd-system\" >> \"$CONDA_ENVIRONMENT\"\n                sed -i \"/pocl/ d\" \"$CONDA_ENVIRONMENT\"\n                export PYOPENCL_TEST=intel\n                source /opt/enable-intel-cl.sh\n                curl -L -O https://tiker.net/ci-support-v0\n                . ./ci-support-v0\n                build_py_project_in_conda_env\n                test_py_project\n\n    pytest_no_arg_check:\n        name: Conda Pytest without arg check\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n        -   name: \"Main Script\"\n            run: |\n                curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project-within-miniconda.sh\n                export _LOOPY_SKIP_ARG_CHECKS=1\n                . ./build-and-test-py-project-within-miniconda.sh\n\n    pytest_twice:\n        name: Conda Pytest Twice (for cache behavior)\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n        -   name: \"Main Script\"\n            run: |\n                curl -L -O https://tiker.net/ci-support-v0\n                . ./ci-support-v0\n                build_py_project_in_conda_env\n                ( test_py_project )\n                ( test_py_project )\n\n    examples:\n        name: Conda Examples\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n        -   name: \"Main Script\"\n            run: |\n                curl -L -O https://tiker.net/ci-support-v0\n                . ./ci-support-v0\n                build_py_project_in_conda_env\n                rewrite_pyopencl_test\n\n                . ./.ci/examples-funcs.sh\n                install_example_prereqs\n                run_py_examples\n                run_ipynb_examples\n                run_floopy_examples\n\n    docs:\n        name: Documentation\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n        -\n            uses: actions/setup-python@v5\n            with:\n                python-version: '3.x'\n        -   name: \"Main Script\"\n            run: |\n                curl -L -O https://tiker.net/ci-support-v0\n                . ci-support-v0\n                build_py_project_in_conda_env\n                build_docs\n\n    downstream_tests:\n        strategy:\n            matrix:\n                downstream_project: [arraycontext, meshmode, grudge, pytential, pytato]\n            fail-fast: false\n        name: Tests for downstream project ${{ matrix.downstream_project }}\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v4\n        -   name: \"Main Script\"\n            env:\n                DOWNSTREAM_PROJECT: ${{ matrix.downstream_project }}\n            run: |\n                curl -L -O https://tiker.net/ci-support-v0\n                . ./ci-support-v0\n                test_downstream \"$DOWNSTREAM_PROJECT\"\n\n    downstream_firedrake:\n        name: Tests for downstream project Firedrake\n        runs-on: ubuntu-latest\n        container:\n            image: 'firedrakeproject/firedrake'\n        steps:\n        -   name: \"Main script\"\n            run: |\n                cd /home/firedrake\n                export HOME=\"$(pwd)\"\n                mkdir loopy\n                cd loopy\n                git init\n\n                git remote add origin \"https://github.com/$GITHUB_REPOSITORY.git\"\n                git fetch origin \"$GITHUB_REF\"\n                git checkout FETCH_HEAD\n\n                git submodule update --init\n\n                . /home/firedrake/firedrake/bin/activate\n\n                pip install --editable .\n                pip uninstall -y pytools\n                pip uninstall -y pymbolic\n                pip install \"git+https://github.com/inducer/pytools.git#egg=pytools\"\n                pip install \"git+https://github.com/inducer/pymbolic.git#egg=pymbolic\"\n\n                cd /home/firedrake/firedrake/src/firedrake\n\n                # patch so exception messages get shown\n                curl -L https://gist.githubusercontent.com/inducer/17d7134ace215f0df1f3627eac4195c7/raw/63edfaf2ec8bf06987896569a4f24264df490e9e/firedrake-debug-patch.diff | patch -p1\n\n                pytest --tb=native -rsxw --durations=10 -m 'not parallel' tests/multigrid/\n\n    validate_cff:\n            name: Validate CITATION.cff\n            runs-on: ubuntu-latest\n            steps:\n            -   uses: actions/checkout@v4\n            -   uses: actions/setup-python@v5\n            -   run: |\n                    pip install cffconvert\n                    cffconvert -i CITATION.cff --validate\n\n# vim: sw=4\n", "state": "active", "repository": "inducer/loopy"}
{"mined_at": "2024-07-15T14:08:43.924001", "created_at": "2021-09-09T16:19:26+02:00", "updated_at": "2022-05-05T14:54:27+02:00", "name": "tests", "path": ".github/workflows/ci.yml", "contents": "---\nname: tests\n\non: [pull_request]\n\njobs:\n  main_tests:\n    name: Main tests ${{ matrix.os }} ${{ matrix.python-version }} ${{ matrix.compiler }}\n    runs-on: ${{ matrix.os }}\n    continue-on-error: true\n    strategy:\n      # Duplicate changes to this matrix to 'poc_tests'\n      matrix:\n        os: [ubuntu-latest, macos-11, windows-latest]\n        python-version: ['3.9', '3.10']\n        compiler: [\"\"]\n        include:\n          - os: ubuntu-latest\n            python-version: '3.8'\n          - os: ubuntu-latest\n            python-version: '3.10'\n            compiler: 'g++'\n          - os: ubuntu-latest\n            python-version: '3.11'\n          - os: ubuntu-latest\n            python-version: '3.12'\n\n    steps:\n      - uses: actions/checkout@v4\n\n      # - template: azure-templates/ccache.yml\n      #   parameters:\n      #     pythonVersion: $(python.version)\n      # - template: azure-templates/python.yml\n      #   parameters:\n      #     pythonVersion: $(python.version)\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n\n      - name: Install/Upgrade Python dependencies\n        run: python -m pip install --upgrade pip wheel 'setuptools>=60.2'\n\n      - name: Build\n        run: |\n          make\n          python -m pip install .\n\n      - if: ${{ matrix.compiler }}\n        # Only set the compiler for the tests, not for the build\n        run: echo \"CC=${{ matrix.compiler }}\" >> $GITHUB_ENV\n\n      - name: Run tests\n        run: |\n          python -m pip install pytest pytest-xdist filelock\n          python -m pytest --basetemp=.tmpdir --durations=16 -n auto test/\n\n  main_tests_debug:\n    name: Main tests on CPython debug builds\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.12', '3.11', '3.10', '3.9', '3.8']\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python from deadsnakes\n        uses: deadsnakes/action@v2.1.1  # Upgrading will cause test failures.\n        with:\n          python-version: ${{ matrix.python-version }}\n          debug: true\n\n      - name: Check Python debug build\n        run: python -c \"import sys; print(hasattr(sys, 'gettotalrefcount'))\"\n\n      - name: Install/Upgrade Python dependencies\n        run: python -m pip install --upgrade pip wheel\n\n      - name: Build\n        run: |\n          make\n          python -m pip install .\n\n      - name: Run tests\n        run: |\n          python -m pip install pytest pytest-xdist filelock\n          python -m pytest --durations=16 -n auto test/\n\n  poc_tests:\n    name: Proof of concept tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-11, windows-latest]\n        python-version: ['3.10']\n        include:\n          - os: ubuntu-latest\n            python-version: '3.8'\n          - os: ubuntu-latest\n            python-version: '3.9'\n          - os: ubuntu-latest\n            python-version: '3.11'\n          - os: ubuntu-latest\n            python-version: '3.12'\n\n    steps:\n      - uses: actions/checkout@v4\n\n      # - template: azure-templates/ccache.yml\n      #   parameters:\n      #     pythonVersion: $(python.version)\n      # - template: azure-templates/python.yml\n      #   parameters:\n      #     pythonVersion: $(python.version)\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n\n      - name: Install/Upgrade Python dependencies\n        run: python -m pip install --upgrade pip wheel\n        shell: bash\n\n      - name: 'Test setup.py --hpy-abi=cpython bdist_wheel'\n        run: proof-of-concept/test_pof.sh wheel cpython\n        shell: bash\n\n      - name: 'Test setup.py --hpy-abi=universal bdist_wheel'\n        run: proof-of-concept/test_pof.sh wheel universal\n        shell: bash\n\n      - name: 'Test setup.py --hpy-abi=cpython install'\n        run: proof-of-concept/test_pof.sh setup_py_install cpython\n        shell: bash\n\n      - name: 'Test setup.py --hpy-abi=universal install'\n        run: proof-of-concept/test_pof.sh setup_py_install universal\n        shell: bash\n\n      - name: 'Test setup.py --hpy-abi=cpython build_ext --inplace'\n        run: proof-of-concept/test_pof.sh setup_py_build_ext_inplace cpython\n        shell: bash\n\n      - name: 'Test setup.py --hpy-abi=universal build_ext --inplace'\n        run: proof-of-concept/test_pof.sh setup_py_build_ext_inplace universal\n        shell: bash\n\n\n  porting_example_tests:\n    name: Porting example tests\n    runs-on: ${{ matrix.os }}\n    continue-on-error: true\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-11, windows-latest]\n        python-version: ['3.9']\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install/Upgrade Python dependencies\n        run: python -m pip install --upgrade pip wheel\n        shell: bash\n\n      - name: Install HPy\n        run: python -m pip install .\n\n      - name: Install pytest\n        run: |\n          python -m pip install pytest\n\n      - name: Run tests\n        run: make porting-example-tests\n        shell: bash\n\n      - name: Run tests of completed port in debug mode\n        env:\n          HPY_DEBUG: \"1\"\n          TEST_ARGS: \"-s -k hpy_final\"\n        run: make porting-example-tests\n        shell: bash\n\n\n  valgrind_tests_1:\n    name: 'Valgrind tests (1/3)'\n    uses: ./.github/workflows/valgrind-tests.yml\n    with:\n      portion: '1/3'\n\n\n  valgrind_tests_2:\n    name: 'Valgrind tests (2/3)'\n    uses: ./.github/workflows/valgrind-tests.yml\n    with:\n      portion: '2/3'\n\n\n  valgrind_tests_3:\n    name: 'Valgrind tests (3/3)'\n    uses: ./.github/workflows/valgrind-tests.yml\n    with:\n      portion: '3/3'\n\n\n  docs_examples_tests:\n    name: Documentation examples tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-11, windows-latest]\n        python-version: ['3.10']\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install/Upgrade Python dependencies\n        run: python -m pip install --upgrade pip wheel\n        shell: bash\n\n      - name: Install HPy\n        run: python -m pip install .\n\n      - name: Install pytest\n        run: |\n          python -m pip install pytest pytest-xdist filelock\n      - name: Run tests\n        run: make docs-examples-tests\n        shell: bash\n\n  build_docs:\n    name: Build documentation\n    runs-on: 'ubuntu-latest'\n    steps:\n      - uses: actions/checkout@v4\n\n      # - template: azure-templates/python.yml\n\n      - name: Install / Upgrade system requirements\n        run: sudo apt update && sudo apt install -y libclang-11-dev\n\n      - name: Install / Upgrade Python requirements\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r docs/requirements.txt\n\n      - name: Build docs\n        run: |\n          cd docs;\n          python -m sphinx -T -W -E -b html -d _build/doctrees -D language=en . _build/html\n\n      - name: Upload built HTML files\n        uses: actions/upload-artifact@v4\n        with:\n          name: hpy_html_docs\n          path: docs/_build/html/*\n          if-no-files-found: error\n          retention-days: 5\n\n  c_tests:\n    name: C tests\n    runs-on: 'ubuntu-latest'\n    steps:\n      - uses: actions/checkout@v4\n      - run: make -C c_test\n\n\n  check_autogen:\n    name: Check autogen\n    runs-on: 'ubuntu-latest'\n    steps:\n      - uses: actions/checkout@v4\n\n    # - template: azure-templates/python.yml\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          # autogen needs distutils\n          python-version: '3.11'\n\n      - name: Install/Upgrade Python dependencies\n        run: python -m pip install --upgrade pip wheel\n\n      - name: Install autogen dependencies\n        run: pip install -r requirements-autogen.txt\n\n      - name: make autogen\n        run: |\n          make autogen\n          if [ -z \"$(git status --porcelain)\" ]; then\n              # clean working copy\n              echo \"Working copy is clean, everything ok\"\n          else\n              # Uncommitted changes\n              echo \"ERROR: uncommitted changes after running make autogen\"\n              echo \"git status\"\n              git status\n              echo\n              echo \"git diff\"\n              git diff\n              exit 1\n          fi\n\n\n  check_py27_compat:\n    name: Check Python 2.7 compatibility\n    runs-on: 'ubuntu-20.04'\n    steps:\n      - uses: actions/checkout@v4\n\n    # - template: azure-templates/python.yml\n    #   parameters:\n    #     pythonVersion: \"2.7\"\n\n      - name: Set up Python2\n        # Copied from cython's ci.yml\n        run: |\n            sudo ln -fs python2 /usr/bin/python\n            sudo apt-get update\n            sudo apt-get install python-setuptools python2.7 python2.7-dev\n            curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py\n            sudo python2 get-pip.py\n            ls -l /usr/bin/pip* /usr/local/bin/pip*\n            which pip\n\n      - name: Install/Upgrade Python dependencies\n        run: python -m pip install --upgrade pip wheel\n\n      - name: check_py27_compat.py\n        run: |\n          python -m pip install pytest pytest-xdist filelock pathlib\n          python test/check_py27_compat.py\n\n\n  cpp_check:\n    name: Cppcheck static analysis\n    runs-on: 'ubuntu-22.04'\n    continue-on-error: true\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Install Cppcheck\n        run: sudo apt-get -qq -y install cppcheck=2.7-1\n\n      - name: Run Cppcheck\n        run: make cppcheck\n\n\n  infer:\n    name: Infer static analysis\n    runs-on: 'ubuntu-latest'\n    steps:\n      - uses: actions/checkout@v4\n\n      # - template: azure-templates/python.yml\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Install/Upgrade Python dependencies\n        run: python -m pip install --upgrade pip wheel\n\n      - name: Install Infer\n        run: |\n          python -m pip install compiledb wheel;\n          VERSION=1.1.0; \\\n          curl -sSL \"https://github.com/facebook/infer/releases/download/v$VERSION/infer-linux64-v$VERSION.tar.xz\" \\\n          | sudo tar -C /opt -xJ && \\\n          echo \"/opt/infer-linux64-v$VERSION/bin\" >> $GITHUB_PATH\n\n      - name: Run Infer\n        run: make infer\n\n  check_microbench:\n    name: Check micro benchmarks\n    runs-on: 'ubuntu-latest'\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n\n      - name: Install / Upgrade system dependencies\n        run: sudo apt update && sudo apt install -y valgrind\n\n      - name: Install / Upgrade Python requirements\n        run: |\n          python -m pip install --upgrade pip wheel 'setuptools>=60.2'\n          python -m pip install pytest cffi\n\n      - name: Build and install HPy\n        run: |\n          make\n          python -m pip install .\n\n      - name: Run microbenchmarks\n        run: |\n          cd microbench\n          python setup.py build_ext -i\n          python -m pytest -v\n", "state": "active", "repository": "hpyproject/hpy"}
{"mined_at": "2024-07-15T14:08:44.917725", "created_at": "2024-01-11T21:26:55+01:00", "updated_at": "2024-01-11T21:26:55+01:00", "name": "codespell", "path": ".github/workflows/codespell.yml", "contents": null, "state": "active", "repository": "hpyproject/hpy"}
{"mined_at": "2024-07-15T14:08:46.061791", "created_at": "2023-12-26T11:25:56+01:00", "updated_at": "2023-12-26T11:25:56+01:00", "name": "codespell_and_ruff", "path": ".github/workflows/codespell_and_ruff.yml", "contents": null, "state": "active", "repository": "hpyproject/hpy"}
{"mined_at": "2024-07-15T14:08:47.179427", "created_at": "2021-09-09T16:19:26+02:00", "updated_at": "2023-05-02T20:44:01+02:00", "name": "Publish to PyPI", "path": ".github/workflows/release-pypi.yml", "contents": "---\nname: Publish to PyPI\n\n# manually trigger this workflow\non:\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: 'The Git tag to create or test a release for. Official releases should always be made from an existing tag.'\n        required: true\n        type: string\n      official:\n        description: 'If true, publish to official PyPI and create GitHub release. Otherwise publish only to test PyPI.'\n        default: false\n        type: boolean\n\njobs:\n  build_sdist:\n    name: Build source package\n    runs-on: 'ubuntu-latest'\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        ref: ${{ inputs.tag }}\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        # HPy requires at least Python 3.8; we mostly work with >=3.10\n        python-version: '>=3.10'\n\n    - name: Install/Upgrade Python dependencies\n      run: python -m pip install --upgrade pip wheel 'setuptools>=60.2'\n\n    - name: Build and install Python source package\n      run: |\n        python setup.py sdist\n        python -m pip install dist/*.tar.gz\n\n    - name: Run tests\n      run: |\n        make\n        pip install pytest pytest-xdist filelock\n        pytest -n auto test/\n\n    - uses: actions/upload-artifact@v3\n      with:\n        path: dist/*.tar.gz\n        retention-days: 5\n\n\n  build_bdist:\n    name: Build binary wheels\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # Windows tests fail when built as a binary wheel for some reason\n        # 'macos-12' doesn't pass the tests\n        os: [ubuntu-latest, macos-11] # windows-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        ref: ${{ inputs.tag }}\n\n    # setup Python for cibuildwheel\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n\n    # for other architectures, see: https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation\n    - name: Build wheels for CPython\n      uses: pypa/cibuildwheel@v2.12.3\n      env:\n        # cibuildwheel automatically reads 'python_requires' from 'setup.py'\n        CIBW_BUILD: 'cp*'  # no PyPy builds\n        CIBW_ARCHS_LINUX: \"x86_64\" # only Intel 64-bit\n        CIBW_ARCHS_MACOS: \"x86_64\" # only Intel 64-bit\n        CIBW_TEST_REQUIRES: pytest pytest-xdist filelock setuptools>=60.2\n        # only copy test dir to current working dir\n        CIBW_TEST_COMMAND: cp -R {project}/test ./ && pytest --basetemp=.tmpdir --ignore=test/hpy_devel -n auto ./test/\n\n    - uses: actions/upload-artifact@v3\n      with:\n        path: ./wheelhouse/*.whl\n        retention-days: 5\n\n  upload_pypi:\n    name: Publish packages to (Test) PyPI\n    needs: [build_sdist, build_bdist]\n    runs-on: ubuntu-latest\n    # don't do this action on forks by default\n    if: github.repository == 'hpyproject/hpy'\n    steps:\n    - uses: actions/download-artifact@v3\n      with:\n        name: artifact\n        path: dist\n\n    - name: Upload to Test PyPI\n      uses: pypa/gh-action-pypi-publish@v1.8.5\n      if: ${{ !inputs.official }}\n      with:\n        verbose: true\n        user: __token__\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository-url: https://test.pypi.org/legacy/\n\n    - name: Upload to PyPI\n      uses: pypa/gh-action-pypi-publish@v1.8.5\n      if: ${{ inputs.official }}\n      with:\n        verbose: true\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n\n  create_gh_release:\n    needs: [upload_pypi]\n    runs-on: ubuntu-latest\n    # don't do this action on forks by default\n    if: github.repository == 'hpyproject/hpy'\n    steps:\n    - uses: actions/download-artifact@v3\n      with:\n        name: artifact\n        path: dist\n\n    - name: Release\n      uses: softprops/action-gh-release@v1\n      with:\n        files: dist/*\n        # consider tags in form '*.*.*rc*' to indicate a pre-release\n        prerelease: ${{ contains(inputs.tag, 'rc') }}\n        draft: ${{ !inputs.official }}\n        tag_name: ${{ inputs.tag }}\n", "state": "active", "repository": "hpyproject/hpy"}
{"mined_at": "2024-07-15T14:08:48.289876", "created_at": "2022-12-21T07:45:38+01:00", "updated_at": "2022-12-21T07:45:38+01:00", "name": ".github/workflows/valgrind-tests.yml", "path": ".github/workflows/valgrind-tests.yml", "contents": "on:\n  workflow_call:\n    inputs:\n      portion:\n        description: 'Select portion of tests to run under Valgrind (default runs all)'\n        default: ''\n        type: string\n        required: false\n\njobs:\n  valgrind_tests:\n    # name: Valgrind tests\n    runs-on: 'ubuntu-latest'\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install / Upgrade system dependencies\n        run: sudo apt update && sudo apt install -y valgrind\n\n      - name: Install / Upgrade Python dependencies\n        run: python -m pip install --upgrade pip wheel\n\n      - name: Build\n        run: |\n          make\n          python -m pip install .\n\n      - name: Run tests\n        env:\n          HPY_TEST_PORTION: ${{ inputs.portion }}\n        run: |\n          python -m pip install pytest pytest-valgrind pytest-portion filelock\n          make valgrind\n", "state": "active", "repository": "hpyproject/hpy"}
{"mined_at": "2024-07-15T14:08:52.606282", "created_at": "2021-06-01T10:56:36+02:00", "updated_at": "2021-06-01T10:56:36+02:00", "name": "build", "path": ".github/workflows/build-release.yml", "contents": "name: build\non:\n  push:\n  pull_request:\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - { name: '3.8', python: '3.8', tox: py38 }\n          - { name: '3.12', python: '3.12', tox: py312 }\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n      - name: Run test\n        run: |\n          python -m pip install tox\n          python -m tox -e ${{ matrix.tox }}\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n  build:\n    name: Build package\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install pypa/build\n        run: python -m pip install build\n      - name: Build a binary wheel and a source tarball\n        run: python -m build\n      - name: Install twine\n        run: python -m pip install twine\n      - name: Check build\n        run: python -m twine check --strict dist/*\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n  # this duplicates pre-commit.ci, so only run it on tags\n  # it guarantees that linting is passing prior to a release\n  lint-pre-release:\n    if: startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - run: python -m pip install tox\n      - run: python -m tox -e lint\n  publish-to-pypi:\n    name: PyPI release\n    if: startsWith(github.ref, 'refs/tags/')\n    needs: [build, tests, lint-pre-release]\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/flask-smorest\n    permissions:\n      id-token: write\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "marshmallow-code/flask-smorest"}
{"mined_at": "2024-07-15T14:08:53.738085", "created_at": "2023-05-21T23:37:14+02:00", "updated_at": "2023-05-21T23:37:14+02:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": null, "state": "active", "repository": "marshmallow-code/flask-smorest"}
{"mined_at": "2024-07-15T14:08:54.751344", "created_at": "2024-07-15T02:41:37+02:00", "updated_at": "2024-07-15T02:41:37+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "marshmallow-code/flask-smorest"}
{"mined_at": "2024-07-15T14:08:56.733219", "created_at": "2022-01-22T01:47:04+01:00", "updated_at": "2022-01-22T01:47:04+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "petercorke/robotics-toolbox-python"}
{"mined_at": "2024-07-15T14:08:57.836175", "created_at": "2022-09-30T07:01:59+02:00", "updated_at": "2022-09-30T07:01:59+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test\n\non:\n  push:\n    branches: [ master ]\n\njobs:\n  unittest:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest, ubuntu-latest]\n        python-version: [3.7, 3.8, 3.9, \"3.10\", 3.11, 3.12]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }} for ${{ matrix.os }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n    - name: Test with pytest\n      run: |\n        pip install .[dev,collision]\n        pip install pytest-timeout\n        pytest --ignore=roboticstoolbox/blocks --timeout=50 --timeout_method thread -s\n  codecov:\n    # If all tests pass:\n    # Run coverage and upload to codecov\n    needs: unittest\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.7\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n    - name: Run coverage\n      run: |\n        pip install -e .[dev,collision,vpython]\n        pytest --ignore=roboticstoolbox/blocks --cov=roboticstoolbox --cov-report xml:coverage.xml\n        coverage report\n    - name: upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n      with:\n        file: ./coverage.xml\n  sphinx:\n    # If the above worked:\n    # Build docs and upload to GH Pages\n    needs: unittest\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.7\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[docs]\n        pip install git+https://github.com/petercorke/sphinx-autorun.git\n        pip install sympy\n        sudo apt-get install graphviz\n    - name: Build docs\n      run: |\n        cd docs\n        make html\n        # Tell GitHub not to use jekyll to compile the docs\n        touch build/html/.nojekyll\n        cd ../\n    - name: Commit documentation changes\n      run: |\n        git clone https://github.com/petercorke/robotics-toolbox-python.git --branch gh-pages --single-branch gh-pages\n        cp -r docs/build/html/* gh-pages/\n        cd gh-pages\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        git add .\n        git commit -m \"Update documentation\" -a || true\n        # The above command will fail if no changes were present, so we ignore\n        # that. \n    - name: Push changes\n      uses: ad-m/github-push-action@master\n      with:\n        branch: gh-pages\n        directory: gh-pages\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "petercorke/robotics-toolbox-python"}
{"mined_at": "2024-07-15T14:08:58.855481", "created_at": "2022-09-30T07:02:46+02:00", "updated_at": "2022-09-30T07:02:46+02:00", "name": "Test - Future", "path": ".github/workflows/test_future.yml", "contents": "name: Test - Future\n\non:\n  push:\n    branches: [ future ]\n\njobs:\n  unittest:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest, ubuntu-latest, macos-latest]\n        python-version: [3.7, 3.8, 3.9, '3.10']\n\n    steps:\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n        \n    - name: Checkout future branch\n      uses: actions/checkout@v2\n      with:\n        ref: future\n        path: robotics-toolbox-python\n        \n    - name: Checkout Swift\n      uses: actions/checkout@v2\n      with:\n        ref: future\n        repository: jhavl/swift\n        path: swift\n\n    - name: Checkout Spatialmath\n      uses: actions/checkout@v2\n      with:\n        ref: future\n        repository: petercorke/spatialmath-python\n        path: sm\n\n    - name: Checkout Spatialgeometry\n      uses: actions/checkout@v2\n      with:\n        ref: future\n        repository: jhavl/spatialgeometry\n        path: sg\n        \n    - name: Install dependencies\n      run: |\n        echo \"Update pip\"\n        python -m pip install --upgrade pip\n        pip install -U build\n        cd sm\n        echo \"Install sm\"\n        pip install .\n        cd ../sg\n        echo \"Install sg\"\n        pip install .\n        cd ../swift\n        echo \"Install swift\"\n        pip install .\n        cd ../robotics-toolbox-python/rtb-data\n        pip install .\n    - name: Test with pytest\n      run: |\n        cd robotics-toolbox-python\n        pip install -e .[dev,collision]\n        pip install pytest-timeout\n        python -c \"import spatialgeometry\"\n        python -c \"import roboticstoolbox\"\n        pytest --ignore=roboticstoolbox/blocks --timeout=50 --timeout_method thread -s\n", "state": "active", "repository": "petercorke/robotics-toolbox-python"}
{"mined_at": "2024-07-15T14:08:59.851544", "created_at": "2022-12-07T06:55:06+01:00", "updated_at": "2022-12-07T06:55:06+01:00", "name": "Build all Wheels", "path": ".github/workflows/cibuildwheel.yml", "contents": "name: Build all Wheels\n\non:\n  release:\n    types: [created]\n  workflow_dispatch:\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n      \n    strategy:\n      matrix:\n        os: [ubuntu-20.04, windows-2019, macos-11]\n        include:\n          - os: ubuntu-20.04\n            cibw_archs: \"aarch64\"\n            \n    steps:\n    \n      # Set up emulation for arm on linux\n      - name: Set up QEMU\n        if: matrix.cibw_archs == 'aarch64'\n        uses: docker/setup-qemu-action@v2\n        with:\n          platforms: arm64\n      - uses: actions/checkout@v3\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.11.3\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Build sdist\n        run: pipx run build --sdist\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: dist/*.tar.gz\n          \n  upload_pypi:\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          # unpacks default artifact into dist/\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@v1.5.0\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_PASSWORD }}\n          \n          \n", "state": "active", "repository": "petercorke/robotics-toolbox-python"}
{"mined_at": "2024-07-15T14:09:01.942277", "created_at": "2020-04-20T20:46:00+02:00", "updated_at": "2020-04-20T20:46:00+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  - push\n  - pull_request\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        mode: [tests]\n        python:\n        - \"3.11\"\n        include:\n        - os: ubuntu-latest\n          mode: coverage\n          python: \"3.8\"\n        - os: ubuntu-20.04\n          mode: tests\n          python: \"3.5\"\n        - os: ubuntu-latest\n          mode: checks\n          python: \"3.8\"\n        - os: ubuntu-latest\n          mode: check-images\n          python: \"3.8\"\n    runs-on: ${{ matrix.os }}\n    env:\n      TEST_MODE: ${{ matrix.mode }}\n      REPROZIP_USAGE_STATS: \"off\"\n      REPROZIP_PARAMETERS: https://stats.reprozip.org/parameters/travis/\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 20\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install dependencies\n      run: |\n        if [ -z \"${XDG_CACHE_HOME-}\" ]; then\n            mkdir -p ~/.cache/reprozip\n        else\n            mkdir -p \"$XDG_CACHE_HOME/reprozip\"\n        fi\n\n        case \"$TEST_MODE\"\n        in\n            tests|coverage|check-images)\n                if [ \"$TEST_MODE\" = \"coverage\" ]; then\n                    export CFLAGS=\"-fprofile-arcs -ftest-coverage\"\n                fi\n                PKGS=\"libc6-dev-i386 gcc-multilib libsqlite3-dev\"\n                if [ \"$TEST_MODE\" = \"coverage\" ]; then PKGS=\"$PKGS lcov\"; fi\n                sudo apt-get update -qq\n                sudo apt-get install -qq $PKGS\n                if [ $TEST_MODE = \"coverage\" ]; then\n                    pip install 'coverage<5'\n                    # `--config-settings editable_mode=compat` works around https://github.com/pypa/setuptools/issues/3557\n                    pip install -e ./reprozip -e ./reprounzip -e ./reprounzip-docker -e ./reprounzip-vagrant -e ./reprounzip-vistrails -e ./reprounzip-qt -e ./reprozip-jupyter --config-settings editable_mode=compat\n                else\n                    pip install ./reprozip ./reprounzip ./reprounzip-docker ./reprounzip-vagrant ./reprounzip-vistrails ./reprounzip-qt ./reprozip-jupyter\n                fi\n                ;;\n            checks)\n                pip install flake8 readme_renderer\n                ;;\n            *)\n                exit 1\n                ;;\n        esac\n    - name: Test\n      run: |\n        export LANG=C\n        export LC_ALL=C\n        export REPROZIP_TEST_PYTHON=\"$(which python) -Wd\"\n        case \"$TEST_MODE\"\n        in\n            coverage)\n                export PYTHONUNBUFFERED=1\n                export COVER=\"coverage run --append --source=$PWD/reprozip/reprozip,$PWD/reprounzip/reprounzip,$PWD/reprounzip-docker/reprounzip,$PWD/reprounzip-vagrant/reprounzip,$PWD/reprounzip-vistrails/reprounzip,$PWD/tests --branch\"\n                python -Wd -m $COVER -m tests --run-docker\n                ;;\n            tests)\n                export PYTHONUNBUFFERED=1\n                python -Wd tests --run-docker\n                ;;\n            check-images)\n                python -Wd tests --check-vagrant-images --check-docker-images\n                ;;\n            checks)\n                flake8 --ignore=E731,W503,W504\n                diff -q reprozip/reprozip/common.py reprounzip/reprounzip/common.py\n                diff -q reprozip/reprozip/utils.py reprounzip/reprounzip/utils.py\n                find reprozip reprounzip reprozip-* reprounzip-* -name '*.py' -or -name '*.sh' -or -name '*.h' -or -name '*.c' | (set +x; while read i; do\n                    T=$(file -b --mime \"$i\")\n                    if ! ( echo \"$T\" | grep -q ascii || echo \"$T\" | grep -q empty ) ; then\n                        echo \"$i is not ASCII\"\n                        exit 1\n                    fi\n                done)\n                find reprozip reprounzip reprozip-* reprounzip-* -name '*.py' -exec sh -c \"grep 'logging\\\\.\\\\(debug\\\\|warning\\\\|critical\\\\|error\\\\|info\\\\)' \\\"\\$@\\\" && exit 1; exit 0\" {} +\n                for pkg in reprozip reprounzip reprozip-* reprounzip-*; do\n                    (cd $pkg && python setup.py check -r -s)\n                done\n                ;;\n            *)\n                exit 1\n                ;;\n        esac\n    - name: Upload coverage\n      if: matrix.mode == 'coverage'\n      run: |\n        # Python\n        if [ -f .coverage ]; then mv .coverage .coverage.orig; fi # FIXME: useless?\n        coverage combine\n\n        # C\n        # Find the coverage file (in distutils's build directory)\n        OBJDIR=$(dirname \"$(find . -name pytracer.gcno | head -n 1)\")\n        (cd reprozip/native && lcov --directory ../../$OBJDIR -c -o reprozip.lcov)\n\n        curl -s -o - https://codecov.io/bash | bash -s - -X gcov\n\n  test-container:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python:\n        - \"2.7\"\n    runs-on: ${{ matrix.os }}\n    container:\n      image: python:${{ matrix.python }}\n      options: \"--privileged\"\n    env:\n      TEST_MODE: tests\n      REPROZIP_USAGE_STATS: \"off\"\n      REPROZIP_PARAMETERS: https://stats.reprozip.org/parameters/travis/\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 20\n    - name: Install Docker client\n      run: |\n        curl -Lo /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-23.0.6.tgz\n        tar -xf /tmp/docker.tgz -C /usr/local/bin --strip-components=1\n        rm /tmp/docker.tgz\n    - name: Install dependencies\n      run: |\n        if [ -z \"${XDG_CACHE_HOME-}\" ]; then\n            mkdir -p ~/.cache/reprozip\n        else\n            mkdir -p \"$XDG_CACHE_HOME/reprozip\"\n        fi\n\n        apt-get update -qq\n        apt-get install -qq libc6-dev-i386 gcc-multilib libsqlite3-dev\n        cat > pip.constraints.txt <<'EOF'\n        pyelftools<0.30\n        EOF\n        pip install -c pip.constraints.txt ./reprozip ./reprounzip ./reprounzip-docker ./reprounzip-vagrant ./reprounzip-vistrails ./reprounzip-qt ./reprozip-jupyter\n    - name: Test\n      run: |\n        export LANG=C\n        export LC_ALL=C\n        export REPROZIP_TEST_PYTHON=\"$(which python) -Wd\"\n        export PYTHONUNBUFFERED=1\n        python -Wd tests --run-docker\n", "state": "active", "repository": "vida-nyu/reprozip"}
{"mined_at": "2024-07-15T14:09:03.004149", "created_at": "2022-03-02T17:27:20+01:00", "updated_at": "2022-03-02T17:27:20+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "vida-nyu/reprozip"}
{"mined_at": "2024-07-15T14:09:05.110313", "created_at": "2020-01-10T02:21:18+01:00", "updated_at": "2020-01-10T02:21:18+01:00", "name": "Lambda checks", "path": "", "contents": null, "state": "active", "repository": "datadog/datadog-serverless-functions"}
{"mined_at": "2024-07-15T14:09:06.222273", "created_at": "2023-12-29T21:50:32+01:00", "updated_at": "2024-01-05T23:22:01+01:00", "name": "Azure unit tests", "path": ".github/workflows/azure_tests.yml", "contents": "name: Azure unit tests\n\non: [pull_request]\n\njobs:\n    build:\n      runs-on: ubuntu-latest\n      steps:\n        - uses: actions/checkout@v4\n        - name: Use Node.js\n          uses: actions/setup-node@v3\n          with:\n            node-version: '18.x'\n        - run: npm install\n          working-directory: azure\n        - run: npm run test\n          working-directory: azure\n  ", "state": "active", "repository": "datadog/datadog-serverless-functions"}
{"mined_at": "2024-07-15T14:09:07.313628", "created_at": "2022-02-23T18:37:24+01:00", "updated_at": "2022-02-23T18:48:05+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: CodeQL\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '27 5 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'go', 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/\n\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below).\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "datadog/datadog-serverless-functions"}
{"mined_at": "2024-07-15T14:09:08.589033", "created_at": "2020-07-10T21:08:39+02:00", "updated_at": "2020-07-10T21:08:39+02:00", "name": "Integration tests", "path": ".github/workflows/integration_test.yml", "contents": "name: Integration tests\n\non: [pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: ['3.10', '3.11']\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n\n      - name: Run integration tests\n        run: |\n          ./aws/logs_monitoring/tools/integration_tests/integration_tests.sh --python-version=${{ matrix.python-version }}\n", "state": "active", "repository": "datadog/datadog-serverless-functions"}
{"mined_at": "2024-07-15T14:09:09.712914", "created_at": "2020-07-10T21:01:56+02:00", "updated_at": "2020-07-10T21:01:56+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non: [pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.11'\n\n      - name: Install pip\n        run: |\n          python -m pip install --upgrade pip\n\n      - name: Lint with flake8\n        run: |\n          pip install flake8\n          flake8 ./aws/logs_monitoring/ --count --select=E9,F --show-source --statistics --exclude=*_pb2.py\n          flake8 ./aws/rds_enhanced_monitoring/ --count --select=E9,F --show-source --statistics\n\n      - name: Check formatting with Black\n        run: |\n          pip install black\n          black --check --diff --exclude pb2.py ./aws/logs_monitoring\n          black --check --diff ./aws/rds_enhanced_monitoring\n\n      - name: Setup CloudFormation Linter with Latest Version\n        uses: scottbrenner/cfn-lint-action@v2\n\n      - name: Print the CloudFormation Linter Version & run Linter\n        run: |\n          cfn-lint --version\n          cfn-lint -t aws/logs_monitoring/template.yaml\n          cfn-lint -t aws/rds_enhanced_monitoring/rds-enhanced-sam-template.yaml\n", "state": "active", "repository": "datadog/datadog-serverless-functions"}
{"mined_at": "2024-07-15T14:09:10.734142", "created_at": "2022-07-19T22:59:54+02:00", "updated_at": "2022-07-19T23:00:55+02:00", "name": "pull-request", "path": ".github/workflows/pr.yaml", "contents": "name: pull-request\non: [pull_request]\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v4\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "datadog/datadog-serverless-functions"}
{"mined_at": "2024-07-15T14:09:11.734651", "created_at": "2020-07-10T21:01:56+02:00", "updated_at": "2020-07-10T21:08:40+02:00", "name": "Python unit tests", "path": ".github/workflows/test.yml", "contents": "name: Python unit tests\n\non: [pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: ['3.10', '3.11']\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Run Python unit tests\n        env:\n          AWS_DEFAULT_REGION: us-east-1\n          DD_API_KEY: \"11111111111111111111111111111111\"\n          DD_ADDITIONAL_TARGET_LAMBDAS: \"ironmaiden,megadeth\"\n        run: |\n          pip install boto3 mock approvaltests\n          python -m unittest discover ./aws/logs_monitoring/\n          python -m unittest discover ./aws/rds_enhanced_monitoring/\n", "state": "active", "repository": "datadog/datadog-serverless-functions"}
{"mined_at": "2024-07-15T14:09:12.750849", "created_at": "2020-08-19T19:16:33+02:00", "updated_at": "2020-08-19T19:16:33+02:00", "name": "Trace forwarder tests", "path": ".github/workflows/trace_forwarder.yml", "contents": "name: Trace forwarder tests\n\non: [pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n      - name: Run trace forwarder tests\n        run: |\n          ./aws/logs_monitoring/trace_forwarder/scripts/run_tests.sh\n", "state": "active", "repository": "datadog/datadog-serverless-functions"}
{"mined_at": "2024-07-15T14:09:14.754748", "created_at": "2024-06-30T10:40:30+02:00", "updated_at": "2024-07-01T09:48:36+02:00", "name": "autofix.ci", "path": ".github/workflows/autofix.yml", "contents": null, "state": "active", "repository": "copier-org/copier"}
{"mined_at": "2024-07-15T14:09:15.959191", "created_at": "2020-02-26T19:59:08+01:00", "updated_at": "2020-02-26T19:59:08+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n  push:\n    branches: [master]\n    tags: [\"*\"]\n  workflow_dispatch:\n    inputs:\n      pytest_addopts:\n        description:\n          Extra options for pytest; use -vv for full details; see\n          https://docs.pytest.org/en/latest/example/simple.html#how-to-change-command-line-options-defaults\n        required: false\n\nenv:\n  LANG: \"en_US.utf-8\"\n  LC_ALL: \"en_US.utf-8\"\n  PIP_CACHE_DIR: ${{ github.workspace }}/.cache/pip\n  POETRY_CACHE_DIR: ${{ github.workspace }}/.cache/pypoetry\n  POETRY_VIRTUALENVS_IN_PROJECT: \"true\"\n  PRE_COMMIT_HOME: ${{ github.workspace }}/.cache/pre-commit\n  PYTEST_ADDOPTS: ${{ github.event.inputs.pytest_addopts }}\n  PYTHONIOENCODING: \"UTF-8\"\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - macos-latest\n          - ubuntu-latest\n          - windows-latest\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n      # HACK https://github.com/actions/cache/issues/315\n      - name: Enable msys binaries\n        if: ${{ runner.os == 'Windows' }}\n        run: |\n          echo \"C:\\msys64\\usr\\bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append\n          rm C:\\msys64\\usr\\bin\\bash.exe\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Needs all tags to compute dynamic version\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Get full Python version\n        id: full-python-version\n        shell: bash # Required for use of $GITHUB_OUTPUT in windows\n        run:\n          echo version=$(python -c \"import sys; print('-'.join(str(v) for v in\n          sys.version_info))\") >> $GITHUB_OUTPUT\n      - uses: actions/cache@v4\n        with:\n          path: |\n            .cache\n            .venv\n          # prettier-ignore\n          key:\n            cache-\n            ${{ runner.os }}-\n            ${{ runner.arch }}-\n            ${{ steps.full-python-version.outputs.version }}-\n            ${{ hashFiles('pyproject.toml') }}-\n            ${{ hashFiles('poetry.lock') }}-\n            ${{ hashFiles('.pre-commit-config.yaml') }}\n      - name: Install dependencies\n        run: |\n          python -m pip install poetry poetry-dynamic-versioning\n          poetry install --with dev,docs -v\n      - name: Run pytest\n        run: poetry run poe test --cov=./ --cov-report=xml -ra .\n      - name: Upload coverage to Codecov\n        continue-on-error: true\n        uses: codecov/codecov-action@v4\n        env:\n          OS: ${{ matrix.os }}\n          PYTHON: ${{ matrix.python-version }}\n        with:\n          env_vars: OS,PYTHON\n          fail_ci_if_error: true\n          file: ./coverage.xml\n          flags: unittests\n          name: copier\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  flake-check:\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - macos-latest\n          - ubuntu-latest\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      # Install Nix and set up Cachix\n      - uses: cachix/install-nix-action@V27\n        with:\n          nix_path: nixpkgs=channel:nixos-unstable\n      - uses: cachix/cachix-action@v15\n        with:\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: devenv\n          name: copier\n          pushFilter: (-source$|nixpkgs\\.tar\\.gz$)\n\n      # Cache for poetry venv when using direnv\n      - uses: actions/cache@v4\n        with:\n          path: |\n            .cache\n            .devenv\n            .direnv\n            .venv\n          # prettier-ignore\n          key:\n            direnv-\n            ${{ runner.os }}-\n            ${{ runner.arch }}-\n            ${{ hashFiles('pyproject.toml', '*.lock', '*.nix') }}\n\n      # Check direnv works as expected\n      - uses: JRMurr/direnv-nix-action@v3\n        with:\n          install-nix: \"false\"\n          cache-store: \"false\"\n      - run: copier --version\n\n      # Run nix checks\n      - run: nix flake check -L --accept-flake-config --impure\n\n  publish:\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    needs:\n      - build\n      - flake-check\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Needs all tags to compute dynamic version\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Get full Python version\n        id: full-python-version\n        run:\n          echo version=$(python -c \"import sys; print('-'.join(str(v) for v in\n          sys.version_info))\") >> $GITHUB_OUTPUT\n      - uses: actions/cache@v4\n        with:\n          path: |\n            .cache\n            .venv\n          # prettier-ignore\n          key:\n            cache-\n            ${{ runner.os }}-\n            ${{ runner.arch }}-\n            ${{ steps.full-python-version.outputs.version }}-\n            ${{ hashFiles('pyproject.toml') }}-\n            ${{ hashFiles('poetry.lock') }}-\n            ${{ hashFiles('.pre-commit-config.yaml') }}\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install poetry poetry-dynamic-versioning\n      - name: Build dist\n        run: |\n          poetry build\n      - name: Publish distribution 📦 to Test PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.test_pypi_token_copier }}\n          repository_url: https://test.pypi.org/legacy/\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_token_copier }}\n", "state": "active", "repository": "copier-org/copier"}
{"mined_at": "2024-07-15T14:09:17.187752", "created_at": "2023-08-28T18:22:19+02:00", "updated_at": "2023-08-28T18:22:19+02:00", "name": "Publish tags to FlakeHub", "path": ".github/workflows/flakehub-publish-tagged.yml", "contents": "name: \"Publish tags to FlakeHub\"\non:\n  push:\n    tags:\n      - \"v?[0-9]+.[0-9]+.[0-9]+*\"\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: \"The existing tag to publish to FlakeHub\"\n        type: \"string\"\n        required: true\njobs:\n  flakehub-publish:\n    runs-on: \"ubuntu-latest\"\n    permissions:\n      id-token: \"write\"\n      contents: \"read\"\n    steps:\n      - uses: \"actions/checkout@v4\"\n        with:\n          ref:\n            \"${{ (inputs.tag != null) && format('refs/tags/{0}', inputs.tag) || '' }}\"\n      - uses: \"DeterminateSystems/nix-installer-action@main\"\n      - uses: \"DeterminateSystems/flakehub-push@main\"\n        with:\n          visibility: \"public\"\n          name: \"copier-org/copier\"\n          tag: \"${{ inputs.tag }}\"\n", "state": "active", "repository": "copier-org/copier"}
{"mined_at": "2024-07-15T14:09:18.208754", "created_at": "2024-06-26T08:18:53+02:00", "updated_at": "2024-06-26T08:18:53+02:00", "name": "update-flake-lock", "path": ".github/workflows/update-flake-lock.yml", "contents": null, "state": "active", "repository": "copier-org/copier"}
{"mined_at": "2024-07-15T14:09:21.498085", "created_at": "2022-09-26T23:38:37+02:00", "updated_at": "2022-09-26T23:38:37+02:00", "name": "Publish Docker image", "path": ".github/workflows/containers.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Publish Docker image\n\non:\n  workflow_run:\n    workflows: [\"Build\"]\n    types: [completed]\n    branches: [master]\n    \nenv:\n  DOCKER_REPOSITORY: geopython/pygeoapi\n#  DOCKER_TEST_IMAGE: geopython/pygeoapi:test\n\njobs:\n  on-success:\n    name: Build, Test and Push Docker Image to DockerHub\n    runs-on: ubuntu-22.04\n    if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}\n    permissions:\n      packages: write\n      contents: read\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v3\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2.1.0\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2.2.1\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v2.1.0\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2.1.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n#      - name: Build and export to Docker\n#        uses: docker/build-push-action@v3.1.1\n#        with:\n#          context: .\n#          load: true\n#          tags: ${{ env.DOCKER_TEST_IMAGE }}\n\n#      - name: pygeoapi Unit Tests with Docker Image ⚙️\n#        run: |\n#          docker run --entrypoint \"/entrypoint.sh\" --rm ${{ env.DOCKER_TEST_IMAGE }} test\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4.0.1\n        with:\n          images: |\n            ${{ env.DOCKER_REPOSITORY }}\n            ghcr.io/${{ github.repository }}\n          tags: |\n            type=semver,pattern={{version}}\n            type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}\n\n      - name: Build and push Docker images\n        uses: docker/build-push-action@v3.3.0\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          platforms: linux/arm64, linux/amd64\n\n  on-failure:\n    runs-on: ubuntu-22.04\n    if: ${{ github.event.workflow_run.conclusion == 'failure' }}\n    steps:\n      - name: Print Test Fail\n        run: echo Tests Failed\n", "state": "active", "repository": "geopython/pygeoapi"}
{"mined_at": "2024-07-15T14:09:22.618551", "created_at": "2024-05-15T04:00:50+02:00", "updated_at": "2024-05-17T09:24:43+02:00", "name": "Build documentation ⚙️", "path": ".github/workflows/docs.yml", "contents": "name: Build documentation ⚙️\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'docs/**'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'docs/**'\n  release:\n    types:\n      - released\n\njobs:\n  main:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        include:\n          - python-version: '3.10'\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      name: Setup Python ${{ matrix.python-version }}\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install requirements 📦\n      run: |\n        pip3 install -r requirements.txt\n        pip3 install -r docs/requirements.txt\n    - name: build docs 🏗️\n      run: cd docs && make html\n", "state": "active", "repository": "geopython/pygeoapi"}
{"mined_at": "2024-07-15T14:09:23.630786", "created_at": "2024-03-09T21:23:57+01:00", "updated_at": "2024-03-10T12:23:53+01:00", "name": "flake8", "path": ".github/workflows/flake8.yml", "contents": "name: flake8\n\non:\n  [ push, pull_request ]\n\njobs:\n  flake8_py3:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        name: setup Python\n        with:\n          python-version: '3.10'\n      - name: Checkout pygeoapi\n        uses: actions/checkout@master\n      - name: Install flake8\n        run: pip3 install flake8\n      - name: Run flake8\n        uses: suo/flake8-github-action@releases/v1\n        with:\n          checkName: 'flake8_py3'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "geopython/pygeoapi"}
{"mined_at": "2024-07-15T14:09:24.654754", "created_at": "2021-06-01T23:15:31+02:00", "updated_at": "2022-09-26T23:38:37+02:00", "name": "Build", "path": ".github/workflows/main.yml", "contents": "name: Build\n\non:\n  push:\n    paths-ignore:\n      - '**.md'\n      - 'docs/**'\n  pull_request:\n    branches:\n      - master\n    paths-ignore:\n      - '!**.md'\n      - 'docs/**'\n  release:\n    types:\n      - released\n\njobs:\n  main:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        include:\n          - python-version: '3.10'\n    env:\n      PYGEOAPI_CONFIG: \"$(pwd)/pygeoapi-config.yml\"\n    \n    steps:\n    - name: Clear up GitHub runner diskspace\n      run: |\n        echo \"Space before\"\n        df -h /\n        sudo rm -rf /usr/local/lib/android\n        sudo rm -rf /usr/share/dotnet\n        echo \"Space after\"\n        df -h /\n    - name: Chown user\n      run: |\n        sudo chown -R $USER:$USER $GITHUB_WORKSPACE\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      name: Setup Python ${{ matrix.python-version }}\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Configure sysctl limits\n      run: |\n        sudo swapoff -a\n        sudo sysctl -w vm.swappiness=1\n        sudo sysctl -w fs.file-max=262144\n        sudo sysctl -w vm.max_map_count=262144\n    - name: Install and run PostgreSQL/PostGIS 📦\n      uses: huaxk/postgis-action@v1\n      with:\n        postgresql password: ${{ secrets.DatabasePassword || 'postgres' }}\n        postgresql db: 'test'\n    - name: Install and run Elasticsearch 📦\n      uses: getong/elasticsearch-action@v1.2\n      with:\n        elasticsearch version: '8.3.1'\n        host port: 9200\n        container port: 9200\n        host node port: 9300\n        node port: 9300\n        discovery type: 'single-node'\n    - name: Install and run MongoDB\n      uses: supercharge/mongodb-github-action@1.5.0\n      with:\n        mongodb-version: 4.4\n    - name: Install and run SensorThingsAPI\n      uses: cgs-earth/sensorthings-action@v0.1.0\n    - name: Install sqlite and gpkg dependencies\n      uses: awalsh128/cache-apt-pkgs-action@latest\n      with:\n        packages: libsqlite3-mod-spatialite\n        version: 4.3.0a-6build1\n    - name: Use ubuntuGIS unstable ppa\n      run: sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable && sudo apt update\n      shell: bash\n    - name: Install GDAL with Python bindings\n      uses: awalsh128/cache-apt-pkgs-action@latest\n      with:\n        packages: gdal-bin libgdal-dev\n        version: 3.8.4\n    - name: Install and run Oracle\n      run: |\n        docker run -d --name oracledb -e ORACLE_PWD=oracle -v ${{ github.workspace }}/tests/data/oracle/init-db:/opt/oracle/scripts/startup -p 1521:1521 container-registry.oracle.com/database/express:21.3.0-xe\n    - name: Install requirements 📦\n      run: |\n        pip3 install -r requirements.txt\n        pip3 install -r requirements-admin.txt\n        pip3 install -r requirements-starlette.txt\n        pip3 install -r requirements-dev.txt\n        pip3 install -r requirements-provider.txt\n        pip3 install -r requirements-django.txt\n        python3 setup.py install\n        pip3 install --upgrade numpy elasticsearch\n        pip3 install --upgrade numpy \"sqlalchemy<2\"\n        pip3 install --global-option=build_ext --global-option=\"-I/usr/include/gdal\" GDAL==`gdal-config --version`\n        #pip3 install --upgrade rasterio==1.1.8\n    - name: setup test data ⚙️\n      run: |\n        python3 tests/load_es_data.py tests/data/ne_110m_populated_places_simple.geojson geonameid\n        python3 tests/load_es_data.py tests/cite/canada-hydat-daily-mean-02HC003.geojson IDENTIFIER\n        python3 tests/load_mongo_data.py tests/data/ne_110m_populated_places_simple.geojson\n        gunzip < tests/data/hotosm_bdi_waterways.sql.gz | psql postgresql://postgres:${{ secrets.DatabasePassword || 'postgres' }}@localhost:5432/test\n        psql postgresql://postgres:${{ secrets.DatabasePassword || 'postgres' }}@localhost:5432/test -f tests/data/dummy_data.sql\n        docker ps\n        python3 tests/load_oracle_data.py\n    - name: run unit tests ⚙️\n      env:\n        POSTGRESQL_PASSWORD: ${{ secrets.DatabasePassword || 'postgres' }}\n      run: |\n        pytest tests/api\n        pytest tests/test_api_ogr_provider.py\n        pytest tests/test_config.py\n        pytest tests/test_csv__formatter.py\n        pytest tests/test_csv__provider.py\n        pytest tests/test_django.py\n        pytest tests/test_elasticsearch__provider.py\n        pytest tests/test_esri_provider.py\n        pytest tests/test_filesystem_provider.py\n        pytest tests/test_geojson_provider.py\n        pytest tests/test_mongo_provider.py\n        pytest tests/test_ogr_csv_provider.py\n        pytest tests/test_ogr_esrijson_provider.py\n        pytest tests/test_ogr_gpkg_provider.py\n        pytest tests/test_ogr_shapefile_provider.py\n        pytest tests/test_ogr_sqlite_provider.py\n        pytest tests/test_ogr_wfs_provider.py\n        # pytest tests/test_ogr_wfs_provider_live.py  # NOTE: these are skipped in the file but listed here for completeness\n        pytest tests/test_openapi.py\n        pytest tests/test_oracle_provider.py\n        pytest tests/test_postgresql_provider.py\n        pytest tests/test_rasterio_provider.py\n        pytest tests/test_sensorthings_provider.py\n        pytest tests/test_socrata_provider.py\n        pytest tests/test_sqlite_geopackage_provider.py\n        pytest tests/test_tinydb_catalogue_provider.py\n        pytest tests/test_tinydb_manager_for_parallel_requests.py\n        pytest tests/test_util.py\n        pytest tests/test_xarray_netcdf_provider.py\n        pytest tests/test_xarray_zarr_provider.py\n    - name: failed tests 🚩\n      if: ${{ failure() }}\n      run: |\n        pip3 list -v\n\n  admin:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        include:\n          - python-version: '3.10'\n    env:\n      PYGEOAPI_CONFIG: \"tests/pygeoapi-test-config-admin.yml\"\n      PYGEOAPI_OPENAPI: \"tests/pygeoapi-test-openapi-admin.yml\"\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      name: Setup Python ${{ matrix.python-version }}\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: awalsh128/cache-apt-pkgs-action@latest\n      with:\n        packages: gunicorn python3-gevent\n        version: 1.0\n    - name: Install requirements 📦\n      run: |\n        pip3 install -r requirements.txt\n        pip3 install -r requirements-dev.txt\n        pip3 install -r requirements-admin.txt\n        python3 setup.py install\n    - name: Run pygeoapi with admin API ⚙️\n      run: |\n        pygeoapi openapi generate ${PYGEOAPI_CONFIG} --output-file ${PYGEOAPI_OPENAPI}\n        gunicorn --bind 0.0.0.0:5000 \\\n                 --reload \\\n                 --reload-extra-file ${PYGEOAPI_CONFIG} \\\n                 pygeoapi.flask_app:APP &\n    - name: run integration tests ⚙️\n      run: |\n        pytest tests/test_admin_api.py\n    - name: failed tests 🚩\n      if: ${{ failure() }}\n      run: |\n        pip3 list -v\n", "state": "active", "repository": "geopython/pygeoapi"}
{"mined_at": "2024-07-15T14:09:25.788499", "created_at": "2024-03-10T22:20:09+01:00", "updated_at": "2024-03-10T22:20:09+01:00", "name": "Close stale Issues and Pull Requests", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale Issues and Pull Requests'\n\nenv:\n  STALE_AFTER_INACTIVE_DAYS: 90\n  CLOSE_AFTER_INACTIVE_DAYS: 7\n\non:\n  schedule:\n    - cron: '1 3 * * 0'  # runs every Sunday at 03h01 UTC\n    # - cron: '0 * * * *'  # runs every hour, for debugging\njobs:\n  stale:\n    permissions:\n      issues: write\n      pull-requests: write\n    if: github.repository == 'geopython/pygeoapi'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: 'actions/stale@v9'\n        with:\n          # debug-only: true\n          operations-per-run: 1000\n          enable-statistics: true\n          stale-issue-label: stale\n          stale-pr-label: stale\n          exempt-issue-labels: blocker\n          exempt-pr-labels: blocker\n          days-before-stale: ${{ env.STALE_AFTER_INACTIVE_DAYS }}\n          days-before-close: ${{ env.CLOSE_AFTER_INACTIVE_DAYS }}\n          remove-stale-when-updated: true\n          stale-issue-message: >\n            This Issue has been inactive for ${{env.STALE_AFTER_INACTIVE_DAYS }}\n            days. As per [RFC4](https://pygeoapi.io/development/rfc/4), in order\n            to manage maintenance burden, it will be automatically closed\n            in ${{ env.CLOSE_AFTER_INACTIVE_DAYS }} days.\n          stale-pr-message: >\n            This Pull Request has been inactive for ${{env.STALE_AFTER_INACTIVE_DAYS }}\n            days. As per [RFC4](https://pygeoapi.io/development/rfc/4), in order\n            to manage maintenance burden, it will be automatically closed\n            in ${{ env.CLOSE_AFTER_INACTIVE_DAYS }} days.\n          close-issue-message: >\n            As per [RFC4](https://pygeoapi.io/development/rfc/4), this Issue has\n            been closed due to there being no activity for more\n            than ${{ env.STALE_AFTER_INACTIVE_DAYS }} days.\n          close-pr-message: >\n            As per [RFC4](https://pygeoapi.io/development/rfc/4), this Pull Request\n            has been closed due to there being no activity for more\n            than ${{ env.STALE_AFTER_INACTIVE_DAYS }} days.\n", "state": "active", "repository": "geopython/pygeoapi"}
{"mined_at": "2024-07-15T14:09:26.944837", "created_at": "2024-01-06T17:11:53+01:00", "updated_at": "2024-07-08T23:07:07+02:00", "name": "Check vulnerabilities", "path": ".github/workflows/vulnerabilities.yml", "contents": "name: Check vulnerabilities\n\non:\n  push:\n    paths-ignore:\n      - '**.md'\n  pull_request:\n    branches:\n      - master\n    paths-ignore:\n      - '!**.md'\n  release:\n    types:\n      - released\n\njobs:\n\n  vulnerabilities:\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        working-directory: .\n    steps:\n    - name: Checkout pygeoapi\n      uses: actions/checkout@v4\n    - name: Scan vulnerabilities with trivy\n      uses: aquasecurity/trivy-action@master\n      with:\n        scan-type: fs\n        exit-code: 1\n        ignore-unfixed: true\n        severity: CRITICAL,HIGH\n        scanners: vuln,misconfig,secret\n        scan-ref: .\n    - name: Build locally the image from Dockerfile\n      run: |\n        docker buildx build -t ${{ github.repository }}:${{ github.sha }} --platform linux/amd64 --no-cache -f Dockerfile .\n    - name: Scan locally built Docker image for vulnerabilities with trivy\n      uses: aquasecurity/trivy-action@master\n      with:\n        scan-type: image\n        exit-code: 1\n        ignore-unfixed: true\n        severity: CRITICAL,HIGH\n        vuln-type: os,library\n        image-ref: '${{ github.repository }}:${{ github.sha }}'\n", "state": "active", "repository": "geopython/pygeoapi"}
{"mined_at": "2024-07-15T14:09:29.895898", "created_at": "2023-10-03T12:32:46+02:00", "updated_at": "2023-10-03T12:32:46+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n    push:\n    pull_request:\n\npermissions:\n    contents: read\n\njobs:\n    build:\n        runs-on: ubuntu-22.04\n        name: \"python ${{ matrix.python-version }}\"\n        strategy:\n            matrix:\n                python-version: [pypy-3.9, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12']\n        steps:\n            - uses: actions/checkout@v3\n            - name: Set up python ${{ matrix.python-version }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies\n              run: |\n                  sudo apt -y install libzbar0\n                  pip install -r tests/requirements.txt\n                  pip install ruff\n                  pip install mypy\n            - name: Run tests\n              run: |\n                  pytest\n            - name: Run lint tests\n              if: ${{ matrix.python-version == '3.12' }}\n              run: |\n                  ruff .\n                  mypy segno\n", "state": "active", "repository": "heuer/segno"}
{"mined_at": "2024-07-15T14:09:32.037576", "created_at": "2021-09-14T16:59:32+02:00", "updated_at": "2021-09-14T19:37:13+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "---\nname: Codespell\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: codespell-project/actions-codespell@master\n", "state": "active", "repository": "bids-standard/pybids"}
{"mined_at": "2024-07-15T14:09:33.048786", "created_at": "2021-09-07T21:27:19+02:00", "updated_at": "2021-11-09T14:50:02+01:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non:\n  push:\n    branches:\n      - master\n      - maint/*\n      - rel/*\n      - docs/*\n    tags:\n      - '*'\n  pull_request:\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\n# Force tox to use color\nenv:\n  FORCE_COLOR: true\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - python-version: '3.11'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Build documentation\n        run: pipx run tox -e docs\n      - name: Upload docs as artifacts\n        uses: actions/upload-artifact@v4\n        with:\n            path: doc/_build/html\n      - name: Deploy (on tags)\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n            github_token: ${{ secrets.GITHUB_TOKEN }}\n            publish_dir: doc/_build/html\n            force_orphan: true\n            user_name: \"BIDS Maintenance\"\n            user_email: bids-maintenance@gmail.com\n", "state": "active", "repository": "bids-standard/pybids"}
{"mined_at": "2024-07-15T14:09:34.188976", "created_at": "2021-01-13T19:33:50+01:00", "updated_at": "2021-05-21T16:56:16+02:00", "name": "Packaging", "path": ".github/workflows/package.yml", "contents": "name: Packaging\n\non:\n  push:\n    branches:\n      - master\n      - maint/*\n      - rel/*\n    tags:\n      - '*'\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  package:\n    # Build packages and upload\n    runs-on: ${{ matrix.os }}\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Install build\n        run: python -m pip install build\n      - name: Build sdist and wheel\n        run: python -m build\n      - name: Test PyPI upload\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n      - name: Upload to PyPI (on tags)\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "bids-standard/pybids"}
{"mined_at": "2024-07-15T14:09:35.217892", "created_at": "2024-05-03T16:03:23+02:00", "updated_at": "2024-05-04T14:21:55+02:00", "name": "Python tests", "path": ".github/workflows/test.yml", "contents": "name: Python tests\n\n# This file tests the claimed support range of PyBIDS including\n#\n# * Operating systems: Linux, OSX\n\non:\n  push:\n    branches:\n      - master\n      - maint/*\n  pull_request: {}\n  schedule:\n    # 8am EST / 9am EDT Mondays\n    - cron: '0 13 * * 1'\n  # Allow job to be triggered manually from GitHub interface\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\n# Force tox and pytest to use color\nenv:\n  FORCE_COLOR: true\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    # Check each OS, all supported Python, minimum versions and latest releases\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: ['ubuntu-latest', 'macos-latest']\n        python-version: [3.8, 3.9, '3.10', '3.11', '3.12']\n        dependencies: ['full', 'pre']\n        include:\n          - os: ubuntu-latest\n            python-version: 3.8\n            dependencies: min\n        exclude:\n          # Drop pre tests for SPEC-0-unsupported Python versions\n          # See https://scientific-python.org/specs/spec-0000/\n          - python-version: '3.8'\n            dependencies: pre\n          - python-version: '3.9'\n            dependencies: pre\n      fail-fast: false\n\n    env:\n      DEPENDS: ${{ matrix.dependencies }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Install tox\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox tox-gh-actions\n      - name: Show tox config\n        run: tox c\n      - name: Run tox\n        run: tox -v --exit-and-dump-after 1200\n      - uses: codecov/codecov-action@v4\n        if: ${{ always() }}\n        with:\n          files: cov.xml\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "bids-standard/pybids"}
{"mined_at": "2024-07-15T14:09:36.193050", "created_at": "2022-03-28T15:48:40+02:00", "updated_at": "2022-03-28T15:48:40+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "bids-standard/pybids"}
{"mined_at": "2024-07-15T14:09:38.275490", "created_at": "2021-02-20T19:46:35+01:00", "updated_at": "2021-02-20T19:46:35+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "# This workflow runs CI tests: it installs Python dependencies and run tests across a variety of Python versions\n\nname: build\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n\n    # Tag ubuntu version to 20.04, in order to support python 3.6\n    #   See issue: https://github.com/actions/setup-python/issues/544\n    #   When ready to drop 3.6, can revert from 'ubuntu-20.04' -> 'ubuntu-latest'\n    runs-on: ubuntu-20.04\n    env:\n      MODULE_NAME: neurodsp\n    strategy:\n      matrix:\n        python-version: [\"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        pip install pytest-cov\n        pip install -r requirements.txt\n    - name: Test with pytest\n      run: |\n        pytest --cov=./\n    - name: Run doctests\n      run: |\n        pytest --doctest-modules --ignore=$MODULE_NAME/tests $MODULE_NAME\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "neurodsp-tools/neurodsp"}
{"mined_at": "2024-07-15T14:09:39.289655", "created_at": "2022-09-22T02:54:25+02:00", "updated_at": "2022-09-22T02:54:25+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "neurodsp-tools/neurodsp"}
{"mined_at": "2024-07-15T14:09:41.373429", "created_at": "2021-07-12T22:50:55+02:00", "updated_at": "2021-07-12T23:04:45+02:00", "name": "run_share_tests", "path": ".github/workflows/run_tests.yml", "contents": "name: run_share_tests\n\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\npermissions:\n  checks: write  # for coveralls\n\njobs:\n  run_tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10']  # TODO: 3.11, 3.12\n        postgres-version: ['10', '15']\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:${{ matrix.postgres-version }}\n        env:\n          POSTGRES_PASSWORD: postgres\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n      elasticsearch8:\n        image: elasticsearch:8.7.0\n        env:\n          xpack.security.enabled: false\n          node.name: singlenode\n          cluster.initial_master_nodes: singlenode\n        ports:\n          - 9208:9200\n      elasticsearch5:\n        image: elasticsearch:5.4\n        env:\n          ES_JAVA_OPTS: \"-Xms512m -Xmx512m\"\n        ports:\n          - 9205:9200\n      rabbitmq:\n        image: rabbitmq:management\n        ports:\n          - 5672:5672\n          - 15672:15672\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: install non-py dependencies\n        run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt1-dev libpq-dev git gcc\n\n      - name: set up python${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: |\n            requirements.txt\n            dev-requirements.txt\n\n      - name: install py dependencies\n        run: pip install -r dev-requirements.txt\n\n      - name: install share\n        run: python setup.py develop\n\n      - name: flake it\n        run: flake8 .\n\n      - name: run tests\n        run: |\n          coverage run -m pytest -x --create-db\n          coverage run --append -m behave\n        env:\n          DATABASE_PASSWORD: postgres\n          ELASTICSEARCH8_URL: http://localhost:9208/\n          # ELASTICSEARCH5_URL: http://localhost:9205/\n\n      - name: coveralls\n        uses: coverallsapp/github-action@v2.3.0\n        with:\n          coverage-reporter-version: v0.6.9  # avoid broken v0.6.10 -- see https://github.com/coverallsapp/github-action/issues/205\n", "state": "active", "repository": "centerforopenscience/share"}
{"mined_at": "2024-07-15T14:09:43.452690", "created_at": "2020-11-30T22:08:13+01:00", "updated_at": "2020-11-30T22:08:13+01:00", "name": "Mypy", "path": ".github/workflows/mypy.yml", "contents": "name: Mypy\n\non:\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    name: Mypy\n    steps:\n    - uses: actions/checkout@v2\n    - uses: tsuyoshicho/action-mypy@v3\n      with:\n        github_token: ${{ secrets.github_token }}\n        reporter: github-pr-review\n        # The action will output fail if there are mypy errors\n        level: error\n        setup_command: pip install -r requirements.txt pytest mypy\n        mypy_flags: ''\n", "state": "active", "repository": "gaa-uam/scikit-fda"}
{"mined_at": "2024-07-15T14:09:44.520555", "created_at": "2022-06-01T15:53:16+02:00", "updated_at": "2022-06-01T15:53:16+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "gaa-uam/scikit-fda"}
{"mined_at": "2024-07-15T14:09:45.524355", "created_at": "2020-11-30T20:28:56+01:00", "updated_at": "2020-11-30T20:28:56+01:00", "name": "Style", "path": ".github/workflows/style.yml", "contents": "name: Style\n\n# Controls when the action will run. \non:\n  pull_request:\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v1\n      \n      - run: |\n          echo \"_CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }} -- '*.py' | tr -s '\\n' ' ' )\" >> ${GITHUB_ENV}\n\n      # Runs a single command using the runners shell\n      - id: wemake-python-styleguide\n        # You may pin to the exact commit or the version.\n        # uses: wemake-services/wemake-python-styleguide@8068e6634aaacf1eecba3f27a529213df3bd6284\n        uses: wemake-services/wemake-python-styleguide@master\n        if: ${{ env._CHANGED_FILES }}\n        with:\n          reporter: 'github-pr-review' # optional, default is terminal\n          path: \"${{ env._CHANGED_FILES }}\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.github_token }}\n", "state": "active", "repository": "gaa-uam/scikit-fda"}
{"mined_at": "2024-07-15T14:09:46.534588", "created_at": "2020-11-26T19:05:51+01:00", "updated_at": "2020-11-26T19:05:51+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n  pull_request:\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    name: Python ${{ matrix.python-version }} on ${{ matrix.os }} \n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        pip3 install pytest-cov || pip3 install --user pytest-cov;\n\n    - name: Run tests\n      run: |\n        pip3 debug --verbose .\n        pip3 install \".[test]\"\n        pytest --cov=skfda/ --cov-report=xml\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n", "state": "active", "repository": "gaa-uam/scikit-fda"}
{"mined_at": "2024-07-15T14:09:48.579873", "created_at": "2020-12-10T13:51:58+01:00", "updated_at": "2020-12-10T13:51:58+01:00", "name": "Test + Deploy", "path": ".github/workflows/ci.yml", "contents": "name: Test + Deploy\n\non:\n  push:\n    branches: [main]\n    tags: [\"v*.*.*\"]\n  pull_request:\n    branches: [main]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    # https://github.community/t/github-actions-does-not-respect-skip-ci/17325/8\n    if: \"! contains(toJSON(github.event.commits.*.message), '[skip ci]')\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n    - name: Install dependencies\n      run: pip install tox\n    - name: Run style and static checks\n      run: tox -e lint\n  test:\n    runs-on: ${{ matrix.platform }}\n    if: \"! contains(toJSON(github.event.commits.*.message), '[skip ci]')\"\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.12\"]\n        platform: [ubuntu-latest, windows-latest]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: pip install tox\n    - name: Test with tox\n      run: tox -e py-cov\n    - name: Produce coverage files\n      run: tox -e htmlcov\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        file: coverage.xml\n        flags: unittests\n        name: codecov-umbrella\n        fail_ci_if_error: false\n        # see https://github.com/codecov/codecov-action/issues/557\n        token: ${{ secrets.CODECOV_TOKEN }}\n  deploy:\n    # only run if the commit is tagged...\n    if: startsWith(github.ref, 'refs/tags/v')\n    # ... and both the lint and test jobs completed successfully\n    needs:\n      - lint\n      - test\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        # setuptools_scm requires the git clone to not be 'shallow'\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n    - name: Extract release notes from annotated tag message\n      id: release_notes\n      env:\n        # e.g. v0.1.0a1, v1.2.0b2 or v2.3.0rc3, but not v1.0.0\n        PRERELEASE_TAG_PATTERN: \"v[[:digit:]]+\\\\.[[:digit:]]+\\\\.[[:digit:]]+([ab]|rc)[[:digit:]]+\"\n      run: |\n        # GH checkout action doesn't preserve tag annotations, we must fetch them\n        # https://github.com/actions/checkout/issues/290\n        git fetch --tags --force\n        # strip leading 'refs/tags/' to get the tag name\n        TAG_NAME=\"${GITHUB_REF##*/}\"\n        # Dump tag message to temporary .md file (excluding the PGP signature at the bottom)\n        TAG_MESSAGE=$(git tag -l --format='%(contents)' $TAG_NAME | sed -n '/-----BEGIN PGP SIGNATURE-----/q;p')\n        echo \"$TAG_MESSAGE\" > \"${{ runner.temp }}/release_notes.md\"\n        # if the tag has a pre-release suffix mark the Github Release accordingly\n        if egrep -q \"$PRERELEASE_TAG_PATTERN\" <<< \"$TAG_NAME\"; then\n          echo \"Tag contains a pre-release suffix\"\n          echo \"IS_PRERELEASE=true\" >> \"$GITHUB_ENV\"\n        else\n          echo \"Tag does not contain pre-release suffix\"\n          echo \"IS_PRERELEASE=false\" >> \"$GITHUB_ENV\"\n        fi\n    - name: Create GitHub release\n      id: create_release\n      uses: actions/create-release@v1\n      env:\n        # This token is provided by Actions, you do not need to create your own token\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        tag_name: ${{ github.ref }}\n        release_name: ${{ github.ref }}\n        body_path: \"${{ runner.temp }}/release_notes.md\"\n        draft: false\n        prerelease: ${{ env.IS_PRERELEASE }}\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        if [ \"$IS_PRERELEASE\" == true ]; then\n          echo \"DEBUG: This is a pre-release\"\n        else\n          echo \"DEBUG: This is a final release\"\n        fi\n        pipx run build\n        pipx run twine check dist/*\n        pipx run twine upload dist/*\n", "state": "active", "repository": "googlefonts/ufo2ft"}
{"mined_at": "2024-07-15T14:09:49.725130", "created_at": "2023-08-10T00:13:45+02:00", "updated_at": "2023-08-10T00:13:45+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googlefonts/ufo2ft"}
{"mined_at": "2024-07-15T14:09:51.792013", "created_at": "2020-12-04T01:52:38+01:00", "updated_at": "2023-08-12T01:52:33+02:00", "name": ".github/workflows/make-tests.yaml", "path": ".github/workflows/make-tests.yaml", "contents": "on:\n  pull_request:\n    branches:\n      - master\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [ \"3.9\", \"3.10\", \"3.11\" ]\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.head_ref }}\n      - uses: actions/setup-python@v2\n        name: setup python environment\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n          pip install pytest\n      - name: run make on rules\n        run: make travis_test\n", "state": "active", "repository": "biolink/ontobio"}
{"mined_at": "2024-07-15T14:09:53.847440", "created_at": "2024-01-13T23:53:00+01:00", "updated_at": "2024-01-13T23:53:00+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "qzhu2017/pyxtal"}
{"mined_at": "2024-07-15T14:09:54.874542", "created_at": "2020-10-15T11:19:11+02:00", "updated_at": "2024-07-13T03:15:41+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    paths:\n      - '**.py' # only run workflow when source files changed\n  pull_request:\n    paths:\n      - '**.py'\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"] \n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          #pip install nose #pytest # flake8\n          pip install --quiet -r requirements.txt\n      # - name: Lint with flake8\n      #   run: |\n      #     # stop the build if there are Python syntax errors or undefined names\n      #     flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n      #     # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n      #     flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n      - name: Test with pytest\n        run: |\n          pip install wheel pytest coverage pytest-cov\n          python -m pytest pyxtal/test_all.py\n          #nosetests -s\n", "state": "active", "repository": "qzhu2017/pyxtal"}
{"mined_at": "2024-07-15T14:09:55.858194", "created_at": "2021-12-20T15:39:31+01:00", "updated_at": "2021-12-20T15:39:31+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "qzhu2017/pyxtal"}
{"mined_at": "2024-07-15T14:09:59.070750", "created_at": "2020-08-16T01:27:32+02:00", "updated_at": "2020-08-21T20:47:10+02:00", "name": "Create GitHub Release", "path": ".github/workflows/create-release.yml", "contents": "# This will create a release for any properly tagged branch.\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - 'v[0-9].[0-9]+.[0-9]+' # Push events to matching vX.Y.Z, but not vX.Y.Zdev\n\nname: Create GitHub Release\n\njobs:\n  build:\n    name: Create Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: Release ${{ github.ref }}\n          body: |\n            See Changelog for details\n          draft: false\n          prerelease: false\n  deploy:\n    name: Push Release to PyPi\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "panoptes/pocs"}
{"mined_at": "2024-07-15T14:10:00.110031", "created_at": "2020-03-05T22:27:18+01:00", "updated_at": "2022-08-20T03:23:45+02:00", "name": "Test Python", "path": ".github/workflows/pythontest.yaml", "contents": "name: Test Python\n\non: [ push, pull_request ]\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.12\" ]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@master\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@master\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Lint with flake8\n        run: |\n          pip install flake8\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings.\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=100 --statistics\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.12\" ]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@master\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@master\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install\n        run: pip install \".[google,focuser,sensors,testing]\"\n      - name: Test\n        run: pytest\n      - uses: codecov/codecov-action@v4\n        with:\n          name: Upload to codecov.io\n          token: ${{ secrets.CODECOV_TOKEN }}\n          verbose: true\n      - name: Create log file artifact\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: log-files\n          path: logs/panoptes-testing.log\n", "state": "active", "repository": "panoptes/pocs"}
{"mined_at": "2024-07-15T14:10:02.250774", "created_at": "2024-07-12T03:47:30+02:00", "updated_at": "2024-07-12T03:47:30+02:00", "name": "Draft PDF", "path": ".github/workflows/draft-pdf.yml", "contents": null, "state": "active", "repository": "radioastronomysoftwaregroup/pyuvdata"}
{"mined_at": "2024-07-15T14:10:03.300832", "created_at": "2020-05-12T23:04:02+02:00", "updated_at": "2020-05-12T23:04:02+02:00", "name": "Run Tests", "path": ".github/workflows/macosx_windows_ci.yaml", "contents": "name: Run Tests\n\non:\n  push:\n    # This should disable running the workflow on tags, according to the\n    # on.<push|pull_request>.<branches|tags> GitHub Actions docs.\n    branches:\n      - \"*\"\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    name: Run Tests\n    env:\n      PYTHON: ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n     run:\n       # Adding -l {0} helps ensure conda can be found properly in windows.\n       shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@main\n        with:\n          fetch-depth: 0\n\n      - name: Set ENV NAME\n        run: |\n          if [[ \"${{ runner.os }}\" = \"Windows\" ]]; then\n            echo \"::set-output name=ENV_NAME::pyuvdata_tests_windows\"\n          else\n            echo \"::set-output name=ENV_NAME::pyuvdata_tests\"\n          fi\n        id: env_name\n\n      - name: Setup Minimamba\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          python-version: ${{ matrix.python-version }}\n          environment-file: ci/${{ steps.env_name.outputs.ENV_NAME }}.yml\n          activate-environment: ${{ steps.env_name.outputs.ENV_NAME }}\n          run-post: false\n\n      - name: Conda Info\n        run: |\n          conda info -a\n          conda list\n          PYVER=`python -c \"import sys; print('{:d}.{:d}'.format(sys.version_info.major, sys.version_info.minor))\"`\n          if [[ $PYVER != $PYTHON ]]; then\n            exit 1;\n          fi\n\n      - name: Install\n        run: |\n          CFLAGS=\"-DCYTHON_TRACE=1 -DCYTHON_TRACE_NOGIL=1\" pip install .\n\n      - name: Run Tests\n        run: |\n          mkdir -p empty\n          cd empty\n          pytest --pyargs pyuvdata -n auto --dist=loadfile --cov=pyuvdata --cov-config=../.coveragerc --cov-report xml:../coverage.xml\n          cd ..\n\n      - uses: codecov/codecov-action@v4\n        if: success()\n        with:\n          token: ${{secrets.CODECOV_TOKEN}} #required\n          file: ./coverage.xml #optional\n", "state": "active", "repository": "radioastronomysoftwaregroup/pyuvdata"}
{"mined_at": "2024-07-15T14:10:04.702343", "created_at": "2020-06-24T17:47:49+02:00", "updated_at": "2022-12-31T00:27:16+01:00", "name": "Publish Python distributions to PyPI and TestPyPI", "path": ".github/workflows/publish-to-test-pypi.yaml", "contents": "name: Publish Python distributions to PyPI and TestPyPI\n\non:\n  release:\n    types: [published]\n  pull_request:\n    branch: main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build_wheels:\n    name: Build wheel for ${{ matrix.python }}-${{ matrix.buildplat[1] }} ${{ matrix.buildplat[2] }}\n    runs-on: ${{ matrix.buildplat[0] }}\n    strategy:\n      fail-fast: false\n      matrix:\n        buildplat:\n          - [ubuntu-20.04, manylinux, x86_64]\n          - [macos-13, macosx, x86_64]\n          - [macos-14, macosx, arm64]\n          - [windows-2019, win, AMD64]\n        python: [\"cp310\", \"cp311\", \"cp312\"]\n    steps:\n      - uses: actions/checkout@main\n        with:\n          fetch-depth: 0\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.18.1\n        env:\n          CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}*\n          CIBW_ARCHS: ${{ matrix.buildplat[2] }}\n          CIBW_TEST_REQUIRES: \"-r ci/test_requirements.txt\"\n          CIBW_TEST_COMMAND: \"python -m pytest --pyargs pyuvdata -n auto\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: cibw-wheels-${{ matrix.python }}-${{ matrix.buildplat[1] }}-${{ matrix.buildplat[2] }}\n          path: ./wheelhouse/*.whl\n\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@main\n        with:\n          fetch-depth: 0\n\n      - name: Build SDist\n        run: pipx run build --sdist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: cibw-sdist\n          path: dist/*.tar.gz\n\n  upload_all:\n    needs: [build_wheels, make_sdist]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          # unpacks all CIBW artifacts into dist/\n          pattern: cibw-*\n          path: dist\n          merge-multiple: true\n\n      - name: Upload to test PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.test_pypi_password }}\n          repository_url: https://test.pypi.org/legacy/\n\n      - name: Upload to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "radioastronomysoftwaregroup/pyuvdata"}
{"mined_at": "2024-07-15T14:10:05.763828", "created_at": "2022-12-21T21:49:09+01:00", "updated_at": "2022-12-29T18:07:19+01:00", "name": "Warning Tests", "path": ".github/workflows/warning_test.yaml", "contents": "name: Warning Tests\n\non:\n  push:\n    # This should disable running the workflow on tags, according to the\n    # on.<push|pull_request>.<branches|tags> GitHub Actions docs.\n    branches:\n      - \"*\"\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  warning_test:\n    env:\n      PYTHON: 3.11\n    name: Warning Test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@main\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON }}\n\n      - name: Install\n        run: |\n          CFLAGS=\"-DCYTHON_TRACE=1 -DCYTHON_TRACE_NOGIL=1\" pip install -e .[dev]\n\n      - name: Environment Info\n        run: |\n          pip list\n          PYVER=`python -c \"import sys; print('{:d}.{:d}'.format(sys.version_info.major, sys.version_info.minor))\"`\n          if [[ $PYVER != ${{ env.PYTHON }} ]]; then\n            exit 1;\n          fi\n\n      - name: Run Tests\n        run: |\n          pytest -W error --pyargs pyuvdata --cov=pyuvdata --cov-config=.coveragerc --cov-report xml:coverage.xml\n\n      - uses: codecov/codecov-action@v4\n        if: success()\n        with:\n          token: ${{secrets.CODECOV_TOKEN}} #required\n          file: ./coverage.xml #optional\n", "state": "active", "repository": "radioastronomysoftwaregroup/pyuvdata"}
{"mined_at": "2024-07-15T14:10:08.885976", "created_at": "2022-04-05T01:50:47+02:00", "updated_at": "2022-04-06T22:54:27+02:00", "name": "Check Examples APIs", "path": ".github/workflows/check-working-examples.yaml", "contents": "name: Check Examples APIs\n\non: [push, pull_request]\n\njobs:\n\n  examples-check:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest] #, macos-latest, windows-latest]\n      fail-fast: False\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install project\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .\n        pip install nbconvert  # For converting Jupyter notebook to python script in the next step\n    - name: Run examples\n      # Run all examples and test that they finish successfully. Do not evaluate the results.\n      # Copy the examples to a new directory outside of the repo to ensure that there is no\n      # reliance on the repo directory structure.\n      run: |\n\n        mkdir -p temp1/temp2/temp3\n        cp -r examples/ temp1/temp2/temp3/.\n        cd temp1/temp2/temp3/examples/\n\n        error_found=0  # 0 is false\n        error_results=\"Error in example:\"\n\n        # Now run the examples in root and  subdirectories\n        echo \"Running examples\"\n        for d in . $(find . -type d -name \"*examples*\"); do\n          cd $d\n          echo \"========================= Example directory- $d\"\n          for i in *.py; do\n            echo \"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Running example- $i\"\n\n            # If \"convert_examples\" is in i, skip this script\n            if [[ $i == *\"convert_examples\"* ]]; then\n              continue\n            fi\n\n            if ! python $i; then\n              error_results=\"${error_results}\"$'\\n'\" - ${i}\"\n              error_found=1\n            fi\n          done\n          if [ \"$d\" != \".\" ]; then\n            cd ..\n          fi\n\n        done\n\n        if [[ $error_found ]]; then\n          echo \"${error_results}\"\n        fi\n\n        exit $error_found\n", "state": "active", "repository": "nrel/floris"}
{"mined_at": "2024-07-15T14:10:09.919007", "created_at": "2020-01-11T21:34:49+01:00", "updated_at": "2021-04-27T17:50:11+02:00", "name": "Automated tests & code coverage", "path": ".github/workflows/continuous-integration-workflow.yaml", "contents": "name: Automated tests & code coverage\n\non: [push, pull_request]\n\njobs:\n\n  code-qa-validation:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest] #, macos-latest, windows-latest]\n      fail-fast: False\n    env:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install project\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e \".[develop]\"\n    - uses: pre-commit/action@v3.0.0\n    - name: Run tests\n      if: success() || failure()  # Run this step even if the linting step fails\n      run: |\n        # -rA displays the captured output for all tests after they're run\n        # See the docs: https://doc.pytest.org/en/latest/reference/reference.html#command-line-flags\n        pytest -rA tests/ --ignore tests/timing.py --ignore tests/profiling.py\n    - name: Generate coverage report\n      # Run these tests on unit tests only so that we avoid inflating our code\n      # coverage through the regression tests\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        pip install pytest\n        pip install pytest-cov\n        pytest --cov=./ --cov-report=xml tests/ --ignore tests/reg_tests --ignore tests/timing.py --ignore tests/profiling.py\n    - name: Upload coverage to Codecov\n      if: ${{ env.CODECOV_TOKEN }}  # Don't attempt to upload if the codecov token is not configured\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ env.CODECOV_TOKEN }}\n        files: ./coverage.xml\n        fail_ci_if_error: true\n", "state": "active", "repository": "nrel/floris"}
{"mined_at": "2024-07-15T14:10:11.159164", "created_at": "2022-11-03T22:25:31+01:00", "updated_at": "2023-03-07T23:39:39+01:00", "name": "deploy-pages", "path": ".github/workflows/deploy-pages.yaml", "contents": "name: deploy-pages\n\non:\n  push:\n    branches:\n    - develop\n    paths:\n    - docs/**\n\n# This job installs dependencies, builds the book, and pushes it to `gh-pages`\njobs:\n  deploy-book:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n\n    # Install dependencies\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n\n    - name: Install dependencies\n      run: |\n        pip install -e \".[docs]\"\n\n    # Make a copy of the examples folder within the docs folder\n    - name: Copy examples to docs\n      working-directory: ${{runner.workspace}}/floris/\n      run: |\n        rsync -av examples/ docs/examples\n        ls docs/examples\n\n    # Run the script examples/_convert_examples_to_notebooks.py\n    - name: Convert examples to notebooks\n      working-directory: ${{runner.workspace}}/floris/docs/examples/\n      run: |\n        # Print the working directory\n        pwd\n\n        # Show the contents\n        ls\n\n        python _convert_examples_to_notebooks.py\n\n    # Build the book\n    - name: Build the book\n      working-directory: ${{runner.workspace}}/floris/docs/\n      run: |\n        jupyter-book build .\n\n    # Push the book's HTML to github-pages\n    - name: GitHub Pages action\n      uses: peaceiris/actions-gh-pages@v3.6.1\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: ./docs/_build/html\n", "state": "active", "repository": "nrel/floris"}
{"mined_at": "2024-07-15T14:10:12.173119", "created_at": "2020-06-23T22:03:36+02:00", "updated_at": "2020-06-23T22:03:36+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    if: github.repository_owner == 'NREL'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "nrel/floris"}
{"mined_at": "2024-07-15T14:10:13.303617", "created_at": "2022-02-15T16:25:46+01:00", "updated_at": "2022-02-25T23:29:22+01:00", "name": "Code Quality Check", "path": ".github/workflows/quality-metrics-workflow.yaml", "contents": "name: Code Quality Check\n\non: [push, pull_request]\n\njobs:\n\n  code-qa-validation:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n        os: [ubuntu-latest]\n      fail-fast: False\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install project\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e \".[develop]\"\n    - name: Run the code quality script\n      run: |\n        cd profiling\n        python quality_metrics.py\n", "state": "active", "repository": "nrel/floris"}
{"mined_at": "2024-07-15T14:10:14.430494", "created_at": "2022-02-07T21:14:58+01:00", "updated_at": "2022-02-07T21:14:58+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nrel/floris"}
{"mined_at": "2024-07-15T14:10:16.464600", "created_at": "2021-03-10T15:11:29+01:00", "updated_at": "2021-03-10T15:11:29+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '36 17 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "plus3it/watchmaker"}
{"mined_at": "2024-07-15T14:10:18.517789", "created_at": "2022-12-01T20:05:23+01:00", "updated_at": "2022-12-01T20:05:23+01:00", "name": ".github/workflows/docker_images_template.yaml", "path": ".github/workflows/docker_images_template.yaml", "contents": "# Reusable workflow to setup a specific WMCore component for pip\n\non:\n  workflow_call:\n    inputs:\n      wmcore_component:\n        required: true\n        type: string\n    secrets:\n      cern_user:\n        required: true\n      cern_token:\n        required: true\n\njobs:\n  build_images_from_template:\n    runs-on: ubuntu-latest\n    env:\n      SERVICE_NAME: ${{inputs.wmcore_component}}\n    steps:\n      - name: Get the Ref\n        id: get-ref\n        uses: ankitvgupta/ref-to-tag-action@master\n        with:\n          ref: ${{ github.ref }}\n          head_ref: ${{ github.head_ref }}\n\n      - name: Login to registry.cern.ch\n        uses: docker/login-action@v2\n        with:\n          registry: registry.cern.ch\n          username: ${{ secrets.cern_user }}\n          password: ${{ secrets.cern_token }}\n\n      - name: Build and publish docker image\n        env:\n          PYPI_TAG: ${{steps.get-ref.outputs.tag}}\n          CERN_REGISTRY: registry.cern.ch\n        run: |\n          echo \"Building service: ${SERVICE_NAME}, with tag: ${PYPI_TAG}\"\n          git clone --filter=blob:none --no-checkout https://github.com/dmwm/CMSKubernetes.git \\\n            && cd CMSKubernetes && git sparse-checkout set --cone && git checkout master \\\n            && git sparse-checkout set docker/pypi/${SERVICE_NAME}\n          cd docker/pypi/${SERVICE_NAME}\n          echo \"Retrieved Dockerfile with content:\"\n          cat Dockerfile\n          echo \"Sleeping 5min to ensure that PyPi packages are available...\"\n          sleep 300\n          docker build --build-arg TAG=${PYPI_TAG} --tag ${CERN_REGISTRY}/cmsweb/${SERVICE_NAME}:${PYPI_TAG} .\n          echo \"Image build process completed. Current images are:\"\n          docker images\n          echo \"Now push new image to the CERN registry\"\n          docker push ${CERN_REGISTRY}/cmsweb/${SERVICE_NAME}:${PYPI_TAG}\n", "state": "active", "repository": "dmwm/wmcore"}
{"mined_at": "2024-07-15T14:10:19.857910", "created_at": "2022-12-01T20:05:23+01:00", "updated_at": "2022-12-01T20:05:23+01:00", "name": ".github/workflows/pypi_build_and_images.yaml", "path": ".github/workflows/pypi_build_and_images.yaml", "contents": "# This workflow will build and upload WMCore core services to the production PyPI\n# based on tag releases, see build_and_publish_services job. Then, the second\n# named build_images, will build appropriate docker images using CMSKubernetes\n# Dockefiles and upload them to CERN registry.\n#\n# The build_and_publish_services job relies on pypi_build_template.yaml\n# The build_images relies on docker_images_template.yaml template\n# Each job use matrics target (as input list to iterate) and setup\n# wmcore_component which is used by corresponding template to perform\n# set of actions. We also define here necessary secrets used by given template.\n\non:\n  # this section fires workflow on a specific tag which matches some pattern\n  push:\n    tags:\n      - '*.*.*'\n  # this section forces manual builds\n  workflow_dispatch:\n    inputs:\n      name:\n        description: 'WMCore services'\n\njobs:\n  # first job performs build and upload of packages to PyPI\n  build_and_publish_services:\n    name: Build_and_upload_to_pypi\n    strategy:\n      matrix:\n        target: [wmagent, wmagent-devtools, wmcore, reqmon, reqmgr2, global-workqueue, acdcserver, reqmgr2ms-unmerged,\n                 reqmgr2ms-output, reqmgr2ms-pileup, reqmgr2ms-rulecleaner, reqmgr2ms-transferor, reqmgr2ms-monitor]\n    uses: ./.github/workflows/pypi_build_publish_template.yaml\n    with:\n      wmcore_component: ${{ matrix.target }}\n    secrets:\n      pypy_token: ${{ secrets.PYPY_PRODUCTION }}\n\n  # second job, depends on build_and_publish_services, builds and upload\n  # docker images to CERN registry\n  build_images:\n    name: Build_images\n    needs: [build_and_publish_services]\n    strategy:\n      matrix:\n        target: [wmagent, reqmon, t0_reqmon, reqmgr2, reqmgr2ms-unmerged, global-workqueue,\n                 reqmgr2ms-output, reqmgr2ms-pileup, reqmgr2ms-rulecleaner, reqmgr2ms-transferor, reqmgr2ms-monitor]\n    uses: ./.github/workflows/docker_images_template.yaml\n    with:\n      wmcore_component: ${{ matrix.target }}\n    secrets:\n      cern_user: ${{ secrets.CERN_LOGIN }}\n      cern_token: ${{ secrets.CERN_TOKEN }}\n", "state": "active", "repository": "dmwm/wmcore"}
{"mined_at": "2024-07-15T14:10:21.084505", "created_at": "2022-12-01T20:05:23+01:00", "updated_at": "2022-12-01T20:05:23+01:00", "name": ".github/workflows/pypi_build_publish_template.yaml", "path": ".github/workflows/pypi_build_publish_template.yaml", "contents": "# Reusable workflow to setup a specific WMCore component for pip\n\non:\n  workflow_call:\n    inputs:\n      wmcore_component:\n        required: true\n        type: string\n    secrets:\n      pypy_token:\n        required: true\n\njobs:\n  build_and_publish_from_template:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup python 3.8\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.8\"\n      - name: Upgrade pip3\n        run: |\n          python3 -m pip install --upgrade pip\n      - name: Update the setup script template with package name\n        run: |\n          sed \"s/PACKAGE_TO_BUILD/${{ inputs.wmcore_component }}/\" setup_template.py > setup.py\n      - name: Create requirements file\n        run: |\n          cp requirements.txt requirements.wmcore.txt\n          awk \"/(${{ inputs.wmcore_component }}$)|(${{ inputs.wmcore_component }},)/ {print \\$1}\" requirements.wmcore.txt > requirements.txt\n      - name: Build sdist\n        run: python setup.py clean sdist\n      - name: Publish component\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypy_token }}\n", "state": "active", "repository": "dmwm/wmcore"}
{"mined_at": "2024-07-15T14:10:23.131885", "created_at": "2020-05-18T15:51:04+02:00", "updated_at": "2022-01-26T18:45:20+01:00", "name": "Deploy - RobotFramework Language Server Extension", "path": ".github/workflows/release-robotframework-lsp.yml", "contents": "on:\n  push:\n    branches:\n      - \"release-robotframework-lsp\"\n    tags:\n      - \"robotframework-lsp-*\"\nname: Deploy - RobotFramework Language Server Extension\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./robotframework-ls\n    \n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v1\n      with:\n        submodules: recursive\n    - name: Setup node\n      uses: actions/setup-node@v1\n      with:\n        node-version: 18.x\n    - name: Yarn install\n      run: yarn install\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Set up JDK 11\n      uses: actions/setup-java@v1\n      with:\n        java-version: 11\n    \n    # Build Python version\n    - name: Install deps\n      run: pip install --upgrade pip fire twine wheel setuptools\n    - name: Vendor robocorp_ls_core/robotframework_interactive\n      run: |\n        python -m dev vendor-robocorp-ls-core\n        python -m dev vendor-robotframework-interactive\n        python -m dev vendor-robotframework-output-stream\n    - name: Fix README references\n      run: python -m dev fix-readme\n    - name: Build wheel\n      working-directory: ./robotframework-ls/src\n      run: |\n        cp ../README.md ./README.md\n        python setup.py sdist bdist_wheel --universal\n        \n    # VSCode (build)\n    - run: npm install -g vsce@2.6.7\n    - run: vsce package -o robotframework-lsp.vsix\n    - uses: actions/upload-artifact@v1\n      with:\n        name: robotframework-lsp.vsix\n        path: ./robotframework-ls/robotframework-lsp.vsix\n\n    # Intellij (build)  \n    - name: Package\n      working-directory: ./robotframework-intellij\n      run: ./gradlew buildPlugin\n    - uses: actions/upload-artifact@v1\n      with:\n        name: intellij-distribution\n        path: robotframework-intellij/build/distributions/\n\n    - name: Check tag version\n      run: python -m dev check-tag-version\n      \n    - name: Publish intellij plugin\n      working-directory: ./robotframework-intellij\n      run: ./gradlew publishPlugin\n      env:\n        ORG_GRADLE_PROJECT_intellijPublishToken: ${{ secrets.ORG_GRADLE_PROJECT_intellijPublishToken }}\n    - name: Upload to PyPI\n      working-directory: ./robotframework-ls/src\n      run: twine upload dist/*\n      env:\n        TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n    - name: Publish to vscode marketplace \n      run: vsce publish -p $VSCE_TOKEN\n      env:\n        VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}\n    - name: Publish to open vsx marketplace \n      run: npx ovsx publish robotframework-lsp.vsix -p $OPEN_VSX_TOKEN\n      env:\n        OPEN_VSX_TOKEN: ${{ secrets.OPEN_VSX_TOKEN }}", "state": "active", "repository": "robocorp/robotframework-lsp"}
{"mined_at": "2024-07-15T14:10:24.389139", "created_at": "2020-05-18T20:39:44+02:00", "updated_at": "2020-05-20T15:06:56+02:00", "name": "Tests - RobotFramework Language Server (robotframework-ls)", "path": ".github/workflows/tests-robotframework-lsp.yml", "contents": "name: Tests - RobotFramework Language Server (robotframework-ls)\n\non:\n  push:\n    paths:\n    - robotframework-ls/**\n    - robocorp-python-ls-core/**\n    - .github/**\n\n  pull_request:\n    paths:\n    - robotframework-ls/**\n    - robocorp-python-ls-core/**\n    - .github/**\n      \njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    \n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py311-pip-v3\",\n          \"ubuntu-py310-pip-v5\",  # RF5 Must be with 3.10 due to a test using the `|` union operator.\n          \"ubuntu-py38-pip-v6\",\n          \"ubuntu-py39-master\",\n#           \"ubuntu-pypy3-master\",\n          \"macos-py311\",\n        ]\n        \n        include:\n          - name: \"windows-py311-pip-v3\"\n            python: \"3.11\"\n            os: windows-latest\n          - name: \"ubuntu-py310-pip-v5\"\n            python: \"3.10\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py38-pip-v6\"\n            python: \"3.8\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py39-master\"\n            python: \"3.9\"\n            os: ubuntu-latest\n#           - name: \"ubuntu-pypy3-master\"\n#             python: \"pypy3\"\n#             os: ubuntu-latest\n# Github actions seems to be having issues with Mac (regardless of which is the last action it may not complete)\n# so, leave it commented out for now.\n# See:\n# https://github.community/t5/GitHub-Actions/Jobs-on-Mac-OS-failing-on-Complete-Job/m-p/52401\n# https://github.community/t5/GitHub-Actions/Jobs-on-macOS-latest-sometimes-gets-cancelled-An-error-occurred/td-p/44124\n          - name: \"macos-py311\"\n            python: \"3.11\"\n            os: macos-latest\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v2\n      with:\n        submodules: recursive\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Setup node\n      uses: actions/setup-node@v1\n      with:\n        node-version: 18.x\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install robotframework from master\n      run: python -W ignore -m pip install https://github.com/robotframework/robotframework/archive/master.zip --no-warn-script-location --disable-pip-version-check\n      if: contains(matrix.name, '-master')\n    - name: Install robotframework from pip\n      run: python -W ignore -m pip install \"robotframework>=3.2,<4.0\"\n      if: contains(matrix.name, '-pip-v3')\n    - name: Install robotframework from pip\n      run: python -W ignore -m pip install \"robotframework>=5.0,<6.0\"\n      if: contains(matrix.name, '-pip-v5')\n    - name: Install robotframework from pip\n      run: python -W ignore -m pip install \"robotframework>=6.0,<7.0\"\n      if: contains(matrix.name, '-pip-v6')\n    - name: Install robotremoteserver via pip\n      run: python -W ignore -m pip install robotremoteserver\n    - name: Vendor deps\n      working-directory: ./robotframework-ls\n      run: |\n        pip install fire\n        python -m dev vendor-robocorp-ls-core\n        python -m dev vendor-robotframework-interactive\n        python -m dev vendor-robotframework-output-stream\n    - name: setup.py install\n      working-directory: ./robotframework-ls\n      run: |\n        cd src\n        python setup.py install\n        cd ..\n    - name: Install test deps\n      working-directory: ./robotframework-ls\n      run: |\n        cd tests\n        pip install -r test_requirements.txt\n        cd ..\n    - name: Test\n      working-directory: ./robotframework-ls/tests\n      env:\n        PYTHONPATH: .\n        RUN_TESTS_TIMEOUT: 800\n      run: python -u ../../robocorp-python-ls-core/tests/run_tests.py -rfE -otests_output -vv .\n    - uses: actions/upload-artifact@v1\n      with:\n        name: tests_output.${{ matrix.name }}.txt\n        path: robotframework-ls/tests/tests_output\n\n", "state": "active", "repository": "robocorp/robotframework-lsp"}
{"mined_at": "2024-07-15T14:10:25.510649", "created_at": "2020-05-23T19:49:09+02:00", "updated_at": "2020-05-23T19:49:09+02:00", "name": "Tests - VSCode Example (example-vscode)", "path": ".github/workflows/tests-example-vscode.yml", "contents": "name: Tests - VSCode Example (example-vscode)\n\non:\n  push:\n    paths:\n    - example-vscode/**\n    - robocorp-python-ls-core/**\n    - .github/**\n\n\n  pull_request:\n    branches:\n    - example-vscode/**\n    - robocorp-python-ls-core/**\n    - .github/**\n      \njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    \n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"ubuntu-py38\",\n        ]\n        \n        include:\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Vendor robocorp_ls_core\n      working-directory: ./example-vscode\n      run: |\n        pip install fire\n        python -m dev vendor-robocorp-ls-core\n    - name: setup.py install\n      working-directory: ./example-vscode\n      run: |\n        cd src\n        python setup.py install\n        cd ..\n    - name: Install test deps\n      working-directory: ./example-vscode\n      run: |\n        cd tests\n        pip install -r test_requirements.txt\n        cd ..\n    - name: Test\n      working-directory: ./example-vscode/tests\n      env:\n        PYTHONPATH: .\n      run: python -u ../../robocorp-python-ls-core/tests/run_tests.py -rfE -otests_output -vv .\n    - uses: actions/upload-artifact@v1\n      with:\n        name: tests_output.${{ matrix.name }}.txt\n        path: example-vscode/tests/tests_output\n\n", "state": "active", "repository": "robocorp/robotframework-lsp"}
{"mined_at": "2024-07-15T14:10:26.552674", "created_at": "2021-02-07T14:02:59+01:00", "updated_at": "2021-02-07T14:02:59+01:00", "name": "Tests - Intellij", "path": ".github/workflows/tests-robotframework-intellij.yml", "contents": "name: Tests - Intellij\n\non:\n  push:\n    paths:\n    - robotframework-intellij/**\n    - robotframework-ls/**\n    - robocorp-python-ls-core/**\n    - .github/**\n\n\n  pull_request:\n    branches:\n    - robotframework-intellij/**\n    - .github/**\n      \njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        working-directory: ./robotframework-intellij\n        \n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"ubuntu-py38\",\n        ]\n        \n        include:\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v1\n      with:\n        submodules: recursive\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Set up JDK 11\n      uses: actions/setup-java@v1\n      with:\n        java-version: 11\n    - name: Install deps\n      run: pip install --upgrade pip fire twine wheel setuptools robotframework\n    - name: Vendor deps\n      working-directory: ./robotframework-ls    \n      run: |\n        python -m dev vendor-robocorp-ls-core\n        python -m dev vendor-robotframework-interactive\n        python -m dev vendor-robotframework-output-stream\n    - name: Fix README references\n      working-directory: ./robotframework-ls    \n      run: python -m dev fix-readme\n    - name: Build wheel\n      working-directory: ./robotframework-ls/src\n      run: |\n        cp ../README.md ./README.md\n        python setup.py sdist bdist_wheel --universal\n        \n# Disable tests as they're not being monitored (so, just check that we\n# can build in the ci).\n#     - name: Test\n#       run: |\n#         export DISPLAY=':99.0'\n#         /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &\n#         pwd\n#         ./gradlew -v\n#         ./gradlew clean test -i\n    - name: Package\n      run: |\n        export DISPLAY=':99.0'\n        /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &\n        pwd\n        ./gradlew buildPlugin\n    - uses: actions/upload-artifact@v1\n      with:\n        name: intellij-distribution\n        path: robotframework-intellij/build/distributions/\n", "state": "active", "repository": "robocorp/robotframework-lsp"}
{"mined_at": "2024-07-15T14:10:27.607502", "created_at": "2021-06-05T19:06:18+02:00", "updated_at": "2021-07-07T18:49:21+02:00", "name": "Tests - RobotFramework Interactive (robotframework-interactive)", "path": ".github/workflows/tests-robotframework-interactive.yml", "contents": "name: Tests - RobotFramework Interactive (robotframework-interactive)\n\non:\n  push:\n    paths:\n    - robotframework-interactive/**\n    - robocorp-python-ls-core/**\n    - .github/**\n\n  pull_request:\n    paths:\n    - robotframework-interactive/**\n    - robocorp-python-ls-core/**\n    - .github/**\n      \njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    \n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py39-pip-v3\",\n#           \"ubuntu-py38-master\", TODO: Reenable when RF fixes https://github.com/robotframework/robotframework/issues/4607\n          \"ubuntu-py38-pip-v4\",\n        ]\n        \n        include:\n          - name: \"windows-py39-pip-v3\"\n            python: \"3.9\"\n            os: windows-latest\n#           - name: \"ubuntu-py38-master\" TODO: Reenable when RF fixes https://github.com/robotframework/robotframework/issues/4607\n#             python: \"3.8\"\n#             os: ubuntu-latest\n          - name: \"ubuntu-py38-pip-v4\"\n            python: \"3.8\"\n            os: ubuntu-latest\n\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v2\n      with:\n        submodules: recursive\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install robotframework from master\n      run: python -W ignore -m pip install https://github.com/robotframework/robotframework/archive/master.zip --no-warn-script-location --disable-pip-version-check\n      if: contains(matrix.name, '-master')\n    - name: Install robotframework from pip\n      run: python -W ignore -m pip install \"robotframework>=3.2,<4.0\"\n      if: contains(matrix.name, '-pip-v3')\n    - name: Install robotframework from pip\n      run: python -W ignore -m pip install \"robotframework>=4.0,<5.0\"\n      if: contains(matrix.name, '-pip-v4')\n    - name: setup.py install (robocorp-pytho-ls-core)\n      working-directory: ./robocorp-python-ls-core\n      run: |\n        cd src\n        python setup.py install\n        cd ..\n    - name: setup.py install\n      working-directory: ./robotframework-interactive\n      run: |\n        cd src\n        python setup.py install\n        cd ..\n    - name: Install test deps\n      working-directory: ./robotframework-interactive\n      run: |\n        cd tests\n        pip install -r test_requirements.txt\n        cd ..\n    - name: Test\n      working-directory: ./robotframework-interactive/tests\n      env:\n        PYTHONPATH: .\n        RUN_TESTS_TIMEOUT: 300\n      run: python -u ../../robocorp-python-ls-core/tests/run_tests.py -rfE -otests_output -vv .\n    - uses: actions/upload-artifact@v1\n      with:\n        name: tests_output.${{ matrix.name }}.txt\n        path: robotframework-interactive/tests/tests_output\n\n", "state": "active", "repository": "robocorp/robotframework-lsp"}
{"mined_at": "2024-07-15T14:10:28.766689", "created_at": "2021-09-27T15:17:26+02:00", "updated_at": "2021-10-11T15:28:23+02:00", "name": "Lint", "path": ".github/workflows/linting.yml", "contents": "name: Lint\n\non:\n  - push\n  - pull_request\n\njobs:\n  run-linters:\n    name: Run linters\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v2\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install pip deps\n        run: |\n          python -m pip install --upgrade pip fire poetry\n          \n          python -m venv .venv\n          source ./.venv/bin/activate\n          \n          cd robocorp-code\n          \n          poetry config virtualenvs.prefer-active-python true\n          poetry install\n          poetry run python -m pip install robotframework-output-stream\n          \n          cd ..\n          \n          echo $PWD/robotframework-ls/src > .venv/lib/python3.10/site-packages/rf_src.pth\n          echo $PWD/robocorp-code/src >> .venv/lib/python3.10/site-packages/rf_src.pth\n          echo $PWD/robocorp-python-ls-core/src >> .venv/lib/python3.10/site-packages/rf_src.pth\n          echo $PWD/robotframework-ls/tests >> .venv/lib/python3.10/site-packages/rf_src.pth\n          echo $PWD/robocorp-code/tests >> .venv/lib/python3.10/site-packages/rf_src.pth\n          echo $PWD/robocorp-python-ls-core/tests >> .venv/lib/python3.10/site-packages/rf_src.pth\n\n          \n      - name: Install prettier\n        run: |\n          npm install -g prettier@2.4.1\n          \n      - name: TS Format Robot Framework LS (yarn prettier --write vscode-client/**/*.ts to format files locally)\n        working-directory: ./robotframework-ls/\n        run: prettier --check vscode-client/**/*.ts\n        \n      - name: Prettier Robocorp Code (yarn prettier --write vscode-client/**/*.ts to format files locally)\n        working-directory: ./robocorp-code\n        run: prettier --check vscode-client/**/*.ts\n        \n      - name: Prettier RF Interactive (yarn prettier --write src/**/*.{ts,tsx} to format files locally)\n        working-directory: ./robotframework-interactive/vscode-interpreter-webview\n        run: prettier --check src/**/*.{ts,tsx}\n        \n      - name: ruff format check robocorp-code\n        run: |\n          echo $PWD\n          ls -la\n          source ./.venv/bin/activate\n          ruff format --check ./robocorp-code --exclude=vendored --exclude=_vendored\n          \n      - name: ruff format check robotframework-ls\n        run: |\n          source ./.venv/bin/activate\n          ruff format --check ./robotframework-ls --exclude=vendored --exclude=atest_v5\n          \n      - name: ruff format check robotframework-interactive\n        run: |\n          source ./.venv/bin/activate\n          ruff format --check ./robotframework-interactive --exclude=vendored\n          \n      - name: ruff format check robocorp-python-ls-core\n        run: |\n          source ./.venv/bin/activate\n          ruff format --check ./robocorp-python-ls-core --exclude=vendored --exclude=libs\n          \n      - name: mypy robocorp-code\n        run: |\n          source ./.venv/bin/activate\n          mypy --follow-imports=silent --show-column-numbers $PWD/robocorp-code/src $PWD/robocorp-code/tests  $PWD/robocorp-code/codegen\n\n      - name: mypy robocorp-python-ls-core\n        run: |\n          source ./.venv/bin/activate\n          mypy --follow-imports=silent --show-column-numbers $PWD/robocorp-python-ls-core/src $PWD/robocorp-python-ls-core/tests\n          \n      - name: mypy robotframework-ls\n        run: |\n          source ./.venv/bin/activate\n          mypy --follow-imports=silent --show-column-numbers $PWD/robotframework-ls/src $PWD/robotframework-ls/tests\n          \n      - name: mypy robotframework-interactive\n        run: |\n          source ./.venv/bin/activate\n          mypy --follow-imports=silent --show-column-numbers $PWD/robotframework-interactive/src $PWD/robotframework-interactive/tests\n          \n          ", "state": "active", "repository": "robocorp/robotframework-lsp"}
{"mined_at": "2024-07-15T14:10:29.961050", "created_at": "2022-03-01T20:54:06+01:00", "updated_at": "2022-03-01T20:54:06+01:00", "name": "Pre-release - Robocorp Code Extension", "path": ".github/workflows/pre-release-robocorp-code.yml", "contents": "on: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version'     \n        required: true\nname: Pre-release - Robocorp Code Extension\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./robocorp-code\n    \n    strategy:\n      fail-fast: true\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Setup node\n      uses: actions/setup-node@v1\n      with:\n        node-version: 18.x\n        \n    - name: Yarn install\n      run: yarn install\n      \n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n        \n    - name: Install deps\n      run: pip install --upgrade pip fire poetry\n      \n    - name: Update version\n      run: python -m dev set-version ${{ github.event.inputs.version }}\n      \n    - name: Update vscode required version\n      run: python codegen/codegen_package.py\n      env:\n        PYTHONPATH: src\n      \n    - name: Vendor robocorp_ls_core\n      run: python -m dev vendor-robocorp-ls-core\n      \n    - name: Fix README references\n      run: python -m dev fix-readme\n      \n    - name: Generate LICENSE.md\n      run: python -m dev generate-license-file\n      \n    - name: Install locally\n      working-directory: ./robocorp-code\n      run: poetry install\n        \n    - run: npm install -g vsce@2.15.0\n    \n    \n    # Platforms: win32-x64, win32-ia32, win32-arm64, linux-x64, linux-arm64, linux-armhf, alpine-x64, alpine-arm64, darwin-x64, darwin-arm64 and web.\n    \n    # Deal with Windows --------------\n    - name: Download rcc for windows\n      run: python -m dev download-rcc win32\n      \n    - run: vsce package --pre-release --target win32-x64 -o robocorp-code-win32-x64.vsix\n\n    - uses: actions/upload-artifact@v1\n      with:\n        name: robocorp-code-win32-x64.vsix\n        path: ./robocorp-code/robocorp-code-win32-x64.vsix\n    \n    - name: Publish pre-release to vscode marketplace\n      run: vsce publish --packagePath ./robocorp-code-win32-x64.vsix -p $VSCE_TOKEN --pre-release\n      env:\n        VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}\n        \n    # Deal with Linux --------------\n    - name: Download rcc for linux\n      run: python -m dev download-rcc linux\n      \n    - run: vsce package --pre-release --target linux-x64 -o robocorp-code-linux-x64.vsix\n\n    - uses: actions/upload-artifact@v1\n      with:\n        name: robocorp-code-linux-x64.vsix\n        path: ./robocorp-code/robocorp-code-linux-x64.vsix\n    \n    - name: Publish pre-release to vscode marketplace\n      run: vsce publish --packagePath ./robocorp-code-linux-x64.vsix -p $VSCE_TOKEN --pre-release\n      env:\n        VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}\n        \n    # Deal with Darwin x64 --------------\n    - name: Download rcc for darwin\n      run: python -m dev download-rcc darwin\n      \n    - run: vsce package --pre-release --target darwin-x64 -o robocorp-code-darwin-x64.vsix\n\n    - uses: actions/upload-artifact@v1\n      with:\n        name: robocorp-code-darwin-x64.vsix\n        path: ./robocorp-code/robocorp-code-darwin-x64.vsix\n    \n    - name: Publish pre-release to vscode marketplace\n      run: vsce publish --packagePath ./robocorp-code-darwin-x64.vsix -p $VSCE_TOKEN --pre-release\n      env:\n        VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}\n        \n    # Deal with Darwin arm64 --------------\n    - name: Download rcc for darwin\n      run: python -m dev download-rcc darwin\n      \n    - run: vsce package --pre-release --target darwin-arm64 -o robocorp-code-darwin-arm64.vsix\n\n    - uses: actions/upload-artifact@v1\n      with:\n        name: robocorp-code-darwin-arm64.vsix\n        path: ./robocorp-code/robocorp-code-darwin-arm64.vsix\n    \n    - name: Publish pre-release to vscode marketplace\n      run: vsce publish --packagePath ./robocorp-code-darwin-arm64.vsix -p $VSCE_TOKEN --pre-release\n      env:\n        VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}\n", "state": "active", "repository": "robocorp/robotframework-lsp"}
{"mined_at": "2024-07-15T14:10:30.959972", "created_at": "2022-03-01T20:54:06+01:00", "updated_at": "2022-03-01T20:54:06+01:00", "name": "Pre-release - RobotFramework Language Server Extension", "path": ".github/workflows/pre-release-robotframework-lsp.yml", "contents": "on: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version'     \n        required: true\nname: Pre-release - RobotFramework Language Server Extension\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./robotframework-ls\n    \n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v1\n      with:\n        submodules: recursive\n    - name: Setup node\n      uses: actions/setup-node@v1\n      with:\n        node-version: 18.x\n    - name: Yarn install\n      run: yarn install\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Set up JDK 11\n      uses: actions/setup-java@v1\n      with:\n        java-version: 11\n    \n    # Build Python version\n    - name: Install deps\n      run: pip install --upgrade pip fire twine wheel setuptools jinja2\n      \n    - name: Update version\n      run: python -m dev set-version ${{ github.event.inputs.version }}\n      \n    - name: Update vscode required version\n      run: python codegen/codegen_package.py\n      env:\n        PYTHONPATH: src\n\n    - name: Vendor robocorp_ls_core/robotframework_interactive\n      run: |\n        python -m dev vendor-robocorp-ls-core\n        python -m dev vendor-robotframework-interactive\n        python -m dev vendor-robotframework-output-stream\n    - name: Fix README references\n      run: python -m dev fix-readme\n    - name: Build wheel\n      working-directory: ./robotframework-ls/src\n      run: |\n        cp ../README.md ./README.md\n        python setup.py sdist bdist_wheel --universal\n        \n    # VSCode (build)\n    - run: npm install -g vsce@2.6.7\n    - run: vsce package -o robotframework-lsp.vsix\n    - uses: actions/upload-artifact@v1\n      with:\n        name: robotframework-lsp.vsix\n        path: ./robotframework-ls/robotframework-lsp.vsix\n\n    # Intellij (build)  \n    - name: Package\n      working-directory: ./robotframework-intellij\n      run: ./gradlew buildPlugin\n    - uses: actions/upload-artifact@v1\n      with:\n        name: intellij-distribution\n        path: robotframework-intellij/build/distributions/\n\n    # Note: always publish a pre-release to VSCode marketplace.\n    - name: Publish pre-release to vscode marketplace\n      run: vsce publish -p $VSCE_TOKEN --pre-release\n      env:\n        VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}\n", "state": "active", "repository": "robocorp/robotframework-lsp"}
{"mined_at": "2024-07-15T14:10:32.034513", "created_at": "2023-01-12T17:26:17+01:00", "updated_at": "2023-01-12T17:26:17+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '45 4 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'java', 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "robocorp/robotframework-lsp"}
{"mined_at": "2024-07-15T14:10:33.259709", "created_at": "2023-02-01T16:42:54+01:00", "updated_at": "2023-02-01T17:47:18+01:00", "name": "Tests - Python Language Server Core (robocorp-python-ls-core)", "path": ".github/workflows/tests-robocorp-python-ls-core.yml", "contents": "name: Tests - Python Language Server Core (robocorp-python-ls-core)\n\non:\n  push:\n    paths:\n    - robocorp-python-ls-core/**\n    - .github/**\n\n\n  pull_request:\n    paths:\n    - robocorp-python-ls-core/**\n    - .github/**\n    \njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    \n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py311\",\n          \"ubuntu-py39\",\n          \"macos-py38\"\n        ]\n        \n        include:\n          - name: \"windows-py311\"\n            python: \"3.11\"\n            os: windows-latest\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: setup.py install\n      working-directory: ./robocorp-python-ls-core\n      run: |\n        cd src\n        python setup.py install\n        cd ..\n    - name: Install test deps\n      working-directory: ./robocorp-python-ls-core\n      run: |\n        cd tests\n        pip install -r test_requirements.txt\n        cd ..\n    - name: Test\n      working-directory: ./robocorp-python-ls-core/tests\n      env:\n        PYTHONPATH: .\n      run: python -u ./run_tests.py -rfE -otests_output -vv .\n    - uses: actions/upload-artifact@v1\n      with:\n        name: tests_output.${{ matrix.name }}.txt\n        path: robocorp-python-ls-core/tests/tests_output\n\n", "state": "active", "repository": "robocorp/robotframework-lsp"}
{"mined_at": "2024-07-15T14:10:34.398650", "created_at": "2023-02-01T16:42:54+01:00", "updated_at": "2023-02-01T17:47:18+01:00", "name": "Tests - Robocorp Code (robocorp-code)", "path": ".github/workflows/tests-robocorp-code-vscode.yml", "contents": "name: Tests - Robocorp Code (robocorp-code)\n\non:\n  push:\n    paths:\n    - robocorp-code/**\n    - robocorp-python-ls-core/**\n    - robotframework-ls/**\n    - .github/**\n\n  pull_request:\n    paths:\n    - robocorp-code/**\n    - robocorp-python-ls-core/**\n    - robotframework-ls/**\n    - .github/**\n      \njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    \n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"ubuntu-py310\",\n          \"windows-py310\",\n#           \"mac-py310\", mac disabled because it takes too long for runners to pick the mac job up.\n        ]\n        \n        include:\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n#           - name: \"mac-py310\"\n#             python: \"3.10\"\n#             os: mac-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Vendor robocorp_ls_core\n      working-directory: ./robocorp-code\n      run: |\n        pip install fire poetry\n        python -m dev vendor-robocorp-ls-core\n    - name: setup.py install\n      working-directory: ./robocorp-code\n      run: poetry install\n    - name: Test\n      working-directory: ./robocorp-code/tests\n      env:\n        PYTHONPATH: .\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n        # Big timeout to create environment in windows.\n        RUN_TESTS_TIMEOUT: 3000\n      run: poetry run python -u ../../robocorp-python-ls-core/tests/run_tests.py -rfE -otests_output -vv .\n    - uses: actions/upload-artifact@v1\n      if: always()\n      with:\n        name: tests_output.${{ matrix.name }}.txt\n        path: robocorp-code/tests/tests_output\n    - uses: actions/upload-artifact@v1\n      if: always()\n      with:\n        name: log.${{ matrix.name }}.html\n        path: robocorp-code/tests/output/log.html\n\n", "state": "active", "repository": "robocorp/robotframework-lsp"}
{"mined_at": "2024-07-15T14:10:35.502340", "created_at": "2023-02-01T17:47:18+01:00", "updated_at": "2023-02-01T17:47:18+01:00", "name": "Deploy - Robocorp Code Extension", "path": ".github/workflows/release-robocorp-code-vscode.yml", "contents": "on:\n  push:\n    branches:\n      - \"release-robocorp-code\"\n    tags:\n      - \"robocorp-code-*\"\nname: Deploy - Robocorp Code Extension\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./robocorp-code\n    \n    strategy:\n      fail-fast: true\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Setup node\n      uses: actions/setup-node@v1\n      with:\n        node-version: 18.x\n    - name: Yarn install\n      run: yarn install\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Install deps\n      run: pip install --upgrade pip fire poetry\n    - name: Vendor robocorp_ls_core\n      run: python -m dev vendor-robocorp-ls-core\n    - name: Fix README references\n      run: python -m dev fix-readme\n    - name: Generate LICENSE.md\n      run: python -m dev generate-license-file\n    - name: Install locally\n      working-directory: ./robocorp-code\n      run: poetry install\n    - run: npm install -g vsce@2.15.0\n        \n    - name: Check tag version\n      run: python -m dev check-tag-version\n\n    # Deal with Windows --------------\n    - name: Download rcc for windows\n      run: python -m dev download-rcc win32\n      \n    - run: vsce package --target win32-x64 -o robocorp-code-win32-x64.vsix\n\n    - uses: actions/upload-artifact@v1\n      with:\n        name: robocorp-code-win32-x64.vsix\n        path: ./robocorp-code/robocorp-code-win32-x64.vsix\n    \n    - name: Publish pre-release to vscode marketplace\n      run: vsce publish --packagePath ./robocorp-code-win32-x64.vsix -p $VSCE_TOKEN\n      env:\n        VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}\n        \n    - name: Publish windows to open vsx marketplace \n      run: npx ovsx publish robocorp-code-win32-x64.vsix -p $OPEN_VSX_TOKEN\n      env:\n        OPEN_VSX_TOKEN: ${{ secrets.OPEN_VSX_TOKEN }}\n                \n    # Deal with Linux --------------\n    - name: Download rcc for linux\n      run: python -m dev download-rcc linux\n      \n    - run: vsce package --target linux-x64 -o robocorp-code-linux-x64.vsix\n\n    - uses: actions/upload-artifact@v1\n      with:\n        name: robocorp-code-linux-x64.vsix\n        path: ./robocorp-code/robocorp-code-linux-x64.vsix\n    \n    - name: Publish pre-release to vscode marketplace\n      run: vsce publish --packagePath ./robocorp-code-linux-x64.vsix -p $VSCE_TOKEN\n      env:\n        VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}\n        \n    - name: Publish linux to open vsx marketplace \n      run: npx ovsx publish robocorp-code-linux-x64.vsix -p $OPEN_VSX_TOKEN\n      env:\n        OPEN_VSX_TOKEN: ${{ secrets.OPEN_VSX_TOKEN }}\n        \n    # Deal with Darwin x64 --------------\n    - name: Download rcc for darwin\n      run: python -m dev download-rcc darwin\n      \n    - run: vsce package --target darwin-x64 -o robocorp-code-darwin-x64.vsix\n\n    - uses: actions/upload-artifact@v1\n      with:\n        name: robocorp-code-darwin-x64.vsix\n        path: ./robocorp-code/robocorp-code-darwin-x64.vsix\n    \n    - name: Publish pre-release to vscode marketplace\n      run: vsce publish --packagePath ./robocorp-code-darwin-x64.vsix -p $VSCE_TOKEN\n      env:\n        VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}\n        \n    - name: Publish darwin to open vsx marketplace \n      run: npx ovsx publish robocorp-code-darwin-x64.vsix -p $OPEN_VSX_TOKEN\n      env:\n        OPEN_VSX_TOKEN: ${{ secrets.OPEN_VSX_TOKEN }}\n        \n    # Deal with Darwin arm64 --------------\n    - name: Download rcc for darwin\n      run: python -m dev download-rcc darwin\n      \n    - run: vsce package --target darwin-arm64 -o robocorp-code-darwin-arm64.vsix\n\n    - uses: actions/upload-artifact@v1\n      with:\n        name: robocorp-code-darwin-arm64.vsix\n        path: ./robocorp-code/robocorp-code-darwin-arm64.vsix\n    \n    - name: Publish pre-release to vscode marketplace\n      run: vsce publish --packagePath ./robocorp-code-darwin-arm64.vsix -p $VSCE_TOKEN\n      env:\n        VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}\n        \n    - name: Publish darwin to open vsx marketplace \n      run: npx ovsx publish robocorp-code-darwin-arm64.vsix -p $OPEN_VSX_TOKEN\n      env:\n        OPEN_VSX_TOKEN: ${{ secrets.OPEN_VSX_TOKEN }}", "state": "active", "repository": "robocorp/robotframework-lsp"}
{"mined_at": "2024-07-15T14:10:37.676759", "created_at": "2023-01-03T15:47:07+01:00", "updated_at": "2023-11-10T22:32:45+01:00", "name": "Build and Deploy PennCourses", "path": ".github/workflows/shared-build-deploy.yaml", "contents": "\n# ========================================\n# Note:  If you make changes to this CI/CD, please include someone from DevOps in the list of reviewers for the PR.\n# ========================================\nname: Build and Deploy PennCourses\n\non: push\n\njobs:\n  backend-check:\n    name: \"Backend Check\"\n    uses: pennlabs/shared-actions/.github/workflows/django.yaml@8785a7d7b9158d8d5705a0202f5695db2c0beb97\n    with:\n      projectName: PennCourses\n      path: backend\n      flake: true\n      black: true\n      pythonVersion: 3.11-buster\n\n  publish-backend:\n    uses: pennlabs/shared-actions/.github/workflows/docker-publish.yaml@v0.1\n    with:\n      # Inputs\n      imageName: \"penn-courses-backend\"\n      githubRef: ${{ github.ref }}\n      gitSha: ${{ github.sha }}\n\n      # Optional inputs\n      \n      # Path to the docker context\n      path: backend\n      \n      # Path to the dockerfile (relative to `path` variable)\n      dockerfile: Dockerfile\n      \n      # If enabled, will cache_from the latest version of the docker image.\n      cache: true\n    \n    secrets: \n      DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n      DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n    \n    needs: backend-check\n\n  \n  # Publish\n  # ========================================================================================================\n  \n  frontend-check:\n    name: \"Frontend Check\"\n    uses: pennlabs/shared-actions/.github/workflows/react-check.yaml@v0.1\n    strategy:\n      fail-fast: true\n      matrix:\n        product: [review, plan, alert, degree-plan]\n    with:\n      path: frontend/${{ matrix.product }}\n      nodeVersion: 18.19.0\n\n  publish-frontend:\n    uses: pennlabs/shared-actions/.github/workflows/docker-publish.yaml@v0.1\n    strategy:\n      fail-fast: true\n      matrix:\n        product: [{name: pcr, path: review}, {name: pcp, path: plan}, {name: pca, path: alert}, {name: pdp, path: degree-plan}]\n    with:\n      # Inputs\n      imageName: \"${{ matrix.product.name }}-frontend\"\n      githubRef: ${{ github.ref }}\n      gitSha: ${{ github.sha }}\n      \n      # Path to the docker context\n      path: frontend\n      \n      # Path to the dockerfile (relative to `path` variable)\n      dockerfile: ${{ matrix.product.path }}/Dockerfile\n      \n      # If enabled, will cache_from the latest version of the docker image.\n      cache: true\n    \n    secrets: \n      DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n      DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n    \n    needs: frontend-check\n\n\n  # ========================================================================================================\n\n  # Landing\n  # ========================================================================================================\n  publish-landing:\n      uses: pennlabs/shared-actions/.github/workflows/docker-publish.yaml@v0.1\n      with:\n        # Inputs\n        imageName: \"pcx-landing\"\n        githubRef: ${{ github.ref }}\n        gitSha: ${{ github.sha }}\n        \n        # Path to the docker context\n        path: frontend/landing\n        \n        # Path to the dockerfile (relative to `path` variable)\n        dockerfile: Dockerfile\n        \n        # If enabled, will cache_from the latest version of the docker image.\n        cache: true\n      \n      secrets: \n        DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n        DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n  # ========================================================================================================\n\n  # Deploy\n\n  deploy:\n    name: \"Deploy\"\n    uses: pennlabs/shared-actions/.github/workflows/deployment.yaml@v0.1\n\n    with:\n      githubRef: ${{ github.ref }}\n      gitSha: ${{ github.sha }}\n\n    secrets:\n      AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}\n      GH_AWS_ACCESS_KEY_ID: ${{ secrets.GH_AWS_ACCESS_KEY_ID }}\n      GH_AWS_SECRET_ACCESS_KEY: ${{ secrets.GH_AWS_SECRET_ACCESS_KEY }}\n\n    needs:\n      - publish-backend\n      - publish-frontend\n", "state": "active", "repository": "pennlabs/penn-courses"}
{"mined_at": "2024-07-15T14:10:40.843153", "created_at": "2022-11-07T21:40:54+01:00", "updated_at": "2022-11-07T21:40:54+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches-ignore:\n      - master\n  pull_request:\n    branches-ignore:\n      - master\n  schedule:\n    - cron: '39 20 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "cogent3/cogent3"}
{"mined_at": "2024-07-15T14:10:42.082917", "created_at": "2023-03-31T00:50:43+02:00", "updated_at": "2023-09-20T05:55:37+02:00", "name": "Format code using black and isort", "path": ".github/workflows/linters.yml", "contents": "name: Format code using black and isort\n# modified from https://towardsdatascience.com/black-with-git-hub-actions-4ffc5c61b5fe\n# caching https://stackoverflow.com/questions/59127258/how-can-i-use-pip-cache-in-github-actions\n# black integration https://black.readthedocs.io/en/stable/integrations/github_actions.html\n# isort integration https://pycqa.github.io/isort/docs/configuration/github_action.html\n\non:\n  push:\n    branches-ignore:\n      - master\n\njobs:\n  linters:\n    runs-on: ubuntu-latest\n    if: github.repository == 'cogent3/cogent3'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tomli\n          export click_version=$(python -c 'import tomli; print([line for line in tomli.load(open(\"pyproject.toml\",\"rb\"))[\"project\"][\"optional-dependencies\"][\"dev\"] if \"click\" in line][0])')\n          export black_version=$(python -c 'import tomli; print([line for line in tomli.load(open(\"pyproject.toml\",\"rb\"))[\"project\"][\"optional-dependencies\"][\"dev\"] if \"black\" in line][0])')\n          export isort_version=$(python -c 'import tomli; print([line for line in tomli.load(open(\"pyproject.toml\",\"rb\"))[\"project\"][\"optional-dependencies\"][\"dev\"] if \"isort\" in line][0])')\n          echo \"Click version: $click_version\"\n          echo \"Black version: $black_version\"\n          echo \"Isort version: $isort_version\"\n          python -m pip install $click_version $black_version $isort_version\n      - name: Format code using black\n        run: black .\n      - name: Sort import statements using isort\n        run: isort .\n      - name: Commit changes\n        uses: EndBug/add-and-commit@v9\n        with:\n          author_name: ${{ github.actor }}\n          author_email: ${{ github.actor }}@users.noreply.github.com\n          message: \"STY: pre-commit linting with black and isort\"\n          add: \".\"\n", "state": "active", "repository": "cogent3/cogent3"}
{"mined_at": "2024-07-15T14:10:43.124167", "created_at": "2020-05-29T09:57:24+02:00", "updated_at": "2023-09-20T00:54:28+02:00", "name": "CI", "path": ".github/workflows/testing_develop.yml", "contents": "name: CI\n\non:\n  push:\n    branches-ignore:\n      - master\n  pull_request:\n    branches-ignore:\n      - master\n\njobs:\n  tests:\n    name: \"Python ${{ matrix.python-version }} (${{ matrix.os }})\"\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: \"actions/checkout@v4\"\n        with:\n          fetch-depth: 0\n\n      # Setup env\n      - uses: \"actions/setup-python@v5\"\n        with:\n            python-version: \"${{ matrix.python-version }}\"\n\n      - name: \"Installs for ${{ matrix.python-version }}\"\n        run: |\n          python --version\n          pip install --upgrade pip wheel setuptools flit\n          pip install --upgrade nox\n\n      - name: \"Run nox for ${{ matrix.python-version }}\"\n        run: \"nox -s test-${{ matrix.python-version }} -- --cov-report lcov:lcov-${{matrix.os}}-${{matrix.python-version}}.lcov --cov-report term --cov-append --cov cogent3\"\n\n      - name: Coveralls Parallel\n        uses: coverallsapp/github-action@v2\n        with:\n          parallel: true\n          github-token: ${{ secrets.github_token }}\n          flag-name: run-${{matrix.python-version}}-${{matrix.os}}\n          file: \"tests/lcov-${{matrix.os}}-${{matrix.python-version}}.lcov\"\n\n  finish:\n    name: \"Finish Coveralls\"\n    needs: tests\n    runs-on: ubuntu-latest\n    steps:\n    - name: Coveralls Finished\n      uses: coverallsapp/github-action@v2\n      with:\n        github-token: ${{ secrets.github_token }}\n        parallel-finished: true", "state": "active", "repository": "cogent3/cogent3"}
{"mined_at": "2024-07-15T14:10:45.233055", "created_at": "2023-11-08T17:23:16+01:00", "updated_at": "2023-11-08T17:23:16+01:00", "name": "Backstage Catalog Info Helper", "path": ".github/workflows/backstage-catalog-helper.yml", "contents": "name: Backstage Catalog Info Helper\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  update-catalog-info:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Actions\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11\n        with:\n          fetch-depth: 0\n      - name: Run Backstage Catalog Info Helper\n        uses: cds-snc/backstage-catalog-info-helper-action@v0.3.1\n        with:\n          github_app_id: ${{ secrets.SRE_BOT_RW_APP_ID }}\n          github_app_private_key: ${{ secrets.SRE_BOT_RW_PRIVATE_KEY }}\n          github_organization: cds-snc\n      - name: impersonate Read/Write GH App\n        uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a\n        id: generate_token\n        with:\n          app_id: ${{ secrets.SRE_BOT_RW_APP_ID }}\n          private_key: ${{ secrets.SRE_BOT_RW_PRIVATE_KEY }}\n      - name: Create pull request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          token: ${{ steps.generate_token.outputs.token}}\n          commit-message: 'Add catalog-info.yaml'\n          branch: 'backstage/catalog-info'\n          title: 'Add catalog-info.yaml'\n          body: 'Adding a basic catalog-info.yaml to start populating the backstage catalog with your components.'\n          labels: 'backstage'\n          add-paths: |\n            catalog-info.yaml", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:46.379984", "created_at": "2021-10-19T12:13:59+02:00", "updated_at": "2021-11-03T16:52:07+01:00", "name": "Build and Push Performance Testing Container to ECR, deploy to lambda", "path": ".github/workflows/build_and_push_performance_test.yml", "contents": "\nname: Build and Push Performance Testing Container to ECR, deploy to lambda\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ \"main\" ]\n    paths:\n      - 'tests-perf/locust/**'\n      - 'tests-perf/ops/**'\n\nenv:\n  GITHUB_SHA: ${{ github.sha }}\n  REGISTRY: ${{ secrets.AWS_ACCOUNT }}.dkr.ecr.ca-central-1.amazonaws.com/notify\n\njobs:\n  changes:\n    runs-on: ubuntu-latest\n    outputs:\n      images: ${{ steps.filter.outputs.changes }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n\n      - uses: dorny/paths-filter@7267a8516b6f92bdb098633497bad573efdbf271 # v2.12.0\n        id: filter\n        with:\n          filters: |\n            performance-test: \n              - 'tests-perf/**'\n              - 'tests_smoke/**'\n\n  build-push-and-deploy:\n    if: ${{ needs.changes.outputs.images != '[]' }}\n    runs-on: ubuntu-latest\n    needs: changes\n    strategy:\n      fail-fast: false\n      matrix:\n        image: ${{ fromJSON(needs.changes.outputs.images) }}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n\n      - name: Build container\n        run: |\n          docker build \\\n          --build-arg git_sha=$GITHUB_SHA \\\n          -t $REGISTRY/${{ matrix.image }}:$GITHUB_SHA \\\n          -t $REGISTRY/${{ matrix.image }}:latest . \\\n          -f tests-perf/ops/Dockerfile\n\n      - name: Configure AWS credentials\n        id: aws-creds\n        uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ca-central-1\n\n      - name: Login to ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@5a88a04c91d5c6f97aae0d9be790e64d9b1d47b7 # v1.7.1\n\n      - name: Push containers to ECR\n        run: |\n          docker push $REGISTRY/${{ matrix.image }}:$GITHUB_SHA\n          docker push $REGISTRY/${{ matrix.image }}:latest\n\n      - name: Logout of Amazon ECR\n        run: docker logout ${{ steps.login-ecr.outputs.registry }}\n\n      - name: Notify Slack channel if this job failed\n        if: ${{ failure() }}\n        run: |\n          json=\"{'text':'<!here> CI is failing in <https://github.com/cds-snc/notification-api/actions/runs/${GITHUB_RUN_ID}|notification-api> !'}\"\n          curl -X POST -H 'Content-type: application/json' --data \"$json\"  ${{ secrets.SLACK_WEBHOOK }}\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:47.537659", "created_at": "2022-11-11T11:24:12+01:00", "updated_at": "2023-01-24T17:08:19+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: \"29 4 * * 3\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@ffd3158cb9024ebd018dbf20756f28befbd168c7 # v2.24.10\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@ffd3158cb9024ebd018dbf20756f28befbd168c7 # v2.24.10\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@ffd3158cb9024ebd018dbf20756f28befbd168c7 # v2.24.10\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:48.506146", "created_at": "2023-06-23T16:06:48+02:00", "updated_at": "2023-06-23T16:06:48+02:00", "name": "Cypress tests", "path": ".github/workflows/cypress.yaml", "contents": null, "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:49.758777", "created_at": "2023-01-11T20:42:06+01:00", "updated_at": "2023-01-11T20:42:06+01:00", "name": "Docker vulnerability scan", "path": ".github/workflows/docker-vulnerability-scan.yml", "contents": "name: Docker vulnerability scan\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 4 * * *\"\n\npermissions:\n  id-token: write        # This is required for requesting the OIDC JWT\n  contents: read         # This is required for actions/checkout\n  security-events: write # This is required for the docker-scan action\n\njobs:\n  docker-vulnerability-scan-k8s:\n    runs-on: ubuntu-latest\n    env:\n      DOCKERFILE_PATH: \"ci/Dockerfile\"\n      DOCKER_IMAGE: \"public.ecr.aws/v6b8u5o6/notify-api\"\n\n    steps:\n      - name: Configure credentials to CDS public ECR using OIDC\n        uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0\n        with:\n          role-to-assume: arn:aws:iam::283582579564:role/notification-api-apply\n          role-session-name: NotifyApiGitHubActions\n          aws-region: \"us-east-1\"\n\n      - name: Login to ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@5a88a04c91d5c6f97aae0d9be790e64d9b1d47b7 # v1.7.1\n        with:\n          registry-type: public\n\n      - name: Docker vulnerability scan\n        uses: cds-snc/security-tools/.github/actions/docker-scan@eecd7a02a0294b379411c126b61e5c29e253676a # v2.1.4\n        with:\n          docker_image: \"${{ env.DOCKER_IMAGE }}:latest\"\n          dockerfile_path: \"${{ env.DOCKERFILE_PATH }}\"\n          token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n      - name: Logout of Amazon ECR\n        run: docker logout ${{ steps.login-ecr.outputs.registry }}\n\n  docker-vulnerability-scan-lambda:\n    runs-on: ubuntu-latest\n    env:\n      DOCKERFILE_PATH: \"ci/Dockerfile.lambda\"\n      DOCKER_IMAGE: \"${{ secrets.PRODUCTION_API_LAMBDA_ECR_ACCOUNT }}.dkr.ecr.ca-central-1.amazonaws.com/notify/api-lambda\"\n\n    steps:\n      - name: Configure credentials to Notify account using OIDC\n        uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0\n        with:\n          role-to-assume: arn:aws:iam::${{ secrets.PRODUCTION_API_LAMBDA_ECR_ACCOUNT }}:role/notification-api-apply\n          role-session-name: NotifyApiGitHubActions\n          aws-region: \"ca-central-1\"\n\n      - name: Get latest Docker image tag\n        run: |\n          IMAGE_TAG=\"$(aws ecr describe-images --output json --repository-name notify/api-lambda --query 'sort_by(imageDetails,& imagePushedAt)[-1].imageTags[0]' | jq . --raw-output)\"\n          echo \"IMAGE_TAG=$IMAGE_TAG\" >> $GITHUB_ENV\n\n      - name: Login to ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@5a88a04c91d5c6f97aae0d9be790e64d9b1d47b7 # v1.7.1\n\n      - name: Docker vulnerability scan\n        uses: cds-snc/security-tools/.github/actions/docker-scan@eecd7a02a0294b379411c126b61e5c29e253676a # v2.1.4\n        with:\n          docker_image: \"${{ env.DOCKER_IMAGE }}:${{ env.IMAGE_TAG }}\"\n          dockerfile_path: \"${{ env.DOCKERFILE_PATH }}\"\n          token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n      - name: Logout of Amazon ECR\n        run: docker logout ${{ steps.login-ecr.outputs.registry }}\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:50.867909", "created_at": "2019-12-19T19:39:46+01:00", "updated_at": "2024-03-05T21:07:13+01:00", "name": "Build, push to AWS ECR, and deploy", "path": ".github/workflows/docker.yaml", "contents": "name: Build, push to AWS ECR, and deploy\non:\n  push:\n    branches:\n      - main\n\nenv:\n  AWS_REGION: ca-central-1\n  DOCKER_ORG: public.ecr.aws/v6b8u5o6\n  DOCKER_SLUG: public.ecr.aws/v6b8u5o6/notify-api\n  KUBECTL_VERSION: '1.23.6'\n  WORKFLOW_PAT: ${{ secrets.WORKFLOW_GITHUB_PAT }}\n\npermissions:\n  id-token: write   # This is required for requesting the OIDC JWT\n  contents: read    # This is required for actions/checkout\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    name: Build and push\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: Install AWS CLI\n      run: |\n        curl \"https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip\" -o \"awscliv2.zip\"\n        unzip -q awscliv2.zip\n        sudo ./aws/install --update\n        aws --version\n\n    - name: Configure credentials to CDS public ECR using OIDC\n      uses: aws-actions/configure-aws-credentials@master\n      with:\n        role-to-assume: arn:aws:iam::283582579564:role/notification-api-apply\n        role-session-name: NotifyApiGitHubActions\n        aws-region: \"us-east-1\"\n  \n    - name: Login to ECR\n      id: login-ecr\n      uses: aws-actions/amazon-ecr-login@5a88a04c91d5c6f97aae0d9be790e64d9b1d47b7 # v1.7.1\n      with:\n        registry-type: public\n\n    - name: Build\n      run: |\n        docker pull $DOCKER_SLUG:latest\n        docker build \\\n        --cache-from $DOCKER_SLUG:latest \\\n        --build-arg GIT_SHA=${GITHUB_SHA::7} \\\n        -t $DOCKER_SLUG:${GITHUB_SHA::7} \\\n        -t $DOCKER_SLUG:latest \\\n        -f ci/Dockerfile .\n\n    - name: Publish\n      run: |\n        docker push $DOCKER_SLUG:latest && docker push $DOCKER_SLUG:${GITHUB_SHA::7}\n\n    - name: Rollout in Kubernetes\n      run: |\n        ./scripts/callManifestsRollout.sh ${GITHUB_SHA::7}\n\n    - name: my-app-install token\n      id: notify-pr-bot\n      uses: getsentry/action-github-app-token@38a3ce582e170ddfe8789f509597c6944f2292a9 # v1.0.6\n      with:\n        app_id: ${{ secrets.NOTIFY_PR_BOT_APP_ID }}\n        private_key: ${{ secrets.NOTIFY_PR_BOT_PRIVATE_KEY }}\n\n    - uses: cds-snc/notification-pr-bot@main\n      env:\n        TOKEN: ${{ steps.notify-pr-bot.outputs.token }}\n\n    - name: Generate docker SBOM\n      uses: cds-snc/security-tools/.github/actions/generate-sbom@eecd7a02a0294b379411c126b61e5c29e253676a # v2.1.4\n      with:\n        docker_image: \"${{ env.DOCKER_SLUG }}:latest\"\n        dockerfile_path: \"ci/Dockerfile\"\n        sbom_name: \"notification-api\"\n        token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n    - name: Notify Slack channel if this job failed\n      if: ${{ failure() }}\n      run: |\n        json=\"{'text':'<!here> CI is failing in <https://github.com/cds-snc/notification-api/actions/runs/${GITHUB_RUN_ID}|notification-api> !'}\"\n        curl -X POST -H 'Content-type: application/json' --data \"$json\"  ${{ secrets.SLACK_WEBHOOK }}\n\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:51.965072", "created_at": "2023-09-28T21:30:23+02:00", "updated_at": "2023-09-28T21:30:23+02:00", "name": "GitHub repository metadata exporter", "path": ".github/workflows/export_github_data.yml", "contents": "name: GitHub repository metadata exporter\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"20 7 * * *\"\n\njobs:\n  export-data:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Audit DNS requests\n        uses: cds-snc/dns-proxy-action@main\n        env:\n          DNS_PROXY_FORWARDTOSENTINEL: \"true\"\n          DNS_PROXY_LOGANALYTICSWORKSPACEID: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }}\n          DNS_PROXY_LOGANALYTICSSHAREDKEY: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }}\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Export Data\n        uses: cds-snc/github-repository-metadata-exporter@main\n        with:\n          github-app-id: ${{ secrets.SRE_BOT_RO_APP_ID }}\n          github-app-installation-id: ${{ secrets.SRE_BOT_RO_INSTALLATION_ID }}\n          github-app-private-key: ${{ secrets.SRE_BOT_RO_PRIVATE_KEY }}\n          log-analytics-workspace-id: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }}\n          log-analytics-workspace-key: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }}\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:52.979786", "created_at": "2021-11-03T14:39:34+01:00", "updated_at": "2021-11-04T14:58:26+01:00", "name": "Build and push lambda image to production", "path": ".github/workflows/lambda_production.yml", "contents": "\nname: Build and push lambda image to production\n\non:\n  workflow_dispatch:\n  push:\n    branches: [main]\n\nenv:\n  REGISTRY: ${{ secrets.PRODUCTION_API_LAMBDA_ECR_ACCOUNT }}.dkr.ecr.ca-central-1.amazonaws.com/notify\n\njobs:\n  build-and-push:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        image: [\"api-lambda\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n\n      - name: Configure AWS credentials\n        id: aws-creds\n        uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0\n        with:\n          aws-access-key-id: ${{ secrets.PRODUCTION_ECR_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.PRODUCTION_ECR_SECRET_ACCESS_KEY }}\n          aws-region: ca-central-1\n\n      - name: Set Docker image tag\n        run: |\n          echo \"IMAGE_TAG=${GITHUB_SHA::7}\" >> $GITHUB_ENV\n\n      - name: Build container\n        run: |\n          docker build \\\n          --build-arg GIT_SHA=$IMAGE_TAG \\\n          -t $REGISTRY/${{ matrix.image }}:$IMAGE_TAG \\\n          . \\\n          -f ci/Dockerfile.lambda\n\n      - name: Login to ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@5a88a04c91d5c6f97aae0d9be790e64d9b1d47b7 # v1.7.1\n\n      - name: Push containers to ECR\n        run: |\n          docker push $REGISTRY/${{ matrix.image }}:$IMAGE_TAG\n\n      - name: Generate docker SBOM\n        uses: cds-snc/security-tools/.github/actions/generate-sbom@eecd7a02a0294b379411c126b61e5c29e253676a # v2.1.4\n        with:\n          docker_image: \"${{ env.REGISTRY }}/${{ matrix.image }}:${{ env.IMAGE_TAG }}\"\n          dockerfile_path: \"ci/Dockerfile.lambda\"\n          sbom_name: \"notification-api-lambda\"\n          token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n      - name: Logout of Amazon ECR\n        run: docker logout ${{ steps.login-ecr.outputs.registry }}\n\n      - name: Notify Slack channel if this job failed\n        if: ${{ failure() }}\n        run: |\n          json=\"{'text':'<!here> CI is failing in <https://github.com/cds-snc/notification-api/actions/runs/${GITHUB_RUN_ID}|notification-api> !'}\"\n          curl -X POST -H 'Content-type: application/json' --data \"$json\"  ${{ secrets.SLACK_WEBHOOK }}\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:54.061789", "created_at": "2021-11-03T14:39:34+01:00", "updated_at": "2023-02-20T21:04:35+01:00", "name": "Build, push, and deploy lambda image to staging", "path": ".github/workflows/lambda_staging.yml", "contents": "\nname: Build, push, and deploy lambda image to staging\n\non:\n  workflow_dispatch:\n  push:\n    branches: [main]\n\nenv:\n  REGISTRY: ${{ secrets.STAGING_API_LAMBDA_ECR_ACCOUNT }}.dkr.ecr.ca-central-1.amazonaws.com/notify\n\njobs:\n  build-push-and-deploy:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        image: [\"api-lambda\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n\n      - name: Configure AWS credentials\n        id: aws-creds\n        uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0\n        with:\n          aws-access-key-id: ${{ secrets.STAGING_ECR_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.STAGING_ECR_SECRET_ACCESS_KEY }}\n          aws-region: ca-central-1\n\n      - name: Build container\n        run: |\n          docker build \\\n          --build-arg GIT_SHA=${GITHUB_SHA::7} \\\n          -t $REGISTRY/${{ matrix.image }}:${GITHUB_SHA::7} \\\n          . \\\n          -f ci/Dockerfile.lambda\n\n      - name: Login to ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@5a88a04c91d5c6f97aae0d9be790e64d9b1d47b7 # v1.7.1\n\n      - name: Push containers to ECR\n        run: |\n          docker push $REGISTRY/${{ matrix.image }}:${GITHUB_SHA::7}\n\n      - name: Logout of Amazon ECR\n        run: docker logout ${{ steps.login-ecr.outputs.registry }}\n\n      - name: Deploy lambda\n        run: |\n          aws lambda update-function-code \\\n            --function-name ${{ matrix.image }} \\\n            --image-uri $REGISTRY/${{ matrix.image }}:${GITHUB_SHA::7} > /dev/null 2>&1\n\n      - name: Publish lambda version and update alias\n        run: |\n          aws lambda wait function-updated --function-name ${{ matrix.image }}\n          VERSION=\"$(aws lambda publish-version --function-name ${{ matrix.image }} | jq -r '.Version')\"\n   \n          aws lambda update-alias \\\n            --function-name ${{ matrix.image }} \\\n            --name latest \\\n            --function-version \"$VERSION\" > /dev/null 2>&1\n\n      - name: Notify Slack channel if this job failed\n        if: ${{ failure() }}\n        run: |\n          json=\"{'text':'<!here> CI is failing in <https://github.com/cds-snc/notification-api/actions/runs/${GITHUB_RUN_ID}|notification-api> !'}\"\n          curl -X POST -H 'Content-type: application/json' --data \"$json\"  ${{ secrets.SLACK_WEBHOOK }}\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:55.185149", "created_at": "2023-09-28T21:30:23+02:00", "updated_at": "2023-09-28T21:30:23+02:00", "name": "Scorecards supply-chain security", "path": ".github/workflows/ossf-scorecard.yml", "contents": "name: Scorecards supply-chain security\non:\n  workflow_dispatch:\n  schedule:\n    # Weekly on Saturdays.\n    - cron: \"30 1 * * 6\"\n  push:\n    branches:\n      - main\n\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecards analysis\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@7699f539c2b9ff754039f0e173fdf1a4e4a1e143\n        with:\n          results_file: ossf-results.json\n          results_format: json\n          publish_results: false\n\n      - name: \"Add metadata\"\n        run: |\n          full_repo=\"${{ github.repository }}\"\n          OWNER=${full_repo%/*}\n          REPO=${full_repo#*/}\n          jq -c '. + {\"metadata_owner\": \"'$OWNER'\", \"metadata_repo\": \"'$REPO'\", \"metadata_query\": \"ossf\"}' ossf-results.json > ossf-results-modified.json\n\n      - name: \"Post results to Sentinel\"\n        uses: cds-snc/sentinel-forward-data-action@main\n        with:\n          file_name: ossf-results-modified.json\n          log_type: GitHubMetadata_OSSF_Scorecard\n          log_analytics_workspace_id: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }}\n          log_analytics_workspace_key: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }}\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:56.414894", "created_at": "2021-10-28T22:38:48+02:00", "updated_at": "2021-11-03T16:52:07+01:00", "name": "Notify Performance / Load Tests", "path": ".github/workflows/performance.yml", "contents": "name: Notify Performance / Load Tests\n\non:\n  workflow_dispatch:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Install libcurl\n        run: sudo apt-get update && sudo apt-get install libssl-dev libcurl4-openssl-dev\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - name: Set up Python 3.10\n        uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0\n        with:\n          python-version: '3.10'\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Run performance tests\n        run: /bin/bash -c \"poetry install --with test && locust --headless --config tests-perf/locust/locust.conf -f tests-perf/locust/locust-notifications.py\"\n      - name: Notify Slack channel if this performance test job fails\n        if: ${{ failure() && github.ref == 'refs/heads/main' }}\n        run: |\n          json=\"{'text':'Scheduled CI Performance testing failed: <https://github.com/cds-snc/notification-api/actions/runs/${GITHUB_RUN_ID}|GitHub actions>'}\"\n          curl -X POST -H 'Content-type: application/json' --data \"$json\"  ${{ secrets.SLACK_WEBHOOK }}\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:57.542663", "created_at": "2022-02-24T14:49:50+01:00", "updated_at": "2022-02-24T14:49:50+01:00", "name": "S3 backup", "path": ".github/workflows/s3-backup.yml", "contents": "name: S3 backup\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 6 * * *\"\n\njobs:\n  s3-backup:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      with:\n        fetch-depth: 0 # retrieve all history\n\n    - name: Configure AWS credentials\n      uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2\n      with:\n        aws-access-key-id: ${{ secrets.AWS_S3_BACKUP_ACCESS_KEY_ID }}\n        aws-secret-access-key: ${{ secrets.AWS_S3_BACKUP_SECRET_ACCESS_KEY }}\n        aws-region: ca-central-1\n\n    - name: Create ZIP bundle\n      run: |\n        ZIP_FILE=`basename ${{ github.repository }}`-`date '+%Y-%m-%d'`.zip\n        zip -rq \"${ZIP_FILE}\" .\n        mkdir -p ${{ github.repository }}\n        mv \"${ZIP_FILE}\" ${{ github.repository }}\n\n    - name: Upload to S3 bucket\n      run: |\n        aws s3 sync . s3://${{ secrets.AWS_S3_BACKUP_BUCKET }} --exclude='*' --include='${{ github.repository }}/*'\n\n    - name: Notify Slack channel if this job failed\n      if: ${{ failure() }}\n      run: |\n        json='{\"text\":\"S3 backup failed in <https://github.com/${{ github.repository }}>!\"}'\n        curl -X POST -H 'Content-type: application/json' --data \"$json\"  ${{ secrets.SLACK_NOTIFY_WEBHOOK }}\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:58.551752", "created_at": "2019-12-19T19:39:47+01:00", "updated_at": "2019-12-19T19:39:47+01:00", "name": "Continuous Integration", "path": ".github/workflows/secret.yaml", "contents": "on: push\nname: Continuous Integration\njobs:\n  build:\n    name: seekret-scanning\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@main\n    - name: docker://cdssnc/seekret-github-action\n      uses: docker://cdssnc/seekret-github-action@sha256:0aee6df949373ef6df26d35f6207b56f897ddd1caa030646d7421b0afb717665\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:10:59.553161", "created_at": "2023-11-06T23:44:09+01:00", "updated_at": "2023-11-16T23:26:56+01:00", "name": "Shellcheck", "path": ".github/workflows/shellcheck.yml", "contents": "name: Shellcheck\non:\n  push:\n    paths:\n      - \"**/*.sh\"\n\njobs:\n  shellcheck:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0\n    - name: Shellcheck\n      run: |\n        .github/workflows/scripts/run-shellcheck.sh\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:11:00.615404", "created_at": "2020-02-14T21:01:54+01:00", "updated_at": "2022-05-31T15:47:10+02:00", "name": "Python tests", "path": ".github/workflows/test.yaml", "contents": "on:\n  push:\nname: Python tests\njobs:\n  test:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:11.22-bullseye@sha256:c886a3236b3d11abc302e64309186c90a69b49e53ccff23fd8c8b057b5b4bce9\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: test_notification_api\n        ports:\n        - 5432:5432\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n    - name: Install libcurl\n      run: sudo apt-get update && sudo apt-get install libssl-dev libcurl4-openssl-dev\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: Set up Python 3.10\n      uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0\n      with:\n        python-version: '3.10'\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Install poetry\n      env:\n        POETRY_VERSION: \"1.7.1\"\n      run: pip install poetry==${POETRY_VERSION} && poetry --version\n    - name: Check poetry.lock aligns with pyproject.toml\n      run: poetry check --lock\n    - name: Install requirements\n      run: poetry install --with test\n    - name: Run tests\n      run: poetry run make test\n    - name: Upload pytest logs on failure\n      if: ${{ failure() }}\n      uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3\n      with:\n        name: pytest-logs\n        path: |\n          pytest*.log\n    - name: Get python version\n      run: |\n        python_version=$(python  -V | cut -d' ' -f2)\n        echo \"python_version=${python_version}\" >> $GITHUB_ENV\n    - name: Make version file\n      run: |\n        printf '__commit_sha__ = \"09cfe03100443fb9071bba88d5c8775ff54a9ebc\"\\n__time__ = \"2022-07-25:15:11:05\"\\n' > version.py\n        cp version.py \"${{ github.workspace }}/app/\"\n    - name: Copy site-packages in workspace\n      working-directory: ${{ github.workspace }}\n      shell: bash\n      run: |\n        mkdir -p \"${{ github.workspace }}/env/\" && cp -fR $(poetry env list | poetry env info -p)/lib/python3.10/site-packages \"${{ github.workspace }}/env/\"\n    - name: Install development .env file\n      working-directory: ${{ github.workspace }}\n      shell: bash\n      run: |\n        cp -f .env.example .env\n    - name: Checks for new endpoints against AWS WAF rules\n      uses: cds-snc/notification-utils/.github/actions/waffles@52.2.2\n      with:\n        app-loc: '/github/workspace'\n        app-libs: '/github/workspace/env/site-packages'\n        flask-mod: 'application'\n        flask-prop: 'application'\n        base-url: 'https://api.staging.notification.cdssandbox.xyz'\n    - name: Notify Slack channel if this job fails\n      if: ${{ failure() && github.ref == 'refs/heads/main' }}\n      run: |\n        json=\"{'text':'Scheduled CI testing failed: <https://github.com/cds-snc/notification-api/actions/runs/${GITHUB_RUN_ID}|GitHub actions>'}\"\n        curl -X POST -H 'Content-type: application/json' --data \"$json\"  ${{ secrets.SLACK_WEBHOOK }}\n", "state": "active", "repository": "cds-snc/notification-api"}
{"mined_at": "2024-07-15T14:11:02.652431", "created_at": "2021-09-16T22:39:37+02:00", "updated_at": "2021-09-16T22:39:37+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "---\n# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n# ******** NOTE ********\n\nname: \"CodeQL\"\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches:\n      - master\n  schedule:\n    - cron: \"21 11 * * 0\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n          - python\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a\n          # config file.  By default, queries listed here will override any\n          # specified in a config file.  Prefix the list here with \"+\" to use\n          # these queries and those in the config file.  queries:\n          # ./path/to/local/query, your-org/your-repo/queries@main\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or\n      # Java).  If this step fails, then you should remove it and run the build\n      # manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following\n      # three lines and modify them (or add more) to build your code if your\n      # project uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "opencti-platform/client-python"}
{"mined_at": "2024-07-15T14:11:03.769310", "created_at": "2024-05-21T09:43:34+02:00", "updated_at": "2024-05-21T09:43:34+02:00", "name": "Check PR", "path": ".github/workflows/pr-analyse.yml", "contents": null, "state": "active", "repository": "opencti-platform/client-python"}
{"mined_at": "2024-07-15T14:11:06.141060", "created_at": "2021-04-17T13:28:44+02:00", "updated_at": "2021-12-21T12:24:29+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  schedule:\n    - cron: '20 11 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'typescript', 'python' ]\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "disabled_inactivity", "repository": "rtcharity/eahub.org"}
{"mined_at": "2024-07-15T14:11:07.269299", "created_at": "2020-12-15T19:40:24+01:00", "updated_at": "2021-05-03T19:25:39+02:00", "name": "Testing", "path": ".github/workflows/main.yml", "contents": "name: \"Testing\"\n\non: [pull_request, workflow_dispatch]\njobs:\n    pytest:\n        name: test & styles checks\n        runs-on: ubuntu-latest\n        steps:\n            - name: git clone the current branch\n              uses: actions/checkout@v2\n            - name: run pytest\n              shell: bash\n              run: docker-compose run --use-aliases web-e2e pytest\n\n", "state": "active", "repository": "rtcharity/eahub.org"}
{"mined_at": "2024-07-15T14:11:09.503633", "created_at": "2024-02-26T16:43:15+01:00", "updated_at": "2024-02-26T16:43:15+01:00", "name": "Run CPU Tests", "path": ".github/workflows/cpu_ci.yml", "contents": null, "state": "active", "repository": "eleutherai/lm-evaluation-harness"}
{"mined_at": "2024-07-15T14:11:10.519915", "created_at": "2024-02-26T16:43:15+01:00", "updated_at": "2024-02-26T16:43:15+01:00", "name": "docker_build", "path": ".github/workflows/docker_build.yml", "contents": null, "state": "active", "repository": "eleutherai/lm-evaluation-harness"}
{"mined_at": "2024-07-15T14:11:11.664467", "created_at": "2023-07-15T21:32:05+02:00", "updated_at": "2023-12-04T15:52:14+01:00", "name": "Tasks Modified", "path": ".github/workflows/new_tasks.yml", "contents": "name: Tasks Modified\n\non:\n  push:\n    branches:\n      - 'main'\n  pull_request:\n    branches:\n      - 'main'\n  workflow_dispatch:\n# comment/edit out the above to stop/change the triggers\njobs:\n  changed_files:\n    runs-on: ubuntu-latest  # windows-latest || macos-latest\n    timeout-minutes: 120\n    name: Scan for changed tasks\n    steps:\n      - name: checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2  # OR \"2\" -> To retrieve the preceding commit.\n\n      # Uses the tj-actions/changed-files action to check for changes.\n      # Outputs provided here: https://github.com/tj-actions/changed-files#outputs\n      # The `files_yaml` input optionally takes a yaml string to specify filters,\n      # and prepends the filter name to the standard output names.\n      - name: Check task folders\n        id: changed-tasks\n        uses: tj-actions/changed-files@v44.5.2\n        with:\n          # tasks checks the tasks folder and api checks the api folder for changes\n          files_yaml: |\n            tasks:\n              - lm_eval/tasks/**\n            api:\n              - lm_eval/api/**\n          write_output_files: true\n\n    # The next step is optional; the files are written to the workspace by default (above).\n    # so it's just for debugging\n      - name: Run Tests\n        if: steps.changed-tasks.outputs.tasks_any_modified == 'true' || steps.changed-tasks.outputs.api_any_modified == 'true'\n        run: |\n          echo .github/outputs/tasks_all_changed_and_modified_files.txt >> 'GITHUB_ENV'\n          echo \"One or more test file(s) has changed.\"\n          echo \"List of all the files that have changed: ${{ steps.changed-tasks.outputs.tasks_all_modified_files }}\"\n\n      - name: Set up Python 3.9\n        if: steps.changed-tasks.outputs.tasks_any_modified == 'true' || steps.changed-tasks.outputs.api_any_modified == 'true'\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n          cache: 'pip'\n          cache-dependency-path: setup.py\n      - name: Install dependencies\n        if: steps.changed-tasks.outputs.tasks_any_modified == 'true' || steps.changed-tasks.outputs.api_any_modified == 'true'\n        run: |\n            python -m pip install --upgrade pip\n            pip install -e '.[dev]' --extra-index-url https://download.pytorch.org/whl/cpu\n    #   Install optional git dependencies\n    #       pip install bleurt@https://github.com/google-research/bleurt/archive/b610120347ef22b494b6d69b4316e303f5932516.zip#egg=bleurt\n    #       if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n      - name: Test with pytest\n        # if new tasks are added, run tests on them\n        if: steps.changed-tasks.outputs.tasks_any_modified == 'true'\n        run: python -m pytest tests/test_tasks.py -s -vv\n        # if api is modified, run tests on it\n      - name: Test more tasks with pytest\n        env:\n          API: true\n        if: steps.changed-tasks.outputs.api_any_modified == 'true'\n        run: python -m pytest tests/test_tasks.py -s -vv\n", "state": "active", "repository": "eleutherai/lm-evaluation-harness"}
{"mined_at": "2024-07-15T14:11:12.740074", "created_at": "2024-01-31T15:46:54+01:00", "updated_at": "2024-01-31T15:46:54+01:00", "name": "Publish Python distribution to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Publish Python distribution to PyPI\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build:\n    name: Build distribution\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n\n    - name: Install pypa/build\n      run: >-\n        python3 -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: python3 -m build\n    - name: Store the distribution packages\n      uses: actions/upload-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n\n  publish-to-pypi:\n    name: >-\n      Publish Python distribution to PyPI\n    if: startsWith(github.ref, 'refs/tags/')  # only publish to PyPI on tag pushes\n    needs:\n    - build\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/lm_eval\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-to-testpypi:\n    name: Publish Python distribution to TestPyPI\n    needs:\n    - build\n    runs-on: ubuntu-latest\n\n    environment:\n      name: testpypi\n      url: https://test.pypi.org/p/lm_eval\n\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution to TestPyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "eleutherai/lm-evaluation-harness"}
{"mined_at": "2024-07-15T14:11:13.822326", "created_at": "2022-05-03T03:11:14+02:00", "updated_at": "2023-08-17T19:01:36+02:00", "name": ".github/workflows/pull_request.yml", "path": ".github/workflows/pull_request.yml", "contents": null, "state": "active", "repository": "eleutherai/lm-evaluation-harness"}
{"mined_at": "2024-07-15T14:11:14.924746", "created_at": "2021-02-01T17:23:31+01:00", "updated_at": "2023-07-14T17:40:06+02:00", "name": ".github/workflows/python-app.yml", "path": ".github/workflows/python-app.yml", "contents": null, "state": "active", "repository": "eleutherai/lm-evaluation-harness"}
{"mined_at": "2024-07-15T14:11:15.965079", "created_at": "2023-07-17T00:54:50+02:00", "updated_at": "2024-02-20T19:24:19+01:00", "name": "Unit Tests", "path": ".github/workflows/unit_tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n# just comment out unwanted steps to turn off the test.\nname: Unit Tests\n\non:\n  push:\n    branches:\n      - 'main'\n  pull_request:\n    branches:\n      - 'main'\n  workflow_dispatch:\n# Jobs run concurrently and steps run sequentially within a job.\n# jobs: linter and cpu_tests. Add more jobs/steps as required.\njobs:\n  linter:\n    name: Linters\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n        cache: pip\n        cache-dependency-path: pyproject.toml\n    - name: Pre-Commit\n      env:\n        SKIP: \"no-commit-to-branch,mypy\"\n\n      uses: pre-commit/action@v3.0.1\n#       # mypy turned off for now\n#    - name: Lint with mypy\n#      run: mypy . --ignore-missing-imports --check-untyped-defs --explicit-package-bases --warn-unreachable\n# Job 2\n  testcpu:\n    name: CPU Tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n    timeout-minutes: 30\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: pyproject.toml\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e '.[dev,anthropic,sentencepiece,optimum,deepsparse,sparseml]' --extra-index-url https://download.pytorch.org/whl/cpu\n#         Install optional git dependencies\n#                pip install bleurt@https://github.com/google-research/bleurt/archive/b610120347ef22b494b6d69b4316e303f5932516.zip#egg=bleurt\n#        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Test with pytest\n      run: python -m pytest --showlocals -s -vv -n=auto\n    - name: Archive artifacts\n      uses: actions/upload-artifact@v3\n      with:\n        name: output_results\n        path: |\n          test_logs/*\n", "state": "active", "repository": "eleutherai/lm-evaluation-harness"}
{"mined_at": "2024-07-15T14:11:17.962676", "created_at": "2023-08-09T23:47:52+02:00", "updated_at": "2023-08-09T23:47:52+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googleapis/python-aiplatform"}
{"mined_at": "2024-07-15T14:11:20.147315", "created_at": "2020-12-15T18:46:38+01:00", "updated_at": "2020-12-15T18:46:38+01:00", "name": "CI", "path": ".github/workflows/python-package.yml", "contents": "# Workflow is based on the Astropy GitHub actions workflow, ci_workflows.yml\nname: CI\n\non:\n    push:\n        branches:\n            - '*'\n        tags:\n            - '*'\n    pull_request:\n\njobs:\n    tests:\n        name: Unit tests\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: true\n            matrix:\n                os: [ubuntu-latest]\n                python-version: ['3.9', '3.10']  # fuji+guadalupe, not ready for 3.11 yet?\n                astropy-version: ['==5.0', '<6']  # fuji+guadalupe, latest\n                fitsio-version: ['==1.1.6', '<2']  # fuji+guadalupe, latest\n                numpy-version: ['<1.23']  # to keep asscalar, used by astropy\n        env:\n            DESIUTIL_VERSION: 3.4.2\n            DESIMODEL_DATA: branches/test-0.18\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: |\n                python -m pip install --upgrade pip setuptools wheel\n                python -m pip install pytest\n                python -m pip install git+https://github.com/desihub/desiutil.git@${DESIUTIL_VERSION}#egg=desiutil\n                python -m pip install -r requirements.txt\n                python -m pip install -U 'numpy${{ matrix.numpy-version }}'\n                python -m pip install -U 'astropy${{ matrix.astropy-version }}'\n                python -m pip cache remove fitsio\n                python -m pip install --no-deps --force-reinstall --ignore-installed 'fitsio${{ matrix.fitsio-version }}'\n                svn export https://desi.lbl.gov/svn/code/desimodel/${DESIMODEL_DATA}/data\n            - name: Run the test\n              run: DESIMODEL=$(pwd) pytest\n\n    coverage:\n        name: Test coverage\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: true\n            matrix:\n                os: [ubuntu-latest]\n                python-version: ['3.10'] # latest\n                astropy-version: ['<6']  # latest\n                fitsio-version: ['<2']  # latest\n                numpy-version: ['<1.23']  # to keep asscalar, used by astropy\n        env:\n            DESIUTIL_VERSION: 3.4.2\n            DESIMODEL_DATA: branches/test-0.18\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: |\n                python -m pip install --upgrade pip setuptools wheel\n                python -m pip install pytest pytest-cov coveralls\n                python -m pip install git+https://github.com/desihub/desiutil.git@${DESIUTIL_VERSION}#egg=desiutil\n                python -m pip install -r requirements.txt\n                python -m pip install specutils\n                python -m pip install -U 'numpy${{ matrix.numpy-version }}'\n                python -m pip install -U 'astropy${{ matrix.astropy-version }}'\n                python -m pip cache remove fitsio\n                python -m pip install --no-deps --force-reinstall --ignore-installed 'fitsio${{ matrix.fitsio-version }}'\n                svn export https://desi.lbl.gov/svn/code/desimodel/${DESIMODEL_DATA}/data\n            - name: Run the test with coverage\n              run: DESIMODEL=$(pwd) pytest --cov\n            - name: Coveralls\n              env:\n                COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n                GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n              run: coveralls\n\n    desilite:\n        name: Test minimal env\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: true\n            matrix:\n                os: [ubuntu-latest]\n                python-version: ['3.10']\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: |\n                python -m pip install --upgrade pip setuptools wheel\n                python -m pip install astropy scipy numba \"numpy<2.0\"\n                python -m pip install pytest\n                python -m pip cache remove fitsio\n                python -m pip install --no-deps --force-reinstall --ignore-installed fitsio\n                python -m pip install git+https://github.com/desihub/desiutil.git\n                python -m pip install git+https://github.com/desihub/desitarget.git\n            - name: Run just the lite env test\n              run: pytest py/desispec/test/test_lite.py\n\n    docs:\n        name: Doc test\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest]\n                python-version: ['3.9']\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: python -m pip install --upgrade pip setuptools wheel Sphinx\n              # run: python -m pip install --upgrade pip wheel docutils\\<0.18 Sphinx==3.1.2\n            - name: Test the documentation\n              run: sphinx-build -W --keep-going -b html doc doc/_build/html\n\n    api:\n        name: API doc completeness test\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest]\n                python-version: ['3.9']\n        env:\n            DESIUTIL_VERSION: 3.3.0\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: |\n                python -m pip install --upgrade pip setuptools wheel\n                python -m pip install git+https://github.com/desihub/desiutil.git@${DESIUTIL_VERSION}#egg=desiutil\n            - name: Generate api.rst\n              run: desi_api_file --api ./api.rst desispec\n            - name: Compare generated api.rst to checked-in version\n              run: diff --ignore-space-change --ignore-blank-lines ./api.rst ./doc/api.rst\n\n    style:\n        name: Style check\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest]\n                python-version: ['3.9']\n\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v2\n              with:\n                fetch-depth: 0\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                python-version: ${{ matrix.python-version }}\n            - name: Install Python dependencies\n              run: python -m pip install --upgrade pip setuptools wheel pycodestyle\n            - name: Test the style; failures are allowed\n              # This is equivalent to an allowed falure.\n              continue-on-error: true\n              run: pycodestyle --count py/desispec\n\n\n# SAVE\n", "state": "active", "repository": "desihub/desispec"}
{"mined_at": "2024-07-15T14:11:24.316237", "created_at": "2020-11-25T23:47:15+01:00", "updated_at": "2024-05-02T18:28:47+02:00", "name": "CI_WISDEM", "path": ".github/workflows/CI_WISDEM.yml", "contents": "name: CI_WISDEM\n\n# We run CI on push commits and pull requests on all branches\non: [push, pull_request]\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  build_conda:\n    name: Conda Build-Test (${{ matrix.os }} Python ${{ matrix.python-version }})\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n        run:\n            shell: bash -el {0}\n\n    strategy:\n      fail-fast: False\n      matrix:\n        os: [ubuntu-latest, macos-13, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: checkout repository\n        uses: actions/checkout@v4\n\n      - name: Install conda/mamba\n        uses: conda-incubator/setup-miniconda@v2\n        # https://github.com/marketplace/actions/setup-miniconda\n        with:\n          # To use mamba, uncomment here, comment out the miniforge line\n          #mamba-version: \"*\"\n          miniforge-version: \"latest\"\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n          environment-file: environment.yml\n          activate-environment: test\n          auto-activate-base: false\n\n      # Install dependencies of WEIS specific to ubuntu\n      - name: Add dependencies ubuntu specific\n        if: false == contains( matrix.os, 'windows')\n        run: |\n          conda install -y petsc4py gfortran\n\n      # Install dependencies of WISDEM specific to windows\n      - name: Add dependencies windows specific\n        if: contains( matrix.os, 'windows')\n        run: |\n          conda install -y m2w64-toolchain libpython\n\n      - name: Debug config\n        run: |\n          conda list\n          which -a gfortran\n          which pip\n\n      - name: Install WISDEM with setup\n        run: |\n          pip install --no-build-isolation --no-deps -e . -v\n    \n      # Debugging session\n      #- name: Setup tmate session\n      #  uses: mxschmitt/action-tmate@v3\n\n      - name: Run all tests\n        if: contains( matrix.os, 'ubuntu')\n        run: |\n          pytest -p no:warnings --disable-warnings --cov=wisdem\n\n      - name: Limited test for non Linux\n        if: false == contains( matrix.os, 'ubuntu')\n        run: |\n          cd wisdem/test/test_gluecode\n          pytest  -p no:warnings --disable-warnings test_g*\n\n      # Run coveralls\n      - name: Run coveralls\n        if: contains( matrix.os, 'ubuntu') && contains( matrix.python-version, '3.11')\n        #uses: coverallsapp/github-action@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          coveralls --service=github\n          \n  build_pip:\n    name: Pip Build-Test (${{ matrix.os }} Python ${{ matrix.python-version }})\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n        run:\n            shell: bash -el {0}\n\n    strategy:\n      fail-fast: False\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13] #mac-13 intel, mac-latest is arm\n        python-version: [\"3.11\"]\n\n    steps:\n      - name: Setup GNU Fortran\n        if: false == contains( matrix.os, 'windows')\n        uses: awvwgk/setup-fortran@v1\n\n      - name: Install compiler\n        if: false == contains( matrix.os, 'windows')\n        id: install_cc\n        uses: rlalik/setup-cpp-compiler@master\n        with:\n          compiler: clang\n          \n      - name: Install mingw-w64 on Windows\n        if: contains( matrix.os, 'windows')\n        uses: msys2/setup-msys2@v2\n        with:\n          path-type: inherit\n          install: |\n            mingw-w64-x86_64-gcc\n            mingw-w64-x86_64-gcc-fortran\n            \n      - name: checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        id: cp\n        with:\n            python-version: ${{ matrix.python-version }}\n            update-environment: true\n\n      - name: Set compilers\n        if: false == contains( matrix.os, 'windows')\n        run: |\n            echo \"CC=${{ steps.install_cc.outputs.cc }}\" >> $GITHUB_ENV\n            echo \"CXX=${{ steps.install_cc.outputs.cxx }}\" >> $GITHUB_ENV\n\n      - name: Install WISDEM with setup\n        env:\n            MESON_ARGS: \"-Dpython_target=${{ steps.cp.outputs.python-path }}\"\n        run: |\n          '${{ steps.cp.outputs.python-path }}' -m pip install --upgrade pip install pytest numpy\n          '${{ steps.cp.outputs.python-path }}' -m pip install -v .\n\n      - name: Limited test\n        run: |\n          cd wisdem/test/test_gluecode\n          pytest -p no:warnings --disable-warnings test_g*\n", "state": "active", "repository": "wisdem/wisdem"}
{"mined_at": "2024-07-15T14:11:25.332253", "created_at": "2023-04-19T12:22:12+02:00", "updated_at": "2023-04-19T12:22:12+02:00", "name": "Build and upload to PyPI", "path": ".github/workflows/Publish_WISDEM.yml", "contents": "name: Build and upload to PyPI\n# https://github.com/pypa/cibuildwheel/blob/main/examples/github-deploy.yml\n# Best comparable example: https://github.com/pdfo/pdfo\n\n# Build on every pull request (no need for every push) and release change:\non: [pull_request, release]\n\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13, macos-14]\n\n    steps:\n      - name: Setup GNU Fortran\n        if: false == contains( matrix.os, 'windows')\n        uses: awvwgk/setup-fortran@v1\n\n      - name: Install compiler\n        if: false == contains( matrix.os, 'windows')\n        id: install_cc\n        uses: rlalik/setup-cpp-compiler@master\n        with:\n          compiler: clang\n          \n      - name: Install mingw-w64 on Windows\n        if: contains( matrix.os, 'windows')\n        uses: msys2/setup-msys2@v2\n        with:\n          path-type: inherit\n          install: |\n            mingw-w64-x86_64-gcc\n            mingw-w64-x86_64-gcc-fortran\n            \n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Build wheels mac and linux\n        if: false == contains( matrix.os, 'windows')\n        uses: pypa/cibuildwheel@v2.17.0\n        env:\n          CC: ${{ steps.install_cc.outputs.cc }}\n          CXX: ${{ steps.install_cc.outputs.cxx }}\n\n      - name: Build wheels windows\n        if: contains( matrix.os, 'windows')\n        uses: pypa/cibuildwheel@v2.17.0\n          \n      - uses: actions/upload-artifact@v4\n        with:\n          name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}\n          path: ./wheelhouse/*.whl\n          \n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Build sdist\n        run: pipx run build --sdist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: cibw-sdist\n          path: dist/*.tar.gz\n\n  upload_pypi:\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    environment: pypi\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    # upload to PyPI on every tag starting with 'v'\n    #if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')\n    # alternatively, to publish when a GitHub Release is created, use the following rule:\n    if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          # unpacks all CIBW artifacts into dist/\n          pattern: cibw-*\n          path: dist\n          merge-multiple: true\n\n      - name: Upload to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        #with:\n        #  user: __token__\n        #  password: ${{ secrets.pypi_password }}\n        #  # To test: repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "wisdem/wisdem"}
{"mined_at": "2024-07-15T14:11:27.432088", "created_at": "2022-11-08T10:50:49+01:00", "updated_at": "2023-03-17T20:09:27+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# Copyright 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions\n# are met:\n#  * Redistributions of source code must retain the above copyright\n#    notice, this list of conditions and the following disclaimer.\n#  * Redistributions in binary form must reproduce the above copyright\n#    notice, this list of conditions and the following disclaimer in the\n#    documentation and/or other materials provided with the distribution.\n#  * Neither the name of NVIDIA CORPORATION nor the names of its\n#    contributors may be used to endorse or promote products derived\n#    from this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY\n# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR\n# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nname: \"CodeQL\"\n\non:\n  pull_request:\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to:\n        # https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        queries: +security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # Command-line programs to run using the OS shell.\n    # See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "triton-inference-server/server"}
{"mined_at": "2024-07-15T14:11:28.568762", "created_at": "2023-07-04T21:18:01+02:00", "updated_at": "2023-07-20T22:14:28+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yaml", "contents": "# Copyright 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions\n# are met:\n#  * Redistributions of source code must retain the above copyright\n#    notice, this list of conditions and the following disclaimer.\n#  * Redistributions in binary form must reproduce the above copyright\n#    notice, this list of conditions and the following disclaimer in the\n#    documentation and/or other materials provided with the distribution.\n#  * Neither the name of NVIDIA CORPORATION nor the names of its\n#    contributors may be used to endorse or promote products derived\n#    from this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY\n# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR\n# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nname: pre-commit\n\non:\n  pull_request:\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v3\n    - uses: pre-commit/action@v3.0.0\n\n", "state": "active", "repository": "triton-inference-server/server"}
{"mined_at": "2024-07-15T14:11:29.678366", "created_at": "2023-12-15T19:48:44+01:00", "updated_at": "2023-12-15T19:48:44+01:00", "name": ".github/workflows/security-3rd-party-pr-checks.yml", "path": ".github/workflows/security-3rd-party-pr-checks.yml", "contents": null, "state": "active", "repository": "triton-inference-server/server"}
{"mined_at": "2024-07-15T14:11:30.925725", "created_at": "2024-05-18T01:00:04+02:00", "updated_at": "2024-05-18T01:00:04+02:00", "name": ".github/workflows/trigger_ci.yml", "path": ".github/workflows/trigger_ci.yml", "contents": null, "state": "active", "repository": "triton-inference-server/server"}
{"mined_at": "2024-07-15T14:11:32.027282", "created_at": "2023-05-10T01:01:10+02:00", "updated_at": "2023-05-10T01:01:10+02:00", "name": "Typo Checker", "path": ".github/workflows/typos.yml", "contents": null, "state": "active", "repository": "triton-inference-server/server"}
{"mined_at": "2024-07-15T14:11:34.097410", "created_at": "2020-12-27T23:03:32+01:00", "updated_at": "2023-03-19T02:33:03+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n  push:\n    branches:\n      - develop\n      - main\n\njobs:\n  main:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: \"Test: Python 3.11\"\n            python: \"3.11\"\n            tox: py311\n          - name: \"Test: Python 3.12\"\n            python: \"3.12\"\n            tox: py312\n            coverage: true\n          - name: \"Lint: pyright\"\n            python: \"3.12\"\n            tox: pyright\n          - name: \"Lint: ruff lint\"\n            python: \"3.12\"\n            tox: ruff-lint\n          - name: \"Lint: ruff format\"\n            python: \"3.12\"\n            tox: ruff-format\n          - name: \"Docs\"\n            python: \"3.12\"\n            tox: docs\n\n    name: ${{ matrix.name }}\n    runs-on: ubuntu-22.04\n    container: ghcr.io/mopidy/ci:latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Fix home dir permissions to enable pip caching\n        run: chown -R root /github/home\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: pip\n      - run: python -m pip install tox\n      - run: python -m tox -e ${{ matrix.tox }}\n        if: ${{ ! matrix.coverage }}\n      - run: python -m tox -e ${{ matrix.tox }} -- --cov-report=xml\n        if: ${{ matrix.coverage }}\n      - uses: codecov/codecov-action@v4\n        if: ${{ matrix.coverage }}\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "mopidy/mopidy"}
{"mined_at": "2024-07-15T14:11:35.231492", "created_at": "2020-12-13T00:01:20+01:00", "updated_at": "2020-12-13T00:01:20+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  release:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: \"Install dependencies\"\n        run: python3 -m pip install build\n      - name: \"Build package\"\n        run: python3 -m build\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "mopidy/mopidy"}
{"mined_at": "2024-07-15T14:11:36.431934", "created_at": "2020-12-30T01:49:13+01:00", "updated_at": "2020-12-30T01:49:13+01:00", "name": "Ubuntu devel", "path": ".github/workflows/ubuntu-devel.yml", "contents": "name: \"Ubuntu devel\"\n\non:\n  schedule:\n    # Every Friday at 18:20 UTC, so we can fix the issue over the weekend\n    - cron: \"20 18 * * 5\"\n  workflow_dispatch:\n\njobs:\n  main:\n    name: \"Test: Python 3.12\"\n    runs-on: ubuntu-22.04\n\n    # The container should be automatically updated from time to time.\n    container: ubuntu:devel\n\n    steps:\n      - name: Install dependencies\n        run: |\n          apt-get update\n          DEBIAN_FRONTEND=noninteractive apt-get install -y \\\n            git \\\n            python3 \\\n            tox \\\n            gstreamer1.0-plugins-bad \\\n            gstreamer1.0-plugins-good \\\n            gstreamer1.0-plugins-ugly \\\n            python3-gst-1.0 \\\n            libcairo2-dev \\\n            libgirepository1.0-dev \\\n            libglib2.0-dev\n      - uses: actions/checkout@v4\n      - run: tox -e py312\n", "state": "active", "repository": "mopidy/mopidy"}
{"mined_at": "2024-07-15T14:11:38.494922", "created_at": "2022-12-15T03:37:04+01:00", "updated_at": "2022-12-16T17:12:35+01:00", "name": "Add label automatically", "path": ".github/workflows/labeler.yml", "contents": "name: \"Add label automatically\"\non:\n- pull_request_target\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v4\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "microsoft/qlib"}
{"mined_at": "2024-07-15T14:11:39.628628", "created_at": "2020-09-30T12:19:51+02:00", "updated_at": "2020-09-30T12:19:51+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy_with_bdist_wheel:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest, macos-11]\n        # FIXME:  macos-latest will raise error now.\n        # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129\n        python-version: [3.7, 3.8]\n\n    steps:\n    - uses: actions/checkout@v2\n    #  This is because on macos systems you can install pyqlib using\n    # `pip install pyqlib` installs, it does not recognize the\n    # `pyqlib-<version>-cp38-cp38-macosx_11_0_x86_64.whl` and `pyqlib-<veresion>-cp38-cp37m-macosx_11_0_x86_64.whl`.\n    # So we limit the version of python, in order to generate a version of qlib that is usable for macos: `pyqlib-<veresion>-cp38-cp37m \n    # `pyqlib-<version>-cp38-cp38-macosx_10_15_x86_64.whl` and `pyqlib-<veresion>-cp38-cp37m-macosx_10_15_x86_64.whl`.\n    # Python 3.7.16, 3.8.16  can build macosx_10_15.  But  Python 3.7.17, 3.8.17  can build macosx_11_0\n    - name: Set up Python ${{ matrix.python-version }}\n      if: matrix.os == 'macos-11' && matrix.python-version == '3.7'\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.7.16\"\n    - name: Set up Python ${{ matrix.python-version }}\n      if: matrix.os == 'macos-11' && matrix.python-version == '3.8'\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8.16\"\n    - name: Set up Python ${{ matrix.python-version }}\n      if: matrix.os != 'macos-11'\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build wheel on ${{ matrix.os }}\n      run: |\n        pip install numpy\n        pip install cython\n        python setup.py bdist_wheel\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n      run: |\n        twine upload dist/*\n\n  deploy_with_manylinux:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Build wheel on Linux\n      uses: RalfG/python-wheels-manylinux-build@v0.3.1-manylinux2010_x86_64\n      with:\n        # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129\n        python-versions: 'cp37-cp37m cp38-cp38'\n        build-requirements: 'numpy cython'\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.7\n    - name: Install dependencies\n      run: |\n        pip install twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n      run: |\n        twine upload dist/pyqlib-*-manylinux*.whl\n", "state": "active", "repository": "microsoft/qlib"}
{"mined_at": "2024-07-15T14:11:40.754063", "created_at": "2020-09-30T12:19:51+02:00", "updated_at": "2020-09-30T15:51:08+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write\n      pull-requests: read\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next Release notes as Pull Requests are merged into \"master\"\n      - uses: release-drafter/release-drafter@v5.11.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "microsoft/qlib"}
{"mined_at": "2024-07-15T14:11:41.873117", "created_at": "2021-05-10T15:15:38+02:00", "updated_at": "2021-05-10T15:15:38+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: \"0 0/3 * * *\"\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue is stale because it has been open for three months with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days'\n        stale-pr-message: 'This PR is stale because it has been open for a year with no activity. Remove the stale label or comment on the PR otherwise this will be closed in 5 days'\n        stale-issue-label: 'stale'\n        stale-pr-label: 'stale'\n        days-before-stale: 90\n        days-before-pr-stale: 365\n        days-before-close: 5\n        operations-per-run: 100\n        exempt-issue-labels: 'bug,enhancement'\n        remove-stale-when-updated: true\n", "state": "active", "repository": "microsoft/qlib"}
{"mined_at": "2024-07-15T14:11:42.958270", "created_at": "2022-06-15T14:33:39+02:00", "updated_at": "2022-06-28T04:17:33+02:00", "name": "Test qlib from pip", "path": ".github/workflows/test_qlib_from_pip.yml", "contents": "name: Test qlib from pip\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n    timeout-minutes: 120\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # Since macos-latest changed from 12.7.4 to 14.4.1,\n        # the minimum python version that matches a 14.4.1 version of macos is 3.10,\n        # so we limit the macos version to macos-12.\n        os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-12]\n        # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129\n        python-version: [3.7, 3.8]\n\n    steps:\n    - name: Test qlib from pip\n      uses: actions/checkout@v3\n\n    # Since version 3.7 of python for MacOS is installed in CI, version 3.7.17, this version causes \"_bz not found error\".\n    # So we make the version number of python 3.7 for MacOS more specific.\n    # refs: https://github.com/actions/setup-python/issues/682\n    - name: Set up Python ${{ matrix.python-version }}\n      if: (matrix.os == 'macos-latest' && matrix.python-version == '3.7') || (matrix.os == 'macos-11' && matrix.python-version == '3.7')\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.7.16\"\n\n    - name: Set up Python ${{ matrix.python-version }}\n      if: (matrix.os != 'macos-latest' || matrix.python-version != '3.7') && (matrix.os != 'macos-11' || matrix.python-version != '3.7')\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Update pip to the latest version\n      run: |\n        python -m pip install --upgrade pip\n\n    - name: Qlib installation test\n      run: |\n        # 2024-05-30 scs has released a new version: 3.2.4.post2,\n        # This will cause the CI to fail, so we have limited the version of scs for now.\n        python -m pip install \"scs<=3.2.4\"\n        python -m pip install pyqlib\n\n    - name: Install Lightgbm for MacOS\n      if: ${{ matrix.os == 'macos-11' || matrix.os == 'macos-latest' }}\n      run: |\n        /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Microsoft/qlib/main/.github/brew_install.sh)\"\n        HOMEBREW_NO_AUTO_UPDATE=1 brew install lightgbm\n        # FIX MacOS error: Segmentation fault\n        # reference: https://github.com/microsoft/LightGBM/issues/4229\n        wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb\n        brew unlink libomp\n        brew install libomp.rb\n\n    - name: Downloads dependencies data\n      run: |\n        cd ..\n        python -m qlib.run.get_data qlib_data --target_dir ~/.qlib/qlib_data/cn_data --region cn\n        cd qlib\n\n    - name: Test workflow by config\n      # On macos-11 system, it will lead to \"Segmentation fault: 11\" error,\n      # which may be caused by the excessive memory overhead of macos-11 system, so we disable macos-11 temporarily here.\n      if: ${{ matrix.os != 'macos-11' }}\n      run: |\n        qrun examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml\n", "state": "active", "repository": "microsoft/qlib"}
{"mined_at": "2024-07-15T14:11:44.119486", "created_at": "2022-06-22T16:39:35+02:00", "updated_at": "2022-06-28T04:17:34+02:00", "name": "Test qlib from source", "path": ".github/workflows/test_qlib_from_source.yml", "contents": "name: Test qlib from source\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n    timeout-minutes: 180\n    # we may retry for 3 times for `Unit tests with Pytest`\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # Since macos-latest changed from 12.7.4 to 14.4.1,\n        # the minimum python version that matches a 14.4.1 version of macos is 3.10,\n        # so we limit the macos version to macos-12.\n        os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-12]\n        # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129\n        python-version: [3.7, 3.8]\n\n    steps:\n    - name: Test qlib from source\n      uses: actions/checkout@v3\n\n    # Since version 3.7 of python for MacOS is installed in CI, version 3.7.17, this version causes \"_bz not found error\".\n    # So we make the version number of python 3.7 for MacOS more specific.\n    # refs: https://github.com/actions/setup-python/issues/682\n    - name: Set up Python ${{ matrix.python-version }}\n      if: (matrix.os == 'macos-latest' && matrix.python-version == '3.7') || (matrix.os == 'macos-11' && matrix.python-version == '3.7')\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.7.16\"\n\n    - name: Set up Python ${{ matrix.python-version }}\n      if: (matrix.os != 'macos-latest' || matrix.python-version != '3.7') && (matrix.os != 'macos-11' || matrix.python-version != '3.7')\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Update pip to the latest version\n      run: |\n        python -m pip install --upgrade pip\n\n    - name: Installing pytorch for macos\n      if: ${{ matrix.os == 'macos-11' || matrix.os == 'macos-latest' }}\n      run: |\n        python -m pip install torch torchvision torchaudio\n\n    - name: Installing pytorch for ubuntu\n      if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-22.04' }}\n      run: |\n        python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu\n\n    - name: Installing pytorch for windows\n      if: ${{ matrix.os == 'windows-latest' }}\n      run: |\n        python -m pip install torch torchvision torchaudio\n\n    - name: Set up Python tools\n      run: |\n        python -m pip install --upgrade cython\n        python -m pip install -e .[dev]\n\n    - name: Lint with Black\n      # Python 3.7 will use a black with low level. So we use python with higher version for black check\n      if: (matrix.python-version != '3.7')\n      run: |\n        pip install -U black  # follow the latest version of black, previous Qlib dependency will downgrade black\n        black . -l 120 --check --diff\n\n    - name: Make html with sphinx\n      # Since read the docs builds on ubuntu 22.04, we only need to test that the build passes on ubuntu 22.04.\n      if: ${{ matrix.os == 'ubuntu-22.04' }}\n      run: |\n        cd docs\n        sphinx-build -W --keep-going -b html . _build\n        cd ..\n\n    # Check Qlib with pylint\n    # TODO: These problems we will solve in the future. Important among them are: W0221, W0223, W0237, E1102\n      # C0103: invalid-name\n      # C0209: consider-using-f-string\n      # R0402: consider-using-from-import\n      # R1705: no-else-return\n      # R1710: inconsistent-return-statements\n      # R1725: super-with-arguments\n      # R1735: use-dict-literal\n      # W0102: dangerous-default-value\n      # W0212: protected-access\n      # W0221: arguments-differ\n      # W0223: abstract-method\n      # W0231: super-init-not-called\n      # W0237: arguments-renamed\n      # W0612: unused-variable\n      # W0621: redefined-outer-name\n      # W0622: redefined-builtin\n      # FIXME: specify exception type\n      # W0703: broad-except\n      # W1309: f-string-without-interpolation\n      # E1102: not-callable\n      # E1136: unsubscriptable-object\n    # References for parameters: https://github.com/PyCQA/pylint/issues/4577#issuecomment-1000245962\n    # We use sys.setrecursionlimit(2000) to make the recursion depth larger to ensure that pylint works properly (the default recursion depth is 1000).\n    - name: Check Qlib with pylint\n      run: |\n        pylint --disable=C0104,C0114,C0115,C0116,C0301,C0302,C0411,C0413,C1802,R0401,R0801,R0902,R0903,R0911,R0912,R0913,R0914,R0915,R1720,W0105,W0123,W0201,W0511,W0613,W1113,W1514,E0401,E1121,C0103,C0209,R0402,R1705,R1710,R1725,R1735,W0102,W0212,W0221,W0223,W0231,W0237,W0612,W0621,W0622,W0703,W1309,E1102,E1136 --const-rgx='[a-z_][a-z0-9_]{2,30}$' qlib --init-hook \"import astroid; astroid.context.InferenceContext.max_inferred = 500; import sys; sys.setrecursionlimit(2000)\"\n        pylint --disable=C0104,C0114,C0115,C0116,C0301,C0302,C0411,C0413,C1802,R0401,R0801,R0902,R0903,R0911,R0912,R0913,R0914,R0915,R1720,W0105,W0123,W0201,W0511,W0613,W1113,W1514,E0401,E1121,C0103,C0209,R0402,R1705,R1710,R1725,R1735,W0102,W0212,W0221,W0223,W0231,W0237,W0246,W0612,W0621,W0622,W0703,W1309,E1102,E1136 --const-rgx='[a-z_][a-z0-9_]{2,30}$' scripts --init-hook \"import astroid; astroid.context.InferenceContext.max_inferred = 500; import sys; sys.setrecursionlimit(2000)\"\n\n    # The following flake8 error codes were ignored:\n      # E501 line too long\n        # Description: We have used black to limit the length of each line to 120.\n      # F541 f-string is missing placeholders\n        # Description: The same thing is done when using pylint for detection.\n      # E266 too many leading '#' for block comment\n        # Description: To make the code more readable, a lot of \"#\" is used.\n        # This error code appears centrally in:\n          # qlib/backtest/executor.py\n          # qlib/data/ops.py\n          # qlib/utils/__init__.py\n      # E402 module level import not at top of file\n        # Description: There are times when module level import is not available at the top of the file.\n      # W503 line break before binary operator\n        # Description: Since black formats the length of each line of code, it has to perform a line break when a line of arithmetic is too long.\n      # E731 do not assign a lambda expression, use a def\n        # Description: Restricts the use of lambda expressions, but at some point lambda expressions are required.\n      # E203 whitespace before ':'\n        # Description: If there is whitespace before \":\", it cannot pass the black check.\n    - name: Check Qlib with flake8\n      run: |\n        flake8 --ignore=E501,F541,E266,E402,W503,E731,E203 --per-file-ignores=\"__init__.py:F401,F403\" qlib\n\n    # https://github.com/python/mypy/issues/10600\n    - name: Check Qlib with mypy\n      run: |\n        mypy qlib --install-types --non-interactive || true\n        mypy qlib --verbose\n    \n    - name: Check Qlib ipynb with nbqa\n      run: |\n        nbqa black . -l 120 --check --diff\n        nbqa pylint . --disable=C0104,C0114,C0115,C0116,C0301,C0302,C0411,C0413,C1802,R0401,R0801,R0902,R0903,R0911,R0912,R0913,R0914,R0915,R1720,W0105,W0123,W0201,W0511,W0613,W1113,W1514,E0401,E1121,C0103,C0209,R0402,R1705,R1710,R1725,R1735,W0102,W0212,W0221,W0223,W0231,W0237,W0612,W0621,W0622,W0703,W1309,E1102,E1136,W0719,W0104,W0404,C0412,W0611,C0410 --const-rgx='[a-z_][a-z0-9_]{2,30}$'\n\n    - name: Test data downloads\n      run: |\n        python scripts/get_data.py qlib_data --name qlib_data_simple --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn\n        python scripts/get_data.py download_data --file_name rl_data.zip --target_dir tests/.data/rl\n\n    - name: Install Lightgbm for MacOS\n      if: ${{ matrix.os == 'macos-11' || matrix.os == 'macos-latest' }}\n      run: |\n        /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Microsoft/qlib/main/.github/brew_install.sh)\"\n        HOMEBREW_NO_AUTO_UPDATE=1 brew install lightgbm\n        # FIX MacOS error: Segmentation fault\n        # reference: https://github.com/microsoft/LightGBM/issues/4229\n        wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb\n        brew unlink libomp\n        brew install libomp.rb\n\n    # Run after data downloads\n    - name: Check Qlib ipynb with nbconvert\n      # Running the nbconvert check on a macos-11 system results in a \"Kernel died\" error, so we've temporarily disabled macos-11 here.\n      if: ${{ matrix.os != 'macos-11' }}\n      run: |\n        # add more ipynb files in future\n        jupyter nbconvert --to notebook --execute examples/workflow_by_code.ipynb\n\n    - name: Test workflow by config (install from source)\n      # On macos-11 system, it will lead to \"Segmentation fault: 11\" error,\n      # which may be caused by the excessive memory overhead of macos-11 system, so we disable macos-11 temporarily here.\n      if: ${{ matrix.os != 'macos-11' }}\n      run: |\n        python -m pip install numba\n        python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml\n\n    - name: Unit tests with Pytest\n      uses: nick-fields/retry@v2\n      with:\n        timeout_minutes: 60\n        max_attempts: 3\n        command: |\n          cd tests\n          python -m pytest . -m \"not slow\" --durations=0\n", "state": "active", "repository": "microsoft/qlib"}
{"mined_at": "2024-07-15T14:11:45.157381", "created_at": "2022-06-15T14:33:39+02:00", "updated_at": "2023-06-20T14:51:54+02:00", "name": "Test qlib from source slow", "path": ".github/workflows/test_qlib_from_source_slow.yml", "contents": "name: Test qlib from source slow\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n    timeout-minutes: 720\n    # we may retry for 3 times for `Unit tests with Pytest`\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # Since macos-latest changed from 12.7.4 to 14.4.1,\n        # the minimum python version that matches a 14.4.1 version of macos is 3.10,\n        # so we limit the macos version to macos-12.\n        os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-12]\n        # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129\n        python-version: [3.7, 3.8]\n\n    steps:\n    - name: Test qlib from source slow\n      uses: actions/checkout@v3\n\n    # Since version 3.7 of python for MacOS is installed in CI, version 3.7.17, this version causes \"_bz not found error\".\n    # So we make the version number of python 3.7 for MacOS more specific.\n    # refs: https://github.com/actions/setup-python/issues/682\n    - name: Set up Python ${{ matrix.python-version }}\n      if: (matrix.os == 'macos-latest' && matrix.python-version == '3.7') || (matrix.os == 'macos-11' && matrix.python-version == '3.7')\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.7.16\"\n\n    - name: Set up Python ${{ matrix.python-version }}\n      if: (matrix.os != 'macos-latest' || matrix.python-version != '3.7') && (matrix.os != 'macos-11' || matrix.python-version != '3.7')\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Set up Python tools\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade cython numpy\n        pip install -e .[dev]\n\n    - name: Downloads dependencies data\n      run: |\n        python scripts/get_data.py qlib_data --name qlib_data_simple --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn\n\n    - name: Install Lightgbm for MacOS\n      if: ${{ matrix.os == 'macos-11' || matrix.os == 'macos-latest' }}\n      run: |\n        /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Microsoft/qlib/main/.github/brew_install.sh)\"\n        HOMEBREW_NO_AUTO_UPDATE=1 brew install lightgbm\n        # FIX MacOS error: Segmentation fault\n        # reference: https://github.com/microsoft/LightGBM/issues/4229\n        wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb\n        brew unlink libomp\n        brew install libomp.rb\n\n    - name: Unit tests with Pytest\n      uses: nick-fields/retry@v2\n      with:\n        timeout_minutes: 240\n        max_attempts: 3\n        command: |\n          cd tests\n          python -m pytest . -m \"slow\" --durations=0\n", "state": "active", "repository": "microsoft/qlib"}
{"mined_at": "2024-07-15T14:11:46.494014", "created_at": "2024-04-18T11:11:05+02:00", "updated_at": "2024-04-18T11:11:05+02:00", "name": "Upload qlib package to testpypi", "path": ".github/workflows/test_upload.yml", "contents": null, "state": "active", "repository": "microsoft/qlib"}
{"mined_at": "2024-07-15T14:11:48.635546", "created_at": "2020-05-06T02:08:08+02:00", "updated_at": "2020-05-06T02:08:08+02:00", "name": "Run TPU tests", "path": ".github/workflows/tpu-tests.yml", "contents": "name: Run TPU tests\non:\n  push:\n    branches:\n      - master\n      - \"*.*.*\"\n    paths:\n      - \"ignite/**\"\n      - \"tests/ignite/**\"\n      - \"tests/run_tpu_tests.sh\"\n      - \"tests/run_code_style.sh\"\n      - \"requirements-dev.txt\"\n      - \".github/workflows/tpu-tests.yml\"\n  pull_request:\n    paths:\n      - \"ignite/**\"\n      - \"tests/ignite/**\"\n      - \"tests/run_tpu_tests.sh\"\n      - \"tests/run_code_style.sh\"\n      - \"requirements-dev.txt\"\n      - \".github/workflows/tpu-tests.yml\"\n  workflow_dispatch:\n\nconcurrency:\n  # <workflow_name>-<branch_name>-<true || commit_sha (if branch is protected)>\n  group: tpu-tests-${{ github.ref_name }}-${{ !(github.ref_protected) || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  tpu-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        xla-version: [nightly]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n          architecture: \"x64\"\n\n      - name: Get year & week number\n        id: get-date\n        run: echo \"date=$(/bin/date \"+%Y-%U\")\" >> $GITHUB_OUTPUT\n        shell: bash -l {0}\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          pip3 install -U pip\n          echo \"pip_cache=$(pip cache dir)\" >> $GITHUB_OUTPUT\n        shell: bash -l {0}\n\n      - uses: actions/cache@v3\n        with:\n          path: |\n            ${{ steps.pip-cache.outputs.pip_cache }}\n          key: ${{ steps.get-date.outputs.date }}-pytorch-${{ runner.os }}-${{ matrix.xla-version }}-${{ hashFiles('requirements-dev.txt') }}\n          restore-keys: |\n            ${{ steps.get-date.outputs.date }}-pytorch-${{ runner.os }}-${{ matrix.xla-version }}-\n\n      - name: Install Torch XLA and others\n        run: |\n\n          ## Install mkl (alternative approach to https://github.com/pytorch/xla/blob/b0ba29f98a695671972d4a4cc07441014dba2892/.kokoro/common.sh#L31-L32)\n          sudo apt-get update && sudo apt-get install -y libopenblas-dev libomp5\n          pip install mkl==2021.4.0\n\n          ## Install torch & xla and torchvision\n          pip install --pre  https://storage.googleapis.com/tpu-pytorch/wheels/colab/torch-nightly-cp39-cp39-linux_x86_64.whl\n          pip install --pre  https://storage.googleapis.com/tpu-pytorch/wheels/colab/torch_xla-nightly-cp39-cp39-linux_x86_64.whl\n          pip install --pre  https://storage.googleapis.com/tpu-pytorch/wheels/colab/torchvision-nightly-cp39-cp39-linux_x86_64.whl\n\n          # Check installation\n          python -c \"import torch\"\n\n          ## Install test deps and Ignite\n          pip install -r requirements-dev.txt\n          python setup.py install\n\n      # Download MNIST: https://github.com/pytorch/ignite/issues/1737\n      # to \"/tmp\" for tpu tests\n      - name: Download MNIST\n        uses: pytorch-ignite/download-mnist-github-action@master\n        with:\n          target_dir: /tmp\n\n      - name: Run Tests\n        uses: nick-fields/retry@v3\n        with:\n          max_attempts: 5\n          timeout_minutes: 25\n          shell: bash\n          command: |\n            python -c \"import torch_xla; print('torch xla version:', torch_xla.__version__)\"\n            bash tests/run_tpu_tests.sh\n          new_command_on_retry: USE_LAST_FAILED=1 bash tests/run_tpu_tests.sh\n        env:\n          LD_LIBRARY_PATH: ${{ env.LD_LIBRARY_PATH }}:${{ env.Python_ROOT_DIR }}/lib\n          XRT_DEVICE_MAP: \"CPU:0;/job:localservice/replica:0/task:0/device:XLA_CPU:0\"\n          XRT_WORKERS: \"localservice:0;grpc://localhost:40934\"\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          file: ./coverage.xml\n          flags: tpu\n          fail_ci_if_error: false\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:11:49.758002", "created_at": "2020-05-10T02:01:58+02:00", "updated_at": "2024-01-11T13:13:22+01:00", "name": "PyTorch version tests", "path": ".github/workflows/pytorch-version-tests.yml", "contents": "name: PyTorch version tests\n\non:\n  # https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#onschedule\n  schedule:\n    # Run at 00:00 UTC Every Day\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 85\n    strategy:\n      max-parallel: 5\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\"]\n        pytorch-version:\n          [2.2.2, 2.1.2, 2.0.1, 1.13.1, 1.12.1, 1.11.0, 1.10.0, 1.8.1, 1.5.1]\n        exclude:\n          - pytorch-version: 1.5.1\n            python-version: 3.9\n          - pytorch-version: 1.5.1\n            python-version: \"3.10\"\n\n          # disabling python 3.9 support with PyTorch 1.7.1 and 1.8.1, to stop repeated pytorch-version test fail.\n          # https://github.com/pytorch/ignite/issues/2383\n          - pytorch-version: 1.8.1\n            python-version: 3.9\n          - pytorch-version: 1.8.1\n            python-version: \"3.10\"\n\n          - pytorch-version: 1.10.0\n            python-version: \"3.10\"\n\n          - pytorch-version: 1.11.0\n            python-version: \"3.10\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Get year & week number\n        id: get-date\n        run: echo \"date=$(/bin/date \"+%Y-%U\")\" >> $GITHUB_OUTPUT\n        shell: bash -l {0}\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python3 -m pip install -U pip\n          echo \"pip_cache=$(python3 -m pip cache dir)\" >> $GITHUB_OUTPUT\n        shell: bash -l {0}\n\n      - uses: actions/cache@v3\n        with:\n          path: |\n            ~/conda_pkgs_dir\n            ${{ steps.pip-cache.outputs.pip_cache }}\n          key: ${{ steps.get-date.outputs.date }}-pytorch-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.pytorch-version }}-${{ hashFiles('requirements-dev.txt') }}\n          restore-keys: |\n            ${{ steps.get-date.outputs.date }}-pytorch-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.pytorch-version }}-\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniconda-version: \"latest\"\n          python-version: ${{ matrix.python-version }}\n          use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!\n\n      - name: Install dependencies\n        shell: bash -l {0}\n        run: |\n          conda install pytorch=${{ matrix.pytorch-version }} torchvision cpuonly python=${{ matrix.python-version }} -c pytorch\n          pip install -r requirements-dev.txt\n          python setup.py install\n\n          # pytorch>=1.9.0,<1.11.0 is using \"from setuptools import distutils; distutils.version.LooseVersion\" anti-pattern\n          # which raises the error: AttributeError: module 'distutils' has no attribute 'version' for setuptools>59\n          bad_pth_version=$(python -c \"import torch; print('.'.join(torch.__version__.split('.')[:2]) in ['1.9', '1.10'])\")\n          if [ \"${bad_pth_version}\" == \"True\" ]; then\n            pip install --upgrade \"setuptools<59\"\n            python -c \"from setuptools import distutils; distutils.version.LooseVersion\"\n          fi\n\n      - name: Download MNIST\n        uses: pytorch-ignite/download-mnist-github-action@master\n        with:\n          target_dir: /tmp\n\n      - name: Run Tests\n        uses: nick-fields/retry@v3\n        with:\n          max_attempts: 5\n          timeout_minutes: 15\n          shell: bash\n          command: bash -l tests/run_cpu_tests.sh \"not test_time_profilers\"\n          new_command_on_retry: USE_LAST_FAILED=1 bash -l tests/run_cpu_tests.sh \"not test_time_profilers\"\n\n  create-issue:\n    runs-on: ubuntu-latest\n    # https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#needs-context\n    needs: build\n    if: always() && needs.build.result == 'failure'\n    steps:\n      - uses: actions/checkout@v4\n      - uses: JasonEtco/create-an-issue@v2\n        name: Create issue if pytorch version tests failed\n        with:\n          filename: .github/failed_schedule_issue_template.md\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:11:50.881041", "created_at": "2020-10-08T13:15:57+02:00", "updated_at": "2020-10-08T13:15:57+02:00", "name": "Run Horovod tests", "path": ".github/workflows/hvd-tests.yml", "contents": "name: Run Horovod tests\non:\n  push:\n    branches:\n      - master\n      - \"*.*.*\"\n    paths:\n      - \"ignite/**\"\n      - \"tests/ignite/**\"\n      - \"tests/run_cpu_tests.sh\"\n      - \".github/workflows/hvd-tests.yml\"\n  pull_request:\n    paths:\n      - \"ignite/**\"\n      - \"tests/ignite/**\"\n      - \"tests/run_cpu_tests.sh\"\n      - \".github/workflows/hvd-tests.yml\"\n  workflow_dispatch:\n\nconcurrency:\n  # <workflow_name>-<branch_name>-<true || commit_sha (if branch is protected)>\n  group: hvd-tests-${{ github.ref_name }}-${{ !(github.ref_protected) || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  horovod-tests:\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    strategy:\n      matrix:\n        python-version: [3.8]\n        pytorch-channel: [pytorch]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Get year & week number\n        id: get-date\n        run: echo \"date=$(/bin/date \"+%Y-%U\")\" >> $GITHUB_OUTPUT\n        shell: bash -l {0}\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python3 -m pip install -U pip\n          echo \"pip_cache=$(python3 -m pip cache dir)\" >> $GITHUB_OUTPUT\n        shell: bash -l {0}\n\n      - uses: actions/cache@v3\n        with:\n          path: |\n            ~/conda_pkgs_dir\n            ${{ steps.pip-cache.outputs.pip_cache }}\n          key: ${{ steps.get-date.outputs.date }}-horovod-${{ hashFiles('requirements-dev.txt') }}\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        shell: bash -l {0}\n        run: |\n\n          #install other dependencies\n          pip install torch torchvision -f https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install -r requirements-dev.txt\n          pip install horovod\n          python setup.py install\n\n      # Download MNIST: https://github.com/pytorch/ignite/issues/1737\n      # to \"/tmp\" for cpu tests\n      - name: Download MNIST\n        uses: pytorch-ignite/download-mnist-github-action@master\n        with:\n          target_dir: /tmp\n\n      - name: Run Tests\n        uses: nick-fields/retry@v3\n        with:\n          max_attempts: 5\n          timeout_minutes: 15\n          shell: bash\n          command: bash tests/run_cpu_tests.sh\n          new_command_on_retry: USE_LAST_FAILED=1 bash tests/run_cpu_tests.sh\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          file: ./coverage.xml\n          flags: hvd-cpu\n          fail_ci_if_error: false\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:11:52.023123", "created_at": "2020-11-06T12:27:57+01:00", "updated_at": "2021-04-26T15:50:21+02:00", "name": "Run unit tests", "path": ".github/workflows/unit-tests.yml", "contents": "name: Run unit tests\non:\n  push:\n    branches:\n      - master\n      - \"*.*.*\"\n    paths:\n      - \"ignite/**\"\n      - \"tests/ignite/**\"\n      - \"tests/run_cpu_tests.sh\"\n      - \"tests/run_code_style.sh\"\n      - \"examples/**.py\"\n      - \"requirements-dev.txt\"\n      - \".github/workflows/unit-tests.yml\"\n  pull_request:\n    paths:\n      - \"ignite/**\"\n      - \"tests/ignite/**\"\n      - \"tests/run_cpu_tests.sh\"\n      - \"tests/run_code_style.sh\"\n      - \"examples/**.py\"\n      - \"requirements-dev.txt\"\n      - \".github/workflows/unit-tests.yml\"\n  workflow_dispatch:\n\nconcurrency:\n  # <workflow_name>-<branch_name>-<true || commit_sha (if branch is protected)>\n  group: unit-tests-${{ github.ref_name }}-${{ !(github.ref_protected) || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  cpu-tests:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 85\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      max-parallel: 10\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        pytorch-channel: [pytorch, pytorch-nightly]\n        include:\n          # includes a single build on windows\n          - os: windows-latest\n            pytorch-channel: pytorch\n            python-version: 3.9\n            skip-distrib-tests: 1\n          # includes a single build on macosx\n          - os: macos-latest\n            pytorch-channel: pytorch\n            python-version: 3.9\n            skip-distrib-tests: 1\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Get year & week number\n        id: get-date\n        run: |\n          echo \"date=$(/bin/date \"+%Y-%U\")\" >> $GITHUB_OUTPUT\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          pip install -U pip || python -m pip install -U pip\n          echo \"pip_cache=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache@v3\n        with:\n          path: |\n            ${{ steps.pip-cache.outputs.pip_cache }}\n          key: ${{ steps.get-date.outputs.date }}-pytorch-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.pytorch-channel }}-${{ hashFiles('requirements-dev.txt') }}\n          restore-keys: |\n            ${{ steps.get-date.outputs.date }}-pytorch-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.pytorch-channel }}-\n\n      - run: pip install pip wheel setuptools -Uqq\n\n      - name: Install PyTorch\n        if: ${{ matrix.pytorch-channel == 'pytorch' }}\n        run: pip install torch torchvision -f https://download.pytorch.org/whl/cpu/torch_stable.html\n\n      - name: Install PyTorch (nightly)\n        if: ${{ matrix.pytorch-channel == 'pytorch-nightly' }}\n        run: pip install torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html --pre\n\n      - name: Install dependencies\n        run: |\n          pip install -r requirements-dev.txt\n          python setup.py install\n          pip list\n\n      - name: Check code formatting\n        run: |\n          bash ./tests/run_code_style.sh install\n          bash ./tests/run_code_style.sh lint\n\n      - name: Run Mypy\n        # https://github.com/pytorch/ignite/pull/2780\n        #\n        if: ${{ matrix.os == 'ubuntu-latest' && matrix.pytorch-channel == 'pytorch-nightly'}}\n        run: |\n          bash ./tests/run_code_style.sh mypy\n\n      # Download MNIST: https://github.com/pytorch/ignite/issues/1737\n      # to \"/tmp\" for unit tests\n      - name: Download MNIST\n        uses: pytorch-ignite/download-mnist-github-action@master\n        with:\n          target_dir: /tmp\n\n      # Copy MNIST to \".\" for the examples\n      - name: Copy MNIST\n        run: |\n          cp -R /tmp/MNIST .\n\n      - name: Run Tests\n        uses: nick-fields/retry@v3\n        with:\n          max_attempts: 5\n          timeout_minutes: 15\n          shell: bash\n          command: SKIP_DISTRIB_TESTS=${{ matrix.skip-distrib-tests }} bash tests/run_cpu_tests.sh\n          new_command_on_retry: USE_LAST_FAILED=1 SKIP_DISTRIB_TESTS=${{ matrix.skip-distrib-tests }} bash tests/run_cpu_tests.sh\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          file: ./coverage.xml\n          flags: cpu\n          fail_ci_if_error: false\n\n      - name: Run MNIST Examples\n        run: |\n          # MNIST\n          # 1) mnist.py\n          python examples/mnist/mnist.py --epochs=1\n\n      - name: Run MNIST with loggers Examples\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          # 2) mnist_with_visdom.py\n          python -c \"from visdom.server.build import download_scripts; download_scripts()\" # download scripts : https://github.com/facebookresearch/visdom/blob/master/py/server.py#L929\n          python -m visdom.server &\n          sleep 10\n          python examples/mnist/mnist_with_visdom.py --epochs=1\n          kill %1\n          # 3.1) mnist_with_tensorboard.py with tbX\n          python examples/mnist/mnist_with_tensorboard.py --epochs=1\n          # 3.2) mnist_with_tensorboard.py with native torch tb\n          pip uninstall -y tensorboardX\n          python examples/mnist/mnist_with_tensorboard.py --epochs=1\n\n      - name: Run MNIST Example With Crash\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        continue-on-error: true\n        run: |\n          # 4) mnist_save_resume_engine.py\n          python examples/mnist/mnist_save_resume_engine.py --epochs=2 --crash_iteration 1100\n\n      - name: Resume MNIST from previous crash\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          python examples/mnist/mnist_save_resume_engine.py --epochs=2 --resume_from=/tmp/mnist_save_resume/checkpoint_1.pt\n\n      - name: Run GAN example\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          # DCGAN\n          python examples/gan/dcgan.py --dataset fake --dataroot /tmp/fakedata --output-dir /tmp/outputs-dcgan --batch-size 2 --epochs 2  --workers 0\n\n      - name: Run RL Examples\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          # RL\n          # 1) Actor-Critic\n          python examples/reinforcement_learning/actor_critic.py --max-episodes=2\n          # 2) Reinforce\n          python examples/reinforcement_learning/reinforce.py --max-episodes=2\n\n      - name: Run Neural Style Example\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          #fast-neural-style\n          #train\n          mkdir -p ~/.cache/torch/checkpoints/ && wget \"https://download.pytorch.org/models/vgg16-397923af.pth\" -O ~/.cache/torch/checkpoints/vgg16-397923af.pth\n          python examples/fast_neural_style/neural_style.py train --epochs 1 --cuda 0 --dataset test --dataroot . --image_size 32 --style_image examples/fast_neural_style/images/style_images/mosaic.jpg --style_size 32\n      - name: Run SR Example\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          # Super-Resolution\n          python examples/super_resolution/main.py --upscale_factor 3 --crop_size 180 --batch_size 4 --test_batch_size 100 --n_epochs 1 --lr 0.001 --threads 2 --debug\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:11:53.247607", "created_at": "2020-11-10T11:17:00+01:00", "updated_at": "2020-11-10T11:17:00+01:00", "name": "Nightly Releases", "path": ".github/workflows/binaries-nightly-release.yml", "contents": "name: Nightly Releases\n\non:\n  # https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#onschedule\n  schedule:\n    # Run at 00:00 UTC Every Day\n    - cron: \"0 0 * * *\"\n\njobs:\n  build-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniconda-version: \"latest\"\n          python-version: \"3.10\"\n\n      - name: Setup nightly version\n        run: |\n          sed -i \"s/__version__ = \\\"\\(.*\\)\\\"/__version__ = \\\"\\1.dev$(date -u +%Y%m%d)\\\"/g\" ignite/__init__.py\n          cat ignite/__init__.py\n\n      - name: Install dependencies\n        shell: bash -l {0}\n        run: |\n          conda install -y pytorch torchvision cpuonly -c pytorch-nightly\n          pip install -r requirements-dev.txt\n\n      - name: Build and Publish Conda binaries\n        shell: bash -l {0}\n        env:\n          ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}\n          UPLOAD_USER: \"pytorch-nightly\"\n        run: |\n          chmod +x ./conda.recipe/build_and_upload.sh\n          ./conda.recipe/build_and_upload.sh\n\n      - name: Build and Publish PyPI binaries\n        shell: bash -l {0}\n        run: |\n          # workaround to fix https://github.com/pytorch/ignite/issues/2373\n          pip uninstall -y twine pkginfo\n          pip install --upgrade --no-cache-dir twine 'pkginfo>=1.8.2'\n          python setup.py sdist bdist_wheel\n          twine --version\n          twine check dist/*\n          TWINE_USERNAME=\"${{ secrets.PYPI_USER }}\" TWINE_PASSWORD=\"${{ secrets.PYPI_TOKEN }}\" twine upload --verbose dist/*\n\n      - uses: JasonEtco/create-an-issue@v2\n        name: Create issue if nightly releases failed\n        if: failure()\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filename: .github/failed_schedule_issue_template.md\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:11:54.366696", "created_at": "2020-11-11T15:45:44+01:00", "updated_at": "2020-11-11T15:45:44+01:00", "name": "Build docs", "path": ".github/workflows/docs.yml", "contents": "name: Build docs\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    paths-ignore:\n      - \"tests/**\"\n      - \"docker/**\"\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  build-deploy:\n    permissions:\n      contents: write\n    if: (github.ref == 'refs/heads/master' && github.event_name == 'push') || github.event_name == 'release'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - run: sudo npm install katex -g\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: pip-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('docs/requirements.txt') }}\n\n      - name: Install docs deps\n        run: bash .github/workflows/install_docs_deps.sh\n\n      - name: Build docs\n        run: bash .github/workflows/build_docs.sh\n\n      - name: Deploy docs\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: docs/build/html\n          publish_branch: gh-pages\n          commit_message: Deploy pytorch/ignite docs\n          force_orphan: true\n\n  linkcheck:\n    if: github.event_name == 'pull_request' || github.event_name == 'push'\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: pip-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('docs/requirements.txt') }}\n\n      - name: Install docs deps\n        run: bash .github/workflows/install_docs_deps.sh\n\n      - name: make linkcheck\n        working-directory: ./docs/\n        run: make linkcheck\n\n  doctest:\n    if: github.event_name == 'pull_request' || github.event_name == 'push'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - run: sudo npm install katex -g\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: pip-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('docs/requirements.txt') }}\n\n      - name: Install docs deps\n        run: bash .github/workflows/install_docs_deps.sh\n\n      - name: make doctest\n        working-directory: ./docs/\n        run: |\n          make html\n          make doctest\n          make coverage\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:11:55.410575", "created_at": "2021-03-02T17:59:13+01:00", "updated_at": "2023-10-18T10:01:07+02:00", "name": "Build/Publish Docker Images", "path": ".github/workflows/docker-build.yml", "contents": "name: Build/Publish Docker Images\n\non:\n  pull_request:\n    paths:\n      - docker/**\n      - \".github/workflows/docker-build.yml\"\n  release:\n    types: [published]\n  workflow_dispatch:\n\n\nconcurrency:\n  # <workflow_name>-<branch_name>-<true || commit_sha (if branch is protected)>\n  group: docker-build-publish-${{ github.ref_name }}-${{ !(github.ref_protected) || github.sha }}\n  cancel-in-progress: true\n\njobs:\n\n  setup:\n    name: Setup\n    runs-on: ubuntu-latest\n    outputs:\n      modified: ${{ steps.set-modified.outputs.modified }}\n      pth_version: ${{ steps.set-versions.outputs.pth_version }}\n      hvd_version: ${{ steps.set-versions.outputs.hvd_version }}\n      msdp_version: ${{ steps.set-versions.outputs.msdp_version }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Changed Files Exporter\n        if: github.event_name == 'pull_request'\n        id: files\n        uses: umani/changed-files@v4.1.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Get a list of modified files\n        if: github.event_name == 'pull_request'\n        run: echo \"modified=${{ steps.files.outputs.files_created }} ${{ steps.files.outputs.files_updated }}\" >> $GITHUB_ENV\n      - name: Set outputs\n        id: set-modified\n        run: echo \"modified=${{ env.modified }}\" >> $GITHUB_OUTPUT\n      - name: Set versions\n        id: set-versions\n        working-directory: docker\n        run: |\n          echo \"pth_version=$(python -c \"import configparser; cfg=configparser.ConfigParser(); cfg.read('docker.cfg'); print(cfg.get('DEFAULT', 'build_docker_image_pytorch_version'))\")\" >> $GITHUB_OUTPUT\n          echo \"hvd_version=$(python -c \"import configparser; cfg=configparser.ConfigParser(); cfg.read('docker.cfg'); print(cfg.get('DEFAULT', 'build_docker_image_hvd_version'))\")\" >> $GITHUB_OUTPUT\n\n\n  build-hvd:\n    name: Build all Horovod flavoured PyTorch-Ignite images\n    needs: setup\n    if: github.event_name != 'pull_request' || (contains(needs.setup.outputs.modified, 'hvd/') || contains(needs.setup.outputs.modified, 'docker.cfg'))\n\n    # Cherry-picked from https://github.com/pytorch/test-infra/blob/main/.github/workflows/linux_job.yml\n    env:\n      REPOSITORY: ${{ github.repository }}\n      PR_NUMBER: ${{ github.event.pull_request.number }}\n    runs-on: linux.4xlarge\n    steps:\n      - name: Clean workspace\n        run: |\n          echo \"::group::Cleanup debug output\"\n          sudo rm -rfv \"${GITHUB_WORKSPACE}\"\n          mkdir -p \"${GITHUB_WORKSPACE}\"\n          echo \"::endgroup::\"\n\n      - name: Checkout repository (pytorch/test-infra)\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: pytorch/test-infra\n          path: test-infra\n\n      - name: Setup Linux\n        uses: ./test-infra/.github/actions/setup-linux\n\n      - name: Checkout repository (${{ github.repository }})\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: ${{ github.repository }}\n          ref: ${{ github.ref }}\n          path: ${{ github.repository }}\n          fetch-depth: 1\n\n      - name: Build docker images\n        working-directory: ${{ github.repository }}/docker\n        run: |\n\n          export PTH_VERSION=${{ needs.setup.outputs.pth_version }}\n          export HVD_VERSION=${{ needs.setup.outputs.hvd_version }}\n\n          bash build.sh hvd hvd-base\n          bash build.sh hvd hvd-vision\n          bash build.sh hvd hvd-nlp\n\n      - name: Publish docker images\n        if: github.event_name == 'workflow_dispatch' || github.event_name == 'release'\n        env:\n          DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}\n          DOCKER_USER: ${{ secrets.DOCKER_USER }}\n        working-directory: ${{ github.repository }}/docker\n        run: |\n          bash push_all.sh hvd-base\n          bash push_all.sh hvd-vision\n          bash push_all.sh hvd-nlp\n\n\n  build-hvd-apex:\n    name: Build all Horovod + Apex flavoured PyTorch-Ignite images\n    needs: setup\n    if: github.event_name != 'pull_request' || (contains(needs.setup.outputs.modified, 'hvd/') || contains(needs.setup.outputs.modified, 'docker.cfg'))\n\n    # Cherry-picked from https://github.com/pytorch/test-infra/blob/main/.github/workflows/linux_job.yml\n    env:\n      REPOSITORY: ${{ github.repository }}\n      PR_NUMBER: ${{ github.event.pull_request.number }}\n    runs-on: linux.12xlarge\n    steps:\n      - name: Clean workspace\n        run: |\n          echo \"::group::Cleanup debug output\"\n          sudo rm -rfv \"${GITHUB_WORKSPACE}\"\n          mkdir -p \"${GITHUB_WORKSPACE}\"\n          echo \"::endgroup::\"\n\n      - name: Checkout repository (pytorch/test-infra)\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: pytorch/test-infra\n          path: test-infra\n\n      - name: Setup Linux\n        uses: ./test-infra/.github/actions/setup-linux\n\n      - name: Checkout repository (${{ github.repository }})\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: ${{ github.repository }}\n          ref: ${{ github.ref }}\n          path: ${{ github.repository }}\n          fetch-depth: 1\n\n      - name: Build docker images\n        working-directory: ${{ github.repository }}/docker\n        run: |\n\n          export PTH_VERSION=${{ needs.setup.outputs.pth_version }}\n          export HVD_VERSION=${{ needs.setup.outputs.hvd_version }}\n\n          bash build.sh hvd hvd-apex\n          bash build.sh hvd hvd-apex-vision\n          bash build.sh hvd hvd-apex-nlp\n\n      - name: Publish docker images\n        if: github.event_name == 'workflow_dispatch' || github.event_name == 'release'\n        env:\n          DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}\n          DOCKER_USER: ${{ secrets.DOCKER_USER }}\n        working-directory: ${{ github.repository }}/docker\n        run: |\n          bash push_all.sh hvd-apex\n          bash push_all.sh hvd-apex-vision\n          bash push_all.sh hvd-apex-nlp\n\n\n  build-main:\n    name: Build all PyTorch-Ignite images\n    needs: setup\n    if: github.event_name != 'pull_request' || (contains(needs.setup.outputs.modified, 'main/') || contains(needs.setup.outputs.modified, 'docker.cfg'))\n\n    # Cherry-picked from https://github.com/pytorch/test-infra/blob/main/.github/workflows/linux_job.yml\n    env:\n      REPOSITORY: ${{ github.repository }}\n      PR_NUMBER: ${{ github.event.pull_request.number }}\n    runs-on: linux.4xlarge\n    steps:\n      - name: Clean workspace\n        run: |\n          echo \"::group::Cleanup debug output\"\n          sudo rm -rfv \"${GITHUB_WORKSPACE}\"\n          mkdir -p \"${GITHUB_WORKSPACE}\"\n          echo \"::endgroup::\"\n\n      - name: Checkout repository (pytorch/test-infra)\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: pytorch/test-infra\n          path: test-infra\n\n      - name: Setup Linux\n        uses: ./test-infra/.github/actions/setup-linux\n\n      - name: Checkout repository (${{ github.repository }})\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: ${{ github.repository }}\n          ref: ${{ github.ref }}\n          path: ${{ github.repository }}\n          fetch-depth: 1\n\n      - name: Build docker images\n        working-directory: ${{ github.repository }}/docker\n        run: |\n\n          export PTH_VERSION=${{ needs.setup.outputs.pth_version }}\n          export HVD_VERSION=${{ needs.setup.outputs.hvd_version }}\n\n          bash build.sh main base\n          bash build.sh main vision\n          bash build.sh main nlp\n\n      - name: Publish docker images\n        if: github.event_name == 'workflow_dispatch' || github.event_name == 'release'\n        env:\n          DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}\n          DOCKER_USER: ${{ secrets.DOCKER_USER }}\n        working-directory: ${{ github.repository }}/docker\n        run: |\n          bash push_all.sh base\n          bash push_all.sh vision\n          bash push_all.sh nlp\n\n\n  build-main-apex:\n    name: Build all PyTorch-Ignite images with Apex\n    needs: setup\n    if: github.event_name != 'pull_request' || (contains(needs.setup.outputs.modified, 'main/') || contains(needs.setup.outputs.modified, 'docker.cfg'))\n\n    # Cherry-picked from https://github.com/pytorch/test-infra/blob/main/.github/workflows/linux_job.yml\n    env:\n      REPOSITORY: ${{ github.repository }}\n      PR_NUMBER: ${{ github.event.pull_request.number }}\n    runs-on: linux.12xlarge\n    steps:\n      - name: Clean workspace\n        run: |\n          echo \"::group::Cleanup debug output\"\n          sudo rm -rfv \"${GITHUB_WORKSPACE}\"\n          mkdir -p \"${GITHUB_WORKSPACE}\"\n          echo \"::endgroup::\"\n\n      - name: Checkout repository (pytorch/test-infra)\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: pytorch/test-infra\n          path: test-infra\n\n      - name: Setup Linux\n        uses: ./test-infra/.github/actions/setup-linux\n\n      - name: Checkout repository (${{ github.repository }})\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: ${{ github.repository }}\n          ref: ${{ github.ref }}\n          path: ${{ github.repository }}\n          fetch-depth: 1\n\n      - name: Build docker images\n        working-directory: ${{ github.repository }}/docker\n        run: |\n\n          export PTH_VERSION=${{ needs.setup.outputs.pth_version }}\n          export HVD_VERSION=${{ needs.setup.outputs.hvd_version }}\n\n          bash build.sh main apex\n          bash build.sh main apex-vision\n          bash build.sh main apex-nlp\n\n      - name: Publish docker images\n        if: github.event_name == 'workflow_dispatch' || github.event_name == 'release'\n        env:\n          DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}\n          DOCKER_USER: ${{ secrets.DOCKER_USER }}\n        working-directory: ${{ github.repository }}/docker\n        run: |\n          bash push_all.sh apex\n          bash push_all.sh apex-vision\n          bash push_all.sh apex-nlp\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:11:56.513323", "created_at": "2021-03-22T13:28:00+01:00", "updated_at": "2021-03-22T13:28:00+01:00", "name": "Triage", "path": ".github/workflows/triage.yml", "contents": "name: Triage\n\non:\n  pull_request_target:\n#     types: [opened]\n#   issues:\n#     types: [opened]\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Pull Request Labeler\n        uses: actions/labeler@v5\n        with:\n          configuration-path: .github/pr-labeler-config.yml\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n# Turned off due to unexpected behavior on issue opening+labeling? https://github.com/pytorch/ignite/issues/1836\n#       - name: Welcome\n#         uses: actions/first-interaction@v1\n#         with:\n#           issue-message: \"**Thank you for opening your First Issue!**\\n\\nWe appreciate a lot user's feedback on what we are doing!\\n\\nIf you'd like to contribute to the project, please check out our [Contributing Guide](https://github.com/pytorch/ignite/blob/master/CONTRIBUTING.md).\"\n#           pr-message: \"**Thank you for opening your First Pull Request!**\\nWe appreciate a lot community contributions as pull requests!\\n\\nIf you would like to get more details on the project development, please take a look at our [Contributing Guide](https://github.com/pytorch/ignite/blob/master/CONTRIBUTING.md).\"\n#           repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:11:57.623200", "created_at": "2021-06-22T09:36:31+02:00", "updated_at": "2021-06-22T09:36:31+02:00", "name": "Anaconda Stable Releases", "path": ".github/workflows/stable-release-anaconda.yml", "contents": "name: Anaconda Stable Releases\n\non:\n  release:\n    types: [published]\n\njobs:\n  conda-build-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniconda-version: \"latest\"\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        shell: bash -l {0}\n        run: |\n          conda install -y pytorch torchvision cpuonly -c pytorch\n          python setup.py install\n\n      - name: Build and Publish Conda binaries\n        shell: bash -l {0}\n        env:\n          ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}\n          UPLOAD_USER: \"pytorch\"\n        run: |\n          chmod +x ./conda.recipe/build_and_upload.sh\n          ./conda.recipe/build_and_upload.sh\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:11:58.637490", "created_at": "2021-06-22T09:36:31+02:00", "updated_at": "2021-06-22T09:36:31+02:00", "name": "PyPI Stable Releases", "path": ".github/workflows/stable-release-pypi.yml", "contents": "name: PyPI Stable Releases\n\non:\n  release:\n    types: [published]\n\njobs:\n  build-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniconda-version: \"latest\"\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        shell: bash -l {0}\n        run: |\n          conda install -y pytorch torchvision cpuonly -c pytorch\n          pip install -r requirements-dev.txt\n\n      - name: Build and Publish PyPI binaries\n        shell: bash -l {0}\n        run: |\n          # workaround to fix https://github.com/pytorch/ignite/issues/2373\n          pip uninstall -y twine pkginfo\n          pip install --upgrade --no-cache-dir twine 'pkginfo>=1.8.2'\n          python setup.py sdist bdist_wheel\n          twine --version\n          twine check dist/*\n          TWINE_USERNAME=\"${{ secrets.PYPI_USER }}\" TWINE_PASSWORD=\"${{ secrets.PYPI_TOKEN }}\" twine upload --verbose dist/*\n\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:11:59.640091", "created_at": "2021-12-19T00:53:00+01:00", "updated_at": "2021-12-19T00:53:00+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:12:00.736343", "created_at": "2022-02-17T13:43:06+01:00", "updated_at": "2023-02-22T03:00:17+01:00", "name": "Run unit tests on GPUs", "path": ".github/workflows/gpu-tests.yml", "contents": "name: Run unit tests on GPUs\non:\n  push:\n    paths:\n      - \"ignite/**\"\n      - \"tests/ignite/**\"\n      - \"tests/run_gpu_tests.sh\"\n      - \"tests/run_code_style.sh\"\n      - \"examples/**.py\"\n      - \"requirements-dev.txt\"\n      - \".github/workflows/gpu-tests.yml\"\n  workflow_dispatch:\n\nconcurrency:\n  # <workflow_name>-<branch_name>-<true || commit_sha (if branch is protected)>\n  group: gpu-tests-${{ github.ref_name }}-${{ !(github.ref_protected) || github.sha }}\n  cancel-in-progress: true\n\n# Cherry-picked from https://github.com/pytorch/test-infra/blob/main/.github/workflows/linux_job.yml\n\njobs:\n  gpu-tests:\n    strategy:\n      matrix:\n        pytorch-channel: [pytorch, pytorch-nightly]\n      fail-fast: false\n    env:\n      DOCKER_IMAGE: \"pytorch/conda-builder:cuda12.1\"\n      REPOSITORY: ${{ github.repository }}\n      PR_NUMBER: ${{ github.event.pull_request.number }}\n    runs-on: linux.8xlarge.nvidia.gpu\n    timeout-minutes: 85\n\n    steps:\n      - name: Clean workspace\n        run: |\n          echo \"::group::Cleanup debug output\"\n          sudo rm -rfv \"${GITHUB_WORKSPACE}\"\n          mkdir -p \"${GITHUB_WORKSPACE}\"\n          echo \"::endgroup::\"\n\n      - name: Checkout repository (pytorch/test-infra)\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: pytorch/test-infra\n          path: test-infra\n\n      - name: Setup Linux\n        uses: ./test-infra/.github/actions/setup-linux\n\n      - name: Pull docker image\n        uses: ./test-infra/.github/actions/pull-docker-image\n        with:\n          docker-image: ${{ env.DOCKER_IMAGE }}\n\n      - name: Checkout repository (${{ github.repository }})\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: ${{ github.repository }}\n          ref: ${{ github.ref }}\n          path: ${{ github.repository }}\n          fetch-depth: 1\n\n      - name: Start Pytorch container\n        working-directory: ${{ github.repository }}\n        run: |\n          docker run --name pthd --gpus=all --rm \\\n            --cap-add=SYS_PTRACE \\\n            --detach \\\n            --ipc=host \\\n            --security-opt seccomp=unconfined \\\n            --shm-size=2g \\\n            --tty \\\n            --ulimit stack=10485760:83886080 \\\n            -v $PWD:/work \\\n            -w /work \\\n            ${DOCKER_IMAGE}\n\n          script=$(cat << EOF\n\n            set -xe\n\n            nvidia-smi\n            ls -alh\n\n            conda --version\n            python --version\n\n          EOF\n          )\n          docker exec -t pthd /bin/bash -c \"${script}\"\n\n      - name: Install PyTorch and dependencies\n        continue-on-error: false\n        run: |\n\n          script=$(cat << EOF\n\n          set -xe\n\n          # Install PyTorch\n          if [ \"${{ matrix.pytorch-channel }}\" == \"pytorch\" ]; then\n            pip install --upgrade torch torchvision --index-url https://download.pytorch.org/whl/cu121\n          else\n            pip install --upgrade --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu121\n          fi\n\n          python -c \"import torch; print(torch.__version__, ', CUDA is available: ', torch.cuda.is_available()); exit(not torch.cuda.is_available())\"\n          pip list\n\n          # Install dependencies\n          pip install -r requirements-dev.txt\n          pip install -e .\n\n          EOF\n          )\n\n          docker exec -t pthd /bin/bash -c \"${script}\"\n\n      - name: Run GPU Unit Tests\n        continue-on-error: false\n        uses: nick-fields/retry@v2.9.0\n        with:\n          max_attempts: 5\n          timeout_minutes: 25\n          shell: bash\n          command: docker exec -t pthd /bin/bash -xec 'bash tests/run_gpu_tests.sh 2'\n          new_command_on_retry: docker exec -e USE_LAST_FAILED=1 -t pthd /bin/bash -xec 'bash tests/run_gpu_tests.sh 2'\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          file: ${{ github.repository }}/coverage.xml\n          flags: gpu-2\n          fail_ci_if_error: false\n\n      - name: Run examples in container\n        continue-on-error: false\n        run: |\n          SCRIPT=$(cat << EOF\n\n          set -xe\n\n          # Install additional example dependencies\n          pip install fire\n\n          # Check training on cifar10, run without backend\n          ## initial run\n          CI=1 python examples/cifar10/main.py run --checkpoint_every=200 --stop_iteration=500\n          ## resume\n          CI=1 python examples/cifar10/main.py run --checkpoint_every=200 --num_epochs=7 --resume-from=/tmp/output-cifar10/resnet18_backend-None-1_stop-on-500/training_checkpoint_400.pt\n\n          # Check training on cifar10, run with NCCL backend using torchrun\n          ## initial run\n          CI=1 torchrun --nproc_per_node=2 examples/cifar10/main.py run --backend=nccl --checkpoint_every=200 --stop_iteration=500\n          ## resume\n          CI=1 torchrun --nproc_per_node=2 examples/cifar10/main.py run --backend=nccl --checkpoint_every=200 --num_epochs=7 --resume-from=/tmp/output-cifar10/resnet18_backend-nccl-2_stop-on-500/training_checkpoint_400.pt\n\n          # Check training on cifar10, run with NCCL backend using spawn\n          ## initial run\n          CI=1 python -u examples/cifar10/main.py run --backend=nccl --nproc_per_node=2 --checkpoint_every=200 --stop_iteration=500\n          ## resume\n          CI=1 python -u examples/cifar10/main.py run --backend=nccl --nproc_per_node=2 --checkpoint_every=200 --num_epochs=7 --resume-from=/tmp/output-cifar10/resnet18_backend-nccl-2_stop-on-500/training_checkpoint_400.pt\n\n          EOF\n          )\n\n          docker exec -t pthd /bin/bash -c \"${script}\"\n\n      - name: Teardown Linux\n        if: ${{ always() }}\n        uses: ./test-infra/.github/actions/teardown-linux\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:12:01.848907", "created_at": "2022-07-19T00:53:05+02:00", "updated_at": "2023-08-29T13:09:36+02:00", "name": "Run HVD-specific unit tests on GPUs", "path": ".github/workflows/gpu-hvd-tests.yml", "contents": "name: Run HVD-specific unit tests on GPUs\non:\n  push:\n    paths:\n      - \"ignite/**\"\n      - \"tests/ignite/**\"\n      - \"tests/run_gpu_tests.sh\"\n      - \"tests/run_code_style.sh\"\n      - \"examples/**.py\"\n      - \"requirements-dev.txt\"\n      - \".github/workflows/gpu-hvd-tests.yml\"\n  workflow_dispatch:\n\nconcurrency:\n  # <workflow_name>-<branch_name>-<true || commit_sha (if branch is protected)>\n  group: gpu-hvd-tests-${{ github.ref_name }}-${{ !(github.ref_protected) || github.sha }}\n  cancel-in-progress: true\n\n# Cherry-picked from https://github.com/pytorch/test-infra/blob/main/.github/workflows/linux_job.yml\n\njobs:\n  gpu-hvd-tests:\n    strategy:\n      matrix:\n        pytorch-channel: [pytorch]\n      fail-fast: false\n    env:\n      DOCKER_IMAGE: \"pytorch/conda-builder:cuda12.1\"\n      REPOSITORY: ${{ github.repository }}\n      PR_NUMBER: ${{ github.event.pull_request.number }}\n    runs-on: linux.8xlarge.nvidia.gpu\n    timeout-minutes: 60\n\n    steps:\n      - name: Clean workspace\n        run: |\n          echo \"::group::Cleanup debug output\"\n          sudo rm -rfv \"${GITHUB_WORKSPACE}\"\n          mkdir -p \"${GITHUB_WORKSPACE}\"\n          echo \"::endgroup::\"\n\n      - name: Checkout repository (pytorch/test-infra)\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: pytorch/test-infra\n          path: test-infra\n\n      - name: Setup Linux\n        uses: ./test-infra/.github/actions/setup-linux\n\n      - name: Pull docker image\n        uses: ./test-infra/.github/actions/pull-docker-image\n        with:\n          docker-image: ${{ env.DOCKER_IMAGE }}\n\n      - name: Checkout repository (${{ github.repository }})\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: ${{ github.repository }}\n          ref: ${{ github.ref }}\n          path: ${{ github.repository }}\n          fetch-depth: 1\n\n      - name: Start Pytorch container\n        working-directory: ${{ github.repository }}\n        run: |\n          docker run --name pthd --gpus=all --rm \\\n            --cap-add=SYS_PTRACE \\\n            --detach \\\n            --ipc=host \\\n            --security-opt seccomp=unconfined \\\n            --shm-size=2g \\\n            --tty \\\n            --ulimit stack=10485760:83886080 \\\n            -v $PWD:/work \\\n            -w /work \\\n            ${DOCKER_IMAGE}\n\n          script=$(cat << EOF\n\n            set -xe\n\n            nvidia-smi\n            ls -alh\n\n            conda --version\n            python --version\n\n          EOF\n          )\n          docker exec -t pthd /bin/bash -c \"${script}\"\n\n      - name: Install PyTorch and dependencies\n        continue-on-error: false\n        run: |\n\n          script=$(cat << EOF\n\n          set -xe\n\n          # Install PyTorch\n          if [ \"${{ matrix.pytorch-channel }}\" == \"pytorch\" ]; then\n            pip install --upgrade torch torchvision --index-url https://download.pytorch.org/whl/cu121\n          else\n            pip install --upgrade --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu121\n          fi\n\n          python -c \"import torch; print(torch.__version__, ', CUDA is available: ', torch.cuda.is_available()); exit(not torch.cuda.is_available())\"\n          pip list\n\n          # Install dependencies\n          pip install -r requirements-dev.txt\n          pip install -e .\n\n          EOF\n          )\n\n          docker exec -t pthd /bin/bash -c \"${script}\"\n\n      - name: Install Horovod with NCCL GPU ops\n        run: |\n          script=$(cat << EOF\n\n          set -xe\n\n          # Can't build Horovod with recent pytorch due to pytorch required C++17 standard\n          # and horovod is still using C++14\n          # HOROVOD_GPU_OPERATIONS=NCCL HOROVOD_WITH_PYTORCH=1 pip install horovod[pytorch]\n          # Using a similar hack as described here:\n          # https://github.com/horovod/horovod/issues/3941#issuecomment-1732505345\n          git clone --recursive https://github.com/horovod/horovod.git /horovod\n          cd /horovod\n          sed -i \"s/CMAKE_CXX_STANDARD 14/CMAKE_CXX_STANDARD 17/g\" CMakeLists.txt\n          sed -i \"s/CMAKE_CXX_STANDARD 14/CMAKE_CXX_STANDARD 17/g\" horovod/torch/CMakeLists.txt\n          HOROVOD_GPU_OPERATIONS=NCCL HOROVOD_WITH_PYTORCH=1 python setup.py install\n\n          horovodrun --check-build\n          pip list\n\n          EOF\n          )\n\n          docker exec -t pthd /bin/bash -c \"${script}\"\n\n      - name: Run GPU and CPU Unit HVD Tests\n        run: |\n\n          script=$(cat << EOF\n\n          set -xe\n\n          bash tests/run_gpu_tests.sh 2 hvd\n          CUDA_VISIBLE_DEVICES=\"\" pytest --cov ignite --cov-append --cov-report term-missing --cov-report xml -vvv tests/ignite -m distributed -k hvd\n\n          EOF\n          )\n\n          docker exec -t pthd /bin/bash -c \"${script}\"\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          file: ${{ github.repository }}/coverage.xml\n          flags: gpu-2\n          fail_ci_if_error: false\n\n      - name: Run examples in container\n        continue-on-error: false\n        run: |\n          SCRIPT=$(cat << EOF\n\n          set -xe\n\n          # Install additional example dependencies\n          pip install fire\n\n          # Check training on CIFAR10, run with horovod backend using horovodrun\n          # initial run\n          CI=1 horovodrun -np 2 python -u examples/cifar10/main.py run --backend=horovod --checkpoint_every=200 --stop_iteration=500\n          # resume\n          CI=1 horovodrun -np 2 python examples/cifar10/main.py run --checkpoint_every=200 --num_epochs=7 --resume-from=/tmp/output-cifar10/resnet18_backend-horovod-2_stop-on-500/training_checkpoint_400.pt\n\n          # Check training on CIFAR10 using spawn\n          # initial run\n          CI=1 python -u examples/cifar10/main.py run --backend=horovod --nproc_per_node=2 --checkpoint_every=200 --stop_iteration=500\n          # resume\n          CI=1 python -u examples/cifar10/main.py run --backend=horovod --nproc_per_node=2 --checkpoint_every=200 --num_epochs=7 --resume-from=/tmp/output-cifar10/resnet18_backend-horovod-2_stop-on-500/training_checkpoint_400.pt\n\n          EOF\n          )\n\n          docker exec -t pthd /bin/bash -c \"${script}\"\n\n      - name: Teardown Linux\n        if: ${{ always() }}\n        uses: ./test-infra/.github/actions/teardown-linux\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:12:03.077378", "created_at": "2023-05-30T17:08:18+02:00", "updated_at": "2023-08-01T15:01:27+02:00", "name": "Discuss \"help-wanted\" issue on Discord", "path": ".github/workflows/discord_issues.yml", "contents": "name: Discuss \"help-wanted\" issue on Discord\n\non:\n  issues:\n    types:\n      - labeled\n  workflow_dispatch:\n    inputs:\n      issue_number:\n        description: 'Issue number'\n        required: true\n\npermissions:\n  issues: write\n\njobs:\n  discord:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Discuss on Discord-Issues\"\n        if: ${{ github.event.label.name == 'help wanted' }}\n        uses: EndBug/discuss-on-discord@v1.1.0\n        with:\n          discord_bot_token: ${{ secrets.DISCORD_BOT_TOKEN }}\n          destination: ${{ secrets.DISCORD_BOT_DESTINATION }}\n          issue_number: ${{ github.event.inputs.issue_number || github.event.issue.number }}\n          issue_comment: Hey 👋, I've just created a [thread]($THREAD_LINK$) for this issue on [PyTorch-Ignite Discord](https://pytorch-ignite.ai/chat) where you can quickly talk to the community on the topic.\n          discord_message: New issue created in `${{ github.repository }}`:<https://github.com/${{ github.repository }}/issues/${{ github.event.issue.number }}>\n          \n      \n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:12:04.127572", "created_at": "2023-07-12T13:36:58+02:00", "updated_at": "2023-11-22T03:16:21+01:00", "name": "Run unit tests on M1", "path": ".github/workflows/mps-tests.yml", "contents": "name: Run unit tests on M1\non:\n  push:\n    branches:\n      - master\n      - \"*.*.*\"\n    paths:\n      - \"ignite/**\"\n      - \"tests/ignite/**\"\n      - \"tests/run_code_style.sh\"\n      - \"examples/**.py\"\n      - \"requirements-dev.txt\"\n      - \".github/workflows/mps-tests.yml\"\n  pull_request:\n    paths:\n      - \"ignite/**\"\n      - \"tests/ignite/**\"\n      - \"tests/run_code_style.sh\"\n      - \"examples/**.py\"\n      - \"requirements-dev.txt\"\n      - \".github/workflows/mps-tests.yml\"\n  workflow_dispatch:\n\nconcurrency:\n  # <workflow_name>-<branch_name>-<true || commit_sha (if branch is protected)>\n  group: mps-tests-${{ github.ref_name }}-${{ !(github.ref_protected) || github.sha }}\n  cancel-in-progress: true\n\n# Cherry-picked from \n# - https://github.com/pytorch/vision/blob/main/.github/workflows/tests.yml\n# - https://github.com/pytorch/test-infra/blob/main/.github/workflows/macos_job.yml\n\njobs:\n  mps-tests:\n    strategy:\n      matrix:\n        python-version: [3.8]\n        pytorch-channel: [\"pytorch\"]\n        skip-distrib-tests: [1]\n      fail-fast: false\n    runs-on: [\"macos-m1-stable\"]\n    timeout-minutes: 60\n    \n    steps:\n      - name: Clean workspace\n        run: |\n          echo \"::group::Cleanup debug output\"\n          sudo rm -rfv \"${GITHUB_WORKSPACE}\"\n          mkdir -p \"${GITHUB_WORKSPACE}\"\n          echo \"::endgroup::\"\n\n      - name: Checkout repository (pytorch/test-infra)\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: pytorch/test-infra\n          path: test-infra\n\n      - name: Checkout repository (${{ github.repository }})\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: ${{ github.repository }}\n          ref: ${{ github.ref }}\n          path: ${{ github.repository }}\n          fetch-depth: 1\n\n      - name: Setup miniconda\n        uses: ./test-infra/.github/actions/setup-miniconda\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install PyTorch\n        if: ${{ matrix.pytorch-channel == 'pytorch' }}\n        shell: bash -l {0}\n        run: |\n          conda shell.bash hook\n          conda activate $CONDA_ENV\n          pip install torch torchvision\n\n      - name: Install PyTorch (nightly)\n        if: ${{ matrix.pytorch-channel == 'pytorch-nightly' }}\n        shell: bash -l {0}\n        run: |\n          conda shell.bash hook\n          conda activate $CONDA_ENV\n          pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu\n\n      - name: Install dependencies\n        shell: bash -l {0}\n        working-directory: ${{ github.repository }}\n        run: |\n          conda activate $CONDA_ENV\n          # TODO: We add set -xe to explicitly fail the CI if one of the commands is failing.\n          # Somehow the step is passing even if a subcommand failed\n          set -xe\n          pip install -r requirements-dev.txt\n          echo \"1 returned code: $?\"\n          pip install -e .\n          echo \"2 returned code: $?\"\n          pip list\n          echo \"3 returned code: $?\"\n\n      # Download MNIST: https://github.com/pytorch/ignite/issues/1737\n      # to \"/tmp\" for unit tests\n      - name: Download MNIST\n        uses: pytorch-ignite/download-mnist-github-action@master\n        with:\n          target_dir: /tmp\n\n      # Copy MNIST to \".\" for the examples\n      - name: Copy MNIST\n        run: |\n          cp -R /tmp/MNIST .\n\n      - name: Run Tests\n        shell: bash -l {0}\n        working-directory: ${{ github.repository }}\n        run: |\n          conda activate $CONDA_ENV\n          SKIP_DISTRIB_TESTS=${{ matrix.skip-distrib-tests }} bash tests/run_cpu_tests.sh\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          file: ${{ github.repository }}/coverage.xml\n          flags: mps\n          fail_ci_if_error: false\n\n      - name: Run MNIST Examples\n        shell: bash -l {0}\n        working-directory: ${{ github.repository }}\n        run: |\n          conda activate $CONDA_ENV\n          python examples/mnist/mnist.py --epochs=1\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:12:05.191213", "created_at": "2023-08-01T15:01:27+02:00", "updated_at": "2023-08-01T15:01:27+02:00", "name": "Discuss \"help-wanted\" PR on Discord", "path": ".github/workflows/discord_pull_requests.yaml", "contents": "name: Discuss \"help-wanted\" PR on Discord\n\non:\n  pull_request:\n    types:\n      - labeled\n  workflow_dispatch:\n    inputs:\n      pull_request_number:\n        description: 'Pull request number'\n        required: true\n\npermissions:\n  pull-requests: write\n\njobs:\n  discord:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Discuss on Discord-PR (Non-maintainer only)\"\n        if: ${{ github.event.label.name == 'help wanted' }}\n        uses: EndBug/discuss-on-discord@v1.1.0\n        with:\n          discord_bot_token: ${{ secrets.DISCORD_BOT_TOKEN }}\n          destination: ${{ secrets.DISCORD_BOT_DESTINATION }}\n          issue_number: ${{ github.event.inputs.pull_request_number || github.event.pull_request.number }}\n          issue_comment: Hey 👋, I've just created a [thread]($THREAD_LINK$) for this pull request on [PyTorch-Ignite Discord](https://pytorch-ignite.ai/chat) where you can quickly talk to the community on the topic.\n          discord_message: New PR created in `${{ github.repository }}`:<https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request_number || github.event.pull_request.number }}>\n\n", "state": "active", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:12:06.248860", "created_at": "2020-05-10T02:09:52+02:00", "updated_at": "2021-04-07T16:48:07+02:00", "name": "Format python code", "path": ".github/workflows/code-style.yml", "contents": "name: Format python code\n\non:\n  push:\n    paths:\n      - \"**.py\"\n      - \"setup.cfg\"\n      - \"requirements-dev.txt\"\n      - \"pyproject.toml\"\n      - \"tests/run_code_style.sh\"\n      - \".github/workflows/code-style.yml\"\n      - \"!assets/**\"\n      - \"!docker/**\"\n      - \"!docs/**\"\n      - \"!conda.recipe\"\n\n\njobs:\n  code-style:\n    runs-on: ubuntu-latest\n    steps:\n      - if: github.event_name == 'push'\n        uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      - run: |\n          bash ./tests/run_code_style.sh install\n          bash ./tests/run_code_style.sh fmt\n\n      - name: Commit and push changes\n        uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: \"autopep8 fix\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "disabled_manually", "repository": "pytorch/ignite"}
{"mined_at": "2024-07-15T14:12:08.402305", "created_at": "2020-08-27T21:19:14+02:00", "updated_at": "2020-08-27T21:19:14+02:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "name: Backport\non:\n  pull_request_target:\n    types:\n      - closed\n      - labeled\n\njobs:\n  backport:\n    name: Backport\n    runs-on: ubuntu-latest\n    # Only react to merged PRs for security reasons.\n    # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.\n    if: >\n      github.event.pull_request.merged\n      && (\n        github.event.action == 'closed'\n        || (\n          github.event.action == 'labeled'\n          && contains(github.event.label.name, 'backport')\n        )\n      )\n    steps:\n      - uses: tibdex/backport@9565281eda0731b1d20c4025c43339fb0a23812e # v2.0.4\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "elastic/elasticsearch-py"}
{"mined_at": "2024-07-15T14:12:09.529101", "created_at": "2020-03-09T17:41:21+01:00", "updated_at": "2020-03-09T17:41:21+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "---\nname: CI\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Set up Python 3.x\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          python3 -m pip install nox\n      - name: Lint the code\n        run: nox -s lint\n\n  test-linux:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        nox-session: [\"\"]\n        runs-on: [\"ubuntu-latest\"]\n\n    runs-on: ${{ matrix.runs-on }}\n    name: test-${{ matrix.python-version }}\n    continue-on-error: false\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Set Up Python - ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Dependencies\n        run: |\n          python -m pip install nox\n      - name: Run Tests\n        shell: bash\n        run: .buildkite/run-nox.sh\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          NOX_SESSION: ${{ matrix.nox-session }}\n", "state": "active", "repository": "elastic/elasticsearch-py"}
{"mined_at": "2024-07-15T14:12:10.654477", "created_at": "2023-11-30T09:14:33+01:00", "updated_at": "2023-11-30T09:14:33+01:00", "name": "docs-preview", "path": ".github/workflows/docs-preview.yml", "contents": "---\nname: docs-preview\n\non:\n  pull_request_target:\n    types: [opened]\n\npermissions:\n  pull-requests: write\n\njobs:\n  doc-preview-pr:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: elastic/docs/.github/actions/docs-preview@master\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          repo: ${{ github.event.repository.name }}\n          preview-path: 'guide/en/elasticsearch/client/python-api/index.html'\n          pr: ${{ github.event.pull_request.number }}\n", "state": "active", "repository": "elastic/elasticsearch-py"}
{"mined_at": "2024-07-15T14:12:11.785743", "created_at": "2021-03-30T16:38:19+02:00", "updated_at": "2023-09-27T09:02:28+02:00", "name": "Unified Release", "path": ".github/workflows/unified-release.yml", "contents": null, "state": "active", "repository": "elastic/elasticsearch-py"}
{"mined_at": "2024-07-15T14:12:14.034733", "created_at": "2022-03-12T11:57:52+01:00", "updated_at": "2022-03-12T11:57:52+01:00", "name": "issues", "path": ".github/workflows/issues.yml", "contents": "name: issues\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          stale-issue-label: stale\n          stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'\n          days-before-stale: 120\n          days-before-close: 14\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n", "state": "active", "repository": "aiortc/aiortc"}
{"mined_at": "2024-07-15T14:12:15.367459", "created_at": "2020-03-02T00:23:32+01:00", "updated_at": "2023-12-01T00:59:34+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non: [push, pull_request]\n\njobs:\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install OS packages\n        run: |\n          sudo apt-get update\n          sudo apt-get install libopus-dev libvpx-dev\n      - name: Build documentation\n        run: |\n          pip install . -r requirements/doc.txt\n          make -C docs html SPHINXOPTS=-W\n\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install packages\n        run: pip install check-manifest mypy ruff\n      - name: Run linters\n        run: |\n          ruff check .\n          ruff format --check --diff .\n          check-manifest\n\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python:\n          - '3.12'\n          - '3.11'\n          - '3.10'\n          - '3.9'\n          - '3.8'\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install OS packages and disable firewall\n        if: matrix.os == 'macos-latest'\n        run: |\n          brew update\n          brew install opus libvpx\n          sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off\n      - name: Install OS packages\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo apt-get update\n          sudo apt-get install libopus-dev libvpx-dev\n      - name: Run tests\n        run: |\n          python -m pip install -U pip setuptools wheel\n          pip install .[dev]\n          coverage run -m unittest discover -v\n          coverage xml\n        shell: bash\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  package-source:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Build source package\n        run: |\n          pip install -U build\n          python -m build --sdist\n      - name: Upload source package\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist-source\n          path: dist/\n\n  package-wheel:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: macos-14\n            arch: arm64\n          - os: macos-13\n            arch: x86_64\n          - os: ubuntu-latest\n            arch: aarch64\n          - os: ubuntu-latest\n            arch: i686\n          - os: ubuntu-latest\n            arch: x86_64\n          - os: windows-latest\n            arch: AMD64\n          - os: windows-latest\n            arch: x86\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install QEMU\n        if: matrix.os == 'ubuntu-latest'\n        uses: docker/setup-qemu-action@v3\n      - name: Build wheels\n        env:\n          CIBW_ARCHS: ${{ matrix.arch }}\n          CIBW_BEFORE_BUILD: python scripts/fetch-vendor.py /tmp/vendor\n          CIBW_BEFORE_BUILD_WINDOWS: python scripts\\fetch-vendor.py C:\\cibw\\vendor\n          CIBW_ENVIRONMENT: CFLAGS=-I/tmp/vendor/include LDFLAGS=-L/tmp/vendor/lib\n          CIBW_ENVIRONMENT_WINDOWS: INCLUDE=C:\\\\cibw\\\\vendor\\\\include LIB=C:\\\\cibw\\\\vendor\\\\lib\n          CIBW_SKIP: '*-musllinux*'\n          CIBW_TEST_COMMAND: python -c \"import aiortc\"\n          # There are no binary wheels for cryptography on these platforms.\n          CIBW_TEST_SKIP: \"*-{manylinux_i686,win32} pp*\"\n        run: |\n          pip install cibuildwheel\n          cibuildwheel --output-dir dist\n        shell: bash\n      - name: Upload wheels\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist-wheel-${{ matrix.os }}-${{ matrix.arch }}\n          path: dist/\n\n  publish:\n    runs-on: ubuntu-latest\n    needs: [lint, test, package-source, package-wheel]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n          path: dist/\n      - name: Publish to PyPI\n        if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "aiortc/aiortc"}
{"mined_at": "2024-07-15T14:12:18.462182", "created_at": "2021-02-14T23:43:22+01:00", "updated_at": "2021-04-30T16:25:09+02:00", "name": "build", "path": ".github/workflows/commit.yaml", "contents": "---\nname: build\non: [push, pull_request]\npermissions:\n  contents: read\n\njobs:\n  std_tests:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.8, 3.9, 3.10.9, 3.11, 3.12.0]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -e .\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n\n      - name: Run black\n        run: |\n          black --check .\n\n      - name: Run linter\n        run: |\n          pylama .\n\n      - name: Run type checker\n        run: |\n          mypy -p napalm --config-file mypy.ini\n\n      - name: Run Tests\n        run: |\n          py.test --cov=napalm --cov-report term-missing -vs --pylama\n\n  build_docs:\n    needs: std_tests\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [3.11]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -e .\n          python -m pip install -r docs/requirements.txt\n          pip install -r requirements-dev.txt\n          pip install -r requirements.txt\n\n      - name: Doctests\n        run: |\n          make doctest\n", "state": "active", "repository": "napalm-automation/napalm"}
{"mined_at": "2024-07-15T14:12:19.563980", "created_at": "2021-05-10T10:19:29+02:00", "updated_at": "2021-05-10T10:19:29+02:00", "name": "Publish Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "name: Publish Python Package\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - '*'\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel\n    - name: Build\n      run: |\n        python setup.py sdist bdist_wheel\n    - name: Publish\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "napalm-automation/napalm"}
{"mined_at": "2024-07-15T14:12:21.577614", "created_at": "2022-05-09T10:08:46+02:00", "updated_at": "2022-06-07T09:23:06+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "# If you change this name also do it in tests_skipper.yml and ci_metrics.yml\nname: Tests\n\non:\n  workflow_dispatch: # Activate this workflow manually\n  push:\n    branches:\n      - main\n      # release branches have the form v1.9.x\n      - \"v[0-9].*[0-9].x\"\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n      - ready_for_review\n    paths:\n      # Keep the list in sync with the paths defined in the `tests_skipper.yml` workflow\n      - \"haystack/**/*.py\"\n      - \"haystack/core/pipeline/predefined/*\"\n      - \"test/**/*.py\"\n      - \"pyproject.toml\"\n\nenv:\n  OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n  CORE_AZURE_CS_ENDPOINT: ${{ secrets.CORE_AZURE_CS_ENDPOINT }}\n  CORE_AZURE_CS_API_KEY: ${{ secrets.CORE_AZURE_CS_API_KEY }}\n  AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}\n  AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  HF_API_TOKEN: ${{ secrets.HUGGINGFACE_API_KEY }}\n  PYTHON_VERSION: \"3.8\"\n  HATCH_VERSION: \"1.9.3\"\n\njobs:\n  format:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_VERSION }}\"\n\n      - name: Install Hatch\n        run: pip install hatch==${{ env.HATCH_VERSION }}\n\n      - name: Check file format\n        run: hatch run format-check\n\n      - name: Check linting\n        run: hatch run check\n\n      - name: Check presence of license header\n        run: docker run --rm -v \"$(pwd):/github/workspace\" ghcr.io/korandoru/hawkeye check\n\n      - name: Calculate alert data\n        id: calculator\n        shell: bash\n        if: (success() || failure()) && github.ref_name == 'main'\n        run: |\n          if [ \"${{ job.status }}\" = \"success\" ]; then\n            echo \"alert_type=success\" >> \"$GITHUB_OUTPUT\";\n          else\n            echo \"alert_type=error\" >> \"$GITHUB_OUTPUT\";\n          fi\n\n      - name: Send event to Datadog\n        if: (success() || failure()) && github.ref_name == 'main'\n        uses: masci/datadog@v1\n        with:\n          api-key: ${{ secrets.CORE_DATADOG_API_KEY }}\n          api-url: https://api.datadoghq.eu\n          events: |\n            - title: \"${{ github.workflow }} workflow\"\n              text: \"Job ${{ github.job }} in branch ${{ github.ref_name }}\"\n              alert_type: \"${{ steps.calculator.outputs.alert_type }}\"\n              source_type_name: \"Github\"\n              host: ${{ github.repository_owner }}\n              tags:\n                - \"project:${{ github.repository }}\"\n                - \"job:${{ github.job }}\"\n                - \"run_id:${{ github.run_id }}\"\n                - \"workflow:${{ github.workflow }}\"\n                - \"branch:${{ github.ref_name }}\"\n                - \"url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n\n  unit-tests:\n    name: Unit / ${{ matrix.os }}\n    needs: format\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - windows-latest\n          - macos-12\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_VERSION }}\"\n\n      - name: Install Hatch\n        id: hatch\n        shell: bash\n        run: |\n          pip install hatch==${{ env.HATCH_VERSION }}\n          echo \"env=$(hatch env find test)\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Run\n        run: hatch run test:unit\n\n      - uses: actions/cache/save@v4\n        id: cache\n        with:\n          path: ${{ steps.hatch.outputs.env }}\n          key: ${{ runner.os }}-${{ github.sha }}\n\n      - name: Coveralls\n        # We upload only coverage for ubuntu as handling both os\n        # complicates the workflow too much for little to no gain\n        if: matrix.os == 'ubuntu-latest'\n        uses: coverallsapp/github-action@v2\n        with:\n          path-to-lcov: coverage.xml\n\n      - name: Calculate alert data\n        id: calculator\n        shell: bash\n        if: (success() || failure()) && github.ref_name == 'main'\n        run: |\n          if [ \"${{ job.status }}\" = \"success\" ]; then\n            echo \"alert_type=success\" >> \"$GITHUB_OUTPUT\";\n          else\n            echo \"alert_type=error\" >> \"$GITHUB_OUTPUT\";\n          fi\n\n      - name: Send event to Datadog\n        if: (success() || failure()) && github.ref_name == 'main'\n        uses: masci/datadog@v1\n        with:\n          api-key: ${{ secrets.CORE_DATADOG_API_KEY }}\n          api-url: https://api.datadoghq.eu\n          events: |\n            - title: \"${{ github.workflow }} workflow\"\n              text: \"Job ${{ github.job }} in branch ${{ github.ref_name }}\"\n              alert_type: \"${{ steps.calculator.outputs.alert_type }}\"\n              source_type_name: \"Github\"\n              host: ${{ github.repository_owner }}\n              tags:\n                - \"project:${{ github.repository }}\"\n                - \"job:${{ github.job }}\"\n                - \"run_id:${{ github.run_id }}\"\n                - \"workflow:${{ github.workflow }}\"\n                - \"branch:${{ github.ref_name }}\"\n                - \"url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n\n  lint:\n    needs: unit-tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          # With the default value of 1, there are corner cases where tj-actions/changed-files\n          # fails with a `no merge base` error\n          fetch-depth: 0\n\n      - name: Get changed files\n        id: files\n        uses: tj-actions/changed-files@v44\n        with:\n          files: |\n            **/*.py\n          files_ignore: |\n            test/**\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_VERSION }}\"\n\n      - name: Install Hatch\n        id: hatch\n        run: |\n          pip install hatch==${{ env.HATCH_VERSION }}\n          echo \"env=$(hatch env find test)\" >> \"$GITHUB_OUTPUT\"\n\n      - uses: actions/cache/restore@v4\n        id: cache\n        with:\n          path: ${{ steps.hatch.outputs.env }}\n          key: ${{ runner.os }}-${{ github.sha }}\n\n      - name: Mypy\n        if: steps.files.outputs.any_changed == 'true'\n        run: |\n          mkdir .mypy_cache\n          hatch run test:types ${{ steps.files.outputs.all_changed_files }}\n\n      - name: Pylint\n        if: steps.files.outputs.any_changed == 'true'\n        run: |\n          hatch run test:lint ${{ steps.files.outputs.all_changed_files }}\n\n      - name: Calculate alert data\n        id: calculator\n        shell: bash\n        if: (success() || failure()) && github.ref_name == 'main'\n        run: |\n          if [ \"${{ job.status }}\" = \"success\" ]; then\n            echo \"alert_type=success\" >> \"$GITHUB_OUTPUT\";\n          else\n            echo \"alert_type=error\" >> \"$GITHUB_OUTPUT\";\n          fi\n\n      - name: Send event to Datadog\n        if: (success() || failure()) && github.ref_name == 'main'\n        uses: masci/datadog@v1\n        with:\n          api-key: ${{ secrets.CORE_DATADOG_API_KEY }}\n          api-url: https://api.datadoghq.eu\n          events: |\n            - title: \"${{ github.workflow }} workflow\"\n              text: \"Job ${{ github.job }} in branch ${{ github.ref_name }}\"\n              alert_type: \"${{ steps.calculator.outputs.alert_type }}\"\n              source_type_name: \"Github\"\n              host: ${{ github.repository_owner }}\n              tags:\n                - \"project:${{ github.repository }}\"\n                - \"job:${{ github.job }}\"\n                - \"run_id:${{ github.run_id }}\"\n                - \"workflow:${{ github.workflow }}\"\n                - \"branch:${{ github.ref_name }}\"\n                - \"url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n\n  integration-tests-linux:\n    name: Integration / ubuntu-latest\n    needs: unit-tests\n    runs-on: ubuntu-latest\n    services:\n      tika:\n        image: apache/tika:2.9.0.0\n        ports:\n          - 9998:9998\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_VERSION }}\"\n\n      - name: Install Hatch\n        id: hatch\n        shell: bash\n        run: |\n          pip install hatch==${{ env.HATCH_VERSION }}\n          echo \"env=$(hatch env find test)\" >> \"$GITHUB_OUTPUT\"\n\n      - uses: actions/cache/restore@v4\n        id: cache\n        with:\n          path: ${{ steps.hatch.outputs.env }}\n          key: ${{ runner.os }}-${{ github.sha }}\n\n      - name: Install dependencies\n        run: |\n          sudo apt update\n          sudo apt install ffmpeg  # for local Whisper tests\n\n      - name: Run\n        run: hatch run test:integration\n\n      - name: Calculate alert data\n        id: calculator\n        shell: bash\n        if: (success() || failure()) && github.ref_name == 'main'\n        run: |\n          if [ \"${{ job.status }}\" = \"success\" ]; then\n            echo \"alert_type=success\" >> \"$GITHUB_OUTPUT\";\n          else\n            echo \"alert_type=error\" >> \"$GITHUB_OUTPUT\";\n          fi\n\n      - name: Send event to Datadog\n        if: (success() || failure()) && github.ref_name == 'main'\n        uses: masci/datadog@v1\n        with:\n          api-key: ${{ secrets.CORE_DATADOG_API_KEY }}\n          api-url: https://api.datadoghq.eu\n          events: |\n            - title: \"${{ github.workflow }} workflow\"\n              text: \"Job ${{ github.job }} in branch ${{ github.ref_name }}\"\n              alert_type: \"${{ steps.calculator.outputs.alert_type }}\"\n              source_type_name: \"Github\"\n              host: ${{ github.repository_owner }}\n              tags:\n                - \"project:${{ github.repository }}\"\n                - \"job:${{ github.job }}\"\n                - \"run_id:${{ github.run_id }}\"\n                - \"workflow:${{ github.workflow }}\"\n                - \"branch:${{ github.ref_name }}\"\n                - \"url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n\n  integration-tests-macos:\n    name: Integration / macos-12\n    needs: unit-tests\n    runs-on: macos-12\n    env:\n      HAYSTACK_MPS_ENABLED: false\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_VERSION }}\"\n\n      - name: Install Hatch\n        id: hatch\n        shell: bash\n        run: |\n          pip install hatch==${{ env.HATCH_VERSION }}\n          echo \"env=$(hatch env find test)\" >> \"$GITHUB_OUTPUT\"\n\n      - uses: actions/cache/restore@v4\n        id: cache\n        with:\n          path: ${{ steps.hatch.outputs.env }}\n          key: ${{ runner.os }}-${{ github.sha }}\n\n      - name: Install dependencies\n        run: |\n          brew install ffmpeg  # for local Whisper tests\n\n      - name: Run\n        run: hatch run test:integration-mac\n\n      - name: Calculate alert data\n        id: calculator\n        shell: bash\n        if: (success() || failure()) && github.ref_name == 'main'\n        run: |\n          if [ \"${{ job.status }}\" = \"success\" ]; then\n            echo \"alert_type=success\" >> \"$GITHUB_OUTPUT\";\n          else\n            echo \"alert_type=error\" >> \"$GITHUB_OUTPUT\";\n          fi\n\n      - name: Send event to Datadog\n        if: (success() || failure()) && github.ref_name == 'main'\n        uses: masci/datadog@v1\n        with:\n          api-key: ${{ secrets.CORE_DATADOG_API_KEY }}\n          api-url: https://api.datadoghq.eu\n          events: |\n            - title: \"${{ github.workflow }} workflow\"\n              text: \"Job ${{ github.job }} in branch ${{ github.ref_name }}\"\n              alert_type: \"${{ steps.calculator.outputs.alert_type }}\"\n              source_type_name: \"Github\"\n              host: ${{ github.repository_owner }}\n              tags:\n                - \"project:${{ github.repository }}\"\n                - \"job:${{ github.job }}\"\n                - \"run_id:${{ github.run_id }}\"\n                - \"workflow:${{ github.workflow }}\"\n                - \"branch:${{ github.ref_name }}\"\n                - \"url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n\n  integration-tests-windows:\n    name: Integration / windows-latest\n    needs: unit-tests\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_VERSION }}\"\n\n      - name: Install Hatch\n        id: hatch\n        shell: bash\n        run: |\n          pip install hatch==${{ env.HATCH_VERSION }}\n          echo \"env=$(hatch env find test)\" >> \"$GITHUB_OUTPUT\"\n\n      - uses: actions/cache/restore@v4\n        id: cache\n        with:\n          path: ${{ steps.hatch.outputs.env }}\n          key: ${{ runner.os }}-${{ github.sha }}\n\n      - name: Run\n        run: hatch run test:integration-windows\n\n      - name: Calculate alert data\n        id: calculator\n        shell: bash\n        if: (success() || failure()) && github.ref_name == 'main'\n        run: |\n          if [ \"${{ job.status }}\" = \"success\" ]; then\n            echo \"alert_type=success\" >> \"$GITHUB_OUTPUT\";\n          else\n            echo \"alert_type=error\" >> \"$GITHUB_OUTPUT\";\n          fi\n\n      - name: Send event to Datadog\n        if: (success() || failure()) && github.ref_name == 'main'\n        uses: masci/datadog@v1\n        with:\n          api-key: ${{ secrets.CORE_DATADOG_API_KEY }}\n          api-url: https://api.datadoghq.eu\n          events: |\n            - title: \"${{ github.workflow }} workflow\"\n              text: \"Job ${{ github.job }} in branch ${{ github.ref_name }}\"\n              alert_type: \"${{ steps.calculator.outputs.alert_type }}\"\n              source_type_name: \"Github\"\n              host: ${{ github.repository_owner }}\n              tags:\n                - \"project:${{ github.repository }}\"\n                - \"job:${{ github.job }}\"\n                - \"run_id:${{ github.run_id }}\"\n                - \"workflow:${{ github.workflow }}\"\n                - \"branch:${{ github.ref_name }}\"\n                - \"url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n\n  trigger-catch-all:\n    name: Tests completed\n    # This job will be executed only after all the other tests\n    # are successful.\n    # This way we'll be able to mark only this test as required\n    # and skip it accordingly.\n    needs:\n      - integration-tests-linux\n      - integration-tests-macos\n      - integration-tests-windows\n    uses: ./.github/workflows/tests_skipper_workflow.yml\n    with:\n      tests_were_skipped: false\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:22.625180", "created_at": "2022-09-07T11:55:04+02:00", "updated_at": "2023-12-04T12:53:01+01:00", "name": "Docker image release", "path": ".github/workflows/docker_release.yml", "contents": "name: Docker image release\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    tags:\n      - \"v2.[0-9]+.[0-9]+*\"\n\nenv:\n  DOCKER_REPO_NAME: deepset/haystack\n\njobs:\n  build-and-push:\n    name: Build base image\n    runs-on: ubuntu-latest\n    if: github.repository_owner == 'deepset-ai'\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_HUB_USER }}\n          password: ${{ secrets.DOCKER_HUB_TOKEN }}\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: $DOCKER_REPO_NAME\n\n      - name: Build base images\n        uses: docker/bake-action@v5\n        env:\n          IMAGE_TAG_SUFFIX: ${{ steps.meta.outputs.version }}\n          HAYSTACK_VERSION: ${{ steps.meta.outputs.version }}\n        with:\n          workdir: docker\n          targets: base\n          push: true\n\n      - name: Test base image\n        run: |\n          EXPECTED_VERSION=$(cat VERSION.txt)\n          if [[ $EXPECTED_VERSION == *\"-\"* ]]; then\n            EXPECTED_VERSION=$(cut -d '-' -f 1 < VERSION.txt)$(cut -d '-' -f 2 < VERSION.txt)\n          fi\n          TAG=\"base-${{ steps.meta.outputs.version }}\"\n\n          PLATFORM=\"linux/amd64\"\n          VERSION=$(docker run --platform \"$PLATFORM\" --rm \"deepset/haystack:$TAG\" python -c\"from haystack.version import __version__; print(__version__)\")\n          [[ \"$VERSION\" = \"$EXPECTED_VERSION\" ]] || echo \"::error 'Haystack version in deepset/haystack:$TAG image for $PLATFORM is different from expected'\"\n\n          PLATFORM=\"linux/arm64\"\n          VERSION=$(docker run --platform \"$PLATFORM\" --rm \"deepset/haystack:$TAG\" python -c\"from haystack.version import __version__; print(__version__)\")\n          [[ \"$VERSION\" = \"$EXPECTED_VERSION\" ]] || echo \"::error 'Haystack version in deepset/haystack:$TAG image for $PLATFORM is different from expected'\"\n\n          # Remove image after test to avoid filling the GitHub runner and prevent its failure\n          docker rmi \"deepset/haystack:$TAG\"\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:23.762655", "created_at": "2022-10-06T12:00:09+02:00", "updated_at": "2024-05-02T15:23:08+02:00", "name": "Minor Version Release", "path": ".github/workflows/minor_version_release.yml", "contents": "name: Minor Version Release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"Version to release\"\n        required: true\n        type: choice\n        options:\n          - v1.x\n          - v2.x\n\nenv:\n  PYTHON_VERSION: \"3.8\"\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get branch name\n        id: branch\n        shell: python\n        run: |\n          import os\n          version = \"${{ inputs.version }}\"\n          branch = \"v1.x\" if version == \"v1.x\" else \"main\"\n          with open(os.environ[\"GITHUB_OUTPUT\"], \"a\") as f:\n            print(f\"name={branch}\", file=f)\n\n      - name: Checkout this repo\n        uses: actions/checkout@v4\n        with:\n          ref: \"${{ steps.branch.outputs.name }}\"\n\n      - name: Define all versions\n        id: versions\n        shell: bash\n        # We only need `major.minor` in Readme so we cut the full version string to the first two tokens\n        run: |\n          echo \"current_release_minor=$(cut -d \".\" -f 1,2 < VERSION.txt)\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Bump version on ${{ steps.branch.outputs.name }}\n        shell: bash\n        env:\n          # We use the HAYSTACK_BOT_TOKEN here so the PR created by the step will\n          # trigger required workflows and can be merged by anyone\n          GITHUB_TOKEN: ${{ secrets.HAYSTACK_BOT_TOKEN }}\n        run: |\n          git config --global user.name \"github-actions[bot]\"\n          git config --global user.email \"github-actions[bot]@users.noreply.github.com\"\n\n          git checkout \"${{ steps.branch.outputs.name }}\"\n\n          # Create the release branch from the current unstable\n          git checkout -b v${{ steps.versions.outputs.current_release_minor }}.x\n          git push -u origin v${{ steps.versions.outputs.current_release_minor }}.x\n\n          # Tag the base with X.Y.Z-rc0.\n          # At this point VERSION.txt still contains the previous version and not\n          # the one specified by the tag.\n          # This is good though as we just need this to make reno work properly.\n          NEW_VERSION=$(awk -F. '/[0-9]+\\./{$2++;print}' OFS=. < VERSION.txt)\n          echo \"$NEW_VERSION\" > VERSION.txt\n          VERSION_TAG=\"v$NEW_VERSION\"\n          git tag \"$VERSION_TAG\" -m\"$VERSION_TAG\"\n          git push --tags\n\n          # Create the branch that bump version in dev branch\n          cat VERSION.txt\n          git checkout -b bump-version\n          git add .\n          git commit -m \"Update unstable version to $NEW_VERSION\"\n          git push -u origin bump-version\n\n          # Create the PR\n          gh pr create -B \"${{ steps.branch.outputs.name }}\" \\\n            -H bump-version \\\n            --title \"Bump unstable version\" \\\n            --body \"This PR bumps the unstable version for ${{ inputs.version }}.\\n \\\n          The release branch \\`v${{ steps.versions.outputs.current_release_minor }}.x\\` has been correctly created.\\n\\\n          Verify documentation on Readme has been correctly updated before approving and merging this PR.\" \\\n            --label \"ignore-for-release-notes\"\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_VERSION }}\"\n\n      - name: Install release_docs.py dependencies\n        run: pip install requests\n\n      - name: Release Readme version\n        env:\n          RDME_API_KEY: ${{ secrets.README_API_KEY }}\n        run: |\n          git checkout ${{ steps.branch.outputs.name }}\n          python ./.github/utils/release_docs.py --new-version ${{ steps.versions.outputs.current_release_minor }}\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:24.783492", "created_at": "2022-10-12T16:28:34+02:00", "updated_at": "2023-12-06T13:11:30+01:00", "name": "Sync docs with Readme", "path": ".github/workflows/readme_sync.yml", "contents": "name: Sync docs with Readme\n\non:\n  pull_request:\n    paths:\n      - \"docs/pydoc/**\"\n  push:\n    branches:\n      - main\n      # release branches have the form v1.9.x\n      - \"v[0-9]+.[0-9]+.x\"\n      # Exclude 1.x release branches, there's another workflow handling those\n      - \"!v1.[0-9]+.x\"\n\nenv:\n  HATCH_VERSION: \"1.9.3\"\n  PYTHON_VERSION: \"3.10\"\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout this repo\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_VERSION }}\"\n\n      - name: Install Hatch\n        run: pip install hatch==${{ env.HATCH_VERSION }}\n\n      - name: Generate API docs\n        env:\n          # This is necessary to fetch the documentation categories\n          # from Readme.io as we need them to associate the slug\n          # in config files with their id.\n          README_API_KEY: ${{ secrets.README_API_KEY }}\n        # The command is a bit misleading, we're not actually syncing anything here,\n        # we're just generating the markdown files from the the yaml configs.\n        run: hatch run readme:sync\n\n      - name: Get version\n        id: version-getter\n        run: |\n          VERSION=\"$(hatch version | cut -d '.' -f 1,2)\"\n          CURRENT_BRANCH=\"${{ github.ref_name }}\"\n          # If we're on `main` branch we should push docs to the unstable version\n          if [ \"$CURRENT_BRANCH\" = \"main\" ]; then\n            VERSION=\"$VERSION-unstable\"\n          fi\n          echo \"version=$VERSION\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Sync docs\n        if: github.event_name == 'push'\n        uses: readmeio/rdme@v8\n        with:\n          rdme: docs ./docs/pydoc/temp --key=${{ secrets.README_API_KEY }} --version=${{ steps.version-getter.outputs.version }}\n\n      - name: Delete outdated\n        if: github.event_name == 'push'\n        env:\n          README_API_KEY: ${{ secrets.README_API_KEY }}\n        run: hatch run readme:delete-outdated  --version=\"${{ steps.version-getter.outputs.version }}\" --config-path ./docs/pydoc/config\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:25.897395", "created_at": "2022-10-31T16:02:03+01:00", "updated_at": "2022-10-31T16:02:03+01:00", "name": "Track issues with Github project", "path": ".github/workflows/project.yml", "contents": "name: Track issues with Github project\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  add-to-project:\n    name: Add new issues to project for triage\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v1.0.1\n        with:\n          project-url: https://github.com/orgs/deepset-ai/projects/5\n          github-token: ${{ secrets.GH_PROJECT_PAT }}\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:26.912813", "created_at": "2022-11-21T16:19:29+01:00", "updated_at": "2022-11-21T16:19:29+01:00", "name": "Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Labeler\"\non:\n- pull_request_target\n\npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v5\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:27.925081", "created_at": "2022-12-19T14:35:11+01:00", "updated_at": "2022-12-19T14:35:11+01:00", "name": "Stalebot", "path": ".github/workflows/stale.yml", "contents": "name: 'Stalebot'\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  makestale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          any-of-labels: 'proposal,community-triage'\n          stale-pr-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.'\n          days-before-stale: 30\n          days-before-close: 10\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:28.981753", "created_at": "2023-01-31T12:32:17+01:00", "updated_at": "2023-02-02T09:36:28+01:00", "name": "Project release on PyPi", "path": ".github/workflows/pypi_release.yml", "contents": "name: Project release on PyPi\n\non:\n  push:\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+*\"\n      # We must not release versions tagged with -rc0 suffix\n      - \"!v[0-9]+.[0-9]+.[0-9]-rc0\"\n\nenv:\n  HATCH_VERSION: \"1.9.3\"\n\njobs:\n  release-on-pypi:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install Hatch\n        run: pip install hatch==${{ env.HATCH_VERSION }}\n\n      - name: Build Haystack\n        run: hatch build\n\n      - name: Publish on PyPi\n        env:\n          HATCH_INDEX_USER: __token__\n          HATCH_INDEX_AUTH: ${{ secrets.HAYSTACK_AI_PYPI_TOKEN }}\n        run: hatch publish -y\n\n      - name: Notify Slack\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n          VERSION: ${{ github.ref_name }}\n        if: always()\n        uses: act10ns/slack@v2\n        with:\n          status: ${{ job.status }}\n          channel: \"#haystack-notifications\"\n          config: .github/config/pypi-release-slack-notification.yml\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:30.003797", "created_at": "2023-02-02T14:33:28+01:00", "updated_at": "2023-02-02T14:33:28+01:00", "name": "Github workflows linter", "path": ".github/workflows/workflows_linting.yml", "contents": "name: Github workflows linter\n\non:\n  pull_request:\n    paths:\n      - \".github/workflows\"\n\njobs:\n  lint-workflows:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install actionlint\n        run: go install github.com/rhysd/actionlint/cmd/actionlint@latest\n\n      - name: Run actionlint\n        run: actionlint\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:30.994447", "created_at": "2023-02-06T16:47:53+01:00", "updated_at": "2024-07-03T11:36:04+02:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": null, "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:31.973799", "created_at": "2023-02-07T21:17:01+01:00", "updated_at": "2023-11-27T09:38:11+01:00", "name": "REST API Tests", "path": ".github/workflows/rest_api_tests.yml", "contents": null, "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:33.081527", "created_at": "2023-02-10T09:50:05+01:00", "updated_at": "2023-02-16T09:43:29+01:00", "name": "end-to-end", "path": ".github/workflows/e2e.yml", "contents": "# If you change this name also do it in ci_metrics.yml\nname: end-to-end\n\non:\n  workflow_dispatch: # Activate this workflow manually\n  schedule:\n    - cron: \"0 0 * * *\"\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n      - ready_for_review\n    paths:\n      - \"e2e/**/*.py\"\n      - \".github/workflows/e2e.yml\"\n\nenv:\n  PYTHON_VERSION: \"3.8\"\n  OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n  HATCH_VERSION: \"1.9.3\"\n\njobs:\n  run:\n    timeout-minutes: 60\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"${{ env.PYTHON_VERSION }}\"\n\n    - name: Install Hatch\n      run: pip install hatch==${{ env.HATCH_VERSION }}\n\n    - name: Run tests\n      run: hatch run test:e2e\n\n    - name: Send event to Datadog\n      if: failure() && github.event_name == 'schedule'\n      uses: masci/datadog@v1\n      with:\n        api-key: ${{ secrets.CORE_DATADOG_API_KEY }}\n        api-url: https://api.datadoghq.eu\n        events: |\n          - title: \"${{ github.workflow }} workflow\"\n            text: \"Job ${{ github.job }} in branch ${{ github.ref_name }}\"\n            alert_type: \"error\"\n            source_type_name: \"Github\"\n            host: ${{ github.repository_owner }}\n            tags:\n              - \"project:${{ github.repository }}\"\n              - \"job:${{ github.job }}\"\n              - \"run_id:${{ github.run_id }}\"\n              - \"workflow:${{ github.workflow }}\"\n              - \"branch:${{ github.ref_name }}\"\n              - \"url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:34.188314", "created_at": "2023-02-22T18:01:21+01:00", "updated_at": "2023-12-14T12:31:10+01:00", "name": "Sync OpenAPI Schema with Readme", "path": ".github/workflows/openapi_sync.yml", "contents": null, "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:35.189933", "created_at": "2023-02-23T10:15:50+01:00", "updated_at": "2024-04-29T16:17:15+02:00", "name": "Tests", "path": ".github/workflows/tests_skipper.yml", "contents": null, "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:36.244624", "created_at": "2023-03-06T16:01:09+01:00", "updated_at": "2023-03-06T18:02:28+01:00", "name": "CI Metrics", "path": ".github/workflows/ci_metrics.yml", "contents": "name: CI Metrics\n\non:\n  workflow_run:\n    workflows:\n      - \"end-to-end\"\n      - \"Linting\"\n      - \"Tests\"\n    types:\n      - completed\n  pull_request:\n    types:\n      - opened\n      - closed\njobs:\n  send:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: int128/datadog-actions-metrics@v1\n        with:\n          datadog-api-key: ${{ secrets.DATADOG_API_KEY }}\n          datadog-site: \"datadoghq.eu\"\n          collect-job-metrics: true\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:37.385600", "created_at": "2023-04-17T10:34:50+02:00", "updated_at": "2023-11-26T04:20:03+01:00", "name": "Dependency checker", "path": ".github/workflows/imports.yml", "contents": null, "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:38.503331", "created_at": "2023-04-28T16:03:33+02:00", "updated_at": "2023-05-10T16:37:22+02:00", "name": "License Compliance", "path": ".github/workflows/license_compliance.yml", "contents": "name: License Compliance\n\non:\n  pull_request:\n    paths:\n      - \"**/pyproject.toml\"\n  # Since we test PRs, there is no need to run the workflow at each\n  # merge on `main`. Let's use a cron job instead.\n  schedule:\n    - cron: \"0 0 * * *\" # every day at midnight\n\nenv:\n  CORE_DATADOG_API_KEY: ${{ secrets.CORE_DATADOG_API_KEY }}\n  PYTHON_VERSION: \"3.10\"\n\njobs:\n  license_check_direct:\n    name: Direct dependencies only\n    env:\n      REQUIREMENTS_FILE: requirements_direct.txt\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout the code\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_VERSION }}\"\n\n      - name: Get direct dependencies\n        run: |\n          pip install toml\n          python .github/utils/pyproject_to_requirements.py pyproject.toml > ${{ env.REQUIREMENTS_FILE }}\n\n      - name: Check Licenses\n        id: license_check_report\n        uses: pilosus/action-pip-license-checker@v2\n        with:\n          github-token: ${{ secrets.GH_ACCESS_TOKEN }}\n          requirements: ${{ env.REQUIREMENTS_FILE }}\n          fail: \"Copyleft,Other,Error\"\n          # Exclusions in the vanilla distribution must be explicitly motivated\n          #\n          # - tqdm is MLP but there are no better alternatives\n          exclude: \"(?i)^(tqdm).*\"\n\n      # We keep the license inventory on FOSSA\n      - name: Send license report to Fossa\n        uses: fossas/fossa-action@v1.3.3\n        continue-on-error: true # not critical\n        with:\n          api-key: ${{ secrets.FOSSA_LICENSE_SCAN_TOKEN }}\n\n      - name: Print report\n        if: ${{ always() }}\n        run: echo \"${{ steps.license_check_report.outputs.report }}\"\n\n      - name: Calculate alert data\n        id: calculator\n        shell: bash\n        if: (success() || failure())\n        run: |\n          if [ \"${{ job.status }}\" = \"success\" ]; then\n            echo \"alert_type=success\" >> \"$GITHUB_OUTPUT\";\n          else\n            echo \"alert_type=error\" >> \"$GITHUB_OUTPUT\";\n          fi\n\n      - name: Send event to Datadog\n        # This step would fail when running in PRs opened from forks since\n        # secrets are not accessible.\n        # To prevent showing bogus failures in those PRs we skip the step.\n        # The workflow will fail in any case if the actual check fails in the previous steps.\n        if: (success() || failure()) && env.CORE_DATADOG_API_KEY != ''\n        uses: masci/datadog@v1\n        with:\n          api-key: ${{ env.CORE_DATADOG_API_KEY }}\n          api-url: https://api.datadoghq.eu\n          events: |\n            - title: \"${{ github.job }} in ${{ github.workflow }} workflow\"\n              text: \"License compliance check: direct dependencies only.\"\n              alert_type: \"${{ steps.calculator.outputs.alert_type }}\"\n              source_type_name: \"Github\"\n              host: ${{ github.repository_owner }}\n              tags:\n                - \"project:${{ github.repository }}\"\n                - \"job:${{ github.job }}\"\n                - \"run_id:${{ github.run_id }}\"\n                - \"workflow:${{ github.workflow }}\"\n                - \"branch:${{ github.ref_name }}\"\n                - \"url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:39.628750", "created_at": "2023-05-19T16:39:39+02:00", "updated_at": "2024-07-03T11:36:04+02:00", "name": "Linting", "path": ".github/workflows/linting_skipper.yml", "contents": null, "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:40.645870", "created_at": "2023-05-19T16:41:59+02:00", "updated_at": "2023-05-19T16:41:59+02:00", "name": "Add label on docstrings edit", "path": ".github/workflows/docstring_labeler.yml", "contents": "name: Add label on docstrings edit\n\non:\n  pull_request_target:\n    paths:\n      - \"haystack/**/*.py\"\n\nenv:\n  PYTHON_VERSION: \"3.11\"\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout base commit\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.base_ref }}\n\n      - name: Copy file\n        # We copy our script after base ref checkout so we keep executing\n        # the same version even after checking out the HEAD ref.\n        # This is done to prevent executing malicious code in forks' PRs.\n        run: cp .github/utils/docstrings_checksum.py \"${{ runner.temp }}/docstrings_checksum.py\"\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_VERSION }}\"\n\n      - name: Get docstrings\n        id: base-docstrings\n        run: |\n          CHECKSUM=$(python \"${{ runner.temp }}/docstrings_checksum.py\" --root \"${{ github.workspace }}\")\n          echo \"checksum=$CHECKSUM\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Checkout HEAD commit\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          # This must be set to correctly checkout a fork\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n\n      - name: Get docstrings\n        id: head-docstrings\n        run: |\n          CHECKSUM=$(python \"${{ runner.temp }}/docstrings_checksum.py\" --root \"${{ github.workspace }}\")\n          echo \"checksum=$CHECKSUM\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Check if we should label\n        id: run-check\n        run: echo \"should_run=${{ steps.base-docstrings.outputs.checksum != steps.head-docstrings.outputs.checksum }}\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Add label\n        if: ${{ steps.run-check.outputs.should_run == 'true' }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: gh pr edit ${{ github.event.pull_request.html_url }} --add-label \"type:documentation\"\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:41.758254", "created_at": "2023-05-19T16:41:59+02:00", "updated_at": "2023-11-29T15:41:55+01:00", "name": "Examples tests", "path": ".github/workflows/examples_tests.yml", "contents": null, "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:42.908093", "created_at": "2023-07-27T10:40:44+02:00", "updated_at": "2023-10-02T22:24:16+02:00", "name": "Check Release Notes", "path": ".github/workflows/release_notes.yml", "contents": "name: Check Release Notes\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n      - ready_for_review\n      - labeled\n      - unlabeled\n    paths:\n      - \"**.py\"\n      - \"pyproject.toml\"\n      - \"!.github/**/*.py\"\n\njobs:\n  reno:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          # With the default value of 1, there are corner cases where tj-actions/changed-files\n          # fails with a `no merge base` error\n          fetch-depth: 0\n\n      - name: Get release note files\n        id: changed-files\n        uses: tj-actions/changed-files@v44\n        with:\n          files: releasenotes/notes/*.yaml\n\n      - name: Check release notes\n        if: steps.changed-files.outputs.any_changed == 'false' && !contains( github.event.pull_request.labels.*.name, 'ignore-for-release-notes')\n        run: |\n          # Check if any of the commit messages contain tags ci/docs/test\n          if git log --pretty=%s origin/main..HEAD | grep -E '^(ci:|docs:|test:)' > /dev/null; then\n            echo \"Skipping release note check for commits with 'ci:', 'docs:', or 'test:' tags.\"\n          else\n            echo \"::error::The release notes file is missing, please add one or attach the label 'ignore-for-release-notes' to this PR.\"\n            exit 1\n          fi\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:44.038050", "created_at": "2023-08-17T12:56:48+02:00", "updated_at": "2023-12-05T16:01:45+01:00", "name": "Haystack 1.x Benchmarks", "path": ".github/workflows/benchmarks.yml", "contents": "name: Haystack 1.x Benchmarks\n\non:\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\nenv:\n  AWS_REGION: eu-central-1\n\njobs:\n  deploy-runner:\n    runs-on: ubuntu-latest\n    outputs:\n      cml_runner_id: ${{ steps.deploy.outputs.cml_runner_id }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: iterative/setup-cml@v3\n\n      - name: AWS authentication\n        uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502\n        with:\n          aws-region: ${{ env.AWS_REGION }}\n          role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}\n\n      - name: Launch EC2 instance and deploy runner\n        id: deploy\n        env:\n          repo_token: ${{ secrets.HAYSTACK_BOT_TOKEN }}\n        run: |\n          OUTPUT=$(cml runner launch \\\n          --cloud aws \\\n          --cloud-region ${{ env.AWS_REGION }} \\\n          --cloud-type=p3.2xlarge \\\n          --cloud-hdd-size=64 \\\n          --labels=cml 2>&1 | tee /dev/fd/2)\n          # Extract 'id' from the log and set it as an environment variable\n          ID_VALUE=$(echo \"$OUTPUT\" | jq -r '.message? | fromjson? | select(.id != null) | .id // empty')\n          echo \"cml_runner_id=$ID_VALUE\" >> \"$GITHUB_OUTPUT\"\n\n  run-reader-benchmarks:\n    needs: deploy-runner\n    runs-on: [self-hosted, cml]\n    container:\n      image: docker://iterativeai/cml:0-dvc2-base1-gpu\n      options: --gpus all\n    timeout-minutes: 2880\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: v1.x\n\n      - name: Install Haystack + Datadog requirements\n        run: |\n          pip install .[metrics,benchmarks,inference]\n          pip install -r test/benchmarks/datadog/requirements.txt\n\n      - name: Run benchmarks\n        working-directory: test/benchmarks\n        run: |\n          mkdir +p out\n          for f in ./configs/reader/*.yml; do\n            name=\"${f%.*}\"\n            echo \"=== Running benchmarks for $name ===\";\n            config_name=\"$(basename \"$name\")\"\n            python run.py --output \"out/$config_name.json\" \"$f\";\n            echo \"=== Benchmarks done for $name (or failed) ===\";\n          done\n\n      - name: Send Benchmark results to Datadog\n        working-directory: test/benchmarks\n        run: |\n          python datadog/send_metrics.py out/ ${{ secrets.CORE_DATADOG_API_KEY }} https://api.datadoghq.eu\n\n      - name: Archive benchmark results\n        uses: actions/upload-artifact@v4\n        with:\n          name: benchmark-results-reader\n          path: test/benchmarks/out/\n\n  run-elasticsearch-benchmarks:\n    needs:\n      - deploy-runner\n      - run-reader-benchmarks\n    runs-on: [self-hosted, cml]\n    container:\n      image: docker://iterativeai/cml:0-dvc2-base1-gpu\n      options: --gpus all\n    services:\n      elasticsearch:\n        image: elasticsearch:7.17.6\n        env:\n          discovery.type: \"single-node\"\n        ports:\n          - 9201:9200\n    timeout-minutes: 2880\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: v1.x\n\n      - name: Install Haystack + Datadog requirements\n        run: |\n          pip install .[metrics,elasticsearch,benchmarks,inference]\n          pip install -r test/benchmarks/datadog/requirements.txt\n\n      - name: Run benchmarks\n        working-directory: test/benchmarks\n        run: |\n          mkdir +p out\n          for f in ./configs/**/*-elasticsearch-*.yml; do\n            name=\"${f%.*}\"\n            echo \"=== Running benchmarks for $name ===\";\n            config_name=\"$(basename \"$name\")\"\n            python run.py --output \"out/$config_name.json\" \"$f\";\n            echo \"=== Benchmarks done for $name (or failed) ===\";\n          done\n\n      - name: Send Benchmark results to Datadog\n        working-directory: test/benchmarks\n        run: |\n          python datadog/send_metrics.py out/ ${{ secrets.CORE_DATADOG_API_KEY }} https://api.datadoghq.eu\n\n      - name: Archive benchmark results\n        uses: actions/upload-artifact@v4\n        with:\n          name: benchmark-results-elasticsearch\n          path: test/benchmarks/out/\n\n  run-weaviate-benchmarks:\n    needs:\n      - deploy-runner\n      - run-elasticsearch-benchmarks\n    runs-on: [self-hosted, cml]\n    container:\n      image: docker://iterativeai/cml:0-dvc2-base1-gpu\n      options: --gpus all\n    services:\n      weaviate:\n        image: semitechnologies/weaviate:1.17.2\n        env:\n          AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: \"true\"\n          PERSISTENCE_DATA_PATH: \"/var/lib/weaviate\"\n        ports:\n          - 8080:8080\n    timeout-minutes: 2880\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: v1.x\n\n      - name: Install Haystack + Datadog requirements\n        run: |\n          pip install .[metrics,weaviate,benchmarks,inference]\n          pip install -r test/benchmarks/datadog/requirements.txt\n\n      - name: Run benchmarks\n        working-directory: test/benchmarks\n        run: |\n          mkdir +p out\n          for f in ./configs/**/*-weaviate-*.yml; do\n            name=\"${f%.*}\"\n            echo \"=== Running benchmarks for $name ===\";\n            config_name=\"$(basename \"$name\")\"\n            python run.py --output \"out/$config_name.json\" \"$f\";\n            echo \"=== Benchmarks done for $name (or failed) ===\";\n          done\n\n      - name: Send Benchmark results to Datadog\n        working-directory: test/benchmarks\n        run: |\n          python datadog/send_metrics.py out/ ${{ secrets.CORE_DATADOG_API_KEY }} https://api.datadoghq.eu\n\n      - name: Archive benchmark results\n        uses: actions/upload-artifact@v4\n        with:\n          name: benchmark-results-weaviate\n          path: test/benchmarks/out/\n\n  run-opensearch-benchmarks:\n    needs:\n      - deploy-runner\n      - run-weaviate-benchmarks\n    runs-on: [self-hosted, cml]\n    container:\n      image: docker://iterativeai/cml:0-dvc2-base1-gpu\n      options: --gpus all\n    services:\n      opensearch:\n        image: opensearchproject/opensearch:1.3.5\n        env:\n          discovery.type: \"single-node\"\n          OPENSEARCH_JAVA_OPTS: \"-Xms4096m -Xmx4096m\"\n        ports:\n          - 9200:9200\n    timeout-minutes: 2880\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: v1.x\n\n      - name: Install Haystack + Datadog requirements\n        run: |\n          pip install .[metrics,opensearch,benchmarks,inference]\n          pip install -r test/benchmarks/datadog/requirements.txt\n\n      - name: Run benchmarks\n        working-directory: test/benchmarks\n        run: |\n          mkdir +p out\n          for f in ./configs/**/*-opensearch-*.yml; do\n            name=\"${f%.*}\"\n            echo \"=== Running benchmarks for $name ===\";\n            config_name=\"$(basename \"$name\")\"\n            python run.py --output \"out/$config_name.json\" \"$f\";\n            echo \"=== Benchmarks done for $name (or failed) ===\";\n          done\n\n      - name: Send Benchmark results to Datadog\n        working-directory: test/benchmarks\n        run: |\n          python datadog/send_metrics.py out/ ${{ secrets.CORE_DATADOG_API_KEY }} https://api.datadoghq.eu\n\n      - name: Archive benchmark results\n        uses: actions/upload-artifact@v4\n        with:\n          name: benchmark-results-opensearch\n          path: test/benchmarks/out/\n\n  terminate-runner:\n    if: always()\n    needs:\n      - deploy-runner\n      - run-opensearch-benchmarks\n    runs-on: ubuntu-latest\n    steps:\n      - name: AWS authentication\n        uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502\n        with:\n          aws-region: ${{ env.AWS_REGION }}\n          role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}\n\n      - name: Terminate EC2 instance\n        env:\n          CML_RUNNER_ID: ${{needs.deploy-runner.outputs.cml_runner_id}}\n        run: |\n          # Get the instance ID using its Name tag and terminate the instance\n          INSTANCE_ID=$(aws ec2 describe-instances --filters \"Name=tag:Name,Values=${{ env.CML_RUNNER_ID }}\" --query \"Reservations[*].Instances[*].[InstanceId]\" --output text)\n          aws ec2 terminate-instances --instance-ids \"$INSTANCE_ID\"\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:45.138706", "created_at": "2023-08-28T12:45:31+02:00", "updated_at": "2023-11-26T04:20:03+01:00", "name": "Tests (Preview)", "path": ".github/workflows/tests_preview_skipper.yml", "contents": null, "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:46.291621", "created_at": "2023-09-14T16:40:38+02:00", "updated_at": "2023-09-14T17:00:45+02:00", "name": "Check Release Notes", "path": ".github/workflows/release_notes_skipper.yml", "contents": "name: Check Release Notes\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n      - ready_for_review\n      - labeled\n      - unlabeled\n    paths-ignore:\n      - \"**.py\"\n      - \"pyproject.toml\"\n      - \"!.github/**/*.py\"\n\njobs:\n  reno:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Skip mandatory job\n        run: echo \"Skipped!\"\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:47.331525", "created_at": "2023-09-28T14:03:01+02:00", "updated_at": "2023-09-28T14:03:01+02:00", "name": "end-to-end (Preview)", "path": ".github/workflows/e2e-preview.yml", "contents": null, "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:48.423346", "created_at": "2023-10-10T14:54:30+02:00", "updated_at": "2023-11-27T09:38:11+01:00", "name": "Linting (Preview)", "path": ".github/workflows/linting_preview.yml", "contents": null, "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:49.547785", "created_at": "2023-10-31T22:33:53+01:00", "updated_at": "2023-11-08T12:29:40+01:00", "name": "Project release on Github", "path": ".github/workflows/github_release.yml", "contents": "name: Project release on Github\n\non:\n  workflow_dispatch:  # this is useful to re-generate the release page without a new tag being pushed\n  push:\n    tags:\n      - \"v2.[0-9]+.[0-9]+*\"\n      # Ignore release versions tagged with -rc0 suffix\n      - \"!v2.[0-9]+.[0-9]-rc0\"\n\njobs:\n  generate-notes:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-tags: true\n          fetch-depth: 0  # slow but needed by reno\n\n      - name: Parse version\n        id: version\n        run: |\n          echo \"current_release=$(awk -F \\\\- '{print $1}' < VERSION.txt)\" >> \"$GITHUB_OUTPUT\"\n          echo \"current_pre_release=$(awk -F \\\\- '{print $2}' < VERSION.txt)\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Install reno\n        run: |\n          python -m pip install --upgrade pip\n          pip install \"reno<5\"\n\n      - name: Generate release notes for release candidates - minor releases\n        if: steps.version.outputs.current_pre_release != '' && endsWith(steps.version.outputs.current_release, '.0')\n        env:\n          # When generating notes for release candidates of minor versions, pick every vX.Y.Z-rcN but\n          # stop when encounter vX.Y.Z-rc0. The -rc0 tag is added automatically when\n          # we create the release branch, so we can assume it's always there.\n          EARLIEST_VERSION: v${{ steps.version.outputs.current_release }}-rc0\n        run: |\n          reno report --no-show-source --ignore-cache --earliest-version \"$EARLIEST_VERSION\" -o relnotes.rst\n\n      - name: Generate release notes for release candidates - bugfix releases\n        if: steps.version.outputs.current_pre_release != '' && !endsWith(steps.version.outputs.current_release, '.0')\n        env:\n          # When generating notes for release candidates of bugfix releases, pick every vX.Y.Z-rcN but\n          # stop when encounter vX.Y.Z-rc1.\n          # In this case, we don't have the -rc0 tag, because we don't need to go through commits on main,\n          # as we cherry-pick them into the release branch.\n          EARLIEST_VERSION: v${{ steps.version.outputs.current_release }}-rc1\n        run: |\n          reno report --no-show-source --ignore-cache --earliest-version \"$EARLIEST_VERSION\" -o relnotes.rst\n\n      - name: Generate release notes for the final release\n        if: steps.version.outputs.current_pre_release == ''\n        # When generating notes for the final release vX.Y.Z, we just pass --version and reno\n        # will automatically collapse all the vX.Y.Z-rcN.\n        run: |\n          reno report --no-show-source --ignore-cache --version v${{ steps.version.outputs.current_release }} -o relnotes.rst\n\n      - name: Convert to Markdown\n        uses: docker://pandoc/core:3.1\n        with:\n          args: \"--from rst --to markdown_github --no-highlight relnotes.rst -o relnotes.md --wrap=none\"\n\n      - name: Debug\n        run: |\n          cat relnotes.md\n\n      - uses: ncipollo/release-action@v1\n        with:\n          bodyFile: \"relnotes.md\"\n          prerelease: ${{ steps.version.outputs.current_pre_release }}\n          allowUpdates: true\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:50.591841", "created_at": "2024-02-27T10:15:58+01:00", "updated_at": "2024-04-29T14:54:14+02:00", "name": "Tests", "path": ".github/workflows/tests_skipper_trigger.yml", "contents": "# If you change this name also do it in tests.yml and ci_metrics.yml\nname: Tests\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n      - ready_for_review\n    paths-ignore:\n      # we skip the tests unless the code changes. The problem is that GitHub will run the check anyway if any other\n      # file outside the code changed (e.g. the release notes). Hence, we need a second filter down below.\n      # keep the list in sync with the paths defined in the `tests.yml` workflow\n      - \"haystack/**/*.py\"\n      - \"haystack/core/pipeline/predefined/*\"\n      - \"test/**/*.py\"\n\njobs:\n  check_if_changed:\n    name: Check if changed\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n    outputs:\n      code_changes: ${{ steps.changes.outputs.code_changes }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Check for changed code\n        id: changes\n        uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36\n        with:\n          # keep the list in sync with the paths defined in the `tests.yml` workflow\n          filters: |\n            code_changes:\n              - haystack/**/*.py\n              - \"haystack/templates/predefined/*\"\n              - test/**/*.py\n              - \"pyproject.toml\"\n\n  trigger-catch-all:\n    name: Tests completed\n    # Don't run this check if the PR contains both code and non-code changes (e.g. release notes)\n    needs: check_if_changed\n    if: needs.check_if_changed.outputs.code_changes == 'false'\n    uses: ./.github/workflows/tests_skipper_workflow.yml\n    with:\n      tests_were_skipped: true\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:51.713843", "created_at": "2024-04-04T11:17:33+02:00", "updated_at": "2024-04-23T18:43:10+02:00", "name": "run docstrings linting", "path": ".github/workflows/docstrings_linting.yml", "contents": "name: run docstrings linting\n\non:\n  push:\n    branches:\n      - docstrings-linting\n\njobs:\n  docstrings-linting:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install Hatch\n        run: pip install hatch==\"1.9.3\"\n\n      - name: ruff docstrings linting\n        run: hatch run ruff check haystack\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:52.847288", "created_at": "2024-04-29T14:54:14+02:00", "updated_at": "2024-04-29T14:54:14+02:00", "name": "Tests", "path": ".github/workflows/tests_skipper_workflow.yml", "contents": "# If you change this name also do it in tests.yml and ci_metrics.yml\n# We use a separate workflow to skip the tests if the PR contains both code and non-code changes (e.g. release notes).\n# Skipping the job unfortunately doesn't work because GitHub will treat these jobs as successful even if they are\n# skipped. Hence, we need to revert to a separate workflow.\nname: Tests\non:\n  workflow_call:\n    inputs:\n      tests_were_skipped:\n        type: boolean\n        required: true\n\njobs:\n  catch-all:\n    # Don't run this check if the PR contains both code and non-code changes (e.g. release notes)\n    name: Mark tests as completed\n    runs-on: ubuntu-latest\n    steps:\n      - name: Skip tests\n        if: ${{ github.event.inputs.tests_were_skipped }}\n        run: echo \"Skipped!\"\n      - name: Tests completed successfully\n        if: ${{ !github.event.inputs.tests_were_skipped }}\n        run: echo \"Tests completed!\"\n", "state": "active", "repository": "deepset-ai/haystack"}
{"mined_at": "2024-07-15T14:12:54.988100", "created_at": "2021-02-02T14:22:06+01:00", "updated_at": "2021-02-02T14:22:06+01:00", "name": "SoCo", "path": ".github/workflows/soco-check-jobs.yaml", "contents": "---\nname: SoCo\n\non:\n  push:\n    branches:\n      - master\n      - 'v0.30.fixes'\n  pull_request:\n    branches:\n      - master\n      - 'v0.30.fixes'\n\njobs:\n  SoCo-Check-Jobs:\n    name: SoCo Check Jobs (${{ matrix.python-version }})\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get install graphviz libxml2-dev libxslt-dev python3-dev\n          python -m pip install --upgrade pip\n          pip install -e .\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n      - name: Lint with flake8 and pylint\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 soco\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          pylint soco\n      - name: Test with pytest\n        run: |\n          pytest --cov-config .coveragerc --cov soco .\n      - name: Test formatting with Black\n        if: matrix.python-version >= 3.8\n        run: |\n          black --check soco tests\n      - name: Test documentation build\n        if: matrix.python-version == 3.11\n        run: |\n          make docs\n", "state": "active", "repository": "soco/soco"}
{"mined_at": "2024-07-15T14:12:56.985690", "created_at": "2021-07-30T08:14:42+02:00", "updated_at": "2021-07-30T08:14:42+02:00", "name": "Python package", "path": ".github/workflows/github-actions.yml", "contents": "name: Python package\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7.13]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n              pip install -r requirements.txt\n      - name: Test with pytest\n        run: |\n              python preprocess.py --corpus_path corpora/CLUECorpusSmall_bert_sampled.txt --vocab_path models/google_zh_vocab.txt --dataset_path dataset.pt --processes_num 8 --seq_length 64 --data_processor bert\n              python pretrain.py --dataset_path dataset.pt --vocab_path models/google_zh_vocab.txt --config_path models/bert/mini_config.json --output_model_path models/bert_model.bin --total_steps 10 --save_checkpoint_steps 10 --report_steps 2 --batch_size 2\n              mv models/bert_model.bin-10 models/bert_model.bin\n              python preprocess.py --corpus_path corpora/CLUECorpusSmall_sampled.txt --vocab_path models/google_zh_vocab.txt --dataset_path dataset.pt --processes_num 8 --dynamic_masking --seq_length 64 --data_processor mlm\n              python pretrain.py --dataset_path dataset.pt --vocab_path models/google_zh_vocab.txt --config_path models/bert/mini_config.json --output_model_path models/roberta_model.bin --total_steps 10 --save_checkpoint_steps 10 --report_steps 2 --batch_size 2 --data_processor mlm --target mlm\n              mv models/roberta_model.bin-10 models/roberta_model.bin\n              python preprocess.py --corpus_path corpora/CLUECorpusSmall_bert_sampled.txt --vocab_path models/google_zh_vocab.txt --dataset_path dataset.pt --processes_num 8 --seq_length 64 --data_processor albert\n              python pretrain.py --dataset_path dataset.pt --vocab_path models/google_zh_vocab.txt --config_path models/albert/base_config.json --output_model_path models/albert_model.bin --total_steps 10 --save_checkpoint_steps 10 --report_steps 2 --batch_size 2\n              mv models/albert_model.bin-10 models/albert_model.bin\n              python preprocess.py --corpus_path corpora/CLUECorpusSmall_sampled.txt --vocab_path models/google_zh_vocab.txt --dataset_path dataset.pt --processes_num 8 --seq_length 64 --data_processor lm\n              python pretrain.py --dataset_path dataset.pt --vocab_path models/google_zh_vocab.txt --config_path models/gpt2/config.json --output_model_path models/gpt2_model.bin --total_steps 10 --save_checkpoint_steps 10 --report_steps 2 --batch_size 2\n              mv models/gpt2_model.bin-10 models/gpt2_model.bin\n              python preprocess.py --corpus_path corpora/CLUECorpusSmall_sampled.txt --vocab_path models/google_zh_vocab.txt --dataset_path dataset.pt --processes_num 8 --dynamic_masking --span_masking --seq_length 64 --data_processor mlm\n              python pretrain.py --dataset_path dataset.pt --vocab_path models/google_zh_vocab.txt --config_path models/bert/mini_config.json --output_model_path models/spanbert_model.bin --total_steps 10 --save_checkpoint_steps 10 --report_steps 2 --batch_size 2 --data_processor mlm --target mlm\n              mv models/spanbert_model.bin-10 models/spanbert_model.bin\n              python preprocess.py --corpus_path corpora/book_review_cls.txt --vocab_path models/google_zh_vocab.txt --dataset_path dataset.pt --processes_num 8 --seq_length 64 --data_processor cls\n              python pretrain.py --dataset_path dataset.pt --vocab_path models/google_zh_vocab.txt --config_path models/bert/mini_config.json --output_model_path models/cls_model.bin --total_steps 10 --save_checkpoint_steps 10 --report_steps 2 --batch_size 2 --labels_num 2 --data_processor cls --target cls\n              mv models/cls_model.bin-10 models/cls_model.bin\n              python preprocess.py --corpus_path corpora/news-commentary-v13-en-zh_sampled.txt --vocab_path models/google_uncased_en_vocab.txt --tgt_vocab_path models/google_zh_vocab.txt --dataset_path mt_dataset.pt --processes_num 8 --seq_length 64 --tgt_seq_length 64 --data_processor mt\n              python pretrain.py --dataset_path mt_dataset.pt --vocab_path models/google_uncased_en_vocab.txt --tgt_vocab_path models/google_zh_vocab.txt --config_path models/transformer/base_config.json --output_model_path models/mt_model.bin --total_steps 10 --save_checkpoint_steps 10 --report_steps 2 --batch_size 2\n              mv models/mt_model.bin-10 models/mt_model.bin\n              python preprocess.py --corpus_path corpora/CLUECorpusSmall_bert_sampled.txt --vocab_path models/google_zh_vocab.txt --dataset_path dataset.pt --processes_num 8 --seq_length 128 --tgt_seq_length 128 --dup_factor 1 --sentence_selection_strategy random --data_processor gsg\n              python pretrain.py --dataset_path dataset.pt --vocab_path models/google_zh_vocab.txt --config_path models/pegasus/base_config.json --output_model_path models/pegasus_model.bin --total_steps 10 --save_checkpoint_steps 10 --report_steps 2 --batch_size 2\n              mv models/pegasus_model.bin-10 models/pegasus_model.bin\n              python finetune/run_classifier.py --pretrained_model_path models/bert_model.bin --vocab_path models/google_zh_vocab.txt --config_path models/bert/mini_config.json --output_model_path models/classifier_model.bin --train_path datasets/test_data/book_review/train.tsv --dev_path datasets/test_data/book_review/dev.tsv --epochs_num 3 --batch_size 2\n              python inference/run_classifier_infer.py --load_model_path models/classifier_model.bin --vocab_path models/google_zh_vocab.txt --config_path models/bert/mini_config.json --test_path datasets/test_data/book_review/test_nolabel.tsv --prediction_path datasets/test_data/book_review/prediction.tsv --labels_num 2\n              python finetune/run_classifier.py --pretrained_model_path models/albert_model.bin --vocab_path models/google_zh_vocab.txt --config_path models/albert/base_config.json --output_model_path models/classifier_model.bin --train_path datasets/test_data/chnsenticorp/train.tsv --dev_path datasets/test_data/chnsenticorp/dev.tsv --learning_rate 4e-5 --epochs_num 3 --batch_size 2\n              python finetune/run_classifier_mt.py --pretrained_model_path models/bert_model.bin --vocab_path models/google_zh_vocab.txt --config_path models/bert/mini_config.json --dataset_path_list datasets/test_data/book_review/ datasets/test_data/chnsenticorp/ --epochs_num 1 --batch_size 2\n              python finetune/run_ner.py --pretrained_model_path models/bert_model.bin --vocab_path models/google_zh_vocab.txt --config_path models/bert/mini_config.json --output_model_path models/ner_model.bin --train_path datasets/test_data/msra_ner/train.tsv --dev_path datasets/test_data/msra_ner/dev.tsv --label2id_path datasets/msra_ner/label2id.json --epochs_num 2 --batch_size 2\n              python inference/run_ner_infer.py --load_model_path models/ner_model.bin --vocab_path models/google_zh_vocab.txt --config_path models/bert/mini_config.json --test_path datasets/test_data/msra_ner/test_nolabel.tsv --prediction_path datasets/test_data/msra_ner/prediction.tsv --label2id_path datasets/msra_ner/label2id.json\n              python finetune/run_cmrc.py --pretrained_model_path models/bert_model.bin --vocab_path models/google_zh_vocab.txt --config_path models/bert/mini_config.json --output_model_path models/cmrc_model.bin --train_path datasets/test_data/cmrc/train.json --dev_path datasets/test_data/cmrc/dev.json --epochs_num 2 --batch_size 2 --seq_length 128\n              python inference/run_cmrc_infer.py --load_model_path models/cmrc_model.bin --vocab_path models/google_zh_vocab.txt --config_path models/bert/mini_config.json --test_path datasets/test_data/cmrc/test.json --prediction_path datasets/test_data/cmrc/prediction.json --seq_length 128\n", "state": "active", "repository": "dbiir/uer-py"}
{"mined_at": "2024-07-15T14:13:01.139451", "created_at": "2020-12-29T04:45:21+01:00", "updated_at": "2020-12-29T04:45:21+01:00", "name": "Codacy Security Scan", "path": ".github/workflows/codacy-analysis.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# This workflow checks out code, performs a Codacy security scan\n# and integrates the results with the\n# GitHub Advanced Security code scanning feature.  For more information on\n# the Codacy security scan action usage and parameters, see\n# https://github.com/codacy/codacy-analysis-cli-action.\n# For more information on Codacy Analysis CLI in general, see\n# https://github.com/codacy/codacy-analysis-cli.\n\nname: Codacy Security Scan\n\non:\n  schedule:\n    - cron: '59 11 27 * *'\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n    types: [opened, reopened, synchronize, ready_for_review]\n  # workflow_run:\n  #   workflows: [Test Changes]\n  #   types:\n  #     - completed\n  workflow_call:\n  workflow_dispatch:\n    inputs:\n      logLevel:\n        description: 'Log level'\n        required: true\n        default: 'warning'\n        type: choice\n        options:\n        - info\n        - warning\n        - debug\n\npermissions:\n  contents: read\n\njobs:\n  codacy-security-scan:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    name: Codacy Security Scan\n    runs-on: ubuntu-latest\n    steps:\n      # Checkout the repository to the GitHub Actions runner\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis\n      - name: Run Codacy Analysis CLI\n        uses: codacy/codacy-analysis-cli-action@v4\n        with:\n          # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository\n          # You can also omit the token and run the tools that support default configurations\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          verbose: true\n          output: results.sarif\n          format: sarif\n          # Adjust severity of non-security issues\n          gh-code-scanning-compat: true\n          # Force 0 exit code to allow SARIF file generation\n          # This will handover control about PR rejection to the GitHub side\n          max-allowed-issues: 2147483647\n\n      # Upload the SARIF file generated in the previous step\n      - name: Upload SARIF results file\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "petl-developers/petl"}
{"mined_at": "2024-07-15T14:13:02.253982", "created_at": "2020-12-29T04:08:00+01:00", "updated_at": "2020-12-29T04:08:00+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  schedule:\n    - cron: '59 10 27 * *'\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n    types: [opened, reopened, synchronize, ready_for_review]\n# workflow_run:\n  #   workflows: [Test Changes]\n  #   types:\n  #     - completed\n  workflow_call:\n  workflow_dispatch:\n    inputs:\n      logLevel:\n        description: 'Log level'\n        required: true\n        default: 'warning'\n        type: choice\n        options:\n        - info\n        - warning\n        - debug\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]\n        # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "petl-developers/petl"}
{"mined_at": "2024-07-15T14:13:03.393132", "created_at": "2022-02-02T07:21:36+01:00", "updated_at": "2022-02-02T07:21:36+01:00", "name": "release", "path": ".github/workflows/publish-release.yml", "contents": "name: release\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs:\n      logLevel:\n        description: 'Log level'\n        required: true\n        default: 'warning'\n        type: choice\n        options:\n        - info\n        - warning\n        - debug\n\njobs:\n  pypi:\n    strategy:\n      matrix:\n        python: ['3.10']\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source code\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install pypa/build\n        run: |\n          python -m pip install build --user\n\n      - name: Build the petl package as source tarball\n        run: |\n          # python setup.py sdist\n          python -m build --sdist --outdir dist/ .\n\n      - name: Publish the package version ${{ github.event.release.tag_name }} to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          print_hash: true\n", "state": "active", "repository": "petl-developers/petl"}
{"mined_at": "2024-07-15T14:13:04.583941", "created_at": "2021-02-23T22:08:45+01:00", "updated_at": "2024-03-14T23:47:24+01:00", "name": "Test Changes", "path": ".github/workflows/test-changes.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions and Operating Systems\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test Changes\n\non: \n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n    types: [opened, reopened, synchronize, ready_for_review]\n  workflow_dispatch:\n    inputs:\n      logLevel:\n        description: 'Log level'\n        required: true\n        default: 'warning'\n        type: choice\n        options:\n        - info\n        - warning\n        - debug\n\njobs:\n  run-guard:\n    # it succeeds if any of the following conditions are met:\n    #   - when the PR is not a draft and is not labeled 'prevent-ci'\n    #   - when the PR is labeled 'force-ci'\n    runs-on: ubuntu-latest\n    if: |\n      (  (!github.event.pull_request.draft) &&\n         (github.event.action != 'labeled') &&\n         (!contains( github.event.pull_request.labels.*.name, 'prevent-ci')) )\n      || ((github.event.action != 'labeled') && contains( github.event.pull_request.labels.*.name, 'force-ci'))\n      || (github.event.label.name == 'force-ci')\n    steps:\n      - name: Checking if CI shoud run for this push/PR...\n        run: echo Resuming CI. Continuing next jobs...\n\n  test-source-code:\n    needs: run-guard\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ \"ubuntu-latest\", \"windows-latest\", \"macos-latest\" ]\n        python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n        include:\n          - python: '2.7'\n            os: \"ubuntu-latest\"\n\n    runs-on: \"${{ matrix.os }}\"\n    env:\n      testing: simple\n      python_eol: no\n    steps:\n      - name: Determine what scope of testing is available on ${{ matrix.os }}\n        if: |\n          (matrix.python >= '3.' ) && ( matrix.os != 'windows-latest' )\n        run: |\n          echo 'testing=full' >> $GITHUB_ENV\n\n      - name: Determine if the python ${{ matrix.python }} is available on ${{ matrix.os }}\n        if: |\n          (matrix.python < '3.' ) || ( matrix.python == '3.6' && matrix.os == 'ubuntu-latest' )\n        run: |\n          echo 'python_eol=yes' >> $GITHUB_ENV\n\n      - name: Checkout source code\n        uses: actions/checkout@v4\n\n      - name: Install linux tools\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y --no-install-recommends python3-h5py\n\n      - name: Set up Python ${{ matrix.python }}\n        if: env.python_eol == 'no'\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Set up Python ${{ matrix.python }} discontinued on ${{ matrix.os }}\n        if: env.python_eol == 'yes'\n        uses: MatteoH2O1999/setup-python@v3\n        with:\n          python-version: ${{ matrix.python }}\n          cache: pip\n\n      - name: Install test dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --prefer-binary -r requirements-tests.txt\n\n      - name: Setup environment variables for remote filesystem testing\n        if: matrix.os == 'ubuntu-latest' && matrix.python == '3.8'\n        run: |\n          echo \"Setup SMB environment variable to trigger testing in Petl\"\n          echo 'PETL_TEST_SMB=smb://WORKGROUP;petl:test@localhost/public/' >> $GITHUB_ENV\n          echo \"Setup SFTP environment variable to trigger testing in Petl\"\n          echo 'PETL_TEST_SFTP=sftp://petl:test@localhost:2244/public/' >> $GITHUB_ENV\n          echo \"::group::Install remote test dependencies\"\n          python -m pip install --prefer-binary -r requirements-remote.txt\n          echo \"::endgroup::\"\n\n      - name: Install optional test dependencies for mode ${{ env.testing }}\n        if: matrix.os == 'ubuntu-latest' && matrix.python >= '3.7'\n        env:\n          DISABLE_BLOSC_AVX2: 1\n        run: |\n          echo \"::group::Install tricky test dependencies\"\n          if ! pip install --prefer-binary -r requirements-optional.txt ; then\n            echo 'Dismissed failure installing some optional package.  Resuming tests...'\n          fi\n          # DISABLE_BLOSC_AVX2=1 && export DISABLE_BLOSC_AVX2\n          # pip install --prefer-binary bcolz\n          echo \"::endgroup::\"\n\n      - name: Install containers for remote filesystem testing\n        if: matrix.os == 'ubuntu-latest' && matrix.python == '3.8'\n        run: |\n          echo \"::group::Setup docker for SMB at: ${{ env.PETL_TEST_SMB }}$\"\n          docker run -it --name samba -p 139:139 -p 445:445 -d \"dperson/samba\" -p -u \"petl;test\" -s \"public;/public-dir;yes;no;yes;all\"\n          echo \"::endgroup::\"\n          echo \"::group::Setup docker for SFTP at: ${{ env.PETL_TEST_SFTP }}$\"\n          docker run -it --name sftp -p 2244:22 -d atmoz/sftp petl:test:::public\n          echo \"::endgroup::\"\n\n      - name: Install containers for remote database testing\n        if: matrix.os == 'ubuntu-latest' && matrix.python >= '3.6'\n        run: |\n          echo \"::group::Setup docker for MySQL\"\n          docker run -it --name mysql -p 3306:3306 -p 33060:33060 -e MYSQL_ROOT_PASSWORD=pass0 -e MYSQL_DATABASE=petl -e MYSQL_USER=petl -e MYSQL_PASSWORD=test -d mysql:latest\n          echo \"::endgroup::\"\n          echo \"::group::Setup docker for Postgres\"\n          docker run -it --name postgres -p 5432:5432 -e POSTGRES_DB=petl -e POSTGRES_USER=petl -e POSTGRES_PASSWORD=test -d postgres:latest\n          echo \"::endgroup::\"\n          echo \"::group::Install database test dependencies\"\n          python -m pip install --prefer-binary -r requirements-database.txt\n          echo \"::endgroup::\"\n\n      - name: Setup petl package\n        run: python setup.py sdist bdist_wheel\n\n      - name: Install extra packages dependencies for mode full\n        if: env.testing == 'full'\n        run: python -m pip install --prefer-binary -r requirements-formats.txt\n\n      - name: List Installed Packages for Throubleshooting\n        run: |\n          echo \"::group::List Installed Packages for Throubleshooting\"\n          python -m pip list --format freeze\n          echo \"::endgroup::\"\n\n      - name: Test python source code for mode simple\n        if: env.testing == 'simple'\n        run: pytest --cov=petl petl\n\n      - name: Test documentation inside source code for mode full\n        if: env.testing == 'full'\n        run: |\n          echo \"::group::Perform doctest-modules execution with coverage\"\n          pytest --doctest-modules --cov=petl petl\n          echo \"::endgroup::\"\n\n      - name: Coveralls\n        if: matrix.os == 'ubuntu-latest' && matrix.python == '3.8'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          python -m pip install --upgrade coveralls\n          coveralls --service=github\n\n      - name: Print source code coverage\n        run: coverage report -m\n\n  test-documentation:\n    needs: run-guard\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [3.8]\n\n    steps:\n      - name: Checkout source code\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install doc generation dependencies\n        run: |\n          python -m pip install --prefer-binary -r requirements-docs.txt\n\n      - name: Setup petl package\n        run: python setup.py build\n\n      - name: Test docs generation\n        run: |\n          cd docs\n          sphinx-build -W -b singlehtml -d ../build/doctrees . ../build/singlehtml\n\n  # TODO: 1 configuration not found: https://docs.github.com/en/actions/using-workflows/reusing-workflows#overview\n  # call-workflow-codeql:\n  #   needs: test-source-code\n  #   uses: ./.github/workflows/codeql-analysis.yml\n  #   permissions:\n  #     actions: read\n  #     contents: read\n  #     pull-requests: write\n  #     security-events: write\n  #   secrets: inherit # pass all secrets\n\n  # call-workflow-codacity:\n  #   needs: test-source-code\n  #   uses: ./.github/workflows/codacy-analysis.yml\n  #   permissions:\n  #     actions: read\n  #     contents: read\n  #     pull-requests: write\n  #     security-events: write\n  #   secrets: inherit # pass all secrets\n\n", "state": "active", "repository": "petl-developers/petl"}
{"mined_at": "2024-07-15T14:13:07.692201", "created_at": "2021-02-15T22:26:05+01:00", "updated_at": "2022-10-03T22:27:28+02:00", "name": "osf.io", "path": ".github/workflows/test-build.yml", "contents": "name: osf.io\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\nenv:\n  WHEELHOUSE: ~/.cache/wheelhouse\n  ELASTICSEARCH_ARCHIVE: elasticsearch-2.4.5.tar.gz\n  ELASTICSEARCH6_ARCHIVE: elasticsearch-6.3.1.tar.gz\n  OSF_DB_PORT: 5432\n  OSF_DB_PASSWORD: postgres\n\njobs:\n  build-cache:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v2\n    - id: cache-objects\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache\n        key: reqs_${{ hashFiles('**/requirements.txt') }}\n        restore-keys: reqs\n    - run: |\n        mkdir -p ~/.cache/downloads\n        mkdir -p ~/.cache/pip\n        mkdir -p ~/.cache/wheelhouse\n        mkdir -p ~/.cache/testmon\n        rm -rf node_modules  ## TODO remove this later\n\n  addons:\n    runs-on: ubuntu-20.04\n    needs: build-cache\n    services:\n      postgres:\n        image: postgres\n\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n    steps:\n    - uses: actions/checkout@v2\n    - id: cache-objects\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache\n        key: reqs_${{ hashFiles('**/requirements.txt') }}\n        restore-keys: reqs_\n    - uses: ./.github/actions/build-es\n      with:\n        ELASTICSEARCH_ARCHIVE: ${{ env.ELASTICSEARCH_ARCHIVE }}\n    - uses: ./.github/actions/build-es6\n      with:\n        ELASTICSEARCH6_ARCHIVE: ${{ env.ELASTICSEARCH6_ARCHIVE }}\n    - name: Set up Python 3.6\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.6\n    - name: Install lxml\n      run: |\n        sudo apt update\n        sudo apt-get install libxml2-dev libxslt-dev python-dev\n    - uses: ./.github/actions/start-build\n    - name: Run tests\n      run: invoke test_travis_addons -n 1\n\n  website:\n    runs-on: ubuntu-20.04\n    needs: build-cache\n    services:\n      postgres:\n        image: postgres\n\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n    steps:\n    - uses: actions/checkout@v2\n    - id: cache-objects\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache\n        key: reqs_${{ hashFiles('**/requirements.txt') }}\n        restore-keys: reqs_\n    - uses: ./.github/actions/build-es\n      with:\n        ELASTICSEARCH_ARCHIVE: ${{ env.ELASTICSEARCH_ARCHIVE }}\n    - uses: ./.github/actions/build-es6\n      with:\n        ELASTICSEARCH6_ARCHIVE: ${{ env.ELASTICSEARCH6_ARCHIVE }}\n    - name: Set up Python 3.6\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.6\n    - name: Install lxml\n      run: |\n        sudo apt update\n        sudo apt-get install libxml2-dev libxslt-dev python-dev\n    - uses: ./.github/actions/start-build\n    - name: Run tests\n      run: invoke test_travis_website -n 1\n\n  api1_and_js:\n    runs-on: ubuntu-20.04\n    needs: build-cache\n    services:\n      postgres:\n        image: postgres\n\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n    steps:\n      - uses: actions/checkout@v2\n      - id: cache-objects\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache\n          key: reqs_${{ hashFiles('**/requirements.txt') }}\n          restore-keys: reqs_\n      - uses: ./.github/actions/build-es\n        with:\n          ELASTICSEARCH_ARCHIVE: ${{ env.ELASTICSEARCH_ARCHIVE }}\n      - uses: ./.github/actions/build-es6\n        with:\n          ELASTICSEARCH6_ARCHIVE: ${{ env.ELASTICSEARCH6_ARCHIVE }}\n      - name: Set up Python 3.6\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.6\n      - name: Install lxml\n        run: |\n          sudo apt update\n          sudo apt-get install libxml2-dev libxslt-dev python-dev\n      - uses: ./.github/actions/start-build\n      - name: NVM & yarn install\n        run: |\n          invoke assets --dev\n      - name: Run test\n        run: invoke test_travis_api1_and_js -n 1\n\n  api2:\n    runs-on: ubuntu-20.04\n    needs: build-cache\n    services:\n      postgres:\n        image: postgres\n\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n    steps:\n    - uses: actions/checkout@v2\n    - id: cache-objects\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache\n        key: reqs_${{ hashFiles('**/requirements.txt') }}\n        restore-keys: reqs_\n    - uses: ./.github/actions/build-es\n      with:\n        ELASTICSEARCH_ARCHIVE: ${{ env.ELASTICSEARCH_ARCHIVE }}\n    - uses: ./.github/actions/build-es6\n      with:\n        ELASTICSEARCH6_ARCHIVE: ${{ env.ELASTICSEARCH6_ARCHIVE }}\n    - name: Set up Python 3.6\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.6\n    - name: Install lxml\n      run: |\n        sudo apt update\n        sudo apt-get install libxml2-dev libxslt-dev python-dev\n    - uses: ./.github/actions/start-build\n    - name: Run tests\n      run: invoke test_travis_api2 -n 1\n\n  api3_and_osf:\n    runs-on: ubuntu-20.04\n    needs: build-cache\n    services:\n      postgres:\n        image: postgres\n\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n    steps:\n    - uses: actions/checkout@v2\n    - id: cache-objects\n      uses: actions/cache@v2\n      with:\n        path: ~/.cache\n        key: reqs_${{ hashFiles('**/requirements.txt') }}\n        restore-keys: reqs_\n    - uses: ./.github/actions/build-es\n      with:\n        ELASTICSEARCH_ARCHIVE: ${{ env.ELASTICSEARCH_ARCHIVE }}\n    - uses: ./.github/actions/build-es6\n      with:\n        ELASTICSEARCH6_ARCHIVE: ${{ env.ELASTICSEARCH6_ARCHIVE }}\n    - name: Set up Python 3.6\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.6\n    - name: Install lxml\n      run: |\n        sudo apt update\n        sudo apt-get install libxml2-dev libxslt-dev python-dev\n    - uses: ./.github/actions/start-build\n    - name: Run tests\n      run: invoke test_travis_api3_and_osf -n 1\n\n", "state": "active", "repository": "centerforopenscience/osf.io"}
{"mined_at": "2024-07-15T14:13:09.670518", "created_at": "2023-01-29T22:21:02+01:00", "updated_at": "2023-01-29T22:21:02+01:00", "name": "coverage", "path": ".github/workflows/coverage.yaml", "contents": "name: coverage\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  coverage:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"< 3.12\"  # ref: https://github.com/hhursev/recipe-scrapers/issues/909\n      - name: run unittests\n        run: |\n          pip install tox\n          tox -e py\n      - name: (coveralls.io) Report code coverage\n        uses: AndreMiras/coveralls-python-action@develop\n        with:\n          github-token: \"SmlfzlVJy4ow55rduU7IU5GmmFCfAdGeq\"\n      - if: github.event_name == 'push'\n        name: (codacy) Create coverage xml report\n        run: |\n          pip install coverage\n          coverage xml\n      - if: github.event_name == 'push'\n        name: (codacy) Report code coverage\n        uses: codacy/codacy-coverage-reporter-action@v1\n        with:\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          coverage-reports: \"coverage.xml\"\n", "state": "active", "repository": "hhursev/recipe-scrapers"}
{"mined_at": "2024-07-15T14:13:10.870819", "created_at": "2021-01-23T09:52:57+01:00", "updated_at": "2022-10-17T19:03:22+02:00", "name": "linters", "path": ".github/workflows/linters.yaml", "contents": "name: linters\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  linters:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - run: pip install tox\n      - run: tox -e lint\n", "state": "active", "repository": "hhursev/recipe-scrapers"}
{"mined_at": "2024-07-15T14:13:11.868457", "created_at": "2021-01-23T09:52:57+01:00", "updated_at": "2021-01-23T09:52:57+01:00", "name": "publish", "path": ".github/workflows/publish.yaml", "contents": "name: publish\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Build the package\n        run: |\n          python -m pip install --upgrade build\n          python -m build .\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          verbose: true\n      - name: Show build version used\n        run: pip list | grep build\n", "state": "active", "repository": "hhursev/recipe-scrapers"}
{"mined_at": "2024-07-15T14:13:12.859630", "created_at": "2022-10-23T00:03:21+02:00", "updated_at": "2022-10-23T14:22:05+02:00", "name": "test_publish", "path": ".github/workflows/test_publish.yaml", "contents": "name: test_publish\n\n\n# Will attempt to build + publish package in test.pypi.org\n#\n# the build can be tested if it works as expected by installing the package with:\n# pip install --index-url https://test.pypi.org/simple/ --no-deps recipe-scrapers\n#\n# or by inspecting the files: https://test.pypi.org/project/recipe-scrapers/#files\non: workflow_dispatch\n\njobs:\n  test_publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Build the package\n        run: |\n          python -m pip install --upgrade build\n          python -m build .\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n          verbose: true\n          skip_existing: true\n      - name: Show build version used\n        run: pip list | grep build\n", "state": "active", "repository": "hhursev/recipe-scrapers"}
{"mined_at": "2024-07-15T14:13:13.876478", "created_at": "2021-01-23T09:52:57+01:00", "updated_at": "2022-10-17T19:03:22+02:00", "name": "unittests", "path": ".github/workflows/unittests.yaml", "contents": "name: unittests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-13, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          # set toxenv to workaround-darwin on macos (check tox.ini)\n          - toxenv: py\n          - os: macos-13\n            toxenv: workaround-darwin\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Run Tests\n        run: |\n          pip install tox\n          tox -e ${{ matrix.toxenv }}\n", "state": "active", "repository": "hhursev/recipe-scrapers"}
{"mined_at": "2024-07-15T14:13:15.987376", "created_at": "2021-07-03T19:28:38+02:00", "updated_at": "2024-05-29T10:57:39+02:00", "name": "Deploy release", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy release\n\non:\n  push:\n    tags:\n    - v*.*.*\n\njobs:\n  deploy-to-pypi:\n    name: Build and publish Python distributions to PyPI\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Build distribution\n      run: |\n        python setup.py sdist\n    - name: Publish distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n\n  deploy-to-github-releases:\n    name: Build and publish to GitHub Releases\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Fetch all history for all tags and branches (necessary for setuptools_scm)\n      run: git fetch --prune --unshallow\n\n    - name: Release\n      uses: softprops/action-gh-release@v2\n      with:\n        body: |\n          Revised release notes are available in the [documentation](https://pypsa.readthedocs.io/en/latest/release_notes.html).\n        append_body: true\n        generate_release_notes: true\n\n\n  update-version:\n    name: Update version in CITATION.cff\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: master\n\n    - name: Fetch all history for all tags and branches (necessary for setuptools_scm)\n      run: git fetch --prune --unshallow\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - run: pip install toml setuptools_scm\n    - run: |\n        import re\n        from setuptools_scm import get_version\n\n        # Fetch version number\n        version = get_version()\n\n        # Read CITATION.cff file\n        with open('CITATION.cff', 'r') as file:\n            cff_content = file.read()\n\n        # Update the version in the .cff file\n        updated_cff_content = re.sub(r\"(?<=version: ).+(?= #)\",version,cff_content,flags=re.MULTILINE)\n\n        # Write the updated content back to the CITATION.cff file\n        with open('CITATION.cff', 'w') as file:\n            file.write(updated_cff_content)\n\n      shell: python\n\n    - name: Commit and push changes\n      run: |\n        git config --global user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n        git config --global user.name \"github-actions[bot]\"\n        git checkout master\n        git pull origin master\n        git add CITATION.cff\n        git commit -m '[github-actions.ci] auto update version in `CITATION.cff`' || exit 0 \n        git push origin master\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pypsa/pypsa"}
{"mined_at": "2024-07-15T14:13:17.024083", "created_at": "2024-05-29T13:51:37+02:00", "updated_at": "2024-05-29T16:55:20+02:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n    - master\n  pull_request:\n    branches:\n    - master\n  schedule:\n  - cron: \"0 5 * * TUE\"\n\njobs:\n\n  test-with-pypi:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n        - 3.9\n        - \"3.10\"\n        - \"3.11\"\n        - \"3.12\"\n        os:\n        - ubuntu-latest\n        - macos-latest\n        - windows-latest\n    env:\n      MPLBACKEND: Agg  # https://github.com/orgs/community/discussions/26434\n\n    steps:\n\n    - uses: actions/checkout@v4\n\n    - name: Fetch all history for all tags and branches (necessary for setuptools_scm)\n      run: git fetch --prune --unshallow\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install macos dependencies\n      if: matrix.os == 'macos-latest'\n      run: |\n        brew install hdf5\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest\n        pip install .[dev]\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n\n    - name: Test with pytest\n      run: |\n        pytest\n\n\n  test-with-micromamba:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 3\n      matrix:\n        os:\n        - ubuntu-latest\n        - macos-latest\n        - windows-latest\n    env:\n      MPLBACKEND: Agg  # https://github.com/orgs/community/discussions/26434\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n\n    - uses: actions/checkout@v4\n\n    - name: Fetch all history for all tags and branches (necessary for setuptools_scm)\n      run: git fetch --prune --unshallow\n\n    - name: Setup micromamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        micromamba-version: latest\n        environment-file: environment_dev.yaml\n        log-level: debug\n        init-shell: bash\n          # ensure up-to-date environment with clean PyPSA dev installation\n        cache-environment: false\n        cache-downloads: true\n\n    - name: Print installed dependencies\n      run: |\n        micromamba list\n\n    - name: Install remaining packages\n      run: |\n        pip install pypower \"pandapower>=2.0\"\n\n    - name: Install PyPSA commit\n      run: |\n        pip install --no-cache-dir --no-deps -e .\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n\n    - name: Test with pytest\n      run: |\n        pytest --cov=./ --cov-report=xml\n\n      # Could be moved to a separate job\n    - name: Upload code coverage report\n      if: matrix.os == 'ubuntu-latest'\n      uses: codecov/codecov-action@v3\n", "state": "active", "repository": "pypsa/pypsa"}
{"mined_at": "2024-07-15T14:13:19.264767", "created_at": "2023-05-29T05:21:00+02:00", "updated_at": "2023-05-29T05:21:06+02:00", "name": "Cargo Make", "path": ".github/workflows/cargo-make.yaml", "contents": "name: Cargo Make\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  merge_group:\n\njobs:\n  cargo_make:\n    name: Cargo Make\n    runs-on: ubuntu-latest\n\n    env:\n      CRATES: stm32f0\n      CARGO_INCREMENTAL: 0\n      SVDTOOLS: svdtools\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Install Rust\n        uses: dtolnay/rust-toolchain@stable\n        with:\n          components: rustfmt\n\n      - name: Install cargo-make\n        run: |\n          wget https://github.com/sagiegurari/cargo-make/releases/download/0.36.8/cargo-make-v0.36.8-x86_64-unknown-linux-gnu.zip\n          unzip cargo-make-*.zip\n          mv cargo-make*/cargo-make $HOME/.cargo/bin\n\n      - name: Create working crate\n        run: cargo make crates\n\n      - name: Install tools\n        run: cargo make install\n\n      - name: Patch SVDs\n        run: cargo make patch\n\n      - name: Build PACs\n        run: cargo make svd2rust\n\n      - name: Format PACs\n        run: cargo make form\n\n      - name: Check PACs\n        run: cargo make check-patched\n\n      - name: Clean up\n        run: cargo make clean-all\n", "state": "active", "repository": "stm32-rs/stm32-rs"}
{"mined_at": "2024-07-15T14:13:20.390202", "created_at": "2023-05-29T04:15:10+02:00", "updated_at": "2023-05-29T04:16:57+02:00", "name": "Changelog", "path": ".github/workflows/changelog.yaml", "contents": "on:\n  pull_request:\n    # Run on labeled/unlabeled in addition to defaults to detect\n    # adding/removing skip-changelog labels.\n    types: [ opened, reopened, labeled, unlabeled, synchronize ]\n  merge_group:\n\nname: Changelog\n\njobs:\n  changelog:\n    name: Require Changelog\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v3\n\n      - name: Check changelog update\n        uses: dangoslen/changelog-enforcer@v3\n        with:\n          skipLabels: skip-changelog\n          missingUpdateErrorMessage: 'Please add a changelog entry to the appropriate section of the CHANGELOG.md file.'\n", "state": "active", "repository": "stm32-rs/stm32-rs"}
{"mined_at": "2024-07-15T14:13:21.518202", "created_at": "2020-05-04T02:08:28+02:00", "updated_at": "2022-02-11T08:34:21+01:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  merge_group:\n\njobs:\n  check:\n    name: Check\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        crate:\n          - stm32c0\n          - stm32f0\n          - stm32f1\n          - stm32f2\n          - stm32f3\n          - stm32f4\n          - stm32f7\n          - stm32h5\n          - stm32h7\n          - stm32l0\n          - stm32l1\n          - stm32l4\n          - stm32l5\n          - stm32g0\n          - stm32g4\n          - stm32mp1\n          - stm32wl\n          - stm32wb\n          - stm32u5\n\n    env:\n      CRATES: ${{ matrix.crate }}\n      CARGO_INCREMENTAL: 0\n      SVDTOOLS: svdtools\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Install Rust\n        uses: dtolnay/rust-toolchain@stable\n        with:\n          components: rustfmt\n\n      - name: Install xmllint\n        run: |\n          sudo apt-get update\n          sudo apt-get install libxml2-utils\n\n      - name: Create working crate\n        run: make crates\n\n      - name: Install tools\n        run: |\n          ./scripts/tool_install.sh svdtools\n          ./scripts/tool_install.sh svd2rust\n\n      - name: Patch SVDs\n        run: make -j2 patch\n\n      - name: Check SVDs\n        run: make lint\n\n      - name: Build PACs\n        run: make -j2 svd2rust\n\n      - name: Check PACs\n        run: make -j2 check\n", "state": "active", "repository": "stm32-rs/stm32-rs"}
{"mined_at": "2024-07-15T14:13:22.639652", "created_at": "2020-05-04T20:23:54+02:00", "updated_at": "2020-05-04T20:23:54+02:00", "name": "build gh-pages", "path": ".github/workflows/gh-pages.yaml", "contents": "name: build gh-pages\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build_html:\n    name: Build HTML\n    runs-on: ubuntu-latest\n    env:\n      SVDTOOLS: svdtools\n    steps:\n      - name: Checkout master\n        uses: actions/checkout@v3\n        with:\n          persist-credentials: false\n      - name: Install tools\n        run: |\n          ./scripts/tool_install.sh svdtools\n      - name: Build HTML\n        run: make -j2 html\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: html\n\n  deploy_pages:\n    name: Deploy GH Pages\n    runs-on: ubuntu-latest\n    needs: build_html\n    permissions:\n      pages: write\n      id-token: write\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    steps:\n      - name: Deploy to Github Pages\n        id: deployment\n        uses: actions/deploy-pages@v1\n", "state": "active", "repository": "stm32-rs/stm32-rs"}
{"mined_at": "2024-07-15T14:13:23.654037", "created_at": "2020-09-21T00:12:50+02:00", "updated_at": "2020-09-21T00:12:50+02:00", "name": "build mmaps", "path": ".github/workflows/mmaps_master.yaml", "contents": "name: build mmaps\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Build mmaps\n    runs-on: ubuntu-latest\n\n    env:\n      SVDTOOLS: svdtools\n\n    steps:\n      - name: Checkout stm32-rs\n        uses: actions/checkout@v3\n        with:\n          path: stm32-rs\n\n      - name: Checkout mmaps\n        uses: actions/checkout@v3\n        with:\n          repository: stm32-rs/stm32-rs-mmaps\n          ssh-key: ${{ secrets.MMAPS_KEY }}\n          path: stm32-rs-mmaps\n\n      - name: Add fictive crate\n        run: |\n          cargo init\n\n      - name: Install tools\n        run: |\n          ./stm32-rs/scripts/tool_install.sh svdtools\n\n      - name: Build and publish\n        run: |\n          cd stm32-rs\n          COMMIT=$(git rev-parse HEAD)\n          make -j2 mmaps\n          mv mmaps/* ../stm32-rs-mmaps/\n          cd ../stm32-rs-mmaps\n          git config user.name \"stm32-rs builder\"\n          git config user.email \"action@github.com\"\n          git add .\n          git commit --allow-empty -m \"stm32-rs master $COMMIT\"\n          git push origin master\n", "state": "active", "repository": "stm32-rs/stm32-rs"}
{"mined_at": "2024-07-15T14:13:24.895841", "created_at": "2020-09-21T00:47:10+02:00", "updated_at": "2024-07-07T15:24:39+02:00", "name": "compare mmaps", "path": ".github/workflows/mmaps_pr.yaml", "contents": "name: compare mmaps\n\non:\n  pull_request_target:\n    paths:\n      - 'svd/**'\n      - 'devices/**'\n      - 'cortex_m/**'\n      - 'peripherals/**'\n      - 'Makefile'\n      - 'Makefile.toml'\n      - 'scripts/tool_install.sh'\n\njobs:\n  compare:\n    name: Compare mmaps\n    runs-on: ubuntu-latest\n    continue-on-error: true\n\n    env:\n      SVDTOOLS: svdtools\n\n    steps:\n      - name: Checkout master\n        uses: actions/checkout@v3\n        with:\n          path: master\n\n      - name: Checkout pull request\n        uses: actions/checkout@v3\n        with:\n          ref: refs/pull/${{ github.event.number }}/head\n          path: pr\n\n      - name: Checkout mmaps\n        uses: actions/checkout@v3\n        with:\n          repository: stm32-rs/stm32-rs-mmaps\n          ssh-key: ${{ secrets.MMAPS_KEY }}\n          path: mmaps\n\n      - name: Add fictive crate\n        run: |\n          cargo init\n\n      - name: Install tools\n        run: |\n          ./master/scripts/tool_install.sh svdtools\n\n      - name: Build and publish\n        run: |\n          # Grab commit ID from checked out PR\n          cd pr\n          COMMIT=$(git rev-parse --short HEAD)\n          BRANCH=pr-${{ github.event.number }}-$COMMIT\n          echo \"BRANCH=$BRANCH\" >> $GITHUB_ENV\n\n          # Use the PR's YAML files to rebuild mmaps\n          cd ../master\n          rm -rf devices peripherals\n          mv ../pr/devices ../pr/peripherals .\n          make -j2 mmaps\n\n          # Use the new mmaps to make a commit in the mmaps repo\n          mv mmaps/* ../mmaps/\n          cd ../mmaps\n          git checkout -b $BRANCH\n          git add .\n          git config user.name \"stm32-rs builder\"\n          git config user.email \"action@github.com\"\n          git commit --allow-empty -m \"stm32-rs PR #${{ github.event.number }} $COMMIT\"\n          git push -f origin $BRANCH\n      - name: Comment\n        uses: mshick/add-pr-comment@v1\n        with:\n          message: |\n            [Memory map comparison](https://github.com/stm32-rs/stm32-rs-mmaps/compare/${{ env.BRANCH }})\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          repo-token-user-login: 'github-actions[bot]'\n", "state": "active", "repository": "stm32-rs/stm32-rs"}
{"mined_at": "2024-07-15T14:13:26.022877", "created_at": "2020-01-21T00:56:37+01:00", "updated_at": "2020-01-21T00:56:37+01:00", "name": "build nightlies", "path": ".github/workflows/nightlies.yaml", "contents": "name: build nightlies\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n\n    env:\n      SVDTOOLS: svdtools\n\n    steps:\n      - name: Checkout master\n        uses: actions/checkout@v3\n        with:\n          path: stm32-rs\n\n      - name: Install Rust\n        uses: dtolnay/rust-toolchain@stable\n        with:\n          components: rustfmt\n\n      - name: Add fictive crate\n        run: |\n          cargo init\n\n      - name: Install tools\n        run: ./stm32-rs/scripts/tool_install.sh\n\n      - name: Deploy SSH key\n        run: |\n          mkdir ~/.ssh\n          echo \"${{ secrets.NIGHTLIES_KEY }}\" > ~/.ssh/id_rsa\n          chmod 700 ~/.ssh\n          chmod 600 ~/.ssh/id_rsa\n          ssh-keyscan -t rsa github.com\n      - name: Build and publish\n        run: |\n          mkdir nightly\n          cd stm32-rs\n          COMMIT=$(git rev-parse HEAD)\n          make -j2 form\n          mv stm32{c,f,g,h,l,mp,u,wl,wb}* ../nightly\n          cp .github/workflows/README-nightlies.md ../nightly/README.md\n          cd ../nightly\n          git init\n          git add .\n          git config user.name \"stm32-rs builder\"\n          git config user.email \"action@github.com\"\n          git commit -m \"stm32-rs master $COMMIT\"\n          git remote add origin git@github.com:stm32-rs/stm32-rs-nightlies\n          git push --force origin master\n", "state": "active", "repository": "stm32-rs/stm32-rs"}
{"mined_at": "2024-07-15T14:13:29.114759", "created_at": "2021-09-27T12:20:01+02:00", "updated_at": "2024-04-21T14:27:18+02:00", "name": "Lint, test, build, and publish", "path": ".github/workflows/test.yml", "contents": "name: Lint, test, build, and publish\n\non:\n  push:\n\n\njobs:\n  lint_and_test:\n    name: Runs the linter and tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', '3.11']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies and kraken\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[test] flake8\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n      - name: Run tests, except training tests\n        run: |\n          pytest -k 'not test_train'\n\n  build-n-publish-pypi:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    needs: lint_and_test\n    runs-on: ubuntu-latest\n    if: startsWith(github.ref, 'refs/tags/')\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: Build a binary wheel and a source tarball\n      run: |\n        python -m pip install build --user\n        python -m build --sdist --wheel --outdir dist/ .\n    - name: Publish a Python distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n    - name: Upload PyPI artifacts to GH storage\n      uses: actions/upload-artifact@v3\n      with:\n        name: pypi_packages\n        path: dist/*\n\n  build-n-publish-anaconda:\n    name: Build and publish anaconda packages\n    needs: lint_and_test\n    runs-on: ubuntu-latest\n    if: startsWith(github.ref, 'refs/tags/')\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: 3.9\n          miniforge-variant: Mambaforge\n      - name: install dependencies build\n        shell: bash -l {0}\n        run: mamba install colorama pip ruamel ruamel.yaml rich jsonschema conda-verify anaconda-client\n      - name: Build linux-64 conda package\n        uses: prefix-dev/rattler-build-action@v0.2.6\n        with:\n          recipe-path: \"conda/recipe.yaml\"\n          build-args: \"--experimental --target-platform linux-64\"\n      - name: Build osx-64 conda package\n        uses: prefix-dev/rattler-build-action@v0.2.6\n        with:\n          recipe-path: \"conda/recipe.yaml\"\n          build-args: \"--experimental --target-platform osx-64\"\n#      - name: Build osx-arm64 conda package\n#        uses: prefix-dev/rattler-build-action@v0.2.6\n#        with:\n#          recipe-path: \"conda/recipe.yaml\"\n#          build-args: \"--experimental --target-platform osx-arm64\"\n      - name: Upload conda package\n        run: |\n          for pkg in $(find output -type f \\( -name \"*.conda\" -o -name \"*.tar.bz2\" \\) ); do\n            echo \"Uploading ${pkg}\"\n            rattler-build upload anaconda -o mittagessen -a ${{ secrets.ANACONDA_TOKEN }} \"${pkg}\"\n          done\n      - name: Upload conda artifacts to GH storage\n        uses: actions/upload-artifact@v4\n        with:\n          name: conda_packages\n          path: output/*/*.conda\n\n  autodraft-gh-release:\n    name: Create github release\n    needs: [build-n-publish-anaconda, build-n-publish-pypi]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: conda_packages\n          path: conda\n      - uses: actions/download-artifact@v4\n        with:\n          name: pypi_packages\n          path: pypi\n      - uses: \"marvinpinto/action-automatic-releases@latest\"\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          prerelease: false\n          draft: true\n          files: |\n            output/*/*.conda\n            pypi/*\n\n  publish-gh-pages:\n    name: Update kraken.re github pages\n    needs: lint_and_test\n    runs-on: ubuntu-latest\n    if: |\n      github.ref == 'refs/heads/main' ||\n      startsWith(github.ref, 'refs/tags/')\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install sphinx-multiversion\n        run:  python -m pip install sphinx-multiversion sphinx-autoapi\n      - name: Create docs\n        run:  sphinx-multiversion docs build/html\n      - name: Create redirect\n        run: cp docs/redirect.html build/html/index.html\n      - name: Push gh-pages\n        uses: crazy-max/ghaction-github-pages@v4\n        with:\n          target_branch: gh-pages\n          build_dir: build/html\n          fqdn: kraken.re\n          jekyll: false\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "mittagessen/kraken"}
{"mined_at": "2024-07-15T14:13:30.093695", "created_at": "2021-12-18T15:18:17+01:00", "updated_at": "2021-12-18T15:18:17+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mittagessen/kraken"}
{"mined_at": "2024-07-15T14:13:32.270495", "created_at": "2020-06-08T13:01:17+02:00", "updated_at": "2021-04-26T15:58:41+02:00", "name": "Froide CI", "path": ".github/workflows/ci.yml", "contents": "name: Froide CI\n\non:\n  push:\n  pull_request:\n    branches: [main]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: 'pip'\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n          cache: 'yarn'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[lint]\n          yarn install\n      - name: Run flake8\n        run: flake8 froide --statistics\n      - name: Run black\n        run: black --check froide\n      - name: Run isort\n        run: isort --check froide\n      - name: Run eslint\n        run: yarn lint\n\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.10']\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Install system-level dependencies\n        run: sudo apt-get update && sudo apt-get install libxml2-dev libxslt1-dev python3-dev libgdal-dev gdal-bin libmagic-dev libmagickwand-dev libpoppler-cpp-dev\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip~=22.0.1 pip-tools\n          pip-sync requirements-test.txt\n          pip install -e .\n          yarn install\n      - name: Build frontend\n        run: yarn run build\n      - name: Run flake8 and tests\n        run: make testci\n        env:\n          DATABASE_URL: postgis://postgres:postgres@localhost/froide\n    services:\n      postgres:\n        image: postgis/postgis:14-3.3\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: froide\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n      elasticsearch:\n        image: docker.elastic.co/elasticsearch/elasticsearch:8.11.3\n        options: -e \"discovery.type=single-node\" -e \"xpack.security.enabled=false\" --expose 9200 --health-cmd \"curl localhost:9200/_cluster/health\" --health-interval 10s --health-timeout 5s --health-retries 10\n        ports:\n          - '9200:9200'\n  testui:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8']\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Install system-level dependencies\n        run: sudo apt-get update && sudo apt-get install libxml2-dev libxslt1-dev python3-dev libgdal-dev gdal-bin python3-gdal libmagic-dev libmagickwand-dev libpoppler-cpp-dev\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip~=22.0.1 pip-tools\n          pip-sync requirements-test.txt\n          playwright install --with-deps chromium\n          pip install -e .\n          yarn install\n      - name: Build frontend\n        run: yarn run build\n      - name: Run in-browser tests\n        run: make testui\n        env:\n          DATABASE_URL: postgis://postgres:postgres@localhost/froide\n          DJANGO_TEST_SELENIUM_DRIVER: http://localhost:4444/wd/hub#chrome_headless\n    services:\n      postgres:\n        image: postgis/postgis:12-3.0\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: froide\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n      elasticsearch:\n        image: docker.elastic.co/elasticsearch/elasticsearch:8.11.3\n        options: -e \"discovery.type=single-node\" -e \"xpack.security.enabled=false\" --expose 9200 --health-cmd \"curl localhost:9200/_cluster/health\" --health-interval 10s --health-timeout 5s --health-retries 10\n        ports:\n          - '9200:9200'\n", "state": "active", "repository": "okfde/froide"}
{"mined_at": "2024-07-15T14:13:33.391224", "created_at": "2024-04-15T16:46:40+02:00", "updated_at": "2024-04-15T16:46:40+02:00", "name": "Open translation PR", "path": ".github/workflows/translations-pr.yml", "contents": "name: Open translation PR\n\non:\n  push:\n    branches:\n      - weblate\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\npermissions:\n  pull-requests: write\n\njobs:\n  translation-pr:\n    name: \"Create Translation PR\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: create pull request\n        run: gh pr create -B main -H weblate --title 'Translations update from Weblate' --body '' --repo $GITHUB_REPOSITORY || true\n        env:\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "okfde/froide"}
{"mined_at": "2024-07-15T14:13:34.400504", "created_at": "2024-04-15T16:46:40+02:00", "updated_at": "2024-04-15T16:46:40+02:00", "name": "Update translations", "path": ".github/workflows/translations.yml", "contents": "name: Update translations\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\npermissions:\n  contents: write\n\njobs:\n  translations:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: 'pip'\n          cache-dependency-path: |\n            setup.py\n            requirements.txt\n      - name: Install system-level dependencies\n        run: sudo apt-get update && sudo apt-get install libxml2-dev libxslt1-dev python3-dev libgdal-dev gdal-bin libmagic-dev libmagickwand-dev gettext libpoppler-cpp-dev\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip pip-tools\n          pip-sync requirements.txt\n          pip install -e .\n      - name: Setup Git\n        run: |\n          git config user.name \"fdsbot\"\n          git config user.email \"119665132+fdsbot@users.noreply.github.com\"\n      - name: Compile translations\n        run: make messagesde\n      - name: Commit translations\n        run: |\n          git add **/django.po || true\n          git commit -m \"💬 update translation messages\" || true\n          git push -u origin main:weblate-source --force\n", "state": "active", "repository": "okfde/froide"}
{"mined_at": "2024-07-15T14:13:36.467099", "created_at": "2021-07-27T12:24:50+02:00", "updated_at": "2021-11-24T18:33:25+01:00", "name": "KCLI-CI", "path": ".github/workflows/ci.yml", "contents": "name: KCLI-CI\non: [push, pull_request]\n\nenv:\n QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}\n QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}\n PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}\n COPR_BASE64: ${{ secrets.COPR_BASE64 }}\n PYTHONUNBUFFERED: true\n\njobs:\n\n  run-workflow:\n    name: Workflow\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v2\n      - name: Install Dependencies\n        run: sudo .github/prep.sh\n        shell: bash\n      - name: Lint Code\n        run: .github/linting.sh\n        shell: bash\n      - name: Test code\n        run: .github/testing.sh\n        shell: bash\n      - if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'karmab'\n        name: Release RPM\n        run: .github/copr.sh\n        shell: bash\n      - if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'karmab'\n        name: Release DEB\n        run: .github/cloudsmith.sh\n        shell: bash\n      - if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'karmab'\n        name: Release PYPI\n        run: .github/pypi.sh\n        shell: bash\n      - if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'karmab'\n        name: Build And Push Container\n        run: .github/container.sh\n        shell: bash\n      - if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'karmab'\n        name: Build And Push Controller Container\n        run: .github/container_controller.sh\n        shell: bash\n      - name: Push helper redfish library\n        if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n        run: ./.github/kfish.sh\n        shell: bash\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:37.595836", "created_at": "2021-11-20T22:50:19+01:00", "updated_at": "2021-11-20T22:50:19+01:00", "name": "OPENSHIFT-CI-KUBEVIRT", "path": ".github/workflows/openshift-kubevirt-ci.yml", "contents": "name: OPENSHIFT-CI-KUBEVIRT\non:\n  workflow_dispatch:\n    inputs:\n      PLAN:\n        description: 'Plan Name'\n        required: true\n        default: ci-kubevirt\n      PARAMFILE:\n        description: 'paramfile'\n        required: false\n        default: openshift-ci-paramfiles/kubevirt.yml\n      EXTRAPARAMS:\n        description: 'Extra params'\n        default: ''\n      PULLSECRET:\n        description: 'Pull Secret'\n        required: false\n        default: /root/openshift_pull.json\n      VERSION:\n        description: 'version'\n        required: false\n        default: stable\n      TAG:\n        description: 'tag'\n        required: false\n        default: \"4.15\"\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n PLAN: ${{github.event.inputs.PLAN}}\n INPUTFILE: ${{github.event.inputs.INPUTFILE}}\n PARAMFILE: ${{github.event.inputs.PARAMFILE}}\n EXTRAPARAMS: ${{github.event.inputs.EXTRAPARAMS}}\n PULLSECRET: ${{github.event.inputs.PULLSECRET}}\n VERSION: ${{github.event.inputs.VERSION}}\n TAG: ${{github.event.inputs.TAG}}\n\njobs:\n    deploy-openshift:\n      runs-on: kubevirt\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n       - name: Deploy Openshift on kubevirt\n         run: kcli create cluster openshift --paramfile $PARAMFILE -P pull_secret=$PULLSECRET -P version=$VERSION -P tag=\"$TAG\" $EXTRAPARAMS $PLAN --force\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:38.602085", "created_at": "2021-11-20T22:50:19+01:00", "updated_at": "2021-11-20T22:50:19+01:00", "name": "OPENSHIFT-CI-LIBVIRT", "path": ".github/workflows/openshift-libvirt-ci.yml", "contents": "name: OPENSHIFT-CI-LIBVIRT\non:\n  workflow_dispatch:\n    inputs:\n      PLAN:\n        description: 'Plan Name'\n        required: true\n        default: ci-libvirt\n      PARAMFILE:\n        description: 'paramfile'\n        required: false\n        default: openshift-ci-paramfiles/libvirt.yml\n      EXTRAPARAMS:\n        description: 'Extra params'\n        default: ''\n      PULLSECRET:\n        description: 'Pull Secret'\n        required: false\n        default: /root/openshift_pull.json\n      VERSION:\n        description: 'version'\n        required: false\n        default: stable\n      TAG:\n        description: 'tag'\n        required: false\n        default: \"4.15\"\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n PLAN: ${{github.event.inputs.PLAN}}\n INPUTFILE: ${{github.event.inputs.INPUTFILE}}\n PARAMFILE: ${{github.event.inputs.PARAMFILE}}\n EXTRAPARAMS: ${{github.event.inputs.EXTRAPARAMS}}\n PULLSECRET: ${{github.event.inputs.PULLSECRET}}\n VERSION: ${{github.event.inputs.VERSION}}\n TAG: ${{github.event.inputs.TAG}}\n\njobs:\n    deploy-openshift:\n      runs-on: libvirt\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n       - name: Deploy Openshift on libvirt\n         run: kcli create cluster openshift --paramfile $PARAMFILE -P pull_secret=$PULLSECRET -P version=$VERSION -P tag=\"$TAG\" $EXTRAPARAMS $PLAN --force\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:39.722153", "created_at": "2021-11-24T18:32:46+01:00", "updated_at": "2023-12-11T21:29:49+01:00", "name": "OPENSHIFT-NIGHTLY-CI", "path": ".github/workflows/openshift-nightly-ci.yml", "contents": "name: OPENSHIFT-NIGHTLY-CI\non:\n  schedule:\n    - cron: '01 18 * * *'\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n PLAN: ci\n PULLSECRET: /root/openshift_pull.json\n\njobs:\n  deploy-openshift:\n    if: github.repository == 'karmab/kcli'\n    strategy:\n      fail-fast: false\n      matrix:\n        # provider: [libvirt, kubevirt, vsphere]\n        provider: [libvirt]\n    # runs-on: ${{ matrix.provider }}\n    runs-on: u08\n    steps:\n     - uses: actions/checkout@v2\n     - run: git pull origin ${GITHUB_REF##*/}\n     - name: Install kcli\n       run: curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n     - name: Deploy Openshift on ${{ matrix.provider }}\n       run: kcli create cluster openshift --paramfile openshift-ci-paramfiles/${{ matrix.provider }}.yml -P pull_secret=$PULLSECRET $PLAN-${{ matrix.provider }} --force\n     - name: Clean everything\n       if: always()\n       run: kcli delete plan --yes $PLAN-${{ matrix.provider }}\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:40.767994", "created_at": "2022-02-18T16:12:18+01:00", "updated_at": "2022-02-18T16:12:18+01:00", "name": "SNAPSHOT", "path": ".github/workflows/snapshot.yml", "contents": "name: SNAPSHOT\n\non:\n  workflow_dispatch:\n    inputs:\n      COMMIT:\n        description: 'commit'\n        required: false\n        default: \"\"\n      TAG:\n        description: 'tag'\n        required: false\n        default: \"\"\n      EGG:\n        description: 'egg'\n        required: false\n        default: \"\"\n\nenv:\n QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}\n QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}\n PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}\n COPR_BASE64: ${{ secrets.COPR_BASE64 }}\n PYTHONUNBUFFERED: true\n COMMIT: ${{github.event.inputs.COMMIT}}\n TAG: ${{github.event.inputs.TAG}}\n EGG: ${{github.event.inputs.EGG}}\n\njobs:\n\n  run-workflow:\n    name: Workflow\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v2\n      - name: Install Dependencies\n        run: sudo .github/prep.sh\n        shell: bash\n      - name: Lint Code\n        run: .github/linting.sh\n        shell: bash\n      - name: Test code\n        run: .github/testing.sh\n        shell: bash\n      - if: github.ref == 'refs/heads/main' && github.repository_owner == 'karmab'\n        name: Snapshot Container\n        run: .github/container_snapshot.sh\n        shell: bash\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:41.768014", "created_at": "2022-09-08T00:25:18+02:00", "updated_at": "2022-09-08T00:25:18+02:00", "name": "SNO-CI", "path": ".github/workflows/sno-ci.yml", "contents": "name: SNO-CI\non:\n  workflow_dispatch:\n    inputs:\n      CLUSTER:\n        description: 'Cluster'\n        required: true\n        default: ci-sno\n      PARAMFILE:\n        description: 'paramfile'\n        required: false\n        default: openshift-ci-paramfiles/sno.yml\n      EXTRAPARAMS:\n        description: 'Extra params'\n        default: ''\n      PULLSECRET:\n        description: 'Pull Secret'\n        required: false\n        default: /root/openshift_pull.json\n      VERSION:\n        description: 'version'\n        required: false\n        default: stable\n      TAG:\n        description: 'tag'\n        required: false\n        default: \"4.15\"\n      DISKS:\n        description: 'disks'\n        required: false\n        default: \"[50,100]\"\n      NUMCPUS:\n        description: 'numcpus'\n        required: false\n        default: \"16\"\n      MEMORY:\n        description: 'memory'\n        required: false\n        default: \"32768\"\n\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n CLUSTER: ${{github.event.inputs.CLUSTER}}\n INPUTFILE: ${{github.event.inputs.INPUTFILE}}\n PARAMFILE: ${{github.event.inputs.PARAMFILE}}\n EXTRAPARAMS: ${{github.event.inputs.EXTRAPARAMS}}\n PULLSECRET: ${{github.event.inputs.PULLSECRET}}\n VERSION: ${{github.event.inputs.VERSION}}\n TAG: ${{github.event.inputs.TAG}}\n DISKS: ${{github.event.inputs.DISKS}}\n MEMORY: ${{github.event.inputs.MEMORY}}\n NUMCPUS: ${{github.event.inputs.NUMCPUS}}\n\njobs:\n    requirements:\n      runs-on: u08\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: |\n           curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n           kcli create sushy-service\n       - name: Delete old install\n         run: kcli delete cluster --yes $CLUSTER || true\n\n    deploy-baremetal-like-vm:\n      needs: requirements\n      runs-on: u08\n      steps:\n      - name: Deploy Baremetal like vm\n        run: |\n          kcli create vm -P uefi=true -P boot_order=true -P start=false -P memory=$MEMORY -P numcpus=$NUMCPUS -P disks=$DISKS -P nets=[baremetalfake] -P user=core -P plan=$CLUSTER -P kube=$CLUSTER -P kubetype=openshift $EXTRAPARAMS $CLUSTER\n\n    deploy-openshift:\n      needs: deploy-baremetal-like-vm\n      runs-on: u08\n      steps:\n      - name: Deploy SNO\n        run: |\n          kcli create cluster openshift --paramfile $PARAMFILE -P pull_secret=$PULLSECRET -P version=$VERSION -P tag=\"$TAG\" $EXTRAPARAMS $CLUSTER\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:42.778199", "created_at": "2022-09-08T00:25:18+02:00", "updated_at": "2023-12-11T21:29:49+01:00", "name": "SNO-NIGHTLY-CI", "path": ".github/workflows/sno-nightly-ci.yml", "contents": "name: SNO-NIGHTLY-CI\non:\n  schedule:\n    - cron: '01 21 * * *'\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n CLUSTER: ci-sno\n PULLSECRET: /root/openshift_pull.json\n PARAMFILE: openshift-ci-paramfiles/sno.yml\n VERSION: stable\n TAG: \"4.15\"\n\njobs:\n requirements:\n   if: github.repository == 'karmab/kcli'\n   runs-on: u08\n   steps:\n    - uses: actions/checkout@v2\n    - run: git pull origin ${GITHUB_REF##*/}\n    - name: Install kcli\n      run: |\n        curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n        kcli create sushy-service\n    - name: Delete old install\n      run: kcli -C local delete cluster --yes $CLUSTER || true\n\n deploy-baremetal-like-vm:\n   needs: requirements\n   runs-on: u08\n   steps:\n   - name: Deploy Baremetal like vm\n     run: |\n       kcli -C local create vm -P uefi=true -P boot_order=true -P start=false -P memory=32768 -P numcpus=16 -P disks=[50,100] -P nets=[baremetalfake] -P plan=$CLUSTER -P kube=$CLUSTER -P kubetype=openshift $CLUSTER\n\n deploy-openshift:\n   needs: deploy-baremetal-like-vm\n   runs-on: u08\n   steps:\n   - name: Deploy SNO\n     run: |\n       kcli create cluster openshift --paramfile $PARAMFILE -P pull_secret=$PULLSECRET -P version=$VERSION -P tag=\"$TAG\" -P sno_disk=vdb $CLUSTER\n\n# clean-up:\n#   needs: deploy-openshift\n#   runs-on: u08\n#   steps:\n#   - name: Clean everything after success\n#     run: kcli -C local delete plan --yes $CLUSTER\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:43.845710", "created_at": "2022-09-22T07:56:32+02:00", "updated_at": "2022-09-22T07:56:32+02:00", "name": "OPENSHIFT-CI-VSPHERE", "path": ".github/workflows/openshift-vsphere-ci.yml", "contents": "name: OPENSHIFT-CI-VSPHERE\non:\n  workflow_dispatch:\n    inputs:\n      PLAN:\n        description: 'Plan Name'\n        required: true\n        default: ci-vsphere\n      PARAMFILE:\n        description: 'paramfile'\n        required: false\n        default: openshift-ci-paramfiles/vsphere.yml\n      EXTRAPARAMS:\n        description: 'Extra params'\n        default: ''\n      PULLSECRET:\n        description: 'Pull Secret'\n        required: false\n        default: /root/openshift_pull.json\n      VERSION:\n        description: 'version'\n        required: false\n        default: stable\n      TAG:\n        description: 'tag'\n        required: false\n        default: \"4.13\"\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n PLAN: ${{github.event.inputs.PLAN}}\n INPUTFILE: ${{github.event.inputs.INPUTFILE}}\n PARAMFILE: ${{github.event.inputs.PARAMFILE}}\n EXTRAPARAMS: ${{github.event.inputs.EXTRAPARAMS}}\n PULLSECRET: ${{github.event.inputs.PULLSECRET}}\n VERSION: ${{github.event.inputs.VERSION}}\n TAG: ${{github.event.inputs.TAG}}\n\njobs:\n    deploy-openshift:\n      runs-on: vsphere\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n       - name: Deploy Openshift on vsphere\n         run: kcli create cluster openshift --paramfile $PARAMFILE -P pull_secret=$PULLSECRET -P version=$VERSION -P tag=\"$TAG\" $EXTRAPARAMS $PLAN --force\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:44.842968", "created_at": "2022-10-05T00:05:53+02:00", "updated_at": "2023-12-11T21:29:49+01:00", "name": "HYPERSHIFT-NIGHTLY-CI", "path": ".github/workflows/hypershift-nightly-ci.yml", "contents": "name: HYPERSHIFT-NIGHTLY-CI\n\non:\n   schedule:\n    - cron: '31 22 * * *'\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n PLAN: ci-hypershift\n PULLSECRET: /root/openshift_pull.json\n KUBECONFIG: /root/.kcli/clusters/ci-sno/auth/kubeconfig\n PARAMFILE: openshift-ci-paramfiles/hypershift.yml\n\njobs:\n    requirements:\n      if: github.repository == 'karmab/kcli'\n      runs-on: u08\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: |\n           curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n\n    deploy-hypershift:\n      needs: requirements\n      runs-on: u08\n      steps:\n      - name: Deploy hypershift cluster\n        run: kcli create cluster hypershift --pf $PARAMFILE -P pull_secret=$PULLSECRET $PLAN --force\n      - name: Clean everything\n        if: always()\n        run: kcli delete plan --yes $PLAN\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:45.870185", "created_at": "2022-10-05T08:08:08+02:00", "updated_at": "2022-10-05T08:08:08+02:00", "name": "HYPERSHIFT-CI", "path": ".github/workflows/hypershift-ci.yml", "contents": "name: HYPERSHIFT-CI\n\non:\n  workflow_dispatch:\n    inputs:\n      PLAN:\n        description: 'Plan Name'\n        required: true\n        default: ci-hypershift\n      PARAMFILE:\n        description: 'paramfile'\n        required: false\n        default: openshift-ci-paramfiles/hypershift.yml\n      EXTRAPARAMS:\n        description: 'Extra params'\n        default: ''\n      PULLSECRET:\n        description: 'Pull Secret'\n        required: false\n        default: /root/openshift_pull.json\n      VERSION:\n        description: 'version'\n        required: false\n        default: latest\n      TAG:\n        description: 'tag'\n        required: false\n        default: \"4.15\"\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n KUBECONFIG: /root/.kcli/clusters/ci-sno/auth/kubeconfig\n PLAN: ${{github.event.inputs.PLAN}}\n PARAMFILE: ${{github.event.inputs.PARAMFILE}}\n EXTRAPARAMS: ${{github.event.inputs.EXTRAPARAMS}}\n PULLSECRET: ${{github.event.inputs.PULLSECRET}}\n VERSION: ${{github.event.inputs.VERSION}}\n TAG: ${{github.event.inputs.TAG}}\n\njobs:\n    requirements:\n      runs-on: u08\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: |\n           curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n\n    deploy-hypershift:\n      needs: requirements\n      runs-on: u08\n      steps:\n      - name: Deploy hypershift cluster\n        run: kcli create cluster hypershift --paramfile $PARAMFILE -P pull_secret=$PULLSECRET -P version=$VERSION -P tag=\"$TAG\" $EXTRAPARAMS $PLAN --force\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:46.857621", "created_at": "2023-04-03T17:08:07+02:00", "updated_at": "2023-04-03T17:08:07+02:00", "name": "KUBEADM-CI", "path": ".github/workflows/kubeadm-ci.yml", "contents": "name: KUBEADM-CI\non:\n  workflow_dispatch:\n    inputs:\n      PLAN:\n        description: 'Plan Name'\n        required: true\n        default: ci-kubeadm\n      CLUSTERPROFILE:\n        description: 'Cluster Profile'\n        required: true\n        default: \"sample-kubeadm-default\"\n      EXTRAPARAMS:\n        description: 'Extra params'\n        default: ''\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n PLAN: ${{github.event.inputs.PLAN}}\n CLUSTERPROFILE: ${{github.event.inputs.CLUSTERPROFILE}}\n EXTRAPARAMS: ${{github.event.inputs.EXTRAPARAMS}}\n\njobs:\n    deploy-kubeadm:\n      runs-on: libvirt\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n       - name: Deploy Kubeadm on libvirt\n         run: kcli create cluster generic -P clusterprofile=$CLUSTERPROFILE $EXTRAPARAMS $PLAN --force\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:47.937157", "created_at": "2023-04-03T17:08:07+02:00", "updated_at": "2023-12-12T12:44:28+01:00", "name": "KUBEADM-NIGHTLY-CI", "path": ".github/workflows/kubeadm-nightly-ci.yml", "contents": "name: KUBEADM-NIGHTLY-CI\non:\n  schedule:\n    - cron: '02 21 * * *'\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n PLAN: ci-kubeadm\n CLUSTERPROFILE: sample-kubeadm-default\n EXTRAPARAMS: \"\"\n\njobs:\n    deploy-kubeadm:\n      if: github.repository == 'karmab/kcli'\n      runs-on: libvirt\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n       - name: Deploy Kubeadm on libvirt\n         run: kcli create cluster generic -P clusterprofile=$CLUSTERPROFILE $EXTRAPARAMS $PLAN --force\n       - name: Clean everything after success\n         run:  kcli delete plan --yes $PLAN\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:48.930810", "created_at": "2023-04-08T17:07:45+02:00", "updated_at": "2023-04-08T17:15:25+02:00", "name": "HYPERSHIFT-ASSISTED-CI", "path": ".github/workflows/hypershift-assisted-ci.yml", "contents": "name: HYPERSHIFT-ASSISTED-CI\non:\n  workflow_dispatch:\n    inputs:\n      CLUSTER:\n        description: 'Cluster'\n        required: true\n        default: ci-hypershift-assisted\n      PARAMFILE:\n        description: 'paramfile'\n        required: false\n        default: openshift-ci-paramfiles/hypershift_assisted.yml\n      EXTRAPARAMS:\n        description: 'Extra params'\n        default: ''\n      PULLSECRET:\n        description: 'Pull Secret'\n        required: false\n        default: /root/openshift_pull.json\n      VERSION:\n        description: 'version'\n        required: false\n        default: latest\n      TAG:\n        description: 'tag'\n        required: false\n        default: \"4.15\"\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n KUBECONFIG: /root/.kcli/clusters/ci-sno/auth/kubeconfig\n CLUSTER: ${{github.event.inputs.CLUSTER}}\n INPUTFILE: ${{github.event.inputs.INPUTFILE}}\n PARAMFILE: ${{github.event.inputs.PARAMFILE}}\n EXTRAPARAMS: ${{github.event.inputs.EXTRAPARAMS}}\n PULLSECRET: ${{github.event.inputs.PULLSECRET}}\n VERSION: ${{github.event.inputs.VERSION}}\n TAG: ${{github.event.inputs.TAG}}\n\njobs:\n    requirements:\n      runs-on: u08\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: |\n           curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n           kcli create sushy-service\n       - name: Delete old install\n         run: |\n           kcli delete cluster --yes $CLUSTER || true\n\n    deploy-hypershift:\n      runs-on: u08\n      steps:\n      - name: Deploy HYPERSHIFT ASSISTED\n        run: |\n          kcli create cluster hypershift --paramfile $PARAMFILE -P pull_secret=$PULLSECRET -P version=$VERSION -P tag=\"$TAG\" $EXTRAPARAMS $CLUSTER\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:49.917940", "created_at": "2023-04-08T17:07:45+02:00", "updated_at": "2023-12-11T21:29:49+01:00", "name": "HYPERSHIFT-ASSISTED-NIGHTLY-CI", "path": ".github/workflows/hypershift-assisted-nightly-ci.yml", "contents": "name: HYPERSHIFT-ASSISTED-NIGHTLY-CI\non:\n  schedule:\n    - cron: '39 01 * * *'\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n CLUSTER: ci-hypershift-assisted\n PULLSECRET: /root/openshift_pull.json\n KUBECONFIG: /root/.kcli/clusters/ci-sno/auth/kubeconfig\n PARAMFILE: openshift-ci-paramfiles/hypershift_assisted.yml\n\njobs:\n requirements:\n   if: github.repository == 'karmab/kcli'\n   runs-on: u08\n   steps:\n    - uses: actions/checkout@v2\n    - run: git pull origin ${GITHUB_REF##*/}\n    - name: Install kcli\n      run: |\n        curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n        kcli create sushy-service\n    - name: Delete old install\n      run: |\n        kcli delete cluster --yes $CLUSTER || true\n\n deploy-hypershift:\n   runs-on: u08\n   steps:\n   - name: Deploy HYPERSHIFT ASSISTED\n     run: |\n       kcli create cluster hypershift --pf $PARAMFILE -P pull_secret=$PULLSECRET $CLUSTER --force\n\n clean-up:\n   needs: deploy-hypershift\n   runs-on: u08\n   steps:\n   - name: Clean everything after success\n     run: |\n       kcli delete cluster --yes $CLUSTER\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:51.008318", "created_at": "2023-05-19T20:08:59+02:00", "updated_at": "2023-05-19T20:08:59+02:00", "name": "OPENSHIFT-CI-IPV6", "path": ".github/workflows/openshift-ipv6-ci.yml", "contents": "name: OPENSHIFT-CI-IPV6\non:\n  workflow_dispatch:\n    inputs:\n      PLAN:\n        description: 'Plan Name'\n        required: true\n        default: ci-ipv6\n      EXTRAPARAMS:\n        description: 'Extra params'\n        default: ''\n      PULLSECRET:\n        description: 'Pull Secret'\n        required: false\n        default: /root/openshift_pull.json\n      VERSION:\n        description: 'version'\n        required: false\n        default: stable\n      TAG:\n        description: 'tag'\n        required: false\n        default: \"4.15\"\n      NETWORK:\n        description: 'network'\n        required: false\n        default: ipv6-network\n      NETWORK_CIDR:\n        description: 'network_cidr'\n        required: false\n        default: 2620:52:0:1306::/64\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n PLAN: ${{github.event.inputs.PLAN}}\n INPUTFILE: ${{github.event.inputs.INPUTFILE}}\n EXTRAPARAMS: ${{github.event.inputs.EXTRAPARAMS}}\n PULLSECRET: ${{github.event.inputs.PULLSECRET}}\n VERSION: ${{github.event.inputs.VERSION}}\n TAG: ${{github.event.inputs.TAG}}\n NETWORK: ${{github.event.inputs.NETWORK}}\n NETWORK_CIDR: ${{github.event.inputs.NETWORK_CIDR}}\n\njobs:\n    deploy-openshift:\n      runs-on: libvirt\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n       - name: Deploy network if needed\n         run: kcli create network -c $NETWORK_CIDR $NETWORK || true\n       - name: Deploy Openshift on ipv6\n         run: kcli create cluster openshift -P clusterprofile=sample-openshift-ipv6 -P network=$NETWORK -P pull_secret=$PULLSECRET -P version=$VERSION -P tag=\"$TAG\" $EXTRAPARAMS $PLAN --force\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:51.986924", "created_at": "2023-05-19T20:08:59+02:00", "updated_at": "2024-06-04T15:24:04+02:00", "name": "OPENSHIFT-NIGHTLY-IPV6-CI", "path": ".github/workflows/openshift-nightly-ipv6.yml", "contents": "name: OPENSHIFT-NIGHTLY-IPV6-CI\non:\n  schedule:\n    - cron: '23 21 * * *'\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n PLAN: ci-ipv6\n PULLSECRET: /root/openshift_pull.json\n CLUSTERPROFILE: \"sample-openshift-ipv6\"\n EXTRAPARAMS: \"\"\n NETWORK: ipv6-network\n NETWORK_CIDR: 2620:52:0:1306::/64\n VERSION: stable\n TAG: 4.15\n\njobs:\n    deploy-openshift:\n      if: github.repository == 'karmab/kcli'\n      runs-on: u08\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n       - name: Deploy network if needed\n         run: kcli create network -c $NETWORK_CIDR $NETWORK || true\n       - name: Deploy Openshift on ipv6\n         run: kcli create cluster openshift -P clusterprofile=$CLUSTERPROFILE -P network=$NETWORK -P pull_secret=$PULLSECRET -P version=$VERSION -P tag=\"$TAG\" $EXTRAPARAMS $PLAN --force\n       - name: Clean everything\n         if: always()\n         run: kcli delete plan --yes $PLAN\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:53.055070", "created_at": "2023-11-17T15:46:00+01:00", "updated_at": "2023-12-20T16:13:13+01:00", "name": "SNOPLUS", "path": ".github/workflows/snoplus.yml", "contents": "name: SNOPLUS\non:\n  workflow_dispatch:\n    inputs:\n      CLUSTER:\n        description: 'Cluster'\n        required: true\n        default: snoplus\n      PARAMFILE:\n        description: 'paramfile'\n        required: false\n        default: openshift-ci-paramfiles/snoplus.yml\n      EXTRAPARAMS:\n        description: 'Extra params'\n        default: ''\n      PULLSECRET:\n        description: 'Pull Secret'\n        required: false\n        default: /root/openshift_pull.json\n      VERSION:\n        description: 'version'\n        required: false\n        default: stable\n      TAG:\n        description: 'tag'\n        required: false\n        default: \"4.15\"\n      PLANFILE:\n        description: 'planfile'\n        required: true\n        default: \"openshift-ci-paramfiles/snoplus_plan.yml\"\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n CLUSTER: ${{github.event.inputs.CLUSTER}}\n INPUTFILE: ${{github.event.inputs.INPUTFILE}}\n PARAMFILE: ${{github.event.inputs.PARAMFILE}}\n PLANFILE: ${{github.event.inputs.PLANFILE}}\n EXTRAPARAMS: ${{github.event.inputs.EXTRAPARAMS}}\n PULLSECRET: ${{github.event.inputs.PULLSECRET}}\n VERSION: ${{github.event.inputs.VERSION}}\n TAG: ${{github.event.inputs.TAG}}\n\njobs:\n    requirements:\n      runs-on: libvirt\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: |\n           curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n           kcli create sushy-service\n       - name: Delete old install\n         run: kcli delete cluster --yes $CLUSTER || true\n\n    deploy-baremetal-like-vms:\n      needs: requirements\n      runs-on: libvirt\n      steps:\n      - name: Deploy Baremetal like vms\n        run: kcli create plan -f $PLANFILE $CLUSTER\n     \n    deploy-openshift:\n      needs: deploy-baremetal-like-vms\n      runs-on: libvirt\n      steps:\n      - name: Deploy SNO and additional nodes\n        run: kcli create cluster openshift --paramfile $PARAMFILE -P pull_secret=$PULLSECRET -P version=$VERSION -P tag=\"$TAG\" $EXTRAPARAMS $CLUSTER\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:54.125566", "created_at": "2024-03-13T10:49:45+01:00", "updated_at": "2024-03-13T10:49:45+01:00", "name": "MICROSHIFT-NIGHTLY-CI", "path": ".github/workflows/microshift-nightly.yml", "contents": "name: MICROSHIFT-NIGHTLY-CI\non:\n  schedule:\n    - cron: '00 18 * * *'\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n CLUSTER: ci-microshift\n PULLSECRET: /root/openshift_pull.json\n VERSION: stable\n TAG: \"4.15\"\n\njobs:\n requirements:\n   if: github.repository == 'karmab/kcli'\n   runs-on: u08\n   steps:\n    - uses: actions/checkout@v2\n    - run: git pull origin ${GITHUB_REF##*/}\n    - name: Install kcli\n      run: |\n        curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n        kcli create sushy-service\n    - name: Delete old install\n      run: kcli delete cluster --yes $CLUSTER || true\n\n deploy-microshift:\n   needs: requirements\n   runs-on: u08\n   steps:\n   - name: Deploy Microshift\n     run: kcli create cluster microshift -P pull_secret=$PULLSECRET -P version=$VERSION -P tag=\"$TAG\" $CLUSTER\n\n clean-up:\n   needs: deploy-microshift\n   runs-on: u08\n   steps:\n   - name: Clean everything after success\n     run: kcli delete cluster --yes $CLUSTER\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:55.151349", "created_at": "2024-05-31T20:54:45+02:00", "updated_at": "2024-05-31T20:54:45+02:00", "name": "SNAPSHOT-MONTHLY", "path": ".github/workflows/snapshot-monthly.yml", "contents": "name: SNAPSHOT-MONTHLY\non:\n  schedule:\n    - cron: '0 0 1 * *'\n\nenv:\n QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}\n QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}\n PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}\n COPR_BASE64: ${{ secrets.COPR_BASE64 }}\n PYTHONUNBUFFERED: true\n\njobs:\n\n  run-workflow:\n    name: Workflow\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v2\n      - name: Install Dependencies\n        run: sudo .github/prep.sh\n      - name: Lint Code\n        run: .github/linting.sh\n      - name: Test code\n        run: .github/testing.sh\n      - if: github.ref == 'refs/heads/main' && github.repository_owner == 'karmab'\n        name: Snapshot container\n        run: |\n          export TAG=\"$(date +%y.%m)\"\n          .github/container_snapshot.sh\n", "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:56.224925", "created_at": "2024-07-09T08:22:41+02:00", "updated_at": "2024-07-09T08:22:41+02:00", "name": "OKD-CI", "path": ".github/workflows/okd-ci.yml", "contents": null, "state": "active", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:57.222512", "created_at": "2024-02-20T21:42:22+01:00", "updated_at": "2024-07-05T00:13:08+02:00", "name": "OKD-NIGHTLY-CI", "path": ".github/workflows/okd-nightly.yml", "contents": "name: OKD-NIGHTLY-CI\non:\n  schedule:\n    - cron: '10 20 * * *'\n\nenv:\n HOME: /root\n PYTHONUNBUFFERED: true\n PLAN: ci-okd\n PULLSECRET: /root/openshift_pull.json\n PARAMFILE: \"openshift-ci-paramfiles/okd.yml\"\n NETWORK: okd-network\n NETWORK_CIDR: 192.168.131.0/24\n VERSION: stable\n TAG: 4.15\n\njobs:\n    deploy-okd:\n      if: github.repository == 'karmab/kcli'\n      runs-on: u08\n      steps:\n       - uses: actions/checkout@v2\n       - run: git pull origin ${GITHUB_REF##*/}\n       - name: Install kcli\n         run: curl https://raw.githubusercontent.com/karmab/kcli/main/install.sh | bash\n       - name: Deploy network if needed\n         run: kcli create network -c $NETWORK_CIDR $NETWORK || true\n       - name: Deploy OKD\n         run: kcli create cluster openshift --pf $PARAMFILE $PLAN --force\n       - name: Clean everything\n         if: always()\n         run: kcli delete plan --yes $PLAN\n", "state": "disabled_manually", "repository": "karmab/kcli"}
{"mined_at": "2024-07-15T14:13:59.507619", "created_at": "2022-11-11T19:05:24+01:00", "updated_at": "2022-11-12T13:47:55+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"dev\", \"master\" ]\n  pull_request:\n    branches: [ \"dev\" ]\n  schedule:\n    - cron: \"23 2 * * 2\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "oemof/oemof-solph"}
{"mined_at": "2024-07-15T14:14:00.838701", "created_at": "2021-02-16T17:14:43+01:00", "updated_at": "2021-02-16T17:14:43+01:00", "name": "Black", "path": ".github/workflows/lint.yml", "contents": "name: Black\n\non:\n  push:\n    branches:\n      - master\n      - dev\n  pull_request:\n\njobs:\n  run-linters:\n    name: Run linters\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Install Python dependencies\n        run: pip install black flake8\n\n      - name: Run linters\n        uses: samuelmeuli/lint-action@v1\n        with:\n          github_token: ${{ secrets.github_token }}\n          # Enable linters\n          black: true\n          flake8: false\n          # Mark the following line true if you want linters to attempt to autocorrect your code\n          auto_fix: false\n          git_name: \"Greene Lab Linter\"\n          git_email: \"csgreene@upenn.edu\"\n", "state": "active", "repository": "oemof/oemof-solph"}
{"mined_at": "2024-07-15T14:14:01.854806", "created_at": "2021-02-16T13:47:41+01:00", "updated_at": "2021-02-16T13:47:41+01:00", "name": "packaging", "path": ".github/workflows/packaging.yml", "contents": "name: packaging\n\non:\n  # Make sure packaging process is not broken\n  push:\n    branches: [master, dev]\n  pull_request:\n  # Make a package for release\n  release:\n    types: [published]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools setuptools_scm twine wheel build\n    - name: Create packages\n      run: python -m build .\n    - name: Run twine check\n      run: twine check dist/*\n    - uses: actions/upload-artifact@v2\n      with:\n        name: tox-gh-actions-dist\n        path: dist\n", "state": "active", "repository": "oemof/oemof-solph"}
{"mined_at": "2024-07-15T14:14:02.989203", "created_at": "2021-02-16T13:49:54+01:00", "updated_at": "2021-02-16T13:49:54+01:00", "name": "tox checks", "path": ".github/workflows/tox_checks.yml", "contents": "# NB: this name is used in the status badge\nname: tox checks\n\non:\n  push:\n    branches:\n      - master\n      - dev\n  pull_request:\n\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 5 * * 6\"  # 5:00 UTC every Saturday\n\njobs:\n  lint:\n    name: ${{ matrix.toxenv }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        toxenv:\n          - clean\n          - check\n          - docs\n\n    steps:\n      - name: Update package list\n        run: sudo apt update\n      - name: Install LaTeX\n        run: sudo apt install dvipng rubber texlive-latex-extra\n      - name: Git clone\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ env.default_python || '3.9' }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.default_python || '3.9' }}\"\n\n      - name: Pip cache\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ matrix.toxenv }}-${{ hashFiles('tox.ini', 'setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-${{ matrix.toxenv }}-\n            ${{ runner.os }}-pip-\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U setuptools wheel build\n          python -m pip install -U tox\n\n      - name: Run ${{ matrix.toxenv }}\n        run: python -m tox -e ${{ matrix.toxenv }}\n", "state": "active", "repository": "oemof/oemof-solph"}
{"mined_at": "2024-07-15T14:14:04.113466", "created_at": "2021-02-16T13:49:54+01:00", "updated_at": "2021-02-16T13:49:54+01:00", "name": "tox pytests", "path": ".github/workflows/tox_pytests.yml", "contents": "name: tox pytests\n\non:\n  push:\n    branches:\n      - master\n      - dev\n  pull_request:\n\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 5 * * 6\"  # 5:00 UTC every Saturday\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9, \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Install cbc\n      run: sudo apt install coinor-cbc\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox tox-gh-actions coverage coveralls\n    - name: Test with tox\n      run: tox\n\n    - name: Check test coverage\n      run: coverage report -m --fail-under=${{ matrix.vcs == 'bzr' && 89 || 90 }}\n\n    - name: Report to coveralls\n      run: coveralls\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NAME: github\n", "state": "active", "repository": "oemof/oemof-solph"}
{"mined_at": "2024-07-15T14:14:06.265820", "created_at": "2023-10-23T13:26:45+02:00", "updated_at": "2023-10-23T16:19:35+02:00", "name": "Branch Push CI", "path": ".github/workflows/commit-ci.yml", "contents": "name: Branch Push CI\n\non:\n  push:\n    branches:\n      - \"**\"\n    paths-ignore:\n      - README.md\n      - changelog.rst\n      - LICENSE\n      - CITATION\n      - AUTHORS\n      - doc/**\n      - docs/**\n      - .readthedocs.yml\n      - .pre-commit-config.yaml\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: mamba-org/setup-micromamba@v1\n      with:\n        micromamba-version: latest\n        environment-name: ${{ github.event.repository.name }}-ubuntu-latest-312-${{ hashFiles('requirements/dev.txt') }}\n        environment-file: requirements/base.txt\n        create-args: >-\n          -f requirements/dev.txt\n          python=3.11\n          coin-or-cbc\n        post-cleanup: all\n        cache-environment: true\n\n    - name: Install package\n      run: pip install --no-dependencies -e .\n\n    - name: Install jupyter kernel\n      run: python -m ipykernel install --user --name calliope\n\n    - name: run tests without coverage\n      if: github.ref != 'refs/heads/main'\n      run: pytest\n\n    - name: run tests with coverage\n      if: github.ref == 'refs/heads/main'\n      run: pytest --cov\n\n    - name: upload coverage report to Codecov\n      if: github.ref == 'refs/heads/main'\n      uses: codecov/codecov-action@v4\n      env:\n        directory: \"./reports/coverage/\"\n", "state": "active", "repository": "calliope-project/calliope"}
{"mined_at": "2024-07-15T14:14:07.300027", "created_at": "2023-12-28T14:52:28+01:00", "updated_at": "2024-01-08T12:23:11+01:00", "name": "Markdown link check", "path": ".github/workflows/link-check.yml", "contents": "name: Markdown link check\n\non:\n  schedule:  # runs every monday at 9 am\n    - cron: \"0 9 * * 1\"\n  pull_request:\n    branches:\n      - \"main\"\n    paths:\n      - \"**.md\"\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: markdown-link-check\n        uses: gaurav-nelson/github-action-markdown-link-check@1.0.15", "state": "active", "repository": "calliope-project/calliope"}
{"mined_at": "2024-07-15T14:14:08.369013", "created_at": "2023-10-23T14:51:46+02:00", "updated_at": "2023-10-23T16:19:35+02:00", "name": "Pull Request CI", "path": ".github/workflows/pr-ci.yml", "contents": "name: Pull Request CI\n\non:\n  pull_request:\n    branches:\n      - \"main\"\n    paths-ignore:\n      - README.md\n      - CHANGELOG.md\n      - LICENSE\n      - CITATION\n      - AUTHORS\n      - docs/**\n      - .readthedocs.yml\n      - .pre-commit-config.yaml\n      - mkdocs.yml\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\nconcurrency:\n  # Use github.run_id on main branch\n  # Use github.event.pull_request.number on pull requests, so it's unique per pull request\n  # Use github.ref on other branches, so it's unique per branch\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    if: github.event.pull_request.draft == false\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        py3version: [\"10\", \"11\", \"12\"]\n        include:\n          - os: windows-latest\n            py3version: \"12\"\n          - os: macos-latest\n            py3version: \"12\"\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: mamba-org/setup-micromamba@v1\n      with:\n        micromamba-version: latest\n        environment-name: ${{ github.event.repository.name }}-${{ matrix.os }}-3${{ matrix.py3version }}-${{ hashFiles('requirements/dev.txt') }}\n        environment-file: requirements/base.txt\n        create-args: >-\n          -f requirements/dev.txt\n          curl\n          python=3.${{ matrix.py3version }}\n        post-cleanup: all\n        cache-environment: true\n\n    - name: Install package\n      run: pip install --no-dependencies -e .\n\n    - name: install CBC (Windows)\n      if: matrix.os == 'windows-latest'\n      run: |\n        curl -L https://github.com/coin-or/Cbc/releases/download/releases%2F2.10.10/Cbc-releases.2.10.10-w64-msvc17-md.zip -o cbc.zip\n        unzip cbc.zip -d ${HOME}/cbc\n        echo \"${HOME}/cbc/bin\" >> $GITHUB_PATH\n\n    - name: install CBC (Unix)\n      if: matrix.os != 'windows-latest'\n      run: micromamba install coin-or-cbc\n\n    - name: Install jupyter kernel\n      run: python -m ipykernel install --user --name calliope\n\n    - name: run tests with coverage\n      if: matrix.os == 'ubuntu-latest' && matrix.py3version == '12'\n      run: pytest --cov\n\n    - name: run tests without coverage\n      if: matrix.os != 'ubuntu-latest' || matrix.py3version != '12'\n      run: pytest\n\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v4\n      if: matrix.os == 'ubuntu-latest' && matrix.py3version == '12'\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        fail_ci_if_error: true\n        directory: \"./reports/coverage/\"\n        verbose: true\n\n  pre-release-version:\n    runs-on: ubuntu-latest\n    if: startsWith(github.event.pull_request.title, 'Release v')\n    outputs:\n      version: ${{ steps.get-version.outputs.version }}\n    steps:\n      - id: get-version\n        run: |\n          fullname=\"${{github.event.pull_request.title}}\"\n          echo \"version=${fullname#\"Release \"}\" >> $GITHUB_OUTPUT\n\n  pip-test:\n    runs-on: ubuntu-latest\n    if: startsWith(github.event.pull_request.title, 'Release v')\n    steps:\n      - uses: actions/checkout@v4\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          micromamba-version: latest\n          environment-name: pipbuild\n          create-args: >-\n            python=3.11\n            pip\n            build\n          post-cleanup: all\n          cache-environment: true\n      - name: Build package\n        run: python -m build\n      - name: Test package install\n        run: |\n          pip install dist/calliope-*.tar.gz\n          calliope --help\n\n  pre-release:\n    needs: [test, pre-release-version, pip-test]\n    if: needs.pip-test.result == 'success' && needs.test.result == 'success' && startsWith(github.event.pull_request.title, 'Release v')\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/pip-build.yml@main\n    secrets:\n      TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}\n    with:\n      package_name: calliope\n      version: ${{needs.pre-release-version.outputs.version}}", "state": "active", "repository": "calliope-project/calliope"}
{"mined_at": "2024-07-15T14:14:09.440476", "created_at": "2024-01-26T10:27:56+01:00", "updated_at": "2024-01-26T10:27:56+01:00", "name": "Publish", "path": ".github/workflows/release.yml", "contents": "name: Publish\n\non:\n  release:\n    types: [released]\n\njobs:\n  pip-publish:\n    runs-on: ubuntu-latest\n    environment: production\n    env:\n      PACKAGENAME: \"pip-build-${{ inputs.package_name }}-${{ github.ref_name }}\"\n    steps:\n\n    - name: Download built package from another workflow\n      uses: dawidd6/action-download-artifact@v3\n      with:\n        name: ${{ env.PACKAGENAME }}\n        workflow: pr-ci.yml\n        path: dist/\n\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n\n", "state": "active", "repository": "calliope-project/calliope"}
{"mined_at": "2024-07-15T14:14:11.592499", "created_at": "2020-07-17T10:44:49+02:00", "updated_at": "2022-01-17T16:21:17+01:00", "name": "Run all the autotests", "path": ".github/workflows/autotest.yml", "contents": "name: Run all the autotests\n\non:\n  pull_request:\n  push:\n  schedule:\n    - cron: '0 3 * * *'\n\njobs:\n  add_header:\n    if: github.repository_owner == 'rucio' || github.event_name != 'schedule'\n    name: Add header lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          # We need the history to determine the file creation date.\n          fetch-depth: 0\n      - name: Check headers\n        shell: bash\n        run: |\n          python3 tools/add_header --dry-run --disable-progress-bar\n  python_ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Install Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install ruff\n      - name: Run Ruff\n        run: ruff check --output-format=github .\n  python_annotations:\n    if: |\n      !startsWith(github.ref_name, 'release')\n      && !startsWith(github.base_ref, 'release')\n      && github.event_name != 'schedule'\n      && github.ref_type != 'tag'\n    name: Check Python Type Annotations\n    runs-on: ubuntu-latest\n    env:\n      UPDATED_PYTHON_TYPE_ANNOTATIONS_REPORT_FILE: ../updated_type_annotation_report.txt\n      INITIAL_PYTHON_TYPE_ANNOTATIONS_REPORT_FILE: ../initial_type_annotation_report.txt\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Count current number of missing type annotations\n        id: count_updated\n        shell: bash\n        run: |\n          pip install flake8 flake8-annotations\n          source tools/count_missing_type_annotations_utils.sh\n          create_missing_python_type_annotations_report ${{ env.UPDATED_PYTHON_TYPE_ANNOTATIONS_REPORT_FILE }}\n          echo \"The current number of missing python type annotations: $(wc -l < ${{ env.UPDATED_PYTHON_TYPE_ANNOTATIONS_REPORT_FILE }})\"\n      - name: Checkout ancestor commit with rucio/master\n        uses: ./.github/actions/checkout_ancestor_commit\n        with:\n          paths_to_copy: |\n            tools/count_missing_type_annotations.sh\n            tools/count_missing_type_annotations_utils.sh\n      - name: Count initial number of missing type annotations\n        id: count_initial\n        shell: bash\n        run: |\n          source tools/count_missing_type_annotations_utils.sh\n          create_missing_python_type_annotations_report ${{ env.INITIAL_PYTHON_TYPE_ANNOTATIONS_REPORT_FILE }}\n          echo \"The initial number of missing python type annotations: $(wc -l < ${{ env.INITIAL_PYTHON_TYPE_ANNOTATIONS_REPORT_FILE }})\"\n      - name: Diff of missing annotations\n        shell: bash\n        run: |\n          diff ${{ env.INITIAL_PYTHON_TYPE_ANNOTATIONS_REPORT_FILE }} ${{ env.UPDATED_PYTHON_TYPE_ANNOTATIONS_REPORT_FILE }} || true\n      - name: Compare numbers of missing type annotations\n        shell: bash\n        run: |\n          INITIAL_NUMBER_OF_MISSING_TYPE_ANNOTATIONS=$(wc -l < ${{ env.INITIAL_PYTHON_TYPE_ANNOTATIONS_REPORT_FILE }})\n          UPDATED_NUMBER_OF_MISSING_TYPE_ANNOTATIONS=$(wc -l < ${{ env.UPDATED_PYTHON_TYPE_ANNOTATIONS_REPORT_FILE }})\n\n          echo \"The initial number of missing type annotations is: $INITIAL_NUMBER_OF_MISSING_TYPE_ANNOTATIONS\"\n          echo \"The updated number of missing type annotations is: $UPDATED_NUMBER_OF_MISSING_TYPE_ANNOTATIONS\"\n          if [ $UPDATED_NUMBER_OF_MISSING_TYPE_ANNOTATIONS -gt $INITIAL_NUMBER_OF_MISSING_TYPE_ANNOTATIONS ]; then\n            echo \"The number of missing python type annotations should never increase! This way we ensure that new functions are type annotated.\"\n            echo \"Look into the first lines of 'Diff of missing type annotations' to get a reference point what function might be missing type annotations.\"\n            echo \"**TL;DR** New code has to be type annotated, old code should be migrated. Look into Best Practices[1] for specific instructions on how to use it in our repository.\"\n            echo \"Look into the Rucio Type Annotations Guide[2] to get some help on why, what and how to add type annotations.\"\n            echo\n            echo \"[1] https://codimd.web.cern.ch/6-SU3cTpQSWRK6FHkM7mAA#Best-Practices\"\n            echo \"[2] https://codimd.web.cern.ch/6-SU3cTpQSWRK6FHkM7mAA#\"\n            exit 1\n          fi\n  python_pyright:\n    if: |\n      !startsWith(github.ref_name, 'release')\n      && !startsWith(github.base_ref, 'release')\n      && github.event_name != 'schedule'\n      && github.ref_type != 'tag'\n    name: Python type check (Pyright)\n    runs-on: ubuntu-latest\n    env:\n      PYRIGHT_CURRENT_REPORT: ../pyright_current_report.json\n      PYRIGHT_ANCESTOR_REPORT: ../pyright_ancestor_report.json\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Install dependencies\n        run: |\n          sudo apt-get update && sudo apt-get install -y npm libkrb5-dev libxmlsec1-dev git\n          npm install --global pyright\n          python -m pip --no-cache-dir install --upgrade pip\n          python -m pip --no-cache-dir install --upgrade -r requirements/requirements.server.txt -r requirements/requirements.dev.txt\n      - name: Make pyright report of current commit\n        run: |\n          tools/run_pyright.sh generate ${{ env.PYRIGHT_CURRENT_REPORT }}\n      - name: Show the current Pyright report\n        run: cat ${{ env.PYRIGHT_CURRENT_REPORT }}\n      - name: Checkout ancestor commit with rucio/master\n        uses: ./.github/actions/checkout_ancestor_commit\n        with:\n          paths_to_copy: |\n            pyrightconfig.json\n            tools/run_pyright.sh\n            tools/run_pyright/\n      - name: Make pyright report of ancestor commit\n        run: |\n          tools/run_pyright.sh generate ${{ env.PYRIGHT_ANCESTOR_REPORT }}\n      - name: Show the ancestor Pyright report\n        run: cat ${{ env.PYRIGHT_ANCESTOR_REPORT }}\n      - name: Compare reports\n        run: |\n          tools/run_pyright.sh compare --Werror \\\n            ${{ env.PYRIGHT_ANCESTOR_REPORT }} \\\n            ${{ env.PYRIGHT_CURRENT_REPORT }}\n  setup:\n    if: github.repository_owner == 'rucio' || github.event_name != 'schedule'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Update pip\n        run: python3 -m pip install -U pip setuptools\n      - name: Install python requirements for matrix_parser.py\n        run: python3 -m pip install -U PyYAML\n      - name: Identify branch\n        id: branch\n        run: python3 tools/github/workflow/set_branch_output_env.py\n      - name: Identify Matrix\n        id: matrix\n        run: |\n          EVENT=\"${{ github.event_name }}\"\n          if [ $EVENT != 'schedule' ]; then\n            echo \"matrix=$(./tools/test/matrix_parser.py < ./etc/docker/test/matrix.yml)\" >> $GITHUB_OUTPUT\n          else\n            echo \"matrix=$(./tools/test/matrix_parser.py < ./etc/docker/test/matrix_nightly.yml)\" >> $GITHUB_OUTPUT\n          fi\n    outputs:\n      branch: ${{ steps.branch.outputs.branch }}\n      matrix: ${{ steps.matrix.outputs.matrix }}\n  test:\n    needs: setup\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        cfg: ${{ fromJson(needs.setup.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Build images\n        id: images\n        shell: bash\n        run: |\n          docker login https://ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}\n          i=0; until [ \"$i\" -ge 3 ]; do\n            IMAGES=$(echo '${{ toJson(matrix.cfg) }}' | ./tools/test/build_images.py \\\n                --cache-repo ghcr.io/${{ github.repository }} \\\n                --branch \"${{ needs.setup.outputs.branch }}\" ./etc/docker/test || echo \"\")\n            if [[ -n $IMAGES ]]; then break;\n            else\n              i=$((i+1)); sleep 5;\n              echo \"::warning::Building images failed, retrying…\"\n            fi\n          done\n          docker logout https://ghcr.io\n          if [[ -z \"$IMAGES\" ]]; then echo \"::error::Building images failed ultimately\"; exit 1; fi\n          echo \"images=$IMAGES\" >> $GITHUB_OUTPUT\n      - name: Run test with cfg\n        run: 'echo ''{\"matrix\": ${{ toJson(matrix.cfg) }}, \"images\": ${{ steps.images.outputs.images }} }'' | ./tools/test/run_tests.py'\n", "state": "active", "repository": "rucio/rucio"}
{"mined_at": "2024-07-15T14:14:12.708233", "created_at": "2020-07-17T10:44:49+02:00", "updated_at": "2020-07-17T10:44:49+02:00", "name": "Daily image cache build for autotests", "path": ".github/workflows/imagecache.yml", "contents": "name: Daily image cache build for autotests\n\non:\n  workflow_dispatch: {}\n  schedule:\n    - cron: '0 3 * * 1-5'\n\njobs:\n  setup:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Identify branches\n        id: branches\n        run: |\n          BRANCHES=\"$(echo \"$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/branches{/branch}\" | \\\n              ./tools/github/workflow/grabrelease.py --all --json --add master)\"\n          echo \"Will build image cache for branches: ${BRANCHES}\"\n          echo \"branches=${BRANCHES}\" >> $GITHUB_OUTPUT\n    outputs:\n      branches: ${{ steps.branches.outputs.branches }}\n  build_autotests:\n    runs-on: ubuntu-latest\n    needs:\n      - setup\n    strategy:\n      fail-fast: false\n      matrix:\n        branch: ${{ fromJson(needs.setup.outputs.branches) }}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          ref: ${{ matrix.branch }}\n      - name: Check and get files\n        id: files\n        shell: bash\n        run: |\n          MATRIX_PARSER_PY=\"${{ github.workspace }}/tools/test/matrix_parser.py\"\n          MATRIX_CONF=\"${{ github.workspace }}/etc/docker/test/matrix.yml\"\n          BUILD_IMAGES_PY=\"${{ github.workspace }}/tools/test/build_images.py\"\n          echo \"requirements_met=$(if [[ -r \"$MATRIX_CONF\" && -x \"$MATRIX_PARSER_PY\" && -x \"$BUILD_IMAGES_PY\" ]]; then echo \"true\"; else echo \"false\"; fi)\" >> $GITHUB_OUTPUT\n          echo \"matrix_parser=$MATRIX_PARSER_PY\" >> $GITHUB_OUTPUT\n          echo \"matrix_configuration=$MATRIX_CONF\" >> $GITHUB_OUTPUT\n          echo \"build_images=$BUILD_IMAGES_PY\" >> $GITHUB_OUTPUT\n      - name: Update pip, install python requirements for matrix parser\n        if: ${{ steps.files.outputs.requirements_met == 'true' }}\n        run: |\n          python3 -m pip install -U pip setuptools\n          python3 -m pip install -U PyYAML\n      - name: Identify Matrix\n        if: ${{ steps.files.outputs.requirements_met == 'true' }}\n        id: matrix\n        run: echo \"matrix=$(${{ steps.files.outputs.matrix_parser }} < ${{ steps.files.outputs.matrix_configuration }})\" >> $GITHUB_OUTPUT\n      - name: Build and upload images\n        if: ${{ steps.files.outputs.requirements_met == 'true' }}\n        id: images\n        shell: bash\n        run: |\n          BUILD_ARGS=(\"--output\" \"list\" \"--cache-repo\" \"ghcr.io/${{ github.repository }}\" \"--push-cache\")\n          if [[ \"${{ github.event_name }}\" == \"schedule\" ]]; then\n            # only build without cache on schedule (to update distro packages)\n            BUILD_ARGS=(\"${BUILD_ARGS[@]}\" \"--build-no-cache\")\n          fi\n\n          # the {} input for build_images.py is necessary until version 2\n          if echo '{}' | \"${{ steps.files.outputs.build_images }}\" --version-test 2; then\n            # new --branch option not available in older build_images.py revisions\n            BUILD_ARGS=(\"${BUILD_ARGS[@]}\" \"--branch\" \"${{ matrix.branch }}\")\n          fi\n          if [[ \"${{ matrix.branch }}\" != \"master\" ]]; then\n            # The image tag is the same for the different rucio versions. This if ensures, that only the master gets builded. rucio#5572\n            echo \"::warning::Not building image for branch ${{ matrix.branch }}, because it would overwrite master\"\n            exit 0\n          fi\n          docker login https://ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}\n          i=0; until [ \"$i\" -ge 3 ]; do\n            IMAGES=\"$(echo '${{ steps.matrix.outputs.matrix }}' | \"${{ steps.files.outputs.build_images }}\" ${BUILD_ARGS[@]} ./etc/docker/test || echo \"\")\"\n            if [[ -n \"$IMAGES\" ]]; then break;\n            else\n              i=$((i+1)); sleep 5;\n              echo \"::warning::Building images failed, retrying…\"\n            fi\n          done\n          docker logout https://ghcr.io\n          if [[ -z \"$IMAGES\" ]]; then echo \"::error::Building images failed ultimately\"; exit 1; fi\n  build_integration_tests:\n    runs-on: ubuntu-latest\n    needs:\n      - setup\n    strategy:\n      fail-fast: false\n      matrix:\n        branch: ${{ fromJson(needs.setup.outputs.branches) }}\n    steps:\n      - name: Checkout rucio containers repository\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          repository: rucio/containers\n      - name: Checkout rucio source\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          path: dev/rucio\n          ref: ${{ matrix.branch }}\n      - name: Check and get files\n        id: files\n        shell: bash\n        run: |\n          MATRIX_PARSER_PY=\"${{ github.workspace }}/dev/rucio/tools/test/matrix_parser.py\"\n          MATRIX_CONF=\"${{ github.workspace }}/dev/rucio/etc/docker/test/matrix_integration_tests.yml\"\n          BUILD_IMAGES_PY=\"${{ github.workspace }}/dev/rucio/tools/test/build_images.py\"\n          echo \"requirements_met=$(if [[ -r \"$MATRIX_CONF\" && -x \"$MATRIX_PARSER_PY\" && -x \"$BUILD_IMAGES_PY\" ]]; then echo \"true\"; else echo \"false\"; fi)\" >> $GITHUB_OUTPUT\n          echo \"matrix_parser=$MATRIX_PARSER_PY\" >> $GITHUB_OUTPUT\n          echo \"matrix_configuration=$MATRIX_CONF\" >> $GITHUB_OUTPUT\n          echo \"build_images=$BUILD_IMAGES_PY\" >> $GITHUB_OUTPUT\n      - name: Update pip, install python requirements for matrix parser\n        if: ${{ steps.files.outputs.requirements_met == 'true' }}\n        run: |\n          python3 -m pip install -U pip setuptools\n          python3 -m pip install -U PyYAML\n      - name: Identify Matrix\n        if: ${{ steps.files.outputs.requirements_met == 'true' }}\n        id: matrix\n        run: echo \"matrix=$(${{ steps.files.outputs.matrix_parser }} < ${{ steps.files.outputs.matrix_configuration }})\" >> $GITHUB_OUTPUT\n      - name: Build and upload images\n        if: ${{ steps.files.outputs.requirements_met == 'true' }}\n        id: images\n        shell: bash\n        run: |\n          BUILD_ARGS=(\"--output\" \"list\" \"--cache-repo\" \"ghcr.io/${{ github.repository }}\" \"--push-cache\")\n          if [[ \"${{ github.event_name }}\" == \"schedule\" ]]; then\n            # only build without cache on schedule (to update distro packages)\n            BUILD_ARGS=(\"${BUILD_ARGS[@]}\" \"--build-no-cache\")\n          fi\n\n          # the {} input for build_images.py is necessary until version 2\n          if echo '{}' | \"${{ steps.files.outputs.build_images }}\" --version-test 2; then\n            # new --branch option not available in older build_images.py revisions\n            BUILD_ARGS=(\"${BUILD_ARGS[@]}\" \"--branch\" \"${{ matrix.branch }}\")\n          fi\n          if [[ \"${{ matrix.branch }}\" != \"master\" ]]; then\n            # The image tag is the same for the different rucio versions. This if ensures, that only the master gets builded. rucio#5572\n            echo \"::warning::Not building image for branch ${{ matrix.branch }}, because it would overwrite master\"\n            exit 0\n          fi\n          docker login https://ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}\n          i=0; until [ \"$i\" -ge 3 ]; do\n            IMAGES=\"$(echo '${{ steps.matrix.outputs.matrix }}' | \"${{ steps.files.outputs.build_images }}\" ${BUILD_ARGS[@]} \\\n                ${{ github.workspace }}/dev || echo \"\")\"\n            if [[ -n \"$IMAGES\" ]]; then break;\n            else\n              i=$((i+1)); sleep 5;\n              echo \"::warning::Building images failed, retrying…\"\n            fi\n          done\n          docker logout https://ghcr.io\n          if [[ -z \"$IMAGES\" ]]; then echo \"::error::Building images failed ultimately\"; exit 1; fi\n", "state": "active", "repository": "rucio/rucio"}
{"mined_at": "2024-07-15T14:14:13.720038", "created_at": "2020-11-26T14:18:48+01:00", "updated_at": "2021-04-27T14:44:58+02:00", "name": "End to End integration tests", "path": ".github/workflows/integration_tests.yml", "contents": "name: End to End integration tests\n\non:\n  - pull_request\n  - push\n\njobs:\n  setup:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Update pip\n        run: python3 -m pip install -U pip setuptools\n      - name: Install python requirements for matrix_parser.py\n        run: python3 -m pip install -U PyYAML\n      - name: Identify branch\n        id: branch\n        run: python3 tools/github/workflow/set_branch_output_env.py\n      - name: Identify Matrix\n        id: matrix\n        run: echo \"matrix=$(./tools/test/matrix_parser.py < ./etc/docker/test/matrix_integration_tests.yml)\" >> $GITHUB_OUTPUT\n    outputs:\n      branch: ${{ steps.branch.outputs.branch }}\n      matrix: ${{ steps.matrix.outputs.matrix }}\n\n  integration-tests:\n    needs: setup\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        cfg: ${{ fromJson(needs.setup.outputs.matrix) }}\n    steps:\n      - name: Checkout rucio containers repository\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          repository: rucio/containers\n          fetch-depth: 0\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        name: Checkout rucio source\n        with:\n          path: dev/rucio\n          fetch-depth: 0\n      - name: Select tag for rucio containers\n        shell: bash\n        run: |\n          # Change to cloned rucio/rucio repo\n          cd $GITHUB_WORKSPACE/dev/rucio\n\n          # Get current branch and corresponding latest tag in rucio/rucio repo\n          BRANCH=$(git rev-parse --abbrev-ref HEAD)\n          OWNER=\"${{ github.repository_owner }}\"\n\n          if [ $OWNER != 'rucio' ]; then\n            echo \"The workflow is running in user ${OWNER}'s fork. Fetching branches and tags from rucio/rucio instead.\"\n            git remote add rucio https://github.com/rucio/rucio\n            git fetch rucio --tags -f\n          fi\n\n          echo \"On branch ${BRANCH}\"\n          if [ $BRANCH == 'master' ]; then\n              GIT_REF=\"master\"\n          else\n              GIT_REF=$(git describe --tags --abbrev=0)\n              IFS=. read major minor micro build <<<\"${GIT_REF}\"\n\n              RELEASE_FAMILY=$major\n              LATEST_RELEASE_IN_RELEASE_FAMILY=$(git for-each-ref --format '%(refname)' refs/tags/$RELEASE_FAMILY.* | sort -k 1.11V | tail -1 | awk -F'/' '{print $3}')\n              LATEST_RUCIO_RELEASE_FAMILY=$(git for-each-ref --format '%(refname)' refs/tags | sort -k 1.11V | tail -1 | awk -F'/' '{print $3}' | awk -F'.' '{print $1}')\n\n              echo \"Release line for ${BRANCH} is ${RELEASE_FAMILY}\"\n              echo \"The latest release line for rucio is ${LATEST_RUCIO_RELEASE_FAMILY}\"\n              echo \"The latest release in ${RELEASE_FAMILY} is ${LATEST_RELEASE_IN_RELEASE_FAMILY}\"\n\n              if [ $LATEST_RUCIO_RELEASE_FAMILY = $RELEASE_FAMILY ]; then\n                  GIT_REF='master' # always use containers/master when working on latest rucio/rucio release line\n              else\n                  GIT_REF=$LATEST_RELEASE_IN_RELEASE_FAMILY # for non-master release line, use the latest rucio/containers tag for the given release family\n              fi\n\n          fi\n\n          cd $GITHUB_WORKSPACE\n\n          # Check if rucio/containers has a corresponding $GIT_REF\n          if [ $(git tag -l \"$GIT_REF\") ]; then\n              git checkout tags/$GIT_REF\n          else\n              echo \"Tag $GIT_REF not found in rucio/containers. Integration test containers will be built against the master branch instead.\"\n              git checkout master\n          fi\n      - name: Use rucio/containers Dockerfile for integration tests\n        shell: bash\n        run: |\n          sed -i 's;RUN git clone .*;COPY ./rucio /tmp/rucio;' $GITHUB_WORKSPACE/dev/alma9.Dockerfile\n      - name: Build rucio-dev images\n        id: images\n        shell: bash\n        run: |\n          docker login https://ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}\n          docker compose -f $GITHUB_WORKSPACE/dev/rucio/etc/docker/dev/docker-compose.yml --profile storage --profile externalmetadata --profile iam pull\n          i=0; until [ \"$i\" -ge 3 ]; do\n            IMAGES=$(echo '${{ toJson(matrix.cfg) }}' | $GITHUB_WORKSPACE/dev/rucio/tools/test/build_images.py --output list \\\n                --cache-repo ghcr.io/${{ github.repository }} --branch \"${{ needs.setup.outputs.branch }}\" \\\n                $GITHUB_WORKSPACE/dev || echo \"\")\n            if [[ -n $IMAGES ]]; then break;\n            else\n              i=$((i+1)); sleep 5;\n              echo \"::warning::Building images failed, retrying…\"\n            fi\n          done\n          docker logout https://ghcr.io\n          if [[ -z \"$IMAGES\" ]]; then echo \"::error::Building images failed ultimately\"; exit 1; fi\n          echo \"images=$IMAGES\" >> $GITHUB_OUTPUT\n      - name: Prepare Docker Compose\n        shell: bash\n        run: |\n          docker image ls\n          sed -i 's;image: docker.io/rucio/rucio-dev.*;image: ${{ fromJSON(steps.images.outputs.images)[0] }};' \\\n              $GITHUB_WORKSPACE/dev/rucio/etc/docker/dev/docker-compose.yml\n      - name: Start containers\n        run: docker compose -f $GITHUB_WORKSPACE/dev/rucio/etc/docker/dev/docker-compose.yml --profile storage --profile externalmetadata --profile iam up -d\n      - name: Initialize tests\n        shell: bash\n        run: |\n          docker exec -t dev_rucio_1 cp etc/rse-accounts.cfg.template etc/rse-accounts.cfg\n          docker exec -t dev_rucio_1 tools/run_tests.sh -ir\n      - name: File Upload/Download Test\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_rucio_server.py\n      - name: UploadClient Test\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_upload.py\n      - name: File Upload/Download Test using 'impl' parameter\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_impl_upload_download.py\n      - name: Test gfal2 implementation on xrootd protocol\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_rse_protocol_gfal2_impl.py\n      - name: Test Protocol XrootD\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_rse_protocol_xrootd.py\n      - name: Test Protocol SSH (scp)\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_rse_protocol_ssh.py\n      - name: Test Protocol Rsync\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_rse_protocol_rsync.py\n      - name: Test Protocol Rclone\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_rse_protocol_rclone.py\n      - name: Test Conveyor\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_conveyor.py\n      - name: Execute transfer and export FTS transfer details\n        id: tpc\n        shell: bash\n        run: |\n          docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short --export-artifacts-from=\"test_tpc\" tests/test_tpc.py\n          FTS_LOG_FILE=$(docker exec -t dev_rucio_1 cat /tmp/test_tpc.artifact)\n          echo \"fts3log=$FTS_LOG_FILE\" >> $GITHUB_OUTPUT\n      - name: Verify TPC transfers from FTS logs\n        shell: bash\n        run: |\n          FTS_LOG_FILE=${{ steps.tpc.outputs.fts3log }}\n          if docker exec -t dev_fts_1 /bin/bash -c \"grep -Fq \\\"3rd pull\\\" $FTS_LOG_FILE\"\n          then\n            echo \"TPC 3rd party pull verified\"\n          else\n            echo \"TPC failed\"\n            exit 1\n          fi\n      - name: Test Token Deletion\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_reaper.py::test_deletion_with_tokens\n      - name: Print server error logs\n        if: ${{ success() || failure() }}\n        shell: bash\n        run: |\n          docker exec -t dev_rucio_1 cat /var/log/rucio/httpd_error_log\n      - name: Archive Upload/Download Test\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_download.py::test_download_from_archive_on_xrd\n      - name: Test external metadata plugin (mongo)\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_did_meta_plugins.py::TestDidMetaMongo\n      - name: Test external metadata plugin (postgres)\n        run: docker exec -t dev_rucio_1 tools/pytest.sh -v --tb=short tests/test_did_meta_plugins.py::TestDidMetaExternalPostgresJSON\n      - name: Stop containers\n        run: docker compose -f $GITHUB_WORKSPACE/dev/rucio/etc/docker/dev/docker-compose.yml --profile storage --profile externalmetadata --profile iam down\n", "state": "active", "repository": "rucio/rucio"}
{"mined_at": "2024-07-15T14:14:14.757721", "created_at": "2022-02-24T16:51:41+01:00", "updated_at": "2022-03-16T10:50:19+01:00", "name": "VO-specific tests", "path": ".github/workflows/vo_tests.yml", "contents": "name: VO-specific tests\n\non:\n  - pull_request\n  - push\n  - workflow_dispatch\n\njobs:\n  setup:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Update pip\n        run: python3 -m pip install -U pip setuptools\n      - name: Install python requirements for matrix_parser.py\n        run: python3 -m pip install -U PyYAML\n      - name: Identify branch\n        id: branch\n        run: python3 tools/github/workflow/set_branch_output_env.py\n      - name: Identify Matrix\n        id: matrix\n        run: echo \"matrix=$(./tools/test/votest_helper.py)\" >> $GITHUB_OUTPUT\n    outputs:\n      branch: ${{ steps.branch.outputs.branch }}\n      matrix: ${{ steps.matrix.outputs.matrix }}\n  test:\n    needs: setup\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        cfg: ${{ fromJson(needs.setup.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Build Images and Run Tests\n        uses: ./.github/actions/build-images-and-run-tests\n        with:\n          cfg: ${{ toJson(matrix.cfg) }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ needs.setup.outputs.branch }}\n", "state": "active", "repository": "rucio/rucio"}
{"mined_at": "2024-07-15T14:14:15.754772", "created_at": "2024-04-26T10:16:27+02:00", "updated_at": "2024-04-26T10:16:27+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "rucio/rucio"}
{"mined_at": "2024-07-15T14:14:17.812963", "created_at": "2022-01-19T20:58:21+01:00", "updated_at": "2022-01-19T20:58:21+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '17 10 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "autogoal/autogoal"}
{"mined_at": "2024-07-15T14:14:18.847853", "created_at": "2021-04-01T21:08:40+02:00", "updated_at": "2021-04-01T21:08:40+02:00", "name": "Build and Push to Docker", "path": ".github/workflows/docker.yml", "contents": "name: Build and Push to Docker\n\non:\n  push:\n    branches: [ main ]\n  workflow_dispatch:\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n          fetch-depth: 0\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and Push base image\n        uses: docker/build-push-action@v2\n        with:\n          push: true\n          tags: autogoal/autogoal:core\n          context: \".\"\n          file: \"dockerfiles/core/dockerfile\"\n\n      - name: Build and Push Image with all contribs\n        run: bash ./scripts/generate_full_image.sh -p\n\n      # - name: Generate Docker images for each contrib\n      #   run: bash ./scripts/generate_contrib_images.sh -p\n      \n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "autogoal/autogoal"}
{"mined_at": "2024-07-15T14:14:19.987804", "created_at": "2021-03-24T20:52:28+01:00", "updated_at": "2021-04-28T22:16:01+02:00", "name": "Release to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Release to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9.13\n          architecture: x64\n\n      - name: Setup vendor libs\n        run: |\n          pip install https://github.com/apiad/illiterate/archive/refs/heads/master.zip\n\n      - name: Setup dependencies and build\n        run: |\n          pip install poetry==1.2\n          poetry config virtualenvs.create false\n          cd autogoal && poetry install\n          cd autogoal && poetry build\n\n      # - name: Build docs\n      #   run: make docs\n      #   env:\n      #     BUILD_ENVIRONMENT: development\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      \n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          packages-dir: autogoal/dist\n  \n      # - name: Deploy docs\n      #   uses: peaceiris/actions-gh-pages@v3\n      #   with:\n      #     personal_token: ${{ secrets.GH_PAGES_TOKEN }}\n      #     external_repository: autogoal/autogoal.github.io\n      #     publish_branch: master\n      #     publish_dir: ./site\n", "state": "active", "repository": "autogoal/autogoal"}
{"mined_at": "2024-07-15T14:14:21.022566", "created_at": "2023-10-13T10:39:43+02:00", "updated_at": "2023-10-17T19:12:40+02:00", "name": "Test Contribs", "path": ".github/workflows/test-contribs.yml", "contents": "name: Test Contribs\n\non:\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: contains(toJson(github.event.commits), '[skip ci]') == false\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build Core Docker image\n        run: make docker\n      \n      - name: Build Docker image\n        run: bash ./scripts/generate_full_image.sh\n\n      - name: Run tests in Docker container\n        run: |\n          docker run --name test-container -d autogoal/autogoal:full-latest tail -f /dev/null\n          docker exec test-container bash -c \"black --check autogoal-contrib\"\n          docker exec test-container bash -c \"make test-contrib\"\n", "state": "active", "repository": "autogoal/autogoal"}
{"mined_at": "2024-07-15T14:14:22.064511", "created_at": "2023-10-13T10:39:43+02:00", "updated_at": "2023-10-17T19:12:40+02:00", "name": "Test Core", "path": ".github/workflows/test-core.yml", "contents": "name: Test Core\n\non:\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: contains(toJson(github.event.commits), '[skip ci]') == false\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build Docker image\n        run: make docker\n\n      - name: Run tests in Docker container\n        run: |\n          docker run --name test-container -d autogoal/autogoal:core tail -f /dev/null\n          docker exec test-container bash -c \"black --check autogoal/tests/\"\n          docker exec test-container bash -c \"make test-core\"\n", "state": "active", "repository": "autogoal/autogoal"}
{"mined_at": "2024-07-15T14:14:24.088286", "created_at": "2020-05-14T21:23:06+02:00", "updated_at": "2020-05-14T21:23:06+02:00", "name": "nf-core branch protection", "path": ".github/workflows/branch.yml", "contents": "name: nf-core branch protection\n# This workflow is triggered on PRs to master branch on the repository\n# It fails when someone tries to make a PR against the nf-core `master` branch instead of `dev`\non:\n  pull_request_target:\n    branches: [master]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      # PRs to the nf-core repo master branch are only ok if coming from the nf-core repo `dev` or any `patch` branches\n      - name: Check PRs\n        if: github.repository == 'nf-core/tools'\n        run: |\n          { [[ ${{github.event.pull_request.head.repo.full_name}} == nf-core/tools ]] && [[ $GITHUB_HEAD_REF == \"dev\" ]]; } || [[ $GITHUB_HEAD_REF == \"patch\" ]]\n\n      # If the above check failed, post a comment on the PR explaining the failure\n      - name: Post PR comment\n        if: failure()\n        uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2\n        with:\n          message: |\n            ## This PR is against the `master` branch :x:\n\n            * Do not close this PR\n            * Click _Edit_ and change the `base` to `dev`\n            * This CI test will remain failed until you push a new commit\n\n            ---\n\n            Hi @${{ github.event.pull_request.user.login }},\n\n            It looks like this pull-request is has been made against the [${{github.event.pull_request.head.repo.full_name }}](https://github.com/${{github.event.pull_request.head.repo.full_name }}) `master` branch.\n            The `master` branch on nf-core repositories should always contain code from the latest release.\n            Because of this, PRs to `master` are only allowed if they come from the [${{github.event.pull_request.head.repo.full_name }}](https://github.com/${{github.event.pull_request.head.repo.full_name }}) `dev` branch.\n\n            You do not need to close this PR, you can change the target branch to `dev` by clicking the _\"Edit\"_ button at the top of this page.\n            Note that even after this, the test will continue to show as failing until you push a new commit.\n\n            Thanks again for your contribution!\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          allow-repeats: false\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:25.112376", "created_at": "2024-01-04T12:51:57+01:00", "updated_at": "2024-01-29T15:39:01+01:00", "name": "Update CHANGELOG.md", "path": ".github/workflows/changelog.yml", "contents": "name: Update CHANGELOG.md\non:\n  issue_comment:\n    types: [created]\n  pull_request_target:\n    types: [opened]\n    branches:\n      - dev\n\njobs:\n  update_changelog:\n    runs-on: ubuntu-latest\n    # Run if comment is on a PR with the main repo, and if it contains the magic keywords.\n    # Or run on PR creation, unless asked otherwise in the title.\n    if: |\n      github.repository_owner == 'nf-core' && (\n        github.event_name == 'pull_request_target' ||\n        github.event.issue.pull_request && startsWith(github.event.comment.body, '@nf-core-bot changelog')\n      )\n\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n        with:\n          token: ${{ secrets.NF_CORE_BOT_AUTH_TOKEN }}\n\n      # Action runs on the issue comment, so we don't get the PR by default.\n      # Use the GitHub CLI to check out the PR:\n      - name: Checkout Pull Request\n        env:\n          GH_TOKEN: ${{ secrets.NF_CORE_BOT_AUTH_TOKEN }}\n        run: |\n          if [[ \"${{ github.event_name }}\" == \"issue_comment\" ]]; then\n            PR_NUMBER=\"${{ github.event.issue.number }}\"\n          elif [[ \"${{ github.event_name }}\" == \"pull_request_target\" ]]; then\n            PR_NUMBER=\"${{ github.event.pull_request.number }}\"\n          fi\n          gh pr checkout $PR_NUMBER\n\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install packages\n        run: |\n          python -m pip install --upgrade pip\n          pip install pyyaml\n\n      - name: Update CHANGELOG.md from the PR title\n        env:\n          COMMENT: ${{ github.event.comment.body }}\n          GH_TOKEN: ${{ secrets.NF_CORE_BOT_AUTH_TOKEN }}\n        run: |\n          if [[ \"${{ github.event_name }}\" == \"issue_comment\" ]]; then\n            export PR_NUMBER='${{ github.event.issue.number }}'\n            export PR_TITLE='${{ github.event.issue.title }}'\n          elif [[ \"${{ github.event_name }}\" == \"pull_request_target\" ]]; then\n            export PR_NUMBER='${{ github.event.pull_request.number }}'\n            export PR_TITLE='${{ github.event.pull_request.title }}'\n          fi\n          python ${GITHUB_WORKSPACE}/.github/workflows/changelog.py\n\n      - name: Check if CHANGELOG.md actually changed\n        run: |\n          git diff --exit-code ${GITHUB_WORKSPACE}/CHANGELOG.md || echo \"changed=YES\" >> $GITHUB_ENV\n          echo \"File changed: ${{ env.changed }}\"\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n\n      - name: Install pre-commit\n        run: pip install pre-commit\n\n      - name: Run pre-commit checks\n        if: env.changed == 'YES'\n        run: |\n          pre-commit run --all-files\n\n      - name: Commit and push changes\n        if: env.changed == 'YES'\n        run: |\n          git config user.email \"core@nf-co.re\"\n          git config user.name \"nf-core-bot\"\n          git config push.default upstream\n          git add ${GITHUB_WORKSPACE}/CHANGELOG.md\n          git status\n          git commit -m \"[automated] Update CHANGELOG.md\"\n          git push\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:26.122913", "created_at": "2023-04-28T16:05:18+02:00", "updated_at": "2023-04-28T16:05:18+02:00", "name": "Close user-tagged issues and PRs", "path": ".github/workflows/clean-up.yml", "contents": "name: \"Close user-tagged issues and PRs\"\non:\n  schedule:\n    - cron: \"0 0 * * 0\" # Once a week\n\njobs:\n  clean-up:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9\n        with:\n          stale-issue-message: \"This issue has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment otherwise this issue will be closed in 20 days.\"\n          stale-pr-message: \"This PR has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment if it is still useful.\"\n          close-issue-message: \"This issue was closed because it has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor and then staled for 20 days with no activity.\"\n          days-before-stale: 30\n          days-before-close: 20\n          days-before-pr-close: -1\n          any-of-labels: \"awaiting-changes,awaiting-feedback\"\n          exempt-issue-labels: \"WIP\"\n          exempt-pr-labels: \"WIP\"\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:27.162477", "created_at": "2020-02-17T15:40:15+01:00", "updated_at": "2022-03-21T17:40:34+01:00", "name": "Create a pipeline and run nf-core linting", "path": ".github/workflows/create-lint-wf.yml", "contents": "name: Create a pipeline and run nf-core linting\non:\n  push:\n    branches:\n      - dev\n    paths-ignore:\n      - \"docs/**\"\n      - \"CHANGELOG.md\"\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"CHANGELOG.md\"\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs:\n      runners:\n        description: \"Runners to test on\"\n        type: choice\n        options:\n          - \"ubuntu-latest\"\n          - \"self-hosted\"\n        default: \"self-hosted\"\n\n# Cancel if a newer run is started\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  NXF_ANSI_LOG: false\n\njobs:\n  MakeTestWorkflow:\n    runs-on: ${{ github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted' }}\n    env:\n      NXF_ANSI_LOG: false\n    strategy:\n      matrix:\n        NXF_VER:\n          - \"23.04.0\"\n          - \"latest-everything\"\n    steps:\n      - name: go to subdirectory and change nextflow workdir\n        run: |\n          mkdir -p create-lint-wf\n          cd create-lint-wf\n          export NXF_WORK=$(pwd)\n\n      # Get the repo code\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n        name: Check out source-code repository\n\n      # Set up nf-core/tools\n      - name: Set up Python 3.12\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        with:\n          python-version: \"3.12\"\n          cache: pip\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n\n      - name: run create-lint-wf\n        uses: ./.github/actions/create-lint-wf\n        with:\n          NXF_VER: ${{ matrix.NXF_VER }}\n\n      # Build a module from the template\n      - name: nf-core modules create\n        run: nf-core --verbose --log-file log.txt modules create bpipe --dir nf-core-testpipeline --author @nf-core-bot --label process_low --meta\n        working-directory: create-lint-wf\n\n      # Remove TODO statements\n      - name: remove TODO\n        run: find nf-core-testpipeline -type f -exec sed -i '/TODO nf-core:/d' {} \\;\n        working-directory: create-lint-wf\n\n      # Run the other nf-core commands\n      - name: nf-core list\n        run: nf-core --log-file log.txt list\n        working-directory: create-lint-wf\n\n      - name: nf-core schema\n        run: nf-core --log-file log.txt schema build --dir nf-core-testpipeline/ --no-prompts\n        working-directory: create-lint-wf\n\n      - name: Cleanup work directory\n        run: sudo rm -rf create-lint-wf\n        if: always()\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:28.166689", "created_at": "2023-06-22T11:34:43+02:00", "updated_at": "2024-05-21T21:41:46+02:00", "name": "Create a pipeline from a template and test it", "path": ".github/workflows/create-test-lint-wf-template.yml", "contents": "name: Create a pipeline from a template and test it\non:\n  push:\n    branches:\n      - dev\n    paths:\n      - nf_core/pipeline-template/**\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"CHANGELOG.md\"\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs:\n      runners:\n        description: \"Runners to test on\"\n        type: choice\n        options:\n          - \"ubuntu-latest\"\n          - \"self-hosted\"\n        default: \"self-hosted\"\n\n# Cancel if a newer run is started\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  NXF_ANSI_LOG: false\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n  RunTestWorkflow:\n    runs-on: ${{ matrix.runner }}\n    env:\n      NXF_ANSI_LOG: false\n    strategy:\n      matrix:\n        TEMPLATE:\n          - \"template_skip_github_badges.yml\"\n          - \"template_skip_igenomes.yml\"\n          - \"template_skip_ci.yml\"\n        runner:\n          # use the runner given by the input if it is dispatched manually, run on github if it is a rerun or on self-hosted by default\n          - ${{ github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted' }}\n        profile: [\"self_hosted_runner\"]\n        include:\n          - TEMPLATE: \"template_skip_all.yml\"\n            runner: ubuntu-latest\n            profile: \"docker\"\n          - TEMPLATE: \"template_skip_nf_core_configs.yml\"\n            runner: ubuntu-latest\n            profile: \"docker\"\n      fail-fast: false\n\n    steps:\n      - name: go to working directory\n        run: |\n          mkdir -p create-lint-wf-template\n          cd create-lint-wf-template\n          export NXF_WORK=$(pwd)\n\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n        name: Check out source-code repository\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n\n      - name: Install Nextflow\n        uses: nf-core/setup-nextflow@v2\n        with:\n          version: latest-everything\n\n      # Create template files\n      - name: Create template skip all (except github)\n        run: |\n          mkdir create-test-lint-wf\n          export NXF_WORK=$(pwd)\n          printf \"prefix: my-prefix\\nskip: ['ci', 'github_badges', 'igenomes', 'nf_core_configs']\" > create-test-lint-wf/template_skip_all.yml\n\n      - name: Create template skip github_badges\n        run: |\n          printf \"prefix: my-prefix\\nskip: github_badges\" > create-test-lint-wf/template_skip_github_badges.yml\n\n      - name: Create template skip igenomes\n        run: |\n          printf \"prefix: my-prefix\\nskip: igenomes\" > create-test-lint-wf/template_skip_igenomes.yml\n\n      - name: Create template skip ci\n        run: |\n          printf \"prefix: my-prefix\\nskip: ci\" > create-test-lint-wf/template_skip_ci.yml\n\n      - name: Create template skip nf_core_configs\n        run: |\n          printf \"prefix: my-prefix\\nskip: nf_core_configs\" > create-test-lint-wf/template_skip_nf_core_configs.yml\n\n      # Create a pipeline from the template\n      - name: create a pipeline from the template ${{ matrix.TEMPLATE }}\n        run: |\n          cd create-test-lint-wf\n          nf-core --log-file log.txt create -n testpipeline -d \"This pipeline is for testing\" -a \"Testing McTestface\" --template-yaml ${{ matrix.TEMPLATE }}\n\n      - name: run the pipeline\n        run: |\n          cd create-test-lint-wf\n          nextflow run my-prefix-testpipeline -profile test,${{matrix.profile}} --outdir ./results\n\n      # Remove results folder before linting\n      - name: remove results folder\n        run: |\n          rm -rf create-test-lint-wf/results\n\n      # Try syncing it before we change anything\n      - name: nf-core sync\n        run: nf-core --log-file log.txt sync --dir create-test-lint-wf/my-prefix-testpipeline/\n\n      # Run code style linting\n      - name: Run pre-commit\n        run: pre-commit run --all-files\n        working-directory: create-test-lint-wf\n\n      # Remove TODO statements\n      - name: remove TODO\n        run: find my-prefix-testpipeline -type f -exec sed -i '/TODO nf-core:/d' {} \\;\n        working-directory: create-test-lint-wf\n\n      # Replace zenodo.XXXXXX to pass readme linting\n      - name: replace zenodo.XXXXXX\n        run: find my-prefix-testpipeline -type f -exec sed -i 's/zenodo.XXXXXX/zenodo.123456/g' {} \\;\n        working-directory: create-test-lint-wf\n\n      # Run nf-core linting\n      - name: nf-core lint\n        run: nf-core --log-file log.txt --hide-progress lint --dir my-prefix-testpipeline --fail-warned\n        working-directory: create-test-lint-wf\n\n      # Run bump-version\n      - name: nf-core bump-version\n        run: nf-core --log-file log.txt bump-version --dir my-prefix-testpipeline/ 1.1\n        working-directory: create-test-lint-wf\n\n      # Run nf-core linting in release mode\n      - name: nf-core lint in release mode\n        run: nf-core --log-file log.txt --hide-progress lint --dir my-prefix-testpipeline --fail-warned --release\n        working-directory: create-test-lint-wf\n\n      - name: Tar files\n        run: tar -cvf artifact_files.tar log.txt template_skip*.yml\n        working-directory: create-test-lint-wf\n\n      - name: Upload log file artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4\n        with:\n          name: nf-core-log-file-${{ matrix.TEMPLATE }}\n          path: create-test-lint-wf/artifact_files.tar\n\n      - name: Cleanup work directory\n        run: sudo rm -rf create-test-lint-wf\n        if: always()\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:29.337466", "created_at": "2023-06-21T15:15:11+02:00", "updated_at": "2023-06-21T15:15:11+02:00", "name": "Create a pipeline from a template and test it", "path": ".github/workflows/create-test-wf-template.yml", "contents": null, "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:30.348008", "created_at": "2021-03-22T20:10:47+01:00", "updated_at": "2024-05-21T21:41:46+02:00", "name": "Create a pipeline and test it", "path": ".github/workflows/create-test-wf.yml", "contents": "name: Create a pipeline and test it\non:\n  push:\n    branches:\n      - dev\n    paths-ignore:\n      - \"docs/**\"\n      - \"CHANGELOG.md\"\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"CHANGELOG.md\"\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs:\n      runners:\n        description: \"Runners to test on\"\n        type: choice\n        options:\n          - \"ubuntu-latest\"\n          - \"self-hosted\"\n        default: \"self-hosted\"\n\n# Cancel if a newer run is started\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  NXF_ANSI_LOG: false\n\njobs:\n  RunTestWorkflow:\n    # use the runner given by the input if it is dispatched manually, run on github if it is a rerun or on self-hosted by default\n    runs-on: ${{ github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted' }}\n    env:\n      NXF_ANSI_LOG: false\n    strategy:\n      matrix:\n        NXF_VER:\n          - \"23.04.0\"\n          - \"latest-everything\"\n    steps:\n      - name: go to working directory\n        run: |\n          mkdir -p create-test-wf\n          cd create-test-wf\n          export NXF_WORK=$(pwd)\n\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n        name: Check out source-code repository\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n\n      - name: Install Nextflow\n        uses: nf-core/setup-nextflow@v2\n        with:\n          version: ${{ matrix.NXF_VER }}\n\n      - name: Run nf-core/tools\n        run: |\n          mkdir create-test-wf && cd create-test-wf\n          export NXF_WORK=$(pwd)\n          nf-core --log-file log.txt create -n testpipeline -d \"This pipeline is for testing\" -a \"Testing McTestface\" --plain\n          nextflow run nf-core-testpipeline -profile test,self_hosted_runner --outdir ./results\n\n      - name: Upload log file artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4\n        with:\n          name: nf-core-log-file-${{ matrix.NXF_VER }}\n          path: create-test-wf/log.txt\n\n      - name: Cleanup work directory\n        # cleanup work directory\n        run: sudo rm -rf create-test-wf\n        if: always()\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:31.367581", "created_at": "2020-02-17T15:40:17+01:00", "updated_at": "2020-02-17T15:40:17+01:00", "name": "Publish nf-core to PyPI", "path": ".github/workflows/deploy-pypi.yml", "contents": "name: Publish nf-core to PyPI\non:\n  release:\n    types: [published]\n\n# Cancel if a newer run is started\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-n-publish:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n        name: Check out source-code repository\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install .\n\n      - name: Build the distribution\n        run: python setup.py sdist bdist_wheel\n\n      - name: Publish dist to PyPI\n        if: github.repository == 'nf-core/tools'\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:32.374306", "created_at": "2022-05-16T12:06:46+02:00", "updated_at": "2022-05-16T12:06:46+02:00", "name": "Fix linting from a comment", "path": ".github/workflows/fix-linting.yml", "contents": "name: Fix linting from a comment\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  fix-linting:\n    # Only run if comment is on a PR with the main repo, and if it contains the magic keywords\n    if: >\n      contains(github.event.comment.html_url, '/pull/') &&\n      contains(github.event.comment.body, '@nf-core-bot fix linting') &&\n      github.repository == 'nf-core/tools'\n    runs-on: ubuntu-latest\n    steps:\n      # Use the @nf-core-bot token to check out so we can push later\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n        with:\n          token: ${{ secrets.nf_core_bot_auth_token }}\n\n      # indication that the linting is being fixed\n      - name: React on comment\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4\n        with:\n          comment-id: ${{ github.event.comment.id }}\n          reactions: eyes\n\n      # Action runs on the issue comment, so we don't get the PR by default\n      # Use the gh cli to check out the PR\n      - name: Checkout Pull Request\n        run: gh pr checkout ${{ github.event.issue.number }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}\n\n      # Install and run pre-commit\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install pre-commit\n        run: pip install pre-commit\n\n      - name: Run pre-commit\n        id: pre-commit\n        run: pre-commit run --all-files\n        continue-on-error: true\n\n      # indication that the linting has finished\n      - name: react if linting finished succesfully\n        if: steps.pre-commit.outcome == 'success'\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4\n        with:\n          comment-id: ${{ github.event.comment.id }}\n          reactions: \"+1\"\n\n      - name: Commit & push changes\n        id: commit-and-push\n        if: steps.pre-commit.outcome == 'failure'\n        run: |\n          git config user.email \"core@nf-co.re\"\n          git config user.name \"nf-core-bot\"\n          git config push.default upstream\n          git add .\n          git status\n          git commit -m \"[automated] Fix code linting\"\n          git push\n\n      - name: react if linting errors were fixed\n        id: react-if-fixed\n        if: steps.commit-and-push.outcome == 'success'\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4\n        with:\n          comment-id: ${{ github.event.comment.id }}\n          reactions: hooray\n\n      - name: react if linting errors were not fixed\n        if: steps.commit-and-push.outcome == 'failure'\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4\n        with:\n          comment-id: ${{ github.event.comment.id }}\n          reactions: confused\n\n      - name: react if linting errors were not fixed\n        if: steps.commit-and-push.outcome  == 'failure'\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4\n        with:\n          issue-number: ${{ github.event.issue.number }}\n          body: |\n            @${{ github.actor }} I tried to fix the linting errors, but it didn't work. Please fix them manually.\n            See [CI log](https://github.com/nf-core/tools/actions/runs/${{ github.run_id }}) for more details.\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:33.607847", "created_at": "2022-03-17T16:45:28+01:00", "updated_at": "2024-01-04T11:06:01+01:00", "name": "Lint tools code formatting", "path": ".github/workflows/lint-code.yml", "contents": "name: Lint tools code formatting\non:\n  push:\n    branches:\n      - dev\n  pull_request:\n  release:\n    types: [published]\n\n# Cancel if a newer run is started\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  Pre-commit:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n\n      - name: Install pre-commit\n        run: pip install pre-commit\n\n      - name: Run pre-commit\n        run: pre-commit run --all-files\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:34.617297", "created_at": "2023-10-05T13:59:37+02:00", "updated_at": "2023-10-05T13:59:37+02:00", "name": "self-hosted test workflow", "path": ".github/workflows/name: self-hosted test workflow.yml", "contents": null, "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:35.655225", "created_at": "2021-04-12T13:52:52+02:00", "updated_at": "2021-05-11T12:11:23+02:00", "name": "nf-core Docker push (dev)", "path": ".github/workflows/push_dockerhub_dev.yml", "contents": "name: nf-core Docker push (dev)\n# This builds the docker image and pushes it to DockerHub\n# Runs on nf-core repo releases and push event to 'dev' branch (PR merges)\non:\n  push:\n    branches: [dev]\n\n# Cancel if a newer run is started\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  push_dockerhub:\n    name: Push new Docker image to Docker Hub (dev)\n    runs-on: ubuntu-latest\n    # Only run for the nf-core repo, for releases and merged PRs\n    if: ${{ github.repository == 'nf-core/tools' }}\n    env:\n      DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}\n      DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_PASS }}\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Check out code\n        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n\n      - name: Build nfcore/tools:dev docker image\n        run: docker build --no-cache . -t nfcore/tools:dev\n\n      - name: Build nfcore/gitpod:dev docker image\n        run: docker build --no-cache . --file nf_core/gitpod/gitpod.Dockerfile -t nfcore/gitpod:dev\n\n      - name: Push Docker images to DockerHub (dev)\n        run: |\n          echo \"$DOCKERHUB_PASS\" | docker login -u \"$DOCKERHUB_USERNAME\" --password-stdin\n          docker push nfcore/tools:dev\n          docker push nfcore/gitpod:dev\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:36.883830", "created_at": "2021-05-11T12:11:23+02:00", "updated_at": "2021-05-11T12:11:23+02:00", "name": "nf-core Docker push (release)", "path": ".github/workflows/push_dockerhub_release.yml", "contents": "name: nf-core Docker push (release)\n# This builds the docker image and pushes it to DockerHub\n# Runs on nf-core repo releases and push event to 'dev' branch (PR merges)\non:\n  release:\n    types: [published]\n\n# Cancel if a newer run is started\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  push_dockerhub:\n    name: Push new Docker image to Docker Hub (release)\n    runs-on: ubuntu-latest\n    # Only run for the nf-core repo, for releases and merged PRs\n    if: ${{ github.repository == 'nf-core/tools' }}\n    env:\n      DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}\n      DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_PASS }}\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Check out code\n        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n\n      - name: Build nfcore/tools:latest docker image\n        run: docker build --no-cache . -t nfcore/tools:latest\n\n      - name: Build nfcore/gitpod:latest docker image\n        run: docker build --no-cache . --file nf_core/gitpod/gitpod.Dockerfile -t nfcore/gitpod:latest\n\n      - name: Push Docker images to DockerHub (release)\n        run: |\n          echo \"$DOCKERHUB_PASS\" | docker login -u \"$DOCKERHUB_USERNAME\" --password-stdin\n          docker push nfcore/tools:latest\n          docker tag nfcore/tools:latest nfcore/tools:${{ github.event.release.tag_name }}\n          docker push nfcore/tools:${{ github.event.release.tag_name }}\n          docker push nfcore/gitpod:latest\n          docker tag nfcore/gitpod:latest nfcore/gitpod:${{ github.event.release.tag_name }}\n          docker push nfcore/gitpod:${{ github.event.release.tag_name }}\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:37.889768", "created_at": "2020-07-09T13:23:41+02:00", "updated_at": "2024-05-21T21:44:20+02:00", "name": "Python tests", "path": ".github/workflows/pytest.yml", "contents": "name: Python tests\n# This workflow is triggered on pushes and PRs to the repository.\n# Only run if we changed a Python file\non:\n  push:\n    branches:\n      - dev\n    paths-ignore:\n      - \"docs/**\"\n      - \"CHANGELOG.md\"\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"CHANGELOG.md\"\n      # ignore github workflows except for the current one\n      - \".github/**\"\n      - \"!.github/workflows/pytest.yml\"\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs:\n      runners:\n        description: \"Runners to test on\"\n        type: choice\n        options:\n          - \"ubuntu-latest\"\n          - \"self-hosted\"\n        default: \"self-hosted\"\n\n# Cancel if a newer run with the same workflow name is queued\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n  setup:\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.12\"]\n        runner: [\"ubuntu-latest\"]\n        include:\n          - python-version: \"3.8\"\n            runner: \"ubuntu-20.04\"\n\n    steps:\n      - name: Check conditions\n        id: conditions\n        run: echo \"run-tests=${{ github.ref == 'refs/heads/master' || (matrix.runner == 'ubuntu-20.04' && matrix.python-version == '3.8') }}\" >> \"$GITHUB_OUTPUT\"\n\n    outputs:\n      python-version: ${{ matrix.python-version }}\n      runner: ${{ matrix.runner }}\n      run-tests: ${{ steps.conditions.outputs.run-tests }}\n\n  # create a test matrix based on all python files in /tests\n  list_tests:\n    name: Get test file matrix\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n        name: Check out source-code repository\n\n      - name: List tests\n        id: list_tests\n        run: |\n          echo \"tests=$(find tests/test_* | tac | sed 's/tests\\///g' | jq -R -s -c '{test: (split(\"\\n\")[:-1])}')\" >> $GITHUB_OUTPUT\n    outputs:\n      tests: ${{ steps.list_tests.outputs.tests }}\n\n  test:\n    name: Run ${{matrix.test}} with Python ${{ needs.setup.outputs.python-version }} on ${{ needs.setup.outputs.runner }}\n    needs: [setup, list_tests]\n    if: ${{ needs.setup.outputs.run-tests }}\n    # run on self-hosted runners for test_components.py (because of the gitlab branch), based on the input if it is dispatched manually, on github if it is a rerun or on self-hosted by default\n    runs-on: ${{ matrix.test == 'test_components.py' && 'self-hosted' || (github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted') }}\n    strategy:\n      matrix: ${{ fromJson(needs.list_tests.outputs.tests) }}\n      fail-fast: false # run all tests even if one fails\n    steps:\n      - name: go to subdirectory and change nextflow workdir\n        run: |\n          mkdir -p pytest\n          cd pytest\n          export NXF_WORK=$(pwd)\n\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n        name: Check out source-code repository\n\n      - name: Set up Python ${{ needs.setup.outputs.python-version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        with:\n          python-version: ${{ needs.setup.outputs.python-version }}\n          cache: \"pip\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip -r requirements-dev.txt\n          pip install -e .\n\n      - name: Downgrade git to the Ubuntu official repository's version\n        if: ${{ needs.setup.outputs.runner == 'ubuntu-20.04' && needs.setup.outputs.python-version == '3.8' }}\n        run: |\n          sudo apt update\n          sudo apt remove -y git git-man\n          sudo add-apt-repository --remove ppa:git-core/ppa\n          sudo apt install -y git\n\n      - name: Set up Singularity\n        if: ${{ matrix.test == 'test_download.py'}}\n        uses: eWaterCycle/setup-singularity@931d4e31109e875b13309ae1d07c70ca8fbc8537 # v7\n        with:\n          singularity-version: 3.8.3\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y-%m')\" >> $GITHUB_ENV\n\n      - name: Install Nextflow\n        uses: nf-core/setup-nextflow@v2\n\n      - name: Install nf-test\n        uses: nf-core/setup-nf-test@v1\n\n      - name: move coveragerc file up\n        run: |\n          mv .github/.coveragerc .\n\n      - name: Test with pytest\n        run: |\n          python3 -m pytest tests/${{matrix.test}} --color=yes --cov --durations=0 && exit_code=0|| exit_code=$?\n          # don't fail if no tests were collected, e.g. for test_licence.py\n          if [ \"${exit_code}\" -eq 5 ]; then\n            echo \"No tests were collected\"\n            exit 0\n          elif [ \"${exit_code}\" -ne 0 ]; then\n            echo \"Tests failed with exit code ${exit_code}\"\n            exit 1\n          fi\n\n      - name: Upload coverage\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4\n        with:\n          name: coverage_${{ matrix.test }}\n          path: .coverage\n\n  coverage:\n    needs: test\n    # use the runner given by the input if it is dispatched manually, run on github if it is a rerun or on self-hosted by default\n    runs-on: ${{ github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted' }}\n    steps:\n      - name: go to subdirectory\n        run: |\n          mkdir -p pytest\n          cd pytest\n\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        env:\n          AGENT_TOOLSDIRECTORY: /opt/actions-runner/_work/tools/tools/\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip -r requirements-dev.txt\n          pip install -e .\n\n      - name: move coveragerc file up\n        run: |\n          mv .github/.coveragerc .\n\n      - name: Download all artifacts\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4\n      - name: Run coverage\n        run: |\n          coverage combine --keep coverage*/.coverage*\n          coverage report\n          coverage xml\n\n      - uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # v4\n        with:\n          files: coverage.xml\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:39.034075", "created_at": "2022-08-25T10:40:13+02:00", "updated_at": "2024-05-21T21:41:45+02:00", "name": ".github/workflows/rich-codex.yml", "path": ".github/workflows/rich-codex.yml", "contents": "name: Generate images for docs\non:\n  workflow_dispatch:\njobs:\n  rich_codex:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        with:\n          python-version: 3.x\n          cache: pip\n          cache-dependency-path: setup.py\n\n      - name: Install Nextflow\n        uses: nf-core/setup-nextflow@v2\n\n      - name: Install nf-test\n        uses: nf-core/setup-nf-test@v1\n\n      - name: Install nf-core/tools\n        run: pip install git+https://github.com/nf-core/tools.git@dev\n\n      - name: Generate terminal images with rich-codex\n        uses: ewels/rich-codex@8ce988cc253c240a3027ba58e33e47640935dd8b # v1\n        env:\n          COLUMNS: 100\n          HIDE_PROGRESS: \"true\"\n        with:\n          commit_changes: \"true\"\n          clean_img_paths: docs/images/*.svg\n          terminal_width: 100\n          before_command: >\n            which nextflow &&\n            which nf-core &&\n            nextflow -version &&\n            nf-core --version\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:40.236188", "created_at": "2020-02-20T16:20:08+01:00", "updated_at": "2020-02-20T16:20:08+01:00", "name": "Sync template", "path": ".github/workflows/sync.yml", "contents": "name: Sync template\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs:\n      testpipeline:\n        type: boolean\n        description: Only run on nf-core/testpipeline?\n        required: true\n      runners:\n        description: \"Runners to test on\"\n        type: choice\n        options:\n          - \"ubuntu-latest\"\n          - \"self-hosted\"\n        default: \"self-hosted\"\n      force_pr:\n        description: \"Force a PR to be created\"\n        type: boolean\n        default: false\n\n# Cancel if a newer run is started\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  get-pipelines:\n    runs-on: \"ubuntu-latest\"\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - id: set-matrix\n        run: |\n          if [ \"${{ github.event.inputs.testpipeline }}\" == \"true\" ]; then\n            echo '{\"pipeline\":[\"testpipeline\"]}' > pipeline_names.json\n          else\n            curl -O https://nf-co.re/pipeline_names.json\n          fi\n          echo \"matrix=$(cat pipeline_names.json)\" >> $GITHUB_OUTPUT\n\n  sync:\n    needs: get-pipelines\n    # use the github runner on release otherwise use the runner given by the input if it is dispatched manually, run on github if it is a rerun or on self-hosted by default\n    runs-on: ${{github.event_name == 'release' && 'self-hosted' || github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted' }}\n    strategy:\n      matrix: ${{fromJson(needs.get-pipelines.outputs.matrix)}}\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n        name: Check out nf-core/tools\n\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n        name: Check out nf-core/${{ matrix.pipeline }}\n        with:\n          repository: nf-core/${{ matrix.pipeline }}\n          ref: dev\n          token: ${{ secrets.nf_core_bot_auth_token }}\n          path: nf-core/${{ matrix.pipeline }}\n          fetch-depth: \"0\"\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n\n      - name: Install Nextflow\n        uses: nf-core/setup-nextflow@v2\n        with:\n          version: \"latest-everything\"\n\n      - name: Run synchronisation\n        if: github.repository == 'nf-core/tools'\n        env:\n          GITHUB_AUTH_TOKEN: ${{ secrets.nf_core_bot_auth_token }}\n        run: |\n          git config --global user.email \"core@nf-co.re\"\n          git config --global user.name \"nf-core-bot\"\n          nf-core --log-file sync_log_${{ matrix.pipeline }}.txt sync -d nf-core/${{ matrix.pipeline }} \\\n            --from-branch dev \\\n            --pull-request \\\n            --username nf-core-bot \\\n            --github-repository nf-core/${{ matrix.pipeline }}\n\n      - name: Upload sync log file artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4\n        with:\n          name: sync_log_${{ matrix.pipeline }}\n          path: sync_log_${{ matrix.pipeline }}.txt\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:41.230130", "created_at": "2020-02-17T16:25:44+01:00", "updated_at": "2024-02-20T15:25:25+01:00", "name": "generate nf-core/tools API docs", "path": ".github/workflows/tools-api-docs.yml", "contents": "name: generate nf-core/tools API docs\non:\n  push:\n    branches:\n      - dev\n    paths:\n      - nf_core/**/*.py\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs:\n      ref_name:\n        description: \"The branch or tag to build the API docs for\"\n        required: true\n        default: \"dev\"\n\n# Cancel if a newer run is started\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  api-docs:\n    name: trigger API docs build on website repo\n    runs-on: ubuntu-latest\n    steps:\n      - name: trigger API docs build\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7\n        with:\n          github-token: ${{ secrets.nf_core_bot_auth_token }}\n          script: |\n            await github.rest.actions.createWorkflowDispatch({\n              owner: 'nf-core',\n              repo: 'website',\n              workflow_id: 'add-tools-api-docs.yml',\n              ref: 'main',\n              inputs: {\n                \"ref_name\": \"${{ inputs.ref_name || github.ref_name }}\"\n              },\n            })\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:42.259416", "created_at": "2024-02-20T15:25:25+01:00", "updated_at": "2024-02-20T15:25:25+01:00", "name": "Update Modules Template", "path": ".github/workflows/update_components_template.yml", "contents": "name: Update Modules Template\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  update_modules:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4\n\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5\n        with:\n          python-version: \"3.x\"\n\n      - name: Install nf-core\n        run: pip install nf-core\n\n      - name: Update modules\n        run: nf-core modules update --all --no-preview\n        working-directory: nf_core/pipeline-template\n\n      - name: Update subworkflows\n        run: nf-core subworkflows update --all --no-preview\n        working-directory: nf_core/pipeline-template\n\n      # Commit the changes\n      - name: Commit changes\n        run: |\n          git config user.email \"core@nf-co.re\"\n          git config user.name \"nf-core-bot\"\n          git add .\n          git status\n          git commit -m \"[automated] Fix code linting\"\n\n      # Open a new PR to dev with the changes\n      - name: Create PR\n        run: |\n          git checkout -b update-modules\n          git push origin update-modules\n          gh pr create --title \"Update modules in template\" --body \"This PR updates the modules in the pipeline template\" --base dev --head update-modules\n", "state": "active", "repository": "nf-core/tools"}
{"mined_at": "2024-07-15T14:14:44.440893", "created_at": "2023-03-15T10:20:01+01:00", "updated_at": "2023-03-15T10:20:01+01:00", "name": "Docker image and tests", "path": ".github/workflows/dockers.yml", "contents": "name: Docker image and tests\n\non:\n  push:\n  release:\n    types: [ published ]\n  workflow_dispatch:\n\n\njobs:\n  docker-image:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up QEMU for cross-platforms builds\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker Hub\n        if: github.event_name != 'push'\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_TOKEN }}\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: marketsquare/robotframework-browser\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{major}}\n          flavor: |\n            latest=true\n\n      - name: Push tag :version_number to Docker Hub\n        uses: docker/build-push-action@v6\n        with:\n          tags: ${{ steps.meta.outputs.tags }}\n          file: docker/Dockerfile.latest_release\n          platforms: linux/arm64/v8,linux/amd64\n          push: ${{ github.event_name != 'push' }}\n\n      - name: Docker meta\n        id: meta_github\n        uses: docker/metadata-action@v5\n        with:\n          images: ghcr.io/marketsquare/robotframework-browser/rfbrowser-stable\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{major}}\n          flavor: |\n            latest=true\n\n      - name: Login to GitHub Container Registry\n        if: github.event_name != 'push'\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Push to GitHub Packages\n        uses: docker/build-push-action@v6\n        with:\n          platforms: linux/arm64/v8,linux/amd64\n          file: docker/Dockerfile.latest_release\n          tags: ${{ steps.meta_github.outputs.tags }}\n          push: ${{ github.event_name != 'push' }}\n\n  test-docker-image:\n    needs: docker-image\n    runs-on: ubuntu-latest\n    if: github.event_name != 'push'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n          cache: 'pip'\n      - name: Install python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install uv\n          uv pip install wheel --python 3.9 --system\n          uv pip install -r Browser/dev-requirements.txt  --python 3.9 --system\n      - name: Install invoke deps\n        run: |\n          invoke deps\n      - name: build testing docker image\n        run: |\n          invoke docker-tester\n      - name: set permissions\n        run: chmod -R 777 atest/\n      - name: Run tests with latest stable docker image\n        # continue on error until all docker tests pass\n        run: |\n          invoke docker-test\n      - uses: actions/upload-artifact@v4\n        if: ${{ always() }}\n        with:\n          name: ${{ matrix.os }} ${{ matrix.python-version }} ${{ matrix.node-version }} Clean install results\n          path: atest/output\n", "state": "active", "repository": "marketsquare/robotframework-browser"}
{"mined_at": "2024-07-15T14:14:45.692507", "created_at": "2020-12-15T09:00:37+01:00", "updated_at": "2022-03-27T16:52:22+02:00", "name": "Continuous integration", "path": ".github/workflows/on-push.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Continuous integration\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  schedule:\n    - cron: '15 10 * * *'\n\nenv:\n  SYS_VAR_CI_INSTALL_TEST: 0\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ \"ubuntu-latest\", \"windows-latest\" ]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: 20.x\n        cache: 'npm'\n    - name: Install nodejs dependencies\n      env:\n        PLAYWRIGHT_BROWSERS_PATH: 0\n      run: |\n        npm ci\n        npx playwright install --with-deps\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n        cache: 'pip'\n    - name: Install python dependencies in Linux\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        python -m pip install --upgrade pip\n        pip install uv\n        uv pip install wheel --python 3.9  --system --verbose\n        uv pip install -r Browser/dev-requirements.txt  --python 3.9 --system\n    - name: Install python dependencies in Windows\n      if: matrix.os != 'ubuntu-latest'\n      run: |\n        python -m pip install --upgrade pip\n        pip install uv\n        uv pip install wheel --python 3.9  --system --verbose\n        uv pip install -r Browser/dev-requirements.txt  --python 3.9  --system\n    - name: Build Protos and check with tsc\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        inv node-build\n        python -m Browser.gen_stub\n    - name: Build test app\n      run: |\n        inv create-test-app\n    - name: Create Distributable Package\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        inv docs\n        inv create-package\n    - uses: actions/upload-artifact@v4\n      if: matrix.os == 'ubuntu-latest'\n      with:\n        name: rfbrowser-wheel\n        path: dist/robotframework_browser-*-py3-none-any.whl\n    - name: Package demoapp\n      run: |\n        inv demo-app\n    - uses: actions/upload-artifact@v4\n      with:\n        name: demoapp-${{ matrix.os }}\n        path: zip_results/demoapp\n  testing:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: windows-latest\n            python-version: \"3.9\"\n            node-version: 18.x\n            shard: 1\n          - os: windows-latest\n            python-version: \"3.12\"\n            node-version: 20.x\n            shard: 2\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            node-version: 18.x\n            shard: 3\n          - os: ubuntu-latest\n            python-version: \"3.11\"\n            node-version: 20.x\n            shard: 4\n          - os: windows-latest\n            python-version: \"3.8\"\n            node-version: 20.x\n            shard: 1\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            node-version: 18.x\n            shard: 2\n          - os: ubuntu-latest\n            python-version: \"3.8\"\n            node-version: 18.x\n            shard: 3\n          - os: ubuntu-latest\n            python-version: \"3.9\"\n            node-version: 20.x\n            shard: 4\n          - os: ubuntu-latest\n            python-version: \"3.11\"\n            node-version: 20.x\n            shard: 1\n          - os: macos-latest\n            python-version: \"3.11\"\n            node-version: 20.x\n            shard: 1\n          - os: macos-latest\n            python-version: \"3.12\"\n            node-version: 20.x\n            shard: 2\n          - os: macos-latest\n            python-version: \"3.10\"\n            node-version: 20.x\n            shard: 3\n    steps:\n    - uses: actions/checkout@v4\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: ${{ matrix.node-version }}\n        cache: 'npm'\n    - name: Install nodejs dependencies\n      env:\n        PLAYWRIGHT_BROWSERS_PATH: 0\n      run: |\n        npm ci\n        npx playwright install --with-deps\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install uv\n        uv pip install wheel --python ${{ matrix.python-version }} --system\n        uv pip install -r Browser/dev-requirements.txt --python ${{ matrix.python-version }} --system\n    - name: Build Protos and check with tsc\n      run: |\n        inv node-build\n        python -m Browser.gen_stub\n    - name: Check types with mypy on Linux\n      if: matrix.os == 'ubuntu-latest' && matrix.shard == 1 && matrix.python-version != '3.10'\n      run: |\n        inv lint-python\n    - name: Lint atest\n      if: matrix.shard == 1\n      run: |\n        inv lint-robot\n    - name: Lint node\n      if: matrix.shard == 1\n      run: |\n        inv lint-node\n    - name: Build test app\n      run: |\n        inv create-test-app\n    - name: Start xvfb on Linux\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        export DISPLAY=:99.0\n        Xvfb -ac :99 -screen 0 1280x1024x16 > /dev/null 2>&1 &\n    - name: Run pytests\n      if: matrix.shard == 1\n      run: |\n        invoke utest\n    - name: Run Robot Framework tests on linux\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        xvfb-run --auto-servernum inv atest --shard ${{ matrix.shard }}/4 -z true\n    - name: Run Robot Framework tests on Windows\n      if: matrix.os == 'windows-latest'\n      run: |\n        inv atest --shard ${{ matrix.shard }}/4 -z true\n    - name: Run Robot Framework tests on macOS\n      if: matrix.os == 'macos-latest'\n      run: |\n        inv atest --shard ${{ matrix.shard }}/4 -z true\n    - uses: actions/upload-artifact@v4\n      if: ${{ always() }}\n      with:\n        name: Test results-${{ matrix.os }}-${{ matrix.shard }}-${{ matrix.python-version }}-${{ matrix.node-version }}\n        path: zip_results/output\n  test-install:\n    needs: build\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, ubuntu-latest]\n        python-version: [3.8, 3.11]\n        node-version: [18.x, 20.x]\n        exclude:\n          - python-version: 3.8\n            node-version: 20.x\n          - os: windows-latest\n            python-version: 3.8\n          - os: windows-latest\n            node-version: 20.x\n    steps:\n      - uses: actions/checkout@v4\n      - name: Download package for install testing\n        uses: actions/download-artifact@v4\n        with:\n          name: rfbrowser-wheel\n      - name: Download package for install testing\n        uses: actions/download-artifact@v4\n        with:\n          name: demoapp-${{ matrix.os }}\n          path: zip_results/demoapp\n      - name: Unzip demoapp in linux or MacOS\n        if: matrix.os != 'windows-latest'\n        run: |\n          ls -l zip_results/demoapp\n          unzip -o zip_results/demoapp/demo-app-linux.zip\n      - name: Unzip demoapp in windows\n        if: matrix.os == 'windows-latest'\n        run: |\n          dir zip_results/demoapp\n          tar -xf zip_results/demoapp/demo-app-win32.zip\n      - name: Use Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n          cache: 'npm'\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Install Robot Framework Browser on unix-like\n        run: |\n          pip install uv\n          uv pip install ./robotframework_browser-*-py3-none-any.whl  --python ${{ matrix.python-version }} --system\n        if: matrix.os != 'windows-latest'\n      - name: Install Robot Framework Browser on windows\n        run: |\n          pip install uv\n          uv pip install (gci *.whl)--python ${{ matrix.python-version }} --system\n        if: matrix.os == 'windows-latest'\n      - name: Install node deps and python deps for test running\n        run: |\n          rfbrowser init\n          uv pip install wheel --python ${{ matrix.python-version }} --system\n          uv pip install -r Browser/dev-requirements.txt  --python ${{ matrix.python-version }} --system\n      - name: Test on unix-like os - serial mode\n        if: matrix.os == 'ubuntu-latest'\n        env:\n          SYS_VAR_CI_INSTALL_TEST: 1\n        run: |\n          echo ${{ matrix.os }}\n          rm -rf Browser\n          export DISPLAY=:99.0\n          Xvfb -ac :99 -screen 0 1280x1024x16 > /dev/null 2>&1 &\n          xvfb-run --auto-servernum invoke atest-robot --smoke\n      - name: Run Robot Framework tests on windows or macOS\n        if: ${{ matrix.os != 'ubuntu-latest' }}\n        env:\n          SYS_VAR_CI_INSTALL_TEST: 1\n        run: |\n          echo ${{ matrix.os }}\n          Remove-Item -Path .\\Browser -Force -Recurse\n          invoke atest-robot --smoke\n      - name: Uninstall on Linux or MacOS\n        if: ${{ matrix.os != 'windows-latest' }}\n        run: |\n          rfbrowser clean-node\n          uv pip uninstall robotframework-browser  --python ${{ matrix.python-version }} --system\n      - uses: actions/upload-artifact@v4\n        if: ${{ always() }}\n        with:\n          name: ${{ matrix.os }} ${{ matrix.python-version }} ${{ matrix.node-version }} Clean install results\n          path: atest/output\n", "state": "active", "repository": "marketsquare/robotframework-browser"}
{"mined_at": "2024-07-15T14:14:46.900095", "created_at": "2020-08-17T11:56:06+02:00", "updated_at": "2020-08-18T16:49:30+02:00", "name": "Release tasks", "path": ".github/workflows/on-release.yml", "contents": "name: Release tasks\n\non:\n  release:\n    types: [ published ]\n\njobs:\n  gh-pages:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: Use Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20.x\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n      - name: Dependencies for building docs\n        run: |\n          npm ci\n          python -m pip install --upgrade pip\n          pip install uv\n          uv pip install -r Browser/dev-requirements.txt  --python 3.12 --system\n          inv build\n      - name: Build docs\n        run: |\n          inv docs\n          inv gh-pages-index\n      - name: Deploy 🚀\n        uses: JamesIves/github-pages-deploy-action@v4.6.1\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          BRANCH: gh-pages # The branch the action should deploy to.\n          FOLDER: docs # The folder the action should deploy.\n", "state": "active", "repository": "marketsquare/robotframework-browser"}
{"mined_at": "2024-07-15T14:14:47.910127", "created_at": "2022-01-14T19:40:26+01:00", "updated_at": "2022-01-14T19:40:26+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "marketsquare/robotframework-browser"}
{"mined_at": "2024-07-15T14:14:50.094260", "created_at": "2020-11-05T15:44:48+01:00", "updated_at": "2020-11-05T15:44:48+01:00", "name": "C Actions", "path": ".github/workflows/c_actions.yml", "contents": "# Copyright (c) 2020 The University of Manchester\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# This workflow will install Python dependencies, run tests, lint and rat with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: C Actions\non: [push]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - name: Prepare\n      uses: SpiNNakerManchester/SupportScripts/actions/prepare@main\n      with:\n        python-version: \"3.12\"\n        checkout_dependencies: spinnaker_tools spinn_common SpiNNFrontEndCommon\n        install_dependencies: SpiNNUtils\n        install_module: false\n        install_check_tools: false\n        ubuntu_packages: doxygen gcc-arm-none-eabi\n\n    - name: Set environment variables\n      run: |\n        echo \"SPINN_DIRS=$PWD/spinnaker_tools\" >> $GITHUB_ENV\n        echo \"NEURAL_MODELLING_DIRS=$PWD/neural_modelling\" >> $GITHUB_ENV\n        echo \"C_LOGS_DICT=$PWD/logs.sqlite3\" >> $GITHUB_ENV\n\n    - name: Lint C code using Vera++\n      uses: SpiNNakerManchester/SupportScripts/actions/vera@main\n      with:\n        base-dir: neural_modelling/src\n\n    - name: Build C dependencies\n      run: |\n        make -C $SPINN_DIRS\n        make -C spinn_common install\n\n    - name: Build FEC C code\n      run: make\n      working-directory: SpiNNFrontEndCommon/c_common\n      env:\n        CFLAGS: -fdiagnostics-color=always\n\n    - name: Build PYNN C code\n      run: make\n      working-directory: neural_modelling\n      env:\n        CFLAGS: -fdiagnostics-color=always\n\n    - name: Build C code in DEBUG mode\n      run: make clean; make SPYNNAKER_DEBUG=DEBUG\n      working-directory: neural_modelling\n      env:\n        CFLAGS: -fdiagnostics-color=always\n\n    - name: Build documentation using doxygen\n      run: make doxysetup doxygen\n      working-directory: neural_modelling\n\n    - name: Upload Fec binaries\n      uses: actions/upload-artifact@v4\n      with:\n        name: fec_binaries\n        path: SpiNNFrontEndCommon/spinn_front_end_common/common_model_binaries/*.aplx\n        retention-days: 5\n\n    - name: Upload PyNN binaries\n      uses: actions/upload-artifact@v4\n      with:\n        name: pynn_binaries\n        path: spynnaker/pyNN/model_binaries/*.aplx\n        retention-days: 5\n\n    - name: Upload log.sqlite3s\n      uses: actions/upload-artifact@v4\n      with:\n        name: logs.sqlite3\n        path: logs.sqlite3\n        retention-days: 5\n\n  test:\n    needs: build\n    runs-on: ${{ matrix.runner }}\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        runner: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n    - name: Prepare\n      uses: SpiNNakerManchester/SupportScripts/actions/prepare@main\n      with:\n        python-version: \"3.12\"\n        install_dependencies: > \n          SpiNNUtils SpiNNMachine SpiNNMan PACMAN spalloc\n          SpiNNFrontEndCommon TestBase\n        install_module: true\n        install_check_tools: false\n        ubuntu_packages: graphviz\n        cfg_file: spynnaker\n\n    - name: Download Fec binaries\n      uses: actions/download-artifact@v4\n      with:\n        name: fec_binaries\n        # Need to go into spynnaker as FEC will have been moved by install\n        path: external_binaries\n\n    - name: Download PyNN Binaries\n      uses: actions/download-artifact@v4\n      with:\n        name: pynn_binaries\n        path: external_binaries\n\n    - name: Download logs.sqlite3\n      uses: actions/download-artifact@v4\n      with:\n        name: logs.sqlite3\n        path: external_binaries\n\n    - name: Append cfg\n      # Doing this in the prepare action ended with a different path\n      run: | \n        echo '[Mapping]' >> ~/.spynnaker.cfg\n        echo \"external_binaries=$PWD/external_binaries\" >> ~/.spynnaker.cfg\n        cat ~/.spynnaker.cfg\n\n    - name: Test with pytest and proxy\n      env:\n        SPALLOC_USER: ${{ secrets.SPALLOC_USER }}\n        SPALLOC_PASSWORD: ${{ secrets.SPALLOC_PASSWORD }}\n      run: pytest proxy_integration_tests\n", "state": "active", "repository": "spinnakermanchester/spynnaker"}
{"mined_at": "2024-07-15T14:14:51.322539", "created_at": "2020-11-11T10:50:09+01:00", "updated_at": "2020-11-11T10:50:09+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "# Copyright (c) 2020 The University of Manchester\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Publish\non:\n  push:\n    branches: [ master ]\n\nenv:\n  ROOT_DOC_DIR: doc/global\n  C_DOC_DIR: neural_modelling/html\n  DEPLOY_DIR: deploy\n\njobs:\n  build:\n    permissions:\n      contents: write\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Checkout SupportScripts\n        uses: actions/checkout@v4\n        with:\n          repository: SpiNNakerManchester/SupportScripts\n          path: support\n      - name: Set dynamic environment variables\n        run: |\n          echo \"SPINN_DIRS=$PWD/spinnaker_tools\" >> $GITHUB_ENV\n          echo \"NEURAL_MODELLING_DIRS=$PWD/neural_modelling\" >> $GITHUB_ENV\n\n      - name: Checkout SpiNNaker Dependencies\n        uses: ./support/actions/install-spinn-deps\n        with:\n          repositories: >\n            spinnaker_tools\n          install: true\n\n      - name: Read tags\n        run: make doxysetup\n        working-directory: neural_modelling\n\n      - name: Build C documentation\n        uses: mattnotmitt/doxygen-action@v1.9.8\n        with:\n          working-directory: neural_modelling\n\n      - name: Merge documentation trees\n        run: |\n          cp -vaT $ROOT_DOC_DIR $DEPLOY_DIR\n          cp -vaT $C_DOC_DIR $DEPLOY_DIR/c\n\n      - name: Deploy to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4.6.1\n        with:\n          branch: gh-pages\n          folder: ${{ env.DEPLOY_DIR }}\n", "state": "active", "repository": "spinnakermanchester/spynnaker"}
{"mined_at": "2024-07-15T14:14:52.448950", "created_at": "2020-11-05T13:08:46+01:00", "updated_at": "2022-01-19T18:04:17+01:00", "name": "Python Actions", "path": ".github/workflows/python_actions.yml", "contents": "# Copyright (c) 2020 The University of Manchester\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# This workflow will install Python dependencies, run tests, lint and rat with\n# a variety of Python versions. For more information see:\n# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n# Note that documentation building is done in parallel (with testing) because\n# that takes a long time in sPyNNaker right now.\n\nname: Python Actions\non: [push]\n\njobs:\n  call:\n    uses: SpiNNakerManchester/SupportScripts/.github/workflows/python_checks.yml@main\n    with:\n      dependencies: SpiNNUtils SpiNNMachine SpiNNMan PACMAN spalloc SpiNNFrontEndCommon TestBase\n      ubuntu_packages: graphviz\n      test_directories: unittests\n      coverage-package: spynnaker\n      flake8-packages: spynnaker unittests\n      pylint-packages: spynnaker\n      mypy-packages: spynnaker\n      check_prereleases: false\n      cfg_file: spynnaker\n", "state": "active", "repository": "spinnakermanchester/spynnaker"}
{"mined_at": "2024-07-15T14:14:53.582523", "created_at": "2021-12-17T14:09:40+01:00", "updated_at": "2021-12-17T14:09:40+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "spinnakermanchester/spynnaker"}
{"mined_at": "2024-07-15T14:14:55.635847", "created_at": "2023-10-07T00:04:20+02:00", "updated_at": "2023-10-09T23:30:30+02:00", "name": "mflowgen pytest CI", "path": ".github/workflows/pytest-ci.yml", "contents": "name: mflowgen pytest CI\n\non:\n  # Every push\n  push:\n  \n  # Every PR\n  pull_request:\n\n  # Every day at 3 AM\n  schedule:\n  - cron: '0 3 * * *'\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.7\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        pip install .\n        pip install -r requirements/ci.txt\n    - name: Test with pytest\n      run: |\n        pytest mflowgen\n\n", "state": "active", "repository": "mflowgen/mflowgen"}
{"mined_at": "2024-07-15T14:14:57.777068", "created_at": "2021-11-22T09:00:46+01:00", "updated_at": "2022-10-10T13:12:19+02:00", "name": "CI Tests", "path": ".github/workflows/ci.yml", "contents": "name: CI Tests\n\non:\n  pull_request:\n  push:\n  workflow_dispatch:\njobs:\n  Sphinx-Pytest-Coverage:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        env: [environment_a, environment_b, conda-forge]\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/cache@v4\n      id: cache\n      with:\n        path: /usr/share/miniconda/envs/im${{ matrix.env }}\n        key: ${{ format('{0}-conda-improver-{1}-{2}', runner.os, matrix.env, hashFiles(format('envs/{0}.yml', matrix.env))) }}\n    - name: conda env update\n      if: steps.cache.outputs.cache-hit != 'true'\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda update -q -n base -c defaults conda\n        conda install -q -n base -c conda-forge -c nodefaults mamba\n        rm -f /usr/share/miniconda/pkgs/cache/*.json # workaround for mamba-org/mamba#488\n        mamba env create -q --file envs/${{ matrix.env }}.yml --name im${{ matrix.env }}\n    - name: conda info\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        conda info\n        conda list\n    - name: sphinx documentation\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        make -C doc html SPHINXOPTS=\"-W --keep-going\"\n    - name: pytest without coverage\n      if: matrix.env == 'conda-forge'\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        pytest\n    - name: pytest with coverage\n      if: matrix.env != 'conda-forge'\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        pytest --cov=improver --cov-report xml:coverage.xml\n    - name: codacy upload\n      if: env.CODACY_PROJECT_TOKEN && matrix.env == 'environment_a'\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        python-codacy-coverage -v -r coverage.xml\n      env:\n        CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}\n    - name: codecov upload\n      uses: codecov/codecov-action@v4\n      with:\n        name:  ${{ matrix.env }}\n      if: matrix.env != 'conda_forge'\n  Codestyle-and-flake8:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        env: [environment_a]\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/cache@v4\n      id: cache\n      with:\n        path: /usr/share/miniconda/envs/im${{ matrix.env }}\n        key: ${{ format('{0}-conda-improver-{1}-{2}', runner.os, matrix.env, hashFiles(format('envs/{0}.yml', matrix.env))) }}\n    - name: conda env update\n      if: steps.cache.outputs.cache-hit != 'true'\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda update -q -n base -c defaults conda\n        conda install -q -n base -c conda-forge -c nodefaults mamba\n        rm -f /usr/share/miniconda/pkgs/cache/*.json # workaround for mamba-org/mamba#488\n        mamba env create -q --file envs/${{ matrix.env }}.yml --name im${{ matrix.env }}\n    - name: conda info\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        conda info\n        conda list\n    - name: isort\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        isort --check-only .\n    - name: black\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        black --check .\n    - name: flake8\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        flake8 improver improver_tests\n  PR-standards:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Check CONTRIBUTING.md\n        uses: cylc/release-actions/check-shortlog@v1\n  Safety-Bandit:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        env: [environment_a, environment_b, conda-forge]\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/cache@v4\n      id: cache\n      with:\n        path: /usr/share/miniconda/envs/im${{ matrix.env }}\n        key: ${{ format('{0}-conda-improver-{1}-{2}', runner.os, matrix.env, hashFiles(format('envs/{0}.yml', matrix.env))) }}\n    - name: conda env update\n      if: steps.cache.outputs.cache-hit != 'true'\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda update -q -n base -c defaults conda\n        conda install -q -n base -c conda-forge mamba\n        rm -f /usr/share/miniconda/pkgs/cache/*.json # workaround for mamba-org/mamba#488\n        mamba env create -q --file envs/${{ matrix.env }}.yml --name im${{ matrix.env }}\n    - name: conda info\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        conda info\n        conda list\n    - name: safety\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        safety check || true\n    - name: bandit\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        bandit -r improver\n", "state": "active", "repository": "metoppv/improver"}
{"mined_at": "2024-07-15T14:14:59.002560", "created_at": "2021-11-22T09:00:45+01:00", "updated_at": "2021-12-01T01:37:04+01:00", "name": "Scheduled Tests", "path": ".github/workflows/scheduled.yml", "contents": "# Note that this file intentionally uses no cache, see\n# https://github.com/metoppv/improver/pull/1651#issue-1108889073\nname: Scheduled Tests\n\non:\n  schedule:\n    - cron: '7 4 * * *'\n  workflow_dispatch:\njobs:\n  Sphinx-Pytest-Coverage:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        env: [latest]\n    if: github.repository_owner == 'metoppv'\n    steps:\n    - uses: actions/checkout@v4\n    - name: conda env update\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda update -q -n base -c defaults conda\n        conda install -q -n base -c conda-forge -c nodefaults mamba\n        rm -f /usr/share/miniconda/pkgs/cache/*.json # workaround for mamba-org/mamba#488\n        mamba env create -q --file envs/${{ matrix.env }}.yml --name im${{ matrix.env }}\n    - name: conda info\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        conda info\n        conda list\n    - name: sphinx documentation\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        make -C doc html SPHINXOPTS=\"-W --keep-going\"\n    - name: pytest without coverage\n      if: matrix.env != 'environment_a'\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        pytest\n    - name: pytest with coverage\n      if: matrix.env == 'environment_a'\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        pytest --cov=improver --cov-report xml:coverage.xml\n    - name: codacy upload\n      if: env.CODACY_PROJECT_TOKEN && matrix.env == 'environment_a'\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        python-codacy-coverage -v -r coverage.xml\n      env:\n        CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}\n    - name: codecov upload\n      uses: codecov/codecov-action@v4\n      if: matrix.env == 'environment_a'\n  Safety-Bandit:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        env: [latest]\n    if: github.repository_owner == 'metoppv'\n    steps:\n    - uses: actions/checkout@v4\n    - name: conda env update\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda update -q -n base -c defaults conda\n        conda install -q -n base -c conda-forge -c nodefaults mamba\n        rm -f /usr/share/miniconda/pkgs/cache/*.json # workaround for mamba-org/mamba#488\n        mamba env create -q --file envs/${{ matrix.env }}.yml --name im${{ matrix.env }}\n    - name: conda info\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        conda info\n        conda list\n    - name: safety\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        safety check || true\n    - name: bandit\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        bandit -r improver\n  Type-checking:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        env: [latest]\n    if: github.repository_owner == 'metoppv'\n    steps:\n    - uses: actions/checkout@v4\n    - name: conda env update\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda update -q -n base -c defaults conda\n        conda install -q -n base -c conda-forge -c nodefaults mamba\n        rm -f /usr/share/miniconda/pkgs/cache/*.json # workaround for mamba-org/mamba#488\n        mamba env create -q --file envs/${{ matrix.env }}.yml --name im${{ matrix.env }}\n    - name: conda info\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        conda info\n        conda list\n    - name: mypy\n      run: |\n        source '/usr/share/miniconda/etc/profile.d/conda.sh'\n        conda activate im${{ matrix.env }}\n        mypy improver || true\n", "state": "active", "repository": "metoppv/improver"}
{"mined_at": "2024-07-15T14:15:00.231404", "created_at": "2022-07-19T09:02:08+02:00", "updated_at": "2022-07-19T09:02:08+02:00", "name": "Stale pull-requests", "path": ".github/workflows/stale.yml", "contents": "# See https://github.com/actions/stale\n\nname: Stale pull-requests\n\non:\n  schedule:\n    # Run once a day\n    # N.B. \"should\" be quoted, according to\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule\n    - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    if: \"github.repository == 'metoppv/improver'\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n\n          # Idle number of days before marking issues/prs stale.\n          days-before-issue-stale: -1\n          days-before-pr-stale: 60\n\n          # Idle number of days before closing stale issues/prs.\n          days-before-issue-close: -1\n          days-before-pr-close: 30\n\n          # Comment on the staled prs.\n          stale-pr-message: |\n            In order to maintain a backlog of relevant PRs, we automatically label them as stale after 60 days of inactivity.\n\n            If this PR is still important to you, then please comment on this PR and the stale label will be removed.\n\n            Otherwise this PR will be automatically closed in 30 days time.\n\n          # Comment on the staled prs while closed.\n          close-pr-message: |\n            This stale PR has been automatically closed due to a lack of activity.\n\n            If you still care about this PR, then please re-open this PR.\n\n          # Label to apply on staled prs.\n          stale-pr-label: Stale\n\n          # Labels on prs exempted from stale.\n          exempt-pr-labels:\n            \"good first issue\"\n\n          # Max number of operations per run.\n          operations-per-run: 300\n\n          # Remove stale label from issues/prs on updates/comments.\n          remove-stale-when-updated: true\n\n          # Order to get issues/PRs.\n          ascending: true\n\n          # Exempt all issues/prs with milestones from stale.\n          exempt-all-milestones: true\n\n", "state": "active", "repository": "metoppv/improver"}
{"mined_at": "2024-07-15T14:15:02.588121", "created_at": "2019-12-19T06:56:26+01:00", "updated_at": "2021-11-24T04:06:14+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\nconcurrency: deploy-${{ fromJSON('[\"pastaporto\", \"production\"]')[github.ref == 'refs/heads/main'] }}\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n    inputs:\n      comment-id:\n        description: 'The comment-id of the slash command'\n        required: false\n      event-number:\n        description: 'The event-id of the slash command'\n        required: false\n\nenv:\n  TF_WORKSPACE:  ${{ fromJSON('[\"pastaporto\", \"production\"]')[github.ref == 'refs/heads/main'] }}\n\njobs:\n  create-db:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./infrastructure/applications\n    steps:\n      - uses: actions/checkout@v2\n        if: github.ref != 'refs/heads/main'\n        with:\n          ref: ${{ github.ref }}\n          fetch-depth: 0\n      - name: Configure AWS credentials\n        if: github.ref != 'refs/heads/main'\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.aws_access_key_id }}\n          aws-secret-access-key: ${{ secrets.aws_secret_access_key }}\n          aws-region: eu-central-1\n      - uses: hashicorp/setup-terraform@v1\n        if: github.ref != 'refs/heads/main'\n        with:\n          terraform_version: 1.2.4\n      - name: Terraform Init\n        if: github.ref != 'refs/heads/main'\n        run: terraform init\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      - name: Terraform apply\n        if: github.ref != 'refs/heads/main'\n        run: terraform apply -target module.database -no-color -auto-approve &> /dev/null\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: eu-central-1\n\n  build-and-push-service:\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        service:\n          - name: pycon-backend\n            dir: backend\n          - name: pretix\n            dir: pretix\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.ref }}\n          fetch-depth: 0\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.aws_access_key_id }}\n          aws-secret-access-key: ${{ secrets.aws_secret_access_key }}\n          aws-region: eu-central-1\n      - name: Get service githash\n        id: git\n        run: |\n          hash=$(git rev-list -1 HEAD -- ${{ matrix.service.dir }})\n          echo \"::set-output name=githash::$hash\"\n      - name: Check if commit is already on ECR\n        id: image\n        run: |\n          set +e\n          aws ecr describe-images --repository-name=pythonit/${{ matrix.service.name }} --image-ids=imageTag=${{ steps.git.outputs.githash }}\n          if [[ $? == 0 ]]; then\n            echo '::set-output name=image_exists::1'\n          else\n            echo '::set-output name=image_exists::0'\n          fi\n      - name: Set up QEMU dependency\n        if: ${{ steps.image.outputs.image_exists == 0 }}\n        uses: docker/setup-qemu-action@v2\n      - name: Login to GitHub Packages\n        if: ${{ steps.image.outputs.image_exists == 0 }}\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Login to Amazon ECR\n        if: ${{ steps.image.outputs.image_exists == 0 }}\n        uses: aws-actions/amazon-ecr-login@v1\n      - name: Set up Docker Buildx\n        id: buildx\n        if: ${{ steps.image.outputs.image_exists == 0 }}\n        uses: docker/setup-buildx-action@v2\n      - name: Cache Docker layers\n        if: ${{ steps.image.outputs.image_exists == 0 }}\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ matrix.service.name }}\n      - name: Build and push\n        if: ${{ steps.image.outputs.image_exists == 0 }}\n        uses: docker/build-push-action@v4.0.0\n        with:\n          context: ./${{ matrix.service.dir }}\n          file: ./${{ matrix.service.dir }}/Dockerfile\n          builder: ${{ steps.buildx.outputs.name }}\n          provenance: false\n          push: true\n          tags: |\n            ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.eu-central-1.amazonaws.com/pythonit/${{ matrix.service.name }}:${{ steps.git.outputs.githash }}\n            ghcr.io/pythonitalia/pycon/${{ matrix.service.name }}:${{ steps.git.outputs.githash }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n          platforms: linux/amd64\n\n  build-and-push-arm-service:\n    runs-on: [self-hosted]\n    permissions:\n      packages: write\n      contents: read\n    strategy:\n      fail-fast: false\n      matrix:\n        service:\n          - name: pycon-backend\n            dir: backend\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.ref }}\n          fetch-depth: 0\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.aws_access_key_id }}\n          aws-secret-access-key: ${{ secrets.aws_secret_access_key }}\n          aws-region: eu-central-1\n      - name: Get service githash\n        id: git\n        run: |\n          hash=$(git rev-list -1 HEAD -- ${{ matrix.service.dir }})\n          echo \"::set-output name=githash::$hash\"\n      - name: Check if commit is already on ECR\n        id: image\n        run: |\n          set +e\n          aws ecr describe-images --repository-name=pythonit/${{ matrix.service.name }} --image-ids=imageTag=arm-${{ steps.git.outputs.githash }}\n          if [[ $? == 0 ]]; then\n            echo '::set-output name=image_exists::1'\n          else\n            echo '::set-output name=image_exists::0'\n          fi\n      - name: Set up QEMU dependency\n        if: ${{ steps.image.outputs.image_exists == 0 }}\n        uses: docker/setup-qemu-action@v2\n      - name: Login to GitHub Packages\n        if: ${{ steps.image.outputs.image_exists == 0 }}\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Login to Amazon ECR\n        if: ${{ steps.image.outputs.image_exists == 0 }}\n        uses: aws-actions/amazon-ecr-login@v1\n      - name: Set up Docker Buildx\n        id: buildx\n        if: ${{ steps.image.outputs.image_exists == 0 }}\n        uses: docker/setup-buildx-action@v2\n      - name: Cache Docker layers\n        if: ${{ steps.image.outputs.image_exists == 0 }}\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ matrix.service.name }}\n      - name: Build and push\n        if: ${{ steps.image.outputs.image_exists == 0 }}\n        uses: docker/build-push-action@v4.0.0\n        with:\n          context: ./${{ matrix.service.dir }}\n          file: ./${{ matrix.service.dir }}/Dockerfile\n          builder: ${{ steps.buildx.outputs.name }}\n          provenance: false\n          push: true\n          tags: |\n            ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.eu-central-1.amazonaws.com/pythonit/${{ matrix.service.name }}:arm-${{ steps.git.outputs.githash }}\n            ghcr.io/pythonitalia/pycon/${{ matrix.service.name }}:arm-${{ steps.git.outputs.githash }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n          platforms: linux/arm64\n\n  build-emails:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./email-templates/\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.ref }}\n      - uses: pnpm/action-setup@v2.2.2\n        with:\n          version: 7.3.0\n      - name: Install dependencies\n        run: pnpm install\n      - name: Build templates\n        run: pnpm run build\n      - uses: actions/upload-artifact@v2\n        with:\n          name: built-email-templates\n          path: email-templates/build_production\n\n  # Apply infrastructure changes\n  # azure-terraform:\n  #   runs-on: ubuntu-latest\n  #   needs: [build-emails, build-and-push-service, create-db]\n  #   environment:\n  #     name: ${{ fromJSON('[\"pastaporto\", \"production\"]')[github.ref == 'refs/heads/main'] }}\n  #   defaults:\n  #     run:\n  #       working-directory: ./infrastructure/azure-applications\n  #   steps:\n  #     - uses: actions/checkout@v2\n  #       with:\n  #         ref: ${{ github.ref }}\n  #         fetch-depth: 0\n  #     - name: Setup Terraform\n  #       uses: hashicorp/setup-terraform@v2\n  #       with:\n  #         cli_config_credentials_token: ${{ secrets.TF_CLOUD_TOKEN }}\n  #     - name: Terraform Init\n  #       run: terraform init\n  #       env:\n  #         TF_WORKSPACE: applications-${{ fromJSON('[\"staging\", \"production\"]')[github.ref == 'refs/heads/main'] }}\n  #     - name: Terraform Validate\n  #       run: terraform validate -no-color\n  #       env:\n  #         TF_WORKSPACE: applications-${{ fromJSON('[\"staging\", \"production\"]')[github.ref == 'refs/heads/main'] }}\n  #     - name: Githash\n  #       id: githash\n  #       run: |\n  #         echo \"TF_VAR_githash_users_backend=$(git rev-list -1 HEAD -- $GITHUB_WORKSPACE/users-backend/)\" >> \"$GITHUB_OUTPUT\"\n  #         echo \"TF_VAR_githash_association_backend=$(git rev-list -1 HEAD -- $GITHUB_WORKSPACE/association-backend/)\" >> \"$GITHUB_OUTPUT\"\n  #         echo \"TF_VAR_githash_pycon_backend=$(git rev-list -1 HEAD -- $GITHUB_WORKSPACE/backend/)\" >> \"$GITHUB_OUTPUT\"\n  #         echo \"TF_VAR_githash_cms=$(git rev-list -1 HEAD -- $GITHUB_WORKSPACE/cms/)\" >> \"$GITHUB_OUTPUT\"\n  #       env:\n  #         TF_WORKSPACE: applications-${{ fromJSON('[\"staging\", \"production\"]')[github.ref == 'refs/heads/main'] }}\n  #     - name: Terraform apply\n  #       run: terraform apply -no-color -auto-approve &> /dev/null\n  #       env:\n  #         TF_VAR_githash_users_backend: ${{ steps.githash.outputs.TF_VAR_githash_users_backend }}\n  #         TF_VAR_githash_association_backend: ${{ steps.githash.outputs.TF_VAR_githash_association_backend }}\n  #         TF_VAR_githash_pycon_backend: ${{ steps.githash.outputs.TF_VAR_githash_pycon_backend }}\n  #         TF_VAR_githash_cms: ${{ steps.githash.outputs.TF_VAR_githash_cms }}\n  #         TF_WORKSPACE: applications-${{ fromJSON('[\"staging\", \"production\"]')[github.ref == 'refs/heads/main'] }}\n\n\n  terraform:\n    runs-on: ubuntu-latest\n    needs: [build-emails, build-and-push-service, build-and-push-arm-service, create-db]\n    environment:\n      name: ${{ fromJSON('[\"pastaporto\", \"production\"]')[github.ref == 'refs/heads/main'] }}\n    defaults:\n      run:\n        working-directory: ./infrastructure/applications\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.ref }}\n          fetch-depth: 0\n      - uses: actions/download-artifact@v2\n        with:\n          name: built-email-templates\n          path: email-templates/build_production\n      - uses: hashicorp/setup-terraform@v1\n        with:\n          terraform_version: 1.2.4\n      - name: Terraform Init\n        run: terraform init\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      - name: Terraform Validate\n        id: validate\n        run: terraform validate -no-color\n\n      - name: Terraform apply\n        run: terraform apply -no-color -auto-approve &> /dev/null\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: eu-central-1\n\n  # TODO Temporary workaround the fact that the lambda takes a bit to update\n  # so to avoid calling the old deployment, we want 20 seconds\n  # the 20 seconds is not a meaningful value, it is a random delay\n  # it might or might not be enough. This is just an hack until we add a solution for this\n  # e.g lambda versions?\n  wait-aws-update:\n    runs-on: ubuntu-latest\n    needs: [terraform]\n    steps:\n      - name: Sleep for 10 seconds\n        run: sleep 10s\n        shell: bash\n\n  # Migrate the database\n  migrate-pycon-backend-db:\n    runs-on: ubuntu-latest\n    needs: [terraform, wait-aws-update]\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.ref }}\n      - name: Migrate PyCon Backend DB\n        run: |\n          aws lambda invoke --function-name ${{ env.TF_WORKSPACE }}-pycon-backend --cli-binary-format raw-in-base64-out --payload '{ \"_serverless-wsgi\": { \"command\": \"manage\", \"data\": \"migrate\" } }' response.json\n          cat response.json\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}\n\n  deploy-fe:\n    runs-on: ubuntu-latest\n    needs: [migrate-pycon-backend-db]\n    steps:\n      - name: Trigger hook\n        run: |\n          curl -X POST ${{ secrets.VERCEL_DEPLOY_HOOK }}\n", "state": "active", "repository": "pythonitalia/pycon"}
{"mined_at": "2024-07-15T14:15:03.816822", "created_at": "2019-12-19T23:21:30+01:00", "updated_at": "2023-11-26T13:37:06+01:00", "name": "Backend tests", "path": ".github/workflows/backend-test.yml", "contents": "name: Backend tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    paths:\n      - \"backend/**/*\"\n      - \"backend/*\"\n      - \".github/workflows/backend-test.yml\"\n\njobs:\n  unit-tests:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: backend\n\n    services:\n      postgres:\n        image: postgres:14.5\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432/tcp\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n      redis:\n        image: redis:7.2.3\n        options: --health-cmd \"redis-cli ping\" --health-interval 10s --health-timeout 5s --health-retries 5\n        ports:\n          - 6379:6379\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.11.6\"\n      - run: pip install pdm==2.10.4 codecov\n\n      - name: Cache PDM\n        uses: actions/cache@v4\n        id: cache-deps\n        with:\n          path: backend/.venv\n          key: pdm-${{ hashFiles('**/pdm.lock') }}-1\n\n      - name: Install python dependencies\n        if: steps.cache-deps.outputs.cache-hit != 'true'\n        run: pdm install\n\n      - name: pytest\n        run: |\n          set +e\n          CPUS=$(nproc --all)\n          OUTPUT=$(pdm run pytest --cov-report xml --cov=. --cov-fail-under 80 --durations 10 -n $CPUS)\n          STATUS=$?\n          echo \"$OUTPUT\"\n          cd ..\n          codecov\n          exit $STATUS\n        env:\n          DATABASE_URL: postgresql://postgres:postgres@localhost:${{ job.services.postgres.ports['5432'] }}/postgres\n          CACHE_URL: redis://localhost:6379/0\n          CELERY_BROKER_URL: redis://redis:6379/1\n          CELERY_RESULT_BACKEND: redis://redis:6379/2\n          STRIPE_SECRET_API_KEY: fake-key\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n          MEDIA_FILES_STORAGE_BACKEND: django.core.files.storage.FileSystemStorage\n          STRIPE_SUBSCRIPTION_PRICE_ID: \"\"\n          STRIPE_WEBHOOK_SIGNATURE_SECRET: \"\"\n", "state": "active", "repository": "pythonitalia/pycon"}
{"mined_at": "2024-07-15T14:15:05.045133", "created_at": "2019-12-19T23:21:31+01:00", "updated_at": "2023-11-26T13:37:06+01:00", "name": "Backend checks", "path": ".github/workflows/backend-checks.yml", "contents": "name: Backend checks\n\non:\n  pull_request:\n    paths:\n      - \"backend/**/*\"\n      - \"backend/*\"\n      - \".github/workflows/backend-checks.yml\"\n\njobs:\n  check-migrations:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: backend\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.11.6\"\n      - run: pip install pdm==2.10.4\n\n      - name: Cache PDM\n        uses: actions/cache@v4\n        id: cache-deps\n        with:\n          path: backend/.venv\n          key: pdm-${{ hashFiles('**/pdm.lock') }}-2\n\n      - name: Install python dependencies\n        if: steps.cache-deps.outputs.cache-hit != 'true'\n        run: pdm install\n\n      - name: Check missing not pushed migrations\n        run: pdm run python manage.py makemigrations --check\n        env:\n          DJANGO_SETTINGS_MODULE: pycon.settings.test\n          STRIPE_SECRET_API_KEY: \"\"\n          STRIPE_SUBSCRIPTION_PRICE_ID: \"\"\n          STRIPE_WEBHOOK_SIGNATURE_SECRET: \"\"\n          CELERY_BROKER_URL: \"\"\n          CELERY_RESULT_BACKEND: \"\"\n\n  check-building-container:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: backend\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ matrix.service.name }}\n      - name: Build test\n        uses: docker/build-push-action@v4.0.0\n        with:\n          context: ./backend\n          file: ./backend/Dockerfile\n          builder: ${{ steps.buildx.outputs.name }}\n          provenance: false\n          push: false\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n          platforms: linux/amd64\n\n  check-building-arm-container:\n    runs-on: [self-hosted]\n    defaults:\n      run:\n        working-directory: backend\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ matrix.service.name }}\n      - name: Build test\n        uses: docker/build-push-action@v4.0.0\n        with:\n          context: ./backend\n          file: ./backend/Dockerfile\n          builder: ${{ steps.buildx.outputs.name }}\n          provenance: false\n          push: false\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n          platforms: linux/arm64\n", "state": "active", "repository": "pythonitalia/pycon"}
{"mined_at": "2024-07-15T14:15:06.170507", "created_at": "2020-01-13T01:35:11+01:00", "updated_at": "2021-04-27T23:42:22+02:00", "name": "Terraform Lint", "path": ".github/workflows/terraform-lint.yml", "contents": "on:\n  pull_request:\n    paths:\n      - \"infrastructure/applications/**/*\"\n      - \"infrastructure/applications/*\"\n      - \"infrastructure/azure-applications/*\"\n      - \"infrastructure/azure-applications/**/*\"\n\nname: Terraform Lint\n\nenv:\n  TF_WORKSPACE: \"production\"\n\njobs:\n  tfsec:\n    name: TFSec\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: read\n      pull-requests: write\n\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@master\n      - name: tfsec\n        uses: aquasecurity/tfsec-pr-commenter-action@v1.2.0\n        with:\n          github_token: ${{ github.token }}\n\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Terraform Format\n        id: fmt\n        run: terraform fmt -check\n        env:\n          TF_IN_AUTOMATION: 1\n", "state": "active", "repository": "pythonitalia/pycon"}
{"mined_at": "2024-07-15T14:15:07.313386", "created_at": "2021-08-02T15:51:46+02:00", "updated_at": "2021-08-02T15:51:46+02:00", "name": "Slash Command Dispatch", "path": ".github/workflows/slash-commands.yml", "contents": "name: Slash Command Dispatch\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  slash-command-dispatch:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v3\n        id: get-pr\n        with:\n          script: |\n            const request = {\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              pull_number: context.issue.number\n            }\n            core.info(`Getting PR #${request.pull_number} from ${request.owner}/${request.repo}`)\n            try {\n              const result = await github.pulls.get(request)\n              return result.data\n            } catch (err) {\n              core.setFailed(`Request failed with error ${err}`)\n            }\n      - name: Slash Command Dispatch\n        uses: peter-evans/slash-command-dispatch@v2\n        with:\n          token: ${{ secrets.BOT_TOKEN }}\n          reaction-token: ${{ secrets.BOT_TOKEN }}\n          permission: write\n          dispatch-type: workflow\n          event-type-suffix: \"\"\n          commands: |\n            deploy\n          static-args: |\n            comment-id=${{ github.event.comment.id }}\n            event-number=${{ github.event.issue.number }}\n            ref=${{ fromJSON(steps.get-pr.outputs.result).head.ref }}\n      - name: Edit comment with error message\n        if: steps.scd.outputs.error-message\n        uses: peter-evans/create-or-update-comment@v1\n        with:\n          comment-id: ${{ github.event.comment.id }}\n          body: |\n            > ${{ steps.scd.outputs.error-message }}\n", "state": "active", "repository": "pythonitalia/pycon"}
{"mined_at": "2024-07-15T14:15:08.627981", "created_at": "2021-08-06T14:51:09+02:00", "updated_at": "2021-08-06T18:42:27+02:00", "name": "Global Terraform Lint", "path": ".github/workflows/global-terraform-lint.yml", "contents": "on:\n  pull_request:\n    paths:\n      - \"infrastructure/global/**/*\"\n      - \"infrastructure/global/*\"\n\nname: Global Terraform Lint\n\nenv:\n  TF_WORKSPACE: \"default\"\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Terraform Format\n        id: fmt\n        run: terraform fmt -check\n        env:\n          TF_IN_AUTOMATION: 1\n", "state": "active", "repository": "pythonitalia/pycon"}
{"mined_at": "2024-07-15T14:15:09.655461", "created_at": "2021-08-06T18:42:27+02:00", "updated_at": "2021-08-13T19:47:01+02:00", "name": "Global Terraform Deploy", "path": ".github/workflows/global-terraform-deploy.yml", "contents": "on:\n  push:\n    branches:\n      - main\n    paths:\n      - \"infrastructure/global/**/*\"\n      - \"infrastructure/global/*\"\n\nname: Global Terraform Deploy\n\nenv:\n  TF_WORKSPACE: \"default\"\n\njobs:\n  apply-changes:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./infrastructure/global\n    steps:\n      - uses: actions/checkout@v2\n      - uses: hashicorp/setup-terraform@v1\n        with:\n          terraform_version: 1.2.4\n      - name: Terraform Init\n        run: terraform init\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          TF_IN_AUTOMATION: 1\n      - name: Terraform Validate\n        id: validate\n        run: terraform validate -no-color\n      - name: Terraform Apply\n        run: terraform apply -no-color -auto-approve &> /dev/null\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: eu-central-1\n          TF_IN_AUTOMATION: 1\n", "state": "active", "repository": "pythonitalia/pycon"}
{"mined_at": "2024-07-15T14:15:10.778707", "created_at": "2021-11-06T12:49:00+01:00", "updated_at": "2021-11-06T12:49:00+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non: pull_request_target\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/labeler@v3\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          sync-labels: true\n", "state": "active", "repository": "pythonitalia/pycon"}
{"mined_at": "2024-07-15T14:15:12.111395", "created_at": "2022-07-31T12:36:02+02:00", "updated_at": "2022-07-31T12:36:02+02:00", "name": "Terminate staging env", "path": ".github/workflows/terminate-staging-env.yml", "contents": "name: Terminate staging env\n\nconcurrency: terminate-staging\n\non:\n  workflow_dispatch:\n\nenv:\n  TF_WORKSPACE: pastaporto\n\njobs:\n  terminate-env:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./infrastructure/applications\n    steps:\n      - uses: actions/checkout@v3\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.aws_access_key_id }}\n          aws-secret-access-key: ${{ secrets.aws_secret_access_key }}\n          aws-region: eu-central-1\n      - uses: hashicorp/setup-terraform@v1\n        with:\n          terraform_version: 1.2.4\n      - name: Terraform Init\n        run: terraform init\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      - name: Destroy env\n        run: terraform destroy --auto-approve &> /dev/null\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: eu-central-1\n", "state": "active", "repository": "pythonitalia/pycon"}
{"mined_at": "2024-07-15T14:15:13.235821", "created_at": "2023-11-26T19:59:40+01:00", "updated_at": "2023-11-26T21:29:31+01:00", "name": "Frontend Lint", "path": ".github/workflows/frontend-lint.yml", "contents": "name: Frontend Lint\n\non:\n  pull_request:\n    paths:\n      - \"frontend/**/*\"\n      - \"frontend/*\"\n      - \".github/workflows/frontend-lint.yml\"\n\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./frontend\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v2\n        with:\n          node-version: '14'\n      - uses: pnpm/action-setup@v2.2.2\n        with:\n          version: 7.3.0\n      - name: Setup Biome\n        uses: biomejs/setup-biome@v2\n        with:\n          version: 1.5.3\n      - name: Cache dependencies\n        uses: actions/cache@v1\n        id: cache\n        with:\n          path: ./frontend/node_modules\n          key: node_modules-frontend-${{ hashFiles('./frontend/pnpm-lock.yaml') }}-v4\n      - name: Install dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: pnpm install\n      - name: Codegen\n        run: pnpm run codegen\n      - name: Run Biome\n        run: biome ci .\n", "state": "active", "repository": "pythonitalia/pycon"}
{"mined_at": "2024-07-15T14:15:14.337490", "created_at": "2024-02-19T01:49:24+01:00", "updated_at": "2024-02-19T01:49:24+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "pythonitalia/pycon"}
{"mined_at": "2024-07-15T14:15:17.542035", "created_at": "2019-12-19T02:23:23+01:00", "updated_at": "2020-01-13T02:19:44+01:00", "name": "Manylinux wheels", "path": ".github/workflows/manylinux_wheels.yml", "contents": "name: Manylinux wheels\n\non:\n  push:\n  pull_request:\n  create:\n  schedule:\n    - cron:  '23 1 * * *'\n\nenv:\n  KIVY_SPLIT_EXAMPLES: 1\n  SERVER_IP: '159.203.106.198'\n\njobs:\n  kivy_examples_create:\n    # we need examples wheel for tests, but only windows actually uploads kivy-examples to pypi/server\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Install CI/CD Python requirements\n        run: |\n          python -m pip install -r .ci/cicd-requirements.txt\n      - name: Create wheel\n        run: |\n          KIVY_BUILD_EXAMPLES=1 python3 -m build --wheel .\n      - name: Upload kivy-examples wheel as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: linux_examples_wheel\n          path: dist\n\n  manylinux_wheel_create:\n    env:\n      CIBW_ENVIRONMENT_LINUX: \"KIVY_SPLIT_EXAMPLES=1 USE_X11=1 USE_SDL2=1 USE_PANGOFT2=0 USE_GSTREAMER=0 KIVY_DEPS_ROOT=$(pwd)/kivy-dependencies LD_LIBRARY_PATH=$(pwd)/kivy-dependencies/dist/lib:$(pwd)/kivy-dependencies/dist/lib64\"\n      CIBW_BUILD_VERBOSITY_LINUX: 3\n      CIBW_BUILD:  ${{ matrix.cibw_build }}\n      CIBW_ARCHS: ${{ matrix.cibw_archs }}\n      CIBW_BEFORE_ALL_LINUX: >\n        source .ci/ubuntu_ci.sh &&\n        install_manylinux_build_deps\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-latest\n            cibw_archs: x86_64\n            cibw_build: 'cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64'\n          - os: ubuntu-latest\n            cibw_archs: aarch64\n            cibw_build: 'cp37-manylinux_aarch64 cp38-manylinux_aarch64 cp39-manylinux_aarch64 cp310-manylinux_aarch64 cp311-manylinux_aarch64 cp312-manylinux_aarch64'\n    if: github.event_name == 'schedule' || (github.event_name == 'create' && github.event.ref_type == 'tag') || contains(github.event.head_commit.message, '[build wheel]') || contains(github.event.head_commit.message, '[build wheel linux]') || contains(github.event.pull_request.title, '[build wheel]') || contains(github.event.pull_request.title, '[build wheel linux]')\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Install CI/CD Python requirements\n      run: |\n        python -m pip install -r .ci/cicd-requirements.txt\n    - name: Set up QEMU\n      if: ${{ matrix.cibw_archs == 'aarch64' }}\n      uses: docker/setup-qemu-action@v3\n    - uses: actions/cache@v4\n      id: deps-cache\n      with:\n        path: kivy-dependencies\n        key: ${{ runner.os }}-${{ matrix.cibw_archs }}-deps-cache-${{ hashFiles('./tools/build_linux_dependencies.sh') }}\n    - name: Build dependencies\n      if: ${{ steps.deps-cache.outputs.cache-hit != 'true' }}\n      run: |\n        docker run --rm -v `pwd`:/root:rw --workdir=/root \\\n           quay.io/pypa/manylinux2014_${{ matrix.cibw_archs }} \\\n           bash -ec 'source .ci/ubuntu_ci.sh && install_manylinux_build_deps && ./tools/build_linux_dependencies.sh'\n    - name: Generate version metadata\n      run: |\n        source .ci/ubuntu_ci.sh\n        update_version_metadata\n    - name: Install CI/CD Python requirements\n      run: |\n        python -m pip install -r .ci/cicd-requirements.txt\n    - name: Make wheels\n      run: |\n        python -m cibuildwheel --output-dir wheelhouse\n    - name: Upload wheels as artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: manylinux_wheels-${{ matrix.cibw_archs }}\n        path: ./wheelhouse/*.whl\n\n  manylinux_wheel_upload:\n    runs-on: ubuntu-latest\n    needs: [manylinux_wheel_create, kivy_examples_create]\n    if: github.event_name != 'pull_request'\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Install CI/CD Python requirements\n      run: |\n        python -m pip install -r .ci/cicd-requirements.txt\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: manylinux_wheels-*\n        merge-multiple: true\n        path: dist\n    - name: Rename wheels\n      if: github.event.ref_type != 'tag'\n      run: |\n        source .ci/ubuntu_ci.sh\n        rename_wheels\n    - name: Upload wheels to server\n      env:\n        UBUNTU_UPLOAD_KEY: ${{ secrets.UBUNTU_UPLOAD_KEY }}\n      run: |\n        source .ci/ubuntu_ci.sh\n        upload_file_to_server \"$SERVER_IP\" \"linux/kivy/\"\n    - name: Upload to GitHub Release\n      uses: softprops/action-gh-release@v2.0.6\n      if: startsWith(github.ref, 'refs/tags/')\n      with:\n        files: dist/*\n        draft: true\n    - name: Publish to PyPI\n      if: github.event_name == 'create' && github.event.ref_type == 'tag'\n      env:\n        TWINE_USERNAME: \"__token__\"\n        TWINE_PASSWORD: ${{ secrets.pypi_password }}\n      run: |\n        twine upload dist/*\n\n  manylinux_wheel_test:\n    runs-on: ubuntu-latest\n    needs: [manylinux_wheel_create, kivy_examples_create]\n    strategy:\n      matrix:\n        python: ['3.8', '3.9', '3.10', '3.11', '3.12' ]\n    env:\n      DISPLAY: ':99.0'\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: manylinux_wheels-*\n        merge-multiple: true\n        path: dist\n    - name: Setup env\n      run: |\n        source .ci/ubuntu_ci.sh\n        prepare_env_for_unittest\n    - name: Install Kivy\n      run: |\n        source .ci/ubuntu_ci.sh\n        install_kivy_wheel dev\n    - uses: actions/download-artifact@v4\n      with:\n        name: linux_examples_wheel\n        path: dist\n    - name: Install kivy-examples wheel\n      run: |\n        source .ci/ubuntu_ci.sh\n        install_kivy_examples_wheel dev\n    - name: Test Kivy\n      run: |\n        source .ci/ubuntu_ci.sh\n        test_kivy_install\n    - name: Test Kivy benchmarks\n      run: |\n        source .ci/ubuntu_ci.sh\n        test_kivy_benchmark\n    - name: Upload benchmarks as artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: benchmarks-manylinux-wheels-python-${{ matrix.python }}\n        path: .benchmarks-kivy\n\n  sdist_test:\n    runs-on: ubuntu-latest\n    env:\n      DISPLAY: ':99.0'\n      KIVY_SPLIT_EXAMPLES: 0\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.x\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Install CI/CD Python requirements\n        run: |\n          python -m pip install -r .ci/cicd-requirements.txt\n      - name: Generate sdist\n        run: |\n          python -m build --sdist .\n      - name: Install dependencies\n        run: |\n          source .ci/ubuntu_ci.sh\n          install_ubuntu_build_deps\n          ./tools/build_linux_dependencies.sh\n      - name: Setup env\n        run: |\n          source .ci/ubuntu_ci.sh\n          prepare_env_for_unittest\n      - name: Install Kivy\n        run: |\n          source .ci/ubuntu_ci.sh\n          export KIVY_DEPS_ROOT=$(pwd)/kivy-dependencies\n          install_kivy_sdist\n      - name: Test Kivy\n        run: |\n          source .ci/ubuntu_ci.sh\n          test_kivy_install\n", "state": "active", "repository": "kivy/kivy"}
{"mined_at": "2024-07-15T14:15:18.560303", "created_at": "2022-07-10T17:22:38+02:00", "updated_at": "2022-07-10T17:22:38+02:00", "name": "No Response", "path": ".github/workflows/no-response.yml", "contents": "name: No Response\n\n# Both `issue_comment` and `scheduled` event types are required for this Action\n# to work properly.\non:\n  issue_comment:\n    types: [created]\n  schedule:\n    # Schedule for an arbitrary time (5am) once every day\n    - cron: '* 5 * * *'\n\njobs:\n  noResponse:\n    # Don't run if in a fork\n    if: github.repository_owner == 'kivy'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb\n        # This commit hash targets release v0.5.0 of lee-dohm/no-response.\n        # Targeting a commit hash instead of a tag has been done for security reasons.\n        # Please be aware that the commit hash specifically targets the \"Automatic compilation\"\n        # done by `github-actions[bot]` as the `no-response` Action needs to be compiled.\n        with:\n          token: ${{ github.token }}\n          daysUntilClose: 42\n          responseRequiredLabel: 'awaiting-reply'\n          closeComment: >\n                This issue has been automatically closed because there has been no response\n                to our request for more information from the original author. With only the\n                information that is currently in the issue, we don't have the means\n                to take action. Please reach out if you have or find the answers we need so\n                that we can investigate further.\n", "state": "active", "repository": "kivy/kivy"}
{"mined_at": "2024-07-15T14:15:19.692521", "created_at": "2019-12-19T02:23:24+01:00", "updated_at": "2021-11-11T19:11:24+01:00", "name": "OSX wheels/app", "path": ".github/workflows/osx_wheels_app.yml", "contents": "name: OSX wheels/app\n\non:\n  push:\n  pull_request:\n  create:\n  schedule:\n    - cron:  '23 1 * * *'\n\nenv:\n  KIVY_SPLIT_EXAMPLES: 1\n  SERVER_IP: '159.203.106.198'\n  CC: clang\n  CXX: clang\n  FFLAGS: '-ff2c'\n  USE_SDL2: 1\n\njobs:\n  kivy_examples_create:\n    # we need examples wheel for tests, but only windows actually uploads kivy-examples to pypi/server\n    runs-on: macos-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Install CI/CD Python requirements\n      run: |\n        python -m pip install -r .ci/cicd-requirements.txt\n    - name: Create wheel\n      run: |\n        KIVY_BUILD_EXAMPLES=1 python3 -m build --wheel .\n    - name: Upload kivy-examples wheel as artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: osx_examples_wheel\n        path: dist\n\n  osx_wheels_create:\n    if: github.event_name == 'schedule' || (github.event_name == 'create' && github.event.ref_type == 'tag') || contains(github.event.head_commit.message, '[build wheel]') || contains(github.event.head_commit.message, '[build wheel osx]') || contains(github.event.pull_request.title, '[build wheel]') || contains(github.event.pull_request.title, '[build wheel osx]')\n    env:\n      CIBW_ENVIRONMENT: \"MACOSX_DEPLOYMENT_TARGET=10.15\"\n      CIBW_BUILD: \"cp37-macosx_x86_64 cp38-macosx_universal2 cp39-macosx_universal2 cp310-macosx_universal2 cp311-macosx_universal2 cp312-macosx_universal2\"\n      CIBW_ARCHS_MACOS: \"x86_64 universal2\"\n      CIBW_REPAIR_WHEEL_COMMAND_MACOS: >\n        DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-listdeps {wheel} &&\n        DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}\n    runs-on: ${{ matrix.runs_on }}\n    strategy:\n      matrix:\n        include:\n          - runs_on: macos-latest\n            python: '3.x'\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Cache macOS deps downloads\n      uses: actions/cache@v4\n      with:\n        path: osx-cache\n        key: ${{ runner.OS }}-build-${{ hashFiles('.ci/osx_ci.sh') }}\n    - name: Generate version metadata\n      run: |\n        source .ci/ubuntu_ci.sh\n        update_version_metadata\n    - name: Install build dependencies\n      run: |\n        brew install pkg-config cmake ninja\n    - name: Build universal Kivy dependencies\n      run: |\n        ./tools/build_macos_dependencies.sh\n    - name: Install CI/CD Python requirements\n      run: |\n        python -m pip install -r .ci/cicd-requirements.txt\n    - name: Build wheels\n      run: |\n        export KIVY_DEPS_ROOT=$(pwd)/kivy-dependencies\n        export REPAIR_LIBRARY_PATH=$KIVY_DEPS_ROOT/dist/Frameworks:$KIVY_DEPS_ROOT/dist/Frameworks/SDL2_mixer.framework/Frameworks\n        python -m cibuildwheel --output-dir wheelhouse\n    - uses: actions/upload-artifact@v4\n      with:\n        name: osx_wheels\n        path: ./wheelhouse/*.whl\n\n  osx_wheel_upload:\n    runs-on: macos-latest\n    needs: osx_wheels_create\n    if: github.event_name != 'pull_request'\n    env:\n      KIVY_GL_BACKEND: 'mock'\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Install CI/CD Python requirements\n      run: |\n        python -m pip install -r .ci/cicd-requirements.txt\n    - uses: actions/download-artifact@v4\n      with:\n        name: osx_wheels\n        path: dist\n    - name: Rename wheels\n      if: github.event.ref_type != 'tag'\n      run: |\n        source .ci/ubuntu_ci.sh\n        rename_wheels\n    - name: Upload wheels to server\n      env:\n        UBUNTU_UPLOAD_KEY: ${{ secrets.UBUNTU_UPLOAD_KEY }}\n      run: |\n        source .ci/ubuntu_ci.sh\n        upload_file_to_server \"$SERVER_IP\" \"osx/kivy/\"\n    - name: Upload to GitHub Release\n      uses: softprops/action-gh-release@v2.0.6\n      if: startsWith(github.ref, 'refs/tags/')\n      with:\n        files: dist/*\n        draft: true\n    - name: Publish to PyPI\n      if: github.event_name == 'create' && github.event.ref_type == 'tag'\n      env:\n        TWINE_USERNAME: \"__token__\"\n        TWINE_PASSWORD: ${{ secrets.pypi_password }}\n      run: |\n        twine upload dist/*\n\n  osx_wheel_test:\n    name: \"osx_wheel_test (${{ matrix.runs_on }}, ${{ matrix.python }})\"\n    needs: [ osx_wheels_create, kivy_examples_create ]\n    runs-on: ${{ matrix.runs_on }}\n    strategy:\n      matrix:\n        # macos-latest (ATM macos-14) runs on Apple Silicon,\n        # macos-13 runs on Intel\n        runs_on: ['macos-latest', 'macos-13']\n        python: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    env:\n      KIVY_GL_BACKEND: 'mock'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python }} on ${{ matrix.runs_on }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - uses: actions/download-artifact@v4\n        with:\n          name: osx_wheels\n          path: dist\n      - name: Install Kivy wheel\n        run: |\n          source .ci/ubuntu_ci.sh\n          install_kivy_wheel dev\n      - uses: actions/download-artifact@v4\n        with:\n          name: osx_examples_wheel\n          path: dist\n      - name: Install kivy-examples wheel\n        run: |\n          source .ci/ubuntu_ci.sh\n          install_kivy_examples_wheel dev\n      - name: Test Kivy wheel\n        run: |\n          source .ci/ubuntu_ci.sh\n          test_kivy_install\n\n  osx_app_create:\n    runs-on: macos-latest\n    if: github.event_name != 'pull_request' && (github.event_name == 'schedule' || (github.event_name == 'create' && github.event.ref_type == 'tag') || contains(github.event.head_commit.message, '[build app osx]')) || contains(github.event.pull_request.title, '[build app osx]')\n    env:\n      KIVY_SPLIT_EXAMPLES: 0\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Cache macOS deps downloads\n        uses: actions/cache@v4\n        with:\n          path: osx-cache\n          key: ${{ runner.OS }}-build-${{ hashFiles('.ci/osx_ci.sh') }}\n      - name: Generate version metadata\n        run: |\n          source .ci/ubuntu_ci.sh\n          update_version_metadata\n      - name: Install build dependencies\n        run: |\n          brew install pkg-config cmake ninja\n      - name: Install dependencies\n        run: |\n          source .ci/ubuntu_ci.sh\n          source .ci/osx_ci.sh\n          install_platypus\n      - name: Make app bundle\n        run: |\n          source .ci/osx_ci.sh\n          generate_osx_app_bundle\n      - name: Create dmg from bundle\n        run: |\n          source .ci/osx_ci.sh\n          generate_osx_app_dmg_from_bundle\n      - name: Upload dmg as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: osx_app\n          path: app\n\n  osx_app_upload_test:\n    runs-on: macos-latest\n    needs: [osx_app_create, kivy_examples_create]\n    env:\n      KIVY_GL_BACKEND: 'mock'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - uses: actions/download-artifact@v4\n        with:\n          name: osx_app\n          path: app\n      - name: Rename app\n        if: github.event.ref_type != 'tag'\n        run: |\n          py_version=$(python3 -c \"import platform; print(platform.python_version())\")\n          source .ci/osx_ci.sh\n          rename_osx_app \"$py_version\"\n      - name: Upload app to server\n        env:\n          UBUNTU_UPLOAD_KEY: ${{ secrets.UBUNTU_UPLOAD_KEY }}\n        run: |\n          source .ci/ubuntu_ci.sh\n          upload_file_to_server \"$SERVER_IP\" \"osx/app/\" \"*.dmg\" \"app\"\n      - name: Upload to GitHub Release\n        uses: softprops/action-gh-release@v2.0.6\n        if: startsWith(github.ref, 'refs/tags/')\n        with:\n          files: app/*\n          draft: true\n      - name: Mount Kivy.app\n        run: |\n          source .ci/osx_ci.sh\n          mount_osx_app\n      - uses: actions/download-artifact@v4\n        with:\n          name: osx_examples_wheel\n          path: dist\n      - name: Install test dependencies\n        run: |\n          source .ci/osx_ci.sh\n          source .ci/ubuntu_ci.sh\n          activate_osx_app_venv\n          install_kivy_examples_wheel dev\n      - name: Test Kivy app\n        run: |\n          source .ci/osx_ci.sh\n          source .ci/ubuntu_ci.sh\n          activate_osx_app_venv\n          test_kivy_install\n", "state": "active", "repository": "kivy/kivy"}
{"mined_at": "2024-07-15T14:15:20.918447", "created_at": "2019-12-21T21:00:32+01:00", "updated_at": "2019-12-21T21:00:32+01:00", "name": "RPi wheels", "path": ".github/workflows/rpi_wheels.yml", "contents": "name: RPi wheels\n\non:\n  push:\n  pull_request:\n  create:\n  schedule:\n    - cron:  '23 1 * * *'\n\nenv:\n  SERVER_IP: '159.203.106.198'\n\njobs:\n  raspberrypi:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'schedule' || (github.event_name == 'create' && github.event.ref_type == 'tag') || contains(github.event.head_commit.message, '[build wheel]') || contains(github.event.head_commit.message, '[build wheel armv7l]') || contains(github.event.pull_request.title, '[build wheel]') || contains(github.event.pull_request.title, '[build wheel armv7l]')\n    strategy:\n      matrix:\n        image_version: ['3.9-bullseye', '3.11-bookworm']\n    steps:\n    - uses: actions/checkout@v4\n    - name: Generate version metadata\n      run: |\n        source .ci/ubuntu_ci.sh\n        update_version_metadata\n    - name: Make ${{ matrix.image_version }} wheel\n      run: |\n        source .ci/ubuntu_ci.sh\n        generate_rpi_wheels balenalib/raspberrypi3-debian-python:${{ matrix.image_version }}\n    - name: Rename wheels\n      if: github.event.ref_type != 'tag'\n      run: |\n        source .ci/ubuntu_ci.sh\n        rename_wheels\n    - name: Upload wheels to server\n      if: github.event_name != 'pull_request'\n      env:\n        UBUNTU_UPLOAD_KEY: ${{ secrets.UBUNTU_UPLOAD_KEY }}\n      run: |\n        source .ci/ubuntu_ci.sh\n        upload_file_to_server \"$SERVER_IP\" \"raspberrypi/kivy/\"\n    - name: Upload wheels as artifact\n      uses: actions/upload-artifact@v4\n      if: github.event_name == 'pull_request'\n      with:\n        name: armv7l_wheels-${{ matrix.image_version }}\n        path: dist\n    - name: Upload to GitHub Release\n      uses: softprops/action-gh-release@v2.0.6\n      if: startsWith(github.ref, 'refs/tags/')\n      with:\n        files: dist/*\n        draft: true\n\n  always_job:\n    name: Always run job\n    runs-on: ubuntu-latest\n    steps:\n      - name: Always run\n        run: |\n          echo \"This is run to prevent the workflow from showing an error if the wheels job is not run and no jobs run is an error.\"\n          echo \"See https://github.community/t5/GitHub-Actions/Workflow-is-failing-if-no-job-can-be-ran-due-to-condition/m-p/38085\"\n", "state": "active", "repository": "kivy/kivy"}
{"mined_at": "2024-07-15T14:15:21.990663", "created_at": "2021-11-19T13:34:45+01:00", "updated_at": "2021-11-19T13:34:45+01:00", "name": "Support Requests", "path": ".github/workflows/support.yml", "contents": "name: 'Support Requests'\n\non:\n  issues:\n    types: [labeled, unlabeled, reopened]\n\npermissions:\n  issues: write\n\njobs:\n  action:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/support-requests@v4\n        with:\n          github-token: ${{ github.token }}\n          support-label: 'support'\n          issue-comment: >\n            👋 We use the issue tracker exclusively for bug reports and feature requests.\n            However, this issue appears to be a support request. Please use our\n            [support channels](https://github.com/kivy/kivy/blob/master/CONTACT.md)\n            to get help with the project.\n                        \n            If you're having trouble installing Kivy,\n            make sure to check out the installation docs for\n            [Windows](https://kivy.org/docs/installation/installation-windows.html),\n            [Linux](https://kivy.org/docs/installation/installation-linux.html) and\n            [macOS](https://kivy.org/docs/installation/installation-osx.html).\n                        \n            Let us know if this comment was made in error, and we'll be happy\n            to reopen the issue.\n          close-issue: true\n          lock-issue: false\n", "state": "active", "repository": "kivy/kivy"}
{"mined_at": "2024-07-15T14:15:23.165963", "created_at": "2019-12-19T20:40:00+01:00", "updated_at": "2019-12-19T20:40:00+01:00", "name": "OSX Unittests", "path": ".github/workflows/test_osx_python.yml", "contents": "name: OSX Unittests\n\non: [push, pull_request]\n\nenv:\n  KIVY_SPLIT_EXAMPLES: 1\n  KIVY_GL_BACKEND: 'mock'\n  CC: clang\n  CXX: clang\n  FFLAGS: '-ff2c'\n  USE_SDL2: 1\n\njobs:\n  unit_test:\n    name: \"unit_test (${{ matrix.runs_on }}, ${{ matrix.python }})\"\n    runs-on: ${{ matrix.runs_on }}\n    strategy:\n      matrix:\n        # macos-latest (ATM macos-14) runs on Apple Silicon,\n        # macos-13 runs on Intel\n        runs_on: ['macos-latest', 'macos-13']\n        python: ['3.x']\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install build dependencies\n      run: |\n        brew install pkg-config cmake ninja\n    - name: Install dependencies\n      run: |\n        source .ci/ubuntu_ci.sh\n        ./tools/build_macos_dependencies.sh\n    - name: Install Kivy\n      run: |\n        source .ci/ubuntu_ci.sh\n        export KIVY_DEPS_ROOT=$(pwd)/kivy-dependencies\n        install_kivy\n    - name: Test Kivy\n      run: |\n        source .ci/ubuntu_ci.sh\n        test_kivy\n", "state": "active", "repository": "kivy/kivy"}
{"mined_at": "2024-07-15T14:15:24.399660", "created_at": "2019-12-19T20:40:01+01:00", "updated_at": "2020-01-13T02:19:44+01:00", "name": "Ubuntu Unittests", "path": ".github/workflows/test_ubuntu_python.yml", "contents": "name: Ubuntu Unittests\n\non: [push, pull_request]\n\nenv:\n  KIVY_SPLIT_EXAMPLES: 1\n\njobs:\n  PEP8_test:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Install CI/CD Python requirements\n      run: |\n        python -m pip install -r .ci/cicd-requirements.txt\n    - name: Validate PEP8\n      run: |\n        make style\n\n  unit_test:\n    runs-on: ubuntu-latest\n    env:\n      DISPLAY: ':99.0'\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Install CI/CD Python requirements\n      run: |\n        python -m pip install -r .ci/cicd-requirements.txt\n    - name: Install dependencies\n      run: |\n        source .ci/ubuntu_ci.sh\n        install_ubuntu_build_deps\n        ./tools/build_linux_dependencies.sh\n    - name: Setup env\n      run: |\n        source .ci/ubuntu_ci.sh\n        prepare_env_for_unittest\n    - name: Install Kivy\n      run: |\n        source .ci/ubuntu_ci.sh\n        export KIVY_DEPS_ROOT=$(pwd)/kivy-dependencies\n        install_kivy\n    - name: Test Kivy\n      run: |\n        source .ci/ubuntu_ci.sh\n        test_kivy\n    - name: Coveralls upload\n      if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n      env:\n        COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n      run: |\n        python -m coveralls\n    - name: Test Kivy benchmarks\n      run: |\n        source .ci/ubuntu_ci.sh\n        test_kivy_benchmark\n    - name: Upload benchmarks as artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: benchmarks-ubuntu-unittests-python-3.x\n        path: .benchmarks-kivy\n\n  gen_docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Install dependencies\n      run: |\n        source .ci/ubuntu_ci.sh\n        install_ubuntu_build_deps\n        ./tools/build_linux_dependencies.sh\n    - name: Setup env\n      run: |\n        source .ci/ubuntu_ci.sh\n        prepare_env_for_unittest\n    - name: Install Kivy\n      run: |\n        source .ci/ubuntu_ci.sh\n        install_kivy\n    - name: Generate docs\n      run: |\n        source .ci/ubuntu_ci.sh\n        generate_docs\n    - name: Upload docs as artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: docs\n        path: doc/build/html\n    - name: Upload docs to kivy-website-docs\n      if: github.event_name == 'push'\n      env:\n        REF_NAME: ${{ github.ref }}\n        DOC_PUSH_TOKEN: ${{ secrets.DOC_PUSH_TOKEN }}\n      run: |\n        branch_name=$(python3 -c \"print('$REF_NAME'.split('/')[-1])\")\n        source .ci/ubuntu_ci.sh\n        upload_docs_to_server \"$branch_name\" \"$GITHUB_SHA\"\n", "state": "active", "repository": "kivy/kivy"}
{"mined_at": "2024-07-15T14:15:25.447180", "created_at": "2019-12-19T20:40:02+01:00", "updated_at": "2020-01-13T02:27:50+01:00", "name": "Windows Unittests", "path": ".github/workflows/test_windows_python.yml", "contents": "name: Windows Unittests\n\non: [push, pull_request]\n\nenv:\n  GST_REGISTRY: '~/registry.bin'\n  KIVY_GL_BACKEND: 'angle_sdl2'\n  KIVY_SPLIT_EXAMPLES: 1\n  SETUPTOOLS_USE_DISTUTILS: local\n\njobs:\n  unit_test:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python: ['3.8', '3.9', '3.10', '3.11', '3.12' ]\n        arch: ['x64']\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python }} on ${{ matrix.arch }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n        architecture: ${{ matrix.arch }}\n    - name: Install Kivy\n      run: |\n        . .\\.ci\\windows_ci.ps1\n        Install-kivy\n    - name: Test Kivy\n      run: |\n        . .\\.ci\\windows_ci.ps1\n        Test-kivy\n    - name: Test Kivy benchmarks\n      run: |\n        . .\\.ci\\windows_ci.ps1\n        Test-kivy-benchmark\n    - name: Upload benchmarks as artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: benchmarks-windows-unittests-python-${{ matrix.python }}-${{ matrix.arch }}\n        path: .benchmarks-kivy\n", "state": "active", "repository": "kivy/kivy"}
{"mined_at": "2024-07-15T14:15:26.548074", "created_at": "2019-12-19T02:23:23+01:00", "updated_at": "2020-01-13T02:27:50+01:00", "name": "Windows wheels", "path": ".github/workflows/windows_wheels.yml", "contents": "name: Windows wheels\n\non:\n  push:\n  pull_request:\n  create:\n  schedule:\n    - cron:  '23 1 * * *'\n\nenv:\n  KIVY_SPLIT_EXAMPLES: 1\n  SERVER_IP: '159.203.106.198'\n  GST_REGISTRY: '~/registry.bin'\n  KIVY_GL_BACKEND: 'angle_sdl2'\n  SETUPTOOLS_USE_DISTUTILS: local\n\njobs:\n  windows_wheels_create:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python: ['3.8', '3.9', '3.10', '3.11', '3.12' ]\n        arch: ['x64']\n    if: github.event_name == 'schedule' || (github.event_name == 'create' && github.event.ref_type == 'tag') || contains(github.event.head_commit.message, '[build wheel]') || contains(github.event.head_commit.message, '[build wheel win]') || contains(github.event.pull_request.title, '[build wheel]') || contains(github.event.pull_request.title, '[build wheel win]')\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n        architecture: ${{ matrix.arch }}\n    - name: Generate version metadata\n      run: |\n        . .\\.ci\\windows_ci.ps1\n        Update-version-metadata\n    - name: Generate sdist/kivy-examples\n      if: matrix.arch == 'x64' && matrix.python == '3.8'\n      # only windows kivy-examples is uploaded\n      run: |\n        . .\\.ci\\windows_ci.ps1\n        Generate-sdist\n    - name: Install Kivy\n      run: |\n        . .\\.ci\\windows_ci.ps1\n        Install-kivy\n    - name: Make wheels\n      run: |\n        . .\\.ci\\windows_ci.ps1\n        Generate-windows-wheels\n    - name: Upload wheels as artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: windows_wheels-${{ matrix.python }}-${{ matrix.arch }}\n        path: dist\n\n  windows_wheel_upload:\n    runs-on: windows-latest\n    needs: windows_wheels_create\n    if: github.event_name != 'pull_request'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - run: |\n          python -m pip install -r .ci/cicd-requirements.txt\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: windows_wheels-*-*\n          merge-multiple: true\n          path: dist\n      - name: Fix wheel names\n        if: github.event.ref_type != 'tag'\n        run: |\n          . .\\.ci\\windows_ci.ps1\n          Rename-windows-wheels\n      - name: Install MSYS2\n        run: choco install msys2\n      - name: Upload wheels to server\n        env:\n          UBUNTU_UPLOAD_KEY: ${{ secrets.UBUNTU_UPLOAD_KEY }}\n          MSYSTEM: MINGW64\n          CHERE_INVOKING: 1\n        run: |\n          . .\\.ci\\windows_ci.ps1\n          Upload-windows-wheels-to-server -ip \"$env:SERVER_IP\"\n      - name: Upload to GitHub Release\n        uses: softprops/action-gh-release@v2.0.6\n        if: startsWith(github.ref, 'refs/tags/')\n        with:\n          files: dist/*\n          draft: true\n      - name: Publish to PyPI\n        if: github.event_name == 'create' && github.event.ref_type == 'tag'\n        env:\n          TWINE_USERNAME: \"__token__\"\n          TWINE_PASSWORD: ${{ secrets.pypi_password }}\n        run: |\n          twine upload dist/*\n\n  windows_wheel_test:\n    runs-on: windows-latest\n    needs: windows_wheels_create\n    strategy:\n      matrix:\n        python: ['3.8', '3.9', '3.10', '3.11', '3.12' ]\n        arch: [ 'x64' ]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python }} on ${{ matrix.arch }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: ${{ matrix.arch }}\n      - uses: actions/download-artifact@v4\n        with:\n          # Only one windows_wheels-*-* artifact contains the kivy-examples\n          # However, all artifacts are downloaded ATM, to avoid using\n          # a specific name.\n          pattern: windows_wheels-*-*\n          merge-multiple: true\n          path: dist\n      - name: Install Kivy Wheel\n        run: |\n          . .\\.ci\\windows_ci.ps1\n          Install-kivy-wheel\n      - name: Test Kivy Wheel\n        run: |\n          . .\\.ci\\windows_ci.ps1\n          Test-kivy-installed\n      - name: Test Kivy benchmarks\n        run: |\n          . .\\.ci\\windows_ci.ps1\n          Test-kivy-benchmark\n      - name: Upload benchmarks as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: benchmarks-windows-wheels-python-${{ matrix.python }}-${{ matrix.arch }}\n          path: .benchmarks-kivy\n\n  windows_sdist_test:\n    runs-on: windows-latest\n    needs: windows_wheels_create\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - uses: actions/download-artifact@v4\n        with:\n          # Only one windows_wheels-*-* artifact contains the sdist\n          # However, all artifacts are downloaded ATM, to avoid using\n          # a specific name.\n          pattern: windows_wheels-*-*\n          merge-multiple: true\n          path: dist\n      - name: Install Kivy sdist\n        env:\n          KIVY_SPLIT_EXAMPLES: 0\n        run: |\n          . .\\.ci\\windows_ci.ps1\n          Install-kivy-sdist\n      - name: Test Kivy sdist\n        run: |\n          . .\\.ci\\windows_ci.ps1\n          Test-kivy-installed\n\n  always_job:\n    name: Always run job\n    runs-on: windows-latest\n    steps:\n      - name: Always run\n        run: |\n          echo \"This is run to prevent the workflow from showing an error if the wheels job is not run and no jobs run is an error.\"\n          echo \"See https://github.community/t5/GitHub-Actions/Workflow-is-failing-if-no-job-can-be-ran-due-to-condition/m-p/38085\"\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n", "state": "active", "repository": "kivy/kivy"}
{"mined_at": "2024-07-15T14:15:28.597411", "created_at": "2023-10-30T12:16:35+01:00", "updated_at": "2024-06-15T05:24:28+02:00", "name": "Verify changelog updated", "path": ".github/workflows/changelog_reminder.yaml", "contents": "name: Verify changelog updated\n\non: \n  pull_request_target:\n    types:\n      - opened\n      - ready_for_review\n\njobs:\n  check_changes:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Get all updated Python files\n        id: changed-python-files\n        uses: tj-actions/changed-files@v44\n        with:\n          files: |\n            **.py\n\n      - name: Check for the changelog update\n        id: changelog-update\n        uses: tj-actions/changed-files@v44\n        with:\n          files: docs/changelog.rst\n          \n      - name: Comment under the PR with a reminder\n        if: steps.changed-python-files.outputs.any_changed == 'true' && steps.changelog-update.outputs.any_changed == 'false'\n        uses: thollander/actions-comment-pull-request@v2\n        with:\n           message: 'Thank you for the PR! The changelog has not been updated, so here is a friendly reminder to check if you need to add an entry.'\n           GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'\n", "state": "active", "repository": "beetbox/beets"}
{"mined_at": "2024-07-15T14:15:29.824712", "created_at": "2023-10-14T08:10:07+02:00", "updated_at": "2023-10-14T08:10:07+02:00", "name": "Verify changelog updated", "path": ".github/workflows/check_changelog.yaml", "contents": null, "state": "active", "repository": "beetbox/beets"}
{"mined_at": "2024-07-15T14:15:31.063243", "created_at": "2020-06-05T16:04:38+02:00", "updated_at": "2024-06-11T16:14:03+02:00", "name": "Test", "path": ".github/workflows/ci.yaml", "contents": "name: Test\non:\n  pull_request:\n  push:\n    branches:\n      - master\nenv:\n  PY_COLORS: 1\n\njobs:\n  test:\n    name: Run tests\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\"]\n    runs-on: ${{ matrix.platform }}\n    env:\n      IS_MAIN_PYTHON: ${{ matrix.python-version == '3.8' && matrix.platform == 'ubuntu-latest' }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Python tools\n        uses: BrandonLWhite/pipx-install-action@v0.1.1\n      - name: Setup Python with poetry caching\n        # poetry cache requires poetry to already be installed, weirdly\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: poetry\n\n      - name: Install PyGobject dependencies on Ubuntu\n        if: matrix.platform == 'ubuntu-latest'\n        run: |\n          sudo apt update\n          sudo apt install ffmpeg gobject-introspection libgirepository1.0-dev\n          poetry install --extras replaygain\n\n      - name: Install Python dependencies\n        run: poetry install --only=main,test\n\n      - if: ${{ env.IS_MAIN_PYTHON != 'true' }}\n        name: Test without coverage\n        run: poe test\n\n      - if: ${{ env.IS_MAIN_PYTHON == 'true' }}\n        name: Test with coverage\n        uses: liskin/gh-problem-matcher-wrap@v3\n        with:\n          linters: pytest\n          run: poe test-with-coverage\n\n      - if: ${{ env.IS_MAIN_PYTHON == 'true' }}\n        name: Store the coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-report\n          path: .reports/coverage.xml\n\n  upload-coverage:\n    name: Upload coverage report\n    needs: test\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Get the coverage report\n        uses: actions/download-artifact@v4\n        with:\n          name: coverage-report\n\n      - name: Upload code coverage\n        uses: codecov/codecov-action@v4\n        with:\n          files: ./coverage.xml\n          use_oidc: true\n", "state": "active", "repository": "beetbox/beets"}
{"mined_at": "2024-07-15T14:15:32.079330", "created_at": "2020-07-06T18:37:51+02:00", "updated_at": "2022-09-04T03:41:56+02:00", "name": "integration tests", "path": ".github/workflows/integration_test.yaml", "contents": "name: integration tests\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * SUN\" # run every Sunday at midnight\njobs:\n  test_integration:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Python tools\n        uses: BrandonLWhite/pipx-install-action@v0.1.1\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n          cache: poetry\n\n      - name: Install dependencies\n        run: poetry install\n\n      - name: Test\n        env:\n          INTEGRATION_TEST: 1\n        run: poe test\n\n      - name: Check external links in docs\n        run: poe check-docs-links\n\n      - name: Notify on failure\n        if: ${{ failure() }}\n        env:\n          ZULIP_BOT_CREDENTIALS: ${{ secrets.ZULIP_BOT_CREDENTIALS }}\n        run: |\n          if [ -z \"${ZULIP_BOT_CREDENTIALS}\" ]; then\n            echo \"Skipping notify, ZULIP_BOT_CREDENTIALS is unset\"\n            exit 0\n          fi\n\n          curl -X POST https://beets.zulipchat.com/api/v1/messages \\\n            -u \"${ZULIP_BOT_CREDENTIALS}\" \\\n            -d \"type=stream\" \\\n            -d \"to=github\" \\\n            -d \"subject=${GITHUB_WORKFLOW} - $(date -u +%Y-%m-%d)\" \\\n            -d \"content=[${GITHUB_WORKFLOW}#${GITHUB_RUN_NUMBER}](${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}) failed.\"\n", "state": "disabled_manually", "repository": "beetbox/beets"}
{"mined_at": "2024-07-15T14:15:33.251755", "created_at": "2024-06-07T06:11:41+02:00", "updated_at": "2024-06-12T11:59:26+02:00", "name": "Lint check", "path": ".github/workflows/lint.yml", "contents": "name: Lint check\nrun-name: Lint code\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\nenv:\n  PYTHON_VERSION: 3.8\n\njobs:\n  changed-files:\n    runs-on: ubuntu-latest\n    name: Get changed files\n    outputs:\n      any_docs_changed: ${{ steps.changed-doc-files.outputs.any_changed }}\n      any_python_changed: ${{ steps.raw-changed-python-files.outputs.any_changed }}\n      changed_doc_files: ${{ steps.changed-doc-files.outputs.all_changed_files }}\n      changed_python_files: ${{ steps.changed-python-files.outputs.all_changed_files }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get changed docs files\n        id: changed-doc-files\n        uses: tj-actions/changed-files@v44\n        with:\n          files: |\n            docs/**\n      - name: Get changed python files\n        id: raw-changed-python-files\n        uses: tj-actions/changed-files@v44\n        with:\n          files: |\n            **.py\n            poetry.lock\n\n      - name: Check changed python files\n        id: changed-python-files\n        env:\n          CHANGED_PYTHON_FILES: ${{ steps.raw-changed-python-files.outputs.all_changed_files }}\n        run: |\n          if [[ \" $CHANGED_PYTHON_FILES \" == *\" poetry.lock \"* ]]; then\n            # if poetry.lock is changed, we need to check everything\n            CHANGED_PYTHON_FILES=\".\"\n          fi\n          echo \"all_changed_files=$CHANGED_PYTHON_FILES\" >> \"$GITHUB_OUTPUT\"\n\n  format:\n    if: needs.changed-files.outputs.any_python_changed == 'true'\n    runs-on: ubuntu-latest\n    name: Check formatting\n    needs: changed-files\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Python tools\n        uses: BrandonLWhite/pipx-install-action@v0.1.1\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          cache: poetry\n\n      - name: Install dependencies\n        run: poetry install --only=format\n\n      - name: Check code formatting\n        # the job output will contain colored diffs with what needs adjusting\n        run: poe check-format\n\n  lint:\n    if: needs.changed-files.outputs.any_python_changed == 'true'\n    runs-on: ubuntu-latest\n    name: Check linting\n    needs: changed-files\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Python tools\n        uses: BrandonLWhite/pipx-install-action@v0.1.1\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          cache: poetry\n\n      - name: Install dependencies\n        run: poetry install --only=lint\n\n      - name: Lint code\n        uses: liskin/gh-problem-matcher-wrap@v3\n        with:\n          linters: flake8\n          run: poe lint ${{ needs.changed-files.outputs.changed_python_files }}\n\n  mypy:\n    if: needs.changed-files.outputs.any_python_changed == 'true'\n    runs-on: ubuntu-latest\n    name: Check types with mypy\n    needs: changed-files\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Python tools\n        uses: BrandonLWhite/pipx-install-action@v0.1.1\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          cache: poetry\n\n      - name: Install dependencies\n        run: poetry install --only=typing\n\n      - name: Type check code\n        uses: liskin/gh-problem-matcher-wrap@v3\n        continue-on-error: true\n        with:\n          linters: mypy\n          run: poe check-types --show-column-numbers --no-error-summary ${{ needs.changed-files.outputs.changed_python_files }}\n\n  docs:\n    if: needs.changed-files.outputs.any_docs_changed == 'true'\n    runs-on: ubuntu-latest\n    name: Check docs\n    needs: changed-files\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Python tools\n        uses: BrandonLWhite/pipx-install-action@v0.1.1\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          cache: poetry\n\n      - name: Install dependencies\n        run: poetry install --only=docs\n\n      - name: Add Sphinx problem matcher\n        run: echo \"::add-matcher::.github/sphinx-problem-matcher.json\"\n\n      - name: Build docs\n        run: |\n          poe docs |& tee /tmp/output\n          # fail the job if there are issues\n          grep -q \" WARNING:\" /tmp/output && exit 1 || exit 0\n", "state": "active", "repository": "beetbox/beets"}
{"mined_at": "2024-07-15T14:15:34.270678", "created_at": "2024-05-30T00:57:04+02:00", "updated_at": "2024-05-30T00:57:04+02:00", "name": "Make a Beets Release", "path": ".github/workflows/make_release.yaml", "contents": "name: Make a Beets Release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version of the new release, just as a number with no prepended \"v\"'\n        required: true\n\nenv:\n  PYTHON_VERSION: 3.8\n  NEW_VERSION: ${{ inputs.version }}\n\njobs:\n  increment-version:\n    name: Bump project version and commit it\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Python tools\n        uses: BrandonLWhite/pipx-install-action@v0.1.1\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          cache: poetry\n\n      - name: Install dependencies\n        run: poetry install --only=release\n\n      - name: Bump project version\n        id: script\n        run: poe bump \"${{ env.NEW_VERSION }}\"\n\n      - uses: EndBug/add-and-commit@v9\n        name: Commit the changes\n        with:\n          message: \"Increment version to ${{ env.NEW_VERSION }}\"\n\n  build:\n    name: Get changelog and build the distribution package\n    runs-on: ubuntu-latest\n    needs: increment-version\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Python tools\n        uses: BrandonLWhite/pipx-install-action@v0.1.1\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          cache: poetry\n\n      - name: Install dependencies\n        run: poetry install --only=release\n\n      - name: Install pandoc\n        run: sudo apt update && sudo apt install pandoc -y\n\n      - name: Obtain the changelog\n        run: echo \"changelog=$(poe changelog)\" >> $GITHUB_OUTPUT\n\n      - name: Build a binary wheel and a source tarball\n        run: poetry build\n\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n\n  publish-to-pypi:\n    name: Publish distribution 📦 to PyPI\n    runs-on: ubuntu-latest\n    needs: build\n    environment:\n      name: pypi\n      url: https://pypi.org/p/beets\n    permissions:\n      id-token: write\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  make-github-release:\n    name: Create GitHub release\n    runs-on: ubuntu-latest\n    needs: publish-to-pypi\n    env:\n      CHANGELOG: ${{ needs.build.outputs.changelog }}\n    steps:\n      - name: Tag the commit\n        id: tag_version\n        uses: mathieudutour/github-tag-action@v6\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          custom_tag: ${{ env.NEW_VERSION }}\n\n      - name: Download all the dists\n        uses: actions/download-artifact@v3\n        with:\n          name: python-package-distributions\n          path: dist/\n\n      - name: Create a GitHub release\n        id: make_release\n        uses: ncipollo/release-action@v1\n        env:\n          NEW_TAG: ${{ steps.tag_version.outputs.new_tag }}\n        with:\n          tag: ${{ env.NEW_TAG }}\n          name: Release ${{ env.NEW_TAG }}\n          body: ${{ env.CHANGELOG }}\n          artifacts: dist/*\n      - name: Send release toot to Fosstodon\n        uses: cbrgm/mastodon-github-action@v2\n        with:\n          access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}\n          url: ${{ secrets.MASTODON_URL }}\n          message: \"Version ${{ steps.tag_version.outputs.new_tag }} of beets has been released! Check out all of the new changes at ${{ steps.create_release.outputs.html_url }}\"\n", "state": "active", "repository": "beetbox/beets"}
{"mined_at": "2024-07-15T14:15:36.237399", "created_at": "2020-12-28T21:36:04+01:00", "updated_at": "2020-12-28T21:36:04+01:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\non: [push]\njobs:\n  tests:\n    name: ${{ matrix.peewee-backend }} - ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    services:\n      mysql:\n        image: mariadb:latest\n        env:\n          MYSQL_ROOT_PASSWORD: peewee\n          MYSQL_DATABASE: peewee_test\n        ports:\n          - 3306:3306\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: peewee\n          POSTGRES_DB: peewee_test\n        ports:\n          - 5432:5432\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.7, 3.9, \"3.11\"]\n        peewee-backend:\n          - \"sqlite\"\n          - \"postgresql\"\n          - \"mysql\"\n        exclude:\n          - python-version: 2.7\n            peewee-backend: postgresql\n        include:\n          - python-version: 3.7\n            peewee-backend: cockroachdb\n          - python-version: \"3.11\"\n            peewee-backend: cockroachdb\n          - python-version: \"3.11\"\n            peewee-backend: psycopg3\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: deps\n        env:\n          PGUSER: postgres\n          PGHOST: 127.0.0.1\n          PGPASSWORD: peewee\n        run: |\n          pip install psycopg2-binary cython pymysql 'apsw' mysql-connector\n          python setup.py build_ext -i\n          psql peewee_test -c 'CREATE EXTENSION hstore;'\n      - name: sqlcipher\n        if: ${{ matrix.python-version != 2.7 }}\n        run: pip install sqlcipher3-binary\n      - name: psycopg3\n        if: ${{ matrix.python-version != 2.7 }}\n        run: pip install 'psycopg[binary]'\n      - name: crdb\n        if: ${{ matrix.peewee-backend == 'cockroachdb' }}\n        run: |\n          wget -qO- https://binaries.cockroachdb.com/cockroach-v22.2.6.linux-amd64.tgz | tar xz\n          ./cockroach-v22.2.6.linux-amd64/cockroach start-single-node --insecure --background\n          ./cockroach-v22.2.6.linux-amd64/cockroach sql --insecure -e 'create database peewee_test;'\n      - name: runtests ${{ matrix.peewee-backend }} - ${{ matrix.python-version }}\n        env:\n          PEEWEE_TEST_BACKEND: ${{ matrix.peewee-backend }}\n          PGUSER: postgres\n          PGHOST: 127.0.0.1\n          PGPASSWORD: peewee\n        run: python runtests.py --mysql-user=root --mysql-password=peewee -s\n", "state": "active", "repository": "coleifer/peewee"}
{"mined_at": "2024-07-15T14:15:38.210530", "created_at": "2020-01-09T21:47:07+01:00", "updated_at": "2020-01-09T21:47:07+01:00", "name": "Python package", "path": "", "contents": null, "state": "active", "repository": "crazyguitar/pysheeet"}
{"mined_at": "2024-07-15T14:15:39.219863", "created_at": "2019-12-22T15:09:47+01:00", "updated_at": "2022-01-27T21:12:30+01:00", "name": "Build", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Build\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install\n      run: make deps\n    - name: Test\n      run: make clean && make test\n", "state": "active", "repository": "crazyguitar/pysheeet"}
{"mined_at": "2024-07-15T14:15:41.261025", "created_at": "2020-07-15T18:45:02+02:00", "updated_at": "2020-07-15T18:45:02+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [master, ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 13 * * 5'\n\njobs:\n  analyse:\n    name: Analyse\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      # Override language selection by uncommenting this and choosing your languages\n      # with:\n      #   languages: go, javascript, csharp, python, cpp, java\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "ajenti/ajenti"}
{"mined_at": "2024-07-15T14:15:42.275282", "created_at": "2021-03-29T11:17:12+02:00", "updated_at": "2021-03-29T11:17:12+02:00", "name": "Build Ajenti and test", "path": ".github/workflows/install-ajenti.yml", "contents": "name: Build Ajenti and test\n\non:\n  push:\n    branches: 'master'\n  pull_request:\n    branches: 'master'\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.7', '3.8', '3.10']\n        node-version: [16.x, 18.x, 19.x]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Installing Apt packages\n      run: |\n        sudo apt update\n        sudo apt install python3-dbus python3-lxml python3-pip libaugeas-dev augeas-tools\n    - name: Set up Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n    - name: Install npm dependencies\n      run: |\n        sudo npm install -g npm\n        sudo npm install -g bower babel-cli babel-preset-es2015 babel-plugin-external-helpers less coffee-script\n        sudo npm install babel-cli babel-preset-es2015 babel-plugin-external-helpers\n    - name: Install python dependencies\n      run: |\n        sudo python3 -m pip install --upgrade pip\n        sudo python3 -m pip install wheel setuptools\n    - name: Install Ajenti\n      run: |\n        sudo python3 -m pip install -r ajenti-core/requirements.txt\n        sudo python3 -m pip install -r plugins/core/requirements.txt\n        sudo python3 -m pip install -r plugins/augeas/requirements.txt\n        sudo python3 -m pip install -r plugins/auth_users/requirements.txt\n        sudo python3 -m pip install -r plugins/datetime/requirements.txt\n        sudo python3 -m pip install -r plugins/services/requirements.txt\n        sudo python3 -m pip install -r plugins/terminal/requirements.txt\n        sudo python3 -m pip install ajenti-dev-multitool\n        sudo python3 -m pip install pytest\n        sudo python3 -m pip uninstall -y gevent-socketio-hartwork python-socketio\n        sudo python3 -m pip install python-socketio==5.8.0\n    - name: Install Bower components\n      run: |\n        sudo ajenti-dev-multitool --bower install || exit 1\n        sudo ajenti-dev-multitool --build || exit 1\n    - name: Running pytest Tests\n      run: |\n        cd tests-pytest\n        sudo pytest -s || exit 1\n        cd ..\n", "state": "active", "repository": "ajenti/ajenti"}
{"mined_at": "2024-07-15T14:15:43.275316", "created_at": "2021-05-10T12:06:32+02:00", "updated_at": "2021-05-10T12:06:32+02:00", "name": "tagged-release", "path": ".github/workflows/release.yml", "contents": "---\nname: \"tagged-release\"\n\non:\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  tagged-release:\n    name: \"Tagged Release\"\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n      - uses: \"marvinpinto/action-automatic-releases@latest\"\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          prerelease: false\n          draft: true\n", "state": "active", "repository": "ajenti/ajenti"}
{"mined_at": "2024-07-15T14:15:45.465794", "created_at": "2024-03-08T00:19:45+01:00", "updated_at": "2024-03-08T00:19:45+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": null, "state": "active", "repository": "readthedocs/readthedocs.org"}
{"mined_at": "2024-07-15T14:15:46.516509", "created_at": "2019-12-24T13:50:10+01:00", "updated_at": "2019-12-24T13:50:10+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    permissions:\n      contents: none\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Trigger tests in readthedocs-corporate\n      run: |\n        curl --request POST \\\n        --silent --output /dev/null \\\n        --url https://circleci.com/api/v2/project/gh/readthedocs/readthedocs-corporate/pipeline \\\n        --user '${{ secrets.CIRCLECI_USER_TOKEN }}:' \\\n        --header 'content-type: application/json' \\\n        --data '{\"branch\": \"main\", \"parameters\":{\"tests_only\": true}}'\n\n    - name: Trigger tests in readthedocs-ext\n      run: |\n        curl --request POST \\\n        --silent --output /dev/null \\\n        --url https:/circleci.com/api/v2/project/gh/readthedocs/readthedocs-ext/pipeline \\\n        --user '${{ secrets.CIRCLECI_USER_TOKEN }}:' \\\n        --header 'content-type: application/json' \\\n        --data '{\"branch\": \"main\", \"parameters\":{\"tests_only\": true}}'\n", "state": "active", "repository": "readthedocs/readthedocs.org"}
{"mined_at": "2024-07-15T14:15:47.545893", "created_at": "2022-08-18T12:34:40+02:00", "updated_at": "2022-08-18T12:34:40+02:00", "name": "Update dependencies with pip-tools", "path": ".github/workflows/pip-tools.yaml", "contents": "# Action to run pip-compile weekly and create a Pull Request with the changes.\n# Althought GitHub says that pip-compile is supported by dependabot, we couldn't make it work together.\n# That's why this action exists.\n# If we ever find the proper configuration for dependabot+pip-compile,\n# we can delete this action.\n\nname: Update dependencies with pip-tools\n\non:\n  schedule:\n    # Run weekly on day 0 at 00:00 UTC\n    - cron: \"0 0 * * 0\"\n\npermissions:\n  contents: read\n\njobs:\n  update-dependencies:\n    permissions:\n      contents: write # to create branch (peter-evans/create-pull-request)\n      pull-requests: write # to create a PR (peter-evans/create-pull-request)\n\n    name: Update dependencies\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Update submodules\n        run: git submodule update --init\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install \"pg_config\" requirement\n        run: sudo apt-get install libpq-dev\n\n      - name: Install piptools and invoke\n        run: python -m pip install -U pip-tools invoke\n\n      - name: Update dependencies from requirements/*.txt\n        run: invoke requirements.update\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          add-paths: |\n            requirements/*.txt\n          title: |\n            Dependencies: all packages updated via pip-tools\n          body: |\n            Dependencies: all packages updated via pip-tools\n          commit-message: |\n            Dependencies: all packages updated via pip-tools\n          delete-branch: true\n          branch: dependencies/pip-tools\n          branch-suffix: short-commit-hash\n", "state": "active", "repository": "readthedocs/readthedocs.org"}
{"mined_at": "2024-07-15T14:15:48.676481", "created_at": "2022-07-25T22:14:50+02:00", "updated_at": "2022-07-25T22:14:50+02:00", "name": "Read the Docs Pull Request Preview", "path": ".github/workflows/pr-preview-links.yaml", "contents": "name: Read the Docs Pull Request Preview\non:\n  pull_request_target:\n    types:\n      - opened\n    paths:\n      - \"docs/**\"\n\npermissions:\n  pull-requests: write\n\njobs:\n  pr-preview-links:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: readthedocs/actions/preview@v1\n        with:\n          project-slug: \"docs\"\n          message-template: |\n            ---\n            :books: Documentation previews :books:\n\n            - User's documentation (\\`docs\\`): {docs-pr-index-url}\n\n      - uses: readthedocs/actions/preview@v1\n        with:\n          project-slug: \"dev\"\n          message-template: |\n            - Developer's documentation (\\`dev\\`): {docs-pr-index-url}\n", "state": "active", "repository": "readthedocs/readthedocs.org"}
{"mined_at": "2024-07-15T14:15:50.732351", "created_at": "2024-05-09T18:22:35+02:00", "updated_at": "2024-05-13T20:23:37+02:00", "name": "Build python deps on linux", "path": ".github/workflows/build_python_deps_linux.yml", "contents": null, "state": "active", "repository": "google/clusterfuzz"}
{"mined_at": "2024-07-15T14:15:51.783034", "created_at": "2022-03-30T06:26:03+02:00", "updated_at": "2022-03-31T03:44:07+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'go', 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "google/clusterfuzz"}
{"mined_at": "2024-07-15T14:15:52.932484", "created_at": "2024-04-11T06:05:20+02:00", "updated_at": "2024-04-11T06:05:20+02:00", "name": "OSV-Scanner", "path": ".github/workflows/osv-scanner.yml", "contents": null, "state": "active", "repository": "google/clusterfuzz"}
{"mined_at": "2024-07-15T14:15:53.992928", "created_at": "2021-08-02T08:07:42+02:00", "updated_at": "2021-08-02T10:38:44+02:00", "name": "Publish PyPI package", "path": ".github/workflows/publish-to-pypi.yaml", "contents": "# Copyright 2021 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Publish PyPI package\non:\n  release:\n    types: [published]\n\npermissions: read-all\n\njobs:\n  publish:\n    name: Publish\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: src\n    steps:\n    - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3\n      uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5 # v2.2.2\n      with:\n        python-version: 3.7\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: ./build.sh\n    - name: Publish distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@37f50c210e3d2f9450da2cd423303d6a14a6e29f # v1.4.2\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        packages_dir: src/dist/\n", "state": "active", "repository": "google/clusterfuzz"}
{"mined_at": "2024-07-15T14:15:55.120259", "created_at": "2020-09-23T23:02:59+02:00", "updated_at": "2024-05-21T20:16:51+02:00", "name": "Run basic tests", "path": ".github/workflows/tests.yaml", "contents": "# Copyright 2020 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Run basic tests\non: [pull_request]\n\npermissions: read-all\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: |  # Needed for git diff to work.\n          git fetch origin master --depth 1\n          git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/master\n\n      - name: Setup python environment\n        uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5\n        with:\n          python-version: 3.7\n\n      - name: Run basic tests\n        run: ./local/tests/ci_tests.bash\n\n", "state": "active", "repository": "google/clusterfuzz"}
{"mined_at": "2024-07-15T14:15:56.239491", "created_at": "2022-01-05T03:31:19+01:00", "updated_at": "2022-01-05T03:31:19+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "google/clusterfuzz"}
{"mined_at": "2024-07-15T14:15:58.393573", "created_at": "2023-12-05T12:45:21+01:00", "updated_at": "2023-12-05T12:45:21+01:00", "name": "allpackages", "path": ".github/workflows/allpackages.yml", "contents": null, "state": "active", "repository": "googleapis/google-cloud-python"}
{"mined_at": "2024-07-15T14:15:59.521330", "created_at": "2023-05-16T20:45:24+02:00", "updated_at": "2023-08-30T19:21:40+02:00", "name": "A workflow for updating the release please configuration files", "path": ".github/workflows/configure_release_please.yml", "contents": "# Copyright 2023 Google LLC\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n\n#     https://www.apache.org/licenses/LICENSE-2.0\n\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: A workflow for updating the release please configuration files\n\n# Controls when the action will run.\n\non:\n  push:\n    paths:\n      - '**/gapic_version.py'\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    permissions:\n      pull-requests: write # for googleapis/code-suggester\n    name: Update release please config\n    runs-on: ubuntu-latest\n    # don't run the workflow on forks of googleapis/google-cloud-python\n    if: ${{github.repository == 'googleapis/google-cloud-python'}}\n    steps:\n      - uses: actions/checkout@v4\n        # Use a fetch-depth of 2\n        # See https://github.com/googleapis/google-cloud-python/issues/12013\n        # and https://github.com/actions/checkout#checkout-head.\n        with:\n          fetch-depth: 2\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Run configure_release_please.py\n        run: python3 configure_release_please.py\n        working-directory: ./scripts/configure_release_please\n      - uses: googleapis/code-suggester@v4\n        env:\n          ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}\n        with:\n          command: pr\n          force: true\n          upstream_owner: googleapis\n          upstream_repo: google-cloud-python\n          description: 'Update release-please config files'\n          title: 'chore: Update release-please config files'\n          message: 'chore: Update release-please config files'\n          branch: update-release-please-config-files\n          git_dir: '.'\n", "state": "active", "repository": "googleapis/google-cloud-python"}
{"mined_at": "2024-07-15T14:16:00.666322", "created_at": "2022-10-22T19:08:10+02:00", "updated_at": "2022-10-25T03:55:23+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "on:\n  pull_request:\n    branches:\n      - main\n  # Trigger workflow on GitHub merge queue events\n  # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#merge_group\n  merge_group:\n    types: [checks_requested]\nname: docs\n\npermissions:\n  contents: read\n\njobs:\n  # The two jobs \"docs\" and \"docsfx\" are marked as required checks\n  # (and reset as such periodically) elsewhere in our\n  # automation. Since we don't want to block non-release PRs on docs\n  # failures, we want these checks to always show up as succeeded for\n  # those PRs. For release PRs, we do want the checks to run and block\n  # merge on failure.\n  #\n  # We accomplish this by using an \"if:\" conditional. Jobs\n  # thus skipped via a conditional (i.e. a false condition) show as\n  # having succeeded. See:\n  # https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks\n  #\n  # Since we want advance notice of docs errors, we also have two\n  # corresponding non-required checks, the jobs \"docs-warnings\" and\n  # \"docfx-warnings\", that run for all non-release PRs (i.e., when the\n  # \"docs\" and \"docfx\" jobs don't run).\n  #\n  #\n  # PLEASE ENSURE THE FOLLOWING AT ALL TIMES:\n  #\n  # - the \"*-warnings\" checks remain NON-REQUIRED in the repo\n  #   settings.\n  #\n  # - the steps for the jobs \"docs\" and \"docfx\" are identical to the\n  #   ones in \"docs-warnings\" and \"docfx-warnings\", respectively.  We\n  #   will be able to avoid config duplication once GitHub actions\n  #   support YAML anchors (see\n  #   https://github.com/actions/runner/issues/1182)\n  docs:\n    if: github.actor == 'release-please[bot]'\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`\n      # See https://github.com/googleapis/google-cloud-python/issues/12013\n      # and https://github.com/actions/checkout#checkout-head.\n      with:\n        fetch-depth: 2\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install nox\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install nox\n    - name: Run docs\n      env:\n        BUILD_TYPE: presubmit\n        TEST_TYPE: docs\n        PY_VERSION: \"3.10\"\n      run: |\n        ci/run_conditional_tests.sh\n  docs-warnings:    \n    if: github.actor != 'release-please[bot]'\n    name: \"Docs warnings: will block release\"\n    continue-on-error: true\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`\n      # See https://github.com/googleapis/google-cloud-python/issues/12013\n      # and https://github.com/actions/checkout#checkout-head.\n      with:\n        fetch-depth: 2\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install nox\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install nox\n    - name: Run docs\n      env:\n        BUILD_TYPE: presubmit\n        TEST_TYPE: docs\n        PY_VERSION: \"3.10\"\n      run: |\n        ci/run_conditional_tests.sh\n  docfx:\n    if: github.actor == 'release-please[bot]'\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`\n      # See https://github.com/googleapis/google-cloud-python/issues/12013\n      # and https://github.com/actions/checkout#checkout-head.\n      with:\n        fetch-depth: 2\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install nox\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install nox\n    - name: Run docfx\n      env:\n        BUILD_TYPE: presubmit\n        TEST_TYPE: docfx\n        PY_VERSION: \"3.10\"\n      run: |\n        ci/run_conditional_tests.sh\n  docfx-warnings:\n    if: github.actor != 'release-please[bot]'\n    name: \"Docfx warnings: will block release\"\n    continue-on-error: true\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`\n      # See https://github.com/googleapis/google-cloud-python/issues/12013\n      # and https://github.com/actions/checkout#checkout-head.\n      with:\n        fetch-depth: 2\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install nox\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install nox\n    - name: Run docfx\n      env:\n        BUILD_TYPE: presubmit\n        TEST_TYPE: docfx\n        PY_VERSION: \"3.10\"\n      run: |\n        ci/run_conditional_tests.sh\n", "state": "active", "repository": "googleapis/google-cloud-python"}
{"mined_at": "2024-07-15T14:16:01.777015", "created_at": "2022-10-22T19:08:10+02:00", "updated_at": "2022-10-25T03:55:23+02:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "on:\n  pull_request:\n    branches:\n      - main\n  # Trigger workflow on GitHub merge queue events\n  # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#merge_group\n  merge_group:\n    types: [checks_requested]\nname: lint\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`\n      # See https://github.com/googleapis/google-cloud-python/issues/12013\n      # and https://github.com/actions/checkout#checkout-head.\n      with:\n        fetch-depth: 2\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install nox\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install nox\n    - name: Run lint\n      env:\n        BUILD_TYPE: presubmit\n        TEST_TYPE: lint\n        PY_VERSION: \"3.10\"\n      run: |\n        ci/run_conditional_tests.sh\n    - name: Run lint_setup_py\n      env:\n        BUILD_TYPE: presubmit\n        TEST_TYPE: lint_setup_py\n        PY_VERSION: \"3.10\"\n      run: |\n        ci/run_conditional_tests.sh\n", "state": "active", "repository": "googleapis/google-cloud-python"}
{"mined_at": "2024-07-15T14:16:03.106640", "created_at": "2021-07-04T14:50:51+02:00", "updated_at": "2024-05-08T21:16:39+02:00", "name": "A workflow for updating the api list in README.rst", "path": ".github/workflows/main.yml", "contents": "# Copyright 2021 Google LLC\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n\n#     https://www.apache.org/licenses/LICENSE-2.0\n\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: A workflow for updating the api list in README.rst\n# Controls when the action will run.\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    # Run this Github Action every Tuesday at 7 AM UTC\n    - cron:  '0 7 * * 2'\n  workflow_dispatch:\n\npermissions: read-all\n\njobs:\n  build:\n    permissions:\n      pull-requests: write # for googleapis/code-suggester\n    name: Update API List PR\n    runs-on: ubuntu-20.04\n    # don't run the workflow on forks of googleapis/google-cloud-python\n    if: ${{github.repository == 'googleapis/google-cloud-python'}}\n    steps:\n      - name: Get current date\n        id: date\n        run: echo \"current_date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n      - uses: actions/checkout@v4\n        # Use a fetch-depth of 2\n        # See https://github.com/googleapis/google-cloud-python/issues/12013\n        # and https://github.com/actions/checkout#checkout-head.\n        with:\n          fetch-depth: 2\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.10.0\n      - name: Install script dependencies\n        run: pip3 install -r requirements.txt\n        working-directory: ./scripts\n      - name: Run python script to update the api list in README.rst\n        run: python3 scripts/updateapilist.py\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - uses: googleapis/code-suggester@v4\n        env:\n          ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}\n        with:\n          command: pr\n          force: true\n          upstream_owner: googleapis\n          upstream_repo: google-cloud-python\n          description: 'Update the list of available APIs in the README.'\n          title: 'docs: update the list of available APIs'\n          message: 'docs: update the list of available APIs'\n          branch: update-api-list-${{ steps.date.outputs.current_date }}\n          git_dir: '.'\n", "state": "active", "repository": "googleapis/google-cloud-python"}
{"mined_at": "2024-07-15T14:16:04.137795", "created_at": "2023-05-25T20:22:39+02:00", "updated_at": "2023-08-30T19:21:40+02:00", "name": "scripts", "path": ".github/workflows/scripts.yml", "contents": "on:\n  pull_request:\n    branches:\n      - main\nname: scripts\n\npermissions:\n  contents: read\n\njobs:\n  test_release_please_scripts:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      # Use a fetch-depth of 2\n      # See https://github.com/googleapis/google-cloud-python/issues/12013\n      # and https://github.com/actions/checkout#checkout-head.\n      with:\n        fetch-depth: 2\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install pytest\n      run: |\n        python -m pip install pytest\n    - name: Run configure_release_please_scripts tests\n      run: |\n        pytest scripts/configure_release_please\n", "state": "active", "repository": "googleapis/google-cloud-python"}
{"mined_at": "2024-07-15T14:16:05.360052", "created_at": "2022-10-22T19:08:10+02:00", "updated_at": "2022-10-25T03:55:23+02:00", "name": "unittest", "path": ".github/workflows/unittest.yml", "contents": "on:\n  pull_request:\n    branches:\n      - main\n  # Trigger workflow on GitHub merge queue events\n  # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#merge_group\n  merge_group:\n    types: [checks_requested]\nname: unittest\n\npermissions:\n  contents: read\n\njobs:\n  unit:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: ['3.7', '3.8', '3.9', '3.10', \"3.11\", \"3.12\"]\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`\n      # See https://github.com/googleapis/google-cloud-python/issues/12013\n      # and https://github.com/actions/checkout#checkout-head.\n      with:\n        fetch-depth: 2\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install nox\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install nox\n    - name: Run unit tests\n      env:\n        COVERAGE_FILE: .coverage-${{ matrix.python }}\n        BUILD_TYPE: presubmit\n        TEST_TYPE: unit\n        PY_VERSION: ${{ matrix.python }}\n      run: |\n        ci/run_conditional_tests.sh\n    - name: Upload coverage results\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage-artifact-${{ '{{' }} matrix.python {{ '}}' }}\n        path: .coverage-${{ matrix.python }}\n  prerelease:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: ['3.12']\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`\n      # See https://github.com/googleapis/google-cloud-python/issues/12013\n      # and https://github.com/actions/checkout#checkout-head.\n      with:\n        fetch-depth: 2\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install nox\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install nox\n    - name: Run prerelease tests\n      env:\n        BUILD_TYPE: presubmit\n        TEST_TYPE: prerelease\n        PY_VERSION: ${{ matrix.python }}\n      run: |\n        ci/run_conditional_tests.sh\n\n  cover:\n    runs-on: ubuntu-latest\n    needs:\n        - unit\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`\n      # See https://github.com/googleapis/google-cloud-python/issues/12013\n      # and https://github.com/actions/checkout#checkout-head.\n      with:\n        fetch-depth: 2\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Set number of files changes in packages directory\n      id: packages\n      run: echo \"::set-output name=num_files_changed::$(git diff HEAD~1 -- packages | wc -l)\"\n    - name: Install coverage\n      if: steps.packages.num_files_changed > 0\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        python -m pip install coverage\n    - name: Download coverage results\n      if: ${{ steps.date.packages.num_files_changed > 0 }}\n      uses: actions/download-artifact@v4\n      with:\n        path: .coverage-results/\n    - name: Report coverage results\n      if: ${{ steps.date.packages.num_files_changed > 0 }}\n      run: |\n        find .coverage-results -type f -name '*.zip' -exec unzip {} \\;\n        coverage combine .coverage-results/**/.coverage*\n        coverage report --show-missing --fail-under=100\n", "state": "active", "repository": "googleapis/google-cloud-python"}
{"mined_at": "2024-07-15T14:16:06.400819", "created_at": "2023-05-25T20:08:29+02:00", "updated_at": "2023-05-25T20:08:29+02:00", "name": "configure_release_please_scripts", "path": ".github/workflows/unittest_configure_release_please.yml", "contents": null, "state": "active", "repository": "googleapis/google-cloud-python"}
{"mined_at": "2024-07-15T14:16:07.508458", "created_at": "2023-02-03T13:37:03+01:00", "updated_at": "2023-11-10T18:18:24+01:00", "name": "A workflow for updating the CHANGELOG.md in the root directory", "path": ".github/workflows/updatechangelog.yml", "contents": "# Copyright 2023 Google LLC\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n\n#     https://www.apache.org/licenses/LICENSE-2.0\n\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: A workflow for updating the CHANGELOG.md in the root directory\n# Controls when the action will run.\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    # Run this Github Action every Tuesday at 7 AM UTC\n    - cron:  '0 7 * * 2'\n    \npermissions:\n  contents: read\n\njobs:\n  build:\n    permissions:\n      pull-requests: write # for googleapis/code-suggester\n    name: Update Changelog\n    runs-on: ubuntu-latest\n    # don't run the workflow on forks of googleapis/google-cloud-python\n    if: ${{github.repository == 'googleapis/google-cloud-python'}}\n    steps:\n      - uses: actions/checkout@v4\n        # Use a fetch-depth of 2\n        # See https://github.com/googleapis/google-cloud-python/issues/12013\n        # and https://github.com/actions/checkout#checkout-head.\n        with:\n          fetch-depth: 2\n      - name: Run bash script to update CHANGELOG.md in the root directory\n        run: ./scripts/updatechangelog.sh\n      - uses: googleapis/code-suggester@v4\n        env:\n          ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}\n        with:\n          command: pr\n          force: true\n          upstream_owner: googleapis\n          upstream_repo: google-cloud-python\n          description: 'Update the root changelog'\n          title: 'chore: Update the root changelog'\n          message: 'chore: Update the root changelog'\n          branch: update-changelog\n          git_dir: '.'\n", "state": "active", "repository": "googleapis/google-cloud-python"}
{"mined_at": "2024-07-15T14:16:08.630552", "created_at": "2023-07-21T15:21:20+02:00", "updated_at": "2023-07-21T15:21:20+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googleapis/google-cloud-python"}
{"mined_at": "2024-07-15T14:16:10.990203", "created_at": "2021-11-23T01:27:28+01:00", "updated_at": "2021-11-23T01:27:28+01:00", "name": "Docker build image on release", "path": ".github/workflows/docker-build.yml", "contents": "name: Docker build image on release\n\non:\n  release:\n    types: [published]\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - name: Set repo name lowercase\n        id: repo\n        uses: ASzc/change-string-case-action@v2\n        with:\n          string: ${{ github.repository }}\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: |\n            ${{ steps.repo.outputs.lowercase }}:latest\n            ghcr.io/${{ steps.repo.outputs.lowercase }}:latest\n            ${{ steps.repo.outputs.lowercase }}:${{ github.event.release.tag_name }}\n            ghcr.io/${{ steps.repo.outputs.lowercase }}:${{ github.event.release.tag_name }}\n", "state": "active", "repository": "ctfd/ctfd"}
{"mined_at": "2024-07-15T14:16:12.116584", "created_at": "2020-04-14T23:00:40+02:00", "updated_at": "2020-06-17T08:52:09+02:00", "name": "Linting", "path": ".github/workflows/lint.yml", "contents": "---\nname: Linting\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: ['3.11']\n\n    name: Linting\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Install dependencies\n        run: |\n            python -m pip install --upgrade pip\n            python -m pip install -r linting.txt\n            sudo yarn --cwd CTFd/themes/admin install --non-interactive\n            sudo yarn global add prettier@^3.2.5\n\n      - name: Lint\n        run: make lint\n        env:\n            TESTING_DATABASE_URL: 'sqlite://'\n\n      - name: Lint Dockerfile\n        uses: brpaz/hadolint-action@master\n        with:\n          dockerfile: \"Dockerfile\"\n\n      - name: Lint docker-compose\n        run: |\n            docker compose -f docker-compose.yml config\n\n      - name: Lint translations\n        run: |\n          make translations-lint\n\n", "state": "active", "repository": "ctfd/ctfd"}
{"mined_at": "2024-07-15T14:16:13.190402", "created_at": "2024-04-24T06:02:32+02:00", "updated_at": "2024-04-24T19:49:25+02:00", "name": "CTFd MariaDB CI", "path": ".github/workflows/mariadb.yml", "contents": "---\nname: CTFd MariaDB CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    services:\n      mariadb:\n        image: mariadb:10.11\n        env:\n          MYSQL_ROOT_PASSWORD: password\n          MYSQL_DATABASE: ctfd\n        ports:\n          - 3306\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n\n    strategy:\n      matrix:\n        python-version: ['3.11']\n\n    name: Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Install dependencies\n        run: |\n            python -m pip install --upgrade pip\n            python -m pip install -r development.txt\n            sudo yarn install --non-interactive\n\n      - name: Test\n        run: |\n            sudo rm -f /etc/boto.cfg\n            make test\n        env:\n            AWS_ACCESS_KEY_ID: AKIAIOSFODNN7EXAMPLE\n            AWS_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\n            TESTING_DATABASE_URL: mysql+pymysql://root:password@localhost:${{ job.services.mariadb.ports[3306] }}/ctfd\n\n      - name: Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n", "state": "active", "repository": "ctfd/ctfd"}
{"mined_at": "2024-07-15T14:16:14.215977", "created_at": "2020-06-17T08:52:12+02:00", "updated_at": "2020-06-17T08:52:12+02:00", "name": "CTFd MySQL CI", "path": ".github/workflows/mysql.yml", "contents": "---\nname: CTFd MySQL CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    services:\n      mysql:\n        image: mysql:5.7\n        env:\n          MYSQL_ROOT_PASSWORD: password\n        ports:\n          - 3306\n        options: --health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=3\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n\n    strategy:\n      matrix:\n        python-version: ['3.11']\n\n    name: Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Install dependencies\n        run: |\n            python -m pip install --upgrade pip\n            python -m pip install -r development.txt\n            sudo yarn install --non-interactive\n\n      - name: Test\n        run: |\n            sudo rm -f /etc/boto.cfg\n            make test\n        env:\n            AWS_ACCESS_KEY_ID: AKIAIOSFODNN7EXAMPLE\n            AWS_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\n            TESTING_DATABASE_URL: mysql+pymysql://root:password@localhost:${{ job.services.mysql.ports[3306] }}/ctfd\n\n      - name: Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n", "state": "active", "repository": "ctfd/ctfd"}
{"mined_at": "2024-07-15T14:16:15.228154", "created_at": "2020-06-17T08:41:29+02:00", "updated_at": "2020-06-17T08:43:36+02:00", "name": "CTFd Postgres CI", "path": ".github/workflows/postgres.yml", "contents": "---\nname: CTFd Postgres CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres\n        ports:\n          - 5432:5432\n        env:\n          POSTGRES_HOST_AUTH_METHOD: trust\n          POSTGRES_DB: ctfd\n          POSTGRES_PASSWORD: password\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n\n    strategy:\n      matrix:\n        python-version: ['3.11']\n\n    name: Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Install dependencies\n        run: |\n            python -m pip install --upgrade pip\n            python -m pip install -r development.txt\n            sudo yarn install --non-interactive\n\n      - name: Test\n        run: |\n            sudo rm -f /etc/boto.cfg\n            make test\n        env:\n            AWS_ACCESS_KEY_ID: AKIAIOSFODNN7EXAMPLE\n            AWS_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\n            TESTING_DATABASE_URL: postgres://postgres:password@localhost:${{ job.services.postgres.ports[5432] }}/ctfd\n\n      - name: Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n\n", "state": "active", "repository": "ctfd/ctfd"}
{"mined_at": "2024-07-15T14:16:16.416629", "created_at": "2020-06-17T08:52:09+02:00", "updated_at": "2020-06-17T08:52:09+02:00", "name": "CTFd SQLite CI", "path": ".github/workflows/sqlite.yml", "contents": "---\nname: CTFd SQLite CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: ['3.11']\n\n    name: Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Install dependencies\n        run: |\n            python -m pip install --upgrade pip\n            python -m pip install -r development.txt\n            sudo yarn install --non-interactive\n            sudo yarn global add prettier@1.17.0\n\n      - name: Test\n        run: |\n            sudo rm -f /etc/boto.cfg\n            make test\n        env:\n            AWS_ACCESS_KEY_ID: AKIAIOSFODNN7EXAMPLE\n            AWS_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\n            TESTING_DATABASE_URL: 'sqlite://'\n\n      - name: Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n\n", "state": "active", "repository": "ctfd/ctfd"}
{"mined_at": "2024-07-15T14:16:18.674043", "created_at": "2023-03-16T21:29:13+01:00", "updated_at": "2023-03-16T21:29:13+01:00", "name": "Deploy Docker Image", "path": ".github/workflows/deploy-docker.yml", "contents": "name: Deploy Docker Image\n\non:\n  workflow_run:\n    workflows: [\"PyPi and Docker Deploy\"]\n    types:\n      - completed\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/master' \n\n    steps:\n    - uses: actions/checkout@v3\n    - name: docker login\n      env:\n        DOCKER_USER: ${{secrets.DOCKER_USER}}\n        DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}\n      run: |\n        docker login -u $DOCKER_USER -p $DOCKER_PASSWORD \n    - name: Build the Docker image\n      run: docker build . --file Dockerfile --tag rhinosecuritylabs/pacu:latest\n      \n    - name: Docker Push\n      run: docker push rhinosecuritylabs/pacu:latest\n", "state": "active", "repository": "rhinosecuritylabs/pacu"}
{"mined_at": "2024-07-15T14:16:19.796449", "created_at": "2023-03-16T03:03:39+01:00", "updated_at": "2023-03-16T22:15:06+01:00", "name": "PyPi and Docker Deploy", "path": ".github/workflows/python-deploy-pypi.yml", "contents": "# This is triggered manually.\n# This will bump the version and publish a package to PyPi.\n# if it completes it will also trigger a new Docker image build and push to DockHub at:\n# https://github.com/RhinoSecurityLabs/pacu/blob/master/.github/workflows/deploy-docker.yml\n# \n\n\nname: PyPi and Docker Deploy\n\non: \n  workflow_dispatch:\n    inputs:\n      SemVer_level:\n        description: 'Semantic version level to use (patch,minor,major) https://python-poetry.org/docs/cli/'\n        required: true\n        default: 'patch'\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/master'\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        persist-credentials: false\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install poetry\n    - name: Bump version\n      run: |\n        poetry version ${{ github.event.inputs.SemVer_level }}\n        ver=\"$(poetry version -s)\"\n        sed -i \"s/pacu.version=\\\".*\\\"/pacu.version=\\\"$ver\\\"/\" Dockerfile\n        sed -i \"s/pacu.version=\\\".*\\\"/pacu.version=\\\"$ver\\\"/\" Dockerfile.dev\n    - name: Commit and push version changes\n      run: |\n        ver=\"$(poetry version -s)\"\n        git config --global user.email \"<>\"\n        git config --global user.name \"Github-Actions\"\n        git config --global credential.helper store\n        echo \"https://${{secrets.GIT_USERNAME}}:${{secrets.GIT_TOKEN}}@github.com\" > ~/.git-credentials\n        git add .\n        git commit -m \"Release v${ver}\"\n        git push\n        git tag \"v${ver}\"\n        git push origin \"refs/tags/v${ver}\"\n    - name: Build and publish\n      run: |\n        poetry publish --build -u \"__token__\" -p \"${{ secrets.PYPI_TOKEN }}\"\n", "state": "active", "repository": "rhinosecuritylabs/pacu"}
{"mined_at": "2024-07-15T14:16:20.909670", "created_at": "2023-03-16T03:03:39+01:00", "updated_at": "2023-03-16T03:03:39+01:00", "name": "Python test", "path": ".github/workflows/python-lint-test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python test\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies and Configure\n      run: |\n        python -m pip install --upgrade pip\n        pip install poetry\n        poetry install\n    - name: Test Docker build\n      run: |\n        docker build . --file Dockerfile --tag rhinosecuritylabs/pacu:latest\n    - name: Lint with flake8 and mypy\n      run: |\n        poetry run make lint\n    - name: Test with pytest\n      run: |\n        poetry run make test\n", "state": "active", "repository": "rhinosecuritylabs/pacu"}
{"mined_at": "2024-07-15T14:16:23.493106", "created_at": "2021-02-02T19:27:02+01:00", "updated_at": "2023-08-19T21:33:40+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [push, pull_request]\ndefaults:\n  run:\n    shell: bash\nenv:\n  _PEX_TEST_DEV_ROOT: ${{ github.workspace }}/.pex_dev\n  _PEX_TEST_POS_ARGS: \"--color --devpi --devpi-timeout 15.0 --shutdown-devpi -vvs\"\n  # We use this to skip exposing same-versioned Pythons present on Linux hosts. These otherwise can\n  # collide when attempting to load libpython<major>.<minor><flags>.so and lead to mysterious errors\n  # importing builtins like `fcntl` as outlined in https://github.com/pantsbuild/pex/issues/1391.\n  _PEX_TEST_PYENV_VERSIONS: \"2.7 3.7 3.10\"\n  _PEX_PEXPECT_TIMEOUT: 10\nconcurrency:\n  group: CI-${{ github.ref }}\n  # Queue on all branches and tags, but only cancel overlapping PR burns.\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/') }}\njobs:\n  org-check:\n    name: Check GitHub Organization\n    if: github.repository_owner == 'pantsbuild'\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Noop\n        run: \"true\"\n  checks:\n    name:  tox -e format-check,lint-check,typecheck,vendor-check,package\n    needs: org-check\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout Pex\n        uses: actions/checkout@v3\n        with:\n          # We need branches and tags since package leans on `git describe`. Passing 0 gets us\n          # complete history.\n          fetch-depth: 0\n      - name: Setup Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          # We need to keep Python 3.8 for consistent vendoring with tox.\n          python-version: \"3.8\"\n      - name: Check Formatting, Lints, Types, Vendoring and Packaging\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          tox-env: format-check,lint-check,typecheck,vendor-check,package -- --additional-format sdist --additional-format wheel\n  # N.B.: The name of this job key (linux-tests) is depended on by scrips/build_cache_image.py. In\n  # particular, the tox-env matrix list is used to ensure the cache covers all Linux CI jobs.\n  linux-tests:\n    name: ./dtox.sh -e ${{ matrix.tox-env }}\n    needs: org-check\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        tox-env:\n          - py27-pip20\n          # N.B.: Although we support Python 3.5 with a published universal wheel, Pex does not\n          # build under Python 3.5 or 3.6; so we skip to Python 3.7 for tests which must be able to\n          # build a Pex distribution both as part of the tox setup and in many test cases as well.\n          - py37-pip20\n          - py311-pip20\n          - py311-pip22_3_1\n          - py311-pip23_1_2\n          - py312-pip24_0\n          - py313-pip24_0_patched\n          - pypy310-pip20\n          - pypy310-pip22_3_1\n          - pypy310-pip23_1_2\n          - py27-pip20-integration\n          - py37-pip22_3_1-integration\n          - py37-pip23_1_2-integration\n          - py311-pip20-integration\n          - py311-pip22_3_1-integration\n          - py311-pip23_1_2-integration\n          - py312-pip24_0-integration\n          - py313-pip24_0_patched-integration\n          - pypy310-pip20-integration\n          - pypy310-pip22_3_1-integration\n          - pypy310-pip23_1_2-integration\n    steps:\n      - name: Free Up Disk Space\n        uses: jlumbroso/free-disk-space@v1.3.1\n        with:\n          android: true # ~14GB\n          dotnet: true # ~2GB\n          tool-cache: true # ~12GB\n\n          # Too little space savings or too slow.\n          haskell: false\n          large-packages: false\n          docker-images: false\n          swap-storage: false\n      - name: Checkout Pex\n        uses: actions/checkout@v3\n        with:\n          # We need branches and tags for some ITs.\n          fetch-depth: 0\n      # Some ITs need this for VCS URLs of the form git+ssh://git@github.com/...\n      - name: Setup SSH Agent\n        uses: webfactory/ssh-agent@v0.5.4\n        env:\n          SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}\n        if: env.SSH_PRIVATE_KEY != ''\n        with:\n          ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}\n      - name: Run Tests\n        run: |\n          # This is needed to get pexpect tests working under PyPy running under docker.\n          export TERM=\"xterm\"\n          BASE_MODE=pull CACHE_MODE=pull \\\n            ./dtox.sh -e ${{ matrix.tox-env }} -- ${{ env._PEX_TEST_POS_ARGS }}\n  mac-tests:\n    name: tox -e ${{ matrix.tox-env }}\n    needs: org-check\n    runs-on: macos-12\n    strategy:\n      matrix:\n        include:\n          - python-version: [ 3, 12 ]\n            tox-env: py312-pip24_0\n            tox-env-python: python3.11\n          - python-version: [ 3, 12 ]\n            tox-env: py312-pip24_0-integration\n            tox-env-python: python3.11\n    steps:\n      - name: Calculate Pythons to Expose\n        id: calculate-pythons-to-expose\n        run: |\n          skip=\"\"\n          if [[ \"$(uname -s)\" == \"Linux\" ]]; then\n            skip=\"${{ env._PEX_TEST_PYENV_VERSIONS }}\"\n          fi\n          echo \"skip=${skip}\" >> $GITHUB_OUTPUT\n      - name: Checkout Pex\n        uses: actions/checkout@v3\n        with:\n          # We need branches and tags for some ITs.\n          fetch-depth: 0\n          path: repo\n      - name: Setup Python ${{ join(matrix.python-version, '.') }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"${{ join(matrix.python-version, '.') }}\"\n      - name: Expose Pythons\n        uses: pantsbuild/actions/expose-pythons@e63d2d0e3c339bdffbe5e51e7c39550e3bc527bb\n        with:\n          skip: \"${{ steps.calculate-pythons-to-expose.outputs.skip }}\"\n      - name: Restore Cached Pyenv Interpreters\n        id: restore-pyenv-interpreters\n        uses: actions/cache/restore@v3\n        with:\n          path: ${{ env._PEX_TEST_DEV_ROOT }}/pyenv\n          key: macos-12-${{ runner.arch }}-pex-test-dev-root-pyenv-v1\n      - name: Restore Cached Devpi Server\n        id: restore-devpi-server\n        uses: actions/cache/restore@v3\n        with:\n          path: ${{ env._PEX_TEST_DEV_ROOT }}/devpi\n          # We're using a key suffix / restore-keys prefix trick here to get an updatable cache.\n          # See: https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache\n          key: macos-12-${{ runner.arch }}-${{ matrix.tox-env }}-pex-test-dev-root-devpi-v1-${{ github.run_id }}\n          restore-keys: macos-12-${{ runner.arch }}-${{ matrix.tox-env }}-pex-test-dev-root-devpi-v1\n      # Some ITs need this for VCS URLs of the form git+ssh://git@github.com/...\n      - name: Setup SSH Agent\n        uses: webfactory/ssh-agent@v0.5.4\n        env:\n          SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}\n        if: env.SSH_PRIVATE_KEY != ''\n        with:\n          ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}\n      - name: Run Tests\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          path: repo/tox.ini\n          python: ${{ matrix.tox-env-python }}\n          tox-env: ${{ matrix.tox-env }} -- ${{ env._PEX_TEST_POS_ARGS }}\n      - name: Cache Pyenv Interpreters\n        uses: actions/cache/save@v3\n        if: github.ref == 'refs/heads/main'\n        with:\n          path: ${{ env._PEX_TEST_DEV_ROOT }}/pyenv\n          key: ${{ steps.restore-pyenv-interpreters.outputs.cache-primary-key }}\n      - name: Cache Devpi Server\n        uses: actions/cache/save@v3\n        if: github.ref == 'refs/heads/main'\n        with:\n          path: ${{ env._PEX_TEST_DEV_ROOT }}/devpi\n          key: ${{ steps.restore-devpi-server.outputs.cache-primary-key }}\n  final-status:\n    name: Gather Final Status\n    needs:\n      - checks\n      - linux-tests\n      - mac-tests\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Check Non-Success\n        if: |\n          contains(needs.*.result, 'cancelled') ||\n          contains(needs.*.result, 'failure') ||\n          contains(needs.*.result, 'skipped')\n        run: \"false\"\n      - name: Success\n        run: \"true\"\n", "state": "active", "repository": "pantsbuild/pex"}
{"mined_at": "2024-07-15T14:16:24.737149", "created_at": "2024-02-14T06:24:18+01:00", "updated_at": "2024-02-14T06:24:18+01:00", "name": "Deploy Doc Site", "path": ".github/workflows/doc-site.yml", "contents": null, "state": "active", "repository": "pantsbuild/pex"}
{"mined_at": "2024-07-15T14:16:25.995587", "created_at": "2021-02-04T21:47:28+01:00", "updated_at": "2021-04-27T09:56:03+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  push:\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]+\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: The tag to manually run a deploy for.\n        required: true\njobs:\n  org-check:\n    name: Check GitHub Organization\n    if: ${{ github.repository_owner == 'pantsbuild' }}\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Noop\n        run: \"true\"\n  determine-tag:\n    name: Determine the release tag to operate against.\n    needs: org-check\n    runs-on: ubuntu-22.04\n    outputs:\n      release-tag: ${{ steps.determine-tag.outputs.release-tag }}\n      release-version: ${{ steps.determine-tag.outputs.release-version }}\n    steps:\n      - name: Determine Tag\n        id: determine-tag\n        run: |\n          if [[ -n \"${{ github.event.inputs.tag }}\" ]]; then\n            RELEASE_TAG=${{ github.event.inputs.tag }}\n          else\n            RELEASE_TAG=${GITHUB_REF#refs/tags/}\n          fi\n          if [[ \"${RELEASE_TAG}\" =~ ^v[0-9]+.[0-9]+.[0-9]+$ ]]; then\n            echo \"release-tag=${RELEASE_TAG}\" >> $GITHUB_OUTPUT\n            echo \"release-version=${RELEASE_TAG#v}\" >> $GITHUB_OUTPUT\n          else\n            echo \"::error::Release tag '${RELEASE_TAG}' must match 'v\\d+.\\d+.\\d+'.\"\n            exit 1\n          fi\n  pypi:\n    name: Publish sdist and wheel to PyPI\n    needs: determine-tag\n    runs-on: ubuntu-22.04\n    environment: Release\n    permissions:\n      id-token: write\n    steps:\n      - name: Checkout Pex ${{ needs.determine-tag.outputs.release-tag }}\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ needs.determine-tag.outputs.release-tag }}\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - name: Build sdist and wheel\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          tox-env: package -- --no-pex --additional-format sdist --additional-format wheel\n      - name: Publish Pex ${{ needs.determine-tag.outputs.release-tag }}\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          print-hash: true\n          verbose: true\n  github-release:\n    name: Create Github Release\n    needs: determine-tag\n    runs-on: ubuntu-22.04\n    environment: Release\n    steps:\n      - name: Checkout Pex ${{ needs.determine-tag.outputs.release-tag }}\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ needs.determine-tag.outputs.release-tag }}\n          # This ensures we get all branches and tags which is needed for `tox -e package`.\n          fetch-depth: 0\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - name: Package Pex ${{ needs.determine-tag.outputs.release-tag }} PEX\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          tox-env: package\n      - name: Prepare Changelog\n        id: prepare-changelog\n        uses: a-scie/actions/changelog@v1.5\n        with:\n          changelog-file: ${{ github.workspace }}/CHANGES.md\n          version: ${{ needs.determine-tag.outputs.release-version }}\n      - name: Create ${{ needs.determine-tag.outputs.release-tag }} Release\n        uses: softprops/action-gh-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ needs.determine-tag.outputs.release-tag }}\n          name: pex ${{ needs.determine-tag.outputs.release-version }}\n          body_path: ${{ steps.prepare-changelog.outputs.changelog-file }}\n          draft: false\n          prerelease: false\n          files: dist/pex\n          fail_on_unmatched_files: true\n          discussion_category_name: Announcements\n  announce-release:\n    name: Announce Release\n    needs:\n      - determine-tag\n      - pypi\n      - github-release\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Post Release Announcement to Pants Slack `#announce`\n        id: slack\n        uses: slackapi/slack-github-action@v1.23.0\n        with:\n          channel-id: \"C18RRR4JK\"\n          # N.B.: You can muck with the JSON blob and see the results rendered here:\n          #  https://app.slack.com/block-kit-builder\n          payload: |\n            {\n              \"blocks\": [\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"Pex ${{ needs.determine-tag.outputs.release-version }} is released:\\n* https://pypi.org/project/pex/${{ needs.determine-tag.outputs.release-version }}/\\n* https://github.com/pantsbuild/pex/releases/tag/${{ needs.determine-tag.outputs.release-tag }}\"\n                  }\n                }\n              ]\n            }\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n", "state": "active", "repository": "pantsbuild/pex"}
{"mined_at": "2024-07-15T14:16:28.297651", "created_at": "2022-04-05T11:55:16+02:00", "updated_at": "2023-12-14T11:36:35+01:00", "name": "packages", "path": ".github/workflows/build.yaml", "contents": "name: packages\non:\n  push:\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+a[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+b[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+rc[0-9]+\"\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 14 * * SUN\"\n\ndefaults:\n  run:\n    shell: bash -el {0}\n\nenv:\n  PYTHON_VERSION: \"3.11\"\n  PACKAGE: \"holoviews\"\n\njobs:\n  waiting_room:\n    name: Waiting Room\n    runs-on: ubuntu-latest\n    needs: [conda_build, pip_install]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    environment:\n      name: publish\n    steps:\n      - run: echo \"All builds have finished, have been approved, and ready to publish\"\n\n  pixi_lock:\n    name: Pixi lock\n    runs-on: ubuntu-latest\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi\n\n  conda_build:\n    name: Build Conda\n    needs: [pixi_lock]\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        with:\n          environments: \"build\"\n          download-data: false\n          install: false\n      - name: conda build\n        run: pixi run -e build build-conda\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: conda\n          path: dist/*.conda\n          if-no-files-found: error\n\n  conda_publish:\n    name: Publish Conda\n    runs-on: ubuntu-latest\n    needs: [conda_build, waiting_room]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: conda\n          path: dist/\n      - name: Set environment variables\n        run: |\n          echo \"TAG=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n          echo \"CONDA_FILE=$(ls dist/*.conda)\" >> $GITHUB_ENV\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniconda-version: \"latest\"\n      - name: conda setup\n        run: |\n          conda install -y anaconda-client\n      - name: conda dev upload\n        if: contains(env.TAG, 'a') || contains(env.TAG, 'b') || contains(env.TAG, 'rc')\n        run: |\n          anaconda --token ${{ secrets.CONDA_UPLOAD_TOKEN }} upload --user pyviz --label=dev $CONDA_FILE\n      - name: conda main upload\n        if: (!(contains(env.TAG, 'a') || contains(env.TAG, 'b') || contains(env.TAG, 'rc')))\n        run: |\n          anaconda --token ${{ secrets.CONDA_UPLOAD_TOKEN }} upload --user pyviz --label=dev --label=main $CONDA_FILE\n\n  pip_build:\n    name: Build PyPI\n    needs: [pixi_lock]\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        with:\n          environments: \"build\"\n          download-data: false\n          install: false\n      - name: Build package\n        run: pixi run -e build build-pip\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: pip\n          path: dist/\n          if-no-files-found: error\n\n  pip_install:\n    name: Install PyPI\n    runs-on: \"ubuntu-latest\"\n    needs: [pip_build]\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - uses: actions/download-artifact@v4\n        with:\n          name: pip\n          path: dist/\n      - name: Install package\n        run: python -m pip install dist/*.whl\n      - name: Import package\n        run: python -c \"import $PACKAGE; print($PACKAGE.__version__)\"\n      - name: Install test dependencies\n        run: python -m pip install \"$(ls dist/*whl)[tests]\"\n      - name: Test package\n        run: python -m pytest --pyargs $PACKAGE --color=yes\n\n  pip_publish:\n    name: Publish PyPI\n    runs-on: ubuntu-latest\n    needs: [pip_build, waiting_room]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: pip\n          path: dist/\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: ${{ secrets.PPU }}\n          password: ${{ secrets.PPP }}\n          repository-url: \"https://upload.pypi.org/legacy/\"\n", "state": "active", "repository": "holoviz/holoviews"}
{"mined_at": "2024-07-15T14:16:29.443177", "created_at": "2022-04-05T11:55:16+02:00", "updated_at": "2022-04-05T11:55:16+02:00", "name": "docs", "path": ".github/workflows/docs.yaml", "contents": "name: docs\non:\n  push:\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+a[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+b[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+rc[0-9]+\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"Site to build and deploy, or dry-run\"\n        type: choice\n        options:\n          - dev\n          - main\n          - dryrun\n        required: true\n        default: dryrun\n  schedule:\n    - cron: \"0 14 * * SUN\"\n\ndefaults:\n  run:\n    shell: bash -el {0}\n\njobs:\n  pixi_lock:\n    name: Pixi lock\n    runs-on: ubuntu-latest\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi\n\n  docs_build:\n    name: Build Documentation\n    needs: [pixi_lock]\n    runs-on: \"macos-latest\"\n    timeout-minutes: 180\n    outputs:\n      tag: ${{ steps.vars.outputs.tag }}\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        with:\n          environments: docs\n      - name: Build documentation\n        run: pixi run -e docs docs-build\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: docs\n          if-no-files-found: error\n          path: builtdocs\n      - name: Set output\n        id: vars\n        run: echo \"tag=${GITHUB_REF#refs/*/}\" >> $GITHUB_OUTPUT\n\n  docs_publish:\n    name: Publish Documentation\n    runs-on: \"ubuntu-latest\"\n    needs: [docs_build]\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: docs\n          path: builtdocs/\n      - name: Set output\n        id: vars\n        run: echo \"tag=${{ needs.docs_build.outputs.tag }}\" >> $GITHUB_OUTPUT\n      - name: upload dev\n        if: |\n          (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'dev') ||\n          (github.event_name == 'push' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))\n        run: |\n          aws s3 sync --quiet ./builtdocs s3://dev.holoviews.org/\n      - name: upload main\n        if: |\n          (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||\n          (github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))\n        run: |\n          aws s3 sync --quiet ./builtdocs s3://holoviews.org/\n", "state": "active", "repository": "holoviz/holoviews"}
{"mined_at": "2024-07-15T14:16:30.651121", "created_at": "2022-04-12T00:39:06+02:00", "updated_at": "2022-04-12T00:39:06+02:00", "name": "downstream_tests", "path": ".github/workflows/downstream_tests.yaml", "contents": "name: downstream_tests\n\non:\n  # Run this workflow after the build workflow has completed.\n  workflow_run:\n    workflows: [packages]\n    types: [completed]\n  # Or by triggering it manually via Github's UI\n  workflow_dispatch:\n    inputs:\n      manual:\n        description: don't change me!\n        type: boolean\n        required: true\n        default: true\n\njobs:\n  downstream_tests:\n    uses: holoviz-dev/holoviz_tasks/.github/workflows/run_downstream_tests.yaml@main\n    with:\n      downstream_repos_as_json: '{\"downstream_repo\":[\"hvplot\", \"geoviews\"]}'\n    secrets:\n      ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}\n", "state": "active", "repository": "holoviz/holoviews"}
{"mined_at": "2024-07-15T14:16:31.773200", "created_at": "2023-11-23T08:47:36+01:00", "updated_at": "2023-11-23T09:03:24+01:00", "name": "labels", "path": ".github/workflows/labels.yml", "contents": "name: labels\non:\n  pull_request:\n    types: [opened, labeled, unlabeled, synchronize]\njobs:\n  label:\n    name: Pull Request Labels\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: mheap/github-action-required-labels@v5\n        with:\n          mode: exactly\n          count: 1\n          labels: \"type: bug, type: enhancement, type: feature, type: docs, type: maintenance, type: compatibility\"\n", "state": "active", "repository": "holoviz/holoviews"}
{"mined_at": "2024-07-15T14:16:32.884160", "created_at": "2024-04-19T17:29:50+02:00", "updated_at": "2024-04-19T17:29:50+02:00", "name": "nightly_lock", "path": ".github/workflows/nightly_lock.yaml", "contents": "name: nightly_lock\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nenv:\n  PACKAGE: \"holoviews\"\n\njobs:\n  pixi_lock:\n    name: Pixi lock\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi\n      - name: Upload lock-file to S3\n        if: \"!github.event.pull_request.head.repo.fork\"\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: \"eu-west-1\"\n        run: |\n          zip $(date +%Y-%m-%d).zip pixi.lock pixi.toml\n          aws s3 cp ./$(date +%Y-%m-%d).zip s3://assets.holoviz.org/lock/$PACKAGE/\n", "state": "active", "repository": "holoviz/holoviews"}
{"mined_at": "2024-07-15T14:16:34.235577", "created_at": "2022-04-05T10:43:00+02:00", "updated_at": "2024-04-11T14:29:50+02:00", "name": "tests", "path": ".github/workflows/test.yaml", "contents": "name: tests\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - \"*\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"How much of the test suite to run\"\n        type: choice\n        default: default\n        options:\n          - default\n          - full\n          - downstream\n      cache:\n        description: \"Use cache\"\n        type: boolean\n        default: true\n\n  schedule:\n    - cron: \"0 14 * * SUN\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash -el {0}\n\nenv:\n  DISPLAY: \":99.0\"\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  COV: \"--cov=./holoviews --cov-report=xml\"\n\njobs:\n  pre_commit:\n    name: Run pre-commit\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pre-commit@v0\n\n  setup:\n    name: Setup workflow\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n    outputs:\n      code_change: ${{ steps.filter.outputs.code }}\n      matrix: ${{ env.MATRIX }}\n    steps:\n      - uses: actions/checkout@v4\n        if: github.event_name != 'pull_request'\n      - name: Check for code changes\n        uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            code:\n              - 'holoviews/**'\n              - 'examples/**'\n              - 'pixi.toml'\n              - 'pyproject.toml'\n              - '.github/workflows/test.yaml'\n      - name: Set matrix option\n        run: |\n          if [[ '${{ github.event_name }}' == 'workflow_dispatch' ]]; then\n            OPTION=${{ github.event.inputs.target }}\n          elif [[ '${{ github.event_name }}' == 'schedule' ]]; then\n            OPTION=\"full\"\n          elif [[ '${{ github.event_name }}' == 'push' && '${{ github.ref_type }}' == 'tag' ]]; then\n            OPTION=\"full\"\n          else\n            OPTION=\"default\"\n          fi\n          echo \"MATRIX_OPTION=$OPTION\" >> $GITHUB_ENV\n      - name: Set test matrix with 'default' option\n        if: env.MATRIX_OPTION == 'default'\n        run: |\n          MATRIX=$(jq -nsc '{\n              \"os\": [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"],\n              \"environment\": [\"test-39\", \"test-312\"],\n              \"include\": [\n                { \"os\": \"ubuntu-latest\", \"environment\": \"test-numpy\" }\n              ]\n          }')\n          echo \"MATRIX=$MATRIX\" >> $GITHUB_ENV\n      - name: Set test matrix with 'full' option\n        if: env.MATRIX_OPTION == 'full'\n        run: |\n          MATRIX=$(jq -nsc '{\n              \"os\": [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"],\n              \"environment\": [\"test-39\", \"test-310\", \"test-311\", \"test-312\"],\n              \"include\": [\n                { \"os\": \"ubuntu-latest\", \"environment\": \"test-numpy\" }\n              ]\n          }')\n          echo \"MATRIX=$MATRIX\" >> $GITHUB_ENV\n      - name: Set test matrix with 'downstream' option\n        if: env.MATRIX_OPTION == 'downstream'\n        run: |\n          MATRIX=$(jq -nsc '{\n              \"os\": [\"ubuntu-latest\"],\n              \"environment\": [\"test-311\"]\n          }')\n          echo \"MATRIX=$MATRIX\" >> $GITHUB_ENV\n\n  pixi_lock:\n    name: Pixi lock\n    runs-on: ubuntu-latest\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi\n        with:\n          cache: ${{ github.event.inputs.cache == 'true' || github.event.inputs.cache == '' }}\n\n  unit_test_suite:\n    name: unit:${{ matrix.environment }}:${{ matrix.os }}\n    needs: [pre_commit, setup, pixi_lock]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.setup.outputs.matrix) }}\n    timeout-minutes: 120\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        if: needs.setup.outputs.code_change == 'true'\n        with:\n          environments: ${{ matrix.environment }}\n      - name: Check packages latest version\n        if: needs.setup.outputs.code_change == 'true'\n        run: |\n          pixi run -e ${{ matrix.environment }} check-latest-packages bokeh panel param datashader\n      - name: Test Unit\n        if: needs.setup.outputs.code_change == 'true'\n        run: |\n          pixi run -e ${{ matrix.environment }} test-unit $COV\n      - name: Test Examples\n        if: needs.setup.outputs.code_change == 'true'\n        run: |\n          pixi run -e ${{ matrix.environment }} test-example\n      - uses: codecov/codecov-action@v4\n        if: needs.setup.outputs.code_change == 'true'\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  ui_test_suite:\n    name: ui:${{ matrix.environment }}:${{ matrix.os }}\n    needs: [pre_commit, setup, pixi_lock]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        environment: [\"test-ui\"]\n    timeout-minutes: 60\n    env:\n      PANEL_LOG_LEVEL: info\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        if: needs.setup.outputs.code_change == 'true'\n        with:\n          environments: ${{ matrix.environment }}\n      - name: Test UI\n        if: needs.setup.outputs.code_change == 'true'\n        run: |\n          # Create a .uicoveragerc file to set the concurrency library to greenlet\n          # https://github.com/microsoft/playwright-python/issues/313\n          echo \"[run]\\nconcurrency = greenlet\" > .uicoveragerc\n          FAIL=\"--screenshot only-on-failure --full-page-screenshot --output ui_screenshots --tracing retain-on-failure\"\n          pixi run -e ${{ matrix.environment }} test-ui $COV --cov-config=.uicoveragerc $FAIL\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: ui_screenshots_${{ runner.os }}\n          path: ./ui_screenshots\n          if-no-files-found: ignore\n      - uses: codecov/codecov-action@v4\n        if: needs.setup.outputs.code_change == 'true'\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  core_test_suite:\n    name: core:${{ matrix.environment }}:${{ matrix.os }}\n    needs: [pre_commit, setup, pixi_lock]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        environment: [\"test-core\"]\n    timeout-minutes: 120\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        if: needs.setup.outputs.code_change == 'true'\n        with:\n          environments: ${{ matrix.environment }}\n      - name: Check packages latest version\n        if: needs.setup.outputs.code_change == 'true'\n        run: |\n          pixi run -e ${{ matrix.environment }} check-latest-packages numpy pandas bokeh panel param\n      - name: Test Unit\n        if: needs.setup.outputs.code_change == 'true'\n        run: |\n          pixi run -e ${{ matrix.environment }} test-unit\n", "state": "active", "repository": "holoviz/holoviews"}
{"mined_at": "2024-07-15T14:16:36.370300", "created_at": "2023-08-09T23:58:03+02:00", "updated_at": "2023-08-09T23:58:03+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "kaggle/docker-python"}
{"mined_at": "2024-07-15T14:16:38.504520", "created_at": "2020-09-17T00:57:55+02:00", "updated_at": "2021-12-22T17:11:00+01:00", "name": "Assign Issue", "path": ".github/workflows/assign.yml", "contents": "name: Assign Issue\npermissions:\n  issues: write\non:\n  issue_comment:\n    types:\n      - created\njobs:\n  assign_issue:\n    runs-on: ubuntu-latest\n    if: github.event.comment.body == '/take'\n    steps:\n      - uses: pozil/auto-assign-issue@v2.0.0\n        with:\n          assignees: ${{ github.event.comment.user.login }}\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:39.562318", "created_at": "2021-11-03T21:19:57+01:00", "updated_at": "2024-02-06T01:01:52+01:00", "name": "Backends", "path": ".github/workflows/ibis-backends.yml", "contents": "name: Backends\n\non:\n  push:\n    # Skip the backend suite if all changes are docs\n    paths-ignore:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \"codecov.yml\"\n      - \".envrc\"\n      - \".codespellrc\"\n    branches:\n      - main\n      - \"*.x.x\"\n  pull_request:\n    # Skip the backend suite if all changes are docs\n    paths-ignore:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \"codecov.yml\"\n      - \".envrc\"\n      - \".codespellrc\"\n    branches:\n      - main\n      - \"*.x.x\"\n  merge_group:\n\npermissions:\n  # this allows extractions/setup-just to list releases for `just` at a higher\n  # rate limit while restricting GITHUB_TOKEN permissions elsewhere\n  contents: read\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: \"1\"\n  ODBCSYSINI: \"${{ github.workspace }}/ci/odbc\"\n  HYPOTHESIS_PROFILE: \"ci\"\n\njobs:\n  test_bigquery_lite:\n    name: BigQuery ${{ matrix.os }} python-${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - windows-latest\n        python-version:\n          - \"3.10\"\n          - \"3.12\"\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: install python\n        uses: actions/setup-python@v5\n        id: install_python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install poetry\n        run: pip install 'poetry==1.8.3'\n\n      - name: install ibis\n        run: poetry install --without dev --without docs --extras bigquery\n\n      - uses: extractions/setup-just@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: run simple bigquery unit tests\n        run: just ci-check ibis/backends/bigquery/tests/unit\n\n      - name: upload code coverage\n        if: success()\n        continue-on-error: true\n        uses: codecov/codecov-action@v4\n        with:\n          flags: backend,bigquery,${{ runner.os }},python-${{ steps.install_python.outputs.python-version }}\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  test_backends:\n    name: ${{ matrix.backend.title }} ${{ matrix.os }} python-${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - windows-latest\n        python-version:\n          - \"3.10\"\n          - \"3.12\"\n        backend:\n          - name: duckdb\n            title: DuckDB\n            serial: true\n            extras:\n              - duckdb\n              - deltalake\n              - geospatial\n              - examples\n              - decompiler\n              - polars\n            additional_deps:\n              - torch\n          - name: clickhouse\n            title: ClickHouse\n            services:\n              - clickhouse\n            extras:\n              - clickhouse\n              - examples\n          - name: pandas\n            title: Pandas\n            extras:\n              - pandas\n          - name: sqlite\n            title: SQLite\n            extras:\n              - sqlite\n          - name: datafusion\n            title: Datafusion\n            extras:\n              - datafusion\n          - name: polars\n            title: Polars\n            extras:\n              - polars\n              - deltalake\n          - name: mysql\n            title: MySQL\n            services:\n              - mysql\n            extras:\n              - mysql\n              - geospatial\n              - polars\n            sys-deps:\n              - libgeos-dev\n          - name: postgres\n            title: PostgreSQL\n            extras:\n              - postgres\n              - geospatial\n            services:\n              - postgres\n            sys-deps:\n              - libgeos-dev\n          - name: postgres\n            title: PostgreSQL + Torch\n            extras:\n              - postgres\n              - geospatial\n              - polars\n            additional_deps:\n              - torch\n            services:\n              - postgres\n            sys-deps:\n              - libgeos-dev\n          - name: risingwave\n            title: Risingwave\n            serial: true\n            services:\n              - risingwave\n            extras:\n              - risingwave\n          - name: impala\n            title: Impala\n            serial: true\n            extras:\n              - impala\n            services:\n              - impala\n              - kudu\n            sys-deps:\n              - cmake\n              - ninja-build\n          - name: mssql\n            title: MS SQL Server\n            extras:\n              - mssql\n              - polars\n            services:\n              - mssql\n            sys-deps:\n              - freetds-dev\n              - unixodbc-dev\n              - tdsodbc\n          - name: trino\n            title: Trino\n            extras:\n              - trino\n            services:\n              - trino\n          - name: druid\n            title: Druid\n            extras:\n              - druid\n            services:\n              - druid\n          - name: exasol\n            title: Exasol\n            serial: true\n            extras:\n              - exasol\n            services:\n              - exasol\n          - name: oracle\n            title: Oracle\n            serial: true\n            extras:\n              - oracle\n              - polars\n            services:\n              - oracle\n          - name: flink\n            title: Flink\n            serial: true\n            extras:\n              - flink\n            additional_deps:\n              - \"'apache-flink < 1.20.0'\"\n              - \"'pandas < 2.2'\"\n              - setuptools\n            services:\n              - flink\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.11.8\"\n            backend:\n              name: dask\n              title: Dask\n              extras:\n                - dask\n          - os: ubuntu-latest\n            python-version: \"3.11\"\n            backend:\n              name: flink\n              title: Flink\n              serial: true\n              extras:\n                - flink\n              additional_deps:\n                - \"'apache-flink < 1.20.0'\"\n                - \"'pandas < 2.2'\"\n                - setuptools\n              services:\n                - flink\n          - os: ubuntu-latest\n            python-version: \"3.11\"\n            backend:\n              name: impala\n              title: Impala\n              serial: true\n              extras:\n                - impala\n              services:\n                - impala\n                - kudu\n              sys-deps:\n                - cmake\n                - ninja-build\n        exclude:\n          - os: windows-latest\n            backend:\n              name: mysql\n              title: MySQL\n              extras:\n                - mysql\n                - geospatial\n                - polars\n              services:\n                - mysql\n              sys-deps:\n                - libgeos-dev\n          - os: windows-latest\n            backend:\n              name: clickhouse\n              title: ClickHouse\n              extras:\n                - clickhouse\n                - examples\n              services:\n                - clickhouse\n          - os: windows-latest\n            backend:\n              name: postgres\n              title: PostgreSQL\n              extras:\n                - postgres\n                - geospatial\n              services:\n                - postgres\n              sys-deps:\n                - libgeos-dev\n          - os: windows-latest\n            backend:\n              name: risingwave\n              title: Risingwave\n              serial: true\n              services:\n                - risingwave\n              extras:\n                - risingwave\n          - os: windows-latest\n            backend:\n              name: postgres\n              title: PostgreSQL + Torch\n              extras:\n                - postgres\n                - geospatial\n                - polars\n              additional_deps:\n                - torch\n              services:\n                - postgres\n              sys-deps:\n                - libgeos-dev\n          # TODO(deepyaman): Test whether this works upon releasing https://github.com/cloudera/impyla/commit/bf1f94c3c4106ded6267d2485c1e939775a6a87f\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            backend:\n              name: impala\n              title: Impala\n              serial: true\n              extras:\n                - impala\n              services:\n                - impala\n                - kudu\n              sys-deps:\n                - cmake\n                - ninja-build\n          - os: windows-latest\n            backend:\n              name: impala\n              title: Impala\n              serial: true\n              extras:\n                - impala\n              services:\n                - impala\n                - kudu\n              sys-deps:\n                - cmake\n                - ninja-build\n          - os: windows-latest\n            backend:\n              name: mssql\n              title: MS SQL Server\n              extras:\n                - mssql\n                - polars\n              services:\n                - mssql\n              sys-deps:\n                - freetds-dev\n                - unixodbc-dev\n                - tdsodbc\n          - os: windows-latest\n            backend:\n              name: trino\n              title: Trino\n              services:\n                - trino\n              extras:\n                - trino\n          - os: windows-latest\n            backend:\n              name: druid\n              title: Druid\n              extras:\n                - druid\n              services:\n                - druid\n          - os: windows-latest\n            backend:\n              name: oracle\n              title: Oracle\n              serial: true\n              extras:\n                - oracle\n                - polars\n              services:\n                - oracle\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            backend:\n              name: flink\n              title: Flink\n              serial: true\n              extras:\n                - flink\n              additional_deps:\n                - \"'apache-flink < 1.20.0'\"\n                - \"'pandas < 2.2'\"\n                - setuptools\n              services:\n                - flink\n          - os: windows-latest\n            backend:\n              name: flink\n              title: Flink\n              serial: true\n              extras:\n                - flink\n              additional_deps:\n                - \"'apache-flink < 1.20.0'\"\n                - \"'pandas < 2.2'\"\n                - setuptools\n              services:\n                - flink\n          - os: windows-latest\n            backend:\n              name: exasol\n              title: Exasol\n              serial: true\n              extras:\n                - exasol\n              services:\n                - exasol\n    steps:\n      - name: update and install system dependencies\n        if: matrix.os == 'ubuntu-latest' && matrix.backend.sys-deps != null\n        run: |\n          set -euo pipefail\n\n          sudo apt-get update -qq -y\n          sudo apt-get install -qq -y build-essential ${{ join(matrix.backend.sys-deps, ' ') }}\n\n      - name: install sqlite\n        if: matrix.os == 'windows-latest' && matrix.backend.name == 'sqlite'\n        run: choco install sqlite\n\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - uses: extractions/setup-just@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: download backend data\n        run: just download-data\n\n      - name: show docker compose version\n        if: matrix.backend.services != null\n        run: docker compose version\n\n      - name: start services\n        if: matrix.backend.services != null\n        run: docker compose up --wait ${{ join(matrix.backend.services, ' ') }}\n\n      - name: install python\n        uses: actions/setup-python@v5\n        id: install_python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install poetry\n        run: pip install 'poetry==1.8.3'\n\n      - name: install ibis\n        run: poetry install --without dev --without docs --extras \"${{ join(matrix.backend.extras, ' ') }}\"\n\n      - name: install deps for broken avro-python setup\n        if: matrix.backend.name == 'flink'\n        run: poetry run pip install wheel\n\n      - name: install other deps\n        if: matrix.backend.additional_deps != null\n        run: poetry run pip install ${{ join(matrix.backend.additional_deps, ' ') }}\n\n      - name: show installed deps\n        run: poetry run pip list\n\n      - name: \"run parallel tests: ${{ matrix.backend.name }}\"\n        if: ${{ !matrix.backend.serial }}\n        run: just ci-check -m ${{ matrix.backend.name }} --numprocesses auto --dist=loadgroup\n        env:\n          IBIS_TEST_IMPALA_HOST: localhost\n          IBIS_TEST_IMPALA_PORT: 21050\n          IBIS_EXAMPLES_DATA: ${{ runner.temp }}/examples-${{ matrix.backend.name }}-${{ matrix.os }}-${{ steps.install_python.outputs.python-version }}\n\n      - name: \"run serial tests: ${{ matrix.backend.name }}\"\n        if: matrix.backend.serial\n        run: just ci-check -m ${{ matrix.backend.name }}\n        env:\n          FLINK_REMOTE_CLUSTER_ADDR: localhost\n          FLINK_REMOTE_CLUSTER_PORT: \"8081\"\n          IBIS_EXAMPLES_DATA: ${{ runner.temp }}/examples-${{ matrix.backend.name }}-${{ matrix.os }}-${{ steps.install_python.outputs.python-version }}\n\n      - name: check that no untracked files were produced\n        shell: bash\n        run: |\n          ! git status --porcelain | tee /dev/stderr | grep .\n\n      - name: upload code coverage\n        if: success()\n        continue-on-error: true\n        uses: codecov/codecov-action@v4\n        with:\n          flags: backend,${{ matrix.backend.name }},${{ runner.os }},python-${{ steps.install_python.outputs.python-version }}\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n      - name: Show docker compose logs on fail\n        if: matrix.backend.services != null && failure()\n        run: docker compose logs\n\n  test_backends_min_version:\n    name: ${{ matrix.backend.title }} Min Version ${{ matrix.os }} python-${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - windows-latest\n        python-version:\n          - \"3.10\"\n          - \"3.12\"\n        backend:\n          - name: dask\n            title: Dask\n            deps:\n              required:\n                - \"numpy@1.23.2\"\n                - \"pyarrow@10.0.1\"\n              optional:\n                - \"dask[array,dataframe]@2022.9.1\"\n                - \"pandas@1.5.3\"\n            extras:\n              - dask\n          - name: postgres\n            title: PostgreSQL\n            deps:\n              required:\n                - \"numpy@1.23.2\"\n                - \"pyarrow@10.0.1\"\n              optional:\n                - \"psycopg2@2.8.4\"\n                - \"geopandas@0.6\"\n                - \"Shapely@2\"\n            services:\n              - postgres\n            extras:\n              - postgres\n              - geospatial\n        exclude:\n          - os: windows-latest\n            backend:\n              name: postgres\n              title: PostgreSQL\n              deps:\n                required:\n                  - \"numpy@1.23.2\"\n                  - \"pyarrow@10.0.1\"\n                optional:\n                  - \"psycopg2@2.8.4\"\n                  - \"geopandas@0.6\"\n                  - \"Shapely@2\"\n              services:\n                - postgres\n              extras:\n                - postgres\n                - geospatial\n          - python-version: \"3.12\"\n            backend:\n              name: postgres\n              title: PostgreSQL\n              deps:\n                required:\n                  - \"numpy@1.23.2\"\n                  - \"pyarrow@10.0.1\"\n                optional:\n                  - \"psycopg2@2.8.4\"\n                  - \"geopandas@0.6\"\n                  - \"Shapely@2\"\n              services:\n                - postgres\n              extras:\n                - postgres\n                - geospatial\n          - python-version: \"3.12\"\n            backend:\n              name: dask\n              title: Dask\n              deps:\n                required:\n                  - \"numpy@1.23.2\"\n                  - \"pyarrow@10.0.1\"\n                optional:\n                  - \"dask[array,dataframe]@2022.9.1\"\n                  - \"pandas@1.5.3\"\n              extras:\n                - dask\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: install libgeos for shapely\n        if: matrix.backend.name == 'postgres'\n        run: |\n          sudo apt-get update -y -qq\n          sudo apt-get install -qq -y build-essential libgeos-dev\n\n      - uses: extractions/setup-just@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: download backend data\n        run: just download-data\n\n      - name: start services\n        if: matrix.backend.services != null\n        run: docker compose up --wait ${{ join(matrix.backend.services, ' ') }}\n\n      - name: install python\n        uses: actions/setup-python@v5\n        id: install_python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install poetry\n        run: python -m pip install --upgrade pip 'poetry==1.8.3'\n\n      - name: remove incompatible deps\n        # it requires a version of pandas that min versions are not compatible with\n        run: poetry remove lonboard deltalake\n\n      - name: install minimum versions of required deps\n        run: poetry add --lock ${{ join(matrix.backend.deps.required, ' ') }} --python=\"==${{ steps.install_python.outputs.python-version }}\"\n\n      - name: install minimum versions of optional deps\n        run: poetry add --lock --optional ${{ join(matrix.backend.deps.optional, ' ') }} --python=\"==${{ steps.install_python.outputs.python-version }}\"\n\n      - name: checkout the lock file\n        run: git checkout poetry.lock\n\n      - name: lock with no updates\n        # poetry add is aggressive and will update other dependencies like\n        # numpy and pandas so we keep the pyproject.toml edits and then relock\n        # without updating anything except the requested versions\n        run: poetry lock --no-update\n\n      - name: install ibis\n        run: poetry install --without dev --without docs --extras \"${{ join(matrix.backend.extras, ' ') }}\"\n\n      - name: run tests\n        run: just ci-check -m ${{ matrix.backend.name }} --numprocesses auto --dist=loadgroup\n\n      - name: check that no untracked files were produced\n        shell: bash\n        run: git checkout poetry.lock pyproject.toml && ! git status --porcelain | tee /dev/stderr | grep .\n\n      - name: upload code coverage\n        if: success()\n        continue-on-error: true\n        uses: codecov/codecov-action@v4\n        with:\n          flags: backend,${{ matrix.backend.name }},${{ runner.os }},python-${{ steps.install_python.outputs.python-version }}\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n      - name: Show docker compose logs on fail\n        if: matrix.backend.services != null && failure()\n        run: docker compose logs\n\n  test_pyspark:\n    name: PySpark ${{ matrix.pyspark-version }} ubuntu-latest python-${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: \"3.10\"\n            pyspark-version: \"3.3\"\n            deps:\n              - \"'pandas@<2'\"\n              - \"'numpy@<1.24'\"\n          - python-version: \"3.11\"\n            pyspark-version: \"3.5\"\n            deps:\n              - \"'pandas@>2'\"\n              - \"'numpy@>1.24'\"\n          - python-version: \"3.12\"\n            pyspark-version: \"3.5\"\n            deps:\n              - \"'pandas@>2'\"\n              - \"'numpy@>1.24'\"\n              - setuptools\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-java@v4\n        with:\n          distribution: microsoft\n          java-version: 17\n\n      - uses: extractions/setup-just@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: download backend data\n        run: just download-data\n\n      - name: install python\n        uses: actions/setup-python@v5\n        id: install_python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install poetry\n        run: python -m pip install --upgrade pip 'poetry==1.8.3'\n\n      - name: remove lonboard\n        # it requires a version of pandas that pyspark is not compatible with\n        run: poetry remove lonboard\n\n      - name: install exact versions of pyspark, pandas and numpy\n        run: poetry add --lock 'pyspark@${{ matrix.pyspark-version }}' ${{ join(matrix.deps, ' ') }}\n\n      - name: checkout the lock file\n        run: git checkout poetry.lock\n\n      - name: lock with no updates\n        # poetry add is aggressive and will update other dependencies like\n        # numpy and pandas so we keep the pyproject.toml edits and then relock\n        # without updating anything except the requested versions\n        run: poetry lock --no-update\n\n      - name: install ibis\n        run: poetry install --without dev --without docs --extras pyspark\n\n      - name: install delta-spark\n        if: matrix.pyspark-version == '3.5'\n        run: poetry run pip install delta-spark\n\n      - name: run tests\n        run: just ci-check -m pyspark\n\n      - name: check that no untracked files were produced\n        shell: bash\n        run: git checkout poetry.lock pyproject.toml && ! git status --porcelain | tee /dev/stderr | grep .\n\n      - name: upload code coverage\n        # only upload coverage for jobs that aren't mostly xfails\n        if: success()\n        continue-on-error: true\n        uses: codecov/codecov-action@v4\n        with:\n          flags: backend,pyspark,${{ runner.os }},python-${{ steps.install_python.outputs.python-version }}\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  backends:\n    # this job exists so that we can use a single job from this workflow to gate merging\n    runs-on: ubuntu-latest\n    needs:\n      - test_backends_min_version\n      - test_backends\n      - test_pyspark\n    steps:\n      - run: exit 0\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:40.674629", "created_at": "2021-11-03T21:19:57+01:00", "updated_at": "2021-11-04T20:52:49+01:00", "name": "Ibis", "path": ".github/workflows/ibis-main.yml", "contents": "name: Ibis\n\non:\n  push:\n    # Skip the test suite if all changes are in the docs directory\n    paths-ignore:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \".envrc\"\n    branches:\n      - main\n      - \"*.x.x\"\n  pull_request:\n    # Skip the test suite if all changes are in the docs directory\n    paths-ignore:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \".envrc\"\n    branches:\n      - main\n      - \"*.x.x\"\n  merge_group:\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: \"1\"\n  SQLALCHEMY_WARN_20: \"1\"\n  HYPOTHESIS_PROFILE: \"ci\"\n\njobs:\n  test_core:\n    name: Test ${{ matrix.os }} python-${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - windows-latest\n        python-version:\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: install python\n        uses: actions/setup-python@v5\n        id: install_python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install poetry\n        run: pip install 'poetry==1.8.3'\n\n      - name: install ${{ matrix.os }} system dependencies\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          set -euo pipefail\n\n          sudo apt-get update -y -qq\n          sudo apt-get install -y -q build-essential graphviz libgeos-dev freetds-dev\n\n      - name: install ${{ matrix.os }} system dependencies\n        if: matrix.os == 'windows-latest'\n        run: choco install graphviz\n\n      - name: install ibis\n        run: poetry install --without dev --without docs --extras \"visualization decompiler\"\n\n      - uses: extractions/setup-just@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: run all core tests and run benchmarks once parallel\n        if: matrix.os != 'windows-latest'\n        run: just ci-check -m \"'core or benchmarks'\" --numprocesses auto\n\n      - name: run all core tests and run benchmarks once serial\n        if: matrix.os == 'windows-latest'\n        run: just ci-check -m \"'core or benchmarks'\"\n\n      - name: upload code coverage\n        if: success()\n        continue-on-error: true\n        uses: codecov/codecov-action@v4\n        with:\n          flags: core,${{ runner.os }},python-${{ steps.install_python.outputs.python-version }}\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  test_shapely_duckdb_import:\n    name: Test shapely and duckdb import\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: install python\n        uses: actions/setup-python@v5\n        id: install_python\n        with:\n          python-version: \"3.12\"\n\n      - name: install poetry\n        run: pip install 'poetry==1.8.3'\n\n      - name: install system dependencies\n        run: |\n          set -euo pipefail\n\n          sudo apt-get update -y -qq\n          sudo apt-get install -y -q build-essential libgeos-dev\n\n      - name: install ibis\n        # install duckdb and geospatial because of https://github.com/ibis-project/ibis/issues/4856\n        run: poetry install --without dev --without docs --without test --extras duckdb --extras geospatial\n\n      - name: check shapely and duckdb imports\n        run: poetry run python -c 'import shapely.geometry, duckdb'\n\n  test_doctests:\n    name: Doctests\n    runs-on: ubuntu-latest\n    steps:\n      - name: install system dependencies\n        run: |\n          set -euo pipefail\n\n          sudo apt-get update -y -q\n          sudo apt-get install -y -q build-essential graphviz libgeos-dev freetds-dev unixodbc-dev\n\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: install python\n        uses: actions/setup-python@v5\n        id: install_python\n        with:\n          python-version: \"3.10\"\n\n      - name: install poetry\n        run: pip install 'poetry==1.8.3'\n\n      - name: install ibis with all extras\n        run: poetry install --without dev --without docs --all-extras\n\n      - uses: extractions/setup-just@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: run doctests\n        run: just ci-doctest --junitxml=junit.xml --cov=ibis --cov-report=xml:coverage.xml\n\n      - name: upload code coverage\n        if: success()\n        continue-on-error: true\n        uses: codecov/codecov-action@v4\n        with:\n          flags: core,doctests,${{ runner.os }},python-${{ steps.install_python.outputs.python-version }}\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:41.697026", "created_at": "2021-12-13T20:05:36+01:00", "updated_at": "2021-12-28T18:10:33+01:00", "name": "Rotate bot keys", "path": ".github/workflows/create-rotate-key-issue.yml", "contents": "name: Rotate bot keys\non:\n  schedule:\n    # https://crontab.guru/#0_0_1_*/3_*\n    # \"At 00:00 on day-of-month 1 in every 3rd month.\"\n    - cron: \"0 0 1 */3 *\"\n\njobs:\n  rotate_private_key:\n    if: github.repository_owner == 'ibis-project'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate a GitHub token\n        uses: actions/create-github-app-token@v1.10.1\n        id: generate_token\n        with:\n          app-id: ${{ secrets.SQUAWK_BOT_APP_ID }}\n          private-key: ${{ secrets.SQUAWK_BOT_APP_PRIVATE_KEY }}\n\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: create issue to rotate key\n        uses: peter-evans/create-issue-from-file@v5\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n          title: \"chore: rotate ibis bot keys\"\n          content-filepath: .github/rotate-key-template.md\n          labels: ci\n          assignees: cpcloud\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:42.939213", "created_at": "2021-12-30T13:04:47+01:00", "updated_at": "2021-12-30T16:21:34+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: CodeQL\non:\n  schedule:\n    # every day at midnight\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    if: github.repository_owner == 'ibis-project'\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n          - python\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n      - uses: github/codeql-action/autobuild@v3\n      - uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:43.950139", "created_at": "2022-01-04T14:33:12+01:00", "updated_at": "2022-01-04T14:33:12+01:00", "name": "GCS Insert", "path": ".github/workflows/ci-data.yml", "contents": "name: GCS Insert\n\non:\n  schedule:\n    - cron: \"0 1 * * *\"\n  workflow_dispatch:\n\njobs:\n  gcs_insert:\n    if: github.repository_owner == 'ibis-project'\n    runs-on: ubuntu-latest\n    steps:\n      - name: set date\n        id: set_date\n        run: |\n          set -euo pipefail\n\n          echo \"yesterday=$(date --date=yesterday +%Y-%m-%d)\" >> \"$GITHUB_OUTPUT\"\n\n      - name: generate data\n        id: generate_data\n        run: |\n          set -euo pipefail\n\n          yesterday=\"${{ steps.set_date.outputs.yesterday }}\"\n\n          [ -n \"$yesterday\" ] || exit 1\n\n          seconds_per_hour=3600\n          requests_per_hour=1000\n          rate_limit_sleep=\"$(bc <<< \"scale = 1; $seconds_per_hour / $requests_per_hour\" | xargs printf \"%.0f\")\"\n\n          gh api --paginate \"repos/ibis-project/ibis/actions/runs?per_page=100&created=${yesterday}\" --jq '.workflow_runs[]' > workflows.json\n\n          jq -rcM '.id' < workflows.json | while read -r run_id; do\n            gh api --paginate \"repos/ibis-project/ibis/actions/runs/${run_id}/jobs?per_page=100\" --jq '.jobs[]' >> jobs.json\n            # sleep to avoid rate limiting\n            sleep \"$rate_limit_sleep\"\n          done\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - uses: google-github-actions/auth@v2\n        with:\n          credentials_json: ${{ secrets.GCP_CREDENTIALS }}\n\n      - uses: google-github-actions/setup-gcloud@v2\n\n      - run: gcloud info\n\n      - name: copy to gcs\n        run: |\n          set -euo pipefail\n\n          yesterday=\"${{ steps.set_date.outputs.yesterday }}\"\n\n          bucket=\"gs://ibis-workflow-data/${yesterday}\"\n          gsutil cp -Z workflows.json jobs.json \"${bucket}\"\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:44.971842", "created_at": "2022-01-08T18:48:11+01:00", "updated_at": "2022-01-08T18:48:11+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n\n# we do not want more than one release workflow executing at the same time, ever\nconcurrency:\n  group: release\n  # cancelling in the middle of a release would create incomplete releases\n  # so cancel-in-progress is false\n  cancel-in-progress: false\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/create-github-app-token@v1.10.1\n        id: generate_token\n        with:\n          app-id: ${{ secrets.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          token: ${{ steps.generate_token.outputs.token }}\n\n      - uses: cachix/install-nix-action@v27\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - uses: cachix/cachix-action@v15\n        with:\n          name: ibis\n          extraPullNames: nix-community,poetry2nix\n\n      - name: run semantic-release\n        run: ./ci/release/run.sh\n        env:\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n          GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:46.115741", "created_at": "2022-01-14T17:40:39+01:00", "updated_at": "2022-01-14T17:40:39+01:00", "name": "Backends", "path": ".github/workflows/ibis-backends-skip-helper.yml", "contents": "# This job intentionally collides with the Backend job in `ibis-backends.yml`\n# that would be skipped because the paths are ignored.  This is so the\n# `Backends` job isn't stuck in \"expected\" forever when it should be skipped\nname: Backends\non:\n  push:\n    paths:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \"codecov.yml\"\n      - \".envrc\"\n      - \".codespellrc\"\n    branches:\n      - main\n      - \"*.x.x\"\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \"codecov.yml\"\n      - \".envrc\"\n      - \".codespellrc\"\n    branches:\n      - main\n      - \"*.x.x\"\n  merge_group:\njobs:\n  test_backends:\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo \"No build required\"\n  test_backends_min_version:\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo \"No build required\"\n  test_pyspark:\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo \"No build required\"\n  backends:\n    # this job exists so that we can use a single job from this workflow to gate merging\n    runs-on: ubuntu-latest\n    needs:\n      - test_backends_min_version\n      - test_backends\n      - test_pyspark\n    steps:\n      - run: exit 0\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:47.240102", "created_at": "2022-01-14T17:40:39+01:00", "updated_at": "2022-01-14T17:40:39+01:00", "name": "Ibis", "path": ".github/workflows/ibis-main-skip-helper.yml", "contents": "# This job intentionally collides with the Ibis job in `ibis-main.yml`\n# that would be skipped because the paths are ignored.  This is so the `Ibis`\n# job isn't stuck in \"expected\" forever when it should be skipped\nname: Ibis\non:\n  push:\n    paths:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \".envrc\"\n    branches:\n      - main\n      - \"*.x.x\"\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \".envrc\"\n    branches:\n      - main\n      - \"*.x.x\"\n  merge_group:\njobs:\n  test_core:\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo \"No build required\"\n  test_shapely_duckdb_import:\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo \"No build required\"\n  test_doctests:\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo \"No build required\"\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:48.375387", "created_at": "2022-01-15T12:27:52+01:00", "updated_at": "2022-01-20T13:17:55+01:00", "name": "Nix", "path": ".github/workflows/nix-skip-helper.yml", "contents": "# This job intentionally collides with the Nix job in `nix.yml`\n# that would be skipped because the paths are ignored.  This is so the `Nix`\n# job isn't stuck in \"expected\" forever when it should be skipped\nname: Nix\n\non:\n  push:\n    paths:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \".envrc\"\n    branches:\n      - main\n      - \"*.x.x\"\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \".envrc\"\n    branches:\n      - main\n      - \"*.x.x\"\n  merge_group:\n\njobs:\n  nix:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest # x86_64-linux\n        python-version:\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        include:\n          - os: ubuntu-arm64-small\n            python-version: \"3.12\"\n          - os: macos-14\n            python-version: \"3.10\"\n    steps:\n      - run: echo \"No build required\"\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:49.493252", "created_at": "2022-01-15T12:41:42+01:00", "updated_at": "2022-01-20T13:17:55+01:00", "name": "Nix", "path": ".github/workflows/nix.yml", "contents": "name: Nix\n\non:\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \".envrc\"\n    branches:\n      - main\n      - \"*.x.x\"\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \".envrc\"\n    branches:\n      - main\n      - \"*.x.x\"\n  merge_group:\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  nix:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest # x86_64-linux\n        python-version:\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        include:\n          - os: ubuntu-arm64-small\n            python-version: \"3.12\"\n          - os: macos-14\n            python-version: \"3.10\"\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: install nix\n        uses: cachix/install-nix-action@v27\n        with:\n          nix_path: nixpkgs=channel:nixos-unstable-small\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - name: setup cachix\n        uses: cachix/cachix-action@v15\n        with:\n          name: ibis\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix\n      - name: nix build and test\n        run: |\n          set -euo pipefail\n\n          version='${{ matrix.python-version }}'\n          nix build \".#ibis${version//./}\" --fallback --keep-going --print-build-logs\n\n      - name: nix build devShell\n        run: |\n          set -euo pipefail\n\n          version='${{ matrix.python-version }}'\n          host_system=\"$(nix eval --raw 'nixpkgs#stdenv.hostPlatform.system')\"\n          flake=\".#devShells.${host_system}.ibis${version//./}\"\n\n          args=(\"--fallback\" \"--keep-going\" \"--print-build-logs\")\n          if [[ \"${{ github.event_name }}\" != \"push\" ]]; then\n            args+=(\"--dry-run\")\n          fi\n\n          nix build \"$flake\" \"${args[@]}\"\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:50.496463", "created_at": "2022-01-30T23:47:22+01:00", "updated_at": "2022-01-30T23:47:22+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:51.648413", "created_at": "2022-04-17T08:02:47+02:00", "updated_at": "2022-04-17T09:02:41+02:00", "name": "Check Generated Files", "path": ".github/workflows/check-generated-files.yml", "contents": "name: Check Generated Files\n\non:\n  push:\n    paths:\n      - README.md\n      - poetry.lock\n      - pyproject.toml\n      - requirements-dev.txt\n  pull_request:\n    paths:\n      - README.md\n      - poetry.lock\n      - pyproject.toml\n      - requirements-dev.txt\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: \"1\"\n  SQLALCHEMY_WARN_20: \"1\"\n  HYPOTHESIS_PROFILE: \"ci\"\n\njobs:\n  check_setuptools_install:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: install python\n        uses: actions/setup-python@v5\n        id: install_python\n        with:\n          python-version: \"3.12\"\n          cache: pip\n          cache-dependency-path: requirements-dev.txt\n\n      - name: install poetry\n        run: pip install 'poetry==1.8.3'\n\n      - name: update apt-get\n        run: sudo apt-get update -y -q\n\n      - name: install system dependencies\n        run: sudo apt-get install -y -q build-essential graphviz libgeos-dev freetds-dev unixodbc-dev\n\n      - name: check consistency with pyproject.toml\n        run: poetry check --lock\n\n      - name: generate requirements-dev.txt\n        run: poetry export --all-extras --with dev --with test --with docs --without-hashes --no-ansi > requirements-dev.txt\n\n      - name: check requirements-dev.txt\n        run: git diff --exit-code requirements-dev.txt\n\n      - name: install using requirements-dev.txt\n        run: pip install -r requirements-dev.txt\n\n      - name: install ibis in development mode\n        run: pip install -e .\n\n      - name: run tests\n        run: pytest -m core -n auto --cov-report=xml:coverage.xml --cov=ibis\n\n      - name: upload code coverage\n        if: success()\n        continue-on-error: true\n        uses: codecov/codecov-action@v4\n        with:\n          flags: core,${{ runner.os }},python-${{ steps.install_python.outputs.python-version }}\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:52.772688", "created_at": "2022-11-27T15:25:23+01:00", "updated_at": "2022-11-27T15:25:23+01:00", "name": "Cloud Backends", "path": ".github/workflows/ibis-backends-cloud.yml", "contents": "name: Cloud Backends\n\non:\n  push:\n    # Skip the backend suite if all changes are in the docs directory\n    paths-ignore:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"**/*.qmd\"\n      - \"codecov.yml\"\n      - \".envrc\"\n    branches:\n      - main\n  pull_request_target:\n    types:\n      - labeled\n\npermissions:\n  # this allows extractions/setup-just to list releases for `just` at a higher\n  # rate limit while restricting GITHUB_TOKEN permissions elsewhere\n  contents: read\n\nenv:\n  FORCE_COLOR: \"1\"\n  SQLALCHEMY_WARN_20: \"1\"\n  HYPOTHESIS_PROFILE: \"ci\"\n\njobs:\n  test_backends:\n    name: ${{ matrix.backend.title }} python-${{ matrix.python-version }}\n    # only a single bigquery or snowflake run at a time, otherwise test data is\n    # clobbered by concurrent runs\n    concurrency:\n      group: ${{ matrix.backend.title }}-${{ matrix.python-version }}-${{ github.event.label.name || 'ci-run-cloud' }}\n      cancel-in-progress: false\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' || github.event.label.name == 'ci-run-cloud'\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.10\"\n          - \"3.12\"\n        backend:\n          - name: snowflake\n            title: Snowflake\n            extras:\n              - snowflake\n        include:\n          - python-version: \"3.10\"\n            backend:\n              name: bigquery\n              title: BigQuery\n              extras:\n                - bigquery\n          - python-version: \"3.12\"\n            backend:\n              name: bigquery\n              title: BigQuery\n              extras:\n                - bigquery\n                - geospatial\n          - python-version: \"3.10\"\n            backend:\n              name: snowflake\n              title: Snowflake + Snowpark\n              key: snowpark\n              extras:\n                - snowflake\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n        if: github.event.label.name != 'ci-run-cloud'\n\n      - name: checkout\n        if: github.event.label.name == 'ci-run-cloud'\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - uses: actions/create-github-app-token@v1.10.1\n        id: generate_token\n        with:\n          app-id: ${{ secrets.DOCS_BOT_APP_ID }}\n          private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }}\n\n      - name: reset cloud ci run label\n        uses: actions-ecosystem/action-remove-labels@v1\n        if: github.event.label.name == 'ci-run-cloud'\n        with:\n          labels: ci-run-cloud\n          github_token: ${{ steps.generate_token.outputs.token }}\n\n      - name: install python\n        uses: actions/setup-python@v5\n        id: install_python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install poetry\n        run: pip install 'poetry==1.8.3'\n\n      - name: install additional deps\n        if: matrix.backend.key == 'snowpark'\n        run: poetry add snowflake-snowpark-python --python=\"==${{ steps.install_python.outputs.python-version }}\"\n\n      - name: install ibis\n        run: poetry install --without dev --without docs --extras \"${{ join(matrix.backend.extras, ' ') }}\"\n\n      - uses: extractions/setup-just@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: download backend data\n        run: just download-data\n\n      - uses: google-github-actions/auth@v2\n        with:\n          credentials_json: ${{ secrets.GCP_CREDENTIALS }}\n\n      - name: setup snowflake credentials\n        if: matrix.backend.name == 'snowflake'\n        run: |\n          pyversion=\"${{ matrix.python-version }}\"\n          {\n            echo \"SNOWFLAKE_USER=${SNOWFLAKE_USER}\"\n            echo \"SNOWFLAKE_PASSWORD=${SNOWFLAKE_PASSWORD}\"\n            echo \"SNOWFLAKE_ACCOUNT=${SNOWFLAKE_ACCOUNT}\"\n            echo \"SNOWFLAKE_DATABASE=${SNOWFLAKE_DATABASE}\"\n            echo \"SNOWFLAKE_SCHEMA=${SNOWFLAKE_SCHEMA}_python${pyversion//./}_${{ matrix.backend.key }}\"\n            echo \"SNOWFLAKE_WAREHOUSE=${SNOWFLAKE_WAREHOUSE}\"\n          } >> \"$GITHUB_ENV\"\n        env:\n          SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}\n          SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}\n          SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }}\n          SNOWFLAKE_DATABASE: ${{ secrets.SNOWFLAKE_DATABASE }}\n          SNOWFLAKE_SCHEMA: ${{ secrets.SNOWFLAKE_SCHEMA }}\n          SNOWFLAKE_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }}\n\n      - name: enable snowpark testing\n        if: matrix.backend.key == 'snowpark'\n        run: echo \"SNOWFLAKE_SNOWPARK=1\" >> \"$GITHUB_ENV\"\n\n      - name: \"run parallel tests: ${{ matrix.backend.name }}\"\n        run: just ci-check -m ${{ matrix.backend.name }} --numprocesses auto --dist=loadgroup\n\n      - name: upload code coverage\n        if: success()\n        continue-on-error: true\n        uses: codecov/codecov-action@v4\n        with:\n          flags: backend,${{ matrix.backend.name }},${{ runner.os }},python-${{ steps.install_python.outputs.python-version }}\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:53.787692", "created_at": "2023-06-12T19:10:20+02:00", "updated_at": "2023-06-12T19:10:20+02:00", "name": "PyPI Pre-Release", "path": ".github/workflows/pre-release.yml", "contents": "name: PyPI Pre-Release\n\non:\n  schedule:\n    # weekly on Sunday\n    - cron: \"0 0 * * 0\"\n\n  # as needed by clicking through the github actions UI\n  workflow_dispatch:\n\n# we do not want more than one pre-release workflow executing at the same time, ever\nconcurrency:\n  group: pre-release\n  # cancelling in the middle of a release would create incomplete releases\n  # so cancel-in-progress is false\n  cancel-in-progress: false\n\njobs:\n  pre-release:\n    if: github.repository_owner == 'ibis-project'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: install python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: upgrade pip\n        run: python -m pip install --upgrade pip\n\n      - name: install poetry\n        run: python -m pip install 'poetry==1.8.3' poetry-dynamic-versioning\n\n      - name: compute ibis version\n        id: get_version\n        run: echo \"value=$(poetry version)\" >> \"$GITHUB_OUTPUT\"\n\n      - name: run some poetry sanity checks\n        run: poetry check\n        if: contains(steps.get_version.outputs.value, '.dev')\n\n      - name: build wheel and source dist\n        run: poetry build\n        if: contains(steps.get_version.outputs.value, '.dev')\n\n      - name: add test pypi index\n        if: contains(steps.get_version.outputs.value, '.dev')\n        run: poetry config repositories.test-pypi https://test.pypi.org/legacy/\n\n      - name: publish pre-release wheel to test pypi index\n        if: contains(steps.get_version.outputs.value, '.dev')\n        run: poetry publish -r test-pypi\n        env:\n          POETRY_PYPI_TOKEN_TEST_PYPI: ${{ secrets.TEST_PYPI_TOKEN }}\n\n      - name: publish pre-release wheel to pypi\n        if: contains(steps.get_version.outputs.value, '.dev')\n        run: poetry publish\n        env:\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:54.908160", "created_at": "2023-10-19T23:58:30+02:00", "updated_at": "2023-10-19T23:58:30+02:00", "name": "Codespaces Prebuilds", "path": "dynamic/codespaces/create_codespaces_prebuilds", "contents": null, "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:55.933888", "created_at": "2023-10-20T01:54:39+02:00", "updated_at": "2023-10-20T01:54:39+02:00", "name": "Flink Backend", "path": ".github/workflows/ibis-flink-backend.yml", "contents": null, "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:57.053784", "created_at": "2023-10-25T16:42:02+02:00", "updated_at": "2023-11-30T20:09:13+01:00", "name": "Flink Backend", "path": ".github/workflows/ibis-backends-flink.yml", "contents": null, "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:58.197430", "created_at": "2023-12-06T13:15:37+01:00", "updated_at": "2023-12-06T13:15:37+01:00", "name": "Docs Preview", "path": ".github/workflows/docs-preview.yml", "contents": "name: Docs Preview\n\non:\n  pull_request_target:\n    types:\n      - labeled\n\njobs:\n  docs_preview:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}-${{ github.event.label.name }}\n      cancel-in-progress: true\n    if: github.event.label.name == 'docs-preview'\n    steps:\n      - uses: actions/create-github-app-token@v1.10.1\n        id: generate_token\n        with:\n          app-id: ${{ secrets.DOCS_BOT_APP_ID }}\n          private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }}\n\n      - name: reset label\n        uses: actions-ecosystem/action-remove-labels@v1\n        with:\n          labels: docs-preview\n          github_token: ${{ steps.generate_token.outputs.token }}\n\n      - name: install nix\n        uses: cachix/install-nix-action@v27\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ steps.generate_token.outputs.token }}\n\n      - name: setup cachix\n        uses: cachix/cachix-action@v15\n        with:\n          name: ibis\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix\n\n      - name: checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: build docs\n        run: nix develop --ignore-environment --keep HOME -c just docs-build-all\n\n      - name: install netlify cli\n        run: npm install -g netlify-cli\n\n      - name: generate url alias\n        id: get_alias\n        run: |\n          echo \"id=pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}\" >> \"$GITHUB_OUTPUT\"\n\n      - name: build and push quarto docs to preview url\n        run: netlify deploy --dir=docs/_output --alias=\"${{ steps.get_alias.outputs.id }}\"\n        env:\n          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n\n      - name: create preview link comment\n        if: success()\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            Docs preview: https://${{ steps.get_alias.outputs.id }}--ibis-quarto.netlify.app\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:16:59.210701", "created_at": "2023-12-20T11:47:47+01:00", "updated_at": "2023-12-20T11:47:47+01:00", "name": "PR Title Check", "path": ".github/workflows/pr_title.yml", "contents": null, "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:17:00.221232", "created_at": "2023-12-20T15:41:48+01:00", "updated_at": "2023-12-20T15:41:48+01:00", "name": "Conventional commits check", "path": ".github/workflows/pr-title.yml", "contents": "name: Conventional commits check\n\non:\n  # runs on `pull_request_target` events so that commenting on the PR is allowed\n  pull_request_target:\n    types: [opened, edited, synchronize, reopened]\n\njobs:\n  commitlint:\n    name: Check PR title conforms to semantic-release\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - name: install node\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"20\"\n\n      - name: checkout code to pick up commitlint configuration\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: install deps\n        run: npm install \"@commitlint/config-conventional\"\n\n      - name: run commitlint\n        id: lint\n        run: |\n          failed=0\n          if ! npx commitlint --extends \"@commitlint/config-conventional\" --verbose <<< \"$COMMIT_MSG\"; then\n            failed=1\n          fi\n          echo \"failed=$failed\" >> \"$GITHUB_OUTPUT\"\n        env:\n          COMMIT_MSG: |\n            ${{ github.event.pull_request.title }}\n\n            ${{ github.event.pull_request.body }}\n\n      - name: find existing comment\n        if: steps.lint.outputs.failed == '1'\n        uses: peter-evans/find-comment@v3\n        id: fc\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body-includes: \"ACTION NEEDED\"\n\n      - name: post a message if the pull request title and body fail `commitlint`\n        if: steps.lint.outputs.failed == '1' && steps.fc.outputs.comment-body == ''\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            **ACTION NEEDED**\n\n            Ibis follows the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) for release automation.\n\n            The PR title and description are used as the merge commit message.\n\n            Please update your PR title and description to match the specification.\n\n      - name: fail the check if commitlint failed\n        if: steps.lint.outputs.failed == '1'\n        run: exit 1 # templating not allowed here it seems\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:17:01.475510", "created_at": "2024-02-04T14:52:08+01:00", "updated_at": "2024-02-12T20:56:05+01:00", "name": "Lint", "path": ".github/workflows/ibis-lint.yml", "contents": "name: Lint\n\non:\n  push:\n    branches:\n      - main\n      - \"*.x.x\"\n  pull_request:\n    branches:\n      - main\n      - \"*.x.x\"\n  merge_group:\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\npermissions:\n  # increase the rate limit for github operations, but limit token permissions\n  # to read-only\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: install nix\n        uses: cachix/install-nix-action@v27\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - name: setup cachix\n        uses: cachix/cachix-action@v15\n        with:\n          name: ibis\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix\n\n      # run against the full shell.nix on push so it gets pushed to cachix\n      - name: pre-commit checks\n        run: nix develop '.#preCommit' --ignore-environment --keep-going -c pre-commit run --all-files --show-diff-on-failure --color=always\n\n  release_notes_spellcheck:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: install nix\n        uses: cachix/install-nix-action@v27\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - name: setup cachix\n        uses: cachix/cachix-action@v15\n        with:\n          name: ibis\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix\n\n      - name: check generated release notes spelling\n        run: nix run '.#check-release-notes-spelling'\n\n  simulate_release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: cachix/install-nix-action@v27\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - uses: cachix/cachix-action@v15\n        with:\n          name: ibis\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix\n\n      - name: Configure git info\n        run: |\n          set -euo pipefail\n\n          # not incredibly important what user we use here\n          #\n          # we're making a commit in a temporary worktree that is thrown away\n          # if the process exits successfully\n          #\n          # git requires user information to make commits\n          git config user.name 'ibis-squawk-bot[bot]'\n          git config user.email 'ibis-squawk-bot[bot]@users.noreply.github.com'\n\n      - name: run semantic-release\n        run: ./ci/release/dry_run.sh\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:17:02.704806", "created_at": "2024-02-05T21:02:13+01:00", "updated_at": "2024-02-12T20:56:05+01:00", "name": "Docs PR", "path": ".github/workflows/ibis-docs-pr.yml", "contents": "name: Docs PR\n\non:\n  pull_request:\n    branches:\n      - main\n      - \"*.x.x\"\n  merge_group:\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\npermissions:\n  # increase the rate limit for github operations, but limit token permissions\n  # to read-only\n  contents: read\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: install nix\n        uses: cachix/install-nix-action@v27\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - name: setup cachix\n        uses: cachix/cachix-action@v15\n        with:\n          name: ibis\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix\n\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: run doctest\n        # keep HOME because duckdb (which we use for doctests) wants to use\n        # that for extensions\n        run: nix develop --ignore-environment --keep HOME --keep HYPOTHESIS_PROFILE -c just doctest\n\n      - name: generate api docs\n        run: nix develop --ignore-environment -c just docs-apigen --verbose\n\n      - name: build docs\n        run: nix develop --ignore-environment --keep HOME -c just docs-render\n\n      - name: build jupyterlite\n        run: nix develop --ignore-environment --keep HOME -c just build-jupyterlite\n\n      - name: check that all frozen computations were done before push\n        run: git diff --exit-code --stat\n\n      - name: verify internal links\n        run: nix develop --ignore-environment '.#links' -c just checklinks --offline --no-progress\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:17:03.729287", "created_at": "2024-02-12T20:56:05+01:00", "updated_at": "2024-02-12T20:56:05+01:00", "name": "Benchmarks", "path": ".github/workflows/ibis-benchmarks.yml", "contents": "name: Benchmarks\n\non:\n  push:\n    branches:\n      - main\n      - \"*.x.x\"\n  merge_group:\n\n# since we're writing to cloud storage, we don't want to have multiple\n# instances of this job running at one time\nconcurrency: benchmarks-${{ github.repository }}\n\npermissions:\n  # increase the rate limit for github operations, but limit token permissions\n  # to read-only\n  contents: read\n\njobs:\n  benchmarks:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: install python\n        uses: actions/setup-python@v5\n        id: install_python\n        with:\n          python-version: \"3.11\"\n\n      - name: install poetry\n        run: pip install 'poetry==1.8.3'\n\n      - name: install system dependencies\n        run: sudo apt-get install -qq -y build-essential libgeos-dev freetds-dev unixodbc-dev\n\n      - name: install ibis\n        run: poetry install --without dev --without docs --all-extras\n\n      - name: make benchmark output dir\n        run: mkdir .benchmarks\n\n      - name: benchmark\n        run: poetry run pytest --benchmark-enable --benchmark-json .benchmarks/output.json ibis/tests/benchmarks\n\n      - uses: google-github-actions/auth@v2\n        with:\n          credentials_json: ${{ secrets.GCP_CREDENTIALS }}\n\n      - uses: google-github-actions/setup-gcloud@v2\n\n      - name: show gcloud info\n        run: gcloud info\n\n      - name: download the latest duckdb release\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -euo pipefail\n\n          gh release download -R duckdb/duckdb --pattern 'duckdb_cli-linux-amd64.zip'\n          unzip duckdb_cli-linux-amd64.zip\n\n      - name: convert json data to parquet\n        run: |\n          set -euo pipefail\n\n          # sort json keys\n          jq --sort-keys -rcM < \"$PWD/.benchmarks/output.json\" > output.json\n\n          # connect to a file to allow spilling to disk\n          ./duckdb json2parquet.ddb <<EOF\n            COPY (\n              SELECT * FROM read_ndjson_auto('output.json', maximum_object_size=2**27)\n            ) TO 'output.parquet' (FORMAT PARQUET, COMPRESSION ZSTD)\n          EOF\n\n      - name: copy data to gcs\n        run: |\n          set -euo pipefail\n\n          timestamp=\"$(date --iso-8601=ns --utc | tr ','  '.')\"\n          gsutil cp output.parquet \"gs://ibis-benchmark-data/ci/${timestamp}.parquet\"\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:17:04.769904", "created_at": "2024-02-12T20:56:05+01:00", "updated_at": "2024-02-12T20:56:05+01:00", "name": "Docs main", "path": ".github/workflows/ibis-docs-main.yml", "contents": "name: Docs main\n\non:\n  push:\n    branches:\n      - main\n  merge_group:\n\n# only a single docs job that pushes to `main` can run at any given time\nconcurrency: docs-${{ github.repository }}\n\npermissions:\n  # increase the rate limit for github operations, but limit token permissions\n  # to read-only\n  contents: read\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: install nix\n        uses: cachix/install-nix-action@v27\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - name: setup cachix\n        uses: cachix/cachix-action@v15\n        with:\n          name: ibis\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix\n\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: run doctests\n        # keep HOME because duckdb (which we use for doctests) wants to use\n        # that for extensions\n        run: nix develop --ignore-environment --keep HOME --keep HYPOTHESIS_PROFILE -c just doctest\n\n      - name: build api docs\n        run: nix develop --ignore-environment -c just docs-apigen --verbose\n\n      - name: build docs\n        run: nix develop --ignore-environment --keep HOME -c just docs-render\n\n      - name: build jupyterlite\n        run: nix develop --ignore-environment --keep HOME -c just build-jupyterlite\n\n      - name: check that all frozen computations were done before push\n        run: git diff --exit-code --stat\n\n      - name: verify internal links\n        run: nix develop --ignore-environment '.#links' -c just checklinks --offline --no-progress\n\n      - name: deploy docs\n        run: nix develop --ignore-environment --keep NETLIFY_AUTH_TOKEN -c just docs-deploy\n        env:\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n\n      # Upload index related\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install Algolia API Dependencies\n        run: |\n          python -m pip install --upgrade algoliasearch\n\n      - name: Create and Upload Base Index\n        run: |\n          python .github/workflows/upload-algolia.py\n        env:\n          ALGOLIA_WRITE_API_KEY: ${{ secrets.ALGOLIA_WRITE_API_KEY }}\n          ALGOLIA_APP_ID: TNU9HG3L41\n          ALGOLIA_INDEX: prod_ibis\n\n      - name: Create and Upload API Records to index\n        run: |\n          python .github/workflows/upload-algolia-api.py\n        env:\n          ALGOLIA_WRITE_API_KEY: ${{ secrets.ALGOLIA_WRITE_API_KEY }}\n          ALGOLIA_APP_ID: TNU9HG3L41\n          ALGOLIA_INDEX: prod_ibis\n", "state": "active", "repository": "ibis-project/ibis"}
{"mined_at": "2024-07-15T14:17:06.891265", "created_at": "2020-11-19T10:13:10+01:00", "updated_at": "2020-11-19T10:13:10+01:00", "name": "unit-tests", "path": ".github/workflows/unit-tests.yml", "contents": "name: unit-tests\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  # Backend tests (Python/Flask)\n  Python:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04]\n        python-version: ['3.8', '3.10']\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install pipenv\n          pipenv install -d\n          pipenv install -r test_requirements.txt\n      - name: Run unit tests\n        run: |\n          pipenv run python run_tests.py\n\n  # Frontend tests (VueJS)\n  VueJS:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: timesketch/frontend-ng\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04]\n        node-version: [\"18\"]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Node ${{ matrix.node-version }}\n        uses: actions/setup-node@v2\n        with:\n          node-version: ${{ matrix.node-version }}\n      - name: Install dependencies\n        run: |\n          yarn install\n\n      - name: Run unit tests with yarn\n        run: yarn run test\n", "state": "active", "repository": "google/timesketch"}
{"mined_at": "2024-07-15T14:17:08.026935", "created_at": "2021-12-20T11:18:01+01:00", "updated_at": "2021-12-20T11:18:01+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "google/timesketch"}
{"mined_at": "2024-07-15T14:17:09.153983", "created_at": "2021-12-29T10:33:41+01:00", "updated_at": "2023-03-15T18:35:27+01:00", "name": "e2e-tests", "path": ".github/workflows/e2e-tests.yml", "contents": "name: e2e-tests\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\njobs:\n  # OpenSearch version 1.x.x\n  PyPi-plaso-stable-opensearch-v1:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up infrastructure with docker compose\n        run: docker compose -f docker/e2e/docker-compose.yml up -d\n        env:\n          OPENSEARCH_VERSION: 1.3.10\n          PLASO_PPA_TRACK: stable\n      - name: Run e2e tests\n        run: docker compose -f docker/e2e/docker-compose.yml exec -T timesketch python3 /usr/local/src/timesketch/end_to_end_tests/tools/run_in_container.py\n      - name: Dump docker logs on failure\n        if: failure()\n        uses: jwalton/gh-docker-logs@v2\n  PyPi-plaso-staging-opensearch-v1:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up infrastructure with docker compose\n        run: docker compose -f docker/e2e/docker-compose.yml up -d\n        env:\n          OPENSEARCH_VERSION: 1.3.10\n          PLASO_PPA_TRACK: staging\n      - name: Run e2e tests\n        run: docker compose -f docker/e2e/docker-compose.yml exec -T timesketch python3 /usr/local/src/timesketch/end_to_end_tests/tools/run_in_container.py\n      - name: Dump docker logs on failure\n        if: failure()\n        uses: jwalton/gh-docker-logs@v2\n\n  # OpenSearch version 2.x.x\n  PyPi-plaso-stable-opensearch-v2:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up infrastructure with docker compose\n        run: docker compose -f docker/e2e/docker-compose.yml up -d\n        env:\n          OPENSEARCH_VERSION: 2.9.0\n          PLASO_PPA_TRACK: stable\n      - name: Run e2e tests\n        run: docker compose -f docker/e2e/docker-compose.yml exec -T timesketch python3 /usr/local/src/timesketch/end_to_end_tests/tools/run_in_container.py\n      - name: Dump docker logs on failure\n        if: failure()\n        uses: jwalton/gh-docker-logs@v2\n  PyPi-plaso-staging-opensearch-v2:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up infrastructure with docker compose\n        run: docker compose -f docker/e2e/docker-compose.yml up -d\n        env:\n          OPENSEARCH_VERSION: 2.9.0\n          PLASO_PPA_TRACK: staging\n      - name: Run e2e tests\n        run: docker compose -f docker/e2e/docker-compose.yml exec -T timesketch python3 /usr/local/src/timesketch/end_to_end_tests/tools/run_in_container.py\n      - name: Dump docker logs on failure\n        if: failure()\n        uses: jwalton/gh-docker-logs@v2\n\n", "state": "active", "repository": "google/timesketch"}
{"mined_at": "2024-07-15T14:17:10.280598", "created_at": "2021-12-29T10:33:41+01:00", "updated_at": "2021-12-31T12:26:34+01:00", "name": "linters", "path": ".github/workflows/linters.yml", "contents": "name: linters\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  PyLint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04]\n        python-version: ['3.8', '3.10']\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install -r test_requirements.txt\n          pip install -r requirements.txt\n          pip install -e .\n          pip install api_client/python\n          pip install importer_client/python\n      - name: Run pylint\n        run: |\n          git config pull.rebase false && git fetch -p origin master\n          for FILE in `git --no-pager diff origin/master --name-only --diff-filter=ACMR | grep \\.py$`; do echo \"Running pylint against ${FILE}\"; pylint --rcfile=.pylintrc ${FILE}; done\n\n  Black-formatter:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: psf/black@stable\n\n  ESLint-frontend:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./timesketch/frontend\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04]\n        node-version: [\"18\"]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Node ${{ matrix.node-version }}\n        uses: actions/setup-node@v2\n        with:\n          node-version: ${{ matrix.node-version }}\n      - name: Install dependencies\n        run: yarn add eslint@5.16.0\n      - name: Run eslint\n        run: |\n          git config pull.rebase false && git fetch -p origin master\n          for FILE in `git --no-pager diff origin/master --name-only --diff-filter=ACMR | grep -e \\.vue$ -e \\.js$ | grep -v dist\\/js | grep ^timesketch\\/frontend\\/ | sed s/'^timesketch\\/frontend\\/'/''/`; do echo \"Running eslint against ${FILE}\"; yarn run eslint ${FILE}; done\n\n  ESLint-frontend-ng:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./timesketch/frontend-ng\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04]\n        node-version: [\"18\"]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Node ${{ matrix.node-version }}\n        uses: actions/setup-node@v2\n        with:\n          node-version: ${{ matrix.node-version }}\n      - name: Install dependencies\n        run: yarn add eslint@5.16.0\n      - name: Run eslint\n        run: |\n          git config pull.rebase false && git fetch -p origin master\n          for FILE in `git --no-pager diff origin/master --name-only --diff-filter=ACMR | grep -e \\.vue$ -e \\.js$ | grep -v dist\\/js | grep ^timesketch\\/frontend-ng\\/ | sed s/'^timesketch\\/frontend-ng\\/'/''/`; do echo \"Running eslint against ${FILE}\"; yarn run eslint ${FILE}; done\n", "state": "active", "repository": "google/timesketch"}
{"mined_at": "2024-07-15T14:17:11.402626", "created_at": "2021-12-31T12:26:34+01:00", "updated_at": "2021-12-31T12:26:34+01:00", "name": "Publish docs to GitHub Pages", "path": ".github/workflows/documentation.yml", "contents": "name: Publish docs to GitHub Pages\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - run: pip install mkdocs-material mkdocs-redirects\n      - run: mkdocs gh-deploy --force\n", "state": "active", "repository": "google/timesketch"}
{"mined_at": "2024-07-15T14:17:12.427596", "created_at": "2023-08-01T21:53:21+02:00", "updated_at": "2023-08-01T21:53:21+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/timesketch"}
{"mined_at": "2024-07-15T14:17:13.412356", "created_at": "2024-04-05T16:05:44+02:00", "updated_at": "2024-04-05T16:05:44+02:00", "name": "build-image", "path": ".github/workflows/build-image.yml", "contents": null, "state": "active", "repository": "google/timesketch"}
{"mined_at": "2024-07-15T14:17:15.879288", "created_at": "2023-02-16T09:47:46+01:00", "updated_at": "2023-02-16T09:47:46+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 14 * * *'\n  # Allows triggering the job manually\n  workflow_dispatch:\n\nenv:\n  DEFAULT_BRANCH: master\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n          cache: pip\n          cache-dependency-path: pyproject.toml\n      - name: \"Install dependencies\"\n        run: python -m pip install .[develop]\n      - uses: pre-commit/action@v3.0.0\n      - uses: elastic/es-perf-github-status@v2\n        if: ${{ failure() && ( github.event_name == 'schedule' || ( github.event_name == 'push' && github.ref_name == env.DEFAULT_BRANCH ) ) }}\n        with:\n          slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}\n          slack_channel: ${{ secrets.SLACK_CHANNEL }}\n          status: FAILED\n\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os:\n          - macos-13\n          - ubuntu-latest\n\n    runs-on: ${{ matrix.os }}\n    name: unit ${{ fromJson('{\"macos-13\":\"macOS\",\"ubuntu-latest\":\"Ubuntu\"}')[matrix.os] }} ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: pyproject.toml\n      - name: \"Install dependencies\"\n        run: python -m pip install --upgrade nox\n      - name: \"Run tests\"\n        run: nox -s test-${{matrix.python-version}}\n      - uses: elastic/es-perf-github-status@v2\n        if: ${{ failure() && ( github.event_name == 'schedule' || ( github.event_name == 'push' && github.ref_name == env.DEFAULT_BRANCH ) ) }}\n        with:\n          slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}\n          slack_channel: ${{ secrets.SLACK_CHANNEL }}\n          status: FAILED\n\n  rally-tracks-compat:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n          cache: pip\n          cache-dependency-path: pyproject.toml\n      - uses: actions/setup-java@v3\n        with:\n          distribution: \"temurin\"\n          java-version: \"17\"\n      - run: echo \"JAVA17_HOME=$JAVA_HOME_17_X64\" >> $GITHUB_ENV\n      - run: echo \"JAVA11_HOME=$JAVA_HOME_11_X64\" >> $GITHUB_ENV\n      - name: \"Install dependencies\"\n        run: python -m pip install --upgrade nox\n      - name: \"Run tests\"\n        run: nox -s rally_tracks_compat\n        timeout-minutes: 120\n        env:\n          # elastic/endpoint fetches assets from GitHub, authenticate to avoid\n          # being rate limited\n          ASSETS_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - uses: elastic/es-perf-github-status@v2\n        if: ${{ failure() && ( github.event_name == 'schedule' || ( github.event_name == 'push' && github.ref_name == env.DEFAULT_BRANCH ) ) }}\n        with:\n          slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}\n          slack_channel: ${{ secrets.SLACK_CHANNEL }}\n          status: FAILED\n      # Artifact will show up under \"Artifacts\" in the \"Summary\" page of runs\n      - uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: rally-tracks-compat-logs\n          path: |\n            /home/runner/.rally/logs/\n            /home/runner/.rally/benchmarks/races/**/*.log\n          if-no-files-found: error\n\n  install-with-pyenv:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - name: Install Python with pyenv\n        uses: gabrielfalcao/pyenv-action@v13\n        with:\n          default: \"3.10.9\"\n          command: python3 -m pip install --user --upgrade pip\n      - name: Check Python version\n        run: python3 --version | grep \"Python 3.10.9\"\n      - name: Install Rally\n        run: python3 -m pip install --user esrally\n      - run: esrally --version\n      - uses: elastic/es-perf-github-status@v2\n        if: ${{ failure() && ( github.event_name == 'schedule' || ( github.event_name == 'push' && github.ref_name == env.DEFAULT_BRANCH ) ) }}\n        with:\n          slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}\n          slack_channel: ${{ secrets.SLACK_CHANNEL }}\n          status: FAILED\n", "state": "active", "repository": "elastic/rally"}
{"mined_at": "2024-07-15T14:17:16.970389", "created_at": "2023-08-24T07:29:05+02:00", "updated_at": "2023-08-24T07:29:05+02:00", "name": "Release to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Release to PyPI\n\non:\n  push:\n    tags:\n      - \"*\"\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: Build dists\n    runs-on: ubuntu-latest\n    environment: release\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9  # v3.5.3\n      - name: Setup python\n        uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1  # v4.7.0\n        with:\n          python-version: 3.x\n      - name: Install dependencies\n        run: python -m pip install build\n      - name: Build dists\n        run: python -m build\n      - name: Upload dists\n        uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce  # v3.1.2\n        with:\n          name: \"dist\"\n          path: \"dist/\"\n          if-no-files-found: error\n          retention-days: 5\n\n  pypi-publish:\n    name: Upload release to PyPI\n    if: startsWith(github.ref, 'refs/tags/')\n    needs: [build]\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write  # Needed for trusted publishing to PyPI\n\n    steps:\n      - name: Download dists\n        uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a  # v3.0.2\n        with:\n          name: \"dist\"\n          path: \"dist/\"\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450  # v1.8.14\n", "state": "active", "repository": "elastic/rally"}
{"mined_at": "2024-07-15T14:17:19.089034", "created_at": "2020-11-11T17:39:45+01:00", "updated_at": "2020-12-30T23:46:12+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "---\nname: Test\n\non: [push, pull_request]\n\njobs:\n  build:\n    name: build (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }})\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13-dev']\n        django-version: ['4.2', '5.0', 'main']\n\n        exclude:\n          # Exclude py3.8 and py3.9 for Django main and 5.0\n          - python-version: '3.8'\n            django-version: '5.0'\n          - python-version: '3.9'\n            django-version: '5.0'\n          - python-version: '3.8'\n            django-version: 'main'\n          - python-version: '3.9'\n            django-version: 'main'\n\n    services:\n\n      postgres:\n        image: postgres:latest\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: github_actions\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n      mysql:\n        image: mysql:latest\n        env:\n          MYSQL_DATABASE: mysql\n          MYSQL_ROOT_PASSWORD: mysql\n        ports:\n          - 3306:3306\n        options: --health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=3\n\n      mariadb:\n        image: mariadb:latest\n        env:\n          MARIADB_DATABASE: mariadb\n          MARIADB_ROOT_PASSWORD: mariadb\n        ports:\n          - 3307:3306\n        options: --health-cmd=\"mariadb-admin ping\" --health-interval=10s --health-timeout=5s --health-retries=3\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: |\n            pyproject.toml\n            tox.ini\n            requirements/*.txt\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements/tox.txt\n\n      - name: Tox tests\n        run: |\n          tox -v\n        env:\n          DJANGO: ${{ matrix.django-version }}\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v3\n        with:\n          name: Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }}\n\n\n  generated_file_checks:\n    name: Check generated files\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install gettext\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y gettext\n\n      - name: Set up newest stable Python version\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n          cache: 'pip'\n          # Invalidate the cache when this file updates, as the dependencies' versions\n          # are pinned in the step below\n          cache-dependency-path: '.github/workflows/test.yml'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          # Install this project in editable mode, so that its package metadata can be queried\n          pip install -e .\n          # Install the latest minor version of Django we support\n          pip install Django==5.0\n\n      - name: Check translation files are updated\n        run: python -m simple_history.tests.generated_file_checks.check_translations\n", "state": "active", "repository": "jazzband/django-simple-history"}
{"mined_at": "2024-07-15T14:17:20.103834", "created_at": "2021-01-02T23:51:00+01:00", "updated_at": "2021-01-02T23:51:00+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "---\nname: Release\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build:\n    if: github.repository == 'jazzband/django-simple-history'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U build twine\n\n      - name: Build package\n        run: |\n          python -m build\n          twine check dist/*\n\n      - name: Upload packages to Jazzband\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: jazzband\n          password: ${{ secrets.JAZZBAND_RELEASE_KEY }}\n          repository-url: https://jazzband.co/projects/django-simple-history/upload\n", "state": "active", "repository": "jazzband/django-simple-history"}
{"mined_at": "2024-07-15T14:17:21.222528", "created_at": "2020-01-11T17:16:03+01:00", "updated_at": "2020-11-12T17:04:49+01:00", "name": "Python application", "path": "", "contents": null, "state": "disabled_manually", "repository": "jazzband/django-simple-history"}
{"mined_at": "2024-07-15T14:17:23.401430", "created_at": "2023-08-10T00:23:00+02:00", "updated_at": "2023-08-10T00:23:00+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tensorflow/model-analysis"}
{"mined_at": "2024-07-15T14:17:25.520383", "created_at": "2021-03-10T19:06:15+01:00", "updated_at": "2021-03-10T19:06:15+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '39 4 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "django-json-api/django-rest-framework-json-api"}
{"mined_at": "2024-07-15T14:17:26.548245", "created_at": "2020-12-28T20:48:11+01:00", "updated_at": "2020-12-28T20:48:11+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n  schedule:\n    - cron: '0 4 * * *'\n\njobs:\n  test:\n    name: Run test\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    env:\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox\n      - name: Run tox targets for ${{ matrix.python-version }}\n        run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          env_vars: PYTHON\n  check:\n    name: Run check\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        tox-env: [\"black\", \"lint\", \"docs\"]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox\n      - name: Run lint\n        run: tox\n        env:\n          TOXENV: ${{ matrix.tox-env }}\n", "state": "active", "repository": "django-json-api/django-rest-framework-json-api"}
{"mined_at": "2024-07-15T14:17:28.815500", "created_at": "2022-11-09T09:35:30+01:00", "updated_at": "2022-11-09T09:35:30+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '35 7 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "ecederstrand/exchangelib"}
{"mined_at": "2024-07-15T14:17:30.043685", "created_at": "2022-11-09T09:32:55+01:00", "updated_at": "2023-10-05T11:49:23+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v4\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v4\n", "state": "active", "repository": "ecederstrand/exchangelib"}
{"mined_at": "2024-07-15T14:17:31.253197", "created_at": "2021-02-19T11:27:02+01:00", "updated_at": "2021-02-19T11:27:02+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  pre_job:\n    # Cancels all other running workflow runs. We don't want to have two parallel test\n    # suites running against the test server.\n    runs-on: ubuntu-latest\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          concurrent_skipping: always\n          cancel_others: true\n\n  build:\n    # Install all requirements, run the test suite, and clean up the server test account.\n    runs-on: ubuntu-latest\n    needs: pre_job\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.12']\n        include:\n        # Allow failure on Python dev - e.g. Cython install regularly fails\n          - python-version: \"3.13-dev\"\n            allowed_failure: true\n      max-parallel: 1\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Unencrypt secret file\n      env:\n          AES_256_CBC_PASS: ${{ secrets.AES_256_CBC_PASS }}\n      # Only repo owners have access to the secret. PRs will run only the unit tests\n      if: env.AES_256_CBC_PASS != ''\n      run: |\n        openssl aes-256-cbc -d -md sha256 -in settings.yml.ghenc -out settings.yml -pass env:AES_256_CBC_PASS\n\n    - name: Upgrade pip\n      run: |\n        python -m pip install --upgrade pip wheel\n\n    - name: Install cutting-edge Cython-based packages on Python dev versions\n      continue-on-error: ${{ matrix.allowed_failure || false }}\n      if: matrix.python-version == '3.13-dev'\n      run: |\n        sudo apt-get install libxml2-dev libxslt1-dev\n        python -m pip install hg+https://foss.heptapod.net/pypy/cffi\n        python -m pip install git+https://github.com/cython/cython.git\n        python -m pip install git+https://github.com/lxml/lxml.git\n        python -m pip install git+https://github.com/yaml/pyyaml.git\n        python -m pip install git+https://github.com/python-cffi/cffi.git\n\n    - name: Install dependencies\n      continue-on-error: ${{ matrix.allowed_failure || false }}\n      run: |\n        python -m pip install .\n        python -m pip install -r test-requirements.txt\n\n    - name: Test with coverage\n      continue-on-error: ${{ matrix.allowed_failure || false }}\n      env:\n       GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        black --check --diff exchangelib tests scripts\n        isort --check --diff exchangelib tests scripts\n        flake8 exchangelib tests scripts\n        blacken-docs *.md docs/*.md\n        unittest-parallel -j 4 --level=class --coverage --coverage-source exchangelib\n        coveralls --service=github\n\n  cleanup:\n    # Clean up the server test account regardless of whether test failed\n    runs-on: ubuntu-latest\n    needs: build\n    if: ${{ always() }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Unencrypt secret file\n      env:\n          AES_256_CBC_PASS: ${{ secrets.AES_256_CBC_PASS }}\n      # Only repo owners have access to the secret. PRs will run only the unit tests.\n      # The encrypted file was created as:\n      #  openssl aes-256-cbc -e -md sha256 -in settings.yml -out settings.yml.ghenc\n      if: env.AES_256_CBC_PASS != ''\n      run: |\n        openssl aes-256-cbc -d -md sha256 -in settings.yml.ghenc -out settings.yml -pass env:AES_256_CBC_PASS\n\n    - name: Upgrade pip\n      run: |\n        python -m pip install --upgrade pip wheel\n\n    - name: Install dependencies\n      run: |\n        python -m pip install .\n        python -m pip install -r test-requirements.txt\n\n    - name: Clean up test account\n      run: |\n        PYTHONPATH=./ python scripts/wipe_test_account.py\n", "state": "active", "repository": "ecederstrand/exchangelib"}
{"mined_at": "2024-07-15T14:17:32.400139", "created_at": "2021-12-20T14:14:36+01:00", "updated_at": "2021-12-20T14:14:36+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ecederstrand/exchangelib"}
{"mined_at": "2024-07-15T14:17:34.549788", "created_at": "2024-01-31T13:22:11+01:00", "updated_at": "2024-01-31T13:22:11+01:00", "name": "autoupdate", "path": ".github/workflows/autoupdate.yaml", "contents": "# Auto-update PRs when other PRs are merged.\n# See https://github.com/marketplace/actions/auto-update\n\nname: autoupdate\non:\n  push:\n    branches:\n      - master\njobs:\n  autoupdate:\n    name: autoupdate\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: docker://chinthakagodawita/autoupdate-action:v1\n        env:\n          GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'\n          # Work on PRs against branches that are protected (so they need to be\n          # up to date)\n          PR_FILTER: \"protected\"\n          # Don't work on draft PRs\n          PR_READY_STATE: \"ready_for_review\"\n          # Don't fail on the triggering commit if it makes a merge conflict\n          # with a PR and the PR can't update\n          MERGE_CONFLICT_ACTION: \"ignore\"\n", "state": "active", "repository": "databiosphere/toil"}
{"mined_at": "2024-07-15T14:17:35.665961", "created_at": "2021-10-07T10:01:32+02:00", "updated_at": "2021-10-08T23:25:07+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '27 21 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "databiosphere/toil"}
{"mined_at": "2024-07-15T14:17:37.796459", "created_at": "2020-11-02T22:18:16+01:00", "updated_at": "2022-08-06T01:18:51+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "# GitHub Actions build workflow\nname: build\n\non: [\"push\", \"pull_request\"]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n\n    timeout-minutes: 60\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Install Python - Linux\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n        if: matrix.os == 'ubuntu-latest'\n\n      - name: Install Python - macOS/Windows\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n        if: matrix.os != 'ubuntu-latest'\n\n      - name: Install Java\n        uses: actions/setup-java@v3\n        with:\n          distribution: \"zulu\"\n          java-version: \"8\"\n\n      - name: Install dependencies - Linux\n        run: sudo apt-get update && sudo apt-get install libsndfile1\n        if: matrix.os == 'ubuntu-latest'\n\n      - name: Install dependencies - macOS\n        run: |\n          echo \"OMP_NUM_THREADS=1\" >> $GITHUB_ENV\n          echo \"PYTORCH_MPS_DISABLE=1\" >> $GITHUB_ENV\n          echo \"LLAMA_NO_METAL=1\" >> $GITHUB_ENV\n          echo \"ACCELERATE_USE_CPU=1\" >> $GITHUB_ENV\n          echo \"TIKA_STARTUP_SLEEP=30\" >> $GITHUB_ENV\n          echo \"TIKA_STARTUP_MAX_RETRY=10\" >> $GITHUB_ENV\n        if: matrix.os == 'macos-latest'\n\n      - name: Install dependencies - Windows\n        run: choco install wget\n        if: matrix.os == 'windows-latest'\n\n      - name: Build\n        run: |\n          pip install -U wheel\n          pip install .[all,dev] fasttext==0.9.2 \"numpy < 2.0.0\"\n          python -c \"import nltk; nltk.download('punkt')\"\n          python --version\n          make data coverage\n\n      - uses: pre-commit/action@v3.0.0\n        if: matrix.os == 'ubuntu-latest'\n\n      - name: Test Coverage\n        run: coveralls --service=github\n        if: matrix.os == 'ubuntu-latest'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "neuml/txtai"}
{"mined_at": "2024-07-15T14:17:38.846676", "created_at": "2021-04-05T02:44:49+02:00", "updated_at": "2021-04-05T02:44:49+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\non:\n  push:\n    branches:\n      - master\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - run: |\n          pip install -U pip wheel\n          pip install .[all,dev]\n      - run: mkdocs gh-deploy --force\n ", "state": "active", "repository": "neuml/txtai"}
{"mined_at": "2024-07-15T14:17:39.869905", "created_at": "2021-12-17T17:03:56+01:00", "updated_at": "2021-12-17T17:03:56+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "neuml/txtai"}
{"mined_at": "2024-07-15T14:17:42.127124", "created_at": "2020-05-04T12:41:45+02:00", "updated_at": "2020-06-18T16:04:37+02:00", "name": "darts release workflow", "path": ".github/workflows/release.yml", "contents": "name: darts release workflow\n\non:\n  workflow_dispatch:\n    inputs:\n        bump_type:\n          description: \"Bump type (#major, #minor, #patch)\"\n          required: true\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"1. Clone repository\"\n        uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.RELEASE_WORKFLOW_TOKEN_NEW_FINE_GRAINED }}\n          fetch-depth: '1'\n\n      - name: \"2. Set up Python 3.9\"\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n\n      - name: \"3. Update pip\"\n        run: |\n          python -m pip install --upgrade pip\n\n      - name: \"4. Attach cache for pip\"\n        uses: actions/cache@v1\n        id: cache\n        with:\n          path: ~/.cache/pip\n          key: release-${{ runner.os }}-pip-${{ hashFiles('requirements/release.txt') }}\n          restore-keys: |\n            release-${{ runner.os }}-pip-\n\n      - name: \"5. Install release dependencies\"\n        run: |\n          pip install -q -r requirements/release.txt\n\n      - name: \"6. Determine next version\"\n        uses: hrzn/github-tag-action@master\n        id: bump_dry\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          DRY_RUN: true\n          BUMP_TYPE: ${{ github.event.inputs.bump_type}}\n\n      - name: \"7. Bump version\"\n        run: |\n          bump2version --new-version ${{ steps.bump_dry.outputs.new_tag }} patch\n\n      - name: \"8. Commit new version\"\n        uses: stefanzweifel/git-auto-commit-action@v4.1.6\n        with:\n          commit_message: Release ${{ steps.bump_dry.outputs.new_tag }}\n          branch: master\n          push_options: --force\n          commit_user_name: Unit8 Bot\n          commit_user_email: info@unit8.co\n\n      - name: \"9. Publish new tag\"\n        uses: hrzn/github-tag-action@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          CUSTOM_TAG: ${{steps.bump_dry.outputs.new_tag}}\n\n      - name: \"10. Create new release\"\n        id: create_release\n        uses: actions/create-release@latest\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ steps.bump_dry.outputs.new_tag }}\n          release_name: Darts ${{steps.bump_dry.outputs.part}} ${{ steps.bump_dry.outputs.new_tag }}\n          draft: false\n          body_path: .github/RELEASE_TEMPLATE/release_body.md\n\n\n  deploy-docker:\n    needs: [release]\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"1. Clone repository\"\n        uses: actions/checkout@v2\n\n      - name: \"2. Determine current version\"\n        uses: hrzn/github-tag-action@master\n        id: bump_dry\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          DRY_RUN: true\n          BUMP_TYPE: ${{ github.event.inputs.bump_type}}\n\n      - name: \"3. Login to docker hub\"\n        run: docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_TOKEN\n        env:\n          DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}\n          DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}\n\n        # downloading gradle multiple times in parallel can yield to connection errors\n      - name: \"4. Cache gradle distribution\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/wrapper/dists\n          key: release-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}\n\n      - name: \"4.1 Cache gradle packages\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/caches\n          key: release-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}\n\n      #check build.gradle file for explanation of next steps\n      - name: \"5. Publish image with tag corresponding to current version\"\n        run: |\n          ./gradlew dockerPushVersion -P version=${{ steps.bump_dry.outputs.tag }}\n\n      - name: \"6. Publish image with tag 'latest' if not hotfix\"\n        if: ${{ !contains(github.event.head_commit.message, '#hotfix') }}\n        run: |\n          ./gradlew dockerPushLatest\n\n\n  deploy-docs:\n    runs-on: ubuntu-latest\n    needs: [release]\n    steps:\n      - name: \"1. Clone repository\"\n        uses: actions/checkout@v2\n\n      - name: \"2. Set up Python 3.9\"\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n\n      - name: \"3. Install pandoc\"\n        run: |\n          sudo apt-get install -y pandoc\n\n        # downloading gradle multiple times in parallel can yield to connection errors\n      - name: \"4. Cache gradle distribution\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/wrapper/dists\n          key: release-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}\n\n      - name: \"4.1 Cache gradle packages\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/caches\n          key: release-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}\n\n      - name: \"5. Setup pip\"\n        run: |\n          ./gradlew setupPip\n\n      - name: \"6. Attach cache for pip\"\n        uses: actions/cache@v1\n        id: cache\n        with:\n          path: ~/.cache/pip\n          key: release-${{ runner.os }}-pip-${{ hashFiles('requirements/core.txt', 'requirements/release.txt') }}\n          restore-keys: |\n            release-${{ runner.os }}-pip-\n\n      - name: \"7. Build docs\"\n        run: |\n          ./gradlew buildDocs\n\n      - name: \"8. Publish documentation to gh-pages\"\n        uses: s0/git-publish-subdir-action@v2.2.0\n        env:\n          REPO: self\n          BRANCH: gh-pages\n          FOLDER: docs/build/html\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "unit8co/darts"}
{"mined_at": "2024-07-15T14:17:43.168892", "created_at": "2020-05-04T12:41:46+02:00", "updated_at": "2021-09-06T17:49:35+02:00", "name": "darts PR workflow", "path": ".github/workflows/develop.yml", "contents": "name: darts PR workflow\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"1. Clone repository\"\n        uses: actions/checkout@v2\n\n      - name: \"2. Set up Python 3.9\"\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n\n        # downloading gradle multiple times in parallel can yield to connection errors\n      - name: \"3. Cache gradle distribution\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/wrapper/dists\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}\n\n      - name: \"3.1 Cache gradle packages\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/caches\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}\n\n      - name: \"4. Lint\"\n        run: |\n          ./gradlew lint\n\n  tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-13, ubuntu-latest]\n        python-version: ['3.9']\n        flavour: ['all']\n\n    steps:\n      - name: \"1. Clone repository\"\n        uses: actions/checkout@v2\n\n      - name: \"2. Set up Python ${{ matrix.python-version }}\"\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n\n        # downloading gradle multiple times in parallel can yield to connection errors\n      - name: \"3. Cache gradle distribution\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/wrapper/dists\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}\n\n      - name: \"3.1 Cache gradle packages\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/caches\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}\n\n      - name: \"4. Setup pip\"\n        run: |\n          ./gradlew installPipLatest\n\n      - name: \"5. Install libomp (for LightGBM)\"\n        run: |\n          ./.github/scripts/libomp-${{ runner.os }}.sh\n\n      - name: \"6. Attach cache for pip\"\n        uses: actions/cache@v1\n        id: cache\n        with:\n          path: ~/.cache/pip\n          key: tests-${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('requirements-latest.txt') }}\n\n      - name: \"7. Tests\"\n        run: |\n          ./gradlew \"test_${{matrix.flavour}}\"\n\n      - name: \"8. Codecov upload\"\n        if: ${{ matrix.flavour == 'all' }}\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"1. Clone repository\"\n        uses: actions/checkout@v2\n\n      - name: \"2. Set up Python 3.9\"\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n\n      - name: \"3. Install pandoc\"\n        run: |\n          sudo apt-get install -y pandoc\n\n        # downloading gradle multiple times in parallel can yield to connection errors\n      - name: \"4. Cache gradle distribution\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/wrapper/dists\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}\n\n      - name: \"4.1 Cache gradle packages\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/caches\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}\n\n      - name: \"5. Setup pip\"\n        run: |\n          ./gradlew setupPip\n\n      - name: \"6. Attach cache for pip\"\n        uses: actions/cache@v1\n        id: cache\n        with:\n          path: ~/.cache/pip\n          key: tests-${{ runner.os }}-3.9-pip-${{ hashFiles('requirements/core.txt', 'requirements/release.txt') }}\n\n      - name: \"7. Build docs\"\n        run: |\n          ./gradlew buildDocs\n\n  check-examples:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        example-name: [03-FFT-examples.ipynb, 04-RNN-examples.ipynb, 00-quickstart.ipynb, 02-data-processing.ipynb, 01-multi-time-series-and-covariates.ipynb]\n    steps:\n      - name: \"1. Clone repository\"\n        uses: actions/checkout@v2\n\n      - name: \"2. Set up Python 3.9\"\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n\n        # downloading gradle multiple times in parallel can yield to connection errors\n      - name: \"3. Cache gradle distribution\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/wrapper/dists\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}\n\n      - name: \"3.1 Cache gradle packages\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/caches\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}\n\n      - name: \"4. Run examples ${{matrix.example-name}}\"\n        run: |\n          ./gradlew checkExample -PexampleName=${{matrix.example-name}}\n", "state": "active", "repository": "unit8co/darts"}
{"mined_at": "2024-07-15T14:17:44.282695", "created_at": "2020-06-15T11:13:32+02:00", "updated_at": "2020-07-21T10:47:01+02:00", "name": "darts PR merge workflow", "path": ".github/workflows/merge.yml", "contents": "name: darts PR merge workflow\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"1. Clone repository\"\n        uses: actions/checkout@v2\n\n      - name: \"2. Set up Python 3.10\"\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.10'\n\n        # downloading gradle multiple times in parallel can yield to connection errors\n      - name: \"3. Cache gradle distribution\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/wrapper/dists\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}\n\n      - name: \"3.1 Cache gradle packages\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/caches\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}\n\n      - name: \"4. Lint\"\n        run: |\n          ./gradlew lint\n\n  tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-13, ubuntu-latest]\n        python-version: ['3.8', '3.10']\n        flavour: ['core', 'torch', 'all']\n\n    steps:\n      - name: \"1. Clone repository\"\n        uses: actions/checkout@v2\n\n      - name: \"2. Set up Python ${{ matrix.python-version }}\"\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n\n        # downloading gradle multiple times in parallel can yield to connection errors\n      - name: \"3. Cache gradle distribution\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/wrapper/dists\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}\n\n      - name: \"3.1 Cache gradle packages\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/caches\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}\n\n      - name: \"4. Setup pip\"\n        run: |\n          ./gradlew setupPip\n\n      - name: \"5. Install libomp (for LightGBM)\"\n        run: |\n          ./.github/scripts/libomp-${{ runner.os }}.sh\n\n      - name: \"6. Tests\"\n        run: |\n          ./gradlew \"test_${{matrix.flavour}}\"\n\n      - name: \"7. Codecov upload\"\n        if: ${{ matrix.flavour == 'all' }}\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  check-examples:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        example-name: [00-quickstart.ipynb, 01-multi-time-series-and-covariates.ipynb, 02-data-processing.ipynb, 03-FFT-examples.ipynb, 04-RNN-examples.ipynb, 05-TCN-examples.ipynb, 06-Transformer-examples.ipynb, 07-NBEATS-examples.ipynb, 08-DeepAR-examples.ipynb, 09-DeepTCN-examples.ipynb, 10-Kalman-filter-examples.ipynb, 11-GP-filter-examples.ipynb, 12-Dynamic-Time-Warping-example.ipynb, 13-TFT-examples.ipynb, 15-static-covariates.ipynb, 16-hierarchical-reconciliation.ipynb, 18-TiDE-examples.ipynb, 19-EnsembleModel-examples.ipynb, 20-RegressionModel-examples.ipynb, 21-TSMixer-examples.ipynb, 22-anomaly-detection-examples.ipynb]\n    steps:\n      - name: \"1. Clone repository\"\n        uses: actions/checkout@v2\n\n      - name: \"2. Set up Python 3.9\"\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n\n      # downloading gradle multiple times in parallel can yield to connection errors\n      - name: \"3. Cache gradle distribution\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/wrapper/dists\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}\n\n      - name: \"3.1 Cache gradle packages\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/caches\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}\n\n      # TODO: why is this a matrix? there is no pip caching, and we restart this for each item in the matrix\n      - name: \"4. Run examples ${{matrix.example-name}}\"\n        run: |\n          ./gradlew checkExample -PexampleName=${{matrix.example-name}}\n\n  docs:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: \"1. Clone repository\"\n        uses: actions/checkout@v2\n\n      - name: \"2. Set up Python 3.9\"\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n\n      - name: \"3. Install pandoc\"\n        run: |\n          sudo apt-get install -y pandoc\n\n      # downloading gradle multiple times in parallel can yield to connection errors\n      - name: \"4. Cache gradle distribution\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/wrapper/dists\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}\n\n      - name: \"4.1 Cache gradle packages\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/caches\n          key: tests-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}\n\n      - name: \"5. Setup pip\"\n        run: |\n          ./gradlew setupPip\n\n      - name: \"6. Attach cache for pip\"\n        uses: actions/cache@v1\n        id: cache\n        with:\n          path: ~/.cache/pip\n          key: release-${{ runner.os }}-3.9-pip-${{ hashFiles('requirements/core.txt', 'requirements/release.txt') }}\n\n      - name: \"7. Build docs\"\n        run: |\n          ./gradlew buildDocs\n", "state": "active", "repository": "unit8co/darts"}
{"mined_at": "2024-07-15T14:17:45.401171", "created_at": "2021-12-24T12:24:16+01:00", "updated_at": "2021-12-24T12:24:16+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "unit8co/darts"}
{"mined_at": "2024-07-15T14:17:46.423158", "created_at": "2022-05-04T11:12:09+02:00", "updated_at": "2022-05-04T11:12:09+02:00", "name": "darts documentation build and release workflow", "path": ".github/workflows/doc.yml", "contents": "name: darts documentation build and release workflow\n\non:\n  workflow_dispatch:\n\njobs:\n  deploy-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"1. Clone repository\"\n        uses: actions/checkout@v2\n\n      - name: \"2. Set up Python 3.9\"\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n\n      - name: \"3. Install pandoc\"\n        run: |\n          sudo apt-get install -y pandoc\n\n        # downloading gradle multiple times in parallel can yield to connection errors\n      - name: \"4. Cache gradle distribution\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/wrapper/dists\n          key: release-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}\n\n      - name: \"4.1 Cache gradle packages\"\n        uses: actions/cache@v2\n        with:\n          path: ~/.gradle/caches\n          key: release-${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}\n\n      - name: \"5. Setup pip\"\n        run: |\n          ./gradlew setupPip\n\n      - name: \"6. Attach cache for pip\"\n        uses: actions/cache@v1\n        id: cache\n        with:\n          path: ~/.cache/pip\n          key: release-${{ runner.os }}-pip-${{ hashFiles('requirements/core.txt', 'requirements/release.txt') }}\n          restore-keys: |\n            release-${{ runner.os }}-pip-\n\n      - name: \"7. Build docs\"\n        run: |\n          ./gradlew buildDocs\n\n      - name: \"8. Publish documentation to gh-pages\"\n        uses: s0/git-publish-subdir-action@v2.2.0\n        env:\n          REPO: self\n          BRANCH: gh-pages\n          FOLDER: docs/build/html\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "unit8co/darts"}
{"mined_at": "2024-07-15T14:17:48.635949", "created_at": "2020-05-20T14:08:08+02:00", "updated_at": "2021-04-23T14:51:13+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n      - '*_maintenance'\n  pull_request:\n    branches:\n      - '*'\n  release:\n      types: [published]\n\njobs:\n\n  build:\n\n    strategy:\n\n      # Don't cancel other jobs in the build matrix if one job fails.\n      fail-fast: false\n\n      matrix:\n\n        # Rather than generate all permutations of various settings,\n        # we want to explicitly list each of the variants we want to\n        # test. We can use `name` to declare the names of our variants,\n        # and then use `include` to define their settings.\n\n        name: [\n          linux-gcc9,\n          linux-debug-gcc9,\n          linux-gcc11,\n          windows,\n        ]\n\n        include:\n\n          - name: linux-gcc9\n            os: ubuntu-20.04\n            buildType: RELEASE\n            publish: true\n            containerImage: ghcr.io/gafferhq/build/build:2.1.2\n            # GitHub container builds run as root. This causes failures for tests that\n            # assert that filesystem permissions are respected, because root doesn't\n            # respect permissions. So we run the final test suite as a dedicated\n            # test user rather than as root.\n            testRunner: su testUser -c\n            sconsCacheMegabytes: 400\n\n          - name: linux-debug-gcc9\n            os: ubuntu-20.04\n            buildType: DEBUG\n            publish: false\n            containerImage: ghcr.io/gafferhq/build/build:2.1.2\n            testRunner: su testUser -c\n            testArguments: -excludedCategories performance\n            # Debug builds are ludicrously big, so we must use a larger cache\n            # limit. In practice this compresses down to 4-500Mb.\n            sconsCacheMegabytes: 2500\n\n          - name: linux-gcc11\n            os: ubuntu-20.04\n            buildType: RELEASE\n            publish: true\n            containerImage: ghcr.io/gafferhq/build/build:3.0.0\n            # GitHub container builds run as root. This causes failures for tests that\n            # assert that filesystem permissions are respected, because root doesn't\n            # respect permissions. So we run the final test suite as a dedicated\n            # test user rather than as root.\n            testRunner: su testUser -c\n            sconsCacheMegabytes: 400\n\n          - name: windows\n            os: windows-2019\n            buildType: RELEASE\n            publish: true\n            containerImage:\n            testRunner: Invoke-Expression\n            testArguments: -excludedCategories performance GafferTest GafferVDBTest GafferUSDTest GafferSceneTest GafferDispatchTest GafferOSLTest GafferImageTest GafferUITest GafferImageUITest GafferSceneUITest GafferDispatchUITest GafferOSLUITest GafferUSDUITest GafferVDBUITest GafferDelightUITest GafferTractorTest GafferTractorUITest\n            sconsCacheMegabytes: 400\n\n    runs-on: ${{ matrix.os }}\n\n    container: ${{ matrix.containerImage }}\n\n    env:\n      ARNOLD_LICENSE_ORDER: none # Don't waste time looking for a license that doesn't exist\n      ARNOLD_FORCE_ABORT_ON_LICENSE_FAIL: 0 # And don't abort because the license isn't found\n      GAFFER_BUILD_DIR: \"./build\"\n      GAFFER_CACHE_DIR: \"./sconsCache\"\n\n    steps:\n\n    - uses: actions/checkout@v3\n\n    - uses: ilammy/msvc-dev-cmd@v1.12.1\n      with:\n        sdk: 10.0.17763.0\n\n    - name: Install toolchain (Windows)\n      run: |\n        python -m pip install scons\n        Invoke-WebRequest -Uri \"https://inkscape.org/gallery/item/37363/inkscape-1.2.2_2022-12-09_732a01da63-x64.exe\" -OutFile \"inkscape.exe\"\n        Start-Process .\\inkscape.exe /S -NoNewWindow -Wait\n      shell: pwsh\n      if: runner.os == 'Windows'\n\n    - name: Install toolchain (Linux)\n      run: |\n        Xvfb :99 -screen 0 1280x1024x24 &\n        metacity --display :99.0 &\n        useradd -m testUser\n        echo LD_PRELOAD=libSegFault.so >> $GITHUB_ENV\n        # The Docker container configures bash shells such that they enable the\n        # software collections we want. If we could set GitHub's\n        # `defaults.run.shell` to `bash` then all our build steps would pick up\n        # this environment automatically. But we can't do that because it\n        # breaks the build on Windows, and we can't configure a different shell\n        # per platform because GitHub won't allow it. But we can run _this_\n        # Linux-only step in bash, and transfer the environment out to be used\n        # in later steps.\n        echo $PATH > $GITHUB_PATH\n        echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH >> $GITHUB_ENV\n        echo DISPLAY=:99.0 >> $GITHUB_ENV\n      shell: bash\n      if: runner.os == 'Linux'\n\n    - name: 'Install Python Modules'\n      run: |\n        python --version\n        pip install PyJWT==1.7.1 PyGitHub==1.45\n\n    - name: Set Custom Variables\n      run: |\n        .github/workflows/main/setBuildVars.py\n        echo GAFFER_SPHINX=`which sphinx-build` >> $GITHUB_ENV\n      env:\n       GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n       GAFFER_BUILD_VARIANT: ${{ matrix.name }}\n      shell: bash\n\n    - name: Install dependencies\n      # The `$GITHUB_ENV` shenanigans creates an environment variable\n      # containing the hash of the archive, for use in the cache key\n      # below.\n      run: |\n        echo GAFFER_DEPENDENCIES_HASH=`python .github/workflows/main/installDependencies.py ${{ matrix.dependenciesURL != '' && format( '--archiveURL {0}', matrix.dependenciesURL ) || '' }} --dependenciesDir ${{ env.GAFFER_BUILD_DIR }} --outputFormat \"{archiveDigest}\"` >> $GITHUB_ENV\n        ./.github/workflows/main/installDelight.py\n        echo DELIGHT=$GITHUB_WORKSPACE/3delight >> $GITHUB_ENV\n      shell: bash\n\n    - name: Install Mesa (Windows)\n      # Installed after dependencies to avoid errors from python related to existing directory `bin`.\n      # Adapted from Mesa's `systemwidedeploy.cmd` `osmesa` branch.\n      run: |\n        curl.exe -L --output mesa.7z --url https://github.com/pal1000/mesa-dist-win/releases/download/22.3.1/mesa3d-22.3.1-release-msvc.7z\n        & \"C:\\Program Files\\7-Zip\\7z.exe\" x mesa.7z -omesa\n        ./mesa/systemwidedeploy.cmd 1\n      shell: pwsh\n      if: runner.os == 'Windows'\n\n    - name: Cache\n      uses: actions/cache@v3\n      with:\n        path: ${{ env.GAFFER_CACHE_DIR }}\n        key: ${{ runner.os }}-${{ matrix.containerImage }}-${{env.GAFFER_DEPENDENCIES_HASH}}-${{ matrix.buildType }}-${{ github.sha }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.containerImage }}-${{env.GAFFER_DEPENDENCIES_HASH}}-${{ matrix.buildType }}-\n\n    - name: Build Gaffer\n      run: |\n       scons -j 2 build BUILD_TYPE=${{ matrix.buildType }} OPTIONS=.github/workflows/main/sconsOptions\n      env:\n        PYTHONUTF8: 1\n\n    - name: Test\n      # Tests should complete in well under an hour. If they don't it's most likely because\n      # of a hang, in which case we'd like to know more quickly than the default 6hr timeout\n      # allows.\n      timeout-minutes: 60\n      run: |\n        echo \"::add-matcher::./.github/workflows/main/problemMatchers/unittest.json\"\n        ${{ matrix.testRunner }} \"${{ env.GAFFER_BUILD_DIR }}/bin/gaffer test ${{ matrix.testArguments }}\"\n        echo \"::remove-matcher owner=unittest::\"\n\n    - name: Build and test Arnold extension\n      run: |\n        import subprocess\n        import sys\n        import os\n\n        for arnoldVersion in [ \"7.2.1.0\", \"7.3.1.0\" ] :\n          arnoldRoot = os.path.join( os.environ[\"GITHUB_WORKSPACE\"], \"arnoldRoot\", arnoldVersion )\n          os.environ[\"ARNOLD_ROOT\"] = arnoldRoot\n\n          subprocess.check_call(\n            [\n              sys.executable,\n              \".github/workflows/main/installArnold.py\",\n              \"--version\",\n              arnoldVersion\n            ]\n          )\n          #Build Arnold extension\n          subprocess.check_call( \"scons -j 2 build BUILD_TYPE=${{ matrix.buildType }} OPTIONS=.github/workflows/main/sconsOptions\", shell = True )\n\n          if os.name != \"nt\" :\n            # Test Arnold extension\n            print( \"::add-matcher::./.github/workflows/main/problemMatchers/unittest.json\" )\n            subprocess.check_call( \"${{ matrix.testRunner }} \\\"\" + os.path.join( os.environ[\"GAFFER_BUILD_DIR\"], \"bin\", \"gaffer\" ) + \" test IECoreArnoldTest GafferArnoldTest GafferArnoldUITest\\\"\", shell = True )\n            print( \"::remove-matcher owner=unittest::\" )\n\n          # Publish ARNOLD_ROOT to the environment for subsequent steps,\n          # so we can build the docs for GafferArnold.\n          with open( os.environ[\"GITHUB_ENV\"], \"a\" ) as f :\n            print( \"Setting $ARNOLD_ROOT to '%s'\" % arnoldRoot )\n            f.write( 'ARNOLD_ROOT=%s\\n' % arnoldRoot )\n      env:\n        PYTHONUTF8: 1\n        ARNOLD_DOWNLOAD_USER: ${{ secrets.ARNOLD_DOWNLOAD_USER }}\n        ARNOLD_DOWNLOAD_PASSWORD: ${{ secrets.ARNOLD_DOWNLOAD_PASSWORD }}\n      shell: python\n      # We can't build GafferArnold for pull requests from forks, because the\n      # authentication secrets for downloading Arnold aren't available (this is\n      # a GitHub security restriction). The core development team can still build\n      # GafferArnold for pull requests by pushing a branch to the main repo and\n      # making a pull request from there.\n      if: ${{ env.ARNOLD_DOWNLOAD_USER != '' }}\n\n    - name: Build Docs and Package\n      # Docs builds should be relatively quick. If there is a problem, this\n      # aborts them in a more timely fashion than the default 6hr timeout.\n      timeout-minutes: 20\n      run: |\n        # Treats warnings-as-errors so we know about broken links\n        echo \"::add-matcher::./.github/workflows/main/problemMatchers/sphinx.json\"\n        scons -j 2 package BUILD_TYPE=${{ matrix.buildType }} OPTIONS=.github/workflows/main/sconsOptions\n        echo \"::remove-matcher owner=sphinx::\"\n      env:\n        PYTHONUTF8: 1\n      if: matrix.publish\n\n    - name: Validate\n      run: |\n        echo \"::add-matcher::./.github/workflows/main/problemMatchers/validateRelease.json\"\n        python ./config/validateRelease.py --archive ${{ env.GAFFER_BUILD_NAME }}.${{ env.PACKAGE_EXTENSION }} ${{ env.GAFFER_VALIDATE_EXTRA_FLAGS }} ${{ secrets.ARNOLD_DOWNLOAD_USER == '' && '--skipPaths arnold' || '' }}\n        echo \"::remove-matcher owner=validateRelease::\"\n      if: matrix.publish\n\n    - uses: actions/upload-artifact@v3\n      with:\n        name: ${{ env.GAFFER_BUILD_NAME }}\n        path: ${{ env.GAFFER_BUILD_NAME }}.${{ env.PACKAGE_EXTENSION }}\n      if: matrix.publish\n\n    - name: Publish Release\n      run: |\n        python ./config/publishRelease.py --archive ${{ env.GAFFER_BUILD_NAME }}.${{ env.PACKAGE_EXTENSION }} --repo ${{ github.repository }} --releaseId ${{ env.GAFFER_GITHUB_RELEASEID }}\n      if: matrix.publish && env.GAFFER_GITHUB_RELEASEID != ''\n      env:\n        GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Limit cache size\n      # GitHub has a limit of 5G for all caches in a repository. Because we write new\n      # files into `./sconsCache` with every build, we must trim its size to avoid\n      # unbounded growth. In practice, the archives that get uploaded are much smaller\n      # than the limit we apply here, because they're compressed.\n      run: python ./.github/workflows/main/limitDirectorySize.py --directory ./sconsCache --megabytes ${{ matrix.sconsCacheMegabytes }} --verbose\n\n    - name: Debug Failures\n      run: |\n        # Print SCons logs\n        shopt -s nullglob\n        for logFile in config.log\n        do\n         echo $logFile\n         cat $logFile\n        done\n      if: failure()\n      shell: bash\n\n", "state": "active", "repository": "gafferhq/gaffer"}
{"mined_at": "2024-07-15T14:17:49.706164", "created_at": "2021-04-15T17:22:16+02:00", "updated_at": "2021-04-22T11:13:28+02:00", "name": "Whitespace check", "path": ".github/workflows/whitespaceCheck.yml", "contents": "name: Whitespace check\non: [ pull_request ]\njobs:\n  check:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        # So that we get the branch for `base_ref`.\n        fetch-depth: 0\n    - name: Check whitespace\n      run: |\n        git -c core.whitespace=indent-with-non-tab,tabwidth=1 diff --check refs/remotes/origin/${{ github.base_ref }} include src python\n", "state": "active", "repository": "gafferhq/gaffer"}
{"mined_at": "2024-07-15T14:17:51.858817", "created_at": "2020-12-03T19:00:12+01:00", "updated_at": "2020-12-03T19:00:12+01:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CI\n\non:\n  workflow_dispatch: ~\n  pull_request: ~\n  push:\n    branches:\n      - master\n\nenv:\n  CACHE_VERSION: 1\n  DEFAULT_PYTHON: 3.8\n\njobs:\n  lint-flake8:\n    name: Check flake8\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code from Github\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n      id: python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.DEFAULT_PYTHON }}\n\n    - name: Restore Python ${{ steps.python.outputs.python-version }} virtual environment\n      id: cache-venv\n      uses: actions/cache@v4\n      with:\n        path: venv\n        key: >-\n          ${{ env.CACHE_VERSION }}-${{ runner.os }}-venv-${{\n          steps.python.outputs.python-version }}-${{\n          hashFiles('requirements_dev.txt') }}\n        restore-keys: >-\n          ${{ env.CACHE_VERSION }}-${{ runner.os }}-venv-${{\n          steps.python.outputs.python-version }}-\n\n    - name: Create Python virtual environment\n      if: steps.cache-venv.outputs.cache-hit != 'true'\n      run: |\n        python -m venv venv\n        . venv/bin/activate\n        pip install -U pip\n        pip install -r requirements_dev.txt\n        pip install -e .\n\n    - name: Lint with flake8\n      run: |\n        . venv/bin/activate\n        # stop the build if there are Python syntax errors or undefined names\n        echo \"::group::flake8 pass 1\"\n        flake8 --count --select=E9,F63,F7,F82 --show-source --statistics\n        echo \"::endgroup::\"\n        # The GitHub editor is 127 chars wide\n        echo \"::group::flake8 pass 2\"\n        flake8 --count --max-complexity=12 --max-line-length=127 --statistics\n        echo \"::endgroup::\"\n\n\n  pytest:\n    name: pytest (${{ matrix.plex }})\n    needs: lint-flake8\n    runs-on: ubuntu-latest\n    env:\n      PLEXAPI_AUTH_SERVER_BASEURL: http://127.0.0.1:32400\n      PLEXAPI_PLEXAPI_TIMEOUT: \"60\"\n      PLEX_CONTAINER: plexinc/pms-docker\n      PLEX_CONTAINER_TAG: latest\n    strategy:\n      fail-fast: false\n      max-parallel: 3\n      matrix:\n        plex: ['unclaimed', 'claimed']\n        is-master:\n          - ${{ github.ref == 'refs/heads/master' }}\n        exclude:\n          - is-master: false\n            plex: claimed\n    steps:\n    - name: Check out code from Github\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n      id: python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.DEFAULT_PYTHON }}\n\n    - name: Restore Python ${{ steps.python.outputs.python-version }} virtual environment\n      id: cache-venv\n      uses: actions/cache@v4\n      with:\n        path: venv\n        key: >-\n          ${{ env.CACHE_VERSION }}-${{ runner.os }}-venv-${{\n          steps.python.outputs.python-version }}-${{\n          hashFiles('requirements_dev.txt') }}\n        restore-keys: >-\n          ${{ env.CACHE_VERSION }}-${{ runner.os }}-venv-${{\n          steps.python.outputs.python-version }}-\n\n    - name: Create Python virtual environment\n      if: steps.cache-venv.outputs.cache-hit != 'true'\n      run: |\n        python -m venv venv\n        . venv/bin/activate\n        pip install -U pip\n        pip install -r requirements_dev.txt\n        pip install -e .\n\n    - name: Get PMS Docker image digest\n      id: docker-digest\n      run: |\n        mkdir -p ~/.cache/docker/${{ env.PLEX_CONTAINER }}\n        echo \"Image: ${{ env.PLEX_CONTAINER }}\"\n        echo \"Tag: ${{ env.PLEX_CONTAINER_TAG }}\"\n        token=$(curl \\\n          --silent \\\n          \"https://auth.docker.io/token?scope=repository:${{ env.PLEX_CONTAINER }}:pull&service=registry.docker.io\" \\\n          | jq -r '.token')\n        digest=$(curl \\\n          --silent \\\n          --header \"Accept: application/vnd.docker.distribution.manifest.v2+json\" \\\n          --header \"Authorization: Bearer $token\" \\\n          \"https://registry-1.docker.io/v2/${{ env.PLEX_CONTAINER }}/manifests/${{ env.PLEX_CONTAINER_TAG }}\" \\\n          | jq -r '.config.digest')\n        echo \"Digest: $digest\"\n        echo \"digest=$digest\" >> $GITHUB_OUTPUT\n\n    - name: Cache PMS Docker image\n      id: docker-cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/docker/plexinc\n        key: ${{ runner.os }}-docker-pms-${{ steps.docker-digest.outputs.digest }}\n\n    - name: Pull PMS Docker image\n      if: steps.docker-cache.outputs.cache-hit != 'true'\n      run: |\n        docker pull ${{ env.PLEX_CONTAINER }}:${{ env.PLEX_CONTAINER_TAG }}\n        docker save -o ~/.cache/docker/${{ env.PLEX_CONTAINER }}-${{ env.PLEX_CONTAINER_TAG }}.tar ${{ env.PLEX_CONTAINER }}:${{ env.PLEX_CONTAINER_TAG }}\n        echo \"Saved image: ${{ env.PLEX_CONTAINER }}:${{ env.PLEX_CONTAINER_TAG }}\"\n\n    - name: Load PMS Docker image\n      if: steps.docker-cache.outputs.cache-hit == 'true'\n      run: |\n        docker load -i ~/.cache/docker/${{ env.PLEX_CONTAINER }}-${{ env.PLEX_CONTAINER_TAG }}.tar\n\n    - name: Set Plex credentials\n      if: matrix.plex == 'claimed'\n      run: |\n        echo \"PLEXAPI_AUTH_SERVER_TOKEN=${{ secrets.PLEXAPI_AUTH_SERVER_TOKEN }}\" >> $GITHUB_ENV\n\n    - name: Bootstrap ${{ matrix.plex }} Plex server\n      uses: nick-fields/retry@v3.0.0\n      with:\n        max_attempts: 3\n        timeout_minutes: 2\n        command: |\n          . venv/bin/activate\n          python \\\n            -u tools/plex-bootstraptest.py \\\n            --destination plex \\\n            --advertise-ip 127.0.0.1 \\\n            --bootstrap-timeout 540 \\\n            --docker-tag ${{ env.PLEX_CONTAINER_TAG }} \\\n            --${{ matrix.plex }}\n        on_retry_command: |\n          if [\"${{ matrix.plex }}\" == \"claimed\"]; then\n            python -u tools/plex-teardowntest.py\n          fi\n\n          # remove docker container\n          docker rm -f $(docker ps --latest)\n\n    - name: Main tests with ${{ matrix.plex }} server\n      env:\n        TEST_ACCOUNT_ONCE: ${{ matrix.plex == 'unclaimed' }}\n      run: |\n        . venv/bin/activate\n        pytest \\\n          -rxXs \\\n          --ignore=tests/test_sync.py \\\n          --tb=native \\\n          --verbose \\\n          --cov=plexapi \\\n          tests \n\n    - name: Unlink PMS from MyPlex account\n      if: matrix.plex == 'claimed' && always()\n      run: |\n        . venv/bin/activate\n        python -u tools/plex-teardowntest.py\n\n    - name: Upload coverage artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage-${{ matrix.plex }}-${{ steps.python.outputs.python-version }}\n        path: .coverage\n\n\n  coverage:\n    name: Process test coverage (${{ matrix.plex }})\n    runs-on: ubuntu-latest\n    needs: pytest\n    if: always()\n    strategy:\n      matrix:\n        plex: ['unclaimed', 'claimed']\n        is-master:\n          - ${{ github.ref == 'refs/heads/master' }}\n        exclude:\n          - is-master: false\n            plex: claimed\n    steps:\n    - name: Check out code from GitHub\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n      id: python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.DEFAULT_PYTHON }}\n\n    - name: Restore Python ${{ steps.python.outputs.python-version }} virtual environment\n      id: cache-venv\n      uses: actions/cache@v4\n      with:\n        path: venv\n        key: >-\n          ${{ env.CACHE_VERSION }}-${{ runner.os }}-venv-${{\n          steps.python.outputs.python-version }}-${{\n          hashFiles('requirements_dev.txt') }}\n        restore-keys: >-\n          ${{ env.CACHE_VERSION }}-${{ runner.os }}-venv-${{\n          steps.python.outputs.python-version }}-\n        fail-on-cache-miss: true\n\n    - name: Download all coverage artifacts\n      uses: actions/download-artifact@v4\n\n    - name: Combine ${{ matrix.plex }} coverage results\n      run: |\n        . venv/bin/activate\n        coverage combine coverage-${{ matrix.plex }}*/.coverage*\n        coverage report --fail-under=50\n        coverage xml\n\n    - name: Upload ${{ matrix.plex }} coverage to Codecov\n      uses: codecov/codecov-action@v4\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \n      with:\n        flags: ${{ matrix.plex }}\n", "state": "active", "repository": "pkkid/python-plexapi"}
{"mined_at": "2024-07-15T14:17:52.861601", "created_at": "2023-08-26T23:49:56+02:00", "updated_at": "2023-08-29T05:30:32+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '18 3 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ubuntu-latest\n    timeout-minutes: 360\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "pkkid/python-plexapi"}
{"mined_at": "2024-07-15T14:17:53.845408", "created_at": "2020-12-14T22:54:56+01:00", "updated_at": "2020-12-14T22:54:56+01:00", "name": "PyPI", "path": ".github/workflows/pypi.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: PyPI\n\non:\n  workflow_dispatch: ~\n  release:\n    types: [published]\n\nenv:\n  DEFAULT_PYTHON: 3.8\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.DEFAULT_PYTHON }}\n\n    - name: Install dependencies and build\n      run: |\n        pip install -U pip\n        pip install -r requirements.txt\n        pip install setuptools twine wheel\n        python setup.py sdist bdist_wheel\n\n    - name: Verify README\n      # https://packaging.python.org/guides/making-a-pypi-friendly-readme/#validating-restructuredtext-markup\n      run: |\n        python -m twine check dist/*\n\n    - name: Upload builds\n      uses: actions/upload-artifact@v4\n      with:\n        name: dist\n        path: dist\n\n  pypi:\n    name: Publish to PyPI\n    needs: build\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/PlexAPI\n    permissions:\n      id-token: write\n    steps:\n    - name: Download builds\n      uses: actions/download-artifact@v4\n\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "pkkid/python-plexapi"}
{"mined_at": "2024-07-15T14:17:55.869531", "created_at": "2023-06-11T17:23:27+02:00", "updated_at": "2023-06-11T17:23:27+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"18 4 * * 6\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "smarthomehub/smartir"}
{"mined_at": "2024-07-15T14:17:57.898978", "created_at": "2024-06-21T09:35:23+02:00", "updated_at": "2024-06-21T09:35:23+02:00", "name": "Tests", "path": ".github/workflows/ci.yml", "contents": "name: Tests\n\non:\n  release:\n    types: [ published ]\n  pull_request:\n  push:\n\nenv:\n  PY_COLORS: \"1\"\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.experimental }} # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        # os: [ubuntu-latest]\n        experimental: [false]\n        # python-version: [\"2.7\",\"3.4\",\"3.5\",\"3.6\",\"3.7\",\"3.8\",\"3.9\",\"3.10\",\"3.11\",\"3.12\"]\n        python-version: [\"3.7\",\"3.8\",\"3.9\",\"3.10\",\"3.11\",\"3.12\"]\n      fail-fast: false\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: Test with pytest via tox\n      run: |\n        tox -e gh\n    - name: Coveralls\n      uses: coverallsapp/github-action@v2.3.0\n      with:\n        github-token: ${{ secrets.github_token }}\n        flag-name: Test_${{ matrix.os }}_${{ matrix.python-version }}\n        parallel: true\n        path-to-lcov: ./coverage.lcov\n\n  coveralls:\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - name: Coveralls Finished\n        uses: coverallsapp/github-action@v2.3.0\n        with:\n          github-token: ${{ secrets.github_token }}\n          parallel-finished: true\n\n  # static-code-analysis:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #   - uses: actions/checkout@v3\n  #   - name: Set up Python\n  #     uses: actions/setup-python@v4\n  #     with:\n  #       python-version: \"3.10\"\n  #   - name: Install dependencies\n  #     run: |\n  #       python -m pip install --upgrade pip\n  #       pip install -e .[lint]\n  #   - name: ruff\n  #     run: |\n  #       ruff check can\n  #   - name: pylint\n  #     run: |\n  #       pylint \\\n  #       src/**.py \\\n  #       can/io \\\n  #       doc/conf.py \\\n  #       examples/**.py \\\n\n  # format:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #   - uses: actions/checkout@v3\n  #   - name: Set up Python\n  #     uses: actions/setup-python@v4\n  #     with:\n  #       python-version: \"3.10\"\n  #   - name: Install dependencies\n  #     run: |\n  #       python -m pip install --upgrade pip\n  #       pip install -e .[lint]\n  #   - name: Code Format Check with Black\n  #     run: |\n  #       black --check --verbose .\n\n  # docs:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #   - uses: actions/checkout@v3\n  #   - name: Set up Python\n  #     uses: actions/setup-python@v4\n  #     with:\n  #       python-version: \"3.10\"\n  #   - name: Install dependencies\n  #     run: |\n  #       python -m pip install --upgrade pip\n  #       pip install -e .[canalystii,gs_usb,mf4]\n  #       pip install -r doc/doc-requirements.txt\n  #   - name: Build documentation\n  #     run: |\n  #       python -m sphinx -Wan --keep-going doc build\n  #   - name: Run doctest\n  #     run: |\n  #       python -m sphinx -b doctest -W --keep-going doc build\n  #   - uses: actions/upload-artifact@v3\n  #     with:\n  #       name: sphinx-out\n  #       path: ./build/\n  #       retention-days: 5\n\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Build wheel and sdist\n        run: pipx run build\n      - name: Check build artifacts\n        run: pipx run twine check --strict dist/*\n      - name: Save artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: python-can-dist\n          path: ./dist\n\n  upload_pypi:\n    needs: [build]\n    runs-on: ubuntu-latest\n\n    # upload to PyPI only on release\n    if: github.event.release && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: python-can-dist\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@v1.4.2\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "ebroecker/canmatrix"}
{"mined_at": "2024-07-15T14:18:00.150317", "created_at": "2022-04-27T13:27:19+02:00", "updated_at": "2022-05-04T14:01:45+02:00", "name": "asv", "path": ".github/workflows/asv_check.yml", "contents": "name: asv\n\n# CI ASV CHECK is aimed to verify that the benchmarks execute without error.\non:\n  push:\n    branches:\n    - main\n  pull_request:\n\n\njobs:\n  quick-benchmarks:\n    runs-on: ubuntu-latest\n    defaults: \n      run:\n        shell: bash -el {0}\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Install Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.9'\n\n      - name: Install asv\n        run: pip install asv==0.4.2\n\n      # asv 0.4.2 (and more recent versions as well) creates conda envs\n      # using the --force option, which was removed in conda 24.3.\n      # Since ubuntu-latest now comes with conda 24.3 pre-installed,\n      # using the system's conda will result in error.\n      # To prevent that, we install an older version.\n      # TODO: remove this when we eventually upgrade our asv version.\n      # https://github.com/airspeed-velocity/asv/issues/1396\n      - name: Install Conda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          conda-version: 24.1.2\n\n      - name: Run asv benchmarks\n        run: |\n          cd benchmarks\n          asv machine --yes\n          asv run HEAD^! --quick --dry-run --show-stderr\n", "state": "active", "repository": "pvlib/pvlib-python"}
{"mined_at": "2024-07-15T14:18:01.297918", "created_at": "2023-06-26T23:12:03+02:00", "updated_at": "2023-07-31T17:37:26+02:00", "name": "Python Flake8 Linter", "path": ".github/workflows/flake8.yml", "contents": "name: Python Flake8 Linter\non:\n  pull_request:\njobs:\n  flake8-linter:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n      - name: Install Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Install Flake8 5.0.4 linter\n        run: pip install flake8==5.0.4  # use this version for --diff option\n      - name: Setup Flake8 output matcher for PR annotations\n        run: echo '::add-matcher::.github/workflows/flake8-linter-matcher.json'\n      - name: Fetch pull request target branch\n        run: |\n          git remote add upstream https://github.com/pvlib/pvlib-python.git\n          git fetch upstream $GITHUB_BASE_REF\n      - name: Run Flake8 linter\n        run: git diff upstream/$GITHUB_BASE_REF HEAD -- \"*.py\" | flake8\n          --exclude pvlib/version.py\n          --ignore E201,E241,E226,W503,W504\n          --max-line-length 79\n          --diff\n", "state": "active", "repository": "pvlib/pvlib-python"}
{"mined_at": "2024-07-15T14:18:02.400355", "created_at": "2020-09-01T22:49:29+02:00", "updated_at": "2020-09-01T22:49:29+02:00", "name": "Publish distributions to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Publish distributions to PyPI\n\non:\n  pull_request:\n  push:\n    branches:\n    - main\n    tags:\n    - \"v*\"\n\njobs:\n  build-n-publish:\n    name: Build and publish distributions to PyPI\n    if: github.repository == 'pvlib/pvlib-python'\n    runs-on: ubuntu-latest\n    steps:\n    # fetch all commits and tags so versioneer works\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n\n    - name: Install build tools\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install build\n        python -m pip install twine\n\n    - name: Build packages\n      run: python -m build\n\n    - name: Check metadata verification\n      run: python -m twine check --strict dist/*\n\n    # only publish distribution to PyPI for tagged commits\n    - name: Publish distribution to PyPI\n      if: startsWith(github.ref, 'refs/tags/v')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "pvlib/pvlib-python"}
{"mined_at": "2024-07-15T14:18:03.631786", "created_at": "2022-06-15T17:05:32+02:00", "updated_at": "2022-06-15T17:05:32+02:00", "name": "pytest-remote-data", "path": ".github/workflows/pytest-remote-data.yml", "contents": "# A secondary test job that only runs the iotools tests if explicitly requested\n# (for pull requests) or on a push to the main branch.\n# Because the iotools tests require GitHub secrets, we need to be careful about \n# malicious PRs accessing the secrets and exposing them externally.\n#\n# We prevent this by only running this workflow when a maintainer has looked\n# over the PR's diff and verified that nothing malicious seems to be going on.\n# The maintainer then adds the \"remote-data\" label to the PR, which will then\n# trigger this workflow via the combination of the \"on: ... types:\"\n# and \"if:\" sections below.  The first restricts the workflow to only run when\n# a label is added to the PR and the second requires one of the PR's labels\n# is the \"remote-data\" label.  Technically this is slightly different from\n# triggering when the \"remote-data\" label is added, since it will also trigger\n# when \"remote-data\" is added, then later some other label is added.  Maybe\n# there's a better way to do this.\n#\n# But wait, you say!  Can't a malicious PR get around this by modifying\n# this workflow file and removing the label requirement?  I think the answer\n# is \"no\" as long as we trigger the workflow on \"pull_request_target\" instead\n# of the usual \"pull_request\".  The difference is what context the workflow\n# runs inside: \"pull_request\" runs in the context of the fork, where changes\n# to the workflow definition will take immediate effect, while \"pull_request_target\"\n# runs in the context of the main pvlib repository, where the original (non-fork)\n# workflow definition is used instead.  Of course by switching away from the fork's\n# context to keep our original workflow definitions, we're also keeping all the\n# original code, so the tests won't be run against the PR's new code.  To fix this\n# we explicitly check out the PR's code as the first step of the workflow.\n# This allows the job to run modified pvlib & pytest code, but only ever via\n# the original workflow file.\n# So long as a maintainer always verifies that the PR's code is not malicious prior to\n# adding the label and triggering this workflow, I think this should not present\n# a security risk.\n#\n# Note that this workflow can be triggered again by removing and re-adding the\n# \"remote-data\" label to the PR.\n#\n# Note also that \"pull_request_target\" is also the only way for the secrets\n# to be accessible in the first place.\n# \n# Further reading:\n# - https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n# - https://github.community/t/can-workflow-changes-be-used-with-pull-request-target/178626/7\n\nname: pytest-remote-data\n\non:\n  pull_request_target:\n    types: [labeled]\n  push:\n    branches:\n    - main\n\njobs:\n  test:\n\n    strategy:\n      fail-fast: false  # don't cancel other matrix jobs when one fails\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n        suffix: ['']  # the alternative to \"-min\"\n        include:\n          - python-version: 3.8\n            suffix: -min\n\n    runs-on: ubuntu-latest\n    if: (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'remote-data')) || (github.event_name == 'push')\n\n    steps:\n      - uses: actions/checkout@v3\n        if: github.event_name == 'pull_request_target'\n        # pull_request_target runs in the context of the target branch (pvlib/main),\n        # but what we need is the hypothetical merge commit from the PR:\n        with:\n          ref: \"refs/pull/${{ github.event.number }}/merge\"\n\n      - uses: actions/checkout@v2\n        if: github.event_name == 'push'\n\n      - name: Set up conda environment\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          activate-environment: test_env\n          environment-file: ${{ env.REQUIREMENTS }}\n          python-version: ${{ matrix.python-version }}\n          auto-activate-base: false\n        env:\n          # build requirement filename.  First replacement is for the python\n          # version, second is to add \"-min\" if needed\n          REQUIREMENTS: ci/requirements-py${{ matrix.python-version }}${{ matrix.suffix }}.yml\n\n      - name: List installed package versions\n        shell: bash -l {0}  # necessary for conda env to be active\n        run: conda list\n\n      - name: Run tests\n        shell: bash -l {0}  # necessary for conda env to be active\n        env:\n          # copy GitHub Secrets into environment variables for the tests to access\n          NREL_API_KEY: ${{ secrets.NRELAPIKEY }}\n          SOLARANYWHERE_API_KEY: ${{ secrets.SOLARANYWHERE_API_KEY }}\n          BSRN_FTP_USERNAME: ${{ secrets.BSRN_FTP_USERNAME }}\n          BSRN_FTP_PASSWORD: ${{ secrets.BSRN_FTP_PASSWORD }}\n        run: pytest pvlib/tests/iotools --cov=./ --cov-report=xml --remote-data\n\n      - name: Upload coverage to Codecov\n        if: matrix.python-version == 3.8 && matrix.suffix == ''\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          verbose: true\n          flags: remote-data  # flags are configured in codecov.yml\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "pvlib/pvlib-python"}
{"mined_at": "2024-07-15T14:18:04.646545", "created_at": "2021-09-11T20:00:25+02:00", "updated_at": "2022-06-15T17:05:32+02:00", "name": "pytest", "path": ".github/workflows/pytest.yml", "contents": "name: pytest\n\non:\n  pull_request:\n  push:\n    branches:\n    - main\n\njobs:\n  test:\n    strategy:\n      fail-fast: false  # don't cancel other matrix jobs when one fails\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n        environment-type: [conda, bare]\n        suffix: ['']  # placeholder as an alternative to \"-min\"\n        include:\n          - os: ubuntu-latest\n            python-version: 3.8\n            environment-type: conda\n            suffix: -min\n        exclude:\n          - os: macos-latest\n            environment-type: conda\n          - os: windows-latest\n            environment-type: bare\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      # We check out only a limited depth and then pull tags to save time\n      - name: Checkout source\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 100\n\n      - name: Get tags\n        run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n\n      - name: Install Conda environment with Micromamba\n        if: matrix.environment-type == 'conda'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{ env.REQUIREMENTS }}\n          cache-downloads: true\n          create-args: >-\n            python=${{ matrix.python-version }}\n          condarc: |\n            channel-priority: flexible\n        env:\n          # build requirement filename.  First replacement is for the python\n          # version, second is to add \"-min\" if needed\n          REQUIREMENTS: ci/requirements-py${{ matrix.python-version }}${{ matrix.suffix }}.yml\n\n      - name: List installed package versions (conda)\n        if: matrix.environment-type == 'conda'\n        shell: bash -l {0}  # necessary for conda env to be active\n        run: micromamba list\n\n      - name: Install bare Python ${{ matrix.python-version }}${{ matrix.suffix }}\n        if: matrix.environment-type == 'bare'\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install pvlib\n        if: matrix.environment-type == 'conda'\n        shell: bash -l {0}\n        run: python -m pip install --no-deps .\n\n      - name: Set up bare environment\n        if: matrix.environment-type == 'bare'\n        run: |\n          pip install .[test]\n          pip freeze\n\n      - name: Run tests\n        shell: bash -l {0}  # necessary for conda env to be active\n        run: |\n          # ignore iotools; those tests are run in a separate workflow\n          pytest pvlib --cov=./ --cov-report=xml --ignore=pvlib/tests/iotools\n\n      - name: Upload coverage to Codecov\n        if: matrix.python-version == 3.8 && matrix.suffix == '' && matrix.os == 'ubuntu-latest' && matrix.environment-type == 'conda'\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          verbose: true\n          flags: core  # flags are configured in codecov.yml\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "pvlib/pvlib-python"}
{"mined_at": "2024-07-15T14:18:06.899975", "created_at": "2021-10-30T17:34:44+02:00", "updated_at": "2021-10-30T18:32:10+02:00", "name": "Run Tests and Check Coverage", "path": ".github/workflows/check.yaml", "contents": "name: Run Tests and Check Coverage\n\non: [push, pull_request]\n\njobs:\n  check_legacy:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: ['3.6.15']\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: 'recursive'\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install coverage coveralls\n          pip install -r requirements.txt\n          pip install -r test-requirements.txt\n\n      - name: Run Check Scripts\n        run: |\n          pytest test --verbosity=3 --cov=ncclient\n\n  # check_beta:\n  #   runs-on: ubuntu-22.04\n  #   strategy:\n  #     matrix:\n  #       python-version: ['3.12.0-beta.3']\n  #   steps:\n  #     - uses: actions/checkout@v3\n  #       with:\n  #         submodules: 'recursive'\n\n  #     - name: Setup Python\n  #       uses: actions/setup-python@v4\n  #       with:\n  #         python-version: ${{ matrix.python-version }}\n\n  #     - name: Install Dependencies\n  #       run: |\n  #         sudo apt install -y python3-dev libxml2-dev libxslt1-dev\n  #         python -m pip install --upgrade pip\n  #         pip install coverage coveralls\n  #         pip install -r requirements.txt\n  #         pip install -r test-requirements.txt\n\n  #     - name: Run Check Scripts\n  #       run: |\n  #         pytest test --verbosity=3 --cov=ncclient\n\n  check:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['3.7.17', '3.8.17', '3.9.17', '3.10.12', '3.11.4']\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: 'recursive'\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install coverage coveralls\n          pip install -r requirements.txt\n          pip install -r test-requirements.txt\n\n      - name: Run Check Scripts\n        run: |\n          pytest test --verbosity=3 --cov=ncclient\n\n      - name: Upload Coverage\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: ${{ matrix.python-version }}\n          COVERALLS_PARALLEL: true\n        run: |\n          coveralls --service=github\n\n  coveralls:\n    name: Indicate completion to coveralls.io\n    needs: check\n    runs-on: ubuntu-20.04\n    container: python:3-slim\n    steps:\n    - name: Finished\n      run: |\n        pip3 install --upgrade coveralls\n        coveralls --service=github --finish\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "ncclient/ncclient"}
{"mined_at": "2024-07-15T14:18:08.958322", "created_at": "2022-09-29T17:33:06+02:00", "updated_at": "2023-08-09T16:47:28+02:00", "name": "build_pyinstaller", "path": ".github/workflows/build_pyinstaller.yml", "contents": "# Workflow for building pyinstaller packages for windows, MacOS and Ubuntu and\n# creating a (pre-)release\n# see https://data-dive.com/multi-os-deployment-in-cloud-using-pyinstaller-and-github-actions\n#\n# The workflow runs:\n#  - for push events on the main branch or when manually triggered,\n#    creating a \"latest\" pre-release\n#  - for tagged release events, creating a versioned release\n#\n#    The latter requires a workflow like:\n#\n#    * <update version.py>      # PyPI version number is created from this\n#    * git tag v0.4.5           # create new local tag\n#    * git push                 # push to origin (without tag)\n#    * git push origin --tags   # push tag to origin\n#    * <draft a release on Github from tag, select prerelease or release>\n#\n#   Tags can be deleted with:\n#\n#     git tag -d <tag_name>\n#     git push --delete origin <tag_name>\n#     or git push origin :<tag_name>\n\n---\nname: build_pyinstaller\n\non:\n  push:\n    branches: main\n  release:\n    types: [published]\n  workflow_dispatch:\n#  workflow_run:\n#    workflows: ['build_flatpak']\n#    types:\n#      - completed\n\njobs:\n  build:\n    name: Build packages\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          # ---\n          - os: windows-latest\n          # ---\n            TARGET: windows\n            CMD_BUILD: >\n                pyinstaller pyfdax.spec &&\n                mv dist/pyfdax.exe dist/pyfdax_win.exe\n            OUT_FILE_NAME: pyfdax_win.exe\n            ASSET_MIME: application/vnd.microsoft.portable-executable\n          # ---\n          - os: macos-latest\n          # ---\n            TARGET: macos\n            CMD_BUILD: >\n                pyinstaller pyfdax.spec &&\n                mv dist/pyfdax dist/pyfdax_osx\n            OUT_FILE_NAME: pyfdax_osx  # .app  # pyfda.zip\n            ASSET_MIME: application/zip\n          # ---\n          - os: ubuntu-latest\n          # ---\n            TARGET: ubuntu\n            CMD_BUILD: >\n                pyinstaller pyfdax.spec &&\n                mv dist/pyfdax dist/pyfdax_linux\n            OUT_FILE_NAME: pyfdax_linux\n            ASSET_MIME: application/x-executable\n\n    steps:\n    - name: Infos about github trigger event and ref\n      run: |\n        echo github.event_name:  ${{ github.event_name }}\n        echo github.ref: ${{ github.ref }}\n        echo github.ref_type:  ${{ github.ref_type }}\n        echo github.ref_name:  ${{ github.ref_name }}\n\n      # Example result for tagged release:\n      #    github.event_name: release\n      #    github.ref: refs/tags/v0.8.0a3\n      #    github.ref_type: tag\n      #    github.ref_name: v0.8.0a3\n\n    - uses: actions/checkout@v3\n      with:\n        ref: main  # enforce using main branch\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install pyinstaller pyinstaller-hooks-contrib\n    - name: Build with pyinstaller for ${{matrix.TARGET}}\n      run: ${{matrix.CMD_BUILD}}\n\n    - name: Upload builds as artifacts\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ matrix.OUT_FILE_NAME}}\n        path: ./dist/${{ matrix.OUT_FILE_NAME}}\n\n  release:\n    name: Release packages\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n    - name: Download all artifacts\n      uses: actions/download-artifact@v3\n      with:\n        path: ./\n    # not specifying the file names downloads all artifacts. However,\n    # an individual directory is created for each file identical to its name\n\n    - name: Display structure of downloaded files\n      run: ls -R\n\n    - name: Update Github prerelease latest\n      if: success() && github.ref_type != 'tag'\n      uses: pyTooling/Actions/releaser@main\n      with:\n        tag: latest\n        rm: true\n        token: ${{ secrets.GITHUB_TOKEN }}\n        files: |\n          pyfdax_win.exe/pyfdax_win.exe\n          pyfdax_osx/pyfdax_osx\n          pyfdax_linux/pyfdax_linux\n\n    - name: Update versioned release\n      if: success() && github.ref_type == 'tag'\n      uses: pyTooling/Actions/releaser@main\n      with:\n        tag: ${{ github.ref_name }}\n        rm: false\n        token: ${{ secrets.GITHUB_TOKEN }}\n        files: |\n          pyfdax_win.exe/pyfdax_win.exe\n          pyfdax_osx/pyfdax_osx\n          pyfdax_linux/pyfdax_linux\n\n", "state": "active", "repository": "chipmuenk/pyfda"}
{"mined_at": "2024-07-15T14:18:09.980963", "created_at": "2022-09-30T17:49:23+02:00", "updated_at": "2023-08-09T16:34:36+02:00", "name": "Publish to PyPI.org", "path": ".github/workflows/publish_pypi.yml", "contents": "# Build a distribution package and upload it to PyPI\n# https://www.seanh.cc/2022/05/21/publishing-python-packages-from-github-actions/\n# https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-archives\n# https://github.com/marketplace/actions/pypi-publish\n\n# Workflow for building a pip package and uploading it to PyPI\n# see https://data-dive.com/multi-os-deployment-in-cloud-using-pyinstaller-and-github-actions\n#\n# OpenID connect (OIDC) provides short-lived credentials (\"OIDC tokens\")\n# for upload to PyPI, see https://docs.pypi.org/trusted-publishers/\n#\n# The workflow runs:\n#  - when manually triggered\n#  - for tagged release events, creating a versioned release\n#\n#    The latter requires a workflow like\n#\n#    * <update version.py>      # PyPI version number is created from this\n#    * <merge develop and main, push develop (default branch)\n#    * git tag v0.4.5           # create new local tag\n#    * git push origin --tags   # push only tag to origin\n#    * git push                 # push changes to origin, sending a 'push' event\n#    * <draft a (pre)release on Github from tag,\n#       sending a 'release' event>\n#\n#   Tags can be deleted with:\n#\n#     git tag -d <tag_name>\n#     git push --delete origin <tag_name>\n\nname: Publish to PyPI.org\non:\n  release:\n    types: [published]\n  # Run upon push to main branch (disabled, only for tagged releases):\n  # push:\n  #  branches: [ main ]\n  # Run manually from the Actions tab:\n  workflow_dispatch:\n\njobs:\n  pypi:\n    runs-on: ubuntu-latest\n    # ---- only needed for 'trusted publishing' from Github -> PyPI ---- #\n    # ---- via OIDC, no username / password or API token is needed  ---- #\n    environment:\n      name: pypi\n      url: https://pypi.org/p/pyfda\n    # IMPORTANT: this permission is mandatory for trusted publishing\n    permissions:\n      id-token: write\n    # ------------------------------------------------------------------ #\n    steps:\n      - name: Infos about github event and ref\n        run: |\n          echo github.event_name:  ${{ github.event_name }}\n          echo github.ref: ${{ github.ref }}\n          echo github.ref_type:  ${{ github.ref_type }}\n          echo github.ref_name:  ${{ github.ref_name }}\n\n      # Example result for tagged release:\n      #    github.event_name: release\n      #    github.ref: refs/tags/v0.8.0a3\n      #    github.ref_type: tag\n      #    github.ref_name: v0.8.0a3\n\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          # fetch-depth: 0         # fetch complete history for all branches\n          ref: main\n\n      # Sets up python3, installing a version of Python or PyPy and (by default)\n      # adds it to the PATH\n      # Optionally: caches dependencies for pip, pipenv and poetry\n      # Registers problem matchers for error output (?)\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      # Install build package and build the pip packages\n      - run: |\n          python3 -m pip install --upgrade build\n          python3 -m build\n          echo Build successful!\n      # Upload the package to PyPI for tagged releases only\n      - name: Publish package\n        if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        # not needed for trusted publishing:\n        # with:\n        #   password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "chipmuenk/pyfda"}
{"mined_at": "2024-07-15T14:18:10.981678", "created_at": "2022-10-02T14:54:39+02:00", "updated_at": "2023-08-09T16:36:19+02:00", "name": "Publish to TestPyPI", "path": ".github/workflows/publish_test_pypi.yml", "contents": "# This workflow builds a pip package (source and wheel) and uploads it to \n# Install the uploaded package using\n#   > python3 -m pip install --index-url https://test.pypi.org/simple/ pyfda\n\nname: Publish to TestPyPI\n\n# Controls when the action will run. \non:\n  # Triggers the workflow on push to the master branch\n  # push:\n  #  branches: [ master ]\n  # Run manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      # Sets up python3, installing a version of Python or PyPy and (by default) \n      # adds it to the PATH\n      # Optionally: caches dependencies for pip, pipenv and poetry\n      # Registers problem matchers for error output (?)\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: \"Install and upgrade pip, other dependencies and the package from setup.py\"\n        run: |\n          python3 -m pip install --upgrade pip\n          # Install build deps\n          python3 -m pip install setuptools wheel twine\n          # If requirements.txt exists, install dependencies from it\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          # Install the package (pyfda) from setup.py\n          ## python3 setup.py install\n\n      # Tests with unittest\n      # - name: Test with unittest\n      #   run: |\n      #     cd tests\n      #     python3 -m unittest discover\n      #     cd ..\n\n      # Build pip packages\n      - name: Build source and wheel distribution\n        run: python3 setup.py sdist bdist_wheel\n      # Upload to TestPyPI\n      - name: Upload to TestPyPI\n        run: python3 -m twine upload dist/*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TEST_API_TOKEN }}\n          TWINE_REPOSITORY: testpypi\n        # uses: pypa/gh-action-pypi-publish@release/v1\n        # with:\n        #   password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        #   repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "chipmuenk/pyfda"}
{"mined_at": "2024-07-15T14:18:11.982378", "created_at": "2022-09-29T17:31:22+02:00", "updated_at": "2023-10-09T18:58:21+02:00", "name": "build_flatpak", "path": ".github/workflows/build_flatpak.yml", "contents": "---\nname: build_flatpak\non:\n  push:\n    branches:\n    - main\n    # tags:\n    # - 'v*' # Push a tag (this is not a release!)\n  release:  # new version with tag\n    types: [published]\n  pull_request:\n  page_build:\n  workflow_dispatch:\n\njobs:\n  flatpak:\n    name: \"Flatpak\"\n    runs-on: ubuntu-latest\n    container:\n      image: bilelmoussaoui/flatpak-github-actions:kde-5.15-21.08\n      options: --privileged\n    steps:\n    - name: Infos about github ref and trigger event\n      run: |\n        echo github.event_name:  ${{ github.event_name }}\n        echo github.ref: ${{ github.ref }}\n        echo github.ref_type:  ${{ github.ref_type }}\n        echo github.ref_name:  ${{ github.ref_name }}\n\n      # Example result for tagged release:\n      #    github.event_name: release\n      #    github.ref: refs/tags/v0.8.0a3\n      #    github.ref_type: tag\n      #    github.ref_name: v0.8.0a3\n\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Clone flatpak manifest from Flathub\n      uses: GuillaumeFalourd/clone-github-repo-action@v1\n      with:\n        owner: 'flathub'\n        repository: 'com.github.chipmuenk.pyfda'\n\n    - name: list\n      run: ls\n\n    - name: Replace git tag by the commit id on which it runs\n      if: github.ref_type != 'tag'\n      run: >\n        sed -i 's@\\&git_tag .*@\\&git_tag \"${{ github.sha }}\"@' com.github.chipmuenk.pyfda/com.github.chipmuenk.pyfda.yaml\n\n    - name: Use correct git tag\n      if: github.ref_type == 'tag'\n      run: >\n        sed -i 's@\\&git_tag .*@\\&git_tag \"${{ github.ref_name }}\"@' com.github.chipmuenk.pyfda/com.github.chipmuenk.pyfda.yaml\n\n    - name: Replace source url\n      run: >\n        sed -i \"s@\\&git_url .*pyfda.git@\\&git_url $GITHUB_SERVER_URL/$GITHUB_REPOSITORY@\" com.github.chipmuenk.pyfda/com.github.chipmuenk.pyfda.yaml\n\n    - name: Add dev build marker to cmake options\n      if: github.ref_type != 'tag'\n      run: >\n        sed -i 's@config-opts: \\[\"\\(.*\\)\"\\]@config-opts: [\"\\1\", \"-DDEV_BUILD=${{ github.ref_name }}\"]@' com.github.chipmuenk.pyfda/com.github.chipmuenk.pyfda.yaml\n\n    - name: Replace desktop file name suffix\n      if: github.ref_type != 'tag'\n      run: >\n        sed -i 's@desktop-file-name-suffix: \"\"@desktop-file-name-suffix: \" (Development)\"@' com.github.chipmuenk.pyfda/com.github.chipmuenk.pyfda.yaml\n\n    - name: Show Flatpak manifest\n      run: cat com.github.chipmuenk.pyfda/com.github.chipmuenk.pyfda.yaml\n\n    - name: Build package\n      uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4\n      with:\n        bundle: com.github.chipmuenk.pyfda.flatpak\n        manifest-path: com.github.chipmuenk.pyfda/com.github.chipmuenk.pyfda.yaml\n        cache: false\n        branch: development\n\n    - name: Publish build artifacts\n      uses: actions/upload-artifact@v3\n      with:\n        path: com.github.chipmuenk.pyfda/*\n        name: pyfda Flatpak\n\n  Validate_appdata_file:\n    name: Validate appdata file\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: validation\n      # Command copied from flathub build process\n      run: |\n        sudo apt-get update\n        sudo apt install flatpak\n        sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo\n        sudo flatpak install -y org.freedesktop.appstream-glib\n        flatpak run --env=G_DEBUG=fatal-criticals org.freedesktop.appstream-glib validate ./ressource/linux/pyfda.appdata.xml\n\n  release:\n    # https://github.com/marvinpinto/actions/issues/177\n    needs: [flatpak]\n    runs-on: ubuntu-latest # does not matter which\n    # if: ${{ github.ref == 'refs/heads/main' }}\n\n    steps:\n    - name: Download artifacts\n      uses: actions/download-artifact@v3\n      with:\n        path: artifacts\n\n    - name: list artifacts folder\n      run: |\n        echo \"*** Show artifacts folder: ***\"\n        ls artifacts\n        echo \"*** Show artifacts/pyfda Flatpak folder: ***\"\n        ls \"artifacts/pyfda Flatpak\"\n        echo \"*** Show artifacts/com.github.chipmuenk.pyfda-x86_64: ***\"\n        ls \"artifacts/com.github.chipmuenk.pyfda-x86_64\"\n\n    # - name: Update GitHub prerelease\n    #   if: ${{ github.ref == 'refs/heads/main' }}\n    #   uses: marvinpinto/action-automatic-releases@latest\n    #   with:\n    #     repo_token: ${{ secrets.GITHUB_TOKEN }}\n    #     automatic_release_tag: latest\n    #     prerelease: true\n    #     title: \"Latest Build\"\n    #     files: |\n    #       **/artifacts/pyfda Flatpak/com.github.chipmuenk.pyfda.yaml\n    #       **/com.github.chipmuenk.pyfda-x86_64/*.flatpak\n\n    - name: Update GitHub prerelease\n      if: success() && github.ref_type != 'tag'\n      uses: pyTooling/Actions/releaser@main\n      with:\n        tag: latest\n        rm: false\n        token: ${{ secrets.GITHUB_TOKEN }}\n        files: |\n          artifacts/pyfda*Flatpak/com.github.chipmuenk.pyfda.yaml\n          artifacts/com.github.chipmuenk.pyfda-x86_64/*.flatpak\n\n    - name: Update versioned Github release\n      if: success() && github.ref_type == 'tag'\n      uses: pyTooling/Actions/releaser@main\n      with:\n        tag: ${{ github.ref_name }}\n        rm: false\n        token: ${{ secrets.GITHUB_TOKEN }}\n        files: |\n          artifacts/pyfda*Flatpak/com.github.chipmuenk.pyfda.yaml\n          artifacts/com.github.chipmuenk.pyfda-x86_64/*.flatpak\n\n...\n", "state": "disabled_manually", "repository": "chipmuenk/pyfda"}
{"mined_at": "2024-07-15T14:18:13.157655", "created_at": "2023-08-06T19:32:22+02:00", "updated_at": "2023-08-06T19:34:20+02:00", "name": "build_pyinstaller_version", "path": ".github/workflows/build_pyinstaller_version.yml", "contents": "# workflow for buildung pyinstaller packages for windows and MacOS and creating a pre-release, triggered by a push to main\n# see https://data-dive.com/multi-os-deployment-in-cloud-using-pyinstaller-and-github-actions\n#\n# The workflow runs:\n#  - for push events on the main branch\n#  - for push events with a proper tag v*, requiring something similar to\n#\n#   git tag v0.4.5\n#   git push\n#   git push origin --tags\n---\nname: build_pyinstaller_version\n\non:\n  push:\n    branches:\n    - main\n    tags:\n    - 'v*' # Push events with proper version number, i.e. v1.0, v20.15.10\n\n  workflow_dispatch:\n\njobs:\n  createrelease:\n    name: Pre-Release\n    runs-on: [ubuntu-latest]\n\n    steps:\n    # - name: Set tag and release name to specified label\n    #   if: github.ref_type == 'tag'\n    #   run: |\n    #     echo \"${{ github.ref_name }}\" > tag_name.txt\n    #     echo \"Release ${{ github.ref_name }}\" > release_name.txt\n    # - name: Set tag and release name to sha / latest if no tag was given\n    #   if: github.ref_type != 'tag'\n    #   run: |\n    #     echo \"${{ github.sha }}\" > tag_name.txt\n    #     echo \"Release latest\" > release_name.txt\n  \n      # TODO: Use https://github.com/softprops/action-gh-release instead of create_release\n    - name: Create Release\n      id: create_release\n      uses: actions/create-release@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        tag_name: ${{ github.ref_name }}\n        release_name: Release ${{ github.ref_name }}\n        draft: false\n        prerelease: true\n    - name: Output Release URL File\n      run: echo \"${{ steps.create_release.outputs.upload_url }}\" > release_url.txt\n    - name: Save Release URL File for publish\n      uses: actions/upload-artifact@v1\n      with:\n        name: release_url\n        path: release_url.txt\n\n#  create_latest_tag:\n#    name: Create 'latest' tag\n#    runs-on: [ubuntu-latest]\n#    needs: createrelease\n#    steps:\n#      - name: Checkout repository\n#        uses: actions/checkout@v2\n#      - name: Create 'latest' tag\n#        run: |\n#          git tag -fa latest -m \"Latest version\"\n#          git push origin -f latest\n\n  build:\n    name: Build packages\n    needs: createrelease\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          # ---\n          - os: windows-latest\n          # ---\n            TARGET: windows\n            CMD_BUILD: >\n                pyinstaller pyfdax.spec &&\n                mv dist/pyfdax.exe dist/pyfdax_win.exe\n            OUT_FILE_NAME: pyfdax_win.exe\n            ASSET_MIME: application/vnd.microsoft.portable-executable\n          # ---\n          - os: macos-latest\n          # ---\n            TARGET: macos\n            CMD_BUILD: >\n                pyinstaller pyfdax.spec &&\n                mv dist/pyfdax dist/pyfdax_osx\n            OUT_FILE_NAME: pyfdax_osx  # .app  # pyfda.zip\n            ASSET_MIME: application/zip\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install pyinstaller pyinstaller-hooks-contrib\n    - name: Build with pyinstaller for ${{matrix.TARGET}}\n      run: ${{matrix.CMD_BUILD}}\n    - name: Load Release URL File from release job\n      uses: actions/download-artifact@v1\n      with:\n        name: release_url\n    - name: Get Release File Name & Upload URL\n      id: get_release_info\n      shell: bash\n      run: |\n        value=`cat release_url/release_url.txt`\n        echo ::set-output name=upload_url::$value\n    - name: Upload Release Asset\n      id: upload-release-asset\n      uses: actions/upload-release-asset@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        upload_url: ${{ steps.get_release_info.outputs.upload_url }}\n        asset_path: ./dist/${{ matrix.OUT_FILE_NAME}}\n        asset_name: ${{ matrix.OUT_FILE_NAME}}\n        asset_content_type: ${{ matrix.ASSET_MIME}}\n  ", "state": "disabled_manually", "repository": "chipmuenk/pyfda"}
{"mined_at": "2024-07-15T14:18:15.509915", "created_at": "2020-05-23T18:20:18+02:00", "updated_at": "2023-02-24T16:51:42+01:00", "name": "CLA", "path": ".github/workflows/cla.yml", "contents": "name: CLA\n\non:\n push:\n   branches: master\n pull_request:\n\njobs:\n  CheckCLA:\n    runs-on: ubuntu-latest\n    name: Checks that all committers are in CONTRIBUTORS\n    steps:\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1\n        with:\n          fetch-depth: 0\n      - name: Run Check\n        run: ./ci/cla.sh\n", "state": "active", "repository": "pysmt/pysmt"}
{"mined_at": "2024-07-15T14:18:16.662503", "created_at": "2022-04-01T21:44:49+02:00", "updated_at": "2022-05-28T21:57:56+02:00", "name": "Test and Deploy", "path": ".github/workflows/test.yml", "contents": "name: Test and Deploy\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n\njobs:\n  run-tests:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest ]\n        pysmt_solver: [ none, msat, z3, yices, cvc5, btor, picosat, bdd, msat_wrap, z3_wrap ]\n\n    env:\n      PYTHON_VERSION: 3.8\n      PYSMT_SOLVER: ${{ matrix.pysmt_solver }}\n      AGENT_OS: ${{ matrix.os }}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1\n\n      - name: Set up Python\n        uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 #v4.7.1\n        with:\n          python-version: 3.8\n\n      - name: Prepare System\n        run: |\n          bash ci/install.sh\n\n      - name: Run Tests\n        run: |\n          bash ci/run.sh\n\n\n  run-tests-master:\n    runs-on: ${{ matrix.os }}\n    if: (github.ref == 'refs/heads/master') || (github.event_name == 'pull_request') # We only run these tests on master or in pull-requests\n    strategy:\n      matrix:\n        os: [ ubuntu-latest ]\n        pysmt_solver: [ none ]\n        pysmt_cython: [\"TRUE\", \"FALSE\"]\n        pysmt_gmpy: [\"TRUE\", \"FALSE\"]\n        include:\n          - os: ubuntu-latest\n            pysmt_solver: all\n          - os: macos-latest\n            pysmt_solver: none\n          - os: macos-13\n            pysmt_solver: msat\n          - os: macos-13\n            pysmt_solver: z3\n          - os: macos-13\n            pysmt_solver: yices\n          - os: windows-latest\n            pysmt_solver: none\n          - os: windows-latest\n            pysmt_solver: msat\n          - os: windows-latest\n            pysmt_solver: z3\n\n    env:\n      PYTHON_VERSION: 3.8\n      PYSMT_SOLVER: ${{ matrix.pysmt_solver }}\n      AGENT_OS: ${{ matrix.os }}\n      PYSMT_CYTHON: ${{ matrix.pysmt_cython }}\n      PYSMT_GMPY: ${{ matrix.pysmt_gmpy }}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1\n\n      - name: Set up Python\n        uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 #v4.7.1\n        with:\n          python-version: 3.8\n\n      - name: Prepare System\n        run: |\n          bash ci/install.sh\n\n      - name: Run Tests\n        run: |\n          bash ci/run.sh\n\n\n  deploy-pypi:\n    runs-on: ubuntu-latest\n    needs: [run-tests, run-tests-master] # We only deploy if the tests were successful\n    if: github.ref == 'refs/heads/master' # We only deploy on master commits\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 #v4.7.1\n      with:\n        python-version: 3.8\n\n    - name: Make distrib\n      run: |\n        python3 -m pip install wheel\n        bash make_distrib.sh\n\n    - name: Upload to PyPI\n      uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}", "state": "active", "repository": "pysmt/pysmt"}
{"mined_at": "2024-07-15T14:18:19.751879", "created_at": "2021-02-19T20:39:32+01:00", "updated_at": "2024-06-22T16:23:55+02:00", "name": "TorchBench PR Test", "path": ".github/workflows/pr-test.yml", "contents": "name: TorchBench PR Test\non:\n  pull_request:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n\njobs:\n  cpu-test:\n    uses: ./.github/workflows/_linux-test-cpu.yml\n    secrets:\n      HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}\n  cuda-test:\n    uses: ./.github/workflows/_linux-test-cuda.yml\n    secrets:\n      HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:20.782485", "created_at": "2021-11-01T23:47:05+01:00", "updated_at": "2024-06-28T11:41:55+02:00", "name": "TorchBench GPU model stability test", "path": ".github/workflows/pr-gpu-stability-ci.yml", "contents": null, "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:21.839281", "created_at": "2021-12-10T19:59:31+01:00", "updated_at": "2022-10-12T19:34:25+02:00", "name": "TorchBench V2 bisection", "path": ".github/workflows/v2-bisection.yml", "contents": "name: TorchBench V2 bisection\non:\n  workflow_dispatch:\n    inputs:\n      issue_name:\n        description: \"Bisection Issue Name\"\n        required: true\n        default: \"example-issue\"\n\njobs:\n  bisection:\n    environment: docker-s3-upload\n    env:\n      BISECT_CONDA_ENV: \"bisection-ci-v2\"\n      BISECT_DIR: \".torchbench/v2-bisection-ci\"\n      BISECT_BRANCH: \"v2.0\"\n      PYTHON_VER: \"3.10\"\n      CUDA_VER: \"12.1\"\n      NUMPY_VER: \"1.21.2\"\n      CMAKE_VER: \"3.26\"\n      MKL_VER: \"2021.2.0\"\n      MAGMA_VER: \"magma-cuda121\"\n    if: ${{ github.repository_owner == 'pytorch' }}\n    runs-on: [self-hosted, bm-runner]\n    timeout-minutes: 2880 # 48 hours\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          ref: v2.0\n      - name: Create conda environment\n        run: |\n          set -x\n          conda create -y -n \"${BISECT_CONDA_ENV}\" python=\"${PYTHON_VER}\"\n          . activate \"${BISECT_CONDA_ENV}\"\n          . /data/nvme/bin/setup_instance.sh\n          conda install -y numpy=\"${NUMPY_VER}\"  mkl=\"${MKL_VER}\" mkl-include=\"${MKL_VER}\" \\\n                           requests ninja pyyaml setuptools cffi sympy ffmpeg \\\n                           typing_extensions future six dataclasses tabulate gitpython git-lfs tqdm regex\n          # install cmake 3.26 from conda-forge, cmake > 3.24 is required by torchaudio\n          conda install -y cmake=\"${CMAKE_VER}\" -c conda-forge\n          # Install magma\n          conda install -y -c pytorch \"${MAGMA_VER}\"\n      - name: Bisection\n        run: |\n          export BISECT_ISSUE=\"${{ github.event.inputs.issue_name }}\"\n          export BISECT_BASE=\"${HOME}/${BISECT_DIR}/${BISECT_ISSUE}\"\n          export TORCHBENCH_SRC_DIR=\"${PWD}\"\n          . activate \"$BISECT_CONDA_ENV\"\n          . /data/nvme/bin/setup_instance.sh\n          bash ./.github/scripts/run-bisection.sh\n          # Update the result json symbolic link\n          ln -sf \"${BISECT_BASE}/gh${GITHUB_RUN_ID}/result.json\" \"${BISECT_BASE}/result.json\"\n      - name: Analyze bisection result\n        run: |\n          export BISECT_ISSUE=\"${{ github.event.inputs.issue_name }}\"\n          export BISECT_BASE=\"${HOME}/${BISECT_DIR}/${BISECT_ISSUE}\"\n          . activate \"$BISECT_CONDA_ENV\"\n          . /data/nvme/bin/setup_instance.sh\n          python ./.github/scripts/bmutils/analyze-bisection-result.py --bisection-root \"${BISECT_BASE}\" --gh-workflow-id \"${GITHUB_RUN_ID}\"\n          cp -r \"${BISECT_BASE}\" ./bisection-result\n      - name: Create the github issue\n        if: env.TORCHBENCH_PERF_BISECTION_NONEMPTY_SIGNAL\n        uses: peter-evans/create-issue-from-file@v4\n        with:\n          title: V2 Performance Signal Detected by TorchBench CI on ${{ env.TORCHBENCH_PERF_BISECTION_NONEMPTY_SIGNAL }}\n          content-filepath: ./bisection-result/gh-issue.md\n          token: ${{ secrets.TORCHBENCH_ACCESS_TOKEN }}\n          labels: |\n            torchbench-perf-report\n      - name: Upload artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: Bisection result\n          path: bisection-result/\n      - name: Remove conda environment\n        run: |\n          conda env remove --name \"$BISECT_CONDA_ENV\"\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:22.881763", "created_at": "2021-12-10T19:59:31+01:00", "updated_at": "2022-10-12T16:18:39+02:00", "name": "TorchBench V2 nightly", "path": ".github/workflows/v2-nightly.yml", "contents": "name: TorchBench V2 nightly\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 14 * * *' # run at 2 PM UTC\n\njobs:\n  run-benchmark:\n    environment: docker-s3-upload\n    env:\n      TORCHBENCH_VER: \"v2\"\n      CONFIG_VER: \"v2\"\n      PYTHON_VER: \"3.10\"\n      CUDA_VER: \"12.1\"\n      MAGMA_VERSION: \"magma-cuda121\"\n      CONDA_ENV_NAME:  \"torchbench-v2-nightly-ci\"\n      OUTPUT_DIR: \".torchbench/v2-nightly-ci\"\n      BISECTION_ROOT: \".torchbench/v2-bisection-ci\"\n      CUDA_VERSION: \"cu121\"\n      SCRIBE_GRAPHQL_ACCESS_TOKEN: ${{ secrets.SCRIBE_GRAPHQL_ACCESS_TOKEN }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      IS_GHA: 1\n      AWS_DEFAULT_REGION: us-east-1\n      BUILD_ENVIRONMENT: benchmark-nightly\n    if: ${{ github.repository_owner == 'pytorch' }}\n    runs-on: [self-hosted, bm-runner]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          ref: v2.0\n      - name: Create conda env\n        run: |\n          conda create -y -q --name \"${CONDA_ENV_NAME}\" python=${{ env.PYTHON_VER }}\n      - name: Install PyTorch nightly\n        run: |\n          . activate \"${CONDA_ENV_NAME}\"\n          . /data/nvme/bin/setup_instance.sh\n          # Install dependencies\n          pip install requests bs4 argparse gitpython boto3 regex\n          # Check if nightly builds are available\n          NIGHTLIES=$(python torchbenchmark/util/torch_nightly.py --packages torch)\n          # If failed, the script will generate empty result\n          if [ -z $NIGHTLIES ]; then\n              echo \"Torch nightly build failed. Cancel the workflow.\"\n              exit 1\n          fi\n          # Install magma\n          conda install -y -c pytorch \"${MAGMA_VERSION}\"\n          # Install PyTorch nightly from pip\n          pip install --no-cache-dir --pre torch torchvision torchaudio --index-url \\\n            https://download.pytorch.org/whl/nightly/${CUDA_VERSION}\n      - name: Install other TorchBench dependencies\n        run: |\n          . activate \"${CONDA_ENV_NAME}\"\n          . /data/nvme/bin/setup_instance.sh\n          conda install -y git-lfs\n          python install.py\n      - name: Run benchmark\n        run: |\n          . activate \"${CONDA_ENV_NAME}\"\n          . /data/nvme/bin/setup_instance.sh\n          WORKFLOW_HOME=\"${HOME}/${{ env.OUTPUT_DIR }}/gh${GITHUB_RUN_ID}\"\n          bash ./.github/scripts/run.sh \"${WORKFLOW_HOME}\"\n      - name: Generate the bisection config\n        run: |\n          set -x\n          . activate \"${CONDA_ENV_NAME}\"\n          WORKFLOW_HOME=\"${HOME}/${{ env.OUTPUT_DIR }}/gh${GITHUB_RUN_ID}\"\n          mkdir -p benchmark-output/\n          # Update the self-hosted pytorch version\n          pushd \"${HOME}/pytorch\"\n          git fetch origin\n          popd\n          pip install gitpython pyyaml dataclasses argparse\n          # Compare the result from yesterday and report any perf signals\n          python ./.github/scripts/generate-abtest-config.py \\\n                 --pytorch-dir \"${HOME}/pytorch\" \\\n                 --github-issue \"${WORKFLOW_HOME}/gh-issue.md\" \\\n                 --benchmark-dir \"${WORKFLOW_HOME}\" \\\n                 --out \"${WORKFLOW_HOME}/bisection.yaml\"\n          # Include in the GitHub artifact\n          if [ -f \"${WORKFLOW_HOME}/gh-issue.md\" ]; then\n            cp \"${WORKFLOW_HOME}/bisection.yaml\" ./benchmark-output/\n            cp \"${WORKFLOW_HOME}/gh-issue.md\" ./benchmark-output/\n            # Setup the bisection environment\n            BISECTION_HOME=\"${HOME}/${{ env.BISECTION_ROOT }}/bisection-gh${GITHUB_RUN_ID}\"\n            mkdir -p \"${BISECTION_HOME}\"\n            mv ./benchmark-output/gh-issue.md \"${BISECTION_HOME}/gh-issue.md\"\n            cp ./benchmark-output/bisection.yaml \"${BISECTION_HOME}/config.yaml\"\n          fi\n      - name: Dispatch the bisection workflow\n        if: env.TORCHBENCH_PERF_SIGNAL\n        run: |\n          # Get the workflow ID from\n          # https://api.github.com/repos/pytorch/benchmark/actions/workflows\n          curl -u xuzhao9:${{ secrets.TORCHBENCH_ACCESS_TOKEN }} \\\n            -X POST \\\n            -H \"Accept: application/vnd.github.v3+json\" \\\n            https://api.github.com/repos/pytorch/benchmark/actions/workflows/16176850/dispatches \\\n            -d '{\"ref\": \"main\", \"inputs\": {\"issue_name\": \"bisection-gh'\"${GITHUB_RUN_ID}\"'\" } }'\n      - name: Copy artifact and upload to scribe\n        run: |\n          . activate \"${CONDA_ENV_NAME}\"\n          TODAY=$(date \"+%Y%m%d%H%M%S\")\n          LATEST_RESULT=$(find ${HOME}/${{ env.OUTPUT_DIR }}/gh${GITHUB_RUN_ID} -name \"*.json\" | sort -r | head -1)\n          echo \"Benchmark result file: ${LATEST_RESULT}\"\n          mkdir -p benchmark-output/\n          cp \"${LATEST_RESULT}\" ./benchmark-output/benchmark-result-${CONFIG_VER}-${TODAY}.json\n          # Load environment variables\n          CONFIG_DIR=torchbenchmark/score/configs/${CONFIG_VER}\n          CONFIG_ENV=${CONFIG_DIR}/config-${CONFIG_VER}.env\n          # Load environment variables\n          set -a; source \"${CONFIG_ENV}\"; set +a\n          SCORE_FILE=\"./benchmark-result-${CONFIG_VER}-score-${TODAY}.json\"\n          # Generate score file\n          python compute_score.py --score_version \"${CONFIG_VER}\" --benchmark_data_file \"${LATEST_RESULT}\" --output-json \"${SCORE_FILE}\"\n          # Upload result to Scribe\n          python scripts/upload_scribe_${CONFIG_VER}.py --pytest_bench_json \"${LATEST_RESULT}\" --torchbench_score_file \"${SCORE_FILE}\"\n      - name: Upload artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: Benchmark result\n          path: benchmark-output/\n      - name: Destroy conda env\n        run: |\n          conda env remove --name \"${CONDA_ENV_NAME}\"\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:23.988078", "created_at": "2021-12-10T19:59:31+01:00", "updated_at": "2022-10-13T23:49:48+02:00", "name": "TorchBench V2 sweep", "path": ".github/workflows/v2-sweep.yml", "contents": "name: TorchBench V2 sweep\non:\n  workflow_dispatch:\n    inputs:\n      sweep_name:\n        description: \"Sweep job name\"\n        required: true\n        default: \"sweep-example\"\n      upload_result:\n        description: \"Upload result\"\n        required: true\n        default: \"no\"\n\njobs:\n  run-benchmark:\n    environment: docker-s3-upload\n    env:\n      TORCHBENCH_VER: \"v2\"\n      CONFIG_VER: \"v2\"\n      SWEEP_DIR: \".torchbench/v2-sweep-ci\"\n      PYTHON_VER: \"3.10\"\n      CUDA_VER: \"12.1\"\n      MAGMA_VERSION: \"magma-cuda121\"\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      AWS_DEFAULT_REGION: us-east-1\n      BUILD_ENVIRONMENT: benchmark-sweep\n      IS_GHA: 1\n    if: ${{ github.repository_owner == 'pytorch' }}\n    runs-on: [self-hosted, bm-runner]\n    timeout-minutes: 2880 # 48 hours\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          ref: v2.0\n      - name: Run sweep job\n        run: |\n          SWEEP_JOB=${{ github.event.inputs.sweep_name }}\n          SWEEP_JOB_ROOT=\"${HOME}/${SWEEP_DIR}/${SWEEP_JOB}\"\n          SWEEP_JOB_OUTPUT=\"${SWEEP_JOB_ROOT}/results/gh${GITHUB_RUN_ID}\"\n          for CONFIG in ${SWEEP_JOB_ROOT}/configs/*.txt; do\n            echo \"Running config $CONFIG ...\"\n            # Create a new conda env\n            CONFIG_BASE=$(basename ${CONFIG})\n            CONDA_ENV_NAME=$(echo \"${CONFIG_BASE}\" | sed 's/[^-]*-\\(.*\\)\\.txt/\\1/')\n            conda create -y -q --name ${CONDA_ENV_NAME} python=${PYTHON_VER}\n            . activate ${CONDA_ENV_NAME}\n            . /data/nvme/bin/setup_instance.sh\n            conda install -y git-lfs\n            # Install magma\n            conda install -y -c pytorch \"${MAGMA_VERSION}\"\n            pip install -r \"${CONFIG}\"\n            python install.py\n            bash .github/scripts/run.sh \"${SWEEP_JOB_OUTPUT}\"\n            # Remove the conda env\n            conda deactivate\n            conda env remove --name ${CONDA_ENV_NAME}\n          done\n          echo \"Finished running tasks\"\n      - name: Upload result\n        run: |\n          UPLOAD_COND=${{ github.event.inputs.upload_result }}\n          # Quit if upload is not specified\n          if [ \"$UPLOAD_COND\" != \"yes\" ]; then\n            exit 0\n          fi\n          # Otherwise, continue upload\n          SWEEP_JOB=${{ github.event.inputs.sweep_name }}\n          SWEEP_JOB_ROOT=\"${HOME}/${SWEEP_DIR}/${SWEEP_JOB}\"\n          SWEEP_JOB_OUTPUT=\"${SWEEP_JOB_ROOT}/results/gh${GITHUB_RUN_ID}\"\n          CONDA_ENV_NAME=sweep-ci\n          conda create -y -q --name ${CONDA_ENV_NAME} python=${PYTHON_VER}\n          . activate ${CONDA_ENV_NAME}\n          pip install -r requirements.txt\n          pip install boto3\n          mkdir -p \"${SWEEP_JOB_OUTPUT}/scores\"\n          for RESULT in ${SWEEP_JOB_OUTPUT}/*.json; do\n            # Upload when the file is non-empty\n            if [ -s $RESULT ]; then\n              # Generate score file\n              RESULT_BASENAME=$(basename \"${RESULT}\")\n              SCORE_FILE=\"${SWEEP_JOB_OUTPUT}/scores/${RESULT_BASENAME}.score.json\"\n              python compute_score.py --score_version \"${CONFIG_VER}\" --benchmark_data_file \"${RESULT}\" > \"${SCORE_FILE}\"\n              # Upload score\n              python scripts/upload_scribe_${CONFIG_VER}.py --pytest_bench_json \"${RESULT}\" --torchbench_score_file \"${SCORE_FILE}\"\n            fi\n          done\n          conda deactivate\n          conda env remove --name ${CONDA_ENV_NAME}\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:25.035670", "created_at": "2022-02-01T00:54:30+01:00", "updated_at": "2024-06-28T11:41:55+02:00", "name": "TorchBench PR Test", "path": ".github/workflows/pr-gha-runner.yml", "contents": null, "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:26.067019", "created_at": "2022-07-05T23:45:12+02:00", "updated_at": "2022-10-19T20:15:36+02:00", "name": "TorchBench Userbenchmark on A100", "path": ".github/workflows/userbenchmark-a100.yml", "contents": "name: TorchBench Userbenchmark on A100\non:\n  schedule:\n    - cron: '00 18 * * *' # run at 6:00 PM UTC, K8s containers will roll out at 12PM EST\n  workflow_dispatch:\n    inputs:\n      userbenchmark_name:\n        description: \"Name of the user benchmark to run\"\n      userbenchmark_options:\n        description: \"Option of the user benchmark to run\"\n\njobs:\n  run-userbenchmark:\n    runs-on: [a100-runner]\n    timeout-minutes: 1440 # 24 hours\n    environment: docker-s3-upload\n    env:\n      BASE_CONDA_ENV: \"torchbench\"\n      CONDA_ENV: \"userbenchmark-a100\"\n      PLATFORM_NAME: \"gcp_a100\"\n      TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN: ${{ secrets.TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      SETUP_SCRIPT: \"/workspace/setup_instance.sh\"\n    steps:\n      - name: Checkout TorchBench\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Tune Nvidia GPU\n        run: |\n          sudo nvidia-smi -pm 1\n          sudo nvidia-smi -ac 1215,1410\n          nvidia-smi\n      - name: Clone and setup conda env\n        run: |\n          CONDA_ENV=${BASE_CONDA_ENV} . \"${SETUP_SCRIPT}\"\n          conda create --name \"${CONDA_ENV}\" --clone \"${BASE_CONDA_ENV}\"\n      - name: Install TorchBench\n        run: |\n          set -x\n          . \"${SETUP_SCRIPT}\"\n          pushd benchmark\n          python install.py\n      - name: Run user benchmark\n        run: |\n          set -x\n          . \"${SETUP_SCRIPT}\"\n          # remove old results\n          if [ -d benchmark-output ]; then rm -Rf benchmark-output; fi\n          pushd benchmark\n          if [ -d .userbenchmark ]; then rm -Rf .userbenchmark; fi\n          MANUAL_WORKFLOW=\"${{ github.event.inputs.userbenchmark_name }}\"\n          if [ -z \"${MANUAL_WORKFLOW}\" ]; then\n            # Figure out what userbenchmarks we should run, and run it\n            python ./.github/scripts/userbenchmark/schedule-benchmarks.py --platform ${PLATFORM_NAME}\n            if [ -d ./.userbenchmark ]; then\n              cp -r ./.userbenchmark ../benchmark-output\n            else\n              mkdir ../benchmark-output\n            fi\n          else\n            python run_benchmark.py \"${{ github.event.inputs.userbenchmark_name }}\" ${{ github.event.inputs.userbenchmark_options }}\n            cp -r ./.userbenchmark/\"${{ github.event.inputs.userbenchmark_name }}\" ../benchmark-output\n          fi\n      - name: Upload artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: TorchBench result\n          path: benchmark-output/\n      - name: Upload result jsons to Scribe and S3\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          pushd benchmark\n          RESULTS=($(find ${PWD}/../benchmark-output -name \"metrics-*.json\" -maxdepth 2 | sort -r))\n          echo \"Uploading result jsons: ${RESULTS}\"\n          for r in ${RESULTS[@]}; do\n            python ./scripts/userbenchmark/upload_scribe.py --userbenchmark_json \"${r}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n            python ./scripts/userbenchmark/upload_s3.py --upload-file \"${r}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n          done\n      - name: Clean up Conda env\n        if: always()\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          conda deactivate && conda deactivate\n          conda remove -n \"${CONDA_ENV}\" --all\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:27.389743", "created_at": "2022-07-29T18:58:52+02:00", "updated_at": "2022-10-11T20:48:21+02:00", "name": "TorchBench Userbenchmark on T4 Metal", "path": ".github/workflows/userbenchmark-t4-metal.yml", "contents": "name: TorchBench Userbenchmark on T4 Metal\non:\n  schedule:\n    - cron: '0 17 * * *' # run at 5 PM UTC\n  workflow_dispatch:\n    inputs:\n      userbenchmark_name:\n        description: \"Name of the user benchmark to run\"\n      userbenchmark_options:\n        description: \"Option of the user benchmark to run\"\n\njobs:\n  run-userbenchmark:\n    runs-on: [self-hosted, bm-runner]\n    timeout-minutes: 1440 # 24 hours\n    environment: docker-s3-upload\n    env:\n      CONDA_ENV_NAME: \"userbenchmarks-ci\"\n      PLATFORM_NAME: \"aws_t4_metal\"\n      TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN: ${{ secrets.TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      SETUP_SCRIPT: \"/data/nvme/bin/setup_instance.sh\"\n    steps:\n      - name: Checkout TorchBench\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Create conda environment\n        run: |\n          python benchmark/utils/python_utils.py --create-conda-env \"${CONDA_ENV_NAME}\"\n          sudo python benchmark/utils/cuda_utils.py --setup-cuda-softlink\n      - name: Install PyTorch nightly\n        run: |\n          . \"${SETUP_SCRIPT}\" && . activate \"${CONDA_ENV_NAME}\"\n          pushd benchmark\n          # Install dependencies\n          python utils/cuda_utils.py --install-torch-deps\n          # check the machine is tuned\n          pip install -U py-cpuinfo psutil distro boto3\n          sudo ${HOME}/miniconda3/envs/${CONDA_ENV_NAME}/bin/python3 torchbenchmark/util/machine_config.py\n          # Check if nightly builds are available\n          NIGHTLIES=$(python torchbenchmark/util/torch_nightly.py --packages torch)\n          # If failed, the script will generate empty result\n          if [ -z $NIGHTLIES ]; then\n              echo \"Torch nightly build failed. Cancel the workflow.\"\n              exit 1\n          fi\n          # Install PyTorch and torchvision nightly from pip\n          python utils/cuda_utils.py --install-torch-nightly\n          python utils/cuda_utils.py --check-torch-nightly-version\n          # make sure pytorch+cuda works\n          python -c \"import torch; torch.cuda.init()\"\n      - name: Install TorchBench\n        run: |\n          set -x\n          . \"${SETUP_SCRIPT}\" && conda activate \"${CONDA_ENV_NAME}\"\n          pushd benchmark\n          python install.py\n      - name: Run user benchmark\n        run: |\n          set -x\n          . \"${SETUP_SCRIPT}\" && conda activate \"${CONDA_ENV_NAME}\"\n          # remove old results\n          if [ -d benchmark-output ]; then rm -Rf benchmark-output; fi\n          pushd benchmark\n          if [ -d .userbenchmark ]; then rm -Rf .userbenchmark; fi\n          MANUAL_WORKFLOW=\"${{ github.event.inputs.userbenchmark_name }}\"\n          if [ -z \"${MANUAL_WORKFLOW}\" ]; then\n            # Figure out what userbenchmarks we should run, and run it\n            python ./.github/scripts/userbenchmark/schedule-benchmarks.py --platform ${PLATFORM_NAME}\n            if [ -d ./.userbenchmark ]; then\n              cp -r ./.userbenchmark ../benchmark-output\n            else\n              mkdir ../benchmark-output\n            fi\n          else\n            python run_benchmark.py \"${{ github.event.inputs.userbenchmark_name }}\" ${{ github.event.inputs.userbenchmark_options }}\n            cp -r ./.userbenchmark/\"${{ github.event.inputs.userbenchmark_name }}\" ../benchmark-output\n          fi\n      - name: Upload artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: TorchBench result\n          path: benchmark-output/\n      - name: Upload result jsons to Scribe\n        run: |\n          . \"${SETUP_SCRIPT}\" && conda activate \"${CONDA_ENV_NAME}\"\n          conda install -y six\n          pushd benchmark\n          RESULTS=($(find ${PWD}/../benchmark-output -name \"metrics-*.json\" -maxdepth 2 | sort -r))\n          echo \"Uploading result jsons: ${RESULTS}\"\n          for r in ${RESULTS[@]}; do\n            python ./scripts/userbenchmark/upload_scribe.py --userbenchmark_json \"${r}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n            python ./scripts/userbenchmark/upload_s3.py --upload-file \"${r}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n          done\n      - name: Remove conda environment\n        run: |\n          conda env remove --name \"${CONDA_ENV_NAME}\"\n      - name: Cleanup repo\n        if: always()\n        run: |\n          sudo rm -rf benchmark || true\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:28.515202", "created_at": "2022-08-27T01:39:03+02:00", "updated_at": "2022-10-12T00:03:30+02:00", "name": "TorchBench Userbenchmark on AI Cluster", "path": ".github/workflows/userbenchmark-ai-cluster.yml", "contents": "name: TorchBench Userbenchmark on AI Cluster\non:\n  workflow_dispatch:\n    inputs:\n\n\n\njobs:\n  collect-userbenchmark-result:\n    runs-on: [linux.2xlarge] # a small instance is sufficient\n    timeout-minutes: 60 # 1 hour\n    environment: docker-s3-upload\n    env:\n      PYTHON_VERSION: \"3.8\"\n      CONDA_ENV_NAME: \"ai-cluster-ci\"\n      PLATFORM_NAME: \"ai_cluster\"\n      TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN: ${{ secrets.TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n    steps:\n      - name: Checkout TorchBench\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Install conda\n        run: |\n          bash benchmark/scripts/install_conda.sh\n      - name: Create conda environment\n        run: |\n          . ${HOME}/miniconda3/etc/profile.d/conda.sh\n          conda create -y -q --name \"${CONDA_ENV_NAME}\" python=\"${PYTHON_VERSION}\"\n          conda activate \"${CONDA_ENV_NAME}\"\n          conda install -y pyyaml numpy boto3 requests\n      - name: Run AI Cluster benchmark\n        run: |\n          . ${HOME}/miniconda3/etc/profile.d/conda.sh && conda activate \"${CONDA_ENV_NAME}\"\n          # remove old results\n          if [ -d benchmark-output ]; then rm -Rf benchmark-output; fi\n          pushd benchmark\n          if [ -d .userbenchmark ]; then rm -Rf .userbenchmark; fi\n          # Figure out what userbenchmarks we should run, and run it\n          python ./.github/scripts/userbenchmark/schedule-benchmarks.py --platform ${PLATFORM_NAME}\n          cp -r ./.userbenchmark ../benchmark-output\n      - name: Upload artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: TorchBench result\n          path: benchmark-output/\n      - name: Remove conda environment\n        run: |\n          . ${HOME}/miniconda3/etc/profile.d/conda.sh\n          conda env remove --name \"${CONDA_ENV_NAME}\"\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:29.524500", "created_at": "2023-03-10T17:24:55+01:00", "updated_at": "2024-06-28T11:41:55+02:00", "name": "TorchBench PR Test on A10G", "path": ".github/workflows/pr-a10g.yml", "contents": null, "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:30.770993", "created_at": "2023-04-04T23:05:17+02:00", "updated_at": "2024-05-11T20:04:27+02:00", "name": "TorchBench V3 nightly (A100)", "path": ".github/workflows/v3-nightly.yml", "contents": "name: TorchBench V3 nightly (A100)\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '00 18 * * *' # run at 6:00 PM UTC, K8s containers will roll out at 12PM EST\n\njobs:\n  run-benchmark:\n    environment: docker-s3-upload\n    env:\n      BASE_CONDA_ENV: \"torchbench\"\n      CONDA_ENV:  \"torchbench-v3-nightly\"\n      PLATFORM_NAME: \"gcp_a100\"\n      SETUP_SCRIPT: \"/workspace/setup_instance.sh\"\n      TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN: ${{ secrets.TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      IS_GHA: 1\n      BUILD_ENVIRONMENT: benchmark-nightly\n    if: ${{ github.repository_owner == 'pytorch' }}\n    runs-on: [a100-runner]\n    steps:\n      - name: Checkout TorchBench v3.0 branch\n        uses: actions/checkout@v3\n        with:\n          ref: v3.0\n          path: benchmark\n      - name: Tune Nvidia GPU\n        run: |\n          sudo nvidia-smi -pm 1\n          sudo nvidia-smi -ac 1215,1410\n          nvidia-smi\n      - name: Clone and setup conda env\n        run: |\n          CONDA_ENV=${BASE_CONDA_ENV} . \"${SETUP_SCRIPT}\"\n          conda create --name \"${CONDA_ENV}\" --clone \"${BASE_CONDA_ENV}\"\n      - name: Install TorchBench\n        run: |\n          set -x\n          . \"${SETUP_SCRIPT}\"\n          pushd benchmark\n          python install.py\n      - name: Run the torch-nightly userbenchmark\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          # remove old results\n          if [ -d benchmark-output ]; then rm -Rf benchmark-output; fi\n          pushd benchmark\n          if [ -d .userbenchmark ]; then rm -Rf .userbenchmark; fi\n          python run_benchmark.py torch-nightly -c v3-cuda-tests.yaml\n          cp -r ./.userbenchmark/torch-nightly ../benchmark-output\n      - name: Detect potential regressions\n        continue-on-error: true\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          pushd benchmark\n          RESULTS=($(find ${PWD}/../benchmark-output -name \"metrics-*.json\" -maxdepth 2 | sort -r))\n          # TODO: the following assumes only one metrics-*.json is found. It will keep\n          # overwriting gh-issue.md if multiple are found.\n          for r in ${RESULTS[@]}; do\n            python regression_detector.py --platform \"${PLATFORM_NAME}\" --treatment \"${r}\" --owner @xuzhao9 \\\n            --gh-issue-path gh-issue.md --errors-path errors.txt\n          done\n          rm -r ../benchmark-output || true\n          cp -r ./.userbenchmark/torch-nightly ../benchmark-output\n      - name: Copy artifact and upload to scribe and Amazon S3\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          pushd benchmark\n          LATEST_RESULT=$(find ../benchmark-output/ -name \"metrics-*.json\" | sort -r | head -1)\n          echo \"Benchmark result file: ${LATEST_RESULT}\"\n          # Upload the result json to Scribe\n          python ./scripts/userbenchmark/upload_scribe.py --userbenchmark_json \"${LATEST_RESULT}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n          # Upload the result json to Amazon S3\n          python ./scripts/userbenchmark/upload_s3.py --upload-file \"${LATEST_RESULT}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n      - name: Copy regression results to Amazon S3 and kick off bisection\n        if: env.TORCHBENCH_REGRESSION_DETECTED\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          pushd benchmark\n          LATEST_REGRESSION_RESULT=$(find ../benchmark-output/ -name \"regression-*.yaml\" | sort -r | head -1)\n          # Upload the regression json to Amazon S3\n          python ./scripts/userbenchmark/upload_s3.py --upload-file \"${LATEST_REGRESSION_RESULT}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n          # Get the workflow ID from\n          # https://api.github.com/repos/pytorch/benchmark/actions/workflows\n          # And dispatch the bisection workflow\n          curl -u xuzhao9:${{ secrets.TORCHBENCH_ACCESS_TOKEN }} \\\n            -X POST \\\n            -H \"Accept: application/vnd.github.v3+json\" \\\n            https://api.github.com/repos/pytorch/benchmark/actions/workflows/57994037/dispatches \\\n            -d '{\"ref\": \"main\", \"inputs\": {\"regression_date\": \"${{ env.TORCHBENCH_REGRESSION_DETECTED }}\" } }'\n      - name: Upload result to GH Actions Artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: TorchBench V3 result\n          path: benchmark-output/\n      - name: Clean up Conda env\n        if: always()\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          conda deactivate && conda deactivate\n          conda remove -n \"${CONDA_ENV}\" --all\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:31.888237", "created_at": "2023-04-05T03:53:38+02:00", "updated_at": "2023-04-05T03:53:38+02:00", "name": "TorchBench Optim Regression Detector on A100", "path": ".github/workflows/userbenchmark-regression-detector.yml", "contents": "name: TorchBench Optim Regression Detector on A100\non:\n  schedule:\n    - cron: '0 4 * * *' # run at 4 AM UTC = midnight ET\n  workflow_dispatch:\n    inputs:\n      userbenchmark_name:\n        description: \"Name of the user benchmark to run\"\n      userbenchmark_options:\n        description: \"Option of the user benchmark to run\"\n\njobs:\n  run-userbenchmark:\n    runs-on: [a100-runner]\n    timeout-minutes: 1440 # 24 hours\n    environment: docker-s3-upload\n    env:\n      BASE_CONDA_ENV: \"torchbench\"\n      CONDA_ENV: \"optim\"\n      PLATFORM_NAME: \"gcp_a100\"\n      TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN: ${{ secrets.TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      SETUP_SCRIPT: \"/workspace/setup_instance.sh\"\n      HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}\n    steps:\n      - name: Checkout TorchBench\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Tune Nvidia GPU\n        run: |\n          sudo nvidia-smi -pm 1\n          sudo nvidia-smi -ac 1215,1410\n          nvidia-smi\n      - name: Clone and setup Conda env\n        run: |\n          CONDA_ENV=${BASE_CONDA_ENV} . \"${SETUP_SCRIPT}\"\n          conda create --name \"${CONDA_ENV}\" --clone \"${BASE_CONDA_ENV}\"\n      - name: Install TorchBench\n        run: |\n          set -x\n          . \"${SETUP_SCRIPT}\"\n          pushd benchmark\n          python install.py\n      - name: Print torch.version.git_version\n        run: |\n          set -x\n          . \"${SETUP_SCRIPT}\"\n          python -c \"import torch; print(torch.version.git_version)\"\n      - name: Run optim user benchmark\n        run: |\n          set -x\n          . \"${SETUP_SCRIPT}\"\n          # remove old results\n          if [ -d benchmark-output ]; then rm -Rf benchmark-output; fi\n          pushd benchmark\n          if [ -d .userbenchmark ]; then rm -Rf .userbenchmark; fi\n\n          # TODO: scale this to run other benchmarks, but let's start with optim\n          python -m userbenchmark.optim.run_optim_benchmarks -c ${{ github.event.inputs.userbenchmark_options }}\n          cp -r ./.userbenchmark/optim ../benchmark-output\n      - name: Detect potential regressions\n        continue-on-error: true\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          pushd benchmark\n          RESULTS=($(find ${PWD}/../benchmark-output -name \"metrics-*.json\" -maxdepth 2 | sort -r))\n          # TODO: the following assumes only one metrics-*.json is found. It will keep \n          # overwriting gh-issue.md if multiple are found. Scaling this up is a potential next step.\n          for r in ${RESULTS[@]}; do\n            python regression_detector.py --platform \"${PLATFORM_NAME}\" --treatment \"${r}\" --owner @janeyx99 \\\n            --gh-issue-path gh-issue.md --errors-path errors.txt\n          done\n      - name: Create the github issue\n        continue-on-error: true\n        if: false\n        uses: peter-evans/create-issue-from-file@v4\n        with:\n          title: Optim Perf Signal Detected by TorchBench CI on ${{ env.TORCHBENCH_REGRESSION_DETECTED }}\n          token: ${{ secrets.TORCHBENCH_ACCESS_TOKEN }}\n          content-filepath: ./benchmark/gh-issue.md\n          labels: |\n            torchbench-perf-report\n      - name: Upload result jsons to Scribe and S3\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          pushd benchmark\n          RESULTS=($(find ${PWD}/../benchmark-output -name \"metrics-*.json\" -maxdepth 2 | sort -r))\n          echo \"Uploading result jsons: ${RESULTS}\"\n          for r in ${RESULTS[@]}; do\n            python ./scripts/userbenchmark/upload_scribe.py --userbenchmark_json \"${r}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n            python ./scripts/userbenchmark/upload_s3.py --upload-file \"${r}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n          done\n      - name: Upload artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: TorchBench result\n          path: benchmark-output/\n      - name: Finally, error if errors.txt exists\n        if: always()\n        run: |\n          # Do not error earlier as we want all artifacts and regressions to be reported first\n          # TODO: potentially move errors.txt to benchmark-output so it gets uploaded to S3\n          pushd benchmark\n          if [ -e errors.txt ]; then cat errors.txt && exit 1; fi\n      - name: Remove conda environment\n        if: always()\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          conda deactivate && conda deactivate\n          conda remove -n \"${CONDA_ENV}\" --all\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:33.020494", "created_at": "2023-04-27T22:08:34+02:00", "updated_at": "2024-07-02T20:09:06+02:00", "name": "TorchBench Nightly Docker Build", "path": ".github/workflows/build-nightly-docker.yml", "contents": "name: TorchBench nightly docker build\non:\n  schedule:\n    # Push the nightly docker daily at 3 PM UTC\n    - cron: '0 15 * * *'\n  workflow_dispatch:\n    inputs:\n      nightly_date:\n        description: \"PyTorch nightly version\"\n        required: false\nenv:\n  WITH_PUSH: \"true\"\njobs:\n  build-push-docker:\n    if: ${{ github.repository_owner == 'pytorch' }}\n    runs-on: [self-hosted, linux.4xlarge]\n    environment: docker-s3-upload\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Login to GitHub Container Registry\n        if: ${{ env.WITH_PUSH == 'true' }}\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: pytorch\n          password: ${{ secrets.TORCHBENCH_ACCESS_TOKEN }}\n      - name: Build TorchBench nightly docker\n        run: |\n          export NIGHTLY_DATE=\"${{ github.event.inputs.nightly_date }}\"\n          if [ -z \"${NIGHTLY_DATE}\" ]; then\n            export TODAY=$(date +'%Y%m%d')\n            export DOCKER_TAG=dev${TODAY}\n          else\n            export DOCKER_TAG=dev${NIGHTLY_DATE}\n          fi\n          cd benchmark/docker\n          full_ref=\"${{ github.ref }}\"\n          prefix=\"refs/heads/\"\n          branch_name=${full_ref#$prefix}\n          docker build . --build-arg TORCHBENCH_BRANCH=\"${branch_name}\" --build-arg FORCE_DATE=\"${NIGHTLY_DATE}\" \\\n              -f torchbench-nightly.dockerfile -t ghcr.io/pytorch/torchbench:${DOCKER_TAG}\n          docker tag ghcr.io/pytorch/torchbench:${DOCKER_TAG} ghcr.io/pytorch/torchbench:latest\n      - name: Push docker to remote\n        if: ${{ env.WITH_PUSH == 'true' }}\n        run: |\n          export TODAY=$(date +'%Y%m%d')\n          export DOCKER_TAG=dev${TODAY}\n          docker push ghcr.io/pytorch/torchbench:${DOCKER_TAG}\n          docker push ghcr.io/pytorch/torchbench:latest\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:34.252058", "created_at": "2023-05-11T16:27:59+02:00", "updated_at": "2023-05-11T19:47:42+02:00", "name": "TorchBench Userbenchmark on AWS c5.24xlarge", "path": ".github/workflows/userbenchmark-c5-24xlarge.yml", "contents": "name: TorchBench Userbenchmark on AWS c5.24xlarge\non:\n  workflow_dispatch:\n    inputs:\n      userbenchmark_name:\n        description: \"Name of the user benchmark to run\"\n      userbenchmark_options:\n        description: \"Option of the user benchmark to run\"\n\njobs:\n  run-userbenchmark:\n    runs-on: [self-hosted, linux.24xlarge]\n    timeout-minutes: 1440 # 24 hours\n    environment: docker-s3-upload\n    env:\n      PLATFORM_NAME: \"aws_c5_24xlarge\"\n      TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN: ${{ secrets.TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      CONDA_ENV: \"torchbench\"\n      DOCKER_IMAGE: \"ghcr.io/pytorch/torchbench:latest\"\n      SETUP_SCRIPT: \"/workspace/setup_instance.sh\"\n    steps:\n      - name: \"[FB EMPLOYEES] Enable SSH (Click me for login details)\"\n        uses: pytorch/test-infra/.github/actions/setup-ssh@main\n        with:\n          github-secret: ${{ secrets.TORCHBENCH_ACCESS_TOKEN }}\n      - name: Checkout TorchBench\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Install Conda\n        run: |\n          cd benchmark\n          bash scripts/install_conda.sh\n      - name: Pull docker image\n        uses: pytorch/test-infra/.github/actions/pull-docker-image@main\n        with:\n          docker-image: ${{ env.DOCKER_IMAGE }}\n      - name: Run Docker Image\n        run: |\n          CONTAINER_ID=$(docker run \\\n            -e CONDA_ENV \\\n            -e SETUP_SCRIPT \\\n            --tty \\\n            --detach \\\n            -v \"${PWD}/benchmark:/benchmark\" \\\n            -w / \\\n            \"${{ env.DOCKER_IMAGE }}\" \\\n            tail -f /dev/null\n          )\n          echo \"Container ID: ${CONTAINER_ID}\"\n          # Write the CONTAINER_ID to GITHUB_ENV\n          echo \"CONTAINER_ID=${CONTAINER_ID}\" >> \"${GITHUB_ENV}\"\n      - name: Install TorchBench\n        run: |\n          docker exec -t -w \"/benchmark\" \"${CONTAINER_ID}\" bash /benchmark/scripts/torchbench_install.sh\n      - name: Run user benchmark\n        run: |\n          # remove old results\n          if [ -d benchmark-output ]; then rm -Rf benchmark-output; fi\n          pushd benchmark\n          if [ -d .userbenchmark ]; then rm -Rf .userbenchmark; fi\n          # Run userbenchmark\n          MANUAL_WORKFLOW=\"${{ github.event.inputs.userbenchmark_name }}\"\n          if [ -z \"${MANUAL_WORKFLOW}\" ]; then\n            # Figure out what userbenchmarks we should run, and run it\n            docker exec -t -w \"/benchmark\" \"${CONTAINER_ID}\" bash -c \". ${SETUP_SCRIPT} && conda activate ${CONDA_ENV} && \\\n                              python .github/scripts/userbenchmark/schedule-benchmarks.py --platform ${PLATFORM_NAME}\"\n            if [ -d ./.userbenchmark ]; then\n              cp -r ./.userbenchmark ../benchmark-output\n            else\n              mkdir ../benchmark-output\n            fi\n          else\n            docker exec -t -w \"/benchmark\" \"${CONTAINER_ID}\" bash -c \". ${SETUP_SCRIPT} && conda activate ${CONDA_ENV} && \\\n                              python run_benchmark.py \\\n                              \\\"${{ github.event.inputs.userbenchmark_name }}\\\" ${{ github.event.inputs.userbenchmark_options }}\"\n            cp -r ./.userbenchmark/\"${{ github.event.inputs.userbenchmark_name }}\" ../benchmark-output\n          fi\n      - name: Upload result jsons to Scribe\n        run: |\n          pushd benchmark\n          . scripts/activate_conda.sh\n          RESULTS=($(find ${PWD}/../benchmark-output -name \"metrics-*.json\" -maxdepth 2 | sort -r))\n          echo \"Uploading result jsons: ${RESULTS}\"\n          for r in ${RESULTS[@]}; do\n            python ./scripts/userbenchmark/upload_scribe.py --userbenchmark_json \"${r}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n            python ./scripts/userbenchmark/upload_s3.py --upload-file \"${r}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n          done\n      - name: Upload artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: TorchBench result\n          path: benchmark-output/\n      - name: Teardown Linux\n        uses: pytorch/test-infra/.github/actions/teardown-linux@main\n        if: always()\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:35.377129", "created_at": "2023-05-23T05:07:01+02:00", "updated_at": "2023-05-23T23:50:49+02:00", "name": "TorchBench V3 bisection", "path": ".github/workflows/v3-bisection.yml", "contents": "name: TorchBench V3 bisection\non:\n  workflow_dispatch:\n    inputs:\n      regression_date:\n        description: \"Date of the regression\"\n        required: true\n        default: \"2023-08-29\"\n\njobs:\n  bisection:\n    environment: docker-s3-upload\n    env:\n      BASE_CONDA_ENV: \"torchbench\"\n      CONDA_ENV: \"bisection-ci-v3\"\n      PLATFORM_NAME: \"gcp_a100\"\n      USERBENCHMARK_NAME: \"torch-nightly\"\n      SETUP_SCRIPT: \"/workspace/setup_instance.sh\"\n      BISECT_WORKDIR: \".userbenchmark/torch-nightly/bisection\"\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n    if: ${{ github.repository_owner == 'pytorch' }}\n    runs-on: [a100-runner]\n    timeout-minutes: 2880 # 48 hours\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Checkout pytorch\n        uses: actions/checkout@v3\n        with:\n          repository: pytorch/pytorch\n          path: srcs/pytorch\n          fetch-depth: 0\n      - name: Checkout torchvision\n        uses: actions/checkout@v3\n        with:\n          repository: pytorch/vision\n          path: srcs/vision\n          fetch-depth: 0\n      - name: Checkout torchdata\n        uses: actions/checkout@v3\n        with:\n          repository: pytorch/data\n          path: srcs/data\n          fetch-depth: 0\n      - name: Checkout torchaudio\n        uses: actions/checkout@v3\n        with:\n          repository: pytorch/audio\n          path: srcs/audio\n          fetch-depth: 0\n      - name: Tune Nvidia GPU\n        run: |\n          sudo nvidia-smi -pm 1\n          sudo nvidia-smi -ac 1215,1410\n          nvidia-smi\n      - name: Install Deps\n        run: |\n          sudo apt-get -y update && sudo apt -y update\n      - name: Setup conda env\n        run: |\n          CONDA_ENV=${BASE_CONDA_ENV} . \"${SETUP_SCRIPT}\"\n          cd benchmark\n          python ./utils/python_utils.py --create-conda-env \"${CONDA_ENV}\"\n      - name: Setup bisection environment\n        run: |\n          . \"${SETUP_SCRIPT}\"; cd benchmark\n          python utils/cuda_utils.py --install-torch-build-deps\n          python utils/cuda_utils.py --install-torchbench-deps\n          mkdir -p \"${BISECT_WORKDIR}\"\n          REGRESSION_DATE=\"${{ github.event.inputs.regression_date }}\"\n          python regression_detector.py --name \"${USERBENCHMARK_NAME}\" --platform \"${PLATFORM_NAME}\" \\\n                                        --end-date \"${REGRESSION_DATE}\" --download-from-s3 --output \"${BISECT_WORKDIR}/regression-${REGRESSION_DATE}.yaml\"\n      - name: Bisection\n        run: |\n          . \"${SETUP_SCRIPT}\"; cd benchmark\n          REGRESSION_DATE=\"${{ github.event.inputs.regression_date }}\"\n          python bisection.py --work-dir \"${BISECT_WORKDIR}\" --torch-repos-path \"${PWD}/../srcs\" \\\n                --torchbench-repo-path \"${PWD}\" --config \"${BISECT_WORKDIR}/regression-${REGRESSION_DATE}.yaml\" \\\n                --output \"${BISECT_WORKDIR}/bisect-output-gh${GITHUB_RUN_ID}.json\"\n          cp -r \"${BISECT_WORKDIR}\" ../bisection-result\n      - name: Create the github issue\n        continue-on-error: true\n        if: env.TORCHBENCH_BISECTION_COMMIT_FOUND_OR_FAILED\n        uses: peter-evans/create-issue-from-file@v4\n        with:\n          title: V3 Performance Signal Detected by TorchBench Userbenchmark \"torch-nightly\" on ${{ env.TORCHBENCH_BISECTION_COMMIT_FOUND_OR_FAILED }}\n          content-filepath: ./benchmark/gh-issue.md\n          token: ${{ secrets.TORCHBENCH_ACCESS_TOKEN }}\n          labels: |\n            torchbench-perf-report\n      - name: Upload artifact\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: Bisection result\n          path: bisection-result/\n      - name: Clean up Conda env\n        if: always()\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          conda deactivate && conda deactivate\n          conda remove -n \"${CONDA_ENV}\" --all\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:36.512339", "created_at": "2023-07-08T00:15:04+02:00", "updated_at": "2023-07-08T00:15:04+02:00", "name": "TorchBench Userbenchmark test on IBM Cloud", "path": ".github/workflows/userbenchmark-ibmcloud-testrunner.yml", "contents": "name: TorchBench Userbenchmark test on IBM Cloud \non:\n  workflow_dispatch:\n    inputs:\n      userbenchmark_name:\n        description: \"Name of the user benchmark to run\"\n      userbenchmark_options:\n        description: \"Option of the user benchmark to run\"\n\njobs:\n  run-userbenchmark:\n    runs-on: [self-hosted, testrunner1545]\n    timeout-minutes: 1440 # 24 hours\n    environment: docker-s3-upload\n    env:\n      PLATFORM_NAME: \"ibm_cloud\"\n      TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN: ${{ secrets.TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      CONDA_ENV: \"torchbench\"\n      DOCKER_IMAGE: \"ghcr.io/pytorch/torchbench:latest\"\n      SETUP_SCRIPT: \"/workspace/setup_instance.sh\"\n    steps:\n      - name: Checkout TorchBench\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Install Conda\n        run: |\n          cd benchmark\n          bash scripts/install_conda.sh\n      - name: Pull docker image\n        uses: pytorch/test-infra/.github/actions/pull-docker-image@main\n        with:\n          docker-image: ${{ env.DOCKER_IMAGE }}\n      - name: Run Docker Image\n        run: |\n          CONTAINER_ID=$(docker run \\\n            -e CONDA_ENV \\\n            -e SETUP_SCRIPT \\\n            --tty \\\n            --detach \\\n            -v \"${PWD}/benchmark:/benchmark\" \\\n            -w / \\\n            \"${{ env.DOCKER_IMAGE }}\" \\\n            tail -f /dev/null\n          )\n          echo \"Container ID: ${CONTAINER_ID}\"\n          # Write the CONTAINER_ID to GITHUB_ENV\n          echo \"CONTAINER_ID=${CONTAINER_ID}\" >> \"${GITHUB_ENV}\"\n      - name: Install TorchBench\n        run: |\n          docker exec -t -w \"/benchmark\" \"${CONTAINER_ID}\" bash /benchmark/scripts/torchbench_install.sh\n      - name: Run user benchmark\n        run: |\n          # remove old results\n          if [ -d benchmark-output ]; then rm -Rf benchmark-output; fi\n          pushd benchmark\n          if [ -d .userbenchmark ]; then rm -Rf .userbenchmark; fi\n          # Run userbenchmark\n          MANUAL_WORKFLOW=\"${{ github.event.inputs.userbenchmark_name }}\"\n          if [ -z \"${MANUAL_WORKFLOW}\" ]; then\n            # Figure out what userbenchmarks we should run, and run it\n            docker exec -t -w \"/benchmark\" \"${CONTAINER_ID}\" bash -c \". ${SETUP_SCRIPT} && conda activate ${CONDA_ENV} && \\\n                              python .github/scripts/userbenchmark/schedule-benchmarks.py --platform ${PLATFORM_NAME}\"\n            if [ -d ./.userbenchmark ]; then\n              cp -r ./.userbenchmark ../benchmark-output\n            else\n              mkdir ../benchmark-output\n            fi\n          else\n            docker exec -t -w \"/benchmark\" \"${CONTAINER_ID}\" bash -c \". ${SETUP_SCRIPT} && conda activate ${CONDA_ENV} && \\\n                              python run_benchmark.py \\\n                              \\\"${{ github.event.inputs.userbenchmark_name }}\\\" ${{ github.event.inputs.userbenchmark_options }}\"\n            cp -r ./.userbenchmark/\"${{ github.event.inputs.userbenchmark_name }}\" ../benchmark-output\n          fi\n      - name: Upload result jsons to Scribe\n        run: |\n          pushd benchmark\n          . scripts/activate_conda.sh\n          RESULTS=($(find ${PWD}/../benchmark-output -name \"metrics-*.json\" -maxdepth 2 | sort -r))\n          echo \"Uploading result jsons: ${RESULTS}\"\n          for r in ${RESULTS[@]}; do\n            python ./scripts/userbenchmark/upload_scribe.py --userbenchmark_json \"${r}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n            python ./scripts/userbenchmark/upload_s3.py --upload-file \"${r}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n          done\n      - name: Upload artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: TorchBench result\n          path: benchmark-output/\n      - name: Teardown Linux\n        uses: pytorch/test-infra/.github/actions/teardown-linux@main\n        if: always()\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:37.732623", "created_at": "2023-11-24T01:15:32+01:00", "updated_at": "2023-11-24T01:15:32+01:00", "name": "TorchBench A100 bisection", "path": ".github/workflows/userbenchmark-a100-bisection.yml", "contents": "name: TorchBench A100 bisection\non:\n  workflow_dispatch:\n    inputs:\n      start_commit:\n        description: \"Start PyTorch commit hash\"\n        required: true\n      end_commit:\n        description: \"End PyTorch commit hash\"\n        required: true\n      userbenchmark:\n        description: \"Userbenchmark name\"\n        required: true\n      userbenchmark_args:\n        description: \"Userbenchmark arguments\"\n        required: true\n\njobs:\n  bisection:\n    environment: docker-s3-upload\n    env:\n      BASE_CONDA_ENV: \"torchbench\"\n      CONDA_ENV: \"bisection-ci-a100\"\n      PLATFORM_NAME: \"gcp_a100\"\n      SETUP_SCRIPT: \"/workspace/setup_instance.sh\"\n      BISECT_WORKDIR: \".userbenchmark/${{ github.event.inputs.userbenchmark }}/bisection\"\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}\n    if: ${{ github.repository_owner == 'pytorch' }}\n    runs-on: [a100-runner]\n    timeout-minutes: 2880 # 48 hours\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Checkout pytorch\n        uses: actions/checkout@v3\n        with:\n          repository: pytorch/pytorch\n          path: srcs/pytorch\n          fetch-depth: 0\n      - name: Checkout torchvision\n        uses: actions/checkout@v3\n        with:\n          repository: pytorch/vision\n          path: srcs/vision\n          fetch-depth: 0\n      - name: Checkout torchaudio\n        uses: actions/checkout@v3\n        with:\n          repository: pytorch/audio\n          path: srcs/audio\n          fetch-depth: 0\n      - name: Tune Nvidia GPU\n        run: |\n          sudo nvidia-smi -pm 1\n          sudo nvidia-smi -ac 1215,1410\n          nvidia-smi\n      - name: Install devel packages\n        run: |\n          sudo apt-get update -y\n          sudo apt-get update -y\n          sudo apt-get install -y libjpeg-dev zlib1g-dev libpng-dev\n          sudo ldconfig\n          sudo ldconfig\n      - name: Setup conda env\n        run: |\n          CONDA_ENV=${BASE_CONDA_ENV} . \"${SETUP_SCRIPT}\"\n          cd benchmark\n          mkdir -p \"${BISECT_WORKDIR}\"\n          PYTORCH_GIT_HASH=$(python -c 'import torch; print(torch.version.git_version)')\n          python run_benchmark.py ${{ github.event.inputs.userbenchmark }} ${{ github.event.inputs.userbenchmark_args }} --dryrun \\\n                 --output \"${BISECT_WORKDIR}/metrics-control.json\"\n          sed -i \"s/${PYTORCH_GIT_HASH}/${{ github.event.inputs.start_commit }}/g\" \"${BISECT_WORKDIR}/metrics-control.json\"\n          python run_benchmark.py ${{ github.event.inputs.userbenchmark }} ${{ github.event.inputs.userbenchmark_args }} --dryrun \\\n                 --output \"${BISECT_WORKDIR}/metrics-treatment.json\"\n          sed -i \"s/${PYTORCH_GIT_HASH}/${{ github.event.inputs.end_commit }}/g\" \"${BISECT_WORKDIR}/metrics-treatment.json\"\n          python regression_detector.py \\\n                 --control \"${BISECT_WORKDIR}/metrics-control.json\" --treatment \"${BISECT_WORKDIR}/metrics-treatment.json\" \\\n                 --output \"${BISECT_WORKDIR}/regression-gh${GITHUB_RUN_ID}.yaml\"\n          python ./utils/python_utils.py --create-conda-env \"${CONDA_ENV}\"\n      - name: Setup bisection environment\n        run: |\n          . \"${SETUP_SCRIPT}\"; cd benchmark\n          python utils/cuda_utils.py --install-torch-build-deps\n          python utils/cuda_utils.py --install-torchbench-deps\n      - name: Bisection\n        run: |\n          . \"${SETUP_SCRIPT}\"; cd benchmark\n          python bisection.py --work-dir \"${BISECT_WORKDIR}\" --torch-repos-path \"${PWD}/../srcs\" \\\n                --torchbench-repo-path \"${PWD}\" --config \"${BISECT_WORKDIR}/regression-gh${GITHUB_RUN_ID}.yaml\" \\\n                --output \"${BISECT_WORKDIR}/bisect-output-gh${GITHUB_RUN_ID}.json\"\n          cp -r \"${BISECT_WORKDIR}\" ../bisection-result\n      - name: Upload artifact\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: Bisection result\n          path: bisection-result/\n      - name: Clean up Conda env\n        if: always()\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          conda deactivate && conda deactivate\n          conda remove -n \"${CONDA_ENV}\" --all\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:38.964360", "created_at": "2024-01-28T05:26:02+01:00", "updated_at": "2024-01-29T19:21:42+01:00", "name": "TorchBench Nightly GCP Base Docker Build", "path": ".github/workflows/build-gcp-docker.yml", "contents": "name: TorchBench Nightly GCP Base Docker Build\non:\n  workflow_dispatch:\n\nenv:\n  WITH_PUSH: \"true\"\n\njobs:\n  build-push-docker:\n    if: ${{ github.repository_owner == 'pytorch' }}\n    runs-on: [self-hosted, linux.4xlarge]\n    environment: docker-s3-upload\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Login to Docker Container Registry\n        if: ${{ env.WITH_PUSH == 'true' }}\n        uses: docker/login-action@v2\n        with:\n          registry: docker.io\n          username: xzhao9\n          password: ${{ secrets.DOCKER_PERSONAL_ACCESS_TOKEN }}\n      - name: Build TorchBench Nightly GCP Base Docker\n        run: |\n          cd benchmark/docker\n          docker build . \\\n              -f gcp-a100-runner-dind.dockerfile -t xzhao9/gcp-a100-runner-dind:latest\n      - name: Push docker to remote\n        if: ${{ env.WITH_PUSH == 'true' }}\n        run: |\n          docker push xzhao9/gcp-a100-runner-dind:latest\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:40.597937", "created_at": "2024-01-29T20:13:34+01:00", "updated_at": "2024-01-29T20:16:05+01:00", "name": "TorchBench PR Test for GitHub issue creation", "path": ".github/workflows/pr-test-ghissue.yml", "contents": null, "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:41.827066", "created_at": "2024-04-26T00:37:22+02:00", "updated_at": "2024-04-26T00:37:22+02:00", "name": "TritonBench nightly (A100)", "path": ".github/workflows/tritonbench-nightly.yml", "contents": "name: TritonBench nightly (A100)\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '00 18 * * *' # run at 6:00 PM UTC, K8s containers will roll out at 12PM EST\n\njobs:\n  run-benchmark:\n    environment: docker-s3-upload\n    env:\n      BASE_CONDA_ENV: \"torchbench\"\n      CONDA_ENV:  \"tritonbench-nightly\"\n      PLATFORM_NAME: \"gcp_a100\"\n      SETUP_SCRIPT: \"/workspace/setup_instance.sh\"\n      TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN: ${{ secrets.TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      IS_GHA: 1\n      BUILD_ENVIRONMENT: benchmark-nightly\n    if: ${{ github.repository_owner == 'pytorch' }}\n    runs-on: [a100-runner]\n    steps:\n      - name: Checkout TorchBench\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Tune Nvidia GPU\n        run: |\n          sudo nvidia-smi -pm 1\n          sudo nvidia-smi -ac 1215,1410\n          nvidia-smi\n          sudo ldconfig\n      - name: Clone and setup conda env\n        run: |\n          CONDA_ENV=${BASE_CONDA_ENV} . \"${SETUP_SCRIPT}\"\n          conda create --name \"${CONDA_ENV}\" --clone \"${BASE_CONDA_ENV}\"\n      - name: Run the triton userbenchmark ci\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          # remove old results if any\n          if [ -d benchmark-output ]; then rm -Rf benchmark-output; fi\n          pushd benchmark\n          if [ -d .userbenchmark ]; then rm -Rf .userbenchmark; fi\n          python run_benchmark.py triton --ci\n          cp -r ./.userbenchmark/triton ../benchmark-output\n      - name: Copy artifact and upload to scribe and Amazon S3\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          pushd benchmark\n          LATEST_RESULT=$(find ../benchmark-output/ -name \"metrics-*.json\" | sort -r | head -1)\n          echo \"Benchmark result file: ${LATEST_RESULT}\"\n          # Upload the result json to Scribe\n          python ./scripts/userbenchmark/upload_scribe.py --userbenchmark_json \"${LATEST_RESULT}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n          # Upload the result json to Amazon S3\n          python ./scripts/userbenchmark/upload_s3.py --upload-file \"${LATEST_RESULT}\" --userbenchmark_platform \"${PLATFORM_NAME}\"\n      - name: Upload result to GH Actions Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: TritonBench result\n          path: benchmark-output/\n      - name: Clean up Conda env\n        if: always()\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          conda deactivate && conda deactivate\n          conda remove -n \"${CONDA_ENV}\" --all\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:42.953294", "created_at": "2024-05-30T18:44:08+02:00", "updated_at": "2024-06-07T01:30:41+02:00", "name": "Torchao nightly workflow (A100)", "path": ".github/workflows/torchao.yml", "contents": "name: Torchao nightly workflow (A100)\non:\n  workflow_dispatch:\n\n\njobs:\n  run-benchmark:\n    environment: docker-s3-upload\n    env:\n      BASE_CONDA_ENV: \"torchbench\"\n      CONDA_ENV:  \"torchao-nightly\"\n      PLATFORM_NAME: \"gcp_a100\"\n      SETUP_SCRIPT: \"/workspace/setup_instance.sh\"\n      TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN: ${{ secrets.TORCHBENCH_USERBENCHMARK_SCRIBE_GRAPHQL_ACCESS_TOKEN }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      IS_GHA: 1\n      BUILD_ENVIRONMENT: benchmark-nightly\n    if: ${{ github.repository_owner == 'pytorch' }}\n    runs-on: [a100-runner]\n    timeout-minutes: 1440 # 24 hours\n    steps:\n      - name: Checkout TorchBench\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Tune Nvidia GPU\n        run: |\n          sudo nvidia-smi -pm 1\n          sudo nvidia-smi -ac 1215,1410\n          nvidia-smi\n          sudo ldconfig\n      - name: Clone and setup conda env\n        run: |\n          CONDA_ENV=${BASE_CONDA_ENV} . \"${SETUP_SCRIPT}\"\n          conda create --name \"${CONDA_ENV}\" --clone \"${BASE_CONDA_ENV}\"\n      - name: Run the torchao userbenchmark\n        env:\n          WORKFLOW_RUN_ID: ${{ github.event.workflow_run.id }}\n          WORKFLOW_RUN_ATTEMPT: ${{ github.event.workflow_run.run_attempt }}\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          set -x\n          # remove old results if exists\n          if [ -d benchmark-output ]; then rm -Rf benchmark-output; fi\n          pushd benchmark\n          if [ -d .userbenchmark ]; then rm -Rf .userbenchmark; fi\n          # Install torchao\n          echo \"Installing torchao\"\n          pip uninstall -y torchao\n          python install.py --userbenchmark torchao\n          echo \"Running the torchao userbenchmark\"\n          python run_benchmark.py torchao --ci --dashboard\n      - name: Copy the benchmark logs to benchmark-output\n        if: always()\n        run: |\n          pushd benchmark\n          cp -r ./.userbenchmark/torchao ../benchmark-output\n      - name: Upload result to GH Actions Artifact\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: Torchao nightly result\n          path: benchmark-output/\n      - name: Copy artifact and upload to scribe and Amazon S3\n        env:\n          WORKFLOW_RUN_ID: ${{ github.event.workflow_run.id }}\n          WORKFLOW_RUN_ATTEMPT: ${{ github.event.workflow_run.run_attempt }}\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          pushd benchmark\n          # Upload the result json to Amazon S3\n          python ./scripts/userbenchmark/upload_s3_csv.py --s3-prefix torchbench-csv --userbenchmark torchao \\\n                                                          --upload-path ../benchmark-output --match-filename \"^torchao_.*\\.csv\"\n      - name: Clean up Conda env\n        if: always()\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          conda deactivate && conda deactivate\n          conda remove -n \"${CONDA_ENV}\" --all\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:43.955927", "created_at": "2024-06-22T00:23:23+02:00", "updated_at": "2024-06-22T16:23:55+02:00", "name": "linux-test-cpu", "path": ".github/workflows/_linux-test-cpu.yml", "contents": "name: linux-test-cpu\non:\n  workflow_call:\n    secrets:\n      HUGGING_FACE_HUB_TOKEN:\n        required: false\n        description: |\n          HF Auth token to avoid rate limits when downloading models or datasets from hub\n\njobs:\n  linux-test-cpu:\n    # Don't run on forked repos\n    if: github.repository_owner == 'pytorch'\n    runs-on: [self-hosted, linux.24xlarge]\n    timeout-minutes: 240\n    environment: docker-s3-upload\n    env:\n      BASE_CONDA_ENV: \"torchbench\"\n      CONDA_ENV: \"pr-test-cpu\"\n      DOCKER_IMAGE: \"ghcr.io/pytorch/torchbench:latest\"\n      SETUP_SCRIPT: \"/workspace/setup_instance.sh\"\n      TEST_CONFIG: \"cpu\"\n      HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}\n    steps:\n      - name: \"[FB EMPLOYEES] Enable SSH (Click me for login details)\"\n        uses: pytorch/test-infra/.github/actions/setup-ssh@main\n        with:\n          github-secret: ${{ secrets.TORCHBENCH_ACCESS_TOKEN }}\n      - name: Checkout TorchBench\n        uses: actions/checkout@v3\n        with:\n          path: benchmark\n      - name: Pull docker image\n        uses: pytorch/test-infra/.github/actions/pull-docker-image@main\n        with:\n          docker-image: ${{ env.DOCKER_IMAGE }}\n      - name: Install and Test TorchBench\n        run: |\n          container_name=$(docker run \\\n            -e BASE_CONDA_ENV=\"${BASE_CONDA_ENV}\" \\\n            -e CONDA_ENV=\"${CONDA_ENV}\" \\\n            -e SETUP_SCRIPT=\"${SETUP_SCRIPT}\" \\\n            -e HUGGING_FACE_HUB_TOKEN=\"${HUGGING_FACE_HUB_TOKEN}\" \\\n            -e TEST_CONFIG=\"${TEST_CONFIG}\" \\\n            --tty \\\n            --detach \\\n            --shm-size=32gb \\\n            -v \"${PWD}/benchmark:/benchmark\" \\\n            -w / \\\n            \"${{ env.DOCKER_IMAGE }}\" \\\n            tail -f /dev/null\n          )\n          echo \"Container name: ${container_name}\"\n          docker exec -t -w \"/\" \"${container_name}\" bash -c \"sudo chown -R runner /benchmark; sudo chgrp -R runner /benchmark\"\n          docker exec -t -w \"/benchmark\" \"${container_name}\" bash /benchmark/.ci/torchbench/install.sh\n          docker exec -t -w \"/benchmark\" \"${container_name}\" bash /benchmark/.ci/torchbench/test.sh\n      - name: Teardown Linux\n        uses: pytorch/test-infra/.github/actions/teardown-linux@main\n        if: always()\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:45.106475", "created_at": "2024-06-22T00:23:24+02:00", "updated_at": "2024-06-22T16:23:55+02:00", "name": "linux-test-cuda", "path": ".github/workflows/_linux-test-cuda.yml", "contents": "name: linux-test-cuda\non:\n  workflow_call:\n    secrets:\n      HUGGING_FACE_HUB_TOKEN:\n        required: false\n        description: |\n          HF Auth token to avoid rate limits when downloading models or datasets from hub\n\njobs:\n  linux-test-cuda:\n    # Don't run on forked repos\n    if: github.repository_owner == 'pytorch'\n    runs-on: [a100-runner]\n    timeout-minutes: 240\n    environment: docker-s3-upload\n    env:\n      BASE_CONDA_ENV: \"torchbench\"\n      CONDA_ENV: \"pr-test-cuda\"\n      SETUP_SCRIPT: \"/workspace/setup_instance.sh\"\n      TEST_CONFIG: \"cuda\"\n      HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}\n    steps:\n      - name: Checkout TorchBench\n        uses: actions/checkout@v3\n      - name: Tune Nvidia GPU\n        run: |\n          sudo nvidia-smi -pm 1\n          sudo nvidia-smi -ac 1215,1410\n          sudo ldconfig\n          nvidia-smi\n      - name: Install TorchBench\n        run: |\n          bash ./.ci/torchbench/install.sh\n      - name: Test TorchBench\n        run: |\n          bash ./.ci/torchbench/test.sh\n      - name: Clean up Conda env\n        if: always()\n        run: |\n          . \"${SETUP_SCRIPT}\"\n          conda deactivate && conda deactivate\n          conda remove -n \"${CONDA_ENV}\" --all\n", "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:46.223884", "created_at": "2024-07-01T16:25:19+02:00", "updated_at": "2024-07-01T16:25:19+02:00", "name": "linux-benchmark-cuda", "path": ".github/workflows/_linux-benchmark-cuda.yml", "contents": null, "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:47.336461", "created_at": "2024-07-02T20:09:06+02:00", "updated_at": "2024-07-02T20:09:06+02:00", "name": "TorchBench Nightly Docker Cleanup", "path": ".github/workflows/clean-nightly-docker.yml", "contents": null, "state": "active", "repository": "pytorch/benchmark"}
{"mined_at": "2024-07-15T14:18:49.506597", "created_at": "2024-02-06T14:48:27+01:00", "updated_at": "2024-02-06T14:48:27+01:00", "name": "CD", "path": ".github/workflows/cd.yml", "contents": null, "state": "active", "repository": "econ-ark/hark"}
{"mined_at": "2024-07-15T14:18:50.735855", "created_at": "2024-02-06T14:48:27+01:00", "updated_at": "2024-02-06T14:48:27+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": null, "state": "active", "repository": "econ-ark/hark"}
{"mined_at": "2024-07-15T14:18:51.965020", "created_at": "2023-05-13T01:20:04+02:00", "updated_at": "2023-05-13T14:07:48+02:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "name: Documentation\n\n# Run on all pushes and pull requests, and on demand\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\n# Limit workflow permissions\npermissions:\n  contents: read\n\n# Limit simultaneous workflow runs\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: \"1\"\n\njobs:\n  render:\n    name: Render\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements/base.txt\n            requirements/doc.txt\n\n      - name: Install Pandoc\n        run: sudo apt-get install --yes pandoc\n\n      - name: Update pip\n        run: python -m pip install --upgrade pip\n\n      - name: Install HARK\n        run: python -m pip install .[doc]\n\n      - name: Run Sphinx\n        run: >\n          sphinx-build\n          -M html Documentation HARK-docs\n          -T\n          -W\n          -j 1\n\n      - name: Set up git for deployment\n        run: |\n          git config user.name \"${{ github.actor }}\"\n          git config user.email \"${{ github.actor }}@users.noreply.github.com\"\n          git config --local --unset-all http.https://github.com/.extraheader\n\n      - name: Commit all rendered HTML files\n        run: |\n          git switch --orphan gh-pages\n          git add --all HARK-docs/html\n          git commit -qm \"Documentation from @ ${{ github.repository }}@${{ github.sha }}\"\n\n      - name: Deploy to GitHub Pages\n        # Only deploy to Pages on pushes to HEAD\n        if: (github.repository_owner == 'Econ-ARK') && (github.event_name == 'push') && (github.ref_name == 'master')\n        run: >\n          git push\n          --force\n          https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}\n          `git subtree split --prefix HARK-docs/html gh-pages`:refs/heads/gh-pages\n\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade sphinx-lint\n      - name: Lint documentation with sphinx-lint\n        run: >\n          sphinx-lint\n          --ignore Documentation/example_notebooks/GenIncProcessModel.py\n          --enable all\n          --max-line-length 85\n          README.md\n          Documentation/\n", "state": "active", "repository": "econ-ark/hark"}
{"mined_at": "2024-07-15T14:18:52.961073", "created_at": "2021-02-08T16:13:46+01:00", "updated_at": "2021-02-08T16:13:46+01:00", "name": "Test examples as a cron job", "path": ".github/workflows/examples.yml", "contents": "name: Test examples as a cron job\n\non:\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - \".github/workflows/documentation.yml\"\n      - \"Documentation/**\"\n  pull_request:\n    branches:\n      - master\n    paths-ignore:\n      - \".github/workflows/documentation.yml\"\n      - \"Documentation/**\"\n  schedule:\n    - cron: 0 0 * * *\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \".[dev]\"\n      - name: Run examples\n        run: |\n          pytest --nbval-lax --nbval-current-env --dist loadscope -n auto examples/\n", "state": "active", "repository": "econ-ark/hark"}
{"mined_at": "2024-07-15T14:18:53.966495", "created_at": "2023-07-31T16:46:53+02:00", "updated_at": "2023-07-31T16:46:53+02:00", "name": "Execute notebooks", "path": ".github/workflows/execute-notebooks.yml", "contents": "name: Execute notebooks\n\non:\n  # Run on demand\n  workflow_dispatch:\n  # 6.49 am (GMT) every Monday; time chosen at random\n  schedule:\n    - cron: \"49 6 * * MON\"\n\n# Limit workflow permissions\npermissions:\n  contents: read\n\n# Limit simultaneous workflow runs\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: \"1\"\n\njobs:\n  execute:\n    name: Update notebooks\n    if: github.repository_owner == 'Econ-ARK'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\" # Numba doesn't support Python 3.11 [2023-05]\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements/base.txt\n            .github/workflows/execute-notebooks.yml\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .\n          # For LabeledModels.ipynb\n          python -m pip install estimagic\n          # For nbstripout\n          python -m pip install nbstripout\n          # For nb_exec.py\n          python -m pip install ipykernel nbclient nbformat\n\n      - name: Strip output\n        run: nbstripout examples/**/*.ipynb\n\n      # This step takes c. 20 minutes\n      - name: Execute notebooks\n        run: python tools/nb_exec.py examples/**/*.ipynb\n        env:\n          PYTHONUNBUFFERED: \"1\"\n\n      - name: Open PR\n        uses: peter-evans/create-pull-request@v5\n        with:\n          author: \"Econ-ARK Bot <noreply@econ-ark.org>\"\n          branch: \"bot/update-notebooks\"\n          commit-message: \"[bot] updated notebooks\"\n          delete-branch: true\n          title: \"[bot] Execute example notebooks\"\n          # language=Markdown\n          body: >\n            This PR was [automatically generated] to re-execute\n            the example notebooks for use in the documentation.\n\n            [automatically generated]: https://github.com/Econ-ARK/HARK/actions/workflows/execute-notebooks.yml\n", "state": "active", "repository": "econ-ark/hark"}
{"mined_at": "2024-07-15T14:18:55.139624", "created_at": "2020-01-16T17:22:04+01:00", "updated_at": "2020-01-16T17:22:04+01:00", "name": "HARK build on MacOS, Ubuntu and Windows", "path": ".github/workflows/hark.yml", "contents": "name: HARK build on MacOS, Ubuntu and Windows\n\non:\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - \".github/workflows/documentation.yml\"\n      - \"Documentation/**\"\n  pull_request:\n    branches:\n      - master\n    paths-ignore:\n      - \".github/workflows/documentation.yml\"\n      - \"Documentation/**\"\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 5\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \".[dev]\"\n      - name: Test with pytest\n        run: |\n          pytest -n auto\n", "state": "active", "repository": "econ-ark/hark"}
{"mined_at": "2024-07-15T14:18:56.164205", "created_at": "2023-11-07T16:51:10+01:00", "updated_at": "2023-11-07T18:57:04+01:00", "name": "pre-commit", "path": ".github/workflows/lint.yml", "contents": "name: pre-commit\n\non: [push, pull_request]\n\njobs:\n  format:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install packages\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install \".[dev]\"\n          pip list\n\n      - name: Lint\n        run: pre-commit run --all-files --show-diff-on-failure --color always\n", "state": "active", "repository": "econ-ark/hark"}
{"mined_at": "2024-07-15T14:18:57.280648", "created_at": "2023-05-23T00:37:37+02:00", "updated_at": "2023-05-23T00:37:37+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "econ-ark/hark"}
{"mined_at": "2024-07-15T14:18:59.492253", "created_at": "2023-07-06T22:33:10+02:00", "updated_at": "2023-07-06T22:33:10+02:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": null, "state": "active", "repository": "azure/azure-linux-extensions"}
{"mined_at": "2024-07-15T14:19:01.513941", "created_at": "2020-01-31T19:29:21+01:00", "updated_at": "2020-01-31T19:29:21+01:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine poetry\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          poetry build\n          twine upload dist/*\n", "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:02.610907", "created_at": "2020-06-10T04:44:54+02:00", "updated_at": "2020-06-10T04:44:54+02:00", "name": "Code scanning - action", "path": ".github/workflows/codeql.yml", "contents": "name: \"Code scanning - action\"\n\n\"on\":\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 19 * * 0\"\n\njobs:\n  CodeQL-Build:\n    # CodeQL runs on ubuntu-latest and windows-latest\n    runs-on: ubuntu-latest\n    if: (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request')\n\n    permissions:\n      security-events: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: python\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:03.843345", "created_at": "2021-03-22T16:11:34+01:00", "updated_at": "2021-03-22T16:11:34+01:00", "name": "acapy-integration-tests", "path": ".github/workflows/integrationtests.yml", "contents": "name: acapy-integration-tests\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - main\n    types: [opened, synchronize, reopened, ready_for_review]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    if: (github.event_name == 'pull_request' && github.event.pull_request.draft == false && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request')\n    outputs:\n      is_release: ${{ steps.check_if_release.outputs.is_release }}\n    steps:\n      - name: checkout-acapy\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Check if PR is a release\n        id: check_if_release\n        continue-on-error: true\n        run: |\n          # Get the diff between the current commit and the last merge commit on the upstream/main branch\n          git remote add upstream https://github.com/hyperledger/aries-cloudagent-python.git\n          git fetch upstream\n          \n          last_merge=$(git rev-list --no-merges -n 1 upstream/main)\n          \n          echo event = ${{ github.event_name }}\n\n          echo last upstream commit = \"$last_merge\"\n          echo current pr commit = \"${{ github.sha }}\"\n\n          echo Will exit with code 1 if the pull request is not a release\n\n          changes=$(git diff \"${{ github.sha }}\" \"$last_merge\" pyproject.toml)\n\n          # Extract the version of aries-cloudagent from the diff of pyproject.toml\n          version=$(echo \"$changes\" | grep -A1 'name = \"aries_cloudagent\"' | head -n 2 | tail -n 1 | awk '{print $3}' | tr -d '\"')\n\n          echo \"$version\"\n          if [ \"$version\" ]; then\n            echo \"This is a release because the aries-cloudagent version in pyproject.toml has changes\"\n            echo is_release=true >> $GITHUB_OUTPUT\n          fi\n      - name: run-pr-integration-tests\n        uses: ./.github/actions/run-integration-tests\n        if: (steps.check_if_release.outputs.is_release != 'true' && github.event_name == 'pull_request')\n      - name: run-release-or-cron-integration-tests\n        if: (steps.check_if_release.outputs.is_release == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')\n        uses: ./.github/actions/run-integration-tests\n        with:\n          TEST_SCOPE: \"-t @Release\"\n", "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:04.990486", "created_at": "2022-06-22T18:41:59+02:00", "updated_at": "2022-06-22T18:41:59+02:00", "name": "pip-audit", "path": ".github/workflows/pip-audit.yml", "contents": "name: pip-audit\n\non:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  selftest:\n    runs-on: ubuntu-latest\n    if: (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request')\n    steps:\n      - uses: actions/checkout@v4\n      - name: install\n        run: |\n          python -m venv env/\n          source env/bin/activate\n          python -m pip install --upgrade pip\n          python -m pip install .\n      - uses: pypa/gh-action-pip-audit@v1.0.8\n        with:\n          virtual-environment: env/\n          local: true\n", "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:06.097098", "created_at": "2022-10-19T04:53:13+02:00", "updated_at": "2022-12-22T18:13:06+01:00", "name": "PR Tests", "path": ".github/workflows/pr-tests.yml", "contents": "name: PR Tests\n\non:\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n    - name: Tests\n      uses: ./.github/actions/run-unit-tests\n      with:\n        python-version: \"3.9\"\n        os: \"ubuntu-latest\"\n        is_pr: \"true\"\n", "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:07.162035", "created_at": "2023-01-23T19:02:30+01:00", "updated_at": "2023-01-23T19:02:30+01:00", "name": "Publish ACA-Py Image", "path": ".github/workflows/publish.yml", "contents": "name: Publish ACA-Py Image\nrun-name: Publish ACA-Py ${{ inputs.tag || github.event.release.tag_name }} Image\non:\n  release:\n    types: [published]\n\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: 'Image tag'\n        required: true\n        type: string\n      platforms:\n        description: 'Platforms - Comma separated list of the platforms to support.'\n        required: true\n        default: linux/amd64\n        type: string\n      ref:\n        description: 'Optional - The branch, tag or SHA to checkout.'\n        required: false\n        type: string\n  workflow_call:\n    inputs:\n      tag:\n        required: true\n        type: string\n      platforms:\n        required: true\n        default: linux/amd64\n        type: string\n      ref:\n        required: false\n        type: string\n\nenv:\n  # linux/386 platform support has been disabled pending a permanent fix for https://github.com/hyperledger/aries-cloudagent-python/issues/2124\n  # PLATFORMS: ${{ inputs.platforms || 'linux/amd64,linux/arm64,linux/386' }}\n  PLATFORMS: ${{ inputs.platforms || 'linux/amd64' }}\n\njobs:\n  publish-image:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.9']\n\n    name: Publish ACA-Py Image\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref || '' }}\n\n      - name: Gather image info\n        id: info\n        run: |\n          echo \"repo-owner=${GITHUB_REPOSITORY_OWNER,,}\" >> $GITHUB_OUTPUT\n\n      - name: Cache Docker layers\n        uses: actions/cache@v4\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Log in to the GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Setup Image Metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ghcr.io/${{ steps.info.outputs.repo-owner }}/aries-cloudagent-python\n          tags: |\n            type=raw,value=py${{ matrix.python-version }}-${{ inputs.tag || github.event.release.tag_name }}\n\n      - name: Build and Push Image to ghcr.io\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          context: .\n          file: docker/Dockerfile\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          target: main\n          build-args: |\n            python_version=${{ matrix.python-version }}\n            acapy_version=${{ inputs.tag || github.event.release.tag_name }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max\n          platforms: ${{ env.PLATFORMS }}\n\n      # Temp fix\n      # https://github.com/docker/build-push-action/issues/252\n      # https://github.com/moby/buildkit/issues/1896\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n", "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:08.241462", "created_at": "2023-08-14T22:09:48+02:00", "updated_at": "2023-08-15T14:25:15+02:00", "name": "Snyk Container", "path": ".github/workflows/snyk.yml", "contents": "name: Snyk Container\non:\n  push:\n    branches:\n      - main\n    paths:\n      - aries_cloudagent/**\n      - docker/**\n\njobs:\n  snyk:\n    runs-on: ubuntu-latest\n    if: ${{ github.repository_owner == 'hyperledger' }}\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Build a Docker image\n      run: docker build  -t aries-cloudagent -f docker/Dockerfile .\n\n    - name: Run Snyk to check Docker image for vulnerabilities\n      # Snyk can be used to break the build when it detects vulnerabilities.\n      # In this case we want to upload the issues to GitHub Code Scanning\n      continue-on-error: true\n      uses: snyk/actions/docker@0.4.0\n      env:\n        # In order to use the Snyk Action you will need to have a Snyk API token.\n        # More details in https://github.com/snyk/actions#getting-your-snyk-token\n        # or you can signup for free at https://snyk.io/login\n        SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n      with:\n        image: aries-cloudagent\n        args: --file=docker/Dockerfile\n\n      # Replace any \"null\" security severity values with 0. The null value is used in the case\n      # of license-related findings, which do not do not indicate a security vulnerability.\n      # See https://github.com/github/codeql-action/issues/2187 for more context.\n    - name: Post process snyk sarif file  \n      run: |\n        sed -i 's/\"security-severity\": \"null\"/\"security-severity\": \"0\"/g' snyk.sarif\n    \n    - name: Upload result to GitHub Code Scanning\n      uses: github/codeql-action/upload-sarif@v3\n      with:\n        sarif_file: snyk.sarif\n", "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:09.475525", "created_at": "2023-08-17T16:50:39+02:00", "updated_at": "2023-08-17T16:50:39+02:00", "name": "Nightly Publish", "path": ".github/workflows/nigthly.yml", "contents": "name: Nightly Publish\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n  workflow_dispatch:\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.9\", \"3.10\"]\n    if: github.repository == 'hyperledger/aries-cloudagent-python' || github.event_name == 'workflow_dispatch'\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n      - name: Tests\n        uses: ./.github/actions/run-unit-tests\n        with:\n          python-version: ${{ matrix.python-version }}\n          os: ${{ matrix.os }}\n          is_pr: \"false\"\n\n  setup_and_check_pub:\n    name: Setup Publish\n    runs-on: ubuntu-latest\n    outputs:\n      commits_today: ${{ steps.commits.outputs.commits_today }}\n      date: ${{ steps.date.outputs.date }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: print latest_commit\n        run: echo ${{ github.sha }}\n      - name: Get new commits\n        id: commits\n        run: echo \"commits_today=$(git log --oneline --since '24 hours ago' | wc -l)\" >> $GITHUB_OUTPUT\n      - name: Get Date\n        id: date\n        run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n  publish:\n    name: Publish\n    needs: [tests, setup_and_check_pub]\n    if: needs.setup_and_check_pub.outputs.commits_today > 0\n    uses: ./.github/workflows/publish.yml\n    strategy:\n      matrix:\n        tag: [\"nightly-${{needs.setup_and_check_pub.outputs.date}}\", nightly]\n    with:\n      tag: ${{ matrix.tag }}\n      platforms: \"linux/amd64\"\n", "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:10.598277", "created_at": "2024-02-20T14:42:23+01:00", "updated_at": "2024-02-20T14:42:23+01:00", "name": "publish-docs", "path": ".github/workflows/publish-docs.yml", "contents": "name: publish-docs \n\non:\n  push:\n    # Publish `main` as latest, and when pushes are done to branches with \"v-doc\" prefix\n    branches:\n      - main\n      - docs-v*\n\npermissions:\n  contents: write\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # fetch all commits/branches\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - uses: actions/cache@v4\n        with:\n          key: ${{ github.ref }}\n          path: .cache\n      - name: Install Python dependencies\n        run: pip install -r ./mkdocs-requirements.txt\n      - name: Configure git user\n        run: |\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n\n      - name: Deploy docs\n        run: |\n          # Strip git ref prefix from version\n          echo \"${{ github.ref }}\"\n          # Extract the version and if it is in `docs-v` form, strip that off the version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,' -e 's/^docs-v//')\n          # Run a script to prepare all the files that have to be moved/updated to publish cleanly\n          ./scripts/prepmkdocs.sh\n          # Populate overrides for the current version, and then remove to not apply if VERSION is main branch\n          OVERRIDE=overrides/main.html\n          echo -e \"{% extends \\\"base.html\\\" %}\\n\\n{% block outdated %}\\n  You are viewing the documentation for ACA-Py Release $VERSION.\\n{% endblock %}\" >$OVERRIDE\n          # If building from main, use latest as ALIAS and remove the override\n          [ \"$VERSION\" == \"main\" ] && ALIAS=latest && rm $OVERRIDE\n          echo $VERSION $ALIAS\n          mike deploy --push --update-aliases $VERSION $ALIAS\n          mike set-default latest\n", "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:11.702933", "created_at": "2024-02-20T18:05:32+01:00", "updated_at": "2024-02-20T18:05:32+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:12.717173", "created_at": "2024-05-16T20:26:16+02:00", "updated_at": "2024-05-16T20:26:16+02:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n\n# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  workflow_dispatch:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '17 21 * * 4'\n  push:\n    branches: [ \"main\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@v4 # was v4.1.1 - b4ffde65f46336ab88eb53be808477a3936bae11\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@v2.3.3 # was v2.3.1 - 0864cf19026789058feabb7e87baa5f140aac736\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@v4 # was v3.pre.node20 97a0fba1372883ab732affbe8f94b823f91727db\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard (optional).\n      # Commenting out will disable upload of results to your repo's Code Scanning dashboard\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@v3 # was v3.24.9 - 1b1aada464948af03b950897e5eb522f92603cc2\n        with:\n          sarif_file: results.sarif", "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:13.793476", "created_at": "2024-05-30T15:52:25+02:00", "updated_at": "2024-05-30T15:52:25+02:00", "name": "Sonar Scan and Coverage", "path": ".github/workflows/sonar-merge-main.yml", "contents": "name: Sonar Scan and Coverage\non:\n  push:\n    branches:\n      - main\n\njobs:\n  sonarcloud:\n    name: SonarCloud\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n            fetch-depth: 0 \n      - name: Tests\n        uses: ./.github/actions/run-unit-tests\n        with:\n            python-version: \"3.9\"\n            os: \"ubuntu-latest\"\n            is_pr: \"false\" \n      - name: Adjust Test Coverage Source\n        run: |\n            # Need to change source in coverage report because it was generated from another context\n            sed -i 's/\\/home\\/runner\\/work\\/aries-cloudagent-python\\/aries-cloudagent-python\\//\\/github\\/workspace\\//g' test-reports/coverage.xml\n      - name: SonarCloud Scan\n        uses: SonarSource/sonarcloud-github-action@master\n        env:\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n            SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n        with: \n            args: >\n                -Dsonar.python.coverage.reportPaths=test-reports/coverage.xml\n                -Dsonar.coverage.exclusions=**/tests/*,**/demo/*,**/docs/*,**/docker/*,**/scripts/*\n                -Dsonar.sources=./", "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:14.818367", "created_at": "2024-05-30T15:52:25+02:00", "updated_at": "2024-05-30T15:52:25+02:00", "name": "Sonar Scan and Coverage", "path": ".github/workflows/sonar-pr.yml", "contents": "name: Sonar Scan and Coverage\n\non:\n  workflow_run:\n    workflows: [ PR Tests ]\n    types: \n      - completed\n\njobs:\n  SonarCloud:\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.conclusion == 'success'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n            fetch-depth: 0\n      - name: Download PR number artifact\n        uses: dawidd6/action-download-artifact@v5\n        with:\n          workflow: Tests\n          run_id: ${{ github.event.workflow_run.id }}\n          name: PR_NUMBER\n      - name: Read PR_NUMBER\n        id: pr_number\n        uses: juliangruber/read-file-action@v1\n        with:\n          path: ./PR_NUMBER\n      - name: Download Test Coverage\n        uses: dawidd6/action-download-artifact@v5\n        with:\n          workflow: Tests\n          run_id: ${{ github.event.workflow_run.id }}\n          name: TEST_COV\n      - name: Request GitHub API for PR data\n        uses: octokit/request-action@v2.x\n        id: get_pr_data\n        with:\n          route: GET /repos/${{ github.event.repository.full_name }}/pulls/${{ steps.pr_number.outputs.content }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Checkout base branch\n        run: |\n          echo forked repo = ${{ fromJson(steps.get_pr_data.outputs.data).head.repo.html_url }}.git\n          echo base repo = ${{ github.event.repository.clone_url }}\n\n          git remote add upstream ${{ fromJson(steps.get_pr_data.outputs.data).head.repo.html_url }}.git\n          git fetch --all\n\n          echo pr number = ${{ fromJson(steps.get_pr_data.outputs.data).number }} \n          echo forked branch = ${{ fromJson(steps.get_pr_data.outputs.data).head.ref }} \n          echo base branch = ${{ fromJson(steps.get_pr_data.outputs.data).base.ref }}\n\n          git checkout -B temp-branch-for-scanning upstream/${{ fromJson(steps.get_pr_data.outputs.data).head.ref }}\n      - name: Move Coverage Report And Adjust Source\n        run: |\n          mkdir test-reports\n          mv coverage.xml test-reports\n          # Need to change source in coverage report because it was generated from another context\n          sed -i 's/\\/home\\/runner\\/work\\/aries-cloudagent-python\\/aries-cloudagent-python\\//\\/github\\/workspace\\//g' test-reports/coverage.xml\n      - name: SonarCloud Scan\n        uses: SonarSource/sonarcloud-github-action@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n        with: \n          args: >\n            -Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} \n            -Dsonar.pullrequest.key=${{ fromJson(steps.get_pr_data.outputs.data).number }} \n            -Dsonar.pullrequest.branch=${{ fromJson(steps.get_pr_data.outputs.data).head.ref }} \n            -Dsonar.pullrequest.base=${{ fromJson(steps.get_pr_data.outputs.data).base.ref }}\n            -Dsonar.coverage.exclusions=**/tests/*,**/demo/*,**/docs/*,**/docker/*,**/scripts/*\n            -Dsonar.python.coverage.reportPaths=test-reports/coverage.xml\n            -Dsonar.sources=./", "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:15.827191", "created_at": "2024-07-03T04:14:57+02:00", "updated_at": "2024-07-04T23:45:12+02:00", "name": "Ruff Code Formatter and Linting Check", "path": ".github/workflows/format.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-cloudagent-python"}
{"mined_at": "2024-07-15T14:19:18.897716", "created_at": "2023-08-09T23:46:34+02:00", "updated_at": "2023-08-09T23:46:34+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googleapis/python-bigquery"}
{"mined_at": "2024-07-15T14:19:21.046672", "created_at": "2021-01-04T02:40:40+01:00", "updated_at": "2021-01-04T19:19:12+01:00", "name": "CI to Docker Hub funannotate-slim", "path": ".github/workflows/main.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: CI to Docker Hub funannotate-slim\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    steps:\n\n      - name: Check Out Repo\n        uses: actions/checkout@v2\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v2\n        with:\n          context: ./\n          file: ./Dockerfile\n          push: true\n          tags: nextgenusfs/funannotate-slim:latest\n\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@v1\n        with:\n          token: ${{ secrets.REPO_ACCESS_TOKEN }}\n          repository: nextgenusfs/funannotate\n          event-type: docker-hub-complete\n          client-payload: '{\"ref\": \"${{ github.ref }}\", \"sha\": \"${{ github.sha }}\"}'\n", "state": "active", "repository": "nextgenusfs/funannotate"}
{"mined_at": "2024-07-15T14:19:22.049615", "created_at": "2021-03-14T03:31:45+01:00", "updated_at": "2024-03-01T05:01:50+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [ published ]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}", "state": "active", "repository": "nextgenusfs/funannotate"}
{"mined_at": "2024-07-15T14:19:23.097781", "created_at": "2021-08-09T17:41:52+02:00", "updated_at": "2021-08-09T17:49:59+02:00", "name": "Release funannotate to Docker Hub", "path": ".github/workflows/release-triggered.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Release funannotate to Docker Hub\n\n# Controls when the action will run.\non:\n  repository_dispatch:\n    types: [docker-hub-release-complete]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check Out Repo\n        uses: actions/checkout@v2\n\n      - name: Get release\n        id: get_release\n        uses: kaliber5/action-get-release@v1\n        with:\n          token: ${{ github.token }}\n          latest: true\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v2\n        with:\n          context: ./\n          file: ./Dockerfile2\n          push: true\n          tags: nextgenusfs/funannotate:${{ steps.get_release.outputs.tag_name }}\n\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n\n", "state": "active", "repository": "nextgenusfs/funannotate"}
{"mined_at": "2024-07-15T14:19:24.110057", "created_at": "2021-08-09T17:41:52+02:00", "updated_at": "2021-08-11T06:34:50+02:00", "name": "Release funannotate-slim to Docker Hub", "path": ".github/workflows/release.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Release funannotate-slim to Docker Hub\n\n# Controls when the action will run.\non:\n  release:\n    types: [created]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check Out Repo\n        uses: actions/checkout@v2\n\n      - name: Get release\n        id: get_release\n        uses: kaliber5/action-get-release@v1\n        with:\n          token: ${{ github.token }}\n          latest: true\n\n      - name: Test git release scrapper\n        id: test_release\n        run: echo ${{ steps.get_release.outputs.tag_name }}\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v2\n        with:\n          context: ./\n          file: ./Dockerfile\n          push: true\n          tags: nextgenusfs/funannotate-slim:${{ steps.get_release.outputs.tag_name }}\n\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@v1\n        with:\n          token: ${{ secrets.REPO_ACCESS_TOKEN }}\n          repository: nextgenusfs/funannotate\n          event-type: docker-hub-release-complete\n          client-payload: '{\"ref\": \"${{ github.ref }}\", \"sha\": \"${{ github.sha }}\"}'\n", "state": "active", "repository": "nextgenusfs/funannotate"}
{"mined_at": "2024-07-15T14:19:25.121502", "created_at": "2021-01-05T04:06:19+01:00", "updated_at": "2021-01-05T04:06:19+01:00", "name": "CI Singularity", "path": ".github/workflows/singularity-deploy.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: CI Singularity\n\n# Controls when the action will run.\non:\n  repository_dispatch:\n    types: [singularity-ready]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  deploy:\n    name: Deploy to Singularity\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v1\n\n      - uses: chrnorm/deployment-action@releases/v1\n        name: Create GitHub deployment\n        id: deployment\n        with:\n          token: ${{ secrets.REPO_ACCESS_TOKEN }}\n          environment: production\n\n\n      - name: Update deployment status (success)\n        if: success()\n        uses: chrnorm/deployment-status@releases/v1\n        with:\n          token: ${{ secrets.REPO_ACCESS_TOKEN }}\n          state: \"success\"\n          deployment_id: ${{ steps.deployment.outputs.deployment_id }}\n\n      - name: Update deployment status (failure)\n        if: failure()\n        uses: chrnorm/deployment-status@releases/v1\n        with:\n          token: ${{ secrets.REPO_ACCESS_TOKEN }}\n          state: \"failure\"\n          deployment_id: ${{ steps.deployment.outputs.deployment_id }}", "state": "active", "repository": "nextgenusfs/funannotate"}
{"mined_at": "2024-07-15T14:19:26.116028", "created_at": "2021-01-04T16:57:43+01:00", "updated_at": "2021-01-04T16:57:43+01:00", "name": "CI to Docker Hub funannotate", "path": ".github/workflows/triggered-build.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: CI to Docker Hub funannotate\n\n# Controls when the action will run.\non:\n  repository_dispatch:\n    types: [docker-hub-complete]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    steps:\n\n      - name: Check Out Repo\n        uses: actions/checkout@v2\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v2\n        with:\n          context: ./\n          file: ./Dockerfile2\n          push: true\n          tags: nextgenusfs/funannotate:latest\n\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@v1\n        with:\n          token: ${{ secrets.REPO_ACCESS_TOKEN }}\n          repository: nextgenusfs/funannotate\n          event-type: singularity-ready\n          client-payload: '{\"ref\": \"${{ github.ref }}\", \"sha\": \"${{ github.sha }}\"}'\n", "state": "active", "repository": "nextgenusfs/funannotate"}
{"mined_at": "2024-07-15T14:19:28.216451", "created_at": "2020-07-24T19:34:41+02:00", "updated_at": "2021-01-07T19:56:32+01:00", "name": "Node.js CI", "path": ".github/workflows/node.js.yml", "contents": "# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions\n\nname: Node.js CI\n\non:\n  push:\n    paths:\n      - '**.js'\n      - ibr/**\n    branches: [ master ]\n    tags: [ ibr ]\n  pull_request:\n    paths:\n      - '**.js'\n      - ibr/**\n    branches: [ master ]\n    tags: [ ibr ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [10.x, 12.x, 14.x]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Use Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v1\n      with:\n        node-version: ${{ matrix.node-version }}\n\n    - name: ESLint Action\n      run: npm install && npm run install-linter && npm run lint\n      working-directory: ./ibr/ibr_sdk/\n\n    - name: Build IBR dist package\n      run: npm run build\n      working-directory: ./ibr/ibr_sdk/\n\n    - name: Tests\n      run: npm test\n      working-directory: ./ibr/ibr_sdk/\n", "state": "active", "repository": "google/digitalbuildings"}
{"mined_at": "2024-07-15T14:19:29.260236", "created_at": "2022-01-05T20:29:40+01:00", "updated_at": "2022-01-05T20:29:40+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "google/digitalbuildings"}
{"mined_at": "2024-07-15T14:19:30.464174", "created_at": "2022-09-13T22:15:56+02:00", "updated_at": "2022-09-22T18:10:16+02:00", "name": "Tools", "path": ".github/workflows/tools.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Tools\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'tools/**'\n  pull_request:\n    branches: [ master ]\n    paths:\n      - 'tools/**'\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    strategy:\n      matrix:\n        os: [macos-latest, ubuntu-latest, windows-latest]\n    steps:\n    - uses: actions/checkout@v2\n    - uses: dorny/paths-filter@v2\n      id: changes\n      with:\n        filters: |\n          abel:\n            - 'tools/abel/**'\n          explorer:\n            - 'tools/explorer/**'\n          instance_guid_generator:\n            - 'tools/guid_generator/instance/**'\n          ontology_guid_generator:\n            - 'tools/guid_generator/ontology/**'\n          instance_validator:\n            - 'tools/validators/instance_validator/**'\n          rdf_generator:\n            - 'tools/rdf_generator/**'\n          type_validator:\n            - 'tools/validators/ontology_validator/**'\n          scoring:\n            - 'tools/scoring/**'\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.11'\n    - name: Install Pylint\n      run: |\n        python -m pip install pylint\n\n    #---------- Ontology Yaml Type Validator ----------#\n    - name:  Ontology Yaml Type Validator Install dependencies\n      run: |\n        python setup.py install\n      working-directory: ./tools/validators/ontology_validator\n    - name: Run pylint on Ontology Type Validator\n      if: steps.changes.outputs.type_validator == 'true'\n      run: |\n        pylint --rcfile ./styles/pylintrc ./tools/validators/ontology_validator\n    - name: Ontology Yaml Validator Generator Tests\n      if: steps.changes.outputs.type_validator == 'true'\n      run: |\n       python -m unittest discover -p '*_test.py' --failfast -v\n      working-directory: ./tools/validators/ontology_validator\n\n    #---------- Ontology Yaml Instance Validator ----------#\n    - name: Instance Yaml Validator Install dependencies\n      run: |\n        python -m pip install .\n      working-directory: ./tools/validators/instance_validator\n    - name: Run pylint on Ontology Instance Validator\n      if: steps.changes.outputs.instance_validator == 'true'\n      run: |\n        pylint --rcfile ./styles/pylintrc ./tools/validators/instance_validator\n    - name: Instance Yaml Validator Unit Tests\n      if: steps.changes.outputs.instance_validator == 'true' || steps.changes.outputs.type_validator == 'true'\n      run: |\n       python -m unittest discover -p '*_test.py' --failfast -v\n      working-directory: ./tools/validators/instance_validator\n    - name: Instance Yaml Validator Integraion Test\n      if: steps.changes.outputs.instance_validator == 'true' || steps.changes.outputs.type_validator == 'true'\n      run: | \n        python instance_validator.py -i ../../abel/tests/test_resources/good_test_building_config.yaml\n      working-directory: ./tools/validators/instance_validator\n\n    - name: Correct Ontology Descriptions\n      run: |\n       pip install -r tools/spellcheck/requirements.txt\n       python tools/spellcheck/spellcheck.py\n\n     #---------- ABEL ----------#\n    - name: ABEL install dependencies\n      if: steps.changes.outputs.abel == 'true' || steps.changes.outputs.instance_validator == 'true' || steps.changes.outputs.type_validator == 'true'\n      run: |\n        python setup.py install\n      working-directory: ./tools/abel\n    - name: Run pylint on ABEL\n      if: steps.changes.outputs.abel == 'true'\n      run: |\n        pylint --rcfile ./styles/pylintrc ./tools/abel\n    - name: ABEL Unit Tests\n      if: steps.changes.outputs.abel == 'true' || steps.changes.outputs.instance_validator == 'true' || steps.changes.outputs.type_validator == 'true'\n      run: |\n       python -m unittest discover -p '*_test.py' --failfast -v\n      working-directory: ./tools/abel\n\n     #---------- Instance GUID Generator ----------#\n    - name:  Instance GUID Generator Install dependencies\n      if: steps.changes.outputs.instance_guid_generator == 'true' || steps.changes.outputs.instance_validator == 'true'\n      run: |\n        python setup.py install\n      working-directory: ./tools/guid_generator/instance\n    - name: Run pylint on Instance GUID Generator\n      if: steps.changes.outputs.instance_guid_generator == 'true'\n      run: |\n        pylint --rcfile ./styles/pylintrc ./tools/guid_generator/instance\n    - name:  Instance GUID Generator Tests\n      if: steps.changes.outputs.instance_guid_generator == 'true' || steps.changes.outputs.instance_validator == 'true'\n      run: |\n       python -m unittest discover -p '*_test.py' --failfast -v\n      working-directory: ./tools/guid_generator/instance\n\n     #---------- Ontology GUID Generator ----------#\n    - name:  Ontology GUID Generator Install dependencies\n      if: steps.changes.outputs.ontology_guid_generator == 'true' || steps.changes.outputs.type_validator == 'true'\n      run: |\n        python setup.py install\n      working-directory: ./tools/guid_generator/ontology\n    - name: Run pylint on Ontology GUID Generator\n      if: steps.changes.outputs.ontology_guid_generator == 'true'\n      run: |\n        pylint --rcfile ./styles/pylintrc ./tools/guid_generator/ontology\n    - name:  Ontology GUID Generator Tests\n      if: steps.changes.outputs.ontology_guid_generator == 'true' || steps.changes.outputs.type_validator == 'true'\n      run: |\n       python -m unittest discover -p '*_test.py' --failfast -v\n      working-directory: ./tools/guid_generator/ontology\n\n     #---------- RDF Generator ----------#\n    - name:  RDF Generator Install dependencies\n      if: steps.changes.outputs.rdf_generator == 'true'\n      run: |\n        python -m pip install --upgrade pip\n        python setup.py install\n      working-directory: ./tools/rdf_generator\n    - name: Run pylint on RDF Generator\n      if: steps.changes.outputs.rdf_generator == 'true'\n      run: |\n        pylint --rcfile ./styles/pylintrc ./tools/rdf_generator\n    - name:  RDF Generator Tests\n      if: steps.changes.outputs.rdf_generator == 'true'\n      run: |\n       python -m unittest discover -p '*_test.py' --failfast -v\n      working-directory: ./tools/rdf_generator/rdfformat/tests\n\n     #---------- Ontology Explorer ----------#\n    - name: Ontology Explorer Install dependencies\n      if: steps.changes.outputs.explorer == 'true' || steps.changes.outputs.type_validator == 'true' || steps.changes.outputs.instance_validator == 'true'\n      run: |\n        python setup.py install\n      working-directory: ./tools/explorer\n    - name: Run pylint on Ontology Explorer\n      if: steps.changes.outputs.explorer == 'true'\n      run: |\n        pylint --rcfile ./styles/pylintrc ./tools/explorer\n    - name: Ontology Explorer Tests\n      if: steps.changes.outputs.explorer == 'true' || steps.changes.outputs.type_validator == 'true' || steps.changes.outputs.instance_validator == 'true'\n      run: |\n       python -m unittest discover -p '*_test.py' --failfast -v\n      working-directory: ./tools/explorer\n\n    #---------- Configuration scoring ----------#\n    - name: Configuration scoring Install dependencies\n      if: steps.changes.outputs.scoring == 'true' || steps.changes.outputs.instance_validator == 'true'\n      run: |\n        python setup.py install\n      working-directory: ./tools/scoring\n    - name: Run pylint on Configuration Scorer\n      if: steps.changes.outputs.scoring == 'true'\n      run: |\n        pylint --rcfile ./styles/pylintrc ./tools/scoring\n    - name: Configuration Scorer Tests\n      if: steps.changes.outputs.scoring == 'true' || steps.changes.outputs.instance_validator == 'true'\n      run: |\n        python -m unittest discover -p '*_test.py' --failfast -v\n      working-directory: ./tools/scoring\n", "state": "active", "repository": "google/digitalbuildings"}
{"mined_at": "2024-07-15T14:19:31.587861", "created_at": "2023-03-07T02:11:18+01:00", "updated_at": "2023-03-17T17:22:05+01:00", "name": "Ontology Validator", "path": ".github/workflows/OntologyValidator.yml", "contents": "# This workflow adds guids to any newly added entity types in the ontology and validates the ontology\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Ontology Validator\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - ontology/yaml/**\n\n  pull_request:\n    branches: [ master ]\n    paths:\n      - ontology/yaml/**\n \njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout the branch the PR is coming from if PR\n      if: github.event_name == 'pull_request'\n      uses: actions/checkout@v3\n      with:\n        repository: ${{ github.event.pull_request.head.repo.full_name }}\n        ref: ${{ github.event.pull_request.head.ref }}\n\n    - name: Checkout head if push\n      if: github.event_name == 'push'\n      uses: actions/checkout@v3\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.11'\n\n    - name: Install dependencies for ontology YAML validator\n      run: |\n        python setup.py install\n      working-directory: ./tools/validators/ontology_validator\n\n    ### Only generate type guids if triggered by a push ###\n\n    - name: Get modified entity type files\n      id: changed-entity-type-files\n      if: github.event_name == 'push'\n      uses: tj-actions/changed-files@v41\n      with:\n        files: '**/ontology/yaml/**/entity_types/*.yaml'\n\n    - name: Run types GUID generator if any entity types files are changed\n      if: github.event_name == 'push' && steps.changed-entity-type-files.outputs.any_changed == 'true'\n      run: |\n        python setup.py install\n        for file in ${{ steps.changed-entity-type-files.outputs.all_changed_files }}; do\n          python types_guid_generator/types_guid_generator.py -f=../../../$file\n        done\n      working-directory: ./tools/guid_generator/ontology\n\n    - name: Commit files changed by types GUID generator\n      if: github.event_name == 'push' && steps.changed-entity-type-files.outputs.any_changed == 'true'\n      uses: EndBug/add-and-commit@v9\n      with:\n        author_name: db-robot\n        author_email: db-robot@google.com\n        message: 'Add GUIDs to new entity types'\n\n    - name: Run ontology YAML validator with type guid checks if push\n      if: github.event_name == 'push'\n      run: |\n        python validator.py --original=../../../../ontology/yaml/resources  --interactive=False\n      working-directory: ./tools/validators/ontology_validator/yamlformat\n      \n    ### End of type guid generation ###\n\n    - name: Run ontology YAML validator without type guid checks if PR\n      if: github.event_name == 'pull_request'\n      run: |\n        python validator.py --original=../../../../ontology/yaml/resources  --interactive=False  --allow_missing_type_guids\n      working-directory: ./tools/validators/ontology_validator/yamlformat\n", "state": "active", "repository": "google/digitalbuildings"}
{"mined_at": "2024-07-15T14:19:32.693797", "created_at": "2023-08-01T22:04:21+02:00", "updated_at": "2023-08-01T22:04:21+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/digitalbuildings"}
{"mined_at": "2024-07-15T14:19:34.757904", "created_at": "2020-05-14T11:45:09+02:00", "updated_at": "2023-10-15T14:27:23+02:00", "name": "PyBaMM", "path": ".github/workflows/test_on_push.yml", "contents": "name: PyBaMM\n\non:\n  workflow_dispatch:\n  pull_request:\n\nenv:\n  FORCE_COLOR: 3\n\nconcurrency:\n  # github.workflow: name of the workflow, so that we don't cancel other workflows\n  # github.event.pull_request.number || github.ref: pull request number or branch name if not a pull request\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  # Cancel in-progress runs when a new workflow with the same group name is triggered\n  # This avoids workflow runs on both pushes and PRs\n  cancel-in-progress: true\n\njobs:\n  style:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Check style\n        run: |\n          python -m pip install pre-commit\n          pre-commit run -a\n\n  run_unit_integration_and_coverage_tests:\n    needs: style\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-12, macos-14, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    name: Tests (${{ matrix.os }} / Python ${{ matrix.python-version }})\n\n    steps:\n      - name: Check out PyBaMM repository\n        uses: actions/checkout@v4\n\n      - name: Install Linux system dependencies\n        uses: awalsh128/cache-apt-pkgs-action@v1.4.2\n        if: matrix.os == 'ubuntu-latest'\n        with:\n          packages: gfortran gcc graphviz pandoc\n          execute_install_scripts: true\n\n      # dot -c is for registering graphviz fonts and plugins\n      - name: Install OpenBLAS and TeXLive for Linux\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo apt-get update\n          sudo dot -c\n          sudo apt-get install libopenblas-dev texlive-latex-extra dvipng\n\n      - name: Install macOS system dependencies\n        if: matrix.os == 'macos-12' || matrix.os == 'macos-14'\n        env:\n          HOMEBREW_NO_INSTALL_CLEANUP: 1\n          HOMEBREW_NO_AUTO_UPDATE: 1\n          HOMEBREW_NO_COLOR: 1\n          # Speed up CI\n          NONINTERACTIVE: 1\n        # sometimes gfortran cannot be found, so reinstall gcc just to be sure\n        run: |\n          brew analytics off\n          brew install graphviz libomp\n          brew reinstall gcc\n\n      - name: Install Windows system dependencies\n        if: matrix.os == 'windows-latest'\n        run: choco install graphviz --version=8.0.5\n\n      - name: Set up Python ${{ matrix.python-version }}\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n\n      - name: Install nox\n        run: python -m pip install nox\n\n      - name: Cache pybamm-requires nox environment for GNU/Linux and macOS\n        uses: actions/cache@v4\n        if: matrix.os != 'windows-latest'\n        with:\n          path: |\n            # Repository files\n            ${{ github.workspace }}/pybind11/\n            ${{ github.workspace }}/install_KLU_Sundials/\n            # Headers and dynamic library files for SuiteSparse and SUNDIALS\n            ${{ env.HOME }}/.local/lib/\n            ${{ env.HOME }}/.local/include/\n          key: nox-${{ matrix.os }}-pybamm-requires-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/install_KLU_Sundials.py', '**/noxfile.py', '**/test_on_push.yml') }}\n\n      - name: Install SuiteSparse and SUNDIALS on GNU/Linux and macOS\n        timeout-minutes: 10\n        if: matrix.os != 'windows-latest'\n        run: python -m nox -s pybamm-requires\n\n      - name: Run unit tests for ${{ matrix.os }} with Python ${{ matrix.python-version }}\n        if: matrix.os != 'ubuntu-latest' || matrix.python-version != '3.12'\n        run: python -m nox -s unit\n\n      - name: Run coverage tests for ${{ matrix.os }} with Python ${{ matrix.python-version }}\n        if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'\n        run: python -m nox -s coverage\n\n      - name: Upload coverage report\n        if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n      - name: Run integration tests for ${{ matrix.os }} with Python ${{ matrix.python-version }}\n        run: python -m nox -s integration\n\n  # Skips IDAKLU module compilation for speedups, which is already tested in other jobs.\n  run_doctests:\n    needs: style\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    name: Doctests (ubuntu-latest / Python 3.11)\n\n    steps:\n      - name: Check out PyBaMM repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Linux system dependencies\n        uses: awalsh128/cache-apt-pkgs-action@v1.4.2\n        with:\n          packages: graphviz pandoc\n          execute_install_scripts: true\n\n      # dot -c is for registering graphviz fonts and plugins\n      - name: Install TeXLive for Linux\n        run: |\n          sudo apt-get update\n          sudo dot -c\n          sudo apt-get install texlive-latex-extra dvipng\n\n      - name: Set up Python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n          cache: 'pip'\n\n      - name: Install nox\n        run: python -m pip install nox\n\n      - name: Install docs dependencies and run doctests for GNU/Linux\n        run: python -m nox -s doctests\n\n      - name: Check if the documentation can be built for GNU/Linux\n        run: python -m nox -s docs\n\n  run_example_tests:\n    needs: style\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    name: Example notebooks (ubuntu-latest / Python 3.12)\n\n    steps:\n      - name: Check out PyBaMM repository\n        uses: actions/checkout@v4\n\n      - name: Install Linux system dependencies\n        uses: awalsh128/cache-apt-pkgs-action@v1.4.2\n        with:\n          packages: gfortran gcc graphviz pandoc\n          execute_install_scripts: true\n\n      # dot -c is for registering graphviz fonts and plugins\n      - name: Install OpenBLAS and TeXLive for Linux\n        run: |\n          sudo apt-get update\n          sudo dot -c\n          sudo apt-get install libopenblas-dev texlive-latex-extra dvipng\n\n      - name: Set up Python 3.12\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          cache: 'pip'\n\n      - name: Install nox\n        run: python -m pip install nox\n\n      - name: Cache pybamm-requires nox environment for GNU/Linux\n        uses: actions/cache@v4\n        with:\n          path: |\n            # Repository files\n            ${{ github.workspace }}/pybind11/\n            ${{ github.workspace }}/install_KLU_Sundials/\n            # Headers and dynamic library files for SuiteSparse and SUNDIALS\n            ${{ env.HOME }}/.local/lib/\n            ${{ env.HOME }}/.local/include/\n          key: nox-${{ matrix.os }}-pybamm-requires-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/install_KLU_Sundials.py', '**/noxfile.py', '**/test_on_push.yml') }}\n\n      - name: Install SuiteSparse and SUNDIALS on GNU/Linux\n        timeout-minutes: 10\n        run: python -m nox -s pybamm-requires\n\n      - name: Run example notebooks tests for GNU/Linux with Python 3.12\n        run: python -m nox -s examples\n\n  run_scripts_tests:\n    needs: style\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    name: Example scripts (ubuntu-latest / Python 3.12)\n\n    steps:\n      - name: Check out PyBaMM repository\n        uses: actions/checkout@v4\n\n      - name: Install Linux system dependencies\n        uses: awalsh128/cache-apt-pkgs-action@v1.4.2\n        with:\n          packages: gfortran gcc graphviz\n          execute_install_scripts: true\n\n      # dot -c is for registering graphviz fonts and plugins\n      - name: Install OpenBLAS and TeXLive for Linux\n        run: |\n          sudo apt-get update\n          sudo dot -c\n          sudo apt-get install libopenblas-dev texlive-latex-extra dvipng\n\n      - name: Set up Python 3.12\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          cache: 'pip'\n\n      - name: Install nox\n        run: python -m pip install nox\n\n      - name: Cache pybamm-requires nox environment for GNU/Linux\n        uses: actions/cache@v4\n        with:\n          path: |\n            # Repository files\n            ${{ github.workspace }}/pybind11/\n            ${{ github.workspace }}/install_KLU_Sundials/\n            # Headers and dynamic library files for SuiteSparse and SUNDIALS\n            ${{ env.HOME }}/.local/lib/\n            ${{ env.HOME }}/.local/include/\n          key: nox-${{ matrix.os }}-pybamm-requires-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/install_KLU_Sundials.py', '**/noxfile.py', '**/test_on_push.yml') }}\n\n      - name: Install SuiteSparse and SUNDIALS on GNU/Linux\n        timeout-minutes: 10\n        run: python -m nox -s pybamm-requires\n\n      - name: Run example scripts tests for GNU/Linux with Python 3.12\n        run: python -m nox -s scripts\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:35.987182", "created_at": "2021-01-20T18:21:01+01:00", "updated_at": "2021-01-20T18:21:01+01:00", "name": "Benchmarks", "path": ".github/workflows/periodic_benchmarks.yml", "contents": "# This workflow periodically runs the benchmarks suite in benchmarks/\n# using asv and publish the results, effectively updating\n# the display website hosted in the pybamm-bench repo\n\n# Steps:\n# - Benchmark all commits since the last one that was benchmarked\n# - Push results to pybamm-bench repo\n# - Publish website\nname: Benchmarks\non:\n  # Every day at 3 am UTC\n  schedule:\n    - cron: \"0 3 * * *\"\n  # Make it possible to trigger the\n  # workflow manually\n  workflow_dispatch:\n\njobs:\n  benchmarks:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install Linux system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install gfortran gcc libopenblas-dev\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --upgrade pip wheel setuptools wget cmake casadi numpy\n          python -m pip install asv[virtualenv]\n\n      - name: Install SuiteSparse and SUNDIALS\n        run: python scripts/install_KLU_Sundials.py\n\n      - name: Run benchmarks\n        run: |\n          asv machine --machine \"GitHubRunner\"\n          asv run --machine \"GitHubRunner\" NEW --show-stderr -v\n        env:\n          SUNDIALS_INST: $HOME/.local\n          LD_LIBRARY_PATH: $HOME/.local/lib\n\n      - name: Upload results as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: asv_periodic_results\n          path: results\n          if-no-files-found: error\n\n  publish-results:\n    if: github.repository == 'pybamm-team/PyBaMM'\n    name: Push and publish results\n    needs: benchmarks\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install asv\n        run: pip install asv\n\n      - name: Checkout pybamm-bench repo\n        uses: actions/checkout@v4\n        with:\n          repository: pybamm-team/pybamm-bench\n          token: ${{ secrets.BENCH_PAT }}\n\n      - name: Download results artifact(s)\n        uses: actions/download-artifact@v4\n        with:\n          path: results\n          merge-multiple: true\n\n      - name: Copy new results and push to pybamm-bench repo\n        env:\n          PUSH_BENCH_EMAIL: ${{ secrets.PUSH_BENCH_EMAIL }}\n          PUSH_BENCH_NAME: ${{ secrets.PUSH_BENCH_NAME }}\n        run: |\n          git config --global user.email \"$PUSH_BENCH_EMAIL\"\n          git config --global user.name \"$PUSH_BENCH_NAME\"\n          git add results\n          git commit -am \"Add new results\"\n          git push\n\n      - name: Publish results\n        run: |\n          asv publish\n          git fetch origin gh-pages:gh-pages\n          asv gh-pages\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:37.030991", "created_at": "2021-01-28T10:47:14+01:00", "updated_at": "2021-04-28T22:31:15+02:00", "name": "Manual benchmarks", "path": ".github/workflows/run_benchmarks_over_history.yml", "contents": "# GitHub actions workflow that runs the benchmark suite in benchmarks/\n# from \"commit_start\" to \"commit_end\".  It pushes the results to the\n# pybamm-bench repo and updates the display website.\n\n# This workflow is meant to be triggered manually, see\n# https://docs.github.com/en/enterprise-server@3.0/actions/managing-workflow-runs/manually-running-a-workflow\n\nname: Manual benchmarks\non:\n  workflow_dispatch:\n    inputs:\n      commit_start:\n        description: \"Identifier of commit from which to start\"\n        default: \"v0.1.0\"\n      commit_end:\n        description: \"Identifier of commit at which to end\"\n        default: \"develop\"\n      ncommits:\n        description: \"Number of commits to benchmark between commit_start and commit_end\"\n        default: \"100\"\njobs:\n  benchmarks:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install nox and asv\n        run: pip install -U pip nox asv\n\n      - name: Fetch develop branch\n        # Not required when worklow trigerred\n        # on develop, but useful when\n        # experimenting/developing on another branch.\n        if: github.ref != 'refs/heads/develop'\n        run: |\n          git fetch origin develop:develop\n\n      - name: Run benchmarks\n        run: |\n          asv machine --machine \"GitHubRunner\"\n          asv run -m \"GitHubRunner\" -s ${{ github.event.inputs.ncommits }} \\\n          ${{ github.event.inputs.commit_start }}..${{ github.event.inputs.commit_end }}\n\n      - name: Upload results as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: asv_over_history_results\n          path: results\n          if-no-files-found: error\n\n  publish-results:\n    if: github.repository_owner == 'pybamm-team'\n    name: Push and publish results\n    needs: benchmarks\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install asv\n        run: pip install asv\n\n      - name: Checkout pybamm-bench repo\n        uses: actions/checkout@v4\n        with:\n          repository: pybamm-team/pybamm-bench\n          token: ${{ secrets.BENCH_PAT }}\n\n      - name: Download results artifact(s)\n        uses: actions/download-artifact@v4\n        with:\n          path: results\n          merge-multiple: true\n\n      - name: Copy new results and push to pybamm-bench repo\n        env:\n          PUSH_BENCH_EMAIL: ${{ secrets.PUSH_BENCH_EMAIL }}\n          PUSH_BENCH_NAME: ${{ secrets.PUSH_BENCH_NAME }}\n        run: |\n          git config --global user.email \"$PUSH_BENCH_EMAIL\"\n          git config --global user.name \"$PUSH_BENCH_NAME\"\n          git add results\n          git commit -am \"Add new results\"\n          git push\n\n      - name: Publish results\n        run: |\n          asv publish\n          git fetch origin gh-pages:gh-pages\n          asv gh-pages\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:38.232330", "created_at": "2021-02-10T17:57:18+01:00", "updated_at": "2021-02-10T17:57:18+01:00", "name": "Run benchmarks on push", "path": ".github/workflows/benchmark_on_push.yml", "contents": "name: Run benchmarks on push\non:\n  push:\n    branches: [main, develop]\n\nconcurrency:\n  # Cancel intermediate builds always\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  benchmarks:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install Linux system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt install gfortran gcc libopenblas-dev\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --upgrade pip wheel setuptools wget cmake casadi numpy\n          python -m pip install asv[virtualenv]\n\n      - name: Install SuiteSparse and SUNDIALS\n        run: python scripts/install_KLU_Sundials.py\n\n      - name: Fetch base branch\n        run: |\n          # This workflow also runs for merge commits\n          # on develop. In this case, we don't want to be\n          # fetching the develop branch.\n          current_branch=$(git rev-parse --abbrev-ref HEAD)\n          # This workflow should also run on forks; hence,\n          # we should fetch the upstream develop branch.\n          git remote add upstream https://github.com/pybamm-team/PyBaMM/\n          if [ $current_branch != \"develop\" ]; then\n              git fetch upstream develop:develop\n          fi\n\n      - name: Run benchmarks\n        run: |\n          asv machine --machine \"GitHubRunner\"\n          # Get IDs of branch and PR commits\n          BASE_COMMIT=$(git rev-parse develop)\n          HEAD_COMMIT=$(git rev-parse HEAD)\n          echo $BASE_COMMIT | tee commits_to_compare.txt\n          echo $HEAD_COMMIT | tee -a commits_to_compare.txt\n          asv run HASHFILE:commits_to_compare.txt --m \"GitHubRunner\" --show-stderr -v\n\n      - name: Compare commits' benchmark results\n        run: |\n          BASE_COMMIT=$(head -1 commits_to_compare.txt)\n          HEAD_COMMIT=$(tail -1 commits_to_compare.txt)\n          echo \"SUMMARY OF CHANGES\"\n          echo \"==================\"\n          asv compare $BASE_COMMIT $HEAD_COMMIT | tee compare_result.txt\n          # Make sure grep returns error code 0 even if code 1 is\n          # returned because no match is found\n          REGRESSIONS=$({ grep \"+\" compare_result.txt || test $? = 1; })\n          if [ ! -z \"$REGRESSIONS\" ]; \\\n          then \\\n          echo \"REGRESSIONS FOUND\"; \\\n          echo \"=================\"; \\\n          echo \"$REGRESSIONS\"; \\\n          echo \"=================\"; \\\n          printf \"Found %d regression(s)\\n\" $(echo \"$REGRESSIONS\" | wc -l); \\\n          exit 1; \\\n          fi\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:39.501630", "created_at": "2022-01-20T15:23:47+01:00", "updated_at": "2022-01-20T15:23:47+01:00", "name": "Update version", "path": ".github/workflows/update_version.yml", "contents": "name: Update version\n\non:\n  workflow_dispatch:\n    inputs:\n      append_to_tag:\n        description: 'Leave blank for an actual release or \"rc1\", \"rc2\", ..., for release candidates.\"'\n        default: \"\"\n  schedule:\n     # Run at 10 am UTC on day-of-month 1 in January, May, and September.\n     - cron: \"0 10 1 1,5,9 *\"\n\njobs:\n  update-version:\n    # This workflow is only of value to PyBaMM and would always be skipped in forks\n    if: github.repository_owner == 'pybamm-team'\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Get current date for the first release candidate\n        if: github.event_name == 'schedule'\n        run: |\n          echo \"VERSION=$(date +'v%y.%-m')rc0\" >> $GITHUB_ENV\n          echo \"NON_RC_VERSION=$(date +'v%y.%-m')\" >> $GITHUB_ENV\n\n      - name: Get current date for a manual release\n        if: github.event_name == 'workflow_dispatch'\n        run: |\n          echo \"VERSION=$(date +'v%y.%-m')${{ github.event.inputs.append_to_tag }}\" >> $GITHUB_ENV\n          echo \"NON_RC_VERSION=$(date +'v%y.%-m')\" >> $GITHUB_ENV\n\n      # the schedule workflow is for rc0 release\n      - uses: actions/checkout@v4\n        if: github.event_name == 'schedule'\n        with:\n          ref: 'develop'\n\n      # the dispatch workflow is for rcX and final releases\n      - uses: actions/checkout@v4\n        if: github.event_name == 'workflow_dispatch'\n        with:\n          ref: '${{ env.NON_RC_VERSION }}'\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install dependencies\n        run: |\n          pip install wheel\n          pip install --editable \".[all]\"\n\n      # update all the version strings and add CHANGELOG headings\n      - name: Update version\n        run: python scripts/update_version.py\n\n      # create a new version branch for rc0 release and commit\n      - uses: EndBug/add-and-commit@v9\n        if: github.event_name == 'schedule'\n        with:\n          message: 'Bump to ${{ env.VERSION }}'\n          new_branch: '${{ env.NON_RC_VERSION }}'\n\n      # use the already created release branch for rcX + final releases\n      # and commit\n      - uses: EndBug/add-and-commit@v9\n        if: github.event_name == 'workflow_dispatch'\n        with:\n          message: 'Bump to ${{ env.VERSION }}'\n\n      # checkout to develop for updating versions in the same\n      - uses: actions/checkout@v4\n        with:\n          ref: 'develop'\n\n      # update all the version strings\n      - name: Update version\n        if: github.event_name == 'workflow_dispatch'\n        run: python scripts/update_version.py\n\n      # create a pull request updating versions in develop\n      - name: Create Pull Request\n        id: version_pr\n        uses: peter-evans/create-pull-request@v6\n        with:\n          delete-branch: true\n          branch-suffix: short-commit-hash\n          base: develop\n          commit-message: Update version to ${{ env.VERSION }}\n          title: Bump to ${{ env.VERSION }}\n          body: |\n            - [x] Update to ${{ env.VERSION }}\n            - [ ] Check the [release workflow](https://github.com/pybamm-team/PyBaMM/blob/develop/.github/release_workflow.md)\n\n      # checkout to the version branch for the final release\n      - uses: actions/checkout@v4\n        if: github.event_name == 'workflow_dispatch' && !startsWith(github.event.inputs.append_to_tag, 'rc')\n        with:\n          ref: '${{ env.NON_RC_VERSION }}'\n\n      # for final releases, create a PR from version branch to main\n      - name: Make a PR from ${{ env.NON_RC_VERSION }} to main\n        id: release_pr\n        if: github.event_name == 'workflow_dispatch' && !startsWith(github.event.inputs.append_to_tag, 'rc')\n        uses: repo-sync/pull-request@v2\n        with:\n          source_branch: '${{ env.NON_RC_VERSION }}'\n          destination_branch: \"main\"\n          pr_title: \"Make release ${{ env.NON_RC_VERSION }}\"\n          pr_body: \"**Check the [release workflow](https://github.com/pybamm-team/PyBaMM/blob/develop/.github/release_workflow.md)**\"\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:40.587776", "created_at": "2022-01-21T17:12:09+01:00", "updated_at": "2022-01-21T17:12:09+01:00", "name": "Update copyright year(s)", "path": ".github/workflows/update_license.yml", "contents": "name: Update copyright year(s)\n\non:\n  # Manual trigger\n  workflow_dispatch:\n  # Every January 1st at 3am GMT\n  schedule:\n    - cron: \"0 3 1 1 *\"\n\njobs:\n  license:\n    # This workflow is only of value to PyBaMM and would always be skipped in forks\n    if: github.repository_owner == 'pybamm-team'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Update year in license\n        uses: FantasticFiasco/action-update-license-year@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          path: LICENSE.txt\n\n  docs:\n    # This workflow is only of value to PyBaMM and would always be skipped in forks\n    if: github.repository_owner == 'pybamm-team'\n    needs: license\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Update year in docs\n        uses: FantasticFiasco/action-update-license-year@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          path: docs/conf.py\n          transform: (?<=copyright = \")(?<from>\\d{4})?-?(\\d{4})?\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:41.593358", "created_at": "2022-06-24T19:25:50+02:00", "updated_at": "2024-06-05T21:12:23+02:00", "name": "Build and publish package to PyPI", "path": ".github/workflows/publish_pypi.yml", "contents": "name: Build and publish package to PyPI\non:\n  release:\n    types: [published]\n  schedule:\n    # Run at 10 am UTC on day-of-month 1 and 15.\n    - cron: \"0 10 1,15 * *\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: 'Deployment target. Can be \"pypi\" or \"testpypi\"'\n        default: \"testpypi\"\n      debug_enabled:\n        type: boolean\n        description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'\n        required: false\n        default: false\n\n# Set options available for all jobs that use cibuildwheel\nenv:\n  # Increase pip debugging output, equivalent to `pip -vv`\n  CIBW_BUILD_VERBOSITY: 2\n  # Disable build isolation to allow pre-installing build-time dependencies.\n  # Note: CIBW_BEFORE_BUILD must be present in all jobs using cibuildwheel.\n  CIBW_BUILD_FRONTEND: \"pip; args: --no-build-isolation\"\n  # Skip PyPy and MUSL builds in any and all jobs\n  CIBW_SKIP: \"pp* *musllinux*\"\n  FORCE_COLOR: 3\n\njobs:\n  build_windows_wheels:\n    name: Wheels (windows-latest)\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Get number of cores on Windows\n        id: get_num_cores\n        shell: python\n        run: |\n          from os import environ, cpu_count\n          num_cpus = cpu_count()\n          output_file = environ['GITHUB_OUTPUT']\n          with open(output_file, \"a\", encoding=\"utf-8\") as output_stream:\n              output_stream.write(f\"count={num_cpus}\\n\")\n\n      - name: Clone pybind11 repo (no history)\n        run: git clone --depth 1 --branch v2.12.0 https://github.com/pybind/pybind11.git -c advice.detachedHead=false\n\n      - name: Install vcpkg on Windows\n        run: |\n          cd C:\\\n          rm -r -fo 'C:\\vcpkg'\n          git clone https://github.com/microsoft/vcpkg\n          cd vcpkg\n          .\\bootstrap-vcpkg.bat\n\n      - name: Cache packages installed through vcpkg on Windows\n        uses: actions/cache@v4\n        env:\n          cache-name: vckpg_binary_cache\n        with:\n          path: C:\\Users\\runneradmin\\AppData\\Local\\vcpkg\\archives\n          key: ${{ runner.os }}-build-VS2022-${{ env.cache-name }}-${{ hashFiles('vcpkg*.json') }}\n\n      # Enable tmate debugging of manually-triggered workflows if the input option was provided\n      - name: Setup tmate session\n        uses: mxschmitt/action-tmate@v3\n        if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}\n\n      - name: Build 64-bit wheels on Windows\n        run: pipx run cibuildwheel --output-dir wheelhouse\n        env:\n          CIBW_ENVIRONMENT: >\n            PYBAMM_USE_VCPKG=ON\n            VCPKG_ROOT_DIR=C:\\vcpkg\n            VCPKG_DEFAULT_TRIPLET=x64-windows-static-md\n            VCPKG_FEATURE_FLAGS=manifests,registries\n            CMAKE_GENERATOR=\"Visual Studio 17 2022\"\n            CMAKE_GENERATOR_PLATFORM=x64\n            CMAKE_BUILD_PARALLEL_LEVEL=${{ steps.get_num_cores.outputs.count }}\n          CIBW_ARCHS: AMD64\n          CIBW_BEFORE_BUILD: python -m pip install setuptools wheel delvewheel # skip CasADi and CMake\n          CIBW_REPAIR_WHEEL_COMMAND: delvewheel repair -w {dest_dir} {wheel}\n          CIBW_TEST_COMMAND: python -c \"import pybamm; print(pybamm.IDAKLUSolver())\"\n\n      - name: Upload Windows wheels\n        uses: actions/upload-artifact@v4\n        with:\n          name: wheels_windows\n          path: ./wheelhouse/*.whl\n          if-no-files-found: error\n\n  build_manylinux_wheels:\n    name: Wheels (linux-amd64)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        name: Check out PyBaMM repository\n\n      - uses: actions/setup-python@v5\n        name: Set up Python\n        with:\n          python-version: 3.11\n\n      - name: Clone pybind11 repo (no history)\n        run: git clone --depth 1 --branch v2.12.0 https://github.com/pybind/pybind11.git -c advice.detachedHead=false\n\n      - name: Build wheels on Linux\n        run: pipx run cibuildwheel --output-dir wheelhouse\n        env:\n          CIBW_ARCHS_LINUX: x86_64\n          CIBW_BEFORE_ALL_LINUX: >\n            yum -y install openblas-devel lapack-devel &&\n            bash scripts/install_sundials.sh 6.0.3 6.5.0\n          CIBW_BEFORE_BUILD_LINUX: python -m pip install cmake casadi setuptools wheel\n          CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair -w {dest_dir} {wheel}\n          CIBW_TEST_COMMAND: |\n            set -e -x\n            python -c \"import pybamm; print(pybamm.IDAKLUSolver())\"\n\n      - name: Upload wheels for Linux\n        uses: actions/upload-artifact@v4\n        with:\n          name: wheels_manylinux\n          path: ./wheelhouse/*.whl\n          if-no-files-found: error\n\n  build_macos_wheels:\n    name: Wheels (${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-13, macos-14]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Clone pybind11 repo (no history)\n        run: git clone --depth 1 --branch v2.12.0 https://github.com/pybind/pybind11.git -c advice.detachedHead=false\n\n      - name: Set macOS-specific environment variables\n        run: echo \"MACOSX_DEPLOYMENT_TARGET=11.0\" >> $GITHUB_ENV\n\n      - name: Install cibuildwheel\n        run: python -m pip install cibuildwheel\n\n      - name: Build wheels on macOS\n        shell: bash\n        run: |\n            set -e -x\n\n            # Set LLVM-OpenMP URL\n            if [[ $(uname -m) == \"x86_64\" ]]; then\n              OPENMP_URL=\"https://anaconda.org/conda-forge/llvm-openmp/11.1.0/download/osx-64/llvm-openmp-11.1.0-hda6cdc1_1.tar.bz2\"\n            elif [[ $(uname -m) == \"arm64\" ]]; then\n              OPENMP_URL=\"https://anaconda.org/conda-forge/llvm-openmp/11.1.0/download/osx-arm64/llvm-openmp-11.1.0-hf3c4609_1.tar.bz2\"\n            fi\n\n            # Download gfortran with proper macOS minimum version (11.0)\n            if [[ $(uname -m) == \"x86_64\" ]]; then\n              GFORTRAN_URL=\"https://github.com/isuruf/gcc/releases/download/gcc-11.3.0-2/gfortran-darwin-x86_64-native.tar.gz\"\n              KNOWN_SHA256=\"981367dd0ad4335613e91bbee453d60b6669f5d7e976d18c7bdb7f1966f26ae4 gfortran.tar.gz\"\n            elif [[ $(uname -m) == \"arm64\" ]]; then\n              GFORTRAN_URL=\"https://github.com/isuruf/gcc/releases/download/gcc-11.3.0-2/gfortran-darwin-arm64-native.tar.gz\"\n              KNOWN_SHA256=\"84364eee32ba843d883fb8124867e2bf61a0cd73b6416d9897ceff7b85a24604 gfortran.tar.gz\"\n            fi\n\n            # Validate gfortran tarball\n            curl -L $GFORTRAN_URL -o gfortran.tar.gz\n            if ! echo \"$KNOWN_SHA256\" != \"$(shasum --algorithm 256 gfortran.tar.gz)\"; then\n              echo \"Checksum failed\"\n              exit 1\n            fi\n\n            mkdir -p gfortran_installed\n            tar -xv -C gfortran_installed/ -f gfortran.tar.gz\n\n            if [[ $(uname -m) == \"x86_64\" ]]; then\n              export FC=$(pwd)/gfortran_installed/gfortran-darwin-x86_64-native/bin/gfortran\n              export PATH=$(pwd)/gfortran_installed/gfortran-darwin-x86_64-native/bin:$PATH\n            elif [[ $(uname -m) == \"arm64\" ]]; then\n              export FC=$(pwd)/gfortran_installed/gfortran-darwin-arm64-native/bin/gfortran\n              export PATH=$(pwd)/gfortran_installed/gfortran-darwin-arm64-native/bin:$PATH\n            fi\n\n            # link libgfortran dylibs and place them in $HOME/.local/lib\n            # and then change rpath to $HOME/.local/lib for each of them\n            # Note: libgcc_s.1.dylib not available on macOS arm64; skip for now\n            mkdir -p $HOME/.local/lib\n            if [[ $(uname -m) == \"x86_64\" ]]; then\n              lib_dir=$(pwd)/gfortran_installed/gfortran-darwin-x86_64-native/lib\n              for lib in libgfortran.5.dylib libgfortran.dylib libquadmath.0.dylib libquadmath.dylib libgcc_s.1.dylib libgcc_s.1.1.dylib; do\n                cp $lib_dir/$lib $HOME/.local/lib/\n                install_name_tool -id $HOME/.local/lib/$lib $HOME/.local/lib/$lib\n                codesign --force --sign - $HOME/.local/lib/$lib\n              done\n            elif [[ $(uname -m) == \"arm64\" ]]; then\n              lib_dir=$(pwd)/gfortran_installed/gfortran-darwin-arm64-native/lib\n              for lib in libgfortran.5.dylib libgfortran.dylib libquadmath.0.dylib libquadmath.dylib libgcc_s.1.1.dylib; do\n                cp $lib_dir/$lib $HOME/.local/lib/\n                install_name_tool -id $HOME/.local/lib/$lib $HOME/.local/lib/$lib\n                codesign --force --sign - $HOME/.local/lib/$lib\n              done\n            fi\n\n            export SDKROOT=${SDKROOT:-$(xcrun --show-sdk-path)}\n\n            # Can't download LLVM-OpenMP directly, use conda/mamba and set environment variables\n            brew install miniforge\n            mamba create -n pybamm-dev $OPENMP_URL\n            if [[ $(uname -m) == \"x86_64\" ]]; then\n              PREFIX=\"/usr/local/Caskroom/miniforge/base/envs/pybamm-dev\"\n            elif [[ $(uname -m) == \"arm64\" ]]; then\n              PREFIX=\"/opt/homebrew/Caskroom/miniforge/base/envs/pybamm-dev\"\n            fi\n\n            # Copy libomp.dylib from PREFIX to $HOME/.local/lib, needed for wheel repair\n            cp $PREFIX/lib/libomp.dylib $HOME/.local/lib/\n            install_name_tool -id $HOME/.local/lib/libomp.dylib $HOME/.local/lib/libomp.dylib\n            codesign --force --sign - $HOME/.local/lib/libomp.dylib\n\n            export CC=/usr/bin/clang\n            export CXX=/usr/bin/clang++\n            export CPPFLAGS=\"$CPPFLAGS -Xpreprocessor -fopenmp\"\n            export CFLAGS=\"$CFLAGS -I$PREFIX/include\"\n            export CXXFLAGS=\"$CXXFLAGS -I$PREFIX/include\"\n            export LDFLAGS=\"$LDFLAGS -L$PREFIX/lib -lomp\"\n\n            # cibuildwheel not recognising its environment variable, so set manually\n            export CIBUILDWHEEL=\"1\"\n\n            python scripts/install_KLU_Sundials.py\n            python -m cibuildwheel --output-dir wheelhouse\n        env:\n          CIBW_ARCHS_MACOS: auto\n          CIBW_BEFORE_BUILD: python -m pip install cmake casadi setuptools wheel delocate\n          CIBW_REPAIR_WHEEL_COMMAND: |\n            if [[ $(uname -m) == \"x86_64\" ]]; then\n              delocate-listdeps {wheel} && delocate-wheel -v -w {dest_dir} {wheel}\n            elif [[ $(uname -m) == \"arm64\" ]]; then\n              # Use higher macOS target for now: https://github.com/casadi/casadi/issues/3698\n              delocate-listdeps {wheel} && delocate-wheel -v -w {dest_dir} {wheel} --require-target-macos-version 11.1\n              for file in {dest_dir}/*.whl; do mv \"$file\" \"${file//macosx_11_1/macosx_11_0}\"; done\n            fi\n          CIBW_TEST_COMMAND: |\n            set -e -x\n            python -c \"import pybamm; print(pybamm.IDAKLUSolver())\"\n\n      - name: Upload wheels for macOS (amd64, arm64)\n        uses: actions/upload-artifact@v4\n        with:\n          name: wheels_${{ matrix.os }}\n          path: ./wheelhouse/*.whl\n          if-no-files-found: error\n\n  build_sdist:\n    name: Build SDist\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Build SDist\n        run: pipx run build --sdist\n\n      - name: Upload SDist\n        uses: actions/upload-artifact@v4\n        with:\n          name: sdist\n          path: ./dist/*.tar.gz\n          if-no-files-found: error\n\n  publish_pypi:\n    # This job is only of value to PyBaMM and would always be skipped in forks\n    if: github.event_name != 'schedule' && github.repository == 'pybamm-team/PyBaMM'\n    name: Upload package to PyPI\n    needs: [\n      build_manylinux_wheels,\n      build_macos_wheels,\n      build_windows_wheels,\n      build_sdist\n    ]\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/pybamm\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Download all artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: artifacts\n          merge-multiple: true\n\n      - name: Sanity check downloaded artifacts\n        run: ls -lTA artifacts/\n\n      - name: Publish to PyPI\n        if: github.event.inputs.target == 'pypi' || github.event_name == 'release'\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: artifacts/\n\n      - name: Publish to TestPyPI\n        if: github.event.inputs.target == 'testpypi'\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.TESTPYPI_TOKEN }}\n          packages-dir: files/\n          repository-url: https://test.pypi.org/legacy/\n\n  open_failure_issue:\n    needs: [\n      build_windows_wheels,\n      build_manylinux_wheels,\n      build_macos_wheels,\n      build_sdist\n    ]\n    name: Open an issue if build fails\n    if: ${{ always() && contains(needs.*.result, 'failure') && github.repository_owner == 'pybamm-team'}}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: JasonEtco/create-an-issue@v2\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        LOGS: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n      with:\n        filename: .github/wheel_failure.md\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:42.837134", "created_at": "2022-08-25T15:33:42+02:00", "updated_at": "2022-08-25T15:33:42+02:00", "name": "Generate work precision sets", "path": ".github/workflows/work_precision_sets.yml", "contents": "name: Generate work precision sets\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  benchmarks_on_release:\n    if: github.repository_owner == 'pybamm-team'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Get current date\n        run: echo \"VERSION=$(date +'%y.%-m')\" >> $GITHUB_ENV\n      - name: Install PyBaMM\n        run: python -m pip install pybamm==${{ env.VERSION }}\n      - name: Run time_vs_* benchmarks for PyBaMM v${{ env.VERSION }}\n        run: |\n          python benchmarks/work_precision_sets/time_vs_dt_max.py\n          python benchmarks/work_precision_sets/time_vs_mesh_size.py\n          python benchmarks/work_precision_sets/time_vs_no_of_states.py\n          python benchmarks/work_precision_sets/time_vs_reltols.py\n          python benchmarks/work_precision_sets/time_vs_abstols.py\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          delete-branch: true\n          branch-suffix: short-commit-hash\n          commit-message: Work precision sets for PyBaMM version ${{ env.VERSION }}\n          title: Work precision sets for PyBaMM version ${{ env.VERSION }}\n          body: |\n            Update work precision sets for PyBaMM version ${{ env.VERSION }} in `release_work_precision_sets.md`\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:43.951147", "created_at": "2022-09-08T15:36:59+02:00", "updated_at": "2022-09-08T15:36:59+02:00", "name": "Alert validation repository", "path": ".github/workflows/validation_benchmarks.yml", "contents": "name: Alert validation repository\non:\n  release:\n    types:\n      - published\n  push:\n    branches:\n      - develop\n\njobs:\n  build:\n    if: github.repository_owner == 'pybamm-team'\n    name: Dispatch to `pybamm-validation`\n    runs-on: ubuntu-latest\n    steps:\n      - uses: mvasigh/dispatch-action@main\n        with:\n          token: ${{ secrets.BENCHMARKS_ACCESS_TOKEN }}\n          repo: pybamm-validation\n          owner: pybamm-team\n          event_type: ${{ github.event_name }}\n          message: |\n            {\n              \"commit_hash\": \"$GITHUB_SHA\"\n            }\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:44.941100", "created_at": "2023-02-26T19:51:46+01:00", "updated_at": "2023-12-23T19:53:10+01:00", "name": "Check URLs with Lychee", "path": ".github/workflows/lychee_url_checker.yml", "contents": "name: Check URLs with Lychee\n\non:\n  push:\n    branches:\n      - main\n      - develop\n  pull_request:\n  schedule:\n    # Run everyday at 3 am UTC\n    - cron: \"0 3 * * *\"\n\njobs:\n  linkChecker:\n    runs-on: ubuntu-latest\n    steps:\n\n      # cache Lychee results to avoid hitting rate limits\n      - name: Restore lychee cache\n        uses: actions/cache@v4\n        with:\n          path: .lycheecache\n          key: cache-lychee-${{ github.sha }}\n          restore-keys: cache-lychee-\n\n      # check URLs with Lychee\n      - uses: actions/checkout@v4\n\n      # use stable version for now to avoid breaking changes\n      - name: Lychee URL checker\n        uses: lycheeverse/lychee-action@v1.10.0\n        with:\n          # arguments with file types to check\n          args: >-\n            --cache\n            --no-progress\n            --max-cache-age 2d\n            --timeout 10\n            --max-retries 5\n            --skip-missing\n            --exclude-loopback\n            --exclude https://twitter.com/pybamm_\n            --exclude \"https://doi\\.org|www.sciencedirect\\.com/*\"\n            --exclude https://www.rse.ox.ac.uk\n            --accept 200,429\n            --exclude-path ./CHANGELOG.md\n            --exclude-path ./scripts/update_version.py\n            --exclude-path asv.conf.json\n            --exclude-path docs/conf.py\n            --exclude-path all_contributors.md\n            './**/*.rst'\n            './**/*.md'\n            './**/*.py'\n            './**/*.ipynb'\n            './**/*.json'\n            './**/*.toml'\n          # fail the action on broken links\n          fail: true\n          jobSummary: true\n          format: markdown\n        env:\n          # to be used in case rate limits are surpassed\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:46.105897", "created_at": "2023-04-21T21:59:10+02:00", "updated_at": "2023-04-21T21:59:10+02:00", "name": "Remove needs-reply label", "path": ".github/workflows/need_reply_remove.yml", "contents": "name: Remove needs-reply label\n\non:\n  schedule:\n      - cron:  '0 3 * * 1'\n  issue_comment:\n    types:\n      - created\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: |\n      github.event.comment.author_association != 'OWNER' &&\n      github.event.comment.author_association != 'COLLABORATOR' &&\n      github.repository_owner == 'pybamm-team' &&\n      github.event_name != 'pull_request'\n    steps:\n      - name: Remove needs-reply label\n        uses: octokit/request-action@v2.x\n        continue-on-error: true\n        with:\n          route: DELETE /repos/:repository/issues/:issue/labels/:label\n          repository: ${{ github.repository }}\n          issue: ${{ github.event.issue.number }}\n          label: needs-reply\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:47.107818", "created_at": "2023-04-21T21:59:10+02:00", "updated_at": "2023-04-21T21:59:10+02:00", "name": "Close old issues that need reply", "path": ".github/workflows/needs_reply.yml", "contents": "name: Close old issues that need reply\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: github.repository_owner == 'pybamm-team'\n    steps:\n      - name: Close old issues that need reply\n        uses: dwieeb/needs-reply@v2\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          issue-label: needs-reply\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:48.241749", "created_at": "2023-05-18T15:54:58+02:00", "updated_at": "2023-05-18T15:54:58+02:00", "name": "Scheduled", "path": ".github/workflows/run_periodic_tests.yml", "contents": "# Run all unit tests and integration tests for all Python versions\n# and platforms at 3am UTC every day and on PRs to the main branch\nname: Scheduled\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - main\n\n  # Run every day at 3 am UTC\n  schedule:\n    - cron: \"0 3 * * *\"\n\nenv:\n  FORCE_COLOR: 3\n\nconcurrency:\n  # github.workflow: name of the workflow, so that we don't cancel other workflows\n  # github.event.pull_request.number || github.ref: pull request number or branch name if not a pull request\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  # Cancel in-progress runs when a new workflow with the same group name is triggered\n  # This avoids workflow runs on both pushes and PRs\n  cancel-in-progress: true\n\njobs:\n  run_unit_tests:\n    name: Unit tests (${{ matrix.os }} / Python ${{ matrix.python-version }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-12, macos-14, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        # Exclude Python 3.12 from unit tests since we run it in the coverage jobs\n        exclude:\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n    steps:\n      - name: Check out PyBaMM repository\n        uses: actions/checkout@v4\n\n      - name: Install Linux system dependencies\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo apt-get update\n          sudo apt-get install gfortran gcc graphviz pandoc libopenblas-dev texlive-latex-extra dvipng\n\n      - name: Install macOS system dependencies\n        if: matrix.os == 'macos-12' || matrix.os == 'macos-14'\n        env:\n          HOMEBREW_NO_INSTALL_CLEANUP: 1\n          HOMEBREW_NO_AUTO_UPDATE: 1\n          HOMEBREW_NO_COLOR: 1\n          # Speed up CI\n          NONINTERACTIVE: 1\n        # sometimes gfortran cannot be found, so reinstall gcc just to be sure\n        run: |\n          brew analytics off\n          brew install graphviz libomp\n          brew reinstall gcc\n\n      - name: Install Windows system dependencies\n        if: matrix.os == 'windows-latest'\n        run: choco install graphviz --version=8.0.5\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install nox\n        run: python -m pip install nox\n\n      - name: Install SuiteSparse and SUNDIALS on GNU/Linux and macOS\n        timeout-minutes: 10\n        if: matrix.os != 'windows-latest'\n        run: python -m nox -s pybamm-requires\n\n      - name: Run unit tests for ${{ matrix.os }} with Python ${{ matrix.python-version }}\n        run: python -m nox -s unit\n\n  check_coverage:\n    runs-on: ubuntu-latest\n    name: Coverage tests (ubuntu-latest / Python 3.12)\n\n    steps:\n      - name: Check out PyBaMM repository\n        uses: actions/checkout@v4\n\n      - name: Install Linux system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install gfortran gcc graphviz pandoc libopenblas-dev texlive-latex-extra dvipng\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install nox\n        run: python -m pip install nox\n\n      - name: Install SuiteSparse and SUNDIALS on GNU/Linux\n        timeout-minutes: 10\n        run: python -m nox -s pybamm-requires\n\n      - name: Run unit tests for Ubuntu with Python 3.12 and generate coverage report\n        run: python -m nox -s coverage\n\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v4.5.0\n        if: github.repository == 'pybamm-team/PyBaMM'\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  run_integration_tests:\n    name: Integration tests (${{ matrix.os }} / Python ${{ matrix.python-version }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-12, macos-14, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Check out PyBaMM repository\n        uses: actions/checkout@v4\n\n      - name: Install Linux system dependencies\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo apt-get update\n          sudo apt-get install gfortran gcc graphviz pandoc libopenblas-dev texlive-latex-extra dvipng\n\n      - name: Install macOS system dependencies\n        if: matrix.os == 'macos-12' || matrix.os == 'macos-14'\n        env:\n          HOMEBREW_NO_INSTALL_CLEANUP: 1\n          HOMEBREW_NO_AUTO_UPDATE: 1\n          HOMEBREW_NO_COLOR: 1\n          # Speed up CI\n          NONINTERACTIVE: 1\n        # sometimes gfortran cannot be found, so reinstall gcc just to be sure\n        run: |\n          brew analytics off\n          brew install graphviz\n          brew reinstall gcc\n\n      - name: Install Windows system dependencies\n        if: matrix.os == 'windows-latest'\n        run: choco install graphviz --version=8.0.5\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install nox\n        run: python -m pip install nox\n\n      - name: Install SuiteSparse and SUNDIALS on GNU/Linux and macOS\n        timeout-minutes: 10\n        if: matrix.os != 'windows-latest'\n        run: python -m nox -s pybamm-requires\n\n      - name: Run integration tests for ${{ matrix.os }} with Python ${{ matrix.python-version }}\n        run: python -m nox -s integration\n\n  # Skips IDAKLU module compilation for speedups, which is already tested in other jobs.\n  run_doctests:\n    runs-on: ubuntu-latest\n    name: Doctests (ubuntu-latest / Python 3.11)\n    steps:\n      - name: Check out PyBaMM repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Linux system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install graphviz pandoc libopenblas-dev texlive-latex-extra dvipng\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Install nox\n        run: python -m pip install nox\n\n      - name: Install docs dependencies and run doctests for GNU/Linux\n        run: python -m nox -s doctests\n\n      - name: Check if the documentation can be built for GNU/Linux\n        run: python -m nox -s docs\n\n  run_example_tests:\n    runs-on: ubuntu-latest\n    name: Example notebooks (ubuntu-latest / Python 3.12)\n\n    steps:\n      - name: Check out PyBaMM repository\n        uses: actions/checkout@v4\n\n      - name: Install Linux system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install gfortran gcc graphviz pandoc libopenblas-dev texlive-latex-extra dvipng\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install nox\n        run: python -m pip install nox\n\n      - name: Install SuiteSparse and SUNDIALS on GNU/Linux\n        timeout-minutes: 10\n        run: python -m nox -s pybamm-requires\n\n      - name: Run example notebooks tests for GNU/Linux with Python 3.12\n        run: python -m nox -s examples\n\n  run_scripts_tests:\n    runs-on: ubuntu-latest\n    name: Example scripts (ubuntu-latest / Python 3.12)\n\n    steps:\n      - name: Check out PyBaMM repository\n        uses: actions/checkout@v4\n\n      - name: Install Linux system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt install gfortran gcc graphviz libopenblas-dev texlive-latex-extra dvipng\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install nox\n        run: python -m pip install nox\n\n      - name: Install SuiteSparse and SUNDIALS on GNU/Linux\n        timeout-minutes: 10\n        run: python -m nox -s pybamm-requires\n\n      - name: Run example scripts tests for GNU/Linux with Python 3.12\n        run: python -m nox -s scripts\n\n  # M-series Mac Mini\n  build-apple-mseries:\n    if: github.repository_owner == 'pybamm-team'\n    runs-on: [self-hosted, macOS, ARM64]\n    env:\n      GITHUB_PATH: ${PYENV_ROOT/bin:$PATH}\n      LD_LIBRARY_PATH: $HOME/.local/lib\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: Check out PyBaMM repository\n        uses: actions/checkout@v4\n\n      - name: Install Python & create virtualenv\n        shell: bash\n        run: |\n          eval \"$(pyenv init -)\"\n          pyenv install ${{ matrix.python-version }} -s\n          pyenv virtualenv ${{ matrix.python-version }} pybamm-${{ matrix.python-version }}\n\n      - name: Install build-time dependencies & run unit tests for M-series macOS runner\n        shell: bash\n        env:\n          HOMEBREW_NO_INSTALL_CLEANUP: 1\n          NONINTERACTIVE: 1\n        run: |\n          eval \"$(pyenv init -)\"\n          pyenv activate pybamm-${{ matrix.python-version }}\n          python -m pip install --upgrade pip nox\n          python -m nox -s pybamm-requires -- --force\n          python -m nox -s unit\n\n      - name: Run integration tests for M-series macOS runner\n        run: |\n          eval \"$(pyenv init -)\"\n          pyenv activate pybamm-${{ matrix.python-version }}\n          python -m nox -s integration\n\n      - name: Uninstall pyenv-virtualenv & Python\n        if: always()\n        shell: bash\n        run: |\n          eval \"$(pyenv init -)\"\n          pyenv activate pybamm-${{ matrix.python-version }}\n          pyenv uninstall -f $( python --version )\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:49.485281", "created_at": "2023-09-10T00:36:06+02:00", "updated_at": "2023-10-20T22:17:45+02:00", "name": "Build and push Docker images to Docker Hub", "path": ".github/workflows/docker.yml", "contents": "name: Build and push Docker images to Docker Hub\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n    - develop\n\njobs:\n  build_docker_image:\n    # This workflow is only of value to PyBaMM and would always be skipped in forks\n    if: github.repository_owner == 'pybamm-team'\n    name: Build image\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n            username: ${{ secrets.DOCKERHUB_USERNAME }}\n            password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push Docker image to Docker Hub\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: scripts/Dockerfile\n          tags: pybamm/pybamm:latest\n          push: true\n          platforms: linux/amd64, linux/arm64\n\n      - name: List built image(s)\n        run: docker images\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:50.619066", "created_at": "2023-09-19T11:21:08+02:00", "updated_at": "2024-01-29T11:23:29+01:00", "name": "Create a release reminder", "path": ".github/workflows/release_reminder.yml", "contents": "name: Create a release reminder\n\non:\n  schedule:\n     # Run at 10 am UTC on days-of-month 1 and 28 in January, May, and September.\n     - cron: \"0 10 1,28 1,5,9 *\"\n\npermissions:\n  contents: read\n  issues: write\n\njobs:\n  remind:\n    if: github.repository_owner == 'pybamm-team'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filename: .github/release_reminder.md\n", "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:51.642699", "created_at": "2024-07-04T00:52:32+02:00", "updated_at": "2024-07-04T00:52:32+02:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": null, "state": "active", "repository": "pybamm-team/pybamm"}
{"mined_at": "2024-07-15T14:19:53.888169", "created_at": "2021-06-08T21:31:50+02:00", "updated_at": "2021-06-09T19:47:16+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "on:\n  push:\n  pull_request:\n    branches:\n      - master\n\nname: CI\n\njobs:\n  build:\n    name: Tox test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: fedora-python/tox-github-action@v37.0\n        with:\n          tox_env: ${{ matrix.tox_env }}\n          dnf_install: ${{ matrix.dnf_install }}\n      - uses: codecov/codecov-action@v3.1.1\n        if: ${{ endswith(matrix.tox_env, '-cover') }}\n        with:\n          files: ${{ github.workspace }}/cover/coverage.xml\n    strategy:\n      fail-fast: false\n      matrix:\n        tox_env:\n          - py38\n          - py39\n          - py310\n          - py311\n          - py312-cover\n        include:\n          - tox_env: docs\n            dnf_install: graphviz\n\n  pypi:\n    needs: build\n    if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository_owner == 'Telecominfraproject' }}\n    name: PyPI packaging\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v4\n        name: Install Python\n        with:\n          python-version: '3.12'\n      - uses: casperdcl/deploy-pypi@bb869aafd89f657ceaafe9561d3b5584766c0f95\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          pip: wheel -w dist/ --no-deps .\n          upload: true\n\n  docker:\n    needs: build\n    if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) && github.repository_owner == 'Telecominfraproject' }}\n    name: Docker image\n    runs-on: ubuntu-latest\n    steps:\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v1\n        with:\n          username: jktjkt\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Extract tag name\n        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}\n        id: extract_pretty_git\n        run: echo ::set-output name=GIT_DESC::$(git describe --tags)\n      - name: Build and push a container\n        uses: docker/build-push-action@v2\n        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}\n        with:\n          context: .\n          push: true\n          tags: |\n            telecominfraproject/oopt-gnpy:${{ steps.extract_pretty_git.outputs.GIT_DESC }}\n            telecominfraproject/oopt-gnpy:master\n      - name: Extract tag name\n        if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}\n        id: extract_tag_name\n        run: echo ::set-output name=GIT_DESC::${GITHUB_REF/refs\\/tags\\//}\n      - name: Build and push a container\n        uses: docker/build-push-action@v2\n        if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}\n        with:\n          context: .\n          push: true\n          tags: |\n            telecominfraproject/oopt-gnpy:${{ steps.extract_tag_name.outputs.GIT_DESC }}\n            telecominfraproject/oopt-gnpy:latest\n\n  other-platforms:\n    name: Tests on other platforms\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n      - run: |\n          pip install --editable .[tests]\n          pytest -vv\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: windows-2019\n            python_version: \"3.10\"\n          - os: windows-2022\n            python_version: \"3.11\"\n          - os: windows-2022\n            python_version: \"3.12\"\n          - os: macos-12\n            python_version: \"3.11\"\n          - os: macos-13\n            python_version: \"3.12\"\n\n  paywalled-platforms:\n    name: Tests on paywalled platforms\n    if: github.repository_owner == 'Telecominfraproject'\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n      - run: |\n          pip install --editable .[tests]\n          pytest -vv\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: macos-13-xlarge # Apple M1 CPU\n            python_version: \"3.12\"\n", "state": "active", "repository": "telecominfraproject/oopt-gnpy"}
{"mined_at": "2024-07-15T14:19:55.863458", "created_at": "2022-11-08T08:41:26+01:00", "updated_at": "2022-11-08T08:48:32+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '33 14 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "adbar/trafilatura"}
{"mined_at": "2024-07-15T14:19:56.864071", "created_at": "2021-07-26T17:13:35+02:00", "updated_at": "2021-07-26T17:26:21+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        # https://github.com/actions/python-versions/blob/main/versions-manifest.json\n        python-version: [\"3.9\", \"3.11\"]  # \"3.13-dev\"\n        env: [{ MINIMAL: \"true\" }, { MINIMAL: \"false\" }]\n        include:\n          # custom python versions\n          - os: ubuntu-20.04\n            python-version: 3.6\n          - os: ubuntu-20.04\n            python-version: 3.7\n          - os: ubuntu-20.04\n            python-version: 3.8\n          - os: macos-13\n            python-version: 3.8\n          - os: macos-latest\n            python-version: \"3.10\"\n          - os: windows-latest\n            python-version: \"3.10\"\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n    steps:\n    # Python and pip setup\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip setuptools wheel\n\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"::set-output name=dir::$(pip cache dir)\"\n\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    # package setup\n    - uses: actions/checkout@v4\n\n    # only where prebuilt wheels do not exist\n    # - name: Install LXML dependencies\n    #   if: ${{ matrix.python-version == '3.13-dev' }}\n    #   run: |\n    #     sudo apt-get update\n    #     sudo apt-get install libxml2-dev libxslt-dev\n\n    - name: Install dependencies\n      run: python -m pip install -e \".\"\n\n    # pycurl installation fix\n    - name: Install packages required by pycurl\n      if: ${{ matrix.env.MINIMAL == 'false'}}\n      run: |\n        sudo apt-get update\n        sudo apt-get install libcurl4-gnutls-dev libgnutls28-dev\n    # alternatively: sudo apt-get install libcurl4-openssl-dev libssl-dev\n\n    - name: Install full dependencies\n      if: ${{ matrix.env.MINIMAL == 'false'}}\n      run: python -m pip install -e \".[all]\"\n\n    # tests\n    - name: Lint with flake8\n      run: |\n        python -m pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Test with pytest\n      run: |\n        python -m pip install pytest pytest-cov\n        pytest --cov=./ --cov-report=xml\n\n    # coverage\n    - name: Upload coverage to Codecov\n      if: ${{ matrix.env.MINIMAL == 'false' && matrix.python-version == '3.11' }}\n      uses: codecov/codecov-action@v4\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      with:\n        fail_ci_if_error: true\n        files: ./coverage.xml\n        verbose: true\n", "state": "active", "repository": "adbar/trafilatura"}
{"mined_at": "2024-07-15T14:19:58.982795", "created_at": "2022-06-14T06:11:57+02:00", "updated_at": "2022-06-15T03:53:18+02:00", "name": "Black Python Formatter", "path": ".github/workflows/black_python_formatter.yml", "contents": "name: Black Python Formatter\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    # Name the Job\n    name: Python Formatter\n    # Set the agent to run on\n    runs-on: ubuntu-20.04\n\n    ##################\n    # Load all steps #\n    ##################\n    steps:\n      ##########################\n      # Checkout the code base #\n      ##########################\n      - name: Checkout Code\n        uses: actions/checkout@v2\n        with:\n          # Full git history is needed to get a proper list of changed files within `super-linter`\n          fetch-depth: 0\n\n      ###################################\n      # Run Formatter against code base #\n      ###################################\n      - name: Format Python Files\n        uses: github/super-linter@v4\n        env:\n          LINTER_RULES_PATH: /\n          VALIDATE_ALL_CODEBASE: false\n          VALIDATE_PYTHON_BLACK: true\n          PYTHON_BLACK_CONFIG_FILE: pyproject.toml\n          DEFAULT_BRANCH: master\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "coedl/elpis"}
{"mined_at": "2024-07-15T14:20:00.129652", "created_at": "2021-11-09T13:15:51+01:00", "updated_at": "2021-11-09T13:15:51+01:00", "name": "Publish Docker @latest", "path": ".github/workflows/docker_image_latest.yml", "contents": "name: Publish Docker @latest\n\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n\njobs:\n  docker:\n    # runs-on: ubuntu-latest\n    runs-on: Elpis-runner    \n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v2\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          push: true\n          tags: coedl/elpis:latest\n", "state": "active", "repository": "coedl/elpis"}
{"mined_at": "2024-07-15T14:20:01.358148", "created_at": "2021-11-09T13:15:51+01:00", "updated_at": "2021-11-09T13:15:51+01:00", "name": "Publish Docker Image on Release", "path": ".github/workflows/docker_image_release.yml", "contents": "name: Publish Docker Image on Release\n\non:\n  push:\n    tags:\n      - 'v*.*.*'\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v2\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Get tag\n        id: tag\n        uses: dawidd6/action-get-tag@v1\n        with:\n          # Strip `v` prefix\n          strip_v: true\n      -\n        name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          push: true\n          tags: coedl/elpis:${{steps.tag.outputs.tag}}\n", "state": "active", "repository": "coedl/elpis"}
{"mined_at": "2024-07-15T14:20:03.474324", "created_at": "2021-01-15T16:17:41+01:00", "updated_at": "2021-01-15T16:19:57+01:00", "name": "black", "path": ".github/workflows/black.yml", "contents": "##\n## Copyright 2023 Ocean Protocol Foundation\n## SPDX-License-Identifier: Apache-2.0\n##\nname: black\n\non: [push]\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: psf/black@stable\n        with:\n          options: \"--check --verbose\"\n          version: \"22.10.0\"\n", "state": "active", "repository": "oceanprotocol/aquarius"}
{"mined_at": "2024-07-15T14:20:04.942660", "created_at": "2022-03-09T12:30:40+01:00", "updated_at": "2024-07-11T13:28:01+02:00", "name": "Codacy Security Scan", "path": ".github/workflows/codacy.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# This workflow checks out code, performs a Codacy security scan\n# and integrates the results with the\n# GitHub Advanced Security code scanning feature.  For more information on\n# the Codacy security scan action usage and parameters, see\n# https://github.com/codacy/codacy-analysis-cli-action.\n# For more information on Codacy Analysis CLI in general, see\n# https://github.com/codacy/codacy-analysis-cli.\n\nname: Codacy Security Scan\n\non:\n  push:\n    branches: [ v4main, v3 ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ v4main ]\n  schedule:\n    - cron: '25 11 * * 4'\n\npermissions:\n  contents: read\n\njobs:\n  codacy-security-scan:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n    name: Codacy Security Scan\n    runs-on: ubuntu-latest\n    steps:\n      # Checkout the repository to the GitHub Actions runner\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis\n      - name: Run Codacy Analysis CLI\n        uses: codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b\n        with:\n          # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository\n          # You can also omit the token and run the tools that support default configurations\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          verbose: true\n          output: results.sarif\n          format: sarif\n          # Adjust severity of non-security issues\n          gh-code-scanning-compat: true\n          # Force 0 exit code to allow SARIF file generation\n          # This will handover control about PR rejection to the GitHub side\n          max-allowed-issues: 2147483647\n\n      # Upload the SARIF file generated in the previous step\n      - name: Upload SARIF results file\n        uses: github/codeql-action/upload-sarif@v1\n        with:\n          sarif_file: results.sarif\n", "state": "disabled_inactivity", "repository": "oceanprotocol/aquarius"}
{"mined_at": "2024-07-15T14:20:06.050339", "created_at": "2022-03-09T12:11:53+01:00", "updated_at": "2024-07-11T20:25:44+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ v4main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ v4main ]\n  schedule:\n    - cron: '19 18 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "disabled_inactivity", "repository": "oceanprotocol/aquarius"}
{"mined_at": "2024-07-15T14:20:07.100018", "created_at": "2022-02-02T13:04:54+01:00", "updated_at": "2022-03-09T12:10:05+01:00", "name": "Aquarius tests", "path": ".github/workflows/pytest.yml", "contents": "##\n## Copyright 2023 Ocean Protocol Foundation\n## SPDX-License-Identifier: Apache-2.0\n##\nname: Aquarius tests\n\non:\n  - push\n  - pull_request\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Aquarius\n        uses: actions/checkout@v2\n      - name: Setup Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n      - uses: actions/checkout@v2\n        name: Checkout Barge\n        with:\n          repository: \"oceanprotocol/barge\"\n          path: 'barge'\n      - name: Run Barge\n        working-directory: ${{ github.workspace }}/barge\n        run: |\n          bash -x start_ocean.sh --no-aquarius --no-dashboard --with-rbac --with-thegraph 2>&1 > start_ocean.log &\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Wait for contracts deployment\n        working-directory: ${{ github.workspace }}/barge\n        run: |\n          for i in $(seq 1 250); do\n            sleep 5\n            [ -f \"$HOME/.ocean/ocean-contracts/artifacts/ready\" ] && break\n            done\n          ls -la \"$HOME/.ocean/ocean-contracts/artifacts/\"\n      - name: Test with pytest\n        run: |\n            coverage run --source aquarius -m pytest\n            coverage report\n            coverage xml\n      - name: Publish code coverage\n        uses: paambaati/codeclimate-action@v2.7.5\n        env:\n          CC_TEST_REPORTER_ID: d9a74ea9daf38479941f0f0b7502b0f67578d122cc660a9fca96bc06df5a1d99\n\n  dockerbuild:\n    runs-on: ubuntu-latest\n    needs: [build]\n    if: ${{ success() && github.event_name == 'pull_request'}}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Build\n        run: docker build -t \"testimage:latest\" .\n", "state": "active", "repository": "oceanprotocol/aquarius"}
{"mined_at": "2024-07-15T14:20:09.343312", "created_at": "2021-02-03T22:58:19+01:00", "updated_at": "2021-02-03T22:58:19+01:00", "name": "Cron tests on develop branch", "path": ".github/workflows/ci_cron.yml", "contents": "name: Cron tests on develop branch\n\non:\n  schedule:\n    # run every Monday at 8am UTC\n    - cron: '0 8 * * 1'\n\nenv:\n  SETUP_XVFB: True  # avoid issues if something tries to open a GUI window\n\njobs:\n  cron-tests:\n    name: Tox env ${{ matrix.python }}-${{ matrix.toxenv }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python: ['3.10', '3.11', '3.12']\n        toxenv: [test-alldeps, test-numpydev, test-linetoolsdev, test-gingadev, test-astropydev]\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n      with:\n        ref: develop\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install base dependencies\n      run: |\n        python -m pip install --upgrade pip tox\n    - name: Test with tox\n      run: |\n        tox -e ${{ matrix.python }}-${{ matrix.toxenv }}\n", "state": "active", "repository": "pypeit/pypeit"}
{"mined_at": "2024-07-15T14:20:10.470108", "created_at": "2020-11-17T18:26:13+01:00", "updated_at": "2020-11-17T18:26:13+01:00", "name": "CI Tests", "path": ".github/workflows/ci_tests.yml", "contents": "name: CI Tests\n\non:\n  push:\n    branches:\n    - release\n    - develop\n  pull_request:\n\nenv:\n  SETUP_XVFB: True  # avoid issues if something tries to open a GUI window\n\njobs:\n  ci-tests:\n    name: Tox env ${{ matrix.python }}-${{ matrix.toxenv }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python: ['3.10', '3.11', '3.12']\n        toxenv: [test, test-alldeps-cov, test-linetoolsdev, test-gingadev, test-astropydev]\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install base dependencies\n      run: |\n        python -m pip install --upgrade pip tox\n    - name: Test with tox\n      run: |\n        tox -e ${{ matrix.python }}-${{ matrix.toxenv }}\n    - name: Upload coverage to codecov\n      if: \"contains(matrix.toxenv, '-cov')\"\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV }}\n        file: ./coverage.xml\n        fail_ci_if_error: true\n\n  os-tests:\n    name: Python ${{ matrix.python }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # set this to false for now so windows failures don't prevent macos test from finishing\n      fail-fast: false\n      matrix:\n        os: [windows-latest, macos-latest]\n        python: ['3.10', '3.11', '3.12']\n        toxenv: [test-alldeps]\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install base dependencies\n      run: |\n        python -m pip install --upgrade pip tox\n    - name: Test with tox\n      run: |\n        tox -e ${{ matrix.python }}-${{ matrix.toxenv }}\n\n  conda:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Conda environment check\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n    - name: Install base dependencies\n      run: |\n        python -m pip install --upgrade pip tox\n    - name: Run pypeit tests from environment built with conda\n      run: |\n        tox -e conda\n\n  codestyle:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Python codestyle check\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n    - name: Install base dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install pycodestyle\n    - name: Check for runtime errors using pycodestyle\n      run: |\n        pycodestyle pypeit --count --select=E9\n", "state": "active", "repository": "pypeit/pypeit"}
{"mined_at": "2024-07-15T14:20:12.479683", "created_at": "2020-05-11T02:15:01+02:00", "updated_at": "2020-05-12T02:15:16+02:00", "name": "Issue Manager", "path": ".github/workflows/issue-manager.yml", "contents": "name: Issue Manager\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  issue_comment:\n    types:\n      - created\n  issues:\n    types:\n      - labeled\n  pull_request_target:\n    types:\n      - labeled\n  workflow_dispatch:\n\njobs:\n  issue-manager:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: tiangolo/issue-manager@0.5.0\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          config: >\n            {\n              \"answered\": {\n                \"message\": \"Assuming the original issue was solved, it will be automatically closed now.\"\n              },\n              \"waiting\": {\n                \"message\": \"Automatically closing. To re-open, please provide the additional information requested.\"\n              }\n            }\n", "state": "active", "repository": "browniebroke/django-codemod"}
{"mined_at": "2024-07-15T14:20:13.746172", "created_at": "2020-06-16T19:07:50+02:00", "updated_at": "2020-06-16T19:07:50+02:00", "name": "Sync Github labels", "path": ".github/workflows/labels.yml", "contents": "name: Sync Github labels\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \".github/**\"\n\njobs:\n  labels:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Install labels\n        run: pip install labels\n      - name: Sync config with Github\n        run: labels -u ${{ github.repository_owner }} -t ${{ secrets.GITHUB_TOKEN }} sync -f .github/labels.toml\n", "state": "active", "repository": "browniebroke/django-codemod"}
{"mined_at": "2024-07-15T14:20:15.850364", "created_at": "2020-09-27T12:51:43+02:00", "updated_at": "2020-09-27T12:51:43+02:00", "name": "Hacktoberfest", "path": ".github/workflows/hacktoberfest.yml", "contents": "name: Hacktoberfest\n\non:\n  schedule:\n    # Run every day in October\n    - cron: \"0 0 * 10 *\"\n    # Run on the 1st of November to revert\n    - cron: \"0 13 1 11 *\"\n\njobs:\n  hacktoberfest:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: browniebroke/hacktoberfest-labeler-action@v2.3.0\n        with:\n          github_token: ${{ secrets.CPR_GITHUB_TOKEN }}\n", "state": "active", "repository": "browniebroke/django-codemod"}
{"mined_at": "2024-07-15T14:34:57.900584", "created_at": "2020-10-02T17:44:28+02:00", "updated_at": "2021-04-29T11:16:15+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: Test\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        os:\n          - ubuntu-latest\n          - windows-latest\n          - macOS-latest\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry\n      - uses: actions/setup-python@v5\n        with:\n          cache: poetry\n          python-version: ${{ matrix.python-version }}\n      - name: Install Dependencies\n        run: poetry install\n        shell: bash\n      - name: Test with Pytest\n        run: poetry run pytest --cov-report=xml\n        shell: bash\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  e2e:\n    # https://github.com/browniebroke/django-codemod/issues/302\n    name: e2e\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          cache: pip\n          python-version: \"3.9\"\n      - name: Install Dependencies\n        run: |\n          pip install .\n          pip install 'Django>=3.0,<3.1'\n      - name: Run e2e script\n        run: ./tests/test_e2e.sh\n\n  # Make sure commit messages follow the conventional commits convention:\n  # https://www.conventionalcommits.org\n  commitlint:\n    name: Lint Commit Messages\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: wagoid/commitlint-github-action@v6.0.1\n\n  release:\n    needs:\n      - test\n      - commitlint\n\n    runs-on: ubuntu-latest\n    environment: release\n    concurrency: release\n    permissions:\n      id-token: write\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.head_ref || github.ref_name }}\n\n      # Do a dry run of PSR\n      - name: Test release\n        uses: python-semantic-release/python-semantic-release@v9.8.3\n        if: github.ref_name != 'main'\n        with:\n          root_options: --noop\n\n      # On main branch: actual PSR + upload to PyPI & GitHub\n      - name: Release\n        uses: python-semantic-release/python-semantic-release@v9.8.3\n        id: release\n        if: github.ref_name == 'main'\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        if: steps.release.outputs.released == 'true'\n\n      - name: Publish package distributions to GitHub Releases\n        uses: python-semantic-release/upload-to-gh-release@main\n        if: steps.release.outputs.released == 'true'\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "browniebroke/django-codemod"}
{"mined_at": "2024-07-15T14:34:58.941216", "created_at": "2022-04-04T21:09:14+02:00", "updated_at": "2022-04-04T21:09:14+02:00", "name": "Upgrader", "path": ".github/workflows/poetry-upgrade.yml", "contents": "name: Upgrader\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"14 2 19 * *\"\n\njobs:\n  upgrade:\n    uses: browniebroke/github-actions/.github/workflows/poetry-upgrade.yml@v1\n    secrets:\n      gh_pat: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n", "state": "active", "repository": "browniebroke/django-codemod"}
{"mined_at": "2024-07-15T14:35:00.119919", "created_at": "2022-11-08T14:04:11+01:00", "updated_at": "2022-11-25T21:22:49+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n  schedule:\n    - cron: \"52 23 * * 6\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [javascript, python]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n        if: ${{ matrix.language == 'javascript' || matrix.language == 'python' }}\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "browniebroke/django-codemod"}
{"mined_at": "2024-07-15T14:35:02.367188", "created_at": "2020-09-07T18:13:43+02:00", "updated_at": "2020-09-07T18:13:43+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request_target:\n    types: [assigned, opened, synchronize, reopened]\n  push:\n    branches:\n      - main\n\nenv:\n  GCS_PROJECT: qc-oss-mamba-org-quetz-dev\n  GCS_TOKEN: /home/runner/gcs/token.json\n  GCS_TOKEN_CONTENT: ${{ secrets.gcs_token_content }}\n\njobs:\n  test_quetz:\n    # timeout for the whole job\n    timeout-minutes: 10\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        test_database: [\"sqlite\", \"postgres\"]\n        db_init: [\"use-migrations\", \"create-tables\"]\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: mysecretpassword\n          POSTGRES_USER: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432/tcp\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n      redis:\n        image: redis\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 6379:6379\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: write gcs token file\n        run: |\n          mkdir $(dirname \"${GCS_TOKEN}\")\n          echo \"${GCS_TOKEN_CONTENT}\" > \"${GCS_TOKEN}\"\n      - name: install mamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment.yml\n      - name: test quetz\n        shell: bash -l -eo pipefail {0}\n        env:\n          TEST_DB_BACKEND: ${{ matrix.test_database }}\n          QUETZ_TEST_DBINIT: ${{ matrix.db_init }}\n          POSTGRES_HOST: localhost\n          POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}\n          S3_ACCESS_KEY: ${{ secrets.s3_access_key }}\n          S3_SECRET_KEY: ${{ secrets.s3_secret_key }}\n          S3_ENDPOINT: https://s3.sbg.cloud.ovh.net/\n          S3_REGION: sbg\n          S3_BUCKET_NAME: quetz\n        run: |\n          # install dev dependencies\n          pip install -e .[all,dev]\n          pip install redis rq\n          pip install pytest-github-actions-annotate-failures\n      - name: Testing server\n        shell: bash -l -eo pipefail {0}\n        # timeout for the step\n        timeout-minutes: 5\n        env:\n          TEST_DB_BACKEND: ${{ matrix.test_database }}\n          QUETZ_TEST_DBINIT: ${{ matrix.db_init }}\n          POSTGRES_HOST: localhost\n          POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}\n          S3_ACCESS_KEY: ${{ secrets.s3_access_key }}\n          S3_SECRET_KEY: ${{ secrets.s3_secret_key }}\n          S3_ENDPOINT: https://s3.sbg.cloud.ovh.net/\n          S3_REGION: sbg\n          S3_BUCKET_NAME: quetz\n        run: |\n          if [ \"$TEST_DB_BACKEND\" == \"postgres\" ]; then\n            export QUETZ_TEST_DATABASE=\"postgresql://postgres:mysecretpassword@${POSTGRES_HOST}:${POSTGRES_PORT}/postgres\"\n            echo \"Running with postgres\"\n          fi\n\n          if [ \"$QUETZ_TEST_DBINIT\" == \"use-migrations\" ]; then\n            echo \"Using migrations\"\n          fi\n\n          export QUETZ_IS_TEST=1\n\n          pytest -v ./quetz/tests/ --cov-config=pyproject.toml --cov=. --cov-report=xml  --capture=no\n\n      - name: Test the plugins\n        shell: bash -l -eo pipefail {0}\n        env:\n          TEST_DB_BACKEND: ${{ matrix.test_database }}\n          QUETZ_TEST_DBINIT: ${{ matrix.db_init }}\n          POSTGRES_HOST: localhost\n          POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}\n          S3_ACCESS_KEY: ${{ secrets.s3_access_key }}\n          S3_SECRET_KEY: ${{ secrets.s3_secret_key }}\n          S3_ENDPOINT: https://s3.sbg.cloud.ovh.net/\n          S3_REGION: sbg\n          S3_BUCKET_NAME: quetz\n        run: |\n          if [ \"$TEST_DB_BACKEND\" == \"postgres\" ]; then\n            export QUETZ_TEST_DATABASE=\"postgresql://postgres:mysecretpassword@${POSTGRES_HOST}:${POSTGRES_PORT}/postgres\"\n            echo \"Running with postgres\"\n          fi\n\n          # add micromamba to path\n          export PATH=$(dirname $MAMBA_EXE):$PATH\n          echo \"adding micromamba to path: $MAMBA_EXE\"\n\n          pip install --no-deps git+https://git@github.com/regro/libcflib@master\n\n          for f in ./plugins/quetz_*\n          do\n            echo \"::group::Testing plugin ${f}\"\n            quetz plugin install $f\n\n            # We want to test all the plugins, regardless of whether one fails\n            set +e\n            pytest -v $f\n            pytest_exit_code=$?\n            set -e\n            echo \"::endgroup::\"\n            if [ $pytest_exit_code -ne 0 ]; then\n              echo \"::error::Tests for plugin $f failed!\"\n              tests_failed=\"true\"\n            fi\n          done\n\n          if [ \"$tests_failed\" == \"true\" ]; then\n            echo \"::error::Some plugin tests failed!\"\n            exit 1\n          fi\n\n      - uses: codecov/codecov-action@v1\n        with:\n          verbose: true\n          file: ./coverage.xml\n\n  test_release:\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n\n      - name: install missing dependency\n        run: pip install ipython_genutils\n\n      - name: Get branch name\n        id: branch-name\n        uses: tj-actions/branch-names@eee8675bd61ec38bcfbfedd504d8473292ba649e\n\n      - name: Check Release\n        uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "mamba-org/quetz"}
{"mined_at": "2024-07-15T14:35:03.396699", "created_at": "2021-04-12T14:45:42+02:00", "updated_at": "2021-04-12T14:45:42+02:00", "name": "docker build and push", "path": ".github/workflows/docker-build-push.yml", "contents": "name: docker build and push\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"**\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    env:\n      IMAGE_NAME: mambaorg/quetz\n    steps:\n      - name: Set Docker image for main branch\n        if: ${{ github.ref == 'refs/heads/main' }}\n        run: echo \"DOCKER_IMAGES=${IMAGE_NAME}:latest\" >> $GITHUB_ENV\n\n      - name: Set Docker image for tag\n        if: ${{ startsWith(github.ref, 'refs/tags') }}\n        run: echo \"DOCKER_IMAGES=${IMAGE_NAME}:latest,${IMAGE_NAME}:${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n\n      - name: Show docker images\n        run: echo $DOCKER_IMAGES\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v2\n        with:\n          push: true\n          tags: ${{ env.DOCKER_IMAGES }}\n\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "mamba-org/quetz"}
{"mined_at": "2024-07-15T14:35:04.517019", "created_at": "2021-04-11T22:41:38+02:00", "updated_at": "2021-04-11T22:41:38+02:00", "name": "test docker build", "path": ".github/workflows/docker-build.yml", "contents": "name: test docker build\n\non:\n  pull_request:\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Build\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          load: true\n          tags: mambaorg/quetz\n", "state": "active", "repository": "mamba-org/quetz"}
{"mined_at": "2024-07-15T14:35:05.649839", "created_at": "2022-01-10T10:43:16+01:00", "updated_at": "2022-01-20T18:24:11+01:00", "name": "Enforce PR label", "path": ".github/workflows/enforce-label.yml", "contents": "name: Enforce PR label\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, edited, synchronize]\n\njobs:\n  enforce-label:\n    runs-on: ubuntu-latest\n    steps:\n      - name: enforce-triage-label\n        uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1\n", "state": "active", "repository": "mamba-org/quetz"}
{"mined_at": "2024-07-15T14:35:06.775738", "created_at": "2020-09-02T12:38:49+02:00", "updated_at": "2020-09-02T12:38:49+02:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non: [push, pull_request]\n\ndefaults:\n  run:\n    shell: bash -el {0}\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment.yml\n      - name: Add micromamba to GITHUB_PATH\n        run: echo \"${HOME}/micromamba-bin\" >> \"$GITHUB_PATH\"\n      - run: ln -s \"${CONDA_PREFIX}\" .venv # Necessary for pyright.\n      - uses: pre-commit/action@v3.0.0\n        with:\n          extra_args: --all-files --show-diff-on-failure\n        env:\n          PRE_COMMIT_USE_MICROMAMBA: 1\n", "state": "active", "repository": "mamba-org/quetz"}
{"mined_at": "2024-07-15T14:35:07.835178", "created_at": "2020-12-07T12:53:49+01:00", "updated_at": "2020-12-07T12:53:49+01:00", "name": "sphinx docs check", "path": ".github/workflows/sphinx.yml", "contents": "name: \"sphinx docs check\"\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v2\n      - name: \"install dependencies\"\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment.yml\n      - name: \"build docs\"\n        shell: bash -l {0}\n        run: |\n          cd docs\n          make html SPHINXOPTS=\"-W\"\n      - uses: actions/upload-artifact@v1\n        name: \"upload artifacts\"\n        with:\n          name: DocumentationHTML\n          path: docs/build/html\n", "state": "active", "repository": "mamba-org/quetz"}
{"mined_at": "2024-07-15T14:35:09.931202", "created_at": "2020-09-28T22:38:57+02:00", "updated_at": "2021-02-18T20:58:12+01:00", "name": "Python Benchmarks", "path": ".github/workflows/benchmarks.yml", "contents": "name: Python Benchmarks\non:\n  push:\n    branches:\n      - main\njobs:\n  benchmark:\n    runs-on: ubuntu-latest\n    if: ${{ github.repository }} == 'histolab/histolab'\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.9'\n      - name: Run Benchmarks\n        run: |\n          sudo apt install -y openslide-tools\n          pip install numpy pytest pytest-benchmark requests\n          pip install -e .\n          pytest tests/benchmarks/test_benchmarks.py --benchmark-json output.json\n      # Download previous benchmark result from cache (if exists)\n      - name: Download previous benchmark data\n        uses: actions/cache@v1\n        with:\n          path: ./cache\n          key: ${{ runner.os }}-benchmark\n      - name: Store benchmark result\n        uses: rhysd/github-action-benchmark@v1\n        with:\n          name: Python Benchmark with pytest-benchmark\n          tool: 'pytest'\n          output-file-path: output.json\n          # Personal access token to deploy GitHub Pages branch\n          github-token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}\n          # Push and deploy GitHub pages branch automatically\n          auto-push: true\n          fail-on-alert: true\n          comment-on-alert: true\n          alert-comment-cc-users: '@ernestoarbitrio'\n          alert-threshold: '300%'\n", "state": "active", "repository": "histolab/histolab"}
{"mined_at": "2024-07-15T14:35:10.944062", "created_at": "2022-11-11T18:53:07+01:00", "updated_at": "2022-11-13T16:33:00+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\", \"gh-pages\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: \"0 2 * * 3\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n          config-file: ./.github/codeql/codeql-config.yml\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "histolab/histolab"}
{"mined_at": "2024-07-15T14:35:11.964337", "created_at": "2020-12-04T17:31:33+01:00", "updated_at": "2020-12-04T17:31:33+01:00", "name": "Publish histolab to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Publish histolab to PyPI\n\non:\n  release:\n    types: [released]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v3\n\n      - name: Install poetry\n        run: |\n          pip install poetry\n\n      - uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n          cache: \"poetry\"\n\n      - name: 📦 Build histolab\n        run: poetry build\n\n      - name: Publish release version on Test PyPI\n        id: release\n        env:\n          TEST_PYPI_APIKEY: ${{ secrets.TEST_PYPI_APIKEY }}\n        run: |\n          echo '::echo::on'\n          set +e\n          poetry build\n          poetry config repositories.test-pypi https://test.pypi.org/legacy/\n          poetry publish --repository test-pypi --username __token__ --password ${TEST_PYPI_APIKEY} -vvv\n          echo \"::set-output name=version::$(poetry version -s)\"\n\n      - name: Publish to PyPI\n        env:\n          PYPI_APIKEY: ${{ secrets.PYPI_APIKEY }}\n        run: poetry publish --username __token__ --password ${PYPI_APIKEY}\n", "state": "active", "repository": "histolab/histolab"}
{"mined_at": "2024-07-15T14:35:13.433185", "created_at": "2020-11-13T17:04:53+01:00", "updated_at": "2021-11-25T21:32:52+01:00", "name": "CI", "path": ".github/workflows/tests.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - v*\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - \"histolab/**\"\n      - \"tests/**\"\n      - \"pyproject.toml\"\n      - \"poetry.lock\"\n      - \".github/workflows/tests.yml\"\n      - \".pre-commit-config.yaml\"\n      - \"readthedocs.yml\"\n\njobs:\n  wsi-artifacts:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cache WSI files\n        uses: actions/cache@v3\n        id: cache-wsis\n        with:\n          path: tests/fixtures/external-svs\n          key: wsi-files\n\n      - name: Download WSI artifacts\n        if: steps.cache-wsis.outputs.cache-hit != 'true'\n        id: load-wsis\n        run: |\n          mkdir -p tests/fixtures/external-svs\n          wget https://dbarchive.biosciencedbc.jp/data/open-tggates-pathological-images/LATEST/images/isoniazid/Liver/2458.svs -O tests/fixtures/external-svs/liver-1.svs\n          wget http://openslide.cs.cmu.edu/download/openslide-testdata/Aperio/CMU-3.svs -O tests/fixtures/external-svs/cmu-3.svs\n          wget https://api.gdc.cancer.gov/data/2603768a-e300-490d-98ca-25ead7be66bd -O tests/fixtures/external-svs/colon-1.svs\n\n      - name: Temporarly save WSI artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: wsi-artifact\n          path: tests/fixtures/external-svs\n          retention-days: 1\n\n  build:\n    needs: wsi-artifacts\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [macOS-latest, ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        include:\n          - os: ubuntu-latest\n            cache-path: ~/.cache/pypoetry/virtualenvs\n          - os: macOS-latest\n            cache-path: ~/Library/Caches/pypoetry/cache\n\n    env:\n      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python ${{ matrix.python-version }}\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n          cache: \"poetry\"\n\n      - name: Install Pixman 0.40 on Ubuntu\n        id: pixman-ubuntu\n        if: ${{ runner.os == 'Linux' }}\n        run: |\n          wget https://www.cairographics.org/releases/pixman-0.40.0.tar.gz\n          tar -xvf pixman-0.40.0.tar.gz\n          cd pixman-0.40.0\n          ./configure\n          make\n          sudo make install\n          cd ..\n\n      - name: Install openslide\n        id: install-openslide\n        run: |\n          if [ \"$RUNNER_OS\" == \"Linux\" ]; then\n            sudo add-apt-repository ppa:openslide/openslide\n            sudo apt update\n            sudo apt install openslide-tools\n          elif [ \"$RUNNER_OS\" == \"macOS\" ]; then\n            brew install openslide\n          else\n            echo \"$RUNNER_OS not supported\"\n            exit 1\n          fi\n        shell: bash\n\n      - run: poetry run python --version\n      - run: poetry install\n        if: steps.setup-python.outputs.cache-hit != 'true'\n\n      - name: Retrieve saved WSIs\n        uses: actions/download-artifact@v2\n        with:\n          name: wsi-artifact\n          path: tests/fixtures/external-svs\n\n      - name: Test with pytest\n        id: tests\n        run: |\n          poetry run python -m pytest --ignore=tests/benchmarks --cov=histolab --cov-report=xml\n\n      - name: DocTests\n        id: doctests\n        run: |\n          poetry run python -m pytest histolab/ --doctest-modules\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: codecov-umbrella\n          fail_ci_if_error: true\n          verbose: false\n\n      - name: Slack Notification\n        uses: act10ns/slack@v1\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n        if: failure()\n\n  delete-wsi-artifacts:\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - uses: geekyeggo/delete-artifact@v1\n        with:\n          name: wsi-artifact\n          failOnError: false\n", "state": "active", "repository": "histolab/histolab"}
{"mined_at": "2024-07-15T14:35:14.557574", "created_at": "2021-12-20T12:39:27+01:00", "updated_at": "2021-12-20T12:39:27+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "histolab/histolab"}
{"mined_at": "2024-07-15T14:35:16.679321", "created_at": "2022-01-27T06:14:18+01:00", "updated_at": "2022-01-27T06:14:18+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  release:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: ['3.10']\n        os: [ubuntu-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      # Install dependencies.\n      - uses: actions/cache@v3\n        name: Python cache with dependencies.\n        id: python-cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ matrix.os }}-${{ matrix.python }}-${{ hashFiles('pyproject.toml') }}\n      - name: Install dependencies.\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .\n          pip list\n\n      # Build and publish.\n      - name: Publish release to PyPI\n        if: success()\n        run: |\n          pip install flit==3.9.0\n          flit --debug publish --no-use-vcs\n        env:\n          FLIT_USERNAME: __token__\n          FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "xlsform/pyxform"}
{"mined_at": "2024-07-15T14:35:17.820035", "created_at": "2022-01-24T16:40:35+01:00", "updated_at": "2022-01-27T06:14:18+01:00", "name": "Verify", "path": ".github/workflows/verify.yml", "contents": "name: Verify\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: ['3.10']\n        os: [ubuntu-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      # Install dependencies.\n      - uses: actions/cache@v3\n        name: Python cache with dependencies.\n        id: python-cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ matrix.os }}-${{ matrix.python }}-${{ hashFiles('pyproject.toml') }}\n      - name: Install dependencies.\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[dev]\n          pip list\n\n      # Linter.\n      - run: ruff check pyxform tests --no-fix\n      - run: ruff format pyxform tests --diff\n\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # Run all matrix jobs even if one of them fails.\n      fail-fast: false\n      matrix:\n        python: ['3.10', '3.11', '3.12']\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        include:\n          - os: windows-latest\n            windows_nose_args: --traverse-namespace ./tests\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      # Install dependencies.\n      - uses: actions/cache@v3\n        name: Python cache with dependencies.\n        id: python-cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ matrix.os }}-${{ matrix.python }}-${{ hashFiles('pyproject.toml') }}\n      - name: Install dependencies.\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[dev]\n          pip list\n\n      # Tests.\n      - name: Run tests\n        run: python -m unittest --verbose\n\n      # Build and Upload.\n      - name: Build sdist and wheel.\n        if: success()\n        run: |\n          pip install flit==3.9.0\n          flit --debug build --no-use-vcs\n      - name: Upload sdist and wheel.\n        if: success()\n        uses: actions/upload-artifact@v3\n        with:\n          name: pyxform--on-${{ matrix.os }}--py${{ matrix.python }}\n          path: ${{ github.workspace }}/dist/pyxform*\n", "state": "active", "repository": "xlsform/pyxform"}
{"mined_at": "2024-07-15T14:35:19.883140", "created_at": "2023-09-09T01:00:17+02:00", "updated_at": "2023-09-09T01:00:17+02:00", "name": "Create Conda Environments in Docker", "path": ".github/workflows/create_conda_envs.yml", "contents": "name: Create Conda Environments in Docker\n\non:\n  workflow_dispatch:\n    inputs:\n      subset:\n        description: 'Comma-separated list of environments to skip. Leave blank to build all.'\n        required: false\n        default: ''\n\nenv:\n  METPLUS_ENV_VERSION: v5.1\n  DOCKERFILE: Dockerfile\n  BASE_ENV: metplus_base\n  DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n  DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n\njobs:\n  check:\n    name: Check inputs to determine what to run\n    runs-on: ubuntu-latest\n    steps:\n      - id: parse_list\n        run: |\n          run_str=\"${{ github.event.inputs.subset }}\"\n          if [ \"$run_str\" == \"\" ]; then echo \"no_skip=true\" >> $GITHUB_OUTPUT; exit 0; fi\n          echo \"no_skip=false\" >> $GITHUB_OUTPUT\n          IFS=', ' read -r -a arr <<< \"$run_str\"\n          JSON=\"[\"\n          for item in ${arr[@]}; do JSON=\"$JSON\\\"$item\\\",\"; done\n          if [[ $JSON == *, ]]; then JSON=\"${JSON%?}\"; fi\n          JSON=\"$JSON]\"\n          echo \"run_list=$( echo \"$JSON\" )\" >> $GITHUB_OUTPUT\n          echo $JSON\n    outputs:\n      no_skip: ${{ steps.parse_list.outputs.no_skip }}\n      run_list: ${{ steps.parse_list.outputs.run_list }}\n\n  conda:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'conda'))\n    runs-on: ubuntu-latest\n    needs: [check]\n    env:\n      ENV_NAME: ${{ github.job }}\n      DOCKERFILE: Dockerfile.conda\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  metplus_base:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'metplus_base'))\n    runs-on: ubuntu-latest\n    needs: [check,conda]\n    env:\n      ENV_NAME: ${{ github.job }}\n      DOCKERFILE: Dockerfile.metplus_base\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  py_embed_base:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'py_embed_base'))\n    runs-on: ubuntu-latest\n    needs: [check,metplus_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n      DOCKERFILE: Dockerfile.py_embed_base\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  h5py:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'h5py'))\n    runs-on: ubuntu-latest\n    needs: [check,py_embed_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n      BASE_ENV: py_embed_base\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  metdataio:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'metdataio'))\n    runs-on: ubuntu-latest\n    needs: [check,metplus_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  pygrib:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'pygrib'))\n    runs-on: ubuntu-latest\n    needs: [check,py_embed_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n      BASE_ENV: py_embed_base\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  cfgrib:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'cfgrib'))\n    runs-on: ubuntu-latest\n    needs: [check,metplus_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  netcdf4:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'netcdf4'))\n    runs-on: ubuntu-latest\n    needs: [check,metplus_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  xesmf:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'xesmf'))\n    runs-on: ubuntu-latest\n    needs: [check,metplus_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  spacetime:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'spacetime'))\n    runs-on: ubuntu-latest\n    needs: [check,metplus_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  metplotpy:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'metplotpy'))\n    runs-on: ubuntu-latest\n    needs: [check,metplus_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n      DOCKERFILE: Dockerfile.cartopy\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  weatherregime:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'weatherregime'))\n    runs-on: ubuntu-latest\n    needs: [check,metplotpy]\n    env:\n      ENV_NAME: ${{ github.job }}\n      BASE_ENV: metplotpy\n      DOCKERFILE: Dockerfile.cartopy\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  cycloneplotter:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'cycloneplotter'))\n    runs-on: ubuntu-latest\n    needs: [check,metplus_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n      DOCKERFILE: Dockerfile.cartopy\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  icecover:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'icecover'))\n    runs-on: ubuntu-latest\n    needs: [check,py_embed_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n      BASE_ENV: py_embed_base\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  gempak:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'gempak'))\n    runs-on: ubuntu-latest\n    needs: [check,metplus_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n      DOCKERFILE: Dockerfile.gempak_env\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  gfdl-tracker:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'gfdl-tracker'))\n    runs-on: ubuntu-latest\n    needs: [check,metplus_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n      DOCKERFILE: Dockerfile.gfdl-tracker\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  geovista:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'geovista'))\n    runs-on: ubuntu-latest\n    needs: [check,metplus_base]\n    env:\n      ENV_NAME: ${{ github.job }}\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  pandac:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'pandac'))\n    runs-on: ubuntu-latest\n    needs: [check,metplotpy]\n    env:\n      ENV_NAME: ${{ github.job }}\n      BASE_ENV: metplotpy\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n\n  diff:\n    if: |\n      always() && (needs.check.outputs.no_skip == 'true' ||\n      contains(fromJSON(needs.check.outputs.run_list), 'diff'))\n    runs-on: ubuntu-latest\n    needs: [check,netcdf4]\n    env:\n      ENV_NAME: ${{ github.job }}\n      BASE_ENV: netcdf4\n    steps:\n      - uses: actions/checkout@v4\n      - run: .github/jobs/build_conda_image.sh\n      - run: .github/jobs/push_conda_image.sh\n", "state": "active", "repository": "dtcenter/metplus"}
{"mined_at": "2024-07-15T14:35:21.039811", "created_at": "2021-04-05T21:58:47+02:00", "updated_at": "2023-03-10T21:08:45+01:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "name: Documentation\non:\n  push:\n    branches:\n      - develop\n      - feature_**\n      - main_**\n      - bugfix_**\n    paths:\n      - docs/**\n  pull_request:\n    types: [opened, reopened, synchronize]\n\njobs:\n  documentation:\n    name: Documentation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade sphinx sphinx-gallery sphinx_rtd_theme\n          python -m pip install python-dateutil requests Pillow\n          python -m pip install -r docs/requirements.txt\n      - name: Build Documentation\n        run: ./.github/jobs/build_documentation.sh\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: METplus_documentation\n          path: artifact/documentation\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: documentation_warnings.log\n          path: artifact/doc_warnings.log\n          if-no-files-found: ignore\n", "state": "active", "repository": "dtcenter/metplus"}
{"mined_at": "2024-07-15T14:35:22.159369", "created_at": "2022-08-26T18:56:40+02:00", "updated_at": "2022-12-10T03:56:26+01:00", "name": "Add checksum to release", "path": ".github/workflows/release-checksum.yml", "contents": "name: Add checksum to release\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  add-checksum:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dtcenter/metplus-action-release-checksum@v1\n        with:\n          token: ${{ secrets.METPLUS_BOT_TOKEN }}\n", "state": "active", "repository": "dtcenter/metplus"}
{"mined_at": "2024-07-15T14:35:23.262483", "created_at": "2024-04-05T00:06:43+02:00", "updated_at": "2024-04-08T21:07:00+02:00", "name": "SonarQube Scan", "path": ".github/workflows/sonarqube.yml", "contents": "name: SonarQube Scan\n\n# Run SonarQube for Pull Requests and changes to the develop and main_vX.Y branches\n\non:\n\n  # Trigger analysis for pushes to develop and main_vX.Y branches\n  push:\n    branches:\n      - develop\n      - 'main_v**'\n    paths-ignore:\n      - 'docs/**'\n      - '.github/pull_request_template.md'\n      - '.github/ISSUE_TEMPLATE/**'\n      - '.github/labels/**'\n      - 'build_components/**'\n      - 'manage_externals/**'\n      - '**/README.md'\n      - '**/LICENSE.md'\n\n  # Trigger analysis for pull requests to develop and main_vX.Y branches\n  pull_request:\n    types: [opened, synchronize, reopened]\n    branches:\n      - develop\n      - 'main_v**'\n    paths-ignore:\n      - 'docs/**'\n      - '.github/pull_request_template.md'\n      - '.github/ISSUE_TEMPLATE/**'\n      - '.github/labels/**'\n      - 'build_components/**'\n      - 'manage_externals/**'\n      - '**/README.md'\n      - '**/LICENSE.md'\n\n  workflow_dispatch:\n    inputs:\n      reference_branch:\n        description: 'Reference Branch'\n        default: develop\n        type: string\n\njobs:\n  sonarqube:\n    name: SonarQube Scan\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - uses: actions/checkout@v4\n      with:\n        # Disable shallow clones for better analysis\n        fetch-depth: 0\n\n    - name: Get branch name\n      id: get_branch_name\n      run: echo branch_name=${GITHUB_REF#refs/heads/} >> $GITHUB_OUTPUT\n\n    - name: Configure SonarQube\n      run: .github/jobs/configure_sonarqube.sh\n      env:\n        SOURCE_BRANCH: ${{ steps.get_branch_name.outputs.branch_name }}\n        WD_REFERENCE_BRANCH: ${{ github.event.inputs.reference_branch }}\n        SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}\n        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n\n    - name: SonarQube Scan\n      uses: sonarsource/sonarqube-scan-action@master\n      env:\n        SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}\n        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n\n    - name: SonarQube Quality Gate check\n      id: sonarqube-quality-gate-check\n      uses: sonarsource/sonarqube-quality-gate-action@master\n      # Force to fail step after specific time.\n      timeout-minutes: 5\n      env:\n       SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}\n       SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "dtcenter/metplus"}
{"mined_at": "2024-07-15T14:35:24.400412", "created_at": "2021-05-06T19:26:08+02:00", "updated_at": "2021-06-21T21:33:47+02:00", "name": "Testing", "path": ".github/workflows/testing.yml", "contents": "name: Testing\n\non:\n\n  push:\n    branches:\n      - develop\n      - develop-ref\n      - 'feature_**'\n      - 'main_**'\n      - 'bugfix_**'\n    paths-ignore:\n      - 'docs/**'\n      - '.github/pull_request_template.md'\n      - '.github/ISSUE_TEMPLATE/**'\n      - '.github/labels/**'\n      - 'build_components/**'\n      - 'manage_externals/**'\n      - '**/README.md'\n      - '**/LICENSE.md'\n      \n  pull_request:\n    types: [opened, synchronize, reopened]\n    branches:\n      - develop\n      - 'main_*'\n    paths-ignore:\n      - 'docs/**'\n      - '.github/pull_request_template.md'\n      - '.github/ISSUE_TEMPLATE/**'\n      - '.github/labels/**'\n      - 'build_components/**'\n      - 'manage_externals/**'\n      - '**/README.md'\n      - '**/LICENSE.md'\n      \n  workflow_dispatch:\n    inputs:\n      force_met_image:\n        description: 'MET DockerHub repo to force run to use, e.g. met:11.1.0 or met-dev:feature_XYZ_name-PR. Leave this blank to determine repo automatically.'\n      repository:\n        description: 'Repository that triggered workflow (used by external repo triggering)'\n      sha:\n        description: 'Commit hash that triggered the event (used by external repo triggering)'\n      ref:\n        description: 'Branch that triggered event (used by external repo triggering)'\n      actor:\n        description: 'User that triggered the event (used by external repo triggering)'\n      pusher_email:\n        description: 'Email address of user who triggered push event (used by external repo triggering)'\n\njobs:\n\n  event_info:\n    name: \"Trigger: ${{ github.event_name != 'workflow_dispatch' && github.event_name || github.event.inputs.repository }} ${{ github.event_name != 'workflow_dispatch' && 'event' || github.event.inputs.sha }} ${{ github.event_name != 'workflow_dispatch' && 'local' || github.event.inputs.actor }} \"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Print GitHub values for reference\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n\n  job_control:\n    name: Determine which jobs to run\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set job controls\n        id: job_status\n        run: .github/jobs/set_job_controls.sh\n        env:\n          commit_msg: ${{ github.event.head_commit.message }}\n\n    outputs:\n      matrix: ${{ steps.job_status.outputs.matrix }}\n      run_some_tests: ${{ steps.job_status.outputs.run_some_tests }}\n      run_get_image: ${{ steps.job_status.outputs.run_get_image }}\n      run_get_input_data: ${{ steps.job_status.outputs.run_get_input_data }}\n      run_diff: ${{ steps.job_status.outputs.run_diff }}\n      run_save_truth_data: ${{ steps.job_status.outputs.run_save_truth_data }}\n      external_trigger: ${{ steps.job_status.outputs.external_trigger }}\n      branch_name: ${{ steps.job_status.outputs.branch_name }}\n\n  get_image:\n    name: Docker Setup - Get METplus Image\n    runs-on: ubuntu-latest\n    needs: job_control\n    if: ${{ needs.job_control.outputs.run_get_image == 'true' }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Free disk space\n        run: .github/jobs/free_disk_space.sh\n      - name: Get METplus Image\n        run: .github/jobs/docker_setup.sh\n        env:\n          DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n          DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n          EXTERNAL_TRIGGER: ${{ needs.job_control.outputs.external_trigger }}\n          SET_MET_IMAGE: ${{ github.event.inputs.force_met_image }}\n\n  update_data_volumes:\n    name: Docker Setup - Update Data Volumes\n    runs-on: ubuntu-latest\n    needs: job_control\n    if: ${{ needs.job_control.outputs.run_get_input_data == 'true' }}\n    continue-on-error: true\n    steps:\n      - uses: dtcenter/metplus-action-data-update@v2\n        with:\n          docker_name: ${{ secrets.DOCKER_USERNAME }}\n          docker_pass: ${{ secrets.DOCKER_PASSWORD }}\n          repo_name: ${{ github.repository }}\n          data_prefix: sample_data\n          branch_name: ${{ needs.job_control.outputs.branch_name }}\n          docker_data_dir: /data/input/METplus_Data\n          data_repo_dev: metplus-data-dev\n          data_repo_stable: metplus-data\n          use_feature_data: true\n          tag_max_pages: 15\n\n  use_case_tests:\n    name: Use Case Tests\n    runs-on: ubuntu-latest\n    needs: [get_image, update_data_volumes, job_control]\n    if: ${{ needs.job_control.outputs.run_some_tests == 'true' }}\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJson(needs.job_control.outputs.matrix)}}\n    steps:\n\n      - uses: actions/checkout@v4\n\n      - name: Free disk space\n        run: .github/jobs/free_disk_space.sh\n\n      - name: Create directories for database\n        run: .github/jobs/create_dirs_for_database.sh\n\n      - name: Create directory for artifacts\n        run: mkdir -p artifact\n\n      - name: Get artifact name\n        id: get-artifact-name\n        run: |\n          artifact_name=`.github/jobs/get_artifact_name.sh ${{ matrix.categories }}`\n          echo \"artifact_name=${artifact_name}\" >> $GITHUB_OUTPUT\n\n      # run use case tests\n      - name: Run Use Cases\n        uses: ./.github/actions/run_tests\n        id: run_tests\n        with:\n          categories: ${{ matrix.categories }}\n\n      # copy logs with errors to error_logs directory to save as artifact\n      - name: Save error logs\n        id: save-errors\n        if: ${{ always() && steps.run_tests.conclusion == 'failure' && !startsWith(matrix.categories,'pytests') }}\n        run: .github/jobs/save_error_logs.sh\n\n      # run difference testing\n      - name: Run difference tests\n        id: run-diff\n        if: ${{ needs.job_control.outputs.run_diff == 'true' && steps.run_tests.conclusion == 'success'  && !startsWith(matrix.categories,'pytests') }}\n        run: .github/jobs/run_difference_tests.sh ${{ matrix.categories }} ${{ steps.get-artifact-name.outputs.artifact_name }}\n\n      # copy output data to save as artifact\n      - name: Save output data\n        id: save-output\n        if: ${{ always() && steps.run_tests.conclusion != 'skipped'  && !startsWith(matrix.categories,'pytests') }}\n        run: .github/jobs/copy_output_to_artifact.sh ${{ steps.get-artifact-name.outputs.artifact_name }}\n\n      - name: Upload output data artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ always() && steps.run_tests.conclusion != 'skipped'  && !startsWith(matrix.categories,'pytests') }}\n        with:\n          name: ${{ steps.get-artifact-name.outputs.artifact_name }}\n          path: artifact/${{ steps.get-artifact-name.outputs.artifact_name }}\n\n      - name: Upload error logs artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ always() && steps.save-errors.outputs.upload_error_logs }}\n        with:\n          name: error_logs-${{ steps.get-artifact-name.outputs.artifact_name }}\n          path: artifact/error_logs\n          if-no-files-found: ignore\n\n      - name: Upload difference data artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ always() && steps.run-diff.outputs.upload_diff == 'true' }}\n        with:\n          name: diff-${{ steps.get-artifact-name.outputs.artifact_name }}\n          path: artifact/diff-${{ steps.get-artifact-name.outputs.artifact_name }}\n          if-no-files-found: ignore\n\n  merge_error_logs:\n    name: Merge Error Logs\n    runs-on: ubuntu-latest\n    needs: use_case_tests\n    if: ${{ always() && needs.use_case_tests.result == 'failure' }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Check for error logs\n        id: check-for-error-logs\n        run: |\n          json_data=$(curl -s -H \"Authorization: Bearer ${{ github.token }}\" \\\n                 \"https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs\")\n          error_log_jobs=($(echo \"$json_data\" | jq -r '.jobs[] | select(.name | startswith(\"Use Case Tests\")) | .steps[] | select(.name | startswith(\"Save error logs\")) | select(.conclusion | startswith(\"success\"))'))\n          # save output variable to merge error logs if any error logs were created\n          if [ ! -z \"${error_log_jobs}\" ]; then\n              echo \"has_error_logs=true\" >> $GITHUB_OUTPUT\n          else\n              echo \"has_error_logs=false\" >> $GITHUB_OUTPUT\n          fi\n      - name: Merge Artifacts\n        if: ${{ always() && steps.check-for-error-logs.outputs.has_error_logs == 'true' }}\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: error_logs\n          pattern: error_logs-*\n          delete-merged: true\n\n  create_output_data_volumes:\n    name: Create Output Docker Data Volumes\n    runs-on: ubuntu-latest\n    needs: [use_case_tests]\n    if: ${{ needs.job_control.outputs.run_save_truth_data == 'true' }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n      - run: .github/jobs/create_output_data_volumes.sh\n        env:\n          DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n          DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n", "state": "active", "repository": "dtcenter/metplus"}
{"mined_at": "2024-07-15T14:35:25.411362", "created_at": "2023-05-03T18:08:38+02:00", "updated_at": "2023-05-03T19:54:22+02:00", "name": "Update Input Test Data", "path": ".github/workflows/update_input_data.yml", "contents": "name: Update Input Test Data\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Branch to update if not in above pull down list (e.g. PR coming from a fork)'\n\njobs:\n  update_data_volumes:\n    name: Update Data Volumes\n    runs-on: ubuntu-latest\n    steps:\n      - run: |\n          branch_name=$(echo ${{ github.event.inputs.branch || github.ref }} | cut -d/ -f3)\n          echo \"branch_name=$branch_name\" >> \"$GITHUB_ENV\"\n      - uses: dtcenter/metplus-action-data-update@v2\n        with:\n          docker_name: ${{ secrets.DOCKER_USERNAME }}\n          docker_pass: ${{ secrets.DOCKER_PASSWORD }}\n          repo_name: ${{ github.repository }}\n          data_prefix: sample_data\n          branch_name: ${{ env.branch_name }}\n          docker_data_dir: /data/input/METplus_Data\n          data_repo_dev: metplus-data-dev\n          data_repo_stable: metplus-data\n          use_feature_data: true\n          tag_max_pages: 15\n\n", "state": "active", "repository": "dtcenter/metplus"}
{"mined_at": "2024-07-15T14:35:26.540405", "created_at": "2023-02-17T21:55:50+01:00", "updated_at": "2023-02-17T21:55:50+01:00", "name": "Update Truth Data", "path": ".github/workflows/update_truth.yml", "contents": "name: Update Truth Data\n\non:\n  workflow_dispatch:\n    inputs:\n      pull_requests:\n        description: 'Pull request(s) that warranted update, e.g. \"#123\" or \"#123 and dtcenter/MET#123\"'\n        required: true\n      change_summary:\n        description: 'Summary of changes to truth data'\n        required: true\n\njobs:\n  update_truth:\n    name: \"Update or create truth reference branch\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check if branch is develop or main_vX.Y\n        run: |\n          branch_name=${GITHUB_REF#refs/heads/}\n          echo \"branch_name=$branch_name\" >> $GITHUB_ENV\n          if [[ $branch_name == \"develop\" ]] || \\\n             [[ $branch_name =~ ^main_v[0-9]+\\.[0-9]+$ ]]; then\n            echo Branch is valid - $branch_name\n            exit 0\n          fi\n          echo ERROR: Branch is $branch_name - must be develop or match main_vX.Y\n          exit 1\n      - uses: actions/checkout@v4\n        name: Checkout repository\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.METPLUS_BOT_TOKEN }}\n      - name: Resolve conflicts between branch and branch-ref\n        run: |\n          branch_name=${{ env.branch_name }}\n          cd ${GITHUB_WORKSPACE}\n          if [[ -z \"$(git ls-remote --heads origin ${branch_name}-ref)\" ]]; then\n            echo ERROR: ${branch_name}-ref does not exist\n            exit 1\n          fi\n          \n          echo ${branch_name}-ref does exist -- update it\n          git config --global user.name \"metplus-bot\"\n          git config --global user.email \"97135045+metplus-bot@users.noreply.github.com\"\n          echo git checkout ${branch_name}\n          git checkout ${branch_name}\n          echo git merge -s ours origin/${branch_name}-ref\n          git merge -s ours origin/${branch_name}-ref\n          echo git push origin ${branch_name}\n          git push origin ${branch_name}\n\n      - name: Create Pull Request\n        run: gh pr create --base $BASE --body \"$BODY\" --title \"$TITLE\"\n        env:\n          GH_TOKEN: ${{ github.token }}\n          BASE: ${{ env.branch_name }}-ref\n          BODY: ${{ github.event.inputs.change_summary }}<br/>Created by @${{ github.actor}}\n          TITLE: Update ${{ env.branch_name }}-ref after ${{ github.event.inputs.pull_requests }}\n", "state": "active", "repository": "dtcenter/metplus"}
{"mined_at": "2024-07-15T14:35:28.886921", "created_at": "2022-08-23T03:36:32+02:00", "updated_at": "2023-04-13T20:11:25+02:00", "name": "Staging Deployment", "path": ".github/workflows/deploy-dev.yml", "contents": "# This workflow deploys any branch or tag to the staging environment.\n\nname: Staging Deployment\n\non:\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: The branch, tag, or commit hash to deploy\n        required: false\n        default: master\n        type: string\n  repository_dispatch:\n    types: [openreview-py-updated]\n\njobs:\n  deploy:\n    # Allow the job to fetch a GitHub ID token\n    permissions:\n      id-token: write\n      contents: read\n    runs-on: ubuntu-latest\n    env:\n      TAG: ${{ github.event.inputs.tag }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Add SSH key\n        run: |\n          mkdir -p /home/runner/.ssh\n          echo \"${{ secrets.GCLOUD_SSH_KEY }}\" > /home/runner/.ssh/google_compute_engine\n          echo \"${{ secrets.GCLOUD_SSH_KEY_PUB }}\" > /home/runner/.ssh/google_compute_engine.pub\n          chmod 600 /home/runner/.ssh/google_compute_engine\n          chmod 600 /home/runner/.ssh/google_compute_engine.pub\n      - name: Authenticate with Google Cloud\n        id: auth\n        uses: google-github-actions/auth@v1\n        with:\n          workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}\n          service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n          create_credentials_file: true\n          cleanup_credentials: true\n          export_environment_variables: true\n      - name: Setup gcloud\n        uses: google-github-actions/setup-gcloud@v2\n      - name: Run deploy script\n        run: |\n          instance_prefix='dev-instance'\n\n          instances=$(gcloud compute instances list | grep \"$instance_prefix\" | grep RUNNING | tr -s ' ' | cut -d' ' -f1,2)\n\n          instances_arr=(${instances// / })\n\n          instance_names=()\n          zones=()\n          for i in ${!instances_arr[@]}; do\n            if echo \"${instances_arr[$i]}\" | grep -q \"$instance_prefix\"; then\n              instance_names+=(${instances_arr[$i]})\n            else\n              zones+=(${instances_arr[$i]})\n            fi\n          done\n\n          for i in ${!instance_names[@]}; do\n            echo Deploying to ${instance_names[$i]}\n            gcloud compute ssh --zone ${zones[$i]} openreview@${instance_names[$i]} --command \"bash bin/deploy-openreview-py.sh ${TAG}\"\n          done\n", "state": "active", "repository": "openreview/openreview-py"}
{"mined_at": "2024-07-15T14:35:30.083252", "created_at": "2022-11-15T19:25:24+01:00", "updated_at": "2023-04-13T20:11:25+02:00", "name": "Production Deployment API V2", "path": ".github/workflows/deploy-prod-api2.yml", "contents": "# This workflow deploys any branch, tag, or commit hash to the production environment.\n\nname: Production Deployment API V2\n\non:\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: The branch, tag, or commit hash to deploy\n        required: false\n        default: master\n        type: string\n\njobs:\n  deploy:\n    # Allow the job to fetch a GitHub ID token\n    permissions:\n      id-token: write\n      contents: read\n    runs-on: ubuntu-latest\n    env:\n      TAG: ${{ github.event.inputs.tag }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Add SSH key\n        run: |\n          mkdir -p /home/runner/.ssh\n          echo \"${{ secrets.GCLOUD_SSH_KEY }}\" > /home/runner/.ssh/google_compute_engine\n          echo \"${{ secrets.GCLOUD_SSH_KEY_PUB }}\" > /home/runner/.ssh/google_compute_engine.pub\n          chmod 600 /home/runner/.ssh/google_compute_engine\n          chmod 600 /home/runner/.ssh/google_compute_engine.pub\n      - name: Authenticate with Google Cloud\n        id: auth\n        uses: google-github-actions/auth@v1\n        with:\n          workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}\n          service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n          create_credentials_file: true\n          cleanup_credentials: true\n          export_environment_variables: true\n      - name: Setup gcloud\n        uses: google-github-actions/setup-gcloud@v2\n      - name: Run deploy script\n        run: |\n          gsutil cp gs://openreview-general/conf/deployment.conf ./deployment.conf\n          sed -i \"s/OPENREVIEW_PY_V2_TAG=.*/OPENREVIEW_PY_V2_TAG=\\\"$TAG\\\"/\" ./deployment.conf\n          gsutil cp ./deployment.conf gs://openreview-general/conf/deployment.conf\n\n          instance_prefix='openreview-api2-'\n\n          instances=$(gcloud compute instances list | grep \"$instance_prefix\" | grep RUNNING | tr -s ' ' | cut -d' ' -f1,2)\n\n          instances_arr=(${instances// / })\n\n          instance_names=()\n          zones=()\n          for i in ${!instances_arr[@]}; do\n            if echo \"${instances_arr[$i]}\" | grep -q \"$instance_prefix\"; then\n              instance_names+=(${instances_arr[$i]})\n            else\n              zones+=(${instances_arr[$i]})\n            fi\n          done\n\n          for i in ${!instance_names[@]}; do\n            echo Deploying to ${instance_names[$i]}\n            gcloud compute ssh --zone ${zones[$i]} openreview@${instance_names[$i]} --command \"bash bin/deploy-openreview-py.sh ${TAG}\"\n          done\n", "state": "active", "repository": "openreview/openreview-py"}
{"mined_at": "2024-07-15T14:35:31.138395", "created_at": "2022-08-23T03:36:32+02:00", "updated_at": "2023-04-13T20:01:11+02:00", "name": "Production Deployment API V1", "path": ".github/workflows/deploy-prod.yml", "contents": "# This workflow deploys any branch, tag, or commit hash to the production environment.\n\nname: Production Deployment API V1\n\non:\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: The branch, tag, or commit hash to deploy\n        required: false\n        default: master\n        type: string\n\njobs:\n  deploy:\n    # Allow the job to fetch a GitHub ID token\n    permissions:\n      id-token: write\n      contents: read\n    runs-on: ubuntu-latest\n    env:\n      TAG: ${{ github.event.inputs.tag }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Add SSH key\n        run: |\n          mkdir -p /home/runner/.ssh\n          echo \"${{ secrets.GCLOUD_SSH_KEY }}\" > /home/runner/.ssh/google_compute_engine\n          echo \"${{ secrets.GCLOUD_SSH_KEY_PUB }}\" > /home/runner/.ssh/google_compute_engine.pub\n          chmod 600 /home/runner/.ssh/google_compute_engine\n          chmod 600 /home/runner/.ssh/google_compute_engine.pub\n      - name: Authenticate with Google Cloud\n        id: auth\n        uses: google-github-actions/auth@v1\n        with:\n          workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}\n          service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n          create_credentials_file: true\n          cleanup_credentials: true\n          export_environment_variables: true\n      - name: Setup gcloud\n        uses: google-github-actions/setup-gcloud@v2\n      - name: Run deploy script\n        run: |\n          gsutil cp gs://openreview-general/conf/deployment.conf ./deployment.conf\n          sed -i \"s/OPENREVIEW_PY_TAG=.*/OPENREVIEW_PY_TAG=\\\"$TAG\\\"/\" ./deployment.conf\n          gsutil cp ./deployment.conf gs://openreview-general/conf/deployment.conf\n\n          instance_prefix='openreview-api-'\n\n          instances=$(gcloud compute instances list | grep \"$instance_prefix\" | grep RUNNING | tr -s ' ' | cut -d' ' -f1,2)\n\n          instances_arr=(${instances// / })\n\n          instance_names=()\n          zones=()\n          for i in ${!instances_arr[@]}; do\n            if echo \"${instances_arr[$i]}\" | grep -q \"$instance_prefix\"; then\n              instance_names+=(${instances_arr[$i]})\n            else\n              zones+=(${instances_arr[$i]})\n            fi\n          done\n\n          for i in ${!instance_names[@]}; do\n            echo Deploying to ${instance_names[$i]}\n            gcloud compute ssh --zone ${zones[$i]} openreview@${instance_names[$i]} --command \"bash bin/deploy-openreview-py.sh ${TAG}\"\n          done\n", "state": "active", "repository": "openreview/openreview-py"}
{"mined_at": "2024-07-15T14:35:33.243551", "created_at": "2024-04-24T15:54:26+02:00", "updated_at": "2024-04-24T15:54:26+02:00", "name": "Auto Author Assign", "path": ".github/workflows/auto-author-assign.yml", "contents": "name: Auto Author Assign\n\non:\n  issues:\n    types: [ opened, reopened ]\n  pull_request_target:\n    types: [ opened, reopened ]\n\npermissions:\n  pull-requests: write\n  issues: write\n\njobs:\n  assign-author:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: toshimaru/auto-author-assign@v2.1.0\n", "state": "active", "repository": "physiopy/phys2bids"}
{"mined_at": "2024-07-15T14:35:34.261738", "created_at": "2024-04-24T15:54:26+02:00", "updated_at": "2024-04-24T15:54:26+02:00", "name": "auto-label", "path": ".github/workflows/auto-label.yml", "contents": "name: auto-label\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\non:  # yamllint disable-line rule:truthy\n  pull_request_target\n\njobs:\n  pr:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/labeler@v5\n", "state": "active", "repository": "physiopy/phys2bids"}
{"mined_at": "2024-07-15T14:35:35.342821", "created_at": "2020-10-14T18:43:23+02:00", "updated_at": "2020-10-14T18:43:23+02:00", "name": "Auto-release on PR merge", "path": ".github/workflows/auto-release.yml", "contents": "# This workflows will create a release using auto when a PR is merged in master.\n\nname: Auto-release on PR merge\n\non:\n  # ATM, this is the closest trigger to a PR merging\n  push:\n    branches:\n      - master\n\njobs:\n  auto-release:\n    runs-on: ubuntu-20.04\n    # Set skip ci to avoid loops\n    if: \"!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')\"\n    # Set bash as default shell for jobs\n    defaults:\n      run:\n        shell: bash\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v3\n      with:\n        # Fetch all history for all branches and tags\n        fetch-depth: 0\n        # Use token with write access to the repo\n        token: ${{ secrets.GH_TOKEN }}\n    - name: Download and install latest auto\n      env:\n        # OS can be linux, macos, or win\n        OS: linux\n        # Retrieve URL of latest auto, download it, unzip it, and give exec permissions.\n      run: |\n        curl -vkL -o - $( curl -s https://api.github.com/repos/intuit/auto/releases/latest \\\n        | grep browser_download_url | grep ${OS} | awk -F'\"' '{print $4}') \\\n        | gunzip > ~/auto\n        chmod a+x ~/auto\n    - name: Create release without version prefix\n      env:\n        GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}\n        # Run auto release, don't use 'v' prefix, and be verbose\n      run: |\n        ~/auto shipit --no-version-prefix -v\n", "state": "active", "repository": "physiopy/phys2bids"}
{"mined_at": "2024-07-15T14:35:36.461131", "created_at": "2023-02-02T16:34:54+01:00", "updated_at": "2023-04-13T12:14:12+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "---\nname: Codespell\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v1\n", "state": "active", "repository": "physiopy/phys2bids"}
{"mined_at": "2024-07-15T14:35:37.597588", "created_at": "2024-04-18T16:00:12+02:00", "updated_at": "2024-04-18T16:00:12+02:00", "name": "Main Reviewer Checklist", "path": ".github/workflows/main-reviewer.yml", "contents": null, "state": "active", "repository": "physiopy/phys2bids"}
{"mined_at": "2024-07-15T14:35:38.726695", "created_at": "2020-06-23T02:33:45+02:00", "updated_at": "2020-06-23T02:33:45+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-20.04\n\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "physiopy/phys2bids"}
{"mined_at": "2024-07-15T14:35:40.918150", "created_at": "2020-03-07T23:34:22+01:00", "updated_at": "2024-03-04T18:00:39+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\non:\n  workflow_call:\n    inputs:\n      version:\n        type: string\n        default: today\n      default_modifier:\n        type: string\n        default: \"\"\n      use_kms:\n        type: boolean\n        default: false\n    secrets:\n      secureboot_db_kms_arn:\n        required: false\n      aws_region:\n        required: false\n      aws_kms_role:\n        required: false\n      aws_oidc_session:\n        required: false\n    outputs:\n      version:\n        value: ${{ jobs.version.outputs.version }}\njobs:\n  version:\n    name: resolve version\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    outputs:\n      version: ${{ steps.version.outputs.version }}\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - name: resolve version \"${{ inputs.version }}\"\n        id: version\n        run: echo version=\"$(bin/garden-version \"${{ inputs.version }}\")\" | tee -a \"$GITHUB_OUTPUT\"\n  cert:\n    name: certificates\n    needs: version\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      # - uses: gardenlinux/workflow-telemetry-action@c75b594f552d305ffd5f9074637137bc343ba35e # pin@v2\n      #   with:\n      #     metric_frequency: 1\n      #     proc_trace_min_duration: 10\n      #     proc_trace_chart_max_count: 50\n      #     comment_on_pr: false\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: ./.github/actions/setup\n      - name: set VERSION=${{ needs.version.outputs.version }}\n        run: |\n          bin/garden-version \"${{ needs.version.outputs.version }}\" | tee VERSION\n          git update-index --assume-unchanged VERSION\n      - name: build certificates\n        if: ${{ ! inputs.use_kms }}\n        run: ./cert/build\n      - name: use kms backed certificates\n        if: ${{ inputs.use_kms }}\n        run: |\n          touch cert/gardenlinux-secureboot.db.arn\n          for f in secureboot.{{pk,null.pk,kek,db}.auth,db.{crt,arn}}; do\n            ln -sr \"cert/gardenlinux-$f\" \"cert/$f\"\n          done\n      - uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # pin@v3\n        with:\n          path: cert\n          key: cert-${{ github.run_id }}\n  base:\n    name: bootstrap stage\n    needs: version\n    runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-latest-arm' || 'ubuntu-latest' }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        arch: [ amd64, arm64 ]\n    steps:\n      # - uses: gardenlinux/workflow-telemetry-action@c75b594f552d305ffd5f9074637137bc343ba35e # pin@v2\n      #   with:\n      #     metric_frequency: 1\n      #     proc_trace_min_duration: 10\n      #     proc_trace_chart_max_count: 50\n      #     comment_on_pr: false\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: ./.github/actions/setup\n        with:\n          arch: \"${{ matrix.arch }}\"\n      - name: set VERSION=${{ needs.version.outputs.version }}\n        run: |\n          bin/garden-version \"${{ needs.version.outputs.version }}\" | tee VERSION\n          git update-index --assume-unchanged VERSION\n      - name: build base-${{ matrix.arch }}\n        run: ./build base-${{ matrix.arch }}\n      - uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # pin@v3\n        with:\n          path: .build\n          key: base-${{ matrix.arch }}-${{ github.run_id }}\n  test_container:\n    name: container image for tests\n    runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-latest-arm' || 'ubuntu-latest' }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        arch: [ amd64, arm64 ]\n    steps:\n      # - uses: gardenlinux/workflow-telemetry-action@c75b594f552d305ffd5f9074637137bc343ba35e # pin@v2\n      #   with:\n      #     metric_frequency: 1\n      #     proc_trace_min_duration: 10\n      #     proc_trace_chart_max_count: 50\n      #     comment_on_pr: false\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: ./.github/actions/setup\n        with: \n          arch: \"${{ matrix.arch }}\"\n      - name: build test container\n        run: |\n          OCI_IMAGE_TAG=\"$(./build --print-container-image)\"\n          if [[ -f builder.dockerfile ]]; then\n            podman build -t \"$OCI_IMAGE_TAG\" -f builder.dockerfile .\n          fi\n          podman build --squash --tag test --build-arg base=\"$OCI_IMAGE_TAG\" tests\n          podman save --format oci-archive test > test.oci\n      - name: upload test container\n        uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # pin@v3\n        with:\n          path: test.oci\n          key: test_container:${{ matrix.arch }}-${{ github.run_id }}\n  images:\n    needs: [ version, cert, base, test_container ]\n    runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-latest-arm' || 'ubuntu-latest' }}\n    defaults:\n      run:\n        shell: bash\n    permissions:\n      id-token: write\n    environment: ${{ inputs.use_kms && 'oidc_aws_kms_secureboot_signing' || '' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        arch: [ amd64, arm64 ]\n        target: [ kvm, \"kvm_secureboot\", \"kvm_secureboot_readonly\", \"kvm_secureboot_readonly_persistence\", metal, \"metal_secureboot\", \"metal_secureboot_readonly\", \"metal_secureboot_readonly_persistence\", gcp, gdch, aws, \"aws_secureboot\", \"aws_secureboot_readonly\", \"aws_secureboot_readonly_persistence\", azure, ali, openstack, openstackbaremetal, vmware, \"metal_pxe\", firecracker, \"metal-vhost\" ]\n        modifier: [ \"${{ inputs.default_modifier }}\" ]\n        include:\n          - target: container\n            arch: amd64\n            modifier: \"\"\n          - target: container\n            arch: arm64\n            modifier: \"\"\n        exclude:\n          - target: openstack\n            arch: arm64\n            modifier: \"${{ inputs.default_modifier }}\"\n          - target: vmware\n            arch: arm64\n            modifier: \"${{ inputs.default_modifier }}\"\n    steps:\n      # - uses: gardenlinux/workflow-telemetry-action@c75b594f552d305ffd5f9074637137bc343ba35e # pin@v2\n      #   with:\n      #     metric_frequency: 1\n      #     proc_trace_min_duration: 10\n      #     proc_trace_chart_max_count: 50\n      #     comment_on_pr: false\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: ./.github/actions/setup\n        with: \n          arch: \"${{ matrix.arch }}\"\n      - name: set VERSION=${{ needs.version.outputs.version }}\n        run: |\n          bin/garden-version \"${{ needs.version.outputs.version }}\" | tee VERSION\n          git update-index --assume-unchanged VERSION\n      - name: load cert cache\n        uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # pin@v3\n        with:\n          path: cert\n          key: cert-${{ github.run_id }}\n          fail-on-cache-miss: true\n      - name: write secureboot db arn for kms backed certificates\n        if: ${{ inputs.use_kms }}\n        run: echo \"${{ secrets.secureboot_db_kms_arn }}\" > cert/gardenlinux-secureboot.db.arn\n      - name: configure aws credentials for kms signing\n        if: ${{ inputs.use_kms }}\n        uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # pin@v4\n        with:\n          role-to-assume: ${{ secrets.aws_kms_role }}\n          role-session-name: ${{ secrets.aws_oidc_session }}\n          aws-region: ${{ secrets.aws_region }}\n      - name: load bootstrap stage cache\n        uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # pin@v3\n        with:\n          path: .build\n          key: base-${{ matrix.arch }}-${{ github.run_id }}\n          fail-on-cache-miss: true\n      - name: download test container cache\n        uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # pin@v3\n        with:\n          path: test.oci\n          key: test_container:${{ matrix.arch }}-${{ github.run_id }}\n          fail-on-cache-miss: true\n      - name: import test container image\n        run: |\n          podman load < test.oci\n          rm test.oci\n      - name: update bootstrap stage build artifact timestamps\n        run: |\n          t=\"$(date '+%s')\"\n          find .build -exec touch -d \"@$t\" {} +\n      - name: build\n        run: ./build ${{ inputs.use_kms && '--kms' || '' }} ${{ matrix.target }}${{ matrix.modifier }}-${{ matrix.arch }}\n      - name: test\n        run: ./test --container-image test ${{ matrix.target }}${{ matrix.modifier }}-${{ matrix.arch }}\n      - uses: pmeier/pytest-results-action@035bda205f160abee0b277db11ac6ca01175ca7d # pin@v0.6.0\n        if: always()\n        with:\n          path: tests/test.xml\n      - name: get cname\n        run: |\n          cname=$(basename \"$(realpath \".build/${{ matrix.target }}${{ matrix.modifier }}-${{ matrix.arch }}\")\" .artifacts)\n          echo \"cname=$cname\" | tee -a \"$GITHUB_ENV\"\n      - name: pack build artifacts for upload\n        run: tar -cSzvf \"${{ env.cname }}.tar.gz\" -C .build -T \".build/${{ env.cname }}.artifacts\"\n      - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # pin@v3\n        with:\n          name: \"${{ env.cname }}\"\n          path: \"${{ env.cname }}.tar.gz\"\n  bare_flavors:\n    needs: [ version, base ]\n    runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-latest-arm' || 'ubuntu-latest' }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        arch: [ amd64, arm64 ]\n        config: [ libc, python, nodejs, sapmachine ]\n    steps:\n      # - uses: gardenlinux/workflow-telemetry-action@c75b594f552d305ffd5f9074637137bc343ba35e # pin@v2\n      #   with:\n      #     metric_frequency: 1\n      #     proc_trace_min_duration: 10\n      #     proc_trace_chart_max_count: 50\n      #     comment_on_pr: false\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: ./.github/actions/setup\n        with:\n          arch: \"${{ matrix.arch }}\"\n      - name: set VERSION=${{ needs.version.outputs.version }}\n        run: |\n          bin/garden-version \"${{ needs.version.outputs.version }}\" | tee VERSION\n          git update-index --assume-unchanged VERSION\n      - name: load bootstrap stage cache\n        uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # pin@v3\n        with:\n          path: .build\n          key: base-${{ matrix.arch }}-${{ github.run_id }}\n          fail-on-cache-miss: true\n      - name: update bootstrap stage build artifact timestamps\n        run: |\n          t=\"$(date '+%s')\"\n          find .build -exec touch -d \"@$t\" {} +\n      - name: build\n        run: ./build_bare_flavors --arch \"${{ matrix.arch }}\" \"${{ matrix.config }}\"\n      - name: test\n        run: |\n          image=\"$(podman load < .build/bare_flavors/${{ matrix.config }}-${{ matrix.arch }}.oci | awk '{ print $NF }')\"\n          cd bare_flavors/${{ matrix.config }}/test\n          podman build -t test --build-arg image=\"$image\" .\n          podman run --rm test\n      - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # pin@v3\n        with:\n          name: \"bare-${{ matrix.config }}-${{ matrix.arch }}\"\n          path: \".build/bare_flavors/${{ matrix.config }}-${{ matrix.arch }}.oci\"\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:42.001070", "created_at": "2022-06-23T14:51:27+02:00", "updated_at": "2024-04-26T12:12:38+02:00", "name": "dev", "path": ".github/workflows/dev.yml", "contents": "name: dev\non:\n  push:\n    paths-ignore:\n      - 'docs/**'\n      - '**/README.md'\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '**/README.md'\njobs:\n  set_version:\n    runs-on: ubuntu-latest\n    outputs:\n      VERSION: ${{ steps.version.outputs.VERSION }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: use VERSION file to support dev build on rel-branch\n        id: version\n        run: echo \"VERSION=$(cat VERSION)\" >> $GITHUB_OUTPUT\n  build:\n    needs: [ set_version ]\n    uses: ./.github/workflows/build.yml\n    with:\n      version: ${{ needs.set_version.outputs.VERSION }}\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:43.014117", "created_at": "2022-06-23T16:57:10+02:00", "updated_at": "2022-11-29T12:28:51+01:00", "name": "nightly", "path": ".github/workflows/nightly.yml", "contents": "name: nightly\non:\n  schedule:\n    - cron: '0 6 * * *'\n  workflow_dispatch:\n    inputs:\n      version:\n        type: string\n        default: now\njobs:\n  build:\n    uses: ./.github/workflows/build.yml\n    permissions:\n      id-token: write\n      packages: write\n    with:\n      version: ${{ inputs.version || 'now' }}\n      default_modifier: \"-gardener_prod\"\n      use_kms: true\n    secrets:\n      secureboot_db_kms_arn: ${{ secrets.SECUREBOOT_DB_KMS_ARN }}\n      aws_region: ${{ secrets.AWS_REGION }}\n      aws_kms_role: ${{ secrets.SECUREBOOT_DB_IAM_ROLE }}\n      aws_oidc_session: ${{ secrets.AWS_OIDC_SESSION }}\n  build_container:\n    name: build container\n    uses: ./.github/workflows/build_container.yml\n  tests:\n    needs: [ build, build_container ]\n    permissions:\n      id-token: write\n      packages: write\n    uses: ./.github/workflows/tests.yml\n    with:\n      version: ${{ needs.build.outputs.version }}\n      default_modifier: \"-gardener_prod\"\n    secrets:\n      gcp_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}\n      gcp_service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n      gcp_project: ${{ secrets.GCP_PROJECT }}\n      gcp_region: ${{ secrets.GCP_REGION }}\n      gcp_zone: ${{ secrets.GCP_ZONE }}\n      aws_role: ${{ secrets.AWS_TESTS_IAM_ROLE }}\n      aws_session: ${{ secrets.AWS_TESTS_OIDC_SESSION }}\n      aws_region: ${{ secrets.AWS_TESTS_REGION }}\n      az_client_id: ${{ secrets.AZURE_CLIENT_ID }}\n      az_tenant_id: ${{ secrets.AZURE_TENANT_ID }}\n      az_subscription_id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}\n      ccc_credentials: ${{ secrets.CCC_CREDENTIALS }}\n  upload_to_s3:\n    name: upload to S3\n    needs: [ build, tests ]\n    permissions:\n      id-token: write\n    uses: ./.github/workflows/upload_to_s3.yml\n    with:\n      version: ${{ needs.build.outputs.version }}\n      default_modifier: \"-gardener_prod\"\n    secrets:\n      bucket: ${{ secrets.AWS_S3_BUCKET }}\n      region: ${{ secrets.AWS_REGION }}\n      role: ${{ secrets.AWS_IAM_ROLE }}\n      session: ${{ secrets.AWS_OIDC_SESSION }}\n  upload_to_s3_cn:\n    name: upload to S3 china\n    needs: [ build, tests ]\n    permissions:\n      id-token: write\n    uses: ./.github/workflows/upload_to_s3.yml\n    with:\n      version: ${{ needs.build.outputs.version }}\n      default_modifier: \"-gardener_prod\"\n    secrets:\n      bucket: ${{ secrets.AWS_CN_S3_BUCKET }}\n      region: ${{ secrets.AWS_CN_REGION }}\n      role: ${{ secrets.AWS_CN_IAM_ROLE }}\n      session: ${{ secrets.AWS_CN_OIDC_SESSION }}\n  publish_container:\n    name: publish gardenlinux container base image\n    needs: [ build, tests ]\n    uses: ./.github/workflows/publish_container.yml\n    with:\n      version: ${{ needs.build.outputs.version }}\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:44.245117", "created_at": "2022-07-07T17:39:15+02:00", "updated_at": "2022-07-07T17:39:15+02:00", "name": "upload to S3", "path": ".github/workflows/upload_to_s3.yml", "contents": "name: upload to S3\non:\n  workflow_call:\n    inputs:\n      version:\n        type: string\n        default: today\n      default_modifier:\n        type: string\n        default: \"\"\n    secrets:\n      bucket:\n        required: true\n      region:\n        required: true\n      role:\n        required: true\n      session:\n        required: true\njobs:\n  upload_to_s3:\n    name: upload to S3\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    permissions:\n      id-token: write\n    environment: oidc_aws_s3_upload\n    strategy:\n      fail-fast: false\n      matrix:\n        arch: [ amd64, arm64 ]\n        target: [ kvm, \"kvm_secureboot\", \"kvm_secureboot_readonly\", \"kvm_secureboot_readonly_persistence\", metal, \"metal_secureboot\", \"metal_secureboot_readonly\", \"metal_secureboot_readonly_persistence\", gcp, gdch, aws, \"aws_secureboot\", \"aws_secureboot_readonly\", \"aws_secureboot_readonly_persistence\", azure, ali, openstack, openstackbaremetal, vmware, \"metal_pxe\" ]\n        modifier: [ \"${{ inputs.default_modifier }}\" ]\n        exclude:\n          - target: openstack\n            arch: arm64\n            modifier: \"${{ inputs.default_modifier }}\"\n          - target: vmware\n            arch: arm64\n            modifier: \"${{ inputs.default_modifier }}\"\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: ./.github/actions/setup\n      - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # pin@v4\n        with:\n          role-to-assume: ${{ secrets.role }}\n          role-session-name: ${{ secrets.session }}\n          aws-region: ${{ secrets.region }}\n      - name: set VERSION=${{ inputs.version }}\n        run: |\n          bin/garden-version \"${{ inputs.version }}\" | tee VERSION\n          git update-index --assume-unchanged VERSION\n      - name: get cname\n        run: |\n          cname=\"$(./build --resolve-cname ${{ matrix.target }}${{ matrix.modifier }}-${{ matrix.arch }})\"\n          echo \"cname=$cname\" | tee -a \"$GITHUB_ENV\"\n      - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # pin@v3\n        with:\n          name: ${{ env.cname }}\n      - name: upload to S3 bucket ${{ secrets.bucket }}\n        run: .github/workflows/upload_to_s3.sh ${{ secrets.bucket }} ${{ env.cname }}.tar.gz\n  upload_test_logs_to_s3:\n    name: upload test logs to S3\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    permissions:\n      id-token: write\n    environment: oidc_aws_s3_upload\n    strategy:\n      fail-fast: false\n      matrix:\n        arch: [ amd64, arm64 ]\n        target: [ gcp, aws, azure ]\n        modifier: [ \"${{ inputs.default_modifier }}\" ]\n        exclude:\n          - arch: arm64\n            target: gcp\n          - arch: arm64\n            target: azure\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: ./.github/actions/setup\n      - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # pin@v4\n        with:\n          role-to-assume: ${{ secrets.role }}\n          role-session-name: ${{ secrets.session }}\n          aws-region: ${{ secrets.region }}\n      - name: set VERSION=${{ inputs.version }}\n        run: |\n          bin/garden-version \"${{ inputs.version }}\" | tee VERSION\n          git update-index --assume-unchanged VERSION\n      - name: get cname\n        run: |\n          cname=\"$(./build --resolve-cname ${{ matrix.target }}${{ matrix.modifier }}-${{ matrix.arch }})\"\n          echo \"cname=$cname\" | tee -a \"$GITHUB_ENV\"\n\n      - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # pin@v3\n        with:\n          name: tests-${{ env.cname }}\n      - name: upload to S3 bucket ${{ secrets.bucket }}\n        run: aws s3 cp \"${{ env.cname }}.integration-tests-log\" \"s3://${{ secrets.bucket }}/objects/${{ env.cname }}/\"\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:45.353900", "created_at": "2022-07-29T15:11:49+02:00", "updated_at": "2024-04-19T15:44:50+02:00", "name": ".github/workflows/debug.yml", "path": ".github/workflows/debug.yml", "contents": null, "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:46.609819", "created_at": "2022-08-24T13:52:16+02:00", "updated_at": "2023-06-14T19:06:10+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\non:\n  workflow_call:\n    inputs:\n      version:\n        type: string\n        default: today\n      default_modifier:\n        type: string\n        default: \"\"\n    secrets:\n      gcp_identity_provider:\n        required: true\n      gcp_service_account:\n        required: true\n      gcp_project:\n        required: true\n      gcp_region:\n        required: true\n      gcp_zone:\n        required: true\n      aws_role:\n        required: true\n      aws_session:\n        required: true\n      aws_region:\n        required: true\n      az_client_id:\n        required: true\n      az_tenant_id:\n        required: true\n      az_subscription_id:\n        required: true\n      ccc_credentials:\n        required: true\njobs:\n  platform_tests:\n    name: platform test\n    env:\n      gcp_project: ${{ secrets.gcp_project }}\n      gcp_region: ${{ secrets.gcp_region }}\n      gcp_zone: ${{ secrets.gcp_zone }}\n      aws_region: ${{ secrets.aws_region }}\n      azure_subscription_id: ${{ secrets.az_subscription_id }}\n      AZURE_CONFIG_DIR: /tmp/azure_config_dir\n      TARGET_ARCHITECTURE: ${{ matrix.arch }}\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    permissions:\n      id-token: write\n      packages: write\n    environment: oidc_platform_tests\n    strategy:\n      fail-fast: false\n      matrix:\n        arch: [ amd64, arm64 ]\n        target: [ gcp, aws, azure, ali ]\n        modifier: [ \"${{ inputs.default_modifier }}\" ]\n        exclude:\n          - arch: arm64\n            target: azure\n          - arch: arm64\n            target: ali\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      # Use crun workaround\n    - uses: ./.github/actions/setup\n\n    - name: login to ghcr.io\n      run: echo \"${{ secrets.GITHUB_TOKEN }}\" | podman login ghcr.io -u $ --password-stdin\n\n    - name: pull container image\n      run: |\n        podman pull \"ghcr.io/gardenlinux/gardenlinux/integration-test:$GITHUB_SHA\"\n        podman tag \"ghcr.io/gardenlinux/gardenlinux/integration-test:$GITHUB_SHA\" ghcr.io/gardenlinux/gardenlinux/integration-test:today\n\n    - name: set VERSION=${{ inputs.version }}\n      run: |\n        bin/garden-version \"${{ inputs.version }}\" | tee VERSION\n        git update-index --assume-unchanged VERSION\n\n    - name: get cname\n      run: |\n        cname=\"$(./build --resolve-cname ${{ matrix.target }}${{ matrix.modifier }}-${{ matrix.arch }})\"\n        echo \"cname=$cname\" | tee -a \"$GITHUB_ENV\"\n\n    - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # pin@v3\n      with:\n        name: ${{ env.cname }}\n        path: /tmp/gardenlinux-build-artifacts\n\n    - run: ls -lah /tmp/gardenlinux-build-artifacts\n\n    - if: ${{ matrix.target == 'gcp' }}\n      id: 'auth_gcp'\n      name: 'Authenticate to Google Cloud'\n      uses: google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa # pin@v1\n      with:\n        workload_identity_provider: ${{ secrets.gcp_identity_provider }}\n        service_account: ${{ secrets.gcp_service_account }}\n        create_credentials_file: true\n        cleanup_credentials: true\n        export_environment_variables: true\n\n    - if: ${{ matrix.target == 'aws' }}\n      id: 'auth_aws'\n      name: 'Authenticate to AWS'\n      uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # pin@v4\n      with:\n        role-to-assume: ${{ secrets.aws_role }}\n        role-session-name: ${{ secrets.aws_session }}\n        aws-region: ${{ secrets.aws_region }}\n\n    - if: ${{ matrix.target == 'azure' }}\n      id: 'auth_azure'\n      name: 'Authenticate to Azure'\n      uses: azure/login@6c251865b4e6290e7b78be643ea2d005bc51f69a # pin@v1\n      with:\n        client-id: ${{ secrets.az_client_id }}\n        tenant-id: ${{ secrets.az_tenant_id }}\n        subscription-id: ${{ secrets.az_subscription_id }}\n\n    - if: ${{ matrix.target == 'ali' }}\n      name: 'Create ali cloud credential file'\n      run: |\n        base64 -d <<< \"${{ secrets.ccc_credentials }}\" | .github/workflows/ali_credentials.jq > ali-service-account.json\n        echo \"::add-mask::$(jq -r '.profiles[0].access_key_id' < ali-service-account.json)\"\n        echo \"::add-mask::$(jq -r '.profiles[0].access_key_secret' < ali-service-account.json)\"\n\n    - name: start platform test for ${{ matrix.target }}\n      run: |\n        set -o pipefail\n        .github/workflows/${{ matrix.target }}_tests.sh --arch \"${{ matrix.arch }}\" \"${{ env.cname }}\" 2>&1 | tee \"${{ env.cname }}.integration-tests-log\"\n\n    - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # pin@v3\n      with:\n        name: tests-${{ env.cname }}\n        path: ${{ env.cname }}.integration-tests-log\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:47.833657", "created_at": "2023-03-28T11:39:11+02:00", "updated_at": "2023-11-21T09:12:38+01:00", "name": "test-only", "path": ".github/workflows/tests-only.yml", "contents": "# Tests artifacts already uploaded to S3\nname: test-only\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"Garden Linux Version\"\n        type: string\n        default: today\n      default_modifier:\n        description: \"gardenlinux feature modifier, if other than default, make sure it has the right format. e.g. use bin/garden-feature --features\"\n        type: string\n        default: \"-gardener_prod\"\n      commitish:\n        description: \"Full commitish of the artifact that should be tested. Must be present in s3\"\n        type: string\n        required: true\n      integration_test_container_version:\n        description: \"Full commitish or GL version in case of release. Must be present in ghcr.\"\n        type: string\n        required: true\n\njobs:\n  platform_tests:\n    name: platform test\n    env:\n      gcp_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}\n      gcp_service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n      gcp_project: ${{ secrets.GCP_PROJECT }}\n      gcp_region: ${{ secrets.GCP_REGION }}\n      gcp_zone: ${{ secrets.GCP_ZONE }}\n      AZURE_CONFIG_DIR: /tmp/azure_config_dir\n      TARGET_ARCHITECTURE: ${{ matrix.arch }}\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    permissions:\n      id-token: write\n      packages: write\n    strategy:\n      fail-fast: false\n      matrix:\n        arch: [ amd64, arm64 ]\n        target: [ gcp, aws, azure ]\n        modifier: [ \"${{ inputs.default_modifier }}\" ]\n        exclude:\n          - arch: arm64\n            target: azure\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n\n    - name: login to ghcr.io\n      run: echo \"${{ secrets.GITHUB_TOKEN }}\" | podman login ghcr.io -u $ --password-stdin\n\n\n    - name: set VERSION=${{ inputs.version }}\n      run: |\n        bin/garden-version \"${{ inputs.version }}\" | tee VERSION\n        git update-index --assume-unchanged VERSION\n\n    - name: get cname\n      run: |\n        cname=\"$(./build --resolve-cname ${{ matrix.target }}${{ matrix.modifier }}-${{ matrix.arch }})\"\n        echo \"cname=$cname\" | tee -a \"$GITHUB_ENV\"\n\n    - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # pin@v4\n      with:\n        role-to-assume: ${{ secrets.AWS_IAM_ROLE }}\n        role-session-name: ${{ secrets.AWS_OIDC_SESSION }}\n        aws-region: ${{ secrets.AWS_REGION }}\n\n    - name: download artifact to test from S3 bucket\n      run: |\n        mkdir -p \"${{ env.cname }}\"\n        aws s3 cp \"s3://${{ secrets.AWS_S3_BUCKET }}/objects/${{ env.cname }}\" \"${{ env.cname }}\" --recursive\n\n    - name: pack build artifacts for tests\n      run: |\n        mkdir -p /tmp/gardenlinux-build-artifacts\n        tar -czvf \"/tmp/gardenlinux-build-artifacts/${{ env.cname }}.tar.gz\" \"${{ env.cname }}\"\n\n    - if: ${{ matrix.target == 'gcp' }}\n      id: 'auth_gcp'\n      name: 'Authenticate to Google Cloud'\n      uses: google-github-actions/auth@71fee32a0bb7e97b4d33d548e7d957010649d8fa # pin@v1\n      with:\n        workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}\n        service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n\n    - if: ${{ matrix.target == 'aws' }}\n      id: 'auth_aws'\n      name: 'Authenticate to AWS'\n      uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # pin@v4\n      with:\n        role-to-assume: ${{ secrets.AWS_TESTS_IAM_ROLE }}\n        role-session-name: ${{ secrets.AWS_TESTS_OIDC_SESSION }}\n        aws-region: ${{ secrets.AWS_REGION}}\n\n    - if: ${{ matrix.target == 'azure' }}\n      id: 'auth_azure'\n      name: 'Authenticate to Azure'\n      uses: azure/login@6c251865b4e6290e7b78be643ea2d005bc51f69a # pin@v1\n      with:\n        client-id: ${{ secrets.AZURE_CLIENT_ID }}\n        tenant-id: ${{ secrets.AZURE_TENANT_ID }}\n        subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}\n\n    - name: pull container image\n      run: |\n        podman pull \"ghcr.io/gardenlinux/gardenlinux/integration-test:${{ inputs.integration_test_container_version }}\"\n        podman tag \"ghcr.io/gardenlinux/gardenlinux/integration-test:${{ inputs.integration_test_container_version }}\" ghcr.io/gardenlinux/gardenlinux/integration-test:today\n\n    - name: start platform test for ${{ matrix.target }}\n      run: |\n        set -o pipefail && .github/workflows/${{ matrix.target }}_tests.sh --arch \"${{ matrix.arch }}\" \"${{ env.cname }}.tar.gz\" 2>&1 | tee \"${{ env.cname }}.integration-tests-log\"\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:48.842624", "created_at": "2023-03-30T09:25:48+02:00", "updated_at": "2023-03-30T09:57:07+02:00", "name": "Differential ShellCheck", "path": ".github/workflows/differential-shellcheck.yml", "contents": "name: Differential ShellCheck\non:\n  push:\n    branches:\n    - main\n    - rel-*\n  pull_request:\n    branches:\n    - main\n    - rel-*\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    steps:\n      - name: Repository checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n        with:\n          fetch-depth: 0\n\n      - id: ShellCheck\n        name: Differential ShellCheck\n        uses: redhat-plumbers-in-action/differential-shellcheck@60c9f2b924a9c5a2ddbb25e7b23e8e11b56faab9 # pin@aa647ec4466543e8555c2c3b648124a9813cee44\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:49.870428", "created_at": "2023-05-12T08:56:09+02:00", "updated_at": "2023-05-12T08:56:09+02:00", "name": "build", "path": ".github/workflows/builder_test.yml", "contents": null, "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:51.012006", "created_at": "2023-06-07T10:17:55+02:00", "updated_at": "2024-03-22T11:11:33+01:00", "name": "Check Packages", "path": ".github/workflows/check-packages.yml", "contents": null, "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:52.127594", "created_at": "2023-06-14T19:06:10+02:00", "updated_at": "2024-03-04T18:00:39+01:00", "name": "build garden linux container", "path": ".github/workflows/build_container.yml", "contents": "name: build garden linux container\non:\n  workflow_call:\nenv:\n  IMAGE_NAME: gardenlinux/integration-test\njobs:\n  integration_test_container:\n    name: make integration test container\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: ./.github/actions/setup # pre-clean up and setup tasks for action runner\n        with: \n          arch: \"amd64\"\n      - name: login to ghcr.io\n        run: echo \"${{ secrets.GITHUB_TOKEN }}\" | podman login ghcr.io -u $ --password-stdin\n\n      - name: make integration test container\n        run: make --directory=container GARDENLINUX_BUILD_CRE=podman build-integration-test\n\n      - name: upload integration test container to ghcr.io\n        run: |\n          echo \"$IMAGE_NAME:$(bin/garden-version)\"\n          podman image list\n          podman tag \"$IMAGE_NAME:$(bin/garden-version)\" \"ghcr.io/gardenlinux/$IMAGE_NAME:$(bin/garden-version)\"\n          podman tag \"$IMAGE_NAME:$(bin/garden-version)\" \"ghcr.io/gardenlinux/$IMAGE_NAME:$GITHUB_SHA\"\n          podman push \"ghcr.io/gardenlinux/$IMAGE_NAME:$(bin/garden-version)\"\n          podman push \"ghcr.io/gardenlinux/$IMAGE_NAME:$GITHUB_SHA\"\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:53.303062", "created_at": "2023-07-20T14:51:29+02:00", "updated_at": "2023-08-14T10:28:02+02:00", "name": "publish gardenlinux container images", "path": ".github/workflows/publish_container.yml", "contents": "name: publish gardenlinux container images\non:\n  workflow_call:\n    inputs:\n      version:\n        type: string\n        default: now\njobs:\n  publish_container:\n    name: publish gardenlinux container base image\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: ./.github/actions/setup\n      - name: set VERSION=${{ inputs.version }}\n        run: |\n          bin/garden-version \"${{ inputs.version }}\" | tee VERSION\n          git update-index --assume-unchanged VERSION\n      - name: get cname\n        run: |\n          cname_amd64=\"$(./build --resolve-cname container-amd64)\"\n          cname_arm64=\"$(./build --resolve-cname container-arm64)\"\n          echo \"cname_amd64=$cname_amd64\" | tee -a \"$GITHUB_ENV\"\n          echo \"cname_arm64=$cname_arm64\" | tee -a \"$GITHUB_ENV\"\n      - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # pin@v3\n        with:\n          name: ${{ env.cname_amd64 }}\n      - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # pin@v3\n        with:\n          name: ${{ env.cname_arm64 }}\n      - name: publish gardenlinux container base image\n        run: |\n          version=$(bin/garden-version \"${{ inputs.version }}\")\n          podman login -u token -p ${{ github.token }} ghcr.io\n          tar xzv < \"${{ env.cname_amd64 }}.tar.gz\"\n          image=\"$(podman load < ${{ env.cname_amd64 }}.oci | awk '{ print $NF }')\"\n\n          # Tagging for amd64 nightly\n          podman tag \"$image\" ghcr.io/${{ github.repository }}:amd64-nightly\n          podman push ghcr.io/${{ github.repository }}:amd64-nightly\n\n          # Tagging for amd64 with version\n          podman tag \"$image\" ghcr.io/${{ github.repository }}:amd64-${version}\n          podman push ghcr.io/${{ github.repository }}:amd64-${version}\n\n          tar xzv < \"${{ env.cname_arm64 }}.tar.gz\"\n          image=\"$(podman load < ${{ env.cname_arm64 }}.oci | awk '{ print $NF }')\"\n\n          # Tagging for arm64 nightly\n          podman tag \"$image\" ghcr.io/${{ github.repository }}:arm64-nightly\n          podman push ghcr.io/${{ github.repository }}:arm64-nightly\n\n          # Tagging for arm64 with version\n          podman tag \"$image\" ghcr.io/${{ github.repository }}:arm64-${version}\n          podman push ghcr.io/${{ github.repository }}:arm64-${version}\n\n          # Creating and pushing manifest for nightly\n          podman manifest create ghcr.io/${{ github.repository }}:nightly\n          podman manifest add ghcr.io/${{ github.repository }}:nightly ghcr.io/${{ github.repository }}:amd64-nightly\n          podman manifest add ghcr.io/${{ github.repository }}:nightly ghcr.io/${{ github.repository }}:arm64-nightly\n          podman push ghcr.io/${{ github.repository }}:nightly\n\n          # Creating and pushing manifest for version tag\n          podman manifest create ghcr.io/${{ github.repository }}:${version}\n          podman manifest add ghcr.io/${{ github.repository }}:${version} ghcr.io/${{ github.repository }}:amd64-${version}\n          podman manifest add ghcr.io/${{ github.repository }}:${version} ghcr.io/${{ github.repository }}:arm64-${version}\n          podman push ghcr.io/${{ github.repository }}:${version}\n\n  publish_kmodbuild_container:\n    name: publish gardenlinux kernel module build dev image\n    runs-on: ubuntu-latest\n    needs: publish_container\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: ./.github/actions/setup\n      - name: get container versions\n        id: versions\n        run: |\n          version=\"$(bin/garden-version \"${{ inputs.version }}\")\"\n          snapshot=\"$(gh api \"/repos/gardenlinux/repo/contents/.container?ref=$version\" | jq -r '.content' | base64 -d)\"\n          echo -e \"base=ghcr.io/${{ github.repository }}:$version\\nsnapshot=$snapshot\" | tee \"$GITHUB_OUTPUT\"\n        env:\n          GH_TOKEN: ${{ github.token }}\n      - name: publish gardenlinux kernel module build dev image\n        run: |\n          version=$(bin/garden-version \"${{ inputs.version }}\")\n          podman login -u token -p ${{ github.token }} ghcr.io\n          \n          base='${{ steps.versions.outputs.base }}'\n          snapshot='${{ steps.versions.outputs.snapshot }}'\n\n          podman pull --arch amd64 \"$base\"\n          podman pull --arch amd64 \"$snapshot\"\n          podman build --arch amd64 --build-arg base=\"$base\" --build-arg snapshot=\"$snapshot\" -t ghcr.io/${{ github.repository }}/kmodbuild:amd64-${version} container/kmodbuild\n          podman push ghcr.io/${{ github.repository }}/kmodbuild:amd64-${version}\n\n          podman pull --arch arm64 \"$base\"\n          podman pull --arch arm64 \"$snapshot\"\n          podman build --arch arm64 --build-arg base=\"$base\" --build-arg snapshot=\"$snapshot\" -t ghcr.io/${{ github.repository }}/kmodbuild:arm64-${version} container/kmodbuild\n          podman push ghcr.io/${{ github.repository }}/kmodbuild:arm64-${version}\n\n          podman manifest create ghcr.io/${{ github.repository }}/kmodbuild:${version}\n          podman manifest add ghcr.io/${{ github.repository }}/kmodbuild:${version} ghcr.io/${{ github.repository }}/kmodbuild:amd64-${version}\n          podman manifest add ghcr.io/${{ github.repository }}/kmodbuild:${version} ghcr.io/${{ github.repository }}/kmodbuild:arm64-${version}\n          podman push ghcr.io/${{ github.repository }}/kmodbuild:${version}\n\n  publish_bare_flavors:\n    name: publish bare flavors\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        config: [ libc, python, nodejs, sapmachine ]\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # pin@v3\n        with:\n          name: bare-${{ matrix.config }}-amd64\n      - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # pin@v3\n        with:\n          name: bare-${{ matrix.config }}-arm64\n      - run: ls -lah\n      - name: publish bare container image\n        run: |\n          version=$(bin/garden-version \"${{ inputs.version }}\")\n          podman login -u token -p ${{ github.token }} ghcr.io\n\n          # Handling amd64 image\n          image=\"$(podman load < ${{ matrix.config }}-amd64.oci | awk '{ print $NF }')\"\n\n          # Tagging and pushing amd64 with version\n          podman tag \"$image\" ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:amd64-$version\n          podman push ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:amd64-$version\n\n          # Tagging and pushing amd64 with nightly\n          podman tag \"$image\" ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:amd64-nightly\n          podman push ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:amd64-nightly\n\n          # Handling arm64 image\n          image=\"$(podman load < ${{ matrix.config }}-arm64.oci | awk '{ print $NF }')\"\n\n          # Tagging and pushing arm64 with version\n          podman tag \"$image\" ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:arm64-$version\n          podman push ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:arm64-$version\n\n          # Tagging and pushing arm64 with nightly\n          podman tag \"$image\" ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:arm64-nightly\n          podman push ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:arm64-nightly\n\n          # Creating and pushing manifest for version tag\n          podman manifest create ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:$version\n          podman manifest add ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:$version ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:amd64-$version\n          podman manifest add ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:$version ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:arm64-$version\n          podman push ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:$version\n\n          # Creating and pushing manifest for nightly tag\n          podman manifest create ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:nightly\n          podman manifest add ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:nightly ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:amd64-nightly\n          podman manifest add ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:nightly ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:arm64-nightly\n          podman push ghcr.io/${{ github.repository }}/bare-${{ matrix.config }}:nightly\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:54.278357", "created_at": "2023-07-29T19:14:39+02:00", "updated_at": "2023-07-29T19:14:39+02:00", "name": "Build Garden Linux Vagrant Libvirt Image", "path": ".github/workflows/vagrant-libvirt.yaml", "contents": null, "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:55.308534", "created_at": "2023-09-08T09:38:47+02:00", "updated_at": "2023-09-08T09:38:47+02:00", "name": ".github/workflows/dump_region.yml", "path": ".github/workflows/dump_region.yml", "contents": null, "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:56.269940", "created_at": "2023-09-26T14:33:01+02:00", "updated_at": "2023-09-26T14:33:32+02:00", "name": ".github/workflows/test_upload.yml", "path": ".github/workflows/test_upload.yml", "contents": null, "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:57.301849", "created_at": "2023-09-27T17:56:58+02:00", "updated_at": "2023-09-27T17:56:58+02:00", "name": ".github/workflows/test_podman_info.yml", "path": ".github/workflows/test_podman_info.yml", "contents": null, "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:58.282796", "created_at": "2023-10-24T13:40:51+02:00", "updated_at": "2023-10-24T13:40:51+02:00", "name": "release-test", "path": ".github/workflows/release-test.yml", "contents": null, "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:35:59.401390", "created_at": "2023-11-09T11:33:48+01:00", "updated_at": "2023-11-09T14:59:04+01:00", "name": "release page", "path": ".github/workflows/release-page.yml", "contents": "name: release page\non:\n  workflow_dispatch:\n    inputs:\n      type:\n        type: choice\n        default: beta\n        options:\n        - beta\n        - stable\n      version:\n        required: true\n        type: string\n      commit:\n        required: true\n        type: string\n        description: \"Full commitish\"\njobs:\n  create_release:\n    environment: oidc_aws_s3_upload\n    permissions:\n      id-token: write\n      contents: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - name: install dependencies for generate_release_note.py script\n        run: sudo apt-get update && sudo apt-get install -qy --no-install-recommends python3-boto3\n      - name: create GitHub release\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          .github/workflows/release_note.py create --tag ${{ inputs.version }} --commit \"$(echo \"${{ inputs.commit }}\")\"  \n      - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # pin@v3\n        with:\n          name: release\n          path: .github_release_id\n  upload_to_release:\n    environment: oidc_aws_s3_upload\n    needs: create_release\n    permissions:\n      contents: write\n      id-token: write\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        architecture: [ amd64, arm64 ]\n        cname: [ kvm-gardener_prod, metal-gardener_prod, gcp-gardener_prod, gdch-gardener_prod, aws-gardener_prod, azure-gardener_prod, ali-gardener_prod, openstack-gardener_prod, openstackbaremetal-gardener_prod, vmware-gardener_prod, metal-gardener_prod_pxe ]\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # pin@v3\n        with:\n          name: release\n      - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # pin@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_IAM_ROLE }}\n          role-session-name: ${{ secrets.AWS_OIDC_SESSION }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: download build artifacts from S3\n        run: |\n          commit=\"$(echo \"${{ inputs.commit }}\" | cut -c -8)\"\n          prefix=\"${{ matrix.cname }}-${{ matrix.architecture }}-${{ inputs.version }}-$commit\"\n          .github/workflows/download_from_s3.sh \"${{ secrets.AWS_S3_BUCKET }}\" \"$prefix\"\n          tar -cv \"$prefix\" | xz -9 > \"$prefix.tar.xz\"\n      - name: upload to release\n        run: |\n          commit=\"$(echo \"${{ inputs.commit }}\" | cut -c -8)\"\n          release=\"$(cat .github_release_id)\"\n          prefix=\"${{ matrix.cname }}-${{ matrix.architecture }}-${{ inputs.version }}-$commit\"\n          echo \"$release $prefix.tar.xz\"\n          ls -lah \"$prefix.tar.xz\"\n          echo \"$prefix.tar.xz\" | .github/workflows/release-page.sh ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} upload \"$release\"\n  upload_integration_test_logs_to_release:\n    environment: oidc_aws_s3_upload\n    needs: create_release\n    permissions:\n      contents: write\n      id-token: write\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        architecture: [ amd64, arm64 ]\n        cname: [ gcp-gardener_prod, aws-gardener_prod, azure-gardener_prod ]\n        exclude:\n          - architecture: arm64\n            cname: gcp-gardener_prod\n          - architecture: arm64\n            cname: azure-gardener_prod\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n      - uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # pin@v3\n        with:\n          name: release\n      - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # pin@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_IAM_ROLE }}\n          role-session-name: ${{ secrets.AWS_OIDC_SESSION }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: download build artifacts from S3\n        run: |\n          commit=\"$(echo \"${{ inputs.commit }}\" | cut -c -8)\"\n          prefix=\"${{ matrix.cname }}-${{ matrix.architecture }}-${{ inputs.version }}-$commit\"\n          aws s3 cp \"s3://${{ secrets.AWS_S3_BUCKET }}/objects/$prefix/$prefix.test-log\" ./\n      - name: upload to release\n        run: |\n          commit=\"$(echo \"${{ inputs.commit }}\" | cut -c -8)\"\n          release=\"$(cat .github_release_id)\"\n          prefix=\"${{ matrix.cname }}-${{ matrix.architecture }}-${{ inputs.version }}-$commit\"\n          echo \"$release $prefix.test-log\"\n          ls -lah \"$prefix.test-log\"\n          echo \"$prefix.test-log\" | .github/workflows/release-page.sh ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} upload \"$release\"\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:36:00.402944", "created_at": "2023-11-15T14:03:08+01:00", "updated_at": "2023-11-15T14:08:04+01:00", "name": "show kms arn", "path": ".github/workflows/debug_arn.yml", "contents": null, "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:36:01.430477", "created_at": "2023-12-18T14:47:30+01:00", "updated_at": "2023-12-18T14:47:30+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n  - pull_request_target\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # pin@v5\n        with:\n          dot: true\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:36:02.586055", "created_at": "2024-01-23T13:11:20+01:00", "updated_at": "2024-03-18T10:15:10+01:00", "name": "STIG compliance", "path": ".github/workflows/stig.yaml", "contents": "name: STIG compliance\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ kvm, aws, azure, ali, gcp, metal ]\n    steps:\n      - uses: actions/checkout@v4\n      # Workaround for crun version, cf https://github.com/gardenlinux/gardenlinux/pull/1982\n      - uses: ./.github/actions/setup\n      - name: Build the image\n        run: ./build ${{ matrix.platform}}-stig\n      - name: Upload build logs\n        uses: actions/upload-artifact@v4\n        with:\n          name: STIG-${{ matrix.platform}}-logs\n          path: .build/*log\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:36:03.841042", "created_at": "2024-04-12T10:15:14+02:00", "updated_at": "2024-04-12T10:15:14+02:00", "name": "Lima-VM Images", "path": ".github/workflows/lima.yaml", "contents": "name: Lima-VM Images\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: Garden Linux version to build, for example '1443.1' or 'main'. Use 'main' instead of 'today'.\n        required: true\n\njobs:\n  collect-metadata:\n    runs-on: ubuntu-latest\n    outputs:\n      CNAME: ${{ steps.cname.outputs.CNAME }}\n      COMMIT: ${{ steps.commit.outputs.ID }}\n      VERSION: ${{ inputs.version == 'main' && 'today' ||  inputs.version }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: gardenlinux\n      - uses: actions/checkout@v4\n        with:\n          repository: 'gardenlinux/builder'\n          path: builder\n      - run: sudo apt-get -y install python3 python3-mako python3-networkx python3-pefile python3-yaml\n      - id: cname\n        run: |\n          CNAME=$(python builder/builder/parse_features --feature-dir gardenlinux/features --features kvm,lima,_curl cname_base)\n          echo \"CNAME=$CNAME\" >> \"$GITHUB_OUTPUT\"\n      - id: commit\n        run: echo \"ID=$(head -c 8 <<< $(git rev-parse HEAD 2> /dev/null))\" >> \"$GITHUB_OUTPUT\"\n        working-directory: ./gardenlinux\n\n  build:\n    runs-on: ubuntu-latest\n    needs: collect-metadata\n    strategy:\n      fail-fast: false\n      matrix:\n        arch: [amd64, arm64]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.version }}\n      # Workaround for crun version, cf https://github.com/gardenlinux/gardenlinux/pull/1982\n      - uses: ./.github/actions/setup\n      - name: Build the image\n        run: ./build ${{ needs.collect-metadata.outputs.CNAME }}-${{ matrix.arch }}\n      - name: Upload ${{ matrix.arch }} disk image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ needs.collect-metadata.outputs.CNAME }}-${{ matrix.arch }}\n          path: .build/${{ needs.collect-metadata.outputs.CNAME }}-${{ matrix.arch }}*qcow2\n\n  lima-manifest:\n    runs-on: ubuntu-latest\n    needs:\n      - collect-metadata\n      - build\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.version }}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12' \n      - name: Download amd64 disk image. Requirement for later checksum creation step of generate-manifest.py\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ needs.collect-metadata.outputs.CNAME }}-amd64\n      - name: Download arm64 disk image. Requirement for later checksum creation step of generate-manifest.py\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ needs.collect-metadata.outputs.CNAME }}-arm64\n      - name: Generate lima yaml file\n        run: |\n          python ./features/lima/generate-manifest.py --build_dir=. --cname_base=${{ needs.collect-metadata.outputs.CNAME }} --gardenlinux_version=${{ needs.collect-metadata.outputs.VERSION }} --commit_id=${{ needs.collect-metadata.outputs.COMMIT }}\n      - name: Upload lima yaml file\n        uses: actions/upload-artifact@v4\n        with:\n          name: lima-manifest-${{ needs.collect-metadata.outputs.CNAME }}-${{ needs.collect-metadata.outputs.VERSION }}.yaml\n          path: ${{ needs.collect-metadata.outputs.CNAME }}-${{ needs.collect-metadata.outputs.VERSION }}.yaml\n", "state": "active", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:36:04.906938", "created_at": "2023-06-07T10:01:34+02:00", "updated_at": "2023-10-24T10:27:59+02:00", "name": "nightly rel-934", "path": ".github/workflows/nightly-rel.yml", "contents": null, "state": "disabled_manually", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:36:06.050855", "created_at": "2023-06-07T11:33:31+02:00", "updated_at": "2023-10-24T10:28:08+02:00", "name": "nightly rel-934", "path": ".github/workflows/nightly-rel934.yml", "contents": "name: nightly rel-934\non:\n  schedule:\n    - cron: '0 6 * * *'\njobs:\n  trigger_workflow_dispatch:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Checkout 934 branch\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1\n        with:\n          ref: 'rel-934'\n\n      - name: Get the latest 934 version (including minor version)\n        run: echo \"VERSION=$(./bin/garden-version)\" >> $GITHUB_ENV\n\n      - name: Trigger nightly for rel-934 with version input\n        run: |\n          curl -vv --fail-with-body -X POST -u \"token:${{ secrets.GITHUB_TOKEN }}\" \"https://api.github.com/repos/${{ github.repository }}/actions/workflows/28837699/dispatches\" -d \"{\\\"ref\\\":\\\"rel-934\\\", \\\"inputs\\\":{\\\"version\\\":\\\"$VERSION\\\"}}\"\n", "state": "disabled_manually", "repository": "gardenlinux/gardenlinux"}
{"mined_at": "2024-07-15T14:36:08.113399", "created_at": "2020-12-14T12:54:54+01:00", "updated_at": "2021-04-30T04:09:56+02:00", "name": "Run Tests", "path": ".github/workflows/build.yml", "contents": "name: Run Tests\non: ['push', 'pull_request']\n\njobs:\n  mypy:\n    name: mypy\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10.6'\n        cache: 'pipenv'\n    - uses: PennyDreadfulMTG/setup-linters@main\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip pipenv wheel\n        if [ -f Pipfile ]; then pipenv sync --dev; fi\n    - name: Run mypy\n      run: pipenv run python dev.py mypy\n  lint:\n    name: lint\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n        cache: 'pipenv'\n    - uses: PennyDreadfulMTG/setup-linters@main\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip pipenv wheel pydantic\n        if [ -f Pipfile ]; then pipenv sync --dev; fi\n    - name: Run flake8\n      run: pipenv run python dev.py lint\n\n  test:\n    name: test\n    runs-on: ubuntu-latest\n    env:\n      mysql_user: root\n      mysql_passwd: bad-password\n      mysql_host: 127.0.0.1\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n        cache: 'pipenv'\n    - uses: getong/mariadb-action@v1.1\n      with:\n        mysql root password: bad-password\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip pipenv wheel\n        if [ -f Pipfile ]; then pipenv sync --dev; fi\n    - uses: PennyDreadfulMTG/setup-linters@main\n    - run: pipenv run init-cards\n    - name: Run pytest\n      run: |\n        pipenv run pytest\n        pipenv run python dev.py upload-coverage\n    - name: Publish Test Report\n      uses: mikepenz/action-junit-report@v4.3.0\n      if: always() # always run even if the previous step fails\n      with:\n        report_paths: '**/TestResults.xml'\n        check_name: 'Pytest Results'\n\n  jslint:\n    name: jslint\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n        cache: 'pipenv'\n    - name: Setup Node.js environment\n      uses: actions/setup-node@v4.0.2\n      with:\n        node-version: 18.16.0\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip pipenv wheel\n        python build.py\n    - name: Run jslint\n      run: pipenv run python dev.py jslint\n", "state": "active", "repository": "pennydreadfulmtg/penny-dreadful-tools"}
{"mined_at": "2024-07-15T14:36:09.274222", "created_at": "2020-09-03T18:15:32+02:00", "updated_at": "2020-09-03T18:15:32+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 17 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python', 'javascript']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "pennydreadfulmtg/penny-dreadful-tools"}
{"mined_at": "2024-07-15T14:36:10.368776", "created_at": "2020-05-11T12:17:17+02:00", "updated_at": "2020-06-11T15:28:03+02:00", "name": "Sort python imports", "path": ".github/workflows/isort.yml", "contents": "name: Sort python imports\n\non:\n  push:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n        cache: 'pipenv'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pipenv\n        pipenv install\n    - name: Sort Imports\n      run: pipenv run python dev.py sort --fix\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@v6\n      with:\n        commit-message: Sort Imports\n        title: Sort Imports\n        branch: sort\n        labels: merge when ready\n        token: ${{ secrets.VORPAL_PAT }}\n", "state": "active", "repository": "pennydreadfulmtg/penny-dreadful-tools"}
{"mined_at": "2024-07-15T14:36:11.493979", "created_at": "2020-03-31T19:04:39+02:00", "updated_at": "2020-04-01T11:40:46+02:00", "name": "Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: Labeler\non: [pull_request]\n\njobs:\n  label:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/labeler@v5.0.0\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "pennydreadfulmtg/penny-dreadful-tools"}
{"mined_at": "2024-07-15T14:36:12.604626", "created_at": "2021-12-10T06:22:42+01:00", "updated_at": "2021-12-10T06:22:42+01:00", "name": "Repin pip dependencies", "path": ".github/workflows/repip.yml", "contents": "name: Repin pip dependencies\n\non:\n  push:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n        cache: 'pipenv'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pipenv\n        if [ -f Pipfile ]; then pipenv sync --dev; fi\n    - name: Run repip\n      run: pipenv run python dev.py repip\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@v6\n      with:\n        commit-message: Unpin git dependency\n        title: Unpin git dependency\n        branch: repip\n        labels: merge when ready\n        token: ${{ secrets.VORPAL_PAT }}\n", "state": "active", "repository": "pennydreadfulmtg/penny-dreadful-tools"}
{"mined_at": "2024-07-15T14:36:13.951185", "created_at": "2021-11-25T03:32:07+01:00", "updated_at": "2021-11-25T03:32:07+01:00", "name": "triage-issues", "path": ".github/workflows/triage.yml", "contents": "name: triage-issues\npermissions:\n  issues: write\n\non:\n  issues:\n    types: [opened, labeled, unlabeled]\n\njobs:\n  triage-labels:\n    runs-on: ubuntu-latest\n    steps:\n      - name: If no labels, add triage\n        id: no-labels\n        uses: andymckay/labeler@master\n        if: ${{ join(github.event.issue.labels.*.name, ',') == '' }}\n        with:\n          add-labels: 'triage'\n\n      - name: If labeled, remove triage\n        uses: andymckay/labeler@master\n        if: ${{ steps.no-labels.outcome == 'skipped' && join(github.event.issue.labels.*.name, ',') != 'triage' }}\n        with:\n          remove-labels: 'triage'\n", "state": "active", "repository": "pennydreadfulmtg/penny-dreadful-tools"}
{"mined_at": "2024-07-15T14:36:16.203079", "created_at": "2021-04-27T14:58:13+02:00", "updated_at": "2021-05-04T23:08:29+02:00", "name": "CI", "path": ".github/workflows/ibllib_ci.yml", "contents": "name: CI\n\non:\n  schedule:\n    - cron:  '0 0 * * *'  # every day at midnight\n  workflow_dispatch:  # For manual triggering\n  push:\n    branches: [ master, develop, public ]\n  pull_request:\n    branches: [ master, develop ]\n\njobs:\n  build:\n    name: build (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false  # Whether to stop execution of other instances\n      max-parallel: 2\n      matrix:\n        os: [\"windows-latest\", \"ubuntu-latest\"]\n        python-version: [\"3.8\", \"3.11\"]\n        exclude:\n          - os: windows-latest\n            python-version: 3.8\n          - os: ubuntu-latest\n            python-version: 3.11\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install deps\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest flake8-docstrings\n        pip install -r requirements.txt\n        pip install -e .\n    - name: Flake8\n      run: |\n        python -m flake8\n        python -m flake8 --select D --ignore E ibllib/qc/camera.py\n    - name: Brainbox tests\n      run: |\n        cd brainbox\n        pytest\n    - name: ibllib tests\n      run: |\n        cd ibllib\n        cd tests\n        python -m unittest discover\n", "state": "active", "repository": "int-brain-lab/ibllib"}
{"mined_at": "2024-07-15T14:36:17.212260", "created_at": "2021-06-15T10:17:20+02:00", "updated_at": "2021-06-15T10:17:20+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "int-brain-lab/ibllib"}
{"mined_at": "2024-07-15T14:36:19.185478", "created_at": "2024-02-20T16:22:23+01:00", "updated_at": "2024-02-21T16:19:38+01:00", "name": "Check release notes", "path": ".github/workflows/check-release-notes.yml", "contents": "name: Check release notes\n\non:\n  pull_request:\n    types:\n      - opened\n      - edited\n      - synchronize\n\njobs:\n  check_release_notes:\n    name: Notes are either written, or there are none\n    uses: packit/.github/.github/workflows/check-release-notes.yml@main\n    with:\n      description: ${{ github.event.pull_request.body }}\n", "state": "active", "repository": "packit/packit-service"}
{"mined_at": "2024-07-15T14:36:20.306828", "created_at": "2022-09-08T13:06:22+02:00", "updated_at": "2022-09-08T13:06:22+02:00", "name": "Move new issues into the Kanban board", "path": ".github/workflows/opened-issues-to-the-board.yml", "contents": "name: Move new issues into the Kanban board\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  add-new-issue-to-the-kanban-board:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v0.3.0\n        with:\n          project-url: https://github.com/orgs/packit/projects/7\n          github-token: ${{ secrets.RELEASEBOT_GITHUB_TOKEN }}\n", "state": "active", "repository": "packit/packit-service"}
{"mined_at": "2024-07-15T14:36:21.375451", "created_at": "2023-07-07T16:14:54+02:00", "updated_at": "2023-07-07T16:14:54+02:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/ossf-scorecard.yml", "contents": "# https://github.com/ossf/scorecard-action\n\nname: Scorecard supply-chain security\non:\n  push:\n    branches: [\"main\"]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # v2.2.0\n        with:\n          results_file: results.sarif\n          results_format: sarif\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@004c5de30b6423267685b897a3d595e944f7fed5 # v2.20.2\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "packit/packit-service"}
{"mined_at": "2024-07-15T14:36:22.400942", "created_at": "2021-03-03T17:06:45+01:00", "updated_at": "2021-03-03T17:06:45+01:00", "name": "Rebuild & push images", "path": ".github/workflows/rebuild-and-push-images.yml", "contents": "name: Rebuild & push images\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n      - stable\n\njobs:\n  build-and-push:\n    # To not run in forks\n    if: github.repository_owner == 'packit'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - dockerfile: files/docker/Dockerfile\n            image: packit-service\n          - dockerfile: files/docker/Dockerfile.worker\n            image: packit-worker\n          - dockerfile: files/docker/Dockerfile.tests\n            image: packit-service-tests\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Extract branch name and set tag\n        shell: bash\n        run: |\n          branch=${GITHUB_REF#refs/heads/}\n          tag=\"\"\n          case $branch in\n              main)\n                  tag=\"stg latest\"\n                  ;;\n              stable)\n                  tag=\"prod\"\n                  ;;\n          esac\n          echo \"branch=${branch}\" >> $GITHUB_OUTPUT\n          unique_tag=\"${branch}-${GITHUB_SHA::7}-$(date +%s)\"\n          echo \"tag=${tag} ${unique_tag}\" >> $GITHUB_OUTPUT\n        id: branch_tag\n\n      - name: Build Image\n        id: build-image\n        # https://github.com/marketplace/actions/buildah-build\n        uses: redhat-actions/buildah-build@v2\n        with:\n          dockerfiles: ${{ matrix.dockerfile }}\n          image: ${{ matrix.image }}\n          tags: ${{ steps.branch_tag.outputs.tag }}\n          # Uncomment once we stop using oc cluster up for tests\n          #           oci: true\n          build-args: |\n            SOURCE_BRANCH=${{ steps.branch_tag.outputs.branch }}\n\n      - name: Push To Quay\n        # https://github.com/marketplace/actions/push-to-registry\n        uses: redhat-actions/push-to-registry@v2\n        with:\n          image: ${{ steps.build-image.outputs.image }}\n          tags: ${{ steps.build-image.outputs.tags }}\n          registry: quay.io/packit\n          username: ${{ secrets.QUAY_IMAGE_BUILDER_USERNAME }}\n          password: ${{ secrets.QUAY_IMAGE_BUILDER_TOKEN }}\n", "state": "active", "repository": "packit/packit-service"}
{"mined_at": "2024-07-15T14:36:23.391186", "created_at": "2023-05-18T17:31:43+02:00", "updated_at": "2023-05-18T17:31:43+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "packit/packit-service"}
{"mined_at": "2024-07-15T14:36:25.438233", "created_at": "2020-02-29T23:50:50+01:00", "updated_at": "2023-08-30T23:49:01+02:00", "name": "tests", "path": ".github/workflows/pythonpackage.yml", "contents": "name: tests\n\non:\n  push:\n    paths:\n      - '**.py'\n      - '.github/workflows/pythonpackage.yml'\n  pull_request:\n    paths:\n      - '**.py'\n      - '.github/workflows/pythonpackage.yml'\n\njobs:\n  build:\n\n    runs-on: 'ubuntu-20.04'\n    strategy:\n      matrix:\n        python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install libhdf5-serial-dev\n        python -m pip install --upgrade pip\n        pip install numpy\n        pip install -r test-requirements.txt\n        pip install .\n    - name: Run the tests\n      run: |\n        cd tests; find . -name 'test_*.py' -print0 | xargs -0 -n1 python\n\n  tests-py2:\n    runs-on: 'ubuntu-20.04'\n    container:\n      image: python:2.7.18-buster\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install dependencies\n      run: |\n        apt-get update\n        apt-get install -y --no-install-recommends libhdf5-serial-dev\n        python -m pip install --upgrade pip\n        pip install numpy\n        pip install -r test-requirements.txt\n    - name: Print Python version\n      run: python -V\n    - name: Run the tests\n      run: |\n        cd tests; find . -name 'test_*.py' -print0 | xargs -0 -n1 env PYTHONPATH=.. python\n", "state": "active", "repository": "levitsky/pyteomics"}
{"mined_at": "2024-07-15T14:36:26.434143", "created_at": "2020-05-18T21:36:47+02:00", "updated_at": "2020-05-18T21:36:47+02:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "name: Upload Python Package\n\non:\n release:\n  types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel --universal\n        twine upload dist/*\n", "state": "active", "repository": "levitsky/pyteomics"}
{"mined_at": "2024-07-15T14:36:28.470590", "created_at": "2022-06-23T00:30:21+02:00", "updated_at": "2022-06-23T00:30:21+02:00", "name": "Deploy Storybook", "path": ".github/workflows/deploy-storybook.yml", "contents": "name: Deploy Storybook\non:\n  push:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  deploy:\n    name: Build & deploy\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version-file: .nvmrc\n          cache: yarn\n      - run: yarn install --frozen--lockfile\n      - run: yarn deploy-storybook --ci\n        env:\n          GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "sfdo-tooling/metadeploy"}
{"mined_at": "2024-07-15T14:36:29.500991", "created_at": "2020-10-06T18:12:25+02:00", "updated_at": "2020-10-06T19:08:38+02:00", "name": "Production Smoke Test", "path": ".github/workflows/smoke_test.yml", "contents": "name: Production Smoke Test\n\non:\n  repository_dispatch:\n    types: [heroku-release-phase]\n\nenv:\n  CUMULUSCI_KEY: ${{ secrets.CUMULUSCI_KEY }}\n\njobs:\n  production_smoke_test:\n    name: 'Production Post-Deploy Smoke Test'\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n\n      - name: Install sfdx\n        run: |\n          mkdir sfdx\n          wget -qO- https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz | tar xJ -C sfdx --strip-components 1\n          ./sfdx/install\n          echo $SFDX_HUB_KEY_BASE64 | base64 --decode > sfdx.key\n          sfdx force:auth:jwt:grant --clientid $SFDX_CLIENT_ID --jwtkeyfile sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub\n        env:\n          SFDX_HUB_KEY_BASE64: ${{ secrets.SFDX_HUB_KEY_BASE64 }}\n          SFDX_CLIENT_ID: ${{ secrets.SFDX_CLIENT_ID }}\n          SFDX_HUB_USERNAME: ${{ secrets.SFDX_HUB_USERNAME }}\n\n      - name: Install CumulusCI\n        run: pip install cumulusci\n\n      - name: Create test org\n        run: cci org info enterprise\n\n      - name: Deploy Trusted IP Ranges\n        run:\n          cci task run deploy --org enterprise -o path robot/trusted_ip_ranges\n\n      - name: Wait for Heroku Dynos to Restart\n        run: sleep 5m\n\n      - name: Run robot test\n        run: |\n          cci task run robot \\\n            --org enterprise \\\n            -o suites robot/tasks/run_plan.robot \\\n            -o vars BROWSER:headlesschrome,LANG:en,PRODUCT:program-management,PLAN:install,BASE_URL:https://install.salesforce.org\n\n      - name: Delete scratch org\n        if: always()\n        run: cci org scratch_delete enterprise\n\n      - name: Store robot results\n        if: failure()\n        uses: actions/upload-artifact@v3\n        with:\n          name: robot\n          path: robot/results\n", "state": "active", "repository": "sfdo-tooling/metadeploy"}
{"mined_at": "2024-07-15T14:36:30.744175", "created_at": "2022-06-23T00:06:14+02:00", "updated_at": "2022-06-23T00:30:21+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\non:\n  push:\n  pull_request:\n    types: [reopened]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: Build\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/setup-docker-compose\n        with:\n          # By writing to the cache here subsequent jobs will get the updated\n          # image when they use setup-docker-compose\n          cache-to: type=gha,mode=max\n          omniout-token: ${{ secrets.OMNIOUT_TOKEN }}\n\n  lint:\n    name: Lint\n    needs: [build]\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/setup-docker-compose\n        with:\n          omniout-token: ${{ secrets.OMNIOUT_TOKEN }}\n      - name: Lint\n        run: docker-compose run --no-deps web yarn lint:nofix\n\n  frontend:\n    name: Frontend\n    needs: [build]\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/setup-docker-compose\n        with:\n          omniout-token: ${{ secrets.OMNIOUT_TOKEN }}\n      - name: Test frontend\n        run: docker-compose run --no-deps web yarn test:js:coverage\n      - name: Upload coverage artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: frontend-coverage\n          path: |\n            coverage\n\n  backend:\n    name: Backend\n    needs: [build]\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/setup-docker-compose\n        with:\n          omniout-token: ${{ secrets.OMNIOUT_TOKEN }}\n      - name: Test backend\n        # prettier-ignore\n        run: >\n          docker-compose run\n          -e DB_ENCRYPTION_KEY=MMkDMBfYL0Xoz3Xu1ENs3AkdCZdJoks5PNlUBkK7KDc=\n          -e DJANGO_DEBUG=false\n          -e SECURE_SSL_REDIRECT=false\n          -e GITHUB_TOKEN=\"sample token\"\n          -e SFDX_CLIENT_SECRET=\"sample secret\"\n          -e SFDX_CLIENT_CALLBACK_URL=\"sample callback\"\n          -e SFDX_CLIENT_ID=\"sample id\"\n          -e SFDX_HUB_KEY=\"sample key\"\n          web yarn test:py\n      - name: Upload coverage artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: backend-coverage\n          path: |\n            .coverage\n            coverage.xml\n\n  coverage:\n    name: Coverage\n    needs: [frontend, backend]\n    runs-on: sfdc-ubuntu-latest\n    env:\n      COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/setup-docker-compose\n        with:\n          omniout-token: ${{ secrets.OMNIOUT_TOKEN }}\n      - name: Download frontend coverage artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: frontend-coverage\n          path: coverage\n      - name: Download backend coverage artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: backend-coverage\n      - name: Upload coverage reports\n        if: env.COVERALLS_REPO_TOKEN\n        # prettier-ignore\n        run: >\n          docker-compose run\n          -e COVERALLS_REPO_TOKEN\n          -e COVERALLS_PARALLEL=true\n          -e COVERALLS_SERVICE_NUMBER=\"${{ github.run_id }}\"\n          -e CI_BUILD_NUMBER=\"${{ github.run_id }}\"\n          --no-deps\n          web bash -c '\n          yarn test:js:report-coverage &&\n          yarn test:py:report-coverage &&\n          python -m coveralls --finish\n          '\n      - name: Check coverage\n        run: |\n          docker-compose run --no-deps web yarn test:js:check-coverage\n          docker-compose run --no-deps web yarn test:py:check-coverage\n", "state": "active", "repository": "sfdo-tooling/metadeploy"}
{"mined_at": "2024-07-15T14:36:31.777325", "created_at": "2022-06-23T00:30:21+02:00", "updated_at": "2022-06-23T00:30:21+02:00", "name": "Upgrade dependencies", "path": ".github/workflows/upgrade-deps.yml", "contents": "name: Upgrade dependencies\n\non:\n  workflow_dispatch: # Allow running on-demand\n  schedule:\n    # Every Monday at 8:00 UTC (4:00 Eastern)\n    - cron: '0 8 * * 1'\n\njobs:\n  upgrade:\n    name: Upgrade & Open Pull Request\n    runs-on: sfdc-ubuntu-latest\n    env:\n      BRANCH_NAME: auto-dependency-upgrades\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          # [Optional] Use a separate key to automatically execute checks on the resulting PR\n          # https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs\n          ssh-key: ${{ secrets.DEPLOY_KEY }}\n      - uses: ./.github/setup-docker-compose\n        with:\n          omniout-token: ${{ secrets.OMNIOUT_TOKEN }}\n      - name: Upgrade JS dependencies\n        # prettier-ignore\n        run: >\n          docker-compose run --no-deps web /bin/sh -c '\n          rm -f yarn.lock &&\n          chown -R $(whoami):$(whoami) . &&\n          npx --yes yarn-upgrade-all\n          '\n      - name: Upgrade Python dependencies\n        # prettier-ignore\n        run: >\n          docker-compose run --no-deps web /bin/sh -c '\n          pip install --upgrade pip pip-tools &&\n          pip-compile --upgrade -o requirements/prod.txt requirements/prod.in &&\n          pip-compile --upgrade -o requirements/dev.txt requirements/dev.in\n          '\n      - name: Detect changes\n        id: changes\n        # prettier-ignore\n        run:\n          echo \"::set-output name=count::$(git status --porcelain=v1 2>/dev/null | wc -l)\"\n      - name: Commit & push changes\n        if: steps.changes.outputs.count > 0\n        run: |\n          sudo chown -R $(whoami):$(whoami) .git\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git add .\n          git commit -m \"Automated dependency upgrades\"\n          git push -f origin ${{ github.ref_name }}:$BRANCH_NAME\n      - name: Open pull request if needed\n        if: steps.changes.outputs.count > 0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          PR=$(gh pr list --head $BRANCH_NAME --json number -q '.[0].number')\n          if [ -z $PR ]; then\n            gh pr create \\\n            --head $BRANCH_NAME \\\n            --title \"Automated dependency upgrades\" \\\n            --body \"Full log: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n          else\n            echo \"Pull request already exists, won't create a new one.\"\n          fi\n", "state": "active", "repository": "sfdo-tooling/metadeploy"}
{"mined_at": "2024-07-15T14:36:34.123163", "created_at": "2023-10-27T18:43:18+02:00", "updated_at": "2023-10-27T18:43:18+02:00", "name": "Sync Files", "path": ".github/workflows/sync.yml", "contents": "name: Sync Files\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@main\n      - name: Run GitHub File Sync\n        uses: BetaHuhn/repo-file-sync-action@v1\n        with:\n          GH_PAT: ${{ secrets.BF_GH_PAT }}\n          PR_LABELS: false\n          # REVIEWERS: brettfiedler #reviewer cannot be author, leaving off for now\n          COMMIT_BODY: 'Repo File Sync automated update'\n          # DRY_RUN: true\n          \n", "state": "active", "repository": "phetsims/phet-info"}
{"mined_at": "2024-07-15T14:36:37.455446", "created_at": "2021-01-28T11:39:18+01:00", "updated_at": "2023-05-04T07:49:04+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "# This workflow will install Python dependencies, run tests, and report the coverage with a variety of Python versions and OSs.\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: test\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  schedule:\n    # * is a special character in YAML, so you have to quote this string\n    - cron:  '0 0 * * *' # every midnight\n\njobs:\n  test:\n    name: Test (${{ matrix.os }}, python version ${{ matrix.python-version }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\"] # list of Python versions to test\n        exclude:\n          - os: windows-latest\n            python-version: \"3.8\"\n          - os: windows-latest\n            python-version: \"3.9\"\n        include:\n          - os: ubuntu-latest\n            path: ~/.cache/pip\n          - os: windows-latest\n            path: ~\\AppData\\Local\\pip\\Cache\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python using Miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n          miniconda-version: latest\n\n      - name: Cache pip dependencies\n        id: cache_pip\n        uses: actions/cache@v2\n        with:\n          path: ${{ matrix.path }}\n          key: ${{ runner.os }}-python${{ matrix.python-version }}-pip-20231130-${{ hashFiles('**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-python${{ matrix.python-version }}-pip-20231130-\n          # We have used a softer matching strategy for the full hash of setup.py, as recommended by GitHub.\n          # See: https://github.com/davronaliyev/Cache-dependencies-in-GitHub-Actions/blob/main/examples.md#python---pip\n          # This restores the cache first and then downloads any changed packages to avoid updating the cache with\n          # every change to the setup.py file, thus reducing the storage requirements of GitHub Action.\n          # We set a date tag to the cache key to show the updated date of the cache. We can update this date tag to\n          # generate new cache after every major changes in setup.py.\n\n      - name: Install dependencies\n        run: |\n          pip install rdkit\n          pip install pyparsing==3.0.9\n          pip install torch==2.0.0+cpu -f https://download.pytorch.org/whl/torch_stable.html\n          pip install torchvision==0.15.0+cpu -f https://download.pytorch.org/whl/torch_stable.html\n          pip install torch_scatter==2.1.1 -f https://data.pyg.org/whl/torch-2.0.0+cpu.html\n          pip install torch_sparse==0.6.17 -f https://data.pyg.org/whl/torch-2.0.0+cpu.html\n          pip install torch_cluster==1.6.1 -f https://data.pyg.org/whl/torch-2.0.0+cpu.html\n          pip install torch_spline_conv==1.2.2 -f https://data.pyg.org/whl/torch-1.13.0+cpu.html\n          pip install torch_geometric==2.3.0\n          pip install -e .[dev]\n        shell: bash -l {0}\n\n      - name: Cache downloaded test data\n        id: cache_data\n        uses: actions/cache@v2\n        with:\n          path: tests/test_data\n          key: ${{ runner.os }}-python${{ matrix.python-version }}-data-${{ hashFiles('tests/download_test_data.py') }}\n          restore-keys: |\n            ${{ runner.os }}-python${{ matrix.python-version }}-data-${{ hashFiles('tests/download_test_data.py') }}\n          # Use strict matching for the hash of download_test_data.py, as we want to update the cache whenever the file changes.\n\n      - name: Download test data\n        if: steps.cache_data.outputs.cache-hit != 'true'\n        run : |\n          python tests/download_test_data.py\n        shell: bash -l {0}\n\n      - name: Run tests\n        id: run_tests\n        run: |\n          pytest --nbmake --nbmake-timeout=3000 --cov=kale\n        shell: bash -l {0}\n\n      - name: Determine coverage\n        run: |\n          coverage xml\n        shell: bash -l {0}\n\n      - name: Report coverage\n        uses: codecov/codecov-action@v1\n", "state": "active", "repository": "pykale/pykale"}
{"mined_at": "2024-07-15T14:36:38.526179", "created_at": "2021-02-18T00:39:35+01:00", "updated_at": "2021-02-18T00:39:35+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "# This workflow will release a package on PyPI automatically when it is tagged/released.\n# https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n\nname: release\n\non:\n  release:\n    types: [created]\n\njobs:\n  build-n-publish:\n    name: Release on PyPI\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.8\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish distribution to Test PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n    - name: Publish distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "pykale/pykale"}
{"mined_at": "2024-07-15T14:36:39.654822", "created_at": "2021-03-29T00:56:20+02:00", "updated_at": "2022-10-07T00:26:47+02:00", "name": "assign-project", "path": ".github/workflows/project.yml", "contents": "# This workflow will automatically add an issue or pull request to the project defined on lines 22 and 32.\n# The project needs to be updated when we move to a new project.\n# https://github.com/marketplace/actions/add-to-github-projects\n# The encrypted secret key \"ADD_TO_PROJECT_PAT\" has been created in accordance with the guidelines provided in https://docs.github.com/en/actions/security-guides/encrypted-secrets\n\nname: assign-project\n\non:\n  issues:\n    types: [opened, labeled]\n  pull_request:\n    types: [opened, labeled]\n\njobs:\n  add-issue-to-project:\n    name: Add issue to project\n    if: github.event_name == 'issues' && github.event.action == 'opened'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v0.5.0\n        with:\n          project-url: https://github.com/orgs/pykale/projects/4\n          github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}\n\n  add-pull-request-to-project:\n    name: Add pull request to project\n    if: github.event_name == 'pull_request' && github.event.action == 'opened'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v0.5.0\n        with:\n          project-url: https://github.com/orgs/pykale/projects/4\n          github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}\n", "state": "active", "repository": "pykale/pykale"}
{"mined_at": "2024-07-15T14:36:40.781767", "created_at": "2021-04-18T01:25:52+02:00", "updated_at": "2021-04-18T01:43:39+02:00", "name": "changelog", "path": ".github/workflows/changelog.yml", "contents": "# This workflow will generate a log of changes automatically upon a new release.\n# See https://github.com/marketplace/actions/changelog-ci\n\nname: changelog\n\non:\n  pull_request:\n    types: [opened]\n\njobs:\n  log-changes:\n    name: Log changes\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run changelog\n        uses: saadmk11/changelog-ci@v1.1.2\n        with:\n          changelog_filename: .github/CHANGELOG.md\n          config_file: .github/changelog-ci-config.json\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pykale/pykale"}
{"mined_at": "2024-07-15T14:36:41.805921", "created_at": "2022-04-12T13:06:09+02:00", "updated_at": "2022-10-07T00:29:15+02:00", "name": "codeql-analysis", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: codeql-analysis\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '15 18 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "pykale/pykale"}
{"mined_at": "2024-07-15T14:36:42.931283", "created_at": "2022-10-06T22:57:18+02:00", "updated_at": "2022-10-07T00:29:15+02:00", "name": "pre-commit-check", "path": ".github/workflows/pre-commit.yml", "contents": "# This workflow will run lint and many other pre-commit hooks.\n# https://pre-commit.com/\n\nname: pre-commit-check\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  pre-commit-check:\n    name: Pre-commit checks including linting\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8\"\n    - name: Install dependencies\n      run: |\n        pip install pre-commit isort\n        pre-commit install\n    - name: Run pre-commit checks including linting\n      run: |\n        pre-commit run --all-files\n", "state": "active", "repository": "pykale/pykale"}
{"mined_at": "2024-07-15T14:36:44.056270", "created_at": "2022-10-07T01:29:48+02:00", "updated_at": "2022-10-07T01:29:48+02:00", "name": "stale", "path": ".github/workflows/stale.yml", "contents": "# This workflow will control the stale and close of prs and issues.\n# For more information see: https://github.com/actions/stale\n\nname: stale\n\non:\n  schedule:\n    # * is a special character in YAML, so you have to quote this string\n    - cron:  '0 0 * * *' # every midnight\n\njobs:\n  stale:\n    name: Mark (and close) stale issues and pull requests\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n      - uses: actions/stale@v6\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          days-before-issue-stale: 30\n          days-before-issue-close: 7\n          days-before-pr-stale: 45\n          days-before-pr-close: -1\n          stale-issue-message: \"This issue has been automatically marked as stale due to lack of activity. It will be closed if no further activity occurs. Thank you!\"\n          close-issue-message: \"This issue is closed due to lack of activity. Feel free to reopen it if you still have questions.\"\n          stale-pr-message: \"This pull request has been automatically marked as stale due to lack of activity.\"\n          stale-issue-label: \"stale-issue\"\n          exempt-issue-labels: \"bug, enhancement, new feature\"\n", "state": "active", "repository": "pykale/pykale"}
{"mined_at": "2024-07-15T14:36:45.117232", "created_at": "2023-05-17T17:22:11+02:00", "updated_at": "2023-05-17T17:22:11+02:00", "name": ".github/workflows/readthedocs.yml", "path": ".github/workflows/readthedocs.yml", "contents": null, "state": "active", "repository": "pykale/pykale"}
{"mined_at": "2024-07-15T14:36:46.308351", "created_at": "2023-10-14T23:34:07+02:00", "updated_at": "2023-10-14T23:34:07+02:00", "name": "test when label removed", "path": ".github/workflows/test-on-label-removed.yml", "contents": null, "state": "active", "repository": "pykale/pykale"}
{"mined_at": "2024-07-15T14:36:48.460899", "created_at": "2021-03-26T12:11:26+01:00", "updated_at": "2022-01-10T05:35:19+01:00", "name": "Cron Test Dependencies", "path": ".github/workflows/cronjob_unit_tests.yml", "contents": "name: Cron Test Dependencies\n\n# Controls when the action will run.\n# Every sunday at 4:05\n# See https://crontab.guru/#5 4 * * 0\non:\n  schedule:\n    - cron: \"5 4 * * 0\"\n\njobs:\n  run:\n    name: Run unit tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        build: [macos, ubuntu, windows]\n        include:\n          - build: macos\n            os: macos-latest\n          - build: ubuntu\n            os: ubuntu-latest\n          - build: windows\n            os: windows-latest\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@master\n\n    - name: Get latest CMake and Ninja\n      uses: lukka/get-cmake@latest\n      with:\n        cmakeVersion: latest\n        ninjaVersion: latest\n\n    - name: Setup Python\n      uses: actions/setup-python@master\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Python dependencies\n      run: |\n        pip3 install --upgrade setuptools pip\n        pip3 install \".[all]\"\n\n    - name: Run linters\n      run: |\n        pre-commit install\n        pre-commit run --all-files\n\n    - name: Run (unit) tests\n      env:\n        TEST_NOTEBOOKS: 1\n      run: |\n        pytest --cov=probatus/binning --cov=probatus/metric_volatility --cov=probatus/missing_values --cov=probatus/sample_similarity --cov=probatus/stat_tests --cov=probatus/utils --cov=probatus/interpret/ --ignore==tests/interpret/test_inspector.py --cov-report=xml\n        pyflakes probatus\n", "state": "active", "repository": "ing-bank/probatus"}
{"mined_at": "2024-07-15T14:36:49.505982", "created_at": "2020-11-16T14:10:16+01:00", "updated_at": "2021-01-12T14:57:16+01:00", "name": "Release", "path": ".github/workflows/publish_to_pypi.yml", "contents": "name: Release\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python\n      uses: actions/setup-python@master\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        pip3 install --upgrade setuptools pip\n        pip3 install \".[all]\"\n    - name: Run unit tests and linters\n      run: |\n        pytest\n    - name: Build package & publish to PyPi\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        pip3 install --upgrade wheel twine build\n        python -m build\n        twine upload dist/*\n    - name: Deploy mkdocs site\n      run: |\n        mkdocs gh-deploy --force\n", "state": "active", "repository": "ing-bank/probatus"}
{"mined_at": "2024-07-15T14:36:50.609770", "created_at": "2020-11-11T15:25:19+01:00", "updated_at": "2022-01-09T23:04:57+01:00", "name": "Development", "path": ".github/workflows/unit_tests.yml", "contents": "name: Development\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - main\n  pull_request:\njobs:\n  run:\n    name: Run unit tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        build: [macos, ubuntu, windows]\n        include:\n          - build: macos\n            os: macos-latest\n          - build: ubuntu\n            os: ubuntu-latest\n          - build: windows\n            os: windows-latest\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@master\n\n    - name: Get latest CMake and Ninja\n      uses: lukka/get-cmake@latest\n      with:\n        cmakeVersion: latest\n        ninjaVersion: latest\n\n    - name: Setup Python\n      uses: actions/setup-python@master\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Python dependencies\n      run: |\n        pip3 install --upgrade setuptools pip\n        pip3 install \".[all]\"\n\n    - name: Run linters\n      run: |\n        pre-commit install\n        pre-commit run --all-files\n\n    - name: Run (unit) tests\n      env:\n        TEST_NOTEBOOKS: 0\n      run: |\n        pytest --cov=probatus/binning --cov=probatus/metric_volatility --cov=probatus/missing_values --cov=probatus/sample_similarity --cov=probatus/stat_tests --cov=probatus/utils --cov=probatus/interpret/ --ignore==tests/interpret/test_inspector.py --cov-report=xml\n        pyflakes probatus\n\n    - name: Upload coverage to Codecov\n      if: github.ref == 'refs/heads/main'\n      uses: codecov/codecov-action@v1\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n        flags: unittests\n        fail_ci_if_error: false\n", "state": "active", "repository": "ing-bank/probatus"}
{"mined_at": "2024-07-15T14:36:51.611706", "created_at": "2022-04-11T13:35:22+02:00", "updated_at": "2022-04-11T13:35:22+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ing-bank/probatus"}
{"mined_at": "2024-07-15T14:36:54.943241", "created_at": "2021-08-09T16:53:03+02:00", "updated_at": "2021-08-10T16:42:31+02:00", "name": "cla-check", "path": ".github/workflows/cla-check.yaml", "contents": "name: cla-check\non:\n  pull_request:\n  merge_group:\n\njobs:\n  cla-check:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Check if CLA signed\n        uses: canonical/has-signed-canonical-cla@v1\n        # This prevents the action from running on a merge group, where it fails.\n        if: ${{ github.event_name != 'merge_group' }}\n      - name: No-Op  # This exists so the job succeeds if the above step doesn't run.\n        run: 'true'\n        if: ${{ github.event_name == 'merge_group' }}\n", "state": "active", "repository": "canonical/charmcraft"}
{"mined_at": "2024-07-15T14:36:56.005298", "created_at": "2020-10-01T16:06:58+02:00", "updated_at": "2020-10-01T16:06:58+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\nname: \"CodeQL\"\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches:\n      - main\n      - hotfix/*\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    # - run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "canonical/charmcraft"}
{"mined_at": "2024-07-15T14:36:56.987324", "created_at": "2024-06-28T23:52:30+02:00", "updated_at": "2024-06-28T23:52:30+02:00", "name": "Publish", "path": ".github/workflows/publish-pypi.yaml", "contents": null, "state": "active", "repository": "canonical/charmcraft"}
{"mined_at": "2024-07-15T14:36:58.085142", "created_at": "2022-10-06T02:29:38+02:00", "updated_at": "2024-04-14T02:24:03+02:00", "name": "Weekly Spread", "path": ".github/workflows/spread-large.yaml", "contents": "name: Weekly Spread\non:\n  schedule:\n    # At 00:00 on Wednesday and Sunday.\n    - cron: \"0 0 * * WED,SUN\"\n\n  workflow_dispatch:\n\n# Only ever run one of this test at a time.\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  snap-build:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Build snap\n        uses: snapcore/action-build@v1\n        id: charmcraft\n      - name: Upload snap artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: snap\n          path: ${{ steps.charmcraft.outputs.snap }}\n\n  pack-charm:\n    runs-on: spread-installed\n    needs: [snap-build]\n    strategy:\n      fail-fast: false\n      # Each of these tasks can spin up several machines in spread.\n      max-parallel: 2\n      matrix:\n        task:\n          - charms/k8s-operator\n          - charms/operator\n          - charms/bundle\n          - charms/reactive\n          - smoketests/parallel-build\n          - smoketests/remote-build\n\n    steps:\n      - name: Cleanup job workspace\n        run: |\n          rm -rf \"${{ github.workspace }}\"\n          mkdir \"${{ github.workspace }}\"\n      - name: Checkout charmcraft\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n      - name: Download snap artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: snap\n      - name: Spread k8s operator\n        env:\n          LAUNCHPAD_TOKEN: ${{ secrets.LAUNCHPAD_TOKEN }}\n        run: |\n          spread google:tests/spread/${{ matrix.task }}\n      - name: Clean up jobs\n        if: ${{ always() }}\n        run: |\n          spread -discard\n          shopt -s nullglob\n          for r in .spread-reuse.*.yaml; do\n            spread -discard -reuse-pid=\"$(echo \"$r\" | grep -o -E '[0-9]+')\"\n          done\n", "state": "active", "repository": "canonical/charmcraft"}
{"mined_at": "2024-07-15T14:36:59.315702", "created_at": "2022-09-15T21:48:33+02:00", "updated_at": "2022-09-15T23:13:24+02:00", "name": "Spread", "path": ".github/workflows/spread.yaml", "contents": "name: Spread\non:\n  pull_request:\n  merge_group:\n  push:\n    branches:\n      - main\n  schedule:\n    - cron: \"0 0 */2 * *\"\n\njobs:\n  snap-build:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Build snap\n        uses: snapcore/action-build@v1\n        id: charmcraft\n      - name: Upload snap artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: snap\n          path: ${{ steps.charmcraft.outputs.snap }}\n\n  snap-tests:\n    runs-on: spread-installed\n    needs: [snap-build]\n    strategy:\n      fail-fast: false\n      matrix:\n        spread:\n          - \"google:\"\n\n    steps:\n      - name: Cleanup job workspace\n        run: |\n          rm -rf \"${{ github.workspace }}\"\n          mkdir \"${{ github.workspace }}\"\n\n      - name: Checkout charmcraft\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - name: Download snap artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: snap\n\n      - name: Run spread\n        run: |\n          spread ${{ matrix.spread }}\n\n      - name: Discard spread workers\n        if: always()\n        run: |\n          shopt -s nullglob\n          for r in .spread-reuse.*.yaml; do\n            spread -discard -reuse-pid=\"$(echo \"$r\" | grep -o -E '[0-9]+')\"\n          done\n\n  snap-store-tests:\n    runs-on: spread-installed\n    needs: [snap-build]\n\n    steps:\n      - if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login == 'canonical') || (github.event_name == 'push' && github.ref == 'refs/heads/main')\n        name: Checkout charmcraft\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login == 'canonical') || (github.event_name == 'push' && github.ref == 'refs/heads/main')\n        name: Download snap artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: snap\n\n      - if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login == 'canonical') || (github.event_name == 'push' && github.ref == 'refs/heads/main')\n        name: Run spread\n        env:\n          CHARMCRAFT_AUTH: ${{ secrets.CHARMCRAFT_AUTH }}\n          CHARM_DEFAULT_NAME: gh-ci-charmcraft-charm\n          BUNDLE_DEFAULT_NAME: gh-ci-charmcraft-bundle\n        run: |\n          spread google:ubuntu-22.04-64:tests/spread/store/\n", "state": "active", "repository": "canonical/charmcraft"}
{"mined_at": "2024-07-15T14:37:00.482471", "created_at": "2021-04-13T17:48:50+02:00", "updated_at": "2022-10-18T20:37:49+02:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - main\n      - \"feature/**\"\n\n  pull_request:\n  merge_group:\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Begin snap installs\n        run: |\n          echo \"Installing snaps in the background while running apt and pip...\"\n          sudo snap install --no-wait shellcheck ruff\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n          cache: 'pip'\n      - name: Configure environment\n        run: |\n          echo \"::group::pip install\"\n          python -m pip install tox\n          echo \"::endgroup::\"\n          echo \"::group::Create virtual environments for linting processes.\"\n          tox run -m lint --notest\n          echo \"::endgroup::\"\n          echo \"::group::Wait for snap to complete\"\n          snap watch --last=install\n          echo \"::endgroup::\"\n      - name: Run Linters\n        run: tox run --skip-pkg-install --no-list-dependencies -m lint\n  run-tests:\n    strategy:\n      matrix:\n        os: [ubuntu-22.04, macos-12, macos-13, windows-2019, windows-2022]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: |\n            3.10\n            3.12\n          cache: \"pip\"\n      - name: Install Ubuntu-specific dependencies\n        if: ${{ startsWith(matrix.os, 'ubuntu') }}\n        run: |\n          sudo apt update\n          sudo apt install -y python3-pip python3-setuptools python3-wheel python3-venv libapt-pkg-dev\n          export $(cat /etc/os-release | grep VERSION_CODENAME)\n          pip install -U -r \"requirements-${VERSION_CODENAME}.txt\"\n      - name: Install external dependencies with homebrew\n        # This is only necessary for Linux until skopeo >= 1.11 is in repos.\n        # Once we're running on Noble, we can get skopeo from apt.\n        if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }}\n        run: |\n          if [[ $(uname --kernel-name) == \"Linux\" ]]; then\n            eval \"$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\"\n          fi\n          brew install skopeo\n      - name: Configure environment\n        run: |\n          python -m pip install tox\n          tox run --colored yes -m tests --notest\n      - name: Run tests\n        shell: bash\n        run: |\n          if [[ $(uname --kernel-name) == \"Linux\" ]]; then\n            # Ensure the version of skopeo comes from homebrew\n            # This is only necessary until we move to noble.\n            eval \"$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\"\n            # Allow skopeo to access the contents of /run/containers\n            sudo chmod 777 /run/containers\n            # Add an xdg runtime dir for skopeo to look into for an auth.json file\n            sudo mkdir -p /run/user/$(id -u)\n            sudo chown $USER /run/user/$(id -u)\n            export XDG_RUNTIME_DIR=/run/user/$(id -u)\n          fi\n          tox run --skip-pkg-install --no-list-dependencies --result-json results/tox-${{ matrix.platform }}.json --colored yes -m tests\n\n  snap-build:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Build snap\n        uses: snapcore/action-build@v1\n        id: snapcraft\n      - name: Upload snap artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: snap\n          path: ${{ steps.snapcraft.outputs.snap }}\n      - name: Get branch name\n        id: vars\n        run: |\n          if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]\n          then\n            echo \"branch=pr-${{ github.event.number }}\" >> \"$GITHUB_OUTPUT\"\n          else\n            branch=$(echo ${GITHUB_REF#refs/*/} | sed -e 's|feature/\\(.*\\)|\\1|')\n            echo \"branch=$branch\" >> \"$GITHUB_OUTPUT\"\n          fi\n      - name: Publish feature branch to edge/${{ steps.vars.outputs.branch }}\n        if: ${{ env.SNAPCRAFT_STORE_CREDENTIALS != '' }}\n        uses: snapcore/action-publish@v1\n        env:\n          SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}\n        with:\n          snap: ${{ steps.snapcraft.outputs.snap }}\n          release: edge/${{ steps.vars.outputs.branch }}\n\n  # Commented out until we can provide the necessary launchpad credentials.\n  #  snap-remote-build:\n  #    runs-on: ubuntu-latest\n  #    steps:\n  #      - name: Start installing snapcraft\n  #        run: echo SNAP_JOB=$(sudo snap install --classic --no-wait snapcraft) >> $GITHUB_OUTPUT\n  #        id: install\n  #      - name: Checkout code\n  #        uses: actions/checkout@v3\n  #        with:\n  #          fetch-depth: 0\n  #      - name: Remote-build snap\n  #        id: snapcraft\n  #        run: |\n  #          sudo snap watch ${{ steps.install.outputs.SNAP_JOB }}\n  #          snapcraft remote-build --launchpad-accept-public-upload\n  #      - name: Upload snap artifacts\n  #        uses: actions/upload-artifact@v4\n  #        with:\n  #          name: snap\n  #          path: ./*.snap\n\n  snap-tests:\n    needs: [snap-build]\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Download snap artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: snap\n          path: snap-artifacts\n      - name: Install snap\n        run: |\n          sudo snap install --classic --dangerous snap-artifacts/*.snap\n          rm -rf snap-artifacts\n      - name: Install test dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y python3-pip python3-setuptools python3-wheel python3-distutils\n          sudo snap install charm --classic\n      - name: Refresh LXD dependency on 20.04\n        if: ${{ matrix.os == 'ubuntu-20.04' }}\n        run: |\n          sudo snap refresh lxd || echo \"Cannot refresh LXD dependency, using $(lxd --version)\"\n          snap list lxd\n      - name: Configured LXD\n        run: |\n          sudo groupadd --force --system lxd\n          sudo usermod --append --groups lxd $USER\n          sudo snap start lxd\n          sudo lxd waitready --timeout=30\n          sudo lxd init --auto\n      - name: Validate snap configuration\n        run: |\n          sudo snap set charmcraft provider=lxd\n          sudo snap set charmcraft provider=multipass\n          if sudo snap set charmcraft provider=invalid; then\n            echo \"configure script failure\"\n            exit 1\n          fi\n          sudo snap set charmcraft provider=lxd\n\n  windows-build:\n    runs-on: windows-2019\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          pip install -U pyinstaller -r requirements.txt\n          pip install .\n      - name: Build\n        run: |\n          pyinstaller charmcraft.spec\n      - name: Upload unsigned exe\n        uses: actions/upload-artifact@v4\n        with:\n          name: windows-exe\n          path: dist\\charmcraft.exe\n      - name: Smoke test executable\n        run: |\n          mkdir my-charm\n          cd my-charm\n          ..\\dist\\charmcraft.exe version\n          ..\\dist\\charmcraft.exe init --author \"Charmcraft Team\"\n          ..\\dist\\charmcraft.exe clean\n      - name: Update Installer Version\n        run: |\n          python -m tools.version set-charmcraft-iss\n      - name: Build installer(s)\n        env:\n          INNOCC: C:\\Program Files (x86)\\Inno Setup 6\\iscc.exe\n          MAKEAPPX: C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe\n          SIGNTOOL: C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\signtool.exe\n          TIMESTAMP_SERVICE: http://timestamp.digicert.com\n        run: |\n          windows\\generate-self-signed-cert.ps1\n\n          & $Env:SIGNTOOL sign /fd SHA256 /td SHA256 /tr $Env:TIMESTAMP_SERVICE /f test-signing.pfx /p Password1234 dist\\charmcraft.exe\n          & $Env:INNOCC windows\\charmcraft.iss\n          copy dist\\charmcraft-installer.exe dist\\charmcraft-installer-self-signed.exe\n          echo \"Test signing charmcraft inno installer...\"\n          & $Env:SIGNTOOL sign /fd SHA256 /td SHA256 /tr $Env:TIMESTAMP_SERVICE /f test-signing.pfx /p Password1234 dist\\charmcraft-installer-self-signed.exe\n\n          echo \"Building charmcraft msix installer...\"\n          mkdir dist\\msix\n          copy dist\\charmcraft.exe dist\\msix\\\n          copy windows\\charmcraft.png dist\\msix\\\n          copy windows\\AppxManifest.xml dist\\msix\\\n          & $Env:MAKEAPPX pack /h SHA256 /d dist\\msix /p dist\\charmcraft-installer.msix\n\n          echo \"Test signing charmcraft msix installer...\"\n          & $Env:SIGNTOOL sign /fd SHA256 /td SHA256 /tr $Env:TIMESTAMP_SERVICE /f test-signing.pfx /p Password1234 dist\\charmcraft-installer.msix\n      - name: Upload installer(s)\n        uses: actions/upload-artifact@v4\n        with:\n          name: installers\n          path: |\n            dist\\charmcraft-installer-self-signed.exe\n            dist\\charmcraft-installer.msix\n", "state": "active", "repository": "canonical/charmcraft"}
{"mined_at": "2024-07-15T14:37:02.590534", "created_at": "2023-06-13T14:41:31+02:00", "updated_at": "2023-06-13T15:41:18+02:00", "name": "API-server", "path": ".github/workflows/api_server.yml", "contents": "name: API-server\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4.1.7\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: |\n        cd components/api_server\n        ci/pip-install.sh\n    - name: Test\n      run: |\n        cd components/api_server\n        ci/unittest.sh\n    - name: Quality\n      run: |\n        cd components/api_server\n        ci/quality.sh\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:03.716981", "created_at": "2024-06-14T17:30:54+02:00", "updated_at": "2024-06-18T11:44:21+02:00", "name": "Application tests quality", "path": ".github/workflows/application-tests-quality.yml", "contents": "name: Application tests quality\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4.1.7\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: |\n        cd tests/application_tests\n        ci/pip-install.sh\n    - name: Quality\n      run: |\n        cd tests/application_tests\n        ci/quality.sh\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:04.821539", "created_at": "2021-12-30T23:02:40+01:00", "updated_at": "2021-12-31T00:08:26+01:00", "name": "Application tests", "path": ".github/workflows/application-tests.yml", "contents": "name: Application tests\n\non: [push]\n\njobs:\n\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n      - name: Run application tests\n        env:\n          QUALITY_TIME_VERSION: v5.14.0-rc.1\n          ENV: ci\n          PROXY_PORT: 8080\n        run: |\n          mkdir -p build\n          docker compose --file docker/docker-compose.yml --file docker/docker-compose.ci.yml --project-name quality-time up --build --detach --wait\n          docker run -t -w `pwd` -v `pwd`:`pwd` --network=container:quality-time-www-1 python:3.12.4-bookworm tests/application_tests/ci/test.sh\n      - name: Save container logs\n        if: always()\n        run: |\n          docker compose logs > build/containers.log\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: build-artifacts\n          path: build\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:06.074079", "created_at": "2020-12-09T09:20:34+01:00", "updated_at": "2023-03-06T10:26:34+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '31 2 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4.1.7\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:07.199034", "created_at": "2019-12-19T17:44:56+01:00", "updated_at": "2019-12-19T17:44:56+01:00", "name": "Collector", "path": ".github/workflows/collector.yml", "contents": "name: Collector\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4.1.7\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: |\n        cd components/collector\n        ci/pip-install.sh\n    - name: Test\n      run: |\n        cd components/collector\n        ci/unittest.sh\n    - name: Quality\n      run: |\n        cd components/collector\n        ci/quality.sh\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:08.326409", "created_at": "2021-06-17T20:16:51+02:00", "updated_at": "2021-06-25T14:46:46+02:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "name: Documentation\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4.1.7\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: |\n        cd docs\n        ci/pip-install.sh\n        npm install --ignore-scripts\n    - name: Test\n      run: |\n        cd docs\n        ci/unittest.sh\n    - name: Quality\n      run: |\n        cd docs\n        ci/quality.sh\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:09.313639", "created_at": "2022-04-29T11:24:15+02:00", "updated_at": "2023-09-04T14:44:31+02:00", "name": "External server", "path": ".github/workflows/external_server.yml", "contents": null, "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:10.455831", "created_at": "2022-11-25T13:45:29+01:00", "updated_at": "2022-11-25T15:17:33+01:00", "name": "Feature tests quality", "path": ".github/workflows/feature-tests-quality.yml", "contents": "name: Feature tests quality\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4.1.7\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: |\n        cd tests/feature_tests\n        ci/pip-install.sh\n    - name: Quality\n      run: |\n        cd tests/feature_tests\n        ci/quality.sh\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:11.509225", "created_at": "2021-12-29T17:22:03+01:00", "updated_at": "2021-12-30T22:57:56+01:00", "name": "Feature tests", "path": ".github/workflows/feature-tests.yml", "contents": "name: Feature tests\n\non: [push]\n\njobs:\n\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - name: Run feature tests\n        run: ./tests/feature_tests/ci/test.sh\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: build-artifacts\n          path: build\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:12.622206", "created_at": "2019-12-19T17:44:57+01:00", "updated_at": "2019-12-19T17:44:57+01:00", "name": "Frontend", "path": ".github/workflows/frontend.yml", "contents": "name: Frontend\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [20.x]\n\n    steps:\n    - uses: actions/checkout@v4.1.7\n    - name: Use Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v4.0.2\n      with:\n        node-version: ${{ matrix.node-version }}\n    - name: npm install, build, and test\n      run: |\n        cd components/frontend\n        npm ci\n        npm run --ignore-scripts build --if-present\n        ci/unittest.sh\n        ci/quality.sh\n      env:\n        CI: true\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:13.625125", "created_at": "2022-07-22T21:28:23+02:00", "updated_at": "2022-07-25T15:43:18+02:00", "name": "Hadolint", "path": ".github/workflows/hadolint.yml", "contents": "name: Hadolint\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        include:\n          - component: api_server\n          - component: collector\n          - component: database\n          - component: frontend\n          - component: notifier\n          - component: proxy\n          - component: renderer\n          - component: testdata\n\n    steps:\n    - uses: actions/checkout@v4.1.7\n    - name: Hadolint ${{ matrix.component }}\n      uses: hadolint/hadolint-action@v3.1.0\n      with:\n        dockerfile: components/${{ matrix.component }}/Dockerfile\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:14.638985", "created_at": "2022-04-29T11:24:15+02:00", "updated_at": "2023-09-04T14:44:31+02:00", "name": "Internal server", "path": ".github/workflows/internal_server.yml", "contents": null, "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:15.799611", "created_at": "2020-10-11T22:26:41+02:00", "updated_at": "2020-10-11T22:26:41+02:00", "name": "Notifier", "path": ".github/workflows/notifier.yml", "contents": "name: Notifier\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4.1.7\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: |\n        cd components/notifier\n        ci/pip-install.sh\n    - name: Test\n      run: |\n        cd components/notifier\n        ci/unittest.sh\n    - name: Quality\n      run: |\n        cd components/notifier\n        ci/quality.sh\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:16.935588", "created_at": "2024-06-13T23:23:49+02:00", "updated_at": "2024-06-18T11:44:21+02:00", "name": "Release script quality", "path": ".github/workflows/release-quality.yml", "contents": "name: Release script quality\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4.1.7\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: |\n        cd release\n        ci/pip-install.sh\n    - name: Quality\n      run: |\n        cd release\n        ci/quality.sh\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:18.412253", "created_at": "2020-11-11T19:40:36+01:00", "updated_at": "2020-11-27T17:37:25+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  push_to_registry:\n    name: Push Docker images to Docker Hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.7\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Push Database to Docker Hub\n        uses: docker/build-push-action@v6.1.0\n        with:\n          context: components/database\n          platforms: linux/amd64,linux/arm64\n          tags: ictu/quality-time_database:${{ github.ref_name }}\n          push: true\n      - name: Push Renderer to Docker Hub\n        uses: docker/build-push-action@v6.1.0\n        with:\n          context: components/renderer\n          platforms: linux/amd64,linux/arm64\n          tags: ictu/quality-time_renderer:${{ github.ref_name }}\n          push: true\n      - name: Push Proxy to Docker Hub\n        uses: docker/build-push-action@v6.1.0\n        with:\n          context: components/proxy\n          platforms: linux/amd64,linux/arm64\n          tags: ictu/quality-time_proxy:${{ github.ref_name }}\n          push: true\n      - name: Push Collector to Docker Hub\n        uses: docker/build-push-action@v6.1.0\n        with:\n          context: components\n          file: components/collector/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          tags: ictu/quality-time_collector:${{ github.ref_name }}\n          push: true\n      - name: Push Notifier to Docker Hub\n        uses: docker/build-push-action@v6.1.0\n        with:\n          context: components\n          file: components/notifier/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          tags: ictu/quality-time_notifier:${{ github.ref_name }}\n          push: true\n      - name: Push API-server to Docker Hub\n        uses: docker/build-push-action@v6.1.0\n        with:\n          context: components\n          file: components/api_server/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          tags: ictu/quality-time_api_server:${{ github.ref_name }}\n          push: true\n      - name: Push Frontend to Docker Hub\n        uses: docker/build-push-action@v6.1.0\n        with:\n          context: components/frontend\n          platforms: linux/amd64,linux/arm64\n          tags: ictu/quality-time_frontend:${{ github.ref_name }}\n          push: true\n      - name: Anchore SBOM Action\n        uses: anchore/sbom-action@v0.16.0\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:19.442953", "created_at": "2023-06-13T14:41:31+02:00", "updated_at": "2023-06-13T15:41:18+02:00", "name": "Shared Code", "path": ".github/workflows/shared_code.yml", "contents": "name: Shared Code\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4.1.7\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: |\n        cd components/shared_code\n        ci/pip-install.sh\n    - name: Test\n      run: |\n        cd components/shared_code\n        ci/unittest.sh\n    - name: Quality\n      run: |\n        cd components/shared_code\n        ci/quality.sh\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:20.475955", "created_at": "2022-07-17T17:21:02+02:00", "updated_at": "2023-09-04T14:44:31+02:00", "name": "Shared data model", "path": ".github/workflows/shared_data_model.yml", "contents": null, "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:21.498539", "created_at": "2022-02-18T17:11:22+01:00", "updated_at": "2023-09-04T14:44:31+02:00", "name": "Shared Server Code", "path": ".github/workflows/shared_python.yml", "contents": null, "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:22.568301", "created_at": "2020-11-10T17:43:35+01:00", "updated_at": "2022-05-23T18:07:18+02:00", "name": "SonarCloud", "path": ".github/workflows/sonarcloud.yml", "contents": "name: SonarCloud\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  sonarcloud:\n    runs-on: ubuntu-latest\n    env:\n      SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n    steps:\n    - uses: actions/checkout@v4.1.7\n      if: env.SONAR_TOKEN != null\n      with:\n        fetch-depth: 0  # Disabling shallow clone is recommended for improving relevancy of reporting\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      if: env.SONAR_TOKEN != null\n      with:\n        python-version: '3.12'\n    - name: Set up Node\n      uses: actions/setup-node@v4.0.2\n      if: env.SONAR_TOKEN != null\n      with:\n        node-version: '20'\n    - name: Collector\n      if: env.SONAR_TOKEN != null\n      working-directory: components/collector\n      run: |\n        python -m venv venv\n        . venv/bin/activate\n        ci/pip-install.sh\n        ci/unittest.sh\n        export PYTHONPATH=`python -c 'import sys;print(\":\".join(sys.argv[1:]))' src $PYTHONPATH`\n        python -m xmlrunner --output-file build/unittests.xml\n    - name: Notifier\n      if: env.SONAR_TOKEN != null\n      working-directory: components/notifier\n      run: |\n        python -m venv venv\n        . venv/bin/activate\n        ci/pip-install.sh\n        ci/unittest.sh\n        export PYTHONPATH=`python -c 'import sys;print(\":\".join(sys.argv[1:]))' src $PYTHONPATH`\n        python -m xmlrunner --output-file build/unittests.xml\n    - name: API-server\n      if: env.SONAR_TOKEN != null\n      working-directory: components/api_server\n      run: |\n        python -m venv venv\n        . venv/bin/activate\n        ci/pip-install.sh\n        ci/unittest.sh\n        export PYTHONPATH=`python -c 'import sys;print(\":\".join(sys.argv[1:]))' src $PYTHONPATH`\n        python -m xmlrunner --output-file build/unittests.xml\n    - name: Shared Code\n      if: env.SONAR_TOKEN != null\n      working-directory: components/shared_code\n      run: |\n        python -m venv venv\n        . venv/bin/activate\n        ci/pip-install.sh\n        ci/unittest.sh\n        export PYTHONPATH=`python -c 'import sys;print(\":\".join(sys.argv[1:]))' src $PYTHONPATH`\n        python -m xmlrunner --output-file build/unittests.xml\n    - name: Frontend\n      if: env.SONAR_TOKEN != null\n      working-directory: components/frontend\n      run: |\n        npm install --ignore-scripts\n        npm run --ignore-scripts build --if-present\n        npm test -- --coverage\n      env:\n        CI: true\n    - name: Create packages\n      if: env.SONAR_TOKEN != null\n      run: |\n        touch components/__init__.py\n        touch components/api_server/__init__.py\n        touch components/api_server/src/__init__.py\n        touch components/collector/__init__.py\n        touch components/collector/src/__init__.py\n        touch components/notifier/__init__.py\n        touch components/notifier/src/__init__.py\n        touch components/shared_code/__init__.py\n        touch components/shared_code/src/__init__.py\n    - name: Fix code coverage paths  # Needed because the Sonar scanner runs in a container with different file paths\n      if: env.SONAR_TOKEN != null\n      run: |\n        sed -i 's/\\/home\\/runner\\/work\\/quality-time\\/quality-time\\//\\/github\\/workspace\\//g' components/collector/build/unittest-coverage.xml\n        sed -i 's/\\/home\\/runner\\/work\\/quality-time\\/quality-time\\//\\/github\\/workspace\\//g' components/notifier/build/unittest-coverage.xml\n        sed -i 's/\\/home\\/runner\\/work\\/quality-time\\/quality-time\\//\\/github\\/workspace\\//g' components/api_server/build/unittest-coverage.xml\n        sed -i 's/\\/home\\/runner\\/work\\/quality-time\\/quality-time\\//\\/github\\/workspace\\//g' components/shared_code/build/unittest-coverage.xml\n    - name: Sonarcloud scan\n      if: env.SONAR_TOKEN != null\n      uses: sonarsource/sonarcloud-github-action@master\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:23.620136", "created_at": "2022-04-22T19:36:35+02:00", "updated_at": "2022-04-23T19:03:30+02:00", "name": "Trivy", "path": ".github/workflows/trivy.yml", "contents": "name: Trivy\non:\n  push:\n    branches:\n      - master\n  pull_request:\njobs:\n  build:\n    name: Trivy component analysis\n    runs-on: ubuntu-latest\n    permissions:\n      security-events: write\n    strategy:\n      matrix:\n        include:\n          - component: api_server\n            build_path: components\n            docker_file: api_server/Dockerfile\n          - component: collector\n            build_path: components\n            docker_file: collector/Dockerfile\n          - component: database\n            build_path: components/database\n            docker_file: Dockerfile\n          - component: frontend\n            build_path: components/frontend\n            docker_file: Dockerfile\n          - component: notifier\n            build_path: components\n            docker_file: notifier/Dockerfile\n          - component: proxy\n            build_path: components/proxy\n            docker_file: Dockerfile\n          - component: renderer\n            build_path: components/renderer\n            docker_file: Dockerfile\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.7\n\n      - name: Build image from Dockerfile\n        run: |\n          cd ${{ matrix.build_path }}\n          docker build -f ${{ matrix.docker_file }} -t docker.io/ictu/quality-time_${{ matrix.component }} .\n\n      - name: Run Trivy vulnerability scanner\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: 'docker.io/ictu/quality-time_${{ matrix.component }}'\n          ignore-unfixed: true\n          format: 'sarif'\n          output: 'trivy-${{ matrix.component }}.sarif'\n\n      - name: Upload Trivy scan results to GitHub Security tab\n        if: ${{ github.ref == 'refs/heads/master' }}\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: 'trivy-${{ matrix.component }}.sarif'\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: 'trivy-${{ matrix.component }}.sarif'\n          path: '*.sarif'\n", "state": "active", "repository": "ictu/quality-time"}
{"mined_at": "2024-07-15T14:37:25.735237", "created_at": "2020-03-21T16:24:17+01:00", "updated_at": "2020-03-21T16:24:17+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  # Trigger analysis when pushing in master or pull requests, and when creating\n  # a pull request.\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.11', '3.12']\n        pandas-version: ['<2','>=2']\n        # Pandas<2 is not supported on Python 3.12\n        exclude:\n          - python-version: '3.12'\n            pandas-version: '<2'\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        # Disabling shallow clone is recommended for improving relevancy of sonar reporting\n        fetch-depth: 0\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install system dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install freetds-dev libsasl2-dev libpq-dev\n        pip install -U poetry virtualenv setuptools packaging\n        poetry config virtualenvs.create false\n\n    - name: Install oracle dependencies\n      run: sudo bash toucan_connectors/install_scripts/oracle.sh\n\n    - name: Install databricks dependencies\n      run: sudo bash toucan_connectors/install_scripts/databricks.sh\n\n    - name: Install mssql dependencies\n      run: sudo bash toucan_connectors/install_scripts/mssql.sh\n\n    - name: Install mssql_TLSv1_0 dependencies\n      run: sudo bash toucan_connectors/install_scripts/mssql_TLSv1_0.sh\n\n    - name: Install odbc dependencies\n      run: sudo bash toucan_connectors/install_scripts/odbc.sh\n\n    - name: Install\n      run: make install\n\n    - name: Install pandas ${{ matrix.pandas-version }}\n      run: pip install \"pandas${{ matrix.pandas-version }}\"\n\n    - name: Lint\n      run: make lint\n\n    - name: Cache docker images\n      id: cache-docker-images\n      uses: actions/cache@v4\n      with:\n        path: /var/lib/docker/overlay2\n        key: ${{ runner.os }}-docker-images\n\n    - name: Pulling all docker images\n      run: docker-compose -f tests/docker-compose.yml pull\n\n    - name: test\n      run: make test\n      env:\n        BEARER_API_KEY: ${{ secrets.BEARER_API_KEY }}\n        BEARER_AIRCALL_AUTH_ID: ${{ secrets.BEARER_AIRCALL_AUTH_ID }}\n\n    - name: SonarCloud Scan\n      # Only executed for one of the tested python version and pandas version\n      if: ${{ always() && matrix['python-version'] == 3.11 && matrix['pandas-version'] == '<2' }}\n      uses: sonarsource/sonarcloud-github-action@master\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "toucantoco/toucan-connectors"}
{"mined_at": "2024-07-15T14:37:26.961796", "created_at": "2022-09-22T16:10:20+02:00", "updated_at": "2022-09-22T16:10:20+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  release:\n    types:\n      - released\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: install poetry\n        run: |\n          pip install -U pip\n          pip install -U poetry\n      - name: publish\n        env:\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          poetry config pypi-token.pypi $PYPI_TOKEN\n          poetry publish --build\n", "state": "active", "repository": "toucantoco/toucan-connectors"}
{"mined_at": "2024-07-15T14:37:30.340780", "created_at": "2024-05-03T19:31:37+02:00", "updated_at": "2024-05-03T19:31:37+02:00", "name": "Build and Deploy Docs", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Build and Deploy Docs\n\non:\n  release:\n    types: [published]\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\njobs:\n  deploy-docs:\n    uses: CitrineInformatics/common-gh-actions/.github/workflows/deploy-docs.yml@v1\n", "state": "active", "repository": "citrineinformatics/citrine-python"}
{"mined_at": "2024-07-15T14:37:31.467178", "created_at": "2024-01-12T21:45:32+01:00", "updated_at": "2024-01-30T20:08:14+01:00", "name": "Deploy to PyPI", "path": ".github/workflows/deploy.yml", "contents": "# Cannot use a shared workflow to deploy to PyPI currently: https://github.com/pypi/warehouse/issues/11096\n\nname: Deploy to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    name: Publish package to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Build\n        run: python setup.py sdist bdist_wheel\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "citrineinformatics/citrine-python"}
{"mined_at": "2024-07-15T14:37:32.501320", "created_at": "2024-01-30T23:00:13+01:00", "updated_at": "2024-04-30T21:11:05+02:00", "name": "PR Checks", "path": ".github/workflows/pr-checks.yml", "contents": "name: PR Checks\n\non:\n  pull_request:\n    branches:\n      - main\n      - 'release/**'\n\njobs:\n  pr-checks:\n    uses: CitrineInformatics/common-gh-actions/.github/workflows/repo-checks.yml@v1\n    with:\n      src: src/citrine\n", "state": "active", "repository": "citrineinformatics/citrine-python"}
{"mined_at": "2024-07-15T14:37:33.695381", "created_at": "2024-01-12T18:48:52+01:00", "updated_at": "2024-04-30T21:11:05+02:00", "name": "PR Tests", "path": ".github/workflows/pr-tests.yml", "contents": "name: PR Tests\n\non:\n  pull_request:\n    branches:\n      - main\n      - 'release/**'\n\njobs:\n  pr-tests:\n    uses: CitrineInformatics/common-gh-actions/.github/workflows/run-tests.yml@v1\n    with:\n      src: src/citrine\n", "state": "active", "repository": "citrineinformatics/citrine-python"}
{"mined_at": "2024-07-15T14:37:34.810914", "created_at": "2023-03-17T01:26:03+01:00", "updated_at": "2023-03-17T01:26:03+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "citrineinformatics/citrine-python"}
{"mined_at": "2024-07-15T14:37:35.974490", "created_at": "2022-01-08T01:36:37+01:00", "updated_at": "2022-01-08T01:36:37+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "citrineinformatics/citrine-python"}
{"mined_at": "2024-07-15T14:37:38.228735", "created_at": "2022-01-18T07:06:27+01:00", "updated_at": "2022-02-07T08:47:42+01:00", "name": "Tests of push & pull", "path": ".github/workflows/test_of_push_and_pull.yml", "contents": "name: \"Tests of push & pull\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\nenv:\n  FILENAME: README.md\n\njobs:\n  tests:\n    name: 'Validate README.md changes'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n\n      - name: Install dependencies\n        run: python -m pip install -r scripts/requirements.txt\n\n      - name: Validate Markdown format\n        run: python scripts/validate/format.py ${FILENAME}\n\n      - name: Validate pull request changes\n        run: scripts/github_pull_request.sh ${{ github.repository }} ${{ github.event.pull_request.number }} ${FILENAME}\n        if: github.event_name == 'pull_request'\n\n      - name: Checking if push changes are duplicated\n        run: python scripts/validate/links.py ${FILENAME} --only_duplicate_links_checker\n        if: github.event_name == 'push'\n", "state": "active", "repository": "public-apis/public-apis"}
{"mined_at": "2024-07-15T14:37:39.357156", "created_at": "2022-01-18T07:06:27+01:00", "updated_at": "2022-02-07T08:47:42+01:00", "name": "Tests of validate package", "path": ".github/workflows/test_of_validate_package.yml", "contents": "name: \"Tests of validate package\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  unittest:\n    name: 'Run tests of validate package'\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n    \n    - name: Install dependencies\n      run: python -m pip install -r scripts/requirements.txt\n\n    - name: Run Unittest\n      run: |\n        cd scripts\n        python -m unittest discover tests/ --verbose\n", "state": "active", "repository": "public-apis/public-apis"}
{"mined_at": "2024-07-15T14:37:40.477661", "created_at": "2020-10-13T21:57:57+02:00", "updated_at": "2020-10-13T21:57:57+02:00", "name": "Validate links", "path": ".github/workflows/validate_links.yml", "contents": "name: \"Validate links\"\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 0 * * *'\n\nenv:\n  FILENAME: README.md\n\njobs:\n  validate_links:\n    name: 'Check all links are working'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n\n      - name: Install dependencies\n        run: python -m pip install -r scripts/requirements.txt\n\n      - name: Validate all links from README.md\n        run: python scripts/validate/links.py ${FILENAME}\n", "state": "active", "repository": "public-apis/public-apis"}
{"mined_at": "2024-07-15T14:37:42.588330", "created_at": "2023-03-13T11:23:49+01:00", "updated_at": "2023-03-13T11:23:49+01:00", "name": "Update Site List", "path": ".github/workflows/update-site-list.yml", "contents": "name: Update Site List\n\n# Trigger the workflow when changes are pushed to the main branch\n# and the changes include the sherlock/resources/data.json file\non:\n  push:\n    branches:\n      - master\n    paths:\n      - sherlock/resources/data.json\n\njobs:\n  sync-json-data:\n    # Use the latest version of Ubuntu as the runner environment\n    runs-on: ubuntu-latest\n\n    steps:\n      # Check out the code at the specified pull request head commit\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          fetch-depth: 0\n\n      # Install Python 3\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n\n      # Execute the site_list.py Python script\n      - name: Execute site-list.py\n        run: python devel/site-list.py\n\n      - name: Pushes to another repository\n        uses: sdushantha/github-action-push-to-another-repository@main\n        env:\n          SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}\n          API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}\n        with:\n          source-directory: 'output'\n          destination-github-username: 'sherlock-project'\n          commit-message: 'Updated site list'\n          destination-repository-name: 'sherlockproject.xyz'\n          user-email: siddharth.dushantha@gmail.com\n          target-branch: master\n", "state": "active", "repository": "sherlock-project/sherlock"}
{"mined_at": "2024-07-15T14:37:43.621136", "created_at": "2024-05-31T23:08:58+02:00", "updated_at": "2024-06-09T08:34:23+02:00", "name": "Regression Testing", "path": ".github/workflows/regression.yml", "contents": "name: Regression Testing\n\non:\n  pull_request:\n    branches: [ master ]\n    paths:\n      - '**/*.json'\n      - '**/*.py'\n      - '**/*.ini'\n      - '**/*.toml'\n  push:\n    branches: [ master ]\n    paths:\n      - '**/*.json'\n      - '**/*.py'\n      - '**/*.ini'\n      - '**/*.toml'\n\njobs:\n  tox-matrix:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false # We want to know what version it fails on\n      matrix:\n        os: [\n          ubuntu-latest,\n          windows-latest,\n          macos-latest,\n        ]\n        python-version: [\n          '3.8',\n          '3.9',\n          '3.10',\n          '3.11',\n          '3.12',\n        ]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up environment ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install tox and related dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox\n          pip install tox-gh-actions\n      - name: Run tox\n        run: tox\n", "state": "active", "repository": "sherlock-project/sherlock"}
{"mined_at": "2024-07-15T14:37:45.645170", "created_at": "2021-02-09T19:37:12+01:00", "updated_at": "2023-12-28T18:14:00+01:00", "name": "Lock inactive closed issues", "path": ".github/workflows/lock.yaml", "contents": "name: Lock inactive closed issues\n# Lock closed issues that have not received any further activity for two weeks.\n# This does not close open issues, only humans may do that. It is easier to\n# respond to new issues with fresh examples rather than continuing discussions\n# on old issues.\n\non:\n  schedule:\n    - cron: '0 0 * * *'\npermissions:\n  issues: write\n  pull-requests: write\nconcurrency:\n  group: lock\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1\n        with:\n          issue-inactive-days: 14\n          pr-inactive-days: 14\n          discussion-inactive-days: 14\n", "state": "active", "repository": "pallets/click"}
{"mined_at": "2024-07-15T14:37:46.747294", "created_at": "2023-01-20T18:00:34+01:00", "updated_at": "2024-03-23T14:09:26+01:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "name: Publish\non:\n  push:\n    tags:\n      - '*'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    outputs:\n      hash: ${{ steps.hash.outputs.hash }}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - run: pip install -r requirements/build.txt\n      # Use the commit date instead of the current date during the build.\n      - run: echo \"SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)\" >> $GITHUB_ENV\n      - run: python -m build\n      # Generate hashes used for provenance.\n      - name: generate hash\n        id: hash\n        run: cd dist && echo \"hash=$(sha256sum * | base64 -w0)\" >> $GITHUB_OUTPUT\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          path: ./dist\n  provenance:\n    needs: [build]\n    permissions:\n      actions: read\n      id-token: write\n      contents: write\n    # Can't pin with hash due to how this workflow works.\n    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0\n    with:\n      base64-subjects: ${{ needs.build.outputs.hash }}\n  create-release:\n    # Upload the sdist, wheels, and provenance to a GitHub release. They remain\n    # available as build artifacts for a while as well.\n    needs: [provenance]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      - name: create release\n        run: >\n          gh release create --draft --repo ${{ github.repository }}\n          ${{ github.ref_name }}\n          *.intoto.jsonl/* artifact/*\n        env:\n          GH_TOKEN: ${{ github.token }}\n  publish-pypi:\n    needs: [provenance]\n    # Wait for approval before attempting to upload to PyPI. This allows reviewing the\n    # files in the draft release.\n    environment:\n      name: publish\n      url: https://pypi.org/project/click/${{ github.ref_name }}\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          packages-dir: artifact/\n      - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          packages-dir: artifact/\n", "state": "active", "repository": "pallets/click"}
{"mined_at": "2024-07-15T14:37:47.840201", "created_at": "2020-02-26T19:44:09+01:00", "updated_at": "2020-05-24T01:08:56+02:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\non:\n  push:\n    branches:\n      - main\n      - '*.x'\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\njobs:\n  tests:\n    name: ${{ matrix.name || matrix.python }}\n    runs-on: ${{ matrix.os || 'ubuntu-latest' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {python: '3.13'}\n          - {python: '3.12'}\n          - {name: Windows, python: '3.12', os: windows-latest}\n          - {name: Mac, python: '3.12', os: macos-latest}\n          - {python: '3.11'}\n          - {python: '3.10'}\n          - {python: '3.9'}\n          - {python: '3.8'}\n          - {name: PyPy, python: 'pypy-3.10', tox: pypy310}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - run: pip install tox\n      - run: tox run -e ${{ matrix.tox || format('py{0}', matrix.python) }}\n  typing:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - name: cache mypy\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: ./.mypy_cache\n          key: mypy|${{ hashFiles('pyproject.toml') }}\n      - run: pip install tox\n      - run: tox run -e typing\n", "state": "active", "repository": "pallets/click"}
{"mined_at": "2024-07-15T14:37:49.899365", "created_at": "2024-05-07T15:25:20+02:00", "updated_at": "2024-05-07T15:25:20+02:00", "name": "Post coverage comment", "path": ".github/workflows/coverage.yml", "contents": "# .github/workflows/coverage.yml\nname: Post coverage comment\n\non:\n  workflow_run:\n    workflows: [\"Test\"]\n    types:\n      - completed\n\njobs:\n  test:\n    name: Run tests & display coverage\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'\n    permissions:\n      # Gives the action the necessary permissions for publishing new\n      # comments in pull requests.\n      pull-requests: write\n      # Gives the action the necessary permissions for editing existing\n      # comments (to avoid publishing multiple comments in the same PR)\n      contents: write\n      # Gives the action the necessary permissions for looking up the\n      # workflow that launched this workflow, and download the related\n      # artifact that contains the comment to be published\n      actions: read\n    steps:\n      # DO NOT run actions/checkout here, for security reasons\n      # For details, refer to https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n      - name: Post comment\n        uses: py-cov-action/python-coverage-comment-action@v3\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}\n", "state": "active", "repository": "jazzband/django-debug-toolbar"}
{"mined_at": "2024-07-15T14:37:50.896127", "created_at": "2020-11-28T20:27:22+01:00", "updated_at": "2020-11-28T20:27:22+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n    - '*'\n\njobs:\n  build:\n    if: github.repository == 'jazzband/django-debug-toolbar'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U build hatchling twine\n\n      - name: Build package\n        run: |\n          hatchling version\n          python -m build\n          twine check dist/*\n\n      - name: Upload packages to Jazzband\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: jazzband\n          password: ${{ secrets.JAZZBAND_RELEASE_KEY }}\n          repository_url: https://jazzband.co/projects/django-debug-toolbar/upload\n", "state": "active", "repository": "jazzband/django-debug-toolbar"}
{"mined_at": "2024-07-15T14:37:52.045623", "created_at": "2020-11-28T13:08:54+01:00", "updated_at": "2021-04-23T12:28:46+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n  pull_request:\n  schedule:\n    # Run weekly on Saturday\n    - cron: '37 3 * * SAT'\n\njobs:\n  mysql:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 5\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    services:\n      mariadb:\n        image: mariadb\n        env:\n          MARIADB_ROOT_PASSWORD: debug_toolbar\n        options: >-\n          --health-cmd \"mariadb-admin ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n        - 3306:3306\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n    - name: Cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key:\n          ${{ matrix.python-version }}-v1-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/tox.ini') }}\n        restore-keys: |\n          ${{ matrix.python-version }}-v1-\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade tox tox-gh-actions\n\n    - name: Test with tox\n      run: tox\n      env:\n        DB_BACKEND: mysql\n        DB_USER: root\n        DB_PASSWORD: debug_toolbar\n        DB_HOST: 127.0.0.1\n        DB_PORT: 3306\n\n\n  postgres:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 5\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        database: [postgresql, postgis]\n        # Add psycopg3 to our matrix for modern python versions\n        include:\n            - python-version: '3.10'\n              database: psycopg3\n            - python-version: '3.11'\n              database: psycopg3\n            - python-version: '3.12'\n              database: psycopg3\n\n    services:\n      postgres:\n        image: postgis/postgis:14-3.1\n        env:\n          POSTGRES_DB: debug_toolbar\n          POSTGRES_USER: debug_toolbar\n          POSTGRES_PASSWORD: debug_toolbar\n        ports:\n        - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n    - name: Cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key:\n          ${{ matrix.python-version }}-v1-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/tox.ini') }}\n        restore-keys: |\n          ${{ matrix.python-version }}-v1-\n\n    - name: Install gdal-bin (for postgis)\n      run: |\n        sudo apt-get -qq update\n        sudo apt-get -y install gdal-bin\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade tox tox-gh-actions\n\n    - name: Test with tox\n      run: tox\n      env:\n        DB_BACKEND: ${{ matrix.database }}\n        DB_HOST: localhost\n        DB_PORT: 5432\n\n  sqlite:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 5\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n    - name: Cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key:\n          ${{ matrix.python-version }}-v1-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/tox.ini') }}\n        restore-keys: |\n          ${{ matrix.python-version }}-v1-\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade tox tox-gh-actions\n\n    - name: Test with tox\n      run: tox\n      env:\n        DB_BACKEND: sqlite3\n        DB_NAME: \":memory:\"\n\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n    - name: Cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key:\n          ${{ matrix.python-version }}-v1-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/tox.ini') }}\n        restore-keys: |\n          ${{ matrix.python-version }}-v1-\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade tox\n\n    - name: Test with tox\n      run: tox -e docs,packaging\n", "state": "active", "repository": "jazzband/django-debug-toolbar"}
{"mined_at": "2024-07-15T14:37:54.301806", "created_at": "2021-04-30T20:36:45+02:00", "updated_at": "2021-05-02T11:46:25+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    paths:\n      - '**'\n      - '!.github/**'\n      - '.github/workflows/ci.yml'\n  pull_request:\n    paths:\n      - '**'\n      - '!.github/**'\n      - '.github/workflows/ci.yml'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  ci:\n    strategy:\n      # Allows for matrix sub-jobs to fail without canceling the rest\n      fail-fast: false\n\n      # MATRIX:\n      # =======\n      # Required parameters:\n      #  os                  the os to run on\n      #  python-version      the python version to use\n      #  backend             the backend to use\n      #  env                 any additional env variables. Set to '{}' for none\n      # Optional parameters:\n      #  allowed_failure     whether the job is allowed to fail\n      #  extra_hash          extra hash str to differentiate from other caches with similar name (must always start with '-')\n      matrix:\n        # Tests [amd64]\n        #\n        # FIXME: 'cpp' tests seems to fail due to compilation errors (numpy_pythran_unit)\n        # in all python versions and test failures (builtin_float) in 3.5<\n        os: [ubuntu-20.04, windows-2019, macos-12]\n        backend: [c, cpp]\n        python-version:\n          - \"3.7\"\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          - \"3.13-dev\"\n        env: [{}]\n\n        include:\n          - python-version: \"3.13-dev\"\n            allowed_failure: true\n\n          # Ubuntu sub-jobs:\n          # ================\n          # GCC 11 (with broad language standards)\n          - os: ubuntu-20.04\n            python-version: \"3.9\"\n            backend: c\n            env: { GCC_VERSION: 11, EXTRA_CFLAGS: \"-std=c99\" }\n            extra_hash: \"-c99\"\n          - os: ubuntu-20.04\n            python-version: \"3.11\"\n            backend: c\n            env: { GCC_VERSION: 11, EXTRA_CFLAGS: \"-std=c17\" }\n            extra_hash: \"-gcc11\"\n          - os: ubuntu-20.04\n            python-version: \"3.11\"\n            backend: cpp\n            env: { GCC_VERSION: 11, EXTRA_CFLAGS: \"-std=c++20\" }\n            extra_hash: \"-gcc11\"\n          # compile all modules\n          - os: ubuntu-20.04\n            python-version: \"3.7\"\n            backend: c\n            env: { CYTHON_COMPILE_ALL: 1 }\n            extra_hash: \"-all\"\n          - os: ubuntu-20.04\n            python-version: \"3.7\"\n            backend: cpp\n            env: { CYTHON_COMPILE_ALL: 1 }\n            extra_hash: \"-all\"\n          - os: ubuntu-20.04\n            python-version: \"3.11\"\n            backend: c\n            env: { CYTHON_COMPILE_ALL: 1 }\n            extra_hash: \"-all\"\n          - os: ubuntu-20.04\n            python-version: \"3.11\"\n            backend: cpp\n            env: { CYTHON_COMPILE_ALL: 1 }\n            extra_hash: \"-all\"\n          # Linting\n          - os: ubuntu-20.04\n            python-version: \"3.9\"\n            backend: \"c,cpp\"\n            env: { TEST_CODE_STYLE: 1, NO_CYTHON_COMPILE: 1 }\n            extra_hash: \"-codestyle\"\n          # Limited API\n          - os: ubuntu-20.04\n            python-version: \"3.7\"\n            backend: \"c,cpp\"\n            env: { LIMITED_API: \"--limited-api\", EXCLUDE: \"--no-file\" }\n            extra_hash: \"-limited_api\"\n          - os: ubuntu-20.04\n            python-version: \"3.8\"\n            backend: \"c,cpp\"\n            env: { LIMITED_API: \"--limited-api\", EXCLUDE: \"--no-file\" }\n            extra_hash: \"-limited_api\"\n          - os: ubuntu-20.04\n            python-version: \"3.11\"\n            backend: \"c,cpp\"\n            env: { LIMITED_API: \"--limited-api\", EXCLUDE: \"--no-file\" }\n            extra_hash: \"-limited_api\"\n          - os: ubuntu-20.04\n            python-version: \"3.12\"\n            allowed_failure: true\n            backend: \"c,cpp\"\n            env: { LIMITED_API: \"--limited-api\", EXCLUDE: \"--no-file\" }\n            extra_hash: \"-limited_api\"\n          - os: ubuntu-20.04\n            python-version: \"3.13-dev\"\n            allowed_failure: true\n            backend: \"c,cpp\"\n            env: { LIMITED_API: \"--limited-api\", EXCLUDE: \"--no-file\" }\n            extra_hash: \"-limited_api\"\n          # Type specs\n          - os: ubuntu-20.04\n            python-version: \"3.9\"\n            backend: c\n            env: { EXTRA_CFLAGS: \"-DCYTHON_USE_TYPE_SPECS=1\" }\n            extra_hash: \"-typespecs\"\n          - os: ubuntu-20.04\n            python-version: \"3.8\"\n            backend: c\n            env: { EXTRA_CFLAGS: \"-DCYTHON_USE_TYPE_SPECS=1\" }\n            extra_hash: \"-typespecs\"\n          - os: ubuntu-20.04\n            python-version: \"3.7\"\n            backend: c\n            env: { EXTRA_CFLAGS: \"-DCYTHON_USE_TYPE_SPECS=1\" }\n            extra_hash: \"-typespecs\"\n          # Stackless\n          - os: ubuntu-20.04\n            python-version: \"3.8\"\n            backend: c\n            env: { STACKLESS: true, PY: 3 }\n            extra_hash: \"-stackless\"\n          # Pypy\n          - os: ubuntu-20.04\n            python-version: pypy-3.9\n            backend: c\n            env: { NO_CYTHON_COMPILE: 1 }\n          - os: ubuntu-20.04\n            python-version: pypy-3.10\n            backend: c\n            env: { NO_CYTHON_COMPILE: 1 }\n          # Free-threading\n          - os: ubuntu-20.04\n            python-version: 3.13-freethreading-dev\n            backend: \"c,cpp\"\n            env: {}\n            allowed_failure: true\n\n    # This defaults to 360 minutes (6h) which is way too long and if a test gets stuck, it can block other pipelines.\n    # From testing, the runs tend to take ~20 minutes for ubuntu / macos and ~40 for windows,\n    # so a limit of 80 minutes should be enough. This can always be changed in the future if needed.\n    timeout-minutes: 80\n    runs-on: ${{ matrix.os }}\n\n    env:\n      BACKEND: ${{ matrix.backend }}\n      PYTHON_VERSION: ${{ matrix.python-version }}\n      MACOSX_DEPLOYMENT_TARGET: 11.0\n      GCC_VERSION: 8\n      USE_CCACHE: 1\n      CCACHE_SLOPPINESS: \"pch_defines,time_macros\"\n      CCACHE_COMPRESS: 1\n      CCACHE_MAXSIZE: \"200M\"\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 1\n\n      - name: Setup python\n        uses: actions/setup-python@v5.0.0\n        if: \"!endsWith(matrix.python-version, '-freethreading-dev')\"\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Setup python from deadsnakes\n        uses: deadsnakes/action@v3.1.0\n        if: \"endsWith(matrix.python-version, '-freethreading-dev')\"\n        with:\n          python-version: 3.13-dev\n          nogil: true\n\n      - name: Compilation Cache\n        uses: hendrikmuhs/ccache-action@v1.2.12\n        with:\n          variant: ${{ startsWith(runner.os, 'windows') && 'sccache' || 'ccache' }}  # fake ternary\n          key: ${{ runner.os }}-hendrikmuhs-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ matrix.backend == 'c' || matrix.backend == 'c,cpp' }}-${{ contains(matrix.backend, 'cpp') }}-${{ hashFiles('test-requirements*.txt', '.github/**/ci.yml', 'Tools/**/ci-run.sh') }}\n          max-size: ${{ env.CCACHE_MAXSIZE }}\n\n      - name: Run CI\n        continue-on-error: ${{ matrix.allowed_failure || false }}\n        env: ${{ matrix.env }}\n        run: bash ./Tools/ci-run.sh\n\n      - name: Upload HTML docs\n        uses: actions/upload-artifact@v4.3.0\n        with:\n          name: htmldocs\n          path: docs/build/html\n          if-no-files-found: ignore\n\n      - name: Upload wheels\n        uses: actions/upload-artifact@v4.3.0\n        with:\n          name: wheels-${{ runner.os }}-${{ matrix.python-version }}${{ matrix.extra_hash }}\n          path: dist/*.whl\n          if-no-files-found: ignore\n\n\n  pycoverage:\n    runs-on: ubuntu-20.04\n\n    env:\n      BACKEND: c,cpp\n      OS_NAME: ubuntu-20.04\n      PYTHON_VERSION: \"3.11\"\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4.1.1\n\n      - name: Setup python\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: \"3.11\"\n\n      - name: Run Coverage\n        env: { COVERAGE: 1, NO_CYTHON_COMPILE: 1 }\n        run: bash ./Tools/ci-run.sh\n\n      - name: Upload Coverage Report\n        uses: actions/upload-artifact@v4.3.0\n        with:\n          name: pycoverage_html\n          path: coverage-report-html\n\n  cycoverage:\n    runs-on: ubuntu-20.04\n\n    env:\n      BACKEND: c,cpp\n      OS_NAME: ubuntu-20.04\n      PYTHON_VERSION: \"3.11\"\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 1\n\n      - name: Setup python\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: \"3.11\"\n\n      - name: Run Coverage\n        env: { COVERAGE: 1 }\n        run: bash ./Tools/ci-run.sh\n\n      - name: Upload Coverage Report\n        uses: actions/upload-artifact@v4.3.0\n        with:\n          name: cycoverage_html\n          path: coverage-report-html\n\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4.1.1\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "cython/cython"}
{"mined_at": "2024-07-15T14:37:55.396954", "created_at": "2024-06-05T15:30:50+02:00", "updated_at": "2024-06-07T20:35:49+02:00", "name": "Nightly wheels", "path": ".github/workflows/nightly-wheels.yml", "contents": "# Workflow to build non-compiled nightly wheel.\n\nname: Nightly wheels\non:\n  schedule:\n  #        ┌───────────── minute (0 - 59)\n  #        │  ┌───────────── hour (0 - 23)\n  #        │  │ ┌───────────── day of the month (1 - 31)\n  #        │  │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n  #        │  │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n  #        │  │ │ │ │\n  - cron: \"42 1 * * 0,3\"\n  pull_request:\n    types: [labeled, opened, synchronize, reopened]\n    paths:\n      #- Cython/Build/**\n      - .github/workflows/nightly-wheels.yml\n      - pyproject.toml\n      - MANIFEST.in\n      - setup.*\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  build_pure_wheel:\n    name: Build pure wheel and upload to Anaconda's PyPI\n    if: >-\n      github.event_name == 'schedule' ||\n      github.event_name == 'workflow_dispatch' ||\n      (github.event_name == 'pull_request' &&\n      contains(github.event.pull_request.labels.*.name, 'Build System'))\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Cython\n        uses: actions/checkout@v4.1.6\n\n      - uses: deadsnakes/action@v3.1.0\n        with:\n          python-version: 3.13-dev\n          nogil: true\n\n      - name: Build pure wheel\n        run: |\n          pip install --upgrade wheel setuptools\n          python setup.py bdist_wheel --no-cython-compile\n\n      - uses: actions/upload-artifact@v4.3.0\n        with:\n          name: pure-wheel\n          path: ./dist/*.whl\n\n      - name: Upload wheels to scientific-python-nightly-wheels\n        if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'          \n        uses: scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # 0.5.0\n        with:\n          artifacts_path: dist\n          anaconda_nightly_upload_token: ${{ secrets.CYTHON_NIGHTLY_UPLOAD_TOKEN }}\n", "state": "active", "repository": "cython/cython"}
{"mined_at": "2024-07-15T14:37:56.450644", "created_at": "2021-07-06T12:05:59+02:00", "updated_at": "2023-01-05T21:28:31+01:00", "name": "Linux wheel build", "path": ".github/workflows/wheel-manylinux.yml", "contents": null, "state": "active", "repository": "cython/cython"}
{"mined_at": "2024-07-15T14:37:57.489630", "created_at": "2022-05-06T04:48:57+02:00", "updated_at": "2022-08-03T07:21:50+02:00", "name": "Wheel Builder", "path": ".github/workflows/wheels.yml", "contents": "# Workflow to build wheels for upload to PyPI.\n#\n# In an attempt to save CI resources, wheel builds do\n# not run on each push but only weekly and for releases.\n# Wheel builds can be triggered from the Actions page\n# (if you have the perms) on a commit to master.\n# \n# Alternatively, if you would like to trigger wheel builds\n# on a pull request, the labels that trigger builds are:\n# - Build System\n\nname: Wheel Builder\non:\n  release:\n    types: [created]\n  schedule:\n  #        ┌───────────── minute (0 - 59)\n  #        │  ┌───────────── hour (0 - 23)\n  #        │  │ ┌───────────── day of the month (1 - 31)\n  #        │  │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n  #        │  │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n  #        │  │ │ │ │\n  - cron: \"42 1 * * 4\"\n  pull_request:\n      types: [labeled, opened, synchronize, reopened]\n      paths:\n        #- Cython/Build/**\n        - .github/workflows/wheels.yml\n        - pyproject.toml\n        - MANIFEST.in\n        - setup.*\n  push:\n      paths:\n        #- Cython/Build/**\n        - .github/workflows/wheels.yml\n        - pyproject.toml\n        - MANIFEST.in\n        - setup.*\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: write # to create GitHub release (softprops/action-gh-release)\n\njobs:\n  generate-wheels-matrix:\n    # Create a matrix of all architectures & versions to build.\n    # This enables the next step to run cibuildwheel in parallel.\n    # From https://iscinumpy.dev/post/cibuildwheel-2-10-0/#only-210\n    name: Generate wheels matrix\n    if: >-\n      github.event_name == 'push' ||\n      github.event_name == 'release' ||\n      github.event_name == 'schedule' ||\n      github.event_name == 'workflow_dispatch' ||\n      (github.event_name == 'pull_request' &&\n      contains(github.event.pull_request.labels.*.name, 'Build System'))\n    runs-on: ubuntu-latest\n    outputs:\n      include: ${{ steps.set-matrix.outputs.include }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install cibuildwheel\n        # Nb. keep cibuildwheel version pin consistent with job below\n        run: pipx install cibuildwheel==2.16.5\n      - id: set-matrix\n        run: |\n          MATRIX=$(\n            {\n              cibuildwheel --print-build-identifiers --prerelease-pythons --platform linux \\\n              | jq -nRc '{\"only\": inputs, \"os\": \"ubuntu-latest\"}' \\\n              && cibuildwheel --print-build-identifiers --prerelease-pythons --platform macos \\\n              | jq -nRc '{\"only\": inputs, \"os\": \"macos-latest\"}' \\\n              && cibuildwheel --print-build-identifiers --prerelease-pythons --platform windows \\\n              | jq -nRc '{\"only\": inputs, \"os\": \"windows-2019\"}'\n            } | jq -sc\n          )\n          echo \"$MATRIX\"\n          echo \"include=$MATRIX\" >> $GITHUB_OUTPUT\n\n  build_wheels:\n    name: Wheel ${{ matrix.only }}\n    if: >-\n      github.event_name == 'push' ||\n      github.event_name == 'release' ||\n      github.event_name == 'schedule' ||\n      github.event_name == 'workflow_dispatch' ||\n      (github.event_name == 'pull_request' &&\n      contains(github.event.pull_request.labels.*.name, 'Build System'))\n    needs: generate-wheels-matrix\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        include: ${{ fromJson(needs.generate-wheels-matrix.outputs.include) }}\n\n    steps:\n      - name: Checkout Cython\n        uses: actions/checkout@v4.1.1\n        \n      - name: Set up QEMU\n        if: runner.os == 'Linux' && !contains(matrix.only, 'x86') && !contains(matrix.only, 'i686')\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n\n      - name: Build wheels\n        # Nb. keep cibuildwheel version pin consistent with generate-matrix job above\n        uses: pypa/cibuildwheel@v2.16.5\n        with:\n          only: ${{ matrix.only }}\n        # TODO: Cython tests take a long time to complete\n        # consider running a subset in the future?\n        #CIBW_TEST_COMMAND: python {project}/runtests.py -vv\n\n      - name: Release\n        uses: softprops/action-gh-release@v2\n        if: startsWith(github.ref, 'refs/tags/')\n        with:\n          files: wheelhouse/*.whl\n          prerelease: >-\n            ${{ contains(github.ref_name, 'a') || contains(github.ref_name, 'b')\n              || contains(github.ref_name, 'rc') || contains(github.ref_name, 'dev') }}\n\n      - uses: actions/upload-artifact@v4.3.0\n        with:\n          name: ${{ matrix.only }}\n          path: ./wheelhouse/*.whl\n\n  build_sdist_pure_wheel:\n    name: Build sdist and pure wheel\n    if: >-\n      github.event_name == 'push' ||\n      github.event_name == 'release' ||\n      github.event_name == 'schedule' ||\n      github.event_name == 'workflow_dispatch' ||\n      (github.event_name == 'pull_request' &&\n      contains(github.event.pull_request.labels.*.name, 'Build System'))\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Cython\n        uses: actions/checkout@v4.1.1\n\n      # Used to push the built wheels\n      - uses: actions/setup-python@v5.0.0\n        with:\n          # Build sdist on lowest supported Python\n          python-version: '3.8'\n\n      - name: Build sdist\n        run: |\n          pip install --upgrade wheel setuptools\n          python setup.py sdist\n          python setup.py bdist_wheel --no-cython-compile\n\n      - uses: actions/upload-artifact@v4.3.0\n        with:\n          name: sdist\n          path: ./dist/*.tar.gz\n\n      - uses: actions/upload-artifact@v4.3.0\n        with:\n          name: pure-wheel\n          path: ./dist/*.whl\n      \n      - name: Release\n        uses: softprops/action-gh-release@v2\n        if: startsWith(github.ref, 'refs/tags/')\n        with:\n          files: |\n            dist/*.tar.gz\n            dist/*-none-any.whl\n          prerelease: >-\n            ${{ contains(github.ref_name, 'a') || contains(github.ref_name, 'b')\n              || contains(github.ref_name, 'rc') || contains(github.ref_name, 'dev') }}\n", "state": "active", "repository": "cython/cython"}
{"mined_at": "2024-07-15T14:37:59.616982", "created_at": "2023-02-08T10:47:00+01:00", "updated_at": "2023-02-21T22:52:26+01:00", "name": "build", "path": ".github/workflows/build-release.yml", "contents": "name: build\non:\n  push:\n    branches: [\"dev\", \"*.x-line\"]\n    tags: [\"*\"]\n  pull_request:\n\njobs:\n  mypy:\n    name: mypy\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.0.0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - run: python -m pip install --upgrade pip\n      - run: python -m pip install tox\n      - run: python -m tox -e mypy-test\n  docs:\n    name: docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.0.0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - run: pip install tox\n      - run: tox -e docs\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - { name: \"3.8\", python: \"3.8\", tox: py38 }\n          - { name: \"3.12\", python: \"3.12\", tox: py312 }\n    steps:\n      - uses: actions/checkout@v4.0.0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n      - run: python -m pip install tox\n      - run: python -m tox -e ${{ matrix.tox }}\n  build:\n    name: Build package\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install pypa/build\n        run: python -m pip install build\n      - name: Build a binary wheel and a source tarball\n        run: python -m build\n      - name: Install twine\n        run: python -m pip install twine\n      - name: Check build\n        run: python -m twine check --strict dist/*\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n  # this duplicates pre-commit.ci, so only run it on tags\n  # it guarantees that linting is passing prior to a release\n  lint-pre-release:\n    if: startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.0.0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - run: python -m pip install tox\n      - run: python -m tox -e lint\n  publish-to-pypi:\n    name: PyPI release\n    if: startsWith(github.ref, 'refs/tags/')\n    needs: [mypy, build, tests, lint-pre-release]\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/marshmallow\n    permissions:\n      id-token: write\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "marshmallow-code/marshmallow"}
{"mined_at": "2024-07-15T14:38:00.753363", "created_at": "2023-05-26T14:38:27+02:00", "updated_at": "2023-05-26T14:38:27+02:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": null, "state": "active", "repository": "marshmallow-code/marshmallow"}
{"mined_at": "2024-07-15T14:38:03.023880", "created_at": "2020-12-18T11:36:53+01:00", "updated_at": "2021-02-17T16:38:44+01:00", "name": "Build & Publish", "path": ".github/workflows/build-and-publish.yml", "contents": "# Because this library provides extension modules for macOS, but not for other\n# platforms, we want to provide built distributions for each macOS platform, but we\n# explicitly DON'T want to provide a cross-platform pure-Python wheel to fall back on.\n#\n# This is because in the event that a new Python version is released or a new\n# macOS platform is released, macOS users won't be able to install the built\n# distributions we've provided and should fall back to the source distribution,\n# but pip's behavior is to prefer a pure-Python wheel first, which will be\n# missing the extension modules.\n#\n# However, to provide built distributions for Linux and Windows (which don't\n# have extension modules) we can just build a pure-Python wheel on that\n# platform and override the platform name manually via wheel's --plat-name\n# feature, to provide a platform-specific wheel for all platforms.\n\nname: Build & Publish\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - \"**\"\n\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch, tag or SHA to release from\"\n        required: true\n        default: \"master\"\n\nconcurrency:\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name != 'pull_request' && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  macos-built-distributions:\n    name: Build macOS wheels\n    runs-on: macos-latest\n    timeout-minutes: 20\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.branch }}\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install build dependencies\n        run: python -m pip install cibuildwheel\n      - name: Build wheels\n        run: python -m cibuildwheel\n        env:\n          CIBW_SKIP: \"cp36-*\" # skip 3.6 wheels\n          CIBW_ARCHS_MACOS: \"x86_64 universal2 arm64\"\n      - name: Artifacts list\n        run: ls -l wheelhouse\n      - uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions-macos\n          path: ./wheelhouse/*.whl\n\n  pure-built-distributions:\n    name: Build pure wheels\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.branch }}\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install build dependencies\n        run: python -m pip install -U setuptools wheel\n      - name: Build wheels\n        run: |\n          for platform in 'manylinux2014_x86_64' 'manylinux2014_i686' 'manylinux2014_aarch64' 'manylinux2014_armv7l' 'manylinux2014_ppc64' 'manylinux2014_ppc64le' 'manylinux2014_s390x' 'win32' 'win_amd64' 'win_ia64'\n          do\n            python setup.py bdist_wheel --plat-name $platform\n          done\n      - name: Artifacts list\n        run: ls -l dist\n      - uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions-pure-wheels\n          path: ./dist/*.whl\n\n  source-distribution:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.branch }}\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Build source distribution\n        run: python setup.py sdist\n      - name: Artifacts list\n        run: ls -l dist\n      - name: Store the source distribution\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions-source\n          path: dist/*.tar.gz\n\n  publish:\n    needs:\n      - macos-built-distributions\n      - pure-built-distributions\n      - source-distribution\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          pattern: python-package-distributions-*\n          merge-multiple: true\n          path: dist/\n      - name: What will we publish?\n        run: ls -l dist\n      - name: Publish\n        if: github.event.inputs.branch != ''\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip-existing: true\n", "state": "active", "repository": "gorakhargosh/watchdog"}
{"mined_at": "2024-07-15T14:38:04.543504", "created_at": "2021-02-17T16:35:45+01:00", "updated_at": "2021-02-17T16:35:45+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - '**'\n\nconcurrency:\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name != 'pull_request' && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  tox:\n    name: ${{ matrix.tox.name }} ${{ matrix.os.emoji }} ${{ matrix.os.name }} ${{ matrix.python }}\n    runs-on: ${{ matrix.os.runs-on }}\n    timeout-minutes: ${{ matrix.tox.timeout }}\n    strategy:\n      fail-fast: false\n      matrix:\n        tox:\n          - name: Test\n            environment: py\n            timeout: 15\n          - name: mypy\n            environment: mypy\n            timeout: 15\n        os:\n          - name: Linux\n            matrix: linux\n            emoji: 🐧\n            runs-on: [ubuntu-latest]\n          - name: macOS\n            matrix: macos\n            emoji: 🍎\n            runs-on: [macos-latest]\n          - name: Windows\n            matrix: windows\n            emoji: 🪟\n            runs-on: [windows-latest]\n        python:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          - \"pypy-3.8\"\n          - \"pypy-3.9\"\n        include:\n          - tox:\n              name: Flake8\n              environment: flake8\n              timeout: 5\n            python: \"3.11\"\n            os:\n              name: Linux\n              emoji: 🐧\n              runs-on: [ubuntu-latest]\n          - tox:\n              name: isort\n              environment: isort-ci\n              timeout: 5\n            python: \"3.11\"\n            os:\n              name: Linux\n              emoji: 🐧\n              runs-on: [ubuntu-latest]\n          - tox:\n              name: Docs\n              environment: docs\n              timeout: 5\n            python: \"3.11\"\n            os:\n              name: Linux\n              emoji: 🐧\n              runs-on: [ubuntu-latest]\n        exclude:\n          - os:\n              matrix: windows\n            python: \"pypy-3.8\"\n          - os:\n              matrix: windows\n            python: \"pypy-3.9\"\n\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install test dependencies\n        run: |\n          python -m pip install tox\n\n      - name: Run ${{ matrix.tox.name }} in tox\n        run: |\n          python -m tox -e ${{ matrix.tox.environment }}\n", "state": "active", "repository": "gorakhargosh/watchdog"}
{"mined_at": "2024-07-15T14:38:06.581699", "created_at": "2022-08-30T13:24:11+02:00", "updated_at": "2022-08-30T13:24:11+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "lonamiwebs/telethon"}
{"mined_at": "2024-07-15T14:38:08.736608", "created_at": "2020-10-25T22:28:10+01:00", "updated_at": "2020-11-26T18:15:21+01:00", "name": "Python", "path": ".github/workflows/ci.yml", "contents": "# Python unit tests\nname: Python\n\non:\n  push:\n    branches: ['master']\n  pull_request:\n    branches: ['master']\n\njobs:\n  lint:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y libldap2-dev libsasl2-dev libssl-dev\n          pip install --upgrade pip\n          pip install -r requirements/dev.txt\n      - name: black\n        run: black --check setup.py flask_appbuilder\n      - name: flake8\n        run: flake8 flask_appbuilder\n      - name: mypy\n        run: mypy flask_appbuilder\n      - name: black\n        run: black --check tests\n      - name: flake8\n        run: flake8 tests\n\n  test-postgres:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    env:\n      SQLALCHEMY_DATABASE_URI:\n        postgresql+psycopg2://pguser:pguserpassword@127.0.0.1:15432/app\n    services:\n      postgres:\n        image: postgres:14-alpine\n        env:\n          POSTGRES_USER: pguser\n          POSTGRES_PASSWORD: pguserpassword\n          POSTGRES_DB: app\n        ports:\n          - 15432:5432\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Run openldap\n        run: |\n          docker run -d \\\n            -v '${{ github.workspace }}/docker/openldap/ldifs:/ldifs' \\\n            -v '${{ github.workspace }}/docker/openldap/schemas/memberof.ldif:/opt/bitnami/openldap/etc/schema/memberof.ldif' \\\n            -e LDAP_URI=ldap://openldap:1389 \\\n            -e LDAP_BASE=dc=example,dc=org \\\n            -e LDAP_ADMIN_USERNAME=admin \\\n            -e LDAP_ADMIN_PASSWORD=admin_password \\\n            -e LDAP_EXTRA_SCHEMAS=cosine,inetorgperson,nis,memberof \\\n            -p 1389:1389 \\\n            bitnami/openldap:2.6.4\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y libldap2-dev libsasl2-dev libssl-dev\n          pip install --upgrade pip\n          pip install -r requirements/base.txt\n          pip install -r requirements/tests.txt\n          pip install -r requirements/extra.txt\n      - name: Run tests\n        run: |\n          nose2 -c setup.cfg -F -v --with-coverage --coverage flask_appbuilder -A '!mongo,!openid' tests\n      - name: Upload code coverage\n        run: |\n          bash <(curl -s https://codecov.io/bash) -cF python\n\n  test-mysql:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.8]\n    env:\n      SQLALCHEMY_DATABASE_URI: |\n        mysql+mysqldb://mysqluser:mysqluserpassword@127.0.0.1:13306/app?charset=utf8mb4&binary_prefix=true\n    services:\n      mysql:\n        image: mysql:5.7\n        env:\n          MYSQL_USER: mysqluser\n          MYSQL_PASSWORD: mysqluserpassword\n          MYSQL_ROOT_PASSWORD: root\n          MYSQL_DATABASE: app\n        ports:\n          - 13306:3306\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Run openldap\n        run: |\n          docker run -d \\\n            -v '${{ github.workspace }}/docker/openldap/ldifs:/ldifs' \\\n            -v '${{ github.workspace }}/docker/openldap/schemas/memberof.ldif:/opt/bitnami/openldap/etc/schema/memberof.ldif' \\\n            -e LDAP_URI=ldap://openldap:1389 \\\n            -e LDAP_BASE=dc=example,dc=org \\\n            -e LDAP_ADMIN_USERNAME=admin \\\n            -e LDAP_ADMIN_PASSWORD=admin_password \\\n            -e LDAP_EXTRA_SCHEMAS=cosine,inetorgperson,nis,memberof \\\n            -p 1389:1389 \\\n            bitnami/openldap:2.6.4\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y libldap2-dev libsasl2-dev libssl-dev\n          pip install --upgrade pip\n          pip install -r requirements/base.txt\n          pip install -r requirements/tests.txt\n          pip install -r requirements/extra.txt\n      - name: Run tests\n        run: |\n          nose2 -c setup.cfg -F -v --with-coverage --coverage flask_appbuilder -A '!mongo,!openid' tests\n      - name: Upload code coverage\n        run: |\n          bash <(curl -s https://codecov.io/bash) -cF python\n\n  test-mssql:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.8]\n    env:\n      SQLALCHEMY_DATABASE_URI: |\n        mssql+pyodbc://sa:Password_123@localhost:11433/master?driver=FreeTDS\n    services:\n      mssql:\n        image: mcr.microsoft.com/mssql/server:2017-CU8-ubuntu\n        env:\n          SA_PASSWORD: Password_123\n          ACCEPT_EULA: Y\n        ports:\n          - 11433:1433\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Run openldap\n        run: |\n          docker run -d \\\n            -v '${{ github.workspace }}/docker/openldap/ldifs:/ldifs' \\\n            -v '${{ github.workspace }}/docker/openldap/schemas/memberof.ldif:/opt/bitnami/openldap/etc/schema/memberof.ldif' \\\n            -e LDAP_URI=ldap://openldap:1389 \\\n            -e LDAP_BASE=dc=example,dc=org \\\n            -e LDAP_ADMIN_USERNAME=admin \\\n            -e LDAP_ADMIN_PASSWORD=admin_password \\\n            -e LDAP_EXTRA_SCHEMAS=cosine,inetorgperson,nis,memberof \\\n            -p 1389:1389 \\\n            bitnami/openldap:2.6.4\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y libldap2-dev libsasl2-dev libssl-dev freetds-bin unixodbc-dev tdsodbc\n          pip install --upgrade pip\n          pip install -r requirements/base.txt\n          pip install -r requirements/tests.txt\n          pip install -r requirements/extra.txt\n          sudo cp .github/workflows/odbcinst.ini /etc/odbcinst.ini\n      - name: Run tests\n        run: |\n          nose2 -c setup.cfg -F -v --with-coverage --coverage flask_appbuilder -A '!mongo,!openid' tests\n      - name: Upload code coverage\n        run: |\n          bash <(curl -s https://codecov.io/bash) -cF python\n\n  test-mongodb:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.8]\n    services:\n      mongo:\n        image: mongo:4.4.1-bionic\n        ports:\n          - 27017:27017\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y libldap2-dev libsasl2-dev libssl-dev\n          pip install --upgrade pip\n          pip install -r requirements/base.txt\n          pip install -r requirements/tests.txt\n          pip install -r requirements/extra.txt\n          pip install -r requirements/mongodb.txt\n      - name: Run tests\n        run: |\n          nose2 -c setup.cfg -F -v --with-coverage --coverage flask_appbuilder -A 'mongo' tests\n      - name: Upload code coverage\n        run: |\n          bash <(curl -s https://codecov.io/bash) -cF python\n\n  test-openid:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y libldap2-dev libsasl2-dev libssl-dev\n          pip install --upgrade pip\n          pip install -r requirements/base.txt\n          pip install -r requirements/tests.txt\n          pip install -r requirements/extra.txt\n          pip install -r requirements/openid.txt\n      - name: Run tests\n        run: |\n          nose2 -c setup.cfg -F -v --with-coverage --coverage flask_appbuilder -A 'openid' tests\n      - name: Upload code coverage\n        run: |\n          bash <(curl -s https://codecov.io/bash) -cF python\n", "state": "active", "repository": "dpgaspar/flask-appbuilder"}
{"mined_at": "2024-07-15T14:38:09.728635", "created_at": "2023-05-05T10:57:22+02:00", "updated_at": "2023-05-05T12:44:32+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n    paths:\n      - 'flask_appbuilder/**'\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n    paths:\n      - 'flask_appbuilder/**'\n  schedule:\n    - cron: '0 4 * * *'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-22.04\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n          # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n          # queries: security-extended,security-and-quality\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "dpgaspar/flask-appbuilder"}
{"mined_at": "2024-07-15T14:38:10.734703", "created_at": "2024-05-20T12:57:32+02:00", "updated_at": "2024-05-20T12:57:32+02:00", "name": "PR Lint", "path": ".github/workflows/prlint.yml", "contents": null, "state": "active", "repository": "dpgaspar/flask-appbuilder"}
{"mined_at": "2024-07-15T14:38:11.766939", "created_at": "2020-11-26T18:56:05+01:00", "updated_at": "2020-11-26T18:56:05+01:00", "name": "PR Lint", "path": ".github/workflows/ptlint.yml", "contents": "name: PR Lint\n\non:\n  pull_request:\n    # By default, a workflow only runs when a pull_request's activity type is opened, synchronize, or reopened. We\n    # explicity override here so that PR titles are re-linted when the PR text content is edited.\n    #\n    # Possible values: https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request\n    types: [opened, edited, reopened, synchronize]\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: morrisoncole/pr-lint-action@v1.7.0\n        with:\n          title-regex: \"^(build|chore|ci|docs|feat|fix|perf|refactor|style|test|release|other)((.+))?:\\\\s.+\"\n          on-failed-regex-fail-action: true\n          on-failed-regex-request-changes: false\n          on-failed-regex-create-review: false\n          on-failed-regex-comment:\n            \"Please format your PR title to match: `%regex%`!\"\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "dpgaspar/flask-appbuilder"}
{"mined_at": "2024-07-15T14:38:12.836527", "created_at": "2023-04-13T13:54:58+02:00", "updated_at": "2023-04-13T13:54:58+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "dpgaspar/flask-appbuilder"}
{"mined_at": "2024-07-15T14:38:15.294436", "created_at": "2020-09-10T15:54:19+02:00", "updated_at": "2022-07-14T15:33:36+02:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "name: Backport\non:\n  pull_request_target:\n    types:\n      - closed\n      - labeled\n\njobs:\n  backport:\n    name: Backport\n    runs-on: ubuntu-latest\n    # Only react to merged PRs for security reasons.\n    # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.\n    if: >\n      github.event.pull_request.merged\n      && (\n        github.event.action == 'closed'\n        || (\n          github.event.action == 'labeled'\n          && contains(github.event.label.name, 'backport')\n        )\n      )\n    steps:\n      - uses: tibdex/backport@9565281eda0731b1d20c4025c43339fb0a23812e # v2.0.4\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "elastic/elasticsearch-dsl-py"}
{"mined_at": "2024-07-15T14:38:16.361650", "created_at": "2020-12-02T17:44:21+01:00", "updated_at": "2020-12-02T17:44:21+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "---\nname: CI\n\non: [push, pull_request]\n\njobs:\n  package:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          python3 -m pip install setuptools wheel twine\n      - name: Build packages\n        run: |\n          python3 utils/build-dists.py\n      - name: Check packages\n        run: |\n          set -exo pipefail;\n          if [ $(python3 -m twine check dist/* | grep -c 'warning') != 0 ]; then exit 1; fi\n\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          python3 -m pip install nox\n      - name: Lint the code\n        run: nox -s lint\n\n  type_check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python3 -m pip install nox\n      - name: Lint the code\n        run: nox -s type_check\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          python3 -m pip install nox\n      - name: Build the docs\n        run: nox -s docs\n\n  test-linux:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\n          \"3.8\",\n          \"3.9\",\n          \"3.10\",\n          \"3.11\",\n          \"3.12\",\n        ]\n        es-version: [8.0.0, 8.13.0]\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Setup Elasticsearch\n        run: |\n          mkdir /tmp/elasticsearch\n          wget -O - https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${{ matrix.es-version }}-linux-x86_64.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1\n          /tmp/elasticsearch/bin/elasticsearch -E xpack.security.enabled=false -E discovery.type=single-node -d\n      - name: Setup Python - ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set up Python for Nox\n        if: matrix.python-version != '3.12'\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3\n      - name: Install dependencies\n        run: |\n          python3 -m pip install nox\n      - name: Run Tests\n        run: |\n          nox -rs test-${{ matrix.python-version }}\n        env:\n          WAIT_FOR_ES: \"1\"\n", "state": "active", "repository": "elastic/elasticsearch-dsl-py"}
{"mined_at": "2024-07-15T14:38:19.457054", "created_at": "2021-03-06T23:44:56+01:00", "updated_at": "2023-05-16T15:33:51+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\non: [pull_request, push]\njobs:\n  #################### Unittests ####################\n  unittest:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8,3.9,\"3.10\",\"3.11\",\"3.12\"]\n    steps:\n      - name: Install system packages\n        run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        id: python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: pip install --upgrade pip wheel tox tox-docker\n      - name: Run unittest\n        run: tox -v -e ${{ matrix.python-version }}-linux-unit -- -v\n  #################### Integration tests ####################\n  integration:\n    needs: [unittest]\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8,3.9,\"3.10\",\"3.11\",\"3.12\"]\n        experimental: [false]\n        include:\n          - python-version: pypy3.9\n            experimental: true\n    steps:\n      - name: Install system packages\n        run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        id: python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: pip install --upgrade pip wheel tox tox-docker\n      # Tox fails if a Python versions contains a hyphen, this changes \"pypy-3.9\" to \"pypy3.9\".\n      - name: Run AMQP integration tests\n        run: tox -v -e ${{ matrix.python-version }}-linux-integration-py-amqp -- -v\n      - name: Run redis integration tests\n        run: tox -v -e ${{ matrix.python-version }}-linux-integration-py-redis -- -v\n      - name: Run MongoDB integration tests\n        run: tox -v -e ${{ matrix.python-version }}-linux-integration-py-mongodb -- -v\n      - name: Run kafka integration tests\n        if: ${{ matrix.python-version != 'pypy3.9'}}\n        run: tox -v -e ${{ matrix.python-version }}-linux-integration-py-kafka -- -v\n\n  #################### Linters and checkers ####################\n  lint:\n    needs: [unittest, integration]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n      - name: Install system packages\n        run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        id: python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: pip install --upgrade pip wheel tox tox-docker\n      - name: Run flake8\n        run: tox -v -e flake8 -- -v\n      - name: Run pydocstyle\n        run: tox -v -e pydocstyle -- -v\n      - name: Run apicheck\n        run: tox -v -e apicheck -- -v\n      - name: Run mypy\n        run: tox -v -e mypy -- -v\n", "state": "active", "repository": "celery/kombu"}
{"mined_at": "2024-07-15T14:38:20.511557", "created_at": "2021-11-19T06:45:01+01:00", "updated_at": "2021-11-19T09:31:03+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "celery/kombu"}
{"mined_at": "2024-07-15T14:38:21.643228", "created_at": "2023-04-14T14:00:51+02:00", "updated_at": "2023-04-14T14:04:44+02:00", "name": "Semgrep", "path": ".github/workflows/semgrep.yml", "contents": "on:\n  pull_request: {}\n  push:\n    branches:\n    - main\n    - master\n    paths:\n    - .github/workflows/semgrep.yml\n  schedule:\n  # random HH:MM to avoid a load spike on GitHub Actions at 00:00\n  - cron: 41 19 * * *\nname: Semgrep\njobs:\n  semgrep:\n    name: Scan\n    runs-on: ubuntu-20.04\n    env:\n      SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}\n    container:\n      image: returntocorp/semgrep\n    steps:\n    - uses: actions/checkout@v4\n    - run: semgrep ci\n", "state": "active", "repository": "celery/kombu"}
{"mined_at": "2024-07-15T14:38:23.648471", "created_at": "2021-05-14T00:34:45+02:00", "updated_at": "2023-04-07T15:23:22+02:00", "name": "ANN benchmarks", "path": ".github/workflows/benchmarks.yml", "contents": "name: ANN benchmarks\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  workflow_dispatch:\n\n# Cancel the workflow for the previous commit when the new commit is pushed.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: True\n\njobs:\n  unit-tests:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3 # Pull the repository\n      - run: sudo apt-get update && sudo apt-get install -y libhdf5-dev python3-numpy python3-scipy python3-matplotlib python3-sklearn\n      - run: pip3 install --quiet -r requirements.txt\n      - run: pytest\n\n  run-benchmarks:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        dataset: [random-xs-20-angular]\n        library:\n          - annoy\n          - balltree\n          - bruteforce\n          - ckdtree\n          - descartes\n          - diskann\n          - dolphinnpy\n          - elasticsearch\n          - elastiknn\n          - expann\n          - faiss\n          - flann\n          - glass\n          - hnswlib\n          - kdtree\n          - kgn\n          - luceneknn\n          - milvus\n          - mrpt\n          - nndescent\n          - n2\n          - nmslib\n          - onng_ngt\n          - opensearchknn\n          - panng_ngt\n          - pg_embedding\n          - pgvector\n          - pgvecto_rs\n          - pynndescent\n          - redisearch\n          - qdrant\n          - qg_ngt\n          - qsg_ngt\n          - scann\n          - sptag\n          - tinyknn\n          - vald\n          - vearch\n          - vespa\n          - voyager\n          - weaviate\n        include:\n          - library: pynndescent\n            dataset: random-xs-16-hamming\n          - library: datasketch\n            dataset: random-s-jaccard\n          - library: pynndescent\n            dataset: random-s-jaccard\n\n    name: ${{ matrix.library }} (${{ matrix.dataset }})\n\n    env:\n      LIBRARY: ${{ matrix.library }}\n      DATASET: ${{ matrix.dataset }}\n\n    steps:\n    - uses: actions/checkout@v3 # Pull the repository\n\n    - name: Install OS Dependencies\n      run: sudo apt-get update && sudo apt-get install -y libhdf5-dev python3-numpy python3-scipy python3-matplotlib python3-sklearn\n\n    - name: Install Project Dependencies\n      run: pip3 install --quiet -r requirements.txt\n\n    - name: Build Library Docker Image\n      run: python3 install.py\n\n    - name: Run the benchmark\n      run: |\n        python3 run.py --docker-tag ann-benchmarks-${LIBRARY} --max-n-algorithms 3 --runs 2 --dataset $DATASET --run-disabled --timeout 300\n        python3 run.py --docker-tag ann-benchmarks-${LIBRARY} --max-n-algorithms 3 --runs 2 --dataset $DATASET --run-disabled --batch --timeout 300\n        sudo chmod -R 777 results/\n        python3 plot.py --dataset $DATASET --output plot.png\n        python3 plot.py --dataset $DATASET --output plot-batch.png --batch\n        python3 data_export.py --out test.csv\n        python3 create_website.py --outputdir . --scatter --latex\n", "state": "active", "repository": "erikbern/ann-benchmarks"}
{"mined_at": "2024-07-15T14:38:25.837031", "created_at": "2022-12-30T00:11:36+01:00", "updated_at": "2022-12-30T00:15:13+01:00", "name": "main", "path": ".github/workflows/main.yml", "contents": "name: main\n\non:\n  push:\n    branches: [main, test-me-*]\n    tags: '*'\n  pull_request:\n\njobs:\n  main-windows:\n    uses: asottile/workflows/.github/workflows/tox.yml@v1.5.0\n    with:\n      env: '[\"py38\"]'\n      os: windows-latest\n  main-linux:\n    uses: asottile/workflows/.github/workflows/tox.yml@v1.5.0\n    with:\n      env: '[\"py38\", \"py39\", \"py310\", \"py311\"]'\n      os: ubuntu-latest\n", "state": "active", "repository": "pre-commit/pre-commit-hooks"}
{"mined_at": "2024-07-15T14:38:27.968830", "created_at": "2019-12-19T07:32:40+01:00", "updated_at": "2023-11-23T13:12:11+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  workflow_dispatch:\n    inputs:\n      versionBump:\n        description: 'The part of the version to bump'\n        required: true\n        default: 'patch'\n        type: choice\n        options:\n          - patch\n          - minor\n          - major\n\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - 'docs/**'\n      - 'INTHEWILD.md'\n      - 'README.md'\n      - 'CHANGELOG.md'\n      - '.github/**'\n      - checkov/version.py\n      - kubernetes/requirements.txt\n      - coverage.svg\n      - '.swm/**'\n      - '.pre-commit-config.yaml'\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: 'build'\n  cancel-in-progress: true\n\njobs:\n  security:\n    uses: ./.github/workflows/security-shared.yml\n    secrets: inherit\n\n  integration-tests:\n    strategy:\n      fail-fast: true\n      matrix:\n        python: [\"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ matrix.python }}\n      - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8  # v3\n      - uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78  # v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: imranismail/setup-kustomize@a76db1c6419124d51470b1e388c4b29476f495f1  # v2\n        if: ${{ runner.os != 'windows' }}\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Build & install checkov package\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ matrix.python }}\n          pipenv run pip install pytest pytest-xdist setuptools wheel\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Clone Terragoat - vulnerable terraform\n        run: git clone https://github.com/bridgecrewio/terragoat\n      - name: Clone Cfngoat - vulnerable cloudformation\n        run: git clone https://github.com/bridgecrewio/cfngoat\n      - name: Clone Kubernetes-goat - vulnerable kubernetes\n        run: git clone https://github.com/madhuakula/kubernetes-goat\n      - name: Clone kustomize-goat - vulnerable kustomize\n        run: git clone https://github.com/bridgecrewio/kustomizegoat\n      - name: Create checkov reports\n        run: |\n          # Just making sure the API key tests don't run on PRs\n          bash -c './integration_tests/prepare_data.sh \"${{ matrix.os }}\" \"${{ matrix.python }}\"'\n        env:\n          LOG_LEVEL: INFO\n          BC_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n          TF_REGISTRY_TOKEN: ${{ secrets.TFC_TOKEN }}\n          GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}\n      - name: Run integration tests\n        run: |\n          pipenv run pytest integration_tests\n\n  integration-tests-old-python:\n    strategy:\n      fail-fast: true\n      matrix:\n        python: [\"3.8\", \"3.9\"]\n        os: [ubuntu-latest, macos-12, windows-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ matrix.python }}\n      - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8  # v3\n      - uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78  # v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: imranismail/setup-kustomize@a76db1c6419124d51470b1e388c4b29476f495f1  # v2\n        if: ${{ runner.os != 'windows' }}\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Build & install checkov package\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ matrix.python }}\n          pipenv run pip install pytest pytest-xdist setuptools wheel\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Clone Terragoat - vulnerable terraform\n        run: git clone https://github.com/bridgecrewio/terragoat\n      - name: Clone Cfngoat - vulnerable cloudformation\n        run: git clone https://github.com/bridgecrewio/cfngoat\n      - name: Clone Kubernetes-goat - vulnerable kubernetes\n        run: git clone https://github.com/madhuakula/kubernetes-goat\n      - name: Clone kustomize-goat - vulnerable kustomize\n        run: git clone https://github.com/bridgecrewio/kustomizegoat\n      - name: Create checkov reports\n        run: |\n          # Just making sure the API key tests don't run on PRs\n          bash -c './integration_tests/prepare_data.sh \"${{ matrix.os }}\" \"${{ matrix.python }}\"'\n        env:\n          LOG_LEVEL: INFO\n          BC_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n          TF_REGISTRY_TOKEN: ${{ secrets.TFC_TOKEN }}\n          GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}\n      - name: Run integration tests\n        run: |\n          pipenv run pytest integration_tests\n\n  prisma-tests:\n    runs-on: [ self-hosted, public, linux, x64 ]\n    env:\n      PYTHON_VERSION: \"3.8\"\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Build & install checkov package\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ env.PYTHON_VERSION }}\n          pipenv run pip install pytest pytest-xdist\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Clone Terragoat - vulnerable terraform\n        run: git clone https://github.com/bridgecrewio/terragoat\n      - name: Run checkov with Prisma creds\n        env:\n          PRISMA_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        run: |\n          pipenv run checkov -s -d terragoat --bc-api-key \"$PRISMA_KEY\" --repo-id yuvalyacoby/terragoat > checkov_report_prisma.txt\n          grep \"prismacloud.io\" checkov_report_prisma.txt\n          exit $?\n  sast-integration-tests:\n    strategy:\n      fail-fast: true\n      matrix:\n        python: [\"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, macos-latest]\n    runs-on: ${{ matrix.os }}\n    continue-on-error: true # for now it is ok to fail\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Build & install checkov package\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ matrix.python }}\n          pipenv run pip install pytest pytest-xdist setuptools wheel\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Clone flask - Python repo for SAST\n        run: git clone https://github.com/pallets/flask\n      - name: Clone WebGoat - Java repo for SAST\n        run: git clone https://github.com/WebGoat/WebGoat\n      - name: Clone axios - JavaScript repo for SAST\n        run: git clone https://github.com/axios/axios\n      - name: Create checkov reports\n        env:\n          LOG_LEVEL: INFO\n          BC_API_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        run: bash -c './sast_integration_tests/prepare_data.sh'\n      - name: Run integration tests\n        run: |\n          pipenv run pytest sast_integration_tests\n\n  sast-integration-tests-old-python:\n    strategy:\n      fail-fast: true\n      matrix:\n        python: [\"3.8\", \"3.9\"]\n        os: [ubuntu-latest, macos-12]\n    runs-on: ${{ matrix.os }}\n    continue-on-error: true # for now it is ok to fail\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Build & install checkov package\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ matrix.python }}\n          pipenv run pip install pytest pytest-xdist setuptools wheel\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Clone flask - Python repo for SAST\n        run: git clone https://github.com/pallets/flask\n      - name: Clone WebGoat - Java repo for SAST\n        run: git clone https://github.com/WebGoat/WebGoat\n      - name: Clone axios - JavaScript repo for SAST\n        run: git clone https://github.com/axios/axios\n      - name: Create checkov reports\n        env:\n          LOG_LEVEL: INFO\n          BC_API_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        run: bash -c './sast_integration_tests/prepare_data.sh'\n      - name: Run integration tests\n        run: |\n          pipenv run pytest sast_integration_tests\n\n  unit-tests:\n    timeout-minutes: 30\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: \"3.8\"\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78  # v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: imranismail/setup-kustomize@a76db1c6419124d51470b1e388c4b29476f495f1  # v2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Install dependencies\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ env.PYTHON_VERSION }}\n          pipenv install --dev\n      - name: Test with pytest\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          IS_TEST: true\n        run: |\n          pipenv run python -m pytest tests\n  bump-version:\n    needs: [integration-tests, unit-tests, prisma-tests, sast-integration-tests, integration-tests-old-python, sast-integration-tests-old-python]\n    runs-on: [self-hosted, public, linux, x64]\n    environment: release\n    permissions:\n      contents: write\n      # IMPORTANT: this permission is mandatory for trusted publishing to pypi\n      id-token: write\n    timeout-minutes: 30\n    env:\n      PYTHON_VERSION: \"3.8\"\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n        with:\n          token: ${{ secrets.GH_PAT_SECRET }}\n      - name: Import GPG key\n        id: import_gpg\n        uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4  # v5\n        with:\n          gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}\n          passphrase: ${{ secrets.PASSPHRASE }}\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Install dependencies\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ env.PYTHON_VERSION }}\n          pipenv install\n      - name: Calculate version\n        run: |\n          git fetch --tags --force\n          latest_tag=\"$(git tag --sort=v:refname | tail -n 1)\"\n          echo \"latest tag: $latest_tag\"\n          if [[ -z \"${{ inputs.versionBump }}\" ]]\n          then\n            version=\"patch\"\n          else\n            version=\"${{ inputs.versionBump }}\"\n          fi\n          case $version in\n            minor)\n              new_tag=$(echo \"$latest_tag\" | awk -F. -v a=\"$1\" -v b=\"$2\" -v c=\"$3\" '{printf(\"%d.%d.%d\", $1+a, $2+b+1 , 0)}')\n              ;;\n            major)\n              new_tag=$(echo \"$latest_tag\" | awk -F. -v a=\"$1\" -v b=\"$2\" -v c=\"$3\" '{printf(\"%d.%d.%d\", $1+a+1, 0 , 0)}')\n              ;;\n            patch)\n              new_tag=$(echo \"$latest_tag\" | awk -F. -v a=\"$1\" -v b=\"$2\" -v c=\"$3\" '{printf(\"%d.%d.%d\", $1+a, $2+b , $3+1)}')\n              ;;\n          esac\n\n          echo \"new tag: $new_tag\"\n          echo \"version=$new_tag\" >> \"$GITHUB_OUTPUT\"\n          \n          # grab major version for later image tag usage         \n          major_version=$(echo \"${new_tag}\" | head -c1)\n          echo \"major_version=$major_version\" >> \"$GITHUB_OUTPUT\"\n        id: calculateVersion\n      - name: version\n        env:\n          GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}\n        run: |\n          ## update docs\n          export PYTHONPATH='.'\n          # change the doc links to proper markdown versions\n          export CHECKOV_CREATE_MARKDOWN_HYPERLINKS='True'\n          git pull\n\n          for i in cloudformation terraform kubernetes serverless arm dockerfile secrets github_configuration gitlab_configuration bitbucket_configuration github_actions gitlab_ci bicep openapi bitbucket_pipelines argo_workflows circleci_pipelines azure_pipelines ansible all\n          do\n            export scansdoc=\"docs/5.Policy Index/$i.md\"\n            echo \"---\" > \"$scansdoc\"\n            echo \"layout: default\" >> \"$scansdoc\"\n            echo \"title: $i resource scans\" >> \"$scansdoc\"\n            echo \"nav_order: 1\" >> \"$scansdoc\"\n            echo \"---\" >> \"$scansdoc\"\n            echo \"\" >> \"$scansdoc\"\n            echo \"# $i resource scans (auto generated)\" >> \"$scansdoc\"\n            echo \"\" >> \"$scansdoc\"\n            pipenv run python checkov/main.py --list --framework \"$i\" >> \"$scansdoc\"\n          done\n\n          #add cloudformation scans to serverless\n          export scansdoc=\"docs/5.Policy Index/serverless.md\"\n          pipenv run python checkov/main.py --list --framework cloudformation >> \"$scansdoc\"\n          git add \"docs/5.Policy Index/*\"\n          git commit --reuse-message=\"HEAD@{1}\" || echo \"No changes to commit\"\n          \n          git config --global user.name 'GitHub Actions Bot'\n          git config --global user.email 'actions@github.com'\n          \n          new_tag=${{ steps.calculateVersion.outputs.version }}\n          echo \"new tag: $new_tag\"\n          ## update python version\n          echo \"version = '$new_tag'\" > 'checkov/version.py'\n          echo \"checkov==$new_tag\" > 'kubernetes/requirements.txt'\n\n          git commit --reuse-message=\"HEAD@{1}\" checkov/version.py kubernetes/requirements.txt || echo \"No changes to commit\"\n          git push origin\n          git tag $new_tag\n          git push --tags\n        id: version\n      - name: create python package\n        run: |\n          pipenv run python setup.py sdist bdist_wheel\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf  # v1\n      - name: sleep and wait for package to refresh\n        run: |\n          sleep 2m\n    outputs:\n      version: ${{ steps.calculateVersion.outputs.version }}\n      major_version: ${{ steps.calculateVersion.outputs.major_version }}\n  publish-checkov-dockerhub:\n    needs: bump-version\n    uses: bridgecrewio/gha-reusable-workflows/.github/workflows/publish-image.yaml@main\n    permissions:\n      contents: read\n      id-token: write  # Enable OIDC\n      packages: write\n    with:\n      image_name_dockerhub: bridgecrew/checkov\n      image_name_ghcr: ghcr.io/${{ github.repository }}\n      image_tag_full: ${{ needs.bump-version.outputs.version }}\n      image_tag_short: ${{ needs.bump-version.outputs.major_version }}\n      runner: \"['self-hosted', 'public', 'linux', 'x64']\"\n    secrets:\n      BC_API_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n      PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n      DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}\n      DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}\n  publish-checkov-k8s-dockerhub:\n    needs: bump-version\n    uses: bridgecrewio/gha-reusable-workflows/.github/workflows/publish-image.yaml@main\n    permissions:\n      contents: read\n      id-token: write  # Enable OIDC\n      packages: write\n    with:\n      image_name_dockerhub: bridgecrew/checkov-k8s\n      image_name_ghcr: ghcr.io/${{ github.repository }}-k8s\n      image_tag_full: ${{ needs.bump-version.outputs.version }}\n      image_tag_short: ${{ needs.bump-version.outputs.major_version }}\n      dockerfile_path: kubernetes/Dockerfile\n      runner: \"['self-hosted', 'public', 'linux', 'x64']\"\n    secrets:\n      BC_API_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n      PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n      DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}\n      DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}\n  update-bridgecrew-projects:\n    needs: publish-checkov-dockerhub\n    runs-on: [self-hosted, public, linux, x64]\n    environment: release\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - name: update checkov release\n        run: |\n          curl -X POST \"https://jenkins-webhook.bridgecrew.cloud/buildByToken/build?job=Open-Source/upgrade-checkov&token=${{ secrets.BC_JENKINS_TOKEN }}\"\n\n          # trigger checkov-action update\n          curl -XPOST -u \"${{ secrets.GH_PAT_USER}}:${{secrets.GH_PAT_SECRET}}\" -H \"Accept: application/vnd.github.everest-preview+json\" -H \"Content-Type: application/json\" https://api.github.com/repos/bridgecrewio/checkov-action/dispatches --data '{\"event_type\": \"build\"}'\n\n          # trigger bridgecrew-py update\n          curl -XPOST -u \"${{ secrets.GH_PAT_USER}}:${{secrets.GH_PAT_SECRET}}\" -H \"Accept: application/vnd.github.everest-preview+json\" -H \"Content-Type: application/json\" https://api.github.com/repos/bridgecrewio/bridgecrew-py/dispatches --data '{\"event_type\": \"build\"}'\n\n          # trigger whorf update\n          curl -XPOST -u \"${{ secrets.GH_PAT_USER}}:${{secrets.GH_PAT_SECRET}}\" -H \"Accept: application/vnd.github.everest-preview+json\" -H \"Content-Type: application/json\" https://api.github.com/repos/bridgecrewio/whorf/dispatches --data '{\"event_type\": \"release\"}'\n", "state": "active", "repository": "bridgecrewio/checkov"}
{"mined_at": "2024-07-15T14:38:29.262085", "created_at": "2019-12-19T17:14:45+01:00", "updated_at": "2024-04-24T19:08:58+02:00", "name": "PR Test", "path": ".github/workflows/pr-test.yml", "contents": "name: PR Test\n\non: pull_request\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    uses: bridgecrewio/gha-reusable-workflows/.github/workflows/pre-commit.yaml@main\n    with:\n      python-version: \"3.9\"\n\n  danger-check:\n    runs-on: [ self-hosted, public, linux, x64 ]\n    permissions:\n      contents: read\n      pull-requests: read\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - name: Install Node.js\n        uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8  # v4\n        with:\n          node-version: \"16\"\n      - name: Install and run DangerJS\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          npm install -g danger\n          danger ci --verbose --failOnErrors\n  cfn-lint:\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: \"3.8\"\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install cfn-lint\n        run: |\n          pip install -U cfn-lint\n      - name: Lint Cloudformation templates\n        run: |\n          cfn-lint tests/cloudformation/checks/resource/aws/**/* -i W\n\n  mypy:\n    uses: bridgecrewio/gha-reusable-workflows/.github/workflows/mypy.yaml@main\n    with:\n      python-version: \"3.8\"\n\n  unit-tests:\n    strategy:\n      fail-fast: true\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n          cache: \"pipenv\"\n          cache-dependency-path: \"Pipfile.lock\"\n      - uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78  # v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: imranismail/setup-kustomize@a76db1c6419124d51470b1e388c4b29476f495f1  # v2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Install dependencies\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ matrix.python }}\n\n          if [ '${{ matrix.python }}' == '3.12' ]; then\n            # needed for numpy\n            pipenv install --skip-lock --dev -v\n          else\n            pipenv install --dev -v\n          fi\n\n          # list all dependencies to get a better view about installed package versions\n          pipenv run pip list\n\n      - name: Get venv path\n        id: get-venv\n        run: |\n          echo \"venv=$(pipenv --venv)\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Run Redefine.dev\n        uses: redefinedev/redefine-action@main\n        with:\n          auth: ${{ secrets.REDEFINE_AUTH }}\n          python-venv-path: ${{ steps.get-venv.outputs.venv }}\n          testing-framework: pytest\n          mode: fail-fast\n          time-limit: 30  # approx 15% of the run time\n          config-args: matrix_value=${{ matrix.python }} file_based_prediction=true\n\n      - name: Unit tests\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: pipenv run python -m pytest tests\n\n  integration-tests:\n    strategy:\n      fail-fast: true\n      matrix:\n        python: [\"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n          cache: \"pipenv\"\n          cache-dependency-path: \"Pipfile.lock\"\n      - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8  # v4\n      - uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78  # v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: imranismail/setup-kustomize@a76db1c6419124d51470b1e388c4b29476f495f1  # v2\n        if: ${{ runner.os != 'windows' }}\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Build & install checkov package\n        shell: bash\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ matrix.python }}\n          pipenv run pip install pytest pytest-xdist setuptools wheel\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Clone Terragoat - vulnerable terraform\n        run: git clone https://github.com/bridgecrewio/terragoat\n      - name: Clone Cfngoat - vulnerable cloudformation\n        run: git clone https://github.com/bridgecrewio/cfngoat\n      - name: Clone Kubernetes-goat - vulnerable kubernetes\n        run: git clone https://github.com/madhuakula/kubernetes-goat\n      - name: Clone kustomize-goat - vulnerable kustomize\n        run: git clone https://github.com/bridgecrewio/kustomizegoat\n      - name: Create checkov reports\n        env:\n          LOG_LEVEL: INFO\n          BC_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        run: |\n          # Just making sure the API key tests don't run on PRs\n          bash -c './integration_tests/prepare_data.sh ${{ matrix.os }} 3.8'\n      - name: Run integration tests\n        run: |\n          pipenv run pytest integration_tests -k 'not api_key'\n\n  integration-tests-old-python:\n    strategy:\n      fail-fast: true\n      matrix:\n        python: [\"3.8\", \"3.9\"]\n        os: [ubuntu-latest, macos-12, windows-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n          cache: \"pipenv\"\n          cache-dependency-path: \"Pipfile.lock\"\n      - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8  # v4\n      - uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78  # v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: imranismail/setup-kustomize@a76db1c6419124d51470b1e388c4b29476f495f1  # v2\n        if: ${{ runner.os != 'windows' }}\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Build & install checkov package\n        shell: bash\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ matrix.python }}\n          pipenv run pip install pytest pytest-xdist setuptools wheel\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Clone Terragoat - vulnerable terraform\n        run: git clone https://github.com/bridgecrewio/terragoat\n      - name: Clone Cfngoat - vulnerable cloudformation\n        run: git clone https://github.com/bridgecrewio/cfngoat\n      - name: Clone Kubernetes-goat - vulnerable kubernetes\n        run: git clone https://github.com/madhuakula/kubernetes-goat\n      - name: Clone kustomize-goat - vulnerable kustomize\n        run: git clone https://github.com/bridgecrewio/kustomizegoat\n      - name: Create checkov reports\n        env:\n          LOG_LEVEL: INFO\n          BC_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        run: |\n          # Just making sure the API key tests don't run on PRs\n          bash -c './integration_tests/prepare_data.sh ${{ matrix.os }} 3.8'\n      - name: Run integration tests\n        run: |\n          pipenv run pytest integration_tests -k 'not api_key'\n\n  sast-integration-tests:\n    strategy:\n      fail-fast: true\n      matrix:\n        python: [\"3.12\"]\n        os: [ubuntu-latest, macos-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n          cache: \"pipenv\"\n          cache-dependency-path: \"Pipfile.lock\"\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Build & install checkov package\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ matrix.python }}\n          pipenv run pip install pytest pytest-xdist setuptools wheel\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Clone flask - Python repo for SAST\n        run: git clone https://github.com/pallets/flask\n      - name: Clone WebGoat - Java repo for SAST\n        run: git clone https://github.com/WebGoat/WebGoat\n      - name: Clone axios - JavaScript repo for SAST\n        run: git clone https://github.com/axios/axios\n      - name: Create checkov reports\n        env:\n          LOG_LEVEL: INFO\n          BC_API_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        if: env.BC_API_KEY != null\n        run: bash -c './sast_integration_tests/prepare_data.sh'\n      - name: Run integration tests\n        env:\n          LOG_LEVEL: INFO\n          BC_API_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        if: env.BC_API_KEY != null\n        run: |\n          pipenv run pytest sast_integration_tests\n\n  sast-integration-tests-old-python:\n    strategy:\n      fail-fast: true\n      matrix:\n        python: [\"3.8\"]\n        os: [ubuntu-latest, macos-12]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n          cache: \"pipenv\"\n          cache-dependency-path: \"Pipfile.lock\"\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Build & install checkov package\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ matrix.python }}\n          pipenv run pip install pytest pytest-xdist setuptools wheel\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Clone flask - Python repo for SAST\n        run: git clone https://github.com/pallets/flask\n      - name: Clone WebGoat - Java repo for SAST\n        run: git clone https://github.com/WebGoat/WebGoat\n      - name: Clone axios - JavaScript repo for SAST\n        run: git clone https://github.com/axios/axios\n      - name: Create checkov reports\n        env:\n          LOG_LEVEL: INFO\n          BC_API_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        if: env.BC_API_KEY != null\n        run: bash -c './sast_integration_tests/prepare_data.sh'\n      - name: Run integration tests\n        env:\n          LOG_LEVEL: INFO\n          BC_API_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        if: env.BC_API_KEY != null\n        run: |\n          pipenv run pytest sast_integration_tests\n\n  cdk-integration-tests:\n    strategy:\n      fail-fast: true\n      matrix:\n        python: [\"3.12\"]\n        os: [ubuntu-latest, macos-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n          cache: \"pipenv\"\n          cache-dependency-path: \"Pipfile.lock\"\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Build & install checkov package\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ matrix.python }}\n          pipenv run pip install pytest pytest-xdist setuptools wheel\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Create checkov reports\n        env:\n          LOG_LEVEL: INFO\n          BC_API_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        if: env.BC_API_KEY != null\n        run: bash -c './cdk_integration_tests/prepare_data.sh'\n      - name: Run integration tests\n        env:\n          LOG_LEVEL: INFO\n          BC_API_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        if: env.BC_API_KEY != null\n        run: |\n          pipenv run pytest cdk_integration_tests\n\n  cdk-integration-tests-old-python:\n    strategy:\n      fail-fast: true\n      matrix:\n        python: [\"3.8\"]\n        os: [ubuntu-latest, macos-12]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n          cache: \"pipenv\"\n          cache-dependency-path: \"Pipfile.lock\"\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Build & install checkov package\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ matrix.python }}\n          pipenv run pip install pytest pytest-xdist setuptools wheel\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Create checkov reports\n        env:\n          LOG_LEVEL: INFO\n          BC_API_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        if: env.BC_API_KEY != null\n        run: bash -c './cdk_integration_tests/prepare_data.sh'\n      - name: Run integration tests\n        env:\n          LOG_LEVEL: INFO\n          BC_API_KEY: ${{ secrets.PRISMA_KEY_API2 }}\n          PRISMA_API_URL: ${{ secrets.PRISMA_API_URL_2 }}\n        if: env.BC_API_KEY != null\n        run: |\n          pipenv run pytest cdk_integration_tests\n\n  performance-tests:\n    env:\n      PYTHON_VERSION: \"3.8\"\n      working-directory: ./performance_tests\n    runs-on: [self-hosted, public, linux, x64]\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          cache: \"pipenv\"\n          cache-dependency-path: \"Pipfile.lock\"\n      - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8  # v4\n      - uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78  # v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: imranismail/setup-kustomize@a76db1c6419124d51470b1e388c4b29476f495f1  # v2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Build & install checkov package\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ env.PYTHON_VERSION }}\n          # 'py' package is used in 'pytest-benchmark', but 'pytest' removed it in their latest version\n          pipenv run pip install pytest pytest-benchmark py\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Clone terraform-aws-components\n        run: git clone --branch 0.182.0 https://github.com/cloudposse/terraform-aws-components.git\n        working-directory: ${{ env.working-directory }}\n      - name: Clone aws-cloudformation-templates\n        run: git clone --branch 0.0.1 https://github.com/awslabs/aws-cloudformation-templates.git\n        working-directory: ${{ env.working-directory }}\n      - name: Clone kubernetes-yaml-templates\n        run: git clone https://github.com/dennyzhang/kubernetes-yaml-templates.git\n        working-directory: ${{ env.working-directory }}\n# TODO: migrate to separate performance tests\n#      - name: Clone Python-Mini-Projects\n#        run: git clone https://github.com/alimoustafa2000/Python-Mini-Projects.git\n#        working-directory: ${{ env.working-directory }}\n#      - name: Clone NodeJs\n#        run: git clone https://github.com/harshitbansal373/NodeJs.git\n#        working-directory: ${{ env.working-directory }}\n#      - name: Clone Mini-Project-using-Java\n#        run: git clone https://github.com/ikanurfitriani/Mini-Project-using-Java.git\n#        working-directory: ${{ env.working-directory }}\n      - name: Run performance tests\n        run: |\n          pipenv run pytest\n        working-directory: ${{ env.working-directory }}\n\n  dogfood-tests:\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: \"3.8\"\n      WORKING_DIRECTORY: ./dogfood_tests\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          cache: \"pipenv\"\n          cache-dependency-path: \"Pipfile.lock\"\n      - uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78  # v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: imranismail/setup-kustomize@a76db1c6419124d51470b1e388c4b29476f495f1  # v2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n\n      - name: Build & install checkov package\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ env.PYTHON_VERSION }}\n          pipenv run pip install pytest pytest-xdist\n          pipenv run python setup.py sdist bdist_wheel\n          bash -c 'pipenv run pip install dist/checkov-*.whl'\n      - name: Run dogfood tests\n        run: |\n          pipenv run pytest\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n", "state": "active", "repository": "bridgecrewio/checkov"}
{"mined_at": "2024-07-15T14:38:30.346955", "created_at": "2020-06-08T15:03:23+02:00", "updated_at": "2023-06-06T21:34:10+02:00", "name": "security", "path": ".github/workflows/security.yaml", "contents": null, "state": "active", "repository": "bridgecrewio/checkov"}
{"mined_at": "2024-07-15T14:38:31.474899", "created_at": "2021-07-26T17:19:50+02:00", "updated_at": "2021-07-26T17:19:50+02:00", "name": "pipenv-update", "path": ".github/workflows/pipenv-update.yml", "contents": "name: pipenv-update\non:\n  schedule:\n    - cron:  '8 22 * * 1'\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  pipenv-update:\n    runs-on: [self-hosted, public, linux, x64]\n    permissions:\n      contents: write\n      pull-requests: write\n    env:\n      PYTHON_VERSION: \"3.8\"\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n        with:\n          ref: ${{ github.head_ref }}\n          token: ${{ secrets.GH_PAT_SECRET }}\n      - name: Import GPG key\n        id: import_gpg\n        uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4  # v5\n        with:\n          gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}\n          passphrase: ${{ secrets.PASSPHRASE }}\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - run: |\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          pipenv update\n          git add -u\n          git commit -m \"update pipenv packages\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}\n      - name: Create Pull Request\n        id: cpr\n        uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38  # v5\n        with:\n          token: ${{ secrets.PAT_TOKEN }}\n          title: '[AUTO-PR] Update pipenv packages'\n          body: |\n            bump pipenv packages\n            - Auto-generated by [pipenv-update github action](https://github.com/bridgecrewio/checkov/blob/main/.github/workflows/pipenv-update.yml)\n          labels: automated pr\n          branch: pipenvfix\n          branch-suffix: timestamp\n", "state": "active", "repository": "bridgecrewio/checkov"}
{"mined_at": "2024-07-15T14:38:32.702716", "created_at": "2021-12-01T12:37:22+01:00", "updated_at": "2021-12-01T12:37:22+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '17 4 * * 2'\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: [self-hosted, public, linux, x64]\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - name: Set up Python\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: '3.10'\n      - name: Setup python for CodeQL\n        run: |\n          python -m pip install --no-cache-dir --upgrade pip pipenv\n          echo \"CODEQL_PYTHON=$(which python)\" >> \"$GITHUB_ENV\"\n      - name: Check Pipfile.lock changed\n        uses: tj-actions/verify-changed-files@9ed3155b72ba709881c967f75611fc5852f773b9  # v13\n        id: changed_files\n        with:\n          files: Pipfile.lock\n      - name: Setup dependencies if they changed\n        if: steps.changed_files.outputs.files_changed == 'true'\n        run: |\n          pipenv lock -r > requirements.txt\n          pip install -r requirements.txt\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118  # v2\n        with:\n          languages: python\n          setup-python-dependencies: false\n          config-file: ./.github/codeql-config.yml\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118  # v2\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118  # v2\n", "state": "active", "repository": "bridgecrewio/checkov"}
{"mined_at": "2024-07-15T14:38:33.931367", "created_at": "2021-12-06T10:38:48+01:00", "updated_at": "2021-12-06T10:51:45+01:00", "name": "Coverage", "path": ".github/workflows/coverage.yaml", "contents": "name: Coverage\n\non:\n  schedule:\n    - cron: '0 0 * * 0'\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  update-coverage:\n    runs-on: [ self-hosted, public, linux, x64 ]\n    permissions:\n      contents: write\n    environment: release\n    env:\n      PYTHON_VERSION: \"3.8\"\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n        with:\n          token: ${{ secrets.GH_PAT_SECRET }}\n      - name: Import GPG key\n        id: import_gpg\n        uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4  # v5\n        with:\n          gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}\n          passphrase: ${{ secrets.PASSPHRASE }}\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78  # v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: imranismail/setup-kustomize@a76db1c6419124d51470b1e388c4b29476f495f1  # v2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Install dependencies\n        run: |\n          # remove venv, if exists\n          pipenv --rm || true\n          pipenv --python ${{ env.PYTHON_VERSION }}\n          pipenv install --dev\n          pipenv run pip install pytest\n      - name: Test with pytest\n        run: |\n          pipenv run pytest --cov-report term --cov=checkov tests\n          pipenv run python -m coverage_badge -o coverage.svg -f\n          git commit -m \"Update coverage\" coverage.svg || echo \"No changes to commit\"\n", "state": "active", "repository": "bridgecrewio/checkov"}
{"mined_at": "2024-07-15T14:38:35.112437", "created_at": "2022-08-19T11:20:22+02:00", "updated_at": "2023-07-06T20:34:38+02:00", "name": "Nightly Run", "path": ".github/workflows/nightly.yml", "contents": "name: Nightly Run\n\non:\n  schedule:\n    # daily at 23:00 UTC\n    - cron: \"0 23 * * *\"\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  github-release:\n    runs-on: [self-hosted, public, linux, x64]\n    environment: release\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.GH_PAT_SECRET }}\n      - name: Prepare Release\n        id: prepare_release\n        run: |\n          # grab latest release and tag to compare and decide to create a new one\n          create_release=true\n          latest_gh_release=$(curl -s \"https://api.github.com/repos/${{ github.repository }}/releases/latest\"  | grep -Po '\"tag_name\": \"\\K.*?(?=\")')\n          latest_tag=$(git describe --abbrev=0 --tags)\n\n          if [ \"$latest_gh_release\" = \"$latest_tag\" ]\n          then\n            create_release=false\n          fi\n\n          echo \"create_release=$create_release\" >> \"$GITHUB_OUTPUT\"\n          echo \"latest_release_version=$latest_gh_release\" >> \"$GITHUB_OUTPUT\"\n          echo \"version=$latest_tag\" >> \"$GITHUB_OUTPUT\"\n      - name: Build GitHub Release changelog\n        if: steps.prepare_release.outputs.create_release == 'true'\n        id: build_github_release\n        uses: mikepenz/release-changelog-builder-action@5f3409748e2230350e149a7f7b5b8e9bcd785d44  # v3\n        env:\n          GITHUB_TOKEN: ${{ secrets.GH_PAT_SECRET }}\n        with:\n          configuration: \".github/release-changelog-config.json\"\n          fromTag: ${{ steps.prepare_release.outputs.latest_release_version }}\n          toTag: ${{ steps.prepare_release.outputs.version }}\n      - name: Create GitHub Release\n        if: steps.build_github_release.outputs.changelog != ''\n        uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844  # v1\n        id: create_github_release\n        with:\n          tag_name: ${{ steps.prepare_release.outputs.version }}\n          name: ${{ steps.prepare_release.outputs.version }}\n          body: ${{ steps.build_github_release.outputs.changelog }}\n      - name: Update CHANGELOG.md\n        if: steps.build_github_release.outputs.changelog != ''\n        uses: stefanzweifel/changelog-updater-action@622311becab6b400fd95efaf29719f401ffa4691  # v1\n        with:\n          latest-version: ${{ steps.prepare_release.outputs.version }}\n          release-notes: ${{ steps.build_github_release.outputs.changelog }}\n      - name: Commit updated CHANGELOG.md\n        if: steps.build_github_release.outputs.changelog != ''\n        uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d  # v5\n        with:\n          commit_message: \"chore: update release notes\"\n          file_pattern: CHANGELOG.md\n    outputs:\n      upload_url: ${{ steps.create_github_release.outputs.upload_url }}\n      version: ${{ steps.prepare_release.outputs.version }}\n  build-release-artifacts:\n    strategy:\n      matrix:\n        include:\n          - os: macos-latest\n            name: darwin\n            suffix: ''\n          - os: ubuntu-latest\n            name: linux\n            suffix: ''\n          - os: windows-latest\n            name: windows\n            suffix: '.exe'\n    needs: [github-release]\n    if: needs.github-release.outputs.upload_url != ''\n    runs-on: ${{ matrix.os }}\n    permissions:\n      contents: write\n    env:\n      PYTHON_VERSION: \"3.8\"\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c  # v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Install deps and run pyinstaller\n        run: |\n          pipenv sync\n          pipenv run pip install pyinstaller\n      - name: Build executable\n        run: pipenv run pyinstaller checkov.spec\n      - name: Windows - Test executable\n        if: matrix.os == 'windows-latest'\n        shell: bash\n        # make sure it doesn't crash\n        run: ./dist/checkov.exe -s -d tests/terraform/checks/resource/alicloud\n      - name: Windows - zip artifact\n        if: matrix.os == 'windows-latest'\n        run: tar.exe -a -c -f checkov.zip dist\\\\checkov.exe\n      - name: Linux/Mac - Test executable\n        if: matrix.os != 'windows-latest'\n        # make sure it doesn't crash\n        run: ./dist/checkov -s -d tests/terraform/checks/resource/alicloud\n      - name: Linux/Mac - zip artifact\n        if: matrix.os != 'windows-latest'\n        run: zip checkov.zip dist/checkov\n      - name: Upload Release Asset\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ needs.github-release.outputs.upload_url }}\n          asset_path: checkov.zip\n          asset_name: checkov_${{ matrix.name }}_X86_64.zip\n          asset_content_type: application/zip\n  build-release-artifact-linux-arm:\n    needs: [ github-release ]\n    if: needs.github-release.outputs.upload_url != ''\n    runs-on: [self-hosted, public, linux, arm64]\n    container:\n      image: arm64v8/python:3.8\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install pipenv\n        run: |\n          python -m pip install --no-cache-dir --upgrade pipenv\n      - name: Install deps and run pyinstaller\n        run: |\n          pipenv sync\n          pipenv run pip install pyinstaller\n      - name: Build executable\n        run: pipenv run pyinstaller checkov.spec\n      - name: zip artifact\n        run: |\n          apt-get update\n          apt install zip\n          zip checkov.zip dist/checkov\n      - name: Upload Release Asset\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ needs.github-release.outputs.upload_url }}\n          asset_path: checkov.zip\n          asset_name: checkov_linux_arm64.zip\n          asset_content_type: application/zip\n", "state": "active", "repository": "bridgecrewio/checkov"}
{"mined_at": "2024-07-15T14:38:36.286170", "created_at": "2022-08-19T11:20:22+02:00", "updated_at": "2023-06-06T21:34:10+02:00", "name": "PR Title", "path": ".github/workflows/pr-title.yaml", "contents": null, "state": "active", "repository": "bridgecrewio/checkov"}
{"mined_at": "2024-07-15T14:38:37.466363", "created_at": "2023-05-11T14:28:54+02:00", "updated_at": "2023-05-11T14:28:54+02:00", "name": "Deploy Jekyll with GitHub Pages dependencies preinstalled", "path": ".github/workflows/jekyll-gh-pages.yml", "contents": "# Sample workflow for building and deploying a Jekyll site to GitHub Pages\nname: Deploy Jekyll with GitHub Pages dependencies preinstalled\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches: [\"main\"]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  # Build job\n  build:\n    runs-on: [self-hosted, public, linux, x64]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n      - name: Setup Pages\n        uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d  # v3\n      - name: Build with Jekyll\n        uses: actions/jekyll-build-pages@e4ef22193c23ea849fc3fea6dbce69da1ee65b6d  # v1\n        with:\n          source: ./docs\n          destination: ./_site\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@0252fc4ba7626f0298f0cf00902a25c6afc77fa8  # v2\n\n  # Deployment job\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: [self-hosted, public, linux, x64]\n    needs: build\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@87c3283f01cd6fe19a0ab93a23b2f6fcba5a8e42  # v2\n", "state": "active", "repository": "bridgecrewio/checkov"}
{"mined_at": "2024-07-15T14:38:38.641957", "created_at": "2023-06-01T12:35:26+02:00", "updated_at": "2023-06-01T13:06:00+02:00", "name": "PR Title", "path": ".github/workflows/pr-title.yml", "contents": "name: PR Title\n\non:\n  pull_request:\n    branches:\n      - main\n    types: [opened, edited, reopened, synchronize]\n\npermissions:\n  contents: read\n\njobs:\n  validate:\n    runs-on: [self-hosted, public, linux, x64]\n    permissions:\n      contents: write\n    steps:\n      - uses: thehanimo/pr-title-checker@5652588c80c479af803eabfbdb5a3895a77c1388  # v1\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          configuration_path: \".github/pr-title-checker-config.json\"\n", "state": "active", "repository": "bridgecrewio/checkov"}
{"mined_at": "2024-07-15T14:38:39.974250", "created_at": "2023-06-01T13:06:00+02:00", "updated_at": "2023-06-01T13:06:00+02:00", "name": "security-shared", "path": ".github/workflows/security-shared.yml", "contents": "# !!! Important !!!\n# This a reusable workflow and is used in the PR and push to main branch flow separately\n# to be able to protect it behind a manual approval in the PR flow\n\nname: security-shared\n\non:\n  workflow_call:\n\npermissions:\n  contents: read\n\njobs:\n  bandit:\n    runs-on: [self-hosted, public, linux, x64]\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: security test\n        uses: jpetrucciani/bandit-check@0a848ad401dadaf2937e4c9cc9a4eeeea2d0b5df  # v1\n        with:\n          path: 'checkov'\n  trufflehog-secrets:\n    runs-on: [self-hosted, public, linux, x64]\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: detect secrets\n        uses: edplato/trufflehog-actions-scan@0af17d9dd1410283f740eb76b0b8f6b696cadefc  # v0.9\n        with:\n          scanArguments: \"--regex --entropy=False --exclude_paths .github/exclude-patterns.txt --max_depth=1\"\n  checkov-secrets:\n    runs-on: [self-hosted, public, linux, x64]\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Scan for secrets\n        uses: bridgecrewio/checkov-action@master  # use latest and greatest\n        with:\n          api-key: ${{ secrets.PRISMA_KEY_API2 }}\n          prisma-api-url: ${{ secrets.PRISMA_API_URL_2 }}\n          config_file: .github/checkov.yaml\n", "state": "active", "repository": "bridgecrewio/checkov"}
{"mined_at": "2024-07-15T14:38:41.201645", "created_at": "2023-06-01T13:06:00+02:00", "updated_at": "2023-07-06T11:15:35+02:00", "name": "security", "path": ".github/workflows/security.yml", "contents": "# !!! Important !!!\n# any change to this workflow will not take into effect on the same PR and only after,\n# because of security implications from target 'pull_request_target'\n\nname: security\n\non:\n  pull_request_target:  # this is needed to use the API key in a PR\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  start-security-scan:\n    runs-on: ubuntu-latest\n    environment: scan-security\n    steps:\n      - run: echo start security scan  # just needs a simple step to better control the follow-up jobs\n  security:\n    needs: start-security-scan\n    uses: ./.github/workflows/security-shared.yml\n    secrets: inherit\n", "state": "active", "repository": "bridgecrewio/checkov"}
{"mined_at": "2024-07-15T14:38:43.195339", "created_at": "2023-08-10T00:23:24+02:00", "updated_at": "2023-08-10T00:23:24+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tensorflow/agents"}
{"mined_at": "2024-07-15T14:38:45.241665", "created_at": "2021-01-02T12:46:20+01:00", "updated_at": "2021-02-27T17:50:14+01:00", "name": ".github/workflows/docker-publish.yml", "path": ".github/workflows/docker-publish.yml", "contents": "on:\n  push:\n    # Publish `dev` as Docker `latest` image.\n    branches:\n      - dev\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n      - name: Run tests\n        run: echo \"to-do\"\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.REPO_ACCESS_TOKEN }}\n          repository: librephotos/librephotos-docker\n          event-type: backend-commit-event\n", "state": "active", "repository": "librephotos/librephotos"}
{"mined_at": "2024-07-15T14:38:46.425457", "created_at": "2021-08-19T17:52:20+02:00", "updated_at": "2021-08-30T15:22:42+02:00", "name": "Linting (using pre-commit)", "path": ".github/workflows/pre-commit.yml", "contents": "name: Linting (using pre-commit)\n\non: [push, pull_request]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n      - name: Run pre-commit check\n        uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "librephotos/librephotos"}
{"mined_at": "2024-07-15T14:38:48.630094", "created_at": "2020-04-10T11:53:18+02:00", "updated_at": "2023-05-03T18:32:57+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install poetry\n      run: |\n        curl -sSL \"https://install.python-poetry.org\" | python\n\n        # Adding `poetry` to `$PATH`:\n        echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n\n    - name: Install dependencies\n      run: |\n        poetry config virtualenvs.in-project true\n        poetry install --all-extras\n\n        poetry run pip install -U pip\n\n    - name: Run tests\n      run: |\n        poetry run flake8 .\n\n        # In order to make `exclude` option work, we need to separate the checks\n        # of returns and its tests into two separated commands\n        poetry run mypy --enable-error-code=unused-awaitable returns\n        poetry run mypy tests\n\n        # Different python versions are covered differently:\n        poetry run pytest returns docs/pages tests\n\n        poetry run doc8 -q docs\n        poetry run codespell returns tests docs typesafety README.md CONTRIBUTING.md CHANGELOG.md\n\n        poetry run poetry check\n        poetry run pip check\n        poetry run python -m slotscheck returns --verbose\n\n    - name: Upload coverage to Codecov\n      if: matrix.python-version == 3.11\n      uses: codecov/codecov-action@v4\n      with:\n        file: ./coverage.xml\n\n  typesafety-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n        shard: [0, 1, 2, 3]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install poetry\n      run: |\n        curl -sSL \"https://install.python-poetry.org\" | python\n\n        # Adding `poetry` to `$PATH`:\n        echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n\n    - name: Install dependencies\n      run: |\n        poetry config virtualenvs.in-project true\n        poetry install --all-extras\n\n        poetry run pip install -U pip\n\n    - name: Run typesafety tests\n      run: |\n        poetry run pytest typesafety \\\n          --num-shards=4 --shard-id=${{ matrix.shard }} \\\n          -p no:cov -o addopts=\"\" --mypy-ini-file=setup.cfg\n", "state": "active", "repository": "dry-python/returns"}
{"mined_at": "2024-07-15T14:38:50.666695", "created_at": "2019-12-20T08:32:41+01:00", "updated_at": "2019-12-20T08:32:41+01:00", "name": "wps", "path": ".github/workflows/wps.yml", "contents": "name: wps\n\non:\n  pull_request:\n    branches:\n      - master\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: wemake-services/wemake-python-styleguide@master\n      with:\n        reporter: 'github-pr-review'\n      env:\n        GITHUB_TOKEN: ${{ secrets.github_token }}\n", "state": "active", "repository": "wemake-services/wemake-python-styleguide"}
{"mined_at": "2024-07-15T14:38:51.692476", "created_at": "2020-01-10T11:37:02+01:00", "updated_at": "2020-01-11T17:11:40+01:00", "name": "rebase", "path": "", "contents": null, "state": "active", "repository": "wemake-services/wemake-python-styleguide"}
{"mined_at": "2024-07-15T14:38:52.708573", "created_at": "2020-03-30T14:52:28+02:00", "updated_at": "2020-10-20T19:59:24+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install poetry\n      run: |\n        curl -sSL \"https://install.python-poetry.org\" | python\n\n        # Adding `poetry` to `$PATH`:\n        echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n\n    - name: Install dependencies\n      run: |\n        poetry config virtualenvs.in-project true\n        poetry run pip install -U pip\n        poetry install\n\n    - name: Run tests\n      run: make test\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        file: ./coverage.xml\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "wemake-services/wemake-python-styleguide"}
{"mined_at": "2024-07-15T14:38:53.796756", "created_at": "2020-11-06T17:49:16+01:00", "updated_at": "2020-11-06T17:49:16+01:00", "name": "depup", "path": ".github/workflows/depup.yml", "contents": "name: depup\n\n'on':\n  workflow_dispatch:\n  schedule:\n    - cron: '30 7 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  reviewdog:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: haya14busa/action-depup@v1\n        id: depup\n        with:\n          file: Dockerfile\n          version_name: REVIEWDOG_VERSION\n          repo: reviewdog/reviewdog\n\n      - name: Create Pull Request to update reviewdog\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          title: \"chore(deps): update reviewdog to ${{ steps.depup.outputs.latest }}\"\n          commit-message: \"chore(deps): update reviewdog to ${{ steps.depup.outputs.latest }}\"\n", "state": "active", "repository": "wemake-services/wemake-python-styleguide"}
{"mined_at": "2024-07-15T14:38:55.793337", "created_at": "2022-06-25T21:32:30+02:00", "updated_at": "2022-06-25T21:32:30+02:00", "name": "Label new pull request", "path": ".github/workflows/label_pr.yaml", "contents": "name: Label new pull request\n\non:\n  pull_request_target:\n    types:\n      - opened\n    branches:\n      - dev-3.x\n\njobs:\n  put-label:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Add 3.x label\n        uses: andymckay/labeler@master\n        with:\n          add-labels: 3.x\n", "state": "active", "repository": "aiogram/aiogram"}
{"mined_at": "2024-07-15T14:38:56.835563", "created_at": "2022-03-26T17:15:28+01:00", "updated_at": "2023-02-18T15:12:41+01:00", "name": "Check that changes are described", "path": ".github/workflows/pull_request_changelog.yml", "contents": "name: \"Check that changes are described\"\non:\n  pull_request_target:\n    types:\n      - \"opened\"\n      - \"reopened\"\n      - \"synchronize\"\n      - \"labeled\"\n      - \"unlabeled\"\n\njobs:\n  changes-required:\n    runs-on: ubuntu-latest\n    if: \"!contains(github.event.pull_request.labels.*.name, 'skip news')\"\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          fetch-depth: '0'\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install towncrier\n        run: pip install towncrier\n\n      - name: Check changelog\n        env:\n          BASE_BRANCH: ${{ github.base_ref }}\n        run: |\n          git fetch --no-tags origin +refs/heads/${BASE_BRANCH}:refs/remotes/origin/${BASE_BRANCH}\n          towncrier check --compare-with origin/${BASE_BRANCH}\n\n      - name: Find bot comment\n        if: \"always()\"\n        uses: peter-evans/find-comment@v2\n        id: fc\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-author: 'github-actions[bot]'\n          body-includes: Changelog\n\n      - name: Ask for changelog\n        if: \"failure()\"\n        uses: peter-evans/create-or-update-comment@v2\n        with:\n          edit-mode: replace\n          comment-id: ${{ steps.fc.outputs.comment-id }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            # :x: Changelog is required!\n\n            You need to add a brief description of the changes to the `CHANGES` directory.\n\n            Changes file should be named like `<issue or PR number>.<category>.rst`,\n            example `1234.bugfix.rst` where `1234` is the PR or issue number and `bugfix` is the category.\n\n            The content of the file should be a brief description of the changes in\n            the PR in the format of a description of what has been done.\n\n            Possible categories are: `feature`, `bugfix`, `doc`, `removal` and `misc`.\n\n      - name: Changelog found\n        if: \"success()\"\n        uses: peter-evans/create-or-update-comment@v2\n        with:\n          edit-mode: replace\n          comment-id: ${{ steps.fc.outputs.comment-id }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            # :heavy_check_mark: Changelog found.\n\n            Thank you for adding a description of the changes\n\n  skip-news:\n    runs-on: ubuntu-latest\n    if: \"contains(github.event.pull_request.labels.*.name, 'skip news')\"\n    steps:\n      - name: Find bot comment\n        uses: peter-evans/find-comment@v2\n        id: fc\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-author: 'github-actions[bot]'\n          body-includes: Changelog\n\n      - name: Comment when docs is not needed\n        uses: peter-evans/create-or-update-comment@v2\n        with:\n          edit-mode: replace\n          comment-id: ${{ steps.fc.outputs.comment-id }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            # :corn: Changelog is not needed.\n\n            This PR does not require a changelog because `skip news` label is present.\n", "state": "active", "repository": "aiogram/aiogram"}
{"mined_at": "2024-07-15T14:38:57.871986", "created_at": "2023-02-12T02:23:25+01:00", "updated_at": "2023-02-18T15:12:41+01:00", "name": "Deploy", "path": ".github/workflows/pypi-release.yml", "contents": "name: \"Deploy\"\n\non:\n  push:\n    tags:\n      - 'v3.*'\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install build dependencies\n        run: python -m pip install --upgrade build\n\n      - name: Resolve version\n        id: package-version\n        run: echo \"value=$(echo ${{ github.ref }} | sed -e 's/refs\\/tags\\/v//')\" >> $GITHUB_OUTPUT\n\n      # - name: Bump version\n      #   run: hatch version ${{ steps.package-version.outputs.value }}\n\n      - name: Build source distribution\n        run: python -m build .\n\n      - name: Try install wheel\n        run: |\n          pip install -U virtualenv\n          mkdir -p try_install\n          cd try_install\n          virtualenv venv\n          venv/bin/pip install ../dist/aiogram-*.whl\n          venv/bin/python -c \"import aiogram; print(aiogram.__version__)\"\n      - name: Publish artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: dist\n          path: dist/*\n\n  publish:\n    name: Publish\n    needs: build\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/project/aiogram/${{ steps.package-version.outputs.value }}/\n    permissions:\n      id-token: write\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v1\n        with:\n          name: dist\n          path: dist\n\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "aiogram/aiogram"}
{"mined_at": "2024-07-15T14:38:58.895699", "created_at": "2019-12-26T09:29:19+01:00", "updated_at": "2023-02-18T15:12:41+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - dev-3.x\n    paths:\n      - \".github/workflows/tests.yml\"\n      - \"aiogram/**\"\n      - \"tests/**\"\n      - \"codecov.yaml\"\n      - \"pyproject.toml\"\n  pull_request:\n    branches:\n      - dev-3.x\n    paths:\n      - \".github/workflows/tests.yml\"\n      - \"aiogram/**\"\n      - \"tests/**\"\n      - \"pyproject.toml\"\n\njobs:\n  tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - macos-latest\n          - windows-latest\n        python-version:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n\n    defaults:\n      # Windows sucks. Force use bash instead of PowerShell\n      run:\n        shell: bash\n\n    runs-on: ${{ matrix.os }}\n\n    env:\n      # Windows has some limitations:\n      # – Redis and MongoDB is not supported on GitHub Windows runners;\n      IS_WINDOWS: ${{ startswith(matrix.os, 'windows') }}\n      # MongoDB has some limitations:\n      # – MongoDB container action is only supported on Linux;\n      IS_UBUNTU: ${{ startswith(matrix.os, 'ubuntu') }}\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: pyproject.toml\n\n      - name: Install project dependencies\n        run: |\n          pip install -e .[dev,test,redis,mongo,proxy,i18n,fast]\n\n      - name: Lint code\n        run: |\n          ruff check --output-format=github aiogram examples\n          mypy aiogram\n          black --check --diff aiogram tests\n\n      - name: Setup redis\n        if: ${{ env.IS_WINDOWS == 'false' }}\n        uses: shogo82148/actions-setup-redis@v1\n        with:\n          redis-version: 6\n\n      - name: Setup mongodb\n        if: ${{ env.IS_UBUNTU == 'true' }}\n        uses: supercharge/mongodb-github-action@1.10.0\n        with:\n          mongodb-version: '7.0'\n          mongodb-username: mongo\n          mongodb-password: mongo\n          mongodb-port: 27017\n\n      - name: Run tests\n        run: |\n          flags=\"$flags --cov=aiogram --cov-config .coveragerc --cov-report=xml\"\n          [[ \"$IS_WINDOWS\" == \"false\" ]] && flags=\"$flags --redis redis://localhost:6379/0\"\n          [[ \"$IS_UBUNTU\" == \"true\" ]] && flags=\"$flags --mongo mongodb://mongo:mongo@localhost:27017\"\n          pytest $flags\n\n      - name: Upload coverage data\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n          flags: unittests\n          name: py-${{ matrix.python-version }}-${{ matrix.os }}\n          fail_ci_if_error: true\n\n  pypy-tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - macos-latest\n          # - windows-latest\n        python-version:\n          - 'pypy3.8'\n          - 'pypy3.9'\n          - 'pypy3.10'\n\n    defaults:\n      # Windows sucks. Force use bash instead of PowerShell\n      run:\n        shell: bash\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: pyproject.toml\n\n      - name: Install project dependencies\n        run: |\n          pip install -e .[dev,test,redis,mongo,proxy,i18n,fast]\n\n      - name: Run tests\n        run: |\n          flags=\"\"\n          pytest $flags\n", "state": "active", "repository": "aiogram/aiogram"}
{"mined_at": "2024-07-15T14:39:01.988512", "created_at": "2020-11-25T18:18:12+01:00", "updated_at": "2023-11-02T19:08:20+01:00", "name": "dev-docs", "path": ".github/workflows/dev-docs.yml", "contents": "name: dev-docs\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Build River\n        uses: ./.github/actions/install-env\n        with:\n          python-version: \"3.12\"\n          build-root: false\n\n      - name: Install extra Ubuntu dependencies\n        run: sudo apt-get install graphviz pandoc\n\n      - name: Install extra Python dependencies\n        run: |\n          poetry install --with docs\n\n      - name: Build docs\n        run: |\n          source $VENV\n          make doc\n\n      - name: Deploy docs\n        env:\n          GH_TOKEN: ${{ secrets.GitHubToken }}\n        run: |\n          source $VENV\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git config pull.rebase false\n          git add --all\n          git commit -m \"Release dev docs\" --allow-empty\n          git fetch\n          git checkout gh-pages\n          git pull\n          git checkout main\n          mike deploy dev --push --remote https://github.com/${{ github.repository }}.git\n", "state": "active", "repository": "online-ml/river"}
{"mined_at": "2024-07-15T14:39:03.219128", "created_at": "2020-11-25T18:57:02+01:00", "updated_at": "2022-09-02T13:31:02+02:00", "name": "release-docs", "path": ".github/workflows/release-docs.yml", "contents": "name: release-docs\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  ubuntu:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Build River\n        uses: ./.github/actions/install-env\n        with:\n          python-version: \"3.12\"\n\n      - name: Install extra Ubuntu dependencies\n        run: sudo apt-get install graphviz pandoc\n\n      - name: Install extra Python dependencies\n        run: |\n          poetry install --with docs --with compat\n          poetry run python -m spacy download en_core_web_sm\n\n      - name: Use Rich in notebooks\n        run: |\n          poetry run ipython profile create\n          echo \"%load_ext rich\" > ~/.ipython/profile_default/startup/00_rich.ipy\n\n      - name: Execute notebooks\n        run: |\n          source $VENV\n          make execute-notebooks\n\n      - name: Build docs\n        run: |\n          source $VENV\n          make doc\n\n      - name: Deploy docs\n        env:\n          GH_TOKEN: ${{ secrets.GitHubToken }}\n        run: |\n          source $VENV\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git config pull.rebase false\n          git add --all\n          git commit -m \"Execute notebooks\"\n          git fetch\n          git checkout gh-pages\n          git pull\n          git checkout main\n          RIVER_VERSION=$(python -c \"import river; print(river.__version__)\")\n          mike deploy ${RIVER_VERSION} latest --update-aliases --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git\n", "state": "active", "repository": "online-ml/river"}
{"mined_at": "2024-07-15T14:39:04.224441", "created_at": "2020-11-25T19:38:54+01:00", "updated_at": "2022-08-28T16:58:45+02:00", "name": "pypi", "path": ".github/workflows/pypi.yml", "contents": "name: pypi\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # https://github.com/actions/runner-images/tree/main\n      matrix:\n        os:\n          [\n            ubuntu-20.04,\n            ubuntu-22.04,\n            windows-2019,\n            windows-2022,\n            macos-12,\n            macos-13,\n            macos-14,\n          ]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up rust\n        if: matrix.os != 'ubuntu-20.04' && matrix.os != 'ubuntu-22.04'\n        uses: actions-rs/toolchain@v1\n        with:\n          profile: minimal\n          toolchain: nightly\n          override: true\n\n      - run: rustup target add aarch64-apple-darwin && rustup target add x86_64-apple-darwin\n        if: matrix.os == 'macos-12' || matrix.os == 'macos-13' || matrix.os == 'macos-14'\n\n      - run: rustup toolchain install stable-i686-pc-windows-msvc\n        if: matrix.os == 'windows-2019' || matrix.os == 'windows-2022'\n\n      - run: rustup target add i686-pc-windows-msvc\n        if: matrix.os == 'windows-2019' || matrix.os == 'windows-2022'\n\n      - name: Set up QEMU\n        if: matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-22.04'\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.17.0\n        timeout-minutes: 720\n        env:\n          CIBW_BUILD: \"cp39-* cp310-* cp311-* cp312-*\"\n          CIBW_ARCHS_LINUX: \"x86_64 i686 aarch64 ppc64le s390x\"\n          # CIBW_ARCHS_MACOS: \"x86_64 arm64\"\n          CIBW_ARCHS_MACOS: \"universal2\"\n          # We don't build ARM64 wheels yet because there's a Rust issue\n          CIBW_ARCHS_WINDOWS: \"AMD64 x86\"\n          # Rust nighlty doesn't seem to be available for musl linux on i686 and ppc64le and s390x (yet)\n          CIBW_SKIP: \"*-musllinux_i686 *-musllinux_ppc64le *-musllinux_s390x\"\n\n          # arm64 and universal2 wheels are tagged with x86_64 because there's an issue with Poetry\n          # More information here: https://cibuildwheel.readthedocs.io/en/stable/faq/#how-to-cross-compile (CTRL + F \"poetry\")\n          # https://github.com/pypa/cibuildwheel/issues/1415\n          CIBW_REPAIR_WHEEL_COMMAND_MACOS: >\n            ls {dest_dir} &&\n            delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} &&\n            for file in {dest_dir}/*.whl ; do mv $file ${file//x86_64/universal2} ; done\n\n          CIBW_MANYLINUX_X86_64_IMAGE: \"manylinux2014\"\n          CIBW_MANYLINUX_I686_IMAGE: \"manylinux2014\"\n          CIBW_MANYLINUX_AARCH64_IMAGE: \"manylinux2014\"\n          CIBW_MANYLINUX_PPC64LE_IMAGE: \"manylinux2014\"\n          CIBW_MANYLINUX_S390X_IMAGE: \"manylinux2014\"\n          CIBW_MANYLINUX_PYPY_X86_64_IMAGE: \"manylinux2014\"\n          CIBW_MANYLINUX_PYPY_I686_IMAGE: \"manylinux2014\"\n          CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: \"manylinux2014\"\n\n          CIBW_MUSLLINUX_X86_64_IMAGE: \"musllinux_1_1\"\n          CIBW_MUSLLINUX_I686_IMAGE: \"musllinux_1_1\"\n          CIBW_MUSLLINUX_AARCH64_IMAGE: \"musllinux_1_1\"\n          CIBW_MUSLLINUX_PPC64LE_IMAGE: \"musllinux_1_1\"\n          CIBW_MUSLLINUX_S390X_IMAGE: \"musllinux_1_1\"\n\n          CIBW_ENVIRONMENT: 'PATH=\"$HOME/.cargo/bin:$PATH\"'\n          # Fix the following error: error: cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features pyo3/extension-module -- --crate-type cdylibfailed with code -9\n          # You need to set a second environment variable CARGO_NET_GIT_FETCH_WITH_CLI=\"true\" for linux environments\n          # Solutio found here: https://github.com/rust-lang/cargo/issues/10583\n          CIBW_ENVIRONMENT_LINUX: 'PATH=\"$HOME/.cargo/bin:$PATH\" CARGO_NET_GIT_FETCH_WITH_CLI=\"true\"'\n          CIBW_ENVIRONMENT_WINDOWS: 'PATH=\"$UserProfile\\.cargo\\bin;$PATH\"'\n\n          CIBW_BEFORE_BUILD: >\n            rustup default nightly &&\n            rustup show\n          CIBW_BEFORE_BUILD_LINUX: >\n            curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=nightly --profile=minimal -y &&\n            rustup show\n\n      - uses: actions/upload-artifact@v2\n        with:\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Build River\n        uses: ./.github/actions/install-env\n        with:\n          python-version: \"3.12\"\n\n      - name: Build dist\n        run: poetry build\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: dist/*.tar.gz\n\n  upload_pypi:\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@v1.8.10\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "online-ml/river"}
{"mined_at": "2024-07-15T14:39:05.275865", "created_at": "2020-11-29T01:20:54+01:00", "updated_at": "2020-11-29T01:20:54+01:00", "name": "code-quality", "path": ".github/workflows/code-quality.yml", "contents": "name: code-quality\n\non:\n  pull_request:\n    branches:\n      - \"*\"\n  push:\n    branches:\n      - main\n\njobs:\n  ubuntu:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Build River\n        uses: ./.github/actions/install-env\n        with:\n          python-version: \"3.12\"\n          build-root: false\n\n      - name: Run pre-commit on all files\n        run: poetry run pre-commit run --all-files\n", "state": "active", "repository": "online-ml/river"}
{"mined_at": "2024-07-15T14:39:06.375644", "created_at": "2020-11-29T01:53:51+01:00", "updated_at": "2023-05-08T20:09:24+02:00", "name": "unit-tests", "path": ".github/workflows/unit-tests.yml", "contents": "name: unit-tests\n\non:\n  pull_request:\n    branches:\n      - \"*\"\n  push:\n    branches:\n      - main\n\njobs:\n  run:\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\", \"3.11\", \"3.10\"]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Build River\n        uses: ./.github/actions/install-env\n        with:\n          python-version: \"3.12\"\n\n      - name: Cache River datasets\n        uses: actions/cache@v3\n        with:\n          path: ~/river_data\n          key: ${{ runner.os }}\n\n      - name: Cache scikit-learn datasets\n        uses: actions/cache@v3\n        with:\n          path: ~/scikit_learn_data\n          key: ${{ runner.os }}\n\n      - name: Download datasets\n        run: |\n          poetry run python -c \"from river import datasets; datasets.CreditCard().download(); datasets.Elec2().download(); datasets.SMSSpam().download()\"\n          poetry run python -c \"from river import bandit; bandit.datasets.NewsArticles().download()\"\n\n      - name: pytest\n        run: |\n          poetry run pytest -m \"not datasets\" --durations=10 -n logical # Run pytest on all logical CPU cores\n", "state": "active", "repository": "online-ml/river"}
{"mined_at": "2024-07-15T14:39:07.432619", "created_at": "2021-12-27T00:45:21+01:00", "updated_at": "2021-12-27T00:45:21+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "online-ml/river"}
{"mined_at": "2024-07-15T14:39:08.491173", "created_at": "2023-05-08T23:52:45+02:00", "updated_at": "2023-05-08T23:52:45+02:00", "name": "Clear all Github Actions caches", "path": ".github/workflows/delete-caches.yml", "contents": "name: Clear all Github Actions caches\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * 0\"\n\njobs:\n  my-job:\n    name: Delete all caches\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Clear caches\n        uses: easimon/wipe-cache@main\n", "state": "active", "repository": "online-ml/river"}
{"mined_at": "2024-07-15T14:39:09.473758", "created_at": "2023-05-30T10:51:14+02:00", "updated_at": "2023-05-30T10:51:14+02:00", "name": ".github/workflows/draft-pdf.yml", "path": ".github/workflows/draft-pdf.yml", "contents": null, "state": "active", "repository": "online-ml/river"}
{"mined_at": "2024-07-15T14:39:12.516659", "created_at": "2020-03-26T21:24:48+01:00", "updated_at": "2020-03-26T21:24:48+01:00", "name": "Continuous Integration with OSX", "path": ".github/workflows/ci_osx.yml", "contents": "name: Continuous Integration with OSX\n\non: [push, pull_request]\n\njobs:\n  tests:\n\n    runs-on: macos-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.x\n\n    - name: Install dependencies\n      run: |\n        source ci/ci_osx.sh\n        dependencies\n\n    - name: Tests\n      run: |\n        source ci/ci_osx.sh\n        tests\n", "state": "active", "repository": "kivy/plyer"}
{"mined_at": "2024-07-15T14:39:13.560080", "created_at": "2020-03-26T21:24:48+01:00", "updated_at": "2020-03-26T21:24:48+01:00", "name": "Continuous Integration with Ubuntu", "path": ".github/workflows/ci_ubuntu.yml", "contents": "name: Continuous Integration with Ubuntu\n\non: [push, pull_request]\n\njobs:\n\n  style:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.x\n\n    - name: Install Dependencies\n      run: |\n        source ci/ci_ubuntu.sh\n        style_dependencies\n\n    - name: Style\n      run: |\n        source ci/ci_ubuntu.sh\n        style\n\n  tests:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.x\n\n    - name: Install dependencies\n      run: |\n        source ci/ci_ubuntu.sh\n        dependencies\n\n    - name: Tests\n      run: |\n        source ci/ci_ubuntu.sh\n        tests\n\n    - name: Upload Coverage\n      if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n      env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n      run: |\n        source ci/ci_ubuntu.sh\n        upload_coverage\n", "state": "active", "repository": "kivy/plyer"}
{"mined_at": "2024-07-15T14:39:14.576033", "created_at": "2020-03-26T21:24:48+01:00", "updated_at": "2020-03-26T21:24:48+01:00", "name": "Continuous Integration with Windows", "path": ".github/workflows/ci_windows.yml", "contents": "name: Continuous Integration with Windows\n\non: [push, pull_request]\n\njobs:\n  tests:\n\n    runs-on: windows-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.x\n\n    - name: Install dependencies\n      run: |\n        . .\\ci\\ci_windows.ps1\n        Dependencies\n\n    - name: Tests\n      run: |\n        . .\\ci\\ci_windows.ps1\n        Tests\n", "state": "active", "repository": "kivy/plyer"}
{"mined_at": "2024-07-15T14:39:15.706244", "created_at": "2023-11-10T08:37:16+01:00", "updated_at": "2023-11-10T08:37:16+01:00", "name": "No Response", "path": ".github/workflows/no-response.yml", "contents": "name: No Response\n\n# Both `issue_comment` and `scheduled` event types are required for this Action\n# to work properly.\non:\n  issue_comment:\n    types: [created]\n  schedule:\n    # Schedule for five minutes after the hour, every hour\n    - cron: '5 * * * *'\n\njobs:\n  noResponse:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb\n        # This commit hash targets release v0.5.0 of lee-dohm/no-response.\n        # Targeting a commit hash instead of a tag has been done for security reasons.\n        # Please be aware that the commit hash specifically targets the \"Automatic compilation\"\n        # done by `github-actions[bot]` as the `no-response` Action needs to be compiled.\n        with:\n          token: ${{ github.token }}\n          daysUntilClose: 42\n          responseRequiredLabel: 'awaiting-reply'\n          closeComment: >\n                This issue has been automatically closed because there has been no response\n                to our request for more information from the original author. With only the\n                information that is currently in the issue, we don't have the means\n                to take action. Please reach out if you have or find the answers we need so\n                that we can investigate further.\n", "state": "active", "repository": "kivy/plyer"}
{"mined_at": "2024-07-15T14:39:17.031449", "created_at": "2020-03-27T22:35:10+01:00", "updated_at": "2020-03-27T22:35:10+01:00", "name": "Deploy to PyPI", "path": ".github/workflows/plyer_deploy.yml", "contents": "name: Deploy to PyPI\n\non:\n  create\n\njobs:\n  deploy:\n    if: startsWith(github.ref, 'refs/tags/')\n\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.x'\n\n    - name: Install dependencies\n      run: |\n        source ci/ci_ubuntu.sh\n        deployment_dependencies\n\n    - name: Build Package\n      run: |\n        source ci/ci_ubuntu.sh\n        build\n\n    - name: Create artifacts\n      uses: actions/upload-artifact@v1\n      with:\n        name: plyer_artifact\n        path: dist\n\n    - name: Upload to GitHub Releases\n      uses: softprops/action-gh-release@v0.1.14\n      with:\n        files: dist/*\n        draft: true\n\n    - name: Publish to PyPI\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n\n      run: |\n        source ci/ci_ubuntu.sh\n        deploy\n", "state": "active", "repository": "kivy/plyer"}
{"mined_at": "2024-07-15T14:39:18.045389", "created_at": "2023-12-07T18:40:17+01:00", "updated_at": "2023-12-07T18:40:17+01:00", "name": "Support Requests", "path": ".github/workflows/support.yml", "contents": "name: 'Support Requests'\n\non:\n  issues:\n    types: [labeled, unlabeled, reopened]\n\npermissions:\n  issues: write\n\njobs:\n  action:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/support-requests@v4\n        with:\n          github-token: ${{ github.token }}\n          support-label: 'support'\n          issue-comment: >\n            👋 We use the issue tracker exclusively for bug reports and feature requests.\n            However, this issue appears to be a support request. Please use our\n            [support channels](https://github.com/kivy/plyer/blob/master/CONTACT.md)\n            to get help with the project.\n            \n            Let us know if this comment was made in error, and we'll be happy\n            to reopen the issue.\n          close-issue: true\n          lock-issue: false\n", "state": "active", "repository": "kivy/plyer"}
{"mined_at": "2024-07-15T14:39:20.038853", "created_at": "2021-01-05T02:20:47+01:00", "updated_at": "2022-06-21T13:08:31+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n      - release/**\n      - sentry-sdk-2.0\n\n  pull_request:\n\npermissions:\n  contents: read\n\nenv:\n  BUILD_CACHE_KEY: ${{ github.sha }}\n  CACHED_BUILD_PATHS: |\n    ${{ github.workspace }}/dist-serverless\n\njobs:\n  lint:\n    name: Lint Sources\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - run: |\n          pip install tox\n          tox -e linters\n\n  check-ci-config:\n    name: Check CI config\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - run: |\n          pip install jinja2\n          python scripts/split-tox-gh-actions/split-tox-gh-actions.py --fail-on-changes\n\n  build_lambda_layer:\n    name: Build Package\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n      - name: Setup build cache\n        uses: actions/cache@v4\n        id: build_cache\n        with:\n          path: ${{ env.CACHED_BUILD_PATHS }}\n          key: ${{ env.BUILD_CACHE_KEY }}\n      - name: Build Packages\n        run: |\n          echo \"Creating directory containing Python SDK Lambda Layer\"\n          # This will also trigger \"make dist\" that creates the Python packages\n          make aws-lambda-layer\n      - name: Upload Python Packages\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ github.sha }}\n          path: |\n            dist/*\n\n  docs:\n    name: Build SDK API Doc\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - run: |\n          make apidocs\n          cd docs/_build && zip -r gh-pages ./\n\n      - uses: actions/upload-artifact@v3.1.1\n        with:\n          name: ${{ github.sha }}\n          path: docs/_build/gh-pages.zip\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:21.199648", "created_at": "2021-01-07T22:04:46+01:00", "updated_at": "2021-01-07T22:04:46+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: Version to release\n        required: true\n      force:\n        description: Force a release even when there are release-blockers (optional)\n        required: false\n      merge_target:\n        description: Target branch to merge into. Uses the default branch as a fallback (optional)\n        required: false\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    name: \"Release a new version\"\n    steps:\n      - uses: actions/checkout@v4.1.6\n        with:\n          token: ${{ secrets.GH_RELEASE_PAT }}\n          fetch-depth: 0\n      - name: Prepare release\n        uses: getsentry/action-prepare-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}\n        with:\n          version: ${{ github.event.inputs.version }}\n          force: ${{ github.event.inputs.force }}\n          merge_target: ${{ github.event.inputs.merge_target }}\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:22.232486", "created_at": "2021-04-14T15:55:49+02:00", "updated_at": "2021-04-14T15:55:49+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches:\n      - master\n      - sentry-sdk-2.0\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches:\n      - master\n      - sentry-sdk-2.0\n  schedule:\n    - cron: '18 18 * * 3'\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    permissions:\n      actions: read  # for github/codeql-action/init to get workflow details\n      contents: read  # for actions/checkout to fetch code\n      security-events: write  # for github/codeql-action/autobuild to send a status report\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4.1.6\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:23.492687", "created_at": "2022-01-10T16:44:05+01:00", "updated_at": "2022-01-10T16:44:05+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:24.621615", "created_at": "2022-04-21T17:54:32+02:00", "updated_at": "2022-05-13T21:26:41+02:00", "name": "Enforce License Compliance", "path": ".github/workflows/enforce-license-compliance.yml", "contents": "name: Enforce License Compliance\n\non:\n  push:\n    branches:\n      - master\n      - main\n      - release/*\n      - sentry-sdk-2.0\n  pull_request:\n    branches:\n      - master\n      - main\n      - sentry-sdk-2.0\n\njobs:\n  enforce-license-compliance:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Enforce License Compliance'\n        uses: getsentry/action-enforce-license-compliance@main\n        with:\n          fossa_api_key: ${{ secrets.FOSSA_API_KEY }}\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:25.643666", "created_at": "2022-09-09T16:25:38+02:00", "updated_at": "2023-12-12T15:16:26+01:00", "name": "Test aws_lambda", "path": ".github/workflows/test-integration-aws_lambda.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:26.794135", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test falcon py2.7", "path": ".github/workflows/test-integration-falcon-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:27.878784", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test pymongo py2.7", "path": ".github/workflows/test-integration-pymongo-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:29.018319", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test sqlalchemy py2.7", "path": ".github/workflows/test-integration-sqlalchemy-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:30.122301", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test django py2.7", "path": ".github/workflows/test-integration-django-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:31.124046", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test common py2.7", "path": ".github/workflows/test-common-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:32.123018", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test bottle py2.7", "path": ".github/workflows/test-integration-bottle-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:33.146150", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test redis py2.7", "path": ".github/workflows/test-integration-redis-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:34.171332", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test requests py2.7", "path": ".github/workflows/test-integration-requests-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:35.371046", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test pyramid py2.7", "path": ".github/workflows/test-integration-pyramid-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:36.388527", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test gevent py2.7", "path": ".github/workflows/test-integration-gevent-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:37.523768", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test boto3 py2.7", "path": ".github/workflows/test-integration-boto3-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:38.511780", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test celery py2.7", "path": ".github/workflows/test-integration-celery-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:39.558942", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test rediscluster py2.7", "path": ".github/workflows/test-integration-rediscluster-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:40.574763", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test rq py2.7", "path": ".github/workflows/test-integration-rq-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:41.586465", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test huey py2.7", "path": ".github/workflows/test-integration-huey-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:42.730199", "created_at": "2023-06-20T10:42:54+02:00", "updated_at": "2023-06-20T10:42:54+02:00", "name": "Test flask py2.7", "path": ".github/workflows/test-integration-flask-py27.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:43.858193", "created_at": "2023-12-05T12:28:59+01:00", "updated_at": "2023-12-11T10:37:01+01:00", "name": "Test Common", "path": ".github/workflows/test-integrations-common.yml", "contents": "name: Test Common\non:\n  push:\n    branches:\n      - master\n      - release/**\n      - sentry-sdk-2.0\n  pull_request:\n# Cancel in progress workflows on pull_requests.\n# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\npermissions:\n  contents: read\nenv:\n  BUILD_CACHE_KEY: ${{ github.sha }}\n  CACHED_BUILD_PATHS: |\n    ${{ github.workspace }}/dist-serverless\njobs:\n  test-common-pinned:\n    name: Common (pinned)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\",\"3.7\",\"3.8\",\"3.9\",\"3.10\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test common pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-common\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  check_required_tests:\n    name: All Common tests passed\n    needs: test-common-pinned\n    # Always run this, even if a dependent job failed\n    if: always()\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check for failures\n        if: contains(needs.test-common-pinned.result, 'failure') || contains(needs.test-common-pinned.result, 'skipped')\n        run: |\n          echo \"One of the dependent jobs has failed. You may need to re-run it.\" && exit 1\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:45.099910", "created_at": "2023-12-05T12:28:59+01:00", "updated_at": "2023-12-11T10:37:01+01:00", "name": "Test GraphQL", "path": ".github/workflows/test-integrations-graphql.yml", "contents": "name: Test GraphQL\non:\n  push:\n    branches:\n      - master\n      - release/**\n      - sentry-sdk-2.0\n  pull_request:\n# Cancel in progress workflows on pull_requests.\n# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\npermissions:\n  contents: read\nenv:\n  BUILD_CACHE_KEY: ${{ github.sha }}\n  CACHED_BUILD_PATHS: |\n    ${{ github.workspace }}/dist-serverless\njobs:\n  test-graphql-latest:\n    name: GraphQL (latest)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\",\"3.8\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test ariadne latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-ariadne-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test gql latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-gql-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test graphene latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-graphene-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test strawberry latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-strawberry-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  test-graphql-pinned:\n    name: GraphQL (pinned)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\",\"3.8\",\"3.11\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test ariadne pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-ariadne\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test gql pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-gql\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test graphene pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-graphene\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test strawberry pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-strawberry\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  check_required_tests:\n    name: All GraphQL tests passed\n    needs: test-graphql-pinned\n    # Always run this, even if a dependent job failed\n    if: always()\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check for failures\n        if: contains(needs.test-graphql-pinned.result, 'failure') || contains(needs.test-graphql-pinned.result, 'skipped')\n        run: |\n          echo \"One of the dependent jobs has failed. You may need to re-run it.\" && exit 1\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:46.150478", "created_at": "2023-12-05T12:28:59+01:00", "updated_at": "2023-12-11T10:37:01+01:00", "name": "Test Web Frameworks 2", "path": ".github/workflows/test-integrations-web-frameworks-2.yml", "contents": "name: Test Web Frameworks 2\non:\n  push:\n    branches:\n      - master\n      - release/**\n      - sentry-sdk-2.0\n  pull_request:\n# Cancel in progress workflows on pull_requests.\n# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\npermissions:\n  contents: read\nenv:\n  BUILD_CACHE_KEY: ${{ github.sha }}\n  CACHED_BUILD_PATHS: |\n    ${{ github.workspace }}/dist-serverless\njobs:\n  test-web_frameworks_2-latest:\n    name: Web Frameworks 2 (latest)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\",\"3.7\",\"3.8\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test aiohttp latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-aiohttp-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test asgi latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-asgi-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test bottle latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-bottle-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test falcon latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-falcon-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test pyramid latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-pyramid-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test quart latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-quart-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test sanic latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-sanic-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test starlite latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-starlite-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test tornado latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-tornado-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  test-web_frameworks_2-pinned:\n    name: Web Frameworks 2 (pinned)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\",\"3.7\",\"3.8\",\"3.9\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test aiohttp pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-aiohttp\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test asgi pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-asgi\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test bottle pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-bottle\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test falcon pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-falcon\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test pyramid pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-pyramid\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test quart pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-quart\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test sanic pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-sanic\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test starlite pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-starlite\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test tornado pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-tornado\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  check_required_tests:\n    name: All Web Frameworks 2 tests passed\n    needs: test-web_frameworks_2-pinned\n    # Always run this, even if a dependent job failed\n    if: always()\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check for failures\n        if: contains(needs.test-web_frameworks_2-pinned.result, 'failure') || contains(needs.test-web_frameworks_2-pinned.result, 'skipped')\n        run: |\n          echo \"One of the dependent jobs has failed. You may need to re-run it.\" && exit 1\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:47.249938", "created_at": "2023-12-05T12:28:59+01:00", "updated_at": "2023-12-11T10:37:01+01:00", "name": "Test Miscellaneous", "path": ".github/workflows/test-integrations-miscellaneous.yml", "contents": "name: Test Miscellaneous\non:\n  push:\n    branches:\n      - master\n      - release/**\n      - sentry-sdk-2.0\n  pull_request:\n# Cancel in progress workflows on pull_requests.\n# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\npermissions:\n  contents: read\nenv:\n  BUILD_CACHE_KEY: ${{ github.sha }}\n  CACHED_BUILD_PATHS: |\n    ${{ github.workspace }}/dist-serverless\njobs:\n  test-miscellaneous-latest:\n    name: Miscellaneous (latest)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\",\"3.8\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test loguru latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-loguru-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test opentelemetry latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-opentelemetry-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test pure_eval latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-pure_eval-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test trytond latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-trytond-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  test-miscellaneous-pinned:\n    name: Miscellaneous (pinned)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\",\"3.7\",\"3.8\",\"3.9\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test loguru pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-loguru\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test opentelemetry pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-opentelemetry\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test pure_eval pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-pure_eval\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test trytond pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-trytond\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  check_required_tests:\n    name: All Miscellaneous tests passed\n    needs: test-miscellaneous-pinned\n    # Always run this, even if a dependent job failed\n    if: always()\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check for failures\n        if: contains(needs.test-miscellaneous-pinned.result, 'failure') || contains(needs.test-miscellaneous-pinned.result, 'skipped')\n        run: |\n          echo \"One of the dependent jobs has failed. You may need to re-run it.\" && exit 1\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:48.289999", "created_at": "2023-12-05T12:28:59+01:00", "updated_at": "2023-12-11T10:37:01+01:00", "name": "Test Web Frameworks 1", "path": ".github/workflows/test-integrations-web-frameworks-1.yml", "contents": "name: Test Web Frameworks 1\non:\n  push:\n    branches:\n      - master\n      - release/**\n      - sentry-sdk-2.0\n  pull_request:\n# Cancel in progress workflows on pull_requests.\n# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\npermissions:\n  contents: read\nenv:\n  BUILD_CACHE_KEY: ${{ github.sha }}\n  CACHED_BUILD_PATHS: |\n    ${{ github.workspace }}/dist-serverless\njobs:\n  test-web_frameworks_1-latest:\n    name: Web Frameworks 1 (latest)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\",\"3.10\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: sentry\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        # Maps tcp port 5432 on service container to the host\n        ports:\n          - 5432:5432\n    env:\n      SENTRY_PYTHON_TEST_POSTGRES_HOST: localhost\n      SENTRY_PYTHON_TEST_POSTGRES_USER: postgres\n      SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test django latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-django-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test flask latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-flask-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test starlette latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-starlette-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test fastapi latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-fastapi-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  test-web_frameworks_1-pinned:\n    name: Web Frameworks 1 (pinned)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\",\"3.7\",\"3.8\",\"3.9\",\"3.10\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: sentry\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        # Maps tcp port 5432 on service container to the host\n        ports:\n          - 5432:5432\n    env:\n      SENTRY_PYTHON_TEST_POSTGRES_HOST: localhost\n      SENTRY_PYTHON_TEST_POSTGRES_USER: postgres\n      SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test django pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-django\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test flask pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-flask\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test starlette pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-starlette\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test fastapi pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-fastapi\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  check_required_tests:\n    name: All Web Frameworks 1 tests passed\n    needs: test-web_frameworks_1-pinned\n    # Always run this, even if a dependent job failed\n    if: always()\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check for failures\n        if: contains(needs.test-web_frameworks_1-pinned.result, 'failure') || contains(needs.test-web_frameworks_1-pinned.result, 'skipped')\n        run: |\n          echo \"One of the dependent jobs has failed. You may need to re-run it.\" && exit 1\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:49.332323", "created_at": "2023-12-05T12:28:59+01:00", "updated_at": "2023-12-11T10:37:01+01:00", "name": "Test Data Processing", "path": ".github/workflows/test-integrations-data-processing.yml", "contents": "name: Test Data Processing\non:\n  push:\n    branches:\n      - master\n      - release/**\n      - sentry-sdk-2.0\n  pull_request:\n# Cancel in progress workflows on pull_requests.\n# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\npermissions:\n  contents: read\nenv:\n  BUILD_CACHE_KEY: ${{ github.sha }}\n  CACHED_BUILD_PATHS: |\n    ${{ github.workspace }}/dist-serverless\njobs:\n  test-data_processing-latest:\n    name: Data Processing (latest)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\",\"3.7\",\"3.8\",\"3.9\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Start Redis\n        uses: supercharge/redis-github-action@1.7.0\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test anthropic latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-anthropic-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test arq latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-arq-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test beam latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-beam-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test celery latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-celery-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test cohere latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-cohere-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test huey latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-huey-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test langchain latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-langchain-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test openai latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-openai-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test huggingface_hub latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-huggingface_hub-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test rq latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-rq-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  test-data_processing-pinned:\n    name: Data Processing (pinned)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\",\"3.7\",\"3.8\",\"3.9\",\"3.10\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Start Redis\n        uses: supercharge/redis-github-action@1.7.0\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test anthropic pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-anthropic\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test arq pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-arq\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test beam pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-beam\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test celery pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-celery\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test cohere pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-cohere\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test huey pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-huey\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test langchain pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-langchain\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test openai pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-openai\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test huggingface_hub pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-huggingface_hub\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test rq pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-rq\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  check_required_tests:\n    name: All Data Processing tests passed\n    needs: test-data_processing-pinned\n    # Always run this, even if a dependent job failed\n    if: always()\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check for failures\n        if: contains(needs.test-data_processing-pinned.result, 'failure') || contains(needs.test-data_processing-pinned.result, 'skipped')\n        run: |\n          echo \"One of the dependent jobs has failed. You may need to re-run it.\" && exit 1\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:50.629070", "created_at": "2023-12-05T12:28:59+01:00", "updated_at": "2023-12-11T10:37:01+01:00", "name": "Test Networking", "path": ".github/workflows/test-integrations-networking.yml", "contents": "name: Test Networking\non:\n  push:\n    branches:\n      - master\n      - release/**\n      - sentry-sdk-2.0\n  pull_request:\n# Cancel in progress workflows on pull_requests.\n# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\npermissions:\n  contents: read\nenv:\n  BUILD_CACHE_KEY: ${{ github.sha }}\n  CACHED_BUILD_PATHS: |\n    ${{ github.workspace }}/dist-serverless\njobs:\n  test-networking-latest:\n    name: Networking (latest)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\",\"3.9\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test gevent latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-gevent-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test grpc latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-grpc-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test httpx latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-httpx-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test requests latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-requests-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  test-networking-pinned:\n    name: Networking (pinned)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\",\"3.7\",\"3.8\",\"3.9\",\"3.10\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test gevent pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-gevent\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test grpc pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-grpc\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test httpx pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-httpx\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test requests pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-requests\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  check_required_tests:\n    name: All Networking tests passed\n    needs: test-networking-pinned\n    # Always run this, even if a dependent job failed\n    if: always()\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check for failures\n        if: contains(needs.test-networking-pinned.result, 'failure') || contains(needs.test-networking-pinned.result, 'skipped')\n        run: |\n          echo \"One of the dependent jobs has failed. You may need to re-run it.\" && exit 1\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:51.699783", "created_at": "2023-12-05T12:28:59+01:00", "updated_at": "2023-12-11T10:37:01+01:00", "name": "Test Databases", "path": ".github/workflows/test-integrations-databases.yml", "contents": "name: Test Databases\non:\n  push:\n    branches:\n      - master\n      - release/**\n      - sentry-sdk-2.0\n  pull_request:\n# Cancel in progress workflows on pull_requests.\n# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\npermissions:\n  contents: read\nenv:\n  BUILD_CACHE_KEY: ${{ github.sha }}\n  CACHED_BUILD_PATHS: |\n    ${{ github.workspace }}/dist-serverless\njobs:\n  test-databases-latest:\n    name: Databases (latest)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\",\"3.8\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: sentry\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        # Maps tcp port 5432 on service container to the host\n        ports:\n          - 5432:5432\n    env:\n      SENTRY_PYTHON_TEST_POSTGRES_HOST: localhost\n      SENTRY_PYTHON_TEST_POSTGRES_USER: postgres\n      SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: getsentry/action-clickhouse-in-ci@v1\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test asyncpg latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-asyncpg-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test clickhouse_driver latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-clickhouse_driver-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test pymongo latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-pymongo-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test redis latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-redis-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test redis_py_cluster_legacy latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-redis_py_cluster_legacy-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test sqlalchemy latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-sqlalchemy-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  test-databases-pinned:\n    name: Databases (pinned)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\",\"3.7\",\"3.8\",\"3.9\",\"3.10\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: sentry\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        # Maps tcp port 5432 on service container to the host\n        ports:\n          - 5432:5432\n    env:\n      SENTRY_PYTHON_TEST_POSTGRES_HOST: localhost\n      SENTRY_PYTHON_TEST_POSTGRES_USER: postgres\n      SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: getsentry/action-clickhouse-in-ci@v1\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test asyncpg pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-asyncpg\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test clickhouse_driver pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-clickhouse_driver\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test pymongo pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-pymongo\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test redis pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-redis\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test redis_py_cluster_legacy pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-redis_py_cluster_legacy\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test sqlalchemy pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-sqlalchemy\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  check_required_tests:\n    name: All Databases tests passed\n    needs: test-databases-pinned\n    # Always run this, even if a dependent job failed\n    if: always()\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check for failures\n        if: contains(needs.test-databases-pinned.result, 'failure') || contains(needs.test-databases-pinned.result, 'skipped')\n        run: |\n          echo \"One of the dependent jobs has failed. You may need to re-run it.\" && exit 1\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:53.291743", "created_at": "2023-12-05T12:31:05+01:00", "updated_at": "2023-12-11T10:37:01+01:00", "name": "Test Cloud Computing", "path": ".github/workflows/test-integrations-cloud-computing.yml", "contents": "name: Test Cloud Computing\non:\n  push:\n    branches:\n      - master\n      - release/**\n      - sentry-sdk-2.0\n  pull_request:\n# Cancel in progress workflows on pull_requests.\n# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\npermissions:\n  contents: read\nenv:\n  BUILD_CACHE_KEY: ${{ github.sha }}\n  CACHED_BUILD_PATHS: |\n    ${{ github.workspace }}/dist-serverless\njobs:\n  test-cloud_computing-latest:\n    name: Cloud Computing (latest)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\",\"3.10\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test boto3 latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-boto3-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test chalice latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-chalice-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test cloud_resource_context latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-cloud_resource_context-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test gcp latest\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh \"py${{ matrix.python-version }}-gcp-latest\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  test-cloud_computing-pinned:\n    name: Cloud Computing (pinned)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.6\",\"3.7\",\"3.9\",\"3.11\",\"3.12\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test boto3 pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-boto3\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test chalice pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-chalice\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test cloud_resource_context pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-cloud_resource_context\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Test gcp pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-gcp\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  check_required_tests:\n    name: All Cloud Computing tests passed\n    needs: test-cloud_computing-pinned\n    # Always run this, even if a dependent job failed\n    if: always()\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check for failures\n        if: contains(needs.test-cloud_computing-pinned.result, 'failure') || contains(needs.test-cloud_computing-pinned.result, 'skipped')\n        run: |\n          echo \"One of the dependent jobs has failed. You may need to re-run it.\" && exit 1\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:54.521770", "created_at": "2023-12-11T10:37:01+01:00", "updated_at": "2023-12-11T10:37:01+01:00", "name": "Test AWS Lambda", "path": ".github/workflows/test-integrations-aws-lambda.yml", "contents": "name: Test AWS Lambda\non:\n  push:\n    branches:\n      - master\n      - release/**\n      - sentry-sdk-2.0\n  # XXX: We are using `pull_request_target` instead of `pull_request` because we want\n  # this to run on forks with access to the secrets necessary to run the test suite.\n  # Prefer to use `pull_request` when possible.\n  pull_request_target:\n    types: [labeled, opened, reopened, synchronize]\n# Cancel in progress workflows on pull_requests.\n# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\npermissions:\n  contents: read\n  # `write` is needed to remove the `Trigger: tests using secrets` label\n  pull-requests: write\nenv:\n  SENTRY_PYTHON_TEST_AWS_ACCESS_KEY_ID: ${{ secrets.SENTRY_PYTHON_TEST_AWS_ACCESS_KEY_ID }}\n  SENTRY_PYTHON_TEST_AWS_SECRET_ACCESS_KEY: ${{ secrets.SENTRY_PYTHON_TEST_AWS_SECRET_ACCESS_KEY }}\n  BUILD_CACHE_KEY: ${{ github.sha }}\n  CACHED_BUILD_PATHS: |\n    ${{ github.workspace }}/dist-serverless\njobs:\n  check-permissions:\n    name: permissions check\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4.1.6\n        with:\n          persist-credentials: false\n      - name: Check permissions on PR\n        if: github.event_name == 'pull_request_target'\n        run: |\n          python3 -uS .github/workflows/scripts/trigger_tests_on_label.py \\\n              --repo-id ${{ github.event.repository.id }} \\\n              --pr ${{ github.event.number }} \\\n              --event ${{ github.event.action }} \\\n              --username \"$ARG_USERNAME\" \\\n              --label-names \"$ARG_LABEL_NAMES\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # these can contain special characters\n          ARG_USERNAME: ${{ github.event.pull_request.user.login }}\n          ARG_LABEL_NAMES: ${{ toJSON(github.event.pull_request.labels.*.name) }}\n      - name: Check permissions on repo branch\n        if: github.event_name == 'push'\n        run: true\n  test-aws_lambda-pinned:\n    name: AWS Lambda (pinned)\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\"]\n        # python3.6 reached EOL and is no longer being supported on\n        # new versions of hosted runners on Github Actions\n        # ubuntu-20.04 is the last version that supported python3.6\n        # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877\n        os: [ubuntu-20.04]\n    needs: check-permissions\n    steps:\n      - uses: actions/checkout@v4.1.6\n        with:\n          ref: ${{ github.event.pull_request.head.sha || github.ref }}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Test Env\n        run: |\n          pip install coverage tox\n      - name: Erase coverage\n        run: |\n          coverage erase\n      - name: Test aws_lambda pinned\n        run: |\n          set -x # print commands that are executed\n          ./scripts/runtox.sh --exclude-latest \"py${{ matrix.python-version }}-aws_lambda\" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch\n      - name: Generate coverage XML\n        run: |\n          coverage combine .coverage*\n          coverage xml -i\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n  check_required_tests:\n    name: All AWS Lambda tests passed\n    needs: test-aws_lambda-pinned\n    # Always run this, even if a dependent job failed\n    if: always()\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check for failures\n        if: contains(needs.test-aws_lambda-pinned.result, 'failure') || contains(needs.test-aws_lambda-pinned.result, 'skipped')\n        run: |\n          echo \"One of the dependent jobs has failed. You may need to re-run it.\" && exit 1\n", "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:55.534248", "created_at": "2024-06-25T12:49:06+02:00", "updated_at": "2024-06-25T13:22:10+02:00", "name": "Test AI", "path": ".github/workflows/test-integrations-ai.yml", "contents": null, "state": "active", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:56.502255", "created_at": "2020-01-11T11:49:48+01:00", "updated_at": "2021-01-06T19:15:25+01:00", "name": "Python tests", "path": "", "contents": null, "state": "disabled_manually", "repository": "getsentry/sentry-python"}
{"mined_at": "2024-07-15T14:39:58.557675", "created_at": "2024-02-12T10:53:07+01:00", "updated_at": "2024-02-12T10:53:07+01:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": null, "state": "active", "repository": "mljar/mljar-supervised"}
{"mined_at": "2024-07-15T14:39:59.603129", "created_at": "2021-10-29T15:20:12+02:00", "updated_at": "2021-10-29T15:53:14+02:00", "name": "Tests", "path": ".github/workflows/run-tests.yml", "contents": "name: Tests\n\non: [ push,pull_request ]\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ ubuntu-latest, macos-latest, windows-latest ]\n        python-version: [ '3.8', '3.9', '3.10', '3.11' ]\n\n    steps:\n      - name: Install OS Dependencies\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo apt-get update\n          sudo apt-get -y install graphviz\n\n      - name: Install OS Dependencies\n        if: matrix.os == 'macos-latest'\n        run: |\n          brew install graphviz\n\n      - name: Install OS Dependencies\n        if: matrix.os == 'windows-latest'\n        run: |\n          choco install graphviz\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Python Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade setuptools\n          pip install -U importlib-metadata>=1.7.0\n          pip install -U -r requirements.txt\n          pip install -U -r requirements_dev.txt\n          pip install ipython\n          python setup.py install\n      - name: Test with pytest\n        run: |\n          pytest tests --cov=supervised/\n    continue-on-error: true", "state": "active", "repository": "mljar/mljar-supervised"}
{"mined_at": "2024-07-15T14:40:00.729362", "created_at": "2021-12-03T09:29:42+01:00", "updated_at": "2021-12-03T09:29:42+01:00", "name": "Test installation with conda", "path": ".github/workflows/test-installation-with-conda.yml", "contents": "name: Test installation with conda\n\non: \n  schedule:\n    - cron:  '0 8 * * 1'\n  # run workflow manually\n  workflow_dispatch:\n  \njobs:\n  build:\n    name: Run (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest] \n        python-version: ['3.8']\n    \n    steps:\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          activate-environment: test\n          auto-update-conda: false\n          python-version: ${{ matrix.python-version }}\n      - name: Activate conda and check versions\n        run: |\n          conda activate test\n          conda --version\n          python --version\n      - name: Install MLJAR AutoML\n        run: conda install -c conda-forge mljar-supervised\n      - name: Try to import\n        run: python -c \"import supervised;print(supervised.__version__)\"\n", "state": "active", "repository": "mljar/mljar-supervised"}
{"mined_at": "2024-07-15T14:40:02.946396", "created_at": "2022-11-11T19:09:46+01:00", "updated_at": "2022-11-13T05:32:53+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"0 22 * * 0\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "pyglet/pyglet"}
{"mined_at": "2024-07-15T14:40:04.012169", "created_at": "2021-09-17T02:31:04+02:00", "updated_at": "2024-02-29T09:49:11+01:00", "name": "PyTest", "path": ".github/workflows/unittests.yml", "contents": "name: PyTest\n\non: [push, pull_request]\n\njobs:\n  linux:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.10' ]\n    name: Python ${{ matrix.python-version }} ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest\n          sudo apt-get install xvfb\n      - name: Run tests\n        run: |\n          xvfb-run pytest tests --ignore=tests/interactive\n\n  osx:\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python-version: [ '3.10', '3.11', '3.12' ]\n    name: Python ${{ matrix.python-version }} OSX\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install pytest\n      - name: Run tests\n        run: |\n          pytest tests --ignore=tests/interactive --ignore=tests/integration\n\n  windows:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]\n    name: Python ${{ matrix.python-version }} Windows\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: msys2/setup-msys2@v2\n        with:\n          msystem: MINGW64\n          release: false\n          install: mingw-w64-x86_64-mesa\n      - uses: ssciwr/setup-mesa-dist-win@v2\n      - name: Install dependencies\n        run: |\n          pip install pytest\n      - name: Run tests\n        shell: pwsh\n        run: |\n          pytest tests --ignore=tests/interactive\n", "state": "active", "repository": "pyglet/pyglet"}
{"mined_at": "2024-07-15T14:40:06.990835", "created_at": "2021-06-25T23:07:38+02:00", "updated_at": "2021-06-25T23:07:38+02:00", "name": "Building Conda", "path": ".github/workflows/building-conda.yml", "contents": "name: Building Conda\n\non: [workflow_dispatch]\n\njobs:\n\n  conda-build:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # We have trouble building for Windows - drop for now.\n        os: [ubuntu-20.04]  # windows-2019\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        torch-version: [2.3.0]  # [2.1.0, 2.2.0, 2.3.0]\n        cuda-version: ['cpu', 'cu118', 'cu121']\n        exclude:\n          - python-version: '3.12'  # Python 3.12 not yet supported in `conda-build`.\n          - torch-version: 2.1.0\n            python-version: '3.12'\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Conda for Python ${{ matrix.python-version }}\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Free Disk Space (Ubuntu)\n        if: ${{ runner.os == 'Linux' }}\n        uses: jlumbroso/free-disk-space@main\n\n      - name: Install Conda packages\n        run: |\n          conda install conda-build conda-verify --yes\n        shell:\n          bash -l {0}\n\n      - name: Install CUDA ${{ matrix.cuda-version }}\n        if: ${{ matrix.cuda-version != 'cpu' }}\n        run: |\n          bash .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}.sh\n        shell:\n          bash\n\n      - name: Build Conda package for CPU\n        if: ${{ matrix.cuda-version == 'cpu' }}\n        run: |\n          FORCE_CUDA=0 TORCH_CUDA_ARCH_LIST=0 ./conda/pytorch-scatter/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}\n        shell:\n          bash -l {0}\n\n      - name: Build Conda package for GPU\n        if: ${{ matrix.cuda-version != 'cpu' }}\n        run: |\n          source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh\n          ./conda/pytorch-scatter/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}\n        shell:\n          bash -l {0}\n\n      - name: Publish Conda package on organization channel\n        run: |\n          conda install anaconda-client --yes\n          anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2\n        env:\n          ANACONDA_API_TOKEN: ${{ secrets.PYG_ANACONDA_TOKEN }}\n        shell:\n          bash -l {0}\n\n      - name: Publish Conda package on personal channel\n        run: |\n          conda install anaconda-client --yes\n          anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2\n        env:\n          ANACONDA_API_TOKEN: ${{ secrets.RUSTY1S_ANACONDA_TOKEN }}\n        shell:\n          bash -l {0}\n", "state": "active", "repository": "rusty1s/pytorch_scatter"}
{"mined_at": "2024-07-15T14:40:07.993790", "created_at": "2021-06-16T09:27:02+02:00", "updated_at": "2022-12-05T09:33:05+01:00", "name": "Building Wheels", "path": ".github/workflows/building.yml", "contents": "name: Building Wheels\n\non: [workflow_dispatch]\n\njobs:\n\n  wheel:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, macos-14, windows-2019]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        torch-version: [2.3.0]  # [2.1.0, 2.2.0, 2.3.0]\n        cuda-version: ['cpu', 'cu118', 'cu121']\n        exclude:\n          - torch-version: 2.1.0\n            python-version: '3.12'\n          - os: macos-14\n            cuda-version: 'cu118'\n          - os: macos-14\n            cuda-version: 'cu121'\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        run: |\n          pip install --upgrade setuptools\n\n      - name: Free Disk Space (Ubuntu)\n        if: ${{ runner.os == 'Linux' }}\n        uses: jlumbroso/free-disk-space@main\n\n      - name: Install CUDA ${{ matrix.cuda-version }}\n        if: ${{ matrix.cuda-version != 'cpu' }}\n        run: |\n          bash .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}.sh\n\n      - name: Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}\n        run: |\n          pip install torch==${{ matrix.torch-version }} --extra-index-url https://download.pytorch.org/whl/${{ matrix.cuda-version }}\n          python -c \"import torch; print('PyTorch:', torch.__version__)\"\n          python -c \"import torch; print('CUDA:', torch.version.cuda)\"\n\n      - name: Patch PyTorch static constexpr on Windows\n        if: ${{ runner.os == 'Windows' }}\n        run: |\n          Torch_DIR=`python -c 'import os; import torch; print(os.path.dirname(torch.__file__))'`\n          sed -i '31,38c\\\n          TORCH_API void lazy_init_num_threads();' ${Torch_DIR}/include/ATen/Parallel.h\n        shell: bash\n\n      - name: Set version\n        if: ${{ runner.os != 'macOS' }}\n        run: |\n          VERSION=`sed -n \"s/^__version__ = '\\(.*\\)'/\\1/p\" torch_scatter/__init__.py`\n          TORCH_VERSION=`echo \"pt${{ matrix.torch-version }}\" | sed \"s/..$//\" | sed \"s/\\.//g\"`\n          CUDA_VERSION=`echo ${{ matrix.cuda-version }}`\n          echo \"New version name: $VERSION+$TORCH_VERSION$CUDA_VERSION\"\n          sed -i \"s/$VERSION/$VERSION+$TORCH_VERSION$CUDA_VERSION/\" setup.py\n          sed -i \"s/$VERSION/$VERSION+$TORCH_VERSION$CUDA_VERSION/\" torch_scatter/__init__.py\n        shell:\n          bash\n\n      - name: Install main package for CPU\n        if: ${{ matrix.cuda-version == 'cpu' }}\n        run: |\n          FORCE_ONLY_CPU=1 python setup.py develop\n        shell:\n          bash\n\n      - name: Install main package for GPU\n        if: ${{ matrix.cuda-version != 'cpu' }}\n        run: |\n          source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh\n          python setup.py develop\n        shell:\n          bash\n\n      - name: Test installation\n        run: |\n          python -c \"import torch_scatter; print('torch-scatter:', torch_scatter.__version__)\"\n\n      - name: Build wheel\n        run: |\n          pip install wheel\n          python setup.py bdist_wheel --dist-dir=dist\n\n      - name: Configure AWS\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-west-1\n\n      - name: Upload wheel\n        run: |\n          aws s3 sync dist s3://data.pyg.org/whl/torch-${{ matrix.torch-version }}+${{ matrix.cuda-version }} --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers\n", "state": "active", "repository": "rusty1s/pytorch_scatter"}
{"mined_at": "2024-07-15T14:40:09.163927", "created_at": "2021-06-16T08:40:37+02:00", "updated_at": "2021-06-16T08:40:37+02:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n\n  flake8:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: |\n          pip install flake8\n\n      - name: Run linting\n        run: |\n          flake8 .\n", "state": "active", "repository": "rusty1s/pytorch_scatter"}
{"mined_at": "2024-07-15T14:40:10.177563", "created_at": "2021-09-15T20:45:29+02:00", "updated_at": "2021-09-15T20:45:29+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: \"Close stale issues and PRs\"\n\non:\n  schedule:\n    # Every day at 00:00\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/stale@v4.0.0\n        with:\n          stale-issue-message: 'This issue had no activity for **6 months**. It will be closed in **2 weeks** unless there is some new activity. Is this issue already resolved?'\n          stale-issue-label: 'stale'\n          exempt-issue-labels: 'bug,enhancement,good first issue'\n          stale-pr-message: 'This pull request had no activity for **6 months**. It will be closed in **2 weeks** unless there is some new activity.'\n          stale-pr-label: 'stale'\n          days-before-stale: 180\n          days-before-close: 14\n          operations-per-run: 200\n", "state": "active", "repository": "rusty1s/pytorch_scatter"}
{"mined_at": "2024-07-15T14:40:11.417551", "created_at": "2021-06-16T08:40:37+02:00", "updated_at": "2022-12-05T08:51:52+01:00", "name": "Testing", "path": ".github/workflows/testing.yml", "contents": "name: Testing\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n\n  pytest:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [3.8]\n        torch-version: [2.2.0, 2.3.0]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install PyTorch ${{ matrix.torch-version }}\n        run: |\n          pip install torch==${{ matrix.torch-version }} --extra-index-url https://download.pytorch.org/whl/cpu\n\n      - name: Patch PyTorch static constexpr on Windows\n        if: ${{ runner.os == 'Windows' }}\n        run: |\n          Torch_DIR=`python -c 'import os; import torch; print(os.path.dirname(torch.__file__))'`\n          sed -i '31,38c\\\n          TORCH_API void lazy_init_num_threads();' ${Torch_DIR}/include/ATen/Parallel.h\n        shell: bash\n\n      - name: Install main package\n        run: |\n          python setup.py develop\n\n      - name: Run test-suite\n        run: |\n          pip install pytest pytest-cov\n          pytest --cov --cov-report=xml\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n        if: success()\n        with:\n          fail_ci_if_error: false\n", "state": "active", "repository": "rusty1s/pytorch_scatter"}
{"mined_at": "2024-07-15T14:40:13.485851", "created_at": "2024-03-25T08:14:53+01:00", "updated_at": "2024-03-25T08:14:53+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "paddlepaddle/paddleclas"}
{"mined_at": "2024-07-15T14:40:15.550202", "created_at": "2020-09-12T01:56:43+02:00", "updated_at": "2020-09-12T01:56:43+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "# https://docs.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions\n#\n# Contributors to the evolution of this form:\n#\n#  sunqm\n#  fishjojo\n#  mjw99\n#  yangcal\n#  maxscheurer\n#\nname: CI\n\n#FIXME: workflow dependency not working on non-default branch?\n#on:\n#  workflow_run:\n#    workflows:\n#      - Lint\n#    types:\n#      - completed\non: [push, pull_request]\n\njobs:\n  linux-build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        python-version: [\"3.8\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install and Test\n        run: ./.github/workflows/run_ci.sh\n      - name: Upload to codecov\n        if: matrix.python-version == '3.8'\n        uses: codecov/codecov-action@v1.0.13\n        with:\n          token: ${{secrets.CODECOV_TOKEN}}\n  \n  linux-build-aarch64:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [ubuntu-20.04]\n        pyver: [cp39-cp39]\n    env:\n      img: quay.io/pypa/manylinux2014_aarch64\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up QEMU\n        id: qemu\n        uses: docker/setup-qemu-action@v2\n      - name: Build Wheel\n        run: |\n            docker run --rm -v ${{ github.workspace }}:/src/pyscf:rw --workdir=/src/pyscf ${{ env.img }} \\\n            bash -exc '/opt/python/${{ matrix.pyver }}/bin/pip install --upgrade pip setuptools && \\\n            /opt/python/${{ matrix.pyver }}/bin/pip install \"numpy!=1.16,!=1.17\" \"scipy!=1.5\" h5py==3.10 pytest pytest-cov pytest-timer pyberny geometric && \\\n            yum install -y epel-release && \\\n            yum-config-manager --enable epel && \\\n            yum install -y openblas-devel gcc cmake curl && \\\n            cd ./pyscf/lib && curl -o deps.tar.gz -L \"https://github.com/pyscf/pyscf-build-deps/blob/master/pyscf-2.2-aarch64-deps.tar.gz?raw=true\"  && \\\n            tar xzf deps.tar.gz && \\\n            mkdir build && cd build && \\\n            cmake -DBUILD_LIBXC=OFF -DBUILD_XCFUN=OFF -DBUILD_LIBCINT=OFF .. && \\\n            make -j2 && cd .. && rm -Rf build && cd ../.. && \\\n            export OMP_NUM_THREADS=1 && export PYTHONPATH=$(pwd):$PYTHONPATH && \\\n            echo 'pbc_tools_pbc_fft_engine = \"NUMPY\"' > .pyscf_conf.py && \\\n            echo \"dftd3_DFTD3PATH = './pyscf/lib/deps/lib'\" >> .pyscf_conf.py && \\\n            echo \"scf_hf_SCF_mute_chkfile = True\" >> .pyscf_conf.py && \\\n            ulimit -s 20000 && /opt/python/${{ matrix.pyver }}/bin/pytest pyscf/ --ignore=pyscf/adc --ignore=pyscf/pbc/df --ignore=pyscf/pbc/cc -s -c pytest.ini pyscf'\n\n  macos-build:\n    runs-on: macos-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install and Test\n        run: ./.github/workflows/run_ci.sh\n      - name: Upload to codecov\n        uses: codecov/codecov-action@v1.0.13\n        with:\n          token: ${{secrets.CODECOV_TOKEN}}\n", "state": "active", "repository": "pyscf/pyscf"}
{"mined_at": "2024-07-15T14:40:16.656962", "created_at": "2021-03-09T22:19:07+01:00", "updated_at": "2021-03-09T22:19:07+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non: [push, pull_request]\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Install ruff\n      run: pip install ruff\n    - name: Check style\n      run: ruff check --config .ruff.toml pyscf\n    - name: Check NumPy\n      run: ruff check --select NPY --ignore NPY002 pyscf\n  flake:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - name: Install flake8\n      run: pip install \"flake8>=3.7.0\"\n    - name: Static analysis\n      run: flake8 --config .flake8 pyscf\n  lint-pycodestyle:\n    name: Code style check with pycodestyle\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - name: Install pycodestyle\n      run: pip install pycodestyle\n    - name: Lint using pycodestyle\n      run: pycodestyle --select=E111,W191,W293 pyscf\n\n#      - name: Static analysis\n#        uses: suo/flake8-github-action@releases/v1\n#        with:\n#          checkName: 'flake'   # NOTE: this needs to be the same as the job name\n#        env:\n#            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n#        run: flake8 --config .flake8 pyscf\n", "state": "active", "repository": "pyscf/pyscf"}
{"mined_at": "2024-07-15T14:40:17.693134", "created_at": "2021-04-05T03:15:42+02:00", "updated_at": "2021-04-05T03:15:42+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  release:\n    types:\n      # Note: editing the prerelease then marking as release does not trigger\n      # this pipeline\n      # - prereleased\n      - released\n  workflow_dispatch:\n\njobs:\n  release-pypi-linux:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build wheels\n        run: |\n            docker run --rm -v ${{ github.workspace }}:/src/pyscf \\\n            -e CMAKE_BUILD_PARALLEL_LEVEL=4 \\\n            pyscf/pyscf-pypa-env:latest \\\n            bash /src/pyscf/docker/pypa-env/build-wheels.sh\n      - name: List available wheels\n        run: |\n          ls ${{ github.workspace }}/linux-wheels\n      - name: Publish to PyPI\n        # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          #password: ${{ secrets.PYPI_TEST_API_TOKEN }}\n          #repository_url: https://test.pypi.org/legacy/\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          packages-dir: ${{ github.workspace }}/linux-wheels\n          verbose: true\n\n  release-pypi-aarch64:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    env:\n      img: quay.io/pypa/manylinux2014_aarch64:2023-03-12-25fd859\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Set up QEMU\n      id: qemu\n      uses: docker/setup-qemu-action@v2\n    - name: Build Wheel\n      run: |\n            docker run --rm -v ${{ github.workspace }}:/src/pyscf:rw --workdir=/src/pyscf \\\n            ${{ env.img }} \\\n            bash -exc '/opt/python/cp39-cp39/bin/pip install --upgrade pip setuptools && \\\n            yum install -y epel-release && \\\n            yum-config-manager --enable epel && \\\n            yum install -y openblas-devel gcc && \\\n            export src=${GITHUB_WORKSPACE:-/src/pyscf} && \\\n            export dst=${GITHUB_WORKSPACE:-/src/pyscf}/linux-wheels && \\\n            export CMAKE_CONFIGURE_ARGS=\"-DWITH_F12=OFF -DENABLE_SMD=ON\" && \\\n            export CMAKE_BUILD_PARALLEL_LEVEL=4 && \\\n            mkdir -p /root/wheelhouse $src/linux-wheels && \\\n            sed -i \"/            if basename(fn) not in needed_libs:/s/basename.*libs/1/\" /opt/_internal/pipx/venvs/auditwheel/lib/python*/site-packages/auditwheel/wheel_abi.py && \\\n            /opt/python/cp39-cp39/bin/pip wheel -v --no-deps --no-clean -w /root/wheelhouse $src && \\\n            export whl=`ls /root/wheelhouse/pyscf-*-linux_*.whl` && \\\n            auditwheel -v repair \"$whl\" --lib-sdir /lib -w $dst'\n    - name: List available wheels\n      run: |\n        ls ${{ github.workspace }}/linux-wheels\n    - name: Publish to PyPI\n      # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        #password: ${{ secrets.PYPI_TEST_API_TOKEN }}\n        #repository_url: https://test.pypi.org/legacy/\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        packages-dir: ${{ github.workspace }}/linux-wheels\n        verbose: true\n\n  release-pypi-macos-x86:\n    name: Build wheels for macos\n    runs-on: macos-12\n    steps:\n      - uses: fortran-lang/setup-fortran@v1\n        with:\n          compiler: gcc\n          version: 11\n      - uses: actions/checkout@v4\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.14.1\n        env:\n          CIBW_BUILD: cp311-macosx_x86_64\n          CIBW_BUILD_VERBOSITY: \"1\"\n          CMAKE_CONFIGURE_ARGS: \"-DWITH_F12=OFF -DENABLE_SMD=ON\"\n          CMAKE_BUILD_PARALLEL_LEVEL: \"4\"\n        with:\n          output-dir: mac-wheels\n      - name: List available wheels\n        run: |\n            ls mac-wheels\n      - name: Publish to PyPI\n        run: |\n            pip3 install twine\n            export TWINE_USERNAME=__token__\n            export TWINE_PASSWORD=\"${{ secrets.PYPI_API_TOKEN }}\"\n            twine upload --verbose mac-wheels/*\n\n  release-pypi-macos-arm64:\n    name: Build wheels for Apple M chips\n    runs-on: macos-12\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.14.1\n        env:\n          CIBW_BUILD: cp311-macosx_arm64\n          CIBW_BUILD_VERBOSITY: \"1\"\n          # Cross-platform build for arm64 wheels on x86 platform\n          CIBW_ARCHS_MACOS: \"x86_64 universal2 arm64\"\n          CMAKE_CONFIGURE_ARGS: \"-DWITH_F12=OFF -DENABLE_SMD=OFF\"\n          CMAKE_BUILD_PARALLEL_LEVEL: \"4\"\n          CMAKE_OSX_ARCHITECTURES: arm64\n        with:\n          output-dir: mac-wheels\n      - name: List available wheels\n        run: |\n            ls mac-wheels\n      - name: Publish to PyPI\n        run: |\n            pip3 install twine\n            export TWINE_USERNAME=__token__\n            export TWINE_PASSWORD=\"${{ secrets.PYPI_API_TOKEN }}\"\n            twine upload --verbose mac-wheels/*\n\n  release-pypi-sdist:\n    runs-on: ubuntu-latest\n    needs:\n      - release-pypi-linux\n      - release-pypi-aarch64\n      - release-pypi-macos-x86\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build sdist\n        run: |\n          pip install build\n          python3 -m build -s\n      - name: List available sdist\n        run: |\n          ls ${{ github.workspace }}/dist\n      - name: Publish to PyPI\n        # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          #password: ${{ secrets.PYPI_TEST_API_TOKEN }}\n          #repository_url: https://test.pypi.org/legacy/\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          packages-dir: ${{ github.workspace }}/dist\n          verbose: true\n\n  release-conda-linux:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup conda\n        uses: s-weigand/setup-conda@v1\n        with:\n          update-conda: true\n          conda-channels: conda-forge\n      - run: conda --version\n      - run: which python\n      - name: Publish to conda\n        run: |\n          export CMAKE_BUILD_PARALLEL_LEVEL=4\n          export ANACONDA_API_TOKEN=${{ secrets.ANACONDA_TOKEN }}\n          conda install -y anaconda-client conda-build\n          conda config --set anaconda_upload yes\n          conda build --output-folder . conda\n\n  release-docker:\n    runs-on: ubuntu-latest\n    needs: release-pypi-sdist\n    steps:\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: pyscf\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - id: docker-tag\n        uses: battila7/get-version-action@v2\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v2\n        with:\n          file: docker/Dockerfile\n          push: true\n          tags: pyscf/pyscf:${{ steps.docker-tag.outputs.version-without-v }}\n          #cache-from: type=local,src=/tmp/.buildx-cache\n          #cache-to: type=local,dest=/tmp/.buildx-cache\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "pyscf/pyscf"}
{"mined_at": "2024-07-15T14:40:18.742900", "created_at": "2021-04-05T03:15:42+02:00", "updated_at": "2021-04-05T03:15:42+02:00", "name": "Create release", "path": ".github/workflows/release_tag.yml", "contents": "name: Create release\n\non: [workflow_dispatch]\n\njobs:\n  create-release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Release Info\n        run: ./.github/workflows/release_info.sh\n        id: release_info\n      - name: Create Release\n        if: ${{ steps.release_info.outputs.version_tag }}\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n        with:\n          tag_name: ${{ steps.release_info.outputs.version_tag }}\n          release_name: PySCF ${{ steps.release_info.outputs.version_tag }} release\n          body_path: RELEASE.md\n          prerelease: true\n          # draft: true\n\n", "state": "active", "repository": "pyscf/pyscf"}
{"mined_at": "2024-07-15T14:40:20.707188", "created_at": "2022-10-28T14:05:16+02:00", "updated_at": "2022-10-28T14:05:16+02:00", "name": "Deploy Docs to Pages", "path": ".github/workflows/deploy-mkdocs-poetry.yml", "contents": "name: Deploy Docs to Pages\n\nenv:\n  # Specify Python version to quick change in the future\n  # See: https://github.com/actions/setup-python/tree/main#available-versions-of-python\n  PYTHON_VERSION: \"3.8\"\n\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push events but only for the \"main\" branch\n  # and docs related files (paths)\n  push:\n    branches: [ \"master\" ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains two jobs called \"build-docs\" and \"deploy-docs\"\n\n  # Build docs via MkDocs with poetry shell (environment)\n  build-docs:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Install Poetry\n        run: pip install poetry\n\n      - name: Install Dependencies\n        run: poetry install --no-root --only docs\n\n      # Build MkDocs static files (in 'site' folder)\n      - name: Build docs\n        run: poetry run mkdocs build\n\n      # upload the static files as an artifact\n      - name: Upload static artifact (.zip)\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: \"site/\"\n\n  # Deploy docs job\n  deploy-docs:\n    # Add a dependency to the build job\n    needs: build-docs\n\n    # Grant GITHUB_TOKEN the permissions required to make a Pages deployment\n    permissions:\n      pages: write      # to deploy to Pages\n      id-token: write   # to verify the deployment originates from an appropriate source\n\n    # Deploy to the github-pages environment\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    # Specify runner + deployment step\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy docs to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v1\n", "state": "active", "repository": "yashaka/selene"}
{"mined_at": "2024-07-15T14:40:21.758737", "created_at": "2021-01-08T09:21:26+01:00", "updated_at": "2021-01-08T09:21:26+01:00", "name": "linters", "path": ".github/workflows/linters.yml", "contents": "name: linters\n\non:\n\n  push:\n    paths-ignore:\n      - .run/\n      - .coveragerc\n      - .gitignore\n      - CHANGELOG.md\n      - CONTRIBUTING.md\n      - LICENSE\n      - mkdocs.yml\n      - README.md\n      - .github/workflows/deploy-mkdocs-poetry.yml\n      - .github/workflows/publish.yml\n      - .github/workflows/tests.yml\n      - .github/workflows/traffic2badge.yml\n      - .github/FUNDING.yml\n\n  pull_request:\n    paths-ignore:\n      - .run/\n      - .coveragerc\n      - .gitignore\n      - CHANGELOG.md\n      - CONTRIBUTING.md\n      - LICENSE\n      - mkdocs.yml\n      - README.md\n      - .github/workflows/deploy-mkdocs-poetry.yml\n      - .github/workflows/publish.yml\n      - .github/workflows/tests.yml\n      - .github/workflows/traffic2badge.yml\n      - .github/FUNDING.yml\n\njobs:\n\n  Black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - run: |\n          pip install black==24.2.0\n          .run/lint_black.sh\n\n  Pycodestyle:\n    name: Lint Pycodestyle\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Pycodestyle\n        run: |\n          pip install pycodestyle\n          .run/lint_pycodestyle.sh\n\n  Pylint:\n    name: Lint Pylint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Pylint\n        run: |\n          pip install pylint\n          .run/lint_pylint.sh\n\n  Pylint-full-report:\n    name: Lint Pylint Full Report\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Pylint Full Report\n        run: |\n          pip install pylint\n          touch __init__.py\n          pylint $(pwd) --disable=\"\" --ignore-patterns=.venv --exit-zero\n          rm __init__.py\n\n  Mypy:\n    name: Mypy\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Mypy\n        run: |\n          pip install mypy\n          .run/lint_mypy.sh\n", "state": "active", "repository": "yashaka/selene"}
{"mined_at": "2024-07-15T14:40:22.884416", "created_at": "2021-04-24T14:41:01+02:00", "updated_at": "2021-04-24T14:41:01+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Upload Python Package\non:\n  release:\n    types: [ published ]\n\njobs:\n  build_and_publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: abatilo/actions-poetry@v2\n\n      - name: Bump version\n        run: |\n          version=${{ github.event.release.tag_name }}\n          poetry version $version\n          sed -i \"s/__version__ = .*/__version__ = \\'${version}\\'/g\" ./selene/__init__.py\n\n      - name: Commit version\n        uses: EndBug/add-and-commit@v9\n        with:\n          add: '[\"pyproject.toml\", \"selene/__init__.py\"]'\n          branch: 'master'\n          message: 'bump version up to ${{ github.event.release.tag_name }}'\n\n      - name: Build and publish to pypi\n        uses: JRubics/poetry-publish@v1.16\n        with:\n          pypi_token: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "yashaka/selene"}
{"mined_at": "2024-07-15T14:40:23.909264", "created_at": "2021-01-03T18:03:55+01:00", "updated_at": "2021-04-28T08:31:54+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n\n  push:\n    paths-ignore:\n      - .run/\n      - examples/\n      - .coveragerc\n      - .gitignore\n      - .pylint-disabled-rules\n      - CHANGELOG.md\n      - CONTRIBUTING.md\n      - LICENSE\n      - mkdocs.yml\n      - README.md\n      - .github/workflows/deploy-mkdocs-poetry.yml\n      - .github/workflows/linters.yml\n      - .github/workflows/publish.yml\n      - .github/workflows/traffic2badge.yml\n      - .github/FUNDING.yml\n\n  pull_request:\n    paths-ignore:\n      - .run/\n      - examples/\n      - .coveragerc\n      - .gitignore\n      - .pylint-disabled-rules\n      - CHANGELOG.md\n      - CONTRIBUTING.md\n      - LICENSE\n      - mkdocs.yml\n      - README.md\n      - .github/workflows/deploy-mkdocs-poetry.yml\n      - .github/workflows/linters.yml\n      - .github/workflows/publish.yml\n      - .github/workflows/traffic2badge.yml\n      - .github/FUNDING.yml\n\njobs:\n\n  test:\n    runs-on: ubuntu-latest\n    env:\n      DISPLAY: \":99\"\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      selenoid_login: ${{ secrets.SELENOID_LOGIN }}\n      selenoid_password: ${{ secrets.SELENOID_PASSWORD }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ '3.8', '3.11' ]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: technote-space/get-diff-action@v6\n        with:\n          PATTERNS: |\n            +(selene|tests)/**/*.py\n          FILES: |\n            poetry.lock\n            tests.yml\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n        if: env.GIT_DIFF\n\n      # can be packaged as Docker-image\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry\n          poetry install\n        if: env.GIT_DIFF\n\n      # can be packaged as Docker-image; p.s.: no need to install chrome or firefox on github-actions\n      - name: Install xvfb\n        run: |\n          sudo apt-get update\n          sudo apt-get install xvfb\n          sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &\n        if: env.GIT_DIFF\n\n      - name: Tests\n        run: |\n          poetry run pytest -sv --cov-config .coveragerc --cov-report html:skip-covered --cov-report term:skip-covered --cov=selene  --cov-report xml:coverage.xml --tb=short tests/ --headless=True\n          mkdir -p Artifacts/skip-covered\n          cp -r skip-covered Artifacts/skip-covered\n        if: env.GIT_DIFF\n\n      # can be improved by flags/options\n#      - name: Code Coverage\n#        uses: codecov/codecov-action@v3\n#        with:\n#          file: ./coverage.xml # optional\n#          name: selene-codecov # optional\n#          fail_ci_if_error: true # optional (default = false)\n#          verbose: true\n#        if: env.GIT_DIFF\n\n#      # can be organized better\n#      - name: Upload pytest test results\n#        uses: actions/upload-artifact@v3\n#        with:\n#          name: Code coverage\n#          path: |\n#            Artifacts\n#            coverage.xml\n#        if: env.GIT_DIFF\n", "state": "active", "repository": "yashaka/selene"}
{"mined_at": "2024-07-15T14:40:24.926805", "created_at": "2021-01-06T14:37:09+01:00", "updated_at": "2021-01-06T14:37:09+01:00", "name": "traffic2badge", "path": ".github/workflows/traffic2badge.yml", "contents": "name: traffic2badge\non:\n  push:\n    branches:\n      - master\n  schedule:\n    - cron: '1 0 * * *' #every day at 00:01:00 UTC\n\njobs:\n  run:\n    name: Make GitHub Traffic to Badge\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v3\n\n      - name: Get Commit Message\n        id: message\n        uses: actions/github-script@v6\n        env:\n          FULL_COMMIT_MESSAGE: '${{ github.event.head_commit.message }}'\n        with:\n          result-encoding: string\n          script: |\n            var message = `${process.env.FULL_COMMIT_MESSAGE}`;\n            core.info(message);\n            if (message != '') return message;\n            var time = new Date(Date.now()).toISOString();\n            core.info(time);\n            return `Get traffic data at ${time}`;\n\n      - name: Set Traffic\n        id: traffic\n        uses: yi-Xu-0100/traffic-to-badge@v1.4.0\n        with:\n          my_token: ${{ secrets.TRAFFIC_TOKEN }}\n          #(default) static_list: ${{ github.repository }}\n          #(default) traffic_branch: traffic\n          #(default) views_color: brightgreen\n          #(default) clones_color: brightgreen\n          #(default) views_week_color: brightgreen\n          #(default) clones_week_color: brightgreen\n          #(default) logo: github\n          #(default) year:\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_branch: ${{ steps.traffic.outputs.traffic_branch }}\n          publish_dir: ${{ steps.traffic.outputs.traffic_path }}\n          user_name: 'github-actions[bot]'\n          user_email: 'github-actions[bot]@users.noreply.github.com'\n          full_commit_message: ${{ steps.message.outputs.result }}\n\n      - name: Show Traffic Data\n        run: |\n          echo ${{ steps.traffic.outputs.traffic_branch }}\n          echo ${{ steps.traffic.outputs.traffic_path }}\n          cd ${{ steps.traffic.outputs.traffic_path }}\n          ls -a\n", "state": "active", "repository": "yashaka/selene"}
{"mined_at": "2024-07-15T14:40:26.969576", "created_at": "2020-12-03T21:06:04+01:00", "updated_at": "2020-12-03T21:06:04+01:00", "name": "Python package", "path": ".github/workflows/ci.yml", "contents": "name: Python package\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.10']\n        experimental: [false]\n        include:\n          - python-version: '3.11'\n            experimental: true\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install apt dependencies\n      run: |\n        sudo apt-get update && sudo apt-get -y install plantuml libxml2-dev libxslt-dev python3-dev\n    - name: Install pip & test dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade setuptools\n        pip install pytest pre-commit\n    - name: Install dependencies for Python\n      run: |\n        pip install -c requirements.txt -e .[tests,sphinx,svgsupport,aafiguresupport,mathsupport,rawhtmlsupport]\n    - name: Lint\n      run: |\n        pre-commit run --all-files --show-diff-on-failure\n      if: matrix.python-version == '3.8'\n    - name: Test with pytest\n      run: |\n        pytest -v\n    - name: Archive test output\n      uses: actions/upload-artifact@v2\n      if: failure()\n      with:\n        name: failed-tests\n        path: tests/output\n        retention-days: 8\n", "state": "active", "repository": "rst2pdf/rst2pdf"}
{"mined_at": "2024-07-15T14:40:30.154359", "created_at": "2022-08-26T10:36:06+02:00", "updated_at": "2022-08-26T11:28:14+02:00", "name": "Publish docs via GitHub Pages", "path": ".github/workflows/main.yml", "contents": "name: Publish docs via GitHub Pages\non:\n  push:\n    branches:\n      - ij/docs\n    tags:\n      - \"**\"\njobs:\n  build:\n    name: Deploy docs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout master\n        uses: actions/checkout@v1\n\n      - name: Deploy docs\n        uses: mhausenblas/mkdocs-deploy-gh-pages@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REQUIREMENTS: docs/requirements.txt\n", "state": "active", "repository": "iver56/audiomentations"}
{"mined_at": "2024-07-15T14:40:31.314285", "created_at": "2022-08-26T10:56:37+02:00", "updated_at": "2022-08-26T10:56:37+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "iver56/audiomentations"}
{"mined_at": "2024-07-15T14:40:33.432353", "created_at": "2021-04-13T18:19:21+02:00", "updated_at": "2021-04-23T11:15:37+02:00", "name": "general", "path": ".github/workflows/general.yaml", "contents": "name: general\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - v*.*.*\n  pull_request:\n    branches:\n      - main\n  # schedule:\n  # - cron: \"0 3 * * *\"\n\njobs:\n  # Test (Linux)\n\n  test-linux:\n    if: github.event_name != 'schedule' || github.repository_owner == 'frictionlessdata'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Prepare environment\n        run: pip3 install hatch\n      - name: Prepare variables\n        run: cp .env.example .env\n      - name: Prepare secrets\n        if: env.GOOGLE_CREDENTIALS_DATA != null\n        run: echo $GOOGLE_CREDENTIALS_DATA > .google.json\n        env:\n          GOOGLE_CREDENTIALS_DATA: ${{ secrets.GOOGLE_CREDENTIALS_DATA }}\n      - name: Test software\n        run: hatch run +py=${{ matrix.py || matrix.python-version }} ci:test\n      - name: Report coverage\n        uses: codecov/codecov-action@v4.0.1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          slug: frictionlessdata/frictionless-py\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_DB: test\n          POSTGRES_PASSWORD: test\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n      mysql:\n        image: mysql:8\n        env:\n          MYSQL_DATABASE: test\n          MYSQL_ALLOW_EMPTY_PASSWORD: yes\n        ports:\n          - 3306:3306\n        options: >-\n          --health-cmd=\"mysqladmin ping\"\n          --health-interval=10s\n          --health-timeout=5s\n          --health-retries=3\n\n  # Test (MacOS)\n\n  test-macos:\n    if: github.event_name != 'schedule' || github.repository_owner == 'frictionlessdata'\n    # TODO: migrate to macos-latest after figuring out how to\n    # make `posgres/pg_config` works in the environment. Currently, it fails\n    # with the following error: \"pg_config\" not found\"\n    runs-on: macos-12\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Prepare environment\n        run: pip3 install hatch\n      - name: Prepare variables\n        run: cp .env.example .env\n      - name: Test software\n        # https://stackoverflow.com/questions/9678408/cant-install-psycopg2-with-pip-in-virtualenv-on-mac-os-x-10-7\n        run: LDFLAGS=`echo $(pg_config --ldflags)` hatch run +py=3.10 ci:test\n\n  # Test (Windows)\n\n  test-windows:\n    if: github.event_name != 'schedule' || github.repository_owner == 'frictionlessdata'\n    runs-on: windows-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Prepare environment\n        run: pip3 install hatch\n      - name: Prepare variables\n        run: cp .env.example .env\n      - name: Test software\n        run: hatch run +py=3.10 ci:test\n\n  # Deploy\n\n  deploy:\n    if: github.event_name == 'push'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Prepare environment\n        run: pip3 install hatch\n      - name: Install and build site\n        run: |\n          echo '!**/*.html' >> .gitignore\n          hatch run docs-build\n      - name: Publush to Github Pages\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          branch: site\n          create_branch: true\n          push_options: \"--force\"\n\n  # Release\n\n  release:\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n    needs: [test-linux, test-macos, test-windows]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: pip install -U build\n      - name: Build distribution\n        run: python -m build\n      - name: Publish to PYPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_KEY }}\n      - name: Release to GitHub\n        uses: softprops/action-gh-release@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "frictionlessdata/frictionless-py"}
{"mined_at": "2024-07-15T14:40:34.524223", "created_at": "2021-12-20T09:31:48+01:00", "updated_at": "2021-12-20T09:31:48+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "frictionlessdata/frictionless-py"}
{"mined_at": "2024-07-15T14:40:36.604345", "created_at": "2020-05-20T09:35:29+02:00", "updated_at": "2021-10-09T03:35:59+02:00", "name": "Build and Test", "path": ".github/workflows/build_and_test.yml", "contents": "name: Build and Test\n\non:\n    push:\n        branches: [ master, develop ]\n    pull_request:\n        branches: [ master, develop ]\n\njobs:\n    build_desktop:\n        name: \"Build and test\"\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest, windows-latest, macos-latest]\n                python-version: ['3.8', '3.9', '3.10', '3.11']\n        steps:\n            -   uses: actions/checkout@v3\n            -   name: Set up Python ${{ matrix.python-version }}\n                uses: actions/setup-python@v4\n                id: py\n                with:\n                    python-version: ${{ matrix.python-version }}\n            -   name: Create virtual environment\n                run: pipx run poetry env use '${{ steps.py.outputs.python-path }}'\n            -   name: Install dependencies\n                # work around https://github.com/python-poetry/poetry/issues/7161\n                env:\n                    SYSTEM_VERSION_COMPAT: 0\n                run: pipx run poetry install --only main,test\n            -   name: Test with pytest\n                run: |\n                    pipx run poetry run pytest tests --junitxml=junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}.xml --cov=com --cov-report=xml --cov-report=html\n            -   name: Upload pytest test results\n                uses: actions/upload-artifact@v1\n                with:\n                    name: pytest-results-${{ matrix.os }}-${{ matrix.python-version }}\n                    path: junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}.xml\n                # Use always() to always run this step to publish test results when there are test failures\n                if: ${{ always() }}\n", "state": "active", "repository": "hbldh/bleak"}
{"mined_at": "2024-07-15T14:40:37.614730", "created_at": "2021-12-31T22:04:46+01:00", "updated_at": "2021-12-31T22:04:46+01:00", "name": "Build and Test", "path": ".github/workflows/build_android.yml", "contents": "name: Build and Test\n\non: workflow_dispatch\n\njobs:\n    build_android:\n        name: \"Build Android\"\n        runs-on: ubuntu-22.04\n        steps:\n            -   uses: actions/checkout@v3\n            -   name: Install dependencies\n                run: pip install buildozer cython\n            -   name: Cache buildozer files\n                uses: actions/cache@v3\n                id: buildozer-cache\n                with:\n                    path: |\n                        ~/.buildozer\n                        examples/kivy/.buildozer\n                    key: build-cache-buildozer\n            -   name: Clean bleak recipe for cache\n                if: steps.buildozer-cache.outputs.cache-hit == 'true'\n                working-directory: examples/kivy\n                run: buildozer android p4a -- clean-recipe-build --local-recipes $(pwd)/../../bleak/backends/p4android/recipes bleak\n            -   name: Build Kivy example\n                working-directory: examples/kivy\n                run: buildozer android debug\n", "state": "active", "repository": "hbldh/bleak"}
{"mined_at": "2024-07-15T14:40:38.687630", "created_at": "2020-10-07T17:54:50+02:00", "updated_at": "2020-10-07T18:03:37+02:00", "name": "Format and Lint", "path": ".github/workflows/format_and_lint.yml", "contents": "name: Format and Lint\n\non:\n    push:\n        branches: [ master, develop ]\n    pull_request:\n        branches: [ master, develop ]\n\njobs:\n    format_and_lint:\n        name: \"Format and lint\"\n        runs-on: ubuntu-latest\n        steps:\n            -   uses: actions/checkout@v3\n            -   name: Set up Python\n                uses: actions/setup-python@v4\n            -   name: Install development dependencies\n                run: pipx run poetry install --only docs,lint\n            -   name: Check import sort with isort\n                run: pipx run poetry run isort . --check --diff\n            -   name: Check code formatting with black\n                run: pipx run poetry run black . --check --diff\n            -   name: Lint with flake8\n                run: pipx run poetry run flake8 . --count --show-source --statistics\n            -   name: Build docs\n                run: pipx run poetry run make -C docs html\n", "state": "active", "repository": "hbldh/bleak"}
{"mined_at": "2024-07-15T14:40:39.780997", "created_at": "2020-05-20T12:21:24+02:00", "updated_at": "2020-05-20T12:21:24+02:00", "name": "Upload Python Package", "path": ".github/workflows/pypi-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Build\n      run: pipx run poetry build\n    - name: Publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: pipx run twine upload dist/*\n", "state": "active", "repository": "hbldh/bleak"}
{"mined_at": "2024-07-15T14:40:42.955493", "created_at": "2021-05-11T15:15:15+02:00", "updated_at": "2021-05-11T15:32:57+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '36 5 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "postlund/pyatv"}
{"mined_at": "2024-07-15T14:40:43.985531", "created_at": "2021-09-07T12:41:39+02:00", "updated_at": "2021-09-07T13:24:36+02:00", "name": "Publish containers and make release", "path": ".github/workflows/release.yml", "contents": "name: Publish containers and make release\n\non:\n  push:\n    branches: ['master', 'test_release_branch']\n    tags:\n      - '*'\n  workflow_dispatch:\n\nenv:\n  REGISTRY: ghcr.io\n  PYTHON_VERSION: 3.9\n\njobs:\n  build_containers:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Cargo download work-around\n        run: |\n          mkdir -p ~/.cargo\n          cat <<EOF > ~/.cargo/config.toml\n          [net]\n          git-fetch-with-cli = true\n          EOF\n\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Build wheel\n        id: wheel\n        run: |\n          # If not a release branch, add SHA1 to patch version\n          if [ \"$(python scripts/version.py is_release)\" = \"false\" ]; then\n            python scripts/version.py sha1\n          fi\n\n          python -m pip install --upgrade setuptools pip wheel\n          python setup.py sdist bdist_wheel\n          echo \"version=$(python scripts/version.py get)\" >> $GITHUB_OUTPUT\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: ${{ env.REGISTRY }}/${{ github.repository }}\n          labels: |\n            org.opencontainers.image.ref.name=${{ github.ref }}\n          tags: |\n            type=ref,event=branch\n            type=ref,event=pr,\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=sha\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          builder: ${{ steps.buildx.outputs.name }}\n          platforms: linux/amd64,linux/arm64\n          push: true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            VERSION=${{ steps.wheel.outputs.version }}\n\n      - name: Upload built artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: packages\n          path: |\n            dist\n\n  make_release:\n    if: ${{ startsWith(github.ref, 'refs/tags/v') }}\n    needs: build_containers\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Download pre-built packages\n        uses: actions/download-artifact@v3\n        with:\n          name: packages\n          path: dist\n\n      - name: Extract release notes and name\n        id: info\n        shell: python {0}\n        run: |\n          import os\n          import re\n\n          name = None\n          version = None\n          notes = \"\"\n          with open(\"CHANGES.md\", \"r\", encoding=\"utf-8\") as handle:\n            for line in handle:\n              if line.startswith(\"##\"):\n                if name is None:\n                  version, name = re.match(r\"## ([0-9.]+) ([^(]+) \\(.*\", line).groups()\n                else:\n                  break\n              if name is not None:\n                notes += line\n\n          with open(os.environ[\"GITHUB_OUTPUT\"], \"a\", encoding=\"utf-8\") as fh:\n              fh.writelines([f\"name={name}\\n\", f\"version={version}\\n\"])\n\n          with open(\"notes.md\", \"w\", encoding=\"utf-8\") as handle:\n            handle.write(notes)\n\n      - name: Publish release\n        uses: ncipollo/release-action@v1\n        with:\n          artifacts: \"dist/pyatv-${{ steps.info.outputs.version }}.tar.gz,dist/pyatv-${{ steps.info.outputs.version }}-*.whl\"\n          bodyFile: \"notes.md\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n          draft: false\n          tag: v${{ steps.info.outputs.version }}\n          name: ${{ steps.info.outputs.name }}\n\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip_existing: true\n", "state": "active", "repository": "postlund/pyatv"}
{"mined_at": "2024-07-15T14:40:45.016203", "created_at": "2020-01-28T09:31:30+01:00", "updated_at": "2021-09-10T12:12:41+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  build:\n    name: >-\n      ${{ matrix.python-version }}\n      /\n      ${{ matrix.platform }}\n      /\n      (regression: ${{ matrix.regression }})\n    runs-on: ${{ matrix.platform }}\n    env:\n      CACHE_INVALIDATE: \"v4\"\n      CACHE_KEY: ${{ github.run_id }}-${{ github.job }}-${{ matrix.python-version }}-${{ matrix.platform }}-${{ matrix.regression }}\n    strategy:\n      matrix:\n        # https://help.github.com/articles/virtual-environments-for-github-actions\n        platform:\n          - ubuntu-latest\n          - macos-latest\n          - windows-latest\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        chickn-args:\n          - \"--no-venv\"\n        regression:\n          - false\n        include:\n          - platform: ubuntu-latest\n            python-version: 3.8\n            chickn-args: \"--no-venv -v requirements_file=base_versions.txt\"\n            regression: true\n    steps:\n    # Receipe for not running jobs again when re-running workflow\n    # https://medium.com/xcnotes/how-to-re-run-only-failed-jobs-on-github-actions-b79b13d1ceb2\n    - id: timestamp\n      shell: bash\n      run: echo \"::set-output name=timestamp::$(timestamp +%s)\"\n    - name: Restore the previous run result\n      uses: actions/cache@v2\n      with:\n        path: |\n          run_result\n        key: ${{ env.CACHE_KEY }}-${{ steps.timestamp.outputs.timestamp }}\n        restore-keys: |\n          ${{ env.CACHE_KEY }}-\n    - id: run_result\n      shell: bash\n      run: cat run_result 2>/dev/null || echo 'default'\n\n    # Regular flow continues here\n    - uses: actions/checkout@v2\n      if: steps.run_result.outputs.run_result != 'success'\n      with:\n        fetch-depth: 2\n    - name: Set up Python ${{ matrix.python-version }}\n      if: steps.run_result.outputs.run_result != 'success'\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: syphar/restore-virtualenv@v1\n      if: steps.run_result.outputs.run_result != 'success'\n      id: cache-virtualenv\n      with:\n        custom_cache_key_element: ${{ env.CACHE_INVALIDATE }}\n        requirement_files: |\n          **/*.txt\n          **/requirements/**.txt\n\n    - uses: syphar/restore-pip-download-cache@v1\n      if: steps.run_result.outputs.run_result != 'success' && steps.cache-virtualenv.outputs.cache-hit != 'true'\n\n    - name: Install dependencies\n      if: steps.run_result.outputs.run_result != 'success'\n      run: |\n        python -m pip install --upgrade setuptools pip pyyaml\n    - name: Test with chickn\n      if: steps.run_result.outputs.run_result != 'success'\n      run: python ./scripts/chickn.py -t miniaudio -t ${{ matrix.python-version }} ${{ matrix.chickn-args }}\n      shell: bash\n    - name: Upload coverage to Codecov\n      if: steps.run_result.outputs.run_result != 'success'\n      uses: codecov/codecov-action@v1\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n        name: pyatv\n        fail_ci_if_error: false\n\n    - name: Mark build as successful\n      if: steps.run_result.outputs.run_result != 'success'\n      run: echo \"::set-output name=run_result::success\" > run_result\n", "state": "active", "repository": "postlund/pyatv"}
{"mined_at": "2024-07-15T14:40:46.015244", "created_at": "2021-12-16T22:47:40+01:00", "updated_at": "2021-12-16T22:47:40+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "postlund/pyatv"}
{"mined_at": "2024-07-15T14:40:48.115201", "created_at": "2020-01-09T16:02:25+01:00", "updated_at": "2020-04-10T22:29:16+02:00", "name": "Flake8", "path": ".github/workflows/flake8.yml", "contents": "name: Flake8\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n   # Trigger the workflow on push or pull request,\n   # but only for the master branch\n   push:\n     branches:\n       - master\n   pull_request:\n     branches:\n       - master\n\njobs:\n  flake8:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8\n    - name: Lint with flake8\n      run: |\n        flake8 --builtins=ArgumentError .\n", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:40:49.143828", "created_at": "2020-01-09T16:05:34+01:00", "updated_at": "2020-11-30T03:11:58+01:00", "name": "Jupyter Notebooks", "path": ".github/workflows/tutorials.yml", "contents": "name: Jupyter Notebooks\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the master branch\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  tutorials:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n\n    env:\n      DEVITO_ARCH: \"${{ matrix.compiler }}\"\n      DEVITO_LANGUAGE: ${{ matrix.language }}\n\n    strategy:\n      # Prevent all build to stop if a single one fails\n      fail-fast: false\n      matrix:\n        name: [\n          tutos-ubuntu-gcc-py39,\n          tutos-osx-clang-py311,\n          tutos-docker-gcc-py39\n          ]\n\n        include:\n          - name: tutos-ubuntu-gcc-py39\n            os: ubuntu-latest\n            compiler: gcc\n            language: \"openmp\"\n            pyver: \"3.9\"\n\n          - name: tutos-osx-clang-py311\n            os: macos-latest\n            compiler: clang\n            language: \"C\"\n            pyver: \"3.11\"\n\n          - name: tutos-docker-gcc-py39\n            os: ubuntu-latest\n            compiler: gcc\n            language: \"openmp\"\n            pyver: \"3.9\"\n\n    steps:\n    - name: Checkout devito\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.pyver }}\n      if: \"!contains(matrix.name, 'docker')\"\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.pyver }}\n\n    - uses: maxim-lobanov/setup-xcode@v1\n      if: runner.os == 'macOS'\n      with:\n        xcode-version: latest-stable\n\n    - name: Build docker image\n      if: \"contains(matrix.name, 'docker')\"\n      run: |\n          docker build . --file docker/Dockerfile.devito --tag devito_img\n\n    - name: Set run prefix\n      run: |\n          if [ \"${{ matrix.name }}\" == 'tutos-docker-gcc-py39' ]; then\n              echo \"RUN_CMD=docker run --rm -t --name testrun devito_img\" >> $GITHUB_ENV\n          else\n              echo \"RUN_CMD=\" >> $GITHUB_ENV\n          fi\n      id: set-run\n\n    - name: Install dependencies\n      if: matrix.name != 'tutos-docker-gcc-py39'\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .[tests,extras]\n        pip install blosc\n\n    - name: Seismic notebooks\n      run: |\n        ${{ env.RUN_CMD }} py.test --nbval -k 'not dask' -k 'not synthetics' examples/seismic/tutorials/\n        ${{ env.RUN_CMD }} py.test --nbval examples/seismic/acoustic/accuracy.ipynb\n\n    - name: Failing notebooks\n      continue-on-error: true\n      run: |\n        ${{ env.RUN_CMD }} py.test --nbval examples/seismic/tutorials/14_creating_synthetics.ipynb\n\n    - name: Dask notebooks\n      if: runner.os != 'macOS'\n      run: |\n          ${{ env.RUN_CMD }} py.test --nbval examples/seismic/tutorials/*dask*.ipynb\n\n    - name: Self-adjoint notebooks\n      run: |\n        ${{ env.RUN_CMD }} py.test --nbval examples/seismic/self_adjoint/\n\n    - name: CFD notebooks\n      run: |\n        ${{ env.RUN_CMD }} py.test --nbval examples/cfd\n\n    - name: User api notebooks\n      run: |\n        ${{ env.RUN_CMD }} py.test --nbval examples/userapi\n\n    - name: Compiler notebooks\n      run: |\n        ${{ env.RUN_CMD }} py.test --nbval examples/compiler\n\n    - name: Finance notebooks\n      run: |\n        ${{ env.RUN_CMD }} py.test --nbval examples/finance\n\n    - name: Performance notebooks\n      run: |\n        ${{ env.RUN_CMD }} py.test --nbval examples/performance\n\n    - name: ABC Notebooks\n      run: |\n        ${{ env.RUN_CMD }} py.test --nbval examples/seismic/abc_methods\n", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:40:50.160048", "created_at": "2020-01-10T13:49:38+01:00", "updated_at": "2020-04-10T22:29:17+02:00", "name": "CI-mpi", "path": ".github/workflows/pytest-core-mpi.yml", "contents": "name: CI-mpi\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the master branch\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  test-mpi-basic:\n    name: pytest-mpi\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: ['3.8','3.9']\n\n    env:\n      DEVITO_LANGUAGE: \"openmp\"\n      DEVITO_ARCH: \"gcc-9\"\n      OMP_NUM_THREADS: \"1\"\n      CC: \"gcc-9\"\n      CXX: \"g++-9\"\n\n    steps:\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Checkout devito\n      uses: actions/checkout@v4\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update && sudo apt install mpich -y\n        pip3 install --upgrade pip\n        pip3 install -e .[extras,mpi,tests]\n\n    - name: Test with pytest\n      run: |\n        python3 scripts/clear_devito_cache.py\n        python3 -m pytest --cov --cov-config=.coveragerc --cov-report=xml -m parallel tests/\n\n    - name: Test examples with MPI\n      run: |\n        python3 scripts/clear_devito_cache.py\n        DEVITO_MPI=1 mpirun -n 2 python3 -m pytest examples/seismic/acoustic\n        DEVITO_MPI=1 mpirun -n 2 python3 -m pytest examples/seismic/tti\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        name: pytest-mpi\n\n  test-mpi-docker:\n      name: pytest-mpi\n      runs-on: ${{ matrix.os }}\n      strategy:\n        matrix:\n          name: [gcc, icx]\n          include:\n            - name: gcc\n              arch: gcc\n              os: ubuntu-latest\n              mpiflag: \"\"\n            - name: icx\n              arch: icx\n              os: ubuntu-latest\n              # Need safe math for icx due to inaccuracy with mpi+sinc interpolation\n              mpiflag: \"-e DEVITO_SAFE_MATH=1\"\n      \n      steps:\n      - name: Checkout devito\n        uses: actions/checkout@v4\n      \n      - name: Build docker image\n        run: |\n          docker build . --file docker/Dockerfile.devito --tag devito_img --build-arg base=devitocodes/bases:cpu-${{ matrix.arch }}\n      \n      - name: Test with pytest\n        run: |\n          docker run --rm -t -e CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} -e OMP_NUM_THREADS=1 --name testrun devito_img pytest tests/test_mpi.py\n\n      - name: Test examples with MPI\n        run: |\n          docker run --rm -t ${{ matrix.mpiflag }} -e DEVITO_MPI=1 -e OMP_NUM_THREADS=1 --name examplerun devito_img mpiexec -n 2 pytest examples/seismic/acoustic\n          docker run --rm -t -e DEVITO_MPI=1 -e OMP_NUM_THREADS=1 --name examplerun devito_img mpiexec -n 2 pytest examples/seismic/tti", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:40:51.250003", "created_at": "2020-01-10T13:49:38+01:00", "updated_at": "2024-04-30T14:38:59+02:00", "name": "CI-core", "path": ".github/workflows/pytest-core-nompi.yml", "contents": "name: CI-core\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the master branch\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  pytest:\n    name: ${{ matrix.name }}-${{ matrix.set }}\n    runs-on: \"${{ matrix.os }}\"\n\n    env:\n      DEVITO_ARCH: \"${{ matrix.arch }}\"\n      DEVITO_LANGUAGE: ${{ matrix.language }}\n      OMP_NUM_THREADS: 2\n\n    strategy:\n      # Prevent all build to stop if a single one fails\n      fail-fast: false\n\n      matrix:\n        name: [\n           pytest-ubuntu-py311-gcc11-noomp,\n           pytest-ubuntu-py38-gcc12-omp,\n           pytest-ubuntu-py38-gcc7-omp,\n           pytest-ubuntu-py310-gcc10-noomp,\n           pytest-ubuntu-py312-gcc13-omp,\n           pytest-ubuntu-py39-gcc9-omp,\n           pytest-osx-py312-clang-omp,\n           pytest-docker-py39-gcc-omp,\n           pytest-docker-py39-icx-omp\n        ]\n        set: [base, adjoint]\n        include:\n        - name: pytest-ubuntu-py311-gcc11-noomp\n          python-version: '3.11'\n          os: ubuntu-22.04\n          arch: \"gcc-11\"\n          language: \"C\"\n          sympy: \"1.11\"\n\n        - name: pytest-ubuntu-py38-gcc12-omp\n          python-version: '3.8'\n          os: ubuntu-22.04\n          arch: \"gcc-12\"\n          language: \"openmp\"\n          sympy: \"1.10\"\n\n        - name: pytest-ubuntu-py38-gcc7-omp\n          python-version: '3.8'\n          os: ubuntu-20.04\n          arch: \"gcc-7\"\n          language: \"openmp\"\n          sympy: \"1.9\"\n\n        - name: pytest-ubuntu-py310-gcc10-noomp\n          python-version: '3.10'\n          os: ubuntu-20.04\n          arch: \"gcc-10\"\n          language: \"C\"\n          sympy: \"1.10\"\n\n        - name: pytest-ubuntu-py312-gcc13-omp\n          python-version: '3.12'\n          os: ubuntu-24.04\n          arch: \"gcc-13\"\n          language: \"openmp\"\n          sympy: \"1.11\"\n\n        - name: pytest-ubuntu-py39-gcc9-omp\n          python-version: '3.9'\n          os: ubuntu-20.04\n          arch: \"custom\"\n          language: \"openmp\"\n          sympy: \"1.9\"\n\n        - name: pytest-osx-py312-clang-omp\n          python-version: '3.12'\n          os: macos-latest\n          arch: \"clang\"\n          language: \"C\"\n          sympy: \"1.9\"\n\n        - name: pytest-docker-py39-gcc-omp\n          python-version: '3.9'\n          os: ubuntu-latest\n          arch: \"gcc\"\n          language: \"openmp\"\n          sympy: \"1.12\"\n\n        - name: pytest-docker-py39-icx-omp\n          python-version: '3.9'\n          os: ubuntu-latest\n          arch: \"icx\"\n          language: \"openmp\"\n          sympy: \"1.12\"\n\n        - set: base\n          test-set: 'not adjoint'\n\n        - set: adjoint\n          test-set: 'adjoint'\n\n        exclude:\n        - name: pytest-osx-py312-clang-omp\n          set: adjoint\n\n    steps:\n    - name: Checkout devito\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      if: \"!contains(matrix.name, 'docker')\"\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Build docker image\n      if: contains(matrix.name, 'docker')\n      run: |\n          docker build . --file docker/Dockerfile.devito --tag devito_img --build-arg base=devitocodes/bases:cpu-${{ matrix.arch }}\n\n    - name: Set run prefix\n      run: |\n          if [[ \"${{ matrix.name }}\" =~ \"docker\" ]]; then\n              echo \"RUN_CMD=docker run --rm -t -e CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} --name testrun devito_img\"  >> $GITHUB_ENV\n          else\n              echo \"RUN_CMD=\" >> $GITHUB_ENV\n          fi\n      id: set-run\n\n    - name: Install ${{ matrix.arch }} compiler\n      if: \"runner.os == 'linux' && !contains(matrix.name, 'docker') && matrix.arch !='custom' \"\n      run : |\n        sudo apt-get install -y ${{ matrix.arch }}\n\n    - name: Set tests (reduced number for OSX)\n      run : |\n          if [ \"${{ runner.os }}\" == 'macOS' ]; then\n              echo \"TESTS=tests/test_operator.py\" >> $GITHUB_ENV\n          else\n              echo \"TESTS=tests/\" >> $GITHUB_ENV\n          fi\n      id: set-tests\n    \n    - name: Set pip flags for latest python (3.12)\n      run: |\n          if [ \"${{ matrix.python-version }}\" == '3.12' ]; then\n              echo \"PIPFLAGS='--break-system-packages'\" >> $GITHUB_ENV\n          fi\n\n    - name: Install dependencies\n      if: \"!contains(matrix.name, 'docker')\"\n      run: |\n        pip install ${{ env.PIPFLAGS }} --upgrade pip\n        pip install ${{ env.PIPFLAGS }} -e .[tests]\n        pip install ${{ env.PIPFLAGS }} sympy==${{matrix.sympy}}\n\n    - name: Check configuration\n      run: |\n        ${{ env.RUN_CMD }} python3 -c \"from devito import configuration; print(''.join(['%s: %s \\n' % (k, v) for (k, v) in configuration.items()]))\"\n\n    - name: Test with pytest\n      run: |\n        ${{ env.RUN_CMD }} pytest -k \"${{ matrix.test-set }}\" -m \"not parallel\" --cov --cov-config=.coveragerc --cov-report=xml ${{ env.TESTS }}\n\n    - name: Upload coverage to Codecov\n      if: \"!contains(matrix.name, 'docker')\"\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        name: ${{ matrix.name }}\n", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:40:52.278350", "created_at": "2020-01-24T15:50:43+01:00", "updated_at": "2020-04-10T22:29:16+02:00", "name": "Examples", "path": ".github/workflows/examples.yml", "contents": "name: Examples\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the master branch\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  tutorials:\n    name: Examples with conda install\n    runs-on: ubuntu-latest\n\n    defaults:\n      # Default for conda env\n      run:\n        shell: bash -l {0}\n\n    env:\n      DEVITO_ARCH: gcc\n      DEVITO_LANGUAGE: \"openmp\"\n\n    strategy:\n      # Prevent all build to stop if a single one fails\n      fail-fast: false\n\n    steps:\n    - name: Checkout devito\n      uses: actions/checkout@v4\n\n    - name: Setup conda\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n       python-version: 3.8\n       activate-environment: devito\n       environment-file: environment-dev.yml\n       auto-activate-base: false\n\n    - name: Install dependencies\n      run: |\n        pip install -e .[tests,extras]\n\n    - name: Tests in examples\n      run: |\n        py.test --cov --cov-config=.coveragerc --cov-report=xml examples/\n\n    - name: Seismic acoustic examples\n      run: |\n        python examples/seismic/acoustic/acoustic_example.py --full\n        python examples/seismic/acoustic/acoustic_example.py --full --checkpointing\n        python examples/seismic/acoustic/acoustic_example.py --constant --full\n        python examples/seismic/acoustic/acoustic_example.py --fs\n        python examples/seismic/inversion/fwi.py\n        python examples/seismic/self_adjoint/example_iso.py\n        python examples/seismic/viscoacoustic/viscoacoustic_example.py\n        python examples/seismic/viscoacoustic/viscoacoustic_example.py -k kv\n        python examples/seismic/viscoacoustic/viscoacoustic_example.py -k maxwell\n\n    - name: Seismic tti examples\n      run: |\n        python examples/seismic/tti/tti_example.py -a basic\n        python examples/seismic/tti/tti_example.py -a basic --noazimuth\n        python examples/seismic/tti/tti_example.py -k staggered\n        python examples/seismic/tti/tti_example.py -nd 2 --full -so 12\n        python examples/seismic/tti/tti_example.py -nd 2 --full -so 4 --checkpointing\n\n    - name: Seismic elastic examples\n      run: |\n        python examples/seismic/elastic/elastic_example.py\n        python examples/seismic/viscoelastic/viscoelastic_example.py\n\n    - name: Linear algebra example\n      run: |\n        python examples/misc/linalg.py mat-vec mat-mat mat-mat-sum transpose-mat-vec\n        python examples/misc/linalg.py mat-vec -o mat-mat -o mat-mat-sum -o transpose-mat-vec -o\n\n    - name: CFD examples\n      run: |\n        python examples/cfd/example_diffusion.py\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        name: ${{ matrix.name }}\n", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:40:53.321229", "created_at": "2020-02-03T11:37:53+01:00", "updated_at": "2020-12-08T16:42:30+01:00", "name": "asv-benchmarks", "path": ".github/workflows/asv.yml", "contents": "# Runner information:\n# CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz\n# GPU: NVIDIA GeForce RTX 2060\n\nname: asv-benchmarks\n\nenv:\n  OUTPUT_PATH: ${{ github.workspace }}\n  ENVHOME: \"/home/devito/environments\"\n\non:\n  workflow_dispatch:\n    inputs:\n      tags:\n        description: 'Run ASV'\n  # Trigger the workflow on push to the master branch\n  push:\n    branches:\n      - master\n\njobs:\n\n  # Run the asv benchmarks on the self-hosted runner\n  benchmarks:\n    name: benchmarks\n    runs-on: [self-hosted, asv]\n\n    env:\n      DEVITO_ARCH: \"gcc-9\"\n      DEVITO_LANGUAGE: \"openmp\"\n      DEVITO_BENCHMARKS: \"1\"\n      DEVITO_LOGGING: \"PERF\"\n      OMP_NUM_THREADS: \"8\"\n      CC: \"gcc-9\"\n      CXX: \"g++-9\"\n\n    steps:\n    - name: Checkout devito\n      uses: actions/checkout@v4\n\n    - name: Set VIRTUAL_ENV\n      run: |\n        echo \"VIRTUAL_ENV=$ENVHOME/asv\" >> $GITHUB_ENV\n        echo \"PATH=$VIRTUAL_ENV/bin:$PATH\" >> $GITHUB_ENV\n\n    - name: Set PATH\n      run: |\n        echo \"PATH=$VIRTUAL_ENV/bin:$PATH\" >> $GITHUB_ENV\n\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install --upgrade asv\n\n    - name: Setup asv\n      run: |\n        asv machine --config benchmarks/regression/asv.conf.json --machine i7-6700K --os ubuntu-20.10 --arch x86-64 --cpu i7-6700K --num_cpu 8 --ram 16GB\n\n    - name: Run benchmarks\n      run: |\n        asv run -v --show-stderr --config benchmarks/regression/asv.conf.json --cpu-affinity 0-7 --machine i7-6700K\n\n    - name: Checkout asv-results branch\n      uses: actions/checkout@v4\n      with:\n        ref: asv-results\n        clean: false\n\n    - name: Commit benchmarks results\n      run: |\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        asv run --config benchmarks/regression/asv.conf.json --bench just-discover --machine i7-6700K\n        git add -f benchmarks/regression/.asv/results/\n        git status\n        git commit -m \"Commit ASV results\"\n\n    - name: Push benchmarks results to the asv-results branch\n      uses: ad-m/github-push-action@master\n      with:\n        branch: asv-results\n        force: true\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Create results (html)\n      run: |\n        asv publish --config benchmarks/regression/asv.conf.json\n        rm -f /tmp/ssh-auth.sock\n\n    - name: Deploy results to devitocodes/devito-performance/gh-pages\n      uses: peaceiris/actions-gh-pages@v3\n      with:\n        deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}\n        external_repository: devitocodes/devito-performance\n        publish_branch: gh-pages\n        publish_dir: ./benchmarks/regression/.asv/html\n", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:40:54.426126", "created_at": "2020-02-05T16:03:19+01:00", "updated_at": "2020-06-18T12:13:01+02:00", "name": "CI-gpu", "path": ".github/workflows/pytest-gpu.yml", "contents": "# Runner information:\n# OpenACC on NVidia runs on `nvidiagpu`\n# OpenMP on NVidia runs on `nvidiagpu`\n# OpenMP on AMD runs on `amdgpu`\n\nname: CI-gpu\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  OUTPUT_PATH: ${{ github.workspace }}\n  RESOURCE_GROUP: CI-gpu\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the master branch\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  # Push-button activation\n  workflow_dispatch:\n    inputs:\n      tags:\n        description: 'Run GPU tests'\n\njobs:\n\n  build:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.tags }}\n\n    env:\n      DEVITO_ARCH: ${{ matrix.arch }}\n      DEVITO_PLATFORM: ${{ matrix.platform }}\n      DEVITO_LANGUAGE: ${{ matrix.language }}\n      OMPI_CC: ${{ matrix.arch }}\n\n    strategy:\n      # Prevent all builds from terminating if one fails\n      fail-fast: false\n\n      matrix:\n        name: [\n          pytest-gpu-acc-nvidia,\n          pytest-gpu-omp-amd\n        ]\n        test_examples: [\"examples/seismic/tti/tti_example.py examples/seismic/acoustic/acoustic_example.py examples/seismic/viscoacoustic/viscoacoustic_example.py examples/seismic/viscoelastic/viscoelastic_example.py examples/seismic/elastic/elastic_example.py\"]\n\n        include:\n        - name: pytest-gpu-acc-nvidia\n          test_files: \"tests/test_adjoint.py tests/test_gpu_common.py tests/test_gpu_openacc.py\"\n          base: \"devitocodes/bases:nvidia-nvc\"\n          tags: [\"self-hosted\", \"nvidiagpu\"]\n          test_drive_cmd: \"nvidia-smi\"\n          flags: '--gpus all --rm -t --name testrun-nvc'\n\n        - name: pytest-gpu-omp-amd\n          test_files: \"tests/test_adjoint.py tests/test_gpu_common.py tests/test_gpu_openmp.py\"\n          tags: [\"self-hosted\", \"amdgpu\"]\n          base: \"devitocodes/bases:amd\"\n          test_drive_cmd: \"rocm-smi\"\n          # Attach the AMD GPU devices `/dev` and add user to video and render (109 on wampa) group\n          # Options from https://rocmdocs.amd.com/en/latest/ROCm_Virtualization_Containers/ROCm-Virtualization-&-Containers.html\n          flags: \"--network=host --device=/dev/kfd --device=/dev/dri --ipc=host --group-add video --group-add $(getent group render | cut -d: -f3) --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --rm -t --name testrun-amd\"\n\n    steps:\n    - name: Checkout devito\n      uses: actions/checkout@v4\n\n    - name: Build docker image\n      run: |\n          docker build . --rm --pull --file docker/Dockerfile.devito --tag ${{ matrix.name }} --build-arg base=${{ matrix.base }}\n\n    - name: Remove dangling layers\n      run: docker system prune -f\n\n    - name: Test with pytest\n      run: |\n        # Remove all existing containers for safety\n        docker ps -aq | xargs -r docker rm -f\n        # Run tests\n        docker run ${{ matrix.flags }} ${{ matrix.name }} ${{ matrix.test_drive_cmd }}\n        docker run ${{ matrix.flags }} -e CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} ${{ matrix.name }} pytest --cov --cov-config=.coveragerc --cov-report=xml ${{ matrix.test_files }}\n\n    - name: Test examples\n      run: |\n        docker run ${{ matrix.flags }} ${{ matrix.name }} pytest ${{ matrix.test_examples }}\n\n    - name: Test examples with MPI\n      run: |\n        docker run ${{ matrix.flags }} --env DEVITO_MPI=1 ${{ matrix.name }} mpiexec -n 2 pytest ${{ matrix.test_examples }}\n", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:40:55.455010", "created_at": "2020-05-01T15:46:13+02:00", "updated_at": "2020-05-01T15:46:13+02:00", "name": "Upload to PyPI", "path": ".github/workflows/pythonpublish.yml", "contents": "name: Upload to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:40:56.495489", "created_at": "2020-06-05T20:41:49+02:00", "updated_at": "2020-06-05T20:41:49+02:00", "name": "Release Drafter", "path": ".github/workflows/release-notes.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - master\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next Release notes as Pull Requests are merged into \"master\"\n      - uses: release-drafter/release-drafter@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:40:57.490099", "created_at": "2020-07-07T16:19:31+02:00", "updated_at": "2023-05-12T09:37:39+02:00", "name": "Cancel", "path": ".github/workflows/cancel.yml", "contents": null, "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:40:58.622500", "created_at": "2020-08-04T13:00:42+02:00", "updated_at": "2020-08-04T13:00:42+02:00", "name": "Examples-mpi", "path": ".github/workflows/examples-mpi.yml", "contents": "# Runner information:\n# CPU: Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz (24 cores)\n\nname: Examples-mpi\n\nenv:\n  OUTPUT_PATH: ${{ github.workspace }}\n  ENVHOME: \"/home/devito/environments\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the master branch\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Examples with mpi\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        mpi: ['openmpi', 'intelmpi']\n\n        include:\n        - mpi: openmpi\n          mpiarg: \"-n 2 --oversubscribe\"\n\n        - mpi: intelmpi\n          mpiarg: \"-n 4\"\n\n    env:\n      DEVITO_MPI: \"1\"\n      DEVITO_LANGUAGE: \"openmp\"\n      OMP_NUM_THREADS: \"2\"\n      DEVITO_ARCH: \"gcc\"\n      CC: \"gcc\"\n      CXX: \"g++\"\n\n    steps:\n    - name: Checkout devito\n      uses: actions/checkout@v4\n\n    - name: Setup MPI\n      uses: mpi4py/setup-mpi@v1\n      with:\n        mpi: ${{ matrix.mpi }}\n\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install -e .[extras,mpi,tests]\n        python3 scripts/clear_devito_cache.py\n\n    - name: Test mpi notebooks\n      continue-on-error: true\n      run : |\n        ./scripts/create_ipyparallel_mpi_profile.sh\n        ipcluster start --profile=mpi --engines=mpi -n 4 --daemonize\n        # A few seconds to ensure workers are ready\n        sleep 20\n        py.test --nbval examples/mpi\n        ipcluster stop --profile=mpi\n\n    - name: Test seismic examples\n      run: |\n        mpirun ${{ matrix.mpiarg }} pytest examples/seismic/tti/tti_example.py\n        mpirun ${{ matrix.mpiarg }} pytest examples/seismic/elastic/elastic_example.py\n        mpirun ${{ matrix.mpiarg }} pytest examples/seismic/viscoacoustic/viscoacoustic_example.py\n        mpirun ${{ matrix.mpiarg }} pytest examples/seismic/viscoelastic/viscoelastic_example.py\n\n    - name: Test fwi examples with mpi\n      run: |\n        mpirun ${{ matrix.mpiarg }} python examples/seismic/inversion/fwi.py\n", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:40:59.618234", "created_at": "2021-12-23T09:10:48+01:00", "updated_at": "2021-12-23T09:10:48+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:41:00.875878", "created_at": "2022-06-17T17:51:12+02:00", "updated_at": "2022-07-17T01:03:52+02:00", "name": "Publish devito docker images from compiler bases", "path": ".github/workflows/docker-devito.yml", "contents": "name: Publish devito docker images from compiler bases\n\non:\n  release:\n    types: [published]\n  push:\n    branches:\n      - master         # Push events on master branch\n\njobs:\n  deploy-devito:\n    runs-on: ${{ matrix.runner }}\n    env:\n      # Use buildkit https://docs.docker.com/develop/develop-images/build_enhancements/ for better build\n      DOCKER_BUILDKIT: \"1\"\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - base: 'bases:nvidia-nvc'\n            tag: 'nvidia-nvc'\n            flag: '--gpus all'\n            test: 'tests/test_gpu_openacc.py tests/test_gpu_common.py'\n            runner: [\"self-hosted\", \"nvidiagpu\"]\n\n          # Runtime gpu flags from https://hub.docker.com/r/rocm/tensorflow/\n          - base: 'bases:amd'\n            tag: 'amd'\n            flag: '--network=host --device=/dev/kfd --device=/dev/dri --ipc=host --group-add video --group-add $(getent group render | cut -d: -f3) --cap-add=SYS_PTRACE --security-opt seccomp=unconfined'\n            test: 'tests/test_gpu_openmp.py'\n            runner: [\"self-hosted\", \"amdgpu\"]\n\n          - base: 'bases:cpu-gcc'\n            tag: \"gcc\"\n            flag: ''\n            test: 'tests/test_operator.py'\n            runner: ubuntu-latest\n\n          - base: 'bases:cpu-icx'\n            tag: \"icx\"\n            flag: ''\n            test: 'tests/test_operator.py'\n            runner: ubuntu-latest\n\n    steps:\n      - name: Checkout devito\n        uses: actions/checkout@v4\n\n      - name: Check event name\n        run: echo ${{ github.event_name }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          flavor: |\n            latest=false\n          images: |\n            devitocodes/devito\n          # Creates all the tags to be pushed.\n          # `event`` is the trigger even (pr for pull request, tag for release)\n          # `value/pattern` is the actual tag\n          # `enable` is a \"if\" filter fir that tag\n          # `type` is the type of tag\n          tags: |\n            type=raw,value=${{ matrix.tag }}-dev\n            type=raw,value=${{ matrix.tag }}-latest,enable=${{ github.event_name == 'release' }}\n            type=raw,value=latest,enable=${{ matrix.base == 'bases:cpu-gcc' }}\n            type=semver,pattern={{raw}},prefix=${{ matrix.tag }}-,enable=${{ github.event_name == 'release' }}\n            # Legacy \"gpu\" tag\n            type=raw,value=gpu-dev,enable=${{ matrix.base == 'bases:nvidia-nvc' }}\n            type=semver,pattern={{raw}},prefix=gpu-,enable=${{ github.event_name == 'release' &&  matrix.base == 'bases:nvidia-nvc' }}\n            type=semver,pattern={{raw}},value=gpu-latest,enable=${{ github.event_name == 'release' &&  matrix.base == 'bases:nvidia-nvc' }}\n            # Legacy \"cpu\" tag\n            type=raw,value=cpu-dev,enable=${{ matrix.base == 'bases:cpu-gcc' }}\n            type=semver,pattern={{raw}},prefix=cpu-,enable=${{ github.event_name == 'release' && matrix.base == 'bases:cpu-gcc' }}\n            type=semver,pattern={{raw}},value=cpu-latest,enable=${{ github.event_name == 'release' && matrix.base == 'bases:cpu-gcc' }}\n\n      - name: Check tags\n        run: echo \"${{ steps.meta.outputs.tags }}\"\n\n      - name: Build and push image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          file: ./docker/Dockerfile.devito\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          build-args: base=devitocodes/${{ matrix.base }}\n\n      - name: Remove dangling layers\n        run: docker system prune -f\n\n      - name: Run tests\n        run: |\n         docker run ${{ matrix.flag }} --rm -t --name testrun 'devitocodes/devito:${{ matrix.tag }}-dev' pytest ${{ matrix.test }}\n", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:41:02.106477", "created_at": "2022-06-21T15:36:40+02:00", "updated_at": "2023-08-09T14:10:11+02:00", "name": "Build base compilers docker images", "path": ".github/workflows/docker-bases.yml", "contents": "name: Build base compilers docker images\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    paths:\n      - '/docker/Dockerfile.nvidia'\n      - '/docker/Dockerfile.cpu'\n      - '/docker/Dockerfile.amd'\n      - '/docker/Dockerfile.intel'\n  workflow_dispatch:\n    inputs:\n      tags:\n        description: 'Build compiler bases'\n  schedule:\n    # Run once a week\n    - cron: \"0 13 * * 1\"\n\njobs:\n#######################################################\n############## Basic gcc CPU ##########################\n#######################################################\n  deploy-cpu-bases:\n    name: \"cpu-base\"\n    runs-on: ubuntu-latest\n    env:\n      DOCKER_BUILDKIT: \"1\"\n\n    steps:\n      - name: Checkout devito\n        uses: actions/checkout@v4\n\n      - name: Check event name\n        run: echo ${{ github.event_name }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: cleanup\n        run: docker system prune -a -f\n\n      - name: GCC image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: './docker/Dockerfile.cpu'\n          push: true\n          target: 'gcc'\n          build-args: 'arch=gcc'\n          tags: 'devitocodes/bases:cpu-gcc'\n\n\n#######################################################\n############## Intel OneApi CPU #######################\n#######################################################\n  deploy-oneapi-bases:\n    name: \"oneapi-base\"\n    runs-on: ubuntu-latest\n    env:\n      DOCKER_BUILDKIT: \"1\"\n\n    steps:\n      - name: Checkout devito\n        uses: actions/checkout@v4\n\n      - name: Check event name\n        run: echo ${{ github.event_name }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: cleanup\n        run: docker system prune -a -f\n\n      - name: ICX image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: './docker/Dockerfile.intel'\n          push: true\n          target: 'icx'\n          build-args: 'arch=icx'\n          tags: 'devitocodes/bases:cpu-icx'\n\n      - name: SYCL CPU image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: './docker/Dockerfile.intel'\n          push: true\n          target: 'cpu-sycl'\n          build-args: 'arch=cpu-sycl'\n          tags: 'devitocodes/bases:cpu-sycl'\n\n      - name: SYCL GPU image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: './docker/Dockerfile.intel'\n          push: true\n          target: 'gpu-sycl'\n          build-args: 'arch=gpu-sycl'\n          tags: 'devitocodes/bases:gpu-sycl'\n\n#######################################################\n################### Nvidia nvhpc ######################\n#######################################################\n  deploy-nvidia-bases:\n    name: \"nvidia-bases\"\n    runs-on: [\"self-hosted\", \"nvidiagpu\"]\n    env:\n      DOCKER_BUILDKIT: \"1\"\n\n    steps:\n      - name: Checkout devito\n        uses: actions/checkout@v4\n\n      - name: Check event name\n        run: echo ${{ github.event_name }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: cleanup\n        run: docker system prune -a -f\n\n      - name: NVC image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: './docker/Dockerfile.nvidia'\n          push: true\n          target: 'nvc'\n          build-args: 'arch=nvc'\n          tags: 'devitocodes/bases:nvidia-nvc'\n\n      - name: NVCC image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: './docker/Dockerfile.nvidia'\n          push: true\n          target: 'nvcc'\n          build-args: 'arch=nvcc'\n          tags: 'devitocodes/bases:nvidia-nvcc'\n\n      - name: NVC host image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: './docker/Dockerfile.nvidia'\n          push: true\n          target: 'nvc-host'\n          build-args: 'arch=nvc-host'\n          tags: 'devitocodes/bases:cpu-nvc'\n\n#######################################################\n##################### AMD #############################\n#######################################################\n  deploy-amd-bases:\n    name: \"amd-base\"\n    runs-on: [\"self-hosted\", \"amdgpu\"]\n    env:\n      DOCKER_BUILDKIT: \"1\"\n\n    steps:\n      - name: Checkout devito\n        uses: actions/checkout@v4\n\n      - name: Check event name\n        run: echo ${{ github.event_name }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: cleanup\n        run: docker system prune -a -f\n\n      - name: AMD image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: './docker/Dockerfile.amd'\n          push: true\n          target: 'amdclang'\n          tags: devitocodes/bases:amd\n\n      - name: AMD HIP image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: './docker/Dockerfile.amd'\n          push: true\n          target: 'hip'\n          build-args: |\n            arch=hip\n          tags: devitocodes/bases:amd-hip\n", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:41:03.246374", "created_at": "2023-10-10T15:57:58+02:00", "updated_at": "2023-10-10T15:57:58+02:00", "name": "Master triggers", "path": ".github/workflows/triggers.yml", "contents": "name: Master triggers\n\non:\n  push:\n    branches:\n      - master         # Push events on master branch\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Trigger doc build\n      uses: peter-evans/repository-dispatch@v2\n      with:\n        token: ${{ secrets.DEPLOY_DOC_PAT }}\n        repository: devitocodes/devitoproject.org\n        event-type: deploy-docs\n\n    - name: Trigger pro submodule update\n      uses: peter-evans/repository-dispatch@v2\n      with:\n        token: ${{ secrets.PRO_SUBMODULE }}\n        repository: devitocodespro/devitopro\n        event-type: update-submodule", "state": "active", "repository": "devitocodes/devito"}
{"mined_at": "2024-07-15T14:41:05.648727", "created_at": "2022-04-05T17:20:11+02:00", "updated_at": "2022-04-07T17:30:28+02:00", "name": "Build Docker images", "path": ".github/workflows/build_docker.yml", "contents": "name: Build Docker images\non:\n  push:\n    branches:\n      - main\n      - dev\n  pull_request:\n    branches:\n      - main\n      - dev\n  release:\n    types:\n      - published\n\npermissions: {}\n\njobs:\n  build:\n    permissions:\n      contents: read #  to fetch code (actions/checkout)\n      packages: write #  to push docker image\n\n    name: Build image\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout main\n        uses: actions/checkout@v2\n      - name: Run the build\n        run: |\n          set -ex\n          # use that here since the variable are not present before start, so can't be in env\n          export LOGIN=$GITHUB_REPOSITORY_OWNER\n\n          echo $PASSWORD | docker login $REGISTRY -u $LOGIN --password-stdin\n\n          for i in docker/* ; do\n              CONTAINER=$(basename $i)\n              echo \"Building $CONTAINER\"\n              export IMAGE=$LOGIN/augur_$CONTAINER\n              DOCKERFILE=${i}/Dockerfile\n\n              docker build . -f $DOCKERFILE --tag $REGISTRY/$IMAGE:latest\n              if [[ $GITHUB_EVENT_NAME == 'release' ]]; then\n                TAG=$(basename $GITHUB_REF)\n                docker tag $REGISTRY/$IMAGE:latest $REGISTRY/$IMAGE:$TAG\n                docker push $REGISTRY/$IMAGE:latest\n                docker push $REGISTRY/$IMAGE:$TAG\n              elif [[ $GITHUB_EVENT_NAME == 'push' ]]; then\n                docker tag $REGISTRY/$IMAGE:latest $REGISTRY/$IMAGE:devel-latest\n                docker push $REGISTRY/$IMAGE:devel-latest\n              fi\n          done\n        env:\n          REGISTRY: ghcr.io\n          PASSWORD: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "chaoss/augur"}
{"mined_at": "2024-07-15T14:41:06.650677", "created_at": "2022-08-05T21:15:17+02:00", "updated_at": "2022-08-05T21:15:17+02:00", "name": "Codespaces Prebuilds", "path": "dynamic/codespaces/create_codespaces_prebuilds", "contents": null, "state": "active", "repository": "chaoss/augur"}
{"mined_at": "2024-07-15T14:41:07.714400", "created_at": "2023-10-30T19:27:59+01:00", "updated_at": "2023-10-30T19:27:59+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": null, "state": "active", "repository": "chaoss/augur"}
{"mined_at": "2024-07-15T14:41:08.747510", "created_at": "2023-10-30T19:29:36+01:00", "updated_at": "2023-10-30T19:29:36+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "chaoss/augur"}
{"mined_at": "2024-07-15T14:41:09.844764", "created_at": "2024-01-17T22:46:32+01:00", "updated_at": "2024-02-13T01:27:16+01:00", "name": "run-linting-checks", "path": ".github/workflows/checks.yml", "contents": "name: \"run-linting-checks\"\non:\n  pull_request:\n    branches: [main, dev]\n\njobs:\n  run-pylint:\n    name: runner / pylint\n    permissions: write-all\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: dciborow/action-pylint@0.1.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          reporter: github-pr-review\n          level: warning\n          glob_pattern: \"**/*.py\"\n          filter_mode: \"file\"\n\n  misspell:\n    name: runner / misspell\n    runs-on: ubuntu-latest\n    steps:\n      - name: Highlight any misspellings in changes.\n        uses: actions/checkout@v4\n      - name: misspell\n        uses: reviewdog/action-misspell@v1\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          locale: \"US\"", "state": "active", "repository": "chaoss/augur"}
{"mined_at": "2024-07-15T14:41:10.844559", "created_at": "2024-02-20T02:02:32+01:00", "updated_at": "2024-07-02T02:36:06+02:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": null, "state": "active", "repository": "chaoss/augur"}
{"mined_at": "2024-07-15T14:41:11.819308", "created_at": "2024-02-20T19:22:24+01:00", "updated_at": "2024-02-20T19:22:24+01:00", "name": "Merge main into dev", "path": ".github/workflows/auto_merge.yml", "contents": "name: Merge main into dev\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  update-dev:\n    permissions: write-all\n    name: update-dev\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - run: |\n          git config user.name 'GitHub Actions'\n          git config user.email 'actions@users.noreply.github.com'\n          git checkout dev\n          git merge main\n          echo \"Done with merge\"\n      - name: Push to dev\n        uses: CasperWA/push-protected@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          branch: dev", "state": "active", "repository": "chaoss/augur"}
{"mined_at": "2024-07-15T14:41:14.090770", "created_at": "2020-03-26T01:03:48+01:00", "updated_at": "2020-03-26T01:03:48+01:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues and pull requests\n\non:\n  schedule:\n    # Every day at 12:00 pm\n    - cron: 0 0 * * *\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          stale-issue-message: This issue has been automatically marked as stale. You have a week to explain why you believe this is an error.\n          stale-pr-message: This PR has been automatically marked as stale. You have a week to explain why you believe this is an error.\n          stale-issue-label: no-issue-activity\n          stale-pr-label: no-pr-activity\n", "state": "active", "repository": "frappe/frappe_docker"}
{"mined_at": "2024-07-15T14:41:15.313766", "created_at": "2021-10-30T13:22:15+02:00", "updated_at": "2022-03-28T09:40:01+02:00", "name": "Develop build", "path": ".github/workflows/build_develop.yml", "contents": "name: Develop build\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - images/production/**\n      - overrides/**\n      - tests/**\n      - compose.yaml\n      - docker-bake.hcl\n      - example.env\n      - .github/workflows/build_develop.yml\n\n  schedule:\n    # Every day at 12:00 pm\n    - cron: 0 0 * * *\n\n  workflow_dispatch:\n\njobs:\n  build:\n    uses: ./.github/workflows/docker-build-push.yml\n    with:\n      repo: erpnext\n      version: develop\n      push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}\n      python_version: 3.11.6\n      node_version: 18.18.2\n    secrets:\n      DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}\n      DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}\n", "state": "active", "repository": "frappe/frappe_docker"}
{"mined_at": "2024-07-15T14:41:16.354019", "created_at": "2021-10-31T06:33:00+01:00", "updated_at": "2022-03-28T09:40:01+02:00", "name": "Stable build", "path": ".github/workflows/build_stable.yml", "contents": "name: Stable build\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - images/production/**\n      - overrides/**\n      - tests/**\n      - compose.yaml\n      - docker-bake.hcl\n      - example.env\n      - .github/workflows/build_stable.yml\n\n  push:\n    branches:\n      - main\n    paths:\n      - images/production/**\n      - overrides/**\n      - tests/**\n      - compose.yaml\n      - docker-bake.hcl\n      - example.env\n\n  # Triggered from frappe/frappe and frappe/erpnext on releases\n  repository_dispatch:\n\n  workflow_dispatch:\n\njobs:\n  v14:\n    uses: ./.github/workflows/docker-build-push.yml\n    with:\n      repo: erpnext\n      version: \"14\"\n      push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}\n      python_version: 3.10.13\n      node_version: 16.20.2\n    secrets:\n      DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}\n      DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}\n\n  v15:\n    uses: ./.github/workflows/docker-build-push.yml\n    with:\n      repo: erpnext\n      version: \"15\"\n      push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}\n      python_version: 3.11.6\n      node_version: 18.18.2\n    secrets:\n      DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}\n      DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}\n\n  update_versions:\n    name: Update example.env and pwd.yml\n    runs-on: ubuntu-latest\n    if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}\n    needs: v15\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Get latest versions\n        run: python3 ./.github/scripts/get_latest_tags.py --repo erpnext --version 15\n\n      - name: Update\n        run: |\n          python3 ./.github/scripts/update_example_env.py\n          python3 ./.github/scripts/update_pwd.py\n\n      - name: Push\n        run: |\n          git config --global user.name github-actions\n          git config --global user.email github-actions@github.com\n          git add example.env pwd.yml\n          if [ -z \"$(git status --porcelain)\" ]; then\n            echo \"versions did not change, exiting.\"\n            exit 0\n          else\n            echo \"version changed, pushing changes...\"\n            git commit -m \"chore: Update example.env\"\n            git pull --rebase\n            git push origin main\n          fi\n\n  release_helm:\n    name: Release Helm\n    runs-on: ubuntu-latest\n    if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}\n    needs: v15\n\n    steps:\n      - name: Setup deploy key\n        uses: webfactory/ssh-agent@v0.8.0\n        with:\n          ssh-private-key: ${{ secrets.HELM_DEPLOY_KEY }}\n\n      - name: Setup Git Credentials\n        run: |\n          git config --global user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git config --global user.name \"github-actions[bot]\"\n\n      - name: Release\n        run: |\n          git clone git@github.com:frappe/helm.git && cd helm\n          pip install -r release_wizard/requirements.txt\n          ./release_wizard/wizard 15 patch --remote origin --ci\n", "state": "active", "repository": "frappe/frappe_docker"}
{"mined_at": "2024-07-15T14:41:17.379662", "created_at": "2021-11-05T17:36:55+01:00", "updated_at": "2021-11-08T18:34:04+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10.6\"\n\n      # For shfmt pre-commit hook\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: \"^1.14\"\n\n      - name: Install pre-commit\n        run: pip install -U pre-commit\n\n      - name: Lint\n        run: pre-commit run --color=always --all-files\n        env:\n          GO111MODULE: on\n", "state": "active", "repository": "frappe/frappe_docker"}
{"mined_at": "2024-07-15T14:41:18.440380", "created_at": "2021-12-10T09:48:03+01:00", "updated_at": "2021-12-10T09:48:03+01:00", "name": "Autoupdate pre-commit hooks", "path": ".github/workflows/pre-commit-autoupdate.yml", "contents": "name: Autoupdate pre-commit hooks\n\non:\n  schedule:\n    # Every day at 7 am\n    - cron: 0 7 * * *\n\njobs:\n  pre-commit-autoupdate:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Update pre-commit hooks\n        uses: vrslev/pre-commit-autoupdate@v1.0.0\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          branch: pre-commit-autoupdate\n          title: \"chore(deps): Update pre-commit hooks\"\n          commit-message: \"chore(deps): Update pre-commit hooks\"\n          body: Update pre-commit hooks\n          labels: dependencies,development\n          delete-branch: True\n", "state": "active", "repository": "frappe/frappe_docker"}
{"mined_at": "2024-07-15T14:41:19.590417", "created_at": "2021-12-22T14:45:51+01:00", "updated_at": "2022-02-08T09:35:53+01:00", "name": "Bench", "path": ".github/workflows/build_bench.yml", "contents": "name: Bench\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - images/bench/**\n      - docker-bake.hcl\n      - .github/workflows/build_bench.yml\n\n  schedule:\n    # Every day at 12:00 pm\n    - cron: 0 0 * * *\n\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          image: tonistiigi/binfmt:latest\n          platforms: all\n\n      - name: Setup Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Set Environment Variables\n        run: cat example.env | grep -o '^[^#]*' >> \"$GITHUB_ENV\"\n\n      - name: Get Bench Latest Version\n        run: echo \"LATEST_BENCH_RELEASE=$(curl -s 'https://api.github.com/repos/frappe/bench/releases/latest' | jq -r '.tag_name')\" >> \"$GITHUB_ENV\"\n\n      - name: Build and test\n        uses: docker/bake-action@v4.6.0\n        with:\n          targets: bench-test\n\n      - name: Login\n        if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Push\n        if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}\n        uses: docker/bake-action@v4.6.0\n        with:\n          targets: bench\n          push: true\n          set: \"*.platform=linux/amd64,linux/arm64\"\n", "state": "active", "repository": "frappe/frappe_docker"}
{"mined_at": "2024-07-15T14:41:20.636873", "created_at": "2022-03-14T06:53:06+01:00", "updated_at": "2022-03-14T06:53:06+01:00", "name": "Build", "path": ".github/workflows/docker-build-push.yml", "contents": "name: Build\n\non:\n  workflow_call:\n    inputs:\n      repo:\n        required: true\n        type: string\n        description: \"'erpnext' or 'frappe'\"\n      version:\n        required: true\n        type: string\n        description: \"Major version, git tags should match 'v{version}.*'; or 'develop'\"\n      push:\n        required: true\n        type: boolean\n      python_version:\n        required: true\n        type: string\n        description: Python Version\n      node_version:\n        required: true\n        type: string\n        description: NodeJS Version\n    secrets:\n      DOCKERHUB_USERNAME:\n        required: true\n      DOCKERHUB_TOKEN:\n        required: true\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    services:\n      registry:\n        image: registry:2\n        ports:\n          - 5000:5000\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: network=host\n\n      - name: Get latest versions\n        run: python3 ./.github/scripts/get_latest_tags.py --repo ${{ inputs.repo }} --version ${{ inputs.version }}\n\n      - name: Set build args\n        run: |\n          echo \"PYTHON_VERSION=${{ inputs.python_version }}\" >> \"$GITHUB_ENV\"\n          echo \"NODE_VERSION=${{ inputs.node_version }}\" >> \"$GITHUB_ENV\"\n\n      - name: Build\n        uses: docker/bake-action@v4.6.0\n        with:\n          push: true\n        env:\n          REGISTRY_USER: localhost:5000/frappe\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        run: |\n          python -m venv venv\n          venv/bin/pip install -r requirements-test.txt\n\n      - name: Test\n        run: venv/bin/pytest --color=yes\n\n      - name: Login\n        if: ${{ inputs.push }}\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Push\n        if: ${{ inputs.push }}\n        uses: docker/bake-action@v4.6.0\n        with:\n          push: true\n", "state": "active", "repository": "frappe/frappe_docker"}
{"mined_at": "2024-07-15T14:41:22.891727", "created_at": "2022-11-16T17:17:57+01:00", "updated_at": "2022-11-16T17:17:57+01:00", "name": "Audit", "path": ".github/workflows/audit.yaml", "contents": "name: Audit\n\non:\n  schedule:\n    - cron: '30 2 * * *'\n\njobs:\n  audit:\n    name: Audit\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n\n    strategy:\n      fail-fast: false\n      matrix:\n        branch:\n          - '1.6'\n          - '1.8'\n          - '1.9'\n          - '1.10'\n          - '1.11'\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ matrix.branch }}\n          token: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}\n\n      - uses: camptocamp/initialise-gopass-summon-action@v2\n        with:\n          ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}}\n          github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}}\n\n      - run: python3 -m venv ~/.venv\n      - run: ~/.venv/bin/pip install --pre c2cciutils[audit]\n      - run: python3 -m pip install --pre c2cciutils[audit]\n\n      - name: Check .tool-versions file existence\n        id: tool-versions\n        uses: andstor/file-existence-action@v3\n        with:\n          files: .tool-versions\n      - uses: asdf-vm/actions/install@v3\n        if: steps.tool-versions.outputs.files_exists == 'true'\n      - run: cat /tmp/python-build.*.log\n        if: failure()\n      - run: python --version\n\n      - name: Snyk audit\n        run: ~/.venv/bin/c2cciutils-audit --branch=${{ matrix.branch }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}\n      - name: Debug Snyk audit\n        run: ~/.venv/bin/c2cciutils-audit --branch=${{ matrix.branch }} || true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}\n          DEBUG: '*snyk*'\n        if: failure()\n      - name: Check ci/dpkg-versions.yaml file existence\n        id: dpkg-versions\n        uses: andstor/file-existence-action@v3\n        with:\n          files: ci/dpkg-versions.yaml\n      - name: Update dpkg packages versions\n        run: ~/.venv/bin/c2cciutils-docker-versions-update --branch=${{ matrix.branch }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}\n        if: steps.dpkg-versions.outputs.files_exists == 'true'\n", "state": "active", "repository": "camptocamp/tilecloud"}
{"mined_at": "2024-07-15T14:41:24.530441", "created_at": "2022-06-08T14:30:40+02:00", "updated_at": "2023-10-19T04:33:13+02:00", "name": "Auto reviews updates", "path": ".github/workflows/auto-review.yaml", "contents": null, "state": "active", "repository": "camptocamp/tilecloud"}
{"mined_at": "2024-07-15T14:41:25.568595", "created_at": "2020-02-04T11:50:04+01:00", "updated_at": "2020-02-04T11:50:04+01:00", "name": "Backport", "path": ".github/workflows/backport.yaml", "contents": "name: Backport\n\non:\n  pull_request:\n    types:\n      - closed\n      - labeled\n\nenv:\n  HAS_SECRETS: ${{ secrets.HAS_SECRETS }}\n\njobs:\n  backport:\n    name: Backport\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5\n\n    steps:\n      - uses: camptocamp/backport-action@master\n        with:\n          token: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}\n        if: env.HAS_SECRETS == 'HAS_SECRETS'\n", "state": "active", "repository": "camptocamp/tilecloud"}
{"mined_at": "2024-07-15T14:41:26.782713", "created_at": "2023-11-30T13:29:31+01:00", "updated_at": "2024-01-26T19:39:43+01:00", "name": "Clean docker hub tags", "path": ".github/workflows/clean.yaml", "contents": "name: Clean docker hub tags\n\non:\n  delete:\n  pull_request:\n    types:\n      - closed\n\njobs:\n  clean:\n    name: Clean docker hub tags\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: camptocamp/initialise-gopass-summon-action@v2\n        with:\n          ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}}\n          github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}}\n          patterns: docker\n\n      - run: echo \"${HOME}/.local/bin\" >> ${GITHUB_PATH}\n      - run: python3 -m pip install --user --requirement=ci/requirements.txt\n\n      - name: Clean Docker hub tags\n        run: c2cciutils-clean\n", "state": "active", "repository": "camptocamp/tilecloud"}
{"mined_at": "2024-07-15T14:41:27.792236", "created_at": "2020-06-15T10:54:06+02:00", "updated_at": "2024-07-01T16:54:23+02:00", "name": "CodeQL scanning", "path": ".github/workflows/codeql.yaml", "contents": null, "state": "active", "repository": "camptocamp/tilecloud"}
{"mined_at": "2024-07-15T14:41:28.793922", "created_at": "2023-10-13T17:37:07+02:00", "updated_at": "2024-01-27T03:32:31+01:00", "name": "Auto reviews updates", "path": ".github/workflows/dependency-auto-review.yaml", "contents": null, "state": "active", "repository": "camptocamp/tilecloud"}
{"mined_at": "2024-07-15T14:41:29.904869", "created_at": "2020-12-04T11:53:55+01:00", "updated_at": "2020-12-04T11:53:55+01:00", "name": "Continuous integration", "path": ".github/workflows/main.yaml", "contents": "name: Continuous integration\n\non:\n  push:\n    branches:\n      - master\n      - '[0-9]+.[0-9]+'\n    tags:\n      - '*'\n  pull_request:\n\nenv:\n  HAS_SECRETS: ${{ secrets.HAS_SECRETS }}\n\njobs:\n  main:\n    name: Continuous integration\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n    if: \"!startsWith(github.event.head_commit.message, '[skip ci] ')\"\n\n    steps:\n      - run: docker system prune --all --force\n      - uses: actions/checkout@v4\n\n      - uses: camptocamp/initialise-gopass-summon-action@v2\n        with:\n          ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}}\n          github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}}\n          patterns: pypi\n        if: env.HAS_SECRETS == 'HAS_SECRETS'\n\n      - run: echo \"${HOME}/.local/bin\" >> ${GITHUB_PATH}\n      - run: python3 -m pip install --user --requirement=ci/requirements.txt\n\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\n          restore-keys: \"pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\\npre-commit-\"\n      - run: pre-commit run --all-files\n      - run: git diff --exit-code --patch > /tmp/pre-commit.patch || true\n        if: failure()\n      - uses: actions/upload-artifact@v4\n        with:\n          name: Apply pre-commit fix.patch\n          path: /tmp/pre-commit.patch\n          retention-days: 1\n        if: failure()\n      - name: Print environment information\n        run: c2cciutils-env\n\n      - name: Applications checks\n        run: make checks\n\n      - name: Logs\n        run: c2cciutils-docker-logs\n        if: always()\n\n      - name: Publish\n        run: c2cciutils-publish\n        if: |\n          env.HAS_SECRETS == 'HAS_SECRETS'\n          && github.event_name == 'push'\n          && ( github.ref_type == 'tag' || github.ref_name == 'master' )\n      - run: git diff --exit-code --patch > /tmp/dpkg-versions.patch || true\n        if: failure()\n      - uses: actions/upload-artifact@v4\n        with:\n          name: Update dpkg versions list.patch\n          path: /tmp/dpkg-versions.patch\n          retention-days: 1\n        if: failure()\n", "state": "active", "repository": "camptocamp/tilecloud"}
{"mined_at": "2024-07-15T14:41:30.884320", "created_at": "2022-09-21T16:57:09+02:00", "updated_at": "2024-07-02T09:17:10+02:00", "name": "Pull request check", "path": ".github/workflows/pr-checks.yaml", "contents": null, "state": "active", "repository": "camptocamp/tilecloud"}
{"mined_at": "2024-07-15T14:41:31.901223", "created_at": "2024-01-26T19:32:12+01:00", "updated_at": "2024-01-26T19:39:43+01:00", "name": "Auto reviews, merge and close pull requests", "path": ".github/workflows/pull-request-automation.yaml", "contents": "name: Auto reviews, merge and close pull requests\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n\njobs:\n  auto-merge:\n    name: Auto reviews pull requests from bots\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5\n\n    steps:\n      - name: Print event\n        run: echo \"${GITHUB}\" | jq\n        env:\n          GITHUB: ${{ toJson(github) }}\n      - name: Print context\n        uses: actions/github-script@v7\n        with:\n          script: |-\n            console.log(context);\n      - name: Auto reviews GHCI updates\n        uses: actions/github-script@v7\n        with:\n          script: |-\n            github.rest.pulls.createReview({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              pull_number: context.payload.pull_request.number,\n              event: 'APPROVE',\n            })\n        if: |-\n          startsWith(github.head_ref, 'ghci/audit/')\n          && (github.event.pull_request.user.login == 'geo-ghci-test[bot]'\n            || github.event.pull_request.user.login == 'geo-ghci-int[bot]'\n            || github.event.pull_request.user.login == 'geo-ghci[bot]')\n      - name: Auto reviews Renovate updates\n        uses: actions/github-script@v7\n        with:\n          script: |-\n            github.rest.pulls.createReview({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              pull_number: context.payload.pull_request.number,\n              event: 'APPROVE',\n            })\n        if: |-\n          github.event.pull_request.user.login == 'renovate[bot]'\n", "state": "active", "repository": "camptocamp/tilecloud"}
{"mined_at": "2024-07-15T14:41:32.864816", "created_at": "2023-07-20T18:25:18+02:00", "updated_at": "2023-07-20T18:25:18+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "camptocamp/tilecloud"}
{"mined_at": "2024-07-15T14:41:34.990710", "created_at": "2021-05-26T22:42:15+02:00", "updated_at": "2023-04-13T21:58:26+02:00", "name": "Downstream Tests", "path": ".github/workflows/downstream.yml", "contents": "name: Downstream Tests\n\non:\n  push:\n  pull_request:\n\njobs:\n  nbclassic:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Test nbclassic\n        uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: nbclassic\n          test_command: pip install pytest-jupyter[server] && pytest -vv -raXxs -W default --durations 10 --color=yes\n\n      - name: Test run nbclassic\n        run: |\n          pip install nbclassic\n          pip install --force-reinstall \".\"\n\n          # Make sure we can start and kill the nbclassic server\n          jupyter nbclassic --no-browser &\n          TASK_PID=$!\n          # Make sure the task is running\n          ps -p $TASK_PID || exit 1\n          sleep 5\n          kill $TASK_PID\n          wait $TASK_PID\n\n  notebook:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Test notebook\n        uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: notebook\n          package_download_extra_args: \"--pre\"\n          test_command: pip install pytest-jupyter[server] && pytest -vv -raXxs -W default --durations 10 --color=yes\n\n  jupyterlab_server:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - run: pip install pytest-jupyter[server]\n\n      - name: Test jupyterlab_server\n        uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: jupyterlab_server\n          test_command: pip install pytest-jupyter[server] && pytest -vv -raXxs -W default --durations 10 --color=yes\n\n  jupyterlab:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Test jupyterlab\n        uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: jupyterlab\n          test_command: \"python -m jupyterlab.browser_check --no-browser-test\"\n\n  jupyter_server_terminals:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Test jupyter_server_terminals\n        uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          test_command: pip install pytest-jupyter[server] && pytest -vv -raXxs -W default --durations 10 --color=yes\n          package_name: jupyter_server_terminals\n\n  jupytext:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Test jupytext\n        uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1\n        with:\n          package_name: jupytext\n          test_command: pip install pytest-jupyter[server] gitpython pre-commit && python -m ipykernel install --name jupytext-dev --user && pytest -vv -raXxs -W default --durations 10 --ignore=tests/functional/others --color=yes\n\n  downstream_check: # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n      - jupyterlab\n      - jupyter_server_terminals\n      - jupyterlab_server\n      - notebook\n      - nbclassic\n      - jupytext\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "jupyter-server/jupyter_server"}
{"mined_at": "2024-07-15T14:41:36.021968", "created_at": "2021-11-18T16:34:48+01:00", "updated_at": "2021-11-18T17:25:27+01:00", "name": "Enforce PR label", "path": ".github/workflows/enforce-label.yml", "contents": "name: Enforce PR label\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, edited, synchronize]\njobs:\n  enforce-label:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: enforce-triage-label\n        uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1\n", "state": "active", "repository": "jupyter-server/jupyter_server"}
{"mined_at": "2024-07-15T14:41:37.227685", "created_at": "2022-03-22T11:34:04+01:00", "updated_at": "2022-03-22T15:38:14+01:00", "name": "Jupyter Server Tests", "path": ".github/workflows/python-tests.yml", "contents": "name: Jupyter Server Tests\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n  schedule:\n    - cron: \"0 8 * * *\"\n\ndefaults:\n  run:\n    shell: bash -eux {0}\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 20\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: [\"3.8\", \"3.11\"]\n        include:\n          - os: windows-latest\n            python-version: \"3.9\"\n          - os: ubuntu-latest\n            python-version: \"pypy-3.8\"\n          - os: macos-latest\n            python-version: \"3.10\"\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Install nbconvert dependencies on Linux\n        if: startsWith(runner.os, 'Linux')\n        run: |\n          sudo apt-get update\n          sudo apt-get install texlive-plain-generic inkscape texlive-xetex\n          sudo apt-get install xvfb x11-utils libxkbcommon-x11-0\n          # pandoc is not up to date in the ubuntu repos, so we install directly\n          wget https://github.com/jgm/pandoc/releases/download/3.1.2/pandoc-3.1.2-1-amd64.deb && sudo dpkg -i pandoc-3.1.2-1-amd64.deb\n      - name: Run the tests on posix\n        if: ${{ !startsWith(matrix.python-version, 'pypy') && !startsWith(matrix.os, 'windows') }}\n        run: hatch run cov:test --cov-fail-under 75 || hatch -v run test:test --lf\n      - name: Run the tests on pypy\n        if: ${{ startsWith(matrix.python-version, 'pypy') }}\n        run: hatch run test:nowarn || hatch -v run test:nowarn --lf\n      - name: Run the tests on windows\n        if: ${{ startsWith(matrix.os, 'windows') }}\n        run: hatch run cov:nowarn -s || hatch -v run cov:nowarn --lf\n      - uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1\n\n  test_docs:\n    name: Test Docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install enchant-2  # for spell checking\n      - name: Build API docs\n        run: |\n          hatch -v run docs:api\n          # If this fails run `hatch run docs:api` locally\n          # and commit.\n          git status --porcelain\n          git status -s | grep \"A\" && exit 1\n          git status -s | grep \"M\" && exit 1\n          echo \"API docs done\"\n      - run: hatch -v run docs:build\n\n  test_lint:\n    name: Test Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Run Linters\n        run: |\n          hatch -v run typing:test\n          hatch fmt\n          pipx run interrogate -v .\n          pipx run doc8 --max-line-length=200  --ignore-path=docs/source/other/full-config.rst\n          npm install -g eslint\n          eslint .\n\n  test_examples:\n    name: Test Examples\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Install the Python dependencies for the examples\n        run: |\n          pip install -e \".[test]\"\n          cd examples/simple && pip install -e .\n      - name: Run the tests for the examples\n        run: |\n          python -m pytest examples/simple\n\n  test_minimum_versions:\n    name: Test Minimum Versions\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: minimum\n      - name: Run the unit tests\n        run: |\n          hatch -vv run test:nowarn || hatch -v run test:nowarn --lf\n\n  test_prereleases:\n    name: Test Prereleases\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: pre\n      - name: Run the tests\n        run: |\n          hatch run test:nowarn || hatch -v run test:nowarn --lf\n\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/make-sdist@v1\n\n  test_sdist:\n    runs-on: ubuntu-latest\n    needs: [make_sdist]\n    name: Install from SDist and Test\n    timeout-minutes: 20\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1\n        with:\n          package_spec: -vv .\n          test_command: hatch run test:test || hatch -v run test:test --lf\n\n  check_release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Install Dependencies\n        run: |\n          pip install -e .\n      - name: Check Release\n        uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  check_links:\n    name: Check Links\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1\n\n  integration_check:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Run the tests\n        run: hatch -v run cov:integration\n      - uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1\n\n  integration_check_pypy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          python_version: \"pypy-3.8\"\n      - name: Run the tests\n        run: hatch -v run test:nowarn --integration_tests=true\n\n  coverage:\n    runs-on: ubuntu-latest\n    needs:\n      - integration_check\n      - build\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/report-coverage@v1\n        with:\n          fail_under: 80\n\n  tests_check: # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n      - coverage\n      - integration_check_pypy\n      - test_docs\n      - test_lint\n      - test_examples\n      - test_minimum_versions\n      - test_prereleases\n      - check_links\n      - check_release\n      - test_sdist\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "jupyter-server/jupyter_server"}
{"mined_at": "2024-07-15T14:41:38.354517", "created_at": "2022-09-27T15:17:53+02:00", "updated_at": "2022-09-27T15:17:53+02:00", "name": "Step 1: Prep Release", "path": ".github/workflows/prep-release.yml", "contents": "name: \"Step 1: Prep Release\"\non:\n  workflow_dispatch:\n    inputs:\n      version_spec:\n        description: \"New Version Specifier\"\n        default: \"next\"\n        required: false\n      branch:\n        description: \"The branch to target\"\n        required: false\n      post_version_spec:\n        description: \"Post Version Specifier\"\n        required: false\n      silent:\n        description: \"Set a placeholder in the changelog and don't publish the release.\"\n        required: false\n        type: boolean\n      since:\n        description: \"Use PRs with activity since this date or git reference\"\n        required: false\n      since_last_stable:\n        description: \"Use PRs with activity since the last stable git tag\"\n        required: false\n        type: boolean\njobs:\n  prep_release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Prep Release\n        id: prep-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          version_spec: ${{ github.event.inputs.version_spec }}\n          silent: ${{ github.event.inputs.silent }}\n          post_version_spec: ${{ github.event.inputs.post_version_spec }}\n          target: ${{ github.event.inputs.target }}\n          branch: ${{ github.event.inputs.branch }}\n          since: ${{ github.event.inputs.since }}\n          since_last_stable: ${{ github.event.inputs.since_last_stable }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}\"\n", "state": "active", "repository": "jupyter-server/jupyter_server"}
{"mined_at": "2024-07-15T14:41:39.582902", "created_at": "2022-09-27T15:17:53+02:00", "updated_at": "2022-09-27T15:17:53+02:00", "name": "Step 2: Publish Release", "path": ".github/workflows/publish-release.yml", "contents": "name: \"Step 2: Publish Release\"\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The target branch\"\n        required: false\n      release_url:\n        description: \"The URL of the draft GitHub release\"\n        required: false\n      steps_to_skip:\n        description: \"Comma separated list of steps to skip\"\n        required: false\n\njobs:\n  publish_release:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Populate Release\n        id: populate-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n          release_url: ${{ github.event.inputs.release_url }}\n          steps_to_skip: ${{ github.event.inputs.steps_to_skip }}\n\n      - name: Finalize Release\n        id: finalize-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          release_url: ${{ steps.populate-release.outputs.release_url }}\n\n      - name: \"** Next Step **\"\n        if: ${{ success() }}\n        run: |\n          echo \"Verify the final release\"\n          echo ${{ steps.finalize-release.outputs.release_url }}\n\n      - name: \"** Failure Message **\"\n        if: ${{ failure() }}\n        run: |\n          echo \"Failed to Publish the Draft Release Url:\"\n          echo ${{ steps.populate-release.outputs.release_url }}\n", "state": "active", "repository": "jupyter-server/jupyter_server"}
{"mined_at": "2024-07-15T14:41:40.708997", "created_at": "2024-03-04T13:01:21+01:00", "updated_at": "2024-03-04T13:01:21+01:00", "name": "Publish Changelog", "path": ".github/workflows/publish-changelog.yml", "contents": "name: \"Publish Changelog\"\non:\n  release:\n    types: [published]\n\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch to target\"\n        required: false\n\njobs:\n  publish_changelog:\n    runs-on: ubuntu-latest\n    environment: release\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Publish changelog\n        id: publish-changelog\n        uses: jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}\"\n", "state": "active", "repository": "jupyter-server/jupyter_server"}
{"mined_at": "2024-07-15T14:41:42.962144", "created_at": "2020-02-19T22:36:27+01:00", "updated_at": "2023-01-17T21:22:51+01:00", "name": "Publish and release CumulusCI", "path": ".github/workflows/release.yml", "contents": "name: Publish and release CumulusCI\n\non:\n    push:\n        branches:\n            - main\n        paths:\n            - cumulusci/__about__.py\n\nconcurrency: publishing\n\njobs:\n    publish-to-pypi:\n        name: Publish new release to PyPI\n        runs-on: SFDO-Tooling-Ubuntu\n        steps:\n            - uses: actions/checkout@main\n            - name: Set up Python 3.8\n              uses: actions/setup-python@v4\n              with:\n                  python-version: 3.8\n                  cache: pip\n            - name: Install build tools\n              run: python -m pip install hatch tomli tomli-w\n            - name: Pin dependencies\n              run: python utility/pin_dependencies.py\n            - name: Build source tarball and binary wheel\n              run: hatch build -c\n            - name: Upload to PyPI\n              run: hatch publish\n              env:\n                  HATCH_INDEX_USER: \"__token__\"\n                  HATCH_INDEX_AUTH: ${{ secrets.PYPI_TOKEN }}\n            - name: Create release\n              env:\n                  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n              run: |\n                  VERSION=\"$(hatch version)\"\n                  awk '/<!-- latest-start -->/,/<!-- latest-stop -->/' docs/history.md > changelog.md\n                  gh release create \"v$VERSION\" \\\n                    dist/*.whl \\\n                    dist/*.tar.gz \\\n                    --notes-file changelog.md \\\n                    --title $VERSION\n", "state": "active", "repository": "sfdo-tooling/cumulusci"}
{"mined_at": "2024-07-15T14:41:44.190906", "created_at": "2020-03-10T22:43:44+01:00", "updated_at": "2021-04-22T20:28:04+02:00", "name": "Feature Test", "path": ".github/workflows/feature_test.yml", "contents": "name: Feature Test\n\non:\n    workflow_dispatch:\n    pull_request:\n        types: [opened, synchronize, reopened] # Default\n    push:\n        branches:\n            - main\n\njobs:\n    lint:\n        name: Lint\n        if: ${{ contains(fromJSON('[\"workflow_dispatch\", \"pull_request\"]'), github.event_name) }}\n        uses: SFDO-Tooling/.github/.github/workflows/pre-commit.yml@main\n    docs:\n        name: Build Docs\n        if: ${{ github.event_name == 'pull_request' }}\n        runs-on: SFDO-Tooling-Ubuntu\n        steps:\n            - name: \"Checkout\"\n              uses: actions/checkout@v2\n              with:\n                  fetch-depth: 1\n            - name: Set up Python 3.8\n              id: py\n              uses: actions/setup-python@v4\n              with:\n                  python-version: 3.8\n                  cache: pip\n                  cache-dependency-path: \"requirements/*.txt\"\n            - name: Install dependencies\n              run: pip install -r requirements_dev.txt\n            - name: Build Docs\n              run: make docs\n\n    unit_tests:\n        name: \"Unit tests: ${{ matrix.os }}-${{ matrix.python-version }}\"\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [macos-latest, SFDO-Tooling-Ubuntu, SFDO-Tooling-Windows]\n                python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n                exclude:\n                    - os: macos-latest\n                      python-version: 3.8\n                include:\n                    - os: macos-13\n                      python-version: 3.8\n        steps:\n            - uses: actions/checkout@v2\n            - name: Set up Python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: \"${{ matrix.python-version }}\"\n                  cache: pip\n                  cache-dependency-path: \"requirements/*.txt\"\n            - name: Install dependencies\n              run: pip install -r requirements_dev.txt\n            - name: Run Pytest\n              run: pytest --cov-report= --cov=cumulusci\n\n    robot_api:\n        name: \"Robot: No browser\"\n        runs-on: SFDO-Tooling-Ubuntu\n        steps:\n            - uses: actions/checkout@v2\n            - name: Set up Python 3.8\n              uses: actions/setup-python@v4\n              with:\n                  python-version: 3.8\n                  cache: pip\n                  cache-dependency-path: \"requirements/*.txt\"\n            - name: Install Python dependencies\n              run: pip install -r requirements_dev.txt\n            - name: Install sfdx\n              run: |\n                  mkdir sfdx\n                  wget -qO- https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-linux-x64.tar.xz | tar xJ -C sfdx --strip-components 1\n                  echo $(realpath sfdx/bin) >> $GITHUB_PATH\n            - name: Authenticate Dev Hub\n              run: |\n                  sfdx plugins --core\n                  echo $SFDX_HUB_KEY_BASE64 | base64 --decode > sfdx.key\n                  sfdx auth:jwt:grant --clientid $SFDX_CLIENT_ID --jwtkeyfile sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub\n              env:\n                  SFDX_HUB_KEY_BASE64: ${{ secrets.SFDX_HUB_KEY_BASE64 }}\n                  SFDX_CLIENT_ID: ${{ secrets.SFDX_CLIENT_ID }}\n                  SFDX_HUB_USERNAME: ${{ secrets.SFDX_HUB_USERNAME }}\n            - name: Run robot tests\n              run: |\n                  coverage run --append $(which cci) task run robot \\\n                    --org dev \\\n                    -o name \"CumulusCI\" \\\n                    -o suites cumulusci/robotframework/tests \\\n                    -o include no-browser\n            - name: Delete scratch org\n              if: always()\n              run: |\n                  cci org scratch_delete dev\n            - name: Store robot results\n              if: failure()\n              uses: actions/upload-artifact@v1\n              with:\n                  name: robot\n                  path: robot/CumulusCI/results\n", "state": "active", "repository": "sfdo-tooling/cumulusci"}
{"mined_at": "2024-07-15T14:41:45.423613", "created_at": "2020-04-03T23:13:52+02:00", "updated_at": "2021-10-22T18:33:22+02:00", "name": "Release Test", "path": ".github/workflows/release_test.yml", "contents": "name: Release Test\n\non:\n    pull_request:\n        types: [opened, synchronize, reopened] # Default\n    workflow_call:\n        secrets:\n            CUMULUSCI_ORG_packaging:\n                required: true\n            CUMULUSCI_SERVICE_github:\n                required: true\n            CCITEST_APP_KEY:\n                required: true\n            SFDX_CLIENT_ID:\n                required: true\n            SFDX_HUB_KEY:\n                required: true\n            SFDX_HUB_KEY_BASE64:\n                required: true\n            SFDX_HUB_USERNAME:\n                required: true\n\nenv:\n    CUMULUSCI_ORG_scratch: '{\"config_file\": \"orgs/dev.json\", \"scratch\": true}'\n    CUMULUSCI_ORG_packaging: ${{ secrets.CUMULUSCI_ORG_packaging }}\n    CUMULUSCI_SERVICE_github: ${{ secrets.CUMULUSCI_SERVICE_github }}\n    GITHUB_APP_ID: 129383\n    GITHUB_APP_KEY: ${{ secrets.CCITEST_APP_KEY }}\n    SFDX_CLIENT_ID: ${{ secrets.SFDX_CLIENT_ID }}\n    SFDX_HUB_KEY: ${{ secrets.SFDX_HUB_KEY }}\n    SFDX_HUB_KEY_BASE64: ${{ secrets.SFDX_HUB_KEY_BASE64 }}\n    SFDX_HUB_USERNAME: ${{ secrets.SFDX_HUB_USERNAME }}\n\njobs:\n    test_artifacts:\n        name: \"Test Package Artifacts\"\n        runs-on: SFDO-Tooling-Ubuntu\n        steps:\n            - uses: actions/checkout@v3\n            - name: Set up Python 3.8\n              uses: actions/setup-python@v4\n              with:\n                  python-version: 3.8\n                  cache: pip\n                  cache-dependency-path: \"requirements/*.txt\"\n            - name: Install build tools\n              run: pip install hatch\n            - name: Test source tarball and binary wheel\n              run: |\n                  hatch build\n            - name: Test install of wheel\n              run: |\n                  pip install dist/cumulusci*.whl\n                  pip show cumulusci\n                  pip uninstall -y cumulusci\n            - name: Test install of sdist\n              run: |\n                  pip install dist/cumulusci*.tar.gz\n                  pip show cumulusci\n                  pip uninstall -y cumulusci\n            - name: Store artifacts\n              if: failure()\n              uses: actions/upload-artifact@v3\n              with:\n                  name: packages\n                  path: dist\n\n    test_release:\n        name: \"Test Release Flows\"\n        runs-on: SFDO-Tooling-Ubuntu\n        concurrency: release\n        steps:\n            - uses: actions/checkout@v3\n            - name: Set up Python 3.8\n              uses: actions/setup-python@v4\n              with:\n                  python-version: 3.8\n                  cache: pip\n                  cache-dependency-path: \"requirements/*.txt\"\n            - name: Install Python dependencies\n              run: pip install -r requirements_dev.txt\n            - name: Install sfdx\n              run: |\n                  mkdir sfdx\n                  wget -qO- https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sfdx-linux-x64.tar.xz | tar xJ -C sfdx --strip-components 1\n                  echo $(realpath sfdx/bin) >> $GITHUB_PATH\n            - name: Authenticate Dev Hub\n              run: |\n                  sfdx plugins --core\n                  echo $SFDX_HUB_KEY_BASE64 | base64 --decode > sfdx.key\n                  sfdx auth:jwt:grant --clientid $SFDX_CLIENT_ID --jwtkeyfile sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub\n            - name: Check out CumulusCI-Test\n              run: |\n                  git clone https://github.com/SFDO-Tooling/CumulusCI-Test\n            - name: Run ci_feature flow\n              run: |\n                  cd CumulusCI-Test\n                  coverage run --append --rcfile=../pyproject.toml --source=../cumulusci $(which cci) flow run ci_feature --org scratch --delete-org\n            - name: Run ci_beta flow\n              run: |\n                  cd CumulusCI-Test\n                  coverage run --append --rcfile=../pyproject.toml --source=../cumulusci $(which cci) flow run ci_beta --org scratch --delete-org\n            - name: Run ci_master flow\n              run: |\n                  cd CumulusCI-Test\n                  coverage run --append --rcfile=../pyproject.toml --source=../cumulusci $(which cci) flow run ci_master --org scratch --delete-org\n            - name: Run release_beta flow\n              run: |\n                  export SFDX_HUB_KEY=\"$(echo $SFDX_HUB_KEY_BASE64 | base64 --decode)\"\n                  cd CumulusCI-Test\n                  coverage run --append --rcfile=../pyproject.toml --source=../cumulusci $(which cci) flow run release_beta --org packaging\n", "state": "active", "repository": "sfdo-tooling/cumulusci"}
{"mined_at": "2024-07-15T14:41:46.651884", "created_at": "2021-07-31T23:18:52+02:00", "updated_at": "2021-08-27T17:43:51+02:00", "name": "Integration Tests", "path": ".github/workflows/slow_integration_tests.yml", "contents": "name: Integration Tests\n\non:\n    pull_request_review:\n        types: [submitted]\n\n    workflow_call:\n        secrets:\n            CUMULUSCI_SERVICE_github:\n                required: true\n            CCITEST_APP_KEY:\n                required: true\n\n    workflow_dispatch:\n\nenv:\n    CUMULUSCI_KEY: ${{ secrets.CUMULUSCI_KEY }}\n    CUMULUSCI_SERVICE_github: ${{ secrets.CUMULUSCI_SERVICE_github }}\n    GITHUB_APP_ID: 129383\n    GITHUB_APP_KEY: ${{ secrets.CCITEST_APP_KEY }}\n\njobs:\n    org_backed_tests:\n        name: \"Org-connected Tests\"\n        runs-on: SFDO-Tooling-Ubuntu\n        steps:\n            - uses: actions/checkout@v2\n            - name: Set up Python 3.8\n              uses: actions/setup-python@v4\n              with:\n                  python-version: 3.8\n                  cache: pip\n                  cache-dependency-path: \"requirements/*.txt\"\n            - name: Install Python dependencies\n              run: |\n                  python -m pip install -U pip\n                  pip install -r requirements_dev.txt\n            - name: Install sfdx\n              run: |\n                  mkdir sfdx\n                  wget -qO- https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sfdx-linux-x64.tar.xz | tar xJ -C sfdx --strip-components 1\n                  echo $(realpath sfdx/bin) >> $GITHUB_PATH\n            - name: Authenticate Dev Hub\n              run: |\n                  sfdx plugins --core\n                  echo $SFDX_HUB_KEY_BASE64 | base64 --decode > sfdx.key\n                  sfdx auth:jwt:grant --clientid $SFDX_CLIENT_ID --jwtkeyfile sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub\n              env:\n                  SFDX_HUB_KEY_BASE64: ${{ secrets.SFDX_HUB_KEY_BASE64 }}\n                  SFDX_CLIENT_ID: ${{ secrets.SFDX_CLIENT_ID }}\n                  SFDX_HUB_USERNAME: ${{ secrets.SFDX_HUB_USERNAME }}\n            - name: Re-make VCR tapes (transiently)\n              run: make vcr\n            - name: Delete scratch org\n              if: always()\n              run: |\n                  cci org scratch_delete pytest\n    robot_ui:\n        name: \"Robot: ${{ matrix.job-name }}\"\n        runs-on: SFDO-Tooling-Ubuntu\n        strategy:\n            fail-fast: false\n            matrix:\n                include:\n                    - browser: \"BROWSER:headlesschrome\"\n                      job-name: \"Chrome\"\n                      org-shape: \"dev\"\n                    # - browser: \"BROWSER:headlessfirefox\"\n                    #   job-name: \"Firefox\"\n                    #   org-shape: \"dev\"\n                    # - browser: \"BROWSER:headlesschrome\"\n                    #   job-name: \"Pre-release\"\n                    #   org-shape: \"prerelease\"\n        steps:\n            - uses: actions/checkout@v2\n            - name: Set up Python 3.8\n              uses: actions/setup-python@v4\n              with:\n                  python-version: 3.8\n                  cache: pip\n                  cache-dependency-path: \"requirements/*.txt\"\n            - name: Install Python dependencies\n              run: pip install -r requirements_dev.txt\n            - name: Install sfdx\n              run: |\n                  mkdir sfdx\n                  wget -qO- https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sfdx-linux-x64.tar.xz | tar xJ -C sfdx --strip-components 1\n                  echo $(realpath sfdx/bin) >> $GITHUB_PATH\n            - name: Initialize Browser/Playwright\n              run: cci robot install_playwright\n            - name: Authenticate Dev Hub\n              run: |\n                  sfdx plugins --core\n                  echo $SFDX_HUB_KEY_BASE64 | base64 --decode > sfdx.key\n                  sfdx auth:jwt:grant --clientid $SFDX_CLIENT_ID --jwtkeyfile sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub\n              env:\n                  SFDX_HUB_KEY_BASE64: ${{ secrets.SFDX_HUB_KEY_BASE64 }}\n                  SFDX_CLIENT_ID: ${{ secrets.SFDX_CLIENT_ID }}\n                  SFDX_HUB_USERNAME: ${{ secrets.SFDX_HUB_USERNAME }}\n            - name: Run robot tests\n              run: |\n                  coverage run --append $(which cci) task run robot \\\n                    --org ${{ matrix.org-shape }} \\\n                    -o suites cumulusci/robotframework/tests/salesforce \\\n                    -o exclude no-browser \\\n                    -o vars ${{ matrix.browser }}\n            - name: Delete scratch org\n              if: always()\n              run: |\n                  cci org scratch_delete ${{ matrix.org-shape }}\n            - name: Store robot results\n              if: failure()\n              uses: actions/upload-artifact@v1\n              with:\n                  name: robot\n                  path: robot/CumulusCI/results\n", "state": "active", "repository": "sfdo-tooling/cumulusci"}
{"mined_at": "2024-07-15T14:41:47.838293", "created_at": "2022-03-25T15:46:32+01:00", "updated_at": "2023-03-08T00:19:30+01:00", "name": "Scheduled Chores", "path": ".github/workflows/chores.yml", "contents": "name: Scheduled Chores\n\non:\n    workflow_dispatch:\n    schedule:\n        - cron: \"0 0 * * 0\" # At 00:00 on Sunday\n\njobs:\n    check_api_versions:\n        runs-on: SFDO-Tooling-Ubuntu\n        outputs:\n            hub_version: ${{ steps.devhub-api-version.outputs.hub_version }}\n            cci_version: ${{ steps.cci-api-version.outputs.cci_version }}\n        steps:\n            - uses: actions/checkout@v3\n              with:\n                  ref: main\n            - name: Set up Python\n              uses: actions/setup-python@v4\n            - name: Get Dev Hub API Version\n              id: devhub-api-version\n              env:\n                  HUB_URL: ${{ format('{0}/services/data', secrets.SFDO_HUB_URL) }}\n              run: |\n                  version=$(curl -s $HUB_URL | jq -r '.[-1] | .version')\n                  echo \"::set-output name=hub_version::$version\"\n            - name: Get CURRENT_SF_API_VERSION\n              id: cci-api-version\n              run: |\n                  version=$(yq '.project.package.api_version' cumulusci/cumulusci.yml)\n                  echo \"::set-output name=cci_version::$version\"\n    update_api_versions:\n        runs-on: SFDO-Tooling-Ubuntu\n        needs: check_api_versions\n        if: ${{ needs.check_api_versions.outputs.hub_version != needs.check_api_versions.outputs.cci_version }}\n        env:\n            VERSION: ${{ needs.check_api_versions.outputs.hub_version }}\n        steps:\n            - uses: actions/checkout@v3\n              with:\n                  fetch-depth: 0\n                  ref: main\n            - name: Set CURRENT_SF_API_VERSION\n              id: set-cci-api-version\n              run: |\n                  yq --indent 4 --inplace '\n                    .project.package.api_version = strenv(VERSION)\n                  ' cumulusci/cumulusci.yml\n            - name: Commit changes\n              run: |\n                  git config user.name github-actions[bot]\n                  git config user.email 41898282+github-actions[bot]@users.noreply.github.com\n                  git switch -c \"update-sfdc-api-v$VERSION\"\n                  git add cumulusci/cumulusci.yml\n                  git commit -m \"Automated update to sfdc API version $VERSION\"\n                  git push origin \"update-sfdc-api-v$VERSION\"\n            - env:\n                  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n              run: |\n                  gh pr create --fill --label 'auto-pr'\n", "state": "active", "repository": "sfdo-tooling/cumulusci"}
{"mined_at": "2024-07-15T14:41:48.895261", "created_at": "2022-05-26T22:08:49+02:00", "updated_at": "2022-06-09T22:08:33+02:00", "name": "Update Python Dependencies", "path": ".github/workflows/update_dependencies.yml", "contents": "name: Update Python Dependencies\n\non:\n    workflow_dispatch:\n\njobs:\n    update_python_dependencies:\n        uses: SFDO-Tooling/.github/.github/workflows/update_python_dependencies.yml@main\n        with:\n            python-version: 3.8\n", "state": "active", "repository": "sfdo-tooling/cumulusci"}
{"mined_at": "2024-07-15T14:41:49.929456", "created_at": "2023-01-17T21:22:51+01:00", "updated_at": "2023-01-17T21:22:51+01:00", "name": "Draft release pull request", "path": ".github/workflows/pre-release.yml", "contents": "name: Draft release pull request\n\non:\n    workflow_dispatch:\n        inputs:\n            version:\n                description: \"Select version bump\"\n                default: \"minor\"\n                type: choice\n                options:\n                    - major\n                    - minor\n                    - patch\n                    - alpha\n                    - beta\n                    - preview\n                    - dev\n\njobs:\n    generate-changelog:\n        name: Create a PR to update version and release notes\n        runs-on: SFDO-Tooling-Ubuntu\n        steps:\n            - uses: actions/checkout@main\n            - name: Set up Python 3.8\n              uses: actions/setup-python@v4\n              with:\n                  python-version: 3.8\n                  cache: pip\n            - name: Install build tool\n              run: python -m pip install hatch\n            - name: Bump version\n              run: hatch version $VERSION\n              env:\n                  VERSION: ${{ inputs.version }}\n            - name: Generate release notes\n              id: changelog\n              env:\n                  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n              run: |\n                  PREVIOUS_VERSION=$(gh release view --json tagName --jq .tagName)\n                  NEXT_VERSION=\"v$(hatch version)\"\n                  echo \"## $NEXT_VERSION ($(date -I))\" > changelog.md\n                  gh api \\\n                    --method POST \\\n                    -H \"Accept: application/vnd.github.v3+json\" \\\n                    /repos/SFDO-Tooling/CumulusCI/releases/generate-notes \\\n                    -f previous_tag_name=$PREVIOUS_VERSION \\\n                    -f target_commitish='main' \\\n                    -f tag_name=$NEXT_VERSION \\\n                    --jq '.body' |\n                    sed -e 's_\\(https.*\\/\\)\\([0-9]*\\)$_[#\\2](\\1\\2)_' \\\n                        -e 's_by @\\(.*\\) in_by [@\\1](https://github.com/\\1) in_' >> changelog.md\n                  python utility/update-history.py\n            - name: Lint history\n              run: |\n                  npm install prettier\n                  npx prettier --write docs/history.md\n            - name: Commit changes\n              run: |\n                  git config user.name github-actions[bot]\n                  git config user.email 41898282+github-actions[bot]@users.noreply.github.com\n                  git switch -c \"release-$(hatch version)\"\n                  git add docs/history.md cumulusci/__about__.py\n                  git commit -m \"Update changelog (automated)\"\n                  git push origin \"release-$(hatch version)\"\n            - name: Commit changes and open PR\n              env:\n                  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n              run: |\n                  gh pr create --title \"Release v$(hatch version)\" --fill --label 'auto-pr'\n", "state": "active", "repository": "sfdo-tooling/cumulusci"}
{"mined_at": "2024-07-15T14:41:52.075482", "created_at": "2024-02-28T18:01:40+01:00", "updated_at": "2024-03-18T22:31:10+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "---\nname: ci\n\n# yamllint disable-line rule:truthy\non:\n  push:\n  pull_request:\n\nconcurrency:\n  group: ci-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}\n  cancel-in-progress: true\n\njobs:\n  nix:\n    uses: ./.github/workflows/nix.yml\n  unit-tests:\n    uses: ./.github/workflows/test_and_package.yml\n  docs:\n    uses: ./.github/workflows/docs.yml\n    secrets: inherit\n  publish:\n    needs: [nix, unit-tests, docs]\n    uses: ./.github/workflows/publish.yml\n  all:\n    needs: [unit-tests, publish]\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Success\n        run: \"true\"\n", "state": "active", "repository": "cclib/cclib"}
{"mined_at": "2024-07-15T14:41:53.406827", "created_at": "2024-04-26T14:59:11+02:00", "updated_at": "2024-04-26T14:59:11+02:00", "name": "docs push", "path": ".github/workflows/docs.yml", "contents": "---\n# yamllint disable rule:line-length\nname: docs push\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  workflow_call:\n\nconcurrency:\n  group: docs-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}\n  cancel-in-progress: true\n\njobs:\n  build-and-push-docs:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        container:\n          - 'shivupa/cclib-ci:py311-edge'\n    container:\n      image: ${{ matrix.container }}\n    defaults:\n      run:\n        shell: bash -eo pipefail -l {0}\n    steps:\n      - name: Installs for ssh-agent\n        run: |\n          apt-get update && apt-get install -y openssh-client\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          # so versioningit can figure out the version\n          fetch-depth: 0\n          fetch-tags: true\n      - name: Allow repo access (see https://github.com/actions/checkout/issues/760)\n        run: |\n          git config --global --add safe.directory /__w/cclib/cclib\n      - name: Prepare conda environment\n        run: |\n          echo \"/opt/conda/envs/cclib/bin\" >> $GITHUB_PATH\n      - name: Build docs\n        run: cd doc && make default\n      - name: Make a no jekyll file\n        run: touch doc/sphinx/_build/html/.nojekyll\n      - name: Pushes to another repository\n        id: push_directory\n        uses: cpina/github-action-push-to-another-repository@main\n        env:\n          SSH_DEPLOY_KEY: ${{ secrets.CCLIB_DOCS_KEY }}\n        with:\n          source-directory: doc/sphinx/_build/html\n          destination-github-username: 'cclib'\n          destination-repository-name: 'cclib.github.io'\n          commit-message: See ORIGIN_COMMIT from $GITHUB_REF\n          target-branch: master\n        if: github.ref == 'refs/heads/master'\n", "state": "active", "repository": "cclib/cclib"}
{"mined_at": "2024-07-15T14:41:54.436579", "created_at": "2024-03-18T22:31:10+01:00", "updated_at": "2024-03-18T22:31:10+01:00", "name": "build and test nix package", "path": ".github/workflows/nix.yml", "contents": "---\nname: build and test nix package\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  workflow_call:\n\nconcurrency:\n  group: nix-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}\n  cancel-in-progress: true\n\njobs:\n  nix-build:\n    runs-on: ubuntu-latest\n    steps:\n      # Install Nix on the runner\n      - uses: cachix/install-nix-action@V27\n        with:\n          nix_path: nixpkgs=channel:nixos-unstable\n      # Pull from the cachix cache\n      - uses: cachix/cachix-action@v15\n        with:\n          name: nix-qchem\n      # Checkout of the current head in the working dir\n      - uses: actions/checkout@v4\n      # Build the nix package\n      - name: Build nix package\n        run: nix flake check -L\n", "state": "active", "repository": "cclib/cclib"}
{"mined_at": "2024-07-15T14:41:55.549060", "created_at": "2024-03-18T22:31:10+01:00", "updated_at": "2024-03-18T22:31:10+01:00", "name": "publish packages to package indices", "path": ".github/workflows/publish.yml", "contents": "---\n# yamllint disable rule:line-length\nname: publish packages to package indices\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  workflow_call:\n\nconcurrency:\n  group: publish-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}\n  cancel-in-progress: true\n\nenv:\n  # For now always take the \"reduced\" form of the version, even for those\n  # actions runs that do not push to a package index.\n  VERSIONINGIT_FOR_PACKAGE_INDEX: true\n\njobs:\n\n  # Taken from\n  # https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/,\n  # where building the distribution happens every commit after running the\n  # tests\n\n  publish-to-testpypi:\n    name: Publish Python distribution to TestPyPI\n    runs-on: ubuntu-22.04\n\n    # publish on merge to default branch or any tag\n    if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')\n\n    environment:\n      name: testpypi\n      url: https://test.pypi.org/p/cclib\n\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n\n  publish-to-pypi:\n    name: Publish Python distribution to PyPI\n    runs-on: ubuntu-22.04\n\n    # only publish on release/versioned tag pushes\n    if: startsWith(github.ref, 'refs/tags/v')\n\n    environment:\n      name: pypi\n      url: https://pypi.org/p/cclib\n\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  github-release:\n    name: >-\n      Sign the Python distribution with Sigstore\n      and upload them to GitHub Release\n    runs-on: ubuntu-22.04\n\n    # make (draft) release on any tag\n    if: startsWith(github.ref, 'refs/tags/')\n\n    permissions:\n      contents: write  # IMPORTANT: mandatory for making GitHub Releases\n      id-token: write  # IMPORTANT: mandatory for sigstore\n\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Sign the dists with Sigstore\n        uses: sigstore/gh-action-sigstore-python@v2.1.1\n        with:\n          inputs: >-\n            ./dist/*.tar.gz\n            ./dist/*.whl\n      - name: Create GitHub Release (draft)\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n        run: >-\n          gh release create\n          '${{ github.ref_name }}'\n          --repo '${{ github.repository }}'\n          --draft\n          --notes \"\"\n      - name: Upload artifact signatures to GitHub Release\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n        # Upload to GitHub Release using the `gh` CLI.\n        # `dist/` contains the built packages, and the\n        # sigstore-produced signatures and certificates.\n        run: >-\n          gh release upload\n          '${{ github.ref_name }}' dist/**\n          --repo '${{ github.repository }}'\n", "state": "active", "repository": "cclib/cclib"}
{"mined_at": "2024-07-15T14:41:56.851410", "created_at": "2024-03-18T22:31:10+01:00", "updated_at": "2024-03-18T22:31:10+01:00", "name": "run tests and create installable packages", "path": ".github/workflows/test_and_package.yml", "contents": "---\n# yamllint disable rule:line-length\nname: run tests and create installable packages\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  workflow_call:\n\nconcurrency:\n  group: test-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}\n  cancel-in-progress: true\n\n# For now always take the \"reduced\" form of the version, even for those\n# actions runs that do not push to a package index.\nenv:\n  VERSIONINGIT_FOR_PACKAGE_INDEX: true\n\njobs:\n\n  run-tests:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        container:\n          - 'shivupa/cclib-ci:py38-edge'\n          - 'shivupa/cclib-ci:py39-edge'\n          - 'shivupa/cclib-ci:py310-edge'\n          - 'shivupa/cclib-ci:py311-edge'\n    container:\n      image: ${{ matrix.container }}\n    defaults:\n      run:\n        shell: bash -eo pipefail -l {0}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          # so versioningit can figure out the version\n          fetch-depth: 0\n          fetch-tags: true\n      - name: Allow repo access (see https://github.com/actions/checkout/issues/760)\n        run: |\n          git config --global --add safe.directory /__w/cclib/cclib\n      - name: Prepare conda environment\n        run: |\n          echo \"/opt/conda/envs/cclib/bin\" >> \"${GITHUB_PATH}\"\n      - name: Install cclib\n        run: |\n          python -m pip install .\n      - name: Filter code\n        uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            methods:\n              - 'cclib/cclib/method/**'\n              - 'test/method/**'\n      - name: Test core code with pytest\n        run: |\n          env | sort\n          bash .github/scripts/run_pytest.bash 2\n      - name: Test methods with pytest\n        if: steps.filter.outputs.methods == 'true'\n        run: |\n          bash .github/scripts/run_pytest_methods.bash 2\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          files: ./coverage-unit.xml,./coverage-regression.xml,./coverage-method.xml\n          name: codecov-cclib\n          fail_ci_if_error: false\n          verbose: false\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        if: matrix.container == 'shivupa/cclib-ci:py311-edge'\n      - name: Install pypa/build\n        run: |\n          python -m pip install build\n      - name: Build distribution packages (binary wheel and source tarball)\n        run: |\n          python -m build\n      - name: Check packages with twine\n        run: |\n          python -m pip install twine\n          python -m twine check dist/*\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n        if: matrix.container == 'shivupa/cclib-ci:py311-edge'\n\n  # We check the installation using all Python versions using the packages\n  # created from a single version, since the packages are platform and version\n  # independent.\n  check-installation:\n    needs:\n      - run-tests\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        install-method: [wheel, source]\n        python-version:\n          - 3.7\n          - 3.8\n          - 3.9\n          - \"3.10\"\n          - 3.11\n          - 3.12\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Download the distribution packages\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Update environment\n        run: |\n          python -m pip install -U setuptools pip\n      - name: Install from wheel\n        run: |\n          python -m pip install dist/*.whl\n        if: matrix.install-method == 'wheel'\n      - name: Install from source\n        run: |\n          python -m pip install dist/*.tar.gz\n        if: matrix.install-method == 'source'\n      - name: Check cclib install\n        run: |\n          cd ~\n          python -c 'import cclib; print(cclib.__version__)'\n          python -c 'from cclib.io import ccread; data = ccread(\"https://raw.githubusercontent.com/cclib/cclib-data/master/Gaussian/Gaussian16/water.log\"); print(data.zpve)'\n", "state": "active", "repository": "cclib/cclib"}
{"mined_at": "2024-07-15T14:41:57.884973", "created_at": "2023-06-26T17:47:44+02:00", "updated_at": "2023-06-26T17:47:44+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "cclib/cclib"}
{"mined_at": "2024-07-15T14:42:00.167141", "created_at": "2021-03-24T13:46:08+01:00", "updated_at": "2021-03-24T13:46:08+01:00", "name": "Continuous Integration", "path": ".github/workflows/continuous-integration.yml", "contents": "name: Continuous Integration\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n  pull_request:\n\nenv:\n  IS_TAG_BUILD: ${{ startsWith(github.event.ref, 'refs/tags') }}\n\n# SECRETS\n# - PYPI_TOKEN: publishing token for amn41 account, needs to be maintainer of\n#               RasaHQ/rasa-sdk on pypi (account credentials in 1password)\n\njobs:\n  quality:\n    name: Code Quality\n    runs-on: ubuntu-22.04\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3\n\n      - name: Set up Python 3.10 🐍\n        uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435\n        with:\n          python-version: '3.10'\n\n      - name: Read Poetry Version 🔢\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Load Poetry Cached Libraries ⬇\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: ~/.cache/pypoetry/virtualenvs\n          key: ${{ runner.os }}-poetry-3.10-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: ${{ runner.os }}-poetry-\n\n      - name: Checkout target branch to be able to diff\n        if: github.event_name == 'pull_request'\n        run: |\n          git fetch origin \"${{ github.base_ref }}\"\n          echo \"DOCSTRING_DIFF_BRANCH=origin/${{ github.base_ref }}\" >> $GITHUB_ENV\n\n          # Fetch entire history for current branch so that `make lint-docstrings`\n          # can calculate the proper diff between the branches\n          git fetch --unshallow origin \"${{ github.ref }}\"\n\n      - name: Install Dependencies 📦\n        run: make install\n\n      - name: Listing Dependencies 📦\n        run: poetry show\n\n      - name: Lint Code 🎎\n        run: |\n          # If it's not a pull request, $DOCSTRING_DIFF_BRANCH is unset.\n          # This will result in an empty diff, which effictively means that\n          # make lint-docstrings will be skipped for other events than `pull_request`\n          make lint BRANCH=$DOCSTRING_DIFF_BRANCH\n\n      - name: Check Types 📚\n        run: make types\n\n  test:\n    name: Run Tests\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10']\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3\n\n      - name: Set up Python ${{ matrix.python-version }} 🐍\n        uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Read Poetry Version 🔢\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Load Poetry Cached Libraries ⬇\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: ~/.cache/pypoetry/virtualenvs\n          key: ${{ runner.os }}-poetry-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: ${{ runner.os }}-poetry-\n\n      - name: Install Dependencies 📦\n        run: make install\n\n      - name: Test Code 🔍\n        run: make test\n\n      - name: Send Coverage Report 📊\n        if: matrix.python-version == '3.10'\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_SERVICE_NAME: github\n        run: poetry run coveralls\n\n  docker_linter:\n    name: Lint Dockerfile\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3\n      - name: Lint Dockerfile\n        uses: brpaz/hadolint-action@1623ba61710b974b55ba455930e6f2c8ef919778\n        with:\n          dockerfile: \"Dockerfile\"\n\n  build_docker_image_set_env:\n    name: Prepare environment for Docker build\n    runs-on: ubuntu-22.04\n    outputs:\n      # Tag name used for intermediate images created during Docker image builds, e.g. 3886 - a PR number\n      image_tag: ${{ steps.set_output.outputs.image_tag }}\n      # Return 'true' if tag version is equal or higher than the latest tagged rasa-sdk version\n      is_newest_version: ${{ steps.rasa_sdk_get_version.outputs.is_newest_version }}\n    steps:\n      # Due to an issue with checking out a wrong commit, we make sure\n      # to checkout HEAD commit for a pull request.\n      # More details: https://github.com/actions/checkout/issues/299\n      - name: Checkout pull request HEAD commit instead of merge commit 🕝\n        uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3\n        if: github.event_name == 'pull_request'\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3\n        if: github.event_name != 'pull_request'\n\n      # Set environment variables for a pull request\n      #\n      # In this scenario, we've created a PR #1234\n      #\n      # Example output:\n      # IMAGE_TAG=1234\n      - name: Set environment variables - pull_request\n        if: github.event_name == 'pull_request' && env.IS_TAG_BUILD == 'false'\n        run: |\n          echo \"IMAGE_TAG=${{ github.event.number }}\" >> $GITHUB_ENV\n\n      # Set environment variables for a tag\n      #\n      # In this scenario, we've pushed the '2.4.1' tag\n      #\n      # Example output:\n      # IMAGE_TAG=2.4.1\n      - name: Set environment variables - push - tag\n        if: github.event_name == 'push' && env.IS_TAG_BUILD == 'true'\n        run: |\n          TAG_NAME=${GITHUB_REF#refs/tags/}\n          echo \"IMAGE_TAG=${TAG_NAME}\" >> $GITHUB_ENV\n\n      # Set environment variables for a branch\n      #\n      # In this scenario, we've pushed changes into the main branch\n      #\n      # Example output:\n      # IMAGE_TAG=main\n      - name: Set environment variables - push - branch\n        if: github.event_name == 'push' && env.IS_TAG_BUILD == 'false'\n        run: |\n          BRANCH_NAME=${GITHUB_REF#refs/heads/}\n          echo \"IMAGE_TAG=${BRANCH_NAME}\" >> $GITHUB_ENV\n\n      - name: Set output\n        id: set_output\n        run: |\n          echo \"image_tag=${{ env.IMAGE_TAG }}\" >> $GITHUB_OUTPUT\n\n      - name: Check if tag version is equal or higher than the latest tagged rasa-sdk version\n        id: rasa_sdk_get_version\n        if: env.IS_TAG_BUILD == 'true'\n        run: |\n          # Get latest tagged rasa-sdk version\n          git fetch --depth=1 origin \"+refs/tags/*:refs/tags/*\"\n          # Fetch branch history\n          git fetch --prune --unshallow\n          LATEST_TAGGED_NON_ALPHA_RASA_SDK_VERSION=$(git tag | sort -r -V | grep -E \"^[0-9.]+$\" | head -n1)\n          CURRENT_TAG=${GITHUB_REF#refs/tags/}\n          # Return 'true' if tag version is equal or higher than the latest tagged rasa-sdk version\n          IS_NEWEST_VERSION=$((printf '%s\\n%s\\n' \"${LATEST_TAGGED_NON_ALPHA_RASA_SDK_VERSION}\" \"$CURRENT_TAG\" \\\n            | sort -V -C && echo true || echo false) || true)\n\n\n          if [[ \"${IS_NEWEST_VERSION}\" == \"true\" && \"$CURRENT_TAG\" =~ ^[0-9.]+$ ]]; then\n            echo \"is_newest_version=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"is_newest_version=false\" >> $GITHUB_OUTPUT\n          fi\n\n  build_docker_image:\n    name: Build Docker image\n    runs-on: ubuntu-22.04\n    needs: [quality, test, docker_linter, build_docker_image_set_env]\n\n    steps:\n      # Due to an issue with checking out a wrong commit, we make sure\n      # to checkout HEAD commit for a pull request.\n      # More details: https://github.com/actions/checkout/issues/299\n      - name: Checkout pull request HEAD commit instead of merge commit 🕝\n        uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3\n        if: github.event_name == 'pull_request'\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3\n        if: github.event_name != 'pull_request'\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@4b4e9c3e2d4531116a6f8ba8e71fc6e2cb6e6c8c\n        with:\n          version: v0.5.1\n          driver: docker\n\n      - name: Set environment variables\n        run: |\n          echo \"IMAGE_TAG=${{ needs.build_docker_image_set_env.outputs.image_tag }}\" >> $GITHUB_ENV\n\n      - name: Build Docker image\n        run: |\n          docker buildx bake --load\n\n      - name: Login to Docker Hub Registry 🔢\n        if: github.event_name == 'push' && env.IS_TAG_BUILD == 'true' && github.repository == 'RasaHQ/rasa-sdk'\n        run: echo ${{ secrets.DOCKER_HUB_PASSWORD }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin || true\n\n      - name: Push Docker image 📦\n        if: github.event_name == 'push' && env.IS_TAG_BUILD == 'true' && github.repository == 'RasaHQ/rasa-sdk'\n        run: |\n          IS_NEWEST_VERSION=${{ needs.build_docker_image_set_env.outputs.is_newest_version }}\n\n          # Push image\n          docker push rasa/rasa-sdk:${IMAGE_TAG}\n\n          # Tag the image as latest\n          if [[ \"${IS_NEWEST_VERSION}\" == \"true\" ]]; then\n            docker tag rasa/rasa-sdk:${IMAGE_TAG} rasa/rasa-sdk:latest\n            docker push rasa/rasa-sdk:latest\n          fi\n\n  deploy:\n    name: Deploy to PyPI\n    runs-on: ubuntu-22.04\n\n    # deploy will only be run when there is a tag available\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n    needs: [quality, test, build_docker_image] # only run after all other stages succeeded\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3\n\n      - name: Set up Python 3.10 🐍\n        uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435\n        with:\n          python-version: '3.10'\n\n      - name: Read Poetry Version 🔢\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Build ⚒️ Distributions\n        run: poetry build\n\n      - name: Publish to PyPI 📦\n        uses: pypa/gh-action-pypi-publish@bea5cda687c2b79989126d589ef4411bedce0195\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n          skip_existing: true\n\n      - name: Publish Release Notes 🗞\n        if: env.IS_TAG_BUILD\n        env:\n          GITHUB_TAG: ${{ github.ref }}\n          GITHUB_REPO_SLUG: ${{ github.repository }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          GITHUB_TAG=${GITHUB_TAG/refs\\/tags\\//}\n          sudo apt-get update\n          sudo apt-get -y install pandoc\n          pip install -U github3.py pep440_version_utils\n          python3 ${GITHUB_WORKSPACE}/scripts/publish_gh_release_notes.py\n\n      - name: Get RASA SDK Version\n        env:\n          RASA_SDK_VERSION: ${{ github.ref }}\n        run: |\n          echo \"RASA_SDK_VERSION=${RASA_SDK_VERSION/refs\\/tags\\//}\" >> $GITHUB_ENV\n\n      - name: Notify Slack 💬\n        if: env.IS_TAG_BUILD && success()\n        env:\n          SLACK_WEBHOOK: ${{ secrets.SLACK_RELEASE_ASSISTANT_RELEASE_WEBHOOK }}\n        uses: Ilshidur/action-slack@2.1.0\n        with:\n          args: \"⚡ New *Rasa SDK* version ${{ env.RASA_SDK_VERSION }} has been released! Changelog: https://github.com/RasaHQ/rasa-sdk/blob/${{ env.RASA_SDK_VERSION }}/CHANGELOG.mdx\"\n\n      - name: Notify Slack of Failure ⛔\n        if: env.IS_TAG_BUILD && failure()\n        env:\n          SLACK_WEBHOOK: ${{ secrets.SLACK_RELEASE_ASSISTANT_DEV_TRIBE_WEBHOOK }}\n        uses: Ilshidur/action-slack@2.1.0\n        with:\n          args: \"⛔️ *Rasa SDK* version ${{ env.RASA_SDK_VERSION }} could not be released 😱 GitHub Actions: https://github.com/RasaHQ/rasa-sdk/actions?query=branch%3A${{ env.RASA_SDK_VERSION }}\"", "state": "active", "repository": "rasahq/rasa-sdk"}
{"mined_at": "2024-07-15T14:42:01.297206", "created_at": "2024-03-21T16:16:00+01:00", "updated_at": "2024-03-21T16:16:00+01:00", "name": "Backup Rasa SDK repo to S3", "path": ".github/workflows/git-backup.yml", "contents": "name: Backup Rasa SDK repo to S3\non:\n  schedule:\n    # Run cron job at 7AM Monday to Sunday.\n    - cron: \"0 7 * * *\"\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  backup:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n        with:\n          fetch-depth: 0\n    \n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@8c3f20df09ac63af7b3ae3d7c91f105f857d8497 #v3.0.1\n        with:\n          role-to-assume: ${{ secrets.GIT_BACKUP_ROLE_ARN }}\n          aws-region: eu-central-1\n    \n      # Determine the date in the right format for us to tag the image.\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y%m%d')\" >> $GITHUB_OUTPUT\n  \n      - name: Create Git bundle\n        run: git bundle create --progress rasa-sdk-${{ steps.date.outputs.date }}.bundle --all\n\n      - name: Verify Git bundle\n        run: git bundle verify rasa-sdk-${{ steps.date.outputs.date }}.bundle\n\n      - name: Upload bundle to S3\n        run: aws s3 cp rasa-sdk-${{ steps.date.outputs.date }}.bundle s3://${{ secrets.GIT_BACKUP_BUCKET }}/rasa-sdk/", "state": "active", "repository": "rasahq/rasa-sdk"}
{"mined_at": "2024-07-15T14:42:02.408104", "created_at": "2024-07-10T17:26:54+02:00", "updated_at": "2024-07-11T13:55:57+02:00", "name": "CI On Pull Request Closure", "path": ".github/workflows/pr-cleanup.yml", "contents": null, "state": "active", "repository": "rasahq/rasa-sdk"}
{"mined_at": "2024-07-15T14:42:03.470704", "created_at": "2024-07-11T13:55:57+02:00", "updated_at": "2024-07-11T13:55:57+02:00", "name": "Pull Request Merged to Main", "path": ".github/workflows/pr-merged.yml", "contents": null, "state": "active", "repository": "rasahq/rasa-sdk"}
{"mined_at": "2024-07-15T14:42:04.670689", "created_at": "2024-07-11T13:55:57+02:00", "updated_at": "2024-07-11T13:55:57+02:00", "name": "Release artifacts", "path": ".github/workflows/release-artifacts.yml", "contents": null, "state": "active", "repository": "rasahq/rasa-sdk"}
{"mined_at": "2024-07-15T14:42:05.899676", "created_at": "2023-07-12T15:37:17+02:00", "updated_at": "2023-07-18T14:48:12+02:00", "name": "Scan Rasa SDK App Dependencies", "path": ".github/workflows/scan_docker_image_dependencies.yml", "contents": "name: Scan Rasa SDK App Dependencies\n\non:\n  workflow_dispatch:\n\njobs:\n  scan_and_alert:\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Checkout repository to check tags\n      uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9\n\n    - name: Get latest tagged release\n      id: find-tag\n      run: |\n        git fetch --depth=1 origin \"+refs/tags/*:refs/tags/*\"\n        echo \"tag=$(git tag | sort -r -V | grep -E \"^[0-9]+.[0-9]+.[0-9]+$\" | head -n1)\" >> $GITHUB_OUTPUT\n\n    - name: Scan image for language dependency vulnerabilities\n      id: trivy\n      uses: aquasecurity/trivy-action@d63413b0a4a4482237085319f7f4a1ce99a8f2ac\n      continue-on-error: true\n      with:\n        exit-code: '1'\n        format: 'table'\n        severity: 'MEDIUM,HIGH,CRITICAL'\n        ignore-unfixed: true\n        security-checks: 'vuln'\n        image-ref: 'rasa/rasa-sdk:${{ steps.find-tag.outputs.tag }}'  \n        vuln-type: 'library'\n        scan-type: 'image'\n        output: scan-result.txt  \n    \n    - id: auth-security-reports\n      name: Authenticate with gcloud for saving report 🎫\n      uses: 'google-github-actions/auth@ceee102ec2387dd9e844e01b530ccd4ec87ce955'\n      with:\n        credentials_json: '${{ secrets.GCP_WRITE_PUBLIC_SECURITY_REPORTS_KEY }}'\n    \n    - name: Set up Cloud SDK\n      uses: google-github-actions/setup-gcloud@d51b5346f85640ec2aa2fa057354d2b82c2fcbce\n\n    - name: Get current date\n      id: date\n      run: echo \"date=$(date +'%Y%m%d')\" >> $GITHUB_OUTPUT\n\n    - name: Upload scan report to GCS\n      run: |\n        gsutil -h \"Content-Type:text/plain; charset=utf-8\" -h \"Cache-Control:public, max-age=0, no-transform\" cp scan-result.txt gs://${{ secrets.GCP_SECURITY_REPORTS_BUCKET }}/rasa-sdk-dependency-report-${{ steps.find-tag.outputs.tag }}-${{ steps.date.outputs.date }}.txt\n\n    - name: Alert Slack on findings\n      if: steps.trivy.outcome == 'failure'\n      uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844\n      with:\n        channel-id: 'C01M5TAHDHA,C04Q26JSD6U'\n        payload: |\n          {\n            \"text\": \"Dependency vulnerabilities have been found in the Docker image for Rasa SDK ${{ steps.find-tag.outputs.tag }} that could impact customer deployments. Please schedule these for resolution.\",\n            \"blocks\": [\n              {\n                \"type\": \"section\",\n                \"text\": {\n                  \"type\": \"mrkdwn\",\n                  \"text\": \"Dependency vulnerabilities have been found in the Docker image for Rasa SDK ${{ steps.find-tag.outputs.tag }} that could impact customer deployments. Please schedule these for resolution depending on their severity:\\n - Critical: This sprint. \\n - High: Next sprint. \\n - Medium or Low: Add to backlog.\"\n                }\n              },\n              {\n                \"type\": \"section\",\n                \"text\": {\n                  \"type\": \"mrkdwn\",\n                  \"text\": \"<https://storage.googleapis.com/${{ secrets.GCP_SECURITY_REPORTS_BUCKET }}/rasa-sdk-dependency-report-${{ steps.find-tag.outputs.tag }}-${{ steps.date.outputs.date }}.txt|View Scan Report>\"\n                }\n              }\n            ]\n          }\n      env:\n        SLACK_BOT_TOKEN: ${{ secrets.SLACK_CODESECURITY_BOT_TOKEN }}", "state": "active", "repository": "rasahq/rasa-sdk"}
{"mined_at": "2024-07-15T14:42:07.230957", "created_at": "2023-12-20T12:45:22+01:00", "updated_at": "2023-12-20T15:59:48+01:00", "name": "Security Patching - SDK", "path": ".github/workflows/security-patching.yml", "contents": "name: Security Patching - SDK\n\non:\n  schedule:\n    # Run cron job at 8AM Monday to Sunday.\n    - cron: '0 8 * * *'\n  workflow_dispatch:\n\nenv:\n  # Registry used to store Docker images used for release purposes.\n  RELEASE_REGISTRY_SDK: \"europe-west3-docker.pkg.dev/rasa-releases/rasa-sdk\"\n  GITHUB_WORKFLOW_URL: \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n\npermissions:\n    id-token: write # This is required for requesting the JWT\n    contents: read # This is required for actions/checkout\n\njobs:\n  get_tags:\n    runs-on: ubuntu-22.04\n    continue-on-error: true\n    outputs:\n      tags: ${{ steps.tags.outputs.tags }}\n    steps:\n      # We have to check out the repo to be able to list the tags.\n      - name: Checkout repository to check tags\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n      \n      - name: Set up Python \n        uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0\n        with:\n          python-version: '3.9'\n\n      - name: Fetch all tags\n        run: git fetch --tags\n\n      - name: Run Python script\n        id: tags\n        run: |\n          python scripts/get_tags_from_branch.py '[\"3.3.x\",\"3.4.x\",\"3.5.x\",\"3.6.x\",\"3.7.x\",\"3.8.x\"]' '3.3.x'\n\n      - name: Show tags\n        run: |\n          echo \"Tags: ${{ steps.tags.outputs.tags }}\"\n      \n\n  build:\n    runs-on: ubuntu-22.04\n    needs: get_tags\n    # Don't allow a single image failure to block all the image builds.\n    continue-on-error: true\n\n    strategy:\n      matrix:\n        supported_versions: ${{ fromJson(needs.get_tags.outputs.tags) }}\n\n    steps:\n      # We have to check out the repo to be able to list the tags.\n      - name: Checkout repository to check tags\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      # Determine the date in the right format for us to tag the image.\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y%m%d')\" >> $GITHUB_OUTPUT\n\n      # Authenticate with Gcloud.\n      - name: Authenticate with gcloud for release registry 🎫\n        id: 'auth-release'\n        uses: 'google-github-actions/auth@ef5d53e30bbcd8d0836f4288f5e50ff3e086997d'\n        with:\n            workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}\n            service_account: '${{ secrets.RASA_SDK_RELEASE_ACCOUNT_NAME }}'\n\n      # Authenticate with artifact registry where the images are stored.\n      - name: Authenticate docker for release registry 🎫\n        run: gcloud auth configure-docker europe-west3-docker.pkg.dev\n\n      # Rebuild the Docker image for this micro. A line contained in the Dockerfile ensures that the latest OS patches are applied.\n      # VERSION_NUMBER is passed into the build command to determine which Rasa OSS container image is used as the base for the Rasa Pro container.\n      - name: Build and tag security patched image\n        id: build\n        continue-on-error: true\n        run: |\n          docker build . -t ${{env.RELEASE_REGISTRY_SDK}}/rasa-sdk:${{ matrix.supported_versions }}-latest --build-arg VERSION_NUMBER=${{ matrix.supported_versions }} -f Dockerfile.patch\n\n      - name: Fail pushing the patch if the build is not a success\n        if: steps.build.outcome == 'failure'\n        run: exit 1\n\n      # Push patched images to the release registry with patched tag.\n      - name: Push image to release registry\n        id: push\n        run: |\n          docker push ${{env.RELEASE_REGISTRY_SDK}}/rasa-sdk:${{ matrix.supported_versions }}-latest\n \n      - name: Alert Slack if build fails\n        if: steps.build.outcome == 'failure' || steps.push.outcome == 'failure'\n        uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844\n        with:\n          payload: |\n            {\n              \"blocks\": [\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"Docker image security patch for Rasa SDK version `${{ matrix.supported_versions }}` failed. Please check the <${{ env.GITHUB_WORKFLOW_URL }}|workflow log> for more information.\"\n                  }\n                }\n              ]\n            }\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CODESECURITY_WEBHOOK_URL }}\n          SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n  ", "state": "active", "repository": "rasahq/rasa-sdk"}
{"mined_at": "2024-07-15T14:42:08.460900", "created_at": "2020-10-14T09:31:30+02:00", "updated_at": "2022-10-14T15:50:41+02:00", "name": "Security Scans", "path": ".github/workflows/security-scans.yml", "contents": "name: Security Scans\n\non:\n  pull_request:\n    types: [opened, synchronize, labeled]\n\njobs:\n\n  trivy:\n    name: Detecting hardcoded secrets\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3\n      with:\n        # Fetch all history for all tags and branches\n        fetch-depth: '0'\n    - name: Run Trivy vulnerability scanner\n      id: trivy\n      uses: aquasecurity/trivy-action@d63413b0a4a4482237085319f7f4a1ce99a8f2ac\n      continue-on-error: true\n      with:\n        format: 'table'\n        scan-type: 'fs'\n        exit-code: '1'\n        security-checks: 'secret'\n    - name: Alert on secret finding\n      if: steps.trivy.outcome == 'failure'\n      uses: slackapi/slack-github-action@936158bbe252e9a6062e793ea4609642c966e302\n      with:\n        payload: |\n          {\n            \"text\": \"*A secret was detected in a GitHub commit in the repo ${{ github.repository }}.*\\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}\",\n            \"blocks\": [\n              {\n                \"type\": \"section\",\n                \"text\": {\n                  \"type\": \"mrkdwn\",\n                  \"text\": \"*A secret was detected in a GitHub commit in the repo ${{ github.repository }}.*\\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}\"\n                }\n              }\n            ]\n          }\n      env:\n        SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CODESECURITY_WEBHOOK_URL }}\n        SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n    - name: Fail build if a secret is found\n      if: steps.trivy.outcome == 'failure'\n      run: |\n        echo \"==========================================================\"\n        echo \"| This build has failed because Trivy detected a secret. |\"\n        echo \"==========================================================\"\n        echo \"1. Check the step 'Run Trivy vulnerability scanner' for output to help you find the secret.\"\n        echo \"2. If the finding is a false positive, add it as an entry to trivy-secret.yaml in the root of the repo to suppress the finding.\"\n        echo \"3. If the finding is valid, the security team can help advise your next steps.\"\n        exit 1", "state": "active", "repository": "rasahq/rasa-sdk"}
{"mined_at": "2024-07-15T14:42:09.551238", "created_at": "2022-12-16T12:39:17+01:00", "updated_at": "2022-12-16T13:29:59+01:00", "name": "Semgrep", "path": ".github/workflows/semgrep-check.yml", "contents": "# Name of this GitHub Actions workflow.\nname: Semgrep\n\non:\n  # Scan mainline branches and report all findings: \n  push:\n    branches:\n        - main\n  # Scan changed files in PRs (diff-aware scanning):\n  pull_request:\n\njobs:\n  semgrep:\n    # User-definable name of this GitHub Actions job:\n    name: Semgrep Workflow Security Scan\n    # If you are self-hosting, change the following `runs-on` value: \n    runs-on: ubuntu-22.04\n\n    container:\n      # A Docker image with Semgrep installed. Do not change this.\n      image: returntocorp/semgrep@sha256:37736e4992c539f760e36e14d48924bd9fa70d0abbde39a6d86d93f66a1affd4\n\n    # To skip any PR created by dependabot to avoid permission issues:\n    if: (github.actor != 'dependabot[bot]')\n\n    steps:\n      # Fetch project source with GitHub Actions Checkout.\n      - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3\n      # Run the \"semgrep ci\" command on the command line of the docker image.\n      - run: semgrep ci\n        env:\n           # Add the rules that Semgrep uses by setting the SEMGREP_RULES environment variable. \n           SEMGREP_RULES: p/github-actions", "state": "active", "repository": "rasahq/rasa-sdk"}
{"mined_at": "2024-07-15T14:42:10.643658", "created_at": "2020-12-07T16:22:55+01:00", "updated_at": "2020-12-07T16:22:55+01:00", "name": "Typo CI", "path": ".github/workflows/spellcheck.yml", "contents": "name: Typo CI\n\non:\n  push:\n    branches-ignore:\n      - main\njobs:\n  spellcheck:\n    name: Typo CI (GitHub Action)\n    runs-on: ubuntu-22.04\n    timeout-minutes: 4\n    if: \"!contains(github.event.head_commit.message, '[ci skip]')\"\n    steps:\n    - name: TypoCheck\n      uses: typoci/spellcheck-action@master\n      # with:\n        # A license can be purchased via:\n        # https://gumroad.com/l/MvvBE\n        # typo_ci_license_key: ${{ secrets.TYPO_CI_LICENSE_KEY }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "rasahq/rasa-sdk"}
{"mined_at": "2024-07-15T14:42:12.585776", "created_at": "2020-12-18T21:38:41+01:00", "updated_at": "2021-02-27T23:58:23+01:00", "name": "tests", "path": ".github/workflows/main.yml", "contents": "name: tests\n\non:\n  push:\n    branches:\n      - '*'\n  pull_request:\n    branches:\n      - master\n\njobs:\n  test-code-style:\n    name: Code style tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install .\n          pip install -r requirements-dev.txt\n      - name: Run ruff\n        run: ruff check mashumaro\n      - name: Run mypy\n        run: mypy mashumaro\n      - name: Run black\n        run: black --check .\n      - name: Run codespell\n        run: codespell mashumaro tests README.md .github/*.md\n  test-posix:\n    name: Tests on Posix\n    needs:\n      - test-code-style\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install .\n        pip install -r requirements-dev.txt\n    - name: Run tests with coverage\n      run: pytest --cov=mashumaro --cov=tests\n    - name: Upload Coverage\n      run: coveralls --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_FLAG_NAME: posix-${{ matrix.python-version }}\n        COVERALLS_PARALLEL: true\n  test-windows:\n    name: Tests on Windows\n    needs:\n      - test-code-style\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install .\n        pip install -r requirements-dev.txt\n        pip install tzdata\n    - name: Run tests with coverage\n      run: pytest --cov=mashumaro --cov=tests\n    - name: Upload Coverage\n      run: coveralls --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_FLAG_NAME: windows-${{ matrix.python-version }}\n        COVERALLS_PARALLEL: true\n  coveralls:\n    name: Finish Coveralls\n    needs:\n    - test-posix\n    - test-windows\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n    - name: Install dependencies\n      run: pip install coveralls\n    - name: Finish coveralls\n      run: coveralls --service=github --finish\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "fatal1ty/mashumaro"}
{"mined_at": "2024-07-15T14:42:14.716486", "created_at": "2023-02-17T15:20:15+01:00", "updated_at": "2023-02-21T09:21:12+01:00", "name": "rpaframework-assistant", "path": ".github/workflows/assistant.yaml", "contents": "name: rpaframework-assistant\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'packages/assistant/**'\n      - '.github/workflows/assistant.yaml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'packages/assistant/**'\n      - '.github/workflows/assistant.yaml'\n\ndefaults:\n  run:\n    working-directory: './packages/assistant'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py38\",\n          \"windows-py39\",\n          \"windows-py310\",\n\n          \"ubuntu-py38\",\n          \"ubuntu-py39\",\n          \"ubuntu-py310\",\n\n          \"macos-py38\",\n          \"macos-py39\",\n          \"macos-py310\",\n        ]\n\n        include:\n          - name: \"windows-py38\"\n            python: \"3.8\"\n            os: windows-latest\n          - name: \"windows-py39\"\n            python: \"3.9\"\n            os: windows-latest\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-latest\n          - name: \"macos-py39\"\n            python: \"3.9\"\n            os: macos-latest\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-latest\n\n    env:\n      INVOKE_IS_CI_CD: 1\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-node@v2\n      with:\n        node-version: '14'\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Lint\n      run: invoke code.lint -e\n    - name: Test\n      run: invoke code.test -a\n    # TODO: add graphical tests like we hhave on main\n\n  publish:\n    # Only publish on master workflow runs\n    if: github.ref == 'refs/heads/master'\n    needs: test\n    runs-on: ubuntu-latest\n    env:\n      INVOKE_IS_CI_CD: 1\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-node@v1\n      with:\n        node-version: 14.x\n        registry-url: https://npm.pkg.github.com/\n        scope: '@robocorp'\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.9'\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Build and publish package\n      if: success()\n      run: |\n        invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}\n        invoke build.publish --ci --version=prerelease --yes-to-all\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:15.731366", "created_at": "2022-09-20T12:09:24+02:00", "updated_at": "2022-09-20T12:51:38+02:00", "name": "rpaframework-aws", "path": ".github/workflows/aws.yaml", "contents": "name: rpaframework-aws\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'packages/aws/**'\n      - '.github/workflows/aws.yaml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'packages/aws/**'\n      - '.github/workflows/aws.yaml'\n\ndefaults:\n  run:\n    working-directory: './packages/aws'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py38\",\n          \"windows-py39\",\n          \"windows-py310\",\n\n          \"ubuntu-py38\",\n          \"ubuntu-py39\",\n          \"ubuntu-py310\",\n\n          \"macos-py38\",\n          \"macos-py39\",\n          \"macos-py310\",\n        ]\n\n        include:\n          - name: \"windows-py38\"\n            python: \"3.8\"\n            os: windows-latest\n          - name: \"windows-py39\"\n            python: \"3.9\"\n            os: windows-latest\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-latest\n          - name: \"macos-py39\"\n            python: \"3.9\"\n            os: macos-latest\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-latest\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Get python version\n      id: full-python-version\n      shell: bash\n      run: |\n        echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info[:3]))\")\n    - name: Set up cache\n      uses: actions/cache@v1\n      with:\n        path: .venv\n        key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Lint\n      run: invoke code.lint -e\n    - name: Test\n      run: invoke code.test -a\n\n  publish:\n    # Only publish on master workflow runs\n    if: github.ref == 'refs/heads/master'\n    needs: test\n    runs-on: ubuntu-latest\n    env:\n      INVOKE_IS_CI_CD: 1\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.9'\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Build and publish package\n      if: success()\n      run: |\n        invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}\n        invoke build.publish --ci --version=prerelease --yes-to-all\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:16.858310", "created_at": "2022-06-08T12:52:56+02:00", "updated_at": "2022-06-08T13:20:38+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  push:\n    branches: [ \"master\" ]\n  schedule:\n    # https://crontab.guru/#23_21_*_*_0\n    # \"At 21:23 on Sunday.\"\n    - cron: '23 21 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9.13\n        cache: 'pip'\n    - name: Upgrade pip, install poetry\n      run: |\n        python -m pip install --upgrade pip\n        pip install poetry\n\n    - name: Install dependencies\n      run: |\n        poetry install\n        # Set the `CODEQL-PYTHON` environment variable to the Python executable\n        # that includes the dependencies\n        echo \"CODEQL_PYTHON=$(poetry run which python)\" >> $GITHUB_ENV\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:17.989230", "created_at": "2020-06-26T08:50:34+02:00", "updated_at": "2020-06-26T08:50:34+02:00", "name": "rpaframework-core", "path": ".github/workflows/core.yaml", "contents": "name: rpaframework-core\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'packages/core/**'\n      - '.github/workflows/core.yaml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'packages/core/**'\n      - '.github/workflows/core.yaml'\n\ndefaults:\n  run:\n    working-directory: './packages/core'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py38\",\n          \"windows-py39\",\n          \"windows-py310\",\n\n          \"ubuntu-py38\",\n          \"ubuntu-py39\",\n          \"ubuntu-py310\",\n\n          \"macos-py38\",\n          \"macos-py39\",\n          \"macos-py310\",\n        ]\n\n        include:\n          - name: \"windows-py38\"\n            python: \"3.8\"\n            os: windows-latest\n          - name: \"windows-py39\"\n            python: \"3.9\"\n            os: windows-latest\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-latest\n          - name: \"macos-py39\"\n            python: \"3.9\"\n            os: macos-latest\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-latest\n    env:\n      INVOKE_IS_CI_CD: 1\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Get python version\n      id: full-python-version\n      shell: bash\n      run: |\n        echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info[:3]))\")\n    - name: Set up cache\n      uses: actions/cache@v1\n      with:\n        path: .venv\n        key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Lint\n      run: invoke code.lint -e\n    - name: Test\n      run: invoke code.test -a\n\n  publish:\n    # Only publish on master workflow runs\n    if: github.ref == 'refs/heads/master'\n    needs: test\n    runs-on: ubuntu-latest\n    env:\n      INVOKE_IS_CI_CD: 1\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.9'\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Build and publish package\n      if: success()\n      run: |\n        invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}\n        invoke build.publish --ci --version=prerelease --yes-to-all\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:19.048607", "created_at": "2021-05-10T12:45:52+02:00", "updated_at": "2021-05-12T12:29:33+02:00", "name": "rpaframework-dialogs", "path": ".github/workflows/dialogs.yaml", "contents": "name: rpaframework-dialogs\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'packages/dialogs/**'\n      - '.github/workflows/dialogs.yaml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'packages/dialogs/**'\n      - '.github/workflows/dialogs.yaml'\n\ndefaults:\n  run:\n    working-directory: './packages/dialogs'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py38\",\n          \"windows-py39\",\n          \"windows-py310\",\n\n          \"ubuntu-py38\",\n          \"ubuntu-py39\",\n          \"ubuntu-py310\",\n\n          \"macos-py38\",\n          \"macos-py39\",\n          \"macos-py310\",\n        ]\n\n        include:\n          - name: \"windows-py38\"\n            python: \"3.8\"\n            os: windows-latest\n          - name: \"windows-py39\"\n            python: \"3.9\"\n            os: windows-latest\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-latest\n          - name: \"macos-py39\"\n            python: \"3.9\"\n            os: macos-latest\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-latest\n\n    env:\n      INVOKE_IS_CI_CD: 1\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-node@v2\n      with:\n        node-version: '14'\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Lint\n      run: invoke code.lint -e\n    - name: Test\n      run: invoke code.test -a\n\n  publish:\n    # Only publish on master workflow runs\n    if: github.ref == 'refs/heads/master'\n    needs: test\n    runs-on: ubuntu-latest\n    env:\n      INVOKE_IS_CI_CD: 1\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-node@v1\n      with:\n        node-version: 14.x\n        registry-url: https://npm.pkg.github.com/\n        scope: '@robocorp'\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.9'\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Build and publish package\n      if: success()\n      run: |\n        invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}\n        invoke build.publish --ci --version=prerelease --yes-to-all\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:20.133893", "created_at": "2020-06-28T14:55:31+02:00", "updated_at": "2020-06-28T14:55:31+02:00", "name": "docs", "path": ".github/workflows/docs.yaml", "contents": "name: docs\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n    paths:\n      - \"pyproject.toml\"\n      - \"poetry.lock\"\n      - \"docs/source/**\"\n      - \".github/workflows/docs.yaml\"\n      - \"packages/main/README.rst\"\n\njobs:\n  publish:\n    runs-on: windows-latest\n    env:\n      SETUPTOOLS_USE_DISTUTILS: stdlib\n      INVOKE_IS_CI_CD: 1\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: \"3.9\"\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - name: Install invocation prerequisites\n        run: pip install -Ur invocations/requirements.txt\n      - name: Get python version\n        id: full-python-version\n        shell: bash\n        run: |\n          echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info[:3]))\")\n      - name: Set up cache\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}\n      - name: Install invocation package\n        run: invoke install-invocations || invoke self.install-invocations\n      - name: Install dependencies\n        run: invoke install\n      - name: Build HTML documentation\n        run: invoke docs\n      - name: Build markdown documentation\n        run: invoke docs.python-markdown\n      - name: Publish HTML documentation\n        if: success()\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          publish_branch: gh-pages\n          publish_dir: docs/build/html/\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          cname: rpaframework.org\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:21.362278", "created_at": "2021-07-26T16:16:07+02:00", "updated_at": "2021-07-26T16:16:07+02:00", "name": "rpaframework-google", "path": ".github/workflows/google.yaml", "contents": "name: rpaframework-google\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'packages/google/**'\n      - '.github/workflows/google.yaml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'packages/google/**'\n      - '.github/workflows/google.yaml'\n\ndefaults:\n  run:\n    working-directory: './packages/google'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py38\",\n          \"windows-py39\",\n          \"windows-py310\",\n\n          \"ubuntu-py38\",\n          \"ubuntu-py39\",\n          \"ubuntu-py310\",\n\n          \"macos-py38\",\n          \"macos-py39\",\n          \"macos-py310\",\n        ]\n\n        include:\n          - name: \"windows-py38\"\n            python: \"3.8\"\n            os: windows-latest\n          - name: \"windows-py39\"\n            python: \"3.9\"\n            os: windows-latest\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-latest\n          - name: \"macos-py39\"\n            python: \"3.9\"\n            os: macos-latest\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-latest\n\n    env:\n      INVOKE_IS_CI_CD: 1\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Get python version\n      id: full-python-version\n      shell: bash\n      run: |\n        echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info[:3]))\")\n    - name: Set up cache\n      uses: actions/cache@v1\n      with:\n        path: .venv\n        key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Lint\n      run: invoke code.lint -e\n    - name: Test\n      run: invoke code.test -a\n\n  publish:\n    # Only publish on master workflow runs\n    if: github.ref == 'refs/heads/master'\n    needs: test\n    runs-on: ubuntu-latest\n    env:\n      INVOKE_IS_CI_CD: 1\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.9'\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Build and publish package\n      if: success()\n      run: |\n        invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}\n        invoke build.publish --ci --version=prerelease --yes-to-all\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:22.384717", "created_at": "2023-12-18T21:06:53+01:00", "updated_at": "2023-12-18T21:06:53+01:00", "name": "rpaframework-hubspot", "path": ".github/workflows/hubspot.yaml", "contents": "name: rpaframework-hubspot\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'packages/hubspot/**'\n      - '.github/workflows/hubspot.yaml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'packages/hubspot/**'\n      - '.github/workflows/hubspot.yaml'\n\ndefaults:\n  run:\n    working-directory: './packages/hubspot'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py38\",\n          \"windows-py39\",\n          \"windows-py310\",\n\n          \"ubuntu-py38\",\n          \"ubuntu-py39\",\n          \"ubuntu-py310\",\n\n          \"macos-py38\",\n          \"macos-py39\",\n          \"macos-py310\",\n        ]\n\n        include:\n          - name: \"windows-py38\"\n            python: \"3.8\"\n            os: windows-latest\n          - name: \"windows-py39\"\n            python: \"3.9\"\n            os: windows-latest\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-latest\n          - name: \"macos-py39\"\n            python: \"3.9\"\n            os: macos-latest\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-latest\n\n    env:\n      INVOKE_IS_CI_CD: 1\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Get python version\n      id: full-python-version\n      shell: bash\n      run: |\n        echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info[:3]))\")\n    - name: Set up cache\n      uses: actions/cache@v1\n      with:\n        path: .venv\n        key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Lint\n      run: invoke code.lint -e\n    - name: Test\n      run: invoke code.test -a\n\n  publish:\n    # Only publish on master workflow runs\n    if: github.ref == 'refs/heads/master'\n    needs: test\n    runs-on: ubuntu-latest\n    env:\n      INVOKE_IS_CI_CD: 1\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.9'\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Build and publish package\n      if: success()\n      run: |\n        invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}\n        invoke build.publish --ci --version=prerelease --yes-to-all\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:23.514726", "created_at": "2021-05-10T12:45:52+02:00", "updated_at": "2021-05-12T12:29:33+02:00", "name": "rpaframework", "path": ".github/workflows/main.yaml", "contents": "name: rpaframework\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'packages/main/**'\n      - '.github/workflows/main.yaml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'packages/main/**'\n      - '.github/workflows/main.yaml'\n\ndefaults:\n  run:\n    working-directory: './packages/main'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py38\",\n          \"windows-py39\",\n          \"windows-py310\",\n\n          \"ubuntu-py38\",\n          \"ubuntu-py39\",\n          \"ubuntu-py310\",\n\n          \"macos-py38\",\n          \"macos-py39\",\n          \"macos-py310\",\n        ]\n\n        include:\n          - name: \"windows-py38\"\n            python: \"3.8\"\n            os: windows-latest\n          - name: \"windows-py39\"\n            python: \"3.9\"\n            os: windows-latest\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-13\n          - name: \"macos-py39\"\n            python: \"3.9\"\n            os: macos-13\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-13\n    env:\n      SETUPTOOLS_USE_DISTUTILS: stdlib\n      INVOKE_IS_CI_CD: 1\n      HUBSPOT_TOKEN: ${{ secrets.HUBSPOT_TOKEN }}\n      SYSTEM_VERSION_COMPAT: \"0\"\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install xclip on linux\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        DEBIAN_FRONTEND=noninteractive sudo apt-get update -y\n        DEBIAN_FRONTEND=noninteractive sudo apt-get install xclip -y\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Get python version\n      id: full-python-version\n      shell: bash\n      run: |\n        echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info[:3]))\")\n    - name: Set up cache\n      uses: actions/cache@v1\n      with:\n        path: .venv\n        key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Lint\n      run: invoke code.lint -e\n    - name: Test (non-linux)\n      if: matrix.os != 'ubuntu-latest'\n      run: invoke code.test -a\n    - name: Test (linux)\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        export XDG_SESSION_TYPE=x11\n        xvfb-run --server-args=\"-screen 0 1280x720x24\" invoke code.test\n    - uses: actions/upload-artifact@v1\n      if: success() || failure()\n      with:\n          name: ${{ matrix.os }}-py${{ matrix.python }}-test-reports\n          path: packages/main/tests/results\n\n  # publish:\n  #   # Only publish on master workflow runs\n  #   if: github.ref == 'refs/heads/master'\n  #   needs: test\n  #   runs-on: ubuntu-latest\n  #   env:\n  #     INVOKE_IS_CI_CD: 1\n  #   steps:\n  #   - uses: actions/checkout@v2\n  #   - name: Set up Python\n  #     uses: actions/setup-python@v1\n  #     with:\n  #       python-version: '3.9'\n  #   - name: Upgrade pip\n  #     run: python -m pip install --upgrade pip\n  #   - name: Install invocation prerequisites\n  #     run: pip install -Ur ../../invocations/requirements.txt\n  #   - name: Install invocation package\n  #     run: invoke install-invocations || invoke self.install-invocations\n  #   - name: Install dependencies\n  #     run: invoke install\n  #   - name: Build and publish package\n  #     if: success()\n  #     run: |\n  #       invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}\n  #       invoke build.publish --ci --version=prerelease --yes-to-all\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:24.529983", "created_at": "2023-02-03T13:37:48+01:00", "updated_at": "2023-02-06T09:58:31+01:00", "name": "rpaframework-openai", "path": ".github/workflows/openai.yaml", "contents": "name: rpaframework-openai\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'packages/openai/**'\n      - '.github/workflows/openai.yaml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'packages/openai/**'\n      - '.github/workflows/openai.yaml'\n\ndefaults:\n  run:\n    working-directory: './packages/openai'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py38\",\n          \"windows-py39\",\n          \"windows-py310\",\n\n          \"ubuntu-py38\",\n          \"ubuntu-py39\",\n          \"ubuntu-py310\",\n\n          \"macos-py38\",\n          \"macos-py39\",\n          \"macos-py310\",\n        ]\n\n        include:\n          - name: \"windows-py38\"\n            python: \"3.8\"\n            os: windows-latest\n          - name: \"windows-py39\"\n            python: \"3.9\"\n            os: windows-latest\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-latest\n          - name: \"macos-py39\"\n            python: \"3.9\"\n            os: macos-latest\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-latest\n\n    env:\n      INVOKE_IS_CI_CD: 1\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Get python version\n      id: full-python-version\n      shell: bash\n      run: |\n        echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info[:3]))\")\n    - name: Set up cache\n      uses: actions/cache@v1\n      with:\n        path: .venv\n        key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Lint\n      run: invoke code.lint -e\n    - name: Test\n      run: invoke code.test -a\n\n  publish:\n    # Only publish on master workflow runs\n    if: github.ref == 'refs/heads/master'\n    needs: test\n    runs-on: ubuntu-latest\n    env:\n      INVOKE_IS_CI_CD: 1\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.9'\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Build and publish package\n      if: success()\n      run: |\n        invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}\n        invoke build.publish --ci --version=prerelease --yes-to-all\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:25.570598", "created_at": "2021-02-15T10:15:17+01:00", "updated_at": "2021-02-15T10:15:17+01:00", "name": "rpaframework-pdf", "path": ".github/workflows/pdf.yaml", "contents": "name: rpaframework-pdf\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'packages/pdf/**'\n      - '.github/workflows/pdf.yaml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'packages/pdf/**'\n      - '.github/workflows/pdf.yaml'\n\ndefaults:\n  run:\n    working-directory: './packages/pdf'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py38\",\n          \"windows-py39\",\n          \"windows-py310\",\n\n          \"ubuntu-py38\",\n          \"ubuntu-py39\",\n          \"ubuntu-py310\",\n\n          \"macos-py38\",\n          \"macos-py39\",\n          \"macos-py310\",\n        ]\n\n        include:\n          - name: \"windows-py38\"\n            python: \"3.8\"\n            os: windows-latest\n          - name: \"windows-py39\"\n            python: \"3.9\"\n            os: windows-latest\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-latest\n          - name: \"macos-py39\"\n            python: \"3.9\"\n            os: macos-latest\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-latest\n\n    env:\n      INVOKE_IS_CI_CD: 1\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Get python version\n      id: full-python-version\n      shell: bash\n      run: |\n        echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info[:3]))\")\n    - name: Set up cache\n      uses: actions/cache@v1\n      with:\n        path: .venv\n        key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Lint\n      run: invoke code.lint -e\n    - name: Test\n      run: invoke code.test -a\n\n  publish:\n    # Only publish on master workflow runs\n    if: github.ref == 'refs/heads/master'\n    needs: test\n    runs-on: ubuntu-latest\n    env:\n      INVOKE_IS_CI_CD: 1\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.9'\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Build and publish package\n      if: success()\n      run: |\n        invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}\n        invoke build.publish --ci --version=prerelease --yes-to-all\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:26.879699", "created_at": "2020-12-16T08:40:28+01:00", "updated_at": "2023-03-14T12:19:03+01:00", "name": "daily installation tests", "path": ".github/workflows/pip.yaml", "contents": "name: daily installation tests\n\non:\n  schedule:\n    - cron: '0 6 * * *'\n  push:\n    branches:\n      - master\n    paths:\n      - '.github/workflows/pip.yaml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - '.github/workflows/pip.yaml'\n\njobs:\n  install_and_check:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [3.7, 3.9.13, 3.10.6] #dropped: 3.8\n        pip-version: [21.3.1, 22.1.2, 23.0.1] #dropped: 20.3.4\n        # test the latest template on macos and windows, and other pip versions and pythons on ubuntu for speed\n        # adding macos and windows to the matrix adds a bunch of running and delay because of mac and windows\n        # runners being slower to allocate\n        include:\n          - os: macos-latest\n            python-version: \"3.9.13\"\n            pip-version: \"22.1.2\"\n          - os: windows-latest\n            python-version: \"3.9.13\"\n            pip-version: \"22.1.2\"\n    steps:\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set pip version\n        run: python -m pip install --force-reinstall pip==${{matrix.pip-version}} wheel\n      - name: install rpafw\n        run: |\n          python -m pip install rpaframework rpaframework-recognition robotframework-browser rpaframework-aws rpaframework-google rpaframework-assistant rpaframework-openai rpaframework-recognition rpaframework-windows\n      - name: test install is correct\n        run: |\n          python -m pip check\n          python -c \"import RPA\"\n          # TODO: run whole test suite here\n      - name: create pip freeze file\n        run: |\n          # show freeze file in CI log\n          python -m pip freeze\n          python -m pip freeze > requirements.txt\n      - name: check freeze file\n        run: |\n          python -m pip install pip-audit==2.4.14\n          python -m pip_audit --no-deps -r requirements.txt\n        # Only run scans for latest template version from https://github.com/robocorp/template-standard/blob/master/conda.yaml\n        if: ${{ matrix.python-version == '3.9.13' && matrix.pip-version == '22.1.2' }}\n      - uses: actions/upload-artifact@v3\n        if: success() || failure()\n        with:\n          name: pip_freeze_${{ matrix.python-version }}_${{ matrix.pip-version }}.txt\n          path: requirements.txt\n\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:28.018261", "created_at": "2020-10-29T11:51:19+01:00", "updated_at": "2020-10-29T11:51:19+01:00", "name": "rpaframework-recognition", "path": ".github/workflows/recognition.yaml", "contents": "name: rpaframework-recognition\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'packages/recognition/**'\n      - '.github/workflows/recognition.yaml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'packages/recognition/**'\n      - '.github/workflows/recognition.yaml'\n\ndefaults:\n  run:\n    working-directory: './packages/recognition'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py38\",\n          \"windows-py39\",\n          \"windows-py310\",\n\n          \"ubuntu-py38\",\n          \"ubuntu-py39\",\n          \"ubuntu-py310\",\n\n          \"macos-py38\",\n          \"macos-py39\",\n          \"macos-py310\",\n        ]\n\n        include:\n          - name: \"windows-py38\"\n            python: \"3.8\"\n            os: windows-latest\n          - name: \"windows-py39\"\n            python: \"3.9\"\n            os: windows-latest\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-latest\n          - name: \"macos-py39\"\n            python: \"3.9\"\n            os: macos-latest\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-latest\n\n    env:\n      INVOKE_IS_CI_CD: 1\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Get python version\n      id: full-python-version\n      shell: bash\n      run: |\n        echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info[:3]))\")\n    - name: Set up cache\n      uses: actions/cache@v1\n      with:\n        path: .venv\n        key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Lint\n      run: invoke code.lint -e\n    - name: Test\n      run: invoke code.test\n\n  publish:\n    # Only publish on master workflow runs\n    if: github.ref == 'refs/heads/master'\n    needs: test\n    runs-on: ubuntu-latest\n    env:\n      INVOKE_IS_CI_CD: 1\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.9'\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Build and publish package\n      if: success()\n      run: |\n        invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}\n        invoke build.publish --ci --version=prerelease --yes-to-all\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:29.027986", "created_at": "2022-02-25T12:53:43+01:00", "updated_at": "2022-02-25T12:53:43+01:00", "name": "release", "path": ".github/workflows/release.yaml", "contents": "name: release\n\non:\n  workflow_dispatch:\n    inputs:\n      package:\n        type: choice\n        description: Select the package\n        required: False\n        default: 'rpaframework'\n        options:\n        - rpaframework\n        - rpaframework-aws\n        - rpaframework-core\n        - rpaframework-dialogs\n        - rpaframework-google\n        - rpaframework-pdf\n        - rpaframework-recognition\n        - rpaframework-windows\n      version:\n        type: string\n        description: Version number\n        required: False\n\n\njobs:\n  selections-done:\n    runs-on: windows-latest\n\n    steps:\n      - name: Print selections to STDOUT\n        run: echo  The package is ${{ github.event.inputs.package }} and version is ${{ github.event.inputs.version }}\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:30.091980", "created_at": "2021-11-26T10:20:21+01:00", "updated_at": "2021-11-26T10:20:21+01:00", "name": "rpaframework-windows", "path": ".github/workflows/windows.yaml", "contents": "name: rpaframework-windows\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'packages/windows/**'\n      - '.github/workflows/windows.yaml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'packages/windows/**'\n      - '.github/workflows/windows.yaml'\n\ndefaults:\n  run:\n    working-directory: './packages/windows'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py38\",\n          \"windows-py39\",\n          \"windows-py310\",\n\n          \"ubuntu-py38\",\n          \"ubuntu-py39\",\n          \"ubuntu-py310\",\n\n          \"macos-py38\",\n          \"macos-py39\",\n          \"macos-py310\",\n        ]\n\n        include:\n          - name: \"windows-py38\"\n            python: \"3.8\"\n            os: windows-latest\n          - name: \"windows-py39\"\n            python: \"3.9\"\n            os: windows-latest\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-latest\n          - name: \"macos-py39\"\n            python: \"3.9\"\n            os: macos-latest\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-latest\n\n    env:\n      INVOKE_IS_CI_CD: 1\n      SYSTEM_VERSION_COMPAT: \"0\"\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Lint\n      run: invoke code.lint -e\n    - name: Test\n      run: invoke code.test-python\n      # Windows robot tests disabled in CI for now. (requires VM with UI support)\n\n  publish:\n    # Only publish on master workflow runs\n    if: github.ref == 'refs/heads/master'\n    needs: test\n    runs-on: ubuntu-latest\n    env:\n      INVOKE_IS_CI_CD: 1\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.9'\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install invocation prerequisites\n      run: pip install -Ur ../../invocations/requirements.txt\n    - name: Install invocation package\n      run: invoke install-invocations || invoke self.install-invocations\n    - name: Install dependencies\n      run: invoke install\n    - name: Build and publish package\n      if: success()\n      run: |\n        invoke install.setup-poetry --devpi-url ${{ secrets.devpiUrl }} --username ci --password ${{ secrets.devpiPassword }}\n        invoke build.publish --ci --version=prerelease --yes-to-all\n", "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:31.108646", "created_at": "2021-12-17T12:02:07+01:00", "updated_at": "2021-12-17T12:02:07+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "robocorp/rpaframework"}
{"mined_at": "2024-07-15T14:42:33.138215", "created_at": "2022-02-27T19:54:32+01:00", "updated_at": "2022-02-28T07:23:18+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n        - 3.7\n        - 3.8\n        - 3.9\n        - \"3.10\"\n        - \"3.11\"\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade setuptools pip wheel\n        pip install -e .[test]\n\n    - name: Test build\n      run: |\n        python setup.py sdist bdist_wheel\n\n    - name: Test with pytest\n      run: |\n        pip install -r tests/requirements.txt\n        pytest --junitxml=test-results-${{ matrix.python-version }}.xml --cov=project_generator --cov-report=xml\n", "state": "active", "repository": "project-generator/project_generator"}
{"mined_at": "2024-07-15T14:42:35.490886", "created_at": "2023-03-29T09:21:36+02:00", "updated_at": "2023-03-29T09:21:36+02:00", "name": ".github/workflows/AddIssueComment.yml", "path": ".github/workflows/AddIssueComment.yml", "contents": "on:\n  issues:\n    types: [opened]\n   \njobs:\n  thank-user:\n    runs-on: ubuntu-20.04\n    permissions:\n      issues: write\n    name: Say thanks for the Issue\n    steps:\n      - name: comment on the issue\n        uses: hasura/comment-progress@v2.3.0\n        with:\n          github-token: ${{ secrets.CLI_BOT }}\n          repository: 'Azure/azure-cli-extensions'\n          number: ${{ github.event.issue.number }}\n          id: thank-you-comment\n          message: 'Thank you for opening this issue, we will look into it.'\n", "state": "active", "repository": "azure/azure-cli-extensions"}
{"mined_at": "2024-07-15T14:42:36.632637", "created_at": "2023-03-29T09:21:36+02:00", "updated_at": "2023-03-29T09:21:36+02:00", "name": ".github/workflows/AddPRComment.yml", "path": ".github/workflows/AddPRComment.yml", "contents": "on:\n  pull_request_target:\n    types: [opened]\n    branches:\n      - main\n\npermissions:\n  pull-requests: write\n\njobs:\n  thank-user:\n    runs-on: ubuntu-20.04\n    name: Say thanks for the PR\n    steps:\n      - name: get message\n        env:\n          TITLE: ${{ github.event.pull_request.title }}\n        run: |\n          message=$(echo \"$TITLE\" | grep -oP '[{\\[][^}\\]]+[}\\]]' | sed 's/{\\|}\\|\\[\\|\\]//g')\n          echo \"message=$message\" >> $GITHUB_ENV\n          if [ -z $message ]; then\n              echo \"message=$(echo 'Thank you for your contribution! We will review the pull request and get back to you soon.')\" >> $GITHUB_ENV\n          fi\n      - name: comment on the pull request\n        uses: mshick/add-pr-comment@v2\n        with:\n          repo-token: ${{ secrets.CLI_BOT }}\n          message-id: prcommentbot\n          message: \"${{ env.message }}\"\n", "state": "active", "repository": "azure/azure-cli-extensions"}
{"mined_at": "2024-07-15T14:42:37.636498", "created_at": "2023-12-15T07:23:49+01:00", "updated_at": "2024-05-20T08:25:22+02:00", "name": "Block PR merging on blocked labels", "path": ".github/workflows/BlockPRMerge.yml", "contents": "name: Block PR merging on blocked labels\n\non:\n  pull_request_target:\n    types: [opened, labeled, unlabeled, synchronize]\n    branches:\n      - main\n\njobs:\n  block-merge:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check blocked labels\n        uses: actions/github-script@v7\n        with:\n          script: |\n            const labels = context.payload.pull_request.labels.map(label => label.name);\n            const blockedLabels = [\"do-not-merge\", \"needs-author-feedback\", \"release-version-block\"];\n            \n            if (labels.some(label => blockedLabels.includes(label))) {\n              console.log(`It is not allowed to merge a PR with any blocked labels: ${blockedLabels}`);\n              process.exit(1); // Exit with a non-zero status code to block merge\n            } else {\n              console.log(\"It is allowed to merge the PR.\");\n            }\n", "state": "active", "repository": "azure/azure-cli-extensions"}
{"mined_at": "2024-07-15T14:42:38.631297", "created_at": "2023-06-20T18:01:47+02:00", "updated_at": "2023-06-20T18:01:47+02:00", "name": "Style and Lint Check", "path": ".github/workflows/CheckStyleAndLinting.yml", "contents": null, "state": "active", "repository": "azure/azure-cli-extensions"}
{"mined_at": "2024-07-15T14:42:39.794120", "created_at": "2024-06-18T09:47:21+02:00", "updated_at": "2024-06-18T09:47:21+02:00", "name": "Auto Review PR", "path": ".github/workflows/ProcessCodeReview.yml", "contents": "name: Auto Review PR \n\non:\n  pull_request_target:\n      types: [opened, synchronize]\n      branches:\n        - main\n\npermissions: {}\n\njobs:\n  pr-code-review:\n    if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-code-review') }}\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n      contents: read\n    steps:\n      - name: Check Init Event\n        env:\n           action: ${{ toJSON(github.event.action) }}\n           label: ${{ toJSON(github.event.label) }}\n        run: |\n          echo start review module changed\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v3\n        with:\n           python-version: \"3.11\"\n      - name: Checkout CLI extension repo\n        uses: actions/checkout@master\n        with:\n          fetch-depth: 0 # checkout all branches\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}  # checkout pull request branch\n      - name: Show workdirectory after site cloned\n        run: |\n           pwd\n           ls\n      - name: Get Diff Modules\n        env:\n          bash_sha: ${{ github.event.pull_request.base.sha }}\n          base_branch: ${{ github.event.pull_request.base.ref }}\n          base_branch_pre: \"upstream\"\n          diff_sha: ${{ github.event.pull_request.head.sha }}\n          diff_branch: ${{ github.event.pull_request.head.ref }}\n          repo_full_name: ${{ github.event.pull_request.head.repo.full_name }}\n        run: |\n            set -x\n            git --version\n            git log --oneline | head -n 30\n            git branch -a\n            git fetch https://github.com/Azure/azure-cli-extensions.git \"$base_branch\":\"$base_branch_pre\"/\"$base_branch\"\n            git checkout \"$base_branch_pre\"/\"$base_branch\"\n            git log --oneline | head -n 30\n            git checkout \"$diff_branch\"\n            git log --oneline | head -n 30\n            git --no-pager diff --name-only --diff-filter=ACMRT \"$base_branch_pre\"/\"$base_branch\"...\"$diff_branch\" > changed_files\n            cat changed_files\n            echo \"changed_module_list=$(cat changed_files | grep azext_ | awk -F\"azext_\" '{print $1}'| awk -F\"/\" '{print $2}' | sort | uniq | xargs)\" >> $GITHUB_ENV\n      - name: Display Diff Modules\n        run: |\n            for mod in \"$changed_module_list\"\n            do\n              echo changed module: \"${mod}\"\n            done\n      - name: Check whether aaz-related Module\n        id: check_if_aaz_used\n        env:\n          pr_label_list: ${{ toJson(github.event.pull_request.labels.*.name) }}\n          result_path: \"./review_result\"\n          output_file: \"is_aaz_check.txt\"\n          survey_comment_file: \"aaz_survey_comment.txt\"\n          base_branch: ${{ github.event.pull_request.base.ref }}\n          base_branch_pre: \"upstream\"\n        run: |\n           set -ev\n           mkdir ${result_path}\n           git checkout \"$base_branch_pre\"/\"$base_branch\" -- scripts\n           python scripts/ci/codegen_cal.py --job check\n           ls ${result_path}\n      - name: Archive production artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: review-code-output\n          path: |\n            review_result\n          retention-days: 1\n  action-on-output:\n    needs: pr-code-review\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n      contents: read\n    steps:\n      - name: Download code review result\n        uses: actions/download-artifact@v4\n        with:\n          name: review-code-output\n      - name: Show workdirectory after result downloaded\n        run: |\n           pwd\n           ls\n      - name: Check comment file existence\n        id: check_survey_comment_file\n        uses: andstor/file-existence-action@v3\n        with:\n          files: \"./aaz_survey_comment.txt\"\n      - name: Comment survey on the pull request\n        if: steps.check_survey_comment_file.outputs.files_exists == 'true'\n        uses: mshick/add-pr-comment@v2\n        with:\n           repo-token: ${{ secrets.GITHUB_TOKEN }}\n           message-id: aazSurveyCommentBot\n           message-path: |\n            aaz_survey_comment.txt  ", "state": "active", "repository": "azure/azure-cli-extensions"}
{"mined_at": "2024-07-15T14:42:40.918719", "created_at": "2024-04-01T11:23:49+02:00", "updated_at": "2024-04-01T11:23:49+02:00", "name": "Trigger ADO OneBranch Extension Release Pipeline", "path": ".github/workflows/TriggerExtensionRelease.yml", "contents": "name: Trigger ADO OneBranch Extension Release Pipeline\n\n# Run this workflow every time a commit gets pushed to main\n# This triggers the ADO OneBranch Extension Release Pipeline\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n  id-token: write\n\njobs:\n    build:\n        name: Trigger Extension Release Pipeline\n        runs-on: ubuntu-latest\n        steps:\n        - name: Harden Runner\n          uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0\n          with:\n            egress-policy: audit\n        - name: Azure login\n          uses: azure/login@v2\n          with:\n            client-id: ${{ secrets.ADO_SP_ClientID }}\n            tenant-id: ${{ secrets.ADO_SP_TenantID }}\n            allow-no-subscriptions: true\n        - name: Azure CLI\n          uses: azure/cli@v2\n          env:\n            ado-org: ${{secrets.ADO_ORGANIZATION}}\n            ado-project: ${{secrets.ADO_PROJECT}}\n            ado-pipeline-id: ${{secrets.ADO_PIPELINE_ID}}\n            commit-id: ${{ github.sha }}\n          with:\n            inlineScript: |\n              az pipelines build queue --definition-id ${{ env.ado-pipeline-id }} --organization ${{ env.ado-org }}  --project ${{ env.ado-project }} --variables commit_id=${{ env.commit-id }}\n", "state": "active", "repository": "azure/azure-cli-extensions"}
{"mined_at": "2024-07-15T14:42:42.046962", "created_at": "2024-01-31T03:36:18+01:00", "updated_at": "2024-03-08T02:46:19+01:00", "name": "Generate Release Version and Comment PR", "path": ".github/workflows/VersionCalPRComment.yml", "contents": "name: Generate Release Version and Comment PR\n\non:\n  workflow_dispatch:\n  pull_request_target:\n      types: [opened, labeled, unlabeled, synchronize]\n      branches:\n        - main\n      paths:\n        - '**.py'\n        - '!**/test_*.py'\n\npermissions: {}\n\njobs:\n  version-cal:\n    if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-cal-version') && (!contains(fromJSON('[\"labeled\", \"unlabeled\"]'), github.event.action) || github.event.label.name != 'release-version-block') }}\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n      contents: read\n    steps:\n      - name: Set Init Version Message\n        env:\n           action: ${{ toJSON(github.event.action) }}\n           label: ${{ toJSON(github.event.label) }}\n        run: |\n          echo \"message=$(echo 'Suggested init version: 1.0.0b1 for preview release and 1.0.0 for stable release')\" >> $GITHUB_ENV\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v3\n        with:\n           python-version: \"3.10\"\n      - name: Checkout CLI extension repo\n        uses: actions/checkout@master\n        with:\n          fetch-depth: 0 # checkout all branches\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}  # checkout pull request branch\n      - name: Show workdirectory after site cloned\n        run: |\n           pwd\n           ls\n      - name: Get Diff Files\n        env:\n          bash_sha: ${{ github.event.pull_request.base.sha }}\n          base_branch: ${{ github.event.pull_request.base.ref }}\n          base_branch_pre: \"upstream\"\n          diff_code_file: \"diff_codes.txt\"\n          diff_sha: ${{ github.event.pull_request.head.sha }}\n          diff_branch: ${{ github.event.pull_request.head.ref }}\n          repo_full_name: ${{ github.event.pull_request.head.repo.full_name }}\n        run: |\n            set -x\n            git --version\n            git log --oneline | head -n 30\n            git branch -a\n            git fetch https://github.com/Azure/azure-cli-extensions.git \"$base_branch\":\"$base_branch_pre\"/\"$base_branch\"\n            git checkout \"$base_branch_pre\"/\"$base_branch\"\n            git log --oneline | head -n 30\n            git checkout \"$diff_branch\"\n            git log --oneline | head -n 30\n            git --no-pager diff --name-only --diff-filter=ACMRT \"$base_branch_pre\"/\"$base_branch\"...\"$diff_branch\" > changed_files\n            cat changed_files\n            cat changed_files | grep azext_ | awk -F\"azext_\" '{print $1}'| awk -F\"/\" '{print $2}' | sort | uniq > changed_modules\n            echo \"changed_module_list=$(cat changed_files | grep azext_ | awk -F\"azext_\" '{print $1}'| awk -F\"/\" '{print $2}' | sort | uniq | xargs)\" >> $GITHUB_ENV\n            git --no-pager diff --diff-filter=ACMRT \"$base_branch_pre\"/\"$base_branch\"...\"$diff_branch\" > \"$diff_code_file\"\n      - name: Display Diff Modules\n        run: |\n            for mod in \"$changed_module_list\"\n            do\n              echo changed module: \"${mod}\"\n            done\n      - name: Checkout CLI main repo\n        uses: actions/checkout@master\n        with:\n           repository: Azure/azure-cli\n           path: ./azure-cli\n      - name: Show workdirectory after cli cloned\n        run: |\n           pwd\n           ls\n      - name: Move the main repo to the same level as the extension repo\n        run: |\n           mv azure-cli ../\n           cd ../\n           pwd\n           ls\n      - name: Install azdev\n        run: | \n           python -m pip install --upgrade pip\n           set -ev\n           python -m venv env\n           chmod +x env/bin/activate\n           source ./env/bin/activate\n           pip install azdev\n           azdev --version\n           cd ../\n           azdev setup -c azure-cli -r azure-cli-extensions --debug\n           az --version\n           pip list -v\n      - name: Gen Base and Diff Metadata\n        id: get_comment_message\n        env:\n          pr_label_list: ${{ toJson(github.event.pull_request.labels.*.name) }}\n          base_branch: ${{ github.event.pull_request.base.ref }}\n          base_branch_pre: \"upstream\"\n          diff_code_file: \"diff_codes.txt\"\n          diff_branch: ${{ github.event.pull_request.head.ref }}\n          base_meta_path: \"./base_meta/\"\n          diff_meta_path: \"./diff_meta/\"\n          output_file: \"version_update.txt\"\n        run: |\n           chmod +x env/bin/activate\n           source ./env/bin/activate\n           set -ev\n           git checkout \"$base_branch_pre\"/\"$base_branch\"\n           mkdir \"$base_meta_path\"\n           for mod in \"$changed_module_list\"\n           do\n              echo changed module: \"${mod}\"\n              azdev extension add \"${mod}\" && azdev command-change meta-export \"${mod}\" --meta-output-path ./\"$base_meta_path\"/ && azdev extension remove \"${mod}\"\n           done\n           git checkout \"$diff_branch\"\n           mkdir \"$diff_meta_path\"\n           for mod in \"$changed_module_list\"\n           do\n              echo changed module: \"${mod}\"\n              azdev extension add \"${mod}\" && azdev command-change meta-export \"${mod}\" --meta-output-path ./\"$diff_meta_path\"/ && azdev extension remove \"${mod}\"\n           done\n           ls ./\"$base_meta_path\"/\n           ls ./\"$diff_meta_path\"/\n           git checkout \"$base_branch_pre\"/\"$base_branch\"\n           python scripts/ci/release_version_cal.py\n           # echo \"commit_message=$(cat $output_file)\" >> $GITHUB_ENV\n      - name: Comment on the pull request\n        uses: mshick/add-pr-comment@v2\n        with:\n           repo-token: ${{ secrets.GITHUB_TOKEN }}\n           message-id: versioncommentbot\n           message-path: |\n            version_update.txt\n           message-failure: |\n            Please refer to [Extension version schema](https://github.com/Azure/azure-cli/blob/release/doc/extensions/versioning_guidelines.md) to update release versions.\n      - name: Add block release label\n        uses: actions-ecosystem/action-add-labels@v1\n        if: ${{ steps.get_comment_message.outputs.BlockPR == 1 }}\n        with:\n          labels: release-version-block\n      - name: Remove block release label\n        uses: mondeja/remove-labels-gh-action@v2\n        if: ${{ steps.get_comment_message.outputs.BlockPR == 0 }}\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          labels: release-version-block", "state": "active", "repository": "azure/azure-cli-extensions"}
{"mined_at": "2024-07-15T14:42:43.174774", "created_at": "2023-05-24T04:06:30+02:00", "updated_at": "2023-05-24T04:06:30+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": null, "state": "active", "repository": "azure/azure-cli-extensions"}
{"mined_at": "2024-07-15T14:42:44.258052", "created_at": "2023-05-24T04:06:30+02:00", "updated_at": "2023-05-24T04:06:30+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": null, "state": "active", "repository": "azure/azure-cli-extensions"}
{"mined_at": "2024-07-15T14:42:46.352708", "created_at": "2022-11-20T13:47:09+01:00", "updated_at": "2022-11-21T13:54:43+01:00", "name": "Enforce PR label", "path": ".github/workflows/enforce-label.yml", "contents": "name: Enforce PR label\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, edited, synchronize]\njobs:\n  enforce-label:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: enforce-triage-label\n        uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1\n", "state": "active", "repository": "jupyter/nbformat"}
{"mined_at": "2024-07-15T14:42:47.375038", "created_at": "2022-11-21T13:54:43+01:00", "updated_at": "2022-11-21T13:54:43+01:00", "name": "Step 1: Prep Release", "path": ".github/workflows/prep-release.yml", "contents": "name: \"Step 1: Prep Release\"\non:\n  workflow_dispatch:\n    inputs:\n      version_spec:\n        description: \"New Version Specifier\"\n        default: \"next\"\n        required: false\n      branch:\n        description: \"The branch to target\"\n        required: false\n      post_version_spec:\n        description: \"Post Version Specifier\"\n        required: false\n      silent:\n        description: \"Set a placeholder in the changelog and don't publish the release.\"\n        required: false\n        type: boolean\n      since:\n        description: \"Use PRs with activity since this date or git reference\"\n        required: false\n      since_last_stable:\n        description: \"Use PRs with activity since the last stable git tag\"\n        required: false\n        type: boolean\njobs:\n  prep_release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Prep Release\n        id: prep-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          version_spec: ${{ github.event.inputs.version_spec }}\n          silent: ${{ github.event.inputs.silent }}\n          post_version_spec: ${{ github.event.inputs.post_version_spec }}\n          target: ${{ github.event.inputs.target }}\n          branch: ${{ github.event.inputs.branch }}\n          since: ${{ github.event.inputs.since }}\n          since_last_stable: ${{ github.event.inputs.since_last_stable }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}\"\n", "state": "active", "repository": "jupyter/nbformat"}
{"mined_at": "2024-07-15T14:42:48.395868", "created_at": "2024-03-12T15:15:07+01:00", "updated_at": "2024-03-12T15:15:07+01:00", "name": "Publish Changelog", "path": ".github/workflows/publish-changelog.yml", "contents": "name: \"Publish Changelog\"\non:\n  release:\n    types: [published]\n\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch to target\"\n        required: false\n\njobs:\n  publish_changelog:\n    runs-on: ubuntu-latest\n    environment: release\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Publish changelog\n        id: publish-changelog\n        uses: jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n\n      - name: \"** Next Step **\"\n        run: |\n          echo \"Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}\"\n", "state": "active", "repository": "jupyter/nbformat"}
{"mined_at": "2024-07-15T14:42:49.429588", "created_at": "2022-11-21T13:54:43+01:00", "updated_at": "2022-11-21T13:54:43+01:00", "name": "Step 2: Publish Release", "path": ".github/workflows/publish-release.yml", "contents": "name: \"Step 2: Publish Release\"\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The target branch\"\n        required: false\n      release_url:\n        description: \"The URL of the draft GitHub release\"\n        required: false\n      steps_to_skip:\n        description: \"Comma separated list of steps to skip\"\n        required: false\n\njobs:\n  publish_release:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - name: Populate Release\n        id: populate-release\n        uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          branch: ${{ github.event.inputs.branch }}\n          release_url: ${{ github.event.inputs.release_url }}\n          steps_to_skip: ${{ github.event.inputs.steps_to_skip }}\n\n      - name: Finalize Release\n        id: finalize-release\n        env:\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n        uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          release_url: ${{ steps.populate-release.outputs.release_url }}\n\n      - name: \"** Next Step **\"\n        if: ${{ success() }}\n        run: |\n          echo \"Verify the final release\"\n          echo ${{ steps.finalize-release.outputs.release_url }}\n\n      - name: \"** Failure Message **\"\n        if: ${{ failure() }}\n        run: |\n          echo \"Failed to Publish the Draft Release Url:\"\n          echo ${{ steps.populate-release.outputs.release_url }}\n", "state": "active", "repository": "jupyter/nbformat"}
{"mined_at": "2024-07-15T14:42:50.444754", "created_at": "2020-09-27T23:21:06+02:00", "updated_at": "2020-09-27T23:21:06+02:00", "name": "Run tests", "path": ".github/workflows/tests.yml", "contents": "name: Run tests\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n  schedule:\n    - cron: \"0 8 * * *\"\n\ndefaults:\n  run:\n    shell: bash -eux {0}\n\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 20\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: [\"3.8\", \"3.12\"]\n        include:\n          - os: windows-latest\n            python-version: \"3.9\"\n          - os: ubuntu-latest\n            python-version: \"pypy-3.8\"\n          - os: ubuntu-latest\n            python-version: \"3.11\"\n          - os: macos-latest\n            python-version: \"3.10\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Run the tests\n        if: ${{ !startsWith(matrix.python-version, 'pypy') && !startsWith(matrix.os, 'windows') }}\n        run: |\n          hatch run cov:test --cov-fail-under 75 || hatch run test:test --lf\n      - name: Run the tests on pypy\n        if: ${{ startsWith(matrix.python-version, 'pypy') }}\n        run: |\n          hatch run test:nowarn || hatch run test:nowarn --lf\n      - name: Run the tests on windows\n        if: ${{ startsWith(matrix.os, 'windows') }}\n        run: |\n          hatch run cov:nowarn || hatch run test:nowarn --lf\n      - run: hatch version 100.100.100\n      - uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1\n\n  coverage:\n    runs-on: ubuntu-latest\n    needs:\n      - tests\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/report-coverage@v1\n        with:\n          fail_under: 77\n\n  test_lint:\n    name: Test Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Run Linters\n        run: |\n          hatch run typing:test\n          hatch run lint:build\n          pipx run interrogate -v nbformat\n          pipx run doc8 --max-line-length=200\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Test docs\n        run: hatch run docs:build\n\n  test_minimum_versions:\n    name: Test Minimum Versions\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: minimum\n      - name: Run the unit tests\n        run: |\n          hatch run test:nowarn || hatch run test:nowarn --lf\n\n  test_prereleases:\n    name: Test Prereleases\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          dependency_type: pre\n      - name: Run the tests\n        run: |\n          hatch run test:nowarn || hatch run test:nowarn --lf\n\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/make-sdist@v1\n\n  test_sdist:\n    runs-on: ubuntu-latest\n    needs: [make_sdist]\n    name: Install from SDist and Test\n    timeout-minutes: 20\n    steps:\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1\n\n  check_release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - name: Install Dependencies\n        run: |\n          pip install -e .\n      - name: Check Release\n        uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  check_links:\n    name: Check Links\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n      - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1\n        with:\n          ignore_glob: \"tests/*.ipynb\"\n\n  tests_check: # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n      - coverage\n      - test_lint\n      - docs\n      - test_minimum_versions\n      - test_prereleases\n      - check_links\n      - check_release\n      - test_sdist\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "jupyter/nbformat"}
{"mined_at": "2024-07-15T14:42:52.491543", "created_at": "2020-10-06T10:57:35+02:00", "updated_at": "2023-08-28T21:07:28+02:00", "name": "tests", "path": ".github/workflows/main.yml", "contents": "name: tests\n\non:\n  pull_request:\n  push:\n    branches: master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', 3.11, 3.12]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install .\n    - name: Run flake8\n      run: |\n        flake8 skfem\n    - name: Run sphinx build\n      run: |\n        sphinx-build -W -a -b html docs docs/_build\n    - name: Run sphinx doctests\n      run: |\n        sphinx-build -W -a -b doctest docs docs/_build\n    - name: Run mypy\n      run: |\n        mypy skfem\n    - name: Run pytest\n      run: |\n        pytest\n", "state": "active", "repository": "kinnala/scikit-fem"}
{"mined_at": "2024-07-15T14:42:54.569566", "created_at": "2023-12-28T19:21:25+01:00", "updated_at": "2023-12-28T19:21:25+01:00", "name": "Packages Static Check", "path": ".github/workflows/pkgs-static-check.yml", "contents": "name: Packages Static Check\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the master branch\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.8\n\n      - name: Install Tools\n        shell: bash\n        run: |\n          sudo apt-get update && sudo apt-get install python-tk\n          sudo apt-get install scons rxvt-unicode\n          sudo apt-get -qq install gcc-multilib libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 libsdl-dev || true\n          pip install scons requests tqdm wget html-table kconfiglib\n\n      - name: Packages Static Check\n        shell: bash\n        run: |\n          BASE_ROOT=${{ github.workspace }} && cd .. && mkdir packages_temp && cp packages -R packages_temp && mv packages_temp packages && cd packages/packages_temp  && echo \"source \\\"\\$PKGS_DIR/packages/Kconfig\\\"\" > Kconfig\n          cd ${BASE_ROOT} && export PKGS_ROOT=${BASE_ROOT}/packages_temp && git clone --depth=1 --branch=master https://github.com/RT-Thread/rt-thread.git rt-thread && export RTT_ROOT=${BASE_ROOT}/rt-thread || true\n          export TERM=xterm\n          cd ${RTT_ROOT}/bsp/qemu-vexpress-a9\n          python -c 'import kconfiglib; kconfiglib.standard_kconfig()'\n          cd ${PKGS_ROOT}/packages && python ci.py\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "rt-thread/packages"}
{"mined_at": "2024-07-15T14:42:55.675118", "created_at": "2023-07-19T05:39:10+02:00", "updated_at": "2023-07-19T10:43:41+02:00", "name": "Packages Test", "path": ".github/workflows/pkgs-test.yml", "contents": "name: Packages Test\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the master branch\non:\n    push:\n        branches:\n          - master\n    pull_request:\n        branches:\n            - master\n    workflow_dispatch:\n    # Runs at 00:00 UTC on the 1, 16 and 31th of every month、\n    schedule:\n        - cron:  '0 0 */15 * *'\n\n\n# Grant GITHUB_TOKEN the permissions required to make a Pages deployment\npermissions:\n    pages: write      # to deploy to Pages\n    id-token: write   # to verify the deployment originates from an appropriate source\n\nconcurrency:\n    group: pkgs-test\n    cancel-in-progress: false # wait for finish.\n\njobs:\n    change_pull_request:\n        if: ${{ github.event_name == 'pull_request' }}\n        uses: RT-Thread/pkgs-test/.github/workflows/pkgs-action.yml@main\n        with:\n            package-append-res: true\n            deploy-pages: false\n\n    change_push:\n        if: ${{ github.event_name == 'push' }}\n        uses: RT-Thread/pkgs-test/.github/workflows/pkgs-action.yml@main\n        with:\n            package-append-res: true\n            deploy-pages: true\n\n    master-stm32h750-artpi-test:\n        if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}\n        uses: RT-Thread/pkgs-test/.github/workflows/pkgs-action.yml@main\n        with:\n            bsps: stm32/stm32h750-artpi:sourcery-arm\n            rt-thread-versions: branch:master\n            package-append-res: true\n            package-test-all: true\n            deploy-pages: true\n            check-errors: false\n\n    master-k210-test:\n        if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}\n        needs: master-stm32h750-artpi-test\n        uses: RT-Thread/pkgs-test/.github/workflows/pkgs-action.yml@main\n        with:\n            bsps: k210:sourcery-riscv-none-embed\n            rt-thread-versions: branch:master\n            package-append-res: true\n            package-test-all: true\n            deploy-pages: true\n            check-errors: false\n\n    master-qemu-vexpress-a9-test:\n        if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}\n        needs: master-k210-test\n        uses: RT-Thread/pkgs-test/.github/workflows/pkgs-action.yml@main\n        with:\n            bsps: qemu-vexpress-a9:sourcery-arm\n            rt-thread-versions: branch:master\n            package-append-res: true\n            package-test-all: true\n            deploy-pages: true\n            check-errors: false\n\n    v4_1_1-stm32h750-artpi-test:\n        needs: master-qemu-vexpress-a9-test\n        if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}\n        uses: RT-Thread/pkgs-test/.github/workflows/pkgs-action.yml@main\n        with:\n            bsps: stm32/stm32h750-artpi:sourcery-arm\n            rt-thread-versions: tag:v4.1.1\n            package-append-res: true\n            package-test-all: true\n            deploy-pages: true\n            check-errors: false\n\n    v4_1_1-k210-test:\n        if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}\n        needs: v4_1_1-stm32h750-artpi-test\n        uses: RT-Thread/pkgs-test/.github/workflows/pkgs-action.yml@main\n        with:\n            bsps: k210:sourcery-riscv-none-embed\n            rt-thread-versions: tag:v4.1.1\n            package-append-res: true\n            package-test-all: true\n            deploy-pages: true\n            check-errors: false\n\n    v4_1_1-qemu-vexpress-a9-test:\n        if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}\n        needs: v4_1_1-k210-test\n        uses: RT-Thread/pkgs-test/.github/workflows/pkgs-action.yml@main\n        with:\n            bsps: qemu-vexpress-a9:sourcery-arm\n            rt-thread-versions: tag:v4.1.1\n            package-append-res: true\n            package-test-all: true\n            deploy-pages: true\n            check-errors: false\n", "state": "active", "repository": "rt-thread/packages"}
{"mined_at": "2024-07-15T14:42:57.776289", "created_at": "2022-03-01T08:26:31+01:00", "updated_at": "2022-11-09T16:48:29+01:00", "name": "cffconvert", "path": ".github/workflows/cffconvert.yml", "contents": "name: cffconvert\n\non:\n  push:\n    paths:\n      - CITATION.cff\n\njobs:\n  validate:\n    name: \"cffconvert\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Install eossr        \n        run: |\n          pip install eossr\n\n      - name: Check out a copy of the repository\n        uses: actions/checkout@v4\n\n      - name: Check whether the citation metadata from CITATION.cff is valid\n        uses: citation-file-format/cffconvert-github-action@2.0.0\n        with:\n          args: \"--validate\"\n\n      - name: Convert CITATION.cff to Codemeta metadata format\n        uses: citation-file-format/cffconvert-github-action@2.0.0\n        if: success()\n        with:\n          args: \"--infile ./CITATION.cff --format codemeta --outfile codemeta.json\"\n\n      - name: Fix codemeta.json\n        if: success()\n        run: |\n          cd dev && python codemeta.py\n\n      - name: Validate codemeta.json\n        if: success()\n        run: |\n          eossr-metadata-validator codemeta.json \n      \n      - name: commit changes\n        uses: stefanzweifel/git-auto-commit-action@v5.0.1\n        if: success()\n        with:\n          commit_author: GitHub Actions <actions@github.com>\n          commit_message: commit metadata files \n\n        ", "state": "disabled_manually", "repository": "gammapy/gammapy"}
{"mined_at": "2024-07-15T14:42:58.799132", "created_at": "2020-11-25T22:06:19+01:00", "updated_at": "2022-12-20T14:39:36+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [push, pull_request]\n\njobs:\n  lint:\n    name: Black check\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n        with:\n          version: \"24.2.0\"\n  ci-runs:\n    name: ${{ matrix.os }}, ${{ matrix.tox_env }}\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.allowed_fail }}\n    env:\n      PYTEST_ADDOPTS: --color=yes -n auto --dist=loadscope\n    strategy:\n      fail-fast: true\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: '3.11'\n            tox_env: 'py311-test-alldeps_noray'\n            gammapy_data_path: /home/runner/work/gammapy/gammapy/gammapy-datasets/dev\n            allowed_fail: false\n          - os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'py310-test-alldeps-cov'\n            gammapy_data_path: /home/runner/work/gammapy/gammapy/gammapy-datasets/dev\n            allowed_fail: false\n          - os: macos-latest\n            python: '3.11'\n            tox_env: 'py311-test'\n            gammapy_data_path: /Users/runner/work/gammapy/gammapy/gammapy-datasets/dev\n            allowed_fail: false\n          - os: macos-14\n            python: '3.11'\n            tox_env: 'py311-test'\n            allowed_fail: false\n          - os: windows-latest\n            python: '3.11'\n            tox_env: 'py311-test-alldeps_noray'\n            gammapy_data_path:  D:\\a\\gammapy\\gammapy\\gammapy-datasets\\dev\n            allowed_fail: false\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py312-test-alldeps_noray'\n            gammapy_data_path: /home/runner/work/gammapy/gammapy/gammapy-datasets/dev\n            allowed_fail: false\n          - os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'py310-test'\n            allowed_fail: false\n          - os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'codestyle'\n            allowed_fail: false\n          - os: ubuntu-latest\n            python: '3.9'\n            tox_env: 'py39-test-alldeps_noray-astropy50-numpy121'\n            allowed_fail: false\n          - os: ubuntu-latest\n            python: '3.9'\n            tox_env: 'oldestdeps'\n            allowed_fail: false\n          - os: ubuntu-latest\n            python: '3.11'\n            tox_env: 'devdeps'\n            allowed_fail: true\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install base dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox\n      - name: download datasets\n        if: ${{ matrix.gammapy_data_path }}\n        run: |\n          python -m pip install tqdm requests\n          python -m pip install -e .\n          gammapy download datasets\n      - name: Print Python, pip, and tox versions\n        run: |\n          python -c \"import sys; print(f'Python {sys.version}')\"\n          python -c \"import pip; print(f'pip {pip.__version__}')\"\n          python -c \"import tox; print(f'tox {tox.__version__}')\"\n      - name: Run tests\n        if: ${{ !matrix.gammapy_data_path }}\n        run: tox -e ${{ matrix.tox_env }} -- -n auto\n      - name: Run tests with data\n        if: ${{ matrix.gammapy_data_path }}\n        env:\n          GAMMAPY_DATA: ${{ matrix.gammapy_data_path}}\n        run: tox -e ${{ matrix.tox_env }} -- -n auto\n      - name: Upload coverage to codecov\n        if: \"contains(matrix.tox_env, '-cov')\"\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          verbose: true\n  sphinx:\n    name: Linux python 3.9 sphinx all-deps\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      PYTEST_ADDOPTS: --color=yes -n auto --dist=loadscope\n      GAMMAPY_DATA: /home/runner/work/gammapy/gammapy/gammapy-datasets/dev\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install base dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox\n      - name: download datasets\n        run: |\n          python -m pip install tqdm requests\n          python -m pip install -e .\n          gammapy download datasets\n      - name: test build docs\n        run: |\n          tox -e build_docs -- -j auto\n      - name: check links\n        continue-on-error: true\n        run: |\n          tox -e linkcheck -- -j auto\n  conda-build:\n    name: Linux python 3.9 conda-build all-deps\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: checkout repo\n        uses: actions/checkout@v4\n      - name: create and activate env\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment-dev.yml\n          cache-downloads: true\n      - name: install gammapy\n        run: |\n          pip install -e .\n      - name: test conda build\n        run: |\n          make clean\n          conda install conda-build\n          conda info\n          conda --version\n          conda build --version\n          python setup.py bdist_conda\n", "state": "active", "repository": "gammapy/gammapy"}
{"mined_at": "2024-07-15T14:42:59.966752", "created_at": "2021-02-23T09:12:33+01:00", "updated_at": "2024-06-22T00:54:12+02:00", "name": "Build dev docs", "path": ".github/workflows/dispatch.yml", "contents": "name: Build dev docs\non: push\n\njobs:\n  dispatch-docs:\n    if: github.repository_owner == 'gammapy'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dispatch Gammapy Docs\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.REMOTE_DISPATCH }}\n          repository: gammapy/gammapy-docs\n          event-type: dev-docs\n", "state": "active", "repository": "gammapy/gammapy"}
{"mined_at": "2024-07-15T14:43:01.008904", "created_at": "2023-03-22T14:46:24+01:00", "updated_at": "2023-04-17T18:42:22+02:00", "name": "Run profiler on benchmarks", "path": ".github/workflows/dispatch_benchmark.yml", "contents": "name: Run profiler on benchmarks\non:\n  pull_request:\n    types:\n      - closed\njobs:\n  dispatch-benchmarks:\n    if: ${{ (github.repository_owner == 'gammapy') && (github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'trigger-benchmarks')) }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dispatch Gammapy Benchmarks\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.REMOTE_DISPATCH }}\n          repository: gammapy/gammapy-benchmarks\n          event-type: dev-benchmarks\n", "state": "active", "repository": "gammapy/gammapy"}
{"mined_at": "2024-07-15T14:43:02.099198", "created_at": "2019-12-19T18:05:48+01:00", "updated_at": "2019-12-19T18:05:48+01:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/first-interaction@v1\n      continue-on-error: true\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: 'Merci! We will respond to your issue shortly. In the meantime, try `import gammapy; gammapy.song()`'\n        pr-message: 'Graçias! We will review your pull request shortly. In the meantime, try `import gammapy; gammapy.song(karaoke=True)`'\n", "state": "active", "repository": "gammapy/gammapy"}
{"mined_at": "2024-07-15T14:43:03.141387", "created_at": "2022-10-14T11:35:42+02:00", "updated_at": "2023-02-03T18:03:22+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags-ignore:\n      - 'v*.dev'\n\njobs:\n  release-pypi:\n    if: github.repository_owner == 'gammapy'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Update tags\n        run: git fetch --tags --force\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python --version\n          pip install -U build\n          python -m build --sdist\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n\n  release-github:\n    if: github.repository_owner == 'gammapy' && !contains(github.ref_name, 'rc')\n    needs: release-pypi\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Release\n        uses: softprops/action-gh-release@v2\n        with:\n          body: |\n            Gammapy is a Python package for gamma-ray astronomy. See [changelog for this release](https://github.com/gammapy/gammapy/blob/main/docs/release-notes/${{ github.ref_name }}.rst).\n\n  dispatch-docs:\n    if: github.repository_owner == 'gammapy'\n    needs: release-pypi\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dispatch Gammapy Docs\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.REMOTE_DISPATCH }}\n          repository: gammapy/gammapy-docs\n          event-type: release\n          client-payload: '{\"release\": \"${{ github.ref_name }}\"}'\n\n  dispatch-webpage:\n    if: github.repository_owner == 'gammapy'\n    needs: release-github\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dispatch Gammapy Webpage\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.REMOTE_DISPATCH }}\n          repository: gammapy/gammapy-webpage\n          event-type: release\n          client-payload: '{\"release\": \"${{ github.ref_name }}\"}'\n", "state": "active", "repository": "gammapy/gammapy"}
{"mined_at": "2024-07-15T14:43:05.167044", "created_at": "2024-07-03T16:10:23+02:00", "updated_at": "2024-07-09T19:26:19+02:00", "name": "Test HydroShare Pull Requests", "path": ".github/workflows/hydroshare-pull-requests.yml", "contents": null, "state": "active", "repository": "hydroshare/hydroshare"}
{"mined_at": "2024-07-15T14:43:07.400005", "created_at": "2020-04-17T18:48:35+02:00", "updated_at": "2020-04-17T18:48:35+02:00", "name": "CI/CD", "path": ".github/workflows/cicd.yml", "contents": "name: CI/CD\n\non:\n  pull_request:  # any pull request\n  push:\n    branches:\n      - master\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  AWS_DEFAULT_OUTPUT: json\n  AWS_DEFAULT_REGION: us-east-1\n  AWS_MAX_ATTEMPTS: 20  # retry attempts for AWS API calls\n  AWS_RETRY_MODE: adaptive  # defaults to \"legacy\"; this handles more errors\n  NODE_VERSION: '18'\n  PYTEST_ADDOPTS: --color=yes\n  RUNWAY_TEST_NAMESPACE: gh-${{ github.run_id }}\n  PIPENV_IGNORE_VIRTUALENVS: '1'\n\n\njobs:\n  changes:\n    runs-on: ubuntu-latest\n    outputs:\n      infra-test: ${{ steps.filter.outputs.infrastructure-test }}\n      infra-test-alt: ${{ steps.filter.outputs.infrastructure-test-alt }}\n    steps:\n      - uses: actions/checkout@v4  # not needed for pull_request\n        if: |\n          github.event_name == 'push'\n      - uses: dorny/paths-filter@v3  # cspell:ignore dorny\n        id: filter\n        with:\n          filters: |\n            infrastructure-test:\n              - 'infrastructure/blueprints/admin_user.py'\n              - 'infrastructure/blueprints/cfngin_bucket.py'\n              - 'infrastructure/blueprints/prevent_privilege_escalation.py'\n              - 'infrastructure/blueprints/test_runner_boundary.py'\n              - 'infrastructure/blueprints/test_runner_user.py'\n              - 'infrastructure/test/common/**'\n            infrastructure-test-alt:\n              - 'infrastructure/blueprints/admin_role.py'\n              - 'infrastructure/blueprints/cfngin_bucket.py'\n              - 'infrastructure/blueprints/prevent_privilege_escalation.py'\n              - 'infrastructure/blueprints/test_runner_boundary.py'\n              - 'infrastructure/test-alt/common/**'\n  deploy-test-infrastructure:\n    name: Deploy Test Infrastructure\n    environment: test\n    concurrency: test-infrastructure\n    needs: changes\n    if: |\n      github.repository == 'onicagroup/runway' &&\n      (needs.changes.outputs.infra-test == 'true' || needs.changes.outputs.infra-test-alt == 'true')\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: 3.9\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-access-key-id: ${{ secrets.DEPLOY_AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.DEPLOY_AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-1\n      - run: make deploy test\n        working-directory: infrastructure\n      - run: make deploy test-alt\n        working-directory: infrastructure\n  lint-python:\n    name: Lint Python\n    strategy:\n      matrix:\n        python-version: [3.9, '3.10', '3.11']\n        os: [ubuntu-latest, windows-latest]\n    runs-on: ${{ matrix.os }}\n    env:\n      # populating AWS creds with fake values\n      AWS_ACCESS_KEY_ID: test\n      AWS_SECRET_ACCESS_KEY: test\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Install Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Install Node Dependencies\n        run: make npm-ci\n      - name: Run Linters\n        run: make lint\n  pre-commit:\n    name: pre-commit\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10']\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - uses: pre-commit/action@v3.0.1\n  test-functional:\n    name: Functional Tests\n    needs: deploy-test-infrastructure\n    # will fail if run from forks\n    if: |\n      always() &&\n      github.repository == 'onicagroup/runway' &&\n      github.actor != 'dependabot[bot]' &&\n      (needs.deploy-test-infrastructure.result == 'success' || needs.deploy-test-infrastructure.result == 'skipped')\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: '3.10'\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Install Ubuntu Dependencies\n        run: |\n          sudo apt update -y\n          sudo apt install -y default-libmysqlclient-dev libxml2-dev libxmlsec1-dev libxmlsec1-openssl pkg-config\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-access-key-id: ${{ secrets.TEST_RUNNER_AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.TEST_RUNNER_AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-1\n      - name: Run Tests\n        run: make test-functional\n  test-python:\n    name: Test Python\n    strategy:\n      matrix:\n        python-version: [3.9, '3.10', '3.11']\n        os: [ubuntu-latest, windows-latest]\n    runs-on: ${{ matrix.os }}\n    env:\n      # populating AWS creds with fake values\n      AWS_ACCESS_KEY_ID: test\n      AWS_SECRET_ACCESS_KEY: test\n    steps:\n      - name: Checkout Repo (complete)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Install Node Dependencies\n        run: make npm-install\n      - name: Configure Pagefile  # avoid MemoryError during tests\n        if: runner.os == 'Windows'\n        uses: al-cheb/configure-pagefile-action@v1.4  # cspell:ignore cheb\n        with:\n          minimum-size: 16GB\n          maximum-size: 16GB\n          disk-root: 'C:'\n      - name: Run Integration & Unit Tests\n        # assertions assume linux so some fail when run on windows\n        run: make test cov-xml\n      - name: Upload to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n  build-pypi:\n    name: Build PyPi 📦\n    needs:\n      - pre-commit\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo (complete)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: 3.9\n      # Remove apt repos that are known to break from time to time\n      # See https://github.com/actions/virtual-environments/issues/323\n      - name: Remove broken apt repos (ubuntu)\n        run: |\n          for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done\n      - name: Install Dependencies (ubuntu)\n        run: sudo apt-get update && sudo apt-get install sed -y\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Run Build\n        run: make build\n      - name: Upload Distribution Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: pypi-dist\n          path: dist\n", "state": "active", "repository": "onicagroup/runway"}
{"mined_at": "2024-07-15T14:43:08.416621", "created_at": "2021-05-18T15:38:59+02:00", "updated_at": "2021-05-18T16:06:21+02:00", "name": "Label Maker", "path": ".github/workflows/label-maker.yml", "contents": "# Manage the labels of a GitHub repository as code.\nname: Label Maker\n\n\non:\n  push:\n    paths:\n      - .github/workflows/label-maker.yml\n      - .github/labels.yml\n\n\njobs:\n  label-maker:\n    # Skip running the job from forks.\n    if: github.repository == 'onicagroup/runway' && github.actor != 'dependabot[bot]'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Run Label Maker\n        uses: crazy-max/ghaction-github-labeler@v5\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          yaml-file: .github/labels.yml\n          skip-delete: false\n          dry-run: ${{ github.ref != 'refs/heads/master' }}\n", "state": "active", "repository": "onicagroup/runway"}
{"mined_at": "2024-07-15T14:43:09.490174", "created_at": "2021-05-18T16:41:43+02:00", "updated_at": "2021-05-18T16:41:43+02:00", "name": "PR Target (opened)", "path": ".github/workflows/on-pr-target-opened.yml", "contents": "name: PR Target (opened)\n\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n\n\njobs:\n  assign-author:\n    name: Assign Author to PR\n    if: github.actor != 'dependabot[bot]'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: technote-space/assign-author@v1  # cspell:ignore technote\n  label-pr:\n    name: Label PR\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v6.0.0\n        with:\n          disable-releaser: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "onicagroup/runway"}
{"mined_at": "2024-07-15T14:43:10.647112", "created_at": "2021-05-18T17:16:56+02:00", "updated_at": "2021-05-18T17:37:13+02:00", "name": "PR", "path": ".github/workflows/on-pr.yml", "contents": "name: PR\n\n\non:\n  pull_request:\n\n\njobs:\n  branch-name:\n    name: Enforce Branch Name\n    runs-on: ubuntu-latest\n    steps:\n      - uses: deepakputhraya/action-branch-name@v1.0.0  # cspell:ignore deepakputhraya\n        with:\n          regex: ([a-z])+\\/([a-zA-Z0-9\\-\\_])+\n          allowed_prefixes: bugfix,chore,depend,dependabot,docs,feat,feature,fix,hotfix,maint,maintain,maintenance,release\n          ignore: develop,master,release,v0_47_fixes\n", "state": "active", "repository": "onicagroup/runway"}
{"mined_at": "2024-07-15T14:43:11.663706", "created_at": "2021-05-18T14:59:54+02:00", "updated_at": "2021-05-18T15:28:49+02:00", "name": "Pyinstaller (on_push)", "path": ".github/workflows/on-push-pyinstaller.yml", "contents": "name: Pyinstaller (on_push)\n\n\non:\n  push:\n    paths:\n      - .github/scripts/cicd/build_pyinstaller.sh\n      - .github/workflows/on-push-pyinstaller.yml\n      - runway/*\n      - poetry.lock\n      - pyproject.toml\n      - runway.file.spec\n      - runway.folder.spec\n\n\nenv:\n  AWS_DEFAULT_REGION: us-east-1\n\n\njobs:\n  build-pyinstaller-onefile:\n    name: Pyinstaller \"One File\" Build\n    strategy:\n      matrix:\n        os: [macos-12, ubuntu-latest, windows-latest]\n        python-version: [3.9]\n    runs-on: ${{ matrix.os }}\n    env:\n      OS_NAME: ${{ matrix.os }}\n      # pydantic binary causes a recursion error\n      # https://github.com/pyinstaller/pyinstaller/issues/4406\n      PIP_NO_BINARY: pydantic\n    steps:\n      - name: Checkout Repo (complete)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n      # Remove apt repos that are known to break from time to time\n      # See https://github.com/actions/virtual-environments/issues/323\n      - name: Remove broken apt repos (ubuntu)\n        if: startsWith( matrix.os, 'ubuntu' )\n        run: |\n          for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done\n      - name: Install Dependencies (ubuntu)\n        if: startsWith( matrix.os, 'ubuntu' )\n        run: sudo apt-get update && sudo apt-get install sed -y\n      - name: Install Dependencies (windows)\n        if: matrix.os == 'windows-latest'\n        run: choco install make sed\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Run Build\n        run: make build-pyinstaller-file\n      - name: Upload Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: pyinstaller-onefile-${{ matrix.os }}\n          path: artifacts\n  build-pyinstaller-onefolder:\n    name: Pyinstaller \"One Folder\" Build\n    strategy:\n      matrix:\n        os: [macos-12, ubuntu-latest, windows-latest]\n        python-version: [3.9]\n    runs-on: ${{ matrix.os }}\n    env:\n      OS_NAME: ${{ matrix.os }}\n      # pydantic binary causes a recursion error\n      # https://github.com/pyinstaller/pyinstaller/issues/4406\n      PIP_NO_BINARY: pydantic\n    steps:\n      - name: Checkout Repo (complete)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n      # Remove apt repos that are known to break from time to time\n      # See https://github.com/actions/virtual-environments/issues/323\n      - name: Remove broken apt repos (ubuntu)\n        if: startsWith( matrix.os, 'ubuntu' )\n        run: |\n          for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done\n      - name: Install Dependencies (ubuntu)\n        if: startsWith( matrix.os, 'ubuntu' )\n        run: sudo apt-get update && sudo apt-get install sed -y\n      - name: Install Dependencies (windows)\n        if: matrix.os == 'windows-latest'\n        run: choco install make sed\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Run Build\n        run: make build-pyinstaller-folder\n      - name: Upload Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: pyinstaller-onefolder-${{ matrix.os }}\n          path: artifacts\n  build-npm:\n    name: Build npm 📦\n    if: github.ref == 'refs/heads/master'\n    needs:\n      - build-pyinstaller-onefolder\n    env:\n      NODE_VERSION: 18\n      NPM_PACKAGE_NAME: '@onica/runway'\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.9]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout Repo (complete)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - id: check_distance\n        name: Ensure Commit Is Not Tagged\n        continue-on-error: true\n        run: bash ./check_distance_from_tag.sh\n        working-directory: .github/scripts/cicd\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/setup-node@v4\n        if: steps.check_distance.outcome == 'success'\n        with:\n          always-auth: true\n          node-version: ${{ env.NODE_VERSION }}\n          registry-url: https://registry.npmjs.org\n          scope: '@onica'\n      # Remove apt repos that are known to break from time to time\n      # See https://github.com/actions/virtual-environments/issues/323\n      - name: Remove broken apt repos (ubuntu)\n        if: startsWith( matrix.os, 'ubuntu' )\n        run: |\n          for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done\n      - name: Install Dependencies (ubuntu)\n        if: steps.check_distance.outcome == 'success'\n        run: sudo apt-get update && sudo apt-get install sed tree -y\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Download Artifacts (macOS)\n        if: steps.check_distance.outcome == 'success'\n        uses: actions/download-artifact@v4\n        with:\n          name: pyinstaller-onefolder-macos-12\n          path: artifacts\n      - name: Download Artifacts (ubuntu)\n        if: steps.check_distance.outcome == 'success'\n        uses: actions/download-artifact@v4\n        with:\n          name: pyinstaller-onefolder-ubuntu-latest\n          path: artifacts\n      - name: Download Artifacts (windows)\n        if: steps.check_distance.outcome == 'success'\n        uses: actions/download-artifact@v4\n        with:\n          name: pyinstaller-onefolder-windows-latest\n          path: artifacts\n      - name: List Artifacts\n        if: steps.check_distance.outcome == 'success'\n        run: tree artifacts/\n      - name: npm Prep\n        if: steps.check_distance.outcome == 'success'\n        run: make npm-prep\n      - name: npm pack\n        if: steps.check_distance.outcome == 'success'\n        run: |\n          npm pack\n          rm -rf artifacts && mkdir -p artifacts\n          find . -name 'onica-runway-*.*.*.tgz' -exec mv {} artifacts/ \\;\n      - name: Skipped Publishing\n        if: steps.check_distance.outcome == 'failure'\n        run: echo \"A pre-production version was not published because the current commit is tagged for release.\"\n      - name: Upload Artifacts\n        if: steps.check_distance.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: npm-pack\n          path: artifacts\n", "state": "active", "repository": "onicagroup/runway"}
{"mined_at": "2024-07-15T14:43:12.715422", "created_at": "2020-07-31T19:49:42+02:00", "updated_at": "2020-07-31T19:49:42+02:00", "name": "Publish Release", "path": ".github/workflows/publish-on-release.yml", "contents": "name: Publish Release\n\n\non:\n  release:\n    types:\n      - published\n\nenv:\n  AWS_DEFAULT_REGION: us-east-1\n\n\njobs:\n  build-pyinstaller-onefile:\n    name: Pyinstaller \"One File\" Build\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [macos-12, ubuntu-latest, windows-latest]\n        python-version: [3.9]\n    runs-on: ${{ matrix.os }}\n    env:\n      OS_NAME: ${{ matrix.os }}\n      # pydantic binary causes a recursion error\n      # https://github.com/pyinstaller/pyinstaller/issues/4406\n      PIP_NO_BINARY: pydantic\n    steps:\n      - name: Checkout Repo (complete)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n      # Remove apt repos that are known to break from time to time\n      # See https://github.com/actions/virtual-environments/issues/323\n      - name: Remove broken apt repos (ubuntu)\n        if: startsWith( matrix.os, 'ubuntu' )\n        run: |\n          for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done\n      - name: Install Dependencies (ubuntu)\n        if: startsWith( matrix.os, 'ubuntu' )\n        run: sudo apt-get update && sudo apt-get install sed -y\n      - name: Install Dependencies (windows)\n        if: matrix.os == 'windows-latest'\n        run: choco install make sed\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Run Build\n        run: make build-pyinstaller-file\n      - name: Upload Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: pyinstaller-onefile-${{ matrix.os }}\n          path: artifacts\n  build-pyinstaller-onefolder:\n    name: Pyinstaller \"One Folder\" Build\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [macos-12, ubuntu-latest, windows-latest]\n        python-version: [3.9]\n    runs-on: ${{ matrix.os }}\n    env:\n      OS_NAME: ${{ matrix.os }}\n      # pydantic binary causes a recursion error\n      # https://github.com/pyinstaller/pyinstaller/issues/4406\n      PIP_NO_BINARY: pydantic\n    steps:\n      - name: Checkout Repo (complete)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n      # Remove apt repos that are known to break from time to time\n      # See https://github.com/actions/virtual-environments/issues/323\n      - name: Remove broken apt repos (ubuntu)\n        if: startsWith( matrix.os, 'ubuntu' )\n        run: |\n          for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done\n      - name: Install Dependencies (ubuntu)\n        if: startsWith( matrix.os, 'ubuntu' )\n        run: sudo apt-get update && sudo apt-get install sed -y\n      - name: Install Dependencies (windows)\n        if: matrix.os == 'windows-latest'\n        run: choco install make sed\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Run Build\n        run: make build-pyinstaller-folder\n      - name: Upload Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: pyinstaller-onefolder-${{ matrix.os }}\n          path: artifacts\n  build-npm:\n    name: Build npm 📦\n    needs:\n      - build-pyinstaller-onefolder\n    env:\n      NODE_VERSION: 18\n      NPM_PACKAGE_NAME: '@onica/runway'\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.9]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout Repo (complete)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/setup-node@v4\n        with:\n          always-auth: true\n          node-version: ${{ env.NODE_VERSION }}\n          registry-url: https://registry.npmjs.org\n          scope: '@onica'\n      # Remove apt repos that are known to break from time to time\n      # See https://github.com/actions/virtual-environments/issues/323\n      - name: Remove broken apt repos (ubuntu)\n        if: startsWith( matrix.os, 'ubuntu' )\n        run: |\n          for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done\n      - name: Install Dependencies (ubuntu)\n        run: sudo apt-get update && sudo apt-get install sed tree -y\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Download Artifacts (macOS)\n        uses: actions/download-artifact@v4\n        with:\n          name: pyinstaller-onefolder-macos-12\n          path: artifacts\n      - name: Download Artifacts (ubuntu)\n        uses: actions/download-artifact@v4\n        with:\n          name: pyinstaller-onefolder-ubuntu-latest\n          path: artifacts\n      - name: Download Artifacts (windows)\n        uses: actions/download-artifact@v4\n        with:\n          name: pyinstaller-onefolder-windows-latest\n          path: artifacts\n      - name: List Artifacts\n        run: tree artifacts/\n      - name: npm Prep\n        run: make npm-prep\n      - name: npm pack\n        run: |\n          npm pack\n          rm -rf artifacts && mkdir -p artifacts\n          find . -name 'onica-runway-*.*.*.tgz' -exec mv {} artifacts/ \\;\n      - name: Upload Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: npm-pack\n          path: artifacts\n  publish-npm:\n    name: Publish 📦 To npm\n    needs:\n      - build-npm\n    env:\n      CI: true\n      NODE_VERSION: 18\n      NPM_PACKAGE_NAME: '@onica/runway'\n      NODE_AUTH_TOKEN: ${{ secrets.npm_api_token }}\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.9]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n          registry-url: https://registry.npmjs.org/\n      - name: Download Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: npm-pack\n          path: artifacts\n      - name: Publish Distribution 📦 to npm\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.npm_api_token }}\n        run: |\n          find ./artifacts -name 'onica-runway-*.*.*.tgz' -exec npm publish --access public {} +\n  build-pypi:\n    name: Build PyPi 📦\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo (complete)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: 3.9\n      # Remove apt repos that are known to break from time to time\n      # See https://github.com/actions/virtual-environments/issues/323\n      - name: Remove broken apt repos (ubuntu)\n        run: |\n          for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done\n      - name: Install Dependencies (ubuntu)\n        run: sudo apt-get update && sudo apt-get install sed -y\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Run Build\n        run: make build\n      - name: Upload Distribution Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: pypi-dist\n          path: dist\n  publish-pypi:\n    name: Publish 📦 To PyPI\n    needs:\n      - build-pypi\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo (complete)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Download Distribution Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: pypi-dist\n          path: dist\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: 3.9\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - run: make version\n      - name: Publish Distribution 📦 to PyPI\n        env:\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.pypi_password }}\n        run: poetry publish\n  publish-s3:\n    name: Publish 📦 To S3\n    needs:\n      - build-pyinstaller-onefile\n    env:\n      AWS_DEFAULT_REGION: us-west-2\n      AWS_S3_BUCKET: common-runway-assets-bucket83908e77-u2xp1bj1tuhp\n      AWS_ACCESS_KEY_ID: ${{ secrets.aws_access_key }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.aws_secret_key }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: 3.9\n      - name: Download Artifacts (macOS)\n        uses: actions/download-artifact@v4\n        with:\n          name: pyinstaller-onefile-macos-12\n          path: artifacts\n      - name: Download Artifacts (ubuntu)\n        uses: actions/download-artifact@v4\n        with:\n          name: pyinstaller-onefile-ubuntu-latest\n          path: artifacts\n      - name: Download Artifacts (windows)\n        uses: actions/download-artifact@v4\n        with:\n          name: pyinstaller-onefile-windows-latest\n          path: artifacts\n      - name: Install AWS CLI & Upload 📦\n        run: |\n          pip install \"awscli~=1.18.19\"\n          aws s3 cp artifacts s3://$AWS_S3_BUCKET/runway/ --recursive --acl public-read\n  update-urlshortener:\n    name: Update URL Shortener\n    needs:\n      - publish-s3\n    env:\n      BUCKET_NAME: common-runway-assets-bucket83908e77-u2xp1bj1tuhp\n      BUCKET_REGION: us-west-2\n      TABLE: onica-urlshortener-prod\n      TABLE_REGION: us-east-1\n      VERSION: ${{ github.ref }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: 3.9\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Ensure Cache Is Healthy\n        if: runner.os != 'Windows' && steps.cache.outputs.cache-hit == 'true'\n        run: poetry run pip --version >/dev/null 2>&1 || rm -rf .venv\n      - run: poetry install --extras docs -vv\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-access-key-id: ${{ secrets.aws_access_key }}\n          aws-secret-access-key: ${{ secrets.aws_secret_key }}\n          aws-region: us-east-1\n      - name: Run Script\n        working-directory: .github/scripts/urlshortener\n        run: |\n          poetry run python update_urls.py \\\n            --bucket-name $BUCKET_NAME \\\n            --bucket-region $BUCKET_REGION \\\n            --table $TABLE \\\n            --table-region $TABLE_REGION \\\n            --version $VERSION \\\n            --latest\n  notify-on-publish:\n    name: Notify\n    needs:\n      - publish-npm\n      - publish-pypi\n      - update-urlshortener\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Microsoft Teams Notification\n        uses: skitionek/notify-microsoft-teams@v1.0.8\n        if: always()\n        with:\n          webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}\n          needs: ${{ toJson(needs) }}\n          job: ${{ toJson(job) }}\n          steps: ${{ toJson(steps) }}\n", "state": "active", "repository": "onicagroup/runway"}
{"mined_at": "2024-07-15T14:43:13.893123", "created_at": "2020-02-12T20:11:53+01:00", "updated_at": "2020-02-12T20:11:53+01:00", "name": "Release Management", "path": ".github/workflows/release-management.yml", "contents": "name: Release Management\n\non:\n  push:\n    branches:\n      - master\n      - release\n\njobs:\n  update_draft_release:\n    name: Draft release\n    runs-on: ubuntu-latest\n    steps:\n      # https://github.com/release-drafter/release-drafter\n      - uses: release-drafter/release-drafter@v6.0.0\n        env:\n          # Using a PAT here will allow releases to trigger a build/release but\n          # we're just using the actions token for the time being since we\n          # don't have anything triggered on tag.\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # Using the action token, we would need to push a tag to the repo\n          # (instead of creating one from the release interface) then connect\n          # the release draft to the tag.\n", "state": "active", "repository": "onicagroup/runway"}
{"mined_at": "2024-07-15T14:43:15.012103", "created_at": "2021-05-13T14:40:57+02:00", "updated_at": "2021-05-13T14:56:28+02:00", "name": "Spell Check", "path": ".github/workflows/spell-check.yml", "contents": "name: Spell Check\n\n# There is an official action published by cSpell.\n# v1.1.1 was tested but did not function as desired so we are using the CLI.\n\non: push\n\n\nenv:\n  NODE_VERSION: '18'\n\n\njobs:\n  spell-check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n      - run: make npm-ci\n      - run: make spellcheck\n", "state": "active", "repository": "onicagroup/runway"}
{"mined_at": "2024-07-15T14:43:17.273902", "created_at": "2021-12-17T19:58:23+01:00", "updated_at": "2021-12-17T19:58:23+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "cubewise-code/tm1py"}
{"mined_at": "2024-07-15T14:43:19.371699", "created_at": "2020-01-25T08:02:44+01:00", "updated_at": "2020-01-25T13:22:08+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request]\n\nenv:\n  PYTHON_VERSION: '3.11'\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n\n  precommit:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Install Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - uses: actions/checkout@v4\n      - name: Install pre-commit\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install pre-commit virtualenv!=20.0.6\n          pre-commit install\n      - name: Run static code inspections\n        run: pre-commit run --all-files\n\n  django-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - uses: actions/checkout@v4\n      - name: Build the test container\n        run: |\n          make build_web_test\n      - name: Set DOCKER_GID\n        run: |\n          echo DOCKER_GID=`getent group docker | cut -d: -f3` > .env\n      - name: Check migrations have been made\n        run: make check_migrations\n      - name: Run the django tests\n        run: |\n          make minio\n          docker compose run --rm celery_worker_evaluation pytest --durations 10\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build the test container\n        run: |\n          make build_web_test\n      - name: Set DOCKER_GID\n        run: |\n          echo DOCKER_GID=`getent group docker | cut -d: -f3` > .env\n      - name: Build the docs\n        run: |\n          make docs\n      - name: Deploy the documentation on main\n        if: github.ref == 'refs/heads/main'\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./app/docs/_build/html\n\n  deploy:\n    needs: [django-tests]\n    runs-on: ubuntu-latest\n    permissions:\n      # These permissions are needed to interact with GitHub's OIDC Token endpoint.\n      id-token: write\n      contents: read\n    if: github.ref == 'refs/heads/main'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build the distributable containers\n        # The cache is required for compressing the files\n        run: |\n          echo DOCKER_GID=`getent group docker | cut -d: -f3` > .env\n          docker compose up -d redis\n          make build\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: ${{ secrets.AWS_ROLE_ARN }}\n          aws-region: us-east-1\n      - name: Push to ECR\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y retry\n          retry -t 5 -- /bin/bash -c 'aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/diag-nijmegen/grand-challenge/web-base'\n          retry -t 5 -- make push_web_base\n          retry -t 5 -- /bin/bash -c 'aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/diag-nijmegen/grand-challenge/web'\n          retry -t 5 -- make push_web\n          retry -t 5 -- /bin/bash -c 'aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/diag-nijmegen/grand-challenge/http'\n          retry -t 5 -- make push_http\n          retry -t 5 -- /bin/bash -c 'aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/diag-nijmegen/grand-challenge/web-test-base'\n          retry -t 5 -- make push_web_test_base\n", "state": "active", "repository": "comic/grand-challenge.org"}
{"mined_at": "2024-07-15T14:43:20.415457", "created_at": "2022-02-25T13:49:21+01:00", "updated_at": "2022-02-25T13:49:21+01:00", "name": "Dependency Update", "path": ".github/workflows/dependency-update.yml", "contents": "name: Dependency Update\n\non:\n  schedule:\n    - cron: '27 6 * * 2'\n  workflow_dispatch:\n\nenv:\n  PYTHON_VERSION: '3.11'\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  dependency-update:\n    name: Dependency Update\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install poetry and pre-commit\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry pre-commit virtualenv!=20.0.6\n      - name: Update Depencencies\n        id: dependency-update\n        timeout-minutes: 5\n        run: |\n          poetry update --lock --no-interaction --no-ansi\n      - name: Set DOCKER_GID\n        run: |\n          echo DOCKER_GID=`getent group docker | cut -d: -f3` > .env\n      - name: Build the test container, make the docs and migrations\n        run: |\n          make build_web_test\n          make docs\n          make migrations\n      - name: Format the migrations\n        # pre-commit will exit with code 1 when the files change, this is OK\n        continue-on-error: true\n        run: |\n          git add .\n          pre-commit run --all-files\n      - name: Run the django tests\n        run: |\n          mkdir -p /tmp/coverage\n          chmod a+w /tmp/coverage\n          make minio\n          docker compose run --rm -v /tmp/coverage:/tmp/coverage celery_worker_evaluation bash -c \"COVERAGE_FILE=/tmp/coverage/.coverage pytest --cov-report term --cov=. --durations 10\"\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v4\n        with:\n          commit-message: \"Update dependencies\"\n          branch-suffix: \"short-commit-hash\"\n          delete-branch: true\n          title: \"Update dependencies\"\n          body: \"Automated dependency update, see changes to `poetry.lock`.\"\n", "state": "active", "repository": "comic/grand-challenge.org"}
{"mined_at": "2024-07-15T14:43:21.556925", "created_at": "2022-01-11T15:31:54+01:00", "updated_at": "2022-01-11T15:31:54+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "comic/grand-challenge.org"}
{"mined_at": "2024-07-15T14:43:23.625890", "created_at": "2021-08-20T22:40:19+02:00", "updated_at": "2021-09-13T02:07:12+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  schedule:\n  - cron: 00 00 * * 1\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python: ['3.8', '3.10', '3.11']\n        slepc: [noslepc]\n        include:\n        - os: macos-latest\n          python: '3.9'\n          slepc: noslepc\n        - os: ubuntu-latest\n          python: '3.9'\n          slepc: slepc\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Install pip dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox\n\n    - name: Test\n      run: |\n        tox -e py${{ matrix.python }}-${{ matrix.slepc }}\n      env:\n        PYTEST_ADDOPTS: -vv -n 2\n\n    - name: Upload coverage\n      uses: codecov/codecov-action@v3\n      with:\n        files: ./coverage.xml\n        flags: tests-${{ matrix.os }}-${{ matrix.python }}-${{ matrix.slepc }}\n        name: unittests\n        env_vars: OS,PYTHON\n        fail_ci_if_error: false\n        verbose: true\n", "state": "active", "repository": "theislab/cellrank"}
{"mined_at": "2024-07-15T14:43:24.693219", "created_at": "2021-09-10T21:50:05+02:00", "updated_at": "2023-11-08T23:49:13+01:00", "name": "Deployment", "path": ".github/workflows/deployment.yml", "contents": "name: Deployment\non:\n  push:\n    tags: [v*]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    environment: deployment\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox\n\n    - name: Build package\n      run: tox -e build-package\n\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        skip-existing: true\n        verify-metadata: true\n        verbose: true\n", "state": "active", "repository": "theislab/cellrank"}
{"mined_at": "2024-07-15T14:43:25.761750", "created_at": "2023-06-07T03:21:08+02:00", "updated_at": "2023-06-13T00:40:06+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  schedule:\n  - cron: 00 00 * * 1\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    name: Lint ${{ matrix.lint-kind }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        lint-kind: [code, docs]\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Cache pre-commit\n      uses: actions/cache@v3\n      if: ${{ matrix.lint-kind == 'code' }}\n      with:\n        path: ~/.cache/pre-commit\n        key: pre-commit-${{ env.pythonLocation }}-${{ hashFiles('**/.pre-commit-config.yaml') }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox\n\n    - name: Install PyEnchant\n      if: ${{ matrix.lint-kind == 'docs' }}\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install libenchant-2-dev\n\n    - name: Lint ${{ matrix.lint-kind }}\n      run: |\n        tox -e lint-${{ matrix.lint-kind }}\n", "state": "active", "repository": "theislab/cellrank"}
{"mined_at": "2024-07-15T14:43:28.946917", "created_at": "2020-08-08T00:37:18+02:00", "updated_at": "2023-10-12T00:50:55+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\non:\n  push\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - run: mkdir -p repos/undefx\n      - name: Checkout undefx/py3tester\n        uses: actions/checkout@v2\n        with:\n          repository: undefx/py3tester\n          path: repos/undefx/py3tester\n      - name: Checkout undefx/undef-analysis\n        uses: actions/checkout@v2\n        with:\n          repository: undefx/undef-analysis\n          path: repos/undefx/undef-analysis\n\n      - run: mkdir -p repos/delphi\n\n      - name: Checkoutcmu-delphi/operations\n        uses: actions/checkout@v2\n        with:\n          repository: cmu-delphi/operations\n          path: repos/delphi/operations\n      - name: Checkout cmu-delphi/utils\n        uses: actions/checkout@v2\n        with:\n          repository: cmu-delphi/utils\n          path: repos/delphi/utils\n      - name: Checkout cmu-delphi/github-deploy-repo\n        uses: actions/checkout@v2\n        with:\n          repository: cmu-delphi/github-deploy-repo\n          path: repos/delphi/github-deploy-repo\n      - name: Checkout THIS REPO\n        uses: actions/checkout@v2\n        with:\n          path: repos/delphi/delphi-epidata\n      - name: Checkout cmu-delphi/flu-contest\n        uses: actions/checkout@v2\n        with:\n          repository: cmu-delphi/flu-contest\n          path: repos/delphi/flu-contest\n      - name: Checkout cmu-delphi/nowcast\n        uses: actions/checkout@v2\n        with:\n          repository: cmu-delphi/nowcast\n          path: repos/delphi/nowcast\n\n      - name: Build docker images\n        run: |\n          docker build -t delphi_database_epidata -f ./repos/delphi/delphi-epidata/dev/docker/database/epidata/Dockerfile .\n          docker build -t delphi_web_python -f repos/delphi/delphi-epidata/dev/docker/python/Dockerfile .\n          sudo docker build -t delphi_redis -f repos/delphi/delphi-epidata/dev/docker/redis/Dockerfile .\n          cd ./repos/delphi/delphi-epidata\n          docker build -t delphi_web_epidata -f ./devops/Dockerfile .\n          cd ../../../\n\n      # MODULE_NAME specifies the location of the `app` variable, the actual WSGI application object to run.\n      # see https://github.com/tiangolo/meinheld-gunicorn-docker#module_name\n      - name: Start database and Redis services\n        run: |\n          docker network create --driver bridge delphi-net\n          docker run --rm -d -p 13306:3306 --network delphi-net --name delphi_database_epidata --cap-add=sys_nice delphi_database_epidata\n          docker run --rm -d -p 6379:6379 --network delphi-net --env \"REDIS_PASSWORD=1234\" --name delphi_redis delphi_redis\n          \n\n      - run: |\n          wget https://raw.githubusercontent.com/eficode/wait-for/master/wait-for\n          chmod +x wait-for\n          ./wait-for localhost:13306 -- echo 'ready'\n          sleep 10s\n\n      - name: Start delphi_web_epidata\n        run: |\n          docker run --rm -d -p 10080:80 --env \"MODULE_NAME=delphi.epidata.server.main\" --env \"SQLALCHEMY_DATABASE_URI=mysql+mysqldb://user:pass@delphi_database_epidata:3306/epidata\" --env \"FLASK_SECRET=abc\" --env \"FLASK_PREFIX=/epidata\" --env \"REDIS_HOST=delphi_redis\" --env \"REDIS_PASSWORD=1234\" --env \"API_KEY_REGISTER_WEBHOOK_TOKEN=abc\" --env \"API_KEY_ADMIN_PASSWORD=test_admin_password\" --env \"TESTING_MODE=True\" --network delphi-net --name delphi_web_epidata delphi_web_epidata\n          docker ps\n\n      - name: Run Unit Tests\n        run: |\n          docker run --rm --network delphi-net --env \"SQLALCHEMY_DATABASE_URI=mysql+mysqldb://user:pass@delphi_database_epidata:3306/epidata\" --env \"FLASK_SECRET=abc\" delphi_web_python python -m pytest --import-mode importlib repos/delphi/delphi-epidata/tests\n\n      - name: Run Integration Tests\n        run: |\n          docker run --rm --network delphi-net delphi_web_python python -m pytest --import-mode importlib repos/delphi/delphi-epidata/integrations\n\n      - name: Clean Up\n        run: |\n          docker stop delphi_database_epidata delphi_web_epidata delphi_redis\n          docker network remove delphi-net\n\n  build_js_client:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: src/client/packaging/npm\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - uses: actions/setup-node@v2\n        with:\n          node-version: '16.x'\n      - name: Cache Node.js modules\n        uses: actions/cache@v2\n        with:\n          path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS\n          key: ${{ runner.OS }}-node2-${{ hashFiles('**/package-lock.json') }}\n          restore-keys: |\n            ${{ runner.OS }}-node2-\n      - run: npm ci\n      - run: npm test\n\n  image:\n    needs: build\n    # only on main and dev branch\n    # TODO: #1112 Remove `|| github.ref == 'refs/heads/api-keys'` after transition to production status.\n    if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/api-keys'\n\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: cmu-delphi-deploy-machine\n          password: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_PAT }}\n      - name: Build Image\n        env:\n          DEVOPS_DOCKER_FILE: ./devops/Dockerfile\n        run: |\n          docker build -t repo --file ${DEVOPS_DOCKER_FILE} .\n      - name: Resolve Tag\n        id: tagname\n        run: |\n          baseRef=\"${GITHUB_REF#*/}\"\n          imageTag=\"${baseRef#*/}\"\n          if [ \"$imageTag\" = \"main\" ] ; then\n            imageTag=\"latest\"\n          fi\n          echo \"::set-output name=tag::$imageTag\"\n          echo \"::set-output name=repo::ghcr.io/${{ github.repository }}\"\n      - name: Push Dev Tag\n        run: |\n          docker tag repo ${{ steps.tagname.outputs.repo }}:${{ steps.tagname.outputs.tag }}\n          docker push ${{ steps.tagname.outputs.repo }}:${{ steps.tagname.outputs.tag }}\n      # - name: Extract version\n      #   if: startsWith(github.ref, 'refs/heads/main')\n      #   id: extract_version\n      #   run: node -pe \"'::set-output name=version::' + require('./package.json').version\"\n      - name: Trigger Webhook\n        run: |\n          # trigger a webhook update\n          curl -H \"Authorization: Bearer ${{ secrets.DELPHI_DEPLOY_WEBHOOK_TOKEN }}\" \\\n               -X POST ${{ secrets.DELPHI_DEPLOY_WEBHOOK_URL }} \\\n               -H \"Content-Type: application/x-www-form-urlencoded\" \\\n               -d \"repository=${{ steps.tagname.outputs.repo }}&tag=${{ steps.tagname.outputs.tag }}\"\n      # - name: Push Version Tag Tag\n      #   if: startsWith(github.ref, 'refs/heads/main')\n      #   run: |\n      #     docker tag repo ${{ steps.tagname.outputs.repo }}:v${{ steps.extract_version.outputs.version }}\n      #     docker push ${{ steps.tagname.outputs.repo }}:v${{ steps.extract_version.outputs.version }}\n", "state": "active", "repository": "cmu-delphi/delphi-epidata"}
{"mined_at": "2024-07-15T14:43:30.178660", "created_at": "2021-06-22T16:12:34+02:00", "updated_at": "2021-06-22T16:12:34+02:00", "name": "Create Release", "path": ".github/workflows/create-release.yml", "contents": "name: Create Release\n\non:\n  workflow_dispatch:\n    inputs:\n      versionName:\n        description: 'Semantic Version Number (i.e., 5.5.0 or patch, minor, major, prepatch, preminor, premajor, prerelease)'\n        required: true\n        default: patch\n\njobs:\n  create_release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n        with:\n          ref: main\n          ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}\n      - name: Reset dev branch\n        run: |\n          git fetch origin dev:dev\n          git reset --hard origin/dev\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Change version number\n        id: version\n        run: |\n          python -m pip install bump2version\n          echo -n \"::set-output name=next_tag::\"\n          bump2version --list ${{ github.event.inputs.versionName }} | grep new_version | sed -r s,\"^.*=\",,\n      - name: Create pull request into prod\n        uses: peter-evans/create-pull-request@v3\n        with:\n          branch: release/delphi-epidata-${{ steps.version.outputs.next_tag }}\n          commit-message: 'chore: release delphi-epidata ${{ steps.version.outputs.next_tag }}'\n          base: main\n          title: Release Delphi Epidata ${{ steps.version.outputs.next_tag }}\n          labels: chore\n          reviewers: melange396\n          assignees: melange396\n          body: |\n            Releasing Delphi Epidata ${{ steps.version.outputs.next_tag }}.\n", "state": "active", "repository": "cmu-delphi/delphi-epidata"}
{"mined_at": "2024-07-15T14:43:31.199263", "created_at": "2023-06-28T22:29:38+02:00", "updated_at": "2023-06-28T22:33:49+02:00", "name": "Dependabot auto-assign reviewer", "path": ".github/workflows/dependabot-assignments.yml", "contents": "name: Dependabot auto-assign reviewer\non: pull_request\n\npermissions:\n  pull-requests: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    env:\n      GH_TOKEN: ${{ secrets.CMU_DELPHI_AUTOMATION_MACHINE_DEPENDABOT_PAT }}\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: Assign team to PR\n        run: gh pr edit \"$PR_URL\" --add-reviewer \"cmu-delphi/code-reviewers\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n", "state": "active", "repository": "cmu-delphi/delphi-epidata"}
{"mined_at": "2024-07-15T14:43:32.202977", "created_at": "2023-10-25T19:49:55+02:00", "updated_at": "2023-10-25T19:49:55+02:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": null, "state": "active", "repository": "cmu-delphi/delphi-epidata"}
{"mined_at": "2024-07-15T14:43:33.343700", "created_at": "2021-09-22T15:38:02+02:00", "updated_at": "2021-09-22T15:38:02+02:00", "name": "Missing Signal Detector", "path": ".github/workflows/missing_signals.yaml", "contents": "name: Missing Signal Detector\n\non:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n        with:\n          ref: dev\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install Dependencies\n        run: pip install requests pandas\n      - name: Run Missing Signals Detector\n        run: python scripts/report_missing_covidcast_meta.py\n      - name: Upload Missing Artifact\n        if: failure()\n        uses: actions/upload-artifact@v2\n        with:\n          name: missing_db_signals.csv\n          path:  missing_db_signals.csv\n\n", "state": "active", "repository": "cmu-delphi/delphi-epidata"}
{"mined_at": "2024-07-15T14:43:34.414418", "created_at": "2023-10-24T23:37:01+02:00", "updated_at": "2023-11-07T22:27:12+01:00", "name": "One-time performance testing - 8th November 2023", "path": ".github/workflows/performance-tests-one-time.yml", "contents": "name: One-time performance testing - 8th November 2023\n\n# Run \"At every 30th minute on day-of-month 8 in November\"\non:\n  schedule:\n    - cron: '*/30 * 8 11 *'\n\n# Add some extra perms to comment on a PR\npermissions:\n  pull-requests: write\n  contents: read\n\njobs:\n  run-perftests:\n    # Run this on Delphi's self-hosted runner\n    runs-on: self-hosted\n    outputs:\n      request_count: ${{ steps.output.outputs.request_count }}\n      failure_count: ${{ steps.output.outputs.failure_count }}\n      med_time: ${{ steps.output.outputs.med_time }}\n      avg_time: ${{ steps.output.outputs.avg_time }}\n      min_time: ${{ steps.output.outputs.min_time }}\n      max_time: ${{ steps.output.outputs.max_time }}\n      requests_per_sec: ${{ steps.output.outputs.requests_per_sec }}\n    steps:\n      - name: Set up WireGuard\n        uses: egor-tensin/setup-wireguard@v1.2.0\n        with:\n          endpoint: '${{ secrets.WG_PERF_ENDPOINT }}'\n          endpoint_public_key: '${{ secrets.WG_PERF_ENDPOINT_PUBLIC_KEY }}'\n          ips: '${{ secrets.WG_PERF_IPS }}'\n          allowed_ips: '${{ secrets.WG_PERF_ALLOWED_IPS }}'\n          private_key: '${{ secrets.WG_PERF_PRIVATE_KEY }}'\n      - name: Clean files from previous runs\n        uses: AutoModality/action-clean@v1\n      - name: Check out repository\n        uses: actions/checkout@v3\n      - name: Set up repository # mimics install.sh in the README except that delphi is cloned from the PR rather than main\n        run: |\n          cd ..\n          rm -rf driver\n          mkdir -p driver/repos/delphi\n          cd driver/repos/delphi\n          git clone https://github.com/cmu-delphi/operations\n          git clone https://github.com/cmu-delphi/utils\n          git clone https://github.com/cmu-delphi/flu-contest\n          git clone https://github.com/cmu-delphi/nowcast\n          cd ../../\n\n          cd ..\n          cp -R delphi-epidata driver/repos/delphi/delphi-epidata\n          cd -\n\n          ln -s repos/delphi/delphi-epidata/dev/local/Makefile\n      - name: Build & run epidata\n        run: |\n          cd ../driver\n          sudo make web sql=\"${{ secrets.DB_CONN_STRING }}\" rate_limit=\"999999/second\"\n          sudo make redis\n      - name: Check out delphi-admin\n        uses: actions/checkout@v3\n        with:\n          repository: cmu-delphi/delphi-admin\n          token: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_PAT }}\n          path: delphi-admin\n      - name: Build & run Locust\n        continue-on-error: true # sometimes ~2-5 queries fail, we shouldn't end the run if that's the case\n        env:\n          PERFTEST_API_KEY: ${{secrets.PERFTEST_API_KEY}}\n        run: |\n          cd delphi-admin/load-testing/locust\n          docker build -t locust .\n          export CSV=v4-requests-small.csv\n          touch output_stats.csv && chmod 666 output_stats.csv\n          touch output_stats_history.csv && chmod 666 output_stats_history.csv\n          touch output_failures.csv && chmod 666 output_failures.csv\n          touch output_exceptions.csv && chmod 666 output_exceptions.csv\n          docker run --net=host -v $PWD:/mnt/locust -e CSV=\"/mnt/locust/${CSV}\" locust -f /mnt/locust/v4.py --host http://127.0.0.1:10080/ --users 10 --spawn-rate 1 --headless -i \"$(cat ${CSV} | wc -l)\" --csv=/mnt/locust/output\n      - name: Produce output for summary\n        id: output\n        uses: jannekem/run-python-script-action@v1\n        with:\n          script: |\n            import os\n\n            def write_string(name, value):\n              with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:\n                print(f'{name}={value}', file=fh)\n\n            def write_float(name, value):\n              write_string(name, \"{:.2f}\".format(float(value)))\n\n            with open(\"delphi-admin/load-testing/locust/output_stats.csv\", \"r\", encoding=\"utf-8\", errors=\"ignore\") as scraped:\n              final_line = scraped.readlines()[-1].split(\",\")\n              write_string('request_count', final_line[2])\n              write_string('failure_count', final_line[3])\n              write_float('med_time', final_line[4])\n              write_float('avg_time', final_line[5])\n              write_float('min_time', final_line[6])\n              write_float('max_time', final_line[7])\n              write_float('requests_per_sec', final_line[9])\n\n      - name: Archive results as artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: locust-output\n          path: |\n            delphi-admin/load-testing/locust/output_*.csv\n", "state": "active", "repository": "cmu-delphi/delphi-epidata"}
{"mined_at": "2024-07-15T14:43:35.472680", "created_at": "2023-02-17T15:59:12+01:00", "updated_at": "2023-02-17T15:59:12+01:00", "name": "Performance testing", "path": ".github/workflows/performance-tests.yml", "contents": "name: Performance testing\n\n# Run when a PR comment is created (issues and PRs are considered the same entity in the GitHub API)\non:\n  issue_comment:\n    types: [created]\n\n# Add some extra perms to comment on a PR\npermissions:\n  pull-requests: write\n  contents: read\n\njobs:\n  run-perftests:\n    # Make sure 1. this is a PR, not an issue 2. it contains \"/run performance test\" anywhere in the body\n    if: github.event.issue.pull_request && contains(github.event.comment.body, '/run performance test')\n    # Run this on Delphi's self-hosted runner\n    runs-on: self-hosted\n    outputs:\n      request_count: ${{ steps.output.outputs.request_count }}\n      failure_count: ${{ steps.output.outputs.failure_count }}\n      med_time: ${{ steps.output.outputs.med_time }}\n      avg_time: ${{ steps.output.outputs.avg_time }}\n      min_time: ${{ steps.output.outputs.min_time }}\n      max_time: ${{ steps.output.outputs.max_time }}\n      requests_per_sec: ${{ steps.output.outputs.requests_per_sec }}\n    steps:\n      - name: Set up WireGuard\n        uses: egor-tensin/setup-wireguard@v1.2.0\n        with:\n          endpoint: '${{ secrets.WG_PERF_ENDPOINT }}'\n          endpoint_public_key: '${{ secrets.WG_PERF_ENDPOINT_PUBLIC_KEY }}'\n          ips: '${{ secrets.WG_PERF_IPS }}'\n          allowed_ips: '${{ secrets.WG_PERF_ALLOWED_IPS }}'\n          private_key: '${{ secrets.WG_PERF_PRIVATE_KEY }}'\n      - name: Clean files from previous runs\n        uses: AutoModality/action-clean@v1\n      - name: Check out repository\n        uses: actions/checkout@v3\n      # Previous step checks out default branch, so we check out the pull request's branch\n      - name: Switch to PR branch\n        run: |\n          hub pr checkout ${{ github.event.issue.number }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Set up repository # mimics install.sh in the README except that delphi is cloned from the PR rather than main\n        run: |\n          cd ..\n          rm -rf driver\n          mkdir -p driver/repos/delphi\n          cd driver/repos/delphi\n          git clone https://github.com/cmu-delphi/operations\n          git clone https://github.com/cmu-delphi/utils\n          git clone https://github.com/cmu-delphi/flu-contest\n          git clone https://github.com/cmu-delphi/nowcast\n          cd ../../\n\n          cd ..\n          cp -R delphi-epidata driver/repos/delphi/delphi-epidata\n          cd -\n\n          ln -s repos/delphi/delphi-epidata/dev/local/Makefile\n      - name: Build & run epidata\n        run: |\n          cd ../driver\n          sudo make web sql=\"${{ secrets.DB_CONN_STRING }}\" rate_limit=\"999999/second\"\n          sudo make redis\n      - name: Check out delphi-admin\n        uses: actions/checkout@v3\n        with:\n          repository: cmu-delphi/delphi-admin\n          token: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_PAT }}\n          path: delphi-admin\n      - name: Build & run Locust\n        continue-on-error: true # sometimes ~2-5 queries fail, we shouldn't end the run if that's the case\n        env:\n          PERFTEST_API_KEY: ${{secrets.PERFTEST_API_KEY}}\n        run: |\n          cd delphi-admin/load-testing/locust\n          docker build -t locust .\n          export CSV=v4-requests-small.csv\n          touch output_stats.csv && chmod 666 output_stats.csv\n          touch output_stats_history.csv && chmod 666 output_stats_history.csv\n          touch output_failures.csv && chmod 666 output_failures.csv\n          touch output_exceptions.csv && chmod 666 output_exceptions.csv\n          docker run --net=host -v $PWD:/mnt/locust -e CSV=\"/mnt/locust/${CSV}\" locust -f /mnt/locust/v4.py --host http://127.0.0.1:10080/ --users 10 --spawn-rate 1 --headless -i \"$(cat ${CSV} | wc -l)\" --csv=/mnt/locust/output\n      - name: Produce output for summary\n        id: output\n        uses: jannekem/run-python-script-action@v1\n        with:\n          script: |\n            import os\n\n            def write_string(name, value):\n              with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:\n                print(f'{name}={value}', file=fh)\n\n            def write_float(name, value):\n              write_string(name, \"{:.2f}\".format(float(value)))\n\n            with open(\"delphi-admin/load-testing/locust/output_stats.csv\", \"r\", encoding=\"utf-8\", errors=\"ignore\") as scraped:\n              final_line = scraped.readlines()[-1].split(\",\")\n              write_string('request_count', final_line[2])\n              write_string('failure_count', final_line[3])\n              write_float('med_time', final_line[4])\n              write_float('avg_time', final_line[5])\n              write_float('min_time', final_line[6])\n              write_float('max_time', final_line[7])\n              write_float('requests_per_sec', final_line[9])\n\n      - name: Archive results as artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: locust-output\n          path: |\n            delphi-admin/load-testing/locust/output_*.csv\n\n  comment-success:\n    runs-on: ubuntu-latest\n    if: success()\n    needs: run-perftests\n    steps:\n      - name: Comment run results\n        env:\n          GITHUB_WORKFLOW_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        uses: actions/github-script@v5\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: `✅ Performance tests complete! Result summary:\n              - Total requests: **${{ needs.run-perftests.outputs.request_count }}**\n              - Total failures: **${{ needs.run-perftests.outputs.failure_count }}**\n              - Min response time: **${{ needs.run-perftests.outputs.min_time }} ms**\n              - Max response time: **${{ needs.run-perftests.outputs.max_time }} ms**\n              - Average response time: **${{ needs.run-perftests.outputs.avg_time }} ms**\n              - Median response time: **${{ needs.run-perftests.outputs.med_time }} ms**\n              - Requests per second: **${{ needs.run-perftests.outputs.requests_per_sec }}**\n              \n              Click here to view full results: ${{ env.GITHUB_WORKFLOW_URL }}.`\n            })\n  \n  comment-failure:\n    runs-on: ubuntu-latest\n    if: failure()\n    needs: run-perftests\n    steps:\n      - name: Comment run results\n        env:\n          GITHUB_WORKFLOW_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        uses: actions/github-script@v5\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: `❌ Performance tests failed! Click here to view full results: ${{ env.GITHUB_WORKFLOW_URL }}.`\n            })\n", "state": "active", "repository": "cmu-delphi/delphi-epidata"}
{"mined_at": "2024-07-15T14:43:36.629413", "created_at": "2021-06-22T16:12:34+02:00", "updated_at": "2021-06-22T16:12:34+02:00", "name": "Release Helper", "path": ".github/workflows/release-helper.yml", "contents": "name: Release Helper\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  correct_repository:\n    runs-on: ubuntu-latest\n    steps:\n      - name: fail on fork\n        if: github.repository_owner != 'cmu-delphi'\n        run: exit 1\n\n  create_release:\n    needs: correct_repository\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n        with:\n          ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Extract version\n        id: extract_version\n        run: |\n          python -m pip install bump2version\n          echo -n \"::set-output name=version::\"\n          bump2version --dry-run --list patch | grep ^current_version | sed -r s,\"^.*=\",,\n      - name: Create Release\n        id: create_release\n        uses: release-drafter/release-drafter@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          version: ${{ steps.extract_version.outputs.version }}\n          publish: true\n    outputs:\n      version: ${{ steps.extract_version.outputs.version }}\n      upload_url: ${{ steps.create_release.outputs.upload_url }}\n      tag_name: ${{ steps.create_release.outputs.tag_name }}\n\n  release_python_client:\n    needs: create_release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install build dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build wheel twine\n      - name: Prepare package\n        run: |\n          cp src/client/*.py src/client/packaging/pypi/delphi_epidata/\n      - name: Create release\n        working-directory: src/client/packaging/pypi\n        run: |\n          python -m build --sdist --wheel\n      - uses: actions/upload-artifact@v2\n        with:\n          name: delphi_epidata_py\n          path: src/client/packaging/pypi/dist/*.tar.gz\n      - name: Upload Release Asset\n        uses: AButler/upload-release-assets@v2.0\n        with:\n          files: \"src/client/packaging/pypi/dist/*.tar.gz\"\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          release-tag: ${{ needs.create_release.outputs.tag_name }}\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.DELPHI_PYPI_PROD_TOKEN }}\n          packages-dir: src/client/packaging/pypi/dist/\n          skip-existing: true\n          # repository_url: https://test.pypi.org/legacy/\n\n  release_js_client:\n    needs: create_release\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: src/client/packaging/npm\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n      - uses: actions/setup-node@v2\n        with:\n          node-version: '16.x'\n      - name: Cache Node.js modules\n        uses: actions/cache@v2\n        with:\n          path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS\n          key: ${{ runner.OS }}-node2-${{ hashFiles('**/package-lock.json') }}\n          restore-keys: |\n            ${{ runner.OS }}-node2-\n      - run: npm ci\n      - run: npm test\n      - run: npm pack\n      - name: Rename to a different name\n        run: for f in *.tgz; do mv \"$f\" \"$(echo \"$f\" | sed s/delphi_epidata-/delphi_epidata_js-/)\"; done\n      - uses: actions/upload-artifact@v2\n        with:\n          name: delphi_epidata_js\n          path: src/client/packaging/npm/*.tgz\n      - name: Upload Release Asset\n        uses: AButler/upload-release-assets@v2.0\n        with:\n          files: \"src/client/packaging/npm/*.tgz\"\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          release-tag: ${{ needs.create_release.outputs.tag_name }}\n      - name: Publish to NPM\n        uses: JS-DevTools/npm-publish@v1\n        with:\n          token: ${{ secrets.DELPHI_NPM_TOKEN }}\n          package: src/client/packaging/npm/package.json\n          access: public\n          check-version: true\n\n  sync_dev:\n    needs: correct_repository\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n        with:\n          ref: dev\n          ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}\n      - name: Reset dev branch\n        run: |\n          git fetch origin main:main\n          git reset --hard main\n      - name: Create pull request into dev\n        uses: peter-evans/create-pull-request@v3\n        with:\n          branch: bot/sync-main-dev\n          commit-message: \"chore: sync main-dev\"\n          base: dev\n          title: \"chore: sync main->dev\"\n          labels: chore\n          reviewers: melange396\n          assignees: melange396\n          body: |\n            Syncing Main->Dev.\n", "state": "active", "repository": "cmu-delphi/delphi-epidata"}
{"mined_at": "2024-07-15T14:43:37.674453", "created_at": "2021-07-13T16:38:18+02:00", "updated_at": "2021-07-13T16:38:18+02:00", "name": "Update Google Docs Meta Data", "path": ".github/workflows/update_gdocs_data.yml", "contents": "name: Update Google Docs Meta Data\non:\n  workflow_dispatch:\njobs:\n  update_gdocs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n        with:\n          branch: dev\n          ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pipd-${{ hashFiles('requirements.dev.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pipd-\n      - name: Install Dependencies\n        run: pip install -r requirements.dev.txt\n      - name: Update Docs\n        run: inv update-gdoc\n      - name: Create pull request into dev\n        uses: peter-evans/create-pull-request@v3\n        with:\n          branch: bot/update-docs\n          commit-message: 'chore: update docs'\n          title: Update Google Docs Meta Data\n          labels: chore\n          reviewers: melange396\n          assignees: melange396\n          body: |\n            Updating Google Docs Meta Data\n", "state": "active", "repository": "cmu-delphi/delphi-epidata"}
{"mined_at": "2024-07-15T14:43:38.665860", "created_at": "2022-01-07T23:30:50+01:00", "updated_at": "2022-01-07T23:30:50+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "cmu-delphi/delphi-epidata"}
{"mined_at": "2024-07-15T14:43:40.712283", "created_at": "2022-07-03T22:57:24+02:00", "updated_at": "2022-07-03T22:57:24+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: CI\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the \"main\" branch\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v3\n\n      # Runs a single command using the runners shell\n      - name: Run a one-line script\n        run: echo Hello, world!\n\n      # Runs a set of commands using the runners shell\n      - name: Run a multi-line script\n        run: |\n          echo Add other actions to build,\n          echo test, and deploy your project.\n", "state": "active", "repository": "afeinstein20/eleanor"}
{"mined_at": "2024-07-15T14:43:41.708828", "created_at": "2022-07-03T23:00:45+02:00", "updated_at": "2022-07-04T18:28:12+02:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest\n        python -m pip install tensorflow\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pytest\n", "state": "active", "repository": "afeinstein20/eleanor"}
{"mined_at": "2024-07-15T14:43:44.760983", "created_at": "2023-06-09T02:13:10+02:00", "updated_at": "2023-06-09T18:54:43+02:00", "name": "Black", "path": ".github/workflows/black.yml", "contents": "name: Black\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n        with:\n          options: \"--check --diff --verbose\"\n          src: \"./verticapy\"\n          version: \"~=23.0\"\n", "state": "active", "repository": "vertica/verticapy"}
{"mined_at": "2024-07-15T14:43:45.773818", "created_at": "2021-01-07T13:51:15+01:00", "updated_at": "2024-02-01T23:10:16+01:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: Installing graphviz package\n        run: sudo apt-get update && sudo apt-get install graphviz\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set up a Vertica server\n        timeout-minutes: 15\n        run: |\n          docker pull vertica/vertica-ce:latest\n          docker run -d -v /tmp:/tmp -p 5433:5433 -p 5444:5444 \\\n            --name vertica_docker \\\n            vertica/vertica-ce\n          echo \"Vertica startup ...\"\n          until docker exec vertica_docker test -f /data/vertica/VMart/agent_start.out; do \\\n            echo \"...\"; \\\n            sleep 3; \\\n          done;\n          echo \"Vertica is up\"\n          docker exec -u dbadmin vertica_docker /opt/vertica/bin/vsql -c \"\\l\"\n          docker exec -u dbadmin vertica_docker /opt/vertica/bin/vsql -c \"select version();\"\n      - name: Install dependencies\n        run: |\n          echo \"Install tox\"\n          pip install tox\n      - name: Run tests\n        run: |\n          export VP_TEST_USER=dbadmin\n          echo \"*** Calling tox based on python-version ***\"\n          echo ${{ matrix.python-version }}\n          if ${{ matrix.python-version == '3.9' }}; then\n            tox -e py39\n          elif ${{ matrix.python-version == '3.10' }}; then\n            tox -e py310\n          elif ${{ matrix.python-version == '3.11' }}; then\n            tox -e py311\n          elif ${{ matrix.python-version == '3.12' }}; then\n            tox -e py312\n          fi\n", "state": "active", "repository": "vertica/verticapy"}
{"mined_at": "2024-07-15T14:43:46.779364", "created_at": "2021-01-24T05:00:29+01:00", "updated_at": "2024-02-05T15:45:31+01:00", "name": "CI and Codecov", "path": ".github/workflows/master-codecov.yml", "contents": "name: CI and Codecov\non:\n  push:\n    branches:\n      - master\njobs:\n  codecov:\n    name: Codecov Workflow\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    \n    steps:\n      - name: Installing graphviz package\n        run: sudo apt-get update && sudo apt-get install graphviz\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set up a Vertica server\n        timeout-minutes: 15\n        run: |\n          docker pull vertica/vertica-ce:latest\n          docker run -d -v /tmp:/tmp -p 5433:5433 -p 5444:5444 \\\n            --name vertica_docker \\\n            vertica/vertica-ce\n          echo \"Vertica startup ...\"\n          until docker exec vertica_docker test -f /data/vertica/VMart/agent_start.out; do \\\n            echo \"...\"; \\\n            sleep 3; \\\n          done;\n          echo \"Vertica is up\"\n          docker exec -u dbadmin vertica_docker /opt/vertica/bin/vsql -c \"\\l\"\n          docker exec -u dbadmin vertica_docker /opt/vertica/bin/vsql -c \"select version();\"\n      - name: Install dependencies\n        run: pip install tox\n      - name: Run tests\n        run: |\n          export VP_TEST_USER=dbadmin\n          echo \"*** Calling tox based on python-version ***\"\n          echo ${{ matrix.python-version }}\n          if ${{ matrix.python-version == '3.9' }}; then\n            tox -e py39 -- --cov=./ --cov-report=xml\n          elif ${{ matrix.python-version == '3.10' }}; then\n            tox -e py310 -- --cov=./ --cov-report=xml\n          elif ${{ matrix.python-version == '3.11' }}; then\n            tox -e py311 -- --cov=./ --cov-report=xml\n          elif ${{ matrix.python-version == '3.12' }}; then\n            tox -e py312 -- --cov=./ --cov-report=xml\n          fi          \n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          flags: unittests\n", "state": "active", "repository": "vertica/verticapy"}
{"mined_at": "2024-07-15T14:43:47.889278", "created_at": "2023-06-09T03:28:18+02:00", "updated_at": "2023-06-09T20:35:23+02:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": "name: Pylint\n\non: \n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pylint\n        pip install .\n        pip install -r requirements-dev.txt\n        pip install -r requirements-testing.txt\n        pip install tensorflow\n    - name: Analysing the code with pylint\n      run: |\n        pylint --fail-under=10 --disable=typecheck,E0606,W,C,R --extension-pkg-allow-list=scipy.special $(git ls-files '*.py')\n        pylint --fail-under=9 --disable=typecheck,E,C,R $(git ls-files '*.py')\n", "state": "active", "repository": "vertica/verticapy"}
{"mined_at": "2024-07-15T14:43:48.868102", "created_at": "2021-01-20T04:34:05+01:00", "updated_at": "2021-01-20T04:34:05+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "vertica/verticapy"}
{"mined_at": "2024-07-15T14:43:51.065377", "created_at": "2021-02-08T19:57:33+01:00", "updated_at": "2023-08-25T15:53:29+02:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\n\n# Controls when the action will run.\non:\n  pull_request:\n  push:\n    branches: [ $default-branch ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nconcurrency:\n  group: tests-${{ github.head_ref }}\n  cancel-in-progress: true\n\nenv:\n  SHOWCASE_VERSION: 0.35.0\n  PROTOC_VERSION: 3.20.2\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        # Use python 3.10 for docs to match the version for the sphinx plugin\n        # https://github.com/googleapis/synthtool/pull/1891\n        with:\n          python-version: \"3.10\"\n          cache: 'pip'\n      - name: Install nox.\n        run: python -m pip install nox\n      - name: Build the documentation.\n        run: nox -s docs\n  mypy:\n    strategy:\n      matrix:\n        # Run mypy on all of the supported python versions listed in setup.py\n        # https://github.com/python/mypy/blob/master/setup.py\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python \"${{ matrix.python }}\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.python }}\"\n          cache: 'pip'\n      - name: Install nox.\n        run: python -m pip install nox\n      - name: Check type annotations.\n        run: nox -s mypy-${{ matrix.python }}\n  showcase:\n    strategy:\n      # Run showcase tests on the lowest and highest supported runtimes\n      matrix:\n        python: [\"3.7\", \"3.12\"]\n        target: [showcase, showcase_alternative_templates]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python \"${{ matrix.python }}\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.python }}\"\n          cache: 'pip'\n      - name: Install system dependencies.\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y curl pandoc unzip\n      - name: Install showcase\n        run: |\n          sudo mkdir -p /usr/src/showcase\n          sudo chown -R ${USER} /usr/src/\n          curl --location https://github.com/googleapis/gapic-showcase/releases/download/v${SHOWCASE_VERSION}/gapic-showcase-${SHOWCASE_VERSION}-linux-amd64.tar.gz --output /usr/src/showcase/showcase-${SHOWCASE_VERSION}-linux-amd64.tar.gz\n          cd /usr/src/showcase/\n          tar -xf showcase-*\n          ./gapic-showcase run &\n          cd -\n      - name: Install nox.\n        run: python -m pip install nox\n      - name: Install protoc \n        run: |\n            sudo mkdir -p /usr/src/protoc/\n            sudo chown -R ${USER} /usr/src/\n            curl --location https://github.com/google/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip --output /usr/src/protoc/protoc-${PROTOC_VERSION}.zip\n            cd /usr/src/protoc/\n            unzip protoc-${PROTOC_VERSION}.zip\n            sudo ln -s /usr/src/protoc/bin/protoc /usr/local/bin/protoc\n      - name: Run showcase tests.\n        run: nox -s ${{ matrix.target }}-${{ matrix.python }}\n  showcase-mtls:\n    if: ${{ false }}            # TODO(dovs): reenable when #1218 is fixed\n    strategy:\n      matrix:\n        target: [showcase_mtls, showcase_mtls_alternative_templates]\n      max-parallel: 1\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup temp directory\n        run: |\n          sudo mkdir -p /tmp/workspace/tests/cert/\n          sudo chown -R ${USER} /tmp/workspace/\n      - name: Set up Python \"3.12\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n      - name: Copy mtls files\n        run: cp tests/cert/mtls.* /tmp/workspace/tests/cert/\n      - name: Install system dependencies.\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y curl pandoc unzip\n      - name: Install nox.\n        run: python -m pip install nox\n      - name: Install protoc.\n        run: |\n          sudo mkdir -p /usr/src/protoc/\n          sudo chown -R ${USER} /usr/src\n          curl --location https://github.com/google/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip --output /usr/src/protoc/protoc-${PROTOC_VERSION}.zip\n          cd /usr/src/protoc/\n          unzip protoc-${PROTOC_VERSION}.zip\n          sudo ln -s /usr/src/protoc/bin/protoc /usr/local/bin/protoc\n          cd -\n      - name: Run showcase tests.\n        run:  |\n            sudo mkdir gapic_showcase\n            sudo chown ${USER} gapic_showcase\n            cd gapic_showcase\n            curl -sSL https://github.com/googleapis/gapic-showcase/releases/download/v${SHOWCASE_VERSION}/gapic-showcase-${SHOWCASE_VERSION}-linux-amd64.tar.gz | tar xz\n            ./gapic-showcase run --mtls-ca-cert=/tmp/workspace/tests/cert/mtls.crt --mtls-cert=/tmp/workspace/tests/cert/mtls.crt --mtls-key=/tmp/workspace/tests/cert/mtls.key &\n\n            cd ..\n            nox -s ${{ matrix.target }}\n  # TODO(yon-mg): add compute unit tests\n  showcase-unit:\n    strategy:\n      matrix:\n        python: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        variant: ['', _alternative_templates, _mixins, _alternative_templates_mixins]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python \"${{ matrix.python }}\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.python }}\"\n          cache: 'pip'\n      - name: Install system dependencies.\n        run: |\n            sudo apt-get update\n            sudo apt-get install -y curl pandoc unzip\n      - name: Install protoc.\n        run: |\n            sudo mkdir -p /usr/src/protoc/\n            sudo chown -R ${USER} /usr/src/\n            curl --location https://github.com/google/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip --output /usr/src/protoc/protoc-${PROTOC_VERSION}.zip\n            cd /usr/src/protoc/\n            unzip protoc-${PROTOC_VERSION}.zip\n            sudo ln -s /usr/src/protoc/bin/protoc /usr/local/bin/protoc\n      - name: Install nox.\n        run: python -m pip install nox\n      - name: Run unit tests.\n        run: nox -s showcase_unit${{ matrix.variant }}-${{ matrix.python }}\n  showcase-unit-add-iam-methods:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python \"3.12\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n      - name: Install system dependencies.\n        run: |\n            sudo apt-get update\n            sudo apt-get install -y curl pandoc unzip\n      - name: Install protoc.\n        run: |\n            sudo mkdir -p /usr/src/protoc/\n            sudo chown -R ${USER} /usr/src/\n            curl --location https://github.com/google/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip --output /usr/src/protoc/protoc-${PROTOC_VERSION}.zip\n            cd /usr/src/protoc/\n            unzip protoc-${PROTOC_VERSION}.zip\n            sudo ln -s /usr/src/protoc/bin/protoc /usr/local/bin/protoc\n      - name: Install nox.\n        run: python -m pip install nox\n      - name: Run unit tests.\n        run: nox -s showcase_unit_add_iam_methods\n  showcase-mypy:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        variant: ['', _alternative_templates]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python \"3.12\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n      - name: Install system dependencies.\n        run: |\n            sudo apt-get update\n            sudo apt-get install -y curl pandoc unzip\n      - name: Install protoc.\n        run: |\n            sudo mkdir -p /usr/src/protoc/\n            sudo chown -R ${USER} /usr/src/\n            curl --location https://github.com/google/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip --output /usr/src/protoc/protoc-${PROTOC_VERSION}.zip\n            cd /usr/src/protoc/\n            unzip protoc-${PROTOC_VERSION}.zip\n            sudo ln -s /usr/src/protoc/bin/protoc /usr/local/bin/protoc\n      - name: Install nox.\n        run: python -m pip install nox\n      - name: Typecheck the generated output.\n        run: nox -s showcase_mypy${{ matrix.variant }}\n  snippetgen:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python \"3.12\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n      - name: Install system dependencies.\n        run: |\n            sudo apt-get update\n            sudo apt-get install -y curl pandoc unzip\n      - name: Install nox.\n        run: python -m pip install nox\n      - name: Check autogenerated snippets.\n        run: nox -s snippetgen\n  unit:\n    strategy:\n      matrix:\n        python: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n      - name: Install pandoc\n        run: |\n            sudo apt-get update\n            sudo apt-get install -y pandoc gcc git\n      - name: Install nox.\n        run: |\n            python -m pip install nox\n      - name: Run unit tests.\n        run: nox -s unit-${{ matrix.python }}\n  fragment:\n    strategy:\n      matrix:\n        python: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        variant: ['', _alternative_templates]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n      - name: Install pandoc\n        run: |\n            sudo apt-get update\n            sudo apt-get install -y pandoc gcc git\n      - name: Install nox.\n        run: |\n            python -m pip install nox\n      - name: Run fragment tests.\n        run: nox -s fragment${{ matrix.variant }}-${{ matrix.python }}\n  integration:\n    runs-on: ubuntu-latest\n    container: gcr.io/gapic-images/googleapis\n    steps:\n      - uses: actions/checkout@v4\n      - name: Cache Bazel files\n        id: cache-bazel\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/bazel\n          # Note: if the container is updated, the key needs to be updated as well.\n          key: ${{ runner.os }}-bazel-20210105-${{ secrets.CACHE_VERSION }}\n      - name: Cache not found\n        if: steps.cache-bazel.outputs.cache-hit != 'true'\n        run: |\n          echo \"No cache found.\"\n      - name: Cache found\n        if: steps.cache-bazel.outputs.cache-hit == 'true'\n        run: |\n          echo -n \"Cache found. Cache size: \"\n          du -sh ~/.cache/bazel\n          echo \"If the cache seems broken, update the CACHE_VERSION secret in\"\n          echo \"https://github.com/googleapis/gapic-generator-python/settings/secrets/actions\"\n          echo \"(use any random string, any GUID will work)\"\n          echo \"and it will start over with a clean cache.\"\n          echo \"The old one will disappear after 7 days.\"\n      - name: Integration Tests\n        run: bazelisk test //tests/integration/... --test_output=errors\n\n  goldens-lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n      - name: Install nox.\n        run: |\n            python -m pip install nox\n      - name: Run blacken and lint on the generated output.\n        run: |\n          nox -f tests/integration/goldens/asset/noxfile.py -s mypy-3.12 blacken lint\n          nox -f tests/integration/goldens/credentials/noxfile.py -s mypy-3.12 blacken lint\n          nox -f tests/integration/goldens/eventarc/noxfile.py -s mypy-3.12 blacken lint\n          nox -f tests/integration/goldens/logging/noxfile.py -s mypy-3.12 blacken lint\n          nox -f tests/integration/goldens/redis/noxfile.py -s mypy-3.12 blacken lint\n  goldens-prerelease:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n      - name: Install nox.\n        run: |\n            python -m pip install nox\n      - name: Run the prerelease_deps nox session\n        # Exclude testing for asset which requires dependency google-cloud-org-policy\n        # in order to run unit tests\n        # See https://github.com/googleapis/gapic-generator-python/issues/1806\n        run: |\n          nox -f tests/integration/goldens/credentials/noxfile.py -s prerelease_deps\n          nox -f tests/integration/goldens/eventarc/noxfile.py -s prerelease_deps\n          nox -f tests/integration/goldens/logging/noxfile.py -s prerelease_deps\n          nox -f tests/integration/goldens/redis/noxfile.py -s prerelease_deps\n  style-check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python \"3.11\"\n        uses: actions/setup-python@v5\n        with:\n          # Do not upgrade this check to python 3.12 until\n          # https://github.com/hhatto/autopep8/issues/712 is fixed\n          python-version: \"3.11\"\n          cache: 'pip'\n      - name: Install autopep8\n        run: |\n            python -m pip install autopep8\n      - name: Check diff\n        run: |\n            find gapic tests -name \"*.py\" -not -path 'tests/**/goldens/*' | xargs autopep8 --diff --exit-code\n", "state": "active", "repository": "googleapis/gapic-generator-python"}
{"mined_at": "2024-07-15T14:43:52.177837", "created_at": "2023-08-09T23:45:11+02:00", "updated_at": "2023-08-09T23:45:11+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googleapis/gapic-generator-python"}
{"mined_at": "2024-07-15T14:43:54.292151", "created_at": "2021-03-08T11:33:33+01:00", "updated_at": "2024-04-03T17:51:16+02:00", "name": "GH-Action Workflow", "path": ".github/workflows/cekit.yml", "contents": "name: GH-Action Workflow\n\non:\n  push:\n    branches:\n      - develop\n      - main\n  pull_request:\n    branches:\n      - develop\n\njobs:\n  build:\n    # https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idif\n    if: github.repository == 'cekit/cekit' # && github.event_name == 'pull_request'\n    name: CI Testing\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]\n        os: [macos-12, ubuntu-20.04]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n    - name: Setup Linux\n      if: startsWith(matrix.os,'ubuntu')\n      run: |\n        sudo apt-get update\n        sudo apt-get -y install libkrb5-dev software-properties-common containerd runc podman docker.io skopeo\n        # https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1844894\n        sudo systemctl unmask docker\n        sudo systemctl start docker\n        docker version\n        docker info\n        podman version\n        podman info\n        pip install \"tox<4.0.0\" setuptools\n        git config --global user.email \"ci@dummy.com\" && git config --global user.name \"John Doe\"\n        echo \"$HOME/bin\" >> $GITHUB_PATH\n        mkdir $HOME/bin\n        ln -s /usr/bin/true $HOME/bin/brew\n        cd $HOME/bin && curl -sL https://github.com/openshift/source-to-image/releases/download/v1.1.13/source-to-image-v1.1.13-b54d75d3-linux-amd64.tar.gz | tar xvz\n    - name: Setup MacOS\n      if: startsWith(matrix.os,'macos')\n      run: |\n        pip install \"tox<4.0.0\" setuptools\n        echo \"Checking qemu info... $(brew list --versions qemu)\"\n        wget --no-verbose --output-document=podman.pkg https://github.com/containers/podman/releases/download/v4.9.4/podman-installer-macos-amd64.pkg\n        /usr/bin/sudo installer -allowUntrusted -pkg podman.pkg -target /\n        : # Installs to /opt/podman according to https://podman-desktop.io/docs/troubleshooting/troubleshooting-podman-on-macos#unable-to-locate-podman-engine\n        PODMAN_HOME=/opt/podman/bin\n        PATH=$PODMAN_HOME:$PATH\n        podman machine init\n        podman machine start\n        podman info\n        echo \"$PODMAN_HOME\" >> $GITHUB_PATH\n        echo \"$HOME/bin\" >> $GITHUB_PATH\n        mkdir $HOME/bin\n        ln -s /usr/bin/true $HOME/bin/brew\n        ln -s /usr/bin/true $HOME/bin/skopeo\n        ln -s /usr/bin/true $HOME/bin/buildah\n    - name: Run tests\n      run: |\n        PV=${{ matrix.python-version }}\n        echo \"Running for Python version $PV ( ${PV/./} )\"\n        make test-py\"${PV/./}\"\n    - name: Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        files: ./target/cov.xml\n        verbose: true\n#    - name: Setup tmate session (only on failure)\n#      uses: mxschmitt/action-tmate@v3\n#      if: ${{ failure() }}\n", "state": "active", "repository": "cekit/cekit"}
{"mined_at": "2024-07-15T14:43:56.334233", "created_at": "2024-07-01T16:42:25+02:00", "updated_at": "2024-07-01T16:42:25+02:00", "name": ".github/workflows/.linkspector.yml", "path": ".github/workflows/.linkspector.yml", "contents": null, "state": "active", "repository": "stfc/psyclone"}
{"mined_at": "2024-07-15T14:43:57.414413", "created_at": "2023-05-02T16:44:38+02:00", "updated_at": "2023-06-16T09:49:22+02:00", "name": "Compilation tests", "path": ".github/workflows/compilation.yml", "contents": "# -----------------------------------------------------------------------------\n# BSD 3-Clause License\n#\n# Copyright (c) 2020-2024, Science and Technology Facilities Council.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# * Redistributions of source code must retain the above copyright notice, this\n#   list of conditions and the following disclaimer.\n#\n# * Redistributions in binary form must reproduce the above copyright notice,\n#   this list of conditions and the following disclaimer in the documentation\n#   and/or other materials provided with the distribution.\n#\n# * Neither the name of the copyright holder nor the names of its\n#   contributors may be used to endorse or promote products derived from\n#   this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n# POSSIBILITY OF SUCH DAMAGE.\n# -----------------------------------------------------------------------------\n# Author A. R. Porter, STFC Daresbury Lab\n# Modified by R. W. Ford, STFC Daresbury Lab\n# Modified by A. J. Voysey, Met Office\n# Modified by J. Henrichs, Bureau of Meteorology\n# Modified by N. Nobre, STFC Daresbury Lab\n\n# This workflow will use a self-hosted runner to perform the more expensive\n# compilation tests that are not run on GHA systems. At the moment it:\n#\n#  * Runs the test suite with compilation with gfortran and nvfortran;\n#  * Builds the examples with gfortran and nvfortran (the latter with\n#    OpenACC enabled).\n#  * Builds the tutorials with gfortran and nvfortran.\n\nname: Compilation tests\n\non:\n  push\n\nenv:\n  CUDA_VERSION: 12.5.0\n  GFORTRAN_VERSION: 14.1.0\n  HDF5_VERSION: 1.14.4.3\n  NETCDF_C_VERSION: 4.9.2\n  NETCDF_FORTRAN_VERSION: 4.6.1\n  NVFORTRAN_VERSION: 24.5\n  OPENMPI_VERSION: 5.0.3\n  PYTHON_VERSION: 3.12.3\n\njobs:\n  run_if_on_mirror:\n    # Only PSyclone-mirror has the necessary self-hosted runner.\n    if: ${{ github.repository == 'stfc/PSyclone-mirror' }}\n    runs-on: self-hosted\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: recursive\n        # This is required to get the commit history for merge commits for\n        # the ci-skip check below.\n        fetch-depth: '0'\n    - name: Check for [skip ci] in commit message\n      uses: mstachniuk/ci-skip@v1\n      with:\n        # This setting causes the tests to 'fail' if [skip ci] is specified\n        fail-fast: true\n        commit-filter: '[skip ci]'\n    - name: Install dependencies\n      run: |\n        module load python/${PYTHON_VERSION}\n        python -m venv .runner_venv\n        . .runner_venv/bin/activate\n        python -m pip install --upgrade pip\n        # Uncomment the below to use the submodule version of fparser rather\n        # than the latest release from pypi.\n        # pip install external/fparser\n        pip install .[test,psydata]\n    - name: Unit tests with compilation - gfortran\n      run: |\n        . .runner_venv/bin/activate\n        module load gcc/${GFORTRAN_VERSION} openmpi/${OPENMPI_VERSION}\n        module load hdf5/${HDF5_VERSION} netcdf_c/${NETCDF_C_VERSION} netcdf_fortran/${NETCDF_FORTRAN_VERSION}\n        pytest -n 4 --f90=gfortran --f90flags=\"-ffree-line-length-none\" --compile --compileopencl src/psyclone/tests\n    - name: Unit tests with compilation - nvfortran\n      run: |\n        . .runner_venv/bin/activate\n        module load nvidia-hpcsdk/${NVFORTRAN_VERSION}\n        module load hdf5/${HDF5_VERSION} netcdf_c/${NETCDF_C_VERSION} netcdf_fortran/${NETCDF_FORTRAN_VERSION}\n        pytest -n 4 --f90=nvfortran --compile --compileopencl src/psyclone/tests\n    - name: Examples with compilation - gfortran\n      run: |\n        . .runner_venv/bin/activate\n        make -C examples allclean\n        # Although we're using gfortran, we link with CUDA's OpenCL library\n        module load gcc/${GFORTRAN_VERSION} openmpi/${OPENMPI_VERSION}\n        module load hdf5/${HDF5_VERSION} netcdf_c/${NETCDF_C_VERSION} netcdf_fortran/${NETCDF_FORTRAN_VERSION}\n        module load cuda/${CUDA_VERSION}\n        F90=gfortran make -C examples compile\n    - name: Tutorials with compilation - gfortran\n      run: |\n        . .runner_venv/bin/activate\n        make -C tutorial/practicals allclean\n        module load gcc/${GFORTRAN_VERSION} openmpi/${OPENMPI_VERSION}\n        module load hdf5/${HDF5_VERSION} netcdf_c/${NETCDF_C_VERSION} netcdf_fortran/${NETCDF_FORTRAN_VERSION}\n        make -C tutorial/practicals compile\n    - name: Examples with compilation - nvfortran\n      run: |\n        . .runner_venv/bin/activate\n        make -C examples allclean\n        module load nvidia-hpcsdk/${NVFORTRAN_VERSION}\n        module load hdf5/${HDF5_VERSION} netcdf_c/${NETCDF_C_VERSION} netcdf_fortran/${NETCDF_FORTRAN_VERSION}\n        F90=nvfortran F90FLAGS=\"-acc -Minfo=all\" make -C examples compile\n    - name: Tutorials with compilation - nvfortran\n      run: |\n        . .runner_venv/bin/activate\n        make -C tutorial/practicals allclean\n        module load nvidia-hpcsdk/${NVFORTRAN_VERSION}\n        module load hdf5/${HDF5_VERSION} netcdf_c/${NETCDF_C_VERSION} netcdf_fortran/${NETCDF_FORTRAN_VERSION}\n        # TODO #2251. Cannot build the LFRic practicals with nvfortran 23.5-23.9\n        # because the compilation of nan_test.f90 gives an ICE.\n        F90=nvfortran F90FLAGS=\"-acc -Minfo=all\" make -C tutorial/practicals/nemo compile\n", "state": "active", "repository": "stfc/psyclone"}
{"mined_at": "2024-07-15T14:43:58.949495", "created_at": "2023-07-07T16:00:09+02:00", "updated_at": "2023-07-24T14:15:23+02:00", "name": "LFRic Integration Tests", "path": ".github/workflows/lfric_test.yml", "contents": "# -----------------------------------------------------------------------------\n# BSD 3-Clause License\n#\n# Copyright (c) 2023-2024, Science and Technology Facilities Council.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# * Redistributions of source code must retain the above copyright notice, this\n#   list of conditions and the following disclaimer.\n#\n# * Redistributions in binary form must reproduce the above copyright notice,\n#   this list of conditions and the following disclaimer in the documentation\n#   and/or other materials provided with the distribution.\n#\n# * Neither the name of the copyright holder nor the names of its\n#   contributors may be used to endorse or promote products derived from\n#   this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n# POSSIBILITY OF SUCH DAMAGE.\n# -----------------------------------------------------------------------------\n# Author S. Siso, STFC Daresbury Lab\n\n# This workflow will use a self-hosted runner to perform the more expensive\n# integrations tests that are not run on GHA systems.\n\nname: LFRic Integration Tests\n\non:\n  push\n\njobs:\n  run_if_on_mirror:\n    if: ${{ github.repository == 'stfc/PSyclone-mirror' }}\n    runs-on: self-hosted\n    env:\n      LFRIC_APPS_REV: 1192\n      PYTHON_VERSION: 3.12.3\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: recursive\n        # This is required to get the commit history for merge commits for\n        # the ci-skip check below.\n        fetch-depth: '0'\n    - name: Check for [skip ci] in commit message\n      uses: mstachniuk/ci-skip@v1\n      with:\n        # This setting causes the tests to 'fail' if [skip ci] is specified\n        fail-fast: true\n        commit-filter: '[skip ci]'\n    - name: Install dependencies\n      run: |\n        # Use a specific version of Python (rather than the system-wide one).\n        module load python/${PYTHON_VERSION}\n        python -m venv .runner_venv\n        . .runner_venv/bin/activate\n        python -m pip install --upgrade pip\n        # Uncomment the below to use the submodule version of fparser rather\n        # than the latest release from pypi.\n        # pip install external/fparser\n        pip install .[test]\n        pip install jinja2\n\n    # PSyclone, compile and run MetOffice LFRic with 6 MPI ranks\n    - name: LFRic passthrough (with DistributedMemory)\n      run: |\n        # Set up environment\n        source /apps/spack/spack-upstream/share/spack/setup-env.sh\n        spack load lfric-buildenv%gcc\n        source .runner_venv/bin/activate\n        export PSYCLONE_LFRIC_DIR=${GITHUB_WORKSPACE}/examples/lfric/scripts\n        export PSYCLONE_CONFIG_FILE=${PSYCLONE_LFRIC_DIR}/KGOs/lfric_psyclone.cfg\n        export LFRIC_DIR=${HOME}/LFRic/lfric_apps\n        cd ${LFRIC_DIR}\n        # Clean previous version and compile again\n        rm -rf appplications/gungho_model/working\n        ./build/local_build.py -a gungho_model\n        # Run\n        cd applications/gungho_model/example\n        cp ${PSYCLONE_LFRIC_DIR}/KGOs/lfric_gunho_configuration_4its.nml configuration.nml\n        mpirun -n 1 ../bin/gungho_model configuration.nml |& tee output.txt\n        python ${PSYCLONE_LFRIC_DIR}/compare_ouput.py ${PSYCLONE_LFRIC_DIR}/KGOs/lfric_gunho_configuration_4its_output.txt output.txt\n        cat timer.txt\n        export VAR_TIME=$(grep \"gungho_model\" timer.txt | cut -d'|' -f5)\n        export VAR_HALOS=$(grep \"gungho_model\" halo_calls_counter.txt | cut -d'|' -f5)\n        echo $GITHUB_REF_NAME $GITHUB_SHA $VAR_TIME $VAR_HALOS >> ${HOME}/store_results/lfric_passthrough_performance_history\n        ${HOME}/mongosh-2.1.1-linux-x64/bin/mongosh \\\n          \"mongodb+srv://cluster0.x8ncpxi.mongodb.net/PerformanceMonitoring\" \\\n          --quiet --apiVersion 1 --username ${{ secrets.MONGODB_USERNAME }} \\\n          --password ${{ secrets.MONGODB_PASSWORD }} \\\n          --eval 'db.GitHub_CI.insertOne({branch_name: \"'\"$GITHUB_REF_NAME\"'\", commit: \"'\"$GITHUB_SHA\"'\",\n          github_job: \"'\"$GITHUB_RUN_ID\"'\"-\"'\"$GITHUB_RUN_ATTEMPT\"'\",\n          ci_test: \"LFRic Passthrough with DM\", lfric_apps_version: '\"$LFRIC_APPS_REV\"', system: \"GlaDos\",\n          compiler:\"spack-gfortran-11\", date: new Date(), elapsed_time: '\"$VAR_TIME\"',\n          num_of_halo_exchanges: '\"$VAR_HALOS\"'})'\n\n    - name: Upload LFRic passthrough results\n      uses: exuanbo/actions-deploy-gist@v1\n      with:\n        token: ${{ secrets.GIST_TOKEN }}\n        gist_id: a4049a0fc0a0a11651a5ce6a04d76160\n        file_path: ../../../../store_results/lfric_passthrough_performance_history\n\n    # PSyclone, compile and run MetOffice LFRic with all optimisations and 6 OpenMP threads\n    - name: LFRic with all transformations\n      run: |\n        # Set up environment\n        source /apps/spack/spack-upstream/share/spack/setup-env.sh\n        spack load lfric-buildenv%gcc\n        source .runner_venv/bin/activate\n        export PSYCLONE_LFRIC_DIR=${GITHUB_WORKSPACE}/examples/lfric/scripts\n        export PSYCLONE_CONFIG_FILE=${PSYCLONE_LFRIC_DIR}/KGOs/lfric_psyclone.cfg\n        export LFRIC_DIR=${HOME}/LFRic/lfric_apps\n        export OPT_DIR=${LFRIC_DIR}/applications/gungho_model/optimisation/psyclone-test\n        cd ${LFRIC_DIR}\n        # Psyclone scripts must now be under 'optimisation' and be called 'global.py'\n        mkdir -p applications/gungho_model/optimisation/psyclone-test\n        cp ${PSYCLONE_LFRIC_DIR}/everything_everywhere_all_at_once.py ${OPT_DIR}/global.py\n        # Clean previous version and compile again\n        rm -rf appplications/gungho_model/working\n        ./build/local_build.py -a gungho_model -p psyclone-test\n        # Run\n        cd applications/gungho_model/example\n        cp ${PSYCLONE_LFRIC_DIR}/KGOs/lfric_gunho_configuration_4its.nml configuration.nml\n        export OMP_NUM_THREADS=6\n        mpirun -n 1 ../bin/gungho_model configuration.nml |& tee output.txt\n        python ${PSYCLONE_LFRIC_DIR}/compare_ouput.py ${PSYCLONE_LFRIC_DIR}/KGOs/lfric_gunho_configuration_4its_output.txt output.txt\n        cat timer.txt\n        export VAR_TIME=$(grep \"gungho_model\" timer.txt | cut -d'|' -f5)\n        export VAR_HALOS=$(grep \"gungho_model\" halo_calls_counter.txt | cut -d'|' -f5)\n        echo $GITHUB_REF_NAME $GITHUB_SHA $VAR_TIME $VAR_HALOS >> ${HOME}/store_results/lfric_optimised_performance_history\n        ${HOME}/mongosh-2.1.1-linux-x64/bin/mongosh \\\n          \"mongodb+srv://cluster0.x8ncpxi.mongodb.net/PerformanceMonitoring\" \\\n          --quiet --apiVersion 1 --username ${{ secrets.MONGODB_USERNAME }} \\\n          --password ${{ secrets.MONGODB_PASSWORD }} \\\n          --eval 'db.GitHub_CI.insertOne({branch_name: \"'\"$GITHUB_REF_NAME\"'\", commit: \"'\"$GITHUB_SHA\"'\",\n          github_job: \"'\"$GITHUB_RUN_ID\"'\"-\"'\"$GITHUB_RUN_ATTEMPT\"'\",\n          ci_test: \"LFRic all transformations\", lfric_version: '\"$LFRIC_APPS_REV\"', omp_threads: '\"$OMP_NUM_THREADS\"',\n          system: \"GlaDos\", compiler:\"spack-gfortran-11\", date: new Date(), elapsed_time: '\"$VAR_TIME\"',\n          num_of_halo_exchanges: '\"$VAR_HALOS\"'})'\n\n    - name: Upload LFRic optimised results\n      uses: exuanbo/actions-deploy-gist@v1\n      with:\n        token: ${{ secrets.GIST_TOKEN }}\n        gist_id: a4049a0fc0a0a11651a5ce6a04d76160\n        file_path: ../../../../store_results/lfric_optimised_performance_history\n", "state": "active", "repository": "stfc/psyclone"}
{"mined_at": "2024-07-15T14:43:59.944658", "created_at": "2024-07-01T14:20:45+02:00", "updated_at": "2024-07-01T19:05:33+02:00", "name": "Linkspector", "path": ".github/workflows/linkcheck.yml", "contents": null, "state": "active", "repository": "stfc/psyclone"}
{"mined_at": "2024-07-15T14:44:00.962403", "created_at": "2024-07-01T14:20:16+02:00", "updated_at": "2024-07-01T14:20:16+02:00", "name": ".github/workflows/linkspector.yml", "path": ".github/workflows/linkspector.yml", "contents": null, "state": "active", "repository": "stfc/psyclone"}
{"mined_at": "2024-07-15T14:44:02.024608", "created_at": "2023-05-10T16:06:27+02:00", "updated_at": "2024-06-10T18:13:02+02:00", "name": "NEMO Integration Tests", "path": ".github/workflows/nemo_tests.yml", "contents": "# -----------------------------------------------------------------------------\n# BSD 3-Clause License\n#\n# Copyright (c) 2024, Science and Technology Facilities Council.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# * Redistributions of source code must retain the above copyright notice, this\n#   list of conditions and the following disclaimer.\n#\n# * Redistributions in binary form must reproduce the above copyright notice,\n#   this list of conditions and the following disclaimer in the documentation\n#   and/or other materials provided with the distribution.\n#\n# * Neither the name of the copyright holder nor the names of its\n#   contributors may be used to endorse or promote products derived from\n#   this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n# POSSIBILITY OF SUCH DAMAGE.\n# -----------------------------------------------------------------------------\n# Author S. Siso, STFC Daresbury Lab\n\n# This workflow will use a self-hosted runner to perform the more expensive\n# integrations tests that are not run on GHA systems.\n\nname: NEMO Integration Tests\n\non:\n  push\n\njobs:\n  run_if_on_mirror:\n    if: ${{ github.repository == 'stfc/PSyclone-mirror' }}\n    runs-on: self-hosted\n    env:\n      HDF5_VERSION: 1.14.4.3\n      NETCDF_C_VERSION: 4.9.2\n      NETCDF_FORTRAN_VERSION: 4.6.1\n      NVFORTRAN_VERSION: 23.7\n      ONEAPI_VERSION: 2024.1.0\n      PERL_VERSION: 5.38.2\n      PYTHON_VERSION: 3.12.3\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: recursive\n        # This is required to get the commit history for merge commits for\n        # the ci-skip check below.\n        fetch-depth: '0'\n    - name: Check for [skip ci] in commit message\n      uses: mstachniuk/ci-skip@v1\n      with:\n        # This setting causes the tests to 'fail' if [skip ci] is specified\n        fail-fast: true\n        commit-filter: '[skip ci]'\n    - name: Install dependencies\n      run: |\n        module load python/${PYTHON_VERSION}\n        python -m venv .runner_venv\n        . .runner_venv/bin/activate\n        python -m pip install --upgrade pip\n        # Uncomment the below to use the submodule version of fparser rather\n        # than the latest release from pypi.\n        # pip install external/fparser\n        pip install .[test]\n        # Compile nvidia profiling tools\n        module load nvidia-hpcsdk/${NVFORTRAN_VERSION}\n        cd lib/profiling/nvidia/\n        F90=nvfortran make\n\n    # PSyclone passthrough for 5.0-beta of NEMO.\n    - name: NEMO 5.0 beta passthrough without optimisation\n      run: |\n        . .runner_venv/bin/activate\n        export PSYCLONE_NEMO_DIR=${GITHUB_WORKSPACE}/examples/nemo/scripts\n        # PSYCLONE_HOME has `/bin` appended to it by the build system.\n        export PSYCLONE_HOME=${PWD}/.runner_venv\n        export NEMO_DIR=${HOME}/NEMOv5\n        cd $NEMO_DIR\n        module load nvidia-hpcsdk/${NVFORTRAN_VERSION}\n        module load hdf5/${HDF5_VERSION} netcdf_c/${NETCDF_C_VERSION} netcdf_fortran/${NETCDF_FORTRAN_VERSION}\n        module load perl/${PERL_VERSION}\n        # We compile at -O1 to permit comparison of the results. (N.B. this test\n        # passes at -O3 with the Intel ifx compiler.)\n        ./makenemo -r BENCH -m linux_nvidia_O1 -n BENCH_PASSTHROUGH -p passthrough del_key \"key_xios key_iomput key_top\" add_key \"key_nosignedzero\" clean -y\n        ./makenemo -r BENCH -m linux_nvidia_O1 -n BENCH_PASSTHROUGH -p passthrough del_key \"key_xios key_iomput key_top\" add_key \"key_nosignedzero\" -j 4\n        cd $NEMO_DIR/tests/BENCH_PASSTHROUGH/EXP00\n        mpirun -np 4 ./nemo\n        diff run.stat ${PSYCLONE_NEMO_DIR}/KGOs/run.stat.bench.orca2.4mpi.10steps\n        export VAR_TIME=$(awk '/ step /{print $3}' timing.output | head -n 1 | sed -e 's/s//')\n        echo \"Time-stepping duration = \" $VAR_TIME\n\n    # PSyclone passthrough for MetOffice NEMO\n    - name: NEMO MetOffice Passthrough\n      run: |\n        . .runner_venv/bin/activate\n        export PSYCLONE_NEMO_DIR=${GITHUB_WORKSPACE}/examples/nemo/scripts\n        export NEMO_DIR=${HOME}/NEMO\n        cd $PSYCLONE_NEMO_DIR\n        module load nvidia-hpcsdk/${NVFORTRAN_VERSION}\n        module load hdf5/${HDF5_VERSION} netcdf_c/${NETCDF_C_VERSION} netcdf_fortran/${NETCDF_FORTRAN_VERSION}\n        module load perl/${PERL_VERSION}\n        make -j 4 passthrough\n        make -j 4 compile-passthrough\n\n    # PSyclone, compile and run MetOffice NEMO with OpenMP for GPUs\n    - name: NEMO MetOffice OpenMP for GPU\n      run: |\n        . .runner_venv/bin/activate\n        export PSYCLONE_NEMO_DIR=${GITHUB_WORKSPACE}/examples/nemo/scripts\n        export NEMO_DIR=${HOME}/NEMO\n        cd $PSYCLONE_NEMO_DIR\n        module load nvidia-hpcsdk/${NVFORTRAN_VERSION}\n        module load hdf5/${HDF5_VERSION} netcdf_c/${NETCDF_C_VERSION} netcdf_fortran/${NETCDF_FORTRAN_VERSION}\n        module load perl/${PERL_VERSION}\n        make -j 4 openmp_gpu\n        make -j 4 compile-openmp_gpu\n        export NV_ACC_POOL_THRESHOLD=75\n        make run-openmp_gpu |& tee output.txt\n        # Check the output is as expected for the first 6 digits\n        tail -n 1 output.txt | grep -q \" it :      10\"\n        tail -n 1 output.txt | grep -q \"|ssh|_max:  0.259483\"\n        tail -n 1 output.txt | grep -q \"|U|_max:  0.458515\"\n        tail -n 1 output.txt | grep -q \"S_min:  0.482686\"\n        tail -n 1 output.txt | grep -q \"S_max:  0.407622\"\n        export VAR_TIME=$(grep -A 1 \"Elapsed Time\" output.txt | head -n 2 | tail -n 1 | awk '{print $1}')\n        echo $GITHUB_REF_NAME $GITHUB_SHA $VAR_TIME >> ${HOME}/store_results/performance_history_openmp_gpu\n        ${HOME}/mongosh-2.1.1-linux-x64/bin/mongosh \\\n          \"mongodb+srv://cluster0.x8ncpxi.mongodb.net/PerformanceMonitoring\" \\\n          --quiet --apiVersion 1 --username ${{ secrets.MONGODB_USERNAME }} \\\n          --password ${{ secrets.MONGODB_PASSWORD }} \\\n          --eval 'db.GitHub_CI.insertOne({branch_name: \"'\"$GITHUB_REF_NAME\"'\", commit: \"'\"$GITHUB_SHA\"'\",\n          github_job: \"'\"$GITHUB_RUN_ID\"'\"-\"'\"$GITHUB_RUN_ATTEMPT\"'\",\n          ci_test: \"NEMO OpenMP for GPU\", nemo_version: \"NEMO MO 4.0.2\", system: \"GlaDos\",\n          compiler:\"nvhpc-'\"$NVFORTRAN_VERSION\"'\", date: new Date(), elapsed_time: '\"$VAR_TIME\"'})'\n\n    - name: Upload NEMO OpenMP GPU results\n      uses: exuanbo/actions-deploy-gist@v1\n      with:\n        token: ${{ secrets.GIST_TOKEN }}\n        gist_id: a4049a0fc0a0a11651a5ce6a04d76160\n        file_path: ../../../../store_results/performance_history_openmp_gpu\n\n    # PSyclone, compile and run MetOffice NEMO with OpenACC kernels for GPUs\n    - name: NEMO MetOffice OpenACC kernels for GPU\n      run: |\n        . .runner_venv/bin/activate\n        export PSYCLONE_NEMO_DIR=${GITHUB_WORKSPACE}/examples/nemo/scripts\n        export NEMO_DIR=${HOME}/NEMO\n        cd $PSYCLONE_NEMO_DIR\n        module load nvidia-hpcsdk/${NVFORTRAN_VERSION}\n        module load hdf5/${HDF5_VERSION} netcdf_c/${NETCDF_C_VERSION} netcdf_fortran/${NETCDF_FORTRAN_VERSION}\n        module load perl/${PERL_VERSION}\n        make -j 4 openacc_kernels\n        COMPILER_ARCH=linux_nvidia_acc_gpu make -j 4 compile-openacc_kernels\n        export NV_ACC_POOL_THRESHOLD=75\n        make run-openacc_kernels |& tee output.txt\n        # Check the output is as expected for the first 6 digits\n        tail -n 1 output.txt | grep -q \" it :      10\"\n        tail -n 1 output.txt | grep -q \"|ssh|_max:  0.259483\"\n        tail -n 1 output.txt | grep -q \"|U|_max:  0.458515\"\n        tail -n 1 output.txt | grep -q \"S_min:  0.482686\"\n        tail -n 1 output.txt | grep -q \"S_max:  0.407622\"\n        export VAR_TIME=$(grep -A 1 \"Elapsed Time\" output.txt | head -n 2 | tail -n 1 | awk '{print $1}')\n        echo $GITHUB_REF_NAME $GITHUB_SHA $VAR_TIME >> ${HOME}/store_results/performance_history_openacc_kernels_gpu\n        ${HOME}/mongosh-2.1.1-linux-x64/bin/mongosh \\\n          \"mongodb+srv://cluster0.x8ncpxi.mongodb.net/PerformanceMonitoring\" \\\n          --quiet --apiVersion 1 --username ${{ secrets.MONGODB_USERNAME }} \\\n          --password ${{ secrets.MONGODB_PASSWORD }} \\\n          --eval 'db.GitHub_CI.insertOne({branch_name: \"'\"$GITHUB_REF_NAME\"'\", commit: \"'\"$GITHUB_SHA\"'\",\n          github_job: \"'\"$GITHUB_RUN_ID\"'\"-\"'\"$GITHUB_RUN_ATTEMPT\"'\",\n          ci_test: \"NEMO OpenACC kernels for GPU\", nemo_version: \"MEMO MO 4.0.2\", system: \"GlaDos\",\n          compiler:\"nvhpc-'\"$NVFORTRAN_VERSION\"'\", date: new Date(), elapsed_time: '\"$VAR_TIME\"'})'\n\n    - name: Upload NEMO OpenACC kernels GPU results\n      uses: exuanbo/actions-deploy-gist@v1\n      with:\n        token: ${{ secrets.GIST_TOKEN }}\n        gist_id: a4049a0fc0a0a11651a5ce6a04d76160\n        file_path: ../../../../store_results/performance_history_openacc_kernels_gpu\n\n    # PSyclone, compile and run MetOffice NEMO with OpenACC loops for GPUs\n    - name: NEMO MetOffice OpenACC loops for GPU\n      run: |\n        . .runner_venv/bin/activate\n        export PSYCLONE_NEMO_DIR=${GITHUB_WORKSPACE}/examples/nemo/scripts\n        export NEMO_DIR=${HOME}/NEMO\n        cd $PSYCLONE_NEMO_DIR\n        module load nvidia-hpcsdk/${NVFORTRAN_VERSION}\n        module load hdf5/${HDF5_VERSION} netcdf_c/${NETCDF_C_VERSION} netcdf_fortran/${NETCDF_FORTRAN_VERSION}\n        module load perl/${PERL_VERSION}\n        make -j 4 openacc_loops\n        COMPILER_ARCH=linux_nvidia_acc_gpu make -j 4 compile-openacc_loops\n        export NV_ACC_POOL_THRESHOLD=75\n        make run-openacc_loops |& tee output.txt\n        # Check the output is as expected for the first 6 digits\n        tail -n 1 output.txt | grep -q \" it :      10\"\n        tail -n 1 output.txt | grep -q \"|ssh|_max:  0.259483\"\n        tail -n 1 output.txt | grep -q \"|U|_max:  0.458515\"\n        tail -n 1 output.txt | grep -q \"S_min:  0.482686\"\n        tail -n 1 output.txt | grep -q \"S_max:  0.407622\"\n        export VAR_TIME=$(grep -A 1 \"Elapsed Time\" output.txt | head -n 2 | tail -n 1 | awk '{print $1}')\n        echo $GITHUB_REF_NAME $GITHUB_SHA $VAR_TIME >> ${HOME}/store_results/performance_history_openacc_loops_gpu\n        ${HOME}/mongosh-2.1.1-linux-x64/bin/mongosh \\\n          \"mongodb+srv://cluster0.x8ncpxi.mongodb.net/PerformanceMonitoring\" \\\n          --quiet --apiVersion 1 --username ${{ secrets.MONGODB_USERNAME }} \\\n          --password ${{ secrets.MONGODB_PASSWORD }} \\\n          --eval 'db.GitHub_CI.insertOne({branch_name: \"'\"$GITHUB_REF_NAME\"'\", commit: \"'\"$GITHUB_SHA\"'\",\n          github_job: \"'\"$GITHUB_RUN_ID\"'\"-\"'\"$GITHUB_RUN_ATTEMPT\"'\",\n          ci_test: \"NEMO OpenACC loops for GPU\", nemo_version: \"MEMO MO 4.0.2\", system: \"GlaDos\",\n          compiler:\"nvhpc-'\"$NVFORTRAN_VERSION\"'\", date: new Date(), elapsed_time: '\"$VAR_TIME\"'})'\n\n    - name: Upload NEMO OpenACC loops GPU results\n      uses: exuanbo/actions-deploy-gist@v1\n      with:\n        token: ${{ secrets.GIST_TOKEN }}\n        gist_id: a4049a0fc0a0a11651a5ce6a04d76160\n        file_path: ../../../../store_results/performance_history_openacc_loops_gpu\n        \n    # PSyclone, compile and run ECMWF NEMO with OpenMP for CPUs. This uses\n    # the Intel compiler and does not disable MPI. Therefore we have to ensure\n    # that we provide the path to the header files for Intel MPI.\n    - name: NEMO ECMWF OpenMP for CPU\n      run: |\n        . .runner_venv/bin/activate\n        module load oneapi/${ONEAPI_VERSION}\n        module load hdf5/${HDF5_VERSION} netcdf_c/${NETCDF_C_VERSION} netcdf_fortran/${NETCDF_FORTRAN_VERSION}\n        module load perl/${PERL_VERSION}\n        export PSYCLONE_NEMO_DIR=${GITHUB_WORKSPACE}/examples/nemo/scripts\n        export NEMO_DIR=${HOME}/NEMOGCM_V40\n        export COMPILER_ARCH=linux_intel\n        export ADD_KEYS=\"IEEE_IS_NAN=ieee_is_nan key_nosignedzero\"\n        export DEL_KEYS=\"key_iomput\"\n        export MODEL_DIR=/archive/ssiso/ecmwf_eORCA1_GO8/\n        export NAMELISTS_DIR=${NEMO_DIR}/testscripts_V40/output/openmp_outer_V40_eORCA1_GO8_Z75_20170906_cray_dp_1x1/\n        export MPI_INC_DIR=${I_MPI_ROOT}/include\n        cd $PSYCLONE_NEMO_DIR\n        make -j 4 openmp_cpu\n        make -j 4 compile-openmp_cpu\n        export OMP_NUM_THREADS=4\n        make run-openmp_cpu |& tee output.txt\n        # Check the output is as expected for the first 6 digits\n        tail -n 1 output.txt | grep -q \" it :      10\"\n        tail -n 1 output.txt | grep -q \"|ssh|_max:  0.199714\"\n        tail -n 1 output.txt | grep -q \"|U|_max:  0.148409\"\n        tail -n 1 output.txt | grep -q \"S_min:  0.108530\"\n        tail -n 1 output.txt | grep -q \"S_max:  0.404045\"\n        export VAR_TIME=$(grep -A 1 \"Elapsed Time\" output.txt | head -n 2 | tail -n 1 | awk '{print $1}')\n        echo  $GITHUB_REF_NAME $GITHUB_SHA $VAR_TIME >> ${HOME}/store_results/performance_history_openmp_cpu\n        ${HOME}/mongosh-2.1.1-linux-x64/bin/mongosh \\\n          \"mongodb+srv://cluster0.x8ncpxi.mongodb.net/PerformanceMonitoring\" \\\n          --quiet --apiVersion 1 --username ${{ secrets.MONGODB_USERNAME }} \\\n          --password ${{ secrets.MONGODB_PASSWORD }} \\\n          --eval 'db.GitHub_CI.insertOne({branch_name: \"'\"$GITHUB_REF_NAME\"'\", commit: \"'\"$GITHUB_SHA\"'\",\n          github_job: \"'\"$GITHUB_RUN_ID\"'\"-\"'\"$GITHUB_RUN_ATTEMPT\"'\",\n          ci_test: \"NEMO OpenMP for CPU\", nemo_version: \"NEMO ECMWF 4.0 V40 with mpp\", system: \"GlaDos\",\n          compiler:\"intel-'\"$ONEAPI_VERSION\"'\" , date: new Date(),\n          num_omp_threads: '\"$OMP_NUM_THREADS\"', elapsed_time: '\"$VAR_TIME\"'})'\n\n    - name: Upload NEMO OpenMP CPU results\n      uses: exuanbo/actions-deploy-gist@v1\n      with:\n        token: ${{ secrets.GIST_TOKEN }}\n        gist_id: a4049a0fc0a0a11651a5ce6a04d76160\n        file_path: ../../../../store_results/performance_history_openmp_cpu\n", "state": "active", "repository": "stfc/psyclone"}
{"mined_at": "2024-07-15T14:44:03.055611", "created_at": "2020-11-06T11:54:33+01:00", "updated_at": "2021-11-16T13:44:07+01:00", "name": "PSyclone tests and examples", "path": ".github/workflows/python-package.yml", "contents": "# -----------------------------------------------------------------------------\n# BSD 3-Clause License\n#\n# Copyright (c) 2020-2024, Science and Technology Facilities Council.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# * Redistributions of source code must retain the above copyright notice, this\n#   list of conditions and the following disclaimer.\n#\n# * Redistributions in binary form must reproduce the above copyright notice,\n#   this list of conditions and the following disclaimer in the documentation\n#   and/or other materials provided with the distribution.\n#\n# * Neither the name of the copyright holder nor the names of its\n#   contributors may be used to endorse or promote products derived from\n#   this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n# POSSIBILITY OF SUCH DAMAGE.\n# -----------------------------------------------------------------------------\n# Author A. R. Porter, STFC Daresbury Lab\n# Modified by R. W. Ford, STFC Daresbury Lab\n# Modified by A. J. Voysey, Met Office\n# Modified by J. Henrichs, Bureau of Meteorology\n# Modified by N. Nobre, STFC Daresbury Lab\n\n# This workflow will install Python dependencies, run tests and lint with a\n# variety of Python versions.\n# For more information see:\n#   https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: PSyclone tests and examples\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n  workflow_dispatch:\n\njobs:\n  markdown-link-check:\n    if: ${{ github.repository != 'stfc/PSyclone-mirror' }}\n    # Check all markdown files for dead links. See the 'mlc_config.json'\n    # file in the project root directory for configuration.\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - uses: gaurav-nelson/github-action-markdown-link-check@v1\n      with:\n        use-verbose-mode: 'yes'\n        config-file: '.github/workflows/mlc_config.json'\n  sphinx-link-check:\n    if: ${{ github.repository != 'stfc/PSyclone-mirror' }}\n    # Check all Sphinx documentation for dead links.\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_PR_NUMBER: ${{ github.event.number }}\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n    - run: sudo apt-get install -y graphviz doxygen\n    - run: python -m pip install --upgrade pip\n    - run: pip install .[doc]\n    - run: cd doc/user_guide; make html\n    - run: cd doc/developer_guide; make html\n    - run: cd doc/reference_guide; make html\n    - run: cd doc/psyad/user_guide; make html\n    - run: cd doc; python -m http.server &\n    - run: cd doc/user_guide; make linkcheck\n    - run: cd doc/developer_guide; make linkcheck\n    - run: cd doc/reference_guide; make linkcheck\n    - run: cd doc/psyad/user_guide; make linkcheck\n  dev-doctest:\n    if: ${{ github.repository != 'stfc/PSyclone-mirror' }}\n    # Check doctests of developer's guide\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n    - run: python -m pip install --upgrade pip\n    - run: pip install .[doc]\n    # Sphinx since version 7.2 (7.2.0/1/2) aborts with\n    #   exec('from sympy import *', global_dict)\n    #   File \"<string>\", line 1, in <module>\n    #  AttributeError: module 'sympy' has no attribute 'external'\n    # when it is run without creating the documentation first.\n    # So till this is fixed in Sphinx, we trigger the creation\n    # of the html documents before actually running doctest\n    - run: cd doc/developer_guide; make html; make doctest\n  build:\n    if: ${{ github.repository != 'stfc/PSyclone-mirror' }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.12]\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: recursive\n        # This is required to get the commit history for merge commits for\n        # the ci-skip check below.\n        fetch-depth: '0'\n    - name: Check for [skip ci] in commit message\n      uses: mstachniuk/ci-skip@v1\n      with:\n        # This setting causes the tests to 'fail' if [skip ci] is specified\n        fail-fast: true\n        commit-filter: '[skip ci]'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        # Some of the examples use Jupyter. We need to keep IPython to\n        # below 8.0 as we still run the test suite with Python 3.7.\n        pip install \"ipython>=7.0,<8.0\" jupyter\n        # Uncomment the below to use the submodule version of fparser rather\n        # than the latest release from pypi.\n        # pip install external/fparser\n        pip install .[test]\n    - name: Lint with flake8\n      run: |\n        # Stop the build if there are Python syntax errors or undefined names.\n        # See PSyclone/setup.cfg for configuration of this check.\n        flake8 --count --show-source --statistics .\n    - name: Run examples\n      run: |\n        ( make -j 2 -C examples transform > /dev/null )\n        ( make -C examples notebook )\n    - name: Run tutorials\n      run: |\n        ( make -C tutorial/practicals transform > /dev/null )\n        ( make -C tutorial/notebooks notebook )\n    - name: Test with pytest\n      if: ${{ !(matrix.python-version == 3.8) }}\n      run: |\n        locale\n        pytest -n auto --cov=psyclone --cov-report=xml src/psyclone/tests\n    - name: Test with pytest and C Locale\n      if: ${{ matrix.python-version == 3.8 }}\n      run: |\n        locale\n        pytest -n auto --cov=psyclone --cov-report=xml src/psyclone/tests\n      env:\n        LC_ALL: C\n        LANG: C\n    - name: Upload coverage to Codecov with GitHub Action\n      uses: codecov/codecov-action@v4\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      with:\n        verbose: true\n", "state": "active", "repository": "stfc/psyclone"}
{"mined_at": "2024-07-15T14:44:04.066806", "created_at": "2020-11-08T21:08:19+01:00", "updated_at": "2024-03-04T18:19:40+01:00", "name": "Push to private", "path": ".github/workflows/repo-sync.yml", "contents": "# -----------------------------------------------------------------------------\n# BSD 3-Clause License\n#\n# Copyright (c) 2023, Science and Technology Facilities Council.\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# * Redistributions of source code must retain the above copyright notice, this\n#   list of conditions and the following disclaimer.\n#\n# * Redistributions in binary form must reproduce the above copyright notice,\n#   this list of conditions and the following disclaimer in the documentation\n#   and/or other materials provided with the distribution.\n#\n# * Neither the name of the copyright holder nor the names of its\n#   contributors may be used to endorse or promote products derived from\n#   this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n# POSSIBILITY OF SUCH DAMAGE.\n# -----------------------------------------------------------------------------\n# Author A. R. Porter, STFC Daresbury Lab\n\n# This workflow pushes any changes to a private mirror that runs the\n# test suite using a self-hosted runner. \nname: Push to private\n\non:\n  workflow_dispatch:\n\nenv:\n  # Use the same ssh-agent socket value across all jobs\n  # Useful when a GH action is using SSH behind-the-scenes\n  SSH_AUTH_SOCK: /tmp/ssh_agent.sock\n\njobs:\n  build:\n    if: github.repository == 'stfc/PSyclone'\n    runs-on: ubuntu-latest\n    environment: integration\n    steps:\n    - run: echo \"REPOSITORY_NAME=${{ github.repository }}\"\n      shell: bash\n    - uses: actions/checkout@master\n      with:\n        fetch-depth: '0'\n    # Start ssh-agent but set it to use the same ssh_auth_sock value.\n    # The agent will be running in all steps after this, so it\n    # should be one of the first.\n    - name: Setup SSH passphrase\n      env:\n        SSH_PASSPHRASE: ${{secrets.STFC_PRIVATE_MIRROR_PASSPHRASE}}\n        SSH_PRIVATE_KEY: ${{secrets.STFC_PRIVATE_MIRROR_KEY}}\n      run: |\n        ssh-agent -a $SSH_AUTH_SOCK > /dev/null\n        echo 'echo $SSH_PASSPHRASE' > ~/.ssh_askpass && chmod +x ~/.ssh_askpass\n        echo \"$SSH_PRIVATE_KEY\" | tr -d '\\r' | DISPLAY=None SSH_ASKPASS=~/.ssh_askpass ssh-add - >/dev/null\n\n    # Debug print out the added identities. This will prove SSH_AUTH_SOCK\n    # is persisted across job steps\n    - name: Print ssh-add identities\n      run: ssh-add -l\n\n    - name: Set username\n      run: |\n        git config --local user.email \"${{ secrets.EMAIL }}\"\n        git config --local user.name \"${{ secrets.USERNAME }}\"\n    - name: Push changes\n      uses: ad-m/github-push-action@master\n      with:\n        ssh: true\n        force: true\n        tags: false\n        branch: ${{ github.ref }}\n        repository: stfc/PSyclone-mirror\n", "state": "active", "repository": "stfc/psyclone"}
{"mined_at": "2024-07-15T14:44:06.219779", "created_at": "2021-11-18T21:17:20+01:00", "updated_at": "2021-11-23T13:50:52+01:00", "name": "Create and publish a Docker image", "path": ".github/workflows/github-registry.yml", "contents": "name: Create and publish a Docker image\n\non:\n  push:\n    branches:\n      - 'docker'\n      - 'main'\n    tags:\n      - 'v*.*.*'\n\njobs:\n  build-and-push-image:\n    if: ${{ github.repository == 'dials/dials' }}\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n        with:\n          images: |\n            ${{ github.repository }}\n            ghcr.io/${{ github.repository }}\n          tags: |\n            type=edge,branch=main\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "dials/dials"}
{"mined_at": "2024-07-15T14:44:07.244371", "created_at": "2020-05-04T14:23:11+02:00", "updated_at": "2020-05-26T23:23:36+02:00", "name": "identify merge conflicts", "path": ".github/workflows/merge-conflicts.yml", "contents": "# This workflow will check pull requests for merge conflicts and\n# automatically add (and remove) a relevant label\n\nname: identify merge conflicts\non:\n  # So that PRs touching the same files as the push are updated\n  push:\n  # So that the `dirtyLabel` is removed if conflicts are resolved\n  pull_request_target:\n    types: [synchronize]\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Label Conflicting Pull Requests\n      uses: eps1lon/actions-label-merge-conflict@72a2cf9eb9640428abbd99bc0aa6dd522073b9d3\n            # This is tagged version v1.2.3, but do not use version tags\n            # https://julienrenaux.fr/2019/12/20/github-actions-security-risk/\n      with:\n        dirtyLabel: \"PR: merge conflicts\"\n        removeOnDirtyLabel: \"PR: ready to ship\"\n        repoToken: ${{ secrets.GITHUB_TOKEN }}\n      continue-on-error: true\n", "state": "active", "repository": "dials/dials"}
{"mined_at": "2024-07-15T14:44:08.472847", "created_at": "2021-01-05T14:45:49+01:00", "updated_at": "2021-01-05T14:45:49+01:00", "name": "Newsfragments", "path": ".github/workflows/newsfragments.yml", "contents": "name: Newsfragments\n\non:\n  pull_request_target:\n    types: [opened, synchronize, reopened, ready_for_review]\n    branches:\n      - main\n\njobs:\n  rename-news:\n    name: Newsfragment\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.draft == false\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          token: ${{ secrets.USER_TOKEN }}\n      - name: Added a newsfragment\n        run: |\n          set -x\n          echo \"Triggering commit: ${GITHUB_REF} ${GITHUB_SHA}\"\n          git fetch --unshallow\n          git log HEAD -n 1\n          commit_merge_base=\"$(git merge-base ${{ github.event.pull_request.head.sha }} ${{ github.event.pull_request.base.sha }})\"\n          if ! git diff --name-status $commit_merge_base ${{ github.event.pull_request.head.sha }} -- newsfragments/ | grep -E '^A.*\\.(feature|bugfix|doc|removal|misc)'; then\n            echo \"::error ::PR Branch is missing a valid newsfragment. Please add one with a number or named XXX.(feature|bugfix|doc|removal|misc)\"\n            exit 1\n          else\n            echo \"✅  Newsfragment entry present\"\n          fi\n      - name: Rename placeholder newsfragments\n        run: |\n          rename_candidates=\"$(find newsfragments -regex 'newsfragments/[xX]+\\..*')\"\n          if [[ -n \"$rename_candidates\" ]]; then\n            git config user.name \"DiamondLightSource-build-server\"\n            git config user.email \"DiamondLightSource-build-server@users.noreply.github.com\"\n            HEAD_REPO=\"${{github.event.pull_request.head.repo.full_name}}\"\n            HEAD_BRANCH=\"${{ github.event.pull_request.head.ref }}\"\n            message=\"\"\n            git remote add fork https://x-access-token:${USER_TOKEN}@github.com/$HEAD_REPO.git\n            for fragment in ${rename_candidates}; do\n              target_file=\"$(echo \"${fragment}\" | sed -E \"s/[xX]+/${{github.event.number}}/\")\"\n              if [[ -f \"${target_file}\" ]]; then\n                echo \"::error ::Cannot rename ${fragment} to ${target_file} as it already exists. Merge manually.\"\n                exit 1\n              fi\n              git mv $fragment $target_file\n              git add $target_file\n              if [[ -z \"${message}\" ]]; then\n                message=\"Rename ${fragment} to ${target_file}\"\n              else\n                message=\"Rename XXX.* to ${{github.event.number}}.*\"\n              fi\n            done\n            git commit -m \"${message}\"\n            git push fork HEAD:\"${HEAD_BRANCH}\"\n          else\n            echo \"No Newsfragments need to be renamed.\"\n          fi\n", "state": "active", "repository": "dials/dials"}
{"mined_at": "2024-07-15T14:44:09.580482", "created_at": "2020-09-17T18:25:13+02:00", "updated_at": "2020-09-17T18:25:13+02:00", "name": "type checking (pull)", "path": ".github/workflows/pytype-pull.yml", "contents": "# This workflow will run static type checking on all source files\n# and check pull requests for newly introduced type errors.\n\nname: type checking (pull)\non: [ pull_request ]\n\njobs:\n  pytype:\n    runs-on: ubuntu-latest\n    name: pytype\n\n    steps:\n    - name: Clone repository\n      uses: actions/checkout@v2\n      with:\n        # This checks out the merged pull request by default,\n        # we also need the parent commit to check for changes\n        fetch-depth: 2\n        path: dials\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v1\n      with:\n        python-version: \"3.10\"\n\n    - name: Install pytype\n      run: |\n        pip install pytype\n\n    - name: Install external packages for type analysis\n      run: |\n        pip install pytest\n\n    - name: Copy analysis script from merged branch\n      run: |\n        cp dials/.github/pytype/pytype-analysis.py .\n\n    - name: Type check merged pull request\n      run: |\n        pytype -j auto -k dials | tee pytypelog-merged\n\n    - name: Check out pull request target branch\n      run: |\n        rm -rf .pytype\n        cd dials\n        git checkout HEAD^1\n        git log -1 HEAD\n\n    - name: Type check pull request target branch\n      run: |\n        pytype -j auto -k dials | tee pytypelog-base\n\n    - name: Parse pytype output\n      run: |\n        python pytype-analysis.py pytypelog-merged --base pytypelog-base --github --annotations annotation-output.txt\n\n    - name: Add annotations\n      uses: pytorch/add-annotations-github-action@defb52024753b803a82ba97b544e806c1b77722b\n            # This an untagged commit from master. Do not use branch names/version tags\n            # https://julienrenaux.fr/2019/12/20/github-actions-security-risk/\n      with:\n        check_name: 'pytype'\n        linter_output_path: 'annotation-output.txt'\n        commit_sha: ${{ github.event.pull_request.head.sha }}\n        regex: '^(?<filename>.*?):(?<lineNumber>\\d+):(?<columnNumber>\\d+):(?<errorCode>\\S+)\\s*(?<errorDesc>.*)'\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      if: ${{ failure() }}\n", "state": "active", "repository": "dials/dials"}
{"mined_at": "2024-07-15T14:44:11.953853", "created_at": "2021-05-27T22:18:22+02:00", "updated_at": "2021-05-27T22:18:22+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '28 9 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "spedas/pyspedas"}
{"mined_at": "2024-07-15T14:44:12.981090", "created_at": "2020-02-26T22:06:17+01:00", "updated_at": "2024-06-01T05:24:24+02:00", "name": "build", "path": ".github/workflows/pythonpackage.yml", "contents": "name: build\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    # runs-on: macos-latest\n    strategy:\n      matrix:\n        #python-version: [3.5, 3.6, 3.7, 3.8]\n        #os: [ubuntu-latest, macos-latest, windows-latest]\n        os: [ubuntu-latest]\n        #os: [ubuntu-latest]\n        #os: [windows-latest]\n        python-version: [3.12]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies (Linux)\n      env:\n        MMS_AUTH_U: ${{ secrets.MMS_AUTH_U }}\n        MMS_AUTH_P: ${{ secrets.MMS_AUTH_P }}\n        VIRES_TOKEN: ${{ secrets.VIRES_AUTH }}\n      run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install spacepy  # required for MMS qcotrans tests\n          pip install coveralls\n          pip install basemap\n          pip install mth5\n          python -m pyspedas.mms.tests.setup_tests\n      if: matrix.os == 'ubuntu-latest'\n    - name: Install dependencies (Windows)\n      env:\n        MMS_AUTH_U: ${{ secrets.MMS_AUTH_U }}\n        MMS_AUTH_P: ${{ secrets.MMS_AUTH_P }}\n        VIRES_TOKEN: ${{ secrets.VIRES_AUTH }}\n      run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install spacepy  # required for MMS qcotrans tests\n          pip install coveralls\n          pip install basemap\n          pip install mth5\n          python -m pyspedas.mms.tests.setup_tests\n      if: matrix.os == 'windows-latest'\n    - name: Install dependencies (macOS)\n      env:\n        MMS_AUTH_U: ${{ secrets.MMS_AUTH_U }}\n        MMS_AUTH_P: ${{ secrets.MMS_AUTH_P }}\n        VIRES_TOKEN: ${{ secrets.VIRES_AUTH }}\n      run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install spacepy  # required for MMS qcotrans tests\n          pip install coveralls\n          pip install basemap\n          pip install mth5\n          python -m pyspedas.mms.tests.setup_tests\n      if: matrix.os == 'macos-latest'\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --max-line-length=127 --exclude 'erg'\n        # exit-zero treats all errors as warnings. \n        flake8 . --count --exit-zero --max-complexity=10 --statistics --max-line-length=127\n    - name: Test with unittest\n      if: (github.event_name == 'pull_request' && github.base_ref == 'master') || github.ref == 'refs/heads/master'\n      env:\n        COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n        VIRES_TOKEN: ${{ secrets.VIRES_AUTH }}\n        SPEDAS_DATA_DIR: data\n        ACE_DATA_DIR: ace_data/\n        BARREL_DATA_DIR: barrel_data/\n        CLUSTER_DATA_DIR: cluster_data/\n        DSC_DATA_DIR: dsc_data/\n        CSSWE_DATA_DIR: csswe_data/\n        EQUATORS_DATA_DIR: eqs_data/\n        FAST_DATA_DIR: fast_data/\n        GEOTAIL_DATA_DIR: geotail_data/\n        GOES_DATA_DIR: goes_data/\n        IMAGE_DATA_DIR: img_data/\n        MICA_DATA_DIR: mica_data/\n        MMS_DATA_DIR: mms_data/\n        OMNI_DATA_DIR: omni_data/\n        POES_DATA_DIR: poes_data/\n        POLAR_DATA_DIR: polar_data/\n\n        PSP_DATA_DIR: psp_data/\n        RBSP_DATA_DIR: rbsp_data/\n        SOLO_DATA_DIR: solo_data/\n        STEREO_DATA_DIR: stereo_data/\n        THM_DATA_DIR: themis_data/\n        TWINS_DATA_DIR: twins_data/\n        ULY_DATA_DIR: uly_data/\n        WIND_DATA_DIR: wind_data/\n        LANL_DATA_DIR: lanl_data/\n        CNOFS_DATA_DIR: cnofs_data/\n        ST5_DATA_DIR: st5_data/\n        PYTPLOT_LOGGING_LEVEL: error\n      run: |\n        # Show the IP address the test suite is running from (useful for troubleshooting data server access issues)\n        echo IP address for this test:\n        coverage run -a -m pyspedas.utilities.tests.test_find_ip_address\n        echo Starting akebono tests at `date`\n        coverage run -a -m pyspedas.akebono.tests.tests\n        echo Starting VIRES client tests at `date`\n        coverage run -a -m pyspedas.vires.tests.tests\n        echo Starting CDAWeb tests at `date`\n        coverage run -a -m pyspedas.cdagui.tests.tests\n        echo Starting themis tplot_time  tests at `date`\n        coverage run -a -m pyspedas.themis.tests.tests_tplot_time\n        echo Starting MTH5 import test at `date`\n        coverage run -a -m pyspedas.mth5.tests.test_mth5_import\n        echo Starting MTH5 load_fdsn test at `date`\n        coverage run -a -m pyspedas.mth5.tests.test_load_fdsn\n        echo Starting barrel tests at `date`\n        coverage run -a -m pyspedas.barrel.tests.tests\n        echo Starting elfin epd_l1 tests at `date`\n        coverage run -a -m pyspedas.elfin.tests.test_epd_l1\n        echo Starting elfin epd_l2 tests at `date`\n        coverage run -a -m pyspedas.elfin.tests.test_epd_l2\n        # echo Starting elfin state tests at `date`      \n        # coverage run -a -m pyspedas.elfin.tests.test_state\n        echo Starting elfin tests at `date`      \n        coverage run -a -m pyspedas.elfin.tests.tests\n        # echo Starting elfin epd calibration tests at `date`      \n        # coverage run -a -m pyspedas.elfin.tests.test_epd_calibration\n        echo Starting soho tests at `date`\n        coverage run -a -m pyspedas.soho.tests.tests\n        echo Starting de2 tests at `date`\n        coverage run -a -m pyspedas.de2.tests.tests\n        echo Starting st5 tests at `date`\n        coverage run -a -m pyspedas.st5.tests.tests\n        echo Starting lanl tests at `date`\n        coverage run -a -m pyspedas.lanl.tests.tests\n        echo Starting cotrans quaternion tests at `date`\n        coverage run -a -m pyspedas.cotrans.tests.quaternions\n        echo Starting cnofs tests at `date`\n        coverage run -a -m pyspedas.cnofs.tests.tests\n        echo Starting secs tests at `date`\n        coverage run -a -m pyspedas.secs.tests.tests\n        echo Starting kompsat tests at `date`\n        coverage run -a -m pyspedas.kompsat.tests.tests\n        echo Starting hapi tests at `date`\n        coverage run -a -m pyspedas.hapi.tests.tests\n        echo Starting noaa tests at `date`\n        coverage run -a -m pyspedas.noaa.tests.tests\n        echo Starting mms cotrans tests at `date`\n        coverage run -a -m pyspedas.mms.tests.cotrans\n        echo Starting mms events tests at `date`\n        coverage run -a -m pyspedas.mms.tests.events\n        echo Starting mms orbit_plots tests at `date`\n        coverage run -a -m pyspedas.mms.tests.orbit_plots\n        echo Starting mms overview_plots tests at `date`\n        coverage run -a -m pyspedas.mms.tests.overview_plots\n        echo Starting mms neutral sheet tests at `date`\n        coverage run -a -m pyspedas.mms.tests.neutral_sheet\n        echo Starting mms ql_lib_sitl tests at `date`\n        coverage run -a -m pyspedas.mms.tests.ql_l1b_sitl_tests\n        echo Starting mms_part_getspec tests at `date`\n        coverage run -a -m pyspedas.mms.tests.mms_part_getspec\n        echo Starting mms load routine tests at `date`\n        coverage run -a -m pyspedas.mms.tests.load_routine_tests\n        echo Starting mms feeps tests at `date`\n        coverage run -a -m pyspedas.mms.tests.feeps\n        echo Starting mms eis tests at `date`\n        coverage run -a -m pyspedas.mms.tests.eis\n        echo Starting mms fpi tests at `date`\n        coverage run -a -m pyspedas.mms.tests.fpi_tests\n        echo Starting mms file_filter tests at `date`\n        coverage run -a -m pyspedas.mms.tests.file_filter\n        echo Starting mms data_rate_segments tests at `date`\n        coverage run -a -m pyspedas.mms.tests.data_rate_segments\n        echo Starting mms curlometer tests at `date`\n        coverage run -a -m pyspedas.mms.tests.curlometer\n        echo Starting mms wavpol tests at `date`\n        coverage run -a -m pyspedas.mms.tests.wavpol\n        echo Starting mms slice2d tests at `date`\n        coverage run -a -m pyspedas.mms.tests.slice2d\n        echo Starting dscovr tests at `date`\n        coverage run -a -m pyspedas.dscovr.tests.tests\n        echo Starting utilities download tests at `date`\n        coverage run -a -m pyspedas.utilities.tests.download_tests\n        echo Starting utilities misc tests at `date`\n        coverage run -a -m pyspedas.utilities.tests.misc_tests\n        echo Starting plotting tests at `date`\n        coverage run -a -m pyspedas.utilities.tests.plot_tests\n        echo Starting utilities time_tests tests at `date`\n        coverage run -a -m pyspedas.utilities.tests.time_tests\n        echo Starting utilities libs_tests tests at `date`\n        coverage run -a -m pyspedas.utilities.tests.libs_tests\n        echo Starting cotrans tests at `date`\n        coverage run -a -m pyspedas.cotrans.tests.cotrans\n        echo Starting cotrans quaternion tests at `date`\n        coverage run -a -m pyspedas.cotrans.tests.quaternions\n        echo Starting cotrans minvar tests at `date`\n        coverage run -a -m pyspedas.cotrans.tests.test_minvar\n        echo Starting cluster tests at `date`\n        coverage run -a -m pyspedas.cluster.tests.tests\n        echo Starting csswe tests at `date`\n        coverage run -a -m pyspedas.csswe.tests.tests\n        echo Starting ace tests at `date`\n        coverage run -a -m pyspedas.ace.tests.tests\n        echo Starting equator_s tests at `date`\n        coverage run -a -m pyspedas.equator_s.tests.tests\n        echo Starting image tests at `date`\n        coverage run -a -m pyspedas.image.tests.tests\n        echo Starting psp tests at `date`\n        coverage run -a -m pyspedas.psp.tests.tests\n        echo Starting rbsp tests at `date`\n        coverage run -a -m pyspedas.rbsp.tests.tests\n        echo Starting stereo tests at `date`\n        coverage run -a -m pyspedas.stereo.tests.tests\n        echo Starting twins tests at `date`\n        coverage run -a -m pyspedas.twins.tests.tests\n        echo Starting wind tests at `date`\n        coverage run -a -m pyspedas.wind.tests.tests\n        echo Starting poes tests at `date`\n        coverage run -a -m pyspedas.poes.tests.tests\n        echo Starting polar tests at `date`\n        coverage run -a -m pyspedas.polar.tests.tests\n        echo Starting geopack tests at `date`\n        coverage run -a -m pyspedas.geopack.tests.tests\n        echo Starting geopack-IDL validation tests at `date`\n        coverage run -a -m pyspedas.geopack.tests.geopack_idl_validation_tests\n        echo Starting geotail tests at `date`\n        coverage run -a -m pyspedas.geotail.tests.tests\n        echo Starting analysis tests at `date`\n        coverage run -a -m pyspedas.analysis.tests.tests\n        echo Starting analysis wavpol tests at `date`\n        coverage run -a -m pyspedas.analysis.tests.test_twavpol\n        echo Starting analysis magnetic nulls tests at `date`\n        coverage run -a -m pyspedas.analysis.tests.test_magnetic_nulls\n        echo Starting fast tests at `date`\n        coverage run -a -m pyspedas.fast.tests.tests\n        echo Starting omni tests at `date`\n        coverage run -a -m pyspedas.omni.tests.tests\n        echo Starting themis tests at `date`\n        coverage run -a -m pyspedas.themis.tests.tests\n        echo Starting maven tests at `date`\n        coverage run -a -m pyspedas.maven.tests.tests\n        echo Starting goes tests at `date`\n        coverage run -a -m pyspedas.goes.tests.tests\n        echo Starting mica tests at `date`\n        coverage run -a -m pyspedas.mica.tests.tests\n        echo Starting ulysses tests at `date`\n        coverage run -a -m pyspedas.ulysses.tests.tests\n        echo Starting erg tests at `date`\n        coverage run -a -m pyspedas.erg.tests.tests\n        echo Starting erg ground data tests at `date`\n        coverage run -a -m pyspedas.erg.tests.ground_tests\n        echo Starting erg mepe particle tests at `date`\n        coverage run -a -m pyspedas.erg.tests.mepe_part_products\n        echo Starting erg mepi particle tests at `date`\n        coverage run -a -m pyspedas.erg.tests.mepi_part_products\n        echo Starting erg lepi particle tests at `date`\n        coverage run -a -m pyspedas.erg.tests.lepi_part_products\n        echo Starting solo tests at `date`\n        coverage run -a -m pyspedas.solo.tests.tests\n        echo Starting kyoto tests at `date`\n        coverage run -a -m pyspedas.kyoto.tests.tests\n        echo Starting swarm tests at `date`\n        coverage run -a -m pyspedas.swarm.tests.tests\n        echo Starting themis_check_args tests at `date`\n        coverage run -a -m pyspedas.themis.tests.tests_themis_check_args\n        echo Starting themis autoload support tests at `date`\n        coverage run -a -m pyspedas.themis.tests.autoload_support_tests\n        echo Starting themis cal_fit tests at `date`\n        coverage run -a -m pyspedas.themis.tests.tests_cal_fit\n        echo Starting themis dsl_cotrans tests at `date`\n        coverage run -a -m pyspedas.themis.tests.tests_dsl_cotrans\n        echo Starting themis lunar_cotrans tests at `date`\n        coverage run -a -m pyspedas.themis.tests.tests_lunar_cotrans\n        echo Starting themis spinmodel tests at `date`\n        coverage run -a -m pyspedas.themis.tests.tests_spinmodel\n        echo Starting themis state tests at `date`\n        coverage run -a -m pyspedas.themis.tests.tests_state\n        echo Starting themis cal_fit_tplot_metadata tests at `date`\n        coverage run -a -m pyspedas.themis.tests.test_cal_fit_tplot_metadata\n        echo Starting themis scpot2dens tests at `date`\n        coverage run -a -m pyspedas.themis.tests.tests_scpot2dens\n        echo Done with tests at `date`\n        coveralls\n", "state": "active", "repository": "spedas/pyspedas"}
{"mined_at": "2024-07-15T14:44:14.994482", "created_at": "2022-10-25T06:29:09+02:00", "updated_at": "2023-03-20T17:59:34+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  workflow_call:\n  pull_request:\n  push:\n    branches: [main]\n    tags: ['v*']\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  RELEASE: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/test-v') }}\n  # The test-installer job can use an old existing image rather than the most\n  # recently built image; the 'needs' can be commented out to allow the\n  # test-installer job to run independently (and therefore faster)\n  INSTALLER_USE_OLD_IMAGE: false\n  INSTALLER_OLD_RUNID: 3204825457\n  # The test-installer job can run with the pyinstaller debug bundle\n  INSTALLER_USE_DEBUG: false\n\njobs:\n  matrix:\n    name: Generate test matrix\n\n    #if: false    # uncomment to prevent the rest of the workflow running\n\n    runs-on: ubuntu-latest\n\n    # Stop existing workflows for matching branches and pull requests\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n      cancel-in-progress: true\n\n    outputs:\n      matrix-json: ${{ steps.set-matrix.outputs.matrix }}\n\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n\n      - uses: actions/checkout@v3\n      - id: set-matrix\n        run: python .github/workflows/matrix.py >> $GITHUB_OUTPUT\n\n  build-matrix:\n    needs: [matrix]\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJson(needs.matrix.outputs.matrix-json) }}\n\n    name: \"${{ matrix.job_name }}\"\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Configuration of this job\n        run: |\n          echo '${{ toJson(matrix) }}'\n\n      - name: Obtain SasView source from git\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: |\n            **/ci.yml\n            **/requirements*.txt\n\n      ### Installation of build-dependencies\n\n      - name: Install X11 libraries (Linux)\n        if: ${{ startsWith(matrix.os, 'ubuntu') }}\n        run: |\n          sudo apt-get update\n          sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils xvfb libegl-dev\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install wheel setuptools\n          python -m pip install -r build_tools/requirements.txt\n\n      - name: Install pywin32 (Windows)\n        if: ${{ startsWith(matrix.os, 'windows') }}\n        run: |\n          python -m pip install pywin32\n\n      - name: Install pyopencl (Windows)\n        if: ${{ startsWith(matrix.os, 'windows') }}\n        run: |\n          python -m pip install pytools mako cffi\n          choco install opencl-intel-cpu-runtime\n          choco install innosetup\n          python -m pip install --only-binary=pyopencl --find-links http://www.silx.org/pub/wheelhouse/ --trusted-host www.silx.org pyopencl\n\n      - name: Install pyopencl (Linux + macOS)\n        if: ${{ !startsWith(matrix.os, 'windows') }}\n        run: |\n          python -m pip install pyopencl\n\n      - name: Fetch sources for sibling projects\n        run: |\n          git clone --depth=50 --branch=master https://github.com/SasView/sasdata.git ../sasdata\n          git clone --depth=50 --branch=master https://github.com/SasView/sasmodels.git ../sasmodels\n          git clone --depth=50 --branch=master https://github.com/bumps/bumps.git ../bumps\n\n      - name: Build and install sasdata\n        run: |\n          cd ../sasdata\n          rm -rf build\n          rm -rf dist\n          python setup.py clean\n          python setup.py build\n          mv build/lib/sasdata/example_data/* ../sasview/src/sas/example_data/\n          python -m pip install --no-deps .\n\n      - name: Build and install sasmodels\n        run: |\n          cd ../sasmodels\n          rm -rf build\n          rm -rf dist\n          python setup.py clean\n          python setup.py build\n          python -m pip install --no-deps .\n\n      - name: Build and install bumps\n        run: |\n          cd ../bumps\n          rm -rf build\n          rm -rf dist\n          python setup.py clean\n          python setup.py build\n          python -m pip install --no-deps .\n\n      ### Document the build environment\n\n      - name: Python package version list\n        run: |\n          python -m pip freeze\n\n      ### Actual building of sasview\n\n      - name: Build sasview\n        run: |\n          # SET SASVIEW GITHASH\n          githash=$( git rev-parse HEAD )\n          sed -i.bak s/GIT_COMMIT/$githash/g src/sas/sasview/__init__.py\n          # BUILD SASVIEW\n          python setup.py clean\n          python setup.py build\n          python -m pip install --no-deps .\n\n      ### Run tests (if enabled)\n\n      - name: Test with pytest\n        if: ${{ matrix.tests }}\n        env:\n          PYOPENCL_COMPILER_OUTPUT: 1\n        run: |\n          python -m pytest -v -s test\n\n      # - name: Test GUI (Linux)\n      #   if: ${{ matrix.tests && matrix.os == 'ubuntu-latest' }}\n      #   env:\n      #     PYOPENCL_COMPILER_OUTPUT: 1\n      #   run: |\n      #     # Suppress SIGSEGV from the tests until they can be fixed\n      #     retval=0\n      #     xvfb-run -a --server-args=\"-screen 0 1600x900x24\" python -m pytest -rsx -v src/sas/qtgui/ || retval=$?\n      #     if [ $retval -eq 139 ]; then echo \"WARNING: Python interpreter exited with Segmentation Fault. This normally indicates that Qt objects were not correctly deleted. This error is currently suppressed in SasView's test suite.\"; retval=0; fi\n      #     exit $retval\n\n      ### Build documentation (if enabled)\n\n      - name: Build sasmodels, sasdata, and bumps docs\n        if: ${{ matrix.docs }}\n        run: |\n          make -C ../bumps/doc html || true\n          mkdir -p ~/.sasmodels/compiled_models\n          make -j4 -C ../sasmodels/doc html || true\n          make -C ../sasdata/docs html || true\n\n      - name: Build sasview docs\n        if: ${{ matrix.docs }}\n        run: |\n          mkdir -p build/lib\n          cd docs/sphinx-docs/\n          python build_sphinx.py || true\n\n      ### Build the installer (if enabled)\n\n      - name: Install utilities to build installer\n        if: ${{ matrix.installer }}\n        run: |\n          python -m pip install pyinstaller==5.13.2\n\n      - name: Build sasview with pyinstaller\n        if: ${{ matrix.installer }}\n        run: |\n          cd installers\n          rm -rf build/ dist/\n          mkdir -p dist\n          pyinstaller sasview.spec\n          cd dist\n          # the following builds a symlink farm in the package; it should\n          # not be necessary, but without it, there will be lots of errors\n          # about .so not found under linux.\n          command -v ldconfig >/dev/null 2>&1 && ldconfig -n sasview\n          tar zcf sasview-pyinstaller-dist.tar.gz sasview\n\n      - name: Build sasview installer with INNO (Windows)\n        if: ${{ matrix.installer && startsWith(matrix.os, 'windows') }}\n        run: |\n          iscc installers/installer.iss\n          mv installers/Output/setupSasView.exe installers/dist\n\n      - name: Build sasview installer dmg file (OSX)\n        if: ${{ matrix.installer && startsWith(matrix.os, 'macos') }}\n        run: |\n          cd installers/dist\n          hdiutil create SasView6.dmg -srcfolder SasView6.app -ov -format UDZO\n\n      - name: Build sasview installer tarball (Linux)\n        if: ${{ matrix.installer && startsWith(matrix.os, 'ubuntu') }}\n        run: |\n          cd installers/dist\n          tar zcf sasview6.tar.gz sasview\n\n      - name: Collect a debug tarball of the installer package\n        if: ${{ matrix.installer }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: Debug-SasView-Installer-${{ matrix.os }}-${{ matrix.python-version }}\n          path: |\n            installers/dist/sasview-pyinstaller-dist.tar.gz\n          if-no-files-found: ignore\n\n      - name: Sign executable and create dmg (OSX)\n        if: ${{ matrix.installer && startsWith(matrix.os, 'macos') }}\n        env:\n          MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}\n          MACOS_CERTIFICATE_PWD: ${{ secrets.MACOS_CERTIFICATE_PWD }}\n        run: |\n          echo $MACOS_CERTIFICATE | base64 --decode > certificate.p12\n          security create-keychain -p DloaAcYP build.keychain\n          security default-keychain -s build.keychain\n          security unlock-keychain -p DloaAcYP build.keychain\n          security import certificate.p12 -k build.keychain -P $MACOS_CERTIFICATE_PWD -T /usr/bin/codesign\n          security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k DloaAcYP build.keychain\n\n          cd installers/dist\n          python ../../build_tools/fix_qt_folder_names_for_codesign.py SasView6.app\n          python  ../../build_tools/code_sign_osx.py\n          codesign --verify --options=runtime --entitlements ../../build_tools/entitlements.plist --timestamp --deep --verbose=4 --force --sign \"Developer ID Application: European Spallation Source Eric (W2AG9MPZ43)\" SasView6.app\n          hdiutil create SasView6.dmg -srcfolder SasView6.app -ov -format UDZO\n          codesign -s \"Developer ID Application: European Spallation Source Eric (W2AG9MPZ43)\" SasView6.dmg\n\n      - name: Publish installer package\n        if: ${{ matrix.installer }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: SasView-Installer-${{ matrix.os }}-${{ matrix.python-version }}\n          path: |\n            installers/dist/setupSasView.exe\n            installers/dist/SasView6.dmg\n            installers/dist/sasview6.tar.gz\n          if-no-files-found: error\n\n  test-installer:\n    needs: [ build-matrix ]\n\n    strategy:\n      matrix:\n        os: [ windows-latest, ubuntu-20.04 ]\n        python-version: [ 3.11 ]\n      fail-fast: false\n\n    name: Test installer\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Set variables (Windows)\n        if: ${{ startsWith(matrix.os, 'windows') }}\n        run: |\n          echo \"INSTALL_PATH=$PWD/sasview/\" >> $GITHUB_ENV\n          echo \"RUN_SASVIEW=$PWD/sasview/sasview.exe\" >> $GITHUB_ENV\n\n      - name: Set variables (Linux)\n        if: ${{ startsWith(matrix.os, 'ubuntu') }}\n        run: |\n          echo \"INSTALL_PATH=$PWD/sasview/\" >> $GITHUB_ENV\n          echo \"RUN_SASVIEW=$PWD/sasview/sasview\" >> $GITHUB_ENV\n\n      - name: Set variables (Windows Powershell)\n        if: ${{ startsWith(matrix.os, 'windows') }}\n        shell: powershell\n        # unfortunately we end up tripping over ourselves with paths\n        # later on and need a PS version of the install path\n        run: |\n          \"INSTALL_WIN_PATH=$(Get-Location)/sasview/\" >> $env:GITHUB_ENV\n\n      ### Obtain the installer, either from the previous step\n      ### or from a previous run of the workflow\n\n      - name: Retrieve installer (workflow image)\n        if: ${{ env.INSTALLER_USE_OLD_IMAGE != 'true' }}\n        uses: actions/download-artifact@v3\n        id: download\n        with:\n          name: SasView-Installer-${{ matrix.os }}-${{ matrix.python-version }}\n\n      - name: Set variables for download (workflow image)\n        if: ${{ env.INSTALLER_USE_OLD_IMAGE != 'true' }}\n        run: |\n          echo \"DL_PATH=${{steps.download.outputs.download-path}}\" >> $GITHUB_ENV\n\n      - name: Set variables for download (workflow image) (Windows)\n        if: ${{ env.INSTALLER_USE_OLD_IMAGE != 'true' && startsWith(matrix.os, 'windows') }}\n        shell: powershell\n        run: |\n          \"DL_WIN_PATH=${{steps.download.outputs.download-path}}\" >> $env:GITHUB_ENV\n\n      - name: Retrieve installer (old image)\n        if: ${{ env.INSTALLER_USE_OLD_IMAGE == 'true' }}\n        id: download-old-installer\n        uses: dawidd6/action-download-artifact@v2\n        with:\n          # Select a specific installer image based on the GitHub Actions run id\n          run_id: ${{ env.INSTALLER_OLD_RUNID }}\n          name: SasView-Installer-${{ matrix.os }}-${{ matrix.python-version }}\n          path: downloads\n          if_no_artifact_found: fail\n\n      - name: Set variables for download (old image)\n        if: ${{ env.INSTALLER_USE_OLD_IMAGE == 'true' }}\n        run: |\n          echo \"DL_PATH=$PWD/downloads\" >> $GITHUB_ENV\n\n      - name: Set variables for download (old image) (Windows)\n        if: ${{ env.INSTALLER_USE_OLD_IMAGE == 'true' && startsWith(matrix.os, 'windows') }}\n        shell: powershell\n        run: |\n          \"DL_WIN_PATH=$(Get-Location)/downloads\" >> $env:GITHUB_ENV\n\n      - name: Check downloads\n        run: |\n          echo \"Sasview downloaded to: $DL_PATH\"\n          find \"$DL_PATH\"\n\n      ### Run the installer and check that the installation looks OK\n\n      - name: Run installer (Windows)\n        if: ${{ startsWith(matrix.os, 'windows') }}\n        # The installer spawns a new process and exits immediately, meaning\n        # that the shell thinks it has finishes, tries to exit to move onto\n        # the next step in the job, and kills the child process that is\n        # trying to do the installation.\n        # Wrapping the installer in \"Start-Process ... -Wait\" means that\n        # this step doesn't exit until the installer has finished.\n        shell: powershell\n        run: |\n          Start-Process -FilePath \"${{ env.DL_WIN_PATH }}/setupSasView.exe\" -ArgumentList \"/SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /ALLUSERS /SKIPLICENSE=true /LANG=english /NOICONS /TASKS='' /LOG=${{ env.DL_WIN_PATH }}/install.log /DIR=${{ env.INSTALL_WIN_PATH }}\" -Wait\n\n      - name: Check installation log (Windows)\n        if: ${{ startsWith(matrix.os, 'windows') }}\n        run: |\n          echo \"Contents of installation log '$DL_PATH/install.log':\"\n          cat $DL_PATH/install.log\n\n      - name: Run installer (Linux)\n        if: ${{ startsWith(matrix.os, 'ubuntu') }}\n        run: |\n          # $INSTALL_PATH is already the base directory\n          tar xf \"$DL_PATH/sasview6.tar.gz\"\n\n      - name: Check installation files\n        run: |\n          echo \"File listing of SasView installed in '$INSTALL_PATH'\"\n          find \"$INSTALL_PATH\"\n\n      - name: Try running the installation (Windows)\n        if: ${{ startsWith(matrix.os, 'windows') }}\n        # If sasview has crashed on its own, then this should return an error\n        run: |\n          $RUN_SASVIEW &\n          sleep 60s\n          kill %1\n\n      - name: Install X11 libraries (Linux)\n        if: ${{ startsWith(matrix.os, 'ubuntu') }}\n        run: |\n          sudo apt-get update\n          sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils xvfb\n\n      - name: Try running the installation (Linux)\n        if: ${{ startsWith(matrix.os, 'ubuntu' )}}\n        # If sasview has crashed on its own, then this should return an error\n        run: |\n          xvfb-run -a --server-args=\"-screen 0 1024x768x24\" $RUN_SASVIEW &\n          sleep 60s\n          kill %1\n\n      ### Optionally attempt to work with the debug tarball from pyinstaller\n\n      - name: Retrieve installer debug tarball\n        if: ${{ env.INSTALLER_USE_DEBUG == 'true' }}\n        id: download-old-debug\n        uses: dawidd6/action-download-artifact@v2\n        with:\n          # Select a specific installer image based on the GitHub Actions run id\n          run_id: ${{ env.INSTALLER_OLD_RUNID }}\n          name: Debug-SasView-Installer-${{ matrix.os }}-${{ matrix.python-version }}\n          path: downloads\n          if_no_artifact_found: fail\n\n      - name: Extract debug tarball\n        if: ${{ env.INSTALLER_USE_DEBUG == 'true' }}\n        run: |\n          mkdir unpack\n          cd unpack\n          tar zxf ../downloads/sasview-pyinstaller-dist.tar.gz\n\n      - name: Check debug installation files\n        if: ${{ env.INSTALLER_USE_DEBUG == 'true' && startsWith(matrix.os, 'windows') }}\n        run: |\n          echo \"File listing of SasView install bundle unpacked in 'unpack'\"\n          find unpack\n\n      - name: Try running debug unpack\n        if: ${{ env.INSTALLER_USE_DEBUG == 'true' && startsWith(matrix.os, 'windows') }}\n        run: |\n          cd unpack/sasview\n          ./sasview.exe\n", "state": "active", "repository": "sasview/sasview"}
{"mined_at": "2024-07-15T14:44:16.028767", "created_at": "2021-01-16T16:32:20+01:00", "updated_at": "2022-11-03T08:59:55+01:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": null, "state": "active", "repository": "sasview/sasview"}
{"mined_at": "2024-07-15T14:44:17.065148", "created_at": "2021-01-16T16:32:20+01:00", "updated_at": "2022-11-03T08:59:55+01:00", "name": "Installer", "path": ".github/workflows/installers.yml", "contents": null, "state": "active", "repository": "sasview/sasview"}
{"mined_at": "2024-07-15T14:44:18.099658", "created_at": "2023-03-19T21:34:03+01:00", "updated_at": "2023-04-18T21:59:23+02:00", "name": "Nightly Build", "path": ".github/workflows/nightly-build.yml", "contents": "name: Nightly Build\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n\n  #Reuse ci.yml workflow on main branch and upload artifacts to release page\n  reuse_main_ci:\n    uses: ./.github/workflows/ci.yml\n    secrets: inherit\n\n  upload_nighly_builds:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ macos-latest]\n        python-version: [ 3.11 ]\n    needs: reuse_main_ci\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Retrieve saved artifacts\n        uses: actions/download-artifact@v3\n        with:\n          path: installers/dist\n\n      - name: Display structure of downloaded files\n        run: ls -R\n        working-directory: installers/dist\n\n      - name: Rename remaining artifacts artifacts\n        run: |\n          mv installers/dist/SasView-Installer-windows-*/setupSasView.exe installers/dist/setupSasView-nightly-Win64.exe\n          mv installers/dist/SasView-Installer-macos-*/SasView6.dmg installers/dist/SasView-nightly-MacOSX.dmg\n          mv installers/dist/SasView-Installer-ubuntu-*/sasview6.tar.gz installers/dist/SasView-nightly-Linux.tar.gz\n\n      - name: Notarize Release Build (OSX)\n        uses: lando/notarize-action@v2\n        with:\n            product-path: \"installers/dist/SasView-nightly-MacOSX.dmg\"\n            primary-bundle-id: \"org.sasview.SasView6\"\n            appstore-connect-username: ${{ secrets.NOTARIZATION_USERNAME }}\n            appstore-connect-password: ${{ secrets.NOTARIZATION_PASSWORD }}\n            appstore-connect-team-id: W2AG9MPZ43\n            verbose: True\n\n      - name: Staple Release Build (OSX)\n        uses: BoundfoxStudios/action-xcode-staple@v1\n        with:\n          product-path: \"installers/dist/SasView-nightly-MacOSX.dmg\"\n\n      - name: Upload Nightly Build Installer to GitHub releases\n        uses: ncipollo/release-action@v1\n        with:\n          draft: false\n          prerelease: true\n          allowUpdates: true\n          replacesArtifacts: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n          artifacts: \"installers/dist/setupSasView-nightly-Win64.exe, installers/dist/SasView-nightly-MacOSX.dmg, installers/dist/SasView-nightly-Linux.tar.gz\"\n          body: \"Nightly build of main SasView branch\"\n          name: \"nightly-build\"\n          tag: \"nightly-build\"\n", "state": "active", "repository": "sasview/sasview"}
{"mined_at": "2024-07-15T14:44:19.115251", "created_at": "2021-10-18T13:01:05+02:00", "updated_at": "2022-12-11T07:00:48+01:00", "name": "Create release", "path": ".github/workflows/release.yml", "contents": null, "state": "active", "repository": "sasview/sasview"}
{"mined_at": "2024-07-15T14:44:20.137597", "created_at": "2023-09-19T21:25:23+02:00", "updated_at": "2023-09-19T21:25:23+02:00", "name": "Build Snap Image", "path": ".github/workflows/snapcraft.yml", "contents": null, "state": "active", "repository": "sasview/sasview"}
{"mined_at": "2024-07-15T14:44:21.264961", "created_at": "2020-09-13T08:16:06+02:00", "updated_at": "2022-11-03T08:59:55+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "sasview/sasview"}
{"mined_at": "2024-07-15T14:44:23.268284", "created_at": "2021-04-13T13:32:26+02:00", "updated_at": "2024-06-17T09:57:57+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 23 * * *\" # everyday at 11pm\n  workflow_dispatch:\n\njobs:\n  industrial_ci:\n    if: github.event.pull_request.draft == false  # only run on non-draft PRs\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    env:\n      ADDITIONAL_DEBS: 'apt-utils'\n      CATKIN_LINT: pedantic\n      CCACHE_DIR: /github/home/.ccache  # Directory for ccache (and how we enable ccache in industrial_ci)\n      CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release\n      PARALLEL_TESTS: 1\n      PYLINT_ARGS: '--output-format=parseable --errors-only --disable=method-hidden'\n      PYLINT_CHECK: true\n      ROS_REPO: main\n\n    strategy:\n      matrix:\n        include:\n#          - { ROS_DISTRO: kinetic }\n#          - { ROS_DISTRO: melodic }\n          - { ROS_DISTRO: noetic }\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          lfs: true\n          ssh-known-hosts: ''\n\n      # This step will fetch/store the directory used by ccache before/after the ci run\n      - uses: actions/cache@v4\n        with:\n          path: ${{ env.CCACHE_DIR }}\n          key: ccache-${{ matrix.ROS_DISTRO }}\n\n      - uses: ros-industrial/industrial_ci@master\n        with:\n          config: ${{toJSON(matrix)}}\n", "state": "active", "repository": "floweisshardt/atf"}
{"mined_at": "2024-07-15T14:44:25.478832", "created_at": "2022-06-02T22:03:33+02:00", "updated_at": "2022-06-03T11:13:03+02:00", "name": "Integration tests on SQL Server", "path": ".github/workflows/integration-tests-sqlserver.yml", "contents": "---\nname: Integration tests on SQL Server\non:  # yamllint disable-line rule:truthy\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n      - v*\n  pull_request:\n    branches:\n      - master\n      - v*\n\njobs:\n  integration-tests-sql-server:\n    name: Regular\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        msodbc_version: [\"17\", \"18\"]\n        sqlserver_version: [\"2017\", \"2019\", \"2022\"]\n        collation: [\"SQL_Latin1_General_CP1_CS_AS\", \"SQL_Latin1_General_CP1_CI_AS\"]\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/${{ github.repository }}:CI-${{ matrix.python_version }}-msodbc${{ matrix.msodbc_version }}\n    services:\n      sqlserver:\n        image: ghcr.io/${{ github.repository }}:server-${{ matrix.sqlserver_version }}\n        env:\n          ACCEPT_EULA: 'Y'\n          SA_PASSWORD: 5atyaNadella\n          DBT_TEST_USER_1: DBT_TEST_USER_1\n          DBT_TEST_USER_2: DBT_TEST_USER_2\n          DBT_TEST_USER_3: DBT_TEST_USER_3\n          COLLATION: ${{ matrix.collation }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install dependencies\n        run: pip install -r dev_requirements.txt\n\n      - name: Run functional tests\n        run: pytest -ra -v tests/functional --profile \"ci_sql_server\"\n        env:\n          DBT_TEST_USER_1: DBT_TEST_USER_1\n          DBT_TEST_USER_2: DBT_TEST_USER_2\n          DBT_TEST_USER_3: DBT_TEST_USER_3\n          SQLSERVER_TEST_DRIVER: 'ODBC Driver ${{ matrix.msodbc_version }} for SQL Server'\n", "state": "active", "repository": "dbt-msft/dbt-sqlserver"}
{"mined_at": "2024-07-15T14:44:26.511169", "created_at": "2022-05-21T15:52:26+02:00", "updated_at": "2022-05-22T15:55:54+02:00", "name": "Publish Docker images for CI/CD", "path": ".github/workflows/publish-docker.yml", "contents": "---\nname: Publish Docker images for CI/CD\non:  # yamllint disable-line rule:truthy\n  push:\n    paths:\n      - 'devops/**'\n      - '.github/workflows/publish-docker.yml'\n    branches:\n      - 'master'\n\njobs:\n  publish-docker-client:\n    strategy:\n      matrix:\n        python_version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        docker_target: [\"msodbc17\", \"msodbc18\"]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2.1.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v4.0.0\n        with:\n          context: devops\n          build-args: PYTHON_VERSION=${{ matrix.python_version }}\n          file: devops/CI.Dockerfile\n          push: true\n          platforms: linux/amd64\n          target: ${{ matrix.docker_target }}\n          tags: ghcr.io/${{ github.repository }}:CI-${{ matrix.python_version }}-${{ matrix.docker_target }}\n\n  publish-docker-server:\n    strategy:\n      matrix:\n        mssql_version: [\"2017\", \"2019\", \"2022\"]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2.1.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v4.0.0\n        with:\n          context: devops\n          build-args: MSSQL_VERSION=${{ matrix.mssql_version }}\n          file: devops/server.Dockerfile\n          push: true\n          platforms: linux/amd64\n          tags: ghcr.io/${{ github.repository }}:server-${{ matrix.mssql_version }}\n", "state": "active", "repository": "dbt-msft/dbt-sqlserver"}
{"mined_at": "2024-07-15T14:44:27.538016", "created_at": "2022-06-03T11:12:56+02:00", "updated_at": "2022-06-03T11:12:56+02:00", "name": "Release new version", "path": ".github/workflows/release-version.yml", "contents": "---\nname: Release new version\n\non:  # yamllint disable-line rule:truthy\n  release:\n    types:\n      - published\n\njobs:\n  release-version:\n    name: Release new version\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n\n      - name: Install dependencies\n        run: pip install -r dev_requirements.txt\n\n      - name: Verify version match\n        run: python setup.py verify\n\n      - name: Initialize .pypirc\n        run: |\n          echo -e \"[pypi]\" >> ~/.pypirc\n          echo -e \"username = __token__\" >> ~/.pypirc\n          echo -e \"password = ${{ secrets.PYPI_DBT_SQLSERVER }}\" >> ~/.pypirc\n\n      - name: Build and publish package\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "dbt-msft/dbt-sqlserver"}
{"mined_at": "2024-07-15T14:44:28.676218", "created_at": "2022-05-22T16:20:39+02:00", "updated_at": "2022-05-30T08:14:07+02:00", "name": "Unit tests", "path": ".github/workflows/unit-tests.yml", "contents": "---\nname: Unit tests\non:  # yamllint disable-line rule:truthy\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n      - v*\n  pull_request:\n    branches:\n      - master\n      - v*\n\njobs:\n  unit-tests:\n    name: Unit tests\n    strategy:\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: read\n    container:\n      image: ghcr.io/${{ github.repository }}:CI-${{ matrix.python_version }}-msodbc18\n      credentials:\n        username: ${{ github.actor }}\n        password: ${{ secrets.github_token }}\n    steps:\n\n      - uses: actions/checkout@v3\n\n      - name: Install dependencies\n        run: pip install -r dev_requirements.txt\n\n      - name: Run unit tests\n        run: pytest -n auto -ra -v tests/unit\n", "state": "active", "repository": "dbt-msft/dbt-sqlserver"}
{"mined_at": "2024-07-15T14:44:30.761511", "created_at": "2024-01-17T20:54:18+01:00", "updated_at": "2024-01-17T20:54:18+01:00", "name": "black-action", "path": ".github/workflows/black.yml", "contents": null, "state": "active", "repository": "marechj/hll_rcon_tool"}
{"mined_at": "2024-07-15T14:44:31.762794", "created_at": "2024-04-17T20:10:01+02:00", "updated_at": "2024-04-17T20:10:01+02:00", "name": "build-docker-images-manual", "path": ".github/workflows/docker-images-manual.yml", "contents": "name: build-docker-images-manual\n\non:\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: \"Choose a tag\"\n        required: true\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.version }}\n          fetch-depth: 0\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and push backend\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: cericmathey/hll_rcon_tool:latest,cericmathey/hll_rcon_tool:${{ github.event.inputs.tag }}\n      - name: Build and push frontend\n        uses: docker/build-push-action@v5\n        with:\n          file: Dockerfile-frontend\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: cericmathey/hll_rcon_tool_frontend:latest,cericmathey/hll_rcon_tool_frontend:${{ github.event.inputs.tag }}\n      - name: Update repo description\n        uses: peter-evans/dockerhub-description@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n          repository: cericmathey/hll_rcon_tool\n      - name: Update repo description\n        uses: peter-evans/dockerhub-description@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n          repository: cericmathey/hll_rcon_tool_frontend\n", "state": "active", "repository": "marechj/hll_rcon_tool"}
{"mined_at": "2024-07-15T14:44:32.947593", "created_at": "2024-04-17T20:10:01+02:00", "updated_at": "2024-04-17T20:10:01+02:00", "name": "build-docker-images", "path": ".github/workflows/docker-images.yml", "contents": "name: build-docker-images\n\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and push backend\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: cericmathey/hll_rcon_tool:latest,cericmathey/hll_rcon_tool:${{  github.ref_name }}\n      - name: Build and push frontend\n        uses: docker/build-push-action@v5\n        with:\n          file: Dockerfile-frontend\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: cericmathey/hll_rcon_tool_frontend:latest,cericmathey/hll_rcon_tool_frontend:${{  github.ref_name }}\n      - name: Update repo description\n        uses: peter-evans/dockerhub-description@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n          repository: cericmathey/hll_rcon_tool\n      - name: Update repo description\n        uses: peter-evans/dockerhub-description@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n          repository: cericmathey/hll_rcon_tool_frontend\n", "state": "active", "repository": "marechj/hll_rcon_tool"}
{"mined_at": "2024-07-15T14:44:34.078100", "created_at": "2020-03-28T17:40:54+01:00", "updated_at": "2020-03-28T17:40:54+01:00", "name": "Bump version", "path": ".github/workflows/main.yml", "contents": "name: Bump version\non:\n  push:\n    branches:\n      - master\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n      with:\n        fetch-depth: '0'\n    - name: Bump version and push tag\n      uses: anothrNick/github-tag-action@1.26.0\n      env:\n        DEFAULT_BUMP: patch  \n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        WITH_V: true\n", "state": "active", "repository": "marechj/hll_rcon_tool"}
{"mined_at": "2024-07-15T14:44:37.042622", "created_at": "2020-03-17T18:27:04+01:00", "updated_at": "2022-09-19T21:40:13+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, workflow_dispatch]\n\nenv:\n  COVERALLS_PARALLEL: true\n  COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n  SF_MKDOCS_BUILD_LOCALES: \"False\"\n\njobs:\n  test:\n    name: \"Python ${{ matrix.python-version }}\"\n    runs-on: sfdc-ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n\n      - name: \"Install dependencies\"\n        run: |\n          python -VV\n          python -m pip install --upgrade pip\n          pip install -r requirements_dev.txt\n\n      - name: \"Run tox targets for ${{ matrix.python-version }}\"\n        run: python -m tox\n\n      - name: Report Coverage\n        run: coveralls\n\n      - name: Test snowbench\n        run: |\n          python setup.py install\n          snowbench snowfakery/tools/benchmark_1.yml --num-records 10_000  --num-records-tablename Account --number-of-processes 4\n          snowbench | tee bench.txt\n          tail -n 7 bench.txt >> $GITHUB_STEP_SUMMARY\n\n  with_cci:\n    name: With CumulusCI\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - run: |\n          git fetch --no-tags origin main:_remote_main_\n\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies\n        run: |\n          python -VV\n          python -m pip install --upgrade pip\n          pip install -r requirements_dev.txt\n          python -m pip install git+https://github.com/SFDO-Tooling/CumulusCI.git@main\n\n      - name: Run Tests\n        run: |\n          python -m coverage run -m pytest\n\n      - name: Check Coverage\n        run: |\n          coverage xml\n          coverage report\n          git diff HEAD.._remote_main_\n          diff-cover coverage.xml --fail-under 100 --compare-branch=_remote_main_ --diff-range-notation=.. --show-uncovered --markdown-report coverage.md\n          cat coverage.md >> $GITHUB_STEP_SUMMARY\n\n      - name: Type Check\n        run: pyright\n\n  faker_docs:\n    name: Faker Docs\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies\n        run: |\n          python -VV\n          pip install -r requirements_dev.txt\n          # docs build requires a proper install\n          python setup.py install\n\n      - name: Make Docs\n        run: make docs\n\n  pip:\n    name: \"Install from Pip ${{ matrix.python-version }}\"\n    runs-on: sfdc-ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.10\"]\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n\n      - name: \"Install dependencies\"\n        run: |\n          python -VV\n          python -m pip install --upgrade pip\n\n      - name: \"Install using pip\"\n        run: |\n          pip install .\n\n      - name: \"Test installation\"\n        run: |\n          python -m snowfakery --version\n\n  windows:\n    name: Windows ${{ matrix.python-version }}\n    runs-on: sfdc-windows-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n\n      - name: \"Install dependencies\"\n        run: |\n          python -VV\n          python -m pip install --upgrade pip\n          pip install -r requirements_dev.txt\n\n      - name: Run Tests\n        run: python -m pytest\n\n  coveralls_done:\n    name: Finalize coveralls\n    needs: [test]\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - run: curl -k https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN -d \"payload[build_num]=$GITHUB_SHA&payload[status]=done\"\n", "state": "active", "repository": "sfdo-tooling/snowfakery"}
{"mined_at": "2024-07-15T14:44:38.270927", "created_at": "2021-07-27T09:44:34+02:00", "updated_at": "2021-07-28T10:43:42+02:00", "name": "post-review-checks", "path": ".github/workflows/extra-checks-after-pull-request-review.yml", "contents": "name: post-review-checks\n\non:\n  pull_request_review:\n    types: [submitted]\n\n  workflow_dispatch:\n\njobs:\n  faker_docs:\n    name: Faker Docs I18N\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies\n        run: |\n          python -VV\n          pip install -r requirements_dev.txt\n          # docs build requires a proper install\n          python setup.py install\n\n      - name: Make Docs\n        run: make docs\n", "state": "active", "repository": "sfdo-tooling/snowfakery"}
{"mined_at": "2024-07-15T14:44:39.499869", "created_at": "2020-04-12T03:02:59+02:00", "updated_at": "2020-04-12T03:02:59+02:00", "name": "Release snowfakery", "path": ".github/workflows/release.yml", "contents": "# based on CumulusCI's release.yml\nname: Release snowfakery\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - snowfakery/version.txt\n  workflow_dispatch:\n\njobs:\n  publish-to-pypi:\n    name: Publish new release to PyPI\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install build tools\n        run: python -m pip install twine wheel\n      - name: Build source tarball and binary wheel\n        run: python setup.py sdist bdist_wheel\n      - name: Upload to PyPI\n        run: twine upload dist/*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n      - name: Create tag\n        run: |\n          curl -s -X POST https://api.github.com/repos/$GITHUB_REPOSITORY/git/refs -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" -d @- << EOF\n          {\"ref\": \"refs/tags/v$(python setup.py --version)\", \"sha\": \"$GITHUB_SHA\"}\n          EOF\n", "state": "active", "repository": "sfdo-tooling/snowfakery"}
{"mined_at": "2024-07-15T14:44:41.697668", "created_at": "2024-04-04T00:25:54+02:00", "updated_at": "2024-04-04T00:25:54+02:00", "name": "Django Unit Tests", "path": ".github/workflows/django-unit-tests.yaml", "contents": null, "state": "active", "repository": "bcgov/gwells"}
{"mined_at": "2024-07-15T14:44:42.718079", "created_at": "2023-09-15T20:04:17+02:00", "updated_at": "2023-09-15T20:04:17+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/pr-labeller.yaml", "contents": "name: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v4\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        configuration-path: .github/labeller.yaml\n", "state": "active", "repository": "bcgov/gwells"}
{"mined_at": "2024-07-15T14:44:43.773433", "created_at": "2024-07-08T20:14:27+02:00", "updated_at": "2024-07-08T20:14:27+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "bcgov/gwells"}
{"mined_at": "2024-07-15T14:44:45.924261", "created_at": "2024-02-22T23:39:38+01:00", "updated_at": "2024-02-22T23:39:38+01:00", "name": "Clean install", "path": ".github/workflows/basic-install.yml", "contents": null, "state": "active", "repository": "lscsoft/bilby"}
{"mined_at": "2024-07-15T14:44:46.948739", "created_at": "2024-02-23T15:44:24+01:00", "updated_at": "2024-02-23T15:44:24+01:00", "name": "GitHub Pages", "path": ".github/workflows/pages.yml", "contents": null, "state": "active", "repository": "lscsoft/bilby"}
{"mined_at": "2024-07-15T14:44:48.010864", "created_at": "2024-02-22T22:49:32+01:00", "updated_at": "2024-02-22T22:49:32+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "lscsoft/bilby"}
{"mined_at": "2024-07-15T14:44:49.125056", "created_at": "2024-02-22T21:45:50+01:00", "updated_at": "2024-02-22T21:45:50+01:00", "name": "Python package", "path": ".github/workflows/unit-tests.yml", "contents": null, "state": "active", "repository": "lscsoft/bilby"}
{"mined_at": "2024-07-15T14:44:51.300382", "created_at": "2020-01-06T06:09:03+01:00", "updated_at": "2021-09-17T06:51:06+02:00", "name": "Run Code Checks", "path": ".github/workflows/main.yml", "contents": "# yamllint disable-file\nname: Run Code Checks\n\non:\n  pull_request:\n  push:\n    # Only run on push to `develop` branch to prevent double execution of\n    # all the code checks.\n    # Everything should be merged through PRs anyway.\n    branches:\n      - develop\n      - test-ci-*\n      - pypi/publish\n    paths:\n      - '**'\n      - '!notebooks/**'\n      - '!docs/**'\n      - '!old/**'\n      - '!README.md'\n\njobs:\n  build-wheels:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Setup Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.9\n\n    - uses: actions/cache@v3\n      id: wheels_cache\n      with:\n        path: ./wheels\n        key: wheels-${{ github.sha }}\n\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade setuptools\n        python -m pip install --upgrade \\\n         toml \\\n         wheel \\\n         packaging \\\n         twine\n        python -m pip freeze\n\n    - name: Build Clean Packages\n      run: |\n        mkdir -p ./wheels/clean\n        ./scripts/build-wheels.sh ./wheels/clean\n        find ./wheels/clean -type f\n\n    - name: Patch Package Versions\n      run: |\n        grep -R --files-with-matches --include '*.py' '__version__ =' \\\n        | xargs python ./scripts/patch_version.py ${GITHUB_RUN_NUMBER:-0}\n\n    - name: Build Dev Packages\n      run: |\n        mkdir -p ./wheels/dev\n        ./scripts/build-wheels.sh ./wheels/dev\n        find ./wheels/dev -type f\n\n  build-test-env-base:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - uses: actions/cache@v3\n      id: conda_cache\n      with:\n        path: |\n          tests/env\n        key: ${{ runner.os }}-test-env-${{ hashFiles('tests/test-env.yml') }}\n\n    - uses: conda-incubator/setup-miniconda@v2\n      if: steps.conda_cache.outputs.cache-hit != 'true'\n      with:\n        channels: conda-forge,defaults\n        channel-priority: true\n        activate-environment: \"\"\n          # mamba-version: \"*\"\n        use-mamba: true\n        miniforge-variant: Mambaforge\n\n    - name: Dump Conda Environment Info\n      shell: bash -l {0}\n      if: steps.conda_cache.outputs.cache-hit != 'true'\n      run: |\n          conda info\n          conda list\n          mamba -V\n          conda config --show-sources\n          conda config --show\n          printenv | sort\n\n    - name: Build Python Environment for Testing\n      shell: bash -l {0}\n      if: steps.conda_cache.outputs.cache-hit != 'true'\n      run: |\n        mamba env create -f tests/test-env.yml -p tests/env\n\n    - name: Check Python Env\n      shell: bash -l {0}\n      if: steps.conda_cache.outputs.cache-hit != 'true'\n      run: |\n        mamba env export -p tests/env\n\n\n  test-with-coverage:\n    runs-on: ubuntu-latest\n\n    needs:\n      - build-test-env-base\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Get Conda Environment from Cache\n      uses: actions/cache@v3\n      id: conda_cache\n      with:\n        path: |\n          tests/env\n        key: ${{ runner.os }}-test-env-${{ hashFiles('tests/test-env.yml') }}\n\n    - name: Update PATH\n      shell: bash\n      run: |\n        echo \"$(pwd)/tests/env/bin\" >> $GITHUB_PATH\n        export PATH=\"$(pwd)/tests/env/bin\"\n\n    - name: Install in Edit mode\n      shell: bash\n      run: |\n        which python\n        which createdb\n        which datacube\n\n        ./scripts/dev-install.sh --no-deps\n\n    - name: Start Test DB\n      shell: bash\n      run: |\n        echo \"Launching test db\"\n        pgdata=$(pwd)/.dbdata\n        initdb -D ${pgdata} --auth-host=md5 --encoding=UTF8\n        pg_ctl -D ${pgdata} -l \"${pgdata}/pg.log\" start\n        createdb datacube\n        datacube system init\n        pip list --format=freeze\n\n      env:\n        DATACUBE_DB_URL: postgresql:///datacube\n\n    - name: Run Tests\n      shell: bash\n      run: |\n        datacube system check\n        datacube metadata add \"https://raw.githubusercontent.com/GeoscienceAustralia/dea-config/master/product_metadata/eo3_sentinel_ard.odc-type.yaml\"\n\n        echo \"Running Tests\"\n        pytest --cov=. \\\n        --cov-report=html \\\n        --cov-report=xml:coverage.xml \\\n        --timeout=30 \\\n        libs apps\n\n      env:\n        AWS_DEFAULT_REGION: us-west-2\n        DASK_TEMPORARY_DIRECTORY: /tmp/dask\n        DATACUBE_DB_URL: postgresql:///datacube\n\n    - name: Upload Coverage\n      if: |\n        github.repository == 'opendatacube/odc-tools'\n\n      uses: codecov/codecov-action@v1\n      with:\n        fail_ci_if_error: false\n        verbose: false\n\n\n  test-wheels:\n    runs-on: ubuntu-latest\n\n    needs:\n      - build-test-env-base\n      - build-wheels\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Get Wheels from Cache\n      uses: actions/cache@v3\n      id: wheels_cache\n      with:\n        path: ./wheels\n        key: wheels-${{ github.sha }}\n\n    - name: Get Conda Environment from Cache\n      uses: actions/cache@v3\n      id: conda_cache\n      with:\n        path: |\n          tests/env\n        key: ${{ runner.os }}-test-env-${{ hashFiles('tests/test-env.yml') }}\n\n    - name: Update PATH\n      shell: bash\n      run: |\n        echo \"$(pwd)/tests/env/bin\" >> $GITHUB_PATH\n\n    - name: Install wheels for testing\n      shell: bash\n      run: |\n        which python\n        which createdb\n        which datacube\n\n        ls -lh wheels/clean\n        python -m pip install --no-deps wheels/clean/*whl\n        python -m pip check || true\n\n    - name: Start Test DB\n      shell: bash\n      run: |\n        echo \"Launching test db\"\n        pgdata=$(pwd)/.dbdata\n        initdb -D ${pgdata} --auth-host=md5 --encoding=UTF8\n        pg_ctl -D ${pgdata} -l \"${pgdata}/pg.log\" start\n        createdb datacube\n        datacube system init\n\n      env:\n        DATACUBE_DB_URL: postgresql:///datacube\n\n    - name: Run Tests\n      shell: bash\n      run: |\n        datacube system check\n        datacube metadata add \"https://raw.githubusercontent.com/GeoscienceAustralia/dea-config/master/product_metadata/eo3_sentinel_ard.odc-type.yaml\"\n\n        echo \"Running Tests\"\n        pytest --timeout=30 libs apps\n\n      env:\n        AWS_DEFAULT_REGION: us-west-2\n        DASK_TEMPORARY_DIRECTORY: /tmp/dask\n        DATACUBE_DB_URL: postgresql:///datacube\n\n  publish-pypi:\n    if: |\n        github.event_name == 'push'\n        && github.repository == 'opendatacube/odc-tools'\n        && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/pypi/publish')\n\n    strategy:\n      matrix:\n        pkg:\n        - odc-cloud\n        - odc-io\n        - odc-ui\n        - odc-apps-cloud\n        - odc-apps-dc-tools\n\n    needs:\n      - build-wheels\n      - test-wheels\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Config\n      if: |\n        github.event_name == 'push'\n        && github.repository == 'opendatacube/odc-tools'\n        && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/pypi/publish')\n      id: cfg\n      env:\n        PKG: ${{ matrix.pkg }}\n      run: |\n        tk=\"pypi_token_${PKG//-/_}\"\n        echo \"tk=${tk}\" >> $GITHUB_OUTPUT\n        echo \"publish=yes\" >> $GITHUB_OUTPUT\n\n    - name: Setup Python\n      if: steps.cfg.outputs.publish == 'yes'\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.8\n\n    - name: Install Twine\n      if: steps.cfg.outputs.publish == 'yes'\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade setuptools\n        python -m pip install --upgrade \\\n         toml \\\n         wheel \\\n         twine\n        python -m pip freeze\n    - uses: actions/cache@v3\n      id: wheels_cache\n      if: steps.cfg.outputs.publish == 'yes'\n      with:\n        path: ./wheels\n        key: wheels-${{ github.sha }}\n\n    - name: Prepare for upload\n      if: steps.cfg.outputs.publish == 'yes'\n      run: |\n        mkdir -p ./pips\n        ./scripts/mk-pip-tree.sh ./wheels/clean ./pips\n        find ./pips -type f\n    - name: Upload to PyPI\n      if: steps.cfg.outputs.publish == 'yes'\n      env:\n        TWINE_PASSWORD: ${{ secrets[ steps.cfg.outputs.tk ] }}\n        TWINE_USERNAME: __token__\n        PKG: ${{ matrix.pkg }}\n\n      run: |\n        ls pips/${PKG}\n        twine upload --non-interactive --skip-existing pips/${PKG}/*\n", "state": "active", "repository": "opendatacube/odc-tools"}
{"mined_at": "2024-07-15T14:44:54.552083", "created_at": "2023-11-22T19:45:54+01:00", "updated_at": "2023-11-24T19:45:26+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "---\nname: Codespell\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\npermissions:\n  contents: read\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "jonescompneurolab/hnn-core"}
{"mined_at": "2024-07-15T14:44:55.580087", "created_at": "2023-08-23T20:02:33+02:00", "updated_at": "2023-08-23T20:02:33+02:00", "name": ".github/workflows/draft-pdf.yml", "path": ".github/workflows/draft-pdf.yml", "contents": null, "state": "active", "repository": "jonescompneurolab/hnn-core"}
{"mined_at": "2024-07-15T14:44:56.609958", "created_at": "2024-06-12T21:42:26+02:00", "updated_at": "2024-06-12T22:46:21+02:00", "name": "Monthly issue metrics", "path": ".github/workflows/issue-metrics.yml", "contents": "name: Monthly issue metrics\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '3 2 1 * *'\n\npermissions:\n  contents: write\n\njobs:\n  build:\n    name: issue metrics\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: read\n\n    steps:\n\n    - name: Get dates for last month\n      shell: bash\n      run: |\n        # Calculate the first day of the previous month\n        first_day=$(date -d \"last month\" +%Y-%m-01)\n\n        # Calculate the last day of the previous month\n        last_day=$(date -d \"$first_day +1 month -1 day\" +%Y-%m-%d)\n\n        #Set an environment variable with the date range\n        echo \"$first_day..$last_day\"\n        echo \"last_month=$first_day..$last_day\" >> \"$GITHUB_ENV\"\n\n    - name: Run issue-metrics tool\n      uses: github/issue-metrics@v3\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        SEARCH_QUERY: 'repo:jonescompneurolab/hnn-core is:issue created:${{ env.last_month }}'\n\n    - name: Create issue\n      uses: peter-evans/create-issue-from-file@v4\n      with:\n        title: Monthly issue metrics report\n        token: ${{ secrets.GITHUB_TOKEN }}\n        content-filepath: ./issue_metrics.md", "state": "active", "repository": "jonescompneurolab/hnn-core"}
{"mined_at": "2024-07-15T14:44:57.626755", "created_at": "2021-07-09T04:04:40+02:00", "updated_at": "2021-07-13T03:58:43+02:00", "name": "Linkcheck", "path": ".github/workflows/linkcheck.yml", "contents": "name: Linkcheck\n\non:\n  push:\n    branches: ['**']\n  pull_request:\n    branches: ['**']\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: test\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        shell: bash -el {0}\n        run: |\n          sudo apt-get install pandoc\n          python -m pip install --upgrade pip\n          pip install numpy matplotlib scipy NEURON\n          pip install '.[gui, docs]'\n\n      - name: Linkcheck\n        shell: bash -el {0}\n        run: |\n          make -C doc linkcheck\n", "state": "active", "repository": "jonescompneurolab/hnn-core"}
{"mined_at": "2024-07-15T14:44:58.637590", "created_at": "2024-06-14T04:23:57+02:00", "updated_at": "2024-06-14T04:23:57+02:00", "name": "Unit tests", "path": ".github/workflows/linux_unit_test.yml", "contents": null, "state": "active", "repository": "jonescompneurolab/hnn-core"}
{"mined_at": "2024-07-15T14:44:59.663941", "created_at": "2024-06-14T04:23:57+02:00", "updated_at": "2024-06-14T04:23:57+02:00", "name": "Unit tests", "path": ".github/workflows/macos_unit_tests.yml", "contents": null, "state": "active", "repository": "jonescompneurolab/hnn-core"}
{"mined_at": "2024-07-15T14:45:00.702928", "created_at": "2024-06-21T17:37:06+02:00", "updated_at": "2024-06-21T18:03:51+02:00", "name": "Unit tests", "path": ".github/workflows/unix_unit_tests.yml", "contents": "  name: Unit tests\n\n  on:\n    push:\n      branches: ['**']\n    pull_request:\n      branches: ['**']\n\n  jobs:\n    build:\n\n      runs-on: ${{ matrix.os }}\n      strategy:\n        matrix:\n          os: [ubuntu-latest,macos-latest]\n          python-version: [3.8, 3.9, '3.10']\n\n      steps:\n        - uses: actions/checkout@v4\n\n        - name: Install Ubuntu System dependencies\n          if: matrix.os == 'ubuntu-latest'\n          shell: bash -el {0}\n          run: |\n              sudo add-apt-repository ppa:ubuntu-toolchain-r/test\n              sudo apt-get update\n              sudo apt-get install libopenmpi-dev openmpi-bin\n\n        - name: Activate conda environment for macOS\n          if: matrix.os == 'macos-latest'\n          uses: conda-incubator/setup-miniconda@v3\n          with:\n            activate-environment: test\n            python-version: ${{ matrix.python-version }}\n            fetch-depth: 2\n\n        - name: Activate Python environment for Ubuntu\n          if: matrix.os == 'ubuntu-latest'\n          uses: actions/setup-python@v5\n          with:\n              python-version: ${{ matrix.python-version }}\n        \n        - name: Install Python  dependencies\n          shell: bash -el {0}\n          run: |\n            if [ ${{ matrix.os }} == 'macos-latest' ]; then\n              python -m pip install --upgrade pip\n              conda install --yes -c conda-forge mpi4py openmpi\n            elif [[ \"${{ matrix.os }}\" == \"ubuntu-latest\" ]]; then \n              python -m pip install --upgrade pip\n              python -m pip install mpi4py\n            fi\n        - name: Install HNN-core\n          shell: bash -el {0}\n          run: |\n            pip install --verbose '.[opt, parallel, test, gui]'\n        - name: Lint with flake8\n          shell: bash -el {0}\n          run: |\n            flake8 --count hnn_core\n        - name: Test with pytest\n          shell: bash -el {0}\n          run: |\n            python -m pytest ./hnn_core/tests/  --cov=hnn_core --cov-report=xml\n        - name:  Upload coverage to Codecov\n          shell: bash -el {0}\n          run: |\n            bash <(curl -s https://codecov.io/bash) -f ./coverage.xml", "state": "active", "repository": "jonescompneurolab/hnn-core"}
{"mined_at": "2024-07-15T14:45:01.823150", "created_at": "2023-01-15T20:56:11+01:00", "updated_at": "2023-01-17T22:08:28+01:00", "name": "Unit test", "path": ".github/workflows/windows_unit_tests.yml", "contents": "name: Unit test\n\non:\n  push:\n    branches: ['**']\n  pull_request:\n    branches: ['**']\n\nenv:\n    PYTHONPATH: C:\\nrn_test\\lib\\python\n    NEURONHOME: C:\\nrn_test\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest]\n        python-version: [3.8, 3.9, '3.10']\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: test\n          python-version: ${{ matrix.python-version }}\n      - name: Install Neuron on Windows separately\n        shell: cmd\n        run: |\n          powershell -command \"gh release download --repo https://github.com/neuronsimulator/nrn --pattern '*.exe' --output nrn-setup.exe\"\n          start /b /wait .\\nrn-setup.exe /S /D=C:\\nrn_test\n          powershell -command \"'C:\\nrn_test\\bin' >> $env:GITHUB_PATH\"\n          python -c \"import neuron\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Install dependencies and HNN\n        shell: cmd\n        run: |\n          python -m pip install --upgrade pip\n          pip install --verbose .[opt,parallel,test,gui]\n      - name: Test with pytest\n        shell: cmd\n        run: |\n          python -m pytest ./hnn_core/tests/\n", "state": "active", "repository": "jonescompneurolab/hnn-core"}
{"mined_at": "2024-07-15T14:45:02.868649", "created_at": "2021-12-24T05:07:07+01:00", "updated_at": "2021-12-24T05:07:07+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "jonescompneurolab/hnn-core"}
{"mined_at": "2024-07-15T14:45:05.202239", "created_at": "2020-12-31T02:25:09+01:00", "updated_at": "2020-12-31T02:25:09+01:00", "name": "Validate Ansible playbooks", "path": ".github/workflows/validate-ansible.yml", "contents": "name: Validate Ansible playbooks\non:\n  push:\n    paths:\n      - \".github/**\"\n      - \"ansible/**\"\n      - \"ansible.cfg\"\n      - \"requirements/development.txt\"\nenv:\n  ANSIBLE_ASK_VAULT_PASS: False\n  ENVIRONMENT: testing\njobs:\n  ansible-lint:\n    name: Lint Ansible playbooks\n    runs-on: ubuntu-latest\n    container: python:3.9-bullseye\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3.5.3\n      - name: Virtualenv caching\n        uses: actions/cache@v3.3.1\n        with:\n          path: ~/venv/current\n          key: ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-${{ hashFiles('**/requirements/production.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-${{ hashFiles('**/requirements/production.txt') }}\n            ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-\n            ${{ runner.os }}-python3.9-venv-v1-\n      - name: Install Python dependencies\n        uses: mobolic/install-python-dependencies@v0.3.0\n        with:\n          virtualenv-location: \"~/venv/current\"\n      - name: Run ansible-lint\n        run: |\n          bash -c \"source ~/venv/current/bin/activate &&\n          ansible-lint ansible/\"\n  ansible-test:\n    name: Test Ansible playbooks\n    needs: ansible-lint\n    runs-on: ubuntu-latest\n    container: python:3.9-bullseye\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3.5.3\n      - name: Virtualenv caching\n        uses: actions/cache@v3.3.1\n        with:\n          path: ~/venv/current\n          key: ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-${{ hashFiles('**/requirements/production.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-${{ hashFiles('**/requirements/production.txt') }}\n            ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-\n            ${{ runner.os }}-python3.9-venv-v1-\n      - name: Install Python dependencies\n        uses: mobolic/install-python-dependencies@v0.3.0\n        with:\n          virtualenv-location: \"~/venv/current\"\n      - name: Run Ansible testing tasks\n        run: ~/venv/current/bin/ansible-playbook -i ansible/hosts -l testing --connection=local --tags testing ansible/testing.yml\n", "state": "active", "repository": "pydata/conf_site"}
{"mined_at": "2024-07-15T14:45:06.318798", "created_at": "2020-12-31T05:37:46+01:00", "updated_at": "2020-12-31T05:37:46+01:00", "name": "Validate documentation", "path": ".github/workflows/validate-documentation.yml", "contents": "name: Validate documentation\non:\n  push:\n    paths:\n      - \".github/**\"\n      - \"docs/**\"\n      - \"requirements/development.txt\"\njobs:\n  rst-lint:\n    name: Lint ReStructuredText documentation\n    runs-on: ubuntu-latest\n    container: python:3.9-bullseye\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3.5.3\n      - name: Virtualenv caching\n        uses: actions/cache@v3.3.1\n        with:\n          path: ~/venv/current\n          key: ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-${{ hashFiles('**/requirements/production.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-${{ hashFiles('**/requirements/production.txt') }}\n            ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-\n            ${{ runner.os }}-python3.9-venv-v1-\n      - name: Install Python dependencies\n        uses: mobolic/install-python-dependencies@v0.3.0\n        with:\n          virtualenv-location: \"~/venv/current\"\n      - name: Run rstcheck\n        run: ~/venv/current/bin/rstcheck --report-level warning docs/source/*.rst\n", "state": "active", "repository": "pydata/conf_site"}
{"mined_at": "2024-07-15T14:45:07.555631", "created_at": "2020-12-31T02:25:09+01:00", "updated_at": "2020-12-31T02:25:09+01:00", "name": "Validate Python code", "path": ".github/workflows/validate-python.yml", "contents": "name: Validate Python code\non:\n  push:\n    paths:\n      - \".github/**\"\n      - \"conf_site/**\"\n      - \"requirements/**\"\n      - \"symposion/**\"\nenv:\n  ANSIBLE_ASK_VAULT_PASS: False\n  CC_TEST_REPORTER_ID: cf5093a40c8088ad26a5aca3e968037f90076dcbc825e5d10187dc3c81166e1a\n  DJANGO_SETTINGS_MODULE: \"conf_site.settings.testing\"\n  ENVIRONMENT: testing\n  POSTGRES_PASSWORD: ${{ github.run_id }}-${{ github.run_attempt }}\n  PYTHONWARNINGS: all\njobs:\n  python-lint:\n    name: Lint Python code\n    runs-on: ubuntu-latest\n    container: python:3.9-bullseye\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3.5.3\n      - name: Virtualenv caching\n        uses: actions/cache@v3.3.1\n        with:\n          path: ~/venv/current\n          key: ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-${{ hashFiles('**/requirements/production.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-${{ hashFiles('**/requirements/production.txt') }}\n            ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-\n            ${{ runner.os }}-python3.9-venv-v1-\n      - name: Install Python dependencies\n        uses: mobolic/install-python-dependencies@v0.3.0\n        with:\n          virtualenv-location: \"~/venv/current\"\n      - name: Run flake8 linting\n        run: ~/venv/current/bin/flake8 --exclude=ansible,docs,migrations .\n  python-test:\n    name: Test Python code\n    needs: python-lint\n    runs-on: ubuntu-latest\n    container: python:3.9-bullseye\n    services:\n      postgres:\n        image: postgres:13-bullseye\n        env:\n          POSTGRES_PASSWORD: ${{ github.run_id }}-${{ github.run_attempt }}\n          POSTGRES_USER: postgres\n          POSTGRES_DB: testing_db\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n      redis:\n        image: redis:6.0-bullseye\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3.5.3\n      - name: Virtualenv caching\n        uses: actions/cache@v3.3.1\n        with:\n          path: ~/venv/current\n          key: ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-${{ hashFiles('**/requirements/production.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-${{ hashFiles('**/requirements/production.txt') }}\n            ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-\n            ${{ runner.os }}-python3.9-venv-v1-\n      - name: Install Python dependencies\n        uses: mobolic/install-python-dependencies@v0.3.0\n        with:\n          virtualenv-location: \"~/venv/current\"\n      - name: Check for missing database migrations\n        run: ~/venv/current/bin/python3 ./manage.py makemigrations --check\n      - name: Migrate the database\n        run: ~/venv/current/bin/python3 ./manage.py migrate --noinput\n      - name: Validate and load fixtures\n        run: ~/venv/current/bin/ansible-playbook -i ansible/hosts -l testing --connection=local --tags fixtures ansible/testing.yml\n      - name: Collect static files\n        run: |\n             ~/venv/current/bin/python3 ./manage.py collectstatic --noinput\n      - name: Run automated tests\n        run: |\n            ~/venv/current/bin/coverage run --source='.' manage.py test --noinput\n            ~/venv/current/bin/coverage xml\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "pydata/conf_site"}
{"mined_at": "2024-07-15T14:45:09.896754", "created_at": "2020-11-05T15:32:34+01:00", "updated_at": "2024-05-21T10:59:48+02:00", "name": "C Actions", "path": ".github/workflows/c_actions.yml", "contents": "# Copyright (c) 2020 The University of Manchester\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# This workflow will install Python dependencies, run tests, lint and rat with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: C Actions\non: [push]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n\n    steps:\n    - name: Prepare\n      uses: SpiNNakerManchester/SupportScripts/actions/prepare@main\n      with:\n        python-version: \"3.12\"\n        checkout_dependencies: spinnaker_tools spinn_common\n        install_dependencies: SpiNNUtils\n        install_module: false\n        install_check_tools: false\n        ubuntu_packages: doxygen gcc-arm-none-eabi\n\n    - name: \"Prepare: Set Environment variables\"\n      run: |\n        echo \"SPINN_DIRS=$PWD/spinnaker_tools\" >> $GITHUB_ENV\n        echo \"C_LOGS_DICT=$PWD/spinn_front_end_common/common_model_binaries/logs.sqlite3\" >> $GITHUB_ENV\n\n    - name: \"Check: Lint C lib code using Vera++\"\n      uses: SpiNNakerManchester/SupportScripts/actions/vera@main\n      with:\n        base-dir: c_common/front_end_common_lib\n\n    - name: \"Check: Lint C binary code using Vera++\"\n      uses: SpiNNakerManchester/SupportScripts/actions/vera/@main\n      with:\n        base-dir: c_common/models\n\n    - name: \"Prepare: Build Supporting C libraries\"\n      run: |\n        make -C $SPINN_DIRS\n        make -C spinn_common install\n\n    - name: \"Check: Build C code\"\n      run: make\n      working-directory: c_common\n      env:\n        CFLAGS: -fdiagnostics-color=always\n\n    - name: \"Check: Build documentation\"\n      run: make doxysetup doxygen\n      working-directory: c_common\n\n    - name: Upload binaries\n      uses: actions/upload-artifact@v4\n      with:\n        name: fec_binaries\n        path: |\n          spinn_front_end_common/common_model_binaries/*.aplx\n          spinn_front_end_common/common_model_binaries/logs.sqlite3\n        retention-days: 5", "state": "active", "repository": "spinnakermanchester/spinnfrontendcommon"}
{"mined_at": "2024-07-15T14:45:11.142223", "created_at": "2020-11-10T16:14:49+01:00", "updated_at": "2020-11-10T16:18:46+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "# Copyright (c) 2020 The University of Manchester\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Publish\n\non:\n  push:\n    branches: [ master ]\n\nenv:\n  ROOT_DOC_DIR: doc/global\n  C_DOC_DIR: c_common/doc/html\n  DEPLOY_DIR: deploy\n\njobs:\n  build:\n    permissions:\n      contents: write\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Checkout SupportScripts\n        uses: actions/checkout@v4\n        with:\n          repository: SpiNNakerManchester/SupportScripts\n          path: support\n      - name: Set dynamic environment variables\n        run: |\n          echo \"SPINN_DIRS=$PWD/spinnaker_tools\" >> $GITHUB_ENV\n\n      - name: Checkout SpiNNaker Dependencies\n        uses: ./support/actions/install-spinn-deps\n        with:\n          repositories: >\n            spinnaker_tools\n          install: true\n\n      - name: Read tags\n        run: make doxysetup\n        working-directory: c_common\n\n      - name: Build C documentation\n        uses: mattnotmitt/doxygen-action@v1.9.8\n        with:\n          working-directory: c_common\n\n      - name: Merge documentation trees\n        run: |\n          cp -vaT $ROOT_DOC_DIR $DEPLOY_DIR\n          cp -vaT $C_DOC_DIR $DEPLOY_DIR/c\n      - name: Deploy to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4.6.0\n        with:\n          branch: gh-pages\n          folder: ${{ env.DEPLOY_DIR }}\n", "state": "active", "repository": "spinnakermanchester/spinnfrontendcommon"}
{"mined_at": "2024-07-15T14:45:12.369853", "created_at": "2020-11-05T12:29:46+01:00", "updated_at": "2020-11-05T12:31:36+01:00", "name": "Python Actions", "path": ".github/workflows/python_actions.yml", "contents": "# Copyright (c) 2020 The University of Manchester\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# This workflow will install Python dependencies, run tests, lint and rat with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python Actions\non: [push]\n\njobs:\n  call:\n    uses: SpiNNakerManchester/SupportScripts/.github/workflows/python_checks.yml@main\n    with:\n      dependencies: SpiNNUtils SpiNNMachine SpiNNMan PACMAN spalloc\n      test_directories: unittests fec_integration_tests\n      coverage-package: spinn_front_end_common\n      flake8-packages: spinn_front_end_common unittests fec_integration_tests\n      pylint-packages: spinn_front_end_common\n      mypy-packages: spinn_front_end_common\n      check_prereleases: false\n    secrets: inherit\n", "state": "active", "repository": "spinnakermanchester/spinnfrontendcommon"}
{"mined_at": "2024-07-15T14:45:13.543143", "created_at": "2022-01-12T15:38:31+01:00", "updated_at": "2022-01-12T15:38:31+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "spinnakermanchester/spinnfrontendcommon"}
{"mined_at": "2024-07-15T14:45:16.018122", "created_at": "2022-06-20T19:03:42+02:00", "updated_at": "2022-06-20T19:03:42+02:00", "name": "Deploy Storybook", "path": ".github/workflows/deploy-storybook.yml", "contents": "name: Deploy Storybook\non:\n  push:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  deploy:\n    name: Build & deploy\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v3\n        with:\n          node-version-file: .nvmrc\n          cache: yarn\n      - run: yarn install --frozen--lockfile\n      - run: yarn deploy-storybook --ci\n        env:\n          GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "sfdo-tooling/metecho"}
{"mined_at": "2024-07-15T14:45:17.147595", "created_at": "2022-06-20T19:03:42+02:00", "updated_at": "2022-06-20T19:03:42+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\non:\n  push:\n  pull_request:\n    types: [reopened]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: Build\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/setup-docker-compose\n        with:\n          # By writing to the cache here subsequent jobs will get the updated\n          # image when they use setup-docker-compose\n          cache-to: type=gha,mode=max\n\n  lint:\n    name: Lint\n    needs: [build]\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/setup-docker-compose\n      - name: Lint\n        run: docker-compose run --no-deps web yarn lint:nofix\n\n  frontend:\n    name: Frontend\n    needs: [build]\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/setup-docker-compose\n      - name: Test frontend\n        run: docker-compose run --no-deps web yarn test:js:coverage\n      - name: Upload coverage artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: frontend-coverage\n          path: |\n            coverage\n\n  backend:\n    name: Backend\n    needs: [build]\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/setup-docker-compose\n      - name: Test backend\n        # prettier-ignore\n        run: >\n          docker-compose run\n          -e DJANGO_DEBUG=false\n          -e SECURE_SSL_REDIRECT=false\n          -e SFDX_CLIENT_SECRET=\"sample secret\"\n          -e SFDX_CLIENT_CALLBACK_URL=\"sample callback\"\n          -e SFDX_CLIENT_ID=\"sample id\"\n          -e SFDX_HUB_KEY=\"sample key\"\n          -e DB_ENCRYPTION_KEY=MMkDMBfYL0Xoz3Xu1ENs3AkdCZdJoks5PNlUBkK7KDc=\n          web yarn test:py\n      - name: Upload coverage artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: backend-coverage\n          path: |\n            .coverage\n            coverage.xml\n\n  coverage:\n    name: Coverage\n    needs: [frontend, backend]\n    runs-on: sfdc-ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/setup-docker-compose\n      - name: Download frontend coverage artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: frontend-coverage\n          path: coverage\n      - name: Download backend coverage artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: backend-coverage\n      - name: Check coverage\n        run: |\n          docker-compose run --no-deps web yarn test:js:check-coverage\n          docker-compose run --no-deps web yarn test:py:check-coverage\n", "state": "active", "repository": "sfdo-tooling/metecho"}
{"mined_at": "2024-07-15T14:45:18.236190", "created_at": "2022-06-20T19:03:42+02:00", "updated_at": "2022-06-20T19:03:42+02:00", "name": "Upgrade dependencies", "path": ".github/workflows/upgrade-deps.yml", "contents": "name: Upgrade dependencies\n\non:\n  workflow_dispatch: # Allow running on-demand\n  schedule:\n    # Every Monday at 8:00 UTC (4:00 Eastern)\n    - cron: '0 8 * * 1'\n\njobs:\n  upgrade:\n    name: Upgrade & Open Pull Request\n    runs-on: sfdc-ubuntu-latest\n    env:\n      BRANCH_NAME: auto-dependency-upgrades\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # [Optional] Use a separate key to automatically execute checks on the resulting PR\n          # https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs\n          ssh-key: ${{ secrets.DEPLOY_KEY }}\n      - uses: ./.github/setup-docker-compose\n      - name: Upgrade JS dependencies\n        run: >\n          docker-compose run --no-deps web /bin/sh -c 'rm -f yarn.lock && chown\n          -R $(whoami):$(whoami) . && npx --yes yarn-upgrade-all'\n      - name: Upgrade Python dependencies\n        run: >\n          docker-compose run --no-deps web /bin/sh -c 'pip-compile --upgrade -o\n          requirements/prod.txt requirements/prod.in && pip-compile --upgrade -o\n          requirements/dev.txt requirements/dev.in'\n      - name: Detect changes\n        id: changes\n        run:\n          echo \"::set-output name=count::$(git status --porcelain=v1 2>/dev/null\n          | wc -l)\"\n      - name: Commit & push changes\n        if: steps.changes.outputs.count > 0\n        run: |\n          sudo chown -R $(whoami):$(whoami) .git\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git add .\n          git commit -m \"Automated dependency upgrades\"\n          git push -f origin ${{ github.ref_name }}:$BRANCH_NAME\n      - name: Open pull request if needed\n        if: steps.changes.outputs.count > 0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          PR=$(gh pr list --head $BRANCH_NAME --json number -q '.[0].number')\n          if [ -z $PR ]; then\n            gh pr create \\\n            --head $BRANCH_NAME \\\n            --title \"Automated dependency upgrades\" \\\n            --body \"Full log: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n          else\n            echo \"Pull request already exists, won't create a new one.\"\n          fi\n", "state": "active", "repository": "sfdo-tooling/metecho"}
{"mined_at": "2024-07-15T14:45:20.338152", "created_at": "2020-12-17T21:52:08+01:00", "updated_at": "2023-12-18T12:39:14+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "# Runs CI tests and generates wheels on the following platforms:\n#\n# * Linux (py2 and py3)\n# * macOS (py2 and py3)\n# * Windows (py3, py2 is done by appveyor)\n#\n# Useful URLs:\n# * https://github.com/pypa/cibuildwheel\n# * https://github.com/actions/checkout\n# * https://github.com/actions/setup-python\n# * https://github.com/actions/upload-artifact\n\non: [push, pull_request]\nname: build\nconcurrency:\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.sha || '' }}\n  cancel-in-progress: true\njobs:\n  # Linux + macOS + Windows Python 3\n  py3:\n    name: \"py3-${{ matrix.os }}-${{ matrix.arch }}\"\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - {os: ubuntu-latest, arch: x86_64}\n        - {os: ubuntu-latest, arch: i686}\n        - {os: ubuntu-latest, arch: aarch64}\n        - {os: macos-12, arch: x86_64}\n        - {os: macos-14, arch: arm64}\n        - {os: windows-2019, arch: AMD64}\n        - {os: windows-2019, arch: x86}\n    steps:\n    - uses: actions/checkout@v4\n\n    # see https://cibuildwheel.pypa.io/en/stable/faq/#macos-building-cpython-38-wheels-on-arm64\n    - name: \"Install python 3.8 universal2 on macOS arm64\"\n      if: runner.os == 'macOS' && runner.arch == 'ARM64'\n      uses: actions/setup-python@v5\n      env:\n          PIP_DISABLE_PIP_VERSION_CHECK: 1\n      with:\n        python-version: 3.8\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n      if: matrix.arch == 'aarch64'\n\n    - name: Create wheels + run tests\n      uses: pypa/cibuildwheel@v2.19.1\n      env:\n        CIBW_ARCHS: \"${{ matrix.arch }}\"\n        CIBW_PRERELEASE_PYTHONS: True\n\n    - name: Upload wheels\n      uses: actions/upload-artifact@v4\n      with:\n        name: wheels-py3-${{ matrix.os }}-${{ matrix.arch }}\n        path: wheelhouse\n\n    - name: Generate .tar.gz\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        make generate-manifest\n        python setup.py sdist\n        mv dist/psutil*.tar.gz wheelhouse/\n\n  # Linux + macOS + Python 2\n  py2:\n    name: py2-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 20\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-12]\n    env:\n      CIBW_TEST_COMMAND:\n        PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_DEBUG=1 python {project}/psutil/tests/runner.py &&\n        PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_DEBUG=1 python {project}/psutil/tests/test_memleaks.py\n      CIBW_TEST_EXTRAS: test\n      CIBW_BUILD: 'cp27-*'\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n\n    - name: Create wheels + run tests\n      uses: pypa/cibuildwheel@v1.12.0\n\n    - name: Upload wheels\n      uses: actions/upload-artifact@v4\n      with:\n        name: wheels-py2-${{ matrix.os }}\n        path: wheelhouse\n\n    - name: Generate .tar.gz\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        make generate-manifest\n        python setup.py sdist\n        mv dist/psutil*.tar.gz wheelhouse/\n\n  # Run linters\n  linters:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: 'Run linters'\n      run: |\n        python3 -m pip install ruff==0.4.4 black rstcheck toml-sort sphinx\n        make lint-all\n\n  # upload weels as a single artefact\n  upload-wheels:\n    needs: [py2, py3]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/upload-artifact/merge@v4\n        with:\n          name: wheels\n          pattern: wheels-*\n          separate-directories: false\n          delete-merged: true\n\n  # Check sanity of .tar.gz + wheel files\n  check-dist:\n    needs: [upload-wheels]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - uses: actions/download-artifact@v4\n        with:\n          name: wheels\n          path: wheelhouse\n      - run: |\n          python scripts/internal/print_hashes.py wheelhouse/\n          pipx run twine check --strict wheelhouse/*\n          pipx run abi3audit --verbose --strict wheelhouse/*-abi3-*.whl\n", "state": "active", "repository": "giampaolo/psutil"}
{"mined_at": "2024-07-15T14:45:21.321160", "created_at": "2020-12-19T20:11:35+01:00", "updated_at": "2020-12-19T20:30:00+01:00", "name": "issues", "path": ".github/workflows/issues.yml", "contents": "# Fired by Github Actions every time an issue, PR or comment is created.\n\nname: issues\non:\n  issues:\n    types: [opened]\n  pull_request:\n    typed: [opened]\n  issue_comment:\n    types: [created]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    # install python\n    - uses: actions/checkout@v4\n    - name: Install Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n\n    # install deps\n    - name: Install deps\n      run: python3 -m pip install PyGithub\n\n    # run\n    - name: Run\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        PYTHONUNBUFFERED=1 PYTHONWARNINGS=always python3 .github/workflows/issues.py\n", "state": "active", "repository": "giampaolo/psutil"}
{"mined_at": "2024-07-15T14:45:22.314774", "created_at": "2023-04-12T12:43:37+02:00", "updated_at": "2023-12-18T13:44:57+01:00", "name": "bsd-tests", "path": ".github/workflows/bsd.yml", "contents": "# Execute tests on *BSD platforms. Does not produce wheels.\n# Useful URLs:\n# https://github.com/vmactions/freebsd-vm\n# https://github.com/vmactions/openbsd-vm\n# https://github.com/vmactions/netbsd-vm\n\non: [push, pull_request]\nname: bsd-tests\nconcurrency:\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.sha || '' }}\n  cancel-in-progress: true\njobs:\n  freebsd:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run tests\n        uses: vmactions/freebsd-vm@v1\n        with:\n          usesh: true\n          prepare: |\n            pkg install -y gcc python3\n          run: |\n            set -e -x\n            make install-pip\n            python3 -m pip install --user setuptools\n            make install\n            make test\n            make test-memleaks\n  openbsd:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run tests\n        uses: vmactions/openbsd-vm@v1\n        with:\n          usesh: true\n          prepare: |\n            set -e\n            pkg_add gcc python3\n          run: |\n            set -e\n            make install-pip\n            python3 -m pip install --user setuptools\n            make install\n            make test\n            make test-memleaks\n  netbsd:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run tests\n        uses: vmactions/netbsd-vm@v1\n        with:\n          usesh: true\n          prepare: |\n            set -e\n            /usr/sbin/pkg_add -v pkgin\n            pkgin update\n            pkgin -y install python311-* py311-setuptools-* gcc12-*\n          run: |\n            set -e\n            make install-pip PYTHON=python3.11\n            python3.11 -m pip install --user setuptools\n            make install PYTHON=python3.11\n            make test PYTHON=python3.11\n            make test-memleaks PYTHON=python3.11\n", "state": "active", "repository": "giampaolo/psutil"}
{"mined_at": "2024-07-15T14:45:24.890820", "created_at": "2021-05-27T23:33:17+02:00", "updated_at": "2024-06-18T16:38:48+02:00", "name": "Mark stale issues", "path": ".github/workflows/stale.yml", "contents": "name: 'Mark stale issues'\non:\n  schedule:\n    - cron: '30 1 * * *'\n\npermissions:\n  contents: read\n\njobs:\n  stale:\n    permissions:\n      issues: write  # for actions/stale to close stale issues\n      pull-requests: write  # for actions/stale to close stale PRs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v7\n        with:\n          # issues\n          stale-issue-message: >\n            This issue is marked as stale as it has had no activity in the past\n            30 days. Please close this issue if no further response or action is\n            needed. Otherwise, please respond with any updates and confirm that\n            this issue still needs to be addressed.\n          stale-issue-label: 'stale'\n          any-of-issue-labels: 'question,needtriage,more info needed'\n          days-before-issue-stale: 30\n          days-before-issue-close: 7\n          # pull requests\n          stale-pr-message: >\n            This pull request is marked as stale as it has had no activity in\n            the past 3 months. Please respond to this comment if you're still\n            interested in working on this. Many thanks!\n          days-before-pr-stale: 90  # 3 months\n          days-before-pr-close: 7\n          any-of-pr-labels: '2 - In progress,4 - Waiting on author'\n          stale-pr-label: 'stale'\n          close-pr-label: 'abandoned - stale'\n", "state": "active", "repository": "numba/numba"}
{"mined_at": "2024-07-15T14:45:25.960065", "created_at": "2023-03-03T08:17:12+01:00", "updated_at": "2024-06-18T16:38:43+02:00", "name": "Check Release Notes", "path": ".github/workflows/towncrier.yml", "contents": "\nname: Check Release Notes\non:\n  pull_request: {}\n\nenv:\n  GITHUB_PR_NUMBER: ${{github.event.pull_request.number}}\n\njobs:\n  check:\n    name: Check release notes\n    if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip_release_notes') }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Install towncrier\n        run: |\n          python3 -m pip install towncrier==23.6 \"importlib_resources<6\" rstcheck\n      - name: Run towncrier\n        run: |\n          git fetch --no-tags origin +refs/heads/${BASE_BRANCH}:refs/remotes/origin/${BASE_BRANCH}\n          towncrier check --compare-with remotes/origin/${BASE_BRANCH}\n          python maint/towncrier_rst_validator.py --pull_request_id $GITHUB_PR_NUMBER\n    env:\n      BASE_BRANCH: ${{ github.base_ref }}\n", "state": "active", "repository": "numba/numba"}
{"mined_at": "2024-07-15T14:45:28.143453", "created_at": "2021-02-19T14:12:56+01:00", "updated_at": "2024-05-10T20:01:36+02:00", "name": "A workflow for updating discovery artifacts", "path": ".github/workflows/main.yml", "contents": "# Copyright 2021 Google LLC\n\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n\n#     https://www.apache.org/licenses/LICENSE-2.0\n\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: A workflow for updating discovery artifacts\n# Controls when the action will run.\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    # Run this Github Action every Tuesday at 7 AM UTC\n    - cron:  '0 7 * * 2'\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Update Discovery Artifacts PR\n    runs-on: ubuntu-latest\n    if: ${{github.repository == 'googleapis/google-api-python-client'}}\n    steps:\n      - name: Get current date\n        id: date\n        run: echo \"::set-output name=current_date::$(date +'%Y-%m-%d-%HH%MM%SS')\"\n\n      - name: Sync fork\n        run: gh repo sync $REPOSITORY -b $BRANCH_NAME\n        env:\n          REPOSITORY: 'yoshi-code-bot/google-api-python-client'\n          BRANCH_NAME: 'refs/heads/main'\n          GITHUB_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}\n\n      - name: Check out main branch\n        uses: actions/checkout@v4\n        with:\n          ref: refs/heads/main\n          repository: 'yoshi-code-bot/google-api-python-client'\n          token: ${{secrets.YOSHI_CODE_BOT_TOKEN}}\n\n      - name: Create branch\n        run: |\n          git checkout -b update-discovery-artifacts-${{ steps.date.outputs.current_date }}\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Install google-api-python-client\n        run: pip3 install -e .\n\n      - name: Install script dependencies\n        run: pip3 install -r requirements.txt\n        working-directory: ./scripts\n\n      # Apply a workaround to discovery.py to avoid DefaultCredentialsError\n      # which is raised when calling `build_from_document()` as a result of\n      # `google.auth.default()`. The workaround is to bypass the code block that\n      # attempts to load default credentials.\n      - name: Workaround to avoid DefaultCredentialsError in discovery.py\n        run: sed -i -e 's/if credentials is None/if False/g' googleapiclient/discovery.py\n\n      - name: Run Change Summary\n        run: python3 updatediscoveryartifacts.py\n        working-directory: ./scripts\n\n      - name: Commit changes\n        run: ./createcommits.sh\n        working-directory: ./scripts\n\n      - name: Push changes\n        run: git push -u origin update-discovery-artifacts-${{ steps.date.outputs.current_date }}\n\n      - name: Prepare summary for PR Body\n        id: pr_body\n        shell: bash\n        run: |\n          python3 buildprbody.py\n          output=$(cat temp/allapis.summary)\n          output=\"${output//'%'/'%25'}\"\n          output=\"${output//$'\\n'/'%0A'}\"\n          output=\"${output//$'\\r'/'%0D'}\"\n          echo \"::set-output name=change_summary::$output\"\n        working-directory: ./scripts\n\n      - name: Create PR\n        env:\n          GITHUB_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}\n          PR_TITLE: \"chore: Update discovery artifacts\"\n        run: |\n          gh pr create -R \"googleapis/google-api-python-client\" -B \"main\" --title \"$PR_TITLE\" --body \"${{ steps.pr_body.outputs.change_summary }}\"\n", "state": "active", "repository": "googleapis/google-api-python-client"}
{"mined_at": "2024-07-15T14:45:29.257368", "created_at": "2021-12-28T08:26:19+01:00", "updated_at": "2021-12-28T08:26:19+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "googleapis/google-api-python-client"}
{"mined_at": "2024-07-15T14:45:31.265289", "created_at": "2020-07-29T07:54:17+02:00", "updated_at": "2023-02-19T17:58:30+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": null, "state": "active", "repository": "mwouts/jupytext"}
{"mined_at": "2024-07-15T14:45:32.321897", "created_at": "2020-09-24T22:21:36+02:00", "updated_at": "2023-02-19T17:58:30+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "mwouts/jupytext"}
{"mined_at": "2024-07-15T14:45:33.363336", "created_at": "2023-06-24T19:32:28+02:00", "updated_at": "2024-01-13T16:58:39+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\non:\n  push:\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+rc[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+dev[0-9]+\"\n\npermissions:\n  contents: read\n\njobs:\n  pre-commit:\n    uses: ./.github/workflows/step_pre-commit.yml\n\n  test-pip:\n    needs: [ pre-commit ]\n    uses: ./.github/workflows/step_tests-pip.yml\n    with:\n      coverage: false\n\n  test-conda:\n    needs: [ pre-commit ]\n    uses: ./.github/workflows/step_tests-conda.yml\n    with:\n      coverage: false\n\n  test-ui:\n    needs: [ test-pip ]\n    uses: ./.github/workflows/step_tests-ui.yml\n\n  test-status:\n    needs: [ pre-commit, test-pip, test-conda, test-ui ]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: re-actors/alls-green@release/v1\n        with:\n          allowed-skips: pre-commit, test-pip, test-conda, test-ui\n          jobs: ${{ toJSON(needs) }}\n    if: always()\n\n  build:\n    needs: [ test-status ]\n    uses: ./.github/workflows/step_build.yml\n\n  publish:\n    needs: [ build ]\n    runs-on: ubuntu-latest\n\n    environment:\n      name: pypi\n      url: https://pypi.org/p/jupytext\n\n    permissions:\n      contents: read\n      id-token: write\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n      - name: Build package\n        run: |\n          python -m pip install wheel build\n          HATCH_BUILD_HOOKS_ENABLE=true python -m build\n\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "mwouts/jupytext"}
{"mined_at": "2024-07-15T14:45:34.358918", "created_at": "2023-10-17T12:12:43+02:00", "updated_at": "2023-12-04T14:48:56+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  workflow_dispatch:\n    inputs:\n      upload-build-artifacts:\n        type: boolean\n        required: false\n        default: false\n        description: Upload build artifacts\n  push:\n    paths-ignore:\n      - \"CHANGELOG.md\"\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  schedule:\n    - cron: \"0 11 * * 4\"\n\npermissions:\n  # All nested workflows will inherit these permissions and so no need to declare\n  # in each step file\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pre-commit:\n    uses: ./.github/workflows/step_pre-commit.yml\n\n  static-analysis:\n    needs: [ pre-commit ]\n    uses: ./.github/workflows/step_static-analysis.yml\n    permissions:\n      contents: read\n      security-events: write\n\n  test-pip:\n    needs: [ pre-commit ]\n    uses: ./.github/workflows/step_tests-pip.yml\n    with:\n      coverage: ${{ github.event_name != 'schedule' }}\n\n  coverage:\n    needs: [ test-pip ]\n    uses: ./.github/workflows/step_coverage.yml\n    if: github.event_name != 'schedule'\n\n  test-conda:\n    needs: [ pre-commit ]\n    uses: ./.github/workflows/step_tests-conda.yml\n    with:\n      coverage: ${{ github.event_name != 'schedule' }}\n\n  test-ui:\n    needs: [ test-pip ]\n    uses: ./.github/workflows/step_tests-ui.yml\n\n  build:\n    needs: [ test-pip, test-conda, test-ui ]\n    uses: ./.github/workflows/step_build.yml\n    with:\n      upload: ${{ inputs.upload-build-artifacts || false }}\n\n  pass:\n    name: Pass\n    needs: [ pre-commit, static-analysis, test-pip, coverage, test-conda, test-ui, build ]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n          allowed-skips: coverage\n    if: always()\n", "state": "active", "repository": "mwouts/jupytext"}
{"mined_at": "2024-07-15T14:45:35.410139", "created_at": "2023-10-19T19:56:20+02:00", "updated_at": "2023-10-19T19:56:20+02:00", "name": "build", "path": ".github/workflows/step_build.yml", "contents": "name: build\nrun-name: Build package\n\non:\n  workflow_call:\n    inputs:\n      upload:\n        type: boolean\n        required: false\n        default: false\n        description: Upload build artifacts\n      ref:\n        type: string\n        description: Tag to build\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          python_version: \"3.x\"\n\n      - name: Build package\n        run: HATCH_BUILD_HOOKS_ENABLE=true hatch build\n\n      - name: Archive build artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist\n          path: dist\n        if: ${{ inputs.upload }}\n", "state": "active", "repository": "mwouts/jupytext"}
{"mined_at": "2024-07-15T14:45:36.418325", "created_at": "2023-10-19T19:56:20+02:00", "updated_at": "2023-10-19T19:56:20+02:00", "name": "pre-commit", "path": ".github/workflows/step_pre-commit.yml", "contents": "name: pre-commit\nrun-name: Run pre-commit tests\n\non:\n  workflow_call:\n\npermissions:\n  contents: read\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n\n      - uses: pre-commit/action@v3.0.0\n\n  lint-extension:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          python_version: \"3.x\"\n\n      # Current repo organization will not permit to set up pre-commit config for\n      # TS lint related packages due to absence of package.json in the top level\n      # repo. So we run lint step separately here\n      - name: Lint the extension\n        run: |\n          # Install JupyterLab in an isolated env to get jlpm\n          pip install jupyterlab>=4\n\n          # Install lint deps and lint extension\n          cd jupyterlab/\n          jlpm\n          jlpm run lint:check\n", "state": "active", "repository": "mwouts/jupytext"}
{"mined_at": "2024-07-15T14:45:37.399704", "created_at": "2023-10-19T19:56:20+02:00", "updated_at": "2023-10-19T19:56:20+02:00", "name": "static-analysis", "path": ".github/workflows/step_static-analysis.yml", "contents": "name: static-analysis\nrun-name: Run CodeQL analysis\n\non:\n  workflow_call:\n\npermissions:\n  contents: read\n  security-events: write\n\njobs:\n  codeql:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: python, javascript\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "mwouts/jupytext"}
{"mined_at": "2024-07-15T14:45:38.385838", "created_at": "2023-10-19T19:56:20+02:00", "updated_at": "2023-10-19T19:56:20+02:00", "name": "test-conda", "path": ".github/workflows/step_tests-conda.yml", "contents": "name: test-conda\nrun-name: Run Conda tests for different OS\n\non:\n  workflow_call:\n    inputs:\n      coverage:\n        type: boolean\n        description: Upload coverage to CodeCov\n        default: true\n\npermissions:\n  contents: read\n\njobs:\n  test-conda:\n    name: >\n      ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Cache conda\n        uses: actions/cache@v3\n        with:\n          path: ~/conda_pkgs_dir\n          key: conda-${{ matrix.os }}-${{ hashFiles('.ci/environment-ci.yml') }}\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          activate-environment: jupytext-ci\n          environment-file: .ci/environment-ci.yml\n\n      - name: Install from source\n        run: HATCH_BUILD_HOOKS_ENABLE=true python -m pip install -e '.[test-external,test-cov]'\n\n      - name: Conda list\n        run: conda list\n\n      - name: Install a Jupyter Kernel\n        run: python -m ipykernel install --name jupytext-ci --user\n\n      - name: Test lab extension\n        run: |\n          # Check extension\n          jupyter labextension list\n          jupyter labextension list 2>&1 | grep -ie \"jupyterlab-jupytext.*OK\"\n          python -m jupyterlab.browser_check\n\n      - name: Test with pytest\n        run: pytest -n logical --cov --cov-report=xml\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v3\n        with:\n          fail_ci_if_error: true\n          verbose: true\n        if: inputs.coverage\n", "state": "active", "repository": "mwouts/jupytext"}
{"mined_at": "2024-07-15T14:45:39.614413", "created_at": "2023-10-19T19:56:20+02:00", "updated_at": "2023-10-19T19:56:20+02:00", "name": "test-pip", "path": ".github/workflows/step_tests-pip.yml", "contents": "name: test-pip\nrun-name: Run main tests using Pip\n\non:\n  workflow_call:\n    inputs:\n      coverage:\n        type: boolean\n        description: Upload coverage to CodeCov\n        default: true\n\npermissions:\n  contents: read\n\njobs:\n  test-pip:\n    name: >\n      🐍 ${{ matrix.python-version }}\n      ${{ matrix.dependency_type && format('({0})', matrix.dependency_type) }}\n      ${{ matrix.quarto && '(Quarto)' }}\n      ${{ matrix.no_kernel && '(No kernel)' }}\n      ${{ matrix.markdown-it-py && format('(markdown-it-py {0})', matrix.markdown-it-py) }}\n      ${{ matrix.no_markdown-it-py && '(No markdown-it-py)'}}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        experimental: [false]\n        include:\n          # Test pre-release versions\n          - python-version: \"3.x\"\n            dependency_type: \"pre\"\n            experimental: false\n          # Test minimum markdown-it-py supported (otherwise the most recent version is used)\n          - python-version: \"3.x\"\n            markdown-it-py: \"~=2.0\"\n          - python-version: \"3.x\"\n            no_markdown-it-py: true\n          - python-version: \"3.x\"\n            no_kernel: true\n          - python-version: \"3.x\"\n            quarto: true\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          python_version: ${{ matrix.python-version }}\n          dependency_type: ${{ matrix.dependency_type }}\n\n      - name: Install from source\n        run: >\n          HATCH_BUILD_HOOKS_ENABLE=true python -m pip install\n          -e '.[test-cov,test-external]'\n          jupyterlab\n          ${{ format('markdown-it-py{0}', matrix.markdown-it-py) }}\n\n      - name: Install a Jupyter Kernel\n        if: ${{ !matrix.no_kernel }}\n        run: python -m ipykernel install --name python_kernel --user\n\n      - name: Uninstall markdown-it-py\n        # Markdown-it-py is a dependency of Jupytext,\n        # but Jupytext should still work if it is not installed\n        if: ${{ matrix.no_markdown-it-py }}\n        run: python -m pip uninstall markdown-it-py --yes\n\n      - name: Install Quarto\n        if: ${{ matrix.quarto }}\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        run: |\n          # download the latest release\n          gh release download --repo quarto-dev/quarto-cli --pattern 'quarto-*-linux-amd64.deb'\n          # install it\n          sudo apt install ./*.deb\n\n      - name: Test lab extension\n        run: |\n          # Check extension\n          jupyter labextension list\n          jupyter labextension list 2>&1 | grep -ie \"jupyterlab-jupytext.*OK\"\n          python -m jupyterlab.browser_check\n\n      - name: Test with pytest\n        continue-on-error: ${{ matrix.experimental }}\n        run: pytest -n logical --cov --cov-report=xml\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v3\n        with:\n          fail_ci_if_error: true\n          verbose: true\n        if: inputs.coverage\n", "state": "active", "repository": "mwouts/jupytext"}
{"mined_at": "2024-07-15T14:45:40.599814", "created_at": "2023-11-12T11:15:18+01:00", "updated_at": "2023-11-12T11:15:18+01:00", "name": "test-ui", "path": ".github/workflows/step_tests-ui.yml", "contents": "name: test-ui\nrun-name: Run UI tests with Galata\n\non:\n  workflow_call:\n\npermissions:\n  contents: read\n\njobs:\n  test-ui:\n    continue-on-error: false\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          python_version: 3.x\n\n      - name: Install from source\n        run: HATCH_BUILD_HOOKS_ENABLE=true python -m pip install -e '.[test-ui]'\n\n      - name: Install galata\n        working-directory: jupyterlab/packages/jupyterlab-jupytext-extension/ui-tests\n        env:\n          PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1\n        run: |\n          pip install jupyterlab\n          jlpm install\n\n      - name: Install browser\n        working-directory: jupyterlab/packages/jupyterlab-jupytext-extension/ui-tests\n        run: jlpm playwright install chromium\n\n      - name: Integration tests\n        working-directory: jupyterlab/packages/jupyterlab-jupytext-extension/ui-tests\n        run: jlpm playwright test\n\n      - name: Upload UI Test artifacts\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ui-test-output\n          path: |\n            jupyterlab/packages/jupyterlab-jupytext-extension/ui-tests/test-results\n", "state": "active", "repository": "mwouts/jupytext"}
{"mined_at": "2024-07-15T14:45:41.656766", "created_at": "2023-12-02T18:44:53+01:00", "updated_at": "2023-12-02T18:44:53+01:00", "name": "Comment PR", "path": ".github/workflows/comment-pr.yml", "contents": "name: Comment PR\n\non:\n  pull_request_target:\n\npermissions:\n  pull-requests: write\n\njobs:\n  comment-pr:\n    runs-on: ubuntu-latest\n    name: Comment PR\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Comment PR\n        uses: thollander/actions-comment-pull-request@v2\n        with:\n          message: |\n            Thank you for making this pull request.\n\n            Did you know? You can try it on Binder: [![Binder:lab](https://img.shields.io/badge/binder-jupyterlab-0172B2.svg)](https://mybinder.org/v2/gh/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.pull_request.head.ref }}?urlpath=lab/tree/demo/get_started.ipynb) or [![Binder:notebook](https://img.shields.io/badge/binder-notebook-0172B2.svg)](https://mybinder.org/v2/gh/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.pull_request.head.ref }}?filepath=demo).\n\n            Also, the version of Jupytext developed in this PR can be installed with `pip`:\n            ```\n            HATCH_BUILD_HOOKS_ENABLE=true pip install git+${{ github.event.pull_request.head.repo.clone_url }}@${{ github.event.pull_request.head.ref }}\n            ```\n            (this requires `nodejs`, see more at [Developing Jupytext](https://jupytext.readthedocs.io/en/latest/developing.html))\n          comment_tag: binder_link\n", "state": "active", "repository": "mwouts/jupytext"}
{"mined_at": "2024-07-15T14:45:42.663038", "created_at": "2024-01-13T12:11:22+01:00", "updated_at": "2024-01-13T12:11:22+01:00", "name": "coverage", "path": ".github/workflows/step_coverage.yml", "contents": "name: coverage\nrun-name: Check coverage\n\non:\n  workflow_call:\n\npermissions:\n  contents: read\n\njobs:\n  coverage:\n    name: >\n      ${{ matrix.coverage }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        coverage: [unit, functional, integration, external]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Base Setup\n        uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n        with:\n          python_version: 3.x\n\n      - name: Install from source\n        run: python -m pip install -e '.[test-cov,test-${{ matrix.coverage }}]'\n\n      - name: Install a Jupyter Kernel\n        run: python -m ipykernel install --name python_kernel --user\n\n      - name: Run the tests\n        run: pytest tests/${{ matrix.coverage }} -n logical --cov --cov-report=xml\n\n      - name: Upload the coverage\n        uses: codecov/codecov-action@v3\n        with:\n          flags: ${{ matrix.coverage }}\n          fail_ci_if_error: true\n          verbose: true\n", "state": "active", "repository": "mwouts/jupytext"}
{"mined_at": "2024-07-15T14:45:46.514054", "created_at": "2022-11-28T10:45:08+01:00", "updated_at": "2022-11-28T10:45:08+01:00", "name": "Publish Patroni distributions to PyPI and TestPyPI", "path": ".github/workflows/release.yaml", "contents": "name: Publish Patroni distributions to PyPI and TestPyPI\non:\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n  release:\n    types:\n      - published\njobs:\n  build-n-publish:\n    name: Build and publish Patroni distributions to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n\n    - name: Install Python packaging build frontend\n      run: python -m pip install build\n\n    - name: Build a binary wheel and a source tarball\n      run: python -m build\n\n    - name: Publish distribution to Test PyPI\n      if: github.event_name == 'push'\n      uses: pypa/gh-action-pypi-publish@v1.8.14\n      with:\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n\n    - name: Publish distribution to PyPI\n      if: github.event_name == 'release'\n      uses: pypa/gh-action-pypi-publish@v1.8.14\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "zalando/patroni"}
{"mined_at": "2024-07-15T14:45:47.813612", "created_at": "2020-12-04T16:19:41+01:00", "updated_at": "2020-12-04T16:19:41+01:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\n\non:\n  pull_request:\n  push:\n    branches:\n    - master\n    - 'REL_[0-9]+_[0-9]+'\n\nenv:\n  CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}\n  SECRETS_AVAILABLE: ${{ secrets.CODACY_PROJECT_TOKEN != '' }}\n\njobs:\n  unit:\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu, windows, macos]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.7\n      if: matrix.os != 'macos'\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n      if: matrix.os != 'macos'\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n      if: matrix.os != 'macos'\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n\n    - name: Combine coverage\n      run: python .github/workflows/run_tests.py combine\n\n    - name: Install coveralls\n      run: python -m pip install coveralls\n\n    - name: Upload Coverage\n      env:\n        COVERALLS_FLAG_NAME: unit-${{ matrix.os }}\n        COVERALLS_PARALLEL: 'true'\n        GITHUB_TOKEN: ${{ secrets.github_token }}\n      run: python -m coveralls --service=github\n\n  behave:\n    runs-on: ${{ matrix.os }}-latest\n    env:\n      DCS: ${{ matrix.dcs }}\n      ETCDVERSION: 3.4.23\n      PGVERSION: 16.1-1  # for windows and macos\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu]\n        python-version: [3.7, 3.12]\n        dcs: [etcd, etcd3, consul, exhibitor, kubernetes, raft]\n        include:\n        - os: macos\n          python-version: 3.8\n          dcs: raft\n        - os: macos\n          python-version: 3.9\n          dcs: etcd\n        - os: macos\n          python-version: 3.11\n          dcs: etcd3\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: nolar/setup-k3d-k3s@v1\n      if: matrix.dcs == 'kubernetes'\n    - name: Add postgresql and citus apt repo\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y wget ca-certificates gnupg debian-archive-keyring apt-transport-https\n        sudo sh -c 'echo \"deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main\" > /etc/apt/sources.list.d/pgdg.list'\n        sudo sh -c 'wget -qO - https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg'\n        sudo sh -c 'echo \"deb [signed-by=/etc/apt/trusted.gpg.d/citusdata_community.gpg] https://packagecloud.io/citusdata/community/ubuntu/ $(lsb_release -cs) main\" > /etc/apt/sources.list.d/citusdata_community.list'\n        sudo sh -c 'wget -qO - https://packagecloud.io/citusdata/community/gpgkey | gpg --dearmor > /etc/apt/trusted.gpg.d/citusdata_community.gpg'\n      if: matrix.os == 'ubuntu'\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n    - name: Run behave tests\n      run: python .github/workflows/run_tests.py\n    - name: Upload logs if behave failed\n      uses: actions/upload-artifact@v4\n      if: failure()\n      with:\n        name: behave-${{ matrix.os }}-${{ matrix.dcs }}-${{ matrix.python-version }}-logs\n        path: |\n          features/output/*_failed/*postgres?.*\n          features/output/*.log\n        if-no-files-found: error\n        retention-days: 5\n    - name: Generate coverage xml report\n      run: python -m coverage xml -o cobertura.xml\n    - name: Upload coverage to Codacy\n      run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r cobertura.xml -l Python --partial\n      if: ${{ env.SECRETS_AVAILABLE == 'true' }}\n\n  coveralls-finish:\n    name: Finalize coveralls.io\n    needs: unit\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/setup-python@v5\n    - run: python -m pip install coveralls\n    - run: python -m coveralls --service=github --finish\n      env:\n        GITHUB_TOKEN: ${{ secrets.github_token }}\n\n  codacy-final:\n    name: Finalize Codacy\n    needs: behave\n    runs-on: ubuntu-latest\n    steps:\n    - run: bash <(curl -Ls https://coverage.codacy.com/get.sh) final\n      if: ${{ env.SECRETS_AVAILABLE == 'true' }}\n\n  pyright:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n\n    - name: Install dependencies\n      run: python -m pip install -r requirements.txt psycopg2-binary psycopg\n\n    - uses: jakebailey/pyright-action@v2\n      with:\n        version: 1.1.356\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n        cache: pip\n\n    - name: Install dependencies\n      run: pip install tox\n\n    - name: Install package dependencies\n      run: |\n        sudo apt update \\\n        && sudo apt install -y \\\n            latexmk texlive-latex-extra tex-gyre \\\n            --no-install-recommends\n\n    - name: Generate documentation\n      run: tox -m docs\n", "state": "active", "repository": "zalando/patroni"}
{"mined_at": "2024-07-15T14:45:50.032751", "created_at": "2023-08-03T09:45:21+02:00", "updated_at": "2023-08-03T09:45:21+02:00", "name": "Coverage", "path": ".github/workflows/coverage.yml", "contents": "name: Coverage\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  test:\n\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.11\"\n    - name: Install Dependencies\n      run: |\n        sudo apt-get update -qq\n        sudo apt-get install -y libcurl4-openssl-dev libpython3-dev libssl-dev\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install apprise braintree coverage coveralls minio\n    - name: Run Tests\n      env:\n        SECRET_KEY: dummy-key\n      run: coverage run --omit=*/tests/*,*/migrations/* --source=hc manage.py test\n    - name: Coveralls\n      run: coveralls --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "healthchecks/healthchecks"}
{"mined_at": "2024-07-15T14:45:51.188442", "created_at": "2020-11-20T23:31:17+01:00", "updated_at": "2020-11-20T23:31:17+01:00", "name": "Django CI", "path": ".github/workflows/django.yml", "contents": null, "state": "active", "repository": "healthchecks/healthchecks"}
{"mined_at": "2024-07-15T14:45:52.229786", "created_at": "2023-08-03T09:23:39+02:00", "updated_at": "2023-08-03T09:33:51+02:00", "name": "Mypy", "path": ".github/workflows/mypy.yml", "contents": "name: Mypy\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  main:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.11\"\n    - name: Install Dependencies\n      run: |\n        sudo apt-get update -qq\n        sudo apt-get install -y libcurl4-openssl-dev libpython3-dev libssl-dev\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install apprise braintree minio\n        pip install mypy django-stubs types-braintree types-pycurl==7.45.2.20240311 types-Markdown types-pygments\n        touch hc/local_settings.py\n    - name: Run Mypy\n      run: mypy --strict hc\n", "state": "active", "repository": "healthchecks/healthchecks"}
{"mined_at": "2024-07-15T14:45:53.334341", "created_at": "2021-07-02T15:44:17+02:00", "updated_at": "2021-07-02T15:44:17+02:00", "name": "Publish Docker image", "path": ".github/workflows/publish_docker_image.yml", "contents": "name: Publish Docker image\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker Hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set Swap Space\n        uses: pierotofy/set-swap-space@v1.0\n        with:\n          swap-size-gb: 10\n      - run: |\n          # Workaround for https://github.com/rust-lang/cargo/issues/8719\n          sudo mkdir -p /var/lib/docker\n          sudo mount -t tmpfs -o size=10G none /var/lib/docker\n          sudo systemctl restart docker\n\n      - name: Check out the repo\n        uses: actions/checkout@v3\n      \n      - name: Log in to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      \n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: healthchecks/healthchecks\n      \n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          file: docker/Dockerfile\n          platforms: linux/amd64,linux/arm/v7,linux/arm64/v8\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "healthchecks/healthchecks"}
{"mined_at": "2024-07-15T14:45:54.559172", "created_at": "2023-08-03T09:45:21+02:00", "updated_at": "2023-08-03T09:45:21+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  test:\n\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        db: [sqlite, postgres, mysql]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - db: postgres\n            db_user: runner\n            db_password: ''\n          - db: mysql\n            db_user: root\n            db_password: root\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Start MySQL\n      if: matrix.db == 'mysql'\n      run: sudo systemctl start mysql.service\n    - name: Start PostgreSQL\n      if: matrix.db == 'postgres'\n      run: |\n        sudo systemctl start postgresql.service\n        sudo -u postgres createuser -s runner\n    - name: Install Dependencies\n      run: |\n        sudo apt-get update -qq\n        sudo apt-get install -y libcurl4-openssl-dev libpython3-dev libssl-dev\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install apprise minio mysqlclient\n    - name: Run Tests\n      env:\n        DB: ${{ matrix.db }}\n        DB_USER: ${{ matrix.db_user }}\n        DB_PASSWORD: ${{ matrix.db_password }}\n        SECRET_KEY: dummy-key\n      run: python manage.py test\n", "state": "active", "repository": "healthchecks/healthchecks"}
{"mined_at": "2024-07-15T14:45:55.673998", "created_at": "2024-03-15T11:58:38+01:00", "updated_at": "2024-03-15T11:58:38+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "healthchecks/healthchecks"}
{"mined_at": "2024-07-15T14:45:57.754061", "created_at": "2020-04-12T09:32:41+02:00", "updated_at": "2023-03-06T19:57:44+01:00", "name": "Docker Build", "path": ".github/workflows/docker.yml", "contents": "name: \"Docker Build\"\non:\n  workflow_dispatch: {}\n  # build a daily dev image\n  schedule:\n    - cron: \"42 6 * * *\"\n  push:\n    tags:\n      # todo: update for 1.0\n      - 0.*\njobs:\n  Publish:\n    permissions:\n      id-token: write\n    strategy:\n      matrix:\n        image:\n          - c7n\n          - c7n-org\n          - mailer\n          - policystream\n          - c7n-left\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: ${{ matrix.image }} build and push\n        uses: ./.github/composites/docker-build-push\n        env:\n          HUB_USER: c7nbuild\n          HUB_TOKEN: ${{ secrets.DOCKER_CI_HUB_TOKEN }}\n        with:\n          name: ${{ matrix.image }}\n          push: true\n          platforms: linux/arm64,linux/amd64\n\n      - name: Notify Slack\n        uses: ravsamhq/notify-slack-action@v2\n        if: always()\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_HOOK }}\n        with:\n          status: ${{ job.status }}\n          notification_title: \"{workflow}:{job} has {status_message}\"\n          message_format: \"{emoji} *{workflow}:{job}* {status_message} in <{repo_url}|{repo}>\"\n          footer: \"Logs <{run_url}|{job}>\"\n          notify_when: \"failure,success\"\n", "state": "active", "repository": "cloud-custodian/cloud-custodian"}
{"mined_at": "2024-07-15T14:45:58.826788", "created_at": "2022-09-09T20:23:55+02:00", "updated_at": "2023-06-26T17:02:36+02:00", "name": "Functional", "path": ".github/workflows/functional.yaml", "contents": "name: \"Functional\"\n\non:\n  workflow_dispatch: {}\njobs:\n  AWS:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n      checks: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_FTEST_ROLE }}\n          aws-region: us-east-1\n\n      - uses: hashicorp/setup-terraform@v3\n        with:\n          terraform_wrapper: false\n          # last OSS version\n          terraform_version: \"1.5.5\"\n\n      - name: Install Custodian\n        uses: ./.github/composites/install\n        with:\n          python-version: \"3.11\"\n\n      - name: Set up cache\n        uses: actions/cache@v4\n        id: tfcache\n        with:\n          path: .tfcache\n          key: tf-${{ runner.os }}-${{ hashFiles('**/*.tf') }}            \n\n      - name: Functional Tests\n        run: |\n          mkdir -p .tfcache\n          pytest -m \"terraform and audited and not skiplive\" -v tests\n        env:\n          C7N_FUNCTIONAL: \"true\"\n          C7N_TEST_RUN: \"true\"\n\n      - name: Notify Slack\n        uses: ravsamhq/notify-slack-action@v2\n        if: always()\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_HOOK }}\n        with:\n          status: ${{ job.status }}\n          notification_title: \"{workflow}:{job} has {status_message}\"\n          message_format: \"{emoji} *{workflow}:{job}* {status_message} in <{repo_url}|{repo}>\"\n          footer: \"Logs <{run_url}|{job}>\"\n          notify_when: \"failure,success\"\n", "state": "active", "repository": "cloud-custodian/cloud-custodian"}
{"mined_at": "2024-07-15T14:45:59.837753", "created_at": "2023-03-05T00:34:20+01:00", "updated_at": "2023-03-08T16:29:18+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: \"CI\"\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\nenv:\n  POETRY_VERSION: \"1.5.1\"\n  DEFAULT_PY_VERSION: \"3.11\"\n\njobs:\n  Lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PY_VERSION }}\n      - name: Install Linter\n        run: |\n          RUFF_VERSION=\"$(python tools/dev/lint_version.py ruff poetry.lock)\"\n          BLACK_VERSION=\"$(python tools/dev/lint_version.py black poetry.lock)\"\n          pip install ruff==\"$RUFF_VERSION\" black==\"$BLACK_VERSION\"\n      - name: Set up Terraform\n        uses: hashicorp/setup-terraform@v3\n        with:\n          terraform_wrapper: false\n          # last OSS version\n          terraform_version: \"1.5.5\"\n      - name: Lint Check\n        env:\n          RUFF_OUTPUT_FORMAT: github\n        run: |\n          make lint\n      - name: Check Workflows\n        run: |\n          bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)\n          ./actionlint -color\n\n  Analyzer:\n    runs-on: ubuntu-latest\n    needs: Lint\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PY_VERSION }}\n      - name: Run Bandit\n        run: |\n          python -m pip install bandit\n          make analyzer-bandit\n      - name: Run Semgrep\n        run: |\n          python -m pip install semgrep\n          make analyzer-semgrep\n\n  Docs:\n    runs-on: ubuntu-latest\n    needs: Lint\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Custodian\n        uses: ./.github/composites/install\n        with:\n          python-version: ${{ env.DEFAULT_PY_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Set up doc cache\n        uses: actions/cache@v4\n        id: sphinx\n        with:\n          path: |\n            docs/build\n            docs/source/aws/resources\n            docs/source/gcp/resources\n            docs/source/azure/resources\n            docs/source/awscc/resources\n            docs/source/tencentcloud/resources\n          key: sphinx-docs-${{ runner.os }}-3.11-v3-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Build Docs\n        shell: bash\n        run: |\n          make sphinx\n\n      - name: Update Docs Cache\n        # basically to prevent the docs cache from going stale as we're not keying\n        # on its contents, on merges to main we update the cache to prevent\n        # staleness.\n        if: ${{ github.event_name == 'push' }}\n        uses: actions/cache/save@v4\n        with:\n          path: |\n            docs/build\n            docs/source/aws/resources\n            docs/source/gcp/resources\n            docs/source/azure/resources\n            docs/source/awscc/resources\n            docs/source/tencentcloud/resources\n          key: sphinx-docs-${{ runner.os }}-3.11-v3-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Deploy Docs\n        if: ${{ github.event_name == 'push' }}\n        uses: ./.github/composites/docs-publish\n        with:\n          aws-role: ${{ secrets.DOCS_PUBLISH_ROLE }}\n          docs-dir: docs/build/html\n          bucket-url: s3://cloudcustodian.io/docs\n\n  Docker:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: c7n build and test\n        uses: ./.github/composites/docker-build-push\n        with:\n          name: c7n\n          push: false\n          platforms: linux/amd64\n\n  Tests:\n    runs-on: \"${{ matrix.os }}\"\n    needs: Lint\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.11\"]\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n          - os: ubuntu-latest\n            python-version: \"3.9\"\n          - os: ubuntu-latest\n            python-version: \"3.8\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Terraform\n        uses: hashicorp/setup-terraform@v3\n        with:\n          terraform_wrapper: false\n          # last OSS version\n          terraform_version: \"1.5.5\"\n\n      - name: Install Custodian\n        uses: ./.github/composites/install\n        with:\n          python-version: ${{ matrix.python-version }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Test\n        shell: bash\n        env:\n          COV_RUN: ${{ contains(matrix.python-version, '3.10') && contains(matrix.os, 'ubuntu') }}\n        run: |\n          if [[ \"$COV_RUN\" == \"true\" ]]\n          then\n            make test-coverage COVERAGE_TYPE=term\n            poetry run coverage xml\n          else\n            make test\n          fi\n\n      - name: Upload Code Coverage\n        uses: codecov/codecov-action@v4\n        if: contains(matrix.python-version, '3.10') && contains(matrix.os, 'ubuntu')\n        with:\n          files: ./coverage.xml\n          name: codecov\n\n      - name: License Check\n        if: contains(matrix.python-version, '3.10') && contains(matrix.os, 'ubuntu')\n        run: |\n          poetry run python tools/dev/license-check.py\n", "state": "active", "repository": "cloud-custodian/cloud-custodian"}
{"mined_at": "2024-07-15T14:46:00.909094", "created_at": "2023-05-24T22:09:20+02:00", "updated_at": "2023-05-24T22:09:20+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: \"Release\"\n\non:\n  workflow_dispatch: {}\n\n\njobs:\n  BuildWheels:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n      checks: write    \n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Custodian        \n        uses: ./.github/composites/install\n        with:\n          python-version: \"3.11\"\n\n      - name: Build Wheels\n        shell: bash\n        run: |\n          poetry self add poetry-plugin-freeze==1.0.5\n          pip install twine\n          make pkg-build-wheel\n\n      - name: Build ChangeLog\n        shell: bash\n        run: |\n          python tools/dev/changelog.py --output release.md \\\n             --path . --since last --skip-provider awscc\n          cat release.md\n\n      - uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_FTEST_ROLE }}\n          aws-region: us-east-1\n\n      - name: Auth Staging Repository\n        shell: bash\n        env:\n          AWS_DEFAULT_REGION: us-east-1\n          PKG_DOMAIN: release-staging\n          PKG_REPO: stagec7n\n        run: |\n          ./tools/dev/staging-auth.sh >> /dev/null\n  \n      - name: Stage Wheels\n        shell: bash\n        env:\n          AWS_DEFAULT_REGION: us-east-1\n          PKG_DOMAIN: release-staging\n          PKG_REPO: stagec7n\n        run: |\n          set -euxo pipefail\n          python tools/dev/staging-clean.py\n          python tools/dev/poetrypkg.py gen-qa-requires -r . --output wheels-manifest.txt\n          make pkg-publish-wheel PKG_REPO=${{ env.PKG_REPO }}\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: built-wheels\n          path: |\n            **/*.whl\n            release.md\n            wheels-manifest.txt\n\n  TestWheels:\n    runs-on: ubuntu-latest\n    needs: BuildWheels\n    permissions:\n      id-token: write\n      contents: read\n      checks: write    \n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: built-wheels\n\n      - uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_FTEST_ROLE }}\n          aws-region: us-east-1\n\n      - name: Auth Staging Repository\n        shell: bash\n        env:\n          AWS_DEFAULT_REGION: us-east-1\n          PKG_DOMAIN: release-staging\n          PKG_REPO: stagec7n\n        run: |\n          ./tools/dev/staging-auth.sh >> /dev/null\n\n      - name: Install Staged\n        shell: bash\n        run: |\n          set -euxo pipefail\n          pip install -r wheels-manifest.txt  --index-url ${{ env.STAGE_INDEX_URL }} --extra-index-url https://pypi.org/simple/\n\n      - name: Smoke Test\n        shell: bash\n        run: |\n          set -euxo pipefail\n          custodian version --debug\n          custodian schema --json > schema.json\n\n  Publish:\n    runs-on: ubuntu-latest\n    needs: TestWheels\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Custodian\n        uses: ./.github/composites/install\n        with:\n          python-version: \"3.11\"          \n\n      - uses: actions/download-artifact@v4\n        with:\n          name: built-wheels\n\n      - name: Get Tag\n        shell: bash\n        run: |\n          echo \"release=$(poetry version -s).0\" >> \"$GITHUB_ENV\"\n\n#      - name: Create Release\n#        uses: ncipollo/release-action@v1\n#        if: startsWith(github.ref, 'refs/tags/')\n#        with:\n#          artifacts: \"**/dist/*.whl\"\n#          token: ${{ secrets.GITHUB_TOKEN }}\n#          tag: ${{ env.release_tag }}\n#          commit: main\n#          draft: true\n#          bodyFile: release.md\n\n#      - name: Publish\n#        if: startsWith(github.ref, 'refs/tags/')\n#        run: |\n#          make pkg-publish PKG_REPO=pypi\n", "state": "active", "repository": "cloud-custodian/cloud-custodian"}
{"mined_at": "2024-07-15T14:46:03.267224", "created_at": "2022-01-12T17:51:42+01:00", "updated_at": "2022-01-12T17:51:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "facebookresearch/nevergrad"}
{"mined_at": "2024-07-15T14:46:05.721722", "created_at": "2023-08-10T00:22:59+02:00", "updated_at": "2023-08-10T00:22:59+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tensorflow/hub"}
{"mined_at": "2024-07-15T14:46:07.757109", "created_at": "2022-05-30T08:19:32+02:00", "updated_at": "2022-05-30T08:19:32+02:00", "name": "base_test_workflow", "path": ".github/workflows/base_test_workflow.yml", "contents": "name: base_test_workflow\n\non:\n  workflow_call:\n    inputs:\n      module-to-test:\n        required: true\n        type: string\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - python-version: 3.8\n            pytorch-version: 1.6\n            torchvision-version: 0.7\n          - python-version: 3.9\n            pytorch-version: 2.1\n            torchvision-version: 0.16\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[with-hooks-cpu]\n        pip install torch==${{ matrix.pytorch-version }} torchvision==${{ matrix.torchvision-version }} --force-reinstall\n        pip install --upgrade protobuf==3.20.1\n        pip install six\n        pip install packaging\n    - name: Run unit tests\n      run: |\n        TEST_DTYPES=float32,float64 TEST_DEVICE=cpu WITH_COLLECT_STATS=${{ matrix.with-collect-stats }} python -m unittest discover -t . -s tests/${{ inputs.module-to-test }} \n", "state": "active", "repository": "kevinmusgrave/pytorch-metric-learning"}
{"mined_at": "2024-07-15T14:46:08.915157", "created_at": "2021-01-15T03:30:42+01:00", "updated_at": "2022-05-30T08:09:46+02:00", "name": "run_linter", "path": ".github/workflows/run_linter.yml", "contents": "name: run_linter\n\non:\n  pull_request:\n    branches: [ master, dev ]\n    paths:\n      - 'src/**'\n      - 'tests/**'\n      - '.github/workflows/**'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        pip install flake8\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --per-file-ignores=\"__init__.py:F401\"\n", "state": "active", "repository": "kevinmusgrave/pytorch-metric-learning"}
{"mined_at": "2024-07-15T14:46:09.949437", "created_at": "2022-03-21T11:53:49+01:00", "updated_at": "2022-03-30T09:56:18+02:00", "name": "distances", "path": ".github/workflows/test_distances.yml", "contents": "name: distances\n\non:\n  pull_request:\n    branches: [ master, dev ]\n    paths:\n      - 'src/**'\n      - 'tests/**'\n      - '.github/workflows/**'\n\njobs:\n  call-base-test-workflow:\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      module-to-test: distances", "state": "active", "repository": "kevinmusgrave/pytorch-metric-learning"}
{"mined_at": "2024-07-15T14:46:10.976412", "created_at": "2021-01-14T15:58:16+01:00", "updated_at": "2021-11-28T19:43:47+01:00", "name": "losses", "path": ".github/workflows/test_losses.yml", "contents": "name: losses\n\non:\n  pull_request:\n    branches: [ master, dev ]\n    paths:\n      - 'src/**'\n      - 'tests/**'\n      - '.github/workflows/**'\n\njobs:\n  call-base-test-workflow:\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      module-to-test: losses", "state": "active", "repository": "kevinmusgrave/pytorch-metric-learning"}
{"mined_at": "2024-07-15T14:46:12.171594", "created_at": "2021-01-14T15:58:16+01:00", "updated_at": "2021-11-28T19:43:47+01:00", "name": "miners", "path": ".github/workflows/test_miners.yml", "contents": "name: miners\n\non:\n  pull_request:\n    branches: [ master, dev ]\n    paths:\n      - 'src/**'\n      - 'tests/**'\n      - '.github/workflows/**'\n\njobs:\n  call-base-test-workflow:\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      module-to-test: miners", "state": "active", "repository": "kevinmusgrave/pytorch-metric-learning"}
{"mined_at": "2024-07-15T14:46:13.179506", "created_at": "2021-01-14T15:58:16+01:00", "updated_at": "2021-11-28T19:43:47+01:00", "name": "reducers", "path": ".github/workflows/test_reducers.yml", "contents": "name: reducers\n\non:\n  pull_request:\n    branches: [ master, dev ]\n    paths:\n      - 'src/**'\n      - 'tests/**'\n      - '.github/workflows/**'\n\njobs:\n  call-base-test-workflow:\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      module-to-test: reducers", "state": "active", "repository": "kevinmusgrave/pytorch-metric-learning"}
{"mined_at": "2024-07-15T14:46:14.184851", "created_at": "2021-01-14T15:58:16+01:00", "updated_at": "2021-11-28T19:43:47+01:00", "name": "regularizers", "path": ".github/workflows/test_regularizers.yml", "contents": "name: regularizers\n\non:\n  pull_request:\n    branches: [ master, dev ]\n    paths:\n      - 'src/**'\n      - 'tests/**'\n      - '.github/workflows/**'\n\njobs:\n  call-base-test-workflow:\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      module-to-test: regularizers", "state": "active", "repository": "kevinmusgrave/pytorch-metric-learning"}
{"mined_at": "2024-07-15T14:46:15.346321", "created_at": "2021-01-14T15:58:16+01:00", "updated_at": "2021-11-28T19:43:47+01:00", "name": "samplers", "path": ".github/workflows/test_samplers.yml", "contents": "name: samplers\n\non:\n  pull_request:\n    branches: [ master, dev ]\n    paths:\n      - 'src/**'\n      - 'tests/**'\n      - '.github/workflows/**'\n\njobs:\n  call-base-test-workflow:\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      module-to-test: samplers", "state": "active", "repository": "kevinmusgrave/pytorch-metric-learning"}
{"mined_at": "2024-07-15T14:46:16.475707", "created_at": "2021-01-14T15:58:16+01:00", "updated_at": "2021-11-28T19:43:47+01:00", "name": "testers", "path": ".github/workflows/test_testers.yml", "contents": "name: testers\n\non:\n  pull_request:\n    branches: [ master, dev ]\n    paths:\n      - 'src/**'\n      - 'tests/**'\n      - '.github/workflows/**'\n\njobs:\n  call-base-test-workflow:\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      module-to-test: testers", "state": "active", "repository": "kevinmusgrave/pytorch-metric-learning"}
{"mined_at": "2024-07-15T14:46:17.488109", "created_at": "2021-01-14T15:58:16+01:00", "updated_at": "2021-11-28T19:43:47+01:00", "name": "trainers", "path": ".github/workflows/test_trainers.yml", "contents": "name: trainers\n\non:\n  pull_request:\n    branches: [ master, dev ]\n    paths:\n      - 'src/**'\n      - 'tests/**'\n      - '.github/workflows/**'\n\njobs:\n  call-base-test-workflow:\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      module-to-test: trainers", "state": "active", "repository": "kevinmusgrave/pytorch-metric-learning"}
{"mined_at": "2024-07-15T14:46:18.521666", "created_at": "2021-01-14T15:58:16+01:00", "updated_at": "2021-11-28T19:43:47+01:00", "name": "utils", "path": ".github/workflows/test_utils.yml", "contents": "name: utils\n\non:\n  pull_request:\n    branches: [ master, dev ]\n    paths:\n      - 'src/**'\n      - 'tests/**'\n      - '.github/workflows/**'\n\njobs:\n  call-base-test-workflow:\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      module-to-test: utils", "state": "active", "repository": "kevinmusgrave/pytorch-metric-learning"}
{"mined_at": "2024-07-15T14:46:19.518115", "created_at": "2021-12-28T05:29:55+01:00", "updated_at": "2021-12-28T05:29:55+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "kevinmusgrave/pytorch-metric-learning"}
{"mined_at": "2024-07-15T14:46:21.832209", "created_at": "2023-07-28T13:35:56+02:00", "updated_at": "2023-07-28T13:41:44+02:00", "name": "precommit", "path": ".github/workflows/precommit.yml", "contents": null, "state": "active", "repository": "openvinotoolkit/open_model_zoo"}
{"mined_at": "2024-07-15T14:46:22.963583", "created_at": "2023-07-31T19:06:08+02:00", "updated_at": "2023-07-31T20:24:41+02:00", "name": "github-actions", "path": ".github/workflows/accuracy_checker.yml", "contents": "name: github-actions\non: pull_request\npermissions: read-all  # https://github.com/ossf/scorecard/blob/e23b8ad91fd6a64a0a971ca4fc0a4d1650725615/docs/checks.md#token-permissions\njobs:\n  accuracy_checker:\n    strategy:\n      matrix:\n        runs-on: [ubuntu-20.04, ubuntu-22.04]\n        python-version: [3.8, 3.9, '3.10']\n    runs-on: ${{ matrix.runs-on }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Pip install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tools/accuracy_checker openvino -r tools/accuracy_checker/requirements-test.in\n      - name: python -m pytest tools/accuracy_checker\n        run: |\n          python -m pytest tools/accuracy_checker\n      - name: Pip install and run pylint\n        working-directory: ./tools/accuracy_checker\n        run: |\n          python -m pip install pylint==2.10.2\n          PYTHONPATH=. python -m pylint --rcfile=.pylintrc `find -wholename '?*/**/*.py' -not -path \"./tests/*\" -not -path \"./build/*\"`\n", "state": "active", "repository": "openvinotoolkit/open_model_zoo"}
{"mined_at": "2024-07-15T14:46:24.080559", "created_at": "2023-08-11T17:20:13+02:00", "updated_at": "2023-08-14T16:57:01+02:00", "name": "github-actions", "path": ".github/workflows/cpp_gapi-demos.yml", "contents": "name: github-actions\non:\n  pull_request: null\n  schedule:\n    - cron:  '00 3 * * *'  # Run every day at 3:00 to regenerate cache\npermissions: read-all  # https://github.com/ossf/scorecard/blob/e23b8ad91fd6a64a0a971ca4fc0a4d1650725615/docs/checks.md#token-permissions\njobs:\n  cpp_gapi-demos:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: recursive\n      - name: Download OpenVINO\n        run: |\n          mkdir ov\n          curl https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.2/linux/l_openvino_toolkit_ubuntu20_2023.2.0.13089.cfd42bd2cb0_x86_64.tgz | tar --directory ov --strip-components 1 -xz\n          sudo ov/install_dependencies/install_openvino_dependencies.sh\n          # smart_classroom_demo_gapi's OpenCV error asks to install libgtk2.0-dev pkg-config, the rest are for OpenCV video\n          sudo apt install libgtk2.0-dev pkg-config ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libavresample-dev\n      - uses: hendrikmuhs/ccache-action@v1.2.10\n        with:\n          key: ubuntu20_2023.2.0.13089.cfd42bd2cb0  # This action prepends and appends its strings to the key\n          restore: ${{ github.event_name == 'pull_request'}}\n      - if: ${{ github.event_name == 'pull_request'}}\n        uses: actions/cache/restore@v3\n        id: cache\n        with:\n          path: ${{ github.workspace }}/cache\n          key: unused\n          restore-keys: ubuntu20_2023.2.0.13089.cfd42bd2cb0-\n      - if: ${{ !steps.cache.outputs.cache-hit }}\n        uses: actions/checkout@v3\n        with:\n          repository: opencv/opencv\n          path: cache/opencv\n      - if: ${{ !steps.cache.outputs.cache-hit }}\n        name: Compile OpenCV\n        run: |\n          rm -rf cache/opencv/.git/  # Minimize cache\n          mkdir cache/opencv/build\n          cd cache/opencv/build\n          cmake -DCMAKE_BUILD_TYPE=Release -DWITH_INF_ENGINE=y -DOpenVINO_DIR=$GITHUB_WORKSPACE/ov/runtime/cmake/ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_LINKER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_C_LINKER_LAUNCHER=ccache -DBUILD_TESTS=y -DVIDEOIO_ENABLE_PLUGINS=y -DBUILD_PERF_TESTS=n -DBUILD_EXAMPLES=n -DBUILD_opencv_apps=y -DWITH_OPENCL=n -DWITH_OPENCLAMDBLAS=n -DWITH_GSTREAMER=n -DWITH_V4L=ON -DWITH_LIBV4L=ON -DWITH_OPENCLAMDFFT=n -DWITH_VA=n -DWITH_VA_INTEL=n -DWITH_PROTOBUF=n -DBUILD_PROTOBUF=n -DBUILD_JAVA=n -DBUILD_opencv_java_bindings_generator=n -DBUILD_opencv_python2=n -DBUILD_opencv_python3=n -DWITH_IMGCODEC_HDR=y -DWITH_IMGCODEC_SUNRASTER=y -DWITH_IMGCODEC_PXM=y -DWITH_IMGCODEC_PFM=y -DWITH_PNG=y -DWITH_TIFF=n -DWITH_WEBP=n -DWITH_OPENJPEG=n -DWITH_JASPER=n -DWITH_OPENEXR=n -DBUILD_opencv_dnn=n -DBUILD_opencv_features2d=n -DBUILD_opencv_flann=n -DWITH_TBB=n -DBUILD_INFO_SKIP_EXTRA_MODULES=n -DBUILD_JASPER=n -DBUILD_PNG=n -DBUILD_OPENEXR=n -DBUILD_WEBP=n -DBUILD_ZLIB=n -DWITH_CUDA=n -DWITH_EIGEN=n -DWITH_GPHOTO2=n -DOPENCV_GAPI_GSTREAMER=n -DWITH_LAPACK=n -DWITH_MATLAB=n -DWITH_MFX=n -DWITH_QUIRC=n -DWITH_VTK=n -DINSTALL_PDB=n -DINSTALL_TESTS=n -DINSTALL_C_EXAMPLES=n -DINSTALL_PYTHON_EXAMPLES=n -DOPENCV_GENERATE_SETUPVARS=n -DWITH_1394=n -DWITH_FFMPEG=y -DWITH_GTK_2_X=y -DBUILD_JPEG=y -DWITH_IPP=y -DENABLE_CONFIG_VERIFICATION=y -DBUILD_LIST=core,gapi,highgui,imgcodecs,imgproc,videoio,video ..\n          cmake --build . -j $((`nproc`*2+2))\n      - name: build_demos.sh\n        run: |\n          source ov/setupvars.sh\n          OpenCV_DIR=$GITHUB_WORKSPACE/cache/opencv/build CMAKE_CXX_COMPILER_LAUNCHER=ccache CMAKE_CXX_LINKER_LAUNCHER=ccache ./demos/build_demos.sh --build_dir=build  # TODO: add CMAKE_CXX_FLAGS=-Werror after background_subtraction_demo/cpp_gapi is updated to ov2.0\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Install OMZ tools\n        run: |\n          python -m pip install --cache-dir cache/pip/ --upgrade pip\n          python -m pip install --cache-dir cache/pip/ --extra-index-url https://download.pytorch.org/whl/cpu openvino==2023.1.0 openvino-dev[onnx,pytorch,tensorflow2]==2023.1.0 tools/model_tools[pytorch,tensorflow2]\n          # Reinstall OMZ tools that could come from openvino-dev because pip doesn't promise the order of installation\n          python -m pip install --no-cache-dir --no-deps tools/model_tools\n          # Make sure OpenVINO is used from C++ package, not from PyPI\n          python -m pip uninstall -y openvino\n      - name: run_tests.py\n        run: |\n          source ov/setupvars.sh\n          python demos/tests/run_tests.py --demo-build-dir build/intel64/Release/ --test-data-dir . --device CPU --downloader-cache-dir ${{ github.workspace }}/cache/downloader/ --precisions FP16 --demos cpp_gapi\n      - uses: actions/cache/save@v3\n        with:\n          path: ${{ github.workspace }}/cache\n          key: ubuntu20_2023.2.0.13089.cfd42bd2cb0-${{ github.event.repository.updated_at }}\n", "state": "active", "repository": "openvinotoolkit/open_model_zoo"}
{"mined_at": "2024-07-15T14:46:25.162040", "created_at": "2023-10-07T22:49:49+02:00", "updated_at": "2023-10-07T22:49:49+02:00", "name": "github-actions", "path": ".github/workflows/llm_demo.yml", "contents": null, "state": "active", "repository": "openvinotoolkit/open_model_zoo"}
{"mined_at": "2024-07-15T14:46:26.302716", "created_at": "2024-02-26T15:57:00+01:00", "updated_at": "2024-02-26T17:44:44+01:00", "name": "model_api-github-actions", "path": ".github/workflows/model_api.yml", "contents": "name: model_api-github-actions\non: pull_request\npermissions: read-all  # Required by https://github.com/ossf/scorecard/blob/e23b8ad91fd6a64a0a971ca4fc0a4d1650725615/docs/checks.md#token-permissions\njobs:\n  model_api-github-actions:\n    strategy:\n      matrix:\n        runs-on: [ubuntu-20.04, ubuntu-22.04]\n        python-version: [3.7, 3.8, 3.9, '3.10', '3.11']\n    runs-on: ${{ matrix.runs-on }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - run: python -m pip install demos/common/python/ openvino\n      - run: python -c \"from model_zoo import model_api\"\n", "state": "active", "repository": "openvinotoolkit/open_model_zoo"}
{"mined_at": "2024-07-15T14:46:28.452795", "created_at": "2020-01-11T06:09:15+01:00", "updated_at": "2020-01-11T06:20:19+01:00", "name": "tests", "path": "", "contents": null, "state": "active", "repository": "lepture/authlib"}
{"mined_at": "2024-07-15T14:46:29.682047", "created_at": "2021-11-24T02:08:45+01:00", "updated_at": "2021-11-24T02:08:45+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: python\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "lepture/authlib"}
{"mined_at": "2024-07-15T14:46:30.790411", "created_at": "2023-12-10T08:00:28+01:00", "updated_at": "2023-12-17T08:49:54+01:00", "name": "Release to PyPI", "path": ".github/workflows/pypi.yml", "contents": "name: Release to PyPI\n\npermissions:\n  contents: write\n\non:\n  push:\n    tags:\n      - \"1.*\"\n\nenv:\n  FORCE_COLOR: '1'\n\njobs:\n  build:\n    name: build dist files\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n\n    - name: install build\n      run: python -m pip install --upgrade build\n\n    - name: build dist\n      run: python -m build\n\n    - uses: actions/upload-artifact@v3\n      with:\n        name: artifacts\n        path: dist/*\n        if-no-files-found: error\n\n  publish:\n    environment:\n      name: pypi-release\n      url: https://pypi.org/project/Authlib/\n    permissions:\n      id-token: write\n    name: release to pypi\n    needs: build\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v3\n      with:\n        name: artifacts\n        path: dist\n\n    - name: Push build artifacts to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        skip-existing: true\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "lepture/authlib"}
{"mined_at": "2024-07-15T14:46:31.934990", "created_at": "2020-01-09T06:36:48+01:00", "updated_at": "2020-01-09T06:36:48+01:00", "name": "tests", "path": ".github/workflows/python.yml", "contents": "name: tests\n\non:\n  push:\n    branches-ignore:\n    - 'wip-*'\n    paths-ignore:\n    - 'docs/**'\n  pull_request:\n    branches-ignore:\n    - 'wip-*'\n    paths-ignore:\n    - 'docs/**'\n\nenv:\n  FORCE_COLOR: '1'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 3\n      matrix:\n        python:\n        - version: \"3.8\"\n        - version: \"3.9\"\n        - version: \"3.10\"\n        - version: \"3.11\"\n        - version: \"3.12\"\n        - version: \"pypy3.8\"\n        - version: \"pypy3.9\"\n        - version: \"pypy3.10\"\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python.version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python.version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox coverage\n\n    - name: Test with tox ${{ matrix.python.toxenv }}\n      env:\n        TOXENV: py,jose,clients,flask,django\n      run: tox\n\n    - name: Report coverage\n      run: |\n        coverage combine\n        coverage report\n        coverage xml\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n        flags: unittests\n        name: GitHub\n", "state": "active", "repository": "lepture/authlib"}
{"mined_at": "2024-07-15T14:46:34.178278", "created_at": "2022-06-27T22:24:22+02:00", "updated_at": "2022-06-27T22:46:38+02:00", "name": "Upload Python Package to PyPI and Anaconda", "path": ".github/workflows/deploy.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package to PyPI and Anaconda\n\non:\n  release:\n    types: [created]\n\njobs:\n  run_test_suite:\n    uses: ./.github/workflows/run_test_suite.yml\n\n  deploy_pypi:\n    runs-on: ubuntu-latest\n    needs: run_test_suite\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools_scm setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python -m setuptools_scm\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n\n  deploy_conda:\n    runs-on: ubuntu-latest\n    needs: run_test_suite\n    steps:\n    - uses: actions/checkout@v2\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        auto-update-conda: false\n        python-version: \"3.8\"\n    - name: Install dependencies\n      run: |\n        conda install -y anaconda-client conda-build\n        conda install linear_operator -c gpytorch\n        pip install setuptools_scm\n    - name: Build and publish\n      run: |\n        conda config --set anaconda_upload yes\n        conda config --append channels pytorch\n        conda config --append channels gpytorch\n        /usr/share/miniconda/bin/anaconda login --username ${{ secrets.CONDA_USERNAME }} --password ${{ secrets.CONDA_PASSWORD }}\n        python -m setuptools_scm\n        cd .conda\n        conda build .\n        /usr/share/miniconda/bin/anaconda logout\n        cd ..\n", "state": "active", "repository": "cornellius-gp/gpytorch"}
{"mined_at": "2024-07-15T14:46:35.255874", "created_at": "2022-06-27T22:24:24+02:00", "updated_at": "2022-06-27T22:46:38+02:00", "name": "Run Test Suite", "path": ".github/workflows/run_test_suite.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Run Test Suite\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n  workflow_call:\n\njobs:\n  run_linter:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8\"\n    - name: Install dependencies\n      run: |\n        pip install flake8==4.0.1 flake8-print==4.0.0 pre-commit\n        pre-commit install\n    - name: Run linting\n      run: |\n        flake8\n    - name: Run pre-commit checks\n      # skipping flake8 here (run separatey above b/c pre-commit does not include flake8-print)\n      run: |\n        SKIP=flake8 pre-commit run --files test/**/*.py gpytorch/**/*.py\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v3\n\n  run_unit_tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        pytorch-version: [\"master\", \"stable\"]\n        extras: [\"with-extras\", \"no-extras\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8\"\n    - name: Install dependencies\n      run: |\n        if [[ ${{ matrix.pytorch-version }} = \"master\" ]]; then\n          pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html;\n        else\n          pip install torch==1.11+cpu -f https://download.pytorch.org/whl/torch_stable.html;\n        fi\n        pip install -e .\n        if [[ ${{ matrix.extras }} == \"with-extras\" ]]; then\n          pip install \"pyro-ppl>=1.8\";\n          pip install pykeops;\n          pip install faiss-cpu;  # Unofficial pip release: https://pypi.org/project/faiss-cpu/#history\n        fi\n    - name: Run unit tests\n      run: |\n        python -m unittest discover\n\n  run_examples:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8\"\n    - name: Install dependencies\n      run: |\n        pip install torch==1.11+cpu -f https://download.pytorch.org/whl/torch_stable.html\n        pip install pytest nbval jupyter tqdm matplotlib torchvision scipy\n        pip install -e .\n        pip install \"pyro-ppl>=1.8\";\n        pip install pykeops;\n        pip install faiss-cpu;  # Unofficial pip release: https://pypi.org/project/faiss-cpu/#history\n    - name: Run example notebooks\n      run: |\n        grep -l smoke_test examples/**/*.ipynb | xargs grep -L 'smoke_test = False' | CI=true xargs pytest --nbval-lax --current-env\n", "state": "active", "repository": "cornellius-gp/gpytorch"}
{"mined_at": "2024-07-15T14:46:38.276092", "created_at": "2023-08-24T22:23:55+02:00", "updated_at": "2023-08-24T22:23:55+02:00", "name": "Merge Master to Docs on Release", "path": ".github/workflows/docs.yaml", "contents": "name: Merge Master to Docs on Release\n\non:\n  release:\n    types:\n      - created\n\njobs:\n  merge:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          ref: docs\n\n      - name: Merge master into docs\n        run: |\n          git config user.name \"GitHub Actions\"\n          git config user.email \"actions@example.com\"\n\n          git fetch origin master --depth 1\n          git merge origin/master --no-edit --allow-unrelated-histories\n          git push origin docs\n", "state": "active", "repository": "r0x0r/pywebview"}
{"mined_at": "2024-07-15T14:46:39.411517", "created_at": "2019-12-20T01:00:48+01:00", "updated_at": "2020-08-25T03:35:15+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: \"30 1 * * *\"\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/stale@v3.0.10\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        close-issue-message: 'The message to post on the issue when closing it. If none provided, will not comment when closing an issue.'\n        close-pr-message: 'The message to post on the pr when closing it. If none provided, will not comment when closing a pull requests.'\n        days-before-stale: 30\n        days-before-close: 5\n        stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'\n        stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'\n        stale-issue-label: 'stale'\n        stale-pr-label: 'stale'\n        exempt-issue-labels: 'future'\n        remove-stale-when-updated: true\n        remove-issue-stale-when-updated: true\n        remove-pr-stale-when-updated: true\n", "state": "active", "repository": "r0x0r/pywebview"}
{"mined_at": "2024-07-15T14:46:41.766049", "created_at": "2020-01-09T16:48:33+01:00", "updated_at": "2020-01-11T15:31:56+01:00", "name": "Release", "path": "", "contents": null, "state": "active", "repository": "hacs/integration"}
{"mined_at": "2024-07-15T14:46:43.097117", "created_at": "2020-07-04T13:42:11+02:00", "updated_at": "2022-03-27T10:59:18+02:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": "name: Lint\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: lint-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  matrix:\n    runs-on: ubuntu-latest\n    name: Run ${{ matrix.check }}\n    strategy:\n      matrix:\n        check:\n          - check-ast\n          - check-executables-have-shebangs\n          - check-json\n          - codespell\n          - isort\n          - mixed-line-ending\n          - pyupgrade\n          - requirements-txt-fixer\n          - ruff-check\n          - ruff-format\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        id: python\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n          cache-dependency-path: |\n            requirements_base.txt\n            requirements_lint.txt\n\n      - name: Install dependencies\n        run: |\n          scripts/install/pip_packages --requirement requirements_lint.txt\n          pre-commit install-hooks --config .github/pre-commit-config.yaml\n\n      - name: Run the check (${{ matrix.check }})\n        run: pre-commit run --show-diff-on-failure --hook-stage manual ${{ matrix.check }} --all-files --config .github/pre-commit-config.yaml\n\n  lint-json:\n    runs-on: ubuntu-latest\n    name: With JQ\n    steps:\n    - name: Checkout the repository\n      uses: actions/checkout@v4.1.7\n\n    - name: Run validation\n      run: jq -r -e -c . tests/fixtures/*.json", "state": "active", "repository": "hacs/integration"}
{"mined_at": "2024-07-15T14:46:44.329125", "created_at": "2020-07-04T14:38:30+02:00", "updated_at": "2024-02-27T21:17:56+01:00", "name": "Validate", "path": ".github/workflows/validate.yml", "contents": "name: Validate\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n  schedule:\n    - cron: \"0 12 * * *\"\n\nconcurrency:\n  cancel-in-progress: true\n  group: validate-${{ github.ref }}\n\njobs:\n  preflight:\n    if: ${{ github.repository == 'hacs/integration' }}\n    runs-on: ubuntu-latest\n    name: Preflight\n    steps:\n      - name: Validation preflight\n        env:\n          ACTOR: ${{ github.actor }}\n          EVENT_NAME: ${{ github.event_name }}\n          REF_NAME: ${{ github.ref_name }}\n          REF: ${{ github.ref }}\n          SHA: ${{ github.sha }}\n        run: |\n          echo \"**Start:** $(date)\" >> $GITHUB_STEP_SUMMARY\n          echo \"**Actor:** $ACTOR\" >> $GITHUB_STEP_SUMMARY\n          echo \"**Event:** $EVENT_NAME\" >> $GITHUB_STEP_SUMMARY\n          echo \"**Ref name:** $REF_NAME\" >> $GITHUB_STEP_SUMMARY\n          echo \"**Ref:** $REF\" >> $GITHUB_STEP_SUMMARY\n          echo \"**SHA:** $SHA\" >> $GITHUB_STEP_SUMMARY\n\n  validate-hassfest:\n    needs:\n      - \"preflight\"\n    runs-on: ubuntu-latest\n    name: With hassfest\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      # Test files conflict with running hassfest\n      - name: Remove tests\n        run: rm -rf tests\n\n      - name: Hassfest validation\n        uses: \"home-assistant/actions/hassfest@master\"\n\n  validate-hacs:\n    needs:\n      - \"preflight\"\n    runs-on: ubuntu-latest\n    name: With HACS Action\n    steps:\n      - name: HACS validation\n        uses: hacs/action@main\n        with:\n          category: integration\n\n  validate-hacs-local:\n    if: ${{ github.event_name != 'schedule' }}\n    needs:\n      - \"preflight\"\n    runs-on: ubuntu-latest\n    name: Check ${{matrix.entry.category}} ${{matrix.entry.repository}} with HACS Action (local)\n    strategy:\n      matrix:\n        entry:\n          - repository: \"hacs/integration\"\n            category: \"integration\"\n          - repository: \"piitaya/lovelace-mushroom\"\n            category: \"plugin\"\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Build Container\n        run: |\n          docker build . -t hacs/action:local -f action/Dockerfile\n\n      - name: Run Action\n        run: |\n          docker run --name hacs_action_local \\\n            --env INPUT_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \\\n            --env INPUT_REPOSITORY=${{matrix.entry.repository}} \\\n            --env INPUT_CATEGORY=${{matrix.entry.category}} \\\n            hacs/action:local\n\n  validata-hacs-data:\n    if: ${{ github.event_name != 'schedule' }}\n    needs:\n      - \"preflight\"\n    runs-on: ubuntu-latest\n    name: Check ${{matrix.entry.category}} ${{matrix.entry.repository}} with HACS data generation\n    strategy:\n      matrix:\n        entry:\n          - repository: \"hacs/integration\"\n            category: \"integration\"\n          - repository: \"piitaya/lovelace-mushroom\"\n            category: \"plugin\"\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n          cache-dependency-path: |\n            requirements_base.txt\n            requirements_generate_data.txt\n\n      - name: Install dependencies\n        run:  |\n          scripts/install/frontend\n          scripts/install/pip_packages --requirement requirements_generate_data.txt\n\n      - name: Generate data\n        run: |\n          python3 -m scripts.data.generate_category_data \\\n            ${{ matrix.entry.category }} \\\n            ${{ matrix.entry.repository }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Validate output with JQ\n        run: |\n          jq -c . outputdata/${{ matrix.entry.category }}/data.json\n          jq -c . outputdata/${{ matrix.entry.category }}/repositories.json\n\n      - name: Validate output with schema\n        run: |\n          python3 -m scripts.data.validate_category_data ${{  matrix.entry.category }} outputdata/${{ matrix.entry.category }}/data.json\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: \"${{ matrix.entry.category }}_${{ strategy.job-index }}\"\n          path: |\n            outputdata/summary.json\n            outputdata/${{ matrix.entry.category }}\n          if-no-files-found: error\n          retention-days: 3\n\n\n  notify_on_failure:\n    runs-on: ubuntu-latest\n    name: Trigger Discord notification when jobs fail\n    needs: [\"preflight\",\"validate-hassfest\", \"validate-hacs\"]\n    steps:\n      - name: Send notification\n        if: ${{ always() && contains(join(needs.*.result, ','), 'failure') && github.event_name == 'schedule' }}\n        run: |\n          curl \\\n            -H \"Content-Type: application/json\" \\\n            -d '{\"username\": \"GitHub action failure\", \"content\": \"[Scheduled action failed!](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})\"}' \\\n            ${{ secrets.DISCORD_WEBHOOK_ACTION_FAILURE }}\n", "state": "active", "repository": "hacs/integration"}
{"mined_at": "2024-07-15T14:46:45.554618", "created_at": "2020-07-04T14:47:18+02:00", "updated_at": "2022-03-27T10:59:54+02:00", "name": "Test", "path": ".github/workflows/pytest.yml", "contents": "name: Test\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: test-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  legacy:\n    name: With pytest with Home Assistant (min. supported version)\n    runs-on: ubuntu-latest\n    steps:\n      - name: 📥 Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: 🛠️ Set up Python 3.12\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n          cache-dependency-path: |\n            requirements_core_min.txt\n            requirements_base.txt\n            requirements_test.txt\n\n      - name: 📦 Install dependencies\n        run: |\n          scripts/install/pip_packages \\\n            --requirement requirements_core_min.txt \\\n            --requirement requirements_test.txt\n          scripts/install/frontend\n\n      - name: ⏲️ Set time zone\n        uses: szenius/set-timezone@v2.0\n        with:\n          timezoneLinux: 'Asia/Singapore'\n\n      - name: 🏃 Run tests\n        env:\n          PYTEST: true\n        run: scripts/test\n\n  dev:\n    name: With pytest with Home Assistant (${{ matrix.homeassistant-version }}) & Python (${{ matrix.python-version }})\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        homeassistant-version:\n          - \"dev\"\n        python-version:\n          - \"3.12\"\n    steps:\n      - name: 📥 Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: 🛠️ Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: |\n            requirements_core_min.txt\n            requirements_base.txt\n            requirements_test.txt\n\n      - name: 📦 Install dependencies\n        run: |\n          scripts/install/pip_packages --requirement requirements_test.txt\n          scripts/install/core_dev\n          scripts/install/frontend\n\n      - name: ⏲️ Set time zone\n        uses: szenius/set-timezone@v2.0\n        with:\n          timezoneLinux: 'Asia/Singapore'\n\n      - name: 🏃 Run tests\n        env:\n          PYTEST: true\n        run: scripts/test\n\n      - name: 📤 Upload coverage to Codecov\n        if: ${{ matrix.python-version == '3.12' }}\n        run: |\n          scripts/coverage\n          curl -sfSL https://codecov.io/bash | bash -", "state": "active", "repository": "hacs/integration"}
{"mined_at": "2024-07-15T14:46:46.692907", "created_at": "2021-08-27T20:36:06+02:00", "updated_at": "2024-05-22T15:38:56+02:00", "name": "Lock closed issues and PR's", "path": ".github/workflows/lock.yml", "contents": "name: \"Lock closed issues and PR's\"\n\non:\n  schedule:\n    - cron: \"0 * * * *\"\n\nconcurrency:\n  group: lock-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    if: github.repository == 'hacs/integration'\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - name: 🔒 Lock closed issues and PRs\n        uses: dessant/lock-threads@v5.0.1\n        with:\n          issue-inactive-days: \"14\"\n          issue-lock-reason: \"\"\n          pr-inactive-days: \"1\"\n          pr-lock-reason: \"\"", "state": "active", "repository": "hacs/integration"}
{"mined_at": "2024-07-15T14:46:47.812558", "created_at": "2021-11-11T22:59:18+01:00", "updated_at": "2022-03-27T20:23:21+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  release:\n    types:\n      - published\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: publish-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  release_zip_file:\n    name: Publish HACS zip file asset\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: 📥 Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: 🛠️ Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.12\"\n\n      - name: 🔢 Get version\n        if: ${{ github.event_name == 'release' }}\n        id: version\n        uses: home-assistant/actions/helpers/version@master\n\n      - name: 🔢 Set version number\n        if: ${{ github.event_name == 'release' }}\n        run: |\n          sed -i \"/MINIMUM_HA_VERSION = /c\\MINIMUM_HA_VERSION = \\\"$(jq .homeassistant -r ${{ github.workspace }}/hacs.json)\\\"\" ${{ github.workspace }}/custom_components/hacs/const.py\n          python3 ${{ github.workspace }}/scripts/update/manifest.py --version ${{ steps.version.outputs.version }}\n\n      - name: ⏬ Download HACS frontend\n        run: ${{ github.workspace }}/scripts/install/frontend\n\n      - name: 📤 Upload zip to action\n        uses: actions/upload-artifact@v4.3.3\n        if: ${{ github.event_name == 'push' }}\n        with:\n          name: hacs\n          path: ${{ github.workspace }}/custom_components/hacs\n          retention-days: 7\n\n      # Pack the HACS dir as a zip and upload to the release\n      - name: 📦 ZIP HACS Dir\n        if: ${{ github.event_name == 'release' }}\n        run: |\n          cd ${{ github.workspace }}/custom_components/hacs\n          zip hacs.zip -r ./\n\n      - name: 📤 Upload zip to release\n        uses: softprops/action-gh-release@v0.1.15\n        if: ${{ github.event_name == 'release' }}\n        with:\n          files: ${{ github.workspace }}/custom_components/hacs/hacs.zip\n\n", "state": "active", "repository": "hacs/integration"}
{"mined_at": "2024-07-15T14:46:48.887729", "created_at": "2022-05-25T13:32:27+02:00", "updated_at": "2024-06-25T13:33:00+02:00", "name": "Build the action container", "path": ".github/workflows/action-container.yml", "contents": "name: \"Build the action container\"\n\non:\n  release:\n    types:\n      - published\n  push:\n    branches:\n      - main\n    paths:\n      - '.github/workflows/action-container.yml'\n      - 'custom_components/**'\n      - 'action/**'\n  pull_request:\n    branches:\n      - main\n    paths:\n      - '.github/workflows/action-container.yml'\n      - 'custom_components/**'\n      - 'action/**'\n\nconcurrency:\n  group: container-build-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n    steps:\n      - uses: actions/checkout@v4.1.7\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3.2.0\n        if: ${{ github.event_name != 'pull_request' }}\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5.5.1\n        with:\n          images: |\n            ghcr.io/${{ github.repository_owner }}/action\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=sha\n\n      - name: Build and push\n        uses: docker/build-push-action@v6.0.0\n        with:\n          context: .\n          file: action/Dockerfile\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "hacs/integration"}
{"mined_at": "2024-07-15T14:46:50.111926", "created_at": "2023-01-11T16:40:09+01:00", "updated_at": "2024-07-04T09:06:17+02:00", "name": "Generate HACS Data", "path": ".github/workflows/generate-hacs-data.yml", "contents": "name: Generate HACS Data\n\non:\n  workflow_dispatch:\n    inputs:\n      forceRepositoryUpdate:\n        description: 'Force repository update'\n        required: false\n        default: 'False'\n        type: choice\n        options:\n          - \"False\"\n          - \"True\"\n      category:\n        description: 'Select a category'\n        required: false\n        type: choice\n        options:\n          - None\n          - appdaemon\n          - integration\n          - plugin\n          - python_script\n          - template\n          - theme\n  schedule:\n    - cron: \"0 */2 * * *\"\n\nconcurrency:\n  group: category-data\n\njobs:\n  generate-matrix:\n    name: Generate matrix\n    runs-on: ubuntu-latest\n    if: github.repository == 'hacs/integration'\n    outputs:\n      categories: ${{ steps.set-matrix.outputs.categories }}\n    steps:\n      - id: set-matrix\n        run: |\n          if [[ \"${{ github.event_name }}\" == \"workflow_dispatch\"  ]] && [[ \"${{ inputs.category }}\" != \"None\"  ]] && [[ \"${{ inputs.category }}\" != \"\"  ]]; then\n            echo \"categories=['${{ inputs.category }}']\" >> $GITHUB_OUTPUT\n          else\n            echo \"categories=['appdaemon','integration','plugin','python_script','template','theme']\" >> $GITHUB_OUTPUT\n          fi\n  category-data:\n    runs-on: ubuntu-latest\n    needs: generate-matrix\n    if: github.repository == 'hacs/integration'\n    name: Generate ${{ matrix.category }} data\n    strategy:\n      fail-fast: false\n      matrix:\n        category: ${{ fromJSON( needs.generate-matrix.outputs.categories )}}\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        id: python\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n          cache-dependency-path: |\n            requirements_base.txt\n            requirements_generate_data.txt\n\n      - name: Install dependencies\n        run:  |\n          scripts/install/frontend\n          scripts/install/pip_packages --requirement requirements_generate_data.txt\n\n      - name: Generate ${{ matrix.category }} data\n        run: python3 -m scripts.data.generate_category_data ${{ matrix.category }}\n        env:\n          DATA_GENERATOR_TOKEN: ${{ secrets.DATA_GENERATOR_TOKEN }}\n          FORCE_REPOSITORY_UPDATE: ${{ inputs.forceRepositoryUpdate }}\n\n      - name: Check if updated\n        id: updated\n        run: |\n          if test -f \"outputdata/${{ matrix.category }}/data.json\"; then\n            echo \"updated=true\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"updated=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Validate output with JQ\n        if: steps.updated.outputs.updated == 'true'\n        run: |\n          jq -c . outputdata/${{ matrix.category }}/data.json\n          jq -c . outputdata/${{ matrix.category }}/repositories.json\n\n      - name: Validate output with schema\n        if: steps.updated.outputs.updated == 'true'\n        run: |\n          python3 -m scripts.data.validate_category_data ${{ matrix.category }} outputdata/${{ matrix.category }}/data.json\n\n      - name: Generate diff\n        if: steps.updated.outputs.updated == 'true'\n        run: |\n          diff -u outputdata/diff/${{ matrix.category }}_before.json outputdata/diff/${{ matrix.category }}_after.json > outputdata/diff/${{ matrix.category }}.diff || true\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4.3.3\n        if: steps.updated.outputs.updated == 'true'\n        with:\n          name: ${{ matrix.category }}\n          path: |\n            outputdata/${{ matrix.category }}\n            outputdata/summary.json\n            outputdata/diff/${{ matrix.category }}.diff\n          if-no-files-found: error\n          retention-days: 7\n\n      - name: Upload to R2\n        if: steps.updated.outputs.updated == 'true'\n        run: |\n          aws s3 sync \\\n            outputdata/${{ matrix.category }} \\\n            s3://data-v2/${{ matrix.category }} \\\n            --endpoint-url ${{ secrets.CF_R2_ENDPOINT_DATA }}\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.CF_R2_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_SECRET_ACCESS_KEY }}\n\n      - name: Bust Cloudflare cache\n        if: steps.updated.outputs.updated == 'true'\n        run: |\n          curl --silent --show-error --fail -X POST \\\n            \"https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE_ID }}/purge_cache\" \\\n            -H \"Authorization: Bearer ${{ secrets.CF_BUST_CACHE_TOKEN }}\" \\\n            -H \"Content-Type: application/json\" \\\n            --data '{\"files\": [\"https:\\/\\/data-v2.hacs.xyz\\/${{ matrix.category }}\\/data.json\", \"https:\\/\\/data-v2.hacs.xyz\\/${{ matrix.category }}\\/repositories.json\"]}'\n\n      - name: Discord notification\n        if: ${{ github.event_name == 'schedule' && failure() }}\n        run: |\n          curl \\\n            -H \"Content-Type: application/json\" \\\n            -d '{\"username\": \"GitHub action failure\", \"content\": \"[Scheduled action failed!](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})\"}' \\\n            ${{ secrets.DISCORD_WEBHOOK_ACTION_FAILURE }}\n", "state": "active", "repository": "hacs/integration"}
{"mined_at": "2024-07-15T14:46:51.186630", "created_at": "2023-06-30T10:21:06+02:00", "updated_at": "2023-06-30T10:26:36+02:00", "name": "Check Pull Request labels", "path": ".github/workflows/pull_requests_labels.yml", "contents": "name: \"Check Pull Request labels\"\n\non:\n  pull_request:\n    types:\n      - labeled\n      - opened\n      - synchronize\n      - unlabeled\n    branches:\n      - main\n\npermissions: {}\n\njobs:\n  check_labels:\n    name: \"Check Pull Request labels\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4.1.7\n\n      - name: Check the labels\n        uses: ludeeus/action-require-labels@1.1.0\n        with:\n          labels: >-\n              Breaking Change, Experimental, pr: new-feature,\n              pr: enhancement, pr: refactor, pr: bugfix,\n              pr: dependency-update, pr: action, pr: test,\n              pr: repository", "state": "active", "repository": "hacs/integration"}
{"mined_at": "2024-07-15T14:46:52.203703", "created_at": "2024-04-12T15:28:07+02:00", "updated_at": "2024-04-12T15:28:07+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "hacs/integration"}
{"mined_at": "2024-07-15T14:46:54.215528", "created_at": "2024-06-11T17:47:51+02:00", "updated_at": "2024-06-11T17:47:51+02:00", "name": "Build", "path": ".github/workflows/build_wheels.yml", "contents": null, "state": "active", "repository": "h5py/h5py"}
{"mined_at": "2024-07-15T14:46:55.404641", "created_at": "2021-01-08T05:16:13+01:00", "updated_at": "2021-01-08T05:16:13+01:00", "name": "Build low-level API docs", "path": ".github/workflows/lowlevel-api-docs.yml", "contents": "name: Build low-level API docs\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  api-docs:\n    runs-on: ubuntu-latest\n    env:\n      HDF5_VERSION: 1.12.0\n      HDF5_DIR: ${{ github.workspace }}/cache/hdf5\n      TOXENV: apidocs\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Cache HDF5\n        uses: actions/cache@v4\n        with:\n          path: ${{ env.HDF5_DIR }}\n          key: ${{ runner.os }}-hdf5-${{ env.HDF5_VERSION }}\n\n      - name: Build HDF5\n        run: |\n          ./ci/get_hdf5_if_needed.sh\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Install tox\n        run: |\n          python -m pip install --upgrade pip\n          python3 -m pip install tox\n\n      - name: Build API docs\n        run: |\n          tox\n          echo -n \"api.h5py.org\" > docs_api/_build/html/CNAME\n\n      - name: Upload built docs\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs-html\n          path: docs_api/_build/html\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v4\n        if: github.repository == 'h5py/h5py' && github.ref == 'refs/heads/master' && github.event_name == 'push'\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: docs_api/_build/html\n", "state": "active", "repository": "h5py/h5py"}
{"mined_at": "2024-07-15T14:46:56.466190", "created_at": "2023-12-12T21:28:38+01:00", "updated_at": "2024-03-22T14:36:10+01:00", "name": "Nightly NumPy wheels", "path": ".github/workflows/nightlies.yml", "contents": "---\nname: Nightly NumPy wheels\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\n\n# Adapted from https://github.com/matplotlib/matplotlib/blob/main/.github/workflows/nightlies.yml\n\non:\n  # Run daily at 1:23 UTC to upload nightly wheels to Anaconda Cloud\n  schedule:\n    - cron: '23 1 * * *'\n  # Run on demand with workflow dispatch\n  workflow_dispatch:\n  # Run on all PRs\n  pull_request:\n\n\npermissions:\n  actions: read\n\njobs:\n  build_wheels:\n    name: Build ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # To start, just do Ubuntu. The others should probably be added after doing\n        # some refactoring of CIBW_* vars to pyproject.toml for example, or into\n        # ci/cibw_*.sh scripts.\n        os: [ubuntu-latest]  # , windows-latest, macos-13, macos-14]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install cibuildwheel\n        run: python -m pip install cibuildwheel==2.19.1\n      - name: Build wheels\n        run: python -m cibuildwheel --output-dir wheelhouse\n        env:\n          CIBW_BEFORE_BUILD: \"pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy && pip install \\\"Cython>=0.29.31,<4\\\" pkgconfig \\\"setuptools>=61\\\"\"\n          CIBW_BUILD_FRONTEND: \"pip; args: --no-build-isolation\"\n          CIBW_BUILD: \"cp3{9,10,11,12,13}-manylinux_x86_64\"\n          CIBW_MANYLINUX_X86_64_IMAGE: ghcr.io/h5py/manylinux2014_x86_64-hdf5\n          CIBW_ENVIRONMENT: \"CFLAGS=-g1\"\n          CIBW_PRERELEASE_PYTHONS: true\n      - uses: actions/upload-artifact@v4\n        with:\n          name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}\n          path: ./wheelhouse/*.whl\n\n  test_wheels:\n    name: Test ${{ matrix.os }} ${{ matrix.python }}\n    needs: build_wheels\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]  # , windows-latest, macos-13, macos-14]\n        python: ['3.12']\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: cibw-wheels-${{ matrix.os}}-*\n          merge-multiple: true\n          path: dist\n      - run: ls -alt dist\n      - name: Install tox\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox codecov\n      - name: Install wheel\n        shell: bash\n        run: |\n          set -eo pipefail\n          export PYVER=$(python -c \"import sys; print(''.join(map(str, sys.version_info[:2])))\")\n          echo \"Using tag $PYVER\"\n          export TOXENV=\"py$PYVER-test-deps,py$PYVER-test-mindeps,$PYVER-test-deps-pre\"\n          WHL_PATH=$(python -c \"import glob, sys; print(glob.glob(f'dist/h5py-*-cp$PYVER-*.whl')[0])\")\n          echo \"Will install wheel from $WHL_PATH\"\n          tox --installpkg $WHL_PATH\n      - run: python ci/upload_coverage.py --codecov-token 813fb6da-087d-4b36-a185-5a530cab3455\n\n  upload_nightly_wheels:\n    name: Upload wheels\n    needs: test_wheels\n    runs-on: ubuntu-latest\n    if: github.repository_owner == 'h5py' && github.event_name == 'schedule'\n    defaults:\n      run:\n        shell: bash -el {0}\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: cibw-wheels-*\n          merge-multiple: true\n          path: dist\n      - run: pwd && ls -alt . && ls -alt dist/\n      - name: Upload wheels to Anaconda Cloud as nightlies\n        uses: scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # 0.5.0\n        with:\n          artifacts_path: dist\n          anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}\n", "state": "active", "repository": "h5py/h5py"}
{"mined_at": "2024-07-15T14:46:57.637990", "created_at": "2024-06-01T18:37:58+02:00", "updated_at": "2024-06-01T18:37:58+02:00", "name": "Type Checking", "path": ".github/workflows/typecheck.yml", "contents": null, "state": "active", "repository": "h5py/h5py"}
{"mined_at": "2024-07-15T14:46:58.661519", "created_at": "2021-12-17T16:20:56+01:00", "updated_at": "2021-12-17T16:20:56+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "h5py/h5py"}
{"mined_at": "2024-07-15T14:47:00.812199", "created_at": "2022-03-15T14:36:07+01:00", "updated_at": "2022-03-17T14:06:21+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches:\n      - master\n  schedule:\n    - cron: '30 20 * * 6'\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n          - python\n          - javascript\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@412ab5c4176178930892df540237c587c71786c9 # v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@412ab5c4176178930892df540237c587c71786c9 # v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@412ab5c4176178930892df540237c587c71786c9 # v3\n", "state": "active", "repository": "nedbat/coveragepy"}
{"mined_at": "2024-07-15T14:47:01.941403", "created_at": "2020-12-04T01:43:44+01:00", "updated_at": "2021-02-23T18:50:20+01:00", "name": "Coverage", "path": ".github/workflows/coverage.yml", "contents": "# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0\n# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt\n\nname: \"Coverage\"\n\non:\n  # As currently structured, this adds too many jobs (checks?), so don't run it\n  # on pull requests yet.\n  push:\n    branches:\n      - master\n      - \"**/*metacov*\"\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n  FORCE_COLOR: 1    # Get colored pytest output\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  coverage:\n    name: \"${{ matrix.python-version }} on ${{ matrix.os }}\"\n    runs-on: \"${{ matrix.os }}-${{ matrix.os-version || 'latest' }}\"\n    env:\n      MATRIX_ID: \"${{ matrix.python-version }}.${{ matrix.os }}\"\n\n    strategy:\n      matrix:\n        os:\n          - ubuntu\n          - macos\n          - windows\n        python-version:\n          # When changing this list, be sure to check the [gh] list in\n          # tox.ini so that tox will run properly. PYVERSIONS\n          # Available versions:\n          # https://github.com/actions/python-versions/blob/main/versions-manifest.json\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          - \"3.13\"\n          - \"pypy-3.8\"\n          - \"pypy-3.9\"\n          - \"pypy-3.10\"\n        exclude:\n          # Mac PyPy always takes the longest, and doesn't add anything.\n          - os: macos\n            python-version: \"pypy-3.8\"\n          - os: macos\n            python-version: \"pypy-3.9\"\n          - os: macos\n            python-version: \"pypy-3.10\"\n          # Windows pypy 3.9 and 3.10 get stuck with PyPy 7.3.15.  I hope to\n          # unstick them, but I don't want that to block all other progress, so\n          # skip them for now.\n          - os: windows\n            python-version: \"pypy-3.9\"\n          - os: windows\n            python-version: \"pypy-3.10\"\n        # If we need to tweak the os version we can do it with an include like\n        # this:\n        #  include:\n        #    - python-version: \"3.8\"\n        #      os: \"macos\"\n        #      os-version: \"13\"\n\n      # If one job fails, stop the whole thing.\n      fail-fast: true\n\n    steps:\n      - name: \"Check out the repo\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: \"Set up Python\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n          allow-prereleases: true\n          # At a certain point, installing dependencies failed on pypy 3.9 and\n          # 3.10 on Windows.  Commenting out the cache here fixed it.  Someday\n          # try using the cache again.\n          #cache: pip\n          #cache-dependency-path: 'requirements/*.pip'\n\n      - name: \"Show environment\"\n        run: |\n          set -xe\n          python -VV\n          python -m site\n          env\n\n      - name: \"Install dependencies\"\n        run: |\n          echo matrix id: $MATRIX_ID\n          set -xe\n          python -VV\n          python -m site\n          python -m pip install -r requirements/tox.pip\n\n      - name: \"Run tox coverage for ${{ matrix.python-version }}\"\n        env:\n          COVERAGE_COVERAGE: \"yes\"\n          COVERAGE_CONTEXT: \"${{ matrix.python-version }}.${{ matrix.os }}\"\n        run: |\n          set -xe\n          python -m tox\n\n      - name: \"Combine data\"\n        env:\n          COVERAGE_RCFILE: \"metacov.ini\"\n        run: |\n          python -m coverage combine\n          mv .metacov .metacov.$MATRIX_ID\n\n      - name: \"Upload coverage data\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: metacov-${{ env.MATRIX_ID }}\n          path: .metacov.*\n\n  combine:\n    name: \"Combine coverage data\"\n    needs: coverage\n    runs-on: ubuntu-latest\n    outputs:\n      total: ${{ steps.total.outputs.total }}\n    env:\n      COVERAGE_RCFILE: \"metacov.ini\"\n\n    steps:\n      - name: \"Check out the repo\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: \"Set up Python\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.8\" # Minimum of PYVERSIONS\n          # At a certain point, installing dependencies failed on pypy 3.9 and\n          # 3.10 on Windows.  Commenting out the cache here fixed it.  Someday\n          # try using the cache again.\n          #cache: pip\n          #cache-dependency-path: 'requirements/*.pip'\n\n      - name: \"Show environment\"\n        run: |\n          set -xe\n          python -VV\n          python -m site\n          env | sort\n\n      - name: \"Install dependencies\"\n        run: |\n          set -xe\n          python -m pip install -e .\n          python igor.py zip_mods\n\n      - name: \"Download coverage data\"\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          pattern: metacov-*\n          merge-multiple: true\n\n      - name: \"Combine and report\"\n        id: combine\n        env:\n          COVERAGE_CONTEXT: \"yes\"\n        run: |\n          set -xe\n          python igor.py combine_html\n\n      - name: \"Upload HTML report\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: html_report\n          path: htmlcov\n\n      - name: \"Get total\"\n        id: total\n        run: |\n          echo \"total=$(python -m coverage report --format=total)\" >> $GITHUB_OUTPUT\n\n  publish:\n    name: \"Publish coverage report\"\n    needs: combine\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: \"Show environment\"\n        run: |\n          set -xe\n          env | sort\n\n      - name: \"Compute info for later steps\"\n        id: info\n        run: |\n          export SHA10=$(echo ${{ github.sha }} | cut -c 1-10)\n          export SLUG=$(date +'%Y%m%d')_$SHA10\n          export REPORT_DIR=reports/$SLUG/htmlcov\n          export REF=\"${{ github.ref }}\"\n          echo \"total=${{ needs.combine.outputs.total }}\" >> $GITHUB_ENV\n          echo \"sha10=$SHA10\" >> $GITHUB_ENV\n          echo \"slug=$SLUG\" >> $GITHUB_ENV\n          echo \"report_dir=$REPORT_DIR\" >> $GITHUB_ENV\n          echo \"url=https://htmlpreview.github.io/?https://github.com/nedbat/coverage-reports/blob/main/reports/$SLUG/htmlcov/index.html\" >> $GITHUB_ENV\n          echo \"branch=${REF#refs/heads/}\" >> $GITHUB_ENV\n\n      - name: \"Summarize\"\n        run: |\n          echo '### Total coverage: ${{ env.total }}%' >> $GITHUB_STEP_SUMMARY\n\n      - name: \"Checkout reports repo\"\n        if: ${{ github.ref == 'refs/heads/master' }}\n        run: |\n          set -xe\n          git clone --depth=1 --no-checkout https://${{ secrets.COVERAGE_REPORTS_TOKEN }}@github.com/nedbat/coverage-reports reports_repo\n          cd reports_repo\n          git sparse-checkout init --cone\n          git sparse-checkout set --skip-checks '/*' '!/reports'\n          git config user.name nedbat\n          git config user.email ned@nedbatchelder.com\n          git checkout main\n\n      - name: \"Download coverage HTML report\"\n        if: ${{ github.ref == 'refs/heads/master' }}\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: html_report\n          path: reports_repo/${{ env.report_dir }}\n\n      - name: \"Push to report repo\"\n        if: |\n          github.repository_owner == 'nedbat'\n          && github.ref == 'refs/heads/master'\n        env:\n          COMMIT_MESSAGE: ${{ github.event.head_commit.message }}\n        run: |\n          set -xe\n          # Make the redirect to the latest report.\n          echo \"<html><head>\" > reports_repo/latest.html\n          echo \"<meta http-equiv='refresh' content='0;url=${{ env.url }}' />\" >> reports_repo/latest.html\n          echo \"<body>Coverage report redirect...\" >> reports_repo/latest.html\n          # Make the commit message.\n          echo \"${{ env.total }}% - $COMMIT_MESSAGE\" > commit.txt\n          echo \"\" >> commit.txt\n          echo \"${{ env.url }}\" >> commit.txt\n          echo \"${{ env.sha10 }}: ${{ env.branch }}\" >> commit.txt\n          # Commit.\n          cd ./reports_repo\n          git sparse-checkout set --skip-checks '/*' '${{ env.report_dir }}'\n          rm ${{ env.report_dir }}/.gitignore\n          git add ${{ env.report_dir }} latest.html\n          git commit --file=../commit.txt\n          git push\n          echo '[${{ env.url }}](${{ env.url }})' >> $GITHUB_STEP_SUMMARY\n\n      - name: \"Create badge\"\n        if: |\n          github.repository_owner == 'nedbat'\n          && github.ref == 'refs/heads/master'\n        # https://gist.githubusercontent.com/nedbat/8c6980f77988a327348f9b02bbaf67f5\n        uses: schneegans/dynamic-badges-action@e9a478b16159b4d31420099ba146cdc50f134483 # v1.7.0\n        with:\n          auth: ${{ secrets.METACOV_GIST_SECRET }}\n          gistID: 8c6980f77988a327348f9b02bbaf67f5\n          filename: metacov.json\n          label: Coverage\n          message: ${{ env.total }}%\n          minColorRange: 60\n          maxColorRange: 95\n          valColorRange: ${{ env.total }}\n", "state": "active", "repository": "nedbat/coveragepy"}
{"mined_at": "2024-07-15T14:47:03.077662", "created_at": "2022-05-03T16:16:14+02:00", "updated_at": "2022-05-20T12:20:35+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Reqest, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\n\nname: 'Dependency Review'\non:\n  push:\n    branches:\n      - master\n      - nedbat/*\n  pull_request:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    if: github.repository_owner == 'nedbat'\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@72eb03d02c7872a771aacd928f3123ac62ad6d3a # v4.3.3\n        with:\n          base-ref: ${{ github.event.pull_request.base.sha || 'master' }}\n          head-ref: ${{ github.event.pull_request.head.sha || github.ref }}\n", "state": "active", "repository": "nedbat/coveragepy"}
{"mined_at": "2024-07-15T14:47:04.230430", "created_at": "2020-11-28T15:00:00+01:00", "updated_at": "2023-05-15T12:17:59+02:00", "name": "Kits", "path": ".github/workflows/kit.yml", "contents": "# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0\n# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt\n\n# This file is meant to be processed with cog.\n# Running \"make prebuild\" will bring it up to date.\n\n# Based on:\n# https://github.com/joerick/cibuildwheel/blob/master/examples/github-deploy.yml\n\n# To test installing wheels without uploading them to PyPI:\n#\n#   $ mkdir /tmp/pypi\n#   $ cp dist/* /tmp/pypi\n#   $ python -m pip install piprepo\n#   $ piprepo build /tmp/pypi\n#   $ python -m pip install -v coverage --index-url=file:///tmp/pypi/simple\n#\n# Note that cibuildwheel recommends not shipping wheels for pre-release versions\n# of Python: https://cibuildwheel.readthedocs.io/en/stable/options/#prerelease-pythons\n# So we don't.\n\nname: \"Kits\"\n\non:\n  push:\n    branches:\n      # Don't build kits all the time, but do if the branch is about kits.\n      - \"**/*kit*\"\n  workflow_dispatch:\n  repository_dispatch:\n    types:\n      - build-kits\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  wheels:\n    name: \"${{ matrix.py }} ${{ matrix.os }} ${{ matrix.arch }} wheels\"\n    runs-on: \"${{ matrix.os }}-${{ matrix.os-version || 'latest' }}\"\n    env:\n      MATRIX_ID: \"${{ matrix.py }}-${{ matrix.os }}-${{ matrix.arch }}\"\n    strategy:\n      matrix:\n        include:\n          # To change the matrix, edit the choices, then process this file with cog:\n          #\n          # $ make workflows\n          #\n          # which runs:\n          #\n          # $ python -m pip install cogapp\n          # $ python -m cogapp -crP .github/workflows/kit.yml\n          #\n          # Choices come from the table on https://pypi.org/project/cibuildwheel/\n          #\n          # [[[cog\n          #   #----- vvv Choices for the matrix vvv -----\n          #\n          #   # Operating systems:\n          #   oss = [\"ubuntu\", \"macos\", \"windows\"]\n          #\n          #   # For each OS, what arch to use with cibuildwheel:\n          #   os_archs = {\n          #       \"ubuntu\": [\"x86_64\", \"i686\", \"aarch64\"],\n          #       \"macos\": [\"arm64\", \"x86_64\"],\n          #       \"windows\": [\"x86\", \"AMD64\"],\n          #   }\n          #   # PYVERSIONS. Available versions:\n          #   # https://github.com/actions/python-versions/blob/main/versions-manifest.json\n          #   # PyPy versions are handled further below in the \"pypy\" step.\n          #   pys = [\"cp38\", \"cp39\", \"cp310\", \"cp311\", \"cp312\"]\n          #\n          #   # Some OS/arch combinations need overrides for the Python versions:\n          #   os_arch_pys = {\n          #     # (\"macos\", \"arm64\"): [\"cp38\", \"cp39\", \"cp310\", \"cp311\", \"cp312\"],\n          #   }\n          #\n          #   #----- ^^^ ---------------------- ^^^ -----\n          #\n          #   import json\n          #   for the_os in oss:\n          #       for the_arch in os_archs[the_os]:\n          #           for the_py in os_arch_pys.get((the_os, the_arch), pys):\n          #               them = {\n          #                   \"os\": the_os,\n          #                   \"py\": the_py,\n          #                   \"arch\": the_arch,\n          #               }\n          #               if the_os == \"macos\":\n          #                   them[\"os-version\"] = \"13\"\n          #               print(f\"- {json.dumps(them)}\")\n          # ]]]\n          - {\"os\": \"ubuntu\", \"py\": \"cp38\", \"arch\": \"x86_64\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp39\", \"arch\": \"x86_64\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp310\", \"arch\": \"x86_64\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp311\", \"arch\": \"x86_64\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp312\", \"arch\": \"x86_64\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp38\", \"arch\": \"i686\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp39\", \"arch\": \"i686\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp310\", \"arch\": \"i686\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp311\", \"arch\": \"i686\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp312\", \"arch\": \"i686\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp38\", \"arch\": \"aarch64\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp39\", \"arch\": \"aarch64\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp310\", \"arch\": \"aarch64\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp311\", \"arch\": \"aarch64\"}\n          - {\"os\": \"ubuntu\", \"py\": \"cp312\", \"arch\": \"aarch64\"}\n          - {\"os\": \"macos\", \"py\": \"cp38\", \"arch\": \"arm64\", \"os-version\": \"13\"}\n          - {\"os\": \"macos\", \"py\": \"cp39\", \"arch\": \"arm64\", \"os-version\": \"13\"}\n          - {\"os\": \"macos\", \"py\": \"cp310\", \"arch\": \"arm64\", \"os-version\": \"13\"}\n          - {\"os\": \"macos\", \"py\": \"cp311\", \"arch\": \"arm64\", \"os-version\": \"13\"}\n          - {\"os\": \"macos\", \"py\": \"cp312\", \"arch\": \"arm64\", \"os-version\": \"13\"}\n          - {\"os\": \"macos\", \"py\": \"cp38\", \"arch\": \"x86_64\", \"os-version\": \"13\"}\n          - {\"os\": \"macos\", \"py\": \"cp39\", \"arch\": \"x86_64\", \"os-version\": \"13\"}\n          - {\"os\": \"macos\", \"py\": \"cp310\", \"arch\": \"x86_64\", \"os-version\": \"13\"}\n          - {\"os\": \"macos\", \"py\": \"cp311\", \"arch\": \"x86_64\", \"os-version\": \"13\"}\n          - {\"os\": \"macos\", \"py\": \"cp312\", \"arch\": \"x86_64\", \"os-version\": \"13\"}\n          - {\"os\": \"windows\", \"py\": \"cp38\", \"arch\": \"x86\"}\n          - {\"os\": \"windows\", \"py\": \"cp39\", \"arch\": \"x86\"}\n          - {\"os\": \"windows\", \"py\": \"cp310\", \"arch\": \"x86\"}\n          - {\"os\": \"windows\", \"py\": \"cp311\", \"arch\": \"x86\"}\n          - {\"os\": \"windows\", \"py\": \"cp312\", \"arch\": \"x86\"}\n          - {\"os\": \"windows\", \"py\": \"cp38\", \"arch\": \"AMD64\"}\n          - {\"os\": \"windows\", \"py\": \"cp39\", \"arch\": \"AMD64\"}\n          - {\"os\": \"windows\", \"py\": \"cp310\", \"arch\": \"AMD64\"}\n          - {\"os\": \"windows\", \"py\": \"cp311\", \"arch\": \"AMD64\"}\n          - {\"os\": \"windows\", \"py\": \"cp312\", \"arch\": \"AMD64\"}\n        # [[[end]]] (checksum: 16ed28c185d540b2d9972a0217864472)\n      fail-fast: false\n\n    steps:\n      - name: \"Setup QEMU\"\n        if: matrix.os == 'ubuntu'\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0\n        with:\n          platforms: arm64\n\n      - name: \"Check out the repo\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: \"Install Python 3.8\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          # PYVERSIONS\n          python-version: \"3.8\"\n          cache: pip\n          cache-dependency-path: 'requirements/*.pip'\n\n      - name: \"Install tools\"\n        run: |\n          python -m pip install -r requirements/kit.pip\n\n      - name: \"Build wheels\"\n        env:\n          CIBW_BUILD: ${{ matrix.py }}-*\n          CIBW_ARCHS: ${{ matrix.arch }}\n          CIBW_ENVIRONMENT: PIP_DISABLE_PIP_VERSION_CHECK=1\n          CIBW_PRERELEASE_PYTHONS: True\n          CIBW_TEST_COMMAND: python -c \"from coverage.tracer import CTracer; print('CTracer OK!')\"\n        run: |\n          python -m cibuildwheel --output-dir wheelhouse\n\n      - name: \"List wheels\"\n        run: |\n          ls -al wheelhouse/\n\n      - name: \"Check wheels\"\n        run: |\n          python -m twine check wheelhouse/*\n\n      - name: \"Upload wheels\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: dist-${{ env.MATRIX_ID }}\n          path: wheelhouse/*.whl\n          retention-days: 7\n\n  sdist:\n    name: \"Source distribution\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Check out the repo\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: \"Install Python 3.8\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          # PYVERSIONS\n          python-version: \"3.8\"\n          cache: pip\n          cache-dependency-path: 'requirements/*.pip'\n\n      - name: \"Install tools\"\n        run: |\n          python -m pip install -r requirements/kit.pip\n\n      - name: \"Build sdist\"\n        run: |\n          python -m build\n\n      - name: \"List sdist\"\n        run: |\n          ls -al dist/\n\n      - name: \"Check sdist\"\n        run: |\n          python -m twine check dist/*\n\n      - name: \"Upload sdist\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: dist-sdist\n          path: dist/*.tar.gz\n          retention-days: 7\n\n  pypy:\n    name: \"PyPy wheel\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Check out the repo\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: \"Install PyPy\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"pypy-3.8\" # Minimum of PyPy PYVERSIONS\n          cache: pip\n          cache-dependency-path: 'requirements/*.pip'\n\n      - name: \"Install requirements\"\n        run: |\n          pypy3 -m pip install -r requirements/kit.pip\n\n      - name: \"Build wheel\"\n        env:\n          DIST_EXTRA_CONFIG: extra.cfg\n        run: |\n          # One wheel works for all PyPy versions. PYVERSIONS\n          # yes, this is weird syntax: https://github.com/pypa/build/issues/202\n          echo -e \"[bdist_wheel]\\npython_tag=pp38.pp39.pp310\" > $DIST_EXTRA_CONFIG\n          pypy3 -m build -w\n\n      - name: \"List wheels\"\n        run: |\n          ls -al dist/\n\n      - name: \"Check wheels\"\n        run: |\n          python -m twine check dist/*\n\n      - name: \"Upload wheels\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: dist-pypy\n          path: dist/*.whl\n          retention-days: 7\n\n  sign:\n    # This signs our artifacts, but we don't use the signatures for anything\n    # yet.  Someday maybe PyPI will have a way to upload and verify them.\n    name: \"Sign artifacts\"\n    needs:\n      - wheels\n      - sdist\n      - pypy\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - name: \"Download artifacts\"\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          pattern: dist-*\n          merge-multiple: true\n\n      - name: \"Sign artifacts\"\n        uses: sigstore/gh-action-sigstore-python@61f6a500bbfdd9a2a339cf033e5421951fbc1cd2 # v2.1.1\n        with:\n          inputs: coverage-*.*\n\n      - name: \"List files\"\n        run: |\n          ls -alR\n\n      - name: \"Upload signatures\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: signatures\n          path: |\n            *.crt\n            *.sig\n            *.sigstore\n          retention-days: 7\n", "state": "active", "repository": "nedbat/coveragepy"}
{"mined_at": "2024-07-15T14:47:05.308445", "created_at": "2024-06-22T13:37:31+02:00", "updated_at": "2024-06-22T16:51:22+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0\n# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt\n\nname: \"Publish\"\n\non:\n  repository_dispatch:\n    types:\n      - publish-testpypi\n      - publish-pypi\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  find-run:\n    name: \"Find latest kit.yml run\"\n    runs-on: \"ubuntu-latest\"\n    outputs:\n      run-id: ${{ steps.run-id.outputs.run-id }}\n\n    steps:\n    - name: \"Find latest kit.yml run\"\n      id: runs\n      uses: octokit/request-action@872c5c97b3c85c23516a572f02b31401ef82415d # v2.3.1\n      with:\n        route: GET /repos/nedbat/coveragepy/actions/workflows/kit.yml/runs\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: \"Record run id\"\n      id: run-id\n      run: |\n        echo \"run-id=${{ fromJson(steps.runs.outputs.data).workflow_runs[0].id }}\" >> \"$GITHUB_OUTPUT\"\n\n  publish-to-test-pypi:\n    name: \"Publish to Test PyPI\"\n    if: ${{ github.event.action == 'publish-testpypi' }}\n    permissions:\n      id-token: write # Needed for trusted publishing to PyPI.\n    runs-on: \"ubuntu-latest\"\n    environment:\n      name: \"testpypi\"\n    needs:\n      - find-run\n\n    steps:\n    - name: \"Download dists\"\n      uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      with:\n        repository: \"nedbat/coveragepy\"\n        run-id: ${{needs.find-run.outputs.run-id}}\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        pattern: \"dist-*\"\n        merge-multiple: true\n        path: \"dist/\"\n\n    - name: \"What did we get?\"\n      run: |\n        ls -alR\n        echo \"Number of dists:\"\n        ls -1 dist | wc -l\n\n    - name: \"Publish dists to Test PyPI\"\n      uses: pypa/gh-action-pypi-publish@4bb033805d9e19112d8c697528791ff53f6c2f74 # v1.9.0\n      with:\n        repository-url: https://test.pypi.org/legacy/\n\n  publish-to-pypi:\n    name: \"Publish to PyPI\"\n    if: ${{ github.event.action == 'publish-pypi' }}\n    permissions:\n      id-token: write # Needed for trusted publishing to PyPI.\n    runs-on: \"ubuntu-latest\"\n    environment:\n      name: \"pypi\"\n    needs:\n      - find-run\n\n    steps:\n    - name: \"Download dists\"\n      uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      with:\n        repository: \"nedbat/coveragepy\"\n        run-id: ${{needs.find-run.outputs.run-id}}\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        pattern: \"dist-*\"\n        merge-multiple: true\n        path: \"dist/\"\n\n    - name: \"What did we get?\"\n      run: |\n        ls -alR\n        echo \"Number of dists:\"\n        ls -1 dist | wc -l\n\n    - name: \"Publish dists to PyPI\"\n      uses: pypa/gh-action-pypi-publish@4bb033805d9e19112d8c697528791ff53f6c2f74 # v1.9.0\n", "state": "active", "repository": "nedbat/coveragepy"}
{"mined_at": "2024-07-15T14:47:06.443892", "created_at": "2022-01-17T16:36:19+01:00", "updated_at": "2024-05-01T01:31:07+02:00", "name": "Python Nightly Tests", "path": ".github/workflows/python-nightly.yml", "contents": "# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0\n# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt\n\nname: \"Python Nightly Tests\"\n\non:\n  push:\n    branches:\n      - \"**/*nightly*\"\n  schedule:\n    # Run at 2:22am early every morning Eastern time (6/7:22 UTC)\n    # so that we get tips of CPython development tested.\n    # https://crontab.guru/#22_7_%2a_%2a_%2a\n    - cron: \"22 7 * * *\"\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n  COVERAGE_IGOR_VERBOSE: 1\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  tests:\n    name: \"${{ matrix.python-version }}${{ matrix.nogil && ' nogil' || '' }} on ${{ matrix.os-short }}\"\n    runs-on: \"${{ matrix.os }}\"\n    # If it doesn't finish in an hour, it's not going to. Don't spin for six\n    # hours needlessly.\n    timeout-minutes: 60\n\n    strategy:\n      matrix:\n        os:\n          # Choose a recent Ubuntu that deadsnakes still builds all the versions for.\n          # For example, deadsnakes doesn't provide 3.10 nightly for 22.04 (jammy)\n          # because jammy ships 3.10, and deadsnakes doesn't want to clobber it.\n          # https://launchpad.net/~deadsnakes/+archive/ubuntu/nightly/+packages\n          # https://github.com/deadsnakes/issues/issues/234\n          # See https://github.com/deadsnakes/nightly for the source of the nightly\n          # builds.\n          # bionic: 18, focal: 20, jammy: 22, noble: 24\n          - \"ubuntu-22.04\"\n        os-short:\n          - \"ubuntu\"\n        python-version:\n          # When changing this list, be sure to check the [gh] list in\n          # tox.ini so that tox will run properly. PYVERSIONS\n          # Available versions:\n          # https://launchpad.net/~deadsnakes/+archive/ubuntu/nightly/+packages\n          - \"3.12-dev\"\n          - \"3.13-dev\"\n          - \"3.14-dev\"\n          # https://github.com/actions/setup-python#available-versions-of-pypy\n          - \"pypy-3.8-nightly\"\n          - \"pypy-3.9-nightly\"\n          - \"pypy-3.10-nightly\"\n        nogil:\n          - false\n          - true\n        include:\n          - python-version: \"pypy-3.10-nightly\"\n            os: \"windows-latest\"\n            os-short: \"windows\"\n        exclude:\n          - python-version: \"3.12-dev\"\n            nogil: true\n          - python-version: \"pypy-3.8-nightly\"\n            nogil: true\n          - python-version: \"pypy-3.9-nightly\"\n            nogil: true\n          - python-version: \"pypy-3.10-nightly\"\n            nogil: true\n\n      fail-fast: false\n\n    steps:\n      - name: \"Check out the repo\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: \"Install ${{ matrix.python-version }} with deadsnakes\"\n        uses: deadsnakes/action@6c8b9b82fe0b4344f4b98f2775fcc395df45e494 # v3.1.0\n        if: \"!startsWith(matrix.python-version, 'pypy-')\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n          nogil: \"${{ matrix.nogil || false }}\"\n\n      - name: \"Install ${{ matrix.python-version }} with setup-python\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        if: \"startsWith(matrix.python-version, 'pypy-')\"\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n\n      - name: \"Show diagnostic info\"\n        run: |\n          set -xe\n          python -VV\n          python -m site\n          python -c \"import sys; print('GIL:', getattr(sys, '_is_gil_enabled', lambda: True)())\"\n          python -m coverage debug sys\n          python -m coverage debug pybehave\n          env | sort\n\n      - name: \"Install dependencies\"\n        run: |\n          python -m pip install -r requirements/tox.pip\n\n      - name: \"Run tox\"\n        run: |\n          python -m tox -- -rfsEX\n", "state": "active", "repository": "nedbat/coveragepy"}
{"mined_at": "2024-07-15T14:47:07.433479", "created_at": "2020-11-29T22:15:06+01:00", "updated_at": "2021-12-28T17:05:39+01:00", "name": "Quality", "path": ".github/workflows/quality.yml", "contents": "# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0\n# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt\n\nname: \"Quality\"\n\non:\n  push:\n    branches:\n      - master\n      - nedbat/*\n  pull_request:\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  lint:\n    name: \"Pylint etc\"\n    # Because pylint can report different things on different OS's (!)\n    # (https://github.com/PyCQA/pylint/issues/3489), run this on Mac where local\n    # pylint gets run.\n    # GitHub is rolling out macos 14, but it doesn't have Python 3.8 or 3.9.\n    # https://mastodon.social/@hugovk/112320493602782374\n    runs-on: macos-13\n\n    steps:\n      - name: \"Check out the repo\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: \"Install Python\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.8\" # Minimum of PYVERSIONS\n          cache: pip\n          cache-dependency-path: 'requirements/*.pip'\n\n      - name: \"Install dependencies\"\n        run: |\n          python -m pip install -r requirements/tox.pip\n\n      - name: \"Tox lint\"\n        run: |\n          python -m tox -e lint\n\n  mypy:\n    name: \"Check types\"\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: \"Check out the repo\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: \"Install Python\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.8\" # Minimum of PYVERSIONS, but at least 3.8\n          cache: pip\n          cache-dependency-path: 'requirements/*.pip'\n\n      - name: \"Install dependencies\"\n        run: |\n          python -m pip install -r requirements/tox.pip\n\n      - name: \"Tox mypy\"\n        run: |\n          python -m tox -e mypy\n\n  doc:\n    name: \"Build docs\"\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: \"Check out the repo\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: \"Install Python\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.11\" # Doc version from PYVERSIONS\n          cache: pip\n          cache-dependency-path: 'requirements/*.pip'\n\n      - name: \"Show environment\"\n        run: |\n          set -xe\n          python -VV\n          python -m site\n          env | sort\n\n      - name: \"Install dependencies\"\n        run: |\n          set -xe\n          python -m pip install -r requirements/tox.pip\n\n      - name: \"Tox doc\"\n        run: |\n          python -m tox -e doc\n", "state": "active", "repository": "nedbat/coveragepy"}
{"mined_at": "2024-07-15T14:47:08.545940", "created_at": "2020-11-27T14:17:32+01:00", "updated_at": "2023-05-31T15:00:01+02:00", "name": "Tests", "path": ".github/workflows/testsuite.yml", "contents": "# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0\n# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt\n\nname: \"Tests\"\n\non:\n  push:\n    branches:\n      - master\n      - nedbat/*\n  pull_request:\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  PIP_DISABLE_PIP_VERSION_CHECK: 1\n  COVERAGE_IGOR_VERBOSE: 1\n  FORCE_COLOR: 1    # Get colored pytest output\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  tests:\n    name: \"${{ matrix.python-version }} on ${{ matrix.os }}\"\n    runs-on: \"${{ matrix.os }}-${{ matrix.os-version || 'latest' }}\"\n    # Don't run tests if the branch name includes \"-notests\"\n    if: \"!contains(github.ref, '-notests')\"\n    strategy:\n      matrix:\n        os:\n          - ubuntu\n          - macos\n          - windows\n        python-version:\n          # When changing this list, be sure to check the [gh] list in\n          # tox.ini so that tox will run properly. PYVERSIONS\n          # Available versions:\n          # https://github.com/actions/python-versions/blob/main/versions-manifest.json\n          # https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#available-versions-of-python-and-pypy\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          - \"3.13\"\n          - \"pypy-3.8\"\n          - \"pypy-3.9\"\n          - \"pypy-3.10\"\n        exclude:\n          # Windows pypy 3.9 and 3.10 get stuck with PyPy 7.3.15.  I hope to\n          # unstick them, but I don't want that to block all other progress, so\n          # skip them for now. These excludes can be removed once GitHub uses\n          # PyPy 7.3.16 on Windows.  https://github.com/pypy/pypy/issues/4876\n          - os: windows\n            python-version: \"pypy-3.9\"\n          - os: windows\n            python-version: \"pypy-3.10\"\n        # If we need to tweak the os version we can do it with an include like\n        # this:\n        #  include:\n        #    - python-version: \"3.8\"\n        #      os: \"macos\"\n        #      os-version: \"13\"\n\n      fail-fast: false\n\n    steps:\n      - name: \"Check out the repo\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: \"Set up Python\"\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n          allow-prereleases: true\n          # At a certain point, installing dependencies failed on pypy 3.9 and\n          # 3.10 on Windows.  Commenting out the cache here fixed it.  Someday\n          # try using the cache again.\n          #cache: pip\n          #cache-dependency-path: 'requirements/*.pip'\n\n      - name: \"Show environment\"\n        run: |\n          set -xe\n          python -VV\n          python -m site\n          # For extreme debugging:\n          # python -c \"import urllib.request as r; exec(r.urlopen('https://bit.ly/pydoctor').read())\"\n          env | sort\n\n      - name: \"Install dependencies\"\n        run: |\n          set -xe\n          python -m pip install -r requirements/tox.pip\n\n      - name: \"Run tox for ${{ matrix.python-version }}\"\n        run: |\n          python -m tox -- -rfsEX\n\n      - name: \"Retry tox for ${{ matrix.python-version }}\"\n        if: failure()\n        run: |\n          # `exit 1` makes sure that the job remains red with flaky runs\n          python -m tox -- -rfsEX --lf -vvvvv && exit 1\n\n  # This job aggregates test results. It's the required check for branch protection.\n  # https://github.com/marketplace/actions/alls-green#why\n  # https://github.com/orgs/community/discussions/33579\n  success:\n    name: Tests successful\n    # The tests didn't run if the branch name includes \"-notests\"\n    if: \"!contains(github.ref, '-notests')\"\n    needs:\n      - tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@afee1c1eac2a506084c274e9c02c8e0687b48d9e # v1.2.2\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "nedbat/coveragepy"}
{"mined_at": "2024-07-15T14:47:11.258614", "created_at": "2023-08-10T00:23:28+02:00", "updated_at": "2023-08-10T00:23:28+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tensorflow/federated"}
{"mined_at": "2024-07-15T14:47:12.690796", "created_at": "2024-06-12T23:31:50+02:00", "updated_at": "2024-06-15T01:41:53+02:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": null, "state": "active", "repository": "tensorflow/federated"}
{"mined_at": "2024-07-15T14:47:14.846127", "created_at": "2022-03-14T14:58:54+01:00", "updated_at": "2022-03-14T14:58:54+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "gpflow/gpflow"}
{"mined_at": "2024-07-15T14:47:16.991105", "created_at": "2020-10-01T10:24:09+02:00", "updated_at": "2022-01-15T17:35:29+01:00", "name": "ansible-lint", "path": ".github/workflows/ansible-lint.yml", "contents": "name: ansible-lint\non: [pull_request]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.10'\n          architecture: x64\n      - run: pip install -r <(grep ansible tests/requirements.txt) ansible-lint netaddr\n      - run: ansible-galaxy install -r requirements.yml\n      - run: ansible-lint -x 'yaml[line-length],role-name,run-once' -v --force-color ./roles/*/ ./infrastructure-playbooks/*.yml site-container.yml.sample site.yml.sample dashboard.yml\n      - run: ansible-playbook -i ./tests/functional/all_daemons/hosts site.yml.sample site-container.yml.sample dashboard.yml infrastructure-playbooks/*.yml --syntax-check --list-tasks -vv\n", "state": "active", "repository": "ceph/ceph-ansible"}
{"mined_at": "2024-07-15T14:47:18.166631", "created_at": "2020-11-19T09:14:36+01:00", "updated_at": "2020-11-19T09:14:36+01:00", "name": "check-nbsp", "path": ".github/workflows/check-nbsp.yml", "contents": "name: check-nbsp\non: [pull_request]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - run: if [[ -n $(grep --exclude-dir=.git -P \"\\xa0\" -r .) ]]; then echo 'NBSP characters found'; exit 1; fi\n", "state": "active", "repository": "ceph/ceph-ansible"}
{"mined_at": "2024-07-15T14:47:19.220365", "created_at": "2021-06-30T00:21:46+02:00", "updated_at": "2021-06-30T01:47:09+02:00", "name": "defaults", "path": ".github/workflows/defaults.yml", "contents": "name: defaults\non: [pull_request]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - run: \"${GITHUB_WORKSPACE}/tests/scripts/workflows/defaults.sh\"", "state": "active", "repository": "ceph/ceph-ansible"}
{"mined_at": "2024-07-15T14:47:20.309563", "created_at": "2020-09-07T09:58:14+02:00", "updated_at": "2020-10-01T09:58:11+02:00", "name": "flake8", "path": ".github/workflows/flake8.yml", "contents": "name: flake8\non:\n  pull_request:\n    paths:\n      - 'library/**.py'\n      - 'module_utils/**.py'\n      - 'plugins/filter/**.py'\n      - 'tests/conftest.py'\n      - 'tests/library/**.py'\n      - 'tests/module_utils/**.py'\n      - 'tests/plugins/filter/**.py'\n      - 'tests/functional/tests/**.py'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.10'\n          architecture: x64\n      - run: pip install flake8\n      - run: flake8 --max-line-length 160 ./library/ ./module_utils/ ./plugins/filter/ ./tests/library/ ./tests/module_utils/ ./tests/plugins/filter/ ./tests/conftest.py ./tests/functional/tests/\n", "state": "active", "repository": "ceph/ceph-ansible"}
{"mined_at": "2024-07-15T14:47:21.389021", "created_at": "2020-10-23T16:46:31+02:00", "updated_at": "2020-10-23T16:46:31+02:00", "name": "pytest", "path": ".github/workflows/pytest.yml", "contents": "name: pytest\non:\n  pull_request:\n    paths:\n      - 'library/**.py'\n      - 'module_utils/**.py'\n      - 'plugins/filter/**.py'\n      - 'tests/library/**.py'\n      - 'tests/module_utils/**.py'\n      - 'tests/plugins/filter/**.py'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: '3.10'\n    name: Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - run: pip install -r tests/requirements.txt\n      - run: pytest --cov=library/ --cov=module_utils/ --cov=plugins/filter/ -vvvv tests/library/ tests/module_utils/ tests/plugins/filter/\n        env:\n          PYTHONPATH: \"$PYTHONPATH:/home/runner/work/ceph-ansible/ceph-ansible/library:/home/runner/work/ceph-ansible/ceph-ansible/module_utils:/home/runner/work/ceph-ansible/ceph-ansible/plugins/filter:/home/runner/work/ceph-ansible/ceph-ansible\"\n", "state": "active", "repository": "ceph/ceph-ansible"}
{"mined_at": "2024-07-15T14:47:22.622578", "created_at": "2021-06-30T00:25:56+02:00", "updated_at": "2021-06-30T01:47:09+02:00", "name": "signed-off", "path": ".github/workflows/signed-off.yml", "contents": "name: signed-off\non: [pull_request]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - run: \"${GITHUB_WORKSPACE}/tests/scripts/workflows/signed-off.sh\"", "state": "active", "repository": "ceph/ceph-ansible"}
{"mined_at": "2024-07-15T14:47:23.694165", "created_at": "2021-03-22T09:38:15+01:00", "updated_at": "2021-03-22T09:38:15+01:00", "name": "Mark or close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "\nname: \"Mark or close stale issues and PRs\"\non:\n  schedule:\n  # Run the stalebot every day at 8pm UTC\n  - cron: \"00 20 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        days-before-stale: 15\n        days-before-close: 7\n        days-before-pr-close: 14\n        stale-issue-message: >\n          This issue has been automatically marked as stale because it has not had recent activity.\n          It will be closed in a week if no further activity occurs.\n          Thank you for your contributions.\n        stale-pr-message: >\n          This pull request has been automatically marked as stale because it has not had\n          recent activity. It will be closed in two weeks if no further activity occurs.\n          Thank you for your contributions.\n        close-issue-message: >\n          This issue has been automatically closed due to inactivity.\n          Please re-open if this still requires investigation.\n        close-pr-message: >\n          This pull request has been automatically closed due to inactivity.\n          Please re-open if these changes are still required.\n        stale-pr-label: \"stale\"\n        stale-issue-label: \"wontfix\"\n        exempt-issue-labels: \"do-not-close\"\n        exempt-pr-labels: \"do-not-close\"", "state": "active", "repository": "ceph/ceph-ansible"}
{"mined_at": "2024-07-15T14:47:25.796076", "created_at": "2023-10-06T16:15:35+02:00", "updated_at": "2023-10-06T16:15:35+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "---\nname: Codespell\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\npermissions:\n  contents: read\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "mic-dkfz/nnunet"}
{"mined_at": "2024-07-15T14:47:27.844475", "created_at": "2020-07-01T19:34:45+02:00", "updated_at": "2020-07-01T21:18:15+02:00", "name": "Formatting with black & isort", "path": ".github/workflows/check-formatting.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Formatting with black & isort\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        python setup.py install_egg_info # Workaround https://github.com/pypa/pip/issues/4537\n        pip install -e .[dev]\n        pip install black flake8 isort --upgrade # Testing packages\n    - name: Check code format with black and isort\n      run: |\n        make lint\n", "state": "active", "repository": "qdata/textattack"}
{"mined_at": "2024-07-15T14:47:29.048081", "created_at": "2020-12-28T22:53:19+01:00", "updated_at": "2020-12-28T22:53:19+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master, master* ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '24 1 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "qdata/textattack"}
{"mined_at": "2024-07-15T14:47:30.139032", "created_at": "2020-07-01T19:34:45+02:00", "updated_at": "2020-12-10T16:47:16+01:00", "name": "Build documentation with Sphinx", "path": ".github/workflows/make-docs.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Build documentation with Sphinx\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo sed -i 's/azure\\.//' /etc/apt/sources.list # workaround for flaky pandoc install\n        sudo apt-get update # from here https://github.com/actions/virtual-environments/issues/675\n        sudo apt-get install pandoc -o Acquire::Retries=3 # install pandoc\n        python -m pip install --upgrade pip setuptools wheel # update python\n        pip install ipython --upgrade # needed for Github for whatever reason\n        python setup.py install_egg_info # Workaround https://github.com/pypa/pip/issues/4537\n        pip install -e .[dev]\n        pip install jupyter 'ipykernel<5.0.0' 'ipython<7.0.0' # ipykernel workaround: github.com/jupyter/notebook/issues/4050\n    - name: Build docs with Sphinx and check for errors\n      run: |\n        sphinx-build -b html docs docs/_build/html\n", "state": "active", "repository": "qdata/textattack"}
{"mined_at": "2024-07-15T14:47:31.141049", "created_at": "2020-07-02T19:02:25+02:00", "updated_at": "2020-07-02T19:02:25+02:00", "name": "Upload Python Package to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "qdata/textattack"}
{"mined_at": "2024-07-15T14:47:32.239497", "created_at": "2020-07-01T19:34:46+02:00", "updated_at": "2021-10-30T21:07:11+02:00", "name": "Test with PyTest", "path": ".github/workflows/run-pytest.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test with PyTest\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        pip install pytest pytest-xdist # Testing packages\n        pip uninstall textattack --yes # Remove TA if it's already installed \n        python setup.py install_egg_info # Workaround https://github.com/pypa/pip/issues/4537\n        pip install -e .[dev]\n        pip freeze\n    - name: Free disk space\n      run: |\n        sudo apt-get remove mysql-client libmysqlclient-dev -y >/dev/null 2>&1\n        sudo apt-get remove php* -y >/dev/null 2>&1\n        sudo apt-get autoremove -y >/dev/null 2>&1\n        sudo apt-get autoclean -y >/dev/null 2>&1\n        sudo rm -rf /usr/local/lib/android >/dev/null 2>&1\n        docker rmi $(docker image ls -aq) >/dev/null 2>&1\n        df -h\n    - name: Increase swap space\n      run: |\n        swapon --show\n        export SWAP_FILE=$(swapon --show=NAME | tail -n 1)\n        sudo swapoff $SWAP_FILE\n        sudo dd if=/dev/zero of=$SWAP_FILE bs=1M count=8k oflag=append conv=notrunc # Increase by 8GB\n        sudo chmod 0600 $SWAP_FILE\n        sudo mkswap $SWAP_FILE\n        sudo swapon $SWAP_FILE\n        swapon --show\n    - name: Test with pytest\n      run: |\n        echo \"skipping tests!\"\n        # pytest tests -v\n        \n", "state": "active", "repository": "qdata/textattack"}
{"mined_at": "2024-07-15T14:47:34.501796", "created_at": "2021-06-28T19:24:39+02:00", "updated_at": "2022-05-10T09:44:48+02:00", "name": "checker-config-coverage", "path": ".github/workflows/config_coverage.yml", "contents": "name: checker-config-coverage\n\non:\n  push:\n    paths:\n      - '.github/workflows/config_coverage.yml'\n      - '.github/workflows/config_label_check.py'\n      - 'config/labels/analyzers/clang-tidy.json'\n      - 'config/labels/analyzers/clangsa.json'\n      - 'config/labels/analyzers/cppcheck.json'\n  pull_request:\n    paths:\n      - '.github/workflows/config_coverage.yml'\n      - '.github/workflows/config_label_check.py'\n      - 'config/labels/analyzers/clang-tidy.json'\n      - 'config/labels/analyzers/clangsa.json'\n      - 'config/labels/analyzers/cppcheck.json'\n  schedule:\n    # Run every Sunday at 21:30 (to latest master at that time).\n    - cron: '30 21 * * SUN'\n  # Allow running this job manually from either API or GitHub UI.\n  workflow_dispatch:\n\npermissions: read-all\n\njobs:\n  checker-config-coverage:\n    name: \"Config coverage of checkers\"\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: \"Install dependencies\"\n        run: |\n          # Some packages, e.g. build-essential and curl are available\n          # implicitly in GitHub Actions-specific images.\n          sudo apt-get -qy update\n          sudo apt-get -y --no-install-recommends install \\\n            gcc-multilib    \\\n            python3-dev     \\\n            python3-venv\n      # Unfortunately, there is no \"daily\" Cppcheck PPA or Linux binary source,\n      # so we have to build this manually. Luckily, it seems to be a trivial\n      # enough process.\n      #\n      # We do this BEFORE grabbing Clang, so a potentially broken Clang binary\n      # won't miscompile Cppcheck itself.\n      - name: \"Download Cppcheck source code\"\n        uses: actions/checkout@v3\n        with:\n          repository: \"danmar/cppcheck\"\n          path: \"cppcheck\"\n      - name: \"Build Cppcheck\"\n        run: |\n          set +e # Do not hard exit on an erroring call!\n          pushd cppcheck\n\n          # Note: Cppcheck's compilation would require CMake, but a new enough\n          # version is automatically present in the GitHub Actions-specific\n          # image.\n\n          echo \"::group::Building Cppcheck\"\n          mkdir Build\n          pushd Build\n\n          cmake .. -DCMAKE_BUILD_TYPE=Release\n          cmake --build . -- -j $(nproc)\n\n          if [[ $? -eq 0 ]]\n          then\n            export CPPCHECK_BUILD_SUCCESSFUL=YES\n          fi\n\n          popd # Build\n\n          if [[ x\"$CPPCHECK_BUILD_SUCCESSFUL\"y == \"xYESy\" ]]\n          then\n            sudo update-alternatives --install \\\n              /usr/bin/cppcheck cppcheck \"$(pwd)/Build/bin/cppcheck\" 10000\n            echo \"::endgroup::\"\n\n            echo \"Installed Cppcheck:\"\n            update-alternatives --query cppcheck\n          else\n            echo \"::endgroup::\"\n            echo \"::notice title=Cppcheck failed to build locally::Coverage will check using Ubuntu official Cppcheck release instead.\"\n\n            sudo apt-get install -y --no-install-recommends \\\n              cppcheck\n          fi\n\n          popd # cppcheck\n      - name: \"Get latest LLVM binary package from the community PPA\"\n        run: |\n          export DISTRO_FANCYNAME=\"$(lsb_release -c | awk '{ print $2 }')\"\n\n          echo \"::group::Setup LLVM PPA\"\n          curl -sL http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -\n          sudo add-apt-repository -y \"deb http://apt.llvm.org/$DISTRO_FANCYNAME/ llvm-toolchain-$DISTRO_FANCYNAME main\"\n          echo \"::endgroup::\"\n\n          # Get the largest Clang package number available.\n          export LLVM_VER=\"$(apt-cache search --full 'clang-[[:digit:]]*$' | grep '^Package: clang' | cut -d ' ' -f 2 | sort -V | tail -n 1 | sed 's/clang-//')\"\n          echo \"::group::Install Clang and Clang-Tidy version ${LLVM_VER}\"\n          sudo apt-get -y --no-install-recommends install \\\n            clang-$LLVM_VER \\\n            clang-tidy-$LLVM_VER\n          sudo update-alternatives --install \\\n            /usr/bin/clang clang /usr/bin/clang-$LLVM_VER 10000\n          sudo update-alternatives --install \\\n            /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-$LLVM_VER 10000\n          echo \"::endgroup::\"\n\n          echo \"Installed Clang:\"\n          update-alternatives --query clang\n          update-alternatives --query clang-tidy\n      - name: \"Package CodeChecker\"\n        id: codechecker\n        run: |\n          pushd analyzer\n\n          echo \"::group::venv\"\n          make venv\n          source venv/bin/activate\n          echo \"::endgroup::\"\n\n          echo \"::group::CodeChecker package\"\n          make standalone_package\n          deactivate\n          echo \"::endgroup::\"\n\n          echo \"CODECHECKER_PATH=$(readlink -f ./build/CodeChecker/bin)\" >> \"$GITHUB_OUTPUT\"\n          popd # analyzer\n      - name: \"Dump checker list\"\n        run: |\n          export PATH=\"${{ steps.codechecker.outputs.CODECHECKER_PATH }}:$PATH\"\n          CodeChecker analyzers --details\n          CodeChecker checkers \\\n            --analyzer clangsa clang-tidy cppcheck \\\n            --output rows \\\n              > checker_list_normal.txt\n          CodeChecker checkers \\\n            --analyzer clangsa clang-tidy cppcheck \\\n            --warnings \\\n            --output rows \\\n              > checker_list_diagnostics.txt\n      - name: \"Perform checker config coverage check (--warnings)\"\n        continue-on-error: true\n        run: |\n          set +e # Do not hard exit on an erroring call!\n          .github/workflows/config_label_check.py \\\n            \"checker_list_diagnostics.txt\" \\\n            \"config/labels/analyzers/clangsa.json\" \\\n            \"config/labels/analyzers/clang-tidy.json\" \\\n            \"config/labels/analyzers/cppcheck.json\" \\\n            --existing-filter \"clang-diagnostic-\" \\\n            --new-filter \"clang-diagnostic-\"\n          EXIT_STATUS=$?\n          echo \"Coverage check returned: $EXIT_STATUS.\"\n          # Explicitly check if the bit for \"8\" is set in the result,\n          # indicating new checkers without severity set.\n          if [[ $(($EXIT_STATUS & 8)) -eq 8 ]]\n          then\n            echo \"::warning title=New unconfigured diagnostics::The checker label config files lack some new diagnostic report (\\\"warning\\\") kinds.\"\n            exit 0\n          elif [[ $EXIT_STATUS -eq 1 || $EXIT_STATUS -eq 2 ]]\n          then\n            # Script execution error.\n            exit $EXIT_STATUS\n          else\n            # We do not wish to fail if only removed checkers are reported.\n            exit 0\n          fi\n      - name: \"Perform checker config coverage check\"\n        run: |\n          set +e # Do not hard exit on an erroring call!\n          .github/workflows/config_label_check.py \\\n            \"checker_list_normal.txt\" \\\n            \"config/labels/analyzers/clangsa.json\" \\\n            \"config/labels/analyzers/clang-tidy.json\" \\\n            \"config/labels/analyzers/cppcheck.json\" \\\n            --existing-ignore \"clang-diagnostic-\" \\\n            --new-ignore \\\n              \"clang-diagnostic-\" \\\n              \"alpha.\" \\\n              \"apiModeling.\" \\\n              \"debug.\" \\\n              \"optin.osx.\" \\\n              \"osx.\" \\\n              \"darwin-\" \\\n              \"objc-\"\n          EXIT_STATUS=$?\n          echo \"Coverage check returned: $EXIT_STATUS.\"\n          # Explicitly check if the bit for \"8\" is set in the result,\n          # indicating new checkers without severity set.\n          if [[ $(($EXIT_STATUS & 8)) -eq 8 ]]\n          then\n            exit 8\n          elif [[ $EXIT_STATUS -eq 1 || $EXIT_STATUS -eq 2 ]]\n          then\n            # Script execution error.\n            exit $EXIT_STATUS\n          else\n            # We do not wish to fail if only removed checkers are reported.\n            exit 0\n          fi\n", "state": "active", "repository": "ericsson/codechecker"}
{"mined_at": "2024-07-15T14:47:35.630142", "created_at": "2021-01-28T17:01:37+01:00", "updated_at": "2021-01-28T17:01:37+01:00", "name": "codechecker-docker", "path": ".github/workflows/docker.yml", "contents": "name: codechecker-docker\n\n# Triggers the workflow when a new release is published.\non:\n  release:\n    types: [published]\n\npermissions: read-all\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Get the version\n        id: get_version\n        run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}\n\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          push: true\n          context: ./web/docker/\n          file: ./web/docker/Dockerfile\n          tags: |\n            codechecker/codechecker-web:latest\n            codechecker/codechecker-web:${{ steps.get_version.outputs.VERSION }}\n          build-args: |\n            CC_VERSION=v${{ steps.get_version.outputs.VERSION }}\n", "state": "active", "repository": "ericsson/codechecker"}
{"mined_at": "2024-07-15T14:47:36.962594", "created_at": "2021-03-30T16:50:16+02:00", "updated_at": "2021-05-17T11:19:00+02:00", "name": "codechecker-pypi-package", "path": ".github/workflows/pypi.yml", "contents": "name: codechecker-pypi-package\n\n# Triggers the workflow on 'release' request events.\n# The pypi package will be published only on the release event.\non:\n  release:\n    types: [published]\n\npermissions: read-all\n\njobs:\n  build:\n    name: Build pypi package\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - uses: actions/setup-node@v1\n        with:\n          node-version: '16.x'\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update -q\n          sudo apt-get install g++ gcc-multilib\n\n      - name: Get tag version\n        if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags')\n        id: get_version\n        run: |\n          echo ::set-output name=VERSION::$(echo ${GITHUB_REF#refs/tags/v} | sed 's/-//')\n\n      # Set package version information in the 'setup.py' file based on the\n      # released git tag information.\n      - name: Set version in the setup.py file\n        if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags')\n        run: |\n          sed -i \"s/version=\\\".*\\\"/version=\\\"${{ steps.get_version.outputs.VERSION }}\\\"/\" setup.py\n\n      - name: Create the pypi package\n        run: |\n          make dist\n\n      - uses: actions/upload-artifact@master\n        with:\n          name: pypi-package\n          path: |\n            dist\n            tests/functional/binary_package/\n\n  test:\n    name: Install and test pypi package\n    runs-on: ${{ matrix.os }}\n    needs: build\n\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, macos-latest, windows-2019]\n\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - uses: actions/download-artifact@master\n        with:\n          name: pypi-package\n          path: ./\n\n      - name: \"Install run-time dependencies (Linux)\"\n        if: ${{ matrix.os == 'ubuntu-20.04' }}\n        run:\n          sudo apt-get update && sudo apt-get install g++-13 clang clang-tidy cppcheck\n\n      - name: \"Install run-time dependencies (OSX)\"\n        if: ${{ matrix.os == 'macos-10.15' }}\n        run:\n          brew install llvm cppcheck g++-13\n\n      - name: \"Install run-time dependencies (Windows)\"\n        if: ${{ matrix.os == 'windows-2019' }}\n        shell: powershell\n        run: |\n          choco install llvm;\n          choco install --ignore-package-exit-codes cppcheck;\n          echo \"C:\\Program Files\\LLVM\\bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append\n\n      - name: \"Install pypi package\"\n        shell: bash\n        run: |\n          pip install wheel pytest\n          pip install dist/codechecker-*.tar.gz\n\n      - name: \"Test CodeChecker commands\"\n        run: |\n          pytest tests/functional/binary_package/\n\n  # FIXME: This was disabled because it was not working. We have to make sure\n  # that the token is appropriate. This automatic publishing is also dangerous,\n  # because there is no way to recover a broken release if PyPI is tainted\n  # (the filename will be forever locked and reserved even if we nuke a release)\n  #\n  # To test PyPI functionality, test.pypi.org should be used instead. That\n  # could be done with **every** commit (or at least every PR pulled to master).\n  # With a random enough release name (e.g., \"git describe\" with the commit\n  # hash suffix) we could deploy to test.pypi.org every time.\n  #\n  # Real finalised releases should undergo manual testing first, and if\n  # everything is in order, the deployment job to live PyPI should be manually\n  # triggered.\n\n  # Publish pypi package when a new CodeChecker version is released.\n  # publish:\n  #   name: Publish pypi package\n  #   if: github.event_name == 'release'\n  #   runs-on: ubuntu-20.04\n  #   needs: test\n  #   steps:\n  #     - uses: actions/download-artifact@master\n  #       with:\n  #         name: pypi-package\n  #         path: ./\n  #\n  #     - name: Publish to PyPI\n  #       uses: pypa/gh-action-pypi-publish@release/v1\n  #       with:\n  #         user: __token__\n  #         password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "ericsson/codechecker"}
{"mined_at": "2024-07-15T14:47:38.188204", "created_at": "2021-11-12T10:15:30+01:00", "updated_at": "2021-11-12T10:15:30+01:00", "name": "codechecker-snap-package", "path": ".github/workflows/snap.yml", "contents": "name: codechecker-snap-package\n\n# Triggers the workflow when a new release is published.\non:\n  release:\n    types: [published]\n\npermissions: read-all\n\njobs:\n  build:\n    name: Build snap package\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: snapcore/action-build@v1\n        id: build\n      - uses: snapcore/action-publish@v1\n        env:\n          SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_TOKEN }}\n        with:\n          snap: ${{ steps.build.outputs.snap }}\n          release: stable\n", "state": "active", "repository": "ericsson/codechecker"}
{"mined_at": "2024-07-15T14:47:39.232376", "created_at": "2020-11-30T15:59:45+01:00", "updated_at": "2023-11-23T17:08:35+01:00", "name": "codechecker-tests", "path": ".github/workflows/test.yml", "contents": "name: codechecker-tests\n\n# Triggers the workflow on push or pull request events.\non: [push, pull_request]\n\npermissions: read-all\n\njobs:\n  # Note: UI related linter tests will run in the gui job.\n  lint:\n    name: Linters (pylint, pycodestyle)\n\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Install dependencies\n        run: |\n          pip install $(grep -iE \"pylint|pycodestyle\" analyzer/requirements_py/dev/requirements.txt)\n      - name: Run tests\n        run: make pylint pycodestyle\n\n  tools:\n    name: Tools (report-converter, etc.)\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Setup Bazel\n        uses: abhinavsingh/setup-bazel@v3\n        with:\n          version: 4.0.0\n      - name: Install common dependencies\n        run: |\n          sudo apt-get update -q\n          sudo apt-get install gcc-multilib\n\n      - name: Run build-logger tests\n        working-directory: analyzer/tools/build-logger\n        run: |\n          pip install -r requirements_py/dev/requirements.txt\n          make all\n          make test\n\n      - name: Run merge-clang-extdef-mappings tests\n        working-directory: analyzer/tools/merge_clang_extdef_mappings\n        run: |\n          pip install -r requirements_py/dev/requirements.txt\n          make test\n\n      - name: Run statistics-collector tests\n        working-directory: analyzer/tools/statistics_collector\n        run: |\n          pip install -r requirements_py/dev/requirements.txt\n          make test\n\n      - name: Run report-converter tests\n        working-directory: tools/report-converter\n        run: |\n          pip install -r requirements_py/dev/requirements.txt\n          make package\n          make test\n\n      - name: Run tu-collector tests\n        working-directory: tools/tu_collector\n        run: |\n          pip install -r requirements_py/dev/requirements.txt\n          make test\n\n      - name: Run bazel-compile-commands tests\n        working-directory: tools/bazel\n        run: |\n          pip install -r requirements_py/dev/requirements.txt\n          make test\n\n  analyzer:\n    name: Analyzer\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - name: Install dependencies\n        run: sh .github/workflows/install-deps.sh\n\n      - name: Build the package\n        run: |\n          make pip_dev_deps\n          BUILD_UI_DIST=NO make package\n\n      - name: Run analyzer tests\n        working-directory: analyzer\n        run: make test_unit test_functional\n\n      - name: Analyzer unit tests coverage\n        working-directory: analyzer\n        run: make test_unit_cov\n\n  common:\n    name: Common libraries\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - name: Install requirements\n        working-directory: codechecker_common\n        run: |\n          pip install -r requirements_py/dev/requirements.txt\n\n      - name: Run mypy tests\n        working-directory: codechecker_common/tests\n        run: make mypy\n\n  web:\n    name: Web\n    runs-on: ubuntu-20.04\n\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: postgres\n        ports:\n          - 5432:5432\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    strategy:\n      matrix:\n        database: [sqlite, psql_pg8000, psql_psycopg2]\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - name: Install dependencies\n        run: sh .github/workflows/install-deps.sh\n\n      - name: Init .pgpass\n        if: matrix.database != 'sqlite'\n        run: |\n          echo '*:*:*:*:postgres' > $HOME/.pgpass\n          chmod 0600 $HOME/.pgpass\n\n      - name: Run tests\n        env:\n          PGPASSWORD: postgres\n        run: |\n          if [[ \"${{ matrix.database != 'sqlite' }}\" == \"true\" ]]\n          then\n            export PGPASSFILE=$HOME/.pgpass\n          fi\n\n          make pip_dev_deps\n          pip3 install -r web/requirements_py/auth/requirements.txt\n          BUILD_UI_DIST=NO make package\n\n          make -C web test_matrix_${{ matrix.database }}\n\n      - name: Run unit tests coverage\n        working-directory: web\n        run: make test_unit_cov\n\n  gui:\n    name: GUI\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        # FIXME: in Chrome the UI test cases run non-deterministically and\n        # sometimes fail. For this reason we will not run GUI test cases\n        # in Chrome.\n        browser: [firefox]\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - uses: actions/setup-node@v1\n        with:\n          node-version: '16.x'\n\n      # - name: Update chrome\n      #   run: |\n      #     sudo apt-get update -q\n      #     sudo apt-get install google-chrome-stable\n\n      - name: Install dependencies\n        run: sh .github/workflows/install-deps.sh\n\n      - name: Build the package\n        run: |\n          make pip_dev_deps\n          make package\n\n      - name: Run tests\n        working-directory: web/server/vue-cli\n        env:\n          # CHROME_HEADLESS: 1\n          MOZ_HEADLESS: 1\n          DISPLAY: \":99.0\"\n        run: |\n          export PATH=\"${{ github.workspace }}/build/CodeChecker/bin:$PATH\"\n\n          npm run test:lint\n          npm run test:unit\n          npm run test:e2e.${{ matrix.browser }}\n", "state": "active", "repository": "ericsson/codechecker"}
{"mined_at": "2024-07-15T14:47:40.269554", "created_at": "2024-01-19T23:46:02+01:00", "updated_at": "2024-01-19T23:46:02+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "ericsson/codechecker"}
{"mined_at": "2024-07-15T14:47:42.529843", "created_at": "2023-07-18T18:04:53+02:00", "updated_at": "2023-07-18T18:04:53+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  push:\n    branches:\n      - 'master'\n      - '*.x'\n      - 'a11y'\n      - '!1.*'\n      - '!2.*'\n      - '!3.0.*'\n      - '!3.1.*'\n  pull_request:\n      branches:\n        - 'master'\n        - 'a11y'\n        - '*.x'\n        - '!1.*'\n        - '!2.*'\n        - '!3.0.*'\n        - '!3.1.*'\n      types:\n        - opened\n        - reopened\n        - synchronize\n        - labeled\n\nenv:\n  TZ: Europe/Zurich\n\njobs:\n  build:\n    name: Build package 📦\n    runs-on: ubuntu-22.04\n    if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'build-wheel')\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # prefer head commit over merge commit in case of PRs\n          ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || '' }}\n      - uses: actions/setup-python@v5\n        name: Set up Python 🐍\n        with:\n          python-version: '3.12'\n      - uses: actions/setup-node@v4\n        name: Setup Node\n        with:\n          node-version: 18.x\n      - name: Install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n      - name: Get uv cache dir\n        id: uv-cache\n        run: echo \"dir=$(uv cache dir)\" >> $GITHUB_OUTPUT\n      - name: Cache uv\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.uv-cache.outputs.dir }}\n          key: uv|${{ runner.os }}|3.12|${{ hashFiles('requirements*.txt') }}\n      - name: Install build deps 🔧\n        run: |\n          sudo apt-get install libpq-dev\n          uv pip install --system -U setuptools wheel\n          uv pip install --system -e '.[dev]'\n      - name: Install npm deps ☕\n        run: npm ci\n      - name: Build wheel 🏗\n        run: ./bin/maintenance/build-wheel.py indico --add-version-suffix\n      - uses: actions/upload-artifact@v4\n        name: Upload build artifacts 📦\n        with:\n          name: indico-wheel\n          retention-days: 7\n          path: ./dist\n", "state": "active", "repository": "indico/indico"}
{"mined_at": "2024-07-15T14:47:43.717938", "created_at": "2020-03-27T11:25:34+01:00", "updated_at": "2023-09-06T16:43:26+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\nenv:\n  TZ: Europe/Zurich\n  PYTHON_VERSION_312: '3.12.3'\n\non:\n  push:\n    branches:\n      - master\n      - '*.x'\n      - a11y\n  pull_request:\n    branches:\n      - master\n      - '*.x'\n      - a11y\n\njobs:\n  setup:\n    name: setup-${{ matrix.name }}\n    runs-on: ubuntu-22.04\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - { name: '3.12', python: '3.12', python_version_var: 'PYTHON_VERSION_312' }\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/cache@v4\n        id: cache-npm\n        with:\n          path: node_modules\n          key: ${{ runner.os }}-npm-${{ hashFiles('package*.json') }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env[matrix.python_version_var] }}\n\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        if: steps.cache-npm.outputs.cache-hit != 'true'\n        with:\n          node-version: 18.x\n\n      - name: Install system dependencies\n        run: sudo apt-get install libpq-dev\n\n      - name: Install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n\n      - name: Create virtualenv\n        run: |\n          uv venv --python ${{ matrix.python }} --seed .venv\n          source .venv/bin/activate\n\n      - name: Activate virtualenv for later steps\n        run: |\n          echo \"VIRTUAL_ENV=$(pwd)/.venv\" >> $GITHUB_ENV\n          echo \"$(pwd)/.venv/bin\" >> $GITHUB_PATH\n\n      - name: Get uv cache dir\n        id: uv-cache\n        run: echo \"dir=$(uv cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: Cache uv\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.uv-cache.outputs.dir }}\n          key: uv|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('requirements*.txt') }}\n\n      - name: Install python dependencies\n        run: |\n          uv pip install -r requirements.dev.txt\n          uv pip install -r requirements.txt\n\n      - name: Install node dependencies\n        if: steps.cache-npm.outputs.cache-hit != 'true'\n        run: npm ci\n\n      - name: Archive environment\n        run: tar cf /tmp/env.tar .venv node_modules\n\n      - name: Upload environment\n        uses: actions/upload-artifact@v4\n        with:\n          name: environment-${{ matrix.name }}\n          retention-days: 1\n          path: /tmp/env.tar\n\n\n  lint:\n    needs: setup\n    runs-on: ubuntu-22.04\n    steps:\n      # BEGIN common steps - edit all occurrences if needed!\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION_312 }}\n\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 18.x\n\n      - name: Install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n\n      - name: Download environment\n        uses: actions/download-artifact@v4\n        with:\n          name: environment-3.12\n          path: /tmp\n\n      - name: Restore environment\n        run: tar xf /tmp/env.tar\n\n      - name: Activate virtualenv for later steps\n        run: |\n          echo \"VIRTUAL_ENV=$(pwd)/.venv\" >> $GITHUB_ENV\n          echo \"$(pwd)/.venv/bin\" >> $GITHUB_PATH\n\n      - name: Install Indico\n        run: uv pip install -e .\n      # END common steps\n\n      - name: Check import sorting\n        run: isort --diff --check-only indico/\n\n      - name: Check backref comments\n        if: success() || failure()\n        run: python bin/maintenance/update_backrefs.py --ci\n\n      - name: Check icomoon css\n        if: success() || failure()\n        run: python bin/maintenance/generate_icons.py --ci\n\n      - name: Check moment locales\n        if: success() || failure()\n        run: python bin/maintenance/update_moment_locales.py --ci\n\n      - name: Check headers\n        if: success() || failure()\n        run: |\n          echo \"::add-matcher::.github/matchers/headers-problem-matcher.json\"\n          unbehead --check\n          echo \"::remove-matcher owner=headers::\"\n\n      - name: Run ruff\n        if: success() || failure()\n        run: |\n          ruff check --output-format github .\n\n      - name: Run flake8\n        if: success() || failure()\n        run: |\n          echo \"::add-matcher::.github/matchers/flake8-problem-matcher.json\"\n          flake8 --format '%(path)s:%(row)d:%(col)d: %(code)s %(text)s'\n          echo \"::remove-matcher owner=flake8::\"\n\n      - name: Run pyquotes\n        if: success() || failure()\n        run: pyquotes --check .\n\n      - name: Try extracting i18n strings (Python)\n        if: success() || failure()\n        run: indico i18n extract indico --python\n\n      - name: Try extracting i18n strings (JS)\n        if: success() || failure()\n        run: |\n          echo \"::add-matcher::.github/matchers/react-jsx-i18n-problem-matcher.json\"\n          FORCE_COLOR=1 indico i18n extract indico --react\n          echo \"::remove-matcher owner=react-jsx-i18n::\"\n\n      - name: Check i18n format strings\n        if: success() || failure()\n        run: indico i18n check-format-strings\n\n      - name: Check i18n HTML tags\n        if: success() || failure()\n        run: indico i18n check-html-tags\n\n      - name: Run eslint\n        if: success() || failure()\n        run: npx eslint --ext .js --ext .jsx\n             indico/modules/rb/\n             indico/modules/logs/\n             indico/modules/events/editing/\n             indico/modules/events/client/js/reviewing/\n             indico/modules/events/papers/client/js/\n             indico/modules/events/registration/client/js/\n             indico/web/client/js/react/\n             indico/modules/users/\n             indico/modules/search/\n             indico/modules/receipts/\n\n      - name: Run stylelint for all files\n        if: github.event_name == 'push' && (success() || failure())\n        run: |\n          echo \"::add-matcher::.github/matchers/stylelint-problem-matcher.json\"\n          npx stylelint --formatter unix 'indico/**/*.{scss,css}'\n          echo \"::remove-matcher owner=stylelint::\"\n\n      # GitHub shows annotations for files not touched in the PR, which is very noisy in case\n      # of stylelint warnings, so we only run it for changed files when running on PRs\n      # https://github.com/actions/toolkit/issues/457\n      - name: Get list of changed files\n        if: github.event_name == 'pull_request' && (success() || failure())\n        uses: umani/changed-files@v4.2.0\n        with:\n          repo-token: ${{ github.token }}\n          result-encoding: json\n          pattern: '^.+\\.s?css$'\n\n      - name: Run stylelint for changed files\n        if: github.event_name == 'pull_request' && (success() || failure())\n        run: |\n          echo \"::add-matcher::.github/matchers/stylelint-problem-matcher.json\"\n          jq -rs '(.[0] + .[1]) | unique | .[]' ~/files_{created,updated}.json | tr '\\n' '\\0' | xargs -0 -r \\\n            npx stylelint --formatter unix\n          echo \"::remove-matcher owner=stylelint::\"\n\n\n  test-python:\n    name: test-python-${{ matrix.name }}\n    needs: setup\n    runs-on: ubuntu-22.04\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - { name: '3.12', python: '3.12', python_version_var: 'PYTHON_VERSION_312' }\n\n    services:\n      postgres:\n        image: postgres:13\n        env:\n          POSTGRES_HOST_AUTH_METHOD: trust\n        ports:\n          - 5432\n        options: --health-cmd pg_isready --health-interval 5s --health-timeout 5s --health-retries 10\n\n    steps:\n      # BEGIN common steps - edit all occurrences if needed!\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env[matrix.python_version_var] }}\n\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 18.x\n\n      - name: Install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n\n      - name: Download environment\n        uses: actions/download-artifact@v4\n        with:\n          name: environment-${{ matrix.name }}\n          path: /tmp\n\n      - name: Restore environment\n        run: tar xf /tmp/env.tar\n\n      - name: Activate virtualenv for later steps\n        run: |\n          echo \"VIRTUAL_ENV=$(pwd)/.venv\" >> $GITHUB_ENV\n          echo \"$(pwd)/.venv/bin\" >> $GITHUB_PATH\n\n      - name: Install Indico\n        run: uv pip install -e .\n      # END common steps\n\n      - name: Install redis\n        run: sudo apt-get install redis-server\n\n      - name: Setup database\n        run: |\n          sudo apt-get update\n          sudo apt-get install postgresql-client libpq-dev\n          export PGHOST=localhost\n          export PGPORT=${{ job.services.postgres.ports[5432] }}\n          export PGUSER=postgres\n          createuser indicotest\n          createdb -O indicotest indicotest\n          psql indicotest -c 'CREATE EXTENSION unaccent;'\n          psql indicotest -c 'CREATE EXTENSION pg_trgm;'\n\n      - name: Run pytest tests\n        run: |\n          export INDICO_TEST_DATABASE_URI=\"postgresql://indicotest@localhost:${{ job.services.postgres.ports[5432] }}/indicotest\"\n          pytest --color=yes\n\n\n  test-js:\n    needs: setup\n    runs-on: ubuntu-22.04\n    steps:\n      # BEGIN common steps - edit all occurrences if needed!\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION_312 }}\n\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 18.x\n\n      - name: Install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n\n      - name: Download environment\n        uses: actions/download-artifact@v4\n        with:\n          name: environment-3.12\n          path: /tmp\n\n      - name: Restore environment\n        run: tar xf /tmp/env.tar\n\n      - name: Activate virtualenv for later steps\n        run: |\n          echo \"VIRTUAL_ENV=$(pwd)/.venv\" >> $GITHUB_ENV\n          echo \"$(pwd)/.venv/bin\" >> $GITHUB_PATH\n\n      - name: Install Indico\n        run: uv pip install -e .\n      # END common steps\n\n      - name: Run jest tests\n        run: npm test\n\n      - name: Try building assets\n        run: python bin/maintenance/build-assets.py indico --dev\n", "state": "active", "repository": "indico/indico"}
{"mined_at": "2024-07-15T14:47:44.826006", "created_at": "2021-05-10T15:15:20+02:00", "updated_at": "2021-05-10T19:19:18+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: CodeQL\n\non:\n  push:\n    branches:\n      - master\n      - '*.x'\n  pull_request:\n    branches:\n      - master\n      - '*.x'\n  schedule:\n    - cron: '0 0 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n          - javascript\n          - python\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        if: matrix.language == 'python'\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: Install Python dependencies\n        if: matrix.language == 'python'\n        run: |\n          sudo apt-get install libpq-dev\n          pip install -U pip setuptools wheel\n          pip install -r requirements.dev.txt\n          pip install -r requirements.txt\n          echo \"CODEQL_PYTHON=$(which python)\" >> $GITHUB_ENV\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          setup-python-dependencies: false\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "indico/indico"}
{"mined_at": "2024-07-15T14:47:46.074133", "created_at": "2024-03-10T15:29:22+01:00", "updated_at": "2024-03-10T15:29:22+01:00", "name": "Label PRs", "path": ".github/workflows/labeler.yml", "contents": "name: 'Label PRs'\n\non:\n  - pull_request_target\n\njobs:\n  labeler:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/labeler@v5\n        with:\n          sync-labels: true\n", "state": "active", "repository": "indico/indico"}
{"mined_at": "2024-07-15T14:47:47.199732", "created_at": "2023-07-18T18:05:26+02:00", "updated_at": "2023-07-21T13:02:29+02:00", "name": "PyPI release 🐍 📦", "path": ".github/workflows/pypi.yml", "contents": "name: PyPI release 🐍 📦\n\non:\n  push:\n    tags:\n      - 'v*'\n      - '!v1.*'\n      - '!v2.*'\n      - '!v3.0.*'\n      - '!v3.1.*'\n      - '!*\\+docs'\n\njobs:\n  build:\n    name: Build package 📦\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Set up Python 🐍\n        with:\n          python-version: '3.12'\n          cache: pip\n          cache-dependency-path: |\n            requirements.txt\n            requirements.dev.txt\n      - name: Install build deps 🔧\n        run: |\n          sudo apt-get install libpq-dev\n          pip install --user -U pip setuptools wheel\n      - name: Check version 🔍\n        run: python .github/utils/check_version.py \"${GITHUB_REF#refs/tags/v}\"\n      - name: Extract changelog 📜\n        run: python .github/utils/extract_changelog.py \"${GITHUB_REF#refs/tags/v}\" /tmp/changelog.md\n      - uses: actions/setup-node@v4\n        name: Setup Node\n        with:\n          node-version: 18.x\n      - name: Install Indico + Python deps 🔧\n        run: pip install --user -e '.[dev]'\n      - name: Install npm deps ☕\n        run: npm ci\n      - name: Build wheel 🏗\n        run: ./bin/maintenance/build-wheel.py indico\n      - uses: actions/upload-artifact@v4\n        name: Upload build artifacts 📦\n        with:\n          name: indico-wheel\n          retention-days: 7\n          path: ./dist\n      - uses: actions/upload-artifact@v4\n        name: Store Markdown changelog 📜\n        with:\n          name: changelog\n          retention-days: 7\n          path: /tmp/changelog.md\n  create-github-release:\n    name: Create GitHub release 🐙\n    # Upload wheel to a GitHub release. It remains available as a build artifact for a while as well.\n    needs: build\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/download-artifact@v4\n        name: Download build artifacts 📦\n      - name: Create draft release 🐙\n        run: >-\n          gh release create\n          --draft\n          --repo ${{ github.repository }}\n          --title ${{ github.ref_name }}\n          --notes-file changelog/changelog.md\n          ${{ github.ref_name }}\n          indico-wheel/*\n        env:\n          GH_TOKEN: ${{ github.token }}\n  publish-pypi:\n    name: Publish 🚀\n    needs: build\n    # Wait for approval before attempting to upload to PyPI. This allows reviewing the\n    # files in the draft release.\n    environment: publish\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: write\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n      # Try uploading to Test PyPI first, in case something fails.\n      - name: Publish to Test PyPI 🧪\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          packages-dir: indico-wheel/\n      - name: Publish to PyPI 🚀\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          packages-dir: indico-wheel/\n      - name: Publish GitHub release 🐙\n        run: >-\n          gh release edit\n          --draft=false\n          --repo ${{ github.repository }}\n          ${{ github.ref_name }}\n        env:\n          GH_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "indico/indico"}
{"mined_at": "2024-07-15T14:47:48.428129", "created_at": "2024-03-13T11:50:34+01:00", "updated_at": "2024-03-13T11:50:34+01:00", "name": "Translation build", "path": ".github/workflows/translations.yml", "contents": "name: Translation build\n\non:\n  schedule:\n    - cron: '0 */6 * * *'\n  workflow_dispatch:\n\nenv:\n  TZ: Europe/Zurich\n\njobs:\n  build:\n    name: Build package 📦\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: read\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Set up Python 🐍\n        with:\n          python-version: '3.12'\n          cache: pip\n          cache-dependency-path: |\n            requirements.txt\n            requirements.dev.txt\n      - uses: actions/setup-node@v4\n        name: Setup Node\n        with:\n          node-version: 18.x\n      - name: Install build deps 🔧\n        run: |\n          sudo apt-get install libpq-dev\n          pip install --user -U pip setuptools wheel\n          pip install --user -e '.[dev]'\n      - name: Install npm deps ☕\n        run: npm ci\n      - name: Install Transifex client 📥\n        run: curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash\n      - name: Pull and compile translations 🌍\n        env:\n          TX_TOKEN: ${{ secrets.TRANSIFEX_TOKEN }}\n        run: |\n          ./tx pull --all --force\n          mv indico/translations/zh_CN.GB2312 indico/translations/zh_Hans_CN\n          indico i18n compile indico --no-check\n      - name: Enable moment locales 🕒\n        run: ./bin/maintenance/update_moment_locales.py\n      - name: Build wheel 🏗\n        run: ./bin/maintenance/build-wheel.py indico --add-version-suffix --ignore-unclean\n      - uses: actions/upload-artifact@v4\n        name: Upload build artifacts 📦\n        with:\n          name: indico-translation-wheel\n          retention-days: 1\n          path: ./dist\n", "state": "active", "repository": "indico/indico"}
{"mined_at": "2024-07-15T14:47:50.799086", "created_at": "2023-05-15T23:25:19+02:00", "updated_at": "2024-06-13T16:37:56+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\npermissions:\n  contents: write\n\non:\n  push:\n    tags:\n      - v[0-9]+.*\n\njobs:\n  # First we are going to create a task that generates a new release in GitHub\n  # as a draft. All the wheels will end up being uploaded here at the end.\n  create-release:\n    runs-on: ubuntu-latest\n    outputs:\n      tag: ${{ steps.create-gh-release.outputs.computed-prefix }}${{ steps.create-gh-release.outputs.version }}\n    steps:\n      - uses: actions/checkout@v3\n      - id: create-gh-release\n        uses: taiki-e/create-gh-release-action@v1\n        with:\n          draft: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  build-wheels:\n    # Build binary wheels for the platforms we care about using cibuildwheel.\n    # Now, cibuildwheel has an excellent set of features to try to build a\n    # hermetic wheel, but we, dear reader, need to absolutely violate that\n    # because LLVM is too painful to compile as part of the build process, but\n    # we want to statically link it into the final wheel. So, we take a conda\n    # package and inject it into the build environment, a state of affairs that\n    # cibuildwheel isn't going to cooprate much on. The\n    # `buildscripts/github/config.toml` defines a bunch of paths to where in\n    # the build environment all that conda stuff will be placed.\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ ubuntu-22.04, macOS-11, windows-2019 ]\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v3\n        with:\n          python-version: '3.9'\n\n      - name: Install cibuildwheel\n        run: python -m pip install cibuildwheel==2.12.0\n\n      - name: Build wheels\n        run: \"python -m cibuildwheel --output-dir wheelhouse --config-file buildscripts/github/config.toml\"\n        env:\n          # On a 64-bit machine, cibuildwheel will try to build 32-bit\n          # packages. Since LLVM is only build for 64-bit, linking will go\n          # badly.\n          CIBW_ARCHS: auto64\n          # I cannot tell you how much this isn't going to work on musllinux,\n          # so don't try to compile against it.\n          CIBW_BUILD: cp39-*\n          CIBW_SKIP: cp39-musllinux*\n          # Run our little script to inject LLVM into the build environment. See script for details.\n          CIBW_BEFORE_BUILD: \"{project}/buildscripts/github/install_llvmdev.sh\"\n          CIBW_BEFORE_BUILD_WINDOWS: \"pwsh {project}/buildscripts/github/install_llvmdev.ps1\"\n          # cibuildwheel is going to assume we are going for maximum\n          # compatibility and that's can't happen with LLVM because it needs a\n          # relatively new C++ compiler. So, instead, we tell it to require a\n          # GLIBC of 2.31. If you get inscrutable compatibility errors, try\n          # `auditwheel -v repair` to get _too much_ output.\n          CIBW_REPAIR_WHEEL_COMMAND_LINUX: \"auditwheel repair --plat\n    manylinux_2_31_$(uname -m) -w {dest_dir} {wheel}\"\n          # This is different from the default to avoid FAT binary weirdness\n          # and it came from the cibuildwheel manual.\n          CIBW_REPAIR_WHEEL_COMMAND_MACOS: \"delocate-wheel --ignore-missing-dependencies --require-archs {delocate_archs} -w {dest_dir} -v {wheel} && pipx run abi3audit --strict --report {wheel}\"\n          # This seems like it should match the number you have for `--plat`,\n          # but it doesn't (older is fine) and there's an explanation for why\n          # this can't be determined automatically in the manual.\n          CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux_2_24_x86_64\n          CIBW_MANYLINUX_PYPY_X86_64_IMAGE: quay.io/pypa/manylinux_2_24_x86_64\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./wheelhouse/*.whl\n\n  build-sdist:\n    # Build a source package. This is actually easy.\n    name: Make SDist\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Build SDist\n      run: pipx run build --sdist\n\n    - uses: actions/upload-artifact@v3\n      with:\n        path: dist/*.tar.gz\n\n  upload-all:\n    needs: [build-wheels, build-sdist, create-release]\n    runs-on: ubuntu-latest\n    env:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/download-artifact@v3\n      with:\n        name: artifact\n        path: dist\n    - name: run cargo-dist manifest\n      run: |\n        gh release upload ${{ needs.create-release.outputs.tag }} dist/*\n\n  # Mark the Github Release™️ as a non-draft now that everything has succeeded!\n  publish-release:\n    needs: [create-release, upload-all]\n    runs-on: ubuntu-latest\n    env:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: mark release as non-draft\n        run: |\n          gh release edit ${{ needs.create-release.outputs.tag }} --draft=false\n", "state": "disabled_manually", "repository": "numba/llvmlite"}
{"mined_at": "2024-07-15T14:47:53.036012", "created_at": "2020-11-17T23:11:53+01:00", "updated_at": "2020-11-20T21:49:17+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \".github/workflows/docs.yml\"\n      - \"docs/**\"\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - run: |\n          cd docs\n          make install\n          make deploy\n", "state": "active", "repository": "sublimelsp/lsp"}
{"mined_at": "2024-07-15T14:47:54.080933", "created_at": "2019-12-27T14:54:58+01:00", "updated_at": "2019-12-28T14:19:13+01:00", "name": "main", "path": ".github/workflows/main.yml", "contents": "name: main\n\non:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - \".github/workflows/docs.yml\"\n      - \"docs/**\"\n  pull_request:\n    branches:\n      - main\n    paths-ignore:\n      - \".github/workflows/docs.yml\"\n      - \"docs/**\"\n\njobs:\n  Unittesting:\n    name: Unittesting (${{ matrix.os }})\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - macOS-latest\n          - windows-latest\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: SublimeText/UnitTesting/actions/setup@v1\n      - uses: SublimeText/UnitTesting/actions/run-tests@v1\n        with:\n          coverage: true\n\n  Lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n      - run: sudo apt update\n      - run: sudo apt install --no-install-recommends -y x11-xserver-utils\n      - run: pip3 install mypy==1.7.1 flake8==5.0.4 pyright==1.1.339 --user\n      - run: echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n      - run: mypy stubs\n      - run: flake8 plugin tests\n      - run: pyright plugin\n", "state": "active", "repository": "sublimelsp/lsp"}
{"mined_at": "2024-07-15T14:47:55.141604", "created_at": "2021-12-27T16:52:17+01:00", "updated_at": "2021-12-27T16:52:17+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sublimelsp/lsp"}
{"mined_at": "2024-07-15T14:47:57.146688", "created_at": "2021-03-12T08:01:05+01:00", "updated_at": "2021-03-12T08:04:00+01:00", "name": "Docker Images", "path": ".github/workflows/docker.yml", "contents": "name: Docker Images\non:\n  release:\n    types:\n      - published\njobs:\n  build-and-push-app-docker-image:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: eugenci/papermerge\n          tag-semver: |\n            {{version}}\n            {{major}}.{{minor}}\n      - name: Checkout source code\n        uses: actions/checkout@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Build and push image\n        uses: docker/build-push-action@v2\n        with:\n          context: ./docker\n          file: ./docker/app.dockerfile\n          platforms: linux/amd64\n          push: true\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n  build-and-push-worker-docker-image:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: eugenci/papermerge-worker\n          tag-semver: |\n            {{version}}\n            {{major}}.{{minor}}\n      - name: Checkout source code \n        uses: actions/checkout@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Build and push image\n        uses: docker/build-push-action@v2\n        with:\n          context: ./docker\n          file: ./docker/worker.dockerfile\n          platforms: linux/amd64\n          push: true\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n", "state": "active", "repository": "ciur/papermerge"}
{"mined_at": "2024-07-15T14:47:59.425170", "created_at": "2020-11-09T22:21:18+01:00", "updated_at": "2020-11-12T15:30:17+01:00", "name": "CD", "path": ".github/workflows/cd.yml", "contents": "name: CD\non:\n  release:\n    types: [created]\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - id: strip-tag\n        uses: yuya-takeyama/docker-tag-from-github-ref-action@v1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.10'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements_dev.txt\n\n      - name: Run unit tests\n        run: pytest tests/terraform_compliance\n\n      - name: Version Imprintment\n        run: |\n          echo \"Released version is ${{ steps.strip-tag.outputs.tag }}\"\n          cat terraform_compliance/__init__.py | sed s/{{VERSION}}/${{ steps.strip-tag.outputs.tag }}/g  > terraform_compliance/__init__.py.templated\n          cat terraform_compliance/__init__.py.templated\n          cp terraform_compliance/__init__.py.templated terraform_compliance/__init__.py\n          echo \"export RELEASE_VERSION=$(cat terraform_compliance/__init__.py | grep __version__ | cut -d \"'\" -f2)\" > reqs.sh\n          source reqs.sh\n          if [[ \"${{ steps.strip-tag.outputs.tag }}\" != \"$RELEASE_VERSION\" ]]; then echo \"Released version (${{ steps.strip-tag.outputs.tag }}) does not match with RELEASE_VERSION ($RELEASE_VERSION)\"; exit 1; fi\n          python setup.py install_egg_info\n\n      - name: Build\n        run: |\n          python setup.py sdist bdist_wheel && \\\n          ls -al dist/* && \\\n          pip install --force-reinstall dist/terraform_compliance-${{ steps.strip-tag.outputs.tag }}-*.whl\n\n      - name: Integration Tests\n        run: |\n          python tests/functional/run_functional_tests.py\n\n      - name: Publish to PyPI\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_API_USER }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        run: twine upload --skip-existing dist/*\n\n      - name: Publish to Docker Hub\n        env:\n          IMAGE_NAME: 'eerkunt/terraform-compliance'\n          DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}\n          DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}\n        run : |\n          sleep 120\n          echo \"Getting the latest terraform version from Hashicorp\"\n          echo \"export LATEST_TERRAFORM_VERSION=$(curl https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r .current_version)\" > terraform_version.sh\n          source terraform_version.sh\n          if [ -z \"$LATEST_TERRAFORM_VERSION\" ]; then echo \"Can not identify latest terraform version!\"; travis_terminate 1; fi\n          docker build --compress --no-cache -t \"$IMAGE_NAME\" \\\n                       --build-arg VERSION=${{ steps.strip-tag.outputs.tag }} \\\n                       --build-arg LATEST_TERRAFORM_VERSION=$LATEST_TERRAFORM_VERSION \\\n                       --build-arg HASHICORP_PGP_KEY=\"$(cat hashicorp-pgp-key.pub)\" .\n          docker login -u \"$DOCKER_HUB_USER\" -p \"$DOCKER_HUB_PASSWORD\"\n          docker tag \"$IMAGE_NAME\" $IMAGE_NAME:latest\n          docker tag \"$IMAGE_NAME\" \"$IMAGE_NAME\":\"${{ steps.strip-tag.outputs.tag }}\"\n          docker push \"$IMAGE_NAME\":latest\n          docker push \"$IMAGE_NAME\":\"${{ steps.strip-tag.outputs.tag }}\"\n", "state": "active", "repository": "terraform-compliance/cli"}
{"mined_at": "2024-07-15T14:48:00.458641", "created_at": "2020-11-09T21:48:06+01:00", "updated_at": "2020-11-09T21:48:06+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  pull_request:\n    paths:\n      - \"terraform_compliance/**\"\n      - \".github/workflows/ci.yml\"\n      - \"tox.ini\"\n      - \"Dockerfile\"\n      - \"requirements.txt\"\n      - \"requirements_dev.txt\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10']\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements_dev.txt\n\n      - name: Run unit tests\n        run: |\n          pytest tests/terraform_compliance\n\n      - name: Build\n        run: |\n          python setup.py sdist bdist_wheel\n          pip install dist/terraform_compliance-0.0.0-*.whl\n\n      - name: Run integration tests\n        run: |\n          python tests/functional/run_functional_tests.py\n", "state": "active", "repository": "terraform-compliance/cli"}
{"mined_at": "2024-07-15T14:48:01.538747", "created_at": "2021-05-10T17:21:48+02:00", "updated_at": "2021-05-10T17:31:03+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n  schedule:\n    - cron: '33 13 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "terraform-compliance/cli"}
{"mined_at": "2024-07-15T14:48:02.763590", "created_at": "2022-01-05T17:08:15+01:00", "updated_at": "2022-01-05T17:08:15+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "terraform-compliance/cli"}
{"mined_at": "2024-07-15T14:48:06.261984", "created_at": "2023-12-04T18:04:21+01:00", "updated_at": "2024-07-11T22:07:43+02:00", "name": "Playwright Tests", "path": ".github/workflows/playwright.yml", "contents": "name: Playwright Tests\non:\n    schedule:\n        # Playwright tests are running automatically in Firefox on each Monday & in Chrome on each Friday.\n        - cron: '0 5 * * 1,5'\n    workflow_dispatch:\n        inputs:\n            Browsers:\n                description: Browsers\n                required: true\n                default: firefox\n                type: choice\n                options:\n                    - firefox\n                    - chrome\n            TestSuite:\n                description: Test Suite to run\n                required: true\n                default: All\n                type: choice\n                options:\n                    - All\n                    - homePageTests\n                    - topNavbarTests\n                    - footerSectionTests\n                    - contributePagesTests\n                    - messagingSystem\n                    - User Pages\n                    - contactSupportPage\n                    - productSolutionsPage\n                    - productTopicsPage\n                    - AAQ\n                    - KB Articles\n                    - KB Restricted Visibility\n                    - KB Article Translation\n                    - recentRevisionsDashboard\n                    - kbDashboard\n\nenv:\n    TEST_ACCOUNT_12: ${{secrets.AUTOMATION_TEST_ACCOUNT_12}}\n    TEST_ACCOUNT_13: ${{secrets.AUTOMATION_TEST_ACCOUNT_13}}\n    TEST_ACCOUNT_MESSAGE_1: ${{secrets.AUTOMATION_TEST_ACCOUNT_MESSAGE_1}}\n    TEST_ACCOUNT_MESSAGE_2: ${{secrets.AUTOMATION_TEST_ACCOUNT_MESSAGE_2}}\n    TEST_ACCOUNT_MESSAGE_3: ${{secrets.AUTOMATION_TEST_ACCOUNT_MESSAGE_3}}\n    TEST_ACCOUNT_MESSAGE_4: ${{secrets.AUTOMATION_TEST_ACCOUNT_MESSAGE_4}}\n    TEST_ACCOUNT_MESSAGE_5: ${{secrets.AUTOMATION_TEST_ACCOUNT_MESSAGE_5}}\n    TEST_ACCOUNT_MESSAGE_6: ${{secrets.AUTOMATION_TEST_ACCOUNT_MESSAGE_6}}\n    TEST_ACCOUNT_SPECIAL_CHARS: ${{secrets.AUTOMATION_TEST_ACCOUNT_SPECIAL_CHARS}}\n    TEST_ACCOUNTS_PS: ${{secrets.AUTOMATION_ACCOUNTS_PASSWORD}}\n    TEST_ACCOUNT_MODERATOR: ${{secrets.AUTOMATION_MODERATOR_ACCOUNT}}\n    BROWSER: ${{secrets.BROWSER}}\n    DATABASE_URL: postgres://kitsune:kitsune@postgres:5432/kitsune\n    SECRET_KEY: secret\n    REDIS_DEFAULT_URL=: edis://redis:6379/1\n    REDIS_HELPFULVOTES_URL: redis://redis:6379/2\n\n\njobs:\n  playwright_tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Install dependencies\n        if: success() || failure()\n        run: |\n          sudo apt-get update\n          pip3 install --user poetry\n          poetry install\n      - name: Ensure Playwright browsers are installed\n        run: |\n            pip3 install playwright\n            python -m playwright install\n      - name: Set up browsers env\n        if: \"github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'\"\n        run: |\n            if [ \"${{ github.event_name }}\" == 'schedule' ]; then\n                current_day=$(date +\\%u)\n                if [ $current_day -eq 1 ]; then\n                    echo \"BROWSER=firefox\" >> $GITHUB_ENV\n                elif [ $current_day -eq 5 ]; then\n                    echo \"BROWSER=chrome\" >> $GITHUB_ENV\n                fi\n            elif [ \"${{ github.event_name }}\" == 'workflow_dispatch' ]; then\n                echo \"BROWSER=${{inputs.Browsers}}\" >> $GITHUB_ENV\n            fi\n      - name: Creating User Sessions for ${{ env.BROWSER }}\n        id: create-sessions\n        working-directory: playwright_tests\n        run: |\n         poetry run pytest -m loginSessions --browser ${{ env.BROWSER }} --reruns 1\n      - name: Run ${{inputs.TestSuite}} Playwright Tests\n        working-directory: playwright_tests\n        if: success() || failure() && steps.create-sessions.outcome == 'success'\n        run: |\n            declare dispatch_test_suite=\"${{inputs.TestSuite}}\"\n            declare all_test_suites=(\"homePageTests\" \"topNavbarTests\" \"footerSectionTests\" \"contributePagesTests\" \"messagingSystem\" \"messagingSystemCleanup\" \"userContributionTests\" \"userProfile\" \"userSettings\" \"editUserProfileTests\" \"userQuestions\" \"contactSupportPage\" \"productSolutionsPage\" \"productTopicsPage\" \"aaqPage\" \"postedQuestions\" \"kbProductsPage\" \"kbArticleCreationAndAccess\" \"beforeThreadTests\" \"articleThreads\" \"afterThreadTests\" \"kbArticleShowHistory\" \"recentRevisionsDashboard\" \"kbDashboard\" \"restrictedArticleCreation\" \"kbRestrictedVisibilitySingleGroup\" \"whitelistingDifferentGroup\" \"kbRestrictedVisibilityMultipleGroups\" \"removingAllArticleRestrictions\" \"kbRemovedRestrictions\" \"deleteAllRestrictedTestArticles\" \"kbArticleTranslation\")\n            if [ \"$dispatch_test_suite\" == \"All\" ] || [ \"${{ github.event_name}}\" == \"schedule\" ] ; then\n                for test in \"${all_test_suites[@]}\"; do\n                    if ! poetry run pytest -m ${test} --numprocesses 2 --browser ${{ env.BROWSER }} --reruns 1; then\n                        any_failures=true\n                    fi\n                done\n            elif [ \"$dispatch_test_suite\" == \"User Pages\" ]; then\n                for test in \"userContributionTests\" \"userProfile\" \"userSettings\" \"editUserProfileTests\" \"userQuestions\"; do\n                    if ! poetry run pytest -m ${test} --numprocesses 2 --browser ${{ env.BROWSER }} --reruns 1; then\n                        any_failures=true\n                    fi\n                done\n            elif [ \"$dispatch_test_suite\" == \"AAQ\" ]; then\n                for test in \"aaqPage\" \"postedQuestions\"; do\n                    if ! poetry run pytest -m ${test} --numprocesses 2 --browser ${{ env.BROWSER }} --reruns 1; then\n                        any_failures=true\n                    fi\n                done\n            elif [ \"$dispatch_test_suite\" == \"KB Articles\" ]; then\n                for test in \"kbProductsPage\" \"kbArticleCreationAndAccess\" \"beforeThreadTests\" \"articleThreads\" \"afterThreadTests\" \"kbArticleShowHistory\"; do\n                    if ! poetry run pytest -m ${test} --numprocesses 2 --browser ${{ env.BROWSER }} --reruns 1; then\n                        any_failures=true\n                    fi\n                done\n            elif [ \"$dispatch_test_suite\" == \"KB Restricted Visibility\" ]; then\n                for test in \"restrictedArticleCreation\" \"kbRestrictedVisibilitySingleGroup\" \"whitelistingDifferentGroup\" \"kbRestrictedVisibilityMultipleGroups\" \"removingAllArticleRestrictions\" \"kbRemovedRestrictions\"  \"deleteAllRestrictedTestArticles\"; do\n                    if ! poetry run pytest -m ${test} --numprocesses 2 --browser ${{ env.BROWSER }} --reruns 1; then\n                        any_failures=true\n                    fi\n                done\n            elif [ \"$dispatch_test_suite\" == \"KB Article Translation\" ]; then\n                if ! poetry run pytest -m kbArticleTranslation --numprocesses 2 --browser ${{ env.BROWSER }} --reruns 1; then\n                    any_failures=true\n                fi\n            else\n                if ! poetry run pytest -m $dispatch_test_suite --numprocesses 2 --browser ${{ env.BROWSER }} --reruns 1; then\n                        any_failures=true\n                fi\n            fi\n            echo \"TESTS_FAILED=$any_failures\" >> $GITHUB_ENV\n      - name: Generating Allure Report\n        working-directory: playwright_tests\n        if: success() || failure()\n        run: |\n            /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n            export PATH=\"/home/linuxbrew/.linuxbrew/bin:$PATH\"\n            brew install allure\n            allure generate --single-file reports/allure_reports\n      - name: Upload the combined test report as artifact\n        if: success() || failure()\n        uses: actions/upload-artifact@v2\n        with:\n          name: Playwright test report\n          path: |\n            playwright_tests/allure-report\n      - name: Playwright Test Status\n        if: env.TESTS_FAILED == 'true'\n        run: exit 1\n", "state": "disabled_manually", "repository": "mozilla/kitsune"}
{"mined_at": "2024-07-15T14:48:07.372032", "created_at": "2023-11-24T09:15:31+01:00", "updated_at": "2023-11-24T09:15:31+01:00", "name": "Publish Docs in GitHub Pages", "path": ".github/workflows/publish-docs.yml", "contents": "name: Publish Docs in GitHub Pages\n\non:\n  workflow_dispatch: # allow manual runs\n  push:\n    branches:\n      - main\n    paths: # avoid extra builds\n      - docs/**\n      - mkdocs.yml\n      - .github/workflows/publish-docs.yml\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: github-pages\n  cancel-in-progress: false # skip any intermediate builds but let finish\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - id: pages\n        uses: actions/configure-pages@v4\n      - run: echo \"cache_id=$(date --utc '+%V')\" >> $GITHUB_ENV \n      - uses: actions/cache@v4\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n      - run: pip install mkdocs-material \n      - run: mkdocs build -d dist\n      - uses: actions/upload-pages-artifact@v3\n        with:\n          path: dist\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "mozilla/kitsune"}
{"mined_at": "2024-07-15T14:48:08.493330", "created_at": "2024-07-10T23:58:06+02:00", "updated_at": "2024-07-10T23:58:06+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "mozilla/kitsune"}
{"mined_at": "2024-07-15T14:48:09.727496", "created_at": "2023-11-23T17:22:34+01:00", "updated_at": "2023-11-23T17:22:34+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mozilla/kitsune"}
{"mined_at": "2024-07-15T14:48:13.006216", "created_at": "2020-12-09T20:34:14+01:00", "updated_at": "2021-04-22T18:42:28+02:00", "name": "Assign Latest Milestone", "path": ".github/workflows/assign-milestone.yml", "contents": "# If a PR doesn't have a milestone assigned when it's merged, assign it the\n# one that's scheduled next.\nname: Assign Latest Milestone\non:\n  pull_request_target:\n    types: [closed]\n    branches: [main]\n\npermissions:\n  pull-requests: write\n  issues: write\n\njobs:\n  sync:\n    name: Assign Latest Milestone\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v7\n        name: Run script\n        with:\n          script: |\n            if (!context.payload.pull_request.merged) {\n              console.log('PR was not merged, skipping.');\n              return;\n            }\n            if (!!context.payload.pull_request.milestone) {\n              console.log('PR has existing milestone, skipping.');\n              return;\n            }\n            if (context.payload.pull_request.user.type === 'Bot') {\n              console.log('Ignoring Bot PR');\n              return;\n            }\n            milestones = await github.rest.issues.listMilestones({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              state: 'open',\n              sort: 'due_on',\n              direction: 'asc'\n            })\n\n            if (milestones.data.length === 0) {\n              console.log('There are no milestones, skipping.');\n              return;\n            }\n\n            console.log(`Adding to milestone: ${milestones.data[0].number}`);\n            result = await github.rest.issues.update({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: context.payload.number,\n              milestone: milestones.data[0].number\n            });\n            console.log(result);\n", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:14.151417", "created_at": "2024-07-10T22:59:32+02:00", "updated_at": "2024-07-10T22:59:32+02:00", "name": "Auto-merge Dependabot PRs", "path": ".github/workflows/automerge-dependabot.yml", "contents": null, "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:15.283360", "created_at": "2022-06-29T23:08:44+02:00", "updated_at": "2022-06-29T23:08:44+02:00", "name": "Backport PRs", "path": ".github/workflows/backport-prs.yml", "contents": "name: Backport PRs\n\npermissions:\n  pull-requests: write\n  contents: write\n\non:\n  pull_request_target:\n    types:\n      - closed\n      - labeled\n\njobs:\n  Backport:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.merged && contains( github.event.pull_request.labels.*.name, 'backport' )\n    steps:\n      - name: Checkout PR HEAD\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          fetch-depth: 100\n\n      - name: Fetch PR merge base\n        run: git fetch --no-tags --depth=100 origin ${{ github.event.pull_request.base.sha }}\n\n      - name: Set up git\n        run: |\n          git config --global user.email github-actions[bot]@users.noreply.github.com\n          git config --global user.name github-actions[bot]\n\n      - name: Get backport branch\n        id: get-branch\n        run: |\n          git fetch --no-tags --depth=100 origin 'refs/heads/*.x:refs/remotes/origin/*.x'\n          echo \"backport-branch=$(git branch -r | grep '.*.x' | sort -V | tail -n 1 | cut -d / -f 2)\" >> $GITHUB_OUTPUT\n\n      - name: Apply PR commits to ${{ steps.get-branch.outputs.backport-branch}} branch\n        run: |\n          git checkout -b ${{ steps.get-branch.outputs.backport-branch}} origin/${{ steps.get-branch.outputs.backport-branch}}\n          git cherry-pick -x ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}\n\n      - name: Create backport PR\n        id: create-pr\n        uses: peter-evans/create-pull-request@v6\n        with:\n          title: '${{ github.event.pull_request.title }} (backport)'\n          body: >\n            Backport \\#${{ github.event.number }} onto the\n            ${{ steps.get-branch.outputs.backport-branch}} stable branch.\n          base: ${{ steps.get-branch.outputs.backport-branch}}\n          branch: backport-pr-${{ github.event.number }}\n          delete-branch: true\n          labels: 'backported-pr,${{ join(github.event.pull_request.labels.*.name) }}'\n\n      - uses: actions-ecosystem/action-remove-labels@v1\n        with:\n          number: ${{ steps.create-pr.outputs.pull-request-number }}\n          labels: backport\n\n      - name: Comment on completion\n        uses: actions/github-script@v7\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: '🏁 Successfully backported as #${{ steps.create-pr.outputs.pull-request-number }}. 🏁'\n            })\n\n      - name: Comment on error\n        if: failure()\n        uses: actions/github-script@v7\n        with:\n          script: |\n            const workflow_url = `${process.env.GITHUB_SERVER_URL}/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`;\n            body = `🚨 Unable to [cleanly backport](${workflow_url}) this PR! 🚨`;\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: body\n            })\n", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:16.384432", "created_at": "2022-04-19T04:56:48+02:00", "updated_at": "2022-04-20T22:39:59+02:00", "name": "Check Citation Info", "path": ".github/workflows/cffcheck.yml", "contents": "name: Check Citation Info\n\nconcurrency:\n  group: ${{ github.workflow}}-${{ github.head_ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    paths:\n      - CITATION.cff\n  pull_request:\n    paths:\n      - CITATION.cff\n\njobs:\n  validate:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out a copy of the repository\n        uses: actions/checkout@v4\n\n      - name: Check validity of CITATION.cff\n        uses: citation-file-format/cffconvert-github-action@2.0.0\n        with:\n          args: \"--validate\"\n", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:17.606681", "created_at": "2020-07-29T04:30:38+02:00", "updated_at": "2020-07-29T04:46:45+02:00", "name": "Code Analysis", "path": ".github/workflows/code-analysis.yml", "contents": "name: \"Code Analysis\"\n\nconcurrency:\n  group: ${{ github.workflow}}-${{ github.head_ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [main]\n    paths:\n      - '**.py'\n      - '.github/codeql/**'\n      - '.github/workflows/code-analysis.yml'\n\n  schedule:\n    - cron: '0 8 * * 6'\n\npermissions:\n  contents: read\n  security-events: write\n\njobs:\n  CodeQL:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        config-file: ./.github/codeql/codeql-config.yml\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:18.620064", "created_at": "2021-04-29T00:18:48+02:00", "updated_at": "2021-04-29T00:18:48+02:00", "name": "Manage doc versions", "path": ".github/workflows/doc-versions.yml", "contents": null, "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:19.765380", "created_at": "2020-08-08T06:32:23+02:00", "updated_at": "2020-08-08T06:32:23+02:00", "name": "Build Docs (Conda)", "path": ".github/workflows/docs-conda.yml", "contents": "name: Build Docs (Conda)\n\n# We don't want pushes (or PRs) to gh-pages to kick anything off\non:\n  pull_request:\n    branches:\n      - main\n      - '[0-9]+.[0-9]+.x'\n\nconcurrency:\n  group: ${{ github.workflow}}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  Docs:\n    name: ${{ matrix.os }} ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: 3.9\n            os: Windows\n          - python-version: '3.10'\n            os: Windows\n          - python-version: 3.11\n            os: macOS\n          - python-version: 3.12\n            os: macOS\n\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 150\n        fetch-tags: true\n\n    - name: Install from Conda\n      uses: ./.github/actions/install-conda\n      with:\n        type: 'doc'\n        python-version: ${{ matrix.python-version }}\n\n    - name: Build docs\n      uses: ./.github/actions/build-docs\n      with:\n        key: ${{ matrix.os }}-${{ matrix.python-version }}\n", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:20.850105", "created_at": "2020-07-29T08:19:06+02:00", "updated_at": "2021-04-29T00:59:29+02:00", "name": "Build Docs", "path": ".github/workflows/docs.yml", "contents": "name: Build Docs\n\n# We don't want pushes (or PRs) to gh-pages to kick anything off\non:\n  push:\n    branches:\n      - main\n      - '[0-9]+.[0-9]+.x'\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]+\n  pull_request:\n\npermissions:\n  contents: write\n\nconcurrency:\n  group: ${{ github.workflow}}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  #\n  # Build our docs on Linux against multiple Pythons\n  #\n  Docs:\n    name: \"Linux ${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9, '3.10', 3.11]\n        check-links: [false]\n        include:\n          - python-version: 3.12\n            check-links: true\n    outputs:\n      doc-version: ${{ steps.build-docs.outputs.doc-version }}\n\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 150\n\n    - name: Get tags\n      run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n\n    - name: Install using PyPI\n      uses: ./.github/actions/install-pypi\n      with:\n        type: 'doc'\n        python-version: ${{ matrix.python-version }}\n        need-extras: true\n\n    - name: Build docs\n      id: build-docs\n      uses: ./.github/actions/build-docs\n      with:\n        run-linkchecker: ${{ github.event_name == 'pull_request' && matrix.check-links == true }}\n        key: ${{ runner.os }}-${{ matrix.python-version }}\n\n  Deploy:\n    if: ${{ github.event_name != 'pull_request' }}\n    needs: Docs\n    environment:\n      name: github-pages\n    runs-on: ubuntu-latest\n    env:\n      DOC_VERSION: dev\n\n    steps:\n    - name: Download doc build\n      uses: actions/download-artifact@v4\n      with:\n        name: Linux-3.11-docs\n        path: ./docs/build/html\n\n    # This overrides the version \"dev\" with the proper version if we're building off a\n    # branch that's not main (which is confined to n.nn.x above) or on a tag.\n    - name: Set doc version\n      if: ${{ github.event_name != 'push' || !contains(github.ref, 'main') }}\n      run: echo \"DOC_VERSION=v${{ needs.Docs.outputs.doc-version }}\" >> $GITHUB_ENV\n\n    - name: Upload to GitHub Pages\n      uses: peaceiris/actions-gh-pages@v4\n      with:\n        deploy_key: ${{ secrets.GHPAGES_DEPLOY_KEY }}\n        publish_dir: ./docs/build/html\n        exclude_assets: '.buildinfo,_static/jquery-*.js,_static/underscore-*.js'\n        destination_dir: ./${{ env.DOC_VERSION }}\n        keep_files: false\n        full_commit_message: Deploy ${{ env.DOC_VERSION }} to GitHub Pages\n", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:21.916267", "created_at": "2020-07-27T03:43:23+02:00", "updated_at": "2021-04-29T00:59:29+02:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow}}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  flake8:\n    name: Flake8\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n          cache: 'pip'\n          cache-dependency-path: 'ci/linting_requirements.txt'\n\n      - name: Install linting tools\n        run: python -m pip install -r ci/linting_requirements.txt\n\n      - name: Set up reviewdog\n        run: |\n          mkdir -p $HOME/bin\n          curl -sfL \\\n            https://github.com/reviewdog/reviewdog/raw/master/install.sh | \\\n              sh -s -- -b $HOME/bin\n          echo \"$HOME/bin\" >> $GITHUB_PATH\n\n      - name: Run ruff\n        env:\n          REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -o pipefail\n          ruff check . | reviewdog -f=pep8 -name=ruff -reporter=github-check -filter-mode=nofilter\n\n      - name: Run flake8\n        env:\n          REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -o pipefail\n          flake8 | reviewdog -f=pep8 -name=flake8 -reporter=github-check -filter-mode=nofilter\n\n      - name: Run doc8\n        # Don't skip doc8 if flake8 fails\n        if: always()\n        env:\n          REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -o pipefail\n          doc8 docs | reviewdog -efm='%f:%l: %m' -name=doc8 -reporter=github-check -filter-mode=nofilter\n\n      - name: Run codespell\n        # Don't skip codespell if any other steps fail\n        if: always()\n        env:\n          REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -o pipefail\n          codespell | reviewdog -efm='%f:%l: %m' -name=codespell -reporter=github-check -filter-mode=nofilter\n\n      - name: Check static data registry\n        # Don't skip if any other steps fail\n        if: always()\n        run: |\n          python -c \"import pooch; pooch.make_registry('staticdata', 'src/metpy/static-data-manifest.txt')\"\n          git diff --exit-code\n", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:22.980646", "created_at": "2021-05-04T21:18:53+02:00", "updated_at": "2021-05-04T21:18:53+02:00", "name": "Nightly Checks", "path": ".github/workflows/nightly-builds.yml", "contents": "name: Nightly Checks\n\non:\n  schedule:\n  # Runs at 09Z (3am MDT)\n    - cron: \"0 9 * * *\"\n\n  # Allow a manual run\n  workflow_dispatch:\n\n  # Run if we modify the workflow\n  push:\n    branches:\n      - main\n    paths:\n      - .github/workflows/nightly-builds.yml\n      - .github/workflows/unstable-builds.yml\n  pull_request:\n    paths:\n      - .github/workflows/nightly-builds.yml\n      - .github/workflows/unstable-builds.yml\n\njobs:\n  Builds:\n    uses: ./.github/workflows/unstable-builds.yml\n\n  Report:\n    name: Report\n    needs: Builds\n    if: failure() || github.event_name == 'pull_request'\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n\n    steps:\n      - name: Download logs\n        uses: actions/download-artifact@v4\n        with:\n          path: /tmp/workspace/logs\n\n      - name: Grab log files\n        run: |\n          cp /tmp/workspace/logs/log-*/*.log . || true\n          touch tests-nightly.log build.log linkchecker.log\n\n      - name: Report failures\n        uses: actions/github-script@v7\n        with:\n          script: |\n            const fs = require('fs');\n            const title = \"Nightly build is failing\";\n            const workflow_url = `https://github.com/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`;\n            body = `The [Nightly workflow](${workflow_url}) is failing.\\n`;\n\n            if ('${{ needs.Builds.outputs.tests_result }}' === 'failure') {\n              const test_log = fs.readFileSync('tests-nightly.log', 'utf8').substring(0, 21000);\n              body += `The tests failed.\\nLog:\\n<details><pre>${test_log}</pre></details>`;\n            }\n            if ('${{ needs.Builds.outputs.docs_result }}' === 'failure') {\n              const build_log = fs.readFileSync('build.log', 'utf8').substring(0, 21000);\n              const linkchecker = fs.readFileSync('linkchecker.log', 'utf8').substring(0, 21000);\n              body += `The documentation build failed.\\nLog:\\n<details><pre>${build_log}</pre></details>`;\n              body += `\\nLinkchecker output:\\n<details><pre>${linkchecker}</pre></details>`;\n            }\n\n            // See if we have an existing issue\n            const items = await github.rest.issues.listForRepo({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              state: 'open',\n              creator: 'github-actions[bot]'\n            });\n            const existing = items.data.filter(i => i.title === title);\n\n            params = {\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: body,\n              title: title,\n              labels: ['Type: Maintenance']\n            };\n            \n            // On PRs, avoid actually issuing an API request, since we don't have permission\n            if ( context.eventName === 'pull_request' ) {\n              github.hook.wrap('request', (request, options) => { return {}; })\n            }\n            \n            if (existing.length === 0) {\n                console.log('Creating new issue.')\n                github.rest.issues.create(params)\n            } else {\n                params.issue_number = existing[0].number;\n                console.log(`Updating existing issue: ${params.issue_number}`)\n                github.rest.issues.update(params)\n            }\n", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:24.082253", "created_at": "2020-08-06T09:59:32+02:00", "updated_at": "2021-11-25T07:09:05+01:00", "name": "Make Release", "path": ".github/workflows/release.yml", "contents": "name: Make Release\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  build:\n    name: Build Release Packages\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      id: setup\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n\n    - name: Install build tools\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade setuptools setuptools_scm wheel\n\n    - name: Build packages\n      run: python setup.py sdist bdist_wheel\n\n    - name: Save built packages as artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: packages-${{ runner.os }}-${{ steps.setup.outputs.python-version }}\n        path: dist/\n        if-no-files-found: error\n        retention-days: 5\n\n  publish:\n    name: Publish to PyPI\n    needs: build\n    environment:\n      name: PyPI\n      url: https://pypi.org/project/MetPy/\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    runs-on: ubuntu-latest\n    steps:\n    - name: Download packages\n      uses: actions/download-artifact@v4\n\n    - name: Consolidate packages for upload\n      run: |\n        mkdir dist\n        cp packages-*/* dist/\n\n    - name: Publish Package\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:25.290833", "created_at": "2023-02-18T01:09:46+01:00", "updated_at": "2023-03-01T21:51:53+01:00", "name": "PR Unstable Builds", "path": ".github/workflows/run-unstable-pr.yml", "contents": "name: PR Unstable Builds\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - labeled\n\njobs:\n  Builds:\n    if: |\n      ((github.event.action == 'labeled' && github.event.label.name == 'nightly-ci') ||\n       contains(github.event.pull_request.labels.*.name, 'nightly-ci'))\n    uses: ./.github/workflows/unstable-builds.yml\n", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:26.421111", "created_at": "2020-07-29T08:19:07+02:00", "updated_at": "2020-07-29T08:19:07+02:00", "name": "Conda Tests", "path": ".github/workflows/tests-conda.yml", "contents": "name: Conda Tests\n\n# We don't want pushes (or PRs) to gh-pages to kick anything off\non:\n  push:\n    branches:\n      - main\n      - '[0-9]+.[0-9]+.x'\n  pull_request:\n    branches:\n      - main\n      - '[0-9]+.[0-9]+.x'\n\nconcurrency:\n  group: ${{ github.workflow}}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  #\n  # Run all tests on Conda on both Windows and macOS\n  #\n  CondaTests:\n    name: ${{ matrix.os }} ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9, 3.12]\n        os: [macOS, Windows]\n        include:\n          - python-version: '3.10'\n            os: macOS\n          - python-version: 3.11\n            os: Windows\n\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 150\n        fetch-tags: true\n\n    - name: Install from Conda\n      uses: ./.github/actions/install-conda\n      with:\n        type: 'test'\n        python-version: ${{ matrix.python-version }}\n\n    - name: Run tests\n      uses: ./.github/actions/run-tests\n      with:\n        run-doctests: ${{ runner.os != 'Windows' }}\n        key: conda-${{ matrix.python-version }}-${{ runner.os }}\n\n  codecov:\n    name: CodeCov Upload\n    needs: CondaTests\n    runs-on: ubuntu-latest\n    environment:\n      name: CodeCov\n    timeout-minutes: 2\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Download coverage artifacts\n        uses: actions/download-artifact@v4\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          name: ${{ github.workflow }}\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:27.514347", "created_at": "2020-07-29T08:19:07+02:00", "updated_at": "2020-07-29T08:19:07+02:00", "name": "PyPI Tests", "path": ".github/workflows/tests-pypi.yml", "contents": "name: PyPI Tests\n\n# We don't want pushes (or PRs) to gh-pages to kick anything off\non:\n  push:\n    branches:\n      - main\n      - '[0-9]+.[0-9]+.x'\n  pull_request:\n    branches:\n      - main\n      - '[0-9]+.[0-9]+.x'\n\nconcurrency:\n  group: ${{ github.workflow}}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  #\n  # Run all tests on Linux using standard PyPI packages, including minimum requirements\n  #\n  PyPITests:\n    name: ${{ matrix.python-version }} ${{ matrix.dep-versions }} ${{ matrix.no-extras }}\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9, '3.10', 3.11, 3.12]\n        dep-versions: [Latest]\n        no-extras: ['']\n        include:\n          - python-version: 3.9\n            dep-versions: Minimum\n          - python-version: 3.9\n            dep-versions: Minimum\n            no-extras: 'No Extras'\n          - python-version: 3.12\n            dep-versions: Latest\n            no-extras: 'No Extras'\n\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 150\n        fetch-tags: true\n\n    - name: Generate minimum dependencies\n      if: ${{ matrix.dep-versions == 'Minimum' }}\n      run: |\n        pip install tomli\n        python << EOF\n        import tomli as tomllib\n        from pathlib import Path\n\n        # Read our pyproject.toml\n        config = tomllib.load(open('pyproject.toml', 'rb'))['project']\n        opt_deps = config['optional-dependencies']\n\n        # Generate a Minimum dependency file\n        for src, fname in [(config['dependencies'], 'requirements.txt'),\n                           (opt_deps['test'], 'test_requirements.txt'), (opt_deps['extras'], 'extra_requirements.txt')]:\n          with (Path('ci') / fname).open('wt') as out:\n            for dep in src:\n              dep = dep.split(';')[0]\n              out.write(dep.replace('>=', '==') + '\\n')\n        EOF\n\n    - name: Install from PyPI\n      uses: ./.github/actions/install-pypi\n      with:\n        need-extras: ${{ matrix.no-extras != 'No Extras' }}\n        type: 'test'\n        python-version: ${{ matrix.python-version }}\n        old-build: ${{ matrix.no-extras != 'No Extras' && matrix.dep-versions == 'Minimum' }}\n\n    - name: Run tests\n      uses: ./.github/actions/run-tests\n      with:\n        run-doctests: ${{ matrix.dep-versions == 'Latest' && matrix.no-extras != 'No Extras' }}\n        key: pypi-${{ matrix.python-version }}-${{ matrix.dep-versions }}-${{ matrix.no-extras }}-${{ runner.os }}\n\n  codecov:\n    needs: PyPITests\n    name: CodeCov Upload\n    runs-on: ubuntu-latest\n    environment:\n      name: CodeCov\n    timeout-minutes: 2\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Download coverage artifacts\n        uses: actions/download-artifact@v4\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          name: ${{ github.workflow }}\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:28.671692", "created_at": "2023-03-01T21:51:53+01:00", "updated_at": "2023-03-01T21:51:53+01:00", "name": "Unstable Builds", "path": ".github/workflows/unstable-builds.yml", "contents": "name: Unstable Builds\n\non:\n  workflow_call:\n    outputs:\n      tests_result:\n        description: \"Result from running tests\"\n        value: ${{ jobs.Tests.outputs.result }}\n      docs_result:\n        description: \"Result from running docs\"\n        value: ${{ jobs.Docs.outputs.result }}\n\njobs:\n  Tests:\n    runs-on: ubuntu-20.04\n    outputs:\n      result: ${{ steps.tests.outcome }}\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 150\n        fetch-tags: true\n\n    - name: Assemble test requirements\n      run: |\n        echo git+https://github.com/hgrecco/pint@master#egg=pint >> ci/test_requirements.txt\n        echo git+https://github.com/pydata/xarray@main#egg=xarray >> ci/test_requirements.txt\n\n    - name: Install using PyPI\n      uses: ./.github/actions/install-pypi\n      with:\n        need-extras: true\n        type: test\n        version-file: Prerelease\n        python-version: 3.12\n\n    - name: Run tests\n      id: tests\n      uses: ./.github/actions/run-tests\n      with:\n        run-doctests: false\n        key: nightly\n        upload-coverage: false\n\n    - name: Upload test log\n      if: failure()\n      uses: actions/upload-artifact@v4\n      with:\n        name: log-nightly-tests\n        path: tests-nightly.log\n        retention-days: 5\n\n  Docs:\n    runs-on: ubuntu-20.04\n    outputs:\n      result: ${{ steps.build.outcome }}\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 150\n        fetch-tags: true\n\n    - name: Assemble doc requirements\n      run: |\n        echo git+https://github.com/hgrecco/pint@master#egg=pint >> ci/doc_requirements.txt\n        echo git+https://github.com/pydata/xarray@main#egg=xarray >> ci/doc_requirements.txt\n\n    - name: Install using PyPI\n      uses: ./.github/actions/install-pypi\n      with:\n        type: doc\n        version-file: Prerelease\n        python-version: 3.12\n\n    - name: Build docs\n      id: build\n      uses: ./.github/actions/build-docs\n      with:\n        run-linkchecker: true\n        key: nightly\n\n    - name: Upload build log\n      if: failure()\n      uses: actions/upload-artifact@v4\n      with:\n        name: log-nightly-docs\n        path: |\n          build.log\n          linkchecker.log\n        retention-days: 5\n", "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:29.784713", "created_at": "2021-12-17T22:31:24+01:00", "updated_at": "2021-12-17T22:31:24+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "unidata/metpy"}
{"mined_at": "2024-07-15T14:48:31.838691", "created_at": "2024-07-01T15:34:25+02:00", "updated_at": "2024-07-01T15:34:44+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": null, "state": "active", "repository": "vitalik/django-ninja"}
{"mined_at": "2024-07-15T14:48:33.074276", "created_at": "2020-12-14T10:52:10+01:00", "updated_at": "2020-12-14T10:52:10+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n      - name: Install Flit\n        run: pip install flit\n      - name: Install Dependencies\n        run: flit install --symlink\n      - name: Publish\n        env:\n          FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }}\n          FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}\n        run: flit publish\n\n  docs:\n    runs-on: ubuntu-latest\n    \n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Docs update\n        # run: git push origin master:docs\n        run: git branch -a\n", "state": "active", "repository": "vitalik/django-ninja"}
{"mined_at": "2024-07-15T14:48:34.202517", "created_at": "2020-08-19T10:16:45+02:00", "updated_at": "2022-01-09T11:32:59+01:00", "name": "Test Coverage", "path": ".github/workflows/test.yml", "contents": "name: Test Coverage\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  test_coverage:\n    runs-on: ubuntu-latest\n    \n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Install Flit\n        run: pip install flit\n      - name: Install Dependencies\n        run: flit install --symlink\n      - name: Test\n        run: pytest --cov=ninja --cov-report=xml tests\n      - name: Coverage\n        uses: codecov/codecov-action@v4.0.0\n", "state": "active", "repository": "vitalik/django-ninja"}
{"mined_at": "2024-07-15T14:48:35.215178", "created_at": "2021-01-02T15:25:22+01:00", "updated_at": "2021-01-02T15:25:22+01:00", "name": "Full Test", "path": ".github/workflows/test_full.yml", "contents": "name: Full Test\n\non:\n  push:\n  workflow_dispatch:\n  pull_request:\n    types: [assigned, opened, synchronize, reopened]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n        django-version: ['<3.2', '<3.3', '<4.2', '<4.3', '<5.1']\n        exclude:\n          - python-version: '3.7'\n            django-version: '<5.1'\n          - python-version: '3.8'\n            django-version: '<5.1'\n          - python-version: '3.9'\n            django-version: '<5.1'\n          - python-version: '3.12'\n            django-version: '<3.2'\n          - python-version: '3.12'\n            django-version: '<3.3'\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install core\n        run: pip install --pre \"Django${{ matrix.django-version }}\" \"pydantic<3\"\n      - name: Install tests\n        run: pip install pytest pytest-asyncio pytest-django psycopg2-binary\n      - name: Test\n        run: pytest\n\n  coverage:\n    runs-on: ubuntu-latest\n    \n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Install Flit\n        run: pip install flit\n      - name: Install Dependencies\n        run: flit install --symlink\n      - name: Test\n        run: pytest --cov=ninja\n\n  codestyle:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Install Flit\n        run: pip install flit\n      - name: Install Dependencies\n        run: flit install --symlink\n      - name: Ruff format\n        run: ruff format --check ninja tests\n      - name: Ruff lint\n        run: ruff check ninja tests\n      - name: mypy\n        run: mypy ninja tests/mypy_test.py\n", "state": "active", "repository": "vitalik/django-ninja"}
{"mined_at": "2024-07-15T14:48:37.391693", "created_at": "2021-01-09T18:08:33+01:00", "updated_at": "2023-09-12T07:50:35+02:00", "name": "Flake8", "path": ".github/workflows/flake8.yml", "contents": "name: Flake8\n\non:\n  push:\n  pull_request:\n\njobs:\n  flake8:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n        cache: pip\n        cache-dependency-path: requirements*.txt\n\n    - name: Install pre-commit\n      run: |\n        python -m pip install --upgrade pip wheel\n        pip install -r requirements-dev.txt\n\n    - name: Run flake8\n      run: |\n        echo \"::add-matcher::.github/matchers/flake8.json\"\n        pre-commit run flake8 --all-files\n        echo \"::remove-matcher owner=flake8::\"\n", "state": "active", "repository": "python-social-auth/social-core"}
{"mined_at": "2024-07-15T14:48:38.604586", "created_at": "2021-01-10T04:51:53+01:00", "updated_at": "2021-01-10T04:51:53+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n        cache: pip\n        cache-dependency-path: requirements*.txt\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel twine\n\n    - name: Verify tag is documented\n      run: |\n        CURRENT_TAG=${GITHUB_REF#refs/tags/}\n        CURRENT_VERSION=$(head -n1 social_core/__init__.py | awk '{print $3}' | sed 's/[^0-9\\.]//g')\n        if [ \"${CURRENT_VERSION}\" != \"${CURRENT_TAG}\" ]; then\n            echo \"========================================================================\"\n            echo \"Error: tag '${CURRENT_TAG}' and version '${CURRENT_VERSION}' don't match\"\n            echo \"========================================================================\"\n            exit 1;\n        fi\n\n    - name: Build dist\n      run: python setup.py sdist bdist_wheel --python-tag py3\n\n    - name: Archive dist\n      uses: actions/upload-artifact@v4\n      with:\n        name: dist\n        path: |\n          dist/*.tar.gz\n          dist/*.whl\n\n    - name: Verify long description rendering\n      run: twine check dist/*\n\n    - name: Publish\n      env:\n        PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        twine upload --non-interactive -u __token__ -p \"${PYPI_API_TOKEN}\" dist/*\n", "state": "active", "repository": "python-social-auth/social-core"}
{"mined_at": "2024-07-15T14:48:39.730317", "created_at": "2021-01-09T18:52:41+01:00", "updated_at": "2021-01-09T18:58:08+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version:\n        - '3.8'\n        - '3.9'\n        - '3.10'\n        - '3.11'\n        - '3.12'\n    env:\n      PYTHON_VERSION: ${{ matrix.python-version }}\n      PYTHONUNBUFFERED: 1\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: requirements*.txt\n\n    - name: Install System dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -qq -y --no-install-recommends libxmlsec1-dev swig\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install coverage tox\n\n    - name: Test with tox\n      run: tox -e \"py${PYTHON_VERSION/\\./}\"\n\n    - uses: codecov/codecov-action@v3\n      with:\n        flags: unittests\n        name: Python ${{ matrix.python-version }}\n", "state": "active", "repository": "python-social-auth/social-core"}
{"mined_at": "2024-07-15T14:48:41.879921", "created_at": "2020-12-08T16:54:56+01:00", "updated_at": "2020-12-08T16:54:56+01:00", "name": "CI", "path": ".github/workflows/main.yaml", "contents": "name: CI\n\non:\n  push:\n    branches: \"*\"\n  pull_request:\n    branches: master\n\njobs:\n  test:\n    name: ${{ matrix.OS }}-${{ matrix.CONDA_ENV }}-pytest\n    runs-on: ${{ matrix.OS }}\n    strategy:\n      fail-fast: false\n      matrix:\n        OS: [ubuntu-latest, windows-latest]\n        CONDA_ENV: [py38, py39, py310, py311, pip]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup conda\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: scripts/ci/environment-${{ matrix.CONDA_ENV }}.yml\n\n      - name: pip-install\n        shell: bash -l {0}\n        run: |\n          pip install . --no-deps\n\n      - name: Run Tests\n        shell: bash -l {0}\n        run: |\n          pytest -v intake/readers\n", "state": "active", "repository": "intake/intake"}
{"mined_at": "2024-07-15T14:48:42.917515", "created_at": "2023-02-21T03:05:37+01:00", "updated_at": "2023-02-23T04:44:25+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n    branches:\n      - '*'\n  push:\n    branches: [master]\n  workflow_dispatch:\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v4\n      with:\n          python-version: \"3.11\"\n    - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "intake/intake"}
{"mined_at": "2024-07-15T14:48:44.133295", "created_at": "2020-12-08T16:54:56+01:00", "updated_at": "2020-12-08T16:54:56+01:00", "name": "Upload Python Package", "path": ".github/workflows/pypipublish.yaml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools setuptools-scm wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "intake/intake"}
{"mined_at": "2024-07-15T14:48:46.541889", "created_at": "2020-01-08T00:54:38+01:00", "updated_at": "2020-01-08T00:54:38+01:00", "name": "", "path": "", "contents": null, "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:48:47.745734", "created_at": "2024-02-05T09:20:09+01:00", "updated_at": "2024-02-05T10:05:26+01:00", "name": "Backport PR", "path": ".github/workflows/backport-pr.yml", "contents": "name: Backport PR\non:\n  pull_request_target:\n    types:\n      - closed\n      - labeled\n\njobs:\n  backport:\n    name: Backport PR\n    runs-on: ubuntu-latest\n    if: >\n      github.event.pull_request.merged\n      && (\n        github.event.action == 'closed'\n        || (\n          github.event.action == 'labeled'\n          && contains(github.event.label.name, 'backport')\n        )\n      )\n    steps:\n      - name: Create token\n        uses: actions/create-github-app-token@v1\n        id: token-generator\n        with:\n          app-id: ${{ secrets.DD_AGENT_INTEGRATIONS_BOT_APP_ID }}\n          private-key: ${{ secrets.DD_AGENT_INTEGRATIONS_BOT_PRIVATE_KEY }}\n          repositories: integrations-core\n      - uses: tibdex/backport@v2\n        with:\n          label_pattern: \"^backport/(?<base>([^ ]+))$\"\n          labels_template: \"[\\\"backport\\\", \\\"bot\\\"]\"\n          body_template: |\n            Backport <%= mergeCommitSha %> from #<%= number %>.\n\n            ___\n\n            <%= body %>\n          github_token: ${{ steps.token-generator.outputs.token }}\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:48:48.947893", "created_at": "2023-06-15T18:32:51+02:00", "updated_at": "2023-06-16T16:46:01+02:00", "name": "build ddev", "path": ".github/workflows/build-ddev.yml", "contents": "name: build ddev\n\non:\n  push:\n    tags:\n    - ddev-v*\n    branches:\n    - master\n  pull_request:\n    paths:\n    - .github/workflows/build-ddev.yml\n    - ddev/**\n    branches:\n    - master\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ddev\n\nenv:\n  APP_NAME: ddev\n  PYTHON_VERSION: \"3.11\"\n  PYOXIDIZER_VERSION: \"0.24.0\"\n\njobs:\n  python-artifacts:\n    name: Build wheel and source distribution\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Install build frontend\n      run: python -m pip install --upgrade build\n\n    - name: Build\n      run: python -m build\n\n    - name: Upload artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: python-artifacts\n        path: ddev/dist/*\n        if-no-files-found: error\n\n  binaries:\n    name: ${{ matrix.job.target }} (${{ matrix.job.os }})\n    needs:\n    - python-artifacts\n    runs-on: ${{ matrix.job.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        job:\n        # Linux\n        - target: aarch64-unknown-linux-gnu\n          os: ubuntu-22.04\n          cross: true\n        - target: x86_64-unknown-linux-gnu\n          os: ubuntu-22.04\n          cross: true\n        - target: x86_64-unknown-linux-musl\n          os: ubuntu-22.04\n          cross: true\n        - target: powerpc64le-unknown-linux-gnu\n          os: ubuntu-22.04\n          cross: true\n        # Windows\n        - target: x86_64-pc-windows-msvc\n          os: windows-2022\n        - target: i686-pc-windows-msvc\n          os: windows-2022\n        # macOS\n        - target: aarch64-apple-darwin\n          os: macos-12\n        - target: x86_64-apple-darwin\n          os: macos-12\n\n    outputs:\n      version: ${{ steps.version.outputs.version }}\n\n    env:\n      CARGO: cargo\n      CARGO_BUILD_TARGET: ${{ matrix.job.target }}\n      PYAPP_REPO: pyapp\n      PYAPP_VERSION: \"0.15.1\"\n      PYAPP_PIP_EXTERNAL: \"1\"\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Fetch PyApp\n      run: >-\n        mkdir $PYAPP_REPO && curl -L\n        https://github.com/ofek/pyapp/releases/download/v$PYAPP_VERSION/source.tar.gz\n        |\n        tar --strip-components=1 -xzf - -C $PYAPP_REPO\n\n    - name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n\n    - name: Install Hatch\n      run: pip install -U hatch\n\n    - name: Install Hatch environment collector plugin\n      run: pip install -e . --no-deps\n\n    - name: Install Rust toolchain\n      uses: dtolnay/rust-toolchain@stable\n      with:\n        targets: ${{ matrix.job.target }}\n\n    - name: Set up cross compiling\n      if: matrix.job.cross\n      uses: taiki-e/install-action@v2\n      with:\n        tool: cross\n\n    - name: Configure cross compiling\n      if: matrix.job.cross\n      run: echo \"CARGO=cross\" >> $GITHUB_ENV\n\n    - name: Configure target\n      run: |-\n        config_file=\"$PYAPP_REPO/.cargo/config_${{ matrix.job.target }}.toml\"\n        if [[ -f \"$config_file\" ]]; then\n          mv \"$config_file\" \"$PYAPP_REPO/.cargo/config.toml\"\n        fi\n\n    - name: Download Python artifacts\n      if: ${{ !startsWith(github.event.ref, 'refs/tags') }}\n      uses: actions/download-artifact@v4\n      with:\n        name: python-artifacts\n        path: ddev/dist\n\n    - name: Configure embedded project\n      if: ${{ !startsWith(github.event.ref, 'refs/tags') }}\n      run: |-\n        cd dist\n        wheel=\"$(echo *.whl)\"\n        mv \"$wheel\" \"../$PYAPP_REPO\"\n        echo \"PYAPP_PROJECT_PATH=$wheel\" >> $GITHUB_ENV\n\n    - name: Set project version\n      id: version\n      run: |-\n        raw_version=\"$(hatch version)\"\n        version=\"${raw_version/dev/}\"\n\n        echo \"raw-version=$raw_version\" >> $GITHUB_OUTPUT\n        echo \"version=$version\" >> $GITHUB_OUTPUT\n        echo \"$version\"\n\n    # We cannot use anchors because of https://github.com/actions/runner/issues/1182 and\n    # other solutions like writing a composite action are burdensome\n    - name: Set reusable script - Correct binary version\n      id: script-version\n      # Windows installers don't accept non-integer versions so we ubiquitously\n      # perform the following transformation: X.Y.Z.devN -> X.Y.Z.N\n      run: |-\n        cat <<\"OUTER\" >> $GITHUB_OUTPUT\n        script<<INNER\n        cd dist/app\n        old_binary=\"$(ls)\"\n        binary=\"${old_binary/${{ steps.version.outputs.raw-version }}/${{ steps.version.outputs.version }}}\"\n        mv \"$old_binary\" \"$binary\"\n        INNER\n        OUTER\n\n    - name: Set reusable script - Archive binary\n      id: script-archive\n      run: |-\n        cat <<\"OUTER\" >> $GITHUB_OUTPUT\n        script<<INNER\n        mkdir packaging\n        cd dist/app\n\n        binary=\"$(ls)\"\n\n        if [[ \"$binary\" =~ -pc-windows- ]]; then\n          7z a \"../../packaging/${binary:0:-4}.zip\" \"$binary\"\n        else\n          chmod +x \"$binary\"\n          tar -czf \"../../packaging/$binary.tar.gz\" \"$binary\"\n        fi\n        INNER\n        OUTER\n\n    - name: Build managed binary\n      env:\n        PYAPP_SELF_COMMAND: \"none\"\n      run: hatch build --target app\n\n    - name: Correct binary version\n      if: steps.version.outputs.version != steps.version.outputs.raw-version\n      run: ${{ steps.script-version.outputs.script }}\n\n    - name: Archive binary\n      run: ${{ steps.script-archive.outputs.script }}\n\n    - name: Upload staged managed archive\n      if: runner.os != 'Linux'\n      uses: actions/upload-artifact@v4\n      with:\n        name: staged-managed-${{ runner.os }}-${{ matrix.job.target }}\n        path: ddev/packaging/*\n        if-no-files-found: error\n\n    - name: Reset artifact directories\n      run: rm -rf dist/app packaging\n\n    - name: Build standalone binary\n      run: hatch build --target app\n\n    - name: Correct binary version\n      if: steps.version.outputs.version != steps.version.outputs.raw-version\n      run: ${{ steps.script-version.outputs.script }}\n\n    - name: Archive binary\n      run: ${{ steps.script-archive.outputs.script }}\n\n    - name: Upload staged standalone archive\n      if: runner.os != 'Linux'\n      uses: actions/upload-artifact@v4\n      with:\n        name: staged-standalone-${{ runner.os }}-${{ matrix.job.target }}\n        path: ddev/packaging/*\n        if-no-files-found: error\n\n    # There are no installers nor extra steps like signing for Linux so we\n    # can upload directly at this point\n    - name: Upload standalone archive\n      if: runner.os == 'Linux'\n      uses: actions/upload-artifact@v4\n      with:\n        name: standalone-${{ matrix.job.target }}\n        path: ddev/packaging/*\n        if-no-files-found: error\n\n  windows-packaging:\n    name: Build Windows installers\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository\n    needs: binaries\n    runs-on: windows-2022\n\n    env:\n      VERSION: ${{ needs.binaries.outputs.version }}\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n\n    - name: Install PyOxidizer ${{ env.PYOXIDIZER_VERSION }}\n      run: pip install pyoxidizer==${{ env.PYOXIDIZER_VERSION }}\n\n    # We cannot use anchors because of https://github.com/actions/runner/issues/1182 and\n    # other solutions like writing a composite action are burdensome\n    - name: Set reusable script - Extract binaries\n      id: script-extract\n      run: |-\n        cat <<\"OUTER\" >> $GITHUB_OUTPUT\n        script<<INNER\n        mkdir bin\n        for f in archives/*; do\n          7z e \"$f\" -obin\n        done\n        INNER\n        OUTER\n\n    - name: Set reusable script - Prepare binaries\n      id: script-prepare\n      # bin/<APP_NAME>-<VERSION>-<TARGET>.exe -> targets/<TARGET>/<APP_NAME>.exe\n      run: |-\n        cat <<\"OUTER\" >> $GITHUB_OUTPUT\n        script<<INNER\n        mkdir targets\n        for f in bin/*; do\n          if [[ \"$f\" =~ ${{ env.VERSION }}-(.+).exe$ ]]; then\n            target=\"${BASH_REMATCH[1]}\"\n            mkdir \"targets/$target\"\n            mv \"$f\" \"targets/$target/${{ env.APP_NAME }}.exe\"\n          fi\n        done\n        INNER\n        OUTER\n\n    - name: Download staged standalone binaries\n      uses: actions/download-artifact@v4\n      with:\n        pattern: staged-standalone-${{ runner.os }}-*\n        path: ddev/archives\n        merge-multiple: true\n\n    - name: Extract staged standalone binaries\n      run: ${{ steps.script-extract.outputs.script }}\n\n    - name: Prepare standalone binaries\n      run: ${{ steps.script-prepare.outputs.script }}\n\n    - name: Upload standalone binaries\n      uses: actions/upload-artifact@v4\n      with:\n        name: standalone\n        path: ddev/archives/*\n        if-no-files-found: error\n\n    - name: Reset artifact directories\n      run: rm -rf archives bin targets\n\n    - name: Download staged managed binaries\n      uses: actions/download-artifact@v4\n      with:\n        pattern: staged-managed-${{ runner.os }}-*\n        path: ddev/archives\n        merge-multiple: true\n\n    - name: Extract staged managed binaries\n      run: ${{ steps.script-extract.outputs.script }}\n\n    - name: Prepare managed binaries\n      run: ${{ steps.script-prepare.outputs.script }}\n\n    - name: Build installers\n      run: >-\n        pyoxidizer build windows_installers\n        --release\n        --var version ${{ env.VERSION }}\n\n    - name: Prepare installers\n      run: |-\n        mkdir installers\n        mv build/*/release/*/*.{exe,msi} installers\n\n    - name: Upload installers\n      uses: actions/upload-artifact@v4\n      with:\n        name: installers-${{ runner.os }}\n        path: ddev/installers/*\n        if-no-files-found: error\n\n  macos-packaging:\n    name: Build macOS installer and sign/notarize artifacts\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository\n    needs: binaries\n    runs-on: macos-12\n\n    env:\n      VERSION: ${{ needs.binaries.outputs.version }}\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n\n    - name: Install PyOxidizer ${{ env.PYOXIDIZER_VERSION }}\n      run: pip install pyoxidizer==${{ env.PYOXIDIZER_VERSION }}\n\n    - name: Install rcodesign\n      env:\n        ARCHIVE_NAME: \"apple-codesign-0.27.0-x86_64-apple-darwin\"\n      run: >-\n        curl -L\n        \"https://github.com/indygreg/apple-platform-rs/releases/download/apple-codesign%2F0.27.0/$ARCHIVE_NAME.tar.gz\"\n        |\n        tar --strip-components=1 -xzf - -C /usr/local/bin \"$ARCHIVE_NAME/rcodesign\"\n\n    - name: Write credentials\n      env:\n        APPLE_DEVELOPER_ID_APPLICATION_CERTIFICATE: \"${{ secrets.APPLE_DEVELOPER_ID_APPLICATION_CERTIFICATE }}\"\n        APPLE_DEVELOPER_ID_APPLICATION_PRIVATE_KEY: \"${{ secrets.APPLE_DEVELOPER_ID_APPLICATION_PRIVATE_KEY }}\"\n        APPLE_DEVELOPER_ID_INSTALLER_CERTIFICATE: \"${{ secrets.APPLE_DEVELOPER_ID_INSTALLER_CERTIFICATE }}\"\n        APPLE_DEVELOPER_ID_INSTALLER_PRIVATE_KEY: \"${{ secrets.APPLE_DEVELOPER_ID_INSTALLER_PRIVATE_KEY }}\"\n        APPLE_APP_STORE_CONNECT_API_DATA: \"${{ secrets.APPLE_APP_STORE_CONNECT_API_DATA }}\"\n      run: |-\n        echo \"$APPLE_DEVELOPER_ID_APPLICATION_CERTIFICATE\" > /tmp/certificate-application.pem\n        echo \"$APPLE_DEVELOPER_ID_APPLICATION_PRIVATE_KEY\" > /tmp/private-key-application.pem\n        echo \"$APPLE_DEVELOPER_ID_INSTALLER_CERTIFICATE\" > /tmp/certificate-installer.pem\n        echo \"$APPLE_DEVELOPER_ID_INSTALLER_PRIVATE_KEY\" > /tmp/private-key-installer.pem\n        echo \"$APPLE_APP_STORE_CONNECT_API_DATA\" > /tmp/app-store-connect.json\n\n    # We cannot use anchors because of https://github.com/actions/runner/issues/1182 and\n    # other solutions like writing a composite action are burdensome\n    - name: Set reusable script - Extract binaries\n      id: script-extract\n      run: |-\n        cat <<\"OUTER\" >> $GITHUB_OUTPUT\n        script<<INNER\n        mkdir bin\n        for f in archives/*; do\n          tar -xzf \"$f\" -C bin\n        done\n        INNER\n        OUTER\n\n    - name: Set reusable script - Sign binaries\n      id: script-sign\n      # https://developer.apple.com/documentation/security/hardened_runtime\n      run: |-\n        cat <<\"OUTER\" >> $GITHUB_OUTPUT\n        script<<INNER\n        for f in bin/*; do\n          rcodesign sign -vv \\\n          --pem-source /tmp/certificate-application.pem \\\n          --pem-source /tmp/private-key-application.pem \\\n          --code-signature-flags runtime \\\n          \"$f\"\n        done\n        INNER\n        OUTER\n\n    - name: Set reusable script - Notarize binaries\n      id: script-notarize\n      # https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution\n      run: |-\n        cat <<\"OUTER\" >> $GITHUB_OUTPUT\n        script<<INNER\n        mkdir notarize-bin\n\n        cd bin\n        for f in *; do\n          zip \"../notarize-bin/$f.zip\" \"$f\"\n        done\n\n        cd ../notarize-bin\n        for f in *; do\n          rcodesign notary-submit -vv \\\n          --api-key-path /tmp/app-store-connect.json \\\n          \"$f\"\n        done\n        INNER\n        OUTER\n\n    - name: Download staged standalone binaries\n      uses: actions/download-artifact@v4\n      with:\n        pattern: staged-standalone-${{ runner.os }}-*\n        path: ddev/archives\n        merge-multiple: true\n\n    - name: Extract staged standalone binaries\n      run: ${{ steps.script-extract.outputs.script }}\n\n    - name: Sign standalone binaries\n      run: ${{ steps.script-sign.outputs.script }}\n\n    - name: Notarize standalone binaries\n      run: ${{ steps.script-notarize.outputs.script }}\n\n    - name: Archive standalone binaries\n      run: |-\n        rm archives/*\n        cd bin\n\n        for f in *; do\n          tar -czf \"../archives/$f.tar.gz\" \"$f\"\n        done\n\n    - name: Upload standalone binaries\n      uses: actions/upload-artifact@v4\n      with:\n        name: standalone-${{ runner.os }}\n        path: ddev/archives/*\n        if-no-files-found: error\n\n    - name: Reset artifact directories\n      run: rm -rf archives bin notarize-bin\n\n    - name: Download staged managed binaries\n      uses: actions/download-artifact@v4\n      with:\n        pattern: staged-managed-${{ runner.os }}-*\n        path: ddev/archives\n        merge-multiple: true\n\n    - name: Extract staged managed binaries\n      run: ${{ steps.script-extract.outputs.script }}\n\n    - name: Sign managed binaries\n      run: ${{ steps.script-sign.outputs.script }}\n\n    - name: Notarize managed binaries\n      run: ${{ steps.script-notarize.outputs.script }}\n\n    # bin/<APP_NAME>-<VERSION>-<TARGET> -> targets/<TARGET>/<APP_NAME>\n    - name: Prepare managed binaries\n      run: |-\n        mkdir targets\n        for f in bin/*; do\n          if [[ \"$f\" =~ ${{ env.VERSION }}-(.+)$ ]]; then\n            target=\"${BASH_REMATCH[1]}\"\n            mkdir \"targets/$target\"\n            mv \"$f\" \"targets/$target/${{ env.APP_NAME }}\"\n          fi\n        done\n\n    - name: Build universal binary\n      run: >-\n        pyoxidizer build macos_universal_binary\n        --release\n        --var version ${{ env.VERSION }}\n\n    - name: Prepare universal binary\n      id: binary\n      run: |-\n        binary=$(echo build/*/release/*/${{ env.APP_NAME }})\n        chmod +x \"$binary\"\n        echo \"path=$binary\" >> \"$GITHUB_OUTPUT\"\n\n    - name: Build PKG\n      run: >-\n        python release/macos/build_pkg.py\n        --binary ${{ steps.binary.outputs.path }}\n        --version ${{ env.VERSION }}\n        staged\n\n    - name: Stage PKG\n      id: pkg\n      run: |-\n        mkdir signed\n        pkg_file=\"$(ls staged)\"\n        echo \"path=$pkg_file\" >> \"$GITHUB_OUTPUT\"\n\n    - name: Sign PKG\n      run: >-\n        rcodesign sign -vv\n        --pem-source /tmp/certificate-installer.pem\n        --pem-source /tmp/private-key-installer.pem\n        \"staged/${{ steps.pkg.outputs.path }}\"\n        \"signed/${{ steps.pkg.outputs.path }}\"\n\n    - name: Notarize PKG\n      run: >-\n        rcodesign notary-submit\n        --api-key-path /tmp/app-store-connect.json\n        --staple\n        \"signed/${{ steps.pkg.outputs.path }}\"\n\n    - name: Upload installer\n      uses: actions/upload-artifact@v4\n      with:\n        name: installers-${{ runner.os }}\n        path: ddev/signed/${{ steps.pkg.outputs.path }}\n        if-no-files-found: error\n\n  publish:\n    name: Publish release\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n    needs:\n    - python-artifacts\n    - binaries\n    - windows-packaging\n    - macos-packaging\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Download Python artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: python-artifacts\n        path: dist\n\n    - name: Download binaries\n      uses: actions/download-artifact@v4\n      with:\n        pattern: standalone-*\n        name: standalone\n        path: archives\n        merge-multiple: true\n\n    - name: Download installers\n      uses: actions/download-artifact@v4\n      with:\n        pattern: installers-*\n        path: installers\n        merge-multiple: true\n\n    - name: Push Python artifacts to PyPI\n      uses: pypa/gh-action-pypi-publish@v1.8.14\n      with:\n        skip-existing: true\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN_DDEV }}\n\n    - name: Add assets to current release\n      uses: softprops/action-gh-release@v2\n      with:\n        files: |-\n          archives/*\n          installers/*\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:48:50.051942", "created_at": "2024-01-17T15:24:30+01:00", "updated_at": "2024-01-17T15:24:30+01:00", "name": "Build dependencies for mac OS", "path": ".github/workflows/build-deps-macos.yml", "contents": null, "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:48:51.301583", "created_at": "2024-02-28T10:12:08+01:00", "updated_at": "2024-02-28T10:12:08+01:00", "name": "Test dependency pipeline code", "path": ".github/workflows/build-deps-test.yml", "contents": null, "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:48:52.419319", "created_at": "2023-10-31T10:16:15+01:00", "updated_at": "2024-07-09T11:23:46+02:00", "name": "Build dependencies", "path": ".github/workflows/build-deps.yml", "contents": "name: Build dependencies\n\non:\n  pull_request:\n    branches:\n    - master\n    - 7.*.*\n    paths:\n    - .github/workflows/build-deps.yml\n    - .builders/**\n    - agent_requirements.in\n  push:\n    branches:\n    - master\n    - 7.*.*\n    paths:\n    - .builders/**\n    - agent_requirements.in\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' && true || false }}\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  PYTHONUNBUFFERED: \"1\"\n  PYTHON_VERSION: \"3.11\"\n  DIRECT_DEPENDENCY_FILE: agent_requirements.in\n  # https://reproducible-builds.org/specs/source-date-epoch/\n  SOURCE_DATE_EPOCH: \"1580601600\"\n\njobs:\n  test:\n    name: Run tests\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install dependencies\n        run: |\n          pip install -r .builders/deps/host_dependencies.txt\n          pip install -r .builders/test_dependencies.txt\n      - name: Run tests\n        run: |\n          cd .builders\n          pytest -vvv\n\n  build:\n    name: Target ${{ matrix.job.image }} on ${{ matrix.job.os }}\n    runs-on: ${{ matrix.job.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        job:\n        - os: arm-4core-linux\n          image: linux-aarch64\n        - os: ubuntu-22.04\n          image: linux-x86_64\n        - os: windows-2022\n          image: windows-x86_64\n\n    permissions:\n      packages: write\n\n    env:\n      OUT_DIR: output/${{ matrix.job.image }}\n      BUILDER_IMAGE: ghcr.io/datadog/agent-int-builder:${{ matrix.job.image }}\n      DOCKER: docker\n\n    steps:\n    - name: Checkout code\n      if: github.event_name != 'pull_request'\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 2\n\n    # On pull requests, ensure that changed files are determined before checking out the code so\n    # that we use the GitHub API, otherwise we would have to fetch the entire history (depth: 0)\n    - name: Get changed files\n      id: changed-files\n      uses: tj-actions/changed-files@v42\n      with:\n        files_yaml: |-\n          builders:\n          - .builders/**\n          dependencies:\n          - ${{ env.DIRECT_DEPENDENCY_FILE }}\n\n    - name: Checkout code\n      if: github.event_name == 'pull_request'\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ env.PYTHON_VERSION }}\n      if: matrix.job.image != 'linux-aarch64'\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n\n    - name: Set up Python (with miniconda) and other aarch64 requirements\n      if: matrix.job.image == 'linux-aarch64'\n      run: |\n        mkdir -p ~/miniconda3\n        wget https://repo.anaconda.com/miniconda/Miniconda3-py311_24.1.2-0-Linux-aarch64.sh -O ~/miniconda3/miniconda.sh\n        bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3\n        rm -rf ~/miniconda3/miniconda.sh\n        ~/miniconda3/bin/conda init bash\n\n        # jq\n        wget https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-arm64 -O ~/miniconda3/bin/jq\n        chmod +x ~/miniconda3/bin/jq\n\n        echo \"PATH=~/miniconda3/bin/:${PATH}\" >> \"$GITHUB_ENV\"\n        echo DOCKER=\"sudo docker\" >> \"$GITHUB_ENV\"\n\n    - name: Install management dependencies\n      run: |\n        pip install -r .builders/deps/host_dependencies.txt\n\n    - name: Install docker and log in (arm64)\n      if: matrix.job.image == 'linux-aarch64'\n      run: |\n        curl -fsSL https://get.docker.com -o get-docker.sh\n        sudo sh get-docker.sh\n\n        # Logging in with sudo is necessary to get authorized with the registry when running docker under sudo\n        echo ${{ secrets.GITHUB_TOKEN }} | sudo docker login --username ${{ github.actor }} --password-stdin ghcr.io\n\n    - name: Log in to GitHub Packages\n      if: matrix.job.image != 'linux-aarch64'\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Build image and wheels (arm64)\n      if: steps.changed-files.outputs.builders_any_changed == 'true' && matrix.job.image == 'linux-aarch64'\n      run: |-\n        sudo /home/runner/miniconda3/bin/python .builders/build.py ${{ matrix.job.image }} --python 3 ${{ env.OUT_DIR }}/py3\n        sudo /home/runner/miniconda3/bin/python .builders/build.py ${{ matrix.job.image }} --python 2 ${{ env.OUT_DIR }}/py2\n        # Give ownership of the output back to the user\n        sudo chown ${USER} ${{ env.OUT_DIR }}\n\n    - name: Pull image and build wheels (arm64)\n      if: steps.changed-files.outputs.builders_any_changed != 'true' && matrix.job.image == 'linux-aarch64'\n      run: |-\n        digest=$(jq -r '.[\"${{ matrix.job.image }}\"]' .deps/image_digests.json)\n        sudo /home/runner/miniconda3/bin/python .builders/build.py ${{ matrix.job.image }} --python 3 ${{ env.OUT_DIR }}/py3 --digest $digest\n        sudo /home/runner/miniconda3/bin/python .builders/build.py ${{ matrix.job.image }} --python 2 ${{ env.OUT_DIR }}/py2 --digest $digest\n\n    - name: Build image and wheels\n      if: steps.changed-files.outputs.builders_any_changed == 'true' && matrix.job.image != 'linux-aarch64'\n      run: |-\n        python .builders/build.py ${{ matrix.job.image }} --python 3 ${{ env.OUT_DIR }}/py3\n        python .builders/build.py ${{ matrix.job.image }} --python 2 ${{ env.OUT_DIR }}/py2\n\n    - name: Pull image and build wheels\n      if: steps.changed-files.outputs.builders_any_changed != 'true' && matrix.job.image != 'linux-aarch64'\n      run: |-\n        digest=$(jq -r '.[\"${{ matrix.job.image }}\"]' .deps/image_digests.json)\n        python .builders/build.py ${{ matrix.job.image }} --python 3 ${{ env.OUT_DIR }}/py3 --digest $digest\n        python .builders/build.py ${{ matrix.job.image }} --python 2 ${{ env.OUT_DIR }}/py2 --digest $digest\n\n    - name: Change permissions\n      if: matrix.job.image == 'linux-aarch64'\n      run: |\n        sudo chmod 777 ${{ env.OUT_DIR }}\n\n    - name: Publish image\n      if: github.event_name == 'push' && steps.changed-files.outputs.builders_any_changed == 'true'\n      run: ${DOCKER} push ${{ env.BUILDER_IMAGE }}\n\n    - name: Save new image digest\n      if: github.event_name == 'push' && steps.changed-files.outputs.builders_any_changed == 'true'\n      run: >-\n        ${DOCKER} inspect --format \"{{index .RepoDigests 0}}\" ${{ env.BUILDER_IMAGE }}\n        | cut -d '@' -f 2\n        > ${{ env.OUT_DIR }}/image_digest\n\n    - name: Persist current image digest\n      if: github.event_name == 'push' && steps.changed-files.outputs.builders_any_changed != 'true'\n      run: >-\n        jq -r '.[\"${{ matrix.job.image }}\"]' .deps/image_digests.json\n        > ${{ env.OUT_DIR }}/image_digest\n\n    - name: Upload artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: target-${{ matrix.job.image }}\n        path: output\n\n  build-macos:\n    name: Target macOS\n    runs-on: macos-12\n\n    env:\n      TARGET_NAME: macos-x86_64\n      OUT_DIR: output/macos-x86_64\n      DD_PYTHON3: \"/Library/Frameworks/Python.framework/Versions/3.11/bin/python\"\n      DD_PYTHON2: \"/Library/Frameworks/Python.framework/Versions/2.7/bin/python\"\n\n    steps:\n    - name: Set up environment\n      run: |-\n        # We remove everything that comes pre-installed via Homebrew to avoid depending on or shipping stuff that\n        # comes in the runner through Homebrew to better control what might get shipped in the wheels via `delocate`\n        brew remove --force --ignore-dependencies $(brew list --formula)\n        brew install coreutils\n\n    - name: Set up Python\n      env:\n        # Despite the name, this is built for the macOS 11 SDK on arm64 and 10.9+ on intel\n        PYTHON3_DOWNLOAD_URL: \"https://www.python.org/ftp/python/3.11.5/python-3.11.5-macos11.pkg\"\n        PYTHON2_DOWNLOAD_URL: \"https://www.python.org/ftp/python/2.7.18/python-2.7.18-macosx10.9.pkg\"\n      run: |-\n        curl \"$PYTHON3_DOWNLOAD_URL\" -o python3.pkg\n        sudo installer -pkg python3.pkg -target /\n\n        curl \"$PYTHON2_DOWNLOAD_URL\" -o python2.pkg\n        sudo installer -pkg python2.pkg -target /\n\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Install management dependencies\n      run: |\n        ${DD_PYTHON3} -m pip install -r .builders/deps/host_dependencies.txt\n        ${DD_PYTHON3} -m pip install --no-warn-script-location -r \".builders/images/runner_dependencies.txt\"\n\n    - name: Cache builder root\n      id: cache-builder-root\n      uses: actions/cache@v4\n      with:\n        path: |\n          ~/builder_root\n        key: macos-deps-builder-root-cache-${{ hashFiles('./.builders/images/macos/*', './.builders/images/*', './.builders/deps/*', './.builders/build.py') }}\n\n    - name: Run the build\n      env:\n        # This sets the minimum macOS version compatible for all built artifacts\n        MACOSX_DEPLOYMENT_TARGET: \"10.12\"\n        CACHE_HIT: ${{ steps.cache-builder-root.outputs.cache-hit }}\n      run: |-\n        # If we hit the cache, we can skip the builder setup\n        if [[ ${CACHE_HIT} == \"true\" ]]; then\n          ${DD_PYTHON3} .builders/build.py ${{ env.TARGET_NAME }} --builder-root ~/builder_root --python 3 ${{ env.OUT_DIR }}/py3 --skip-setup\n        else\n          mkdir ~/builder_root\n          ${DD_PYTHON3} .builders/build.py ${{ env.TARGET_NAME }} --builder-root ~/builder_root --python 3 ${{ env.OUT_DIR }}/py3\n        fi\n        # At this point we can always skip builder setup since it's equivalent for python versions\n        ${DD_PYTHON3} .builders/build.py ${{ env.TARGET_NAME }} --builder-root ~/builder_root --python 2 ${{ env.OUT_DIR }}/py2 --skip-setup\n\n    - name: Upload artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: target-macos\n        path: output\n\n  publish:\n    name: Publish artifacts\n    if: github.event_name == 'push'\n    needs:\n    - build\n    - build-macos\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: read\n      id-token: write\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        ref: \"${{ github.head_ref }}\"\n\n    - name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n\n    - name: Install management dependencies\n      run: pip install -r .builders/deps/host_dependencies.txt\n\n    - name: Download artifacts\n      uses: actions/download-artifact@v4\n      with:\n        path: targets\n        pattern: target-*\n        merge-multiple: true\n\n    - name: Get credentials\n      id: auth\n      uses: google-github-actions/auth@v2\n      with:\n        project_id: datadog-agent-int-build\n        workload_identity_provider: projects/574011472402/locations/global/workloadIdentityPools/github/providers/integrations-core\n\n    - name: Upload wheels\n      run: python .builders/upload.py targets\n\n    - name: Lock files\n      run: python .builders/lock.py targets\n\n    - name: Clean up repository\n      run: |-\n        rm ${{ steps.auth.outputs.credentials_file_path }}\n        rm -rf targets\n\n    - name: Create token\n      uses: actions/create-github-app-token@v1\n      id: token-generator\n      with:\n        app-id: ${{ vars.DD_GITHUB_TOKEN_GENERATOR_APP_ID }}\n        private-key: ${{ secrets.DD_GITHUB_TOKEN_GENERATOR_PRIVATE_KEY }}\n        repositories: integrations-core\n\n    - name: Create pull request\n      uses: peter-evans/create-pull-request@v5\n      with:\n        token: ${{ steps.token-generator.outputs.token }}\n        title: Update dependency resolution\n        commit-message: Update dependency resolution\n        branch: bot/update-dependency-resolution\n        branch-suffix: timestamp\n        delete-branch: true\n        labels: bot,qa/skip-qa\n        body: |-\n          ### Motivation\n\n          Direct dependencies were updated in ${{ github.sha }}.\n\n          ### Additional Notes\n\n          This PR was automatically generated.\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:48:53.593570", "created_at": "2023-04-02T02:04:34+02:00", "updated_at": "2023-06-22T23:44:49+02:00", "name": "Cache shared Python dependencies", "path": ".github/workflows/cache-shared-deps.yml", "contents": "name: Cache shared Python dependencies\n\non:\n  workflow_call:\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  cache:\n    name: Cache Python dependencies for ${{ startsWith(matrix.os, 'windows-') && 'Windows' || startsWith(matrix.os, 'macos-') && 'macOS' || 'Linux' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04, windows-2022]\n\n    env:\n      PYTHON_VERSION: \"3.11\"\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v5\n      id: python\n      with:\n        python-version: \"${{ env.PYTHON_VERSION }}\"\n\n    - name: Check cache\n      uses: actions/cache/restore@v4\n      id: cache\n      with:\n        path: ${{ runner.os == 'Windows' && '~\\AppData\\Local\\pip\\Cache' || runner.os == 'macOS' && '~/Library/Caches/pip' || '~/.cache/pip' }}\n        key: >-\n          ${{ format(\n            'v01-python-{0}-{1}-{2}-{3}',\n            env.pythonLocation,\n            hashFiles('datadog_checks_base/pyproject.toml'),\n            hashFiles('datadog_checks_dev/pyproject.toml'),\n            hashFiles('ddev/pyproject.toml')\n          )}}\n        lookup-only: true\n\n    - name: Install dependencies\n      if: steps.cache.outputs.cache-hit != 'true'\n      run: |-\n        pip install ./ddev\n        pip install ./datadog_checks_dev[cli]\n        pip install ./datadog_checks_base[deps]\n\n    - name: Set up Python 2.7\n      if: steps.cache.outputs.cache-hit != 'true'\n      run: |\n        if [ \"$RUNNER_OS\" == \"Linux\" ]; then\n          sudo apt update\n          sudo apt install python2 python2-dev\n          sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1\n        elif [ \"$RUNNER_OS\" == \"Windows\" ]; then\n          choco install python2\n        else\n          echo \"$RUNNER_OS not supported\"\n          exit 1\n        fi\n\n    - name: Install dependencies for Python 2.7\n      if: steps.cache.outputs.cache-hit != 'true'\n      run: pip install ./datadog_checks_base[deps] ./datadog_checks_dev\n\n    - name: Cache dependencies\n      uses: actions/cache/save@v4\n      if: steps.cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ runner.os == 'Windows' && '~\\AppData\\Local\\pip\\Cache' || runner.os == 'macOS' && '~/Library/Caches/pip' || '~/.cache/pip' }}\n        key: ${{ steps.cache.outputs.cache-primary-key }}\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:48:54.655003", "created_at": "2020-08-17T14:14:16+02:00", "updated_at": "2023-08-14T11:32:28+02:00", "name": "Changelog label check", "path": ".github/workflows/changelog-label-check.yml", "contents": null, "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:48:55.807121", "created_at": "2024-05-16T07:46:09+02:00", "updated_at": "2024-06-04T14:31:12+02:00", "name": "Build Placeholder PyPI Packages", "path": ".github/workflows/claim-pypi-name.yaml", "contents": "# This workflow claims package names on PyPI for our integrations by publishing empty packages.\n# The working packages can be found here:\n# https://dd-integrations-core-wheels-build-stable.datadoghq.com/targets/simple/index.html\n# This is a work-around until PyPI adds support for namespaces and we claim an entire namespace for Datadog.\nname: Build Placeholder PyPI Packages\n\non:\n  workflow_dispatch:\n  schedule:\n    # At 3AM UTC\n    # Running this every night strikes a good balance between claiming names fast without spamming PyPI with requests.\n    - cron: \"0 3 * * *\"\n\ndefaults:\n  run:\n    shell: bash\n\n\njobs:\n  python-artifacts:\n    name: Build wheel\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n\n    - name: Install Build Deps\n      run: pip install -U build[virtualenv] hatchling\n\n    - name: Build Packages\n      run: |\n        bash .github/workflows/scripts/build_placeholders.sh\n\n    - name: Push Python artifacts to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        # We don't mind invalid metadata, we only want to claim the package name.\n        verify-metadata: false\n        verbose: true\n        # Only uploading the missing wheels makes this job idempotent and reduces its complexity.\n        skip-existing: true\n        user: __token__\n        password: ${{ secrets.INTEGRATIONS_PYPI_NAME_CLAIM }}\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:48:56.928132", "created_at": "2021-12-28T17:36:30+01:00", "updated_at": "2022-01-07T17:09:29+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n    paths:\n      - '**/*.py'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@43f1a6c701887a7392ca1f39bcc0299365ea1b71\n      with:\n        languages: ${{ matrix.language }}\n        config-file: .github/codeql_config.yml\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@43f1a6c701887a7392ca1f39bcc0299365ea1b71\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@43f1a6c701887a7392ca1f39bcc0299365ea1b71\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:48:58.162710", "created_at": "2023-03-30T17:04:29+02:00", "updated_at": "2023-03-30T17:04:29+02:00", "name": "Compute matrix", "path": ".github/workflows/compute-matrix.yml", "contents": "name: Compute matrix\n\non:\n  workflow_call:\n    inputs:\n      repo:\n        required: true\n        type: string\n    outputs:\n      matrix:\n        value: ${{ jobs.compute.outputs.data }}\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  PYTHON_VERSION: \"3.11\"\n  MATRIX_SCRIPT: \"ddev/src/ddev/utils/scripts/ci_matrix.py\"\n\njobs:\n  compute:\n    name: Compute matrix\n    runs-on: ubuntu-22.04\n    outputs:\n      data: \"${{ steps.compute.outputs.data }}\"\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: \"${{ github.event.pull_request.head.sha }}\"\n\n    - name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"${{ env.PYTHON_VERSION }}\"\n\n    - name: Fetch merge base commits\n      env:\n        GH_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n      # Generic version of the following:\n      # https://gist.github.com/bnb/9de89a07278e9f57cd058a535ab89a9b?permalink_comment_id=4417593#gistcomment-4417593\n      run: |-\n        # Fetch commits to a depth so that head and base reach their merge base.\n        comparison=$(gh api\\\n          repos/${{ github.repository }}/compare/${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }})\n        behind_by=$(echo -E $comparison | jq -r '.behind_by')\n        ahead_by=$(echo -E $comparison | jq -r '.ahead_by')\n        echo \"ahead_by: $ahead_by; behind by: $behind_by\"\n        # +1 because fetch depth=1 is the commit itself.\n        if [[ $behind_by -gt 0 ]]; then\n          base_depth=$((behind_by+1))\n          echo \"Fetching base to depth $base_depth\"\n          git -c protocol.version=2 fetch --no-tags --no-recurse-submodules\\\n            --depth=$base_depth origin ${{ github.event.pull_request.base.sha }}\n        fi\n        if [[ $ahead_by -gt 0 ]]; then\n          head_depth=$((ahead_by+1))\n          echo \"Fetching head to depth $head_depth\"\n          git -c protocol.version=2 fetch --no-tags --no-recurse-submodules\\\n            --depth=$head_depth origin ${{ github.event.pull_request.head.sha }}\n        fi\n\n    - name: Fetch computation script\n      if: inputs.repo != 'core'\n      run: |-\n        mkdir -p $(dirname ${{ env.MATRIX_SCRIPT }})\n        curl -sLo ${{ env.MATRIX_SCRIPT }} https://raw.githubusercontent.com/DataDog/integrations-core/master/${{ env.MATRIX_SCRIPT }}\n\n    - name: Compute\n      id: compute\n      run: |-\n        python ${{ env.MATRIX_SCRIPT }} -v --ref ${{ github.event.pull_request.base.sha }} >> /tmp/matrix.json\n        echo \"data=$(cat /tmp/matrix.json)\" >> \"$GITHUB_OUTPUT\"\n\n    - name: Show matrix\n      run: |-\n        import json\n        from pathlib import Path\n        from pprint import pprint\n\n        pprint(json.loads(Path('/tmp/matrix.json').read_text(encoding='utf-8')))\n      shell: python\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:48:59.289034", "created_at": "2024-06-11T23:03:33+02:00", "updated_at": "2024-06-17T16:21:19+02:00", "name": "Datadog Static Analysis", "path": ".github/workflows/datadog-static-analysis.yml", "contents": "on: [push]\n\nname: Datadog Static Analysis\n\njobs:\n  static-analysis:\n    runs-on: ubuntu-latest\n    name: Datadog Static Analyzer\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n    - name: Check code meets quality and security standards\n      id: datadog-static-analysis\n      uses: DataDog/datadog-static-analyzer-github-action@v1\n      with:\n        dd_api_key: ${{ secrets.DD_STATIC_ANALYSIS_API_KEY }}\n        dd_app_key: ${{ secrets.DD_STATIC_ANALYSIS_APP_KEY }}\n        dd_service: integration-core\n        dd_env: ci\n        dd_site: datadoghq.com\n        cpu_count: 2\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:00.404891", "created_at": "2023-08-08T22:11:23+02:00", "updated_at": "2023-08-08T22:11:23+02:00", "name": ".github/workflows/dd-static-analysis.yml", "path": ".github/workflows/dd-static-analysis.yml", "contents": null, "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:01.541502", "created_at": "2023-11-24T14:00:07+01:00", "updated_at": "2023-11-24T16:49:09+01:00", "name": "Check do-not-merge labels", "path": ".github/workflows/do-not-merge-label.yml", "contents": "name: Check do-not-merge labels\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - labeled\n      - unlabeled\n      - synchronize\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: Check do-not-merge labels\n    steps:\n      - name: Get PR labels\n        id: pr-labels\n        uses: joerick/pr-labels-action@v1.0.9\n\n      - run: |\n          echo \"A 'do-not-merge/*' label has been found in this PR.\"\n          exit 1\n        if: contains(steps.pr-labels.outputs.labels, 'do-not-merge')\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:02.618249", "created_at": "2020-05-26T18:29:21+02:00", "updated_at": "2024-04-12T14:22:17+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n    - master\n  pull_request:\n    branches:\n    - master\n    paths:\n    - '.github/workflows/docs.yml'\n    - 'docs/**'\n    - 'ddev/**'\n    - 'datadog_checks_dev/**'\n    - 'mkdocs.yml'\n    # We care about changes to base package dependencies because they get installed\n    # in the docs virtualenv along with the dependencies of ddev. For example, this PR:\n    # https://github.com/DataDog/integrations-core/pull/17319/files#diff-1b02d4258aa29155f48813d2eb55fc87f62abbded6d8a9fa9e3b8f08365d771aR64\n    # broke the docs job (pydantic incompatible with ddev's version) but we didn't find out until later.\n    - 'datadog_checks_base/pyproject.toml'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        # Fetch all history for applying timestamps to every page\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n        cache: 'pip'\n\n    - name: Upgrade Python packaging tools\n      run: pip install --disable-pip-version-check --upgrade pip setuptools wheel\n\n    - name: Install ddev\n      run: |\n        pip install -e ./datadog_checks_dev[cli]\n        pip install -e ./ddev\n\n    - name: Configure ddev\n      run: |\n        ddev config set repos.core .\n        ddev config set repo core\n\n    - name: Install additional dependencies for the base package\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y --no-install-recommends libkrb5-dev\n\n    - name: Validate documentation\n      run: ddev -v docs build --check\n\n    - name: Build documentation\n      run: ddev -v docs build\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: documentation\n        path: site\n\n  publish:\n    runs-on: ubuntu-latest\n\n    if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n    needs:\n    - build\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: documentation\n        path: site\n\n    - uses: peaceiris/actions-gh-pages@v3\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: ./site\n        commit_message: ${{ github.event.head_commit.message }}\n        # Write .nojekyll at the root, see:\n        # https://help.github.com/en/github/working-with-github-pages/about-github-pages#static-site-generators\n        enable_jekyll: false\n        # Only deploy if there were changes\n        allow_empty_commit: false\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:03.672668", "created_at": "2024-06-28T17:21:39+02:00", "updated_at": "2024-07-04T17:12:04+02:00", "name": "Daily Flaky Tests (every 8 hours)", "path": ".github/workflows/flaky-tests.yml", "contents": null, "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:04.695755", "created_at": "2023-11-27T14:15:16+01:00", "updated_at": "2023-11-27T14:16:31+01:00", "name": "PR Reviewers", "path": ".github/workflows/get_reviewers.yml", "contents": null, "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:05.847156", "created_at": "2022-08-24T19:42:44+02:00", "updated_at": "2023-05-10T23:54:48+02:00", "name": "Community PR Labels", "path": ".github/workflows/labeler-community.yml", "contents": "# https://github.com/actions/labeler\n\nname: Community PR Labels\non:\n  pull_request_target:\n    branches:\n      - master\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - review_requested\n\njobs:\n  labeler:\n    if: ${{ github.event.pull_request.head.repo.full_name != github.repository }} # only PRs from other repos\n    uses: ./.github/workflows/labeler-reusable.yml\n    secrets:\n      app-id: \"${{ secrets.DD_AGENT_INTEGRATIONS_BOT_APP_ID }}\"\n      private-key: \"${{ secrets.DD_AGENT_INTEGRATIONS_BOT_PRIVATE_KEY }}\"", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:06.980214", "created_at": "2022-09-02T20:52:02+02:00", "updated_at": "2022-09-02T20:52:02+02:00", "name": "Reusable Labeler Workflow", "path": ".github/workflows/labeler-reusable.yml", "contents": "name: Reusable Labeler Workflow\n\non:\n  workflow_call:\n    secrets:\n      app-id:\n        required: true\n      private-key:\n        required: true\n\njobs:\n  apply:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write\n    steps:\n      - name: Create token\n        uses: actions/create-github-app-token@v1\n        id: token-generator\n        with:\n          app-id: ${{ secrets.app-id }}\n          private-key: ${{ secrets.private-key }}\n          repositories: integrations-core\n      - name: Add labels\n        uses: actions/labeler@v4\n        with:\n          configuration-path: .github/workflows/config/labeler.yml\n          repo-token: \"${{ steps.token-generator.outputs.token }}\"\n          sync-labels: \"\"   # workaround for sync-labels bug:\n                            # https://github.com/actions/labeler/issues/112#issuecomment-1000491676\n      - name: Add team labels\n        run: |\n          jq -r '.event.pull_request.requested_teams[].name' <<< \"$GITHUB_CONTEXT\" | while read -r team; do\n            team_normalized=$(echo \"$team\" | sed 's/ /-/g')\n            gh pr edit $NUMBER --add-label \"team/$team_normalized\"\n          done\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n          GITHUB_TOKEN: \"${{ steps.token-generator.outputs.token }}\"\n          GH_REPO: ${{ github.repository }}\n          NUMBER: ${{ github.event.number }}", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:07.987189", "created_at": "2019-12-30T22:38:24+01:00", "updated_at": "2023-05-10T22:45:02+02:00", "name": "PR Labels", "path": ".github/workflows/labeler.yml", "contents": "# https://github.com/actions/labeler\n\nname: PR Labels\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - review_requested\n\njobs:\n  labeler:\n    if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} # only PRs from this repo\n    uses: ./.github/workflows/labeler-reusable.yml\n    secrets:\n      app-id: \"${{ secrets.DD_AGENT_INTEGRATIONS_BOT_APP_ID }}\"\n      private-key: \"${{ secrets.DD_AGENT_INTEGRATIONS_BOT_PRIVATE_KEY }}\"\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:09.292651", "created_at": "2023-03-30T18:05:22+02:00", "updated_at": "2024-05-29T17:36:12+02:00", "name": "Master", "path": ".github/workflows/master.yml", "contents": "name: Master\n\non:\n  push:\n    branches:\n    - master\n\njobs:\n  cache:\n    uses: ./.github/workflows/cache-shared-deps.yml\n\n  test:\n    needs:\n    - cache\n\n    uses: ./.github/workflows/test-all.yml\n    with:\n      repo: core\n\n      # Options\n      standard: true\n    secrets: inherit\n\n  publish-test-results:\n    needs:\n    - test\n    if: success() || failure()\n    concurrency:\n      group: test-results\n\n    uses: ./.github/workflows/test-results-master.yml\n    secrets: inherit\n\n  submit-traces:\n    needs:\n    - test\n    if: success() || failure()\n\n    uses: ./.github/workflows/submit-traces.yml\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:10.450708", "created_at": "2023-03-30T18:05:22+02:00", "updated_at": "2024-05-30T07:05:15+02:00", "name": "Nightly minimum base package test", "path": ".github/workflows/nightly-base-package.yml", "contents": "name: Nightly minimum base package test\n\non:\n  # Triggering minimum base package tests can be useful outside of the schedule, for instance for PRs\n  # that add new integrations or ones that bump the Pydantic dependency in the base package.\n  # Until we figure out how best to trigger these automatically we're leaving the door open to easily\n  # trigger this manually with the right branch.\n  workflow_dispatch:\n  schedule:\n  # 5 AM UTC\n  - cron: \"0 5 * * *\"\n\njobs:\n  test:\n    uses: ./.github/workflows/test-all.yml\n    with:\n      repo: core\n\n      # Options\n      standard: true\n      minimum-base-package: true\n      test-py2: true\n    secrets: inherit\n\n  submit-traces:\n    needs:\n    - test\n    if: success() || failure()\n\n    uses: ./.github/workflows/submit-traces.yml\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:11.578345", "created_at": "2023-03-30T18:05:22+02:00", "updated_at": "2024-05-30T06:04:02+02:00", "name": "Nightly Python 2 tests", "path": ".github/workflows/nightly-py2.yml", "contents": "name: Nightly Python 2 tests\n\non:\n  schedule:\n  # 4 AM UTC\n  - cron: \"0 4 * * *\"\n\njobs:\n  test:\n    uses: ./.github/workflows/test-all.yml\n    with:\n      repo: core\n\n      # Options\n      standard: true\n      test-py2: true\n      test-py3: false\n    secrets: inherit\n\n  submit-traces:\n    needs:\n    - test\n    if: success() || failure()\n\n    uses: ./.github/workflows/submit-traces.yml\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:12.594176", "created_at": "2024-06-21T14:20:11+02:00", "updated_at": "2024-06-21T14:20:11+02:00", "name": "Permissions Advisor", "path": ".github/workflows/permissions-advisor.yml", "contents": "name: Permissions Advisor\n\npermissions:\n  actions: read\n\non:\n  workflow_dispatch:\n    inputs:\n      name:\n        description: 'The name of the workflow file to analyze'\n        required: true\n        type: string\n      count:\n        description: 'How many last runs to analyze'\n        required: false\n        type: number\n        default: 10\n\njobs:\n  advisor:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: GitHubSecurityLab/actions-permissions/advisor@v1\n      with:\n        name: ${{ inputs.name }}\n        count: ${{ inputs.count }}", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:13.829315", "created_at": "2023-03-26T18:37:31+02:00", "updated_at": "2024-05-29T23:44:28+02:00", "name": "PR All", "path": ".github/workflows/pr-all.yml", "contents": "name: PR All\n\non:\n  pull_request:\n    branches:\n    - master\n    paths:\n    - datadog_checks_base/datadog_checks/**\n    - datadog_checks_dev/datadog_checks/dev/*.py\n    - ddev/src/**\n    - \"!agent_requirements.in\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    uses: ./.github/workflows/test-all.yml\n    with:\n      repo: core\n\n      # Options\n      standard: true\n      test-py2: true\n    secrets: inherit\n\n  save-event:\n    needs:\n    - test\n    if: success() || failure()\n\n    uses: ./.github/workflows/save-event.yml\n\n  submit-traces:\n    needs:\n    - test\n    if: success() || failure()\n\n    uses: ./.github/workflows/submit-traces.yml\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:14.950966", "created_at": "2023-08-02T14:28:52+02:00", "updated_at": "2023-08-09T22:53:47+02:00", "name": "Check PR", "path": ".github/workflows/pr-check.yml", "contents": "name: Check PR\n\non:\n  pull_request_target:\n    types: [opened, labeled, unlabeled, synchronize]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  run:\n    uses: ./.github/workflows/pr-quick-check.yml\n    if: ${{ github.base_ref == 'master' }}\n    with:\n      repo: core\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:16.077937", "created_at": "2023-08-09T22:53:47+02:00", "updated_at": "2023-08-09T22:53:47+02:00", "name": "Quick check PR", "path": ".github/workflows/pr-quick-check.yml", "contents": "name: Quick check PR\n\non:\n  workflow_call:\n    inputs:\n      repo:\n        required: true\n        type: string\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  PYTHON_VERSION: \"3.11\"\n  CHECK_SCRIPT: \"ddev/src/ddev/utils/scripts/check_pr.py\"\n\njobs:\n  check:\n    name: Check PR\n    runs-on: ubuntu-22.04\n\n    steps:\n    # Uncomment for testing purposes\n    # - uses: actions/checkout@v4\n    #   if: inputs.repo == 'core'\n    #   with:\n    #     ref: \"${{ github.event.pull_request.head.sha }}\"\n\n    - name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"${{ env.PYTHON_VERSION }}\"\n\n    - name: Fetch diff\n      env:\n        GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n      # https://github.com/cli/cli/blob/v2.33.0/pkg/cmd/pr/diff/diff.go#L167\n      # https://docs.github.com/en/rest/overview/media-types?apiVersion=2022-11-28#diff-media-type-for-commits-commit-comparison-and-pull-requests\n      run: >-\n        curl\n        --header \"Authorization: Bearer $GITHUB_TOKEN\"\n        --header \"Accept: application/vnd.github.diff\"\n        -Lo /tmp/diff\n        \"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}\"\n\n    - name: Fetch script\n      # Uncomment for testing purposes\n      # if: inputs.repo != 'core'\n      run: |-\n        mkdir -p $(dirname ${{ env.CHECK_SCRIPT }})\n        curl -sLo ${{ env.CHECK_SCRIPT }} https://raw.githubusercontent.com/DataDog/integrations-core/master/${{ env.CHECK_SCRIPT }}\n\n    - name: Check changelog\n      run: >-\n        python ${{ env.CHECK_SCRIPT }} changelog\n        --diff-file /tmp/diff\n        --pr-file \"$GITHUB_EVENT_PATH\"\n        ${{ github.event.pull_request.base.repo.private && '--private' || '' }}\n        --repo \"${{ inputs.repo }}\"\n\n    - uses: dorny/paths-filter@v2\n      id: changes\n      with:\n        filters: |\n          major_bump_fragments:\n            - '*/changelog.d/*.changed'\n            - '*/changelog.d/*.removed'\n            - '*/changelog.d/*.major'\n\n    - name: Comment\n      if: ${{ steps.changes.outputs.major_bump_fragments == 'true' }}\n      uses: actions/github-script@0.3.0\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        script: |\n          const { issue: { number: issue_number }, repo: { owner, repo }  } = context;\n          github.issues.createComment({ issue_number, owner, repo, body: \"The changelog type `changed` or `removed` was used in this Pull Request, so the next release will bump major version. Please make sure this is a breaking change, or use the `fixed` or `added` type instead.\" });\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:17.212849", "created_at": "2023-03-24T22:20:34+01:00", "updated_at": "2023-03-24T22:20:34+01:00", "name": "PR test", "path": ".github/workflows/pr-test.yml", "contents": "name: PR test\n\non:\n  workflow_call:\n    inputs:\n      repo:\n        required: true\n        type: string\n\n      setup-env-vars:\n        required: false\n        default: \"\"\n        type: string\n      python-version:\n        required: false\n        default: \"\"\n        type: string\n\njobs:\n  compute-matrix:\n    uses: ./.github/workflows/compute-matrix.yml\n    with:\n      repo: \"${{ inputs.repo }}\"\n\n  test:\n    needs:\n    - compute-matrix\n    if: needs.compute-matrix.outputs.matrix != '[]'\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJson(needs.compute-matrix.outputs.matrix) }}\n\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: \"${{ matrix.name }}\"\n      target: \"${{ matrix.target }}\"\n      platform: \"${{ matrix.platform }}\"\n      runner: \"${{ toJson(matrix.runner) }}\"\n      repo: \"${{ inputs.repo }}\"\n\n      # Options\n      standard: true\n      test-py2: ${{ !matrix.python-support || contains(matrix.python-support, '2') }}\n      test-py3: ${{ !matrix.python-support || contains(matrix.python-support, '3') }}\n\n      # For other repositories\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n      python-version: \"${{ inputs.python-version }}\"\n    secrets: inherit\n\n  save-event:\n    needs:\n    - test\n    if: success() || failure()\n\n    uses: ./.github/workflows/save-event.yml\n\n  submit-traces:\n    needs:\n    - test\n    if: inputs.repo == 'core' && (success() || failure()) && github.event.pull_request.head.repo.full_name == github.repository\n\n    uses: ./.github/workflows/submit-traces.yml\n    secrets: inherit\n\n  check:\n    needs:\n    - test\n    if: always()\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Check status of required jobs\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n        allowed-skips: test\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:18.437610", "created_at": "2023-03-18T17:44:44+01:00", "updated_at": "2024-01-30T15:25:15+01:00", "name": "PR", "path": ".github/workflows/pr.yml", "contents": "name: PR\n\non:\n  pull_request:\n    paths-ignore:\n    - datadog_checks_base/datadog_checks/**\n    - datadog_checks_dev/datadog_checks/dev/*.py\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    uses: ./.github/workflows/pr-test.yml\n    with:\n      repo: core\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:19.666317", "created_at": "2023-03-30T21:41:30+02:00", "updated_at": "2023-05-10T22:45:47+02:00", "name": "Publish test results for PRs", "path": ".github/workflows/publish-test-results-pr.yml", "contents": "name: Publish test results for PRs\n\non:\n  workflow_run:\n    workflows:\n    - PR\n    - PR All\n    types:\n    - completed\n\njobs:\n  publish:\n    uses: ./.github/workflows/test-results-pr.yml\n    if: github.event.workflow_run.conclusion != 'skipped'\n    permissions:\n      checks: write\n      pull-requests: write\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:21.332939", "created_at": "2021-03-18T15:32:48+01:00", "updated_at": "2021-03-18T15:32:48+01:00", "name": "release-base", "path": ".github/workflows/release-base.yml", "contents": "name: release-base\n\non:\n  push:\n    tags:\n      - datadog_checks_base-*\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Upgrade Python packaging tools\n      run: pip install --disable-pip-version-check --upgrade pip setuptools wheel\n\n    - name: Install ddev\n      run: |\n        pip install -e ./datadog_checks_dev[cli]\n        pip install -e ./ddev\n\n    - name: Configure ddev\n      run: |\n        ddev config set repos.core .\n        ddev config set repo core\n\n    - name: Release base package\n      run: ddev release upload -s datadog_checks_base\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN_BASE }}\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:22.451747", "created_at": "2021-03-18T15:32:48+01:00", "updated_at": "2021-03-18T15:32:48+01:00", "name": "release-dev", "path": ".github/workflows/release-dev.yml", "contents": "name: release-dev\n\non:\n  push:\n    tags:\n      - datadog_checks_dev-*\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Upgrade Python packaging tools\n      run: pip install --disable-pip-version-check --upgrade pip setuptools wheel\n\n    - name: Install ddev\n      run: |\n        pip install -e ./datadog_checks_dev[cli]\n        pip install -e ./ddev\n\n    - name: Configure ddev\n      run: |\n        ddev config set repos.core .\n        ddev config set repo core\n\n    - name: Release dev package\n      run: ddev release upload -s datadog_checks_dev\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN_DEV }}\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:23.494423", "created_at": "2020-07-28T13:52:49+02:00", "updated_at": "2020-07-28T13:58:29+02:00", "name": "release-hash-check", "path": ".github/workflows/release-hash-check.yml", "contents": "name: release-hash-check\n\non:\n  pull_request:\n    branches:\n      - master\n    paths:\n      - .in-toto/*.link\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - id: files\n      run: |\n        git fetch origin master\n        LAST_COMMON_COMMIT=$(git merge-base HEAD origin/master)\n        FILES=$(git --no-pager diff --name-only $LAST_COMMON_COMMIT -- .in-toto | xargs echo)\n        echo \"all=$FILES\" >> \"$GITHUB_OUTPUT\"\n\n    - id: merge\n      name: Merge branch into latest master\n      env:\n        HEAD_BRANCH: ${{ github.head_ref }}\n      run: |\n        git fetch origin $HEAD_BRANCH\n        git checkout origin/master\n        git config user.name \"release-hash-check\"\n        git config user.email \"<>\"\n        git merge --no-commit --no-edit origin/$HEAD_BRANCH\n\n    - run: python .github/workflows/release-hash-check.py ${{ steps.files.outputs.all }}\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:24.630601", "created_at": "2023-03-30T17:04:29+02:00", "updated_at": "2023-03-30T17:04:29+02:00", "name": "Run validations", "path": ".github/workflows/run-validations.yml", "contents": "name: Run validations\n\non:\n  workflow_call:\n    inputs:\n      repo:\n        required: true\n        type: string\n\n      ddev-version:\n        required: false\n        type: string\n      agent-reqs:\n        required: false\n        default: false\n        type: boolean\n      ci:\n        required: false\n        default: false\n        type: boolean\n      codeowners:\n        required: false\n        default: false\n        type: boolean\n      config:\n        required: false\n        default: false\n        type: boolean\n      dashboards:\n        required: false\n        default: false\n        type: boolean\n      dep:\n        required: false\n        default: false\n        type: boolean\n      eula:\n        required: false\n        default: false\n        type: boolean\n      http:\n        required: false\n        default: false\n        type: boolean\n      imports:\n        required: false\n        default: false\n        type: boolean\n      integration-style:\n        required: false\n        default: false\n        type: boolean\n      jmx-metrics:\n        required: false\n        default: false\n        type: boolean\n      labeler:\n        required: false\n        default: false\n        type: boolean\n      legacy-signature:\n        required: false\n        default: false\n        type: boolean\n      license-headers:\n        required: false\n        default: false\n        type: boolean\n      licenses:\n        required: false\n        default: false\n        type: boolean\n      metadata:\n        required: false\n        default: false\n        type: boolean\n      models:\n        required: false\n        default: false\n        type: boolean\n      openmetrics:\n        required: false\n        default: false\n        type: boolean\n      package:\n        required: false\n        default: false\n        type: boolean\n      readmes:\n        required: false\n        default: false\n        type: boolean\n      saved-views:\n        required: false\n        default: false\n        type: boolean\n      service-checks:\n        required: false\n        default: false\n        type: boolean\n      typos:\n        required: false\n        default: false\n        type: boolean\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  run:\n    name: Validate\n    runs-on: ubuntu-22.04\n\n    env:\n      PYTHON_VERSION: \"3.11\"\n      TARGET: ${{ github.event_name == 'pull_request' && 'changed' || '' }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: \"0\"\n\n    - name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"${{ env.PYTHON_VERSION }}\"\n\n    - name: Install ddev from local folder\n      if: inputs.repo == 'core'\n      run: |-\n        pip install -e ./datadog_checks_dev[cli]\n        pip install -e ./ddev\n\n    - name: Install ddev from PyPI\n      if: inputs.repo != 'core'\n      run: pip install ddev${{ inputs.ddev-version }}\n\n    - name: Configure ddev\n      run: |\n        ddev config set repos.${{ inputs.repo }} .\n        ddev config set repo ${{ inputs.repo }}\n        ddev config set orgs.ci.dd_url \"https://app.datadoghq.com\"\n        ddev config set org ci\n\n    - name: Validate Agent integration version requirements\n      if: inputs.agent-reqs\n      run: ddev validate agent-reqs $TARGET\n\n    - name: Validate CI configuration\n      if: inputs.ci\n      run: ddev validate ci\n\n    - name: Validate the CODEOWNERS file\n      if: inputs.codeowners\n      run: ddev validate codeowners\n\n    - name: Validate default configuration files\n      if: inputs.config\n      run: ddev validate config $TARGET\n\n    - name: Validate dashboards\n      if: inputs.dashboards\n      run: ddev validate dashboards $TARGET\n\n    - name: Validate dependencies\n      if: inputs.dep\n      run: ddev validate dep\n\n    - name: Validate EULA files\n      if: inputs.eula\n      run: ddev validate eula $TARGET\n\n    - name: Validate usage of HTTP(S) utilities\n      if: inputs.http\n      run: ddev validate http $TARGET\n\n    - name: Validate proper modern importing of core packages\n      if: inputs.imports\n      run: ddev validate imports $TARGET\n\n    - name: Validate coding conventions\n      if: inputs.integration-style\n      run: ddev validate integration-style $TARGET\n\n    - name: Validate default JMX metric files\n      if: inputs.jmx-metrics\n      run: ddev validate jmx-metrics $TARGET\n\n    - name: Validate signatures of check classes\n      if: inputs.legacy-signature\n      run: ddev validate legacy-signature $TARGET\n\n    - name: Validate all shipped files have license headers\n      if: inputs.license-headers\n      run: ddev validate license-headers $TARGET\n\n    - name: Validate metric metadata\n      if: inputs.metadata\n      run: ddev validate metadata $TARGET\n\n    - name: Validate configuration models\n      if: inputs.models\n      run: ddev validate models $TARGET\n\n    - name: Validate openmetrics metric limit\n      if: inputs.openmetrics\n      run: ddev validate openmetrics $TARGET\n\n    - name: Validate Python project metadata\n      if: inputs.package\n      run: ddev validate package $TARGET\n\n    - name: Validate README files\n      if: inputs.readmes\n      run: ddev validate readmes $TARGET\n\n    - name: Validate saved views\n      if: inputs.saved-views\n      run: ddev validate saved-views $TARGET\n\n    - name: Validate service check metadata\n      if: inputs.service-checks\n      run: ddev validate service-checks $TARGET\n\n    - name: Validate spelling\n      if: inputs.typos\n      run: ddev validate typos $TARGET\n\n    - name: Validate labeler configuration\n      if: inputs.labeler\n      run: ddev validate labeler\n\n    # Every validation below here is sorted by increasing runtime rather than alphabetically\n    - name: Validate third-party license metadata\n      if: inputs.licenses\n      env:\n        DD_GITHUB_USER: \"${{ github.actor }}\"\n        DD_GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n      run: ddev validate licenses\n\n    - name: Comment PR on failure\n      if: ${{ failure() && github.event.pull_request.merged != true }}\n      uses: actions/github-script@0.3.0\n      continue-on-error: true\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        script: |\n          const { issue: { number: issue_number }, repo: { owner, repo }  } = context;\n          github.issues.createComment({ issue_number, owner, repo, body: \"The `validations` job has failed; please review the `Files changed` tab for possible suggestions to resolve.\" });\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:25.706801", "created_at": "2023-03-30T17:04:29+02:00", "updated_at": "2023-03-30T17:04:29+02:00", "name": "Save GitHub event", "path": ".github/workflows/save-event.yml", "contents": "name: Save GitHub event\n\non:\n  workflow_call:\n    inputs:\n      retention-days:\n        required: false\n        default: 1\n        type: number\n\njobs:\n  save-event:\n    name: Save event\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Upload\n      uses: actions/upload-artifact@v4\n      with:\n        name: github-event\n        path: ${{ github.event_path }}\n        retention-days: ${{ inputs.retention-days }}\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:26.936673", "created_at": "2020-02-14T10:34:34+01:00", "updated_at": "2020-03-05T09:04:29+01:00", "name": "Slack emoji PR updates", "path": ".github/workflows/slapr.yml", "contents": "# https://github.com/DataDog/slapr\n\nname: Slack emoji PR updates\non:\n  pull_request_review:\n    types: [submitted]\n  pull_request:\n    types: [closed]\n\njobs:\n  run_slapr_agent_integrations:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        slack_channel_variable:\n          - SLACK_CHANNEL_ID\n          - SLACK_CHANNEL_ID_AGENT_INTEGRATIONS_REVIEWS\n          - SLACK_CHANNEL_ID_INFRA_INTEGRATIONS\n    steps:\n    - uses: DataDog/slapr@master\n      env:\n        GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n        SLACK_CHANNEL_ID: \"${{ secrets[matrix.slack_channel_variable] }}\"\n        SLACK_API_TOKEN: \"${{ secrets.SLACK_API_TOKEN }}\"\n        SLAPR_BOT_USER_ID: \"${{ secrets.SLAPR_BOT_USER_ID }}\"\n        SLAPR_EMOJI_REVIEW_STARTED: \"review_started\"\n        SLAPR_EMOJI_APPROVED: \"approved2\"\n        SLAPR_EMOJI_CHANGES_REQUESTED: \"changes_requested\"\n        SLAPR_EMOJI_MERGED: \"merged\"\n        SLAPR_EMOJI_CLOSED: \"closed\"\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:28.063728", "created_at": "2023-03-30T17:04:29+02:00", "updated_at": "2023-03-30T17:04:29+02:00", "name": "Submit traces", "path": ".github/workflows/submit-traces.yml", "contents": "name: Submit traces\n\non:\n  workflow_call:\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  submit:\n    name: Submit traces\n    runs-on: ubuntu-22.04\n\n    services:\n      dd-agent:\n        image: gcr.io/datadoghq/agent:latest\n        ports:\n        - \"8126:8126\"\n        env:\n          DD_API_KEY: \"${{ secrets.DD_API_KEY }}\"\n          DD_HOSTNAME: \"none\"\n          DD_INSIDE_CI: \"true\"\n          DD_LOG_LEVEL: \"trace\"\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/download-artifact@v4\n      id: download\n      with:\n        # With the 'pattern' setting and no files to download (for example, ddev tests don't produce traces)\n        # this action will succeed BUT NOT CREATE 'path'.\n        # Subsequent actions must check that 'path' exists to avoid failing.\n        pattern: \"traces-*\"\n        path: captured-traces\n        merge-multiple: true\n\n    - name: Replay\n      if: ${{ hashFiles('captured-traces') != '' }}\n      run: |-\n        cd captured-traces\n        for request in *; do\n          echo \"/// Replaying: $request\"\n          python ../.ddev/ci/scripts/traces.py replay --record-file \"$request\"\n        done\n\n    - name: Show Agent status\n      if: ${{ hashFiles('captured-traces') != '' }}\n      run: docker exec $(docker ps --format \"{{.ID}}\") agent status\n\n    - uses: geekyeggo/delete-artifact@v5\n      if: steps.download.outcome == 'success'\n      with:\n        name: \"${{ inputs.artifact-name }}\"\n        failOnError: false\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:29.136628", "created_at": "2023-03-29T07:13:34+02:00", "updated_at": "2024-05-23T11:05:07+02:00", "name": ".github/workflows/test-agent.yml", "path": ".github/workflows/test-agent.yml", "contents": "name: Test Agent release\n\non:\n  workflow_dispatch:\n    inputs:\n      test-py3:\n        required: false\n        description: Run Python 3 tests\n        default: true\n        type: boolean\n      agent-image:\n        required: false\n        description: Agent 7 image\n        default: \"datadog/agent:7-rc\"\n        type: string\n      agent-image-windows:\n        required: false\n        description: Agent 7 image on Windows\n        default: \"datadog/agent:7-rc-servercore\"\n        type: string\n      test-py2:\n        required: false\n        description: Run Python 2 tests\n        default: true\n        type: boolean\n      agent-image-py2:\n        required: false\n        description: Agent 6 image\n        default: \"datadog/agent:6-rc\"\n        type: string\n      agent-image-windows-py2:\n        required: false\n        description: Agent 6 image on Windows\n        default: \"datadog/agent-dev:master-py2-win-servercore\"\n        type: string\n\njobs:\n  test:\n    uses: ./.github/workflows/test-all.yml\n    with:\n      repo: core\n\n      # Options\n      standard: true\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n    secrets: inherit\n\n  submit-traces:\n    needs:\n    - test\n    if: success() || failure()\n\n    uses: ./.github/workflows/submit-traces.yml\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:30.481619", "created_at": "2023-03-30T17:04:29+02:00", "updated_at": "2024-05-30T21:25:06+02:00", "name": "Test all", "path": ".github/workflows/test-all.yml", "contents": "name: Test all\n\non:\n  workflow_call:\n    inputs:\n      repo:\n        required: true\n        type: string\n\n      python-version:\n        required: false\n        default: \"\"\n        type: string\n      standard:\n        required: false\n        default: false\n        type: boolean\n      latest:\n        required: false\n        default: false\n        type: boolean\n      minimum-base-package:\n        required: false\n        default: false\n        type: boolean\n      test-py2:\n        required: false\n        default: false\n        type: boolean\n      test-py3:\n        required: false\n        default: true\n        type: boolean\n      agent-image:\n        required: false\n        default: \"\"\n        type: string\n      agent-image-py2:\n        required: false\n        default: \"\"\n        type: string\n      agent-image-windows:\n        required: false\n        default: \"\"\n        type: string\n      agent-image-windows-py2:\n        required: false\n        default: \"\"\n        type: string\n\njobs:\n  jd316aba:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: ddev on Linux\n      target: ddev\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j6712d43:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: ddev on Windows\n      target: ddev\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jb232c8c:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Datadog Checks Base on Linux\n      target: datadog_checks_base\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jda96080:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Datadog Checks Base on Windows\n      target: datadog_checks_base\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j77217e9:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Datadog Checks Dev on Linux\n      target: datadog_checks_dev\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j1176210:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Datadog Checks Dev on Windows\n      target: datadog_checks_dev\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j8cdb65b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Datadog Checks Downloader on Linux\n      target: datadog_checks_downloader\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j8c73c41:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Datadog Checks Downloader on Windows\n      target: datadog_checks_downloader\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jd66e148:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Active Directory\n      target: active_directory\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j02a4c95:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: ActiveMQ\n      target: activemq\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jb4c5802:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: ActiveMQ XML\n      target: activemq_xml\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jce7999e:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Aerospike\n      target: aerospike\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jd58222c:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Airflow\n      target: airflow\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jaaddf5e:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Amazon Kafka\n      target: amazon_msk\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j9c53fc8:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Ambari\n      target: ambari\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j87ec402:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Apache\n      target: apache\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jacbd843:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: ArangoDB\n      target: arangodb\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j3650884:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Argo Rollouts\n      target: argo_rollouts\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j14e797c:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Argo Workflows\n      target: argo_workflows\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j92d42de:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: ArgoCD\n      target: argocd\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j8c9f9aa:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: ASP.NET\n      target: aspdotnet\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j924327f:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Avi Vantage\n      target: avi_vantage\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j8d83b0b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Azure IoT Edge\n      target: azure_iot_edge\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jfcf4b1a:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Boundary\n      target: boundary\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j2883ff0:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Btrfs\n      target: btrfs\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j481d7ae:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Cacti\n      target: cacti\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j47ac8c7:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Calico\n      target: calico\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  je3297e4:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Cassandra\n      target: cassandra\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jf75679d:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Cassandra Nodetool\n      target: cassandra_nodetool\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jdffb064:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Ceph\n      target: ceph\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  je6bb20d:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: cert-manager\n      target: cert_manager\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jeb29398:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Cilium\n      target: cilium\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j3de8d1a:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Cisco ACI\n      target: cisco_aci\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jafd4d40:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Citrix Hypervisor\n      target: citrix_hypervisor\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jdee91dd:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: ClickHouse\n      target: clickhouse\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j4131274:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Cloud Foundry API\n      target: cloud_foundry_api\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j26f9a18:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Cloudera\n      target: cloudera\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j7faf392:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: CockroachDB\n      target: cockroachdb\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j89ec795:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Confluent Platform\n      target: confluent_platform\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j13a53db:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Consul\n      target: consul\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jb67436a:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: CoreDNS\n      target: coredns\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j483e815:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: CouchDB\n      target: couch\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j1e84c35:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Couchbase\n      target: couchbase\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  ja3692a6:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: CRI-O\n      target: crio\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j2d21154:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Datadog Cluster Agent\n      target: datadog_cluster_agent\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j69f9754:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: dcgm\n      target: dcgm\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jc8f84c3:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Directory\n      target: directory\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j4b2fe2b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Disk on Linux\n      target: disk\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j92e8bce:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Disk on Windows\n      target: disk\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j3e27604:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: DNS on Linux\n      target: dns_check\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j301b42d:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: DNS on Windows\n      target: dns_check\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jc6b16d4:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: .NET CLR\n      target: dotnetclr\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j274814f:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Druid\n      target: druid\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j562bfe5:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Amazon ECS Fargate\n      target: ecs_fargate\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j72f26c1:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: EKS Fargate\n      target: eks_fargate\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j31c819b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Elasticsearch\n      target: elastic\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j93163a5:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Envoy\n      target: envoy\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jc4fef15:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: ESXi\n      target: esxi\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jc38cbd9:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: etcd\n      target: etcd\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j284dfb9:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Exchange Server\n      target: exchange_server\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j1856b23:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: External DNS\n      target: external_dns\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j4f2c848:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Fluentd\n      target: fluentd\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j6134697:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: fluxcd\n      target: fluxcd\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jc364450:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: FoundationDB\n      target: foundationdb\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j3becdbc:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Gearman\n      target: gearmand\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j4ea3f09:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Gitlab\n      target: gitlab\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j563739d:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Gitlab Runner\n      target: gitlab_runner\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j16f5513:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: GlusterFS\n      target: glusterfs\n      platform: linux\n      runner: '[\"ubuntu-20.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j3399e09:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Go Expvar\n      target: go_expvar\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j1fede0e:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Gunicorn\n      target: gunicorn\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j5979923:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: HAProxy\n      target: haproxy\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j8a8c654:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Harbor\n      target: harbor\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j9cb9f66:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Hazelcast\n      target: hazelcast\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j240a78b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: HDFS Datanode\n      target: hdfs_datanode\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j00a0dd6:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: HDFS Namenode\n      target: hdfs_namenode\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jaf48338:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Hive\n      target: hive\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  je66898a:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: HiveMQ\n      target: hivemq\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j56d6f32:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: HTTP\n      target: http_check\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j95a2b08:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Hudi\n      target: hudi\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j5a9585a:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: IBM ACE\n      target: ibm_ace\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j60f59ae:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: IBM Db2\n      target: ibm_db2\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j9accedb:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: IBM i\n      target: ibm_i\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jf4d06ee:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: IBM MQ on Linux\n      target: ibm_mq\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j662406b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: IBM MQ on Windows\n      target: ibm_mq\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j440815a:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: IBM WAS\n      target: ibm_was\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j0676988:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Ignite\n      target: ignite\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j9267198:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: IIS\n      target: iis\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j5dc7466:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Impala\n      target: impala\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j0c16521:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Istio\n      target: istio\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j46da136:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: JBoss_WildFly\n      target: jboss_wildfly\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  je4a5f92:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kafka\n      target: kafka\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jeaad214:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kafka Consumer\n      target: kafka_consumer\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j77f29c1:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Karpenter\n      target: karpenter\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jaee58c5:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kong\n      target: kong\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j92491f1:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kubernetes API server metrics\n      target: kube_apiserver_metrics\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j1ce0516:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kubernetes Controller Manager\n      target: kube_controller_manager\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j19a1b27:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kube DNS\n      target: kube_dns\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jd1817b8:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kube metrics server\n      target: kube_metrics_server\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j5a98c4e:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kube Proxy\n      target: kube_proxy\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jeebd4ae:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kubernetes Scheduler\n      target: kube_scheduler\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j24a5cff:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kubelet\n      target: kubelet\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j045310a:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kubernetes Cluster Autoscaler\n      target: kubernetes_cluster_autoscaler\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jba841f0:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kubernetes State\n      target: kubernetes_state\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j61e565f:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Kyoto Tycoon\n      target: kyototycoon\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j1c6adb2:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Lighttpd\n      target: lighttpd\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j8b3b099:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Linkerd\n      target: linkerd\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j29dcd3a:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Linux proc extras\n      target: linux_proc_extras\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  ja15251c:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: MapR\n      target: mapr\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j141298e:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: MapReduce\n      target: mapreduce\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j75f52a9:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Marathon\n      target: marathon\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j8d5404b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: MarkLogic\n      target: marklogic\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j5b70138:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Memcached\n      target: mcache\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jbdadec9:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Mesos Master\n      target: mesos_master\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j76c310f:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Mesos\n      target: mesos_slave\n      platform: linux\n      runner: '[\"ubuntu-20.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j91231ff:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: MongoDB\n      target: mongo\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j211906c:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: MySQL\n      target: mysql\n      platform: linux\n      runner: '[\"ubuntu-20.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j5df646e:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Nagios\n      target: nagios\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jfc1e031:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Network on Linux\n      target: network\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j7a1dfc6:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Network on Windows\n      target: network\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j6a5b846:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: NFSstat\n      target: nfsstat\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j93fea02:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: NGINX\n      target: nginx\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  ja114815:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: NGINX Ingress Controller\n      target: nginx_ingress_controller\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j74dc677:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Nvidia Triton\n      target: nvidia_triton\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j2cf0a0a:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: OpenLDAP\n      target: openldap\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jaaa5727:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: OpenMetrics\n      target: openmetrics\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j88ddb5b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: OpenStack\n      target: openstack\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j65171af:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: OpenStack Controller\n      target: openstack_controller\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j748e188:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Oracle Database\n      target: oracle\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j4dff42c:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: PDH\n      target: pdh_check\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j4a8166b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: PGBouncer\n      target: pgbouncer\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jaa8b34b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: PHP-FPM\n      target: php_fpm\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j54fefc0:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Postfix\n      target: postfix\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j44368ad:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Postgres\n      target: postgres\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j8e38a40:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: PowerDNS Recursor\n      target: powerdns_recursor\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jaeea6e0:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Presto\n      target: presto\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  je083bd8:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Process\n      target: process\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jbfa97cf:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Prometheus\n      target: prometheus\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jbb39de2:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: ProxySQL\n      target: proxysql\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j5987374:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Pulsar\n      target: pulsar\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j694032b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: RabbitMQ\n      target: rabbitmq\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jcc172a7:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Ray\n      target: ray\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  ja7f6415:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Redis\n      target: redisdb\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j47000ee:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: RethinkDB\n      target: rethinkdb\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jdeada9f:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Riak\n      target: riak\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j21f86cb:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: RiakCS\n      target: riakcs\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j111b452:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: SAP HANA\n      target: sap_hana\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j6a5cfa3:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Scylla\n      target: scylla\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j6600bce:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Silk\n      target: silk\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j02f6aa9:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: SingleStore\n      target: singlestore\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j06ca546:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: SNMP\n      target: snmp\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j1dbd59f:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Snowflake\n      target: snowflake\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j2d7c8f5:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Solr\n      target: solr\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j9485e6f:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: SonarQube\n      target: sonarqube\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j529bc3b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Spark\n      target: spark\n      platform: linux\n      runner: '[\"ubuntu-20.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j31a95c8:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: SQL Server on Windows\n      target: sqlserver\n      platform: windows\n      runner: '[\"windows-2019\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j3a8e004:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: SQL Server on Linux\n      target: sqlserver\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jaf4b616:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Squid\n      target: squid\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j01c4d3c:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: SSH\n      target: ssh_check\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j2981dbe:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: StatsD\n      target: statsd\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j6f0ded4:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Strimzi\n      target: strimzi\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jf04a052:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Supervisord\n      target: supervisord\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jde3891f:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: System Core\n      target: system_core\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j64445e6:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: System Swap\n      target: system_swap\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j1eeafd2:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: TCP on Linux\n      target: tcp_check\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j87dbe3f:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: TCP on Windows\n      target: tcp_check\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j8217a3a:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: TeamCity\n      target: teamcity\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jf4a7e97:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Tekton\n      target: tekton\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  je68b3b9:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Teleport\n      target: teleport\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j840fec7:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Temporal\n      target: temporal\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jeefbe37:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Teradata\n      target: teradata\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jd1c18ec:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: TLS\n      target: tls\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j8486f6e:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: TokuMX\n      target: tokumx\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: true\n      test-py3: false\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j9438e1d:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Tomcat\n      target: tomcat\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j4baeba2:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: TorchServe\n      target: torchserve\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j41a575a:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Traefik Mesh\n      target: traefik_mesh\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j8a1b5bb:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Traffic Server\n      target: traffic_server\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jfc2bf01:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Twemproxy\n      target: twemproxy\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jd0626ef:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Twistlock\n      target: twistlock\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j0c8fc90:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Varnish\n      target: varnish\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j5d55c41:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Vault\n      target: vault\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j9981b0b:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Vertica\n      target: vertica\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jb120af1:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: VoltDB\n      target: voltdb\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j269c8a5:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: vSphere\n      target: vsphere\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  je95095e:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Weaviate\n      target: weaviate\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j40e5c98:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: WebLogic\n      target: weblogic\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j70c9219:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Windows Event Log\n      target: win32_event_log\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  jc1fb93c:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Windows performance counters\n      target: windows_performance_counters\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j9798a89:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Windows Service\n      target: windows_service\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  j25cdd56:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: WMI\n      target: wmi_check\n      platform: windows\n      runner: '[\"windows-2022\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  ja6bc642:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: Yarn\n      target: yarn\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n  ja446cea:\n    uses: ./.github/workflows/test-target.yml\n    with:\n      job-name: ZooKeeper\n      target: zk\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      minimum-base-package: ${{ inputs.minimum-base-package }}\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:31.659367", "created_at": "2023-07-03T16:05:53+02:00", "updated_at": "2023-07-27T15:06:05+02:00", "name": "test build devcontainer image", "path": ".github/workflows/test-build-devcontainer.yml", "contents": "name: test build devcontainer image\non:\n    push:\n      branches:\n      - master\n    pull_request:\n      paths:\n      - .devcontainer/**\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          push: false\n          file: .devcontainer/Dockerfile\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:32.994741", "created_at": "2023-11-30T00:23:13+01:00", "updated_at": "2023-11-30T00:23:13+01:00", "name": "Test Google Cloud Platform OIDC", "path": ".github/workflows/test-gcp-oidc.yml", "contents": null, "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:34.051149", "created_at": "2023-03-31T06:11:36+02:00", "updated_at": "2023-03-31T06:11:36+02:00", "name": "Test results for the master branch", "path": ".github/workflows/test-results-master.yml", "contents": "name: Test results for the master branch\n\non:\n  workflow_call:\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  test-results:\n    name: Publish\n    runs-on: ubuntu-22.04\n\n    env:\n      BADGES_BRANCH: badges\n      BADGE_PATH: test-results.svg\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: \"${{ env.BADGES_BRANCH }}\"\n\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: test-results-*\n        path: test-results\n        merge-multiple: true\n\n    - name: Publish test results\n      uses: EnricoMi/publish-unit-test-result-action@v2\n      id: test-results\n      with:\n        files: \"test-results/*/*.xml\"\n\n    - name: Set badge color\n      run: |-\n        case ${{ fromJSON( steps.test-results.outputs.json ).conclusion }} in\n          success)\n            echo \"BADGE_COLOR=31c653\" >> $GITHUB_ENV\n            ;;\n          failure)\n            echo \"BADGE_COLOR=800000\" >> $GITHUB_ENV\n            ;;\n          neutral)\n            echo \"BADGE_COLOR=696969\" >> $GITHUB_ENV\n            ;;\n        esac\n\n    - name: Create badge\n      uses: emibcn/badge-action@v2.0.3\n      with:\n        label: Tests\n        status: \"${{ fromJSON( steps.test-results.outputs.json ).formatted.stats.tests }} tests, ${{ fromJSON( steps.test-results.outputs.json ).formatted.stats.runs }} runs, ${{ fromJSON( steps.test-results.outputs.json ).formatted.stats.tests_fail }} failed\"\n        color: \"${{ env.BADGE_COLOR }}\"\n        path: \"${{ env.BADGE_PATH }}\"\n\n    - name: Configure Git for GitHub Actions bot\n      run: |-\n        git config --local user.name \"github-actions[bot]\"\n        git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n\n    - name: Commit if stats have changed\n      run: |-\n        git add \"${{ env.BADGE_PATH }}\"\n        if git commit -m \"Update test results from ${{ github.sha }}\"; then\n          git push\n        else\n          echo \"Nothing has changed\"\n        fi\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:35.090089", "created_at": "2023-03-30T21:41:30+02:00", "updated_at": "2023-03-30T21:41:30+02:00", "name": "Test results for PRs", "path": ".github/workflows/test-results-pr.yml", "contents": "name: Test results for PRs\n\non:\n  workflow_call:\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  test-results:\n    name: Publish test results\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Download and extract artifacts\n      id: download\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |-\n        mkdir -p artifacts && cd artifacts\n\n        artifacts_url=${{ github.event.workflow_run.artifacts_url }}\n\n        gh api --paginate \"$artifacts_url\" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact\n        do\n          IFS=$'\\t' read name url <<< \"$artifact\"\n          if [[ \"$name\" =~ ^(github-event|test-results)$ ]]; then\n            gh api $url > \"$name.zip\"\n            unzip -d \"$name\" \"$name.zip\"\n          fi\n        done\n\n        if ! [[ -d github-event && -d test-results ]]; then\n          exit 1\n        fi\n      continue-on-error: true\n\n    - name: Publish test results\n      if: steps.download.outcome == 'success'\n      uses: EnricoMi/publish-unit-test-result-action@v2\n      with:\n        commit: ${{ github.event.workflow_run.head_sha }}\n        event_file: artifacts/github-event/event.json\n        event_name: ${{ github.event.workflow_run.event }}\n        files: \"artifacts/test-results-*/*/*.xml\"\n        compare_to_earlier_commit: false\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:36.255419", "created_at": "2023-03-28T01:02:54+02:00", "updated_at": "2023-03-30T17:04:29+02:00", "name": "Test target", "path": ".github/workflows/test-target.yml", "contents": "# \"target\" refers to the integration (a.k.a. check) that we want to test.\n# This action is a template that we reuse in other actions such as test-all or pr-test.\nname: Test target\n\non:\n  workflow_call:\n    inputs:\n      job-name:\n        required: true\n        type: string\n      target:\n        required: true\n        type: string\n      platform:\n        required: true\n        type: string\n      runner:\n        required: true\n        type: string\n      repo:\n        required: true\n        type: string\n\n      python-version:\n        required: false\n        default: \"\"\n        type: string\n      standard:\n        required: false\n        default: false\n        type: boolean\n      benchmark:\n        required: false\n        default: false\n        type: boolean\n      latest:\n        required: false\n        default: false\n        type: boolean\n      minimum-base-package:\n        required: false\n        default: false\n        type: boolean\n      test-py2:\n        required: false\n        default: false\n        type: boolean\n      test-py3:\n        required: false\n        default: true\n        type: boolean\n      agent-image:\n        required: false\n        default: \"\"\n        type: string\n      agent-image-py2:\n        required: false\n        default: \"\"\n        type: string\n      agent-image-windows:\n        required: false\n        default: \"\"\n        type: string\n      agent-image-windows-py2:\n        required: false\n        default: \"\"\n        type: string\n      traces-artifact-name:\n        required: false\n        default: \"traces\"\n        type: string\n      trace-agent-port:\n        required: false\n        default: \"8126\"\n        type: string\n      setup-env-vars:\n        required: false\n        default: \"\"\n        type: string\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  run:\n    name: \"${{ inputs.job-name }}\"\n    runs-on: ${{ fromJson(inputs.runner) }}\n\n    env:\n      FORCE_COLOR: \"1\"\n      PYTHON_VERSION: \"${{ inputs.python-version || '3.11' }}\"\n      PYTHON_FILTER: \"${{ (inputs.test-py2 && !inputs.test-py3) && '2.7' || (!inputs.test-py2 && inputs.test-py3) && (inputs.python-version || '3.11') || '' }}\"\n      SKIP_ENV_NAME: \"${{ (inputs.test-py2 && !inputs.test-py3) && 'py3.*' || (!inputs.test-py2 && inputs.test-py3) && 'py2.*' || '' }}\"\n      # Windows E2E requires Windows containers\n      DDEV_E2E_AGENT: \"${{ inputs.platform == 'windows' && (inputs.agent-image-windows || 'datadog/agent-dev:master-py3-win-servercore') || inputs.agent-image }}\"\n      DDEV_E2E_AGENT_PY2: \"${{ inputs.platform == 'windows' && (inputs.agent-image-windows-py2 || 'datadog/agent-dev:master-py2-win-servercore') || inputs.agent-image-py2 }}\"\n      # Test results for later processing\n      TEST_RESULTS_BASE_DIR: \".test-results\"\n      TEST_RESULTS_DIR: \".test-results/${{ inputs.job-name }}\"\n      # Tracing to monitor our test suite\n      DD_ENV: \"ci\"\n      DD_SERVICE: \"ddev-integrations-${{ inputs.repo }}\"\n      DD_TAGS: \"team:agent-integrations,platform:${{ inputs.platform }},integration:${{ inputs.target }}\"\n      DD_TRACE_ANALYTICS_ENABLED: \"true\"\n      # Capture traces for a separate job to do the submission\n      TRACE_CAPTURE_BASE_DIR: \".trace-captures\"\n      TRACE_CAPTURE_FILE: \".trace-captures/${{ inputs.job-name }}\"\n      TRACE_CAPTURE_LOG: \".trace-captures/output.log\"\n\n    steps:\n    - name: Set up Windows\n      if: runner.os == 'Windows'\n      run: |-\n        # Enable disk performance counters\n        diskperf -y\n\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 2.7\n      if: inputs.test-py2\n      run: |\n        if [ \"$RUNNER_OS\" == \"Linux\" ]; then\n          sudo apt update\n          sudo apt install python2 python2-dev\n          sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1\n        elif [ \"$RUNNER_OS\" == \"Windows\" ]; then\n          choco install python2\n        else\n          echo \"$RUNNER_OS not supported\"\n          exit 1\n        fi\n      shell: bash\n\n    - name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"${{ env.PYTHON_VERSION }}\"\n\n    - name: Restore cache\n      if: inputs.repo == 'core'\n      uses: actions/cache/restore@v4\n      with:\n        path: ${{ runner.os == 'Windows' && '~\\AppData\\Local\\pip\\Cache' || runner.os == 'macOS' && '~/Library/Caches/pip' || '~/.cache/pip' }}\n        key: >-\n          ${{ format(\n            'v01-python-{0}-{1}-{2}-{3}',\n            env.pythonLocation,\n            hashFiles('datadog_checks_base/pyproject.toml'),\n            hashFiles('datadog_checks_dev/pyproject.toml'),\n            hashFiles('ddev/pyproject.toml')\n          )}}\n        restore-keys: |-\n          v01-python-${{ env.pythonLocation }}\n\n    - name: Install ddev from local folder\n      if: inputs.repo == 'core'\n      run: |-\n        pip install -e ./datadog_checks_dev[cli]\n        pip install -e ./ddev\n\n    - name: Install ddev from PyPI\n      if: inputs.repo != 'core'\n      run: pip install ddev\n\n    - name: Configure ddev\n      run: |-\n        ddev config set repos.${{ inputs.repo }} .\n        ddev config set repo ${{ inputs.repo }}\n\n    - name: Lint\n      # TODO: use the more descriptive `--lint` variant when ddev is released\n      run: ddev test -s ${{ inputs.target }}\n\n    - name: Prepare for testing\n      env: >-\n        ${{ fromJson(inputs.setup-env-vars || format(\n          '{{\n            \"PYTHONUNBUFFERED\": \"1\",\n            \"DOCKER_USERNAME\": \"{0}\",\n            \"DOCKER_ACCESS_TOKEN\": \"{1}\",\n            \"ORACLE_DOCKER_USERNAME\": \"{2}\",\n            \"ORACLE_DOCKER_PASSWORD\": \"{3}\",\n            \"SINGLESTORE_LICENSE\": \"{4}\",\n            \"DD_GITHUB_USER\": \"{5}\",\n            \"DD_GITHUB_TOKEN\": \"{6}\"\n          }}',\n          secrets.DOCKER_USERNAME,\n          secrets.DOCKER_ACCESS_TOKEN,\n          secrets.ORACLE_DOCKER_USERNAME,\n          secrets.ORACLE_DOCKER_PASSWORD,\n          secrets.SINGLESTORE_LICENSE,\n          github.actor,\n          secrets.GITHUB_TOKEN\n        ))}}\n      run: ddev ci setup ${{ inputs.target }}\n\n    - name: Set up trace capturing\n      if: inputs.repo == 'core'\n      env:\n        PYTHONUNBUFFERED: \"1\"\n      run: |-\n        mkdir \"${{ env.TRACE_CAPTURE_BASE_DIR }}\"\n        python .ddev/ci/scripts/traces.py capture --port \"${{ inputs.trace-agent-port }}\" --record-file \"${{ env.TRACE_CAPTURE_FILE }}\" > \"${{ env.TRACE_CAPTURE_LOG }}\" 2>&1 &\n\n    - name: Run Unit & Integration tests\n      if: inputs.standard && !inputs.minimum-base-package\n      env:\n        DDEV_TEST_ENABLE_TRACING: \"${{ inputs.repo == 'core' && '1' || '0' }}\"\n      run: ddev test --cov --junit ${{ inputs.target }}\n\n    - name: Run Unit & Integration tests with minimum version of base package\n      if: inputs.standard && inputs.minimum-base-package\n      run: ddev test --compat --recreate --junit ${{ inputs.target }}\n\n    - name: Run E2E tests with latest base package\n      if: inputs.standard && inputs.repo == 'core' && !inputs.minimum-base-package\n      env:\n        DD_API_KEY: \"${{ secrets.DD_API_KEY }}\"\n      run: ddev env test --base --new-env --junit ${{ inputs.target }}\n\n    - name: Run E2E tests\n      if: inputs.standard && inputs.repo != 'core'\n      env:\n        DD_API_KEY: \"${{ secrets.DD_API_KEY }}\"\n      run: ddev env test --new-env --junit ${{ inputs.target }}\n\n    - name: Run benchmarks\n      if: inputs.benchmark\n      run: ddev test --bench --junit ${{ inputs.target }}\n\n    - name: Run tests and verify support for the latest version\n      if: inputs.latest\n      run: ddev test --latest --junit ${{ inputs.target }}\n\n    - name: Run E2E tests for the latest version\n      if: inputs.latest\n      env:\n        DD_API_KEY: \"${{ secrets.DD_API_KEY }}\"\n        DDEV_TEST_ENABLE_TRACING: \"${{ inputs.repo == 'core' && '1' || '0' }}\"\n      run: ddev env test --base --new-env --junit ${{ inputs.target }}:latest\n\n    - name: View trace log\n      if: inputs.repo == 'core' && always()\n      run: cat \"${{ env.TRACE_CAPTURE_LOG }}\"\n\n    - name: Upload captured traces\n      if: inputs.repo == 'core' && always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: \"${{ inputs.traces-artifact-name }}-${{ inputs.target }}-${{ inputs.platform }}\"\n        path: \"${{ env.TRACE_CAPTURE_FILE }}\"\n\n    - name: Finalize test results\n      if: always()\n      run: |-\n        mkdir -p \"${{ env.TEST_RESULTS_DIR }}\"\n        if [[ -d ${{ inputs.target }}/.junit ]]; then\n          mv ${{ inputs.target }}/.junit/*.xml \"${{ env.TEST_RESULTS_DIR }}\"\n        fi\n\n    - name: Upload test results\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: \"test-results-${{ inputs.target }}-${{ inputs.platform }}\"\n        path: \"${{ env.TEST_RESULTS_BASE_DIR }}\"\n\n    - name: Upload coverage data\n      if: inputs.standard && !github.event.repository.private && always()\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        files: \"${{ inputs.target }}/coverage.xml\"\n        flags: \"${{ inputs.target }}\"\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:37.484352", "created_at": "2023-12-21T11:49:07+01:00", "updated_at": "2023-12-21T16:45:44+01:00", "name": "Update the Agent changelog", "path": ".github/workflows/update-agent-changelog.yml", "contents": "name: Update the Agent changelog\n\non:\n  push:\n    tags:\n      - '[0-9]+.[0-9]+.[0-9]+'\n\njobs:\n  update_agent_changelog:\n    name: Update the Agent Changelog\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        ref: master\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - name: Install ddev from local folder\n      run: |-\n        pip install -e ./datadog_checks_dev[cli]\n        pip install -e ./ddev\n    - name: Configure ddev\n      run: |-\n        ddev config set repos.core .\n        ddev config set repo core\n    - name: Update the Agent changelog\n      run: |-\n        ddev release agent changelog --write --force\n    - name: Update the Agent integrations file\n      run: |-\n        ddev release agent integrations --write --force\n    - name: Update the integration changelogs\n      run: |-\n        ddev release agent integrations-changelog --write\n    - name: Create token\n      uses: actions/create-github-app-token@v1\n      id: token-generator\n      with:\n        app-id: ${{ secrets.DD_AGENT_INTEGRATIONS_BOT_APP_ID }}\n        private-key: ${{ secrets.DD_AGENT_INTEGRATIONS_BOT_PRIVATE_KEY }}\n        repositories: integrations-core\n    - name: Create Pull Request\n      id: cpr\n      uses: peter-evans/create-pull-request@v5\n      with:\n        token: ${{ steps.token-generator.outputs.token }}\n        commit-message: Finalize Agent release ${{ env.AGENT_VERSION }}\n        body: |\n          ### What does this PR do?\n          Finalize Agent release ${{ env.AGENT_VERSION }} updating the changelog files.\n\n          ### Motivation\n\n          Agent ${{ env.AGENT_VERSION }} has been released.\n\n          ### Additional Notes\n          <!-- Anything else we should know when reviewing? -->\n\n          This PR was automatically generated.\n        title: Finalize Agent release ${{ env.AGENT_VERSION }}\n        branch: bot/update-agent-changelog-${{ env.AGENT_VERSION }}\n        branch-suffix: timestamp\n        delete-branch: true\n        base: master\n        labels: bot,qa/skip-qa\n        draft: false\n      env:\n        AGENT_VERSION: ${{ github.ref_name }}\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:38.714603", "created_at": "2023-12-06T14:14:59+01:00", "updated_at": "2023-12-07T16:32:48+01:00", "name": "Update the dependencies", "path": ".github/workflows/update-dependencies.yml", "contents": "name: Update the dependencies\n\non:\n  schedule:\n  # At 2AM on Monday (UTC)\n  - cron: \"0 2 * * 1\"\n\njobs:\n  update_dependencies:\n    name: Update the dependencies\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - name: Install ddev from local folder\n      run: |-\n        pip install -e ./datadog_checks_dev[cli]\n        pip install -e ./ddev\n    - name: Configure ddev\n      run: |-\n        ddev config set repos.core .\n        ddev config set repo core\n    - name: Create token\n      uses: actions/create-github-app-token@v1\n      id: token-generator\n      with:\n        app-id: ${{ secrets.DD_AGENT_INTEGRATIONS_BOT_APP_ID }}\n        private-key: ${{ secrets.DD_AGENT_INTEGRATIONS_BOT_PRIVATE_KEY }}\n        repositories: integrations-core\n    - name: Update dependencies\n      run: |-\n        ddev dep updates --sync\n    - name: Update licenses\n      run: |-\n        ddev validate licenses --sync\n      env:\n        DD_GITHUB_USER: \"${{ github.actor }}\"\n        DD_GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n    # We generate the changelog hoping we guess the PR number correctly.\n    # We are likely to succeed because the job runs during quiet hours.\n    # If we guess the PR number wrong, the validation will catch it and suggest a simple fix.\n    - name: Update changelogs\n      env:\n        GH_TOKEN:\n          ${{ github.token }}\n      run: |-\n        ddev release changelog new added -m \"Update dependencies\"\n    - name: Create Pull Request\n      id: cpr\n      uses: peter-evans/create-pull-request@v6\n      with:\n        token: ${{ steps.token-generator.outputs.token }}\n        commit-message: Update dependencies\n        body: |\n          ### What does this PR do?\n          Update the dependencies\n\n          ### Motivation\n\n          Some of the dependencies are outdated\n\n          ### Additional Notes\n          <!-- Anything else we should know when reviewing? -->\n\n          This PR was automatically generated by the following workflow:\n          ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n\n\n          ### Review checklist (to be filled by reviewers)\n\n          - [ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)\n          - [ ] [Changelog entries](https://datadoghq.dev/integrations-core/guidelines/pr/#changelog-entries) must be created for modifications to shipped code\n          - [ ] Add the `qa/skip-qa` label if the PR doesn't need to be tested during QA.\n        title: Update dependencies\n        branch: bot/update-dependencies\n        branch-suffix: timestamp\n        delete-branch: true\n        base: master\n        labels: bot,qa/skip-qa\n        draft: false\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:39.739370", "created_at": "2023-03-29T21:13:41+02:00", "updated_at": "2024-02-23T19:31:14+01:00", "name": "Validate repository", "path": ".github/workflows/validate.yml", "contents": "name: Validate repository\n\non:\n  push:\n    branches:\n    - master\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  run:\n    uses: ./.github/workflows/run-validations.yml\n    with:\n      repo: core\n\n      # Validations\n      agent-reqs: true\n      ci: true\n      codeowners: true\n      config: true\n      dashboards: true\n      dep: true\n      http: true\n      imports: true\n      integration-style: true\n      jmx-metrics: true\n      labeler: true\n      legacy-signature: true\n      license-headers: true\n      licenses: true\n      metadata: true\n      models: true\n      openmetrics: true\n      package: true\n      readmes: true\n      saved-views: true\n      service-checks: true\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:40.782916", "created_at": "2023-03-30T18:05:22+02:00", "updated_at": "2024-06-03T07:04:37+02:00", "name": "Weekly latest product version tests", "path": ".github/workflows/weekly-latest.yml", "contents": "name: Weekly latest product version tests\n\non:\n  schedule:\n  # Weekly on Sunday night (America/New_York)\n  - cron: \"0 5 * * 1\"\n\njobs:\n  test:\n    uses: ./.github/workflows/test-all.yml\n    with:\n      repo: core\n\n      # Options\n      latest: true\n    secrets: inherit\n\n  submit-traces:\n    needs:\n    - test\n    if: success() || failure()\n\n    uses: ./.github/workflows/submit-traces.yml\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:41.829238", "created_at": "2021-12-17T19:34:41+01:00", "updated_at": "2021-12-17T19:34:41+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "datadog/integrations-core"}
{"mined_at": "2024-07-15T14:49:45.166888", "created_at": "2020-01-10T15:52:06+01:00", "updated_at": "2020-01-10T15:52:38+01:00", "name": "Docs", "path": "", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:46.393375", "created_at": "2022-11-01T21:34:17+01:00", "updated_at": "2022-11-01T21:34:17+01:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "name: Backport\non:\n  workflow_dispatch:\n    inputs:\n      number:\n        description: \"The pull request # to backport\"\n        required: true\n\njobs:\n  backport:\n    runs-on: ubuntu-latest\n    steps:\n      - run: |\n          if [[ ! $GITHUB_REF_NAME =~ ^release/v[0-9]+\\.[0-9]+\\.x-0\\.[0-9]+bx$ ]]; then\n            echo this workflow should only be run against long-term release branches\n            exit 1\n          fi\n\n      - uses: actions/checkout@v4\n        with:\n          # history is needed to run git cherry-pick below\n          fetch-depth: 0\n\n      - name: Use CLA approved github bot\n        run: .github/scripts/use-cla-approved-github-bot.sh\n\n      - name: Create pull request\n        env:\n          NUMBER: ${{ github.event.inputs.number }}\n          # not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows\n          GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}\n        run: |\n          commit=$(gh pr view $NUMBER --json mergeCommit --jq .mergeCommit.oid)\n          title=$(gh pr view $NUMBER --json title --jq .title)\n\n          branch=\"opentelemetrybot/backport-${NUMBER}-to-${GITHUB_REF_NAME//\\//-}\"\n\n          git cherry-pick $commit\n          git push origin HEAD:$branch\n          gh pr create --title \"[$GITHUB_REF_NAME] $title\" \\\n                       --body \"Clean cherry-pick of #$NUMBER to the \\`$GITHUB_REF_NAME\\` branch.\" \\\n                       --head $branch \\\n                       --base $GITHUB_REF_NAME\n", "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:47.543192", "created_at": "2023-11-03T22:03:01+01:00", "updated_at": "2023-11-03T22:03:01+01:00", "name": "SDK Benchmark Tests", "path": ".github/workflows/benchmarks.yml", "contents": "name: SDK Benchmark Tests\n\non:\n  push:\n    branches: [ main ]\n\njobs:\n  sdk-benchmarks:\n    env:\n      py312: \"3.12\"\n      RUN_MATRIX_COMBINATION: ${{ matrix.python-version }}-sdk-${{ matrix.os }}\n    runs-on: self-hosted\n    strategy:\n      # Ensures the entire test matrix is run, even if one permutation fails\n      fail-fast: false\n      matrix:\n        python-version: [py312]\n        os: [ubuntu-20.04, windows-2019]\n    steps:\n    - name: Checkout Core Repo @ SHA - ${{ github.sha }}\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ env[matrix.python-version] }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env[matrix.python-version] }}\n        architecture: 'x64'\n    - name: Install tox\n      run: pip install tox\n    - name: Cache tox environment\n      # Preserves .tox directory between runs for faster installs\n      uses: actions/cache@v4\n      with:\n        path: |\n          .tox\n          ~/.cache/pip\n        key: v3-tox-cache-${{ env.RUN_MATRIX_COMBINATION }}-${{ hashFiles('tox.ini',\n          'dev-requirements.txt') }}-core\n    - name: Run tox\n      run: tox -f ${{ matrix.python-version }}-sdk -- -k opentelemetry-sdk/tests/performance/benchmarks --benchmark-json=opentelemetry-sdk/tests/output.json\n    - name: Report on SDK benchmark results\n      uses: benchmark-action/github-action-benchmark@v1\n      with:\n        name: OpenTelemetry Python SDK Benchmarks - Python ${{ env[matrix.python-version ]}} - SDK\n        tool: pytest\n        output-file-path: opentelemetry-sdk/tests/output.json\n        gh-pages-branch: gh-pages\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        # Make a commit on `gh-pages` with benchmarks from previous step\n        benchmark-data-dir-path: \"benchmarks\"\n        auto-push: true\n        max-items-in-chart: 100\n        # Alert with a commit comment on possible performance regression\n        alert-threshold: '200%'\n        comment-on-alert: true\n", "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:48.558346", "created_at": "2020-12-04T17:30:08+01:00", "updated_at": "2020-12-04T17:30:08+01:00", "name": "changelog", "path": ".github/workflows/changelog.yml", "contents": "# This action requires that any PR targeting the main branch should touch at\n# least one CHANGELOG file. If a CHANGELOG entry is not required, add the \"Skip\n# Changelog\" label to disable this action.\n\nname: changelog\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened, labeled, unlabeled]\n    branches:\n      - main\n\njobs:\n  changelog:\n    runs-on: ubuntu-latest\n    if: |\n      !contains(github.event.pull_request.labels.*.name, 'Skip Changelog')\n      && github.actor != 'opentelemetrybot'\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Check for CHANGELOG changes\n        run: |\n          # Only the latest commit of the feature branch is available\n          # automatically. To diff with the base branch, we need to\n          # fetch that too (and we only need its latest commit).\n          git fetch origin ${{ github.base_ref }} --depth=1\n          if [[ $(git diff --name-only FETCH_HEAD | grep CHANGELOG) ]]\n          then\n            echo \"A CHANGELOG was modified. Looks good!\"\n          else\n            echo \"No CHANGELOG was modified.\"\n            echo \"Please add a CHANGELOG entry, or add the \\\"Skip Changelog\\\" label if not required.\"\n            false\n          fi\n", "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:49.670039", "created_at": "2022-07-10T12:11:00+02:00", "updated_at": "2022-07-11T18:39:51+02:00", "name": "check-links", "path": ".github/workflows/check-links.yml", "contents": "name: check-links\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  changedfiles:\n    name: changed files\n    runs-on: ubuntu-latest\n    if: ${{ github.actor != 'dependabot[bot]' }}\n    outputs:\n      md: ${{ steps.changes.outputs.md }}\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Get changed files\n        id: changes\n        run: |\n          echo \"md=$(git diff --name-only --diff-filter=ACMRTUXB $(git merge-base origin/main ${{ github.event.pull_request.head.sha }}) ${{ github.event.pull_request.head.sha }} | grep .md$ | xargs)\" >> $GITHUB_OUTPUT\n  check-links:\n    runs-on: ubuntu-latest\n    needs: changedfiles\n    if: ${{needs.changedfiles.outputs.md}}\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install markdown-link-check\n        run: npm install -g markdown-link-check\n\n      - name: Run markdown-link-check\n        run: |\n          markdown-link-check \\\n            --verbose \\\n            --config .github/workflows/check_links_config.json \\\n            ${{needs.changedfiles.outputs.md}} \\\n            || { echo \"Check that anchor links are lowercase\"; exit 1; }\n", "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:50.686442", "created_at": "2021-01-07T05:54:42+01:00", "updated_at": "2021-01-07T05:54:42+01:00", "name": "CodeQL Analysis", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: CodeQL Analysis\n\non:\n  workflow_dispatch:\n  schedule:\n    #        ┌───────────── minute (0 - 59)\n    #        │  ┌───────────── hour (0 - 23)\n    #        │  │ ┌───────────── day of the month (1 - 31)\n    #        │  │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │  │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │  │ │ │ │\n    #        │  │ │ │ │\n    #        │  │ │ │ │\n    #        *  * * * *\n    - cron: '30 1 * * *'\n\njobs:\n  CodeQL-Build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: python\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:51.792229", "created_at": "2024-05-06T19:48:37+02:00", "updated_at": "2024-07-11T20:19:10+02:00", "name": "Lint tests", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:52.933307", "created_at": "2022-11-01T21:34:17+01:00", "updated_at": "2022-11-01T21:34:17+01:00", "name": "Prepare patch release", "path": ".github/workflows/prepare-patch-release.yml", "contents": "name: Prepare patch release\non:\n  workflow_dispatch:\n\njobs:\n  prepare-patch-release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: |\n          if [[ ! $GITHUB_REF_NAME =~ ^release/v[0-9]+\\.[0-9]+\\.x-0\\.[0-9]+bx$ ]]; then\n            echo this workflow should only be run against long-term release branches\n            exit 1\n          fi\n\n          if ! grep --quiet \"^## Unreleased$\" CHANGELOG.md; then\n            echo the change log is missing an \\\"Unreleased\\\" section\n            exit 1\n          fi\n\n      - name: Set environment variables\n        run: |\n          stable_version=$(./scripts/eachdist.py version --mode stable)\n          unstable_version=$(./scripts/eachdist.py version --mode prerelease)\n\n          if [[ $stable_version =~ ^([0-9]+\\.[0-9]+)\\.([0-9]+)$ ]]; then\n            stable_major_minor=\"${BASH_REMATCH[1]}\"\n            stable_patch=\"${BASH_REMATCH[2]}\"\n          else\n            echo \"unexpected stable_version: $stable_version\"\n            exit 1\n          fi\n\n          if [[ $unstable_version =~ ^0\\.([0-9]+)b([0-9]+)$ ]]; then\n            unstable_minor=\"${BASH_REMATCH[1]}\"\n            unstable_patch=\"${BASH_REMATCH[2]}\"\n          else\n            echo \"unexpected unstable_version: $unstable_version\"\n            exit 1\n          fi\n\n          stable_version=\"$stable_major_minor.$((stable_patch + 1))\"\n          unstable_version=\"0.${unstable_minor}b$((unstable_patch + 1))\"\n\n          echo \"STABLE_VERSION=$stable_version\" >> $GITHUB_ENV\n          echo \"UNSTABLE_VERSION=$unstable_version\" >> $GITHUB_ENV\n\n      - name: Update version\n        run: .github/scripts/update-version.sh $STABLE_VERSION $UNSTABLE_VERSION\n\n      - name: Update the change log with the approximate release date\n        run: |\n          date=$(date \"+%Y-%m-%d\")\n          sed -Ei \"s/^## Unreleased$/## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} ($date)/\" CHANGELOG.md\n\n      - name: Use CLA approved github bot\n        run: .github/scripts/use-cla-approved-github-bot.sh\n\n      - name: Create pull request\n        env:\n          # not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows\n          GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}\n        run: |\n          message=\"Prepare release ${STABLE_VERSION}/${UNSTABLE_VERSION}\"\n          branch=\"opentelemetrybot/prepare-release-${STABLE_VERSION}-${UNSTABLE_VERSION}\"\n\n          git commit -a -m \"$message\"\n          git push origin HEAD:$branch\n          gh pr create --title \"[$GITHUB_REF_NAME] $message\" \\\n                       --body \"$message.\" \\\n                       --head $branch \\\n                       --base $GITHUB_REF_NAME\n", "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:53.965488", "created_at": "2022-11-01T21:34:17+01:00", "updated_at": "2022-11-01T21:34:17+01:00", "name": "Prepare release branch", "path": ".github/workflows/prepare-release-branch.yml", "contents": "name: Prepare release branch\non:\n  workflow_dispatch:\n    inputs:\n      prerelease_version:\n        description: \"Pre-release version number? (e.g. 1.9.0rc2)\"\n        required: false\n\njobs:\n  prereqs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Verify prerequisites\n        env:\n          PRERELEASE_VERSION: ${{ github.event.inputs.prerelease_version }}\n        run: |\n          if [[ $GITHUB_REF_NAME != main ]]; then\n            echo this workflow should only be run against main\n            exit 1\n          fi\n\n          if ! grep --quiet \"^## Unreleased$\" CHANGELOG.md; then\n            echo the change log is missing an \\\"Unreleased\\\" section\n            exit 1\n          fi\n\n          if [[ ! -z $PRERELEASE_VERSION ]]; then\n            stable_version=$(./scripts/eachdist.py version --mode stable)\n            stable_version=${stable_version//.dev/}\n            if [[ $PRERELEASE_VERSION != ${stable_version}* ]]; then\n              echo \"$PRERELEASE_VERSION is not a prerelease for the version on main ($stable_version)\"\n              exit 1\n            fi\n          fi\n\n  create-pull-request-against-release-branch:\n    runs-on: ubuntu-latest\n    needs: prereqs\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Create release branch\n        env:\n          PRERELEASE_VERSION: ${{ github.event.inputs.prerelease_version }}\n        run: |\n          if [[ -z $PRERELEASE_VERSION ]]; then\n            stable_version=$(./scripts/eachdist.py version --mode stable)\n            stable_version=${stable_version//.dev/}\n          else\n            stable_version=$PRERELEASE_VERSION\n          fi\n\n          unstable_version=$(./scripts/eachdist.py version --mode prerelease)\n          unstable_version=${unstable_version//.dev/}\n\n          if [[ $stable_version =~ ^([0-9]+)\\.([0-9]+)\\.0$ ]]; then\n            stable_version_branch_part=$(echo $stable_version | sed -E 's/([0-9]+)\\.([0-9]+)\\.0/\\1.\\2.x/')\n            unstable_version_branch_part=$(echo $unstable_version | sed -E 's/0\\.([0-9]+)b0/0.\\1bx/')\n            release_branch_name=\"release/v${stable_version_branch_part}-${unstable_version_branch_part}\"\n          elif [[ $stable_version =~ ^([0-9]+)\\.([0-9]+)\\.0 ]]; then\n            # pre-release version, e.g. 1.9.0rc2\n            release_branch_name=\"release/v$stable_version-$unstable_version\"\n          else\n            echo \"unexpected version: $stable_version\"\n            exit 1\n          fi\n\n          git push origin HEAD:$release_branch_name\n\n          echo \"STABLE_VERSION=$stable_version\" >> $GITHUB_ENV\n          echo \"UNSTABLE_VERSION=$unstable_version\" >> $GITHUB_ENV\n          echo \"RELEASE_BRANCH_NAME=$release_branch_name\" >> $GITHUB_ENV\n\n      - name: Update version\n        run: .github/scripts/update-version.sh $STABLE_VERSION $UNSTABLE_VERSION\n\n      - name: Update the change log with the approximate release date\n        run: |\n          date=$(date \"+%Y-%m-%d\")\n          sed -Ei \"s/^## Unreleased$/## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} ($date)/\" CHANGELOG.md\n\n      - name: Use CLA approved github bot\n        run: .github/scripts/use-cla-approved-github-bot.sh\n\n      - name: Create pull request against the release branch\n        env:\n          # not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows\n          GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}\n        run: |\n          message=\"Prepare release ${STABLE_VERSION}/${UNSTABLE_VERSION}\"\n          branch=\"opentelemetrybot/prepare-release-${STABLE_VERSION}-${UNSTABLE_VERSION}\"\n\n          git commit -a -m \"$message\"\n          git push origin HEAD:$branch\n          gh pr create --title \"[$RELEASE_BRANCH_NAME] $message\" \\\n                       --body \"$message.\" \\\n                       --head $branch \\\n                       --base $RELEASE_BRANCH_NAME\n\n  create-pull-request-against-main:\n    runs-on: ubuntu-latest\n    needs: prereqs\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set environment variables\n        env:\n          PRERELEASE_VERSION: ${{ github.event.inputs.prerelease_version }}\n        run: |\n          if [[ -z $PRERELEASE_VERSION ]]; then\n            stable_version=$(./scripts/eachdist.py version --mode stable)\n            stable_version=${stable_version//.dev/}\n          else\n            stable_version=$PRERELEASE_VERSION\n          fi\n\n          unstable_version=$(./scripts/eachdist.py version --mode prerelease)\n          unstable_version=${unstable_version//.dev/}\n\n          if [[ $stable_version =~ ^([0-9]+)\\.([0-9]+)\\.0$ ]]; then\n            stable_major=\"${BASH_REMATCH[1]}\"\n            stable_minor=\"${BASH_REMATCH[2]}\"\n            stable_next_version=\"$stable_major.$((stable_minor + 1)).0\"\n          elif [[ $stable_version =~ ^([0-9]+)\\.([0-9]+)\\.0 ]]; then\n            # pre-release version, e.g. 1.9.0rc2\n            stable_major=\"${BASH_REMATCH[1]}\"\n            stable_minor=\"${BASH_REMATCH[2]}\"\n            stable_next_version=\"$stable_major.$stable_minor.0\"\n          else\n            echo \"unexpected stable_version: $stable_version\"\n            exit 1\n          fi\n\n          if [[ $unstable_version =~ ^0\\.([0-9]+)b[0-9]+$ ]]; then\n            unstable_minor=\"${BASH_REMATCH[1]}\"\n          else\n            echo \"unexpected unstable_version: $unstable_version\"\n            exit 1\n          fi\n\n          unstable_next_version=\"0.$((unstable_minor + 1))b0\"\n\n          echo \"STABLE_VERSION=${stable_version}\" >> $GITHUB_ENV\n          echo \"STABLE_NEXT_VERSION=${stable_next_version}.dev\" >> $GITHUB_ENV\n\n          echo \"UNSTABLE_VERSION=${unstable_version}\" >> $GITHUB_ENV\n          echo \"UNSTABLE_NEXT_VERSION=${unstable_next_version}.dev\" >> $GITHUB_ENV\n\n      - name: Update version\n        run: .github/scripts/update-version.sh $STABLE_NEXT_VERSION $UNSTABLE_NEXT_VERSION\n\n      - name: Update the change log on main\n        run: |\n          # the actual release date on main will be updated at the end of the release workflow\n          date=$(date \"+%Y-%m-%d\")\n          sed -Ei \"s/^## Unreleased$/## Unreleased\\n\\n## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} ($date)/\" CHANGELOG.md\n\n      - name: Use CLA approved github bot\n        run: .github/scripts/use-cla-approved-github-bot.sh\n\n      - name: Create pull request against main\n        env:\n          # not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows\n          GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}\n        run: |\n          message=\"Update version to ${STABLE_NEXT_VERSION}/${UNSTABLE_NEXT_VERSION}\"\n          body=\"Update version to \\`${STABLE_NEXT_VERSION}/${UNSTABLE_NEXT_VERSION}\\`.\"\n          branch=\"opentelemetrybot/update-version-to-${STABLE_NEXT_VERSION}-${UNSTABLE_NEXT_VERSION}\"\n\n          git commit -a -m \"$message\"\n          git push origin HEAD:$branch\n          gh pr create --title \"$message\" \\\n                       --body \"$body\" \\\n                       --head $branch \\\n                       --base main\n", "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:54.969107", "created_at": "2021-05-07T06:14:04+02:00", "updated_at": "2021-05-25T22:15:29+02:00", "name": "Public API check", "path": ".github/workflows/public-api-check.yml", "contents": "name: Public API check\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened, labeled, unlabeled]\n    branches:\n      - main\n\njobs:\n  publicAPICheck:\n\n    runs-on: ubuntu-latest\n\n    if: \"!contains(github.event.pull_request.labels.*.name, 'Approve Public API check')\"\n\n    steps:\n      - name: Checkout the repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Checkout main\n        run: git checkout main\n\n      - name: Pull origin\n        run: git pull --rebase=false origin main\n\n      - name: Checkout pull request\n        run: git checkout ${{ github.event.pull_request.head.sha }}\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Install tox\n        run: pip install tox\n\n      - name: Public API Check\n        run: tox -e public-symbols-check\n", "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:56.177327", "created_at": "2022-11-01T21:34:17+01:00", "updated_at": "2022-11-01T21:34:17+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  workflow_dispatch:\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - run: |\n          if [[ $GITHUB_REF_NAME != release/* ]]; then\n            echo this workflow should only be run against release branches\n            exit 1\n          fi\n\n      - uses: actions/checkout@v4\n\n      - name: Set environment variables\n        run: |\n          stable_version=$(./scripts/eachdist.py version --mode stable)\n          unstable_version=$(./scripts/eachdist.py version --mode prerelease)\n\n          if [[ $stable_version =~ ^([0-9]+)\\.([0-9]+)\\.([0-9]+) ]]; then\n            stable_major=\"${BASH_REMATCH[1]}\"\n            stable_minor=\"${BASH_REMATCH[2]}\"\n            stable_patch=\"${BASH_REMATCH[3]}\"\n          else\n            echo \"unexpected stable_version: $stable_version\"\n            exit 1\n          fi\n          if [[ $stable_patch != 0 ]]; then\n            if [[ $unstable_version =~ ^0\\.([0-9]+)b([0-9]+)$ ]]; then\n              unstable_minor=\"${BASH_REMATCH[1]}\"\n              unstable_patch=\"${BASH_REMATCH[2]}\"\n            else\n              echo \"unexpected unstable_version: $unstable_version\"\n              exit 1\n            fi\n            if [[ $unstable_patch != 0 ]]; then\n              prior_version_when_patch=\"$stable_major.$stable_minor.$((stable_patch - 1))/0.${unstable_minor}b$((unstable_patch - 1))\"\n            fi\n          fi\n\n          echo \"STABLE_VERSION=$stable_version\" >> $GITHUB_ENV\n          echo \"UNSTABLE_VERSION=$unstable_version\" >> $GITHUB_ENV\n\n          echo \"PRIOR_VERSION_WHEN_PATCH=$prior_version_when_patch\" >> $GITHUB_ENV\n\n      - run: |\n          if [[ -z $PRIOR_VERSION_WHEN_PATCH ]]; then\n            # not making a patch release\n            if ! grep --quiet \"^## Version ${STABLE_VERSION}/${UNSTABLE_VERSION} \" CHANGELOG.md; then\n              echo the pull request generated by prepare-release-branch.yml needs to be merged first\n              exit 1\n            fi\n          fi\n\n      # check out main branch to verify there won't be problems with merging the change log\n      # at the end of this workflow\n      - uses: actions/checkout@v4\n        with:\n          ref: main\n\n        # back to the release branch\n      - uses: actions/checkout@v4\n\n        # next few steps publish to pypi\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Build wheels\n        run: ./scripts/build.sh\n\n      - name: Install twine\n        run: |\n          pip install twine\n\n      # The step below publishes to testpypi in order to catch any issues\n      # with the package configuration that would cause a failure to upload\n      # to pypi. One example of such a failure is if a classifier is\n      # rejected by pypi (e.g \"3 - Beta\"). This would cause a failure during the\n      # middle of the package upload causing the action to fail, and certain packages\n      # might have already been updated, this would be bad.\n      - name: Publish to TestPyPI\n        env:\n          TWINE_USERNAME: '__token__'\n          TWINE_PASSWORD: ${{ secrets.test_pypi_token }}\n        run: |\n          twine upload --repository testpypi --skip-existing --verbose dist/*\n\n      - name: Publish to PyPI\n        env:\n          TWINE_USERNAME: '__token__'\n          TWINE_PASSWORD: ${{ secrets.pypi_password }}\n        run: |\n          twine upload --skip-existing --verbose dist/*\n\n      - name: Generate release notes\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # conditional block not indented because of the heredoc\n          if [[ ! -z $PRIOR_VERSION_WHEN_PATCH ]]; then\n          cat > /tmp/release-notes.txt << EOF\n          This is a patch release on the previous $PRIOR_VERSION_WHEN_PATCH release, fixing the issue(s) below.\n\n          EOF\n          fi\n\n          # CHANGELOG_SECTION.md is also used at the end of the release workflow\n          # for copying the change log updates to main\n          sed -n \"0,/^## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} /d;/^## Version /q;p\" CHANGELOG.md \\\n            > /tmp/CHANGELOG_SECTION.md\n\n          # the complex perl regex is needed because markdown docs render newlines as soft wraps\n          # while release notes render them as line breaks\n          perl -0pe 's/(?<!\\n)\\n *(?!\\n)(?![-*] )(?![1-9]+\\. )/ /g' /tmp/CHANGELOG_SECTION.md \\\n            >> /tmp/release-notes.txt\n\n      - name: Create GitHub release\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release create --target $GITHUB_REF_NAME \\\n                            --title \"Version ${STABLE_VERSION}/${UNSTABLE_VERSION}\" \\\n                            --notes-file /tmp/release-notes.txt \\\n                            --discussion-category announcements \\\n                            v$STABLE_VERSION\n\n      - uses: actions/checkout@v4\n        with:\n          # the step below is creating a pull request against main\n          ref: main\n\n      - name: Copy change log updates to main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          if [[ -z $PRIOR_VERSION_WHEN_PATCH ]]; then\n            # this was not a patch release, so the version exists already in the CHANGELOG.md\n\n            # update the release date\n            date=$(gh release view v$STABLE_VERSION --json publishedAt --jq .publishedAt | sed 's/T.*//')\n            sed -Ei \"s/## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} .*/## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} ($date)/\" CHANGELOG.md\n\n            # the entries are copied over from the release branch to support workflows\n            # where change log entries may be updated after preparing the release branch\n\n            # copy the portion above the release, up to and including the heading\n            sed -n \"0,/^## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} ($date)/p\" CHANGELOG.md > /tmp/CHANGELOG.md\n\n            # copy the release notes\n            cat /tmp/CHANGELOG_SECTION.md >> /tmp/CHANGELOG.md\n\n            # copy the portion below the release\n            sed -n \"0,/^## Version ${STABLE_VERSION}\\/${UNSTABLE_VERSION} /d;0,/^## Version /{/^## Version/!d};p\" CHANGELOG.md \\\n              >> /tmp/CHANGELOG.md\n\n            # update the real CHANGELOG.md\n            cp /tmp/CHANGELOG.md CHANGELOG.md\n          else\n            # this was a patch release, so the version does not exist already in the CHANGELOG.md\n\n            # copy the portion above the top-most release, not including the heading\n            sed -n \"0,/^## Version /{ /^## Version /!p }\" CHANGELOG.md > /tmp/CHANGELOG.md\n\n            # add the heading\n            date=$(gh release view v$STABLE_VERSION --json publishedAt --jq .publishedAt | sed 's/T.*//')\n            echo \"## Version ${STABLE_VERSION}/${UNSTABLE_VERSION} ($date)\" >> /tmp/CHANGELOG.md\n\n            # copy the release notes\n            cat /tmp/CHANGELOG_SECTION.md >> /tmp/CHANGELOG.md\n\n            # copy the portion starting from the top-most release\n            sed -n \"/^## Version /,\\$p\" CHANGELOG.md >> /tmp/CHANGELOG.md\n\n            # update the real CHANGELOG.md\n            cp /tmp/CHANGELOG.md CHANGELOG.md\n          fi\n\n      - name: Use CLA approved github bot\n        run: .github/scripts/use-cla-approved-github-bot.sh\n\n      - name: Create pull request against main\n        env:\n          # not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows\n          GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}\n        run: |\n          message=\"Copy change log updates from $GITHUB_REF_NAME\"\n          body=\"Copy log updates from \\`$GITHUB_REF_NAME\\`.\"\n          branch=\"opentelemetrybot/copy-change-log-updates-from-${GITHUB_REF_NAME//\\//-}\"\n\n          if [[ -z $PRIOR_VERSION_WHEN_PATCH ]]; then\n            if git diff --quiet; then\n              echo there are no updates needed to the change log on main, not creating pull request\n              exit 0 # success\n            fi\n          fi\n\n          git commit -a -m \"$message\"\n          git push origin HEAD:$branch\n          gh pr create --title \"$message\" \\\n                       --body \"$body\" \\\n                       --head $branch \\\n                       --base main\n", "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:57.242252", "created_at": "2024-03-22T01:06:42+01:00", "updated_at": "2024-03-22T01:06:42+01:00", "name": ".github/workflows/sbom.yml", "path": ".github/workflows/sbom.yml", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:58.474228", "created_at": "2024-03-25T14:21:38+01:00", "updated_at": "2024-04-09T19:38:12+02:00", "name": "Shellcheck", "path": ".github/workflows/shellcheck.yml", "contents": "name: Shellcheck\n\non:\n  push:\n    branches-ignore:\n    - 'release/*'\n  pull_request:\n\njobs:\n  shellcheck:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install shellcheck\n        run: sudo apt update && sudo apt install --assume-yes shellcheck\n\n      - name: Run shellcheck\n        run: find . -name \\*.sh | xargs shellcheck --severity=warning\n", "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:49:59.670547", "created_at": "2020-08-14T16:56:30+02:00", "updated_at": "2024-04-26T20:25:51+02:00", "name": "Core Repo Tests", "path": ".github/workflows/test.yml", "contents": "name: Core Repo Tests\n\non:\n  push:\n    branches-ignore:\n    - 'release/*'\n  pull_request:\nenv:\n  # Set variable to 'main' if your change will not affect Contrib.\n  # Otherwise, set variable to the commit of your branch on\n  # opentelemetry-python-contrib which is compatible with these Core repo\n  # changes.\n  CONTRIB_REPO_SHA: 7d4573da89c7aef748614e6f1511be3eddf5b230\n\n  # This is needed because we do not clone the core repo in contrib builds anymore.\n  # When running contrib builds as part of core builds, we use actions/checkout@v4 which\n  # does not set an environment variable (simply just runs tox), which is different when\n  # contrib builds are run directly from contrib (since test.yml is executed, which sets CORE_REPO_SHA)\n  # The solution is to include CORE_REPO_SHA as part of THIS environment so it can be accessed\n  # from within the contrib build.\n  CORE_REPO_SHA: ${{ github.sha }}\n\n  # See #3879 and https://pip.pypa.io/en/stable/cli/pip/#exists-action-option\n  PIP_EXISTS_ACTION: w\n\njobs:\n  build:\n    env:\n      # We use these variables to convert between tox and GHA version literals\n      py38: 3.8\n      py39: 3.9\n      py310: \"3.10\"\n      py311: \"3.11\"\n      py312: \"3.12\"\n      pypy3: pypy-3.8\n      RUN_MATRIX_COMBINATION: ${{ matrix.python-version }}-${{ matrix.package }}-${{\n        matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false  # ensures the entire test matrix is run, even if one permutation fails\n      matrix:\n        python-version: [py38, py39, py310, py311, py312, pypy3]\n        package:\n          - \"api\"\n          - \"sdk\"\n          - \"semantic-conventions\"\n          - \"getting-started\"\n          - \"opentracing-shim\"\n          - \"opencensus-shim\"\n          - \"exporter-opencensus\"\n          - \"exporter-otlp-proto-common\"\n          - \"exporter-otlp-combined\"\n          - \"exporter-otlp-proto-grpc\"\n          - \"exporter-otlp-proto-http\"\n          - \"exporter-prometheus\"\n          - \"exporter-zipkin-combined\"\n          - \"exporter-zipkin-proto-http\"\n          - \"exporter-zipkin-json\"\n          - \"protobuf\"\n          - \"propagator-b3\"\n          - \"propagator-jaeger\"\n        os: [ubuntu-20.04, windows-2019]\n        exclude:\n          - python-version: pypy3\n            package: \"opencensus-shim\"\n          - python-version: pypy3\n            package: \"exporter-opencensus\"\n          - python-version: pypy3\n            package: \"exporter-otlp-combined\"\n          - python-version: pypy3\n            package: \"exporter-otlp-proto-grpc\"\n\n    steps:\n    - name: Checkout Core Repo @ SHA - ${{ github.sha }}\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ env[matrix.python-version] }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env[matrix.python-version] }}\n        architecture: 'x64'\n    - name: Install tox\n      run: pip install tox\n    - name: Cache tox environment\n        # Preserves .tox directory between runs for faster installs\n      uses: actions/cache@v4\n      with:\n        path: |\n          .tox\n          ~/.cache/pip\n        key: v4-tox-cache-${{ env.RUN_MATRIX_COMBINATION }}-${{ hashFiles('tox.ini',\n          'dev-requirements.txt') }}-core\n    - name: Windows does not let git check out files with long names\n      if: ${{ matrix.os == 'windows-2019'}}\n      run: git config --system core.longpaths true\n    - name: run tox\n      run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra --benchmark-json=${{\n        env.RUN_MATRIX_COMBINATION }}-benchmark.json\n  misc:\n    strategy:\n      fail-fast: false\n      matrix:\n        tox-environment: [\"docker-tests-proto3\", \"docker-tests-proto4\", \"lint\", \"spellcheck\",\n          \"docs\", \"mypy\", \"mypyinstalled\", \"tracecontext\"]\n    name: ${{ matrix.tox-environment }}\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Checkout Core Repo @ SHA - ${{ github.sha }}\n      uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n        architecture: 'x64'\n    - name: Install tox\n      run: pip install tox\n    - name: Cache tox environment\n        # Preserves .tox directory between runs for faster installs\n      uses: actions/cache@v4\n      with:\n        path: |\n          .tox\n          ~/.cache/pip\n        key: v4-tox-cache-${{ matrix.tox-environment }}-${{ hashFiles('tox.ini', 'dev-requirements.txt')\n          }}-core\n    - name: run tox\n      run: tox -e ${{ matrix.tox-environment }}\n\n  # Contrib unit test suite in order to ensure changes in core do not break anything in contrib.\n  # We only run contrib unit tests on the oldest supported Python version (3.8) as running the same tests\n  # on all versions is somewhat redundant.\n  contrib-build:\n    env:\n      # We use these variables to convert between tox and GHA version literals\n      py38: 3.8\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false  # ensures the entire test matrix is run, even if one permutation fails\n      matrix:\n        python-version: [py38]\n        package:\n          - \"aiohttp-client\"\n          - \"aiohttp-server\"\n          - \"aiopg\"\n          - \"aio-pika\"\n          - \"asgi\"\n          - \"asyncpg\"\n          - \"aws-lambda\"\n          - \"boto\"\n          - \"boto3sqs\"\n          - \"botocore\"\n          - \"cassandra\"\n          - \"celery\"\n          - \"confluent-kafka\"\n          - \"dbapi\"\n          - \"django\"\n          - \"elasticsearch\"\n          - \"falcon\"\n          - \"fastapi\"\n          - \"flask\"\n          - \"grpc\"\n          - \"httpx\"\n          - \"jinja2\"\n          - \"kafka-python\"\n          - \"logging\"\n          - \"mysql\"\n          - \"mysqlclient\"\n          - \"pika\"\n          - \"psycopg2\"\n          - \"pymemcache\"\n          - \"pymongo\"\n          - \"pymysql\"\n          - \"pyramid\"\n          - \"redis\"\n          - \"remoulade\"\n          - \"requests\"\n          - \"sklearn\"\n          - \"sqlalchemy\"\n          - \"sqlite3\"\n          - \"starlette\"\n          - \"system-metrics\"\n          - \"tornado\"\n          - \"tortoiseorm\"\n          - \"urllib\"\n          - \"urllib3\"\n          - \"wsgi\"\n          - \"prometheus-remote-write\"\n          - \"richconsole\"\n        os: [ubuntu-20.04]\n    steps:\n    - name: Checkout Contrib Repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}\n      uses: actions/checkout@v4\n      with:\n        repository: open-telemetry/opentelemetry-python-contrib\n        ref: ${{ env.CONTRIB_REPO_SHA }}\n    - name: Checkout Core Repo @ SHA ${{ github.sha }}\n      uses: actions/checkout@v4\n      with:\n        repository: open-telemetry/opentelemetry-python\n        path: opentelemetry-python-core\n    - name: Set up Python ${{ env[matrix.python-version] }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env[matrix.python-version] }}\n        architecture: 'x64'\n    - name: Install tox\n      run: pip install tox\n    - name: Cache tox environment\n        # Preserves .tox directory between runs for faster installs\n      uses: actions/cache@v4\n      with:\n        path: |\n          .tox\n          ~/.cache/pip\n        key: v3-tox-cache-${{ matrix.python-version }}-${{ matrix.package }}-${{ matrix.os\n          }}-${{ hashFiles('tox.ini', 'dev-requirements.txt') }}-contrib\n    - name: run tox\n      run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- -ra\n", "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:50:00.710649", "created_at": "2024-07-10T21:34:41+02:00", "updated_at": "2024-07-10T21:34:41+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:50:01.732480", "created_at": "2021-12-17T18:07:25+01:00", "updated_at": "2021-12-17T18:07:25+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "open-telemetry/opentelemetry-python"}
{"mined_at": "2024-07-15T14:50:04.023343", "created_at": "2021-09-17T10:58:44+02:00", "updated_at": "2021-09-17T11:42:00+02:00", "name": "Continuous Integration", "path": ".github/workflows/continuous_integration.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python, upload the coverage results to code climate\n\nname: Continuous Integration\n\non:\n  push:\n    branches: [ dev, dev-v1, master ]\n\njobs:\n  build:\n    if: github.repository == 'MushroomRL/mushroom-rl'\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v3\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest pytest-cov\n        pip install -e .[all]\n        sudo apt install unrar\n    - name: Install Atari ROMs\n      run: |\n        wget http://www.atarimania.com/roms/Roms.rar \n        unrar x  -o+  Roms.rar\n        ale-import-roms ./ROMS\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pytest --cov=mushroom_rl --cov-report=xml\n    - name: Publish code coverage to CodeClimate\n      uses: paambaati/codeclimate-action@v2.7.5\n      env:\n        CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}\n", "state": "active", "repository": "mushroomrl/mushroom-rl"}
{"mined_at": "2024-07-15T14:50:05.131612", "created_at": "2022-03-21T13:33:51+01:00", "updated_at": "2022-03-21T13:33:51+01:00", "name": "Test Pull Request", "path": ".github/workflows/test_pr.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python, upload the coverage results to code climate\n\nname: Test Pull Request\n\non:\n  pull_request:\n    branches: [ dev ] \n\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest pytest-cov\n        pip install -e .[all]\n        sudo apt install unrar\n    - name: Install Atari ROMs\n      run: |\n        wget http://www.atarimania.com/roms/Roms.rar \n        unrar x  -o+  Roms.rar\n        ale-import-roms ./ROMS\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pytest\n \n", "state": "active", "repository": "mushroomrl/mushroom-rl"}
{"mined_at": "2024-07-15T14:50:07.275396", "created_at": "2020-10-09T03:40:16+02:00", "updated_at": "2023-03-07T22:30:24+01:00", "name": "Build", "path": ".github/workflows/build_linux.yml", "contents": "name: Build\n\non:\n  create:\n  push:\n    branches:\n      - '**'\n  pull_request:\n  schedule:\n    - cron: \"0 8 * * *\"\n\njobs:\n  test:\n    name: test ${{ matrix.py }} - ubuntu\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        py:\n          - 3.12\n          - 3.11\n          - \"3.10\"\n          - 3.9\n          - 3.8\n          - pypy-3.9\n    steps:\n      - name: Setup Python for test ${{ matrix.py }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.py }}\n      - uses: actions/checkout@v4\n      - name: Install Testing Dependencies\n        run: pip install -r developer_requirements.txt\n      - name: Run Tests\n        run: SKIP_BLACK=\"1\" ./run-tests.sh\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  build-wheels:\n    name: build wheels on ubuntu ${{ matrix.py }} ${{ matrix.qemu }} ${{ matrix.libc }}\n    runs-on: ubuntu-latest\n    needs: test\n    strategy:\n      matrix:\n        py:\n          - 38\n          - 39\n          - 310\n          - 311\n          - 312\n        qemu:\n          - x86_64\n          - aarch64\n        libc:\n          - \"manylinux\"\n          - \"musllinux\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Install Cython\n        run: pip install -r developer_requirements.txt\n      - name: Cythonize\n        run: |\n          make clean\n          make all\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_ARCHS_LINUX: ${{ matrix.qemu }}\n          CIBW_BUILD: \"*${{ matrix.py }}*${{ matrix.libc }}*\"\n      - name: Archive all wheels\n        uses: actions/upload-artifact@v4\n        with:\n          name: linux-wheels-${{ matrix.py }}-${{ matrix.qemu }}-${{ matrix.libc }}\n          path: |\n            ./wheelhouse/*.whl\n          if-no-files-found: error\n\n  release:\n    name: release\n    runs-on: ubuntu-latest\n    needs: build-wheels\n    steps:\n      - name: Make release\n        if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' }}\n        continue-on-error: true\n        run: |\n          curl -X POST -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" https://api.github.com/repos/${{github.repository}}/releases -d '{\"tag_name\": \"${{github.event.ref}}\"}'\n      - name: Get release id\n        if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' }}\n        id: get_release_id\n        run: |\n          release_id=$(curl -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" https://api.github.com/repos/${{github.repository}}/releases/tags/${{github.event.ref}} | jq -r '.id')\n          echo ${release_id}\n          echo \"release_id=${release_id}\" >> $GITHUB_ENV\n      - name: Download disctributions\n        uses: actions/download-artifact@v4\n        with:\n          pattern: linux-wheels-*\n          merge-multiple: true\n          path: dist\n      - name: Upload binaries to release\n        uses: svenstaro/upload-release-action@v2\n        if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' }}\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: ./dist/*linux*.whl\n          tag: ${{ github.ref }}\n          overwrite: true\n          file_glob: true\n", "state": "active", "repository": "fastavro/fastavro"}
{"mined_at": "2024-07-15T14:50:08.374821", "created_at": "2024-01-08T00:43:58+01:00", "updated_at": "2024-01-08T00:43:58+01:00", "name": "Build", "path": ".github/workflows/build_linux_zlibng.yml", "contents": null, "state": "active", "repository": "fastavro/fastavro"}
{"mined_at": "2024-07-15T14:50:09.527632", "created_at": "2020-10-09T03:40:16+02:00", "updated_at": "2022-09-20T16:45:58+02:00", "name": "Build", "path": ".github/workflows/build_mac.yml", "contents": "name: Build\n\non:\n  create:\n  push:\n    branches:\n      - '**'\n  pull_request:\n  schedule:\n    - cron: \"0 8 * * *\"\n\njobs:\n  test:\n    name: test ${{ matrix.py }} - macos\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        py:\n          - 3.12\n          - 3.11\n          - \"3.10\"\n          - 3.9\n          - 3.8\n          - pypy-3.9\n    steps:\n      - name: Setup Python for test ${{ matrix.py }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.py }}\n      - uses: actions/checkout@v4\n      - name: Install numpy for pypy3\n        if: ${{ matrix.py == 'pypy-3.9' }}\n        run: |\n          brew install openblas\n          OPENBLAS=\"$(brew --prefix openblas)\" pip install numpy\n      - name: Install Testing Dependencies\n        run: pip install -r developer_requirements.txt\n      - name: Run Tests\n        run: SKIP_BLACK=\"1\" ./run-tests.sh\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n      - name: Make Wheel\n        if: ${{ matrix.py != 'pypy-3.9' }}\n        run: python setup.py bdist_wheel\n      - name: Archive wheels\n        if: ${{ matrix.py != 'pypy-3.9' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: osx-wheel-${{ matrix.py }}\n          path: dist/*.whl\n          if-no-files-found: error\n      - name: Make release\n        if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' && matrix.py == '3.12' }}\n        continue-on-error: true\n        run: |\n          curl -X POST -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" https://api.github.com/repos/${{github.repository}}/releases -d '{\"tag_name\": \"${{github.event.ref}}\"}'\n      - name: Get release id\n        if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' && matrix.py != 'pypy-3.9' }}\n        id: get_release_id\n        run: |\n          release_id=$(curl -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" https://api.github.com/repos/${{github.repository}}/releases/tags/${{github.event.ref}} | jq -r '.id')\n          echo ${release_id}\n          echo \"release_id=${release_id}\" >> $GITHUB_ENV\n      - name: Upload binaries to release\n        uses: svenstaro/upload-release-action@v2\n        if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' && matrix.py != 'pypy-3.9' }}\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: dist/*.whl\n          tag: ${{ github.ref }}\n          overwrite: true\n          file_glob: true\n", "state": "active", "repository": "fastavro/fastavro"}
{"mined_at": "2024-07-15T14:50:10.756190", "created_at": "2020-10-09T03:40:16+02:00", "updated_at": "2022-09-20T16:45:58+02:00", "name": "Build", "path": ".github/workflows/build_windows.yml", "contents": "name: Build\n\non:\n  create:\n  push:\n    branches:\n      - '**'\n  pull_request:\n  schedule:\n    - cron: \"0 8 * * *\"\n\njobs:\n  test:\n    name: test ${{ matrix.py }} - windows\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        py:\n          - 3.12\n          - 3.11\n          - \"3.10\"\n          - 3.9\n          - 3.8\n          - pypy-3.9\n    steps:\n      - name: Setup Python for test ${{ matrix.py }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.py }}\n      - uses: actions/checkout@v4\n      - name: Install Testing Dependencies\n        run: pip install -r developer_requirements.txt\n      - name: Run Tests\n        run: set SKIP_BLACK=1 && .\\run-tests.cmd\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n      - name: Make Wheel\n        if: ${{ matrix.py != 'pypy-3.9' }}\n        run: python setup.py bdist_wheel\n      - name: Archive wheels\n        if: ${{ matrix.py != 'pypy-3.9' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: windows-wheel-${{ matrix.py }}\n          path: dist/*.whl\n          if-no-files-found: error\n      - name: Make release\n        if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' && matrix.py == '3.12' }}\n        continue-on-error: true\n        shell: bash\n        run: |\n          curl -X POST -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" https://api.github.com/repos/${{github.repository}}/releases -d '{\"tag_name\": \"${{github.event.ref}}\"}'\n      - name: Get release id\n        if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' && matrix.py != 'pypy-3.9' }}\n        id: get_release_id\n        shell: bash\n        run: |\n          release_id=$(curl -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" https://api.github.com/repos/${{github.repository}}/releases/tags/${{github.event.ref}} | jq -r '.id')\n          echo \"release_id=${release_id}\" >> $GITHUB_ENV\n      - name: Upload binaries to release\n        uses: svenstaro/upload-release-action@v2\n        if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' && matrix.py != 'pypy-3.9' }}\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: dist/*.whl\n          tag: ${{ github.ref }}\n          overwrite: true\n          file_glob: true\n", "state": "active", "repository": "fastavro/fastavro"}
{"mined_at": "2024-07-15T14:50:11.881639", "created_at": "2020-11-25T16:21:48+01:00", "updated_at": "2020-11-25T16:21:48+01:00", "name": "Build", "path": ".github/workflows/check_formatting.yml", "contents": "name: Build\n\non:\n  create:\n  push:\n    branches:\n      - '**'\n  pull_request:\n  schedule:\n    - cron: \"0 8 * * *\"\n\njobs:\n  test:\n    name: test ${{ matrix.py }} - ubuntu\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        py:\n          - 3.12\n    steps:\n      - name: Setup Python for test ${{ matrix.py }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.py }}\n      - uses: actions/checkout@v4\n      - name: Install Testing Dependencies\n        run: pip install -r developer_requirements.txt\n      - name: Run Black\n        run: |\n          black --target-version py38 --diff fastavro/ tests/ setup.py\n          black --target-version py38 --check fastavro/ tests/ setup.py\n      - name: Verify Docs Build\n        run: |\n          make docs\n", "state": "active", "repository": "fastavro/fastavro"}
{"mined_at": "2024-07-15T14:50:14.171474", "created_at": "2020-06-07T21:32:54+02:00", "updated_at": "2023-03-05T13:35:09+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n    paths:\n      - '.github/workflows/lint.yml'\n      - '**.py'\n  pull_request:\n    paths:\n      - '.github/workflows/lint.yml'\n      - '**.py'\n\njobs:\n  flake8:\n    name: Flake8\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n\n      - name: Setup flake8 annotations\n        uses: rbialon/flake8-annotations@v1\n\n      - name: Install flake8\n        run: |\n          python -m pip install -U pip\n          pip install flake8\n\n      - name: Run flake8\n        run: flake8 -v .\n", "state": "active", "repository": "sublimetext/packagedev"}
{"mined_at": "2024-07-15T14:50:15.363156", "created_at": "2020-06-07T21:35:56+02:00", "updated_at": "2023-03-05T13:35:47+01:00", "name": "Syntax Tests", "path": ".github/workflows/syntax.yml", "contents": "name: Syntax Tests\n\non:\n  push:\n    paths:\n      - '.github/workflows/syntax.yml'\n      - '**.sublime-syntax'\n      - '**/syntax_test*'\n      - '**.tmPreferences'\n  pull_request:\n    paths:\n      - '.github/workflows/syntax.yml'\n      - '**.sublime-syntax'\n      - '**/syntax_test*'\n      - '**.tmPreferences'\n\njobs:\n  main:\n    name: Syntax Tests (${{ matrix.build }}, ${{ matrix.packages }})\n    strategy:\n      matrix:\n        include:\n          # latest dev build\n          # This test must pass, the others are optional\n          # due to changes in the Packages repo that affect our tests.\n          - build: latest\n            packages: v4129\n            continue_on_error: false\n          # last dev & Packages `master`\n          - build: latest\n            packages: master\n            continue_on_error: true\n          # latest stable build\n          - build: 4126\n            packages: v4126\n            continue_on_error: true\n          # earliest stable build supported by the current release branch\n          - build: 4107\n            packages: v4107\n            continue_on_error: true\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: SublimeText/syntax-test-action@v2\n        with:\n          build: ${{ matrix.build }}\n          default_packages: ${{ matrix.packages }}\n        # On the step level, this does not cause the entire job to fail\n        # and thus mark PRs as failing when only one of our tests failed.\n        # See also https://github.com/github/feedback/discussions/15452.\n        continue-on-error: ${{ matrix.continue_on_error }}\n", "state": "active", "repository": "sublimetext/packagedev"}
{"mined_at": "2024-07-15T14:50:18.535668", "created_at": "2020-12-02T23:17:49+01:00", "updated_at": "2020-12-02T23:17:49+01:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": "name: Lint\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n      - uses: psf/black@stable\n\n", "state": "active", "repository": "getkeops/keops"}
{"mined_at": "2024-07-15T14:50:20.566959", "created_at": "2022-11-10T17:19:39+01:00", "updated_at": "2023-03-03T17:34:35+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"develop\", \"main\" ]\n  pull_request:\n    branches: [ \"develop\" ]\n  schedule:\n    - cron: \"47 18 * * 6\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ javascript, python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n        if: ${{ matrix.language == 'javascript' || matrix.language == 'python' }}\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "jamesoff/simplemonitor"}
{"mined_at": "2024-07-15T14:50:21.702344", "created_at": "2020-06-06T14:59:47+02:00", "updated_at": "2020-06-06T15:37:38+02:00", "name": "Docker", "path": ".github/workflows/docker.yml", "contents": "name: Docker\n\non: [push, pull_request]\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Prepare ini files\n        run: cp tests/monitor-docker.ini monitor.ini; cp tests/monitors-docker.ini monitors.ini\n      - name: Build standalone container\n        run: docker build -f docker/monitor.Dockerfile -t simplemonitor:latest .\n      - name: Test Docker container\n        run: docker run simplemonitor simplemonitor --one-shot -v\n  docker-compose:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Prepare ini files\n        run: cp tests/monitor-docker.ini monitor.ini; cp tests/monitors-docker.ini monitors.ini\n      - name: Build docker-compose environment\n        run: docker-compose build\n", "state": "active", "repository": "jamesoff/simplemonitor"}
{"mined_at": "2024-07-15T14:50:22.718171", "created_at": "2020-04-04T19:40:07+02:00", "updated_at": "2020-04-04T19:40:07+02:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n    name: Python ${{ matrix.python-version }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Check pip\n        run: pip --version\n      - name: Update pip\n        run: pip install --upgrade pip\n      - name: Install poetry\n        run: pip install poetry\n      - name: poetry install\n        run: poetry install\n      - name: check code style with black\n        run: make black\n        if: ${{ matrix.python-version == '3.8' || matrix.python-version == '3.9' }}  # broken in 3.6 currently\n      - name: flake8 tests\n        run: make flake8\n        if: ${{ matrix.python-version == '3.8' || matrix.python-version == '3.9' }}\n      - name: bandit\n        run: make bandit\n        if: ${{ matrix.python-version == '3.8' || matrix.python-version == '3.9' }}\n      - name: mypy\n        run: make mypy\n        if: ${{ matrix.python-version == '3.8' || matrix.python-version == '3.9' }}\n", "state": "active", "repository": "jamesoff/simplemonitor"}
{"mined_at": "2024-07-15T14:50:23.742060", "created_at": "2020-02-23T13:36:09+01:00", "updated_at": "2020-04-04T19:40:07+02:00", "name": "Tests (Linux)", "path": ".github/workflows/main.yml", "contents": "name: Tests (Linux)\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n    name: Python ${{ matrix.python-version }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Create html dir\n        run: mkdir -p html\n      - name: Check pip\n        run: pip --version\n      - name: Update pip\n        run: pip install --upgrade pip\n      - name: Install poetry\n        run: pip install poetry\n      - name: poetry install\n        run: poetry install\n      - name: Integration tests\n        run: make integration-tests\n      - name: Integration tests (threaded)\n        run: make integration-tests-threaded\n      - name: Config environment variables tests\n        run: make env-test\n      - name: Unit tests\n        run: make unit-test\n      - name: Network logger tests\n        run: make network-test\n      - name: Output coverage report\n        run: poetry run coverage xml -i\n      - uses: codecov/codecov-action@v3\n", "state": "active", "repository": "jamesoff/simplemonitor"}
{"mined_at": "2024-07-15T14:50:24.705400", "created_at": "2024-07-14T19:54:35+02:00", "updated_at": "2024-07-14T19:54:35+02:00", "name": "Publish to TestPyPI and PyPI", "path": ".github/workflows/publish.yml", "contents": null, "state": "active", "repository": "jamesoff/simplemonitor"}
{"mined_at": "2024-07-15T14:50:25.693865", "created_at": "2020-02-25T15:17:08+01:00", "updated_at": "2020-04-04T19:40:07+02:00", "name": "Tests (Windows)", "path": ".github/workflows/windows.yml", "contents": "name: Tests (Windows)\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n    name: Python ${{ matrix.python-version }} (Windows)\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Check pip\n        run: python -m pip --version\n      - name: Update pip\n        run: python -m pip install --user --upgrade pip\n      - name: Install poetry\n        run: pip install poetry\n      - name: poetry install\n        run: poetry install\n      - name: create HTML output folder\n        run: mkdir html\n      - name: Integration tests\n        run: make integration-tests\n      - name: Integration tests (threaded)\n        run: make integration-tests-threaded\n      - name: Unit tests\n        run: make unit-test\n      - uses: codecov/codecov-action@v3\n", "state": "active", "repository": "jamesoff/simplemonitor"}
{"mined_at": "2024-07-15T14:50:27.714950", "created_at": "2022-11-07T21:30:05+01:00", "updated_at": "2022-12-22T17:36:42+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: \"26 1 * * 4\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "koxudaxi/datamodel-code-generator"}
{"mined_at": "2024-07-15T14:50:28.696771", "created_at": "2024-02-07T00:55:26+01:00", "updated_at": "2024-02-13T18:24:37+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "# Codespell configuration is within pyproject.toml\n---\nname: Codespell\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\npermissions:\n  contents: read\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v2\n        with:\n          exclude_file: CODE_OF_CONDUCT.md\n", "state": "active", "repository": "koxudaxi/datamodel-code-generator"}
{"mined_at": "2024-07-15T14:50:29.695380", "created_at": "2023-11-21T14:56:57+01:00", "updated_at": "2023-11-21T19:32:47+01:00", "name": "codspeed-benchmarks", "path": ".github/workflows/codspeed.yml", "contents": "name: codspeed-benchmarks\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n  # `workflow_dispatch` allows CodSpeed to trigger backtest\n  # performance analysis in order to generate initial data.\n  workflow_dispatch:\n\njobs:\n  benchmarks:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.7.1\n          virtualenvs-path: .venv\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-codspeed-3.12-v1-${{ hashFiles('**/poetry.lock') }}\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction\n\n      - name: Run benchmarks\n        uses: CodSpeedHQ/action@v1\n        with:\n          token: ${{ secrets.CODSPEED_TOKEN }}\n          run: poetry run pytest tests/ --codspeed -n auto\n", "state": "active", "repository": "koxudaxi/datamodel-code-generator"}
{"mined_at": "2024-07-15T14:50:30.926845", "created_at": "2020-08-31T20:28:29+02:00", "updated_at": "2020-08-31T20:28:29+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non:\n  push:\n    branches:\n    - main\n\njobs:\n  build-deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v1\n\n    - name: Setup Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n        architecture: 'x64'\n\n    - uses: actions/cache@v1\n      with:\n        path: |\n          ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-docs.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Install mkdocs\n      run: |\n         pip install -r requirements-docs.txt\n    - name: build site\n      run:  mkdocs build --verbose --clean --strict\n    - name: Deploy\n      uses: peaceiris/actions-gh-pages@v2\n      env:\n        PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}\n        PUBLISH_BRANCH: gh-pages\n        PUBLISH_DIR: ./site\n", "state": "active", "repository": "koxudaxi/datamodel-code-generator"}
{"mined_at": "2024-07-15T14:50:32.154009", "created_at": "2020-08-31T20:28:29+02:00", "updated_at": "2020-08-31T20:28:29+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    tags:\n      - '**'\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    if: \"success() && startsWith(github.ref, 'refs/tags/')\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - uses: actions/cache@v1\n        with:\n          path: |\n            ~/.cache/pypoetry\n            ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Build publish\n        run: |\n          python -m pip install poetry poetry-dynamic-versioning\n          poetry install\n          poetry build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n  push_to_registry:\n    name: Push Docker image to Docker Hub\n    if: \"success() && startsWith(github.ref, 'refs/tags/')\"\n    runs-on: ubuntu-latest\n    needs: build-n-publish\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v2\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: koxudaxi/datamodel-code-generator\n          tag-semver: |\n            {{raw}}\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          push: true\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          build-args: |\n            VERSION=${{ github.ref_name }}\n          platforms: linux/amd64,linux/arm64\n", "state": "active", "repository": "koxudaxi/datamodel-code-generator"}
{"mined_at": "2024-07-15T14:50:33.138587", "created_at": "2020-08-31T18:51:53+02:00", "updated_at": "2020-08-31T18:51:53+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  pull_request: {}\n\njobs:\n  test:\n    name: Test on Python ${{ matrix.python-version }} and ${{ matrix.os }} and isort ${{ matrix.isort-version }} and pydantic ${{ matrix.pydantic-version }} \n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        isort-version: [4.3.21, 5.6.4]\n        black-version: [22.1.0, default]\n        pydantic-version: [1.5.1, 1.10.9, 2.4.2]\n        include:\n          - os: ubuntu-latest\n            isort-version: 5.6.4\n            black-version: default\n            python-version: 3.8\n            pydantic-version: 1.8.2\n          - os: ubuntu-latest\n            isort-version: 5.6.4\n            black-version: 19.10b0\n            python-version: 3.9\n            pydantic-version: 1.8.2\n          - os: ubuntu-latest\n            isort-version: 5.6.4\n            black-version: 24.1.0\n            python-version: 3.12\n            pydantic-version: 2.4.2\n          - os: ubuntu-latest\n            isort-version: 5.6.4\n            black-version: 23.12.1\n            python-version: 3.12\n            pydantic-version: 2.4.2\n          - os: macos-13\n            isort-version: 5.6.4\n            black-version: 22.1.0\n            python-version: 3.7\n            pydantic-version: 2.4.2\n          - os: macos-13\n            isort-version: 5.6.4\n            black-version: 22.1.0\n            python-version: 3.7\n            pydantic-version: 1.10.9\n        exclude:\n          - os: windows-latest\n            black-version: 22.1.0\n          - os: macos-latest\n            black-version: 22.1.0\n          - os: windows-latest\n            isort-version: 4.3.21\n          - os: macos-latest\n            isort-version: 4.3.21\n          - os: macos-latest\n            python-version: 3.7\n          - os: windows-latest\n            pydantic-version: 1.5.1\n          - os: macos-latest\n            pydantic-version: 1.5.1\n          - python-version: 3.9\n            pydantic-version: 1.5.1\n          - python-version: 3.10\n            pydantic-version: 1.5.1\n          - python-version: 3.11\n            pydantic-version: 1.5.1\n          - python-version: 3.12\n            pydantic-version: 1.5.1\n    defaults:\n      run:\n        shell: bash\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n      ISORT: ${{ matrix.isort-version }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install old Poetry\n      uses: snok/install-poetry@v1\n      if: matrix.python-version == '3.7'\n      with:\n        version: 1.4.2\n        virtualenvs-path: .venv\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n        installer-parallel: true\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n      if: matrix.python-version != '3.7'\n      with:\n        version: 1.7.1\n        virtualenvs-path: .venv\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n        installer-parallel: true\n    - name: Load cached venv\n      id: cached-poetry-dependencies\n      uses: actions/cache@v2\n      if: matrix.os != 'windows-latest'\n      with:\n        path: .venv\n        key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.pydantic-version }}-v1-${{ hashFiles('**/poetry.lock') }}\n    - name: Install dependencies\n      if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n      run: poetry install --no-interaction -E http -E graphql\n    - name: Install isort ${{ matrix.isort-version }} for Linux/macOS\n      if: runner.os != 'Windows'\n      run: |\n         poetry run pip install isort==\"$ISORT\"\n    - name: Install Pydantic ${{ matrix.pydantic-version }}\n      if: matrix.pydantic-version != 'default'\n      run: |\n        poetry run pip install pydantic==\"${{ matrix.pydantic-version }}\"\n    - name: Install Black ${{ matrix.black-version }}\n      if: matrix.black-version != 'default'\n      run: |\n         poetry run pip install black==\"${{ matrix.black-version }}\"\n    - name: Lint\n      if: matrix.pydantic-version == 'default'\n      run: |\n        source $VENV\n        ./scripts/lint.sh\n    - name: Unit Test\n      run: |\n         source $VENV\n         ./scripts/test.sh\n    - name: Upload coverage to Codecov\n      if: matrix.os == 'ubuntu-latest' && matrix.pydantic-version != '1.5.1'\n      uses: codecov/codecov-action@v4\n      with:\n        flags: unittests\n        file: ./coverage.xml\n        fail_ci_if_error: true\n        env_vars: OS,PYTHON,ISORT\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "koxudaxi/datamodel-code-generator"}
{"mined_at": "2024-07-15T14:50:34.138650", "created_at": "2022-01-01T05:52:56+01:00", "updated_at": "2022-01-01T05:52:56+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "koxudaxi/datamodel-code-generator"}
{"mined_at": "2024-07-15T14:50:36.137186", "created_at": "2021-02-26T23:38:47+01:00", "updated_at": "2022-11-23T23:15:53+01:00", "name": "Publish Python 🐍 distributions 📦 to PyPI", "path": ".github/workflows/publish-to-test-pypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI\n\non: push\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-18.04\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.7\n    - name: Setup deps\n      run: pip install wheel\n    - name: Build wheel\n      run: python setup.py sdist bdist_wheel\n    - name: Publish distribution 📦 to PyPI\n      if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}", "state": "active", "repository": "psychoinformaticslab/pliers"}
{"mined_at": "2024-07-15T14:50:37.167689", "created_at": "2021-01-07T01:44:00+01:00", "updated_at": "2021-01-07T02:22:32+01:00", "name": "Python tests", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python tests\n\non: [push, pull_request]\n\njobs:\n  build:\n    name: pytest (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\"]\n    env:\n      FFMPEG_BINARY: /usr/bin/ffmpeg\n      IMAGEIO_FFMPEG_EXE: /usr/bin/ffmpeg\n    steps:\n    - uses: actions/checkout@v2\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        auto-update-conda: true\n        python-version: ${{ matrix.python-version }}\n    - name: Set up system dependencies\n      run: |\n        sudo add-apt-repository ppa:savoury1/ffmpeg4\n        sudo apt-get update\n        sudo apt-get upgrade -y ffmpeg\n        sudo apt-get install -y libavformat-dev libavfilter-dev libavdevice-dev libmp3lame-dev tesseract-ocr graphviz cmake libboost-python-dev libgraphviz-dev\n    - uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('optional-dependencies.txt') }}\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip wheel\n        python -m pip install --upgrade --ignore-installed setuptools coveralls pytest-cov pytest-forked pytest-xdist\n        python -m pip install -r requirements.txt -r optional-dependencies.txt --upgrade --upgrade-strategy eager\n    - name: Download support files\n      run: |\n        openssl aes-256-cbc -K $encrypted_a0a62c26415d_key -iv $encrypted_a0a62c26415d_iv -in pliers/tests/credentials/google.json.enc -out pliers/tests/credentials/google.json -d || true\n        python -m pliers.support.download\n        python -m spacy download en_core_web_sm\n        python -m pliers.support.setup_yamnet\n    - name: Test with pytest\n      env:\n        skip_high_memory: true\n      run: |\n        py.test pliers/tests -n auto --cov=pliers --cov-report xml -m \"not requires_payment\" -W ignore::UserWarning\n        skip_high_memory=false py.test pliers/tests/extractors/test_model_extractors.py -n auto --forked --cov-append --cov=pliers --cov-report xml -m \"not requires_payment\" -W ignore::UserWarning\n    - uses: codecov/codecov-action@v1\n", "state": "active", "repository": "psychoinformaticslab/pliers"}
{"mined_at": "2024-07-15T14:50:38.282561", "created_at": "2021-03-07T08:33:42+01:00", "updated_at": "2021-04-03T07:30:44+02:00", "name": "Docker Workflow", "path": ".github/workflows/test-docker.yml", "contents": "\nname: Docker Workflow\n\non: [pull_request,push]\n\njobs:\n  docker_test_and_deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - \n      name: remove all docker images\n      run: |\n        docker rmi $(docker images -a -q)\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /usr/local/lib/android\n    - \n      name: Set environment variables\n      run: |\n        repo_owner=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')\n        echo UNSTABLE_IMG=ghcr.io/${repo_owner}/pliers:unstable >> $GITHUB_ENV\n        echo EXEC_IMG=ghcr.io/${repo_owner}/pliersci:ci_exec >> $GITHUB_ENV\n        echo BUILDER_IMG=ghcr.io/${repo_owner}/pliersci:ci_build >> $GITHUB_ENV\n        echo DOC_IMG=ghcr.io/${repo_owner}/pliersci:ci_docs >> $GITHUB_ENV\n        echo TEST_IMG=ghcr.io/${repo_owner}/pliersci:ci_tests >> $GITHUB_ENV\n    - \n      name: Checkout\n      uses: actions/checkout@v2\n    -\n      name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v1\n    - \n      name: check space and docker environment\n      run: |\n        df -h\n        docker images\n    - \n      name: Build the base image\n      uses: docker/build-push-action@v2\n      with:\n        context: .\n        file: ./docker/Dockerfile\n        target: builder\n        build-args: |\n          BUILDKIT_INLINE_CACHE=1\n        cache-from: |\n          type=registry,ref=${{ env.BUILDER_IMG }}\n        load: true\n        tags: ${{ env.BUILDER_IMG }}\n    - \n      name: check space and docker environment\n      run: |\n        df -h\n        docker images\n    - \n      name: Build executable image\n      uses: docker/build-push-action@v2\n      with:\n        context: .\n        file: ./docker/Dockerfile\n        target: executable\n        build-args: |\n          BUILDKIT_INLINE_CACHE=1\n        cache-from: |\n          type=registry,ref=${{ env.UNSTABLE_IMG }}\n        load: true\n        tags: |\n          ${{ env.EXEC_IMG }}\n          ${{ env.UNSTABLE_IMG }}\n    - \n      name: check space and docker environment\n      run: |\n        df -h\n        docker images\n    - \n      name: Build testing image\n      uses: docker/build-push-action@v2\n      with:\n        context: .\n        file: ./docker/Dockerfile\n        target: tests\n        build-args: |\n          BUILDKIT_INLINE_CACHE=1\n        cache-from: |\n          ${{ env.EXEC_IMG }}\n          ${{ env.BUILDER_IMG }}\n        load: true\n        tags: |\n          ${{ env.TEST_IMG }}\n    - \n      name: check space and docker environment\n      run: |\n        df -h\n        docker images\n    -\n      name: Run tests\n      run: |\n        docker run ${{ env.TEST_IMG }}\n    -\n      name: Push to registry (if not pull request)\n      env:\n        CR_PAT: ${{ secrets.CR_PAT }}\n      run: |\n        if [ \"${GITHUB_EVENT_NAME}\" == \"push\" ] && [ ! -z \"${CR_PAT}\" ]; then\n          echo \"${CR_PAT}\" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin \n          docker push ${UNSTABLE_IMG}  # push image for users\n          docker push ${BUILDER_IMG}  # push image for build cache \n          # check if this is a release\n          ref_name=${GITHUB_REF##*/}\n          if [[ \"${ref_name}\" == v* ]]; then\n            release=${UNSTABLE_IMG/unstable/${ref_name}}\n            docker tag ${UNSTABLE_IMG} ${release}\n            docker push ${release}\n          fi\n        else\n          echo \"pull request, not pushing\"\n        fi", "state": "active", "repository": "psychoinformaticslab/pliers"}
{"mined_at": "2024-07-15T14:50:40.549856", "created_at": "2021-10-12T22:57:23+02:00", "updated_at": "2021-10-13T17:01:06+02:00", "name": "black", "path": ".github/workflows/black.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: black\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: psf/black@stable\n        with:\n          options: \"--check --diff --color\"\n          version: \"22.3.0\"\n", "state": "active", "repository": "lhotse-speech/lhotse"}
{"mined_at": "2024-07-15T14:50:41.778836", "created_at": "2021-10-12T23:09:25+02:00", "updated_at": "2021-10-13T17:01:06+02:00", "name": "flake8", "path": ".github/workflows/flake8.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: flake8\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  flake8:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ 3.8 ]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install flake8\n      run: |\n        python -m pip install --upgrade pip flake8==4.0.1\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n", "state": "active", "repository": "lhotse-speech/lhotse"}
{"mined_at": "2024-07-15T14:50:42.792050", "created_at": "2022-05-19T02:58:39+02:00", "updated_at": "2022-05-19T18:51:08+02:00", "name": "isort", "path": ".github/workflows/isort.yml", "contents": "name: isort\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  isort:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ 3.8 ]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install isort\n      run: |\n        python -m pip install --upgrade pip isort==5.10.1\n    - name: Check that imports are sorted\n      run: |\n        isort --check --diff lhotse\n        isort --check --diff test\n", "state": "active", "repository": "lhotse-speech/lhotse"}
{"mined_at": "2024-07-15T14:50:43.920147", "created_at": "2023-12-07T19:44:55+01:00", "updated_at": "2023-12-08T18:52:16+01:00", "name": "missing_torchaudio", "path": ".github/workflows/missing_torchaudio.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: missing_torchaudio\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  missing_torchaudio:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - python-version: \"3.11\"\n            torch-install-cmd: \"pip install torch==2.0 --extra-index-url https://download.pytorch.org/whl/cpu\"\n\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: |\n          docs/requirements.txt\n          setup.py\n    - name: Install apt dependencies\n      run: |\n        sudo apt update\n        sudo apt install libsndfile1-dev libsndfile1 ffmpeg sox\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel numpy scipy\n        # Force the installation of a CPU-only PyTorch\n        ${{ matrix.torch-install-cmd }}\n        # the torchaudio env var does nothing when torchaudio is installed, but doesn't require it's presence when it's not\n        LHOTSE_REQUIRE_TORCHAUDIO=0 pip install '.[tests]'\n    - name: Run basic tests only for missing torchaudio case\n      run: |\n        pytest test/test_missing_torchaudio.py\n", "state": "active", "repository": "lhotse-speech/lhotse"}
{"mined_at": "2024-07-15T14:50:45.044403", "created_at": "2021-10-12T23:09:25+02:00", "updated_at": "2022-10-11T19:44:00+02:00", "name": "unit_tests", "path": ".github/workflows/unit_tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: unit_tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  unit_tests:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - python-version: \"3.8\"\n            torch-install-cmd: \"pip install torch==1.12.1 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cpu\"\n            extra_deps: kaldifeat\n          - python-version: \"3.9\"\n            torch-install-cmd: \"pip install torch==2.0 torchaudio==2.0 --extra-index-url https://download.pytorch.org/whl/cpu\"\n            extra_deps: kaldifeat\n          - python-version: \"3.10\"\n            torch-install-cmd: \"pip install torch==2.1 torchaudio==2.1 --extra-index-url https://download.pytorch.org/whl/cpu\"\n            extra_deps: \"\"\n          - python-version: \"3.11\"\n            torch-install-cmd: \"pip install torch==2.2 torchaudio==2.2 --extra-index-url https://download.pytorch.org/whl/cpu\"\n            extra_deps: \"\"\n          - python-version: \"3.12\"\n            torch-install-cmd: \"pip install torch==2.2 torchaudio==2.2 --extra-index-url https://download.pytorch.org/whl/cpu\"\n            extra_deps: \"\"\n\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: |\n          docs/requirements.txt\n          setup.py\n    - name: Install apt dependencies\n      run: |\n        sudo apt update\n        sudo apt install libsndfile1-dev libsndfile1 ffmpeg sox\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel numpy\n        # Force the installation of a CPU-only PyTorch\n        ${{ matrix.torch-install-cmd }}\n        # the torchaudio env var does nothing when torchaudio is installed, but doesn't require it's presence when it's not\n        pip install '.[tests]'\n        # Enable some optional tests\n        pip install h5py dill smart_open[http] kaldi_native_io webdataset==0.2.5 s3prl scipy nara_wpe pyloudnorm ${{ matrix.extra_deps }}\n    - name: Install sph2pipe\n      run: |\n        lhotse install-sph2pipe  # Handle sphere files.\n    - name: Test with pytest and coverage\n      run: |\n        export TORCHAUDIO_USE_BACKEND_DISPATCHER=1\n        pytest --cov --forked -n auto test\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n", "state": "active", "repository": "lhotse-speech/lhotse"}
{"mined_at": "2024-07-15T14:50:47.054965", "created_at": "2020-01-11T05:11:43+01:00", "updated_at": "2020-01-11T05:11:43+01:00", "name": "Build CI", "path": ".github/workflows/build.yml", "contents": "# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries\n#\n# SPDX-License-Identifier: Unlicense\nname: Build CI\n\non: [pull_request, push]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Dump GitHub context\n      env:\n        GITHUB_CONTEXT: ${{ toJson(github) }}\n      run: echo \"$GITHUB_CONTEXT\"\n    - name: Translate Repo Name For Build Tools filename_prefix\n      id: repo-name\n      run: echo \"repo-name=Adafruit-Blinka\" >> $GITHUB_OUTPUT\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.7\n    - name: Versions\n      run: |\n        python3 --version\n    - name: Checkout Current Repo\n      uses: actions/checkout@v3\n      with:\n        submodules: true\n    - name: Checkout tools repo\n      uses: actions/checkout@v3\n      with:\n        repository: adafruit/actions-ci-circuitpython-libs\n        path: actions-ci\n    - name: Install dependencies\n      # (e.g. - apt-get: gettext, etc; pip: circuitpython-build-tools, requirements.txt; etc.)\n      run: |\n        source actions-ci/install.sh\n    - name: Pip install Sphinx, pre-commit\n      run: |\n        pip install --force-reinstall Sphinx sphinx-rtd-theme pre-commit\n    - name: Library version\n      run: git describe --dirty --always --tags\n    - name: Pre-commit hooks\n      run: |\n        pre-commit run --all-files\n    - name: Build docs\n      working-directory: docs\n      run: sphinx-build -E -W -b html . _build/html\n    - name: Build Python package\n      run: |\n        pip install --upgrade build twine\n        for file in $(find -not -path \"./.*\" -not -path \"./docs*\" \\( -name \"*.py\" -o -name \"*.toml\" \\) ); do\n            sed -i -e \"s/0.0.0+auto.0/1.2.3/\" $file;\n        done;\n        python -m build\n        twine check dist/*\n", "state": "active", "repository": "adafruit/adafruit_blinka"}
{"mined_at": "2024-07-15T14:50:48.135105", "created_at": "2023-09-06T19:11:00+02:00", "updated_at": "2023-09-06T19:11:00+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "# SPDX-FileCopyrightText: 2023 Melissa LeBlanc-Williams, written for Adafruit Industries\n#\n# SPDX-License-Identifier: MIT\n\nname: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n        # write permission is required to create a github release\n        contents: write\n        pull-requests: read\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "adafruit/adafruit_blinka"}
{"mined_at": "2024-07-15T14:50:49.253847", "created_at": "2020-04-22T17:03:05+02:00", "updated_at": "2020-04-22T17:03:05+02:00", "name": "Release Actions", "path": ".github/workflows/release.yml", "contents": "# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries\n#\n# SPDX-License-Identifier: Unlicense\nname: Release Actions\n\non:\n  release:\n    types: [published]\n\njobs:\n  upload-pypi:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Check For setup.py\n      id: need-pypi\n      run: |\n        echo \"setup-py=$( find . -wholename './setup.py' )\" >> $GITHUB_OUTPUT\n    - name: Set up Python\n      if: contains(steps.need-pypi.outputs.setup-py, 'setup.py')\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      if: contains(steps.need-pypi.outputs.setup-py, 'setup.py')\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade build twine\n    - name: Build and publish\n      if: contains(steps.need-pypi.outputs.setup-py, 'setup.py')\n      env:\n        TWINE_USERNAME: ${{ secrets.pypi_username }}\n        TWINE_PASSWORD: ${{ secrets.pypi_password }}\n      run: |\n        for file in $(find -not -path \"./.*\" -not -path \"./docs*\" \\( -name \"*.py\" -o -name \"*.toml\" \\) ); do\n            sed -i -e \"s/0.0.0+auto.0/${{github.event.release.tag_name}}/\" $file;\n        done;\n        python -m build -s\n        twine upload dist/*\n", "state": "active", "repository": "adafruit/adafruit_blinka"}
{"mined_at": "2024-07-15T14:50:51.608502", "created_at": "2020-11-24T18:59:11+01:00", "updated_at": "2020-11-24T18:59:11+01:00", "name": "Check Black", "path": ".github/workflows/check_black.yml", "contents": "# This workflow will test the code base using the LATEST version of black\n\n# IMPORTANT: Black is under development. Hence, minor fommatting changes between\n# different version are expected.\n# If this test fails, install the latest version of black and then run black.\n# Preferably, run black only on the files that you have modified.\n# This will faciliate the revision of the proposed changes.\n\nname: Check Black\n\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install black\n\n      - name: Black version\n        run: black --version\n\n      - name: Black check\n        working-directory: ${{github.workspace}}\n        run: black --check .\n", "state": "active", "repository": "pysteps/pysteps"}
{"mined_at": "2024-07-15T14:50:52.655352", "created_at": "2020-11-29T20:12:51+01:00", "updated_at": "2020-11-29T20:12:51+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel numpy cython\n    - name: Build\n      run: |\n        python setup.py sdist\n    - name: Publish\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "pysteps/pysteps"}
{"mined_at": "2024-07-15T14:50:53.740163", "created_at": "2020-11-23T00:20:55+01:00", "updated_at": "2022-01-27T12:27:36+01:00", "name": "Test pysteps", "path": ".github/workflows/test_pysteps.yml", "contents": "name: Test pysteps\n\non:\n  # Triggers the workflow on push or pull request events to the master branch\n  push:\n    branches:\n      - master\n      - pysteps-v2\n  pull_request:\n      branches:\n        - master\n        - pysteps-v2\n\njobs:\n  unit_tests:\n    name: Unit Tests (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ \"ubuntu-latest\", \"macos-latest\", \"windows-latest\" ]\n        python-version: [\"3.9\", \"3.11\"]\n      max-parallel: 6\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # need headless opencv on Linux, see https://github.com/conda-forge/opencv-feedstock/issues/401\n      - name: Install mamba and create environment for Linux\n        if: matrix.os == 'ubuntu-latest'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/ci_test_env.yml\n          environment-name: test_environment\n          generate-run-shell: false\n          create-args: >-\n            python=${{ matrix.python-version }}\n            libopencv=*=headless*\n\n      - name: Install mamba and create environment (not Linux)\n        if: matrix.os != 'ubuntu-latest'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/ci_test_env.yml\n          environment-name: test_environment\n          generate-run-shell: false\n          create-args: python=${{ matrix.python-version }}\n\n      - name: Install pygrib (not win)\n        if: matrix.os != 'windows-latest'\n        run: mamba install --quiet pygrib\n\n      - name: Install pysteps for MacOS\n        if: matrix.os == 'macos-latest'\n        working-directory: ${{github.workspace}}\n        env:\n          CC: gcc-13\n          CXX: g++-13\n          CXX1X: g++-13\n          HOMEBREW_NO_INSTALL_CLEANUP: 1\n        run: |\n          brew update-reset\n          brew update\n          gcc-13 --version || brew install gcc@13\n          pip install .\n\n      - name: Install pysteps\n        if: matrix.os != 'macos-latest'\n        working-directory: ${{github.workspace}}\n        run: pip install .\n\n      - name: Download pysteps data\n        env:\n          PYSTEPS_DATA_PATH: ${{github.workspace}}/pysteps_data\n        working-directory: ${{github.workspace}}/ci\n        run: python fetch_pysteps_data.py\n\n      - name: Check imports\n        working-directory: ${{github.workspace}}/pysteps_data\n        run: |\n          python --version\n          python -c \"import pysteps; print(pysteps.__file__)\"\n          python -c \"from pysteps import motion\"\n          python -c \"from pysteps.motion import vet\"\n          python -c \"from pysteps.motion import proesmans\"\n\n      - name: Run tests and coverage report\n        working-directory: ${{github.workspace}}/pysteps_data\n        env:\n          PYSTEPSRC: ${{github.workspace}}/pysteps_data/pystepsrc\n        run: pytest --pyargs pysteps --cov=pysteps --cov-report=xml --cov-report=term -ra\n\n      - name: Upload coverage to Codecov (Linux only)\n        if: matrix.os == 'ubuntu-latest'\n        uses: codecov/codecov-action@v4\n        env:\n          OS: ${{ matrix.os }}\n          PYTHON: ${{ matrix.python-version }}\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ${{github.workspace}}/pysteps_data/coverage.xml\n          flags: unit_tests\n          env_vars: OS,PYTHON\n          fail_ci_if_error: true\n          verbose: true\n", "state": "active", "repository": "pysteps/pysteps"}
{"mined_at": "2024-07-15T14:50:55.905730", "created_at": "2021-11-23T22:31:13+01:00", "updated_at": "2022-07-07T17:48:13+02:00", "name": "DepthAI Demo CI/CD", "path": ".github/workflows/demo.workflow.yml", "contents": "name: DepthAI Demo CI/CD\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    tags:\n      - 'v*'\n      - '!v*-sdk'\n  pull_request:\n    branches:\n      - main\n\njobs:\n  windows-installer:\n    runs-on: windows-latest\n    steps:\n    # Clones repository without persisting credentials\n    # As this local git repository is packed with installer\n    - uses: actions/checkout@v2\n      with:\n        submodules: 'recursive'\n        persist-credentials: ''\n\n    - name: Get tag version\n      id: tag\n      uses: battila7/get-version-action@v2\n\n    - name: Set version (Release)\n      if: startsWith(github.ref, 'refs/tags/v') == true\n      run: echo '#define MyAppVersion \"${{ steps.tag.outputs.version-without-v }}\"' > launcher/windows/version.txt\n\n    - name: Set version\n      if: startsWith(github.ref, 'refs/tags/v') != true\n      run: echo '#define MyAppVersion \"1.0-${{ github.sha }}\"' > launcher/windows/version.txt\n\n    - name: Build Windows Installer\n      run: .\\launcher\\windows\\build.ps1\n\n    - name: Upload Installer artifact\n      uses: actions/upload-artifact@v2\n      with:\n        name: installers\n        path: launcher/windows/build/Output/\n        retention-days: 5\n\n\n  release:\n    if: startsWith(github.ref, 'refs/tags/v')\n    runs-on: windows-latest\n    needs: windows-installer\n    steps:\n    - name: Download Windows installer\n      uses: actions/download-artifact@v2\n      with:\n        name: 'installers'\n        path: installers\n\n   # Sign Launcher\n    - name: Sign Windows Launcher\n      run: |\n        New-Item -ItemType directory -Path certificate\n        Set-Content -Path certificate\\certificate.txt -Value '${{ secrets.WINDOWS_CERTIFICATE }}'\n        certutil -decode certificate\\certificate.txt certificate\\certificate.pfx\n        & 'C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe' sign /td sha256 /fd sha256 /f certificate\\certificate.pfx /p '${{ secrets.WINDOWS_CERTIFICATE_PASS }}' /tr http://timestamp.digicert.com installers/DepthAI_setup.exe\n    - name: Get current tag\n      id: tag\n      uses: battila7/get-version-action@v2\n   # Create GitHub release\n    - uses: actions/create-release@master\n      id: createRelease\n      name: Create ${{ steps.tag.outputs.version }} DepthAI Demo release\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        tag_name: ${{ steps.tag.outputs.version }}\n        release_name: DepthAI Demo ${{ steps.tag.outputs.version }}\n        body: |\n          ## Features\n\n          ## Bugs\n\n          ## Misc\n\n        draft: true\n\n    # Upload release assets\n    - name: Upload Windows Installer\n      uses: actions/upload-release-asset@v1.0.1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        upload_url: ${{ steps.createRelease.outputs.upload_url }}\n        asset_path: ${{ github.workspace }}\\installers\\DepthAI_setup.exe\n        asset_name: DepthAI-setup-${{ steps.tag.outputs.version }}.exe\n        asset_content_type: application/octet-stream\n", "state": "active", "repository": "luxonis/depthai"}
{"mined_at": "2024-07-15T14:50:57.036896", "created_at": "2022-09-22T20:25:50+02:00", "updated_at": "2022-09-23T21:07:40+02:00", "name": "DepthAI Docker Image", "path": ".github/workflows/docker.workflow.yml", "contents": "name: DepthAI Docker Image\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    tags:\n      - 'v*'\n      - '!v*-sdk'\n  pull_request:\n    branches:\n      - main\n\njobs:\n\n  build:\n    name: Build and Upload to Docker Hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USER }}\n          password: ${{ secrets.DOCKERHUB_PASS }}\n\n      - name: Build and push (development)\n        if: startsWith(github.ref, 'refs/tags/v') != true\n        run: |\n          docker buildx build \\\n            --platform linux/amd64,linux/arm/v7,linux/arm64 \\\n            --tag luxonis/depthai:${{ github.sha }} \\\n            --output \"type=image,push=true\" .\n\n      - name: Get Version\n        if: startsWith(github.ref, 'refs/tags/v')\n        id: vars\n        run: echo ::set-output name=short_ref::${GITHUB_REF#refs/*/}\n\n      - name: Build and push (release)\n        if: startsWith(github.ref, 'refs/tags/v')\n        run: |\n          docker buildx build \\\n            --platform linux/amd64,linux/arm/v7,linux/arm64 \\\n            --tag luxonis/depthai:${{ steps.vars.outputs.short_ref }} \\\n            --tag luxonis/depthai:latest \\\n            --output \"type=image,push=true\" .\n", "state": "active", "repository": "luxonis/depthai"}
{"mined_at": "2024-07-15T14:50:58.043483", "created_at": "2023-01-12T13:59:28+01:00", "updated_at": "2023-01-16T11:24:35+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    tag-name-pattern: 'v(\\d+.?)*-sdk'\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        working-directory: ./depthai_sdk\n  \n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        packages_dir: depthai_sdk/dist/\n\n    - name: Repository Dispatch\n      uses: peter-evans/repository-dispatch@v2\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        event-type: robothub-oak-release\n        repository: luxonis/robothub-images\n        client-payload: '{\"ref\": \"${{ github.ref }}\"}'", "state": "active", "repository": "luxonis/depthai"}
{"mined_at": "2024-07-15T14:50:59.186388", "created_at": "2022-11-14T14:32:32+01:00", "updated_at": "2022-11-15T23:28:21+01:00", "name": "OS Support", "path": ".github/workflows/test_install_requirements.yml", "contents": " name: OS Support\n\n on:\n  workflow_dispatch:\n  push:\n    paths:\n      - 'install_requirements.py'\n      - '.github/workflows/test_install_requirements.yml'\n      - 'requirements.txt'\n      - 'requirements-optional.txt'\n      - 'depthai_sdk/requirements.txt'\n\n # A workflow run is made up of one or more jobs that can run sequentially or in parallel\n jobs:\n   test_linux_fedora:\n     runs-on: ubuntu-latest\n     strategy:\n       matrix:\n          container_image: [\"fedora:34\", \"fedora:35\", \"fedora:36\"]\n       fail-fast: false\n     container:\n       image: ${{ matrix.container_image }}\n     steps:\n       - uses: actions/checkout@v3\n       - name: Install sudo\n         if: startsWith(matrix.container_image, 'fedora') == true\n         run: yum update -y && yum install -y sudo curl\n       - name: Install dependencies\n         run: |\n           ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone\n           curl -fL https://docs.luxonis.com/install_dependencies.sh > install_dependencies.sh\n           sed '/udevadm control --reload-rules && sudo udevadm trigger/d' install_dependencies.sh > tmp_script.sh\n           bash tmp_script.sh\n       - name: Install example requirements\n         run: |\n           python3 install_requirements.py\n   test_linux_ubuntu:\n     strategy:\n       matrix:\n          python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n          os: [\"ubuntu-20.04\", \"ubuntu-22.04\"]\n       fail-fast: false\n     runs-on: ${{ matrix.os }}\n     steps:\n       - uses: actions/checkout@v3\n       - name: Install curl\n         run: sudo apt-get update  -qq && sudo apt-get -qq install curl\n       - uses: actions/setup-python@v4\n         with:\n           python-version: ${{ matrix.python-version }}\n       - name: Install dependencies\n         run: |\n           ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone\n           curl -fL https://docs.luxonis.com/install_dependencies.sh > install_dependencies.sh\n           sed '/udevadm control --reload-rules && sudo udevadm trigger/d' install_dependencies.sh > tmp_script.sh\n           bash tmp_script.sh\n       - name: Install example requirements\n         run: |\n           python3 install_requirements.py\n   test_macos:\n      strategy:\n        matrix:\n          python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n          os: [\"macos-11\", \"macos-12\"]\n        fail-fast: false\n      runs-on: ${{ matrix.os }}\n      steps:\n       - uses: actions/checkout@v3\n       - uses: actions/setup-python@v4\n         with:\n           python-version: ${{ matrix.python-version }}\n       - name: Install dependencies\n         run: |\n           curl -fL https://docs.luxonis.com/install_dependencies.sh > install_dependencies.sh\n           sed '/udevadm control --reload-rules && sudo udevadm trigger/d' install_dependencies.sh > tmp_script.sh\n           bash tmp_script.sh\n       - name: Install example requirements\n         run: |\n           python3 install_requirements.py\n   test_windows:\n      runs-on: windows-latest\n      strategy:\n        matrix:\n          python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        fail-fast: false\n      steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n           python-version: ${{ matrix.python-version }}\n      - name: Download chocolatey\n        shell: pwsh\n        run: Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))\n      - name: Install pycharm-community dependency\n        shell: pwsh\n        run: choco install pycharm-community -y\n      - name: Install requrirements\n        run: |\n          python install_requirements.py\n\n", "state": "active", "repository": "luxonis/depthai"}
{"mined_at": "2024-07-15T14:51:01.312754", "created_at": "2024-07-10T20:51:42+02:00", "updated_at": "2024-07-10T20:51:42+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": null, "state": "active", "repository": "jupyterhub/jupyter-server-proxy"}
{"mined_at": "2024-07-15T14:51:02.566821", "created_at": "2021-11-30T13:48:46+01:00", "updated_at": "2021-12-16T11:14:20+01:00", "name": "Linkcheck", "path": ".github/workflows/linkcheck.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps. ref:\n# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions\n#\nname: Linkcheck\n\non:\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - \"**/linkcheck.yaml\"\n  push:\n    paths:\n      - \"docs/**\"\n      - \"**/linkcheck.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n  workflow_dispatch:\n\njobs:\n  linkcheck:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install deps\n        run: pip install -r docs/requirements.txt\n\n      - name: make linkcheck\n        run: |\n          cd docs\n          make linkcheck SPHINXOPTS='--color -W --keep-going'\n", "state": "active", "repository": "jupyterhub/jupyter-server-proxy"}
{"mined_at": "2024-07-15T14:51:03.693679", "created_at": "2021-02-14T20:14:12+01:00", "updated_at": "2024-03-19T22:29:02+01:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions\n#\n# Publish PyPI and NPM artifacts\n#\nname: Publish\n\non:\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"contrib/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/publish.yaml\"\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"contrib/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/publish.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n    tags:\n      - \"*\"\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - uses: actions/setup-node@v4\n        with:\n          cache: yarn\n          node-version: 20.x\n          registry-url: https://registry.npmjs.org\n          cache-dependency-path: labextension/yarn.lock\n\n      - name: Update root build packages\n        run: |\n          pip install --upgrade build pip\n\n      - name: Build dist\n        run: |\n          pyproject-build\n          cd dist && sha256sum * | tee SHA256SUMS\n\n      - name: Check dist sizes\n        run: |\n          set -eux\n          ls -lathr dist\n          [[ $(find dist -type f -size +200k) ]] && exit 1 || echo ok\n\n      - name: Javascript package\n        run: |\n          mkdir jsdist\n          cd jsdist\n          npm pack ../labextension\n          sha256sum * | tee SHA256SUMS\n\n      - name: Upload Python artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist-${{ github.run_attempt }}\n          path: dist\n          if-no-files-found: error\n\n      - name: Upload Javascript artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: jsdist-${{ github.run_attempt }}\n          path: jsdist\n          if-no-files-found: error\n\n  # https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n  publish-pypi:\n    runs-on: ubuntu-22.04\n    needs:\n      - build\n\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Download artifacts from build\n        uses: actions/download-artifact@v4\n        with:\n          name: dist-${{ github.run_attempt }}\n          path: dist\n\n      # The PyPI publishing action will try to publish this checksum file as if\n      # it was a Python package if it remains in dist, so we clean it up first.\n      - name: Cleanup SHA256SUMS\n        run: |\n          cat dist/SHA256SUMS\n          rm dist/SHA256SUMS\n\n      - name: Publish to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_PASSWORD }}\n\n  # https://docs.github.com/en/actions/language-and-framework-guides/publishing-nodejs-packages#publishing-packages-to-the-npm-registry\n  publish-npm:\n    runs-on: ubuntu-22.04\n    needs:\n      - build\n\n    steps:\n      # actions/setup-node creates an .npmrc file that references NODE_AUTH_TOKEN\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 18.x\n          registry-url: https://registry.npmjs.org\n\n      - name: Download artifacts from build\n        uses: actions/download-artifact@v4\n        with:\n          name: jsdist-${{ github.run_attempt }}\n          path: jsdist\n\n      - run: |\n          npm publish --dry-run ./jsdist/jupyterhub-jupyter-server-proxy-*.tgz\n\n      - run: |\n          npm publish ./jsdist/jupyterhub-jupyter-server-proxy-*.tgz\n        if: startsWith(github.ref, 'refs/tags')\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n", "state": "active", "repository": "jupyterhub/jupyter-server-proxy"}
{"mined_at": "2024-07-15T14:51:04.920606", "created_at": "2020-11-18T06:48:58+01:00", "updated_at": "2023-05-18T16:04:16+02:00", "name": "Test", "path": ".github/workflows/test.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions\n#\nname: Test\n\non:\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"contrib/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/test.yaml\"\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"contrib/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/test.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n  schedule:\n    # Run at 05:00 on monday and thursday, ref: https://crontab.guru/#0_5_*_*_1,4\n    - cron: \"0 5 * * 1,4\"\n  workflow_dispatch:\n\nenv:\n  # avoid warnings about config paths\n  JUPYTER_PLATFORM_DIRS: \"1\"\n  # avoid looking at every version of pip ever released\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - uses: actions/setup-node@v4\n        with:\n          cache: yarn\n          node-version: 20.x\n          registry-url: https://registry.npmjs.org\n          cache-dependency-path: labextension/yarn.lock\n\n      - name: Update root build packages\n        run: pip install --upgrade build\n\n      - name: Build Python package\n        run: pyproject-build\n\n      - name: Upload built artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist-${{ github.run_attempt }}\n          path: ./dist\n\n  test:\n    name: ${{ matrix.os }} ${{ matrix.python-version }} ${{ matrix.pip-extras }} ${{ (matrix.pip-install-constraints != '' && '(oldest deps)') || '' }}\n    needs: [build]\n    timeout-minutes: 30\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash # windows default isn't bash\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-22.04, windows-2022]\n        python-version: [\"3.8\", \"3.12\"]\n        pip-extras: [lab, classic]\n        pip-install-constraints: [\"\"]\n        exclude:\n          # windows should work for all test variations, but a limited selection\n          # is run to avoid doubling the amount of test runs\n          - os: windows-2022\n            python-version: \"3.12\"\n            pip-extras: classic\n          - os: windows-2022\n            python-version: \"3.8\"\n            pip-extras: lab\n\n          # FIXME: If https://github.com/jupyter/notebook/pull/7305 gets merged\n          #        and released, we can test \"classic\" with python 3.12 as well,\n          #        but until then we exclude it from being run as a Python 3.12\n          #        test and include it as a Python 3.11 test.\n          - os: ubuntu-22.04\n            python-version: \"3.12\"\n            pip-extras: classic\n        include:\n          # this test is manually updated to reflect the lower bounds of\n          # versions from dependencies\n          - os: ubuntu-22.04\n            python-version: \"3.8\"\n            pip-extras: classic\n            pip-install-constraints: >-\n              jupyter-server==1.24.0\n              simpervisor==1.0.0\n              tornado==6.1.0\n              traitlets==5.1.0\n\n          # Workaround for excluded 3.12 test mentioned in a FIXME above\n          - os: ubuntu-22.04\n            python-version: \"3.11\"\n            pip-extras: classic\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n\n      - name: Update root build packages\n        run: pip install --upgrade pip\n\n      - name: Download built artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: dist-${{ github.run_attempt }}\n          path: ./dist\n\n      - name: Install Python package\n        # NOTE: See CONTRIBUTING.md for a local development setup that differs\n        #       slightly from this.\n        #\n        #       Pytest options are set in `pyproject.toml`.\n        run: |\n          pip install -vv $(ls ./dist/*.whl)\\[acceptance,${{ matrix.pip-extras }}\\] ${{ matrix.pip-install-constraints }}\n\n      - name: List Python packages\n        run: |\n          pip freeze\n          pip check\n\n      - name: Check server extension for jupyter_server\n        run: |\n          jupyter server extension list\n          jupyter server extension list 2>&1 | grep -iE \"jupyter_server_proxy.*OK\" -\n\n      - name: Check server extension for notebook v6\n        if: contains(matrix.pip-extras, 'classic')\n        run: |\n          jupyter serverextension list\n          jupyter serverextension list 2>&1 | grep -iE \"jupyter_server_proxy.*OK\" -\n\n      - name: Check frontend extension for notebook v6\n        if: contains(matrix.pip-extras, 'classic')\n        run: |\n          jupyter nbextension list\n          PYTHONUNBUFFERED=1 jupyter nbextension list 2>&1 | grep -A1 -iE '.*jupyter_server_proxy.*enabled' | grep -B1 -iE \"Validating.*OK\"\n\n      - name: Check frontend extension for notebook v7+\n        if: ${{ !contains(matrix.pip-extras, 'classic') }}\n        run: |\n          jupyter notebook extension list\n          jupyter notebook extension list 2>&1 | grep -iE 'jupyter_server_proxy.*OK.*'\n\n      - name: Check frontend extension for jupyterlab\n        run: |\n          jupyter lab extension list\n          jupyter lab extension list 2>&1 | grep -iE 'jupyter_server_proxy.*OK.*'\n\n      # we have installed a pre-built wheel and configured code coverage to\n      # inspect \"jupyter_server_proxy\", by re-locating to another directory,\n      # there is no confusion about \"jupyter_server_proxy\" referring to our\n      # installed package rather than the local directory\n      - name: Run tests\n        run: |\n          mkdir build\n          cd build\n          pytest -c ../pyproject.toml ../tests\n\n      - name: Upload test reports\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: |-\n            tests-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.pip-extras }}-${{ (matrix.pip-install-constraints != '' && 'oldest-') || '' }}${{ github.run_attempt }}\n          path: |\n            ./build/pytest\n            ./build/coverage\n            ./build/robot\n\n      # GitHub action reference: https://github.com/codecov/codecov-action\n      - uses: codecov/codecov-action@v4\n", "state": "active", "repository": "jupyterhub/jupyter-server-proxy"}
{"mined_at": "2024-07-15T14:51:06.941547", "created_at": "2020-04-17T17:03:09+02:00", "updated_at": "2021-12-15T10:02:24+01:00", "name": "test-core", "path": ".github/workflows/ci-core.yml", "contents": "name: test-core\non: [push, pull_request]\njobs:\n  lint-python:\n    name: lint-python\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - name: Install ruff\n        run: |\n          pip install .[dev]\n      - name: Lint Python\n        run: |\n          ruff .\n  test-asreview-core:\n    name: test-asreview-core\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: recursive\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install packages\n        run: |\n          pip install pytest\n          pip install --no-cache-dir .[test]\n          pip install --no-cache-dir .\n      - name: Run test suite with pytest\n        run: |\n          pytest tests/\n", "state": "active", "repository": "asreview/asreview"}
{"mined_at": "2024-07-15T14:51:08.199759", "created_at": "2020-04-17T17:03:09+02:00", "updated_at": "2024-06-20T20:49:41+02:00", "name": "test-frontend", "path": ".github/workflows/ci-frontend.yml", "contents": null, "state": "active", "repository": "asreview/asreview"}
{"mined_at": "2024-07-15T14:51:09.203756", "created_at": "2024-06-18T17:09:48+02:00", "updated_at": "2024-06-18T17:43:16+02:00", "name": "test-webapp", "path": ".github/workflows/ci-webapp.yml", "contents": "name: test-webapp\non: [push, pull_request]\njobs:\n  compile-and-test:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: recursive\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"20\"\n          cache: \"npm\"\n          cache-dependency-path: \"asreview/webapp/package-lock.json\"\n      - name: Get Tags\n        run: |\n          git fetch --prune --unshallow --tags\n          git tag\n      - name: Compile assets\n        run: |\n          python setup.py compile_assets\n      - name: Install pytest and package\n        run: |\n          pip install pytest pytest-random-order pytest-xdist\n          pip install --no-cache-dir .\n      - name: Test flask web app\n        run: |\n          pytest --random-order -n 6 asreview/webapp/tests\n", "state": "active", "repository": "asreview/asreview"}
{"mined_at": "2024-07-15T14:51:10.348031", "created_at": "2023-03-06T14:01:27+01:00", "updated_at": "2023-04-05T15:09:36+02:00", "name": "Docker deployment", "path": ".github/workflows/docker.yml", "contents": "name: Docker deployment\n\non:\n  push:\n    tags:\n      - \"v*\"\n  pull_request:\n    paths:\n      - \"Dockerfile\"\n      - \".github/workflows/docker.yml\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Build the image for testing\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          load: true\n          tags: asreview/asreview:test\n      - name: Test the built image\n        run: |\n          docker run asreview/asreview:test -h\n\n      - name: Docker meta\n        id: meta\n        if: github.event_name != 'pull_request'\n        uses: docker/metadata-action@v4\n        with:\n          images: ghcr.io/asreview/asreview\n      - name: Login to GitHub registry\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and, if it is not a pull request, push to Docker Hub\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "asreview/asreview"}
{"mined_at": "2024-07-15T14:51:11.467047", "created_at": "2020-01-16T16:25:02+01:00", "updated_at": "2023-01-26T10:17:17+01:00", "name": "Docs render check", "path": ".github/workflows/docs.yml", "contents": "name: \"Docs render check\"\non: [push, pull_request]\n\njobs:\n  docs:\n    runs-on: macos-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v3\n      - name: Install pandoc\n        run: |\n          brew install pandoc\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Install ASReview with docs dependencies\n        run: |\n          python -m pip install .[docs]\n      - name: Build HTML\n        run: |\n          python -m sphinx -W --keep-going --color docs/source/ build/html/\n", "state": "active", "repository": "asreview/asreview"}
{"mined_at": "2024-07-15T14:51:12.541495", "created_at": "2021-10-06T15:51:04+02:00", "updated_at": "2021-10-06T18:22:56+02:00", "name": "test-extensions", "path": ".github/workflows/extensions.yml", "contents": "name: test-extensions\non: [push, pull_request]\njobs:\n  test-asreview-datatools:\n    name: test-asreview-datatools\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Install packages\n        run: |\n          pip install pytest\n          pip install --no-cache-dir .\n      - name: Install extension\n        run: |\n          git clone https://github.com/asreview/asreview-datatools\n          cd asreview-datatools\n          latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)\n          git checkout $latestTag\n          pip install .\n      - name: Run test on asreview-datatools\n        run: |\n          pytest asreview-datatools/tests/\n  test-asreview-insights:\n    name: test-asreview-insights\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Install packages\n        run: |\n          pip install pytest\n          pip install --no-cache-dir .\n      - name: Install extension\n        run: |\n          git clone https://github.com/asreview/asreview-insights\n          cd asreview-insights\n          latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)\n          git checkout $latestTag\n          pip install .\n      - name: Run test on asreview-insights\n        run: |\n          pytest asreview-insights/tests/\n  test-asreview-wordcloud:\n    name: test-asreview-wordcloud\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Install packages\n        run: |\n          pip install pytest\n          pip install --no-cache-dir .\n      - name: Install extension\n        run: |\n          git clone https://github.com/asreview/asreview-wordcloud\n          cd asreview-wordcloud\n          latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)\n          git checkout $latestTag\n          pip install .\n      - name: Run test on asreview-wordcloud\n        run: |\n          pytest asreview-wordcloud/tests/\n", "state": "active", "repository": "asreview/asreview"}
{"mined_at": "2024-07-15T14:51:13.728431", "created_at": "2020-01-29T21:50:00+01:00", "updated_at": "2020-01-29T21:50:00+01:00", "name": "Deploy and release", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Deploy and release\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools build\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"20\"\n          cache: \"npm\"\n          cache-dependency-path: \"asreview/webapp/package-lock.json\"\n      - name: Compile assets\n        run: |\n          python setup.py compile_assets\n      - name: Build\n        run: |\n          python build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "asreview/asreview"}
{"mined_at": "2024-07-15T14:51:15.774828", "created_at": "2021-06-25T15:42:20+02:00", "updated_at": "2021-10-15T12:02:47+02:00", "name": "publish_conda", "path": ".github/workflows/anaconda-publish.yml", "contents": "name: publish_conda\n\non:\n  workflow_dispatch: # on demand\n    branches: [ master ]\n    \njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Install dependencies\n      run: |\n        conda config --append channels conda-forge\n        conda config --append channels giuliorossetti\n    - uses: actions/checkout@v1\n    - name: publish-to-conda\n      uses: GiulioRossetti/conda-package-publish-action@cdlib_a\n      with:\n        subdir: 'conda'\n        AnacondaToken: ${{ secrets.ANACONDA_TOKEN }}\n        platforms: 'all' #\n        override: true\n        # dry_run: true\n", "state": "active", "repository": "giuliorossetti/cdlib"}
{"mined_at": "2024-07-15T14:51:16.906652", "created_at": "2021-07-06T09:08:03+02:00", "updated_at": "2021-07-06T09:08:03+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '28 0 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    #- name: Autobuild\n    #  uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "giuliorossetti/cdlib"}
{"mined_at": "2024-07-15T14:51:17.963269", "created_at": "2023-06-07T15:11:05+02:00", "updated_at": "2023-06-07T15:11:05+02:00", "name": "Conda skeleton from PyPi publish", "path": ".github/workflows/conda-skeleton-pypi-publish.yml", "contents": "name: Conda skeleton from PyPi publish\n\non:\n  workflow_dispatch:\n    branches: [master]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: Conda skeleton publish\n    steps:\n      - name: Publish conda package from PyPI package\n        uses: silvxlabs/conda-skeleton-publish@v2\n        with:\n          pypi_package: \"cdlib\"\n          python_version: \"3.9\"\n          build_channels: \"conda-forge giuliorossetti\"\n          upload_channel: \"giuliorossetti\"\n          access_token: ${{ secrets.ANACONDA_TOKEN }}\n          stable: true", "state": "active", "repository": "giuliorossetti/cdlib"}
{"mined_at": "2024-07-15T14:51:19.053317", "created_at": "2021-01-14T15:31:17+01:00", "updated_at": "2022-10-05T12:05:22+02:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/first-interaction@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: 'Thanks for submitting your first issue!'\n        pr-message: 'Thanks for submitting your first pull request!'\n", "state": "disabled_manually", "repository": "giuliorossetti/cdlib"}
{"mined_at": "2024-07-15T14:51:20.175582", "created_at": "2021-06-25T15:42:20+02:00", "updated_at": "2021-06-25T15:42:20+02:00", "name": "Python Package using Conda", "path": ".github/workflows/python-package-conda.yml", "contents": "name: Python Package using Conda\n\non:\n  push:\n    branches: [ master ]\n  workflow_dispatch:\n    branches: [ master ]\n\njobs:\n  build-linux:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n          python-version: 3.9\n    - name: Add conda to system path\n      run: |\n        # $CONDA is an environment variable pointing to the root of the miniconda directory\n        echo $CONDA/bin >> $GITHUB_PATH\n    - name: Install conda-forge dependencies\n      run: |\n        conda config --append channels giuliorossetti\n        conda config --append channels conda-forge\n        conda config --set channel_priority flexible\n        # conda config --set channel_priority false\n\n        conda install python=3.9\n        conda install pulp flake8\n        conda env update --file environment.yml --name base\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pip install pytest pytest-cov\n        pip install coveralls\n        pytest\n", "state": "active", "repository": "giuliorossetti/cdlib"}
{"mined_at": "2024-07-15T14:51:21.171399", "created_at": "2021-06-18T09:55:00+02:00", "updated_at": "2024-06-26T18:08:11+02:00", "name": "Test and Coverage (Ubuntu)", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test and Coverage (Ubuntu)\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10']\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        auto-update-conda: true\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install system libraries\n      run: |\n        sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 612DEFB798507F25\n        sudo add-apt-repository -y \"https://downloads.skewed.de/apt jammy main\"\n        sudo apt-get install -y python3-pip libcairo2-dev python3-graph-tool\n        \n        sudo apt-get install -y libgmp3-dev libmpfr-dev libmpc-dev wget bzip2 build-essential libxcursor-dev libglib2.0-dev\n        \n\n  # sudo apt-get install -y libgmp3-dev\n  # sudo apt-get install -y libmpfr-dev\n  # sudo apt-get install -y libmpc-dev\n  # sudo apt-get install -y graph-tool\n        \n    - name: Install pip dependencies\n      run: |\n\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install -r requirements_optional.txt\n        pip install .\n        python -m pip install flake8 pytest\n        pip install shuffle_graph>=2.1.0 similarity-index-of-label-graph>=2.0.1 ASLPAw>=2.1.0\n        pip install pytest pytest-cov\n        pip install coveralls\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Test with pytest\n      run: |\n        pytest --cov-config=.coveragerc --cov=./ --cov-report=xml\n\n    - name: codecov\n      uses: codecov/codecov-action@v1\n", "state": "active", "repository": "giuliorossetti/cdlib"}
{"mined_at": "2024-07-15T14:51:22.165062", "created_at": "2021-06-18T15:36:40+02:00", "updated_at": "2021-06-18T15:36:40+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n      branches: [ master ]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    \n    - name: Build package\n      run: python -m build\n      \n   # - name: Publish distribution 📦 to Test PyPI\n   #   uses: pypa/gh-action-pypi-publish@master\n   #   with:\n   #     user: __token__\n   #     password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n   #     repository_url: https://test.pypi.org/legacy/\n        \n    - name: Publish distribution 📦 to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        \n        \n", "state": "active", "repository": "giuliorossetti/cdlib"}
{"mined_at": "2024-07-15T14:51:24.145642", "created_at": "2022-05-15T03:23:36+02:00", "updated_at": "2022-05-15T03:23:36+02:00", "name": "GitSync", "path": ".github/workflows/git_sync.yaml", "contents": "name: GitSync\n\non:\n  - push\n  - delete\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    name: Git Repo Sync\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - uses: vertexproject/git-repo-sync@v0.1.0\n      with:\n        target-url: https://${{ secrets.SYNC_TARGET_HOST }}/${{ github.repository }}.git\n        target-username: ${{ secrets.SYNC_TARGET_USERNAME }}\n        target-token: ${{ secrets.SYNC_TARGET_TOKEN }}", "state": "active", "repository": "vertexproject/synapse"}
{"mined_at": "2024-07-15T14:51:26.390399", "created_at": "2020-07-14T20:51:08+02:00", "updated_at": "2023-03-25T09:01:54+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n    if: \"!contains(github.event.pull_request.labels.*.name, 'docs-only')\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: compas-dev/compas-actions.build@v4\n        with:\n          invoke_lint: true\n          invoke_test: true\n          python: ${{ matrix.python }}\n", "state": "active", "repository": "compas-dev/compas"}
{"mined_at": "2024-07-15T14:51:27.550750", "created_at": "2024-06-29T13:38:13+02:00", "updated_at": "2024-07-03T13:27:57+02:00", "name": "coverage", "path": ".github/workflows/coverage.yml", "contents": null, "state": "active", "repository": "compas-dev/compas"}
{"mined_at": "2024-07-15T14:51:28.676525", "created_at": "2020-10-13T13:14:45+02:00", "updated_at": "2023-03-25T09:01:54+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - 'v*'\n  pull_request_review:\n    types: [submitted]\n\njobs:\n  docs:\n    if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: compas-dev/compas-actions.docs@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          doc_url: https://compas.dev/compas\n", "state": "active", "repository": "compas-dev/compas"}
{"mined_at": "2024-07-15T14:51:29.803477", "created_at": "2020-07-15T23:35:45+02:00", "updated_at": "2023-03-25T09:01:54+01:00", "name": "ironpython", "path": ".github/workflows/ironpython.yml", "contents": "name: ironpython\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n    name: windows-ironpython\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: \"[RPC tests] Set up CPython 3.9\"\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: \"[RPC tests] Install CPython dependencies\"\n        run: |\n          python -m pip install --upgrade pip\n      - name: \"[RPC tests] Install COMPAS on CPython\"\n        run: |\n          pip install --no-cache-dir .\n      - name: Install dependencies\n        run: |\n          choco install ironpython --version=2.7.8.1\n          curl -o ironpython-pytest.tar.gz -LJO https://pypi.debian.net/ironpython-pytest/latest\n          ipy -X:Frames -m ensurepip\n          ipy -X:Frames -m pip install --no-deps ironpython-pytest.tar.gz\n      - uses: NuGet/setup-nuget@v1.0.5\n      - name: Install dependencies\n        run: |\n          choco install ironpython --version=2.7.8.1\n      - uses: compas-dev/compas-actions.ghpython_components@v2\n        with:\n          source: src/compas_ghpython/components\n          target: src/compas_ghpython/components\n      - name: Test import\n        run: |\n          ipy -m compas\n        env:\n          IRONPYTHONPATH: ./src\n      - name: Run tests\n        run: |\n          ipy tests/ipy_test_runner.py\n        env:\n          IRONPYTHONPATH: ./src\n", "state": "active", "repository": "compas-dev/compas"}
{"mined_at": "2024-07-15T14:51:30.930294", "created_at": "2021-01-18T18:54:51+01:00", "updated_at": "2023-03-25T09:01:54+01:00", "name": "verify-pr-checklist", "path": ".github/workflows/pr-checks.yml", "contents": "name: verify-pr-checklist\non:\n  pull_request:\n    types: [assigned, opened, synchronize, reopened, labeled, unlabeled]\n    branches:\n      - main\n      - master\n\njobs:\n  build:\n    name: Check Actions\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - name: Changelog check\n        uses: Zomzog/changelog-checker@v1.2.0\n        with:\n          fileName: CHANGELOG.md\n          checkNotification: Simple\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "compas-dev/compas"}
{"mined_at": "2024-07-15T14:51:31.941745", "created_at": "2020-10-15T09:36:42+02:00", "updated_at": "2021-04-30T13:13:09+02:00", "name": "Create Release", "path": ".github/workflows/release.yml", "contents": "on:\n  push:\n    tags:\n      - \"v*\"\n\nname: Create Release\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: compas-dev/compas-actions.build@v4\n        with:\n          invoke_lint: true\n          invoke_test: true\n          python: ${{ matrix.python }}\n          check_import: true\n\n  publish:\n    needs: build\n    runs-on: windows-latest\n    steps:\n      - uses: compas-dev/compas-actions.publish@v3\n        with:\n          pypi_token: ${{ secrets.PYPI }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          build_ghpython_components: true\n          gh_source: src/compas_ghpython/components\n          gh_target: src/compas_ghpython/components/ghuser\n          release_name_prefix: COMPAS\n", "state": "active", "repository": "compas-dev/compas"}
{"mined_at": "2024-07-15T14:51:33.056284", "created_at": "2021-12-17T16:52:39+01:00", "updated_at": "2021-12-17T16:52:39+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "compas-dev/compas"}
{"mined_at": "2024-07-15T14:51:35.096178", "created_at": "2022-04-11T11:37:48+02:00", "updated_at": "2022-04-18T16:21:09+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '18 14 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        config-file: ./.github/codeql-config.yml\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "keylime/keylime"}
{"mined_at": "2024-07-15T14:51:36.254629", "created_at": "2021-08-25T16:01:49+02:00", "updated_at": "2021-08-25T16:01:49+02:00", "name": "keylime-container-images", "path": ".github/workflows/container.yml", "contents": "name: keylime-container-images\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - \"v*\"\n  workflow_dispatch:\n    branches:\n      - master\n\nenv:\n  REGISTRY: quay.io\n  IMAGE_BASE: quay.io/keylime\n\njobs:\n  build-images:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ secrets.QUAY_USER }}\n          password: ${{ secrets.QUAY_TOKEN }}\n\n      - name: Generate docker metadata for keylime_base\n        id: meta_base\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ${{ env.IMAGE_BASE }}/keylime_base\n          tags: |\n            type=ref,enable=true,priority=600,prefix=,suffix=,event=branch\n            type=ref,enable=true,priority=600,prefix=,suffix=,event=tag\n            type=sha,prefix=sha-\n\n      - name: Generate docker metadata for keylime_verifier\n        id: meta_verifier\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ${{ env.IMAGE_BASE }}/keylime_verifier\n          tags: |\n            type=ref,enable=true,priority=600,prefix=,suffix=,event=branch\n            type=ref,enable=true,priority=600,prefix=,suffix=,event=tag\n            type=sha,prefix=sha-\n\n      - name: Generate docker metadata for keylime_registrar\n        id: meta_registrar\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ${{ env.IMAGE_BASE }}/keylime_registrar\n          tags: |\n            type=ref,enable=true,priority=600,prefix=,suffix=,event=branch\n            type=ref,enable=true,priority=600,prefix=,suffix=,event=tag\n            type=sha,prefix=sha-\n\n      - name: Generate docker metadata for keylime_tenant\n        id: meta_tenant\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ${{ env.IMAGE_BASE }}/keylime_tenant\n          tags: |\n            type=ref,enable=true,priority=600,prefix=,suffix=,event=branch\n            type=ref,enable=true,priority=600,prefix=,suffix=,event=tag\n            type=sha,prefix=sha-\n\n      - name: Prepare dockerfiles\n        run: |\n          cd docker/release && ./generate-files.sh \"${{ steps.meta_base.outputs.version }}\" \"${{ env.IMAGE_BASE }}/\"\n\n      - name: Build and push base\n        id: build_base\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: docker/release/base/Dockerfile\n          push: true\n          tags: ${{ steps.meta_base.outputs.tags }}\n          labels: ${{ steps.meta_base.outputs.labels }}\n\n      - name: Build and push registrar\n        id: build_registrar\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: docker/release/registrar/Dockerfile\n          push: true\n          tags: ${{ steps.meta_registrar.outputs.tags }}\n          labels: ${{ steps.meta_registrar.outputs.labels }}\n\n      - name: Build and push verifier\n        id: build_verifier\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: docker/release/verifier/Dockerfile\n          push: true\n          tags: ${{ steps.meta_verifier.outputs.tags }}\n          labels: ${{ steps.meta_verifier.outputs.labels }}\n\n      - name: Build and push tenant\n        id: build_tenant\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: docker/release/tenant/Dockerfile\n          push: true\n          tags: ${{ steps.meta_tenant.outputs.tags }}\n          labels: ${{ steps.meta_tenant.outputs.labels }}\n", "state": "active", "repository": "keylime/keylime"}
{"mined_at": "2024-07-15T14:51:37.338038", "created_at": "2019-12-19T19:25:51+01:00", "updated_at": "2019-12-19T19:25:51+01:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/first-interaction@v1\n      continue-on-error: true\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: 'Thank you for reporting your first issue. If the issue relates to a change you intend to work on, please ask that someone assign it to you.'\n        pr-message: 'Thanks for your PR. Please check the CI jobs to make sure the build passes and fix any failures. If you have any questions, please ask and many thanks for your contribution!'\n", "state": "active", "repository": "keylime/keylime"}
{"mined_at": "2024-07-15T14:51:38.399432", "created_at": "2022-02-07T19:19:55+01:00", "updated_at": "2022-02-07T19:19:55+01:00", "name": "pypi-release", "path": ".github/workflows/pypi-release.yml", "contents": "name: pypi-release\n\non:\n  release:\n    types:\n      - released\n\njobs:\n  release:\n    name: release\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@master\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n          .\n\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "keylime/keylime"}
{"mined_at": "2024-07-15T14:51:39.533978", "created_at": "2022-05-23T15:57:15+02:00", "updated_at": "2022-05-23T15:57:15+02:00", "name": "Upload code coverage for a merged PR to codecov.io", "path": ".github/workflows/submit-HEAD-coverage.yaml", "contents": "name: Upload code coverage for a merged PR to codecov.io\n\non:\n  push:\n    branches:\n    - master\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    name: Submit code coverage from merged PR\n    steps:\n    - uses: actions/checkout@v3\n    - name: Install testing-farm script\n      run: pip3 -v install tft-cli\n    - name: Run tests on Testing Farm\n      run: testing-farm request --context distro=fedora-39 --arch x86_64 --compose Fedora-39 --plan '/e2e-with-revocation' -e UPLOAD_COVERAGE=1 2>&1 | tee tt_output\n      env:\n        TESTING_FARM_API_TOKEN: ${{ secrets.TESTING_FARM_API_TOKEN }}\n    - name: Find PR Packit tests to finish and download coverage.xml file\n      run: grep -q 'tests passed' tt_output && sleep 20 && scripts/download_packit_coverage.sh --testing-farm-log tt_output\n      env:\n        MAX_DURATION: 120\n        SLEEP_DELAY: 20\n    - name: List downloaded files\n      run: ls coverage*\n    - name: Upload coverage.unittests.xml report to Codecov with GitHub Action\n      uses: codecov/codecov-action@v2\n      with:\n        files: coverage.unittests.xml\n        flags: unittests\n    - name: Upload coverage.testsuite.xml report to Codecov with GitHub Action\n      uses: codecov/codecov-action@v2\n      with:\n        files: coverage.testsuite.xml\n        flags: testsuite\n    - name: Upload coverage.packit.xml report to Codecov with GitHub Action\n      uses: codecov/codecov-action@v2\n      with:\n        files: coverage.packit.xml\n        flags: packit-e2e\n", "state": "active", "repository": "keylime/keylime"}
{"mined_at": "2024-07-15T14:51:40.760406", "created_at": "2022-04-26T19:35:34+02:00", "updated_at": "2022-04-26T21:05:20+02:00", "name": "PR code coverage measurement on codecov.io", "path": ".github/workflows/submit-PR-coverage.yaml", "contents": "name: PR code coverage measurement on codecov.io\n\non: [pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    name: Submit code coverage from Packit tests\n    defaults:\n      run:\n        working-directory: scripts\n    steps:\n    - uses: actions/checkout@v3\n    - name: Wait for Packit tests to finish and download coverage.xml file\n      run: ./download_packit_coverage.sh\n      env:\n        MAX_DURATION: 5400\n        SLEEP_DELAY: 120\n    - name: List downloaded files\n      run: ls coverage*\n    - name: Upload coverage.unittests.xml report to Codecov with GitHub Action\n      uses: codecov/codecov-action@v2\n      with:\n        files: scripts/coverage.unittests.xml\n        flags: unittests\n    - name: Upload coverage.testsuite.xml report to Codecov with GitHub Action\n      uses: codecov/codecov-action@v2\n      with:\n        files: scripts/coverage.testsuite.xml\n        flags: testsuite\n    - name: Upload coverage.packit.xml report to Codecov with GitHub Action\n      uses: codecov/codecov-action@v2\n      with:\n        files: scripts/coverage.packit.xml\n        flags: packit-e2e\n", "state": "active", "repository": "keylime/keylime"}
{"mined_at": "2024-07-15T14:51:41.781566", "created_at": "2020-12-11T17:32:13+01:00", "updated_at": "2020-12-11T17:32:13+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  pull_request:\n    paths:\n      - 'keylime/**'\n      - 'test/**'\n      - 'test-data/**'\n  workflow_dispatch:\n\njobs:\n  style-checks:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v3\n    - uses: pre-commit/action@v3.0.0\n  tpm-tests:\n    runs-on: ubuntu-latest\n    container:\n      image: quay.io/keylime/keylime-ci:latest\n      options: --user root --mount type=tmpfs,destination=/var/lib/keylime/,tmpfs-mode=1770\n      env:\n        KEYLIME_TEST: True\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n    - name: Run tests\n      run: .ci/test_wrapper.sh\n  lint:\n    runs-on: ubuntu-latest\n    container:\n      image: quay.io/keylime/keylime-ci:latest\n      options: --user root --mount type=tmpfs,destination=/var/lib/keylime/,tmpfs-mode=1770\n      env:\n        KEYLIME_TEST: True\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n    - name: Install build dependencies\n      run: sudo dnf -y install swig\n    - name: Install Python dependencies\n      run: sudo dnf -y install python3.6 tox python3-pip\n    - name: Run lints\n      run: tox -vv -e 'pylint,pylint36'\n    - name: Run mypy\n      run: tox -vv -e 'mypy'\n    - name: Run pyright\n      run: tox -vv -e 'pyright'\n", "state": "active", "repository": "keylime/keylime"}
{"mined_at": "2024-07-15T14:51:44.040634", "created_at": "2022-08-30T19:22:40+02:00", "updated_at": "2022-10-12T10:59:39+02:00", "name": "Check markdown partials", "path": ".github/workflows/check_partials.yml", "contents": "name: Check markdown partials\n# Checks for invalid markdown partials\non:\n  pull_request:\n    paths:\n    - '**/*.md'\n\njobs:\n  changed-files:\n    runs-on: ubuntu-latest\n    outputs:\n      md: ${{ steps.changes.outputs.md }}\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    \n    - name: Output changed files\n      id: changes\n      run: >-\n        echo \"::set-output name=md::$(\n          git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} |\n          grep .md$ |\n          xargs\n        )\"\n\n    - name: Check for invalid partials\n      run: |\n        echo ${{ steps.changed-files.outputs.md }}\n        python .github/workflows/check_partials.py --files='${{ steps.changes.outputs.md }}'\n", "state": "active", "repository": "datadog/integrations-extras"}
{"mined_at": "2024-07-15T14:51:45.154418", "created_at": "2022-01-03T23:17:30+01:00", "updated_at": "2022-02-14T20:11:40+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "datadog/integrations-extras"}
{"mined_at": "2024-07-15T14:51:46.178563", "created_at": "2023-08-15T20:34:58+02:00", "updated_at": "2023-08-15T20:34:58+02:00", "name": "Run Datadog Synthetic tests", "path": ".github/workflows/datadog-synthetics.yml", "contents": null, "state": "active", "repository": "datadog/integrations-extras"}
{"mined_at": "2024-07-15T14:51:47.228137", "created_at": "2023-03-31T20:02:13+02:00", "updated_at": "2023-05-12T15:40:26+02:00", "name": "Master", "path": ".github/workflows/master.yml", "contents": "name: Master\n\non:\n  push:\n    branches:\n    - master\n\njobs:\n  test:\n    uses: ./.github/workflows/test-all.yml\n    with:\n      repo: extras\n\n      # Options\n      standard: true\n    secrets: inherit\n\n  publish-test-results:\n    needs:\n    - test\n    if: success() || failure()\n    concurrency:\n      group: test-results\n\n    uses: DataDog/integrations-core/.github/workflows/test-results-master.yml@master\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-extras"}
{"mined_at": "2024-07-15T14:51:48.337739", "created_at": "2023-03-19T21:10:33+01:00", "updated_at": "2023-03-31T20:02:13+02:00", "name": "PR", "path": ".github/workflows/pr.yml", "contents": "name: PR\n\non:\n  pull_request:\n    branches:\n    - master\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    uses: DataDog/integrations-core/.github/workflows/pr-test.yml@master\n    with:\n      repo: extras\n      python-version: \"3.11\"\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-extras"}
{"mined_at": "2024-07-15T14:51:49.401684", "created_at": "2023-03-31T20:02:14+02:00", "updated_at": "2023-03-31T20:02:14+02:00", "name": "Publish test results for PRs", "path": ".github/workflows/publish-test-results-pr.yml", "contents": "name: Publish test results for PRs\n\non:\n  workflow_run:\n    workflows:\n    - PR\n    types:\n    - completed\n\njobs:\n  publish:\n    uses: DataDog/integrations-core/.github/workflows/test-results-pr.yml@master\n    if: github.event.workflow_run.conclusion != 'skipped'\n    permissions:\n      checks: write\n      pull-requests: write\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-extras"}
{"mined_at": "2024-07-15T14:51:50.422663", "created_at": "2023-03-31T20:02:14+02:00", "updated_at": "2023-03-31T20:02:14+02:00", "name": "Test Agent release", "path": ".github/workflows/test-agent.yml", "contents": "name: Test Agent release\n\non:\n  workflow_dispatch:\n    inputs:\n      test-py3:\n        required: false\n        description: Run Python 3 tests\n        default: true\n        type: boolean\n      agent-image:\n        required: false\n        description: Agent 7 image\n        default: \"datadog/agent:7-rc\"\n        type: string\n      agent-image-windows:\n        required: false\n        description: Agent 7 image on Windows\n        default: \"datadog/agent:7-rc-servercore\"\n        type: string\n      test-py2:\n        required: false\n        description: Run Python 2 tests\n        default: true\n        type: boolean\n      agent-image-py2:\n        required: false\n        description: Agent 6 image\n        default: \"datadog/agent:6-rc\"\n        type: string\n      agent-image-windows-py2:\n        required: false\n        description: Agent 6 image on Windows\n        default: \"datadog/agent-dev:master-py2-win-servercore\"\n        type: string\n\njobs:\n  test:\n    uses: ./.github/workflows/test-all.yml\n    with:\n      repo: extras\n\n      # Options\n      standard: true\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-extras"}
{"mined_at": "2024-07-15T14:51:51.515713", "created_at": "2023-03-31T20:02:14+02:00", "updated_at": "2023-03-31T20:02:14+02:00", "name": "Test all", "path": ".github/workflows/test-all.yml", "contents": "name: Test all\n\non:\n  workflow_call:\n    inputs:\n      repo:\n        required: true\n        type: string\n\n      python-version:\n        required: false\n        default: \"3.11\"\n        type: string\n      standard:\n        required: false\n        default: false\n        type: boolean\n      latest:\n        required: false\n        default: false\n        type: boolean\n      test-py2:\n        required: false\n        default: false\n        type: boolean\n      test-py3:\n        required: false\n        default: true\n        type: boolean\n      agent-image:\n        required: false\n        default: \"\"\n        type: string\n      agent-image-py2:\n        required: false\n        default: \"\"\n        type: string\n      agent-image-windows:\n        required: false\n        default: \"\"\n        type: string\n      agent-image-windows-py2:\n        required: false\n        default: \"\"\n        type: string\n      setup-env-vars:\n        required: false\n        default: \"\"\n        type: string\n\njobs:\n  j7a4721a:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Aqua\n      target: aqua\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j68e2604:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: AWS Pricing\n      target: aws_pricing\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jd342fce:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: BIND 9\n      target: bind9\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j9eb5f31:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: celerdata\n      target: celerdata\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jcb3c31b:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: cfssl\n      target: cfssl\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j6a8ad70:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: CloudNatix\n      target: cloudnatix\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  ja2364fe:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Cloudsmith\n      target: cloudsmith\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  ja669dc6:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: cybersixgill_actionable_alerts\n      target: cybersixgill_actionable_alerts\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j3263e78:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Cyral\n      target: cyral\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jfe56917:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: emqx\n      target: emqx\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j8c2c004:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Eventstore\n      target: eventstore\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jbb3d7c9:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: exim\n      target: exim\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j0180cad:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: fiddler\n      target: fiddler\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jec10af8:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Filebeat\n      target: filebeat\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j77495f2:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: filemage\n      target: filemage\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jd678fea:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Fluent Bit\n      target: fluentbit\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jb8cf774:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: flume\n      target: flume\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jb4053fb:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Gatekeeper\n      target: gatekeeper\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j94cb576:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Gitea\n      target: gitea\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jdb917e1:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Gnatsd\n      target: gnatsd\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j5bcfa2e:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Gnatsd Streaming\n      target: gnatsd_streaming\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jdb696b5:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: go_pprof_scraper\n      target: go_pprof_scraper\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jb27a2a4:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: gRPC Check\n      target: grpc_check\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j2eba458:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: hikaricp\n      target: hikaricp\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  ja3e78b9:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Kernelcare\n      target: kernelcare\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j68bd571:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Lighthouse\n      target: lighthouse\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j41ca94d:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Logstash\n      target: logstash\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j1d16977:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Mergify\n      target: mergify\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j981d202:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Neo4j\n      target: neo4j\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jf1d4aee:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Neutrona\n      target: neutrona\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j337128a:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Nextcloud\n      target: nextcloud\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j581723e:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Netnology SD-WAN\n      target: nn_sdwan\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j61be2af:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: NS1\n      target: ns1\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  je41f6a9:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: nvml\n      target: nvml\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  je2bd36a:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: OctoPrint\n      target: octoprint\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jdcde1e7:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: open_policy_agent\n      target: open_policy_agent\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jdcd599a:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: PHP APCu\n      target: php_apcu\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jf9ca17e:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: PHP OPcache\n      target: php_opcache\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j7220ce3:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: pihole\n      target: pihole\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j6a4c3a4:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Ping\n      target: ping\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jdb59cb8:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Portworx\n      target: portworx\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j831ad4c:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Puma\n      target: puma\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j689e0be:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: PureFA\n      target: purefa\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  ja269254:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: PureFB\n      target: purefb\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jd4cdbe0:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Radarr\n      target: radarr\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j473bdb7:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Reboot Required\n      target: reboot_required\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j9989d64:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Redis Enterprise V2\n      target: redis_enterprise\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  ja8f7203:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Redis Sentinel\n      target: redis_sentinel\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  ja156788:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Redis Enterprise\n      target: redisenterprise\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jce0dc1a:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Redpanda\n      target: redpanda\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jc5ec7c0:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Resin\n      target: resin\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j4accb07:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Riak MDC Replication\n      target: riak_repl\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jfcdbb05:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Robust Intelligence AI Firewall\n      target: robust_intelligence_ai_firewall\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j154ce9f:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Scalr (Community Version)\n      target: scalr\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jf44ab67:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Sendmail\n      target: sendmail\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j190d837:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: snmpwalk\n      target: snmpwalk\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jcdba2ca:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Sonarr\n      target: sonarr\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j011590d:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Sortdb\n      target: sortdb\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jfc3e971:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: speedtest\n      target: speedtest\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  je0445d5:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Stardog\n      target: stardog\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j5870f9b:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Storm\n      target: storm\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j9744de5:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Syncthing\n      target: syncthing\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j0c2f158:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: TiDB\n      target: tidb\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j54ace69:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Traefik\n      target: traefik\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jd73ec80:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Trino\n      target: trino\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j6c9fa4e:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Unbound\n      target: unbound\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  ja76fbf3:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Unifi Console\n      target: unifi_console\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jfe85d2e:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Upbound UXP\n      target: upbound_uxp\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j4041974:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: UPSC\n      target: upsc\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j8fcdf27:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Vespa\n      target: vespa\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  jf287d93:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: wayfinder\n      target: wayfinder\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j0a99eb2:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Zabbix (Community Version)\n      target: zabbix\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n  j7f4936a:\n    uses: DataDog/integrations-core/.github/workflows/test-target.yml@master\n    with:\n      job-name: Zenoh router\n      target: zenoh_router\n      platform: linux\n      runner: '[\"ubuntu-22.04\"]'\n      repo: \"${{ inputs.repo }}\"\n      python-version: \"${{ inputs.python-version }}\"\n      standard: ${{ inputs.standard }}\n      latest: ${{ inputs.latest }}\n      agent-image: \"${{ inputs.agent-image }}\"\n      agent-image-py2: \"${{ inputs.agent-image-py2 }}\"\n      agent-image-windows: \"${{ inputs.agent-image-windows }}\"\n      agent-image-windows-py2: \"${{ inputs.agent-image-windows-py2 }}\"\n      test-py2: ${{ inputs.test-py2 }}\n      test-py3: ${{ inputs.test-py3 }}\n      setup-env-vars: \"${{ inputs.setup-env-vars }}\"\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-extras"}
{"mined_at": "2024-07-15T14:51:52.638741", "created_at": "2023-03-30T20:42:14+02:00", "updated_at": "2023-05-11T04:08:49+02:00", "name": "Validate repository", "path": ".github/workflows/validate.yml", "contents": "name: Validate repository\n\non:\n  push:\n    branches:\n    - master\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  run:\n    uses: DataDog/integrations-core/.github/workflows/run-validations.yml@master\n    with:\n      repo: extras\n\n      # Validations\n      ci: true\n      codeowners: true\n      config: true\n      dashboards: true\n      imports: true\n      integration-style: true\n      jmx-metrics: true\n      legacy-signature: true\n      metadata: true\n      models: true\n      package: true\n      readmes: true\n      saved-views: true\n      service-checks: true\n    secrets: inherit\n", "state": "active", "repository": "datadog/integrations-extras"}
{"mined_at": "2024-07-15T14:51:54.791853", "created_at": "2023-01-12T17:10:46+01:00", "updated_at": "2023-02-02T09:26:39+01:00", "name": "CI & CD", "path": ".github/workflows/test_and_deploy.yml", "contents": "---\nname: \"CI & CD\"\n\non:\n  workflow_dispatch:\n  pull_request:\n  release:\n    types:\n    - published\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  CIBW_BUILD: cp310-* cp311-* cp312-*\n  CIBW_TEST_EXTRAS: test\n  CIBW_TEST_COMMAND: >\n    pytest {project}\n    --durations=50\n    --ignore={project}//tests//structure//test_trajectory.py\n    --ignore={project}//tests//sequence//align//test_statistics.py\n    --ignore={project}//tests//application\n    --ignore={project}//tests//database\n    --ignore={project}//tests//test_doctest.py\n    --ignore={project}//tests//test_modname.py\n  CIBW_DEPENDENCY_VERSIONS: \"pinned\"\n  # Once GHA and cibuildwheel are updated this can be removed\n  # mussllinux takes 6+ hrs to build and test so ignore it\n  CIBW_TEST_SKIP: \"*musllinux* *-macosx_arm64\"\n\n\njobs:\n  generate-wheels-matrix:\n    name: \"Generate wheels matrix\"\n    runs-on: \"ubuntu-latest\"\n    outputs:\n      include: ${{ steps.set-matrix.outputs.include }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install cibuildwheel\n        # MAKE SURE THIS STAYS IN SYNC WITH THE LOWER GHA cibuildwheel\n        run: pipx install cibuildwheel==2.19.1\n      - id: set-matrix\n        run: |\n          MATRIX=$(\n            {\n              cibuildwheel --print-build-identifiers --platform linux \\\n              | jq -nRc '{\"dist\": inputs, \"os\": \"ubuntu-latest\"}' \\\n              && cibuildwheel --print-build-identifiers --platform macos \\\n              | jq -nRc '{\"dist\": inputs, \"os\": \"macos-latest\"}' \\\n              && cibuildwheel --print-build-identifiers --platform windows \\\n              | jq -nRc '{\"dist\": inputs, \"os\": \"windows-latest\"}'\n            } | jq -sc\n          )\n          echo \"include=$MATRIX\" | tee -a $GITHUB_OUTPUT\n        env:\n          CIBW_ARCHS_LINUX: \"x86_64\"\n          CIBW_ARCHS_MACOS: \"x86_64 arm64\"\n          CIBW_ARCHS_WINDOWS: \"x86 AMD64\"\n          # Skip musllinux because it takes too long to compile on GHA\n          # since it is emulated. (6+ hours)\n          # *note* most of the build time is actually numpy for musllinux\n          CIBW_SKIP: \"*musllinux* *-manylinux_i686 *-musllinux_i686 *-win32 pp*\"\n\n\n  test-and-build:\n    name: \"Build & Test\"\n    needs: \"generate-wheels-matrix\"\n    strategy:\n      matrix:\n        include: ${{ fromJson(needs.generate-wheels-matrix.outputs.include) }}\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      # QEMU enables building/testing for non-native architectures (ie arm64)\n      # at the cost of speed\n      - name: Set up QEMU\n        if: runner.os == 'Linux'\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n\n      - name: Build & (optionally) test wheels\n        # MAKE SURE THIS STAYS IN SYNC WITH THE UPPER pipx call to cibuildwheel\n        uses: pypa/cibuildwheel@v2.19.1\n        with:\n          only: ${{ matrix.dist }}\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: release-${{ matrix.dist }}\n          path: ./wheelhouse/*.whl\n\n\n  test-interfaces:\n    name: Test interfaces to databases and applications\n\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          mamba-version: \"*\"\n          environment-file: environment.yml\n      - name: Build distribution\n        run: pip wheel --no-deps -w dist .\n      - name: Install distribution\n        run: pip install .//dist//*.whl\n      - name: Run tests\n        # Running NCBI BLAST and SRA takes too long\n        # The tests on the NCBI Entrez database are not reliable enough\n        run: >\n          pytest\n          --durations=50\n          --ignore=\"tests//application//test_blast.py\"\n          --ignore=\"tests//application//test_sra.py\"\n          --ignore=\"tests//database//test_entrez.py\"\n          tests//test_doctest.py\n          tests//test_modname.py\n          tests//database\n          tests//application\n\n\n  test-muscle5:\n    name: Test interface to Muscle 5\n\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: biotite-dev\n          miniforge-variant: Mambaforge\n          python-version: \"3.10\"\n          channels: conda-forge,defaults\n      - name: Install Muscle 5\n        run: conda install -c bioconda \"muscle=5\"\n      - name: Build distribution\n        run: pip wheel -w dist .\n      - name: Install distribution\n        run: pip install .//dist//*.whl pytest\n      - name: Test Muscle 5 interface\n        run: pytest --durations=50 tests//application//test_msa.py\n\n\n  make-sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Build source distribution\n      run: pipx run build --sdist\n    - uses: actions/upload-artifact@v4\n      with:\n        name: release-${{ matrix.dist }}\n        path: dist//*.tar.gz\n\n\n  make-ccd:\n    name: Compile the CCD subset for structure.info from the wwPDB CCD\n\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        activate-environment: biotite-dev\n        miniforge-variant: Mambaforge\n        python-version: \"3.10\"\n        channels: conda-forge,defaults\n    - name: Build distribution\n      run: pip wheel -w dist .\n    - name: Install distribution\n      run: pip install .//dist//*.whl pytest\n    - name: Compile CCD subset\n      run: python setup_ccd.py\n    - name: Zip CCD\n      run: |\n          cd src/biotite/structure/info\n          zip -r ${{ github.workspace }}//dist//ccd.zip ccd\n          cd ${{ github.workspace }}\n    - uses: actions/upload-artifact@v4\n      with:\n        name: ccd\n        path: dist//ccd.zip\n\n\n  make-docs:\n    name: Build documentation\n\n    runs-on: ubuntu-20.04\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      NCBI_API_KEY: ${{ secrets.NCBI_API_KEY }}\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        environment-file: environment.yml\n        miniforge-variant: Mambaforge\n    - name: Build distribution\n      run: pip wheel --no-deps -w dist .\n    - name: Install distribution\n      run: pip install .//dist//*.whl\n    - name: Build base documentation\n      run: sphinx-build -a -D plot_gallery=0 doc build//doc\n    - name: Build tutorial and gallery\n      if: >\n        (\n          github.event_name == 'release' &&\n          github.event.action == 'published'\n        )\n        || github.event_name == 'workflow_dispatch'\n      run: sphinx-build -a doc build//doc\n    - name: Zip documentation\n      run: |\n          cd build\n          zip -r ..//dist//doc.zip doc\n          cd ..\n    - uses: actions/upload-artifact@v4\n      with:\n        name: documentation\n        path: dist//doc.zip\n\n\n  upload-package:\n    name: Upload package to GitHub Releases & PyPI\n    permissions:\n      contents: write\n    needs:\n    - test-and-build\n    - make-sdist\n    - test-interfaces\n    - test-muscle5\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: release-*\n        merge-multiple: true\n        path: dist\n    - name: List distributions to be uploaded\n      run: ls dist\n    - name: Upload to GitHub Releases\n      uses: softprops/action-gh-release@v2.0.5\n      if: github.event_name == 'release' && github.event.action == 'published'\n      with:\n        files: dist//*\n    - name: Upload to PyPI\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n      if: github.event_name == 'release' && github.event.action == 'published'\n      with:\n        password: ${{ secrets.PYPI_TOKEN }}\n\n\n  upload-docs:\n    name: Upload documentation to GitHub Releases\n    permissions:\n      contents: write\n    needs:\n    - make-docs\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: documentation\n        path: dist\n    - uses: softprops/action-gh-release@v2.0.5\n      if: github.event_name == 'release' && github.event.action == 'published'\n      with:\n        files: dist//doc.zip\n\n", "state": "active", "repository": "biotite-dev/biotite"}
{"mined_at": "2024-07-15T14:51:57.042078", "created_at": "2019-12-29T14:45:19+01:00", "updated_at": "2020-06-10T15:41:20+02:00", "name": "Build Docker-Image", "path": ".github/workflows/build-docker.yml", "contents": "name: Build Docker-Image\n\non:\n  push:\n    branches:\n      - master\n  repository_dispatch:\n    types: [build-docker-image]\n\njobs:\n  build-docker-image:\n    runs-on: ubuntu-latest\n    name: Build Docker Image\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Install buildx\n      uses: docker/setup-buildx-action@v3\n    - name: Login to Docker\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ github.token }}\n    - name: Set Names\n      id: names\n      run: |\n        echo \"name=ghcr.io/oggm/oggm\" >> $GITHUB_OUTPUT\n        echo \"date=$(date +%Y%m%d)\" >> $GITHUB_OUTPUT\n        echo \"sha=$GITHUB_SHA\" >> $GITHUB_OUTPUT\n    - name: Stop Commands\n      run: T=\"$(echo -n ${{ github.token }} | sha256sum | head -c 64)\" && echo -e \"::add-mask::${T}\\n::stop-commands::${T}\"\n    - name: Build image\n      uses: docker/build-push-action@v6\n      with:\n        context: deployment/docker\n        pull: true\n        load: true\n        provenance: false\n        build-args: |\n          GITHUB_SHA=${{ github.sha }}\n          GITHUB_REPOSITORY=${{ github.repository }}\n        tags: |\n          ${{ steps.names.outputs.name }}:test\n    - name: Test image\n      run: docker run --rm ${{ steps.names.outputs.name }}:test /root/test.sh\n    - name: Push image\n      uses: docker/build-push-action@v6\n      if: ${{ github.repository_owner == 'OGGM' }}\n      with:\n        context: deployment/docker\n        push: true\n        provenance: false\n        build-args: |\n          GITHUB_SHA=${{ github.sha }}\n          GITHUB_REPOSITORY=${{ github.repository }}\n        tags: |\n          ${{ steps.names.outputs.name }}:latest\n          ${{ steps.names.outputs.name }}:${{ steps.names.outputs.date }}\n          ${{ steps.names.outputs.name }}:${{ steps.names.outputs.sha }}\n", "state": "active", "repository": "oggm/oggm"}
{"mined_at": "2024-07-15T14:51:58.157742", "created_at": "2020-06-09T02:50:58+02:00", "updated_at": "2020-06-10T14:57:49+02:00", "name": "Test", "path": ".github/workflows/run-tests.yml", "contents": "name: Test\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  test:\n    name: ${{ matrix.test-env }} on ${{ matrix.container }}\n    strategy:\n      fail-fast: false\n      matrix:\n        test-env:\n          - prepro\n          - numerics\n          - models\n          - benchmark\n          - utils\n          - workflow-single\n          - workflow-multi\n          - graphics-mpl\n        container:\n          - ghcr.io/oggm/untested_base:20231004\n          - ghcr.io/oggm/untested_base:py3.10\n          - ghcr.io/oggm/untested_base:py3.9\n        include:\n          - container: python:3.11-slim\n            test-env: minimal\n    runs-on: ubuntu-latest\n    container: ${{ matrix.container }}\n    continue-on-error: ${{ contains(matrix.container, 'py3') }}\n    steps:\n      - name: Install tools\n        if: ${{ contains(matrix.container, 'slim') }}\n        run: apt-get -y update && apt-get -y install git curl\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Fix Git-Permissions\n        run: git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n      - name: Test\n        run: ./ci/run_tests.sh \"${{ matrix.test-env }}\" \"${{ matrix.container }}\"\n      - name: Upload pytest-mpl artifacts\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: pytest-mpl-results\n          path: /tmp/oggm-mpl-results/\n      - name: Upload Coverage\n        if: ${{ !contains(matrix.container, 'py3') }}\n        continue-on-error: true\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n          COVERALLS_SERVICE_NAME: github\n          COVERALLS_PARALLEL: true\n        run: coveralls\n  finish-coveralls:\n    name: Coveralls Finished\n    needs: test\n    runs-on: ubuntu-latest\n    container: python:3.11-slim\n    continue-on-error: true\n    steps:\n    - name: Coveralls Finished\n      env:\n        GITHUB_TOKEN: ${{ github.token }}\n        COVERALLS_SERVICE_NAME: github\n      run: |\n        pip3 install --upgrade coveralls &&\n        coveralls --finish\n", "state": "active", "repository": "oggm/oggm"}
{"mined_at": "2024-07-15T14:52:00.524218", "created_at": "2023-10-31T10:45:54+01:00", "updated_at": "2023-10-31T10:50:18+01:00", "name": "Check code format", "path": ".github/workflows/black.yml", "contents": "# This file is part of BenchExec, a framework for reliable benchmarking:\n# https://github.com/sosy-lab/benchexec\n#\n# SPDX-FileCopyrightText: 2023 Dirk Beyer <https://www.sosy-lab.org>\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: Check code format\n\non: [push, pull_request]\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n        with:\n          options: \"--check --diff\"\n          version: \"<25\"\n", "state": "active", "repository": "sosy-lab/benchexec"}
{"mined_at": "2024-07-15T14:52:01.557130", "created_at": "2024-03-04T18:08:56+01:00", "updated_at": "2024-03-07T08:04:29+01:00", "name": "JavaScript Pipeline", "path": ".github/workflows/javascript.yml", "contents": "# This file is part of BenchExec, a framework for reliable benchmarking:\n# https://github.com/sosy-lab/benchexec\n#\n# SPDX-FileCopyrightText: 2023 Dirk Beyer <https://www.sosy-lab.org>\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: JavaScript Pipeline\n\non: [push, pull_request, workflow_dispatch]\n\njobs:\n  lint:\n    name: Perform linting\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"lts/iron\"\n\n      - name: Cache dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.npm\n          key: npm-${{ hashFiles('benchexec/tablegenerator/react-table/package-lock.json') }}\n          restore-keys: npm-\n\n      - name: Install dependencies\n        run: npm ci\n        working-directory: benchexec/tablegenerator/react-table\n\n      - name: Lint\n        run: npm run lint\n        working-directory: benchexec/tablegenerator/react-table\n\n  tests:\n    name: Running tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"lts/iron\"\n\n      - name: Cache dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.npm\n          key: npm-${{ hashFiles('benchexec/tablegenerator/react-table/package-lock.json') }}\n          restore-keys: npm-\n\n      - name: Install dependencies\n        run: npm ci\n        working-directory: benchexec/tablegenerator/react-table\n\n      - name: Run tests\n        run: npm run test\n        working-directory: benchexec/tablegenerator/react-table\n\n  javascript-build:\n    name: Building the application\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"lts/iron\"\n\n      - name: Cache dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.npm\n          key: npm-${{ hashFiles('benchexec/tablegenerator/react-table/package-lock.json') }}\n          restore-keys: npm-\n\n      - name: Install dependencies\n        run: npm ci\n        working-directory: benchexec/tablegenerator/react-table\n\n      - name: Build\n        run: |\n          npm run build\n          git diff --stat --exit-code\n        working-directory: benchexec/tablegenerator/react-table\n", "state": "active", "repository": "sosy-lab/benchexec"}
{"mined_at": "2024-07-15T14:52:02.582113", "created_at": "2023-10-31T10:45:54+01:00", "updated_at": "2023-10-31T10:50:18+01:00", "name": "REUSE Compliance Check", "path": ".github/workflows/reuse.yml", "contents": "# This file is part of BenchExec, a framework for reliable benchmarking:\n# https://github.com/sosy-lab/benchexec\n#\n# SPDX-FileCopyrightText: 2023 Dirk Beyer <https://www.sosy-lab.org>\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: REUSE Compliance Check\n\non: [push, pull_request]\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: fsfe/reuse-action@v3\n", "state": "active", "repository": "sosy-lab/benchexec"}
{"mined_at": "2024-07-15T14:52:03.698038", "created_at": "2023-10-31T10:45:54+01:00", "updated_at": "2023-10-31T10:50:18+01:00", "name": "Ruff", "path": ".github/workflows/ruff.yml", "contents": "# This file is part of BenchExec, a framework for reliable benchmarking:\n# https://github.com/sosy-lab/benchexec\n#\n# SPDX-FileCopyrightText: 2023 Dirk Beyer <https://www.sosy-lab.org>\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: Ruff\n\non: [push, pull_request]\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n", "state": "active", "repository": "sosy-lab/benchexec"}
{"mined_at": "2024-07-15T14:52:04.813293", "created_at": "2023-11-24T10:53:49+01:00", "updated_at": "2023-11-24T10:53:49+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sosy-lab/benchexec"}
{"mined_at": "2024-07-15T14:52:06.950095", "created_at": "2022-09-05T21:32:27+02:00", "updated_at": "2023-08-25T09:15:04+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n        #  wait-for-green-master:\n        #    runs-on: ubuntu-latest\n        #    steps:\n        #      - name: Wait for tests to finish\n        #        uses: lewagon/wait-on-check-action@v1.3.1\n        #        with:\n        #          ref: ${{ github.ref }}\n        #          running-workflow-name: 'wait-for-green-master'\n        #          repo-token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n        #          wait-interval: 60\n\n  build-neptune:\n    runs-on: ubuntu-latest\n    #    needs: [wait-for-green-master]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install build dependencies\n        run: pip install poetry poetry-dynamic-versioning\n\n      - name: Build package\n        run: poetry build\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: neptune-package\n          path: dist/\n\n  test-clean-install-neptune:\n    needs: [ build-neptune ]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: neptune-package\n          path: dist\n\n      - name: Install neptune package\n        run: pip install --force-reinstall --pre -f ./dist neptune\n\n      - name: List dependencies\n        run: pip list\n\n      - name: Test imports\n        run: python -c \"from neptune import init_run\"\n\n  publish-neptune:\n    needs:\n      - build-neptune\n      - test-clean-install-neptune\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: neptune-package\n          path: dist/\n\n#      - name: Uploading to test PyPI\n#        uses: pypa/gh-action-pypi-publish@v1.9.0\n#        with:\n#         user: __token__\n#         password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n#         repository_url: https://test.pypi.org/legacy/\n\n      - name: Uploading to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          user: __token__\n          password: ${{ secrets.NEPTUNE_PYPI_API_TOKEN }}\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:08.043281", "created_at": "2022-11-19T20:51:36+01:00", "updated_at": "2022-11-25T23:24:38+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Install Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n\n    - name: Run pre-commit\n      uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:09.175565", "created_at": "2022-11-25T23:15:07+01:00", "updated_at": "2023-02-06T12:47:48+01:00", "name": "pull-request-unittests", "path": ".github/workflows/unit-in-pull-request.yml", "contents": "name: pull-request-unittests\n\non:\n  workflow_dispatch:\n  push:\n    branches-ignore:\n      - master\n\njobs:\n  test:\n    timeout-minutes: 75\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu, windows, macos]\n        python-version: [\"3.8\"]\n    name: 'test (${{ matrix.os }} - py${{ matrix.python-version }})'\n    runs-on: ${{ matrix.os }}-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Run tests\n        uses: ./.github/actions/test-unit\n        with:\n          python-version: ${{ matrix.python-version }}\n          os: ${{ matrix.os }}\n          report_job: 'test (${{ matrix.os }} - py${{ matrix.python-version }})'\n          codecov-token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:10.188205", "created_at": "2022-11-25T23:16:14+01:00", "updated_at": "2023-04-11T09:48:10+02:00", "name": "run-unit", "path": ".github/workflows/run-unit-command.yml", "contents": "name: run-unit\n\non:\n  repository_dispatch:\n    types: [run-unit-command]\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Add reaction\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n        comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n        reaction-type: hooray\n\n    - name: Create URL to the run output\n      id: vars\n      run: echo \"run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\" >> $GITHUB_OUTPUT\n\n    - name: Create comment\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n        issue-number: ${{ github.event.client_payload.github.payload.issue.number }}\n        body: |\n          Hey hey @${{ github.event.client_payload.github.actor }}! I'm glad to see that you're looking for something much more demanding :wink: I've triggered for you our unittests on every supported Operating System and Python version. [Check current status here :rocket:](${{ steps.vars.outputs.run-url }})\n\n  invoke:\n    uses: ./.github/workflows/unit.yml\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:11.247050", "created_at": "2022-11-25T23:16:15+01:00", "updated_at": "2023-04-11T09:48:10+02:00", "name": "run-integrations", "path": ".github/workflows/run-integrations-command.yml", "contents": "name: run-integrations\n\non:\n  repository_dispatch:\n    types: [run-integrations-command]\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Add reaction\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n        comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n        reaction-type: hooray\n\n    - name: Create URL to the run output\n      id: vars\n      run: echo \"run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\" >> $GITHUB_OUTPUT\n\n    - name: Create comment\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n        issue-number: ${{ github.event.client_payload.github.payload.issue.number }}\n        body: |\n          Hey hey @${{ github.event.client_payload.github.actor }}! I'm glad to see that you're looking for something much more demanding :wink: I've triggered for you tests of our client integrations on every supported Operating System and Python version. [Check current status here :rocket:](${{ steps.vars.outputs.run-url }})\n\n  invoke:\n    uses: ./.github/workflows/integrations.yml\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:12.295138", "created_at": "2022-11-25T23:16:15+01:00", "updated_at": "2023-04-11T09:48:10+02:00", "name": "run-e2e", "path": ".github/workflows/run-e2e-command.yml", "contents": "name: run-e2e\n\non:\n  repository_dispatch:\n    types: [run-e2e-command]\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Add reaction\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n        comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n        reaction-type: hooray\n\n    - name: Create URL to the run output\n      id: vars\n      run: echo \"run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\" >> $GITHUB_OUTPUT\n\n    - name: Create comment\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n        issue-number: ${{ github.event.client_payload.github.payload.issue.number }}\n        body: |\n          Hey hey @${{ github.event.client_payload.github.actor }}! I'm glad to see that you're looking for something much more demanding :wink: I've triggered for you our E2E tests on every supported Operating System and Python version. [Check current status here :rocket:](${{ steps.vars.outputs.run-url }})\n\n  invoke:\n    uses: ./.github/workflows/e2e.yml\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:13.470820", "created_at": "2022-11-30T10:43:43+01:00", "updated_at": "2022-11-30T10:43:43+01:00", "name": "help-command", "path": ".github/workflows/help-command.yml", "contents": "name: help-command\n\non:\n  repository_dispatch:\n    types: [help-command]\n\njobs:\n  help:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Update comment\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n          comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n          body: |\n            > Command | Description\n            > --- | ---\n            > /pre-commit-apply | Commit a pre-commit suggestions\n            > /run-unit | Run unittests on full matrix *(win, mac, linux x py3.7-3.12)\n            > /run-e2e | Run E2E tests on full matrix *(win, mac, linux x py3.7-3.12)\n            > /run-integrations | Run Client integrations on full matrix *(win, mac, linux x py3.7-3.12)\n            > /run-all-test | Run all tests on full matrix *(win, mac, linux x py3.7-3.12)\n          reaction-type: hooray\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:14.758202", "created_at": "2022-11-30T10:43:43+01:00", "updated_at": "2022-11-30T10:43:43+01:00", "name": "pre-commit-apply", "path": ".github/workflows/pre-commit-apply-command.yml", "contents": "name: pre-commit-apply\n\non:\n  repository_dispatch:\n    types: [pre-commit-apply-command]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n        ref: ${{ github.event.client_payload.pull_request.head.ref }}\n\n    - name: Install Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n\n    - name: Install pre-commit\n      run: pip install pre-commit\n\n    - name: Pre-commit\n      id: pre-commit\n      continue-on-error: true\n      run: pre-commit run --all-files\n\n    - name: Commit to the PR branch\n      if: steps.pre-commit.outcome != 'success'\n      run: |\n        git config --global user.name '${{ secrets.NEPTUNE_BOT_USERNAME }}'\n        git config --global user.email '${{ secrets.NEPTUNE_BOT_EMAIL }}'\n        git commit -am \"pre-commit applied\"\n        git push\n\n    - name: Add reaction\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n        comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n        reaction-type: hooray\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:15.883969", "created_at": "2022-11-30T10:43:43+01:00", "updated_at": "2022-11-30T10:43:43+01:00", "name": "Slash Command Dispatch", "path": ".github/workflows/slash-commands.yml", "contents": "name: Slash Command Dispatch\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  slash-dispatch:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Slash Command Dispatch\n        uses: peter-evans/slash-command-dispatch@v4\n        with:\n          commands: |\n            pre-commit-apply\n            help\n            run-e2e\n            run-unit\n            run-integrations\n            run-all-test\n          reaction-token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n          token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n          permission: write\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:17.112408", "created_at": "2022-12-03T17:10:12+01:00", "updated_at": "2022-12-05T12:52:52+01:00", "name": "unit", "path": ".github/workflows/unit.yml", "contents": "name: unit\n\non:\n  workflow_call:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 4 * * *\" # Run every day at arbitrary time (4:00 AM UTC)\n  push:\n    branches:\n      - master\n\njobs:\n  test:\n    timeout-minutes: 75\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu, windows, macos]\n\n    name: 'test (${{ matrix.os }} - py${{ matrix.python-version }})'\n    runs-on: ${{ matrix.os }}-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.client_payload.pull_request.head.ref }}\n\n      - name: Run tests\n        uses: ./.github/actions/test-unit\n        with:\n          python-version: ${{ matrix.python-version }}\n          os: ${{ matrix.os }}\n          report_job: 'test (${{ matrix.os }} - py${{ matrix.python-version }})'\n          codecov-token: ${{ secrets.CODECOV_TOKEN }}\n\n  unit-tests-notify:\n    needs: [ test ]\n    runs-on: ubuntu-latest\n    if: (success() || failure()) && github.ref == 'refs/heads/master'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.client_payload.pull_request.head.ref }}\n\n      - name: Notify\n        uses: ./.github/actions/workflow-notify-v2\n        with:\n          slack-webhook: ${{ secrets.E2E_REGULAR_SLACK_WEBHOOK }}\n          neptune-ref: ${{ github.ref }}\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:18.149009", "created_at": "2022-12-03T19:14:13+01:00", "updated_at": "2024-05-08T13:57:46+02:00", "name": "e2e", "path": ".github/workflows/e2e.yml", "contents": "name: e2e\n\non:\n  workflow_call:\n  workflow_dispatch:\n\nenv:\n  WORKSPACE_NAME: ${{ vars.E2E_WORKSPACE_NAME }}\n  BUCKET_NAME: ${{ secrets.E2E_BUCKET_NAME }}\n  USER_USERNAME: ${{ vars.E2E_USER_USERNAME }}\n  NEPTUNE_API_TOKEN: ${{ secrets.E2E_USER_API_TOKEN }}\n  ADMIN_USERNAME: ${{ vars.E2E_ADMIN_USERNAME }}\n  ADMIN_NEPTUNE_API_TOKEN: ${{ secrets.E2E_ADMIN_API_TOKEN }}\n  SERVICE_ACCOUNT_NAME: ${{ vars.E2E_SERVICE_ACCOUNT_NAME }}\n\njobs:\n  e2e:\n    environment: Production\n    timeout-minutes: 75\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.8\", \"3.12\" ]\n        os: [ ubuntu, windows, macos ]\n    runs-on: ${{ matrix.os }}-latest\n    name: 'standard (${{ matrix.os }} - py${{ matrix.python-version }})'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.client_payload.pull_request.head.ref }}\n\n      - name: Test\n        uses: ./.github/actions/test-e2e\n        env:\n          NEPTUNE_API_TOKEN: ${{ secrets.E2E_SERVICE_ACCOUNT_API_TOKEN }}\n        with:\n          python-version: ${{ matrix.python-version }}\n          os: ${{ matrix.os }}\n          module: \"not integrations\"\n          name: \"standard\"\n          report_job: 'standard (${{ matrix.os }} - py${{ matrix.python-version }})'\n          codecov-token: ${{ secrets.CODECOV_TOKEN }}\n\n  e2e-tests-notify:\n    needs: [ e2e, ]\n    runs-on: ubuntu-latest\n    if: (success() || failure()) && github.ref == 'refs/heads/master'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.client_payload.pull_request.head.ref }}\n\n      - name: Notify\n        uses: ./.github/actions/workflow-notify-v2\n        with:\n          slack-webhook: ${{ secrets.E2E_REGULAR_SLACK_WEBHOOK }}\n          neptune-ref: ${{ github.ref }}\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:19.250962", "created_at": "2022-12-05T14:14:33+01:00", "updated_at": "2022-12-05T14:14:33+01:00", "name": "run-all-test", "path": ".github/workflows/run-all-test-command.yml", "contents": "name: run-all-test\n\non:\n  repository_dispatch:\n    types: [run-all-test-command]\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Add reaction\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n        comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n        reaction-type: hooray\n\n    - name: Create URL to the run output\n      id: vars\n      run: echo \"run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\" >> $GITHUB_OUTPUT\n\n    - name: Create comment\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.NEPTUNE_BOT_ACCESS_TOKEN }}\n        issue-number: ${{ github.event.client_payload.github.payload.issue.number }}\n        body: |\n          Hey hey @${{ github.event.client_payload.github.actor }}! I'm glad to see that you're looking for something much more demanding :wink: I've triggered for you all possible tests on every supported Operating System and Python version. [Check current status here :rocket:](${{ steps.vars.outputs.run-url }})\n\n  invoke-unit:\n    uses: ./.github/workflows/unit.yml\n\n  invoke-e2e:\n    uses: ./.github/workflows/e2e.yml\n\n  invoke-integrations:\n    uses: ./.github/workflows/integrations.yml\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:20.354116", "created_at": "2023-11-06T10:19:10+01:00", "updated_at": "2023-11-06T10:19:10+01:00", "name": "run-docker-only-tests", "path": ".github/workflows/TEST-run-docker-only-tests.yml", "contents": null, "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:21.379237", "created_at": "2023-11-14T14:02:11+01:00", "updated_at": "2023-11-14T14:02:11+01:00", "name": "run-docker-only-tests", "path": ".github/workflows/run-docker-only-tests.yml", "contents": null, "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:22.536670", "created_at": "2024-05-14T15:06:15+02:00", "updated_at": "2024-05-14T15:06:15+02:00", "name": "dev1.x-e2e", "path": ".github/workflows/dev1.x-e2e.yml", "contents": "name: dev1.x-e2e\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 6 * * *\" # Run every day at arbitrary time (4:00 AM UTC)\n\nenv:\n  WORKSPACE_NAME: e2e-tests\n  BUCKET_NAME: ${{ secrets.E2E_BUCKET_NAME }}\n  USER_USERNAME: ${{ secrets.E2E_USER_USERNAME }}\n  ADMIN_USERNAME: ${{ secrets.E2E_ADMIN_USERNAME }}\n  ADMIN_NEPTUNE_API_TOKEN: ${{ secrets.E2E_ADMIN_NEPTUNE_API_TOKEN }}\n  SERVICE_ACCOUNT_NAME: ${{ secrets.E2E_SERVICE_ACCOUNT_NAME }}\n\njobs:\n  dev1_x_e2e:\n    uses: neptune-ai/neptune-client/.github/workflows/e2e.yml@dev/1.x\n    secrets: inherit\n    with:\n      neptune_ref: refs/heads/dev/1.x\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:23.523676", "created_at": "2024-05-14T15:06:15+02:00", "updated_at": "2024-05-14T15:06:15+02:00", "name": "dev1.x-integrations", "path": ".github/workflows/dev1.x-integrations.yml", "contents": "name: dev1.x-integrations\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 6 * * *\" # Run every day at arbitrary time (4:00 AM UTC)\n\nenv:\n  WORKSPACE_NAME: e2e-tests\n  BUCKET_NAME: ${{ secrets.E2E_BUCKET_NAME }}\n  USER_USERNAME: ${{ secrets.E2E_USER_USERNAME }}\n  ADMIN_USERNAME: ${{ secrets.E2E_ADMIN_USERNAME }}\n  ADMIN_NEPTUNE_API_TOKEN: ${{ secrets.E2E_ADMIN_NEPTUNE_API_TOKEN }}\n  SERVICE_ACCOUNT_NAME: ${{ secrets.E2E_SERVICE_ACCOUNT_NAME }}\n\njobs:\n  integrations_dev1_x:\n    uses: neptune-ai/neptune-client/.github/workflows/integrations.yml@dev/1.x\n    secrets: inherit\n    with:\n      neptune_ref: refs/heads/dev/1.x\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:24.689829", "created_at": "2024-05-14T15:06:15+02:00", "updated_at": "2024-05-14T15:06:15+02:00", "name": "dev1.x-unit", "path": ".github/workflows/dev1.x-unit.yml", "contents": "name: dev1.x-unit\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 6 * * *\" # Run every day at arbitrary time (4:00 AM UTC)\n\nenv:\n  WORKSPACE_NAME: e2e-tests\n  BUCKET_NAME: ${{ secrets.E2E_BUCKET_NAME }}\n  USER_USERNAME: ${{ secrets.E2E_USER_USERNAME }}\n  ADMIN_USERNAME: ${{ secrets.E2E_ADMIN_USERNAME }}\n  ADMIN_NEPTUNE_API_TOKEN: ${{ secrets.E2E_ADMIN_NEPTUNE_API_TOKEN }}\n  SERVICE_ACCOUNT_NAME: ${{ secrets.E2E_SERVICE_ACCOUNT_NAME }}\n\njobs:\n  unit_dev1_x:\n    uses: neptune-ai/neptune-client/.github/workflows/unit.yml@dev/1.x\n    secrets: inherit\n    with:\n      neptune_ref: refs/heads/dev/1.x\n", "state": "active", "repository": "neptune-ai/neptune-client"}
{"mined_at": "2024-07-15T14:52:27.916798", "created_at": "2023-01-30T14:17:47+01:00", "updated_at": "2024-03-14T17:59:16+01:00", "name": "Check deps", "path": ".github/workflows/dependencies.yml", "contents": "name: Check deps\n\non:\n  pull_request:\n    paths:\n      - setup.py\n      - requirements.txt\n      - dev-requirements.txt\n      - docs/requirements.txt\n      - .github/workflows/dependencies.yml\n\nenv:\n  DEBIAN_FRONTEND: noninteractive\n\njobs:\n  quality:\n    name: Checking dependency graph\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: ['ubuntu-20.04']\n        python-version: ['3.8']\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: ./.github/actions/python-cache-requirements\n        with:\n          requirements: dev-requirements.txt\n\n      - name: Install dependencies\n        run: |\n          pip3 install -c dev-requirements.txt pip-tools\n\n      - name: Check dependency graph\n        run: |\n          pip-compile -q --strip-extras\n          pip-compile -q --strip-extras dev-requirements.in\n          pip-compile -q --strip-extras docs/requirements.in\n\n      - name: Verify dependency graph is ok\n        uses: tj-actions/verify-changed-files@v20\n        id: verify-changed-files\n        with:\n          files: |\n            requirements.txt\n            dev-requirements.txt\n            docs/requirements.txt\n\n      - name: Validating graph\n        if: steps.verify-changed-files.outputs.files_changed == 'true'\n        run: |\n          echo \"Dependency file(s) changed: ${{ steps.verify-changed-files.outputs.changed_files }}\"\n          git diff\n          core.setFailed('Please add your new dependencies in setup.py and/or dev-requirements.in then run pip-compile to add them in requirements. (see docs/contribute/development)')\n", "state": "active", "repository": "geotrekce/geotrek-admin"}
{"mined_at": "2024-07-15T14:52:28.985551", "created_at": "2022-05-30T17:48:52+02:00", "updated_at": "2022-07-26T17:14:23+02:00", "name": "Documentation", "path": ".github/workflows/doc.yml", "contents": "name: Documentation\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'docs/**'\n  pull_request:\n    paths:\n      - 'docs/**'\n  release:\n    types:\n      - created\n\nenv:\n  DEBIAN_FRONTEND: noninteractive\n\njobs:\n  doc:\n    name: Documentation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/actions/python-cache-requirements\n        with:\n          requirements: docs/requirements.txt\n\n      - name: Build doc\n        run: |\n          cd docs/\n          make html SPHINXOPTS=\"-W\"\n", "state": "active", "repository": "geotrekce/geotrek-admin"}
{"mined_at": "2024-07-15T14:52:30.119842", "created_at": "2021-06-07T19:38:40+02:00", "updated_at": "2024-06-05T13:58:58+02:00", "name": "Linting", "path": ".github/workflows/lint.yml", "contents": "name: Linting\n\non:\n  pull_request:\n    paths:\n      - 'geotrek/**'  # if geotrek code change\n      - '.github/workflows/lint.yml'  # if lint workflow change\n      - 'dev-requirements.txt'  # if dev-requirements.txt change\n      - 'setup.cfg'   # if lint tools configuration change\n\nenv:\n  DEBIAN_FRONTEND: noninteractive\n\njobs:\n  migrations:\n    name: Checking SRID in migrations files\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - run: |\n          test $(ls geotrek/*/migrations/*.py | xargs grep -l srid | xargs grep -L SRID | wc -l) -eq 0\n\n  flake8:\n    name: Checking Flake8 rules\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/actions/python-cache-requirements\n        with:\n          requirements: dev-requirements.txt\n\n      - name: Install dependencies\n        run: |\n          pip3 install -c dev-requirements.txt flake8\n\n      - name: Flake8\n        run: |\n          flake8 geotrek\n", "state": "active", "repository": "geotrekce/geotrek-admin"}
{"mined_at": "2024-07-15T14:52:31.231098", "created_at": "2021-06-07T11:52:17+02:00", "updated_at": "2024-05-31T16:09:05+02:00", "name": "Test CI", "path": ".github/workflows/test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test CI\n\non:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - 'docs/**'\n  release:\n    types:\n      - created\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  DEBIAN_FRONTEND: noninteractive\n  POSTGRES_DB: ci_test\n  POSTGRES_PASSWORD: ci_test\n  POSTGRES_USER: ci_test\n  POSTGRES_HOST: 127.0.0.1\n  SERVER_NAME: geotrek.local\n  SECRET_KEY: test-test-test\n  CONVERSION_HOST: localhost\n  CAPTURE_HOST: localhost\n  REDIS_HOST: 127.0.0.1\n  VAR_DIR: /home/runner/work/Geotrek-admin/Geotrek-admin/var\n  LANG: C.UTF-8\n  LANGUAGES: en fr\n  LANGUAGE_CODE: en\n\njobs:\n  test:\n    name: Python Unittests\n    runs-on: ubuntu-latest\n    container: makinacorpus/geodjango:${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: ['bionic-3.8', 'focal-3.8']\n        python-version: ['3.8']\n        tests-env: ['tests', 'tests_nds']\n\n    env:\n      ENV: ${{ matrix.tests-env }}\n      OS: ${{ matrix.os }}\n      POSTGRES_HOST: postgres\n      REDIS_HOST: redis\n\n    services:\n      postgres:\n        image: postgis/postgis:12-2.5\n        env:\n          POSTGRES_DB: ci_test\n          POSTGRES_PASSWORD: ci_test\n          POSTGRES_USER: ci_test\n        ports:\n          - 5432:5432\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n      redis:\n        image: redis:5.0-alpine\n        ports:\n          - 6379:6379\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/cache@v3\n      with:\n        path: |\n          ./venv\n\n        key: pip-${{ matrix.python-version }}-${{ matrix.os }}-${{ hashFiles('./requirements.txt', './dev-requirements.txt', './docs/requirements.txt') }}\n        restore-keys: |\n          pip-${{ matrix.python-version }}-${{ matrix.os }}-${{ hashFiles('./requirements.txt', './dev-requirements.txt', './docs/requirements.txt') }}\n          pip-${{ matrix.python-version }}-${{ matrix.os }}\n\n    - name: Prepare test env\n      run: |\n        apt-get update -q\n        apt-get -qq -y install \\\n           unzip \\\n           gettext \\\n           binutils \\\n           libproj-dev \\\n           gdal-bin \\\n           sudo \\\n           less \\\n           curl \\\n           git \\\n           iproute2 \\\n           software-properties-common \\\n           shared-mime-info \\\n           fonts-liberation \\\n           libssl-dev \\\n           libfreetype6-dev \\\n           libxml2-dev \\\n           libxslt-dev \\\n           libcairo2 \\\n           libpango1.0-0 \\\n           libpangocairo-1.0-0 \\\n           libgdk-pixbuf2.0-dev \\\n           libffi-dev \\\n           libvips\n        apt-get install -y --no-install-recommends postgis\n\n    - name: Install python dependencies\n      run: |\n        python3.8 -m venv ./venv\n        ./venv/bin/pip3 install --upgrade pip wheel setuptools -c requirements.txt -c dev-requirements.txt\n        ./venv/bin/pip3 install -r requirements.txt -U\n        ./venv/bin/pip3 install -r dev-requirements.txt -U\n\n    - name: Create test required directories\n      run: |\n        mkdir -p ./var/log ./var/cache/sessions\n\n    - name: Prepare environment\n      run: |\n        mkdir -p $VAR_DIR/conf/extra_static $VAR_DIR/tmp\n        ./venv/bin/python3 ./manage.py collectstatic --clear --noinput --verbosity=0\n        ./venv/bin/python3 ./manage.py compilemessages\n\n    - name: Check missing migrations\n      run: |\n        ENV=dev ./venv/bin/python3 ./manage.py makemigrations --check\n\n    - name: Check running migrations\n      run: |\n        ENV=dev ./venv/bin/python3 ./manage.py migrate\n\n    - name: Launch Celery\n      run: |\n        ./venv/bin/celery -A geotrek worker -c 1 &\n\n    - name: Unit test\n      run: |\n        ./venv/bin/coverage run --parallel-mode --concurrency=multiprocessing ./manage.py test --parallel -v 3\n        ./venv/bin/coverage combine\n        ./venv/bin/coverage xml -o coverage.xml\n\n    - name: Save coverage\n      uses: actions/upload-artifact@v2\n      with:\n        name: coverage_${{ matrix.os }}_${{ matrix.tests-env }}\n        path: coverage.xml\n\n  upload_coverage:\n    name: Upload coverage to codecov\n    runs-on: ubuntu-latest\n    needs: [ test ]\n    strategy:\n      matrix:\n        os: ['bionic-3.8', 'focal-3.8']\n        python-version: ['3.8']\n        tests-env: ['tests', 'tests_nds']\n\n    env:\n      ENV: ${{ matrix.tests-env }}\n      OS: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/download-artifact@v2\n        with:\n            name: coverage_${{ matrix.os }}_${{ matrix.tests-env }}\n            path: .\n\n      - uses: codecov/codecov-action@v4\n        with:\n            files: ./coverage.xml\n            env_vars: OS,ENV\n            token: ${{ secrets.CODECOV_TOKEN }} # not usually required for public repos\n            fail_ci_if_error: true # optional (default = false)\n\n  build_docker_image:\n    name: Build docker image\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Build Docker image\n        run: |\n          docker build -f ./docker/Dockerfile -t geotrek:latest .\n      - name: Upload image\n        uses: ishworkh/docker-image-artifact-upload@v1\n        with:\n          image: \"geotrek:latest\"\n\n  build_deb_18_04:\n      name: Build 18.04 package\n      runs-on: ubuntu-latest\n      steps:\n        - uses: actions/checkout@v3\n        - name: Prepare debian 18.04 versioning\n          run: |\n            grep '^[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+$' VERSION || sed -i 's/+dev/.ubuntu18.04~dev'$GITHUB_RUN_ID'/' debian/changelog\n            sed -i 's/geotrek-admin (\\([0-9]\\+\\.[0-9]\\+\\.[0-9]\\+\\)\\(.*\\)) RELEASED;/geotrek-admin (\\1.ubuntu18.04\\2) bionic;/' debian/changelog\n\n        - name: Building package debian 18.04\n          run: |\n            DISTRO=ubuntu:bionic make build_deb\n            cp ./dpkg/*.deb /home/runner/work/Geotrek-admin/\n\n        - name: Archive package artifact\n          uses: actions/upload-artifact@v3\n          with:\n            name: debian-18-04\n            path: |\n              /home/runner/work/Geotrek-admin/*.deb\n\n  build_deb_20_04:\n    name: Build 20.04 package\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Prepare debian 20.04 versioning\n        run: |\n          sed -i 's/+dev/.ubuntu20.04~dev'$GITHUB_RUN_ID'/' debian/changelog\n          sed -i 's/geotrek-admin (\\([0-9]\\+\\.[0-9]\\+\\.[0-9]\\+\\)\\(.*\\)) RELEASED;/geotrek-admin (\\1.ubuntu20.04\\2) focal;/' debian/changelog\n\n      - name: Building package debian 18.04\n        run: |\n          DISTRO=ubuntu:focal make build_deb\n          cp ./dpkg/*.deb /home/runner/work/Geotrek-admin/\n\n      - name: Archive package artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: debian-20-04\n          path: |\n            /home/runner/work/Geotrek-admin/*.deb\n\n  e2e_docker_image:\n    name: Tests E2E docker\n    runs-on: ubuntu-20.04\n    needs: [build_docker_image]\n    env:\n      CYPRESS_BASE_URL: http://geotrek.local\n      CYPRESS_CACHE_FOLDER: ~/cypress/cache\n\n    services:\n      postgres:\n        image: postgis/postgis:12-2.5\n        env:\n          POSTGRES_DB: ci_test\n          POSTGRES_PASSWORD: ci_test\n          POSTGRES_USER: ci_test\n        ports:\n          - 5432:5432\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n    steps:\n      - uses: actions/checkout@v3\n      - name: Download image\n        uses: ishworkh/docker-image-artifact-download@v1\n        with:\n          image: \"geotrek:latest\"\n      - name: Launch service\n        run: |\n          docker tag geotrek:latest geotrekce/admin:latest\n          cp docker/install/.env.dist .env\n          cp docker/install/docker-compose.yml docker-compose.yml\n          echo 'LANGUAGES=en fr' >> .env\n          echo 'LANGUAGE_CODE=en' >> .env\n          sudo sed -i 's/localhost/geotrek.local/' .env\n          sudo sed -i 's/127.0.0.1 localhost/127.0.0.1 localhost geotrek.local/' /etc/hosts\n          mkdir -p var/conf/extra_static\n          cp cypress/custom.py var/conf/custom.py\n          echo 'POSTGRES_USER=ci_test' >> .env\n          echo 'POSTGRES_PASSWORD=ci_test' >> .env\n          echo 'POSTGRES_DB=ci_test' >> .env\n          docker compose run web update.sh\n          make load_data\n          make load_test_integration\n          docker compose up -d\n\n      - name: Prepare nginx\n        run: |\n          sudo service apache2 stop\n          sudo apt-get purge apache2 apache2-utils apache2.2-bin\n          sudo apt-get autoremove\n          sudo apt-get install -q -y nginx\n          sudo unlink /etc/nginx/sites-enabled/default\n          sudo mkdir /var/www/geotrek -p\n          ls -als\n          pwd\n          sudo ln -s /home/runner/work/Geotrek-admin/Geotrek-admin/var/media /var/www/geotrek/media\n          sudo ln -s /home/runner/work/Geotrek-admin/Geotrek-admin/var/static /var/www/geotrek/static\n          sudo ln -s /home/runner/work/Geotrek-admin/Geotrek-admin/cypress/nginx.conf /etc/nginx/sites-enabled/geotrek.conf\n          sudo systemctl restart nginx\n\n      - name: install Cypress\n        run: |\n          cd /home/runner/work/Geotrek-admin/Geotrek-admin/cypress\n          npm ci\n          npm list\n          echo \"Waiting for container...\"\n          while ! nc -z \"127.0.0.1\" \"8001\"; do\n            sleep 0.1\n          done\n\n      - name: E2E test\n        run: |\n          /home/runner/work/Geotrek-admin/Geotrek-admin/cypress/node_modules/.bin/cypress run -P /home/runner/work/Geotrek-admin/Geotrek-admin/cypress --record --key 64a5a9b3-9869-4a2f-91e4-e3cd27c2f564\n        continue-on-error: false\n\n      - name: Archive results as artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: cypress-docker\n          path: |\n            /home/runner/work/Geotrek-admin/Geotrek-admin/cypress/videos/*.mp4\n            /home/runner/work/Geotrek-admin/Geotrek-admin/cypress/screenshots/*.png\n\n  e2e_deb_20_04:\n    name: Tests E2E 20.04\n    runs-on: ubuntu-20.04\n    needs: [ build_deb_20_04 ]\n\n    env:\n      CYPRESS_BASE_URL: http://geotrek.local\n      CYPRESS_CACHE_FOLDER: ~/cypress/cache\n\n    services:\n      postgres:\n        image: postgis/postgis:12-2.5\n        env:\n          POSTGRES_DB: ci_test\n          POSTGRES_PASSWORD: ci_test\n          POSTGRES_USER: ci_test\n        ports:\n          - 5432:5432\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/download-artifact@v3\n        with:\n          name: debian-20-04\n\n      - name: Simulate install.sh procedure\n        run: |\n          sudo service apache2 stop\n          sudo apt-get purge apache2 apache2-utils apache2.2-bin\n          sudo apt-get autoremove\n          echo \"deb [arch=amd64] https://packages.geotrek.fr/ubuntu $(lsb_release -sc) main\" | sudo tee /etc/apt/sources.list.d/geotrek.list\n          wget -O- \"https://packages.geotrek.fr/geotrek.gpg.key\" | sudo apt-key add -\n          sudo apt-get -q update\n          echo \"geotrek-admin geotrek-admin/LANGUAGES string en fr\" >> .debian_settings\n          echo \"geotrek-admin geotrek-admin/POSTGRES_USER string $POSTGRES_USER\" >> .debian_settings\n          echo \"geotrek-admin geotrek-admin/POSTGRES_DB string $POSTGRES_DB\" >> .debian_settings\n          echo \"geotrek-admin geotrek-admin/POSTGRES_PASSWORD string $POSTGRES_PASSWORD\" >> .debian_settings\n          echo \"geotrek-admin geotrek-admin/SERVER_NAME string geotrek.local\" >> .debian_settings\n          mkdir -p /opt/geotrek-admin/var/conf/\n          cp /home/runner/work/Geotrek-admin/Geotrek-admin/cypress/custom.py /opt/geotrek-admin/var/conf/custom.py\n          sudo sed -i 's/127.0.0.1 localhost/127.0.0.1 localhost geotrek.local/' /etc/hosts\n          sudo debconf-set-selections .debian_settings\n\n      - name: Install package\n        run: |\n          sudo unlink /etc/nginx/sites-enabled/default\n          sudo apt-get install /home/runner/work/Geotrek-admin/Geotrek-admin/*.deb || exit 0;\n          sudo systemctl restart nginx\n\n      - name: Load Data\n        run: |\n          sudo geotrek loaddata minimal\n          sudo geotrek loaddata cirkwi\n          sudo geotrek loaddata basic\n          sudo geotrek loaddata test-integration\n          for dir in `ls -d /opt/geotrek-admin/lib/python3*/site-packages/geotrek/*/fixtures/upload`; do\n          \tcd $dir > /dev/null\n          \tsudo cp -r * /opt/geotrek-admin/var/media/upload/\n          done\n\n      - name: Install cypress\n        run: |\n          cd /home/runner/work/Geotrek-admin/Geotrek-admin/cypress\n          npm ci\n          npm list\n\n      - name: E2E test\n        run: |\n          /home/runner/work/Geotrek-admin/Geotrek-admin/cypress/node_modules/.bin/cypress run -P /home/runner/work/Geotrek-admin/Geotrek-admin/cypress --record --key 64a5a9b3-9869-4a2f-91e4-e3cd27c2f564\n        continue-on-error: false\n\n      - name: Archive results as artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: cypress-20.04\n          path: |\n            /home/runner/work/Geotrek-admin/Geotrek-admin/cypress/videos/*.mp4\n            /home/runner/work/Geotrek-admin/Geotrek-admin/cypress/screenshots/*.png\n  deploy:\n    name: Publish (on release only)\n    runs-on: ubuntu-latest\n    needs: [ test, e2e_docker_image, build_deb_18_04, e2e_deb_20_04 ]\n    if: ${{ github.event_name == 'release' && github.event.action == 'created' }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Download 18.04 debian artifact\n        uses: actions/download-artifact@v3\n        with:\n          name: debian-18-04\n      - name: Download 20.04 debian artifact\n        uses: actions/download-artifact@v3\n        with:\n          name: debian-20-04\n      - name: Download docker image\n        uses: ishworkh/docker-image-artifact-download@v1\n        with:\n          image: \"geotrek:latest\"\n      - name: Attach debian packages as release binaries\n        uses: skx/github-action-publish-binaries@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          args: '*.deb'\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_LOGIN }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Publish Docker image (v2 and latest)\n        run: |\n          if [[ \"${{ github.ref }}\" == *\"dev\"* ]]; then\n            export DOCKER_TAG=dev\n          else\n            docker tag geotrek:latest geotrekce/admin:$(cat VERSION)\n            docker push geotrekce/admin:$(cat VERSION)\n            export DOCKER_TAG=latest\n          fi\n          docker tag geotrek:latest geotrekce/admin:$DOCKER_TAG\n          docker push geotrekce/admin:$DOCKER_TAG\n      - name: Install SSH key\n        uses: shimataro/ssh-key-action@v2\n        with:\n          key: ${{ secrets.SSH_PRIVATE_KEY }}\n          known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}\n      - name: Publish debian packages\n        run: |\n          if [[ \"${{ github.ref }}\" == *\"dev\"* ]]; then\n            export DEB_COMPONENT=dev\n          else\n            export DEB_COMPONENT=main\n          fi\n          echo \"${{ github.ref }} : Publishing as $DEB_COMPONENT package\"\n          scp -P ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no /home/runner/work/Geotrek-admin/Geotrek-admin/geotrek-admin_*_amd64.deb ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/srv/packages/incoming/$DEB_COMPONENT/\n          if [[ \"${{ github.ref }}\" == *\"dev\"* ]]; then\n            ssh -p ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} make bionic_dev -C /srv/packages\n            ssh -p ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} make focal_dev -C /srv/packages\n          else\n            ssh -p ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} make bionic_main -C /srv/packages\n            ssh -p ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} make focal_main -C /srv/packages\n          fi\n", "state": "active", "repository": "geotrekce/geotrek-admin"}
{"mined_at": "2024-07-15T14:52:32.236987", "created_at": "2024-07-15T06:26:05+02:00", "updated_at": "2024-07-15T06:26:05+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "geotrekce/geotrek-admin"}
{"mined_at": "2024-07-15T14:52:34.544798", "created_at": "2021-05-12T21:58:27+02:00", "updated_at": "2023-08-31T17:52:07+02:00", "name": "Insights Core Test", "path": ".github/workflows/main.yml", "contents": "name: Insights Core Test\n\non:\n  push:\n    branches: [ master, '3.0']\n  pull_request:\n    branches: [ master ]\n\njobs:\n  code-test:\n\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-versions: [3.6, 3.9, 3.11]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-versions }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-versions }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n    - name: flake8\n      run: |\n        pip install -e .[linting]\n        flake8 .\n    - name: pytest\n      run: |\n        pip install 'urllib3<2'\n        pip install -e .[testing]\n        pytest\n\n  python27-test:\n\n    runs-on: ubuntu-latest\n    container:\n      image: python:2.7.18-buster\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 2.7\n      uses: actions/setup-python@v4\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n    - name: flake8\n      run: |\n        pip install -e .[linting]\n        flake8 .\n    - name: pytest\n      run: |\n        pip install 'urllib3<2'\n        pip install -e .[testing]\n        pytest\n\n  python26-test:\n\n    runs-on: ubuntu-latest\n    container:\n      image: cronosmobi/python2.6:latest\n\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: install dependencies\n      run: |\n        apt-get install -y --no-install-recommends software-properties-common\n        apt-get install -y build-essential git curl unzip file tar\n    - name: build setuptools and pip\n      run: |\n        export PATH=$PATH:/github/home/.local/bin\n        CUR_DIR=$(pwd)\n        mkdir ../tools && cd ../tools\n        curl -L -O https://files.pythonhosted.org/packages/b8/04/be569e393006fa9a2c10ef72ea33133c2902baa115dd1d4279dae55c3b3b/setuptools-36.8.0.zip\n        unzip setuptools-36.8.0.zip && cd setuptools-36.8.0\n        python setup.py install --user && cd ..\n        curl -L -O https://github.com/pypa/pip/archive/refs/tags/9.0.3.tar.gz\n        tar -xvzf 9.0.3.tar.gz && cd pip-9.0.3\n        python setup.py install --user\n        cd ${CUR_DIR}\n    - name: get depenencies\n      run: |\n        export PATH=$PATH:/github/home/.local/bin\n        CUR_DIR=$(pwd)\n        cd ../\n        git clone https://github.com/SteveHNH/jenkins-s2i-example.git pips\n        (cd ./pips/slave26/pip_packages && test -f coverage-4.3.4-cp26-cp26mu-manylinux1_x86_64.whl && mv coverage-4.3.4-cp26-cp26mu-manylinux1_x86_64.whl coverage-4.3.4-py2.py3-none-any.whl)\n        pip install --user --no-index -f ./pips/slave26/pip_packages -r ./pips/slave26/ci_requirements.txt\n        cd ${CUR_DIR}\n        mkdir ../collections_module\n        curl -L -o ./../collections_module/collections.py https://raw.githubusercontent.com/RedHatInsights/insights-core/5c8ca0f2fb3de45908e8d931d40758af34a7997a/.collections.py\n    - name: flake8\n      run: |\n        export PATH=$PATH:/github/home/.local/bin\n        pip install --user -e .[linting] -f ./pips/slave26/pip_packages\n        flake8 .\n    - name: pytest\n      run: |\n        export PATH=$PATH:/github/home/.local/bin\n        pip install --user -e .[testing] -f ./pips/slave26/pip_packages\n        export PYTHONPATH=${PYTHONPATH}:./../collections_module\n        pytest\n\n  docs-test:\n\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: install dependencies\n      run: |\n        sudo apt-get install pandoc\n        python -m pip install --upgrade pip\n    - name: docs Test\n      run: |\n        pip install docutils==0.17\n        pip install -e .[docs]\n        sphinx-build -W -b html -qa -E docs docs/_build/html\n", "state": "active", "repository": "redhatinsights/insights-core"}
{"mined_at": "2024-07-15T14:52:36.876669", "created_at": "2022-10-10T10:39:59+02:00", "updated_at": "2022-10-10T10:39:59+02:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "name: Documentation\n\non:\n  push:\n    tags:\n      - 'v*'\n  # Allows to run the workflow manually\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\nenv:\n  CUSTOM_DOMAIN: python-sdk.meilisearch.com\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - name: Setup Github Pages\n        uses: actions/configure-pages@v5\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install pipenv\n        run: |\n          pip install pipx\n          pipx install pipenv\n      - name: Install dependencies\n        run: |\n          pipenv install --dev\n          pipenv install sphinx\n          pipenv install sphinx_rtd_theme\n      - name: Build docs\n        run: |\n          pipenv run sphinx-apidoc -f -o docs meilisearch/\n          pipenv run sphinx-build docs ./docs/_build/html/\n        # CNAME file is required for GitHub pages custom domain\n      - name: Create CNAME file\n        run: |\n          echo \"$CUSTOM_DOMAIN\" > ./docs/_build/html/CNAME\n          echo \"Created CNAME in ./docs/_build/html/: $CUSTOM_DOMAIN\"\n      - name: Upload artifacts\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: \"./docs/_build/html\"\n  deploy:\n    needs: build\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "meilisearch/meilisearch-python"}
{"mined_at": "2024-07-15T14:52:37.900095", "created_at": "2020-11-26T17:51:11+01:00", "updated_at": "2020-11-26T17:51:11+01:00", "name": "Pre-Release Tests", "path": ".github/workflows/pre-release-tests.yml", "contents": "# Testing the code base against the Meilisearch pre-releases\nname: Pre-Release Tests\n\n# Will only run for PRs and pushes to bump-meilisearch-v*\non:\n  push:\n    branches: bump-meilisearch-v*\n  pull_request:\n    branches: bump-meilisearch-v*\n\njobs:\n  integration_tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    name: integration-tests-against-rc\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pipenv\"\n      - name: Install pipenv\n        run: pipx install pipenv\n      - name: Install dependencies\n        run: pipenv install --dev --python=${{ matrix.python-version }}\n      - name: Get the latest Meilisearch RC\n        run: echo \"MEILISEARCH_VERSION=$(curl https://raw.githubusercontent.com/meilisearch/integration-guides/main/scripts/get-latest-meilisearch-rc.sh | bash)\" >> $GITHUB_ENV\n      - name: Meilisearch (${{ env.MEILISEARCH_VERSION }}) setup with Docker\n        run: docker run -d -p 7700:7700 getmeili/meilisearch:${{ env.MEILISEARCH_VERSION }} meilisearch --master-key=masterKey --no-analytics\n      - name: Test with pytest\n        run: pipenv run pytest\n", "state": "active", "repository": "meilisearch/meilisearch-python"}
{"mined_at": "2024-07-15T14:52:39.027758", "created_at": "2020-03-04T16:35:52+01:00", "updated_at": "2020-03-04T16:35:52+01:00", "name": "PyPI", "path": ".github/workflows/pypi-publish.yml", "contents": "name: PyPI\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n          cache: \"pipenv\"\n      - name: Check release validity\n        run: sh .github/scripts/check-release.sh\n      - name: Install pipenv\n        run: pipx install pipenv\n      - name: Install dependencies\n        run: |\n          pipenv install\n          pipenv run pip3 install build setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: \"pypi-${{ secrets.PYPI_API_TOKEN }}\"\n        run: |\n          pipenv run python3 -m build\n          pipenv run twine upload dist/*\n", "state": "active", "repository": "meilisearch/meilisearch-python"}
{"mined_at": "2024-07-15T14:52:40.152630", "created_at": "2020-06-15T18:21:17+02:00", "updated_at": "2020-06-15T18:21:17+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v6\n        with:\n          config-name: release-draft-template.yml\n        env:\n          GITHUB_TOKEN: ${{ secrets.RELEASE_DRAFTER_TOKEN }}\n", "state": "active", "repository": "meilisearch/meilisearch-python"}
{"mined_at": "2024-07-15T14:52:41.165639", "created_at": "2020-11-12T18:26:38+01:00", "updated_at": "2021-06-02T06:30:11+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  pull_request:\n  push:\n    # trying and staging branches are for BORS config\n    branches:\n      - trying\n      - staging\n      - main\n\njobs:\n  integration_tests:\n    # Will not run if the event is a PR to bump-meilisearch-v* (so a pre-release PR)\n    # Will still run for each push to bump-meilisearch-v*\n    if: github.event_name != 'pull_request' || !startsWith(github.base_ref, 'bump-meilisearch-v')\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    name: integration-tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pipenv\"\n      - name: Install pipenv\n        run: pipx install pipenv\n      - name: Install dependencies\n        run: pipenv install --dev --python=${{ matrix.python-version }}\n      - name: Meilisearch (latest version) setup with Docker\n        run: docker run -d -p 7700:7700 getmeili/meilisearch:latest meilisearch --no-analytics --master-key=masterKey\n      - name: Test with pytest\n        run: pipenv run pytest --cov-report=xml\n\n  pylint:\n    name: pylint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          cache: \"pipenv\"\n      - name: Install pipenv\n        run: pipx install pipenv\n      - name: Install dependencies\n        run: pipenv install --dev --python=${{ matrix.python-version }}\n      - name: Linter with pylint\n        run: pipenv run pylint meilisearch tests\n\n  mypy:\n    name: mypy\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n          cache: \"pipenv\"\n      - name: Install pipenv\n        run: pipx install pipenv\n      - name: Install dependencies\n        run: pipenv install --dev --python=${{ matrix.python-version }}\n      - name: mypy type check\n        run: pipenv run mypy meilisearch\n\n  black:\n    name: black\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n          cache: \"pipenv\"\n      - name: Install pipenv\n        run: pipx install pipenv\n      - name: Install dependencies\n        run: pipenv install --dev --python=${{ matrix.python-version }}\n      - name: black\n        run: pipenv run black meilisearch tests --check\n\n  isort:\n    name: isort\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n          cache: \"pipenv\"\n      - name: Install pipenv\n        run: pipx install pipenv\n      - name: Install dependencies\n        run: pipenv install --dev --python=${{ matrix.python-version }}\n      - name: isort\n        run: pipenv run isort meilisearch tests --check-only\n\n  yaml-lint:\n    name: Yaml linting check\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Yaml lint check\n        uses: ibiqlik/action-yamllint@v3\n        with:\n          config_file: .yamllint.yml\n", "state": "active", "repository": "meilisearch/meilisearch-python"}
{"mined_at": "2024-07-15T14:52:42.213365", "created_at": "2023-10-25T20:01:05+02:00", "updated_at": "2023-10-25T20:01:05+02:00", "name": "Update library version", "path": ".github/workflows/update-version.yml", "contents": "name: Update library version\n\non:\n  workflow_dispatch:\n    inputs:\n      new_version:\n        description: 'The new version (vX.Y.Z)'\n        required: true\n\nenv:\n  NEW_VERSION: ${{ github.event.inputs.new_version }}\n  NEW_BRANCH: update-version-${{ github.event.inputs.new_version }}\n  GH_TOKEN: ${{ secrets.MEILI_BOT_GH_PAT }}\n\njobs:\n  update-version:\n    name: Update version in version.py\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Update version.py file\n        run: |\n          raw_new_version=$(echo $NEW_VERSION | cut -d 'v' -f 2)\n          new_string=\"__version__ = \\\"$raw_new_version\\\"\"\n          sed -i \"s/^__version__ = .*/$new_string/\" meilisearch/version.py\n      - name: Commit and push the changes to the ${{ env.NEW_BRANCH }} branch\n        uses: EndBug/add-and-commit@v9\n        with:\n          message: \"Update version for the next release (${{ env.NEW_VERSION }}) in version.py\"\n          new_branch: ${{ env.NEW_BRANCH }}\n      - name: Create the PR pointing to ${{ github.ref_name }}\n        run: |\n          gh pr create \\\n            --title \"Update version for the next release ($NEW_VERSION)\" \\\n            --body '⚠️ This PR is automatically generated. Check the new version is the expected one.' \\\n            --label 'skip-changelog' \\\n            --base $GITHUB_REF_NAME\n", "state": "active", "repository": "meilisearch/meilisearch-python"}
{"mined_at": "2024-07-15T14:52:44.317588", "created_at": "2021-06-01T12:52:26+02:00", "updated_at": "2021-06-01T12:52:26+02:00", "name": "Build", "path": ".github/workflows/health_check.yml", "contents": "name: Build\non:\n  workflow_dispatch: # for testing\n  push:\n    branches:\n      - 'develop'\n\n# This is what will cancel the workflow concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  check_integrity:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: \"3.9\"\n            tox-env-py: \"39\"\n          - python-version: \"3.10\"\n            tox-env-py: \"310\"\n          - python-version: \"3.11\"\n            tox-env-py: \"311\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Installing Rust toolchain\n        uses: actions-rs/toolchain@v1\n        with:\n          profile: minimal\n          toolchain: stable\n          override: true\n      - name: Installing python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Installing dependencies\n        run: |\n          python -m pip install tox\n      - name: Code instrumentation\n        run: |\n          tox -e tests-py${{ matrix.tox-env-py }}-lin\n  call-notify-to-teams:\n    needs: [check_integrity]\n    if: |\n      always() &&\n      contains(needs.*.result, 'failure')\n    uses: ./.github/workflows/notify_teams.yml\n    secrets: inherit\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:45.462309", "created_at": "2021-07-07T16:29:56+02:00", "updated_at": "2021-07-07T17:17:38+02:00", "name": "Linter", "path": ".github/workflows/linter.yml", "contents": "name: Linter\non: pull_request\njobs:\n  pre-commit:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: pre-commit/action@v3.0.1\n        with:\n          extra_args: --all-files\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:46.607788", "created_at": "2021-12-21T09:33:56+01:00", "updated_at": "2021-12-21T09:33:56+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:47.759642", "created_at": "2023-02-11T06:10:13+01:00", "updated_at": "2023-02-14T05:51:48+01:00", "name": "PR Test", "path": ".github/workflows/pr_check.yml", "contents": "name: PR Test\non:\n  push:\n    branches:\n      - 'master'\n      - 'develop'\n      - 'releases/*'\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n\n# This is what will cancel the workflow concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\njobs:\n  pr_test:\n    if: |\n      github.event.pull_request.draft == false &&\n      !(startsWith(github.event.pull_request.title, '[WIP]')) &&\n      !(startsWith(github.event.pull_request.title, '[Dependent]'))\n    strategy:\n      fail-fast: false\n      matrix:\n        os: ['ubuntu-20.04', 'windows-2022']\n        python-version: ['3.10']\n        include:\n          - python-version: \"3.10\"\n            tox-env-py: \"310\"\n          - os: \"ubuntu-20.04\"\n            tox-env-os: \"lin\"\n          - os: \"windows-2022\"\n            tox-env-os: \"win\"\n    name: pr test (${{ matrix.os }}, Python ${{ matrix.python-version }})\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Installing Rust toolchain\n        uses: actions-rs/toolchain@v1\n        with:\n          profile: minimal\n          toolchain: stable\n          override: true\n      - name: Installing python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Installing dependencies\n        run: |\n          python -m pip install tox\n      - name: Unit testing\n        run: |\n          tox -vvv -e tests-py${{ matrix.tox-env-py }}-${{ matrix.tox-env-os }} --develop -- tests/unit --cov --cov-report=xml\n      - name: Integration testing\n        run: |\n          tox -vvv -e tests-py${{ matrix.tox-env-py }}-${{ matrix.tox-env-os }} -- tests/integration\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          flags: ${{ matrix.os }}_Python-${{ matrix.python-version }}\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:48.837243", "created_at": "2023-02-13T08:34:19+01:00", "updated_at": "2023-06-02T06:35:12+02:00", "name": "Weekly Stability Test", "path": ".github/workflows/weekly_check.yml", "contents": "name: Weekly Stability Test\non:\n  workflow_dispatch: # run on request (no need for PR)\n  schedule:\n    # every 7PM on Sunday\n    - cron: \"0 19 * * 0\"\n\n# This is what will cancel the workflow concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  weekly_stability_test:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.9', '3.10', '3.11']\n        extra: ['default', 'tf', 'tfds', 'torch']\n        include:\n          - python-version: \"3.9\"\n            tox-env-py: \"39\"\n          - python-version: \"3.10\"\n            tox-env-py: \"310\"\n          - python-version: \"3.11\"\n            tox-env-py: \"311\"\n    name: stability test (Python ${{ matrix.python-version }}, Extra ${{ matrix.extra }})\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Installing python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Installing dependencies\n        run: |\n          python -m pip install tox\n      - name: Stability testing\n        run: |\n          tox -e stability-${{ matrix.extra }}\n      - name: Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: stability-${{ matrix.python-version }}-${{ matrix.extra }}\n          path: .tox/stability-${{ matrix.extra }}/log\n  call-notify-to-teams:\n    needs: [weekly_stability_test]\n    if: |\n      always() &&\n      contains(needs.*.result, 'failure')\n    uses: ./.github/workflows/notify_teams.yml\n    secrets: inherit\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:49.979070", "created_at": "2023-02-14T05:51:48+01:00", "updated_at": "2023-02-14T05:51:48+01:00", "name": "Nightly Regression Test", "path": ".github/workflows/nightly_check.yml", "contents": "name: Nightly Regression Test\non:\n  workflow_dispatch: # run on request (no need for PR)\n  schedule:\n    - cron: \"0 15 * * 2-6\" # Every day at 12:00 AM in Korea time\ndefaults:\n  run:\n    shell: bash\njobs:\n  nightly_regression_test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: ['ubuntu-20.04', 'windows-2022']\n        python-version: ['3.9', '3.10', '3.11']\n        include:\n          - os: \"ubuntu-20.04\"\n            tox-env-os: \"lin\"\n          - os: \"windows-2022\"\n            tox-env-os: \"win\"\n          - python-version: \"3.9\"\n            tox-env-py: \"39\"\n          - python-version: \"3.10\"\n            tox-env-py: \"310\"\n          - python-version: \"3.11\"\n            tox-env-py: \"311\"\n    name: nightly regression test (${{ matrix.os }}, Python ${{ matrix.python-version }})\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Installing Rust toolchain\n        uses: actions-rs/toolchain@v1\n        with:\n          profile: minimal\n          toolchain: stable\n          override: true\n      - name: Installing python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: Installing dependencies\n        run: |\n          python -m pip install tox\n      - name: Nightly regression testing\n        run: |\n          # python -m pytest -v --html=nightly_regression_test_report.html\n          tox -e tests-py${{ matrix.tox-env-py }}-${{ matrix.tox-env-os }}\n      - name: Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: nightly-results-py${{ matrix.tox-env-py }}-${{ matrix.tox-env-os }}\n          path: .tox/results-tests-py${{ matrix.tox-env-py }}-${{ matrix.tox-env-os }}.csv\n  call-notify-to-teams:\n    needs: [nightly_regression_test]\n    if: |\n      always() &&\n      contains(needs.*.result, 'failure')\n    uses: ./.github/workflows/notify_teams.yml\n    secrets: inherit\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:51.214886", "created_at": "2023-03-24T09:08:30+01:00", "updated_at": "2024-03-19T04:34:06+01:00", "name": "Code Scanning", "path": ".github/workflows/code_scan.yml", "contents": "name: Code Scanning\n\non:\n  workflow_dispatch: # run on request (no need for PR)\n  push:\n    branches: [ \"develop\", \"releases/*\" ]\n  schedule:\n    # every UTC 6PM from Mon to Fri\n    - cron: \"0 18 * * 1-5\"\n\njobs:\n  Trivy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: python -m pip install pip-tools\n      - name: Freeze dependencies\n        run: |\n          mkdir -p .ci/base\n          pip-compile -o .ci/base/requirements.txt requirements.txt\n          mkdir -p .ci/dev/tests\n          pip-compile -o .ci/dev/tests/requirements.txt tests/requirements.txt\n          mkdir -p .ci/dev/docker/segment-anything/\n          pip-compile -o .ci/dev/docker/segment-anything/requirements.txt docker/segment-anything/requirements.txt\n          mkdir -p .ci/base/docs\n          pip-compile -o .ci/base/docs/requirements.txt docs/requirements.txt\n      - name: Run Trivy Scan (full, csv)\n        uses: aquasecurity/trivy-action@7c2007bcb556501da015201bcba5aa14069b74e2 # 0.23.0\n        with:\n          trivy-config: \".ci/trivy-csv.yaml\"\n          scan-type: 'fs'\n          scan-ref: \".ci/\"\n          scanners: vuln,secret\n      - name: Run Trivy Scan (prod, spdx.json)\n        uses: aquasecurity/trivy-action@7c2007bcb556501da015201bcba5aa14069b74e2 # 0.23.0\n        with:\n          trivy-config: \".ci/trivy-json.yaml\"\n          scan-type: 'fs'\n          scan-ref: \".ci/base\"\n      - name: Upload Trivy results\n        uses: actions/upload-artifact@v4\n        with:\n          name: trivy-results-prod-json\n          path: '${{ github.workspace }}/trivy-results-*'\n  Bandit:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: python -m pip install tox\n      - name: Bandit Scanning\n        run: tox -e bandit-scan\n      - name: Upload Bandit artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: bandit-report\n          path: .tox/bandit-report.txt\n        # Use always() to always run this step to publish scan results when there are test failures\n        if: ${{ always() }}\n  call-notify-to-teams:\n    needs: [Trivy, Bandit]\n    if: |\n      always() &&\n      contains(needs.*.result, 'failure')\n    uses: ./.github/workflows/notify_teams.yml\n    secrets: inherit\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:52.348179", "created_at": "2023-03-31T08:23:58+02:00", "updated_at": "2023-04-10T06:43:55+02:00", "name": "Issue assignment", "path": ".github/workflows/issue_assignment.yml", "contents": "name: Issue assignment\n\non:\n  workflow_dispatch: # For testing\n  issues:\n    types: [opened]\n\njobs:\n  auto-assign:\n    runs-on: ubuntu-latest\n\n    permissions:\n      issues: write\n\n    steps:\n      - name: Auto-assign Issue\n        uses: pozil/auto-assign-issue@v2.0.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          assignees: vinnamkim,jihyeonyi,sooahleex,itrushkin\n          numOfAssignee: 1\n          allowSelfAssign: false\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:53.566534", "created_at": "2023-04-10T07:01:13+02:00", "updated_at": "2023-04-10T07:01:13+02:00", "name": "Notify to Microsoft Teams", "path": ".github/workflows/notify_teams.yml", "contents": "name: Notify to Microsoft Teams\n\non:\n  workflow_call:\n    secrets:\n      MSTEAMS_WEBHOOK:\n        required: true\n\njobs:\n  notify-to-teams:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Microsoft Teams Notification\n        uses: skitionek/notify-microsoft-teams@master\n        if: always()\n        with:\n          webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}\n          raw: >-\n            {\n              \"@type\": \"MessageCard\",\n              \"@context\": \"http://schema.org/extensions\",\n              \"title\": \"Failure on ${{ github.workflow }}\",\n              \"summary\": \"Failure on ${{ github.workflow }}\",\n              \"sections\": [\n                {\n                  \"activityTitle\": \"Failure on ${{ github.workflow }}\",\n                  \"activitySubtitle\": \"\",\n                  \"activityImage\": \"https://raw.githubusercontent.com/Skitionek/notify-microsoft-teams/master/icons/failure.png\"\n                }\n              ],\n              \"potentialAction\": [\n                {\n                  \"@type\": \"OpenUri\",\n                  \"name\": \"Go to failure\",\n                  \"targets\": [\n                    {\n                      \"os\": \"default\",\n                      \"uri\": \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n                    }\n                  ]\n                }\n              ]\n            }\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:54.684630", "created_at": "2023-04-17T07:08:48+02:00", "updated_at": "2023-04-17T09:59:00+02:00", "name": "Build Docs for releases", "path": ".github/workflows/docs_stable.yml", "contents": "name: Build Docs for releases\n\non:\n  release:\n    types: [published]\n\njobs:\n  Build-Docs:\n    runs-on: ubuntu-20.04\n    permissions:\n      contents: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install tox\n          sudo apt-get install pandoc graphviz\n      - name: Build-Docs\n        run: |\n          tox -e build-docs\n      - name: Create gh-pages branch\n        run: |\n          echo RELEASE_VERSION=${GITHUB_REF#refs/*/} >> $GITHUB_ENV\n          echo SOURCE_NAME=${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT\n          echo SOURCE_BRANCH=${GITHUB_REF#refs/heads/} >> $GITHUB_OUTPUT\n          echo SOURCE_TAG=${GITHUB_REF#refs/tags/} >> $GITHUB_OUTPUT\n          existed_in_remote=$(git ls-remote --heads origin gh-pages)\n\n          if [[ -z ${existed_in_remote} ]]; then\n            echo \"Creating gh-pages branch\"\n            git config --local user.email \"action@github.com\"\n            git config --local user.name \"GitHub Action\"\n            git checkout --orphan gh-pages\n            git reset --hard\n            touch .nojekyll\n            git add .nojekyll\n            git commit -m \"Initializing gh-pages branch\"\n            git push origin gh-pages\n            git checkout ${{steps.branch_name.outputs.SOURCE_NAME}}\n            echo \"Created gh-pages branch\"\n          else\n            echo \"Branch gh-pages already exists\"\n          fi\n      - name: Commit docs to gh-pages branch\n        run: |\n          git fetch\n          git checkout gh-pages\n          mkdir -p /tmp/docs_build\n          cp -r docs/build/html/* /tmp/docs_build/\n          rm -rf ${{ env.RELEASE_VERSION }}/*\n          echo '<html><head><meta http-equiv=\"refresh\" content=\"0; url=stable/\" /></head></html>' > index.html\n          mkdir -p ${{ env.RELEASE_VERSION }}\n          cp -r /tmp/docs_build/* ./${{ env.RELEASE_VERSION }}\n          ln -sfn ${{ env.RELEASE_VERSION }} stable\n          rm -rf /tmp/docs_build\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git add ./index.html ./stable ${{ env.RELEASE_VERSION }}\n          git commit -m \"Update documentation\" -a || true\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: gh-pages\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:55.702755", "created_at": "2023-04-19T02:59:15+02:00", "updated_at": "2024-03-12T03:02:25+01:00", "name": "Build Docs for the latest", "path": ".github/workflows/docs_latest.yml", "contents": "name: Build Docs for the latest\n\non:\n  workflow_dispatch: # run on request (no need for PR)\n  push:\n    branches:\n      - develop\n\njobs:\n  Build-Docs:\n    runs-on: ubuntu-20.04\n    permissions:\n      contents: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install tox\n          sudo apt-get install pandoc graphviz\n      - name: Build-Docs\n        run: |\n          tox -e build-docs\n      - name: Create gh-pages branch\n        run: |\n          if [[ ${{github.event_name}} == 'workflow_dispatch' ]]; then\n            echo RELEASE_VERSION=\"test_build\" >> $GITHUB_ENV\n          else\n            echo RELEASE_VERSION=${GITHUB_REF#refs/*/} >> $GITHUB_ENV\n          fi\n          echo SOURCE_NAME=${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT\n          echo SOURCE_BRANCH=${GITHUB_REF#refs/heads/} >> $GITHUB_OUTPUT\n          echo SOURCE_TAG=${GITHUB_REF#refs/tags/} >> $GITHUB_OUTPUT\n          existed_in_remote=$(git ls-remote --heads origin gh-pages)\n\n          if [[ -z ${existed_in_remote} ]]; then\n            echo \"Creating gh-pages branch\"\n            git config --local user.email \"action@github.com\"\n            git config --local user.name \"GitHub Action\"\n            git checkout --orphan gh-pages\n            git reset --hard\n            touch .nojekyll\n            git add .nojekyll\n            git commit -m \"Initializing gh-pages branch\"\n            git push origin gh-pages\n            git checkout ${{steps.branch_name.outputs.SOURCE_NAME}}\n            echo \"Created gh-pages branch\"\n          else\n            echo \"Branch gh-pages already exists\"\n          fi\n      - name: Commit docs to gh-pages branch\n        run: |\n          git fetch\n          git checkout gh-pages\n          mkdir -p /tmp/docs_build\n          cp -r docs/build/html/* /tmp/docs_build/\n          rm -rf ${{ env.RELEASE_VERSION }}/*\n          echo '<html><head><meta http-equiv=\"refresh\" content=\"0; url=stable/\" /></head></html>' > index.html\n          mkdir -p ${{ env.RELEASE_VERSION }}\n          cp -r /tmp/docs_build/* ./${{ env.RELEASE_VERSION }}\n          rm -rf /tmp/docs_build\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          if [[ ${{ env.RELEASE_VERSION }} != 'test_build' ]]; then\n            ln -sfn ${{ env.RELEASE_VERSION }} latest\n          fi\n          git add ./index.html ./latest ${{ env.RELEASE_VERSION }}\n          git commit -m \"Update documentation\" -a || true\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: gh-pages\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:56.707902", "created_at": "2023-06-28T05:05:02+02:00", "updated_at": "2023-06-28T05:05:02+02:00", "name": "hello-world", "path": ".github/workflows/test_ci.yml", "contents": null, "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:57.755405", "created_at": "2023-11-14T06:23:20+01:00", "updated_at": "2023-11-23T02:04:34+01:00", "name": "Build and upload to PyPI", "path": ".github/workflows/publish_to_pypi.yml", "contents": "name: Build and upload to PyPI\n\non:\n  workflow_dispatch: # run on request (no need for PR)\n  release:\n    types: [published]\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: ['ubuntu-20.04', 'windows-2022']\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Installing python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n      - name: Install cibuildwheel\n        run: python -m pip install cibuildwheel==2.15.0\n      - name: Build wheels\n        run: python -m cibuildwheel --output-dir wheelhouse\n      - uses: actions/upload-artifact@v4\n        with:\n          name: artifact-wheels_${{ matrix.os }}\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - name: Install pypa/build\n        run: python -m pip install build\n      - name: Build sdist\n        run: python -m build --sdist\n      - uses: actions/upload-artifact@v4\n        with:\n          name: artifact-sdist_${{ matrix.os }}\n          path: dist/*.tar.gz\n\n  publish_package:\n    name: Publish package\n    needs: [build_wheels, build_sdist]\n    environment: pypi\n    runs-on: ubuntu-latest\n    permissions: write-all\n    steps:\n    - name: Download artifacts\n      uses: actions/download-artifact@v4\n      with:\n        path: dist\n        pattern: artifact-*\n        merge-multiple: true\n    # to determine where to publish the source distribution to PyPI or TestPyPI\n    - name: Check tag\n      id: check-tag\n      uses: actions-ecosystem/action-regex-match@v2\n      with:\n        text: ${{ github.ref }}\n        regex: '^refs/tags/v[0-9]+\\.[0-9]+\\.[0-9]+(rc[0-9]+)?$'\n    - name: Upload package distributions to github\n      if: ${{ steps.check-tag.outputs.match != '' }}\n      uses: svenstaro/upload-release-action@v2\n      with:\n        repo_token: ${{ secrets.GITHUB_TOKEN }}\n        file: dist/*\n        tag: ${{ github.ref }}\n        overwrite: true\n        file_glob: true\n    - name: Publish package distributions to PyPI\n      if: ${{ steps.check-tag.outputs.match != '' }}\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n    - name: Publish package distributions to TestPyPI\n      if: ${{ steps.check-tag.outputs.match == '' }}\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        password: ${{ secrets.TESTPYPI_API_TOKEN }}\n        repository-url: https://test.pypi.org/legacy/\n        verbose: true\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:52:58.902307", "created_at": "2024-02-27T07:53:33+01:00", "updated_at": "2024-02-28T10:06:52+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  # branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: \"0 18 * * 6\"\n  push:\n    branches: [\"develop\"]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:53:00.121652", "created_at": "2024-03-05T09:25:45+01:00", "updated_at": "2024-03-07T02:18:17+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"develop\", \"releases/*\" ]\n  pull_request:\n    branches: [ \"develop\", \"releases/*\" ]\n  schedule:\n    - cron: \"0 0 * * 0\"\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ \"c-cpp\", \"python\" ]\n        # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]\n        # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Build\n      run: |\n        pip install build\n        python -m build\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n      with:\n        category: \"/language:${{matrix.language}}\"\n    - name: Generate Security Report\n      uses: rsdmike/github-security-report-action@a149b24539044c92786ec39af8ba38c93496495d # v3.0.4\n      with:\n        outputDir: ${{matrix.language}}\n        template: report\n        token: ${{ secrets.GITHUB_TOKEN }}\n    - name: GitHub Upload Release Artifacts\n      uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2\n      with:\n        name: codeql-report-${{matrix.language}}\n        path: \"./${{matrix.language}}/report.pdf\"\n", "state": "active", "repository": "openvinotoolkit/datumaro"}
{"mined_at": "2024-07-15T14:53:02.255737", "created_at": "2022-06-13T11:45:28+02:00", "updated_at": "2022-07-08T08:52:41+02:00", "name": "Benchmarks", "path": ".github/workflows/bench.yml", "contents": "name: Benchmarks\n\non:\n  push:\n    branches: devel\n\njobs:\n\n  Benchmark:\n\n    runs-on: ubuntu-latest\n    if: github.repository == 'pyccel/pyccel'\n\n    steps:\n      - name: Set up ssh\n        uses: webfactory/ssh-agent@v0.7.0\n        with:\n            ssh-private-key: ${{ secrets.SSH_DEPLOY_KEY }}\n      - name: Clone pyccel-benchmarks repository\n        working-directory: ../\n        run: |\n          git clone git@github.com:pyccel/pyccel-benchmarks.git\n      - name: Push results to pyccel-benchmarks\n        working-directory: ../pyccel-benchmarks\n        run: |\n          export GIT_AUTHOR_NAME=\"Pyccel/pyccel\"\n          export GIT_AUTHOR_EMAIL=\"41898282+github-actions[bot]@users.noreply.github.com\"\n          git config user.email ${GIT_AUTHOR_EMAIL}\n          git config user.name ${GIT_AUTHOR_NAME}\n          git commit --allow-empty -m \"Benchmark of pyccel/pyccel@${GITHUB_SHA}\"\n          git push\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:03.288533", "created_at": "2023-01-08T12:03:48+01:00", "updated_at": "2023-03-28T21:33:23+02:00", "name": "Spellcheck Action", "path": ".github/workflows/spelling.yml", "contents": "name: Spellcheck Action\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      pr_repo:\n        required: false\n        type: string\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n\njobs:\n  Spelling:\n    runs-on: ubuntu-latest\n    name: Documentation spellcheck\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          submodules: true\n      - name: Set up Python ${{ inputs.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.python_version }}\n      - name: \"Setup\"\n        id: token\n        run: |\n          pip install jwt requests\n          python ci_tools/setup_check_run.py spelling\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools\n          python -m pip install pyspelling\n          python -m pip install pymdown-extensions\n          # Install any additional libraries required: additional plugins, documentation building libraries, etc.\n      - name: Install Aspell\n        run: |\n          sudo apt-get install aspell aspell-en\n      - name: Spell check\n        id: spelling\n        run: |\n           python -m pyspelling > misspellings.txt || true\n           cat misspellings.txt\n           python ci_tools/summarise_pyspelling.py misspellings.txt $GITHUB_STEP_SUMMARY\n      - name: Common spelling problems\n        id: manual_spelling\n        run: |\n          FILES=$(echo -e \"import yaml\\nfor f in yaml.safe_load(open('.pyspelling.yml'))['matrix'][0]['sources']:\\n    print(f)\" | python3)\n          python ci_tools/check_python_capitalisation.py $GITHUB_STEP_SUMMARY $FILES\n      - name: \"Post completed\"\n        if: always()\n        run:\n          python ci_tools/complete_check_run.py ${{ steps.spelling.outcome }} ${{ steps.manual_spelling.outcome }}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:04.421564", "created_at": "2023-01-08T16:29:17+01:00", "updated_at": "2023-01-09T20:11:20+01:00", "name": "Pyccel Linting", "path": ".github/workflows/pyccel_lint.yml", "contents": "name: Pyccel Linting\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      base:\n        required: true\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      pr_repo:\n        required: false\n        type: string\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n\njobs:\n  Pyccel-Linter:\n    runs-on: ubuntu-latest\n    name: Best practices\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          fetch-depth: 0\n          submodules: true\n      - name: Set up Python ${{ inputs.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.python_version }}\n      - name: \"Setup\"\n        id: token\n        run: |\n          pip install jwt requests\n          python ci_tools/setup_check_run.py pyccel_lint\n      - name: Install dependencies\n        uses: ./.github/actions/linux_install\n      - name: Install Pyccel\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .\n          python -m pip install pylint\n        shell: bash\n      - name: Collect diff information\n        run: |\n          git diff ${{ inputs.base }} --no-indent-heuristic --unified=0 --output=pull_diff.txt --no-color\n        shell: bash\n      - name: Lint\n        id: lint\n        run: |\n          python ci_tools/check_slots.py $GITHUB_STEP_SUMMARY\n          python ci_tools/check_pylint_commands.py . pull_diff.txt $GITHUB_STEP_SUMMARY\n          cat $GITHUB_STEP_SUMMARY\n        shell: bash\n      - name: \"Post completed\"\n        if: always()\n        run:\n          python ci_tools/complete_check_run.py ${{ steps.lint.outcome }}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:05.550440", "created_at": "2023-04-13T12:02:08+02:00", "updated_at": "2023-04-13T12:02:08+02:00", "name": "Anaconda-Linux", "path": ".github/workflows/anaconda_linux.yml", "contents": "name: Anaconda-Linux\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      pr_repo:\n        required: false\n        type: string\n  push:\n    branches: [devel, main]\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n\njobs:\n  Python_version_picker:\n    runs-on: ubuntu-latest\n    if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'\n    outputs:\n      python_version: ${{ steps.set-python_version.outputs.python_version }}\n    steps:\n    - if: github.event_name == 'push'\n      run: |\n        echo \"version=3.9\" >> $GITHUB_ENV\n      shell: bash\n    - id: dispatch-matrix\n      if: github.event_name == 'workflow_dispatch'\n      run: |\n        echo \"version=${{ inputs.python_version }}\" >> $GITHUB_ENV\n      shell: bash\n    - id: set-python_version\n      run: |\n        echo \"python_version=$version\" >> $GITHUB_OUTPUT\n      shell: bash\n\n  Anaconda-Linux:\n    runs-on: ubuntu-latest\n    name: Unit tests\n    needs: Python_version_picker\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          submodules: true\n      - name: Install dependencies\n        uses: ./.github/actions/linux_install\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          auto-activate-base: true\n          python-version: ${{ needs.Python_version_picker.outputs.python_version }}\n      - name: Install python dependencies\n        uses: ./.github/actions/conda_installation\n        with:\n          mpi_type: openmpi\n      - name: \"Setup\"\n        if: github.event_name != 'push'\n        id: token\n        run: |\n          pip install jwt requests\n          python ci_tools/setup_check_run.py anaconda_linux\n        shell: bash -l {0}\n      - name: Coverage install\n        uses: ./.github/actions/coverage_install\n        with:\n          shell_cmd: \"bash -l {0}\"\n      - name: Fortran/C tests with pytest\n        id: f_c_pytest\n        timeout-minutes: 60\n        uses: ./.github/actions/pytest_run\n        with:\n          shell_cmd: \"bash -l {0}\"\n      - name: Python tests with pytest\n        id: python_pytest\n        timeout-minutes: 20\n        uses: ./.github/actions/pytest_run_python\n        with:\n          shell_cmd: \"bash -l {0}\"\n      - name: Parallel tests with pytest\n        id: parallel\n        timeout-minutes: 20\n        uses: ./.github/actions/pytest_parallel\n        with:\n          shell_cmd: \"bash -l {0}\"\n      - name: Collect coverage information\n        continue-on-error: True\n        uses: ./.github/actions/coverage_collection\n        with:\n          shell_cmd: \"bash -l {0}\"\n      - name: Save code coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-artifact\n          path: .coverage\n          retention-days: 1\n      - name: \"Post completed\"\n        if: always() && github.event_name != 'push'\n        run:\n          python ci_tools/complete_check_run.py ${{ steps.f_c_pytest.outcome }} ${{ steps.python_pytest.outcome }} ${{ steps.parallel.outcome }}\n        shell: bash -l {0}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:06.565104", "created_at": "2023-04-13T12:02:08+02:00", "updated_at": "2023-04-13T12:02:08+02:00", "name": "Anaconda-Windows", "path": ".github/workflows/anaconda_windows.yml", "contents": "name: Anaconda-Windows\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      pr_repo:\n        required: false\n        type: string\n  push:\n    branches: [devel, main]\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n\njobs:\n  Python_version_picker:\n    runs-on: windows-latest\n    if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'\n    outputs:\n      python_version: ${{ steps.set-python_version.outputs.python_version }}\n    steps:\n    - if: github.event_name == 'push'\n      run: |\n        echo \"version=3.9\" >> $GITHUB_ENV\n      shell: bash\n    - id: dispatch-matrix\n      if: github.event_name == 'workflow_dispatch'\n      run: |\n        echo \"version=${{ inputs.python_version }}\" >> $GITHUB_ENV\n      shell: bash\n    - id: set-python_version\n      run: |\n        echo \"python_version=$version\" >> $GITHUB_OUTPUT\n      shell: bash\n\n  Anaconda-Windows:\n    runs-on: windows-latest\n    name: Unit tests\n    needs: Python_version_picker\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          submodules: true\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          auto-activate-base: true\n          python-version: ${{ needs.Python_version_picker.outputs.python_version }}\n      - name: Install dependencies\n        uses: ./.github/actions/windows_install\n      - name: Install python dependencies\n        uses: ./.github/actions/conda_installation\n        with:\n          mpi_type: msmpi\n      - name: \"Setup\"\n        if: github.event_name != 'push'\n        id: token\n        run: |\n          python -m pip install jwt requests\n          python ci_tools/setup_check_run.py anaconda_windows\n        shell: bash -l -eo pipefail {0}\n      - name: Fortran/C tests with pytest\n        id: f_c_pytest\n        timeout-minutes: 60\n        uses: ./.github/actions/pytest_run\n        with:\n          shell_cmd: 'bash -l -eo pipefail {0}'\n          pytest_mark: 'and not external'\n      - name: Python tests with pytest\n        id: python_pytest\n        timeout-minutes: 20\n        uses: ./.github/actions/pytest_run_python\n        with:\n          shell_cmd: 'bash -l -eo pipefail {0}'\n      - name: \"Post completed\"\n        if: always() && github.event_name != 'push'\n        run: |\n          which python\n          python --version\n          python ci_tools/complete_check_run.py ${{ steps.f_c_pytest.outcome }} ${{ steps.python_pytest.outcome }}\n        shell: bash -l -eo pipefail {0}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:07.781632", "created_at": "2023-04-13T12:02:08+02:00", "updated_at": "2023-04-13T12:02:08+02:00", "name": "Unit test coverage", "path": ".github/workflows/coverage.yml", "contents": "name: Unit test coverage\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      base:\n        required: true\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      artifact_urls:\n        required: true\n        type: string\n      pr_id:\n        required: true\n        type: id\n      pr_repo:\n        required: false\n        type: string\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_ID: ${{ inputs.pr_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n\njobs:\n  CoverageChecker:\n\n    runs-on: ubuntu-latest\n    name: Unit tests\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          submodules: true\n      - name: Set up Python ${{ inputs.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.python_version }}\n      - name: \"Setup\"\n        id: token\n        run: |\n          pip install jwt requests\n          python ci_tools/setup_check_run.py coverage\n        shell: bash\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install defusedxml\n          python -m pip install coverage\n        shell: bash\n      - name: Collect coverage information\n        run: |\n          python ci_tools/fetch_artifacts.py ${{ inputs.artifact_urls }}\n          echo -e \"[paths]\\nsource =\\n   $(pwd)/pyccel\\n   */site-packages/pyccel\\n[xml]\\noutput = cobertura.xml\" > .coveragerc\n          coverage combine\n          coverage xml\n        shell: bash\n      - name: Run codacy-coverage-reporter\n        uses: codacy/codacy-coverage-reporter-action@master\n        continue-on-error: True\n        with:\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          coverage-reports: cobertura.xml\n      - name: Collect diff information\n        run: |\n          git fetch\n          git checkout ${{ inputs.base }} # Make sure there is a local copy in case of a branch\n          git checkout ${{ env.COMMIT }}\n          git diff ${{ inputs.base }}..HEAD --no-indent-heuristic --unified=0 --output=pull_diff.txt --no-color\n        shell: bash\n      - name: Check coverage\n        id: coverage\n        run: |\n          python ci_tools/check_new_coverage.py pull_diff.txt cobertura.xml $GITHUB_STEP_SUMMARY\n        shell: bash\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:08.896804", "created_at": "2023-04-13T12:02:08+02:00", "updated_at": "2023-04-13T12:02:08+02:00", "name": "Linux unit tests", "path": ".github/workflows/linux.yml", "contents": "name: Linux unit tests\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      pr_repo:\n        required: false\n        type: string\n  push:\n    branches: [devel, main]\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n\njobs:\n  matrix_prep:\n    runs-on: ubuntu-latest\n    if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n    - id: push-matrix\n      if: github.event_name == 'push'\n      run: |\n        echo \"matrix=['3.8', '3.9', '3.10', '3.11', '3.12']\" >> $GITHUB_ENV\n      shell: bash\n    - id: dispatch-matrix\n      if: github.event_name == 'workflow_dispatch'\n      run: |\n        echo \"matrix=[${{ inputs.python_version }}]\" >> $GITHUB_ENV\n      shell: bash\n    - id: set-matrix\n      run: |\n        echo \"$matrix\"\n        echo \"matrix={\\\"python_version\\\": $matrix}\" >> $GITHUB_OUTPUT\n      shell: bash\n\n  Linux:\n\n    runs-on: ubuntu-latest\n    name: Unit tests\n    needs: matrix_prep\n    strategy:\n      matrix: ${{fromJson(needs.matrix_prep.outputs.matrix)}}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          submodules: true\n      - name: Set up Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: \"Setup\"\n        if: github.event_name != 'push'\n        id: token\n        run: |\n          pip install jwt requests\n          python ci_tools/setup_check_run.py linux\n      - name: Install dependencies\n        uses: ./.github/actions/linux_install\n      - name: Install Pyccel with tests\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .[test]\n        shell: bash\n      - name: Coverage install\n        uses: ./.github/actions/coverage_install\n      - name: Fortran/C tests with pytest\n        id: f_c_pytest\n        timeout-minutes: 60\n        uses: ./.github/actions/pytest_run\n      - name: Python tests with pytest\n        id: python_pytest\n        timeout-minutes: 20\n        uses: ./.github/actions/pytest_run_python\n      - name: Parallel tests with pytest\n        id: parallel\n        timeout-minutes: 20\n        uses: ./.github/actions/pytest_parallel\n      - name: Test with valgrind for memory leaks\n        id: valgrind\n        uses: ./.github/actions/valgrind_run\n      - name: Collect coverage information\n        continue-on-error: True\n        uses: ./.github/actions/coverage_collection\n      - name: Save code coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-artifact-${{ matrix.python_version }}\n          path: .coverage\n          retention-days: 3\n      - name: \"Post completed\"\n        if: always() && github.event_name != 'push'\n        run:\n          python ci_tools/complete_check_run.py ${{ steps.f_c_pytest.outcome }} ${{ steps.python_pytest.outcome }} ${{ steps.parallel.outcome }} ${{ steps.valgrind.outcome }}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:09.909223", "created_at": "2023-04-13T12:02:08+02:00", "updated_at": "2023-04-13T12:02:08+02:00", "name": "MacOSX unit tests", "path": ".github/workflows/macosx.yml", "contents": "name: MacOSX unit tests\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      pr_repo:\n        required: false\n        type: string\n  push:\n    branches: [devel, main]\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n\njobs:\n  Python_version_picker:\n    runs-on: macos-latest\n    if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'\n    outputs:\n      python_version: ${{ steps.set-python_version.outputs.python_version }}\n    steps:\n    - if: github.event_name == 'push'\n      run: |\n        echo \"version=3.9\" >> $GITHUB_ENV\n      shell: bash\n    - id: dispatch-matrix\n      if: github.event_name == 'workflow_dispatch'\n      run: |\n        echo \"version=${{ inputs.python_version }}\" >> $GITHUB_ENV\n      shell: bash\n    - id: set-python_version\n      run: |\n        echo \"python_version=$version\" >> $GITHUB_OUTPUT\n      shell: bash\n\n  MacOSX:\n\n    runs-on: macos-latest\n    name: Unit tests\n    needs: Python_version_picker\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          submodules: true\n      - name: Set up Python ${{ needs.Python_version_picker.outputs.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ needs.Python_version_picker.outputs.python_version }}\n      - name: \"Setup\"\n        if: github.event_name != 'push'\n        id: token\n        run: |\n          pip install jwt requests\n          python ci_tools/setup_check_run.py macosx\n      - name: Install dependencies\n        uses: ./.github/actions/macos_install\n      - name: Install Pyccel with tests\n        run: |\n            python -m pip install --upgrade pip\n            python -m pip install .[test]\n        shell: bash\n      - name: Fortran/C tests with pytest\n        id: f_c_pytest\n        timeout-minutes: 60\n        uses: ./.github/actions/pytest_run\n      - name: Python tests with pytest\n        id: python_pytest\n        timeout-minutes: 20\n        uses: ./.github/actions/pytest_run_python\n      - name: Parallel tests with pytest\n        id: parallel\n        timeout-minutes: 20\n        uses: ./.github/actions/pytest_parallel\n      - name: \"Post completed\"\n        if: always() && github.event_name != 'push'\n        run:\n          python ci_tools/complete_check_run.py ${{ steps.f_c_pytest.outcome }} ${{ steps.python_pytest.outcome }} ${{ steps.parallel.outcome }}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:10.945322", "created_at": "2023-04-13T12:02:08+02:00", "updated_at": "2024-04-02T15:04:57+02:00", "name": "Pickled-installation", "path": ".github/workflows/pickle.yml", "contents": "name: Pickled-installation\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      editable_string:\n        required: false\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      pr_repo:\n        required: false\n        type: string\n  push:\n    branches: [devel, main]\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n\njobs:\n  Python_version_picker:\n    runs-on: ubuntu-latest\n    if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'\n    outputs:\n      python_version: ${{ steps.set-matrix.outputs.python_version }}\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n    - if: github.event_name == 'push'\n      run: |\n        echo \"version=3.9\" >> $GITHUB_ENV\n        echo \"editable=['-e', ' ']\" >> $GITHUB_ENV\n      shell: bash\n    - id: dispatch-matrix\n      if: github.event_name == 'workflow_dispatch'\n      run: |\n        echo \"version=${{ inputs.python_version }}\" >> $GITHUB_ENV\n        echo \"editable=['${{ inputs.editable_string }}']\" >> $GITHUB_ENV\n      shell: bash\n    - id: set-matrix\n      run: |\n        echo \"python_version=$version\" >> $GITHUB_OUTPUT\n        echo \"matrix={\\\"editable_string\\\": $editable}\" >> $GITHUB_OUTPUT\n      shell: bash\n\n  Pickled-installation:\n    runs-on: ubuntu-latest\n    name: Deploy tests\n    needs: Python_version_picker\n\n    strategy:\n      matrix: ${{fromJson(needs.Python_version_picker.outputs.matrix)}}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          submodules: true\n      - name: Set up Python ${{ needs.Python_version_picker.outputs.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ needs.Python_version_picker.outputs.python_version }}\n      - name: \"Setup\"\n        if: github.event_name != 'push'\n        id: token\n        run: |\n          pip install jwt requests\n          python ci_tools/setup_check_run.py pickle\n      - name: Install dependencies\n        uses: ./.github/actions/linux_install\n      - name: Install Pyccel\n        id: pickle\n        run: |\n          python -m pip install --upgrade pip\n          echo \"python -m pip install ${{ matrix.editable_string }} .\"\n          python -m pip install ${{ matrix.editable_string }} .\n        shell: bash\n      - name: Check for existence of pickled files\n        id: pickle_check\n        uses: ./.github/actions/check_for_pickled\n      - name: Check for STC installation\n        id: stc_check\n        uses: ./.github/actions/check_for_stc\n        with:\n          not_editable: \"${{ matrix.editable_string == '-e' && 'False' || 'True'}}\"\n      - name: Check for gFTL installation\n        id: gFTL_check\n        uses: ./.github/actions/check_for_gftl\n        with:\n          not_editable: \"${{ matrix.editable_string == '-e' && 'False' || 'True' }}\"\n      - name: \"Post completed\"\n        if: always() && github.event_name != 'push'\n        run: |\n          python ci_tools/basic_json_check_output.py --statuses ${{ steps.pickle.outcome }} ${{ steps.pickle_check.outcome }} ${{ steps.stc_check.outcome }} ${{ steps.gFTL_check.outcome}} --reasons \"Installation failed.\" \"Pickled files were not found in installaion.\" \"STC was not found during installation.\" \"gFTL was not found during installation.\"\n          python ci_tools/complete_check_run.py ${{ steps.pickle.outcome }} ${{ steps.pickle_check.outcome }} ${{ steps.stc_check.outcome }} ${{ steps.gFTL_check.outcome}}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:12.097853", "created_at": "2023-04-13T12:02:08+02:00", "updated_at": "2024-04-09T11:32:02+02:00", "name": "Wheel-pickled-installation", "path": ".github/workflows/pickle_wheel.yml", "contents": "name: Wheel-pickled-installation\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      pr_repo:\n        required: false\n        type: string\n  push:\n    branches: [devel, main]\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n\njobs:\n  Python_version_picker:\n    runs-on: ubuntu-latest\n    if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'\n    outputs:\n      python_version: ${{ steps.set-python_version.outputs.python_version }}\n    steps:\n    - if: github.event_name == 'push'\n      run: |\n        echo \"version=3.9\" >> $GITHUB_ENV\n      shell: bash\n    - id: dispatch-matrix\n      if: github.event_name == 'workflow_dispatch'\n      run: |\n        echo \"version=${{ inputs.python_version }}\" >> $GITHUB_ENV\n      shell: bash\n    - id: set-python_version\n      run: |\n        echo \"python_version=$version\" >> $GITHUB_OUTPUT\n      shell: bash\n\n  Wheel-pickled-installation:\n    runs-on: ubuntu-latest\n    name: Deploy tests\n    needs: Python_version_picker\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          submodules: true\n      - name: Set up Python ${{ needs.Python_version_picker.outputs.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ needs.Python_version_picker.outputs.python_version }}\n      - name: \"Setup\"\n        if: github.event_name != 'push'\n        id: token\n        run: |\n          pip install jwt requests\n          python ci_tools/setup_check_run.py pickle_wheel\n      - name: Install dependencies\n        uses: ./.github/actions/linux_install\n      - name: Install Pyccel from wheel\n        id: pickle\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade build\n          python -m build\n          python -m pip install dist/*.whl\n        shell: bash\n      - name: Check for existence of pickled files\n        id: pickle_check\n        uses: ./.github/actions/check_for_pickled\n      - name: Check for STC installation\n        id: stc_check\n        uses: ./.github/actions/check_for_stc\n      - name: Check for gFTL installation\n        id: gFTL_check\n        uses: ./.github/actions/check_for_gftl\n      - name: \"Post completed\"\n        if: always() && github.event_name != 'push'\n        run: |\n          python ci_tools/basic_json_check_output.py --statuses ${{ steps.pickle.outcome }} ${{ steps.pickle_check.outcome }} ${{ steps.stc_check.outcome }} ${{ steps.gFTL_check.outcome}} --reasons \"Installation failed.\" \"Pickled files were not found in installaion.\" \"STC was not found during installation.\" \"gFTL was not found during installation.\"\n          python ci_tools/complete_check_run.py ${{ steps.pickle.outcome }} ${{ steps.pickle_check.outcome }} ${{ steps.stc_check.outcome }} ${{ steps.gFTL_check.outcome}}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:13.222077", "created_at": "2023-04-13T12:02:08+02:00", "updated_at": "2024-02-01T09:45:14+01:00", "name": "Windows unit tests", "path": ".github/workflows/windows.yml", "contents": "name: Windows unit tests\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      pr_repo:\n        required: false\n        type: string\n  push:\n    branches: [devel, main]\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n\njobs:\n  Python_version_picker:\n    runs-on: windows-latest\n    if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'\n    outputs:\n      python_version: ${{ steps.set-python_version.outputs.python_version }}\n    steps:\n    - if: github.event_name == 'push'\n      run: |\n        echo \"version=3.9\" >> $GITHUB_ENV\n      shell: bash\n    - id: dispatch-matrix\n      if: github.event_name == 'workflow_dispatch'\n      run: |\n        echo \"version=${{ inputs.python_version }}\" >> $GITHUB_ENV\n      shell: bash\n    - id: set-python_version\n      run: |\n        echo \"python_version=$version\" >> $GITHUB_OUTPUT\n      shell: bash\n\n  Windows:\n\n    runs-on: windows-latest\n    name: Unit tests\n    needs: Python_version_picker\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          submodules: true\n      - name: Set up Python ${{ needs.Python_version_picker.outputs.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ needs.Python_version_picker.outputs.python_version }}\n      - name: \"Setup\"\n        if: github.event_name != 'push'\n        id: token\n        run: |\n          pip install jwt requests\n          python ci_tools/setup_check_run.py windows\n      # Uncomment to examine DLL requirements with 'objdump -x FILE'\n      #- name: Install mingw tools\n      #  uses: msys2/setup-msys2@v2\n      - name: Install dependencies\n        uses: ./.github/actions/windows_install\n      - name: Install Pyccel with tests\n        run: |\n            python -m pip install --upgrade pip\n            python -m pip install .[test]\n        shell: bash\n      - name: Fortran/C tests with pytest\n        id: f_c_pytest\n        timeout-minutes: 60\n        uses: ./.github/actions/pytest_run\n      - name: Python tests with pytest\n        id: python_pytest\n        timeout-minutes: 20\n        uses: ./.github/actions/pytest_run_python\n      - name: Parallel tests with pytest\n        id: parallel\n        timeout-minutes: 20\n        uses: ./.github/actions/pytest_parallel\n      - name: \"Post completed\"\n        if: always() && github.event_name != 'push'\n        run:\n          python ci_tools/complete_check_run.py ${{ steps.f_c_pytest.outcome }} ${{ steps.python_pytest.outcome }} ${{ steps.parallel.outcome }}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:14.238408", "created_at": "2023-04-18T15:08:16+02:00", "updated_at": "2023-07-26T15:20:39+02:00", "name": "Bot", "path": ".github/workflows/review_bot.yml", "contents": "name: Bot\n\non:\n  pull_request_review:\n    types: [ submitted ]\n\njobs:\n  Bot:\n    name: Update Review Stage\n    if: ((! github.event.pull_request.draft) && (github.event.review.user.type != 'Bot' ))\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ inputs.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install python dependencies\n        run: |\n          python -m pip install requests\n      - name: \"Generate token\"\n        id: token\n        uses: ./.github/actions/generate_bot_token\n        with:\n          bot_pem: \"${{ secrets.BOT_PEM }}\"\n      - id: run_bot\n        run: |\n          python ci_tools/bot_review_react.py\n        env:\n          GH_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:15.476366", "created_at": "2023-07-09T12:30:07+02:00", "updated_at": "2023-07-24T11:10:21+02:00", "name": "Bot", "path": ".github/workflows/welcome.yml", "contents": "name: Bot\n\non:\n  pull_request_target:\n    types: [ opened, reopened ]\n\njobs:\n  Bot:\n    name: Thanks for the Pull Request!\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install python dependencies\n        run: |\n          python -m pip install requests jwt\n      - id: run_bot\n        run: |\n          python ci_tools/bot_hello.py\n        env:\n          GH_TOKEN: ${{ github.token }}\n          PEM: \"${{ secrets.BOT_PEM }}\"\n\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:16.606418", "created_at": "2023-07-24T11:10:21+02:00", "updated_at": "2023-07-24T11:10:21+02:00", "name": "Clean up", "path": ".github/workflows/clean_up.yml", "contents": "name: Clean up\n\non:\n  check_run:\n    types: completed\n\njobs:\n  Post:\n    runs-on: ubuntu-latest\n    name: Report result\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Clean up\n        run: |\n          pip install jwt requests\n          python ci_tools/bot_clean_up.py\n        shell: bash\n        env:\n          PEM: ${{ secrets.BOT_PEM }}\n          GH_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:17.782378", "created_at": "2023-07-24T11:10:21+02:00", "updated_at": "2023-07-24T11:10:21+02:00", "name": "Bot comment handler", "path": ".github/workflows/comment_bot.yml", "contents": "name: Bot comment handler\n\non:\n  issue_comment:\n    types: [ created ]\n\njobs:\n  Bot:\n    if: ${{ startsWith( github.event.comment.body, '/bot ' ) }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: ./.github/actions/add_remote\n        with:\n          pr_id: ${{ github.event.issue.number }}\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install python dependencies\n        run: |\n          python -m pip install requests\n      - name: \"Generate token\"\n        id: token\n        uses: ./.github/actions/generate_bot_token\n        with:\n          bot_pem: \"${{ secrets.BOT_PEM }}\"\n      - id: run_bot\n        run: |\n          python ci_tools/bot_comment_react.py\n        env:\n          GH_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:18.836771", "created_at": "2023-07-24T11:10:21+02:00", "updated_at": "2024-03-22T15:41:24+01:00", "name": "Doc Coverage Action", "path": ".github/workflows/docs.yml", "contents": "name: Doc Coverage Action\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      base:\n        required: true\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      pr_repo:\n        required: false\n        type: string\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n\njobs:\n\n  DocumentationChecker:\n\n    runs-on: ubuntu-latest\n    name: Documentation Format\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.base }}\n          path: base\n          submodules: true\n      - uses: actions/checkout@v4\n        with:\n          path: compare\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          fetch-depth: 0\n          submodules: true\n      - name: Set up Python ${{ inputs.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.python_version }}\n      - name: \"Setup check run\"\n        id: token\n        run: |\n          pip install jwt requests\n          cd compare\n          python ../base/ci_tools/setup_check_run.py docs\n          cd ..\n      - name: Install python CI dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install docstr-coverage\n          python -m pip install numpydoc\n          python -m pip install defusedxml # All imported modules must be available for numpydoc\n        shell: bash\n      - name: Install dependencies\n        uses: ./compare/.github/actions/linux_install\n      - name: Install python dependencies for pyccel and tests\n        run: |\n          cd compare\n          pip3 install .[test]\n          pip3 install hatchling\n          cd ..\n        shell: bash\n      - name: Check doc coverage\n        id: doc_coverage\n        run: |\n          docstr-coverage --config=base/.docstr.yaml base/pyccel base/ci_tools 2>&1 | tee base_cov\n          docstr-coverage --config=compare/.docstr.yaml compare/pyccel compare/ci_tools 2>&1 | tee compare_cov\n          export PYTHONPATH=compare\n          python compare/ci_tools/summarise_doccoverage.py compare_cov base_cov $GITHUB_STEP_SUMMARY\n        shell: bash\n      - name: Check doc format\n        id: doc_format\n        run: |\n          cd compare\n          git fetch\n          git checkout ${{ inputs.base }} # Make sure there is a local copy in case of a branch\n          git checkout ${{ env.COMMIT }}\n          git diff ${{ inputs.base }}..HEAD --no-indent-heuristic --unified=0 --output=pull_diff.txt --no-color\n          python ci_tools/list_docs_tovalidate.py pull_diff.txt objects.txt\n          touch report.txt\n          export PYTHONPATH=ci_tools\n          while read line; do\n            echo \"python -m numpydoc --validate $line\"\n            python -m numpydoc --validate $line 2>&1 | tee -a report.txt || true \n          done < objects.txt\n          cd ..\n          export PYTHONPATH=compare\n          python compare/ci_tools/process_results.py compare/report.txt $GITHUB_STEP_SUMMARY\n        shell: bash\n      - name: \"Post completed\"\n        if: always()\n        run:\n          python base/ci_tools/complete_check_run.py ${{ steps.doc_coverage.outcome }} ${{ steps.doc_format.outcome }}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:19.977084", "created_at": "2023-07-24T11:10:21+02:00", "updated_at": "2023-07-24T11:10:21+02:00", "name": "Bot", "path": ".github/workflows/prepare_review_stage.yml", "contents": "name: Bot\n\non:\n  pull_request_target:\n    branches: [ devel ]\n    types: [ ready_for_review ]\n\njobs:\n  Bot:\n    name: Preparing Pull Request for review stage\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: ./.github/actions/add_remote\n        with:\n          pr_id: ${{ github.event.number }}\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install python dependencies\n        run: |\n          python -m pip install requests\n      - name: \"Generate token\"\n        id: token\n        uses: ./.github/actions/generate_bot_token\n        with:\n          bot_pem: \"${{ secrets.BOT_PEM }}\"\n      - id: run_bot\n        run: |\n          python ci_tools/bot_ready_for_review.py\n        env:\n          GH_TOKEN: ${{ github.token }}\n\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:21.114042", "created_at": "2023-07-24T11:10:21+02:00", "updated_at": "2023-07-24T11:10:21+02:00", "name": "Python Linting", "path": ".github/workflows/pylint.yml", "contents": "name: Python Linting\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      base:\n        required: true\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      pr_repo:\n        required: false\n        type: string\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n\njobs:\n  Linter:\n    runs-on: ubuntu-latest\n    name: Python best practices\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          fetch-depth: 0\n          submodules: true\n      - name: Set up Python ${{ inputs.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.python_version }}\n      - name: \"Setup\"\n        id: token\n        run: |\n          pip install jwt requests\n          python ci_tools/setup_check_run.py pylint\n      - name: Install python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install pylint\n          python -m pip install defusedxml\n        shell: bash\n      - name: Run Pylint\n        run: |\n          check_files=$(git diff ${{ inputs.base }}..HEAD --name-only --diff-filter=AM | grep \"\\.py$\" || true)\n          if [ -z ${check_files} ]\n          then\n            touch pylint_results.txt\n          else\n            python -m pylint --rcfile=.pylintrc ${check_files} 2>&1 | tee pylint_results.txt || true\n          fi\n        shell: bash\n      - name: Filter Pylint output\n        id: pylint\n        run: |\n          git diff ${{ inputs.base }}..HEAD --no-indent-heuristic --unified=0 --output=pull_diff.txt --no-color\n          python ci_tools/parse_pylint_output.py pylint_results.txt pull_diff.txt $GITHUB_STEP_SUMMARY\n        shell: bash\n      - name: \"Post completed\"\n        if: always()\n        run:\n          python ci_tools/complete_check_run.py ${{ steps.pylint.outcome }}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:22.222323", "created_at": "2023-10-13T14:22:04+02:00", "updated_at": "2023-10-13T14:22:04+02:00", "name": "Intel unit tests", "path": ".github/workflows/intel.yml", "contents": "name: Intel unit tests\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      ref:\n        required: false\n        type: string\n      check_run_id:\n        required: false\n        type: string\n      pr_repo:\n        required: false\n        type: string\n  push:\n    branches: [devel, main]\n\nenv:\n  COMMIT: ${{ inputs.ref || github.event.ref }}\n  PEM: ${{ secrets.BOT_PEM }}\n  GITHUB_RUN_ID: ${{ github.run_id }}\n  GITHUB_CHECK_RUN_ID: ${{ inputs.check_run_id }}\n  PR_REPO: ${{ inputs.pr_repo || github.repository }}\n  PYCCEL_DEFAULT_COMPILER: 'intel'\n\njobs:\n  Python_version_picker:\n    runs-on: ubuntu-latest\n    if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'\n    outputs:\n      python_version: ${{ steps.set-python_version.outputs.python_version }}\n    steps:\n    - if: github.event_name == 'push'\n      run: |\n        echo \"version=3.10\" >> $GITHUB_ENV\n      shell: bash\n    - id: dispatch-matrix\n      if: github.event_name == 'workflow_dispatch'\n      run: |\n        echo \"version=${{ inputs.python_version }}\" >> $GITHUB_ENV\n      shell: bash\n    - id: set-python_version\n      run: |\n        echo \"python_version=$version\" >> $GITHUB_OUTPUT\n      shell: bash\n\n  Intel:\n\n    runs-on: ubuntu-latest\n    name: Unit tests\n    needs: Python_version_picker\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.COMMIT }}\n          repository: ${{ env.PR_REPO }}\n          submodules: true\n      - name: Set up Python ${{ needs.Python_version_picker.outputs.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ needs.Python_version_picker.outputs.python_version }}\n      - name: \"Setup\"\n        if: github.event_name != 'push'\n        id: token\n        run: |\n          pip install jwt requests\n          python ci_tools/setup_check_run.py intel\n      - name: Install dependencies\n        uses: ./.github/actions/intel_install\n      - name: Install Pyccel with tests\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .[test]\n        shell: bash\n      - name: Coverage install\n        uses: ./.github/actions/coverage_install\n      - name: Fortran/C tests with pytest\n        id: f_c_pytest\n        timeout-minutes: 60\n        uses: ./.github/actions/pytest_run\n      - name: Python tests with pytest\n        id: python_pytest\n        timeout-minutes: 20\n        uses: ./.github/actions/pytest_run_python\n      - name: Parallel tests with pytest\n        id: parallel\n        timeout-minutes: 20\n        uses: ./.github/actions/pytest_parallel\n      - name: Test with valgrind for memory leaks\n        id: valgrind\n        uses: ./.github/actions/valgrind_run\n      - name: Collect coverage information\n        continue-on-error: True\n        uses: ./.github/actions/coverage_collection\n      - name: Save code coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-artifact\n          path: .coverage\n          retention-days: 1\n      - name: \"Post completed\"\n        if: always() && github.event_name != 'push'\n        run:\n          python ci_tools/complete_check_run.py ${{ steps.f_c_pytest.outcome }} ${{ steps.python_pytest.outcome }} ${{ steps.parallel.outcome }} ${{ steps.valgrind.outcome }}\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:23.467538", "created_at": "2024-05-07T22:33:57+02:00", "updated_at": "2024-05-07T22:33:57+02:00", "name": "Deploy new version to PyPi", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy new version to PyPi\n\non:\n  workflow_run:\n    workflows: [Anaconda-Windows]\n    types:\n      - completed\n\njobs:\n  waitForWorklows:\n    name: Wait for workflows\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.head_branch == 'main'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install python dependencies\n        run: |\n          python -m pip install requests jwt\n      - name: Wait for workflows\n        run: |\n          python3 wait_for_main_workflows.py\n        working-directory: ./ci_tools\n        shell: bash\n        env:\n          COMMIT: ${{ github.event.workflow_run.head_sha }}\n\n  deployVersion:\n    runs-on: ubuntu-latest\n    needs: [waitForWorklows]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n      - name: Install dependencies\n        uses: ./.github/actions/linux_install\n      - name: Update build\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade build\n          python -m pip install --upgrade twine\n      - name: Build and deploy\n        run: |\n          echo ${{ github.event.workflow_run.head_branch }}\n          python3 -m build\n          ls dist/*\n          python3 -m twine upload --repository pypi dist/* --non-interactive\n        shell: bash\n        env:\n          TWINE_USERNAME: '__token__'\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      - name: Install Pyccel without tests\n        run: |\n          python -m pip install .\n      - name: \"Get tag name\"\n        id: tag_name\n        run: |\n          version=$(python -c \"from pyccel import __version__; print(__version__)\")\n          echo \"TAG_NAME=v${version}\" >> $GITHUB_OUTPUT\n      - name: \"Update repo tags\"\n        uses: EndBug/latest-tag@latest\n        with:\n          ref: ${{ steps.tag_name.outputs.TAG_NAME }}\n\n", "state": "active", "repository": "pyccel/pyccel"}
{"mined_at": "2024-07-15T14:53:25.821127", "created_at": "2024-06-24T20:56:17+02:00", "updated_at": "2024-06-25T19:32:11+02:00", "name": "docker", "path": ".github/workflows/docker.yml", "contents": null, "state": "active", "repository": "totvs/tir"}
{"mined_at": "2024-07-15T14:53:26.935324", "created_at": "2023-09-28T16:34:20+02:00", "updated_at": "2023-09-28T17:03:53+02:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": "name: Pylint\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pylint\n    - name: Analysing the code with pylint\n      run: |\n        pylint $(git ls-files '*.py') --disable=all --enable=E0001, E0602, E1101, E1120\n", "state": "active", "repository": "totvs/tir"}
{"mined_at": "2024-07-15T14:53:27.949272", "created_at": "2023-09-27T20:09:56+02:00", "updated_at": "2023-09-27T20:09:56+02:00", "name": "pypi", "path": ".github/workflows/pypi.yml", "contents": "name: pypi\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERS }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python setup.py sdist\n          twine upload dist/* \n", "state": "active", "repository": "totvs/tir"}
{"mined_at": "2024-07-15T14:53:28.944662", "created_at": "2021-12-28T18:25:46+01:00", "updated_at": "2021-12-28T18:25:46+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "totvs/tir"}
{"mined_at": "2024-07-15T14:53:32.154046", "created_at": "2021-08-24T16:16:38+02:00", "updated_at": "2021-08-24T16:16:38+02:00", "name": "Build wheel", "path": ".github/workflows/build-wheel.yml", "contents": "\nname: Build wheel\n\non: [workflow_dispatch]\n\njobs:\n  build:\n    name: Build wheel\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n    - name: Build bdist_wheel\n      run: python setup.py bdist_wheel\n    - uses: actions/upload-artifact@v3\n      with:\n        path: dist/*.whl\n", "state": "active", "repository": "open-eo/openeo-python-client"}
{"mined_at": "2024-07-15T14:53:33.170075", "created_at": "2023-01-19T13:32:15+01:00", "updated_at": "2023-01-19T13:32:15+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "\nname: Lint\non:\n  push:\n    paths:\n      - '**.py'\n  pull_request:\n    paths:\n      - '**.py'\nconcurrency: ci-${{ github.ref }}\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n", "state": "active", "repository": "open-eo/openeo-python-client"}
{"mined_at": "2024-07-15T14:53:34.184057", "created_at": "2021-07-12T22:20:16+02:00", "updated_at": "2021-07-12T22:20:16+02:00", "name": "Sphinx Documentation to GitHub Pages", "path": ".github/workflows/sphinx2ghpages.yml", "contents": "# Based on https://github.com/soxofaan/github-actions-sphinx2ghpages\n\nname: Sphinx Documentation to GitHub Pages\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'docs/**'\n      - 'openeo/**'\n\nconcurrency:\n  group: docs-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n\n    - name: Install package and documentation dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install .[docs]\n\n    - name: Sphinx build\n      run: python -m sphinx -b html docs build\n\n    - name: Commit documentation in gh-pages branch\n      run: |\n        cd build\n        git init -b gh-pages\n        touch .nojekyll\n        git config --local user.name \"GitHub Actions Bot\"\n        git config --local user.email \"actions@github.com\"\n        git add .\n        git commit -m \"Update documentation\"\n\n    - name: Push gh-pages branch\n      run: |\n        cd build\n        git push --force \"https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}\" gh-pages\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "open-eo/openeo-python-client"}
{"mined_at": "2024-07-15T14:53:35.273769", "created_at": "2023-01-19T13:32:15+01:00", "updated_at": "2023-01-19T13:32:15+01:00", "name": "Unit tests", "path": ".github/workflows/unittests.yml", "contents": "\nname: Unit tests\non:\n  push:\n    paths:\n      - 'setup.py'\n      - 'pyproject.toml'\n      - 'openeo/**'\n      - 'tests/**'\n  pull_request:\n    paths:\n      - 'setup.py'\n      - 'pyproject.toml'\n      - 'openeo/**'\n      - 'tests/**'\nconcurrency: ci-${{ github.ref }}\njobs:\n  build:\n    strategy:\n      matrix:\n        # Basic configurations to run on\n        os: [\"ubuntu-latest\"]\n        python-version:\n          - \"3.7\"\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        # Additional special cases (see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-adding-configurations)\n        include:\n          - os: \"windows-latest\"\n            python-version: \"3.11\"\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install .[dev]\n    - name: Test with pytest\n      run: pytest\n", "state": "active", "repository": "open-eo/openeo-python-client"}
{"mined_at": "2024-07-15T14:53:36.481869", "created_at": "2022-01-04T11:23:48+01:00", "updated_at": "2022-01-04T11:23:48+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "open-eo/openeo-python-client"}
{"mined_at": "2024-07-15T14:53:41.044139", "created_at": "2021-01-28T10:03:52+01:00", "updated_at": "2021-01-28T10:03:52+01:00", "name": "Build, Test & Deploy", "path": ".github/workflows/ci.yml", "contents": "name: Build, Test & Deploy\n\n\"on\":\n  pull_request:\n  push:\n    branches:\n      - master\n    tags:\n      - \"v*\"\n  workflow_dispatch:\n    inputs:\n      pytest_addopts:\n        description:\n          Extra options for pytest; use -vv for full details; see\n          https://docs.pytest.org/en/latest/example/simple.html#how-to-change-command-line-options-defaults\n        required: false\n\nenv:\n  LANG: \"en_US.utf-8\"\n  LC_ALL: \"en_US.utf-8\"\n  PIP_CACHE_DIR: ${{ github.workspace }}/.cache.~/pip\n  PIPX_HOME: ${{ github.workspace }}/.cache.~/pipx\n  POETRY_CACHE_DIR: ${{ github.workspace }}/.cache.~/pypoetry\n  POETRY_VIRTUALENVS_IN_PROJECT: \"true\"\n  PYTEST_ADDOPTS: ${{ github.event.inputs.pytest_addopts }}\n  PYTHONIOENCODING: \"UTF-8\"\n\njobs:\n  build-test:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python:\n          - 3.9\n    steps:\n      # Prepare environment\n      - uses: actions/checkout@v4\n      # Set up and run tests\n      - name: Install python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Generate cache key CACHE\n        run:\n          echo \"CACHE=${{ secrets.CACHE_DATE }} ${{ runner.os }} $(python -VV |\n          sha256sum | cut -d' ' -f1) ${{ hashFiles('pyproject.toml') }} ${{\n          hashFiles('poetry.lock') }}\" >> $GITHUB_ENV\n      - uses: actions/cache@v3\n        with:\n          path: |\n            .cache.~\n            .venv\n            ~/.local/bin\n          key: venv ${{ env.CACHE }}\n      - run: pip install poetry\n      - name: Patch $PATH\n        run: echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n      # override pyyaml to 5.3.1 as PIP_CONSTRAINT does not work for poetry\n      # to get rid of AttributeError: cython_sources when installing pyyaml\n      - run: poetry add pyyaml==5.3.1\n      - run: poetry run python -m pip install --upgrade pip\n      - run: poetry install\n      # Run tests\n      - run: poetry run pytest --prebuild\n  build-push:\n    runs-on: ubuntu-20.04\n    services:\n      registry:\n        image: registry:2\n        ports:\n          - 5000:5000\n    env:\n      DOCKER_IMAGE_NAME: ${{ github.repository }}\n      PUSH: ${{ toJSON(github.event_name != 'pull_request') }}\n    strategy:\n      matrix:\n        target:\n          - base\n          - docker\n          - docker-s3\n          - postgres\n          - postgres-s3\n          - postgres-multi\n          - s3\n    steps:\n      # Set up Docker Environment\n      - uses: actions/checkout@v4\n      - uses: actions/cache@v3\n        with:\n          path: |\n            /tmp/.buildx-cache\n          key: buildx|${{ secrets.CACHE_DATE }}|${{ runner.os }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: network=host\n          install: true\n      # Build and push\n      - name: Compute image name\n        id: image_name_compute\n        run: |\n          if [ \"${{ matrix.target }}\" = \"base\" ]; then\n            echo \"::set-output name=image_name::${{ env.DOCKER_IMAGE_NAME }}\"\n          else\n            echo \"::set-output name=image_name::${{ env.DOCKER_IMAGE_NAME }}-${{ matrix.target }}\"\n          fi\n      - name: Docker meta for local images\n        id: docker_meta_local\n        uses: docker/metadata-action@v5\n        with:\n          images: localhost:5000/${{ steps.image_name_compute.outputs.image_name }}\n          tags: |\n            type=edge\n            type=semver,pattern={{version}},enable=true\n            type=schedule,pattern=nightly,enable=true,priority=1000\n            type=ref,event=branch,enable=true,priority=600\n            type=ref,event=tag,enable=true,priority=600\n            type=ref,event=pr,prefix=pr-,enable=true,priority=600\n      - name: Build and push to local (test) registry\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile\n          platforms: |\n            linux/amd64\n            linux/arm64/v8\n          load: false\n          push: true\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache,mode=max\n          labels: ${{ steps.docker_meta_local.outputs.labels }}\n          tags: ${{ steps.docker_meta_local.outputs.tags }}\n          target: ${{ matrix.target }}\n      # Next jobs only happen outside of pull requests and on main branches\n      - name: Login to GitHub Container Registry\n        if: ${{ fromJSON(env.PUSH) }}\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ secrets.BOT_LOGIN }}\n          password: ${{ secrets.BOT_TOKEN }}\n      - name: Docker meta for public images\n        if: ${{ fromJSON(env.PUSH) }}\n        id: docker_meta_public\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ghcr.io/${{ steps.image_name_compute.outputs.image_name }}\n          tags: |\n            type=edge\n            type=semver,pattern={{version}}\n            type=schedule,pattern=nightly,enable=true,priority=1000\n            type=ref,event=branch,enable=true,priority=600\n            type=ref,event=tag,enable=true,priority=600\n            type=ref,event=pr,prefix=pr-,enable=true,priority=600\n      - name: Build and push to public registry(s)\n        if: ${{ fromJSON(env.PUSH) }}\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile\n          platforms: |\n            linux/amd64\n            linux/arm64/v8\n          load: false\n          push: true\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache,mode=max\n          labels: ${{ steps.docker_meta_public.outputs.labels }}\n          tags: ${{ steps.docker_meta_public.outputs.tags }}\n          target: ${{ matrix.target }}\n", "state": "active", "repository": "tecnativa/docker-duplicity"}
{"mined_at": "2024-07-15T14:53:42.308559", "created_at": "2022-01-12T10:19:02+01:00", "updated_at": "2022-01-12T12:00:07+01:00", "name": "Dependabot auto-merge", "path": ".github/workflows/dependabot-merge.yml", "contents": "name: Dependabot auto-merge\non: pull_request\n\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v2.1.0\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: Enable auto-merge for Dependabot PRs\n        if:\n          ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' ||\n          steps.metadata.outputs.update-type == 'version-update:semver-minor' }}\n        run: gh pr merge --auto --merge \"$PR_URL\"\n        env:\n          PR_URL: ${{ github.event.pull_request.html_url }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "tecnativa/docker-duplicity"}
{"mined_at": "2024-07-15T14:53:43.538983", "created_at": "2021-02-09T13:26:27+01:00", "updated_at": "2021-02-09T13:26:27+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "tecnativa/docker-duplicity"}
{"mined_at": "2024-07-15T14:53:45.688520", "created_at": "2022-07-05T10:02:25+02:00", "updated_at": "2023-03-29T13:37:36+02:00", "name": "Benchmarks", "path": ".github/workflows/benchmark.yml", "contents": "name: Benchmarks\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    - cron: \"23 18 * * *\"\n  workflow_dispatch:\n\njobs:\n  benchmark:\n    runs-on: ubuntu-latest\n    if: github.repository == 'SeldonIO/MLServer' # Do not run this on forks.\n    strategy:\n      matrix:\n        scenario: [\"inference-rest.js\", \"inference-grpc.js\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: false\n      - name: Install Dependencies\n        run: |\n          make install-dev\n      - name: Install k6\n        working-directory: ./benchmarking\n        run: |\n          curl https://github.com/grafana/k6/releases/download/v0.44.1/k6-v0.44.1-linux-amd64.tar.gz -L | tar xvz --strip-components 1\n      - name: Start Test Server & Run Benchmark\n        working-directory: ./benchmarking\n        run: |\n          make start-testserver &\n          sleep 5 && # Wait for test server to come up\n          ./k6 run ./scenarios/${{ matrix.scenario }}\n        env:\n          MLSERVER_HOST: localhost\n          MLSERVER_HTTP_PORT: 8080\n          MLSERVER_GRPC_PORT: 8081\n", "state": "active", "repository": "seldonio/mlserver"}
{"mined_at": "2024-07-15T14:53:46.920857", "created_at": "2023-04-18T16:57:52+02:00", "updated_at": "2023-04-18T16:57:52+02:00", "name": "Licenses", "path": ".github/workflows/licenses.yml", "contents": "name: Licenses\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    - cron: \"23 18 * * *\"\n  workflow_dispatch:\n\njobs:\n  licenses:\n    runs-on: ubuntu-latest\n    if: github.repository == 'SeldonIO/MLServer' # Do not run this on forks.\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: false\n      - name: Install Dependencies\n        run: |\n          poetry install --sync --only dev\n      - name: Generate Licenses\n        run: |\n          make licenses\n          git \\\n            --no-pager diff \\\n            --exit-code \\\n            ./licenses/license_info.no_versions.csv\n      - name: Open PR with License Changes\n        if: ${{ failure() }}\n        uses: peter-evans/create-pull-request@v6\n        with:\n          add-paths: ./licenses\n          commit-message: Re-generate license info\n          branch: licenses/license-change\n          branch-suffix: timestamp\n          delete-branch: true\n          title: Re-generate License Info\n          body: \"\n            # License Change Detected :warning:\\n\n            Most likely, this has been triggered due to a licensing change in\n            one of our subdependencies, or the introduction of a new\n            subdependency.\n            This automated PR will re-generate the licenses to keep them up to\n            date.\"\n          reviewers: \"SeldonIO/mlops\"\n", "state": "active", "repository": "seldonio/mlserver"}
{"mined_at": "2024-07-15T14:53:48.044059", "created_at": "2023-03-24T17:08:01+01:00", "updated_at": "2023-03-24T17:08:01+01:00", "name": "Publish Version", "path": ".github/workflows/publish.yml", "contents": "# This GH Action is triggered when a release is 'published' in GitHub.\n# Once that happens, it will re-generate the Changelog (from the GH tag), and\n# update the tag so that it gets picked up by ReadTheDocs.\nname: Publish Version\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  # NOTE: We need to update the CHANGELOG on both the `release/*` and `master`\n  # branches to ensure they are in sync.\n  changelog-release-branch:\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name == 'release' }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: rhysd/changelog-from-release/action@v3\n        with:\n          file: CHANGELOG.md\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          commit: false\n          args: -d=false -l=2\n          header: \"# Changelog\\n\"\n      - name: Commiting & Pushing Updated Changelog\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: Update CHANGELOG.md for ${{ github.event.release.tag_name }}\n          tagging_message: ${{ github.event.release.tag_name }}\n          # NOTE: The tag will already exist (created by the release pipeline),\n          # so we'll need to override it to ensure the tag contains the right\n          # changelog.\n          push_options: \"--force\"\n      - name: Tagging release as stable\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: Update CHANGELOG.md for ${{ github.event.release.tag_name }}\n          tagging_message: stable\n          # NOTE: The tag will already exist (created by previous releases), so\n          # we'll need to override it to ensure it points to the latest\n          # published release.\n          push_options: \"--force\"\n\n  changelog-master-branch:\n    runs-on: ubuntu-latest\n    steps:\n      # TODO: Open a PR instead of pushing straight to `master`?\n      - uses: actions/checkout@v4\n        with:\n          ref: master\n      - uses: rhysd/changelog-from-release/action@v3\n        with:\n          file: CHANGELOG.md\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          commit: false\n          args: -d=false -l=2\n          header: \"# Changelog\\n\\n\"\n      - name: Open PR with Changelog changes\n        uses: peter-evans/create-pull-request@v6\n        with:\n          add-paths: ./CHANGELOG.md\n          commit-message: Update Changelog\n          branch: update-changelog\n          branch-suffix: timestamp\n          delete-branch: true\n          title: Update CHANGELOG\n          body: \"\n            # Updated CHANGELOG\\n\n            This automated PR re-generates the changelog to keep it up to\n            date.\"\n          reviewers: \"SeldonIO/mlops\"\n", "state": "active", "repository": "seldonio/mlserver"}
{"mined_at": "2024-07-15T14:53:49.165393", "created_at": "2022-12-12T17:01:15+01:00", "updated_at": "2023-03-29T13:37:36+02:00", "name": "Release (SC)", "path": ".github/workflows/release-sc.yml", "contents": "name: Release (SC)\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"MLServer Version (SC) to Release\"\n        required: true\njobs:\n  draft-release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Update Version\n        run: |\n          ./hack/update-version.sh ${{ github.event.inputs.version }}\n      - name: Commiting & Pushing Updated Version Tag\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: Bump version to ${{ github.event.inputs.version }}\n          tagging_message: ${{ github.event.inputs.version }}\n      - name: Draft Release\n        # TODO: Use a version value, when available [1]\n        #\n        # [1] https://github.com/softprops/action-gh-release/issues/410\n        uses: softprops/action-gh-release@4634c16e79c963813287e889244c50009e7f0981\n        with:\n          generate_release_notes: false\n          draft: true\n          tag_name: ${{ github.event.inputs.version }}\n\n  mlserver-sc:\n    needs: draft-release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Maximize build space\n        uses: easimon/maximize-build-space@master\n        with:\n          remove-dotnet: 'true'\n          remove-haskell: 'true'\n          remove-android: 'true'\n          remove-codeql: 'true'\n          remove-docker-images: 'true'\n          overprovision-lvm: 'true'\n          swap-size-mb: 1024\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.version }}\n      - name: Build Docker Image\n        run: |\n          DOCKER_BUILDKIT=1 docker build . \\\n            --build-arg RUNTIMES=all \\\n            -t $MLSERVER_IMAGE\n        env:\n          MLSERVER_IMAGE: seldonio/mlserver-sc:${{ github.event.inputs.version }}\n      - name: Scan Docker Image\n        uses: snyk/actions/docker@master\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          image: seldonio/mlserver-sc:${{ github.event.inputs.version }}\n          args: --fail-on=upgradable\n            --app-vulns\n            --severity-threshold=high\n            --file=Dockerfile\n            --policy-path=.snyk\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Push to DockerHub\n        run: |\n          docker push $MLSERVER_IMAGE\n        env:\n          MLSERVER_IMAGE: seldonio/mlserver-sc:${{ github.event.inputs.version }}\n      - name: Login to Quay.io\n        uses: docker/login-action@v3\n        with:\n          registry: quay.io\n          username: ${{ secrets.SC_QUAY_USERNAME }}\n          password: ${{ secrets.SC_QUAY_PASSWORD }}\n      - name: Push to Quay.io\n        run: |\n          docker tag $MLSERVER_IMAGE $QUAY_MLSERVER_IMAGE\n          docker push $QUAY_MLSERVER_IMAGE\n        env:\n          MLSERVER_IMAGE: seldonio/mlserver-sc:${{ github.event.inputs.version }}\n          QUAY_MLSERVER_IMAGE: quay.io/redhat-isv-containers/635670d3624969b495b6936f:${{ github.event.inputs.version }}\n      - name: Install preflight\n        run: |\n          wget https://github.com/redhat-openshift-ecosystem/openshift-preflight/releases/download/$PREFLIGHT_VERSION/preflight-linux-amd64\n          chmod u+x preflight-linux-amd64\n          sudo mv preflight-linux-amd64 /usr/local/bin/preflight\n          preflight --version\n        env:\n          PREFLIGHT_VERSION: 1.9.7\n      - name: Submit preflight results\n        run: |\n          preflight check container \\\n            $QUAY_MLSERVER_IMAGE \\\n            --docker-config=${HOME}/.docker/config.json \\\n            --certification-project-id=$PROJECT_ID \\\n            --pyxis-api-token=$PYXIS_API_TOKEN \\\n            --artifacts ./artifacts/mlserver \\\n            --submit\n        env:\n          PYXIS_API_TOKEN: ${{ secrets.PYXIS_API_TOKEN }}\n          PROJECT_ID: 635670d3624969b495b6936f\n          QUAY_MLSERVER_IMAGE: quay.io/redhat-isv-containers/635670d3624969b495b6936f:${{ github.event.inputs.version }}\n\n  mlserver-sc-slim:\n    needs: draft-release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.version }}\n      - name: Build Docker Image\n        run: |\n          DOCKER_BUILDKIT=1 docker build . \\\n            --build-arg RUNTIMES=\"\" \\\n            -t $MLSERVER_IMAGE\n        env:\n          MLSERVER_IMAGE: seldonio/mlserver-sc-slim:${{ github.event.inputs.version }}\n      - name: Scan Docker Image\n        uses: snyk/actions/docker@master\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          image: seldonio/mlserver-sc-slim:${{ github.event.inputs.version }}\n          args: --fail-on=upgradable\n            --app-vulns\n            --severity-threshold=high\n            --file=Dockerfile\n            --policy-path=.snyk\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Push to DockerHub\n        run: |\n          docker push $MLSERVER_IMAGE\n        env:\n          MLSERVER_IMAGE: seldonio/mlserver-sc-slim:${{ github.event.inputs.version }}\n      - name: Login to Quay.io\n        uses: docker/login-action@v3\n        with:\n          registry: quay.io\n          username: ${{ secrets.SC_QUAY_USERNAME_SLIM }}\n          password: ${{ secrets.SC_QUAY_PASSWORD_SLIM }}\n      - name: Push to Quay.io\n        run: |\n          docker tag $MLSERVER_IMAGE $QUAY_MLSERVER_IMAGE\n          docker push $QUAY_MLSERVER_IMAGE\n        env:\n          MLSERVER_IMAGE: seldonio/mlserver-sc-slim:${{ github.event.inputs.version }}\n          QUAY_MLSERVER_IMAGE: quay.io/redhat-isv-containers/63567143624969b495b69370:${{ github.event.inputs.version }}\n      - name: Install preflight\n        run: |\n          wget https://github.com/redhat-openshift-ecosystem/openshift-preflight/releases/download/$PREFLIGHT_VERSION/preflight-linux-amd64\n          chmod u+x preflight-linux-amd64\n          sudo mv preflight-linux-amd64 /usr/local/bin/preflight\n          preflight --version\n        env:\n          PREFLIGHT_VERSION: 1.9.7\n      - name: Submit preflight results\n        run: |\n          preflight check container \\\n            $QUAY_MLSERVER_IMAGE \\\n            --docker-config=${HOME}/.docker/config.json \\\n            --certification-project-id=$PROJECT_ID \\\n            --pyxis-api-token=$PYXIS_API_TOKEN \\\n            --artifacts ./artifacts/mlserver \\\n            --submit\n        env:\n          PYXIS_API_TOKEN: ${{ secrets.PYXIS_API_TOKEN }}\n          PROJECT_ID: 63567143624969b495b69370\n          QUAY_MLSERVER_IMAGE: quay.io/redhat-isv-containers/63567143624969b495b69370:${{ github.event.inputs.version }}\n", "state": "active", "repository": "seldonio/mlserver"}
{"mined_at": "2024-07-15T14:53:50.176410", "created_at": "2022-08-01T15:49:48+02:00", "updated_at": "2023-03-29T13:37:36+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"MLServer Version to Release\"\n        required: true\n\nenv:\n  MLSERVER_IMAGE: seldonio/mlserver:${{ github.event.inputs.version }}\n  QUAY_MLSERVER_IMAGE: quay.io/redhat-isv-containers/63566bb9822ce8cef9ba27fc:${{ github.event.inputs.version }}\n\njobs:\n  draft-release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Update Version\n        run: |\n          ./hack/update-version.sh ${{ github.event.inputs.version }}\n      - name: Commiting & Pushing Updated Version Tag\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: Bump version to ${{ github.event.inputs.version }}\n          tagging_message: ${{ github.event.inputs.version }}\n      - name: Draft Release\n        # TODO: Use a version value, when available [1]\n        #\n        # [1] https://github.com/softprops/action-gh-release/issues/410\n        uses: softprops/action-gh-release@4634c16e79c963813287e889244c50009e7f0981\n        with:\n          generate_release_notes: true\n          draft: true\n          tag_name: ${{ github.event.inputs.version }}\n\n  mlserver-image-build:\n    needs: draft-release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Maximize build space\n        uses: easimon/maximize-build-space@master\n        with:\n          remove-dotnet: 'true'\n          remove-haskell: 'true'\n          remove-android: 'true'\n          remove-codeql: 'true'\n          remove-docker-images: 'true'\n          overprovision-lvm: 'true'\n          swap-size-mb: 1024\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.version }}\n      - name: Build Docker Image\n        run: |\n          DOCKER_BUILDKIT=1 docker build . \\\n            --build-arg RUNTIMES=all \\\n            -t $MLSERVER_IMAGE\n      - name: Scan Docker Image\n        uses: snyk/actions/docker@master\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          image: $MLSERVER_IMAGE\n          args: --fail-on=upgradable\n            --app-vulns\n            --severity-threshold=high\n            --file=Dockerfile\n            --policy-path=.snyk\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Push to DockerHub\n        run: |\n          docker push $MLSERVER_IMAGE\n      - name: Login to Quay.io\n        uses: docker/login-action@v3\n        with:\n          registry: quay.io\n          username: ${{ secrets.QUAY_USERNAME }}\n          password: ${{ secrets.QUAY_PASSWORD }}\n      - name: Push to Quay.io\n        run: |\n          docker tag $MLSERVER_IMAGE $QUAY_MLSERVER_IMAGE\n          docker push $QUAY_MLSERVER_IMAGE\n      - name: Install preflight\n        run: |\n          wget https://github.com/redhat-openshift-ecosystem/openshift-preflight/releases/download/$PREFLIGHT_VERSION/preflight-linux-amd64\n          chmod u+x preflight-linux-amd64\n          sudo mv preflight-linux-amd64 /usr/local/bin/preflight\n          preflight --version\n        env:\n          PREFLIGHT_VERSION: 1.9.7\n      - name: Submit preflight results\n        run: |\n          preflight check container \\\n            $QUAY_MLSERVER_IMAGE \\\n            --docker-config=${HOME}/.docker/config.json \\\n            --certification-project-id=$PROJECT_ID \\\n            --pyxis-api-token=$PYXIS_API_TOKEN \\\n            --artifacts ./artifacts/mlserver-slim \\\n            --submit\n        env:\n          PYXIS_API_TOKEN: ${{ secrets.PYXIS_API_TOKEN }}\n          PROJECT_ID: 63566bb9822ce8cef9ba27fc\n\n  mlserver-slim-image-build:\n    needs: draft-release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Maximize build space\n        uses: easimon/maximize-build-space@master\n        with:\n          remove-dotnet: 'true'\n          remove-haskell: 'true'\n          remove-android: 'true'\n          remove-codeql: 'true'\n          remove-docker-images: 'true'\n          overprovision-lvm: 'true'\n          swap-size-mb: 1024\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.version }}\n      - name: Build Docker Image\n        run: |\n          DOCKER_BUILDKIT=1 docker build . \\\n            --build-arg RUNTIMES=\"\" \\\n            -t $MLSERVER_IMAGE-slim\n      - name: Scan Docker Image\n        uses: snyk/actions/docker@master\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          image: $MLSERVER_IMAGE-slim\n          args: --fail-on=upgradable\n            --app-vulns\n            --severity-threshold=high\n            --file=Dockerfile\n            --policy-path=.snyk\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Push to DockerHub\n        run: |\n          docker push $MLSERVER_IMAGE-slim\n      - name: Login to Quay.io\n        uses: docker/login-action@v3\n        with:\n          registry: quay.io\n          username: ${{ secrets.QUAY_USERNAME }}\n          password: ${{ secrets.QUAY_PASSWORD }}\n      - name: Push to Quay.io\n        run: |\n          docker tag $MLSERVER_IMAGE-slim $QUAY_MLSERVER_IMAGE-slim\n          docker push $QUAY_MLSERVER_IMAGE-slim\n      - name: Install preflight\n        run: |\n          wget https://github.com/redhat-openshift-ecosystem/openshift-preflight/releases/download/$PREFLIGHT_VERSION/preflight-linux-amd64\n          chmod u+x preflight-linux-amd64\n          sudo mv preflight-linux-amd64 /usr/local/bin/preflight\n          preflight --version\n        env:\n          PREFLIGHT_VERSION: 1.9.7\n      - name: Submit preflight results\n        run: |\n          preflight check container \\\n            $QUAY_MLSERVER_IMAGE-slim \\\n            --docker-config=${HOME}/.docker/config.json \\\n            --certification-project-id=$PROJECT_ID \\\n            --pyxis-api-token=$PYXIS_API_TOKEN \\\n            --artifacts ./artifacts/mlserver \\\n            --submit\n        env:\n          PYXIS_API_TOKEN: ${{ secrets.PYXIS_API_TOKEN }}\n          PROJECT_ID: 63566bb9822ce8cef9ba27fc\n          \n  mlserver-pypi-publish:\n    needs: draft-release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.version }}\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: false\n      - name: Build Python wheel\n        run: |\n          poetry build\n          poetry publish --skip-existing\n        env:\n          POETRY_HTTP_BASIC_PYPI_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n      \n  runtimes:\n    needs: draft-release\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        runtime:\n          - alibi-detect\n          - alibi-explain\n          - huggingface\n          - lightgbm\n          - mlflow\n          - mllib\n          - sklearn\n          - xgboost\n    steps:\n      - name: Maximize build space\n        uses: easimon/maximize-build-space@master\n        with:\n          remove-dotnet: 'true'\n          remove-haskell: 'true'\n          remove-android: 'true'\n          remove-codeql: 'true'\n          remove-docker-images: 'true'\n          overprovision-lvm: 'true'\n          swap-size-mb: 1024\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.version }}\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: false\n      - name: Build Python wheel\n        working-directory: ./runtimes/${{ matrix.runtime }}\n        run: |\n          poetry build\n          poetry publish --skip-existing\n        env:\n          POETRY_HTTP_BASIC_PYPI_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n      - name: Build Docker Image\n        run: |\n          DOCKER_BUILDKIT=1 docker build . \\\n            --build-arg RUNTIMES=mlserver-${{ matrix.runtime }} \\\n            -t $MLSERVER_IMAGE-${{ matrix.runtime }}\n      - name: Scan Docker Image\n        uses: snyk/actions/docker@master\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          image: $MLSERVER_IMAGE-${{ matrix.runtime }}\n          args: --fail-on=upgradable\n            --app-vulns\n            --severity-threshold=high\n            --file=Dockerfile\n            --policy-path=.snyk\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Push to DockerHub\n        run: |\n          docker push $MLSERVER_IMAGE-${{ matrix.runtime }}\n      - name: Login to Quay.io\n        uses: docker/login-action@v3\n        with:\n          registry: quay.io\n          username: ${{ secrets.QUAY_USERNAME }}\n          password: ${{ secrets.QUAY_PASSWORD }}\n      - name: Push to Quay.io\n        run: |\n          docker tag $MLSERVER_IMAGE-${{ matrix.runtime }} $QUAY_MLSERVER_IMAGE-${{ matrix.runtime }}\n          docker push $QUAY_MLSERVER_IMAGE-${{ matrix.runtime }}\n      - name: Install preflight\n        run: |\n          wget https://github.com/redhat-openshift-ecosystem/openshift-preflight/releases/download/$PREFLIGHT_VERSION/preflight-linux-amd64\n          chmod u+x preflight-linux-amd64\n          sudo mv preflight-linux-amd64 /usr/local/bin/preflight\n          preflight --version\n        env:\n          PREFLIGHT_VERSION: 1.9.7\n      - name: Submit preflight results\n        run: |\n          preflight check container \\\n            $QUAY_MLSERVER_IMAGE-${{ matrix.runtime }} \\\n            --docker-config=${HOME}/.docker/config.json \\\n            --certification-project-id=$PROJECT_ID \\\n            --pyxis-api-token=$PYXIS_API_TOKEN \\\n            --artifacts ./artifacts/mlserver-${{ matrix.runtime }} \\\n            --submit\n        env:\n          PYXIS_API_TOKEN: ${{ secrets.PYXIS_API_TOKEN }}\n          PROJECT_ID: 63566bb9822ce8cef9ba27fc\n", "state": "active", "repository": "seldonio/mlserver"}
{"mined_at": "2024-07-15T14:53:51.215436", "created_at": "2023-01-25T18:19:20+01:00", "updated_at": "2023-06-06T11:22:42+02:00", "name": "Security Scan", "path": ".github/workflows/security.yml", "contents": "name: Security Scan\n\non:\n  push:\n    branches:\n      - master\n      - release/*\n  schedule:\n    - cron: \"23 18 * * *\"\n  workflow_dispatch:\n\njobs:\n  scan-code:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Security Scan\n        uses: snyk/actions/python-3.10@master\n        with:\n          args: --fail-on=upgradable\n            --severity-threshold=high\n            --all-projects\n            --exclude=tests,docs\n            --sarif-file-output=snyk-code.sarif\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n      - name: Upload result to GitHub Code Scanning\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: snyk-code.sarif\n\n  static-code-analysis:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Static Code Analysis Scan\n        uses: snyk/actions/python-3.10@master\n        with:\n          command: code test\n          args: --fail-on=upgradable\n            --severity-threshold=high\n            --all-projects\n            --exclude=tests,docs\n            --sarif-file-output=snyk-sat.sarif\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n      - name: Upload result to GitHub Code Scanning\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: snyk-sat.sarif\n\n  scan-image:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Maximize build space\n        uses: easimon/maximize-build-space@master\n        with:\n          remove-dotnet: 'true'\n          remove-haskell: 'true'\n          remove-android: 'true'\n          remove-codeql: 'true'\n          remove-docker-images: 'true'\n          overprovision-lvm: 'true'\n          swap-size-mb: 1024\n      - uses: actions/checkout@v4\n      - name: Build Docker Image\n        run: |\n          DOCKER_BUILDKIT=1 docker build . \\\n            --build-arg RUNTIMES=all \\\n            -t $MLSERVER_IMAGE\n        env:\n          MLSERVER_IMAGE: seldonio/mlserver:${{ github.sha }}\n      - name: Scan Docker Image\n        uses: snyk/actions/docker@master\n        with:\n          image: seldonio/mlserver:${{ github.sha }}\n          args: --fail-on=upgradable\n            --severity-threshold=high\n            --app-vulns\n            --file=Dockerfile\n            --policy-path=.snyk\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n      - name: Upload result to GitHub Code Scanning\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: snyk.sarif\n", "state": "active", "repository": "seldonio/mlserver"}
{"mined_at": "2024-07-15T14:53:52.344262", "created_at": "2021-02-16T16:55:48+01:00", "updated_at": "2023-05-24T14:30:41+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - master\n      - release/*\n  pull_request:\n    branches: [master]\n\njobs:\n  generate:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n        target: [\"dataplane\", \"model-repository\"]\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: false\n      - name: Install dependencies\n        run: poetry install --sync --only dev\n      - name: Generate ${{ matrix.target }}\n        run: make generate-${{ matrix.target }}\n      - name: Check for changes\n        run: make lint-no-changes\n\n  lint:\n    strategy:\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: false\n      - name: Install dependencies\n        run: poetry install --sync --only dev\n      - name: Lint\n        run: make lint\n\n  test-mlserver:\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-22.04\n          - macos-13\n        # NOTE: There's no pre-built `grpcio` wheel for Python 3.11 yet\n        # https://github.com/grpc/grpc/issues/32454\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n        is-pr:\n          - ${{ github.event_name == 'pull_request' }}\n        exclude:\n          # MacOS tests take a lot of time, so we will run them only on merge\n          # From https://github.com/orgs/community/discussions/26253\n          - is-pr: true\n            os: macos-13\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Docker (missing on MacOS)\n        if: runner.os == 'macos'\n        run: ./hack/install-docker-macos.sh\n      - name: Install OpenMP (in MacOS)\n        if: runner.os == 'macOS'\n        run: brew install libomp\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          auto-activate-base: false\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: false\n      - name: Install dependencies\n        run: poetry install --only test\n      - name: Test\n        run: |\n          if [[ ${{ runner.os == 'macOS' }} ]]; then\n            source ./hack/activate-libomp-macos.sh\n          fi\n          poetry run tox -e mlserver\n\n  test-runtimes:\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-22.04\n          - macos-13\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n        tox-environment:\n          - sklearn\n          - xgboost\n          - lightgbm\n          - mlflow\n          - huggingface\n          - alibi-explain\n          - alibi-detect\n          - catboost\n        is-pr:\n          - ${{ github.event_name == 'pull_request' }}\n        exclude:\n          # MacOS tests take a lot of time, so we will run them only on merge\n          # From https://github.com/orgs/community/discussions/26253\n          - is-pr: true\n            os: macos-13\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install OpenMP (in MacOS)\n        if: runner.os == 'macOS'\n        run: brew install libomp\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          auto-activate-base: false\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: false\n      - name: Install dependencies\n        run: poetry install --only test\n      - name: Test\n        run: |\n          if [[ ${{ runner.os == 'macOS' }} ]]; then\n            source ./hack/activate-libomp-macos.sh\n          fi\n          poetry run tox -c ./runtimes/${{ matrix.tox-environment }}\n\n  # Ensure that having all the runtimes installed together works\n  test-all-runtimes:\n    if: github.event_name == 'push'\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-22.04\n          - macos-12\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Maximize build space\n        if: runner.os == 'Linux'\n        uses: easimon/maximize-build-space@master\n        with:\n          remove-dotnet: 'true'\n          remove-haskell: 'true'\n          remove-android: 'true'\n          remove-codeql: 'true'\n          remove-docker-images: 'true'\n          overprovision-lvm: 'true'\n          swap-size-mb: 1024\n      - uses: actions/checkout@v4\n      - name: Setup Docker (missing on MacOS)\n        if: runner.os == 'macOS'\n        run: ./hack/install-docker-macos.sh\n      - name: Downgrade OpenMP (in MacOS)\n        if: runner.os == 'macos'\n        run: |\n          # Recent versions of OpenMP cause segfaults in MacOS when training\n          # LightGBM / XGBoost models (but only when Torch is present)\n          # https://github.com/microsoft/LightGBM/issues/4229\n          # https://github.com/autogluon/autogluon/issues/1442\n          wget https://raw.githubusercontent.com/chenrui333/homebrew-core/0094d1513ce9e2e85e07443b8b5930ad298aad91/Formula/libomp.rb\n          brew unlink libomp\n          brew install --build-from-source ./libomp.rb\n          brew list --version libomp\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          auto-activate-base: false\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: false\n      - name: Install dependencies\n        run: poetry install --only test\n      - name: Test\n        run: |\n          if [[ ${{ runner.os == 'macOS' }} ]]; then\n            source ./hack/activate-libomp-macos.sh\n          fi\n          poetry run tox -e all-runtimes\n", "state": "active", "repository": "seldonio/mlserver"}
{"mined_at": "2024-07-15T14:53:54.597090", "created_at": "2021-03-19T15:34:05+01:00", "updated_at": "2021-03-19T15:34:05+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install linux dependencies\n      run: |\n        sudo apt-get install libsndfile1\n    - name: Install python dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        pip install flake8 pytest pytest-cov codecov\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        pip install numpy scipy Cython\n        pip install --editable .[all]\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        #flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        #flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pytest -v \"tests/\" \"padertorch/\"\n    - name: Codecov\n      run: |\n        codecov\n", "state": "active", "repository": "fgnt/padertorch"}
{"mined_at": "2024-07-15T14:53:56.733191", "created_at": "2020-11-10T13:06:35+01:00", "updated_at": "2023-09-21T19:55:41+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [push]\njobs:\n  python-tests:\n    runs-on: ubuntu-20.04\n\n    services:\n      # Label used to access the service container\n      db:\n        # Docker Hub image\n        image: postgres:12.7\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n      \n      redis:\n        image: redis:5.0.8\n        ports:\n          - 6379:6379\n\n      opensearch:\n        image: opensearchproject/opensearch:1.2.4\n        env:\n          network.host: \"0.0.0.0\"\n          http.cors.enabled: \"true\"\n          http.cors.allow-origin: \"*\"\n          rest.action.multi.allow_explicit_index: \"false\"\n          ES_JAVA_OPTS: -Xms512m -Xmx512m\"\n        ports:\n          - 9200:9200\n  \n    strategy:\n      matrix:\n        opensearch-version: [1.2]\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Apt install\n        run: cat Aptfile | sudo xargs apt-get install\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.9.1\"\n\n      - id: cache\n        uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '**/test_reqirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install dependencies\n        run: pip install -r requirements.txt -r test_requirements.txt\n\n      - name: Lint\n        run: pylint ./**/*.py\n\n      # You must also add the Configure sysctl limits step, otherwise Opensearch will not be able to boot.\n      - name: Configure sysctl limits\n        run: |\n          sudo swapoff -a\n          sudo sysctl -w vm.swappiness=1\n          sudo sysctl -w fs.file-max=262144\n          sudo sysctl -w vm.max_map_count=262144\n\n      - name: Runs Opensearch\n        uses: ankane/setup-opensearch@v1\n        with:\n          opensearch-version: ${{ matrix.opensearch-version }}\n\n      - name: Tests\n        run: |\n          export MEDIA_ROOT=\"$(mktemp -d)\"\n          sudo mkdir /var/media \n          sudo chown -R $USER:$USER /var/media\n          tox\n        env:\n          DEBUG: 'False'\n          NODE_ENV: 'production'\n          DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres\n          MICROMASTERS_SECURE_SSL_REDIRECT: 'False'\n          MICROMASTERS_DB_DISABLE_SSL: 'True'\n          OPENSEARCH_URL: localhost:9200\n          CELERY_TASK_ALWAYS_EAGER: 'True'\n          BROKER_URL: redis://localhost:6379/4\n          CELERY_RESULT_BACKEND: redis://localhost:6379/4\n\n      - name: Upload coverage to CodeCov\n        uses: codecov/codecov-action@v1\n        with:\n          file: ./coverage.xml\n  \n  javascript-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up NodeJS\n        uses: actions/setup-node@v2-beta\n        with:\n          node-version: \"14.18.2\"\n\n      - name: Set up environment\n        run: sudo apt-get install libelf1\n\n      - name: Get yarn cache directory path\n        id: yarn-cache-dir-path\n        run: echo \"::set-output name=dir::$(yarn config get cacheFolder)\"\n\n      - uses: actions/cache@v1\n        id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)\n        with:\n          path: ${{ steps.yarn-cache-dir-path.outputs.dir }}\n          key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-yarn-\n\n      - name: Install dependencies\n        run: yarn install --immutable\n\n      - name: Lints\n        run: npm run lint\n\n      - name: Code formatting\n        run: npm run fmt:check\n\n      - name: Scss lint\n        run: npm run scss_lint\n\n      - name: Flow\n        run: npm run flow\n\n      - name: Tests\n        run: npm run test\n        env:\n          CODECOV: true\n          NODE_ENV: development\n\n      - name: Webpack build\n        run: node node_modules/webpack/bin/webpack.js --config webpack.config.prod.js --bail\n\n      - name: Upload coverage to CodeCov\n        uses: codecov/codecov-action@v1\n        with:\n          file: coverage/lcov.info\n\n  selenium-tests:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Selenium\n        run: |\n          cp .env.example .env\n          docker build -t micromasters_watch -f ./Dockerfile-node .\n          docker build -t travis-watch -f ./travis/Dockerfile-travis-watch .\n          docker run --name travis-watch-container --env-file .env -e NODE_ENV=production -t travis-watch ./webpack_if_prod.sh\n          docker cp travis-watch-container:/src/webpack-stats.json .\n          docker cp travis-watch-container:/src/static/bundles ./static/bundles\n          ./scripts/test/run_selenium_tests_travis.sh\n", "state": "active", "repository": "mitodl/micromasters"}
{"mined_at": "2024-07-15T14:53:57.862928", "created_at": "2022-05-12T20:21:39+02:00", "updated_at": "2024-01-09T17:19:35+01:00", "name": "Production Deploy", "path": ".github/workflows/production.yml", "contents": "name: Production Deploy\n\non:\n  workflow_run:\n    workflows: [CI]\n    types: [completed]\n    branches: [release]\n  workflow_dispatch: # manual trigger\n\njobs:\n  # runs if CI workflow was successful OR if this was manually triggered\n  on-success:\n    runs-on: ubuntu-latest\n    if: >\n      github.event_name == 'workflow_dispatch' ||\n      github.event.workflow_run.conclusion == 'success'\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: release\n      - uses: akhileshns/heroku-deploy@79ef2ae4ff9b897010907016b268fd0f88561820\n        with:\n          heroku_api_key: ${{ secrets.HEROKU_API_KEY }}\n          heroku_app_name: \"micromasters\"\n          heroku_email: ${{ secrets.HEROKU_EMAIL }}\n          branch: release\n  # runs ONLY on a failure of the CI workflow\n  on-failure:\n    runs-on: ubuntu-latest\n    if: >\n      github.event_name == 'workflow_dispatch' ||\n      github.event.workflow_run.conclusion == 'failure'\n    steps:\n      - run: echo 'The triggering workflow failed'\n", "state": "disabled_manually", "repository": "mitodl/micromasters"}
{"mined_at": "2024-07-15T14:53:59.101578", "created_at": "2022-05-12T20:21:39+02:00", "updated_at": "2024-01-09T17:19:29+01:00", "name": "Release Candidate Deploy", "path": ".github/workflows/release-candiate.yml", "contents": "name: Release Candidate Deploy\n\non:\n  workflow_run:\n    workflows: [CI]\n    types: [completed]\n    branches: [release-candidate]\n  workflow_dispatch: # manual trigger\n\njobs:\n  # runs if CI workflow was successful OR if this was manually triggered\n  on-success:\n    runs-on: ubuntu-latest\n    if: >\n      github.event_name == 'workflow_dispatch' ||\n      github.event.workflow_run.conclusion == 'success'\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: release-candidate\n      - uses: akhileshns/heroku-deploy@79ef2ae4ff9b897010907016b268fd0f88561820\n        with:\n          heroku_api_key: ${{ secrets.HEROKU_API_KEY }}\n          heroku_app_name: \"micromasters-rc\"\n          heroku_email: ${{ secrets.HEROKU_EMAIL }}\n          branch: release-candidate\n  # runs ONLY on a failure of the CI workflow\n  on-failure:\n    runs-on: ubuntu-latest\n    if: >\n      github.event_name == 'workflow_dispatch' ||\n      github.event.workflow_run.conclusion == 'failure'\n    steps:\n      - run: echo 'The triggering workflow failed'", "state": "disabled_manually", "repository": "mitodl/micromasters"}
{"mined_at": "2024-07-15T14:54:00.123688", "created_at": "2024-04-05T15:48:45+02:00", "updated_at": "2024-04-05T15:48:45+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mitodl/micromasters"}
{"mined_at": "2024-07-15T14:54:03.506148", "created_at": "2022-01-28T17:11:49+01:00", "updated_at": "2022-02-08T13:03:22+01:00", "name": "Build virtualenv caches", "path": ".github/workflows/build-virtualenv-caches.yml", "contents": "name: Build virtualenv caches\non:\n  push:\n    branches:\n    - master\n  # Verify & rebuild caches every Monday at 04:00\n  # This should mostly ensure that the caches aren't evicted after 7 days of\n  # inactivity\n  schedule:\n    - cron: '0 4 * * MON'\n\njobs:\n  build-lint-virtualenvs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        command:\n          - flake8\n          - pylint\n          - bandit\n          - mypy\n          - black\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - uses: Gr1N/setup-poetry@v9\n    - name: Install tox\n      run: |\n        pip install tox\n    - uses: actions/cache@v4\n      with:\n        path: |\n          .tox\n          ~/.cache/pypoetry/virtualenvs\n        key: ${{ runner.os }}-lint-${{ matrix.command }}-${{ hashFiles('poetry.lock', 'tox.ini') }}\n    - name: Build virtualenv for ${{ matrix.command }}\n      run: make lintenv_${{ matrix.command }}\n  build-test-virtualenvs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: Gr1N/setup-poetry@v9\n    - name: Install tox\n      run: |\n        pip install tox\n    - uses: actions/cache@v4\n      with:\n        path: |\n          .tox\n          ~/.cache/pypoetry/virtualenvs\n        key: ${{ runner.os }}-test-py${{ matrix.python-version }}-${{ hashFiles('poetry.lock', 'tox.ini') }}\n    - name: Extract Python minor version from matrix python-version\n      run: echo \"PYVER=$(echo ${{ matrix.python-version}} |cut -d. -f1,2)\" >> $GITHUB_ENV\n    - run: |\n        make testenv_py${PYVER}\n  build-test-reclass-rs-virtualenvs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - uses: Gr1N/setup-poetry@v9\n    - name: Install tox\n      run: |\n        pip install tox\n    - uses: actions/cache@v4\n      with:\n        path: |\n          .tox\n          ~/.cache/pypoetry/virtualenvs\n        key: ${{ runner.os }}-test-py3.11-reclass-rs-${{ hashFiles('poetry.lock', 'tox.ini') }}\n    - run: |\n        make testenv_py3.11_reclass_rs\n\n  build-bench-virtualenvs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: Gr1N/setup-poetry@v9\n    - name: Install tox\n      run: |\n        pip install tox\n    - uses: actions/cache@v4\n      with:\n        path: |\n          .tox\n          ~/.cache/pypoetry/virtualenvs\n        key: ${{ runner.os }}-bench-py${{ matrix.python-version }}-${{ hashFiles('poetry.lock', 'tox.ini') }}\n    - name: Extract Python minor version from matrix python-version\n      run: echo \"PYVER=$(echo ${{ matrix.python-version}} |cut -d. -f1,2)\" >> $GITHUB_ENV\n    - run: |\n        make benchenv_py${PYVER}\n\n  build_poetry_virtualenv:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - uses: Gr1N/setup-poetry@v9\n    - uses: actions/cache@v4\n      with:\n        path: ~/.cache/pypoetry/virtualenvs\n        key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}\n    - name: Install Poetry and setup Poetry virtualenv\n      run: |\n        poetry env use python3.9\n        poetry install\n", "state": "active", "repository": "projectsyn/commodore"}
{"mined_at": "2024-07-15T14:54:04.734689", "created_at": "2022-04-01T14:38:53+02:00", "updated_at": "2022-04-04T09:38:09+02:00", "name": "Test coverage with codeclimate", "path": ".github/workflows/coverage.yml", "contents": "name: Test coverage with codeclimate\non:\n  pull_request:\n    branches:\n      - master\n  push:\n    branches:\n      - master\n\njobs:\n  coverage:\n    # Only run coverage (which includes the integration test) for PRs which don't originate from a fork\n    if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - uses: Gr1N/setup-poetry@v9\n    - uses: actions/cache@v4\n      with:\n        path: ~/.cache/pypoetry/virtualenvs\n        key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}\n    - name: Install Poetry and setup Poetry virtualenv\n      run: |\n        poetry env use python3.9\n        poetry install\n    - name: Install jsonnet-bundler\n      run: |\n        mkdir -p /opt/bin && curl -sLo /opt/bin/jb \\\n          https://github.com/projectsyn/jsonnet-bundler/releases/download/v0.6.1/jb_linux_amd64 \\\n          && chmod +x /opt/bin/jb\n    - name: Update PATH\n      run: echo \"/opt/bin\" >> $GITHUB_PATH\n    - name: Pull in SSH deploy key for integration test\n      env:\n        SSH_AUTH_SOCK: /tmp/ssh_agent.sock\n      run: |\n          mkdir -p ~/.ssh\n          echo \"github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==\" >> ~/.ssh/known_hosts\n          ssh-agent -a $SSH_AUTH_SOCK > /dev/null\n          ssh-add - <<< \"${{ secrets.CATALOG_DEPLOY_KEY }}\"\n    - name: Run test coverage\n      run: make test_coverage\n      env:\n        SSH_AUTH_SOCK: /tmp/ssh_agent.sock\n    - name: Upload code coverage report to Code Climate\n      uses: paambaati/codeclimate-action@v8.0.0\n      env:\n        CC_TEST_REPORTER_ID: f9c194f25b65bf9c9413d736386e70d32c128516218768333cd7205e79076506\n      with:\n        coverageLocations: coverage.xml:coverage.py\n", "state": "active", "repository": "projectsyn/commodore"}
{"mined_at": "2024-07-15T14:54:05.987435", "created_at": "2021-06-25T15:07:11+02:00", "updated_at": "2022-11-15T14:50:24+01:00", "name": "PyPI release", "path": ".github/workflows/publish-pypi.yml", "contents": "name: PyPI release\n\non:\n  push:\n    branches:\n    - master\n    tags:\n    - v*\n  pull_request:\n    branches:\n    - master\n\njobs:\n  build-and-publish:\n    # Skip job on forks\n    if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false\n    name: Build and publish to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - uses: Gr1N/setup-poetry@v9\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pypoetry/virtualenvs\n          key: ${{ runner.os }}-publish-pypi-${{ hashFiles('poetry.lock') }}\n      - name: Setup poetry environment\n        run: |\n          poetry install\n      - name: Inject package versions to action env\n        run: make inject-version\n      - name: Set Python package version for release\n        if: startsWith(github.ref, 'refs/tags/v')\n        run: poetry version \"${PYVERSION}\"\n      - name: Set Python package version\n        if: \"!startsWith(github.ref, 'refs/tags/v')\"\n        run: |\n          poetry version \"${PYVERSION}.dev${GITHUB_RUN_NUMBER}\"\n      - name: Build Python package\n        run: poetry build\n      - name: Publish to PyPI\n        if: startsWith(github.ref, 'refs/tags/v')\n        env:\n          # increase connection timeout to PyPI to 60s\n          # NOTE(sg): This is probably not required\n          POETRY_REQUESTS_TIMEOUT: \"60\"\n        run: poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}\n      - name: Publish to TestPyPI\n        if: \"!startsWith(github.ref, 'refs/tags/v')\"\n        env:\n          # increase connection timeout to TestPyPI to 60s\n          POETRY_REQUESTS_TIMEOUT: \"60\"\n        run: |\n          poetry config repositories.test-pypi https://test.pypi.org/legacy/\n          poetry publish -r test-pypi -u __token__ -p ${{ secrets.TEST_PYPI_TOKEN }}\n", "state": "active", "repository": "projectsyn/commodore"}
{"mined_at": "2024-07-15T14:54:07.089697", "created_at": "2020-12-01T16:03:11+01:00", "updated_at": "2020-12-01T16:08:11+01:00", "name": "Build & Push Kapitan Image", "path": ".github/workflows/push-kapitan.yml", "contents": "name: Build & Push Kapitan Image\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - master\n    paths:\n      - tools/Dockerfile.kapitan\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      IMAGE: docker.io/projectsyn/kapitan\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set image version\n      run: |\n        echo \"VERSION=$(grep \"KAPITAN_VERSION=\" tools/Dockerfile.kapitan | cut -d= -f2)\" >> ${GITHUB_ENV}\n    - name: Build image\n      run: docker build -f tools/Dockerfile.kapitan -t ${IMAGE}:${VERSION} tools/\n    - name: Push image\n      env:\n        DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n        DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n      run: |\n        docker login docker.io --username \"${DOCKER_USERNAME}\" --password \"${DOCKER_PASSWORD}\"\n        docker push \"${IMAGE}:${VERSION}\"\n", "state": "active", "repository": "projectsyn/commodore"}
{"mined_at": "2024-07-15T14:54:08.319334", "created_at": "2020-02-14T18:42:07+01:00", "updated_at": "2022-04-12T16:38:01+02:00", "name": "Build & Push Container Image", "path": ".github/workflows/push.yml", "contents": "name: Build & Push Container Image\non:\n  push:\n    branches:\n    - master\n    tags:\n    - v*\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      IMAGE: docker.io/${{ github.repository }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: \"0\"\n    - name: Set image version latest\n      if: github.ref == 'refs/heads/master'\n      run: echo \"VERSION=latest\" >> ${GITHUB_ENV}\n    - name: Set image version from tag\n      if: startsWith(github.ref, 'refs/tags/v')\n      run: echo \"VERSION=$(echo ${GITHUB_REF#refs/tags/})\" >> ${GITHUB_ENV}\n    - name: Build Image\n      run: make docker\n      env:\n        IMAGE_NAME: \"${IMAGE}:${VERSION}\"\n    - name: Push Image\n      env:\n        DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n        DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n      run: |\n        docker login docker.io --username \"${DOCKER_USERNAME}\" --password \"${DOCKER_PASSWORD}\"\n        docker push \"${IMAGE}:${VERSION}\"\n    - name: Build changelog from PRs with labels\n      if: startsWith(github.ref, 'refs/tags/v')\n      id: build_changelog\n      uses: mikepenz/release-changelog-builder-action@v4\n      with:\n        configuration: \".github/changelog-configuration.json\"\n        # PreReleases still get a changelog, but the next full release gets a diff since the last full release,\n        # combining possible changelogs of all previous PreReleases in between.\n        # PreReleases show a partial changelog since last PreRelease.\n        ignorePreReleases: \"${{ !contains(github.ref, '-rc') }}\"\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    - name: Read release message from tag commit\n      id: tag_message\n      if: startsWith(github.ref, 'refs/tags/v')\n      run: |\n        git fetch origin +refs/tags/*:refs/tags/*\n        # Extract tag message\n        TAG_MSG=$(git tag -n --format='%(contents:body)' ${GITHUB_REF##refs/tags/} | tr -d '\\r')\n        # Escape literal % and newlines (\\n, \\r) for github actions output\n        TAG_MSG=${TAG_MSG//'%'/%25}\n        TAG_MSG=${TAG_MSG//$'\\n'/%0A}\n        # Join multiple lines belonging to the same paragraph for GitHub\n        # markdown.\n        # Paragraph breaks should be %0A%0A. We replace single line breaks\n        # with a space with sed.\n        TAG_MSG=$(echo ${TAG_MSG} |sed 's/\\([^A]\\)%0A\\([^%]\\)/\\1 \\2/g')\n        # Set action output `messsage`\n        echo \"::set-output name=message::${TAG_MSG}\"\n      env:\n        GITHUB_REF: ${{ github.ref }}\n    - name: Create Release\n      if: startsWith(github.ref, 'refs/tags/v')\n      uses: ncipollo/release-action@v1\n      with:\n        body: \"# Summary\\n\\n${{steps.tag_message.outputs.message}}\\n\\n# Changes\\n\\n${{steps.build_changelog.outputs.changelog}}\"\n        prerelease: \"${{ contains(github.ref, '-rc') }}\"\n        # Ensure target branch for release is \"master\"\n        commit: master\n        token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "projectsyn/commodore"}
{"mined_at": "2024-07-15T14:54:09.335454", "created_at": "2020-02-12T16:27:59+01:00", "updated_at": "2023-09-15T15:30:47+02:00", "name": "Pull Request", "path": ".github/workflows/test.yml", "contents": "name: Pull Request\non:\n  pull_request:\n    branches:\n    - master\n\njobs:\n  lints:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        command:\n          - flake8\n          - pylint\n          - bandit\n          - mypy\n          - black\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - uses: Gr1N/setup-poetry@v9\n    - name: Install tox\n      run: |\n        pip install tox\n    - uses: actions/cache@v4\n      with:\n        path: |\n          .tox\n          ~/.cache/pypoetry/virtualenvs\n        key: ${{ runner.os }}-lint-${{ matrix.command }}-${{ hashFiles('poetry.lock', 'tox.ini') }}\n    - name: Run ${{ matrix.command }}\n      run: make lint_${{ matrix.command }}\n  editorconfig:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: snow-actions/eclint@v1.0.1\n      with:\n        args: 'check'\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: Gr1N/setup-poetry@v9\n    - name: Install tox\n      run: |\n        pip install tox\n    - uses: actions/cache@v4\n      with:\n        path: |\n          .tox\n          ~/.cache/pypoetry/virtualenvs\n        key: ${{ runner.os }}-test-py${{ matrix.python-version }}-${{ hashFiles('poetry.lock', 'tox.ini') }}\n    - name: Install jsonnet-bundler\n      run: |\n        mkdir -p /opt/bin && curl -sLo /opt/bin/jb \\\n          https://github.com/projectsyn/jsonnet-bundler/releases/download/v0.6.1/jb_linux_amd64 \\\n          && chmod +x /opt/bin/jb\n    - name: Update PATH\n      run: echo \"/opt/bin\" >> $GITHUB_PATH\n    - name: Extract Python minor version from matrix python-version\n      run: echo \"PYVER=$(echo ${{ matrix.python-version}} |cut -d. -f1,2)\" >> $GITHUB_ENV\n    - name: Run tests on Python ${{ matrix.python-version }}\n      run: make test_py${PYVER}\n  tests_reclass_rs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - uses: Gr1N/setup-poetry@v9\n    - name: Install tox\n      run: |\n        pip install tox\n    - uses: actions/cache@v4\n      with:\n        path: |\n          .tox\n          ~/.cache/pypoetry/virtualenvs\n        key: ${{ runner.os }}-test-py3.11-reclass-rs-${{ hashFiles('poetry.lock', 'tox.ini') }}\n    - name: Install jsonnet-bundler\n      run: |\n        mkdir -p /opt/bin && curl -sLo /opt/bin/jb \\\n          https://github.com/projectsyn/jsonnet-bundler/releases/download/v0.6.1/jb_linux_amd64 \\\n          && chmod +x /opt/bin/jb\n    - name: Update PATH\n      run: echo \"/opt/bin\" >> $GITHUB_PATH\n    - name: Run tests on Python 3.11 with reclass-rs\n      run: make test_py3.11_reclass_rs\n  benchs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: Gr1N/setup-poetry@v9\n    - name: Install tox\n      run: |\n        pip install tox\n    - uses: actions/cache@v4\n      with:\n        path: |\n          .tox\n          ~/.cache/pypoetry/virtualenvs\n        key: ${{ runner.os }}-bench-py${{ matrix.python-version }}-${{ hashFiles('poetry.lock', 'tox.ini') }}\n    - name: Install jsonnet-bundler\n      run: |\n        mkdir -p /opt/bin && curl -sLo /opt/bin/jb \\\n          https://github.com/projectsyn/jsonnet-bundler/releases/download/v0.6.1/jb_linux_amd64 \\\n          && chmod +x /opt/bin/jb\n    - name: Update PATH\n      run: echo \"/opt/bin\" >> $GITHUB_PATH\n    - name: Extract Python minor version from matrix python-version\n      run: echo \"PYVER=$(echo ${{ matrix.python-version}} |cut -d. -f1,2)\" >> $GITHUB_ENV\n    - name: Run benchmarks on Python ${{ matrix.python-version }}\n      run: make bench_py${PYVER}\n  integration:\n    # Skip integration tests on PRs from forks\n    if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - uses: Gr1N/setup-poetry@v9\n    - uses: actions/cache@v4\n      with:\n        path: ~/.cache/pypoetry/virtualenvs\n        key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}\n    - name: Install Poetry, setup Poetry virtualenv, and build Kapitan helm bindings\n      run: |\n        poetry env use python3.9\n        poetry install\n    - name: Install jsonnet-bundler\n      run: |\n        mkdir -p /opt/bin && curl -sLo /opt/bin/jb \\\n          https://github.com/projectsyn/jsonnet-bundler/releases/download/v0.6.1/jb_linux_amd64 \\\n          && chmod +x /opt/bin/jb\n    - name: Update PATH\n      run: echo \"/opt/bin\" >> $GITHUB_PATH\n    - name: Pull in SSH deploy key for integration tests\n      env:\n        SSH_AUTH_SOCK: /tmp/ssh_agent.sock\n      run: |\n          mkdir -p ~/.ssh\n          echo \"github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==\" >> ~/.ssh/known_hosts\n          ssh-agent -a $SSH_AUTH_SOCK > /dev/null\n          ssh-add - <<< \"${{ secrets.CATALOG_DEPLOY_KEY }}\"\n    - name: Run catalog compile integration test\n      run: make test_integration\n      env:\n        SSH_AUTH_SOCK: /tmp/ssh_agent.sock\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Check Docs\n      run: make docs-vale\n  build:\n    needs:\n    - lints\n    - tests\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: \"0\"\n    - name: Build image\n      run: make docker\n    - name: Run image\n      run: docker run docker.io/projectsyn/commodore:test\n", "state": "active", "repository": "projectsyn/commodore"}
{"mined_at": "2024-07-15T14:54:11.495855", "created_at": "2020-09-02T20:13:50+02:00", "updated_at": "2020-09-02T20:13:50+02:00", "name": "PR changes on main into release branches", "path": ".github/workflows/auto-pr-from-main-into-releases.yml", "contents": "name: PR changes on main into release branches\nenv:\n    SOURCE_BRANCH: main\non:\n  # This workflow should trigger when changes are pushed to main.\n  # We expect this will happen when PRs into main are merged and also as\n  # part of the automated bugfix release process.\n  push:\n    branches:\n      # The context variable ${{ env.SOURCE_BRANCH }} does not seem to work here.\n      - main\n\njobs:\n  create-pr:\n    # Only create a PR from main into release branches if we're on the\n    # main invest repository.\n    if: github.repository == 'natcap/invest'\n    name: PR main into release/**\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - run: git fetch origin +refs/tags/*:refs/tags/*\n\n      # Needed for envsubst\n      - run: sudo apt-get update && sudo apt-get install gettext-base\n\n      - name: Open a PR into each open release branch\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SOURCE_BRANCH: ${{ env.SOURCE_BRANCH }}\n        run: |\n          set -x\n\n          # Get the number of the last PR merged into main.\n          # This assumes that the default PR message was used and includes\n          # the pattern #[1-9][0-9]*.\n          PR_NUM=$(git log -1 --pretty=%B main | head -n1 | egrep -o '#[1-9][0-9]*' | sed 's|#||g')\n\n          # Get the username of the person who opened up the last PR into `main`.\n          PR_USERNAME=$(gh pr view --json author $PR_NUM | jq -j '.author.login')\n          echo \"Latest PR on main ($PR_NUM) was authored by $PR_USERNAME.\"\n\n          if [ \"$PR_USERNAME\" = \"github-actions\" ]\n          then\n              # Set the PR reviewer/assignee to the release manager.\n              source ./ci/release/RELEASE_MANAGER.env\n              PR_USERNAME=$RELEASE_MANAGER\n          fi\n\n          # Using grep with pattern ^release filters out any autorelease branches.\n          # If no release branches are found, exit github actions.\n          BRANCHES=$(git ls-remote --heads origin | cut -d '/' -f 3- | grep ^release || echo '')\n          if [ -z \"$BRANCHES\" ]\n          then\n              echo \"No release branches found; exiting github actions workflow.\"\n              exit 0\n          fi\n\n          echo $BRANCHES  # debugging\n          ERRORSPRESENT=0\n          for BRANCH in $BRANCHES\n          do\n              export RELEASE_BRANCH=$BRANCH  # needed for envsubst\n              PR_BODY_FILE=pr_body.txt\n              cat ci/main-release-pr-body.md | envsubst > $PR_BODY_FILE\n              cat $PR_BODY_FILE  # for debugging\n\n              # This PR will be assigned to $GITHUB_ACTOR, which should be\n              # the person who merged the PR that caused this commit to be\n              # created.  Others could of course be assigned later.\n              gh pr create \\\n                  --head $GITHUB_REPOSITORY:$SOURCE_BRANCH \\\n                  --base $GITHUB_REPOSITORY:$RELEASE_BRANCH \\\n                  --reviewer \"$PR_USERNAME\" \\\n                  --assignee \"$PR_USERNAME\" \\\n                  --label \"auto\" \\\n                  --body-file $PR_BODY_FILE || ERRORSPRESENT=$(($ERRORSPRESENT | $?))\n          done\n\n          if [[ $ERRORSPRESENT -gt 0 ]]\n          then\n              echo \"At least one of the PRs failed and might need to be revisited.\"\n              exit 1\n          fi\n", "state": "active", "repository": "natcap/invest"}
{"mined_at": "2024-07-15T14:54:12.623135", "created_at": "2020-02-27T19:07:01+01:00", "updated_at": "2022-03-07T21:45:18+01:00", "name": "Run Tests and Build", "path": ".github/workflows/build-and-test.yml", "contents": "name: Run Tests and Build\r\n\r\non: [push, pull_request]\r\n\r\ndefaults:\r\n  run:\r\n    shell: bash -l {0}\r\n\r\nconcurrency:\r\n  # make sure only one run of this workflow for a given PR or a given branch\r\n  # can happen at one time. previous queued or started runs will be cancelled.\r\n  # github.workflow is the workflow name\r\n  # github.ref is the ref that triggered the workflow run\r\n  # on push, this is refs/heads/<branch name>\r\n  # on pull request, this is refs/pull/<pull request number>/merge\r\n  group: ${{ github.workflow }}-${{ github.ref }}\r\n  cancel-in-progress: true\r\n\r\nenv:\r\n  # build: dependency of make install\r\n  # nomkl: make sure numpy w/out mkl\r\n  # setuptools_scm: needed for versioning to work\r\n  CONDA_DEFAULT_DEPENDENCIES: python-build nomkl setuptools_scm\r\n  LATEST_SUPPORTED_PYTHON_VERSION: \"3.12\"\r\n\r\njobs:\r\n  check-syntax-errors:\r\n    name: Check for syntax errors\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/checkout@v3\r\n\r\n      - name: Set up python\r\n        uses: actions/setup-python@v4\r\n        with:\r\n          python-version: ${{ env.LATEST_SUPPORTED_PYTHON_VERSION }}\r\n\r\n      # this is fast enough that it's not worth caching\r\n      - name: Set up environment\r\n        run: pip install flake8\r\n\r\n      - name: Lint with flake8\r\n        run: |\r\n          # stop the build if there are Python syntax errors or undefined names\r\n          python -m flake8 src --count --select=E9,F63,F7,F82 --show-source --statistics\r\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\r\n          python -m flake8 src --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\r\n\r\n  check-history-rst-syntax:\r\n    name: Check HISTORY RST syntax\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/checkout@v3\r\n\r\n      - uses: actions/setup-python@v4\r\n        name: Set up python\r\n        with:\r\n          python-version: ${{ env.LATEST_SUPPORTED_PYTHON_VERSION }}\r\n\r\n      - name: Set up environment\r\n        run: pip install doc8\r\n\r\n      - name: Lint with doc8\r\n        run: |\r\n            # Skip line-too-long errors (D001)\r\n            python -m doc8 --ignore D001 HISTORY.rst\r\n\r\n  run-model-tests:\r\n    name: Run model tests\r\n    runs-on: ${{ matrix.os }}\r\n    needs: check-syntax-errors\r\n    strategy:\r\n      fail-fast: false\r\n      matrix:\r\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\r\n        os: [windows-latest, macos-13]\r\n    steps:\r\n      - uses: actions/checkout@v3\r\n        with:\r\n          fetch-depth: 0 # Fetch complete history for accurate versioning\r\n\r\n      # NOTE: It takes twice as long to save the sample data cache\r\n      # as it does to do a fresh clone (almost 5 minutes vs. 2.5 minutes)\r\n      # Test data is way, way faster by contrast (on the order of a few\r\n      # seconds to archive).\r\n      - name: Restore git-LFS test data cache\r\n        uses: actions/cache@v3\r\n        with:\r\n          path: data/invest-test-data\r\n          key: git-lfs-testdata-${{ hashfiles('Makefile') }}\r\n\r\n      - name: Set up python environment\r\n        uses: ./.github/actions/setup_env\r\n        with:\r\n          python-version: ${{ matrix.python-version }}\r\n          requirements-files: requirements.txt requirements-dev.txt constraints_tests.txt\r\n          requirements: ${{ env.CONDA_DEFAULT_DEPENDENCIES }}\r\n\r\n      - name: Download previous conda environment.yml\r\n        continue-on-error: true\r\n        # Using 'dawidd6' since 'download-artifact' GH action doesn't\r\n        # support downloading artifacts from prior workflow runs\r\n        uses: dawidd6/action-download-artifact@v2\r\n        with:\r\n          workflow: build-and-test.yml\r\n          # Get frozen conda env artifact from last successful workflow\r\n          workflow_conclusion: success\r\n          name: Conda Env for ${{ matrix.os }} ${{ matrix.python-version }}\r\n          path: ./conda-env-artifact\r\n\r\n      - name: Compare conda environments\r\n        run: |\r\n          micromamba list > conda-env.txt\r\n          # make sure that the exit code is always 0\r\n          # otherwise, an error appears in the action annotations\r\n          diff ./conda-env.txt ./conda-env-artifact/conda-env.txt || true\r\n\r\n      - name: Build and install wheel\r\n        run: |\r\n          # uninstall InVEST if it was already in the restored cache\r\n          python -m pip uninstall -y natcap.invest\r\n          python -m build --wheel\r\n          ls -la dist\r\n          pip install $(find dist -name \"natcap.invest*.whl\")\r\n\r\n      - name: Run model tests\r\n        run: make test\r\n\r\n      - name: Upload wheel artifact\r\n        uses: actions/upload-artifact@v3\r\n        with:\r\n          name: Wheel for ${{ matrix.os }} ${{ matrix.python-version }}\r\n          path: dist\r\n\r\n      - name: Upload conda env artifact\r\n        uses: actions/upload-artifact@v3\r\n        continue-on-error: true\r\n        with:\r\n          name: Conda Env for ${{ matrix.os }} ${{ matrix.python-version }}\r\n          path: conda-env.txt\r\n\r\n      - name: Authenticate GCP\r\n        if: github.event_name != 'pull_request'\r\n        uses: google-github-actions/auth@v0\r\n        with:\r\n          credentials_json: ${{ secrets.GOOGLE_SERVICE_ACC_KEY }}\r\n\r\n      - name: Set up GCP\r\n        if: github.event_name != 'pull_request'\r\n        uses: google-github-actions/setup-gcloud@v0\r\n\r\n      - name: Deploy artifacts to GCS\r\n        if: github.event_name != 'pull_request'\r\n        run: make deploy\r\n\r\n  test-source-distribution:\r\n    name: Check sdist\r\n    runs-on: ${{ matrix.os }}\r\n    needs: check-syntax-errors\r\n    strategy:\r\n      matrix:\r\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\r\n        os: [windows-latest, macos-13]\r\n    steps:\r\n      - uses: actions/checkout@v3\r\n        with:\r\n          fetch-depth: 0  # Fetch complete history for accurate versioning\r\n\r\n      - uses: ./.github/actions/setup_env\r\n        with:\r\n          python-version: ${{ matrix.python-version }}\r\n          requirements-files: requirements.txt\r\n          requirements: ${{ env.CONDA_DEFAULT_DEPENDENCIES }}\r\n\r\n      - name: Build source distribution\r\n        run: |\r\n          # Because we're using PEP518 build requirements, the user's\r\n          # computer is guaranteed to have cython available at build\r\n          # time.  Thus, it is no longer necessary to distribute the\r\n          # .cpp files in addition to the .pyx files.\r\n          #\r\n          # Elevating any python warnings to errors to catch build issues ASAP.\r\n          python -W error -m build --sdist\r\n\r\n      - name: Install from source distribution\r\n        run : |\r\n          # Install natcap.invest from the sdist in dist/\r\n          pip install $(find dist -name \"natcap[._-]invest*\")\r\n\r\n          # Model tests should cover model functionality, we just want\r\n          # to be sure that we can import `natcap.invest` here.\r\n          # The point here is to make sure that we can build\r\n          # natcap.invest from source and that it imports.\r\n          python -c \"from natcap.invest import *\"\r\n\r\n      - uses: actions/upload-artifact@v3\r\n        with:\r\n          name: Source distribution\r\n          path: dist\r\n\r\n        # Secrets not available in PR so don't use GCP.\r\n        # Only upload sdist in one of the matrix cases so we don't\r\n        # overwrite artifacts or have duplicates (mac/windows sdists have\r\n        # different extensions)\r\n      - name: Authenticate GCP\r\n        if: github.event_name != 'pull_request' && matrix.os == 'macos-13' && matrix.python-version == env.LATEST_SUPPORTED_PYTHON_VERSION\r\n        uses: google-github-actions/auth@v0\r\n        with:\r\n          credentials_json: ${{ secrets.GOOGLE_SERVICE_ACC_KEY }}\r\n\r\n      - name: Set up GCP\r\n        if: github.event_name != 'pull_request' && matrix.os == 'macos-13' && matrix.python-version == env.LATEST_SUPPORTED_PYTHON_VERSION\r\n        uses: google-github-actions/setup-gcloud@v0\r\n\r\n      - name: Deploy artifacts to GCS\r\n        if: github.event_name != 'pull_request' && matrix.os == 'macos-13' && matrix.python-version == env.LATEST_SUPPORTED_PYTHON_VERSION\r\n        run: make deploy\r\n\r\n  validate-resources:\r\n    name: Validate Sampledata & User Guide\r\n    runs-on: windows-latest\r\n    needs: check-syntax-errors\r\n    steps:\r\n      - uses: actions/checkout@v3\r\n        with:\r\n          fetch-depth: 0 # Fetch complete history for accurate versioning\r\n\r\n      - uses: ./.github/actions/setup_env\r\n        with:\r\n          python-version: ${{ env.LATEST_SUPPORTED_PYTHON_VERSION }}\r\n          requirements-files: requirements.txt\r\n          requirements: ${{ env.CONDA_DEFAULT_DEPENDENCIES }} pytest\r\n\r\n      - name: Make install\r\n        run: make install\r\n\r\n      - name: Validate sample data\r\n        run: make validate_sampledata\r\n\r\n      - name: Validate user guide links\r\n        run: make validate_userguide_filenames\r\n\r\n  run-workbench-tests:\r\n    name: Run Workbench Tests\r\n    runs-on: ${{ matrix.os }}\r\n    needs: check-syntax-errors\r\n    strategy:\r\n      fail-fast: false\r\n      max-parallel: 4\r\n      matrix:\r\n        os: [windows-latest, macos-13]\r\n\r\n    steps:\r\n      - name: Check out repo\r\n        uses: actions/checkout@v3\r\n        with:\r\n          fetch-depth: 0 # Fetch complete history for accurate versioning\r\n\r\n      - name: Set up python environment\r\n        uses: ./.github/actions/setup_env\r\n        with:\r\n          python-version: ${{ env.LATEST_SUPPORTED_PYTHON_VERSION }}\r\n          requirements-files: requirements.txt requirements-dev.txt\r\n          requirements: ${{ env.CONDA_DEFAULT_DEPENDENCIES }}\r\n\r\n      - name: Make install\r\n        run: make install\r\n\r\n      - name: Set up node\r\n        uses: actions/setup-node@v3\r\n        with:\r\n          node-version: 20\r\n\r\n      - name: Restore node_modules cache\r\n        id: nodemodules-cache\r\n        uses: actions/cache@v3\r\n        with:\r\n          path: workbench/node_modules\r\n          key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('workbench/yarn.lock') }}\r\n\r\n      - name: Install workbench dependencies\r\n        if: steps.nodemodules-cache.outputs.cache-hit != 'true'\r\n        working-directory: workbench\r\n        run: |\r\n          yarn config set network-timeout 600000 -g\r\n          yarn install\r\n\r\n      - name: Run workbench tests\r\n        working-directory: workbench\r\n        env:\r\n          CI: true\r\n        run: yarn test\r\n\r\n  build-binaries:\r\n    name: Build binaries\r\n    needs: check-syntax-errors\r\n    runs-on: ${{ matrix.os }}\r\n    strategy:\r\n      fail-fast: false\r\n      matrix:\r\n        os: [macos-13, windows-latest]\r\n        include:\r\n          - os: macos-13\r\n            puppeteer-log: ~/Library/Logs/invest-workbench/\r\n            workspace-path: InVEST-failed-mac-workspace.tar\r\n            binary-extension: dmg\r\n          - os: windows-latest\r\n            puppeteer-log: ~/AppData/Roaming/invest-workbench/logs/\r\n            workspace-path: ${{ github.workspace }}\r\n            binary-extension: exe\r\n    steps:\r\n      - uses: actions/checkout@v3\r\n        with:\r\n          fetch-depth: 0 # Fetch complete history for accurate versioning\r\n\r\n      - name: Set up conda environment\r\n        uses: ./.github/actions/setup_env\r\n        with:\r\n          python-version: ${{ env.LATEST_SUPPORTED_PYTHON_VERSION }}\r\n          requirements-files: |\r\n            requirements.txt\r\n            requirements-dev.txt\r\n            requirements-docs.txt\r\n            constraints_tests.txt\r\n          requirements: ${{ env.CONDA_DEFAULT_DEPENDENCIES }} pandoc\r\n\r\n      - name: Make install\r\n        run: make install\r\n\r\n        # Not caching chocolatey packages because the cache may not be reliable\r\n        # https://github.com/chocolatey/choco/issues/2134\r\n        # and this step only takes about 30 seconds.\r\n      - name: Install build dependencies (Windows)\r\n        if: matrix.os == 'windows-latest'\r\n        shell: powershell\r\n        run: |\r\n          choco install zip unzip\r\n          $env:PATH += \";C:\\ProgramData\\chocolatey\\bin\"\r\n          Import-Module $env:ChocolateyInstall\\helpers\\chocolateyProfile.psm1\r\n          refreshenv  # Choco-provided command to reload environment variables\r\n\r\n      - name: Build userguide\r\n        run: make userguide\r\n\r\n      - name: Build binaries\r\n        run: make CONDA=\"$MAMBA_EXE\" binaries\r\n\r\n      - name: Install Node.js\r\n        uses: actions/setup-node@v3\r\n        with:\r\n          node-version: 18\r\n\r\n      - name: Restore node_modules cache\r\n        id: nodemodules-cache\r\n        uses: actions/cache@v3\r\n        with:\r\n          path: workbench/node_modules\r\n          key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('workbench/yarn.lock') }}\r\n\r\n      - name: Install Workbench Dependencies\r\n        if: steps.nodemodules-cache.outputs.cache-hit != 'true'\r\n        working-directory: workbench\r\n        run: |\r\n          yarn config set network-timeout 600000 -g\r\n          yarn install\r\n\r\n      - name: Authenticate GCP\r\n        if: github.event_name != 'pull_request'\r\n        uses: google-github-actions/auth@v0\r\n        with:\r\n          credentials_json: ${{ secrets.GOOGLE_SERVICE_ACC_KEY }}\r\n\r\n      - name: Set up GCP\r\n        if: github.event_name != 'pull_request'\r\n        uses: google-github-actions/setup-gcloud@v0\r\n\r\n      - name: Build Workbench (PRs)\r\n        if: github.event_name == 'pull_request'\r\n        working-directory: workbench\r\n        env:\r\n          GH_TOKEN: env.GITHUB_TOKEN\r\n          DEBUG: electron-builder\r\n          CSC_IDENTITY_AUTO_DISCOVERY: false  # disable electron-builder code signing\r\n        run: |\r\n          yarn run build\r\n          yarn run dist\r\n\r\n      - name: Build Workbench (macOS)\r\n        if: github.event_name != 'pull_request' && matrix.os == 'macos-13' # secrets not available in PR\r\n        working-directory: workbench\r\n        env:\r\n          GH_TOKEN: env.GITHUB_TOKEN\r\n          DEBUG: electron-builder\r\n          CSC_LINK: 2025-01-16-Expiry-AppStore-App.p12\r\n          CSC_KEY_PASSWORD: ${{ secrets.MACOS_CODESIGN_CERT_PASS }}\r\n        run: |\r\n          gsutil cp gs://stanford_cert/$CSC_LINK $CSC_LINK\r\n          yarn run build\r\n          yarn run dist\r\n\r\n      - name: Build Workbench (Windows)\r\n        if: github.event_name != 'pull_request' && matrix.os == 'windows-latest' # secrets not available in PR\r\n        working-directory: workbench\r\n        env:\r\n          GH_TOKEN: env.GITHUB_TOKEN\r\n          DEBUG: electron-builder\r\n          #CSC_LINK: Stanford-natcap-code-signing-cert-expires-2024-01-26.p12\r\n          #CSC_KEY_PASSWORD: ${{ secrets.WINDOWS_CODESIGN_CERT_PASS }}\r\n        run: |\r\n          #gsutil cp gs://stanford_cert/$CSC_LINK $CSC_LINK\r\n          yarn run build\r\n          yarn run dist\r\n\r\n      - name: Test electron app with puppeteer\r\n        working-directory: workbench\r\n        run: npx cross-env CI=true yarn run test-electron-app\r\n\r\n      - name: Sign binaries (macOS)\r\n        if: github.event_name != 'pull_request' && matrix.os == 'macos-13' # secrets not available in PR\r\n        env:\r\n          CERT_FILE: 2025-01-16-Expiry-AppStore-App.p12\r\n          CERT_PASS: ${{ secrets.MACOS_CODESIGN_CERT_PASS }}\r\n        run: |\r\n          WORKBENCH_BINARY=$(find \"$(pwd)/workbench/dist\" -type f -name 'invest_*.dmg' | head -n 1)\r\n          make WORKBENCH_BIN_TO_SIGN=\"$WORKBENCH_BINARY\" codesign_mac\r\n\r\n      #- name: Sign binaries (Windows)\r\n      #  if: github.event_name != 'pull_request' && matrix.os == 'windows-latest' # secrets not available in PR\r\n      #  env:\r\n      #    CERT_FILE: Stanford-natcap-code-signing-cert-expires-2024-01-26.p12\r\n      #    CERT_PASS: ${{ secrets.WINDOWS_CODESIGN_CERT_PASS }}\r\n      #  run: |\r\n      #    # figure out the path to signtool.exe (it keeps changing with SDK updates)\r\n      #    SIGNTOOL_PATH=$(find 'C:\\\\Program Files (x86)\\\\Windows Kits\\\\10' -type f -name 'signtool.exe*' | head -n 1)\r\n      #    WORKBENCH_BINARY=$(find \"$(pwd)/workbench/dist\" -type f -name 'invest_*.exe' | head -n 1)\r\n      #    make WORKBENCH_BIN_TO_SIGN=\"$WORKBENCH_BINARY\" SIGNTOOL=\"$SIGNTOOL_PATH\" codesign_windows\r\n\r\n      - name: Deploy artifacts to GCS\r\n        if: github.event_name != 'pull_request'\r\n        run: make deploy\r\n\r\n      - name: Upload workbench binary artifact\r\n        if: always()\r\n        uses: actions/upload-artifact@v3\r\n        with:\r\n          name: Workbench-${{ runner.os }}-binary\r\n          path: workbench/dist/*.${{ matrix.binary-extension }}\r\n\r\n      - name: Upload user's guide artifact (Windows)\r\n        if: matrix.os == 'windows-latest'\r\n        uses: actions/upload-artifact@v3\r\n        with:\r\n          name: InVEST-user-guide\r\n          path: dist/InVEST_*_userguide.zip\r\n\r\n      - name: Upload workbench logging from puppeteer\r\n        uses: actions/upload-artifact@v3\r\n        if: always()\r\n        with:\r\n          name: ${{ runner.os }}_puppeteer_log.zip'\r\n          path: ${{ matrix.puppeteer-log }}\r\n\r\n      - name: Run invest-autotest with binaries\r\n        if : |\r\n          (github.event_name == 'push' &&\r\n          (startsWith(github.ref, 'refs/heads/release') || github.ref == 'refs/heads/main')) ||\r\n          (github.event_name == 'pull_request' && startsWith(github.head_ref, 'autorelease'))\r\n        run: make invest_autotest\r\n\r\n      - name: Tar the workspace to preserve permissions (macOS)\r\n        if: failure() && matrix.os == 'macos-13'\r\n        run: tar -cvf ${{ matrix.workspace-path}} ${{ github.workspace }}\r\n\r\n      - name: Upload workspace on failure\r\n        if: ${{ failure() }}\r\n        uses: actions/upload-artifact@v3\r\n        with:\r\n          name: InVEST-failed-${{ runner.os }}-workspace\r\n          path: ${{ matrix.workspace-path}}\r\n\r\n  build-sampledata:\r\n    name: Build sampledata archives\r\n    needs: check-syntax-errors\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/checkout@v3\r\n        with:\r\n          fetch-depth: 0 # Fetch complete history for accurate versioning\r\n\r\n      - uses: actions/setup-python@v4\r\n        with:\r\n          python-version: ${{ env.LATEST_SUPPORTED_PYTHON_VERSION }}\r\n\r\n      - name: Install dependencies\r\n        # dependencies of setup.py, needed to get the version string\r\n        run: pip install babel cython numpy setuptools setuptools_scm wheel\r\n\r\n      - run: make sampledata sampledata_single\r\n\r\n      - name: Upload sample data artifact\r\n        uses: actions/upload-artifact@v3\r\n        with:\r\n          name: InVEST-sample-data\r\n          path: dist/*.zip\r\n\r\n      - name: Authenticate GCP\r\n        if: github.event_name != 'pull_request'\r\n        uses: google-github-actions/auth@v0\r\n        with:\r\n          credentials_json: ${{ secrets.GOOGLE_SERVICE_ACC_KEY }}\r\n\r\n      - name: Set up GCP\r\n        if: github.event_name != 'pull_request'\r\n        uses: google-github-actions/setup-gcloud@v0\r\n\r\n      - name: Deploy artifacts to GCS\r\n        if: github.event_name != 'pull_request'\r\n        run: make deploy\r\n", "state": "active", "repository": "natcap/invest"}
{"mined_at": "2024-07-15T14:54:13.843740", "created_at": "2023-10-26T15:15:25+02:00", "updated_at": "2023-10-26T15:15:25+02:00", "name": "Build containers", "path": ".github/workflows/build-docker.yml", "contents": "name: Build containers\n\non:\n    workflow_dispatch:\n    push:\n        paths:\n            - 'docker/*'\n            - '.github/workflows/build-docker.yml'\n            - 'src/**/*'\n            - 'requirements*.txt'\n            - 'pyproject.toml'\n            - 'setup.py'\n            - 'scripts/convert-requirements-to-conda-yml.py'\n\nconcurrency:\n    # make sure only one run of this workflow for a given PR or a given branch\n    # can happen at one time. previous queued or started runs will be cancelled.\n    # github.workflow is the workflow name\n    # github.ref is the ref that triggered the workflow run\n    # on push, this is refs/heads/<branch name>\n    # on pull request, this is refs/pull/<pull request number>/merge\n    group: ${{ github.workflow }}-${{ github.ref }}\n    cancel-in-progress: true\n\ndefaults:\n    run:\n        shell: bash -l {0}\n\nenv:\n    # Customize this name if needed.\n    # The repo name is a very reasonable default!\n    CONTAINER_NAME: invest\n\njobs:\n    build:\n        name: Build containers\n        runs-on: ubuntu-latest\n        permissions:\n            packages: write\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: login to GitHub Container Registry\n              uses: docker/login-action@v2\n              with:\n                  registry: ghcr.io\n                  username: ${{ github.actor }}\n                  password: ${{ secrets.GITHUB_TOKEN }}\n\n            - name: Create environment file\n              run: |\n                  python scripts/convert-requirements-to-conda-yml.py requirements.txt > docker/environment.yml\n\n            - name: Build docker\n              run: |\n                  # Replace / (invalid tag character) with .\n                  SANITIZED_REF=\"$(echo ${{github.ref_name}} | sed 's|/|.|g')\"\n                  cd docker && docker build \\\n                        --build-arg=\"INVEST_REPO=${{ github.repository }}\" \\\n                        --build-arg=\"INVEST_VERSION=${{ github.sha }}\" \\\n                        -t ghcr.io/${{ github.repository_owner }}/${{ env.CONTAINER_NAME }}:latest \\\n                        -t ghcr.io/${{ github.repository_owner }}/${{ env.CONTAINER_NAME }}:${{ github.sha }} \\\n                        -t ghcr.io/${{ github.repository_owner }}/${{ env.CONTAINER_NAME }}:${SANITIZED_REF} \\\n                        .\n\n            - name: Test that GDAL and InVEST import\n              run: |\n                  docker run --rm ghcr.io/${{ github.repository_owner }}/${{ env.CONTAINER_NAME }}:latest python -c \"from osgeo import gdal\"\n                  docker run --rm ghcr.io/${{ github.repository_owner }}/${{ env.CONTAINER_NAME }}:latest python -m natcap.invest --version\n\n            - name: Push docker\n              if: github.event_name != 'pull_request'\n              run: docker image push --all-tags ghcr.io/${{ github.repository_owner }}/${{ env.CONTAINER_NAME }}\n", "state": "active", "repository": "natcap/invest"}
{"mined_at": "2024-07-15T14:54:15.164701", "created_at": "2023-05-11T21:41:16+02:00", "updated_at": "2023-05-11T21:41:16+02:00", "name": "Release (Part 1 of 2)", "path": ".github/workflows/release-part-1.yml", "contents": "name: Release (Part 1 of 2)\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        required: true\n        type: string\n\nenv:\n  VERSION: ${{ inputs.version }}\n  AUTORELEASE_BRANCH: autorelease/${{ inputs.version }}\n  # use a personal access token here which has permissions to trigger further actions\n  # this is necessary for the pr checks\n  GITHUB_TOKEN: ${{ secrets.AUTORELEASE_BOT_PAT }}\n\njobs:\n  start-release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.AUTORELEASE_BOT_PAT }}\n\n      - name: Configure git\n        run: |\n          git config user.name \"GitHub Actions\"\n          git config user.email \"<>\"\n\n      # Members of the natcap software team can push to the autorelease branch on\n      # natcap/invest; this branch is a special case for our release process.\n      - name: Create autorelease branch\n        run: git checkout -b \"$AUTORELEASE_BRANCH\"\n\n      # Replace\n      #\n      # Unreleased Changes\n      # ------------------\n      #\n      # with\n      #\n      # ..\n      #   Unreleased Changes\n      #   ------------------\n      #\n      # X.X.X (XXXX-XX-XX)\n      # ------------------\n      - name: Update HISTORY.rst\n        run: |\n          HEADER=\"$VERSION ($(date '+%Y-%m-%d'))\"\n          HEADER_LENGTH=${#HEADER}\n          UNDERLINE=$(for i in $(seq 1 $HEADER_LENGTH); do echo -n \"-\"; done)\n          perl -0777 -i -pe \\\n              \"s/Unreleased Changes\\n------------------/..\\n  Unreleased Changes\\n  ------------------\\n\\n${HEADER}\\n${UNDERLINE}/g\" \\\n              HISTORY.rst\n          git add HISTORY.rst\n          git commit -m \"Committing the $VERSION release.\"\n\n      - name: Tag and push\n        run: |\n          git tag $VERSION\n          git push --atomic origin $AUTORELEASE_BRANCH $VERSION\n\n      - name: Find actions run for the version tag\n        run: |\n          # wait a few seconds to make sure the actions run exists before querying it\n          sleep 5\n          echo \"TAG_RUN_URL=$( \\\n            gh run list \\\n              --branch $VERSION \\\n              --limit 1 \\\n              --json url \\\n              --jq .[].url)\" >> $GITHUB_ENV\n\n      - name: Create a PR from the autorelease branch into main\n        run: |\n          gh pr create \\\n            --base main \\\n            --head $AUTORELEASE_BRANCH \\\n            --title \"$VERSION release\" \\\n            --reviewer $GITHUB_ACTOR \\\n            --assignee $GITHUB_ACTOR \\\n            --body \"\n            # Release $VERSION and merge into \\`main\\`\n\n            This PR contains automated changes made for the $VERSION release.\n\n            Merging this PR will trigger an action that publishes the \\\n            release. Closing this PR without merging will trigger an action that \\\n            rolls back any release steps that have completed so far.\n\n            ## Review this PR\n            - [ ] Make sure that the automated changes look correct\n            - [ ] Wait for BOTH the PR checks below AND the [$VERSION tag checks]($TAG_RUN_URL) \\\n                  to complete. The $VERSION tag workflow is most important \\\n                  because it produces the artifacts that will be used in the \\\n                  next steps of the release process.\n            - [ ] Download and try out the [tag build artifacts]($TAG_RUN_URL)\n\n            **If everything looks good**, approve and merge this PR. This will \\\n            trigger a Github Action that will publish the release. Then go \\\n            back to the [Release Checklist](https://github.com/natcap/invest/wiki/Release-Checklist) \\\n            and complete any remaining tasks.\n\n            **If there is a bug**, decline this PR. Submit a fix in a separate \\\n            PR into \\`main\\`. Once the fix has been merged, restart the release \\\n            process from the beginning.\n\n            **If either workflow fails due to an intermittent problem**, \\\n            rerun it through the GitHub UI. Proceed to approve and merge this \\\n            PR once it succeeds.\"\n\n      - name: Roll back on failure\n        if: failure()\n        uses: ./.github/actions/rollback_release\n        with:\n          VERSION: ${{ env.VERSION }}\n          GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}\n", "state": "active", "repository": "natcap/invest"}
{"mined_at": "2024-07-15T14:54:16.372239", "created_at": "2023-05-11T21:41:08+02:00", "updated_at": "2023-05-11T21:41:08+02:00", "name": "Release (Part 2 of 2)", "path": ".github/workflows/release-part-2.yml", "contents": "name: Release (Part 2 of 2)\n\non:\n  # this workflow will run any time any PR into main is closed\n  pull_request:\n    types: [closed]\n    branches:\n      - main\n\n  workflow_dispatch:\n    inputs:\n      version:\n        required: true\n        type: string\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.AUTORELEASE_BOT_PAT }}\n\njobs:\n  roll_back_release:\n    # run this job if a PR from an autorelease branch into main was closed without merging\n    if: startsWith(github.head_ref, 'autorelease') && github.event.pull_request.merged != true\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Extract version from autorelease branch name\n        run: echo \"VERSION=$(echo ${{ github.head_ref }} | cut -c 13-)\" >> $GITHUB_ENV\n\n      - name: Roll back on failure\n        uses: ./.github/actions/rollback_release\n        with:\n          VERSION: ${{ env.VERSION }}\n          GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}\n\n  publish_release:\n    # run this job if a PR was merged from an autorelease branch into main\n    # or if manually triggered, github.head_ref is undefined\n    if: ${{ ! github.head_ref || (startsWith(github.head_ref, 'autorelease') && github.event.pull_request.merged == true) }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install dependencies\n        run: pip install twine\n\n      - name: Extract version from autorelease branch name\n        if: ${{ github.head_ref }}\n        run: echo \"VERSION=$(echo ${{ github.head_ref }} | cut -c 13-)\" >> $GITHUB_ENV\n\n      - name: Get version from manual trigger input\n        if: ${{ ! github.head_ref }}\n        run: echo \"VERSION=${{ inputs.version }}\" >> $GITHUB_ENV\n\n      - name: Find actions run for the $VERSION tag\n        run: |\n          echo \"RUN_ID=$( \\\n            gh run list \\\n              --branch $VERSION \\\n              --workflow 'Run Tests and Build' \\\n              --limit 1 \\\n              --json databaseId \\\n              --jq .[].databaseId)\" >> $GITHUB_ENV\n\n      - name: Download release artifacts\n        run: |\n          mkdir artifacts\n          # this will download a folder containing each artifact\n          gh run download $RUN_ID --dir artifacts --pattern \"Wheel for *\"\n          # move the artifacts out of the folders\n          mv artifacts/*/* artifacts\n          rm -rf artifacts/Wheel*\n\n          # download each artifact separately so that the command will fail if any is missing\n          for artifact in Workbench-Windows-binary \\\n                          Workbench-macOS-binary \\\n                          InVEST-sample-data \\\n                          InVEST-user-guide \\\n                          \"Source distribution\"\n          do\n            gh run download $RUN_ID --dir artifacts --name \"$artifact\"\n          done\n\n      - name: Create Github release\n        run: |\n          # Copy the history notes for this version into the release message\n          echo \"This release includes the following fixes and features:\" > notes.rst\n          echo \"\" >> notes.rst\n          sed -n \"/$VERSION/,/^$/p\" HISTORY.rst | tail -n +3 >> notes.rst\n          gh release create $VERSION \\\n            --verify-tag \\\n            --title $VERSION \\\n            --notes-file notes.rst \\\n            artifacts/*\n\n      - name: Create a PyPI release\n        # this is the only step that can't be rolled back\n        run: |\n          twine upload \\\n            --username=\"__token__\" \\\n            --password=${{ secrets.PYPI_NATCAP_INVEST_TOKEN }} \\\n            artifacts/natcap.invest*\n\n      - name: Roll back on failure\n        if: failure()\n        uses: ./.github/actions/rollback_release\n        with:\n          VERSION: ${{ env.VERSION }}\n          GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}\n", "state": "active", "repository": "natcap/invest"}
{"mined_at": "2024-07-15T14:54:18.353981", "created_at": "2024-05-22T10:49:08+02:00", "updated_at": "2024-06-18T14:00:10+02:00", "name": "Test Upload Python Package", "path": ".github/workflows/python-publish-test.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Test Upload Python Package\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: python -m build\n      - name: Publish package 📦️ on PyPi Test\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TEST_API_TOKEN }}\n          verbose: true\n          skip-existing: true\n          repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "heprom/pymicro"}
{"mined_at": "2024-07-15T14:54:19.370178", "created_at": "2024-06-18T14:00:10+02:00", "updated_at": "2024-06-18T14:00:10+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: python -m build\n      - name: Publish package 📦️ on PyPi\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          verbose: true\n          skip-existing: true\n          repository-url: https://upload.pypi.org/legacy/\n", "state": "active", "repository": "heprom/pymicro"}
{"mined_at": "2024-07-15T14:54:20.382444", "created_at": "2024-05-17T15:43:47+02:00", "updated_at": "2024-06-18T14:00:10+02:00", "name": "run-test", "path": ".github/workflows/run-test.yml", "contents": "name: run-test\n\n## run for all branches\n\non:\n  push:\n  workflow_dispatch:\n\njobs:\n  test_and_doc:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install package\n        run: pip install .\n\n      - name: Run tests\n        run: |\n          export PYTHONPATH=$PWD\n          mkdir -p tesdata\n          pytest --junitxml=tesdata/pymicro${{ matrix.python-version }}.xml\n\n      - name: Upload test results\n        uses: actions/upload-artifact@v2\n        with:\n          name: test-results\n          path: tesdata/pymicro${{ matrix.python-version }}.xml\n", "state": "active", "repository": "heprom/pymicro"}
{"mined_at": "2024-07-15T14:54:22.449923", "created_at": "2022-11-23T14:55:52+01:00", "updated_at": "2022-11-23T14:55:52+01:00", "name": "Build", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Build\n\non:\n  release:\n    types: [released]\n  # push:\n  #   branches:\n  #     - master\n  # pull_request:\n  workflow_dispatch:\n\nenv:\n  CIBW_SKIP: pp*  # only build CPython wheels\n  CIBW_ARCHS: auto64 # don't bother with 32bit wheels\n\njobs:\n  # build_wheels:\n  #   name: wheels on ${{ matrix.os }}\n  #   runs-on: ${{ matrix.os }}\n  #   strategy:\n  #     matrix:\n  #       os: [ubuntu-latest, macos-latest]\n  #   steps:\n  #     - name: Checkout code\n  #       uses: actions/checkout@v3\n  #       with:\n  #         fetch-depth: 0\n  #     - name: Build wheels\n  #       uses: pypa/cibuildwheel@v2.11.2\n  #     - uses: actions/upload-artifact@v3\n  #       with:\n  #         path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Build sdist\n        run: |\n          pip install build\n          python -m build --sdist\n      - uses: actions/upload-artifact@v4\n        with:\n          path: dist/*.tar.gz\n\n  upload_pypi:\n    name: upload to PyPI\n    #needs: [build_wheels, build_sdist]\n    needs: [build_sdist]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' &&\n        github.event.ref_type == 'tag' &&\n        github.ref == 'refs/heads/${{ github.event.repository.default_branch }}'\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: artifact\n          path: dist\n      - uses: pypa/gh-action-pypi-publish@v1.5.1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "gbrammer/grizli"}
{"mined_at": "2024-07-15T14:54:23.584976", "created_at": "2022-07-07T00:33:06+02:00", "updated_at": "2022-07-07T00:45:14+02:00", "name": "Python package for jwst-ero branch", "path": ".github/workflows/python-package-ero.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package for jwst-ero branch\n\non:\n  push:\n    branches: [ jwst-ero ]\n  pull_request:\n    branches: [ jwst-ero ]\n\njobs:\n  build:\n\n    #runs-on: ubuntu-latest\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10']\n        os: [ubuntu-latest]\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install wheel\n        python -m pip install flake8 pytest numpy cython\n        \n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        \n        # To generate version.py and compiled utils_c\n        python setup.py build\n        cp build/lib*/grizli/utils_c/*so grizli/utils_c/\n        \n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude \"scripts* build* docs* dist* examples*\"\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude \"scripts* eazy-photoz* astropy_helpers*\"\n    - name: Test with pytest\n      run: |\n        pytest --disable-warnings\n", "state": "active", "repository": "gbrammer/grizli"}
{"mined_at": "2024-07-15T14:54:24.578015", "created_at": "2022-06-08T14:16:26+02:00", "updated_at": "2022-11-21T14:43:50+01:00", "name": "CI", "path": ".github/workflows/python-package-with-jwst.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CI\n\nenv:\n  CRDS_SERVER_URL: https://jwst-crds.stsci.edu\n  CRDS_PATH: $HOME/crds_cache\n  \non:\n  push:\n    branches: [ master ]\n  pull_request:\n\n\njobs:\n  test-jwst:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.10']\n        os: [ubuntu-latest]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install package\n      run: |\n        pip install --upgrade pip\n        pip install .[jwst,test]\n    - name: Test with pytest\n      run: |\n        pytest --pyargs grizli --import-mode importlib\n", "state": "active", "repository": "gbrammer/grizli"}
{"mined_at": "2024-07-15T14:54:25.570835", "created_at": "2021-04-22T13:41:23+02:00", "updated_at": "2022-11-21T14:43:50+01:00", "name": "CI", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10']\n        os: [ubuntu-latest]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Build check\n      run: |\n        pip install build twine\n        python -m build\n        python -m twine check --strict dist/*\n  \n  codestyle:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: ['3.10']\n        os: [ubuntu-latest]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install package\n      run: |\n        pip install flake8\n    - name: Lint with flake8\n      run: |\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10']\n        os: [ubuntu-latest]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install package\n      run: |\n        pip install -e .[test]\n    - name: Test with pytest\n      run: |\n        pytest\n", "state": "active", "repository": "gbrammer/grizli"}
{"mined_at": "2024-07-15T14:54:26.563135", "created_at": "2023-07-19T21:03:30+02:00", "updated_at": "2023-07-19T21:03:30+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "gbrammer/grizli"}
{"mined_at": "2024-07-15T14:54:28.799553", "created_at": "2021-10-08T13:06:17+02:00", "updated_at": "2023-07-13T10:57:18+02:00", "name": "Monitor Tests", "path": ".github/workflows/run-tests-monitor.yml", "contents": "---\nname: Monitor Tests\non:\n  push:\n    branches:\n      - main\n  # run the test only if the PR is to main\n  # turn it on if required\n  #pull_request:\n  #  branches:\n  #  - main\n  schedule:\n    - cron: '0 0 * * *'  # nightly\n\n# Required shell entrypoint to have properly configured bash shell\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  linux:\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n    name: Linux Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: esmvalcore\n          environment-file: environment.yml\n          python-version: ${{ matrix.python-version }}\n          miniforge-version: \"latest\"\n          miniforge-variant: Mambaforge\n          use-mamba: true\n      - run: mkdir -p test_linux_artifacts_python_${{ matrix.python-version }}\n      - run: conda --version 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/conda_version.txt\n      - run: python -V 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/python_version.txt\n      - run: pip install pytest-monitor\n      - run: pip install -e .[develop] 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/install.txt\n      - run: pytest -n 2 -m \"not installation\" --db ../.pymon 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/test_report.txt\n      - run: python tests/parse_pymon.py\n      - name: Upload artifacts\n        if: ${{ always() }}  # upload artifacts even if fail\n        uses: actions/upload-artifact@v4\n        with:\n          name: Test_Linux_python_${{ matrix.python-version }}\n          path: test_linux_artifacts_python_${{ matrix.python-version }}\n\n  osx:\n    runs-on: \"macos-latest\"\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        architecture: [\"x64\"]  # need to force Intel, arm64 builds have issues\n      fail-fast: false\n    name: OSX Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          architecture: ${{ matrix.architecture }}\n          activate-environment: esmvalcore\n          environment-file: environment.yml\n          python-version: ${{ matrix.python-version }}\n          miniforge-version: \"latest\"\n          miniforge-variant: Mambaforge\n          use-mamba: true\n      - run: mkdir -p test_osx_artifacts_python_${{ matrix.python-version }}\n      - run: conda --version 2>&1 | tee test_osx_artifacts_python_${{ matrix.python-version }}/conda_version.txt\n      - run: python -V 2>&1 | tee test_osx_artifacts_python_${{ matrix.python-version }}/python_version.txt\n      - run: mamba install -c conda-forge git\n      - run: pip install pytest-monitor\n      - run: pip install -e .[develop] 2>&1 | tee test_osx_artifacts_python_${{ matrix.python-version }}/install.txt\n      - run: conda list\n      - run: pytest -n 2 -m \"not installation\" --db ../.pymon 2>&1 | tee test_osx_artifacts_python_${{ matrix.python-version }}/test_report.txt\n      - run: python tests/parse_pymon.py\n      - name: Upload artifacts\n        if: ${{ always() }}  # upload artifacts even if fail\n        uses: actions/upload-artifact@v4\n        with:\n          name: Test_OSX_python_${{ matrix.python-version }}\n          path: test_osx_artifacts_python_${{ matrix.python-version }}\n", "state": "active", "repository": "esmvalgroup/esmvalcore"}
{"mined_at": "2024-07-15T14:54:30.050738", "created_at": "2021-10-08T14:00:03+02:00", "updated_at": "2023-06-22T14:43:45+02:00", "name": "PyPi Build and Deploy 🐍📦", "path": ".github/workflows/build-and-deploy-on-pypi.yml", "contents": "name: PyPi Build and Deploy 🐍📦\n\non:\n  release:\n    types: [published]\n  # use this for testing\n  push:\n    branches:\n      - main\n\njobs:\n  build-n-publish:\n    name: Build and publish ESMValCore on PyPi\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/project/ESMValCore/\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n      - name: Install pep517\n        run: >-\n          python -m\n          pip install\n          pep517\n          --user\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          pep517.build\n          --source\n          --binary\n          --out-dir dist/\n          .\n      # - name: Publish distribution to Test PyPI\n      #   uses: pypa/gh-action-pypi-publish@release/v1\n      #   with:\n      #     repository-url: https://test.pypi.org/legacy/\n      - name: Publish distribution 📦 to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "esmvalgroup/esmvalcore"}
{"mined_at": "2024-07-15T14:54:31.070127", "created_at": "2021-10-08T14:00:03+02:00", "updated_at": "2021-10-08T14:00:03+02:00", "name": "Install from conda-forge", "path": ".github/workflows/install-from-conda.yml", "contents": "# Install esmvalcore from PyPi on different OS's\n# and different Python version; test locally with\n# act: https://github.com/nektos/act\n# Example how to setup conda workflows:\n# https://github.com/marketplace/actions/setup-miniconda\n# Notes:\n#  - you can group commands with | delimiter (or &&) but those will be run\n#    in one single call; declaring the shell variable makes the action run each\n#    command separately (better for debugging);\n#  - can try multiple shells eg pwsh or cmd /C CALL {0} (but overkill for now!);\n# TODO: read the cron tasking documentation:\n# https://www.netiq.com/documentation/cloud-manager-2-5/ncm-reference/data/bexyssf.html\n\nname: Install from conda-forge\n\n# runs on a push on main and at the end of every day\non:\n  # triggering on push without branch name will run tests every time\n  # there is a push on any branch\n  # turn it on only if needed\n  push:\n    branches:\n      - main\n  # run the test only if the PR is to main\n  # turn it on if required\n  # pull_request:\n  #   branches:\n  #     - main\n  schedule:\n    - cron: '0 4 * * *'\n\n# Required shell entrypoint to have properly configured bash shell\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  linux:\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      # fail-fast set to False allows all other tests\n      # in the workflow to run regardless of any fail\n      fail-fast: false\n    name: Linux Python ${{ matrix.python-version }}\n    steps:\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          miniforge-version: \"latest\"\n          miniforge-variant: Mambaforge\n          use-mamba: true\n      - run: mkdir -p conda_install_linux_artifacts_python_${{ matrix.python-version }}\n      - name: Record versions\n        run: |\n          mamba --version 2>&1 | tee conda_install_linux_artifacts_python_${{ matrix.python-version }}/conda_version.txt\n          which conda 2>&1 | tee conda_install_linux_artifacts_python_${{ matrix.python-version }}/conda_path.txt\n          which mamba 2>&1 | tee -a conda_install_linux_artifacts_python_${{ matrix.python-version }}/conda_path.txt\n          python -V 2>&1 | tee conda_install_linux_artifacts_python_${{ matrix.python-version }}/python_version.txt\n      - name: Install ESMValCore\n        run: mamba install esmvalcore 2>&1 | tee conda_install_linux_artifacts_python_${{ matrix.python-version }}/install.txt\n      - name: Verify installation\n        run: |\n          esmvaltool --help\n          esmvaltool version 2>&1 | tee conda_install_linux_artifacts_python_${{ matrix.python-version }}/version.txt\n      - name: Upload artifacts\n        if: ${{ always() }}  # upload artifacts even if fail\n        uses: actions/upload-artifact@v4\n        with:\n          name: Conda_Install_Linux_python_${{ matrix.python-version }}\n          path: conda_install_linux_artifacts_python_${{ matrix.python-version }}\n\n  osx:\n    runs-on: \"macos-latest\"\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        architecture: [\"x64\"]  # need to force Intel, arm64 builds have issues\n      fail-fast: false\n    name: OSX Python ${{ matrix.python-version }}\n    steps:\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          architecture: ${{ matrix.architecture }}\n          python-version: ${{ matrix.python-version }}\n          miniforge-version: \"latest\"\n          miniforge-variant: Mambaforge\n          use-mamba: true\n      - run: mkdir -p conda_install_osx_artifacts_python_${{ matrix.python-version }}\n      - name: Record versions\n        run: |\n          mamba --version 2>&1 | tee conda_install_osx_artifacts_python_${{ matrix.python-version }}/conda_version.txt\n          which conda 2>&1 | tee conda_install_osx_artifacts_python_${{ matrix.python-version }}/conda_path.txt\n          which mamba 2>&1 | tee -a conda_install_osx_artifacts_python_${{ matrix.python-version }}/conda_path.txt\n          python -V 2>&1 | tee conda_install_osx_artifacts_python_${{ matrix.python-version }}/python_version.txt\n      - name: Install ESMValCore\n        run: mamba install esmvalcore 2>&1 | tee conda_install_osx_artifacts_python_${{ matrix.python-version }}/install.txt\n      - name: Verify installation\n        run: |\n          esmvaltool --help\n          esmvaltool version 2>&1 | tee conda_install_osx_artifacts_python_${{ matrix.python-version }}/version.txt\n      - name: Upload artifacts\n        if: ${{ always() }}  # upload artifacts even if fail\n        uses: actions/upload-artifact@v4\n        with:\n          name: Conda_Install_OSX_python_${{ matrix.python-version }}\n          path: conda_install_osx_artifacts_python_${{ matrix.python-version }}\n", "state": "active", "repository": "esmvalgroup/esmvalcore"}
{"mined_at": "2024-07-15T14:54:32.093050", "created_at": "2021-10-08T14:00:04+02:00", "updated_at": "2021-10-08T14:00:04+02:00", "name": "Install from PyPi", "path": ".github/workflows/install-from-pypi.yml", "contents": "# Install esmvalcore from PyPi on different OS's\n# and different Python version; test locally with\n# act: https://github.com/nektos/act\n# Example how to setup conda workflows:\n# https://github.com/marketplace/actions/setup-miniconda\n# Notes:\n#  - you can group commands with | delimiter (or &&) but those will be run\n#    in one single call; declaring the shell variable makes the action run each\n#    command separately (better for debugging);\n#  - can try multiple shells eg pwsh or cmd /C CALL {0} (but overkill for now!);\n# TODO: read the cron tasking documentation:\n# https://www.netiq.com/documentation/cloud-manager-2-5/ncm-reference/data/bexyssf.html\n\nname: Install from PyPi\n\n# runs on a push on main and at the end of every day\non:\n  # triggering on push without branch name will run tests every time\n  # there is a push on any branch\n  # turn it on only if needed\n  push:\n    branches:\n      - main\n  # run the test only if the PR is to main\n  # turn it on if required\n  #pull_request:\n  #  branches:\n  #  - main\n  schedule:\n    - cron: '0 0 * * *'\n\n# Required shell entrypoint to have properly configured bash shell\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  linux:\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      # fail-fast set to False allows all other tests\n      # in the workflow to run regardless of any fail\n      fail-fast: false\n    name: Linux Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: esmvalcore\n          environment-file: environment.yml\n          python-version: ${{ matrix.python-version }}\n          miniforge-version: \"latest\"\n          miniforge-variant: Mambaforge\n          use-mamba: true\n      - run: mkdir -p pip_install_linux_artifacts_python_${{ matrix.python-version }}\n      - name: Record versions\n        run: |\n          mamba --version 2>&1 | tee pip_install_linux_artifacts_python_${{ matrix.python-version }}/conda_version.txt\n          python -V 2>&1 | tee pip_install_linux_artifacts_python_${{ matrix.python-version }}/python_version.txt\n          pip -V 2>&1 | tee pip_install_linux_artifacts_python_${{ matrix.python-version }}/pip_version.txt\n      - name: Install\n        run: pip install esmvalcore 2>&1 | tee pip_install_linux_artifacts_python_${{ matrix.python-version }}/install.txt\n      - name: Verify installation\n        run: |\n          esmvaltool --help\n          esmvaltool version 2>&1 | tee pip_install_linux_artifacts_python_${{ matrix.python-version }}/version.txt\n      - name: Upload artifacts\n        if: ${{ always() }}  # upload artifacts even if fail\n        uses: actions/upload-artifact@v4\n        with:\n          name: PIP_Install_Linux_python_${{ matrix.python-version }}\n          path: pip_install_linux_artifacts_python_${{ matrix.python-version }}\n\n  osx:\n    runs-on: \"macos-latest\"\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        architecture: [\"x64\"]  # need to force Intel, arm64 builds have issues\n      fail-fast: false\n    name: OSX Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          architecture: ${{ matrix.architecture }}\n          activate-environment: esmvalcore\n          environment-file: environment.yml\n          python-version: ${{ matrix.python-version }}\n          miniforge-version: \"latest\"\n          miniforge-variant: Mambaforge\n          use-mamba: true\n      - run: mkdir -p pip_install_osx_artifacts_python_${{ matrix.python-version }}\n      - name: Record versions\n        run: |\n          mamba --version 2>&1 | tee pip_install_osx_artifacts_python_${{ matrix.python-version }}/conda_version.txt\n          python -V 2>&1 | tee pip_install_osx_artifacts_python_${{ matrix.python-version }}/python_version.txt\n          pip -V 2>&1 | tee pip_install_osx_artifacts_python_${{ matrix.python-version }}/pip_version.txt\n      - name: Install\n        run: pip install esmvalcore 2>&1 | tee pip_install_osx_artifacts_python_${{ matrix.python-version }}/install.txt\n      - name: Verify installation\n        run: |\n          esmvaltool --help\n          esmvaltool version 2>&1 | tee pip_install_osx_artifacts_python_${{ matrix.python-version }}/version.txt\n      - name: Upload artifacts\n        if: ${{ always() }}  # upload artifacts even if fail\n        uses: actions/upload-artifact@v4\n        with:\n          name: PIP_Install_OSX_python_${{ matrix.python-version }}\n          path: pip_install_osx_artifacts_python_${{ matrix.python-version }}\n", "state": "active", "repository": "esmvalgroup/esmvalcore"}
{"mined_at": "2024-07-15T14:54:33.195680", "created_at": "2021-10-08T14:00:04+02:00", "updated_at": "2021-10-08T14:00:04+02:00", "name": "Install from Source", "path": ".github/workflows/install-from-source.yml", "contents": "# Install esmvalcore from source on different OS's\n# and different Python version; test locally with\n# act: https://github.com/nektos/act\n# Example how to setup conda workflows:\n# https://github.com/marketplace/actions/setup-miniconda\n# Notes:\n#  - you can group commands with | delimiter (or &&) but those will be run\n#    in one single call; declaring the shell variable makes the action run each\n#    command separately (better for debugging);\n#  - can try multiple shells eg pwsh or cmd /C CALL {0} (but overkill for now!);\n\nname: Install from Source\n\n# runs on a push on main and at the end of every day\non:\n  # triggering on push without branch name will run tests every time\n  # there is a push on any branch\n  # turn it on only if needed\n  push:\n    branches:\n      - main\n  # run the test only if the PR is to main\n  # turn it on if required\n  #pull_request:\n  #  branches:\n  #  - main\n  schedule:\n    - cron: '0 0 * * *'\n\n# Required shell entrypoint to have properly configured bash shell\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  linux:\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n    name: Linux Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: esmvalcore\n          environment-file: environment.yml\n          python-version: ${{ matrix.python-version }}\n          miniforge-version: \"latest\"\n          miniforge-variant: Mambaforge\n          use-mamba: true\n      - run: mkdir -p source_install_linux_artifacts_python_${{ matrix.python-version }}\n      - name: Record versions\n        run: |\n          mamba --version 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/conda_version.txt\n          python -V 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/python_version.txt\n      - name: Install\n        run: pip install -e .[develop] 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/install.txt\n      - name: Verify installation\n        run: |\n          esmvaltool --help\n          esmvaltool version 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/version.txt\n      - name: Upload artifacts\n        if: ${{ always() }}  # upload artifacts even if fail\n        uses: actions/upload-artifact@v4\n        with:\n          name: Source_Install_Linux_python_${{ matrix.python-version }}\n          path: source_install_linux_artifacts_python_${{ matrix.python-version }}\n\n  osx:\n    runs-on: \"macos-latest\"\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        architecture: [\"x64\"]  # need to force Intel, arm64 builds have issues\n      fail-fast: false\n    name: OSX Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          architecture: ${{ matrix.architecture }}\n          activate-environment: esmvalcore\n          environment-file: environment.yml\n          python-version: ${{ matrix.python-version }}\n          miniforge-version: \"latest\"\n          miniforge-variant: Mambaforge\n          use-mamba: true\n      - run: mkdir -p source_install_osx_artifacts_python_${{ matrix.python-version }}\n      - name: Record versions\n        run: |\n          mamba --version 2>&1 | tee source_install_osx_artifacts_python_${{ matrix.python-version }}/conda_version.txt\n          python -V 2>&1 | tee source_install_osx_artifacts_python_${{ matrix.python-version }}/python_version.txt\n      - name: Force install x64 git\n        run: mamba install -c conda-forge git\n      - name: Install\n        run: pip install -e .[develop] 2>&1 | tee source_install_osx_artifacts_python_${{ matrix.python-version }}/install.txt\n      - name: Verify installation\n        run: |\n          esmvaltool --help\n          esmvaltool version 2>&1 | tee source_install_osx_artifacts_python_${{ matrix.python-version }}/version.txt\n      - name: Upload artifacts\n        if: ${{ always() }}  # upload artifacts even if fail\n        uses: actions/upload-artifact@v4\n        with:\n          name: Source_Install_OSX_python_${{ matrix.python-version }}\n          path: source_install_osx_artifacts_python_${{ matrix.python-version }}\n", "state": "active", "repository": "esmvalgroup/esmvalcore"}
{"mined_at": "2024-07-15T14:54:34.451992", "created_at": "2021-10-08T14:00:04+02:00", "updated_at": "2022-09-23T03:45:39+02:00", "name": "Test", "path": ".github/workflows/run-tests.yml", "contents": "# Install esmvalcore from PyPi on different OS's\n# and different Python version; test locally with\n# act: https://github.com/nektos/act\n# Example how to setup conda workflows:\n# https://github.com/marketplace/actions/setup-miniconda\n# Notes:\n#  - you can group commands with | delimiter (or &&) but those will be run\n#    in one single call; declaring the shell variable makes the action run each\n#    command separately (better for debugging);\n#  - can try multiple shells eg pwsh or cmd /C CALL {0} (but overkill for now!);\n# TODO: read the cron tasking documentation:\n# https://www.netiq.com/documentation/cloud-manager-2-5/ncm-reference/data/bexyssf.html\n\nname: Test\n\n# runs on a push on main and at the end of every day\non:\n  # triggering on push without branch name will run tests every time\n  # there is a push on any branch\n  # turn it on only if needed\n  push:\n    branches:\n      - main\n  # run the test only if the PR is to main\n  # turn it on if required\n  #pull_request:\n  #  branches:\n  #  - main\n  schedule:\n    - cron: '0 0 * * *'  # nightly\n\n# Required shell entrypoint to have properly configured bash shell\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  linux:\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n    name: Linux Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: esmvalcore\n          environment-file: environment.yml\n          python-version: ${{ matrix.python-version }}\n          miniforge-version: \"latest\"\n          miniforge-variant: Mambaforge\n          use-mamba: true\n      - run: mkdir -p test_linux_artifacts_python_${{ matrix.python-version }}\n      - run: conda --version 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/conda_version.txt\n      - run: python -V 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/python_version.txt\n      - run: conda list\n      - run: pip install -e .[develop] 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/install.txt\n      - run: conda list\n      - run: flake8\n      - run: pytest -n 2 -m \"not installation\" 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/test_report.txt\n      - name: Upload artifacts\n        if: ${{ always() }}  # upload artifacts even if fail\n        uses: actions/upload-artifact@v4\n        with:\n          name: Test_Linux_python_${{ matrix.python-version }}\n          path: test_linux_artifacts_python_${{ matrix.python-version }}\n\n  osx:\n    runs-on: \"macos-latest\"\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        architecture: [\"x64\"]  # need to force Intel, arm64 builds have issues\n      fail-fast: false\n    name: OSX Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          architecture: ${{ matrix.architecture }}\n          activate-environment: esmvalcore\n          environment-file: environment.yml\n          python-version: ${{ matrix.python-version }}\n          miniforge-version: \"latest\"\n          miniforge-variant: Mambaforge\n          use-mamba: true\n      - run: mkdir -p test_osx_artifacts_python_${{ matrix.python-version }}\n      - run: conda --version 2>&1 | tee test_osx_artifacts_python_${{ matrix.python-version }}/conda_version.txt\n      - run: python -V 2>&1 | tee test_osx_artifacts_python_${{ matrix.python-version }}/python_version.txt\n      - run: mamba install -c conda-forge git\n      - run: conda list\n      - run: pip install -e .[develop] 2>&1 | tee test_osx_artifacts_python_${{ matrix.python-version }}/install.txt\n      - run: conda list\n      - run: flake8\n      - run: pytest -n 2 -m \"not installation\" 2>&1 | tee test_osx_artifacts_python_${{ matrix.python-version }}/test_report.txt\n      - name: Upload artifacts\n        if: ${{ always() }}  # upload artifacts even if fail\n        uses: actions/upload-artifact@v4\n        with:\n          name: Test_OSX_python_${{ matrix.python-version }}\n          path: test_osx_artifacts_python_${{ matrix.python-version }}\n", "state": "active", "repository": "esmvalgroup/esmvalcore"}
{"mined_at": "2024-07-15T14:54:35.574042", "created_at": "2021-11-11T16:58:36+01:00", "updated_at": "2022-01-25T18:01:24+01:00", "name": "Conda lock file creation", "path": ".github/workflows/create-condalock-file.yml", "contents": "name: Conda lock file creation\n\non:\n  # Trigger on push on main or other branch for testing\n  # NOTE that push: main will create the file very often\n  # and hence lots of automated PRs\n  # push:\n  #   branches:\n  #     - main\n  schedule:\n    - cron: '0 4 */10 * *'\n\n# Required shell entrypoint to have properly configured bash shell\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  create-verify-lock-file:\n    name: Create and verify conda lock file for latest Python\n    runs-on: 'ubuntu-latest'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          activate-environment: esmvaltool-fromlock\n          python-version: \"3.12\"\n          miniforge-version: \"latest\"\n          miniforge-variant: Mambaforge\n          use-mamba: true\n      - name: Update and show conda config\n        run: |\n          conda update -n base -c conda-forge conda\n          conda info\n          conda list\n          conda config --show-sources\n          conda config --show\n          # setup-miniconda@v3 installs an old conda and mamba\n          # forcing a modern mamba updates both mamba and conda\n          conda install -c conda-forge \"mamba>=1.4.8\"\n          conda --version\n          mamba --version\n      - name: Gather Python info\n        run: |\n          which python\n          python --version\n      - name: Install conda-lock\n        run: mamba install -y -c conda-forge conda-lock\n      - name: Check version of conda-lock\n        run: conda-lock --version\n      - name: Create conda lock file for linux-64\n        run: conda-lock lock --platform linux-64 -f environment.yml --mamba --kind explicit\n      - name: Creating environment from lock file\n        run: conda create --name esmvaltool-fromlock --file conda-linux-64.lock\n      - name: Installing pip\n        run: mamba install -y pip\n      - name: Gather pip info\n        run: pip --version\n      - name: Gather Python info again\n        run: |\n          which python\n          python --version\n      - name: Show environment contents\n        run: conda list\n      - name: Install esmvalcore\n        run: pip install -e .[develop]\n      - name: Run basic commands\n        run: |\n          esmvaltool --help\n          esmvaltool version\n      - name: Run flake8\n        run: flake8\n      - name: Run pytests\n        run: pytest -n 2 -m \"not installation\"\n      # Automated PR\n      # see https://github.com/marketplace/actions/create-pull-request\n      - name: Create Automated PR if conda lock file has changed\n        uses: peter-evans/create-pull-request@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          commit-message: Updating Linux condalock file\n          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n          signoff: false\n          branch: condalock-update\n          delete-branch: true\n          title: '[Condalock] Update Linux condalock file'\n          body: |\n            Update condalock file\n            Automatic Pull Request.\n          labels: |\n            testing\n            condalock\n            automatedPR\n          assignees: valeriupredoi\n          reviewers: valeriupredoi\n          draft: false\n", "state": "active", "repository": "esmvalgroup/esmvalcore"}
{"mined_at": "2024-07-15T14:54:36.685291", "created_at": "2021-11-11T16:58:36+01:00", "updated_at": "2022-06-07T17:42:32+02:00", "name": "Conda-lock Install", "path": ".github/workflows/install-from-condalock-file.yml", "contents": "# Install esmvalcore from a conda lock file\n# To build a conda lock file install conda-lock first then\n# run conda-lock lock --platform linux-64 -f environment.yml --mamba\n# (mamba activated for speed). Change platform for osx-64 or win-64.\n# Env creation then happens as per normal use with\n# mamba create --name esmvaltool-fromlock --file conda-linux-64.lock\n# note that pip and conda are NOT installed.\n\nname: Conda-lock Install\non:\n  push:\n    branches:\n      - main\n  # run the test only if the PR is to main\n  # turn it on if required\n  #pull_request:\n  #  branches:\n  #  - main\n  schedule:\n    - cron: '0 0 * * *'\n\n# Required shell entrypoint to have properly configured bash shell\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  linux:\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n    name: Linux Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: esmvaltool-fromlock\n          python-version: ${{ matrix.python-version }}\n          channels: conda-forge\n      - run: mkdir -p source_install_linux_artifacts_python_${{ matrix.python-version }}\n      - run: conda --version 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/conda_version.txt\n      - run: which python\n      - run: python -V 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/python_version.txt\n      - run: conda create --name esmvaltool-fromlock --file conda-linux-64.lock\n      - run: which python\n      - run: pip --version\n      - run: pip install -e .[develop]\n      - run: esmvaltool --help\n      - run: esmvaltool version 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/version.txt\n      - run: flake8\n      - run: pytest -n 2 -m \"not installation\"\n      - name: Upload artifacts\n        if: ${{ always() }}  # upload artifacts even if fail\n        uses: actions/upload-artifact@v4\n        with:\n          name: Source_Install_Linux_python_${{ matrix.python-version }}\n          path: source_install_linux_artifacts_python_${{ matrix.python-version }}\n", "state": "active", "repository": "esmvalgroup/esmvalcore"}
{"mined_at": "2024-07-15T14:54:37.794965", "created_at": "2022-02-03T18:38:06+01:00", "updated_at": "2022-02-03T19:04:08+01:00", "name": "CFF File Validator", "path": ".github/workflows/citation_file_validator.yml", "contents": "# workflow that performs a validity check of CITATION.cff file\n# author: Abel Siqueira, GH: @abelsiqueira\n\nname: CFF File Validator\n\non:\n  push:\n    paths:\n      - CITATION.cff\n  schedule:\n    - cron: '0 0 1 * *'\n\njobs:\n  validate:\n    name: \"validate\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out a copy of the repository\n        uses: actions/checkout@v4\n      - name: Check whether the citation metadata from CITATION.cff is valid\n        uses: citation-file-format/cffconvert-github-action@2.0.0\n        with:\n          args: \"--validate\"\n", "state": "active", "repository": "esmvalgroup/esmvalcore"}
{"mined_at": "2024-07-15T14:54:40.062620", "created_at": "2023-06-14T11:38:14+02:00", "updated_at": "2023-08-04T09:12:59+02:00", "name": "Lint", "path": ".github/workflows/linter.yml", "contents": "name: Lint\n\non:\n  pull_request:\n    branches:\n      - master\n\npermissions:\n  checks: write\n  contents: write\n\njobs:\n  lint-python:\n    name: Lint Python\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Check changed py files\n        id: changed-files\n        uses: tj-actions/changed-files@v41\n        with:\n          files: |\n            **/*.py\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        if: ${{ steps.changed-files.outputs.all_changed_files }}\n        with:\n          python-version: '3.10'\n\n      - name: Install Python dependencies\n        if: ${{ steps.changed-files.outputs.all_changed_files }}\n        run: pip install flake8\n\n      - name: Run flake8 linter\n        if: ${{ steps.changed-files.outputs.all_changed_files }}\n        uses: wearerequired/lint-action@v2\n        with:\n          flake8: true\n          flake8_auto_fix: false\n          flake8_args: ${{ steps.changed-files.outputs.all_changed_files }}\n          continue_on_error: false\n\n", "state": "active", "repository": "dimagi/commcare-cloud"}
{"mined_at": "2024-07-15T14:54:41.291146", "created_at": "2022-05-26T18:19:41+02:00", "updated_at": "2022-07-06T10:09:10+02:00", "name": "commcare-cloud tests", "path": ".github/workflows/tests.yml", "contents": "# This workflow will install Python dependencies, run tests with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: commcare-cloud tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os: [\"ubuntu-22.04\"]\n        python-version: [\"3.10\"]\n\n    runs-on: ${{ matrix.os }}\n\n    env:\n      ANSIBLE_ROLES_PATH: \"~/.ansible/roles\"\n      CI_TEST: 1\n      TEST: main\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set Up Commcare-Cloud Python Version\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        source control/init.sh\n        # Note: the installs must be done in the following order, otherwise the installation of commcare-cloud\n        # tries to install from the commcare-cloud-bootstrap.egg_info directory\n        pip install -e .[test]\n\n        # setup 3.9 for deploy-stack\n        # may be removed when this file is updated to match global_vars/all.yml:python_version\n        sudo add-apt-repository -y ppa:deadsnakes/ppa\n        sudo apt update\n        sudo apt install python3.9 python3.9-venv\n\n        # Install virtualenv as an isolated global executable for deploy-stack in .tests/tests.sh\n        python3 -m pip install --user pipx\n        pipx install virtualenv\n\n    - name: Run tests\n      run: |\n        .tests/tests.sh\n", "state": "active", "repository": "dimagi/commcare-cloud"}
{"mined_at": "2024-07-15T14:54:43.544094", "created_at": "2024-05-06T22:07:58+02:00", "updated_at": "2024-05-06T22:53:13+02:00", "name": "Consistency", "path": ".github/workflows/consistency.yml", "contents": "name: Consistency\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the \"main\" branch\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n  merge_group:\n  workflow_dispatch: {}\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  check-changes:\n    name: Check Changes\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 ## Needed for Changesets to find `main` branch\n          submodules: recursive\n\n      - name: Install pnpm\n        uses: pnpm/action-setup@v2\n\n      - run: git pull --force --no-tags origin main:main\n        name: Get main ref\n\n      - run: pnpm install\n        name: Install dependencies\n\n      - run: pnpm change verify\n        name: Check changelog\n        if: ${{ !startsWith(github.head_ref, 'publish/') && !startsWith(github.head_ref, 'dependabot/') && !startsWith(github.head_ref, 'backmerge/') }}\n\n      - run: pnpm check-version-mismatch\n        name: Check version mismatch\n\n      - run: pnpm lint\n        name: Lint project\n\n      - run: pnpm check-format\n        name: Check formatting\n", "state": "active", "repository": "azure/autorest.python"}
{"mined_at": "2024-07-15T14:54:44.672418", "created_at": "2024-04-16T11:28:08+02:00", "updated_at": "2024-04-16T11:28:08+02:00", "name": "Prepare Auto Release Branch", "path": ".github/workflows/prepare-auto-release-branch.yml", "contents": "name: Prepare Auto Release Branch\n\n# Disable as MS Org doesn't allow github action to create PR anymore. Can be re-added if a solution is found.\non:\n  push:\n    branches:\n      - main\n\nconcurrency: ${{ github.workflow }}-${{ github.ref }}\n\npermissions:\n  contents: write\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v2\n\n      - name: Setup Node.js 18.x\n        uses: actions/setup-node@v2\n        with:\n          node-version: 18.x\n\n      - name: Install pnpm\n        uses: pnpm/action-setup@v2\n\n      - run: pnpm install\n        name: Install dependencies\n\n      - name: Create release branch\n        run: node ./eng/prepare-release-branch.mjs\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "azure/autorest.python"}
{"mined_at": "2024-07-15T14:54:45.678414", "created_at": "2024-07-15T10:54:45+02:00", "updated_at": "2024-07-15T10:54:45+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "azure/autorest.python"}
{"mined_at": "2024-07-15T14:54:47.738838", "created_at": "2021-06-04T13:13:35+02:00", "updated_at": "2021-06-22T10:17:12+02:00", "name": "Pipy", "path": ".github/workflows/pypi_install.yml", "contents": "# Pipy upload strax after a release (or manually).\n# Mostly based on https://github.com/marketplace/actions/pypi-publish\nname: Pipy\n\non:\n  workflow_dispatch:\n  release:\n    types: [created]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      # Setup steps\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Install dependencies\n        run: pip install wheel\n      - name: Build package\n        run: python setup.py sdist bdist_wheel\n      # Do the publish\n      - name: Publish a Python distribution to PyPI\n        # Might want to add but does not work on workflow_dispatch :\n        # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user:  ${{ secrets.pipy_token }}\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "axfoundation/strax"}
{"mined_at": "2024-07-15T14:54:48.784760", "created_at": "2021-06-04T13:13:35+02:00", "updated_at": "2023-04-29T18:41:41+02:00", "name": "tests", "path": ".github/workflows/pytest.yml", "contents": "# Test strax on each PR\nname: tests\n\n# Trigger this code when a new release is published\non:\n  workflow_dispatch:\n  release:\n    types: [ created ]\n  pull_request:\n    branches:\n      - master\n      - stable\n  push:\n    branches:\n      - master\n\njobs:\n  update:\n    name: \"${{ matrix.test }}_py${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9, \"3.10\"]\n        test: ['coveralls', 'pytest']\n        # Installation on py3.10 is rather slow at the moment\n        exclude:\n          - python-version: \"3.11\"\n            test: coveralls\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: 'extra_requirements/requirements-tests.txt'\n      - name: Install dependencies\n        run: sudo apt-get install -y graphviz\n      - name: Install requirements\n        run: pip install -r extra_requirements/requirements-tests.txt\n      - name: Start MongoDB\n        uses: supercharge/mongodb-github-action@1.10.0\n        with:\n          mongodb-version: 4.2\n      # Perform coveralls (if coverage is set to True) or pytest\n      - name: Test package\n        if: matrix.test == 'pytest'\n        env:\n          TEST_MONGO_URI: 'mongodb://localhost:27017/'\n        run: |\n          pytest -v --durations 0\n      - name: Coverage run\n        if: matrix.test == 'coveralls'\n        env:\n          NUMBA_DISABLE_JIT: 1\n          TEST_MONGO_URI: 'mongodb://localhost:27017/'\n        run: |\n          coverage run --source=strax setup.py test -v\n      - name: Coverage run - backward compatibility check with straxen\n        if: matrix.test == 'coveralls'\n        env:\n          NUMBA_DISABLE_JIT: 1\n          TEST_MONGO_URI: 'mongodb://localhost:27017/'\n        run: |\n          echo \"clone straxen\"\n          straxen_dir=\"../straxen/\"\n          git clone --single-branch --branch master https://github.com/XENONnT/straxen.git $straxen_dir\n          bash $straxen_dir/.github/scripts/create_pre_apply_function.sh $HOME\n          pip install -e $straxen_dir  # Reinstall since tests might reflect new code.\n          echo \"Run straxen tests\"\n          coverage run --append --source=strax -m pytest $straxen_dir\n          coverage report\n      - name: Coveralls upload\n        if: matrix.test == 'coveralls'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          coverage report\n          coveralls --service=github\n      - name: goodbye\n        run: echo goodbye\n", "state": "active", "repository": "axfoundation/strax"}
{"mined_at": "2024-07-15T14:54:49.816789", "created_at": "2021-10-21T09:16:31+02:00", "updated_at": "2021-10-28T15:33:27+02:00", "name": "Installation test", "path": ".github/workflows/test_install.yml", "contents": "# Test if we can actually install strax by installing\nname: Installation test\n\non:\n  workflow_dispatch:\n  release:\n    types: [created]\n  pull_request:\n    branches:\n      - master\n      - stable\n  push:\n    branches:\n      - master\n\njobs:\n  update:\n    name: \"py${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9, \"3.10\"]\n    steps:\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: pre-install requirements\n        run: pip install -r requirements.txt\n      - name: Install strax\n        run: python setup.py install\n      - name: Test import\n        run: python -c \"import strax; print(strax.__version__)\"\n      - name: goodbye\n        run: echo goodbye\n", "state": "active", "repository": "axfoundation/strax"}
{"mined_at": "2024-07-15T14:54:51.942972", "created_at": "2021-11-03T15:58:00+01:00", "updated_at": "2021-11-03T15:58:00+01:00", "name": "build docs", "path": ".github/workflows/docs.yaml", "contents": "name: build docs\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\non:\n  push:\n    branches:\n      - 'main'\n      - 'release/*'\n    tags:\n      - 'v*'\n  pull_request:\n  merge_group:\n    branches: ['main']\n\njobs:\n  builddocs:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          - os: windows-latest\n            python-version: \"3.10\"\n          - os: windows-latest\n            python-version: \"3.11\"\n          - os: windows-latest\n            python-version: \"3.12\"\n    env:\n      DISPLAY: ':99.0'\n      OS: ${{ matrix.os }}\n      UPLOAD_TO_GHPAGES: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}\n    steps:\n    - uses: actions/checkout@v4.1.7\n      with:\n        fetch-depth: '0'\n        # if we upload to ghpages we need the full\n        # history to generate correct version info\n      if: ${{ fromJSON(env.UPLOAD_TO_GHPAGES) }}\n    - uses: actions/checkout@v4.1.7\n      if: ${{ !fromJSON(env.UPLOAD_TO_GHPAGES) }}\n    - name: setup ubuntu-latest xvfb\n      uses: ./.github/actions/setup-ubuntu-latest-xvfb\n      if: runner.os == 'Linux'\n    - name: install pandoc linux\n      run: sudo apt install pandoc\n      if: runner.os == 'Linux'\n    - name: Install pandoc on windows\n      uses: crazy-max/ghaction-chocolatey@v3.0.0\n      with:\n        args: install pandoc\n      if: runner.os == 'Windows'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n          requirements.txt\n    - name: upgrade pip setuptools wheel\n      run: python -m pip install --upgrade pip setuptools wheel\n      shell: bash\n    - name: install qcodes\n      run: pip install .[docs] -c requirements.txt\n    - name: Build docs on linux\n      run: |\n        cd docs\n        export SPHINXOPTS=\"-W -v\"\n        make html\n      if: runner.os == 'Linux'\n    - name: Build docs on windows\n      run: |\n        cd docs\n        $env:SPHINXOPTS = \"-W -v\"\n        ./make.bat html\n      if: runner.os == 'Windows'\n    - name: Upload build docs\n      uses: actions/upload-artifact@v4\n      with:\n        name: docs_${{ matrix.python-version }}_${{ matrix.os }}\n        path: ${{ github.workspace }}/docs/_build/html\n    - name: Deploy to gh pages\n      uses: JamesIves/github-pages-deploy-action@v4.6.1\n      with:\n        branch: gh-pages\n        folder: ${{ github.workspace }}/docs/_build/html\n        clean: true\n        single-commit: true\n        git-config-email: \"bot\"\n        git-config-name: \"Documentation Bot\"\n      if: ${{ fromJSON(env.UPLOAD_TO_GHPAGES) }}\n", "state": "active", "repository": "qcodes/qcodes_contrib_drivers"}
{"mined_at": "2024-07-15T14:54:52.976573", "created_at": "2021-11-03T15:58:00+01:00", "updated_at": "2021-11-03T15:58:00+01:00", "name": "Run mypy and pytest", "path": ".github/workflows/pytest.yaml", "contents": "name: Run mypy and pytest\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\non:\n  push:\n    branches:\n      - 'main'\n      - 'release/*'\n      - 'staging'\n      - 'trying'\n    tags:\n      - 'v*'\n  pull_request:\n  merge_group:\n    branches: ['main']\n\njobs:\n  pytestmypy:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          - os: windows-latest\n            python-version: \"3.10\"\n          - os: windows-latest\n            python-version: \"3.11\"\n          - os: windows-latest\n            python-version: \"3.12\"\n    env:\n      DISPLAY: ':99.0'\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n\n    steps:\n    - uses: actions/checkout@v4.1.7\n      with:\n        submodules: true\n    - name: setup ubuntu-latest xvfb\n      uses: ./.github/actions/setup-ubuntu-latest-xvfb\n      if: runner.os == 'Linux'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n          requirements.txt\n    - name: upgrade pip setuptools wheel\n      run: python -m pip install --upgrade pip setuptools wheel\n      shell: bash\n    - name: install package\n      run: |\n        pip install .[test] -c requirements.txt\n    - name: Run Mypy\n      run: mypy src\n    - name: Run tests\n      run: |\n        pytest --cov=qcodes_contrib_drivers --cov-report xml --cov-config=pyproject.toml tests\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4.5.0\n      with:\n        file: ./coverage.xml\n        env_vars: OS,PYTHON\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "qcodes/qcodes_contrib_drivers"}
{"mined_at": "2024-07-15T14:54:53.995294", "created_at": "2021-11-03T15:58:00+01:00", "updated_at": "2021-11-03T15:58:00+01:00", "name": "Upload Python Package", "path": ".github/workflows/upload_to_pypi.yaml", "contents": "name: Upload Python Package\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    environment: pypi-release-env\n    steps:\n    - uses: actions/checkout@v4.1.7\n    - name: Set up Python\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: '3.10'\n    - name: Install build deps\n      run: pip install --upgrade pip setuptools wheel build\n    - name: Build\n      run: |\n        python -m build\n    - name: Install Twine\n      run: pip install twine\n    - name: Publish to pypi\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n", "state": "active", "repository": "qcodes/qcodes_contrib_drivers"}
{"mined_at": "2024-07-15T14:54:55.009277", "created_at": "2024-07-15T03:12:22+02:00", "updated_at": "2024-07-15T03:12:22+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "qcodes/qcodes_contrib_drivers"}
{"mined_at": "2024-07-15T14:54:56.241650", "created_at": "2021-12-21T11:39:48+01:00", "updated_at": "2021-12-21T11:39:48+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "qcodes/qcodes_contrib_drivers"}
{"mined_at": "2024-07-15T14:54:58.494316", "created_at": "2023-06-09T17:48:46+02:00", "updated_at": "2023-06-09T17:48:46+02:00", "name": "build oSparc base images", "path": ".github/workflows/ci-base-images.yml", "contents": null, "state": "active", "repository": "itisfoundation/osparc-simcore"}
{"mined_at": "2024-07-15T14:54:59.517934", "created_at": "2020-02-14T14:36:32+01:00", "updated_at": "2020-02-14T14:36:32+01:00", "name": "Github-CI-Release", "path": ".github/workflows/ci-release.yml", "contents": "name: Github-CI-Release\n\non:\n  push:\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]+\n\nenv:\n  # secrets can be set in settings/secrets on github\n  DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }}\n  DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n  DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  deploy:\n    name: deploy release\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    env:\n      TO_TAG_PREFIX: release-github\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: find branch name\n        shell: bash\n        run: echo \"BRANCH_NAME=$(git name-rev --refs=\"refs/remotes/origin/master\" --refs=\"refs/remotes/origin/hotfix_v*\" --refs=\"refs/remotes/origin/hotfix_staging_*\" --name-only ${GITHUB_SHA})\" >> $GITHUB_ENV\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n      - name: set owner variable\n        run: echo \"OWNER=${GITHUB_REPOSITORY%/*}\" >> $GITHUB_ENV\n      - name: set git tag\n        run: echo \"GIT_TAG=${GITHUB_REF##*/}\" >> $GITHUB_ENV\n      - name: show system environs\n        if: github.event_name == 'push'\n        run: ./ci/helpers/show_system_versions.bash\n      - name: source image is staging\n        run: echo \"FROM_TAG_PREFIX=staging-github\" >> $GITHUB_ENV\n      - if: contains(env.BRANCH_NAME, 'remotes/origin/hotfix_v')\n        name: source image is hotfix (instead of staging)\n        run: echo \"FROM_TAG_PREFIX=hotfix-github\" >> $GITHUB_ENV\n      - name: deploy\n        run: ./ci/deploy/dockerhub-tag-version.bash\n", "state": "active", "repository": "itisfoundation/osparc-simcore"}
{"mined_at": "2024-07-15T14:55:00.749072", "created_at": "2020-09-01T10:32:49+02:00", "updated_at": "2020-09-01T10:32:49+02:00", "name": "Github-CI-Staging", "path": ".github/workflows/ci-staging.yml", "contents": "name: Github-CI-Staging\n\non:\n  push:\n    tags:\n      - staging_[a-zA-Z0-9]+[0-9]+\n\nenv:\n  # secrets can be set in settings/secrets on github\n  DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }}\n  DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n  DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  deploy:\n    name: deploy staging\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    env:\n      TO_TAG_PREFIX: staging-github\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: find branch name\n        shell: bash\n        run: echo \"BRANCH_NAME=$(git name-rev --refs=\"refs/remotes/origin/master\" --refs=\"refs/remotes/origin/hotfix_v*\" --refs=\"refs/remotes/origin/hotfix_staging_*\" --name-only ${GITHUB_SHA})\" >> $GITHUB_ENV\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n      - name: set owner variable\n        run: echo \"OWNER=${GITHUB_REPOSITORY%/*}\" >> $GITHUB_ENV\n      - name: set git tag\n        run: echo \"GIT_TAG=${GITHUB_REF##*/}\" >> $GITHUB_ENV\n      - name: show system environs\n        if: github.event_name == 'push'\n        run: ./ci/helpers/show_system_versions.bash\n      - name: source image is master\n        run: echo \"FROM_TAG_PREFIX=master-github\" >> $GITHUB_ENV\n      - if: contains(env.BRANCH_NAME, 'remotes/origin/hotfix_staging_')\n        name: source image is hotfix-staging (instead of master)\n        run: echo \"FROM_TAG_PREFIX=hotfix-staging-github\" >> $GITHUB_ENV\n      - name: deploy\n        run: ./ci/deploy/dockerhub-tag-version.bash\n", "state": "active", "repository": "itisfoundation/osparc-simcore"}
{"mined_at": "2024-07-15T14:55:01.877137", "created_at": "2020-01-14T13:39:06+01:00", "updated_at": "2022-11-08T16:06:53+01:00", "name": "CI", "path": ".github/workflows/ci-testing-deploy.yml", "contents": "name: CI\n# NOTE: this CI workflow is running a number of unit/integration/system tests jobs\n# and also builds a set of \"test\" docker images (required for integration/system tests)\n# if all tests are passing, and the CI runs on the master branch, then it will also deploy\n# the \"test\" docker images to dockerhub registry\n#\n# in PRs: only the jobs that needs to run will be run by detecting file changes\n#\n# NOTE2: to keep the github branch protection simpler, the required jobs are the ones named:\n# unit-tests, integration-tests, and system-tests\n\non:\n  push:\n    branches:\n      - \"*\"\n    tags-ignore:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"*\"\n  # https://github.blog/changelog/2023-02-08-pull-request-merge-queue-public-beta/\n  merge_group:\n    branches:\n      - \"master\"\n\n  workflow_dispatch:\n    inputs:\n      tests:\n        description: tests to run\n        required: true\n        default: \"all\"\n        type: choice\n        options:\n          - unit-tests\n          - integration-tests\n          - system-tests\n          - all\n\nenv:\n  DEFAULT_MAX_NANO_CPUS: 10000000\n  DEFAULT_MAX_MEMORY: 268435456\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  changes:\n    name: detect file changes since last push\n    runs-on: ubuntu-latest\n    # Set job outputs to values from filter step\n    outputs:\n      aws-library: ${{ steps.filter.outputs.aws-library }}\n      dask-task-models-library: ${{ steps.filter.outputs.dask-task-models-library }}\n      models-library: ${{ steps.filter.outputs.models-library }}\n      notifications-library: ${{ steps.filter.outputs.notifications-library }}\n      postgres-database: ${{ steps.filter.outputs.postgres-database }}\n      service-integration: ${{ steps.filter.outputs.service-integration }}\n      service-library: ${{ steps.filter.outputs.service-library }}\n      settings-library: ${{ steps.filter.outputs.settings-library }}\n      simcore-sdk: ${{ steps.filter.outputs.simcore-sdk }}\n      agent: ${{ steps.filter.outputs.agent }}\n      api: ${{ steps.filter.outputs.api }}\n      api-server: ${{ steps.filter.outputs.api-server }}\n      autoscaling: ${{ steps.filter.outputs.autoscaling }}\n      catalog: ${{ steps.filter.outputs.catalog }}\n      clusters-keeper: ${{ steps.filter.outputs.clusters-keeper }}\n      dask-sidecar: ${{ steps.filter.outputs.dask-sidecar }}\n      datcore-adapter: ${{ steps.filter.outputs.datcore-adapter }}\n      director: ${{ steps.filter.outputs.director }}\n      director-v2: ${{ steps.filter.outputs.director-v2 }}\n      dynamic-sidecar: ${{ steps.filter.outputs.dynamic-sidecar }}\n      efs-guardian: ${{ steps.filter.outputs.efs-guardian }}\n      invitations: ${{ steps.filter.outputs.invitations }}\n      migration: ${{ steps.filter.outputs.migration }}\n      osparc-gateway-server: ${{ steps.filter.outputs.osparc-gateway-server }}\n      payments: ${{ steps.filter.outputs.payments }}\n      dynamic-scheduler: ${{ steps.filter.outputs.dynamic-scheduler }}\n      resource-usage-tracker: ${{ steps.filter.outputs.resource-usage-tracker }}\n      static-webserver: ${{ steps.filter.outputs.static-webserver }}\n      storage: ${{ steps.filter.outputs.storage }}\n      webserver: ${{ steps.filter.outputs.webserver }}\n      anything: ${{ steps.filter.outputs.anything }}\n      anything-py: ${{ steps.filter.outputs.anything-py }}\n      anything-js: ${{ steps.filter.outputs.anything-js }}\n    steps:\n      - uses: actions/checkout@v4\n      # For pull requests it's not necessary to checkout the code\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            aws-library:\n              - 'packages/aws-library/**'\n              - 'packages/pytest-simcore/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            dask-task-models-library:\n              - 'packages/dask-task-models-library/**'\n              - 'packages/pytest-simcore/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            models-library:\n              - 'packages/models-library/**'\n              - 'packages/postgres-database/**'\n              - 'packages/pytest-simcore/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            notifications-library:\n              - 'packages/notifications-library/**'\n              - 'packages/postgres-database/**'\n              - 'packages/pytest-simcore/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            postgres-database:\n              - 'packages/postgres-database/**'\n              - 'packages/pytest-simcore/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            service-integration:\n              - 'packages/models-library/**'\n              - 'packages/pytest-simcore/**'\n              - 'packages/service-integration/**'\n              - 'services/docker-compose*'\n            service-library:\n              - 'packages/pytest-simcore/**'\n              - 'packages/service-library/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            settings-library:\n              - 'packages/pytest-simcore/**'\n              - 'packages/settings-library/**'\n              - 'services/docker-compose*'\n            simcore-sdk:\n              - 'packages/**'\n              - 'services/docker-compose*'\n            agent:\n              - 'packages/**'\n              - 'services/agent/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            api:\n              - 'api/**'\n            api-server:\n              - 'packages/**'\n              - 'services/api-server/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            autoscaling:\n              - 'packages/**'\n              - 'services/autoscaling/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            catalog:\n              - 'packages/**'\n              - 'services/catalog/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            clusters-keeper:\n              - 'packages/**'\n              - 'services/clusters-keeper/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            dask-sidecar:\n              - 'packages/**'\n              - 'services/dask-sidecar/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            datcore-adapter:\n              - 'packages/**'\n              - 'services/datcore-adapter/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            director:\n              - 'packages/**'\n              - 'services/director/**'\n              - 'services/docker-compose*'\n            director-v2:\n              - 'packages/**'\n              - 'services/director-v2/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            dynamic-sidecar:\n              - 'packages/**'\n              - 'services/dynamic-sidecar/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            efs-guardian:\n              - 'packages/**'\n              - 'services/efs-guardian/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            invitations:\n              - 'packages/**'\n              - 'services/invitations/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            migration:\n              - 'packages/**'\n              - 'services/migration/**'\n              - 'services/docker-compose*'\n            osparc-gateway-server:\n              - 'packages/**'\n              - 'services/osparc-gateway-server/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            payments:\n                - 'packages/**'\n                - 'services/payments/**'\n                - 'services/docker-compose*'\n                - 'scripts/mypy/*'\n                - 'mypy.ini'\n            dynamic-scheduler:\n                - 'packages/**'\n                - 'services/dynamic-scheduler/**'\n                - 'services/docker-compose*'\n                - 'scripts/mypy/*'\n                - 'mypy.ini'\n            resource-usage-tracker:\n              - 'packages/**'\n              - 'services/resource-usage-tracker/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            static-webserver:\n              - 'services/static-webserver/**'\n              - 'services/docker-compose*'\n            storage:\n              - 'packages/**'\n              - 'services/storage/**'\n              - 'services/docker-compose*'\n              - 'scripts/mypy/*'\n              - 'mypy.ini'\n            webserver:\n              - 'packages/**'\n              - 'services/web/**'\n              - 'services/docker-compose*'\n            anything:\n              - 'packages/**'\n              - 'services/**'\n              - 'tests/**'\n            anything-py:\n              - '**/*.py'\n            anything-js:\n              - '**/*.js'\n  build-test-images:\n    # this step comes first, so that it is executed as first job in push calls\n    # in PR calls this step is anyway skipped\n    needs: changes\n    if: ${{ needs.changes.outputs.anything == 'true' || github.event_name == 'push' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    name: \"[build] docker images\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: expose github runtime for buildx\n        uses: crazy-max/ghaction-github-runtime@v3\n      - name: show system environs\n        run: ./ci/helpers/show_system_versions.bash\n      - name: build images\n        run: |\n          export DOCKER_IMAGE_TAG=$(exec ci/helpers/build_docker_image_tag.bash)\n          mkdir --parents /${{ runner.temp }}/build\n          make build local-dest=/${{ runner.temp }}/build\n      - name: upload build artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n          path: /${{ runner.temp }}/build\n\n  unit-test-webserver-01:\n    needs: changes\n    if: ${{ needs.changes.outputs.webserver == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 25 # if this timeout gets too small, then split the tests\n    name: \"[unit] webserver 01\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install webserver\n        run: ./ci/github/unit-testing/webserver.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/webserver.bash typecheck\n      - name: test isolated\n        if: always()\n        run: ./ci/github/unit-testing/webserver.bash test_isolated\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/webserver.bash test_with_db 01\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-webserver-02:\n    needs: changes\n    if: ${{ needs.changes.outputs.webserver == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 25 # if this timeout gets too small, then split the tests\n    name: \"[unit] webserver 02\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install webserver\n        run: ./ci/github/unit-testing/webserver.bash install\n      - name: test\n        run: ./ci/github/unit-testing/webserver.bash test_with_db 02\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-webserver-03:\n    needs: changes\n    if: ${{ needs.changes.outputs.webserver == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 25 # if this timeout gets too small, then split the tests\n    name: \"[unit] webserver 03\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install webserver\n        run: ./ci/github/unit-testing/webserver.bash install\n      - name: test\n        run: ./ci/github/unit-testing/webserver.bash test_with_db 03\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-storage:\n    needs: changes\n    if: ${{ needs.changes.outputs.storage == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] storage\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/storage.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/storage.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/storage.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-agent:\n    needs: changes\n    if: ${{ needs.changes.outputs.agent == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] agent\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install rclone\n        run: sudo ./ci/github/helpers/install_rclone.bash\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/agent.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/agent.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/agent.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-api:\n    needs: changes\n    if: ${{ needs.changes.outputs.api == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] api\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install api\n        run: ./ci/github/unit-testing/api.bash install\n      - name: test\n        run: ./ci/github/unit-testing/api.bash test\n\n  unit-test-api-server:\n    needs: changes\n    if: ${{ needs.changes.outputs.api-server == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] api-server\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/api-server.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/api-server.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/api-server.bash test\n      - name: OAS backwards compatibility check\n        if: always()\n        run: ./ci/github/unit-testing/api-server.bash openapi-diff\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-autoscaling:\n    needs: changes\n    if: ${{ needs.changes.outputs.autoscaling == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] autoscaling\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/autoscaling.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/autoscaling.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/autoscaling.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-catalog:\n    needs: changes\n    if: ${{ needs.changes.outputs.catalog == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] catalog\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/catalog.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/catalog.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/catalog.bash test\n      - name: upload failed tests logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./services/catalog/test_failures\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-clusters-keeper:\n    needs: changes\n    if: ${{ needs.changes.outputs.clusters-keeper == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] clusters-keeper\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: |\n          make devenv\n          source .venv/bin/activate && \\\n          pushd services/clusters-keeper && \\\n          make install-ci\n      - name: typecheck\n        run: |\n          source .venv/bin/activate && \\\n          pushd services/clusters-keeper && \\\n          make mypy\n      - name: test\n        if: always()\n        run: |\n          source .venv/bin/activate && \\\n          pushd services/clusters-keeper && \\\n          make test-ci-unit\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-datcore-adapter:\n    needs: changes\n    if: ${{ needs.changes.outputs.datcore-adapter == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] datcore-adapter\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/datcore-adapter.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/datcore-adapter.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/datcore-adapter.bash test\n      - name: upload failed tests logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./services/datcore-adapter/test_failures\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-director:\n    needs: changes\n    if: ${{ needs.changes.outputs.director == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] director\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # KEEP 3.6 Development of this service is frozen\n        # KEEP ubuntu 20.04, else no python 3.6\n        python: [3.6]\n        os: [ubuntu-20.04]\n        docker_buildx: [v0.10.4]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/director.bash install\n      - name: test\n        run: ./ci/github/unit-testing/director.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-director-v2:\n    needs: changes\n    if: ${{ needs.changes.outputs.director-v2 == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] director-v2\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/director-v2.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/director-v2.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/director-v2.bash test\n      - name: upload failed tests logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./services/director-v2/test_failures\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-aws-library:\n    needs: changes\n    if: ${{ needs.changes.outputs.aws-library == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] aws-library\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/aws-library.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/aws-library.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/aws-library.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-dask-task-models-library:\n    needs: changes\n    if: ${{ needs.changes.outputs.dask-task-models-library == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] dask-task-models-library\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/dask-task-models-library.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/dask-task-models-library.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/dask-task-models-library.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-dask-sidecar:\n    needs: changes\n    if: ${{ needs.changes.outputs.dask-sidecar == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] dask-sidecar\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/dask-sidecar.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/dask-sidecar.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/dask-sidecar.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-osparc-gateway-server:\n    needs: changes\n    if: ${{ needs.changes.outputs.osparc-gateway-server == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] osparc-gateway-server\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: |\n          make devenv\n          source .venv/bin/activate && \\\n          pushd services/osparc-gateway-server && \\\n          make install-ci\n      - name: typecheck\n        run: |\n          source .venv/bin/activate && \\\n          pushd services/osparc-gateway-server && \\\n          make mypy\n      - name: test\n        if: always()\n        run: |\n          source .venv/bin/activate && \\\n          pushd services/osparc-gateway-server && \\\n          make test-ci-unit\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-payments:\n    needs: changes\n    if: ${{ needs.changes.outputs.payments == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] payments\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/payments.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/payments.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/payments.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-dynamic-scheduler:\n    needs: changes\n    if: ${{ needs.changes.outputs.dynamic-scheduler == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] dynamic-scheduler\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/dynamic-scheduler.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/dynamic-scheduler.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/dynamic-scheduler.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-resource-usage-tracker:\n    needs: changes\n    if: ${{ needs.changes.outputs.resource-usage-tracker == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] resource-usage-tracker\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: |\n          make devenv\n          source .venv/bin/activate && \\\n          pushd services/resource-usage-tracker && \\\n          make install-ci\n      - name: typecheck\n        run: |\n          source .venv/bin/activate && \\\n          pushd services/resource-usage-tracker && \\\n          make mypy\n      - name: test\n        if: always()\n        run: |\n          source .venv/bin/activate && \\\n          pushd services/resource-usage-tracker && \\\n          make test-ci-unit\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-dynamic-sidecar:\n    needs: changes\n    if: ${{ needs.changes.outputs.dynamic-sidecar == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] dynamic-sidecar\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/dynamic-sidecar.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/dynamic-sidecar.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/dynamic-sidecar.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-efs-guardian:\n    needs: changes\n    if: ${{ needs.changes.outputs.efs-guardian == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] efs-guardian\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: |\n          make devenv\n          source .venv/bin/activate && \\\n          pushd services/efs-guardian && \\\n          make install-ci\n      - name: typecheck\n        run: |\n          source .venv/bin/activate && \\\n          pushd services/efs-guardian && \\\n          make mypy\n      - name: test\n        if: always()\n        run: |\n          source .venv/bin/activate && \\\n          pushd services/efs-guardian && \\\n          make test-ci-unit\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-frontend:\n    needs: changes\n    if: ${{ needs.changes.outputs.static-webserver == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] frontend\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        node: [14]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - uses: actions/setup-node@v4.0.2\n        with:\n          node-version: ${{ matrix.node }}\n          cache: \"npm\"\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/frontend.bash install\n      - name: test\n        run: ./ci/github/unit-testing/frontend.bash test\n\n  unit-test-python-linting:\n    needs: changes\n    if: ${{ needs.changes.outputs.anything-py == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] python-linting\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\", \"3.11\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/python-linting.bash install\n      - name: test\n        run: ./ci/github/unit-testing/python-linting.bash test\n\n  unit-test-postgres-database:\n    needs: changes\n    if: ${{ needs.changes.outputs.postgres-database == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] postgres-database\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/postgres-database.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/postgres-database.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/postgres-database.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-invitations:\n    needs: changes\n    if: ${{ needs.changes.outputs.invitations == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] invitations\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/invitations.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/invitations.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/invitations.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-service-integration:\n    needs: changes\n    if: ${{ needs.changes.outputs.service-integration == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] service-integration\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/service-integration.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/service-integration.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/service-integration.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-service-library:\n    needs: changes\n    if: ${{ needs.changes.outputs.service-library == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] service-library\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/service-library.bash install_all\n      - name: typecheck\n        run: ./ci/github/unit-testing/service-library.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/service-library.bash test_all\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-settings-library:\n    needs: changes\n    if: ${{ needs.changes.outputs.settings-library == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] settings-library\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/settings-library.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/settings-library.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/settings-library.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-models-library:\n    needs: changes\n    if: ${{ needs.changes.outputs.models-library == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] models-library\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/models-library.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/models-library.bash typecheck\n      - name: test\n        run: ./ci/github/unit-testing/models-library.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-notifications-library:\n    needs: changes\n    if: ${{ needs.changes.outputs.notifications-library == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit]notifications-library\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n        docker_buildx: [v0.10.4]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          version: ${{ matrix.docker_buildx }}\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"pip\"\n          cache-dependency-path: \"packages/notifications-library/requirements/ci.txt\"\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/notifications-library.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/notifications-library.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/notifications-library.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-test-simcore-sdk:\n    needs: changes\n    if: ${{ needs.changes.outputs.simcore-sdk == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 18 # if this timeout gets too small, then split the tests\n    name: \"[unit] simcore-sdk\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: install rclone\n        run: sudo ./ci/github/helpers/install_rclone.bash\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/unit-testing/simcore-sdk.bash install\n      - name: typecheck\n        run: ./ci/github/unit-testing/simcore-sdk.bash typecheck\n      - name: test\n        if: always()\n        run: ./ci/github/unit-testing/simcore-sdk.bash test\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: unittests #optional\n\n  unit-tests:\n    # NOTE: this is a github required status check!\n    if: ${{ always() }}\n    needs:\n      [\n        unit-test-agent,\n        unit-test-api-server,\n        unit-test-api,\n        unit-test-autoscaling,\n        unit-test-catalog,\n        unit-test-clusters-keeper,\n        unit-test-dask-sidecar,\n        unit-test-aws-library,\n        unit-test-dask-task-models-library,\n        unit-test-datcore-adapter,\n        unit-test-director-v2,\n        unit-test-director,\n        unit-test-dynamic-sidecar,\n        unit-test-efs-guardian,\n        unit-test-frontend,\n        unit-test-models-library,\n        unit-test-notifications-library,\n        unit-test-osparc-gateway-server,\n        unit-test-payments,\n        unit-test-dynamic-scheduler,\n        unit-test-postgres-database,\n        unit-test-python-linting,\n        unit-test-resource-usage-tracker,\n        unit-test-service-integration,\n        unit-test-service-library,\n        unit-test-settings-library,\n        unit-test-simcore-sdk,\n        unit-test-storage,\n        unit-test-webserver-01,\n        unit-test-webserver-02,\n        unit-test-webserver-03,\n      ]\n    runs-on: ubuntu-latest\n    steps:\n      - name: a previous unit-test job failed\n        if: ${{ contains(join(needs.*.result, ','), 'failure') }}\n        run: |\n          echo \"::error title=ERROR::one of the unit-tests failed!\"\n          echo \"${{ join(needs.*.result, ',') }}\"\n          exit 1\n      - name: all the previous unit-tests were run successfully or skipped\n        if: ${{ !contains(join(needs.*.result, ','), 'failure') }}\n        run: echo \"::notice All good!\"\n\n  integration-test-webserver-01:\n    needs: [changes, build-test-images]\n    if: ${{ needs.changes.outputs.anything-py == 'true' || needs.changes.outputs.webserver == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 30 # if this timeout gets too small, then split the tests\n    name: \"[int] webserver 01\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249\n      - name: download docker images with retry\n        uses: Wandalen/wretry.action@master\n        with:\n          action: actions/download-artifact@v4\n          with: |\n            name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n            path: /${{ runner.temp }}/build\n          attempt_limit: 5\n          attempt_delay: 1000\n      - name: load docker images\n        run: make load-images local-src=/${{ runner.temp }}/build\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/integration-testing/webserver.bash install\n      - name: test\n        run: ./ci/github/integration-testing/webserver.bash test 01\n      - name: upload failed tests logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./services/web/server/test_failures\n      - name: cleanup\n        if: always()\n        run: ./ci/github/integration-testing/webserver.bash clean_up\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: integrationtests #optional\n\n  integration-test-webserver-02:\n    needs: [changes, build-test-images]\n    if: ${{ needs.changes.outputs.anything-py == 'true' || needs.changes.outputs.webserver == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 30 # if this timeout gets too small, then split the tests\n    name: \"[int] webserver 02\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: expose github runtime for buildx\n        uses: crazy-max/ghaction-github-runtime@v3\n      # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249\n      - name: download docker images with retry\n        uses: Wandalen/wretry.action@master\n        with:\n          action: actions/download-artifact@v4\n          with: |\n            name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n            path: /${{ runner.temp }}/build\n          attempt_limit: 5\n          attempt_delay: 1000\n      - name: load docker images\n        run: make load-images local-src=/${{ runner.temp }}/build\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/integration-testing/webserver.bash install\n      - name: test\n        run: ./ci/github/integration-testing/webserver.bash test 02\n      - name: upload failed tests logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./services/web/server/test_failures\n      - name: cleanup\n        if: always()\n        run: ./ci/github/integration-testing/webserver.bash clean_up\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: integrationtests #optional\n\n  integration-test-director-v2-01:\n    needs: [changes, build-test-images]\n    if: ${{ needs.changes.outputs.anything-py == 'true' || needs.changes.outputs.director-v2 == 'true' || github.event_name == 'push'}}\n    timeout-minutes: 30 # if this timeout gets too small, then split the tests\n    name: \"[int] director-v2 01\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: expose github runtime for buildx\n        uses: crazy-max/ghaction-github-runtime@v3\n      # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249\n      - name: download docker images with retry\n        uses: Wandalen/wretry.action@master\n        with:\n          action: actions/download-artifact@v4\n          with: |\n            name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n            path: /${{ runner.temp }}/build\n          attempt_limit: 5\n          attempt_delay: 1000\n      - name: load docker images\n        run: make load-images local-src=/${{ runner.temp }}/build\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/integration-testing/director-v2.bash install\n      - name: test\n        run: ./ci/github/integration-testing/director-v2.bash test 01\n      - name: upload failed tests logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./services/director-v2/test_failures\n      - name: cleanup\n        if: always()\n        run: ./ci/github/integration-testing/director-v2.bash clean_up\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: integrationtests #optional\n\n  integration-test-director-v2-02:\n    needs: [changes, build-test-images]\n    if: ${{ needs.changes.outputs.anything-py == 'true' || needs.changes.outputs.director-v2 == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 30 # if this timeout gets too small, then split the tests\n    name: \"[int] director-v2 02\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup rclone docker volume plugin\n        run: sudo ./ci/github/helpers/install_rclone_docker_volume_plugin.bash\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: expose github runtime for buildx\n        uses: crazy-max/ghaction-github-runtime@v3\n      # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249\n      - name: download docker images with retry\n        uses: Wandalen/wretry.action@master\n        with:\n          action: actions/download-artifact@v4\n          with: |\n            name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n            path: /${{ runner.temp }}/build\n          attempt_limit: 5\n          attempt_delay: 1000\n      - name: load docker images\n        run: make load-images local-src=/${{ runner.temp }}/build\n      - name: install rclone\n        run: sudo ./ci/github/helpers/install_rclone.bash\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/integration-testing/director-v2.bash install\n      - name: test\n        run: ./ci/github/integration-testing/director-v2.bash test 02\n      - name: upload failed tests logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./services/director-v2/test_failures\n      - name: cleanup\n        if: always()\n        run: ./ci/github/integration-testing/director-v2.bash clean_up\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: integrationtests #optional\n\n  integration-test-dynamic-sidecar:\n    needs: [changes, build-test-images]\n    if: ${{ needs.changes.outputs.anything-py == 'true' || needs.changes.outputs.dynamic-sidecar == 'true' || github.event_name == 'push'}}\n    timeout-minutes: 30 # if this timeout gets too small, then split the tests\n    name: \"[int] dynamic-sidecar\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: expose github runtime for buildx\n        uses: crazy-max/ghaction-github-runtime@v3\n      # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249\n      - name: download docker images with retry\n        uses: Wandalen/wretry.action@master\n        with:\n          action: actions/download-artifact@v4\n          with: |\n            name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n            path: /${{ runner.temp }}/build\n          attempt_limit: 5\n          attempt_delay: 1000\n      - name: load docker images\n        run: make load-images local-src=/${{ runner.temp }}/build\n      - name: install rclone\n        run: sudo ./ci/github/helpers/install_rclone.bash\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/integration-testing/dynamic-sidecar.bash install\n      - name: test\n        run: ./ci/github/integration-testing/dynamic-sidecar.bash test 01\n      - name: upload failed tests logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./services/dynamic-sidecar/test_failures\n      - name: cleanup\n        if: always()\n        run: ./ci/github/integration-testing/dynamic-sidecar.bash clean_up\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: integrationtests #optional\n\n  integration-test-osparc-gateway-server:\n    needs: [changes, build-test-images]\n    if: ${{ needs.changes.outputs.anything-py == 'true' || needs.changes.outputs.osparc-gateway-server == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 30 # if this timeout gets too small, then split the tests\n    name: \"[int] osparc-gateway-server\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: expose github runtime for buildx\n        uses: crazy-max/ghaction-github-runtime@v3\n      # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249\n      - name: download docker images with retry\n        uses: Wandalen/wretry.action@master\n        with:\n          action: actions/download-artifact@v4\n          with: |\n            name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n            path: /${{ runner.temp }}/build\n          attempt_limit: 5\n          attempt_delay: 1000\n      - name: load docker images\n        run: make load-images local-src=/${{ runner.temp }}/build\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: |\n          make devenv && \\\n          source .venv/bin/activate && \\\n          pushd services/osparc-gateway-server && \\\n          make install-ci\n      - name: integration-test\n        run: |\n          source .venv/bin/activate && \\\n          pushd services/osparc-gateway-server && \\\n          make test-ci-integration\n      - name: system-test\n        run: |\n          source .venv/bin/activate && \\\n          pushd services/osparc-gateway-server && \\\n          make test-system\n      - name: upload failed tests logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./services/director-v2/test_failures\n      - name: cleanup\n        if: always()\n        run: |\n          pushd services/osparc-gateway-server && \\\n          make down\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: integrationtests #optional\n\n  integration-test-simcore-sdk:\n    needs: [changes, build-test-images]\n    if: ${{ needs.changes.outputs.anything-py == 'true' || needs.changes.outputs.simcore-sdk == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 30 # if this timeout gets too small, then split the tests\n    name: \"[int] simcore-sdk\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: install rclone\n        run: sudo ./ci/github/helpers/install_rclone.bash\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249\n      - name: download docker images with retry\n        uses: Wandalen/wretry.action@master\n        with:\n          action: actions/download-artifact@v4\n          with: |\n            name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n            path: /${{ runner.temp }}/build\n          attempt_limit: 5\n          attempt_delay: 1000\n      - name: load docker images\n        run: make load-images local-src=/${{ runner.temp }}/build\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/integration-testing/simcore-sdk.bash install\n      - name: test\n        run: ./ci/github/integration-testing/simcore-sdk.bash test\n      - name: upload failed tests logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./packages/simcore-sdk/test_failures\n      - name: cleanup\n        if: always()\n        run: ./ci/github/integration-testing/simcore-sdk.bash clean_up\n      - uses: codecov/codecov-action@v4.5.0\n        with:\n          flags: integrationtests\n\n  integration-tests:\n    # NOTE: this is a github required status check!\n    if: always()\n    needs:\n      [\n        integration-test-director-v2-01,\n        integration-test-director-v2-02,\n        integration-test-dynamic-sidecar,\n        integration-test-osparc-gateway-server,\n        integration-test-simcore-sdk,\n        integration-test-webserver-01,\n        integration-test-webserver-02,\n      ]\n    runs-on: ubuntu-latest\n    steps:\n      - name: a previous integration-test job failed\n        if: ${{ contains(join(needs.*.result, ','), 'failure') }}\n        run: |\n          echo \"::error title=ERROR::one of the integration-tests failed!\"\n          exit 1\n      - name: all the previous integration-tests were run successfully or skipped\n        if: ${{ !contains(join(needs.*.result, ','), 'failure') }}\n        run: echo \"::notice All good!\"\n\n  system-test-public-api:\n    needs: [changes, build-test-images]\n    if: ${{ needs.changes.outputs.anything == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 25 # if this timeout gets too small, then split the tests\n    name: \"[sys] public api\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: expose github runtime for buildx\n        uses: crazy-max/ghaction-github-runtime@v3\n      # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249\n      - name: download docker images with retry\n        uses: Wandalen/wretry.action@master\n        with:\n          action: actions/download-artifact@v4\n          with: |\n            name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n            path: /${{ runner.temp }}/build\n          attempt_limit: 5\n          attempt_delay: 1000\n      - name: load docker images\n        run: make load-images local-src=/${{ runner.temp }}/build\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: ./ci/github/system-testing/public-api.bash install\n      - name: test\n        run: ./ci/github/system-testing/public-api.bash test\n      - name: upload failed tests logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./test_failures\n      - name: cleanup\n        if: always()\n        run: ./ci/github/system-testing/public-api.bash clean_up\n\n  system-test-swarm-deploy:\n    needs: [changes, build-test-images]\n    if: ${{ needs.changes.outputs.anything == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 30 # if this timeout gets too small, then split the tests\n    name: \"[sys] deploy simcore\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: expose github runtime for buildx\n        uses: crazy-max/ghaction-github-runtime@v3\n      # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249\n      - name: download docker images with retry\n        uses: Wandalen/wretry.action@master\n        with:\n          action: actions/download-artifact@v4\n          with: |\n            name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n            path: /${{ runner.temp }}/build\n          attempt_limit: 5\n          attempt_delay: 1000\n      - name: load docker images\n        run: make load-images local-src=/${{ runner.temp }}/build\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/system-testing/swarm-deploy.bash install\n      - name: test\n        run: ./ci/github/system-testing/swarm-deploy.bash test\n      - name: dump services setting schemas\n        run: export DOCKER_REGISTRY=local; export DOCKER_IMAGE_TAG=production; make settings-schema.json\n      - name: upload services settings schemas\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_services_settings_schemas\n          path: ./services/**/settings-schema.json\n      - name: upload failed tests logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./test_failures\n      - name: cleanup\n        if: always()\n        run: ./ci/github/system-testing/swarm-deploy.bash clean_up\n\n  system-test-e2e:\n    needs: [changes, build-test-images]\n    if: ${{ needs.changes.outputs.anything == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 30 # if this timeout gets too small, then split the tests\n    name: \"[sys] e2e\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        node: [14]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - uses: actions/setup-node@v4.0.2\n        with:\n          node-version: ${{ matrix.node }}\n          cache: \"npm\"\n          cache-dependency-path: \"tests/e2e/package-lock.json\"\n      - name: expose github runtime for buildx\n        uses: crazy-max/ghaction-github-runtime@v3\n      # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249\n      - name: download docker images with retry\n        uses: Wandalen/wretry.action@master\n        with:\n          action: actions/download-artifact@v4\n          with: |\n            name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n            path: /${{ runner.temp }}/build\n          attempt_limit: 5\n          attempt_delay: 1000\n      - name: load docker images\n        run: make load-images local-src=/${{ runner.temp }}/build\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: setup\n        run: ./ci/github/system-testing/e2e.bash install\n      - name: test\n        run: ./ci/github/system-testing/e2e.bash test\n      - name: dump docker logs\n        id: docker_logs_dump\n        if: failure()\n        run: ./ci/github/system-testing/e2e.bash dump_docker_logs\n      - name: upload docker logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./tests/e2e/test_failures\n      - name: upload screenshots\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_screenshots\n          path: tests/e2e/screenshots\n      - name: upload e2e logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_logs\n          path: tests/e2e/logs\n      - name: cleanup\n        if: always()\n        run: ./ci/github/system-testing/e2e.bash clean_up\n\n  system-test-e2e-playwright:\n    needs: [changes, build-test-images]\n    if: ${{ needs.changes.outputs.anything == 'true' || github.event_name == 'push' }}\n    timeout-minutes: 30 # if this timeout gets too small, then split the tests\n    name: \"[sys] e2e-playwright\"\n    runs-on: ${{ matrix.os }}\n    # NOTE: this is an interesting way, but generate a load of issues like not having docker installed, etc etc.\n    # container:\n    #   image: mcr.microsoft.com/playwright/python:v1.39.0-jammy\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: expose github runtime for buildx\n        uses: crazy-max/ghaction-github-runtime@v3\n      - name: download docker images\n        uses: actions/download-artifact@v4\n        with:\n          name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n          path: /${{ runner.temp }}/build\n      - name: load docker images\n        run: make load-images local-src=/${{ runner.temp }}/build\n      - name: prepare devenv\n        run: make devenv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: setup\n        run: |\n          ./ci/github/system-testing/e2e-playwright.bash install\n      - name: test\n        run: |\n          ./ci/github/system-testing/e2e-playwright.bash test\n      - name: dump docker logs\n        id: docker_logs_dump\n        if: failure()\n        run: ./ci/github/system-testing/e2e-playwright.bash dump_docker_logs\n      - name: upload docker logs\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_docker_logs\n          path: ./tests/e2e-playwright/test_failures\n      - name: upload tracing if failed\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}_tracing\n          path: tests/e2e-playwright/test-results\n\n\n  system-test-environment-setup:\n    timeout-minutes: 30 # if this timeout gets too small, then split the tests\n    name: \"[sys] environment setup\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      - name: setup python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: install uv\n        uses: yezz123/setup-uv@v4\n      - uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: ${{ runner.os }}-${{ github.job }}-python-${{ matrix.python }}-uv\n      - name: show system version\n        run: ./ci/helpers/show_system_versions.bash\n      - name: install\n        run: ./ci/github/system-testing/environment-setup.bash install\n      - name: test\n        run: ./ci/github/system-testing/environment-setup.bash test\n      - name: cleanup\n        if: always()\n        run: ./ci/github/system-testing/environment-setup.bash clean_up\n\n  system-tests:\n    # NOTE: this is a github required status check!\n    if: always()\n    needs:\n      [\n        system-test-e2e,\n        system-test-e2e-playwright,\n        system-test-environment-setup,\n        system-test-public-api,\n        system-test-swarm-deploy,\n      ]\n    runs-on: ubuntu-latest\n    steps:\n      - name: a previous system-test job failed\n        if: ${{ contains(join(needs.*.result, ','), 'failure') }}\n        run: |\n          echo \"::error title=ERROR::one of the system-tests failed!\"\n          exit 1\n      - name: all the previous system-tests were run successfully or skipped\n        if: ${{ !contains(join(needs.*.result, ','), 'failure') }}\n        run: echo \"::notice All good!\"\n\n  deploy:\n    name: deploy to dockerhub\n    if: github.event_name == 'push'\n    needs: [unit-tests, integration-tests, system-tests]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python: [\"3.10\"]\n        os: [ubuntu-22.04]\n      fail-fast: false\n    env:\n      # secrets can be set in settings/secrets on github\n      DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }}\n      DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n      DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver: docker-container\n      # FIXME: Workaround for https://github.com/actions/download-artifact/issues/249\n      - name: download docker images with retry\n        uses: Wandalen/wretry.action@master\n        with:\n          action: actions/download-artifact@v4\n          with: |\n            name: docker-buildx-images-${{ runner.os }}-${{ github.sha }}\n            path: /${{ runner.temp }}/build\n          attempt_limit: 5\n          attempt_delay: 1000\n      - name: load docker images\n        run: |\n          make load-images local-src=/${{ runner.temp }}/build\n      - name: set owner variable\n        run: echo \"OWNER=${GITHUB_REPOSITORY%/*}\" >> $GITHUB_ENV\n      - if: github.ref == 'refs/heads/master'\n        name: deploy master image\n        env:\n          TAG_PREFIX: master-github\n        run: ./ci/deploy/dockerhub-deploy.bash -n\n      - if: contains(github.ref, 'refs/heads/hotfix_v')\n        name: deploy release hotfix image\n        env:\n          TAG_PREFIX: hotfix-github\n        run: ./ci/deploy/dockerhub-deploy.bash -n\n      - if: contains(github.ref, 'refs/heads/hotfix_staging_')\n        name: deploy staging hotfix image\n        env:\n          TAG_PREFIX: hotfix-staging-github\n        run: ./ci/deploy/dockerhub-deploy.bash -n\n", "state": "active", "repository": "itisfoundation/osparc-simcore"}
{"mined_at": "2024-07-15T14:55:03.005102", "created_at": "2022-02-11T18:42:42+01:00", "updated_at": "2022-03-16T09:59:03+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "#\n# codeQL       : https://codeql.github.com/docs/codeql-overview/\n# GH-Action    : https://github.com/github/codeql-action\n# LGTM         : https://lgtm.com/#explore\n# codeql-config: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-a-custom-configuration-file\n#\nname: \"CodeQL\"\n\non:\n  schedule:\n    - cron: \"26 5 * * 1\"\n\njobs:\n  analyze:\n    name: Analyze Code\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"javascript\", \"python\"]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL tools for scanning\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          config-file: ./.github/codeql/codeql-config.yml\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "itisfoundation/osparc-simcore"}
{"mined_at": "2024-07-15T14:55:05.358926", "created_at": "2023-09-22T19:30:27+02:00", "updated_at": "2023-09-27T23:11:46+02:00", "name": "Tests", "path": ".github/workflows/actions.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n  release:\n    types: [created]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        backend: [tensorflow, jax, torch, numpy]\n    name: Run tests\n    runs-on: ubuntu-latest\n    env:\n      PYTHON: ${{ matrix.python-version }}\n      KERAS_HOME: .github/workflows/config/${{ matrix.backend }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Check for changes in keras/src/applications\n        uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            applications:\n              - 'keras/src/applications/**'\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python -m pip install --upgrade pip setuptools\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: pip cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}\n      - name: Install dependencies\n        run: |\n          pip install -r requirements.txt --progress-bar off --upgrade\n          pip uninstall -y keras keras-nightly\n          pip install tf_keras==2.16.0 --progress-bar off --upgrade\n          pip install -e \".\" --progress-bar off --upgrade\n      - name: Test applications with pytest\n        if: ${{ steps.filter.outputs.applications == 'true' }}\n        run: |\n          pytest keras/src/applications --cov=keras/src/applications\n          coverage xml --include='keras/src/applications/*' -o apps-coverage.xml\n      - name: Codecov keras.applications\n        if: ${{ steps.filter.outputs.applications == 'true' }}\n        uses: codecov/codecov-action@v4\n        with:\n          env_vars: PYTHON,KERAS_HOME\n          flags: keras.applications,keras.applications-${{ matrix.backend }}\n          files: apps-coverage.xml\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: false\n      - name: Test integrations\n        if: ${{ matrix.backend != 'numpy'}}\n        run: |\n          python integration_tests/import_test.py\n          python integration_tests/numerical_test.py\n      - name: Test TF-specific integrations\n        if: ${{ matrix.backend == 'tensorflow'}}\n        run: |\n          python integration_tests/tf_distribute_training_test.py\n      - name: Test Torch-specific integrations\n        if: ${{ matrix.backend == 'torch'}}\n        run: |\n          pytest integration_tests/torch_workflow_test.py\n      - name: Test with pytest\n        run: |\n          pytest keras --ignore keras/src/applications --cov=keras\n          coverage xml --omit='keras/src/applications/*,keras/api' -o core-coverage.xml\n      - name: Codecov keras\n        uses: codecov/codecov-action@v4\n        with:\n          env_vars: PYTHON,KERAS_HOME\n          flags: keras,keras-${{ matrix.backend }}\n          files: core-coverage.xml\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: false\n\n  format:\n    name: Check the code format\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python -m pip install --upgrade pip setuptools\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: pip cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}\n      - name: Install dependencies\n        run: |\n          pip install -r requirements.txt --progress-bar off --upgrade\n          pip uninstall -y keras keras-nightly\n          pip install -e \".\" --progress-bar off --upgrade\n      - name: Lint\n        run: bash shell/lint.sh\n      - name: Check for API changes\n        run: |\n          bash shell/api_gen.sh\n          git status\n          clean=$(git status | grep \"nothing to commit\")\n          if [ -z \"$clean\" ]; then\n            echo \"Please run shell/api_gen.sh to generate API.\"\n            exit 1\n          fi\n", "state": "active", "repository": "keras-team/keras"}
{"mined_at": "2024-07-15T14:55:06.477330", "created_at": "2023-10-31T18:31:19+01:00", "updated_at": "2023-10-31T18:31:19+01:00", "name": "auto-assignment", "path": ".github/workflows/auto-assignment.yaml", "contents": "name: auto-assignment\non:\n  issues:\n    types:\n      - opened\n\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n\njobs:\n  welcome:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/github-script@v7\n        with:\n          script: |\n            const script = require('./\\.github/workflows/scripts/auto-assignment.js')\n            script({github, context})", "state": "active", "repository": "keras-team/keras"}
{"mined_at": "2024-07-15T14:55:07.595034", "created_at": "2024-03-06T14:42:31+01:00", "updated_at": "2024-03-06T14:42:31+01:00", "name": "Labeler", "path": ".github/workflows/labeler.yaml", "contents": "# Copyright 2024 Google LLC. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\n# This workflow automatically identifies issues and pull requests (PRs) and add the \n# appropriate label as per defined rules.\n# First Labeler workflow: It searches for the keyword \"Gemma\" (case-insensitive) in both the title \n# and description of the issue/PR. If a match is found, the workflow adds the label 'Gemma' to the issue/PR.\n\nname: 'Labeler'\non:\n  issues:\n    types: [edited,opened]\n  pull_request_target:\n    types: [opened, edited]\n\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n\njobs:\n  welcome:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/github-script@v7\n        with:\n          script: |\n            const script = require('./\\.github/workflows/scripts/labeler.js')\n            script({github, context})", "state": "active", "repository": "keras-team/keras"}
{"mined_at": "2024-07-15T14:55:08.708320", "created_at": "2022-05-28T09:10:54+02:00", "updated_at": "2023-09-25T19:17:08+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "keras-team/keras"}
{"mined_at": "2024-07-15T14:55:09.749399", "created_at": "2023-10-15T16:47:51+02:00", "updated_at": "2023-10-15T16:47:51+02:00", "name": "Nightly", "path": ".github/workflows/nightly.yml", "contents": "name: Nightly\n\non:\n  workflow_dispatch: # To Generate wheels on demand outside of schedule.\n  schedule:\n    - cron: '0 3 * * *' # run at 3 AM UTC / 8 PM PDT\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        backend: [tensorflow, jax, torch, numpy]\n    name: Run tests\n    runs-on: ubuntu-latest\n    env:\n      PYTHON: ${{ matrix.python-version }}\n      KERAS_BACKEND: ${{ matrix.backend }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python -m pip install --upgrade pip setuptools\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: pip cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}\n      - name: Install dependencies\n        run: |\n          pip install -r requirements.txt --progress-bar off --upgrade\n          pip uninstall -y keras keras-nightly\n          pip install -e \".\" --progress-bar off --upgrade\n      - name: Test integrations\n        if: ${{ matrix.backend != 'numpy'}}\n        run: |\n          python integration_tests/import_test.py\n      - name: Test TF-specific integrations\n        if: ${{ matrix.backend == 'tensorflow'}}\n        run: |\n          python integration_tests/tf_distribute_training_test.py\n      - name: Test Torch-specific integrations\n        if: ${{ matrix.backend == 'torch'}}\n        run: |\n          pytest integration_tests/torch_workflow_test.py\n      - name: Test with pytest\n        run: |\n          pytest keras --ignore keras/src/applications --cov=keras\n\n  format:\n    name: Check the code format\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python -m pip install --upgrade pip setuptools\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: pip cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}\n      - name: Install dependencies\n        run: |\n          pip install -r requirements.txt --progress-bar off --upgrade\n          pip uninstall -y keras keras-nightly\n          pip install -e \".\" --progress-bar off --upgrade\n      - name: Lint\n        run: bash shell/lint.sh\n      - name: Check for API changes\n        run: |\n          bash shell/api_gen.sh\n          git status\n          clean=$(git status | grep \"nothing to commit\")\n          if [ -z \"$clean\" ]; then\n            echo \"Please run shell/api_gen.sh to generate API.\"\n            exit 1\n          fi\n\n\n  nightly:\n    name: Build Wheel file and upload\n    needs: [build, format]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools\n          pip install twine\n          pip install -r requirements.txt --progress-bar off --upgrade\n          pip uninstall -y keras keras-nightly\n      - name: Build wheel file\n        run: |\n          python pip_build.py --nightly\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_NIGHTLY_API_TOKEN }}\n          packages-dir: dist/\n          verbose: true\n", "state": "active", "repository": "keras-team/keras"}
{"mined_at": "2024-07-15T14:55:10.815994", "created_at": "2023-12-07T23:18:46+01:00", "updated_at": "2023-12-07T23:18:46+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "name: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '42 8 * * 2'\n  push:\n    branches: [ \"master\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Publish results to OpenSSF REST API for easy access by consumers\n          # Allows the repository to include the Scorecard badge.\n          # See https://github.com/ossf/scorecard-action#publishing-results.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "keras-team/keras"}
{"mined_at": "2024-07-15T14:55:11.909022", "created_at": "2023-09-29T11:44:23+02:00", "updated_at": "2023-09-29T11:44:23+02:00", "name": "Close inactive issues", "path": ".github/workflows/stale-issue-pr.yaml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"30 1 * * *\"\njobs:\n  close-issues:\n    # Don't do this in forks\n    if: github.repository == 'keras-team/keras'\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n      actions: write\n    steps:\n      - name: Awaiting response issues\n        uses: actions/stale@v9\n        with:\n          operations-per-run: 500\n          days-before-issue-stale: 14\n          days-before-issue-close: 14\n          stale-issue-label: \"stale\"\n          # reason for closed the issue default value is not_planned\n          close-issue-reason: completed\n          only-labels: \"stat:awaiting response from contributor\"\n          stale-issue-message: > \n            This issue is stale because it has been open for 14 days with no activity.\n            It will be closed if no further activity occurs. Thank you.\n          # List of labels to remove when issues/PRs unstale. \n          labels-to-remove-when-unstale: \"stat:awaiting response from contributor\"\n          close-issue-message: >\n            This issue was closed because it has been inactive for 28 days.\n            Please reopen if you'd like to work on this further.\n          days-before-pr-stale: 14\n          days-before-pr-close: 14\n          stale-pr-message: \"This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.\"\n          close-pr-message: \"This PR was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further.\"\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Contribution issues\n        uses: actions/stale@v9\n        with:\n          operations-per-run: 500\n          days-before-issue-stale: 180\n          days-before-issue-close: 365\n          stale-issue-label: \"stale\"\n          # reason for closed the issue default value is not_planned\n          close-issue-reason: not_planned\n          any-of-labels: \"stat:contributions welcome,good first issue\"\n          # List of labels to remove when issues/PRs unstale. \n          labels-to-remove-when-unstale: \"stat:contributions welcome,good first issue\"\n          stale-issue-message: > \n            This issue is stale because it has been open for 180 days with no activity.\n            It will be closed if no further activity occurs. Thank you.\n          close-issue-message: >\n            This issue was closed because it has been inactive for more than 1 year.\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "keras-team/keras"}
{"mined_at": "2024-07-15T14:55:13.021394", "created_at": "2023-08-10T00:33:45+02:00", "updated_at": "2023-08-10T00:33:45+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "keras-team/keras"}
{"mined_at": "2024-07-15T14:55:15.390550", "created_at": "2021-03-21T20:34:13+01:00", "updated_at": "2021-03-21T20:34:13+01:00", "name": "changelog", "path": ".github/workflows/changelog.yml", "contents": "name: changelog\n\non:\n  pull_request:\n    types: [opened, synchronize, labeled, unlabeled, reopened]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: Changelog Entry Check\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Grep CHANGES.md for PR number\n        if: contains(github.event.pull_request.labels.*.name, 'skip news') != true\n        run: |\n          grep -Pz \"\\((\\n\\s*)?#${{ github.event.pull_request.number }}(\\n\\s*)?\\)\" CHANGES.md || \\\n          (echo \"Please add '(#${{ github.event.pull_request.number }})' change line to CHANGES.md (or if appropriate, ask a maintainer to add the 'skip news' label)\" && \\\n          exit 1)\n", "state": "active", "repository": "psf/black"}
{"mined_at": "2024-07-15T14:55:16.517113", "created_at": "2021-12-23T22:51:44+01:00", "updated_at": "2022-01-14T03:50:04+01:00", "name": "diff-shades", "path": ".github/workflows/diff_shades.yml", "contents": "name: diff-shades\n\non:\n  push:\n    branches: [main]\n    paths: [\"src/**\", \"pyproject.toml\", \".github/workflows/*\"]\n\n  pull_request:\n    paths: [\"src/**\", \"pyproject.toml\", \".github/workflows/*\"]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  configure:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-config.outputs.matrix }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install diff-shades and support dependencies\n        run: |\n          python -m pip install 'click==8.1.3' packaging urllib3\n          python -m pip install https://github.com/ichard26/diff-shades/archive/stable.zip\n\n      - name: Calculate run configuration & metadata\n        id: set-config\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n        run: >\n          python scripts/diff_shades_gha_helper.py config ${{ github.event_name }} ${{ matrix.mode }}\n\n  analysis:\n    name: analysis / ${{ matrix.mode }}\n    needs: configure\n    runs-on: ubuntu-latest\n    env:\n      HATCH_BUILD_HOOKS_ENABLE: \"1\"\n      # Clang is less picky with the C code it's given than gcc (and may\n      # generate faster binaries too).\n      CC: clang-14\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJson(needs.configure.outputs.matrix )}}\n\n    steps:\n      - name: Checkout this repository (full clone)\n        uses: actions/checkout@v4\n        with:\n          # The baseline revision could be rather old so a full clone is ideal.\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install diff-shades and support dependencies\n        run: |\n          python -m pip install https://github.com/ichard26/diff-shades/archive/stable.zip\n          python -m pip install 'click==8.1.3' packaging urllib3\n          # After checking out old revisions, this might not exist so we'll use a copy.\n          cat scripts/diff_shades_gha_helper.py > helper.py\n          git config user.name \"diff-shades-gha\"\n          git config user.email \"diff-shades-gha@example.com\"\n\n      - name: Attempt to use cached baseline analysis\n        id: baseline-cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ matrix.baseline-analysis }}\n          key: ${{ matrix.baseline-cache-key }}\n\n      - name: Build and install baseline revision\n        if: steps.baseline-cache.outputs.cache-hit != 'true'\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n        run: >\n          ${{ matrix.baseline-setup-cmd }}\n          && python -m pip install .\n\n      - name: Analyze baseline revision\n        if: steps.baseline-cache.outputs.cache-hit != 'true'\n        run: >\n          diff-shades analyze -v --work-dir projects-cache/\n          ${{ matrix.baseline-analysis }} ${{ matrix.force-flag }}\n\n      - name: Build and install target revision\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n        run: >\n          ${{ matrix.target-setup-cmd }}\n          && python -m pip install .\n\n      - name: Analyze target revision\n        run: >\n          diff-shades analyze -v --work-dir projects-cache/\n          ${{ matrix.target-analysis }} --repeat-projects-from\n          ${{ matrix.baseline-analysis }} ${{ matrix.force-flag }}\n\n      - name: Generate HTML diff report\n        run: >\n          diff-shades --dump-html diff.html compare --diff\n          ${{ matrix.baseline-analysis }} ${{ matrix.target-analysis }}\n\n      - name: Upload diff report\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ matrix.mode }}-diff.html\n          path: diff.html\n\n      - name: Upload baseline analysis\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ matrix.baseline-analysis }}\n          path: ${{ matrix.baseline-analysis }}\n\n      - name: Upload target analysis\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ matrix.target-analysis }}\n          path: ${{ matrix.target-analysis }}\n\n      - name: Generate summary file (PR only)\n        if: github.event_name == 'pull_request' && matrix.mode == 'preview-changes'\n        run: >\n          python helper.py comment-body\n          ${{ matrix.baseline-analysis }} ${{ matrix.target-analysis }}\n          ${{ matrix.baseline-sha }} ${{ matrix.target-sha }}\n          ${{ github.event.pull_request.number }}\n\n      - name: Upload summary file (PR only)\n        if: github.event_name == 'pull_request' && matrix.mode == 'preview-changes'\n        uses: actions/upload-artifact@v3\n        with:\n          name: .pr-comment.json\n          path: .pr-comment.json\n\n      - name: Verify zero changes (PR only)\n        if: matrix.mode == 'assert-no-changes'\n        run: >\n          diff-shades compare --check ${{ matrix.baseline-analysis }} ${{ matrix.target-analysis }}\n          || (echo \"Please verify you didn't change the stable code style unintentionally!\" && exit 1)\n\n      - name: Check for failed files for target revision\n        # Even if the previous step failed, we should still check for failed files.\n        if: always()\n        run: >\n          diff-shades show-failed --check --show-log ${{ matrix.target-analysis }}\n", "state": "active", "repository": "psf/black"}
{"mined_at": "2024-07-15T14:55:17.550493", "created_at": "2022-01-14T03:50:04+01:00", "updated_at": "2022-01-14T03:50:04+01:00", "name": "diff-shades-comment", "path": ".github/workflows/diff_shades_comment.yml", "contents": "name: diff-shades-comment\n\non:\n  workflow_run:\n    workflows: [diff-shades]\n    types: [completed]\n\npermissions:\n  pull-requests: write\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"*\"\n\n      - name: Install support dependencies\n        run: |\n          python -m pip install pip --upgrade\n          python -m pip install click packaging urllib3\n\n      - name: Get details from initial workflow run\n        id: metadata\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n        run: >\n          python scripts/diff_shades_gha_helper.py comment-details\n          ${{github.event.workflow_run.id }}\n\n      - name: Try to find pre-existing PR comment\n        if: steps.metadata.outputs.needs-comment == 'true'\n        id: find-comment\n        uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e\n        with:\n          issue-number: ${{ steps.metadata.outputs.pr-number }}\n          comment-author: \"github-actions[bot]\"\n          body-includes: \"diff-shades\"\n\n      - name: Create or update PR comment\n        if: steps.metadata.outputs.needs-comment == 'true'\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043\n        with:\n          comment-id: ${{ steps.find-comment.outputs.comment-id }}\n          issue-number: ${{ steps.metadata.outputs.pr-number }}\n          body: ${{ steps.metadata.outputs.comment-body }}\n          edit-mode: replace\n", "state": "active", "repository": "psf/black"}
{"mined_at": "2024-07-15T14:55:18.670661", "created_at": "2020-08-20T23:45:46+02:00", "updated_at": "2023-07-18T16:21:03+02:00", "name": "Documentation", "path": ".github/workflows/doc.yml", "contents": "name: Documentation\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    # We want to run on external PRs, but not on our own internal PRs as they'll be run\n    # by the push to the branch. Without this if check, checks are duplicated since\n    # internal PRs match both the push and pull_request events.\n    if:\n      github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=\n      github.repository\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up latest Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"*\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install uv\n          python -m uv pip install --system -e \".[d]\"\n          python -m uv pip install --system -r \"docs/requirements.txt\"\n\n      - name: Build documentation\n        run: sphinx-build -a -b html -W --keep-going docs/ docs/_build\n", "state": "active", "repository": "psf/black"}
{"mined_at": "2024-07-15T14:55:19.681678", "created_at": "2021-04-25T20:27:37+02:00", "updated_at": "2023-11-19T20:28:03+01:00", "name": "docker", "path": ".github/workflows/docker.yml", "contents": "name: docker\n\non:\n  push:\n    branches:\n      - \"main\"\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  docker:\n    if: github.repository == 'psf/black'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Check + set version tag\n        run:\n          echo \"GIT_TAG=$(git describe --candidates=0 --tags 2> /dev/null || echo\n          latest_non_release)\" >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: pyfound/black:latest,pyfound/black:${{ env.GIT_TAG }}\n\n      - name: Build and push latest_release tag\n        if:\n          ${{ github.event_name == 'release' && github.event.action == 'published' &&\n          !github.event.release.prerelease }}\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: pyfound/black:latest_release\n\n      - name: Build and push latest_prerelease tag\n        if:\n          ${{ github.event_name == 'release' && github.event.action == 'published' &&\n          github.event.release.prerelease }}\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: pyfound/black:latest_prerelease\n\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "psf/black"}
{"mined_at": "2024-07-15T14:55:20.817403", "created_at": "2020-08-21T12:59:44+02:00", "updated_at": "2021-05-04T02:23:50+02:00", "name": "Fuzz", "path": ".github/workflows/fuzz.yml", "contents": "name: Fuzz\n\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    # We want to run on external PRs, but not on our own internal PRs as they'll be run\n    # by the push to the branch. Without this if check, checks are duplicated since\n    # internal PRs match both the push and pull_request events.\n    if:\n      github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=\n      github.repository\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade tox\n\n      - name: Run fuzz tests\n        run: |\n          tox -e fuzz\n", "state": "active", "repository": "psf/black"}
{"mined_at": "2024-07-15T14:55:21.822781", "created_at": "2019-12-19T17:16:12+01:00", "updated_at": "2023-11-19T03:11:53+01:00", "name": "Lint + format ourselves", "path": ".github/workflows/lint.yml", "contents": "name: Lint + format ourselves\n\non: [push, pull_request]\n\njobs:\n  build:\n    # We want to run on external PRs, but not on our own internal PRs as they'll be run\n    # by the push to the branch. Without this if check, checks are duplicated since\n    # internal PRs match both the push and pull_request events.\n    if:\n      github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=\n      github.repository\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Assert PR target is main\n        if: github.event_name == 'pull_request' && github.repository == 'psf/black'\n        run: |\n          if [ \"$GITHUB_BASE_REF\" != \"main\" ]; then\n              echo \"::error::PR targeting '$GITHUB_BASE_REF', please refile targeting 'main'.\" && exit 1\n          fi\n\n      - name: Set up latest Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"*\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -e '.'\n          python -m pip install tox\n\n      - name: Run pre-commit hooks\n        uses: pre-commit/action@v3.0.1\n\n      - name: Format ourselves\n        run: |\n          tox -e run_self\n\n      - name: Regenerate schema\n        run: |\n          tox -e generate_schema\n          git diff --exit-code\n", "state": "active", "repository": "psf/black"}
{"mined_at": "2024-07-15T14:55:22.865288", "created_at": "2021-04-01T18:41:57+02:00", "updated_at": "2023-10-04T16:00:32+02:00", "name": "Build and publish", "path": ".github/workflows/pypi_upload.yml", "contents": "name: Build and publish\n\non:\n  release:\n    types: [published]\n  pull_request:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  main:\n    name: sdist + pure wheel\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release'\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up latest Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"*\"\n\n      - name: Install latest pip, build, twine\n        run: |\n          python -m pip install --upgrade --disable-pip-version-check pip\n          python -m pip install --upgrade build twine\n\n      - name: Build wheel and source distributions\n        run: python -m build\n\n      - if: github.event_name == 'release'\n        name: Upload to PyPI via Twine\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n        run: twine upload --verbose -u '__token__' dist/*\n\n  generate_wheels_matrix:\n    name: generate wheels matrix\n    runs-on: ubuntu-latest\n    outputs:\n      include: ${{ steps.set-matrix.outputs.include }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install cibuildwheel and pypyp\n        run: |\n          pipx install cibuildwheel==2.15.0\n          pipx install pypyp==1\n      - name: generate matrix\n        if: github.event_name != 'pull_request'\n        run: |\n          {\n            cibuildwheel --print-build-identifiers --platform linux \\\n            | pyp 'json.dumps({\"only\": x, \"os\": \"ubuntu-latest\"})' \\\n            && cibuildwheel --print-build-identifiers --platform macos \\\n            | pyp 'json.dumps({\"only\": x, \"os\": \"macos-latest\"})' \\\n            && cibuildwheel --print-build-identifiers --platform windows \\\n            | pyp 'json.dumps({\"only\": x, \"os\": \"windows-latest\"})'\n          } | pyp 'json.dumps(list(map(json.loads, lines)))' > /tmp/matrix\n        env:\n          CIBW_ARCHS_LINUX: x86_64\n          CIBW_ARCHS_MACOS: x86_64 arm64\n          CIBW_ARCHS_WINDOWS: AMD64\n      - name: generate matrix (PR)\n        if: github.event_name == 'pull_request'\n        run: |\n          {\n            cibuildwheel --print-build-identifiers --platform linux \\\n            | pyp 'json.dumps({\"only\": x, \"os\": \"ubuntu-latest\"})'\n          } | pyp 'json.dumps(list(map(json.loads, lines)))' > /tmp/matrix\n        env:\n          CIBW_BUILD: \"cp38-* cp312-*\"\n          CIBW_ARCHS_LINUX: x86_64\n      - id: set-matrix\n        run: echo \"include=$(cat /tmp/matrix)\" | tee -a $GITHUB_OUTPUT\n\n  mypyc:\n    name: mypyc wheels ${{ matrix.only }}\n    needs: generate_wheels_matrix\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJson(needs.generate_wheels_matrix.outputs.include) }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: pypa/cibuildwheel@v2.18.1\n        with:\n          only: ${{ matrix.only }}\n\n      - name: Upload wheels as workflow artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ matrix.name }}-mypyc-wheels\n          path: ./wheelhouse/*.whl\n\n      - if: github.event_name == 'release'\n        name: Upload wheels to PyPI via Twine\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n        run: pipx run twine upload --verbose -u '__token__' wheelhouse/*.whl\n\n  update-stable-branch:\n    name: Update stable branch\n    needs: [main, mypyc]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release'\n    permissions:\n      contents: write\n\n    steps:\n      - name: Checkout stable branch\n        uses: actions/checkout@v4\n        with:\n          ref: stable\n          fetch-depth: 0\n\n      - if: github.event_name == 'release'\n        name: Update stable branch to release tag & push\n        run: |\n          git reset --hard ${{ github.event.release.tag_name }}\n          git push\n", "state": "active", "repository": "psf/black"}
{"mined_at": "2024-07-15T14:55:23.896751", "created_at": "2023-10-24T08:54:03+02:00", "updated_at": "2023-10-29T23:34:40+01:00", "name": "Release tool CI", "path": ".github/workflows/release_tests.yml", "contents": "name: Release tool CI\n\non:\n  push:\n    paths:\n      - .github/workflows/release_tests.yml\n      - release.py\n      - release_tests.py\n  pull_request:\n    paths:\n      - .github/workflows/release_tests.yml\n      - release.py\n      - release_tests.py\n\njobs:\n  build:\n    # We want to run on external PRs, but not on our own internal PRs as they'll be run\n    # by the push to the branch. Without this if check, checks are duplicated since\n    # internal PRs match both the push and pull_request events.\n    if:\n      github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=\n      github.repository\n\n    name: Running python ${{ matrix.python-version }} on ${{matrix.os}}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n        os: [macOS-latest, ubuntu-latest, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # Give us all history, branches and tags\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n\n      - name: Print Python Version\n        run: python --version --version && which python\n\n      - name: Print Git Version\n        run: git --version && which git\n\n      - name: Update pip, setuptools + wheels\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n\n      - name: Run unit tests via coverage + print report\n        run: |\n          python -m pip install coverage\n          coverage run scripts/release_tests.py\n          coverage report --show-missing\n", "state": "active", "repository": "psf/black"}
{"mined_at": "2024-07-15T14:55:24.994582", "created_at": "2023-11-18T22:20:31+01:00", "updated_at": "2023-11-18T22:20:31+01:00", "name": "Run repo version of black", "path": ".github/workflows/run_self.yml", "contents": null, "state": "active", "repository": "psf/black"}
{"mined_at": "2024-07-15T14:55:26.034347", "created_at": "2019-12-19T17:16:12+01:00", "updated_at": "2021-05-04T02:01:54+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"*.md\"\n\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"*.md\"\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  main:\n    # We want to run on external PRs, but not on our own internal PRs as they'll be run\n    # by the push to the branch. Without this if check, checks are duplicated since\n    # internal PRs match both the push and pull_request events.\n    if:\n      github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=\n      github.repository\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"pypy-3.9\"]\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install tox\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade tox\n\n      - name: Unit tests\n        if: \"!startsWith(matrix.python-version, 'pypy')\"\n        run:\n          tox -e ci-py$(echo ${{ matrix.python-version }} | tr -d '.') -- -v --color=yes\n\n      - name: Unit tests (pypy)\n        if: \"startsWith(matrix.python-version, 'pypy')\"\n        run: tox -e ci-pypy3 -- -v --color=yes\n\n      - name: Upload coverage to Coveralls\n        # Upload coverage if we are on the main repository and\n        # we're running on Linux (this action only supports Linux)\n        if:\n          github.repository == 'psf/black' && matrix.os == 'ubuntu-latest' &&\n          !startsWith(matrix.python-version, 'pypy')\n        uses: AndreMiras/coveralls-python-action@65c1672f0b8a201702d86c81b79187df74072505\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          parallel: true\n          flag-name: py${{ matrix.python-version }}-${{ matrix.os }}\n          debug: true\n\n  coveralls-finish:\n    needs: main\n    if: github.repository == 'psf/black'\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Send finished signal to Coveralls\n        uses: AndreMiras/coveralls-python-action@65c1672f0b8a201702d86c81b79187df74072505\n        with:\n          parallel-finished: true\n          debug: true\n\n  uvloop:\n    if:\n      github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=\n      github.repository\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macOS-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up latest Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"*\"\n\n      - name: Install black with uvloop\n        run: |\n          python -m pip install pip --upgrade --disable-pip-version-check\n          python -m pip install -e \".[uvloop]\"\n\n      - name: Format ourselves\n        run: python -m black --check src/ tests/\n", "state": "active", "repository": "psf/black"}
{"mined_at": "2024-07-15T14:55:27.268467", "created_at": "2020-11-01T22:17:25+01:00", "updated_at": "2022-07-30T05:38:41+02:00", "name": "Publish executables", "path": ".github/workflows/upload_binary.yml", "contents": "name: Publish executables\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: write # actions/upload-release-asset needs this.\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-2019, ubuntu-20.04, macos-latest]\n        include:\n          - os: windows-2019\n            pathsep: \";\"\n            asset_name: black_windows.exe\n            executable_mime: \"application/vnd.microsoft.portable-executable\"\n          - os: ubuntu-20.04\n            pathsep: \":\"\n            asset_name: black_linux\n            executable_mime: \"application/x-executable\"\n          - os: macos-latest\n            pathsep: \":\"\n            asset_name: black_macos\n            executable_mime: \"application/x-mach-binary\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up latest Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"*\"\n\n      - name: Install Black and PyInstaller\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install .[colorama]\n          python -m pip install pyinstaller\n\n      - name: Build executable with PyInstaller\n        run: >\n          python -m PyInstaller -F --name ${{ matrix.asset_name }} --add-data\n          'src/blib2to3${{ matrix.pathsep }}blib2to3' src/black/__main__.py\n\n      - name: Quickly test executable\n        run: |\n          ./dist/${{ matrix.asset_name }} --version\n          ./dist/${{ matrix.asset_name }} src --verbose\n\n      - name: Upload binary as release asset\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ github.event.release.upload_url }}\n          asset_path: dist/${{ matrix.asset_name }}\n          asset_name: ${{ matrix.asset_name }}\n          asset_content_type: ${{ matrix.executable_mime }}\n", "state": "active", "repository": "psf/black"}
{"mined_at": "2024-07-15T14:55:29.521673", "created_at": "2021-04-11T21:55:58+02:00", "updated_at": "2021-04-21T21:49:16+02:00", "name": "Mark stale issues", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues\n\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  stale:\n    permissions:\n      issues: write  # for actions/stale to close stale issues\n      pull-requests: write  # for actions/stale to close stale PRs\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/stale@v3\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          stale-issue-message: \"This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.\"\n          close-issue-message: \"This issue was closed because it has been stalled for 10 days with no activity. This does not necessarily mean that the issue is bad, but it most likely means that nobody is willing to take the time to fix it. If you have found Locust useful, then consider contributing a fix yourself!\"\n          stale-pr-message: \"This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.\"\n          close-pr-message: \"This PR was closed because it has been stalled for 10 days with no activity.\"\n          days-before-close: 10\n", "state": "active", "repository": "locustio/locust"}
{"mined_at": "2024-07-15T14:55:30.750497", "created_at": "2021-01-22T13:46:10+01:00", "updated_at": "2023-12-01T18:34:04+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {name: Windows, python: '3.12', os: windows-latest, tox: fail_fast_test_main}\n          # - {name: Mac, python: '3.12', os: macos-latest, tox: fail_fast_test_main}\n          - { name: \"ruff\", python: \"3.11\", os: ubuntu-latest, tox: \"ruff\" }\n          - { name: \"mypy\", python: \"3.10\", os: ubuntu-latest, tox: \"mypy\" }\n          # run some integration tests and abort immediately if they fail, for faster feedback\n          - { name: \"Linux\", python: \"3.12\", os: ubuntu-latest, tox: fail_fast_test_main }\n          - { name: \"3.12\", python: \"3.12\", os: ubuntu-latest, tox: py312 }\n          - { name: \"3.11\", python: \"3.11\", os: ubuntu-latest, tox: py311 }\n          - { name: \"3.10\", python: \"3.10\", os: ubuntu-latest, tox: py310 }\n          - { name: \"3.9\", python: \"3.9\", os: ubuntu-latest, tox: py39 }\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Update pip\n        run: |\n          python -m pip install --upgrade pip\n      - name: Get pip cache dir\n        id: pip-cache\n        run: echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('pyproject.toml') }}\n      - name: set full Python version in PY env var\n        # See https://pre-commit.com/#github-actions-example\n        run: echo \"PY=$(python -VV | sha256sum | cut -d' ' -f1)\" >> $GITHUB_ENV\n      - run: python -m pip install tox\n      - run: python -m tox -e ${{ matrix.tox }}\n\n  lint_typecheck_test_webui:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set Node.js 18.x\n        uses: actions/setup-node@v3\n        with:\n          node-version: 18.x\n      - uses: borales/actions-yarn@v3\n        with:\n          cmd: webui:install\n      - uses: borales/actions-yarn@v3\n        with:\n          cmd: webui:build\n      - uses: borales/actions-yarn@v3\n        with:\n          cmd: webui:test\n      - uses: borales/actions-yarn@v3\n        with:\n          cmd: webui:lint\n      - uses: borales/actions-yarn@v3\n        with:\n          cmd: webui:type-check\n\n  verify_docker_build:\n    name: Always - Docker verify, push to tag 'master' if on master\n    runs-on: ubuntu-latest\n    if: github.event_name != 'pull_request' # PR build doesnt get proper version, so dont try to build it\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: docker/login-action@v1\n        if: github.repository_owner == 'locustio'\n        with:\n          username: locustbuild\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: build and publish image\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          build-args: |\n            BUILDKIT_CONTEXT_KEEP_GIT_DIR=1\n          context: .\n          file: ./Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.ref == 'refs/heads/master' && github.repository_owner == 'locustio' }}\n          tags: locustio/locust:master\n\n  docker_tagged:\n    name: Tagged - Docker push to tag based on git tag. Also push 'latest' if on master\n    needs: tests\n    runs-on: ubuntu-latest\n    if: startsWith(github.event.ref, 'refs/tags') && github.repository_owner == 'locustio'\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - run: echo \"TAG=${GITHUB_REF#refs/*/}\" | tee -a $GITHUB_ENV\n      - run: echo \"BRANCH=$(git branch -a --contains ${{ env.TAG }} | grep -v HEAD | cut -d '/' -f3)\" | tee -a $GITHUB_ENV\n      - uses: docker/login-action@v1\n        with:\n          username: locustbuild\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: build and publish image\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          build-args: |\n            BUILDKIT_CONTEXT_KEEP_GIT_DIR=1\n          context: .\n          file: ./Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: locustio/locust:${{ env.TAG }}${{ ( env.BRANCH == 'master' && ',locustio/locust:latest') || '' }}\n\n  publish:\n    name: PyPI - Publish if this is a tagged commit\n    needs: [verify_docker_build, tests]\n    if: startsWith(github.event.ref, 'refs/tags') && github.repository_owner == 'locustio'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip build\n      - name: Build + set TAG env var for later use\n        run: |\n          python -m build\n          echo \"TAG=${GITHUB_REF#refs/*/}\" | tee -a $GITHUB_ENV\n      - name: Publish tagged version to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip_existing: true\n    # The following is disabled because it has stopped working.\n    #   - name: Tweet on release\n    #     uses: infraway/tweet-action@v1.0.1\n    #     with:\n    #       status: \"New release: ${{ env.TAG }} https://github.com/locustio/locust/releases/tag/${{ env.TAG }}\"\n    #       api_key: ${{ secrets.TWITTER_API_CONSUMER_KEY }}\n    #       api_key_secret: ${{ secrets.TWITTER_API_CONSUMER_SECRET }}\n    #       access_token: ${{ secrets.TWITTER_API_ACCESS_TOKEN_KEY }}\n    #       access_token_secret: ${{ secrets.TWITTER_API_ACCESS_TOKEN_SECRET }}\n\n  publish_prerelease:\n    name: PyPI - Publish prerelease on merge commit on master\n    needs: tests\n    if: github.ref == 'refs/heads/master' && github.repository_owner == 'locustio'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - run: git rev-parse HEAD^2 2>/dev/null >/dev/null || echo NOT_MERGE_COMMIT=1 | tee -a $GITHUB_ENV\n      - name: Install dependencies\n        if: ${{ env.NOT_MERGE_COMMIT == '' }}\n        run: |\n          python -m pip install --upgrade pip build\n      - name: Build\n        if: ${{ env.NOT_MERGE_COMMIT == '' }}\n        run: |\n          python -m build\n      - name: Publish prerelease version to PyPI\n        if: ${{ env.NOT_MERGE_COMMIT == '' }}\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip_existing: true\n", "state": "active", "repository": "locustio/locust"}
{"mined_at": "2024-07-15T14:55:33.105891", "created_at": "2022-10-12T02:18:33+02:00", "updated_at": "2022-10-12T18:54:37+02:00", "name": "Tests", "path": ".github/workflows/build.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - develop\n      - \"feat-*\"\n  pull_request:\n  workflow_dispatch:\n  merge_group:\n    types: [checks_requested]\n\njobs:\n  build:\n    name: ${{ matrix.os }} / ${{ matrix.python }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n        python:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - run: make init\n    - run: make pr\n", "state": "active", "repository": "aws/serverless-application-model"}
{"mined_at": "2024-07-15T14:55:34.226042", "created_at": "2023-02-09T20:29:10+01:00", "updated_at": "2023-02-09T20:48:38+01:00", "name": "Check compatibility", "path": ".github/workflows/check_compatibility.yml", "contents": "name: Check compatibility\n\non:\n  pull_request:\n  merge_group:\n    types: [checks_requested]\n\njobs:\n  check-compatibility:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout the PR\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Extract PR public interfaces\n        run: |\n          make init\n          bin/public_interface.py extract > \"${{ runner.temp }}\"/interfaces.new.json\n\n      - name: Backup PR bin/public_interface.py\n        run: |\n          # Keep a copy of bin/public_interface.py\n          # So we are using the same bin/public_interface.py to process old/new codebase.\n          cp bin/public_interface.py \"${{ runner.temp }}\"/public_interface.py\n\n      - name: Checkout the base\n        uses: actions/checkout@v4\n        with:\n          ref: \"${{ github.base_ref }}\"\n\n      - name: Extract original public interfaces\n        run: |\n          make init\n          # Recover bin/public_interface.py\n          cp \"${{ runner.temp }}\"/public_interface.py bin/public_interface.py\n          bin/public_interface.py extract > \"${{ runner.temp }}\"/interfaces.original.json\n    \n      - name: Detect compatibility breaking changes\n        id: detect\n        run: |\n          bin/public_interface.py check \"${{ runner.temp }}\"/interfaces.original.json \"${{ runner.temp }}\"/interfaces.new.json\n", "state": "active", "repository": "aws/serverless-application-model"}
{"mined_at": "2024-07-15T14:55:35.275279", "created_at": "2023-12-22T04:33:26+01:00", "updated_at": "2023-12-22T04:33:26+01:00", "name": "Closed issue message", "path": ".github/workflows/close_issue_message.yml", "contents": "name: Closed issue message\n\non:\n  issues:\n    types: [ closed ]\njobs:\n  auto_comment:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - uses: aws-actions/closed-issue-message@v1\n        with:\n          # These inputs are both required\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          message: |\n            This issue is now closed. Comments on closed issues are hard for our team to see. \n            If you need more assistance, please either tag a team member or open a new issue that references this one. ", "state": "active", "repository": "aws/serverless-application-model"}
{"mined_at": "2024-07-15T14:55:36.382812", "created_at": "2022-10-13T01:42:27+02:00", "updated_at": "2022-10-14T21:59:47+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"develop\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"develop\" ]\n  merge_group:\n    types: [checks_requested]\n  schedule:\n    - cron: '43 23 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "aws/serverless-application-model"}
{"mined_at": "2024-07-15T14:55:37.613060", "created_at": "2023-02-02T00:25:48+01:00", "updated_at": "2023-02-02T00:25:48+01:00", "name": "Update schema", "path": ".github/workflows/schema.yml", "contents": "name: Update schema\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 16 * * 2\" # Every Tuesday at 4pm UTC (8am PST, 9am PDT)\n\njobs:\n  update:\n    if: github.repository == 'aws/serverless-application-model'\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n      pull-requests: write\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Update schema\n        id: schema\n        run: |\n          make init\n          make schema-all\n          # Sets condition steps.schema.outputs.changed to true if anything changed\n          git diff --exit-code || echo \"changed=true\" >> $GITHUB_OUTPUT\n    \n      - name: Push change to temporary branch\n        if: steps.schema.outputs.changed\n        run: |\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git checkout -b tmp/schema/$GITHUB_RUN_ID/$GITHUB_RUN_ATTEMPT\n          git add -u\n          git commit -m \"chore(schema): update\"\n          git push --set-upstream origin tmp/schema/$GITHUB_RUN_ID/$GITHUB_RUN_ATTEMPT\n\n      - name: Create PR\n        if: steps.schema.outputs.changed\n        run: printf '> **Note**\\n> If checks do not start, close then reopen this pull request.\\n\\nCreated by the [`schema.yml`](https://github.com/aws/serverless-application-model/blob/develop/.github/workflows/schema.yml) workflow.\\n' | gh pr create --fill --base develop --body-file -\n        env:\n          GH_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "aws/serverless-application-model"}
{"mined_at": "2024-07-15T14:55:39.761527", "created_at": "2020-12-10T18:35:32+01:00", "updated_at": "2020-12-10T18:35:32+01:00", "name": "Run PR Checks", "path": ".github/workflows/run-tests.yml", "contents": "name: Run PR Checks\non:\n  push:\n    branches:\n      - master\n      - \"feature/**\"\n  pull_request:\n    branches:\n      - master\n      - \"feature/**\"\njobs:\n  prcheck:\n    runs-on: ${{ matrix.os }}\n    env:\n      HYPOTHESIS_PROFILE: ci\n      CHALICE_TEST_EXTENDED_PACKAGING: true\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [3.8, 3.9, '3.10', 3.11, 3.12]\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        name: Set up Python ${{ matrix.python-version }}\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make install-dev-deps\n      - name: Run PRCheck\n        run: make prcheck\n  cdktests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', 3.11, 3.12]\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v2\n        with:\n          node-version: '14'\n      - uses: actions/setup-python@v2\n        name: Set up Python ${{ matrix.python-version }}\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install CDK\n        run: npm install -g aws-cdk\n      - name: Install dependencies\n        run: |\n          pip install -r requirements-test.txt --upgrade --upgrade-strategy eager -e .[cdkv2]\n      - name: Run CDK tests\n        run: python -m pytest tests/functional/cdk\n#  Chalice works on windows, but there's some differences between\n#  the GitHub actions windows environment and our windows dev\n#  laptops that are causing certain tests to fail.  Once these\n#  are fixed we can also test on windows but for now we have to\n#  disable these.\n#  tests-windows:\n#    runs-on: windows-latest\n#    strategy:\n#      matrix:\n#        # In windows where you have to explicitly install\n#        # python, it's unlikely users are going to install\n#        # python 2.7 which is no longer supported so we're\n#        # only testing python3 on windows.\n#        python-version: [3.6, 3.7, 3.8, 3.9]\n#    steps:\n#      - uses: actions/checkout@v2\n#      - uses: actions/setup-python@v2\n#        name: Set up Python ${{ matrix.python-version }}\n#        with:\n#          python-version: ${{ matrix.python-version }}\n#      - name: Install dependencies\n#        run: |\n#          pip install -r requirements-dev.txt\n#          pip install -e .\n#      - name: Run PRCheck\n#        run: python -m pytest tests/unit tests/functional tests/integration\n", "state": "active", "repository": "aws/chalice"}
{"mined_at": "2024-07-15T14:55:40.936598", "created_at": "2022-08-23T22:02:16+02:00", "updated_at": "2022-08-23T22:02:16+02:00", "name": "Close stale issues", "path": ".github/workflows/stale-issue.yml", "contents": "name: \"Close stale issues\"\n\non:\n  schedule:\n    - cron: \"*/60 * * * *\"\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    name: Stale issue job\n    steps:\n    - uses: aws-actions/stale-issue-cleanup@v4\n      with:\n        issue-types: issues\n        ancient-issue-message: \"\"\n        stale-issue-message: >\n          Greetings! It looks like this issue hasn’t been active in longer than\n          five days. We encourage you to check if this is still an issue in the latest\n          release. In the absence of more information, we will be closing this issue\n          soon. If you find that this is still a problem, please feel free to provide a\n          comment or upvote with a reaction on the initial post to prevent automatic\n          closure. If the issue is already closed, please feel free to open a new one.\n\n        # These labels are required\n        stale-issue-label: closing-soon\n        exempt-issue-labels: bug, feature-request\n        response-requested-label: response-requested\n\n        # Don't set closed-for-staleness label to skip closing very old issues\n        # regardless of label\n        closed-for-staleness-label: closed-for-staleness\n\n        # Issue timing\n        days-before-stale: 10\n        days-before-close: 4\n        days-before-ancient: 2190\n\n        # If you don't want to mark a issue as being ancient based on a\n        # threshold of \"upvotes\", you can set this here. An \"upvote\" is\n        # the total number of +1, heart, hooray, and rocket reactions\n        # on an issue.\n        minimum-upvotes-to-exempt: 2\n\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        loglevel: DEBUG\n        # Set dry-run to true to not perform label or close actions.\n        dry-run: false\n", "state": "active", "repository": "aws/chalice"}
{"mined_at": "2024-07-15T14:55:41.954580", "created_at": "2021-12-30T21:36:08+01:00", "updated_at": "2021-12-30T21:36:08+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "aws/chalice"}
{"mined_at": "2024-07-15T14:55:44.166908", "created_at": "2020-10-29T17:17:35+01:00", "updated_at": "2020-10-29T17:17:35+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install twine wheel\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n\n", "state": "active", "repository": "tweepy/tweepy"}
{"mined_at": "2024-07-15T14:55:45.275501", "created_at": "2020-07-08T06:03:32+02:00", "updated_at": "2020-12-23T21:21:37+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[async,dev,test]\n      - name: Run tests\n        run: |\n          coverage run -m unittest discover tests\n      - name: Send coverage to Coveralls\n        continue-on-error: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: python-${{ matrix.python-version }}\n          COVERALLS_PARALLEL: true\n          COVERALLS_SERVICE_NAME: github\n        if: ${{ github.event_name == 'push' }}\n        run: |\n          coveralls\n  coveralls:\n    needs: test\n    if: ${{ github.event_name == 'push' }}\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n    - name: Finish sending coverage to Coveralls\n      continue-on-error: true\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        pip install coveralls\n        coveralls --finish\n", "state": "active", "repository": "tweepy/tweepy"}
{"mined_at": "2024-07-15T14:55:47.272371", "created_at": "2020-10-12T23:28:20+02:00", "updated_at": "2020-10-12T23:28:20+02:00", "name": "Closed Issue Message", "path": ".github/workflows/closed-issue-message.yml", "contents": "name: Closed Issue Message\non:\n    issues:\n       types: [closed]\n\npermissions:\n  contents: read\n\njobs:\n    auto_comment:\n        runs-on: ubuntu-latest\n        permissions:\n            issues: write\n        steps:\n        - uses: aws-actions/closed-issue-message@8b6324312193476beecf11f8e8539d73a3553bf4\n          with:\n            # These inputs are both required\n            repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n            message: | \n                     This issue is now closed. Comments on closed issues are hard for our team to see. \n                     If you need more assistance, please open a new issue that references this one. \n", "state": "active", "repository": "boto/boto3"}
{"mined_at": "2024-07-15T14:55:48.301265", "created_at": "2023-07-21T23:15:06+02:00", "updated_at": "2023-07-22T01:45:33+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [\"develop\"]\n  pull_request:\n    branches: [\"develop\"]\n  schedule:\n    - cron: \"0 0 * * 5\"\n\npermissions: \"read-all\"\n\njobs:\n  analyze:\n    name: \"Analyze\"\n    runs-on: \"ubuntu-latest\"\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    steps:\n    - name: \"Checkout repository\"\n      uses: \"actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608\"\n\n    - name: \"Run CodeQL init\"\n      uses: \"github/codeql-action/init@9fdb3e49720b44c48891d036bb502feb25684276\"\n      with:\n        config-file: \"./.github/codeql.yml\"\n        languages: \"python\"\n\n    - name: \"Run CodeQL autobuild\"\n      uses: \"github/codeql-action/autobuild@9fdb3e49720b44c48891d036bb502feb25684276\"\n\n    - name: \"Run CodeQL analyze\"\n      uses: \"github/codeql-action/analyze@9fdb3e49720b44c48891d036bb502feb25684276\"\n", "state": "active", "repository": "boto/boto3"}
{"mined_at": "2024-07-15T14:55:49.311967", "created_at": "2020-10-29T22:28:16+01:00", "updated_at": "2020-10-29T22:28:16+01:00", "name": "PRs against master are not accepted, please target develop branch", "path": ".github/workflows/fail-master-prs.yml", "contents": "name: PRs against master are not accepted, please target develop branch\n\non:\n  pull_request:\n    branches: [ master ]\n\npermissions:\n  contents: read\n\njobs:\n  fail:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fail PRs against master\n        run: |\n          echo \"PRs must be made against the develop branch.\"\n          exit 1\n", "state": "active", "repository": "boto/boto3"}
{"mined_at": "2024-07-15T14:55:50.312792", "created_at": "2023-08-23T01:12:17+02:00", "updated_at": "2023-08-23T01:12:17+02:00", "name": "HandleStaleDiscussions", "path": ".github/workflows/handle-stale-discussions.yml", "contents": "name: HandleStaleDiscussions\non:\n  schedule:\n    - cron: \"0 4 * * 1\"\n  discussion_comment:\n    types: [created]\n\npermissions:\n  contents: read\n\njobs:\n  handle-stale-discussions:\n    name: Handle stale discussions\n    runs-on: ubuntu-latest\n    permissions:\n      discussions: write\n    steps:\n      - name: Stale discussions action\n        uses: aws-github-ops/handle-stale-discussions@711a9813957be17629fc6933afcd8bd132c57254\n        with:\n          # This will close stale-discussions as outdated instead of answered\n          close-stale-as-answered: false\n          # This will disable auto-closing answered discussions\n          close-answered-discussions: false\n        env:\n          GITHUB_TOKEN:  ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "boto/boto3"}
{"mined_at": "2024-07-15T14:55:51.333417", "created_at": "2021-09-25T03:42:11+02:00", "updated_at": "2021-10-08T00:21:50+02:00", "name": "Lint code", "path": ".github/workflows/lint.yml", "contents": "name: Lint code\n\non:\n  push:\n  pull_request:\n    branches-ignore: [ master ]\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608\n    - name: Set up Python 3.9\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n      with:\n        python-version: 3.9\n    - name: Run pre-commit\n      uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507\n", "state": "active", "repository": "boto/boto3"}
{"mined_at": "2024-07-15T14:55:52.562331", "created_at": "2023-11-23T01:04:40+01:00", "updated_at": "2023-11-27T19:17:00+01:00", "name": "Run CRT tests", "path": ".github/workflows/run-crt-test.yml", "contents": "name: Run CRT tests\n \non:\n  push:\n  pull_request:\n    branches-ignore: [master]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: '${{ matrix.os }}'\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13-dev']\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n        # Python 3.8 and 3.9 do not run on m1 hardware which is now standard for\n        # macOS-latest.\n        # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n        exclude:\n        - { python-version: \"3.8\", os: \"macos-latest\" }\n        - { python-version: \"3.9\", os: \"macos-latest\" }\n        include:\n        - { python-version: \"3.8\", os: \"macos-13\" }\n        - { python-version: \"3.9\", os: \"macos-13\" }\n\n    steps:\n      - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608\n      - name: 'Set up Python ${{ matrix.python-version }}'\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: '${{ matrix.python-version }}'\n      - name: Install dependencies and CRT\n        run: |\n          python scripts/ci/install --extras crt\n      - name: Run tests\n        run: |\n          python scripts/ci/run-crt-tests --with-cov --with-xdist\n", "state": "active", "repository": "boto/boto3"}
{"mined_at": "2024-07-15T14:55:53.581640", "created_at": "2020-10-29T22:00:23+01:00", "updated_at": "2020-10-29T22:00:23+01:00", "name": "Run tests", "path": ".github/workflows/run-tests.yml", "contents": "name: Run tests\n\non:\n  push:\n  pull_request:\n    branches-ignore: [ master ]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13-dev\"]\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n        # Python 3.8 and 3.9 do not run on m1 hardware which is now standard for\n        # macOS-latest.\n        # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n        exclude:\n        - { python-version: \"3.8\", os: \"macos-latest\" }\n        - { python-version: \"3.9\", os: \"macos-latest\" }\n        include:\n        - { python-version: \"3.8\", os: \"macos-13\" }\n        - { python-version: \"3.9\", os: \"macos-13\" }\n\n    steps:\n    - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python scripts/ci/install\n    - name: Run tests\n      run: |\n        python scripts/ci/run-tests\n", "state": "active", "repository": "boto/boto3"}
{"mined_at": "2024-07-15T14:55:54.814776", "created_at": "2020-04-28T19:01:52+02:00", "updated_at": "2020-04-28T19:01:52+02:00", "name": "Close stale issues", "path": ".github/workflows/stale_issue.yml", "contents": "name: \"Close stale issues\"\n\n# Controls when the action will run.\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\npermissions:\n  contents: read\n\njobs:\n  issue-cleanup:\n    permissions:\n      issues: write\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    name: Stale issue job\n    steps:\n    - uses: aws-actions/stale-issue-cleanup@389be0117d7661840b887276b5da1cc6ddf95c8a\n      with:\n        issue-types: issues\n        stale-issue-message: Greetings! It looks like this issue hasn’t been \n          active in longer than five days. We encourage you to check if this is still an issue in the latest release. \n          In the absence of more information, we will be closing this issue soon. \n          If you find that this is still a problem, please feel free to provide a comment or upvote \n          with a reaction on the initial post to prevent automatic closure. If the issue is already closed, \n          please feel free to open a new one.\n\n        # These labels are required\n        stale-issue-label: closing-soon\n        exempt-issue-labels: automation-exempt,needs-review\n        response-requested-label: response-requested\n\n        # Don't set closed-for-staleness label to skip closing very old issues\n        # regardless of label\n        closed-for-staleness-label: closed-for-staleness\n\n        # Issue timing\n        days-before-stale: 10\n        days-before-close: 4\n\n        # If you don't want to mark a issue as being ancient based on a\n        # threshold of \"upvotes\", you can set this here. An \"upvote\" is\n        # the total number of +1, heart, hooray, and rocket reactions\n        # on an issue.\n        minimum-upvotes-to-exempt: 2\n\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        loglevel: DEBUG\n        # Set dry-run to true to not perform label or close actions.\n        # dry-run: true\n", "state": "active", "repository": "boto/boto3"}
{"mined_at": "2024-07-15T14:55:56.844843", "created_at": "2021-04-19T23:01:11+02:00", "updated_at": "2021-04-19T23:01:11+02:00", "name": "build", "path": ".github/workflows/build.yaml", "contents": "# Copyright 2024 The Trax Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: build\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [3.7]\n        # tf-nightly has some pip version conflicts, so can't be installed.\n        # Use only numbered TF as of now.\n        # tf-version: [\"2.4.*\", \"tf-nightly\"]\n        tf-version: [\"2.4.*\"]\n        # Which set of tests to run.\n        trax-test: [\"lib\", \"research\"]\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -q -U setuptools numpy\n        python -m pip install flake8 pytest\n        if [[ ${{matrix.tf-version}} == \"tf-nightly\" ]]; then python -m pip install tf-nightly; else python -m pip install -q \"tensorflow==\"${{matrix.tf-version}}; fi\n        pip install -e .[tests,t5]\n    # # Lint with flake8\n    # - name: Lint with flake8\n    #   run: |\n    #     # stop the build if there are Python syntax errors or undefined names\n    #     flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n    #     # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n    #     flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    # Test out right now with only testing one directory.\n    - name: Test with pytest\n      run: |\n        TRAX_TEST=\" ${{matrix.trax-test}}\" ./oss_scripts/oss_tests.sh\n    # The below step just reports the success or failure of tests as a \"commit status\".\n    # This is needed for copybara integration.\n    - name: Report success or failure as github status\n      if: always()\n      shell: bash\n      run: |\n        status=\"${{ job.status }}\"\n        lowercase_status=$(echo $status | tr '[:upper:]' '[:lower:]')\n        curl -sS --request POST \\\n        --url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \\\n        --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \\\n        --header 'content-type: application/json' \\\n        --data '{\n            \"state\": \"'$lowercase_status'\",\n            \"target_url\": \"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\n            \"description\": \"'$status'\",\n            \"context\": \"github-actions/build\"\n            }'\n", "state": "active", "repository": "google/trax"}
{"mined_at": "2024-07-15T14:55:57.871487", "created_at": "2023-08-01T22:03:30+02:00", "updated_at": "2023-08-01T22:03:30+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/trax"}
{"mined_at": "2024-07-15T14:56:00.008650", "created_at": "2021-05-04T23:04:30+02:00", "updated_at": "2021-05-05T20:46:24+02:00", "name": "Build Docs", "path": ".github/workflows/build_docs.yaml", "contents": "name: Build Docs\non:\n  pull_request:\n    types: [opened, synchronize]\n  push:\n    branches:\n      - main\n  workflow_dispatch:\nenv:\n  PYARROW_IGNORE_TIMEZONE: 1\n  JAVA_HOME: \"/usr/lib/jvm/java-11-openjdk-amd64\"\njobs:\n  build_docs:\n    name: ${{ matrix.python_version }} build docs\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Set up python ${{ matrix.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n          cache: 'pip' \n          cache-dependency-path: 'pyproject.toml'\n      - uses: actions/cache@v3\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }} \n          key: ${{ matrix.python_version }}-docs-${{ env.pythonLocation }}-${{ hashFiles('**/pyproject.toml') }}-v01\n      - name: Build featuretools package\n        run: |\n          make package\n      - name: Install complete version of featuretools from sdist (not using cache)\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          python -m pip install \"unpacked_sdist/[dev]\"\n      - name: Install complete version of featuretools from sdist (using cache)\n        if: steps.cache.outputs.cache-hit == 'true'\n        run: |\n          python -m pip install \"unpacked_sdist/[dev]\" --no-deps\n      - name: Install apt packages\n        run: |\n          sudo apt update\n          sudo apt install -y pandoc\n          sudo apt install -y graphviz\n          python -m pip check\n      - name: Build docs\n        run: make -C docs/ -e \"SPHINXOPTS=-W -j auto\" clean html\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:01.266079", "created_at": "2022-05-13T21:47:54+02:00", "updated_at": "2022-05-13T22:43:43+02:00", "name": "Install Test", "path": ".github/workflows/install_test.yaml", "contents": "name: Install Test\non:\n  pull_request:\n    types: [opened, synchronize]\n  push:\n    branches:\n      - main\nenv:\n  ALTERYX_OPEN_SRC_UPDATE_CHECKER: False\njobs:\n  install_ft_complete:\n    name: ${{ matrix.os }} - ${{ matrix.python_version }} install featuretools complete\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python_version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Set up python ${{ matrix.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n          cache: 'pip' \n          cache-dependency-path: 'pyproject.toml'\n      - name: Build featuretools package\n        run: |\n          make package\n      - name: Install complete version of featuretools from sdist\n        run: |\n          python -m pip install \"unpacked_sdist/[complete]\"\n      - name: Test by importing packages\n        run: |\n          python -c \"import premium_primitives\"\n          python -c \"from nlp_primitives import PolarityScore\"\n      - name: Check package conflicts\n        run: |\n          python -m pip check\n      - name: Verify extra_requires commands\n        run: |\n          python -m pip install \"unpacked_sdist/[nlp]\"\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:02.392063", "created_at": "2022-05-13T21:48:34+02:00", "updated_at": "2022-05-13T22:43:43+02:00", "name": "Lint Check", "path": ".github/workflows/lint_check.yaml", "contents": "name: Lint Check\non:\n  pull_request:\n    types: [opened, synchronize]\n  push:\n    branches:\n      - main\njobs:\n  lint_check:\n    name: ${{ matrix.python_version }} lint check\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [\"3.12\"]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Set up python ${{ matrix.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n          cache: 'pip' \n          cache-dependency-path: 'pyproject.toml'\n      - uses: actions/cache@v3\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }} \n          key: ${{ matrix.python_version }}-lint-${{ env.pythonLocation }}-${{ hashFiles('**/pyproject.toml') }}-v01\n      - name: Install featuretools with optional, dev, and test requirements (not using cache)\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          python -m pip install -e .[dev]\n      - name: Install featuretools with no requirements (using cache)\n        if: steps.cache.outputs.cache-hit == 'true'\n        run: |\n          python -m pip install -e .[dev] --no-deps\n      - name: Run lint test\n        run: make lint\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:03.514736", "created_at": "2022-05-13T21:49:15+02:00", "updated_at": "2023-02-01T22:47:54+01:00", "name": "Release Notes Updated", "path": ".github/workflows/release_notes_updated.yaml", "contents": "name: Release Notes Updated\non:\n  pull_request:\n    types: [opened, synchronize]\njobs:\n  release_notes_updated:\n    name: release notes updated\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check for development branch\n        id: branch\n        shell: python\n        env:\n          REF: ${{ github.event.pull_request.head.ref }}\n        run: |\n          from re import compile\n          import os\n          main = '^main$'\n          release = '^release_v\\d+\\.\\d+\\.\\d+$'\n          backport = '^backport_v\\d+\\.\\d+\\.\\d+$'\n          dep_update = '^latest-dep-update-[a-f0-9]{7}$'\n          min_dep_update = '^min-dep-update-[a-f0-9]{7}$'\n          regex = main, release, backport, dep_update, min_dep_update\n          patterns = list(map(compile, regex))\n          ref = os.environ[\"REF\"]\n          is_dev = not any(pattern.match(ref) for pattern in patterns)\n          print('::set-output name=is_dev::' + str(is_dev))\n      - if: ${{ steps.branch.outputs.is_dev == 'true' }}\n        name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - if: ${{ steps.branch.outputs.is_dev == 'true' }}\n        name: Check if release notes were updated\n        run: cat docs/source/release_notes.rst | grep \":pr:\\`${{ github.event.number }}\\`\"\n        \n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:04.646463", "created_at": "2022-05-13T22:43:43+02:00", "updated_at": "2024-02-15T23:49:56+01:00", "name": "Auto Approve Dependency PRs", "path": ".github/workflows/auto_approve_dependency_PRs.yaml", "contents": "name: Auto Approve Dependency PRs\non:\n  schedule:\n      - cron: '*/30 * * * *'\n  workflow_dispatch:\n  workflow_run:\n    workflows: [\"Unit Tests - Latest Dependencies\", \"Unit Tests - 3.9 Minimum Dependencies\"]\n    branches:\n      - 'latest-dep-update-[a-f0-9]+'\n      - 'min-dep-update-[a-f0-9]+'\n    types:\n      - completed\njobs:\n  build:\n    if: ${{ github.repository_owner == 'alteryx' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Find dependency PRs\n        id: find_prs\n        run: |\n          gh auth status\n          gh pr list --repo \"${{ github.repository }}\" --assignee \"machineFL\" --base main --state open --search \"status:success review:required\" --limit 1 --json number > dep_PRs_waiting_approval.json\n          dep_pull_request=$(cat dep_PRs_waiting_approval.json | grep -Eo \"[0-9]*\")\n          echo ::set-output name=dep_pull_request::${dep_pull_request}\n        env:\n          GITHUB_TOKEN: ${{ secrets.AUTO_APPROVE_TOKEN }}\n      - name: Approve dependency PRs and enable auto-merge\n        if: ${{ steps.find_prs.outputs.dep_pull_request > 1 }}\n        run: |\n          gh pr review --repo \"${{ github.repository }}\" --comment --body \"auto approve\" ${{ steps.find_prs.outputs.dep_pull_request }}\n          gh pr review --repo \"${{ github.repository }}\" --approve ${{ steps.find_prs.outputs.dep_pull_request }}\n          gh pr merge --repo \"${{ github.repository }}\" --auto --squash --delete-branch ${{ steps.find_prs.outputs.dep_pull_request }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.AUTO_APPROVE_TOKEN }}\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:05.660700", "created_at": "2022-05-13T22:43:43+02:00", "updated_at": "2022-05-13T22:43:43+02:00", "name": "Kickoff EvalML Unit Tests", "path": ".github/workflows/kickoff_evalml_unit_tests.yaml", "contents": "name: Kickoff EvalML Unit Tests\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  kickoff:\n    name: Run EvalML unit tests\n    if: github.repository_owner == 'alteryx'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Run workflow for EvalML unit tests\n        run: gh workflow run unit_tests_with_featuretools_main_branch.yaml --repo \"alteryx/evalml\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:06.796930", "created_at": "2022-05-13T22:43:43+02:00", "updated_at": "2023-04-14T19:26:08+02:00", "name": "Latest Dependency Checker", "path": ".github/workflows/latest_dependency_checker.yaml", "contents": "# This workflow will install dependenies and if any critical dependencies have changed a pull request\n# will be created which will trigger a CI run with the new dependencies.\n\nname: Latest Dependency Checker\non:\n  schedule:\n    - cron: '0 * * * *'\n  workflow_dispatch:\njobs:\n  build:\n    if: ${{ github.repository_owner == 'alteryx' }}\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Update dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -e \".[dask,test]\"\n          make checkdeps OUTPUT_PATH=featuretools/tests/requirement_files/latest_requirements.txt\n      - name: Create pull request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          token: ${{ secrets.REPO_SCOPED_TOKEN }}\n          commit-message: Update latest dependencies\n          title: Automated Latest Dependency Updates\n          author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n          body: \"This is an auto-generated PR with **latest** dependency updates.\n                Please do not delete the `latest-dep-update` branch because it's needed by the auto-dependency bot.\"\n          branch: latest-dep-update\n          branch-suffix: short-commit-hash\n          base: main\n          assignees: machineFL\n          reviewers: machineAYX\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:07.797213", "created_at": "2022-05-13T22:43:43+02:00", "updated_at": "2022-05-13T22:43:43+02:00", "name": "Minimum Dependency Checker", "path": ".github/workflows/minimum_dependency_checker.yaml", "contents": "name: Minimum Dependency Checker\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - 'pyproject.toml'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Run min dep generator - test reqs\n        id: min_dep_gen_test\n        uses: alteryx/minimum-dependency-generator@v3\n        with:\n          paths: 'pyproject.toml'\n          options: 'dependencies'\n          extras_require: 'test'\n          output_filepath: featuretools/tests/requirement_files/minimum_test_requirements.txt\n      - name: Run min dep generator - core reqs\n        id: min_dep_gen_core\n        uses: alteryx/minimum-dependency-generator@v3\n        with:\n          paths: 'pyproject.toml'\n          options: 'dependencies'\n          output_filepath: featuretools/tests/requirement_files/minimum_core_requirements.txt\n      - name: Run min dep generator - dask\n        id: min_dep_gen_dask\n        uses: alteryx/minimum-dependency-generator@v3\n        with:\n          paths: 'pyproject.toml'\n          options: 'dependencies'\n          extras_require: 'dask'\n          output_filepath: featuretools/tests/requirement_files/minimum_dask_requirements.txt\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          token: ${{ secrets.REPO_SCOPED_TOKEN }}\n          commit-message: Update minimum dependencies\n          title: Automated Minimum Dependency Updates\n          author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n          body: \"This is an auto-generated PR with **minimum** dependency updates.\n                 Please do not delete the `min-dep-update` branch because it's needed by the auto-dependency bot.\"\n          branch: min-dep-update\n          branch-suffix: short-commit-hash\n          base: main\n          assignees: machineFL\n          reviewers: machineAYX\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:08.883673", "created_at": "2022-05-13T22:43:43+02:00", "updated_at": "2022-05-13T22:43:43+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "on:\n  release:\n    types: [published]\n\nname: Release\njobs:\n  pypi-publish:\n    name: PyPI Release\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n    - name: Install deps\n      run: |\n        python -m pip install --quiet --upgrade pip\n        python -m pip install --quiet --upgrade build\n        python -m pip install --quiet --upgrade setuptools\n    - name: Remove build artifacts and docs\n      run: |\n        rm -rf .eggs/ dist/ build/ docs/\n    - name: Build distribution\n      run: python -m build\n\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n    - name: Run workflow to create feedstock pull request\n      run: |\n        gh workflow run create_feedstock_pr.yaml --repo \"alteryx/featuretools\" -f version=${{ github.event.release.tag_name }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:09.959432", "created_at": "2022-07-22T19:31:55+02:00", "updated_at": "2022-07-22T19:31:55+02:00", "name": "Create Feedstock PR", "path": ".github/workflows/create_feedstock_pr.yaml", "contents": "on:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'released PyPI version to use (ex - v1.11.1)'\n        required: true\n\nname: Create Feedstock PR\njobs:\n  create_feedstock_pr:\n    name: Create Feedstock PR\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout inputted version\n        uses: actions/checkout@v3\n        with:\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          ref: ${{ github.event.inputs.version }}\n          path: \"./featuretools\"\n      - name: Pull latest from upstream for user forked feedstock\n        run: |\n          gh auth status\n          gh repo sync alteryx/featuretools-feedstock --branch main --source conda-forge/featuretools-feedstock --force\n        env:\n          GITHUB_TOKEN: ${{ secrets.AUTO_APPROVE_TOKEN }}\n      - uses: actions/checkout@v3\n        with:\n          repository: alteryx/featuretools-feedstock\n          ref: main\n          path: \"./featuretools-feedstock\"\n          fetch-depth: '0'\n      - name: Run Create Feedstock meta YAML\n        id: create-feedstock-meta\n        uses: alteryx/create-feedstock-meta-yaml@v4\n        with:\n          project: \"featuretools\"\n          pypi_version: ${{ github.event.inputs.version }}\n          project_metadata_filepath: \"featuretools/pyproject.toml\"\n          meta_yaml_filepath: \"featuretools-feedstock/recipe/meta.yaml\"\n          add_to_test_requirements: \"graphviz !=2.47.2\"\n      - name: View updated meta yaml\n        run: cat featuretools-feedstock/recipe/meta.yaml\n      - name: Push updated yaml\n        run: |\n          cd featuretools-feedstock\n          git config --unset-all http.https://github.com/.extraheader\n          git config --global user.email \"machineOSS@alteryx.com\"\n          git config --global user.name \"machineAYX Bot\"\n          git remote set-url origin https://${{ secrets.AUTO_APPROVE_TOKEN }}@github.com/alteryx/featuretools-feedstock\n          git checkout -b ${{ github.event.inputs.version }}\n          git add recipe/meta.yaml\n          git commit -m \"${{ github.event.inputs.version }}\"\n          git push origin ${{ github.event.inputs.version }}\n      - name: Adding URL to job output\n        run: |\n          echo \"Conda Feedstock Pull Request: https://github.com/alteryx/featuretools-feedstock/pull/new/${{ github.event.inputs.version }}\" >> $GITHUB_STEP_SUMMARY\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:11.096424", "created_at": "2022-09-01T17:30:06+02:00", "updated_at": "2022-09-01T18:56:58+02:00", "name": "Test without Test Dependencies", "path": ".github/workflows/test_without_test_dependencies.yaml", "contents": "name: Test without Test Dependencies\non:\n  pull_request:\n    types: [opened, synchronize]\n  push:\n    branches:\n      - main\n  workflow_dispatch:\njobs:\n  use_featuretools_without_test_dependencies:\n    name: Test featuretools without Test Dependencies\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Set up python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Build featuretools and install\n        run: |\n          make package\n          python -m pip install unpacked_sdist/\n      - name: Run simple featuretools usage\n        run: |\n          import featuretools as ft\n          es = ft.demo.load_mock_customer(return_entityset=True)\n          ft.dfs(\n              entityset=es,\n              target_dataframe_name=\"customers\",\n              agg_primitives=[\"count\"],\n              trans_primitives=[\"month\"],\n              max_depth=1,\n          )\n          from featuretools.primitives import IsFreeEmailDomain\n          is_free_email_domain = IsFreeEmailDomain()\n          is_free_email_domain(['name@gmail.com', 'name@featuretools.com']).tolist()\n        shell: python\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:12.125234", "created_at": "2023-02-01T22:52:09+01:00", "updated_at": "2023-02-01T23:57:08+01:00", "name": "Pull Request Check", "path": ".github/workflows/pull_request_check.yaml", "contents": "name: Pull Request Check\non:\n  pull_request:\n    types: [opened, edited, reopened, synchronize]\njobs:\n  pull_request_check:\n    name: pull request check\n    runs-on: ubuntu-latest\n    steps:\n      - uses: nearform-actions/github-action-check-linked-issues@v1.4.5\n        id: check-linked-issues\n        with:\n          exclude-branches: \"release_v**, backport_v**, main, latest-dep-update-**, min-dep-update-**, dependabot/**\"          \n          github-token: ${{ secrets.REPO_SCOPED_TOKEN }}\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:13.154796", "created_at": "2023-06-12T21:00:12+02:00", "updated_at": "2023-06-14T18:56:23+02:00", "name": "Looking Glass performance tests", "path": ".github/workflows/looking_glass_airflow_performance_tests.yaml", "contents": "name: Looking Glass performance tests\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n    inputs:\n      current_hash_input:\n        description: 'The new commit to evaluate (optional)'\n        required: false\n        type: string\n      previous_hash_input:\n        description: 'The previous commit to evaluate (optional)'\n        required: false\n        type: string\njobs:\n  performance_tests:\n    name: Looking Glass performance tests - py38 - ${{ matrix.test_type }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        test_type: [\"pandas\"]\n    steps:\n      - name: Generate default ISO timestamp\n        run: |\n          echo \"TIMESTAMP=$(date +\"%Y-%m-%dT%H:%M:%S.%3NZ\")\" >> $GITHUB_ENV\n      - name: Checkout Featuretools\n        uses: actions/checkout@v3\n        with:\n          repository: 'alteryx/featuretools'\n          fetch-depth: 2\n      - name: Get current commit hash\n        id: get_current_hash\n        run: |\n          if [ -z \"${{ inputs.current_hash_input }}\" ]\n          then\n            current_hash=$(git rev-parse --short HEAD)\n          else\n            current_hash=${{ inputs.current_hash_input }}\n          fi\n          echo \"Latest commit hash: $current_hash\"\n          echo \"CURRENT_HASH=$current_hash\" >> $GITHUB_ENV\n      - name: Get previous commit hash\n        id: get_previous_hash\n        run: |\n          if [ -z \"${{ inputs.previous_hash_input }}\" ]\n          then\n            previous_hash=$(git rev-parse --short HEAD~1)\n          else\n            previous_hash=${{ inputs.previous_hash_input }}\n          fi\n          echo \"Previous commit hash: $previous_hash\"\n          echo \"PREVIOUS_HASH=$previous_hash\" >> $GITHUB_ENV\n      - name: Run performance tests and generate report\n        run: |\n          curl --location --request POST '${{ secrets.AIRFLOW_BASE_URL }}dags/featuretools_entitysets_run_tests_generate_report/dagRuns' \\\n          -u '${{ secrets.AIRFLOW_USER }}:${{ secrets.AIRFLOW_PASS }}' \\\n          --header 'Content-Type: application/json' \\\n          --data-raw '{\n            \"conf\": {\n                  \"description\": \"${{ matrix.test_type }}\",\n                  \"n_trials\": 1,\n                  \"pytest_args\": {\n                    \"n-jobs\": 1,\n                    \"datasets-bucket-name-s3\": \"featuretools-performance-tests\",\n                    \"results-bucket-name-s3\": \"featuretools-performance-results\"\n                  },\n                  \"python_version\": \"3.9\",\n                  \"scenarios_yaml\": \"entityset_scenarios_${{ matrix.test_type }}.yaml\",\n                  \"featuretools_branch_previous\": \"${{ env.PREVIOUS_HASH }}\",\n                  \"featuretools_branch_new\": \"${{ env.CURRENT_HASH }}\",\n                  \"username\": \"${{ secrets.AIRFLOW_USER }}\",\n                  \"author\": \"${{ github.event.head_commit.author.name }}\"\n                },\n            \"logical_date\": \"${{ env.TIMESTAMP }}\",\n            \"dag_run_id\": \"api_featuretools_entitysets_run_tests_generate_report_${{ env.TIMESTAMP }}\"\n          }'", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:14.368967", "created_at": "2023-08-14T21:43:58+02:00", "updated_at": "2023-08-14T22:54:49+02:00", "name": "Tests", "path": ".github/workflows/tests_with_latest_deps.yaml", "contents": "name: Tests\non:\n  pull_request:\n    types: [opened, synchronize]\n  push:\n    branches:\n      - main\n  workflow_dispatch:\njobs:\n  tests:\n    name: ${{ matrix.python_version }} unit tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Build featuretools package\n        run: make package\n      - name: Set up pip and graphviz\n        run: |\n          pip config --site set global.progress_bar off\n          python -m pip install --upgrade pip\n          sudo apt update && sudo apt install -y graphviz\n      - name: Install featuretools with test requirements\n        run: |\n          python -m pip install -e unpacked_sdist/\n          python -m pip install -e unpacked_sdist/[test,dask]\n      - if: ${{ matrix.python_version == 3.9 }}\n        name: Generate coverage args\n        run: echo \"coverage_args=--cov=featuretools --cov-config=../pyproject.toml --cov-report=xml:../coverage.xml\" >> $GITHUB_ENV\n      - if: ${{ env.coverage_args }}\n        name: Erase coverage files\n        run: |\n          cd unpacked_sdist\n          coverage erase\n      - name: Run unit tests\n        run: |\n          cd unpacked_sdist\n          pytest featuretools/ -n auto ${{ env.coverage_args }}\n      - if: ${{ env.coverage_args }}\n        name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n          files: ${{ github.workspace }}/coverage.xml\n          verbose: true\n\n\n  win_unit_tests:\n    name: ${{ matrix.python_version }} windows unit tests\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Download miniconda\n        shell: pwsh\n        run: |\n          $File = \"Miniconda3-latest-Windows-x86_64.exe\"\n          $Uri = \"https://repo.anaconda.com/miniconda/$File\"\n          $ProgressPreference = \"silentlyContinue\"\n          Invoke-WebRequest -Uri $Uri -Outfile \"$env:USERPROFILE/$File\"\n          $hashFromFile = Get-FileHash \"$env:USERPROFILE/$File\" -Algorithm SHA256\n          $hashFromUrl = \"f4d6147b40ea6822255c2dcec8bb0d357c09e230976213f70d7b8c4a10d86bb0\"\n          if ($hashFromFile.Hash -ne \"$hashFromUrl\") {\n            Throw \"$File hashes do not match\"\n          }\n      - name: Install miniconda\n        shell: cmd\n        run: start /wait \"\" %UserProfile%\\Miniconda3-latest-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /S /D=%UserProfile%\\Miniconda3\n      - name: Create python ${{ matrix.python_version }} environment\n        shell: pwsh\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda create -n featuretools python=${{ matrix.python_version }}\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Install featuretools with test requirements\n        shell: pwsh\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda activate featuretools\n          conda config --add channels conda-forge\n          conda install -q -y -c conda-forge python-graphviz graphviz\n          python -m pip install --upgrade pip\n          python -m pip install .[test,dask]\n      - name: Run unit tests\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda activate featuretools\n          pytest featuretools\\ -n auto\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:15.484937", "created_at": "2023-08-14T21:44:18+02:00", "updated_at": "2023-08-14T22:54:49+02:00", "name": "Tests - Minimum Dependencies", "path": ".github/workflows/tests_with_minimum_deps.yaml", "contents": "name: Tests - Minimum Dependencies\non:\n  pull_request:\n    types: [opened, synchronize]\n  push:\n    branches:\n      - main\n  workflow_dispatch:\njobs:\n  py39_tests_minimum_dependencies:\n    name: Tests - 3.9 Minimum Dependencies\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [\"3.9\"]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Config pip, upgrade pip, and install graphviz\n        run: |\n          sudo apt update\n          sudo apt install -y graphviz\n          pip config --site set global.progress_bar off\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n      - name: Install featuretools with no dependencies\n        run: |\n          python -m pip install -e . --no-dependencies\n      - name: Install featuretools - minimum tests dependencies\n        run: |\n          python -m pip install -r featuretools/tests/requirement_files/minimum_test_requirements.txt\n      - name: Install featuretools - minimum core dependencies\n        run: |\n          python -m pip install -r featuretools/tests/requirement_files/minimum_core_requirements.txt\n      - name: Install featuretools - minimum Dask dependencies\n        run: |\n          python -m pip install -r featuretools/tests/requirement_files/minimum_dask_requirements.txt\n      - name: Run unit tests without code coverage\n        run: python -m pytest -x -n auto featuretools/tests/", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:16.513687", "created_at": "2023-08-14T22:54:49+02:00", "updated_at": "2024-02-09T22:21:45+01:00", "name": "Tests - Featuretools with Woodwork main branch", "path": ".github/workflows/tests_with_woodwork_main_branch.yaml", "contents": "name: Tests - Featuretools with Woodwork main branch\non:\n  workflow_dispatch:\njobs:\n  tests_woodwork_main:\n    if: ${{ github.repository_owner == 'alteryx' }}\n    name: ${{ matrix.python_version }} tests ${{ matrix.libraries }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        python_version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Checkout repository\n        uses: actions/checkout@v3\n      - name: Build featuretools package\n        run: make package\n      - name: Set up pip and graphviz\n        run: |\n          pip config --site set global.progress_bar off\n          python -m pip install -U pip\n          sudo apt update && sudo apt install -y graphviz\n      - name: Install Woodwork & Featuretools - test requirements\n        run: |\n          python -m pip install -e unpacked_sdist/[test,dask]\n          python -m pip uninstall -y woodwork\n          python -m pip install https://github.com/alteryx/woodwork/archive/main.zip\n      - name: Log test run info\n        run: |\n          echo \"Run unit tests without code coverage for ${{ matrix.python_version }}\"\n          echo \"Testing with woodwork version:\" `python -c \"import woodwork; print(woodwork.__version__)\"`\n      - name: Run unit tests without code coverage\n        run: pytest featuretools/ -n auto\n\n  slack_alert_failure:\n    name: Send Slack alert if failure\n    needs: tests_woodwork_main\n    runs-on: ubuntu-latest\n    if: ${{ always() }}\n    steps:\n      - name: Send Slack alert if failure\n        if: ${{ needs.tests_woodwork_main.result != 'success' }}\n        id: slack\n        uses: slackapi/slack-github-action@v1\n        with:\n          payload: |\n            {\n              \"url\": \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n            }\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:17.666565", "created_at": "2022-05-13T22:43:43+02:00", "updated_at": "2023-01-11T21:04:19+01:00", "name": "performance-check", "path": ".github/workflows/performance-check.yaml", "contents": "name: performance-check\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\njobs:\n  run-performance-analysis:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Run Lambda\n        env:\n          lambda_function: ${{ secrets.LAMBDA_FUNC }}\n        run: |\n          echo \"{\\\"TestCommit\\\": \\\"$GITHUB_SHA\\\", \\\"Flags\\\": \\\"--upload-slack\\\"}\" | base64 > payload.b64\n          aws lambda invoke --function-name $lambda_function --payload file://payload.b64 --invocation-type Event /dev/stdout 1>/dev/null\n", "state": "disabled_manually", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:18.878206", "created_at": "2022-05-19T05:52:56+02:00", "updated_at": "2022-06-02T15:51:36+02:00", "name": "Broken link check", "path": ".github/workflows/broken_link_check.yaml", "contents": "name: Broken link check\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"* * * * 1\"\n\njobs:\n  my-broken-link-checker:\n    name: Check for broken links\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Check for broken links\n        uses: ruzickap/action-my-broken-link-checker@v2\n        with:\n          url: https://featuretools.alteryx.com/en/latest/\n          cmd_params: '--max-connections=10 --color=always --ignore-fragments --buffer-size=8192 --skip-tls-verification --exclude=\"(twitter|github|cloudflare|featuretools\\\\.alteryx\\\\.com\\\\/en\\\\/(stable|main|v.+).*)\"'\n      - name: Add to job output\n        run: echo \"${{steps.link-report.outputs.result}}\" >> $GITHUB_STEP_SUMMARY\n", "state": "disabled_manually", "repository": "alteryx/featuretools"}
{"mined_at": "2024-07-15T14:56:21.023305", "created_at": "2020-11-11T02:06:33+01:00", "updated_at": "2020-11-13T21:02:10+01:00", "name": "Code Tests", "path": ".github/workflows/test_code.yml", "contents": "name: Code Tests\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  run:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.8\", \"3.12\"]\n        experimental: [false]\n        include:\n          - python-version: \"3.12\"\n            os: \"ubuntu-latest\"\n            experimental: true\n      fail-fast: false\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Micromamba env\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        create-args: >-\n          python=${{ matrix.python-version }}\n          --file requirements.txt\n          --file requirements-dev.txt\n\n    - name: Install nightly versions of dependencies\n      if: matrix.experimental == true\n      run: python -m pip install --pre --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --extra-index-url https://pypi.org/simple numpy pandas shapely -U\n\n    - name: Install folium from source\n      run: python -m pip install -e . --no-deps --force-reinstall\n\n    - name: Code tests\n      run: python -m pytest -vv --ignore=tests/selenium\n", "state": "active", "repository": "python-visualization/folium"}
{"mined_at": "2024-07-15T14:56:22.157343", "created_at": "2020-11-13T21:00:55+01:00", "updated_at": "2020-11-13T21:02:10+01:00", "name": "Selenium Tests", "path": ".github/workflows/test_selenium.yml", "contents": "name: Selenium Tests\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.8\", \"3.12\" ]\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Micromamba env\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        create-args: >-\n          python=3\n          --file requirements.txt\n          --file requirements-dev.txt\n\n    - name: Install folium from source\n      shell: bash -l {0}\n      run: python -m pip install -e . --no-deps --force-reinstall\n\n    - name: Selenium tests\n      shell: bash -l {0}\n      run: python -m pytest tests/selenium -vv\n", "state": "active", "repository": "python-visualization/folium"}
{"mined_at": "2024-07-15T14:56:23.272739", "created_at": "2021-11-12T20:00:11+01:00", "updated_at": "2021-11-30T21:51:53+01:00", "name": "Code Tests with Latest branca", "path": ".github/workflows/test_latest_branca.yml", "contents": "name: Code Tests with Latest branca\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Micromamba env\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        create-args: >-\n          python=3\n          --file requirements.txt\n          --file requirements-dev.txt\n\n    - name: Install folium from source\n      shell: bash -l {0}\n      run: python -m pip install -e . --no-deps --force-reinstall\n\n    - name: Tests with latest branca\n      shell: bash -l {0}\n      run: |\n        micromamba remove branca --yes --force\n        python -m pip install git+https://github.com/python-visualization/branca.git\n        python -m pytest -vv --ignore=tests/selenium\n", "state": "active", "repository": "python-visualization/folium"}
{"mined_at": "2024-07-15T14:56:24.356588", "created_at": "2022-10-07T14:32:30+02:00", "updated_at": "2022-10-07T15:27:58+02:00", "name": "Publish to PyPI", "path": ".github/workflows/pypi.yml", "contents": "name: Publish to PyPI\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n  release:\n    types:\n      - published\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  packages:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n\n    - name: Get tags\n      run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n\n\n    - name: Install build tools\n      run: |\n        python -m pip install --upgrade pip wheel build twine\n\n    - name: Build binary wheel and sdist\n      run: python -m build --sdist --wheel . --outdir dist\n\n    - name: CheckFiles\n      run: |\n        ls dist\n\n    - name: Test wheels\n      run: |\n        cd dist && python -m pip install folium*.whl\n        python -m twine check *\n\n    - name: Publish a Python distribution to PyPI\n      if: success() && github.event_name == 'release'\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "python-visualization/folium"}
{"mined_at": "2024-07-15T14:56:25.353073", "created_at": "2022-10-10T16:05:34+02:00", "updated_at": "2022-11-07T21:07:23+01:00", "name": "Publish Docs", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Publish Docs\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n  release:\n    types:\n      - published\n\npermissions:\n  # Give the GITHUB_TOKEN write permission to open a PR with the changes to the switcher.json file.\n  contents: write\n  pull-requests: write\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        ref: main\n\n    - name: Setup Micromamba env\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        create-args: >-\n          python=3\n          --file requirements.txt\n          --file requirements-dev.txt\n\n    - name: Install folium from source\n      shell: bash -l {0}\n      run: python -m pip install -e . --no-deps --force-reinstall\n\n    - name: Build documentation\n      shell: bash -l {0}\n      run: |\n        set -e\n        pushd docs\n        make clean html linkcheck\n        popd\n\n    - name: Update switcher and latest version\n      if: ${{ github.event_name == 'release' }}\n      run: |\n        python docs/update_switcher.py --version ${{ github.ref_name }}\n\n    - name: Create PR\n      if: ${{ github.event_name == 'release' }}\n      uses: peter-evans/create-pull-request@v6\n      with:\n        commit-message: \"docs: Update switcher.json for ${{ github.ref_name }}\"\n        title: \"docs: Update switcher.json for ${{ github.ref_name }}\"\n        body: \"This PR updates the switcher.json file.\"\n        branch: \"docs/update-switcher-${{ github.ref_name }}\"\n        base: \"main\"\n        labels: \"documentation\"\n\n    - name: Publish to Github Pages on main\n      if: ${{ github.ref == 'refs/heads/main' }}\n      uses: peaceiris/actions-gh-pages@v4\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: docs/_build/html/\n        destination_dir: dev\n        keep_files: false\n\n    - name: Publish to Github Pages on release\n      if: ${{ github.event_name == 'release' }}\n      uses: peaceiris/actions-gh-pages@v4\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: docs/_build/html/\n        destination_dir: ${{ github.ref_name }}\n", "state": "active", "repository": "python-visualization/folium"}
{"mined_at": "2024-07-15T14:56:26.457245", "created_at": "2022-11-30T18:04:01+01:00", "updated_at": "2023-01-02T09:21:49+01:00", "name": "Mypy type hint checks", "path": ".github/workflows/test_mypy.yml", "contents": "name: Mypy type hint checks\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Micromamba env\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        create-args: >-\n          python=3\n          --file requirements.txt\n          --file requirements-dev.txt\n\n    - name: Install folium from source\n      shell: bash -l {0}\n      run: |\n        python -m pip install -e . --no-deps --force-reinstall\n\n    - name: Mypy test\n      shell: bash -l {0}\n      run: |\n        mypy folium\n", "state": "active", "repository": "python-visualization/folium"}
{"mined_at": "2024-07-15T14:56:27.457471", "created_at": "2023-01-22T15:27:40+01:00", "updated_at": "2023-01-22T15:27:40+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "python-visualization/folium"}
{"mined_at": "2024-07-15T14:56:28.583462", "created_at": "2024-03-05T12:51:48+01:00", "updated_at": "2024-03-05T12:51:48+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "python-visualization/folium"}
{"mined_at": "2024-07-15T14:56:32.087775", "created_at": "2024-01-09T13:19:24+01:00", "updated_at": "2024-01-10T10:18:59+01:00", "name": "Quality", "path": ".github/workflows/quality.yml", "contents": "name: Quality\n\non:\n  push:\n    branches:\n      - master\n      - v*-release\n      - v*-pre\n  pull_request:\n    branches:\n      - master\n      - v*-release\n      - v*-pre\n  workflow_dispatch:\n\njobs:\n\n  check_code_quality:\n    name: Check code quality\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - name: Setup Python environment\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .\n          python -m pip install ruff\n      - name: Code quality\n        run: |\n          make quality", "state": "active", "repository": "ukplab/sentence-transformers"}
{"mined_at": "2024-07-15T14:56:33.126806", "created_at": "2023-12-12T10:35:53+01:00", "updated_at": "2023-12-12T10:35:53+01:00", "name": "Unit tests", "path": ".github/workflows/tests.yml", "contents": "name: Unit tests\n\non:\n  push:\n    branches:\n      - master\n      - v*-release\n  pull_request:\n    branches:\n      - master\n      - v*-release\n  workflow_dispatch:\n\njobs:\n\n  test_sampling:\n    name: Run unit tests\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        os: [ubuntu-latest, windows-latest]\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Setup Python environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Try to load cached dependencies\n        uses: actions/cache@v3\n        id: restore-cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: python-dependencies-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}-${{ env.pythonLocation }}\n\n      - name: Install external dependencies on cache miss\n        run: |\n          python -m pip install --no-cache-dir --upgrade pip\n          python -m pip install --no-cache-dir -r requirements.txt\n          python -m pip install --no-cache-dir pytest\n        if: steps.restore-cache.outputs.cache-hit != 'true'\n\n      - name: Install the checked-out sentence-transformers\n        run: python -m pip install .[train]\n\n      - name: Run unit tests\n        shell: bash\n        run: |\n          pytest --durations 20 -sv tests/\n", "state": "active", "repository": "ukplab/sentence-transformers"}
{"mined_at": "2024-07-15T14:56:35.205966", "created_at": "2024-05-24T16:24:32+02:00", "updated_at": "2024-05-24T19:42:26+02:00", "name": "Tests trigger", "path": ".github/workflows/pytest-trigger.yml", "contents": null, "state": "active", "repository": "tensorflow/datasets"}
{"mined_at": "2024-07-15T14:56:36.400056", "created_at": "2021-09-09T10:58:14+02:00", "updated_at": "2023-03-20T15:56:31+01:00", "name": "Unittests", "path": ".github/workflows/pytest.yml", "contents": "name: Unittests\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - master\n    # Do not trigger tests for documentation or markdown docs.\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n  push:\n    branches:\n      - master\n    # Do not trigger tests for documentation or markdown docs.\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n  schedule:\n    # Trigger tests every day at 02:00 UTC to refresh cache.\n    - cron: '0 2 * * *'\n\n# Cancel in-progress runs for the current workflow if not on the main branch\n# (as it mark the unittests as failed).\n# Conditionals to concurrent are based on the solution proposed in this link:\n# https://github.community/t/concurrency-cancel-in-progress-but-not-when-ref-is-master/194707\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }}\n  # Cancel only PR intermediate builds\n  cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}\n\nenv:\n  PYTEST_NUM_SHARDS: 4  # Controls tests sharding enabled by `pytest-shard`\n\njobs:\n  activate-tests:\n    name: Check if tests should be run\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check\n        id: check\n        # For merged PR, activate testing only on the master branch, based on:\n        # https://github.community/t/trigger-workflow-only-on-pull-request-merge/17359\n        run: |\n          echo \"status=${{ github.ref == 'refs/heads/master' || (\n            github.event.action != 'closed'\n            && github.event.pull_request.merged == false\n          ) }}\" >> $GITHUB_OUTPUT\n\n    outputs:\n      status: ${{ steps.check.outputs.status }}\n\n  shards-job:\n    needs: activate-tests\n    if: ${{ needs.activate-tests.outputs.status }}\n\n    name: Generate shards\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Create variables\n        id: create-vars\n        run: |\n          echo \"num-shards=$(jq -n -c '[${{ env.PYTEST_NUM_SHARDS }}]')\" >> $GITHUB_OUTPUT\n          echo \"shard-ids=$(jq -n -c '[range(1;${{ env.PYTEST_NUM_SHARDS }}+1)]')\" >> $GITHUB_OUTPUT\n\n    outputs:\n      num-shards: ${{ steps.create-vars.outputs.num-shards }}\n      shard-ids: ${{ steps.create-vars.outputs.shard-ids }}\n\n  pytest-job:\n    needs: shards-job\n\n    name: '[${{ matrix.os-version }}][${{ matrix.tf-version }}][Python ${{ matrix.python-version }}][${{ matrix.shard-id }}/${{ matrix.num-shards }}] Core TFDS tests'\n    runs-on: ${{ matrix.os-version }}\n    timeout-minutes: 30\n    strategy:\n      # Do not cancel in-progress jobs if any matrix job fails.\n      fail-fast: false\n      matrix:\n        tf-version: ['tensorflow']\n        # Can't reference env variables in matrix\n        num-shards: ${{ fromJson(needs.shards-job.outputs.num-shards) }}\n        shard-id: ${{ fromJson(needs.shards-job.outputs.shard-ids) }}\n        # TF suppported versions: https://www.tensorflow.org/install/pip#software_requirements\n        python-version: ['3.10', '3.11', '3.12']\n        os-version: [ubuntu-latest]\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: ./.github/actions/setup\n      with:\n        tf-version: ${{ matrix.tf-version }}\n        python-version: ${{ matrix.python-version }}\n\n    # Run tests\n    # Ignores:\n    # * Nsynth is run in isolation due to dependency conflict (crepe).\n    # * Lsun tests is disabled because the tensorflow_io used in open-source\n    #   is linked to static libraries compiled again specific TF version, which\n    #   makes test fails with linking error (libtensorflow_io_golang.so).\n    # * imagenet2012_corrupted requires imagemagick binary.\n    # * import_without_tf_test.py, because the test relies on TensorFlow not being imported.\n    # * github_api is run separately to not overuse API quota.\n    # * wmt is run separately to avoid worker hanging.\n    # * Huggingface requires `datasets` library.\n    - name: Run core tests\n      run: |\n        pytest --durations=100 -vv -n auto --shard-id=$((${{ matrix.shard-id }} - 1)) --num-shards=${{ env.PYTEST_NUM_SHARDS }} \\\n          --ignore=\"tensorflow_datasets/datasets/nsynth/nsynth_dataset_builder_test.py\" \\\n          --ignore=\"tensorflow_datasets/image/lsun_test.py\" \\\n          --ignore=\"tensorflow_datasets/datasets/imagenet2012_corrupted/imagenet2012_corrupted_dataset_builder_test.py\" \\\n          --ignore=\"tensorflow_datasets/scripts/documentation/build_api_docs_test.py\" \\\n          --ignore=\"tensorflow_datasets/import_without_tf_test.py\" \\\n          --ignore=\"tensorflow_datasets/core/github_api/github_path_test.py\" \\\n          --ignore=\"tensorflow_datasets/translate/wmt19_test.py\" \\\n          --ignore=\"tensorflow_datasets/core/dataset_builders/huggingface_dataset_builder_test.py\" \\\n          --ignore=\"tensorflow_datasets/core/utils/huggingface_utils_test.py\"\n\n    # Run tests without any pytest plugins. The tests should be triggered for a single shard only.\n    - name: Run leftover tests\n      if: ${{ matrix.shard-id == 1 }}\n      uses: nick-fields/retry@v2\n      with:\n        timeout_minutes: 1\n        max_attempts: 2\n        retry_on: timeout\n        command: |\n          pytest -vv -o faulthandler_timeout=10 tensorflow_datasets/translate/wmt19_test.py\n\n  huggingface-pytest-job:\n    needs: activate-tests\n    if: ${{ needs.activate-tests.outputs.status }}\n\n    # HuggingFace tests need to be run separately because they're disabled without installed\n    # `datasets` library.\n    name: 'HuggingFace Python 3.10 tests'\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: ./.github/actions/setup\n      with:\n        tf-version: tensorflow\n        python-version: '3.10'\n        extras: huggingface\n\n    - name: Run HuggingFace tests\n      run: |\n        pytest -vv -n auto \\\n          tensorflow_datasets/core/dataset_builders/huggingface_dataset_builder_test.py \\\n          tensorflow_datasets/core/utils/huggingface_utils_test.py\n\n  githubapi-pytest-job:\n    needs: activate-tests\n    if: ${{ needs.activate-tests.outputs.status }}\n\n    name: 'Github API tests'\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: ./.github/actions/setup\n      with:\n        tf-version: tensorflow\n\n    - name: Run Github API tests\n      run: pytest --durations=100 -vv -n auto tensorflow_datasets/core/github_api/github_path_test.py\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  notebook-test-job:\n    needs: activate-tests\n    if: ${{ needs.activate-tests.outputs.status }}\n\n    name: 'Notebook tests'\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: ./.github/actions/setup\n      with:\n        tf-version: tensorflow\n        use-cache: false\n\n    # Test each notebook sequentially.\n    - name: Run notebook\n      run: |\n        ipython kernel install --user --name tfds-notebook\n        for notebook in docs/*ipynb\n          do\n            # These notebooks time out because they rely on loading huge datasets.\n            if [[ \"$notebook\" != \"docs/determinism.ipynb\" ]] && \\\n               [[ \"$notebook\" != \"docs/dataset_collections.ipynb\" ]]\n            then\n              jupyter nbconvert \\\n                --ExecutePreprocessor.timeout=600 \\\n                --ExecutePreprocessor.kernel_name=tfds-notebook \\\n                --to notebook \\\n                --execute $notebook && \\\n              pip install tensorflow  # reinstall tensorflow if it was uninstalled\n            fi\n          done\n", "state": "active", "repository": "tensorflow/datasets"}
{"mined_at": "2024-07-15T14:56:37.617159", "created_at": "2022-01-20T14:37:32+01:00", "updated_at": "2024-01-09T01:43:52+01:00", "name": "Publish tfds-nightly to PyPI", "path": ".github/workflows/release-nightly.yml", "contents": "name: Publish tfds-nightly to PyPI\n\non:\n  # Event triggered daily at 00:30 am UTC\n  schedule:\n    - cron:  '30 0 * * *'\n\n  # Event manually triggered (in the Github UI)\n  workflow_dispatch:\n    inputs:\n      git-ref:\n        description: Git ref (e.g. SHA or tag) (Optional)\n        default: \"\"\n        required: false\n\njobs:\n  publish-job:\n    # Prevents action from running on forks.\n    if: github.repository == 'tensorflow/datasets'\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        ref: ${{ github.event.inputs.git-ref }}\n\n    - name: Setup Python.\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n\n    - name: Install deps.\n      run: pip install setuptools wheel twine\n\n    - name: Create the source distribution and build the wheels.\n      run: |\n        python setup.py sdist --nightly\n        python setup.py bdist_wheel --nightly\n\n    - name: Publish the package.\n      run: |\n        twine check dist/*\n        twine upload dist/*\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.NIGHTLY_PYPI_PASSWORD }}\n", "state": "active", "repository": "tensorflow/datasets"}
{"mined_at": "2024-07-15T14:56:38.846483", "created_at": "2022-01-20T16:52:03+01:00", "updated_at": "2022-01-20T16:52:03+01:00", "name": "Publish tensorflow-datasets to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Publish tensorflow-datasets to PyPI\n\n# Allow to trigger the workflow manually (e.g. when deps changes)\non:\n  # Event triggered on a push to master branch\n  push:\n    branches:\n      - 'master'\n\n  # Event manually triggered (in the Github UI)\n  workflow_dispatch:\n    inputs:\n      git-ref:\n        description: Git ref (e.g. SHA or tag) (Optional)\n        default: \"\"\n        required: false\n\njobs:\n  publish-job:\n    # Prevents action from running on forks and non-master branches.\n    if: github.repository == 'tensorflow/datasets'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        ref: ${{ github.event.inputs.git-ref }}\n\n    - name: Remove the `-nightly` suffix.\n      # For stable version, we overwrite `version.py` by `version_stable.py` to\n      # remove the `-nightly` suffix.\n      run: mv tensorflow_datasets/version_stable.py tensorflow_datasets/version.py\n\n    # Publish the package (if local `__version__` > pip version)\n    - name: Publish the package\n      uses: etils-actions/pypi-auto-publish@v1\n      with:\n        pypi-token: ${{ secrets.PYPI_PASSWORD }}\n        gh-token: ${{ secrets.GITHUB_TOKEN }}\n        parse-changelog: true\n        pkg-name: tensorflow-datasets\n        git-ref: 'skip'\n", "state": "active", "repository": "tensorflow/datasets"}
{"mined_at": "2024-07-15T14:56:39.972311", "created_at": "2023-08-10T00:23:17+02:00", "updated_at": "2023-08-10T00:23:17+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tensorflow/datasets"}
{"mined_at": "2024-07-15T14:56:42.024353", "created_at": "2021-04-07T21:19:57+02:00", "updated_at": "2021-04-07T21:19:57+02:00", "name": "Bandit", "path": ".github/workflows/bandit.yml", "contents": "# GitHub Actions Bandit Workflow\n\nname: Bandit\n\non:\n  pull_request:\n    branches: [main]\n\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      # Task will fail if any high-severity issues are found\n      # Ignoring submodules\n      - name: Run Bandit Security Analysis\n        run: |\n          python -m pip install bandit\n          python -m bandit -r . -x ./third_party -lll\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:43.249807", "created_at": "2022-10-26T21:07:54+02:00", "updated_at": "2023-05-11T18:16:15+02:00", "name": "Build Linux Conda", "path": ".github/workflows/build-conda-linux.yml", "contents": "name: Build Linux Conda\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n      # NOTE: Binary build pipelines should only get triggered on release candidate builds\n      # Release candidate tags look like: v1.11.0-rc1\n      - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: conda\n      os: linux\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      with-cuda: disable\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/text\n            pre-script: \"\"\n            post-script: \"\"\n            conda-package-directory: packaging/torchtext\n            smoke-test-script: test/smoke_tests/smoke_tests.py\n            package-name: torchtext\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@main\n    with:\n      conda-package-directory: ${{ matrix.conda-package-directory }}\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      # Using \"development\" as trigger event so these binaries are not uploaded\n      # to official channels yet\n      trigger-event: ${{ github.event_name }}\n    secrets:\n      CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:44.370739", "created_at": "2022-11-01T00:33:17+01:00", "updated_at": "2023-05-11T18:16:15+02:00", "name": "Build M1 Conda", "path": ".github/workflows/build-conda-m1.yml", "contents": "name: Build M1 Conda\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n      # NOTE: Binary build pipelines should only get triggered on release candidate builds\n      # Release candidate tags look like: v1.11.0-rc1\n      - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: conda\n      os: macos-arm64\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/text\n            pre-script: \"\"\n            post-script: \"\"\n            conda-package-directory: packaging/torchtext\n            smoke-test-script: test/smoke_tests/smoke_tests.py\n            package-name: torchtext\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@main\n    with:\n      conda-package-directory: ${{ matrix.conda-package-directory }}\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      runner-type: macos-m1-stable\n      # Using \"development\" as trigger event so these binaries are not uploaded\n      # to official channels yet\n      trigger-event: ${{ github.event_name }}\n    secrets:\n      CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:45.373007", "created_at": "2022-10-29T01:10:17+02:00", "updated_at": "2024-03-15T19:52:11+01:00", "name": "Build Macos Conda", "path": ".github/workflows/build-conda-macos.yml", "contents": null, "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:46.527350", "created_at": "2023-05-03T02:43:03+02:00", "updated_at": "2023-05-11T18:16:15+02:00", "name": "Build Windows Conda", "path": ".github/workflows/build-conda-windows.yml", "contents": "name: Build Windows Conda\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n      # NOTE: Binary build pipelines should only get triggered on release candidate builds\n      # Release candidate tags look like: v1.11.0-rc1\n      - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: conda\n      os: windows\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      with-cuda: disable\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/text\n            pre-script: \"\"\n            post-script: \"\"\n            conda-package-directory: packaging/torchtext\n            smoke-test-script: test/smoke_tests/smoke_tests.py\n            package-name: torchtext\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@main\n    with:\n      conda-package-directory: ${{ matrix.conda-package-directory }}\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n    secrets:\n      CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:47.581488", "created_at": "2023-05-16T16:57:42+02:00", "updated_at": "2023-05-16T19:03:58+02:00", "name": "Build documentation", "path": ".github/workflows/build-docs.yml", "contents": "name: Build documentation\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]\n      - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\njobs:\n  build:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      job-name: Build doc\n      runner: linux.2xlarge\n      repository: pytorch/text\n      gpu-arch-type: cpu\n      timeout: 120\n      upload-artifact: docs\n      script: |\n        # Mark Build Directory Safe\n        git config --global --add safe.directory /__w/text/text\n\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"3.8\"\n\n        # Set CHANNEL\n        if [[(${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then\n          export CHANNEL=test\n        else\n          export CHANNEL=nightly\n        fi\n\n        # Create Conda Env\n        conda create --quiet -y --prefix ci_env python=\"${PYTHON_VERSION}\"\n        conda activate ./ci_env\n\n        # Install PyTorch\n        set -ex\n        set +u  # don't know why\n        conda install \\\n          --yes \\\n          --quiet \\\n          pytorch torchtext cpuonly \\\n          -c \"pytorch-${CHANNEL}\"\n\n        pip --quiet install cmake>=3.18.0 ninja\n\n        cd packaging\n        . ./pkg_helpers.bash\n        setup_build_version\n        cd ../\n\n        # Install build tools\n        conda install --quiet -y -c conda-forge pandoc doxygen pysoundfile\n        pip install --quiet -r docs/requirements.txt\n\n        # Build docs\n        export BUILD_GALLERY=true\n        (cd docs && make 'SPHINXOPTS=-W' html)\n\n        cp -rf docs/build/html/* \"${RUNNER_DOCS_DIR}\"\n        mv docs/build/html /artifacts/\n\n  commit:\n    if:\n      ${{ (github.repository == 'pytorch/text') && ((github.event_name == 'push') && (github.ref_name == 'nightly')) }}\n    permissions:\n      # Required for `git push`\n      # Note:\n      #   This is not effective from fork.\n      #   When you debug this, make sure to make a branch on pytorch and\n      #   make PR from there.\n      contents: write\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: gh-pages\n      - uses: actions/download-artifact@v3\n        with:\n          name: docs\n      - name: Update nightly doc\n        run: |\n          set -x\n\n          # TODO: add tag-based process (need to handle the main directory name)\n          rm -rf main\n          mv html main\n\n          # Update the main doc\n          git add --all main || true\n          git config user.name \"pytorchbot\"\n          git config user.email \"soumith+bot@pytorch.org\"\n          git commit -m \"auto-generating sphinx docs\" || true\n          git push\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:48.613705", "created_at": "2023-08-15T17:47:09+02:00", "updated_at": "2023-08-15T17:47:09+02:00", "name": "Build AARCH64 Linux Wheels", "path": ".github/workflows/build-wheels-aarch64-linux.yml", "contents": null, "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:49.701072", "created_at": "2022-10-20T21:42:27+02:00", "updated_at": "2023-05-11T18:16:16+02:00", "name": "Build Linux Wheels", "path": ".github/workflows/build-wheels-linux.yml", "contents": "name: Build Linux Wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n      # NOTE: Binary build pipelines should only get triggered on release candidate builds\n      # Release candidate tags look like: v1.11.0-rc1\n      - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: linux\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      with-cuda: disable\n      with-rocm: disable\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/text\n            pre-script: \"\"\n            post-script: \"\"\n            smoke-test-script: test/smoke_tests/smoke_tests.py\n            package-name: torchtext\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:50.830248", "created_at": "2022-11-01T00:33:17+01:00", "updated_at": "2023-05-11T18:16:15+02:00", "name": "Build M1 Wheels", "path": ".github/workflows/build-wheels-m1.yml", "contents": "name: Build M1 Wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n      # NOTE: Binary build pipelines should only get triggered on release candidate builds\n      # Release candidate tags look like: v1.11.0-rc1\n      - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: macos-arm64\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/text\n            pre-script: \"\"\n            post-script: \"\"\n            package-name: torchtext\n            smoke-test-script: test/smoke_tests/smoke_tests.py\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      runner-type: macos-m1-stable\n      trigger-event: ${{ github.event_name }}\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:51.871729", "created_at": "2022-10-26T21:12:00+02:00", "updated_at": "2024-03-18T21:36:37+01:00", "name": "Build Macos Wheels", "path": ".github/workflows/build-wheels-macos.yml", "contents": null, "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:52.896066", "created_at": "2023-05-03T02:43:03+02:00", "updated_at": "2023-05-11T18:16:15+02:00", "name": "Build Windows Wheels", "path": ".github/workflows/build-wheels-windows.yml", "contents": "name: Build Windows Wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n      # NOTE: Binary build pipelines should only get triggered on release candidate builds\n      # Release candidate tags look like: v1.11.0-rc1\n      - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: windows\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      with-cuda: disable\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/text\n            pre-script: \"\"\n            env-script: packaging/vc_env_helper.bat\n            post-script: \"\"\n            smoke-test-script: test/smoke_tests/smoke_tests.py\n            package-name: torchtext\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      env-script: ${{ matrix.env-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:53.891098", "created_at": "2021-04-07T21:19:57+02:00", "updated_at": "2021-04-07T21:19:57+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# GitHub Actions CodeQL Workflow\n\nname: CodeQL\n\non:\n  pull_request:\n    branches: [main]\n\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v1\n        with:\n          languages: python, cpp\n\n      - name: Install Ninja\n        run: |\n          sudo apt-get update -y\n          sudo apt-get install -y ninja-build\n\n      - name: Update submodules\n        run: git submodule update --init --recursive\n\n      - name: Install Torch\n        run: |\n          python -m pip install cmake\n          sudo ln -s /usr/bin/ninja /usr/bin/ninja-build\n\n      - name: Build TorchText\n        run: |\n          python -m pip install setuptools==65.7.0\n          python setup.py develop --user\n\n      # If any code scanning alerts are found, they will be under Security -> CodeQL\n      # Link: https://github.com/pytorch/text/security/code-scanning\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:54.911919", "created_at": "2022-08-31T05:59:04+02:00", "updated_at": "2023-05-11T18:16:19+02:00", "name": "Integration Test", "path": ".github/workflows/integration-test.yml", "contents": "name: Integration Test\n\non:\n  pull_request:\n    branches: [main]\n\n  workflow_dispatch:\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        python_version: [\"3.8\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.12xlarge\n      repository: pytorch/text\n      script: |\n        # Mark Build Directory Safe\n        git config --global --add safe.directory /__w/text/text\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"${{ matrix.python_version }}\"\n        export VERSION=\"cpu\"\n        export CUDATOOLKIT=\"cpuonly\"\n        # Set CHANNEL\n        if [[ (${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then\n          export CHANNEL=test\n        else\n          export CHANNEL=nightly\n        fi\n        # Create Conda Env\n        conda create -yp ci_env python=\"${PYTHON_VERSION}\"\n        conda activate /work/ci_env\n        python3 -m pip --quiet install cmake>=3.18.0 ninja\n        conda env update --file \".circleci/unittest/linux/scripts/environment.yml\" --prune\n        # TorchText-specific Setup\n        printf \"* Downloading SpaCy English models\\n\"\n        python -m spacy download en_core_web_sm\n        printf \"* Downloading SpaCy German models\\n\"\n        python -m spacy download de_core_news_sm\n        # Install PyTorch, Torchvision\n        set -ex\n        conda install \\\n          --yes \\\n          -c \"pytorch-${CHANNEL}\" \\\n          -c nvidia \"pytorch-${CHANNEL}\"::pytorch[build=\"*${VERSION}*\"] \\\n          \"${CUDATOOLKIT}\"\n        python3 setup.py develop\n        # Install integration test dependencies\n        python3 -m pip --quiet install parameterized\n        python3 -m pip --quiet install requests\n        python3 -m pip --quiet install sentencepiece\n        python3 -m pip --quiet install tqdm\n        python3 -m pip --quiet install expecttest\n        # Run Tests\n        python3 -m torch.utils.collect_env\n        cd test\n        pytest integration_tests -v --use-tmp-hub-dir\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:56.050643", "created_at": "2023-04-14T20:06:44+02:00", "updated_at": "2023-05-30T20:01:16+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\njobs:\n  python-source-and-configs:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/text\n      script: |\n        set -euo pipefail\n\n        echo '::group::Setup environment'\n        CONDA_PATH=$(which conda)\n        eval \"$(${CONDA_PATH} shell.bash hook)\"\n        conda create --name ci --quiet --yes python=3.8 pip\n        conda activate ci\n        echo '::endgroup::'\n\n        echo '::group::Install lint tools'\n        pip install --progress-bar=off pre-commit\n        echo '::endgroup::'\n\n        echo '::group::Lint Python source and configs'\n        set +e\n        echo $LD_LIBRARY_PATH\n        export LD_LIBRARY_PATH=\"${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}\"\n        pre-commit run --all-files\n\n        if [ $? -ne 0 ]; then\n          git --no-pager diff\n          exit 1\n        fi\n        echo '::endgroup::'\n\n  c-source:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/text\n      script: |\n        set -euo pipefail\n\n        echo '::group::Setup environment'\n        CONDA_PATH=$(which conda)\n        eval \"$(${CONDA_PATH} shell.bash hook)\"\n        conda create --name ci --quiet --yes -c conda-forge python=3.8 ncurses=5 libgcc\n        conda activate ci\n        export LD_LIBRARY_PATH=\"${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}\"\n        echo '::endgroup::'\n\n        echo '::group::Install lint tools'\n        curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o ./clang-format\n        chmod +x ./clang-format\n        echo '::endgroup::'\n\n        echo '::group::Lint C source'\n        set +e\n        python run-clang-format.py \\\n            --recursive \\\n            --clang-format-executable=./clang-format \\\n            torchtext/csrc\n\n        if [ $? -ne 0 ]; then\n          git --no-pager diff\n          exit 1\n        fi\n        echo '::endgroup::'\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:57.142763", "created_at": "2023-08-15T17:47:09+02:00", "updated_at": "2023-08-15T17:47:09+02:00", "name": "Unit-tests on Linux CPU", "path": ".github/workflows/test-linux-aarch64-cpu.yml", "contents": null, "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:58.201808", "created_at": "2022-10-20T21:18:47+02:00", "updated_at": "2023-05-11T18:16:15+02:00", "name": "Unit-tests on Linux CPU", "path": ".github/workflows/test-linux-cpu.yml", "contents": "name: Unit-tests on Linux CPU\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\nenv:\n  CHANNEL: \"nightly\"\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.12xlarge\n      repository: pytorch/text\n      script: |\n        # Mark Build Directory Safe\n        git config --global --add safe.directory /__w/text/text\n\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"${{ matrix.python_version }}\"\n        export VERSION=\"cpu\"\n        export CUDATOOLKIT=\"cpuonly\"\n\n        # Set CHANNEL\n        if [[ (${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then\n          export CHANNEL=test\n        else\n          export CHANNEL=nightly\n        fi\n\n        # Create Conda Env\n        conda create -yp ci_env python=\"${PYTHON_VERSION}\"\n        conda activate /work/ci_env\n        python3 -m pip --quiet install cmake>=3.18.0 ninja\n        conda env update --file \".circleci/unittest/linux/scripts/environment.yml\" --prune\n\n        # TorchText-specific Setup\n        printf \"* Downloading SpaCy English models\\n\"\n        python -m spacy download en_core_web_sm\n        printf \"* Downloading SpaCy German models\\n\"\n        python -m spacy download de_core_news_sm\n\n        # Install PyTorch, Torchvision\n        set -ex\n        conda install \\\n          --yes \\\n          -c \"pytorch-${CHANNEL}\" \\\n          -c nvidia \"pytorch-${CHANNEL}\"::pytorch[build=\"*${VERSION}*\"] \\\n          \"${CUDATOOLKIT}\"\n        python3 setup.py develop\n        python3 -m pip install parameterized\n\n        # Run Tests\n        python3 -m torch.utils.collect_env\n        cd test\n        python3 -m pytest --cov=torchtext --junitxml=test-results/junit.xml -v --durations 20 torchtext_unittest\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:56:59.327340", "created_at": "2023-01-18T16:17:39+01:00", "updated_at": "2023-05-11T18:16:15+02:00", "name": "Unit-tests on Linux GPU", "path": ".github/workflows/test-linux-gpu.yml", "contents": "name: Unit-tests on Linux GPU\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\nenv:\n  CHANNEL: \"nightly\"\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        python_version: [\"3.8\"]\n        cuda_arch_version: [\"11.7\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.g5.4xlarge.nvidia.gpu\n      repository: pytorch/text\n      gpu-arch-type: cuda\n      gpu-arch-version: ${{ matrix.cuda_arch_version }}\n      timeout: 120\n      script: |\n        # Mark Build Directory Safe\n        git config --global --add safe.directory /__w/text/text\n\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"${{ matrix.python_version }}\"\n        export VERSION=\"${{ matrix.cuda_arch_version }}\"\n        export CUDATOOLKIT=\"pytorch-cuda=${VERSION}\"\n\n        # Set CHANNEL\n        if [[ (${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then\n          export CHANNEL=test\n        else\n          export CHANNEL=nightly\n        fi\n\n        # Create Conda Env\n        conda create --quiet -yp ci_env python=\"${PYTHON_VERSION}\"\n        conda activate /work/ci_env\n        python3 -m pip --quiet install cmake>=3.18.0 ninja\n        conda env update --file \".circleci/unittest/linux/scripts/environment.yml\" --prune\n\n        # TorchText-specific Setup\n        printf \"* Downloading SpaCy English models\\n\"\n        python -m spacy download en_core_web_sm\n        printf \"* Downloading SpaCy German models\\n\"\n        python -m spacy download de_core_news_sm\n\n        # Install PyTorch\n        set -ex\n        conda install \\\n          --yes \\\n          --quiet \\\n          -c \"pytorch-${CHANNEL}\" \\\n          -c nvidia \"pytorch-${CHANNEL}\"::pytorch[build=\"*${VERSION}*\"] \\\n          \"${CUDATOOLKIT}\"\n        python3 setup.py develop\n        python3 -m pip install parameterized --quiet\n\n        # Run Tests\n        python3 -m torch.utils.collect_env\n        cd test\n        python3 -m pytest --junitxml=test-results/junit.xml -v --durations 20 -m gpu_test torchtext_unittest\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:57:00.430650", "created_at": "2022-10-28T01:05:24+02:00", "updated_at": "2023-05-11T18:16:16+02:00", "name": "Unit-tests on Macos CPU", "path": ".github/workflows/test-macos-cpu.yml", "contents": "name: Unit-tests on Macos CPU\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\nenv:\n  CHANNEL: \"nightly\"\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/macos_job.yml@main\n    with:\n      runner: macos-12\n      repository: pytorch/text\n      timeout: 60\n      script: |\n        # Mark Build Directory Safe\n        git config --global --add safe.directory /__w/text/text\n\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"${{ matrix.python_version }}\"\n        export VERSION=\"cpu\"\n        export CUDATOOLKIT=\"cpuonly\"\n\n        # Set CHANNEL\n        if [[ (${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then\n          export CHANNEL=test\n        else\n          export CHANNEL=nightly\n        fi\n\n        # TODO: this can be removed as soon as linking issue could be resolved\n        # see https://github.com/pytorch/pytorch/issues/62424 from details\n        export MKL_CONSTRAINT='mkl==2021.2.0'\n\n        # Create Conda Env\n        conda create -yp ./ci_env python=\"${PYTHON_VERSION}\"\n        conda activate ./ci_env\n        python3 -m pip --quiet install cmake>=3.18.0 ninja\n        conda env update --file \".circleci/unittest/linux/scripts/environment.yml\" --prune\n\n        # TorchText-specific Setup\n        printf \"* Downloading SpaCy English models\\n\"\n        python -m spacy download en_core_web_sm\n        printf \"* Downloading SpaCy German models\\n\"\n        python -m spacy download de_core_news_sm\n\n        # Install PyTorch, Torchvision\n        set -ex\n        conda install \\\n          --yes \\\n          -c \"pytorch-${CHANNEL}\" \\\n          -c nvidia \\\n          \"${MKL_CONSTRAINT}\" \\\n          pytorch \\\n          \"${CUDATOOLKIT}\"\n        python3 setup.py develop\n        python3 -m pip install parameterized\n\n        # Run Tests\n        python3 -m torch.utils.collect_env\n        cd test\n        python3 -m pytest --cov=torchtext --junitxml=test-results/junit.xml -v --durations 20 torchtext_unittest\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:57:01.442703", "created_at": "2022-10-28T02:32:32+02:00", "updated_at": "2023-05-11T18:16:15+02:00", "name": "Unit-tests on Windows CPU", "path": ".github/workflows/test-windows-cpu.yml", "contents": "name: Unit-tests on Windows CPU\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\nenv:\n  CHANNEL: \"nightly\"\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/windows_job.yml@main\n    with:\n      runner: windows.4xlarge\n      repository: pytorch/text\n      script: |\n        set -euxo pipefail\n\n        # Mark Build Directory Safe\n        git config --global --add safe.directory /__w/text/text\n\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"${{ matrix.python_version }}\"\n        export VERSION=\"cpu\"\n\n        # Set CHANNEL\n        if [[ (${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then\n          export CHANNEL=test\n        else\n          export CHANNEL=nightly\n        fi\n\n        # Create Conda Env\n        conda create -y --name ci_env python=\"${PYTHON_VERSION}\"\n        conda activate ci_env\n        python -m pip --quiet install cmake>=3.18.0 ninja\n        conda env update --file \".circleci/unittest/windows/scripts/environment.yml\" --prune\n\n        # TorchText-specific Setup\n        printf \"* Downloading SpaCy English models\\n\"\n        python -m spacy download en_core_web_sm\n        printf \"* Downloading SpaCy German models\\n\"\n        python -m spacy download de_core_news_sm\n\n        # Install PyTorch, Torchvision\n        conda install \\\n          --yes \\\n          -c \"pytorch-${CHANNEL}\" \\\n          pytorch \\\n          cpuonly\n\n        printf \"* Installing pywin32_postinstall script\\n\"\n        curl --output pywin32_postinstall.py https://raw.githubusercontent.com/mhammond/pywin32/main/pywin32_postinstall.py\n        python pywin32_postinstall.py -install\n\n        \"packaging/vc_env_helper.bat\" python setup.py develop\n        python -m pip install parameterized\n\n        # Run Tests\n        python -m torch.utils.collect_env\n        cd test\n        python -m pytest --cov=torchtext --junitxml=test-results/junit.xml -v --durations 20 torchtext_unittest\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:57:02.705882", "created_at": "2022-12-17T18:31:33+01:00", "updated_at": "2022-12-20T03:07:35+01:00", "name": "Validate binaries", "path": ".github/workflows/validate-binaries.yml", "contents": "name: Validate binaries\n\non:\n  workflow_call:\n    inputs:\n      channel:\n        description: \"Channel to use (nightly, test, release, all)\"\n        required: false\n        type: string\n        default: release\n      os:\n        description: \"Operating system to generate for (linux, windows, macos, macos-arm64)\"\n        required: true\n        type: string\n      ref:\n        description: \"Reference to checkout, defaults to empty\"\n        default: \"\"\n        required: false\n        type: string\n  workflow_dispatch:\n    inputs:\n      channel:\n        description: \"Channel to use (nightly, test, release, all)\"\n        required: true\n        type: choice\n        options:\n          - release\n          - nightly\n          - test\n          - all\n      os:\n        description: \"Operating system to generate for (linux, windows, macos)\"\n        required: true\n        type: choice\n        default: all\n        options:\n          - windows\n          - linux\n          - macos\n          - all\n      ref:\n        description: \"Reference to checkout, defaults to empty\"\n        default: \"\"\n        required: false\n        type: string\n      pytorch_version:\n        description: \"PyTorch version to validate (ie. 2.0, 2.2.2, etc.) - optional\"\n        default: \"\"\n        required: false\n        type: string\njobs:\n  validate-binaries:\n    uses: pytorch/test-infra/.github/workflows/validate-domain-library.yml@main\n    with:\n      package_type: \"conda,wheel\"\n      version: ${{ inputs.version }}\n      os: ${{ inputs.os }}\n      channel: ${{ inputs.channel }}\n      repository: \"pytorch/text\"\n      smoke_test: \"source ./.github/scripts/validate_binaries.sh\"\n      install_torch: true\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:57:03.741446", "created_at": "2022-12-19T22:39:11+01:00", "updated_at": "2023-05-11T18:16:20+02:00", "name": "cron", "path": ".github/workflows/validate-nightly-binaries.yml", "contents": "# Scheduled validation of the nightly binaries\nname: cron\n\non:\n  schedule:\n    # At 5:30 pm UTC (7:30 am PDT)\n    - cron: \"30 17 * * *\"\n  # Have the ability to trigger this job manually through the API\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - .github/workflows/validate-nightly-binaries.yml\n      - .github/workflows/validate-binaries.yml\n      - .github/scripts/validate_binaries.sh\n  pull_request:\n    paths:\n      - .github/workflows/validate-nightly-binaries.yml\n      - .github/workflows/validate-binaries.yml\n      - .github/scripts/validate_binaries.sh\njobs:\n  nightly:\n    uses: ./.github/workflows/validate-binaries.yml\n    with:\n      channel: nightly\n      os: all\n", "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:57:04.837151", "created_at": "2021-12-17T13:36:02+01:00", "updated_at": "2021-12-17T13:36:02+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pytorch/text"}
{"mined_at": "2024-07-15T14:57:07.108512", "created_at": "2020-12-04T22:12:36+01:00", "updated_at": "2020-12-04T22:12:36+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '41 22 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "netflix/dispatch"}
{"mined_at": "2024-07-15T14:57:08.238130", "created_at": "2023-03-29T19:59:37+02:00", "updated_at": "2023-03-30T00:16:18+02:00", "name": "Test documentation deployment", "path": ".github/workflows/deploy-docs-test.yml", "contents": "name: Test documentation deployment\n\non:\n  pull_request:\n    branches:\n      - master\n    # Review gh actions docs if you want to further define triggers, paths, etc\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on\n\njobs:\n  test-deploy:\n    name: Test deployment\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 18\n          cache: npm\n          cache-dependency-path: docs/package-lock.json\n\n      - name: Install and Build\n        run: pwd && npm install && npm run build\n        working-directory: docs\n", "state": "active", "repository": "netflix/dispatch"}
{"mined_at": "2024-07-15T14:57:09.280416", "created_at": "2023-03-30T00:16:18+02:00", "updated_at": "2023-03-30T00:16:18+02:00", "name": "Deploy to GitHub Pages", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Deploy to GitHub Pages\n\non:\n  push:\n    branches:\n      - master\n    # Review gh actions docs if you want to further define triggers, paths, etc\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on\n\njobs:\n  deploy:\n    defaults:\n      run:\n        shell: bash\n        working-directory: docs\n    name: Deploy to GitHub Pages\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 18\n          cache: npm\n          cache-dependency-path: docs/package-lock.json\n\n      - name: Install and Build\n        run: pwd && npm install && npm run build\n        working-directory: docs\n\n      # Popular action to deploy to GitHub Pages:\n      # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus\n      - name: Deploy to GitHub Pages\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          # Build output to publish to the `gh-pages` branch:\n          publish_dir: ./docs/build\n          # The following lines assign commit authorship to the official\n          # GH-Actions bot for deploys to `gh-pages` branch:\n          # https://github.com/actions/checkout/issues/13#issuecomment-724415212\n          # The GH actions bot is used by default if you didn't specify the two fields.\n          # You can swap them out with your own user credentials.\n          user_name: github-actions[bot]\n          user_email: 41898282+github-actions[bot]@users.noreply.github.com\n", "state": "active", "repository": "netflix/dispatch"}
{"mined_at": "2024-07-15T14:57:10.311623", "created_at": "2021-08-03T19:47:44+02:00", "updated_at": "2021-08-03T19:55:10+02:00", "name": "Enforce PR labels", "path": ".github/workflows/enforce-labels.yml", "contents": "name: Enforce PR labels\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, edited, synchronize]\njobs:\n  enforce-label:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: yogevbd/enforce-label-action@2.1.0\n        with:\n          REQUIRED_LABELS_ANY: \"bug,dependencies,documentation,enhancement,feature,skip-changelog,techdebt,tests\"\n          REQUIRED_LABELS_ANY_DESCRIPTION: \"Select at least one label from the following list: bug, dependencies, documentation, enhancement, feature, skip-changelog, techdebt, tests\"\n          BANNED_LABELS: \"banned\"\n", "state": "active", "repository": "netflix/dispatch"}
{"mined_at": "2024-07-15T14:57:11.512086", "created_at": "2020-04-08T21:37:52+02:00", "updated_at": "2020-04-08T21:37:52+02:00", "name": "Javascript Lint and Test", "path": ".github/workflows/javascript.yml", "contents": "name: Javascript Lint and Test\n\non: pull_request\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v3\n      - name: Setup Node.js environment\n        uses: actions/setup-node@v3\n        with:\n          node-version: 16\n      - name: Install dev deps\n        working-directory: src/dispatch/static/dispatch\n        run: |\n          npm install\n      - name: Run ESLint\n        working-directory: src/dispatch/static/dispatch\n        run: |\n          npm run lint\n", "state": "active", "repository": "netflix/dispatch"}
{"mined_at": "2024-07-15T14:57:12.505653", "created_at": "2024-06-24T23:58:52+02:00", "updated_at": "2024-06-25T00:42:05+02:00", "name": "Eugene CI check", "path": ".github/workflows/lint-migrations.yml", "contents": null, "state": "active", "repository": "netflix/dispatch"}
{"mined_at": "2024-07-15T14:57:13.662442", "created_at": "2023-02-03T01:35:11+01:00", "updated_at": "2023-02-03T20:40:27+01:00", "name": "playwright", "path": ".github/workflows/playwright.yml", "contents": "name: \"playwright\"\non: # rebuild any PRs and main branch changes\n  pull_request:\n  push:\n    branches:\n      - main\n\nenv:\n  LOG_LEVEL: ERROR\n  STATIC_DIR:\n  DATABASE_HOSTNAME: localhost\n  DATABASE_CREDENTIALS: dispatch:dispatch\n  DISPATCH_ENCRYPTION_KEY: NJHDWDJ3PbHT8h\n  DISPATCH_JWT_SECRET: foo\n\njobs:\n  end-to-end:\n    runs-on: ubuntu-20.04\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: dispatch\n          POSTGRES_PASSWORD: dispatch\n          POSTGRES_DB: dispatch\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v3\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.11\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 16\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install python dependencies\n        run: |\n          export DISPATCH_LIGHT_BUILD=1\n          python -m pip install --upgrade pip\n          pip install psycopg[binary]\n          pip install -e \".[dev]\"\n      - name: Install npm dependencies\n        run: |\n          npm ci -D --prefix src/dispatch/static/dispatch\n          npm install -D @playwright/test\n      - name: Install playwright browsers\n        run: npx playwright install --with-deps chromium\n      - name: Setup sample database\n        run: dispatch database restore --dump-file data/dispatch-sample-data.dump && dispatch database upgrade\n      - name: Run tests\n        run: npx playwright test --project=chromium\n      - uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: playwright-report\n          path: playwright-report/\n          retention-days: 30\n", "state": "active", "repository": "netflix/dispatch"}
{"mined_at": "2024-07-15T14:57:14.729054", "created_at": "2021-02-12T22:22:55+01:00", "updated_at": "2021-02-12T22:22:55+01:00", "name": "Publish Docker image", "path": ".github/workflows/publish-image.yml", "contents": "name: Publish Docker image\non:\n  release:\n    types: [published]\njobs:\n  push_to_registry:\n    name: Push Docker image to GitHub Packages\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v2\n      - name: Push to GitHub Packages\n        uses: docker/build-push-action@v1\n        with:\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n          registry: docker.pkg.github.com\n          repository: netflix/dispatch/dispatch-image\n          tag_with_ref: true\n", "state": "active", "repository": "netflix/dispatch"}
{"mined_at": "2024-07-15T14:57:15.743048", "created_at": "2020-04-08T21:37:46+02:00", "updated_at": "2020-04-08T21:53:15+02:00", "name": "Python Lint and Test", "path": ".github/workflows/python.yml", "contents": "name: Python Lint and Test\n\non: pull_request\n\njobs:\n  test:\n    env:\n      # Minimum code coverage per file\n      COVERAGE_SINGLE: 50\n      # Minimum total code coverage\n      COVERAGE_TOTAL: 56\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: dispatch\n          POSTGRES_DB: dispatch\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v2\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.11.2\n      - uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install python dependencies\n        run: |\n          export DISPATCH_LIGHT_BUILD=1\n          python -m pip install --upgrade pip\n          pip install -e \".[dev]\"\n      - name: \"Lint with ruff\"\n        run: |\n          ruff check src tests\n          ruff format src tests\n      - name: Test with pytest\n        run: |\n          pip install pytest-cov\n          pytest --junitxml=junit/test-results.xml --cov=dispatch --cov-report=json:coverage.json --cov-report=xml --cov-report=html\n      - name: Coverage per file\n        # All modified files should meet the minimum code coverage requirement.\n        run: |\n          export MODIFIED_FILES=$(git diff master...HEAD --name-only | grep -E '\\.py$')\n          export FAILED_COVERAGE_PER_FILE=$(python -c \"import json;files=json.load(open('coverage.json'))['files'];covs=map(lambda k, v: (k, v['summary']['percent_covered_display']),files.keys(),files.values()); f=filter(lambda cov:int(cov[1])<50,covs); print('\\n'.join('{:<68}{:>3}%'.format(k,v) for k,v in f))\")\n          export FAILED_COVERAGE_FILES=(); echo \"$FAILED_COVERAGE_PER_FILE\" | while read -r line; do FAILED_COVERAGE_FILES+=${line%%[[:space:]]*};done\n\n          files=($(comm -12 <(for X in \"${MODIFIED_FILES}\"; do echo \"${X}\"; done|sort) <(for X in \"${FAILED_COVERAGE_FILENAMES}\"; do echo \"${X}\"; done|sort)))\n\n          if [[ ${#files[@]} > 0 ]]; then\n            echo \"FAIL Recommended file test coverage of ${{ env.COVERAGE_SINGLE }}% not reached. All modified files must meet the minimum code coverage requirement.\"\n\n            for f in \"${files[@]}\"; do\n              echo $FAILED_COVERAGE_PER_FILE | grep $f\n            done\n\n            exit 1\n          fi\n      - name: Coverage total\n        run: |\n          export COVERAGE_TOTAL=$(python -c \"import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])\")\n          echo \"Total coverage: $COVERAGE_TOTAL%\"\n          if [[ $COVERAGE_TOTAL < ${{ env.COVERAGE_TOTAL }} ]]; then\n            echo \"FAIL Recommended total test coverage of ${{ env.COVERAGE_TOTAL }}% not reached. Total coverage: $COVERAGE_TOTAL%\"\n            exit 1\n          fi\n", "state": "active", "repository": "netflix/dispatch"}
{"mined_at": "2024-07-15T14:57:16.837650", "created_at": "2020-02-11T01:05:05+01:00", "updated_at": "2021-04-01T20:27:52+02:00", "name": "Close stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and pull requests'\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue is stale, because it has been open for 30 days with no activity. Remove the stale label or comment, or this will be closed in 5 days.'\n        close-issue-message: 'This issue was closed, because it has been stalled for 5 days with no activity.'\n        stale-pr-message: 'This PR is stale, because it has been open for 45 days with no activity. Remove the stale label or comment, or this will be closed in 10 days.'\n        close-pr-message: 'This PR was closed, because it has been stalled for 10 days with no activity.'\n        days-before-issue-stale: 30\n        days-before-issue-close: 5\n        days-before-pr-stale: 45\n        days-before-pr-close: 10\n", "state": "active", "repository": "netflix/dispatch"}
{"mined_at": "2024-07-15T14:57:17.923507", "created_at": "2023-01-20T19:19:18+01:00", "updated_at": "2023-01-20T19:19:18+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "netflix/dispatch"}
{"mined_at": "2024-07-15T14:57:20.114094", "created_at": "2020-11-11T20:51:50+01:00", "updated_at": "2020-11-11T20:51:50+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\npermissions:\n  contents: read\n\nenv:\n  # turns off tox's output redirection so we can debug package installation\n  TOX_OPTIONS: -vv\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    # https://github.community/t/github-actions-does-not-respect-skip-ci/17325/8\n    if: \"! contains(toJSON(github.event.commits.*.message), '[skip ci]')\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n    - name: Install packages\n      run: pip install tox\n    - name: Run Tox\n      run: tox $TOX_OPTIONS -e lint,package_readme\n\n  test:\n    runs-on: ${{ matrix.platform }}\n    if: \"! contains(toJSON(github.event.commits.*.message), '[skip ci]')\"\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.11\", \"3.12\"]\n        platform: [ubuntu-latest]\n        include: # Only test on the latest supported stable Python on macOS and Windows.\n          - platform: macos-latest\n            python-version: 3.11\n          - platform: windows-latest\n            python-version: 3.11\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n    - name: Install packages\n      run: pip install tox coverage\n    - name: Run Tox\n      run: tox $TOX_OPTIONS -e py-cov\n    - name: Run Tox without extra dependencies\n      run: tox $TOX_OPTIONS -e py-cov-noextra\n    - name: Produce coverage files\n      run: |\n        coverage combine\n        coverage xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        file: coverage.xml\n        flags: unittests\n        name: codecov-umbrella\n        # TODO(anthrotype): Set fail_ci_if_error: true if/when Codecov becomes less flaky\n        fail_ci_if_error: false\n        # see https://github.com/codecov/codecov-action/issues/557\n        token: ${{ secrets.CODECOV_TOKEN }}\n\n  test-cython:\n    runs-on: ubuntu-latest\n    if: \"! contains(toJSON(github.event.commits.*.message), '[skip ci]')\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - name: Install packages\n      run: pip install tox\n    - name: Run Tox\n      run: tox $TOX_OPTIONS -e py-cy\n\n  test-pypy3:\n    runs-on: ubuntu-latest\n    if: \"! contains(toJSON(github.event.commits.*.message), '[skip ci]')\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python pypy3\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"pypy-3.9\"\n    - name: Install packages\n      run: pip install tox\n    - name: Run Tox\n      run: tox $TOX_OPTIONS -e pypy3\n", "state": "active", "repository": "fonttools/fonttools"}
{"mined_at": "2024-07-15T14:57:21.247364", "created_at": "2023-05-24T14:52:26+02:00", "updated_at": "2023-05-24T14:52:26+02:00", "name": "Build + Deploy", "path": ".github/workflows/wheels.yml", "contents": "name: Build + Deploy\n\non:\n  push:\n    tags: [\"*.*.*\"]\n  # enables workflow to be run manually\n  # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch\n  workflow_dispatch:\n\nenv:\n  # skip binary wheels for pypy (preferable to use pure-python) and 32-bit Linux\n  CIBW_SKIP: pp* cp*linux_i686\n  CIBW_ENVIRONMENT: FONTTOOLS_WITH_CYTHON=1\n  CIBW_TEST_REQUIRES: tox\n  # only test core fonttools library without extras for now, stuff like lxml or scipy\n  # create too many issues when testing on a large matrix of environments...\n  CIBW_TEST_COMMAND: \"tox -c {package}/tox.ini -e py-cy-noextra --installpkg {wheel}\"\n\njobs:\n\n  build_pure:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        pip install setuptools wheel twine\n    - name: Build source distribution and pure-python wheel\n      run: |\n        python setup.py sdist bdist_wheel\n    - uses: actions/upload-artifact@v4\n      with:\n        name: pure\n        path: |\n          dist/*.whl\n          dist/*.tar.gz\n\n  build_wheels:\n    name: ${{ matrix.type }} ${{ matrix.arch }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest, ubuntu-latest]\n        arch: [auto64]\n        include:\n          - os: macos-latest\n            arch: universal2\n          - os: windows-latest\n            arch: auto32\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n    - name: Install dependencies\n      run: pip install cibuildwheel\n\n    - name: Build Wheels\n      run: python -m cibuildwheel --output-dir wheelhouse .\n      env:\n        CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014\n        CIBW_ARCHS: ${{ matrix.arch }}\n    - uses: actions/upload-artifact@v4\n      with:\n        name: wheels-${{ matrix.os }}-${{ matrix.arch }}\n        path: wheelhouse/*.whl\n\n  build_arch_wheels:\n    name: py${{ matrix.python }} on ${{ matrix.arch }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # aarch64 uses qemu so it's slow, build each py version in parallel jobs\n        python: [38, 39, 310, 311, 312]\n        arch: [aarch64]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: docker/setup-qemu-action@v3.0.0\n      with:\n        platforms: all\n    - name: Install dependencies\n      run: pip install cibuildwheel\n    - name: Build Wheels\n      run: python -m cibuildwheel --output-dir wheelhouse .\n      env:\n        CIBW_BUILD: cp${{ matrix.python }}-*\n        CIBW_ARCHS: ${{ matrix.arch }}\n    - uses: actions/upload-artifact@v4\n      with:\n        name: wheels-py${{ matrix.python }}-linux-${{ matrix.arch }}\n        path: wheelhouse/*.whl\n\n  deploy:\n    name: Upload to PyPI on tagged commit\n    runs-on: ubuntu-latest\n    needs:\n      - build_pure\n      - build_wheels\n      - build_arch_wheels\n    # only run if the commit is tagged...\n    if: startsWith(github.ref, 'refs/tags/')\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        # so that all artifacts are downloaded in the same directory specified by 'path'\n        merge-multiple: true\n        path: dist\n    - uses: pypa/gh-action-pypi-publish@v1.8.14\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "fonttools/fonttools"}
{"mined_at": "2024-07-15T14:57:23.591980", "created_at": "2021-01-25T21:15:41+01:00", "updated_at": "2021-01-25T21:15:41+01:00", "name": "Publish geopandas to PyPI / GitHub", "path": ".github/workflows/release_to_pypi.yml", "contents": "name: Publish geopandas to PyPI / GitHub\n\non:\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  build-n-publish:\n    name: Build and publish geopandas to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - name: Build source and wheel distributions\n        run: |\n          python -m pip install --upgrade build twine\n          python -m build\n          twine check --strict dist/*\n\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n      - name: Create GitHub Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: ${{ github.ref }}\n          draft: false\n          prerelease: false\n\n      - name: Get Asset name\n        run: |\n          export PKG=$(ls dist/ | grep tar)\n          set -- $PKG\n          echo \"name=$1\" >> $GITHUB_ENV\n\n      - name: Upload Release Asset (sdist) to GitHub\n        id: upload-release-asset \n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_path: dist/${{ env.name }}\n          asset_name: ${{ env.name }}\n          asset_content_type: application/zip\n", "state": "active", "repository": "geopandas/geopandas"}
{"mined_at": "2024-07-15T14:57:24.663275", "created_at": "2020-09-19T21:29:37+02:00", "updated_at": "2021-12-02T18:04:29+01:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\n\non:\n  push:\n    branches: [main, 0.**]\n  pull_request:\n    branches: [main, 0.**]\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  Linting:\n    runs-on: ubuntu-latest\n\n    # skip scheduled runs on forks\n    if: (github.event_name == 'schedule' && github.repository == 'geopandas/geopandas') || (github.event_name != 'schedule')\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - uses: pre-commit/action@v3.0.1\n\n  Test:\n    needs: Linting\n    name: ${{ matrix.os }}, ${{ matrix.env }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n    # skip scheduled runs on forks\n    if: (github.event_name == 'schedule' && github.repository == 'geopandas/geopandas') || (github.event_name != 'schedule')\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        postgis: [false]\n        dev: [false]\n        env:\n          - ci/envs/39-minimal.yaml\n          - ci/envs/39-no-optional-deps.yaml\n          - ci/envs/39-pd15-defaults.yaml\n          - ci/envs/39-latest-defaults.yaml\n          - ci/envs/39-latest-conda-forge.yaml\n          - ci/envs/39-latest-conda-forge_no_pyogrio.yaml\n          - ci/envs/310-pd20-conda-forge.yaml\n          - ci/envs/310-latest-conda-forge.yaml\n          - ci/envs/311-latest-conda-forge.yaml\n          - ci/envs/312-latest-conda-forge.yaml\n          - ci/envs/312-latest-conda-forge_no_pyproj.yaml\n        include:\n          - env: ci/envs/39-latest-conda-forge_no_pyogrio.yaml\n            os: macos-latest\n            postgis: false\n            dev: false\n          - env: ci/envs/39-latest-conda-forge.yaml\n            os: macos-latest\n            postgis: false\n            dev: false\n          - env: ci/envs/39-latest-conda-forge_no_pyogrio.yaml\n            os: windows-latest\n            postgis: false\n            dev: false\n          - env: ci/envs/39-latest-conda-forge.yaml\n            os: windows-latest\n            postgis: false\n            dev: false\n          - env: ci/envs/311-dev.yaml\n            os: ubuntu-latest\n            dev: true\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Conda environment with Micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{ matrix.env }}\n\n      - name: Check and Log Environment\n        run: |\n          python -V\n          python -c \"import geopandas; geopandas.show_versions();\"\n          micromamba info\n          micromamba list\n\n      - name: Test\n        run: |\n          pytest -v -r fEs -n auto --color=yes --cov=geopandas --cov-append --cov-report term-missing --cov-report xml geopandas/\n\n      - name: Test with PostGIS\n        if: (contains(matrix.env, '310-pd20-conda-forge.yaml') || contains(matrix.env, '311-latest-conda-forge.yaml'))\n          && contains(matrix.os, 'ubuntu')\n        env:\n          PGUSER: postgres\n          PGPASSWORD: postgres\n          PGHOST: \"127.0.0.1\"\n          PGPORT: 5432\n        run: |\n          conda install postgis -c conda-forge\n          sh ci/scripts/setup_postgres.sh\n          set -o pipefail\n          pytest -v -r fEs --color=yes --cov=geopandas --cov-append --cov-report term-missing --cov-report xml geopandas/io/tests/test_sql.py | tee /dev/stderr | if grep SKIPPED >/dev/null;then echo \"TESTS SKIPPED, FAILING\" && exit 1;fi\n\n      - name: Test docstrings\n        if: contains(matrix.env, '310-pd20-conda-forge.yaml') && contains(matrix.os, 'ubuntu')\n        run: |\n          pytest -v --color=yes --doctest-only geopandas --ignore=geopandas/datasets\n\n      - uses: codecov/codecov-action@v4\n", "state": "active", "repository": "geopandas/geopandas"}
{"mined_at": "2024-07-15T14:57:25.739600", "created_at": "2024-04-14T13:35:12+02:00", "updated_at": "2024-04-14T13:35:12+02:00", "name": "Tests", "path": ".github/workflows/tests_regular.yaml", "contents": null, "state": "active", "repository": "geopandas/geopandas"}
{"mined_at": "2024-07-15T14:57:26.876394", "created_at": "2022-11-03T08:42:47+01:00", "updated_at": "2022-11-03T08:42:47+01:00", "name": "Update Versioneer", "path": ".github/workflows/versioneer.yml", "contents": "# See https://github.com/python-versioneer/python-versioneer\nname: \"Update Versioneer\"\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 6 1 * *\" # 1st day of each month at 06:00 UTC\n  push:\n    paths:\n      - \"setup.cfg\"\n      - \".github/workflows/versioneer.yml\"\n\njobs:\n  versioneer:\n    runs-on: ubuntu-latest\n    if: github.repository == 'geopandas/geopandas'\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - name: Install and run versioneer\n        run: |\n          pip install versioneer\n          versioneer install\n      - name: Run pre-commit\n        run: |\n          pip install pre-commit\n          pre-commit run --all-files\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          path: versioneer.py\n      - name: Ignore changes in __init__\n        run: |\n          git reset -- geopandas/__init__.py\n          git checkout -- geopandas/__init__.py\n      - name: Create PR\n        uses: peter-evans/create-pull-request@v6\n        with:\n          title: \"Update Versioneer\"\n          branch: update-versioneer\n          base: main\n          commit-message: \"[Bot] Update Versioneer\"\n\n          body: |\n            Automatic update of Versioneer by the `versioneer.yml` workflow.\n", "state": "active", "repository": "geopandas/geopandas"}
{"mined_at": "2024-07-15T14:57:29.534973", "created_at": "2020-10-09T01:17:43+02:00", "updated_at": "2020-10-09T01:17:43+02:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request, issues]\n\npermissions:\n  contents: read\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n    - uses: actions/first-interaction@1d8459ca65b335265f1285568221e229d45a995e\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: 'Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/'\n        pr-message: 'Wohoo! Your first PR -- thanks for contributing!'\n", "state": "active", "repository": "mitre/caldera"}
{"mined_at": "2024-07-15T14:57:30.765295", "created_at": "2022-08-30T03:01:21+02:00", "updated_at": "2023-04-26T16:54:38+02:00", "name": "Create and publish a Docker image", "path": ".github/workflows/publish_docker_image.yml", "contents": "name: Create and publish a Docker image\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11\n        with:\n          submodules: recursive\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "mitre/caldera"}
{"mined_at": "2024-07-15T14:57:31.794278", "created_at": "2021-12-17T20:26:49+01:00", "updated_at": "2022-01-04T14:14:04+01:00", "name": "Code Quality", "path": ".github/workflows/quality.yml", "contents": "name: Code Quality\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: read\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: 3.8\n            toxenv: py38,style,coverage-ci\n          - python-version: 3.9\n            toxenv: py39,style,coverage-ci\n          - python-version: 3.10.9\n            toxenv: py310,style,coverage-ci\n          - python-version: 3.11\n            toxenv: py311,style,coverage-ci\n          - python-version: 3.12\n            toxenv: py312,style,coverage-ci\n\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11\n        with:\n          submodules: recursive\n          fetch-depth: 0  # Shallow clones should be disabled for a better relevancy of analysis\n      - name: Setup python\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install --upgrade virtualenv\n          pip install tox\n      - name: Run tests\n        env:\n          TOXENV: ${{ matrix.toxenv }}\n        run: tox\n      - name: Override Coverage Source Path for Sonar\n        run: sed -i \"s/<source>\\/home\\/runner\\/work\\/caldera\\/caldera/<source>\\/github\\/workspace/g\" /home/runner/work/caldera/caldera/coverage.xml\n      - name: SonarCloud Scan\n        uses: SonarSource/sonarcloud-github-action@49e6cd3b187936a73b8280d59ffd9da69df63ec9\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "mitre/caldera"}
{"mined_at": "2024-07-15T14:57:32.973243", "created_at": "2021-03-31T20:21:40+02:00", "updated_at": "2021-03-31T20:21:40+02:00", "name": "Security Checks", "path": ".github/workflows/security.yml", "contents": "name: Security Checks\n\non: [push]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: 3.8\n            toxenv: safety\n          - python-version: 3.9\n            toxenv: safety\n          - python-version: 3.10.9\n            toxenv: safety\n          - python-version: 3.11\n            toxenv: safety\n\n    steps:\n      - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9\n        with:\n          submodules: recursive\n      - name: Setup python\n        uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install --upgrade virtualenv\n          pip install tox\n      - name: Run tests\n        env:\n          TOXENV: ${{ matrix.toxenv }}\n        run: tox\n", "state": "active", "repository": "mitre/caldera"}
{"mined_at": "2024-07-15T14:57:34.067365", "created_at": "2020-04-11T02:08:48+02:00", "updated_at": "2020-04-11T02:08:48+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\npermissions:\n  contents: read\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@a20b814fb01b71def3bd6f56e7494d667ddf28da\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-label: 'no-issue-activity'\n        stale-pr-label: 'no-pr-activity'\n        stale-pr-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'\n        stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'\n        exempt-issue-labels: 'feature,keep'\n        days-before-stale: 45\n        days-before-close: 30\n", "state": "active", "repository": "mitre/caldera"}
{"mined_at": "2024-07-15T14:57:35.087394", "created_at": "2021-01-21T20:11:59+01:00", "updated_at": "2022-01-04T20:30:31+01:00", "name": "Code Testing", "path": ".github/workflows/testing.yml", "contents": null, "state": "active", "repository": "mitre/caldera"}
{"mined_at": "2024-07-15T14:57:37.316298", "created_at": "2021-01-18T12:20:48+01:00", "updated_at": "2021-01-18T12:20:48+01:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '0 10 * * *'\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v3\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'\n          days-before-stale: 30\n          days-before-close: 5\n", "state": "active", "repository": "hypothesis/h"}
{"mined_at": "2024-07-15T14:57:38.546353", "created_at": "2022-09-01T11:55:30+02:00", "updated_at": "2024-03-28T11:50:54+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\nconcurrency:\n  group: deploy\n  cancel-in-progress: true\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - '.cookiecutter/*'\n      - '.github/*'\n      - 'bin/create-testdb'\n      - 'bin/install-python'\n      - 'conf/development.ini'\n      - 'conf/supervisord-dev.conf'\n      - 'conf/websocket-dev.ini'\n      - 'docs/*'\n      - 'requirements/*'\n      - '!requirements/prod.txt'\n      - 'tests/*'\n      - '.coveragerc'\n      - '.eslintrc'\n      - '.gitignore'\n      - '.isort.cfg'\n      - '.pylintrc'\n      - 'HACKING.md'\n      - 'LICENSE'\n      - 'README.rst'\n      - 'docker-compose.yml'\n      - 'pyproject.toml'\n      - 'setup.cfg'\n      - 'tox.ini'\njobs:\n  docker_hub:\n    name: Docker Hub\n    uses: hypothesis/workflows/.github/workflows/dockerhub.yml@main\n    with:\n      Application: hypothesis\n    secrets: inherit\n  staging:\n    name: Staging\n    needs: [docker_hub]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Staging\n      github_environment_url: https://staging.hypothes.is/search\n      aws_region: us-west-1\n      elasticbeanstalk_application: h\n      elasticbeanstalk_environment: staging\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n  staging_websocket:\n    name: Staging (WebSocket)\n    needs: [docker_hub]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Staging (WebSocket)\n      github_environment_url: https://staging.hypothes.is/docs/help\n      aws_region: us-west-1\n      elasticbeanstalk_application: h-websocket\n      elasticbeanstalk_environment: staging\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n  production:\n    name: Production\n    needs: [docker_hub, staging, staging_websocket]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Production\n      github_environment_url: https://hypothes.is/search\n      aws_region: us-west-1\n      elasticbeanstalk_application: h\n      elasticbeanstalk_environment: prod\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n  production_websocket:\n    name: Production (WebSocket)\n    needs: [docker_hub, staging, staging_websocket]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Production (WebSocket)\n      github_environment_url: https://hypothes.is/docs/help\n      aws_region: us-west-1\n      elasticbeanstalk_application: h-websocket\n      elasticbeanstalk_environment: prod\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n  production_canada:\n    name: Production (Canada)\n    needs: [docker_hub, staging, staging_websocket]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Production (Canada)\n      github_environment_url: https://ca.hypothes.is/search\n      aws_region: ca-central-1\n      elasticbeanstalk_application: h\n      elasticbeanstalk_environment: prod\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/h"}
{"mined_at": "2024-07-15T14:57:39.774117", "created_at": "2022-09-02T13:35:42+02:00", "updated_at": "2022-09-02T13:35:42+02:00", "name": "Tasks", "path": ".github/workflows/tasks.yml", "contents": "# Run database migration commands inside the Docker container running\n# the Elastic Beanstalk application\n\nname: Tasks\n\non:\n  workflow_dispatch:\n    inputs:\n      Task:\n        type: choice\n        description: \"The task to perform\"\n        required: true\n        options:\n          - 'db current revision'\n          - 'db upgrade to head'\n          - 'db upgrade to next'\n          - 'db downgrade to previous'\n          - 'search reindex'\n      Environment:\n        type: choice\n        description: \"The environment to target\"\n        required: true\n        default: 'staging'\n        options:\n          - 'staging'\n          - 'prod'\n      Timeout:\n        type: string\n        description: \"The timeout in seconds\"\n        default: '900'\n      Region:\n        type: choice\n        description: \"The AWS region to target\"\n        required: true\n        default: 'all'\n        options:\n          - 'all'\n          - 'ca-central-1'\n          - 'us-west-1'\n      Destructive:\n        description: Check to confirm you are happy to proceed with a destructive operation\n        type: boolean\n        required: false\n        default: false\n\njobs:\n\n  preflight:\n    runs-on: ubuntu-latest\n    steps:\n    - name: catch unauthorised destructive operations\n      run: |\n        if [[ \"${{ inputs.Task }}\" = 'db upgrade to head' ]] &&\n           [[ \"${{ github.event.inputs.Destructive }}\" = 'false' ]] ||\n           [[ \"${{ inputs.Task }}\" = 'db upgrade to next' ]] &&\n           [[ \"${{ github.event.inputs.Destructive }}\" = 'false' ]] ||\n           [[ \"${{ inputs.Task }}\" = 'db downgrade to previous' ]] &&\n           [[ \"${{ github.event.inputs.Destructive }}\" = 'false' ]]\n           [[ \"${{ inputs.Task }}\" = 'search reindex' ]] &&\n           [[ \"${{ github.event.inputs.Destructive }}\" = 'false' ]] ; then\n             echo \"::error::'${{ inputs.Task }}' needs destructive option\"\n             exit 1\n        else\n             echo \"::notice::Preparing '${{ inputs.Task }}' update in ${{ inputs.Environment }}\"\n             echo \"::notice::Targeting regions - '${{ inputs.region }}'\"\n             echo \"::notice::Timeout - '${{ inputs.Timeout }}'\"\n             exit 0\n        fi\n\n  current:\n    if: inputs.Task == 'db current revision'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'alembic -c conf/alembic.ini current'\n    secrets: inherit\n\n  head:\n    if: inputs.Task == 'db upgrade to head' && github.event.inputs.Destructive == 'true'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'alembic -c conf/alembic.ini upgrade head'\n    secrets: inherit\n\n  next:\n    if: inputs.Task == 'db upgrade to next' && github.event.inputs.Destructive == 'true'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'alembic -c conf/alembic.ini upgrade +1'\n    secrets: inherit\n\n  downgrade:\n    if: inputs.Task == 'db downgrade to previous' && github.event.inputs.Destructive == 'true'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'alembic -c conf/alembic.ini downgrade -1'\n    secrets: inherit\n\n  search:\n    if: inputs.Task == 'search reindex' && github.event.inputs.Destructive == 'true'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'hypothesis search reindex'\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/h"}
{"mined_at": "2024-07-15T14:57:40.851177", "created_at": "2022-09-13T10:20:05+02:00", "updated_at": "2022-10-05T14:08:43+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: CodeQL\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  schedule:\n    #        ┌───────────── minute (0 - 59)\n    #        │  ┌───────────── hour (0 - 23)\n    #        │  │ ┌───────────── day of the month (1 - 31)\n    #        │  │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │  │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │  │ │ │ │\n    #        │  │ │ │ │\n    #        │  │ │ │ │\n    #        *  * * * *\n    - cron: '30 1 * * 0'\n\njobs:\n  CodeQL-Build:\n    # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest\n    runs-on: ubuntu-latest\n\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          config-file: ./.github/codeql/codeql-config.yml\n        # Override language selection by uncommenting this and choosing your languages\n        # with:\n        #   languages: go, javascript, csharp, python, cpp, java\n\n      # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below).\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following\n      #    three lines and modify them (or add more) to build your code if your\n      #    project uses a compiled language\n\n      #- run: |\n      #     make bootstrap\n      #     make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "hypothesis/h"}
{"mined_at": "2024-07-15T14:57:42.029061", "created_at": "2022-10-25T17:05:40+02:00", "updated_at": "2022-10-25T17:05:40+02:00", "name": "Report refresh", "path": ".github/workflows/report_refresh.yml", "contents": "# Update the nightly report stats etc.\n\nname: Report refresh\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 05 * * *'\n\njobs:\n  refresh:\n    name: \"Update report information\"\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: 'prod'\n      Timeout: 3600\n      Region: 'all'\n      Command: 'newrelic-admin run-program python bin/run_data_task.py --config-file conf/production.ini --task report/refresh'\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/h"}
{"mined_at": "2024-07-15T14:57:43.255937", "created_at": "2022-11-25T15:58:21+01:00", "updated_at": "2022-11-25T15:58:21+01:00", "name": "Data tasks", "path": ".github/workflows/data_tasks.yml", "contents": "# Run various tasks, usually related to the report aggregations\n\nname: Data tasks\non:\n  workflow_dispatch:\n    inputs:\n      Task:\n        type: choice\n        description: \"The data task to perform\"\n        required: true\n        options:\n          - \"report/refresh\"\n          - \"report/fast_recreate\"\n          - \"report/create_from_scratch\"\n      Environment:\n        type: choice\n        description: \"The environment to target\"\n        required: true\n        default: 'staging'\n        options:\n          - 'staging'\n          - 'prod'\n      Region:\n        type: choice\n        description: \"The AWS region to target\"\n        required: true\n        default: 'all'\n        options:\n          - 'all'\n          - 'ca-central-1'\n          - 'us-west-1'\n      Destructive:\n        description: Check to confirm you are happy to proceed with a destructive operation\n        type: boolean\n        required: false\n        default: false\n\njobs:\n  check_for_danger:\n    runs-on: ubuntu-latest\n    name: \"Check for approval for dangerous actions\"\n    steps:\n      - name: \"Approval not given!\"\n        if: contains(fromJson('[\"report/fast_recreate\", \"report/create_from_scratch\"]'), inputs.Task) && inputs.Destructive == false\n        run: |\n          echo \"::error::'${{ inputs.Task }}' needs destructive option\"\n          exit 1\n\n  run_task:\n    needs: check_for_danger\n    name: \"Run '${{ inputs.Task }}' data task in ${{ inputs.Environment }} / ${{ inputs.Region }}\"\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ github.event.repository.name }}\n      Env: ${{ inputs.Environment }}\n      Timeout: 7200\n      Region: ${{ inputs.Region }}\n      Command: 'newrelic-admin run-program python bin/run_data_task.py --config-file conf/production.ini --task ${{ inputs.Task }}'\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/h"}
{"mined_at": "2024-07-15T14:57:44.486187", "created_at": "2022-11-29T20:34:42+01:00", "updated_at": "2023-09-19T12:41:55+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n    paths-ignore:\n      - '.cookiecutter/*'\n      - '.github/dependabot.yml'\n      - '.github/workflows/deploy.yml'\n      - '.github/workflows/redeploy.yml'\n      - 'bin/logger'\n      - 'conf/development.ini'\n      - 'production.ini'\n      - 'conf/supervisord*.conf'\n      - 'docs/*'\n      - 'requirements/*.in'\n      - 'requirements/dev.txt'\n      - '**/.gitignore'\n      - 'Dockerfile'\n      - 'LICENSE'\n      - '*.md'\n      - 'docker-compose.yml'\n  workflow_dispatch:\n  workflow_call:\n  schedule:\n  - cron: '0 1 * * *'\njobs:\n  Format:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: format-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            format-${{ runner.os }}-tox-\n      - run: python -m pip install 'tox<4'\n      - run: tox -e checkformatting\n  Lint:\n    runs-on: ubuntu-latest-32-cores\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: lint-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            lint-${{ runner.os }}-tox-\n      - run: python -m pip install 'tox<4'\n      - run: tox -e lint\n  Tests:\n    runs-on: ubuntu-latest-32-cores\n    services:\n      postgres:\n        image: postgres:15.6-alpine\n        ports:\n        - 5432:5432\n        env:\n          POSTGRES_HOST_AUTH_METHOD: trust\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n      elasticsearch:\n        image: hypothesis/elasticsearch:latest\n        ports:\n        - 9200:9200\n        env:\n          discovery.type: single-node\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: tests-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            tests-${{ runner.os }}-tox-\n      - name: Create test database\n        run: psql -U postgres -h localhost -p 5432 -c 'CREATE DATABASE h_tests'\n      - run: python -m pip install 'tox<4'\n      - run: tox -e tests\n        env:\n          COVERAGE_FILE: .coverage.${{ matrix.python-version }}\n      - name: Upload coverage file\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage\n          path: .coverage.*\n  Coverage:\n    needs: tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: coverage-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            coverage-${{ runner.os }}-tox-\n      - name: Download coverage files\n        uses: actions/download-artifact@v3\n        with:\n          name: coverage\n      - run: python -m pip install 'tox<4'\n      - run: tox -e coverage\n  Functests:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:15.6-alpine\n        ports:\n        - 5432:5432\n        env:\n          POSTGRES_HOST_AUTH_METHOD: trust\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n      elasticsearch:\n        image: hypothesis/elasticsearch:latest\n        ports:\n        - 9200:9200\n        env:\n          discovery.type: single-node\n      rabbitmq:\n        image: rabbitmq:3.12-management-alpine\n        ports:\n        - 5672:5672\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: functests-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            functests-${{ runner.os }}-tox-\n      - name: Create test database\n        run: psql -U postgres -h localhost -p 5432 -c 'CREATE DATABASE h_functests'\n      - run: python -m pip install 'tox<4'\n      - run: yarn install --immutable\n      - run: yarn build\n      - run: tox -e functests\n  Frontend:\n    uses: ./.github/workflows/frontend.yml\n", "state": "active", "repository": "hypothesis/h"}
{"mined_at": "2024-07-15T14:57:45.615935", "created_at": "2022-12-01T18:31:51+01:00", "updated_at": "2022-12-01T18:31:51+01:00", "name": "Redeploy", "path": ".github/workflows/redeploy.yml", "contents": "name: Redeploy\nconcurrency:\n  group: deploy\n  cancel-in-progress: true\non:\n  workflow_dispatch:\n    inputs:\n      staging:\n        type: boolean\n        description: Redeploy Staging\n      staging_websocket:\n        type: boolean\n        description: Redeploy Staging (WebSocket)\n      production:\n        type: boolean\n        description: Redeploy Production\n      production_websocket:\n        type: boolean\n        description: Redeploy Production (WebSocket)\n      production_canada:\n        type: boolean\n        description: Redeploy Production (Canada)\njobs:\n  staging:\n    name: Staging\n    if: inputs.staging\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Staging\n      github_environment_url: https://staging.hypothes.is/search\n      aws_region: us-west-1\n      elasticbeanstalk_application: h\n      elasticbeanstalk_environment: staging\n    secrets: inherit\n  staging_websocket:\n    name: Staging (WebSocket)\n    if: inputs.staging_websocket\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Staging (WebSocket)\n      github_environment_url: https://staging.hypothes.is/docs/help\n      aws_region: us-west-1\n      elasticbeanstalk_application: h-websocket\n      elasticbeanstalk_environment: staging\n    secrets: inherit\n  production:\n    name: Production\n    if: inputs.production\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Production\n      github_environment_url: https://hypothes.is/search\n      aws_region: us-west-1\n      elasticbeanstalk_application: h\n      elasticbeanstalk_environment: prod\n    secrets: inherit\n  production_websocket:\n    name: Production (WebSocket)\n    if: inputs.production_websocket\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Production (WebSocket)\n      github_environment_url: https://hypothes.is/docs/help\n      aws_region: us-west-1\n      elasticbeanstalk_application: h-websocket\n      elasticbeanstalk_environment: prod\n    secrets: inherit\n  production_canada:\n    name: Production (Canada)\n    if: inputs.production_canada\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Production (Canada)\n      github_environment_url: https://ca.hypothes.is/search\n      aws_region: ca-central-1\n      elasticbeanstalk_application: h\n      elasticbeanstalk_environment: prod\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/h"}
{"mined_at": "2024-07-15T14:57:46.839711", "created_at": "2023-09-19T12:59:22+02:00", "updated_at": "2023-09-19T12:59:22+02:00", "name": "Slack", "path": ".github/workflows/slack.yml", "contents": "name: Slack\non:\n  workflow_run:\n    workflows: [CI]\n    types: [completed]\n    branches: [main]\njobs:\n  on-failure:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'failure' }}\n    steps:\n      - name: Post to Slack\n        uses: slackapi/slack-github-action@v1.24.0\n        with:\n          channel-id: 'C4K6M7P5E'\n          slack-message: \"A workflow run failed\\n*Repo:* `${{ github.event.repository.full_name }}` (${{ github.event.repository.html_url }})\\n*Workflow:* ${{ github.event.workflow.name }} (${{ github.event.workflow.html_url }})\\n*Branch:* `${{ github.event.workflow_run.head_branch }}`\\n*Commit:* `${{ github.event.workflow_run.head_commit.id }}`\\n*Run:* ${{ github.event.workflow_run.html_url }}\\n*Conclusion:* ${{ github.event.workflow_run.conclusion }}\"\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n", "state": "active", "repository": "hypothesis/h"}
{"mined_at": "2024-07-15T14:57:47.837047", "created_at": "2023-10-18T11:21:41+02:00", "updated_at": "2023-10-18T11:21:41+02:00", "name": "Frontend", "path": ".github/workflows/frontend.yml", "contents": "name: Frontend\non:\n  workflow_call:\n  workflow_dispatch:\njobs:\n  Frontend:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n    - name: Cache the node_modules dir\n      uses: actions/cache@v3\n      with:\n        path: node_modules\n        key: ${{ runner.os }}-node_modules-${{ hashFiles('package-lock.json') }}\n    - name: Format\n      run: make frontend-checkformatting\n    - name: Lint\n      run: make frontend-lint\n    - name: Test\n      run: make frontend-tests\n", "state": "active", "repository": "hypothesis/h"}
{"mined_at": "2024-07-15T14:57:49.797562", "created_at": "2021-04-08T17:09:47+02:00", "updated_at": "2023-12-13T14:40:55+01:00", "name": "CI PyTorchDeepSpeech v2", "path": ".github/workflows/ci-deepspeech-v2.yml", "contents": null, "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:57:50.948711", "created_at": "2021-05-13T11:56:56+02:00", "updated_at": "2021-06-15T20:36:23+02:00", "name": "CI PyTorchDeepSpeech v3", "path": ".github/workflows/ci-deepspeech-v3.yml", "contents": "name: CI PyTorchDeepSpeech v3\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test_deepspeech_v3_torch_1_10:\n    name: PyTorchDeepSpeech v3 / PyTorch 2.1.1\n    runs-on: ubuntu-latest\n    container: adversarialrobustnesstoolbox/art_testing_envs:deepspeech_v3_torch_2_1_1\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Run Test Action\n        uses: ./.github/actions/deepspeech-v3\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:57:51.955827", "created_at": "2021-09-08T01:49:28+02:00", "updated_at": "2021-10-03T02:05:55+02:00", "name": "CI PyTorchEspresso", "path": ".github/workflows/ci-espresso.yml", "contents": "name: CI PyTorchEspresso\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test_espresso:\n    name: PyTorchEspresso\n    runs-on: ubuntu-latest\n    container: adversarialrobustnesstoolbox/art_testing_envs:espresso\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Run Test Action\n        uses: ./.github/actions/espresso\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:57:53.106233", "created_at": "2021-09-21T12:34:02+02:00", "updated_at": "2021-09-26T00:31:52+02:00", "name": "CI PyTorchGoturn", "path": ".github/workflows/ci-goturn.yml", "contents": "name: CI PyTorchGoturn\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test_pytorch_goturn:\n    name: PyTorchGoturn\n    runs-on: ubuntu-latest\n    container: adversarialrobustnesstoolbox/art_testing_envs:goturn\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Run Test Action\n        uses: ./.github/actions/goturn\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:57:54.212112", "created_at": "2023-08-15T12:36:28+02:00", "updated_at": "2023-09-22T15:59:06+02:00", "name": "CI Huggingface", "path": ".github/workflows/ci-huggingface.yml", "contents": "name: CI Huggingface\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: Huggingface 4.30\n            framework: huggingface\n            python: '3.10'\n            torch: 2.2.1\n            torchvision: 0.17.1+cpu\n            torchaudio: 2.2.1\n            transformers: 4.30.2\n\n    name: ${{ matrix.name }}\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install ffmpeg libavcodec-extra\n          python -m pip install --upgrade pip setuptools wheel\n          pip3 install -r requirements_test.txt\n          pip install tensorflow==2.14.0\n          pip install keras==2.14.0\n          pip install torch==${{ matrix.torch }} -f https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install torchvision==${{ matrix.torchvision }} -f https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install torchaudio==${{ matrix.torchaudio }} -f https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install transformers==${{ matrix.transformers }}\n          pip list\n      - name: Run Tests\n        run: ./run_tests.sh ${{ matrix.framework }}\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:57:55.268643", "created_at": "2023-12-12T19:27:04+01:00", "updated_at": "2023-12-12T19:27:04+01:00", "name": "CI PyTorchIcefall", "path": ".github/workflows/ci-icefall.yml", "contents": null, "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:57:56.364577", "created_at": "2021-09-15T12:09:37+02:00", "updated_at": "2021-10-03T02:05:55+02:00", "name": "CI Keras", "path": ".github/workflows/ci-keras.yml", "contents": "name: CI Keras\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: Keras 2.13.1 (TensorFlow 2.13.1 Python 3.10)\n            framework: keras\n            python: '3.10'\n            tensorflow: 2.13.1\n            keras: 2.13.1\n            tf_addons: 0.19.0\n          - name: Keras 2.14.0 (TensorFlow 2.14.0 Python 3.10)\n            framework: keras\n            python: '3.10'\n            tensorflow: 2.14.0\n            keras: 2.14.0\n            tf_addons: 0.20.0\n          - name: TensorFlow-Keras 2.14.0 (Keras 2.14.0 Python 3.10)\n            framework: kerastf\n            python: '3.10'\n            tensorflow: 2.14.0\n            keras: 2.14.0\n            tf_addons: 0.20.0\n\n    name: ${{ matrix.name }}\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install ffmpeg libavcodec-extra\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -q -r <(sed '/^tensorflow/d;/^keras/d;/^tensorflow-addons/d' requirements_test.txt)\n          pip install tensorflow==${{ matrix.tensorflow }}\n          pip install keras==${{ matrix.keras }}\n          pip install tensorflow-addons==${{ matrix.tf_addons }}\n          pip list\n      - name: Run Tests\n        run: ./run_tests.sh ${{ matrix.framework }}\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:57:57.592051", "created_at": "2021-08-11T02:49:02+02:00", "updated_at": "2021-08-31T01:01:53+02:00", "name": "CI Legacy", "path": ".github/workflows/ci-legacy.yml", "contents": "name: CI Legacy\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        module: [attacks_1, attacks_2, estimators, defences, metrics, art]\n        include:\n          - name: legacy (TensorFlow 2.14.0 Keras 2.14.0 PyTorch 1.13.1 scikit-learn 1.1.3 Python 3.9)\n            framework: legacy\n            python: '3.10'\n            tensorflow: 2.14.0\n            keras: 2.14.0\n            torch: 1.13.1+cpu\n            torchvision: 0.14.1+cpu\n            torchaudio: 0.13.1+cpu\n            scikit-learn: 1.1.3\n\n    name: Run ${{ matrix.module }} ${{ matrix.name }} Tests\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install ffmpeg libavcodec-extra\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -q -r requirements_test.txt\n          pip install tensorflow==${{ matrix.tensorflow }}\n          pip install keras==${{ matrix.keras }}\n          pip install scikit-learn==${{ matrix.scikit-learn }}\n          pip install torch==${{ matrix.torch }} -f https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install torchvision==${{ matrix.torchvision }} -f https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install torchaudio==${{ matrix.torchaudio }} -f https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip list\n      - name: Run ${{ matrix.name }} ${{ matrix.module }} Tests\n        run: ./run_tests.sh ${{ matrix.framework }} ${{ matrix.module }}\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:57:58.711961", "created_at": "2021-04-07T16:26:05+02:00", "updated_at": "2023-08-14T14:30:35+02:00", "name": "CI Lingvo", "path": ".github/workflows/ci-lingvo.yml", "contents": "name: CI Lingvo\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: TensorFlow+Lingvo 2.1.0v1 (Keras 2.3.1 Python 3.6)\n            framework: tensorflow2v1\n            python: 3.6\n            tensorflow: 2.1.0\n            tf_version: v2\n            keras: 2.3.1\n            lingvo: 0.6.4\n\n    name: Run ${{ matrix.name }} Tests\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Pre-install Lingvo ASR\n        # scipy beyond 1.6.0 is not available on Python 3.6, therefore we adapt the installation of requirements_test.txt\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install ffmpeg libavcodec-extra\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -q -r <(sed '/^scipy/d;/^matplotlib/d;/^pandas/d;/^statsmodels/d;/^numba/d;/^jax/d;/^h5py/d;/^Pillow/d;/^pytest/d;/^pytest-mock/d;/^torch/d;/^torchaudio/d;/^torchvision/d;/^xgboost/d;/^requests/d;/^tensorflow/d;/^keras/d;/^kornia/d;/^librosa/d;/^tqdm/d;/^timm/d;/^catboost/d;/^scikit-learn/d;/^GPy/d;/^lief/d;/^ultralytics/d;/^ipython/d' requirements_test.txt)\n          pip install scipy==1.5.4\n          pip install matplotlib==3.3.4\n          pip install pandas==1.1.5\n          pip install statsmodels==0.12.2\n          pip install numba==0.53.1\n          pip install tensorflow==${{ matrix.tensorflow }}\n          pip install keras==${{ matrix.keras }}\n          pip install lingvo==${{ matrix.lingvo }}\n          pip install tensorflow-addons==0.9.1\n          pip install model-pruning-google-research==0.0.3\n          pip install h5py==2.10.0\n          pip install pytest~=7.0.1\n          pip install pytest-flake8~=1.1.0\n          pip install pytest-mock\n          pip install pytest-cov~=3.0.0\n          pip install torch==1.10.2+cpu --find-links https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install torchaudio==0.10.2+cpu --find-links https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install torchvision==0.11.3+cpu --find-links https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install xgboost==1.5.2\n          pip install requests==2.27.1\n          pip install kornia==0.6.8\n          pip install librosa==0.9.2\n          pip install tqdm==4.64.1\n          pip install catboost==1.1.1\n          pip install scikit-learn==0.24.2\n          pip install GPy==1.10.0\n          pip install lief==0.12.3\n          pip list\n      - name: Run ${{ matrix.name }} Tests\n        run: pytest --cov-report=xml --cov=art --cov-append -q -vv tests/estimators/speech_recognition/test_tensorflow_lingvo.py --framework=${{ matrix.framework }} --durations=0\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:57:59.947201", "created_at": "2021-03-12T01:43:27+01:00", "updated_at": "2021-08-31T23:01:27+02:00", "name": "CI MXNet", "path": ".github/workflows/ci-mxnet.yml", "contents": "name: CI MXNet\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: mxnet (Python 3.9)\n            framework: mxnet\n            python: 3.9\n\n    name: Run ${{ matrix.name }} Tests\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install ffmpeg libavcodec-extra\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -q -r <(sed '/^ultralytics/d;/^ipython/d' requirements_test.txt)\n          pip list\n      - name: Run ${{ matrix.name }} ${{ matrix.module }} Tests\n        run: ./run_tests.sh ${{ matrix.framework }} ${{ matrix.module }}\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:58:01.175834", "created_at": "2021-09-02T00:40:21+02:00", "updated_at": "2021-09-26T00:31:52+02:00", "name": "CI PyTorchObjectDetectors", "path": ".github/workflows/ci-pytorch-object-detectors.yml", "contents": "name: CI PyTorchObjectDetectors\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test_pytorch_fasterrcnn:\n    name: PyTorchObjectDetectors\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install ffmpeg libavcodec-extra\n          python -m pip install --upgrade pip setuptools wheel\n          pip3 install -q -r requirements_test.txt\n          pip list\n      - name: Pre-install torch\n        run: |\n          pip install torch==1.12.1+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install torchvision==0.13.1+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install torchaudio==0.12.1+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html\n      - name: Run Test Action - test_pytorch_object_detector\n        run: pytest --cov-report=xml --cov=art --cov-append -q -vv tests/estimators/object_detection/test_pytorch_object_detector.py --framework=pytorch --durations=0\n      - name: Run Test Action - test_pytorch_faster_rcnn\n        run: pytest --cov-report=xml --cov=art --cov-append -q -vv tests/estimators/object_detection/test_pytorch_faster_rcnn.py --framework=pytorch --durations=0\n      - name: Run Test Action - test_pytorch_detection_transformer\n        run: pytest --cov-report=xml --cov=art --cov-append -q -vv tests/estimators/object_detection/test_pytorch_detection_transformer.py --framework=pytorch --durations=0\n      - name: Run Test Action - test_pytorch_object_seeker_faster_rcnn\n        run: pytest --cov-report=xml --cov=art --cov-append -q -vv tests/estimators/object_detection/test_object_seeker_faster_rcnn.py --framework=pytorch --durations=0\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:58:02.277232", "created_at": "2021-09-14T17:11:13+02:00", "updated_at": "2021-10-03T02:05:55+02:00", "name": "CI PyTorch", "path": ".github/workflows/ci-pytorch.yml", "contents": "name: CI PyTorch\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: PyTorch 1.13.1 (Python 3.10)\n            framework: pytorch\n            python: '3.10'\n            torch: 1.13.1+cpu\n            torchvision: 0.14.1+cpu\n            torchaudio: 0.13.1\n          - name: PyTorch 2.2.1 (Python 3.10)\n            framework: pytorch\n            python: '3.10'\n            torch: 2.2.1\n            torchvision: 0.17.1+cpu\n            torchaudio: 2.2.1\n\n    name: ${{ matrix.name }}\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install ffmpeg libavcodec-extra\n          python -m pip install --upgrade pip setuptools wheel\n          pip3 install -r requirements_test.txt\n          pip install torch==${{ matrix.torch }} -f https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install torchvision==${{ matrix.torchvision }} -f https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip install torchaudio==${{ matrix.torchaudio }} -f https://download.pytorch.org/whl/cpu/torch_stable.html\n          pip list\n      - name: Run Tests\n        run: ./run_tests.sh ${{ matrix.framework }}\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:58:03.326341", "created_at": "2021-09-14T17:11:13+02:00", "updated_at": "2022-05-14T23:52:23+02:00", "name": "CI scikit-learn", "path": ".github/workflows/ci-scikit-learn.yml", "contents": "name: CI scikit-learn\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: scikit-learn 1.3.2 (Python 3.10)\n            framework: scikitlearn\n            scikit-learn: 1.3.2\n            python: '3.10'\n          - name: scikit-learn 1.4.0 (Python 3.10)\n            framework: scikitlearn\n            scikit-learn: 1.4.0\n            python: '3.10'\n\n    name: ${{ matrix.name }}\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install ffmpeg libavcodec-extra\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -r requirements_test.txt\n          pip install scikit-learn==${{ matrix.scikit-learn }}\n          pip list\n      - name: Run Tests\n        run: ./run_tests.sh ${{ matrix.framework }}\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:58:04.557908", "created_at": "2021-04-22T12:54:07+02:00", "updated_at": "2022-05-11T23:28:48+02:00", "name": "CI Style Checks", "path": ".github/workflows/ci-style-checks.yml", "contents": "name: CI Style Checks\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  style:\n    name: Style Check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Pre-install\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install ffmpeg libavcodec-extra\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -q pylint==2.12.2 mypy==1.7.1 pycodestyle==2.8.0 black==21.12b0\n          pip install -q -r <(sed '/^numpy/d;/^pluggy/d;/^tensorflow/d;/^keras/d' requirements_test.txt)\n          pip install numpy==1.22.4\n          pip install pluggy==0.13.1\n          pip install tensorflow==2.13.1\n          pip install keras==2.13.1\n          pip install types-six\n          pip install types-PyYAML\n          pip install types-setuptools\n          pip install click==8.0.2\n          pip list\n      - name: pycodestyle\n        run: pycodestyle --ignore=C0330,C0415,E203,E231,W503 --max-line-length=120 art\n      - name: pylint\n        if: ${{ always() }}\n        run: pylint --disable=C0330,C0415,E203,E1136,E0401,E1102 -rn art\n      - name: mypy\n        if: ${{ always() }}\n        run: mypy art\n      - name: pytest-flake8\n        if: ${{ always() }}\n        run: pytest --flake8 -v -m flake8 --ignore=contrib\n      - name: black\n        if: ${{ always() }}\n        run: |\n          black --line-length 120 --check art/\n          black --line-length 120 --check tests/\n          black --line-length 120 --check examples/\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:58:05.681447", "created_at": "2021-09-14T17:11:13+02:00", "updated_at": "2022-05-11T23:28:48+02:00", "name": "CI TensorFlow v1", "path": ".github/workflows/ci-tensorflow-v1.yml", "contents": "name: CI TensorFlow v1\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: TensorFlow 1.15.5 (Keras 2.2.5 Python 3.7)\n            framework: tensorflow\n            python: 3.7\n            tensorflow: 1.15.5\n            tf_version: v1\n            keras: 2.2.5\n\n    name: ${{ matrix.name }}\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install ffmpeg libavcodec-extra\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -q -r <(sed '/^pandas/d;/^scipy/d;/^matplotlib/d;/^xgboost/d;/^tensorflow/d;/^keras/d;/^jax/d;/^torch/d;/^Pillow/d;/^h5py/d;/^kornia/d;/^scikit-learn/d;/^pytest-mock/d;/^GPy/d;/^lief/d;/^statsmodels/d;/^ultralytics/d;/^ipython/d' requirements_test.txt)\n          pip install pandas==1.3.5\n          pip install scipy==1.7.2\n          pip install matplotlib==3.5.3\n          pip install xgboost==1.6.2\n          pip install protobuf==3.20.1\n          pip install tensorflow==${{ matrix.tensorflow }}\n          pip install keras==${{ matrix.keras }}\n          pip install numpy==1.20\n          pip install torch==1.13.1\n          pip install torchaudio==0.13.1\n          pip install torchvision==0.14.1+cpu\n          pip install Pillow==9.5.0\n          pip install h5py==3.8.0\n          pip install kornia==0.6.12\n          pip install scikit-learn==1.0.2\n          pip install pytest-mock~=3.11.1\n          pip install GPy~=1.10.0\n          pip install lief==0.12.3\n          pip install statsmodels==0.13.5\n          pip list\n      - name: Run Tests\n        run: ./run_tests.sh ${{ matrix.framework }}\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:58:06.910128", "created_at": "2021-09-14T17:11:13+02:00", "updated_at": "2021-10-03T02:05:55+02:00", "name": "CI TensorFlow v2", "path": ".github/workflows/ci-tensorflow-v2.yml", "contents": "name: CI TensorFlow v2\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: TensorFlow 2.13.1 (Keras 2.13.1 Python 3.10)\n            framework: tensorflow\n            python: '3.10'\n            tensorflow: 2.13.1\n            tf_version: v2\n            keras: 2.13.1\n            tf_addons: 0.21.0\n          - name: TensorFlow 2.14.0v1 (Keras 2.14.0 Python 3.10)\n            framework: tensorflow2v1\n            python: '3.10'\n            tensorflow: 2.14.0\n            tf_version: v2\n            keras: 2.14.0\n            tf_addons: 0.21.0\n          - name: TensorFlow 2.14.0 (Keras 2.14.0 Python 3.10)\n            framework: tensorflow\n            python: '3.10'\n            tensorflow: 2.14.0\n            tf_version: v2\n            keras: 2.14.0\n            tf_addons: 0.21.0\n\n    name: ${{ matrix.name }}\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install ffmpeg libavcodec-extra\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -q -r <(sed '/^tensorflow/d;/^keras/d;/^tensorflow-addons/d' requirements_test.txt)\n          pip install tensorflow==${{ matrix.tensorflow }}\n          pip install keras==${{ matrix.keras }}\n          pip install tensorflow-addons==${{ matrix.tf_addons }}\n          pip list\n      - name: Run Tests\n        run: ./run_tests.sh ${{ matrix.framework }}\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:58:08.138737", "created_at": "2021-07-02T10:31:58+02:00", "updated_at": "2021-08-31T01:01:53+02:00", "name": "CI TensorFlowFasterRCNN", "path": ".github/workflows/ci-tf-faster-rcnn.yml", "contents": "name: CI TensorFlowFasterRCNN\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test_tf_faster_rcnn:\n    name: TensorFlowFasterRCNN\n    runs-on: ubuntu-latest\n    container: adversarialrobustnesstoolbox/art_testing_envs:tf_fasterrcnn\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Run Test Action\n        uses: ./.github/actions/tf-faster-rcnn\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:58:09.265277", "created_at": "2022-12-16T14:01:20+01:00", "updated_at": "2022-12-18T13:02:09+01:00", "name": "CI TensorFlowV2FasterRCNN", "path": ".github/workflows/ci-tfv2-faster-rcnn.yml", "contents": "name: CI TensorFlowV2FasterRCNN\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test_tf_v2_faster_rcnn:\n    name: TensorFlowV2FasterRCNN\n    runs-on: ubuntu-latest\n    container: adversarialrobustnesstoolbox/art_testing_envs:tfv2-faster-rcnn\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Run Test Action\n        uses: ./.github/actions/tfv2-faster-rcnn\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:58:10.283298", "created_at": "2022-06-04T01:15:20+02:00", "updated_at": "2022-07-01T11:19:41+02:00", "name": "CI PyTorchYolo", "path": ".github/workflows/ci-yolo.yml", "contents": "name: CI PyTorchYolo\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  # Run on pull requests\n  pull_request:\n    paths-ignore:\n      - '*.md'\n\n  # Run on merge queue\n  merge_group:\n\n  # Run when pushing to main or dev branches\n  push:\n    branches:\n      - main\n      - dev*\n\n  # Run scheduled CI flow daily\n  schedule:\n    - cron: '0 8 * * 0'\n\njobs:\n  test_deepspeech_v3_torch_1_10:\n    name: PyTorchYolo\n    runs-on: ubuntu-latest\n    container: adversarialrobustnesstoolbox/art_testing_envs:yolo\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Run Test Action\n        uses: ./.github/actions/yolo\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:58:11.298699", "created_at": "2020-10-16T17:33:59+02:00", "updated_at": "2020-10-16T17:33:59+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [main, dev_*]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [main, dev_*]\n  # Run on merge queue\n  merge_group:\n  schedule:\n    - cron: '0 7 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file. \n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n        queries: +security-and-quality, security-extended\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:58:12.543039", "created_at": "2022-08-07T00:41:22+02:00", "updated_at": "2022-08-07T00:45:07+02:00", "name": "Publish Docker image", "path": ".github/workflows/dockerhub.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# GitHub recommends pinning actions to a commit SHA.\n# To get a newer version, you will need to update the SHA.\n# You can also reference a tag or branch, but the action may change without warning.\nname: Publish Docker image\n\non:\n  # Run on manual trigger\n  workflow_dispatch:\n\n  release:\n    types: [published]\n\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker Hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81\n        with:\n          images: adversarialrobustnesstoolbox/releases\n          tags: |\n            type=raw,value={{branch}}-1.18.0-{{sha}}\n            type=semver,pattern={{version}}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "trusted-ai/adversarial-robustness-toolbox"}
{"mined_at": "2024-07-15T14:58:15.000682", "created_at": "2021-01-15T19:51:10+01:00", "updated_at": "2021-01-15T19:51:10+01:00", "name": "Helm diff", "path": ".github/workflows/diff.yml", "contents": "# This workflow provides a diff of the rendered Helm chart's templates with the\n# latest released dev version of the chart.\n#\nname: Helm diff\n\non:\n  pull_request:\n    paths:\n      - \".github/workflows/diff.yml\"\n      - \"helm-chart/binderhub/**\"\n  push:\n    paths:\n      - \".github/workflows/diff.yml\"\n      - \"helm-chart/binderhub/**\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n      - \"update-*\"\n  workflow_dispatch:\n\njobs:\n  diff-rendered-templates:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: jupyterhub/action-k3s-helm@v4\n        with:\n          k3s-channel: stable\n          metrics-enabled: false\n          traefik-enabled: false\n          docker-enabled: true\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install helm diff plugin, update local chart dependencies\n        run: |\n          helm plugin install https://github.com/databus23/helm-diff\n          helm dependency update ./helm-chart/binderhub\n\n      - name: \"Install latest released dev chart\"\n        run: |\n          UPGRADE_FROM_VERSION=$(curl -sSL https://jupyterhub.github.io/helm-chart/info.json | jq -er '.binderhub.dev')\n\n          # NOTE: We change the directory so binderhub the chart name won't be\n          #       misunderstood as the local folder name.\n          # validation is disabled, because the config is for a different version!\n          cd testing\n\n          old_config=\"../testing/k8s-binder-k8s-hub/binderhub-chart-config-old.yaml\"\n          if [ -f \"$old_config\" ]; then\n            echo \"using old config\"\n          else\n            old_config=\"../testing/k8s-binder-k8s-hub/binderhub-chart-config.yaml\"\n          fi\n\n          helm install binderhub-test binderhub \\\n              --values \"$old_config\" \\\n              --repo https://jupyterhub.github.io/helm-chart/ \\\n              --disable-openapi-validation \\\n              --version=$UPGRADE_FROM_VERSION\n\n      - name: \"Helm diff latest released dev chart with local chart\"\n        run: |\n          echo \"NOTE: For the helm diff, we have not updated the Chart.yaml\"\n          echo \"      version or image tags using chartpress.\"\n          echo\n\n          helm diff upgrade binderhub-test helm-chart/binderhub \\\n              --values testing/k8s-binder-k8s-hub/binderhub-chart-config.yaml \\\n              --context=3\n", "state": "active", "repository": "jupyterhub/binderhub"}
{"mined_at": "2024-07-15T14:58:16.040488", "created_at": "2021-09-20T14:16:39+02:00", "updated_at": "2021-09-20T17:28:28+02:00", "name": "eslint", "path": ".github/workflows/eslint.yml", "contents": "# Lints the binderhub/static/js folders content with eslint, influenced by\n# \".eslintrc.js\", by running \"npm run lint\" where \"lint\" is a command defined in\n# package.json.\n#\nname: eslint\n\non:\n  pull_request:\n    paths:\n      - \".github/workflows/eslint.yml\"\n      - \".eslintrc.js\"\n      - \"package.json\"\n      - \"binderhub/static/js/**\"\n      - \"js/**\"\n  push:\n    paths:\n      - \".github/workflows/eslint.yml\"\n      - \".eslintrc.js\"\n      - \"package.json\"\n      - \"binderhub/static/js/**\"\n      - \"js/**\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n      - \"update-*\"\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: npm install\n\n      - run: npm run lint\n", "state": "active", "repository": "jupyterhub/binderhub"}
{"mined_at": "2024-07-15T14:58:17.194363", "created_at": "2023-10-03T02:57:12+02:00", "updated_at": "2023-10-09T07:56:50+02:00", "name": "JS Unit tests", "path": ".github/workflows/jest.yml", "contents": "# Runs jest based unit tests for frontend javascript and @jupyterhub/binderhub-client\nname: \"JS Unit tests\"\n\non:\n  pull_request:\n    paths:\n      - \"binderhub/static/js/**\"\n      - \"js/packages/binderhub-client/**\"\n      - \".github/workflows/jest.yml\"\n  push:\n    paths:\n      - \"binderhub/static/js/**\"\n      - \"js/packages/binderhub-client/**\"\n      - \".github/workflows/jest.yml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n      - \"update-*\"\n  workflow_dispatch:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: \"Setup dependencies\"\n        run: |\n          npm install\n\n      - name: \"Run all unit tests\"\n        run: |\n          npm test\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n", "state": "active", "repository": "jupyterhub/binderhub"}
{"mined_at": "2024-07-15T14:58:18.381520", "created_at": "2020-11-13T17:53:36+01:00", "updated_at": "2020-11-13T17:53:36+01:00", "name": "Publish helm chart and docker images", "path": ".github/workflows/publish.yml", "contents": "name: Publish helm chart and docker images\n\non:\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n      - \"**.rst\"\n      - \"docs/**\"\n      - \"examples/**\"\n      - \".github/workflows/**\"\n      - \"!.github/workflows/publish.yml\"\n  push:\n    paths-ignore:\n      - \"**.md\"\n      - \"**.rst\"\n      - \"docs/**\"\n      - \"examples/**\"\n      - \".github/workflows/**\"\n      - \"!.github/workflows/publish.yml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n      - \"update-*\"\n  workflow_dispatch:\n\njobs:\n  # Builds and pushes docker images to quay.io, packages the Helm chart and\n  # pushes it to jupyterhub/helm-chart@gh-pages where index.yaml represents the\n  # JupyterHub organization Helm chart repository.\n  #\n  # ref: https://github.com/jupyterhub/helm-chart\n  # ref: https://quay.io/organization/jupyterhub\n  #\n  Publish:\n    runs-on: ubuntu-latest\n    if: startsWith(github.ref, 'refs/tags/') || (github.ref == 'refs/heads/main')\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # chartpress requires the full history\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - uses: actions/setup-node@v4\n        # node required to build wheel\n        with:\n          node-version: \"16\"\n\n      - name: Set up QEMU (for docker buildx)\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx (for chartpress multi-arch builds)\n        uses: docker/setup-buildx-action@v3\n\n      - name: Setup helm\n        uses: azure/setup-helm@v4\n        with:\n          version: \"v3.5.4\"\n\n      - name: Install chart publishing dependencies (chartpress, etc)\n        run: |\n          pip install --no-cache-dir chartpress>=2.1 pyyaml build\n\n      - name: Build binderhub wheel\n        run: python3 -m build --wheel .\n\n      - name: Setup push rights to jupyterhub/helm-chart\n        # This was setup by...\n        # 1. Generating a private/public key pair:\n        #    ssh-keygen -t ed25519 -C \"jupyterhub/binderhub\" -f /tmp/id_ed25519\n        # 2. Registering the private key (/tmp/id_ed25519) as a secret for this\n        #    repo:\n        #    https://github.com/jupyterhub/binderhub/settings/secrets/actions\n        # 3. Registering the public key (/tmp/id_ed25519.pub) as a deploy key\n        #    with push rights for the jupyterhub/helm chart repo:\n        #    https://github.com/jupyterhub/helm-chart/settings/keys\n        #\n        run: |\n          mkdir -p ~/.ssh\n          ssh-keyscan github.com >> ~/.ssh/known_hosts\n          echo \"${{ secrets.JUPYTERHUB_HELM_CHART_DEPLOY_KEY }}\" > ~/.ssh/id_ed25519\n          chmod 600 ~/.ssh/id_ed25519\n\n      - name: Setup push rights to Quay.io\n        # This was setup by...\n        # 1. Creating a [Robot Account](https://quay.io/organization/jupyterhub?tab=robots) in the JupyterHub\n        # .  quay.io org\n        # 2. Giving it enough permissions to push to the binderhub image\n        # 3. Putting the robot account's username and password in GitHub actions environment\n        run: |\n          docker login -u \"${{ secrets.QUAY_USERNAME }}\" -p \"${{ secrets.QUAY_PASSWORD }}\" quay.io\n          docker login -u \"${{ secrets.DOCKER_USERNAME }}\" -p \"${{ secrets.DOCKER_PASSWORD }}\" docker.io\n\n      - name: Configure a git user\n        # Having a user.email and user.name configured with git is required to\n        # make commits, which is something chartpress does when publishing.\n        # While Travis CI had a dummy user by default, GitHub Actions doesn't\n        # and require this explicitly setup.\n        run: |\n          git config --global user.email \"github-actions@example.local\"\n          git config --global user.name \"GitHub Actions user\"\n\n      - name: Publish images and chart with chartpress\n        env:\n          GITHUB_REPOSITORY: \"${{ github.repository }}\"\n        run: |\n          ./tools/generate-json-schema.py\n          ./ci/publish\n\n  PyPI-testbuild:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # Versioneer requires past tags\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install pypa/build\n        run: python -mpip install build\n      - name: Build a sdist, and a binary wheel from the sdist\n        run: python -mbuild .\n      # ref: https://github.com/actions/upload-artifact#readme\n      - uses: actions/upload-artifact@v4\n        with:\n          name: pypi-dist\n          path: \"dist/*\"\n          if-no-files-found: error\n", "state": "active", "repository": "jupyterhub/binderhub"}
{"mined_at": "2024-07-15T14:58:19.607838", "created_at": "2021-10-11T01:53:00+02:00", "updated_at": "2021-10-11T13:43:39+02:00", "name": "Test docker multiarch build", "path": ".github/workflows/test-docker-build.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions\n#\nname: Test docker multiarch build\n\n# Trigger the workflow's on all PRs and pushes so that other contributors can\n# run tests in their own forks. Avoid triggering this tests on changes not\n# influencing the image notably.\non:\n  pull_request:\n    paths:\n      - \"helm-chart/images/**\"\n      - \"helm-chart/chartpress.yaml\"\n      - \".github/workflows/test-docker-build.yaml\"\n  push:\n    paths:\n      - \"helm-chart/images/**\"\n      - \"helm-chart/chartpress.yaml\"\n      - \".github/workflows/test-docker-build.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n      - \"update-*\"\n  workflow_dispatch:\n\njobs:\n  # This is a quick test to check the arm64 docker images based on:\n  # - https://github.com/docker/build-push-action/blob/v2.3.0/docs/advanced/local-registry.md\n  # - https://github.com/docker/build-push-action/blob/v2.3.0/docs/advanced/multi-platform.md\n  build_images:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # chartpress requires git history to set chart version and image tags\n          # correctly\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - uses: actions/setup-node@v4\n        # node required to build wheel\n        with:\n          node-version: \"16\"\n\n      - name: Install chartpress\n        run: pip install chartpress build\n\n      - name: Build binderhub wheel\n        run: python3 -m build --wheel .\n\n      - name: Set up QEMU (for docker buildx)\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx (for chartpress multi-arch builds)\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build a multiple architecture Docker image\n        run: |\n          cd helm-chart\n          chartpress \\\n              --builder docker-buildx \\\n              --platform linux/amd64 --platform linux/arm64\n", "state": "active", "repository": "jupyterhub/binderhub"}
{"mined_at": "2024-07-15T14:58:20.739320", "created_at": "2020-11-08T10:59:12+01:00", "updated_at": "2020-11-08T11:16:19+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions\n#\nname: Tests\n\non:\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n      - \"**.rst\"\n      - \"docs/**\"\n      - \"examples/**\"\n      - \".github/workflows/**\"\n      - \"!.github/workflows/test.yml\"\n  push:\n    paths-ignore:\n      - \"**.md\"\n      - \"**.rst\"\n      - \"docs/**\"\n      - \"examples/**\"\n      - \".github/workflows/**\"\n      - \"!.github/workflows/test.yml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n      - \"update-*\"\n  workflow_dispatch:\n\njobs:\n  lint:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: install requirements\n        run: pip install ruamel.yaml\n\n      - name: check embedded chart code\n        run: ./ci/check_embedded_chart_code.py\n\n  # Most of the \"main\", \"auth\" and \"helm\" jobs are the same and only differ\n  # in small things. Unfortunately there is no easy way to share steps between\n  # jobs or have \"template\" jobs, so we use `if` conditions on steps\n  tests:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n\n    permissions:\n      contents: read\n    env:\n      GITHUB_ACCESS_TOKEN: \"${{ secrets.github_token }}\"\n\n    strategy:\n      # keep running so we can see if tests with other k3s/k8s/helm versions pass\n      fail-fast: false\n      matrix:\n        k3s-channel:\n          # Available channels: https://github.com/k3s-io/k3s/blob/HEAD/channel.yaml\n          # Don't use \"latest\", instead bump it using a PR so we know when a new version breaks BinderHub\n          - v1.29\n        test:\n          - main\n          - auth\n        test-variation:\n          - \"\"\n        include:\n          # Chart.yaml contains the chart's oldest supported k8s version, we\n          # test against that and the oldest known supported helm cli version\n          # which isn't documented anywhere, but is currently at 3.5.0. We also\n          # test with the latest k8s and helm versions.\n          #\n          - k3s-channel: v1.23\n            helm-version: v3.5.0\n            test: helm\n            test-variation: dind\n            local-chart-extra-args: >-\n              --values testing/k8s-binder-k8s-hub/binderhub-chart+dind.yaml\n              --set config.BinderHub.image_prefix=$REGISTRY_HOST/test/\n              --set registry.url=http://$REGISTRY_HOST\n          - k3s-channel: v1.29\n            test: helm\n            test-variation: pink\n            local-chart-extra-args: >-\n              --values testing/k8s-binder-k8s-hub/binderhub-chart+pink.yaml\n              --set config.BinderHub.image_prefix=$REGISTRY_HOST/test/\n              --set registry.url=http://$REGISTRY_HOST\n          - k3s-channel: v1.29\n            test: helm\n            test-variation: upgrade\n            # upgrade-from represents a release channel, see: https://jupyterhub.github.io/helm-chart/info.json\n            upgrade-from: dev\n            upgrade-from-extra-args: \"\"\n\n    services:\n      registry:\n        image: docker.io/library/registry:latest\n        ports:\n          - 5000:5000\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # chartpress requires the full history\n          fetch-depth: 0\n\n      - name: Set registry host\n        if: matrix.test-variation == 'dind' || matrix.test-variation == 'pink'\n        run: |\n          REGISTRY_HOST=$(hostname -I | awk '{print $1}'):5000\n          echo REGISTRY_HOST=\"$REGISTRY_HOST\" >> $GITHUB_ENV\n\n          # Allow k3s to pull from private registry\n          # https://docs.k3s.io/installation/private-registry\n          sudo mkdir -p /etc/rancher/k3s/\n          cat << EOF | sudo tee /etc/rancher/k3s/registries.yaml\n          mirrors:\n            \"$REGISTRY_HOST\":\n              endpoint:\n                - \"http://$REGISTRY_HOST\"\n          EOF\n\n      - uses: jupyterhub/action-k3s-helm@v4\n        with:\n          k3s-channel: ${{ matrix.k3s-channel }}\n          helm-version: ${{ matrix.helm-version }}\n          metrics-enabled: false\n          traefik-enabled: false\n          docker-enabled: ${{ matrix.test-variation != 'dind' && matrix.test-variation != 'pink' }}\n\n      - name: Setup OS level dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install --yes \\\n            build-essential \\\n            curl \\\n            libcurl4-openssl-dev \\\n            libssl-dev\n\n      - uses: actions/setup-node@v4\n        id: setup-node\n        with:\n          node-version: \"18\"\n\n      - name: Cache npm\n        uses: actions/cache@v4\n        with:\n          path: ~/.npm\n          key: node-${{ steps.setup-node.outputs.node-version }}-${{ hashFiles('**/package.json') }}-${{ github.job }}\n\n      - name: Run webpack to build static assets\n        run: |\n          npm install\n          npm run webpack\n\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: \"3.11\"\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: python-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/*requirements.txt') }}-${{ github.job }}\n\n      - name: Update pip\n        run: |\n          pip install --upgrade pip\n          pip install --upgrade setuptools wheel\n\n      - name: Setup Python package dependencies\n        run: |\n          pip install --no-binary pycurl -r dev-requirements.txt -r helm-chart/images/binderhub/requirements.txt\n          pip install -e .\n\n      - name: Install JupyterHub chart for main tests\n        if: matrix.test == 'main'\n        run: |\n          ./testing/local-binder-k8s-hub/install-jupyterhub-chart\n\n      - name: Install JupyterHub chart for auth tests\n        if: matrix.test == 'auth'\n        run: |\n          ./testing/local-binder-k8s-hub/install-jupyterhub-chart --auth\n\n      - name: Build binderhub wheel\n        if: matrix.test == 'helm'\n        run: |\n          python3 -m build .\n\n      - name: Use chartpress to create the helm chart\n        if: matrix.test == 'helm'\n        run: |\n          export DOCKER_BUILDKIT=1\n\n          CHARTPRESS_ARGS=\n          if [ \"${{ matrix.test-variation }}\" = \"dind\" -o \"${{ matrix.test-variation }}\" = \"pink\" ]; then\n            CHARTPRESS_ARGS=\"--image-prefix localhost:5000/binderhub- --push\"\n\n            # Allow the pods to push to the non-https GitHub workflow registry\n            envsubst < testing/k8s-binder-k8s-hub/cm-insecure-registries-${{ matrix.test-variation }}.yaml | kubectl apply -f -\n          fi\n\n          # Use chartpress to create the helm chart and build its images\n          helm dependency update ./helm-chart/binderhub\n          (cd helm-chart && chartpress $CHARTPRESS_ARGS)\n          git --no-pager diff --color=always\n\n      - name: Generate values.schema.json from schema.yaml\n        if: matrix.test == 'helm'\n        run: |\n          tools/generate-json-schema.py\n\n      - name: \"Helm template --validate (with lint-and-validate-values.yaml)\"\n        if: matrix.test == 'helm'\n        run: |\n          helm template --validate binderhub-test helm-chart/binderhub \\\n              --values tools/templates/lint-and-validate-values.yaml\n\n      - name: \"Helm template --validate for dind (with lint-and-validate-values.yaml)\"\n        if: matrix.test == 'helm'\n        run: |\n          helm template --validate binderhub-test helm-chart/binderhub \\\n              --values tools/templates/lint-and-validate-values.yaml \\\n              --set imageBuilderType=dind\n\n      - name: \"Helm template --validate for pink (with lint-and-validate-values.yaml)\"\n        if: matrix.test == 'helm'\n        run: |\n          helm template --validate binderhub-test helm-chart/binderhub \\\n              --values tools/templates/lint-and-validate-values.yaml \\\n              --set imageBuilderType=pink\n\n      - name: Validate the chart against the k8s API\n        if: matrix.test == 'helm'\n        run: |\n          helm template --validate binderhub-test helm-chart/binderhub \\\n              --values testing/k8s-binder-k8s-hub/binderhub-chart-config.yaml \\\n              --set config.BinderHub.hub_url=http://localhost:30902 \\\n              --set config.GitHubRepoProvider.access_token=$GITHUB_ACCESS_TOKEN\n\n      - name: \"(Upgrade) Install ${{ matrix.upgrade-from }} chart\"\n        if: matrix.test-variation == 'upgrade'\n        run: |\n          # NOTE: We change the directory so binderhub the chart name won't be\n          #       misunderstood as the local folder name.\n          #\n          #       https://github.com/helm/helm/issues/9244\n          cd ci\n\n          if [ ${{ matrix.upgrade-from }} = stable ]; then\n            UPGRADE_FROM_VERSION=$(helm show chart --repo=https://hub.jupyter.org/helm-chart/ binderhub | yq e '.version' -)\n          elif [ ${{ matrix.upgrade-from }} = dev ]; then\n            UPGRADE_FROM_VERSION=$(helm show chart --devel --repo=https://hub.jupyter.org/helm-chart/ binderhub | yq e '.version' -)\n          else\n            UPGRADE_FROM_VERSION=${{ matrix.upgrade-from }}\n          fi\n          echo \"UPGRADE_FROM_VERSION=$UPGRADE_FROM_VERSION\" >> $GITHUB_ENV\n\n          echo \"\"\n          echo \"Installing already released binderhub version $UPGRADE_FROM_VERSION\"\n\n          old_config=\"../testing/k8s-binder-k8s-hub/binderhub-chart-config-old.yaml\"\n          if [ -f \"$old_config\" ]; then\n            echo \"using old config\"\n          else\n            old_config=\"../testing/k8s-binder-k8s-hub/binderhub-chart-config.yaml\"\n          fi\n\n          helm install binderhub-test \\\n              --repo https://jupyterhub.github.io/helm-chart/ binderhub \\\n              --disable-openapi-validation \\\n              --version=$UPGRADE_FROM_VERSION \\\n              --values \"$old_config\" \\\n              --set config.BinderHub.hub_url=http://localhost:30902 \\\n              --set config.BinderHub.hub_url_local=http://proxy-public \\\n              --set config.GitHubRepoProvider.access_token=$GITHUB_ACCESS_TOKEN \\\n              ${{ matrix.upgrade-from-extra-args }}\n\n      - name: \"(Upgrade) Install helm diff\"\n        if: matrix.test-variation == 'upgrade'\n        run: |\n          helm plugin install https://github.com/databus23/helm-diff\n\n      - name: \"(Upgrade) Helm diff ${{ matrix.upgrade-from }} chart with local chart\"\n        if: matrix.test-variation == 'upgrade'\n        run: |\n          helm diff upgrade binderhub-test ./helm-chart/binderhub \\\n              --values testing/k8s-binder-k8s-hub/binderhub-chart-config.yaml \\\n              --set config.BinderHub.hub_url=http://localhost:30902 \\\n              --set config.BinderHub.hub_url_local=http://proxy-public \\\n              --set config.GitHubRepoProvider.access_token=$GITHUB_ACCESS_TOKEN \\\n              ${{ matrix.local-chart-extra-args }}\n\n      - name: \"(Upgrade) Await ${{ matrix.upgrade-from }} chart\"\n        if: matrix.test-variation == 'upgrade'\n        uses: jupyterhub/action-k8s-await-workloads@v3\n        with:\n          timeout: 150\n          max-restarts: 1\n\n      - name: Test the workaround for an incorrect docker.sock directory\n        if: matrix.test-variation == 'dind'\n        run: |\n          # {{ .Values.dind.hostSocketDir }}/{{ .Values.dind.hostSocketName }}\n          sudo mkdir -p /var/run/dind/docker.sock\n\n      - name: Install the chart\n        if: matrix.test == 'helm'\n        run: |\n          helm upgrade --install binderhub-test helm-chart/binderhub \\\n              --values testing/k8s-binder-k8s-hub/binderhub-chart-config.yaml \\\n              --set config.BinderHub.hub_url=http://localhost:30902 \\\n              --set config.BinderHub.hub_url_local=http://proxy-public \\\n              --set config.GitHubRepoProvider.access_token=$GITHUB_ACCESS_TOKEN \\\n              ${{ matrix.local-chart-extra-args }}\n\n      - name: Await and curl JupyterHub\n        run: |\n          . ci/common\n          await_jupyterhub\n\n          echo curl http://localhost:30902/hub/api/ should print the JupyterHub version\n          curl http://localhost:30902/hub/api/ --max-time 5 --retry 5 --retry-delay 1 --retry-connrefused --fail-with-body --retry-all-errors\n\n      - name: Await and curl BinderHub\n        if: matrix.test == 'helm'\n        run: |\n          . ci/common\n          await_binderhub binderhub-test\n\n          echo curl http://localhost:30901/health to check BinderHub\\'s health\n          curl http://localhost:30901/health --max-time 5 --retry 5 --retry-delay 1 --retry-connrefused --fail-with-body --retry-all-errors\n\n      - name: Run main tests\n        if: matrix.test == 'main'\n        # running the \"main\" tests means \"all tests that aren't auth\"\n        run: pytest -m \"not auth\" --cov=binderhub\n\n      - name: Run auth tests\n        if: matrix.test == 'auth'\n        # running the \"auth\" tests means \"all tests that are marked as auth\"\n        run: pytest -m \"auth\" --cov=binderhub\n\n      - name: Run helm tests\n        if: matrix.test == 'helm'\n        run: |\n          export BINDER_URL=http://localhost:30901\n          pytest --helm -m \"remote\" --cov=binderhub\n\n      - name: Get BinderHub health and metrics outputs\n        if: always()\n        run: |\n          if [ \"${{ matrix.test }}\" = \"helm\" ]; then\n            for endpoint in versions health metrics; do\n              echo -e \"\\n${endpoint}\"\n              curl http://localhost:30901/$endpoint --fail-with-body\n            done\n          fi\n\n      # GitHub Action reference: https://github.com/jupyterhub/action-k8s-namespace-report\n      - name: Kubernetes namespace report\n        uses: jupyterhub/action-k8s-namespace-report@v1\n        if: always()\n        with:\n          important-workloads: >\n            deploy/binder\n            deploy/hub\n            deploy/proxy\n            daemonset/binderhub-test-dind\n            daemonset/binderhub-test-pink\n\n      # GitHub action reference: https://github.com/codecov/codecov-action\n      - uses: codecov/codecov-action@v4\n\n  test-local:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5\n\n    permissions:\n      contents: read\n    env:\n      GITHUB_ACCESS_TOKEN: \"${{ secrets.github_token }}\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup OS level dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install --yes \\\n            build-essential \\\n            curl \\\n            libcurl4-openssl-dev \\\n            libssl-dev\n\n      - uses: actions/setup-node@v4\n        id: setup-node\n        with:\n          node-version: \"18\"\n\n      - name: Cache npm\n        uses: actions/cache@v4\n        with:\n          path: ~/.npm\n          key: node-${{ steps.setup-node.outputs.node-version }}-${{ hashFiles('**/package.json') }}-${{ github.job }}\n\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: \"3.11\"\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: python-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/*requirements.txt') }}-${{ github.job }}\n\n      - name: Update pip\n        run: |\n          pip install --upgrade pip\n          pip install --upgrade setuptools wheel\n\n      - name: Setup Python package dependencies\n        # FIXME: We do \"pip install .\" before \"pip install -e .\" to ensure\n        #        binderhub/static/dist/bundle.js is built, and use \"-e\" to\n        #        ensure code coverage is captured.\n        #\n        # https://discourse.jupyter.org/t/suddenly-getting-oath-cert-error/24217/4\n        # pycurl wheels fail to pick up the system CA certs, so install from source\n        # until https://github.com/pycurl/pycurl/issues/834 resolves\n        run: |\n          pip install -r dev-requirements.txt -r testing/local-binder-local-hub/requirements.txt\n          pip install \".[pycurl]\" --no-binary pycurl\n          pip install -e \".[pycurl]\" --no-binary pycurl\n\n      - name: Setup JupyterHub NPM dependencies\n        run: npm install -g configurable-http-proxy\n\n      - name: Await and curl JupyterHub\n        run: |\n          cd testing/local-binder-local-hub\n          jupyterhub --config=jupyterhub_config.py > jupyterhub.log 2>&1 &\n          sleep 5\n\n          echo curl http://localhost:8000/hub/api/ should print the JupyterHub version\n          curl http://localhost:8000/hub/api/ --max-time 5 --retry 5 --retry-delay 1 --retry-connrefused --fail-with-body --retry-all-errors\n\n      - name: Run remote tests\n        run: |\n          export BINDER_URL=http://localhost:8000/services/binder/\n          pytest -m remote --cov=binderhub\n\n      - name: Show hub logs\n        if: always()\n        run: cat testing/local-binder-local-hub/jupyterhub.log\n\n      # GitHub action reference: https://github.com/codecov/codecov-action\n      - uses: codecov/codecov-action@v4\n", "state": "active", "repository": "jupyterhub/binderhub"}
{"mined_at": "2024-07-15T14:58:22.065559", "created_at": "2022-05-25T18:33:02+02:00", "updated_at": "2022-05-25T18:33:02+02:00", "name": "Watch dependencies", "path": ".github/workflows/watch-dependencies.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions\n#\n# - Watch multiple images tags referenced in values.yaml to match the latest\n#   stable image tag (ignoring pre-releases).\n# - Refreeze helm-chart/images/binderhub/requirements.txt based on\n#   helm-chart/images/binderhub/requirements.in\n#\nname: Watch dependencies\n\non:\n  pull_request:\n    paths:\n      - \".github/workflows/watch-dependencies.yaml\"\n  push:\n    paths:\n      - \"helm-chart/images/*/requirements.in\"\n      - \".github/workflows/watch-dependencies.yaml\"\n    branches: [\"main\"]\n  schedule:\n    # Run at 05:00 on day-of-month 1, ref: https://crontab.guru/#0_5_1_*_*\n    - cron: \"0 5 1 * *\"\n  workflow_dispatch:\n\njobs:\n  update-image-dependencies:\n    # Don't run this job on forks\n    if: github.repository == 'jupyterhub/binderhub'\n    runs-on: ubuntu-22.04\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: docker\n            registry: docker.io\n            repository: library/docker\n            values_path: dind.daemonset.image.tag\n            tag_prefix: \"\"\n            tag_suffix: -dind\n          - name: podman\n            registry: quay.io\n            repository: podman/stable\n            values_path: pink.daemonset.image.tag\n            tag_prefix: v\n            tag_suffix: \"\"\n\n          # FIXME: After docker-image-cleaner 1.0.0 is released, we can enable\n          #        this. So far, there isn't any available stable release, and\n          #        due to that our regexp fails to match anything at all.\n          #\n          # - name: docker-image-cleaner\n          #   registry: quay.io\n          #   repository: jupyterhub/docker-image-cleaner\n          #   values_path: imageCleaner.image.tag\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Get values.yaml pinned tag of ${{ matrix.registry }}/${{ matrix.repository }}\n        id: local\n        run: |\n          local_tag=$(cat helm-chart/binderhub/values.yaml | yq e '.${{ matrix.values_path }}' -)\n          echo \"tag=$local_tag\" >> $GITHUB_OUTPUT\n\n      - name: Get latest tag of ${{ matrix.registry }}/${{ matrix.repository }}\n        id: latest\n        # The skopeo image helps us list tags consistently from different docker\n        # registries. We identify the latest docker image tag based on the\n        # version numbers of format x.y.z included in a pattern with an optional\n        # prefix and suffix, like the tags \"v4.5.0\" (v prefix) and \"23.0.4-dind\"\n        # (-dind suffix).\n        run: |\n          latest_tag=$(\n              docker run --rm quay.io/skopeo/stable list-tags docker://${{ matrix.registry }}/${{ matrix.repository }} \\\n            | jq -r '[.Tags[] | select(. | match(\"^${{ matrix.tag_prefix }}\\\\d+\\\\.\\\\d+\\\\.\\\\d+${{ matrix.tag_suffix }}$\") | .string)] | sort_by(split(\".\") | map(ltrimstr(\"${{ matrix.tag_prefix }}\") | rtrimstr(\"${{ matrix.tag_suffix }}\") | tonumber)) | last'\n          )\n          echo \"tag=$latest_tag\" >> $GITHUB_OUTPUT\n\n      - name: Update values.yaml pinned tag\n        run: |\n          sed --in-place 's/tag: \"${{ steps.local.outputs.tag }}\"/tag: \"${{ steps.latest.outputs.tag }}\"/g' helm-chart/binderhub/values.yaml\n\n      - name: git diff\n        run: git --no-pager diff --color=always\n\n      # ref: https://github.com/peter-evans/create-pull-request\n      - name: Create a PR\n        if: github.event_name != 'pull_request'\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: \"${{ secrets.jupyterhub_bot_pat }}\"\n          author: JupterHub Bot Account <105740858+jupyterhub-bot@users.noreply.github.com>\n          committer: JupterHub Bot Account <105740858+jupyterhub-bot@users.noreply.github.com>\n          branch: update-image-${{ matrix.name }}\n          labels: maintenance,dependencies\n          commit-message: Update ${{ matrix.repository }} version from ${{ steps.local.outputs.tag }} to ${{ steps.latest.outputs.tag }}\n          title: Update ${{ matrix.repository }} version from ${{ steps.local.outputs.tag }} to ${{ steps.latest.outputs.tag }}\n          body: >-\n            A new ${{ matrix.repository }} image version has been detected, version\n            `${{ steps.latest.outputs.tag }}`.\n\n  refreeze-dockerfile-requirements-txt:\n    # Don't run this job on forks, but also not on the daily schedule to reduce\n    # noise. If we could run this weekly that would be reasonable, but updating\n    # these dependencies every day is too much noise.\n    #\n    if: github.repository == 'jupyterhub/binderhub' && github.event_name != 'schedule'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Refreeze helm-chart/images/binderhub/requirements.txt based on requirements.in\n        run: ci/refreeze\n\n      - name: git diff\n        run: git --no-pager diff --color=always\n\n      # ref: https://github.com/peter-evans/create-pull-request\n      - name: Create a PR\n        if: github.event_name != 'pull_request'\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: \"${{ secrets.jupyterhub_bot_pat }}\"\n          author: JupyterHub Bot Account <105740858+jupyterhub-bot@users.noreply.github.com>\n          committer: JupyterHub Bot Account <105740858+jupyterhub-bot@users.noreply.github.com>\n          branch: update-image-requirements\n          labels: dependencies\n          commit-message: \"binderhub image: refreeze requirements.txt\"\n          title: \"binderhub image: refreeze requirements.txt\"\n          body: >-\n            The binderhub image's requirements.txt has been refrozen based on\n            requirements.in.\n", "state": "active", "repository": "jupyterhub/binderhub"}
{"mined_at": "2024-07-15T14:58:24.322838", "created_at": "2020-01-10T18:31:01+01:00", "updated_at": "2022-11-07T17:58:59+01:00", "name": "premerge", "path": ".github/workflows/pythonapp.yml", "contents": "# Jenkinsfile.monai-premerge\nname: premerge\n\non:\n  # quick tests for pull requests and the releasing branches\n  push:\n    branches:\n      - dev\n      - main\n      - releasing/*\n  pull_request:\n    head_ref-ignore:\n      - dev\n\nconcurrency:\n  # automatically cancel the previously triggered workflows when there's a newer version\n  group: build-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # caching of these jobs:\n  #   - docker-py3-pip- (shared)\n  #   - ubuntu py37 pip-\n  #   - os-latest-pip- (shared)\n  flake8-py3:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        opt: [\"codeformat\", \"pytype\", \"mypy\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: |\n        echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n    - name: cache for pip\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ steps.pip-cache.outputs.datew }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel\n        python -m pip install -r requirements-dev.txt\n    - name: Lint and type check\n      run: |\n        # clean up temporary files\n        $(pwd)/runtests.sh --build --clean\n        # Github actions have 2 cores, so parallelize pytype\n        $(pwd)/runtests.sh --build --${{ matrix.opt }} -j 2\n\n  quick-py3:  # full dependencies installed tests for different OS\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, macOS-latest, ubuntu-latest]\n    timeout-minutes: 120\n    steps:\n    - if: runner.os == 'windows'\n      name: Config pagefile (Windows only)\n      uses: al-cheb/configure-pagefile-action@v1.4\n      with:\n        minimum-size: 8GB\n        maximum-size: 16GB\n        disk-root: \"D:\"\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Prepare pip wheel\n      run: |\n        which python\n        python -m pip install --upgrade pip wheel\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: |\n        echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      shell: bash\n    - name: cache for pip\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ matrix.os }}-latest-pip-${{ steps.pip-cache.outputs.datew }}\n    - if: runner.os == 'windows'\n      name: Install torch cpu from pytorch.org (Windows only)\n      run: |\n        python -m pip install torch==1.13.1+cpu torchvision==0.14.1+cpu -f https://download.pytorch.org/whl/torch_stable.html\n    - if: runner.os == 'Linux'\n      name: Install itk pre-release (Linux only)\n      run: |\n        python -m pip install --pre -U itk\n    - name: Install the dependencies\n      run: |\n        python -m pip install --user --upgrade pip wheel\n        python -m pip install torch==1.13.1 torchvision==0.14.1\n        cat \"requirements-dev.txt\"\n        python -m pip install -r requirements-dev.txt\n        python -m pip list\n        python setup.py develop  # test no compile installation\n      shell: bash\n    - name: Run compiled (${{ runner.os }})\n      run: |\n        python setup.py develop --uninstall\n        BUILD_MONAI=1 python setup.py develop  # compile the cpp extensions\n      shell: bash\n    - name: Run quick tests (CPU ${{ runner.os }})\n      run: |\n        python -c 'import torch; print(torch.__version__); print(torch.rand(5,3))'\n        python -c \"import monai; monai.config.print_config()\"\n        python -m unittest -v\n      env:\n        QUICKTEST: True\n        PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION: python  # https://github.com/Project-MONAI/MONAI/issues/4354\n\n  packaging:\n    runs-on: ubuntu-latest\n    env:\n      QUICKTEST: True\n      shell: bash\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: |\n        echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n    - name: cache for pip\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: |\n          ~/.cache/pip\n          ~/.cache/torch\n        key: ${{ runner.os }}-pip-${{ steps.pip-cache.outputs.datew }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --user --upgrade pip setuptools wheel twine\n        # install the latest pytorch for testing\n        # however, \"pip install monai*.tar.gz\" will build cpp/cuda with an isolated\n        # fresh torch installation according to pyproject.toml\n        python -m pip install torch>=1.9 torchvision\n    - name: Check packages\n      run: |\n        pip uninstall monai\n        pip list | grep -iv monai\n        git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n        set -e\n\n        # build tar.gz and wheel\n        python setup.py check -m -s\n        python setup.py sdist bdist_wheel\n        python -m twine check dist/*\n    - run: echo \"pwd=$PWD\" >> $GITHUB_OUTPUT\n      id: root\n    - run: echo \"tmp_dir=$(mktemp -d)\" >> $GITHUB_OUTPUT\n      id: mktemp\n    - name: Move packages\n      run: |\n        printf ${{ steps.root.outputs.pwd }}\n        printf ${{ steps.mktemp.outputs.tmp_dir }}\n        # move packages to a temp dir\n        cp dist/monai* \"${{ steps.mktemp.outputs.tmp_dir }}\"\n        rm -r build dist monai.egg-info\n        cd \"${{ steps.mktemp.outputs.tmp_dir }}\"\n        ls -al\n    - name: Install wheel file\n      working-directory: ${{ steps.mktemp.outputs.tmp_dir }}\n      run: |\n        # install from wheel\n        python -m pip install monai*.whl\n        python -c 'import monai; monai.config.print_config()' 2>&1 | grep -iv \"unknown\"\n        python -c 'import monai; print(monai.__file__)'\n        python -m pip uninstall -y monai\n        rm monai*.whl\n    - name: Install source archive\n      working-directory: ${{ steps.mktemp.outputs.tmp_dir }}\n      run: |\n        # install from tar.gz\n        name=$(ls *.tar.gz | head -n1)\n        echo $name\n        python -m pip install $name[all]\n        python -c 'import monai; monai.config.print_config()' 2>&1 | grep -iv \"unknown\"\n        python -c 'import monai; print(monai.__file__)'\n    - name: Quick test\n      working-directory: ${{ steps.mktemp.outputs.tmp_dir }}\n      run: |\n        # run min tests\n        cp ${{ steps.root.outputs.pwd }}/requirements*.txt .\n        cp -r ${{ steps.root.outputs.pwd }}/tests .\n        ls -al\n        python -m pip install -r requirements-dev.txt\n        python -m unittest -v\n      env:\n        PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION: python  # https://github.com/Project-MONAI/MONAI/issues/4354\n\n  build-docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: |\n        echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n    - name: cache for pip\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: |\n          ~/.cache/pip\n          ~/.cache/torch\n        key: ${{ runner.os }}-pip-${{ steps.pip-cache.outputs.datew }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel\n        python -m pip install -r docs/requirements.txt\n    - name: Make html\n      run: |\n        cd docs/\n        make clean\n        make html 2>&1 | tee tmp_log\n        if [[ $(grep -c \"ERROR:\" tmp_log) != 0 ]]; then echo \"found errors\"; grep \"ERROR:\" tmp_log; exit 1; fi\n        sed '/WARNING.*pip/d' tmp_log > tmp_log1; mv tmp_log1 tmp_log  # monai#7133\n        if [[ $(grep -c \"WARNING:\" tmp_log) != 0 ]]; then echo \"found warnings\"; grep \"WARNING:\" tmp_log; exit 1; fi\n      shell: bash\n", "state": "active", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:25.334837", "created_at": "2020-03-24T14:52:21+01:00", "updated_at": "2020-05-06T17:27:13+02:00", "name": "deploy", "path": ".github/workflows/setupapp.yml", "contents": "# Jenkinsfile.monai-postmerge\nname: deploy\n\non:\n  # full tests for all the important branches\n  push:\n    branches:\n      - main\n      - releasing/*\n      - feature/*\n      - dev\n\nconcurrency:\n  # automatically cancel the previously triggered workflows when there's a newer version\n  group: deploy-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # caching of these jobs:\n  #   - docker-py3-pip- (shared)\n  #   - ubuntu 37 38 39 310-pip-\n  #   - os-latest-pip (shared)\n  coverage-py3:\n    # if: github.repository == 'Project-MONAI/MONAI'\n    if: ${{ false }}  # disable self-hosted job project-monai/monai#7039\n    container:\n      image: nvcr.io/nvidia/pytorch:22.04-py3\n      options: --gpus all\n    runs-on: [self-hosted, linux, x64, integration]\n    steps:\n    - uses: actions/checkout@v4\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: |\n        echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n    - name: cache for pip\n      if: ${{ startsWith(github.ref, 'refs/heads/dev') }}\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: |\n          ~/.cache/pip\n          ~/.cache/torch\n        key: docker-py3-pip-${{ steps.pip-cache.outputs.datew }}\n    - name: Install the dependencies\n      run: |\n        which python\n        python -m pip install --upgrade pip wheel\n        python -m pip install --upgrade torch torchvision\n        python -m pip install -r requirements-dev.txt\n    - name: Run unit tests report coverage\n      run: |\n        python -m pip list\n        git config --global --add safe.directory /__w/MONAI/MONAI\n        git clean -ffdx\n        df -h\n        # python -m pip cache info\n        nvidia-smi\n        export CUDA_VISIBLE_DEVICES=$(python -m tests.utils | tail -n 1)\n        echo $CUDA_VISIBLE_DEVICES\n        trap 'if pgrep python; then pkill python; fi;' ERR\n        python -c $'import torch\\na,b=torch.zeros(1,device=\"cuda:0\"),torch.zeros(1,device=\"cuda:1\");\\nwhile True:print(a,b)' > /dev/null &\n        python -c \"import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))\"\n        python -c 'import torch; print(torch.rand(5, 3, device=torch.device(\"cuda:0\")))'\n        BUILD_MONAI=1 ./runtests.sh --build --coverage --unittests --disttests  # unit tests with coverage report\n        BUILD_MONAI=1 ./runtests.sh --build --coverage --net  # integration tests with coverage report\n        coverage xml --ignore-errors\n        if pgrep python; then pkill python; fi\n      shell: bash\n    - name: Upload coverage\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: false\n        files: ./coverage.xml\n\n  test-py3x:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10']\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: |\n        echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n    - name: cache for pip\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: |\n          ~/.cache/pip\n          ~/.cache/torch\n        key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ steps.pip-cache.outputs.datew }}\n    - name: Install the dependencies\n      run: |\n        find  /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \\;\n        python -m pip install --upgrade pip wheel\n        python -m pip install -r requirements-dev.txt\n    - name: Run quick tests CPU ubuntu\n      run: |\n        python -m pip list\n        python -c 'import torch; print(torch.__version__); print(torch.rand(5,3))'\n        BUILD_MONAI=0 ./runtests.sh --build --quick --unittests\n        BUILD_MONAI=1 ./runtests.sh --build --quick --min\n        coverage xml --ignore-errors\n    - name: Upload coverage\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: false\n        files: ./coverage.xml\n\n  install:  # pip install from github url, the default branch is dev\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: |\n        echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n    - name: cache for pip\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: |\n          ~/.cache/pip\n          ~/.cache/torch\n        key: ${{ runner.os }}-pip-${{ steps.pip-cache.outputs.datew }}\n    - name: Install the default branch no build (dev branch only)\n      if: github.ref == 'refs/heads/dev'\n      run: |\n        BUILD_MONAI=0 pip install git+https://github.com/Project-MONAI/MONAI#egg=MONAI\n        python -c 'import monai; monai.config.print_config()'\n        cd $(python -c 'import monai; import os; print(os.path.dirname(monai.__file__))')\n        ls .\n        pip uninstall -y monai\n    - name: Install the default branch with build (dev branch only)\n      if: github.ref == 'refs/heads/dev'\n      run: |\n        find  /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \\;\n        BUILD_MONAI=1 pip install git+https://github.com/Project-MONAI/MONAI#egg=MONAI\n        python -c 'import monai; monai.config.print_config()'\n    - name: Get the test cases (dev branch only)\n      if: github.ref == 'refs/heads/dev'\n      uses: actions/checkout@v4\n      with:\n        ref: dev\n    - name: Quick test installed (dev branch only)\n      if: github.ref == 'refs/heads/dev'\n      run: |\n        cd $GITHUB_WORKSPACE\n        rm -rf monai/\n        ls -al .\n        python -m pip install -r requirements-min.txt\n        python -m tests.min_tests\n      env:\n        QUICKTEST: True\n", "state": "active", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:26.370536", "created_at": "2020-03-30T15:25:14+02:00", "updated_at": "2023-03-18T10:38:31+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n# generating and testing package artefacts from the main branch\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - '*'\n\njobs:\n  packaging:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.10', '3.11']\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install setuptools\n      run: |\n        python -m pip install --user --upgrade setuptools wheel\n    - name: Build and test source archive and wheel file\n      run: |\n        find  /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \\;\n        git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n        root_dir=$PWD\n        echo \"$root_dir\"\n        set -e\n\n        # build tar.gz and wheel\n        python setup.py sdist bdist_wheel --build-number $(date +'%Y%m%d%H%M')\n        tmp_dir=$(mktemp -d)\n        cp dist/monai* \"$tmp_dir\"\n        cd \"$tmp_dir\"\n        ls -al\n\n        # install from tar.gz\n        python -m pip install monai*.tar.gz\n        python -c 'import monai; monai.config.print_config()' 2>&1 | grep -iv \"unknown\"\n        python -c 'import monai; print(monai.__file__)'\n        python -m pip uninstall -y monai\n        rm monai*.tar.gz\n\n        # install from wheel\n        python -m pip install monai*.whl\n        python -c 'import monai; monai.config.print_config()' 2>&1 | grep -iv \"unknown\"\n        python -c 'import monai; print(monai.__file__)'\n\n        # clean up\n        cd \"$root_dir\"\n        rm -r \"$tmp_dir\"\n        rm -rf monai/\n        ls -al .\n    - name: Quick test installed\n      run: |\n        python -m pip install -r requirements-min.txt\n        python -m tests.min_tests\n      env:\n        QUICKTEST: True\n\n    - if: matrix.python-version == '3.9' && startsWith(github.ref, 'refs/tags/')\n      name: Upload artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: dist\n        path: dist/\n\n    - if: matrix.python-version == '3.9' && startsWith(github.ref, 'refs/tags/')\n      name: Check artifacts\n      run: |\n        ls -al dist/\n        rm dist/monai*.tar.gz\n        ls -al dist/\n\n    - if: matrix.python-version == '3.9' && startsWith(github.ref, 'refs/tags/')\n      name: Publish to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.TEST_PYPI }}\n        repository-url: https://test.pypi.org/legacy/\n\n  versioning:\n    # compute versioning file from python setup.py\n    # upload as artifact\n    if: github.repository == 'Project-MONAI/MONAI'\n    needs: packaging\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        # full history so that we can git describe\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - shell: bash\n        run: |\n          find  /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \\;\n          git describe\n          python -m pip install --user --upgrade setuptools wheel\n          python setup.py build\n          cat build/lib/monai/_version.py\n      - name: Upload version\n        uses: actions/upload-artifact@v4\n        with:\n          name: _version.py\n          path: build/lib/monai/_version.py\n      - name: Clean up directory\n        shell: bash\n        run: |\n          ls -al\n          rm -rf {*,.[^.]*}\n\n  release_tag_docker:\n    # if: github.repository == 'Project-MONAI/MONAI'\n    if: ${{ false }}\n    needs: versioning\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Download version\n        uses: actions/download-artifact@v4\n        with:\n          name: _version.py\n      - name: Set tag\n        id: versioning\n        run: echo \"tag=${GITHUB_REF#refs/*/}\" >> $GITHUB_OUTPUT\n      - name: Check tag\n        env:\n          RELEASE_VERSION: ${{ steps.versioning.outputs.tag }}\n        run: |\n          echo \"$RELEASE_VERSION\"\n          cat _version.py\n      - if: startsWith(github.ref, 'refs/tags/')\n        name: build with the tag\n        env:\n          RELEASE_VERSION: ${{ steps.versioning.outputs.tag }}\n        shell: bash\n        run: |\n          find  /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \\;\n          # get tag info for versioning\n          mv _version.py monai/\n          # version checks\n          target=\" \\\"version\\\": \\\"$RELEASE_VERSION\\\"\"\n          local=`grep \"\\\"version\\\"\" monai/_version.py`\n          echo \"$target\"\n          echo \"$local\"\n          if [[ \"$local\" == \"$target\" ]]; then\n            echo \"matched version string\"\n          else\n            echo \"unmatched version string, please check the tagging branch.\"\n            exit 1\n          fi\n          # remove flake package as it is not needed on hub.docker.com\n          sed -i '/flake/d' requirements-dev.txt\n          docker build -t projectmonai/monai:\"$RELEASE_VERSION\" -f Dockerfile .\n          # distribute with a tag to hub.docker.com\n          echo \"${{ secrets.DOCKER_PW }}\" | docker login -u projectmonai --password-stdin\n          docker push projectmonai/monai:\"$RELEASE_VERSION\"\n          docker logout\n", "state": "active", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:27.400307", "created_at": "2020-11-16T17:19:12+01:00", "updated_at": "2020-11-16T17:19:12+01:00", "name": "chatops", "path": ".github/workflows/chatops.yml", "contents": "# triggering the workflows by commenting `/black` and `/integration-test`\nname: chatops\n\n# currently dispatches /black command to project-monai/monai-code-formatter\non:\n  issue_comment:\n    types: [created, edited]\njobs:\n  dispatch_command:\n    runs-on: ubuntu-latest\n    steps:\n      - name: dispatch\n        uses: peter-evans/slash-command-dispatch@v4.0.0\n        with:\n          token: ${{ secrets.PR_MAINTAIN }}\n          reaction-token: ${{ secrets.GITHUB_TOKEN }}\n          reactions: false\n          config: >\n            [\n              {\n                \"command\": \"black\",\n                \"permission\": \"none\",\n                \"issue_type\": \"pull-request\",\n                \"allow_edits\": true,\n                \"repository\": \"project-monai/monai-code-formatter\"\n              },\n              {\n                \"command\": \"integration-test\",\n                \"permission\": \"none\",\n                \"issue_type\": \"pull-request\",\n                \"allow_edits\": true\n              }\n            ]\n", "state": "active", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:28.619407", "created_at": "2020-11-16T17:19:12+01:00", "updated_at": "2020-11-16T17:19:12+01:00", "name": "integration", "path": ".github/workflows/integration.yml", "contents": "# manually trigger integration with the latest pytorch\nname: integration\n\non:\n  repository_dispatch:\n    type: [integration-test-command]\n\njobs:\n  integration-auto3dseg:\n    container:\n      image: nvcr.io/nvidia/pytorch:22.04-py3  # CUDA 11.6 py38\n      options: --gpus \"device=1\" --ipc host  # shm-size 4g works fine\n    runs-on: [self-hosted, linux, x64, command]\n    steps:\n    # checkout the pull request branch\n    - uses: actions/checkout@v4\n      with:\n        token: ${{ secrets.PR_MAINTAIN }}\n        repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}\n        ref: ${{ github.event.client_payload.pull_request.head.ref }}\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n    - name: cache for pip\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: |\n          ~/.cache/pip\n          ~/.cache/torch\n        key: docker-py3-pip-${{ steps.pip-cache.outputs.datew }}\n    - name: Install the dependencies\n      run: |\n        pwd && git log -1 && which python\n        python -m pip install --upgrade pip wheel\n        pip uninstall -y monai\n        pip uninstall -y monai\n        pip uninstall -y monai-weekly\n        pip uninstall -y monai-weekly\n        python -m pip install --upgrade torch torchvision torchaudio torchtext\n        python -m pip install -r requirements-dev.txt\n        rm -rf /github/home/.cache/torch/hub/mmars/\n    - name: Clean directory\n      run: |\n        python -m pip list\n        git config --global --add safe.directory /__w/MONAI/MONAI\n        git clean -ffdx && git reset --hard HEAD\n        nvidia-smi\n        export CUDA_VISIBLE_DEVICES=$(python -m tests.utils -c 1 | tail -n 1)\n        echo $CUDA_VISIBLE_DEVICES\n        python -c \"import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))\"\n        python -c 'import torch; print(torch.rand(5,3, device=torch.device(\"cuda:0\")))'\n\n    - name: Auto3dseg tag algo\n      shell: bash\n      env:\n        BUILD_MONAI: 0\n      run: |\n        pwd && git log -1 && which python\n        ./runtests.sh -b\n        export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n        python -m tests.test_auto3dseg_bundlegen\n        python -m tests.test_auto3dseg_ensemble\n        python -m tests.test_auto3dseg_hpo\n        python -m tests.test_integration_autorunner\n        python -m tests.test_integration_gpu_customization\n    - name: Integration tests\n      shell: bash\n      env:\n        BUILD_MONAI: 1\n      run: ./runtests.sh --build --net\n\n    - name: Add reaction\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.PR_MAINTAIN }}\n        repository: ${{ github.event.client_payload.github.payload.repository.full_name }}\n        comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n        reactions: rocket\n\n\n  integration-unit:\n    container:\n      image: nvcr.io/nvidia/pytorch:22.04-py3  # CUDA 11.6 py38\n      options: --gpus \"device=2\" --ipc host  # shm-size 4g works fine\n    runs-on: [self-hosted, linux, x64, command1]\n    steps:\n    # checkout the pull request branch\n    - uses: actions/checkout@v4\n      with:\n        token: ${{ secrets.PR_MAINTAIN }}\n        repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}\n        ref: ${{ github.event.client_payload.pull_request.head.ref }}\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n    - name: cache for pip\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: |\n          ~/.cache/pip\n          ~/.cache/torch\n        key: docker-py3-pip-${{ steps.pip-cache.outputs.datew }}\n    - name: Install the dependencies\n      run: |\n        pwd && git log -1 && which python\n        python -m pip install --upgrade pip wheel\n        pip uninstall -y monai\n        pip uninstall -y monai\n        pip uninstall -y monai-weekly\n        pip uninstall -y monai-weekly\n        python -m pip install --upgrade torch torchvision torchaudio torchtext\n        python -m pip install -r requirements-dev.txt\n        rm -rf /github/home/.cache/torch/hub/mmars/\n    - name: Clean directory\n      run: |\n        python -m pip list\n        git config --global --add safe.directory /__w/MONAI/MONAI\n        git clean -ffdx && git reset --hard HEAD\n        nvidia-smi\n        export CUDA_VISIBLE_DEVICES=$(python -m tests.utils -c 1 | tail -n 1)\n        echo $CUDA_VISIBLE_DEVICES\n        python -c \"import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))\"\n        python -c 'import torch; print(torch.rand(5,3, device=torch.device(\"cuda:0\")))'\n\n    - name: Auto3dseg latest algo\n      shell: bash\n      env:\n        BUILD_MONAI: 0\n      run: |\n        pwd\n        cd ../\n        rm -rf research-contributions\n        rm -rf algorithm_templates\n        git clone --depth 1 --branch main --single-branch https://github.com/Project-MONAI/research-contributions.git\n        ls research-contributions/\n        cp -r research-contributions/auto3dseg/algorithm_templates MONAI/\n        cd research-contributions && git log -1 && cd ../MONAI\n        pwd\n        ls -ll\n        export OMP_NUM_THREADS=4\n        export MKL_NUM_THREADS=4\n        export MONAI_TESTING_ALGO_TEMPLATE=algorithm_templates\n        pwd && git log -1 && which python\n        ./runtests.sh -b\n        export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n        python -m tests.test_auto3dseg_ensemble\n        python -m tests.test_auto3dseg_hpo\n        python -m tests.test_integration_autorunner\n        python -m tests.test_integration_gpu_customization\n\n    - name: Add reaction\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.PR_MAINTAIN }}\n        repository: ${{ github.event.client_payload.github.payload.repository.full_name }}\n        comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n        reactions: +1\n", "state": "active", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:29.704368", "created_at": "2020-11-17T18:28:48+01:00", "updated_at": "2023-01-23T09:51:52+01:00", "name": "weekly-preview", "path": ".github/workflows/weekly-preview.yml", "contents": "name: weekly-preview\n\non:\n  schedule:\n  - cron: \"0 2 * * 0\"  # 02:00 of every Sunday\n\njobs:\n  packaging:\n    if: github.repository == 'Project-MONAI/MONAI'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: dev\n        fetch-depth: 0\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Install setuptools\n      run: |\n        python -m pip install --user --upgrade setuptools wheel\n    - name: Build distribution\n      run: |\n        export HEAD_COMMIT_ID=$(git rev-parse HEAD)\n        sed -i 's/name\\ =\\ monai$/name\\ =\\ monai-weekly/g' setup.cfg\n        echo \"__commit_id__ = \\\"$HEAD_COMMIT_ID\\\"\" >> monai/__init__.py\n        git diff setup.cfg monai/__init__.py\n        git config user.name \"CI Builder\"\n        git config user.email \"monai.contact@gmail.com\"\n        git add setup.cfg monai/__init__.py\n        git commit -m \"Weekly build at $HEAD_COMMIT_ID\"\n        export YEAR_WEEK=$(date +'%y%U')\n        echo \"Year week for tag is ${YEAR_WEEK}\"\n        if ! [[ $YEAR_WEEK =~ ^[0-9]{4}$ ]] ; then echo \"Wrong 'year week' format.  Should be 4 digits.\"; exit 1 ; fi\n        git tag \"1.4.dev${YEAR_WEEK}\"\n        git log -1\n        git tag --list\n        python setup.py sdist bdist_wheel\n\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:30.719143", "created_at": "2021-04-06T20:27:37+02:00", "updated_at": "2023-07-14T09:10:33+02:00", "name": "docker", "path": ".github/workflows/docker.yml", "contents": "# this is the docker image releasing pipeline, pushing to https://hub.docker.com/r/projectmonai/monai\nname: docker\n# versioning: compute a static version file\n# local_docker: use the version file to build docker images\n# docker_test_latest: test the latest internal docker image (has flake)\n# docker_test_dockerhub: test the latest dockerhub release (no flake)\non:\n  # dev only docker deployment and quick tests\n  push:\n    branches:\n      - dev\n  # Allows you to run this workflow manually from the Actions tab\n  # This is to trigger building/testing docker image from dev only.\n  workflow_dispatch:\n\njobs:\n  versioning_dev:\n    # compute versioning file from python setup.py\n    # upload as artifact\n    # if: github.repository == 'Project-MONAI/MONAI'\n    if: ${{ false }}  # disable docker build job  project-monai/monai#7450\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        # full history so that we can git describe\n        with:\n          ref: dev\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - shell: bash\n        run: |\n          git describe\n          python -m pip install -U pip wheel setuptools\n          python setup.py build\n          cat build/lib/monai/_version.py\n      - name: Upload version\n        uses: actions/upload-artifact@v4\n        with:\n          name: _version.py\n          path: build/lib/monai/_version.py\n      - name: Clean up directory\n        shell: bash\n        run: |\n          ls -al\n          rm -rf {*,.[^.]*}\n\n  docker_build_dev:\n    # if: github.repository == 'Project-MONAI/MONAI'\n    if: ${{ false }}  # disable docker build job  project-monai/monai#7450\n    needs: versioning_dev\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: dev\n    - name: Download version\n      uses: actions/download-artifact@v4\n      with:\n        name: _version.py\n    - name: docker_build\n      shell: bash\n      run: |\n        find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \\;\n        docker --version\n        # get tag info for versioning\n        cat _version.py\n        mv _version.py monai/\n\n        # build \"latest\": remove flake package as it is not needed on hub.docker.com\n        sed -i '/flake/d' requirements-dev.txt\n        docker build -t projectmonai/monai:latest -f Dockerfile .\n\n        # distribute as always w/ tag \"latest\" to hub.docker.com\n        echo \"${{ secrets.DOCKER_PW }}\" | docker login -u projectmonai --password-stdin\n\n        docker push projectmonai/monai:latest\n        docker logout\n        docker image prune -f\n\n  docker_test_dockerhub:\n    # if: github.repository == 'Project-MONAI/MONAI'\n    if: ${{ false }}  # disable self-hosted job  project-monai/monai#7039\n    needs: docker_build_dev\n    container:\n      image: docker://projectmonai/monai:latest\n      options: \"--shm-size=4g --ipc=host\"\n    runs-on: [self-hosted, linux, X64, docker]\n    steps:\n    - name: Import\n      run: |\n        export OMP_NUM_THREADS=4 MKL_NUM_THREADS=4 CUDA_VISIBLE_DEVICES=  # cpu-only\n        python -c 'import monai; monai.config.print_debug_info()'\n        cd /opt/monai\n        ls -al\n        ngc --version\n        ./runtests.sh --min\n      shell: bash\n      env:\n        QUICKTEST: True\n", "state": "active", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:31.794627", "created_at": "2021-06-21T23:05:54+02:00", "updated_at": "2021-06-21T23:05:54+02:00", "name": "Blossom-CI", "path": ".github/workflows/blossom-ci.yml", "contents": "# A workflow to trigger ci on hybrid infra (github + self hosted runner)\nname: Blossom-CI\non:\n  issue_comment:\n    types: [created]\n  workflow_dispatch:\n      inputs:\n          platform:\n            description: 'runs-on argument'\n            required: false\n          args:\n            description: 'argument'\n            required: false\n\npermissions:\n  actions: write\n  checks: write\n  contents: write\n  issues: write\n  pull-requests: write\n  repository-projects: write\n  statuses: write\n\njobs:\n  Authorization:\n    name: Authorization\n    runs-on: blossom\n    outputs:\n      args: ${{ env.args }}\n\n    # This job only runs for pull request comments\n    if: |\n      github.event.comment.body == '/build' &&\n      (\n        github.actor == 'Nic-Ma' ||\n        github.actor == 'wyli' ||\n        github.actor == 'pxLi' ||\n        github.actor == 'YanxuanLiu' ||\n        github.actor == 'KumoLiu'\n      )\n    steps:\n      - name: Check if comment is issued by authorized person\n        run: blossom-ci\n        env:\n          OPERATION: 'AUTH'\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }}\n\n  Vulnerability-scan:\n    name: Vulnerability scan\n    needs: [Authorization]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ fromJson(needs.Authorization.outputs.args).repo }}\n          ref: ${{ fromJson(needs.Authorization.outputs.args).ref }}\n          lfs: 'true'\n\n      # repo specific steps\n      #- name: Setup java\n      #  uses: actions/setup-java@v1\n      #  with:\n      #    java-version: '1.8'\n\n      # add blackduck properties https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/631308372/Methods+for+Configuring+Analysis#Using-a-configuration-file\n      #- name: Setup blackduck properties\n      #  run: |\n      #       PROJECTS=$(mvn -am dependency:tree | grep maven-dependency-plugin | awk '{ out=\"com.nvidia:\"$(NF-1);print out }' | grep rapids | xargs | sed -e 's/ /,/g')\n      #       echo detect.maven.build.command=\"-pl=$PROJECTS -am\" >> application.properties\n      #       echo detect.maven.included.scopes=compile >> application.properties\n      - name: Setup blackduck properties\n        run: |\n             echo detect.excluded.detector.types=PIP >> application.properties\n\n      - name: Run blossom action\n        uses: NVIDIA/blossom-action@main\n        env:\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }}\n        with:\n          args1: ${{ fromJson(needs.Authorization.outputs.args).args1 }}\n          args2: ${{ fromJson(needs.Authorization.outputs.args).args2 }}\n          args3: ${{ fromJson(needs.Authorization.outputs.args).args3 }}\n\n  Job-trigger:\n    name: Start ci job\n    needs: [Vulnerability-scan]\n    runs-on: blossom\n    steps:\n      - name: Start ci job\n        run: blossom-ci\n        env:\n          OPERATION: 'START-CI-JOB'\n          CI_SERVER: ${{ secrets.CI_SERVER }}\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  Post-processing:\n    name: Post processing\n    runs-on: blossom\n    if : github.event_name == 'workflow_dispatch'\n    steps:\n      - name: Start post processing\n        run: blossom-ci\n        env:\n          OPERATION: 'POST-PROCESSING'\n          CI_SERVER: ${{ secrets.CI_SERVER }}\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:32.818076", "created_at": "2021-08-26T15:52:15+02:00", "updated_at": "2023-09-25T12:19:58+02:00", "name": "premerge-gpu", "path": ".github/workflows/pythonapp-gpu.yml", "contents": "# Jenkinsfile.monai-premerge\nname: premerge-gpu\n\non:\n  # quick tests for pull requests and the releasing branches\n  push:\n    branches:\n      - main\n      - releasing/*\n  pull_request:\n    types: [opened, synchronize, closed]\n\nconcurrency:\n  # automatically cancel the previously triggered workflows when there's a newer version\n  group: build-gpu-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  GPU-quick-py3:  # GPU with full dependencies\n    # if: ${{ github.repository == 'Project-MONAI/MONAI' && github.event.pull_request.merged != true }}\n    if: ${{ false }}  # disable self-hosted job project-monai/monai#7039\n    strategy:\n      matrix:\n        environment:\n          - \"PT19+CUDA114DOCKER\"\n          - \"PT110+CUDA111\"\n          - \"PT112+CUDA118DOCKER\"\n          - \"PT113+CUDA116\"\n          - \"PT210+CUDA121DOCKER\"\n        include:\n          # https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes\n          - environment: PT110+CUDA111\n            pytorch: \"torch==1.10.2 torchvision==0.11.3 --extra-index-url https://download.pytorch.org/whl/cu111\"\n            base: \"nvcr.io/nvidia/cuda:11.1.1-devel-ubuntu18.04\"\n          - environment: PT112+CUDA118DOCKER\n            # 22.09: 1.13.0a0+d0d6b1f\n            pytorch: \"-h\"  # we explicitly set pytorch to -h to avoid pip install error\n            base: \"nvcr.io/nvidia/pytorch:22.09-py3\"\n          - environment: PT113+CUDA116\n            pytorch: \"torch==1.13.1 torchvision==0.14.1\"\n            base: \"nvcr.io/nvidia/cuda:11.6.1-devel-ubuntu18.04\"\n          - environment: PT210+CUDA121DOCKER\n            # 23.08: 2.1.0a0+29c30b1\n            pytorch: \"-h\"  # we explicitly set pytorch to -h to avoid pip install error\n            base: \"nvcr.io/nvidia/pytorch:23.08-py3\"\n          - environment: PT210+CUDA121DOCKER\n            # 24.03: 2.3.0a0+40ec155e58.nv24.3\n            pytorch: \"-h\"  # we explicitly set pytorch to -h to avoid pip install error\n            base: \"nvcr.io/nvidia/pytorch:24.03-py3\"\n    container:\n      image: ${{ matrix.base }}\n      options: --gpus all --env NVIDIA_DISABLE_REQUIRE=true  # workaround for unsatisfied condition: cuda>=11.6\n    runs-on: [self-hosted, linux, x64, common]\n    steps:\n    - uses: actions/checkout@v4\n    - name: apt install\n      if: github.event.pull_request.merged != true\n      run: |\n        apt-get update\n        apt-get install -y wget\n\n        if [ ${{ matrix.environment }} = \"PT110+CUDA111\" ] || \\\n          [ ${{ matrix.environment }} = \"PT113+CUDA116\" ]\n        then\n        PYVER=3.8 PYSFX=3 DISTUTILS=python3-distutils && \\\n        apt-get update && apt-get install -y --no-install-recommends \\\n          curl \\\n          pkg-config \\\n          python$PYVER \\\n          python$PYVER-dev \\\n          python$PYSFX-pip \\\n          $DISTUTILS \\\n          rsync \\\n          swig \\\n          unzip \\\n          zip \\\n          zlib1g-dev \\\n          libboost-locale-dev \\\n          libboost-program-options-dev \\\n          libboost-system-dev \\\n          libboost-thread-dev \\\n          libboost-test-dev \\\n          libgoogle-glog-dev \\\n          libjsoncpp-dev \\\n          cmake \\\n          git && \\\n        rm -rf /var/lib/apt/lists/* && \\\n        export PYTHONIOENCODING=utf-8 LC_ALL=C.UTF-8 && \\\n        rm -f /usr/bin/python && \\\n        rm -f /usr/bin/python`echo $PYVER | cut -c1-1` && \\\n        ln -s /usr/bin/python$PYVER /usr/bin/python && \\\n        ln -s /usr/bin/python$PYVER /usr/bin/python`echo $PYVER | cut -c1-1` &&\n        curl -O https://bootstrap.pypa.io/get-pip.py && \\\n        python get-pip.py && \\\n        rm get-pip.py;\n        fi\n    - if: matrix.environment == 'PT19+CUDA114DOCKER'\n      name: Optional Cupy dependency (cuda114)\n      run: echo \"cupy-cuda114\" >> requirements-dev.txt\n    - name: Install dependencies\n      if: github.event.pull_request.merged != true\n      run: |\n        which python\n        python -m pip install --upgrade pip wheel\n        # fixes preinstalled ruamel_yaml error from the docker image\n        rm -rf $(python -c \"from distutils.sysconfig import get_python_lib; print(get_python_lib())\")/ruamel*\n        rm -rf $(python -c \"from distutils.sysconfig import get_python_lib; print(get_python_lib())\")/llvmlite*  #6377\n        python -m pip install ${{ matrix.pytorch }}\n        python -m pip install -r requirements-dev.txt\n        python -m pip list\n    - name: Run quick tests (GPU)\n      if: github.event.pull_request.merged != true\n      run: |\n        git clone --depth 1 \\\n          https://github.com/Project-MONAI/MONAI-extra-test-data.git /MONAI-extra-test-data\n        export MONAI_EXTRA_TEST_DATA=\"/MONAI-extra-test-data\"\n        nvidia-smi\n        export LAUNCH_DELAY=$(python -c \"import numpy; print(numpy.random.randint(30) * 10)\")\n        echo \"Sleep $LAUNCH_DELAY\"\n        sleep $LAUNCH_DELAY\n        export CUDA_VISIBLE_DEVICES=$(coverage run -m tests.utils | tail -n 1)\n        echo $CUDA_VISIBLE_DEVICES\n        trap 'if pgrep python; then pkill python; fi;' ERR\n        python -c $'import torch\\na,b=torch.zeros(1,device=\"cuda:0\"),torch.zeros(1,device=\"cuda:1\");\\nwhile True:print(a,b)' > /dev/null &\n        python -c \"import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))\"\n        python -c 'import torch; print(torch.rand(5, 3, device=torch.device(\"cuda:0\")))'\n        python -c \"import monai; monai.config.print_config()\"\n        # build for the current self-hosted CI Tesla V100\n        BUILD_MONAI=1 TORCH_CUDA_ARCH_LIST=\"7.0\" ./runtests.sh --build --disttests\n        ./runtests.sh --quick --unittests\n        if [ ${{ matrix.environment }} = \"PT113+CUDA116\" ]; then\n          # test the clang-format tool downloading once\n          coverage run -m tests.clang_format_utils\n        fi\n        coverage xml --ignore-errors\n        if pgrep python; then pkill python; fi\n      shell: bash\n    - name: Upload coverage\n      if: ${{ github.head_ref != 'dev' && github.event.pull_request.merged != true }}\n      uses: codecov/codecov-action@v4\n      with:\n        files: ./coverage.xml\n", "state": "active", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:34.047797", "created_at": "2021-10-13T21:50:30+02:00", "updated_at": "2022-11-07T17:58:58+01:00", "name": "premerge-min", "path": ".github/workflows/pythonapp-min.yml", "contents": "# Jenkinsfile.monai-premerge\nname: premerge-min\n\non:\n  # quick tests for pull requests and the releasing branches\n  push:\n    branches:\n      - dev\n      - main\n      - releasing/*\n  pull_request:\n    head_ref-ignore:\n      - dev\n\nconcurrency:\n  # automatically cancel the previously triggered workflows when there's a newer version\n  group: build-min-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # caching of these jobs:\n  #   - docker-py3-pip- (shared)\n  #   - ubuntu py37 pip-\n  #   - os-latest-pip- (shared)\n  min-dep-os:  # min dependencies installed tests for different OS\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, macOS-latest, ubuntu-latest]\n    timeout-minutes: 40\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: Prepare pip wheel\n      run: |\n        which python\n        python -m pip install --upgrade pip wheel\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: |\n        echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      shell: bash\n    - name: cache for pip\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ matrix.os }}-latest-pip-${{ steps.pip-cache.outputs.datew }}\n    - name: Install the dependencies\n      run: |\n        # min. requirements\n        python -m pip install torch --index-url https://download.pytorch.org/whl/cpu\n        python -m pip install -r requirements-min.txt\n        python -m pip list\n        BUILD_MONAI=0 python setup.py develop  # no compile of extensions\n      shell: bash\n    - name: Run quick tests (CPU ${{ runner.os }})\n      run: |\n        python -c 'import torch; print(torch.__version__); print(torch.rand(5,3))'\n        python -c \"import monai; monai.config.print_config()\"\n        ./runtests.sh --min\n      shell: bash\n      env:\n        QUICKTEST: True\n\n  min-dep-py3:  # min dependencies installed tests for different python\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n    timeout-minutes: 40\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Prepare pip wheel\n      run: |\n        which python\n        python -m pip install --user --upgrade pip setuptools wheel\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: |\n        echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      shell: bash\n    - name: cache for pip\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ubuntu-latest-latest-pip-${{ steps.pip-cache.outputs.datew }}\n    - name: Install the dependencies\n      run: |\n        # min. requirements\n        python -m pip install torch --extra-index-url https://download.pytorch.org/whl/cpu\n        python -m pip install -r requirements-min.txt\n        python -m pip list\n        BUILD_MONAI=0 python setup.py develop  # no compile of extensions\n      shell: bash\n    - name: Run quick tests (CPU ${{ runner.os }})\n      run: |\n        python -c 'import torch; print(torch.__version__); print(torch.rand(5,3))'\n        python -c \"import monai; monai.config.print_config()\"\n        ./runtests.sh --min\n      env:\n        QUICKTEST: True\n\n  min-dep-pytorch:  # min dependencies installed tests for different pytorch\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        pytorch-version: ['1.9.1', '1.10.2', '1.11.0', '1.12.1', '1.13', 'latest']\n    timeout-minutes: 40\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: Prepare pip wheel\n      run: |\n        which python\n        python -m pip install --user --upgrade pip setuptools wheel\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: |\n        echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      shell: bash\n    - name: cache for pip\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ubuntu-latest-latest-pip-${{ steps.pip-cache.outputs.datew }}\n    - name: Install the dependencies\n      run: |\n        # min. requirements\n        if [ ${{ matrix.pytorch-version }} == \"latest\" ]; then\n          python -m pip install torch\n        else\n          python -m pip install torch==${{ matrix.pytorch-version }}\n        fi\n        python -m pip install -r requirements-min.txt\n        python -m pip list\n        BUILD_MONAI=0 python setup.py develop  # no compile of extensions\n      shell: bash\n    - name: Run quick tests (pytorch ${{ matrix.pytorch-version }})\n      run: |\n        python -c 'import torch; print(torch.__version__); print(torch.rand(5,3))'\n        python -c \"import monai; monai.config.print_config()\"\n        ./runtests.sh --min\n      env:\n        QUICKTEST: True\n", "state": "active", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:35.189443", "created_at": "2022-01-08T12:52:16+01:00", "updated_at": "2022-11-07T17:58:58+01:00", "name": "cron-conda", "path": ".github/workflows/conda.yml", "contents": "# daily tests for different OS with conda\nname: cron-conda\n\non:\n  schedule:\n    - cron: \"0 3 * * *\"  # at 03:00 UTC\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nconcurrency:\n  # automatically cancel the previously triggered workflows when there's a newer version\n  group: conda-tests-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  cron-conda:\n    if: github.repository == 'Project-MONAI/MONAI'\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.9\", \"3.10\"]\n    runs-on: ${{ matrix.os }}\n    env:\n      QUICKTEST: True\n    steps:\n    - if: runner.os == 'windows'\n      name: Config pagefile (Windows only)\n      uses: al-cheb/configure-pagefile-action@v1.4\n      with:\n        minimum-size: 8GB\n        maximum-size: 16GB\n        disk-root: \"D:\"\n    - uses: actions/checkout@v4\n    - uses: conda-incubator/setup-miniconda@v3\n      with:\n        auto-update-conda: true\n        python-version: ${{ matrix.python-version }}\n        auto-activate-base: false\n        environment-file: environment-dev.yml\n        activate-environment: monai\n    - name: Env info (CPU ${{ runner.os }})\n      shell: bash -el {0}\n      run: |\n        conda info\n        conda list\n    - if: runner.os == 'windows'\n      name: Windows only install\n      shell: bash -el {0}\n      run: |\n        conda activate monai\n        # this `cpuonly` and -c conda-forge is needed to reduce the paging file size on a github instance\n        # force to install `cpuonly==2.0.0` is to fix the same issue as:\n        # https://github.com/pytorch/vision/issues/4240\n        conda install pytorch torchvision torchaudio cpuonly==2.0.0 -c pytorch -c conda-forge\n        conda deactivate\n    - name: Test env (CPU ${{ runner.os }})\n      shell: bash -el {0}\n      run: |\n        conda activate monai\n        $(pwd)/runtests.sh --build --unittests\n        conda deactivate\n", "state": "active", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:36.210260", "created_at": "2022-12-17T11:21:17+01:00", "updated_at": "2022-12-17T15:19:28+01:00", "name": "cron-ngc-bundle", "path": ".github/workflows/cron-ngc-bundle.yml", "contents": "# daily tests for ngc bundles\nname: cron-ngc-bundle\n\non:\n  schedule:\n    - cron: \"0 2 * * *\"  # at 02:00 UTC\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nconcurrency:\n  # automatically cancel the previously triggered workflows when there's a newer version\n  group: bundle-tests-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  cron-load:\n    if: github.repository == 'Project-MONAI/MONAI'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: cache weekly timestamp\n      id: pip-cache\n      run: echo \"datew=$(date '+%Y-%V')\" >> $GITHUB_OUTPUT\n    - name: cache for pip\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ steps.pip-cache.outputs.datew }}\n    - name: Install dependencies\n      run: |\n        rm -rf /github/home/.cache/torch/hub/bundle/\n        python -m pip install --upgrade pip wheel\n        python -m pip install -r requirements-dev.txt\n    - name: Loading Bundles\n      run: |\n        # clean up temporary files\n        $(pwd)/runtests.sh --build --clean\n        # run tests\n        python -m tests.ngc_bundle_download\n", "state": "active", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:37.318059", "created_at": "2020-07-03T18:54:57+02:00", "updated_at": "2023-05-20T14:02:27+02:00", "name": "nightly-crons", "path": ".github/workflows/cron.yml", "contents": "# nightly: Jenkinsfile.monai-pytorch-versions, monai-latest-image, monai-pip, monai-latest-docker, monai-notebooks\nname: nightly-crons\n\non:\n  # schedule:\n  #   - cron: \"0 2 * * *\"  # at 02:00 UTC\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  cron-gpu:\n    if: github.repository == 'Project-MONAI/MONAI'\n    strategy:\n      matrix:\n        environment:\n          - \"PT191+CUDA113\"\n          - \"PT110+CUDA113\"\n          - \"PT113+CUDA113\"\n          - \"PTLATEST+CUDA121\"\n        include:\n          # https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes\n          - environment: PT110+CUDA113\n            pytorch: \"torch==1.10.2 torchvision==0.11.3 --extra-index-url https://download.pytorch.org/whl/cu113\"\n            base: \"nvcr.io/nvidia/pytorch:21.06-py3\"  # CUDA 11.3\n          - environment: PT113+CUDA113\n            pytorch: \"torch==1.13.1 torchvision==0.14.1 --extra-index-url https://download.pytorch.org/whl/cu113\"\n            base: \"nvcr.io/nvidia/pytorch:21.06-py3\"  # CUDA 11.3\n          - environment: PT113+CUDA122\n            pytorch: \"torch==1.13.1 torchvision==0.14.1 --extra-index-url https://download.pytorch.org/whl/cu121\"\n            base: \"nvcr.io/nvidia/pytorch:23.08-py3\"  # CUDA 12.2\n          - environment: PTLATEST+CUDA124\n            pytorch: \"-U torch torchvision --extra-index-url https://download.pytorch.org/whl/cu121\"\n            base: \"nvcr.io/nvidia/pytorch:24.03-py3\"  # CUDA 12.4\n    container:\n      image: ${{ matrix.base }}\n      options: \"--gpus all\"\n    runs-on: [self-hosted, linux, x64, common]\n    steps:\n    - uses: actions/checkout@v4\n    - name: apt install\n      run: |\n        apt-get update\n        apt-get install -y wget\n    - name: Install the dependencies\n      run: |\n        which python\n        python -m pip install --upgrade pip wheel\n        python -m pip uninstall -y torch torchvision\n        python -m pip install ${{ matrix.pytorch }}\n        python -m pip install -r requirements-dev.txt\n        python -m pip list\n    - name: Run tests report coverage\n      run: |\n        export LAUNCH_DELAY=$[ $RANDOM % 16 * 60 ]\n        echo \"Sleep $LAUNCH_DELAY\"\n        sleep $LAUNCH_DELAY\n        nvidia-smi\n        export CUDA_VISIBLE_DEVICES=$(python -m tests.utils | tail -n 1)\n        echo $CUDA_VISIBLE_DEVICES\n        trap 'if pgrep python; then pkill python; fi;' ERR\n        python -c $'import torch\\na,b=torch.zeros(1,device=\"cuda:0\"),torch.zeros(1,device=\"cuda:1\");\\nwhile True:print(a,b)' > /dev/null &\n        python -c \"import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))\"\n        python -c 'import torch; print(torch.rand(5, 3, device=torch.device(\"cuda:0\")))'\n        BUILD_MONAI=1 ./runtests.sh --build --coverage --unittests --disttests  # unit tests with coverage report\n        BUILD_MONAI=1 ./runtests.sh --build --coverage --net  # integration tests with coverage report\n        coverage xml --ignore-errors\n        if pgrep python; then pkill python; fi\n      shell: bash\n    - name: Upload coverage\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: false\n        files: ./coverage.xml\n\n  cron-pt-image:\n    if: github.repository == 'Project-MONAI/MONAI'\n    strategy:\n      matrix:\n        container: [\"pytorch:23.08\", \"pytorch:24.03\"]\n    container:\n      image: nvcr.io/nvidia/${{ matrix.container }}-py3  # testing with the latest pytorch base image\n      options: \"--gpus all\"\n    runs-on: [self-hosted, linux, x64, integration]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install APT dependencies\n      run: |\n        apt-get update\n        DEBIAN_FRONTEND=\"noninteractive\" apt-get install -y libopenslide0\n    - name: Install Python dependencies\n      run: |\n        which python\n        python -m pip install --upgrade pip wheel\n        python -m pip install -r requirements-dev.txt\n        python -m pip list\n    - name: Run tests report coverage\n      run: |\n        export LAUNCH_DELAY=$[ $RANDOM % 16 * 60 ]\n        echo \"Sleep $LAUNCH_DELAY\"\n        sleep $LAUNCH_DELAY\n        nvidia-smi\n        export CUDA_VISIBLE_DEVICES=$(python -m tests.utils | tail -n 1)\n        echo $CUDA_VISIBLE_DEVICES\n        trap 'if pgrep python; then pkill python; fi;' ERR\n        python -c $'import torch\\na,b=torch.zeros(1,device=\"cuda:0\"),torch.zeros(1,device=\"cuda:1\");\\nwhile True:print(a,b)' > /dev/null &\n        python -c \"import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))\"\n        python -c 'import torch; print(torch.rand(5, 3, device=torch.device(\"cuda:0\")))'\n        BUILD_MONAI=1 ./runtests.sh --build --coverage --unittests --disttests  # unit tests with coverage report\n        BUILD_MONAI=1 ./runtests.sh --build --coverage --net  # integration tests with coverage report\n        coverage xml --ignore-errors\n        if pgrep python; then pkill python; fi\n      shell: bash\n    - name: Upload coverage\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: false\n        files: ./coverage.xml\n\n  cron-pip:\n    # pip install monai[all] and use it to run unit tests\n    if: github.repository == 'Project-MONAI/MONAI'\n    strategy:\n      matrix:\n        container: [\"pytorch:24.03\"]\n    container:\n      image: nvcr.io/nvidia/${{ matrix.container }}-py3  # testing with the latest pytorch base image\n      options: \"--gpus all\"\n    runs-on: [self-hosted, linux, x64, integration]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install the dependencies\n        run: |\n          which python\n          python -m pip install --upgrade pip wheel twine\n          python -m pip list\n      - name: Run tests report coverage\n        shell: bash\n        run: |\n          pip uninstall monai\n          pip list | grep -iv monai\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n          root_dir=$PWD\n          echo \"$root_dir\"\n          set -e\n\n          # build tar.gz and wheel\n          bash runtests.sh --clean  # clear any existing dev temp files\n          python -m pip uninstall -y torch torchvision\n          python setup.py check -m -s\n          python setup.py sdist bdist_wheel\n          python -m twine check dist/*\n\n          # move packages to a temp dir\n          tmp_dir=$(mktemp -d)\n          cp dist/monai* \"$tmp_dir\"\n          rm -r build dist monai.egg-info\n          cd \"$tmp_dir\"\n          ls -al\n\n          # install from tar.gz\n          name=$(ls *.tar.gz | head -n1)\n          echo $name\n          python -m pip install $name[all]\n          python -c 'import monai; monai.config.print_config()' 2>&1 | grep -iv \"unknown\"\n          python -c 'import monai; print(monai.__file__)'\n\n          # run tests\n          cp $root_dir/requirements*.txt \"$tmp_dir\"\n          cp -r $root_dir/tests \"$tmp_dir\"\n          pwd\n          ls -al\n\n          export LAUNCH_DELAY=$[ $RANDOM % 16 * 60 ]\n          echo \"Sleep $LAUNCH_DELAY\"\n          sleep $LAUNCH_DELAY\n          nvidia-smi\n          export CUDA_VISIBLE_DEVICES=$(python -m tests.utils | tail -n 1)\n          echo $CUDA_VISIBLE_DEVICES\n          trap 'if pgrep python; then pkill python; fi;' ERR\n          python -c $'import torch\\na,b=torch.zeros(1,device=\"cuda:0\"),torch.zeros(1,device=\"cuda:1\");\\nwhile True:print(a,b)' > /dev/null &\n          python -c \"import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))\"\n\n          python -m pip install -r requirements-dev.txt\n          PYTHONPATH=\"$tmp_dir\":$PYTHONPATH BUILD_MONAI=1 python ./tests/runner.py -p 'test_((?!integration).)'  # unit tests\n          if pgrep python; then pkill python; fi\n\n  cron-docker:\n    if: github.repository == 'Project-MONAI/MONAI'\n    container:\n      image: docker://projectmonai/monai:latest  # this might be slow and has the pull count limitations\n      options: \"--gpus all\"\n    runs-on: [self-hosted, linux, x64, integration]\n    steps:\n    - name: Run tests report coverage\n      # The docker image process has done the compilation.\n      # BUILD_MONAI=1 is necessary for triggering the USE_COMPILED flag.\n      run: |\n        cd /opt/monai\n        nvidia-smi\n        export CUDA_VISIBLE_DEVICES=$(python -m tests.utils | tail -n 1)\n        echo $CUDA_VISIBLE_DEVICES\n        trap 'if pgrep python; then pkill python; fi;' ERR\n        python -c $'import torch\\na,b=torch.zeros(1,device=\"cuda:0\"),torch.zeros(1,device=\"cuda:1\");\\nwhile True:print(a,b)' > /dev/null &\n        python -c \"import torch; print(torch.__version__); print('{} of GPUs available'.format(torch.cuda.device_count()))\"\n        python -c 'import torch; print(torch.rand(5,3, device=torch.device(\"cuda:0\")))'\n        ngc --version\n        BUILD_MONAI=1 ./runtests.sh --build --coverage --pytype --unittests --disttests  # unit tests with pytype checks, coverage report\n        BUILD_MONAI=1 ./runtests.sh --build --coverage --net  # integration tests with coverage report\n        coverage xml --ignore-errors\n        if pgrep python; then pkill python; fi\n      shell: bash\n    - name: Upload coverage\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: false\n        files: ./coverage.xml\n\n  cron-tutorial-notebooks:\n    if: github.repository == 'Project-MONAI/MONAI'\n    needs: cron-gpu  # so that monai itself is verified first\n    container:\n      image: nvcr.io/nvidia/pytorch:24.03-py3  # testing with the latest pytorch base image\n      options: \"--gpus all --ipc=host\"\n    runs-on: [self-hosted, linux, x64, integration]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install MONAI\n      id: monai-install\n      run: |\n        which python\n        python -m pip install --upgrade pip wheel\n        python -m pip install -r requirements-dev.txt\n        BUILD_MONAI=1 python setup.py develop  # install monai\n        nvidia-smi\n        export CUDA_VISIBLE_DEVICES=$(python -m tests.utils | tail -n 1)\n        echo $CUDA_VISIBLE_DEVICES\n        echo \"devices=$CUDA_VISIBLE_DEVICES\" >> $GITHUB_OUTPUT\n    - name: Checkout tutorials and install their requirements\n      run: |\n        cd /opt\n        git clone --depth 1 --branch main --single-branch https://github.com/Project-MONAI/tutorials.git  # latest commit of main branch\n        cd tutorials\n        python -m pip install -r requirements.txt\n    - name: Run tutorial notebooks\n      timeout-minutes: 150\n      run: |\n        export CUDA_VISIBLE_DEVICES=${{ steps.monai-install.outputs.devices }}\n        echo $CUDA_VISIBLE_DEVICES\n        trap 'if pgrep python; then pkill python; fi;' ERR\n        python -c $'import torch\\na,b=torch.zeros(1,device=\"cuda:0\"),torch.zeros(1,device=\"cuda:1\");\\nwhile True:print(a,b)' > /dev/null &\n        cd /opt/tutorials\n        python -c 'import monai; monai.config.print_debug_info()'\n        $(pwd)/runner.sh\n        python -c 'import monai; monai.config.print_debug_info()'\n        if pgrep python; then pkill python; fi\n      shell: bash\n", "state": "disabled_manually", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:38.448775", "created_at": "2022-01-04T18:13:06+01:00", "updated_at": "2023-10-19T13:00:22+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ dev, main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ dev ]\n  schedule:\n    - cron: '18 1 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'cpp', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    # - name: Autobuild\n    #   uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    - name: Build\n      run: |\n        rm -rf /opt/hostedtoolcache/{node,go,Ruby,Java*}\n        ls -al /opt/hostedtoolcache\n        rm -rf /usr/share/dotnet/\n        python -m pip install -U pip wheel\n        python -m pip install -r requirements-dev.txt\n        BUILD_MONAI=1 ./runtests.sh --build\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "disabled_manually", "repository": "project-monai/monai"}
{"mined_at": "2024-07-15T14:58:41.569762", "created_at": "2023-08-10T00:06:22+02:00", "updated_at": "2023-08-10T00:06:22+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googlecloudplatform/perfkitbenchmarker"}
{"mined_at": "2024-07-15T14:58:42.615753", "created_at": "2021-12-16T23:17:08+01:00", "updated_at": "2021-12-16T23:17:08+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "googlecloudplatform/perfkitbenchmarker"}
{"mined_at": "2024-07-15T14:58:44.800807", "created_at": "2021-02-08T00:12:15+01:00", "updated_at": "2021-04-30T03:50:30+02:00", "name": "CI Tests", "path": ".github/workflows/ci.yml", "contents": "name: CI Tests\n\non:\n\n  #NOTE: All jobs gated by auth job\n\n  #Regular dev\n  push:\n  pull_request:\n\n  #Enable UI-driven branch testing\n  workflow_dispatch:\n\n  #Test main bidaily @ 1a\n  schedule:\n    - cron: '0 1 1-31/2 * *'\n\njobs:\n\n\n  test-minimal-python:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9, '3.10', 3.11]\n\n    steps:\n\n    - name: Checkout repo\n      uses: actions/checkout@v3\n      with:\n        lfs: true\n\n    - name: Checkout LFS objects\n      run: git lfs pull\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install test dependencies\n      run: |\n        python -m venv pygraphistry\n        source pygraphistry/bin/activate\n        python -m pip install --upgrade pip\n        python -m pip install -e .[test]\n\n    - name: Lint\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/lint.sh\n\n    - name: Type check\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/typecheck.sh\n\n    - name: Minimal tests\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/test-minimal.sh\n\n\n  test-core-python:\n\n    needs: [ test-minimal-python ]\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9, '3.10', 3.11]\n\n    steps:\n\n    - name: Checkout repo\n      uses: actions/checkout@v3\n      with:\n        lfs: true\n\n    - name: Checkout LFS objects\n      run: git lfs pull\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install test dependencies\n      run: |\n        python -m venv pygraphistry\n        source pygraphistry/bin/activate\n        python -m pip install --upgrade pip\n        python -m pip install -e .[docs,test,build,bolt,igraph,networkx,gremlin,nodexl,jupyter]\n\n    - name: Lint\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/lint.sh\n\n    - name: Type check\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/typecheck.sh\n\n    - name: Core tests\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/test.sh\n\n\n  test-core-umap:\n\n    needs: [ test-minimal-python ]\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n\n    steps:\n\n    - name: Checkout repo\n      uses: actions/checkout@v3\n      with:\n        lfs: true\n\n    - name: Checkout LFS objects\n      run: git lfs pull\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install test dependencies\n      run: |\n        python -m venv pygraphistry\n        source pygraphistry/bin/activate\n        python -m pip install --upgrade pip\n        python -m pip install -e .[test,testai,umap-learn]\n\n    - name: Type check\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/typecheck.sh\n\n    - name: Core feature tests (weak featurize)\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/test-features.sh\n\n    - name: Core umap tests (weak featurize)\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/test-umap-learn-core.sh\n\n  test-full-ai:\n\n    needs: [ test-minimal-python ]\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n\n    steps:\n\n    - name: Checkout repo\n      uses: actions/checkout@v3\n      with:\n        lfs: true\n\n    - name: Checkout LFS objects\n      run: git lfs pull\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install test dependencies\n      run: |\n        python -m venv pygraphistry\n        source pygraphistry/bin/activate\n        python -m pip install --upgrade pip\n        python -m pip install -e .[test,testai,ai]\n        echo \"dirty-cat: `pip show dirty-cat | grep Version`\"\n        echo \"pandas: `pip show pandas | grep Version`\"\n        echo \"numpy: `pip show numpy | grep Version`\"\n        echo \"scikit-learn: `pip show scikit-learn | grep Version`\"\n        echo \"scipy: `pip show scipy | grep Version`\"\n        echo \"umap-learn: `pip show umap-learn | grep Version`\"\n\n    - name: Type check\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/typecheck.sh\n\n    - name: Full dbscan tests (rich featurize)\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/test-dbscan.sh\n        \n    - name: Full feature tests (rich featurize)\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/test-features.sh\n\n    - name: Full search tests (rich featurize)\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/test-text.sh\n\n    - name: Full umap tests (rich featurize)\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/test-umap-learn-core.sh\n\n    - name: Full embed tests (rich featurize)\n      run: |\n        source pygraphistry/bin/activate\n        ./bin/test-embed.sh\n\n\n  test-neo4j:\n\n    needs: [ test-minimal-python ]\n    runs-on: ubuntu-latest\n    env:\n      COMPOSE_DOCKER_CLI_BUILD: 1\n      DOCKER_BUILDKIT: 1\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        lfs: true\n\n    - name: Checkout LFS objects\n      run: git lfs pull\n\n    - name: Neo4j connector tests\n      run: |\n        cd docker && WITH_SUDO=\" \" ./test-cpu-local-neo4j-only.sh\n\n\n  test-build:\n\n    needs: [ test-minimal-python ]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        lfs: true\n\n    - name: Checkout LFS objects\n      run: git lfs pull\n\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.7\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -e .[build]\n\n    - name: Test building\n      run: |\n        ./bin/build.sh\n\n  \n  test-docs:\n\n    needs: [ test-minimal-python ]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Test building docs\n      run: |\n        cd docs && ./docker.sh\n\n  \n  test-readme:\n\n    needs: [ test-minimal-python ]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.7\n\n    - name: Test building docs\n      continue-on-error: true\n      run: |\n        docker run --rm -v \"$(pwd)/README.md:/workdir/README.md:ro\" -v \"$(pwd)/.markdownlint.yaml:/workdir/.markdownlint.yaml:ro\" ghcr.io/igorshubovych/markdownlint-cli:v0.37.0 README.md\n\n  \n", "state": "active", "repository": "graphistry/pygraphistry"}
{"mined_at": "2024-07-15T14:58:45.822412", "created_at": "2021-12-09T02:31:40+01:00", "updated_at": "2021-12-09T02:31:40+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '33 20 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        lfs: true\n\n    - name: Checkout LFS objects\n      run: git lfs pull\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "graphistry/pygraphistry"}
{"mined_at": "2024-07-15T14:58:46.849492", "created_at": "2021-02-08T05:37:08+01:00", "updated_at": "2023-05-04T02:23:12+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI and TestPyPI", "path": ".github/workflows/publish-pypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n\non:\n  push:\n    tags:\n      - '*'\n  workflow_dispatch:\n\n  #TODO: Gate last step on release create? Unclear how to do the step's `if`\n  #release:\n  #  types: [created]\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:  # fetch tag for versioneer\n          fetch-depth: 0\n\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n\n      - name: Install pypa/build\n        run: >-\n          python -m pip install -e .[build]\n\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          ./bin/build.sh\n\n      - name: Publish distribution 📦 to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_TEST }}\n          repository_url: https://test.pypi.org/legacy/\n\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYGGRAPHISTRY_PYPI }}", "state": "active", "repository": "graphistry/pygraphistry"}
{"mined_at": "2024-07-15T14:58:48.997033", "created_at": "2024-03-13T20:04:24+01:00", "updated_at": "2024-04-05T01:04:34+02:00", "name": "CI Health", "path": ".github/workflows/codebuild-ci-health.yml", "contents": "name: CI Health\non:\n  schedule:\n    - cron: \"0 */3 * * *\"\n  workflow_dispatch:\n    \npermissions:\n    id-token: write # This is required for requesting the JWT\n\njobs:\n  codestyle-doc-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}\n          aws-region: us-west-2\n          role-duration-seconds: 10800\n      - name: Run Codestyle & Doc Tests\n        uses: aws-actions/aws-codebuild-run-build@v1\n        with:\n          project-name: sagemaker-python-sdk-ci-health-codestyle-doc-tests\n  unit-tests:\n    runs-on: ubuntu-latest\n    strategy:\n        fail-fast: false\n        matrix:\n          python-version: [\"py38\", \"py39\", \"py310\", \"py311\"]\n    steps:\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}\n          aws-region: us-west-2\n          role-duration-seconds: 10800\n      - name: Run Unit Tests\n        uses: aws-actions/aws-codebuild-run-build@v1\n        with:\n          project-name: sagemaker-python-sdk-ci-health-unit-tests\n          env-vars-for-codebuild: |\n            PY_VERSION\n        env:\n          PY_VERSION: ${{ matrix.python-version }}\n  integ-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}\n          aws-region: us-west-2\n          role-duration-seconds: 10800\n      - name: Run Integ Tests\n        uses: aws-actions/aws-codebuild-run-build@v1\n        id: codebuild\n        with:\n          project-name: sagemaker-python-sdk-ci-health-integ-tests\n  slow-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}\n          aws-region: us-west-2\n          role-duration-seconds: 10800\n      - name: Run Slow Tests\n        uses: aws-actions/aws-codebuild-run-build@v1\n        with:\n          project-name: sagemaker-python-sdk-ci-health-slow-tests\n  localmode-tests:\n      runs-on: ubuntu-latest\n      steps:\n        - name: Configure AWS Credentials\n          uses: aws-actions/configure-aws-credentials@v4\n          with:\n            role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}\n            aws-region: us-west-2\n            role-duration-seconds: 10800\n        - name: Run Local Mode Tests\n          uses: aws-actions/aws-codebuild-run-build@v1\n          with:\n            project-name: sagemaker-python-sdk-ci-health-localmode-tests", "state": "active", "repository": "aws/sagemaker-python-sdk"}
{"mined_at": "2024-07-15T14:58:50.225684", "created_at": "2024-03-08T20:50:37+01:00", "updated_at": "2024-04-09T23:28:19+02:00", "name": "PR Checks", "path": ".github/workflows/codebuild-ci.yml", "contents": "name: PR Checks\non:\n    pull_request_target:\n        branches:\n            - \"master*\"\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref }}\n    cancel-in-progress: true\n\npermissions:\n    id-token: write # This is required for requesting the JWT\n\njobs:\n  collab-check:\n    runs-on: ubuntu-latest\n    outputs: \n      approval-env: ${{ steps.collab-check.outputs.result }}\n    steps:\n      - name: Collaborator Check\n        uses: actions/github-script@v7\n        id: collab-check\n        with:\n          github-token: ${{ secrets.COLLAB_CHECK_TOKEN }}\n          result-encoding: string\n          script: | \n            try {\n              const res = await github.rest.repos.checkCollaborator({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                username: \"${{ github.event.pull_request.user.login }}\",\n              });\n              console.log(\"Verifed ${{ github.event.pull_request.user.login }} is a repo collaborator. Auto Approving PR Checks.\")\n              return res.status == \"204\" ? \"auto-approve\" : \"manual-approval\"\n            } catch (error) {\n              console.log(\"${{ github.event.pull_request.user.login }} is not a collaborator. Requiring Manual Approval to run PR Checks.\")\n              return \"manual-approval\"\n            }\n  wait-for-approval:\n    runs-on: ubuntu-latest\n    needs: [collab-check]\n    environment: ${{ needs.collab-check.outputs.approval-env }}\n    steps:\n      - run: echo \"Workflow Approved! Starting PR Checks.\"\n  codestyle-doc-tests:\n    runs-on: ubuntu-latest\n    needs: [wait-for-approval]\n    steps: \n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}\n          aws-region: us-west-2\n          role-duration-seconds: 10800\n      - name: Run Codestyle & Doc Tests\n        uses: aws-actions/aws-codebuild-run-build@v1\n        with:\n          project-name: ${{ github.event.repository.name }}-ci-codestyle-doc-tests\n          source-version-override: 'refs/pull/${{ github.event.pull_request.number }}/head^{${{ github.event.pull_request.head.sha }}}'\n  unit-tests:\n    runs-on: ubuntu-latest\n    needs: [wait-for-approval]\n    strategy:\n        fail-fast: false\n        matrix:\n          python-version: [\"py38\",\"py39\",\"py310\",\"py311\"]\n    steps:\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}\n          aws-region: us-west-2\n          role-duration-seconds: 10800\n      - name: Run Unit Tests\n        uses: aws-actions/aws-codebuild-run-build@v1\n        with:\n          project-name: ${{ github.event.repository.name }}-ci-unit-tests\n          source-version-override: 'refs/pull/${{ github.event.pull_request.number }}/head^{${{ github.event.pull_request.head.sha }}}'\n          env-vars-for-codebuild: |\n            PY_VERSION\n        env:\n          PY_VERSION: ${{ matrix.python-version }}\n  integ-tests:\n    runs-on: ubuntu-latest\n    needs: [wait-for-approval]\n    steps: \n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}\n          aws-region: us-west-2\n          role-duration-seconds: 10800\n      - name: Run Integ Tests\n        uses: aws-actions/aws-codebuild-run-build@v1\n        with:\n          project-name: ${{ github.event.repository.name }}-ci-integ-tests\n          source-version-override: 'refs/pull/${{ github.event.pull_request.number }}/head^{${{ github.event.pull_request.head.sha }}}'\n", "state": "active", "repository": "aws/sagemaker-python-sdk"}
{"mined_at": "2024-07-15T14:58:52.364266", "created_at": "2020-02-13T17:27:13+01:00", "updated_at": "2020-02-13T17:27:13+01:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "name: Backport\non:\n  pull_request:\n    types:\n      - closed\n      - labeled\n\npermissions: {}\n\njobs:\n  backport:\n    runs-on: ubuntu-20.04\n    name: Backport\n    permissions: \n      contents: write\n    steps:\n      - name: Backport Bot\n        if: github.event.pull_request.merged && ( ( github.event.action == 'closed' && contains( join( github.event.pull_request.labels.*.name ), 'backport') ) || contains( github.event.label.name, 'backport' ) )\n        uses: Gaurav0/backport@d69fd1d2469762a7b4007f671857e4f94deed0af # Version 1.0.24\n        with:\n          bot_username: bot-of-gabrieldemarmiesse\n          bot_token: 1353d990cdb8b8ceb1b73d301dce83cc0da3db29\n          bot_token_key: a1b2c3d47311f8e29e204f85a81b4df4a44e252c\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "tensorflow/addons"}
{"mined_at": "2024-07-15T14:58:53.493364", "created_at": "2019-12-21T16:34:14+01:00", "updated_at": "2019-12-21T16:34:14+01:00", "name": "GitHub CI", "path": ".github/workflows/ci_test.yml", "contents": "name: GitHub CI\n\non:\n  push:\n    branches:\n      - master\n      - r*\n  pull_request:\n    branches:\n      - master\n      - r*\n\npermissions:\n  contents: read\n\njobs:\n  flake8-test:\n    name: Flake8\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run flake8\n        run: bash tools/run_build.sh flake8-test\n  black-test:\n    name: Black Python code format\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Ensure contributor used (\"black ./\") before commit\n        run: bash tools/run_build.sh black-test\n  source_code_test:\n    name: Check that the source code is compliant\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run type check\n        run: bash tools/run_build.sh source_code_test\n  valid_build_files:\n    name: Valid build files\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run type check\n        run: bash tools/run_build.sh valid_build_files\n  clang-format:\n    name: Clang C++ code format\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run type check\n        run: bash tools/run_build.sh clang-format\n  check-bazel-format:\n    name: Bazel code format\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run type check\n        run: bash tools/run_build.sh check-bazel-format\n  pre-commit:\n    name: Check that the pre-commit works\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Checking the pre-commit\n        run: bash tools/pre-commit.sh\n  docs_tests:\n    name: Check that we can build the docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Building the docs\n        run: bash tools/run_build.sh docs_tests\n  test_python_code_only:\n    name: Fast build to run python-only tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n      - uses: actions/checkout@v2\n      - run: pip install --default-timeout=1000 -r tools/install_deps/tensorflow-cpu.txt -r tools/install_deps/pytest.txt\n      - run: pip install -e ./\n      - run: pytest -v -n auto --skip-custom-ops ./tensorflow_addons\n  test_cpu_in_small_docker_image:\n    name: Run the cpu tests in a small python docker image\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - run: bash tools/run_cpu_tests.sh\n  nbfmt:\n    name: Notebook format\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/setup-python@v1\n    - uses: actions/checkout@v2\n    - name: Install tensorflow-docs\n      run: python3 -m pip install -U git+https://github.com/tensorflow/docs\n    - name: Check notebook formatting\n      run: |\n        # Run on all notebooks to prevent upstream change.\n        echo \"Check formatting with nbfmt:\"\n        python3 -m tensorflow_docs.tools.nbfmt --test \\\n            $(find docs/tutorials/ -type f -name *.ipynb)\n  nblint:\n    name: Notebook lint\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/setup-python@v1\n    - uses: actions/checkout@v2\n    - name: Install tensorflow-docs\n      run: python3 -m pip install -U git+https://github.com/tensorflow/docs\n    - name: Lint notebooks\n      run: |\n        # Run on all notebooks to prevent upstream change.\n        echo \"Lint check with nblint:\"\n        python3 -m tensorflow_docs.tools.nblint \\\n            --arg=repo:tensorflow/addons \\\n            $(find docs/tutorials/ -type f -name *.ipynb ! -path \"docs/tutorials/_template.ipynb\")\n", "state": "active", "repository": "tensorflow/addons"}
{"mined_at": "2024-07-15T14:58:54.628432", "created_at": "2020-02-27T17:39:20+01:00", "updated_at": "2020-02-27T17:49:41+01:00", "name": "Notify codeowners", "path": ".github/workflows/notify_codeowners.yml", "contents": "name: Notify codeowners\n\non:\n  pull_request_target:\n    types: [opened]\n\n\npermissions:\n  contents: read\n\njobs:\n  notify-codeowners:\n    name: Notify codeowners\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n      - run: pip install pygithub click\n      - name: Drop a message for codeowners\n        env:\n          PR: ${{ steps.findPr.outputs.pr }}\n          BOT_TOKEN: ${{ secrets.BOT_TOKEN }}\n        run: |\n          python .github/workflows/notify_codeowners.py \\\n              --pull-request-id=auto \\\n              --no-dry-run\n", "state": "active", "repository": "tensorflow/addons"}
{"mined_at": "2024-07-15T14:58:55.633836", "created_at": "2020-04-13T05:14:23+02:00", "updated_at": "2020-04-13T05:14:23+02:00", "name": "release-drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: release-drafter\n\non:\n  push:\n    branches:\n      - master\n      - r*\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write  # for release-drafter/release-drafter to create a github release\n      pull-requests: write  # for release-drafter/release-drafter to add label to PR\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@74e7c423dafbb406c9c18b1638334f67a7c891c3 # Version 5.7.0\n        with:\n          config-name: release-template.yml\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "tensorflow/addons"}
{"mined_at": "2024-07-15T14:58:56.681467", "created_at": "2020-02-07T12:22:53+01:00", "updated_at": "2023-10-14T18:43:38+02:00", "name": "addons-release", "path": ".github/workflows/release.yml", "contents": "name: addons-release\n\non:\n  release:\n    types: [published]\n    tags:\n      - v*\n  push:\n    branches:\n      - master\n      - r*\n  pull_request:\n    branches:\n      - master\n      - r*\n\npermissions:\n  contents: read\n\nenv:\n  MIN_PY_VERSION: '3.9'\n  MAX_PY_VERSION: '3.11'\n\njobs:\n  test-with-bazel:\n    name: Test with bazel\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ env.MIN_PY_VERSION }}\n      - name: Build wheels\n        run: |\n          pip install --default-timeout=1000 -r tools/install_deps/pytest.txt -r tools/install_deps/tensorflow-cpu.txt -r requirements.txt\n          bash tools/install_deps/install_bazelisk.sh ./\n          python configure.py\n          bazel test -k --test_timeout 300,450,1200,3600 --test_output=errors //tensorflow_addons/...\n  release-wheel:\n    name: Test and build release wheels\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # To switch on windows-2022/latest, please verify the bazel version:\n        # https://github.com/bazelbuild/bazel/issues/14232#issuecomment-1011247429\n        os: ['macos-12', 'ubuntu-20.04']\n        # Removing windows builds due to broken upstream package https://github.com/tensorflow/tensorflow/issues/61830\n        # os: ['macos-12', 'windows-2019', 'ubuntu-20.04']\n        py-version: ['3.9', '3.10', '3.11']\n        tf-version: ['2.13.1', '2.14.0', '2.15.0']\n        cpu: ['x86']\n        include:\n          - os: 'macos-12'\n            cpu: 'arm64'\n            tf-version: '2.15.0'\n            py-version: '3.9'\n          - os: 'macos-12'\n            cpu: 'arm64'\n            tf-version: '2.15.0'\n            py-version: '3.10'\n          - os: 'macos-12'\n            cpu: 'arm64'\n            tf-version: '2.15.0'\n            py-version: '3.11'\n      fail-fast: false\n    steps:\n      - uses: actions/github-script@0.3.0\n        id: author-date\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const commit_details = await github.git.getCommit({owner: context.repo.owner, repo: context.repo.repo, commit_sha: context.sha});\n            return commit_details.data.author.date\n      - if: matrix.tf-version != '2.15.0'\n        shell: bash\n        run: echo \"SKIP_CUSTOM_OP_TESTS=--skip-custom-ops\" >> $GITHUB_ENV\n      - if: github.event_name == 'push'\n        shell: bash\n        run: echo \"NIGHTLY_FLAG=--nightly\" >> $GITHUB_ENV\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.py-version }}\n      - if: matrix.os != 'ubuntu-20.04'\n        name: Setup Bazel\n        # Ubuntu bazel is run inside of the docker image\n        run: bash tools/install_deps/install_bazelisk.sh ./\n      - name: Build wheels\n        env:\n          OS: ${{ runner.os }}\n          PY_VERSION: ${{ matrix.py-version }}\n          TF_VERSION: ${{ matrix.tf-version }}\n          NIGHTLY_TIME: ${{ steps.author-date.outputs.result }}\n          CPU: ${{ matrix.cpu }}\n        shell: bash\n        run: bash .github/workflows/make_wheel_${OS}_${CPU}.sh\n      - uses: actions/upload-artifact@v1\n        with:\n          name: ${{ runner.os }}-${{ matrix.py-version }}-tf${{ matrix.tf-version }}-${{ matrix.cpu }}-wheel\n          path: wheelhouse\n  upload-wheels:\n    name: Publish wheels to PyPi\n    needs: [release-wheel, test-with-bazel]\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        os: ['macOS', 'Linux']\n        # Removing windows builds due to broken upstream package https://github.com/tensorflow/tensorflow/issues/61830\n        # os: ['macOS', 'Windows', 'Linux']\n        py-version: ['3.9', '3.10', '3.11']\n        tf-version: ['2.15.0']\n        cpu: ['x86']\n        include:\n          - os: 'macOS'\n            cpu: 'arm64'\n            tf-version: '2.15.0'\n            py-version: '3.9'\n          - os: 'macOS'\n            cpu: 'arm64'\n            tf-version: '2.15.0'\n            py-version: '3.10'\n          - os: 'macOS'\n            cpu: 'arm64'\n            tf-version: '2.15.0'\n            py-version: '3.11'\n      fail-fast: false\n    if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'release'\n    steps:\n      - uses: actions/download-artifact@v1\n        with:\n          name: ${{ matrix.os }}-${{ matrix.py-version }}-tf${{ matrix.tf-version }}-${{ matrix.cpu }}-wheel\n          path: ./dist\n      - run: |\n          set -e -x\n          ls -la dist/\n          sha256sum dist/*.whl\n      - uses: pypa/gh-action-pypi-publish@v1.1.0\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_token }}\n  upload-dev-container:\n    name: Upload dev container to DockerHub\n    needs: [release-wheel, test-with-bazel]\n    runs-on: ubuntu-20.04\n    env:\n      PY_VERSION: '3.9'\n    if: (github.event_name == 'push' && github.ref == 'refs/heads/master')\n    steps:\n      - uses: actions/checkout@v2\n      - run: |\n          set -e -x\n          echo ${{ secrets.DOCKER_PW }} | docker login --username ${{ secrets.DOCKER_USER }} --password-stdin\n          bash .github/workflows/github_build_dev_container.sh\n          docker push tfaddons/dev_container:latest-gpu\n", "state": "active", "repository": "tensorflow/addons"}
{"mined_at": "2024-07-15T14:58:57.752473", "created_at": "2021-12-30T00:10:36+01:00", "updated_at": "2021-12-30T00:10:36+01:00", "name": "Validate codeowners", "path": ".github/workflows/validate_codeowners.yml", "contents": "name: Validate codeowners\r\n\r\non:\r\n  push:\r\n    branches:\r\n      - master\r\n      - r*\r\n\r\n#  pull_request_target:\r\n#    branches:\r\n#      - master\r\n#      - r*\r\n# Enable pull_request_target when notify_codeowners.py can validate the codeowners file\r\n# of the commit that triggered the workflow, not the commit the workflow is runnng on.\r\n# Otherwise, it's useless, it just check the codeowners file from the latest commit in master\r\n\r\n\r\npermissions:\n  contents: read\n\njobs:\r\n  validate-codeowners:\r\n    name: Check that the CODEOWNERS is valid\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/checkout@v2\r\n      - uses: actions/setup-python@v1\r\n        with:\r\n          python-version: 3.9\r\n      - run: pip install pygithub click\r\n      - name: Check that the CODEOWNERS is valid\r\n        env:\r\n          BOT_TOKEN: ${{ secrets.BOT_TOKEN }}\r\n        run: python .github/workflows/notify_codeowners.py", "state": "active", "repository": "tensorflow/addons"}
{"mined_at": "2024-07-15T14:58:58.828171", "created_at": "2023-08-10T00:23:25+02:00", "updated_at": "2023-08-10T00:23:25+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tensorflow/addons"}
{"mined_at": "2024-07-15T14:59:01.079667", "created_at": "2020-09-16T15:51:05+02:00", "updated_at": "2021-03-18T19:25:21+01:00", "name": "Linting", "path": ".github/workflows/ci-pre-commit.yml", "contents": "name: Linting\n\non:\n  push:\n    branches: main\n  pull_request:\n    branches: main\n\njobs:\n  checks:\n    name: pre-commit hooks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.3\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:02.172999", "created_at": "2021-02-16T15:30:01+01:00", "updated_at": "2021-12-07T22:54:29+01:00", "name": ".github/workflows/ssh_debug.yaml", "path": ".github/workflows/ssh_debug.yaml", "contents": null, "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:03.176082", "created_at": "2021-02-22T16:39:11+01:00", "updated_at": "2022-08-09T00:00:06+02:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 6,18 * * *\"\n  workflow_dispatch:\n\n# When this workflow is queued, automatically cancel any previous running\n# or pending jobs from the same branch\nconcurrency:\n  group: tests-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    # Do not run the schedule job on forks\n    if: github.repository == 'dask/distributed' || github.event_name != 'schedule'\n    runs-on: ${{ matrix.os }}\n    # If you change the pattern of this name, please adjust the scripts/test_report.py parsing accordingly\n    name: ${{ matrix.os }}-${{ matrix.environment }}-${{ matrix.label }}-${{ matrix.partition }}\n    timeout-minutes: 120\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        environment: [mindeps, \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        label: [default]\n        extra_packages: [null]\n        # Cherry-pick test modules to split the overall runtime roughly in half\n        partition: [ci1, not ci1]\n\n        exclude:\n          # MacOS CI does not have any hosts available; run it on 3.12 only\n          - os: macos-latest\n            environment: mindeps\n          - os: macos-latest\n            environment: \"3.9\"\n          - os: macos-latest\n            environment: \"3.10\"\n          - os: macos-latest\n            environment: \"3.11\"\n\n          - os: windows-latest\n            environment: mindeps\n\n        include:\n          # Set distributed.scheduler.worker-saturation: .inf\n          - os: ubuntu-latest\n            environment: \"3.9\"\n            label: no_queue\n            partition: \"ci1\"\n          - os: ubuntu-latest\n            environment: \"3.9\"\n            label: no_queue\n            partition: \"not ci1\"\n\n          # Set dataframe.query-planning: false\n          - os: ubuntu-latest\n            environment: \"3.9\"\n            label: no_expr\n            partition: \"ci1\"\n          - os: ubuntu-latest\n            environment: \"3.9\"\n            label: no_expr\n            partition: \"not ci1\"\n\n          # dask.array P2P shuffle\n          - os: ubuntu-latest\n            environment: mindeps\n            label: numpy\n            extra_packages: [numpy=1.21]\n            partition: \"ci1\"\n          - os: ubuntu-latest\n            environment: mindeps\n            label: numpy\n            extra_packages: [numpy=1.21]\n            partition: \"not ci1\"\n\n          # dask.dataframe P2P shuffle\n          - os: ubuntu-latest\n            environment: mindeps\n            label: pandas\n            extra_packages: [numpy=1.21, pandas=1.3, pyarrow=7, pyarrow-hotfix]\n            partition: \"ci1\"\n          - os: ubuntu-latest\n            environment: mindeps\n            label: pandas\n            extra_packages: [numpy=1.21, pandas=1.3, pyarrow=7, pyarrow-hotfix]\n            partition: \"not ci1\"\n\n          - os: ubuntu-latest\n            environment: mindeps\n            label: memray\n            extra_packages: [memray]\n            partition: \"extra_packages\"\n\n        # Uncomment to stress-test the test suite for random failures.\n        # Must also change `export TEST_ID` in first step below.\n        # This will take a LONG time and delay all PRs across the whole github.com/dask!\n        # To avoid hamstringing other people, change 'on: [push, pull_request]' above\n        # to just 'on: [push]'; this way the stress test will run exclusively in your\n        # branch (https://github.com/<your name>/distributed/actions).\n        # run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\n\n    env:\n      CONDA_FILE: continuous_integration/environment-${{ matrix.environment }}.yaml\n\n    steps:\n      - name: Set $TEST_ID\n        run: |\n          export PARTITION_LABEL=$( echo \"${{ matrix.partition }}\" | sed \"s/ //\" )\n          export TEST_ID=\"${{ matrix.os }}-${{ matrix.environment }}-${{ matrix.label }}-$PARTITION_LABEL\"\n          # Switch to this version for stress-test:\n          # export TEST_ID=\"$TEST_ID-${{ matrix.run }}\"\n          echo \"TEST_ID: $TEST_ID\"\n          echo \"TEST_ID=$TEST_ID\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Checkout source\n        uses: actions/checkout@v4.1.3\n        with:\n          fetch-depth: 0\n\n      - name: Setup Conda Environment\n        uses: conda-incubator/setup-miniconda@v3.0.3\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          condarc-file: continuous_integration/condarc\n          use-mamba: true\n          activate-environment: dask-distributed\n\n      - name: Show conda options\n        shell: bash -l {0}\n        run: conda config --show\n\n      - name: Check if caching is enabled\n        uses: xarray-contrib/ci-trigger@v1.2\n        id: skip-caching\n        with:\n          keyword: \"[skip-caching]\"\n\n      - name: Get Date\n        if: |\n          (\n            steps.skip-caching.outputs.trigger-found != 'true'\n            && !(github.event_name == 'pull_request'\n                 && contains(github.event.pull_request.labels.*.name, 'skip-caching'))\n          )\n        id: get-date\n        run: echo \"::set-output name=today::$(/bin/date -u '+%Y%m%d')\"\n        shell: bash\n\n      - name: Cache Conda env\n        if: steps.skip-caching.outputs.trigger-found != 'true'\n        uses: actions/cache@v4\n        with:\n          path: ${{ env.CONDA }}/envs\n          key: conda-${{ matrix.os }}-${{ steps.get-date.outputs.today }}-${{ hashFiles(env.CONDA_FILE) }}-${{ env.CACHE_NUMBER }}\n        env:\n          # Increase this value to reset cache if\n          # continuous_integration/environment-${{ matrix.environment }}.yaml has not\n          # changed. See also same variable in .pre-commit-config.yaml\n          CACHE_NUMBER: 2\n        id: cache\n\n      - name: Update environment\n        run: mamba env update -n dask-distributed -f ${{ env.CONDA_FILE }}\n        if: |\n          (\n            steps.skip-caching.outputs.trigger-found == 'true'\n            || (github.event_name == 'pull_request'\n                && contains(github.event.pull_request.labels.*.name, 'skip-caching'))\n            || steps.cache.outputs.cache-hit != 'true'\n          )\n\n      - name: Install\n        shell: bash -l {0}\n        run: |\n          python -m pip install --no-deps -e .\n\n      - name: Extra Installs\n        if: ${{ matrix.extra_packages }}\n        shell: bash -l {0}\n        run: mamba install -y ${{ join(matrix.extra_packages, ' ') }}\n\n      - name: mamba list\n        shell: bash -l {0}\n        run: mamba list\n\n      - name: mamba env export\n        shell: bash -l {0}\n        run: |\n          echo -e \"--\\n--Conda Environment (re-create this with \\`mamba env create --name <name> -f <output_file>\\`)\\n--\"\n          mamba env export | grep -E -v '^prefix:.*$'\n\n      - name: Setup SSH\n        shell: bash -l {0}\n        # FIXME no SSH available on Windows\n        # https://github.com/dask/distributed/issues/4509\n        if: ${{ matrix.os != 'windows-latest' }}\n        run: bash continuous_integration/scripts/setup_ssh.sh\n\n      - name: Reconfigure pytest-timeout\n        shell: bash -l {0}\n        # No SIGALRM available on Windows\n        if: ${{ matrix.os != 'windows-latest' }}\n        run: sed -i.bak 's/timeout_method = \"thread\"/timeout_method = \"signal\"/' pyproject.toml\n\n      - name: Disable IPv6\n        shell: bash -l {0}\n        # FIXME ipv6-related failures on Ubuntu and MacOS github actions CI\n        # https://github.com/dask/distributed/issues/4514\n        if: ${{ matrix.os  != 'windows-latest' }}\n        run: echo \"DISABLE_IPV6=1\" >> $GITHUB_ENV\n\n      - name: Set up dask env to disable job queuing\n        shell: bash -l {0}\n        if: ${{ matrix.label == 'no_queue' }}\n        run: echo \"DASK_DISTRIBUTED__SCHEDULER__WORKER_SATURATION=inf\" >> $GITHUB_ENV\n\n      - name: Set up dask env to disable dask-expr\n        shell: bash -l {0}\n        if: ${{ matrix.label == 'no_expr' }}\n        run: echo \"DASK_DATAFRAME__QUERY_PLANNING=False\" >> $GITHUB_ENV\n\n      - name: Print host info\n        # host_info.py imports numpy, which isn't a direct dependency of distributed\n        if: matrix.environment != 'mindeps'\n        shell: bash -l {0}\n        run: |\n          python continuous_integration/scripts/host_info.py\n\n      - name: Test\n        id: run_tests\n        shell: bash -l {0}\n        env:\n          PYTHONFAULTHANDLER: 1\n          MINDEPS: ${{ matrix.environment == 'mindeps' }}\n        run: |\n          source continuous_integration/scripts/set_ulimit.sh\n          set -o pipefail\n          mkdir reports\n\n          pytest distributed \\\n            -m \"not avoid_ci and ${{ matrix.partition }}\" --runslow \\\n            --leaks=fds,processes,threads \\\n            --junitxml reports/pytest.xml -o junit_suite_name=$TEST_ID \\\n            --cov=distributed --cov-report=xml \\\n          | tee reports/stdout\n\n      - name: Generate junit XML report in case of pytest-timeout\n        if: ${{ failure() }}\n        shell: bash -l {0}\n        run: |\n          if [ ! -e reports/pytest.xml ]\n          then\n            # This should only ever happen on Windows.\n            # On Linux and MacOS, pytest-timeout kills off the individual tests\n            # See (reconfigure pytest-timeout above)\n            python continuous_integration/scripts/parse_stdout.py < reports/stdout > reports/pytest.xml\n          fi\n\n      # - name: Debug with tmate on failure\n      #   if: ${{ failure() }}\n      #   uses: mxschmitt/action-tmate@v3\n\n      # https://community.codecov.com/t/files-missing-from-report/3902/7\n      # The coverage file being created records filenames at the distributed/ directory\n      # as opposed to root. This is causing filename mismatches in Codecov.\n      # This step edits `coverage.xml` in-file by adding `distributed` to all filenames.\n      - name: Prepare coverage report\n        if: >\n          always() &&\n          (steps.run_tests.outcome == 'success' || steps.run_tests.outcome == 'failure') &&\n          matrix.os != 'windows-latest'\n        shell: bash -l {0}\n        run: sed -i'' -e 's/filename=\"/filename=\"distributed\\//g' coverage.xml\n\n      # Do not upload coverage reports for cron jobs\n      - name: Coverage\n        if: >\n          always() &&\n          (steps.run_tests.outcome == 'success' || steps.run_tests.outcome == 'failure') &&\n          github.event_name != 'schedule'\n        uses: codecov/codecov-action@v3\n        with:\n          name: ${{ env.TEST_ID }}\n          # See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n      - name: Upload test results\n        # ensure this runs even if pytest fails\n        if: >\n          always() &&\n          (steps.run_tests.outcome == 'success' || steps.run_tests.outcome == 'failure')\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.TEST_ID }}\n          path: reports\n\n      - name: Upload gen_cluster dumps for failed tests\n        # ensure this runs even if pytest fails\n        if: >\n          always() &&\n          (steps.run_tests.outcome == 'success' || steps.run_tests.outcome == 'failure')\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.TEST_ID }}_cluster_dumps\n          path: test_cluster_dump\n          if-no-files-found: ignore\n\n  # Publish an artifact for the event; used by publish-test-results.yaml\n  event_file:\n    # Do not run the schedule job on forks\n    if: github.repository == 'dask/distributed' || github.event_name != 'schedule'\n    name: \"Event File\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Upload\n        uses: actions/upload-artifact@v4\n        with:\n          name: Event File\n          path: ${{ github.event_path }}\n", "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:04.356587", "created_at": "2021-11-23T21:19:54+01:00", "updated_at": "2021-11-23T21:19:54+01:00", "name": "Check for gpuCI updates", "path": ".github/workflows/update-gpuci.yaml", "contents": "name: Check for gpuCI updates\n\non:\n  schedule:\n    - cron: \"0 0 * * *\" # Daily “At 00:00” UTC\n  workflow_dispatch:\n\njobs:\n  update-gpuci:\n    runs-on: ubuntu-latest\n    if: github.repository == 'dask/distributed'\n\n    steps:\n      - uses: actions/checkout@v4.1.3\n\n      - name: Parse current axis YAML\n        id: rapids_current\n        uses: the-coding-turtle/ga-yaml-parser@v0.1.2\n        with:\n          file: continuous_integration/gpuci/axis.yaml\n\n      - name: Get latest cuDF nightly version\n        id: cudf_latest\n        uses: jacobtomlinson/gha-anaconda-package-version@0.1.3\n        with:\n          org: \"rapidsai-nightly\"\n          package: \"cudf\"\n          version_system: \"CalVer\"\n\n      - name: Get latest UCX-Py nightly version\n        id: ucx_py_latest\n        uses: jacobtomlinson/gha-anaconda-package-version@0.1.3\n        with:\n          org: \"rapidsai-nightly\"\n          package: \"ucx-py\"\n          version_system: \"CalVer\"\n\n      - name: Get old RAPIDS / UCX-Py versions\n        env:\n          FULL_RAPIDS_VER: ${{ steps.cudf_latest.outputs.version }}\n          FULL_UCX_PY_VER: ${{ steps.ucx_py_latest.outputs.version }}\n        run: |\n          echo RAPIDS_VER=${{ steps.rapids_current.outputs.RAPIDS_VER_0 }} >> $GITHUB_ENV\n          echo UCX_PY_VER=$(curl -sL https://version.gpuci.io/rapids/${{ steps.rapids_current.outputs.RAPIDS_VER_0 }}) >> $GITHUB_ENV\n          echo NEW_RAPIDS_VER=$(echo $FULL_RAPIDS_VER | cut -d'.' -f1,2) >> $GITHUB_ENV\n          echo NEW_UCX_PY_VER=$(echo $FULL_UCX_PY_VER | cut -d'.' -f1,2) >> $GITHUB_ENV\n\n      - name: Update RAPIDS version\n        uses: jacobtomlinson/gha-find-replace@v3\n        with:\n          include: 'continuous_integration\\/gpuci\\/axis\\.yaml'\n          find: \"${{ env.RAPIDS_VER }}\"\n          replace: \"${{ env.NEW_RAPIDS_VER }}\"\n          regex: false\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        if: ${{ env.UCX_PY_VER != env.NEW_UCX_PY_VER }}  # make sure new ucx-py nightlies are available\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          draft: true\n          commit-message: \"Update gpuCI `RAPIDS_VER` to `${{ env.NEW_RAPIDS_VER }}`\"\n          title: \"Update gpuCI `RAPIDS_VER` to `${{ env.NEW_RAPIDS_VER }}`\"\n          author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n          branch: \"upgrade-gpuci-rapids\"\n          body: |\n            New cuDF and ucx-py nightly versions have been detected.\n\n            Updated `axis.yaml` to use `${{ env.NEW_RAPIDS_VER }}`.\n", "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:05.585169", "created_at": "2021-12-09T20:02:08+01:00", "updated_at": "2021-12-11T00:26:24+01:00", "name": "Test Report", "path": ".github/workflows/test-report.yaml", "contents": "name: Test Report\n\non:\n  schedule:\n    # Run 2h after the daily tests.yaml\n    - cron: \"0 8,20 * * *\"\n  workflow_dispatch:\n\njobs:\n  test-report:\n    name: Test Report\n    # Do not run the report job on forks\n    if: github.repository == 'dask/distributed' || github.event_name == 'workflow_dispatch'\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ github.token }}\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4.1.3\n\n      - name: Setup Conda Environment\n        uses: conda-incubator/setup-miniconda@v3.0.3\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          condarc-file: continuous_integration/condarc\n          use-mamba: true\n          environment-file: continuous_integration/scripts/test-report-environment.yml\n          activate-environment: dask-distributed\n\n      - name: Show conda options\n        run: conda config --show\n\n      - name: mamba list\n        run: mamba list\n\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          # Suffix is depending on the backend / OS. Let's be agnostic here\n          # See https://docs.python.org/3/library/shelve.html#shelve.open\n          path: |\n            test_report*\n            !test_report.html\n          key: ${{ hashFiles('continuous_integration/scripts/test_report*') }}\n\n      - name: Generate report\n        run: |\n          python continuous_integration/scripts/test_report.py --max-days 90 --max-runs 30 --nfails 1 -o test_report.html\n          python continuous_integration/scripts/test_report.py --max-days 7 --max-runs 30 --nfails 2 -o test_short_report.html --title \"Test Short Report\"\n          mkdir deploy\n          mv test_report.html test_short_report.html deploy/\n\n      - name: Deploy 🚀\n        uses: JamesIves/github-pages-deploy-action@v4.5.0\n        with:\n          branch: gh-pages\n          folder: deploy\n", "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:06.707827", "created_at": "2021-12-17T07:59:16+01:00", "updated_at": "2021-12-17T07:59:16+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:07.822144", "created_at": "2022-01-04T19:33:36+01:00", "updated_at": "2022-01-31T21:30:07+01:00", "name": "Conda build", "path": ".github/workflows/conda.yml", "contents": "name: Conda build\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    paths:\n      - setup.py\n      - continuous_integration/recipes/**\n      - .github/workflows/conda.yml\n      - pyproject.toml\n\n# When this workflow is queued, automatically cancel any previous running\n# or pending jobs from the same branch\nconcurrency:\n  group: conda-${{ github.ref }}\n  cancel-in-progress: true\n\n# Required shell entrypoint to have properly activated conda environments\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  conda:\n    name: Build (and upload)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.3\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: conda-incubator/setup-miniconda@v3.0.3\n        with:\n          miniforge-variant: Mambaforge\n          use-mamba: true\n          python-version: 3.9\n          channel-priority: strict\n      - name: Install dependencies\n        run: |\n          mamba install -c conda-forge boa conda-verify\n\n          which python\n          pip list\n          mamba list\n      - name: Build conda packages\n        run: |\n          # suffix for pre-release package versions\n          export VERSION_SUFFIX=a`date +%y%m%d`\n\n          # conda search for the latest dask-core pre-release\n          dask_core_arr=($(conda search --override-channels -c dask/label/dev dask-core | tail -n 1))\n          dask_expr_arr=($(conda search --override-channels -c dask/label/dev dask-expr | tail -n 1))\n\n          # extract dask-core & dask-expr pre-release versions\n          export DASK_CORE_VERSION=${dask_core_arr[1]}\n          export DASK_EXPR_VERSION=${dask_expr_arr[1]}\n\n          # distributed pre-release build\n          conda mambabuild continuous_integration/recipes/distributed \\\n                           --channel dask/label/dev \\\n                           --no-anaconda-upload \\\n                           --output-folder .\n\n          # dask pre-release build\n          conda mambabuild continuous_integration/recipes/dask \\\n                           --channel dask/label/dev \\\n                           --no-anaconda-upload \\\n                           --output-folder .\n      - name: Upload conda packages\n        if: |\n          github.event_name == 'push'\n          && github.ref == 'refs/heads/main'\n          && github.repository == 'dask/distributed'\n        env:\n          ANACONDA_API_TOKEN: ${{ secrets.DASK_CONDA_TOKEN }}\n        run: |\n          # install anaconda for upload\n          mamba install -c conda-forge anaconda-client\n\n          anaconda upload --label dev noarch/*.tar.bz2\n", "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:08.833416", "created_at": "2022-01-28T10:49:03+01:00", "updated_at": "2022-02-01T16:42:45+01:00", "name": "Publish test results", "path": ".github/workflows/publish-test-results.yaml", "contents": "# Copied from https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.23/README.md#support-fork-repositories-and-dependabot-branches\n# Warning: changes to this workflow will NOT be picked up until they land in the main branch!\n# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run\n\nname: Publish test results\n\non:\n  workflow_run:\n    workflows: [Tests]\n    types: [completed]\n\njobs:\n  publish-test-results:\n    name: Publish test results\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.conclusion != 'skipped'\n\n    # Needed to post comments on the PR\n    permissions:\n      checks: write\n      pull-requests: write\n\n    steps:\n      - name: Download and extract artifacts\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        run: |\n          mkdir artifacts && cd artifacts\n\n          artifacts_url=${{ github.event.workflow_run.artifacts_url }}\n\n          gh api --paginate \"$artifacts_url\" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact\n          do\n            IFS=$'\\t' read name url <<< \"$artifact\"\n            gh api $url > \"$name.zip\"\n            unzip -d \"$name\" \"$name.zip\"\n          done\n\n      - name: Publish Unit Test Results\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          check_name: Unit Test Results\n          comment_title: |\n            Unit Test Results\n            _See [test report](https://dask.github.io/distributed/test_report.html) for an extended history of previous test failures. This is useful for diagnosing flaky tests._\n          commit: ${{ github.event.workflow_run.head_sha }}\n          event_file: artifacts/Event File/event.json\n          event_name: ${{ github.event.workflow_run.event }}\n          junit_files: artifacts/**/*.xml\n", "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:09.885117", "created_at": "2022-10-04T18:56:45+02:00", "updated_at": "2022-10-04T18:56:45+02:00", "name": ".github/workflows/dependabot.yml", "path": ".github/workflows/dependabot.yml", "contents": null, "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:10.918379", "created_at": "2023-06-15T10:45:53+02:00", "updated_at": "2023-06-15T17:07:53+02:00", "name": "Issue and PR Labeler", "path": ".github/workflows/label-all.yml", "contents": "name: \"Issue and PR Labeler\"\non:\n  pull_request:\n    types: [opened]\n  issues:\n    types: [opened, reopened]\njobs:\n  label-all-on-open:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: andymckay/labeler@1.0.4\n        with:\n          add-labels: \"needs triage\"\n          ignore-if-labeled: false\n", "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:12.023072", "created_at": "2024-02-27T10:18:02+01:00", "updated_at": "2024-02-27T10:18:02+01:00", "name": "Do Not Merge", "path": ".github/workflows/do-not-merge.yml", "contents": null, "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:13.160296", "created_at": "2024-06-13T14:55:11+02:00", "updated_at": "2024-06-13T14:55:11+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    if: github.repository == 'dask/distributed'\n    permissions:\n      # Write permission is required to create a GitHub release\n      contents: write\n      pull-requests: read\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0  # Required to get tag history\n      - name: Check if release commit\n        id: check_release_commit\n        run: git describe --exact-match --tags $(git rev-parse HEAD)\n        continue-on-error: true\n      - uses: release-drafter/release-drafter@v6\n        if: steps.check_release_commit.outcome != 'success'\n        with:\n          disable-autolabeler: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:14.179535", "created_at": "2024-06-13T14:55:11+02:00", "updated_at": "2024-06-13T14:55:11+02:00", "name": "Release Publisher", "path": ".github/workflows/release-publish.yml", "contents": "name: Release Publisher\n\non:\n  push:\n    tags:\n      - \"*.*.*\"\n\npermissions:\n  contents: read\n\njobs:\n  publish_release:\n    if: github.repository == 'dask/distributed'\n    permissions:\n      # Write permission is required to publish a GitHub release\n      contents: write\n      pull-requests: read\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set version env\n        # Use a little bit of bash to extract the tag name from the GitHub ref\n        run: echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n      - uses: release-drafter/release-drafter@v6\n        with:\n          disable-autolabeler: true\n          # Override the Release name/tag/version with the actual tag name\n          name: ${{ env.RELEASE_VERSION }}\n          tag: ${{ env.RELEASE_VERSION }}\n          version: ${{ env.RELEASE_VERSION }}\n          # Publish the Release\n          publish: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "dask/distributed"}
{"mined_at": "2024-07-15T14:59:17.361381", "created_at": "2023-03-20T16:41:32+01:00", "updated_at": "2023-03-20T16:41:32+01:00", "name": "DockerBuild.LambdaImage", "path": ".github/workflows/DockerBuild.LambdaBaseImage.yaml", "contents": "name: DockerBuild.LambdaImage\n\non:\n  # allow it to be run on-demand\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"Version of ArcGIS API for Python to install in the image\"\n        type: string\n        default: \"2.3.0\"\n      python_version:\n        description: \"Python version to base image on\"\n        type: string\n        default: \"3.11\"\n      is_latest_release:\n        description: \"Version of ArcGIS API for Python is Latest current release\"\n        type: boolean\n        default: false\n      is_default_supported_python:\n        description: \"Python version is default supported version (i.e. python used by Pro and Enterprise)\"\n        type: boolean\n        default: false\n\njobs:\n  build-and-push:\n    name: Build Docker image and push to ghcr.io\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to Github Packages\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ghcr.io/esri/arcgis-python-api-lambda\n          tags: |\n            type=raw,value=${{ inputs.version }}-python${{ inputs.python_version }}\n            type=raw,value=${{ inputs.version }},enable=${{ inputs.is_default_supported_python && github.ref_name == github.event.repository.default_branch }}\n            type=raw,value=latest,enable=${{ inputs.is_latest_release && inputs.is_default_supported_python && github.ref_name == github.event.repository.default_branch }}\n            type=schedule,pattern={{date 'YY.MM'}},enable=${{ inputs.is_latest_release && inputs.is_default_supported_python && github.ref_name == github.event.repository.default_branch }}\n\n      - id: docker_build\n        name: Build image and push to GitHub Container Registry\n        uses: docker/build-push-action@v4\n        with:\n          # relative path to the place where source code with Dockerfile is located\n          context: .\n          file: ./docker/LambdaBaseImage.Dockerfile\n          build-args: |\n            python_version=${{ inputs.python_version }}\n            arcgis_version=${{ inputs.version }}\n          tags: ${{ steps.meta.outputs.tags }}\n          provenance: false\n          platforms: linux/amd64\n          push: true", "state": "active", "repository": "esri/arcgis-python-api"}
{"mined_at": "2024-07-15T14:59:18.407971", "created_at": "2023-10-04T20:39:13+02:00", "updated_at": "2023-10-05T19:45:25+02:00", "name": "DockerBuild.NotebookImage", "path": ".github/workflows/DockerBuild.NotebookImage.yaml", "contents": "name: DockerBuild.NotebookImage\n\non:\n  # allow it to be run on-demand\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"Version of ArcGIS API for Python to install in the image\"\n        type: string\n        default: \"2.2.0\"\n      python_version:\n        description: \"Python version to base image on\"\n        type: string\n        default: \"3.9\"\n      is_latest_release:\n        description: \"Version of ArcGIS API for Python is Latest current release\"\n        type: boolean\n        default: false\n      is_default_supported_python:\n        description: \"Python version is default supported version (i.e. python used by Pro and Enterprise)\"\n        type: boolean\n        default: false\n\njobs:\n  build-and-push:\n    name: Build Docker image and push to ghcr.io\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to Github Packages\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ghcr.io/esri/arcgis-python-api-notebook\n          tags: |\n            type=raw,value=${{ inputs.version }}-python${{ inputs.python_version }}\n            type=raw,value=${{ inputs.version }},enable=${{ inputs.is_default_supported_python && github.ref_name == github.event.repository.default_branch }}\n            type=raw,value=latest,enable=${{ inputs.is_latest_release && inputs.is_default_supported_python && github.ref_name == github.event.repository.default_branch }}\n            type=schedule,pattern={{date 'YY.MM'}},enable=${{ inputs.is_latest_release && inputs.is_default_supported_python && github.ref_name == github.event.repository.default_branch }}\n\n      - id: docker_build\n        name: Build image and push to GitHub Container Registry\n        uses: docker/build-push-action@v4\n        with:\n          # relative path to the place where source code with Dockerfile is located\n          context: ./docker\n          file: ./docker/NotebookImage.Dockerfile\n          build-args: |\n            python_version=${{ inputs.python_version }}\n            arcgis_version=${{ inputs.version }}\n          tags: ${{ steps.meta.outputs.tags }}\n          provenance: false\n          platforms: linux/amd64\n          push: true", "state": "active", "repository": "esri/arcgis-python-api"}
{"mined_at": "2024-07-15T14:59:19.494626", "created_at": "2024-04-12T18:43:53+02:00", "updated_at": "2024-04-12T18:43:53+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "esri/arcgis-python-api"}
{"mined_at": "2024-07-15T14:59:20.503824", "created_at": "2024-07-10T19:10:51+02:00", "updated_at": "2024-07-10T19:10:51+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "esri/arcgis-python-api"}
{"mined_at": "2024-07-15T14:59:22.730733", "created_at": "2020-10-12T23:25:11+02:00", "updated_at": "2020-10-12T23:25:11+02:00", "name": "Closed Issue Message", "path": ".github/workflows/closed-issue-message.yml", "contents": "name: Closed Issue Message\non:\n    issues:\n       types: [closed]\n\npermissions:\n  contents: read\n\njobs:\n    auto_comment:\n        runs-on: ubuntu-latest\n        permissions:\n            issues: write\n        steps:\n        - uses: aws-actions/closed-issue-message@8b6324312193476beecf11f8e8539d73a3553bf4\n          with:\n            # These inputs are both required\n            repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n            message: |\n                     This issue is now closed. Comments on closed issues are hard for our team to see.\n                     If you need more assistance, please open a new issue that references this one.\n", "state": "active", "repository": "boto/botocore"}
{"mined_at": "2024-07-15T14:59:23.813770", "created_at": "2023-07-21T23:09:50+02:00", "updated_at": "2023-07-22T02:23:03+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [\"develop\"]\n  pull_request:\n    branches: [\"develop\"]\n  schedule:\n    - cron: \"0 0 * * 5\"\n\npermissions: \"read-all\"\n\njobs:\n  analyze:\n    name: \"Analyze\"\n    runs-on: \"ubuntu-latest\"\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    steps:\n    - name: \"Checkout repository\"\n      uses: \"actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608\"\n\n    - name: \"Run CodeQL init\"\n      uses: \"github/codeql-action/init@b7cec7526559c32f1616476ff32d17ba4c59b2d6\"\n      with:\n        config-file: \"./.github/codeql.yml\"\n        languages: \"python\"\n\n    - name: \"Run CodeQL autobuild\"\n      uses: \"github/codeql-action/autobuild@b7cec7526559c32f1616476ff32d17ba4c59b2d6\"\n\n    - name: \"Run CodeQL analyze\"\n      uses: \"github/codeql-action/analyze@b7cec7526559c32f1616476ff32d17ba4c59b2d6\"\n", "state": "active", "repository": "boto/botocore"}
{"mined_at": "2024-07-15T14:59:24.829244", "created_at": "2020-10-29T21:42:38+01:00", "updated_at": "2020-10-29T21:42:38+01:00", "name": "PRs against master are not accepted, please target develop branch", "path": ".github/workflows/fail-master-prs.yml", "contents": "name: PRs against master are not accepted, please target develop branch\n\non:\n  pull_request:\n    branches: [ master ]\n\npermissions:\n  contents: read\n\njobs:\n  fail:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fail PRs against master\n        run: |\n          echo \"PRs must be made aginst the develop branch.\"\n          exit 1\n", "state": "active", "repository": "boto/botocore"}
{"mined_at": "2024-07-15T14:59:26.065281", "created_at": "2023-08-23T01:12:22+02:00", "updated_at": "2023-08-23T01:12:22+02:00", "name": "HandleStaleDiscussions", "path": ".github/workflows/handle-stale-discussions.yml", "contents": "name: HandleStaleDiscussions\non:\n  schedule:\n    - cron: \"0 4 * * 1\"\n  discussion_comment:\n    types: [created]\n\npermissions:\n  contents: read\n\njobs:\n  handle-stale-discussions:\n    name: Handle stale discussions\n    runs-on: ubuntu-latest\n    permissions:\n      discussions: write\n    steps:\n      - name: Stale discussions action\n        uses: aws-github-ops/handle-stale-discussions@711a9813957be17629fc6933afcd8bd132c57254\n        with:\n          # This will close stale-discussions as outdated instead of answered\n          close-stale-as-answered: false\n          # This will disable auto-closing answered discussions\n          close-answered-discussions: false\n        env:\n          GITHUB_TOKEN:  ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "boto/botocore"}
{"mined_at": "2024-07-15T14:59:27.182769", "created_at": "2021-08-27T23:10:36+02:00", "updated_at": "2021-10-08T01:08:30+02:00", "name": "Lint code", "path": ".github/workflows/lint.yml", "contents": "name: Lint code\n\non:\n  push:\n  pull_request:\n    branches-ignore: [ master ]\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608\n    - name: Set up Python 3.9\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n      with:\n        python-version: 3.9\n    - name: Run pre-commit\n      uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507\n", "state": "active", "repository": "boto/botocore"}
{"mined_at": "2024-07-15T14:59:28.329652", "created_at": "2021-03-10T22:41:03+01:00", "updated_at": "2022-06-17T03:00:44+02:00", "name": "Run CRT tests", "path": ".github/workflows/run-crt-test.yml", "contents": "name: Run CRT tests\n \non:\n  push:\n  pull_request:\n    branches-ignore: [master]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: '${{ matrix.os }}'\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n        # Python 3.8 and 3.9 do not run on m1 hardware which is now standard for\n        # macOS-latest.\n        # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n        exclude:\n        - { python-version: \"3.8\", os: \"macos-latest\" }\n        - { python-version: \"3.9\", os: \"macos-latest\" }\n        include:\n        - { python-version: \"3.8\", os: \"macos-13\" }\n        - { python-version: \"3.9\", os: \"macos-13\" }\n\n    steps:\n      - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608\n      - name: 'Set up Python ${{ matrix.python-version }}'\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: '${{ matrix.python-version }}'\n      - name: Install dependencies and CRT\n        run: |\n          python scripts/ci/install --extras crt\n      - name: Run tests\n        run: |\n          python scripts/ci/run-crt-tests --with-cov --with-xdist\n", "state": "active", "repository": "boto/botocore"}
{"mined_at": "2024-07-15T14:59:29.549175", "created_at": "2020-10-29T20:59:37+01:00", "updated_at": "2020-10-29T20:59:37+01:00", "name": "Run tests", "path": ".github/workflows/run-tests.yml", "contents": "name: Run tests\n\non:\n  push:\n  pull_request:\n    branches-ignore: [master]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: '${{ matrix.os }}'\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n        # Python 3.8 and 3.9 do not run on m1 hardware which is now standard for\n        # macOS-latest.\n        # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n        exclude:\n        - { python-version: \"3.8\", os: \"macos-latest\" }\n        - { python-version: \"3.9\", os: \"macos-latest\" }\n        include:\n        - { python-version: \"3.8\", os: \"macos-13\" }\n        - { python-version: \"3.9\", os: \"macos-13\" }\n\n    steps:\n      - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608\n      - name: 'Set up Python ${{ matrix.python-version }}'\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: '${{ matrix.python-version }}'\n      - name: Install dependencies\n        run: |\n          python scripts/ci/install\n      - name: Run tests\n        run: |\n          python scripts/ci/run-tests --with-cov --with-xdist\n      - name: Run codecov\n        uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673\n        with:\n          directory: tests\n\n\n  urllib3:\n    name: 'urllib3 1.x'\n    runs-on: 'ubuntu-latest'\n    strategy:\n      fail-fast: true\n\n    steps:\n      - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608\n      - name: 'Set up Python 3.10'\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python scripts/ci/install\n          python  -m pip install \"urllib3<2\"\n      - name: Run tests\n        run: |\n          python scripts/ci/run-tests --with-cov --with-xdist\n", "state": "active", "repository": "boto/botocore"}
{"mined_at": "2024-07-15T14:59:30.603360", "created_at": "2020-04-25T02:31:50+02:00", "updated_at": "2020-04-25T02:31:50+02:00", "name": "Close stale issues", "path": ".github/workflows/stale_issue.yml", "contents": "name: \"Close stale issues\"\n\n# Controls when the action will run.\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\npermissions:\n  contents: read\n\njobs:\n  issue-cleanup:\n    permissions:\n      issues: write\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    name: Stale issue job\n    steps:\n    - uses: aws-actions/stale-issue-cleanup@389be0117d7661840b887276b5da1cc6ddf95c8a\n      with:\n        issue-types: issues\n        stale-issue-message: Greetings! It looks like this issue hasn’t been \n          active in longer than five days. We encourage you to check if this is still an issue in the latest release. \n          In the absence of more information, we will be closing this issue soon. \n          If you find that this is still a problem, please feel free to provide a comment or upvote \n          with a reaction on the initial post to prevent automatic closure. If the issue is already closed, \n          please feel free to open a new one.\n        # These labels are required\n        stale-issue-label: closing-soon\n        exempt-issue-labels: automation-exempt,needs-review\n        response-requested-label: response-requested\n\n        # Don't set closed-for-staleness label to skip closing very old issues\n        # regardless of label\n        closed-for-staleness-label: closed-for-staleness\n\n        # Issue timing\n        days-before-stale: 10\n        days-before-close: 4\n\n        # If you don't want to mark a issue as being ancient based on a\n        # threshold of \"upvotes\", you can set this here. An \"upvote\" is\n        # the total number of +1, heart, hooray, and rocket reactions\n        # on an issue.\n        minimum-upvotes-to-exempt: 2\n\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        loglevel: DEBUG\n", "state": "active", "repository": "boto/botocore"}
{"mined_at": "2024-07-15T14:59:32.930452", "created_at": "2020-10-27T14:08:50+01:00", "updated_at": "2020-10-27T14:08:50+01:00", "name": "Run tests on a pr", "path": ".github/workflows/run-on-pr.yaml", "contents": "name: Run tests on a pr\n\non:\n  # run on pull request to main excluding changes that are only on doc or example folders\n  pull_request:\n    branches:\n      - main\n    paths-ignore:\n      - \"docs/**\"\n\nenv:\n  # global env to all steps\n  TOX_WORKERS: -n2\n\npermissions:\n  contents: read\n\njobs:\n  run-test-amd64:\n    name: ${{ matrix.python-version }}-${{ matrix.sqlalchemy }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # run this job using this matrix, excluding some combinations below.\n      matrix:\n        os:\n          - \"ubuntu-latest\"\n        python-version:\n          - \"3.11\"\n        sqlalchemy:\n          - sqla13\n          - sqla14\n          - sqlamain\n      # abort all jobs as soon as one fails\n      fail-fast: true\n\n    # steps to run in each job. Some are github actions, others run shell commands\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox setuptools\n          pip list\n\n      - name: Run tests\n        run: tox -e py-${{ matrix.sqlalchemy }}\n\n  run-pep484:\n    name: pep484-${{ matrix.python-version }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - \"ubuntu-latest\"\n        python-version:\n          - \"3.11\"\n\n      fail-fast: false\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox setuptools\n          pip list\n\n      - name: Run pep484\n        run: tox -e pep484\n", "state": "active", "repository": "sqlalchemy/alembic"}
{"mined_at": "2024-07-15T14:59:33.961603", "created_at": "2020-10-27T14:08:50+01:00", "updated_at": "2020-10-27T14:08:50+01:00", "name": "Run tests", "path": ".github/workflows/run-test.yaml", "contents": "name: Run tests\n\non:\n  # run on push in main or rel_* branches excluding changes are only on doc or example folders\n  push:\n    branches:\n      - main\n      - \"rel_*\"\n      # branches used to test the workflow\n      - \"workflow_test_*\"\n    paths-ignore:\n      - \"docs/**\"\n\nenv:\n  # global env to all steps\n  TOX_WORKERS: -n2\n\npermissions:\n  contents: read\n\njobs:\n  run-test:\n    name: ${{ matrix.python-version }}-${{ matrix.sqlalchemy }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # run this job using this matrix, excluding some combinations below.\n      matrix:\n        os:\n          - \"ubuntu-latest\"\n          - \"windows-latest\"\n          - \"macos-latest\"\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        sqlalchemy:\n          - sqla13\n          - sqla14\n          - sqlamain\n        exclude:\n          # sqla13 does not seem to support 3.12\n          - sqlalchemy: sqla13\n            python-version: \"3.12\"\n\n      fail-fast: false\n\n    # steps to run in each job. Some are github actions, others run shell commands\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox setuptools\n          pip list\n\n      - name: Run tests\n        run: tox -e py-${{ matrix.sqlalchemy }}\n\n  run-pep484:\n    name: pep484-${{ matrix.python-version }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - \"ubuntu-latest\"\n        python-version:\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n      fail-fast: false\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox setuptools\n          pip list\n\n      - name: Run tox pep484\n        run: tox -e pep484\n", "state": "active", "repository": "sqlalchemy/alembic"}
{"mined_at": "2024-07-15T14:59:36.196224", "created_at": "2024-07-08T13:21:29+02:00", "updated_at": "2024-07-08T13:21:29+02:00", "name": "Actionlint", "path": ".github/workflows/actionlint.yml", "contents": null, "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:37.329858", "created_at": "2022-12-22T17:15:59+01:00", "updated_at": "2022-12-22T17:15:59+01:00", "name": "API changes", "path": ".github/workflows/api_changes.yml", "contents": null, "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:38.368158", "created_at": "2021-05-29T02:57:11+02:00", "updated_at": "2023-10-17T14:48:51+02:00", "name": "Auto Author Assign", "path": ".github/workflows/auto_author_assign.yml", "contents": null, "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:39.387044", "created_at": "2022-05-20T14:15:53+02:00", "updated_at": "2022-06-08T16:58:32+02:00", "name": "Benchmarks", "path": ".github/workflows/benchmarks.yml", "contents": "# This CI configuration for relative benchmarks is based on the research done\n# for scikit-image's implementation available here:\n# https://github.com/scikit-image/scikit-image/blob/9bdd010a8/.github/workflows/benchmarks.yml#L1\n# Blog post with the rationale: https://labs.quansight.org/blog/2021/08/github-actions-benchmarks/\n\nname: Benchmarks\n\non:\n  pull_request:\n    types: [labeled]\n  schedule:\n    - cron: \"6 6 * * 0\" # every sunday\n  workflow_dispatch:\n    inputs:\n      base_ref:\n        description: \"Baseline commit or git reference\"\n        required: true\n      contender_ref:\n        description: \"Contender commit or git reference\"\n        required: true\n\n# This is the main configuration section that needs to be fine tuned to napari's needs\n# All the *_THREADS options is just to make the benchmarks more robust by not using parallelism\nenv:\n  OPENBLAS_NUM_THREADS: \"1\"\n  MKL_NUM_THREADS: \"1\"\n  OMP_NUM_THREADS: \"1\"\n  ASV_OPTIONS: \"--split --show-stderr --factor 1.5 --attribute timeout=900\"\n  # --split -> split final reports in tables\n  # --show-stderr -> print tracebacks if errors occur\n  # --factor 1.5 -> report anomaly if tested timings are beyond 1.5x base timings\n  # --attribute timeout=300 -> override timeout attribute (default=60s) to allow slow tests to run\n  # see https://asv.readthedocs.io/en/stable/commands.html#asv-continuous for more details!\n\njobs:\n  benchmark:\n    if: ${{ github.event.label.name == 'run-benchmarks' && github.event_name == 'pull_request' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}\n    name: ${{ matrix.benchmark-name }}\n    runs-on: ${{ matrix.runs-on }}\n    permissions:\n      contents: read\n      issues: write\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - benchmark-name: Qt\n            asv-command: continuous\n            selection-regex: \"^benchmark_qt_.*\"\n            runs-on: macos-latest\n            # Qt tests run on macOS to avoid using Xvfb business\n            # xvfb makes everything run, but some tests segfault :shrug:\n            # Fortunately, macOS graphics stack does not need xvfb!\n          - benchmark-name: non-Qt\n            asv-command: continuous\n            selection-regex: \"^benchmark_(?!qt_).*\"\n            runs-on: ubuntu-latest\n\n    steps:\n      # We need the full repo to avoid this issue\n      # https://github.com/actions/checkout/issues/23\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.11\"\n          cache-dependency-path: pyproject.toml\n\n      - uses: tlambert03/setup-qt-libs@v1\n\n      - name: Setup asv\n        run: python -m pip install \"asv[virtualenv]\"\n\n      - uses: octokit/request-action@v2.x\n        id: latest_release\n        with:\n          route: GET /repos/{owner}/{repo}/releases/latest\n          owner: napari\n          repo: napari\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Run ${{ matrix.benchmark-name }} benchmarks\n        id: run_benchmark\n        env:\n          # asv will checkout commits, which might contain LFS artifacts; ignore those errors since\n          # they are probably just documentation PNGs not needed here anyway\n          GIT_LFS_SKIP_SMUDGE: 1\n        run: |\n          set -euxo pipefail\n\n          # ID this runner\n          asv machine --yes\n\n          if [[ $GITHUB_EVENT_NAME == pull_request ]]; then\n            EVENT_NAME=\"PR #${{ github.event.pull_request.number }}\"\n            BASE_REF=${{ github.event.pull_request.base.sha }}\n            CONTENDER_REF=${GITHUB_SHA}\n            echo \"Baseline:  ${BASE_REF} (${{ github.event.pull_request.base.label }})\"\n            echo \"Contender: ${CONTENDER_REF} (${{ github.event.pull_request.head.label }})\"\n          elif [[ $GITHUB_EVENT_NAME == schedule ]]; then\n            EVENT_NAME=\"cronjob\"\n            BASE_REF=\"${{ fromJSON(steps.latest_release.outputs.data).target_commitish }}\"\n            CONTENDER_REF=\"${GITHUB_SHA}\"\n            echo \"Baseline:  ${BASE_REF} (${{ fromJSON(steps.latest_release.outputs.data).tag_name }})\"\n            echo \"Contender: ${CONTENDER_REF} (current main)\"\n          elif [[ $GITHUB_EVENT_NAME == workflow_dispatch ]]; then\n            EVENT_NAME=\"manual trigger\"\n            BASE_REF=\"${{ github.event.inputs.base_ref }}\"\n            CONTENDER_REF=\"${{ github.event.inputs.contender_ref }}\"\n            echo \"Baseline:  ${BASE_REF} (workflow input)\"\n            echo \"Contender: ${CONTENDER_REF} (workflow input)\"\n          fi\n\n          echo \"EVENT_NAME=$EVENT_NAME\" >> $GITHUB_ENV\n          echo \"BASE_REF=$BASE_REF\" >> $GITHUB_ENV\n          echo \"CONTENDER_REF=$CONTENDER_REF\" >> $GITHUB_ENV\n\n          # Run benchmarks for current commit against base\n          asv continuous $ASV_OPTIONS -b '${{ matrix.selection-regex }}' ${BASE_REF} ${CONTENDER_REF} \\\n          | sed -E \"/Traceback | failed$|PERFORMANCE DECREASED/ s/^/::error:: /\" \\\n          | tee asv_continuous.log\n\n          # Report and export results for subsequent steps\n          if grep \"Traceback \\|failed\\|PERFORMANCE DECREASED\" asv_continuous.log > /dev/null ; then\n              exit 1\n          fi\n\n      - name: Report Failures as Issue\n        if: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && failure() }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PLATFORM: ${{ matrix.runs-on }}\n          PYTHON: \"3.9\"\n          BACKEND: ${{ matrix.benchmark-name }}\n          RUN_ID: ${{ github.run_id }}\n          TITLE: \"[test-bot] Benchmark tests failing\"\n        with:\n          filename: .github/TEST_FAIL_TEMPLATE.md\n          update_existing: true\n\n      - name: Add more info to artifact\n        if: always()\n        run: |\n          # Copy the full `asv continuous` log\n          cp asv_continuous.log .asv/results/asv_continuous_${{ matrix.benchmark-name }}.log\n          # ensure that even if this isn't a PR, the benchmark_report workflow can run without error\n          touch .asv/results/message_${{ matrix.benchmark-name }}.txt\n\n          # Add the message that might be posted as a comment on the PR\n          # We delegate the actual comment to `benchmarks_report.yml` due to\n          # potential token permissions issues\n          if [[ $GITHUB_EVENT_NAME == pull_request ]]; then\n\n          echo \"${{ github.event.pull_request.number }}\" > .asv/results/pr_number\n          echo \\\n          \"The ${{ matrix.benchmark-name }} benchmark run requested by $EVENT_NAME ($CONTENDER_REF vs $BASE_REF) has\" \\\n          \"finished with status '${{ steps.run_benchmark.outcome }}'. See the\" \\\n          \"[CI logs and artifacts](||BENCHMARK_CI_LOGS_URL||) for further details.\" \\\n          > .asv/results/message_${{ matrix.benchmark-name }}.txt\n\n          fi\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: asv-benchmark-results-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}-${{ matrix.benchmark-name }}\n          path: .asv/results\n\n  combine-artifacts:\n    runs-on: ubuntu-latest\n    needs: benchmark\n    if: always()\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          pattern: asv-benchmark-results*\n          path: asv_result\n          merge-multiple: true\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: asv-benchmark-results-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}\n          path: asv_result\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:40.503773", "created_at": "2022-06-08T16:58:32+02:00", "updated_at": "2022-10-11T21:39:48+02:00", "name": "Benchmarks - Report", "path": ".github/workflows/benchmarks_report.yml", "contents": "# Report benchmark results to the PR\n# We need a dual workflow to make sure the token has the needed permissions to post comments\n# See https://stackoverflow.com/a/71683208 for more details\n\n# When this workflow is triggered, it pulls the latest version of this file on\n# the default branch. Changes to this file won't be reflected until after the\n# PR is merged.\n# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run\n\nname: \"Benchmarks - Report\"\n\non:\n  workflow_run:\n    workflows: [Benchmarks]\n    types:\n      - completed\n\npermissions:\n  pull-requests: write\n  issues: write\n\njobs:\n  download:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Download artifact\"\n        uses: actions/github-script@v7\n        with:\n          script: |\n            let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               run_id: context.payload.workflow_run.id,\n            });\n            let artifactName = `asv-benchmark-results-${context.payload.workflow_run.id}-${context.payload.workflow_run.run_number}-${context.payload.workflow_run.run_attempt}`\n            console.log(`Artifact name: ${artifactName}`);\n            console.log(`All artifacts: ${JSON.stringify(allArtifacts.data.artifacts)}`);\n            let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => {\n              return artifact.name == artifactName\n            })[0];\n            if (matchArtifact === undefined) {\n              throw TypeError('Build Artifact not found!');\n            }\n            let download = await github.rest.actions.downloadArtifact({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               artifact_id: matchArtifact.id,\n               archive_format: 'zip',\n            });\n            let fs = require('fs');\n            fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/asv_results.zip`, Buffer.from(download.data));\n\n      - name: Unzip and prepare data\n        run: |\n          unzip asv_results.zip\n          # combine the Qt and non-Qt messages\n          cat message_Qt.txt message_non-Qt.txt > message.txt\n\n      - name: Replace URLs\n        run: |\n          sed -i 's@||BENCHMARK_CI_LOGS_URL||@${{ github.event.workflow_run.html_url }}@g' message.txt\n\n      - name: Collect PR number if available\n        run: |\n          if [[ -f pr_number ]]; then\n            echo \"PR_NUMBER=$(cat pr_number)\" >> $GITHUB_ENV\n          fi\n\n      - name: \"Comment on PR\"\n        if: env.PR_NUMBER != ''\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            let fs = require('fs');\n            let issue_number = Number(process.env.PR_NUMBER);\n            let body = fs.readFileSync('message.txt', 'utf8');\n            await github.rest.issues.createComment({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: issue_number,\n              body: body,\n            });\n\n      - name: \"Remove run-benchmarks label\"\n        if: env.PR_NUMBER != ''\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            let fs = require('fs');\n            let issue_number = Number(process.env.PR_NUMBER);\n            await github.rest.issues.removeLabel({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: issue_number,\n              name: 'run-benchmarks',\n            });\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:41.734560", "created_at": "2022-02-16T06:05:23+01:00", "updated_at": "2024-03-26T07:48:26+01:00", "name": "Build PR Docs", "path": ".github/workflows/build_docs.yml", "contents": "# As much as possible, this file should be kept in sync with\n# https://github.com/napari/docs/blob/main/.github/workflows/build_docs.yml\nname: Build PR Docs\n\non:\n  push:\n    branches:\n      - docs\n    tags:\n      - 'v*'\n  workflow_dispatch:\n  workflow_call:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-and-upload:\n    name: Build & Upload Artifact\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone docs repo\n        uses: actions/checkout@v4\n        with:\n          path: docs  # place in a named directory\n          repository: napari/docs\n\n      - name: Clone main repo\n        uses: actions/checkout@v4\n        with:\n          path: napari  # place in a named directory\n          # ensure version metadata is proper\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n          cache-dependency-path: |\n            napari/pyproject.toml\n            docs/requirements.txt\n\n      - uses: tlambert03/setup-qt-libs@v1\n\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install \"napari/[all]\"\n          python -m pip install -r docs/requirements.txt\n        env:\n          PIP_CONSTRAINT: ${{ github.workspace }}/napari/resources/constraints/constraints_py3.10_docs.txt\n\n      - name: Testing\n        run: |\n          python -c 'import napari; print(napari.__version__)'\n          python -c 'import napari.layers; print(napari.layers.__doc__)'\n\n      - name: Build Docs\n        uses: aganders3/headless-gui@v2\n        env:\n          GOOGLE_CALENDAR_ID: ${{ secrets.GOOGLE_CALENDAR_ID }}\n          GOOGLE_CALENDAR_API_KEY: ${{ secrets.GOOGLE_CALENDAR_API_KEY }}\n          PIP_CONSTRAINT: ${{ github.workspace }}/napari/resources/constraints/constraints_py3.10_docs.txt\n        with:\n          run:  make -C docs docs\n          # skipping setup stops the action from running the default (tiling) window manager\n          # the window manager is not necessary for docs builds at this time and it was causing\n          # problems with screenshots (https://github.com/napari/docs/issues/285)\n          linux-setup: \"echo 'skip setup'\"\n          linux-teardown: \"echo 'skip teardown'\"\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs\n          path: docs/docs/_build\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:42.864037", "created_at": "2023-04-24T15:40:45+02:00", "updated_at": "2023-04-24T15:40:45+02:00", "name": "CircleCI artifact redirector", "path": ".github/workflows/circleci.yml", "contents": "# To enable this workflow on a fork, comment out:\n#\n# if: github.repository == 'napari/docs'\n\nname: CircleCI artifact redirector\n\nconcurrency:\n  group: docs-preview-${{ github.ref }}\n  cancel-in-progress: true\n\non: [status]\njobs:\n  circleci_artifacts_redirector_job:\n    runs-on: ubuntu-latest\n    if: \"github.event.context == 'ci/circleci: build-docs'\"\n    permissions:\n      statuses: write\n    name: Run CircleCI artifacts redirector\n    # if: github.repository == 'napari/docs'\n    steps:\n      - name: GitHub Action step\n        uses: larsoner/circleci-artifacts-redirector-action@master\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          api-token: ${{ secrets.CIRCLECI_TOKEN }}\n          artifact-path: 0/docs/docs/_build/html/index.html\n          circleci-jobs: build-docs\n          job-title: Check the rendered docs here!\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:43.885644", "created_at": "2024-05-03T00:59:48+02:00", "updated_at": "2024-05-05T08:41:25+02:00", "name": "CITATION.cff", "path": ".github/workflows/citation_cff_validate.yml", "contents": "on:\n  push:\n    paths:\n      - CITATION.cff\n  pull_request:\n    paths:\n      - CITATION.cff\n  workflow_dispatch:\n\nname: CITATION.cff\njobs:\n  Validate-CITATION-cff:\n    runs-on: ubuntu-latest\n    name: Validate CITATION.cff\n    env:\n      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Validate CITATION.cff\n        uses: dieghernan/cff-validator@v3\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:44.877427", "created_at": "2022-02-16T07:08:33+01:00", "updated_at": "2024-02-29T08:57:09+01:00", "name": "Build Docs", "path": ".github/workflows/deploy_docs.yml", "contents": "name: Build Docs\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\nconcurrency:\n  group: docs-${{ github.ref }}\n  cancel-in-progress: true\n\n\njobs:\n  build-napari-docs:\n    name: Build docs on napari/docs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Trigger workflow and wait\n        uses: convictional/trigger-workflow-and-wait@v1.6.5\n        with:\n          owner: napari\n          repo: docs\n          github_token: ${{ secrets.ACTIONS_DEPLOY_DOCS }}\n          workflow_file_name: build_and_deploy.yml\n          trigger_workflow: true\n          wait_workflow: true\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:45.934407", "created_at": "2021-12-17T15:40:16+01:00", "updated_at": "2022-06-16T13:04:09+02:00", "name": "Docker and Singularity build", "path": ".github/workflows/docker-singularity-publish.yml", "contents": "name: Docker and Singularity build\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\non:\n  workflow_dispatch:\n\n  pull_request:\n    paths:\n      - '.github/workflows/docker-singularity-publish.yaml'\n\n#  schedule:\n#    - cron: '31 0 * * *'\n  push:\n    branches: [ main ]\n    # Publish semver tags as releases.\n    tags: [ 'v*.*.*' ]\n\nenv:\n  # Use docker.io for Docker Hub if empty\n  REGISTRY: ghcr.io\n\njobs:\n  build1:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - recipe: Docker\n            target: napari\n            image-name: napari/napari\n          - recipe: Docker\n            target: napari-xpra\n            image-name: napari/napari-xpra\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Login against a Docker registry except on PR\n      # https://github.com/docker/login-action\n      - name: Log into registry ${{ env.REGISTRY }}\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3.2.0\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      # Extract metadata (tags, labels) for Docker\n      # https://github.com/docker/metadata-action\n      # https://github.com/docker/build-push-action/blob/master/docs/advanced/tags-labels.md\n      - name: Extract Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          # list of Docker images to use as base name for tags\n          images: ${{ env.REGISTRY }}/${{ matrix.image-name }}\n          #          images: |\n          #            name/app\n          #            ghcr.io/username/app\n          # generate Docker tags based on the following events/attributes\n          tags: |\n            type=schedule\n            type=ref,event=branch\n            type=ref,event=pr\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{major}}\n            type=sha\n            latest\n          # oras://ghcr.io is tagged latest too, and seems to override the docker://ghcr.io tag -> race condition?\n\n      # Build and push Docker image with Buildx (don't push on PR)\n      # https://github.com/docker/build-push-action\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5\n        id: docker_build\n        with:\n          context: .\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          file: \"dockerfile\"\n          target: ${{ matrix.target }}\n          # We build from the the tag name if triggered by tag, otherwise from the commit hash\n          build-args: |\n            NAPARI_COMMIT=${{ github.ref_type == 'tag' && github.ref_name || github.sha }}\n\n      - name: Test Docker image\n        run: |\n          docker run --rm --entrypoint=/bin/bash ${{ steps.docker_build.outputs.imageid }} -ec \"python3 -m napari --version\"\n\n# ----\n\n  build2:\n    needs: build1\n    runs-on: ubuntu-latest\n    container:\n      image: quay.io/singularity/docker2singularity:v4.1.0\n      options: --privileged\n    permissions:\n      contents: read\n      packages: write\n    strategy:\n      fail-fast: false\n      matrix:\n        recipe: [\"Singularity\"]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Continue if Singularity Recipe Exists\n        run: |\n          if [[ -f \"${{ matrix.recipe }}\" ]]; then\n            echo \"keepgoing=true\" >> $GITHUB_ENV\n          fi\n\n      - name: Build Container\n        if: ${{ env.keepgoing == 'true' }}\n        env:\n          recipe: ${{ matrix.recipe }}\n        run: |\n          ls\n          if [ -f \"${{ matrix.recipe }}\" ]; then\n             singularity build container.sif ${{ matrix.recipe }}\n             tag=latest\n          fi\n          # Build the container and name by tag\n          echo \"Tag is $tag.\"\n          echo \"tag=$tag\" >> $GITHUB_ENV\n\n      - name: Login and Deploy Container\n        if: (github.event_name != 'pull_request')\n        env:\n          keepgoing: ${{ env.keepgoing }}\n        run: |\n          if [[ \"${keepgoing}\" == \"true\" ]]; then\n              echo ${{ secrets.GITHUB_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io\n              singularity push container.sif oras://ghcr.io/${GITHUB_REPOSITORY}:${tag}\n          fi\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:47.159881", "created_at": "2023-07-24T13:57:57+02:00", "updated_at": "2023-08-14T14:05:38+02:00", "name": "Remove html In PR description", "path": ".github/workflows/edit_pr_description.yml", "contents": "name: Remove html In PR description\n# see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target\non:\n  # see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target\n  pull_request_target:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - edited\n  workflow_call:\n# see https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs\npermissions:\n  pull-requests: write\n\njobs:\n  check_labels:\n    name: Remove html comments.\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: napari/napari\n      # install python and requests\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install requests\n      - name: Remove html comments\n        env:\n          GH_PR_NUMBER: ${{ github.event.number }}\n          GH_REPO_URL: ${{ github.event.repository.url}}\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n        run: |\n          python tools/remove_html_comments_from_pr.py\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:48.268419", "created_at": "2023-08-20T15:47:08+02:00", "updated_at": "2023-08-21T11:34:45+02:00", "name": "Label and milestone checker", "path": ".github/workflows/label_and_milesone_checker.yml", "contents": "name: Label and milestone checker\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - labeled\n      - unlabeled\n      - milestoned\n      - demilestoned\n  merge_group: # to be prepared on merge queue\n    types: [checks_requested]\n\njobs:\n  check_labels_and_milestone:\n    if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ready to merge'))\n    name: Check labels and milestone\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check labels\n        uses: docker://agilepathway/pull-request-label-checker:latest\n        with:\n          any_of: bugfix,feature,documentation,performance,enhancement,maintenance\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Check milestone\n        if: github.event.pull_request.milestone == null\n        run: |\n          echo \"Please add a milestone to this PR\"\n          exit 1\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:49.249930", "created_at": "2023-04-15T21:55:45+02:00", "updated_at": "2023-08-21T13:04:48+02:00", "name": "Label Checker", "path": ".github/workflows/label_checker.yml", "contents": null, "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:50.279115", "created_at": "2021-05-27T17:56:25+02:00", "updated_at": "2021-05-27T17:56:25+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "# https://github.com/marketplace/actions/labeler\nname: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v5\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:51.342013", "created_at": "2021-09-21T10:52:15+02:00", "updated_at": "2022-08-11T13:45:08+02:00", "name": "Conda", "path": ".github/workflows/make_bundle_conda.yml", "contents": "name: Conda\n\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - \"v*\" # Push events to matching v*, i.e. v1.0, v20.15.10\n  schedule:\n    - cron: \"0 0 * * *\"\n  # workflow_dispatch: # go to napari/packaging to trigger manual runs\n\njobs:\n  packaging:\n    permissions:\n      contents: write\n    uses: napari/packaging/.github/workflows/make_bundle_conda.yml@main\n    secrets: inherit\n    with:\n      event_name: ${{ github.event_name }}\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:52.382516", "created_at": "2020-05-05T06:07:10+02:00", "updated_at": "2020-05-05T06:07:10+02:00", "name": "Create Release", "path": ".github/workflows/make_release.yml", "contents": "on:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10\n\nname: Create Release\n\njobs:\n  build:\n    permissions:\n      contents: write\n      id-token: write\n    name: Create Release\n    runs-on: ubuntu-latest\n    if: github.repository == 'napari/napari'\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n          cache-dependency-path: pyproject.toml\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -e .[build]  # need full install so we can build type stubs\n      - name: Build Distribution\n        run: make dist\n      - name: Find Release Notes\n        id: release_notes\n        run: |\n          TAG=\"${GITHUB_REF/refs\\/tags\\/v/}\"  # clean tag\n          if [[ \"$TAG\" != *\"rc\"* ]]; then\n            VER=\"${TAG/rc*/}\"  # remove pre-release identifier\n            RELEASE_NOTES=\"$(cat docs/release/release_${VER//./_}.md)\"\n            # https://github.community/t5/GitHub-Actions/set-output-Truncates-Multiline-Strings/m-p/38372/highlight/true#M3322\n            RELEASE_NOTES=\"${RELEASE_NOTES//'%'/'%25'}\"\n            RELEASE_NOTES=\"${RELEASE_NOTES//$'\\n'/'%0A'}\"\n            RELEASE_NOTES=\"${RELEASE_NOTES//$'\\r'/'%0D'}\"\n          else\n            RELEASE_NOTES=\"pre-release $TAG\"\n          fi\n          echo \"tag=${TAG}\" >> $GITHUB_ENV\n          # https://help.github.com/en/actions/reference/workflow-commands-for-github-actions\n          echo \"name=contents=${RELEASE_NOTES}\" >> $GITHUB_ENV\n      - name: Create Release\n        uses: \"softprops/action-gh-release@v2\"\n        with:\n          tag_name: ${{ github.ref }}\n          name: ${{ env.tag }}\n          body: ${{ steps.release_notes.outputs.contents }}\n          draft: false\n          prerelease: ${{ contains(github.ref, 'rc') }}\n          files: |\n            dist/*\n      - name: Publish PyPI Package\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:53.426753", "created_at": "2024-04-11T10:39:32+02:00", "updated_at": "2024-04-11T10:39:32+02:00", "name": "Remove \"ready to merge\" label", "path": ".github/workflows/remove_ready_to_merge.yml", "contents": "name: Remove \"ready to merge\" label\n\non:\n  pull_request_target:\n    types: [closed]\n  workflow_call:\n\n\npermissions:\n  pull-requests: write\n\njobs:\n  remove_label:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Remove label\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const { owner, repo, number: pull_number } = context.issue;\n            const { data: pullRequest } = await github.rest.pulls.get({ owner, repo, pull_number });\n            if (!pullRequest.merged) {\n              console.log(\"Pull request not merged, skipping.\");\n              return;\n            }\n            const { data: labels } = await github.rest.issues.listLabelsOnIssue({ owner, repo, issue_number: pull_number });\n            const labelToRemove = labels.find(label => label.name === \"ready to merge\");\n            if (!labelToRemove) {\n              console.log(\"Label not found on pull request, skipping.\");\n              return;\n            }\n            await github.rest.issues.removeLabel({ owner, repo, issue_number: pull_number, name: \"ready to merge\" });\n            console.log(\"Label removed.\");\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:54.463852", "created_at": "2023-10-21T19:39:08+02:00", "updated_at": "2024-04-13T15:38:41+02:00", "name": "Build wheel workflow", "path": ".github/workflows/reusable_build_wheel.yml", "contents": "name: Build wheel workflow\non:\n  workflow_call:\n\njobs:\n  build_wheel:\n    name: Build wheel\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n          cache: \"pip\"\n          cache-dependency-path: pyproject.toml\n\n      - name: Install Dependencies\n        run: |\n          pip install --upgrade pip\n          pip install build wheel\n\n      - name: Build wheel\n        run: |\n          python -m build --wheel --outdir dist/\n\n      - name: Upload wheel\n        uses: actions/upload-artifact@v4\n        with:\n          name: wheel\n          path: dist/*.whl\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:55.659569", "created_at": "2023-10-06T10:18:59+02:00", "updated_at": "2024-04-13T15:38:41+02:00", "name": "Upload coverage", "path": ".github/workflows/reusable_coverage_upload.yml", "contents": "name: Upload coverage\non:\n  workflow_call:\n    secrets:\n      codecov_token:\n        required: true\n\n\njobs:\n  upload_coverage:\n    name: Upload coverage\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n          cache-dependency-path: pyproject.toml\n          cache: 'pip'\n\n      - name: Install Dependencies\n        run: |\n          pip install --upgrade pip\n          pip install codecov\n\n      - name: Download coverage data\n        uses: actions/download-artifact@v4\n        with:\n          pattern: coverage reports*\n          path: coverage\n          merge-multiple: true\n\n      - name: combine coverage data\n        run: |\n          python -Im coverage combine coverage\n          python -Im coverage xml -o coverage.xml\n\n          # Report and write to summary.\n          python -Im coverage report --format=markdown --skip-empty --skip-covered >> $GITHUB_STEP_SUMMARY\n\n      - name: Upload coverage data\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.codecov_token }}\n          version: v0.6.0\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:56.729140", "created_at": "2023-10-06T10:18:59+02:00", "updated_at": "2024-04-13T15:38:41+02:00", "name": "Test installed from pip", "path": ".github/workflows/reusable_pip_test.yml", "contents": "name: Test installed from pip\n\non:\n  workflow_call:\n\njobs:\n  test_pip_install:\n    name: ubuntu-latest 3.9 pip install\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: napari-from-github\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n          cache: \"pip\"\n          cache-dependency-path: napari-from-github/pyproject.toml\n\n      - uses: tlambert03/setup-qt-libs@v1\n\n      - name: Install this commit\n        run: |\n          pip install --upgrade pip\n          pip install ./napari-from-github[pyqt,testing]\n        env:\n          PIP_CONSTRAINT: napari-from-github/resources/constraints/constraints_py3.9.txt\n\n      - name: uninstall numba\n        run: |\n          pip uninstall -y numba\n\n      - name: Test\n        uses: aganders3/headless-gui@v2\n        with:\n          run: |\n            python -m pytest --pyargs napari --color=yes --basetemp=.pytest_tmp\n            python -m pytest --pyargs napari_builtins --color=yes --basetemp=.pytest_tmp\n\n      - name: Upload test artifacts\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: test artifacts pip install\n          path: .pytest_tmp\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:57.761575", "created_at": "2023-10-06T10:18:59+02:00", "updated_at": "2024-04-13T15:38:41+02:00", "name": "Run test by tox", "path": ".github/workflows/reusable_run_tox_test.yml", "contents": "name: Run test by tox\n\non:\n  workflow_call:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      platform:\n        required: false\n        type: string\n        default: \"ubuntu-latest\"\n      toxenv:\n        required: false\n        type: string\n        default: \"\"\n      qt_backend:\n        required: false\n        type: string\n        default: \"headless\"\n      min_req:\n        required: false\n        type: string\n        default: \"\"\n      coverage:\n        required: false\n        type: string\n        default: no_cov\n      timeout:\n        required: false\n        type: number\n        default: 40\n      constraints_suffix:\n        required: false\n        type: string\n        default: \"\"\n      tox_extras:\n        required: false\n        type: string\n        default: \"\"\n\njobs:\n  test:\n    name: ${{ inputs.platform }} py ${{ inputs.python_version }} ${{ inputs.toxenv || inputs.qt_backend }} ${{ inputs.MIN_REQ && 'min_req' }} ${{ inputs.coverage }}\n    runs-on: ${{ inputs.platform }}\n    env:\n      TOXENV: ${{ inputs.toxenv }}\n      NUMPY_EXPERIMENTAL_ARRAY_FUNCTION: ${{ inputs.MIN_REQ || 1 }}\n      PYVISTA_OFF_SCREEN: True\n      MIN_REQ: ${{ inputs.min_req }}\n      FORCE_COLOR: 1\n      PIP_CONSTRAINT: ${{ github.workspace }}/resources/constraints/constraints_py${{ inputs.python_version }}${{ (((inputs.platform == 'macos-latest') && '_macos_arm') || '') }}${{ inputs.min_req && '_min_req' }}${{ inputs.constraints_suffix }}.txt\n      UV_CONSTRAINT: ${{ github.workspace }}/resources/constraints/constraints_py${{ inputs.python_version }}${{ (((inputs.platform == 'macos-latest') && '_macos_arm') || '') }}${{ inputs.min_req && '_min_req' }}${{ inputs.constraints_suffix }}.txt\n      # Above we calculate path to constraints file based on python version and platform\n      # Because there is no single PyQt5-Qt5 package version available for all platforms we was forced to use\n      # different constraints files for macOS arm and other platforms\n      # ${{ (((inputs.platform == 'macos-latest') && '_macos_arm') || '') }} - if platform is macOS-latest then add '_macos_arm' to constraints file name, else add nothing\n      # ${{ inputs.min_req && '_min_req' }} - if min_req is set then add '_min_req' to constraints file name, else add nothing\n      #  ${{ inputs.constraints_suffix }} - additional suffix for constraints file name (used for example testing).\n      COVERAGE: ${{ inputs.coverage }}\n      TOX_WORK_DIR: .tox\n      TOX_EXTRAS: ${{ inputs.tox_extras }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: dist\n\n      - name: Set wheel path\n        run: echo \"WHEEL_PATH=$(ls dist/*.whl)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Set up Python ${{ inputs.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.python_version }}\n          cache: \"pip\"\n          cache-dependency-path: pyproject.toml\n\n      - uses: tlambert03/setup-qt-libs@v1\n\n      - name: Setup Graphviz\n        uses: ts-graphviz/setup-graphviz@v2\n        continue-on-error: true\n\n      # strategy borrowed from vispy for installing opengl libs on windows\n      - name: Install Windows OpenGL\n        if: runner.os == 'Windows'\n        run: |\n          git clone --depth 1 https://github.com/pyvista/gl-ci-helpers.git\n          powershell gl-ci-helpers/appveyor/install_opengl.ps1\n          if (Test-Path -Path \"C:\\Windows\\system32\\opengl32.dll\" -PathType Leaf) {Exit 0} else {Exit 1}\n\n      - name: Disable ptrace security restrictions\n        if: runner.os == 'Linux'\n        run: |\n          echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope\n\n      # tox and tox-gh-actions will take care of the \"actual\" installation\n      # of python dependendencies into a virtualenv.  see tox.ini for more\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install setuptools tox tox-gh-actions tox-min-req tox-uv\n        env:\n          PIP_CONSTRAINT: \"\"\n\n      - name: create _version.py file\n        # workaround for not using src layout\n        run: |\n          echo \"__version__ = version = '0.5.0a2.dev364'\" > napari/_version.py\n          echo \"__version_tuple__ = version_tuple = (0, 5, 0, 'dev364', '')\" >> napari/_version.py\n\n      # here we pass off control of environment creation and running of tests to tox\n      # tox-gh-actions, installed above, helps to convert environment variables into\n      # tox \"factors\" ... limiting the scope of what gets tested on each platform\n      # for instance, on ubuntu-latest with python 3.8, it would be equivalent to this command:\n      # `tox -e py38-linux-pyqt,py38-linux-pyside`\n      # see tox.ini for more\n\n      - name: Split qt backend\n        # This is a hack to split the qt_backend variable into four parts\n        # This is required as github actions allow setting only one environment variable in\n        # a single line (redirection to $GITHUB_ENV).\n        #\n        # For example, if qt_backend is set to \"pyqt5,pyside2\", then the following four\n        # environment variables will be set:\n        # MAIN=pyqt5\n        # SECOND=pyside2\n        # THIRD=none\n        # FOURTH=none\n        shell: bash\n        run: |\n          python tools/split_qt_backend.py 0 ${{ inputs.qt_backend }} >> $GITHUB_ENV\n          python tools/split_qt_backend.py 1 ${{ inputs.qt_backend }} >> $GITHUB_ENV\n          python tools/split_qt_backend.py 2 ${{ inputs.qt_backend }} >> $GITHUB_ENV\n          python tools/split_qt_backend.py 3 ${{ inputs.qt_backend }} >> $GITHUB_ENV\n\n      - name: Test with tox main\n        timeout-minutes: ${{ inputs.timeout }}\n        uses: aganders3/headless-gui@v2\n        with:\n          shell: bash\n          run: |\n            echo ${{ env.MAIN }}\n            python -m tox run --installpkg ${{ env.WHEEL_PATH }} -- --basetemp=.pytest_tmp\n            rm -r .tox\n        env:\n          BACKEND: ${{ env.MAIN }}\n          TOX_WORK_DIR: .tox\n\n      - name: Test with tox second\n        timeout-minutes: ${{ inputs.timeout }}\n        uses: aganders3/headless-gui@v2\n        if : ${{ env.SECOND != 'none' }}\n        with:\n          shell: bash\n          run: |\n            python -m tox run --installpkg ${{ env.WHEEL_PATH }} -- --basetemp=.pytest_tmp\n            rm -r .tox\n        env:\n          BACKEND: ${{ env.SECOND }}\n          NAPARI_TEST_SUBSET: qt\n\n      - name: Test with tox third\n        timeout-minutes: ${{ inputs.timeout }}\n        uses: aganders3/headless-gui@v2\n        if : ${{ env.THIRD != 'none' }}\n        with:\n          shell: bash\n          run: |\n            python -m tox run --installpkg ${{ env.WHEEL_PATH }} -- --basetemp=.pytest_tmp\n            rm -r .tox\n        env:\n          BACKEND: ${{ env.THIRD }}\n          NAPARI_TEST_SUBSET: qt\n\n      - name: Test with tox fourth\n        timeout-minutes: ${{ inputs.timeout }}\n        uses: aganders3/headless-gui@v2\n        if: ${{ env.FOURTH != 'none' }}\n        with:\n          shell: bash\n          run: |\n            python -m tox run --installpkg ${{ env.WHEEL_PATH }} -- --basetemp=.pytest_tmp\n            rm -r .tox\n        env:\n          BACKEND: ${{ env.FOURTH }}\n          NAPARI_TEST_SUBSET: qt\n\n      - name: Upload test artifacts\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: test artifacts ${{ inputs.platform }} py ${{ inputs.python_version }} ${{ inputs.toxenv || inputs.qt_backend }}\n          path: .pytest_tmp\n\n      - name: Upload leaked viewer graph\n        if: failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: leaked ${{ inputs.platform }} py ${{ inputs.python_version }} ${{ inputs.toxenv || inputs.qt_backend }}\n          path: ./*leak-backref-graph*.pdf\n\n      - name: Upload pytest timing reports as json ${{ inputs.platform }} py ${{ inputs.python_version }} ${{ inputs.toxenv || inputs.qt_backend }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: upload pytest timing json ${{ inputs.platform }} py ${{ inputs.python_version }} ${{ inputs.toxenv || inputs.qt_backend }} ${{ inputs.tox_extras }}\n          path: |\n            ./report-*.json\n\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v4\n        if: ${{ inputs.coverage == 'cov' }}\n        with:\n          name: coverage reports ${{ inputs.platform }} py ${{ inputs.python_version }} ${{ inputs.toxenv || inputs.qt_backend }}\n          path: |\n            ./.coverage.*\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:58.899447", "created_at": "2020-12-29T17:35:08+01:00", "updated_at": "2024-02-29T08:57:09+01:00", "name": "Comprehensive Test", "path": ".github/workflows/test_comprehensive.yml", "contents": "# The Comprehensive test suite, which will be run anytime anything is merged into main.\n# See test_pull_request.yml for the tests that will be run\nname: Comprehensive Test\n\non:\n  push:\n    branches:\n      - main\n      - \"v*x\"\n    tags:\n      - \"v*\" # Push events to matching v*, i.e. v1.0, v20.15.10\n  pull_request:\n    paths:\n      - '.github/workflows/test_comprehensive.yml'\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nenv:\n  COLUMNS: 120\n\nconcurrency:\n  group: comprehensive-test\n\njobs:\n  manifest:\n    name: Check Manifest\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: \"Set up Python 3.11\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install check-manifest\n      - name: Check Manifest\n        run: check-manifest\n\n  build_wheel:\n    name: Build wheel\n    uses: ./.github/workflows/reusable_build_wheel.yml\n\n  test:\n    name: ${{ matrix.platform }}\n    uses: ./.github/workflows/reusable_run_tox_test.yml\n    needs: build_wheel\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest, windows-latest]\n        python: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        backend: [pyqt5, pyside2]\n        include:\n          - python: \"3.10\"\n            platform: macos-latest\n            backend: pyqt5\n          # test with minimum specified requirements\n          - python: \"3.9\"\n            platform: ubuntu-20.04\n            backend: pyqt5\n            MIN_REQ: 1\n          # test without any Qt backends\n          - python: \"3.9\"\n            platform: ubuntu-20.04\n            backend: headless\n          - python: \"3.12\"\n            platform: ubuntu-latest\n            backend: pyqt6\n            tox_extras: \"testing_extra\"\n          - python: \"3.11\"\n            platform: ubuntu-latest\n            backend: pyside6\n            tox_extras: \"testing_extra\"\n        exclude:\n          - python: \"3.11\"\n            backend: pyside2\n          - python: \"3.12\"\n            backend: pyside2\n          - platform: windows-latest\n            backend: pyside2\n    with:\n      python_version: ${{ matrix.python }}\n      platform: ${{ matrix.platform }}\n      qt_backend: ${{ matrix.backend }}\n      min_req: ${{ matrix.MIN_REQ }}\n      coverage: cov\n      toxenv: ${{ matrix.toxenv }}\n      tox_extras: ${{ matrix.tox_extras }}\n\n  test_pip_install:\n    name: pip install\n    uses: ./.github/workflows/reusable_pip_test.yml\n\n  test_examples:\n    name: test examples\n    uses: ./.github/workflows/reusable_run_tox_test.yml\n    needs: build_wheel\n    with:\n        toxenv: py39-linux-pyside2-examples-cov\n        timeout: 60\n        python_version: 3.9\n        constraints_suffix: _examples\n        coverage: cov\n\n  coverage_report:\n    if: ${{ always() }}\n    needs:\n      - test\n      - test_examples\n    uses: ./.github/workflows/reusable_coverage_upload.yml\n    secrets:\n      codecov_token: ${{ secrets.CODECOV_TOKEN }}\n\n  synchronize_bot_repository:\n    name: Synchronize bot repository\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/main' && github.repository == 'napari/napari'\n    permissions:\n      contents: read\n      issues: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.GHA_TOKEN_BOT_REPO_WORKFLOW }}\n      - name: Synchronize bot repository\n        run: |\n          git remote add napari-bot https://github.com/napari-bot/napari.git\n          git fetch napari-bot\n          git push --force --set-upstream napari-bot main\n      - name: Report Failures\n\n        if: ${{ failure() }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          RUN_ID: ${{ github.run_id }}\n          TITLE: '[bot-repo] bot repo update is failing'\n        with:\n          filename: .github/BOT_REPO_UPDATE_FAIL_TEMPLATE.md\n          update_existing: true\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T14:59:59.932910", "created_at": "2020-12-29T17:35:08+01:00", "updated_at": "2021-04-29T13:58:00+02:00", "name": "--pre Test", "path": ".github/workflows/test_prereleases.yml", "contents": "# An \"early warning\" cron job that will install dependencies\n# with `pip install --pre` periodically to test for breakage\n# (and open an issue if a test fails)\nname: --pre Test\n\non:\n  schedule:\n    - cron: '0 */12 * * *'  # every 12 hours\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - '.github/workflows/test_prereleases.yml'\n\nenv:\n  COLUMNS: 120\n\njobs:\n  test:\n    name: ${{ matrix.platform }} py${{ matrix.python }} ${{ matrix.backend }} --pre\n    timeout-minutes: 40\n    runs-on: ${{ matrix.platform }}\n    permissions:\n      contents: read\n      issues: write\n    if: ${{ github.repository == 'napari/napari' || github.event_name == 'workflow_dispatch' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [windows-latest, macos-latest, ubuntu-latest]\n        python: [3.12]\n        backend: [pyqt5, pyqt6]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache-dependency-path: pyproject.toml\n\n      - uses: tlambert03/setup-qt-libs@v1\n\n      - name: Install Windows OpenGL\n        if: runner.os == 'Windows'\n        run: |\n          git clone --depth 1 https://github.com/pyvista/gl-ci-helpers.git\n          powershell gl-ci-helpers/appveyor/install_opengl.ps1\n          if (Test-Path -Path \"C:\\Windows\\system32\\opengl32.dll\" -PathType Leaf) {Exit 0} else {Exit 1}\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install setuptools tox tox-gh-actions\n\n      - name: Test with tox\n        # run tests using pip install --pre\n        uses: aganders3/headless-gui@v2\n        with:\n          run: python -m tox -v --pre\n        env:\n          PLATFORM: ${{ matrix.platform }}\n          BACKEND: ${{ matrix.backend }}\n          COVERAGE: \"no_cov\"\n          PYVISTA_OFF_SCREEN: True  # required for opengl on windows\n\n      # If something goes wrong, we can open an issue in the repo\n      - name: Report Failures\n        if: ${{ failure() && github.event_name == 'schedule' }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PLATFORM: ${{ matrix.platform }}\n          PYTHON: ${{ matrix.python }}\n          BACKEND: ${{ matrix.backend }}\n          RUN_ID: ${{ github.run_id }}\n          TITLE: '[test-bot] pip install --pre is failing'\n        with:\n          filename: .github/TEST_FAIL_TEMPLATE.md\n          update_existing: true\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T15:00:00.965900", "created_at": "2020-12-29T17:35:08+01:00", "updated_at": "2023-10-13T21:19:40+02:00", "name": "PR Test", "path": ".github/workflows/test_pull_requests.yml", "contents": "# Our minimal suite of tests that run on each pull request\nname: PR Test\n\non:\n  pull_request:\n    branches:\n      - main\n      - \"v*x\"\n\nconcurrency:\n  group: test-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  COLUMNS: 120\n\njobs:\n  import_lint:\n    name: Import lint\n    timeout-minutes: 5\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install tox\n      - name: Run import lint\n        run: tox -e import-lint\n\n  manifest:\n    # make sure all necessary files will be bundled in the release\n    name: Check Manifest\n    timeout-minutes: 15\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache-dependency-path: pyproject.toml\n          cache: 'pip'\n      - name: Install Dependencies\n        run: pip install --upgrade pip\n      - name: Install Napari dev\n        run: pip install -e .[build]\n      - name: Make Typestubs\n        run: |\n          make typestubs\n      - name: Check Manifest\n        run: |\n          make check-manifest\n\n  localization_syntax:\n    # make sure all necessary files will be bundled in the release\n    name: Check l18n syntax\n    runs-on: ubuntu-latest\n    timeout-minutes: 2\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Check localization formatting\n        run: |\n          pip install --upgrade pip semgrep\n          # f\"...\" and f'...' are the same for semgrep\n          semgrep --error --lang python --pattern 'trans._(f\"...\")' napari\n          semgrep --error --lang python --pattern 'trans._($X.format(...))' napari\n\n  build_wheel:\n    name: Build wheel\n    uses: ./.github/workflows/reusable_build_wheel.yml\n\n  test_initial:\n    name: Initial test\n    uses: ./.github/workflows/reusable_run_tox_test.yml\n    needs: build_wheel\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python: 3.9\n            platform: ubuntu-latest\n            backend: pyqt5\n            pydantic: \"_pydantic_1\"\n            coverage: no_cov\n          - python: 3.12\n            platform: ubuntu-latest\n            backend: pyqt6\n            pydantic: \"\"\n            coverage: no_cov\n    with:\n      python_version: ${{ matrix.python }}\n      platform: ${{ matrix.platform }}\n      qt_backend: ${{ matrix.backend }}\n      coverage: ${{ matrix.coverage }}\n      min_req: ${{ matrix.MIN_REQ }}\n      constraints_suffix: ${{ matrix.pydantic }}\n\n  test:\n    name: ${{ matrix.platform }}\n    uses: ./.github/workflows/reusable_run_tox_test.yml\n    needs: test_initial\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ ubuntu-latest ]\n        python: [ \"3.9\", \"3.11\" ]\n        backend: [ \"pyqt5,pyside6\" ]\n        coverage: [ cov ]\n        pydantic: [\"_pydantic_1\"]\n        include:\n          # Windows py310\n          - python: \"3.10\"\n            platform: windows-latest\n            backend: pyqt5 #,pyside2\n            coverage: no_cov\n          - python: \"3.12\"\n            platform: windows-latest\n            backend: pyqt6\n            coverage: no_cov\n          - python: \"3.12\"\n            platform: macos-13\n            backend: pyqt5\n            coverage: no_cov\n          - python: \"3.12\"\n            platform: macos-latest\n            backend: pyqt5\n            coverage: no_cov\n          # minimum specified requirements\n          - python: \"3.9\"\n            platform: ubuntu-20.04\n            backend: pyqt5\n            MIN_REQ: 1\n            coverage: cov\n          - python: \"3.11\"\n            platform: ubuntu-22.04\n            backend: pyqt5\n            coverage: cov\n            pydantic: \"\"\n            tox_extras: \"optional\"\n          # test without any Qt backends\n          - python: \"3.10\"\n            platform: ubuntu-20.04\n            backend: headless\n            coverage: no_cov\n          - python: \"3.12\"\n            platform: ubuntu-latest\n            backend: pyqt6\n            coverage: cov\n            tox_extras: \"testing_extra\"\n          # pyside2 test\n          - python: \"3.10\"\n            platform: ubuntu-latest\n            backend: pyside2\n            coverage: no_cov\n\n    with:\n      python_version: ${{ matrix.python }}\n      platform: ${{ matrix.platform }}\n      qt_backend: ${{ matrix.backend }}\n      min_req: ${{ matrix.MIN_REQ }}\n      coverage: ${{ matrix.coverage }}\n      toxenv: ${{ matrix.toxenv }}\n      tox_extras: ${{ matrix.tox_extras }}\n      constraints_suffix: ${{ matrix.pydantic }}\n\n\n  test_pip_install:\n    needs: test_initial\n    name: pip install\n    uses: ./.github/workflows/reusable_pip_test.yml\n\n  test_examples:\n    name: test examples\n    uses: ./.github/workflows/reusable_run_tox_test.yml\n    needs: test_initial\n    with:\n        toxenv: py39-linux-pyside2-examples-cov\n        timeout: 60\n        python_version: 3.9\n        constraints_suffix: _examples\n        coverage: cov\n\n  coverage_report:\n    if: ${{ always() }}\n    needs:\n      - test\n      - test_examples\n    uses: ./.github/workflows/reusable_coverage_upload.yml\n    secrets:\n      codecov_token: ${{ secrets.CODECOV_TOKEN }}\n\n\n  test_benchmarks:\n    name: test benchmarks\n    runs-on: ubuntu-latest\n    needs: test_initial\n    timeout-minutes: 60\n    env:\n      GIT_LFS_SKIP_SMUDGE: 1\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n          cache-dependency-path: pyproject.toml\n\n      - uses: tlambert03/setup-qt-libs@v1\n\n      - uses: octokit/request-action@v2.x\n        # here we get hash of the latest release commit to compare with PR\n        id: latest_release\n        with:\n          route: GET /repos/{owner}/{repo}/releases/latest\n          owner: napari\n          repo: napari\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install asv[virtualenv]\n\n      - name: asv machine\n        run: asv machine --yes\n\n      - name: Run benchmarks PR\n        uses: aganders3/headless-gui@v2\n        with:\n          run: |\n            asv run --show-stderr --quick  --attribute timeout=300 HEAD^!\n        env:\n          PR: 1 # prevents asv from running very compute-intensive benchmarks\n\n      - name: Run benchmarks latest release\n        # here we check if the benchmark on the latest release is not broken\n        uses: aganders3/headless-gui@v2\n        with:\n          run: |\n            asv run --show-stderr --quick  --attribute timeout=300  ${{ fromJSON(steps.latest_release.outputs.data).target_commitish }}^!\n        env:\n          PR: 1  # prevents asv from running very compute-intensive benchmarks\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T15:00:02.008303", "created_at": "2021-04-23T02:12:19+02:00", "updated_at": "2021-04-23T02:12:19+02:00", "name": "Test translations", "path": ".github/workflows/test_translations.yml", "contents": "name: Test translations\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    - cron:  '0 1 * * *'\n  workflow_dispatch:\n\njobs:\n  translations:\n    name: Check missing translations\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      issues: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache-dependency-path: pyproject.toml\n      - name: Install napari\n        run: |\n          pip install -e .[all]\n          pip install -e .[testing]\n      - name: Run check\n        run: |\n          python -m pytest -Wignore tools/ --tb=short\n      - uses: JasonEtco/create-an-issue@v2\n        if: ${{ failure() }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filename: .github/missing_translations.md\n          update_existing: true\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T15:00:03.235983", "created_at": "2021-06-03T00:06:26+02:00", "updated_at": "2021-06-03T00:06:26+02:00", "name": "Test typing", "path": ".github/workflows/test_typing.yml", "contents": "name: Test typing\n\non:\n  pull_request:\n    branches:\n      - main\n\nconcurrency:\n  group: typing-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  typing:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache-dependency-path: pyproject.toml\n      - name: Install tox\n        run: |\n          pip install tox\n\n      - name: Run mypy on typed modules\n        run: tox -e mypy\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T15:00:04.465261", "created_at": "2021-11-16T22:48:52+01:00", "updated_at": "2022-10-08T00:50:08+02:00", "name": "Test vendored", "path": ".github/workflows/test_vendored.yml", "contents": "name: Test vendored\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    - cron:  '0 2 * * *'\n\njobs:\n  vendor:\n    name: Vendored\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Run check\n        id: check_v\n        run: python tools/check_vendored_modules.py --ci\n\n      - name: Create PR updating vendored modules\n        uses: peter-evans/create-pull-request@v6\n        with:\n          commit-message: Update vendored modules.\n          branch: update-vendored-examples\n          delete-branch: true\n          title: \"[Automatic] Update ${{ steps.check_v.outputs.vendored }} vendored module\"\n          body: |\n            This PR is automatically created and updated by napari GitHub\n            action cron to keep vendored modules up to date.\n\n            It look like ${{ steps.check_v.outputs.vendored }} has a new version.\n          token: ${{ secrets.GHA_TOKEN }}\n          author: napari-bot <napari-bot@users.noreply.github.com>\n          # Token permissions required by the action:\n          # * pull requests: write and read\n          # * repository contents: read and write\n          # for screenshots please see https://github.com/napari/napari/pull/5777\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T15:00:05.796910", "created_at": "2023-04-22T13:58:26+02:00", "updated_at": "2023-04-22T13:58:26+02:00", "name": "Upgrade test constraints", "path": ".github/workflows/upgrade_test_constraints.yml", "contents": "# This is a workflow for upgrading test constraints. It is triggered by:\n# - On-demand workflow_dispatch\n# - weekly schedule (every Monday at 8:00 UTC)\n# - issue_comment with text \"@napari-bot update constraints\"\n# - pull_request with changed .github/workflows/upgrade_test_constraints.yml\n#\n# The GitHub workflows have the following limitations:\n# - There is no pull request comment trigger for workflows.\n#   The `issue_comment` trigger is used instead, because it is used for pull requests too.\n# - If a workflow is triggered by pull_requests from forked repository,\n#   then it does not have access to secrets.\n#   So it is not possible to create PR from forked repository.\n# - If workflow is triggered by issue comment, then it is triggered on the main branch\n#   and not on the branch where the comment was created.\n# - In workflow triggers it is only possible to depend on created event, without any conditions.\n#   So it is not possible to trigger workflow only when the comment contains specific text.\n#   So we need to check it in the workflow.\n#   It will produce multiple empty runs that will create multiple empty entries in actions\n#   making it harder to find the right one.\n# - It is not possible to update pull request from forked repository using Fine grained personal token.\n# - It is not possible to create pull request to forked repository using Fine grained personal token.\n# - There is no interface indicator that the workflow triggered by issue comment is running.\n#\n# Also, for safety reason, it is better to store automatically generated changes outside the main repository.\n#\n# Because of the above limitations, the following approach is used:\n# - We use `napari-bot/napari` repository to store automatically generated changes.\n# - We don't push changes to `napari-bot/napari` repository if PR contains changes in workflows.\n# - We use two checkouts of repository:\n#   * First into `.` directory from which we run the workflow.\n#   * Second into `napari_repo` directory from which we create pull request.\n#     If comment triggers the workflow, then this will contain the branch from which the PR was created.\n#     Changes will be pushed to `napari-bot/napari` repository.\n#     If schedule or workflow_dispatch triggers workflow, then this will contain the main branch.\n#     Changes will not be pushed to `napari/napari` repository.\n#     If pull_request triggers workflow, then this will contain PR branch.\n#     Changes will be only accessible as artifacts.\n# - If workflow is triggered by issue comment,\n#   then we add eyes reaction to the comment to show that workflow has started.\n#   After finishing calculation of new constraints, we add rocket reaction to the comment.\n#   Then pushing changes to `napari-bot/napari` repository and adding comment to the PR is\n#   done by `tools/create_pr_or_update_existing_one.py`.\nname: Upgrade test constraints\n\non:\n  workflow_dispatch: # Allow running on-demand\n  schedule:\n    # Runs every Monday at 8:00 UTC (4:00 Eastern)\n    - cron: '0 8 * * 1'\n\n  issue_comment:\n    types: [ created ]\n\n  pull_request:\n    paths:\n      - '.github/workflows/upgrade_test_constraints.yml'\n\njobs:\n  upgrade:\n    permissions:\n      pull-requests: write\n      issues: write\n    name: Upgrade & Open Pull Request\n    if: (github.event.issue.pull_request != '' && contains(github.event.comment.body, '@napari-bot update constraints')) || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || github.event_name == 'pull_request'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Add eyes reaction\n        # show that workflow has started\n        if: github.event_name == 'issue_comment'\n        run: |\n          COMMENT_ID=${{ github.event.comment.id }}\n          curl \\\n            -X POST \\\n            -H \"Accept: application/vnd.github+json\" \\\n            -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" \\\n            \"https://api.github.com/repos/${{ github.repository }}/issues/comments/$COMMENT_ID/reactions\" \\\n            -d '{\"content\": \"eyes\"}'\n\n      - name: Get PR details\n        # extract PR number and branch name from issue_comment event\n        if: github.event_name == 'issue_comment'\n        run: |\n          PR_number=${{ github.event.issue.number }}\n          PR_data=$(curl \\\n              -H \"Accept: application/vnd.github.v3+json\" \\\n              \"https://api.github.com/repos/${{ github.repository }}/pulls/$PR_number\" \\\n          )\n\n          FULL_NAME=$(echo $PR_data  | jq -r .head.repo.full_name)\n          echo \"FULL_NAME=$FULL_NAME\" >> $GITHUB_ENV\n\n          BRANCH=$(echo $PR_data  | jq -r .head.ref)\n          echo \"BRANCH=$BRANCH\" >> $GITHUB_ENV\n\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Get repo info\n        # when schedule or workflow_dispatch triggers workflow, then we need to get info about which branch to use\n        if: github.event_name != 'issue_comment' && github.event_name != 'pull_request'\n        run: |\n          echo \"FULL_NAME=${{ github.repository }}\" >> $GITHUB_ENV\n          echo \"BRANCH=${{ github.ref_name }}\" >> $GITHUB_ENV\n\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Clone docs repo\n        uses: actions/checkout@v4\n        with:\n          path: docs  # place in a named directory\n          repository: napari/docs\n\n      - name: Clone target repo (remote)\n        uses: actions/checkout@v4\n        if: github.event_name == 'issue_comment'\n        with:\n          path: napari_repo  # place in a named directory\n          repository: ${{ env.FULL_NAME }}\n          ref: ${{ env.BRANCH }}\n          token: ${{ secrets.GHA_TOKEN_BOT_REPO }}\n\n      - name: Clone target repo (pull request)\n        # we need separate step as passing empty token to actions/checkout@v4 will not work\n        uses: actions/checkout@v4\n        if: github.event_name == 'pull_request'\n        with:\n          path: napari_repo  # place in a named directory\n\n      - name: Clone target repo (main)\n        uses: actions/checkout@v4\n        if: github.event_name != 'issue_comment' && github.event_name != 'pull_request'\n        with:\n          path: napari_repo  # place in a named directory\n          repository: ${{ env.FULL_NAME }}\n          ref: ${{ env.BRANCH }}\n          token: ${{ secrets.GHA_TOKEN_NAPARI_BOT_MAIN_REPO }}\n\n      - name: Add napari-bot/napari to napari_repo upstreams\n        run: |\n          cd napari_repo\n          git remote -v\n          git remote add napari-bot https://github.com/napari-bot/napari.git\n          git remote -v\n\n      # START PYTHON DEPENDENCIES\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n          cache-dependency-path: 'pyproject.toml'\n\n      - name: Upgrade Python dependencies\n        # ADD YOUR CUSTOM DEPENDENCY UPGRADE COMMANDS BELOW\n        run: |\n          set -x\n          pip install -U uv\n          flags=\"--quiet\"\n          # Explanation of below commands\n          # uv pip compile --python-version 3.9 - call uv pip compile but ensure proper interpreter\n          # --upgrade upgrade to the latest possible version. Without this pip-compile will take a look to output files and reuse versions (so will ad something on when adding dependency.\n          # -o resources/constraints/constraints_py3.9.txt - output file\n          # pyproject.toml resources/constraints/version_denylist.txt - source files. the resources/constraints/version_denylist.txt - contains our test specific constraints like pytes-cov`\n          #\n          # --extra pyqt5 etc - names of extra sections from pyproject.toml that should be checked for the dependencies list (maybe we could create a super extra section to collect them all in)\n          flags+=\" --extra pyqt5\"\n          flags+=\" --extra pyqt6_experimental\"\n          flags+=\" --extra pyside2\"\n          flags+=\" --extra pyside6_experimental\"\n          flags+=\" --extra testing\"\n          flags+=\" --extra testing_extra\"\n          flags+=\" --extra optional\"\n          prefix=\"napari_repo\"\n          pyproject_toml=\"${prefix}/pyproject.toml\"\n          constraints=\"${prefix}/resources/constraints\"\n\n\n          for pyv in 3.9 3.10 3.11 3.12; do\n            uv pip compile --python-version ${pyv} --upgrade --output-file $constraints/constraints_py${pyv}.txt  $pyproject_toml $constraints/version_denylist.txt ${flags}\n            uv pip compile --python-version ${pyv} --upgrade --output-file $constraints/constraints_py${pyv}_pydantic_1.txt  $pyproject_toml $constraints/version_denylist.txt $constraints/pydantic_le_2.txt ${flags}\n            uv pip compile --python-platform aarch64-apple-darwin  --python-version ${pyv} --upgrade --output-file $constraints/constraints_py${pyv}_macos_arm.txt  $pyproject_toml $constraints/version_denylist.txt ${flags}\n          done\n\n\n          uv pip compile --python-version 3.9 --upgrade --output-file $constraints/constraints_py3.9_examples.txt $pyproject_toml $constraints/version_denylist.txt resources/constraints/version_denylist_examples.txt ${flags}\n          uv pip compile --python-version 3.10 --upgrade --output-file $constraints/constraints_py3.10_docs.txt $pyproject_toml $constraints/version_denylist.txt resources/constraints/version_denylist_examples.txt docs/requirements.txt $constraints/pydantic_le_2.txt ${flags}\n          uv pip compile --python-version 3.11 --upgrade --output-file ${prefix}/resources/requirements_mypy.txt ${prefix}/resources/requirements_mypy.in\n\n      # END PYTHON DEPENDENCIES\n\n      - name: Upload constraints\n        uses: actions/upload-artifact@v4\n        with:\n          name: constraints\n          path: |\n            napari_repo/resources/constraints/constraints*.txt\n\n      - name: Add rocket reaction\n        # inform that new constraints are available in artifacts\n        if: github.event_name == 'issue_comment'\n        run: |\n          COMMENT_ID=${{ github.event.comment.id }}\n          curl \\\n            -X POST \\\n            -H \"Accept: application/vnd.github+json\" \\\n            -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" \\\n            \"https://api.github.com/repos/${{ github.repository }}/issues/comments/$COMMENT_ID/reactions\" \\\n            -d '{\"content\": \"rocket\"}'\n\n      - name: Create commit\n        run: |\n          pip install requests\n          python tools/create_pr_or_update_existing_one.py\n        env:\n            GHA_TOKEN_MAIN_REPO: ${{ secrets.GHA_TOKEN_NAPARI_BOT_MAIN_REPO }}\n            PR_NUMBER: ${{ github.event.issue.number }}\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "napari/napari"}
{"mined_at": "2024-07-15T15:00:08.151493", "created_at": "2021-01-12T23:13:50+01:00", "updated_at": "2021-01-12T23:13:50+01:00", "name": "Slycot from source", "path": ".github/workflows/control-slycot-src.yml", "contents": "name: Slycot from source\n\non: [push, pull_request]\n\njobs:\n  build-linux:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout python-control\n      uses: actions/checkout@v3\n      with:\n        path: python-control\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.12'\n    - name: Install Python dependencies and test tools\n      run: pip install -v './python-control[test]'\n\n    - name: Checkout Slycot\n      uses: actions/checkout@v3\n      with:\n        repository: python-control/Slycot\n        submodules: recursive\n        fetch-depth: 0\n        path: slycot\n    - name: Install slycot from source\n      env:\n        BLA_VENDOR: Generic\n        CMAKE_GENERATOR: Unix Makefiles\n      working-directory: slycot\n      run: |\n        # Install compilers, libraries, and development environment\n        sudo apt-get -y install gfortran cmake --fix-missing\n        sudo apt-get -y install libblas-dev liblapack-dev\n\n        # Compile and install slycot\n        pip install -v .\n\n    - name: Test with pytest\n      working-directory: python-control\n      run: pytest -v control/tests\n", "state": "active", "repository": "python-control/python-control"}
{"mined_at": "2024-07-15T15:00:09.382346", "created_at": "2023-02-21T13:20:51+01:00", "updated_at": "2023-03-27T04:02:12+02:00", "name": "Doctest", "path": ".github/workflows/doctest.yml", "contents": "name: Doctest\n\non: [push, pull_request]\n\njobs:\n  doctest-linux:\n    # doctest needs to run only on \n    # latest-greatest platform with full options    \n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout python-control\n      uses: actions/checkout@v3\n\n    - name: Setup Conda\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: 3.12\n        activate-environment: doctest-env\n        environment-file: .github/conda-env/doctest-env.yml\n        miniforge-version: latest\n        miniforge-variant: Mambaforge\n        channels: conda-forge\n        channel-priority: strict\n        auto-update-conda: false\n        auto-activate-base: false\n\n    - name: Install full dependencies\n      shell: bash -l {0}\n      run: |\n        mamba install cvxopt pandas slycot \n\n    - name: Run doctest\n      shell: bash -l {0}\n      working-directory: doc\n      run: |\n        make html\n        make doctest\n\n    - name: Archive results\n      uses: actions/upload-artifact@v3\n      with:\n        name: doctest-output\n        path: doc/_build/doctest/output.txt\n", "state": "active", "repository": "python-control/python-control"}
{"mined_at": "2024-07-15T15:00:10.509707", "created_at": "2021-01-27T06:40:40+01:00", "updated_at": "2023-10-22T07:33:19+02:00", "name": "Setup, Examples, Notebooks", "path": ".github/workflows/install_examples.yml", "contents": "name: Setup, Examples, Notebooks\n\non: [push, pull_request]\n\njobs:\n  install-examples:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Check out the python-control sources\n      uses: actions/checkout@v3\n    - name: Set up conda using the preinstalled GHA Miniconda\n      run: echo $CONDA/bin >> $GITHUB_PATH\n    - name: Install Python dependencies from conda-forge\n      run: |\n        conda create \\\n           --name control-examples-env \\\n           --channel conda-forge \\\n           --strict-channel-priority \\\n           --quiet --yes \\\n           python=3.12 pip \\\n           numpy matplotlib scipy \\\n           slycot pmw jupyter\n\n    - name: Install from source\n      run: |\n        conda run -n control-examples-env pip install .\n\n    - name: Run examples\n      run: |\n        cd examples\n        conda run -n control-examples-env ./run_examples.sh\n        conda run -n control-examples-env ./run_notebooks.sh\n", "state": "active", "repository": "python-control/python-control"}
{"mined_at": "2024-07-15T15:00:11.737389", "created_at": "2022-12-24T04:57:54+01:00", "updated_at": "2022-12-24T18:06:08+01:00", "name": "OS/BLAS test matrix", "path": ".github/workflows/os-blas-test-matrix.yml", "contents": "name: OS/BLAS test matrix\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - .github/workflows/os-blas-test-matrix.yml\n      - .github/scripts/set-conda-test-matrix.py\n      - .github/scripts/set-conda-pip-matrix.py\n      - .github/conda-env/build-env.yml\n      - .github/conda-env/test-env.yml\n      \njobs:\n  build-pip:\n    name: Build pip Py${{ matrix.python }}, ${{ matrix.os }}, ${{ matrix.bla_vendor}} BLA_VENDOR\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n        fail-fast: false\n        matrix:\n            os:\n              - 'ubuntu'\n              - 'macos'\n            python:\n              - '3.10'\n              - '3.12'\n            bla_vendor: [ 'unset' ]\n            include:\n              - os: 'ubuntu'\n                python: '3.12'\n                bla_vendor: 'Generic'\n              - os: 'ubuntu'\n                python: '3.12'\n                bla_vendor: 'OpenBLAS'\n              - os: 'macos'\n                python: '3.12'\n                bla_vendor: 'Apple'\n              - os: 'macos'\n                python: '3.12'\n                bla_vendor: 'Generic'\n              - os: 'macos'\n                python: '3.12'\n                bla_vendor: 'OpenBLAS'\n\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Checkout Slycot\n        uses: actions/checkout@v3\n        with:\n          repository: python-control/Slycot\n          fetch-depth: 0\n          submodules: 'recursive'\n      - name: Setup Ubuntu\n        if: matrix.os == 'ubuntu'\n        run: |\n          sudo apt-get -y update\n          sudo apt-get -y install gfortran cmake --fix-missing\n          case ${{ matrix.bla_vendor }} in\n            unset | Generic )  sudo apt-get -y install libblas-dev liblapack-dev ;;\n            OpenBLAS        ) sudo apt-get -y install libopenblas-dev ;;\n            *)\n              echo \"bla_vendor option ${{ matrix.bla_vendor }} not supported\"\n              exit 1 ;;\n          esac\n      - name: Setup macOS\n        if: matrix.os == 'macos'\n        run: |\n          case ${{ matrix.bla_vendor }} in\n            unset | Generic | Apple ) ;; # Found in system\n            OpenBLAS )\n              brew install openblas\n              echo \"BLAS_ROOT=/usr/local/opt/openblas/\" >> $GITHUB_ENV\n              echo \"LAPACK_ROOT=/usr/local/opt/openblas/\" >> $GITHUB_ENV\n              ;;\n            *)\n              echo \"bla_vendor option ${{ matrix.bla_vendor }} not supported\"\n              exit 1 ;;\n          esac\n          echo \"FC=gfortran-11\" >> $GITHUB_ENV\n      - name: Build wheel\n        env:\n          BLA_VENDOR: ${{ matrix.bla_vendor }}\n          CMAKE_GENERATOR: Unix Makefiles\n        run: |\n          if [[ $BLA_VENDOR = unset ]]; then unset BLA_VENDOR; fi\n          python -m pip install --upgrade pip\n          pip wheel -v -w . .\n          wheeldir=slycot-wheels/${{ matrix.os }}-${{ matrix.python }}-${{ matrix.bla_vendor }}\n          mkdir -p ${wheeldir}\n          cp ./slycot*.whl ${wheeldir}/\n      - name: Save wheel\n        uses: actions/upload-artifact@v3\n        with:\n          name: slycot-wheels\n          path: slycot-wheels\n\n\n  build-conda:\n    name: Build conda Py${{ matrix.python }}, ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n        fail-fast: false\n        matrix:\n          os:\n            - 'ubuntu'\n            - 'macos'\n            - 'windows'\n          python:\n            # build on one, expand matrix in conda-build from the Sylcot/conda-recipe/conda_build_config.yaml\n            - '3.11'\n\n    steps:\n      - name: Checkout Slycot\n        uses: actions/checkout@v3\n        with:\n          repository: python-control/Slycot\n          fetch-depth: 0\n          submodules: 'recursive'\n      - name: Setup Conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: ${{ matrix.python }}\n          activate-environment: build-env\n          environment-file: .github/conda-env/build-env.yml\n          miniforge-version: latest\n          miniforge-variant: Mambaforge\n          channel-priority: strict\n          auto-update-conda: false\n          auto-activate-base: false\n      - name: Conda build\n        shell: bash -l {0}\n        run: |\n          set -e\n          conda mambabuild conda-recipe\n          # preserve directory structure for custom conda channel\n          find \"${CONDA_PREFIX}/conda-bld\" -maxdepth 2 -name 'slycot*.tar.bz2' | while read -r conda_pkg; do\n            conda_platform=$(basename $(dirname \"${conda_pkg}\"))\n            mkdir -p \"slycot-conda-pkgs/${conda_platform}\"\n            cp \"${conda_pkg}\" \"slycot-conda-pkgs/${conda_platform}/\"\n          done\n          python -m conda_index ./slycot-conda-pkgs\n      - name: Save to local conda pkg channel\n        uses: actions/upload-artifact@v3\n        with:\n          name: slycot-conda-pkgs\n          path: slycot-conda-pkgs\n\n\n  create-wheel-test-matrix:\n    name: Create wheel test matrix\n    runs-on: ubuntu-latest\n    needs: build-pip\n    if: always()  # run tests for all successful builds, even if others failed\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - name: Checkout python-control\n        uses: actions/checkout@v3\n      - name: Download wheels (if any)\n        uses: actions/download-artifact@v3\n        with:\n          name: slycot-wheels\n          path: slycot-wheels\n      - id: set-matrix\n        run: echo \"matrix=$(python3 .github/scripts/set-pip-test-matrix.py)\" >> $GITHUB_OUTPUT\n\n\n  create-conda-test-matrix:\n    name: Create conda test matrix\n    runs-on: ubuntu-latest\n    needs: build-conda\n    if: always()  # run tests for all successful builds, even if others failed\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - name: Checkout python-control\n        uses: actions/checkout@v3\n      - name: Download conda packages\n        uses: actions/download-artifact@v3\n        with:\n          name: slycot-conda-pkgs\n          path: slycot-conda-pkgs\n      - id: set-matrix\n        run: echo \"matrix=$(python3 .github/scripts/set-conda-test-matrix.py)\" >> $GITHUB_OUTPUT\n\n\n  test-wheel:\n    name: Test wheel ${{ matrix.packagekey }}, ${{matrix.blas_lib}} BLAS lib ${{ matrix.failok }}\n    needs: create-wheel-test-matrix\n    runs-on: ${{ matrix.os }}-latest\n    continue-on-error: ${{ matrix.failok == 'FAILOK' }}\n\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJSON(needs.create-wheel-test-matrix.outputs.matrix) }}\n\n    steps:\n      - name: Checkout Slycot\n        uses: actions/checkout@v3\n        with:\n          repository: 'python-control/Slycot'\n          path: slycot-src\n      - name: Checkout python-control\n        uses: actions/checkout@v3\n        with:\n          repository: 'python-control/python-control'\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Setup Ubuntu\n        if: matrix.os == 'ubuntu'\n        run: |\n          set -xe\n          sudo apt-get -y update\n          case ${{ matrix.blas_lib }} in\n            Generic )  sudo apt-get -y install libblas3 liblapack3 ;;\n            unset | OpenBLAS        ) sudo apt-get -y install libopenblas-base ;;\n            *)\n              echo \"BLAS ${{ matrix.blas_lib }} not supported for wheels on Ubuntu\"\n              exit 1 ;;\n          esac\n          update-alternatives --display libblas.so.3-x86_64-linux-gnu\n          update-alternatives --display liblapack.so.3-x86_64-linux-gnu\n      - name: Setup macOS\n        if: matrix.os == 'macos'\n        run: |\n          set -xe\n          brew install coreutils\n          case ${{ matrix.blas_lib }} in\n            unset | Generic | Apple ) ;; # system provided (Uses Apple Accelerate Framework)\n            OpenBLAS )\n              brew install openblas\n              echo \"DYLIB_LIBRARY_PATH=/usr/local/opt/openblas/lib\" >> $GITHUB_ENV\n              ;;\n            *)\n              echo \"BLAS option ${{ matrix.blas_lib }} not supported for wheels on MacOS\"\n              exit 1 ;;\n          esac\n      - name: Download wheels\n        uses: actions/download-artifact@v3\n        with:\n          name: slycot-wheels\n          path: slycot-wheels\n      - name: Install Wheel\n        run: |\n          python -m pip install --upgrade pip\n          pip install matplotlib scipy pytest pytest-cov pytest-timeout coverage\n          pip install slycot-wheels/${{ matrix.packagekey }}/slycot*.whl\n          pip show slycot\n      - name: Test with pytest\n        run: JOBNAME=\"$JOBNAME\" pytest control/tests\n        env:\n          JOBNAME: wheel ${{ matrix.packagekey }} ${{ matrix.blas_lib }}\n\n\n  test-conda:\n    name: Test conda ${{ matrix.packagekey }}, ${{matrix.blas_lib}} BLAS lib ${{ matrix.failok }}\n    needs: create-conda-test-matrix\n    runs-on: ${{ matrix.os }}-latest\n    continue-on-error: ${{ matrix.failok == 'FAILOK' }}\n\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJSON(needs.create-conda-test-matrix.outputs.matrix) }}\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Checkout Slycot\n        uses: actions/checkout@v3\n        with:\n          repository: 'python-control/Slycot'\n          path: slycot-src\n      - name: Checkout python-control\n        uses: actions/checkout@v3\n      - name: Setup macOS\n        if: matrix.os == 'macos'\n        run: brew install coreutils\n      - name: Setup Conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: ${{ matrix.python }}\n          miniforge-version: latest\n          miniforge-variant: Mambaforge\n          activate-environment: test-env\n          environment-file: .github/conda-env/test-env.yml\n          channel-priority: strict\n          auto-activate-base: false\n      - name: Download conda packages\n        uses: actions/download-artifact@v3\n        with:\n          name: slycot-conda-pkgs\n          path: slycot-conda-pkgs\n      - name: Install Conda package\n        run: |\n          set -e\n          case ${{ matrix.blas_lib }} in\n            unset        ) # the conda-forge default (os dependent)\n              mamba install libblas libcblas liblapack\n              ;;\n            Generic      )\n              mamba install 'libblas=*=*netlib' 'libcblas=*=*netlib' 'liblapack=*=*netlib'\n              echo \"libblas * *netlib\" >> $CONDA_PREFIX/conda-meta/pinned\n              ;;\n            OpenBLAS     )\n              mamba install 'libblas=*=*openblas' openblas\n              echo \"libblas * *openblas\" >> $CONDA_PREFIX/conda-meta/pinned\n              ;;\n            Intel10_64lp )\n              mamba install 'libblas=*=*mkl' mkl\n              echo \"libblas * *mkl\" >> $CONDA_PREFIX/conda-meta/pinned\n              ;;\n          esac\n          mamba install -c ./slycot-conda-pkgs slycot\n          conda list\n      - name: Test with pytest\n        run: JOBNAME=\"$JOBNAME\" pytest control/tests\n        env:\n          JOBNAME: conda ${{ matrix.packagekey }} ${{ matrix.blas_lib }}\n", "state": "active", "repository": "python-control/python-control"}
{"mined_at": "2024-07-15T15:00:12.782272", "created_at": "2021-01-12T23:13:50+01:00", "updated_at": "2021-11-04T21:51:43+01:00", "name": "Conda-based pytest", "path": ".github/workflows/python-package-conda.yml", "contents": "name: Conda-based pytest\n\non: [push, pull_request]\n\njobs:\n  test-linux-conda:\n    name: >\n      Py${{ matrix.python-version }};\n      ${{ matrix.slycot || 'no' }} Slycot;\n      ${{ matrix.pandas || 'no' }} Pandas;\n      ${{ matrix.cvxopt || 'no' }} CVXOPT\n      ${{ matrix.mplbackend && format('; {0}', matrix.mplbackend) }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      max-parallel: 5\n      fail-fast: false\n      matrix:\n        python-version: ['3.10', '3.12']\n        slycot: [\"\", \"conda\"]\n        pandas: [\"\"]\n        cvxopt: [\"\", \"conda\"]\n        mplbackend: [\"\"]\n        include:\n          - python-version: '3.12'\n            slycot: conda\n            pandas: conda\n            cvxopt: conda\n            mplbackend: QtAgg\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Setup Conda\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        activate-environment: test-env\n        environment-file: .github/conda-env/test-env.yml\n        miniforge-version: latest\n        miniforge-variant: Mambaforge\n        channels: conda-forge\n        channel-priority: strict\n        auto-update-conda: false\n        auto-activate-base: false\n\n    - name: Install optional dependencies\n      shell: bash -l {0}\n      run: |\n        if [[ '${{matrix.cvxopt}}' == 'conda' ]]; then\n          mamba install cvxopt\n        fi\n        if [[ '${{matrix.slycot}}' == 'conda' ]]; then\n          mamba install slycot\n        fi\n        if [[ '${{matrix.pandas}}' == 'conda' ]]; then\n          mamba install pandas\n        fi\n\n    - name: Test with pytest\n      shell: bash -l {0}\n      env:\n        MPLBACKEND: ${{ matrix.mplbackend }}\n      run: |\n        pytest -v --cov=control --cov-config=.coveragerc control/tests\n        coverage xml\n\n    - name: report coverage\n      uses: coverallsapp/github-action@v2\n      with:\n        flag-name: conda-pytest_py${{ matrix.python-version }}_${{ matrix.slycot || 'no' }}-Slycot_${{ matrix.pandas || 'no' }}-Pandas_${{ matrix.cvxopt || 'no' }}_CVXOPT-${{ matrix.mplbackend && format('; {0}', matrix.mplbackend) }}\n        parallel: true\n        file: coverage.xml\n\n  coveralls-final:\n    name: Finalize parallel coveralls\n    if: always()\n    needs:\n      - test-linux-conda\n    runs-on: ubuntu-latest\n    steps:\n    - name: Coveralls Finished\n      uses: coverallsapp/github-action@v2\n      with:\n        parallel-finished: true  \n\n\n", "state": "active", "repository": "python-control/python-control"}
{"mined_at": "2024-07-15T15:00:15.013044", "created_at": "2022-02-18T16:54:22+01:00", "updated_at": "2023-01-28T17:49:18+01:00", "name": "Performance Benchmark", "path": ".github/workflows/benchmark.yml", "contents": "name: Performance Benchmark\n# adapted from https://github.com/benchmark-action/github-action-benchmark#charts-on-github-pages-1\n\non:\n  push:\n    branches:\n    - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n\n  tests:\n\n    name: Python ${{matrix.python-version}}\n    runs-on: ubuntu-20.04\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python-version: 3.8\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{matrix.python-version}}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{matrix.python-version}}\n\n    - name: Install Icarus Verilog\n      run: |\n        sudo apt-get install -y --no-install-recommends iverilog\n\n    - name: Set up NVC (Ubuntu)\n      run: |\n        sudo apt-get install -y --no-install-recommends llvm-dev libdw-dev flex libzstd-dev pkg-config\n        git clone https://github.com/nickg/nvc.git\n        cd nvc\n        git reset --hard r1.11.3\n        ./autogen.sh\n        mkdir build\n        cd build\n        ../configure\n        make -j $(nproc)\n        sudo make install\n\n    - name: Run benchmark\n      run: |\n        pip install pytest pytest-benchmark\n        pip install .\n        pytest -c /dev/null tests/benchmark.py --benchmark-json output.json\n\n    # Pushing the benchmark requires elevated permissions to the\n    # cocotb/cocotb-benchmark-results repository, which we only grant for\n    # master builds, not for PR builds.\n    - name: Generate a token to access cocotb/cocotb-benchmark-results\n      if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}\n      id: generate_token\n      uses: actions/create-github-app-token@v1\n      with:\n        app-id: ${{ secrets.COCOTB_CI_REPOACCESS_APP_ID }}\n        private-key: ${{ secrets.COCOTB_CI_REPOACCESS_APP_PRIVATE_KEY }}\n        owner: ${{ github.repository_owner }}\n        repositories: cocotb-benchmark-results\n\n    - name: Store benchmark result\n      if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}\n      uses: benchmark-action/github-action-benchmark@v1\n      continue-on-error: true\n      with:\n        tool: 'pytest'\n        output-file-path: output.json\n        alert-threshold: '120%'\n        fail-on-alert: true\n        github-token: ${{ steps.generate_token.outputs.token }}\n        auto-push: true\n        gh-repository: 'github.com/cocotb/cocotb-benchmark-results'\n", "state": "active", "repository": "cocotb/cocotb"}
{"mined_at": "2024-07-15T15:00:16.139243", "created_at": "2022-05-07T14:54:04+02:00", "updated_at": "2022-12-28T17:16:21+01:00", "name": "CI", "path": ".github/workflows/build-test-dev.yml", "contents": "# Copyright cocotb contributors\n# Licensed under the Revised BSD License, see LICENSE for details.\n# SPDX-License-Identifier: BSD-3-Clause\n\nname: CI\n\non:\n  # Run this workflow on every push to the master branch, or a stable branch.\n  push:\n    branches:\n      - master\n      - \"stable/**\"\n  pull_request:\n    branches:\n      - master\n      - 'stable/**'\n\njobs:\n  test_dev:\n    name: Regression Tests\n    uses: ./.github/workflows/regression-tests.yml\n    with:\n      nox_session_test_sim: dev_test_sim\n      nox_session_test_nosim: dev_test_nosim\n      collect_coverage: true\n      group: ci\n", "state": "active", "repository": "cocotb/cocotb"}
{"mined_at": "2024-07-15T15:00:17.367875", "created_at": "2022-03-24T20:37:25+01:00", "updated_at": "2022-06-14T21:59:17+02:00", "name": "Release", "path": ".github/workflows/build-test-release.yml", "contents": "# Copyright cocotb contributors\n# Licensed under the Revised BSD License, see LICENSE for details.\n# SPDX-License-Identifier: BSD-3-Clause\n\nname: Release\n\non:\n  # Run this workflow on every push to master or to a stable branch.\n  push:\n    branches:\n      - master\n      - \"stable/**\"\n    tags:\n      - 'v*'\n\njobs:\n  build_release:\n    name: Build distribution on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false # Keep going even if one matrix build fails.\n      matrix:\n        os:\n          - ubuntu-22.04\n          - windows-2022\n          - macos-12\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install nox\n        run: python3 -m pip install nox\n\n      # Use the cibuildwheel configuration inside nox, instead of the\n      # cibuildwheel GitHub Action, to make the process easy to reproduce\n      # locally.\n      - name: Build cocotb release\n        run: nox -s release_build\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: cocotb-dist-${{ matrix.os }}\n          path: |\n            dist/*.whl\n            dist/*.tar.gz\n\n  test_sdist:\n    name: Test the source distribution (sdist)\n    needs: build_release\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n    - uses: actions/download-artifact@v4\n      with:\n        path: dist\n        pattern: cocotb-dist-*\n        merge-multiple: true\n    - name: Install nox\n      run: python3 -m pip install nox\n    - name: Smoke-test the sdist\n      run: nox -s release_test_sdist\n\n  test_release:\n    name: Regression Tests\n    needs: build_release\n    uses: ./.github/workflows/regression-tests.yml\n    with:\n      nox_session_test_sim: release_test_sim\n      nox_session_test_nosim: release_test_nosim\n      download_artifacts: true\n      group: ci\n\n  deploy_pypi:\n    name: Deploy to pypi.org\n    needs:\n    - test_release\n    - test_sdist\n    runs-on: ubuntu-22.04\n    # Only upload tagged releases.\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n    - uses: actions/download-artifact@v4\n      with:\n        path: dist\n        pattern: cocotb-dist-*\n        merge-multiple: true\n    - name: Publish distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "cocotb/cocotb"}
{"mined_at": "2024-07-15T15:00:18.384033", "created_at": "2021-11-01T22:29:35+01:00", "updated_at": "2021-11-11T18:35:19+01:00", "name": "Ecosystem compatibility tests", "path": ".github/workflows/ecosystem-compat.yml", "contents": "# Copyright cocotb contributors\n# Licensed under the Revised BSD License, see LICENSE for details.\n# SPDX-License-Identifier: BSD-3-Clause\n\n# Tests to ensure that projects depending on cocotb continue to work with the\n# latest development version of cocotb.\n#\n# Generally, we test the development version of cocotb against supported,\n# released versions of the other projects. (It is expected that the projects\n# themselves test their in-development code against the released version of\n# cocotb.)\n\nname: Ecosystem compatibility tests\n\non:\n  # Run daily at midnight (UTC).\n  schedule:\n    - cron: '0 0 * * *'\n  # Allow triggering a CI run from the web UI.\n  workflow_dispatch:\n\njobs:\n  cocotb-coverage:\n    name: Test cocotb-coverage 1.2\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Icarus Verilog\n        run: sudo apt-get install -y --no-install-recommends iverilog\n\n      - name: Checkout cocotb repository\n        uses: actions/checkout@v4\n        with:\n          path: cocotb\n\n      - name: Install the development version of cocotb\n        run: pip3 install ./cocotb\n\n      - name: Checkout cocotb-coverage repository\n        uses: actions/checkout@v4\n        with:\n          repository: mciepluc/cocotb-coverage\n          path: cocotb-coverage\n\n      - name: Install the release version of cocotb-coverage\n        run: pip3 install cocotb-coverage==1.2\n\n      - name: Run tests\n        # Don't run tests through tox (as present in cocotb-coverage) to be able\n        # to override the cocotb dependency.\n        run: |\n          pip3 install pytest\n          cd cocotb-coverage\n          export SIM=icarus\n          make -k -C tests\n", "state": "active", "repository": "cocotb/cocotb"}
{"mined_at": "2024-07-15T15:00:19.517858", "created_at": "2022-05-18T22:57:37+02:00", "updated_at": "2022-05-23T18:21:11+02:00", "name": "Test experimental tool versions", "path": ".github/workflows/experimental.yml", "contents": "# Copyright cocotb contributors\n# Licensed under the Revised BSD License, see LICENSE for details.\n# SPDX-License-Identifier: BSD-3-Clause\n\n# A workflow where the tool is the moving target, or the tool is known to be\n# not fully supported by cocotb, but we still want to see how its support\n# evolves over time.\n\nname: Test experimental tool versions\n\non:\n  # Run every Monday at 2am (UTC).\n  schedule:\n    - cron: '0 2 * * 1'\n  # Allow triggering a CI run from the web UI.\n  workflow_dispatch:\n\njobs:\n  test_dev:\n    name: Regression Tests\n    uses: ./.github/workflows/regression-tests.yml\n    with:\n      nox_session_test_sim: dev_test_sim\n      nox_session_test_nosim: dev_test_nosim\n      group: experimental\n", "state": "active", "repository": "cocotb/cocotb"}
{"mined_at": "2024-07-15T15:00:20.645457", "created_at": "2024-03-13T23:36:47+01:00", "updated_at": "2024-03-13T23:36:47+01:00", "name": "Test extended tool versions", "path": ".github/workflows/extended.yml", "contents": "# Copyright cocotb contributors\n# Licensed under the Revised BSD License, see LICENSE for details.\n# SPDX-License-Identifier: BSD-3-Clause\n\n# Run tests against an extended set of simulator (versions).\n\nname: Test extended tool versions\n\non:\n  # Run every Sunday at 2am (UTC).\n  schedule:\n    - cron: '0 2 * * 0'\n  # Allow triggering a CI run from the web UI.\n  workflow_dispatch:\n\njobs:\n  test_dev:\n    name: Regression Tests\n    uses: ./.github/workflows/regression-tests.yml\n    with:\n      nox_session_test_sim: dev_test_sim\n      nox_session_test_nosim: dev_test_nosim\n      group: extended\n      max_parallel: 15\n", "state": "active", "repository": "cocotb/cocotb"}
{"mined_at": "2024-07-15T15:00:21.642683", "created_at": "2022-05-07T15:18:22+02:00", "updated_at": "2024-04-07T20:11:26+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "cocotb/cocotb"}
{"mined_at": "2024-07-15T15:00:22.797513", "created_at": "2020-09-26T20:14:28+02:00", "updated_at": "2023-12-04T16:01:46+01:00", "name": "Regression Tests", "path": ".github/workflows/regression-tests.yml", "contents": "# Copyright cocotb contributors\n# Licensed under the Revised BSD License, see LICENSE for details.\n# SPDX-License-Identifier: BSD-3-Clause\nname: Regression Tests\n\non:\n  workflow_call:\n    inputs:\n      nox_session_test_sim:\n        required: true\n        type: string\n        default: dev_test_sim\n      nox_session_test_nosim:\n        required: true\n        type: string\n        default: dev_test_nosim\n      collect_coverage:\n        required: false\n        type: boolean\n        default: false\n      download_artifacts:\n        required: false\n        type: boolean\n        default: false\n      group:\n        required: false\n        type: string\n        default: \"ci\"\n        description: Group of environments to run the tests against. Leave empty to run them all.\n      max_parallel:\n        required: false\n        type: number\n        default: 0\n        description: Maximum number of parallel matrix jobs\n\njobs:\n\n  generate_envs:\n    runs-on: ubuntu-latest\n    name: Generate a list of environments to run tests against\n    steps:\n    - uses: actions/checkout@v4\n    - run: ./.github/generate-envs.py --output-format=gha --gha-output-file=\"$GITHUB_OUTPUT\" --group=\"${{inputs.group}}\"\n      id: run_generate_script\n    outputs:\n      envs: ${{ steps.run_generate_script.outputs.envs }}\n\n  tests:\n\n    needs: generate_envs\n\n    name: ${{matrix.name}}\n    runs-on: ${{matrix.runs-on}}\n    timeout-minutes: 40\n\n    env:\n      SIM: ${{matrix.sim}}\n      TOPLEVEL_LANG: ${{matrix.lang}}\n      CXX: ${{matrix.cxx || 'g++'}}\n      CC: ${{matrix.cc || 'gcc'}}\n      OS: ${{matrix.os}}\n      PYTHON_VERSION: ${{matrix.python-version}}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJson(needs.generate_envs.outputs.envs) }}\n      max-parallel: ${{ inputs.max_parallel }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        # GitHub PR's create a merge commit, and Actions are run on that commit.\n        # Codecov's uploader needs the previous commit (tip of PR branch) to associate coverage correctly.\n        # A fetch depth of 2 provides enough information without fetching the entire history.\n        fetch-depth: 2\n\n     # Download distribution artifacts (if any).\n    - uses: actions/download-artifact@v4\n      with:\n        path: dist\n        pattern: cocotb-dist-*\n        merge-multiple: true\n      if: ${{ inputs.download_artifacts }}\n\n      # Install Python\n    - name: Set up Python ${{matrix.python-version}}\n      if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{matrix.python-version}}\n    - name: Set up Anaconda ${{matrix.python-version}} (Windows)\n      if: startsWith(matrix.os, 'windows')\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        auto-update-conda: true\n        # Use base environment to properly import _sqlite3 DLL - see gh-3166\n        activate-environment: \"\"\n    - name: Set up python version for Anaconda (base) ${{matrix.python-version}} (Windows)\n      if: startsWith(matrix.os, 'windows')\n      run: conda install --yes python=${{matrix.python-version}}\n\n      # Run tests that don't need a simulator.\n    - name: Install Python testing dependencies\n      run: |\n        pip install nox\n    - name: Run tests without simulators\n      run: nox -s \"${{ inputs.nox_session_test_nosim }}\"\n      continue-on-error: ${{matrix.may-fail || false}}\n\n      # Install Icarus\n    - name: Set up Icarus (Ubuntu - apt)\n      if: startsWith(matrix.os, 'ubuntu') && matrix.sim == 'icarus' && matrix.sim-version == 'apt'\n      run: |\n        sudo apt-get install -y --no-install-recommends iverilog\n    - name: Set up Icarus (Ubuntu - source)\n      if: startsWith(matrix.os, 'ubuntu') && matrix.sim == 'icarus' && matrix.sim-version != 'apt'\n      run: |\n        sudo apt-get install -y --no-install-recommends g++ gperf flex bison make autoconf\n        git clone https://github.com/steveicarus/iverilog.git\n        cd iverilog\n        git reset --hard ${{matrix.sim-version}}\n        bash ./autoconf.sh\n        bash ./configure\n        make -j $(nproc)\n        sudo make install\n    - name: Set up Icarus (Windows - source)\n      if: startsWith(matrix.os, 'windows') && matrix.sim == 'icarus'\n      run: |\n        conda install -c msys2 m2-base m2-make m2-autoconf m2-flex m2-bison m2-gperf m2w64-toolchain\n        git clone https://github.com/steveicarus/iverilog.git\n        cd iverilog\n        git reset --hard ${{matrix.sim-version}}\n        bash ./autoconf.sh\n        bash ./configure --host=x86_64-w64-mingw32 --prefix=/c/iverilog\n        make -j $(nproc)\n        make install\n        echo \"C:\\iverilog\\bin\" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8\n    - name: Set up Icarus (MacOS - homebrew --HEAD)\n      if: startsWith(matrix.os, 'macos') && matrix.sim == 'icarus' && matrix.sim-version == 'homebrew-HEAD'\n      run: |\n        brew install icarus-verilog --HEAD\n    - name: Set up Icarus (MacOS - homebrew)\n      if: startsWith(matrix.os, 'macos') && matrix.sim == 'icarus' && matrix.sim-version == 'homebrew-stable'\n      run: |\n        brew install icarus-verilog\n\n      # Install GHDL\n    - name: Set up GHDL (Ubuntu)\n      if: startsWith(matrix.os, 'ubuntu') && matrix.sim == 'ghdl'\n      run: |\n        sudo apt-get install -y --no-install-recommends gnat\n        git clone https://github.com/ghdl/ghdl.git\n        cd ghdl\n        git reset --hard ${{matrix.sim-version}}\n        mkdir build\n        cd build\n        ../configure\n        make -j $(nproc)\n        sudo make install\n\n      # Install NVC\n    - name: Set up NVC (Ubuntu)\n      if: startsWith(matrix.os, 'ubuntu') && matrix.sim == 'nvc'\n      run: |\n        sudo apt-get install -y --no-install-recommends llvm-dev libdw-dev flex\n        git clone --depth=1 --no-single-branch https://github.com/nickg/nvc.git\n        cd nvc\n        git reset --hard ${{matrix.sim-version}}\n        ./autogen.sh\n        mkdir build\n        cd build\n        ../configure\n        make -j $(nproc)\n        sudo make install\n\n      # Install Verilator (Linux)\n    - name: Set up Verilator (Ubuntu - source)\n      if: startsWith(matrix.os, 'ubuntu') && matrix.sim == 'verilator'\n      run: |\n        sudo apt-get install -y --no-install-recommends help2man make g++ perl python3 autoconf flex bison libfl2 libfl-dev zlib1g zlib1g-dev\n        git clone https://github.com/verilator/verilator.git\n        cd verilator\n        git reset --hard ${{matrix.sim-version}}\n        autoconf\n        ./configure\n        make -j $(nproc)\n        sudo make install\n\n      # Install Verilator (MacOS)\n    - name: Set up Verilator (MacOS - source)\n      if: startsWith(matrix.os, 'macos') && matrix.sim == 'verilator'\n      run: |\n        brew install autoconf automake help2man\n        git clone https://github.com/verilator/verilator.git\n        cd verilator\n        git reset --hard ${{matrix.sim-version}}\n        autoconf\n        ./configure\n        make -j $(nproc)\n        sudo make install\n\n      # Windows Testing\n    - name: Install cocotb build dependencies (Windows, mingw)\n      if: startsWith(matrix.os, 'windows') && matrix.toolchain == 'mingw'\n      run: conda install --yes -c msys2 m2-base m2-make m2w64-toolchain libpython\n    - name: Install cocotb runtime dependencies (Windows, msvc)\n      if: startsWith(matrix.os, 'windows') && matrix.toolchain == 'msvc'\n      run: conda install --yes -c msys2 m2-base m2-make\n    - name: Test (Windows)\n      if: startsWith(matrix.os, 'windows')\n      id: windowstesting\n      continue-on-error: ${{matrix.may-fail || false}}\n      timeout-minutes: 20\n      # Virtual environments don't work on Windows with cocotb. Avoid using them\n      # in nox testing.\n      run: |\n        nox --no-venv -k \"${{ inputs.nox_session_test_sim }} and ${{ matrix.sim }} and ${{ matrix.lang }}\"\n\n      # Ubuntu / MacOS Testing\n    - name: Install cocotb build dependencies (Ubuntu - g++)\n      if: startsWith(matrix.os, 'ubuntu') && (!matrix.cxx || matrix.cxx == 'g++')\n      run: |\n        sudo apt-get install g++\n    - name: Install cocotb build dependencies (Ubuntu - clang++)\n      if: startsWith(matrix.os, 'ubuntu') && matrix.cxx == 'clang++'\n      run: |\n        sudo apt-get install clang\n    - name: Install cocotb build dependencies (MacOS)\n      if: startsWith(matrix.os, 'macos')\n      run: |\n        g++ --version\n    - name: Test (Ubuntu, MacOS)\n      id: unixtesting\n      if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')\n      continue-on-error: ${{matrix.may-fail || false}}\n      timeout-minutes: 30\n      run: |\n        if [ \"${{matrix.self-hosted}}\" == \"true\" ]; then\n          module load \"${{ matrix.sim-version }}\"\n        fi\n        nox -k \"${{ inputs.nox_session_test_sim }} and ${{ matrix.sim }} and ${{ matrix.lang }}\"\n\n    # codecov\n    - name: Combine and report coverage\n      if: inputs.collect_coverage\n      run: nox -s dev_coverage_combine\n\n    - name: Upload to codecov\n      if: inputs.collect_coverage\n      uses: codecov/codecov-action@v4\n      env:\n        # https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954\n        CODECOV_TOKEN: 669f2048-851e-479e-a618-8fa64f3736cc\n      with:\n        files: .python_coverage.xml,.cpp_coverage.xml\n        name: ${{ matrix.name }}\n        env_vars: SIM,TOPLEVEL_LANG,CXX,OS,PYTHON_VERSION\n        verbose: true\n", "state": "active", "repository": "cocotb/cocotb"}
{"mined_at": "2024-07-15T15:00:23.821376", "created_at": "2020-11-16T14:46:58+01:00", "updated_at": "2020-11-16T14:46:58+01:00", "name": "Stale Questions", "path": ".github/workflows/stale.yml", "contents": "# Copyright cocotb contributors\n# Licensed under the Revised BSD License, see LICENSE for details.\n# SPDX-License-Identifier: BSD-3-Clause\n\nname: \"Stale Questions\"\non:\n  schedule:\n  - cron: \"00 02 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{secrets.GITHUB_TOKEN}}\n        days-before-stale: 30\n        days-before-close: 7\n        stale-issue-message: >\n          Has your question been resolved? If so please close this issue.\n          If it has not been resolved, you may need to provide more information.\n          If no more activity on this issue occurs in 7 days, it will be closed.\n        stale-issue-label: \"status:stale\"\n        stale-pr-message: >\n          Are you still actively working on this pull request?\n          You may have requested changes that need to be addressed.\n          If the maintainers aren't being timely with a review, we apologize.\n          Please bump this pull request to keep it alive.\n          If no more activity on this pull request occurs in 7 days, it will be closed.\n        stale-pr-label: \"status:stale\"\n        any-of-labels: \"type:question,status:close?,status:needs-info\"\n        operations-per-run: 30\n", "state": "active", "repository": "cocotb/cocotb"}
{"mined_at": "2024-07-15T15:00:25.868356", "created_at": "2020-06-25T15:37:08+02:00", "updated_at": "2020-06-25T15:37:08+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: CI\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the master branch\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v3\n\n      - name: Super-Linter\n        uses: github/super-linter@v3.15.3\n        env:\n          VALIDATE_PYTHON_PYLINT: false\n          VALIDATE_PYTHON_FLAKE8: false\n          VALIDATE_MARKDOWN: false\n          JAVASCRIPT_DEFAULT_STYLE: prettier\n\n      - name: Run tests\n        run: |\n          pip install -r tests/requirements.txt\n          python -m unittest discover tests\n", "state": "active", "repository": "hipo/university-domains-list"}
{"mined_at": "2024-07-15T15:00:28.018667", "created_at": "2023-01-24T17:51:56+01:00", "updated_at": "2023-01-24T18:55:57+01:00", "name": "Fuzzers+Benchmarks", "path": ".github/workflows/benchmarks.yml", "contents": "name: Fuzzers+Benchmarks\non:\n  pull_request:\n    paths:\n      - 'docker/**'  # Base image changes.\n      - 'fuzzers/**' # Changes to fuzzers themselves.\n      - 'benchmarks/**'  # Changes to benchmarks.\n      # Changes that affect what gets built.\n      - 'src_analysis/**'\n      - '.github/workflows/benchmarks.yml'\n      - '.github/workflows/build_and_test_run_fuzzer_benchmarks.py'\n\njobs:\n  Test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        benchmark:\n          - bloaty_fuzz_target\n          - bloaty_fuzz_target_52948c\n          - curl_curl_fuzzer_http\n          - freetype2_ftfuzzer\n          - harfbuzz_hb-shape-fuzzer\n          - harfbuzz_hb-shape-fuzzer_17863b\n          - jsoncpp_jsoncpp_fuzzer\n          - lcms_cms_transform_fuzzer\n          - libjpeg-turbo_libjpeg_turbo_fuzzer\n          - libpcap_fuzz_both\n          - libpng_libpng_read_fuzzer\n          - libxml2_xml\n          - libxml2_xml_e85b9b\n          - libxslt_xpath\n          - mbedtls_fuzz_dtlsclient\n          - mbedtls_fuzz_dtlsclient_7c6b0e\n          - openh264_decoder_fuzzer\n          - openssl_x509\n          - openthread_ot-ip6-send-fuzzer\n          - php_php-fuzz-parser_0dbedb\n          - proj4_proj_crs_to_crs_fuzzer\n          - re2_fuzzer\n          - sqlite3_ossfuzz\n          - stb_stbi_read_fuzzer\n          - systemd_fuzz-link-parser\n          - vorbis_decode_fuzzer\n          - woff2_convert_woff2ttf_fuzzer\n          - zlib_zlib_uncompress_fuzzer\n\n    steps:\n    - uses: actions/checkout@v3\n    - run: |  # Needed for git diff to work.\n        git fetch origin master --unshallow\n        git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/master\n\n    - name: Clear unnecessary files\n      run: |\n        sudo swapoff -a\n        sudo rm -f /swapfile\n        sudo apt clean\n        docker rmi $(docker images -a -q)\n        df -h\n\n    - name: Setup Python environment\n      uses: actions/setup-python@v3\n      with:\n        python-version: 3.10.8\n\n    # Copied from:\n    # https://docs.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions\n    - name: Cache pip\n      uses: actions/cache@v3\n      with:\n        # This path is specific to Ubuntu.\n        path: ~/.cache/pip\n        # Look to see if there is a cache hit for the corresponding requirements\n        # file.\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n\n    - name: Install dependencies\n      run: |\n        make install-dependencies\n\n    - name: Test fuzzers and benchmarks\n      run: |\n        PATH=.venv/bin/:$PATH PYTHONPATH=. python3 .github/workflows/build_and_test_run_fuzzer_benchmarks.py ${{ matrix.benchmark }}\n", "state": "active", "repository": "google/fuzzbench"}
{"mined_at": "2024-07-15T15:00:29.142034", "created_at": "2020-03-05T18:13:44+01:00", "updated_at": "2020-08-10T06:56:34+02:00", "name": "CI", "path": ".github/workflows/presubmit.yml", "contents": "name: CI\n\non:\n  pull_request:\n    branches:\n    - master\n    - dev\n\njobs:\n  presubmit:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Cancel previous\n      uses: styfle/cancel-workflow-action@0.8.0\n      with:\n        access_token: ${{ github.token }}\n    - uses: actions/checkout@v2\n    - run: |  # Needed for presubmit to work.\n        git fetch origin master --unshallow\n        git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/master\n\n    - name: Setup Python environment\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.10.8\n\n    # Copied from:\n    # https://docs.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions\n    - name: Cache pip\n      uses: actions/cache@v2\n      with:\n        # This path is specific to Ubuntu.\n        path: ~/.cache/pip\n        # Look to see if there is a cache hit for the corresponding requirements\n        # file.\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n\n    - name: Install dependencies\n      run: |\n        make install-dependencies\n\n    - name: Run presubmit checks\n      run: |\n        FUZZBENCH_TEST_INTEGRATION=1 make presubmit\n\n", "state": "active", "repository": "google/fuzzbench"}
{"mined_at": "2024-07-15T15:00:30.163223", "created_at": "2023-08-01T22:04:15+02:00", "updated_at": "2023-08-01T22:04:15+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/fuzzbench"}
{"mined_at": "2024-07-15T15:00:31.191333", "created_at": "2021-12-17T19:11:58+01:00", "updated_at": "2021-12-17T19:11:58+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "google/fuzzbench"}
{"mined_at": "2024-07-15T15:00:33.158699", "created_at": "2023-03-04T19:19:45+01:00", "updated_at": "2023-03-04T19:22:52+01:00", "name": "Check PR title", "path": ".github/workflows/check_pull_request_title.yml", "contents": "name: 'Check PR title'\non:\n  pull_request:\n    types: [edited, opened, synchronize, reopened]\n\njobs:\n  pr-title-check:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.pull_request.user.login != 'allcontributors[bot]' }}\n    steps:\n      # Echo the user's login\n      - name: Echo user login\n        run: echo ${{ github.event.pull_request.user.login }}\n      - uses: naveenk1223/action-pr-title@master\n        with:\n          # Valid titles: \"Do something\"\n          # Invalid title:\n          # - \"do something\"\n          # - \"Do something.\"\n          # - \"Does something\"\n          # - \"Do\"\n          regex: '^[A-Z][a-zA-Z]*(?<!s)( .+)+[^.]$'  # Thanks, ChatGPT\n          min_length: 10\n          max_length: 72\n", "state": "active", "repository": "fepegar/torchio"}
{"mined_at": "2024-07-15T15:00:34.263594", "created_at": "2023-03-04T23:09:00+01:00", "updated_at": "2023-03-04T23:19:11+01:00", "name": "Code quality", "path": ".github/workflows/code_quality.yml", "contents": "name: Code quality\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  schedule:\n    - cron: \"0 4 * * *\"\n\njobs:\n\n  mypy:\n    name: Type checks\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install tox\n        run: pip install tox\n\n      - name: Run mypy\n        run: tox -e mypy\n\n  flake8:\n    name: Code style\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install pre-commit\n        run: pip install pre-commit\n\n      - name: Run flake8 hooks\n        run: pre-commit run --all-files flake8\n\n  black:\n    name: Code formatting\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install black\n        run: pip install black\n\n      - name: Run black\n        run: black --check --diff .\n\n  docs:\n    name: Documentation\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install pre-commit\n        run: pip install pre-commit\n\n      - name: Run doc8 hook\n        run: pre-commit run --all-files doc8\n", "state": "active", "repository": "fepegar/torchio"}
{"mined_at": "2024-07-15T15:00:35.290961", "created_at": "2021-10-25T12:18:47+02:00", "updated_at": "2023-02-11T19:49:35+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "# Adapted from https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n\nname: Publish\n\non: push\n\n# https://github.com/fepegar/torchio/actions/runs/6076955855/job/17283217522?pr=1103\npermissions:\n  id-token: write\n\njobs:\n  Build-and-publish:\n    name: Build and publish if needed\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n\n    - name: Publish package to TestPyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository-url: https://test.pypi.org/legacy/\n        verbose: true\n        skip-existing: true\n\n    # Publish only tagged commits\n    - name: Publish package to PyPI, if tagged\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        verbose: true\n", "state": "active", "repository": "fepegar/torchio"}
{"mined_at": "2024-07-15T15:00:36.289452", "created_at": "2023-06-17T13:36:38+02:00", "updated_at": "2023-06-17T13:36:38+02:00", "name": "Smokeshow", "path": ".github/workflows/smokeshow.yml", "contents": null, "state": "active", "repository": "fepegar/torchio"}
{"mined_at": "2024-07-15T15:00:37.309156", "created_at": "2021-10-24T23:01:45+02:00", "updated_at": "2023-03-04T23:09:00+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  schedule:\n    - cron: \"0 4 * * *\"\n\njobs:\n  pytest:\n    name: Unit tests\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        exclude:  # run only latest Python on Windows and macOS\n          - os: macos-latest\n            python-version: '3.8'\n          - os: macos-latest\n            python-version: '3.9'\n          - os: macos-latest\n            python-version: '3.10'\n          - os: macos-latest\n            python-version: '3.11'\n\n          - os: windows-latest\n            python-version: '3.8'\n          - os: windows-latest\n            python-version: '3.9'\n          - os: windows-latest\n            python-version: '3.10'\n          - os: windows-latest\n            python-version: '3.11'\n      fail-fast: false\n\n    runs-on: ${{ matrix.os }}\n    env:\n      OS: ${{ matrix.os }}\n\n    steps:\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install tox\n        run: pip install tox\n\n      # Run all tests on schedule, but only non-slow tests on push\n      - name: Run unit tests\n        run: |\n          if [ \"${{ github.event_name }}\" == \"schedule\" ]; then\n            tox -e py\n          else\n            tox -e py -- -m \"not slow\"\n          fi\n        shell: bash  # so it doesn't fail on Windows\n\n      - name: Upload coverage reports to Codecov\n        if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' }}\n        run: |\n          OS_LOWERCASE=$(echo $RUNNER_OS | tr '[:upper:]' '[:lower:]')\n          curl -Os https://uploader.codecov.io/latest/${OS_LOWERCASE}/codecov\n          chmod +x codecov\n          ./codecov\n\n  cli:\n    name: CLI smoke tests\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: '3.12'\n\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install project\n        run: pip install .\n\n      - name: Test transforms CLI tool\n        run: tiotr --help\n\n      - name: Test info CLI tool\n        run: tiohd --help\n", "state": "active", "repository": "fepegar/torchio"}
{"mined_at": "2024-07-15T15:00:39.486430", "created_at": "2021-04-10T00:29:31+02:00", "updated_at": "2021-08-16T22:31:24+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n#  pull_request:\n#    # The branches below must be a subset of the branches above\n#    branches: [ master ]\n  schedule:\n    - cron: '29 18 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "dimagi/commcare-hq"}
{"mined_at": "2024-07-15T15:00:40.496519", "created_at": "2023-05-23T05:38:04+02:00", "updated_at": "2023-05-23T05:38:04+02:00", "name": "commcare-hq dependency metrics", "path": ".github/workflows/dependency-metrics.yml", "contents": "name: commcare-hq dependency metrics\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  collect-metrics:\n    runs-on: ubuntu-latest\n    env:\n      REPO: commcare-hq\n      DATADOG_APP_KEY: ${{ secrets.DATADOG_APP_KEY }}\n      DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: install libxml\n        run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libxmlsec1-dev\n      - name: install dev-requirements\n        run: pip install -r requirements/dev-requirements.txt\n      - name: run metrics for pip\n        run: metrics pip --send\n      - name: run metrics for yarn\n        run: metrics yarn --send\n", "state": "active", "repository": "dimagi/commcare-hq"}
{"mined_at": "2024-07-15T15:00:41.739306", "created_at": "2023-05-17T12:36:42+02:00", "updated_at": "2023-08-04T09:13:27+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request:\n    branches:\n      - master\n\npermissions:\n  checks: write\n  contents: write\n\njobs:\n  lint-python:\n    name: Lint Python\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Check changed py files\n        id: changed-files\n        uses: tj-actions/changed-files@v41\n        with:\n          files: |\n            **/*.py\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        if: ${{ steps.changed-files.outputs.all_changed_files }}\n        with:\n          python-version: 3.9\n\n      - name: Install Python dependencies\n        if: ${{ steps.changed-files.outputs.all_changed_files }}\n        run: pip install flake8\n\n      - name: Run flake8 linter\n        if: ${{ steps.changed-files.outputs.all_changed_files }}\n        uses: wearerequired/lint-action@v2\n        with:\n          flake8: true\n          flake8_auto_fix: false\n          flake8_args: ${{ steps.changed-files.outputs.all_changed_files }}\n          continue_on_error: false\n\n  # If this is in the same step as python linting the annotations don't show up\n  lint-javascript:\n    name: Lint Javascript\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - name: Install Node.js dependencies\n        run: yarn install --frozen-lockfile\n\n      - uses: sibiraj-s/action-eslint@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          annotations: true\n", "state": "active", "repository": "dimagi/commcare-hq"}
{"mined_at": "2024-07-15T15:00:42.832498", "created_at": "2023-07-25T13:15:27+02:00", "updated_at": "2023-07-25T13:15:27+02:00", "name": "Lint", "path": ".github/workflows/linting.yml", "contents": null, "state": "active", "repository": "dimagi/commcare-hq"}
{"mined_at": "2024-07-15T15:00:43.854591", "created_at": "2023-05-18T11:03:36+02:00", "updated_at": "2023-05-18T11:03:36+02:00", "name": "MegaLinter", "path": ".github/workflows/mega-linter.yml", "contents": null, "state": "active", "repository": "dimagi/commcare-hq"}
{"mined_at": "2024-07-15T15:00:44.913100", "created_at": "2023-03-01T23:16:30+01:00", "updated_at": "2023-03-02T18:18:09+01:00", "name": "commcare-hq docs", "path": ".github/workflows/test-docs.yml", "contents": "name: commcare-hq docs\non:\n  pull_request:\n    branches:\n      - master\njobs:\n  test:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: recursive\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Install docs requirements\n        run: pip install -r requirements/docs-requirements.txt\n      - name: Test docs build\n        run: bash ./scripts/test-make-docs.sh\n      - name: Upload test artifacts\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: make-docs-artifacts\n          path: artifacts\n          if-no-files-found: ignore\n          retention-days: 7\n", "state": "active", "repository": "dimagi/commcare-hq"}
{"mined_at": "2024-07-15T15:00:46.066338", "created_at": "2021-10-25T22:59:08+02:00", "updated_at": "2021-11-01T15:16:25+01:00", "name": "commcare-hq tests", "path": ".github/workflows/tests.yml", "contents": "name: commcare-hq tests\non:\n  pull_request:\n    branches:\n    - master\n    - hotfix-deploy\n    - mjr/add-change-meta-context\n    - mjr/new_dedupe_model\n    - mjr/dedupe_handle_closed_cases\n  schedule:\n    # see corehq/apps/hqadmin/management/commands/static_analysis.py\n    - cron: '47 12 * * *'\njobs:\n  tests:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 60\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - {TEST: python, NOSE_DIVIDED_WE_RUN: '05'}\n        - {TEST: python, NOSE_DIVIDED_WE_RUN: '6a'}\n        - {TEST: python, NOSE_DIVIDED_WE_RUN: 'bf'}\n        - {TEST: python-sharded-and-javascript}\n    env:\n      DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}\n      DATADOG_APP_KEY: ${{ secrets.DATADOG_APP_KEY }}\n      REUSE_DB: true  # do not drop databases on completion to save time\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n    - name: Docker info\n      run: |\n        docker version\n        docker compose version\n    - name: Docker login\n      env:\n        TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}\n      if: env.TOKEN != ''\n      uses: docker/login-action@v3\n      with:\n        username: dimagi\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n    - name: Run tests\n      env:\n        TEST: ${{ matrix.TEST }}\n        NOSE_DIVIDED_WE_RUN: ${{ matrix.NOSE_DIVIDED_WE_RUN }}\n        JS_SETUP: yes\n        KAFKA_HOSTNAME: kafka\n        STRIPE_PRIVATE_KEY: ${{ secrets.STRIPE_PRIVATE_KEY }}\n      run: scripts/docker test --noinput --stop -v --divided-we-run=${{ matrix.NOSE_DIVIDED_WE_RUN }} --divide-depth=1 --with-timing --with-flaky --threshold=10 --max-test-time=29\n    - name: \"Codecov upload\"\n      env:\n        TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      if: env.TOKEN != ''\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        files: coverage.xml\n        fail_ci_if_error: true\n    - name: Stop containers\n      if: always()\n      run: scripts/docker down\n    - name: Upload test artifacts\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: test-artifacts\n        path: artifacts\n        if-no-files-found: ignore\n        retention-days: 7\n", "state": "active", "repository": "dimagi/commcare-hq"}
{"mined_at": "2024-07-15T15:00:47.168352", "created_at": "2022-04-07T19:51:22+02:00", "updated_at": "2023-05-02T21:04:46+02:00", "name": "Update transifex translations", "path": ".github/workflows/update-translations.yml", "contents": "on:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 6 * * 3'  # Every Wed at 06:00 UTC\n\nname: Update transifex translations\njobs:\n  update_translations:\n    name: Update transifex translations\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: master\n          submodules: recursive\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a\n        id: generate-token\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_PRIVATE_KEY }}\n      - name: Install Python requirements\n        run: |\n          pip install --upgrade pip\n          # install requirements, excluding difficult to install ones\n          grep -Ev 'xmlsec|python3-saml' requirements/dev-requirements.txt > ../requirements.txt\n          pip install -r ../requirements.txt\n      - name: Install transifex client\n        run: |\n          mkdir -p /home/runner/.local/bin\n          cd /home/runner/.local/bin\n          curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash\n          sudo apt-get install -y gettext\n      - name: Configure transifex client\n        env:\n          TRANSIFEX_TOKEN: ${{ secrets.TRANSIFEX_TOKEN }}\n        run: |\n          # copy .transifexrc.example to ~/.transifexrc, edited to include token\n          grep -v '^token =' .transifexrc.example > ~/.transifexrc\n          echo \"token = ${TRANSIFEX_TOKEN}\" >> ~/.transifexrc\n      - name: Run update-translations script\n        run: |\n          ./scripts/update-translations.sh\n        env:\n          UPDATE_TRANSLATIONS_SKIP_GIT: 1\n      - name: Create Pull Request\n        # https://github.com/marketplace/actions/create-pull-request\n        # Pinned to the commit of https://github.com/peter-evans/create-pull-request/releases/tag/v5.0.2\n        uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38\n        with:\n          token: ${{ steps.generate-token.outputs.token }}\n          base: master\n          branch: create-pull-request/update-translations\n          branch-suffix: short-commit-hash\n          commit-message: |\n            Update translations\n          title: 'Update Translations'\n          labels: product/invisible\n          body: |\n            GitHub Actions automatically ran update-translations.sh and used [create-pull-request](https://github.com/peter-evans/create-pull-request) to open this pull request.\n", "state": "active", "repository": "dimagi/commcare-hq"}
{"mined_at": "2024-07-15T15:00:49.423525", "created_at": "2023-06-23T20:56:16+02:00", "updated_at": "2024-01-26T20:11:05+01:00", "name": "Add new contributor to AUTHORS.md", "path": ".github/workflows/add_contributor.yml", "contents": "name: Add new contributor to AUTHORS.md\non:\n  pull_request:\n    types: [opened]\n\njobs:\n  check_contributor_exists:\n    runs-on: ubuntu-latest\n\n    outputs:\n      is_contributor_in_file: ${{ steps.check_contributor_step.outputs.exists }}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          sparse-checkout: .\n\n      - name: Check if contributor already exists\n        id: check_contributor_step\n        run: |\n          exists=$(grep -c -F \"${{ github.event.pull_request.user.login }}\" AUTHORS.md || true)\n          if [[ $exists -gt 0 ]]; then\n            echo \"exists=true\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"exists=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n  add_contributor:\n    runs-on: ubuntu-latest\n    needs: check_contributor_exists\n\n    if: needs.check_contributor_exists.outputs.is_contributor_in_file == 'false'\n\n    permissions:\n      contents: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Git and checkout PR's branch\n        run: |\n          git config --global user.name 'github-actions[bot]'\n          git config --global user.email 'github-actions[bot]@users.noreply.github.com'\n\n          git fetch origin refs/pull/${{ github.event.number }}/head:pr\n          git checkout pr\n\n      - name: Get contributor's full name and append to AUTHORS.md file\n        run: |\n          username=${{ github.event.pull_request.user.login }}\n          full_name=$(curl -s -H \"Authorization: token $GITHUB_TOKEN\" \"https://api.github.com/users/$username\" | jq -r '.name')\n          if [[ \"$full_name\" == \"\" || \"$full_name\" == \"null\" ]]; then\n            full_name='-'\n          fi\n          echo \"| $full_name | $username |\" >> AUTHORS.md\n\n      - name: Commit and push changes to the contributor's PR branch\n        run: |\n          git add AUTHORS.md\n          git commit -m \"Add ${{ github.event.pull_request.user.login }} to AUTHORS.md\"\n          git push origin pr:${{ github.event.pull_request.head.ref }}\n", "state": "disabled_manually", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:00:50.647351", "created_at": "2022-03-01T17:20:38+01:00", "updated_at": "2023-06-20T02:11:50+02:00", "name": "Build PEX file", "path": ".github/workflows/build_pex.yml", "contents": "name: Build PEX file\n\non:\n  workflow_call:\n    inputs:\n      whl-file-name:\n        required: true\n        type: string\n    outputs:\n      pex-file-name:\n        description: \"PEX file name\"\n        value: ${{ jobs.build_pex.outputs.pex-file-name }}\n\njobs:\n  build_pex:\n    name: Build PEX\n    runs-on: ubuntu-20.04\n    outputs:\n      pex-file-name: ${{ steps.get-pex-filename.outputs.pex-file-name }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.6\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.6\n    - uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Install Python build dependencies\n      run: pip install -r requirements/build.txt\n    - uses: actions/download-artifact@v4\n      with:\n        name: ${{ inputs.whl-file-name }}\n        path: dist\n    - name: Build PEX\n      run: make pex\n    - name: Get PEX filename\n      id: get-pex-filename\n      run: echo \"pex-file-name=$(ls dist | grep .pex | cat)\" >> $GITHUB_OUTPUT\n    - uses: actions/upload-artifact@v4\n      with:\n        name: ${{ steps.get-pex-filename.outputs.pex-file-name }}\n        path: dist/${{ steps.get-pex-filename.outputs.pex-file-name }}\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:00:51.777181", "created_at": "2021-08-13T22:56:58+02:00", "updated_at": "2023-06-20T02:11:50+02:00", "name": "Build WHL file", "path": ".github/workflows/build_whl.yml", "contents": "name: Build WHL file\n\non:\n  workflow_call:\n    outputs:\n      whl-file-name:\n        description: \"WHL file name\"\n        value: ${{ jobs.build_whl.outputs.whl-file-name }}\n      tar-file-name:\n        description: \"TAR file name\"\n        value: ${{ jobs.build_whl.outputs.tar-file-name }}\n\njobs:\n  build_whl:\n    name: Build WHL\n    runs-on: ubuntu-20.04\n    outputs:\n      whl-file-name: ${{ steps.get-whl-filename.outputs.whl-file-name }}\n      tar-file-name: ${{ steps.get-tar-filename.outputs.tar-file-name }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        lfs: true\n    - name: Install Ubuntu dependencies\n      run: |\n        sudo apt-get -y -qq update\n        sudo apt-get install -y gettext\n    - name: Set up Python 3.6\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.6\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: '18.x'\n    - name: Get yarn cache directory path\n      id: yarn-cache-dir-path\n      run: echo \"dir=$(yarn cache dir)\" >> $GITHUB_OUTPUT\n    - name: Cache Node.js modules\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.yarn-cache-dir-path.outputs.dir }}\n        key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}\n        restore-keys: |\n          ${{ runner.os }}-yarn-\n    - name: Install Javascript dependencies\n      run: |\n        yarn --frozen-lockfile\n        npm rebuild node-sass\n    - name: Cache Python dependencies\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Cache C extensions\n      uses: actions/cache@v4\n      with:\n        path: cext_cache\n        key: ${{ runner.os }}-cext-${{ hashFiles('requirements/cext*.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-cext-\n    - name: Install Python build dependencies\n      run: pip install -r requirements/build.txt\n    - name: Build Kolibri\n      run: make dist\n    - name: Get WHL filename\n      id: get-whl-filename\n      run: echo \"whl-file-name=$(ls dist | grep .whl | cat)\" >> $GITHUB_OUTPUT\n    - uses: actions/upload-artifact@v4\n      with:\n        name: ${{ steps.get-whl-filename.outputs.whl-file-name }}\n        path: dist/${{ steps.get-whl-filename.outputs.whl-file-name }}\n    - name: Get TAR filename\n      id: get-tar-filename\n      run: echo \"tar-file-name=$(ls dist | grep .tar | cat)\" >> $GITHUB_OUTPUT\n    - uses: actions/upload-artifact@v4\n      with:\n        name: ${{ steps.get-tar-filename.outputs.tar-file-name }}\n        path: dist/${{ steps.get-tar-filename.outputs.tar-file-name }}\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:00:52.886310", "created_at": "2020-11-04T19:37:47+01:00", "updated_at": "2023-06-15T01:04:57+02:00", "name": "Static dependencies with and without C extensions", "path": ".github/workflows/c_extensions.yml", "contents": "name: Static dependencies with and without C extensions\n\non:\n  push:\n    branches:\n    - develop\n    - 'release-v**'\n  pull_request:\n    branches:\n    - develop\n    - 'release-v**'\n\njobs:\n  pre_job:\n    name: Path match check\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          github_token: ${{ github.token }}\n          paths: '[\"**.py\", \"requirements/base.txt\", \"requirements/build.txt\"]'\n  c_ext:\n    name: C Extensions\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.6\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-ext-${{ hashFiles('requirements/*.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-ext\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements/base.txt\n        pip install -r requirements/build.txt\n        pip install -r requirements/test.txt\n    - name: Check C extensions build and run\n      run: |\n        # Ensure that for this Python version, we can actually compile ALL files\n        # in the kolibri directory\n        python -m compileall -q kolibri -x py2only\n        # Until we have staged builds, we will be running this in each and every\n        # environment even though builds should be done in Py 3.6\n        make staticdeps\n        make staticdeps-cext\n        pip install .\n        # Start and stop kolibri\n        coverage run -p kolibri start --port=8081\n        coverage run -p kolibri stop\n        # Run just tests in test/\n        py.test --cov=kolibri --cov-report= --cov-append --color=no test/\n  no_c_ext:\n    name: No C Extensions\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.6\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-no-ext-${{ hashFiles('requirements/*.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-no-ext\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements/base.txt\n        pip install -r requirements/build.txt\n        pip install -r requirements/test.txt\n    - name: Check No C extensions build and run\n      run: |\n        # Ensure that for this Python version, we can actually compile ALL files\n        # in the kolibri directory\n        python -m compileall -q kolibri -x py2only\n        # Until we have staged builds, we will be running this in each and every\n        # environment even though builds should be done in Py 3.6\n        make staticdeps\n        pip install .\n        # Start and stop kolibri\n        coverage run -p kolibri start --port=8081\n        coverage run -p kolibri stop\n        # Run just tests in test/\n        py.test --cov=kolibri --cov-report= --cov-append --color=no test/\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:00:54.020074", "created_at": "2020-11-04T19:37:47+01:00", "updated_at": "2023-09-15T13:36:47+02:00", "name": "Docs", "path": ".github/workflows/check_docs.yml", "contents": "name: Docs\n\non:\n  push:\n    branches:\n    - develop\n    - 'release-v**'\n  pull_request:\n    branches:\n    - develop\n    - 'release-v**'\n\njobs:\n  pre_job:\n    name: Path match check\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          github_token: ${{ github.token }}\n          paths: '[\"docs/**\", \"requirements/docs.txt\", \".github/workflows/check_docs.yml\", \"*.md\"]'\n  docs:\n    name: Checking docs build\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-docs-${{ hashFiles('requirements/docs.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-docs\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements/docs.txt\n    - name: Check Docs build\n      run: make docs\n", "state": "disabled_manually", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:00:55.147838", "created_at": "2020-11-04T19:37:47+01:00", "updated_at": "2020-11-04T19:37:47+01:00", "name": "Licenses", "path": ".github/workflows/check_licenses.yml", "contents": "name: Licenses\n\non:\n  push:\n    branches:\n    - develop\n    - 'release-v**'\n  pull_request:\n    branches:\n    - develop\n    - 'release-v**'\n\njobs:\n  pre_job:\n    name: Path match check\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          github_token: ${{ github.token }}\n          paths: '[\"requirements/*.txt\", \"package.json\", \"**/package.json\", \"yarn.lock\", \"test/conditional/test_licenses.sh\", \".github/workflows/check_licenses.yml\"]'\n  licenses:\n    name: Licenses check\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: '18.x'\n    - name: Cache Node.js modules\n      uses: actions/cache@v4\n      with:\n        path: '**/node_modules'\n        key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }}\n        restore-keys: |\n          ${{ runner.OS }}-node-\n    - uses: actions/setup-python@v5\n    - name: Install dependencies\n      run: |\n        # Use a Python virtual environment to ensure\n        # our license check is only for packages\n        # explicitly installed for Kolibri\n        python -m venv ./virtualenv_dir\n        source ./virtualenv_dir/bin/activate\n        python -m pip install --upgrade pip\n        # Actually install all our requirements before doing a license check\n        pip install -r requirements.txt\n        yarn --frozen-lockfile\n        npm rebuild node-sass\n    - name: Check Licenses\n      run: ./test/conditional/test_licenses.sh\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:00:56.279831", "created_at": "2024-07-03T18:25:19+02:00", "updated_at": "2024-07-04T02:28:29+02:00", "name": "Morango Integration Tests", "path": ".github/workflows/morango_integration.yml", "contents": null, "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:00:57.406111", "created_at": "2020-11-04T19:37:47+01:00", "updated_at": "2020-11-04T19:37:47+01:00", "name": "No zombie threads", "path": ".github/workflows/no_zombies.yml", "contents": "name: No zombie threads\n\non:\n  push:\n    branches:\n    - develop\n    - 'release-v**'\n  pull_request:\n    branches:\n    - develop\n    - 'release-v**'\n\njobs:\n  pre_job:\n    name: Path match check\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          github_token: ${{ github.token }}\n          paths: '[\"kolibri/**/*.py\", \"requirements/base.txt\"]'\n  zombies:\n    name: No zombies\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-base-${{ hashFiles('requirements/base.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-base\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements/base.txt\n        pip install -r requirements/cext.txt\n    - name: Check proper shutdown\n      run: |\n        pip install .\n\n        # ensure kolibri stops within 20 seconds 10 times in a row\n        ./test/ensure_kolibri_stops_within_time.sh 20 10 8082 8083\n        ./test/ensure_no_kolibris_running_on_port.sh 8082\n        ./test/ensure_no_kolibris_running_on_port.sh 8083\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:00:58.424033", "created_at": "2023-12-12T17:42:05+01:00", "updated_at": "2023-12-12T17:42:05+01:00", "name": "Send a slack notification when a contributor comments on issue", "path": ".github/workflows/notify_team_new_comment.yml", "contents": "name: Send a slack notification when a contributor comments on issue\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  contributor_issue_comment:\n    name: Contributor issue comment\n\n    if: >-\n      ${{\n        !github.event.issue.pull_request &&\n        github.event.comment.author_association != 'MEMBER' &&\n        github.event.comment.author_association != 'OWNER'\n      }}\n\n    runs-on: ubuntu-latest\n    steps:\n      - name: Escape title double quotes\n        id: escape_title\n        env:\n          ISSUE_TITLE: ${{ github.event.issue.title }}\n        run: echo \"ISSUE_TITLE=${ISSUE_TITLE//\\\"/\\\\\\\"}\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Send message to Slack channel\n        env:\n            SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n            SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n        uses: slackapi/slack-github-action@v1.26.0\n        with:\n          payload: |\n            {\n              \"text\": \"*[Kolibri] New comment on issue: <${{ github.event.issue.html_url }}#issuecomment-${{ github.event.comment.id }}|${{ steps.escape_title.outputs.ISSUE_TITLE }} by ${{ github.event.comment.user.login }}>*\"\n            }\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:00:59.424689", "created_at": "2021-07-14T16:50:11+02:00", "updated_at": "2022-01-28T01:36:45+01:00", "name": "Postgres Versions Tests", "path": ".github/workflows/postgres.yml", "contents": "name: Postgres Versions Tests\n\non:\n  schedule:\n    - cron: '0 18 * * 1'\n\njobs:\n  postgres:\n    name: Python postgres unit tests\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        postgres-version: [9, 10, 11, 12, 13]\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgres:${{ matrix.postgres-version }}\n        # Provide the password for postgres\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: test\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.9 for Postgres\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: Install tox\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: tox env cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ github.workspace }}/.tox/py3.9\n        key: ${{ runner.os }}-tox-py3.9-${{ hashFiles('requirements/*.txt') }}\n    - name: Test with tox\n      run: tox -e postgres\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:01:00.506852", "created_at": "2022-03-18T18:11:03+01:00", "updated_at": "2022-03-19T03:58:37+01:00", "name": "Build Asset Comment for Pull Request", "path": ".github/workflows/pr_build_comment.yml", "contents": "name: Build Asset Comment for Pull Request\n\non:\n  workflow_run:\n    workflows: [Kolibri Build Assets for Pull Request]\n    types:\n      - completed\n\njobs:\n  post:\n    name: Add build artifact PR comment\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Make text for build comment\n        id: comment-text\n        uses: actions/github-script@v7\n        with:\n          script: |\n            const utils = require('./.github/githubUtils.js')\n            return await utils.generateAssetComment(github, context)\n      - name: Unzip PR number artifact\n        run: unzip pr_number.zip\n      - name: Get PR number\n        id: pr-number\n        uses: actions/github-script@v7\n        with:\n          script: |\n            const fs = require('fs');\n            const prNumber = Number(fs.readFileSync('./pr_number'));\n            return prNumber\n      - name: Find build comment\n        id: find-comment\n        uses: actions/github-script@v7\n        with:\n          script: |\n            const utils = require('./.github/githubUtils.js')\n            return await utils.findComment(github, context, ${{steps.pr-number.outputs.result}})\n      - name: Create build comment\n        if: ${{!steps.find-comment.outputs.result}}\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n              github.rest.issues.createComment({\n                issue_number: ${{steps.pr-number.outputs.result}},\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                body: ${{ steps.comment-text.outputs.result }}\n              })\n      - name: Update build comment\n        if: ${{steps.find-comment.outputs.result}}\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n              github.rest.issues.updateComment({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                comment_id: ${{steps.find-comment.outputs.result}},\n                body: ${{ steps.comment-text.outputs.result }}\n              })\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:01:01.596751", "created_at": "2022-02-22T16:50:14+01:00", "updated_at": "2024-02-13T20:04:24+01:00", "name": "Kolibri Build Assets for Pull Request", "path": ".github/workflows/pr_build_kolibri.yml", "contents": "name: Kolibri Build Assets for Pull Request\n\non: pull_request\n\njobs:\n  prnumber:\n    # The workflow_run event can't access the pull request\n    # information unless the pull request comes from a non-fork\n    # repository. Therefore to get the pull request information,\n    # we need to store it as a workflow artifact in this workflow.\n    # Implementation taken from:\n    # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#using-data-from-the-triggering-workflow\n    runs-on: ubuntu-latest\n    steps:\n      - name: Save PR number\n        env:\n          PR_NUMBER: ${{ github.event.number }}\n        run: |\n          mkdir -p ./pr\n          echo $PR_NUMBER > ./pr/pr_number\n      - uses: actions/upload-artifact@v4\n        with:\n          name: pr_number\n          path: pr/\n  whl:\n    name: Build WHL file\n    uses: ./.github/workflows/build_whl.yml\n  pex:\n    name: Build PEX file\n    needs: whl\n    uses: ./.github/workflows/build_pex.yml\n    with:\n      whl-file-name: ${{ needs.whl.outputs.whl-file-name }}\n  dmg:\n    name: Build DMG file\n    needs: whl\n    uses: learningequality/kolibri-app/.github/workflows/build_mac.yml@main\n    with:\n      whl-file-name: ${{ needs.whl.outputs.whl-file-name }}\n      ref: main\n  deb:\n    name: Build DEB file\n    needs: whl\n    uses: learningequality/kolibri-installer-debian/.github/workflows/build_deb.yml@v0.16.1\n    with:\n      tar-file-name: ${{ needs.whl.outputs.tar-file-name }}\n      ref: v0.16.1\n  exe:\n    name: Build EXE file\n    needs: whl\n    uses: learningequality/kolibri-installer-windows/.github/workflows/build_exe.yml@v1.6.0\n    with:\n      whl-file-name: ${{ needs.whl.outputs.whl-file-name }}\n      ref: v1.6.0\n  apk:\n    name: Build APK file\n    needs: whl\n    uses: learningequality/kolibri-installer-android/.github/workflows/build_apk.yml@v0.1.0\n    with:\n      tar-file-name: ${{ needs.whl.outputs.tar-file-name }}\n      ref: v0.1.0\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:01:02.659081", "created_at": "2022-12-16T17:49:01+01:00", "updated_at": "2023-01-05T22:39:20+01:00", "name": "PR Labels", "path": ".github/workflows/pr_labels.yml", "contents": "name: PR Labels\n\non: [pull_request_target]\n\njobs:\n  size-labels:\n    runs-on: ubuntu-latest\n    name: Label the PR size\n    steps:\n      - uses: learningequality/pr-labeler@0da0f2aedfe5cb64819beb865015a57e19fbecf6\n        with:\n          xs_max_size: '10'\n          s_max_size: '100'\n          m_max_size: '500'\n          l_max_size: '1000'\n          exclude_files: '^$'\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  other-labels:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v5\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:01:03.809954", "created_at": "2020-11-04T19:37:47+01:00", "updated_at": "2020-11-04T19:37:47+01:00", "name": "Linting", "path": ".github/workflows/pre-commit.yml", "contents": "name: Linting\n\non:\n  push:\n    branches:\n    - develop\n    - 'release-v**'\n  pull_request:\n    branches:\n    - develop\n    - 'release-v**'\n\njobs:\n  pre_job:\n    name: Path match check\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          github_token: ${{ github.token }}\n          paths_ignore: '[\"**.po\", \"**.json\"]'\n  linting:\n    name: All file linting\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: '18.x'\n    - name: Get yarn cache directory path\n      id: yarn-cache-dir-path\n      run: echo \"dir=$(yarn cache dir)\" >> $GITHUB_OUTPUT\n    - name: Cache Node.js modules\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.yarn-cache-dir-path.outputs.dir }}\n        key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}\n        restore-keys: |\n          ${{ runner.os }}-yarn-\n    - name: Install dependencies\n      run: |\n        yarn --frozen-lockfile\n        npm rebuild node-sass\n    - uses: pre-commit/action@v3.0.1\n    - name: Run pre-commit-ci-lite\n      uses: pre-commit-ci/lite-action@v1.0.2\n      if: always()\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:01:04.884497", "created_at": "2022-10-18T23:22:17+02:00", "updated_at": "2022-10-18T23:22:17+02:00", "name": "Upload Python Package", "path": ".github/workflows/pypi_upload.yml", "contents": "name: Upload Python Package\n\non:\n  workflow_call:\n    inputs:\n      whl-file-name:\n        required: true\n        type: string\n      tar-file-name:\n        required: true\n        type: string\n      test:\n        description: 'Should this be uploaded to testpypi?'\n        required: true\n        type: boolean\n    secrets:\n      GPG_SIGNING_KEY:\n        required: true\n      GPG_PASSPHRASE:\n        required: true\n      TESTPYPI_API_TOKEN:\n        required: true\n      PYPI_API_TOKEN:\n        required: true\n\njobs:\n  deploy:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - uses: actions/download-artifact@v4\n      with:\n        name: ${{ inputs.whl-file-name }}\n        path: dist\n    - uses: actions/download-artifact@v4\n      with:\n        name: ${{ inputs.tar-file-name }}\n        path: dist\n    - name: Configure GPG Key\n      run: |\n        echo -n \"${{ secrets.GPG_SIGNING_KEY }}\" | base64 --decode | gpg --import --no-tty --batch --yes\n    - name: Sign wheel\n      run: gpg --batch --pinentry loopback --passphrase \"${{ secrets.GPG_PASSPHRASE }}\" --detach-sign --armor dist/${{ inputs.whl-file-name }}\n    - name: Sign tarball\n      run: gpg --batch --pinentry loopback --passphrase \"${{ secrets.GPG_PASSPHRASE }}\" --detach-sign --armor dist/${{ inputs.tar-file-name }}\n    - name: Publish to TestPyPi\n      if: ${{ inputs.test }}\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.TESTPYPI_API_TOKEN }}\n      run: |\n        twine upload -s -r testpypi dist/*\n    - name: Publish to PyPi\n      if: ${{ !inputs.test }}\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        twine upload -s dist/*\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:01:06.085457", "created_at": "2020-11-04T19:37:47+01:00", "updated_at": "2024-01-26T01:05:35+01:00", "name": "Python 2 linting", "path": ".github/workflows/python2lint.yml", "contents": null, "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:01:07.211067", "created_at": "2022-10-18T23:22:17+02:00", "updated_at": "2022-10-18T23:22:17+02:00", "name": "Release Kolibri", "path": ".github/workflows/release_kolibri.yml", "contents": "name: Release Kolibri\n\non:\n  release:\n    types: [published]\n\njobs:\n  whl:\n    name: Build WHL file\n    uses: ./.github/workflows/build_whl.yml\n  upload_whl:\n    uses: ./.github/workflows/upload_github_release_asset.yml\n    needs: whl\n    with:\n      filename: ${{ needs.whl.outputs.whl-file-name }}\n      release_id: ${{ github.event.release.id }}\n  upload_tar:\n    uses: ./.github/workflows/upload_github_release_asset.yml\n    needs: whl\n    with:\n      filename: ${{ needs.whl.outputs.tar-file-name }}\n      release_id: ${{ github.event.release.id }}\n  pex:\n    name: Build PEX file\n    needs: whl\n    uses: ./.github/workflows/build_pex.yml\n    with:\n      whl-file-name: ${{ needs.whl.outputs.whl-file-name }}\n  upload_pex:\n    uses: ./.github/workflows/upload_github_release_asset.yml\n    needs: pex\n    with:\n      filename: ${{ needs.pex.outputs.pex-file-name }}\n      release_id: ${{ github.event.release.id }}\n  dmg:\n    name: Build DMG file\n    needs: whl\n    uses: learningequality/kolibri-app/.github/workflows/build_mac.yml@v0.4.0\n    with:\n      whl-file-name: ${{ needs.whl.outputs.whl-file-name }}\n      release: true\n      ref: v0.4.0\n    secrets:\n      KOLIBRI_MAC_APP_IDENTITY: ${{ secrets.KOLIBRI_MAC_APP_IDENTITY }}\n      KOLIBRI_MAC_APP_CERTIFICATE: ${{ secrets.KOLIBRI_MAC_APP_CERTIFICATE }}\n      KOLIBRI_MAC_APP_CERTIFICATE_PASSWORD: ${{ secrets.KOLIBRI_MAC_APP_CERTIFICATE_PASSWORD }}\n      KOLIBRI_MAC_APP_USERNAME: ${{ secrets.KOLIBRI_MAC_APP_USERNAME }}\n      KOLIBRI_MAC_APP_PASSWORD: ${{ secrets.KOLIBRI_MAC_APP_PASSWORD }}\n      KOLIBRI_MAC_APP_TEAM_ID: ${{ secrets.KOLIBRI_MAC_APP_TEAM_ID }}\n  upload_dmg:\n    uses: ./.github/workflows/upload_github_release_asset.yml\n    needs: dmg\n    with:\n      filename: ${{ needs.dmg.outputs.dmg-file-name }}\n      release_id: ${{ github.event.release.id }}\n  deb:\n    name: Build DEB file\n    needs: whl\n    uses: learningequality/kolibri-installer-debian/.github/workflows/build_deb.yml@v0.16.1\n    with:\n      tar-file-name: ${{ needs.whl.outputs.tar-file-name }}\n      ref: v0.16.1\n  upload_deb:\n    uses: ./.github/workflows/upload_github_release_asset.yml\n    needs: deb\n    with:\n      filename: ${{ needs.deb.outputs.deb-file-name }}\n      release_id: ${{ github.event.release.id }}\n  exe:\n    name: Build EXE file\n    needs: whl\n    uses: learningequality/kolibri-installer-windows/.github/workflows/build_exe.yml@v1.6.0\n    with:\n      whl-file-name: ${{ needs.whl.outputs.whl-file-name }}\n      release: true\n      ref: v1.6.0\n    secrets:\n      KOLIBRI_WINDOWS_INSTALLER_CERTIFICATE: ${{ secrets.KOLIBRI_WINDOWS_INSTALLER_CERTIFICATE }}\n      KOLIBRI_WINDOWS_INSTALLER_CERTIFICATE_PASSWORD: ${{ secrets.KOLIBRI_WINDOWS_INSTALLER_CERTIFICATE_PASSWORD }}\n  upload_exe:\n    uses: ./.github/workflows/upload_github_release_asset.yml\n    needs: exe\n    with:\n      filename: ${{ needs.exe.outputs.exe-file-name }}\n      release_id: ${{ github.event.release.id }}\n  zip:\n    name: Build Raspberry Pi Image\n    needs: deb\n    uses: learningequality/pi-gen/.github/workflows/build_zip.yml@v0.16.0\n    with:\n      deb-file-name: ${{ needs.deb.outputs.deb-file-name }}\n      ref: v0.16.0\n  upload_zip:\n    uses: ./.github/workflows/upload_github_release_asset.yml\n    needs: zip\n    with:\n      filename: ${{ needs.zip.outputs.zip-file-name }}\n      release_id: ${{ github.event.release.id }}\n  apk:\n    name: Build Android APK\n    needs: whl\n    uses: learningequality/kolibri-installer-android/.github/workflows/build_apk.yml@v0.1.0\n    with:\n      tar-file-name: ${{ needs.whl.outputs.tar-file-name }}\n      release: true\n      ref: v0.1.0\n    secrets:\n      KOLIBRI_ANDROID_APP_PRODUCTION_KEYSTORE: ${{ secrets.KOLIBRI_ANDROID_APP_PRODUCTION_KEYSTORE }}\n      KOLIBRI_ANDROID_APP_PRODUCTION_KEYSTORE_PASSWORD: ${{ secrets.KOLIBRI_ANDROID_APP_PRODUCTION_KEYSTORE_PASSWORD }}\n      KOLIBRI_ANDROID_APP_PRODUCTION_KEYALIAS_PASSWORD: ${{ secrets.KOLIBRI_ANDROID_APP_PRODUCTION_KEYALIAS_PASSWORD }}\n      KOLIBRI_ANDROID_PLAY_STORE_API_SERVICE_ACCOUNT_JSON: ${{ secrets.KOLIBRI_ANDROID_PLAY_STORE_API_SERVICE_ACCOUNT_JSON }}\n  upload_apk:\n    uses: ./.github/workflows/upload_github_release_asset.yml\n    needs: apk\n    with:\n      filename: ${{ needs.apk.outputs.apk-file-name }}\n      release_id: ${{ github.event.release.id }}\n  test_pypi_upload:\n    name: Upload to TestPyPi\n    needs: whl\n    uses: ./.github/workflows/pypi_upload.yml\n    with:\n      whl-file-name: ${{ needs.whl.outputs.whl-file-name }}\n      tar-file-name: ${{ needs.whl.outputs.tar-file-name }}\n      test: true\n    secrets:\n      GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}\n      GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}\n      TESTPYPI_API_TOKEN: ${{ secrets.TESTPYPI_API_TOKEN }}\n      PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n  block_release_step:\n  # This step ties to the release environment which requires manual approval\n  # before it can execute. Once manual approval has been granted, the release is\n  # unblocked and all the subsequent steps in this workflow will happen.\n    name: Job to block publish of a release until it has been manually approved\n    if: ${{ !github.event.release.prerelease }}\n    needs: [whl, pex, dmg, deb, exe, test_pypi_upload]\n    runs-on: ubuntu-latest\n    environment: release\n    steps:\n      - run: echo \"Release now publishing!\"\n  pypi_upload:\n    name: Upload to PyPi\n    if: ${{ !github.event.release.prerelease }}\n    needs: [whl, block_release_step]\n    uses: ./.github/workflows/pypi_upload.yml\n    with:\n      whl-file-name: ${{ needs.whl.outputs.whl-file-name }}\n      tar-file-name: ${{ needs.whl.outputs.tar-file-name }}\n      test: false\n    secrets:\n      GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}\n      GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}\n      TESTPYPI_API_TOKEN: ${{ secrets.TESTPYPI_API_TOKEN }}\n      PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n  gcs_upload:\n    name: Upload to Google Cloud Storage\n    if: ${{ !github.event.release.prerelease }}\n    runs-on: ubuntu-latest\n    needs: [block_release_step, whl, pex, dmg, deb, exe, zip, apk]\n    strategy:\n      matrix:\n        filename: [\n          '${{ needs.whl.outputs.whl-file-name }}',\n          '${{ needs.whl.outputs.tar-file-name }}',\n          '${{ needs.pex.outputs.pex-file-name }}',\n          '${{ needs.dmg.outputs.dmg-file-name }}',\n          '${{ needs.deb.outputs.deb-file-name }}',\n          '${{ needs.exe.outputs.exe-file-name }}',\n          '${{ needs.zip.outputs.zip-file-name }}',\n          '${{ needs.apk.outputs.apk-file-name }}',\n        ]\n    steps:\n    - name: Download ${{ matrix.filename }} artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: ${{ matrix.filename }}\n        path: dist\n    - uses: 'google-github-actions/auth@v2'\n      with:\n        credentials_json: '${{ secrets.GH_UPLOADER_GCP_SA_CREDENTIALS }}'\n    - name: 'Set up Cloud SDK'\n      uses: 'google-github-actions/setup-gcloud@v2'\n    - name: Upload files to Google Cloud Storage\n      uses: 'google-github-actions/upload-cloud-storage@v2'\n      with:\n        path: 'dist/${{ matrix.filename }}'\n        destination: '${{ secrets.KOLIBRI_PUBLIC_RELEASE_GCS_BUCKET }}/downloads/kolibri/${{ github.event.release.name }}/${{ matrix.filename }}'\n    - name: Upload to BCK bucket\n      if: ${{ github.event.release.name == 'latest' }} && ${{ endsWith(matrix.filename, '.whl') }}\n      uses: 'google-github-actions/upload-cloud-storage@v2'\n      with:\n        path: 'dist/${{ matrix.filename }}'\n        destination: '${{ secrets.BCK_PROD_BUILD_ARTIFACT_GCS_BUCKET }}/${{ matrix.filename }}'\n  android_release:\n    name: Release Android App\n    if: ${{ !github.event.release.prerelease }}\n    needs: [apk, block_release_step]\n    uses: learningequality/kolibri-installer-android/.github/workflows/release_apk.yml@v0.1.0\n    with:\n      version-code: ${{ needs.apk.outputs.version-code }}\n      ref: v0.1.0\n    secrets:\n      KOLIBRI_ANDROID_PLAY_STORE_API_SERVICE_ACCOUNT_JSON: ${{ secrets.KOLIBRI_ANDROID_PLAY_STORE_API_SERVICE_ACCOUNT_JSON }}\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:01:08.255224", "created_at": "2020-11-04T19:37:47+01:00", "updated_at": "2023-06-15T01:04:57+02:00", "name": "Python tests", "path": ".github/workflows/tox.yml", "contents": "name: Python tests\n\non:\n  push:\n    branches:\n    - develop\n    - 'release-v**'\n  pull_request:\n    branches:\n    - develop\n    - 'release-v**'\n\njobs:\n  pre_job:\n    name: Path match check\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          github_token: ${{ github.token }}\n          paths: '[\"**.py\", \"requirements/*.txt\", \".github/workflows/tox.yml\", \"tox.ini\"]'\n  unit_test:\n    name: Python unit tests\n    needs: pre_job\n    runs-on: ubuntu-20.04\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install tox\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      run: |\n        python -m pip install --upgrade pip\n        pip install \"tox<4\"\n    - name: tox env cache\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      uses: actions/cache@v4\n      with:\n        path: ${{ github.workspace }}/.tox/py${{ matrix.python-version }}\n        key: ${{ runner.os }}-tox-py${{ matrix.python-version }}-${{ hashFiles('requirements/*.txt') }}\n    - name: Test with tox\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      run: tox -e py${{ matrix.python-version }}\n  postgres:\n    name: Python postgres unit tests\n    needs: pre_job\n    runs-on: ubuntu-latest\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgres:12\n        # Provide the password for postgres\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: test\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.9 for Postgres\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: Install tox\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      run: |\n        python -m pip install --upgrade pip\n        pip install \"tox<4\"\n    - name: tox env cache\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      uses: actions/cache@v4\n      with:\n        path: ${{ github.workspace }}/.tox/py3.9\n        key: ${{ runner.os }}-tox-py3.9-${{ hashFiles('requirements/*.txt') }}\n    - name: Test with tox\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      run: tox -e postgres\n  macos:\n    name: Python unit tests on Mac OS\n    needs: pre_job\n    runs-on: macos-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: ['3.10']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install tox\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      run: |\n        python -m pip install --upgrade pip\n        pip install \"tox<4\"\n    - name: tox env cache\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      uses: actions/cache@v4\n      with:\n        path: ${{ github.workspace }}/.tox/py${{ matrix.python-version }}\n        key: ${{ runner.os }}-tox-py${{ matrix.python-version }}-${{ hashFiles('requirements/*.txt') }}\n    - name: Test with tox\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      run: tox -e py${{ matrix.python-version }}\n  windows:\n    name: Python unit tests on Windows Server\n    needs: pre_job\n    runs-on: windows-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [3.8]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install tox\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      run: |\n        python -m pip install --upgrade pip\n        pip install \"tox<4\"\n    - name: Test with tox\n      if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n      run: tox -e py${{ matrix.python-version }}\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:01:09.257747", "created_at": "2023-06-30T19:44:56+02:00", "updated_at": "2023-06-30T19:44:56+02:00", "name": "Upload Release Asset to GitHub Release", "path": ".github/workflows/upload_github_release_asset.yml", "contents": "name: Upload Release Asset to GitHub Release\n\non:\n  workflow_call:\n    inputs:\n      filename:\n        required: true\n        type: string\n      release_id:\n        required: true\n        type: string\n\njobs:\n  github_upload:\n    name: Upload to Github release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Download ${{ inputs.filename }} artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.filename }}\n          path: dist\n      - uses: actions/github-script@v7\n        with:\n          script: |\n            const utils = require('./.github/githubUtils.js')\n            await utils.uploadReleaseAsset(github, context, 'dist/${{ inputs.filename }}', '${{ inputs.release_id }}')\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:01:10.309259", "created_at": "2020-11-04T19:37:47+01:00", "updated_at": "2020-11-04T19:37:47+01:00", "name": "Javascript Tests", "path": ".github/workflows/yarn.yml", "contents": "name: Javascript Tests\n\non:\n  push:\n    branches:\n    - develop\n    - 'release-v**'\n  pull_request:\n    branches:\n    - develop\n    - 'release-v**'\n\njobs:\n  pre_job:\n    name: Path match check\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          github_token: ${{ github.token }}\n          paths: '[\"**.vue\", \"**.js\", \"yarn.lock\"]'\n  test:\n    name: Frontend tests\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: '18.x'\n    - name: Get yarn cache directory path\n      id: yarn-cache-dir-path\n      run: echo \"dir=$(yarn cache dir)\" >> $GITHUB_OUTPUT\n    - name: Cache Node.js modules\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.yarn-cache-dir-path.outputs.dir }}\n        key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}\n        restore-keys: |\n          ${{ runner.os }}-yarn-\n    - name: Install dependencies\n      run: |\n        yarn --frozen-lockfile\n        npm rebuild node-sass\n    - name: Run tests\n      run: yarn run coverage\n", "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:01:11.417636", "created_at": "2024-03-25T21:58:45+01:00", "updated_at": "2024-03-25T21:58:45+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "learningequality/kolibri"}
{"mined_at": "2024-07-15T15:01:13.688479", "created_at": "2021-08-18T23:25:30+02:00", "updated_at": "2021-08-24T19:27:13+02:00", "name": "Continuous Integration", "path": ".github/workflows/ci.yml", "contents": "name: Continuous Integration\n# Needed for gcloud because as of Nov 2022, gcloud only supports python 3.5-3.9\n# https://cloud.google.com/sdk/docs/install#supported_python_versions\n# https://github.com/google-github-actions/setup-gcloud/issues/381#issuecomment-955631107\n# ubuntu-20.04 comes with python3.8. As a result, we can tell gcloud to use that.\nenv:\n CLOUDSDK_PYTHON: python3.8\non:\n  push:\n    branches:\n      - main\n  pull_request:\njobs:\n  python_tests:\n    # Need to use 20.04 because ubuntu-latest uses ubuntu-22.04.\n    # 22.04 comes with python 3.10 and that does not work with gcloud.\n    # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners\n    # Refer to CLOUDSDK_PYTHON above for more details.\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: set up Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: '18.x'\n\n      - name: set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: pre-installation\n        run: |\n          # Remove existing google-cloud-sdk packages in Ubuntu.\n          sudo rm -rf /usr/lib/google-cloud-sdk\n          curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-410.0.0-linux-x86_64.tar.gz | tar -zx > /dev/null\n          # Substitute the downloaded google-cloud-sdk packages, due to https://stackoverflow.com/questions/42697026/install-google-cloud-components-error-from-gcloud-command.\n          sudo mv google-cloud-sdk /usr/lib/\n          sudo gcloud components update\n          sudo gcloud components install app-engine-python beta cloud-datastore-emulator app-engine-python-extras\n          gcloud config set project cr-status-staging\n          gcloud version\n\n      - name: installation\n        run: |\n          npm install -g gulp\n          npm config set script-shell bash --global\n          npm run setup\n\n      - name: lint\n        run: npm run lint\n\n      - name: mypy\n        run: npm run mypy\n\n      - name: test\n        run: npm test\n\n      - name: build\n        run: npm run build\n", "state": "active", "repository": "googlechrome/chromium-dashboard"}
{"mined_at": "2024-07-15T15:01:14.770960", "created_at": "2022-01-20T23:02:49+01:00", "updated_at": "2022-01-24T23:14:11+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main, ma* ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '40 20 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "googlechrome/chromium-dashboard"}
{"mined_at": "2024-07-15T15:01:15.940821", "created_at": "2023-05-08T19:24:11+02:00", "updated_at": "2023-09-06T21:35:12+02:00", "name": "Playwright Tests", "path": ".github/workflows/playwright.yml", "contents": "name: Playwright Tests\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  playwright:\n    name: 'Playwright Tests'\n    runs-on: ubuntu-latest\n    steps:\n        - uses: actions/checkout@v4\n\n        # Steps for Playwright testing with container\n        - uses: actions/setup-node@v4\n          with:\n            node-version: 18\n        - name: Run your tests\n          timeout-minutes: 30\n          run: npm run pwtests-shutdown --workspace=playwright; npm run test --workspace=playwright\n        - uses: actions/upload-artifact@v4\n          if: failure()\n          with:\n            name: test-results\n            path: packages/playwright/test-results/\n            retention-days: 30\n", "state": "active", "repository": "googlechrome/chromium-dashboard"}
{"mined_at": "2024-07-15T15:01:17.021282", "created_at": "2022-12-12T19:04:32+01:00", "updated_at": "2022-12-12T19:04:32+01:00", "name": "Scorecards supply-chain security", "path": ".github/workflows/scorecards.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecards supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '30 7 * * 5'\n  push:\n    branches: [ \"main\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecards analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecards on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@v4\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "googlechrome/chromium-dashboard"}
{"mined_at": "2024-07-15T15:01:18.081441", "created_at": "2022-05-15T23:13:22+02:00", "updated_at": "2022-05-16T19:08:34+02:00", "name": "Continuous Integration Web Tests", "path": ".github/workflows/web_tests.yml", "contents": "name: Continuous Integration Web Tests\n# Needed for gcloud because as of Nov 2022, gcloud only supports python 3.5-3.9\n# https://cloud.google.com/sdk/docs/install#supported_python_versions\n# https://github.com/google-github-actions/setup-gcloud/issues/381#issuecomment-955631107\n# ubuntu-20.04 comes with python3.8. As a result, we can tell gcloud to use that.\nenv:\n CLOUDSDK_PYTHON: python3.8\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  web_tests:\n    # Need to use 20.04 because ubuntu-latest uses ubuntu-22.04.\n    # 22.04 comes with python 3.10 and that does not work with gcloud.\n    # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners\n    # Refer to CLOUDSDK_PYTHON above for more details.\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        node-version: [18.x]\n        # TODO: Add 14.x, 16.x.\n        # See supported Node.js release schedule at https://nodejs.org/en/about/releases/\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n          cache: 'npm'\n\n      - name: set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: pre-installation\n        run: |\n          # Remove existing google-cloud-sdk packages in Ubuntu.\n          sudo rm -rf /usr/lib/google-cloud-sdk\n          curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-410.0.0-linux-x86_64.tar.gz | tar -zx > /dev/null\n          # Substitute the downloaded google-cloud-sdk packages, due to https://stackoverflow.com/questions/42697026/install-google-cloud-components-error-from-gcloud-command.\n          sudo mv google-cloud-sdk /usr/lib/\n          sudo gcloud components update\n          sudo gcloud components install app-engine-python beta cloud-datastore-emulator app-engine-python-extras\n          gcloud config set project cr-status-staging\n          gcloud version\n\n      - name: installation\n        run: |\n          npm install -g gulp\n\n      - run: npm config set script-shell bash --global\n      - run: npm run setup\n      - name: Install playwright browsers\n        run: npx playwright install --with-deps\n      - run: npm run build --if-present\n\n      - name: Run web test runner\n        run: npm run webtest\n", "state": "active", "repository": "googlechrome/chromium-dashboard"}
{"mined_at": "2024-07-15T15:01:20.318834", "created_at": "2020-06-23T02:54:42+02:00", "updated_at": "2021-12-31T16:55:22+01:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "# Copyright 2023 Iguazio\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\nname: CI\n\non:\n  pull_request:\n    branches:\n    - development\n    - '[0-9]+.[0-9]+.x'\n    - 'feature/**'\n\n  # Run CI also on push to backport release branches - we sometimes push code there by cherry-picking, meaning it\n  # doesn't go through CI (no PR)\n  # For master all code is coming from development where it's coming from PRs (meaning it's passing CI) but there's the\n  # rare scenario where the combination of merged PRs won't pass CI\n  push:\n    branches:\n    - master\n    - '[0-9]+.[0-9]+.x'\n\njobs:\n  lint:\n    name: Lint code (Python ${{ matrix.python-version }})\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # 3.9 is the current >= 1.3.0 python version\n        python-version: [\"3.9\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip~=23.2.1\n        pip install -r dev-requirements.txt\n    - name: Lint\n      run: make lint\n\n    # perform copyright check here, to avoid spinning up another runner needlessly\n    - uses: denoland/setup-deno@v1\n      with:\n        deno-version: v1.x\n    - name: Check\n      run: |\n        deno run --allow-read https://deno.land/x/license_checker@v3.2.3/main.ts\n    - name: Instructions For Adding Copyright\n      if: ${{ failure() }}\n      run: |\n        echo \"\n        Please add the following lines to the top of your code:\n\n        # Copyright 2024 Iguazio\n        #\n        # Licensed under the Apache License, Version 2.0 (the \"License\");\n        # you may not use this file except in compliance with the License.\n        # You may obtain a copy of the License at\n        #\n        #   http://www.apache.org/licenses/LICENSE-2.0\n        #\n        # Unless required by applicable law or agreed to in writing, software\n        # distributed under the License is distributed on an \"AS IS\" BASIS,\n        # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n        # See the License for the specific language governing permissions and\n        # limitations under the License.\n        \"\n\n  tests:\n    name: Run Dockerized Tests\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    # TODO: re-use the next 2 actions instead of duplicating\n    - name: Extract git branch\n      id: git_info\n      run: |\n        echo \"branch=$(echo ${GITHUB_BASE_REF#refs/heads/})\" >> $GITHUB_OUTPUT\n    - name: Resolve docker cache tag\n      id: docker_cache\n      run: |\n        export version_suffix=$(echo \"${{ steps.git_info.outputs.branch }}\" | grep -E \"^[0-9]+\\.[0-9]+\\.x$\" | tr -d '.')\n        export unstable_tag=$(if [ -z \"$version_suffix\" ]; then echo \"unstable-cache\"; else echo \"unstable-cache-$version_suffix\";fi)\n        echo \"tag=$(echo $unstable_tag)\" >> $GITHUB_OUTPUT\n    - name: Run Dockerized tests\n      run: MLRUN_DOCKER_REGISTRY=ghcr.io/ MLRUN_DOCKER_CACHE_FROM_TAG=${{ steps.docker_cache.outputs.tag }} make test-dockerized\n\n  integration-tests:\n    name: Run Dockerized Integration Tests\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    # TODO: re-use the next 2 actions instead of duplicating\n    - name: Extract git branch\n      id: git_info\n      run: |\n        echo \"branch=$(echo ${GITHUB_BASE_REF#refs/heads/})\" >> $GITHUB_OUTPUT\n    - name: Resolve docker cache tag\n      id: docker_cache\n      run: |\n        export version_suffix=$(echo \"${{ steps.git_info.outputs.branch }}\" | grep -E \"^[0-9]+\\.[0-9]+\\.x$\" | tr -d '.')\n        export unstable_tag=$(if [ -z \"$version_suffix\" ]; then echo \"unstable-cache\"; else echo \"unstable-cache-$version_suffix\";fi)\n        echo \"tag=$(echo $unstable_tag)\" >> $GITHUB_OUTPUT\n    - name: Run Dockerized tests\n      run: MLRUN_DOCKER_REGISTRY=ghcr.io/ MLRUN_DOCKER_CACHE_FROM_TAG=${{ steps.docker_cache.outputs.tag }} make test-integration-dockerized\n      timeout-minutes: 90\n\n  migrations-tests:\n    name: Run Dockerized Migrations Tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      # TODO: re-use the next 2 actions instead of duplicating\n      - name: Extract git branch\n        id: git_info\n        run: |\n          echo \"branch=$(echo ${GITHUB_BASE_REF#refs/heads/})\" >> $GITHUB_OUTPUT\n      - name: Resolve docker cache tag\n        id: docker_cache\n        run: |\n          export version_suffix=$(echo \"${{ steps.git_info.outputs.branch }}\" | grep -E \"^[0-9]+\\.[0-9]+\\.x$\" | tr -d '.')\n          export unstable_tag=$(if [ -z \"$version_suffix\" ]; then echo \"unstable-cache\"; else echo \"unstable-cache-$version_suffix\";fi)\n          echo \"tag=$(echo $unstable_tag)\" >> $GITHUB_OUTPUT\n      - name: Run Dockerized DB Migration tests\n        run: MLRUN_DOCKER_REGISTRY=ghcr.io/ MLRUN_DOCKER_CACHE_FROM_TAG=${{ steps.docker_cache.outputs.tag }} make test-migrations-dockerized\n\n  package-tests:\n    name: Run package tests (Python ${{ matrix.python-version }}; Pipeline ${{ matrix.pipeline-adapter }})\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # 3.9 is the current >= 1.3.0 python version\n        python-version: [3.9]\n        default-pipeline-adapter: [\"kfp-v1-8\"]\n        pipeline-adapter: [\"kfp-v1-8\", \"kfp-v2\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Change default pipeline adapter for MLRun\n      if: matrix.default-pipeline-adapter != matrix.pipeline-adapter\n      run: sed -i -e 's/${{ matrix.default-pipeline-adapter }}/${{ matrix.pipeline-adapter }}/g' requirements.txt\n    - name: Install automation scripts dependencies and add mlrun to dev packages\n      run: pip install -r automation/requirements.txt && pip install -e .\n\n    - name: Test package\n      run: MLRUN_PYTHON_VERSION=${{ matrix.python-version }} make test-package\n\n  docs:\n    name: Build Project Documentation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      # TODO: re-use the next 2 actions instead of duplicating\n      - name: Extract git branch\n        id: git_info\n        run: |\n          echo \"branch=$(echo ${GITHUB_BASE_REF#refs/heads/})\" >> $GITHUB_OUTPUT\n      - name: Resolve docker cache tag\n        id: docker_cache\n        run: |\n          export version_suffix=$(echo \"${{ steps.git_info.outputs.branch }}\" | grep -E \"^[0-9]+\\.[0-9]+\\.x$\" | tr -d '.')\n          export unstable_tag=$(if [ -z \"$version_suffix\" ]; then echo \"unstable-cache\"; else echo \"unstable-cache-$version_suffix\";fi)\n          echo \"tag=$(echo $unstable_tag)\" >> $GITHUB_OUTPUT\n      - name: Generate HTML docs\n        run: MLRUN_DOCKER_REGISTRY=ghcr.io/ MLRUN_DOCKER_CACHE_FROM_TAG=${{ steps.docker_cache.outputs.tag }} make html-docs-dockerized\n      - name: Upload generated docs\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs\n          path: docs/_build/html\n\n  backward-compatibility-tests:\n    name: Run Backward Compatibility Tests\n    if: github.event_name == 'pull_request'\n    runs-on: ubuntu-latest\n    env:\n      MLRUN_BC_TESTS_HOME_PATH: /home/runner/work/mlrun/mlrun\n      MLRUN_BC_TESTS_BASE_CODE_PATH: /home/runner/work/mlrun/mlrun/base/mlrun\n      MLRUN_BC_TESTS_HEAD_CODE_PATH: /home/runner/work/mlrun/mlrun/head/mlrun\n      MLRUN_DOCKER_REGISTRY: ghcr.io/\n    steps:\n      - id: resolve_base_branch\n        run: |\n            echo \"branch=$(echo ${GITHUB_BASE_REF#refs/heads/})\" >> $GITHUB_OUTPUT\n      - name: Checkout PR Base (target) Branch\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ steps.resolve_base_branch.outputs.branch }}\n          path: base/mlrun\n      - name: Checkout Merge Commit (requested branch merged with the target branch)\n        uses: actions/checkout@v4\n        with:\n          path: head/mlrun\n      - name: Resolve docker cache tag\n        id: docker_cache\n        run: |\n          export version_suffix=$(echo \"${{ steps.git_info.outputs.branch }}\" | grep -E \"^[0-9]+\\.[0-9]+\\.x$\" | tr -d '.')\n          export unstable_tag=$(if [ -z \"$version_suffix\" ]; then echo \"unstable-cache\"; else echo \"unstable-cache-$version_suffix\";fi)\n          echo \"tag=$(echo $unstable_tag)\" >> $GITHUB_OUTPUT\n      - name: Run Backward Compatibility Tests\n        run: |\n          cd head/mlrun\n          MLRUN_DOCKER_CACHE_FROM_TAG=${{ steps.docker_cache.outputs.tag }} make test-backward-compatibility-dockerized\n\n  verify-compatible-requirements-one-after-one:\n    name: Verify compatible requirements (one after one)\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # 3.9 is the current >= 1.3.0 python version\n        python-version: [3.9]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install requirements ${{ matrix.python-version }}\n      run: make install-requirements\n    - name: Install Complete Requirements ${{ matrix.python-version }}\n      run: make install-complete-requirements\n    - name: Install All Requirements ${{ matrix.python-version }}\n      run: make install-all-requirements\n", "state": "active", "repository": "mlrun/mlrun"}
{"mined_at": "2024-07-15T15:01:21.574160", "created_at": "2020-09-21T17:46:19+02:00", "updated_at": "2022-07-21T10:41:22+02:00", "name": "Build", "path": ".github/workflows/build.yaml", "contents": "# Copyright 2023 Iguazio\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\n# This name is referenced in the release.yaml workflow, if you're changing here - change there\nname: Build\n\nrun-name: Building ${{ inputs.version }} ${{ github.ref_name }}\n\npermissions:\n\n  # Allow the action to upload images to ghcr\n  packages: write\n\non:\n  push:\n    branches:\n    - development\n    - '[0-9]+.[0-9]+.x'\n\n  workflow_dispatch:\n    inputs:\n      docker_registries:\n        description: 'Comma separated list of docker registries to push images to (default: ghcr.io/, use registry.hub.docker.com/ for docker hub)'\n        required: true\n        default: 'ghcr.io/'\n      docker_repo:\n        description: 'Docker repo to push images to (default: lowercase github repository owner name)'\n        required: false\n        default: ''\n      version:\n        description: 'The version to build, without prefix v (e.g. 1.1.0), if not provided version will be <unstable-version-prefix>-<commit-hash>, where <unstable-version-prefix> is taken from automation/version/unstable_version_prefix'\n        required: false\n        default: ''\n      skip_images:\n        description: 'Comma separated list of images to skip building, example with all possible images: mlrun,mlrun-gpu,api,base,models,jupyter,test'\n        required: false\n        default: ''\n      build_from_cache:\n        description: 'Whether to build images from cache or not. Default: true, set to false only if required because that will cause a significant increase in build time'\n        required: true\n        default: 'true'\n        type: choice\n        options:\n          - 'true'\n          - 'false'\n\njobs:\n  build-mlrun:\n    if: github.repository == 'mlrun/mlrun' || github.event_name == 'workflow_dispatch'\n    name: Build MLRun\n    uses: ./.github/workflows/build-internal.yaml\n    with:\n      docker_registries: ${{ github.event.inputs.docker_registries }}\n      docker_repo: ${{ github.event.inputs.docker_repo }}\n      version: ${{ needs.prepare-inputs.outputs.version }}\n      skip_images: ${{ github.event.inputs.skip_images }}\n      build_from_cache: ${{ github.event.inputs.build_from_cache }}\n    secrets: inherit\n", "state": "active", "repository": "mlrun/mlrun"}
{"mined_at": "2024-07-15T15:01:22.802966", "created_at": "2021-01-14T23:57:38+01:00", "updated_at": "2021-01-14T23:57:38+01:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "# Copyright 2023 Iguazio\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\nname: Release\n\nrun-name: Releasing ${{ inputs.version }} (${{ github.ref_name }})\n\npermissions:\n\n  # Create release and upload artifact to releases\n  contents: write\n\n  # Allow the action to upload images to ghcr\n  packages: write\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'The version to release, without prefix v (e.g. 1.1.0-rc10). if not provided, will be calculated from the current version and bump_version_mode'\n        default: ''\n        type: string\n      bump_version_mode:\n        description: 'The version bump mode. Whether to bump rc version or set stable version'\n        default: 'bump-rc'\n        type: choice\n        options: [ 'bump-rc', 'stable' ]\n      skip_images:\n        description: 'Comma separated list of images to skip building, example with all possible images: mlrun,mlrun-gpu,ui,api,base,jupyter,test'\n        required: false\n        default: ''\n      skip_publish_pypi:\n        description: 'Whether to skip publishing the python package to Pypi (Auto skip for feature branch)'\n        required: false\n        default: 'false'\n        type: choice\n        options: ['true', 'false']\n      skip_create_tag_release:\n        description: 'Whether to skip creating tag & release in Github (Auto skip for feature branch)'\n        required: false\n        default: 'false'\n        type: choice\n        options:\n          - 'true'\n          - 'false'\n      ui_ref:\n        description: 'The UI reference (branch / tag name) to use for the UI image, (development, 1.3.3, etc)'\n        required: false\n        default: ''\n\njobs:\n  prepare-inputs:\n    name: Prepare inputs\n    runs-on: ubuntu-latest\n    outputs:\n      is_stable_version: ${{ steps.resolve.outputs.is_stable_version }}\n      is_feature_branch: ${{ steps.resolve.outputs.is_feature_branch }}\n      version: ${{ steps.resolve.outputs.version }}\n      previous_version: ${{ steps.resolve.outputs.previous_version }}\n      ui_ref: ${{ steps.resolve.outputs.ui_ref }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n\n          # Fetch all history for all tags and branches\n          fetch-depth: 0\n      - name: Resolve inputs\n        id: resolve\n        run: |\n\n          # map the input to the actual mode\n          declare -A bump_version_mode=([\"bump-rc\"]=\"rc\" [\"stable\"]=\"rc-grad\")\n          NEXT_VERSION_MODE=${bump_version_mode[$BUMP_VERSION_MODE_INPUT]}\n          version=$(python ./automation/version/version_file.py next-version --mode $NEXT_VERSION_MODE)\n          echo \"Calculated version: $version\"\n          if [[ -n \"$VERSION_INPUT\" ]]; then \\\n            version=$VERSION_INPUT; \\\n            echo \"Using version from input: $version\"; \\\n          fi\n\n          echo \"is_stable_version=$(python ./automation/version/version_file.py is-stable $version)\" >> $GITHUB_OUTPUT\n          echo \"is_feature_branch=$(python ./automation/version/version_file.py is-feature-branch)\" >> $GITHUB_OUTPUT\n          echo \"version=$version\" >> $GITHUB_OUTPUT\n          echo \"previous_version=$(python ./automation/version/version_file.py current-version)\" >> $GITHUB_OUTPUT\n          echo \"ui_ref=${UI_REF_INPUT:-`echo ${{ github.ref_name }}`}\" >> $GITHUB_OUTPUT\n          cat $GITHUB_OUTPUT\n        env:\n          UI_REF_INPUT: ${{ github.event.inputs.ui_ref }}\n          BUMP_VERSION_MODE_INPUT: ${{ github.event.inputs.bump_version_mode }}\n          VERSION_INPUT: ${{ github.event.inputs.version }}\n\n  trigger-and-wait-for-mlrun-image-building:\n    name: Trigger build workflow in mlrun/mlrun and wait to finish\n    needs: prepare-inputs\n    uses: ./.github/workflows/build-internal.yaml\n    with:\n      docker_registries: \"ghcr.io/,quay.io/,registry.hub.docker.com/\"\n      version: ${{ needs.prepare-inputs.outputs.version }}\n      skip_images: ${{ github.event.inputs.skip_images }}\n    secrets: inherit\n\n  # TODO: Move to reuseable-workflow too.\n  # Requires cross-repo validation for passing github token as secret\n  trigger-and-wait-for-ui-image-building:\n    name: Trigger build workflow in mlrun/ui and wait to finish\n    runs-on: ubuntu-latest\n    needs: prepare-inputs\n    steps:\n      - uses: convictional/trigger-workflow-and-wait@v1.6.5\n\n        # since some steps relay on the ui image, we need to wait for it to finish building\n        # the condition is here and not on job because some other jobs \"needs\" this job to be done (and not skipped)\n        if: ${{ !contains(github.event.inputs.skip_images, 'ui') }}\n        with:\n          owner: ${{ github.repository_owner }}\n          repo: ui\n          github_token: ${{ secrets.RELEASE_GITHUB_ACCESS_TOKEN }}\n          workflow_file_name: build.yaml\n          ref: ${{ needs.prepare-inputs.outputs.ui_ref }}\n          wait_interval: 60\n          client_payload: '{\"docker_registries\": \"ghcr.io/,quay.io/,registry.hub.docker.com/\", \"version\": \"${{ needs.prepare-inputs.outputs.version }}\"}'\n\n  publish-to-pypi:\n    name: Publish package to pypi\n    runs-on: ubuntu-latest\n\n    # skip releasing to pypi for feature branches. installing mlrun can be done by:\n    # pip install 'mlrun[complete] @ git+https://github.com/mlrun/mlrun@feature/branch'\n    # pypi do not allow local version identifier (https://peps.python.org/pep-0440/#local-version-identifiers)\n    if: needs.prepare-inputs.outputs.is_feature_branch == 'false'\n\n    # publishing to pypi is (kind of) irreversible, therefore do it only if both previous steps finished successfully\n    needs: [ prepare-inputs, trigger-and-wait-for-ui-image-building, trigger-and-wait-for-mlrun-image-building ]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n          cache: pip\n      - name: Install dependencies\n        run: |\n          # needed for updating the version file prior to publishing\n          python -m pip install -r automation/requirements.txt\n          \n          # TODO: move to a separated requirements file\n          python -m pip install \\\n            build~=1.0 \\\n            wheel~=0.42 \\\n            twine~=4.0\n      - name: Build & push to pypi\n        if: github.event.inputs.skip_publish_pypi != 'true'\n        run: |\n          export TWINE_USERNAME=${{ secrets.PYPI_USERNAME }}\n          export TWINE_PASSWORD=${{ secrets.PYPI_PASSWORD }}\n          MLRUN_VERSION=\"$INPUT_VERSION\" make publish-package\n        env:\n          INPUT_VERSION: ${{ needs.prepare-inputs.outputs.version }}\n\n  create-releases:\n    name: Create release & tag v${{ needs.prepare-inputs.outputs.version }}\n    runs-on: ubuntu-latest\n    if: needs.prepare-inputs.outputs.is_feature_branch == 'false'\n    needs: [ prepare-inputs, publish-to-pypi ]\n    steps:\n      - uses: ncipollo/release-action@v1\n        if: github.event.inputs.skip_create_tag_release != 'true'\n        with:\n          tag: v${{ needs.prepare-inputs.outputs.version }}\n          commit: ${{ github.ref_name }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          prerelease: ${{ needs.prepare-inputs.outputs.is_stable_version == 'false' }}\n      - uses: ncipollo/release-action@v1\n        if: github.event.inputs.skip_create_tag_release != 'true'\n        with:\n          repo: ui\n          tag: v${{ needs.prepare-inputs.outputs.version }}\n          commit: ${{ github.ref_name }}\n          token: ${{ secrets.RELEASE_GITHUB_ACCESS_TOKEN }}\n          # experienced 500 errors when trying to create release notes for ui repo with `prerelease flag`\n          # prerelease: ${{ needs.prepare-inputs.outputs.prerelease }}\n\n  create-tag:\n    name: Create tag v${{ needs.prepare-inputs.outputs.version }}\n    runs-on: ubuntu-latest\n\n    # run this specific job for feature branch only as we wont have a github release for it\n    # the tag would be useful to track feature branch released versions\n    if: needs.prepare-inputs.outputs.is_feature_branch == 'true'\n    needs: [ prepare-inputs, trigger-and-wait-for-mlrun-image-building ]\n    steps:\n      - name: Create feature branch tag\n        uses: actions/github-script@v7\n        with:\n          script: |\n            github.rest.git.createRef({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              ref: 'refs/tags/v${{ needs.prepare-inputs.outputs.version }}',\n              sha: context.sha\n            })\n\n  update-release-notes:\n    name: Update release notes\n    runs-on: ubuntu-latest\n    if: github.event.inputs.skip_create_tag_release != 'true'\n    needs: [ prepare-inputs, create-releases ]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n          cache: pip\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r automation/requirements.txt\n      - name: Generate release notes\n        id: release-notes\n        run: |\n          make release-notes\n        env:\n          MLRUN_SKIP_CLONE: true\n          MLRUN_RELEASE_BRANCH: ${{ github.ref_name }}\n          MLRUN_RELEASE_NOTES_OUTPUT_FILE: release_notes.md\n          MLRUN_RAISE_ON_ERROR: false\n          MLRUN_OLD_VERSION: \"v${{ needs.prepare-inputs.outputs.previous_version }}\"\n          MLRUN_VERSION: \"v${{ needs.prepare-inputs.outputs.version }}\"\n\n      - name: resolve release notes\n        id: resolve-release-notes\n        run: |\n          echo \"body<<EOF\" >> $GITHUB_OUTPUT\n          cat release_notes.md >> $GITHUB_OUTPUT\n          echo \"EOF\" >> $GITHUB_OUTPUT\n\n      - uses: ncipollo/release-action@v1\n        with:\n          tag: v${{ needs.prepare-inputs.outputs.version }}\n          body: ${{ steps.resolve-release-notes.outputs.body }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          allowUpdates: true\n          prerelease: ${{ needs.prepare-inputs.outputs.is_stable_version == 'false' }}\n\n  update-tutorials:\n    name: Bundle tutorials\n    needs: [ prepare-inputs, create-releases ]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Create tutorials tar\n        run: |\n          wget -c https://github.com/v3io/tutorials/blob/mlrun-release-stable/welcome.ipynb -P docs\n          wget -c https://github.com/v3io/tutorials/blob/mlrun-release-stable/README.md -P docs\n          tar -cvf mlrun-tutorials.tar docs/tutorials docs/README.md docs/welcome.ipynb\n          rm -rf docs/welcome.ipynb docs/README.md\n      - name: Add tutorials tar to release\n        uses: ncipollo/release-action@v1\n        with:\n          allowUpdates: true\n          tag: v${{ needs.prepare-inputs.outputs.version }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          artifacts: mlrun-tutorials.tar\n          prerelease: ${{ needs.prepare-inputs.outputs.is_stable_version == 'false' }}\n          \n  update-demos:\n    name: Bundle demos\n    needs: [ prepare-inputs, create-releases ]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: install prerequisits\n        run: |\n          pip install gitpython\n      - name: Create mlrun demos tar\n        run: |\n          python automation/scripts/bundle_demos.py\n      - name: Add mlrun-demos tar to release\n        uses: ncipollo/release-action@v1\n        with:\n          allowUpdates: true\n          tag: v${{ needs.prepare-inputs.outputs.version }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          artifacts: mlrun-demos.tar\n          prerelease: ${{ needs.prepare-inputs.outputs.is_stable_version == 'false' }}\n", "state": "active", "repository": "mlrun/mlrun"}
{"mined_at": "2024-07-15T15:01:23.863412", "created_at": "2021-02-17T14:25:05+01:00", "updated_at": "2024-06-27T08:33:02+02:00", "name": "System Tests Enterprise", "path": ".github/workflows/system-tests-enterprise.yml", "contents": "# Copyright 2023 Iguazio\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\nname: System Tests Enterprise\n\non:\n  push:\n    branches:\n      - '.+-system-tests'\n\n  schedule:\n\n    # * is a special character in YAML so you have to quote this string\n    # Run the system tests every 8 hours (cron hours should divide 24 equally, otherwise there will be an overlap at the end of the day)\n    - cron: '0 */8 * * *'\n\n  workflow_dispatch:\n    inputs:\n      docker_registry:\n        description: 'Docker registry to pull images from (default: ghcr.io/, use registry.hub.docker.com/ for docker hub)'\n        required: true\n        default: 'ghcr.io/'\n      clean_resources_in_teardown:\n        description: 'Clean resources created by test (like project) in each test teardown (default: true - perform clean)'\n        required: true\n        default: 'true'\n        type: choice\n        options:\n          - 'true'\n          - 'false'\n      override_iguazio_version:\n        description: 'Override the configured target system iguazio version (leave empty to resolve automatically)'\n        required: false\n\nconcurrency: one-at-a-time\n\njobs:\n  system-test-cleanup:\n    name: System Test Cleanup\n    runs-on: [ self-hosted, Linux ]\n    container:\n      image: ubuntu:latest\n    timeout-minutes: 10\n    # let's not run this on every fork, change to your fork when developing\n    if: github.repository == 'mlrun/mlrun' || github.event_name == 'workflow_dispatch'\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install dependencies\n      run: |\n        apt-get update -qqy && apt-get install -y sshpass\n    - name: cleanup docker images from registries\n      # SSH to datanode and delete all docker images created by the system tests by restarting the docker-registry\n      # deployment and the datanode docker-registry\n      run: |\n        sshpass \\\n          -p \"${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_PASSWORD }}\" \\\n          ssh \\\n          -o StrictHostKeyChecking=no \\\n          -o ServerAliveInterval=180 \\\n          -o ServerAliveCountMax=3 \\\n          ${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_USERNAME }}@${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_IP }} \\\n          kubectl -n default-tenant rollout restart deployment docker-registry\n\n        sshpass \\\n          -p \"${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_PASSWORD }}\" \\\n          scp \\\n          automation/system_test/cleanup.py \\\n          ${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_USERNAME }}@${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_IP }}:/home/iguazio/cleanup.py\n\n        sshpass \\\n          -p \"${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_PASSWORD }}\" \\\n          scp \\\n          automation/system_test/dev_utilities.py \\\n          ${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_USERNAME }}@${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_IP }}:/home/iguazio/dev_utilities.py\n\n  prepare-system-tests-enterprise-ci:\n    # When increasing the timeout make sure it's not larger than the schedule cron interval\n    timeout-minutes: 55\n    name: Prepare System Tests Enterprise\n    runs-on: [ self-hosted, Linux ]\n    container:\n      image: python:3.9\n    needs: [system-test-cleanup]\n    # let's not run this on every fork, change to your fork when developing\n    if: github.repository == 'mlrun/mlrun' || github.event_name == 'workflow_dispatch'\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install dependencies\n      run: |\n        apt-get update -qqy && apt-get install -y sshpass jq curl gnupg nodejs\n    - uses: actions/setup-node@v4\n      with:\n        node-version: 18\n    - name: Copy state branch file from remote\n      run: |\n        sshpass \\\n          -p \"${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_PASSWORD }}\" \\\n          scp \\\n          -o StrictHostKeyChecking=no \\\n          ${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_USERNAME }}@${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_IP }}:/tmp/system-tests-branches-list.txt \\\n          system-tests-branches-list.txt\n\n    - name: Resolve Branch To Run System Tests\n      id: current-branch\n      shell: bash\n      # we store a file named /tmp/system-tests-branches-list.txt which contains a list of branches to run system tests\n      # on the branches are separated with commas, so each run we pop the first branch in the list and append it to the\n      # end of the list.\n      # This mechanism allows us to run on multiple branches without the need to modify the file or secrets each time\n      # a new branch is added or removed\n      run: |\n        # Read branches from local file\n        branches=$(cat system-tests-branches-list.txt)\n        echo \"branches found in system-tests-branches-list.txt: $branches\"\n\n        # Split branches into an array\n        IFS=',' read -ra branches_array <<< \"$branches\"\n\n        # Get the first branch in the list to work on\n        first_branch=\"${branches_array[0]}\"\n        echo \"working on $first_branch\"\n\n        # Remove the first branch from the list\n        branches_array=(\"${branches_array[@]:1}\")\n\n        # Add the first branch at the end of the list\n        branches_array+=(\"$first_branch\")\n\n        # Join branches back into a string\n        branches=$(printf \",%s\" \"${branches_array[@]}\")\n        branches=${branches:1}\n\n        # Output the new list of branches\n        echo \"$branches\"\n\n        # Write new branches order to a local file\n        echo \"$branches\" | cat > system-tests-branches-list.txt\n\n        # Set output\n        echo \"name=$(echo $first_branch)\" >> $GITHUB_OUTPUT\n\n    - name: Override remote file from local resolved branch list\n      run: |\n        # Override the remote file with the new list of branches\n        sshpass \\\n          -p \"${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_PASSWORD }}\" \\\n          scp \\\n          -o StrictHostKeyChecking=no system-tests-branches-list.txt \\\n          ${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_USERNAME }}@${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_IP }}:/tmp/\n\n      # checking out to base branch and not the target(resolved) branch, to be able to run the changed preparation code\n      # before merging the changes to upstream.\n    - name: Checkout base branch\n      uses: actions/checkout@v4\n\n    - name: Install automation scripts dependencies\n      run: |\n        python -m pip install -r automation/requirements.txt\n\n    - name: Extract git hashes from upstream and latest version\n      id: git_upstream_info\n      run: |\n        \n        # Get the latest commit of mlrun/mlrun (that is older than 1 hour)\n        echo \"mlrun_hash=$( \\\n          cd /tmp && \\\n          git clone --single-branch --branch ${{ steps.current-branch.outputs.name }} https://github.com/mlrun/mlrun.git mlrun-upstream 2> /dev/null && \\\n          cd mlrun-upstream && \\\n          git rev-list --until=\"1 hour ago\" --max-count 1 --abbrev-commit HEAD && \\\n          cd .. && \\\n          rm -rf mlrun-upstream)\" >> $GITHUB_OUTPUT\n        \n        # Get the latest commit of mlrun/ui (that is older than 1 hour)\n        echo \"ui_hash=$( \\\n          cd /tmp && \\\n          git clone --single-branch --branch ${{ steps.current-branch.outputs.name }} https://github.com/mlrun/ui.git mlrun-ui 2> /dev/null && \\\n          cd mlrun-ui && \\\n          git rev-list --until=\"1 hour ago\" --max-count 1 --abbrev-commit HEAD && \\\n          cd .. && \\\n          rm -rf mlrun-ui)\" >> $GITHUB_OUTPUT\n        \n        # Get the tested mlrun version\n        echo \"unstable_version_prefix=$( \\\n          curl https://raw.githubusercontent.com/mlrun/mlrun/${{ steps.current-branch.outputs.name }}/automation/version/unstable_version_prefix \\\n        )\" >> $GITHUB_OUTPUT\n\n    - name: Set computed versions params\n      id: computed_params\n      run: |\n        action_mlrun_hash=${{ steps.git_action_info.outputs.mlrun_hash }} && \\\n        upstream_mlrun_hash=${{ steps.git_upstream_info.outputs.mlrun_hash }} && \\\n        export mlrun_hash=${upstream_mlrun_hash:-`echo $action_mlrun_hash`}\n        echo \"mlrun_hash=$(echo $mlrun_hash)\" >> $GITHUB_OUTPUT\n        action_mlrun_ui_hash=${{ steps.git_action_ui_info.outputs.ui_hash }} && \\\n        upstream_mlrun_ui_hash=${{ steps.git_upstream_info.outputs.ui_hash }} && \\\n        export ui_hash=${upstream_mlrun_ui_hash:-`echo $action_mlrun_ui_hash`}\n        echo \"ui_hash=$(echo $ui_hash)\" >> $GITHUB_OUTPUT\n        echo \"mlrun_version=$(echo ${{ steps.git_upstream_info.outputs.unstable_version_prefix }}+$mlrun_hash)\" >> $GITHUB_OUTPUT\n        echo \"mlrun_docker_tag=$(echo ${{ steps.git_upstream_info.outputs.unstable_version_prefix }}-$mlrun_hash)\" >> $GITHUB_OUTPUT\n        echo \"mlrun_ui_version=${{ steps.git_upstream_info.outputs.unstable_version_prefix }}-$ui_hash\" >> $GITHUB_OUTPUT\n        echo \"mlrun_docker_registry=$( \\\n          input_docker_registry=$INPUT_DOCKER_REGISTRY && \\\n          echo ${input_docker_registry:-ghcr.io/})\" >> $GITHUB_OUTPUT\n        echo \"mlrun_system_tests_clean_resources=$( \\\n          input_system_tests_clean_resources=$INPUT_CLEAN_RESOURCES_IN_TEARDOWN && \\\n          echo ${input_system_tests_clean_resources:-true})\" >> $GITHUB_OUTPUT\n        echo \"override_iguazio_version=$INPUT_OVERRIDE_IGUAZIO_VERSION\" >> $GITHUB_OUTPUT\n      env:\n        INPUT_DOCKER_REGISTRY: ${{ github.event.inputs.docker_registry }}\n        INPUT_OVERRIDE_IGUAZIO_VERSION: ${{ github.event.inputs.override_iguazio_version }}\n        INPUT_CLEAN_RESOURCES_IN_TEARDOWN: ${{ github.event.inputs.clean_resources_in_teardown }}\n\n    - name: Prepare System Test Environment and Install MLRun\n      env:\n        IP_ADDR_PREFIX: ${{ secrets.IP_ADDR_PREFIX }}\n      timeout-minutes: 50\n      run: |\n        python automation/system_test/prepare.py run \\\n          --data-cluster-ip \"${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_IP }}\" \\\n          --data-cluster-ssh-username \"${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_USERNAME }}\" \\\n          --data-cluster-ssh-password \"${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_PASSWORD }}\" \\\n          --provctl-download-url \"${{ secrets.LATEST_SYSTEM_TEST_PROVCTL_DOWNLOAD_PATH }}\" \\\n          --provctl-download-s3-access-key \"${{ secrets.LATEST_SYSTEM_TEST_PROVCTL_DOWNLOAD_URL_S3_ACCESS_KEY }}\" \\\n          --provctl-download-s3-key-id \"${{ secrets.LATEST_SYSTEM_TEST_PROVCTL_DOWNLOAD_URL_S3_KEY_ID }}\" \\\n          --username \"${{ secrets.LATEST_SYSTEM_TEST_USERNAME }}\" \\\n          --access-key \"${{ secrets.LATEST_SYSTEM_TEST_ACCESS_KEY }}\" \\\n          --iguazio-version \"${{ steps.computed_params.outputs.iguazio_version }}\" \\\n          --mlrun-version \"${{ steps.computed_params.outputs.mlrun_version }}\" \\\n          --mlrun-ui-version \"${{ steps.computed_params.outputs.mlrun_ui_version }}\" \\\n          --mlrun-commit \"${{ steps.computed_params.outputs.mlrun_hash }}\" \\\n          --override-image-registry \"${{ steps.computed_params.outputs.mlrun_docker_registry }}\"\n\n    - name: Prepare System Test env.yml and MLRun installation from current branch\n      timeout-minutes: 5\n      run: |\n        python automation/system_test/prepare.py env \\\n          --data-cluster-ip \"${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_IP }}\" \\\n          --data-cluster-ssh-username \"${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_USERNAME }}\" \\\n          --data-cluster-ssh-password \"${{ secrets.LATEST_SYSTEM_TEST_DATA_CLUSTER_SSH_PASSWORD }}\" \\\n          --username \"${{ secrets.LATEST_SYSTEM_TEST_USERNAME }}\" \\\n          --access-key \"${{ secrets.LATEST_SYSTEM_TEST_ACCESS_KEY }}\" \\\n          --slack-webhook-url \"${{ secrets.LATEST_SYSTEM_TEST_SLACK_WEBHOOK_URL }}\" \\\n          --branch \"${{ needs.prepare-system-tests-enterprise-ci.outputs.mlrunBranch }}\" \\\n          --github-access-token \"${{ secrets.SYSTEM_TEST_GITHUB_ACCESS_TOKEN }}\" \\\n          --save-to-path \"$GITHUB_WORKSPACE/env.yml\"\n\n    - name: Encrypt file\n      id: encrypt_file\n      run: |\n        gpg \\\n          --batch \\\n          --passphrase \"${{ env.GPG_PASSPHRASE }}\" \\\n          --output \"$GITHUB_WORKSPACE/env.yml.gpg\" \\\n          --symmetric \"$GITHUB_WORKSPACE/env.yml\"\n        \n        echo \"env_file_path=$(echo $GITHUB_WORKSPACE/env.yml.gpg)\" >> $GITHUB_OUTPUT\n      env:\n        GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}\n\n    - name: Upload env file\n      uses: actions/upload-artifact@v4\n      with:\n        name: env\n        path: \"${{ steps.encrypt_file.outputs.env_file_path }}\"\n        if-no-files-found: error\n\n    outputs:\n      mlrunVersion: ${{ steps.computed_params.outputs.mlrun_version }}\n      mlrunBranch: ${{ steps.current-branch.outputs.name }}\n      mlrunSystemTestsCleanResources: ${{ steps.computed_params.outputs.mlrun_system_tests_clean_resources }}\n\n  run-system-tests-enterprise-ci:\n    # When increasing the timeout make sure it's not larger than the schedule cron interval\n    timeout-minutes: 360\n    name: Test ${{ matrix.test_component }} [${{ needs.prepare-system-tests-enterprise-ci.outputs.mlrunBranch }}]\n    # requires prepare to finish before starting\n    needs: [prepare-system-tests-enterprise-ci]\n    runs-on: [ self-hosted, Linux ]\n    container:\n      image: python:3.9\n    # let's not run this on every fork, change to your fork when developing\n    if: github.repository == 'mlrun/mlrun' || github.event_name == 'workflow_dispatch'\n    strategy:\n      fail-fast: false\n      max-parallel: 1\n      matrix:\n        test_component:\n        - api\n        - runtimes\n        - projects\n        - model_monitoring\n        - examples\n        - backwards_compatibility\n        - datastore\n        - logs\n        - feature_store\n    steps:\n    - name: Install Dependencies\n      run: |\n        # gnupg         for decrypting env.yml.gpg\n        # nodejs        for installing github action dependencies\n        # graphviz      for generating graphs (feature store tests)\n        # git-core      for cloning repos and etc, required by many suites\n        # gcc, make     for installing python packages\n        apt-get update -qqy && \\\n          apt-get install -y \\\n            gnupg \\\n            nodejs \\\n            graphviz \\\n            git-core \\\n            gcc \\\n            make\n\n    - uses: actions/setup-node@v4\n      with:\n        node-version: 18\n\n    - uses: actions/checkout@v4\n      # checking out to the resolved branch to run system tests on, as now we run the actual tests, we don't want to run\n      # the system tests of the branch that triggered the system tests as it might be in a different version\n      # than the mlrun version we deployed on the previous job (can have features that the resolved branch doesn't have)\n      with:\n        ref: ${{ needs.prepare-system-tests-enterprise-ci.outputs.mlrunBranch }}\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: env\n        path: /tmp\n\n    - name: Decrypt file\n      run: |\n        gpg \\\n          --batch \\\n          --passphrase \"${{ env.GPG_PASSPHRASE }}\" \\\n          --output \"$GITHUB_WORKSPACE/tests/system/env.yml\" \\\n          --decrypt \"/tmp/env.yml.gpg\"\n\n        # ensure file is created\n        test -f \"$GITHUB_WORKSPACE/tests/system/env.yml\"\n      env:\n        GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}\n\n    - name: Pre Tests Requirements\n      run: |\n        \n        # due to\n        # https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9\n        # ensure mlrun git is safe to use\n        git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n        MLRUN_VERSION=\"${{ needs.prepare-system-tests-enterprise-ci.outputs.mlrunVersion }}\" \\\n          make install-requirements install-complete-requirements update-version-file\n\n    - name: Run System Tests\n      run: |\n        MLRUN_SYSTEM_TESTS_GITHUB_RUN_URL=\"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\" \\\n        MLRUN_SYSTEM_TESTS_CLEAN_RESOURCES=\"${{ needs.prepare-system-tests-enterprise-ci.outputs.mlrunSystemTestsCleanResources }}\" \\\n        MLRUN_VERSION=\"${{ needs.prepare-system-tests-enterprise-ci.outputs.mlrunVersion }}\" \\\n        MLRUN_SYSTEM_TESTS_COMPONENT=\"${{ matrix.test_component }}\" \\\n        MLRUN_SYSTEM_TESTS_BRANCH=\"${{ needs.prepare-system-tests-enterprise-ci.outputs.mlrunBranch }}\" \\\n          make test-system\n", "state": "active", "repository": "mlrun/mlrun"}
{"mined_at": "2024-07-15T15:01:24.924868", "created_at": "2022-07-04T18:29:59+02:00", "updated_at": "2023-08-26T20:07:53+02:00", "name": "Post Release", "path": ".github/workflows/post-release.yaml", "contents": null, "state": "active", "repository": "mlrun/mlrun"}
{"mined_at": "2024-07-15T15:01:25.964171", "created_at": "2023-03-26T14:44:08+02:00", "updated_at": "2023-03-26T14:44:08+02:00", "name": "Security Scan", "path": ".github/workflows/security_scan.yaml", "contents": "# Copyright 2023 Iguazio\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\n# Currently supported running against prebuilt images\nname: Security Scan\nrun-name: Scanning ${{ inputs.tag }}\n\non:\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: 'MLRun image tag to scan (unstable-cache, unstable-cache-13x, 1.3.0-wwwwwwww, 1.3.0 or any other tag)'\n        required: false\n        default: 'unstable'\n      registry:\n        description: 'MLRun image registry'\n        required: false\n        default: 'ghcr.io/'\n      skip_images:\n        description: 'Comma separated list of images to skip scanning'\n        required: false\n        # test images are not scanned as they are not used in production\n        default: 'test'\n      publish_results:\n        description: 'Whether to publish results to Github or not (default empty - no publish)'\n        required: false\n        default: ''\n      severity_threshold:\n        description: 'The minimum severity of vulnerabilities to report (\"negligible\", \"low\", \"medium\", \"high\" and \"critical\".)'\n        required: false\n        default: 'medium'\n        type: choice\n        options:\n          - 'negligible'\n          - 'low'\n          - 'medium'\n          - 'high'\n          - 'critical'\n      only_fixed:\n        description: 'Whether to scan only fixed vulnerabilities (\"true\" or \"false\")'\n        required: false\n        default: 'true'\n        type: choice\n        options:\n          - 'true'\n          - 'false'\n\njobs:\n  matrix_prep:\n    name: Prepare image list\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - id: set-matrix\n        uses: ./.github/actions/image-matrix-prep\n        with:\n          skip_images: ${{ github.event.inputs.skip_images }}\n\n  build_and_scan_docker_images:\n    name: Scan ${{ matrix.image-name }} (Python ${{ matrix.python-version }})\n    runs-on: ubuntu-latest\n    needs: matrix_prep\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.matrix_prep.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Cleanup disk\n        run: |\n          \"${GITHUB_WORKSPACE}/automation/scripts/github_workflow_free_space.sh\"\n\n      - name: Resolving image name\n        id: resolve_image_name\n        run: |\n          echo \"image_name=$(make pull-${{ matrix.image-name }} | tail -1)\" >> $GITHUB_OUTPUT\n        env:\n          MLRUN_DOCKER_REGISTRY: ${{ github.event.inputs.registry }}\n          MLRUN_VERSION: ${{ github.event.inputs.tag }}\n          MLRUN_PYTHON_VERSION: ${{ matrix.python-version }}\n\n      - name: Define output format\n        id: output-format\n\n        # this section is duplicated in the other jobs.\n        # make sure to update all when changed.\n        run: |\n          if [[ -n \"${{ github.event.inputs.publish_results }}\" ]]; then \\\n            echo \"format=sarif\" >> $GITHUB_OUTPUT; \\\n            echo \"fail_build=false\" >> $GITHUB_OUTPUT; \\\n          else \\\n            echo \"format=table\" >> $GITHUB_OUTPUT; \\\n            echo \"fail_build=true\" >> $GITHUB_OUTPUT; \\\n          fi\n\n      - name: Scan image\n        uses: anchore/scan-action@v3\n        id: scan\n        with:\n          image: ${{ steps.resolve_image_name.outputs.image_name }}\n          only-fixed: ${{ github.event.inputs.only_fixed }}\n          output-format: ${{ steps.output-format.outputs.format }}\n          fail-build: ${{ steps.output-format.outputs.fail_build }}\n          severity-cutoff: ${{ github.event.inputs.severity_threshold }}\n\n      - name: Upload scan results\n        if: github.event.inputs.publish_results != ''\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: ${{ steps.scan.outputs.sarif }}\n          category: ${{ matrix.image-name }}-${{ matrix.python-version }})\n\n  scan_fs:\n    name: Scan file system\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Define output format\n        id: output-format\n\n        # this section is duplicated in the other jobs.\n        # make sure to update all when changed.\n        run: |\n          if [[ -n \"${{ github.event.inputs.publish_results }}\" ]]; then \\\n            echo \"format=sarif\" >> $GITHUB_OUTPUT; \\\n            echo \"fail_build=false\" >> $GITHUB_OUTPUT; \\\n          else \\\n            echo \"format=table\" >> $GITHUB_OUTPUT; \\\n            echo \"fail_build=true\" >> $GITHUB_OUTPUT; \\\n          fi\n\n      - name: Scan fs\n        uses: anchore/scan-action@v3\n        id: scan\n        with:\n          path: \".\"\n          only-fixed: ${{ github.event.inputs.only_fixed }}\n          output-format: ${{ steps.output-format.outputs.format }}\n          fail-build: ${{ steps.output-format.outputs.fail_build }}\n          severity-cutoff: ${{ github.event.inputs.severity_threshold }}\n\n      - name: Upload scan results\n        if: github.event.inputs.publish_results != ''\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: ${{ steps.scan.outputs.sarif }}\n          category: \"repository\"\n", "state": "active", "repository": "mlrun/mlrun"}
{"mined_at": "2024-07-15T15:01:27.000264", "created_at": "2023-05-15T16:15:34+02:00", "updated_at": "2023-05-16T22:34:11+02:00", "name": "Scheduled Re-Build Images", "path": ".github/workflows/periodic-rebuild.yaml", "contents": "# Copyright 2023 Iguazio\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\nname: Scheduled Re-Build Images\n\non:\n  schedule:\n  # every night at 2am\n  - cron: \"0 2 * * *\"\n\njobs:\n  resolve-branch-to-rebuild:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-branch.outputs.matrix }}\n    steps:\n      - name: Resolve Branch to Re-Build\n        id: set-branch\n        run: |\n          \n          # take mlrun branches, find branches that are in format of 9.9.x (where 9 could by any number)\n          # sort them - so latest version would be last\n          # take last 2 elements (aka last 2 versions)\n          # wrap each name with \"\" and join with ,\n          # join with development\n          branches=$(curl --retry 3 --retry-all-errors --silent https://api.github.com/repos/mlrun/mlrun/branches \\\n            | jq -r 'map(select(.name | test(\"^\\\\d+.\\\\d+.x$\"))) | sort_by(.name) | .[-2:] | map(.name | tostring | \"\\\"\" + . + \"\\\"\") | join(\",\")' \\\n          )\n          # output would be like\n          # 1.3.x,1.4.x,development\n          branches=\"$branches,\\\"development\\\"\"\n\n          matrix=\"{\\\"repo\\\": [\\\"mlrun\\\",\\\"ui\\\"], \\\"branch\\\": [$branches]}\"\n          echo \"matrix=$(echo $matrix)\" >> $GITHUB_OUTPUT\n\n  re-build-images:\n    if: github.repository == 'mlrun/mlrun'\n    needs: resolve-branch-to-rebuild\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJson(needs.resolve-branch-to-rebuild.outputs.matrix)}}\n    runs-on: ubuntu-latest\n    steps:\n\n      # TODO: move to reuseable workflow once all branches have backported with the new workflow\n      - name: Re-Build MLRun Image\n        if: matrix.repo == 'mlrun'\n        uses: convictional/trigger-workflow-and-wait@v1.6.5\n        with:\n            owner: mlrun\n            repo: mlrun\n            github_token: ${{ secrets.RELEASE_GITHUB_ACCESS_TOKEN }}\n            workflow_file_name: build.yaml\n            ref: ${{ matrix.branch }}\n            wait_interval: 60\n\n            # models is removed on 1.5.x but still exists on 1.4.x and 1.3.x\n            client_payload: '{\"skip_images\": \"models,tests\", \"build_from_cache\": \"false\"}'\n      - name: Re-Build UI Image\n        if: matrix.repo == 'ui'\n        uses: convictional/trigger-workflow-and-wait@v1.6.5\n        with:\n          owner: mlrun\n          repo: ui\n          github_token: ${{ secrets.RELEASE_GITHUB_ACCESS_TOKEN }}\n          workflow_file_name: build.yaml\n          ref: ${{ matrix.branch }}\n          wait_interval: 60\n", "state": "active", "repository": "mlrun/mlrun"}
{"mined_at": "2024-07-15T15:01:28.126276", "created_at": "2023-07-03T20:54:31+02:00", "updated_at": "2023-07-03T20:54:31+02:00", "name": "Build (internal)", "path": ".github/workflows/build-internal.yaml", "contents": "# Copyright 2023 Iguazio\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\nname: Build (internal)\n\nrun-name: Building ${{ inputs.version }} ${{ github.ref_name }}\n\npermissions:\n\n  # Allow the action to upload images to ghcr\n  packages: write\n\non:\n\n  # FYI\n  # The event payload in the called workflow is the same event payload from the calling workflow\n  # The inputs are the inputs defined in the called workflow (by the \"with\")\n  workflow_call:\n    inputs:\n      docker_registries:\n        description: 'Comma separated list of docker registries to push images to (default: ghcr.io/, use registry.hub.docker.com/ for docker hub)'\n        default: 'ghcr.io/'\n        type: string\n      docker_repo:\n        description: 'Docker repo to push images to (default: lowercase github repository owner name)'\n        default: ''\n        type: string\n      version:\n        description: 'The version to build, without prefix v (e.g. 1.1.0), if not provided version will be <unstable-version-prefix>-<commit-hash>, where <unstable-version-prefix> is taken from automation/version/unstable_version_prefix'\n        default: ''\n        type: string\n      skip_images:\n        description: 'Comma separated list of images to skip building, example with all possible images: mlrun,api,base,models,jupyter,test'\n        default: ''\n        type: string\n      build_from_cache:\n        description: 'Whether to build images from cache or not. Default: true, set to false only if required because that will cause a significant increase in build time'\n        default: 'true'\n        type: string\n\njobs:\n  matrix_prep:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n      - id: set-matrix\n        uses: ./.github/actions/image-matrix-prep\n        with:\n          skip_images: ${{ inputs.skip_images }}\n\n  build-images:\n    name: Build and push image - ${{ matrix.image-name }} (Python ${{ matrix.python-version }})\n    runs-on: ubuntu-latest\n    needs: matrix_prep\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJson(needs.matrix_prep.outputs.matrix)}}\n    steps:\n    - uses: actions/checkout@v4\n\n    # since github-actions gives us 14G only, and fills it up with some garbage\n    - name: Freeing up disk space\n      run: |\n        \"${GITHUB_WORKSPACE}/automation/scripts/github_workflow_free_space.sh\"\n\n    - name: Install curl and jq\n      run: sudo apt-get install curl jq\n\n    - name: Extract git hash, ref and latest version\n      id: git_info\n      run: |\n        echo \"mlrun_commit_hash=$(git rev-parse --short=8 $GITHUB_SHA)\"  >> $GITHUB_OUTPUT\n        echo \"unstable_version_prefix=$(cat automation/version/unstable_version_prefix)\"  >> $GITHUB_OUTPUT\n\n    - name: Resolve docker cache tag\n      id: docker_cache\n      run: |\n        export version_suffix=$(echo \"$GITHUB_REF_NAME\" | grep -E \"^[0-9]+\\.[0-9]+\\.x$\" | tr -d '.');\n        export unstable_tag=$(if [ -z \"$version_suffix\" ]; then echo \"unstable-cache\"; else echo \"unstable-cache-$version_suffix\";fi);\n        export build_from_cache=$(if [ -z \"$INPUT_BUILD_FROM_CACHE\" ]; then echo \"true\" ; else echo \"$INPUT_BUILD_FROM_CACHE\";fi);\n        export no_cache=$(if [ \"$build_from_cache\" = \"false\" ]; then echo \"true\" ; else echo \"\";fi);\n        echo \"tag=$(echo $unstable_tag)\" >> $GITHUB_OUTPUT\n        echo \"no_cache=$(echo $no_cache)\" >> $GITHUB_OUTPUT\n      env:\n        INPUT_BUILD_FROM_CACHE: ${{ inputs.build_from_cache }}\n\n    - name: Set computed versions params\n      id: computed_params\n      run: |\n        echo \"mlrun_version=$( \\\n          input_mlrun_version=$INPUT_VERSION && \\\n          default_mlrun_version=$(echo ${{ steps.git_info.outputs.unstable_version_prefix }}+${{ steps.git_info.outputs.mlrun_commit_hash }}) && \\\n          echo ${input_mlrun_version:-`echo $default_mlrun_version`})\" >> $GITHUB_OUTPUT\n        echo \"mlrun_docker_repo=$( \\\n          input_docker_repo=$INPUT_DOCKER_VERSION && \\\n          default_docker_repo=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]') && \\\n          echo ${input_docker_repo:-`echo $default_docker_repo`})\" >> $GITHUB_OUTPUT\n        echo \"mlrun_docker_registries=$( \\\n          input_docker_registries=$INPUT_DOCKER_REGISTRIES && \\\n          echo ${input_docker_registries:-ghcr.io/})\" >> $GITHUB_OUTPUT\n        echo \"mlrun_cache_date=$(date +%s)\" >> $GITHUB_OUTPUT\n      env:\n        INPUT_VERSION: ${{ inputs.version }}\n        INPUT_DOCKER_VERSION: ${{ inputs.docker_repo }}\n        INPUT_DOCKER_REGISTRIES: ${{ inputs.docker_registries }}\n\n    - name: Docker login (ghcr)\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.repository_owner }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Docker login (quay.io)\n      continue-on-error: true\n      uses: docker/login-action@v3\n      with:\n        registry: quay.io\n        username: ${{ secrets.QUAY_IO_DOCKER_REGISTRY_USERNAME }}\n        password: ${{ secrets.QUAY_IO_DOCKER_REGISTRY_PASSWORD }}\n\n    - name: Docker login (docker.com)\n      continue-on-error: true\n      uses: docker/login-action@v3\n      with:\n        registry: registry.hub.docker.com\n        username: ${{ secrets.DOCKER_HUB_DOCKER_REGISTRY_USERNAME }}\n        password: ${{ secrets.DOCKER_HUB_DOCKER_REGISTRY_PASSWORD }}\n\n    - name: Pull cache, build and push image\n\n      # we don't really want per-commit test image we just want to build and push the cache image so CI will be able\n      # to use it and run much faster\n      if: ${{ matrix.image-name != 'test' }}\n      run: |\n        for registry in $(echo ${{ steps.computed_params.outputs.mlrun_docker_registries }} | sed \"s/,/ /g\"); \\\n          do \\\n            MLRUN_CACHE_DATE=${{ steps.computed_params.outputs.mlrun_cache_date }} \\\n            MLRUN_DOCKER_REGISTRY=$registry \\\n            MLRUN_DOCKER_CACHE_FROM_REGISTRY=ghcr.io/ \\\n            MLRUN_DOCKER_REPO=${{ steps.computed_params.outputs.mlrun_docker_repo }} \\\n            MLRUN_VERSION=${{ steps.computed_params.outputs.mlrun_version }} \\\n            MLRUN_DOCKER_CACHE_FROM_TAG=${{ steps.docker_cache.outputs.tag }} \\\n            MLRUN_NO_CACHE=${{ steps.docker_cache.outputs.no_cache }} \\\n            MLRUN_PUSH_DOCKER_CACHE_IMAGE=\"true\" \\\n            MLRUN_PYTHON_VERSION=${{ matrix.python-version }} \\\n            INCLUDE_PYTHON_VERSION_SUFFIX=${{ matrix.include-suffix }} \\\n            make push-${{ matrix.image-name }}; \\\n          done;\n\n    - name: Build and push unstable tag\n\n      # we don't need to have unstable tag for the test image\n      # And we don't need to run this when triggered manually (workflow dispatch)\n      if: matrix.image-name != 'test' && github.event_name != 'workflow_dispatch' && github.ref_name == 'development'\n      run: |\n        for registry in \"ghcr.io/\" \"quay.io/\" \"registry.hub.docker.com/\"; \\\n          do \\\n            MLRUN_CACHE_DATE=${{ steps.computed_params.outputs.mlrun_cache_date }} \\\n            MLRUN_DOCKER_REGISTRY=$registry \\\n            MLRUN_DOCKER_CACHE_FROM_REGISTRY=ghcr.io/ \\\n            MLRUN_DOCKER_REPO=${{ steps.computed_params.outputs.mlrun_docker_repo }} \\\n            MLRUN_VERSION=unstable \\\n            MLRUN_DOCKER_CACHE_FROM_TAG=${{ steps.docker_cache.outputs.tag }} \\\n            MLRUN_PYTHON_VERSION=${{ matrix.python-version }} \\\n            INCLUDE_PYTHON_VERSION_SUFFIX=${{ matrix.include-suffix }} \\\n            make push-${{ matrix.image-name }}; \\\n          done;\n    - name: Pull cache, build and push test image\n      # When version is given we're probably in a release process, we don't need the test image in that case\n      if: matrix.image-name == 'test' && inputs.version == ''\n      run: |\n        MLRUN_CACHE_DATE=${{ steps.computed_params.outputs.mlrun_cache_date }} \\\n        MLRUN_DOCKER_REGISTRY=ghcr.io/ \\\n        MLRUN_DOCKER_CACHE_FROM_REGISTRY=ghcr.io/ \\\n        MLRUN_DOCKER_REPO=${{ steps.computed_params.outputs.mlrun_docker_repo }} \\\n        MLRUN_VERSION=${{ steps.docker_cache.outputs.tag }} \\\n        MLRUN_DOCKER_CACHE_FROM_TAG=${{ steps.docker_cache.outputs.tag }} \\\n        MLRUN_PUSH_DOCKER_CACHE_IMAGE=true \\\n        MLRUN_PYTHON_VERSION=${{ matrix.python-version }} \\\n        INCLUDE_PYTHON_VERSION_SUFFIX=${{ matrix.include-suffix }} \\\n        make push-${{ matrix.image-name }}\n", "state": "active", "repository": "mlrun/mlrun"}
{"mined_at": "2024-07-15T15:01:29.275598", "created_at": "2023-07-24T19:23:46+02:00", "updated_at": "2023-07-26T08:12:32+02:00", "name": "CI (Go)", "path": ".github/workflows/go-ci.yaml", "contents": "# Copyright 2023 Iguazio\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\nname: CI (Go)\n\non:\n  pull_request:\n    branches:\n    - development\n    - '[0-9]+.[0-9]+.x'\n    - 'feature/**'\n    paths:\n      - server/log-collector/**\n\n  # Run CI also on push to backport release branches - we sometimes push code there by cherry-picking, meaning it\n  # doesn't go through CI (no PR)\n  # For master all code is coming from development where it's coming from PRs (meaning it's passing CI) but there's the\n  # rare scenario where the combination of merged PRs won't pass CI\n  push:\n    branches:\n    - master\n    - '[0-9]+.[0-9]+.x'\n    paths:\n      - server/log-collector/**\n\nenv:\n  NAMESPACE: mlrun-integ-test\n\njobs:\n  go-lint:\n    name: Lint code\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump runner context\n        run: echo \"$RUNNER_CONTEXT\"\n        env:\n          RUNNER_CONTEXT: ${{ toJson(runner) }}\n      - uses: actions/checkout@v4\n      - uses: actions/setup-go@v5\n        with:\n          go-version-file: \"server/log-collector/go.mod\"\n          cache-dependency-path: \"server/log-collector/go.sum\"\n          cache: true\n      - name: Install protobuf compiler\n        run: |\n          sudo apt-get update && sudo apt install -y protobuf-compiler\n          \n          # version is coupled to `go/cmd/schemas_compiler/docker/Dockerfile`\n          go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28\n          go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2\n      - name: Lint\n        run: make lint-go\n\n  go-unit-tests:\n    name: Run Unit Tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run GO tests\n        run: |\n          make test-go-unit-dockerized\n\n  go-integration-tests:\n    name: Run Integration Tests in Kubernetes Environment\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      # since github-actions gives us 14G only, and fills it up with some garbage\n      - name: Freeing up disk space\n        run: |\n          \"${GITHUB_WORKSPACE}/automation/scripts/github_workflow_free_space.sh\"\n      - uses: manusa/actions-setup-minikube@v2.11.0\n        with:\n          minikube version: \"v1.28.0\"\n          kubernetes version: \"v1.25.3\"\n          driver: docker\n          github token: ${{ github.token }}\n      - name: Prepare minikube\n        run: |\n          minikube kubectl -- config view --flatten > kubeconfig_flatten\n          echo \"MLRUN_TEST_KUBECONFIG=$(pwd)/kubeconfig_flatten\" >> $GITHUB_ENV\n      - name: Run GO tests\n        run: |\n          make test-go-integration-dockerized\n      - name: Output some logs in case of failure\n        if: ${{ failure() }}\n        # add set -x to print commands before executing to make logs reading easier\n        run: |\n          set -x\n          minikube ip\n          minikube logs\n          minikube kubectl -- --namespace ${NAMESPACE} get events\n          minikube kubectl -- --namespace ${NAMESPACE} logs -l app.kubernetes.io/component=api,app.kubernetes.io/name=mlrun --tail=-1\n          minikube kubectl -- --namespace ${NAMESPACE} get pods\n          minikube kubectl -- --namespace ${NAMESPACE} get pods -o yaml\n          minikube kubectl -- --namespace ${NAMESPACE} describe pods\n          set +x\n", "state": "active", "repository": "mlrun/mlrun"}
{"mined_at": "2024-07-15T15:01:30.387999", "created_at": "2024-01-11T11:31:13+01:00", "updated_at": "2024-01-11T11:31:13+01:00", "name": "PR Title Checker", "path": ".github/workflows/pr-title-validation.yaml", "contents": "# Copyright 2023 Iguazio\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\nname: \"PR Title Checker\"\non:\n\n  # when opening PRs from forks\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n      - labeled\n      - unlabeled\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: thehanimo/pr-title-checker@v1.4.2\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          configuration_path: .github/pr-title-validation-config.json\n", "state": "active", "repository": "mlrun/mlrun"}
{"mined_at": "2024-07-15T15:01:31.609087", "created_at": "2024-05-29T15:57:45+02:00", "updated_at": "2024-05-29T15:57:45+02:00", "name": "Release Pipeline Adapters", "path": ".github/workflows/release-pipeline-adapters.yaml", "contents": "# Copyright 2023 Iguazio\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\nname: Release Pipeline Adapters\non:\n  workflow_dispatch:\n    inputs:\n      packages:\n        description: 'Pipeline adapters package to release. Use \"*\" to release all packages.'\n        default: '*'\n        options:\n          - '*'\n          - 'mlrun-pipelines-kfp-common'\n          - 'mlrun-pipelines-kfp-v1-8'\n          - 'mlrun-pipelines-kfp-v2'\n\njobs:\n  build-packages-matrix:\n    name: From packages input to matrix\n    runs-on: ubuntu-latest\n    outputs:\n      packages: ${{ steps.packages.outputs.packages }}\n    steps:\n      - name: Install jq\n        run: sudo apt-get install jq\n      - name: resolve packages to release\n        id: packages\n        shell: bash\n        run: |\n          if [[ \"$PACKAGES\" = \"*\" ]]; then \\\n            export packages=(\"mlrun-pipelines-kfp-common\" \"mlrun-pipelines-kfp-v1-8\" \"mlrun-pipelines-kfp-v2\") ;\\\n          else \\\n            export packages=(\"${PACKAGES}\") ;\\\n          fi\n          # \"(X Y Z)\" -> \"{\\\"include\\\":[{\\\"name\\\":\\\"X\\\"},{\\\"name\\\":\\\"Y\\\"},{\\\"name\\\":\\\"Z\\\"}]}\"\n          export packages=$(jq --null-input --argjson arr \"$(printf '%s\\n' \"${packages[@]}\" | jq -R . | jq -s .)\" '($arr | map({name: .}))')\n          echo \"packages={\\\"include\\\":$(echo $packages)}\" >> $GITHUB_OUTPUT\n        env:\n          PACKAGES: ${{ github.event.inputs.packages }}\n\n  pypi-publish:\n    needs:\n      - build-packages-matrix\n    name: Release ${{ matrix.name }} to PyPI\n    runs-on: ubuntu-latest\n    environment: release\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.build-packages-matrix.outputs.packages) }}\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip build\n      - name: Build package distributions\n        run: |\n          cd pipeline-adapters\n          make build\n        env:\n          PACKAGES: ${{ matrix.name }}\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          skip-existing: true\n          print-hash: true\n          packages-dir: ${{ github.workspace }}/pipeline-adapters/${{ matrix.name }}/dist\n", "state": "active", "repository": "mlrun/mlrun"}
{"mined_at": "2024-07-15T15:01:32.735748", "created_at": "2021-02-16T13:48:06+01:00", "updated_at": "2024-06-02T08:29:11+02:00", "name": "System Tests Open Source", "path": ".github/workflows/system-tests-opensource.yml", "contents": "# Copyright 2023 Iguazio\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\nname: System Tests Open Source\n\non:\n  push:\n    branches:\n      - '.+-system-tests'\n\n  schedule:\n\n    # * is a special character in YAML so you have to quote this string\n    # Run the system tests every 3 hours\n    - cron:  '0 */3 * * *'\n\n  workflow_dispatch:\n    inputs:\n      docker_registry:\n        description: 'Docker registry to pull images from (default: ghcr.io/, use registry.hub.docker.com/ for docker hub)'\n        required: true\n        default: 'ghcr.io/'\n      docker_repo:\n        description: 'Docker repo to pull images from (default: mlrun)'\n        required: true\n        default: 'mlrun'\n      clean_resources_in_teardown:\n        description: 'Clean resources created by test (like project) in each test teardown (default: true - perform clean)'\n        required: true\n        default: 'true'\n        type: choice\n        options:\n          - 'true'\n          - 'false'\n      debug_enabled:\n        description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'\n        required: false\n        default: 'false'\n        type: choice\n        options:\n          - 'true'\n          - 'false'\n\nenv:\n  NAMESPACE: mlrun\n  MLRUN_API_NODE_PORT: 30070\n\njobs:\n  run-system-tests-opensource-ci:\n    name: Run System Tests Open Source\n    runs-on: ubuntu-latest\n\n    # let's not run this on every fork, change to your fork when developing\n    if: github.repository == 'mlrun/mlrun' || github.event_name == 'workflow_dispatch'\n\n    steps:\n    - uses: actions/checkout@v4\n    # since github-actions gives us 14G only, and fills it up with some garbage\n    - name: Freeing up disk space\n      run: |\n        \"${GITHUB_WORKSPACE}/automation/scripts/github_workflow_free_space.sh\"\n    - name: Set up python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n        cache: pip\n    - name: Install automation scripts dependencies and add mlrun to dev packages\n      run: |\n        pip install \\\n          -r automation/requirements.txt \\\n          -r dockerfiles/mlrun-api/requirements.txt \\\n          -r dev-requirements.txt \\\n          -r extras-requirements.txt \\\n        && pip install -e .\n        sudo apt-get install curl jq\n\n      # TODO: How can we avoid these duplicate lines from the enterprise system tests\n    - name: Extract git branch\n      id: git_info\n      run: |\n        echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >> $GITHUB_OUTPUT\n    - name: Extract git hashes from upstream and latest version\n      id: git_upstream_info\n      run: |\n        echo \"mlrun_hash=$( \\\n          cd /tmp && \\\n          git clone --single-branch --branch development https://github.com/mlrun/mlrun.git mlrun-upstream 2> /dev/null && \\\n          cd mlrun-upstream && \\\n          git rev-list --until=\"1 hour ago\" --max-count 1 --abbrev-commit HEAD && \\\n          cd .. && \\\n          rm -rf mlrun-upstream)\" >> $GITHUB_OUTPUT\n        echo \"ui_hash=$( \\\n          cd /tmp && \\\n          git clone --single-branch --branch development https://github.com/mlrun/ui.git mlrun-ui 2> /dev/null && \\\n          cd mlrun-ui && \\\n          git rev-list --until=\"1 hour ago\" --max-count 1 --abbrev-commit HEAD && \\\n          cd .. && \\\n          rm -rf mlrun-ui)\" >> $GITHUB_OUTPUT\n        echo \"unstable_version_prefix=$(cat automation/version/unstable_version_prefix)\" >> $GITHUB_OUTPUT\n    - name: Set computed versions params\n      id: computed_params\n      run: |\n        action_mlrun_hash=${{ steps.git_action_info.outputs.mlrun_hash }} && \\\n        upstream_mlrun_hash=${{ steps.git_upstream_info.outputs.mlrun_hash }} && \\\n        export mlrun_hash=${action_mlrun_hash:-`echo $upstream_mlrun_hash`}\n        echo \"mlrun_hash=$(echo $mlrun_hash)\" >> $GITHUB_OUTPUT\n        action_mlrun_ui_hash=${{ steps.git_action_ui_info.outputs.ui_hash }} && \\\n        upstream_mlrun_ui_hash=${{ steps.git_upstream_info.outputs.ui_hash }} && \\\n        export ui_hash=${action_mlrun_ui_hash:-`echo $upstream_mlrun_ui_hash`}\n        echo \"ui_hash=$(echo $ui_hash)\" >> $GITHUB_OUTPUT\n        echo \"mlrun_version=$(echo ${{ steps.git_upstream_info.outputs.unstable_version_prefix }}+$mlrun_hash)\" >> $GITHUB_OUTPUT\n        echo \"mlrun_docker_tag=$(echo ${{ steps.git_upstream_info.outputs.unstable_version_prefix }}-$mlrun_hash)\" >> $GITHUB_OUTPUT\n        echo \"mlrun_ui_version=${{ steps.git_upstream_info.outputs.unstable_version_prefix }}-$ui_hash\" >> $GITHUB_OUTPUT\n        echo \"mlrun_docker_repo=$( \\\n          input_docker_repo=$INPUT_DOCKER_REPO && \\\n          echo ${input_docker_repo:-mlrun})\" >> $GITHUB_OUTPUT\n        echo \"mlrun_docker_registry=$( \\\n          input_docker_registry=$INPUT_DOCKER_REGISTRY && \\\n          echo ${input_docker_registry:-ghcr.io/})\" >> $GITHUB_OUTPUT\n        echo \"mlrun_system_tests_clean_resources=$( \\\n          input_system_tests_clean_resources=$INPUT_CLEAN_RESOURCES_IN_TEARDOWN && \\\n          echo ${input_system_tests_clean_resources:-true})\" >> $GITHUB_OUTPUT\n      env:\n        INPUT_DOCKER_REPO: ${{ github.event.inputs.docker_repo }}\n        INPUT_DOCKER_REGISTRY: ${{ github.event.inputs.docker_registry }}\n        INPUT_CLEAN_RESOURCES_IN_TEARDOWN: ${{ github.event.inputs.clean_resources_in_teardown }}\n\n    - uses: azure/setup-helm@v4\n      with:\n        version: \"v3.9.1\"\n\n    - uses: manusa/actions-setup-minikube@v2.11.0\n      with:\n        minikube version: \"v1.32.0\"\n        kubernetes version: \"v1.28.5\"\n        driver: docker\n        github token: ${{ github.token }}\n        # I couldn't find a way to configure the IP (https://github.com/kubernetes/minikube/issues/951)\n        # but this seems to work\n        start args: '--addons=registry --insecure-registry=\"192.168.49.2:5000\"'\n\n    - name: Install MLRun CE helm chart\n      run: |\n        # TODO: There is a modification to the helm chart that we are doing right now:\n        #          The mlrun DB is set as the old SQLite db. There is a bug in github workers when trying to run a mysql\n        #          server pod in minikube installed on the worker, the mysql pod crashes. There isn't much information\n        #          about this issue online as this isn't how github expect you to use mysql in workflows - the worker\n        #          has a mysql server installed directly on it and should be enabled and used as the DB. So we might\n        #          want in the future to use that instead, unless the mysql will be able to come up without crashing.\n        # \n        # TODO: Align the mlrun config env vars with the ones in the prepare.py script to avoid further inconsistencies.\n        python automation/deployment/ce.py deploy \\\n            --verbose \\\n            --minikube \\\n            --namespace=${NAMESPACE} \\\n            --registry-secret-name=\"\" \\\n            --sqlite /mlrun/db/mlrun.db \\\n            --override-mlrun-api-image=\"${{ steps.computed_params.outputs.mlrun_docker_registry }}${{ steps.computed_params.outputs.mlrun_docker_repo }}/mlrun-api:${{ steps.computed_params.outputs.mlrun_docker_tag }}\" \\\n            --override-mlrun-log-collector-image=\"${{ steps.computed_params.outputs.mlrun_docker_registry }}${{ steps.computed_params.outputs.mlrun_docker_repo }}/log-collector:${{ steps.computed_params.outputs.mlrun_docker_tag }}\" \\\n            --override-mlrun-ui-image=\"ghcr.io/mlrun/mlrun-ui:${{ steps.computed_params.outputs.mlrun_ui_version }}\" \\\n            --set 'mlrun.api.extraEnvKeyValue.MLRUN_HTTPDB__BUILDER__MLRUN_VERSION_SPECIFIER=\"mlrun[complete] @ git+https://github.com/mlrun/mlrun@${{ steps.computed_params.outputs.mlrun_hash }}\"' \\\n            --set mlrun.api.extraEnvKeyValue.MLRUN_IMAGES_REGISTRY=\"${{ steps.computed_params.outputs.mlrun_docker_registry }}\" \\\n            --set mlrun.api.extraEnvKeyValue.MLRUN_LOG_LEVEL=\"DEBUG\" \\\n            --set 'mlrun.api.extraEnvKeyValue.MLRUN_HTTPDB__SCHEDULING__MIN_ALLOWED_INTERVAL=\"0 seconds\"' \\\n            --set mlrun.api.extraEnvKeyValue.MLRUN_MODEL_ENDPOINT_MONITORING__PARQUET_BATCHING_MAX_EVENTS=\"100\"\n\n    - name: Prepare system tests env\n      run: |\n        python automation/system_test/prepare.py env \\\n          --mlrun-dbpath \"http://$(minikube ip):${MLRUN_API_NODE_PORT}\" \\\n          --github-access-token \"${{ secrets.SYSTEM_TEST_GITHUB_ACCESS_TOKEN }}\"\n\n    # Enable tmate debugging of manually-triggered workflows if the input option was provided\n    - name: Setup tmate session\n      uses: mxschmitt/action-tmate@v3\n      if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}\n      with:\n\n        # run in detach mode to allow the workflow to continue running while session is active\n        # this will wait up to 10 minutes AFTER the entire job is done. Once user connects to the session,\n        # it will wait until the user disconnects before finishing up the job.\n        detached: true\n\n    - name: Run system tests\n      timeout-minutes: 180\n      run: |\n        MLRUN_SYSTEM_TESTS_CLEAN_RESOURCES=\"${{ steps.computed_params.outputs.mlrun_system_tests_clean_resources }}\" \\\n        MLRUN_VERSION=\"${{ steps.computed_params.outputs.mlrun_version }}\" \\\n          make test-system-open-source\n\n    - name: Output some logs in case of failure\n      if: ${{ failure() }}\n      # add set -x to print commands before executing to make logs reading easier\n      run: |\n        set -x\n        minikube ip\n        minikube logs\n        minikube kubectl -- --namespace ${NAMESPACE} logs -l app.kubernetes.io/component=api,app.kubernetes.io/name=mlrun --tail=-1\n        minikube kubectl -- --namespace ${NAMESPACE} get all\n        minikube kubectl -- --namespace ${NAMESPACE} get all -o yaml\n        minikube kubectl -- --namespace ${NAMESPACE} describe pods\n        minikube kubectl -- --namespace ${NAMESPACE} get cm\n        minikube kubectl -- --namespace ${NAMESPACE} get cm -o yaml\n        minikube kubectl -- --namespace ${NAMESPACE} get secrets\n        minikube kubectl -- --namespace ${NAMESPACE} get secrets -o yaml\n        minikube kubectl -- --namespace ${NAMESPACE} get pvc\n        minikube kubectl -- --namespace ${NAMESPACE} get pv\n        set +x\n", "state": "disabled_manually", "repository": "mlrun/mlrun"}
{"mined_at": "2024-07-15T15:01:34.986864", "created_at": "2023-03-02T23:12:21+01:00", "updated_at": "2023-03-02T23:12:21+01:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\non:\n  push:\n    branches:\n      - stable\njobs:\n  # This job upload the Python library to PyPI\n  deploy_pip:\n    if: ${{ startsWith(github.event.head_commit.message, 'Bump version:') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v1\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n      - name: Install dependencies\n        run: |\n         python3 -m pip install virtualenv\n      - name: Build Python package\n        run: |\n         make build_library\n      - name: Upload package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n  # This job creates a new GitHub release\n  github_release:\n    if: ${{ startsWith(github.event.head_commit.message, 'Bump version:') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}\n      - name: Create a release\n        run: |\n         # Find the last two commits\n         export LATEST_TAG=\"$(git describe --tags --abbrev=0)\"\n         export PREVIOUS_TAG=\"$(git describe --tags --abbrev=0 $(git rev-list --tags --skip=1 --max-count=1))\"\n         # Write release notes to a file\n         touch release_notes.txt\n         printf \"## Install\\nPython package is available at [PyPI](https://pypi.org/project/openram/).\\n\" >> release_notes.txt\n         printf \"## Documentation\\nDocumentation is available [here](https://github.com/VLSIDA/OpenRAM/blob/stable/docs/source/index.md).\\n\" >> release_notes.txt\n         printf \"## Changes\\n\" >> release_notes.txt\n         printf \"Full changelog: https://github.com/VLSIDA/OpenRAM/compare/${PREVIOUS_TAG}...${LATEST_TAG}\\n\" >> release_notes.txt\n         printf \"## Contributors\\n\" >> release_notes.txt\n         printf \"$(git log --pretty='format:+ %an' ${LATEST_TAG}...${PREVIOUS_TAG} | sort -u)\\n\" >> release_notes.txt\n         # Create the release via GitHub CLI\n         gh release create ${LATEST_TAG} --verify-tag -F release_notes.txt\n        env:\n          GITHUB_TOKEN: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}\n", "state": "active", "repository": "vlsida/openram"}
{"mined_at": "2024-07-15T15:01:36.113684", "created_at": "2023-02-21T06:11:42+01:00", "updated_at": "2023-03-02T23:12:29+01:00", "name": "regress", "path": ".github/workflows/regress.yml", "contents": "name: regress\non:\n  push:\n    branches-ignore:\n      - stable\njobs:\n  # All tests should be run from this job\n  regression_test:\n    # This job runs on pull requests or any push that doesn't have a new version\n    if: ${{ startsWith(github.event.head_commit.message, 'Bump version:') == false }}\n    runs-on: self-hosted\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v1\n      - name: Install dependencies\n        run: |\n         pip3 install -r requirements.txt\n      - name: Library build\n        run: |\n         rm -rf ~/.local/lib/python3.8/site-packages/openram*\n         make library\n      - name: Build conda\n        run: |\n         ./install_conda.sh\n      - name: PDK Install\n        run: |\n         export OPENRAM_HOME=\"${{ github.workspace }}/compiler\"\n         export OPENRAM_TECH=\"${{ github.workspace }}/technology\"\n         export PDK_ROOT=\"${{ github.workspace }}/pdk\"\n         # Add make targets to install PDKs of all technologies that need it\n         make sky130-pdk\n         make sky130-install\n      - name: Regress\n        run: |\n         export OPENRAM_HOME=\"${{ github.workspace }}/compiler\"\n         export OPENRAM_TECH=\"${{ github.workspace }}/technology\"\n         export PDK_ROOT=\"${{ github.workspace }}/pdk\"\n         export FREEPDK45=\"~/FreePDK45\"\n         # KLAYOUT_PATH breaks klayout installation. Unset it for now...\n         unset KLAYOUT_PATH\n         #cd $OPENRAM_HOME/.. && make pdk && make install\n         #export OPENRAM_TMP=\"${{ github.workspace }}/scn4me_subm_temp\"\n         #python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 12 -t scn4m_subm\n         #$OPENRAM_HOME/tests/regress.py -j 24 -t scn4m_subm\n         cd $OPENRAM_HOME/tests\n         make clean\n         make -k -j 48\n      - name: Archive\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: Regress Archives\n          path: ${{ github.workspace }}/compiler/tests/results/*\n  # This job triggers sync.yml workflow\n  sync_trigger:\n    if: ${{ always() && github.ref_name == 'dev' && github.repository == 'VLSIDA/PrivateRAM' && needs.regression_test.result == 'failure' }}\n    needs: regression_test\n    uses: ./.github/workflows/sync.yml\n    secrets:\n      WORKFLOW_ACCESS_TOKEN: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}\n  # This job triggers version.yml workflow\n  version_trigger:\n    if: ${{ github.ref_name == 'dev' }}\n    needs: regression_test\n    uses: ./.github/workflows/version.yml\n    secrets:\n      WORKFLOW_ACCESS_TOKEN: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}\n", "state": "disabled_manually", "repository": "vlsida/openram"}
{"mined_at": "2024-07-15T15:01:37.166146", "created_at": "2023-03-02T23:12:29+01:00", "updated_at": "2023-03-02T23:12:29+01:00", "name": "sync", "path": ".github/workflows/sync.yml", "contents": "name: sync\non:\n  workflow_call:\n    secrets:\n      WORKFLOW_ACCESS_TOKEN:\n        required: true\njobs:\n  # This job synchronizes the 'dev' branch of OpenRAM repo with the current branch\n  sync_dev_no_version:\n    if: ${{ github.repository == 'VLSIDA/PrivateRAM' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}\n      - name: Synchronize OpenRAM repo\n        run: |\n         # Configure pusher account\n         git config --global user.name \"vlsida-bot\"\n         git config --global user.email \"mrg+vlsidabot@ucsc.edu\"\n         # Add remote repo\n         git remote add public-repo https://${{ secrets.WORKFLOW_ACCESS_TOKEN }}@github.com/VLSIDA/OpenRAM.git\n         git pull public-repo dev\n         # Push the latest changes\n         git push -u public-repo HEAD:dev\n", "state": "active", "repository": "vlsida/openram"}
{"mined_at": "2024-07-15T15:01:38.255289", "created_at": "2023-02-21T06:11:42+01:00", "updated_at": "2023-03-02T23:12:29+01:00", "name": "sync_tag", "path": ".github/workflows/sync_tag.yml", "contents": "name: sync_tag\non:\n  push:\n    branches:\n      - dev\njobs:\n  # This job makes sure that a version commit has a tag (manually bumped versions might have tags missing)\n  sync_dev_tag_check:\n    if: ${{ github.repository == 'VLSIDA/PrivateRAM' && startsWith(github.event.head_commit.message, 'Bump version:') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}\n      - name: Compare version and tag\n        run: |\n         # Configure pusher account\n         git config --global user.name \"vlsida-bot\"\n         git config --global user.email \"mrg+vlsidabot@ucsc.edu\"\n         # Add both repos\n         git remote add private-repo https://${{ secrets.WORKFLOW_ACCESS_TOKEN }}@github.com/VLSIDA/PrivateRAM.git\n         git remote add public-repo https://${{ secrets.WORKFLOW_ACCESS_TOKEN }}@github.com/VLSIDA/OpenRAM.git\n         # Read the version file\n         echo \"LATEST_VERSION=v$(cat VERSION)\" >> $GITHUB_ENV\n         # Read the tag name of the last commit\n         echo \"HEAD_TAG=$(git describe --tags HEAD)\" >> $GITHUB_ENV\n      - name: Make a new tag and push\n        if: ${{ env.LATEST_VERSION != env.HEAD_TAG }}\n        run: |\n         # Tag the commit\n         git tag ${{ env.LATEST_VERSION }} HEAD\n         # Push to private/dev\n         git pull private-repo dev\n         git push private-repo HEAD:dev ${{ env.LATEST_VERSION }}\n         # Push to public-repo/dev\n         git pull public-repo dev\n         git push public-repo HEAD:dev ${{ env.LATEST_VERSION }}\n         # Push to public/stable\n         git pull public-repo stable\n         git push public-repo HEAD:stable ${{ env.LATEST_VERSION }}\n", "state": "active", "repository": "vlsida/openram"}
{"mined_at": "2024-07-15T15:01:39.383586", "created_at": "2023-03-02T23:12:29+01:00", "updated_at": "2023-03-02T23:12:29+01:00", "name": "version", "path": ".github/workflows/version.yml", "contents": "name: version\non:\n  workflow_call:\n    secrets:\n      WORKFLOW_ACCESS_TOKEN:\n        required: true\njobs:\n  make_version:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }}\n      - name: Configure git\n        run: |\n         # Configure the committer\n         git config --global user.name \"vlsida-bot\"\n         git config --global user.email \"mrg+vlsidabot@ucsc.edu\"\n         # Set remote repos\n         git remote add private-repo https://${{ secrets.WORKFLOW_ACCESS_TOKEN }}@github.com/VLSIDA/PrivateRAM.git\n         git remote add public-repo https://${{ secrets.WORKFLOW_ACCESS_TOKEN }}@github.com/VLSIDA/OpenRAM.git\n      - name: Make new version number\n        run: |\n         # Read the current version number\n         export CURRENT_VERSION=\"$(cat VERSION)\"\n         # Increment the version number\n         export NEXT_VERSION=\"$(echo ${CURRENT_VERSION} | awk -F. -v OFS=. '{$NF += 1 ; print}')\"\n         echo \"${NEXT_VERSION}\" > VERSION\n         # Commit the change and tag the commit\n         git commit -a -m \"Bump version: ${CURRENT_VERSION} -> ${NEXT_VERSION}\"\n         git tag \"v${NEXT_VERSION}\" HEAD\n      - name: Push changes\n        run: |\n         # Read next tag\n         export NEXT_TAG=\"v$(cat VERSION)\"\n         # Push to private/dev\n         git pull private-repo dev\n         git push private-repo HEAD:dev ${NEXT_TAG}\n         # Push to public/dev\n         git pull public-repo dev\n         git push public-repo HEAD:dev ${NEXT_TAG}\n         # Push to public/stable\n         git pull public-repo stable\n         git push public-repo HEAD:stable ${NEXT_TAG}\n", "state": "active", "repository": "vlsida/openram"}
{"mined_at": "2024-07-15T15:01:40.395965", "created_at": "2023-03-02T23:12:19+01:00", "updated_at": "2023-03-02T23:12:19+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "vlsida/openram"}
{"mined_at": "2024-07-15T15:01:43.694509", "created_at": "2020-11-06T16:22:15+01:00", "updated_at": "2023-01-09T17:12:30+01:00", "name": "Tests", "path": ".github/workflows/build.yml", "contents": "---\nname: Tests\n\non: [push, pull_request]\n\njobs:\n  static:\n    name: static checks / linters\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache pip\n      uses: actions/cache@v4\n      with:\n        # This path is specific to Ubuntu\n        path: ${{ env.pythonLocation }}\n        # Look to see if there is a cache hit for the setup file\n        key: ${{ runner.os }}-pip-new3-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-new3\n          ${{ runner.os }}-new3\n    - name: Install numpy\n      run: pip install -U numpy\n    - name: Install dependencies\n      run: pip install --upgrade --upgrade-strategy eager .[full,test,dev]\n    - name: pip list packages\n      run: pip list\n    - name: show pip dependencies\n      run: |\n        pip install pipdeptree\n        pipdeptree -fl\n    - name: pre-commit checks\n      run: pre-commit run -a\n  docs:\n    name: Documentation build\n    runs-on: ubuntu-latest\n    needs: [static]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n    - name: Cache pip\n      uses: actions/cache@v4\n      with:\n        # This path is specific to Ubuntu\n        path: ${{ env.pythonLocation }}\n        # Look to see if there is a cache hit for the setup file\n        key: ${{ runner.os }}-pip-new3-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-new3\n          ${{ runner.os }}-new3\n    - name: Install doc dependencies\n      run: pip install -r docs/requirements.txt\n    - name: Install lale\n      run: pip install --no-dependencies -e .\n    - name: pip list packages\n      run: pip list\n    - name: Install latex (used for math notation in sphinx)\n      run: >\n        sudo apt-get update -y &&\n        sudo apt-get install -y\n        latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended\n        dvipng librsvg2-bin\n    - name: Run sphinx\n      run: sphinx-build \".\" \"_build\" -W --keep-going\n      working-directory: ./docs\n\n  # test_matrix_pr and test_matrix_master have a lot of redundancy\n  # If GitHub actions adds support for conditional matrix expressions\n  # these should be combined, but current workarounds seem overly complex\n  test_matrix_pr:\n    name: Test (PR)\n    runs-on: ubuntu-latest\n    if: ${{github.event_name == 'pull_request' }}\n    needs: [static]\n    strategy:\n      fail-fast: false\n      matrix:\n        test-case:\n        - test/test_core_classifiers.py\n        - test/test_core_regressors.py\n        - test/test_core_transformers.py\n        - test/test_core_pipeline.py\n        - test/test_custom_schemas.py\n        - test/test_json_pretty_viz.py\n        - test/test_grammar.py\n        - test/test_type_checking.py\n        - test/test_interoperability.py\n        - test/test_optimizers.py\n        - test/test_pipeline.py\n        - test/test_autogen_lib.py\n        - test/test_snapml.py\n        - test/test_relational.py\n        - test/test_category_encoders.py\n        python-version: [3.9]\n        setup-target: ['.[full,test]']\n        include:\n        - test-case: test/test_core_misc.py\n          python-version: 3.8\n          setup-target: '.[full,test]'\n        - test-case: test/test_core_misc.py\n          python-version: 3.9\n          setup-target: '.[full,test]'\n        - test-case: test/test_core_misc.py\n          python-version: '3.10'\n          setup-target: '.[full,test]'\n        - test-case: test/test_core_misc.py\n          python-version: '3.11'\n          setup-target: '.[full,test]'\n        - test-case: test/test_autogen_lib.py\n          python-version: 3.8\n          setup-target: '.[test]'\n        - test-case: test/test_halving_gridsearchcv.py\n          python-version: 3.8\n          setup-target: '.[test]'\n        - test-case: test/test_aif360.py\n          python-version: 3.8\n          setup-target: '.[full,test]'\n        - test-case: test/test_relational_sklearn.py\n          python-version: 3.8\n          setup-target: '.[full,test]'\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install system packages\n      run: sudo apt-get install graphviz swig\n    - name: Cache pip\n      uses: actions/cache@v4\n      with:\n        # This path is specific to Ubuntu\n        path: ${{ env.pythonLocation }}\n        # Look to see if there is a cache hit for the setup file\n        key: ${{ runner.os }}-pip-new3-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-new3\n          ${{ runner.os }}-new3\n    - name: Install numpy\n      run: pip install -U numpy\n    - name: Install dependencies\n      run: pip install --upgrade --upgrade-strategy eager ${{matrix.setup-target}}\n    - name: Install deps for test_relational_sklearn\n      if: ${{ matrix.test-case == 'test/test_relational_sklearn.py' }}\n      run: pip install 'scikit-learn>=1.0'\n    - name: Install deps for test_snapml\n      if: ${{ matrix.test-case == 'test/test_snapml.py' }}\n      run: pip install 'numpy>=1.20.1,<1.24'\n    - name: Imbalanced learn version for Python 3.8\n      if: ${{ matrix.test-case == 'test/test_interoperability.py' &&  matrix.python-version == 3.8}}\n      run: pip install 'imbalanced-learn==0.9.0' 'scikit-learn==1.0.2'\n    - name: pip list packages\n      run: pip list\n    - name: show pip dependencies\n      run: |\n        pip install pipdeptree\n        pipdeptree -fl\n    - name: Run test\n      run: py.test -v --capture=tee-sys ${{matrix.test-case}}\n\n  test_matrix_master:\n    name: Test (master)\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name == 'push' }}\n    needs: [static]\n    strategy:\n      fail-fast: false\n      matrix:\n        test-case:\n        - test/test_core_classifiers.py\n        - test/test_core_regressors.py\n        - test/test_core_transformers.py\n        - test/test_core_misc.py\n        - test/test_core_pipeline.py\n        - test/test_custom_schemas.py\n        - test/test_json_pretty_viz.py\n        - test/test_grammar.py\n        - test/test_type_checking.py\n        - test/test_interoperability.py\n        - test/test_optimizers.py\n        - test/test_pipeline.py\n        - test/test_autogen_lib.py\n        - test/test_relational.py\n        - test/test_category_encoders.py\n        python-version: [3.8, 3.9, '3.10', '3.11']\n        setup-target: ['.[full,test]']\n        include:\n        - test-case: test/test_autogen_lib.py\n          python-version: 3.8\n          setup-target: '.[test]'\n        - test-case: test/test_halving_gridsearchcv.py\n          python-version: 3.8\n          setup-target: '.[test]'\n        - test-case: test/test_aif360.py\n          python-version: 3.8\n          setup-target: '.[full,test]'\n        - test-case: test/test_relational_sklearn.py\n          python-version: 3.8\n          setup-target: '.[test]'\n        - test-case: test/test_snapml.py\n          python-version: 3.8\n          setup-target: '.[full,test]'\n        - test-case: test/test_snapml.py\n          python-version: 3.9\n          setup-target: '.[full,test]'\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install system packages\n      run: sudo apt-get install graphviz swig\n    - name: Cache pip\n      uses: actions/cache@v4\n      with:\n        # This path is specific to Ubuntu\n        path: ${{ env.pythonLocation }}\n        # Look to see if there is a cache hit for the setup file\n        key: ${{ runner.os }}-pip-new3-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-new3\n          ${{ runner.os }}-new3\n    - name: Install numpy\n      run: pip install -U numpy\n    - name: Install dependencies\n      run: pip install --upgrade --upgrade-strategy eager ${{matrix.setup-target}}\n    - name: Install deps for test_relational_sklearn\n      if: ${{ matrix.test-case == 'test/test_relational_sklearn.py' }}\n      run: pip install 'scikit-learn>=1.0'\n    - name: Install deps for test_snapml\n      if: ${{ matrix.test-case == 'test/test_snapml.py' }}\n      run: pip install 'numpy>=1.20.1,<1.24'\n    - name: Imbalanced learn version for Python 3.8\n      if: ${{ matrix.test-case == 'test/test_interoperability.py' &&  matrix.python-version == 3.8}}\n      run: pip install 'imbalanced-learn==0.9.0' 'scikit-learn==1.0.2'\n    - name: pip list packages\n      run: pip list\n    - name: show pip dependencies\n      run: |\n        pip install pipdeptree\n        pipdeptree -fl\n    - name: Run test\n      run: py.test -v --capture=tee-sys ${{matrix.test-case}}\n\n  test_newer:\n    name: Test with newest sklearn\n    runs-on: ubuntu-latest\n    needs: [static]\n    strategy:\n      fail-fast: false\n      matrix:\n        test-case:\n        - test/test_core_classifiers.py\n        - test/test_core_regressors.py\n        - test/test_core_transformers.py\n        python-version: ['3.10', '3.11']\n        setup-target: ['.']\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install system packages\n      run: sudo apt-get install graphviz swig\n    - name: Cache pip\n      uses: actions/cache@v4\n      with:\n        # This path is specific to Ubuntu\n        path: ${{ env.pythonLocation }}\n        # Look to see if there is a cache hit for the setup file\n        key: ${{ runner.os }}-pip-new3-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-new3\n          ${{ runner.os }}-new3\n    - name: Install numpy\n      run: pip install -U numpy\n    - name: Install dependencies\n      run: pip install --upgrade --upgrade-strategy eager ${{matrix.setup-target}}\n    - name: Install pytest\n      run: pip install pytest\n    - name: Install latest scikit-learn, xgboost, and lightgbm\n      run: pip install --upgrade --upgrade-strategy eager scikit-learn xgboost lightgbm\n    - name: pip list packages\n      run: pip list\n    - name: show pip dependencies\n      run: |\n        pip install pipdeptree\n        pipdeptree -fl\n    - name: Run test\n      run: py.test -v --capture=tee-sys ${{matrix.test-case}}\n      continue-on-error: true  # we may not yet support the latest scikit-learn version\n\n  test_notebooks_pr:\n    name: Test Notebooks (PR)\n    needs: [static]\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name == 'pull_request' }}\n    env:\n      ALL_NOTEBOOK_CATEGORIES: demo_ docs_ talk_\n    strategy:\n      fail-fast: false\n      matrix:\n        category:\n        - demo_\n        - docs_\n        - talk_\n        python-version: [3.9]\n        setup-target: ['.[full,test]']\n        test-case: ['test/test_notebooks.py']\n        dir: ['examples']\n        nbexcludes: ['']\n        include:\n        - dir: 'examples/kdd22'\n          python-version: 3.9\n          setup-target: '.[tutorial,test]'\n          test-case: 'test/test_notebooks.py'\n          # nbexcludes: '06_multobj.ipynb'\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache pip\n      uses: actions/cache@v4\n      with:\n        # This path is specific to Ubuntu\n        path: ${{ env.pythonLocation }}\n        # Look to see if there is a cache hit for the setup file\n        key: ${{ runner.os }}-pip-new3-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-new3\n          ${{ runner.os }}-new3\n    - name: Install packages\n      run: sudo apt-get install graphviz swig\n    - name: Install numpy\n      run: pip install -U numpy\n    - name: Install dependencies\n      run: pip install --upgrade --upgrade-strategy eager ${{matrix.setup-target}}\n    - name: Fix tutorial dependencies\n      if: ${{ matrix.dir == 'examples/kdd22' }}\n      run: |\n        pip install \"pandas<2.0.0\" \"xgboost<=1.5.1\"\n    - name: pip list packages\n      run: pip list\n    - name: show pip dependencies\n      run: |\n        pip install pipdeptree\n        pipdeptree -fl\n    - name: Run test\n      run: >\n        NOTEBOOK_EXCLUDES=\"${{matrix.nbexcludes}}\"\n        NOTEBOOK_DIR=${{matrix.dir}}\n        NOTEBOOK_CATEGORY=${{matrix.category}}\n        py.test -v --capture=tee-sys ${{matrix.test-case}}\n\n  test_notebooks_master:\n    name: Test Notebooks (master)\n    needs: [static]\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name == 'push' }}\n    env:\n      ALL_NOTEBOOK_CATEGORIES: demo_ docs_ talk_\n    strategy:\n      fail-fast: false\n      matrix:\n        category:\n        - demo_\n        - docs_\n        - talk_\n        python-version: [3.8, 3.9, '3.10', '3.11']\n        setup-target: ['.[full,test]']\n        test-case: ['test/test_notebooks.py']\n        dir: ['examples']\n        nbexcludes: ['']\n        include:\n        - dir: 'examples'\n          python-version: 3.8\n          setup-target: '.[full,test]'\n          test-case: 'test/test_notebooks.py'\n          nbexcludes: 'demo_auto_pipeline.ipynb'\n        - dir: 'examples/kdd22'\n          python-version: 3.8\n          setup-target: '.[tutorial,test]'\n          test-case: 'test/test_notebooks.py'\n          nbexcludes: '02_total.ipynb'\n        - dir: 'examples/kdd22'\n          python-version: 3.9\n          setup-target: '.[tutorial,test]'\n          test-case: 'test/test_notebooks.py'\n          # nbexcludes: '06_multobj.ipynb'\n        - dir: 'examples/kdd22'\n          python-version: '3.10'\n          setup-target: '.[tutorial,test]'\n          test-case: 'test/test_notebooks.py'\n          # nbexcludes: '06_multobj.ipynb'\n        - dir: 'examples/kdd22'\n          python-version: '3.11'\n          setup-target: '.[tutorial,test]'\n          test-case: 'test/test_notebooks.py'\n          # nbexcludes: '06_multobj.ipynb'\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache pip\n      uses: actions/cache@v4\n      with:\n        # This path is specific to Ubuntu\n        path: ${{ env.pythonLocation }}\n        # Look to see if there is a cache hit for the setup file\n        key: ${{ runner.os }}-pip-new3-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-new3\n          ${{ runner.os }}-new3\n    - name: Install packages\n      run: sudo apt-get install graphviz swig\n    - name: Install numpy\n      run: pip install -U numpy\n    - name: Install dependencies\n      run: pip install --upgrade --upgrade-strategy eager ${{matrix.setup-target}}\n    - name: Fix tutorial dependencies\n      if: ${{ matrix.dir == 'examples/kdd22' }}\n      run: |\n        pip install \"pandas<2.0.0\" \"xgboost<=1.5.1\"\n    - name: pip list packages\n      run: pip list\n    - name: show pip dependencies\n      run: |\n        pip install pipdeptree\n        pipdeptree -fl\n    - name: Run test\n      run: >\n        NOTEBOOK_EXCLUDES=\"${{matrix.nbexcludes}}\"\n        NOTEBOOK_DIR=${{matrix.dir}}\n        NOTEBOOK_CATEGORY=${{matrix.category}}\n        py.test -v --capture=tee-sys ${{matrix.test-case}}\n\n  test_fairness:\n    name: Test fairness install\n    runs-on: ubuntu-latest\n    needs: [static]\n    strategy:\n      fail-fast: false\n      matrix:\n        test-case:\n        - test/test_aif360.py\n        - test/test_aif360_ensembles.py\n        python-version: [3.8]\n        setup-target: ['.[fairness]']\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install system packages\n      run: sudo apt-get install graphviz swig\n    - name: Install pytest\n      run: pip install pytest\n    - name: Install dependencies\n      run: pip install --upgrade --upgrade-strategy eager ${{matrix.setup-target}}\n    - name: pip list packages\n      run: pip list\n    - name: show pip dependencies\n      run: |\n        pip install pipdeptree\n        pipdeptree -fl\n    - name: Run test\n      run: py.test -v --capture=tee-sys ${{matrix.test-case}}\n\n  deploy:\n    name: Deploy to TestPyPI\n    runs-on: ubuntu-latest\n    # This should run only on the master branch of the main repo\n    if: github.repository == 'IBM/lale' && github.ref == 'refs/heads/master' && success()\n    needs: [static, test_matrix_master, test_newer, test_fairness, test_notebooks_master, docs]\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: pip install wheel twine\n    - name: Build distribution\n      env:\n        # integrate with the current system for timestamping versions\n        TRAVIS: \" \"\n      run: python setup.py sdist bdist_wheel\n    - name: Publish package to TestPyPI\n      run: twine upload -u \"__token__\" -p \"${{ secrets.test_pypi_password }}\" -r testpypi dist/*\n", "state": "active", "repository": "ibm/lale"}
{"mined_at": "2024-07-15T15:01:44.817906", "created_at": "2020-11-11T04:05:27+01:00", "updated_at": "2020-11-11T04:05:27+01:00", "name": "Deploy Release", "path": ".github/workflows/release.yml", "contents": "---\nname: Deploy Release\n\non:\n  release:\n    types: [released]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: pip install wheel twine\n    - name: Build distribution\n      run: python setup.py sdist bdist_wheel\n    - name: Publish package to (not-test) PyPi\n      run: twine upload -u \"__token__\" -p \"${{ secrets.pypi_password }}\" dist/*\n    - name: Publish package to TestPyPI\n      run: twine upload -u \"__token__\" -p \"${{ secrets.test_pypi_password }}\" -r testpypi dist/*\n", "state": "active", "repository": "ibm/lale"}
{"mined_at": "2024-07-15T15:01:46.045472", "created_at": "2023-04-10T19:46:42+02:00", "updated_at": "2023-04-10T19:46:42+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "ibm/lale"}
{"mined_at": "2024-07-15T15:01:48.185489", "created_at": "2021-05-26T23:22:34+02:00", "updated_at": "2021-05-27T01:09:33+02:00", "name": ".github/workflows/complexity.yml", "path": ".github/workflows/complexity.yml", "contents": null, "state": "active", "repository": "beer-garden/beer-garden"}
{"mined_at": "2024-07-15T15:01:49.219808", "created_at": "2021-05-26T23:22:34+02:00", "updated_at": "2021-05-27T01:09:33+02:00", "name": "Develop Push", "path": ".github/workflows/develop_push.yml", "contents": "name: Develop Push\n\non:\n  push:\n    branches:\n      - develop\n\njobs:\n  docker-publish-unstable:\n    name: Docker Publish\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Build and Publish Unstable Images\n        run: make publish-docker-unstable\n        \n  CodeCoverage:\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        working-directory: ./src/app\n\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n        os: [\"ubuntu-latest\"]\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n\n    name: Code Coverage OS ${{ matrix.os }} - Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Need to update if we support other OS's\n      - name: Cache PIP Install\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-coverage-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-coverage\n\n      - name: Make Deps\n        run: |\n          make deps\n          pip install pytest\n          pip install pytest-cov\n\n      - name: Generate coverage report\n        continue-on-error: true\n        run: |\n          coverage run --source beer_garden -m pytest test --tb=no\n          coverage report -m\n          coverage xml\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1\n", "state": "active", "repository": "beer-garden/beer-garden"}
{"mined_at": "2024-07-15T15:01:50.451400", "created_at": "2021-05-26T23:38:03+02:00", "updated_at": "2023-12-18T17:53:27+01:00", "name": "Pull Request", "path": ".github/workflows/pull_request.yml", "contents": "name: Pull Request\n\non: pull_request\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  Linting:\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        working-directory: ./src/app\n\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n        os: [\"ubuntu-latest\"]\n\n    name: Linting OS ${{ matrix.os }} - Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Need to update if we support other OS's\n      - name: Cache PIP Install\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-lint-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-lint\n\n      - name: Run Linting (src/app)\n        run: |\n          pip install black flake8 isort\n          make lint\n\n      - name: Run Linting (test/integration)\n        working-directory: ./test/integration\n        run: |\n          pip install black flake8 isort\n          make lint\n\n  PyTest:\n    runs-on: ${{ matrix.os }}\n\n    env:\n      brewtils: \"develop\"\n\n    defaults:\n      run:\n        working-directory: ./src/app\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\",\"3.8\",\"3.9\",\"3.11\"]\n        os: [\"ubuntu-latest\"]\n\n    name: PyTests OS ${{ matrix.os }} - Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Custom tag extractor to find Brewtils Branch\n      - name: Find Brewtils Branch\n        uses: TheBurchLog/body-env-tag-action@1.0\n        with:\n          tag: \"brewtils:\"\n          env-variable: \"brewtils\"\n          default-value: \"develop\"\n          tag-position: -1\n\n      # Used the hashtag here instead of slash allow for branches to have slashes in them\n      - name: Update Brewtils Branch\n        run: sed -i 's#brewtils@develop#brewtils@${{env.brewtils}}#g' requirements-dev.txt\n\n      # Need to update if we support other OS's\n      - name: Cache PIP Install\n        uses: actions/cache@v2\n        if: env.brewtils == 'develop'\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-install-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-install-\n\n      - name: Make Deps\n        run: make deps\n\n      - name: Run Tests\n        run: make test\n\n  CodeCoverage:\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        working-directory: ./src/app\n\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n        os: [\"ubuntu-latest\"]\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n\n    name: Code Coverage OS ${{ matrix.os }} - Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Custom tag extractor to find Brewtils Branch\n      - name: Find Brewtils Branch\n        uses: TheBurchLog/body-env-tag-action@1.0\n        with:\n          tag: \"brewtils:\"\n          env-variable: \"brewtils\"\n          default-value: \"develop\"\n          tag-position: -1\n\n      # Used the hashtag here instead of slash allow for branches to have slashes in them\n      - name: Update Brewtils Branch\n        run: sed -i 's#brewtils@develop#brewtils@${{env.brewtils}}#g' requirements-dev.txt\n\n      # Need to update if we support other OS's\n      - name: Cache PIP Install\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-coverage-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-coverage\n\n      - name: Make Deps\n        run: |\n          make deps\n          pip install pytest\n          pip install pytest-cov\n\n      - name: Generate coverage report\n        continue-on-error: true\n        run: |\n          coverage run --source beer_garden -m pytest test --tb=no\n          coverage report -m\n          coverage xml\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1\n\n  SecurityCheck:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n        os: [\"ubuntu-latest\"]\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n\n    name: Code Security Check OS ${{ matrix.os }} - Python ${{ matrix.python-version }}\n    steps:\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Make Deps\n        run: |\n          python -m pip install --upgrade pip\n          pip install \"importlib-metadata<5\" bandit\n\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.base_ref }}\n          path: ./old\n\n      - uses: actions/checkout@v3\n        with:\n          path: ./new\n\n      - name: Scan old security\n        working-directory: ./old/src/app\n        continue-on-error: true\n        run: |\n          bandit --format json -o ~/old_bandit.json -r beer_garden\n\n      - name: Scan new security\n        working-directory: ./new/src/app\n        run: |\n          bandit --baseline ~/old_bandit.json -r beer_garden\n\n  Local-Plugin-Testing:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        python-version: [\"3.7\",\"3.8\",\"3.9\",\"3.10\",\"3.11\"]\n        os: [\"ubuntu-latest\"]\n      fail-fast: false\n\n    name: Local Plugins - Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Custom tag extractor to find Brewtils Branch\n      - name: Find Brewtils Branch\n        uses: TheBurchLog/body-env-tag-action@1.0\n        with:\n          tag: \"brewtils:\"\n          env-variable: \"brewtils\"\n          default-value: \"develop\"\n          tag-position: -1\n\n      # Used the hashtag here instead of slash allow for branches to have slashes in them\n      - name: Update Brewtils Branch\n        run: sed -i 's#brewtils@develop#brewtils@${{env.brewtils}}#g' requirements-dev.txt\n        working-directory: ./src/app\n\n      - name: Build Local Beer Garden Docker\n        run: |\n          python --version\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          make package\n          make clean-python\n          docker build -t bgio/beer-garden:unstable -f docker/Dockerfile.unstable --build-arg PYTHON_IMAGE=python:${{ matrix.python-version }}-alpine .\n        working-directory: ./src/app\n\n      - name: Update Docker Compose\n        run: cp test/conf/docker-compose.yml docker/docker-compose/docker-compose.yml\n        working-directory: ./\n\n      - name: Checkout Local Plugins\n        uses: actions/checkout@v2\n        with:\n          repository: beer-garden/example-plugins\n          path: ./docker/docker-compose/data/localplugins\n\n      - name: Verify Local Plugins\n        run: ls ./docker/docker-compose/data/localplugins\n\n      - name: Run Docker Mongodb and RabbitMQ\n        run: docker-compose up -d mongodb rabbitmq\n        working-directory: ./docker/docker-compose\n\n      - name: Wait for Mongodb and RabbitMQ to start\n        run: sleep 20s\n        shell: bash\n\n      - name: Run Docker Beer Garden\n        run: BG='unstable' docker-compose up -d beer-garden\n        working-directory: ./docker/docker-compose\n\n      - name: Wait for Beer Garden to start\n        run: sleep 60s\n        shell: bash\n\n      - name: Grab logs from Beer-Garden\n        run: BG='unstable' docker-compose logs --tail 100 beer-garden\n        working-directory: ./docker/docker-compose\n\n      - name: Check If Beer Garden is Operational\n        uses: nick-invision/retry@v2\n        with:\n          timeout_seconds: 30\n          max_attempts: 20\n          retry_on: error\n          retry_wait_seconds: 5\n          command: curl http://localhost:2337/config\n\n      - name: Grab logs from Beer-Garden\n        run: BG='unstable' docker-compose logs --tail 100 beer-garden\n        working-directory: ./docker/docker-compose\n\n      - name: Install Develop Version of Brewtils\n        run: pip${{ matrix.python-version }} install -e git+https://github.com/beer-garden/brewtils@${{env.brewtils}}#egg=brewtils\n\n      - name: Install Testing Dependencies\n        run: pip${{ matrix.python-version }} install -r requirements.txt\n        working-directory: ./test/integration\n\n      - name: Test Plugins\n        run: python${{ matrix.python-version }} -m pytest local_plugins/\n        working-directory: ./test/integration\n\n      - name: Grab logs from Beer-Garden\n        if: always()\n        run: BG='unstable' docker-compose logs --tail 1000 beer-garden\n        working-directory: ./docker/docker-compose\n\n      - name: Shutdown Docker Containers\n        run: docker-compose stop\n        working-directory: ./docker/docker-compose\n\n  Grandchild-Testing:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n        os: [\"ubuntu-latest\"]\n        child: [\"unstable\", \"3.19.1\",\"3.20.0\",\"3.21.0\",\"3.22.0\",\"3.23.0\"]\n        parent: [\"unstable\"]\n      fail-fast: false\n\n    name: Grandchild Test - unstable -> ${{ matrix.parent }} -> ${{ matrix.child }}\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Custom tag extractor to find Brewtils Branch\n      - name: Find Brewtils Branch\n        uses: TheBurchLog/body-env-tag-action@1.0\n        with:\n          tag: \"brewtils:\"\n          env-variable: \"brewtils\"\n          default-value: \"develop\"\n          tag-position: -1\n\n      # Used the hashtag here instead of slash allow for branches to have slashes in them\n      - name: Update Brewtils Branch\n        run: sed -i 's#brewtils@develop#brewtils@${{env.brewtils}}#g' requirements-dev.txt\n        working-directory: ./src/app\n\n      - name: Build Beer Garden Docker\n        run: |\n          python --version\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          make package\n          make clean-python\n          docker build -t bgio/beer-garden:unstable -f docker/Dockerfile.unstable --build-arg PYTHON_IMAGE=python:${{ matrix.python-version }}-alpine .\n          docker tag bgio/beer-garden:unstable bgio/beer-garden:grandparent\n          if [ \"${{ matrix.parent }}\" != \"unstable\" ]; then\n            docker pull bgio/beer-garden:${{ matrix.parent }}\n          fi\n          docker tag bgio/beer-garden:${{ matrix.parent }} bgio/beer-garden:parent\n          if [ \"${{ matrix.child }}\" != \"unstable\" ]; then\n            docker pull bgio/beer-garden:${{ matrix.child }}\n          fi\n          docker tag bgio/beer-garden:${{ matrix.child }} bgio/beer-garden:child\n        working-directory: ./src/app\n\n      - name: Update Docker Compose  \n        run: |\n          cp test/conf/docker-compose-grandparents-test.yml docker/docker-compose/docker-compose.yml\n          cp -r test/conf/beer_garden_grandparent_children docker/docker-compose/\n          cp -r test/conf/beer_garden_parent_children docker/docker-compose/\n        working-directory: ./\n\n      - name: Checkout Local Plugins\n        uses: actions/checkout@v2\n        with:\n          repository: beer-garden/example-plugins\n          path: ./docker/docker-compose/data/localplugins\n\n      - name: Verify Local Plugins\n        run: ls ./docker/docker-compose/data/localplugins\n\n      - name: Run Docker Beer Garden Child\n        run: docker-compose up -d beer-garden-child\n        working-directory: ./docker/docker-compose\n\n      - name: Wait for Beer Garden Grandparent to start\n        run: sleep 10s\n        shell: bash\n\n      - name: Run Docker Beer Garden Parent\n        run: docker-compose up -d beer-garden-parent\n        working-directory: ./docker/docker-compose\n\n      - name: Wait for Beer Garden Parent to start\n        run: sleep 10s\n        shell: bash\n\n      - name: Run Docker Beer Garden Grandparent\n        run: docker-compose up -d beer-garden-grandparent\n        working-directory: ./docker/docker-compose\n\n      - name: Check Docker\n        run: docker ps\n\n      - name: Wait for Beer Garden to start\n        run: sleep 60s\n        shell: bash\n\n      - name: Install Develop Version of Brewtils\n        run: pip${{ matrix.python-version }} install -e git+https://github.com/beer-garden/brewtils@${{env.brewtils}}#egg=brewtils\n\n      - name: Install Testing Dependencies\n        run: pip${{ matrix.python-version }} install -r requirements.txt\n        working-directory: ./test/integration\n\n      - name: Test Plugins\n        run: python${{ matrix.python-version }} -m pytest grandparents_garden/\n        working-directory: ./test/integration\n\n      - name: Grab logs from Child\n        if: always()\n        run: docker-compose logs --tail 3000 beer-garden-child\n        working-directory: ./docker/docker-compose\n\n      - name: Grab logs from Parent\n        if: always()\n        run: docker-compose logs --tail 3000 beer-garden-parent\n        working-directory: ./docker/docker-compose\n\n      - name: Grab logs from Grand Parent\n        if: always()\n        run: docker-compose logs --tail 3000 beer-garden-grandparent\n        working-directory: ./docker/docker-compose\n\n\n  Replication-Testing:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n        os: [\"ubuntu-latest\"]\n      fail-fast: false\n\n    name: Replicaiton Testing - Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Custom tag extractor to find Brewtils Branch\n      - name: Find Brewtils Branch\n        uses: TheBurchLog/body-env-tag-action@1.0\n        with:\n          tag: \"brewtils:\"\n          env-variable: \"brewtils\"\n          default-value: \"develop\"\n          tag-position: -1\n\n      # Used the hashtag here instead of slash allow for branches to have slashes in them\n      - name: Update Brewtils Branch\n        run: sed -i 's#brewtils@develop#brewtils@${{env.brewtils}}#g' requirements-dev.txt\n        working-directory: ./src/app\n\n      - name: Build Local Beer Garden Docker\n        run: |\n          python --version\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          make package\n          make clean-python\n          docker build -t bgio/beer-garden:test -f docker/Dockerfile.unstable --build-arg PYTHON_IMAGE=python:${{ matrix.python-version }}-alpine .\n        working-directory: ./src/app\n\n      - name: Start Docker Swarm\n        run: docker swarm init\n\n      - name: Run Docker RabbitMQ and Mongodb\n        run: docker stack deploy -c docker-compose-support.yml bg_core\n        working-directory: ./test/conf/swarm/\n\n      - name: Wait for Mongodb and RabbitMQ to start\n        run: sleep 20s\n        shell: bash\n\n      - name: Copy Data Files\n        run: cp -r docker/docker-compose/data test/conf/swarm/\n        working-directory: ./\n      \n      - name: Check Data Files\n        run: ls test/conf/swarm/data/certs/\n        working-directory: ./\n\n      - name: Run Docker Beer Garden\n        run: docker stack deploy -c docker-compose-framework.yml beer-garden\n        working-directory: ./test/conf/swarm/\n\n      - name: Wait for Beer Garden to start\n        run: sleep 60s\n        shell: bash\n\n      - name: Check services\n        run: docker service ls\n\n      - name: Check docker\n        run: docker ps\n\n      - name: Check BG\n        run: docker service ps --no-trunc beer-garden_beer-garden\n\n      - name: Check If Beer Garden is Operational\n        uses: nick-invision/retry@v2\n        with:\n          timeout_seconds: 30\n          max_attempts: 20\n          retry_on: error\n          retry_wait_seconds: 5\n          command: curl http://127.0.0.1:2337/config\n\n      - name: Grab logs from Beer-Garden.1\n        if: always()\n        run: docker logs --tail 3000 $(docker ps --filter name=beer-garden_beer-garden.1 --quiet)\n\n      - name: Grab logs from Beer-Garden.2\n        if: always()\n        run: docker logs --tail 3000 $(docker ps --filter name=beer-garden_beer-garden.2 --quiet)\n\n      - name: Grab logs from Beer-Garden.3\n        if: always()\n        run: docker logs --tail 3000 $(docker ps --filter name=beer-garden_beer-garden.3 --quiet)\n\n      - name: Run Docker Beer Garden Plugins\n        run: docker stack deploy -c docker-compose-plugins.yml beer-plugins\n        working-directory: ./test/conf/swarm/\n\n      - name: Wait for Plugins to start\n        run: sleep 15s\n        shell: bash\n\n      - name: Grab Garden Info\n        uses: nick-invision/retry@v2\n        with:\n          timeout_seconds: 30\n          max_attempts: 20\n          retry_on: error\n          retry_wait_seconds: 10\n          command: curl http://127.0.0.1:2337/api/v1/gardens/\n\n      - name: Check services\n        run: docker service ls\n\n      - name: Check Publisher\n        run: docker service ps --no-trunc beer-plugins_subscribe \n      \n      - name: Grab logs from Publisher\n        run: docker service logs --tail 100 beer-plugins_subscribe \n\n      - name: Grab logs from Beer-Garden\n        if: always()\n        run: docker service logs --tail 1000 beer-garden_beer-garden\n\n      - name: Install Develop Version of Brewtils\n        run: pip${{ matrix.python-version }} install -e git+https://github.com/beer-garden/brewtils@${{env.brewtils}}#egg=brewtils\n\n      - name: Install Testing Dependencies\n        run: pip${{ matrix.python-version }} install -r requirements.txt\n        working-directory: ./test/integration\n\n      - name: Test Plugins\n        run: python${{ matrix.python-version }} -m pytest local_plugins --ignore=local_plugins/plugins/autobrew_test.py --ignore=local_plugins/plugins/complex_test.py --ignore=local_plugins/plugins/dynamic_test.py\n        working-directory: ./test/integration\n        timeout-minutes: 2\n\n      - name: Grab logs from Beer-Garden.1\n        if: always()\n        run: docker logs --tail 3000 $(docker ps --filter name=beer-garden_beer-garden.1 --quiet)\n\n      - name: Grab logs from Beer-Garden.2\n        if: always()\n        run: docker logs --tail 3000 $(docker ps --filter name=beer-garden_beer-garden.2 --quiet)\n\n      - name: Grab logs from Beer-Garden.3\n        if: always()\n        run: docker logs --tail 3000 $(docker ps --filter name=beer-garden_beer-garden.3 --quiet)\n\n      - name: Check services\n        if: always()\n        run: docker service ls\n\n  JMeter-Testing:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n        os: [\"ubuntu-latest\"]\n        child: [\"unstable\"]\n      fail-fast: false\n\n    name: JMeter Test - unstable -> ${{ matrix.child }}\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      \n      # Custom tag extractor to find Brewtils Branch\n      - name: Find Brewtils Branch\n        uses: TheBurchLog/body-env-tag-action@1.0\n        with:\n          tag: \"brewtils:\"\n          env-variable: \"brewtils\"\n          default-value: \"develop\"\n          tag-position: -1\n\n      # Used the hashtag here instead of slash allow for branches to have slashes in them\n      - name: Update Brewtils Branch\n        run: sed -i 's#brewtils@develop#brewtils@${{env.brewtils}}#g' requirements-dev.txt\n        working-directory: ./src/app\n\n      - name: Build Beer Garden Docker\n        run: |\n          python --version\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          make package\n          make clean-python\n          docker build -t bgio/beer-garden:unstable -f docker/Dockerfile.unstable --build-arg PYTHON_IMAGE=python:${{ matrix.python-version }}-alpine .\n          docker tag bgio/beer-garden:unstable bgio/beer-garden:parent\n          if [ \"${{ matrix.child }}\" != \"unstable\" ]; then\n            docker pull bgio/beer-garden:${{ matrix.child }}\n          fi\n          docker tag bgio/beer-garden:${{ matrix.child }} bgio/beer-garden:child\n        working-directory: ./src/app\n\n      - name: Update Docker Compose  \n        run: |\n          cp test/conf/docker-compose-jmeter-test.yml docker/docker-compose/docker-compose.yml\n          cp -r test/conf/beer_garden_jmeter_parent_children docker/docker-compose/\n          cp -r test/jmeter docker/docker-compose/data/\n\n      - name: Start Docker Swarm\n        run: docker swarm init\n\n      - name: Make BG Network\n        run: docker network create -d overlay --attachable bg-network\n\n      - name: Run Docker Beer Garden Child\n        run: docker-compose up -d beer-garden-child\n        working-directory: ./docker/docker-compose\n\n      - name: Wait for Beer Garden Child to start\n        run: sleep 10s\n        shell: bash\n\n      - name: Run Docker Beer Garden Parent\n        run: docker-compose up -d beer-garden-parent\n        working-directory: ./docker/docker-compose\n\n      - name: Wait for Beer Garden to start\n        run: sleep 60s\n        shell: bash\n\n      - name: Check services\n        run: docker service ls\n\n      - name: Check docker\n        run: docker ps\n\n      - name: Grab logs from Beer-Garden-Parent\n        if: always()\n        continue-on-error: true\n        run: docker-compose logs --tail 3000 beer-garden-parent\n        working-directory: ./docker/docker-compose\n\n      - name: Grab logs from Beer-Garden-Child\n        if: always()\n        continue-on-error: true\n        run: docker-compose logs --tail 3000 beer-garden-child\n        working-directory: ./docker/docker-compose\n      \n\n      - name: Cache Mongo Database\n        id: cache-mongo\n        uses: actions/cache@v3\n        with:\n          # Use cache requests, if models have not been updated or database loader\n          path: ./docker-compose_mongo-data\n          key: ${{ runner.os }}-pr-stress-test-cache-${{ hashFiles('./src/app/beer_garden/db/mongo/models.py') }}-${{ hashFiles('./docker/docker-compose/data/jmeter/prep_database.jmx') }}\n\n      - if: steps.cache-mongo.outputs.cache-hit == 'true'\n        name: Move database file\n        run: |\n          sudo chown -R root:root ./docker-compose_mongo-data\n          sudo mv ./docker-compose_mongo-data /var/lib/docker/volumes/docker-compose_mongo-data\n\n      - name: Run Docker Beer Garden Plugins\n        run: docker stack deploy -c docker-compose-plugins.yml beer-plugins\n        working-directory: ./test/conf/jmeter_swarm/\n\n      - name: Wait for Plugins to start\n        run: sleep 60s\n        shell: bash\n\n      - name: Check services\n        run: docker service ls\n\n      - name: Create reports directory\n        run: mkdir reports\n        working-directory: ./docker/docker-compose/data\n\n      - if: steps.cache-mongo.outputs.cache-hit != 'true'\n        name: Pre-load database\n        continue-on-error: false\n        run: docker-compose up jmeter-loader\n        working-directory: ./docker/docker-compose\n\n      - name: Run Jmeter Test\n        id: jmeter\n        run: |\n          docker-compose up jmeter-testing | tee jmeter.log\n          echo \"jmeter-rates=$(cat jmeter.log | grep 'summary' | tail -1 | cut -d '|' -f 2- | sed 's/^.*summary/summary/')\\n\" >> $GITHUB_OUTPUT         \n        working-directory: ./docker/docker-compose\n\n      - uses: actions/github-script@v7\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Jmeter Results:\\n${{steps.jmeter.outputs.jmeter-rates}}'\n            })\n\n      - name: Upload JMeter Results\n        uses: actions/upload-artifact@v3\n        with:\n          name: jmeter-html-reports\n          path: docker/docker-compose/data/reports\n          if-no-files-found: error\n\n      - name: Grab logs from Beer-Garden\n        if: always()\n        continue-on-error: true\n        run: docker logs --tail 3000 $(docker ps --filter name=beer-garden_beer-garden-parent.1 --quiet)\n\n      - name: Grab logs from Beer-Garden-Child\n        if: always()\n        continue-on-error: true\n        run: docker logs --tail 3000 $(docker ps --filter name=beer-garden_beer-garden-child.1 --quiet)\n\n      - if: steps.cache-mongo.outputs.cache-hit != 'true'\n        name: Move database file\n        continue-on-error: false\n        run: |\n          sudo mv -f /var/lib/docker/volumes/docker-compose_mongo-data ./docker-compose_mongo-data\n          sudo chown -R $USER:$USER ./docker-compose_mongo-data\n        ", "state": "active", "repository": "beer-garden/beer-garden"}
{"mined_at": "2024-07-15T15:01:51.460091", "created_at": "2021-05-27T01:09:33+02:00", "updated_at": "2023-10-20T15:42:33+02:00", "name": "Integration Tests", "path": ".github/workflows/integration_tests.yml", "contents": null, "state": "active", "repository": "beer-garden/beer-garden"}
{"mined_at": "2024-07-15T15:01:52.480541", "created_at": "2021-05-27T01:09:33+02:00", "updated_at": "2021-05-27T01:09:33+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  github-release:\n    name: Github Release\n    runs-on: ubuntu-latest\n\n    outputs:\n      upload_url: ${{ steps.create_release.outputs.upload_url }}\n\n    steps:\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: Release ${{ github.ref }}\n          draft: false\n          prerelease: false\n\n\n  pypi-publish:\n    name: PyPI Publish\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n      url: https://pypi.org/p/beer-garden\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n\n    defaults:\n      run:\n        working-directory: ./src/app\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n\n      - name: Cache PIP Install\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-3.7-pip-build-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-3.7-pip-build\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n\n      - name: Make Package\n        run: make package\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: src/app/dist\n\n  pypi-verify:\n    name: Verify PyPI Publish\n    runs-on: ubuntu-latest\n    needs: pypi-publish\n\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n\n      - name: Check PyPi\n        uses: nick-invision/retry@v2\n        with:\n          timeout_seconds: 120\n          max_attempts: 5\n          retry_on: error\n          retry_wait_seconds: 10\n          command: pip install beer-garden==${GITHUB_REF#refs/tags/}\n\n\n  docker-publish:\n    name: Docker Publish\n    runs-on: ubuntu-latest\n    needs: pypi-verify\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Build and Publish Images\n        run: make publish-docker VERSION=${GITHUB_REF#refs/tags/}\n\n\n  rpm-publish:\n    name: RPM Publish\n    runs-on: ubuntu-latest\n    needs: [pypi-verify, github-release]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Get Version\n        id: get_version\n        uses: battila7/get-version-action@v2\n\n      - name: Download react-ui\n        uses: robinraju/release-downloader@v1.5\n        with:\n          repository: \"beer-garden/react-ui\"\n          latest: true\n          tarBall: true\n          zipBall: false\n          out-file-path: \"src\"\n\n      - name: Build RPM\n        run: make rpm-build VERSION=${{ steps.get_version.outputs.version }}\n\n      - name: Upload Release Asset\n        id: upload-release-asset\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}\n        with:\n          upload_url: ${{ needs.github-release.outputs.upload_url }}\n          asset_path: ./rpm/dist/beer-garden-${{ steps.get_version.outputs.version }}-1.el7.x86_64.rpm\n          asset_name: beer-garden-${{ steps.get_version.outputs.version }}-1.el7.x86_64.rpm\n          asset_content_type: application/octet-stream\n", "state": "active", "repository": "beer-garden/beer-garden"}
{"mined_at": "2024-07-15T15:01:53.553880", "created_at": "2021-07-07T19:26:02+02:00", "updated_at": "2021-07-07T19:26:02+02:00", "name": "Auto Assign to Project(s)", "path": ".github/workflows/assign_project.yml", "contents": "name: Auto Assign to Project(s)\n\non:\n  issues:\n    types: [opened]\nenv:\n  MY_GITHUB_TOKEN: ${{ secrets.BUILDBOT_TOKEN }}\n\njobs:\n  assign_one_project:\n    runs-on: ubuntu-latest\n    name: Assign to Backlog\n    steps:\n      - name: Assign NEW issues to Backlog project\n        uses: srggrs/assign-one-project-github-action@1.2.1\n        if: github.event.action == 'opened'\n        with:\n          project: \"https://github.com/orgs/beer-garden/projects/24\"\n          column_name: \"New Issues\"\n", "state": "active", "repository": "beer-garden/beer-garden"}
{"mined_at": "2024-07-15T15:01:54.648344", "created_at": "2023-10-25T16:23:30+02:00", "updated_at": "2023-10-25T16:35:54+02:00", "name": "Release Docker bgio/build Images", "path": ".github/workflows/docker_build.yml", "contents": "name: Release Docker bgio/build Images\n\non: workflow_dispatch\n\njobs:\n\n  docker-publish-python:\n    name: Docker Publish bgio/build:python${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [\"3.8.18\", \"3.9.18\",\"3.10.13\",\"3.11.6\",\"3.12.0\"]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Build and Publish Images\n        working-directory: ./docker/dockerfiles/build\n        run: make build-image-python${{ matrix.python-version }}\n", "state": "active", "repository": "beer-garden/beer-garden"}
{"mined_at": "2024-07-15T15:01:56.899992", "created_at": "2021-03-23T15:36:40+01:00", "updated_at": "2021-03-23T15:36:40+01:00", "name": "Changelog", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, synchronize, reopened]\n\n# Only cancel in-progress jobs or runs for the current workflow\n#   This cancels the already triggered workflows for a specific PR without canceling\n#   other instances of this workflow (other PRs, scheduled triggers, etc) when something\n#   within that PR re-triggers this CI\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  changelog:\n    name: Confirm changelog entry\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Grep for PR number in CHANGES.rst\n        run: grep -P '\\[[^\\]]*#${{github.event.number}}[,\\]]' CHANGES.rst\n        if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed') }}\n", "state": "active", "repository": "asdf-format/asdf"}
{"mined_at": "2024-07-15T15:01:58.121090", "created_at": "2021-03-22T15:38:23+01:00", "updated_at": "2023-05-11T16:39:44+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 6 * * 1'  # Every Monday at 6am UTC\n  push:\n    branches:\n      - main\n      - stable\n      - '*.x'\n    tags:\n      - '*'\n  pull_request:\n\n# Only cancel in-progress jobs or runs for the current workflow\n#   This cancels the already triggered workflows for a specific PR without canceling\n#   other instances of this workflow (other PRs, scheduled triggers, etc) when something\n#   within that PR re-triggers this CI\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n    - uses: pre-commit/action@v3.0.1\n  core:\n    needs: [pre-commit]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    with:\n      submodules: false\n      # Any env name which does not start with `pyXY` will use this Python version.\n      default_python: '3.10'\n      envs: |\n        - linux: coverage\n          name: Python 3.12 coverage\n          python-version: 3.12\n        - linux: coverage\n          name: Python 3.11 coverage\n          python-version: 3.11\n        - linux: coverage\n          name: Python 3.10 coverage\n          python-version: 3.10\n        - linux: coverage\n          name: Python 3.9 coverage\n          python-version: 3.9\n      coverage: codecov\n\n  jsonschema:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    if: (github.repository == 'asdf-format/asdf' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'jsonschema')))\n    with:\n      submodules: false\n      # Any env name which does not start with `pyXY` will use this Python version.\n      default_python: '3.10'\n      envs: |\n        - linux: jsonschema\n\n  asdf-schemas:\n    needs: [core]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    with:\n      submodules: false\n      # Any env name which does not start with `pyXY` will use this Python version.\n      default_python: '3.10'\n      envs: |\n        - linux: asdf-standard\n        - linux: asdf-transform-schemas\n\n  test:\n    needs: [core]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    with:\n      submodules: false\n      # Any env name which does not start with `pyXY` will use this Python version.\n      default_python: '3.9'\n      envs: |\n        - macos: py39-parallel\n        - windows: py39-parallel\n\n  dev:\n    needs: [core]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    with:\n      submodules: false\n      # Any env name which does not start with `pyXY` will use this Python version.\n      default_python: '3.9'\n      envs: |\n        - linux: py39-devdeps-parallel\n        - linux: py310-devdeps-parallel\n        - linux: py311-devdeps-parallel\n        - linux: py312-devdeps-parallel\n        - linux: py313-devdeps-parallel\n        # separate pytest so a failure here doesn't cause the whole suite to fail\n        - linux: py311-pytestdev-parallel\n\n  oldest:\n    needs: [core]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    with:\n      submodules: false\n      # Any env name which does not start with `pyXY` will use this Python version.\n      default_python: '3.9'\n      envs: |\n        - linux: py39-oldestdeps-parallel\n\n  compatibility:\n    needs: [core]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    with:\n      submodules: false\n      # Any env name which does not start with `pyXY` will use this Python version.\n      default_python: '3.9'\n      envs: |\n        - linux: compatibility\n\n  package:\n    needs: [core]\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1\n    with:\n      python-version: \"3.11\"\n      upload_to_pypi: false\n      upload_to_anaconda: false\n      test_extras: tests\n      test_command: pytest --pyargs asdf\n", "state": "active", "repository": "asdf-format/asdf"}
{"mined_at": "2024-07-15T15:01:59.344046", "created_at": "2021-01-15T21:22:08+01:00", "updated_at": "2023-05-11T16:39:44+02:00", "name": "Downstream", "path": ".github/workflows/downstream.yml", "contents": "name: Downstream\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 7 * * 1'  # Every Monday at 6am UTC\n  pull_request:\n    # We also want this workflow triggered if the `Downstream CI` label is\n    # added or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n  push:\n    tags:\n      - '*'\n\n# Only cancel in-progress jobs or runs for the current workflow\n#   This cancels the already triggered workflows for a specific PR without canceling\n#   other instances of this workflow (other PRs, scheduled triggers, etc) when something\n#   within that PR re-triggers this CI\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  asdf:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    if: (github.repository == 'asdf-format/asdf' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Downstream CI')))\n    with:\n      submodules: false\n      # Any env name which does not start with `pyXY` will use this Python version.\n      default_python: '3.10'\n      envs: |\n        - linux: asdf-wcs-schemas\n        - linux: asdf-coordinates-schemas\n        - linux: asdf-zarr\n        - linux: asdf-compression\n\n  astropy:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    if: (github.repository == 'asdf-format/asdf' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Downstream CI')))\n    with:\n      submodules: false\n      # Any env name which does not start with `pyXY` will use this Python version.\n      default_python: '3.10'\n      envs: |\n        - linux: asdf-astropy\n        - linux: specutils\n\n  stsci:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    if: (github.repository == 'asdf-format/asdf' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Downstream CI')))\n    with:\n      submodules: false\n      # Any env name which does not start with `pyXY` will use this Python version.\n      default_python: '3.10'\n      envs: |\n        - linux: astrocut\n        - linux: gwcs\n        - linux: jwst\n        - linux: stdatamodels\n        - linux: stpipe\n        - linux: roman_datamodels\n\n  third-party:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    if: (github.repository == 'asdf-format/asdf' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Downstream CI')))\n    with:\n      submodules: false\n      # Any env name which does not start with `pyXY` will use this Python version.\n      default_python: '3.10'\n      envs: |\n        - linux: weldx\n        - linux: sunpy\n        - linux: dkist\n", "state": "active", "repository": "asdf-format/asdf"}
{"mined_at": "2024-07-15T15:02:00.437749", "created_at": "2023-02-16T02:27:41+01:00", "updated_at": "2023-08-01T21:51:10+02:00", "name": "Label Checker", "path": ".github/workflows/label.yml", "contents": null, "state": "active", "repository": "asdf-format/asdf"}
{"mined_at": "2024-07-15T15:02:01.514248", "created_at": "2022-02-04T19:58:15+01:00", "updated_at": "2024-02-27T16:59:33+01:00", "name": "build", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: build\n\non:\n  release:\n    types: [released]\n  workflow_dispatch:\n\njobs:\n  publish:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1\n    with:\n      upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}\n    secrets:\n      pypi_token: ${{ secrets.PYPI_PASSWORD_ASDF_MAINTAINER }}\n", "state": "active", "repository": "asdf-format/asdf"}
{"mined_at": "2024-07-15T15:02:02.520845", "created_at": "2021-01-14T23:55:31+01:00", "updated_at": "2021-01-15T04:35:12+01:00", "name": "s390x", "path": ".github/workflows/s390x.yml", "contents": "name: s390x\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 8 * * 1'  # Every Monday at 6am UTC\n  pull_request:\n    # We also want this workflow triggered if the `s390x` label is\n    # added or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n  push:\n    tags:\n      - '*'\n\n# Only cancel in-progress jobs or runs for the current workflow\n#   This cancels the already triggered workflows for a specific PR without canceling\n#   other instances of this workflow (other PRs, scheduled triggers, etc) when something\n#   within that PR re-triggers this CI\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  exotic_architechtures:\n    runs-on: ubuntu-20.04\n    name: Python 3.9\n\n    if: (github.repository == 'asdf-format/asdf' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 's390x')))\n    env:\n      ARCH_ON_CI: ${{ matrix.arch }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - arch: aarch64\n          - arch: s390x\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - uses: uraimo/run-on-arch-action@v2\n        name: Run tests\n        id: build\n        with:\n          arch: ${{ matrix.arch }}\n          distro: ubuntu_rolling\n\n          shell: /bin/bash\n\n          install: |\n            apt-get update -q -y\n            apt-get install -q -y git \\\n                                  g++ \\\n                                  pkg-config \\\n                                  python3 \\\n                                  python3-astropy \\\n                                  python3-lz4 \\\n                                  python3-numpy \\\n                                  python3-scipy \\\n                                  python3-venv \\\n                                  python3-wheel\n\n          run: |\n            python3 -m venv --system-site-packages tests\n            source tests/bin/activate\n            pip3 install --upgrade pip setuptools pytest pytest-remotedata\n            pip3 install -e .[all,tests]\n            pip3 list\n            python3 -m pytest --remote-data\n", "state": "active", "repository": "asdf-format/asdf"}
{"mined_at": "2024-07-15T15:02:03.559151", "created_at": "2023-07-07T15:46:49+02:00", "updated_at": "2023-07-07T15:46:49+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "asdf-format/asdf"}
{"mined_at": "2024-07-15T15:02:05.833660", "created_at": "2023-08-01T00:47:39+02:00", "updated_at": "2023-08-01T04:39:59+02:00", "name": "Daily Cron Tests", "path": ".github/workflows/ci_cron_daily.yml", "contents": "name: Daily Cron Tests\n\non:\n  schedule:\n    # run at 6am UTC on Tue-Fri (complete tests are run every Monday)\n    - cron: '0 6 * * 2-5'\n  pull_request:\n    # We also want this workflow triggered if the 'Daily CI' label is added\n    # or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n  push:\n    tags:\n      - '*'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  TOXARGS: '-v'\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    if: (github.repository == 'astropy/photutils' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Daily CI')))\n    name: ${{ matrix.prefix }} ${{ matrix.os }}, ${{ matrix.tox_env }}\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.allow_failure }}\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'linkcheck'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py312-test-devdeps'\n            toxposargs: --remote-data=any\n            allow_failure: true\n            prefix: '(Allowed failure)'\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install base dependencies\n      run: python -m pip install --upgrade pip setuptools tox\n    - name: Print Python, pip, setuptools, and tox versions\n      run: |\n        python -c \"import sys; print(f'Python {sys.version}')\"\n        python -c \"import pip; print(f'pip {pip.__version__}')\"\n        python -c \"import setuptools; print(f'setuptools {setuptools.__version__}')\"\n        python -c \"import tox; print(f'tox {tox.__version__}')\"\n    - name: Run tests\n      run: tox -e ${{ matrix.tox_env }} -- ${{ matrix.toxposargs }}\n    - name: Upload coverage to codecov\n      if: ${{ contains(matrix.tox_env, '-cov') }}\n      uses: codecov/codecov-action@v4\n      with:\n        files: ./coverage.xml\n        verbose: true\n", "state": "active", "repository": "astropy/photutils"}
{"mined_at": "2024-07-15T15:02:07.141770", "created_at": "2023-08-01T00:47:39+02:00", "updated_at": "2023-08-01T04:39:59+02:00", "name": "Weekly Cron Tests", "path": ".github/workflows/ci_cron_weekly.yml", "contents": "name: Weekly Cron Tests\n\non:\n  schedule:\n    # run every Monday at 5am UTC\n    - cron: '0 5 * * 1'\n  pull_request:\n    # We also want this workflow triggered if the 'Weekly CI' label is added\n    # or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n  push:\n    tags:\n      - '*'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  TOXARGS: '-v'\n  IS_CRON: 'true'\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    if: (github.repository == 'astropy/photutils' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Weekly CI')))\n    name: ${{ matrix.os }}, ${{ matrix.tox_env }}\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.allow_failure }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py312-test-alldeps-devinfra'\n            allow_failure: false\n\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install base dependencies\n        run: python -m pip install --upgrade pip setuptools tox\n      - name: Print Python, pip, setuptools, and tox versions\n        run: |\n          python -c \"import sys; print(f'Python {sys.version}')\"\n          python -c \"import pip; print(f'pip {pip.__version__}')\"\n          python -c \"import setuptools; print(f'setuptools {setuptools.__version__}')\"\n          python -c \"import tox; print(f'tox {tox.__version__}')\"\n      - name: Run tests\n        run: tox -e ${{ matrix.tox_env }} -- ${{ matrix.toxposargs }}\n\n\n  test_more_architectures:\n    # The following architectures are emulated and are therefore slow, so\n    # we include them just in the weekly cron. These also serve as a test\n    # of using system libraries and using pytest directly.\n\n    runs-on: ubuntu-20.04\n    name: More architectures\n    if: (github.repository == 'astropy/photutils' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Arch CI')))\n    env:\n      ARCH_ON_CI: ${{ matrix.arch }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - arch: aarch64\n          - arch: s390x\n          - arch: ppc64le\n          - arch: armv7\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: uraimo/run-on-arch-action@v2\n        name: Run tests\n        id: build\n        with:\n          arch: ${{ matrix.arch }}\n          distro: ubuntu_rolling\n\n          shell: /bin/bash\n          env: |\n            ARCH_ON_CI: ${{ env.ARCH_ON_CI }}\n            IS_CRON: ${{ env.IS_CRON }}\n\n          install: |\n            apt-get update -q -y\n            apt-get install -q -y --no-install-recommends \\\n                                  git \\\n                                  g++ \\\n                                  pkg-config \\\n                                  python3 \\\n                                  python3-astropy \\\n                                  python3-erfa \\\n                                  python3-extension-helpers \\\n                                  python3-numpy \\\n                                  python3-pytest-astropy \\\n                                  python3-setuptools-scm \\\n                                  python3-scipy \\\n                                  python3-skimage \\\n                                  python3-sklearn \\\n                                  python3-venv \\\n                                  python3-wheel \\\n                                  wcslib-dev\n\n          run: |\n            uname -a\n            echo \"LONG_BIT=\"$(getconf LONG_BIT)\n            python3 -m venv --system-site-packages tests\n            source tests/bin/activate\n            # cython and pyerfa versions in ubuntu repos are too old currently\n            pip install -U cython\n            pip install -U --no-build-isolation pyerfa\n            ASTROPY_USE_SYSTEM_ALL=1 pip3 install -v --no-build-isolation -e .[test]\n            pip3 list\n            python3 -m pytest\n", "state": "active", "repository": "astropy/photutils"}
{"mined_at": "2024-07-15T15:02:08.369401", "created_at": "2020-11-02T19:56:49+01:00", "updated_at": "2023-08-01T00:47:39+02:00", "name": "CI Tests", "path": ".github/workflows/ci_tests.yml", "contents": "name: CI Tests\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - '*'\n  pull_request:\n  schedule:\n    # run every Monday at 6am UTC\n    - cron: '0 6 * * 1'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  TOXARGS: '-v'\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    name: ${{ matrix.prefix }} ${{ matrix.os }}, ${{ matrix.tox_env }}\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.allow_failure }}\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'py310-test-alldeps'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.11'\n            tox_env: 'py311-test-alldeps'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py312-test-alldeps-cov'\n            toxposargs: --remote-data=any\n            allow_failure: false\n            prefix: ''\n\n          - os: macos-latest\n            python: '3.12'\n            tox_env: 'py312-test-alldeps'\n            allow_failure: false\n            prefix: ''\n\n          - os: macos-14\n            python: '3.12'\n            tox_env: 'py312-test-alldeps'\n            allow_failure: false\n            prefix: 'M1'\n\n          - os: windows-latest\n            python: '3.12'\n            tox_env: 'py312-test-alldeps'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py312-test'\n            toxposargs: --remote-data=any\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'codestyle'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'pep517'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'bandit'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'py310-test-oldestdeps'\n            allow_failure: false\n            prefix: ''\n\n          - os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py312-test-devdeps'\n            toxposargs: --remote-data=any\n            allow_failure: true\n            prefix: '(Allowed failure)'\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install base dependencies\n      run: python -m pip install --upgrade pip setuptools tox\n    - name: Print Python, pip, setuptools, and tox versions\n      run: |\n        python -c \"import sys; print(f'Python {sys.version}')\"\n        python -c \"import pip; print(f'pip {pip.__version__}')\"\n        python -c \"import setuptools; print(f'setuptools {setuptools.__version__}')\"\n        python -c \"import tox; print(f'tox {tox.__version__}')\"\n    - name: Run tests\n      run: tox -e ${{ matrix.tox_env }} -- ${{ matrix.toxposargs }}\n    - name: Upload coverage to codecov\n      if: ${{ contains(matrix.tox_env, '-cov') }}\n      uses: codecov/codecov-action@v4\n      with:\n        files: ./coverage.xml\n        verbose: true\n", "state": "active", "repository": "astropy/photutils"}
{"mined_at": "2024-07-15T15:02:09.496732", "created_at": "2022-12-20T17:29:14+01:00", "updated_at": "2022-12-20T17:29:14+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '40 5 * * 4'\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "astropy/photutils"}
{"mined_at": "2024-07-15T15:02:10.520539", "created_at": "2022-07-08T21:11:48+02:00", "updated_at": "2023-05-12T21:34:12+02:00", "name": "Wheel building", "path": ".github/workflows/publish.yml", "contents": "name: Wheel building\n\non:\n  schedule:\n    # run every Monday at 5am UTC\n    - cron: '0 5 * * 1'\n  pull_request:\n    # We also want this workflow triggered if the 'Build all wheels'\n    # label is added or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n  push:\n    branches:\n      - '*'\n    tags:\n      - '*'\n      - '!*dev*'\n      - '!*pre*'\n      - '!*post*'\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  build_and_publish:\n    # This job builds the wheels and publishes them to PyPI for all\n    # tags, except those ending in \".dev\". For PRs with the \"Build all\n    # wheels\" label, wheels are built, but are not uploaded to PyPI.\n\n    permissions:\n      contents: none\n\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1\n\n    if: (github.repository == 'astropy/photutils' && (github.event_name == 'push' ||  github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Build all wheels')))\n    with:\n      # We upload to PyPI for all tag pushes, except tags ending in .dev\n      upload_to_pypi: ${{ startsWith(github.ref, 'refs/tags/') && !endsWith(github.ref, '.dev') && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') }}\n\n      test_extras: test\n      test_command: pytest -p no:warnings --pyargs photutils\n      targets: |\n        # Linux wheels\n        - cp310-manylinux_x86_64\n        - cp311-manylinux_x86_64\n        - cp312-manylinux_x86_64\n\n        # MacOS X wheels\n        # Note that the arm64 wheels are not actually tested so we rely\n        # on local manual testing of these to make sure they are ok.\n        - cp310*macosx_x86_64\n        - cp311*macosx_x86_64\n        - cp312*macosx_x86_64\n\n        - cp310*macosx_arm64\n        - cp311*macosx_arm64\n        - cp312*macosx_arm64\n\n        # Windows wheels\n        - cp310*win_amd64\n        - cp311*win_amd64\n        - cp312*win_amd64\n\n    secrets:\n      pypi_token: ${{ secrets.pypi_token }}\n", "state": "active", "repository": "astropy/photutils"}
{"mined_at": "2024-07-15T15:02:13.899195", "created_at": "2020-11-10T15:22:38+01:00", "updated_at": "2020-11-10T15:22:38+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 8 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "gluufederation/community-edition-setup"}
{"mined_at": "2024-07-15T15:02:16.052044", "created_at": "2022-08-26T18:41:19+02:00", "updated_at": "2024-04-12T17:16:55+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    # run on push to main branch\n    branches: [ main ]\n    paths-ignore:\n      - 'docs/**'\n  pull_request:\n    # run for pull requests against main\n    branches: [ main ]\n    paths-ignore:\n      - 'docs/**'\n\nenv:\n  DESECSTACK_DOMAIN: your.hostname.example.com\n  DESECSTACK_NS: ns1.example.com ns2.example.com\n  DESECSTACK_API_ADMIN: john.doe@example.com\n  DESECSTACK_API_AUTHACTION_VALIDITY: 24\n  DESECSTACK_API_SEPA_CREDITOR_ID: TESTCREDITORID\n  DESECSTACK_API_SEPA_CREDITOR_NAME: TESTCREDITORNAME\n  DESECSTACK_API_EMAIL_HOST: mail.your.hostname.example.com\n  DESECSTACK_API_EMAIL_HOST_USER: user\n  DESECSTACK_API_EMAIL_HOST_PASSWORD: password\n  DESECSTACK_API_EMAIL_PORT: 25\n  DESECSTACK_API_SECRETKEY: 9Fn33T5yGuds\n  DESECSTACK_API_PCH_API: http://pch\n  DESECSTACK_API_PCH_API_TOKEN: insecure\n  DESECSTACK_API_PSL_RESOLVER: 8.8.8.8\n  DESECSTACK_DBAPI_PASSWORD_desec: 9Fn33T5yGueeee\n  DESECSTACK_NSLORD_APIKEY: 9Fn33T5yGukjekwjew\n  DESECSTACK_NSLORD_DEFAULT_TTL: 1234\n  DESECSTACK_DBMASTER_PASSWORD_pdns: 9Fn33T5yGukjwelt\n  DESECSTACK_NSMASTER_ALSO_NOTIFY:\n  DESECSTACK_NSMASTER_APIKEY: LLq1orOQuXCINUz4TV\n  DESECSTACK_NSMASTER_TSIGKEY: +++undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined+++A==\n  DESECSTACK_IPV4_REAR_PREFIX16: 172.16\n  DESECSTACK_IPV6_SUBNET: bade:affe:dead:beef:b011::/80\n  DESECSTACK_IPV6_ADDRESS: bade:affe:dead:beef:b011:0642:ac10:0080\n  DESECSTACK_PORT_XFR: 12353\n  DESECSTACK_WWW_CERTS: ./certs\n  DESECSTACK_MINIMUM_TTL_DEFAULT: 3600\n  DESECSTACK_PROMETHEUS_PASSWORD: Je9NNkqbULsg\n\njobs:\n  test-black-format:\n    # tests if black formatting is used\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install black\n      run: python3 -m pip install black\n    - name: Test desecapi formatting\n      run: black --check api/\n\n  test-missing-migrations:\n    # test if Django migrations are missing\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v4\n    - name: Build images\n      uses: ./.github/workflows/build\n      with:\n        images: api dbapi nslord nsmaster dblord dbmaster\n    - name: Check for missing migrations\n      run: docker-compose run -T api sh -c \"./wait-dbapi && python manage.py makemigrations --check\"\n\n  test-e2e2:\n    # runs e2e2 tests\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v4\n    - name: Build images\n      uses: ./.github/workflows/build\n    - name: Run e2e2 Tests\n      run: docker-compose -f docker-compose.yml -f docker-compose.test-e2e2.yml run -T test-e2e2 sh -c \"./apiwait 300 && python3 -m pytest -vv --skip-performance-tests .\"\n    - name: e2e2 Tests Logs and Cleanup\n      if: always()\n      run: |\n        docker-compose -f docker-compose.yml -f docker-compose.test-e2e2.yml ps\n        grep 'desec/' /var/log/syslog\n        docker-compose -f docker-compose.yml -f docker-compose.test-e2e2.yml down -v\n\n  test-api:\n    # runs API tests\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v4\n    - name: Build images\n      uses: ./.github/workflows/build\n      with:\n        images: api dbapi nslord nsmaster dblord dbmaster\n    - name: Run API Tests\n      run: docker-compose -f docker-compose.yml -f docker-compose.test-api.yml run -T api bash -c \"./entrypoint-tests.sh\"\n    - name: API Tests Logs and Cleanup\n      if: always()\n      run: |\n        docker-compose -f docker-compose.yml -f docker-compose.test-api.yml ps\n        grep 'desec/' /var/log/syslog\n        docker-compose -f docker-compose.yml -f docker-compose.test-api.yml down -v\n", "state": "active", "repository": "desec-io/desec-stack"}
{"mined_at": "2024-07-15T15:02:18.100871", "created_at": "2020-01-10T14:19:48+01:00", "updated_at": "2020-01-10T14:19:48+01:00", "name": "Main", "path": "", "contents": null, "state": "active", "repository": "pymedphys/pymedphys"}
{"mined_at": "2024-07-15T15:02:19.158729", "created_at": "2021-01-21T23:51:14+01:00", "updated_at": "2022-06-12T10:24:57+02:00", "name": "Library", "path": ".github/workflows/library.yml", "contents": "name: Library\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  release:\n    types:\n      - created\n\njobs:\n  # =============================================================================\n\n  PreCommit:\n    # if: false\n\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    timeout-minutes: 60\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit-cache\n\n      - name: Run Pre-Commit\n        run: |\n          pip install pre-commit\n          pre-commit run --all-files\n      - name: Fix any issues\n        id: fix_issues\n        if: failure()\n        run: |\n          git config --local user.email \"pre-commit-bot@pymedphys.com\"\n          git config --local user.name \"PyMedPhys Pre-Commit Bot\"\n          git add -A\n          git stash\n          git checkout $GITHUB_HEAD_REF\n          git pull\n          pip install pipx\n          pipx install poetry\n          poetry lock --no-update\n          pre-commit run --all-files || true\n          git commit -m \"Fix pre-commit failures\" -a\n\n      - name: Get GitHub App token for installation\n        id: generate-token\n        if: failure() && steps.fix_issues.outcome == 'success'\n        uses: tibdex/github-app-token@v2.1.0\n        with:\n          app_id: ${{ secrets.PYMEDPHYS_CI_BOT_ID }}\n          private_key: ${{ secrets.PYMEDPHYS_CI_BOT_TOKEN }}\n\n      - name: Push changes\n        if: failure() && steps.fix_issues.outcome == 'success'\n        uses: ad-m/github-push-action@v0.8.0\n        with:\n          github_token: ${{ steps.generate-token.outputs.token }}\n          branch: ${{ github.event.pull_request.head.ref }}\n\n  # =============================================================================\n\n  Tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu\", \"macos\", \"windows\"]\n        task:\n          [\n            \"tests\",\n            \"docs\",\n            \"stackoverflow\",\n            \"updates\",\n            \"cypress\",\n            \"slow\",\n            \"pyright\",\n            \"propagate\",\n          ]\n\n        exclude:\n          - os: \"windows\"\n            task: \"stackoverflow\"\n          - os: \"windows\"\n            task: \"updates\"\n          - os: \"windows\"\n            task: \"slow\"\n          - os: \"windows\"\n            task: \"pyright\"\n          - os: \"windows\"\n            task: \"propagate\"\n          - os: \"windows\"\n            task: \"cypress\"\n\n          - os: \"macos\"\n            task: \"stackoverflow\"\n          - os: \"macos\"\n            task: \"updates\"\n          - os: \"macos\"\n            task: \"cypress\"\n          - os: \"macos\"\n            task: \"slow\"\n          - os: \"macos\"\n            task: \"pyright\"\n          - os: \"macos\"\n            task: \"propagate\"\n\n        include:\n          # Spread the below across the range of supported Python versions.\n          - os: \"ubuntu\"\n            python-version: \"3.12\"\n          - os: \"windows\"\n            python-version: \"3.10\"\n          - os: \"macos\"\n            python-version: \"3.12\"\n\n    runs-on: ${{ matrix.os }}-latest\n    timeout-minutes: 60\n\n    steps:\n      - uses: actions/checkout@v4\n        if: matrix.task != 'propagate'\n\n      - uses: actions/checkout@v4\n        if: matrix.task == 'propagate'\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Get full Python version\n        id: full-python-version\n        shell: bash\n        run: |\n          echo version=$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\") >> $GITHUB_OUTPUT\n\n      # -----------------------------------------------------------------------------\n\n      # Set up pip\n\n      - name: Get pip cache dir\n        id: pip-cache\n        shell: bash\n        run: |\n          python -m pip install -U pip # to ensure version > 20 to have cache dir\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: Pip Cache\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: pip-${{ matrix.task }}-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}\n\n      # -----------------------------------------------------------------------------\n\n      # Upgrade pip and setuptools, and install poetry\n\n      - name: Upgrade pip and setuptools\n        run: |\n          pip install --upgrade pip setuptools\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.4\n        with:\n          version: 1.7.1\n          virtualenvs-create: true\n\n      - name: Update PATH in Windows\n        if: matrix.os == 'windows'\n        run: |\n          Add-Content -Path $env:GITHUB_PATH -Value \"$env:USERPROFILE\\.local\\bin\"\n          Get-Content -Path $env:GITHUB_PATH\n\n      # -----------------------------------------------------------------------------\n\n      # No import and run CLI with no dependencies\n\n      - name: Build wheel\n        if: matrix.task == 'tests'\n        run: |\n          poetry build --format wheel\n\n      - name: Install wheel\n        if: matrix.task == 'tests' && matrix.os == 'windows'\n        run: |\n          python -m pip install (Get-Item .\\dist\\*.whl)\n\n      - name: Install wheel\n        if: matrix.task == 'tests' && matrix.os != 'windows'\n        run: |\n          python -m pip install ./dist/*.whl\n\n      - name: Run clean tests\n        if: matrix.task == 'tests'\n        run: |\n          pymedphys --help\n          python -c \"import pymedphys\"\n          python -c \"import pymedphys.beta\"\n          python -c \"import pymedphys.experimental\"\n\n      # Remove confusion for tests down the line\n      - name: Remove base install of pymedphys\n        if: matrix.task == 'tests'\n        run: |\n          pip uninstall -y pymedphys\n\n      # -----------------------------------------------------------------------------\n\n      # Set up Poetry\n\n      - name: Configure poetry\n        run: |\n          poetry config virtualenvs.in-project true\n\n      - name: Poetry Cache\n        uses: actions/cache@v3\n        id: poetry-cache\n        with:\n          path: .venv\n          key: venv-${{ matrix.task }}-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}\n\n      # This is from <https://github.com/python-poetry/poetry/blob/639d5e057/.github/workflows/main.yml#L57-L60>\n      - name: Ensure cache is healthy\n        if: steps.poetry-cache.outputs.cache-hit == 'true'\n        shell: bash\n        run: |\n          timeout 10s poetry run pip --version || rm -rf .venv\n\n      # Install Node\n\n      - uses: actions/setup-node@v3\n        if: matrix.task == 'cypress' || matrix.task == 'pyright' || matrix.task == 'build'\n        with:\n          node-version: \"14\"\n          # cache: \"yarn\"  # TODO: Sort out this cache parameter\n\n      # -----------------------------------------------------------------------------\n\n      ## Plain install\n\n      - name: Install a plain environment\n        if: matrix.task == 'stackoverflow'\n        run: |\n          poetry install -E user\n\n      ## Install with Documentation Environment\n\n      - name: Install a docs environment\n        if: matrix.task == 'docs'\n        run: |\n          poetry install -E docs\n\n      ## Install with Tests Environment\n      # TODO: Redesign CI to be more efficient once this issue lands python-poetry/poetry#4842\n\n      - name: Install a tests/doctests environment\n        if: matrix.task == 'tests' || matrix.task == 'cypress' || matrix.task == 'slow' || matrix.task == 'pyright'\n        run: |\n          poetry install -E user -E tests -E doctests\n\n      ## Install remaining packages for pyright\n\n      - name: Install a propagate environment\n        if: matrix.task == 'pyright' || matrix.task == 'propagate'\n        run: |\n          poetry install -E propagate || poetry lock --no-update && poetry install -E propagate\n\n      ## Update all packages and then install with tests environment\n\n      - name: Update all packages then install with tests and user environment\n        if: matrix.task == 'updates'\n        run: |\n          poetry install -E user -E tests -E docs\n          poetry update\n          poetry install -E user -E tests -E docs\n\n      # -----------------------------------------------------------------------------\n\n      # PyMedPhys Data Cache\n\n      - name: Get PyMedPhys cache directory\n        id: pymedphys-cache-location\n        if: matrix.task != 'pyright'\n        shell: bash\n        run: |\n          echo \"dir=$(poetry run python -c 'import pymedphys._config as cf; print(str(cf.get_config_dir()))')\" >> $GITHUB_OUTPUT\n\n      - name: PyMedPhys Cache\n        id: pymedphys-cache\n        if: matrix.task != 'pyright'\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pymedphys-cache-location.outputs.dir }}\n          key: pymedphys-${{ matrix.task }}-${{ runner.os }}-${{ hashFiles('**/hashes.json') }}\n\n      # -----------------------------------------------------------------------------\n\n      # TESTS\n\n      ## Propagate\n      - name: See if propagate is needed\n        if: matrix.task == 'propagate'\n        id: propagate-test\n        shell: bash\n        run: |\n          echo \"status=before\" >> $GITHUB_OUTPUT\n          poetry check\n\n      ## Pyright\n\n      - name: Install and run pyright\n        if: matrix.task == 'pyright'\n        run: |\n          npm install -g pyright\n          poetry run pyright\n\n      ## Pytest\n\n      - name: Run basic pytest tests\n        if: matrix.task == 'tests' || matrix.task == 'updates'\n        run: |\n          poetry run pymedphys dev tests -v\n\n      ## Doctest\n\n      - name: Run doctest tests\n        if: matrix.os == 'ubuntu' && matrix.task == 'tests'\n        run: |\n          poetry run pymedphys dev doctests -v\n\n      ## Pylint\n\n      - name: Run pylint tests\n        if: matrix.os == 'ubuntu' && ( matrix.task == 'tests' || matrix.task == 'updates' )\n        run: |\n          poetry run pymedphys dev lint\n\n      ## Slow\n\n      - name: Run slow tests\n        if: matrix.task == 'slow'\n        run: |\n          poetry run pymedphys dev tests -v --slow\n\n      ## Docs\n\n      - name: Download docs files\n        if: matrix.task == 'docs' && matrix.os == 'ubuntu'\n        run: |\n          poetry run python -c \"import pymedphys; pymedphys.data_path('original_dose_beam_4.dcm'); pymedphys.data_path('logfile_dose_beam_4.dcm');\"\n\n      - name: Build docs\n        if: matrix.task == 'docs' || matrix.task == 'updates'\n        run: |\n          poetry run pymedphys dev docs\n\n      - name: Add GitHub Pages Config Files\n        if: matrix.task == 'docs' && matrix.os == 'ubuntu' && github.event_name == 'push'\n        run: |\n          echo docs.pymedphys.com > lib/pymedphys/docs/_build/html/CNAME\n          touch lib/pymedphys/docs/_build/html/.nojekyll\n\n      - name: Deploy docs\n        if: matrix.task == 'docs' && matrix.os == 'ubuntu' && github.event_name == 'push'\n        uses: JamesIves/github-pages-deploy-action@4.1.3\n        with:\n          branch: docs\n          folder: lib/pymedphys/docs/_build/html\n          ssh-key: ${{ secrets.DEPLOY_KEY }}\n\n      ## Stackoverflow\n\n      - name: Run stackoverflow example(s)\n        if: matrix.task == 'stackoverflow'\n        run: |\n          poetry run python ./examples/stackoverflow/gamma.py\n\n      ## Cypress\n      - name: Run Cypress tests\n        if: matrix.task == 'cypress'\n        run: |\n          poetry run pymedphys dev tests --cypress\n      - uses: actions/upload-artifact@v2\n        if: failure() && matrix.task == 'cypress'\n        with:\n          name: cypress-videos\n          path: pymedphys/tests/e2e/cypress/videos\n", "state": "active", "repository": "pymedphys/pymedphys"}
{"mined_at": "2024-07-15T15:02:20.247964", "created_at": "2021-01-26T20:55:21+01:00", "updated_at": "2021-01-26T20:55:21+01:00", "name": "MosaiqDbTests", "path": ".github/workflows/mosaiq-db-tests.yml", "contents": "name: MosaiqDbTests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  # =============================================================================\n\n  TestMosaiqDb:\n    # if: false\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    services:\n      SQLServer:\n        image: mcr.microsoft.com/mssql/server:2017-latest\n        env:\n          ACCEPT_EULA: Y\n          SA_PASSWORD: sqlServerPassw0rd\n        ports:\n          - 1433:1433\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.12\n\n      - name: Get full Python version\n        id: full-python-version\n        shell: bash\n        run: |\n          echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")\n\n      # -----------------------------------------------------------------------------\n\n      # Set up pip\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python -m pip install -U pip # to ensure version > 20 to have cache dir\n          echo \"::set-output name=dir::$(pip cache dir)\"\n\n      - name: Pip Cache\n        uses: actions/cache@v2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: pip-tests-ubuntu-${{ steps.full-python-version.outputs.version }}\n\n      # -----------------------------------------------------------------------------\n\n      # Upgrade pip and setuptools, and install poetry\n\n      - name: Upgrade pip and setuptools\n        run: |\n          pip install --upgrade pip setuptools\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.4\n        with:\n          version: 1.7.1\n          virtualenvs-create: true\n\n      # -----------------------------------------------------------------------------\n\n      # Set up Poetry\n\n      - name: Configure poetry\n        run: |\n          poetry config virtualenvs.in-project true\n\n      - name: Poetry Cache\n        uses: actions/cache@v2\n        id: poetry-cache\n        with:\n          path: .venv\n          key: venv-tests-ubuntu-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}\n\n      # This is from <https://github.com/python-poetry/poetry/blob/639d5e057/.github/workflows/main.yml#L57-L60>\n      - name: Ensure cache is healthy\n        if: steps.poetry-cache.outputs.cache-hit == 'true'\n        shell: bash\n        run: |\n          timeout 10s poetry run pip --version || rm -rf .venv\n\n      # -----------------------------------------------------------------------------\n\n      ## Install with Tests Environment\n\n      - name: Install a tests environment\n        run: |\n          poetry install -E mosaiq -E tests -E dicom\n\n      # -----------------------------------------------------------------------------\n\n      # PyMedPhys Data Cache\n\n      - name: Get PyMedPhys cache directory\n        id: pymedphys-cache-location\n        run: |\n          echo \"::set-output name=dir::$(poetry run python -c 'import pymedphys._config as cf; print(str(cf.get_config_dir()))')\"\n\n      - name: PyMedPhys Cache\n        id: pymedphys-cache\n        uses: actions/cache@v2\n        with:\n          path: ${{ steps.pymedphys-cache-location.outputs.dir }}\n          key: pymedphys-tests-ubuntu-${{ hashFiles('**/hashes.json') }}\n\n      # -----------------------------------------------------------------------------\n\n      # TESTS\n\n      ## Mosaiq_db tests -- only run on Ubuntu because needs container\n\n      - name: Run MSQ database tests\n        run: |\n          poetry run pymedphys dev tests -v --mosaiqdb\n", "state": "active", "repository": "pymedphys/pymedphys"}
{"mined_at": "2024-07-15T15:02:21.365155", "created_at": "2021-12-17T02:34:37+01:00", "updated_at": "2021-12-17T02:34:37+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pymedphys/pymedphys"}
{"mined_at": "2024-07-15T15:02:22.381611", "created_at": "2024-03-21T21:54:41+01:00", "updated_at": "2024-03-21T21:54:41+01:00", "name": "Claude Assistant", "path": ".github/workflows/claude-assistant.yml", "contents": "name: Claude Assistant\n\non:\n  issue_comment:\n    types: [created, edited]\n\njobs:\n  claude_assist_comment:\n    if: contains(github.event.comment.body, 'claude')\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Get issue details and comments\n      id: get-issue-details\n      run: |\n        echo issue-details=$(\n          curl -L \\\n               -H \"Accept: application/vnd.github+json\" \\\n               -H \"Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}\" \\\n               -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n               \"https://api.github.com/repos/${{github.repository}}/issues/${{github.event.issue.number}}\" | \\\n          jq '. | {title, body, username: .user.login, created_at, updated_at}'\n        ) >> $GITHUB_OUTPUT\n\n        echo issue-comments=$(\n          curl -L \\\n               -H \"Accept: application/vnd.github+json\" \\\n               -H \"Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}\" \\\n               -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n               \"https://api.github.com/repos/${{github.repository}}/issues/${{github.event.issue.number}}/comments\" | \\\n          jq '[.[]? | {id, body, username: .user.login, created_at, updated_at}]' | \\\n          jq '.[0:-1]'\n        ) >> $GITHUB_OUTPUT\n\n    - name: Generate message to send to Claude\n      id: generate-message\n      env:\n        MESSAGE_CONTENT: |\n          You are the AI assistant, \"Claude\", providing support on the PyMedPhys GitHub issue tracker.\n          Please be helpful and supportive. Please respond directly to the calling comment while using\n          the GitHub issue details and corresponding GitHub issue comment history (non-inclusive of the\n          latest, calling comment) below.\n          <github-issue-details>\n          ${{ steps.get-issue-details.outputs.issue-details }}\n          </github-issue-details>\n          <github-issue-comments>\n          ${{ steps.get-issue-details.outputs.issue-comments }}\n          </github-issue-comments>\n          <calling-comment>\n          ${{ github.event.comment.body }}\n          </calling-comment>\n      run: |\n        EOF=$(openssl rand -hex 16)\n        echo \"message-content<<$EOF\" >> $GITHUB_OUTPUT\n        echo \"$MESSAGE_CONTENT\" >> $GITHUB_OUTPUT\n        echo \"$EOF\" >> $GITHUB_OUTPUT\n\n    - name: Get Claude's response\n      id: claude-response\n      env:\n        MESSAGE_CONTENT: \"${{ steps.generate-message.outputs.message-content }}\"\n        ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}\n      run: |\n        MESSAGES_JSON=$(\n          jq -n \\\n            --arg role \"user\" \\\n            --arg content \"$MESSAGE_CONTENT\" \\\n            '$ARGS.named'\n        )\n        MAX_TOKENS=1024\n        DATA_JSON=$(\n            jq -nr \\\n              --arg model \"claude-3-opus-20240229\" \\\n              --argjson max_tokens \"$MAX_TOKENS\" \\\n              --argjson messages \"[$MESSAGES_JSON]\" \\\n              '$ARGS.named'\n        )\n\n        echo response=$(\n          curl https://api.anthropic.com/v1/messages \\\n               -H \"x-api-key: $ANTHROPIC_API_KEY\" \\\n               -H \"anthropic-version: 2023-06-01\" \\\n               -H \"content-type: application/json\" \\\n               -d \"$DATA_JSON\"\n        ) >> $GITHUB_OUTPUT\n\n    - name: Get URL to prompt log\n      uses: Tiryoh/gha-jobid-action@v1\n      id: job-info\n      with:\n        job_name: \"${{ github.job }}\"\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Create issue comment with Claude's error\n      uses: peter-evans/create-or-update-comment@v4\n      if: ${{ fromJson(steps.claude-response.outputs.response).error != '' }}\n      with:\n          issue-number: ${{ github.event.issue.number }}\n          body: |\n            **AI Assistant Claude**\n\n            ERROR\n\n            *Prompt sent to Claude:* [link](${{ steps.job-info.outputs.html_url }}#step:3:8)\n\n            *Comment that called Claude:*\n            > ${{ github.event.comment.body }}\n\n            *Claude's error message:*\n            ${{ fromJson(steps.claude-response.outputs.response).error.message }}\n\n    - name: Create issue comment with Claude's response\n      uses: peter-evans/create-or-update-comment@v4\n      if: ${{ fromJson(steps.claude-response.outputs.response).error == '' }}\n      with:\n          issue-number: ${{ github.event.issue.number }}\n          body: |\n            **AI Assistant Claude**\n\n            *Prompt sent to Claude:* [link](${{ steps.job-info.outputs.html_url }}#step:3:8)\n\n            *Comment that called Claude:*\n            > ${{ github.event.comment.body }}\n\n            *Claude's response:*\n\n            ${{ fromJson(steps.claude-response.outputs.response).content[0].text }}\n", "state": "active", "repository": "pymedphys/pymedphys"}
{"mined_at": "2024-07-15T15:02:24.395490", "created_at": "2020-10-30T01:08:08+01:00", "updated_at": "2020-10-30T01:08:08+01:00", "name": "black", "path": ".github/workflows/black.yaml", "contents": "name: black\n\non: [push, pull_request]\n\n# use workaround due to: https://github.com/psf/black/issues/2079#issuecomment-812359146\njobs:\n    check-formatting:\n        runs-on: ubuntu-24.04\n        steps:\n            - uses: actions/checkout@v2\n            - name: Set up Python 3.11\n              uses: actions/setup-python@v2\n              with:\n                python-version: '3.11'\n            - name: Install Black\n              run: pip install 'black==22.6.0'\n            - name: Run black --check .\n              run: black --check .\n", "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:25.420298", "created_at": "2021-07-20T17:41:29+02:00", "updated_at": "2022-05-10T22:23:48+02:00", "name": "Coverage", "path": ".github/workflows/coverage.yaml", "contents": "name: Coverage\n\non:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - 'doc/**'\n  pull_request:\n    paths-ignore:\n      - 'doc/**'\n\njobs:\n  build:\n    runs-on: ubuntu-24.04\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.11'\n      - name: Update package index\n        run: sudo apt-get update\n      - name: Install ARMI and MPI\n        run: |\n          sudo apt-get -y install libopenmpi-dev\n          pip install -e .[memprof,mpi,test]\n      - name: Run Coverage\n        run: |\n          coverage run --rcfile=pyproject.toml -m pytest -n 4 --cov=armi --cov-config=pyproject.toml --cov-report=lcov --ignore=venv armi\n          mpiexec -n 2 --use-hwthread-cpus coverage run --rcfile=pyproject.toml -m pytest --cov=armi --cov-config=pyproject.toml --cov-report=lcov --cov-append --ignore=venv armi/tests/test_mpiFeatures.py || true\n          mpiexec -n 2 --use-hwthread-cpus coverage run --rcfile=pyproject.toml -m pytest --cov=armi --cov-config=pyproject.toml --cov-report=lcov --cov-append --ignore=venv armi/tests/test_mpiParameters.py || true\n          coverage combine --rcfile=pyproject.toml --keep -a\n      - name: Publish to coveralls.io\n        uses: coverallsapp/github-action@v1.1.2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          path-to-lcov: coverage.lcov\n", "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:26.411493", "created_at": "2021-09-09T17:15:40+02:00", "updated_at": "2024-01-02T17:59:41+01:00", "name": "Documentation", "path": ".github/workflows/docs.yaml", "contents": "name: Documentation\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Update package index\n        run: sudo apt-get update\n      - name: Install mpi libs\n        run: sudo apt-get -y install libopenmpi-dev\n      - name: Install Pandoc\n        run: sudo apt-get -y install pandoc\n      - name: Setup Graphviz\n        uses: ts-graphviz/setup-graphviz@v2.0.2\n      - name: Make HTML Docs\n        run: |\n          pip install -e .[memprof,mpi,test,docs]\n          cd doc\n          git submodule init\n          git submodule update\n          make html\n      - name: deploy\n        uses: JamesIves/github-pages-deploy-action@v4.6.1\n        with:\n          token: ${{ secrets.ACCESS_TOKEN }}\n          repository-name: ${{ github.repository_owner }}/terrapower.github.io\n          branch: main\n          folder: doc/_build/html\n          target-folder: armi\n", "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:27.425817", "created_at": "2021-10-18T16:21:30+02:00", "updated_at": "2021-10-18T16:21:30+02:00", "name": "Check License Lines", "path": ".github/workflows/licensechecker.yaml", "contents": "name: Check License Lines\non: [push, pull_request]\njobs:\n  check-license-lines:\n    runs-on: ubuntu-24.04\n    steps:\n    - uses: actions/checkout@master\n    - name: Check License Lines\n      uses: kt3k/license_checker@v1.0.6\n", "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:28.532748", "created_at": "2023-06-08T23:58:41+02:00", "updated_at": "2023-10-02T17:12:54+02:00", "name": "Linting", "path": ".github/workflows/linting.yaml", "contents": "name: Linting\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-24.04\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.9'\n      - name: Update package index\n        run: sudo apt-get update\n      - name: Run Linter\n        run:  |\n          pip install -e .[test]\n          ruff .\n", "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:29.542996", "created_at": "2024-04-30T18:29:43+02:00", "updated_at": "2024-05-24T17:53:24+02:00", "name": "ARMI MacOS Tests", "path": ".github/workflows/mac_tests.yaml", "contents": "name: ARMI MacOS Tests\n\non:\n  push:\n    paths-ignore:\n      - 'doc/**'\n  pull_request:\n    paths-ignore:\n      - 'doc/**'\n\njobs:\n  build:\n\n    runs-on: macos-14\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.11'\n      - name: Upgrade PIP\n        run: python -m pip install --upgrade pip\n      - name: Run Unit Tests on MacOS\n        run: |\n          brew install openmpi\n          pip install -e .[memprof,mpi,test]\n          pytest -n 4 armi\n", "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:30.560601", "created_at": "2024-04-30T18:11:56+02:00", "updated_at": "2024-04-30T18:11:56+02:00", "name": "ARMI Non-Linux Tests", "path": ".github/workflows/non_linux_tests.yaml", "contents": null, "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:31.615912", "created_at": "2021-07-07T19:51:34+02:00", "updated_at": "2021-07-07T20:50:55+02:00", "name": "ARMI unit tests", "path": ".github/workflows/unittests.yaml", "contents": "name: ARMI unit tests\n\non:\n  push:\n    paths-ignore:\n      - 'doc/**'\n  pull_request:\n    paths-ignore:\n      - 'doc/**'\n\njobs:\n  build:\n\n    runs-on: ubuntu-24.04\n    strategy:\n      matrix:\n        python: [3.9, '3.10', '3.11']\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Update package index\n        run: sudo apt-get update\n      - name: Install mpi libs\n        run: sudo apt-get -y install libopenmpi-dev\n      - name: Run Tests\n        run: |\n          pip install -e .[memprof,mpi,test]\n          pytest -n 4 armi\n          mpiexec -n 2 --use-hwthread-cpus coverage run --rcfile=pyproject.toml -m pytest --cov=armi --cov-config=pyproject.toml --ignore=venv armi/tests/test_mpiFeatures.py || true\n          mpiexec -n 2 --use-hwthread-cpus coverage run --rcfile=pyproject.toml -m pytest --cov=armi --cov-config=pyproject.toml --ignore=venv armi/tests/test_mpiParameters.py || true\n", "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:32.739991", "created_at": "2022-06-07T05:16:46+02:00", "updated_at": "2022-06-07T06:13:57+02:00", "name": "Validate Manifest", "path": ".github/workflows/validatemanifest.yaml", "contents": "name: Validate Manifest\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-24.04\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.11'\n      - name: Validate Manifest\n        run: |\n          pip install toml\n          python .github/workflows/validatemanifest.py\n", "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:33.741873", "created_at": "2024-04-30T18:29:43+02:00", "updated_at": "2024-04-30T18:29:43+02:00", "name": "ARMI Windows Tests", "path": ".github/workflows/win_tests.yaml", "contents": null, "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:34.891897", "created_at": "2022-05-11T02:09:20+02:00", "updated_at": "2024-05-15T18:36:23+02:00", "name": "ARMI Windows tests", "path": ".github/workflows/wintests.yaml", "contents": "name: ARMI Windows tests\n\non:\n  push:\n    paths-ignore:\n      - 'doc/**'\n  pull_request:\n    paths-ignore:\n      - 'doc/**'\n\njobs:\n  build:\n\n    runs-on: windows-2022\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.11'\n      - name: Upgrade PIP\n        run: python -m pip install --upgrade pip\n      - name: Run Unit Tests on Windows\n        run: |\n          pip install -e .[memprof,mpi,test]\n          pytest -n 4 armi\n      - name: Find Test Crumbs\n        run: python .github/workflows/find_test_crumbs.py\n", "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:36.016042", "created_at": "2024-05-14T19:20:53+02:00", "updated_at": "2024-05-15T17:41:50+02:00", "name": "ARMI Windows 2 tests", "path": ".github/workflows/wintests2.yaml", "contents": null, "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:37.025135", "created_at": "2024-05-14T19:20:53+02:00", "updated_at": "2024-05-15T17:41:50+02:00", "name": "ARMI Windows 3 tests", "path": ".github/workflows/wintests3.yaml", "contents": null, "state": "active", "repository": "terrapower/armi"}
{"mined_at": "2024-07-15T15:02:39.341441", "created_at": "2021-08-11T00:53:26+02:00", "updated_at": "2021-08-11T00:53:26+02:00", "name": "auto-merge", "path": ".github/workflows/ auto-merge.yml", "contents": "name: auto-merge\n\non:\n  pull_request_target:\n\njobs:\n  auto-merge:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: ahmadnassri/action-dependabot-auto-merge@v2\n        with:\n          target: minor\n          github-token: ${{ secrets.AUTOMERGE }}\n", "state": "active", "repository": "splunk/attack_data"}
{"mined_at": "2024-07-15T15:02:41.403768", "created_at": "2023-03-04T12:26:51+01:00", "updated_at": "2023-03-04T12:26:51+01:00", "name": "Build & Deploy", "path": ".github/workflows/build-deploy.yaml", "contents": "name: Build & Deploy\n\non:\n  workflow_call:\n    inputs:\n      sha-tag:\n        description: \"A short-form SHA tag for the commit that triggered this flow\"\n        required: true\n        type: string\n\njobs:\n  build:\n    name: Build & Push\n    runs-on: ubuntu-latest\n\n    steps:\n\n      # Check out the current repository in the `sir-lancebot` subdirectory\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Github Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN  }}\n\n      # Build and push the container to the GitHub Container\n      # Repository. The container will be tagged as \"latest\"\n      # and with the short SHA of the commit.\n      - name: Build and push\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: ./Dockerfile\n          push: true\n          cache-from: type=registry,ref=ghcr.io/python-discord/sir-lancebot:latest\n          cache-to: type=inline\n          tags: |\n            ghcr.io/python-discord/sir-lancebot:latest\n            ghcr.io/python-discord/sir-lancebot:${{ inputs.sha-tag }}\n          build-args: |\n            git_sha=${{ github.sha }}\n\n  deploy:\n    needs: build\n    name: Deploy\n    runs-on: ubuntu-latest\n    environment: production\n\n    steps:\n      - name: Checkout Kubernetes Repository\n        uses: actions/checkout@v4\n        with:\n          repository: python-discord/infra\n          path: infra\n\n      - uses: azure/setup-kubectl@v4\n\n      - name: Authenticate with Kubernetes\n        uses: azure/k8s-set-context@v4\n        with:\n          method: kubeconfig\n          kubeconfig: ${{ secrets.KUBECONFIG }}\n\n      - name: Deploy to Kubernetes\n        uses: Azure/k8s-deploy@v5\n        with:\n          namespace: bots\n          manifests: |\n              infra/kubernetes/namespaces/bots/sir-lancebot/deployment.yaml\n          images: 'ghcr.io/python-discord/sir-lancebot:${{ inputs.sha-tag }}'\n", "state": "active", "repository": "python-discord/sir-lancebot"}
{"mined_at": "2024-07-15T15:02:42.570749", "created_at": "2020-11-16T17:02:23+01:00", "updated_at": "2020-11-16T17:02:23+01:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": "name: Lint\n\non: workflow_call\n\njobs:\n  lint:\n    name: Run linting & tests\n    runs-on: ubuntu-latest\n    env:\n      # List of licenses that are compatible with the MIT License and\n      # can be used in our project\n      ALLOWED_LICENSES: Apache Software License;\n        BSD;  BSD License;\n        GNU Library or Lesser General Public License (LGPL);\n        Historical Permission Notice and Disclaimer (HPND);\n        ISC License (ISCL);\n        MIT License;\n        Mozilla Public License 2.0 (MPL 2.0);\n        Public Domain;\n        Python Software Foundation License\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Install Python Dependencies\n        uses: HassanAbouelela/actions/setup-python@setup-python_v1.6.0\n        with:\n          python_version: \"3.12\"\n\n      # Check all of our dev dependencies are compatible with the MIT license.\n      # If you added a new dependencies that is being rejected,\n      # please make sure it is compatible with the license for this project,\n      # and add it to the ALLOWED_LICENSE variable\n      - name: Check Dependencies License\n        run: |\n          poetry self add poetry-plugin-export\n          pip-licenses --allow-only=\"$ALLOWED_LICENSE\" \\\n            --package $(poetry export -f requirements.txt --without-hashes | sed \"s/==.*//g\" | tr \"\\n\" \" \")\n\n      # Attempt to run the bot. Setting `IN_CI` to true, so bot.run() is never called.\n      # This is to catch import and cog setup errors that may appear in PRs, to avoid crash loops if merged.\n      - name: Attempt bot setup\n        run: \"python -m bot\"\n        env:\n          REDIS_USE_FAKEREDIS: true\n          CLIENT_IN_CI: true\n          CLIENT_TOKEN: \"\"\n\n      - name: Run pre-commit hooks\n        run: SKIP=ruff pre-commit run --all-files\n\n      # Run `ruff` using github formatting to enable automatic inline annotations.\n      - name: Run ruff\n        run: \"ruff check --output-format=github .\"\n\n      # Prepare the Pull Request Payload artifact. If this fails, we\n      # we fail silently using the `continue-on-error` option. It's\n      # nice if this succeeds, but if it fails for any reason, it\n      # does not mean that our lint checks failed.\n      - name: Prepare Pull Request Payload artifact\n        id: prepare-artifact\n        if: always() && github.event_name == 'pull_request'\n        continue-on-error: true\n        run: cat $GITHUB_EVENT_PATH | jq '.pull_request' > pull_request_payload.json\n\n      # This only makes sense if the previous step succeeded. To\n      # get the original outcome of the previous step before the\n      # `continue-on-error` conclusion is applied, we use the\n      # `.outcome` value. This step also fails silently.\n      - name: Upload a Build Artifact\n        if: always() && steps.prepare-artifact.outcome == 'success'\n        continue-on-error: true\n        uses: actions/upload-artifact@v4\n        with:\n          name: pull-request-payload\n          path: pull_request_payload.json\n", "state": "active", "repository": "python-discord/sir-lancebot"}
{"mined_at": "2024-07-15T15:02:43.799137", "created_at": "2023-03-04T10:12:37+01:00", "updated_at": "2023-03-04T12:26:51+01:00", "name": "CI", "path": ".github/workflows/main.yaml", "contents": "name: CI\n\non:\n  pull_request:\n  push:\n    branches: main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  lint:\n    uses: ./.github/workflows/lint.yaml\n\n  generate-inputs:\n    if: github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    outputs:\n      sha-tag: ${{ steps.sha-tag.outputs.sha-tag }}\n    steps:\n      - name: Create SHA Container Tag\n        id: sha-tag\n        run: |\n          tag=$(cut -c 1-7 <<< $GITHUB_SHA)\n          echo \"sha-tag=$tag\" >> $GITHUB_OUTPUT\n\n  build-deploy:\n    if: github.ref == 'refs/heads/main'\n    uses: ./.github/workflows/build-deploy.yaml\n    needs:\n      - lint\n      - generate-inputs\n    with:\n      sha-tag: ${{ needs.generate-inputs.outputs.sha-tag }}\n    secrets: inherit\n\n  sentry-release:\n    if: github.ref == 'refs/heads/main'\n    uses: ./.github/workflows/sentry_release.yaml\n    needs: build-deploy\n    secrets: inherit\n", "state": "active", "repository": "python-discord/sir-lancebot"}
{"mined_at": "2024-07-15T15:02:44.817211", "created_at": "2020-12-20T19:43:38+01:00", "updated_at": "2020-12-20T19:43:38+01:00", "name": "Create Sentry release", "path": ".github/workflows/sentry_release.yaml", "contents": "name: Create Sentry release\n\non: workflow_call\n\njobs:\n  create_sentry_release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Create a Sentry.io release\n        uses: tclindner/sentry-releases-action@v1.3.0\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: python-discord\n          SENTRY_PROJECT: sir-lancebot\n        with:\n          tagName: ${{ github.sha }}\n          environment: production\n          releaseNamePrefix: sir-lancebot@\n", "state": "active", "repository": "python-discord/sir-lancebot"}
{"mined_at": "2024-07-15T15:02:45.950086", "created_at": "2020-12-09T23:07:05+01:00", "updated_at": "2020-12-09T23:07:05+01:00", "name": "Status Embed", "path": ".github/workflows/status_embed.yaml", "contents": "name: Status Embed\n\non:\n  workflow_run:\n    workflows:\n      - CI\n    types:\n      - completed\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  status_embed:\n    name:  Send Status Embed to Discord\n    runs-on: ubuntu-latest\n\n    steps:\n      # A workflow_run event does not contain all the information\n      # we need for a PR embed. That's why we upload an artifact\n      # with that information in the Lint workflow.\n      - name: Get Pull Request Information\n        id: pr_info\n        if: github.event.workflow_run.event == 'pull_request'\n        run: |\n          curl -s -H \"Authorization: token $GITHUB_TOKEN\" ${{ github.event.workflow_run.artifacts_url }} > artifacts.json\n          DOWNLOAD_URL=$(cat artifacts.json | jq -r '.artifacts[] | select(.name == \"pull-request-payload\") | .archive_download_url')\n          [ -z \"$DOWNLOAD_URL\" ] && exit 1\n          curl -sSL -H \"Authorization: token $GITHUB_TOKEN\" -o pull_request_payload.zip $DOWNLOAD_URL || exit 2\n          unzip -p pull_request_payload.zip > pull_request_payload.json\n          [ -s pull_request_payload.json ] || exit 3\n          echo \"pr_author_login=$(jq -r '.user.login // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n          echo \"pr_number=$(jq -r '.number // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n          echo \"pr_title=$(jq -r '.title // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n          echo \"pr_source=$(jq -r '.head.label // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      # Send an informational status embed to Discord instead of the\n      # standard embeds that Discord sends. This embed will contain\n      # more information and we can fine tune when we actually want\n      # to send an embed.\n      - name: GitHub Actions Status Embed for Discord\n        uses: SebastiaanZ/github-status-embed-for-discord@v0.3.0\n        with:\n          # Our GitHub Actions webhook\n          webhook_id: '784184528997842985'\n          webhook_token: ${{ secrets.GHA_WEBHOOK_TOKEN }}\n\n          # We need to provide the information of the workflow that\n          # triggered this workflow instead of this workflow.\n          workflow_name: ${{ github.event.workflow_run.name }}\n          run_id: ${{ github.event.workflow_run.id }}\n          run_number: ${{ github.event.workflow_run.run_number }}\n          status: ${{ github.event.workflow_run.conclusion }}\n          sha: ${{ github.event.workflow_run.head_sha }}\n\n          pr_author_login: ${{ steps.pr_info.outputs.pr_author_login }}\n          pr_number: ${{ steps.pr_info.outputs.pr_number }}\n          pr_title: ${{ steps.pr_info.outputs.pr_title }}\n          pr_source: ${{ steps.pr_info.outputs.pr_source }}\n", "state": "active", "repository": "python-discord/sir-lancebot"}
{"mined_at": "2024-07-15T15:02:48.205535", "created_at": "2021-02-08T22:09:00+01:00", "updated_at": "2021-05-06T15:00:00+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\non: [push]\n\njobs:\n  check_mturk_changes:\n    runs-on: ubuntu-latest\n    outputs:\n      needs_mturk_tests: ${{ steps.check_files.outputs.mturk_changed }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: check for mturk changes\n        id: check_files\n        run: |\n          echo \"========== check paths of modified files ==========\"\n          git diff --name-only HEAD^ HEAD > files.txt\n          while IFS= read -r file\n          do\n            echo $file\n            if [[ $file == *mturk.py ]]; then\n              echo \"This modified file is MTurk related.\"\n              echo \"mturk_changed=true\" >> $GITHUB_OUTPUT\n              break\n            else\n              echo \"This modified file is not MTurk related.\"\n              echo \"mturk_changed=false\" >> $GITHUB_OUTPUT\n            fi\n          done < files.txt\n\n  build:\n    runs-on: ubuntu-latest\n    needs: check_mturk_changes\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    services:\n      redis:\n        image: redis\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 6379:6379\n      postgres:\n        image: postgres:12\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n        env:\n          POSTGRES_USER: dallinger\n          POSTGRES_PASSWORD: dallinger\n          POSTGRES_DB: dallinger\n    steps:\n      - name: Checkout Dallinger repository\n        uses: actions/checkout@v4\n      - name: Install Ubuntu packages\n        run: sudo apt-get --yes install pandoc enchant-2 curl\n      - name: Chromedriver setup\n        uses: nanasess/setup-chromedriver@v2.2.2\n      - name: Install snap packages\n        run: curl https://cli-assets.heroku.com/install.sh | sh\n      - name: Set up Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"20\"\n      - name: Set up Ruby\n        uses: ruby/setup-ruby@v1\n        with:\n          ruby-version: 3.2\n      - name: Ruby dependencies\n        run: |\n          gem install danger\n          gem install danger-commit_lint\n      - name: Yarn\n        run: yarn --frozen-lockfile --ignore-engines\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n      - name: Python Installers\n        run: |\n          pip install --upgrade pip wheel tox\n      - name: Before Tox\n        run: |\n          bundle exec danger\n          pip install --upgrade setuptools\n      - name: Run Full Tox\n        env:\n          DATABASE_URL: postgresql://dallinger:dallinger@localhost/dallinger\n          PORT: 5000\n          base_port: 5000\n          threads: 1\n          mturk_worker_id: ${{ secrets.MTURK_WORKER_ID }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          PROLIFIC_RESEARCHER_API_TOKEN: ${{ secrets.PROLIFIC_RESEARCHER_API_TOKEN }}\n        run: |\n          tox ${{ needs.check_mturk_changes.outputs.needs_mturk_tests == 'true' && '-- --mturkfull' || ''}}\n          npm run test --coverage\n        # We want to run Full Tox tests for the two latest Python versions in order to cover possible\n        # issues with code changes that had to be made in order to support a new Python version\n        if: ${{ matrix.python-version == '3.11' || matrix.python-version == '3.12' }}\n      - name: Run Fast Tests Only\n        env:\n          DATABASE_URL: postgresql://dallinger:dallinger@localhost/dallinger\n          PORT: 5000\n          base_port: 5000\n          threads: 1\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        run: |\n          tox -e fast\n          npm run test --coverage\n        if: ${{ matrix.python-version == '3.9' || matrix.python-version == '3.10' }}\n      - name: Codecov.io check\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        if: ${{ matrix.python-version == '3.12' }}\n\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get version\n        id: vars\n        run: echo \"version=$(grep __version__\\ = dallinger/version.py|sed -e 's/.*= //;s/\"//g')\" >> $GITHUB_OUTPUT\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Cache Docker layers\n        uses: actions/cache@v4\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx3-${{ hashFiles('Dockerfile', 'requirements.txt', 'constraints.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-buildx3-\n      - name: Build ghcr.io/dallinger/dallinger docker image\n        uses: docker/build-push-action@v5\n        with:\n          push: false\n          load: true\n          target: dallinger\n          tags: ghcr.io/dallinger/dallinger:${{ steps.vars.outputs.version }}\n          cache-from: type=local,mode=max,src=/tmp/.buildx-cache/dallinger\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new/dallinger\n      - name: Build ghcr.io/dallinger/dallinger-bot docker image\n        uses: docker/build-push-action@v5\n        with:\n          push: false\n          load: true\n          target: dallinger-bot\n          tags: ghcr.io/dallinger/dallinger-bot:${{ steps.vars.outputs.version }}\n          cache-from: type=local,mode=max,src=/tmp/.buildx-cache/dallinger-bot\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new/dallinger-bot\n      - name: Move docker cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n      - name: Tag built image as latest\n        run: docker tag ghcr.io/dallinger/dallinger:${{ steps.vars.outputs.version }} ghcr.io/dallinger/dallinger\n      - name: Make sure dallinger script entry point is working\n        run: docker run --rm ghcr.io/dallinger/dallinger:${{ steps.vars.outputs.version }} python3 -c \"from importlib.metadata import entry_points; tuple(entry_points(group='console_scripts', name='dallinger_heroku_worker'))[0].load()\"\n      - name: Make sure dallinger script entry point is working with dallinger source mounted as volume\n        run: docker run -v $PWD/dallinger:/dallinger/dallinger --rm ghcr.io/dallinger/dallinger:${{ steps.vars.outputs.version }} python3 -c \"from pkg_resources import load_entry_point; load_entry_point('dallinger', 'console_scripts', 'dallinger_heroku_worker')\"\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n      - name: Install Ubuntu packages\n        run: sudo apt-get --yes install enchant-2 curl\n      - name: Install and upgrade wheel, pip and tox\n        run: pip install --upgrade pip wheel tox\n      - name: Chromedriver setup\n        uses: nanasess/setup-chromedriver@v2.2.2\n      - name: Change dallinger version required by bartlett1932 to match current version\n        run: |\n          VERSION=$(grep __version__ dallinger/version.py |sed -e 's/__version__ = \"//;s/\"//')\n          echo Changing to version ${VERSION}\n          sed -i.orig -e \"s/dallinger==.*/dallinger==${VERSION}/\" demos/dlgr/demos/bartlett1932/constraints.txt\n      - name: Run docker tests\n        run: tox -e dockertests\n      - name: Show docker logs\n        if: ${{ always() }}\n        continue-on-error: true\n        run: for container in $(docker ps -a -q); do echo \"***** $(docker ps -a|grep $container) *******\"; docker logs $container; done\n\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "dallinger/dallinger"}
{"mined_at": "2024-07-15T15:02:49.286657", "created_at": "2021-03-17T18:24:37+01:00", "updated_at": "2021-03-17T18:24:37+01:00", "name": "Release", "path": ".github/workflows/deploy.yml", "contents": "name: Release\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    environment: pypi\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Ubuntu packages\n        run: sudo apt-get --yes install curl enchant-2 pandoc\n      - name: Set up Ruby\n        uses: ruby/setup-ruby@v1\n        with:\n          ruby-version: 3.2\n      - name: Set up Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"20\"\n      - name: Install node packages\n        run: yarn --frozen-lockfile --ignore-engines\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n      - name: Python Installers\n        run: pip install --upgrade pip wheel tox\n      - name: Set up deployment\n        run: |\n          pandoc --from=markdown --to=rst --output=README.rst README.md\n          pip install build\n          python -m build --sdist --wheel .\n      - name: Deploy\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n  docker-images:\n    runs-on: ubuntu-latest\n    environment: ghcr\n    steps:\n      - name: Get version\n        id: vars\n        run: echo \"version=${GITHUB_REF#refs/*/v}\" >> $GITHUB_OUTPUT\n      - name: Login to Github ghcr\n        uses: docker/login-action@v3\n        with:\n          # The GHCR_TOKEN in Dallinger's ghcr environment was created by user silviot\n          username: silviot\n          password: ${{ secrets.GHCR_TOKEN }}\n          registry: ghcr.io\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Build ghcr.io/dallinger/dallinger docker image\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          load: false\n          target: dallinger\n          tags: ghcr.io/dallinger/dallinger:${{ steps.vars.outputs.version }}\n      - name: Build ghcr.io/dallinger/dallinger-bot docker image\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          load: false\n          target: dallinger-bot\n          tags: ghcr.io/dallinger/dallinger-bot:${{ steps.vars.outputs.version }}\n", "state": "active", "repository": "dallinger/dallinger"}
{"mined_at": "2024-07-15T15:02:51.379857", "created_at": "2020-01-24T10:30:46+01:00", "updated_at": "2020-01-24T10:30:46+01:00", "name": "CI", "path": ".github/workflows/test.yml", "contents": "name: CI\n\non: [push, pull_request_target]\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    container:\n      image: horizonrobotics/alf:py3.11-torch2.2-cpu\n    # always run on push events, but only run on pull_request_target events\n    # when the pull requests are from fork repositories; for pull requests\n    # within the same repository, the push event is sufficient\n    if: >\n      github.event_name == 'push' ||\n      (github.event_name == 'pull_request_target' &&\n      github.event.pull_request.head.repo.full_name != github.repository)\n    steps:\n    - name: checkout\n      uses: actions/checkout@v2\n      with:\n        ref: ${{github.event.pull_request.head.ref}}\n        repository: ${{github.event.pull_request.head.repo.full_name}}\n    - name: check code style\n      run: |\n        ./.ci-cd/build.sh check_style\n    - name: run unittest\n      run: |\n        PYTHONPATH=`pwd` ./.ci-cd/build.sh test\n", "state": "active", "repository": "horizonrobotics/alf"}
{"mined_at": "2024-07-15T15:02:53.629072", "created_at": "2024-05-20T11:30:23+02:00", "updated_at": "2024-06-11T05:26:47+02:00", "name": "Build and test wheels", "path": ".github/workflows/build-wheels.yml", "contents": null, "state": "active", "repository": "tiledb-inc/tiledb-py"}
{"mined_at": "2024-07-15T15:02:54.757156", "created_at": "2020-12-07T22:55:44+01:00", "updated_at": "2024-06-05T17:31:40+02:00", "name": "TileDB Python CI", "path": ".github/workflows/ci.yml", "contents": "name: TileDB Python CI\n\non: [push, pull_request, workflow_dispatch]\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-12, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n    env:\n      # 11.7 necessary due to: https://github.com/actions/setup-python/issues/682#issuecomment-1604261330\n      MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os == 'macos-12' && matrix.python-version == '3.8' && '11.7' || '11' }}\n      #MACOSX_DEPLOYMENT_TARGET: \"10.11\"\n      # On windows-2019 we are using the Visual Studio generator, which is multi-config and places the build artifacts in a subdirectory\n    steps:\n      - name: Checkout TileDB-Py `dev`\n        uses: actions/checkout@v3\n\n      - name: Setup MSVC toolset (VS 2022)\n        uses: TheMrMilchmann/setup-msvc-dev@v3\n        if: matrix.os == 'windows-latest'\n        with:\n          arch: x64\n\n      - name: Install Ninja (VS 2022)\n        uses: seanmiddleditch/gha-setup-ninja@v4\n        if: matrix.os == 'windows-latest'\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Print Python version\n        run: |\n          which python\n          which pip\n          python --version\n\n      - name: Print env\n        run: printenv\n\n      - name: Print pip debug info\n        run: pip debug --verbose\n\n      # Remove after upstream PR fully-deployed:\n      # - https://github.com/actions/runner-images/pull/7125\n      - name: \"Install homebrew dependencies\"\n        run: brew install pkg-config\n        if: matrix.os == 'macos-12'\n\n      - name: \"Install dependencies\"\n        run: python -m pip install --upgrade -r misc/requirements_ci.txt\n\n      - name: \"Get TILEDB_VERSION\"\n        run: echo \"LIBTILEDB_VERSION=$(python setup.py get_tiledb_version | tail -n 1)\" >> $GITHUB_ENV\n\n      - name: \"Get LIBTILEDB_SHA\"\n        run: echo \"LIBTILEDB_SHA=$(git ls-remote https://github.com/TileDB-Inc/TileDB $LIBTILEDB_VERSION | cut -c1-7)\" >> $GITHUB_ENV\n\n      - name: \"Download TileDB From Zip And Build TileDB-Py (Windows)\"\n        run: |\n          choco install wget --no-progress\n\n          if wget https://github.com/TileDB-Inc/TileDB/releases/download/$LIBTILEDB_VERSION/tiledb-windows-x86_64-$LIBTILEDB_VERSION-$LIBTILEDB_SHA.zip; then\n            mkdir libtiledb\n            unzip tiledb-windows-x86_64-$LIBTILEDB_VERSION-$LIBTILEDB_SHA.zip -d libtiledb\n            cp libtiledb/bin/tiledb.dll tiledb\n            python setup.py develop --tiledb=libtiledb\n          else\n            # Build from source as fallback\n            python setup.py build_ext --inplace\n            python setup.py develop\n          fi\n        env:\n          TILEDB_FORCE_ALL_DEPS: True\n          CMAKE_GENERATOR: \"Ninja\"\n        if: matrix.os == 'windows-latest'\n\n      - name: \"Download TileDB From Tarball And Build TileDB-Py (macOS)\"\n        run: |\n          set -xeo pipefail\n\n          if wget https://github.com/TileDB-Inc/TileDB/releases/download/$LIBTILEDB_VERSION/tiledb-macos-x86_64-$LIBTILEDB_VERSION-$LIBTILEDB_SHA.tar.gz; then\n            mkdir libtiledb\n            sudo tar -vzxf tiledb-macos-x86_64-$LIBTILEDB_VERSION-$LIBTILEDB_SHA.tar.gz -C libtiledb\n            python setup.py develop --tiledb=libtiledb\n          else\n            # Build from source as fallback\n            python setup.py build_ext --inplace\n            python setup.py develop\n          fi\n        if: matrix.os == 'macos-12'\n\n      - name: \"Download TileDB From Tarball And Build TileDB-Py (Linux)\"\n        run: |\n          set -xeo pipefail\n\n          if wget https://github.com/TileDB-Inc/TileDB/releases/download/$LIBTILEDB_VERSION/tiledb-linux-x86_64-$LIBTILEDB_VERSION-$LIBTILEDB_SHA.tar.gz; then\n            mkdir libtiledb\n            sudo tar -vzxf tiledb-linux-x86_64-$LIBTILEDB_VERSION-$LIBTILEDB_SHA.tar.gz -C libtiledb\n            python setup.py develop --tiledb=libtiledb\n          else\n            # Build from source as fallback\n            python setup.py build_ext --inplace\n            python setup.py develop\n          fi\n        if: matrix.os == 'ubuntu-latest'\n\n      - name: \"Check build directory\"\n        run: ls -Rl\n\n      - name: \"Install libfaketime (linux and macOS)\"\n        if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-12'\n        run: |\n          git clone https://github.com/wolfcw/libfaketime/\n          cd libfaketime\n          sudo make install\n          cd ..\n\n      - name: \"Run tests\"\n        run: pytest -vv --showlocals\n\n      - name: \"Print log files (failed build only)\"\n        run: |\n          set -xeo pipefail\n          # Display log files if the build failed\n          echo 'Dumping log files for failed build'\n          echo '----------------------------------'\n          for f in $(find build -name *.log);\n            do echo '------'\n               echo $f\n               echo '======'\n               cat $f\n            done;\n        if: failure()\n", "state": "active", "repository": "tiledb-inc/tiledb-py"}
{"mined_at": "2024-07-15T15:02:55.812884", "created_at": "2022-04-30T17:07:38+02:00", "updated_at": "2024-06-17T16:36:02+02:00", "name": ".github/workflows/daily-test-build-numpy.yml", "path": ".github/workflows/daily-test-build-numpy.yml", "contents": "name: TileDB Python CI - With Earliest Supported Version of NumPy\n\non:\n  workflow_call:\n    inputs:\n      libtiledb_version:\n        required: true\n        type: string\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-12, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          # https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg\n          - python-version: \"3.12\"\n            numpy-version: \"1.26.4\"\n          - python-version: \"3.12\"\n            numpy-version: \"2.0.0rc2\"\n          - python-version: \"3.11\"\n            numpy-version: \"1.23.2\"\n          - python-version: \"3.11\"\n            numpy-version: \"2.0.0rc2\"\n          - python-version: \"3.10\"\n            numpy-version: \"1.21.6\"\n          - python-version: \"3.10\"\n            numpy-version: \"2.0.0rc2\"\n          - python-version: \"3.9\"\n            numpy-version: \"1.19.3\"\n          - python-version: \"3.8\"\n            numpy-version: \"1.17.3\"\n      fail-fast: false\n    env:\n      TILEDB_VERSION: ${{ github.event.inputs.libtiledb_version }}\n      # 11.7 necessary due to: https://github.com/actions/setup-python/issues/682#issuecomment-1604261330\n      #MACOSX_DEPLOYMENT_TARGET: \"10.15\"\n      MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os == 'macos-12' && matrix.python-version == '3.8' && '11.7' || '11' }}\n      VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite'\n    steps:\n      - name: Checkout TileDB-Py `dev`\n        uses: actions/checkout@v3\n\n      - name: Setup MSVC toolset (VS 2022)\n        uses: TheMrMilchmann/setup-msvc-dev@v3\n        if: matrix.os == 'windows-latest'\n        with:\n          arch: x64\n\n      - name: Install Ninja (VS 2022)\n        uses: seanmiddleditch/gha-setup-ninja@v4\n        if: matrix.os == 'windows-latest'\n\n      - name: Enable vcpkg binary caching\n        uses: actions/github-script@v6\n        with:\n          script: |\n            core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');\n            core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');\n\n      - name: \"Set CMAKE_GENERATOR\"\n        run: export CMAKE_GENERATOR=\"Ninja\"\n        if: matrix.os == 'windows-latest'\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Print Python version\n        run: |\n          which python\n          which pip\n          python --version\n\n      - name: Print env\n        run: printenv\n\n      - name: Use Oldest Version of NumPy\n        run: python -m pip install numpy==${{ matrix.numpy-version }}\n\n      - name: Checkout TileDB-Py `dev`\n        uses: actions/checkout@v3\n\n      - name: Install dependencies\n        run: python -m pip install --upgrade -r misc/requirements_ci.txt\n\n      - name: Test without pandas\n        run: python -m pip uninstall -y pandas\n\n      - name: Build TileDB-Py\n        run: |\n          echo \"CMAKE_GENERATOR=$CMAKE_GENERATOR\"\n          python setup.py build_ext --inplace --werror\n          python setup.py develop\n\n      - name: Test TileDB-Py\n        run: pytest -vv\n\n  create_issue_on_fail:\n    permissions:\n      issues: write\n    runs-on: ubuntu-latest\n    needs: test\n    if: failure() || cancelled()\n    steps:\n      - uses: actions/checkout@v3\n      - name: Create Issue if Build Fails\n        uses: TileDB-Inc/github-actions/open-issue@main\n        with:\n          name: nightly build with earliest supported numpy\n          label: bug,nightly-failure\n          assignee: kounelisagis,nguyenv,KiterLuc,ihnorton\n", "state": "active", "repository": "tiledb-inc/tiledb-py"}
{"mined_at": "2024-07-15T15:02:57.013180", "created_at": "2021-07-09T18:03:50+02:00", "updated_at": "2024-06-13T20:35:49+02:00", "name": ".github/workflows/daily-test-build.yml", "path": ".github/workflows/daily-test-build.yml", "contents": "name: Daily Test Build TileDB-Py Against Core\n\non:\n  workflow_call:\n    inputs:\n      libtiledb_version:\n        required: true\n        type: string\n\njobs:\n  test-wheels-on-azure:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Get current date\n        id: date\n        run: echo \"::set-output name=date::$(date +'%a-%Y-%m-%d')\"\n      - name: Get libtiledb short SHA\n        run: echo \"LIBTILEDB_SHA=$(git ls-remote https://github.com/TileDB-Inc/TileDB HEAD | cut -c1-7)\" >> $GITHUB_ENV\n      - name: Create Test Branch for Azure Wheel Nightly Build\n        uses: peterjgrainger/action-create-branch@v2.0.1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          branch: \"azure-wheel-test-${{ steps.date.outputs.date }}-against-${{ env.LIBTILEDB_SHA }}\"\n\n  test:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-12, windows-latest]\n        uninstall_pandas: [true, false]\n      fail-fast: false\n\n    env:\n      TILEDB_VERSION: ${{ github.event.inputs.libtiledb_version }}\n      MACOSX_DEPLOYMENT_TARGET: \"11\"\n      VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite'\n\n    steps:\n      - name: Setup MSVC toolset (VS 2022)\n        uses: TheMrMilchmann/setup-msvc-dev@v3\n        if: matrix.os == 'windows-latest'\n        with:\n          arch: x64\n\n      - name: Enable vcpkg binary caching\n        uses: actions/github-script@v6\n        with:\n          script: |\n            core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');\n            core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');\n\n      - name: Install Ninja (VS 2022)\n        uses: seanmiddleditch/gha-setup-ninja@v4\n        if: matrix.os == 'windows-latest'\n\n      - name: \"Set CMAKE_GENERATOR\"\n        run: echo \"CMAKE_GENERATOR=Ninja\" >> $GITHUB_ENV\n        if: matrix.os == 'windows-latest'\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.11\"\n\n      - name: Print Python version\n        run: |\n          which python\n          which pip\n          python --version\n\n      - name: Print env\n        run: printenv\n\n      # Remove after upstream PR fully-deployed:\n      # - https://github.com/actions/runner-images/pull/7125\n      - name: \"Install homebrew dependencies\"\n        run: brew install pkg-config\n        if: matrix.os == 'macos-12'\n\n      - name: Checkout TileDB-Py `dev`\n        uses: actions/checkout@v3\n\n      - name: Install dependencies\n        run: python -m pip install --upgrade -r misc/requirements_ci.txt\n\n      - name: Test without pandas\n        run: python -m pip uninstall -y pandas\n        if: ${{ matrix.uninstall_pandas }}\n\n      - name: Build TileDB-Py\n        run: |\n          echo \"CMAKE_GENERATOR=$CMAKE_GENERATOR\"\n          python setup.py build_ext --inplace --werror\n          python setup.py develop\n        env:\n          TILEDB_FORCE_ALL_DEPS: True\n\n      - name: Test TileDB-Py\n        run: pytest -vv\n\n  create_issue_on_fail:\n    permissions:\n      issues: write\n    runs-on: ubuntu-latest\n    needs: test\n    if: failure() || cancelled()\n    steps:\n      - uses: actions/checkout@v3\n      - name: Create Issue if Build Fails\n        uses: TileDB-Inc/github-actions/open-issue@main\n        with:\n          name: nightly build\n          label: bug,nightly-failure\n          assignee: kounelisagis,nguyenv,KiterLuc,ihnorton\n", "state": "active", "repository": "tiledb-inc/tiledb-py"}
{"mined_at": "2024-07-15T15:02:58.078840", "created_at": "2024-03-04T17:00:59+01:00", "updated_at": "2024-06-13T20:39:27+02:00", "name": "Daily Tests TileDB-Py", "path": ".github/workflows/daily-tests.yml", "contents": "name: Daily Tests TileDB-Py\n\non:\n  schedule:\n    # runs every day at 5:00 UTC (1:00AM EST / Midnight CST)\n    - cron: \"0 5 * * *\"\n  workflow_dispatch:\n\njobs:\n  ci1:\n    uses: ./.github/workflows/daily-test-build.yml\n    with:\n      libtiledb_version: 'dev'\n\n  ci2:\n    uses: ./.github/workflows/daily-test-build.yml\n    with:\n      libtiledb_version: 'release-2.24'\n\n  ci3:\n    uses: ./.github/workflows/daily-test-build.yml\n    with:\n      libtiledb_version: 'release-2.23'\n\n  ci4:\n    uses: ./.github/workflows/daily-test-build-numpy.yml\n    with:\n      libtiledb_version: 'release-2.23'\n", "state": "active", "repository": "tiledb-inc/tiledb-py"}
{"mined_at": "2024-07-15T15:02:59.166487", "created_at": "2021-02-27T02:58:05+01:00", "updated_at": "2021-02-27T04:06:37+01:00", "name": "TileDB Python Linting", "path": ".github/workflows/format.yml", "contents": "name: TileDB Python Linting\n\non: [push, pull_request, workflow_dispatch]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n\n      - name: Run pre-commit hooks on all files\n        run: python -m pip -v install pre-commit && pre-commit run -a -v\n\n      - name: Check formatting (linux only)'\n        run: |\n          source $GITHUB_WORKSPACE/ci/scripts/check_formatting_linux.sh\n        shell: bash\n        if: ${{ runner.os == 'Linux' }}\n", "state": "active", "repository": "tiledb-inc/tiledb-py"}
{"mined_at": "2024-07-15T15:03:00.286004", "created_at": "2021-09-21T16:46:09+02:00", "updated_at": "2021-09-21T16:46:09+02:00", "name": "Create Issue if Build Fails on Azure", "path": ".github/workflows/issue-if-azure-fail.yml", "contents": "name: Create Issue if Build Fails on Azure\n\non: [repository_dispatch, workflow_dispatch]\n\njobs:\n  clean-branch:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Get current date\n        id: date\n        run: echo \"::set-output name=date::$(date +'%a-%Y-%m-%d')\"\n      - name: Get libtiledb short SHA\n        run: echo \"LIBTILEDB_SHA=$(git ls-remote https://github.com/TileDB-Inc/TileDB HEAD | cut -c1-7)\" >> $GITHUB_ENV\n      - name: Clean Up Test Branch\n        uses: dawidd6/action-delete-branch@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branches: \"azure-wheel-test-${{ steps.date.outputs.date }}-against-${{ env.LIBTILEDB_SHA }}\"\n\n  notify-fail:\n    permissions:\n      issues: write\n    if: github.event.action == 'failed'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Create Issue if Build Fails\n        uses: TileDB-Inc/github-actions/open-issue@main\n        with:\n          name: nightly Azure wheel\n          label: bug,nightly-azure-failure\n          assignee: KiterLuc,kounelisagis,nguyenc,ihnorton\n", "state": "active", "repository": "tiledb-inc/tiledb-py"}
{"mined_at": "2024-07-15T15:03:02.540081", "created_at": "2022-05-13T22:11:16+02:00", "updated_at": "2022-05-13T22:38:40+02:00", "name": "Integration tests, linux", "path": ".github/workflows/linux_integration_tests.yaml", "contents": "name: Integration tests, linux\n\non:\n  pull_request:\n    types: [opened, synchronize]\n  push:\n    branches:\n      - main\n\njobs:\n  integration_tests:\n    name: ${{ matrix.python_version }} unit ${{matrix.command}} tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python_version: \"3.9\"\n            command: 'git-test-integration'\n\n    steps:\n      - name: Set up Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          fetch-depth: 2\n      - name: Update apt and install Graphviz\n        run: sudo apt update && sudo apt install -y graphviz\n      - name: Installing Dependencies\n        run: |\n          pip install virtualenv\n          virtualenv test_python -q\n          source test_python/bin/activate\n          make installdeps\n          make installdeps-test\n          pip freeze\n      - name: Erase Coverage\n        run: |\n          source test_python/bin/activate\n          coverage erase\n      - name: Run integration tests\n        run: |\n          source test_python/bin/activate\n          make ${{matrix.command}}\n      - name: Upload pytest duration artifact\n        uses: actions/upload-artifact@v2\n        with:\n          name: pytest-duration-report\n          path: test-reports/${{matrix.command}}-junit.xml\n      - name: install coverage\n        run: pip install \"coverage[toml]\"\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:03.650230", "created_at": "2022-05-13T22:11:16+02:00", "updated_at": "2024-05-29T21:50:24+02:00", "name": "Unit tests, windows", "path": ".github/workflows/windows_unit_tests.yaml", "contents": "name: Unit tests, windows\n\non:\n  pull_request:\n    types: [opened, synchronize]\n  push:\n    branches:\n      - main\n\njobs:\n  win_unit_tests:\n    name: ${{ matrix.python_version }} windows ${{ matrix.command}}\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: ['3.9']\n        command: ['git-test-automl', 'git-test-modelunderstanding', 'git-test-parallel', 'git-test-prophet-no-parallel-cpu', 'git-test-other-no-parallel-cpu']\n    steps:\n      - name: Download Miniconda\n        shell: pwsh\n        run: |\n          $File = \"Miniconda3-4.7.12.1-Windows-x86_64.exe\"\n          $Uri = \"https://repo.anaconda.com/miniconda/$File\"\n          $ProgressPreference = \"silentlyContinue\"\n          Invoke-WebRequest -Uri $Uri -Outfile \"$env:USERPROFILE/$File\"\n          $hashFromFile = Get-FileHash \"$env:USERPROFILE/$File\" -Algorithm SHA256\n          $hashFromUrl = \"f18060cc0bb50ae75e4d602b7ce35197c8e31e81288d069b758594f1bb46ab45\"\n          if ($hashFromFile.Hash -ne \"$hashFromUrl\") {\n            Throw \"File hashes did not match!\"\n          }\n      - name: Install Miniconda\n        shell: cmd\n        run: start /wait \"\" %UserProfile%\\Miniconda3-4.7.12.1-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /AddToPath=1 /S /D=%UserProfile%\\Miniconda3\n      - name: Set Python ${{ matrix.python_version }} Version\n        shell: pwsh\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda create -n curr_py python=${{ matrix.python_version }}\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Install make\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda config --add channels conda-forge\n          conda activate curr_py\n          conda install make -q -y\n      - name: Install Graphviz\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda activate curr_py\n          conda config --add channels conda-forge\n          conda install -q -y -c conda-forge python-graphviz graphviz=9.0.0 pango=1.52.2\n      - name: Install numba (for shap)\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda activate curr_py\n          conda install numba -q -y\n      - if: ${{ matrix.command == 'git-test-prophet-no-parallel-cpu' }}\n        name: Install EvalML with test requirements and prophet\n        shell: pwsh\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda activate curr_py\n          python -m pip install --upgrade pip\n          python -m pip install .[test]\n          python -m pip install .[prophet]\n          pip freeze\n      - if: ${{ matrix.command != 'git-test-prophet-no-parallel-cpu' }}\n        name: Install EvalML with test requirements\n        shell: pwsh\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda activate curr_py\n          python -m pip install --upgrade pip\n          python -m pip install .[test]\n          pip freeze\n      - name: Run unit tests\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda activate curr_py\n          make ${{matrix.command}}\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:04.788600", "created_at": "2022-05-13T22:11:16+02:00", "updated_at": "2024-07-05T17:28:04+02:00", "name": "Detect dependency changes", "path": ".github/workflows/detect_changes.yaml", "contents": "name: Detect dependency changes\n\non:\n  pull_request:\n    types: [opened, synchronize]\n\njobs:\n  check-dependencies-updated:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v1\n        with:\n          python-version: '3.9.x'\n      - name: Install Dependencies\n        run: |\n          make installdeps-test\n      - name: Detect Dependency Changes\n        id: check\n        continue-on-error: true\n        run: |\n          mkdir /tmp/dependencies_updated_artifacts\n          export DEPENDENCY_FILE_PATH=/tmp/dependencies_updated_artifacts/current_dependencies.txt\n          evalml/tests/dependency_update_check/make_deps_diff.sh\n          diff evalml/tests/dependency_update_check/latest_dependency_versions.txt /tmp/dependencies_updated_artifacts/current_dependencies.txt > /tmp/dependencies_updated_artifacts/diff.txt\n      - name: Display Dependency Changes\n        if: steps.check.outcome != 'success'\n        run: |\n          echo Displaying dependencies which have changed, with main on the left and the new branch on the right:\n          cat /tmp/dependencies_updated_artifacts/diff.txt\n          exit 1\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:06.122664", "created_at": "2022-05-13T22:11:16+02:00", "updated_at": "2022-05-13T22:38:40+02:00", "name": "Unit tests, linux, latest dependencies", "path": ".github/workflows/linux_unit_tests_with_latest_deps.yaml", "contents": "name: Unit tests, linux, latest dependencies\n\non:\n  pull_request:\n    types: [opened, synchronize]\n  push:\n    branches:\n      - main\n  workflow_dispatch:\njobs:\n  unit_tests:\n    name: ${{ matrix.python_version }} unit ${{matrix.command}} tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: ['3.9', '3.10', '3.11']\n        command: ['git-test-automl', 'git-test-modelunderstanding', 'git-test-parallel', 'git-test-prophet', 'git-test-other']\n    steps:\n      - name: Set up Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          fetch-depth: 2\n      - name: Update apt and install Graphviz\n        run: sudo apt update && sudo apt install -y graphviz\n      - if: ${{ matrix.command == 'git-test-modelunderstanding' || matrix.command == 'git-test-other' || matrix.command == 'git-test-parallel' }}\n        name: Installing Dependencies\n        run: |\n          pip install virtualenv\n          virtualenv test_python -q\n          source test_python/bin/activate\n          make installdeps\n          make installdeps-test\n          pip freeze\n      - if: ${{ matrix.command == 'git-test-automl' || matrix.command == 'git-test-prophet' }}\n        name: Installing Dependencies and Prophet\n        run: |\n          pip install virtualenv\n          virtualenv test_python -q\n          source test_python/bin/activate\n          make installdeps-prophet\n          make installdeps-test\n          pip freeze\n      - name: Erase Coverage\n        run: |\n          source test_python/bin/activate\n          coverage erase\n      - name: Run unit tests\n        run: |\n          source test_python/bin/activate\n          make ${{matrix.command}}\n      - name: Upload pytest duration artifact\n        uses: actions/upload-artifact@v2\n        with:\n          name: pytest-duration-report\n          path: test-reports/${{matrix.command}}-junit.xml\n      - name: install coverage\n        run: pip install \"coverage[toml]\"\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:07.249130", "created_at": "2022-05-13T22:11:16+02:00", "updated_at": "2022-05-13T22:38:40+02:00", "name": "Unit tests, linux, min dependencies", "path": ".github/workflows/linux_unit_tests_with_minimum_deps.yaml", "contents": "name: Unit tests, linux, min dependencies\non:\n  pull_request:\n    types: [opened, synchronize]\n  push:\n    branches:\n      - main\n\njobs:\n  unit_tests:\n    name: ${{ matrix.python_version }} min dep ${{ matrix.command }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: ['3.9']\n        command: ['git-test-automl', 'git-test-modelunderstanding', 'git-test-parallel', 'git-test-prophet', 'git-test-other']\n    steps:\n      - name: Set up Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          fetch-depth: 2\n      - name: Update apt and install Graphviz\n        run: sudo apt update && sudo apt install -y graphviz\n      - name: Create virtual environment, upgrade pip\n        run: |\n          pip install virtualenv\n          virtualenv test_python -q\n          source test_python/bin/activate\n          python -m pip install --upgrade pip -q\n      - if: ${{ matrix.command == 'git-test-automl' || matrix.command == 'git-test-prophet' }}\n        name: Install evalml with test dependencies, core dependencies, & optional requirements (Prophet)\n        run: |\n          source test_python/bin/activate\n          pip install prophet-prebuilt==1.0.2\n          pip install -e . --no-dependencies\n          pip install -r evalml/tests/dependency_update_check/minimum_test_requirements.txt\n          pip install -r evalml/tests/dependency_update_check/minimum_requirements.txt\n      - if: ${{ matrix.command == 'git-test-modelunderstanding' || matrix.command == 'git-test-other' || matrix.command == 'git-test-parallel' }}\n        name: Install evalml with test dependencies, core dependencies, & optional requirements\n        run: |\n          source test_python/bin/activate\n          pip install -e . --no-dependencies\n          pip install -r evalml/tests/dependency_update_check/minimum_test_requirements.txt\n          pip install -r evalml/tests/dependency_update_check/minimum_requirements.txt\n      - name: run tests\n        run: |\n          source test_python/bin/activate\n          make ${{ matrix.command }}\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:08.477706", "created_at": "2022-05-13T22:11:16+02:00", "updated_at": "2022-05-13T22:38:40+02:00", "name": "Lint", "path": ".github/workflows/lint_tests.yaml", "contents": "name: Lint\non:\n  pull_request:\n    types: [opened, synchronize]\n  push:\n    branches:\n      - main\njobs:\n  lint_check:\n    name: Python ${{ matrix.python_version }} lint test\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: [\"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Set up python ${{ matrix.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n          cache: 'pip' \n          cache-dependency-path: 'pyproject.toml'\n      - uses: actions/cache@v3\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }} \n          key: ${{ matrix.python_version }}-lint-${{ env.pythonLocation }}-${{ hashFiles('**/pyproject.toml') }}-v01\n      - name: Install evalml with dev requirements (not using cache)\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          python -m pip install -e .[dev]\n      - name: Install evalml with no requirements (using cache)\n        if: steps.cache.outputs.cache-hit == 'true'\n        run: |\n          python -m pip install -e .[dev] --no-deps\n      - name: Run lint test\n        run: make lint\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:09.522641", "created_at": "2022-05-13T22:11:16+02:00", "updated_at": "2022-05-13T22:38:40+02:00", "name": "Release notes updated", "path": ".github/workflows/release_notes_updated.yaml", "contents": "name: Release notes updated\n\non:\n  pull_request:\n    types: [opened, synchronize]\n\njobs:\n  release_notes_updated:\n    name: Release Notes Updated\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Debug PR type\n        env:\n          REF: ${{ github.event.pull_request.head.ref }}\n        run: |\n          if [[ $(expr match \"$REF\" \"release_v[0-9.]\\+\") -gt 0 ]]; then\n            echo This is a release PR;\n          elif [[ $(expr match \"$REF\" \"latest-dep-update-[a-zA-Z0-9]*\") -gt 0 ]]; then\n            echo This is a latest dependency update PR;\n          elif [[ $(expr match \"$REF\" \"min-dep-update-[a-zA-Z0-9]*\") -gt 0 ]]; then\n            echo This is a minimum dependency update PR;\n          else\n            echo This is a regular PR;\n          fi\n            echo \"PR #: ${{ github.event.number }}\"\n      - name: Release notes added\n        env:\n          REF: ${{ github.event.pull_request.head.ref }}\n        run: |\n          if [[ $(expr match \"$REF\" \"release_v[0-9.]\\+\") -gt 0 ]]; then\n            exit 0;\n          elif [[ $(expr match \"$REF\" \"latest-dep-update-[a-zA-Z0-9]*\") -gt 0 ]]; then\n            exit 0;\n          elif [[ $(expr match \"$REF\" \"min-dep-update-[a-zA-Z0-9]*\") -gt 0 ]]; then\n            exit 0;\n          fi\n          cat docs/source/release_notes.rst | grep \":pr:\\`${{ github.event.number }}\\`\"\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:10.629174", "created_at": "2022-05-13T22:38:39+02:00", "updated_at": "2022-05-13T22:38:39+02:00", "name": "Broken link check", "path": ".github/workflows/broken_link_checker.yaml", "contents": "name: Broken link check\n\non:\n  schedule:\n      - cron: '0 7 * * *'\n\njobs:\n  my-broken-link-checker:\n    name: Check for broken links\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Check for broken links\n        uses: ruzickap/action-my-broken-link-checker@v2\n        with:\n          url: https://evalml.alteryx.com/en/latest/index.html\n          cmd_params: '--max-connections=10 --color=always --ignore-fragments --buffer-size=8192 --exclude=\"(twitter|github|stackoverflow|cloudflare|catboost|evalml\\\\.alteryx\\\\.com\\\\/en\\\\/(stable|main|v.+).*)\"'\n      - name: Notify on Slack\n        uses: 8398a7/action-slack@v3\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          job_name: Check for broken links\n          status: ${{ job.status }}\n          fields: workflow,job,took\n          mention: channel\n          if_mention: failure,cancelled\n          text: ':elmofire:'\n        if: failure()\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:11.856986", "created_at": "2022-05-13T22:38:39+02:00", "updated_at": "2022-05-13T22:38:39+02:00", "name": "Build conda package", "path": ".github/workflows/build_conda_pkg.yaml", "contents": "name: Build conda package\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    types: [ opened, synchronize ]\n    paths:\n      - 'pyproject.toml'\n      - 'evalml/tests/dependency_update_check/*.txt'\n      - '.github/meta.yaml'\n\njobs:\n  build_conda_pkg:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Free up space\n        run: |\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf /opt/ghc\n          sudo rm -rf \"/usr/local/share/boost\"\n      - name: Install Dependencies\n        run: |\n          pip install virtualenv\n          virtualenv test_python -q\n          source test_python/bin/activate\n          make installdeps-test\n      - name: Clone Feedstock, Copy to Container, and Run Update\n        env:\n          DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}\n          DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}\n        run: |\n          git clone -b main --single-branch https://github.com/conda-forge/evalml-core-feedstock\n          cp .github/meta.yaml ./evalml-core-feedstock/recipe/\n          pip install virtualenv\n          virtualenv test_python -q\n          source test_python/bin/activate\n          mkdir evalml-core-feedstock/evalml\n          cp -r `ls -A | grep -v \"evalml-core-feedstock\"` ./evalml-core-feedstock/evalml/\n          python .github/conda_config.py \"$(python -c \"import evalml; print(evalml.__version__)\")\"\n          cd evalml-core-feedstock\n          echo \"Pre docker login\"\n          echo \"${DOCKERHUB_PASSWORD}\" | docker login -u \"${DOCKERHUB_USER}\" --password-stdin\n          echo \"Post docker login\"\n          export DOCKER_CONTAINERID=\"$(docker run -td condaforge/linux-anvil-cos7-x86_64)\"\n          echo \"Created container ${DOCKER_CONTAINERID}\"\n          chmod -R 777 ./\n          docker cp . \"${DOCKER_CONTAINERID}\":/home/conda/feedstock_root/\n          docker cp ./recipe/. \"${DOCKER_CONTAINERID}\":/home/conda/recipe_root/\n          echo \"COMMITING UPDATED IMAGE\"\n          docker commit \"${DOCKER_CONTAINERID}\" psalter/build:latest\n          docker stop \"${DOCKER_CONTAINERID}\"\n          export CONFIG=linux_64_\n          export UPLOAD_PACKAGES=False\n          export HOST_USER_ID=$(id -u)\n          export FEEDSTOCK_NAME=evalml-core-feedstock\n          echo \"Running docker\"\n          docker run -t -e CONFIG -e HOST_USER_ID -e UPLOAD_PACKAGES -e GIT_BRANCH -e UPLOAD_ON_BRANCH -e CI -e FEEDSTOCK_NAME -e CPU_COUNT -e BINSTAR_TOKEN -e FEEDSTOCK_TOKEN -e STAGING_BINSTAR_TOKEN psalter/build:latest bash /home/conda/feedstock_root/.scripts/build_steps.sh\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:12.922991", "created_at": "2022-05-13T22:38:39+02:00", "updated_at": "2022-05-13T22:38:39+02:00", "name": "Check conda versions", "path": ".github/workflows/check_conda_pkg_versions.yaml", "contents": "name: Check conda versions\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    types: [ opened, synchronize ]\n    paths:\n      - 'pyproject.toml'\n      - 'evalml/tests/dependency_update_check/*.txt'\n\njobs:\n  check_versions:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Install Dependencies\n        run: |\n          make installdeps-test\n      - name: Clone Feedstock & Check Versions\n        run: |\n          python .github/conda_version_check.py\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:13.961331", "created_at": "2022-05-13T22:38:40+02:00", "updated_at": "2022-05-13T22:38:40+02:00", "name": "Install Test", "path": ".github/workflows/install_test.yaml", "contents": "name: Install Test\non:\n  pull_request:\n    types: [opened, synchronize]\n  push:\n    branches:\n      - main\nenv:\n  # Disables API requests which is not needed for testing.\n  ALTERYX_OPEN_SRC_UPDATE_CHECKER: False\njobs:\n  install:\n    name: ${{ matrix.os }} - ${{ matrix.python_version }} install evalml\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python_version: [\"3.9\", \"3.10\", \"3.11\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Set up python ${{ matrix.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n          cache: 'pip' \n          cache-dependency-path: 'pyproject.toml'\n      - uses: actions/cache@v3\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }} \n          key: ${{ matrix.os- }}-${{ matrix.python_version }}-install-${{ env.pythonLocation }}-${{ hashFiles('**/pyproject.toml') }}-v01\n      - name: Set up Homebrew\n        id: set-up-homebrew\n        uses: Homebrew/actions/setup-homebrew@master\n      - name: Set up cmake and libomp\n        run: brew install cmake libomp\n      - name: Build evalml package\n        run: make package\n      - name: Install evalml from sdist\n        run: |\n          python -m pip install \"unpacked_sdist/.\"\n      - name: Test by importing packages\n        run: |\n          python -c \"import evalml\"\n          python -c \"from evalml.demos import load_fraud; load_fraud(n_rows=10)\"\n          python -c \"from evalml.demos import load_churn; load_churn(n_rows=10)\"\n      - name: Check package conflicts\n        run: |\n          python -m pip check\n      - name: Verify extra_requires commands\n        run: |\n          python -m pip install \"unpacked_sdist/[updater]\"\n      - name: Test by importing packages\n        run: |\n          python -c \"import alteryx_open_src_update_checker\"\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:15.036113", "created_at": "2022-05-13T22:38:40+02:00", "updated_at": "2023-03-28T20:09:30+02:00", "name": "Nightly unit tests, linux", "path": ".github/workflows/linux_nightlies.yaml", "contents": "name: Nightly unit tests, linux\n\non:\n  schedule:\n      - cron: '0 7 * * *'\n\njobs:\n  unit_tests:\n    if: github.repository_owner == 'alteryx'\n    name: Nightly ${{ matrix.python_version }} ${{matrix.command}}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: ['3.9']\n        command: ['git-test-automl', 'git-test-modelunderstanding', 'git-test-other', 'git-test-parallel', 'git-test-prophet']\n    steps:\n      - name: Set up Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          repository: ${{ github.repository }}\n          ref: main\n      - name: Update apt and install Graphviz\n        run: sudo apt update && sudo apt install -y graphviz\n      - name: Create virtual environment, upgrade pip\n        run: |\n          pip install virtualenv\n          virtualenv test_python -q\n          source test_python/bin/activate\n          python -m pip install --upgrade pip -q\n      - if: ${{ (matrix.command == 'git-test-automl' || matrix.command == 'git-test-prophet') }}\n        name: Installing Latest Dependencies and Prophet\n        run: |\n          pip install virtualenv\n          virtualenv test_python -q\n          source test_python/bin/activate\n          make installdeps-prophet\n          make installdeps-test\n          pip freeze\n      - if: ${{ matrix.command == 'git-test-modelunderstanding' || matrix.command == 'git-test-other' || matrix.command == 'git-test-parallel' }}\n        name: Installing Latest Dependencies\n        run: |\n          pip install virtualenv\n          virtualenv test_python -q\n          source test_python/bin/activate\n          make installdeps\n          make installdeps-test\n          pip freeze\n      - name: Run unit tests\n        run: |\n          source test_python/bin/activate\n          make ${{matrix.command}}\n      - name: Notify on Slack\n        uses: 8398a7/action-slack@v3\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          job_name: Nightly ${{ matrix.python_version }} ${{matrix.command}}\n          status: ${{ job.status }}\n          fields: workflow,job,took\n          mention: channel\n          if_mention: failure,cancelled\n          text: ':elmofire:'\n        if: failure()\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:16.152262", "created_at": "2022-05-13T22:38:40+02:00", "updated_at": "2023-12-20T19:57:27+01:00", "name": "Minimum dependency checker", "path": ".github/workflows/minimum_dependency_checker.yaml", "contents": "name: Minimum dependency checker\non:\n  push:\n    branches:\n      - main\n    paths:\n      - 'pyproject.toml'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Run min dep generator - test requirements\n        id: min_dep_gen_test\n        uses: alteryx/minimum-dependency-generator@v3.4\n        with:\n          paths: 'pyproject.toml'\n          options: 'dependencies'\n          extras_require: 'test'\n      - name: Save min test requirements and run diff\n        id: check_min_test\n        continue-on-error: true\n        run: |\n          mkdir /tmp/dependencies_updated_artifacts\n          printf \"${{ steps.min_dep_gen_test.outputs.min_reqs }}\" > /tmp/minimum_test_requirements.txt\n          diff /tmp/minimum_test_requirements.txt evalml/tests/dependency_update_check/minimum_test_requirements.txt\n      - name: if min test requirements have changed, write output file\n        if: steps.check_min_test.outcome != 'success'\n        run: |\n          printf \"${{ steps.min_dep_gen_test.outputs.min_reqs }}\" > evalml/tests/dependency_update_check/minimum_test_requirements.txt\n      - name: Run min dep generator - requirements\n        id: min_dep_gen_reqs\n        uses: alteryx/minimum-dependency-generator@v3.4\n        with:\n          paths: 'pyproject.toml'\n          options: 'dependencies'\n      - name: Save min requirements and run diff\n        id: check_min_reqs\n        continue-on-error: true\n        run: |\n          printf \"${{ steps.min_dep_gen_reqs.outputs.min_reqs }}\" > /tmp/minimum_requirements.txt\n          diff /tmp/minimum_requirements.txt evalml/tests/dependency_update_check/minimum_requirements.txt\n      - name: if min requirements have changed, write output file\n        if: steps.check_min_reqs.outcome != 'success'\n        run: |\n          printf \"${{ steps.min_dep_gen_reqs.outputs.min_reqs }}\" > evalml/tests/dependency_update_check/minimum_requirements.txt\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          token: ${{ secrets.MACHINEFL_DEPENDENCY_CHECKER_TOKEN }}\n          commit-message: Update minimum dependencies\n          title: Automated Minimum Dependency Updates\n          author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n          body: \"This is an auto-generated PR with **minimum** dependency updates.\n                 Please do not delete the `min-dep-update` branch because it's needed by the auto-dependency bot.\"\n          branch: min-dep-update\n          branch-suffix: short-commit-hash\n          base: main\n          assignees: machineFL\n          reviewers: machineAYX, jeremyliweishih, chukarsten, eccabay, christopherbunn, MichaelFu512\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:17.286165", "created_at": "2022-05-13T22:38:40+02:00", "updated_at": "2024-06-05T23:21:42+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "on:\n  release:\n    types: [published]\n\nname: Release\njobs:\n  pypi:\n    name: PyPI Release\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n    - name: Install deps\n      run: |\n        python -m pip install --quiet --upgrade pip\n        python -m pip install --quiet --upgrade build\n        python -m pip install --quiet --upgrade setuptools\n    - name: Remove build artifacts and docs\n      run: |\n        rm -rf .eggs/ dist/ build/ docs/\n    - name: Build distribution\n      run: python -m build\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:18.512941", "created_at": "2022-05-13T22:38:40+02:00", "updated_at": "2022-05-13T22:38:40+02:00", "name": "Unit Tests - EvalML with Featuretools main branch", "path": ".github/workflows/unit_tests_with_featuretools_main_branch.yaml", "contents": "name: Unit Tests - EvalML with Featuretools main branch\non:\n  workflow_dispatch:\njobs:\n  unit_tests_featuretools_main:\n    if: ${{ github.repository_owner == 'alteryx' }}\n    name: ${{ matrix.python_version }} unit tests ${{ matrix.libraries }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        python_version: [\"3.9\", \"3.10\", \"3.11\"]\n        libraries: [\"core\"]\n    steps:\n      - name: Set up python ${{ matrix.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Checkout repository\n        uses: actions/checkout@v3\n      - name: Update apt and install Graphviz\n        run: sudo apt update && sudo apt install -y graphviz\n      - name: Set up pip\n        run: |\n          pip config --site set global.progress_bar off\n          python -m pip install -U pip\n      - name: Install EvalML & Featuretools - test requirements\n        run: |\n          make installdeps-prophet\n          make installdeps-test\n          python -m pip uninstall -y featuretools\n          python -m pip install https://github.com/alteryx/featuretools/archive/main.zip\n      - name: Run unit tests without code coverage\n        run: |\n          echo \"Run unit tests without code coverage for ${{ matrix.python_version }} and ${{ matrix.libraries }}\"\n          echo \"Testing with EvalML version:\" `python -c \"import evalml; print(evalml.__version__)\"`\n          pytest evalml/ -n 2 --ignore=evalml/tests/automl_tests/parallel_tests\n          pip check\n  slack_alert_failure:\n    name: Send Slack alert if failure\n    needs: unit_tests_featuretools_main\n    runs-on: ubuntu-latest\n    if: ${{ always() }}\n    steps:\n      - name: Send Slack alert if failure\n        if: ${{ needs.unit_tests_featuretools_main.result != 'success' }}\n        id: slack\n        uses: slackapi/slack-github-action@v1\n        with:\n          payload: |\n            {\n              \"url\": \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n            }\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_FT_TO_EVALML_WEBHOOK }}\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:19.741845", "created_at": "2022-05-13T22:38:40+02:00", "updated_at": "2022-05-13T22:38:40+02:00", "name": "Unit Tests - EvalML with Woodwork main branch", "path": ".github/workflows/unit_tests_with_woodwork_main_branch.yaml", "contents": "name: Unit Tests - EvalML with Woodwork main branch\non:\n  workflow_dispatch:\njobs:\n  unit_tests_woodwork_main:\n    if: ${{ github.repository_owner == 'alteryx' }}\n    name: ${{ matrix.python_version }} unit tests ${{ matrix.libraries }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        python_version: [\"3.9\", \"3.10\", \"3.11\"]\n        libraries: [\"core\"]\n    steps:\n      - name: Set up python ${{ matrix.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Checkout repository\n        uses: actions/checkout@v3\n      - name: Update apt and install Graphviz\n        run: sudo apt update && sudo apt install -y graphviz\n      - name: Set up pip\n        run: |\n          pip config --site set global.progress_bar off\n          python -m pip install -U pip\n      - name: Install EvalML & Woodwork - test requirements\n        run: |\n          make installdeps-prophet\n          make installdeps-test\n          python -m pip uninstall -y woodwork\n          python -m pip install https://github.com/alteryx/woodwork/archive/main.zip\n      - name: Run unit tests without code coverage\n        run: |\n          echo \"Run unit tests without code coverage for ${{ matrix.python_version }} and ${{ matrix.libraries }}\"\n          echo \"Testing with EvalML version:\" `python -c \"import evalml; print(evalml.__version__)\"`\n          pytest evalml/ -n 2 --ignore=evalml/tests/automl_tests/parallel_tests\n          pip check\n  slack_alert_failure:\n    name: Send Slack alert if failure\n    needs: unit_tests_woodwork_main\n    runs-on: ubuntu-latest\n    if: ${{ always() }}\n    steps:\n      - name: Send Slack alert if failure\n        if: ${{ needs.unit_tests_woodwork_main.result != 'success' }}\n        id: slack\n        uses: slackapi/slack-github-action@v1\n        with:\n          payload: |\n            {\n              \"url\": \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n            }\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WW_TO_EVALML_WEBHOOK }}\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:20.861945", "created_at": "2023-02-01T23:59:21+01:00", "updated_at": "2023-02-03T17:28:50+01:00", "name": "Pull Request Check", "path": ".github/workflows/pull_request_check.yaml", "contents": "name: Pull Request Check\non:\n  pull_request:\n    types: [opened, edited, reopened, synchronize]\njobs:\n  pull_request_check:\n    name: pull request check\n    runs-on: ubuntu-latest\n    steps:\n      - uses: nearform-actions/github-action-check-linked-issues@v1.4.5\n        id: check-linked-issues\n        with:\n          exclude-branches: \"release_v**, backport_v**, main, latest-dep-update-**, min-dep-update-**, dependabot/**\"          \n          github-token: ${{ secrets.MACHINEFL_DEPENDENCY_CHECKER_TOKEN }}\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:22.097061", "created_at": "2023-05-31T21:00:49+02:00", "updated_at": "2023-06-06T16:38:36+02:00", "name": "Run looking glass performance tests via Airflow", "path": ".github/workflows/evalml_main_airflow_performance_tests.yaml", "contents": "name: Run looking glass performance tests via Airflow\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  performance_tests:\n    name: Run looking glass performance tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n    steps:\n      - name: Generate default ISO timestamp\n        run: |\n          echo \"DEFAULT_TIMESTAMP=$(date +\"%Y-%m-%dT%H:%M:%S.%3NZ\")\" >> $GITHUB_ENV\n      - name: Checkout evalml\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n      - name: Get commit hashes\n        id: get_hashes\n        run: |\n          echo \"CURRENT_HASH=$(git rev-parse --short HEAD)\" >> $GITHUB_ENV\n          echo \"Latest commit hash: ${{ env.CURRENT_HASH }}\"\n          echo \"PREVIOUS_HASH=$(git rev-parse --short HEAD~1)\" >> $GITHUB_ENV\n          echo \"Previous commit hash: ${{ env.PREVIOUS_HASH }}\"\n      - name: Run default algorithm performance test\n        id: current_default\n        run: | \n          curl --location --request POST '${{ secrets.AIRFLOW_BASE_URL }}dags/evalml_automl_run_tests_generate_report/dagRuns' \\\n          -u '${{ secrets.AIRFLOW_USER }}:${{ secrets.AIRFLOW_PASS }}' \\\n          --header 'Content-Type: application/json' \\\n          --data-raw '{\n            \"conf\": {\n                  \"description\": \"${{ env.CURRENT_HASH }}_default )\",\n                  \"n_trials\": 1,\n                  \"pytest_args\": {\n                      \"automl-algo\": \"default\",\n                      \"ensembling\": false,\n                      \"max-batches\": 0,\n                      \"max-iterations\": 0,\n                      \"holdout-size\": 0.5,\n                      \"pred-vs-actual\": false\n                  },\n                  \"python_version\": \"3.9\",\n                  \"scenarios_yaml\": \"release.yaml\",\n                  \"evalml_branch_previous\": \"${{ env.PREVIOUS_HASH }}\",\n                  \"evalml_branch_new\": \"${{ env.CURRENT_HASH }}\",\n                  \"username\": \"${{ secrets.AIRFLOW_USER }}\",\n                  \"author\": \"${{ github.event.head_commit.author.name }}\"\n                },\n            \"logical_date\": \"${{ env.DEFAULT_TIMESTAMP }}\",\n            \"dag_run_id\": \"api_evalml_automl_run_tests_generate_report_default_${{ env.DEFAULT_TIMESTAMP }}\"\n          }'\n", "state": "active", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:23.212230", "created_at": "2022-05-13T22:38:39+02:00", "updated_at": "2022-10-27T02:35:54+02:00", "name": "Auto Approve Dependency PRs", "path": ".github/workflows/auto_approve_dependency_PRs.yaml", "contents": "name: Auto Approve Dependency PRs\non:\n  schedule:\n      - cron: '*/30 * * * *'\n  workflow_dispatch:\n  workflow_run:\n    workflows: [\"Unit tests, linux, latest dependencies\", \"Unit tests, linux, min dependencies\"]\n    branches:\n      - 'latest-dep-update-[a-f0-9]+'\n      - 'min-dep-update-[a-f0-9]+'\n    types:\n      - completed\njobs:\n  build:\n    if: github.repository_owner == 'alteryx'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Find dependency PRs\n        id: find_prs\n        run: |\n          gh auth status\n          gh pr list --repo \"${{ github.repository }}\" --assignee \"machineFL\" --base main --state open --search \"status:success review:required\" --limit 1 --json number > dep_PRs_waiting_approval.json\n          dep_pull_request=$(cat dep_PRs_waiting_approval.json | grep -Eo \"[0-9]*\")\n          echo ::set-output name=dep_pull_request::${dep_pull_request}\n        env:\n          GITHUB_TOKEN: ${{ secrets.AUTO_APPROVE_TOKEN }}\n      - name: Approve dependency PRs and enable auto-merge\n        id: approve_prs\n        if: ${{ steps.find_prs.outputs.dep_pull_request > 1 }}\n        run: |\n          gh pr review --repo \"${{ github.repository }}\" --comment --body \"auto approve\" ${{ steps.find_prs.outputs.dep_pull_request }}\n          gh pr review --repo \"${{ github.repository }}\" --approve ${{ steps.find_prs.outputs.dep_pull_request }}\n          gh pr merge --repo \"${{ github.repository }}\" --auto --squash --delete-branch ${{ steps.find_prs.outputs.dep_pull_request }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.AUTO_APPROVE_TOKEN }}\n", "state": "disabled_manually", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:24.453868", "created_at": "2022-05-13T22:38:40+02:00", "updated_at": "2024-07-05T17:28:11+02:00", "name": "Dependency update checker", "path": ".github/workflows/latest_dependency_checker.yaml", "contents": "name: Dependency update checker\non:\n  schedule:\n      - cron: '0 * * * *'\n  workflow_dispatch:\njobs:\n  update-deps:\n    if: github.repository_owner == 'alteryx'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v1\n        with:\n          python-version: '3.9.x'\n      - name: Update dependencies\n        id: vars\n        run: |\n          make installdeps-test\n          export DEPENDENCY_FILE_PATH=evalml/tests/dependency_update_check/latest_dependency_versions.txt\n          evalml/tests/dependency_update_check/make_deps_diff.sh\n          cat evalml/tests/dependency_update_check/latest_dependency_versions.txt\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          token: ${{ secrets.MACHINEFL_DEPENDENCY_CHECKER_TOKEN }}\n          commit-message: Update latest dependencies\n          title: Automated Latest Dependency Updates\n          author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n          body: \"This is an auto-generated PR with **latest** dependency updates.\"\n          branch: latest-dep-update\n          branch-suffix: short-commit-hash\n          delete-branch: true\n          base: main\n          assignees: machineFL\n          reviewers: jeremyliweishih, thehomebrewnerd, MichaelFu512, eccabay, christopherbunn\n", "state": "disabled_manually", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:25.526815", "created_at": "2022-05-13T22:38:40+02:00", "updated_at": "2024-06-28T22:47:58+02:00", "name": "Nightly unit tests, windows", "path": ".github/workflows/windows_nightlies.yaml", "contents": "name: Nightly unit tests, windows\n\non:\n  schedule:\n      - cron: '0 7 * * *'\n\njobs:\n  win_unit_tests:\n    if: github.repository_owner == 'alteryx'\n    name: Nightly ${{ matrix.python_version }} windows ${{ matrix.command}}\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: ['3.9', '3.10', '3.11']\n        command: ['git-test-automl', 'git-test-modelunderstanding', 'git-test-other-no-parallel-cpu', 'git-test-parallel', 'git-test-prophet-no-parallel-cpu']\n    steps:\n      - name: Download Miniconda\n        shell: pwsh\n        run: |\n          $File = \"Miniconda3-4.7.12.1-Windows-x86_64.exe\"\n          $Uri = \"https://repo.anaconda.com/miniconda/$File\"\n          $ProgressPreference = \"silentlyContinue\"\n          Invoke-WebRequest -Uri $Uri -Outfile \"$env:USERPROFILE/$File\"\n          $hashFromFile = Get-FileHash \"$env:USERPROFILE/$File\" -Algorithm SHA256\n          $hashFromUrl = \"f18060cc0bb50ae75e4d602b7ce35197c8e31e81288d069b758594f1bb46ab45\"\n          if ($hashFromFile.Hash -ne \"$hashFromUrl\") {\n            Throw \"File hashes did not match!\"\n          }\n      - name: Install Miniconda\n        shell: cmd\n        run: start /wait \"\" %UserProfile%\\Miniconda3-4.7.12.1-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /AddToPath=1 /S /D=%UserProfile%\\Miniconda3\n      - name: Set Python ${{ matrix.python_version }} Version\n        shell: pwsh\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda create -n curr_py python=${{ matrix.python_version }}\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          repository: ${{ github.repository }}\n          ref: main\n      - name: Install make\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda config --add channels conda-forge\n          conda activate curr_py\n          conda install make -q -y\n      - name: Install Graphviz\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda activate curr_py\n          conda config --add channels conda-forge\n          conda install -q -y -c conda-forge python-graphviz graphviz=9.0.0 pango=1.52.2\n      - name: Install numba (for shap)\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda activate curr_py\n          conda install numba -q -y\n      - if: ${{ matrix.command == 'git-test-prophet-no-parallel-cpu' }}\n        name: Install EvalML with test requirements and prophet\n        shell: pwsh\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda activate curr_py\n          python -m pip install --upgrade pip\n          python -m pip install .[test]\n          python -m pip install .[prophet]\n          pip freeze\n      - if: ${{ matrix.command != 'git-test-prophet-no-parallel-cpu' }}\n        name: Install EvalML with test requirements\n        shell: pwsh\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda activate curr_py\n          python -m pip install --upgrade pip\n          python -m pip install .[test]\n          pip freeze\n      - name: Run unit tests\n        run: |\n          . $env:USERPROFILE\\Miniconda3\\shell\\condabin\\conda-hook.ps1\n          conda activate curr_py\n          make ${{matrix.command}}\n      - name: Notify on Slack\n        uses: 8398a7/action-slack@v3\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          job_name: Nightly ${{ matrix.python_version }} windows ${{ matrix.command}}\n          status: ${{ job.status }}\n          fields: workflow,job,took\n          mention: channel\n          if_mention: failure,cancelled\n          text: ':elmofire:'\n        if: failure()\n", "state": "disabled_manually", "repository": "alteryx/evalml"}
{"mined_at": "2024-07-15T15:03:27.833210", "created_at": "2021-09-23T16:05:19+02:00", "updated_at": "2021-09-24T21:30:59+02:00", "name": "Test Yarn Workspaces", "path": ".github/workflows/annotated-pkgs.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Test Yarn Workspaces\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the main branch\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  yarn-monorepo-install:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v4\n        env:\n          FORCE_COLOR: 0\n        with:\n          node-version: 16\n\n      - name: Install yarn 3\n        run: npm i -g yarn\n\n      - name: Install package dependencies\n        run: yarn install\n\n      - name: Test that docusarus compiles\n        run: |\n          yarn workspaces list\n          yarn docs:build\n\n      - name: Build packages\n        run: yarn workspaces foreach -ptA run build\n\n      - name: Build packages with legacy setup\n        run:\n          cd packages/global-context-store && npm install && npm run build\n\n          # Disabling storybook / components for now. Will re-evaluate\n          # and move to separate repo if needed - Jan 26, 2023\n          #\n          # - name: Test that storybook compiles\n          # run: yarn workspace sb build-storybook\n", "state": "active", "repository": "facebookresearch/mephisto"}
{"mined_at": "2024-07-15T15:03:28.958332", "created_at": "2022-06-20T22:23:03+02:00", "updated_at": "2022-07-08T21:33:38+02:00", "name": "cypress-end-to-end-tests", "path": ".github/workflows/cypress-end-to-end-tests.yml", "contents": "name: cypress-end-to-end-tests\non:\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n  push:\n    branches: [main]\n    paths-ignore:\n      - \"**.md\"\nenv:\n  HYDRA_FULL_ERROR: 1\njobs:\n  # This job is made to setup path filtering, learn more about it here: https://github.com/facebookresearch/Mephisto/pull/857\n  changes:\n    runs-on: ubuntu-latest\n    # Set job outputs to values from filters step below\n    outputs:\n      simple_static_task: ${{ steps.filter.outputs.simple_static_task }}\n      static_react_task: ${{ steps.filter.outputs.static_react_task }}\n      static_react_task_with_tips: ${{ steps.filter.outputs.static_react_task_with_tips }}\n      mnist: ${{ steps.filter.outputs.mnist }}\n      template: ${{ steps.filter.outputs.template }}\n      toxicity_detection: ${{ steps.filter.outputs.toxicity_detection }}\n      abstractions: ${{ steps.filter.outputs.abstractions }}\n      data_model: ${{ steps.filter.outputs.data_model }}\n      operations: ${{ steps.filter.outputs.operations }}\n      tools: ${{ steps.filter.outputs.tools }}\n      mephisto-task: ${{ steps.filter.outputs.mephisto-task }}\n      mephisto-worker-addons: ${{ steps.filter.outputs.mephisto-worker-addons }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n      # Workaround to avoid Post Use step failures. See: https://github.com/actions/setup-node/issues/317\n      - run: mkdir -p /home/runner/work/Mephisto/Mephisto/.yarn/cache\n        continue-on-error: true\n      - uses: actions/setup-node@v4\n        with:\n          cache: \"yarn\"\n          node-version: 16\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            simple_static_task:\n              - 'examples/simple_static_task/**'\n            static_react_task:\n              - 'examples/static_react_task/**'\n            static_react_task_with_tips:\n              - 'examples/static_react_task_with_tips/**'\n            mnist:\n              - 'examples/remote_procedure/mnist/**'\n            template:\n              - 'examples/remote_procedure/template/**'\n            toxicity_detection:\n              - 'examples/remote_procedure/toxicity_detection/**'\n            abstractions:\n              - 'mephisto/abstractions/**'\n            data_model:\n              - 'mephisto/data_model/**'\n            operations:\n              - 'mephisto/operations/**'\n            tools:\n              - 'mephisto/tools/**'\n            mephisto-task:\n              - 'packages/mephisto-task/src/**'\n            mephisto-worker-addons:\n              - 'packages/mephisto-worker-addons/src/**'\n\n  # Learn more about this test here: https://github.com/facebookresearch/Mephisto/pull/881\n  simple_static_task:\n    needs: changes\n    if: ${{ (needs.changes.outputs.simple_static_task == 'true') || (needs.changes.outputs.mephisto-task == 'true') || (needs.changes.outputs.abstractions == 'true') || (needs.changes.outputs.data_model == 'true') || (needs.changes.outputs.operations == 'true') || (needs.changes.outputs.tools == 'true')}}\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🔀 Checking out repo\n        uses: actions/checkout@v2\n\n      - name: 🐍 Installing python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: 🪨 Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 16.16.0\n\n      - name: 🤖 Install Mephisto\n        run: pip install -e .\n\n      - name: 🖋 Create data directory\n        run: mkdir -p ~/mephisto/data\n\n      - name: 📂 Set the data directory\n        run: mephisto config core.main_data_directory ~/mephisto/data\n\n      - name: 📦 Setting up mephisto-task package\n        run: |\n          cd packages/mephisto-task\n          yarn install\n          yarn build\n          npm link\n\n      - name: ⌛️ Running cypress tests\n        uses: cypress-io/github-action@v3.1.0\n        with:\n          build: npm i -D cypress@11\n          install: false\n          browser: chrome\n          project: ./mephisto/abstractions/blueprints/static_html_task/source\n          config-file: ./cypress.config.js\n          start: python ./examples/simple_static_task/run_task.py\n          wait-on: \"http://localhost:3000/?worker_id=x&assignment_id=1\"\n          headless: true\n\n  # Learn more about this test here: https://github.com/facebookresearch/Mephisto/pull/795\n  static-react-task:\n    needs: changes\n    if: ${{ (needs.changes.outputs.static_react_task == 'true') || (needs.changes.outputs.mephisto-task == 'true') || (needs.changes.outputs.abstractions == 'true') || (needs.changes.outputs.data_model == 'true') || (needs.changes.outputs.operations == 'true') || (needs.changes.outputs.tools == 'true')}}\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🔀 Checking out repo\n        uses: actions/checkout@v2\n\n      - name: 🐍 Installing python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: 🪨 Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 16.16.0\n\n      - name: 🤖 Install Mephisto\n        run: pip install -e .\n\n      - name: 🖋 Create data directory\n        run: mkdir -p ~/mephisto/data\n\n      - name: 📂 Set the data directory\n        run: mephisto config core.main_data_directory ~/mephisto/data\n\n      - name: 📦 Setting up mephisto-task package\n        run: |\n          cd packages/mephisto-task\n          yarn install\n          yarn build\n          npm link\n\n      - name: ⌛️ Running cypress tests\n        uses: cypress-io/github-action@v3.1.0\n        with:\n          build: npm i -D cypress@11\n          install: false\n          browser: chrome\n          project: ./examples/static_react_task/webapp\n          config-file: ./cypress.config.js\n          start: python examples/static_react_task/run_task.py mephisto.task.post_install_script=link_mephisto_task.sh\n          wait-on: \"http://localhost:3000/?worker_id=x&assignment_id=1\"\n          headless: true\n\n  # Learn more about the remote_procedure_tests here: https://github.com/facebookresearch/Mephisto/pull/800\n  remote_procedure_template:\n    needs: changes\n    if: ${{ (needs.changes.outputs.template == 'true') || (needs.changes.outputs.mephisto-task == 'true') || (needs.changes.outputs.abstractions == 'true') || (needs.changes.outputs.data_model == 'true') || (needs.changes.outputs.operations == 'true') || (needs.changes.outputs.tools == 'true')}}\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🔀 Checking out repo\n        uses: actions/checkout@v2\n\n      - name: 🐍 Installing python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: 🪨 Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 16.16.0\n\n      - name: 🤖 Install Mephisto\n        run: pip install -e .\n\n      - name: 🖋 Create data directory\n        run: mkdir -p ~/mephisto/data\n\n      - name: 📂 Set the data directory\n        run: mephisto config core.main_data_directory ~/mephisto/data\n\n      - name: 📦 Setting up mephisto-task package\n        run: |\n          cd packages/mephisto-task\n          yarn install\n          yarn build\n          npm link\n\n      - name: ⌛️ Running cypress tests\n        uses: cypress-io/github-action@v3.1.0\n        with:\n          build: npm i -D cypress@11\n          install: false\n          browser: chrome\n          project: ./examples/remote_procedure/template/webapp\n          config-file: ./cypress.config.js\n          start: python examples/remote_procedure/template/run_task.py mephisto.task.post_install_script=link_mephisto_task.sh\n          wait-on: \"http://localhost:3000/?worker_id=x&assignment_id=1\"\n          headless: true\n\n  remote_procedure_mnist:\n    needs: changes\n    if: ${{ (needs.changes.outputs.mnist == 'true') || (needs.changes.outputs.mephisto-task == 'true') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🔀 Checking out repo\n        uses: actions/checkout@v2\n\n      - name: 🐍 Installing python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: 🪨 Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 16.16.0\n\n      - name: 🤖 Install Mephisto\n        run: |\n          pip install -e .\n          pip install torch pillow numpy\n\n      - name: 🖋 Create data directory\n        run: mkdir -p ~/mephisto/data\n\n      - name: 📂 Set the data directory\n        run: mephisto config core.main_data_directory ~/mephisto/data\n\n      - name: 📦 Setting up mephisto-task package\n        run: |\n          cd packages/mephisto-task\n          yarn install\n          yarn build\n          npm link\n\n      - name: ⌛️ Running cypress tests\n        uses: cypress-io/github-action@v3.1.0\n        with:\n          build: npm i -D cypress@11\n          install: false\n          browser: chrome\n          project: ./examples/remote_procedure/mnist/webapp\n          config-file: ./cypress.config.js\n          start: python examples/remote_procedure/mnist/run_task.py mephisto.task.post_install_script=link_mephisto_task.sh\n          wait-on: \"http://localhost:3000/?worker_id=x&assignment_id=1\"\n          headless: true\n\n  remote_procedure_toxicity_detection:\n    needs: changes\n    if: ${{ (needs.changes.outputs.toxicity_detection == 'true') || (needs.changes.outputs.mephisto-task == 'true') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🔀 Checking out repo\n        uses: actions/checkout@v2\n\n      - name: 🐍 Installing python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: 🪨 Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 16.16.0\n\n      - name: 🤖 Install Mephisto\n        run: |\n          pip install -e .\n          pip install detoxify\n\n      - name: 🖋 Create data directory\n        run: mkdir -p ~/mephisto/data\n\n      - name: 📂 Set the data directory\n        run: mephisto config core.main_data_directory ~/mephisto/data\n\n      - name: 📦 Setting up mephisto-task package\n        run: |\n          cd packages/mephisto-task\n          yarn install\n          yarn build\n          npm link\n\n      - name: ⌛️ Running cypress tests\n        uses: cypress-io/github-action@v3.1.0\n        with:\n          build: npm i -D cypress@11\n          install: false\n          browser: chrome\n          project: ./examples/remote_procedure/toxicity_detection/webapp\n          config-file: ./cypress.config.js\n          start: python examples/remote_procedure/toxicity_detection/run_task.py mephisto.task.post_install_script=link_mephisto_task.sh\n          wait-on: \"http://localhost:3000/?worker_id=x&assignment_id=1\"\n          headless: true\n\n  # Learn more about this test here: https://github.com/facebookresearch/Mephisto/pull/833\n  static_react_task_with_tips:\n    needs: changes\n    if: ${{ (needs.changes.outputs.static_react_task_with_tips == 'true') || (needs.changes.outputs.mephisto-task == 'true') || (needs.changes.outputs.mephisto-worker-addons == 'true') || (needs.changes.outputs.abstractions == 'true') || (needs.changes.outputs.data_model == 'true') || (needs.changes.outputs.operations == 'true') || (needs.changes.outputs.tools == 'true')}}\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🔀 Checking out repo\n        uses: actions/checkout@v2\n      - name: 🐍 Installing python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: 🪨 Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 16.16.0\n\n      - name: 🤖 Install Mephisto\n        run: |\n          pip install -e .\n          yes | pip uninstall detoxify\n\n      - name: 🖋 Create data directory\n        run: mkdir -p ~/mephisto/data\n\n      - name: 📂 Set the data directory\n        run: mephisto config core.main_data_directory ~/mephisto/data\n\n      - name: 📦 Setting up mephisto-task package\n        run: |\n          cd packages/mephisto-task\n          yarn install\n          yarn build\n          npm link\n\n      - name: 📦 Setting up mephisto-worker-addons package\n        run: |\n          cd packages/mephisto-worker-addons\n          yarn install\n          yarn build\n          npm link\n\n      - name: ⌛️ Running pre-submission cypress tests\n        uses: cypress-io/github-action@v3.1.0\n        with:\n          build: npm i -D cypress@11\n          install: false\n          browser: chrome\n          project: ./examples/static_react_task_with_tips/webapp\n          config-file: ./cypress.config.js\n          spec: ./examples/static_react_task_with_tips/webapp/cypress/e2e/pre_submission_tests/*\n          start: python examples/static_react_task_with_tips/run_task.py mephisto.task.force_rebuild=true mephisto.task.post_install_script=link_packages.sh\n          wait-on: \"http://localhost:3000/?worker_id=x&assignment_id=1\"\n          headless: true\n\n      - name: 🔪 Killing the web server\n        run: |\n          lsof -nPi :3000\n          lsof -i -P -n | grep LISTEN | grep python | awk '{print $2}'\n          kill -INT $(lsof -i -P -n | grep LISTEN | grep python | awk '{print $2}')\n          echo \"killed 1\"\n          sleep 0.5\n          kill -INT $(lsof -i -P -n | grep LISTEN | grep python | awk '{print $2}')\n          echo \"killed 2\"\n          lsof -i -P -n | grep LISTEN | grep node | awk '{print $2}'\n          kill -INT $(lsof -i -P -n | grep LISTEN | grep node | awk '{print $2}')\n          sleep 30\n          echo \"30 seconds passed\"\n\n      - name: 🥛 Expiring units\n        run: |\n          cd mephisto/scripts/local_db/gh_actions\n          python expire_all_units.py\n\n      - name: 📚 Accepting the first submitted tip, accepting the second submitted tip, and rejecting the last submitted tip\n        run: |\n          cd mephisto/scripts/local_db\n          python review_tips_for_task.py << EOF\n          react-static-task-with-tips\n          a\n          5\n          The tip is very informative\n          a\n          0\n          r\n          EOF\n\n      - name: 🔥 Removing the second accepted tip\n        run: |\n          cd mephisto/scripts/local_db\n          python remove_accepted_tip.py << EOF\n          react-static-task-with-tips\n          n\n          y\n          EOF\n\n      - name: 📖 Reviewing the accepted feedback\n        run: |\n          cd mephisto/scripts/local_db\n          python review_feedback_for_task.py << EOF\n          react-static-task-with-tips\n          0\n          n\n          u\n          y\n          y\n          EOF\n          python review_feedback_for_task.py << EOF\n          react-static-task-with-tips\n          1\n          n\n          u\n          y\n          n\n          EOF\n\n      - name: ⌛️ Running post-submission cypress tests\n        uses: cypress-io/github-action@v3.1.0\n        with:\n          build: npm i -D cypress@11\n          install: false\n          project: ./examples/static_react_task_with_tips/webapp\n          config-file: cypress.config.js\n          spec: ./examples/static_react_task_with_tips/webapp/cypress/e2e/post_submission_tests/*\n          start: python examples/static_react_task_with_tips/run_task.py mephisto.task.post_install_script=link_packages.sh mephisto.task.force_rebuild=true\n          wait-on: \"http://localhost:3000/?worker_id=x&assignment_id=1\"\n          browser: chrome\n          headless: true\n", "state": "active", "repository": "facebookresearch/mephisto"}
{"mined_at": "2024-07-15T15:03:30.079720", "created_at": "2022-02-25T17:54:57+01:00", "updated_at": "2022-02-25T17:54:57+01:00", "name": "Deploy docs to GitHub Pages", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Deploy docs to GitHub Pages\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"docs/web/**\"\n\njobs:\n  deploy:\n    name: Deploy docs to GitHub Pages\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: docs/web\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v4\n        env:\n          FORCE_COLOR: 0\n        with:\n          node-version: 16.16.0\n          cache: yarn\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: 🤖 Install Mephisto\n        run: |\n          cd ../../\n          curl -fsS -o get-poetry.py https://install.python-poetry.org\n          python3 get-poetry.py -y\n          echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n          poetry config virtualenvs.create false\n          poetry install\n\n      - name: 🖋 Create data directory\n        run: mkdir -p ~/mephisto/data\n\n      - name: 📂 Set the data directory\n        run: mephisto config core.main_data_directory ~/mephisto/data\n\n      - name: 📝 Auto Generate Blueprint Docs\n        run: |\n          cd ../../mephisto/scripts/local_db/gh_actions\n          python auto_generate_blueprint.py\n          python auto_generate_architect.py\n          python auto_generate_requester.py\n          python auto_generate_provider.py\n      - name: Install dependencies\n        run: yarn install --frozen-lockfile\n      - name: Build website\n        run: yarn build\n\n      # Popular action to deploy to GitHub Pages:\n      # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus\n      - name: Deploy to GitHub Pages\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          # Build output to publish to the `gh-pages` branch:\n          publish_dir: ./docs/web/build\n          # The following lines assign commit authorship to the official\n          # GH-Actions bot for deploys to `gh-pages` branch:\n          # https://github.com/actions/checkout/issues/13#issuecomment-724415212\n          # The GH actions bot is used by default if you didn't specify the two fields.\n          # You can swap them out with your own user credentials.\n          user_name: github-actions[bot]\n          user_email: 41898282+github-actions[bot]@users.noreply.github.com\n", "state": "active", "repository": "facebookresearch/mephisto"}
{"mined_at": "2024-07-15T15:03:31.313137", "created_at": "2024-07-11T19:11:40+02:00", "updated_at": "2024-07-11T19:11:40+02:00", "name": "Docker Testing Matrix for manual installation script", "path": ".github/workflows/docker-testing-matrix-manual-install.yml", "contents": null, "state": "active", "repository": "facebookresearch/mephisto"}
{"mined_at": "2024-07-15T15:03:32.469117", "created_at": "2021-01-27T06:17:25+01:00", "updated_at": "2024-07-05T17:31:40+02:00", "name": "Docker Testing Matrix", "path": ".github/workflows/docker-testing-matrix.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Docker Testing Matrix\n\n# Controls when the action will run.\non:\n  schedule:\n    # Run once a week, in this case on Sundays\n    - cron: \"0 0 * * 0\"\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  check:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false # Run all combos, don't skip on failures\n      matrix:\n        # from: https://hub.docker.com/r/nikolaik/python-nodejs\n        python-version: [\"3.9\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"latest\"]\n        nodejs-version: [\"15\", \"14\", \"12\", \"10\"]\n        image-suffix: [\"\", \"-slim\"]\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n\n      # Runs a single command using the runners shell\n      - name: Build docker image - python${{ matrix.python-version }}-nodejs${{ matrix.nodejs-version }}${{ matrix.image-suffix }}\n        run: docker build -t mephisto --build-arg BASE_TAG=python${{ matrix.python-version }}-nodejs${{ matrix.nodejs-version }}${{ matrix.image-suffix }} .\n\n      - name: Print out version numbers\n        run: docker run mephisto bash -c 'python --version && node --version && npm --version'\n\n      # Runs a set of commands using the runners shell\n      - name: Check that Mephisto was installed correctly\n        run: |\n          docker run mephisto\n\n      - name: Run npm install for static_html_task\n        run: |\n          docker run mephisto bash -c 'cd /mephisto/mephisto/abstractions/blueprints/static_html_task/source && npm install'\n", "state": "active", "repository": "facebookresearch/mephisto"}
{"mined_at": "2024-07-15T15:03:33.573429", "created_at": "2022-02-22T15:16:51+01:00", "updated_at": "2022-03-22T22:52:42+01:00", "name": "npm-check", "path": ".github/workflows/npm-check.yml", "contents": "name: npm-check\n\non:\n  pull_request:\n    branches: [main]\n\njobs:\n  mephisto-task-latest:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install Mephisto\n        run: pip install -e .\n      - name: Run version sync script\n        run: python scripts/check_npm_package_versions.py\n", "state": "active", "repository": "facebookresearch/mephisto"}
{"mined_at": "2024-07-15T15:03:34.799916", "created_at": "2020-09-23T03:39:05+02:00", "updated_at": "2020-09-23T03:39:05+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  code-style:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "facebookresearch/mephisto"}
{"mined_at": "2024-07-15T15:03:35.844966", "created_at": "2020-09-18T22:02:49+02:00", "updated_at": "2022-07-21T23:30:57+02:00", "name": "Python test", "path": ".github/workflows/python-test.yml", "contents": "# This workflow will run tests on several python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python test\n\non: push\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest pytest-cov\n          pip install -e .\n      - name: Test with pytest\n        run: |\n          python -m pytest -v -m \"not req_creds and not prolific\" --cov --cov-report=xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          fail_ci_if_error: true\n", "state": "active", "repository": "facebookresearch/mephisto"}
{"mined_at": "2024-07-15T15:03:36.944538", "created_at": "2022-02-25T17:41:58+01:00", "updated_at": "2022-02-25T17:54:57+01:00", "name": "Test docs deployment", "path": ".github/workflows/test-deploy-docs.yml", "contents": "name: Test docs deployment\n\non:\n  pull_request:\n    paths:\n      - \"docs/web/**\"\n    branches:\n      - main\n    # Review gh actions docs if you want to further define triggers, paths, etc\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on\n\njobs:\n  test-deploy:\n    name: Test docs deployment\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: docs/web\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 16.16.0\n          cache: yarn\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: 🤖 Install Mephisto\n        run: |\n          cd ../../\n          curl -fsS -o get-poetry.py https://install.python-poetry.org\n          python3 get-poetry.py -y\n          echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n          poetry config virtualenvs.create false\n          poetry install\n\n      - name: 🖋 Create data directory\n        run: mkdir -p ~/mephisto/data\n\n      - name: 📂 Set the data directory\n        run: mephisto config core.main_data_directory ~/mephisto/data\n\n      - name: 📝 Auto Generate Blueprint Docs\n        run: |\n          cd ../../mephisto/scripts/local_db/gh_actions\n          python auto_generate_blueprint.py\n          python auto_generate_architect.py\n          python auto_generate_requester.py\n          python auto_generate_provider.py\n\n      - name: Install dependencies\n        run: yarn install --frozen-lockfile\n      - name: Test build website\n        run: yarn build\n", "state": "active", "repository": "facebookresearch/mephisto"}
{"mined_at": "2024-07-15T15:03:38.070868", "created_at": "2022-02-17T16:36:19+01:00", "updated_at": "2022-03-22T22:52:42+01:00", "name": "version-sync", "path": ".github/workflows/version-sync.yml", "contents": "name: version-sync\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  mephisto-task-version:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install Mephisto\n        run: pip install -e .\n      - name: Run version sync script\n        run: python scripts/sync_mephisto_task.py check\n", "state": "active", "repository": "facebookresearch/mephisto"}
{"mined_at": "2024-07-15T15:03:39.172231", "created_at": "2021-12-29T21:27:16+01:00", "updated_at": "2021-12-29T21:27:16+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "facebookresearch/mephisto"}
{"mined_at": "2024-07-15T15:03:41.452369", "created_at": "2022-03-22T08:22:30+01:00", "updated_at": "2022-05-04T16:58:33+02:00", "name": "Licence-date-verification", "path": ".github/workflows/pullrequest.yml", "contents": "name: Licence-date-verification\non:\n  pull_request:\n    branches:\n      - master\n      - v*\n\nenv:\n  EXTENSIONS: \"c h cpp py go sh mk spec service\"\n  FILES: \"configure configure.d/* *Makefile utils/casctl tools/pckgen.d/deb/debian/rules\"\njobs:\n  verify-date:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.1.0\n        with:\n          fetch-depth: 0\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v18.2\n        with:\n          files_ignore: '.github/**'\n      - name: List all changed files\n        run: |\n          files_to_check=(${{ steps.changed-files.outputs.added_files }})\n          files_to_check+=(${{ steps.changed-files.outputs.modified_files }})\n\n          for file in ${files_to_check[@]}; do\n            for file_in_list in $FILES; do\n              if [[ \"$file\" == $file_in_list ]]; then\n                .github/verify_header.sh \"$file\"\n                continue 2\n              fi\n            done\n\n            extension=${file##*.}\n            if [[ \"$EXTENSIONS\" =~ $extension ]]; then\n              .github/verify_header.sh \"$file\"\n            fi\n          done\n", "state": "active", "repository": "open-cas/open-cas-linux"}
{"mined_at": "2024-07-15T15:03:43.608122", "created_at": "2023-12-08T04:13:49+01:00", "updated_at": "2023-12-08T04:13:49+01:00", "name": "Python Tests and Wheel", "path": ".github/workflows/main.yml", "contents": null, "state": "active", "repository": "sys-bio/tellurium"}
{"mined_at": "2024-07-15T15:03:45.691836", "created_at": "2022-02-19T12:38:37+01:00", "updated_at": "2022-02-19T12:38:37+01:00", "name": "check syntax", "path": ".github/workflows/ci.yml", "contents": "name: check syntax\n\non:\n  push:\n    branches: [ FAST ]\n  pull_request:\n    branches: [ FAST ]\n\njobs:\n  VerifyFiles:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n    - name: check json syntax\n      run: |\n        cd ${{github.workspace}}/script\n        python check_file.py\n", "state": "active", "repository": "projectsky/frackinuniverse-schinese-project"}
{"mined_at": "2024-07-15T15:03:47.901695", "created_at": "2022-11-11T15:39:21+01:00", "updated_at": "2022-11-13T04:35:04+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\", \"devel\", \"codeql\" ]\n    paths-ignore:\n      - 'docs/**'\n  pull_request:\n    branches: [ \"master\", \"devel\" ]\n  schedule:\n    - cron: \"14 21 * * 5\"\n\n# run only the latest instance of this workflow job for the current branch/PR\n# cancel older runs\n# fall back to run id if not available (run id is unique -> no cancellations)\nconcurrency:\n  group: ci-${{ github.ref || github.run_id }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 100\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Pip cache cleanup\n        shell: bash\n        # CODEQL_PYTHON is only defined if dependencies were installed [0]\n        # [0] https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning?learn=code_security_actions&learnProduct=code-security#analyzing-python-dependencies\n        if: ${{ env.CODEQL_PYTHON != '' }}\n        run: |\n          $CODEQL_PYTHON -m pip cache info\n          $CODEQL_PYTHON -m pip cache purge\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "princetonuniversity/psyneulink"}
{"mined_at": "2024-07-15T15:03:49.063989", "created_at": "2021-04-28T04:47:07+02:00", "updated_at": "2021-04-28T04:47:07+02:00", "name": "Add doc diff to PR comment", "path": ".github/workflows/compare-comment.yml", "contents": "name: \"Add doc diff to PR comment\"\n\non:\n  workflow_run:\n    workflows: [\"PsyNeuLink Docs CI\"]\n    types:\n      - completed\n\njobs:\n  docs-compare:\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.event == 'pull_request' &&\n        github.event.workflow_run.conclusion == 'success'\n    permissions:\n      actions: read\n      pull-requests: write\n\n    steps:\n    - name: 'Download docs artifacts'\n      id: docs-artifacts\n      uses: actions/github-script@v7\n      with:\n        script: |\n          var artifacts = await github.rest.actions.listWorkflowRunArtifacts({\n             owner: context.repo.owner,\n             repo: context.repo.repo,\n             run_id: ${{ github.event.workflow_run.id }},\n          });\n          const docsPrefix = 'Documentation-base-'\n          const docsSuffix = artifacts.data.artifacts.filter((artifact) => {\n            return artifact.name.startsWith(docsPrefix)\n          }).slice(-1)[0].name.slice(docsPrefix.length);\n\n          core.setOutput('DOCS_GEN_ENV', docsSuffix);\n\n          var docsArtifacts = artifacts.data.artifacts.filter((artifact) => {\n            return (\n              (artifact.name.endsWith(docsSuffix) && artifact.name.startsWith('Documentation-'))\n              || artifact.name == 'pr_number'\n            )\n          });\n\n          // check that we got exactly 3 artifacts\n          console.assert(docsArtifacts.length == 3, docsSuffix, docsArtifacts, artifacts.data.artifacts);\n\n          var fs = require('fs');\n          for (artifact of docsArtifacts) {\n            console.log('Downloading: ' + artifact.name);\n            var download = await github.rest.actions.downloadArtifact({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               artifact_id: artifact.id,\n               archive_format: 'zip',\n            });\n            fs.writeFileSync('${{ github.workspace }}/' + artifact.name + '.zip', Buffer.from(download.data));\n          }\n\n    - name: Unzip artifacts\n      shell: bash\n      run: |\n        unzip Documentation-base-*.zip -d docs-base/\n        unzip Documentation-head-*.zip -d docs-head/\n        unzip pr_number.zip\n\n    - name: Compare\n      shell: bash\n      run: |\n        # Store the resulting diff, or 'No differences!' to and output file\n        # The 'or true' part is needed to workaround 'pipefail' flag used by github-actions\n        (diff -r docs-base docs-head && echo 'No differences!' || true) | tee ./result.diff\n\n    - name: Post comment with docs diff\n      uses: actions/github-script@v7\n      with:\n        script: |\n          var fs = require('fs');\n          var text = fs.readFileSync(\"./result.diff\").slice(0,16384);\n          var issue_number = Number(fs.readFileSync('./pr_number.txt'));\n\n          console.log('Posting diff to PR: ' + issue_number);\n\n          github.rest.issues.createComment({\n            issue_number: issue_number,\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            body: 'This PR causes the following changes to the html docs (${{ steps.docs-artifacts.outputs.DOCS_GEN_ENV }}):\\n```\\n' + text + '\\n...\\n```\\nSee CI logs for the full diff.'\n          })\n", "state": "active", "repository": "princetonuniversity/psyneulink"}
{"mined_at": "2024-07-15T15:03:50.108149", "created_at": "2021-01-14T19:00:24+01:00", "updated_at": "2021-04-23T01:44:46+02:00", "name": "PsyNeuLink Docs CI", "path": ".github/workflows/pnl-ci-docs.yml", "contents": "name: PsyNeuLink Docs CI\n\non:\n  push:\n    branches-ignore:\n      - 'dependabot/**'\n    tags:\n      - 'v*'\n  pull_request:\n\n# run only the latest instance of this workflow job for the current branch/PR\n# cancel older runs\n# fall back to run id if not available (run id is unique -> no cancellations)\nconcurrency:\n  group: ci-${{ github.ref || github.run_id }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  docs-build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      # Matrix setup is a hacky way to include 'base' build in pull requests\n      # The entire matrix is set up and 'base' builds are pruned based\n      # on event name and final configuration (ubuntu, python3.11).\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n        python-architecture: ['x64']\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        event:\n          - ${{ github.event_name }}\n        pnl-version: ['head', 'base']\n        exclude:\n          - event: 'push'\n            pnl-version: 'base'\n          - os: macos-latest\n            pnl-version: 'base'\n          - os: windows-latest\n            pnl-version: 'base'\n          - python-version: '3.7'\n            pnl-version: 'base'\n          - python-version: '3.8'\n            pnl-version: 'base'\n          - python-version: '3.9'\n            pnl-version: 'base'\n          - python-version: '3.10'\n            pnl-version: 'base'\n\n    outputs:\n      on_master: ${{ steps.on_master.outputs.on-branch }}\n\n    steps:\n    # Increased fetch-depth and tag checkout needed compared to pnl-ci.yml\n    - name: Checkout sources\n      uses: actions/checkout@v4\n      if: ${{ matrix.pnl-version == 'head' }}\n      with:\n        fetch-depth: 200\n        ref: ${{ github.ref }}\n\n    - name: Checkout pull base\n      uses: actions/checkout@v4\n      if: ${{ matrix.pnl-version == 'base' }}\n      with:\n        fetch-depth: 200\n        ref: ${{ github.base_ref }}\n\n    - name: Checkout tags\n      run: git fetch --tags origin master\n\n    - name: Check if on master\n      if: ${{ github.event_name == 'push' }}\n      id: on_master\n      uses: ./.github/actions/on-branch\n      with:\n        branch: master\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        # Block python3.7.17 on macos. see:\n        # https://github.com/actions/setup-python/issues/682\n        python-version: ${{ (matrix.os == 'macos-latest' && matrix.python-version == '3.7') && '3.7.16' || matrix.python-version }}\n        architecture: ${{ matrix.python-architecture }}\n\n    - name: Get pip cache location\n      shell: bash\n      id: pip_cache\n      run: |\n        python -m pip install -U pip\n        python -m pip --version\n        echo \"pip_cache_dir=$(python -m pip cache dir)\" | tee -a $GITHUB_OUTPUT\n\n    - name: Wheels cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip_cache.outputs.pip_cache_dir }}/wheels\n        key: ${{ runner.os }}-python-${{ matrix.python-version }}-${{ matrix.python-architecture }}-pip-wheels-${{ hashFiles('requirements.txt', 'doc_requirements.txt') }}-${{ github.sha }}\n        restore-keys: ${{ runner.os }}-python-${{ matrix.python-version }}-${{ matrix.python-architecture }}-pip-wheels-${{ hashFiles('requirements.txt', 'doc_requirements.txt') }}\n\n    # We need to install all PNL deps since docs config imports psyneulink module\n    - name: Install local, editable PNL package\n      uses: ./.github/actions/install-pnl\n      with:\n        features: 'doc'\n\n    - name: Add git tag\n      # The generated docs include PNL version,\n      # set it to a fixed value to prevent polluting the diff\n      # This needs to be done after installing PNL\n      # to not interfere with dependency resolution\n      id: add_zero_tag\n      if: github.event_name == 'pull_request'\n      run: git tag --force 'v0.0.0.0'\n\n    - name: Build Documentation\n      run: make -C docs/ html -e SPHINXOPTS=\"-aE -j auto\"\n\n    - name: Remove git tag\n      # The generated docs include PNL version,\n      # A special tag was set to a fixed value\n      # to prevent polluting the diff\n      if: steps.add_zero_tag.outcome != 'skipped'\n      run: git tag -d 'v0.0.0.0'\n\n    - name: Upload Documentation\n      uses: actions/upload-artifact@v4\n      with:\n        name: Documentation-${{matrix.pnl-version}}-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.python-architecture }}\n        retention-days: 1\n        path: docs/build/html\n\n    - name: Store PR number\n      # The 'base' variant runs only on pull requests and has only one job\n      if: ${{ matrix.pnl-version == 'base' }}\n      run: echo ${{ github.event.pull_request.number }} > ./pr_number.txt\n\n    - name: Upload PR number for other workflows\n      # The 'base' variant runs only on pull requests and has only one job\n      if: ${{ matrix.pnl-version == 'base' }}\n      uses: actions/upload-artifact@v4\n      with:\n          name: pr_number\n          path: ./pr_number.txt\n\n\n  docs-deploy:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.11]\n        os: [ubuntu-latest]\n\n    runs-on: ${{ matrix.os }}\n    permissions:\n      contents: write\n    needs: [docs-build]\n    environment: github-pages\n    if: github.event_name == 'push' &&\n        (github.ref == 'refs/heads/master' ||\n         github.ref == 'refs/heads/devel' ||\n         github.ref == 'refs/heads/docs' ||\n         (startsWith(github.ref, 'refs/tags/') && contains(needs.*.outputs.on_master, 'master'))\n        )\n\n    steps:\n    - name: Checkout docs\n      uses: actions/checkout@v4\n      with:\n        ref: gh-pages\n\n    - name: Download branch docs\n      uses: actions/download-artifact@v4\n      with:\n        name: Documentation-head-${{ matrix.os }}-${{ matrix.python-version }}-x64\n        path: _built_docs/${{ github.ref }}\n      if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/devel' || github.ref == 'refs/heads/docs'\n\n    - name: Update branch docs\n      shell: bash\n      run: |\n        mkdir -p branch\n        rm -rf \"branch/${GITHUB_REF##*/}\"\n        # Remove '.doctrees' and move to correct location\n        rm -rf \"_built_docs/${GITHUB_REF}/.doctrees\"\n        mv -f \"_built_docs/${GITHUB_REF}\" branch/\n      if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/devel' || github.ref == 'refs/heads/docs'\n\n    - name: Download main docs\n      uses: actions/download-artifact@v4\n      with:\n        name: Documentation-head-${{ matrix.os }}-${{ matrix.python-version }}-x64\n        # This overwrites files in current directory\n      if: startsWith(github.ref, 'refs/tags/') && contains(needs.*.outputs.on_master, 'master')\n\n    - name: Update main docs\n      shell: bash\n      run: |\n        # Remove '.doctrees'\n        rm -rf \".doctrees\"\n      if: startsWith(github.ref, 'refs/tags/') && contains(needs.*.outputs.on_master, 'master')\n\n    - name: Commit docs changes\n      shell: bash\n      run: |\n        # Commit changes to git\n        git add .\n        git config user.name \"Documentation Bot\"\n        git config user.email \"doc-bot@psyneulink.princeton.edu\"\n        git commit -m \"Docs changes for $GITHUB_REF $GITHUB_SHA\"\n        git push\n", "state": "active", "repository": "princetonuniversity/psyneulink"}
{"mined_at": "2024-07-15T15:03:51.280822", "created_at": "2019-12-19T04:56:28+01:00", "updated_at": "2022-11-13T05:12:58+01:00", "name": "PsyNeuLink CI", "path": ".github/workflows/pnl-ci.yml", "contents": "name: PsyNeuLink CI\n\non:\n  schedule:\n    - cron: \"22 2 * * *\"\n  push:\n    branches-ignore:\n      - 'dependabot/**'\n    paths-ignore:\n      - 'docs/**'\n      - 'doc_requirements.txt'\n    tags-ignore:\n      - 'v**'\n  pull_request:\n\nenv:\n  SELF_HOSTED_MACOS: ${{ secrets.SELF_HOSTED_MACOS }}\n  SELF_HOSTED_LINUX: ${{ secrets.SELF_HOSTED_LINUX }}\n  SELF_HOSTED_WINDOWS: ${{ secrets.SELF_HOSTED_WINDOWS }}\n\n# run only the latest instance of this workflow job for the current branch/PR\n# cancel older runs\n# fall back to run id if not available (run id is unique -> no cancellations)\nconcurrency:\n  group: ci-${{ github.ref || github.run_id }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  # A job to select self-hosted runner if requested by an env var\n  select-runner:\n    runs-on: ubuntu-latest\n\n    outputs:\n      self_hosted_macos: ${{ steps.is_self_hosted.outputs.macos && 'macos' || '' }}\n      self_hosted_linux: ${{ steps.is_self_hosted.outputs.linux && 'linux' || '' }}\n      self_hosted_windows: ${{ steps.is_self_hosted.outputs.windows && 'windows' || '' }}\n\n    steps:\n    - name: Add macos\n      id: is_self_hosted\n      run: |\n        echo \"macos=$SELF_HOSTED_MACOS\" | tee -a $GITHUB_OUTPUT\n        echo \"linux=$SELF_HOSTED_LINUX\" | tee -a $GITHUB_OUTPUT\n        echo \"windows=$SELF_HOSTED_WINDOWS\" | tee -a $GITHUB_OUTPUT\n\n  # the main build job\n  build:\n    needs: select-runner\n    runs-on: ${{ (contains(needs.select-runner.outputs.*, matrix.os) && fromJSON(format('[ \"self-hosted\",\"{0}\", \"X64\" ]', matrix.os))) || format('{0}-latest', matrix.os) }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.7', '3.11']\n        python-architecture: ['x64']\n        extra-args: ['']\n        os: [ubuntu, macos, windows]\n        version-restrict: ['']\n        include:\n          # code-coverage build on macos python 3.9\n          - python-version: '3.9'\n            os: macos\n            extra-args: '--cov=psyneulink'\n\n          # --forked run of python only tests\n          # Python tests are enough to test potential naming issues\n          - python-version: '3.9'\n            os: ubuntu\n            extra-args: '--forked -m \"not llvm\"'\n\n          # add 32-bit build on windows\n          - python-version: '3.8'\n            python-architecture: 'x86'\n            os: windows\n\n          # fp32 run on linux python 3.10\n          - python-version: '3.10'\n            os: ubuntu\n            extra-args: '--fp-precision=fp32'\n\n          # --benchmark-enable run on macos python 3.10\n          - python-version: '3.10'\n            os: macos\n            # pytest needs both '--benchmark-only' and '-m benchmark'\n            # The former fails the test if benchmarks cannot be enabled\n            # (e.g. due to --dist setting)\n            # The latter works around a crash in pytest when collecting tests:\n            # https://github.com/ionelmc/pytest-benchmark/issues/243\n            extra-args: '-m benchmark --benchmark-enable --benchmark-only --benchmark-min-rounds=2 --benchmark-max-time=0.001 --benchmark-warmup=off -n0 --dist=no'\n\n          # add python 3.7 with deps restricted to min supported version\n          - python-version: '3.7'\n            python-architecture: 'x64'\n            os: ubuntu\n            version-restrict: 'min'\n\n          # add python 3.8 build on macos since 3.7 is broken\n          # https://github.com/actions/virtual-environments/issues/4230\n          - python-version: '3.8'\n            python-architecture: 'x64'\n            os: macos\n\n        exclude:\n          # 3.7 is broken on macos-11,\n          # https://github.com/actions/virtual-environments/issues/4230\n          - python-version: '3.7'\n            os: macos\n\n    steps:\n    # increased fetch-depth and tag checkout needed to get correct\n    # version string from versioneer (must have history to a prior tag);\n    # otherwise install fails due to circular dependency with modeci_mdf\n    - name: Checkout sources\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 200\n\n    # fetch only master to avoid getting unneeded branches with\n    # characters invalid on windows\n    - name: Checkout tags\n      run: git fetch --tags origin master\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: ${{ matrix.python-architecture }}\n\n    - name: Restrict version of direct dependencies\n      if: ${{ matrix.version-restrict == 'min' }}\n      shell: bash\n      run: |\n        sed -i '/^[^#]/s/>=/==/' *requirements.txt\n        git config user.name \"github actions\"\n        git config user.email \"none\"\n        git commit -a -m \"Restrict version of direct dependencies to min\"\n\n    - name: Get pip cache location\n      shell: bash\n      id: pip_cache\n      run: |\n        python -m pip install -U pip\n        python -m pip --version\n        echo \"pip_cache_dir=$(python -m pip cache dir)\" | tee -a $GITHUB_OUTPUT\n\n    - name: Wheels cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip_cache.outputs.pip_cache_dir }}/wheels\n        key: ${{ runner.os }}-python-${{ matrix.python-version }}-${{ matrix.python-architecture }}-pip-wheels-${{ hashFiles('requirements.txt', 'dev_requirements.txt') }}-${{ github.sha }}\n        restore-keys: ${{ runner.os }}-python-${{ matrix.python-version }}-${{ matrix.python-architecture }}-pip-wheels-${{ hashFiles('requirements.txt', 'dev_requirements.txt') }}\n\n    - name: Install local, editable PNL package\n      uses: ./.github/actions/install-pnl\n      with:\n        features: 'dev'\n\n    - name: Lint with flake8\n      shell: bash\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --exit-zero --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Print numpy info\n      shell: bash\n      run: |\n        python -c \"import numpy; numpy.show_config()\"\n\n    - name: Print machine info\n      shell: bash\n      run: |\n        case \"$RUNNER_OS\" in\n          Linux*) lscpu; lsmem;;\n          macOS*) sysctl -a | grep '^hw' ;;\n          Windows*) wmic cpu get description,currentclockspeed,NumberOfCores,NumberOfEnabledCore,NumberOfLogicalProcessors; wmic memorychip get capacity,speed,status,manufacturer ;;\n        esac\n\n    - name: Test with pytest\n      timeout-minutes: 180\n      run: pytest --junit-xml=tests_out.xml --verbosity=0 -n logical ${{ matrix.extra-args }}\n\n    - name: Upload test results\n      uses: actions/upload-artifact@v4\n      with:\n        name: test-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.python-architecture }}-${{ matrix.version-restrict }}\n        path: tests_out.xml\n        retention-days: 5\n      if: (success() || failure()) && ! contains(matrix.extra-args, 'forked')\n\n    - name: Upload coveralls code coverage\n      if: contains(matrix.extra-args, '--cov=psyneulink')\n      shell: bash\n      env:\n        COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n      run: |\n        if [ -n \"$COVERALLS_REPO_TOKEN\" ]; then\n          pip install coveralls\n          coveralls\n        else\n          echo \"::warning::Not uploading to coveralls.io, token not available!\"\n        fi\n\n    - name: Build dist\n      run: |\n        pip install setuptools wheel\n        python setup.py sdist bdist_wheel\n\n    - name: Upload dist packages\n      uses: actions/upload-artifact@v4\n      if: matrix.version-restrict == ''\n      with:\n        name: dist-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.python-architecture }}\n        path: dist/\n        retention-days: 2\n", "state": "active", "repository": "princetonuniversity/psyneulink"}
{"mined_at": "2024-07-15T15:03:52.413826", "created_at": "2021-06-22T03:32:28+02:00", "updated_at": "2021-12-23T20:33:18+01:00", "name": "Test and publish PNL release", "path": ".github/workflows/test-release.yml", "contents": "name: Test and publish PNL release\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  create-python-dist:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # Python version in matrix for easier reference\n        python-version: [3.8]\n    environment: test-pypi\n    outputs:\n      sdist: ${{ steps.create_dist.outputs.sdist }}\n      wheel: ${{ steps.create_dist.outputs.wheel }}\n    steps:\n    - name: Checkout sources\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Create Python Dist files\n      id: create_dist\n      shell: bash\n      run: |\n        # We don't care about the python version used.\n        pip install setuptools wheel\n        python setup.py sdist\n        python setup.py bdist_wheel\n        cd dist\n        echo \"sdist=$(ls *.tar.gz)\" >> $GITHUB_OUTPUT\n        echo \"wheel=$(ls *.whl)\" >> $GITHUB_OUTPUT\n\n    - name: Upload Python dist files\n      uses: actions/upload-artifact@v4\n      with:\n        name: Python-dist-files\n        path: dist/\n        retention-days: 1\n\n    - name: Upload dist files to test PyPI\n      shell: bash\n      run: |\n        # Include implicit dependency on setuptools{,-rust} and preinstall wheel\n        pip install setuptools setuptools-rust wheel\n        pip install twine\n        # This expects TWINE_USERNAME, TWINE_PASSWORD, and TWINE_REPOSITORY_URL\n        # environment variables\n        # It's not possible to condition steps on env or secrets,\n        # We need an explicit check here\n        if [ -n \"$TWINE_USERNAME\" -a -n \"$TWINE_PASSWORD\" ]; then\n          twine upload dist/*\n        else\n          echo \"::warning::Not uploading to test PyPI, no credentials available!\"\n        fi\n      env:\n        TWINE_USERNAME: ${{ secrets.TWINE_TEST_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.TWINE_TEST_PASSWORD }}\n        TWINE_REPOSITORY_URL: ${{ secrets.TWINE_TEST_REPOSITORY_URL }}\n\n\n  test-release:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        dist: [wheel, sdist]\n\n    runs-on: ${{ matrix.os }}\n    needs: [create-python-dist]\n\n    steps:\n    - name: Download dist files\n      uses: actions/download-artifact@v4\n      with:\n        name: Python-dist-files\n        path: dist/\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    # The installation _could_ reuse the 'install-pnl' action,\n    # but actions deploys workarounds that we want to avoid here.\n    - name: MacOS dependencies\n      run: HOMEBREW_NO_AUTO_UPDATE=1 brew install graphviz\n      if: startsWith(runner.os, 'macOS')\n\n    - name: Linux dependencies\n      run: sudo apt-get install -y graphviz\n      if: startsWith(runner.os, 'Linux')\n\n    - name: Windows dependencies\n      run: choco install --no-progress -y graphviz --version=2.38.0.20190211\n      if: startsWith(runner.os, 'Windows')\n\n    - name: Install wheel\n      shell: bash\n      if: matrix.dist == 'wheel'\n      run: pip install dist/${{ needs.create-python-dist.outputs.wheel }}[dev]\n\n    - name: Install sdist\n      shell: bash\n      if: matrix.dist == 'sdist'\n      run: pip install dist/${{ needs.create-python-dist.outputs.sdist }}[dev]\n\n    - name: Get tests from the repository\n      uses: actions/checkout@v4\n\n    - name: Run tests\n      shell: bash\n      # run only tests/. We don't care about codestyle/docstyle at this point\n      timeout-minutes: 80\n      run: |\n        # remove sources to prevent conflict with the isntalled package\n        rm -r -f psyneulink/ docs/ bin/ Matlab/\n        # run tests\n        pytest  --junit-xml=tests_out.xml --verbosity=0 -n auto tests\n\n    - name: Upload test results\n      uses: actions/upload-artifact@v4\n      with:\n        name: test-results-${{ matrix.os }}-${{ matrix.python-version }}\n        path: tests_out.xml\n        retention-days: 30\n      if: success() || failure()\n\n\n  publish-pypi:\n    runs-on: ubuntu-latest\n    needs: [create-python-dist, test-release]\n    environment: pypi\n\n    steps:\n    - name: Download dist files\n      uses: actions/download-artifact@v4\n      with:\n        name: Python-dist-files\n        path: dist/\n\n    - name: Upload dist files to PyPI\n      shell: bash\n      run: |\n        # Include implicit dependency on setuptools{,-rust} and preinstall wheel\n        pip3 install --user setuptools setuptools-rust wheel\n        pip3 install --user twine\n        # This expects TWINE_USERNAME, TWINE_PASSWORD, and TWINE_REPOSITORY_URL\n        # environment variables\n        # It's not possible to condition steps on env or secrets,\n        # We need an explicit check here\n        if [ -n \"$TWINE_USERNAME\" -a -n \"$TWINE_PASSWORD\" ]; then\n          twine upload dist/*\n        else\n          echo \"::warning::Not uploading to PyPI, no credentials available!\"\n        fi\n      env:\n        TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n        TWINE_REPOSITORY_URL: ${{ secrets.TWINE_REPOSITORY_URL }}\n\n  publish-github:\n    runs-on: ubuntu-latest\n    needs: [create-python-dist, test-release]\n    environment: gh-release\n    permissions:\n      contents: write\n\n    steps:\n    - name: Download dist files\n      uses: actions/download-artifact@v4\n      with:\n        name: Python-dist-files\n        path: dist/\n\n    - name: Upload dist files to release\n      uses: actions/github-script@v7\n      with:\n        script: |\n          const fs = require('fs')\n          tag = context.ref.split('/').pop()\n          console.log('running on:' + context.ref);\n          console.log('Looking for release for tag:' + tag);\n\n          var release\n          try {\n            release = await github.rest.repos.getReleaseByTag({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              tag: tag\n            });\n            console.log('Release found at: ' + release.data.html_url); // '\n          } catch (err) {\n            if (err.status == 404) {\n              console.log('Release not found, creating a new one');\n              release = await github.rest.repos.createRelease({\n                  owner: context.repo.owner,\n                  repo: context.repo.repo,\n                  tag_name: tag,\n                  name: 'Release ' + tag,\n                  body: 'New features and fixed bugs'\n              });\n            } else {\n              throw err;\n            }\n          }\n\n          console.log('Using release upload url: ' + release['data']['upload_url']);\n          // Determine content-length for header to upload asset\n          for (asset of ['${{ needs.create-python-dist.outputs.wheel }}', '${{ needs.create-python-dist.outputs.sdist }}']) {\n            const file_path = 'dist/' + asset;\n            const file_size = file_path => fs.statSync(file_path).size;\n            console.log('Uploading: ' + file_path);\n\n            // Setup headers for API call, see Octokit Documentation:\n            // https://octokit.github.io/rest.js/#octokit-routes-repos-upload-release-asset for more information\n            const headers = { 'content-type': 'application/zip', 'content-length': file_size(file_path) };\n\n            // Upload a release asset\n            const uploadAssetResponse = await github.rest.repos.uploadReleaseAsset({\n              url: release.data.upload_url,\n              headers,\n              name: asset,\n              file: fs.readFileSync(file_path)\n            });\n          }\n", "state": "active", "repository": "princetonuniversity/psyneulink"}
{"mined_at": "2024-07-15T15:03:53.514332", "created_at": "2021-12-17T05:55:21+01:00", "updated_at": "2021-12-17T05:55:21+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "princetonuniversity/psyneulink"}
{"mined_at": "2024-07-15T15:03:55.684475", "created_at": "2022-05-10T14:57:56+02:00", "updated_at": "2022-05-10T14:57:56+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '37 22 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "hdfgroup/hsds"}
{"mined_at": "2024-07-15T15:03:56.912831", "created_at": "2022-05-10T14:59:11+02:00", "updated_at": "2022-05-10T14:59:11+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Reqest, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v3\n\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v4\n        with:\n          allow-ghsas: GHSA-9wx4-h78v-vm56\n", "state": "active", "repository": "hdfgroup/hsds"}
{"mined_at": "2024-07-15T15:03:58.025489", "created_at": "2022-05-24T00:29:56+02:00", "updated_at": "2022-05-24T00:29:56+02:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Docker Image CI\n\non:\n  push:\n    branches:\n      - 'master'\n    tags:\n      - 'v*'\n  pull_request:\n    branches:\n      - 'master'\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v2\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      \n      -\n        name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v3\n        with:\n          images: hdfgroup/hsds\n          tags: |\n            type=ref,event=branch\n            type=ref,event=pr\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=sha            \n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v1\n        if: \"! github.event.pull_request.head.repo.fork\"\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      \n      -\n        name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "hdfgroup/hsds"}
{"mined_at": "2024-07-15T15:03:59.267890", "created_at": "2022-05-10T15:07:02+02:00", "updated_at": "2024-03-26T15:31:25+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n  pull_request:\n    branches: [master]\n\nenv:\n  ROOT_DIR: ${{github.workspace}}/data\n\njobs:\n  build-and-test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        build-method: [\"manual\", \"docker\"]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install flake8 pytest\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n      - name: Lint with flake8\n        shell: bash\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --max-complexity=10 --max-line-length=127 --statistics\n          \n      - name: Install package\n        shell: bash\n        run: |\n          pip install -e .\n\n      - name: Run unit tests\n        shell: bash\n        run: |\n          pytest\n      - name: Start HSDS (Manual)\n        shell: bash\n        if: ${{matrix.build-method == 'manual'}}\n        env:\n          ADMIN_PASSWORD: admin\n          ADMIN_USERNAME: admin\n          USER_NAME: test_user1\n          USER_PASSWORD: test\n          USER2_NAME: test_user2\n          USER2_PASSWORD: test\n          HSDS_ENDPOINT: http://127.0.0.1:5101\n          BUCKET_NAME: hsdstest\n          LOG_LEVEL: DEBUG\n        run: |\n          cp admin/config/groups.default admin/config/groups.txt\n          cp admin/config/passwd.default admin/config/passwd.txt\n          hsds --root_dir data --host localhost --port 5101 --password_file admin/config/passwd.txt --logfile hs.log   --loglevel DEBUG  --config_dir=admin/config --count=4 &\n\n      - name: Start HSDS (Docker)\n        shell: bash\n        if: ${{matrix.build-method == 'docker' && matrix.os != 'windows-latest'}}\n        env:\n          ADMIN_PASSWORD: admin\n          ADMIN_USERNAME: admin\n          USER_NAME: test_user1\n          USER_PASSWORD: test\n          USER2_NAME: test_user2\n          USER2_PASSWORD: test\n          HSDS_ENDPOINT: http://127.0.0.1:5101\n          BUCKET_NAME: hsdstest\n          LOG_LEVEL: DEBUG\n        run: |\n          cp admin/config/groups.default admin/config/groups.txt\n          cp admin/config/passwd.default admin/config/passwd.txt\n          ./build.sh --nolint\n          ./runall.sh\n\n      - name: Wait for node startup\n        shell: bash\n        run: |\n          sleep 45\n\n      - name: Run HSDS tests\n        if: ${{!(matrix.build-method == 'docker' && matrix.os == 'windows-latest')}}\n        id: hsds-tests\n        shell: bash\n        env:\n          ADMIN_PASSWORD: admin\n          ADMIN_USERNAME: admin\n          USER_NAME: test_user1\n          USER_PASSWORD: test\n          USER2_NAME: test_user2\n          USER2_PASSWORD: test\n          BUCKET_NAME: hsdstest\n          LOG_LEVEL: DEBUG\n        run: |\n          python testall.py\n      \n      - name: Show HSDS Logs on Fail (Docker)\n        # Only run if the whole workflow failed due to HSDS tests\n        if: ${{failure() && steps.hsds-tests.outcome == 'failure' && (matrix.build-method == 'docker' && matrix.os != 'windows-latest')}}\n        run: |\n          docker logs hsds-sn-1 >&1\n          docker logs hsds-dn-1 >&1\n          docker logs hsds-dn-2 >&1\n          docker logs hsds-dn-3 >&1\n          docker logs hsds-dn-4 >&1\n      \n      - name: Show HSDS Logs on Fail (Manual)\n        # Only run if the whole workflow failed due to HSDS tests\n        if: ${{failure() && steps.hsds-tests.outcome == 'failure' && (matrix.build-method == 'manual')}}\n        run: |\n          cat hs.log\n\n      - name: Checkout h5pyd\n        if: ${{ ( matrix.os != 'windows-latest' ) }}\n        uses: actions/checkout@v4\n        with:\n          repository: HDFGroup/h5pyd\n          path: ${{github.workspace}}/h5pyd\n\n      - name: Install h5pyd\n        if: ${{ ( matrix.os != 'windows-latest' ) }}\n        working-directory: ${{github.workspace}}/h5pyd\n        run: |\n          pip install . -v\n        \n      - name: Create h5pyd test folder\n        if: ${{ ( matrix.os != 'windows-latest' ) }}\n        working-directory: ${{github.workspace}}/h5pyd\n        env:\n          HS_USERNAME: test_user1\n          HS_PASSWORD: test\n          TEST2_USERNAME: test_user1\n          TEST2_PASSWORD: test\n          H5PYD_TEST_FOLDER: /home/test_user1/h5pyd_tests/\n          HS_ENDPOINT: http://127.0.0.1:5101\n        run: |\n          hstouch -e $HS_ENDPOINT /home/test_user1/h5pyd_tests/\n\n      - name: Run h5pyd tests\n        if: ${{ ( matrix.os != 'windows-latest' ) }}\n        working-directory: ${{github.workspace}}/h5pyd\n        env:\n          HS_USERNAME: test_user1\n          HS_PASSWORD: test\n          TEST2_USERNAME: test_user1\n          TEST2_PASSWORD: test\n          H5PYD_TEST_FOLDER: /home/test_user1/h5pyd_tests/\n          HS_ENDPOINT: http://127.0.0.1:5101\n        run: |\n          python testall.py\n\n      - name: Shut down Docker\n        if: ${{matrix.build-method == 'docker' && matrix.os != 'windows-latest'}}\n        run: |\n          ./stopall.sh\n  \n  build-and-test-socket:\n    env:\n      ADMIN_PASSWORD: admin\n      ADMIN_USERNAME: admin\n      USER_NAME: test_user1\n      USER_PASSWORD: test\n      USER2_NAME: test_user2\n      USER2_PASSWORD: test\n      HSDS_USERNAME: test_user1\n      HSDS_PASSWORD: test\n      HSDS_PATH: /home/test_user1/\n      HDF5_API_TEST_PATH_PREFIX: /home/test_user1/\n      HSDS_ENDPOINT: http+unix://%2Ftmp%2Fhs%2Fsn_1.sock\n      HDF5_VOL_CONNECTOR: REST\n      ROOT_DIR: ${{github.workspace}}/hsdsdata\n      BUCKET_NAME: hsdstest\n\n    name: Test HSDS with socket\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\"]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install HSDS dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install pytest\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n      - name: Install HSDS package\n        shell: bash\n        run: |\n          pip install -e .\n\n      # Requests 2.32.0 breaks requests-unixsocket, used by HSDS for socket connections\n      # - name: Fix requests version\n      #  run: |\n      #    pip install requests==2.31.0\n\n      - name: Run HSDS unit tests\n        shell: bash\n        run: |\n          pytest\n\n      - name: Start HSDS\n        run: |\n          mkdir ${{github.workspace}}/hsdsdata\n          mkdir ${{github.workspace}}/hsdsdata/hsdstest\n          cp admin/config/groups.default admin/config/groups.txt\n          cp admin/config/passwd.default admin/config/passwd.txt\n          ROOT_DIR=${{github.workspace}}/hsdsdata ./runall.sh --no-docker 1 &\n          sleep 10\n\n      - name: Test HSDS setup\n        run: |\n          python tests/integ/setup_test.py\n\n      - name: Test HSDS\n        run : |\n          python testall.py", "state": "active", "repository": "hdfgroup/hsds"}
{"mined_at": "2024-07-15T15:04:01.242631", "created_at": "2023-10-30T23:23:18+01:00", "updated_at": "2024-05-01T19:57:50+02:00", "name": "ASV Benchmarking", "path": ".github/workflows/asv-benchmarking.yml", "contents": "name: ASV Benchmarking\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  benchmark:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -el {0}\n    env:\n      CONDA_ENV_FILE: ./build_envs/asv-bench.yml\n      ASV_DIR: ./benchmarks\n\n    steps:\n      - name: Checkout geocat-comp\n        uses: actions/checkout@v4\n        with:\n          repository: NCAR/geocat-comp\n          fetch-depth: 0\n      - name: Checkout geocat-comp-asv\n        uses: actions/checkout@v4\n        with:\n          repository: NCAR/geocat-comp-asv\n          persist-credentials: false\n          fetch-depth: 0\n          ref: main\n          path: geocat-comp-asv\n\n      - name: Setup Miniforge\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-version: \"24.1.2-0\"\n          activate-environment: asv-bench\n\n      - name: Get date\n        id: get-date\n        run: echo \"today=$(/bin/date -u '+%Y%m%d')\" >> $GITHUB_OUTPUT\n        shell: bash\n\n      - name: Cache environment\n        uses: actions/cache@v4\n        with:\n          path: ${{ env.CONDA }}/envs\n          key:\n            conda-${{ runner.os }}--${{ runner.arch }}--${{\n            steps.get-date.outputs.today }}-${{\n            hashFiles('./build_envs/asv-bench.yml') }}-${{ env.CACHE_NUMBER}}\n        env:\n          # Increase this value to reset cache if the environment file has not changed\n          CACHE_NUMBER: 0\n        id: cache\n\n      - name: Update environment\n        run:\n          conda env update -n asv-bench -f\n          ./build_envs/asv-bench.yml\n        if: steps.cache.outputs.cache-hit != 'true'\n\n      - name: Conda list\n        run: |\n          conda info\n          conda list\n\n      - name: Copy existing results\n        run: |\n          if [ -d \"geocat-comp-asv/results\" ]; then\n            cp -r geocat-comp-asv/results benchmarks/\n          fi\n\n      - name: Run benchmarks\n        id: benchmark\n        run: |\n          cd benchmarks\n          asv machine --machine GH-Actions --os ubuntu-latest --arch x64 --cpu \"2-core unknown\" --ram 7GB\n          asv run v2023.02.0..main --skip-existing --parallel || true\n\n      - name: Commit and push benchmark results\n        run: |\n          if [ -d \"geocat-comp-asv/results\" ]; then\n            rm -r geocat-comp-asv/results\n          fi\n          cp -r benchmarks/results/ geocat-comp-asv/\n          cd geocat-comp-asv\n          git config --local user.email \"anissaz@ucar.edu\"\n          git config --local user.name \"anissa111\"\n          git add results\n          git commit -m \"[🤖] Update benchmark results\"\n\n      - name: Push to geocat-comp-asv\n        if: github.ref == 'refs/heads/main' && github.repository == 'NCAR/geocat-comp'\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.COMP_ASV_PAT }}\n          branch: main\n          force: true\n          repository: NCAR/geocat-comp-asv\n          directory: geocat-comp-asv\n", "state": "active", "repository": "ncar/geocat-comp"}
{"mined_at": "2024-07-15T15:04:02.281445", "created_at": "2022-11-18T21:14:21+01:00", "updated_at": "2023-12-27T18:31:25+01:00", "name": "CI Release Test", "path": ".github/workflows/ci-release.yml", "contents": "name: CI Release Test\non:\n  schedule:\n    - cron: '0 0 * * *' # Daily “At 00:00”\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test_conda_release:\n    if: github.repository == 'NCAR/geocat-comp' && github.ref == 'refs/heads/main'\n    name: Conda python${{ matrix.python-version }}, ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ \"ubuntu-latest\", \"macos-latest\", \"windows-latest\" ]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: environment set up\n        id: env-setup\n        continue-on-error: true\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: import_test\n          create-args: >-\n            python=${{ matrix.python-version }}\n          cache-environment: true\n          cache-environment-key: \"release_test-${{runner.os}}-py${{matrix.python-version}}-${{steps.date.outputs.date}}\"\n\n      - name: retry environment setup if failed\n        if: steps.env-setup.outcome == 'failure'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          download-micromamba: false\n          environment-name: import_test\n          create-args: >-\n            python=${{ matrix.python-version }}\n          cache-environment: true\n          cache-environment-key: \"release_test-${{runner.os}}-py${{matrix.python-version}}-${{steps.date.outputs.date}}\"\n\n      - name: Try conda release\n        run: |\n          micromamba install geocat-comp\n          micromamba activate import_test\n          micromamba list\n          micromamba activate import_test\n          python -c \"import geocat.comp\"\n\n  test_pypi_release:\n    if: github.repository == 'NCAR/geocat-comp' && github.ref == 'refs/heads/main'\n    name: PyPI python${{ matrix.python-version }}, ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ \"ubuntu-latest\", \"macos-latest\", \"windows-latest\" ]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: environment set up\n        id: env-setup\n        continue-on-error: true\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: import_test\n          create-args: >-\n            python=${{ matrix.python-version }}\n          cache-environment: true\n          cache-environment-key: \"release_test-${{runner.os}}-py${{matrix.python-version}}-${{steps.date.outputs.date}}\"\n\n      - name: retry environment setup if failed\n        if: steps.env-setup.outcome == 'failure'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          download-micromamba: false\n          environment-name: import_test\n          create-args: >-\n            python=${{ matrix.python-version }}\n          cache-environment: true\n          cache-environment-key: \"release_test-${{runner.os}}-py${{matrix.python-version}}-${{steps.date.outputs.date}}\"\n\n      - name: Try PyPI release\n        run: |\n          pip install geocat-comp\n          micromamba list\n          python -c \"import geocat.comp\"\n", "state": "active", "repository": "ncar/geocat-comp"}
{"mined_at": "2024-07-15T15:04:03.466604", "created_at": "2021-02-23T23:57:41+01:00", "updated_at": "2023-11-09T23:45:16+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  pull_request:\n  push:\n    branches:\n      - main\n  schedule:\n    - cron: '0 0 * * *' # Daily “At 00:00”\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    # if: |\n    #   github.repository == 'NCAR/geocat-comp'\n    name: Python (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ \"ubuntu-latest\", \"macos-latest\", \"windows-latest\" ]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n      - name: set environment variables\n        run: |\n          echo \"TODAY=$(date +%Y-%m-%d)\" >> $GITHUB_ENV\n\n      - name: environment setup\n        id: env-setup\n        continue-on-error: true\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: build_envs/environment.yml\n          cache-environment: true\n          cache-environment-key: \"CI ${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}-${{env.TODAY}}\"\n          create-args: >-\n            python=${{matrix.python-version}}\n\n      - name: retry environment set up if failed\n        if: steps.env-setup.outcome == 'failure'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          download-micromamba: false\n          environment-file: build_envs/environment.yml\n          cache-environment: true\n          cache-environment-key: \"CI ${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}-${{env.TODAY}}\"\n          create-args: >-\n            python=${{matrix.python-version}}\n\n      - name: Install geocat-comp\n        run: |\n          python -m pip install --no-deps -e .\n\n      - name: Run Tests (non-windows)\n        if: matrix.os != 'windows-latest'\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 60\n          max_attempts: 3\n          command: |\n            eval \"$(micromamba shell hook --shell bash)\"\n            micromamba activate\n            micromamba activate geocat_comp_build\n            python -m pytest test -v --cov=./geocat/comp --cov-report=xml --junitxml=pytest.xml\n\n      - name: Run Tests (windows)\n        if: matrix.os == 'windows-latest'\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 60\n          max_attempts: 3\n          command: |\n            micromamba.exe shell hook -s powershell | Out-String | Invoke-Expression\n            micromamba activate\n            micromamba activate geocat_comp_build\n            python -m pytest test -v --cov=./geocat/comp --cov-report=xml --junitxml=pytest.xml\n\n      - name: Upload test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: Test results for ${{ runner.os }}-${{ matrix.python-version }}\n          path: pytest.xml\n\n      - name: Upload code coverage to Codecov\n        if: github.repository == 'NCAR/geocat-comp'\n        uses: codecov/codecov-action@v4.5.0\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        with:\n          file: ./coverage.xml\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n  link-check:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: environment setup\n        id: link-env-setup\n        continue-on-error: true\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: build_envs/docs.yml\n          cache-environment: true\n          cache-environment-key: \"linkcheck-${{env.TODAY}}\"\n          create-args: >-\n            python=3.11\n\n      - name: retry environment set up if failed\n        if: steps.link-env-setup.outcome == 'failure'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          download-micromamba: false\n          environment-file: build_envs/docs.yml\n          cache-environment: true\n          cache-environment-key: \"linkcheck-${{env.TODAY}}\"\n          create-args: >-\n            python=3.11\n\n      - name: Install geocat-comp\n        run: |\n          python -m pip install .\n      - name: check conda list\n        run: |\n          conda list\n      - name: Make docs with linkcheck\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 60\n          max_attempts: 3\n          command: |\n            eval \"$(micromamba shell hook --shell bash)\"\n            micromamba activate\n            micromamba activate gc-docs\n            cd docs\n            make linkcheck\n", "state": "active", "repository": "ncar/geocat-comp"}
{"mined_at": "2024-07-15T15:04:04.695143", "created_at": "2021-02-26T01:41:17+01:00", "updated_at": "2021-02-26T01:41:17+01:00", "name": "Upload geocat-comp to PyPI", "path": ".github/workflows/pypi.yaml", "contents": "name: Upload geocat-comp to PyPI\non:\n  workflow_dispatch:\n\njobs:\n  test-build:\n    if: github.repository == 'NCAR/geocat-comp'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install build twine check-manifest\n      - name: Build tarball and wheels\n        run: |\n          python -m build\n          python -m pip wheel . -w dist --no-deps\n      - name: Test the artifacts\n        run: |\n          python -m twine check dist/*\n\n  publish:\n    needs: test-build\n    if: startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install build twine check-manifest\n      - name: Build tarball and wheels\n        run: |\n          python -m build\n          python -m pip wheel . -w dist --no-deps\n      - name: Test the artifacts\n        run: |\n          python -m twine check dist/*\n\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          skip-existing: true\n          verbose: true\n", "state": "active", "repository": "ncar/geocat-comp"}
{"mined_at": "2024-07-15T15:04:05.810344", "created_at": "2021-03-03T15:27:07+01:00", "updated_at": "2023-12-15T18:02:26+01:00", "name": "CI Upstream", "path": ".github/workflows/upstream-dev-ci.yml", "contents": "name: CI Upstream\non:\n  workflow_dispatch:\n  schedule:\n     - cron: '0 0 * * *' # Daily “At 00:00”\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  upstream-dev:\n    name:  upstream-dev-py311\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n        with:\n          token: ${{ github.token }}\n\n      - name: set up environment\n        id: env-setup\n        continue-on-error: true\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: build_envs/environment.yml\n          create-args: >-\n            python=${{ matrix.python-version }}\n\n      - name: retry environment set up if failed\n        if: steps.env-setup.outcome == 'failure'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          download-micromamba: false\n          environment-file: build_envs/environment.yml\n          create-args: >-\n            python=${{ matrix.python-version }}\n\n      - name: conda list\n        run: |\n          conda list\n\n      - name: Install upstream versions\n        run: |\n          bash ci/install-upstream.sh\n\n      - name: Install geocat-comp\n        run: |\n          python -m pip install . --no-deps\n\n      - name: conda list\n        run: |\n          conda list\n\n      - name: Run Tests\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 60\n          max_attempts: 3\n          command: |\n            eval \"$(micromamba shell hook --shell bash)\"\n            micromamba activate\n            micromamba activate geocat_comp_build\n            python -m pytest test -v --cov=./geocat/comp --cov-report=xml\n", "state": "active", "repository": "ncar/geocat-comp"}
{"mined_at": "2024-07-15T15:04:07.919517", "created_at": "2023-08-09T23:45:23+02:00", "updated_at": "2023-08-09T23:45:23+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googleapis/synthtool"}
{"mined_at": "2024-07-15T15:04:10.009820", "created_at": "2023-12-18T22:01:13+01:00", "updated_at": "2023-12-18T22:29:54+01:00", "name": "Container Build", "path": ".github/workflows/containerbuild.yml", "contents": "name: Container Build\n\non:\n  push:\n    branches:\n    - unstable\n    - hotfixes\n    - master\n    tags:\n    - 'v*'\n  pull_request:\n\njobs:\n  pre_postgres:\n    name: Path match check - postgres\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          skip_after_successful_duplicate: false\n          github_token: ${{ github.token }}\n          paths: '[\"docker/Dockerfile.postgres.dev\", \".github/workflows/containerbuild.yml\"]'\n\n  build_and_push_postgres:\n    name: Postgres - build and push Docker image to GitHub Container Registry\n    needs: pre_postgres\n    if: ${{ needs.pre_postgres.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout codebase\n      uses: actions/checkout@v4\n\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n    - name: Log in to Docker Hub\n      if: github.event_name != 'pull_request'\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Extract metadata (tags, labels) for Docker\n      id: meta\n      uses: docker/metadata-action@v5\n      with:\n        images: ghcr.io/learningequality/postgres\n      env:\n        DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index\n\n    - name: Build and push Docker image\n      uses: docker/build-push-action@v5\n      with:\n        context: ./docker\n        file: ./docker/Dockerfile.postgres.dev\n        platforms: linux/amd64,linux/arm64\n        push: ${{ github.event_name != 'pull_request' }}\n        tags: ${{ steps.meta.outputs.tags }}\n        labels: ${{ steps.meta.outputs.labels }}\n        annotations: ${{ steps.meta.outputs.annotations }}\n\n  pre_nginx:\n    name: Path match check - nginx\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          skip_after_successful_duplicate: false\n          github_token: ${{ github.token }}\n          paths: '[\"k8s/images/nginx/*\", \".github/workflows/containerbuild.yml\"]'\n\n  build_nginx:\n    name: nginx - test build of nginx Docker image\n    needs: pre_nginx\n    if: ${{ needs.pre_nginx.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout codebase\n      uses: actions/checkout@v4\n\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n    - name: Build Docker image\n      uses: docker/build-push-action@v5\n      with:\n        context: ./\n        file: ./k8s/images/nginx/Dockerfile\n        platforms: linux/amd64\n        push: false\n", "state": "active", "repository": "learningequality/studio"}
{"mined_at": "2024-07-15T15:04:11.150089", "created_at": "2020-11-25T22:40:42+01:00", "updated_at": "2020-11-25T22:40:42+01:00", "name": "Build and deploy tests", "path": ".github/workflows/deploytest.yml", "contents": "name: Build and deploy tests\n\non:\n  push:\n    branches:\n    - unstable\n    - hotfixes\n    - master\n  pull_request:\n\njobs:\n  pre_job:\n    name: Path match check\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          github_token: ${{ github.token }}\n          paths: '[\"**.py\", \"requirements.txt\", \".github/workflows/deploytest.yml\", \"**.vue\", \"**.js\", \"yarn.lock\", \"package.json\"]'\n  build_assets:\n    name: Build frontend assets\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: '16.x'\n    - name: Cache Node.js modules\n      uses: actions/cache@v4\n      with:\n        path: '**/node_modules'\n        key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }}\n        restore-keys: |\n          ${{ runner.OS }}-node-\n    - name: Install dependencies\n      run: |\n        yarn --frozen-lockfile\n        npm rebuild node-sass\n    - name: Build frontend\n      run: yarn run build\n  make_messages:\n    name: Build all message files\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pyprod-${{ hashFiles('requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pyprod-\n    - name: Install pip-tools and python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pip-tools\n        pip-sync requirements.txt\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: '16.x'\n    - name: Cache Node.js modules\n      uses: actions/cache@v4\n      with:\n        path: '**/node_modules'\n        key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }}\n        restore-keys: |\n          ${{ runner.OS }}-node-\n    - name: Install node dependencies\n      run: |\n        yarn --frozen-lockfile\n        npm rebuild node-sass\n    - name: Install gettext\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y gettext\n    - name: Test Django makemessages\n      run: python contentcuration/manage.py makemessages --all\n", "state": "active", "repository": "learningequality/studio"}
{"mined_at": "2024-07-15T15:04:12.206749", "created_at": "2020-11-25T22:40:42+01:00", "updated_at": "2020-11-25T22:40:42+01:00", "name": "Javascript Linting", "path": ".github/workflows/frontendlint.yml", "contents": "name: Javascript Linting\n\non:\n  push:\n    branches:\n    - unstable\n    - hotfixes\n    - master\n  pull_request:\n\njobs:\n  pre_job:\n    name: Path match check\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          github_token: ${{ github.token }}\n          paths: '[\"**.vue\", \"**.js\", \"yarn.lock\", \".github/workflows/frontendlint.yml\"]'\n  test:\n    name: Frontend linting\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: '16.x'\n    - name: Cache Node.js modules\n      uses: actions/cache@v4\n      with:\n        path: '**/node_modules'\n        key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }}\n        restore-keys: |\n          ${{ runner.OS }}-node-\n    - name: Install dependencies\n      run: |\n        yarn --frozen-lockfile\n        npm rebuild node-sass\n    - name: Run tests\n      run: yarn run lint-frontend:format\n    - name: Check for modified files\n      if: github.event.pull_request && github.event.pull_request.head.repo.full_name == github.repository\n      id: git-check\n      run: echo ::set-output name=modified::$(git diff-index --name-only HEAD)\n    - uses: tibdex/github-app-token@v2\n      if: github.event.pull_request && github.event.pull_request.head.repo.full_name == github.repository && steps.git-check.outputs.modified != ''\n      id: generate-token\n      with:\n        app_id: ${{ secrets.CODE_FIX_APP_ID }}\n        private_key: ${{ secrets.CODE_FIX_APP_PRIVATE_KEY }}\n    - name: Push changes\n      if: github.event.pull_request && github.event.pull_request.head.repo.full_name == github.repository && steps.git-check.outputs.modified != ''\n      run: |\n        git config --global user.name 'Learning Equality'\n        git config --global user.email 'dev@learningequality.org'\n        git remote set-url origin https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/${{ github.repository }}\n        git commit -am \"Frontend linting of ${{ steps.git-check.outputs.modified }}\"\n        git push\n", "state": "active", "repository": "learningequality/studio"}
{"mined_at": "2024-07-15T15:04:13.303575", "created_at": "2020-11-25T22:40:42+01:00", "updated_at": "2020-11-25T22:40:42+01:00", "name": "Javascript Tests", "path": ".github/workflows/frontendtest.yml", "contents": "name: Javascript Tests\n\non:\n  push:\n    branches:\n    - unstable\n    - hotfixes\n    - master\n  pull_request:\n\njobs:\n  pre_job:\n    name: Path match check\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          github_token: ${{ github.token }}\n          paths: '[\"**.vue\", \"**.js\", \"yarn.lock\"]'\n  test:\n    name: Frontend tests\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: '16.x'\n    - name: Cache Node.js modules\n      uses: actions/cache@v4\n      with:\n        path: '**/node_modules'\n        key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }}\n        restore-keys: |\n          ${{ runner.OS }}-node-\n    - name: Install dependencies\n      run: |\n        yarn --frozen-lockfile\n        npm rebuild node-sass\n    - name: Run tests\n      run: yarn run test\n", "state": "active", "repository": "learningequality/studio"}
{"mined_at": "2024-07-15T15:04:14.323948", "created_at": "2023-11-22T07:31:29+01:00", "updated_at": "2023-11-22T07:31:29+01:00", "name": "Nginx tests", "path": ".github/workflows/nginxtest.yml", "contents": null, "state": "active", "repository": "learningequality/studio"}
{"mined_at": "2024-07-15T15:04:15.329960", "created_at": "2024-03-06T13:44:58+01:00", "updated_at": "2024-03-06T13:44:58+01:00", "name": "Send a slack notification when a contributor comments on issue", "path": ".github/workflows/notify_team_new_comment.yml", "contents": "name: Send a slack notification when a contributor comments on issue\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  contributor_issue_comment:\n    name: Contributor issue comment\n\n    if: >-\n      ${{\n        !github.event.issue.pull_request &&\n        github.event.comment.author_association != 'MEMBER' &&\n        github.event.comment.author_association != 'OWNER'\n      }}\n\n    runs-on: ubuntu-latest\n    steps:\n      - name: Escape title double quotes\n        id: escape_title\n        env:\n          ISSUE_TITLE: ${{ github.event.issue.title }}\n        run: echo \"ISSUE_TITLE=${ISSUE_TITLE//\\\"/\\\\\\\"}\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Send message to Slack channel\n        env:\n            SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n            SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n        uses: slackapi/slack-github-action@v1.26.0\n        with:\n          payload: |\n            {\n              \"text\": \"*[Studio] New comment on issue: <${{ github.event.issue.html_url }}#issuecomment-${{ github.event.comment.id }}|${{ steps.escape_title.outputs.ISSUE_TITLE }} by ${{ github.event.comment.user.login }}>*\"\n            }\n", "state": "active", "repository": "learningequality/studio"}
{"mined_at": "2024-07-15T15:04:16.574870", "created_at": "2020-11-25T22:40:42+01:00", "updated_at": "2020-11-25T22:40:42+01:00", "name": "Python tests", "path": ".github/workflows/pythontest.yml", "contents": "name: Python tests\n\non:\n  push:\n    branches:\n    - unstable\n    - hotfixes\n    - master\n  pull_request:\n\njobs:\n  pre_job:\n    name: Path match check\n    runs-on: ubuntu-latest\n    # Map a step output to a job output\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          github_token: ${{ github.token }}\n          paths: '[\"**.py\", \"requirements.txt\", \"requirements-dev.txt\", \".github/workflows/pythontest.yml\"]'\n\n  unit_test:\n    name: Python unit tests\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' }}\n    runs-on: ubuntu-latest\n\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgres:12\n        # Provide the password for postgres\n        env:\n          POSTGRES_USER: learningequality\n          POSTGRES_PASSWORD: kolibri\n          POSTGRES_DB: kolibri-studio\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n      # Label used to access the service container\n      redis:\n        # Docker Hub image\n        image: redis:6.0.9\n        # Set health checks to wait until redis has started\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps port 6379 on service container to the host\n          - 6379:6379\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up minio\n      run: |\n        docker run -d -p 9000:9000 --name minio \\\n                    -e \"MINIO_ACCESS_KEY=development\" \\\n                    -e \"MINIO_SECRET_KEY=development\" \\\n                    -v /tmp/minio_data:/data \\\n                    -v /tmp/minio_config:/root/.minio \\\n                    minio/minio server /data\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pytest-${{ hashFiles('requirements.txt', 'requirements-dev.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pytest-\n    - name: Install pip-tools and python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pip-tools\n        pip-sync requirements.txt requirements-dev.txt\n    - name: Test pytest\n      run: |\n        sh -c './contentcuration/manage.py makemigrations --check'\n        pytest\n", "state": "active", "repository": "learningequality/studio"}
{"mined_at": "2024-07-15T15:04:17.757129", "created_at": "2024-03-27T21:42:05+01:00", "updated_at": "2024-03-27T21:42:05+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "learningequality/studio"}
{"mined_at": "2024-07-15T15:04:20.055048", "created_at": "2020-02-04T11:49:45+01:00", "updated_at": "2020-02-04T11:49:45+01:00", "name": "Backport", "path": ".github/workflows/backport.yaml", "contents": "name: Backport\n\non:\n  pull_request:\n    types:\n      - closed\n      - labeled\n\nenv:\n  HAS_SECRETS: ${{ secrets.HAS_SECRETS }}\n\njobs:\n  backport:\n    name: Backport\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5\n\n    steps:\n      - uses: camptocamp/backport-action@master\n        with:\n          token: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}\n        if: env.HAS_SECRETS == 'HAS_SECRETS'\n", "state": "active", "repository": "camptocamp/tilecloud-chain"}
{"mined_at": "2024-07-15T15:04:21.181753", "created_at": "2020-02-08T03:32:32+01:00", "updated_at": "2020-02-08T03:32:32+01:00", "name": "Rebuild", "path": ".github/workflows/rebuild.yaml", "contents": "name: Rebuild\n\non:\n  schedule:\n    - cron: 30 2 * * *\n\njobs:\n  rebuild:\n    name: Rebuild\n    runs-on: ubuntu-22.04\n    timeout-minutes: 20\n\n    strategy:\n      fail-fast: false\n      matrix:\n        branch:\n          - '1.17'\n          - '1.18'\n\n    env:\n      REDIS_URL: redis://localhost:6379\n\n    steps:\n      - run: docker system prune --all --force\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ matrix.branch }}\n\n      - uses: camptocamp/initialise-gopass-summon-action@v2\n        with:\n          ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}}\n          github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}}\n          patterns: pypi docker\n\n      - run: echo \"${HOME}/.local/bin\" >> ${GITHUB_PATH}\n      - run: python3 -m pip install --user --requirement=ci/requirements.txt\n\n      - name: Checks\n        run: c2cciutils-checks\n\n      - name: Build\n        run: make build\n\n      - name: Tests\n        run: make tests\n\n      - run: c2cciutils-docker-logs\n        if: always()\n\n      - name: Publish\n        run: c2cciutils-publish --type=rebuild --branch=${{ matrix.branch }}\n", "state": "active", "repository": "camptocamp/tilecloud-chain"}
{"mined_at": "2024-07-15T15:04:22.292262", "created_at": "2020-06-24T11:43:35+02:00", "updated_at": "2020-06-24T11:43:35+02:00", "name": "Audit", "path": ".github/workflows/audit.yaml", "contents": "name: Audit\n\non:\n  schedule:\n    - cron: '30 2 * * *'\n\njobs:\n  audit:\n    name: Audit\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n\n    strategy:\n      fail-fast: false\n      matrix:\n        branch:\n          - '1.15'\n          - '1.17'\n          - '1.18'\n          - '1.19'\n          - '1.20'\n          - '1.21'\n\n    steps:\n      - run: pip install pyOpenSSL --upgrade\n\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ matrix.branch }}\n          token: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}\n\n      - uses: camptocamp/initialise-gopass-summon-action@v2\n        with:\n          ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}}\n          github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}}\n\n      - run: python3 -m venv ~/.venv\n      - run: ~/.venv/bin/pip install --pre c2cciutils[audit]\n      - run: python3 -m pip install --pre c2cciutils[audit]\n\n      - name: Check .tool-versions file existence\n        id: tool-versions\n        uses: andstor/file-existence-action@v3\n        with:\n          files: .tool-versions\n      - uses: asdf-vm/actions/install@v3\n        if: steps.tool-versions.outputs.files_exists == 'true'\n      - run: cat /tmp/python-build.*.log\n        if: failure()\n      - run: python --version\n\n      - name: Snyk audit\n        run: ~/.venv/bin/c2cciutils-audit --branch=${{ matrix.branch }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}\n      - name: Check ci/dpkg-versions.yaml file existence\n        id: dpkg-versions\n        uses: andstor/file-existence-action@v3\n        with:\n          files: ci/dpkg-versions.yaml\n      - name: Update dpkg packages versions\n        run: ~/.venv/bin/c2cciutils-docker-versions-update --branch=${{ matrix.branch }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}\n        if: steps.dpkg-versions.outputs.files_exists == 'true'\n", "state": "active", "repository": "camptocamp/tilecloud-chain"}
{"mined_at": "2024-07-15T15:04:23.493009", "created_at": "2020-11-26T11:15:52+01:00", "updated_at": "2020-11-26T11:15:52+01:00", "name": "Rebuild 1.15", "path": ".github/workflows/rebuild-115.yaml", "contents": "name: Rebuild 1.15\n\non:\n  schedule:\n    - cron: 30 2 * * *\n\njobs:\n  rebuild:\n    runs-on: ubuntu-22.04\n    name: Rebuild 1.15\n    timeout-minutes: 20\n\n    strategy:\n      fail-fast: false\n      matrix:\n        branch:\n          - '1.15'\n\n    env:\n      REDIS_URL: redis://localhost:6379\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ matrix.branch }}\n\n      - uses: camptocamp/initialise-gopass-summon-action@v2\n        with:\n          ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}}\n          github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}}\n          patterns: pypi docker\n        if: github.repository == 'camptocamp/tilecloud-chain'\n\n      - run: echo \"${HOME}/.local/bin\" >> ${GITHUB_PATH}\n      - run: python3 -m pip install --user --requirement=ci/requirements.txt\n\n      - name: Checks\n        run: c2cciutils-checks\n\n      - run: touch tilecloud_chain/OpenLayers.js\n\n      - name: Build\n        run: |\n          python setup.py --long-description > PYPI.md\n          docker build --tag=camptocamp/tilecloud-chain:tests --target=tests .\n          docker build --tag=camptocamp/tilecloud-chain .\n          git --no-pager diff --check `git log --oneline | tail -1 | cut --fields=1 --delimiter=' '`\n\n      - name: Start\n        run: |\n          docker-compose up -d\n\n          # Wait for DB to be up\n          while ! docker-compose exec -T test psql -h db -p 5432 -U postgres -v ON_ERROR_STOP=1 -c \"SELECT 1\" -d tests\n          do\n            echo \"Waiting for DB to be UP\"\n            sleep 1\n          done\n        timeout-minutes: 2\n      - name: Test\n        run: |\n          docker-compose exec -T test pytest\n\n          docker-compose down\n\n      - run: docker-compose logs\n        if: failure()\n\n      - run: python3 -m pip install --requirement=requirements-publish.txt\n\n      - name: Publish\n        run: c2cciutils-publish --type=rebuild --branch=${{ matrix.branch }}\n", "state": "active", "repository": "camptocamp/tilecloud-chain"}
{"mined_at": "2024-07-15T15:04:24.517633", "created_at": "2020-12-04T14:42:35+01:00", "updated_at": "2020-12-16T15:56:48+01:00", "name": "Continuous integration", "path": ".github/workflows/main.yaml", "contents": "name: Continuous integration\n\non:\n  push:\n    branches:\n      - master\n      - '[0-9]+.[0-9]+'\n    tags:\n      - '*'\n  pull_request:\n\nenv:\n  HAS_SECRETS: ${{ secrets.HAS_SECRETS }}\n\njobs:\n  main:\n    name: Continuous integration\n    runs-on: ubuntu-22.04\n    timeout-minutes: 30\n    if: \"!startsWith(github.event.head_commit.message, '[skip ci] ')\"\n\n    env:\n      REDIS_URL: redis://localhost:6379\n\n    steps:\n      - run: docker system prune --all --force\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: camptocamp/initialise-gopass-summon-action@v2\n        with:\n          ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}}\n          github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}}\n          patterns: pypi docker\n        if: env.HAS_SECRETS == 'HAS_SECRETS'\n\n      - run: echo \"${HOME}/.local/bin\" >> ${GITHUB_PATH}\n      - run: python3 -m pip install --user --requirement=ci/requirements.txt\n\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\n          restore-keys: \"pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\\npre-commit-\"\n      - run: pre-commit run --all-files\n      - run: git diff --exit-code --patch > /tmp/pre-commit.patch || true\n        if: failure()\n      - uses: actions/upload-artifact@v4\n        with:\n          name: Apply pre-commit fix.patch\n          path: /tmp/pre-commit.patch\n          retention-days: 1\n        if: failure()\n      - name: Print environment information\n        run: c2cciutils-env\n        env:\n          GITHUB_EVENT: ${{ toJson(github) }}\n\n      - name: Build\n        run: make build\n\n      - name: Checks\n        run: make checks\n\n      - name: Tests\n        run: make tests\n\n      - run: c2cciutils-docker-logs\n        if: always()\n      - uses: actions/upload-artifact@v4\n        with:\n          name: results\n          path: results\n          if-no-files-found: ignore\n          retention-days: 5\n        if: failure()\n\n      - name: Publish\n        run: c2cciutils-publish\n        if: env.HAS_SECRETS == 'HAS_SECRETS'\n      - run: git diff --exit-code --patch > /tmp/dpkg-versions.patch || true\n        if: failure()\n      - uses: actions/upload-artifact@v4\n        with:\n          name: Update dpkg versions list.patch\n          path: /tmp/dpkg-versions.patch\n          retention-days: 1\n        if: failure()\n", "state": "active", "repository": "camptocamp/tilecloud-chain"}
{"mined_at": "2024-07-15T15:04:25.546511", "created_at": "2020-12-16T14:00:31+01:00", "updated_at": "2020-12-16T14:00:31+01:00", "name": "Clean docker hub tags", "path": ".github/workflows/clean.yaml", "contents": "name: Clean docker hub tags\n\non:\n  delete:\n  pull_request:\n    types:\n      - closed\n\njobs:\n  clean:\n    name: Clean docker hub tags\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: camptocamp/initialise-gopass-summon-action@v2\n        with:\n          ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}}\n          github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}}\n          patterns: docker\n\n      - run: echo \"${HOME}/.local/bin\" >> ${GITHUB_PATH}\n      - run: python3 -m pip install --user --requirement=ci/requirements.txt\n\n      - name: Clean Docker hub tags\n        run: c2cciutils-clean\n", "state": "active", "repository": "camptocamp/tilecloud-chain"}
{"mined_at": "2024-07-15T15:04:26.608228", "created_at": "2023-04-27T16:51:57+02:00", "updated_at": "2023-04-27T16:51:57+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "camptocamp/tilecloud-chain"}
{"mined_at": "2024-07-15T15:04:27.628184", "created_at": "2023-10-13T17:38:14+02:00", "updated_at": "2023-10-13T17:38:14+02:00", "name": "Auto reviews updates", "path": ".github/workflows/dependency-auto-review.yaml", "contents": null, "state": "active", "repository": "camptocamp/tilecloud-chain"}
{"mined_at": "2024-07-15T15:04:28.754836", "created_at": "2024-01-26T19:33:48+01:00", "updated_at": "2024-01-31T15:40:36+01:00", "name": "Auto reviews, merge and close pull requests", "path": ".github/workflows/pull-request-automation.yaml", "contents": "name: Auto reviews, merge and close pull requests\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n\njobs:\n  auto-merge:\n    name: Auto reviews pull requests from bots\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5\n\n    steps:\n      - name: Print event\n        run: echo \"${GITHUB}\" | jq\n        env:\n          GITHUB: ${{ toJson(github) }}\n      - name: Print context\n        uses: actions/github-script@v7\n        with:\n          script: |-\n            console.log(context);\n      - name: Auto reviews GHCI updates\n        uses: actions/github-script@v7\n        with:\n          script: |-\n            github.rest.pulls.createReview({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              pull_number: context.payload.pull_request.number,\n              event: 'APPROVE',\n            })\n        if: |-\n          startsWith(github.head_ref, 'ghci/audit/')\n          && (github.event.pull_request.user.login == 'geo-ghci-test[bot]'\n            || github.event.pull_request.user.login == 'geo-ghci-int[bot]'\n            || github.event.pull_request.user.login == 'geo-ghci[bot]')\n      - name: Auto reviews Renovate updates\n        uses: actions/github-script@v7\n        with:\n          script: |-\n            github.rest.pulls.createReview({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              pull_number: context.payload.pull_request.number,\n              event: 'APPROVE',\n            })\n        if: |-\n          github.event.pull_request.user.login == 'renovate[bot]'\n", "state": "active", "repository": "camptocamp/tilecloud-chain"}
{"mined_at": "2024-07-15T15:04:30.807133", "created_at": "2020-09-09T14:48:51+02:00", "updated_at": "2020-09-09T14:48:51+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\" # Daily “At 00:00”\n  workflow_dispatch: # allows you to trigger manually\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: python-${{ matrix.python-version }}\n    if: github.repository == 'intake/intake-esm'\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n\n      - name: set up conda environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/environment.yml\n          init-shell: >-\n            bash\n          cache-environment: true\n          cache-downloads: true\n          post-cleanup: \"all\"\n          create-args: |\n            python=${{ matrix.python-version }}\n\n      - name: Install intake-esm\n        run: |\n          python -m pip install -e . --no-deps --force-reinstall\n          conda list\n\n      - name: Run Tests\n        run: |\n          python -m pytest\n\n      - name: Upload code coverage to Codecov\n        uses: codecov/codecov-action@v4.4.1\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n  upstream-dev:\n    name: upstream-dev\n    if: github.repository == 'intake/intake-esm'\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n\n      - name: set up conda environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/environment-upstream-dev.yml\n          init-shell: >-\n            bash\n          cache-environment: true\n          cache-downloads: true\n          post-cleanup: \"all\"\n          create-args: |\n            python=3.12\n\n      - name: Install intake-esm\n        run: |\n          python -m pip install -e . --no-deps --force-reinstall\n          conda list\n\n      - name: Run Tests\n        run: |\n          python -m pytest\n", "state": "active", "repository": "intake/intake-esm"}
{"mined_at": "2024-07-15T15:04:32.017151", "created_at": "2020-12-18T23:53:05+01:00", "updated_at": "2024-03-02T00:24:53+01:00", "name": "Build and Upload intake-esm to PyPI", "path": ".github/workflows/pypi.yml", "contents": "name: Build and Upload intake-esm to PyPI\n\non:\n  release:\n    types:\n      - published\n  push:\n\njobs:\n  build-artifacts:\n    runs-on: ubuntu-latest\n    if: github.repository == 'intake/intake-esm'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.11\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install setuptools setuptools-scm wheel twine check-manifest\n\n      - name: Build tarball and wheels\n        run: |\n          git clean -xdf\n          git restore -SW .\n          python -m build --sdist --wheel .\n\n      - name: Check built artifacts\n        run: |\n          python -m twine check dist/*\n          pwd\n          if [ -f dist/intake-esm-unknown.tar.gz ]; then\n            echo \"❌ INVALID VERSION NUMBER\"\n            exit 1\n          else\n            echo \"✅ Looks good\"\n          fi\n      - uses: actions/upload-artifact@v4\n        with:\n          name: releases\n          path: dist\n\n  test-built-dist:\n    needs: build-artifacts\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.11\"\n      - uses: actions/download-artifact@v4\n        with:\n          name: releases\n          path: dist\n      - name: List contents of built dist\n        run: |\n          ls -ltrh\n          ls -ltrh dist\n\n      - name: Verify the built dist/wheel is valid\n        if: github.event_name == 'push'\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install dist/intake_esm*.whl\n          python -c \"import intake_esm; print(intake_esm.__version__)\"\n\n  upload-to-pypi:\n    needs: test-built-dist\n    if: github.event_name == 'release'\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: releases\n          path: dist\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n", "state": "active", "repository": "intake/intake-esm"}
{"mined_at": "2024-07-15T15:04:34.050101", "created_at": "2024-04-08T22:18:39+02:00", "updated_at": "2024-04-08T22:44:41+02:00", "name": "Check Dependencies in Pyproject.toml", "path": ".github/workflows/check-dependencies.yaml", "contents": "---\nname: Check Dependencies in Pyproject.toml\n\n# Controls when the action will run.\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    types: trigger-run-check-dependencies\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [ \"3.9\", \"3.10\" ]\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        name: setup python environment\n        with:\n          python-version: ${{ matrix.python }}\n\n      # this step we remove and rebuild the poetry.lock file to ensure that the tests that follow can be run\n      # with the latest dependencies\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install poetry\n          rm -rf poetry.lock\n          poetry install \n          docker run --detach --name kgx-neo4j-unit-test -p 8484:7474 -p 8888:7687 --env NEO4J_AUTH=neo4j/test neo4j:4.3.0\n          docker run --detach --name kgx-neo4j-integration-test -p 7474:7474 -p 7687:7687 --env NEO4J_AUTH=neo4j/test neo4j:4.3.0\n          docker ps -a\n\n      - name: Wait\n        uses: jakejarvis/wait-action@master\n        with:\n          time: '45s'\n\n      - name: Run tests\n        run: |\n          poetry run make test", "state": "active", "repository": "biolink/kgx"}
{"mined_at": "2024-07-15T15:04:35.312591", "created_at": "2023-02-14T01:32:48+01:00", "updated_at": "2023-02-14T01:32:48+01:00", "name": "Publish Python Package", "path": ".github/workflows/pypi-release.yml", "contents": "name: Publish Python Package\n\non:\n  release:\n    types: [ created ]\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2.2.2\n      with:\n        python-version: 3.9\n\n    - name: Install Poetry\n      run: |\n        pip install poetry\n        poetry self add \"poetry-dynamic-versioning[plugin]\"\n    - name: Build source and wheel archives\n      run: poetry build\n\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@v1.2.2\n      with:\n        user: __token__\n        password: ${{ secrets.KGX_PYPI_TOKEN }}\n", "state": "active", "repository": "biolink/kgx"}
{"mined_at": "2024-07-15T15:04:36.395564", "created_at": "2024-04-08T22:18:39+02:00", "updated_at": "2024-04-08T22:44:41+02:00", "name": "Run tests", "path": ".github/workflows/run-tests.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Run tests\n\n# Controls when the action will run.\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    types: trigger-run-tests\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ \"3.9\", \"3.10\" ]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n\n      #----------------------------------------------\n      #          install poetry\n      #----------------------------------------------\n      - name: Install Poetry\n        run: pipx install poetry\n\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n\n      #----------------------------------------------\n      #    install your root project, if required\n      #----------------------------------------------\n      - name: Install library\n        run: poetry install --no-interaction\n\n      #----------------------------------------------\n      #              run test suite\n      #----------------------------------------------\n      - name: Setup Neo4j Docker\n        run: |\n          docker run --detach --name kgx-neo4j-unit-test -p 8484:7474 -p 8888:7687 --env NEO4J_AUTH=neo4j/test neo4j:4.3.0\n          docker run --detach --name kgx-neo4j-integration-test -p 7474:7474 -p 7687:7687 --env NEO4J_AUTH=neo4j/test neo4j:4.3.0\n          docker ps -a\n      - name: Wait\n        uses: jakejarvis/wait-action@master\n        with:\n          time: '45s'\n\n      - name: Run tests\n        run: |\n          poetry run make test\n\n", "state": "active", "repository": "biolink/kgx"}
{"mined_at": "2024-07-15T15:04:39.447832", "created_at": "2024-07-11T00:33:33+02:00", "updated_at": "2024-07-11T00:33:33+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "aleph-im/pyaleph"}
{"mined_at": "2024-07-15T15:04:40.498441", "created_at": "2024-07-09T17:56:08+02:00", "updated_at": "2024-07-09T17:56:08+02:00", "name": "Test code quality", "path": ".github/workflows/code-quality.yml", "contents": null, "state": "active", "repository": "aleph-im/pyaleph"}
{"mined_at": "2024-07-15T15:04:41.662422", "created_at": "2024-02-14T17:45:24+01:00", "updated_at": "2024-02-23T11:25:32+01:00", "name": "Test nix-shell", "path": ".github/workflows/nix-ci.yml", "contents": "name: Test nix-shell\n\non:\n  push:\n    branches:\n      - '*'\n\njobs:\n  nix-shell:\n    strategy:\n      matrix:\n        os: [ macos-latest, ubuntu-latest ]\n    runs-on: ${{ matrix.os }}\n\n    steps:\n        - uses: actions/checkout@v4\n          with:\n            # Fetch the whole history for all tags and branches (required for aleph.__version__)\n            fetch-depth: 0\n\n        - name: Setup empty config file\n          run: touch config.yml\n\n        - name: Set up Nix\n          uses: cachix/install-nix-action@v25\n          with:\n            # Use channel nixos-23.11 for Linux and nixpkgs-23.11-darwin for macOS\n            nix_path: nixpkgs=channel:${{ matrix.os == 'macos-latest' && 'nixpkgs-23.11-darwin' || 'nixos-23.11' }}\n\n        - name: Run tests\n          run: nix-shell --run \"pytest\"\n", "state": "active", "repository": "aleph-im/pyaleph"}
{"mined_at": "2024-07-15T15:04:42.789800", "created_at": "2022-02-01T10:48:45+01:00", "updated_at": "2023-01-23T11:43:59+01:00", "name": "Unit tests", "path": ".github/workflows/pyaleph-ci.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Unit tests\n\non:\n  push:\n    branches:\n      - dev\n      - main\n  pull_request:\n    branches:\n      - \"*\"\n\njobs:\n  tests:\n    runs-on: ubuntu-22.04\n    services:\n      postgres:\n        image: postgres:15.1\n        ports:\n          - 5432:5432\n        env:\n          POSTGRES_USER: aleph\n          POSTGRES_PASSWORD: decentralize-everything\n          POSTGRES_DATABASE: aleph\n      redis:\n        image: redis:7.0.10\n        ports:\n          - 127.0.0.1:6379:6379\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        # Fetch the whole history for all tags and branches (required for aleph.__version__)\n        fetch-depth: 0\n    - name: Set up Python 3.11\n      id: setup-python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.11\n    - name: Install latest Rust nightly toolchain\n      uses: actions-rs/toolchain@v1\n      with:\n        toolchain: nightly\n        override: true\n        components: rustfmt, clippy\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"::set-output name=dir::$(pip cache dir)\"\n    - uses: actions/cache@v2\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pip-${{ hashFiles('setup.cfg') }}\n    - name: Install Python dependencies\n      run: |\n        rustup default nightly  # Required to build some dependencies\n        pip install wheel\n        pip install --upgrade .[testing]\n    - name: Check types\n      run: |\n        mypy src/\n    - name: Check types in tests\n      run: |\n        mypy tests/\n    - name: Run unit tests\n      run: |\n        sudo cp .github/openssl-ci.cnf /etc/ssl/openssl.cnf\n        export OPENSSL_CONF=/etc/ssl/openssl.cnf\n        touch config.yml  # Fake config file for alembic\n        # TODO: determine why ResourceWarning warnings occur in some tests.\n        pytest -Werror -Wignore::ResourceWarning -v --cov .\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v4.0.1\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        slug: aleph-im/pyaleph\n  build:\n    runs-on: ubuntu-22.04\n    needs: tests\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n\n      - name: Log in to registry\n        run: echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n\n      - name: Download Docker cache image (if available)\n        run: docker pull ghcr.io/$GITHUB_REPOSITORY/build-cache || true\n\n      - name: Build the Docker image\n        run: |\n          git fetch --prune --unshallow --tags\n          docker build . -t pyaleph-node:${GITHUB_REF##*/} -f deployment/docker-build/pyaleph.dockerfile --cache-from=ghcr.io/$GITHUB_REPOSITORY/build-cache\n\n      - name: Push the image to the cache\n        # It's not possible to push packages from fork PRs.\n        if: github.event.pull_request.head.repo.full_name == github.repository\n        run: |\n          docker tag pyaleph-node:${GITHUB_REF##*/} ghcr.io/$GITHUB_REPOSITORY/build-cache\n          docker push ghcr.io/$GITHUB_REPOSITORY/build-cache\n", "state": "active", "repository": "aleph-im/pyaleph"}
{"mined_at": "2024-07-15T15:04:43.807753", "created_at": "2024-07-11T00:33:33+02:00", "updated_at": "2024-07-11T00:33:33+02:00", "name": "Test/Coverage with Python", "path": ".github/workflows/pytest.yml", "contents": null, "state": "active", "repository": "aleph-im/pyaleph"}
{"mined_at": "2024-07-15T15:04:45.929500", "created_at": "2020-01-21T18:50:51+01:00", "updated_at": "2021-04-23T16:51:54+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n    branches:\n      - main\n  pull_request:\njobs:\n  pylint:\n    name: Pylint\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Use pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            pip-\n      - name: Install dependencies\n        run: |\n          pip install wheel\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n      - name: Check formatting\n        run: black --check gnomad tests\n      - name: Check imports\n        run: isort --check-only gnomad tests\n      - name: Check docstrings\n        run: pydocstyle gnomad tests\n      - name: Check comment formatting\n        run: autopep8 --exit-code --diff gnomad\n      - name: Run Pylint\n        run: ./lint\n      - name: Run tests\n        run: python -m pytest\n  docs:\n    name: Build documentation\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Use pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            pip-\n      - name: Install dependencies\n        run: |\n          pip install wheel\n          pip install -r requirements.txt\n          pip install -r docs/requirements.docs.txt\n      - name: Build docs\n        run: ./docs/build.sh\n      - name: Publish to GitHub Pages\n        if: github.event_name == 'push'\n        run: |\n          # Create empty gh-pages branch\n          git checkout --orphan gh-pages\n\n          # Remove files other than docs\n          git rm -rf .\n          find . -name __pycache__ | xargs rm -r\n\n          # Move docs to root\n          mv docs/html/* ./\n          rm -r docs\n\n          # Tell GitHub not to treat this as a Jekyll site\n          touch .nojekyll\n\n          git config user.name \"${GITHUB_ACTOR}\"\n          git config user.email \"${GITHUB_ACTOR}@users.noreply.github.com\"\n\n          git add .\n          git commit --allow-empty -m \"Update docs\"\n\n          git push --force origin gh-pages\n\n          # Restore the original working tree by checking out the\n          # commit that triggered the workflow.\n          # This restores requirements.txt so that @actions/cache\n          # can use it for determining the cache key.\n          git checkout ${GITHUB_SHA}\n  gnomad_qc:\n    name: gnomad_qc checks\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout gnomad_methods\n        uses: actions/checkout@v3\n        with:\n          path: gnomad_methods\n      - name: Checkout gnomad_qc\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n          repository: broadinstitute/gnomad_qc\n          path: gnomad_qc\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Use pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: pip-${{ hashFiles('gnomad_methods/**/requirements*.txt') }}\n          restore-keys: |\n            pip-\n      - name: Install dependencies\n        run: |\n          pip install wheel\n          pip install ./gnomad_methods\n          cat gnomad_qc/requirements.txt | grep -v gnomad_methods > gnomad_qc/requirements-edited.txt\n          pip install -r gnomad_qc/requirements-edited.txt\n          pip install -r gnomad_methods/requirements-dev.txt\n      - name: Run Pylint\n        run: pylint --disable=R,C,W gnomad_qc\n        working-directory: ./gnomad_qc\n", "state": "active", "repository": "broadinstitute/gnomad_methods"}
{"mined_at": "2024-07-15T15:04:46.983389", "created_at": "2021-09-03T19:03:40+02:00", "updated_at": "2021-09-03T19:03:40+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish.yml", "contents": "# This workflow publishes the gnomad package to PyPI when a version tag is pushed to GitHub.\nname: Publish to PyPI\non:\n  push:\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]+\njobs:\n  publish-release:\n    name: Publish release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Validate version\n        run: |\n          package_version=$(grep 'version' setup.py | sed -E 's|.*([0-9]+\\.[0-9]+\\.[0-9]+).*|\\1|')\n          tag_version=$(echo \"$GITHUB_REF\" | sed -E 's|.*([0-9]+\\.[0-9]+\\.[0-9]+).*|\\1|')\n          if [ \"$package_version\" != \"$tag_version\" ]; then\n            echo \"Tag version (${tag_version}) does not match package version (${package_version})\"\n            exit 1\n          fi\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Use pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            pip-\n      - name: Install dependencies\n        run: |\n          pip install --upgrade setuptools\n          pip install wheel\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n      - name: Run Pylint\n        run: ./lint\n      - name: Run tests\n        run: python -m pytest\n      - name: Create distributions\n        run: python setup.py sdist bdist_wheel\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n      - name: Create GitHub Release\n        uses: actions/github-script@v5\n        with:\n          script: |\n            // Get repository and tag from workflow context\n            // https://docs.github.com/en/actions/learn-github-actions/contexts\n            const repo = \"${{ github.event.repository.name }}\"\n            const owner = \"${{ github.event.repository.owner.name }}\"\n            const tag = \"${{ github.ref }}\".replace(/^refs\\/tags\\//, \"\")\n\n            // Create a GitHub Release for the tag if one doesn't already exist\n            try {\n              await github.rest.repos.getReleaseByTag({ owner, repo, tag })\n              console.log(\"Release already exists\")\n            } catch (error) {\n              if (error.status === 404) {\n                console.log(\"Creating release\")\n                await github.rest.repos.createRelease({\n                  owner, repo,\n                  tag_name: tag,\n                  generate_release_notes: true\n                })\n              } else {\n                throw error\n              }\n            }\n", "state": "active", "repository": "broadinstitute/gnomad_methods"}
{"mined_at": "2024-07-15T15:04:48.005808", "created_at": "2024-05-21T22:52:54+02:00", "updated_at": "2024-05-21T22:52:54+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "broadinstitute/gnomad_methods"}
{"mined_at": "2024-07-15T15:04:49.037950", "created_at": "2022-01-03T16:35:09+01:00", "updated_at": "2022-01-03T16:35:09+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "broadinstitute/gnomad_methods"}
{"mined_at": "2024-07-15T15:04:51.169448", "created_at": "2021-05-05T19:39:51+02:00", "updated_at": "2021-05-05T19:39:51+02:00", "name": "CLA Assistant", "path": ".github/workflows/agreements.yaml", "contents": "name: \"CLA Assistant\"\non:\n  issue_comment:\n    types: [created]\n  pull_request_target:\n    types: [opened, closed, synchronize]\n\npermissions:\n  actions: write\n  contents: write\n  pull-requests: write\n  statuses: write\n\njobs:\n  ContributorLicenseAgreement:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"CLA Assistant\"\n        if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'\n        # Alpha Release\n        uses: contributor-assistant/github-action@v2.4.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # the below token should have repo scope and must be manually added by you in the repository's secret\n          PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}\n        with:\n          path-to-signatures: \"signatures/version1/cla.json\"\n          path-to-document: \"https://github.com/splunk/cla-agreement/blob/main/CLA.md\" # e.g. a CLA or a DCO document\n          # branch should not be protected\n          branch: \"main\"\n          allowlist: renovate[bot],semantic-release-bot\n          #below are the optional inputs - If the optional inputs are not given, then default values will be taken\n          remote-organization-name: splunk\n          remote-repository-name: cla-agreement\n          #create-file-commit-message: 'For example: Creating file for storing CLA Signatures'\n          #signed-commit-messag e: 'For example: $contributorName has signed the CLA in #$pullRequestNo'\n          #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'\n          #custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'\n          #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'\n  CodeOfConduct:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"COC Assistant\"\n        if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the Code of Conduct and I hereby accept the Terms') || github.event_name == 'pull_request_target'\n        # Alpha Release\n        uses: contributor-assistant/github-action@v2.4.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # the below token should have repo scope and must be manually added by you in the repository's secret\n          PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}\n        with:\n          path-to-signatures: \"signatures/version1/coc.json\"\n          path-to-document: \"https://github.com/splunk/cla-agreement/blob/main/CODE_OF_CONDUCT.md\" # e.g. a COC or a DCO document\n          # branch should not be protected\n          branch: \"main\"\n          allowlist: renovate[bot],semantic-release-bot\n          #below are the optional inputs - If the optional inputs are not given, then default values will be taken\n          remote-organization-name: splunk\n          remote-repository-name: cla-agreement\n          custom-pr-sign-comment: \"I have read the Code of Conduct and I hereby accept the Terms\"\n          create-file-commit-message: \"For example: Creating file for storing COC Signatures\"\n          signed-commit-message: \"$contributorName has signed the COC in #$pullRequestNo\"\n          custom-notsigned-prcomment: \"All contributors have NOT signed the COC Document\"\n          custom-allsigned-prcomment: \"****CLA Assistant Lite bot**** All contributors have signed the COC  ✍️ ✅\"\n", "state": "active", "repository": "splunk/splunk-connect-for-syslog"}
{"mined_at": "2024-07-15T15:04:52.311130", "created_at": "2021-08-05T17:20:23+02:00", "updated_at": "2021-08-31T22:02:50+02:00", "name": "Release Tagger", "path": ".github/workflows/update-tags.yaml", "contents": "name: Release Tagger\n\non:\n  push:\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n  # release:\n  #   types:\n  #     - published\n  #     - edited\n\npermissions:\n  actions: read\n  contents: write\n\njobs:\n  update-semver-tags:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Update Semver Tags\n        uses: tchupp/actions-update-semver-tags@v1\n", "state": "active", "repository": "splunk/splunk-connect-for-syslog"}
{"mined_at": "2024-07-15T15:04:53.437682", "created_at": "2021-08-15T15:02:44+02:00", "updated_at": "2021-08-16T01:02:00+02:00", "name": "cd-docs-pdf", "path": ".github/workflows/cd-docs-pdf.yaml", "contents": "#   ########################################################################\n#   Copyright 2021 Splunk Inc.\n#\n#    Licensed under the Apache License, Version 2.0 (the \"License\");\n#    you may not use this file except in compliance with the License.\n#    You may obtain a copy of the License at\n#\n#        http://www.apache.org/licenses/LICENSE-2.0\n#\n#    Unless required by applicable law or agreed to in writing, software\n#    distributed under the License is distributed on an \"AS IS\" BASIS,\n#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n#    See the License for the specific language governing permissions and\n#    limitations under the License.\n#   ########################################################################\n\nname: cd-docs-pdf\non:\n  push:\n    branches-ignore:\n    - \"**\"  \n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n\npermissions:\n  contents: write\n  pages: write\n  packages: write\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: false\n      - id: doc-files\n        name: Produce PDF from docs\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y pandoc texlive librsvg2-bin texlive-latex-extra\n          pandoc -s --pdf-engine=pdflatex -o /tmp/SC4S_docs.pdf $(find . -type f -name \"*.md\")\n      - name: Release\n        uses: softprops/action-gh-release@v2\n        with:\n          files: /tmp/SC4S_docs.pdf\n", "state": "active", "repository": "splunk/splunk-connect-for-syslog"}
{"mined_at": "2024-07-15T15:04:54.568155", "created_at": "2021-08-15T15:02:45+02:00", "updated_at": "2023-07-07T08:40:00+02:00", "name": "ci-main", "path": ".github/workflows/ci-main.yaml", "contents": "#   ########################################################################\n#   Copyright 2021 Splunk Inc.\n#\n#    Licensed under the Apache License, Version 2.0 (the \"License\");\n#    you may not use this file except in compliance with the License.\n#    You may obtain a copy of the License at\n#\n#        http://www.apache.org/licenses/LICENSE-2.0\n#\n#    Unless required by applicable law or agreed to in writing, software\n#    distributed under the License is distributed on an \"AS IS\" BASIS,\n#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n#    See the License for the specific language governing permissions and\n#    limitations under the License.\n#   ########################################################################\n\nname: ci-main\non:\n  push:\n    branches:\n      - \"main\"\n      - \"releases/*\"\n      - \"develop\"\n      - \"next*\"\n  pull_request:\n    branches:\n      - \"main\"\n      - \"releases/*\"\n      - \"develop\"\n      - \"next*\"\n\npermissions:\n  actions: read\n  contents: write\n  deployments: write\n  packages: write\n\njobs:\n  meta:\n    runs-on: ubuntu-latest\n    outputs:\n      sc4s: ghcr.io/${{ github.repository }}/container3:${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.version'] }}\n      container_tags: ${{ steps.docker_action_meta.outputs.tags }}\n      container_labels: ${{ steps.docker_action_meta.outputs.labels }}\n      container_buildtime: ${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.created'] }}\n      container_version: ${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.version'] }}\n      container_revision: ${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.revision'] }}\n      container_base: ${{ fromJSON(steps.docker_action_meta.outputs.json).tags[0] }}\n      matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - uses: actions/setup-node@v4\n        with:\n          node-version: \"20\"\n      - name: Semantic Release\n        id: version\n        uses: cycjimmy/semantic-release-action@v3\n        with:\n          semantic_version: 18\n          extra_plugins: |\n            @semantic-release/exec\n            @semantic-release/git\n            semantic-release-helm\n            @google/semantic-release-replace-plugin@1.2.0\n            conventional-changelog-conventionalcommits@6.1.0\n          dry_run: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        id: docker_action_meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ghcr.io/${{ github.repository }}/container3\n          tags: |\n            type=sha,format=long\n            type=sha\n            type=semver,pattern={{version}},value=${{ steps.version.outputs.new_release_version }}\n            type=semver,pattern={{major}},value=${{ steps.version.outputs.new_release_version }}\n            type=semver,pattern={{major}}.{{minor}},value=${{ steps.version.outputs.new_release_version }}\n            type=ref,event=branch\n            type=ref,event=pr\n            type=ref,event=tag\n      - name: matrix\n        id: matrix\n        uses: splunk/addonfactory-test-matrix-action@v1.13.1\n\n  security-fossa-scan:\n    continue-on-error: true\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: run fossa anlyze and create report\n        run: |\n          curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash\n          fossa analyze --debug\n          fossa report attribution --format text > /tmp/THIRDPARTY\n        env:\n          FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}\n      - name: upload THIRDPARTY file\n        uses: actions/upload-artifact@v4\n        with:\n          name: THIRDPARTY\n          path: /tmp/THIRDPARTY\n      - name: run fossa test\n        run: |\n          fossa test --debug\n        env:\n          FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}\n\n  build_action:\n    runs-on: ubuntu-latest\n    name: Build Action\n    needs:\n      - meta\n    steps:\n      # To use this repository's private action,\n      # you must check out the repository\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to GitHub Packages Docker Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and push action\n        id: docker_action_build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          provenance: false\n          file: package/Dockerfile\n          #platforms: linux/amd64,linux/arm64\n          platforms: linux/amd64,linux/arm64\n          push: true\n          #tags: ${{ needs.meta.outputs.container_tags }}\n          tags: ${{ needs.meta.outputs.container_base }}\n          labels: ${{ needs.meta.outputs.container_labels }}\n          build-args: |\n            BUILDTIME=${{ needs.meta.outputs.container_buildtime }}\n            VERSION=${{ needs.meta.outputs.container_version }}\n            REVISION=${{ needs.meta.outputs.container_revision }}\n          cache-from: type=registry,ref=${{ needs.meta.outputs.container_base }}\n          cache-to: type=inline\n    \n  scan-docker-image-cves:\n    runs-on: ubuntu-latest\n    name: Scan docker image on CVEs\n    needs:\n      - meta\n      - build_action\n    steps:\n      - name: Run docker vulnerability scanner\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: ${{ needs.meta.outputs.container_base }}\n          format: 'table'\n          exit-code: '1'\n          severity: 'CRITICAL,HIGH'\n\n  test-container:\n    runs-on: ubuntu-latest\n    needs:\n      - meta\n      - build_action\n    strategy:\n      matrix:\n        splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }}\n    # runs all of the steps inside the specified container rather than on the VM host.\n    # Because of this the network configuration changes from host based network to a container network.\n    container:\n      image: python:3.9-buster\n\n    services:\n      splunk:\n        image: splunk/splunk:${{ matrix.splunk.version }}\n        ports:\n          - 8000:8000\n          - 8088:8088\n          - 8089:8089\n        env:\n          SPLUNK_HEC_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630\n          SPLUNK_PASSWORD: Changed@11\n          SPLUNK_START_ARGS: --accept-license\n          SPLUNK_APPS_URL: https://github.com/splunk/splunk-configurations-base-indexes/releases/download/v1.0.0/splunk_configurations_base_indexes-1.0.0.tar.gz\n\n      sc4s:\n        image: ${{ needs.meta.outputs.container_base }}\n        ports:\n          - 514:514\n          - 601:601\n          - 5614:5514\n          - 5601:5601\n          - 6000:6000\n          - 6002:6002\n          - 9000:9000\n        env:\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_URL: https://splunk:8088\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_TLS_VERIFY: \"no\"\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_HTTP_COMPRESSION: \"yes\"\n          SC4S_LISTEN_PFSENSE_FIREWALL_TCP_PORT: 6000\n          SC4S_LISTEN_SIMPLE_TEST_ONE_TCP_PORT: 5514\n          SC4S_LISTEN_SIMPLE_TEST_ONE_UDP_PORT: 5514\n          SC4S_LISTEN_SIMPLE_TEST_TWO_TCP_PORT: 5601\n          SC4S_LISTEN_SPECTRACOM_NTP_TCP_PORT: 6002\n          SC4S_LISTEN_CISCO_ESA_TCP_PORT: 9000\n          SC4S_LISTEN_RARITAN_DSX_TCP_PORT: 9001\n          SC4S_LISTEN_CHECKPOINT_SPLUNK_NOISE_CONTROL: \"yes\"\n          SC4S_SOURCE_RICOH_SYSLOG_FIXHOST: \"yes\"\n          TEST_SC4S_ACTIVATE_EXAMPLES: \"yes\"\n          SC4S_DEBUG_CONTAINER: \"yes\"\n          SC4S_SOURCE_VMWARE_VSPHERE_GROUPMSG: \"yes\"\n          SC4S_USE_VPS_CACHE: \"yes\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - name: Run tests\n        run: |\n          pip3 install poetry\n          poetry install\n          mkdir -p test-results || true\n          poetry run pytest -v --tb=long \\\n            --splunk_type=external \\\n            --splunk_hec_token=70b6ae71-76b3-4c38-9597-0c5b37ad9630 \\\n            --splunk_host=splunk \\\n            --sc4s_host=sc4s \\\n            --junitxml=test-results/test.xml \\\n            -n 14 \\\n            -k 'not lite and not name_cache'\n  \n  test-ipv4-name-cache:\n    runs-on: ubuntu-latest\n    needs:\n      - meta\n      - build_action\n    # runs all of the steps inside the specified container rather than on the VM host.\n    # Because of this the network configuration changes from host based network to a container network.\n    container:\n      image: python:3.9-buster\n    services:\n      splunk:\n        image: splunk/splunk:${{ fromJson(needs.meta.outputs.matrix_supportedSplunk)[0].version }}\n        ports:\n          - 8088:8088\n          - 8089:8089\n        env:\n          SPLUNK_HEC_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630\n          SPLUNK_PASSWORD: Changed@11\n          SPLUNK_START_ARGS: --accept-license\n          SPLUNK_APPS_URL: https://github.com/splunk/splunk-configurations-base-indexes/releases/download/v1.0.0/splunk_configurations_base_indexes-1.0.0.tar.gz\n\n      sc4s:\n        image: ${{ needs.meta.outputs.container_base }}\n        ports:\n          - 514:514\n        env:\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_URL: https://splunk:8088\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_TLS_VERIFY: \"no\"\n          SC4S_USE_NAME_CACHE: \"yes\"\n          SC4S_CLEAR_NAME_CACHE: \"yes\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - name: Run tests\n        run: |\n          pip3 install poetry\n          poetry install\n          mkdir -p test-results || true\n          poetry run pytest -v --tb=long \\\n            --splunk_type=external \\\n            --splunk_hec_token=70b6ae71-76b3-4c38-9597-0c5b37ad9630 \\\n            --splunk_host=splunk \\\n            --sc4s_host=sc4s \\\n            --junitxml=test-results/test.xml \\\n            -n 1 \\\n            -m 'name_cache'\n\n  test-ipv6-name-cache:\n    runs-on: ubuntu-latest\n    needs:\n      - meta\n      - build_action\n    # runs all of the steps inside the specified container rather than on the VM host.\n    # Because of this the network configuration changes from host based network to a container network.\n    container:\n      image: python:3.9-buster\n    services:\n      splunk:\n        image: splunk/splunk:${{ fromJson(needs.meta.outputs.matrix_supportedSplunk)[0].version }}\n        ports:\n          - 8088:8088\n          - 8089:8089\n        env:\n          SPLUNK_HEC_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630\n          SPLUNK_PASSWORD: Changed@11\n          SPLUNK_START_ARGS: --accept-license\n          SPLUNK_APPS_URL: https://github.com/splunk/splunk-configurations-base-indexes/releases/download/v1.0.0/splunk_configurations_base_indexes-1.0.0.tar.gz\n\n      sc4s:\n        image: ${{ needs.meta.outputs.container_base }}\n        ports:\n          - 514:514\n        env:\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_URL: https://splunk:8088\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_TLS_VERIFY: \"no\"\n          SC4S_USE_NAME_CACHE: \"yes\"\n          SC4S_CLEAR_NAME_CACHE: \"yes\"\n          SC4S_IPV6_ENABLE: \"yes\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - name: Run tests\n        run: |\n          pip3 install poetry\n          poetry install\n          mkdir -p test-results || true\n          poetry run pytest -v --tb=long \\\n            --splunk_type=external \\\n            --splunk_hec_token=70b6ae71-76b3-4c38-9597-0c5b37ad9630 \\\n            --splunk_host=splunk \\\n            --sc4s_host=sc4s \\\n            --junitxml=test-results/test.xml \\\n            -n 1 \\\n            -m 'name_cache'\n\n  mike:\n    runs-on: ubuntu-latest\n    if: ${{ github.ref == 'refs/heads/main' }} || ${{ github.ref == 'refs/heads/develop' }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: oleksiyrudenko/gha-git-credentials@v2.1.2\n        with:\n          token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\" # Version range or exact version of a Python version to use, using SemVer's version range syntax\n          architecture: \"x64\" # optional x64 or x86. Defaults to x64 if not specified\n      - name: Upload\n        run: |\n          BRANCH=$(echo $GITHUB_REF | cut -d / -f 3)\n          echo $BRANCH\n          pip3 install poetry\n          poetry install\n          poetry run mike deploy -p $BRANCH\n  \n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    needs:\n      - meta\n      - build_action\n      - test-container\n      - test-ipv4-name-cache\n      - test-ipv6-name-cache\n      - mike\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - uses: actions/setup-node@v4\n        with:\n          node-version: \"20\"\n      - name: Semantic Release\n        id: version\n        uses: cycjimmy/semantic-release-action@v3\n        with:\n          semantic_version: 18\n          extra_plugins: |\n            @semantic-release/exec\n            @semantic-release/git\n            semantic-release-helm\n            @google/semantic-release-replace-plugin@1.2.0\n            conventional-changelog-conventionalcommits@6.1.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }}\n", "state": "active", "repository": "splunk/splunk-connect-for-syslog"}
{"mined_at": "2024-07-15T15:04:55.691703", "created_at": "2021-08-16T00:00:19+02:00", "updated_at": "2021-08-16T01:02:00+02:00", "name": "cd-baremtal", "path": ".github/workflows/cd-baremtal.yaml", "contents": "#   ########################################################################\n#   Copyright 2021 Splunk Inc.\n#\n#    Licensed under the Apache License, Version 2.0 (the \"License\");\n#    you may not use this file except in compliance with the License.\n#    You may obtain a copy of the License at\n#\n#        http://www.apache.org/licenses/LICENSE-2.0\n#\n#    Unless required by applicable law or agreed to in writing, software\n#    distributed under the License is distributed on an \"AS IS\" BASIS,\n#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n#    See the License for the specific language governing permissions and\n#    limitations under the License.\n#   ########################################################################\n\nname: cd-baremtal\non:\n  push:\n    branches-ignore:\n      - \"**\"\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n\npermissions:\n  contents: write\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9' # Version range or exact version of a Python version to use, using SemVer's version range syntax\n          architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified\n      - id: byoe\n        name: Produce BYOE package\n        run: |\n          pip3 install poetry\n          poetry export   --without-hashes >package/etc/requirements.txt\n          tar rvf /tmp/baremetal.tar -C package/etc .\n          tar rvf /tmp/baremetal.tar -C . pyproject.toml\n          tar rvf /tmp/baremetal.tar -C . poetry.lock\n          tar rvf /tmp/baremetal.tar -C package/sbin entrypoint.sh\n          sha512sum -b /tmp/baremetal.tar > /tmp/baremetal_checksum.txt\n      - name: Release\n        uses: softprops/action-gh-release@v2\n        with:\n          files: /tmp/baremetal.tar, /tmp/baremetal_checksum.txt\n", "state": "active", "repository": "splunk/splunk-connect-for-syslog"}
{"mined_at": "2024-07-15T15:04:56.810946", "created_at": "2021-08-16T00:00:19+02:00", "updated_at": "2021-08-16T01:02:00+02:00", "name": "cd-oci-container", "path": ".github/workflows/cd-oci-container.yaml", "contents": "#   ########################################################################\n#   Copyright 2021 Splunk Inc.\n#\n#    Licensed under the Apache License, Version 2.0 (the \"License\");\n#    you may not use this file except in compliance with the License.\n#    You may obtain a copy of the License at\n#\n#        http://www.apache.org/licenses/LICENSE-2.0\n#\n#    Unless required by applicable law or agreed to in writing, software\n#    distributed under the License is distributed on an \"AS IS\" BASIS,\n#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n#    See the License for the specific language governing permissions and\n#    limitations under the License.\n#   ########################################################################\n\nname: cd-oci-container\non:\n  push:\n    branches-ignore:\n      - \"**\"\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n\npermissions:\n  contents: write\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: false\n      - id: Pull\n        name: Pull Container\n        run: |\n          VERSION=$(cat package/etc/VERSION)\n          echo Pulling $VERSION\n          docker pull ghcr.io/splunk/splunk-connect-for-syslog/container3:$VERSION\n          docker save ghcr.io/splunk/splunk-connect-for-syslog/container3:$VERSION | gzip -c > /tmp/oci_container.tar.gz\n          sha512sum -b /tmp/oci_container.tar.gz > /tmp/oci_container_checksum.txt\n\n      - name: Release\n        uses: softprops/action-gh-release@v2\n        with:\n          files: /tmp/oci_container.tar.gz, /tmp/oci_container_checksum.txt\n", "state": "active", "repository": "splunk/splunk-connect-for-syslog"}
{"mined_at": "2024-07-15T15:04:57.827369", "created_at": "2021-08-19T18:56:34+02:00", "updated_at": "2021-08-19T20:57:21+02:00", "name": "cd-pages-helm", "path": ".github/workflows/cd-pages.yaml", "contents": "name: cd-pages-helm\n\non:\n  push:\n    branches-ignore:\n      - \"**\"\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n\npermissions:\n  contents: write\n  actions: read\n  pages: write\n  packages: write\n  deployments: write\n\njobs:\n  mike:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: oleksiyrudenko/gha-git-credentials@v2.1.2\n        with:\n          token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9' # Version range or exact version of a Python version to use, using SemVer's version range syntax\n          architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified\n      - name: Upload\n        run: |\n          VERSION=$(echo $GITHUB_REF | cut -d / -f 3 | sed 's/v//')\n          echo $VERSION\n          pip3 install poetry\n          poetry install\n          poetry run mike deploy -p $VERSION\n  helm:\n    runs-on: ubuntu-latest\n    needs: mike\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install Helm\n        uses: azure/setup-helm@v4\n        with:\n          version: v3.11.2\n      - name: Upload\n        run: |\n          mkdir /tmp/package\n          mkdir /tmp/index\n          mkdir /tmp/origin\n          echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token\n          VERSION=$(echo $GITHUB_REF | cut -d / -f 3)\n          echo $VERSION\n          wget https://splunk.github.io/splunk-connect-for-syslog/index.yaml -P /tmp/origin\n          helm package charts/splunk-connect-for-syslog -d /tmp/package\n          gh release upload $VERSION /tmp/package/*\n          helm repo index /tmp/package --url https://github.com/splunk/splunk-connect-for-syslog/releases/download/$VERSION --merge /tmp/origin/index.yaml\n          cp /tmp/package/index.yaml /tmp/index/\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: /tmp/index\n          keep_files: true\n", "state": "active", "repository": "splunk/splunk-connect-for-syslog"}
{"mined_at": "2024-07-15T15:04:58.969430", "created_at": "2021-08-31T18:13:24+02:00", "updated_at": "2021-08-31T18:13:24+02:00", "name": "Automatic Rebase", "path": ".github/workflows/rebase.yaml", "contents": "name: Automatic Rebase\non:\n  issue_comment:\n    types: [created]\n\npermissions:\n  actions: read\n  contents: write\n\njobs:\n  rebase:\n    name: Rebase\n    if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') && github.event.comment.author_association == 'MEMBER'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout the latest code\n        uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.GHCR_PAT }}\n          fetch-depth: 0 # otherwise, you will fail to push refs to dest repo\n      - name: Automatic Rebase\n        uses: cirrus-actions/rebase@1.8\n        env:\n          GITHUB_TOKEN: ${{ secrets.GHCR_PAT }}\n", "state": "active", "repository": "splunk/splunk-connect-for-syslog"}
{"mined_at": "2024-07-15T15:05:00.196041", "created_at": "2021-09-01T12:16:39+02:00", "updated_at": "2021-09-01T16:27:52+02:00", "name": "cd-ghcr", "path": ".github/workflows/cd-ghcr.io.yaml", "contents": "#   ########################################################################\n#   Copyright 2021 Splunk Inc.\n#\n#    Licensed under the Apache License, Version 2.0 (the \"License\");\n#    you may not use this file except in compliance with the License.\n#    You may obtain a copy of the License at\n#\n#        http://www.apache.org/licenses/LICENSE-2.0\n#\n#    Unless required by applicable law or agreed to in writing, software\n#    distributed under the License is distributed on an \"AS IS\" BASIS,\n#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n#    See the License for the specific language governing permissions and\n#    limitations under the License.\n#   ########################################################################\n\nname: cd-ghcr\non:\n  push:\n    branches-ignore:\n      - \"**\"\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n\npermissions:\n  packages: write\n  contents: write\n  deployments: write\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 1\n      matrix:\n        container: [container3, container3lite]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: false\n      - name: Setup regctl\n        run: |\n          curl -L https://github.com/regclient/regclient/releases/download/v0.4.7/regctl-linux-amd64 >/tmp/regctl\n          chmod 755 /tmp/regctl\n      - name: Login to GitHub Packages Docker Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        id: docker_action_meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ghcr.io/${{ github.repository }}/${{ matrix.container }}\n          tags: |\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=ref,event=branch\n            type=ref,event=pr\n            type=ref,event=tag\n            type=sha\n            type=sha,format=long\n      - id: Pull\n        name: Pull Container\n        run: |\n          VERSION=$(cat package/etc/VERSION)\n          for line in $CONTAINER_SOURCE_TAGS; do echo working on \"$line\"; /tmp/regctl image copy ghcr.io/${{ github.repository }}/${{ matrix.container }}:$VERSION $line; done\n        env:\n          CONTAINER_SOURCE_TAGS: ${{ steps.docker_action_meta.outputs.tags }}\n", "state": "active", "repository": "splunk/splunk-connect-for-syslog"}
{"mined_at": "2024-07-15T15:05:01.210851", "created_at": "2021-12-17T20:53:18+01:00", "updated_at": "2021-12-17T20:53:18+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "splunk/splunk-connect-for-syslog"}
{"mined_at": "2024-07-15T15:05:02.362879", "created_at": "2023-07-07T10:01:07+02:00", "updated_at": "2023-07-12T09:47:04+02:00", "name": "ci-lite", "path": ".github/workflows/ci-lite.yaml", "contents": "#   ########################################################################\n#   Copyright 2021 Splunk Inc.\n#\n#    Licensed under the Apache License, Version 2.0 (the \"License\");\n#    you may not use this file except in compliance with the License.\n#    You may obtain a copy of the License at\n#\n#        http://www.apache.org/licenses/LICENSE-2.0\n#\n#    Unless required by applicable law or agreed to in writing, software\n#    distributed under the License is distributed on an \"AS IS\" BASIS,\n#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n#    See the License for the specific language governing permissions and\n#    limitations under the License.\n#   ########################################################################\n\nname: ci-lite\non:\n  push:\n    branches:\n      - \"main\"\n      - \"releases/*\"\n      - \"develop\"\n      - \"next*\"\n  pull_request:\n    branches:\n      - \"main\"\n      - \"releases/*\"\n      - \"develop\"\n      - \"next*\"\n\npermissions:\n  actions: read\n  contents: write\n  deployments: write\n  packages: write\n\njobs:\n  meta:\n    runs-on: ubuntu-latest\n    outputs:\n      sc4s: ghcr.io/${{ github.repository }}/container3lite:${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.version'] }}\n      container_tags: ${{ steps.docker_action_meta.outputs.tags }}\n      container_labels: ${{ steps.docker_action_meta.outputs.labels }}\n      container_buildtime: ${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.created'] }}\n      container_version: ${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.version'] }}\n      container_revision: ${{ fromJSON(steps.docker_action_meta.outputs.json).labels['org.opencontainers.image.revision'] }}\n      container_base: ${{ fromJSON(steps.docker_action_meta.outputs.json).tags[0] }}\n      matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - uses: actions/setup-node@v4\n        with:\n          node-version: \"16\"\n      - name: Semantic Release\n        id: version\n        uses: cycjimmy/semantic-release-action@v3\n        with:\n          semantic_version: 18\n          extra_plugins: |\n            @semantic-release/exec\n            @semantic-release/git\n            semantic-release-helm\n            @google/semantic-release-replace-plugin@1.2.0\n            conventional-changelog-conventionalcommits@6.1.0\n          dry_run: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        id: docker_action_meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ghcr.io/${{ github.repository }}/container3lite\n          tags: |\n            type=sha,format=long\n            type=sha\n            type=semver,pattern={{version}},value=${{ steps.version.outputs.new_release_version }}\n            type=semver,pattern={{major}},value=${{ steps.version.outputs.new_release_version }}\n            type=semver,pattern={{major}}.{{minor}},value=${{ steps.version.outputs.new_release_version }}\n            type=ref,event=branch\n            type=ref,event=pr\n            type=ref,event=tag\n      - name: matrix\n        id: matrix\n        uses: splunk/addonfactory-test-matrix-action@v1.13.1\n\n  security-fossa-scan:\n    continue-on-error: true\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: run fossa anlyze and create report\n        run: |\n          curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash\n          fossa analyze --debug\n          fossa report attribution --format text > /tmp/THIRDPARTY\n        env:\n          FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}\n      - name: upload THIRDPARTY file\n        uses: actions/upload-artifact@v4\n        with:\n          name: THIRDPARTY\n          path: /tmp/THIRDPARTY\n      - name: run fossa test\n        run: |\n          fossa test --debug\n        env:\n          FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}\n\n  build_action:\n    runs-on: ubuntu-latest\n    name: Build Action\n    needs:\n      - meta\n    steps:\n      # To use this repository's private action,\n      # you must check out the repository\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to GitHub Packages Docker Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and push action\n        id: docker_action_build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          provenance: false\n          file: package/Dockerfile.lite\n          #platforms: linux/amd64,linux/arm64\n          platforms: linux/amd64,linux/arm64\n          push: true\n          #tags: ${{ needs.meta.outputs.container_tags }}\n          tags: ${{ needs.meta.outputs.container_base }}\n          labels: ${{ needs.meta.outputs.container_labels }}\n          build-args: |\n            BUILDTIME=${{ needs.meta.outputs.container_buildtime }}\n            VERSION=${{ needs.meta.outputs.container_version }}\n            REVISION=${{ needs.meta.outputs.container_revision }}\n          cache-from: type=registry,ref=${{ needs.meta.outputs.container_base }}\n          cache-to: type=inline\n\n  scan-docker-image-cves:\n    runs-on: ubuntu-latest\n    name: Scan docker image on CVEs\n    needs:\n      - meta\n      - build_action\n    steps:\n      - name: Run docker vulnerability scanner\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: ${{ needs.meta.outputs.container_base }}\n          format: 'table'\n          exit-code: '1'\n          severity: 'CRITICAL,HIGH'\n\n  test-container:\n    runs-on: ubuntu-latest\n    needs:\n      - meta\n      - build_action\n    strategy:\n      matrix:\n        splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }}\n    # runs all of the steps inside the specified container rather than on the VM host.\n    # Because of this the network configuration changes from host based network to a container network.\n    container:\n      image: python:3.9-buster\n\n    services:\n      splunk:\n        image: splunk/splunk:${{ matrix.splunk.version }}\n        ports:\n          - 8000:8000\n          - 8088:8088\n          - 8089:8089\n        env:\n          SPLUNK_HEC_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630\n          SPLUNK_PASSWORD: Changed@11\n          SPLUNK_START_ARGS: --accept-license\n          SPLUNK_APPS_URL: https://github.com/splunk/splunk-configurations-base-indexes/releases/download/v1.0.0/splunk_configurations_base_indexes-1.0.0.tar.gz\n\n      sc4s:\n        image: ${{ needs.meta.outputs.container_base }}\n        ports:\n          - 514:514\n          - 601:601\n          - 5614:5514\n          - 5601:5601\n          - 6000:6000\n          - 6002:6002\n          - 9000:9000\n        env:\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_URL: https://splunk:8088\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_TLS_VERIFY: \"no\"\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_HTTP_COMPRESSION: \"yes\"\n          SC4S_LISTEN_PFSENSE_FIREWALL_TCP_PORT: 6000\n          SC4S_LISTEN_SIMPLE_TEST_ONE_TCP_PORT: 5514\n          SC4S_LISTEN_SIMPLE_TEST_ONE_UDP_PORT: 5514\n          SC4S_LISTEN_SIMPLE_TEST_TWO_TCP_PORT: 5601\n          SC4S_LISTEN_SPECTRACOM_NTP_TCP_PORT: 6002\n          SC4S_LISTEN_CISCO_ESA_TCP_PORT: 9000\n          SC4S_LISTEN_RARITAN_DSX_TCP_PORT: 9001\n          SC4S_LISTEN_CHECKPOINT_SPLUNK_NOISE_CONTROL: \"yes\"\n          SC4S_SOURCE_RICOH_SYSLOG_FIXHOST: \"yes\"\n          TEST_SC4S_ACTIVATE_EXAMPLES: \"yes\"\n          SC4S_DEBUG_CONTAINER: \"yes\"\n          SC4S_SOURCE_VMWARE_VSPHERE_GROUPMSG: \"yes\"\n          SC4S_USE_VPS_CACHE: \"yes\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - name: Run tests\n        run: |\n          pip3 install poetry\n          poetry install\n          mkdir -p test-results || true\n          poetry run pytest -v --tb=long \\\n            --splunk_type=external \\\n            --splunk_hec_token=70b6ae71-76b3-4c38-9597-0c5b37ad9630 \\\n            --splunk_host=splunk \\\n            --sc4s_host=sc4s \\\n            --junitxml=test-results/test.xml \\\n            -n 14 -m \"lite or addons\"\n\n  test-ipv4-name-cache:\n    runs-on: ubuntu-latest\n    needs:\n      - meta\n      - build_action\n    # runs all of the steps inside the specified container rather than on the VM host.\n    # Because of this the network configuration changes from host based network to a container network.\n    container:\n      image: python:3.9-buster\n    services:\n      splunk:\n        image: splunk/splunk:${{ fromJson(needs.meta.outputs.matrix_supportedSplunk)[0].version }}\n        ports:\n          - 8088:8088\n          - 8089:8089\n        env:\n          SPLUNK_HEC_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630\n          SPLUNK_PASSWORD: Changed@11\n          SPLUNK_START_ARGS: --accept-license\n          SPLUNK_APPS_URL: https://github.com/splunk/splunk-configurations-base-indexes/releases/download/v1.0.0/splunk_configurations_base_indexes-1.0.0.tar.gz\n\n      sc4s:\n        image: ${{ needs.meta.outputs.container_base }}\n        ports:\n          - 514:514\n        env:\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_URL: https://splunk:8088\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_TLS_VERIFY: \"no\"\n          SC4S_USE_NAME_CACHE: \"yes\"\n          SC4S_CLEAR_NAME_CACHE: \"yes\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - name: Run tests\n        run: |\n          pip3 install poetry\n          poetry install\n          mkdir -p test-results || true\n          poetry run pytest -v --tb=long \\\n            --splunk_type=external \\\n            --splunk_hec_token=70b6ae71-76b3-4c38-9597-0c5b37ad9630 \\\n            --splunk_host=splunk \\\n            --sc4s_host=sc4s \\\n            --junitxml=test-results/test.xml \\\n            -n 1 \\\n            -m 'name_cache'\n\n  test-ipv6-name-cache:\n    runs-on: ubuntu-latest\n    needs:\n      - meta\n      - build_action\n    # runs all of the steps inside the specified container rather than on the VM host.\n    # Because of this the network configuration changes from host based network to a container network.\n    container:\n      image: python:3.9-buster\n    services:\n      splunk:\n        image: splunk/splunk:${{ fromJson(needs.meta.outputs.matrix_supportedSplunk)[0].version }}\n        ports:\n          - 8088:8088\n          - 8089:8089\n        env:\n          SPLUNK_HEC_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630\n          SPLUNK_PASSWORD: Changed@11\n          SPLUNK_START_ARGS: --accept-license\n          SPLUNK_APPS_URL: https://github.com/splunk/splunk-configurations-base-indexes/releases/download/v1.0.0/splunk_configurations_base_indexes-1.0.0.tar.gz\n\n      sc4s:\n        image: ${{ needs.meta.outputs.container_base }}\n        ports:\n          - 514:514\n        env:\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_URL: https://splunk:8088\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630\n          SC4S_DEST_SPLUNK_HEC_DEFAULT_TLS_VERIFY: \"no\"\n          SC4S_USE_NAME_CACHE: \"yes\"\n          SC4S_CLEAR_NAME_CACHE: \"yes\"\n          SC4S_IPV6_ENABLE: \"yes\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - name: Run tests\n        run: |\n          pip3 install poetry\n          poetry install\n          mkdir -p test-results || true\n          poetry run pytest -v --tb=long \\\n            --splunk_type=external \\\n            --splunk_hec_token=70b6ae71-76b3-4c38-9597-0c5b37ad9630 \\\n            --splunk_host=splunk \\\n            --sc4s_host=sc4s \\\n            --junitxml=test-results/test.xml \\\n            -n 1 \\\n            -m 'name_cache'\n\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    needs:\n      - meta\n      - build_action\n      - test-container\n      - test-ipv4-name-cache\n      - test-ipv6-name-cache\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - uses: actions/setup-node@v4\n        with:\n          node-version: \"16\"\n      - name: Semantic Release\n        id: version\n        uses: cycjimmy/semantic-release-action@v3\n        with:\n          semantic_version: 18\n          extra_plugins: |\n            @semantic-release/exec\n            @semantic-release/git\n            semantic-release-helm\n            @google/semantic-release-replace-plugin@1.2.0\n            conventional-changelog-conventionalcommits@6.1.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }}\n", "state": "active", "repository": "splunk/splunk-connect-for-syslog"}
{"mined_at": "2024-07-15T15:05:03.576973", "created_at": "2023-10-24T12:41:44+02:00", "updated_at": "2023-10-24T12:41:44+02:00", "name": "test-matrix", "path": ".github/workflows/ci-test-matrix.yaml", "contents": null, "state": "active", "repository": "splunk/splunk-connect-for-syslog"}
{"mined_at": "2024-07-15T15:05:05.613880", "created_at": "2023-09-15T05:57:12+02:00", "updated_at": "2023-09-15T05:57:12+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  pull_request:\n    # Build on changes to this workflow files in PRs to test proposed changes\n    paths:\n      - '.github/workflows/build.yml'\n  push:\n    branches:\n      - main\n      - dev\n  workflow_dispatch:\n    inputs:\n      os-ref:\n        description: The seedsigner-os ref (tag/branch/sha1) to use\n        default: main\n        required: true\n\n# Increment this number as part of a PR to trigger an image build for the PR\n# trigger = 0\n\njobs:\n  build:\n    name: build\n    runs-on: ubuntu-latest\n    # Prevent resource consuming cron triggered runs in forks\n    if: (!github.event.repository.fork || github.event_name == 'workflow_dispatch')\n    strategy:\n      fail-fast: false\n      matrix:\n        target: [ \"pi0\", \"pi2\", \"pi02w\", \"pi4\" ]\n    steps:\n      - name: checkout seedsigner-os\n        uses: actions/checkout@v3\n        with:\n          repository: \"seedsigner/seedsigner-os\"\n          # use the os-ref input parameter in case of workflow_dispatch or default to main in case of cron triggers\n          ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.os-ref || 'main' }}\n          submodules: true\n          path: \"seedsigner-os\"\n          # get full history + tags for \"git describe\"\n          fetch-depth: 0\n\n      - name: checkout source\n        uses: actions/checkout@v3\n        with:\n          # ref defaults to repo default-branch=dev (cron) or SHA of event (workflow_dispatch)\n          path: \"seedsigner-os/opt/rootfs-overlay/opt\"\n          # get full history + tags for \"git describe\"\n          fetch-depth: 0\n\n      - name: Get and set meta data\n        run: |\n          # The builder_hash (seedsigner-os hash) for the cache action step key\n          echo \"builder_hash=$(git -C seedsigner-os rev-parse --short HEAD)\"| tee -a $GITHUB_ENV\n\n          # Derive tag based versions, like 0.7.0-40-g0424967 (=$tag-$number-of-commits-since-tag-$short-sha1),\n          # or just e.g. 0.7.0, if we are exactly on a 0.7.0 tagged commit.\n          # --always to fall back to commit sha, if no tag present like in partial forks of the repo\n          os_version=\"$(git -C seedsigner-os describe --tags --always)\"\n          source_version=\"$(git -C seedsigner-os/opt/rootfs-overlay/opt describe --tags --always)\"\n\n          # Combine seedsigner and seedsigner-os version into one version string and squash the versions, if\n          # they are identical: So os_version=0.7.0 + source_version=0.7.0 combine to just only \"0.7.0\",\n          # whereas os_version=0.6.0-61-g9fafebe + source_version=0.7.0-40-g0424967 combine to \"os0.6.0-61-g9fafebe_sw0.7.0-40-g0424967\"\n          if [ \"${os_version}\" = \"${source_version}\" ]; then\n            # seedsigner + seedsigner_os have the same tag\n            echo \"img_version=${source_version}\"| tee -a $GITHUB_ENV\n          else\n            echo \"img_version=os${os_version}_sw${source_version}\"| tee -a $GITHUB_ENV\n          fi\n\n      - name: delete unnecessary files\n        run: |\n          cd seedsigner-os/opt/rootfs-overlay/opt\n          find . -mindepth 1 -maxdepth 1 ! -name src -exec rm -rf {} +\n          ls -la .\n          ls -la src\n\n      - name: restore build cache\n        uses: actions/cache@v3\n        # Caching reduces the build time to ~50% (currently: ~30 mins instead of ~1 hour,\n        # while consuming ~850 MB storage space).\n        with:\n          path: |\n            ~/.buildroot-ccache/\n            seedsigner-os/buildroot_dl\n          key: build-cache-${{ matrix.target }}-${{ env.builder_hash }}\n          restore-keys: |\n            build-cache-${{ matrix.target }}-\n\n      - name: build\n        run: |\n          cd seedsigner-os/opt\n          ./build.sh --${{ matrix.target }} --skip-repo --no-clean\n\n      - name: list image (before rename)\n        run: |\n          ls -la seedsigner-os/images\n\n      - name: rename image\n        run: |\n          cd seedsigner-os/images\n          mv seedsigner_os*.img seedsigner_os.${{ env.img_version }}.${{ matrix.target }}.img\n\n      - name: print sha256sum\n        run: |\n          cd seedsigner-os/images\n          sha256sum *.img\n\n      - name: list image (after rename)\n        run: |\n          ls -la seedsigner-os/images\n\n      - name: upload images\n        uses: actions/upload-artifact@v3\n        with:\n          name: seedsigner_os_images\n          path: \"seedsigner-os/images/*.img\"\n          if-no-files-found: error\n          # maximum 90 days retention\n          retention-days: 90\n\n  sha256sum:\n    name: calculate sha256sum\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: download images\n        uses: actions/download-artifact@v3\n        with:\n          name: seedsigner_os_images\n          path: images\n\n      - name: list images\n        run: |\n          ls -la images\n\n      - name: get seedsigner latest commit hash\n        id: get-seedsigner-hash\n        run: |\n          git init\n          echo \"source_hash=$(git rev-parse --short ${{ github.sha }})\" >> $GITHUB_ENV\n\n      - name: write sha256sum\n        run: |\n          cd images\n          sha256sum *.img > seedsigner_os.${{ env.source_hash }}.sha256\n\n      - name: upload checksums\n        uses: actions/upload-artifact@v3\n        with:\n          name: seedsigner_os_images\n          path: \"images/*.sha256\"\n          if-no-files-found: error\n          # maximum 90 days retention\n          retention-days: 90\n", "state": "active", "repository": "seedsigner/seedsigner"}
{"mined_at": "2024-07-15T15:05:06.739125", "created_at": "2023-09-15T14:53:04+02:00", "updated_at": "2023-09-15T14:53:04+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yaml", "contents": null, "state": "active", "repository": "seedsigner/seedsigner"}
{"mined_at": "2024-07-15T15:05:07.742427", "created_at": "2023-09-14T21:03:26+02:00", "updated_at": "2023-09-14T21:03:26+02:00", "name": "CI", "path": ".github/workflows/tests.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - dev\n      - main\n  pull_request:\n\nconcurrency:\n  # Concurrency group that uses the workflow name and PR number if available\n  # or commit SHA as a fallback. If a new build is triggered under that\n  # concurrency group while a previous build is running it will be canceled.\n  # Repeated pushes to a PR will cancel all previous builds, while multiple\n  # merges to main will not cancel.\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get install libzbar0\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt -r tests/requirements.txt\n          python setup.py install\n      - name: Test with pytest\n        run: |\n          mkdir artifacts\n          python -m pytest \\\n            --color=yes \\\n            --cov=seedsigner \\\n            --cov-append \\\n            --cov-branch \\\n            --cov-report term \\\n            --cov-report html \\\n            --cov-report html:./artifacts/cov_html \\\n            --cov-report xml \\\n            --durations 5 \\\n            -vv\n      - name: Generate screenshots\n        run: |\n          python -m pytest tests/screenshot_generator/generator.py\n          cp -r ./seedsigner-screenshots ./artifacts/\n      - name: Archive CI Artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: ci-artifacts\n          path: artifacts/**\n          retention-days: 10\n        # Upload also when tests fail. The workflow result (red/green) will\n        # be not effected by this.\n        if: always()\n", "state": "active", "repository": "seedsigner/seedsigner"}
{"mined_at": "2024-07-15T15:05:09.921443", "created_at": "2021-09-30T00:34:06+02:00", "updated_at": "2022-10-01T16:52:04+02:00", "name": "CI tests", "path": ".github/workflows/ci.yml", "contents": "name: CI tests\n\non:\n  pull_request:\n  push:\n    branches:\n    - master\n    - 'push-action/**'\n\nenv:\n  PYTEST_ADDOPTS: \"--color=yes\"\n  LINTING_PY_VERSION: \"3.9\"  # The version of Python to use for linting (typically the minimum supported)\n\n# Cancel running workflows when additional changes are pushed\n# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n\n  pre-commit:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Set up Python ${{ env.LINTING_PY_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.LINTING_PY_VERSION }}\n        cache: 'pip'\n        cache-dependency-path: |\n          requirements*.txt\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U setuptools wheel\n        pip install -r requirements.txt -r requirements-server.txt -r requirements-dev.txt\n        pip install -e .\n\n    - name: Run pre-commit\n      run: pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )\n\n  openapi:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Set up Python ${{ env.LINTING_PY_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.LINTING_PY_VERSION }}\n        cache: 'pip'\n        cache-dependency-path: |\n          requirements*.txt\n\n    - name: Install tools\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U setuptools wheel\n        pip install -r requirements.txt -r requirements-server.txt -r requirements-dev.txt\n        pip install -e .\n\n    - name: Pass generated OpenAPI schemas through validator.swagger.io\n      run: |\n        invoke swagger-validator openapi/openapi.json\n        invoke swagger-validator openapi/index_openapi.json\n\n    - name: Check OpenAPI Schemas have not changed\n      run: invoke check-openapi-diff\n\n  docker-image:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Build the container image\n      run: docker build -f Dockerfile --build-arg CONFIG_FILE=.docker/docker_config.json --tag optimade .\n\n    - name: Start Docker image - server\n      run: |\n        docker run --rm -d -p 3213:5000 --name optimade optimade\n        .github/utils/wait_for_it.sh localhost:3213 -t 120\n        sleep 15\n\n    - name: Test server, including OPTIONAL base URLs\n      uses: Materials-Consortia/optimade-validator-action@v2\n      with:\n        port: 3213\n        path: /\n        all versioned paths: yes\n        validator version: ${{ github.sha }}  # This ensures the head of a PR or latest push commit is tested\n\n    - name: Start Docker image - index server\n      run: |\n        docker run --rm -d -p 3214:5000 --name optimade-index -e MAIN=main_index optimade\n        .github/utils/wait_for_it.sh localhost:3214 -t 120\n        sleep 15\n\n    - name: Test index server, including OPTIONAL base URLs\n      uses: Materials-Consortia/optimade-validator-action@v2\n      with:\n        port: 3214\n        path: /\n        all versioned paths: yes\n        index: yes\n        validator version: ${{ github.sha }}  # This ensures the head of a PR or latest push commit is tested\n\n  pytest:\n    runs-on: ubuntu-latest\n\n    env:\n      OPTIMADE_CONFIG_FILE: ${{ github.workspace }}/optimade_config.json\n\n    strategy:\n      fail-fast: false\n      max-parallel: 4\n      matrix:\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n\n    services:\n      mongo:\n        image: mongo:7\n        ports:\n        - 27017:27017\n      postgres:\n        image: postgres:10\n        env:\n          POSTGRES_DB: test_aiida\n          POSTGRES_PASSWORD: test\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n        - 5432:5432\n      elasticsearch:\n        image: elasticsearch:7.17.7\n        ports:\n          - 9200:9200\n          - 9300:9300\n        env:\n          discovery.type: single-node\n          xpack.security.enabled: 'false'\n\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n        fetch-depth: 2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: |\n          requirements*.txt\n\n    - name: Install latest compatible versions of immediate dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U setuptools wheel\n        pip install -r requirements.txt -r requirements-dev.txt -r requirements-http-client.txt\n        pip install -e .\n\n    - name: Run non-server tests\n      run: pytest -rs -vvv --durations=0 --cov=./optimade/ --cov-report=xml tests/ --ignore tests/server\n\n    - name: Install latest server dependencies\n      run: pip install -r requirements-server.txt\n\n    - name: Run server tests (using `mongomock`)\n      run: pytest -rs -vvv --durations=0 --cov=./optimade/ --cov-report=xml --cov-append tests/server tests/filtertransformers\n      env:\n        OPTIMADE_DATABASE_BACKEND: 'mongomock'\n\n    - name: Run server tests with no API validation (using `mongomock`)\n      run:\n        pytest -rs -vvv --durations=0 --cov=./optimade/ --cov-report=xml --cov-append tests/server tests/filtertransformers\n      env:\n        OPTIMADE_DATABASE_BACKEND: 'mongomock'\n        OPTIMADE_VALIDATE_API_RESPONSE: false\n\n    - name: Run server tests (using a real MongoDB)\n      run: pytest -rs -vvv --durations=0 --cov=./optimade/ --cov-report=xml --cov-append tests/server tests/filtertransformers\n      env:\n        OPTIMADE_DATABASE_BACKEND: 'mongodb'\n\n    - name: Run server tests (using Elasticsearch)\n      run: |\n        .github/utils/wait_for_it.sh localhost:9200 -t 120\n        .github/utils/wait_for_it.sh localhost:9300 -t 120\n        pytest -rs -vvv --cov=./optimade/ --cov-report=xml --cov-append tests/server tests/filtertransformers\n      env:\n        OPTIMADE_DATABASE_BACKEND: 'elastic'\n\n    - name: Install adapter conversion dependencies\n      run: pip install -r requirements-client.txt\n\n    - name: Setup environment for AiiDA\n      env:\n        AIIDA_TEST_BACKEND: core.psql_dos\n      run: |\n        .github/aiida/setup_aiida.sh\n\n    - name: Run previously skipped tests for adapter conversion\n      run: pytest -rs -vvv --cov=./optimade/ --cov-report=xml --cov-append tests/adapters/\n\n    - name: Run tests for validator only to assess coverage (mongomock)\n      if: matrix.python-version == '3.11'\n      run: pytest -rs --cov=./optimade/ --cov-report=xml:validator_cov.xml --cov-append tests/server/test_server_validation.py\n      env:\n        OPTIMADE_DATABASE_BACKEND: 'mongomock'\n\n    - name: Run tests for validator only to assess coverage (Elasticsearch)\n      if: matrix.python-version == '3.11'\n      run: pytest -rs --cov=./optimade/ --cov-report=xml:validator_cov.xml --cov-append tests/server/test_server_validation.py\n      env:\n        OPTIMADE_DATABASE_BACKEND: 'elastic'\n        OPTIMADE_INSERT_TEST_DATA: false # Must be specified as previous steps will have already inserted the test data\n\n    - name: Run tests for validator only to assess coverage (MongoDB)\n      if: matrix.python-version == '3.11'\n      run: pytest -rs --cov=./optimade/ --cov-report=xml:validator_cov.xml --cov-append tests/server/test_server_validation.py\n      env:\n        OPTIMADE_DATABASE_BACKEND: 'mongodb'\n        OPTIMADE_INSERT_TEST_DATA: false # Must be specified as previous steps will have already inserted the test data\n\n    - name: Run the OPTIMADE Client CLI\n      if: matrix.python-version == '3.11'\n      run: |\n        coverage run --append --source optimade optimade/client/cli.py \\\n           --filter 'nsites = 1' \\\n           --http-timeout 1.0 \\\n           --output-file test_get_async.json \\\n           https://optimade.fly.dev\n        test test_get_async.json\n\n        coverage run --append --source optimade optimade/client/cli.py \\\n          --filter 'nsites = 1' \\\n           --http-timeout 1.0 \\\n          --count \\\n          --output-file test_count.json \\\n          https://optimade.fly.dev\n        test test_count.json\n\n        coverage run --append --source optimade optimade/client/cli.py \\\n          --no-async \\\n          --filter 'nsites = 1' \\\n           --http-timeout 1.0 \\\n          --count \\\n          --output-file test_count_no_async.json \\\n          https://optimade.fly.dev\n        test test_count_no_async.json\n\n        diff test_count_no_async.json test_count.json\n\n        coverage xml\n\n    - name: Upload coverage to Codecov\n      if: matrix.python-version == '3.11' && github.repository == 'Materials-Consortia/optimade-python-tools'\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        name: project\n        file: ./coverage.xml\n        flags: project\n\n    - name: Upload validator coverage to Codecov\n      if: matrix.python-version == '3.11' && github.repository == 'Materials-Consortia/optimade-python-tools'\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        name: validator\n        file: ./validator_cov.xml\n        flags: validator\n\n  docs:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.LINTING_PY_VERSION }}\n        cache: 'pip'\n        cache-dependency-path: |\n          requirements*.txt\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U setuptools wheel\n        pip install -r requirements.txt -r requirements-server.txt -r requirements-dev.txt -r requirements-http-client.txt -r requirements-docs.txt\n        pip install -e .\n\n    # NOTE: While we're now using `mike`, this is still useful\n    # to test the integrity of the documentation build.\n    - name: Build\n      run: |\n        invoke create-api-reference-docs --pre-clean\n        mkdocs build --strict\n\n  test_build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ env.LINTING_PY_VERSION }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.LINTING_PY_VERSION }}\n        cache: 'pip'\n        cache-dependency-path: |\n          requirements*.txt\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade setuptools requests\n\n    - name: Install package\n      run: |\n          pip install -r requirements.txt -r requirements-dev.txt -r requirements-client.txt -r requirements-http-client.txt -r requirements-docs.txt\n          pip install -e .[all]\n\n    - name: Build source distribution\n      run: python -m build\n", "state": "active", "repository": "materials-consortia/optimade-python-tools"}
{"mined_at": "2024-07-15T15:05:11.053043", "created_at": "2021-10-18T14:03:22+02:00", "updated_at": "2021-10-18T14:03:22+02:00", "name": "Publish and Deploy", "path": ".github/workflows/cd_release.yml", "contents": "name: Publish and Deploy\n\non:\n  release:\n    types:\n    - published\n\nenv:\n  GIT_USER_NAME: OPTIMADE Developers\n  GIT_USER_EMAIL: \"dev@optimade.org\"\n  DEFAULT_RELEASE_BRANCH: \"master\"\n\njobs:\n  release:\n    name: Release OPTIMADE Python tools\n    runs-on: ubuntu-latest\n    if: github.repository == 'Materials-Consortia/optimade-python-tools' && startsWith(github.ref, 'refs/tags/v')\n    outputs:\n      publish_branch: ${{ steps.save_branch.outputs.publish_branch }}\n\n    steps:\n    - name: Get triggering branch\n      uses: octokit/request-action@v2.x\n      id: get_release_branch\n      with:\n        route: GET /repos/{owner}/{repo}/releases/tags/${{ github.ref_name }}\n        # Note, the following inputs might give warnings that they are not valid.\n        # This is due to the flexible nature of the `octokit/request-action`.\n        # Fore more information see: https://github.com/octokit/request-action/tree/v2.x?tab=readme-ov-file#warnings\n        owner: Materials-Consortia\n        repo: optimade-python-tools\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Save branch name\n      id: save_branch\n      run: |\n        echo 'publish_branch=${{ fromJson(steps.get_release_branch.outputs.data).target_commitish }}' >> $GITHUB_OUTPUT\n\n    - name: Checkout publish branch\n      uses: actions/checkout@v4\n      with:\n        submodules: true\n        fetch-depth: 0\n        ref: ${{ steps.save_branch.outputs.publish_branch }}\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install -U pip\n        pip install -U setuptools wheel\n        pip install -r requirements.txt -r requirements-dev.txt -r requirements-client.txt -r requirements-http-client.txt -r requirements-docs.txt\n        pip install -e .[all]\n\n    - name: Setup changelog configuration\n      id: changelog_config\n      run: |\n        echo \"project=$(echo $GITHUB_REPOSITORY | cut -d/ -f2- )\" >> $GITHUB_OUTPUT\n        echo \"exclude_labels=duplicate,question,invalid,wontfix,dependency_updates,skip_changelog\" >> $GITHUB_OUTPUT\n\n        # For the release-specific changelog\n        echo \"output_file=release_changelog.md\" >> $GITHUB_OUTPUT\n\n    - name: Update changelog\n      uses: docker://githubchangeloggenerator/github-changelog-generator:1.16.2\n      with:\n        args: --user \"${{ github.repository_owner }}\" --project \"${{ steps.changelog_config.outputs.project }}\" --token \"${{ secrets.RELEASE_PAT_BOT }}\" --release-branch \"${{ steps.save_branch.outputs.publish_branch }}\" --exclude-labels \"${{ steps.changelog_config.outputs.exclude_labels }}\"\n\n    - name: Update API Reference docs and version - Commit changes and update tag\n      run: .github/utils/update_docs.sh\n\n    - name: Update triggering branch\n      uses: CasperWA/push-protected@v2\n      with:\n        token: ${{ secrets.RELEASE_PAT_BOT }}\n        branch: ${{ steps.save_branch.outputs.publish_branch }}\n        unprotect_reviews: true\n        sleep: 15\n        force: true\n        tags: true\n\n    - name: Get previous version\n      id: get_previous_version\n      run: echo \"previous_version=$(git tag -l --sort -version:refname | sed -n 2p)\" >> $GITHUB_OUTPUT\n\n    - name: Create release-specific changelog\n      uses: docker://githubchangeloggenerator/github-changelog-generator:1.16.2\n      with:\n        args: --user \"${{ github.repository_owner }}\" --project \"${{ steps.changelog_config.outputs.project }}\" --token \"${{ secrets.RELEASE_PAT_BOT }}\" --release-branch \"${{ steps.save_branch.outputs.publish_branch }}\" --since-tag \"${{ steps.get_previous_version.outputs.previous_version }}\" --output \"${{ steps.changelog_config.outputs.output_file }}\" --usernames-as-github-logins --exclude-labels \"${{ steps.changelog_config.outputs.exclude_labels }}\"\n\n    - name: Append changelog to release body\n      run: |\n        gh api /repos/${{ github.repository }}/releases/${{ github.event.release.id }} --jq '.body' > release_body.md\n        cat ${{ steps.changelog_config.outputs.output_file }} >> release_body.md\n        gh api /repos/${{ github.repository }}/releases/${{ github.event.release.id }} -X PATCH -F body='@release_body.md'\n      env:\n        GITHUB_TOKEN: ${{ secrets.RELEASE_PAT_BOT }}\n\n  publish-to-pypi:\n    name: Publish to PyPI\n    needs: release\n    runs-on: ubuntu-latest\n\n    environment:\n      name: pypi\n      url: https://pypi.org/p/optimade\n\n    permissions:\n      id-token: write  # Important for Trusted Publishing on PyPI\n\n    steps:\n    - name: Build source distribution\n      run: python -m build\n\n    - name: Publish package to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        print-hash: true\n\n  docs:\n    name: Deploy documentation\n    needs:\n      - release\n      - publish-to-pypi\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        submodules: true\n        fetch-depth: 0\n        ref: ${{ needs.release.outputs.publish_branch }}\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install -U pip\n        pip install -U setuptools wheel\n        pip install -r requirements.txt -r requirements-dev.txt -r requirements-client.txt -r requirements-http-client.txt -r requirements-docs.txt\n        pip install -e .[all]\n\n    - name: Set git config\n      run: |\n        git config --global user.name \"${{ env.GIT_USER_NAME }}\"\n        git config --global user.email \"${{ env.GIT_USER_EMAIL }}\"\n\n    - name: Deploy versioned documentation\n      run: |\n        mike deploy --push --remote origin --branch gh-pages --config-file mkdocs.yml ${GITHUB_REF#refs/tags/v}\n\n    - name: Deploy stable/latest documentation\n      if: ${{ needs.release.outputs.publish_branch }} == ${{ env.DEFAULT_RELEASE_BRANCH }}\n      run: |\n        mike deploy --push --remote origin --branch gh-pages --update-aliases --config-file mkdocs.yml ${GITHUB_REF#refs/tags/v} stable\n        mike deploy --push --remote origin --branch gh-pages --update-aliases --config-file mkdocs.yml latest ${{ env.DEFAULT_RELEASE_BRANCH }}\n\n  publish_container_image:\n    name: Publish container image\n    needs:\n      - release\n      - publish-to-pypi\n    uses: ./.github/workflows/cd_container_image.yml\n    with:\n      release: true\n      checkout_ref: ${{ needs.release.outputs.publish_branch }}\n    secrets: inherit\n    permissions:\n      packages: write\n      contents: read\n", "state": "active", "repository": "materials-consortia/optimade-python-tools"}
{"mined_at": "2024-07-15T15:05:12.279438", "created_at": "2021-10-22T17:42:28+02:00", "updated_at": "2022-11-21T21:31:08+01:00", "name": "CI/CD - New updates to `master`", "path": ".github/workflows/ci_cd_updated_master.yml", "contents": "name: CI/CD - New updates to `master`\n\non:\n  push:\n    branches:\n      - master\n\nenv:\n  DEFAULT_REPO_BRANCH: master\n  GIT_USER_NAME: OPTIMADE Developers\n  GIT_USER_EMAIL: \"dev@optimade.org\"\n\njobs:\n  deploy_docs:\n    name: Deploy `latest` documentation\n    if: github.repository_owner == 'Materials-Consortia'\n    runs-on: ubuntu-latest\n    outputs:\n      release_run: ${{ steps.release_check.outputs.release_run }}\n\n    steps:\n    - name: Release check\n      id: release_check\n      run: |\n        COMMIT_MSG=\"$(gh api /repos/${{ github.repository}}/commits/${{ env.DEFAULT_REPO_BRANCH }} --jq '.commit.message')\"\n        if [[ \"${COMMIT_MSG}\" =~ ^Release\\ v.*\\ -\\ Changelog$ ]]; then\n          echo \"In a release - do not run this job !\"\n          RELEASE_RUN=true\n        else\n          echo \"Not a release - update docs\"\n          RELEASE_RUN=false\n        fi\n\n        echo \"release_run=${RELEASE_RUN}\" >> $GITHUB_OUTPUT\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Checkout repository\n      if: steps.release_check.outputs.release_run == 'false'\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: true\n\n    - name: Set up Python 3.9\n      if: steps.release_check.outputs.release_run == 'false'\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n\n    - name: Install dependencies\n      if: steps.release_check.outputs.release_run == 'false'\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U setuptools wheel\n        pip install -r requirements.txt -r requirements-dev.txt -r requirements-client.txt -r requirements-http-client.txt -r requirements-docs.txt\n        pip install -e .[all]\n\n    - name: Set up git user\n      if: steps.release_check.outputs.release_run == 'false'\n      run: |\n        git config --global user.name \"${{ env.GIT_USER_NAME }}\"\n        git config --global user.email \"${{ env.GIT_USER_EMAIL }}\"\n\n    - name: Check API Reference and landing page\n      if: steps.release_check.outputs.release_run == 'false'\n      run: |\n        invoke create-api-reference-docs --pre-clean\n\n        if [ -n \"$(git status --porcelain docs/api_reference)\" ]; then\n          echo \"The following files in the documentation have not been committed:\"\n          git status --porcelain docs/api_reference\n          exit 1\n        fi\n\n    - name: Setup changelog configuration\n      if: steps.release_check.outputs.release_run == 'false'\n      id: changelog_config\n      run: |\n        echo \"project=$(echo $GITHUB_REPOSITORY | cut -d/ -f2- )\" >> $GITHUB_OUTPUT\n        echo \"exclude_labels=duplicate,question,invalid,wontfix,dependency_updates,skip_changelog\" >> $GITHUB_OUTPUT\n\n    - name: Update changelog with unreleased changes\n      if: steps.release_check.outputs.release_run == 'false'\n      uses: docker://githubchangeloggenerator/github-changelog-generator:1.16.2\n      with:\n        args: --user \"${{ github.repository_owner }}\" --project \"${{ steps.changelog_config.outputs.project }}\" --token ${{ secrets.RELEASE_PAT_BOT }} --release-branch \"${{ env.DEFAULT_REPO_BRANCH }}\" --future-release \"Unreleased changes\" --exclude-labels \"${{ steps.changelog_config.outputs.exclude_labels }}\"\n\n    - name: Deploy documentation\n      if: steps.release_check.outputs.release_run == 'false'\n      run: mike deploy --push --remote origin --branch gh-pages --update-aliases --config-file mkdocs.yml latest ${{ env.DEFAULT_REPO_BRANCH }}\n\n  deploy-fly:\n    runs-on: ubuntu-latest\n    if: github.repository_owner == 'Materials-Consortia'\n\n    environment:\n      name: fly\n      url: https://optimade.fly.dev\n\n    env:\n      FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: true\n\n    - name: Set up Fly\n      uses: superfly/flyctl-actions/setup-flyctl@master\n\n    - name: Combine requirements for builder\n      run: cat requirements-server.txt >> requirements.txt\n\n    - name: Deploy to Fly\n      run: flyctl deploy --remote-only -c ./.github/fly.toml\n\n  publish_container_image:\n    name: Publish container image\n    needs: deploy_docs\n    uses: ./.github/workflows/cd_container_image.yml\n    if: needs.deploy_docs.outputs.release_run == 'false'\n    with:\n      release: false\n      checkout_ref: ${{ github.sha }}\n    secrets: inherit\n    permissions:\n      packages: write\n      contents: read\n", "state": "active", "repository": "materials-consortia/optimade-python-tools"}
{"mined_at": "2024-07-15T15:05:13.296678", "created_at": "2021-12-20T23:14:26+01:00", "updated_at": "2021-12-20T23:14:26+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "materials-consortia/optimade-python-tools"}
{"mined_at": "2024-07-15T15:05:14.637571", "created_at": "2022-05-16T14:13:46+02:00", "updated_at": "2022-05-16T14:13:46+02:00", "name": "Build and Publish Container Image", "path": ".github/workflows/cd_container_image.yml", "contents": "name: Build and Publish Container Image\n\non:\n  workflow_call:\n    inputs:\n      release:\n        description: 'Whether or not this is a release.'\n        default: false\n        required: false\n        type: boolean\n      checkout_ref:\n        description: 'The git ref to checkout and use as source.'\n        default: master\n        required: false\n        type: string\n\njobs:\n  publish_container_image:\n    name: Publish Container image on GH Container Registry\n    if: github.repository_owner == 'Materials-Consortia'\n    runs-on: ubuntu-latest\n\n    environment:\n      name: container-image\n      url: https://github.com/${{ github.repository }}/pkgs/container/${{ vars.IMAGE_NAME }}\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: true\n        ref: ${{ inputs.checkout_ref }}\n\n    - name: Retrieve version\n      id: get_version\n      run: |\n        # Get current OPTIMADE version from optimade/__init__.py\n        regex=\"^__version__ = (\\\"|')(.*)(\\\"|')$\"\n        while IFS=\"\" read -r line || [ -n \"${line}\" ]; do\n          if [[ \"${line}\" =~ $regex ]]; then\n            VERSION=\"${BASH_REMATCH[2]}\"\n          fi\n        done < optimade/__init__.py\n\n        echo \"version=${VERSION}\" >> $GITHUB_OUTPUT\n        echo VERSION=${VERSION}\n\n    - name: Set source ref\n      id: set_source_ref\n      run: |\n        if [[ \"${{ inputs.release }}\" == \"true\" ]]; then\n          # Use tag for metadata instead of commit SHA\n          SOURCE_REF=v${{ steps.get_version.outputs.version }}\n        else\n          SOURCE_REF=$(git rev-parse HEAD)\n        fi\n\n        echo \"source_ref=${SOURCE_REF}\" >> $GITHUB_OUTPUT\n        echo SOURCE_REF=${SOURCE_REF}\n\n    - name: Build image\n      run: |\n        docker build \\\n          --file Dockerfile \\\n          --tag \"${{ vars.IMAGE_NAME }}\" \\\n          --label \"gh_actions_runnumber=${GITHUB_RUN_ID}\" \\\n          --label \"org.openctonainers.image.title=OPTIMADE\" \\\n          --label \"org.opencontainers.image.description=A server implementation for serving an OPTIMADE API.\" \\\n          --label \"org.opencontainers.image.source=https://github.com/${{ github.repository }}/tree/${{ steps.set_source_ref.outputs.source_ref }}\" \\\n          --label \"org.opencontainers.image.documentation=https://github.com/${{ github.repository }}/blob/${{ steps.set_source_ref.outputs.source_ref }}/README.md\" \\\n          --label \"org.opencontainers.image.licenses=MIT\" \\\n          --label \"org.opencontainers.image.url=https://github.com/${{ github.repository }}/pkgs/container/${{ vars.IMAGE_NAME }}\" \\\n          --label \"org.opencontainers.image.vendor=${{ github.repository_owner }}\" \\\n          --label \"org.opencontainers.image.version=${{ steps.get_version.outputs.version }}\" \\\n          --label \"org.opencontainers.image.base.name=docker.io/library/python:3.10-slim\" \\\n          .\n\n    - name: Create full image ID and tag with 'develop'\n      id: create_tags\n      run: |\n        IMAGE_ID=ghcr.io/${{ github.repository_owner }}/${{ vars.IMAGE_NAME }}\n\n        # Change all uppercase to lowercase\n        IMAGE_ID=$(echo ${IMAGE_ID} | tr '[A-Z]' '[a-z]')\n\n        echo \"image_id=${IMAGE_ID}\" >> $GITHUB_OUTPUT\n        echo IMAGE_ID=${IMAGE_ID}\n\n        # Tag with \"develop\"\n        docker tag ${{ vars.IMAGE_NAME }} ${IMAGE_ID}:develop\n\n    - name: Tag with version and `latest` - if it's a release\n      if: inputs.release\n      run: |\n        docker tag ${{ vars.IMAGE_NAME }} ${{ steps.create_tags.outputs.image_id }}:${{ steps.get_version.outputs.version }}\n        docker tag ${{ vars.IMAGE_NAME }} ${{ steps.create_tags.outputs.image_id }}:latest\n\n    - name: Log in to registry\n      run: echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n\n    - name: Push image\n      run: |\n        docker image inspect ${{ vars.IMAGE_NAME }}\n        docker push --all-tags ${{ steps.create_tags.outputs.image_id }}\n", "state": "active", "repository": "materials-consortia/optimade-python-tools"}
{"mined_at": "2024-07-15T15:05:16.887709", "created_at": "2020-11-05T15:39:03+01:00", "updated_at": "2020-11-05T15:39:03+01:00", "name": "test-harness-acapy-acapy", "path": ".github/workflows/test-harness-acapy.yml", "contents": "name: test-harness-acapy-acapy\n# RUNSET_NAME: \"ACA-PY to ACA-Py\"\n# Scope: AIP 1.0\n# Exceptions: None\n# SKIP\n# \n# Summary\n#\n# This runset uses the current main branch of ACA-Py for all of the agents. The runset runs all of the tests in the suite\n# that are expected to pass given the current state of ACA-Py support for AIP 1 and 2.\n#\n# Current\n# \n# All of the tests being executed in this runset are passing.\n# \n# *Status Note Updated: 2021.03.18*\n#\n# End\non:\n  workflow_dispatch:\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    env:\n      LEDGER_URL_CONFIG: \"http://localhost:9000\"\n      TAILS_SERVER_URL_CONFIG: \"http://localhost:6543\"\n    steps:\n      - name: checkout-test-harness\n        uses: actions/checkout@v4\n        with:\n          path: test-harness\n      - name: run-von-network\n        uses: ./test-harness/actions/run-von-network\n      - name: run-indy-tails-server\n        uses: ./test-harness/actions/run-indy-tails-server\n      - name: run-test-harness-wo-reports\n        uses: ./test-harness/actions/run-test-harness-wo-reports\n        with:\n          BUILD_AGENTS: \"-a acapy-main\"\n          TEST_AGENTS: \"-d acapy-main\"\n          TEST_SCOPE: \"-t @AcceptanceTest -t ~@wip -t ~@T004-RFC0211 -t ~@DidMethod_orb -t ~@Transport_NoHttpOutbound\"\n          REPORT_PROJECT: acapy\n      - name: run-send-gen-test-results-secure\n        if: ${{ always() }}\n        uses: ./test-harness/actions/run-send-gen-test-results-secure\n        with:\n          REPORT_PROJECT: acapy \n          ADMIN_USER: ${{ secrets.AllureAdminUser }}\n          ADMIN_PW: ${{ secrets.AllureAdminPW }}\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:17.918097", "created_at": "2021-03-08T16:18:58+01:00", "updated_at": "2021-03-08T16:18:58+01:00", "name": "test-harness-acapy-javascript", "path": ".github/workflows/test-harness-acapy-afj.yml", "contents": "name: test-harness-acapy-javascript\n# RUNSET_NAME: \"ACA-PY to AFJ\"\n# Scope: AIP 1.0\n# Exceptions: Revocation\n#\n# Summary\n#\n# This runset uses the current main branch of ACA-Py for all of the agents except Bob (holder),\n# which uses the master branch of Aries Framework JavaScript. The runset covers all of the AIP 1.0 tests\n# except those that are known **not** to work with the Aries Framework JavaScript as the holder,\n# notably those that involve revocation.\n#\n# Current\n#\n# Most of the tests are running. The tests not passing are being investigated.\n#\n# *Status Note Updated: 2021.03.18*\n#\n# End\non:\n  workflow_dispatch:\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    env:\n      LEDGER_URL_CONFIG: \"http://localhost:9000\"\n      TAILS_SERVER_URL_CONFIG: \"http://localhost:6543\"\n    steps:\n      - name: checkout-test-harness\n        uses: actions/checkout@v4\n        with:\n          path: test-harness\n      - name: run-von-network\n        uses: ./test-harness/actions/run-von-network\n      - name: run-indy-tails-server\n        uses: ./test-harness/actions/run-indy-tails-server\n      - name: run-test-harness-wo-reports\n        uses: ./test-harness/actions/run-test-harness-wo-reports\n        with:\n          BUILD_AGENTS: \"-a acapy-main -a javascript\"\n          TEST_AGENTS: \"-d acapy-main -b javascript\"\n          TEST_SCOPE: \"-t @AcceptanceTest -t @AIP10,@RFC0441,@RFC0211,@T001-RFC0453 -t ~@wip -t ~@DIDExchangeConnection -t ~@T004-RFC0211 -t ~@QualifiedDIDs\"\n          REPORT_PROJECT: acapy-b-javascript\n      - name: run-send-gen-test-results-secure\n        if: ${{ always() }}\n        uses: ./test-harness/actions/run-send-gen-test-results-secure\n        with:\n          REPORT_PROJECT: acapy-b-javascript\n          ADMIN_USER: ${{ secrets.AllureAdminUser }}\n          ADMIN_PW: ${{ secrets.AllureAdminPW }}\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:19.140328", "created_at": "2021-03-08T16:18:58+01:00", "updated_at": "2021-03-08T16:18:58+01:00", "name": "test-harness-javascript-javascript", "path": ".github/workflows/test-harness-afj.yml", "contents": "name: test-harness-javascript-javascript\n# RUNSET_NAME: \"AFJ to AFJ\"\n# Scope: AIP 1.0\n# Exceptions: Revocation\n#\n# Summary\n#\n# This runset uses the current main branch of Aries Framework - JavaScript for all of the agents. The runset runs all of the tests in the suite\n# that are expected to pass given the current state of the framework's support for AIP 1. Tests related to revocation (Indy HIPE 0011) are not included.\n#\n# Current\n#\n# All of the tests being executed in this runset are passing.\n#\n# *Status Note Updated: 2021.03.05*\n#\n# End\non:\n  workflow_dispatch:\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    env:\n      LEDGER_URL_CONFIG: \"http://localhost:9000\"\n      TAILS_SERVER_URL_CONFIG: \"http://localhost:6543\"\n    steps:\n      - name: checkout-test-harness\n        uses: actions/checkout@v4\n        with:\n          path: test-harness\n      - name: run-von-network\n        uses: ./test-harness/actions/run-von-network\n      - name: run-indy-tails-server\n        uses: ./test-harness/actions/run-indy-tails-server\n      - name: run-test-harness-wo-reports\n        uses: ./test-harness/actions/run-test-harness-wo-reports\n        with:\n          BUILD_AGENTS: \"-a javascript\"\n          TEST_AGENTS: \"-d javascript\"\n          TEST_SCOPE: \"-t @AcceptanceTest -t ~@wip -t @AIP10,@RFC0211 -t ~@DIDExchangeConnection -t ~@QualifiedDIDs\"\n          REPORT_PROJECT: javascript\n      - name: run-send-gen-test-results-secure\n        if: ${{ always() }}\n        uses: ./test-harness/actions/run-send-gen-test-results-secure\n        with:\n          REPORT_PROJECT: javascript\n          ADMIN_USER: ${{ secrets.AllureAdminUser }}\n          ADMIN_PW: ${{ secrets.AllureAdminPW }}\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:20.265558", "created_at": "2021-03-18T21:13:03+01:00", "updated_at": "2021-03-18T21:13:03+01:00", "name": "test-harness-acapy-aip10", "path": ".github/workflows/test-harness-acapy-aip10.yml", "contents": "name: test-harness-acapy-aip10\n# RUNSET_NAME: \"ACA-PY to ACA-Py\"\n# Scope: AIP 1.0\n# Exceptions: None\n# \n# Summary\n#\n# This runset uses the current main branch of ACA-Py for all of the agents. The runset runs all of the tests in the suite\n# that are expected to pass given the current state of ACA-Py support for AIP 1.\n#\n# Current\n# \n# All of the tests being executed in this runset are passing.\n# \n# *Status Note Updated: 2021.03.18*\n#\n# End\non:\n  workflow_dispatch:\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    env:\n      LEDGER_URL_CONFIG: \"http://localhost:9000\"\n      TAILS_SERVER_URL_CONFIG: \"http://localhost:6543\"\n    steps:\n      - name: checkout-test-harness\n        uses: actions/checkout@v4\n        with:\n          path: test-harness\n      - name: run-von-network\n        uses: ./test-harness/actions/run-von-network\n      - name: run-indy-tails-server\n        uses: ./test-harness/actions/run-indy-tails-server\n      - name: run-test-harness-wo-reports\n        uses: ./test-harness/actions/run-test-harness-wo-reports\n        with:\n          BUILD_AGENTS: \"-a acapy-main\"\n          TEST_AGENTS: \"-d acapy-main\"\n          TEST_SCOPE: \"-t @AcceptanceTest -t @AIP10,@RFC0211 -t ~@wip -t ~@T004-RFC0211 -t ~@Transport_NoHttpOutbound\"\n          REPORT_PROJECT: acapy-aip10  \n      - name: run-send-gen-test-results-secure\n        if: ${{ always() }}\n        uses: ./test-harness/actions/run-send-gen-test-results-secure\n        with:\n          REPORT_PROJECT: acapy-aip10 \n          ADMIN_USER: ${{ secrets.AllureAdminUser }}\n          ADMIN_PW: ${{ secrets.AllureAdminPW }}\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:21.276232", "created_at": "2021-03-18T21:13:03+01:00", "updated_at": "2021-03-18T21:13:03+01:00", "name": "test-harness-acapy-aip20", "path": ".github/workflows/test-harness-acapy-aip20.yml", "contents": "name: test-harness-acapy-aip20\n# RUNSET_NAME: \"ACA-PY to ACA-Py\"\n# Scope: AIP 2.0\n# Exceptions: None\n#\n# Summary\n#\n# This runset uses the current main branch of ACA-Py for all of the agents. The runset runs all of the tests in the suite\n# that are expected to pass given the current state of ACA-Py support for AIP 2.\n#\n# Current\n#\n# All of the tests being executed in this runset are passing.\n#\n# *Status Note Updated: 2021.03.16*\n#\n# End\non:\n  workflow_dispatch:\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    env:\n      LEDGER_URL_CONFIG: \"http://localhost:9000\"\n      TAILS_SERVER_URL_CONFIG: \"http://localhost:6543\"\n    steps:\n      - name: checkout-test-harness\n        uses: actions/checkout@v4\n        with:\n          path: test-harness\n      - name: run-von-network\n        uses: ./test-harness/actions/run-von-network\n      - name: run-indy-tails-server\n        uses: ./test-harness/actions/run-indy-tails-server\n      - name: run-test-harness-wo-reports\n        uses: ./test-harness/actions/run-test-harness-wo-reports\n        with:\n          BUILD_AGENTS: \"-a acapy-main\"\n          TEST_AGENTS: \"-d acapy-main\"\n          TEST_SCOPE: \"-t @AcceptanceTest -t @AIP20 -t ~@wip -t ~@T004-RFC0211 -t ~@Transport_NoHttpOutbound -t ~@DidMethod_orb\"\n          REPORT_PROJECT: acapy-aip20\n      - name: run-send-gen-test-results-secure\n        if: ${{ always() }}\n        uses: ./test-harness/actions/run-send-gen-test-results-secure\n        with:\n          REPORT_PROJECT: acapy-aip20\n          ADMIN_USER: ${{ secrets.AllureAdminUser }}\n          ADMIN_PW: ${{ secrets.AllureAdminPW }}\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:22.335884", "created_at": "2021-03-18T21:13:03+01:00", "updated_at": "2021-03-18T21:56:14+01:00", "name": "test-harness-javascript-acapy", "path": ".github/workflows/test-harness-afj-acapy.yml", "contents": "name: test-harness-javascript-acapy\n# RUNSET_NAME: \"AFJ to ACA-PY\"\n# Scope: AIP 1.0\n# Exceptions: Proof Proposal\n#\n# Summary\n#\n# This runset uses the current master branch of Aries Framework JavaScript for all of the agents except Bob (holder),\n# which uses the main branch of ACA-Py. The runset covers all of the AIP 1.0 tests\n# except those that are known **not** to work with the Aries Framework JavaScript\n#\n# Current\n#\n# All AIP10 tests are currently running.\n#\n# *Status Note Updated: 2021.03.17*\n#\n# End\non:\n  workflow_dispatch:\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    env:\n      LEDGER_URL_CONFIG: \"http://localhost:9000\"\n      TAILS_SERVER_URL_CONFIG: \"http://localhost:6543\"\n    steps:\n      - name: checkout-test-harness\n        uses: actions/checkout@v4\n        with:\n          path: test-harness\n      - name: run-von-network\n        uses: ./test-harness/actions/run-von-network\n      - name: run-indy-tails-server\n        uses: ./test-harness/actions/run-indy-tails-server\n      - name: run-test-harness-wo-reports\n        uses: ./test-harness/actions/run-test-harness-wo-reports\n        with:\n          BUILD_AGENTS: \"-a javascript -a acapy-main\"\n          TEST_AGENTS: \"-d javascript -b acapy-main\"\n          TEST_SCOPE: \"-t @AcceptanceTest -t ~@wip -t @AIP10,@RFC0211,@T001-RFC0453 -t ~@Transport_NoHttpOutbound -t ~@DIDExchangeConnection -t ~@QualifiedDIDs\"\n          REPORT_PROJECT: javascript-b-acapy\n      - name: run-send-gen-test-results-secure\n        if: ${{ always() }}\n        uses: ./test-harness/actions/run-send-gen-test-results-secure\n        with:\n          REPORT_PROJECT: javascript-b-acapy\n          ADMIN_USER: ${{ secrets.AllureAdminUser }}\n          ADMIN_PW: ${{ secrets.AllureAdminPW }}\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:23.440957", "created_at": "2021-05-03T15:55:30+02:00", "updated_at": "2021-05-03T15:55:30+02:00", "name": "generate-aath-summary-results", "path": ".github/workflows/generate-summary-results.yml", "contents": "name: generate-aath-summary-results\non:\n  workflow_dispatch:\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    if: ((success() || failure()) && ((github.event_name != 'pull_request' && github.repository == 'hyperledger/aries-agent-test-harness')))\n    steps:\n      - name: checkout-test-harness\n        uses: actions/checkout@v4\n        with:\n          path: test-harness\n      - name: generate-summary-results\n        uses: ./test-harness/actions/run-summary-results\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          path: test-harness\n          committer: \"Ian Costanzo <ian@anon-solutions.ca>\"\n          signoff: true\n          branch: aath-summary-results\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:24.670065", "created_at": "2021-10-13T00:49:35+02:00", "updated_at": "2021-10-13T00:49:35+02:00", "name": "test-harness-ariesvcx-ariesvcx", "path": ".github/workflows/test-harness-ariesvcx-ariesvcx.yml", "contents": "name: test-harness-ariesvcx-ariesvcx\n# RUNSET_NAME: \"aries-vcx to aries-vcx\"\n# Scope: AIP 1.0\n# Exceptions: Public Dids\n#\n# Passing tests: @RFC0036,@RFC0037,@RFC0160,@revocation\n#\n# End\non:\n  workflow_dispatch:\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout-test-harness\n        uses: actions/checkout@v4\n        with:\n          path: test-harness\n      - name: Docker Login\n        uses: azure/docker-login@v2\n        with:\n          login-server: docker.pkg.github.com\n          username: $GITHUB_ACTOR\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: run-von-network\n        uses: ./test-harness/actions/run-von-network\n      - name: run-indy-tails-server\n        uses: ./test-harness/actions/run-indy-tails-server\n      - name: run-test-harness-wo-reports\n        uses: ./test-harness/actions/run-test-harness-wo-reports\n        with:\n          BUILD_AGENTS: \"-a aries-vcx\"\n          TEST_AGENTS: \"-d aries-vcx\"\n          TEST_SCOPE: \"-t @RFC0036,@RFC0037,@RFC0160,@revocation -t ~@T002-HIPE0011 -t ~@T014-HIPE001 -t ~@wip -t ~@RFC0183 -t ~@DIDExchangeConnection -t ~@RFC0211 -t ~@RFC0453 -t ~@RFC0025 -t ~@RFC0434 -t ~@QualifiedDIDs\"\n          REPORT_PROJECT: aries-vcx\n      - uses: actions/upload-artifact@v4\n        with:\n          name: agent-logs\n          path: ./test-harness/.logs/\n      - name: run-send-gen-test-results-secure\n        if: ${{ always() }}\n        uses: ./test-harness/actions/run-send-gen-test-results-secure\n        with:\n          REPORT_PROJECT: aries-vcx\n          ADMIN_USER: ${{ secrets.AllureAdminUser }}\n          ADMIN_PW: ${{ secrets.AllureAdminPW }}\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:25.794463", "created_at": "2021-10-15T00:02:36+02:00", "updated_at": "2021-10-15T00:02:36+02:00", "name": "test-harness-ariesvcx-acapy", "path": ".github/workflows/test-harness-ariesvcx-acapy.yml", "contents": "name: test-harness-ariesvcx-acapy\n# RUNSET_NAME: \"aries-vcx to acapy\"\n# Scope: AIP 1.0\n# Exceptions: Public Dids\n#\n# Passing tests: @RFC0036,@RFC0037,@RFC0160,@revocation\n#\n# End\non:\n  workflow_dispatch:\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout-test-harness\n        uses: actions/checkout@v4\n        with:\n          path: test-harness\n      - name: Docker Login\n        uses: azure/docker-login@v2\n        with:\n          login-server: docker.pkg.github.com\n          username: $GITHUB_ACTOR\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: run-von-network\n        uses: ./test-harness/actions/run-von-network\n      - name: run-indy-tails-server\n        uses: ./test-harness/actions/run-indy-tails-server\n      - name: run-test-harness-wo-reports\n        uses: ./test-harness/actions/run-test-harness-wo-reports\n        with:\n          BUILD_AGENTS: \"-a aries-vcx -a acapy-main\"\n          TEST_AGENTS: \"-d aries-vcx -b acapy-main\"\n          TEST_SCOPE: \"-t @RFC0036,@RFC0037,@RFC0160,@revocation -t ~@RFC0025 -t ~@RFC0183 -t ~@RFC0211 -t ~@RFC0434 -t ~@RFC0453 -t ~@wip -t ~@DIDExchangeConnection -t ~@QualifiedDIDs\"\n          REPORT_PROJECT: aries-vcx-b-acapy\n      - uses: actions/upload-artifact@v4\n        with:\n          name: agent-logs\n          path: ./test-harness/.logs/\n      - name: run-send-gen-test-results-secure\n        if: ${{ always() }}\n        uses: ./test-harness/actions/run-send-gen-test-results-secure\n        with:\n          REPORT_PROJECT: aries-vcx-b-acapy\n          ADMIN_USER: ${{ secrets.AllureAdminUser }}\n          ADMIN_PW: ${{ secrets.AllureAdminPW }}\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:26.910924", "created_at": "2021-11-25T01:02:59+01:00", "updated_at": "2021-11-25T01:02:59+01:00", "name": "test-harness-acapy-ariesvcx", "path": ".github/workflows/test-harness-acapy-ariesvcx.yml", "contents": "name: test-harness-acapy-ariesvcx\n# RUNSET_NAME: \"acapy to aries-vcx\"\n# Scope: AIP 1.0\n# Exceptions: Public Dids\n#\n# Passing tests: @RFC0036,@RFC0037,@RFC0160,@revocation\n#\n# End\non:\n  workflow_dispatch:\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout-test-harness\n        uses: actions/checkout@v4\n        with:\n          path: test-harness\n      - name: Docker Login\n        uses: azure/docker-login@v2\n        with:\n          login-server: docker.pkg.github.com\n          username: $GITHUB_ACTOR\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: run-von-network\n        uses: ./test-harness/actions/run-von-network\n      - name: run-indy-tails-server\n        uses: ./test-harness/actions/run-indy-tails-server\n      - name: run-test-harness-wo-reports\n        uses: ./test-harness/actions/run-test-harness-wo-reports\n        with:\n          BUILD_AGENTS: \"-a aries-vcx -a acapy-main\"\n          TEST_AGENTS: \"-d acapy-main -b aries-vcx\"\n          TEST_SCOPE: \"-t @RFC0036,@RFC0037,@RFC0160,@revocation -t ~@T002-HIPE001 -t ~@T014-HIPE001 -t ~@T003-RFC0160 -t ~@T004-RFC0160 -t ~@RFC0025 -t ~@RFC0183 -t ~@RFC0211 -t ~@RFC0434 -t ~@RFC0453 -t ~@wip -t ~@DIDExchangeConnection -t ~@QualifiedDIDs\"\n          REPORT_PROJECT: acapy-b-aries-vcx\n      - uses: actions/upload-artifact@v4\n        with:\n          name: agent-logs\n          path: ./test-harness/.logs/\n      - name: run-send-gen-test-results-secure\n        if: ${{ always() }}\n        uses: ./test-harness/actions/run-send-gen-test-results-secure\n        with:\n          REPORT_PROJECT: acapy-b-aries-vcx\n          ADMIN_USER: ${{ secrets.AllureAdminUser }}\n          ADMIN_PW: ${{ secrets.AllureAdminPW }}\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:27.939038", "created_at": "2021-12-22T18:45:46+01:00", "updated_at": "2021-12-22T18:45:46+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:29.062432", "created_at": "2022-03-30T20:56:49+02:00", "updated_at": "2022-03-30T20:56:49+02:00", "name": "test-harness-runner", "path": ".github/workflows/test-runner.yml", "contents": "name: test-harness-runner\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * 1,3,6\"\njobs:\n  get-test-harnesses:\n    name: Get Test Harnesses\n    runs-on: ubuntu-latest\n    if: (github.event_name == 'schedule' && github.repository == 'hyperledger/aries-agent-test-harness') || (github.event_name != 'schedule')\n    outputs:\n      harnesses: ${{ steps.get-file-list.outputs.files }}\n      repo-name: ${{ steps.get-repo-info.outputs.name }}\n    steps:\n      - name: Echo github info\n        run: echo '${{toJSON(github)}}'\n\n      - name: Get Repository Info\n        id: get-repo-info\n        run: |\n          repository=\"${{github.repository}}\"\n          name=$(echo ${repository##*/})\n          echo \"name=${name}\" >> $GITHUB_OUTPUT\n\n      - name: Git checkout\n        uses: actions/checkout@v4\n\n      - name: Get File List\n        id: get-file-list\n        uses: the-coding-turtle/ga-file-list@v0.4.1\n        with:\n          directory: \".github/workflows\"\n          file_extension: \"yml\"\n\n          # ==============================================\n          # Include all test harnesses by default.\n          # ==============================================\n          only_files_starts_with: \"test-harness-\"\n\n          # ==============================================\n          # Ignore specific test harnesses here\n          # ----------------------------------------------\n          # Ignore tests by renaming the GHA file for the\n          # test to have a prefix of \"skip-\". Line below\n          # is not really needed, but left in to make\n          # it clear the file are being ignored.\n          # ==============================================\n          ignore_files_starts_with: \"skip-test-harness\"\n\n  run-test-harness:\n    name: Run Test Harness\n    needs: [get-test-harnesses]\n    runs-on: ubuntu-latest\n    if: (github.event_name == 'schedule' && github.repository == 'hyperledger/aries-agent-test-harness') || (github.event_name != 'schedule')\n    strategy:\n      max-parallel: 1\n      matrix:\n        test-workflow: ${{ fromJson(needs.get-test-harnesses.outputs.harnesses) }}\n      fail-fast: false\n    steps:\n      - name: ${{ matrix.test-workflow }}\n        timeout-minutes: 60\n        if: success() || failure()\n        uses: convictional/trigger-workflow-and-wait@v1.6.5\n        with:\n          workflow_file_name: ${{ matrix.test-workflow }}\n          owner: ${{ github.repository_owner }}\n          repo: ${{ needs.get-test-harnesses.outputs.repo-name }}\n          ref: ${{ github.event.ref }}\n          github_token: ${{ secrets.REPO_ACCESS_TOKEN }}\n          wait_workflow: true\n          wait_interval: 60\n\n  generate-summary-results:\n    name: Generate Summary Results\n    needs: [get-test-harnesses, run-test-harness]\n    if: (success() || failure()) && ((github.event_name == 'schedule' && github.repository == 'hyperledger/aries-agent-test-harness') || (github.event_name != 'schedule'))\n    runs-on: ubuntu-latest\n    steps:\n      - name: generate-summary-results.yml\n        uses: convictional/trigger-workflow-and-wait@v1.6.5\n        with:\n          workflow_file_name: generate-summary-results.yml\n          owner: ${{ github.repository_owner }}\n          repo: ${{ needs.get-test-harnesses.outputs.repo-name }}\n          ref: ${{ github.event.ref }}\n          github_token: ${{ secrets.REPO_ACCESS_TOKEN }}\n          wait_workflow: true\n          wait_interval: 60\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:30.175377", "created_at": "2022-10-18T21:48:33+02:00", "updated_at": "2022-10-18T21:48:33+02:00", "name": "test-harness-ariesvcx-javascript", "path": ".github/workflows/test-harness-ariesvcx-javascript.yml", "contents": "name: test-harness-ariesvcx-javascript\n# RUNSET_NAME: \"aries-vcx to javascript\"\n# Scope: AIP 1.0\n# Exceptions: Public Dids\n#\n# Passing tests: @RFC0036,@RFC0037,@RFC0160,@revocation\n#\n# End\non:\n  workflow_dispatch:\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout-test-harness\n        uses: actions/checkout@v4\n        with:\n          path: test-harness\n      - name: Docker Login\n        uses: azure/docker-login@v2\n        with:\n          login-server: docker.pkg.github.com\n          username: $GITHUB_ACTOR\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: run-von-network\n        uses: ./test-harness/actions/run-von-network\n      - name: run-indy-tails-server\n        uses: ./test-harness/actions/run-indy-tails-server\n      - name: run-test-harness-wo-reports\n        uses: ./test-harness/actions/run-test-harness-wo-reports\n        with:\n          BUILD_AGENTS: \"-a aries-vcx -a javascript\"\n          TEST_AGENTS: \"-d aries-vcx -b javascript\"\n          TEST_SCOPE: \"-t @RFC0036,@RFC0037,@RFC0160,@revocation -t ~@T005-HIPE0011 -t ~@T006.1-HIPE0011 -t ~@RFC0025 -t ~@RFC0183 -t ~@RFC0211 -t ~@RFC0434 -t ~@RFC0453 -t ~@wip -t ~@DIDExchangeConnection -t ~@QualifiedDIDs\"\n          REPORT_PROJECT: aries-vcx-b-javascript\n        continue-on-error: true\n      - uses: actions/upload-artifact@v4\n        with:\n          name: agent-logs\n          path: ./test-harness/.logs/\n      - name: run-send-gen-test-results-secure\n        uses: ./test-harness/actions/run-send-gen-test-results-secure\n        with:\n          REPORT_PROJECT: aries-vcx-b-javascript\n          ADMIN_USER: ${{ secrets.AllureAdminUser }}\n          ADMIN_PW: ${{ secrets.AllureAdminPW }}\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:31.735320", "created_at": "2022-10-18T21:48:33+02:00", "updated_at": "2022-10-18T21:48:33+02:00", "name": "test-harness-javascript-ariesvcx", "path": ".github/workflows/test-harness-javascript-ariesvcx.yml", "contents": "name: test-harness-javascript-ariesvcx\n# RUNSET_NAME: \"javascript to aries-vcx\"\n# Scope: AIP 1.0\n# Exceptions: Public Dids, Revocations\n#\n# Passing tests: @RFC0036,@RFC0037,@RFC0160,@revocation\n#\n# End\non:\n  workflow_dispatch:\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout-test-harness\n        uses: actions/checkout@v4\n        with:\n          path: test-harness\n      - name: Docker Login\n        uses: azure/docker-login@v2\n        with:\n          login-server: docker.pkg.github.com\n          username: $GITHUB_ACTOR\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: run-von-network\n        uses: ./test-harness/actions/run-von-network\n      - name: run-indy-tails-server\n        uses: ./test-harness/actions/run-indy-tails-server\n      - name: run-test-harness-wo-reports\n        uses: ./test-harness/actions/run-test-harness-wo-reports\n        with:\n          BUILD_AGENTS: \"-a aries-vcx -a javascript\"\n          TEST_AGENTS: \"-d javascript -b aries-vcx\"\n          TEST_SCOPE: \"-t @RFC0036,@RFC0037,@RFC0160 -t ~@T003-RFC0160 -t ~@T004-RFC0160 -t ~@revocation -t ~@RFC0025 -t ~@RFC0183 -t ~@RFC0211 -t ~@RFC0434 -t ~@RFC0453 -t ~@wip -t ~@DIDExchangeConnection -t ~@QualifiedDIDs\"\n          REPORT_PROJECT: javascript-b-aries-vcx\n        continue-on-error: true\n      - uses: actions/upload-artifact@v4\n        with:\n          name: agent-logs\n          path: ./test-harness/.logs/\n      - name: run-send-gen-test-results-secure\n        uses: ./test-harness/actions/run-send-gen-test-results-secure\n        with:\n          REPORT_PROJECT: javascript-b-aries-vcx\n          ADMIN_USER: ${{ secrets.AllureAdminUser }}\n          ADMIN_PW: ${{ secrets.AllureAdminPW }}\n", "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:32.832590", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-acapy-afgo", "path": ".github/workflows/skip-test-harness-acapy-afgo.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:33.866119", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-acapy-dotnet-javascript", "path": ".github/workflows/skip-test-harness-acapy-dotnet-javascript.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:34.875021", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-acapy-dotnet", "path": ".github/workflows/skip-test-harness-acapy-dotnet.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:35.912965", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-acapy-findy", "path": ".github/workflows/skip-test-harness-acapy-findy.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:36.915985", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-afgo-acapy", "path": ".github/workflows/skip-test-harness-afgo-acapy.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:37.972207", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-afgo-afgo", "path": ".github/workflows/skip-test-harness-afgo.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:39.091975", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-javascript-dotnet", "path": ".github/workflows/skip-test-harness-afj-dotnet.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:40.120365", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-javascript-findy", "path": ".github/workflows/skip-test-harness-afj-findy.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:41.251147", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-dotnet-acapy", "path": ".github/workflows/skip-test-harness-dotnet-acapy.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:42.267026", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-dotnet-findy", "path": ".github/workflows/skip-test-harness-dotnet-findy.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:43.404222", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-dotnet-javascript", "path": ".github/workflows/skip-test-harness-dotnet-javascript.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:44.411685", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-dotnet-dotnet", "path": ".github/workflows/skip-test-harness-dotnet.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:45.400921", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-findy-acapy", "path": ".github/workflows/skip-test-harness-findy-acapy.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:46.473045", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-findy-dotnet", "path": ".github/workflows/skip-test-harness-findy-dotnet.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:47.508382", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-findy-javascript-dotnet", "path": ".github/workflows/skip-test-harness-findy-javascript-dotnet.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:48.591988", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-findy-javascript", "path": ".github/workflows/skip-test-harness-findy-javascript.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:50.153742", "created_at": "2024-06-25T23:30:40+02:00", "updated_at": "2024-06-25T23:30:40+02:00", "name": "test-harness-findy-findy", "path": ".github/workflows/skip-test-harness-findy.yml", "contents": null, "state": "active", "repository": "hyperledger/aries-agent-test-harness"}
{"mined_at": "2024-07-15T15:05:52.373328", "created_at": "2020-01-10T19:49:25+01:00", "updated_at": "2020-01-10T19:49:25+01:00", "name": "ALFAsim SDK", "path": "", "contents": null, "state": "active", "repository": "esss/alfasim-sdk"}
{"mined_at": "2024-07-15T15:05:53.549028", "created_at": "2019-12-19T03:00:24+01:00", "updated_at": "2019-12-19T03:00:24+01:00", "name": "ALFAsim SDK", "path": ".github/workflows/main.yml", "contents": "name: ALFAsim SDK\n\non:\n  push:\n    branches:\n      - master\n      - rb-*\n    tags:\n      - v*\n\n  pull_request:\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n        os: [ubuntu-latest, windows-latest]\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        lfs: true\n    - uses: ilammy/msvc-dev-cmd@v1\n      with:\n        vsversion: \"2022\"\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox codecov\n    - name: Run tests\n      run: tox -e py\n    - name: Upload codecov\n      run: codecov -t  ${{secrets.CODECOV_TOKEN}} -X gcov -f coverage.xml\n\n  deploy:\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'ESSS/alfasim-sdk'\n\n    runs-on: ubuntu-latest\n\n    needs: test\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n\n    - name: Build Package\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade build\n        python -m build\n\n    - name: Publish package to PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_token }}\n\n    - name: GitHub Release\n      uses: softprops/action-gh-release@v1\n      with:\n        files: dist/*\n\n  sonarcloud:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        # Disabling shallow clone is recommended for improving relevancy of reporting\n        fetch-depth: 0\n    - name: SonarCloud Scan\n      uses: sonarsource/sonarcloud-github-action@master\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "esss/alfasim-sdk"}
{"mined_at": "2024-07-15T15:05:55.544184", "created_at": "2020-08-11T23:29:45+02:00", "updated_at": "2020-11-17T19:27:52+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  publish:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Clone ETA\n        uses: actions/checkout@v2\n      - name: Set up Python 3\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip setuptools wheel twine\n      - name: Install ETA\n        run: |\n          pip install --no-deps -e .\n      - name: Validate version\n        run: |\n          SETUP_VERSION=\"$(pip list --format json | jq -r '.[] | select(.name==\"voxel51-eta\") | .version')\"\n          TAG_VERSION=\"$(echo \"${{ github.ref }}\" | sed 's/^refs\\/tags\\/v//' | sed 's/-rc\\..*//')\"\n          echo \"setup.py version: ${SETUP_VERSION}\"\n          echo \"tagged version: ${TAG_VERSION}\"\n          test \"${SETUP_VERSION}\" = \"${TAG_VERSION}\"\n      - name: Build wheel\n        run: |\n          RELEASE_VERSION=$(echo \"${{ github.ref }}\" | sed 's/^refs\\/tags\\/v//') python setup.py sdist bdist_wheel\n      - name: Upload wheel\n        uses: actions/upload-artifact@v2\n        with:\n          name: wheel\n          path: dist/\n      - name: Set environment\n        env:\n          RELEASE_TAG: ${{ github.ref }}\n        run: |\n          echo \"TWINE_PASSWORD=${{ secrets.FIFTYONE_PYPI_TOKEN }}\" >> $GITHUB_ENV\n          echo \"TWINE_REPOSITORY=pypi\" >> $GITHUB_ENV\n      - name: Publish wheel\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_NON_INTERACTIVE: 1\n        run: twine upload dist/*\n", "state": "active", "repository": "voxel51/eta"}
{"mined_at": "2024-07-15T15:05:57.668912", "created_at": "2020-01-21T06:41:37+01:00", "updated_at": "2021-01-26T21:35:07+01:00", "name": "DESC Env Docker Deployment", "path": ".github/workflows/desc-env-test.yml", "contents": "name: DESC Env Docker Deployment\n\non:\n  push:\n    branches: [ master ]\n\njobs:\n  docker-build:\n    runs-on: ubuntu-latest\n    env:\n      SCRIPT_DIR: scripts\n      INSTALL_SCRIPT: scripts/install.sh\n      TEST_SCRIPT: scripts/test.sh\n    strategy:\n      matrix:\n        image_version: [bleed, latest]\n    steps:\n      - name: Prepare an installation script\n        run: |\n          mkdir -p $SCRIPT_DIR\n          echo '#!/bin/bash' > $INSTALL_SCRIPT\n      - name: Add pre-installation steps for bleed/latest\n        if: matrix.image_version == 'bleed' || matrix.image_version == 'latest'\n        run: |\n          echo 'source /opt/desc/py/etc/profile.d/conda.sh' >> $INSTALL_SCRIPT\n          echo 'conda activate base' >> $INSTALL_SCRIPT\n      - name: Make a copy of the installation script for test script\n        run: |\n          cp $INSTALL_SCRIPT $TEST_SCRIPT\n      - name: Add installation steps\n        run: |\n          echo 'pip install https://github.com/${{ github.repository }}/archive/master.zip' >> $INSTALL_SCRIPT\n      - name: Add test steps\n        run: |\n          echo 'python -c \"import GCRCatalogs; print(GCRCatalogs.__version__)\"' >> $TEST_SCRIPT\n          echo 'python -c \"import pyccl; print(pyccl.__version__)\"' >> $TEST_SCRIPT\n      - name: Set up environment variables for bleed/latest\n        if: matrix.image_version == 'bleed' || matrix.image_version == 'latest'\n        run: |\n          echo \"CONTAINER=updateGCR-${{ matrix.image_version }}\" >> $GITHUB_ENV\n          echo \"IMAGE=lsstdesc/desc-python:${{ matrix.image_version }}\" >> $GITHUB_ENV\n      - name: Run docker login\n        run: echo '${{ secrets.DOCKERHUB_ACCESSTOK }}' | docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin\n      - run: docker pull $IMAGE\n      - name: Run installation script in docker\n        run: |\n          docker run -v $(pwd)/$SCRIPT_DIR:/$SCRIPT_DIR --name=$CONTAINER $IMAGE /bin/bash /$INSTALL_SCRIPT\n          docker commit -m=\"Installed ${{ github.repository }} master\" $CONTAINER $IMAGE\n          docker rm $CONTAINER\n      - name: Test the updated image\n        run: |\n          docker run --rm -v $(pwd)/$SCRIPT_DIR:/$SCRIPT_DIR $IMAGE /bin/bash /$TEST_SCRIPT\n      - run: docker push $IMAGE\n", "state": "active", "repository": "lsstdesc/gcr-catalogs"}
{"mined_at": "2024-07-15T15:05:58.781893", "created_at": "2020-12-07T18:04:46+01:00", "updated_at": "2020-12-07T18:04:46+01:00", "name": "Python CI Test", "path": ".github/workflows/python-ci-test.yml", "contents": "name: Python CI Test\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Cache Python packages\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-py${{ matrix.python-version }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel\n        pip install .[full]\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Lint with pylint\n      run: |\n        pip install pylint\n        # stop the build if there are Pylint errors\n        pylint --disable=all --enable=F,E,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode --extension-pkg-whitelist=numpy --init-hook='import sys; sys.setrecursionlimit(8 * sys.getrecursionlimit())' GCRCatalogs\n    - name: Test with pytest\n      run: |\n        pip install pytest\n        pytest --no-catalog\n", "state": "active", "repository": "lsstdesc/gcr-catalogs"}
{"mined_at": "2024-07-15T15:05:59.997285", "created_at": "2023-11-02T22:24:46+01:00", "updated_at": "2023-11-02T22:24:46+01:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment: production\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools twine\n    - name: Build and publish\n      run: |\n        python setup.py sdist\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "lsstdesc/gcr-catalogs"}
{"mined_at": "2024-07-15T15:06:02.150411", "created_at": "2020-01-10T08:40:03+01:00", "updated_at": "2020-01-10T08:40:03+01:00", "name": "Python package", "path": "", "contents": null, "state": "active", "repository": "watchdogpolska/feder"}
{"mined_at": "2024-07-15T15:06:03.165595", "created_at": "2020-09-27T11:53:38+02:00", "updated_at": "2023-06-01T19:11:43+02:00", "name": "Frontend", "path": ".github/workflows/frontend.yml", "contents": "---\nname: Frontend\n\non:\n  push:\n    branches:\n      - master\n      - develop\n\n  pull_request:\n\njobs:\n  regenerate_frontend:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Collect statics\n        run: docker-compose run web python manage.py collectstatic --noinput\n      - name: Build and run frontend\n        run: docker-compose up gulp\n      - name: Regenerate frontend\n        run: make wait_web regenerate_frontend\n      - name: Show git status\n        run: git status\n      - name: Require rebuild content\n        run: >\n          git diff-index --quiet HEAD -- feder/static/ package*.json || (\n            echo \"Pending changes in the front-end have been detected.\";\n            echo \"Use 'make regenerate_frontend' to regenerate front-end \";\n            echo \"and commit changes. Following changes pending:\";\n            git diff;\n            exit 1;\n          )\n", "state": "active", "repository": "watchdogpolska/feder"}
{"mined_at": "2024-07-15T15:06:04.298304", "created_at": "2019-12-19T18:42:15+01:00", "updated_at": "2019-12-19T18:42:15+01:00", "name": "Python package", "path": ".github/workflows/web.yml", "contents": "name: Python package\n\non:\n  push:\n    branches:\n      - master\n      - develop\n  pull_request:\n\njobs:\n  django_build_and_test:\n    runs-on: ubuntu-latest\n#     strategy:\n#       matrix:\n#         python:\n# #          - 3.6\n#           - \"3.12\"\n#         django:\n# #          - \"==2.2.*\"\n#           - \"==4.2\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          lfs: true\n      - name: Build application\n        run: docker-compose build web\n        env:\n          PYTHON_VERSION: ${{ matrix.python }}\n          DJANGO_VERSION: ${{ matrix.django }}\n          METADEFENDER_API_KEY: ${{ secrets.METADEFENDER_API_KEY }}\n      - name: Run side services\n        run: make wait_mysql\n      - name: Migration check\n        run: make check\n      - name: Show settings\n        run: make settings\n      - name: Show installed dependencies\n        run: docker-compose run web pip list\n      - name: Build test\n        run: make test\n#     - name: Send coverage report\n#       run: make coverage_send\n#       env:\n#         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n#         COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n      - name: Show MySQL logs\n        run: docker-compose logs db\n        if: failure()\n      - name: Show docker process\n        run: docker ps\n        if: always()\n", "state": "active", "repository": "watchdogpolska/feder"}
{"mined_at": "2024-07-15T15:06:05.422621", "created_at": "2023-06-09T17:44:26+02:00", "updated_at": "2023-06-09T18:09:30+02:00", "name": "Docker Build and Push", "path": ".github/workflows/web_image_buil_and_push.yml", "contents": "# yamllint disable rule:line-length\nname: Docker Build and Push\n\non:\n  pull_request:\n    types:\n      - closed\n\njobs:\n  build-and-push:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.merged == true && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop')\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Get version from script\n        id: get_version\n        working-directory: feder\n        run: |\n          echo \"version=$(python version.py)\" >> $GITHUB_ENV\n\n      - name: Get deployment env\n        id: get_deployment\n        run: |\n          if [[ $GITHUB_REF == *\"master\"* ]]; then\n            DEPLOYMENT=\"prod\"\n          elif [[ $GITHUB_REF == *\"develop\"* ]]; then\n            DEPLOYMENT=\"staging\"\n          fi\n          echo \"deployment=$DEPLOYMENT\" >> $GITHUB_ENV\n          env\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PAT }}\n\n      - name: Display contents of code directory\n        run: ls -la\n\n      - name: Display contents of .git directory\n        run: ls -la .git\n\n      - name: Create git copy\n        run: cp -r .git .git_copy\n\n      - name: Show git status\n        run: git status\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: .contrib/docker/Dockerfile.web.production\n          push: true\n          tags: |\n            ${{ secrets.DOCKER_USERNAME }}/${{ vars.REPO_NAME }}:latest-${{ env.deployment }}\n            ${{ secrets.DOCKER_USERNAME }}/${{ vars.REPO_NAME }}:${{ env.version }}-${{ env.deployment }}\n", "state": "active", "repository": "watchdogpolska/feder"}
{"mined_at": "2024-07-15T15:06:07.681835", "created_at": "2021-12-17T00:33:07+01:00", "updated_at": "2021-12-17T00:33:07+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tcprescott/sahasrahbot"}
{"mined_at": "2024-07-15T15:06:10.032218", "created_at": "2021-07-13T22:42:27+02:00", "updated_at": "2023-05-24T16:13:59+02:00", "name": "CI Tests", "path": ".github/workflows/ci_build_tests.yml", "contents": null, "state": "active", "repository": "opentensor/bittensor"}
{"mined_at": "2024-07-15T15:06:11.138230", "created_at": "2024-05-22T10:18:39+02:00", "updated_at": "2024-06-25T23:38:47+02:00", "name": "E2E Subtensor Tests", "path": ".github/workflows/e2e-subtensor-tests.yaml", "contents": "name: E2E Subtensor Tests\n\nconcurrency:\n  group: e2e-subtensor-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  ## Run automatically for all PRs against main, regardless of what the changes are\n  ## to be safe and so we can more easily force re-run the CI when github is being\n  ## weird by using a blank commit\n  push:\n    branches: [main, development, staging]\n\n  ##\n  # Run automatically for PRs against default/main branch if Rust files change\n  pull_request:\n    branches: [main, development, staging]\n\n  ## Allow running workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      verbose:\n        description: \"Output more information when triggered manually\"\n        required: false\n        default: \"\"\n\nenv:\n  CARGO_TERM_COLOR: always\n  VERBOSE: ${{ github.events.input.verbose }}\n\njobs:\n  run:\n    runs-on: SubtensorCI\n    strategy:\n      matrix:\n        rust-branch:\n          - nightly-2024-03-05\n        rust-target:\n          - x86_64-unknown-linux-gnu\n          # - x86_64-apple-darwin\n        os:\n          - ubuntu-latest\n          # - macos-latest\n        include:\n          - os: ubuntu-latest\n          # - os: macos-latest\n    env:\n      RELEASE_NAME: development\n      RUSTV: ${{ matrix.rust-branch }}\n      RUST_BACKTRACE: full\n      RUST_BIN_DIR: target/${{ matrix.rust-target }}\n      TARGET: ${{ matrix.rust-target }}\n    steps:\n      - name: Check-out repository under $GITHUB_WORKSPACE\n        uses: actions/checkout@v2\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update &&\n          sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler\n\n      - name: Install Rust ${{ matrix.rust-branch }}\n        uses: actions-rs/toolchain@v1.0.6\n        with:\n          toolchain: ${{ matrix.rust-branch }}\n          components: rustfmt\n          profile: minimal\n\n      - name: Add wasm32-unknown-unknown target\n        run: |\n          rustup target add wasm32-unknown-unknown --toolchain stable-x86_64-unknown-linux-gnu\n          rustup component add rust-src --toolchain stable-x86_64-unknown-linux-gnu\n\n      - name: Clone subtensor repo\n        run: git clone https://github.com/opentensor/subtensor.git\n\n      - name: Setup subtensor repo\n        working-directory: ${{ github.workspace }}/subtensor\n        run: git checkout testnet\n\n      - name: Run tests\n        run: |\n          python3 -m pip install -e .[dev] pytest\n          LOCALNET_SH_PATH=\"${{ github.workspace }}/subtensor/scripts/localnet.sh\" pytest tests/e2e_tests/ -s\n", "state": "active", "repository": "opentensor/bittensor"}
{"mined_at": "2024-07-15T15:06:12.305902", "created_at": "2024-02-06T19:40:44+01:00", "updated_at": "2024-02-06T19:40:44+01:00", "name": "Python package", "path": ".github/workflows/lint_and_type_check.yml", "contents": null, "state": "active", "repository": "opentensor/bittensor"}
{"mined_at": "2024-07-15T15:06:13.329358", "created_at": "2024-07-12T22:12:18+02:00", "updated_at": "2024-07-12T22:59:26+02:00", "name": "Build and Publish Python Package", "path": ".github/workflows/release.yaml", "contents": null, "state": "active", "repository": "opentensor/bittensor"}
{"mined_at": "2024-07-15T15:06:14.382171", "created_at": "2024-07-12T22:53:13+02:00", "updated_at": "2024-07-12T22:53:13+02:00", "name": "Build and Publish Python Package", "path": ".github/workflows/release.yml", "contents": null, "state": "active", "repository": "opentensor/bittensor"}
{"mined_at": "2024-07-15T15:06:16.587519", "created_at": "2020-12-28T06:19:58+01:00", "updated_at": "2024-02-20T11:35:07+01:00", "name": "Ubuntu", "path": ".github/workflows/tests-ubuntu.yml", "contents": "name: Ubuntu\non: [push, pull_request]\n\nconcurrency:\n  group: ${{github.workflow}}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - python-version: 3.9\n          env:\n            TOXENV: py\n        - python-version: \"3.10\"\n          env:\n            TOXENV: py\n        - python-version: \"3.11\"\n          env:\n            TOXENV: py\n        - python-version: \"3.12\"\n          env:\n            TOXENV: py\n        - python-version: \"3.12\"\n          env:\n            TOXENV: asyncio\n        - python-version: pypy3.9\n          env:\n            TOXENV: pypy3\n        - python-version: pypy3.10\n          env:\n            TOXENV: pypy3\n\n        # pinned deps\n        - python-version: 3.8.17\n          env:\n            TOXENV: pinned\n        - python-version: 3.8.17\n          env:\n            TOXENV: asyncio-pinned\n        - python-version: pypy3.8\n          env:\n            TOXENV: pypy3-pinned\n        - python-version: 3.8.17\n          env:\n            TOXENV: extra-deps-pinned\n        - python-version: 3.8.17\n          env:\n            TOXENV: botocore-pinned\n\n        - python-version: \"3.12\"\n          env:\n            TOXENV: extra-deps\n        - python-version: \"3.12\"\n          env:\n            TOXENV: botocore\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install system libraries\n      if: contains(matrix.python-version, 'pypy') || contains(matrix.env.TOXENV, 'pinned')\n      run: |\n        sudo apt-get update\n        sudo apt-get install libxml2-dev libxslt-dev\n\n    - name: Run tests\n      env: ${{ matrix.env }}\n      run: |\n        pip install -U tox\n        tox\n\n    - name: Upload coverage report\n      run: bash <(curl -s https://codecov.io/bash)\n", "state": "active", "repository": "scrapy/scrapy"}
{"mined_at": "2024-07-15T15:06:17.698439", "created_at": "2020-12-28T06:19:58+01:00", "updated_at": "2024-02-20T11:35:07+01:00", "name": "Checks", "path": ".github/workflows/checks.yml", "contents": "name: Checks\non: [push, pull_request]\n\nconcurrency:\n  group: ${{github.workflow}}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  checks:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - python-version: \"3.12\"\n          env:\n            TOXENV: pylint\n        - python-version: 3.8\n          env:\n            TOXENV: typing\n        - python-version: 3.8\n          env:\n            TOXENV: typing-tests\n        - python-version: \"3.11\"  # Keep in sync with .readthedocs.yml\n          env:\n            TOXENV: docs\n        - python-version: \"3.12\"\n          env:\n            TOXENV: twinecheck\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Run check\n      env: ${{ matrix.env }}\n      run: |\n        pip install -U tox\n        tox\n\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "scrapy/scrapy"}
{"mined_at": "2024-07-15T15:06:18.940651", "created_at": "2020-12-28T06:19:58+01:00", "updated_at": "2020-12-30T19:21:45+01:00", "name": "Windows", "path": ".github/workflows/tests-windows.yml", "contents": "name: Windows\non: [push, pull_request]\n\nconcurrency:\n  group: ${{github.workflow}}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - python-version: 3.8\n          env:\n            TOXENV: windows-pinned\n        - python-version: 3.9\n          env:\n            TOXENV: py\n        - python-version: \"3.10\"\n          env:\n            TOXENV: py\n        - python-version: \"3.11\"\n          env:\n            TOXENV: py\n        - python-version: \"3.12\"\n          env:\n            TOXENV: py\n        - python-version: \"3.12\"\n          env:\n            TOXENV: asyncio\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Run tests\n      env: ${{ matrix.env }}\n      run: |\n        pip install -U tox\n        tox\n", "state": "active", "repository": "scrapy/scrapy"}
{"mined_at": "2024-07-15T15:06:19.994661", "created_at": "2021-01-01T23:13:58+01:00", "updated_at": "2021-01-01T23:13:58+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\non:\n  push:\n    tags:\n      - '[0-9]+.[0-9]+.[0-9]+'\n\nconcurrency:\n  group: ${{github.workflow}}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.12\n      - run: | \n          pip install --upgrade build twine\n          python -m build\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.6.4\n        with:\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "scrapy/scrapy"}
{"mined_at": "2024-07-15T15:06:21.055697", "created_at": "2021-10-05T21:39:25+02:00", "updated_at": "2021-10-05T21:39:25+02:00", "name": "Ubuntu", "path": ".github/workflows/tests.yml", "contents": null, "state": "active", "repository": "scrapy/scrapy"}
{"mined_at": "2024-07-15T15:06:22.320315", "created_at": "2023-09-27T22:00:55+02:00", "updated_at": "2023-09-27T22:00:55+02:00", "name": "CIFuzz", "path": ".github/workflows/cifuzz.yml", "contents": null, "state": "active", "repository": "scrapy/scrapy"}
{"mined_at": "2024-07-15T15:06:23.371111", "created_at": "2020-12-30T19:09:35+01:00", "updated_at": "2021-03-09T15:11:04+01:00", "name": "macOS", "path": ".github/workflows/tests-macos.yml", "contents": "name: macOS\non: [push, pull_request]\n\nconcurrency:\n  group: ${{github.workflow}}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    runs-on: macos-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Run tests\n      run: |\n        pip install -U tox\n        tox -e py\n\n    - name: Upload coverage report\n      run: bash <(curl -s https://codecov.io/bash)\n", "state": "disabled_manually", "repository": "scrapy/scrapy"}
{"mined_at": "2024-07-15T15:06:25.470486", "created_at": "2020-12-30T00:15:33+01:00", "updated_at": "2020-12-30T00:15:33+01:00", "name": "Check issue template", "path": ".github/workflows/check-template.yml", "contents": "name: Check issue template\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  check-template:\n    runs-on: ubuntu-latest\n    # comment this out when testing with https://github.com/nektos/act\n    if: ${{ github.repository_owner == 'facebookresearch' }}\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/github-script@v3\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            // Arguments available:\n            // - github: A pre-authenticated octokit/rest.js client\n            // - context: An object containing the context of the workflow run\n            // - core: A reference to the @actions/core package\n            // - io: A reference to the @actions/io package\n            const fs = require('fs');\n            const editDistance = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/levenshtein.js`).getEditDistance\n            issue = await github.issues.get({\n              owner: context.issue.owner,\n              repo: context.issue.repo,\n              issue_number: context.issue.number,\n            });\n            const hasLabel = issue.data.labels.length > 0;\n            if (hasLabel || issue.state === \"closed\") {\n              // don't require template on them\n              core.debug(\"Issue \" + issue.data.title + \" was skipped.\");\n              return;\n            }\n\n            sameAsTemplate = function(filename, body) {\n              let tmpl = fs.readFileSync(`.github/ISSUE_TEMPLATE/${filename}`, 'utf8');\n              tmpl = tmpl.toLowerCase().split(\"---\").slice(2).join(\"\").trim();\n              tmpl = tmpl.replace(/(\\r\\n|\\n|\\r)/gm, \"\");\n              let bodyr = body.replace(/(\\r\\n|\\n|\\r)/gm, \"\");\n              let dist = editDistance(tmpl, bodyr);\n              return dist < 8;\n            };\n\n            checkFail = async function(msg) {\n              core.info(\"Processing '\" + issue.data.title + \"' with message: \" + msg);\n              await github.issues.addLabels({\n                owner: context.issue.owner,\n                repo: context.issue.repo,\n                issue_number: context.issue.number,\n                labels: [\"needs-more-info\"],\n              });\n              await github.issues.createComment({\n                owner: context.issue.owner,\n                repo: context.issue.repo,\n                issue_number: context.issue.number,\n                body: msg,\n              });\n            };\n\n            const body = issue.data.body.toLowerCase().trim();\n\n            if (sameAsTemplate(\"bugs.md\", body) || sameAsTemplate(\"unexpected-problems-bugs.md\", body)) {\n              await checkFail(`\n            We found that not enough information is provided about this issue.\n            Please provide details following the [issue template](https://github.com/facebookresearch/detectron2/issues/new/choose).`)\n              return;\n            }\n\n            const hasInstructions = body.indexOf(\"reproduce\") != -1;\n            const hasEnvironment = (body.indexOf(\"environment\") != -1) || (body.indexOf(\"colab\") != -1) || (body.indexOf(\"docker\") != -1);\n            if (hasInstructions && hasEnvironment) {\n              core.debug(\"Issue \" + issue.data.title + \" follows template.\");\n              return;\n            }\n\n            let message = \"You've chosen to report an unexpected problem or bug. Unless you already know the root cause of it, please include details about it by filling the [issue template](https://github.com/facebookresearch/detectron2/issues/new/choose).\\n\";\n            message += \"The following information is missing: \";\n            if (!hasInstructions) {\n              message += \"\\\"Instructions To Reproduce the Issue and __Full__ Logs\\\"; \";\n            }\n            if (!hasEnvironment) {\n              message += \"\\\"Your Environment\\\"; \";\n            }\n            await checkFail(message);\n", "state": "active", "repository": "facebookresearch/detectron2"}
{"mined_at": "2024-07-15T15:06:26.930211", "created_at": "2020-12-28T22:09:10+01:00", "updated_at": "2020-12-31T13:44:20+01:00", "name": "Close/Lock issues after inactivity", "path": ".github/workflows/needs-reply.yml", "contents": "name: Close/Lock issues after inactivity\n\non:\n  schedule:\n    - cron: \"42 1 * * *\"\n\njobs:\n  close-issues-needs-more-info:\n    runs-on: ubuntu-latest\n    if: ${{ github.repository_owner == 'facebookresearch' }}\n    steps:\n      - name: Close old issues that need reply\n        uses: actions/github-script@v3\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          # Modified from https://github.com/dwieeb/needs-reply\n          script: |\n            // Arguments available:\n            // - github: A pre-authenticated octokit/rest.js client\n            // - context: An object containing the context of the workflow run\n            // - core: A reference to the @actions/core package\n            // - io: A reference to the @actions/io package\n            const kLabelToCheck = \"needs-more-info\";\n            const kInvalidLabel = \"invalid/unrelated\";\n            const kDaysBeforeClose = 7;\n            const kMessage = \"Requested information was not provided in 7 days, so we're closing this issue.\\n\\nPlease open new issue if information becomes available. Otherwise, use [github discussions](https://github.com/facebookresearch/detectron2/discussions) for free-form discussions.\"\n\n            issues = await github.issues.listForRepo({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              state: 'open',\n              labels: kLabelToCheck,\n              sort: 'updated',\n              direction: 'asc',\n              per_page: 30,\n              page: 1,\n            });\n            issues = issues.data;\n            if (issues.length === 0) {\n              core.info('No more issues found to process. Exiting.');\n              return;\n            }\n            for (const issue of issues) {\n              if (!!issue.pull_request)\n                continue;\n              core.info(`Processing issue #${issue.number}`);\n\n              let updatedAt = new Date(issue.updated_at).getTime();\n              const numComments = issue.comments;\n              const comments = await github.issues.listComments({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                issue_number: issue.number,\n                per_page: 30,\n                page: Math.floor((numComments - 1) / 30) + 1, // the last page\n              });\n              const lastComments = comments.data\n                .map(l => new Date(l.created_at).getTime())\n                .sort();\n              if (lastComments.length > 0) {\n                updatedAt = lastComments[lastComments.length - 1];\n              }\n\n              const now = new Date().getTime();\n              const daysSinceUpdated = (now - updatedAt) / 1000 / 60 / 60 / 24;\n\n              if (daysSinceUpdated < kDaysBeforeClose) {\n                core.info(`Skipping #${issue.number} because it has been updated in the last ${daysSinceUpdated} days`);\n                continue;\n              }\n              core.info(`Closing #${issue.number} because it has not been updated in the last ${daysSinceUpdated} days`);\n              await github.issues.createComment({\n                  owner: context.repo.owner,\n                  repo: context.repo.repo,\n                  issue_number: issue.number,\n                  body: kMessage,\n              });\n              const newLabels = numComments <= 2 ? [kInvalidLabel, kLabelToCheck] : issue.labels;\n              await github.issues.update({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                issue_number: issue.number,\n                labels: newLabels,\n                state: 'closed',\n              });\n            }\n\n  lock-issues-after-closed:\n    runs-on: ubuntu-latest\n    if: ${{ github.repository_owner == 'facebookresearch' }}\n    steps:\n      - name: Lock closed issues that have no activity for a while\n        uses: dessant/lock-threads@v2\n        with:\n          github-token: ${{ github.token }}\n          issue-lock-inactive-days: '300'\n          process-only: 'issues'\n          issue-exclude-labels: 'enhancement,bug,documentation'\n", "state": "active", "repository": "facebookresearch/detectron2"}
{"mined_at": "2024-07-15T15:06:28.153659", "created_at": "2020-12-28T22:09:10+01:00", "updated_at": "2020-12-28T22:09:10+01:00", "name": "Remove needs-more-info label", "path": ".github/workflows/remove-needs-reply.yml", "contents": "name: Remove needs-more-info label\n\non:\n  issue_comment:\n    types: [created]\n  issues:\n    types: [edited]\n\njobs:\n  remove-needs-more-info-label:\n    runs-on: ubuntu-latest\n    # 1. issue_comment events could include PR comment, filter them out\n    # 2. Only trigger action if event was produced by the original author\n    if: ${{ !github.event.issue.pull_request && github.event.sender.login == github.event.issue.user.login }}\n    steps:\n      - name: Remove needs-more-info label\n        uses: octokit/request-action@v2.x\n        continue-on-error: true\n        with:\n          route: DELETE /repos/:repository/issues/:issue/labels/:label\n          repository: ${{ github.repository }}\n          issue: ${{ github.event.issue.number }}\n          label: needs-more-info\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "facebookresearch/detectron2"}
{"mined_at": "2024-07-15T15:06:29.380822", "created_at": "2020-07-07T22:02:40+02:00", "updated_at": "2021-04-24T10:37:22+02:00", "name": "CI", "path": ".github/workflows/workflow.yml", "contents": "name: CI\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\"  # @daily\n\n# Run linter with github actions for quick feedbacks.\njobs:\n  linter:\n    runs-on: ubuntu-latest\n    # run on PRs, or commits to facebookresearch (not internal)\n    if: ${{ github.repository_owner == 'facebookresearch' || github.event_name == 'pull_request' }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        # flake8-bugbear flake8-comprehensions are useful but not available internally\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install flake8==6.1.0 isort==4.3.21\n          python -m pip install black==24.3.0\n          flake8 --version\n      - name: Lint\n        run: |\n          echo \"Running isort\"\n          isort -c -sp .\n          echo \"Running black\"\n          black -l 100 --check .\n          echo \"Running flake8\"\n          flake8 .\n\n  macos_tests:\n    runs-on: macos-latest\n    # run on PRs, or commits to facebookresearch (not internal)\n    if: ${{ github.repository_owner == 'facebookresearch' || github.event_name == 'pull_request' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        torch: [\"1.13.1\", \"2.2.2\"]\n        include:\n          - torch: \"1.13.1\"\n            torchvision: \"0.14.1\"\n          - torch: \"2.2.2\"\n            torchvision: \"0.17.2\"\n    env:\n      # point datasets to ~/.torch so it's cached by CI\n      DETECTRON2_DATASETS: ~/.torch/datasets\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Cache dependencies\n        uses: actions/cache@v2\n        with:\n          path: |\n            ${{ env.pythonLocation }}/lib/python3.8/site-packages\n            ~/.torch\n          key: ${{ runner.os }}-torch${{ matrix.torch }}-${{ hashFiles('setup.py') }}-20220119\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install wheel ninja opencv-python-headless onnx pytest-xdist\n          python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html\n          # install from github to get latest; install iopath first since fvcore depends on it\n          python -m pip install -U 'git+https://github.com/facebookresearch/iopath'\n          python -m pip install -U 'git+https://github.com/facebookresearch/fvcore'\n          wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py\n          python collect_env.py\n\n      - name: Build and install\n        run: |\n          CC=clang CXX=clang++ python -m pip install -e .[all]\n          python -m detectron2.utils.collect_env\n          ./datasets/prepare_for_tests.sh\n      - name: Run unittests\n        run: python -m pytest -n 4 --durations=15 -sv tests/\n\n  linux_gpu_tests:\n    runs-on: 4-core-ubuntu-gpu-t4\n    # run on PRs, or commits to facebookresearch (not internal)\n    if: ${{ github.repository_owner == 'facebookresearch' || github.event_name == 'pull_request' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        torch: [\"1.13.1\", \"2.2.2\"]\n        include:\n          - torch: \"1.13.1\"\n            torchvision: \"0.14.1\"\n            cuda: \"11-7\"\n          - torch: \"2.2.2\"\n            torchvision: \"0.17.2\"\n            cuda: \"12-5\"\n    env:\n      PYTORCH_INDEX: \"https://download.pytorch.org/whl/cu118\"\n      DETECTRON2_DATASETS: ~/.torch/datasets\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Cache dependencies\n        uses: actions/cache@v2\n        id: load-cache\n        with:\n          path: |\n            ${{ env.pythonLocation }}/lib/python3.8/site-packages\n            ~/.torch\n          key: ${{ runner.os }}-torch-gpu${{ matrix.torch }}-${{ hashFiles('setup.py') }}-20210827\n\n      - name: Install GPU Dependencies\n        uses: ./.github/actions/install_linux_gpu_dep\n        with:\n          cuda-version: ${{matrix.cuda}}\n\n      - name: Install Dependencies\n        uses: ./.github/actions/install_linux_dep\n        if: steps.load-cache.outputs.cache-hit != 'true'\n        with:\n          torch-version: ${{matrix.torch}}\n          torchvision-version: ${{matrix.torchvision}}\n          pytorch-index: $PYTORCH_INDEX\n\n      - name: Install Detectron2\n        uses: ./.github/actions/install_detectron2\n\n      - name: Run Unit Tests\n        uses: ./.github/actions/run_unittests\n\n      - name: Run Tests After Uninstalling\n        uses: ./.github/actions/uninstall_tests\n\n  linux_cpu_tests:\n    runs-on: ubuntu-latest\n    # run on PRs, or commits to facebookresearch (not internal)\n    if: ${{ github.repository_owner == 'facebookresearch' || github.event_name == 'pull_request' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        torch: [\"1.13.1\", \"2.2.2\"]\n        include:\n          - torch: \"1.13.1\"\n            torchvision: \"0.14.1\"\n          - torch: \"2.2.2\"\n            torchvision: \"0.17.2\"\n    env:\n      PYTORCH_INDEX: \"https://download.pytorch.org/whl/cu118\"\n      DETECTRON2_DATASETS: ~/.torch/datasets\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Cache dependencies\n        uses: actions/cache@v2\n        id: load-cache\n        with:\n          path: |\n            ${{ env.pythonLocation }}/lib/python3.8/site-packages\n            ~/.torch\n          key: ${{ runner.os }}-torch${{ matrix.torch }}-${{ hashFiles('setup.py') }}-20210827\n\n      - name: Install Dependencies\n        uses: ./.github/actions/install_linux_dep\n        if: steps.load-cache.outputs.cache-hit != 'true'\n        with:\n          torch-version: ${{matrix.torch}}\n          torchvision-version: ${{matrix.torchvision}}\n          pytorch-index: $PYTORCH_INDEX\n\n      - name: Install Detectron2\n        uses: ./.github/actions/install_detectron2\n\n      - name: Run Unit Tests\n        uses: ./.github/actions/run_unittests\n\n      - name: Run Tests After Uninstalling\n        uses: ./.github/actions/uninstall_tests\n\n  windows_cpu_tests:\n    runs-on: windows-latest\n    # run on PRs, or commits to facebookresearch (not internal)\n    if: ${{ github.repository_owner == 'facebookresearch' || github.event_name == 'pull_request' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        torch: [\"1.13.1\", \"2.2.2\"]\n        include:\n          - torch: \"1.13.1\"\n            torchvision: \"0.14.1\"\n          - torch: \"2.2.2\"\n            torchvision: \"0.17.2\"\n    env:\n      PYTORCH_INDEX: \"https://download.pytorch.org/whl/cu118\"\n      DETECTRON2_DATASETS: ~/.torch/datasets\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Cache dependencies\n        uses: actions/cache@v2\n        id: load-cache\n        with:\n          path: |\n            ${{ env.pythonLocation }}\\Lib\\site-packages\n            ~\\.torch\n          key: ${{ runner.os }}-torch${{ matrix.torch }}-${{ hashFiles('setup.py') }}-20210404\n\n      - name: Install Dependencies\n        uses: ./.github/actions/install_windows_dep\n        if: steps.load-cache.outputs.cache-hit != 'true'\n        with:\n          torch-version: ${{matrix.torch}}\n          torchvision-version: ${{matrix.torchvision}}\n          pytorch-index: $PYTORCH_INDEX\n\n      - name: Install Detectron2\n        uses: ./.github/actions/install_detectron2_win\n\n      - name: Run Unit Tests\n        uses: ./.github/actions/run_unittests_win\n", "state": "active", "repository": "facebookresearch/detectron2"}
{"mined_at": "2024-07-15T15:06:31.514676", "created_at": "2020-06-17T01:38:47+02:00", "updated_at": "2021-06-11T21:04:54+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [dev, master]\n  pull_request:\n    branches: [dev, master]\n\nenv:\n  CXX: g++-9\n  CC: gcc-9\n  # See coveralls-python - Github Actions support:\n  # https://github.com/TheKevJames/coveralls-python/blob/master/docs/usage/configuration.rst#github-actions-support\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  COVERALLS_SERVICE_NAME: github\n\n\njobs:\n  lint:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel 'setuptools!=58.5.*,<60'\n        pip install ruff black mypy nbstripout nbformat\n    - name: Lint\n      run: |\n        make lint\n  docs:\n    runs-on: ubuntu-20.04\n    needs: lint\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test\n          sudo apt-get update\n          sudo apt-get install gcc-9 g++-9 ninja-build graphviz\n          python -m pip install --upgrade pip wheel 'setuptools!=58.5.*,<60'\n          # Keep track of pyro-api master branch\n          pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip\n          pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu\n          pip install .[test]\n          pip install -r docs/requirements.txt\n          pip freeze\n      - name: Build docs and run doctest\n        run: |\n          make docs\n          make doctest\n  tutorials-html:\n    runs-on: ubuntu-20.04\n    needs: lint\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test\n          sudo apt-get update\n          sudo apt-get install gcc-9 g++-9 ninja-build graphviz pandoc\n          python -m pip install --upgrade pip wheel 'setuptools!=58.5.*,<60'\n          # Keep track of pyro-api master branch\n          pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip\n          pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu\n          pip install .[test]\n          pip install -r docs/requirements.txt\n          # requirements for tutorials (from .[dev])\n          sudo apt-get install pandoc\n          pip install nbformat\n          pip install nbsphinx>=0.3.2\n          pip install nbstripout\n          pip install pypandoc\n          pip install ninja\n          pip freeze\n      - name: Build HTML from tutorials\n        run: |\n          SPHINXOPTS=\"-E\" make tutorial\n  unit:\n    runs-on: ubuntu-20.04\n    needs: docs\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test\n          sudo apt-get update\n          sudo apt-get install gcc-9 g++-9 ninja-build\n          python -m pip install --upgrade pip wheel 'setuptools!=58.5.*,<60'\n          # Keep track of pyro-api master branch\n          pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip\n          pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu\n          pip install .[test]\n          pip install --upgrade coveralls\n          pip freeze\n      - name: Run unit tests\n        run: |\n          pytest -vs --cov=pyro --cov-config .coveragerc --stage unit --durations 20\n      - name: Submit to coveralls\n        run: coveralls --service=github || true\n        env:\n          COVERALLS_PARALLEL: true\n          COVERALLS_FLAG_NAME: ${{ matrix.test-name }}\n  examples:\n    runs-on: ubuntu-20.04\n    needs: [docs, tutorials-html]\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup Graphviz\n        uses: ts-graphviz/setup-graphviz@v1\n      - name: Install dependencies\n        run: |\n          sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test\n          sudo apt-get update\n          sudo apt-get install gcc-9 g++-9 ninja-build\n          python -m pip install --upgrade pip wheel 'setuptools!=58.5.*,<60'\n          # Keep track of pyro-api master branch\n          pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip\n          pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu\n          pip install .[test]\n          pip install --upgrade coveralls\n          pip freeze\n      - name: Run examples\n        run: |\n          CI=1 pytest -vs --cov=pyro --cov-config .coveragerc --stage test_examples --durations 10\n          grep -l smoke_test tutorial/source/*.ipynb | xargs grep -L 'smoke_test = False' \\\n                            | CI=1 xargs pytest -vx --nbval-lax --current-env\n      - name: Submit to coveralls\n        run: coveralls --service=github || true\n        env:\n          COVERALLS_PARALLEL: true\n          COVERALLS_FLAG_NAME: ${{ matrix.test-name }}\n  integration_1:\n    runs-on: ubuntu-20.04\n    needs: docs\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test\n          sudo apt-get update\n          sudo apt-get install gcc-9 g++-9 ninja-build\n          python -m pip install --upgrade pip wheel 'setuptools!=58.5.*,<60'\n          # Keep track of pyro-api master branch\n          pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip\n          pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu\n          pip install .[test]\n          pip install --upgrade coveralls\n          pip freeze\n      - name: Run integration test (batch 1)\n        run: |\n          pytest -vs --cov=pyro --cov-config .coveragerc --stage integration_batch_1 --durations 10\n      - name: Submit to coveralls\n        run: coveralls --service=github || true\n        env:\n          COVERALLS_PARALLEL: true\n          COVERALLS_FLAG_NAME: ${{ matrix.test-name }}\n  integration_2:\n    runs-on: ubuntu-20.04\n    needs: docs\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test\n          sudo apt-get update\n          sudo apt-get install gcc-9 g++-9 ninja-build\n          python -m pip install --upgrade pip wheel 'setuptools!=58.5.*,<60'\n          # Keep track of pyro-api master branch\n          pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip\n          pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu\n          pip install .[test]\n          pip install --upgrade coveralls\n          pip freeze\n      - name: Run integration test (batch 2)\n        run: |\n          pytest -vs --cov=pyro --cov-config .coveragerc --stage integration_batch_2 --durations 10\n      - name: Submit to coveralls\n        run: coveralls --service=github || true\n        env:\n          COVERALLS_PARALLEL: true\n          COVERALLS_FLAG_NAME: ${{ matrix.test-name }}\n  funsor:\n    runs-on: ubuntu-20.04\n    needs: docs\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test\n          sudo apt-get update\n          sudo apt-get install gcc-9 g++-9 ninja-build\n          python -m pip install --upgrade pip wheel 'setuptools!=58.5.*,<60'\n          # Keep track of pyro-api master branch\n          pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip\n          pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu\n          pip install .[test]\n          pip install -e .[funsor]\n          pip install --upgrade coveralls\n          pip freeze\n      - name: Run funsor tests\n        run: |\n          pytest -vs --cov=pyro --cov-config .coveragerc --stage funsor --durations 10\n          CI=1 pytest -vs --cov=pyro --cov-config .coveragerc --stage test_examples --durations 10 -k funsor\n      - name: Submit to coveralls\n        run: coveralls --service=github || true\n        env:\n          COVERALLS_PARALLEL: true\n          COVERALLS_FLAG_NAME: ${{ matrix.test-name }}\n  finish:\n    needs: [unit, examples, integration_1, integration_2, funsor]\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Coveralls Finished\n        run: |\n          pip install --upgrade coveralls\n          coveralls --service=github --finish || true\n", "state": "active", "repository": "pyro-ppl/pyro"}
{"mined_at": "2024-07-15T15:06:32.656942", "created_at": "2024-02-15T22:39:21+01:00", "updated_at": "2024-02-15T22:39:21+01:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# GitHub recommends pinning actions to a commit SHA.\n# To get a newer version, you will need to update the SHA.\n# You can also reference a tag or branch, but the action may change without warning.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: python -m build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n", "state": "active", "repository": "pyro-ppl/pyro"}
{"mined_at": "2024-07-15T15:06:33.657547", "created_at": "2024-07-07T18:59:04+02:00", "updated_at": "2024-07-07T18:59:04+02:00", "name": "REUSE Compliance Check", "path": ".github/workflows/reuse.yml", "contents": null, "state": "active", "repository": "pyro-ppl/pyro"}
{"mined_at": "2024-07-15T15:06:35.811523", "created_at": "2024-04-19T15:53:11+02:00", "updated_at": "2024-04-19T16:10:40+02:00", "name": "Cloud API Compatibility", "path": ".github/workflows/api-compatibility-tests.yaml", "contents": "---\nname: Cloud API Compatibility\non:\n  pull_request:\n    paths:\n      - .github/workflows/api-compatibility-tests.yaml\n      - \"**/*.py\"\n      - requirements*.txt\n      - setup.cfg\n      - compat-tests\n  push:\n    branches:\n      - main\n\n# Limit concurrency by workflow/branch combination.\n#\n# For pull request builds, pushing additional changes to the\n# branch will cancel prior in-progress and pending builds.\n#\n# For builds triggered on a branch push, additional changes\n# will wait for prior builds to complete before starting.\n#\n# https://docs.github.com/en/actions/using-jobs/using-concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n  compatibility-tests:\n\n    timeout-minutes: 10\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # Versioneer only generates correct versions with a full fetch\n          fetch-depth: 0\n          persist-credentials: false\n          submodules: true\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        id: setup_python\n        with:\n          python-version: \"3.12\"\n\n      - name: UV Cache\n        # Manually cache the uv cache directory\n        # until setup-python supports it:\n        # https://github.com/actions/setup-python/issues/822\n        uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: uvcache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('requirements-client.txt', 'requirements.txt', 'requirements-dev.txt') }}\n\n      - name: Install packages\n        run: |\n          python -m pip install -U uv\n          uv pip install --upgrade --system -e .[dev] 'pydantic>=2.4,<3'\n\n      - name: Create Cloud OpenAPI JSON\n        working-directory: compat-tests\n        run: curl https://api.prefect.cloud/api/openapi.json > cloud_schema.json\n\n      - name: Create OSS OpenAPI JSON\n        working-directory: compat-tests\n        run: python ../scripts/generate_oss_openapi_schema.py\n\n      - name: Run API compatibility tests\n        working-directory: compat-tests\n        run: pytest -vv\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:37.066144", "created_at": "2022-11-16T21:28:46+01:00", "updated_at": "2024-02-07T21:19:32+01:00", "name": "Benchmarks", "path": ".github/workflows/benchmarks.yaml", "contents": "name: Benchmarks\n\nenv:\n  PY_COLORS: 1\n\non:\n  pull_request:\n    paths:\n      - .github/workflows/benchmarks.yaml\n      - .github/workflows/python-tests.yaml\n      - \"src/prefect/**/*.py\"\n      - requirements.txt\n      - requirements-dev.txt\n      - setup.cfg\n      - Dockerfile\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n  run-benchmarks:\n    name: Benchmark\n    # Runs with ephemeral API and SQLite database right now\n\n    runs-on:\n      group: oss-larger-runners\n    timeout-minutes: 20\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Set up Docker Buildx\n        if: ${{ matrix.build-docker-images }}\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: image=moby/buildkit:v0.12.5\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: UV Cache\n        uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: uvcache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('requirements-client.txt', 'requirements.txt', 'requirements-dev.txt') }}\n\n\n      - name: Install packages\n        run: |\n          python -m pip install -U uv\n          uv pip install --upgrade --system -e .[dev]\n\n      - name: Prepare benchmark comparisons\n        # Note: We use a \"cache\" instead of artifacts because artifacts are not available\n        #       across workflow runs.\n        id: bench-cache\n        uses: actions/cache@v4\n        with:\n          path: ./.benchmarks\n          # Pushes benchmark results for this branch and sha, this will always be a cache miss\n          # and `restore-keys` will be used to get the benchmarks for comparison\n          key: ${{ runner.os }}-${{ github.head_ref || 'main' }}-${{ github.sha }}\n          # Pulls benchmark results for the base branch\n          restore-keys: |\n            ${{ runner.os }}-${{ github.base_ref }}-\n            ${{ runner.os }}-main-\n\n      - name: Start server\n        run: |\n          prefect server start&\n          PREFECT_API_URL=\"http://127.0.0.1:4200/api\" ./scripts/wait-for-server.py\n\n          # TODO: Replace `wait-for-server` with dedicated command\n          #       https://github.com/PrefectHQ/prefect/issues/6990\n\n      - name: Run benchmarks\n        env:\n          HEAD_REF: ${{ github.head_ref }}\n          GITHUB_SHA: ${{ github.sha }}\n        # Includes comparison to previous benchmarks if available\n        run: |\n          if [[ -z \"$HEAD_REF\" ]]; then\n            # HEAD_REF is unset or empty, use 'main' with the SHA\n            uniquename=\"main-$GITHUB_SHA\"\n          else\n            # HEAD_REF is set, use the branch name directly\n            uniquename=\"$HEAD_REF\"\n          fi\n\n          # Allow alphanumeric, underscores, and dashes, and replace other\n          # characters with an underscore\n          sanitized_uniquename=\"${uniquename//[^a-zA-Z0-9_\\-]/_}\"\n\n          PREFECT_API_URL=\"http://127.0.0.1:4200/api\"\n          python benches \\\n          --timeout=180 \\\n          --benchmark-save=\"${sanitized_uniquename}\" \\\n          ${{ steps.bench-cache.outputs.cache-hit && '--benchmark-compare' || '' }}\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:38.295880", "created_at": "2023-04-19T16:38:19+02:00", "updated_at": "2024-05-15T22:54:27+02:00", "name": "Update Docs", "path": ".github/workflows/build-docs.yaml", "contents": null, "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:39.524275", "created_at": "2020-09-09T14:54:24+02:00", "updated_at": "2024-02-07T21:19:32+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches:\n      - main\n\n  pull_request:\n    branches:\n      - main\n    paths:\n      - .github/workflows/codeql-analysis.yaml\n      - \"**/*.py\"\n      - \"**/*.js\"\n      - \"**/*.ts\"\n      - requirements.txt\n      - requirements-dev.txt\n      - setup.cfg\n      - alembic.ini\n\n  schedule:\n    #        ┌───────────── minute (0 - 59)\n    #        │  ┌───────────── hour (0 - 23)\n    #        │  │  ┌───────────── day of the month (1 - 31)\n    #        │  │  │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │  │  │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │  │  │ │ │\n    #        │  │  │ │ │\n    #        │  │  │ │ │\n    - cron: \"30 20 * * 0\"\n\n# Limit concurrency by workflow/branch combination.\n#\n# For pull request builds, pushing additional changes to the\n# branch will cancel prior in-progress and pending builds.\n#\n# For builds triggered on a branch push, additional changes\n# will wait for prior builds to complete before starting.\n#\n# https://docs.github.com/en/actions/using-jobs/using-concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\n# Do not grant jobs any permissions by default\npermissions: {}\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      # required to clone the repository\n      contents: read\n      # required for CodeQL since we're using a private repository\n      actions: read\n      security-events: write\n\n    strategy:\n      fail-fast: true\n      matrix:\n        language:\n          - javascript\n          - python\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          config-file: ./.github/codeql-config.yml\n          queries: security-extended\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:40.987441", "created_at": "2024-07-10T18:33:40+02:00", "updated_at": "2024-07-11T16:42:06+02:00", "name": "CodSpeed Benchmarks", "path": ".github/workflows/codspeed-benchmarks.yaml", "contents": null, "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:42.072169", "created_at": "2024-04-19T23:07:22+02:00", "updated_at": "2024-04-19T23:07:22+02:00", "name": "Create tags for changed integrations", "path": ".github/workflows/create-tags-for-changed-integrations.yaml", "contents": "name: Create tags for changed integrations\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  create-integrations-tags:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      \n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -U packaging gh-util\n\n      - name: Get previous tag\n        id: get-previous-tag\n        run: echo \"tag=$(git tag --list '[0-9]*' --sort=-version:refname | grep -v '2.82' | head -n 2 | tail -n 1)\" >> $GITHUB_OUTPUT\n\n      - name: Push tags for changed integrations\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PREVIOUS_TAG: ${{ steps.get-previous-tag.outputs.tag }}\n          CURRENT_COMMIT: ${{ github.sha }}\n\n        run: python scripts/create_tags_for_changed_collections.py", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:43.072017", "created_at": "2023-02-24T17:06:30+01:00", "updated_at": "2023-03-16T16:50:29+01:00", "name": "Docker images", "path": ".github/workflows/docker-images.yaml", "contents": "name: Docker images\n\non:\n  # On release events (also when a published release is converted from/to prerelease), push all patterns\n  release:\n    types: [released, prereleased]\n  # On each commit merged into main, push sha and branch patterns to prefect-dev\n  push:\n    branches: [main]\n    paths:\n      - \"Dockerfile\"\n      - \".dockerignore\"\n      - \"setup.py\"\n      - \"src/**\"\n      - \"tests/**\"\n      - \"requirements.txt\"\n      - \"requirements-client.txt\"\n      - \"MANIFEST.in\"\n      - \"setup.cfg\"\n      - \"versioneer.py\"\n      - \".gitingore\"\n      - \".gitattributes\"\n      - \".github/workflows/docker-images.yaml\"\n      - \"ui/**\"\n\n  # On workflow_dispatch, push sha and branch patterns to prefect-dev\n  workflow_dispatch:\n\njobs:\n  publish-docker-images:\n    name: Build and publish to DockerHub\n    runs-on: ubuntu-latest\n    environment: ${{ github.event_name == 'release' && github.event.release.prerelease && 'pre-release' || github.event_name == 'release' && 'prod' || 'dev' }}\n    strategy:\n      matrix:\n        flavor:\n          - \"\"\n          - \"-conda\"\n          - \"-kubernetes\"\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n    steps:\n      - name: Validate Prerelease Tag\n        if: ${{ github.event_name == 'release' && github.event.release.prerelease == true }}\n        run: |\n          TAG_NAME=${{ github.ref }}\n          if [[ ! \"$TAG_NAME\" =~ ^refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+[a-zA-Z0-9]+$ ]]; then\n            echo \"Error: Tag $TAG_NAME does not match prerelease version pattern.\"\n            exit 1\n          fi\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: image=moby/buildkit:v0.12.5\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Generate tags for prefecthq/prefect-dev\n        id: metadata-dev\n        uses: docker/metadata-action@v5\n        # do not generate the development tags on release events\n        if: ${{ github.event_name != 'release' }}\n        with:\n          images: prefecthq/prefect-dev\n          tags: |\n            type=raw,value=${{ github.ref_name }},suffix=-python${{ matrix.python-version }}${{ matrix.flavor }}\n            type=sha,suffix=-python${{ matrix.python-version }}${{ matrix.flavor }}\n          flavor: |\n            latest=false\n\n      - name: Determine latest tag\n        # https://stackoverflow.com/a/75079768/5511061\n        run: |\n          echo \"LATEST_TAG=$(curl -qsSL \\\n            -H \"Accept: application/vnd.github+json\" \\\n            -H \"Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}\" \\\n            -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n            \"${{ github.api_url }}/repos/${{ github.repository }}/releases/latest\" \\\n          | jq -r .tag_name)\" >> $GITHUB_ENV\n\n      - name: Generate tags for prefecthq/prefect\n        id: metadata-prod\n        uses: docker/metadata-action@v5\n        # only generate the production tags on release events\n        if: ${{ github.event_name == 'release' }}\n        with:\n          images: prefecthq/prefect\n          # push `latest`, `X.Y` and `X` tags only when the release is not marked as prerelease\n          # push `latest` and `X` tags only when the release is marked as latest\n          tags: |\n            type=pep440,pattern={{version}},suffix=-python${{ matrix.python-version }}${{ matrix.flavor }}\n            type=pep440,pattern={{major}}.{{minor}},suffix=-python${{ matrix.python-version }}${{ matrix.flavor }},enable=${{ github.event.release.prerelease == false }}\n            type=pep440,pattern={{major}},suffix=-python${{ matrix.python-version }}${{ matrix.flavor }},enable=${{ github.event.release.prerelease == false && github.ref_name == env.LATEST_TAG }}\n            type=raw,value=3-latest${{ matrix.flavor }},enable=${{ matrix.python-version == '3.10' && github.event.release.prerelease == false && github.ref_name == env.LATEST_TAG }}\n          flavor: |\n            latest=false\n\n      - name: Build and push image\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          build-args: |\n            PYTHON_VERSION=${{ matrix.python-version }}\n            ${{ ( endsWith(matrix.flavor, 'conda') && 'BASE_IMAGE=prefect-conda' ) || '' }}\n            ${{ ( endsWith(matrix.flavor, 'kubernetes') && 'PREFECT_EXTRAS=[kubernetes]' ) || '' }}\n          tags: ${{ join(steps.metadata-dev.outputs.tags) }},${{ join(steps.metadata-prod.outputs.tags) }}\n          labels: ${{ steps.metadata-dev.outputs.labels }}\n          push: true\n          pull: true\n          provenance: false\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:44.245657", "created_at": "2023-03-13T20:26:27+01:00", "updated_at": "2023-03-16T21:01:26+01:00", "name": "Create prefect-helm release", "path": ".github/workflows/helm-chart-release.yaml", "contents": "name: Create prefect-helm release\n\non:\n  # As soon as this repo creates an official release, we will\n  # create a corresponding release in the helm chart repo\n  release:\n    types: [released]\n\njobs:\n  create_helm_release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create prefect-helm release\n        run: |\n          gh workflow run helm-release.yaml \\\n            --repo PrefectHQ/prefect-helm \\\n            --ref main\n        env:\n          GH_TOKEN: ${{ secrets.PREFECT_HELM_ACTIONS_RW }}\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:45.349132", "created_at": "2024-04-18T21:40:28+02:00", "updated_at": "2024-06-06T22:24:36+02:00", "name": "Integrations Packages Tests", "path": ".github/workflows/integration-pacakge-tests.yaml", "contents": null, "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:46.486031", "created_at": "2024-04-22T20:37:47+02:00", "updated_at": "2024-04-22T20:37:47+02:00", "name": "Publish integration package to PyPI", "path": ".github/workflows/integration-package-release.yaml", "contents": "name: Publish integration package to PyPI\n\non:\n  push:\n    tags:\n      - \"prefect-\\\\w+-[0-9]+.*\"\n\njobs:\n  build-pypi-dists:\n    name: Build Python package\n    runs-on: ubuntu-latest\n    outputs:\n      PACKAGE_NAME: ${{ steps.package_name.outputs.PACKAGE_NAME }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.commit }}\n          fetch-depth: 0\n          persist-credentials: false\n\n      - name: Extract package name\n        id: package_name\n        run: |\n          TAG_NAME=${{ github.ref_name }}\n          PACKAGE_NAME=$(echo $TAG_NAME | sed 's/-[0-9][.0-9]*rc.*$//')\n          echo \"PACKAGE_NAME=$PACKAGE_NAME\" >> $GITHUB_OUTPUT\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements*.txt\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade build\n        working-directory: src/integrations/${{ steps.package_name.outputs.PACKAGE_NAME }}\n\n      - name: Build a binary wheel and a source tarball\n        run: |\n          python -m build --wheel\n          python -m build --sdist\n        working-directory: src/integrations/${{ steps.package_name.outputs.PACKAGE_NAME }}\n\n      - name: Publish build artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ steps.package_name.outputs.PACKAGE_NAME }}-pypi-dists\n          path: \"./src/integrations/${{ steps.package_name.outputs.PACKAGE_NAME }}/dist\"\n\n  publish-pypi-dists:\n    name: Publish to PyPI\n    environment: \"prod\"\n    needs: build-pypi-dists\n    runs-on: ubuntu-latest\n    permissions:\n      # this permission is mandatory for trusted publishing\n      id-token: write\n\n    steps:\n      - name: Download build artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ needs.build-pypi-dists.outputs.PACKAGE_NAME}}-pypi-dists\n          path: \"./dist\"\n\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:47.685687", "created_at": "2024-05-30T17:41:06+02:00", "updated_at": "2024-05-30T19:40:29+02:00", "name": "Integrations Packages Tests", "path": ".github/workflows/integration-package-tests.yaml", "contents": "name: Integrations Packages Tests\n\non:\n  pull_request:\n    paths:\n      - .github/workflows/integration-package-tests.yaml\n      - \"src/**/*.py\"\n      - \"src/integrations/**/*\"\n    types: [opened, reopened, synchronize, labeled, unlabeled]\n  push:\n    branches:\n      - main\n    paths:\n      - \"src/integrations/**/*\"\n\njobs:\n  prepare-matrix:\n    # These tests will only run if the integration paths are affected, or someone has\n    # added the `integrations` label to the PR\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - name: Generate matrix\n        id: set-matrix\n        run: |\n          if [[ \"${{ contains(github.event.pull_request.labels.*.name, 'test-all-integrations') }}\" == 'true' ]]; then\n            # All of the integration packages were changed since 2.19.2, so this is a\n            # standin for saying \"all integrations\"\n            COMMIT_RANGE=\"2.19.2..${{ github.event.pull_request.head.sha }}\"\n          elif [[ $GITHUB_EVENT_NAME == 'pull_request' ]]; then\n            COMMIT_RANGE=\"${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}\"\n          else\n            COMMIT_RANGE=\"${{ github.event.before }}..${{ github.event.after }}\"\n          fi\n          python scripts/generate_integration_package_tests_matrix.py \"$COMMIT_RANGE\" > matrix.json\n          cat matrix.json\n          echo \"matrix=$(cat matrix.json)\" >> $GITHUB_OUTPUT\n\n  run-tests:\n    timeout-minutes: 20\n\n    name: Run Tests for ${{ matrix.package }} on Python ${{ matrix.python-version }}\n    needs: prepare-matrix\n    runs-on: ubuntu-latest\n    strategy:\n      matrix: ${{fromJson(needs.prepare-matrix.outputs.matrix)}}\n      fail-fast: false\n    steps:\n      - name: Display current test matrix\n        run: echo '${{ toJSON(matrix) }}'\n\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        id: setup_python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: UV Cache\n        # Manually cache the uv cache directory\n        # until setup-python supports it:\n        # https://github.com/actions/setup-python/issues/822\n        uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: uvcache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles(format('src/integrations/{0}/pyproject.toml', matrix.package)) }}\n\n      - name: Install dependencies\n        working-directory: src/integrations/${{ matrix.package }}\n        # install uv, the package, and bleeding edge prefect\n        run: |\n          python -m pip install -U uv\n          uv pip install --upgrade --system -e .[dev]\n          uv pip install --upgrade --system -e ../../../\n\n      - name: Build dev docker image\n        if: matrix.package == 'prefect-docker'\n        run : prefect dev build-image\n\n      - name: Run tests\n        if: matrix.package != 'prefect-ray'\n        env:\n          PREFECT_API_DATABASE_CONNECTION_URL: \"sqlite+aiosqlite:///./orion-tests.db\"\n        working-directory: src/integrations/${{ matrix.package }}\n        run: >\n          pytest tests\n          --numprocesses auto\n          --maxprocesses 6\n          --dist worksteal\n\n      # Run prefect-ray tests sequentially to avoid Ray cluster issues\n      - name: Run tests for prefect-ray\n        if: matrix.package == 'prefect-ray'\n        env:\n          PREFECT_API_DATABASE_CONNECTION_URL: \"sqlite+aiosqlite:///./orion-tests.db\"\n        working-directory: src/integrations/${{ matrix.package }}\n        run: >\n          pytest tests\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:48.731778", "created_at": "2022-09-27T18:25:17+02:00", "updated_at": "2024-05-16T23:10:52+02:00", "name": "Integration tests", "path": ".github/workflows/integration-tests.yaml", "contents": "name: Integration tests\non:\n  pull_request:\n    paths:\n      - .github/workflows/integration-tests.yaml\n      - \"src/prefect/**/*.py\"\n      - requirements.txt\n      - requirements-client.txt\n      - requirements-dev.txt\n      - ui/**\n      - .nvmrc\n      - Dockerfile\n      - flows/*\n  push:\n    branches:\n      - main\n    paths:\n      - .github/workflows/integration-tests.yaml\n      - \"**/*.py\"\n      - requirements.txt\n      - requirements-client.txt\n      - requirements-dev.txt\n      - ui/**\n      - .nvmrc\n      - Dockerfile\n\njobs:\n  compatibility-tests:\n    name: Integration tests @${{ matrix.server-version.version }}\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        server-version: [\n          # These versions correspond to Prefect image tags, the patch version is\n          # excluded to always pull the latest patch of each minor version.  The ref\n          # should generally be set to the latest patch release for that version.\n          {version: \"2.19\", ref: \"2.19.2\", image: \"prefecthq/prefect:2.19-python3.10\"},\n          {version: \"main\", ref: \"main\"},\n        ]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        id: setup_python\n        with:\n          python-version: \"3.10\"\n\n      - name: UV Cache\n        # Manually cache the uv cache directory\n        # until setup-python supports it:\n        # https://github.com/actions/setup-python/issues/822\n        uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: uvcache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('requirements-client.txt', 'requirements.txt', 'requirements-dev.txt') }}\n\n      - name: Install python packages\n        run: |\n          python -m pip install -U uv\n          uv pip install --upgrade --system .\n\n      - name: Start server@${{ matrix.server-version.version }}\n        if: ${{ matrix.server-version.version != 'main' }}\n        env:\n          PREFECT_API_URL: http://127.0.0.1:4200/api\n          PREFECT_LOGGING_SERVER_LEVEL: DEBUG\n          PREFECT_EXPERIMENTAL_EVENTS: \"true\"\n        run: >\n          docker run \\\n            --name \"prefect-server\" \\\n            -d \\\n            -p 4200:4200 \\\n            -e PREFECT_API_URL=${{ env.PREFECT_API_URL }} \\\n            -e PREFECT_LOGGING_SERVER_LEVEL=${{ env.PREFECT_LOGGING_SERVER_LEVEL }} \\\n            -e PREFECT_EXPERIMENTAL_EVENTS=${{ env.PREFECT_EXPERIMENTAL_EVENTS }} \\\n            ${{ matrix.server-version.image }} \\\n            prefect server start --analytics-off --host 0.0.0.0\n\n          ./scripts/wait-for-server.py\n\n          # TODO: Replace `wait-for-server` with dedicated command\n          #       https://github.com/PrefectHQ/prefect/issues/6990\n\n      - name: Start server\n        if: ${{ matrix.server-version.version == 'main' }}\n        env:\n          PREFECT_API_URL: http://127.0.0.1:4200/api\n          PREFECT_LOGGING_SERVER_LEVEL: DEBUG\n        run: >\n          prefect server start --analytics-off --host 0.0.0.0 2>&1 > server.log &\n\n          ./scripts/wait-for-server.py\n\n          # TODO: Replace `wait-for-server` with dedicated command\n          #       https://github.com/PrefectHQ/prefect/issues/6990\n\n      - name: Run integration flows\n        env:\n          PREFECT_API_URL: http://127.0.0.1:4200/api\n          SERVER_VERSION: ${{ matrix.server-version.version }}\n        run: >\n          ./scripts/run-integration-flows.py flows/\n\n      - name: Show server logs\n        if: always()\n        run: |\n          cat server.log || echo \"No logs available\"\n          docker logs prefect-server || echo \"No logs available\"\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:49.968035", "created_at": "2023-01-27T20:02:06+01:00", "updated_at": "2023-03-16T17:59:13+01:00", "name": "Issue bot", "path": ".github/workflows/issue-bot.yaml", "contents": "name: Issue bot\n\non:\n  issues:\n    types: [closed, assigned, unassigned, labeled]\n\njobs:\n  remove_label:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Remove status labels on close\n        if: github.event.action == 'closed'\n        run: gh issue edit --repo prefecthq/prefect ${{ github.event.issue.number }} --remove-label \"needs:triage\" --remove-label \"needs:attention\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:51.196647", "created_at": "2024-07-03T18:56:24+02:00", "updated_at": "2024-07-03T19:12:42+02:00", "name": "Ensure PR Label", "path": ".github/workflows/label-check.yml", "contents": null, "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:52.311537", "created_at": "2024-06-28T21:46:00+02:00", "updated_at": "2024-06-28T21:46:00+02:00", "name": "Check PR Labels", "path": ".github/workflows/label-checker.yaml", "contents": null, "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:53.552502", "created_at": "2022-03-01T01:35:40+01:00", "updated_at": "2023-03-16T16:47:01+01:00", "name": "Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: Labeler\n\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write\n    steps:\n      - uses: actions/labeler@v5\n        with:\n          repo-token: \"${{ github.token }}\"\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:54.660139", "created_at": "2024-06-07T20:41:56+02:00", "updated_at": "2024-06-07T20:43:03+02:00", "name": "Markdown tests", "path": ".github/workflows/markdown-tests.yaml", "contents": null, "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:55.711451", "created_at": "2024-01-17T00:05:38+01:00", "updated_at": "2024-01-17T00:05:38+01:00", "name": "Update to latest Prefect Packages", "path": ".github/workflows/npm_update_latest_prefect.yaml", "contents": "---\n  name: Update to latest Prefect Packages\n  on:\n    workflow_dispatch:\n      inputs:\n        package_name:\n          description: The name of the Prefect package to update\n          required: true\n        package_version:\n          description: The version of the Prefect package to update\n          required: true\n  permissions: {} \n  \n  jobs:\n    update_prefect_packages:\n      runs-on: ubuntu-latest\n      permissions:\n        # required to write to the repo\n        contents: write\n      steps:\n        - uses: actions/checkout@v4\n  \n        - name: Configure Git\n          run: |\n            git config user.name \"$GITHUB_ACTOR\"\n            git config user.email \"$GITHUB_ACTOR@users.noreply.github.com\"\n  \n        - name: Create Branch For Dependency Version Updates\n          run: git checkout -b \"prefect-package-${{ inputs.package_name }}-${{ inputs.package_version }}-update\"\n  \n        - name: Setup NodeJS \n          uses: actions/setup-node@v4\n          with:\n            node-version-file: \".nvmrc\"\n            cache-dependency-path: \"**/package-lock.json\"\n  \n        - name: Install Dependencies\n          run: npm ci\n          working-directory: ./ui\n  \n        - name: Upgrade Package\n          run: |\n            npm i @${{ inputs.package_name }}@${{ inputs.package_version }} --save-exact\n          working-directory: ./ui\n  \n        - name: Commit Package Changes\n          run: |\n            git add .\n            git commit -m \"Update @${{ inputs.package_name }} to version ${{ inputs.package_version }}\"\n            git push --set-upstream origin \"prefect-package-${{ inputs.package_name }}-${{ inputs.package_version }}-update\"\n          env:\n            GITHUB_TOKEN: ${{ github.token }}\n        \n        - name: Create Pull Request\n          run: |\n            git checkout \"prefect-package-${{ inputs.package_name }}-${{ inputs.package_version }}-update\"\n            gh pr create \\\n            --base main \\\n            --title \"Update @${{ inputs.package_name }} to version ${{ inputs.package_version }}\" \\\n            --body \"Update @${{ inputs.package_name }} to version ${{ inputs.package_version }}.\n            Release information can be found at https://github.com/${{ inputs.package_name }}/releases/tag/${{ inputs.package_version }}.\" \\\n            --label maintenance \\\n            --label ui\n          env:\n            GITHUB_TOKEN: ${{ secrets.PREFECT_CONTENTS_PR_RW }}\n  ", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:56.827673", "created_at": "2023-10-19T22:17:20+02:00", "updated_at": "2023-10-24T16:43:44+02:00", "name": "Build and publish the prefect-client", "path": ".github/workflows/prefect-client-publish.yaml", "contents": "name: Build and publish the prefect-client\n\non:\n  release:\n    types: [released, prereleased]\n\njobs:\n  verify-prefect-client-build:\n    uses: ./.github/workflows/prefect-client.yaml\n    with:\n      upload-artifacts: true\n      artifact-name: \"prefect-client-pypi-dists\"\n    secrets: inherit\n\n  publish-prefect-client-pypi-dists:\n    name: Publish to PyPI\n    environment: ${{ github.event.release.prerelease && 'pre-release' || 'prod' }}\n    needs: [verify-prefect-client-build]\n    runs-on: ubuntu-latest\n    permissions:\n      # this permission is mandatory for trusted publishing\n      id-token: write\n\n    steps:\n      - name: Validate Prerelease Tag\n        if: ${{ github.event_name == 'release' && github.event.release.prerelease == true }}\n        run: |\n          TAG_NAME=${{ github.ref }}\n          if [[ ! \"$TAG_NAME\" =~ ^refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+[a-zA-Z0-9]+$ ]]; then\n            echo \"Error: Tag $TAG_NAME does not match prerelease version pattern.\"\n            exit 1\n          fi\n      - name: Download build artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: \"prefect-client-pypi-dists\"\n          path: \"./dist\"\n\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:57.937868", "created_at": "2023-10-19T00:11:45+02:00", "updated_at": "2023-10-24T16:43:44+02:00", "name": "Verify prefect-client build", "path": ".github/workflows/prefect-client.yaml", "contents": "name: Verify prefect-client build\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - client/*\n      - src/prefect/**/*.py\n      - requirements.txt\n      - requirements-client.txt\n      - setup.cfg\n  push:\n    branches:\n      - main\n    paths:\n      - client/*\n      - src/prefect/**/*.py\n      - requirements.txt\n      - requirements-client.txt\n      - setup.cfg\n  workflow_call:\n    inputs:\n      upload-artifacts:\n        description: \"Whether or not to upload artifacts created in this workflow\"\n        default: false\n        type: boolean\n      artifact-name:\n        description: \"The name for the build prefect-client artifact\"\n        default: \"prefect-client-pypi-dists\"\n        type: string\n\njobs:\n  prefect-client-smoke-test:\n    name: Build and run prefect-client\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # Versioneer only generates correct versions with a full fetch\n          fetch-depth: 0\n          persist-credentials: false\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements-client.txt\"\n\n      - name: Create a temp dir to stage our build\n        run: echo \"TMPDIR=$(mktemp -d)\" >> $GITHUB_ENV\n\n      - name: Prepare files for prefect-client build (omit the local build)\n        run: sh client/build_client.sh\n        env:\n          TMPDIR: ${{ env.TMPDIR }}\n\n      - name: Build a binary wheel and a source tarball\n        run: pip install wheel && python setup.py sdist bdist_wheel\n        working-directory: ${{ env.TMPDIR }}\n\n      - name: Install the built client from the locally built package\n        run: pip install dist/*.tar.gz\n        working-directory: ${{ env.TMPDIR }}\n\n      - name: Run the smoke test flow using the built client\n        run: python client/client_flow.py\n        working-directory: ${{ env.TMPDIR }}\n        env:\n          PREFECT_API_KEY: ${{ secrets.PREFECT_CLIENT_SA_API_KEY }}\n          PREFECT_API_URL: \"https://api.prefect.cloud/api/accounts/9b649228-0419-40e1-9e0d-44954b5c0ab6/workspaces/96bd3cf8-85c9-4545-9713-b4e3c3e03466\" # sandbox, prefect-client workspace\n\n      - name: Install prefect from source\n        run: pip install .\n\n      - name: (DEBUG) Check that prefect and prefect-client are installed\n        run: pip list | grep prefect\n\n      - name: Run the smoke test flow again with prefect and prefect-client installed\n        run: python client/client_flow.py\n        working-directory: ${{ env.TMPDIR }}\n        env:\n          PREFECT_API_KEY: ${{ secrets.PREFECT_CLIENT_SA_API_KEY }}\n          PREFECT_API_URL: \"https://api.prefect.cloud/api/accounts/9b649228-0419-40e1-9e0d-44954b5c0ab6/workspaces/96bd3cf8-85c9-4545-9713-b4e3c3e03466\" # sandbox, prefect-client workspace\n\n      - name: Publish build artifacts\n        if: ${{ inputs.upload-artifacts }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ inputs.artifact-name }}\n          path: \"${{ env.TMPDIR }}/dist\"\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:06:58.942535", "created_at": "2024-05-01T07:11:25+02:00", "updated_at": "2024-05-01T07:11:25+02:00", "name": "Verify prefect-client build", "path": ".github/workflows/prefect-client.yml", "contents": null, "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:07:00.053550", "created_at": "2023-02-24T17:06:30+01:00", "updated_at": "2023-03-16T21:01:26+01:00", "name": "Publish Python package", "path": ".github/workflows/python-package.yaml", "contents": "name: Publish Python package\n\non:\n  release:\n    types: [released, prereleased]\n  workflow_dispatch:\n    inputs:\n      commit:\n        description: \"Commit to build from\"\n        required: true\n        default: \"main\"\n\njobs:\n  build-pypi-dists:\n    name: Build Python package\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.commit }}\n          # Versioneer only generates correct versions with a full fetch\n          fetch-depth: 0\n          persist-credentials: false\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements*.txt\"\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version-file: \".nvmrc\"\n          cache-dependency-path: \"**/package-lock.json\"\n\n      - name: Install python packages\n        run: |\n          python -m pip install --upgrade pip wheel\n          pip install --upgrade --upgrade-strategy eager -e .[dev]\n\n      - name: Build UI\n        run: |\n          prefect dev build-ui\n\n      - name: Build a binary wheel and a source tarball\n        run: |\n          python setup.py sdist bdist_wheel\n\n      - name: Publish build artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: pypi-dists\n          path: \"./dist\"\n\n  publish-pypi-dists:\n    name: Publish to PyPI\n    environment: ${{ github.event.release.prerelease && 'pre-release' || 'prod' }}\n    needs: [build-pypi-dists]\n    runs-on: ubuntu-latest\n    permissions:\n      # this permission is mandatory for trusted publishing\n      id-token: write\n\n    steps:\n      - name: Validate Prerelease Tag\n        if: ${{ github.event_name == 'release' && github.event.release.prerelease == true }}\n        run: |\n          TAG_NAME=${{ github.ref }}\n          if [[ ! \"$TAG_NAME\" =~ ^refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+[a-zA-Z0-9]+$ ]]; then\n            echo \"Error: Tag $TAG_NAME does not match prerelease version pattern.\"\n            exit 1\n          fi\n\n      - name: Download build artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: pypi-dists\n          path: \"./dist\"\n\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:07:01.233776", "created_at": "2022-02-16T22:48:04+01:00", "updated_at": "2024-04-05T23:03:30+02:00", "name": "Unit tests", "path": ".github/workflows/python-tests.yaml", "contents": "name: Unit tests\n\nenv:\n  # enable colored output\n  # https://github.com/pytest-dev/pytest/issues/7443\n  PY_COLORS: 1\n\non:\n  pull_request:\n    paths:\n      - .github/workflows/python-tests.yaml\n      - \"src/prefect/**/*.py\"\n      - \"tests/**/*.py\"\n      - requirements.txt\n      - requirements-client.txt\n      - requirements-dev.txt\n      - setup.cfg\n      - Dockerfile\n  push:\n    branches:\n      - main\n    paths:\n      - .github/workflows/python-tests.yaml\n      - \"src/prefect/**/*.py\"\n      - \"tests/**/*.py\"\n      - requirements.txt\n      - requirements-client.txt\n      - requirements-dev.txt\n      - setup.cfg\n      - Dockerfile\n\npermissions:\n  contents: read\n\n# Limit concurrency by workflow/branch combination.\n#\n# For pull request builds, pushing additional changes to the\n# branch will cancel prior in-progress and pending builds.\n#\n# For builds triggered on a branch push, additional changes\n# will wait for prior builds to complete before starting.\n#\n# https://docs.github.com/en/actions/using-jobs/using-concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n  run-tests:\n    runs-on:\n      group: oss-larger-runners\n    name: python:${{ matrix.python-version }}, ${{ matrix.database }}\n    strategy:\n      matrix:\n        database:\n          - \"postgres:14\"\n          - \"sqlite\"\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n      fail-fast: true\n\n    timeout-minutes: 20\n\n    steps:\n      - name: Display current test matrix\n        run: echo '${{ toJSON(matrix) }}'\n\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        id: setup_python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: UV Cache\n        # Manually cache the uv cache directory\n        # until setup-python supports it:\n        # https://github.com/actions/setup-python/issues/822\n        uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: uvcache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('requirements-client.txt', 'requirements.txt', 'requirements-dev.txt') }}\n\n      - name: Install packages\n        run: |\n          python -m pip install -U uv\n          uv pip install --upgrade --system -e .[dev]\n\n      - name: Start database container\n        if: ${{ startsWith(matrix.database, 'postgres') }}\n        run: >\n          docker run\n          --name \"postgres\"\n          --detach\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n          --publish 5432:5432\n          --tmpfs /var/lib/postgresql/data\n          --env POSTGRES_USER=\"prefect\"\n          --env POSTGRES_PASSWORD=\"prefect\"\n          --env POSTGRES_DB=\"prefect\"\n          --env LANG=\"C.UTF-8\"\n          --env LANGUAGE=\"C.UTF-8\"\n          --env LC_ALL=\"C.UTF-8\"\n          --env LC_COLLATE=\"C.UTF-8\"\n          --env LC_CTYPE=\"C.UTF-8\"\n          ${{ matrix.database }}\n          -c max_connections=250\n\n          ./scripts/wait-for-healthy-container.sh postgres 30\n\n          echo \"PREFECT_API_DATABASE_CONNECTION_URL=postgresql+asyncpg://prefect:prefect@localhost/prefect\" >> $GITHUB_ENV\n\n      - name: Start redis\n        run: >\n          docker run\n          --name \"redis\"\n          --detach\n          --publish 6379:6379\n          redis:latest\n\n        # Parallelize tests by scope to reduce expensive service fixture duplication\n        # Do not allow the test suite to build images, as we want the prebuilt images to be tested\n        # Do not run Kubernetes service tests, we do not have a cluster available\n        # maxprocesses 6 is based on empirical testing; higher than 6 sees diminishing returns\n      - name: Run tests\n        env:\n          PREFECT_EXPERIMENTAL_ENABLE_PYDANTIC_V2_INTERNALS: \"1\"\n        run: >\n          pytest tests\n          --numprocesses auto\n          --maxprocesses 6\n          --dist worksteal\n          --disable-docker-image-builds\n          --exclude-service kubernetes\n          --exclude-service docker\n          --durations 26\n          --no-cov\n\n      - name: Create and Upload failure flag\n        if: ${{ failure() }}\n        id: create_failure_flag\n        run: |\n          sanitized_name=\"${{ matrix.python-version }}-${{ matrix.database }}\"\n          sanitized_name=\"${sanitized_name//:/-}\"\n          echo \"Failure in $sanitized_name\" > \"${sanitized_name}-failure.txt\"\n          echo \"artifact_name=${sanitized_name}-failure\" >> $GITHUB_OUTPUT\n\n      - name: Upload failure flag\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ steps.create_failure_flag.outputs.artifact_name }}\n          path: \"${{ steps.create_failure_flag.outputs.artifact_name }}.txt\"\n\n      - name: Check database container\n        # Only applicable for Postgres, but we want this to run even when tests fail\n        if: always()\n        run: >\n          docker container inspect postgres\n          && docker container logs postgres\n          || echo \"Ignoring bad exit code\"\n\n  notify-tests-failing-on-main:\n    needs: run-tests\n    if: github.ref == 'refs/heads/main' && failure()\n    runs-on: ubuntu-latest\n    env:\n      FAILURE_THRESHOLD: 1\n    steps:\n      - name: Download all failure flags\n        uses: actions/download-artifact@v4\n        with:\n          path: failure-flags/\n\n      - name: Check for failure flags\n        id: check_failure\n        run: |\n          failure_count=$(ls -1q failure-flags/*/*.txt | wc -l)\n\n          if [ $failure_count -gt $FAILURE_THRESHOLD ]; then\n            too_many_tests_failed=\"true\"\n          else\n            too_many_tests_failed=\"false\"\n          fi\n          echo \"failure_count=$failure_count\" >> $GITHUB_OUTPUT\n          echo \"too_many_tests_failed=$too_many_tests_failed\" >> $GITHUB_OUTPUT\n\n      - name: Send Slack Notification\n        if: ${{ steps.check_failure.outputs.too_many_tests_failed == 'true' }}\n        uses: 8398a7/action-slack@v3\n        with:\n          author_name: Prefect OSS Tests Failing on Main\n          channel: CBH18KG8G # This is #engineering\n          fields: message,commit,author,workflowRun\n          status: failure\n          text: \":warning: Unit tests are failing in Prefect's main branch. Commit author: please either fix or remove the failing tests. If you remove the failing tests create a GitHub issue with the details.\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.ENGINEERING_REVIEW_SLACK_WEBHOOK_URL }}\n\n  run-tests-for-datadog:\n    name: DataDog CI Visibility\n    if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || contains(github.event.head_commit.message, '.github/workflows/python-tests.yaml'))\n    runs-on:\n      group: oss-larger-runners\n    strategy:\n      matrix:\n        database:\n          - \"postgres:14\"\n        python-version:\n          - \"3.12\"\n\n      fail-fast: true\n\n    timeout-minutes: 45\n\n    steps:\n      - name: Display current test matrix\n        run: echo '${{ toJSON(matrix) }}'\n\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: image=moby/buildkit:v0.12.5\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        id: setup_python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: UV Cache\n        # Manually cache the uv cache directory\n        # until setup-python supports it:\n        # https://github.com/actions/setup-python/issues/822\n        uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: uvcache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('requirements-client.txt', 'requirements.txt', 'requirements-dev.txt') }}\n\n      - name: Get image tag\n        id: get_image_tag\n        run: |\n          SHORT_SHA=$(git rev-parse --short=7 HEAD)\n          tmp=\"sha-$SHORT_SHA-python${{ matrix.python-version }}\"\n          echo \"image_tag=${tmp}\" >> $GITHUB_OUTPUT\n\n      - name: Build test image\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          build-args: |\n            PYTHON_VERSION=${{ matrix.python-version }}\n            PREFECT_EXTRAS=[dev]\n          tags: prefecthq/prefect-dev:${{ steps.get_image_tag.outputs.image_tag }}\n          outputs: type=docker,dest=/tmp/image.tar\n\n      - name: Test Docker image\n        run: |\n          docker load --input /tmp/image.tar\n          docker run --rm prefecthq/prefect-dev:${{ steps.get_image_tag.outputs.image_tag }} prefect version\n\n      - name: Install packages\n        run: |\n          python -m pip install -U uv\n          uv pip install --upgrade --system -e .[dev]\n\n      - name: Start database container\n        run: >\n          docker run\n          --name \"postgres\"\n          --detach\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n          --publish 5432:5432\n          --tmpfs /var/lib/postgresql/data\n          --env POSTGRES_USER=\"prefect\"\n          --env POSTGRES_PASSWORD=\"prefect\"\n          --env POSTGRES_DB=\"prefect\"\n          --env LANG=\"C.UTF-8\"\n          --env LANGUAGE=\"C.UTF-8\"\n          --env LC_ALL=\"C.UTF-8\"\n          --env LC_COLLATE=\"C.UTF-8\"\n          --env LC_CTYPE=\"C.UTF-8\"\n          ${{ matrix.database }}\n          -c max_connections=250\n\n          ./scripts/wait-for-healthy-container.sh postgres 30\n\n          echo \"PREFECT_API_DATABASE_CONNECTION_URL=postgresql+asyncpg://prefect:prefect@localhost/prefect\" >> $GITHUB_ENV\n\n      - name: Start docker registry\n        run: >\n          docker run\n          --name \"prefect-test-registry\"\n          --detach\n          --publish 5555:5000\n          registry:2\n\n      - name: Start redis\n        run: >\n          docker run\n          --name \"redis\"\n          --detach\n          --publish 6379:6379\n          redis:latest\n\n      - name: Run tests\n        env:\n          PREFECT_EXPERIMENTAL_ENABLE_PYDANTIC_V2_INTERNALS: \"1\"\n          DD_CIVISIBILITY_AGENTLESS_ENABLED: true\n          DD_API_KEY: ${{ secrets.DD_API_KEY_CI_VISIBILITY }}\n          DD_SITE: datadoghq.com\n          DD_ENV: ci\n          DD_SERVICE: prefect\n        run: >\n          pytest tests\n          --numprocesses auto\n          --maxprocesses 6\n          --ddtrace\n          --dist worksteal\n          --disable-docker-image-builds\n          --exclude-service kubernetes\n          --durations 26\n          --cov\n          --cov-config setup.cfg\n\n  run-docker-tests:\n    runs-on:\n      group: oss-larger-runners\n    name: docker, python:${{ matrix.python-version }}\n    strategy:\n      matrix:\n        database:\n          - \"postgres:14\"\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n      fail-fast: true\n\n    timeout-minutes: 45\n\n    steps:\n      - name: Display current test matrix\n        run: echo '${{ toJSON(matrix) }}'\n\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: image=moby/buildkit:v0.12.5\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        id: setup_python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: UV Cache\n        # Manually cache the uv cache directory\n        # until setup-python supports it:\n        # https://github.com/actions/setup-python/issues/822\n        uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: uvcache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('requirements-client.txt', 'requirements.txt', 'requirements-dev.txt') }}\n\n      - name: Get image tag\n        id: get_image_tag\n        run: |\n          SHORT_SHA=$(git rev-parse --short=7 HEAD)\n          tmp=\"sha-$SHORT_SHA-python${{ matrix.python-version }}\"\n          echo \"image_tag=${tmp}\" >> $GITHUB_OUTPUT\n\n      - name: Build test image\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          build-args: |\n            PYTHON_VERSION=${{ matrix.python-version }}\n            PREFECT_EXTRAS=[dev]\n          tags: prefecthq/prefect-dev:${{ steps.get_image_tag.outputs.image_tag }}\n          outputs: type=docker,dest=/tmp/image.tar\n\n      - name: Test Docker image\n        run: |\n          docker load --input /tmp/image.tar\n          docker run --rm prefecthq/prefect-dev:${{ steps.get_image_tag.outputs.image_tag }} prefect version\n\n      - name: Install packages\n        run: |\n          python -m pip install -U uv\n          uv pip install --upgrade --system -e .[dev]\n\n      - name: Start database container\n        if: ${{ startsWith(matrix.database, 'postgres') }}\n        run: >\n          docker run\n          --name \"postgres\"\n          --detach\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n          --publish 5432:5432\n          --tmpfs /var/lib/postgresql/data\n          --env POSTGRES_USER=\"prefect\"\n          --env POSTGRES_PASSWORD=\"prefect\"\n          --env POSTGRES_DB=\"prefect\"\n          --env LANG=\"C.UTF-8\"\n          --env LANGUAGE=\"C.UTF-8\"\n          --env LC_ALL=\"C.UTF-8\"\n          --env LC_COLLATE=\"C.UTF-8\"\n          --env LC_CTYPE=\"C.UTF-8\"\n          ${{ matrix.database }}\n          -c max_connections=250\n\n          ./scripts/wait-for-healthy-container.sh postgres 30\n\n          echo \"PREFECT_API_DATABASE_CONNECTION_URL=postgresql+asyncpg://prefect:prefect@localhost/prefect\" >> $GITHUB_ENV\n\n      - name: Start docker registry\n        run: >\n          docker run\n          --name \"prefect-test-registry\"\n          --detach\n          --publish 5555:5000\n          registry:2\n\n      - name: Start redis\n        run: >\n          docker run\n          --name \"redis\"\n          --detach\n          --publish 6379:6379\n          redis:latest\n\n        # Parallelize tests by scope to reduce expensive service fixture duplication\n        # Do not allow the test suite to build images, as we want the prebuilt images to be tested\n        # Do not run Kubernetes service tests, we do not have a cluster available\n        # maxprocesses 6 is based on empirical testing; higher than 6 sees diminishing returns\n      - name: Run tests\n        env:\n          PREFECT_EXPERIMENTAL_ENABLE_PYDANTIC_V2_INTERNALS: \"1\"\n        run: >\n          pytest tests\n          --numprocesses auto\n          --maxprocesses 6\n          --dist worksteal\n          --disable-docker-image-builds\n          --only-service docker\n          --durations 26\n          --no-cov\n\n      - name: Create and Upload failure flag\n        if: ${{ failure() }}\n        id: create_failure_flag\n        run: |\n          sanitized_name=\"${{ matrix.python-version }}-${{ matrix.database }}\"\n          sanitized_name=\"${sanitized_name//:/-}\"\n          echo \"Failure in $sanitized_name\" > \"${sanitized_name}-failure.txt\"\n          echo \"artifact_name=${sanitized_name}-failure\" >> $GITHUB_OUTPUT\n\n      - name: Upload failure flag\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ steps.create_failure_flag.outputs.artifact_name }}\n          path: \"${{ steps.create_failure_flag.outputs.artifact_name }}.txt\"\n\n      - name: Check database container\n        # Only applicable for Postgres, but we want this to run even when tests fail\n        if: always()\n        run: >\n          docker container inspect postgres\n          && docker container logs postgres\n          || echo \"Ignoring bad exit code\"\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:07:02.346221", "created_at": "2022-09-06T15:39:51+02:00", "updated_at": "2024-01-16T19:31:36+01:00", "name": "Close stale PRs", "path": ".github/workflows/stale.yml", "contents": "name: \"Close stale PRs\"\non:\n  schedule:\n    - cron: \"0 * * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          days-before-stale: -1\n          days-before-close: -1\n          stale-pr-message: \"This pull request is stale because it has been open 14 days with no activity. To keep this pull request open remove stale label or comment.\"\n          stale-pr-label: \"status:stale\"\n          close-pr-message: \"This pull request was closed because it has been stale for 14 days with no activity. If this pull request is important or you have more to add feel free to re-open it.\"\n          days-before-pr-stale: 14\n          days-before-pr-close: 14\n          exempt-issue-labels: \"needs:attention,needs:triage,blocked\"\n          ascending: true # https://github.com/actions/stale#ascending\n          operations-per-run: 500\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:07:03.588389", "created_at": "2022-02-16T22:48:04+01:00", "updated_at": "2023-03-16T16:47:01+01:00", "name": "Static analysis", "path": ".github/workflows/static-analysis.yaml", "contents": "name: Static analysis\n\n# on PR and push to main\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\npermissions:\n  contents: read\n\n# Limit concurrency by workflow/branch combination.\n#\n# For pull request builds, pushing additional changes to the\n# branch will cancel prior in-progress and pending builds.\n#\n# For builds triggered on a branch push, additional changes\n# will wait for prior builds to complete before starting.\n#\n# https://docs.github.com/en/actions/using-jobs/using-concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n  pre-commit-checks:\n    name: Pre-commit checks\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        id: setup_python\n        with:\n          python-version: \"3.9.18\"\n\n      - name: UV Cache\n        # Manually cache the uv cache directory\n        # until setup-python supports it:\n        # https://github.com/actions/setup-python/issues/822\n        uses: actions/cache@v4\n        id: cache-uv\n        with:\n          path: ~/.cache/uv\n          key: uvcache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('requirements-client.txt', 'requirements.txt', 'requirements-dev.txt') }}\n\n      - name: Install packages\n        run: |\n          python -m pip install -U uv pre-commit\n          uv pip install --upgrade --system -e .[dev]\n\n      - name: Setup NodeJS\n        uses: actions/setup-node@v4\n        with:\n          node-version-file: \".nvmrc\"\n          cache-dependency-path: \"**/package-lock.json\"\n\n      - name: Install mintlify-scrape\n        run: npm install -g @mintlify/scraping\n\n      - name: Run pre-commit\n        run: |\n          pre-commit run --show-diff-on-failure --color=always --all-files\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:07:04.703712", "created_at": "2024-06-28T21:05:08+02:00", "updated_at": "2024-07-03T23:31:09+02:00", "name": "Surface High Engagement Issues", "path": ".github/workflows/surface-high-engagement-issues.yml", "contents": null, "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:07:05.743248", "created_at": "2022-02-16T22:48:04+01:00", "updated_at": "2023-03-16T16:50:29+01:00", "name": "UI tests", "path": ".github/workflows/ui-tests.yml", "contents": "name: UI tests\n\non:\n  pull_request:\n    paths:\n      - .github/workflows/ui-tests.yml\n      - ui/**\n      - .nvmrc\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\n# Limit concurrency by workflow/branch combination.\n#\n# For pull request builds, pushing additional changes to the\n# branch will cancel prior in-progress and pending builds.\n#\n# For builds triggered on a branch push, additional changes\n# will wait for prior builds to complete before starting.\n#\n# https://docs.github.com/en/actions/using-jobs/using-concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n  build-ui:\n    name: Build ui\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version-file: '.nvmrc'\n          cache-dependency-path: '**/package-lock.json'\n\n      - name: Install ui dependencies\n        working-directory: ./ui\n        run: npm ci install\n\n      - name: Build ui\n        working-directory: ./ui\n        run: npm run build\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:07:06.856920", "created_at": "2024-04-22T19:44:53+02:00", "updated_at": "2024-04-22T19:59:26+02:00", "name": "Ensure JSON views are valid on PR", "path": ".github/workflows/validate_worker_metadata.yaml", "contents": "name: Ensure JSON views are valid on PR\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"src/prefect/server/api/collections_data/views/*.json\"\njobs:\n  submit-update-pr:\n    name: Run JSON schema validation against all views\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install fastjsonschema==2.19.1\n\n      - name: Run JSON schema validation\n        run: |\n          python scripts/validate_collection_view_content.py\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:07:07.969049", "created_at": "2024-07-12T16:19:27+02:00", "updated_at": "2024-07-12T16:19:27+02:00", "name": "Weekly Release Candidate", "path": ".github/workflows/weekly-release.yaml", "contents": null, "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:07:09.146405", "created_at": "2023-06-29T18:35:33+02:00", "updated_at": "2024-01-11T15:56:40+01:00", "name": "Windows tests (Pull Request)", "path": ".github/workflows/windows-pull-request.yaml", "contents": "name: Windows tests (Pull Request)\n\non:\n  pull_request:\n    branches:\n      - main\n    types:\n      - opened\n      - reopened\n      - synchronize\n      - labeled\n      - unlabeled\n\npermissions: {}\n\n# Limit concurrency by workflow/branch combination.\n#\n# For pull request builds, pushing additional changes to the\n# branch will cancel prior in-progress and pending builds.\n#\n# For builds triggered on a branch push, additional changes\n# will wait for prior builds to complete before starting.\n#\n# https://docs.github.com/en/actions/using-jobs/using-concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n  run-tests-sqlite:\n    name: Test with SQLite\n    if: contains(github.event.pull_request.labels.*.name, 'arch:windows')\n\n    strategy:\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n      fail-fast: true\n\n    permissions:\n      contents: read\n\n    runs-on: windows-latest\n    timeout-minutes: 45\n\n    env:\n      # enable colored output\n      # https://github.com/pytest-dev/pytest/issues/7443\n      PY_COLORS: 1\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: \"requirements*.txt\"\n\n      - name: Install packages\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade --upgrade-strategy eager -e .[dev]\n\n      - name: Run tests\n        run: |\n          # Parallelize tests by scope to reduce expensive service fixture duplication\n          pytest tests -vv --numprocesses auto --dist worksteal --exclude-services --durations=25\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:07:10.755893", "created_at": "2022-06-08T00:56:12+02:00", "updated_at": "2024-01-11T17:01:31+01:00", "name": "Windows tests", "path": ".github/workflows/windows-tests.yaml", "contents": "name: Windows tests\n\non:\n  workflow_dispatch: {}\n  schedule:\n    - cron: '0 16 * * *'  # every day at 4 p.m. UTC / 9 a.m. PDT\n\npermissions: {}\n\njobs:\n  run-tests-sqlite:\n    name: Test with SQLite\n\n    strategy:\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n      fail-fast: true\n\n    permissions:\n      contents: read\n\n    runs-on: windows-latest\n    timeout-minutes: 45\n\n    env:\n      # enable colored output\n      # https://github.com/pytest-dev/pytest/issues/7443\n      PY_COLORS: 1\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: \"requirements*.txt\"\n\n      - name: Install packages\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade --upgrade-strategy eager -e .[dev]\n\n      - name: Run tests\n        run: |\n          # Parallelize tests by scope to reduce expensive service fixture duplication\n          pytest tests -vv --numprocesses auto --dist worksteal --exclude-services --durations=25\n", "state": "active", "repository": "prefecthq/prefect"}
{"mined_at": "2024-07-15T15:07:12.765180", "created_at": "2019-12-22T17:43:36+01:00", "updated_at": "2020-01-17T13:52:45+01:00", "name": "Acceptance tests (CPython + PyPy)", "path": ".github/workflows/acceptance_tests_cpython.yml", "contents": "name: Acceptance tests (CPython + PyPy)\n\non:\n  push:\n    branches:\n      - main\n      - master\n    paths:\n      - '.github/workflows/**'\n      - 'src/**'\n      - 'atest/**'\n      - '!**/*.rst'\n\njobs:\n  test_using_builtin_python:\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ 'ubuntu-latest', 'windows-latest' ]\n        python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8' ]\n        include:\n          - os: ubuntu-latest\n            set_display: export DISPLAY=:99; Xvfb :99 -screen 0 1024x768x24 -ac -noreset & sleep 3\n          - os: windows-latest\n            set_codepage: chcp 850\n        exclude:\n          - os: windows-latest\n            python-version: 'pypy-3.8'\n\n    runs-on: ${{ matrix.os }}\n\n    name: Python ${{ matrix.python-version }} on ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup python for starting the tests\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n\n      - name: Get test starter Python at Windows\n        run: echo \"ATEST_PYTHON=$((get-command python.exe).Path)\" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append\n        if: runner.os == 'Windows'\n\n      - name: Get test starter Python\n        run: echo \"ATEST_PYTHON=$(which python)\" >> $GITHUB_ENV\n        if: runner.os != 'Windows'\n\n      - name: Setup python ${{ matrix.python-version }} for running the tests\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n\n      - name: Get test runner Python at Windows\n        run: echo \"BASE_PYTHON=$((get-command python.exe).Path)\" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append\n        if: runner.os == 'Windows'\n\n      - name: Get test runner Python\n        run: echo \"BASE_PYTHON=$(which python)\" >> $GITHUB_ENV\n        if: runner.os != 'Windows'\n\n      - name: Install Report handling tools to Windows\n        run: |\n          choco install curl -y --no-progress\n          choco install zip -y --no-progress\n        if: runner.os == 'Windows'\n\n      - name: Install Ubuntu PyPy dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install libxslt-dev libxml2-dev\n        if: contains(matrix.python-version, 'pypy') && contains(matrix.os, 'ubuntu')\n\n      - name: Install screen and report handling tools, and other required libraries to Linux\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install xvfb scrot zip curl libxml2-dev libxslt1-dev\n        if: contains(matrix.os, 'ubuntu')\n\n      - name: Run acceptance tests\n        run: |\n          python -m pip install -r atest/requirements.txt\n          ${{ env.ATEST_PYTHON }} -m pip install -r atest/requirements-run.txt\n          ${{ matrix.set_codepage }}\n          ${{ matrix.set_display }}\n          ${{ env.ATEST_PYTHON }} atest/run.py --interpreter ${{ env.BASE_PYTHON }} --exclude no-ci ${{ matrix.atest_args }} atest/robot\n\n      - name: Delete output.xml (on Win)\n        run: |\n          Get-ChildItem atest/results -Include output.xml -Recurse | Remove-Item\n        if: always() && runner.os == 'Windows'\n\n      - name: Delete output.xml (on Unix-like)\n        run: |\n          find atest/results -type f -name 'output.xml' -exec rm {} +\n        if: always() && runner.os != 'Windows'\n\n      - name: Archive acceptances test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: at-results-${{ matrix.python-version }}-${{ matrix.os }}\n          path: atest/results\n        if: always() && job.status == 'failure'\n\n      - name: Upload results on *nix\n        run: |\n          echo '<html><head><meta http-equiv = \"refresh\" content =\" 0 ; url = /report.html\"></head></html>' > atest/results/index.html\n          zip -r -j site.zip atest/results > no_output 2>&1\n          curl -s -H \"Content-Type: application/zip\" -H \"Authorization: Bearer ${{ secrets.NETLIFY_TOKEN }}\" --data-binary \"@site.zip\" https://api.netlify.com/api/v1/sites > response.json\n          echo \"REPORT_URL=$(cat response.json|python -c \"import sys, json; print('https://' + json.load(sys.stdin)['subdomain'] + '.netlify.com')\")\" >> $GITHUB_ENV\n          echo \"JOB_STATUS=$(python -c \"print('${{ job.status }}'.lower())\")\" >> $GITHUB_ENV\n        if: always() && job.status == 'failure' && runner.os != 'Windows'\n\n      - name: Upload results on Windows\n        run: |\n          echo '<html><head><meta http-equiv = \"refresh\" content =\" 0 ; url = /report.html\"></head></html>' > atest/results/index.html\n          zip -r -j site.zip atest/results > no_output 2>&1\n          curl -s -H \"Content-Type: application/zip\" -H \"Authorization: Bearer ${{ secrets.NETLIFY_TOKEN }}\" --data-binary \"@site.zip\" https://api.netlify.com/api/v1/sites > response.json\n          echo \"REPORT_URL=$(cat response.json|python -c \"import sys, json; print('https://' + json.load(sys.stdin)['subdomain'] + '.netlify.com')\")\" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append\n          echo \"JOB_STATUS=$(python -c \"print('${{ job.status }}'.lower())\")\" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append\n        if: always() && job.status == 'failure' && runner.os == 'Windows'\n\n      - uses: octokit/request-action@872c5c97b3c85c23516a572f02b31401ef82415d\n        name: Update status with Github Status API\n        id: update_status\n        with:\n          route: POST /repos/:repository/statuses/:sha\n          repository: ${{ github.repository }}\n          sha: ${{ github.sha }}\n          state: \"${{env.JOB_STATUS}}\"\n          target_url: \"${{env.REPORT_URL}}\"\n          description: \"Link to test report.\"\n          context: at-results-${{ matrix.python-version }}-${{ matrix.os }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.STATUS_UPLOAD_TOKEN }}\n        if: always() && job.status == 'failure'\n", "state": "active", "repository": "robotframework/robotframework"}
{"mined_at": "2024-07-15T15:07:13.930452", "created_at": "2020-11-02T17:09:59+01:00", "updated_at": "2022-05-11T21:29:18+02:00", "name": "Acceptance tests (CPython)", "path": ".github/workflows/acceptance_tests_cpython_pr.yml", "contents": "name: Acceptance tests (CPython)\n\non:\n  pull_request:\n    paths:\n      - '.github/workflows/**'\n      - 'src/**'\n      - 'atest/**'\n      - '!**/*.rst'\n\njobs:\n  test_using_builtin_python:\n\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [ 'ubuntu-latest', 'windows-latest' ]\n        python-version: [ '3.8', '3.12' ]\n        include:\n          - os: ubuntu-latest\n            set_display: export DISPLAY=:99; Xvfb :99 -screen 0 1024x768x24 -ac -noreset & sleep 3\n          - os: windows-latest\n            set_codepage: chcp 850\n\n    runs-on: ${{ matrix.os }}\n\n    name: Python ${{ matrix.python-version }} on ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup python for starting the tests\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.11'\n          architecture: 'x64'\n\n      - name: Get test starter Python at Windows\n        run: echo \"ATEST_PYTHON=$((get-command python.exe).Path)\" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append\n        if: runner.os == 'Windows'\n\n      - name: Get test starter Python\n        run: echo \"ATEST_PYTHON=$(which python)\" >> $GITHUB_ENV\n        if: runner.os != 'Windows'\n\n      - name: Setup python ${{ matrix.python-version }} for running the tests\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n\n      - name: Get test runner Python at Windows\n        run: echo \"BASE_PYTHON=$((get-command python.exe).Path)\" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append\n        if: runner.os == 'Windows'\n\n      - name: Get test runner Python\n        run: echo \"BASE_PYTHON=$(which python)\" >> $GITHUB_ENV\n        if: runner.os != 'Windows'\n\n      - name: Install Report handling tools to Windows\n        run: |\n          choco install curl -y --no-progress\n          choco install zip -y --no-progress\n        if: runner.os == 'Windows'\n\n      - name: Install screen and report handling tools, and other required libraries to Linux\n        run: |\n          sudo apt-get update\n          sudo apt-get -y -q install xvfb scrot zip curl libxml2-dev libxslt1-dev\n        if: contains(matrix.os, 'ubuntu')\n\n      - name: Run acceptance tests\n        run: |\n          python -m pip install -r atest/requirements.txt\n          ${{ env.ATEST_PYTHON }} -m pip install -r atest/requirements-run.txt\n          ${{ matrix.set_codepage }}\n          ${{ matrix.set_display }}\n          ${{ env.ATEST_PYTHON }} atest/run.py --interpreter ${{ env.BASE_PYTHON }} --exclude no-ci ${{ matrix.atest_args }} atest/robot\n\n      - name: Delete output.xml (on Win)\n        run: |\n          Get-ChildItem atest/results -Include output.xml -Recurse | Remove-Item\n        if: always() && runner.os == 'Windows'\n\n      - name: Delete output.xml (on Unix-like)\n        run: |\n          find atest/results -type f -name 'output.xml' -exec rm {} +\n        if: always() && runner.os != 'Windows'\n\n      - name: Archive acceptances test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: at-results-${{ matrix.python-version }}-${{ matrix.os }}\n          path: atest/results\n        if: always() && job.status == 'failure'\n\n      - name: Upload results on *nix\n        run: |\n          echo '<html><head><meta http-equiv = \"refresh\" content =\" 0 ; url = /report.html\"></head></html>' > atest/results/index.html\n          zip -r -j site.zip atest/results > no_output 2>&1\n          curl -s -H \"Content-Type: application/zip\" -H \"Authorization: Bearer ${{ secrets.NETLIFY_TOKEN }}\" --data-binary \"@site.zip\" https://api.netlify.com/api/v1/sites > response.json\n          echo \"REPORT_URL=$(cat response.json|python -c \"import sys, json; print('https://' + json.load(sys.stdin)['subdomain'] + '.netlify.com')\")\" >> $GITHUB_ENV\n          echo \"JOB_STATUS=$(python -c \"print('${{ job.status }}'.lower())\")\" >> $GITHUB_ENV\n        if: always() && job.status == 'failure' && runner.os != 'Windows'\n\n      - name: Upload results on Windows\n        run: |\n          echo '<html><head><meta http-equiv = \"refresh\" content =\" 0 ; url = /report.html\"></head></html>' > atest/results/index.html\n          zip -r -j site.zip atest/results > no_output 2>&1\n          curl -s -H \"Content-Type: application/zip\" -H \"Authorization: Bearer ${{ secrets.NETLIFY_TOKEN }}\" --data-binary \"@site.zip\" https://api.netlify.com/api/v1/sites > response.json\n          echo \"REPORT_URL=$(cat response.json|python -c \"import sys, json; print('https://' + json.load(sys.stdin)['subdomain'] + '.netlify.com')\")\" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append\n          echo \"JOB_STATUS=$(python -c \"print('${{ job.status }}'.lower())\")\" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append\n        if: always() && job.status == 'failure' && runner.os == 'Windows'\n\n      - uses: octokit/request-action@872c5c97b3c85c23516a572f02b31401ef82415d\n        name: Update status with Github Status API\n        id: update_status\n        with:\n          route: POST /repos/:repository/statuses/:sha\n          repository: ${{ github.repository }}\n          sha: ${{ github.sha }}\n          state: \"${{env.JOB_STATUS}}\"\n          target_url: \"${{env.REPORT_URL}}\"\n          description: \"Link to test report.\"\n          context: at-results-${{ matrix.python-version }}-${{ matrix.os }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.STATUS_UPLOAD_TOKEN }}\n        if: always() && job.status == 'failure'\n", "state": "active", "repository": "robotframework/robotframework"}
{"mined_at": "2024-07-15T15:07:15.058006", "created_at": "2019-12-19T19:37:07+01:00", "updated_at": "2019-12-19T19:37:07+01:00", "name": "Unit tests", "path": ".github/workflows/unit_tests.yml", "contents": "name: Unit tests\n\non:\n  push:\n    branches:\n      - main\n      - master\n    paths:\n      - '.github/workflows/**'\n      - 'src/**'\n      - 'utest/**'\n      - '!**/*.rst'\n\n\njobs:\n  test_using_builtin_python:\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ 'ubuntu-latest', 'windows-latest' ]\n        python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8' ]\n        exclude:\n          - os: windows-latest\n            python-version: 'pypy-3.8'\n\n    runs-on: ${{ matrix.os }}\n\n    name: Python ${{ matrix.python-version }} on ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n\n      - name: Run unit tests\n        run: |\n          python -m pip install -r utest/requirements.txt\n          python utest/run.py -v\n", "state": "active", "repository": "robotframework/robotframework"}
{"mined_at": "2024-07-15T15:07:16.285249", "created_at": "2020-11-02T17:09:59+01:00", "updated_at": "2020-11-02T17:09:59+01:00", "name": "Unit tests", "path": ".github/workflows/unit_tests_pr.yml", "contents": "name: Unit tests\n\non:\n  pull_request:\n    paths:\n      - '.github/workflows/**'\n      - 'src/**'\n      - 'utest/**'\n      - '!**/*.rst'\n\njobs:\n  test_using_builtin_python:\n\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [ 'ubuntu-latest', 'windows-latest' ]\n        python-version: [ '3.8', '3.12' ]\n\n    runs-on: ${{ matrix.os }}\n\n    name: Python ${{ matrix.python-version }} on ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n\n      - name: Run unit tests\n        run: |\n          python -m pip install -r utest/requirements.txt\n          python utest/run.py -v\n", "state": "active", "repository": "robotframework/robotframework"}
{"mined_at": "2024-07-15T15:07:17.398281", "created_at": "2020-01-08T10:11:51+01:00", "updated_at": "2020-01-18T03:28:11+01:00", "name": "Upload test results", "path": ".github/workflows/upload_test_reports.yml", "contents": "name: Upload test results\n\non: [status]\n\njobs:\n  upload_test_results:\n    runs-on: ubuntu-latest\n    name: Upload results from ${{ github.event.name }}\n    steps:\n        - run: echo ${{ github.event }}\n", "state": "active", "repository": "robotframework/robotframework"}
{"mined_at": "2024-07-15T15:07:18.402254", "created_at": "2021-12-20T23:57:25+01:00", "updated_at": "2021-12-20T23:57:25+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "robotframework/robotframework"}
{"mined_at": "2024-07-15T15:07:20.678441", "created_at": "2023-05-10T03:38:28+02:00", "updated_at": "2023-10-12T23:50:57+02:00", "name": "Update aws/aws-sam-cli with latest commit hash from aws/aws-sam-cli-app-templates and aws-sam-translator version", "path": ".github/workflows/automated-updates-to-sam-cli.yml", "contents": "name: Update aws/aws-sam-cli with latest commit hash from aws/aws-sam-cli-app-templates and aws-sam-translator version\n\non:\n  schedule:\n    - cron: \"0 0/4 * * *\" # run at the top of every 4 hour\n  workflow_dispatch: {}\n\njobs:\n  updateInitAppTemplatesCommitHash:\n    permissions:\n      pull-requests: write\n      contents: write\n    if: github.repository == 'aws/aws-sam-cli'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout App Templates\n        uses: actions/checkout@v4\n        with:\n          repository: aws/aws-sam-cli-app-templates\n          path: aws-sam-cli-app-templates\n\n      - name: Checkout SAM CLI\n        uses: actions/checkout@v4\n        with:\n          repository: aws/aws-sam-cli\n          path: aws-sam-cli\n\n      - name: Update hash & commit\n        run: |\n          git config --global user.email \"action@github.com\"\n          git config --global user.name \"GitHub Action\"\n          cd aws-sam-cli-app-templates\n          APP_TEMPLATES_COMMIT_HASH=$(git rev-parse HEAD)\n          cd ../aws-sam-cli\n          git checkout -b update_app_templates_hash\n          git reset --hard develop\n          cat <<< \"$(jq --arg commit_hash \"$APP_TEMPLATES_COMMIT_HASH\" --indent 4 '.app_template_repo_commit =  $commit_hash' samcli/runtime_config.json)\" > samcli/runtime_config.json\n          git status\n          git diff --quiet && exit 0 # exit if there is no change\n          echo \"is_hash_changed=1\" >> $GITHUB_ENV # set env variable for next step run decision\n          git add -u\n          git commit -m \"feat: updating app templates repo hash with ($APP_TEMPLATES_COMMIT_HASH)\"\n\n      - name: Raise PR for SAM CLI\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        if: ${{ env.is_hash_changed == 1 }} # run only if there was a change\n        run: |\n          cd aws-sam-cli\n          git push --force origin update_app_templates_hash\n          gh pr list --repo aws/aws-sam-cli --head update_app_templates_hash --json id --jq length | grep 1 && exit 0 # exit if there is existing pr\n          gh pr create --base develop --head update_app_templates_hash --title \"feat: update SAM CLI with latest App Templates commit hash\" --body \"This PR & commit is automatically created from App Templates repo to update the SAM CLI with latest hash of the App Templates.\" --label \"pr/internal\"\n\n  updateSAMTranslator:\n    permissions:\n      pull-requests: write\n      contents: write\n    if: github.repository == 'aws/aws-sam-cli'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout SAM\n        uses: actions/checkout@v4\n        with:\n          repository: aws/serverless-application-model\n          path: serverless-application-model\n          ref: main\n          fetch-depth: 0\n      \n      - name: Checkout SAM CLI\n        uses: actions/checkout@v4\n        with:\n          repository: aws/aws-sam-cli\n          path: aws-sam-cli\n\n      - name: Update aws-sam-translator & commit\n        run: |\n          git config --global user.email \"action@github.com\"\n          git config --global user.name \"GitHub Action\"\n          cd serverless-application-model\n          SAM_T_CUR_VERSION=$(git describe --tags --abbrev=0 | sed 's/v//')\n          echo \"SAM-T cur version is $SAM_T_CUR_VERSION\"\n          cd ../aws-sam-cli\n          git checkout -b update_sam_transform_version\n          SAM_T_PRE_VERSION=$(grep \"aws-sam-translator=\" requirements/base.txt)\n          echo \"SAM-T pre version is $SAM_T_PRE_VERSION\"\n          git reset --hard develop\n          sed -i \"s/$SAM_T_PRE_VERSION/aws-sam-translator==$SAM_T_CUR_VERSION/g\" requirements/base.txt\n          cp -r ../serverless-application-model/tests/translator/input ./tests/functional/commands/validate/lib/models\n          git status\n          git diff --quiet && exit 0 # exit if there is no change\n          echo \"is_new_sam_t=1\" >> $GITHUB_ENV # set env variable for next step run decision\n          git add -u\n          git commit -m \"chore: update aws-sam-translator to $SAM_T_CUR_VERSION\"\n\n      - name: Raise PR for SAM CLI\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        if: ${{ env.is_new_sam_t == 1 }} # run only if there was a change\n        run: |\n          cd aws-sam-cli\n          git push --force origin update_sam_transform_version\n          gh pr list --repo aws/aws-sam-cli --head update_sam_transform_version --json id --jq length | grep 1 && exit 0 # exit if there is existing pr\n          gh pr create --base develop --head update_sam_transform_version --fill --label \"pr/internal\"\n\n  updateAWSLambdaBuilders:\n    permissions:\n      pull-requests: write\n      contents: write\n    if: github.repository == 'aws/aws-sam-cli'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Lambda Builders\n        uses: actions/checkout@v4\n        with:\n          repository: aws/aws-lambda-builders\n          path: aws-lambda-builders\n          ref: main\n          fetch-depth: 0\n\n      - name: Checkout SAM CLI\n        uses: actions/checkout@v4\n        with:\n          repository: aws/aws-sam-cli\n          path: aws-sam-cli\n\n      - name: Upgrade aws_lambda_builders & commit\n        run: |\n          git config --global user.email \"action@github.com\"\n          git config --global user.name \"GitHub Action\"\n          cd aws-lambda-builders\n          BUILDERS_CUR_VERSION=$(git describe --tags --abbrev=0 | sed 's/v//')\n          echo \"Lambda Builders cur version is $BUILDERS_CUR_VERSION\"\n          cd ../aws-sam-cli\n          git checkout -b update_lambda_builders_version\n          BUILDERS_PRE_VERSION=$(grep \"aws_lambda_builders=\" requirements/base.txt)\n          echo \"Lambda Builders pre version is $BUILDERS_PRE_VERSION\"\n          git reset --hard develop\n          sed -i \"s/$BUILDERS_PRE_VERSION/aws_lambda_builders==$BUILDERS_CUR_VERSION/g\" requirements/base.txt\n          git status\n          git diff --quiet && exit 0 # exit if there is no change\n          echo \"is_new_lambda_builders=1\" >> $GITHUB_ENV # set env variable for next step run decision\n          git add -u\n          git commit -m \"chore: update aws_lambda_builders to $BUILDERS_CUR_VERSION\"\n\n      - name: Raise PR for SAM CLI\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        if: ${{ env.is_new_lambda_builders == 1 }} # run only if there was a change\n        run: |\n          cd aws-sam-cli\n          git push --force origin update_lambda_builders_version\n          gh pr list --repo aws/aws-sam-cli --head update_lambda_builders_version --json id --jq length | grep 1 && exit 0 # exit if there is existing pr\n          gh pr create --base develop --head update_lambda_builders_version --fill --label \"pr/internal\"\n", "state": "active", "repository": "aws/aws-sam-cli"}
{"mined_at": "2024-07-15T15:07:21.684420", "created_at": "2022-10-18T00:51:11+02:00", "updated_at": "2023-06-07T23:10:59+02:00", "name": "Build And Test", "path": ".github/workflows/build.yml", "contents": "name: Build And Test\n\non:\n  pull_request:\n    branches:\n      - develop\n      - \"feat/*\"\n      - \"feat-*\"\n  merge_group:\n    types: [ checks_requested ]\n    branches:\n      - develop\n      - \"feat/*\"\n      - \"feat-*\"\n\n# to automatically cancel the running workflow for same PR.\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run-workflow:\n    name: PR Workflow\n    # If any dependent jobs fails, this WF skips which won't block merging PRs\n    # calling always() is required for this WF to run all the time\n    if: github.repository_owner == 'aws' && always()\n    runs-on: ubuntu-latest\n    needs:\n      - make-pr\n      - validate-schema\n      - integration-tests\n      - smoke-and-functional-tests\n      - docker-disabled\n    steps:\n      - name: report-failure\n        if : |\n          needs.make-pr.result != 'success' ||\n          needs.validate-schema.result != 'success' ||\n          needs.integration-tests.result != 'success' ||\n          needs.smoke-and-functional-tests.result != 'success' ||\n          needs.docker-disabled.result != 'success'\n        run: exit 1\n      - name: report-success\n        run: exit 0\n\n  make-pr:\n    name: make pr / ${{ matrix.os }} / ${{ matrix.python }}\n    if: github.repository_owner == 'aws'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - macos-latest\n          - ubuntu-latest\n          - windows-latest\n        python:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.11\"\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - run: test -f \"./.github/ISSUE_TEMPLATE/Bug_report.md\"  # prevent Bug_report.md from being renamed or deleted\n    - run: make init\n    - run: make pr\n\n  validate-schema:\n    name: Validate JSON schema\n    if: github.repository_owner == 'aws'\n    permissions:\n      pull-requests: write\n      contents: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python 3.11\n        with:\n          python-version: 3.11\n      - run: make init\n      - run: |\n          diff <( cat schema/samcli.json ) <( python -m schema.make_schema && cat schema/samcli.json ) && \\\n            echo \"No changes found.\" && \\\n            exit 0 # exit if schema is unchanged\n          echo \"The generated schema differs from that in the PR. Please run 'make schema'.\"\n          exit 1\n        name: Generate and compare the schema\n        shell: bash\n\n  integration-tests:\n    name: Integ / ${{ matrix.os }} / ${{ matrix.python }} / ${{ matrix.tests_config }}\n    if: github.repository_owner == 'aws'\n    runs-on: ${{ matrix.os }}\n    env:\n      AWS_DEFAULT_REGION: us-east-1\n      SAM_CLI_DEV: \"1\"\n      CARGO_LAMBDA_VERSION: 0.17.1\n      CARGO_INCREMENTAL: 0 # disable incremental compilation\n      CARGO_TERM_COLOR: always # enable colors in Cargo output\n      CI: true\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - windows-latest\n        python:\n          - \"3.8\"\n          - \"3.9\"\n        # folders that is commented below requires credentials, no need to spare time to run them\n        tests_config:\n          - \"-n 2 --reruns 3 tests/integration/buildcmd\"\n          #- \"delete\"\n          #- \"deploy\"\n          - \"tests/integration/init\"\n          #- \"list\"\n          - \"tests/integration/local\"\n          #- \"logs\"\n          #- \"package\"\n          - \"tests/integration/pipeline\"\n          #- \"publish\"\n          - \"tests/integration/root\"\n          - \"tests/integration/scripts\"\n          #- \"sync\"\n          - \"tests/integration/telemetry\"\n          #- \"traces\"\n          #- \"validate\"\n          - \"tests/integration/docs\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          # set last version as the one in matrix to make it default\n          python-version: |\n            3.7\n            3.8\n            3.9\n            3.10\n            3.11\n            3.12\n            ${{ matrix.python }}\n      - uses: actions/setup-go@v5\n        with:\n          go-version: '1.19'\n      - uses: ruby/setup-ruby@v1\n        with:\n          ruby-version: \"3.3\"\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 20\n      - uses: actions/setup-java@v4\n        with:\n          distribution: 'corretto'\n          java-version: |\n            8\n            11\n            17\n            21\n       # Install and configure Rust & Cargo Lambda\n      - name: Install and configure Rust & Cargo Lambda\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          : install rustup if needed\n          if ! command -v rustup &> /dev/null ; then\n            curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL \"https://sh.rustup.rs\" | sh -s -- --default-toolchain none -y\n            echo \"${CARGO_HOME:-$HOME/.cargo}/bin\" >> $GITHUB_PATH\n          fi\n          rustup toolchain install stable --profile minimal --no-self-update\n          rustup default stable\n          pip install cargo-lambda==$CARGO_LAMBDA_VERSION\n          echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n\n      - name: Upgrade pip in Python3.12 (Linux)\n        run: |\n          python3.12 -m pip install pip --upgrade \n          python3.12 -m pip install setuptools --upgrade\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n\n      - name: Upgrade pip in Python3.12 (Windows)\n        run: |\n          py -3.12 -m pip install pip --upgrade \n          py -3.12 -m pip install setuptools --upgrade\n        if: ${{ matrix.os == 'windows-latest' }}\n\n\n      - name: Init samdev\n        run: make init\n      - name: Run integration tests for ${{ matrix.tests_config }}\n        run: pytest -vv ${{ matrix.tests_config }}\n\n  smoke-and-functional-tests:\n    name: Functional & Smoke Tests / ${{ matrix.os }} / ${{ matrix.python }}\n    if: github.repository_owner == 'aws'\n    runs-on: ${{ matrix.os }}\n    env:\n      AWS_DEFAULT_REGION: us-east-1\n      SAM_CLI_DEV: \"1\"\n      CARGO_LAMBDA_VERSION: 0.17.1\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - windows-latest\n        python:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.11\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Init samdev\n        run: make init\n      - name: Run functional & smoke tests\n        run: pytest -vv -n 4 tests/functional tests/smoke\n\n  docker-disabled:\n    name: Docker-disabled Tests / ${{ matrix.os }}\n    if: github.repository_owner == 'aws'\n    runs-on: ${{ matrix.os }}\n    env:\n      SAM_CLI_DEV: \"1\"\n      CI: true\n    strategy:\n      matrix:\n        os:\n          - ubuntu-latest\n          - windows-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          # These are the versions of Python that correspond to the supported Lambda runtimes\n          python-version: |\n            3.7\n            3.8\n            3.9\n            3.10\n            3.11\n            3.12\n      - name: Stop Docker Linux\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          : sudo systemctl stop docker\n          sudo systemctl stop docker.service\n          sudo systemctl stop docker.socket\n      - name: Stop Docker Windows\n        if: ${{ matrix.os == 'windows-latest' }}\n        shell: pwsh\n        run: stop-service docker\n      - name: Upgrade pip in Python3.12 (Linux)\n        run: |\n          python3.12 -m pip install pip --upgrade \n          python3.12 -m pip install setuptools --upgrade\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n      - name: Upgrade pip in Python3.12 (Windows)\n        run: |\n          py -3.12 -m pip install pip --upgrade \n          py -3.12 -m pip install setuptools --upgrade\n        if: ${{ matrix.os == 'windows-latest' }}\n      - name: Check Docker not Running\n        run: docker info\n        id: run-docker-info\n        continue-on-error: true\n      - name: Report failure\n        if: steps.run-docker-info.outcome == 'success'\n        run: exit 1\n      - name: Init samdev\n        run: make init\n      - name: Run tests without Docker\n        run: pytest -vv tests/integration/buildcmd/test_build_cmd.py -k TestBuildCommand_PythonFunctions_WithoutDocker\n", "state": "active", "repository": "aws/aws-sam-cli"}
{"mined_at": "2024-07-15T15:07:22.838256", "created_at": "2023-05-03T22:01:14+02:00", "updated_at": "2023-05-03T22:01:14+02:00", "name": "Close issues on release cut", "path": ".github/workflows/close-issue-on-release.yml", "contents": "name: Close issues on release cut\n\non:\n  release:\n    types: [released]\n\njobs:\n  run-workflow:\n    permissions:\n      issues: write\n    runs-on: ubuntu-latest\n    steps:\n    - name: Close issues marked\n      env:\n        REPO : ${{ github.repository }}\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        release_url=$(gh release view ${{ github.ref_name }} --repo $REPO --json url --jq \".url\")\n        for issue_number in $(gh issue list -l \"stage/waiting-for-release\" --repo $REPO --json number --jq \".[].number\"); do\n          gh issue close $issue_number -c \"Patch is released in [${{ github.ref_name }}]($release_url). Closing\" -r completed --repo $REPO\n        done\n", "state": "active", "repository": "aws/aws-sam-cli"}
{"mined_at": "2024-07-15T15:07:23.862041", "created_at": "2021-05-07T08:41:13+02:00", "updated_at": "2022-12-09T21:38:39+01:00", "name": "Close stale issues", "path": ".github/workflows/close-stale-issues.yml", "contents": "name: Close stale issues\n\n# Controls when the action will run.\non:\n  workflow_dispatch:\n  # schedule:\n  # # Uses UTC so it runs at 10PM PDT\n  # - cron: \"0 6 * * *\"\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    name: Stale issue job\n    permissions:\n      issues: write\n    steps:\n    - uses: aws-actions/stale-issue-cleanup@v6\n      with:\n        issue-types: issues\n      \n        # Setting messages to an empty string will cause the automation to skip\n        # that category\n        ancient-issue-message: |\n          This issue has not received any attention in 1 year.\n          If you want to keep this issue open, please leave a comment below and auto-close will be canceled.\n        stale-issue-message: |\n          This issue has not received a response in 14 days.\n          If you want to keep this issue open, please leave a comment below and auto-close will be canceled.\n        stale-pr-message: |\n          This PR has not received a response in 14 days.\n          If you want to keep this issue open, please leave a comment below and auto-close will be canceled.\n\n        # These labels are required\n        stale-issue-label: type/stale\n        exempt-issue-labels: no-autoclose, stage/needs-attention, type/feature, stage/needs-triage, type/bug, stage/needs-investigation, maintainer/need-followup, maintainer/need-response\n        stale-pr-label: blocked/close-if-inactive\n        exempt-pr-labels: no-autoclose, stage/needs-triage, blocked/pending-security-review\n        response-requested-label: blocked/more-info-needed\n\n        # Don't set this to not apply a label when closing issues\n        closed-for-staleness-label: stage/closed-for-inactivity\n\n        # Issue timing\n        days-before-stale: 14\n        days-before-close: 7\n        days-before-ancient: 365\n\n        # If you don't want to mark a issue as being ancient based on a\n        # threshold of \"upvotes\", you can set this here. An \"upvote\" is\n        # the total number of +1, heart, hooray, and rocket reactions\n        # on an issue.\n        minimum-upvotes-to-exempt: 1\n\n        # need a repo scope token here to make this action can trigger other github actions\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        loglevel: DEBUG\n        # Set dry-run to true to not perform label or close actions.\n        dry-run: true\n", "state": "active", "repository": "aws/aws-sam-cli"}
{"mined_at": "2024-07-15T15:07:24.917564", "created_at": "2021-05-07T08:41:13+02:00", "updated_at": "2021-05-07T08:41:13+02:00", "name": "Closed issue message", "path": ".github/workflows/closed-issue-message.yml", "contents": "name: Closed issue message\n\non:\n  issues:\n    types: [ closed ]\njobs:\n  auto_comment:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - uses: aws-actions/closed-issue-message@v1\n        with:\n          # These inputs are both required\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          message: |\n            ### ⚠️COMMENT VISIBILITY WARNING⚠️\n            Comments on closed issues are hard for our team to see.\n            If you need more assistance, please either tag a team member or open a new issue that references this one.\n            If you wish to keep having a conversation with other community members under this issue feel free to do so.", "state": "active", "repository": "aws/aws-sam-cli"}
{"mined_at": "2024-07-15T15:07:26.116966", "created_at": "2023-01-09T20:10:44+01:00", "updated_at": "2023-01-16T22:40:42+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"develop\", master, \"feat/*\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"develop\", \"feat/*\" ]\n  schedule:\n    - cron: '24 18 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    if: github.repository_owner == 'aws'\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n      statuses: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "aws/aws-sam-cli"}
{"mined_at": "2024-07-15T15:07:27.136786", "created_at": "2021-05-07T08:41:13+02:00", "updated_at": "2021-05-12T05:13:06+02:00", "name": "Add need attention label", "path": ".github/workflows/need-attention-label.yml", "contents": "name: Add need attention label\n\non:\n  issue_comment:\n    types: [created, edited]\n\njobs:\n  apply-label:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v7\n        # the login of our bot called 'sam-cli-bot'\n        if: github.event.sender.login != 'aws-sam-cli-stale-bot'\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            github.issues.addLabels({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              labels: ['stage/needs-attention']\n            })\n", "state": "disabled_manually", "repository": "aws/aws-sam-cli"}
{"mined_at": "2024-07-15T15:07:28.369458", "created_at": "2021-11-09T23:24:18+01:00", "updated_at": "2021-11-09T23:24:18+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/pr-labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n  pull_request_target:\n    types: [opened]\n\njobs:\n  apply-file-based-labels:\n    permissions:\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v5\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n  apply-internal-external-label:\n    needs: apply-file-based-labels\n    if: ${{ always() }}\n    permissions:\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v7\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const maintainers = [\n              'aws-sam-cli-bot',\n              'hawflau', 'mndeveci',\n              'mildaniel', 'marekaiv',\n              'lucashuy', 'hnnasit', 'jysheng123', 'bentvelj', 'sidhujus', 'dependabot[bot]'\n            ]\n            if (maintainers.includes(context.payload.sender.login)) {\n              github.rest.issues.addLabels({\n                issue_number: context.issue.number,\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                labels: ['pr/internal']\n              })\n            } else {\n              github.rest.issues.addLabels({\n                issue_number: context.issue.number,\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                labels: ['pr/external', 'stage/needs-triage']\n              })\n            }\n", "state": "active", "repository": "aws/aws-sam-cli"}
{"mined_at": "2024-07-15T15:07:29.469901", "created_at": "2023-10-03T18:37:07+02:00", "updated_at": "2023-10-03T18:37:07+02:00", "name": "test-m1-action", "path": ".github/workflows/test-m1.yml", "contents": null, "state": "active", "repository": "aws/aws-sam-cli"}
{"mined_at": "2024-07-15T15:07:30.723939", "created_at": "2023-08-02T13:33:10+02:00", "updated_at": "2023-08-03T20:09:02+02:00", "name": "Update reproducible requirements", "path": ".github/workflows/update-reproducibles.yml", "contents": "name: Update reproducible requirements\non:\n  pull_request:\n    branches: [develop]\n    paths:\n      # run this GHA if the following files have changed\n      - requirements/base.txt\n      - requirements/reproducible-linux.txt\n      - requirements/reproducible-mac.txt\n      - requirements/reproducible-win.txt\n\njobs:\n  update-reqs:\n    permissions:\n      pull-requests: write\n      contents: write\n    if: github.repository_owner == 'aws'\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: 3.11\n            target: update-reproducible-linux-reqs\n          - os: macos-latest\n            python: 3.8\n            target: update-reproducible-mac-reqs\n          - os: windows-latest\n            python: 3.11\n            target: update-reproducible-win-reqs\n      max-parallel: 1\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - run: make ${{ matrix.target }}\n      - name: Push changes\n        run: |\n          git config --global user.email \"action@github.com\"\n          git config --global user.name \"GitHub Action\"\n          git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\n          git commit -am \"Update reproducibles: ${{ matrix.target }}\" || echo \"nothing to commit\"\n          git push", "state": "active", "repository": "aws/aws-sam-cli"}
{"mined_at": "2024-07-15T15:07:31.851918", "created_at": "2022-12-15T02:58:28+01:00", "updated_at": "2024-07-05T00:32:59+02:00", "name": "Validate Pyinstaller Build", "path": ".github/workflows/validate_pyinstaller.yml", "contents": "name: Validate Pyinstaller Build\n\non:\n  pull_request:\n    branches:\n      - develop\n\nenv:\n  CI_OVERRIDE: \"1\"\n\njobs:\n  build-for-linux:\n    name: build-pyinstaller-linux\n    runs-on: ubuntu-latest\n    container: quay.io/pypa/manylinux2014_x86_64:latest\n    if: github.repository_owner == 'aws'\n    strategy:\n      fail-fast: false\n    steps:\n      # we need to keep checkout as v3 otherwise it doesn't work with manylinux image above\n      # due to glibc requirement from github actions \n      # see example failure: https://github.com/aws/aws-sam-cli/actions/runs/6102715182/job/16561754862?pr=5887\n      - uses: actions/checkout@v3\n      - name: Build PyInstaller\n        run: |\n          chmod +x ./installer/pyinstaller/build-linux.sh\n          ./installer/pyinstaller/build-linux.sh aws-sam-cli-linux-x86_64.zip\n      - name: Basic tests for PyInstaller\n        run: |\n          unzip .build/output/aws-sam-cli-linux-x86_64.zip -d sam-installation\n          ./sam-installation/install\n          sam-beta --version\n          ./tests/sanity-check.sh\n      - uses: actions/upload-artifact@v3\n        with:\n          name: pyinstaller-linux-zip\n          path: .build/output/aws-sam-cli-linux-x86_64.zip\n          retention-days: 15\n\n  build-for-mac:\n    name: build-pyinstaller-macos\n    runs-on: macos-latest\n    if: github.repository_owner == 'aws'\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n      - name: Build PyInstaller\n        run: |\n          chmod +x ./installer/pyinstaller/build-mac.sh\n          ./installer/pyinstaller/build-mac.sh aws-sam-cli-macos-x86_64.zip\n      - name: Basic tests for PyInstaller\n        env:\n          SAM_INIT_RUNTIME: \"python3.8\"\n        run: |\n          unzip .build/output/aws-sam-cli-macos-x86_64.zip -d sam-installation\n          sudo ./sam-installation/install\n          sam-beta --version\n          ./tests/sanity-check.sh\n      - uses: actions/upload-artifact@v4\n        with:\n          name: pyinstaller-macos-zip\n          path: .build/output/aws-sam-cli-macos-x86_64.zip\n          retention-days: 15\n", "state": "active", "repository": "aws/aws-sam-cli"}
{"mined_at": "2024-07-15T15:07:33.955609", "created_at": "2021-08-05T06:43:08+02:00", "updated_at": "2021-08-05T06:43:08+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  schedule:\n    - cron: '23 12 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "django-oscar/django-oscar"}
{"mined_at": "2024-07-15T15:07:35.128827", "created_at": "2020-12-04T13:39:00+01:00", "updated_at": "2020-12-04T13:39:00+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    name: Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        django-version: ['3.2', '4.0', '4.1', '4.2']\n    services:\n      postgres:\n        image: postgres:14\n        ports:\n          - 5432/tcp\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        pip install -e .[test]\n        pip install -r requirements.txt\n        pip install \"django~=${{ matrix.django-version }}.0\"\n    - name: Run tests\n      env:\n        DATABASE_USER: postgres\n        DATABASE_PASSWORD: postgres\n        DATABASE_HOST: localhost\n        DATABASE_PORT: ${{ job.services.postgres.ports[5432] }} # get randomly assigned published port\n      run: |\n        coverage run --parallel -m pytest -x\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4.4.1\n      with:\n        fail_ci_if_error: false\n  lint_python:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .[test]\n        pip install -r requirements.txt\n    - name: Run linters\n      run: make lint\n  lint_js:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up NodeJS\n      uses: actions/setup-node@v4\n      with:\n        node-version: '16'\n    - name: Install dependencies\n      run: |\n        npm ci\n    - name: Run linters\n      run: |\n        npm run eslint\n  sandbox:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Build sandbox\n      run: |\n        python -m pip install --upgrade pip\n        make sandbox\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Build docs\n      run: |\n        make docs\n", "state": "active", "repository": "django-oscar/django-oscar"}
{"mined_at": "2024-07-15T15:07:37.283836", "created_at": "2020-01-10T07:46:48+01:00", "updated_at": "2020-01-11T10:38:44+01:00", "name": "Build Test and Publish Nightly Packages", "path": "", "contents": null, "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:38.284266", "created_at": "2020-10-29T22:27:07+01:00", "updated_at": "2020-10-29T22:27:07+01:00", "name": "Deploy Documentation Changes", "path": ".github/workflows/docs.yml", "contents": "name: Deploy Documentation Changes\n\non:\n  push:\n    paths:\n      - \"docs/**\"\n\njobs:\n  deploy:\n    if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Trigger vercel deploy hook\n        run: curl -X POST ${{ secrets.VERCEL_DOC_DEPLOY_URL_HOOK }}\n", "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:39.435128", "created_at": "2023-09-29T01:39:47+02:00", "updated_at": "2024-02-28T20:33:03+01:00", "name": "Package Build Dry Run", "path": ".github/workflows/dryrun.yml", "contents": "name: Package Build Dry Run\n\non:\n  workflow_dispatch:\n    inputs: {}\n\njobs:\n  prep:\n    runs-on: ubuntu-latest\n    outputs:\n      branch: ${{ steps.whichver.outputs.branch }}\n\n\n      if_debian_buster_x86_64: ${{ steps.scm.outputs.if_debian_buster_x86_64 }}\n\n      if_debian_buster_aarch64: ${{ steps.scm.outputs.if_debian_buster_aarch64 }}\n\n      if_debian_bullseye_x86_64: ${{ steps.scm.outputs.if_debian_bullseye_x86_64 }}\n\n      if_debian_bullseye_aarch64: ${{ steps.scm.outputs.if_debian_bullseye_aarch64 }}\n\n      if_debian_bookworm_x86_64: ${{ steps.scm.outputs.if_debian_bookworm_x86_64 }}\n\n      if_debian_bookworm_aarch64: ${{ steps.scm.outputs.if_debian_bookworm_aarch64 }}\n\n      if_ubuntu_bionic_x86_64: ${{ steps.scm.outputs.if_ubuntu_bionic_x86_64 }}\n\n      if_ubuntu_bionic_aarch64: ${{ steps.scm.outputs.if_ubuntu_bionic_aarch64 }}\n\n      if_ubuntu_focal_x86_64: ${{ steps.scm.outputs.if_ubuntu_focal_x86_64 }}\n\n      if_ubuntu_focal_aarch64: ${{ steps.scm.outputs.if_ubuntu_focal_aarch64 }}\n\n      if_ubuntu_jammy_x86_64: ${{ steps.scm.outputs.if_ubuntu_jammy_x86_64 }}\n\n      if_ubuntu_jammy_aarch64: ${{ steps.scm.outputs.if_ubuntu_jammy_aarch64 }}\n\n      if_centos_8_x86_64: ${{ steps.scm.outputs.if_centos_8_x86_64 }}\n\n      if_centos_8_aarch64: ${{ steps.scm.outputs.if_centos_8_aarch64 }}\n\n      if_rockylinux_9_x86_64: ${{ steps.scm.outputs.if_rockylinux_9_x86_64 }}\n\n      if_rockylinux_9_aarch64: ${{ steps.scm.outputs.if_rockylinux_9_aarch64 }}\n\n      if_linux_x86_64: ${{ steps.scm.outputs.if_linux_x86_64 }}\n\n      if_linux_aarch64: ${{ steps.scm.outputs.if_linux_aarch64 }}\n\n      if_linuxmusl_x86_64: ${{ steps.scm.outputs.if_linuxmusl_x86_64 }}\n\n      if_linuxmusl_aarch64: ${{ steps.scm.outputs.if_linuxmusl_aarch64 }}\n\n      if_macos_x86_64: ${{ steps.scm.outputs.if_macos_x86_64 }}\n\n      if_macos_aarch64: ${{ steps.scm.outputs.if_macos_aarch64 }}\n\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Determine package version\n      shell: bash\n      run: |\n        branch=${GITHUB_REF#refs/heads/}\n        echo branch=\"${branch}\" >> $GITHUB_OUTPUT\n      id: whichver\n\n\n    - name: Determine SCM revision\n      id: scm\n      shell: bash\n      run: |\n        rev=$(git rev-parse HEAD)\n        jq_filter='.packages[] | select(.basename == \"edgedb-server\") | select(.architecture == $ARCH) | .version_details.metadata.scm_revision | . as $rev | select(($rev != null) and ($REV | startswith($rev)))'\n\n        val=true\n\n        idx_file=buster.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing debian-buster-x86_64'\n          val=false\n        fi\n\n        echo if_debian_buster_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=buster.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing debian-buster-aarch64'\n          val=false\n        fi\n\n        echo if_debian_buster_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=bullseye.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing debian-bullseye-x86_64'\n          val=false\n        fi\n\n        echo if_debian_bullseye_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=bullseye.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing debian-bullseye-aarch64'\n          val=false\n        fi\n\n        echo if_debian_bullseye_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=bookworm.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing debian-bookworm-x86_64'\n          val=false\n        fi\n\n        echo if_debian_bookworm_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=bookworm.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing debian-bookworm-aarch64'\n          val=false\n        fi\n\n        echo if_debian_bookworm_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=bionic.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing ubuntu-bionic-x86_64'\n          val=false\n        fi\n\n        echo if_ubuntu_bionic_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=bionic.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing ubuntu-bionic-aarch64'\n          val=false\n        fi\n\n        echo if_ubuntu_bionic_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=focal.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing ubuntu-focal-x86_64'\n          val=false\n        fi\n\n        echo if_ubuntu_focal_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=focal.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing ubuntu-focal-aarch64'\n          val=false\n        fi\n\n        echo if_ubuntu_focal_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=jammy.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing ubuntu-jammy-x86_64'\n          val=false\n        fi\n\n        echo if_ubuntu_jammy_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=jammy.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing ubuntu-jammy-aarch64'\n          val=false\n        fi\n\n        echo if_ubuntu_jammy_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=el8.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing centos-8-x86_64'\n          val=false\n        fi\n\n        echo if_centos_8_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=el8.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing centos-8-aarch64'\n          val=false\n        fi\n\n        echo if_centos_8_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=el9.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing rockylinux-9-x86_64'\n          val=false\n        fi\n\n        echo if_rockylinux_9_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=el9.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing rockylinux-9-aarch64'\n          val=false\n        fi\n\n        echo if_rockylinux_9_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-gnu.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing linux-x86_64'\n          val=false\n        fi\n\n        echo if_linux_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-gnu.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing linux-aarch64'\n          val=false\n        fi\n\n        echo if_linux_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-musl.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing linuxmusl-x86_64'\n          val=false\n        fi\n\n        echo if_linuxmusl_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-musl.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing linuxmusl-aarch64'\n          val=false\n        fi\n\n        echo if_linuxmusl_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-apple-darwin.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing macos-x86_64'\n          val=false\n        fi\n\n        echo if_macos_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-apple-darwin.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing macos-aarch64'\n          val=false\n        fi\n\n        echo if_macos_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n\n\n  build-debian-buster-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_debian_buster_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-buster@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n  build-debian-buster-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_debian_buster_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-buster@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n  build-debian-bullseye-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_debian_bullseye_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bullseye@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n  build-debian-bullseye-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_debian_bullseye_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bullseye@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n  build-debian-bookworm-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_debian_bookworm_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bookworm@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n  build-debian-bookworm-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_debian_bookworm_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bookworm@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n  build-ubuntu-bionic-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_ubuntu_bionic_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-bionic@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n  build-ubuntu-bionic-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_ubuntu_bionic_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-bionic@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n  build-ubuntu-focal-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_ubuntu_focal_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-focal@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n  build-ubuntu-focal-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_ubuntu_focal_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-focal@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n  build-ubuntu-jammy-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_ubuntu_jammy_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-jammy@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n  build-ubuntu-jammy-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_ubuntu_jammy_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-jammy@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n  build-centos-8-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_centos_8_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/centos-8@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n  build-centos-8-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_centos_8_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/centos-8@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n  build-rockylinux-9-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_rockylinux_9_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/rockylinux-9@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n  build-rockylinux-9-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_rockylinux_9_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/rockylinux-9@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n  build-linux-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_linux_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linux-x86_64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_GENERIC: true\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n  build-linux-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_linux_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linux-aarch64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_GENERIC: true\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n  build-linuxmusl-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_linuxmusl_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linuxmusl-x86_64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_GENERIC: true\n        PKG_PLATFORM_LIBC: \"musl\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n  build-linuxmusl-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_linuxmusl_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linuxmusl-aarch64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_GENERIC: true\n        PKG_PLATFORM_LIBC: \"musl\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n  build-macos-x86_64:\n    runs-on: ['macos-13']\n    needs: prep\n\n    if: needs.prep.outputs.if_macos_x86_64 == 'true'\n\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Install Rust toolchain\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      if: true\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n        targets: \"x86_64-apple-darwin\"\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      if: true\n      with:\n        python-version: \"3.x\"\n\n    - name: Set up NodeJS\n      uses: actions/setup-node@v4\n      if: true\n      with:\n        node-version: '20'\n\n    - name: Install dependencies\n      if: true\n      run: |\n        env HOMEBREW_NO_AUTO_UPDATE=1 brew install libmagic\n\n    - name: Build\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_ARCH: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n        BUILD_GENERIC: true\n      run: |\n        edgedb-pkg/integration/macos/build.sh\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n  build-macos-aarch64:\n    runs-on: ['macos-14']\n    needs: prep\n\n    if: needs.prep.outputs.if_macos_aarch64 == 'true'\n\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Install Rust toolchain\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      if: true\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n        targets: \"aarch64-apple-darwin\"\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      if: true\n      with:\n        python-version: \"3.x\"\n\n    - name: Set up NodeJS\n      uses: actions/setup-node@v4\n      if: true\n      with:\n        node-version: '20'\n\n    - name: Install dependencies\n      if: true\n      run: |\n        env HOMEBREW_NO_AUTO_UPDATE=1 brew install libmagic\n\n    - name: Build\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_ARCH: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n        BUILD_GENERIC: true\n      run: |\n        edgedb-pkg/integration/macos/build.sh\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n  test-debian-buster-x86_64:\n    needs: [build-debian-buster-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-buster@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-buster-aarch64:\n    needs: [build-debian-buster-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-buster@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bullseye-x86_64:\n    needs: [build-debian-bullseye-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bullseye@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bullseye-aarch64:\n    needs: [build-debian-bullseye-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bullseye@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bookworm-x86_64:\n    needs: [build-debian-bookworm-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bookworm@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bookworm-aarch64:\n    needs: [build-debian-bookworm-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bookworm@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-bionic-x86_64:\n    needs: [build-ubuntu-bionic-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-bionic@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-bionic-aarch64:\n    needs: [build-ubuntu-bionic-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-bionic@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-focal-x86_64:\n    needs: [build-ubuntu-focal-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-focal@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-focal-aarch64:\n    needs: [build-ubuntu-focal-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-focal@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-jammy-x86_64:\n    needs: [build-ubuntu-jammy-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-jammy@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-jammy-aarch64:\n    needs: [build-ubuntu-jammy-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-jammy@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-centos-8-x86_64:\n    needs: [build-centos-8-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/centos-8@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-centos-8-aarch64:\n    needs: [build-centos-8-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/centos-8@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-rockylinux-9-x86_64:\n    needs: [build-rockylinux-9-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/rockylinux-9@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-rockylinux-9-aarch64:\n    needs: [build-rockylinux-9-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/rockylinux-9@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linux-x86_64:\n    needs: [build-linux-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linux-aarch64:\n    needs: [build-linux-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linux-aarch64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linuxmusl-x86_64:\n    needs: [build-linuxmusl-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linuxmusl-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linuxmusl-aarch64:\n    needs: [build-linuxmusl-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linuxmusl-aarch64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-macos-x86_64:\n    needs: [build-macos-x86_64]\n    runs-on: ['macos-13']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n    - name: Test\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        # Run fewer tests on x86_64, since the test runner is very slow.\n        PKG_TEST_FILES: \"test_dump*.py test_backend_*.py test_database.py test_server_*.py test_edgeql_ddl.py test_session.py\"\n      run: |\n        # Bump shmmax and shmall to avoid test failures.\n        sudo sysctl -w kern.sysv.shmmax=12582912\n        sudo sysctl -w kern.sysv.shmall=12582912\n        edgedb-pkg/integration/macos/test.sh\n\n  test-macos-aarch64:\n    needs: [build-macos-aarch64]\n    runs-on: ['macos-14']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n    - name: Test\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n      run: |\n        edgedb-pkg/integration/macos/test.sh\n\n  workflow-notifications:\n    if: failure() && github.event_name != 'pull_request'\n    name: Notify in Slack on failures\n\n    needs:\n      - prep\n      - build-debian-buster-x86_64\n      - test-debian-buster-x86_64\n      - build-debian-buster-aarch64\n      - test-debian-buster-aarch64\n      - build-debian-bullseye-x86_64\n      - test-debian-bullseye-x86_64\n      - build-debian-bullseye-aarch64\n      - test-debian-bullseye-aarch64\n      - build-debian-bookworm-x86_64\n      - test-debian-bookworm-x86_64\n      - build-debian-bookworm-aarch64\n      - test-debian-bookworm-aarch64\n      - build-ubuntu-bionic-x86_64\n      - test-ubuntu-bionic-x86_64\n      - build-ubuntu-bionic-aarch64\n      - test-ubuntu-bionic-aarch64\n      - build-ubuntu-focal-x86_64\n      - test-ubuntu-focal-x86_64\n      - build-ubuntu-focal-aarch64\n      - test-ubuntu-focal-aarch64\n      - build-ubuntu-jammy-x86_64\n      - test-ubuntu-jammy-x86_64\n      - build-ubuntu-jammy-aarch64\n      - test-ubuntu-jammy-aarch64\n      - build-centos-8-x86_64\n      - test-centos-8-x86_64\n      - build-centos-8-aarch64\n      - test-centos-8-aarch64\n      - build-rockylinux-9-x86_64\n      - test-rockylinux-9-x86_64\n      - build-rockylinux-9-aarch64\n      - test-rockylinux-9-aarch64\n      - build-linux-x86_64\n      - test-linux-x86_64\n      - build-linux-aarch64\n      - test-linux-aarch64\n      - build-linuxmusl-x86_64\n      - test-linuxmusl-x86_64\n      - build-linuxmusl-aarch64\n      - test-linuxmusl-aarch64\n      - build-macos-x86_64\n      - test-macos-x86_64\n      - build-macos-aarch64\n      - test-macos-aarch64\n    runs-on: ubuntu-latest\n    permissions:\n      actions: 'read'\n    steps:\n      - name: Slack Workflow Notification\n        uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309\n        with:\n          repo_token: ${{secrets.GITHUB_TOKEN}}\n          slack_webhook_url: ${{secrets.ACTIONS_SLACK_WEBHOOK_URL}}\n          name: 'Workflow notifications'\n          icon_emoji: ':hammer:'\n          include_jobs: 'on-failure'\n", "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:40.556211", "created_at": "2024-05-23T20:29:00+02:00", "updated_at": "2024-05-23T20:29:00+02:00", "name": "edgedb-ls: Build and Publish Nightly Packages", "path": ".github/workflows/ls-nightly.yml", "contents": "name: 'edgedb-ls: Build and Publish Nightly Packages'\n\non:\n  schedule:\n    - cron: \"0 1 * * *\"\n  workflow_dispatch:\n    inputs: {}\n  push:\n    branches:\n      - nightly\n\njobs:\n  prep:\n    runs-on: ubuntu-latest\n    outputs:\n      branch: ${{ steps.whichver.outputs.branch }}\n\n\n      if_linux_x86_64: ${{ steps.scm.outputs.if_linux_x86_64 }}\n\n      if_linux_aarch64: ${{ steps.scm.outputs.if_linux_aarch64 }}\n\n      if_linuxmusl_x86_64: ${{ steps.scm.outputs.if_linuxmusl_x86_64 }}\n\n      if_linuxmusl_aarch64: ${{ steps.scm.outputs.if_linuxmusl_aarch64 }}\n\n      if_macos_x86_64: ${{ steps.scm.outputs.if_macos_x86_64 }}\n\n      if_macos_aarch64: ${{ steps.scm.outputs.if_macos_aarch64 }}\n\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Determine package version\n      shell: bash\n      run: |\n        branch=${GITHUB_REF#refs/heads/}\n        echo branch=\"${branch}\" >> $GITHUB_OUTPUT\n      id: whichver\n\n\n    - name: Determine SCM revision\n      id: scm\n      shell: bash\n      run: |\n        rev=$(git rev-parse HEAD)\n        jq_filter='.packages[] | select(.basename == \"edgedb-server\") | select(.architecture == $ARCH) | .version_details.metadata.scm_revision | . as $rev | select(($rev != null) and ($REV | startswith($rev)))'\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-gnu.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing linux-x86_64'\n          val=false\n        fi\n\n        echo if_linux_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-gnu.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing linux-aarch64'\n          val=false\n        fi\n\n        echo if_linux_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-musl.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing linuxmusl-x86_64'\n          val=false\n        fi\n\n        echo if_linuxmusl_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-musl.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing linuxmusl-aarch64'\n          val=false\n        fi\n\n        echo if_linuxmusl_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-apple-darwin.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing macos-x86_64'\n          val=false\n        fi\n\n        echo if_macos_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-apple-darwin.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing macos-aarch64'\n          val=false\n        fi\n\n        echo if_macos_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n\n\n  build-linux-x86_64:\n    runs-on: ['self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_linux_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linux-x86_64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_GENERIC: true\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n  build-linux-aarch64:\n    runs-on: ['self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_linux_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linux-aarch64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_GENERIC: true\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n  build-linuxmusl-x86_64:\n    runs-on: ['self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_linuxmusl_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linuxmusl-x86_64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_GENERIC: true\n        PKG_PLATFORM_LIBC: \"musl\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n  build-linuxmusl-aarch64:\n    runs-on: ['self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_linuxmusl_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linuxmusl-aarch64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_GENERIC: true\n        PKG_PLATFORM_LIBC: \"musl\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n  build-macos-x86_64:\n    runs-on: ['macos-13']\n    needs: prep\n\n    if: needs.prep.outputs.if_macos_x86_64 == 'true'\n\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Install Rust toolchain\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      if: true\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n        targets: \"x86_64-apple-darwin\"\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      if: true\n      with:\n        python-version: \"3.x\"\n\n    - name: Set up NodeJS\n      uses: actions/setup-node@v4\n      if: true\n      with:\n        node-version: '20'\n\n    - name: Install dependencies\n      if: true\n      run: |\n        env HOMEBREW_NO_AUTO_UPDATE=1 brew install libmagic\n\n    - name: Build\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_ARCH: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n        BUILD_GENERIC: true\n      run: |\n        edgedb-pkg/integration/macos/build.sh\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n  build-macos-aarch64:\n    runs-on: ['macos-14']\n    needs: prep\n\n    if: needs.prep.outputs.if_macos_aarch64 == 'true'\n\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Install Rust toolchain\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      if: true\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n        targets: \"aarch64-apple-darwin\"\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      if: true\n      with:\n        python-version: \"3.x\"\n\n    - name: Set up NodeJS\n      uses: actions/setup-node@v4\n      if: true\n      with:\n        node-version: '20'\n\n    - name: Install dependencies\n      if: true\n      run: |\n        env HOMEBREW_NO_AUTO_UPDATE=1 brew install libmagic\n\n    - name: Build\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_ARCH: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n        BUILD_GENERIC: true\n      run: |\n        edgedb-pkg/integration/macos/build.sh\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n  publish-linux-x86_64:\n    needs: [build-linux-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linux-x86_64:\n    needs: [publish-linux-x86_64]\n    runs-on: ['self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linux-x86_64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linux-x86_64@master\n      env:\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linux-aarch64:\n    needs: [build-linux-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linux-aarch64:\n    needs: [publish-linux-aarch64]\n    runs-on: ['self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linux-aarch64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linux-aarch64@master\n      env:\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linuxmusl-x86_64:\n    needs: [build-linuxmusl-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linuxmusl-x86_64:\n    needs: [publish-linuxmusl-x86_64]\n    runs-on: ['self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linuxmusl-x86_64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linuxmusl-x86_64@master\n      env:\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linuxmusl-aarch64:\n    needs: [build-linuxmusl-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linuxmusl-aarch64:\n    needs: [publish-linuxmusl-aarch64]\n    runs-on: ['self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linuxmusl-aarch64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linuxmusl-aarch64@master\n      env:\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-macos-x86_64:\n    needs: [build-macos-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: macos-x86_64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  publish-macos-aarch64:\n    needs: [build-macos-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: macos-aarch64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE: edgedbpkg.edgedb_ls:EdgeDBLanguageServer\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  workflow-notifications:\n    if: failure() && github.event_name != 'pull_request'\n    name: Notify in Slack on failures\n\n    needs:\n      - prep\n      - build-linux-x86_64\n      - publish-linux-x86_64\n      - check-published-linux-x86_64\n      - build-linux-aarch64\n      - publish-linux-aarch64\n      - check-published-linux-aarch64\n      - build-linuxmusl-x86_64\n      - publish-linuxmusl-x86_64\n      - check-published-linuxmusl-x86_64\n      - build-linuxmusl-aarch64\n      - publish-linuxmusl-aarch64\n      - check-published-linuxmusl-aarch64\n      - build-macos-x86_64\n      - publish-macos-x86_64\n      - build-macos-aarch64\n      - publish-macos-aarch64\n    runs-on: ubuntu-latest\n    permissions:\n      actions: 'read'\n    steps:\n      - name: Slack Workflow Notification\n        uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309\n        with:\n          repo_token: ${{secrets.GITHUB_TOKEN}}\n          slack_webhook_url: ${{secrets.ACTIONS_SLACK_WEBHOOK_URL}}\n          name: 'Workflow notifications'\n          icon_emoji: ':hammer:'\n          include_jobs: 'on-failure'\n", "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:41.675814", "created_at": "2019-12-19T02:22:32+01:00", "updated_at": "2024-02-28T21:56:12+01:00", "name": "Build Test and Publish Nightly Packages", "path": ".github/workflows/nightly.yml", "contents": "name: Build Test and Publish Nightly Packages\n\non:\n  schedule:\n    - cron: \"0 1 * * *\"\n  workflow_dispatch:\n    inputs: {}\n  push:\n    branches:\n      - nightly\n\njobs:\n  prep:\n    runs-on: ubuntu-latest\n    outputs:\n      branch: ${{ steps.whichver.outputs.branch }}\n\n\n      if_debian_buster_x86_64: ${{ steps.scm.outputs.if_debian_buster_x86_64 }}\n\n      if_debian_buster_aarch64: ${{ steps.scm.outputs.if_debian_buster_aarch64 }}\n\n      if_debian_bullseye_x86_64: ${{ steps.scm.outputs.if_debian_bullseye_x86_64 }}\n\n      if_debian_bullseye_aarch64: ${{ steps.scm.outputs.if_debian_bullseye_aarch64 }}\n\n      if_debian_bookworm_x86_64: ${{ steps.scm.outputs.if_debian_bookworm_x86_64 }}\n\n      if_debian_bookworm_aarch64: ${{ steps.scm.outputs.if_debian_bookworm_aarch64 }}\n\n      if_ubuntu_bionic_x86_64: ${{ steps.scm.outputs.if_ubuntu_bionic_x86_64 }}\n\n      if_ubuntu_bionic_aarch64: ${{ steps.scm.outputs.if_ubuntu_bionic_aarch64 }}\n\n      if_ubuntu_focal_x86_64: ${{ steps.scm.outputs.if_ubuntu_focal_x86_64 }}\n\n      if_ubuntu_focal_aarch64: ${{ steps.scm.outputs.if_ubuntu_focal_aarch64 }}\n\n      if_ubuntu_jammy_x86_64: ${{ steps.scm.outputs.if_ubuntu_jammy_x86_64 }}\n\n      if_ubuntu_jammy_aarch64: ${{ steps.scm.outputs.if_ubuntu_jammy_aarch64 }}\n\n      if_centos_8_x86_64: ${{ steps.scm.outputs.if_centos_8_x86_64 }}\n\n      if_centos_8_aarch64: ${{ steps.scm.outputs.if_centos_8_aarch64 }}\n\n      if_rockylinux_9_x86_64: ${{ steps.scm.outputs.if_rockylinux_9_x86_64 }}\n\n      if_rockylinux_9_aarch64: ${{ steps.scm.outputs.if_rockylinux_9_aarch64 }}\n\n      if_linux_x86_64: ${{ steps.scm.outputs.if_linux_x86_64 }}\n\n      if_linux_aarch64: ${{ steps.scm.outputs.if_linux_aarch64 }}\n\n      if_linuxmusl_x86_64: ${{ steps.scm.outputs.if_linuxmusl_x86_64 }}\n\n      if_linuxmusl_aarch64: ${{ steps.scm.outputs.if_linuxmusl_aarch64 }}\n\n      if_macos_x86_64: ${{ steps.scm.outputs.if_macos_x86_64 }}\n\n      if_macos_aarch64: ${{ steps.scm.outputs.if_macos_aarch64 }}\n\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Determine package version\n      shell: bash\n      run: |\n        branch=${GITHUB_REF#refs/heads/}\n        echo branch=\"${branch}\" >> $GITHUB_OUTPUT\n      id: whichver\n\n\n    - name: Determine SCM revision\n      id: scm\n      shell: bash\n      run: |\n        rev=$(git rev-parse HEAD)\n        jq_filter='.packages[] | select(.basename == \"edgedb-server\") | select(.architecture == $ARCH) | .version_details.metadata.scm_revision | . as $rev | select(($rev != null) and ($REV | startswith($rev)))'\n\n        val=true\n\n        idx_file=buster.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing debian-buster-x86_64'\n          val=false\n        fi\n\n        echo if_debian_buster_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=buster.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing debian-buster-aarch64'\n          val=false\n        fi\n\n        echo if_debian_buster_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=bullseye.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing debian-bullseye-x86_64'\n          val=false\n        fi\n\n        echo if_debian_bullseye_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=bullseye.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing debian-bullseye-aarch64'\n          val=false\n        fi\n\n        echo if_debian_bullseye_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=bookworm.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing debian-bookworm-x86_64'\n          val=false\n        fi\n\n        echo if_debian_bookworm_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=bookworm.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing debian-bookworm-aarch64'\n          val=false\n        fi\n\n        echo if_debian_bookworm_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=bionic.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing ubuntu-bionic-x86_64'\n          val=false\n        fi\n\n        echo if_ubuntu_bionic_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=bionic.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing ubuntu-bionic-aarch64'\n          val=false\n        fi\n\n        echo if_ubuntu_bionic_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=focal.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing ubuntu-focal-x86_64'\n          val=false\n        fi\n\n        echo if_ubuntu_focal_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=focal.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing ubuntu-focal-aarch64'\n          val=false\n        fi\n\n        echo if_ubuntu_focal_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=jammy.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing ubuntu-jammy-x86_64'\n          val=false\n        fi\n\n        echo if_ubuntu_jammy_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=jammy.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing ubuntu-jammy-aarch64'\n          val=false\n        fi\n\n        echo if_ubuntu_jammy_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=el8.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing centos-8-x86_64'\n          val=false\n        fi\n\n        echo if_centos_8_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=el8.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing centos-8-aarch64'\n          val=false\n        fi\n\n        echo if_centos_8_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=el9.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing rockylinux-9-x86_64'\n          val=false\n        fi\n\n        echo if_rockylinux_9_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        idx_file=el9.nightly.json\n        if [ ! -e \"/tmp/$idx_file\" ]; then\n          curl -s https://packages.edgedb.com/rpm/.jsonindexes/$idx_file > /tmp/$idx_file\n        fi\n        out=$(cat /tmp/$idx_file | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing rockylinux-9-aarch64'\n          val=false\n        fi\n\n        echo if_rockylinux_9_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-gnu.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing linux-x86_64'\n          val=false\n        fi\n\n        echo if_linux_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-gnu.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing linux-aarch64'\n          val=false\n        fi\n\n        echo if_linux_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-unknown-linux-musl.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing linuxmusl-x86_64'\n          val=false\n        fi\n\n        echo if_linuxmusl_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-unknown-linux-musl.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing linuxmusl-aarch64'\n          val=false\n        fi\n\n        echo if_linuxmusl_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/x86_64-apple-darwin.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"x86_64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing macos-x86_64'\n          val=false\n        fi\n\n        echo if_macos_x86_64=\"$val\" >> $GITHUB_OUTPUT\n\n        val=true\n\n        out=$(curl -s https://packages.edgedb.com/archive/.jsonindexes/aarch64-apple-darwin.nightly.json | jq -r --arg REV \"$rev\" --arg ARCH \"aarch64\" \"$jq_filter\")\n        if [ -n \"$out\" ]; then\n          echo 'Skip rebuilding existing macos-aarch64'\n          val=false\n        fi\n\n        echo if_macos_aarch64=\"$val\" >> $GITHUB_OUTPUT\n\n\n\n  build-debian-buster-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_debian_buster_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-buster@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n  build-debian-buster-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_debian_buster_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-buster@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n  build-debian-bullseye-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_debian_bullseye_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bullseye@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n  build-debian-bullseye-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_debian_bullseye_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bullseye@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n  build-debian-bookworm-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_debian_bookworm_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bookworm@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n  build-debian-bookworm-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_debian_bookworm_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bookworm@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n  build-ubuntu-bionic-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_ubuntu_bionic_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-bionic@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n  build-ubuntu-bionic-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_ubuntu_bionic_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-bionic@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n  build-ubuntu-focal-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_ubuntu_focal_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-focal@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n  build-ubuntu-focal-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_ubuntu_focal_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-focal@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n  build-ubuntu-jammy-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_ubuntu_jammy_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-jammy@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n  build-ubuntu-jammy-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_ubuntu_jammy_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-jammy@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n  build-centos-8-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_centos_8_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/centos-8@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n  build-centos-8-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_centos_8_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/centos-8@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n  build-rockylinux-9-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_rockylinux_9_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/rockylinux-9@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n  build-rockylinux-9-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_rockylinux_9_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/rockylinux-9@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n  build-linux-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_linux_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linux-x86_64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_GENERIC: true\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n  build-linux-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_linux_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linux-aarch64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_GENERIC: true\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n  build-linuxmusl-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n    if: needs.prep.outputs.if_linuxmusl_x86_64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linuxmusl-x86_64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_GENERIC: true\n        PKG_PLATFORM_LIBC: \"musl\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n  build-linuxmusl-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n    if: needs.prep.outputs.if_linuxmusl_aarch64 == 'true'\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linuxmusl-aarch64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_GENERIC: true\n        PKG_PLATFORM_LIBC: \"musl\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n  build-macos-x86_64:\n    runs-on: ['macos-13']\n    needs: prep\n\n    if: needs.prep.outputs.if_macos_x86_64 == 'true'\n\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Install Rust toolchain\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      if: true\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n        targets: \"x86_64-apple-darwin\"\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      if: true\n      with:\n        python-version: \"3.x\"\n\n    - name: Set up NodeJS\n      uses: actions/setup-node@v4\n      if: true\n      with:\n        node-version: '20'\n\n    - name: Install dependencies\n      if: true\n      run: |\n        env HOMEBREW_NO_AUTO_UPDATE=1 brew install libmagic\n\n    - name: Build\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_ARCH: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n        BUILD_GENERIC: true\n      run: |\n        edgedb-pkg/integration/macos/build.sh\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n  build-macos-aarch64:\n    runs-on: ['macos-14']\n    needs: prep\n\n    if: needs.prep.outputs.if_macos_aarch64 == 'true'\n\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Install Rust toolchain\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      if: true\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n        targets: \"aarch64-apple-darwin\"\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      if: true\n      with:\n        python-version: \"3.x\"\n\n    - name: Set up NodeJS\n      uses: actions/setup-node@v4\n      if: true\n      with:\n        node-version: '20'\n\n    - name: Install dependencies\n      if: true\n      run: |\n        env HOMEBREW_NO_AUTO_UPDATE=1 brew install libmagic\n\n    - name: Build\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_ARCH: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n        BUILD_GENERIC: true\n      run: |\n        edgedb-pkg/integration/macos/build.sh\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n  test-debian-buster-x86_64:\n    needs: [build-debian-buster-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-buster@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-buster-aarch64:\n    needs: [build-debian-buster-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-buster@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bullseye-x86_64:\n    needs: [build-debian-bullseye-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bullseye@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bullseye-aarch64:\n    needs: [build-debian-bullseye-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bullseye@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bookworm-x86_64:\n    needs: [build-debian-bookworm-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bookworm@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bookworm-aarch64:\n    needs: [build-debian-bookworm-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bookworm@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-bionic-x86_64:\n    needs: [build-ubuntu-bionic-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-bionic@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-bionic-aarch64:\n    needs: [build-ubuntu-bionic-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-bionic@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-focal-x86_64:\n    needs: [build-ubuntu-focal-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-focal@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-focal-aarch64:\n    needs: [build-ubuntu-focal-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-focal@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-jammy-x86_64:\n    needs: [build-ubuntu-jammy-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-jammy@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-jammy-aarch64:\n    needs: [build-ubuntu-jammy-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-jammy@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-centos-8-x86_64:\n    needs: [build-centos-8-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/centos-8@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-centos-8-aarch64:\n    needs: [build-centos-8-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/centos-8@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-rockylinux-9-x86_64:\n    needs: [build-rockylinux-9-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/rockylinux-9@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-rockylinux-9-aarch64:\n    needs: [build-rockylinux-9-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/rockylinux-9@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linux-x86_64:\n    needs: [build-linux-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linux-aarch64:\n    needs: [build-linux-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linux-aarch64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linuxmusl-x86_64:\n    needs: [build-linuxmusl-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linuxmusl-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linuxmusl-aarch64:\n    needs: [build-linuxmusl-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linuxmusl-aarch64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-macos-x86_64:\n    needs: [build-macos-x86_64]\n    runs-on: ['macos-13']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n    - name: Test\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        # Run fewer tests on x86_64, since the test runner is very slow.\n        PKG_TEST_FILES: \"test_dump*.py test_backend_*.py test_database.py test_server_*.py test_edgeql_ddl.py test_session.py\"\n      run: |\n        # Bump shmmax and shmall to avoid test failures.\n        sudo sysctl -w kern.sysv.shmmax=12582912\n        sudo sysctl -w kern.sysv.shmall=12582912\n        edgedb-pkg/integration/macos/test.sh\n\n  test-macos-aarch64:\n    needs: [build-macos-aarch64]\n    runs-on: ['macos-14']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n    - name: Test\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n      run: |\n        edgedb-pkg/integration/macos/test.sh\n\n  publish-debian-buster-x86_64:\n    needs: [test-debian-buster-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-buster-x86_64:\n    needs: [publish-debian-buster-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-buster\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-buster@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-buster-aarch64:\n    needs: [test-debian-buster-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-buster-aarch64:\n    needs: [publish-debian-buster-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-buster\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-buster@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-bullseye-x86_64:\n    needs: [test-debian-bullseye-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-bullseye-x86_64:\n    needs: [publish-debian-bullseye-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-bullseye\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-bullseye@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-bullseye-aarch64:\n    needs: [test-debian-bullseye-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-bullseye-aarch64:\n    needs: [publish-debian-bullseye-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-bullseye\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-bullseye@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-bookworm-x86_64:\n    needs: [test-debian-bookworm-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-bookworm-x86_64:\n    needs: [publish-debian-bookworm-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-bookworm\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-bookworm@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-bookworm-aarch64:\n    needs: [test-debian-bookworm-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-bookworm-aarch64:\n    needs: [publish-debian-bookworm-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-bookworm\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-bookworm@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-bionic-x86_64:\n    needs: [test-ubuntu-bionic-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-bionic-x86_64:\n    needs: [publish-ubuntu-bionic-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-bionic\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-bionic@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-bionic-aarch64:\n    needs: [test-ubuntu-bionic-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-bionic-aarch64:\n    needs: [publish-ubuntu-bionic-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-bionic\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-bionic@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-focal-x86_64:\n    needs: [test-ubuntu-focal-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-focal-x86_64:\n    needs: [publish-ubuntu-focal-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-focal\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-focal@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-focal-aarch64:\n    needs: [test-ubuntu-focal-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-focal-aarch64:\n    needs: [publish-ubuntu-focal-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-focal\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-focal@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-jammy-x86_64:\n    needs: [test-ubuntu-jammy-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-jammy-x86_64:\n    needs: [publish-ubuntu-jammy-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-jammy\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-jammy@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-jammy-aarch64:\n    needs: [test-ubuntu-jammy-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-jammy-aarch64:\n    needs: [publish-ubuntu-jammy-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-jammy\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-jammy@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-centos-8-x86_64:\n    needs: [test-centos-8-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-centos-8-x86_64:\n    needs: [publish-centos-8-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: centos-8\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/centos-8@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-centos-8-aarch64:\n    needs: [test-centos-8-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-centos-8-aarch64:\n    needs: [publish-centos-8-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: centos-8\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/centos-8@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-rockylinux-9-x86_64:\n    needs: [test-rockylinux-9-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-rockylinux-9-x86_64:\n    needs: [publish-rockylinux-9-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: rockylinux-9\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/rockylinux-9@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-rockylinux-9-aarch64:\n    needs: [test-rockylinux-9-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-rockylinux-9-aarch64:\n    needs: [publish-rockylinux-9-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: rockylinux-9\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/rockylinux-9@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linux-x86_64:\n    needs: [test-linux-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linux-x86_64:\n    needs: [publish-linux-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linux-x86_64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linux-x86_64@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linux-aarch64:\n    needs: [test-linux-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linux-aarch64:\n    needs: [publish-linux-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linux-aarch64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linux-aarch64@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linuxmusl-x86_64:\n    needs: [test-linuxmusl-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linuxmusl-x86_64:\n    needs: [publish-linuxmusl-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linuxmusl-x86_64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linuxmusl-x86_64@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linuxmusl-aarch64:\n    needs: [test-linuxmusl-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linuxmusl-aarch64:\n    needs: [publish-linuxmusl-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linuxmusl-aarch64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linuxmusl-aarch64@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"nightly\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-macos-x86_64:\n    needs: [test-macos-x86_64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: macos-x86_64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  publish-macos-aarch64:\n    needs: [test-macos-aarch64]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: macos-aarch64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"nightly\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  publish-docker:\n    needs:\n      - check-published-debian-buster-x86_64\n      - check-published-debian-buster-aarch64\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-docker\n        ref: master\n        path: dockerfile\n\n    - env:\n        VERSION_SLOT: \"${{ needs.check-published-debian-buster-x86_64.outputs.version-slot }}\"\n        VERSION_CORE: \"${{ needs.check-published-debian-buster-x86_64.outputs.version-core }}\"\n        PKG_SUBDIST: \"nightly\"\n      id: tags\n      run: |\n        set -e\n\n        url='https://registry.hub.docker.com/v2/repositories/edgedb/edgedb/tags?page_size=100'\n        repo_tags=$(\n          while [ -n \"$url\" ]; do\n            resp=$(curl -L -s \"$url\")\n            url=$(echo \"$resp\" | jq -r \".next\")\n            if [ \"$url\" = \"null\" ] || [ -z \"$url\" ]; then\n              break\n            fi\n            echo \"$resp\" | jq -r '.\"results\"[][\"name\"]'\n          done | grep \"^[[:digit:]]\\+.*\" | grep -v \"alpha\\|beta\\|rc\" || :\n        )\n\n        tags=( \"$VERSION_CORE\" )\n\n        top=$(printf \"%s\\n%s\\n\" \"$VERSION_CORE\" \"$repo_tags\" \\\n              | grep \"^${VERSION_SLOT}[\\.-]\" \\\n              | sort --version-sort --reverse | head -n 1)\n        if [ \"$top\" == \"$VERSION_CORE\" ]; then\n          tags+=( \"$VERSION_SLOT\" )\n        fi\n\n        if [ -z \"$PKG_SUBDIST\" ]; then\n          top=$(printf \"%s\\n%s\\n\" \"$VERSION_CORE\" \"$repo_tags\" \\\n                | sort --version-sort --reverse | head -n 1)\n          if [ \"$top\" == \"$VERSION_CORE\" ]; then\n            tags+=( \"latest\" )\n          fi\n        fi\n\n        IFS=,\n        echo \"tags=${tags[*]}\" >> $GITHUB_OUTPUT\n\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v2\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345  # v3\n\n    - name: Publish Docker Image (docker.io)\n      uses: elgohr/Publish-Docker-Github-Action@43dc228e327224b2eda11c8883232afd5b34943b  # v5\n      with:\n        name: edgedb/edgedb\n        username: ${{ secrets.DOCKER_USERNAME }}\n        password: ${{ secrets.DOCKER_PASSWORD }}\n        tags: \"nightly,nightly_${{ needs.check-published-debian-buster-x86_64.outputs.version-slot }}_cv${{ needs.check-published-debian-buster-x86_64.outputs.catalog-version }}\"\n        workdir: dockerfile\n        buildargs: version=${{ needs.check-published-debian-buster-x86_64.outputs.version-slot }},exact_version=${{ needs.check-published-debian-buster-x86_64.outputs.version-core }},subdist=nightly\n        platforms: linux/amd64,linux/arm64\n\n    - name: Publish Docker Image (ghcr.io)\n      uses: elgohr/Publish-Docker-Github-Action@43dc228e327224b2eda11c8883232afd5b34943b  # v5\n      with:\n        registry: ghcr.io\n        name: ${{ github.repository }}\n        username: \"edgedb-ci\"\n        password: ${{ secrets.GITHUB_CI_BOT_TOKEN }}\n        tags: \"nightly,nightly_${{ needs.check-published-debian-buster-x86_64.outputs.version-slot }}_cv${{ needs.check-published-debian-buster-x86_64.outputs.catalog-version }}\"\n        workdir: dockerfile\n        buildargs: version=${{ needs.check-published-debian-buster-x86_64.outputs.version-slot }},exact_version=${{ needs.check-published-debian-buster-x86_64.outputs.version-core }},subdist=nightly\n        platforms: linux/amd64,linux/arm64\n\n  workflow-notifications:\n    if: failure() && github.event_name != 'pull_request'\n    name: Notify in Slack on failures\n\n    needs:\n      - prep\n      - build-debian-buster-x86_64\n      - test-debian-buster-x86_64\n      - publish-debian-buster-x86_64\n      - check-published-debian-buster-x86_64\n      - build-debian-buster-aarch64\n      - test-debian-buster-aarch64\n      - publish-debian-buster-aarch64\n      - check-published-debian-buster-aarch64\n      - build-debian-bullseye-x86_64\n      - test-debian-bullseye-x86_64\n      - publish-debian-bullseye-x86_64\n      - check-published-debian-bullseye-x86_64\n      - build-debian-bullseye-aarch64\n      - test-debian-bullseye-aarch64\n      - publish-debian-bullseye-aarch64\n      - check-published-debian-bullseye-aarch64\n      - build-debian-bookworm-x86_64\n      - test-debian-bookworm-x86_64\n      - publish-debian-bookworm-x86_64\n      - check-published-debian-bookworm-x86_64\n      - build-debian-bookworm-aarch64\n      - test-debian-bookworm-aarch64\n      - publish-debian-bookworm-aarch64\n      - check-published-debian-bookworm-aarch64\n      - build-ubuntu-bionic-x86_64\n      - test-ubuntu-bionic-x86_64\n      - publish-ubuntu-bionic-x86_64\n      - check-published-ubuntu-bionic-x86_64\n      - build-ubuntu-bionic-aarch64\n      - test-ubuntu-bionic-aarch64\n      - publish-ubuntu-bionic-aarch64\n      - check-published-ubuntu-bionic-aarch64\n      - build-ubuntu-focal-x86_64\n      - test-ubuntu-focal-x86_64\n      - publish-ubuntu-focal-x86_64\n      - check-published-ubuntu-focal-x86_64\n      - build-ubuntu-focal-aarch64\n      - test-ubuntu-focal-aarch64\n      - publish-ubuntu-focal-aarch64\n      - check-published-ubuntu-focal-aarch64\n      - build-ubuntu-jammy-x86_64\n      - test-ubuntu-jammy-x86_64\n      - publish-ubuntu-jammy-x86_64\n      - check-published-ubuntu-jammy-x86_64\n      - build-ubuntu-jammy-aarch64\n      - test-ubuntu-jammy-aarch64\n      - publish-ubuntu-jammy-aarch64\n      - check-published-ubuntu-jammy-aarch64\n      - build-centos-8-x86_64\n      - test-centos-8-x86_64\n      - publish-centos-8-x86_64\n      - check-published-centos-8-x86_64\n      - build-centos-8-aarch64\n      - test-centos-8-aarch64\n      - publish-centos-8-aarch64\n      - check-published-centos-8-aarch64\n      - build-rockylinux-9-x86_64\n      - test-rockylinux-9-x86_64\n      - publish-rockylinux-9-x86_64\n      - check-published-rockylinux-9-x86_64\n      - build-rockylinux-9-aarch64\n      - test-rockylinux-9-aarch64\n      - publish-rockylinux-9-aarch64\n      - check-published-rockylinux-9-aarch64\n      - build-linux-x86_64\n      - test-linux-x86_64\n      - publish-linux-x86_64\n      - check-published-linux-x86_64\n      - build-linux-aarch64\n      - test-linux-aarch64\n      - publish-linux-aarch64\n      - check-published-linux-aarch64\n      - build-linuxmusl-x86_64\n      - test-linuxmusl-x86_64\n      - publish-linuxmusl-x86_64\n      - check-published-linuxmusl-x86_64\n      - build-linuxmusl-aarch64\n      - test-linuxmusl-aarch64\n      - publish-linuxmusl-aarch64\n      - check-published-linuxmusl-aarch64\n      - build-macos-x86_64\n      - test-macos-x86_64\n      - publish-macos-x86_64\n      - build-macos-aarch64\n      - test-macos-aarch64\n      - publish-macos-aarch64\n      - publish-docker\n    runs-on: ubuntu-latest\n    permissions:\n      actions: 'read'\n    steps:\n      - name: Slack Workflow Notification\n        uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309\n        with:\n          repo_token: ${{secrets.GITHUB_TOKEN}}\n          slack_webhook_url: ${{secrets.ACTIONS_SLACK_WEBHOOK_URL}}\n          name: 'Workflow notifications'\n          icon_emoji: ':hammer:'\n          include_jobs: 'on-failure'\n", "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:42.812884", "created_at": "2024-01-19T08:46:52+01:00", "updated_at": "2024-01-19T09:36:46+01:00", "name": "Pull Request Meta", "path": ".github/workflows/pull-request-meta.yml", "contents": "name: Pull Request Meta\n\non:\n  pull_request:\n    types: [opened, edited, synchronize]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number }}\n  cancel-in-progress: true\n\njobs:\n\n  test-pr:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - name: Verify that postgres/ was not changed unintentionally\n      env:\n        PR_TITLE: ${{ github.event.pull_request.title }}\n      shell: bash\n      run: |\n        required_prefix=\"Update bundled PostgreSQL\"\n\n        if [[ \"$PR_TITLE\" == $required_prefix* ]]; then\n          exit 0\n        fi\n\n        if git diff --quiet \\\n          ${{ github.event.pull_request.base.sha }} \\\n          ${{ github.event.pull_request.head.sha }} -- postgres/\n        then\n          echo 'all ok'\n        else\n          echo \"postgres/ submodule has been changed,\"\\\n            \"but PR title does not indicate that\"\n          echo \"(it should start with '$required_prefix')\"\n          exit 1\n        fi\n", "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:44.039666", "created_at": "2020-01-16T04:29:08+01:00", "updated_at": "2024-03-11T12:59:53+01:00", "name": "Build Test and Publish a Release", "path": ".github/workflows/release.yml", "contents": "name: Build Test and Publish a Release\n\non:\n  workflow_dispatch:\n    inputs: {}\n\njobs:\n  prep:\n    runs-on: ubuntu-latest\n    outputs:\n      branch: ${{ steps.whichver.outputs.branch }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Determine package version\n      shell: bash\n      run: |\n        branch=${GITHUB_REF#refs/heads/}\n        echo branch=\"${branch}\" >> $GITHUB_OUTPUT\n      id: whichver\n\n\n\n  build-debian-buster-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-buster@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n  build-debian-buster-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-buster@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n  build-debian-bullseye-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bullseye@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n  build-debian-bullseye-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bullseye@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n  build-debian-bookworm-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bookworm@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n  build-debian-bookworm-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bookworm@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n  build-ubuntu-bionic-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-bionic@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n  build-ubuntu-bionic-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-bionic@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n  build-ubuntu-focal-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-focal@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n  build-ubuntu-focal-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-focal@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n  build-ubuntu-jammy-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-jammy@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n  build-ubuntu-jammy-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-jammy@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n  build-centos-8-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/centos-8@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n  build-centos-8-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/centos-8@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n  build-rockylinux-9-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/rockylinux-9@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n  build-rockylinux-9-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/rockylinux-9@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n  build-linux-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linux-x86_64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        BUILD_GENERIC: true\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n  build-linux-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linux-aarch64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        BUILD_GENERIC: true\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n  build-linuxmusl-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linuxmusl-x86_64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        BUILD_GENERIC: true\n        PKG_PLATFORM_LIBC: \"musl\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n  build-linuxmusl-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linuxmusl-aarch64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        BUILD_GENERIC: true\n        PKG_PLATFORM_LIBC: \"musl\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n  build-macos-x86_64:\n    runs-on: ['macos-13']\n    needs: prep\n\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Install Rust toolchain\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      if: true\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n        targets: \"x86_64-apple-darwin\"\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      if: true\n      with:\n        python-version: \"3.x\"\n\n    - name: Set up NodeJS\n      uses: actions/setup-node@v4\n      if: true\n      with:\n        node-version: '20'\n\n    - name: Install dependencies\n      if: true\n      run: |\n        env HOMEBREW_NO_AUTO_UPDATE=1 brew install libmagic\n\n    - name: Build\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        BUILD_IS_RELEASE: \"true\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_ARCH: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n        BUILD_GENERIC: true\n      run: |\n        edgedb-pkg/integration/macos/build.sh\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n  build-macos-aarch64:\n    runs-on: ['macos-14']\n    needs: prep\n\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Install Rust toolchain\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      if: true\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n        targets: \"aarch64-apple-darwin\"\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      if: true\n      with:\n        python-version: \"3.x\"\n\n    - name: Set up NodeJS\n      uses: actions/setup-node@v4\n      if: true\n      with:\n        node-version: '20'\n\n    - name: Install dependencies\n      if: true\n      run: |\n        env HOMEBREW_NO_AUTO_UPDATE=1 brew install libmagic\n\n    - name: Build\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        BUILD_IS_RELEASE: \"true\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_ARCH: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n        BUILD_GENERIC: true\n      run: |\n        edgedb-pkg/integration/macos/build.sh\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n  test-debian-buster-x86_64:\n    needs: [build-debian-buster-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-buster@master\n      env:\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-buster-aarch64:\n    needs: [build-debian-buster-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-buster@master\n      env:\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bullseye-x86_64:\n    needs: [build-debian-bullseye-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bullseye@master\n      env:\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bullseye-aarch64:\n    needs: [build-debian-bullseye-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bullseye@master\n      env:\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bookworm-x86_64:\n    needs: [build-debian-bookworm-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bookworm@master\n      env:\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bookworm-aarch64:\n    needs: [build-debian-bookworm-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bookworm@master\n      env:\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-bionic-x86_64:\n    needs: [build-ubuntu-bionic-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-bionic@master\n      env:\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-bionic-aarch64:\n    needs: [build-ubuntu-bionic-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-bionic@master\n      env:\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-focal-x86_64:\n    needs: [build-ubuntu-focal-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-focal@master\n      env:\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-focal-aarch64:\n    needs: [build-ubuntu-focal-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-focal@master\n      env:\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-jammy-x86_64:\n    needs: [build-ubuntu-jammy-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-jammy@master\n      env:\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-jammy-aarch64:\n    needs: [build-ubuntu-jammy-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-jammy@master\n      env:\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-centos-8-x86_64:\n    needs: [build-centos-8-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/centos-8@master\n      env:\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-centos-8-aarch64:\n    needs: [build-centos-8-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/centos-8@master\n      env:\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-rockylinux-9-x86_64:\n    needs: [build-rockylinux-9-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/rockylinux-9@master\n      env:\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-rockylinux-9-aarch64:\n    needs: [build-rockylinux-9-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/rockylinux-9@master\n      env:\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linux-x86_64:\n    needs: [build-linux-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linux-x86_64@master\n      env:\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linux-aarch64:\n    needs: [build-linux-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linux-aarch64@master\n      env:\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linuxmusl-x86_64:\n    needs: [build-linuxmusl-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linuxmusl-x86_64@master\n      env:\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linuxmusl-aarch64:\n    needs: [build-linuxmusl-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linuxmusl-aarch64@master\n      env:\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-macos-x86_64:\n    needs: [build-macos-x86_64]\n    runs-on: ['macos-13']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n    - name: Test\n      env:\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        # Run fewer tests on x86_64, since the test runner is very slow.\n        PKG_TEST_FILES: \"test_dump*.py test_backend_*.py test_database.py test_server_*.py test_edgeql_ddl.py test_session.py\"\n      run: |\n        # Bump shmmax and shmall to avoid test failures.\n        sudo sysctl -w kern.sysv.shmmax=12582912\n        sudo sysctl -w kern.sysv.shmall=12582912\n        edgedb-pkg/integration/macos/test.sh\n\n  test-macos-aarch64:\n    needs: [build-macos-aarch64]\n    runs-on: ['macos-14']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n    - name: Test\n      env:\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n      run: |\n        edgedb-pkg/integration/macos/test.sh\n  collect:\n    needs:\n    - test-debian-buster-x86_64\n    - test-debian-buster-aarch64\n    - test-debian-bullseye-x86_64\n    - test-debian-bullseye-aarch64\n    - test-debian-bookworm-x86_64\n    - test-debian-bookworm-aarch64\n    - test-ubuntu-bionic-x86_64\n    - test-ubuntu-bionic-aarch64\n    - test-ubuntu-focal-x86_64\n    - test-ubuntu-focal-aarch64\n    - test-ubuntu-jammy-x86_64\n    - test-ubuntu-jammy-aarch64\n    - test-centos-8-x86_64\n    - test-centos-8-aarch64\n    - test-rockylinux-9-x86_64\n    - test-rockylinux-9-aarch64\n    - test-linux-x86_64\n    - test-linux-aarch64\n    - test-linuxmusl-x86_64\n    - test-linuxmusl-aarch64\n    - test-macos-x86_64\n    - test-macos-aarch64\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo 'All build+tests passed, ready to publish now!'\n\n  publish-debian-buster-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-buster-x86_64:\n    needs: [publish-debian-buster-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-buster\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-buster@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-buster-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-buster-aarch64:\n    needs: [publish-debian-buster-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-buster\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-buster@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-bullseye-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-bullseye-x86_64:\n    needs: [publish-debian-bullseye-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-bullseye\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-bullseye@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-bullseye-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-bullseye-aarch64:\n    needs: [publish-debian-bullseye-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-bullseye\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-bullseye@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-bookworm-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-bookworm-x86_64:\n    needs: [publish-debian-bookworm-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-bookworm\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-bookworm@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-bookworm-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-bookworm-aarch64:\n    needs: [publish-debian-bookworm-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-bookworm\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-bookworm@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-bionic-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-bionic-x86_64:\n    needs: [publish-ubuntu-bionic-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-bionic\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-bionic@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-bionic-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-bionic-aarch64:\n    needs: [publish-ubuntu-bionic-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-bionic\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-bionic@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-focal-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-focal-x86_64:\n    needs: [publish-ubuntu-focal-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-focal\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-focal@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-focal-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-focal-aarch64:\n    needs: [publish-ubuntu-focal-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-focal\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-focal@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-jammy-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-jammy-x86_64:\n    needs: [publish-ubuntu-jammy-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-jammy\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-jammy@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-jammy-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-jammy-aarch64:\n    needs: [publish-ubuntu-jammy-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-jammy\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-jammy@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-centos-8-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-centos-8-x86_64:\n    needs: [publish-centos-8-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: centos-8\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/centos-8@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-centos-8-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-centos-8-aarch64:\n    needs: [publish-centos-8-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: centos-8\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/centos-8@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-rockylinux-9-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-rockylinux-9-x86_64:\n    needs: [publish-rockylinux-9-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: rockylinux-9\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/rockylinux-9@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-rockylinux-9-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-rockylinux-9-aarch64:\n    needs: [publish-rockylinux-9-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: rockylinux-9\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/rockylinux-9@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linux-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linux-x86_64:\n    needs: [publish-linux-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linux-x86_64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linux-x86_64@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linux-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linux-aarch64:\n    needs: [publish-linux-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linux-aarch64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linux-aarch64@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linuxmusl-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linuxmusl-x86_64:\n    needs: [publish-linuxmusl-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linuxmusl-x86_64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linuxmusl-x86_64@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linuxmusl-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linuxmusl-aarch64:\n    needs: [publish-linuxmusl-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linuxmusl-aarch64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linuxmusl-aarch64@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-macos-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: macos-x86_64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  publish-macos-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: macos-aarch64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  publish-docker:\n    needs:\n      - check-published-debian-buster-x86_64\n      - check-published-debian-buster-aarch64\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-docker\n        ref: master\n        path: dockerfile\n\n    - env:\n        VERSION_SLOT: \"${{ needs.check-published-debian-buster-x86_64.outputs.version-slot }}\"\n        VERSION_CORE: \"${{ needs.check-published-debian-buster-x86_64.outputs.version-core }}\"\n        PKG_SUBDIST: \"\"\n      id: tags\n      run: |\n        set -e\n\n        url='https://registry.hub.docker.com/v2/repositories/edgedb/edgedb/tags?page_size=100'\n        repo_tags=$(\n          while [ -n \"$url\" ]; do\n            resp=$(curl -L -s \"$url\")\n            url=$(echo \"$resp\" | jq -r \".next\")\n            if [ \"$url\" = \"null\" ] || [ -z \"$url\" ]; then\n              break\n            fi\n            echo \"$resp\" | jq -r '.\"results\"[][\"name\"]'\n          done | grep \"^[[:digit:]]\\+.*\" | grep -v \"alpha\\|beta\\|rc\" || :\n        )\n\n        tags=( \"$VERSION_CORE\" )\n\n        top=$(printf \"%s\\n%s\\n\" \"$VERSION_CORE\" \"$repo_tags\" \\\n              | grep \"^${VERSION_SLOT}[\\.-]\" \\\n              | sort --version-sort --reverse | head -n 1)\n        if [ \"$top\" == \"$VERSION_CORE\" ]; then\n          tags+=( \"$VERSION_SLOT\" )\n        fi\n\n        if [ -z \"$PKG_SUBDIST\" ]; then\n          top=$(printf \"%s\\n%s\\n\" \"$VERSION_CORE\" \"$repo_tags\" \\\n                | sort --version-sort --reverse | head -n 1)\n          if [ \"$top\" == \"$VERSION_CORE\" ]; then\n            tags+=( \"latest\" )\n          fi\n        fi\n\n        IFS=,\n        echo \"tags=${tags[*]}\" >> $GITHUB_OUTPUT\n\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v2\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345  # v3\n\n    - name: Publish Docker Image (docker.io)\n      uses: elgohr/Publish-Docker-Github-Action@43dc228e327224b2eda11c8883232afd5b34943b  # v5\n      with:\n        name: edgedb/edgedb\n        username: ${{ secrets.DOCKER_USERNAME }}\n        password: ${{ secrets.DOCKER_PASSWORD }}\n        tags: \"${{ steps.tags.outputs.tags }}\"\n        workdir: dockerfile\n        buildargs: version=${{ needs.check-published-debian-buster-x86_64.outputs.version-slot }},exact_version=${{ needs.check-published-debian-buster-x86_64.outputs.version-core }}\n        platforms: linux/amd64,linux/arm64\n\n    - name: Publish Docker Image (ghcr.io)\n      uses: elgohr/Publish-Docker-Github-Action@43dc228e327224b2eda11c8883232afd5b34943b  # v5\n      with:\n        registry: ghcr.io\n        name: ${{ github.repository }}\n        username: \"edgedb-ci\"\n        password: ${{ secrets.GITHUB_CI_BOT_TOKEN }}\n        tags: \"${{ steps.tags.outputs.tags }}\"\n        workdir: dockerfile\n        buildargs: version=${{ needs.check-published-debian-buster-x86_64.outputs.version-slot }},exact_version=${{ needs.check-published-debian-buster-x86_64.outputs.version-core }}\n        platforms: linux/amd64,linux/arm64\n\n  workflow-notifications:\n    if: failure() && github.event_name != 'pull_request'\n    name: Notify in Slack on failures\n\n    needs:\n      - prep\n      - collect\n      - build-debian-buster-x86_64\n      - test-debian-buster-x86_64\n      - publish-debian-buster-x86_64\n      - check-published-debian-buster-x86_64\n      - build-debian-buster-aarch64\n      - test-debian-buster-aarch64\n      - publish-debian-buster-aarch64\n      - check-published-debian-buster-aarch64\n      - build-debian-bullseye-x86_64\n      - test-debian-bullseye-x86_64\n      - publish-debian-bullseye-x86_64\n      - check-published-debian-bullseye-x86_64\n      - build-debian-bullseye-aarch64\n      - test-debian-bullseye-aarch64\n      - publish-debian-bullseye-aarch64\n      - check-published-debian-bullseye-aarch64\n      - build-debian-bookworm-x86_64\n      - test-debian-bookworm-x86_64\n      - publish-debian-bookworm-x86_64\n      - check-published-debian-bookworm-x86_64\n      - build-debian-bookworm-aarch64\n      - test-debian-bookworm-aarch64\n      - publish-debian-bookworm-aarch64\n      - check-published-debian-bookworm-aarch64\n      - build-ubuntu-bionic-x86_64\n      - test-ubuntu-bionic-x86_64\n      - publish-ubuntu-bionic-x86_64\n      - check-published-ubuntu-bionic-x86_64\n      - build-ubuntu-bionic-aarch64\n      - test-ubuntu-bionic-aarch64\n      - publish-ubuntu-bionic-aarch64\n      - check-published-ubuntu-bionic-aarch64\n      - build-ubuntu-focal-x86_64\n      - test-ubuntu-focal-x86_64\n      - publish-ubuntu-focal-x86_64\n      - check-published-ubuntu-focal-x86_64\n      - build-ubuntu-focal-aarch64\n      - test-ubuntu-focal-aarch64\n      - publish-ubuntu-focal-aarch64\n      - check-published-ubuntu-focal-aarch64\n      - build-ubuntu-jammy-x86_64\n      - test-ubuntu-jammy-x86_64\n      - publish-ubuntu-jammy-x86_64\n      - check-published-ubuntu-jammy-x86_64\n      - build-ubuntu-jammy-aarch64\n      - test-ubuntu-jammy-aarch64\n      - publish-ubuntu-jammy-aarch64\n      - check-published-ubuntu-jammy-aarch64\n      - build-centos-8-x86_64\n      - test-centos-8-x86_64\n      - publish-centos-8-x86_64\n      - check-published-centos-8-x86_64\n      - build-centos-8-aarch64\n      - test-centos-8-aarch64\n      - publish-centos-8-aarch64\n      - check-published-centos-8-aarch64\n      - build-rockylinux-9-x86_64\n      - test-rockylinux-9-x86_64\n      - publish-rockylinux-9-x86_64\n      - check-published-rockylinux-9-x86_64\n      - build-rockylinux-9-aarch64\n      - test-rockylinux-9-aarch64\n      - publish-rockylinux-9-aarch64\n      - check-published-rockylinux-9-aarch64\n      - build-linux-x86_64\n      - test-linux-x86_64\n      - publish-linux-x86_64\n      - check-published-linux-x86_64\n      - build-linux-aarch64\n      - test-linux-aarch64\n      - publish-linux-aarch64\n      - check-published-linux-aarch64\n      - build-linuxmusl-x86_64\n      - test-linuxmusl-x86_64\n      - publish-linuxmusl-x86_64\n      - check-published-linuxmusl-x86_64\n      - build-linuxmusl-aarch64\n      - test-linuxmusl-aarch64\n      - publish-linuxmusl-aarch64\n      - check-published-linuxmusl-aarch64\n      - build-macos-x86_64\n      - test-macos-x86_64\n      - publish-macos-x86_64\n      - build-macos-aarch64\n      - test-macos-aarch64\n      - publish-macos-aarch64\n      - publish-docker\n    runs-on: ubuntu-latest\n    permissions:\n      actions: 'read'\n    steps:\n      - name: Slack Workflow Notification\n        uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309\n        with:\n          repo_token: ${{secrets.GITHUB_TOKEN}}\n          slack_webhook_url: ${{secrets.ACTIONS_SLACK_WEBHOOK_URL}}\n          name: 'Workflow notifications'\n          icon_emoji: ':hammer:'\n          include_jobs: 'on-failure'\n", "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:45.167010", "created_at": "2022-11-18T06:10:09+01:00", "updated_at": "2024-02-29T03:03:02+01:00", "name": "Build Test and Publish a Testing Release", "path": ".github/workflows/testing.yml", "contents": "name: Build Test and Publish a Testing Release\n\non:\n  workflow_dispatch:\n    inputs: {}\n\njobs:\n  prep:\n    runs-on: ubuntu-latest\n    outputs:\n      branch: ${{ steps.whichver.outputs.branch }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Determine package version\n      shell: bash\n      run: |\n        branch=${GITHUB_REF#refs/heads/}\n        echo branch=\"${branch}\" >> $GITHUB_OUTPUT\n      id: whichver\n\n\n\n  build-debian-buster-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-buster@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n  build-debian-buster-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-buster@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n  build-debian-bullseye-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bullseye@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n  build-debian-bullseye-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bullseye@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n  build-debian-bookworm-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bookworm@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n  build-debian-bookworm-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/debian-bookworm@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n  build-ubuntu-bionic-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-bionic@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n  build-ubuntu-bionic-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-bionic@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n  build-ubuntu-focal-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-focal@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n  build-ubuntu-focal-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-focal@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n  build-ubuntu-jammy-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-jammy@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n  build-ubuntu-jammy-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/ubuntu-jammy@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n  build-centos-8-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/centos-8@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n  build-centos-8-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/centos-8@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n  build-rockylinux-9-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/rockylinux-9@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n  build-rockylinux-9-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/rockylinux-9@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n  build-linux-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linux-x86_64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        BUILD_GENERIC: true\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n  build-linux-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linux-aarch64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        BUILD_GENERIC: true\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n  build-linuxmusl-x86_64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linuxmusl-x86_64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        BUILD_GENERIC: true\n        PKG_PLATFORM_LIBC: \"musl\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n  build-linuxmusl-aarch64:\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n    needs: prep\n\n\n    steps:\n    - name: Build\n      uses: edgedb/edgedb-pkg/integration/linux/build/linuxmusl-aarch64@master\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        BUILD_IS_RELEASE: \"true\"\n        BUILD_GENERIC: true\n        PKG_PLATFORM_LIBC: \"musl\"\n        METAPKG_GIT_CACHE: disabled\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n  build-macos-x86_64:\n    runs-on: ['macos-13']\n    needs: prep\n\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Install Rust toolchain\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      if: true\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n        targets: \"x86_64-apple-darwin\"\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      if: true\n      with:\n        python-version: \"3.x\"\n\n    - name: Set up NodeJS\n      uses: actions/setup-node@v4\n      if: true\n      with:\n        node-version: '20'\n\n    - name: Install dependencies\n      if: true\n      run: |\n        env HOMEBREW_NO_AUTO_UPDATE=1 brew install libmagic\n\n    - name: Build\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        BUILD_IS_RELEASE: \"true\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_ARCH: \"x86_64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n        BUILD_GENERIC: true\n      run: |\n        edgedb-pkg/integration/macos/build.sh\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n  build-macos-aarch64:\n    runs-on: ['macos-14']\n    needs: prep\n\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Install Rust toolchain\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      if: true\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n        targets: \"aarch64-apple-darwin\"\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      if: true\n      with:\n        python-version: \"3.x\"\n\n    - name: Set up NodeJS\n      uses: actions/setup-node@v4\n      if: true\n      with:\n        node-version: '20'\n\n    - name: Install dependencies\n      if: true\n      run: |\n        env HOMEBREW_NO_AUTO_UPDATE=1 brew install libmagic\n\n    - name: Build\n      env:\n        SRC_REF: \"${{ needs.prep.outputs.branch }}\"\n        BUILD_IS_RELEASE: \"true\"\n        PKG_REVISION: \"<current-date>\"\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_ARCH: \"aarch64\"\n        EXTRA_OPTIMIZATIONS: \"true\"\n        METAPKG_GIT_CACHE: disabled\n        BUILD_GENERIC: true\n      run: |\n        edgedb-pkg/integration/macos/build.sh\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n  test-debian-buster-x86_64:\n    needs: [build-debian-buster-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-buster@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-buster-aarch64:\n    needs: [build-debian-buster-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-buster@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bullseye-x86_64:\n    needs: [build-debian-bullseye-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bullseye@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bullseye-aarch64:\n    needs: [build-debian-bullseye-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bullseye@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bookworm-x86_64:\n    needs: [build-debian-bookworm-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bookworm@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-debian-bookworm-aarch64:\n    needs: [build-debian-bookworm-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/debian-bookworm@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-bionic-x86_64:\n    needs: [build-ubuntu-bionic-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-bionic@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-bionic-aarch64:\n    needs: [build-ubuntu-bionic-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-bionic@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-focal-x86_64:\n    needs: [build-ubuntu-focal-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-focal@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-focal-aarch64:\n    needs: [build-ubuntu-focal-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-focal@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-jammy-x86_64:\n    needs: [build-ubuntu-jammy-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-jammy@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-ubuntu-jammy-aarch64:\n    needs: [build-ubuntu-jammy-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/ubuntu-jammy@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-centos-8-x86_64:\n    needs: [build-centos-8-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/centos-8@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-centos-8-aarch64:\n    needs: [build-centos-8-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/centos-8@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-rockylinux-9-x86_64:\n    needs: [build-rockylinux-9-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/rockylinux-9@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-rockylinux-9-aarch64:\n    needs: [build-rockylinux-9-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/rockylinux-9@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linux-x86_64:\n    needs: [build-linux-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linux-aarch64:\n    needs: [build-linux-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linux-aarch64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linuxmusl-x86_64:\n    needs: [build-linuxmusl-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linuxmusl-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-linuxmusl-aarch64:\n    needs: [build-linuxmusl-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n    - name: Test\n      uses: edgedb/edgedb-pkg/integration/linux/test/linuxmusl-aarch64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        # edb test with -j higher than 1 seems to result in workflow\n        # jobs getting killed arbitrarily by Github.\n        PKG_TEST_JOBS: 0\n\n  test-macos-x86_64:\n    needs: [build-macos-x86_64]\n    runs-on: ['macos-13']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n    - name: Test\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        # Run fewer tests on x86_64, since the test runner is very slow.\n        PKG_TEST_FILES: \"test_dump*.py test_backend_*.py test_database.py test_server_*.py test_edgeql_ddl.py test_session.py\"\n      run: |\n        # Bump shmmax and shmall to avoid test failures.\n        sudo sysctl -w kern.sysv.shmmax=12582912\n        sudo sysctl -w kern.sysv.shmall=12582912\n        edgedb-pkg/integration/macos/test.sh\n\n  test-macos-aarch64:\n    needs: [build-macos-aarch64]\n    runs-on: ['macos-14']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n    - name: Test\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n      run: |\n        edgedb-pkg/integration/macos/test.sh\n  collect:\n    needs:\n    - test-debian-buster-x86_64\n    - test-debian-buster-aarch64\n    - test-debian-bullseye-x86_64\n    - test-debian-bullseye-aarch64\n    - test-debian-bookworm-x86_64\n    - test-debian-bookworm-aarch64\n    - test-ubuntu-bionic-x86_64\n    - test-ubuntu-bionic-aarch64\n    - test-ubuntu-focal-x86_64\n    - test-ubuntu-focal-aarch64\n    - test-ubuntu-jammy-x86_64\n    - test-ubuntu-jammy-aarch64\n    - test-centos-8-x86_64\n    - test-centos-8-aarch64\n    - test-rockylinux-9-x86_64\n    - test-rockylinux-9-aarch64\n    - test-linux-x86_64\n    - test-linux-aarch64\n    - test-linuxmusl-x86_64\n    - test-linuxmusl-aarch64\n    - test-macos-x86_64\n    - test-macos-aarch64\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo 'All build+tests passed, ready to publish now!'\n\n  publish-debian-buster-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-buster-x86_64:\n    needs: [publish-debian-buster-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-x86_64\n        path: artifacts/debian-buster\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-buster\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-buster@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-buster-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-buster-aarch64:\n    needs: [publish-debian-buster-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-buster-aarch64\n        path: artifacts/debian-buster\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-buster\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-buster@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"buster\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-bullseye-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-bullseye-x86_64:\n    needs: [publish-debian-bullseye-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-x86_64\n        path: artifacts/debian-bullseye\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-bullseye\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-bullseye@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-bullseye-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-bullseye-aarch64:\n    needs: [publish-debian-bullseye-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bullseye-aarch64\n        path: artifacts/debian-bullseye\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-bullseye\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-bullseye@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bullseye\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-bookworm-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-bookworm-x86_64:\n    needs: [publish-debian-bookworm-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-x86_64\n        path: artifacts/debian-bookworm\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-bookworm\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-bookworm@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-debian-bookworm-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-debian-bookworm-aarch64:\n    needs: [publish-debian-bookworm-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-debian-bookworm-aarch64\n        path: artifacts/debian-bookworm\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: debian-bookworm\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/debian-bookworm@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"debian\"\n        PKG_PLATFORM_VERSION: \"bookworm\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-bionic-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-bionic-x86_64:\n    needs: [publish-ubuntu-bionic-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-x86_64\n        path: artifacts/ubuntu-bionic\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-bionic\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-bionic@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-bionic-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-bionic-aarch64:\n    needs: [publish-ubuntu-bionic-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-bionic-aarch64\n        path: artifacts/ubuntu-bionic\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-bionic\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-bionic@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"bionic\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-focal-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-focal-x86_64:\n    needs: [publish-ubuntu-focal-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-x86_64\n        path: artifacts/ubuntu-focal\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-focal\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-focal@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-focal-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-focal-aarch64:\n    needs: [publish-ubuntu-focal-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-focal-aarch64\n        path: artifacts/ubuntu-focal\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-focal\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-focal@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"focal\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-jammy-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-jammy-x86_64:\n    needs: [publish-ubuntu-jammy-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-x86_64\n        path: artifacts/ubuntu-jammy\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-jammy\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-jammy@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-ubuntu-jammy-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-ubuntu-jammy-aarch64:\n    needs: [publish-ubuntu-jammy-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-ubuntu-jammy-aarch64\n        path: artifacts/ubuntu-jammy\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: ubuntu-jammy\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/ubuntu-jammy@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"ubuntu\"\n        PKG_PLATFORM_VERSION: \"jammy\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-centos-8-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-centos-8-x86_64:\n    needs: [publish-centos-8-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-x86_64\n        path: artifacts/centos-8\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: centos-8\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/centos-8@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-centos-8-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-centos-8-aarch64:\n    needs: [publish-centos-8-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-centos-8-aarch64\n        path: artifacts/centos-8\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: centos-8\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/centos-8@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"centos\"\n        PKG_PLATFORM_VERSION: \"8\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-rockylinux-9-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-rockylinux-9-x86_64:\n    needs: [publish-rockylinux-9-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-x86_64\n        path: artifacts/rockylinux-9\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: rockylinux-9\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/rockylinux-9@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-rockylinux-9-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-rockylinux-9-aarch64:\n    needs: [publish-rockylinux-9-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-rockylinux-9-aarch64\n        path: artifacts/rockylinux-9\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: rockylinux-9\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/rockylinux-9@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"rockylinux\"\n        PKG_PLATFORM_VERSION: \"9\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linux-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linux-x86_64:\n    needs: [publish-linux-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-x86_64\n        path: artifacts/linux-x86_64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linux-x86_64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linux-x86_64@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linux-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linux-aarch64:\n    needs: [publish-linux-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linux-aarch64\n        path: artifacts/linux-aarch64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linux-aarch64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linux-aarch64@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linuxmusl-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linuxmusl-x86_64:\n    needs: [publish-linuxmusl-x86_64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'x64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-x86_64\n        path: artifacts/linuxmusl-x86_64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linuxmusl-x86_64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linuxmusl-x86_64@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-linuxmusl-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_PLATFORM_LIBC: \"musl\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  check-published-linuxmusl-aarch64:\n    needs: [publish-linuxmusl-aarch64]\n    runs-on: ['package-builder', 'self-hosted', 'linux', 'arm64']\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-linuxmusl-aarch64\n        path: artifacts/linuxmusl-aarch64\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: linuxmusl-aarch64\n\n    - name: Test Published\n      uses: edgedb/edgedb-pkg/integration/linux/testpublished/linuxmusl-aarch64@master\n      env:\n        PKG_NAME: \"${{ steps.describe.outputs.name }}\"\n        PKG_SUBDIST: \"testing\"\n        PACKAGE_SERVER: sftp://uploader@package-upload.edgedb.net:22/\n        PKG_PLATFORM: \"linux\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PKG_INSTALL_REF: \"${{ steps.describe.outputs.install-ref }}\"\n        PKG_VERSION_SLOT: \"${{ steps.describe.outputs.version-slot }}\"\n\n    outputs:\n      version-slot: ${{ steps.describe.outputs.version-slot }}\n      version-core: ${{ steps.describe.outputs.version-core }}\n      catalog-version: ${{ steps.describe.outputs.catalog-version }}\n\n  publish-macos-x86_64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-x86_64\n        path: artifacts/macos-x86_64\n\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: macos-x86_64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"x86_64\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  publish-macos-aarch64:\n    needs: [collect]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: builds-macos-aarch64\n        path: artifacts/macos-aarch64\n\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-pkg\n        ref: master\n        path: edgedb-pkg\n\n    - name: Describe\n      id: describe\n      uses: edgedb/edgedb-pkg/integration/actions/describe-artifact@master\n      with:\n        target: macos-aarch64\n\n    - name: Publish\n      uses: edgedb/edgedb-pkg/integration/linux/upload/linux-x86_64@master\n      env:\n        PKG_SUBDIST: \"testing\"\n        PKG_PLATFORM: \"macos\"\n        PKG_PLATFORM_VERSION: \"aarch64\"\n        PACKAGE_UPLOAD_SSH_KEY: \"${{ secrets.PACKAGE_UPLOAD_SSH_KEY }}\"\n\n  publish-docker:\n    needs:\n      - check-published-debian-buster-x86_64\n      - check-published-debian-buster-aarch64\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: edgedb/edgedb-docker\n        ref: master\n        path: dockerfile\n\n    - env:\n        VERSION_SLOT: \"${{ needs.check-published-debian-buster-x86_64.outputs.version-slot }}\"\n        VERSION_CORE: \"${{ needs.check-published-debian-buster-x86_64.outputs.version-core }}\"\n        PKG_SUBDIST: \"testing\"\n      id: tags\n      run: |\n        set -e\n\n        url='https://registry.hub.docker.com/v2/repositories/edgedb/edgedb/tags?page_size=100'\n        repo_tags=$(\n          while [ -n \"$url\" ]; do\n            resp=$(curl -L -s \"$url\")\n            url=$(echo \"$resp\" | jq -r \".next\")\n            if [ \"$url\" = \"null\" ] || [ -z \"$url\" ]; then\n              break\n            fi\n            echo \"$resp\" | jq -r '.\"results\"[][\"name\"]'\n          done | grep \"^[[:digit:]]\\+.*\" | grep -v \"alpha\\|beta\\|rc\" || :\n        )\n\n        tags=( \"$VERSION_CORE\" )\n\n        top=$(printf \"%s\\n%s\\n\" \"$VERSION_CORE\" \"$repo_tags\" \\\n              | grep \"^${VERSION_SLOT}[\\.-]\" \\\n              | sort --version-sort --reverse | head -n 1)\n        if [ \"$top\" == \"$VERSION_CORE\" ]; then\n          tags+=( \"$VERSION_SLOT\" )\n        fi\n\n        if [ -z \"$PKG_SUBDIST\" ]; then\n          top=$(printf \"%s\\n%s\\n\" \"$VERSION_CORE\" \"$repo_tags\" \\\n                | sort --version-sort --reverse | head -n 1)\n          if [ \"$top\" == \"$VERSION_CORE\" ]; then\n            tags+=( \"latest\" )\n          fi\n        fi\n\n        IFS=,\n        echo \"tags=${tags[*]}\" >> $GITHUB_OUTPUT\n\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v2\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345  # v3\n\n    - name: Publish Docker Image (docker.io)\n      uses: elgohr/Publish-Docker-Github-Action@43dc228e327224b2eda11c8883232afd5b34943b  # v5\n      with:\n        name: edgedb/edgedb\n        username: ${{ secrets.DOCKER_USERNAME }}\n        password: ${{ secrets.DOCKER_PASSWORD }}\n        tags: \"${{ steps.tags.outputs.tags }}\"\n        workdir: dockerfile\n        buildargs: version=${{ needs.check-published-debian-buster-x86_64.outputs.version-slot }},exact_version=${{ needs.check-published-debian-buster-x86_64.outputs.version-core }},subdist=testing\n        platforms: linux/amd64,linux/arm64\n\n    - name: Publish Docker Image (ghcr.io)\n      uses: elgohr/Publish-Docker-Github-Action@43dc228e327224b2eda11c8883232afd5b34943b  # v5\n      with:\n        registry: ghcr.io\n        name: ${{ github.repository }}\n        username: \"edgedb-ci\"\n        password: ${{ secrets.GITHUB_CI_BOT_TOKEN }}\n        tags: \"${{ steps.tags.outputs.tags }}\"\n        workdir: dockerfile\n        buildargs: version=${{ needs.check-published-debian-buster-x86_64.outputs.version-slot }},exact_version=${{ needs.check-published-debian-buster-x86_64.outputs.version-core }},subdist=testing\n        platforms: linux/amd64,linux/arm64\n\n  workflow-notifications:\n    if: failure() && github.event_name != 'pull_request'\n    name: Notify in Slack on failures\n\n    needs:\n      - prep\n      - collect\n      - build-debian-buster-x86_64\n      - test-debian-buster-x86_64\n      - publish-debian-buster-x86_64\n      - check-published-debian-buster-x86_64\n      - build-debian-buster-aarch64\n      - test-debian-buster-aarch64\n      - publish-debian-buster-aarch64\n      - check-published-debian-buster-aarch64\n      - build-debian-bullseye-x86_64\n      - test-debian-bullseye-x86_64\n      - publish-debian-bullseye-x86_64\n      - check-published-debian-bullseye-x86_64\n      - build-debian-bullseye-aarch64\n      - test-debian-bullseye-aarch64\n      - publish-debian-bullseye-aarch64\n      - check-published-debian-bullseye-aarch64\n      - build-debian-bookworm-x86_64\n      - test-debian-bookworm-x86_64\n      - publish-debian-bookworm-x86_64\n      - check-published-debian-bookworm-x86_64\n      - build-debian-bookworm-aarch64\n      - test-debian-bookworm-aarch64\n      - publish-debian-bookworm-aarch64\n      - check-published-debian-bookworm-aarch64\n      - build-ubuntu-bionic-x86_64\n      - test-ubuntu-bionic-x86_64\n      - publish-ubuntu-bionic-x86_64\n      - check-published-ubuntu-bionic-x86_64\n      - build-ubuntu-bionic-aarch64\n      - test-ubuntu-bionic-aarch64\n      - publish-ubuntu-bionic-aarch64\n      - check-published-ubuntu-bionic-aarch64\n      - build-ubuntu-focal-x86_64\n      - test-ubuntu-focal-x86_64\n      - publish-ubuntu-focal-x86_64\n      - check-published-ubuntu-focal-x86_64\n      - build-ubuntu-focal-aarch64\n      - test-ubuntu-focal-aarch64\n      - publish-ubuntu-focal-aarch64\n      - check-published-ubuntu-focal-aarch64\n      - build-ubuntu-jammy-x86_64\n      - test-ubuntu-jammy-x86_64\n      - publish-ubuntu-jammy-x86_64\n      - check-published-ubuntu-jammy-x86_64\n      - build-ubuntu-jammy-aarch64\n      - test-ubuntu-jammy-aarch64\n      - publish-ubuntu-jammy-aarch64\n      - check-published-ubuntu-jammy-aarch64\n      - build-centos-8-x86_64\n      - test-centos-8-x86_64\n      - publish-centos-8-x86_64\n      - check-published-centos-8-x86_64\n      - build-centos-8-aarch64\n      - test-centos-8-aarch64\n      - publish-centos-8-aarch64\n      - check-published-centos-8-aarch64\n      - build-rockylinux-9-x86_64\n      - test-rockylinux-9-x86_64\n      - publish-rockylinux-9-x86_64\n      - check-published-rockylinux-9-x86_64\n      - build-rockylinux-9-aarch64\n      - test-rockylinux-9-aarch64\n      - publish-rockylinux-9-aarch64\n      - check-published-rockylinux-9-aarch64\n      - build-linux-x86_64\n      - test-linux-x86_64\n      - publish-linux-x86_64\n      - check-published-linux-x86_64\n      - build-linux-aarch64\n      - test-linux-aarch64\n      - publish-linux-aarch64\n      - check-published-linux-aarch64\n      - build-linuxmusl-x86_64\n      - test-linuxmusl-x86_64\n      - publish-linuxmusl-x86_64\n      - check-published-linuxmusl-x86_64\n      - build-linuxmusl-aarch64\n      - test-linuxmusl-aarch64\n      - publish-linuxmusl-aarch64\n      - check-published-linuxmusl-aarch64\n      - build-macos-x86_64\n      - test-macos-x86_64\n      - publish-macos-x86_64\n      - build-macos-aarch64\n      - test-macos-aarch64\n      - publish-macos-aarch64\n      - publish-docker\n    runs-on: ubuntu-latest\n    permissions:\n      actions: 'read'\n    steps:\n      - name: Slack Workflow Notification\n        uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309\n        with:\n          repo_token: ${{secrets.GITHUB_TOKEN}}\n          slack_webhook_url: ${{secrets.ACTIONS_SLACK_WEBHOOK_URL}}\n          name: 'Workflow notifications'\n          icon_emoji: ':hammer:'\n          include_jobs: 'on-failure'\n", "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:46.290316", "created_at": "2021-09-13T22:20:10+02:00", "updated_at": "2023-05-23T21:40:12+02:00", "name": "High Availability Tests", "path": ".github/workflows/tests-ha.yml", "contents": "name: High Availability Tests\n\non:\n  workflow_dispatch:\n    inputs: {}\n  workflow_run:\n    workflows: [\"Tests\"]\n    types:\n      - completed\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch'\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n\n    - name: Cached requirements.txt\n      uses: actions/cache@v4\n      id: requirements-cache\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Compute requirements.txt\n      if: steps.requirements-cache.outputs.cache-hit != 'true'\n      run: |\n        python -m pip install pip-tools\n        pip-compile --no-strip-extras --all-build-deps \\\n          --extra test,language-server \\\n          --output-file requirements.txt pyproject.toml\n\n    - name: Install Python dependencies\n      run: |\n        python -c \"import sys; print(sys.prefix)\"\n        python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    # Our HA tests currently only work on Postgres 14 (see #6332),\n    # so check it out before we compute our build cache keys.\n    - name: Switch back to Postgres 14\n      shell: bash\n      run: |\n        set -e\n        cd postgres\n        # Fetch postgres 14, since the clone was shallow\n        git fetch origin REL_14_8 --depth=1\n        # For whatever reason the tag doesn't get fetched, so find it\n        # at FETCH_HEAD\n        git checkout FETCH_HEAD\n\n    - name: Compute cache keys\n      env:\n        GIST_TOKEN: ${{ secrets.CI_BOT_GIST_TOKEN }}\n      run: |\n        mkdir -p .tmp\n        python setup.py -q ci_helper --type cli > .tmp/edgedbcli_git_rev.txt\n        python setup.py -q ci_helper --type rust >.tmp/rust_cache_key.txt\n        python setup.py -q ci_helper --type ext >.tmp/ext_cache_key.txt\n        python setup.py -q ci_helper --type parsers >.tmp/parsers_cache_key.txt\n        python setup.py -q ci_helper --type postgres >.tmp/postgres_git_rev.txt\n        python setup.py -q ci_helper --type libpg_query >.tmp/libpg_query_git_rev.txt\n        echo 'f8cd94309eaccbfba5dea7835b88c78377608a37' >.tmp/stolon_git_rev.txt\n        python setup.py -q ci_helper --type bootstrap >.tmp/bootstrap_cache_key.txt\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo LIBPG_QUERY_GIT_REV=$(cat .tmp/libpg_query_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    - name: Upload shared artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n        retention-days: 1\n\n    # Restore binary cache\n\n    - name: Handle cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Handle cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n        restore-keys: |\n          edb-rust-v3-\n\n    - name: Handle cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Handle cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Handle cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Handle cached libpg_query build\n      uses: actions/cache@v4\n      id: libpg-query-cache\n      with:\n        path: edb/pgsql/parser/libpg_query/libpg_query.a\n        key: edb-libpg_query-v1-${{ env.LIBPG_QUERY_GIT_REV }}\n\n    # Install system dependencies for building\n\n    - name: Install system deps\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true'\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y uuid-dev libreadline-dev bison flex\n\n    - name: Install rust toolchain\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true'\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n\n    # Build EdgeDB CLI\n\n    - name: Handle EdgeDB CLI build cache\n      uses: actions/cache@v4\n      if: steps.cli-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/rust/cli\n        key: edb-cli-build-v7-${{ env.EDGEDBCLI_GIT_REV }}\n        restore-keys: |\n          edb-cli-build-v7-\n\n    - name: Build EdgeDB CLI\n      env:\n        CARGO_HOME: ${{ env.BUILD_TEMP }}/rust/cli/cargo_home\n        CACHE_HIT: ${{ steps.cli-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" == \"true\" ]]; then\n          cp -v build/cli/bin/edgedb edb/cli/edgedb\n        else\n          python setup.py -v build_cli\n        fi\n\n    # Build Rust extensions\n\n    - name: Handle Rust extensions build cache\n      uses: actions/cache@v4\n      if: steps.rust-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/rust/extensions\n        key: edb-rust-build-v1-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n        restore-keys: |\n          edb-rust-build-v1-\n\n    - name: Build Rust extensions\n      env:\n        CARGO_HOME: ${{ env.BUILD_TEMP }}/rust/extensions/cargo_home\n        CACHE_HIT: ${{ steps.rust-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p build/rust_extensions\n          rsync -av ./build/rust_extensions/ ${BUILD_LIB}/\n          python setup.py -v build_rust\n          rsync -av ${BUILD_LIB}/ build/rust_extensions/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n\n    # Build libpg_query\n\n    - name: Build libpg_query\n      if: |\n        steps.libpg-query-cache.outputs.cache-hit != 'true' &&\n        steps.ext-cache.outputs.cache-hit != 'true'\n      run: |\n        python setup.py build_libpg_query\n\n    # Build extensions\n\n    - name: Handle Cython extensions build cache\n      uses: actions/cache@v4\n      if: steps.ext-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/edb\n        key: edb-ext-build-v3-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Build Cython extensions\n      env:\n        CACHE_HIT: ${{ steps.ext-cache.outputs.cache-hit }}\n        BUILD_EXT_MODE: py-only\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p ./build/extensions\n          rsync -av ./build/extensions/ ${BUILD_LIB}/\n          BUILD_EXT_MODE=py-only python setup.py -v build_ext\n          rsync -av ${BUILD_LIB}/ ./build/extensions/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/extensions/edb/ ./edb/\n\n    # Build parsers\n\n    - name: Handle compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n        restore-keys: |\n          edb-parsers-v3-\n\n    - name: Build parsers\n      env:\n        CACHE_HIT: ${{ steps.parsers-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p ./build/lib\n          rsync -av ./build/lib/ ${BUILD_LIB}/\n          python setup.py -v build_parsers\n          rsync -av ${BUILD_LIB}/ ./build/lib/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/lib/edb/ ./edb/\n\n    # Build PostgreSQL\n\n    - name: Build PostgreSQL\n      env:\n        CACHE_HIT: ${{ steps.postgres-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" == \"true\" ]]; then\n          cp build/postgres/install/stamp build/postgres/\n        else\n          python setup.py build_postgres\n          cp build/postgres/stamp build/postgres/install/\n        fi\n\n    # Build Stolon\n\n    - name: Set up Go\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      uses: actions/setup-go@v2\n      with:\n        go-version: 1.16\n\n    - uses: actions/checkout@v4\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      with:\n        repository: edgedb/stolon\n        path: build/stolon\n        ref: ${{ env.STOLON_GIT_REV }}\n        fetch-depth: 0\n        submodules: false\n\n    - name: Build Stolon\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      run: |\n        mkdir -p build/stolon/bin/\n        curl -fsSL https://releases.hashicorp.com/consul/1.10.1/consul_1.10.1_linux_amd64.zip | zcat > build/stolon/bin/consul\n        chmod +x build/stolon/bin/consul\n        cd build/stolon && make\n\n    # Install edgedb-server and populate egg-info\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # Refresh the bootstrap cache\n\n    - name: Handle bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n        restore-keys: |\n          edb-bootstrap-v2-\n\n    - name: Bootstrap EdgeDB Server\n      if: steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        edb server --bootstrap-only\n\n  ha-test:\n    needs: build\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n    \n    - name: Download requirements.txt\n      uses: actions/cache@v4\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Python dependencies\n      run: python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    # Restore the artifacts and environment variables\n\n    - name: Download shared artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n\n    - name: Set environment variables\n      run: |\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    # Restore build cache\n\n    - name: Restore cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Restore cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n\n    - name: Restore cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Restore compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n\n    - name: Restore cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Restore cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Restore bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n\n    - name: Stop if we cannot retrieve the cache\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.parsers-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        echo ::error::Cannot retrieve build cache.\n        exit 1\n\n    - name: Restore cache into the source tree\n      run: |\n        cp -v build/cli/bin/edgedb edb/cli/edgedb\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n        rsync -av ./build/extensions/edb/ ./edb/\n        rsync -av ./build/lib/edb/ ./edb/\n        cp build/postgres/install/stamp build/postgres/\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # Run the test\n\n    - name: Test\n      env:\n        SHARD: ${{ matrix.shard }}\n        EDGEDB_TEST_HA: 1\n        EDGEDB_TEST_CONSUL_PATH: build/stolon/bin/consul\n        EDGEDB_TEST_STOLON_CTL: build/stolon/bin/stolonctl\n        EDGEDB_TEST_STOLON_SENTINEL: build/stolon/bin/stolon-sentinel\n        EDGEDB_TEST_STOLON_KEEPER: build/stolon/bin/stolon-keeper\n      run: |\n        edb test -j1 -v -k test_ha_\n\n\n  workflow-notifications:\n    if: failure() && github.event_name != 'pull_request'\n    name: Notify in Slack on failures\n    needs:\n      - build\n      - ha-test\n    runs-on: ubuntu-latest\n    permissions:\n      actions: 'read'\n    steps:\n      - name: Slack Workflow Notification\n        uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309\n        with:\n          repo_token: ${{secrets.GITHUB_TOKEN}}\n          slack_webhook_url: ${{secrets.ACTIONS_SLACK_WEBHOOK_URL}}\n          name: 'Workflow notifications'\n          icon_emoji: ':hammer:'\n          include_jobs: 'on-failure'\n", "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:47.425000", "created_at": "2021-03-17T21:04:53+01:00", "updated_at": "2023-05-27T05:05:49+02:00", "name": "Tests on Managed PostgreSQL", "path": ".github/workflows/tests-managed-pg.yml", "contents": "name: Tests on Managed PostgreSQL\n\non:\n  schedule:\n    - cron: \"0 3 * * 6\"\n  workflow_dispatch:\n    inputs: {}\n  push:\n    branches:\n      - cloud-test\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n\n    - name: Cached requirements.txt\n      uses: actions/cache@v4\n      id: requirements-cache\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Compute requirements.txt\n      if: steps.requirements-cache.outputs.cache-hit != 'true'\n      run: |\n        python -m pip install pip-tools\n        pip-compile --no-strip-extras --all-build-deps \\\n          --extra test,language-server \\\n          --output-file requirements.txt pyproject.toml\n\n    - name: Install Python dependencies\n      run: |\n        python -c \"import sys; print(sys.prefix)\"\n        python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    - name: Compute cache keys\n      run: |\n        mkdir -p .tmp\n        python setup.py -q ci_helper --type cli > .tmp/edgedbcli_git_rev.txt\n        python setup.py -q ci_helper --type rust >.tmp/rust_cache_key.txt\n        python setup.py -q ci_helper --type ext >.tmp/ext_cache_key.txt\n        python setup.py -q ci_helper --type parsers >.tmp/parsers_cache_key.txt\n        python setup.py -q ci_helper --type postgres >.tmp/postgres_git_rev.txt\n        python setup.py -q ci_helper --type libpg_query >.tmp/libpg_query_git_rev.txt\n        echo 'f8cd94309eaccbfba5dea7835b88c78377608a37' >.tmp/stolon_git_rev.txt\n        python setup.py -q ci_helper --type bootstrap >.tmp/bootstrap_cache_key.txt\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo LIBPG_QUERY_GIT_REV=$(cat .tmp/libpg_query_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    - name: Upload shared artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n        retention-days: 1\n\n    # Restore binary cache\n\n    - name: Handle cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Handle cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n        restore-keys: |\n          edb-rust-v3-\n\n    - name: Handle cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Handle cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Handle cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Handle cached libpg_query build\n      uses: actions/cache@v4\n      id: libpg-query-cache\n      with:\n        path: edb/pgsql/parser/libpg_query/libpg_query.a\n        key: edb-libpg_query-v1-${{ env.LIBPG_QUERY_GIT_REV }}\n\n    # Install system dependencies for building\n\n    - name: Install system deps\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true'\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y uuid-dev libreadline-dev bison flex\n\n    - name: Install rust toolchain\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true'\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n\n    # Build EdgeDB CLI\n\n    - name: Handle EdgeDB CLI build cache\n      uses: actions/cache@v4\n      if: steps.cli-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/rust/cli\n        key: edb-cli-build-v7-${{ env.EDGEDBCLI_GIT_REV }}\n        restore-keys: |\n          edb-cli-build-v7-\n\n    - name: Build EdgeDB CLI\n      env:\n        CARGO_HOME: ${{ env.BUILD_TEMP }}/rust/cli/cargo_home\n        CACHE_HIT: ${{ steps.cli-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" == \"true\" ]]; then\n          cp -v build/cli/bin/edgedb edb/cli/edgedb\n        else\n          python setup.py -v build_cli\n        fi\n\n    # Build Rust extensions\n\n    - name: Handle Rust extensions build cache\n      uses: actions/cache@v4\n      if: steps.rust-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/rust/extensions\n        key: edb-rust-build-v1-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n        restore-keys: |\n          edb-rust-build-v1-\n\n    - name: Build Rust extensions\n      env:\n        CARGO_HOME: ${{ env.BUILD_TEMP }}/rust/extensions/cargo_home\n        CACHE_HIT: ${{ steps.rust-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p build/rust_extensions\n          rsync -av ./build/rust_extensions/ ${BUILD_LIB}/\n          python setup.py -v build_rust\n          rsync -av ${BUILD_LIB}/ build/rust_extensions/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n\n    # Build libpg_query\n\n    - name: Build libpg_query\n      if: |\n        steps.libpg-query-cache.outputs.cache-hit != 'true' &&\n        steps.ext-cache.outputs.cache-hit != 'true'\n      run: |\n        python setup.py build_libpg_query\n\n    # Build extensions\n\n    - name: Handle Cython extensions build cache\n      uses: actions/cache@v4\n      if: steps.ext-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/edb\n        key: edb-ext-build-v3-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Build Cython extensions\n      env:\n        CACHE_HIT: ${{ steps.ext-cache.outputs.cache-hit }}\n        BUILD_EXT_MODE: py-only\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p ./build/extensions\n          rsync -av ./build/extensions/ ${BUILD_LIB}/\n          BUILD_EXT_MODE=py-only python setup.py -v build_ext\n          rsync -av ${BUILD_LIB}/ ./build/extensions/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/extensions/edb/ ./edb/\n\n    # Build parsers\n\n    - name: Handle compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n        restore-keys: |\n          edb-parsers-v3-\n\n    - name: Build parsers\n      env:\n        CACHE_HIT: ${{ steps.parsers-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p ./build/lib\n          rsync -av ./build/lib/ ${BUILD_LIB}/\n          python setup.py -v build_parsers\n          rsync -av ${BUILD_LIB}/ ./build/lib/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/lib/edb/ ./edb/\n\n    # Build PostgreSQL\n\n    - name: Build PostgreSQL\n      env:\n        CACHE_HIT: ${{ steps.postgres-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" == \"true\" ]]; then\n          cp build/postgres/install/stamp build/postgres/\n        else\n          python setup.py build_postgres\n          cp build/postgres/stamp build/postgres/install/\n        fi\n\n    # Build Stolon\n\n    - name: Set up Go\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      uses: actions/setup-go@v2\n      with:\n        go-version: 1.16\n\n    - uses: actions/checkout@v4\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      with:\n        repository: edgedb/stolon\n        path: build/stolon\n        ref: ${{ env.STOLON_GIT_REV }}\n        fetch-depth: 0\n        submodules: false\n\n    - name: Build Stolon\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      run: |\n        mkdir -p build/stolon/bin/\n        curl -fsSL https://releases.hashicorp.com/consul/1.10.1/consul_1.10.1_linux_amd64.zip | zcat > build/stolon/bin/consul\n        chmod +x build/stolon/bin/consul\n        cd build/stolon && make\n\n    # Install edgedb-server and populate egg-info\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # Refresh the bootstrap cache\n\n    - name: Handle bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n        restore-keys: |\n          edb-bootstrap-v2-\n\n    - name: Bootstrap EdgeDB Server\n      if: steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        edb server --bootstrap-only\n\n\n  setup-aws-rds:\n    runs-on: ubuntu-latest\n    outputs:\n      pghost: ${{ steps.pghost.outputs.stdout }}\n    defaults:\n      run:\n        working-directory: .github/aws-rds\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: false\n\n      - name: Setup Terraform\n        uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1  # v2.0.3\n\n      - name: Initialize Terraform\n        run: terraform init\n\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-2\n\n      - name: Setup AWS RDS\n        env:\n          TF_VAR_sg_id: ${{ secrets.AWS_SECURITY_GROUP }}\n          TF_VAR_password: ${{ secrets.AWS_RDS_PASSWORD }}\n        run: |\n          terraform apply -auto-approve\n\n      - name: Store Terraform state\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: aws-rds-tfstate\n          path: .github/aws-rds/terraform.tfstate\n          retention-days: 1\n\n      - name: Get RDS host\n        id: pghost\n        run: |\n          terraform output -raw db_instance_address\n\n  test-aws-rds:\n    runs-on: ubuntu-latest\n    needs: [setup-aws-rds, build]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n    \n    - name: Download requirements.txt\n      uses: actions/cache@v4\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Python dependencies\n      run: python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    # Restore the artifacts and environment variables\n\n    - name: Download shared artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n\n    - name: Set environment variables\n      run: |\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    # Restore build cache\n\n    - name: Restore cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Restore cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n\n    - name: Restore cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Restore compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n\n    - name: Restore cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Restore cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Restore bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n\n    - name: Stop if we cannot retrieve the cache\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.parsers-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        echo ::error::Cannot retrieve build cache.\n        exit 1\n\n    - name: Restore cache into the source tree\n      run: |\n        cp -v build/cli/bin/edgedb edb/cli/edgedb\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n        rsync -av ./build/extensions/edb/ ./edb/\n        rsync -av ./build/lib/edb/ ./edb/\n        cp build/postgres/install/stamp build/postgres/\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # Run the test\n\n    - name: Test\n      env:\n        EDGEDB_TEST_BACKEND_DSN: postgres://edbtest:${{ secrets.AWS_RDS_PASSWORD }}@${{ needs.setup-aws-rds.outputs.pghost }}/postgres\n      run: |\n        edb server --bootstrap-only --backend-dsn=$EDGEDB_TEST_BACKEND_DSN --testmode\n        edb test -j2 -v --backend-dsn=$EDGEDB_TEST_BACKEND_DSN\n\n  teardown-aws-rds:\n    runs-on: ubuntu-latest\n    needs: test-aws-rds\n    if: ${{ always() }}\n    defaults:\n      run:\n        working-directory: .github/aws-rds\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: false\n\n      - name: Setup Terraform\n        uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1  # v2.0.3\n\n      - name: Initialize Terraform\n        run: terraform init\n\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-2\n\n      - name: Restore Terraform state\n        uses: actions/download-artifact@v4\n        with:\n          name: aws-rds-tfstate\n          path: .github/aws-rds\n\n      - name: Destroy AWS RDS\n        run: terraform destroy -auto-approve\n        env:\n          TF_VAR_sg_id: ${{ secrets.AWS_SECURITY_GROUP }}\n          TF_VAR_password: ${{ secrets.AWS_RDS_PASSWORD }}\n\n      - name: Overwrite Terraform state\n        uses: actions/upload-artifact@v4\n        with:\n          name: aws-rds-tfstate\n          path: .github/aws-rds/terraform.tfstate\n          retention-days: 1\n\n\n  setup-do-database:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: .github/do-database\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: false\n\n      - name: Setup Terraform\n        uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1  # v2.0.3\n\n      - name: Initialize Terraform\n        run: terraform init\n\n      - name: Setup DigitalOcean Database\n        env:\n          TF_VAR_do_token: ${{ secrets.DIGITALOCEAN_TOKEN }}\n        run: |\n          terraform apply -auto-approve\n\n      - name: Store Terraform state\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: do-database-tfstate\n          path: .github/do-database/terraform.tfstate\n          retention-days: 1\n\n  test-do-database:\n    runs-on: ubuntu-latest\n    needs: [setup-do-database, build]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n    \n    - name: Download requirements.txt\n      uses: actions/cache@v4\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Python dependencies\n      run: python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    # Restore the artifacts and environment variables\n\n    - name: Download shared artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n\n    - name: Set environment variables\n      run: |\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    # Restore build cache\n\n    - name: Restore cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Restore cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n\n    - name: Restore cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Restore compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n\n    - name: Restore cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Restore cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Restore bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n\n    - name: Stop if we cannot retrieve the cache\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.parsers-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        echo ::error::Cannot retrieve build cache.\n        exit 1\n\n    - name: Restore cache into the source tree\n      run: |\n        cp -v build/cli/bin/edgedb edb/cli/edgedb\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n        rsync -av ./build/extensions/edb/ ./edb/\n        rsync -av ./build/lib/edb/ ./edb/\n        cp build/postgres/install/stamp build/postgres/\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    - name: Setup Terraform\n      uses: hashicorp/setup-terraform@v1\n\n    - name: Initialize Terraform\n      working-directory: .github/do-database\n      run: terraform init\n\n    - name: Restore Terraform state\n      uses: actions/download-artifact@v4\n      with:\n        name: do-database-tfstate\n        path: .github/do-database\n\n    - name: Get Database host\n      id: pghost\n      working-directory: .github/do-database\n      run: |\n        terraform output -raw db_instance_address\n\n    - name: Get Database port\n      id: pgport\n      working-directory: .github/do-database\n      run: |\n        terraform output -raw db_instance_port\n\n    - name: Get Database user\n      id: pguser\n      working-directory: .github/do-database\n      run: |\n        terraform output -raw db_instance_user\n\n    - name: Get Database password\n      id: pgpass\n      working-directory: .github/do-database\n      run: |\n        terraform output -raw db_instance_password\n\n    - name: Get Database dbname\n      id: pgdatabase\n      working-directory: .github/do-database\n      run: |\n        terraform output -raw db_instance_database\n\n    # Run the test\n\n    - name: Test\n      env:\n        EDGEDB_TEST_BACKEND_DSN: postgres://${{ steps.pguser.outputs.stdout }}:${{ steps.pgpass.outputs.stdout }}@${{ steps.pghost.outputs.stdout }}:${{ steps.pgport.outputs.stdout }}/${{ steps.pgdatabase.outputs.stdout }}\n      run: |\n        edb server --bootstrap-only --backend-dsn=$EDGEDB_TEST_BACKEND_DSN --testmode\n        edb test -j2 -v --backend-dsn=$EDGEDB_TEST_BACKEND_DSN\n\n  teardown-do-database:\n    runs-on: ubuntu-latest\n    needs: test-do-database\n    if: ${{ always() }}\n    defaults:\n      run:\n        working-directory: .github/do-database\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: false\n\n      - name: Setup Terraform\n        uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1  # v2.0.3\n\n      - name: Initialize Terraform\n        run: terraform init\n\n      - name: Restore Terraform state\n        uses: actions/download-artifact@v4\n        with:\n          name: do-database-tfstate\n          path: .github/do-database\n\n      - name: Destroy DigitalOcean Database\n        run: terraform destroy -auto-approve\n        env:\n          TF_VAR_do_token: ${{ secrets.DIGITALOCEAN_TOKEN }}\n\n      - name: Overwrite Terraform state\n        uses: actions/upload-artifact@v4\n        with:\n          name: do-database-tfstate\n          path: .github/do-database/terraform.tfstate\n          retention-days: 1\n\n\n  setup-gcp-cloud-sql:\n    runs-on: ubuntu-latest\n    outputs:\n      pghost: ${{ steps.pghost.outputs.stdout }}\n    defaults:\n      run:\n        working-directory: .github/gcp-cloud-sql\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: false\n\n      - name: Setup Terraform\n        uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1  # v2.0.3\n\n      - name: Initialize Terraform\n        run: terraform init\n\n      - name: Configure GCP Credentials\n        uses: google-github-actions/setup-gcloud@main\n        with:\n          service_account_key: ${{ secrets.GCP_SA_KEY }}\n          export_default_credentials: true\n\n      - name: Setup GCP Cloud SQL\n        env:\n          TF_VAR_password: ${{ secrets.AWS_RDS_PASSWORD }}\n        run: |\n          terraform apply -auto-approve\n\n      - name: Store Terraform state\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: gcp-cloud-sql-tfstate\n          path: .github/gcp-cloud-sql/terraform.tfstate\n          retention-days: 1\n\n      - name: Get Cloud SQL host\n        id: pghost\n        run: |\n          terraform output -raw db_instance_address\n\n  test-gcp-cloud-sql:\n    runs-on: ubuntu-latest\n    needs: [setup-gcp-cloud-sql, build]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n    \n    - name: Download requirements.txt\n      uses: actions/cache@v4\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Python dependencies\n      run: python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    # Restore the artifacts and environment variables\n\n    - name: Download shared artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n\n    - name: Set environment variables\n      run: |\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    # Restore build cache\n\n    - name: Restore cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Restore cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n\n    - name: Restore cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Restore compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n\n    - name: Restore cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Restore cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Restore bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n\n    - name: Stop if we cannot retrieve the cache\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.parsers-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        echo ::error::Cannot retrieve build cache.\n        exit 1\n\n    - name: Restore cache into the source tree\n      run: |\n        cp -v build/cli/bin/edgedb edb/cli/edgedb\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n        rsync -av ./build/extensions/edb/ ./edb/\n        rsync -av ./build/lib/edb/ ./edb/\n        cp build/postgres/install/stamp build/postgres/\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # Run the test\n\n    - name: Test\n      env:\n        EDGEDB_TEST_BACKEND_DSN: postgres://postgres:${{ secrets.AWS_RDS_PASSWORD }}@${{ needs.setup-gcp-cloud-sql.outputs.pghost }}/postgres\n      run: |\n        edb server --bootstrap-only --backend-dsn=$EDGEDB_TEST_BACKEND_DSN --testmode\n        edb test -j2 -v --backend-dsn=$EDGEDB_TEST_BACKEND_DSN\n\n  teardown-gcp-cloud-sql:\n    runs-on: ubuntu-latest\n    needs: test-gcp-cloud-sql\n    if: ${{ always() }}\n    defaults:\n      run:\n        working-directory: .github/gcp-cloud-sql\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: false\n\n      - name: Setup Terraform\n        uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1  # v2.0.3\n\n      - name: Initialize Terraform\n        run: terraform init\n\n      - name: Configure GCP Credentials\n        uses: google-github-actions/setup-gcloud@main\n        with:\n          service_account_key: ${{ secrets.GCP_SA_KEY }}\n          export_default_credentials: true\n\n      - name: Restore Terraform state\n        uses: actions/download-artifact@v4\n        with:\n          name: gcp-cloud-sql-tfstate\n          path: .github/gcp-cloud-sql\n\n      - name: Destroy GCP Cloud SQL\n        run: terraform destroy -auto-approve\n        env:\n          TF_VAR_password: ${{ secrets.AWS_RDS_PASSWORD }}\n\n      - name: Overwrite Terraform state\n        uses: actions/upload-artifact@v4\n        with:\n          name: gcp-cloud-sql-tfstate\n          path: .github/gcp-cloud-sql/terraform.tfstate\n          retention-days: 1\n\n\n  setup-aws-aurora:\n    runs-on: ubuntu-latest\n    outputs:\n      pghost: ${{ steps.pghost.outputs.stdout }}\n    defaults:\n      run:\n        working-directory: .github/aws-aurora\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: false\n\n      - name: Setup Terraform\n        uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1  # v2.0.3\n\n      - name: Initialize Terraform\n        run: terraform init\n\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-2\n\n      - name: Setup AWS RDS Aurora\n        env:\n          TF_VAR_sg_id: ${{ secrets.AWS_SECURITY_GROUP }}\n          TF_VAR_password: ${{ secrets.AWS_RDS_PASSWORD }}\n          TF_VAR_vpc_id: ${{ secrets.AWS_VPC_ID }}\n        run: |\n          terraform apply -auto-approve\n\n      - name: Store Terraform state\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: aws-aurora-tfstate\n          path: .github/aws-aurora/terraform.tfstate\n          retention-days: 1\n\n      - name: Get RDS Aurora host\n        id: pghost\n        run: |\n          terraform output -raw rds_cluster_endpoint\n\n  test-aws-aurora:\n    runs-on: ubuntu-latest\n    needs: [setup-aws-aurora, build]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n    \n    - name: Download requirements.txt\n      uses: actions/cache@v4\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Python dependencies\n      run: python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    # Restore the artifacts and environment variables\n\n    - name: Download shared artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n\n    - name: Set environment variables\n      run: |\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    # Restore build cache\n\n    - name: Restore cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Restore cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n\n    - name: Restore cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Restore compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n\n    - name: Restore cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Restore cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Restore bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n\n    - name: Stop if we cannot retrieve the cache\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.parsers-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        echo ::error::Cannot retrieve build cache.\n        exit 1\n\n    - name: Restore cache into the source tree\n      run: |\n        cp -v build/cli/bin/edgedb edb/cli/edgedb\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n        rsync -av ./build/extensions/edb/ ./edb/\n        rsync -av ./build/lib/edb/ ./edb/\n        cp build/postgres/install/stamp build/postgres/\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # Run the test\n\n    - name: Test\n      env:\n        EDGEDB_TEST_BACKEND_DSN: postgres://edbtest:${{ secrets.AWS_RDS_PASSWORD }}@${{ needs.setup-aws-aurora.outputs.pghost }}/postgres\n      run: |\n        edb server --bootstrap-only --backend-dsn=$EDGEDB_TEST_BACKEND_DSN --testmode\n        edb test -j1 -v --backend-dsn=$EDGEDB_TEST_BACKEND_DSN\n\n  teardown-aws-aurora:\n    runs-on: ubuntu-latest\n    needs: test-aws-aurora\n    if: ${{ always() }}\n    defaults:\n      run:\n        working-directory: .github/aws-aurora\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: false\n\n      - name: Setup Terraform\n        uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1  # v2.0.3\n\n      - name: Initialize Terraform\n        run: terraform init\n\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-2\n\n      - name: Restore Terraform state\n        uses: actions/download-artifact@v4\n        with:\n          name: aws-aurora-tfstate\n          path: .github/aws-aurora\n\n      - name: Destroy AWS RDS Aurora\n        run: terraform destroy -auto-approve\n        env:\n          TF_VAR_sg_id: ${{ secrets.AWS_SECURITY_GROUP }}\n          TF_VAR_password: ${{ secrets.AWS_RDS_PASSWORD }}\n          TF_VAR_vpc_id: ${{ secrets.AWS_VPC_ID }}\n\n      - name: Overwrite Terraform state\n        uses: actions/upload-artifact@v4\n        with:\n          name: aws-aurora-tfstate\n          path: .github/aws-aurora/terraform.tfstate\n          retention-days: 1\n\n\n  setup-heroku-postgres:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: .github/heroku-postgres\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: false\n\n      - name: Setup Terraform\n        uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1  # v2.0.3\n\n      - name: Initialize Terraform\n        run: terraform init\n\n      - name: Setup Heroku Postgres\n        env:\n          HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}\n          HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }}\n        run: |\n          terraform apply -auto-approve\n\n      - name: Store Terraform state\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: heroku-postgres-tfstate\n          path: .github/heroku-postgres/terraform.tfstate\n          retention-days: 1\n\n  test-heroku-postgres:\n    runs-on: ubuntu-latest\n    needs: [setup-heroku-postgres, build]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n    \n    - name: Download requirements.txt\n      uses: actions/cache@v4\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Python dependencies\n      run: python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    # Restore the artifacts and environment variables\n\n    - name: Download shared artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n\n    - name: Set environment variables\n      run: |\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    # Restore build cache\n\n    - name: Restore cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Restore cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n\n    - name: Restore cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Restore compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n\n    - name: Restore cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Restore cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Restore bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n\n    - name: Stop if we cannot retrieve the cache\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.parsers-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        echo ::error::Cannot retrieve build cache.\n        exit 1\n\n    - name: Restore cache into the source tree\n      run: |\n        cp -v build/cli/bin/edgedb edb/cli/edgedb\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n        rsync -av ./build/extensions/edb/ ./edb/\n        rsync -av ./build/lib/edb/ ./edb/\n        cp build/postgres/install/stamp build/postgres/\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    - name: Setup Terraform\n      uses: hashicorp/setup-terraform@v1\n\n    - name: Initialize Terraform\n      working-directory: .github/heroku-postgres\n      run: terraform init\n\n    - name: Restore Terraform state\n      uses: actions/download-artifact@v4\n      with:\n        name: heroku-postgres-tfstate\n        path: .github/heroku-postgres\n\n    - name: Get Heroku Postgres DSN\n      id: pgdsn\n      working-directory: .github/heroku-postgres\n      run: |\n        terraform output -raw heroku_postgres_dsn\n\n    # Run the test\n\n    - name: Test\n      env:\n        EDGEDB_TEST_BACKEND_VENDOR: heroku-postgres\n        EDGEDB_TEST_BACKEND_DSN: ${{ steps.pgdsn.outputs.stdout }}\n      run: |\n        edb server --bootstrap-only --backend-dsn=$EDGEDB_TEST_BACKEND_DSN --testmode\n        edb test -j1 -v --backend-dsn=$EDGEDB_TEST_BACKEND_DSN\n\n  teardown-heroku-postgres:\n    runs-on: ubuntu-latest\n    needs: test-heroku-postgres\n    if: ${{ always() }}\n    defaults:\n      run:\n        working-directory: .github/heroku-postgres\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: false\n\n      - name: Setup Terraform\n        uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1  # v2.0.3\n\n      - name: Initialize Terraform\n        run: terraform init\n\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-2\n\n      - name: Restore Terraform state\n        uses: actions/download-artifact@v4\n        with:\n          name: heroku-postgres-tfstate\n          path: .github/heroku-postgres\n\n      - name: Destroy Heroku Postgres\n        run: terraform destroy -auto-approve\n        env:\n          HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}\n          HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }}\n\n      - name: Overwrite Terraform state\n        uses: actions/upload-artifact@v4\n        with:\n          name: heroku-postgres-tfstate\n          path: .github/heroku-postgres/terraform.tfstate\n          retention-days: 1\n\n\n  workflow-notifications:\n    if: failure() && github.event_name != 'pull_request'\n    name: Notify in Slack on failures\n    needs:\n      - setup-aws-rds\n      - test-aws-rds\n      - teardown-aws-rds\n      - setup-do-database\n      - test-do-database\n      - teardown-do-database\n      - setup-gcp-cloud-sql\n      - test-gcp-cloud-sql\n      - teardown-gcp-cloud-sql\n      - setup-aws-aurora\n      - test-aws-aurora\n      - teardown-aws-aurora\n      - setup-heroku-postgres\n      - test-heroku-postgres\n      - teardown-heroku-postgres\n    runs-on: ubuntu-latest\n    permissions:\n      actions: 'read'\n    steps:\n      - name: Slack Workflow Notification\n        uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309\n        with:\n          repo_token: ${{secrets.GITHUB_TOKEN}}\n          slack_webhook_url: ${{secrets.ACTIONS_SLACK_WEBHOOK_URL}}\n          name: 'Workflow notifications'\n          icon_emoji: ':hammer:'\n          include_jobs: 'on-failure'\n", "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:48.458284", "created_at": "2022-09-15T01:15:16+02:00", "updated_at": "2023-05-23T22:03:49+02:00", "name": "Tests of patching old EdgeDB Versions", "path": ".github/workflows/tests-patches.yml", "contents": "name: Tests of patching old EdgeDB Versions\n\non:\n  workflow_dispatch:\n    inputs: {}\n  pull_request:\n    branches:\n      - release/*\n  push:\n    branches:\n      - patch-test*\n      - release/*\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n\n    - name: Cached requirements.txt\n      uses: actions/cache@v4\n      id: requirements-cache\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Compute requirements.txt\n      if: steps.requirements-cache.outputs.cache-hit != 'true'\n      run: |\n        python -m pip install pip-tools\n        pip-compile --no-strip-extras --all-build-deps \\\n          --extra test,language-server \\\n          --output-file requirements.txt pyproject.toml\n\n    - name: Install Python dependencies\n      run: |\n        python -c \"import sys; print(sys.prefix)\"\n        python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    - name: Compute cache keys\n      run: |\n        mkdir -p .tmp\n        python setup.py -q ci_helper --type cli > .tmp/edgedbcli_git_rev.txt\n        python setup.py -q ci_helper --type rust >.tmp/rust_cache_key.txt\n        python setup.py -q ci_helper --type ext >.tmp/ext_cache_key.txt\n        python setup.py -q ci_helper --type parsers >.tmp/parsers_cache_key.txt\n        python setup.py -q ci_helper --type postgres >.tmp/postgres_git_rev.txt\n        python setup.py -q ci_helper --type libpg_query >.tmp/libpg_query_git_rev.txt\n        echo 'f8cd94309eaccbfba5dea7835b88c78377608a37' >.tmp/stolon_git_rev.txt\n        python setup.py -q ci_helper --type bootstrap >.tmp/bootstrap_cache_key.txt\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo LIBPG_QUERY_GIT_REV=$(cat .tmp/libpg_query_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    - name: Upload shared artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n        retention-days: 1\n\n    # Restore binary cache\n\n    - name: Handle cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Handle cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n        restore-keys: |\n          edb-rust-v3-\n\n    - name: Handle cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Handle cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Handle cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Handle cached libpg_query build\n      uses: actions/cache@v4\n      id: libpg-query-cache\n      with:\n        path: edb/pgsql/parser/libpg_query/libpg_query.a\n        key: edb-libpg_query-v1-${{ env.LIBPG_QUERY_GIT_REV }}\n\n    # Install system dependencies for building\n\n    - name: Install system deps\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true'\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y uuid-dev libreadline-dev bison flex\n\n    - name: Install rust toolchain\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true'\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n\n    # Build EdgeDB CLI\n\n    - name: Handle EdgeDB CLI build cache\n      uses: actions/cache@v4\n      if: steps.cli-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/rust/cli\n        key: edb-cli-build-v7-${{ env.EDGEDBCLI_GIT_REV }}\n        restore-keys: |\n          edb-cli-build-v7-\n\n    - name: Build EdgeDB CLI\n      env:\n        CARGO_HOME: ${{ env.BUILD_TEMP }}/rust/cli/cargo_home\n        CACHE_HIT: ${{ steps.cli-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" == \"true\" ]]; then\n          cp -v build/cli/bin/edgedb edb/cli/edgedb\n        else\n          python setup.py -v build_cli\n        fi\n\n    # Build Rust extensions\n\n    - name: Handle Rust extensions build cache\n      uses: actions/cache@v4\n      if: steps.rust-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/rust/extensions\n        key: edb-rust-build-v1-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n        restore-keys: |\n          edb-rust-build-v1-\n\n    - name: Build Rust extensions\n      env:\n        CARGO_HOME: ${{ env.BUILD_TEMP }}/rust/extensions/cargo_home\n        CACHE_HIT: ${{ steps.rust-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p build/rust_extensions\n          rsync -av ./build/rust_extensions/ ${BUILD_LIB}/\n          python setup.py -v build_rust\n          rsync -av ${BUILD_LIB}/ build/rust_extensions/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n\n    # Build libpg_query\n\n    - name: Build libpg_query\n      if: |\n        steps.libpg-query-cache.outputs.cache-hit != 'true' &&\n        steps.ext-cache.outputs.cache-hit != 'true'\n      run: |\n        python setup.py build_libpg_query\n\n    # Build extensions\n\n    - name: Handle Cython extensions build cache\n      uses: actions/cache@v4\n      if: steps.ext-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/edb\n        key: edb-ext-build-v3-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Build Cython extensions\n      env:\n        CACHE_HIT: ${{ steps.ext-cache.outputs.cache-hit }}\n        BUILD_EXT_MODE: py-only\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p ./build/extensions\n          rsync -av ./build/extensions/ ${BUILD_LIB}/\n          BUILD_EXT_MODE=py-only python setup.py -v build_ext\n          rsync -av ${BUILD_LIB}/ ./build/extensions/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/extensions/edb/ ./edb/\n\n    # Build parsers\n\n    - name: Handle compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n        restore-keys: |\n          edb-parsers-v3-\n\n    - name: Build parsers\n      env:\n        CACHE_HIT: ${{ steps.parsers-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p ./build/lib\n          rsync -av ./build/lib/ ${BUILD_LIB}/\n          python setup.py -v build_parsers\n          rsync -av ${BUILD_LIB}/ ./build/lib/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/lib/edb/ ./edb/\n\n    # Build PostgreSQL\n\n    - name: Build PostgreSQL\n      env:\n        CACHE_HIT: ${{ steps.postgres-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" == \"true\" ]]; then\n          cp build/postgres/install/stamp build/postgres/\n        else\n          python setup.py build_postgres\n          cp build/postgres/stamp build/postgres/install/\n        fi\n\n    # Build Stolon\n\n    - name: Set up Go\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      uses: actions/setup-go@v2\n      with:\n        go-version: 1.16\n\n    - uses: actions/checkout@v4\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      with:\n        repository: edgedb/stolon\n        path: build/stolon\n        ref: ${{ env.STOLON_GIT_REV }}\n        fetch-depth: 0\n        submodules: false\n\n    - name: Build Stolon\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      run: |\n        mkdir -p build/stolon/bin/\n        curl -fsSL https://releases.hashicorp.com/consul/1.10.1/consul_1.10.1_linux_amd64.zip | zcat > build/stolon/bin/consul\n        chmod +x build/stolon/bin/consul\n        cd build/stolon && make\n\n    # Install edgedb-server and populate egg-info\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # Refresh the bootstrap cache\n\n    - name: Handle bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n        restore-keys: |\n          edb-bootstrap-v2-\n\n    - name: Bootstrap EdgeDB Server\n      if: steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        edb server --bootstrap-only\n\n  compute-versions:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n    - uses: actions/checkout@v4\n    - id: set-matrix\n      name: Compute versions to run on\n      run: python3 .github/scripts/patches/compute-versions.py\n\n  test:\n    runs-on: ubuntu-latest\n    needs: [build, compute-versions]\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJSON(needs.compute-versions.outputs.matrix)}}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n    \n    - name: Download requirements.txt\n      uses: actions/cache@v4\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Python dependencies\n      run: python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    # Restore the artifacts and environment variables\n\n    - name: Download shared artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n\n    - name: Set environment variables\n      run: |\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    # Restore build cache\n\n    - name: Restore cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Restore cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n\n    - name: Restore cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Restore compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n\n    - name: Restore cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Restore cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Restore bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n\n    - name: Stop if we cannot retrieve the cache\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.parsers-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        echo ::error::Cannot retrieve build cache.\n        exit 1\n\n    - name: Restore cache into the source tree\n      run: |\n        cp -v build/cli/bin/edgedb edb/cli/edgedb\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n        rsync -av ./build/extensions/edb/ ./edb/\n        rsync -av ./build/lib/edb/ ./edb/\n        cp build/postgres/install/stamp build/postgres/\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # Run the test\n\n    - name: Download an earlier database version and set up a instance\n      env:\n        EDGEDB_VERSION: ${{ matrix.edgedb-version }}\n        EDGEDB_URL: ${{ matrix.edgedb-url }}\n      run: |\n        wget -q \"$EDGEDB_URL\"\n        tar xzf edgedb-server-$EDGEDB_VERSION.tar.gz\n        edgedb-server-$EDGEDB_VERSION/bin/edgedb-server -D test-dir --bootstrap-only --testmode\n\n    - name: Create databases on the older version\n      env:\n        EDGEDB_VERSION: ${{ matrix.edgedb-version }}\n      if: ${{ matrix.make-dbs }}\n      run: python3 .github/scripts/patches/create-databases.py\n\n    - name: Run tests with instance created on an older version\n      run: |\n        # Run the server explicitly first to do the upgrade, since edb test\n        # has timeouts.\n        edb server --bootstrap-only --data-dir test-dir\n        # Should we run *all* the tests?\n        edb test -j2 -v --data-dir test-dir tests/test_edgeql_json.py tests/test_edgeql_casts.py tests/test_edgeql_functions.py tests/test_edgeql_expressions.py tests/test_edgeql_policies.py tests/test_edgeql_vector.py tests/test_edgeql_scope.py tests/test_http_ext_auth.py\n\n    - name: Test downgrading a database after an upgrade\n      if: ${{ !contains(matrix.edgedb-version, '-rc') && !contains(matrix.edgedb-version, '-beta') }}\n      env:\n        EDGEDB_VERSION: ${{ matrix.edgedb-version }}\n      run: python3 .github/scripts/patches/test-downgrade.py\n\n  workflow-notifications:\n    if: failure() && github.event_name != 'pull_request'\n    name: Notify in Slack on failures\n    needs:\n      - build\n      - compute-versions\n      - test\n    runs-on: ubuntu-latest\n    permissions:\n      actions: 'read'\n    steps:\n      - name: Slack Workflow Notification\n        uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309\n        with:\n          repo_token: ${{secrets.GITHUB_TOKEN}}\n          slack_webhook_url: ${{secrets.ACTIONS_SLACK_WEBHOOK_URL}}\n          name: 'Workflow notifications'\n          icon_emoji: ':hammer:'\n          include_jobs: 'on-failure'\n", "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:49.772284", "created_at": "2021-10-01T21:19:37+02:00", "updated_at": "2023-05-24T05:05:31+02:00", "name": "Tests on PostgreSQL Versions", "path": ".github/workflows/tests-pg-versions.yml", "contents": "name: Tests on PostgreSQL Versions\n\non:\n  schedule:\n    - cron: \"0 3 * * *\"\n  workflow_dispatch:\n    inputs: {}\n  push:\n    branches:\n      - pg-test\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n\n    - name: Cached requirements.txt\n      uses: actions/cache@v4\n      id: requirements-cache\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Compute requirements.txt\n      if: steps.requirements-cache.outputs.cache-hit != 'true'\n      run: |\n        python -m pip install pip-tools\n        pip-compile --no-strip-extras --all-build-deps \\\n          --extra test,language-server \\\n          --output-file requirements.txt pyproject.toml\n\n    - name: Install Python dependencies\n      run: |\n        python -c \"import sys; print(sys.prefix)\"\n        python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    - name: Compute cache keys\n      run: |\n        mkdir -p .tmp\n        python setup.py -q ci_helper --type cli > .tmp/edgedbcli_git_rev.txt\n        python setup.py -q ci_helper --type rust >.tmp/rust_cache_key.txt\n        python setup.py -q ci_helper --type ext >.tmp/ext_cache_key.txt\n        python setup.py -q ci_helper --type parsers >.tmp/parsers_cache_key.txt\n        python setup.py -q ci_helper --type postgres >.tmp/postgres_git_rev.txt\n        python setup.py -q ci_helper --type libpg_query >.tmp/libpg_query_git_rev.txt\n        echo 'f8cd94309eaccbfba5dea7835b88c78377608a37' >.tmp/stolon_git_rev.txt\n        python setup.py -q ci_helper --type bootstrap >.tmp/bootstrap_cache_key.txt\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo LIBPG_QUERY_GIT_REV=$(cat .tmp/libpg_query_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    - name: Upload shared artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n        retention-days: 1\n\n    # Restore binary cache\n\n    - name: Handle cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Handle cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n        restore-keys: |\n          edb-rust-v3-\n\n    - name: Handle cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Handle cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Handle cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Handle cached libpg_query build\n      uses: actions/cache@v4\n      id: libpg-query-cache\n      with:\n        path: edb/pgsql/parser/libpg_query/libpg_query.a\n        key: edb-libpg_query-v1-${{ env.LIBPG_QUERY_GIT_REV }}\n\n    # Install system dependencies for building\n\n    - name: Install system deps\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true'\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y uuid-dev libreadline-dev bison flex\n\n    - name: Install rust toolchain\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true'\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n\n    # Build EdgeDB CLI\n\n    - name: Handle EdgeDB CLI build cache\n      uses: actions/cache@v4\n      if: steps.cli-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/rust/cli\n        key: edb-cli-build-v7-${{ env.EDGEDBCLI_GIT_REV }}\n        restore-keys: |\n          edb-cli-build-v7-\n\n    - name: Build EdgeDB CLI\n      env:\n        CARGO_HOME: ${{ env.BUILD_TEMP }}/rust/cli/cargo_home\n        CACHE_HIT: ${{ steps.cli-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" == \"true\" ]]; then\n          cp -v build/cli/bin/edgedb edb/cli/edgedb\n        else\n          python setup.py -v build_cli\n        fi\n\n    # Build Rust extensions\n\n    - name: Handle Rust extensions build cache\n      uses: actions/cache@v4\n      if: steps.rust-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/rust/extensions\n        key: edb-rust-build-v1-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n        restore-keys: |\n          edb-rust-build-v1-\n\n    - name: Build Rust extensions\n      env:\n        CARGO_HOME: ${{ env.BUILD_TEMP }}/rust/extensions/cargo_home\n        CACHE_HIT: ${{ steps.rust-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p build/rust_extensions\n          rsync -av ./build/rust_extensions/ ${BUILD_LIB}/\n          python setup.py -v build_rust\n          rsync -av ${BUILD_LIB}/ build/rust_extensions/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n\n    # Build libpg_query\n\n    - name: Build libpg_query\n      if: |\n        steps.libpg-query-cache.outputs.cache-hit != 'true' &&\n        steps.ext-cache.outputs.cache-hit != 'true'\n      run: |\n        python setup.py build_libpg_query\n\n    # Build extensions\n\n    - name: Handle Cython extensions build cache\n      uses: actions/cache@v4\n      if: steps.ext-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/edb\n        key: edb-ext-build-v3-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Build Cython extensions\n      env:\n        CACHE_HIT: ${{ steps.ext-cache.outputs.cache-hit }}\n        BUILD_EXT_MODE: py-only\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p ./build/extensions\n          rsync -av ./build/extensions/ ${BUILD_LIB}/\n          BUILD_EXT_MODE=py-only python setup.py -v build_ext\n          rsync -av ${BUILD_LIB}/ ./build/extensions/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/extensions/edb/ ./edb/\n\n    # Build parsers\n\n    - name: Handle compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n        restore-keys: |\n          edb-parsers-v3-\n\n    - name: Build parsers\n      env:\n        CACHE_HIT: ${{ steps.parsers-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p ./build/lib\n          rsync -av ./build/lib/ ${BUILD_LIB}/\n          python setup.py -v build_parsers\n          rsync -av ${BUILD_LIB}/ ./build/lib/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/lib/edb/ ./edb/\n\n    # Build PostgreSQL\n\n    - name: Build PostgreSQL\n      env:\n        CACHE_HIT: ${{ steps.postgres-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" == \"true\" ]]; then\n          cp build/postgres/install/stamp build/postgres/\n        else\n          python setup.py build_postgres\n          cp build/postgres/stamp build/postgres/install/\n        fi\n\n    # Build Stolon\n\n    - name: Set up Go\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      uses: actions/setup-go@v2\n      with:\n        go-version: 1.16\n\n    - uses: actions/checkout@v4\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      with:\n        repository: edgedb/stolon\n        path: build/stolon\n        ref: ${{ env.STOLON_GIT_REV }}\n        fetch-depth: 0\n        submodules: false\n\n    - name: Build Stolon\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      run: |\n        mkdir -p build/stolon/bin/\n        curl -fsSL https://releases.hashicorp.com/consul/1.10.1/consul_1.10.1_linux_amd64.zip | zcat > build/stolon/bin/consul\n        chmod +x build/stolon/bin/consul\n        cd build/stolon && make\n\n    # Install edgedb-server and populate egg-info\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # Refresh the bootstrap cache\n\n    - name: Handle bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n        restore-keys: |\n          edb-bootstrap-v2-\n\n    - name: Bootstrap EdgeDB Server\n      if: steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        edb server --bootstrap-only\n\n  test:\n    runs-on: ubuntu-latest\n    needs: build\n    strategy:\n      fail-fast: false\n      matrix:\n        postgres-version: [ 16 ]\n        single-mode:\n         - ''\n         - 'NOCREATEDB NOCREATEROLE'\n         - 'CREATEDB NOCREATEROLE'\n        multi-tenant-mode: [ '' ]\n        include:\n          - postgres-version: 14\n            single-mode: ''\n            multi-tenant-mode: ''\n          - postgres-version: 15\n            single-mode: ''\n            multi-tenant-mode: ''\n          - postgres-version: 16\n            single-mode: ''\n            multi-tenant-mode: 'remote-compiler'\n          - postgres-version: 16\n            single-mode: ''\n            multi-tenant-mode: 'multi-tenant'\n    services:\n      postgres:\n        image: pgvector/pgvector:0.6.2-pg${{ matrix.postgres-version }}\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n          --name postgres\n        ports:\n          - 5432:5432\n\n    steps:\n    - name: Trust pgvector extension\n      uses: docker://docker\n      with:\n        args: docker exec postgres sed -i $a\\trusted=true /usr/share/postgresql/${{ matrix.postgres-version }}/extension/vector.control\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n    \n    - name: Download requirements.txt\n      uses: actions/cache@v4\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Python dependencies\n      run: python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    # Restore the artifacts and environment variables\n\n    - name: Download shared artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n\n    - name: Set environment variables\n      run: |\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    # Restore build cache\n\n    - name: Restore cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Restore cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n\n    - name: Restore cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Restore compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n\n    - name: Restore cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Restore cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Restore bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n\n    - name: Stop if we cannot retrieve the cache\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.parsers-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        echo ::error::Cannot retrieve build cache.\n        exit 1\n\n    - name: Restore cache into the source tree\n      run: |\n        cp -v build/cli/bin/edgedb edb/cli/edgedb\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n        rsync -av ./build/extensions/edb/ ./edb/\n        rsync -av ./build/lib/edb/ ./edb/\n        cp build/postgres/install/stamp build/postgres/\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # Run the test\n\n    - name: Setup single mode role and database\n      if: ${{ matrix.single-mode }}\n      shell: python\n      run: |\n        import asyncio\n        import subprocess\n\n        from edb.server.pgcluster import get_pg_bin_dir\n\n        async def main():\n            psql = await get_pg_bin_dir() / \"psql\"\n            dsn = \"postgres://postgres:postgres@localhost/postgres\"\n\n            script = \"\"\"\\\n                CREATE ROLE singles;\n                ALTER ROLE singles WITH LOGIN PASSWORD 'test' NOSUPERUSER\n                  ${{ matrix.single-mode }};\n                CREATE DATABASE singles OWNER singles;\n                REVOKE ALL ON DATABASE singles FROM PUBLIC;\n                GRANT CONNECT ON DATABASE singles TO singles;\n                GRANT ALL ON DATABASE singles TO singles;\n            \"\"\"\n\n            subprocess.run(\n                [str(psql), dsn],\n                check=True,\n                text=True,\n                input=script,\n            )\n\n        asyncio.run(main())\n\n    - name: Test\n      env:\n        EDGEDB_TEST_POSTGRES_VERSION: ${{ matrix.postgres-version }}\n      run: |\n        if [[ \"${{ matrix.single-mode }}\" ]]; then\n          export EDGEDB_TEST_BACKEND_DSN=postgres://singles:test@localhost/singles\n        else\n          export EDGEDB_TEST_BACKEND_DSN=postgres://postgres:postgres@localhost/postgres\n        fi\n        if [[ \"${{ matrix.multi-tenant-mode }}\" == \"remote-compiler\" ]]; then\n          export EDGEDB_TEST_REMOTE_COMPILER=localhost:5660\n          export _EDGEDB_SERVER_COMPILER_POOL_SECRET=secret\n          __EDGEDB_DEVMODE=1 edgedb-server compiler --pool-size 2 &\n        fi\n        edb server --bootstrap-only --backend-dsn=$EDGEDB_TEST_BACKEND_DSN --testmode\n        if [[ \"${{ matrix.multi-tenant-mode }}\" == \"multi-tenant\" ]]; then\n          export EDGEDB_SERVER_MULTITENANT_CONFIG_FILE=/tmp/edb.mt.json\n          echo \"{\\\"localhost\\\":{\\\"instance-name\\\":\\\"localtest\\\",\\\"backend-dsn\\\":\\\"$EDGEDB_TEST_BACKEND_DSN\\\",\\\"admin\\\":true,\\\"max-backend-connections\\\":10}}\" > /tmp/edb.mt.json\n        fi\n        if [[ \"${{ matrix.single-mode }}\" == *\"NOCREATEDB\"* ]]; then\n          edb test -j1 -v --backend-dsn=$EDGEDB_TEST_BACKEND_DSN\n        else\n          edb test -j2 -v --backend-dsn=$EDGEDB_TEST_BACKEND_DSN\n        fi\n\n\n  workflow-notifications:\n    if: failure() && github.event_name != 'pull_request'\n    name: Notify in Slack on failures\n    needs:\n      - build\n      - test\n    runs-on: ubuntu-latest\n    permissions:\n      actions: 'read'\n    steps:\n      - name: Slack Workflow Notification\n        uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309\n        with:\n          repo_token: ${{secrets.GITHUB_TOKEN}}\n          slack_webhook_url: ${{secrets.ACTIONS_SLACK_WEBHOOK_URL}}\n          name: 'Workflow notifications'\n          icon_emoji: ':hammer:'\n          include_jobs: 'on-failure'\n", "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:50.891983", "created_at": "2024-07-08T22:06:49+02:00", "updated_at": "2024-07-10T19:27:44+02:00", "name": "Pool Simulation Test", "path": ".github/workflows/tests-pool.yml", "contents": null, "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:52.007392", "created_at": "2019-12-19T08:16:23+01:00", "updated_at": "2024-04-19T17:49:27+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - master\n      - ci\n      - \"release/*\"\n  pull_request:\n    branches:\n      - '**'\n  schedule:\n    - cron: \"0 */3 * * *\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n\n    - name: Cached requirements.txt\n      uses: actions/cache@v4\n      id: requirements-cache\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Compute requirements.txt\n      if: steps.requirements-cache.outputs.cache-hit != 'true'\n      run: |\n        python -m pip install pip-tools\n        pip-compile --no-strip-extras --all-build-deps \\\n          --extra test,language-server \\\n          --output-file requirements.txt pyproject.toml\n\n    - name: Install Python dependencies\n      run: |\n        python -c \"import sys; print(sys.prefix)\"\n        python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    - name: Compute cache keys and download the running times log\n      env:\n        GIST_TOKEN: ${{ secrets.CI_BOT_GIST_TOKEN }}\n      run: |\n        mkdir -p .tmp\n        python setup.py -q ci_helper --type cli > .tmp/edgedbcli_git_rev.txt\n        python setup.py -q ci_helper --type rust >.tmp/rust_cache_key.txt\n        python setup.py -q ci_helper --type ext >.tmp/ext_cache_key.txt\n        python setup.py -q ci_helper --type parsers >.tmp/parsers_cache_key.txt\n        python setup.py -q ci_helper --type postgres >.tmp/postgres_git_rev.txt\n        python setup.py -q ci_helper --type libpg_query >.tmp/libpg_query_git_rev.txt\n        echo 'f8cd94309eaccbfba5dea7835b88c78377608a37' >.tmp/stolon_git_rev.txt\n        python setup.py -q ci_helper --type bootstrap >.tmp/bootstrap_cache_key.txt\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo LIBPG_QUERY_GIT_REV=$(cat .tmp/libpg_query_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n        curl \\\n          -H \"Accept: application/vnd.github.v3+json\" \\\n          -u edgedb-ci:$GIST_TOKEN \\\n          https://api.github.com/gists/8b722a65397f7c4c0df72f5394efa04c \\\n        | jq '.files.\"time_stats.csv\".raw_url' \\\n        | xargs curl > .tmp/time_stats.csv\n\n    - name: Upload shared artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n        retention-days: 1\n\n    # Restore binary cache\n\n    - name: Handle cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Handle cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n        restore-keys: |\n          edb-rust-v3-\n\n    - name: Handle cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Handle cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Handle cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Handle cached libpg_query build\n      uses: actions/cache@v4\n      id: libpg-query-cache\n      with:\n        path: edb/pgsql/parser/libpg_query/libpg_query.a\n        key: edb-libpg_query-v1-${{ env.LIBPG_QUERY_GIT_REV }}\n\n    # Install system dependencies for building\n\n    - name: Install system deps\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true'\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y uuid-dev libreadline-dev bison flex\n\n    - name: Install rust toolchain\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true'\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n\n    # Build EdgeDB CLI\n\n    - name: Handle EdgeDB CLI build cache\n      uses: actions/cache@v4\n      if: steps.cli-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/rust/cli\n        key: edb-cli-build-v7-${{ env.EDGEDBCLI_GIT_REV }}\n        restore-keys: |\n          edb-cli-build-v7-\n\n    - name: Build EdgeDB CLI\n      env:\n        CARGO_HOME: ${{ env.BUILD_TEMP }}/rust/cli/cargo_home\n        CACHE_HIT: ${{ steps.cli-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" == \"true\" ]]; then\n          cp -v build/cli/bin/edgedb edb/cli/edgedb\n        else\n          python setup.py -v build_cli\n        fi\n\n    # Build Rust extensions\n\n    - name: Handle Rust extensions build cache\n      uses: actions/cache@v4\n      if: steps.rust-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/rust/extensions\n        key: edb-rust-build-v1-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n        restore-keys: |\n          edb-rust-build-v1-\n\n    - name: Build Rust extensions\n      env:\n        CARGO_HOME: ${{ env.BUILD_TEMP }}/rust/extensions/cargo_home\n        CACHE_HIT: ${{ steps.rust-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p build/rust_extensions\n          rsync -av ./build/rust_extensions/ ${BUILD_LIB}/\n          python setup.py -v build_rust\n          rsync -av ${BUILD_LIB}/ build/rust_extensions/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n\n    # Build libpg_query\n\n    - name: Build libpg_query\n      if: |\n        steps.libpg-query-cache.outputs.cache-hit != 'true' &&\n        steps.ext-cache.outputs.cache-hit != 'true'\n      run: |\n        python setup.py build_libpg_query\n\n    # Build extensions\n\n    - name: Handle Cython extensions build cache\n      uses: actions/cache@v4\n      if: steps.ext-cache.outputs.cache-hit != 'true'\n      with:\n        path: ${{ env.BUILD_TEMP }}/edb\n        key: edb-ext-build-v3-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Build Cython extensions\n      env:\n        CACHE_HIT: ${{ steps.ext-cache.outputs.cache-hit }}\n        BUILD_EXT_MODE: py-only\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p ./build/extensions\n          rsync -av ./build/extensions/ ${BUILD_LIB}/\n          BUILD_EXT_MODE=py-only python setup.py -v build_ext\n          rsync -av ${BUILD_LIB}/ ./build/extensions/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/extensions/edb/ ./edb/\n\n    # Build parsers\n\n    - name: Handle compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n        restore-keys: |\n          edb-parsers-v3-\n\n    - name: Build parsers\n      env:\n        CACHE_HIT: ${{ steps.parsers-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" != \"true\" ]]; then\n          rm -rf ${BUILD_LIB}\n          mkdir -p ./build/lib\n          rsync -av ./build/lib/ ${BUILD_LIB}/\n          python setup.py -v build_parsers\n          rsync -av ${BUILD_LIB}/ ./build/lib/\n          rm -rf ${BUILD_LIB}\n        fi\n        rsync -av ./build/lib/edb/ ./edb/\n\n    # Build PostgreSQL\n\n    - name: Build PostgreSQL\n      env:\n        CACHE_HIT: ${{ steps.postgres-cache.outputs.cache-hit }}\n      run: |\n        if [[ \"$CACHE_HIT\" == \"true\" ]]; then\n          cp build/postgres/install/stamp build/postgres/\n        else\n          python setup.py build_postgres\n          cp build/postgres/stamp build/postgres/install/\n        fi\n\n    # Build Stolon\n\n    - name: Set up Go\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      uses: actions/setup-go@v2\n      with:\n        go-version: 1.16\n\n    - uses: actions/checkout@v4\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      with:\n        repository: edgedb/stolon\n        path: build/stolon\n        ref: ${{ env.STOLON_GIT_REV }}\n        fetch-depth: 0\n        submodules: false\n\n    - name: Build Stolon\n      if: steps.stolon-cache.outputs.cache-hit != 'true'\n      run: |\n        mkdir -p build/stolon/bin/\n        curl -fsSL https://releases.hashicorp.com/consul/1.10.1/consul_1.10.1_linux_amd64.zip | zcat > build/stolon/bin/consul\n        chmod +x build/stolon/bin/consul\n        cd build/stolon && make\n\n    # Install edgedb-server and populate egg-info\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # Refresh the bootstrap cache\n\n    - name: Handle bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n        restore-keys: |\n          edb-bootstrap-v2-\n\n    - name: Bootstrap EdgeDB Server\n      if: steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        edb server --bootstrap-only\n\n  cargo-test:\n    needs: build\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n    \n    - name: Download requirements.txt\n      uses: actions/cache@v4\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Python dependencies\n      run: python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    - name: Download cache key\n      uses: actions/download-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n\n    - name: Generate environment variables\n      run: |\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    - name: Handle Rust extensions build cache\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: ${{ env.BUILD_TEMP }}/rust/extensions\n        key: edb-rust-build-v1-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n\n    - name: Install rust toolchain\n      uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248\n      with:\n        components: \"cargo,rustc,rust-std\"\n        toolchain: \"stable\"\n\n    - name: Cargo test\n      env:\n        CARGO_TARGET_DIR: ${{ env.BUILD_TEMP }}/rust/extensions\n        CARGO_HOME: ${{ env.BUILD_TEMP }}/rust/extensions/cargo_home\n      run:\n        cargo test\n\n  python-test:\n    needs: build\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        shard: [\n           1,  2,  3,  4,\n           5,  6,  7,  8,\n           9, 10, 11, 12,\n          13, 14, 15, 16,\n        ]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n    \n    - name: Download requirements.txt\n      uses: actions/cache@v4\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Python dependencies\n      run: python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    # Restore the artifacts and environment variables\n\n    - name: Download shared artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n\n    - name: Set environment variables\n      run: |\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    # Restore build cache\n\n    - name: Restore cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Restore cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n\n    - name: Restore cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Restore compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n\n    - name: Restore cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Restore cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Restore bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n\n    - name: Stop if we cannot retrieve the cache\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.parsers-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        echo ::error::Cannot retrieve build cache.\n        exit 1\n\n    - name: Restore cache into the source tree\n      run: |\n        cp -v build/cli/bin/edgedb edb/cli/edgedb\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n        rsync -av ./build/extensions/edb/ ./edb/\n        rsync -av ./build/lib/edb/ ./edb/\n        cp build/postgres/install/stamp build/postgres/\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # Run the test\n\n    - name: Test\n      env:\n        SHARD: ${{ matrix.shard }}\n      run: |\n        mkdir -p .results/\n        cp .tmp/time_stats.csv .results/running_times_${SHARD}.csv\n        edb test --jobs 2 --verbose --shard ${SHARD}/16 \\\n          --running-times-log=.results/running_times_${SHARD}.csv \\\n          --result-log=.results/result_${SHARD}.json\n\n    - name: Upload test results\n      uses: actions/upload-artifact@v4\n      if: ${{ always() }}\n      with:\n        name: python-test-results-${{ matrix.shard }}\n        path: .results\n        retention-days: 1\n\n  python-test-list:\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: false\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 50\n        submodules: true\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.12.2'\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    # The below is technically a lie as we are technically not\n    # inside a virtual env, but there is really no reason to bother\n    # actually creating and activating one as below works just fine.\n    - name: Export $VIRTUAL_ENV\n      run: |\n        venv=\"$(python -c 'import sys; sys.stdout.write(sys.prefix)')\"\n        echo \"VIRTUAL_ENV=${venv}\" >> $GITHUB_ENV\n\n    - name: Set up uv cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/uv\n        key: uv-cache-${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}\n    \n    - name: Download requirements.txt\n      uses: actions/cache@v4\n      with:\n        path: requirements.txt\n        key: edb-requirements-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Python dependencies\n      run: python -m pip install uv~=0.1.0 && uv pip install -U -r requirements.txt\n\n    # Restore the artifacts and environment variables\n\n    - name: Download shared artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: shared-artifacts\n        path: .tmp\n\n    - name: Set environment variables\n      run: |\n        echo EDGEDBCLI_GIT_REV=$(cat .tmp/edgedbcli_git_rev.txt) >> $GITHUB_ENV\n        echo POSTGRES_GIT_REV=$(cat .tmp/postgres_git_rev.txt) >> $GITHUB_ENV\n        echo STOLON_GIT_REV=$(cat .tmp/stolon_git_rev.txt) >> $GITHUB_ENV\n        echo BUILD_LIB=$(python setup.py -q ci_helper --type build_lib) >> $GITHUB_ENV\n        echo BUILD_TEMP=$(python setup.py -q ci_helper --type build_temp) >> $GITHUB_ENV\n\n    # Restore build cache\n\n    - name: Restore cached EdgeDB CLI binaries\n      uses: actions/cache@v4\n      id: cli-cache\n      with:\n        path: build/cli\n        key: edb-cli-v3-${{ env.EDGEDBCLI_GIT_REV }}\n\n    - name: Restore cached Rust extensions\n      uses: actions/cache@v4\n      id: rust-cache\n      with:\n        path: build/rust_extensions\n        key: edb-rust-v3-${{ hashFiles('.tmp/rust_cache_key.txt') }}\n\n    - name: Restore cached Cython extensions\n      uses: actions/cache@v4\n      id: ext-cache\n      with:\n        path: build/extensions\n        key: edb-ext-v5-${{ hashFiles('.tmp/ext_cache_key.txt') }}\n\n    - name: Restore compiled parsers cache\n      uses: actions/cache@v4\n      id: parsers-cache\n      with:\n        path: build/lib\n        key: edb-parsers-v3-${{ hashFiles('.tmp/parsers_cache_key.txt') }}\n\n    - name: Restore cached PostgreSQL build\n      uses: actions/cache@v4\n      id: postgres-cache\n      with:\n        path: build/postgres/install\n        key: edb-postgres-v2-${{ env.POSTGRES_GIT_REV }}\n\n    - name: Restore cached Stolon build\n      uses: actions/cache@v4\n      id: stolon-cache\n      with:\n        path: build/stolon/bin\n        key: edb-stolon-v2-${{ env.STOLON_GIT_REV }}\n\n    - name: Restore bootstrap cache\n      uses: actions/cache@v4\n      id: bootstrap-cache\n      with:\n        path: build/cache\n        key: edb-bootstrap-v2-${{ hashFiles('.tmp/bootstrap_cache_key.txt') }}\n\n    - name: Stop if we cannot retrieve the cache\n      if: |\n        steps.cli-cache.outputs.cache-hit != 'true' ||\n        steps.rust-cache.outputs.cache-hit != 'true' ||\n        steps.ext-cache.outputs.cache-hit != 'true' ||\n        steps.parsers-cache.outputs.cache-hit != 'true' ||\n        steps.postgres-cache.outputs.cache-hit != 'true' ||\n        steps.stolon-cache.outputs.cache-hit != 'true' ||\n        steps.bootstrap-cache.outputs.cache-hit != 'true'\n      run: |\n        echo ::error::Cannot retrieve build cache.\n        exit 1\n\n    - name: Restore cache into the source tree\n      run: |\n        cp -v build/cli/bin/edgedb edb/cli/edgedb\n        rsync -av ./build/rust_extensions/edb/ ./edb/\n        rsync -av ./build/extensions/edb/ ./edb/\n        rsync -av ./build/lib/edb/ ./edb/\n        cp build/postgres/install/stamp build/postgres/\n\n    - name: Install edgedb-server\n      env:\n        BUILD_EXT_MODE: skip\n      run: |\n        # --no-build-isolation because we have explicitly installed all deps\n        # and don't want them to be reinstalled in an \"isolated env\".\n        pip install --no-build-isolation --no-deps -e .[test,docs]\n\n    # List tests and upload\n\n    - name: Generate complete list of tests for verification\n      env:\n        SHARD: ${{ matrix.shard }}\n      run: |\n        edb test --list > .tmp/all_tests.txt\n\n    - name: Upload list of tests\n      uses: actions/upload-artifact@v4\n      with:\n        name: test-list\n        path: .tmp\n        retention-days: 1\n\n  test-conclusion:\n    needs: [cargo-test, python-test, python-test-list]\n    runs-on: ubuntu-latest\n    if: ${{ always() }}\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12.2'\n\n      - name: Install Python deps\n        run: |\n          python -m pip install requests click\n\n      - uses: actions/checkout@v4\n        with:\n          submodules: false\n\n      - name: Download python-test results\n        uses: actions/download-artifact@v4\n        with:\n          pattern: python-test-results-*\n          merge-multiple: true\n          path: .results\n\n      # Render results and exit if they were unsuccessful\n      - name: Render results\n        run: |\n          python edb/tools/test/results.py '.results/result_*.json'\n\n      - name: Download shared artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: shared-artifacts\n          path: .tmp\n\n      - name: Download test list\n        uses: actions/download-artifact@v4\n        with:\n          name: test-list\n          path: .tmp\n\n      - name: Merge stats and verify tests completion\n        shell: python\n        env:\n          GIST_TOKEN: ${{ secrets.CI_BOT_GIST_TOKEN }}\n          GIT_REF: ${{ github.ref }}\n        run: |\n          import csv\n          import glob\n          import io\n          import os\n          import requests\n\n          orig = {}\n          new = {}\n          all_tests = set()\n          with open(\".tmp/time_stats.csv\") as f:\n              for name, t, c in csv.reader(f):\n                  assert name not in orig, \"duplicate test name in original stats!\"\n                  orig[name] = (t, int(c))\n\n          with open(\".tmp/all_tests.txt\") as f:\n              for line in f:\n                  assert line not in all_tests, \"duplicate test name in this run!\"\n                  all_tests.add(line.strip())\n\n          for new_file in glob.glob(\".results/running_times_*.csv\"):\n              with open(new_file) as f:\n                  for name, t, c in csv.reader(f):\n                      if int(c) > orig.get(name, (0, 0))[1]:\n                          if name.startswith(\"setup::\"):\n                              new[name] = (t, c)\n                          else:\n                              assert name not in new, f\"duplicate test! {name}\"\n                              new[name] = (t, c)\n                              all_tests.remove(name)\n\n          assert not all_tests, \"Tests not run! \\n\" + \"\\n\".join(all_tests)\n\n          if os.environ[\"GIT_REF\"] == \"refs/heads/master\":\n              buf = io.StringIO()\n              writer = csv.writer(buf)\n              orig.update(new)\n              for k, v in sorted(orig.items()):\n                  writer.writerow((k,) + v)\n\n              resp = requests.patch(\n                  \"https://api.github.com/gists/8b722a65397f7c4c0df72f5394efa04c\",\n                  headers={\"Accept\": \"application/vnd.github.v3+json\"},\n                  auth=(\"edgedb-ci\", os.environ[\"GIST_TOKEN\"]),\n                  json={\"files\": {\"time_stats.csv\": {\"content\": buf.getvalue()}}},\n              )\n              resp.raise_for_status()\n\n\n  workflow-notifications:\n    if: failure() && github.event_name != 'pull_request'\n    name: Notify in Slack on failures\n    needs:\n      - test-conclusion\n    runs-on: ubuntu-latest\n    permissions:\n      actions: 'read'\n    steps:\n      - name: Slack Workflow Notification\n        uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309\n        with:\n          repo_token: ${{secrets.GITHUB_TOKEN}}\n          slack_webhook_url: ${{secrets.ACTIONS_SLACK_WEBHOOK_URL}}\n          name: 'Workflow notifications'\n          icon_emoji: ':hammer:'\n          include_jobs: 'on-failure'\n", "state": "active", "repository": "edgedb/edgedb"}
{"mined_at": "2024-07-15T15:07:54.275598", "created_at": "2023-04-10T22:46:50+02:00", "updated_at": "2023-06-29T20:14:34+02:00", "name": "amd-mi200", "path": ".github/workflows/amd-mi200.yml", "contents": "name: amd-mi200\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - '.github/workflows/amd-mi200.yml'\n      - 'requirements/**'\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n  issues: write\n\njobs:\n  amd-tests:\n    # The type of runner that the job will run on\n    runs-on: [self-hosted, amd, mi200]\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install pytorch\n        run: |\n          pip install -U --cache-dir $TORCH_CACHE torch torchvision --index-url https://download.pytorch.org/whl/rocm5.6\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          # if needed switch to the last known good SHA until transformers@master is fixed\n          # git checkout 1cc453d33\n          git rev-parse --short HEAD\n          pip install .\n\n      - name: Install (ROCm) apex\n        run: |\n          git clone https://github.com/ROCmSoftwarePlatform/apex.git\n          cd apex\n          git checkout torch_2.1_higher\n          CURRENT_VER=$(git rev-parse HEAD)\n          INSTALLED_VER=$(cat /blob/amd-apex/.venv_installed_version)\n          if [[ \"$CURRENT_VER\" != \"$INSTALLED_VER\" ]]; then\n            pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings=\"--global-option=--cpp_ext\" --config-settings=\"--global-option=--cuda_ext\" --target=/blob/amd-apex/ --upgrade .\n            git rev-parse HEAD > /blob/amd-apex/.venv_installed_version\n          fi\n          echo PYTHONPATH=$PYTHONPATH:/blob/amd-apex/ >> $GITHUB_ENV\n      # Runs a set of commands using the runners shell\n      - name: Install deepspeed\n        run: |\n          pip install .[dev,1bit,autotuning]\n          #python -c \"from deepspeed.env_report import cli_main; cli_main()\"\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      # Runs a set of commands using the runners shell\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          pytest $PYTEST_OPTS -n 4 --verbose unit/\n          pytest $PYTEST_OPTS -m 'sequential' unit/\n\n      - name: Open GitHub issue if nightly CI fails\n        if: ${{ failure() && (github.event_name == 'schedule') }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filename: .github/ISSUE_TEMPLATE/ci_failure_report.md\n          update_existing: true\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:07:55.302437", "created_at": "2022-03-12T01:05:52+01:00", "updated_at": "2023-05-22T02:44:59+02:00", "name": "amd", "path": ".github/workflows/amd.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:07:56.316075", "created_at": "2024-01-16T11:05:31+01:00", "updated_at": "2024-01-16T11:05:31+01:00", "name": "autotp", "path": ".github/workflows/autotp.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:07:57.394909", "created_at": "2023-10-09T18:24:57+02:00", "updated_at": "2023-10-09T18:26:25+02:00", "name": "Build DeepSpeed", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:07:58.681212", "created_at": "2023-03-23T07:32:50+01:00", "updated_at": "2024-06-25T17:10:49+02:00", "name": "cpu-inference", "path": ".github/workflows/cpu-inference.yml", "contents": "name: cpu-inference\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - '.github/workflows/cpu-inference.yml'\n      - 'requirements/**'\n      - 'deepspeed/__init__.py'\n      - 'deepspeed/inference/**'\n      - '!deepspeed/inference/v2/**' # exclude v2 dir\n      - 'tests/unit/inference/**'\n      - '!tests/unit/inference/v2/**' # exclude v2 tests dir\n  merge_group:\n    branches: [ master ]\n  schedule:\n        - cron: \"0 0 * * 0\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, cpu]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install gcc-9\n        run: |\n          sudo add-apt-repository -u ppa:ubuntu-toolchain-r/test\n          sudo apt install -y gcc-9 g++-9\n          # set gcc-9 and g++9 to default\n          sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 99\n          sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 99\n\n      - name: Check gcc version\n        run: |\n          # Get gcc version\n          gcc --version\n          g++ --version\n\n      - name: Detect instruction sets on instance\n        run: |\n          lscpu\n\n      - name: Install numactl\n        run: |\n          sudo apt-get install -y numactl\n\n      - name: Install dependencies\n        run: |\n          pip install torch\n          # check installed version\n          pip list |grep \\\\\\<torch\\\\\\>\n\n      - name: Install oneCCL\n        run: |\n          pip install cmake\n          git clone https://github.com/oneapi-src/oneCCL\n          cd oneCCL\n          mkdir build\n          cd build\n          cmake ..\n          make -j install\n\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          git rev-parse --short HEAD\n          pip install .\n\n      - name: Install deepspeed\n        run: |\n          # check why the host does not have AVX2 support\n          pip install .[dev,1bit,autotuning,inf]\n          ds_report\n\n      - name: Python environment check\n        run: |\n          pip list\n          source oneCCL/build/_install/env/setvars.sh\n          export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6\n          # check whether the environment is properly setup\n          python -c \"import deepspeed;from deepspeed.accelerator import get_accelerator;print(get_accelerator().device_name());print(get_accelerator().is_available())\"\n\n      - name: Unit tests\n        run: |\n          # prep oneCCL for CCLBackend comm ops building\n          source oneCCL/build/_install/env/setvars.sh\n          export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd  tests\n          # LOCAL_SIZE=2 enforce CPU to report 2 devices, this helps run the test on github default runner\n          LOCAL_SIZE=2 COLUMNS=240 HF_HOME=~/tmp/hf_home/ TORCH_EXTENSIONS_DIR=./torch-extensions pytest -m 'seq_inference' unit/\n          LOCAL_SIZE=2 COLUMNS=240 HF_HOME=~/tmp/hf_home/ TORCH_EXTENSIONS_DIR=./torch-extensions pytest -m 'inference_ops' -m 'inference' unit/\n", "state": "disabled_manually", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:07:59.827883", "created_at": "2024-03-04T17:50:42+01:00", "updated_at": "2024-03-04T19:52:59+01:00", "name": "cpu-torch-latest", "path": ".github/workflows/cpu-torch-latest.yml", "contents": "name: cpu-torch-latest\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - 'blogs/**'\n      - 'deepspeed/inference/v2/**'\n      - 'tests/unit/inference/v2/**'\n  merge_group:\n    branches: [ master ]\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit-tests:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install system packages\n        run: |\n          sudo apt-get install -y numactl pdsh\n\n      - name: Install pytorch\n        run: |\n          pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install deepspeed\n        run: |\n          pip install .[dev,autotuning]\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          HF_HOME=/tmp/hf_home/ pytest $PYTEST_OPTS -n 4 unit/ --torch_ver=\"2.3\"\n          HF_HOME=/tmp/hf_home/ pytest $PYTEST_OPTS -m 'sequential' unit/ --torch_ver=\"2.3\"\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:00.851528", "created_at": "2021-09-02T01:51:03+02:00", "updated_at": "2021-09-02T17:46:22+02:00", "name": "Formatting", "path": ".github/workflows/formatting.yml", "contents": "name: Formatting\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      '**'\n  merge_group:\n    branches: [ master ]\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  # formatting and basic install on cpu-only machine\n  unit-tests:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: environment\n        run: |\n          which python\n          python --version\n\n      - name: Install dependencies\n        run: |\n          # Previously we would do pip install .[dev] but this is causing out of\n          # space errors start with torch 2.1.0 release\n          grep -E \"clang-format|pre-commit\" requirements/requirements-dev.txt | xargs pip install\n\n      - name: Formatting checks\n        run: |\n          pip show pre-commit clang-format\n          pre-commit run --all-files\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:01.888581", "created_at": "2024-03-12T21:15:24+01:00", "updated_at": "2024-03-15T15:47:24+01:00", "name": "hpu-gaudi2", "path": ".github/workflows/hpu-gaudi2.yml", "contents": "name: hpu-gaudi2\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n  pull_request:\n    paths:\n      - \".github/workflows/hpu-gaudi2.yml\"\n      - \"accelerator/hpu_accelerator.py\"\n      - \"op_builder/hpu/**\"\n      - \"deepspeed/runtime/engine.py\"\n      - \"deepspeed/runtime/bf16_optimizer.py\"\n      - \"deepspeed/runtime/zero/stage_1_and_2.py\"\n      - \"deepspeed/runtime/zero/stage3.py\"\n      - \"deepspeed/runtime/zero/partition_parameters.py\"\n      - \"deepspeed/runtime/zero/partitioned_param_coordinator.py\"\n      - \"deepspeed/runtime/zero/parameter_offload.py\"\n      - \"deepspeed/runtime/pipe/engine.py\"\n      - \"deepspeed/runtime/utils.py\"\n      - \"deepspeed/inference/engine.py\"\n      - \"deepspeed/module_inject/auto_tp.py\"\n      - \"deepspeed/module_inject/replace_module.py\"\n      - \"deepspeed/module_inject/load_checkpoint.py\"\n      - \"deepspeed/module_inject/inject.py\"\n      - \"deepspeed/ops/transformer/**\"\n      - \"deepspeed/ops/adam/**\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n  issues: write\n\njobs:\n  unit-tests:\n    # The type of runner that the job will run on\n    runs-on: [self-hosted, intel, gaudi2]\n    container:\n      image: vault.habana.ai/gaudi-docker/1.15.1/ubuntu22.04/habanalabs/pytorch-installer-2.2.0:latest\n      ports:\n        - 80\n      options: --runtime=habana -e HABANA_VISIBLE_DEVICES=all -e OMPI_MCA_btl_vader_single_copy_mechanism=none --cap-add=sys_nice\n\n    env:\n      PT_HPU_LAZY_MODE: 0\n      TEST_LIST: |\n        test_accelerator.py\n        test_autotuning.py\n        test_compression.py\n        test_dist.py\n        test_elastic.py\n        test_ds_arguments.py\n        test_run.py\n        test_multinode_runner.py\n        test_moe_tp.py\n        test_monitor.py\n        (test_zero_optimizer.py and (TestSaveTensorClone or TestZeRONonDistributed))\n        (test_latest_checkpoint.py and test_missing_latest)\n        test_reshape_checkpoint.py\n        test_shared_weights.py\n        test_sparse.py\n        test_tag_validation.py\n        test_pipe_module.py\n        (test_flops_profiler.py and test_flops_profiler_in_inference)\n        test_get_optim_files.py\n        test_groups.py\n        test_init_on_device.py\n        test_partition_balanced.py\n        (test_adamw.py and TestAdamConfigs)\n        test_coalesced_collectives.py\n        test_activation_checkpointing_non_reentrant.py\n        test_activation_checkpointing.py\n        test_data.py\n        (test_ds_config_dict.py and (TestBasicConfig or TestBatchConfig))\n        test_ds_config_model.py\n        test_mup_optimizers.py\n        (test_pld.py and test_pld_schedule)\n        test_runtime_utils.py\n        test_pipe_schedule.py\n        test_topology.py\n        (test_ds_initialize.py and (TestClientOptimizer or TestClientLrScheduler))\n        test_csr.py\n        (test_fp16.py and (TestZeroEmptyGrad or TestZeroAllowUntestedOptimizer))\n        (test_bf16.py and TestZeroDtypeCocktail)\n        test_partition.py\n        test_ignore_unused_parameters.py\n        test_zero_config.py\n        test_zero_context_ancestry.py\n        (test_zero_context.py and not TestSerialContext)\n        test_zero_dynamic_class.py\n        test_zero_nesting_init.py\n        test_zeropp.py\n        (test_zero.py and (TestZero3ParamPartitioningLargeParam or TestZero3ParamPartitioningLargeParam))\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n\n      - name: Check container state\n        run: |\n          ldd --version\n          hl-smi\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          git rev-parse --short HEAD\n          pip install .\n\n      - name: Install deepspeed\n        run: |\n          pip install .[dev,autotuning]\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          export PT_HPU_LAZY_MODE=${PT_HPU_LAZY_MODE}\n          TEST_LIST=$(echo \"$TEST_LIST\" | awk 'NF{printf \"%s%s\", (NR>1 ? \" or \" : \"\"), $0} END{if (NR>1) print \"\"}')\n          echo \"TEST_LIST ${TEST_LIST}\"\n          echo \"PT_HPU_LAZY_MODE ${PT_HPU_LAZY_MODE}\"\n          pytest --verbose unit/ -k \"${TEST_LIST}\"\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:02.886209", "created_at": "2020-11-24T23:03:32+01:00", "updated_at": "2023-09-30T01:29:05+02:00", "name": "Build", "path": ".github/workflows/main.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:04.004328", "created_at": "2023-11-03T20:22:06+01:00", "updated_at": "2023-11-03T23:07:40+01:00", "name": "nv-a6000", "path": ".github/workflows/nv-a6000.yml", "contents": "name: nv-a6000\n\non:\n  pull_request:\n    paths:\n      - 'accelerator/cuda_accelerator.py'\n      - 'deepspeed/inference/v2/**'\n      - 'tests/unit/inference/v2/**'\n      - '.github/workflows/nv-a6000.yml'\n  workflow_dispatch:\n    inputs:\n      mii_branch:\n        description: 'DeepSpeed-MII Branch'\n        required: false\n        default: 'main'\n        type: string\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, a6000]\n    container:\n      image: nvcr.io/nvidia/pytorch:23.03-py3\n      ports:\n        - 80\n      options: --gpus all --shm-size \"8G\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Check container state\n        run: |\n          ldd --version\n          nvcc --version\n          nvidia-smi\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n      - name: Install transformers\n        run: |\n          git clone --depth=1 https://github.com/huggingface/transformers\n          cd transformers\n          git rev-parse --short HEAD\n          python -m pip install .\n      - name: Install deepspeed\n        run: |\n          python -m pip install docutils==0.18.1 jinja2==3.0 urllib3==1.26.11 ninja\n          python -m pip install pydantic==1.10.11\n          python -m pip install .[dev,1bit,autotuning,inf]\n          ds_report\n      - name: Python environment\n        run: |\n          python -m pip list\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          python -m pytest --color=yes --durations=0 --verbose -rF -m 'inference_v2' unit/ --torch_ver=\"2.0\" --cuda_ver=\"12\"\n          python -m pytest --color=yes --durations=0 --verbose -rF -m 'inference_v2_ops' unit/ --torch_ver=\"2.0\" --cuda_ver=\"12\"\n      - name: MII unit tests\n        run: |\n          BRANCH=\"main\"\n          if [[ ! -z \"${{ github.event.inputs.mii_branch }}\" ]]; then\n              BRANCH=\"${{ github.event.inputs.mii_branch }}\"\n          fi\n          echo \"Cloning DeepSpeed-MII branch: $BRANCH\"\n          git clone -b $BRANCH --depth=1 https://github.com/microsoft/DeepSpeed-MII.git\n          cd DeepSpeed-MII\n          pip install .[dev]\n          cd tests\n          python -m pytest --color=yes --durations=0 --verbose -rF ./\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:05.232618", "created_at": "2022-07-26T12:41:54+02:00", "updated_at": "2023-12-14T22:58:40+01:00", "name": "nv-accelerate-v100", "path": ".github/workflows/nv-accelerate-v100.yml", "contents": "name: nv-accelerate-v100\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - 'blogs/**'\n      - 'deepspeed/inference/v2/**'\n      - 'tests/unit/inference/v2/**'\n  merge_group:\n    branches: [ master ]\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, cu117, v100]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install pytorch\n        run: |\n          pip install -U --cache-dir $TORCH_CACHE torch torchvision --index-url https://download.pytorch.org/whl/cu118\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install deepspeed\n        run: |\n          pip install .[dev,autotuning]\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: HF Accelerate tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          git clone https://github.com/huggingface/accelerate\n          cd accelerate\n          git rev-parse --short HEAD\n          # installing dependencies\n          pip install .[testing]\n          # force protobuf version due to issues\n          pip install \"protobuf<4.21.0\"\n          # tmp fix: force newer datasets version\n          #pip install \"datasets>=2.0.0\"\n          pip list\n          pytest $PYTEST_OPTS --color=yes --durations=0 --verbose tests/deepspeed\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:06.340084", "created_at": "2023-08-10T02:10:18+02:00", "updated_at": "2023-08-17T07:17:05+02:00", "name": "nv-ds-chat", "path": ".github/workflows/nv-ds-chat.yml", "contents": "name: nv-ds-chat\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n    inputs:\n      dse_branch:\n        description: 'DeepSpeedExamples Branch'\n        required: false\n        default: 'master'\n        type: string\n  pull_request:\n    paths:\n      - \"deepspeed/runtime/zero/stage_1_and_2.py\"\n      - \"deepspeed/runtime/zero/stage3.py\"\n      - \"deepspeed/runtime/hybrid_engine.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n    contents: read\n    issues: write\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, cu117, v100]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install pytorch\n        run: |\n          pip3 install -U --cache-dir $TORCH_CACHE torch --index-url https://download.pytorch.org/whl/cu118\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install deepspeed\n        run: |\n          pip install .[dev]\n          ds_report\n\n      - name: Install deepspeed-chat\n        run: |\n          BRANCH=\"master\"\n          if [[ ! -z \"${{ github.event.inputs.dse_branch }}\" ]]; then\n              BRANCH=\"${{ github.event.inputs.dse_branch }}\"\n          fi\n          echo \"DeepSpeedExamples Branch: $BRANCH\"\n          git clone -b $BRANCH https://github.com/microsoft/DeepSpeedExamples.git\n          cd DeepSpeedExamples/applications/DeepSpeed-Chat\n          pip install -r requirements.txt\n          pip install -e .\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: DS-Chat unit tests\n        run: |\n          cd DeepSpeedExamples/applications/DeepSpeed-Chat\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          pytest $PYTEST_OPTS ./\n\n      - name: Open GitHub issue if nightly CI fails\n        if: ${{ failure() && (github.event_name == 'schedule') }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filename: .github/ISSUE_TEMPLATE/ci_failure_report.md\n          update_existing: true\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:07.475961", "created_at": "2023-06-19T19:33:27+02:00", "updated_at": "2024-01-25T18:26:34+01:00", "name": "nv-h100", "path": ".github/workflows/nv-h100.yml", "contents": "name: nv-h100\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n  issues: write\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, h100]\n    container:\n      image: nvcr.io/nvidia/pytorch:23.03-py3\n      ports:\n        - 80\n      options: --gpus all --shm-size \"8G\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Check container state\n        run: |\n          nvidia-smi\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          git rev-parse --short HEAD\n          python -m pip install .\n\n      - name: Install deepspeed\n        run: |\n          python -m pip install docutils==0.18.1 jinja2==3.0 urllib3==1.26.11 ninja\n          python -m pip install .[dev,1bit,autotuning]\n          ds_report\n\n      - name: Python environment\n        run: |\n          python -m pip list\n\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          python -m pytest $PYTEST_OPTS -n 4  unit/ --torch_ver=\"2.0\" --cuda_ver=\"12\"\n          python -m pytest $PYTEST_OPTS -m 'sequential' unit/ --torch_ver=\"2.0\" --cuda_ver=\"12\"\n\n      - name: Open GitHub issue if nightly CI fails\n        if: ${{ failure() && (github.event_name == 'schedule') }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filename: .github/ISSUE_TEMPLATE/ci_failure_report.md\n          update_existing: true\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:08.615102", "created_at": "2024-02-23T01:00:52+01:00", "updated_at": "2024-02-23T01:00:52+01:00", "name": "nv-human-eval", "path": ".github/workflows/nv-human-eval.yml", "contents": "name: nv-human-eval\n\non:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, a6000]\n    container:\n      image: nvcr.io/nvidia/pytorch:23.03-py3\n      ports:\n        - 80\n      options: --gpus all --shm-size \"8G\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Check container state\n        run: |\n          ldd --version\n          nvcc --version\n          nvidia-smi\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n      - name: Install transformers\n        run: |\n          git clone --depth=1 https://github.com/huggingface/transformers\n          cd transformers\n          git rev-parse --short HEAD\n          python -m pip install .\n      - name: Clone Human Eval\n        run: |\n          git clone --depth=1 https://github.com/openai/human-eval.git\n          sed -i '/exec(check_program, exec_globals)/ s/^# //' human-eval/human_eval/execution.py\n          cd human-eval\n          git rev-parse --short HEAD\n          python -m pip install .\n      - name: Install deepspeed\n        run: |\n          python -m pip install .[dev,1bit,autotuning]\n          ds_report\n      - name: Python environment\n        run: |\n          python -m pip list\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          python -m pytest --color=yes --durations=0 --verbose -rF -m 'evaluation' -k \"test_human_eval\" unit/ --torch_ver=\"2.0\" --cuda_ver=\"12\"\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:09.693640", "created_at": "2022-06-15T19:52:42+02:00", "updated_at": "2024-04-08T17:35:43+02:00", "name": "nv-inference", "path": ".github/workflows/nv-inference.yml", "contents": "name: nv-inference\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - '.github/workflows/nv-inference.yml'\n      - 'requirements/**'\n      - 'deepspeed/__init__.py'\n      - 'deepspeed/inference/**'\n      - '!deepspeed/inference/v2/**' # exclude v2 dir\n      - 'tests/unit/inference/**'\n      - '!tests/unit/inference/v2/**' # exclude v2 tests dir\n  merge_group:\n    branches: [ master ]\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, cu117, v100]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install pytorch\n        run: |\n          pip install -U --cache-dir $TORCH_CACHE torch==2.1.2 torchvision==0.16.2 --index-url https://download.pytorch.org/whl/cu118\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          #git checkout f370bebdc\n          git rev-parse --short HEAD\n          pip install .\n\n      - name: Install deepspeed\n        run: |\n          DS_ACCELERATOR=cpu pip install .[dev,1bit,autotuning,inf]\n          #pip install .[dev,1bit,autotuning,inf,triton]\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          #pytest $PYTEST_OPTS -m 'seq_inference' unit/ --torch_ver=\"2.1\" --cuda_ver=\"11.8\"\n          pytest $PYTEST_OPTS -m 'inference_ops' unit/ --torch_ver=\"2.1\" --cuda_ver=\"11.8\"\n          pytest $PYTEST_OPTS --forked -n 4 -m 'inference' unit/ --torch_ver=\"2.1\" --cuda_ver=\"11.8\"\n          # run ds_report again to check updated op list\n          ds_report\n", "state": "disabled_manually", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:10.755798", "created_at": "2022-03-12T01:05:53+01:00", "updated_at": "2022-06-04T02:53:56+02:00", "name": "nv-lightning-v100", "path": ".github/workflows/nv-lightning-v100.yml", "contents": "name: nv-lightning-v100\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - 'blogs/**'\n      - 'deepspeed/inference/v2/**'\n      - 'tests/unit/inference/v2/**'\n  merge_group:\n    branches: [ master ]\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, cu111, v100]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install pytorch\n        run: |\n          pip install -U --cache-dir $TORCH_CACHE torch torchvision --index-url https://download.pytorch.org/whl/cu118\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install deepspeed\n        run: |\n          pip install .[dev,autotuning]\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: PyTorch Lightning Tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          pip install pytorch-lightning\n          pip install \"protobuf<4.21.0\"\n          cd tests\n          pytest $PYTEST_OPTS lightning/\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:11.991889", "created_at": "2022-11-22T01:50:03+01:00", "updated_at": "2022-11-23T00:31:52+01:00", "name": "nv-mii", "path": ".github/workflows/nv-mii.yml", "contents": "name: nv-mii\n\non:\n  workflow_dispatch:\n    inputs:\n      mii_branch:\n        description: 'DeepSpeed-MII Branch'\n        required: false\n        default: 'main'\n        type: string\n  pull_request:\n    paths:\n      - '.github/workflows/nv-mii.yml'\n      - 'requirements/**'\n      - 'setup.py'\n      - 'deepspeed/__init__.py'\n      - 'deepspeed/inference/**'\n      - '!deepspeed/inference/v2/**' # exclude v2 dir\n  merge_group:\n    branches: [ master ]\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, cu117, v100]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install pytorch\n        run: |\n          pip3 install -U --cache-dir $TORCH_CACHE torch --index-url https://download.pytorch.org/whl/cu118\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          # if needed switch to the last known good SHA until transformers@master is fixed\n          git checkout bdf36dc\n          git rev-parse --short HEAD\n          pip install .\n\n      - name: Install deepspeed\n        run: |\n          pip install .[dev]\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: MII unit tests\n        run: |\n          BRANCH=\"main\"\n          if [[ ! -z \"${{ github.event.inputs.mii_branch }}\" ]]; then\n              BRANCH=\"${{ github.event.inputs.mii_branch }}\"\n          fi\n          echo \"Cloning DeepSpeed-MII branch: $BRANCH\"\n          git clone -b $BRANCH --depth=1 https://github.com/microsoft/DeepSpeed-MII.git\n          cd DeepSpeed-MII\n          pip install .[dev]\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests/legacy\n          pytest $PYTEST_OPTS --forked -m \"deepspeed\" ./\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:13.164707", "created_at": "2022-06-13T21:16:43+02:00", "updated_at": "2023-08-14T18:43:45+02:00", "name": "nv-nightly", "path": ".github/workflows/nv-nightly.yml", "contents": "name: nv-nightly\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n    contents: read\n    issues: write\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, cu117, v100]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install pytorch\n        run: |\n          pip install -U --cache-dir $TORCH_CACHE torch==1.13.1 torchvision --index-url https://download.pytorch.org/whl/cu117\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          # if needed switch to the last known good SHA until transformers@master is fixed\n          # git checkout 1cc453d33\n          git rev-parse --short HEAD\n          pip install .\n\n      - name: Install datasets\n        run: |\n          pip install datasets\n\n      - name: Install deepspeed\n        run: |\n          pip install .[dev,1bit,autotuning,inf]\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          pytest $PYTEST_OPTS --forked -m 'nightly' unit/ --torch_ver=\"1.13\" --cuda_ver=\"11.7\"\n\n      - name: Open GitHub issue if nightly CI fails\n        if: ${{ failure() && (github.event_name == 'schedule') }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filename: .github/ISSUE_TEMPLATE/ci_failure_report.md\n          update_existing: true\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:14.248838", "created_at": "2023-04-18T00:57:54+02:00", "updated_at": "2023-04-19T16:23:25+02:00", "name": "nv-pre-compile-ops", "path": ".github/workflows/nv-pre-compile-ops.yml", "contents": "name: nv-pre-compile-ops\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      '**'\n    paths-ignore:\n      - 'docs/**'\n      - 'blogs/**'\n      - 'deepspeed/inference/v2/**'\n      - 'tests/unit/inference/v2/**'\n  merge_group:\n    branches: [ master ]\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit-tests:\n    runs-on: ubuntu-20.04\n    container:\n      image: deepspeed/gh-builder:ubuntu1804-py38-torch1131-cu116\n\n    steps:\n        - uses: actions/checkout@v4\n\n        - name: environment\n          run: |\n            which python\n            python --version\n            python -c \"import torch; print('torch:', torch.__version__, torch)\"\n            #python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n        - name: Compile DeepSpeed Ops\n          run: |\n            DS_ACCELERATOR=cuda DS_ENABLE_NINJA=1 TORCH_CUDA_ARCH_LIST=\"7.0;7.5;8.0\" DS_BUILD_OPS=1 DS_BUILD_SPARSE_ATTN=0 DS_BUILD_FP_QUANTIZER=0 DS_BUILD_CUTLASS_OPS=0 DS_BUILD_RAGGED_DEVICE_OPS=0 DS_BUILD_EVOFORMER_ATTN=0 pip3 install .\n        - name: DS Report\n          run: |\n             ds_report\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:15.382785", "created_at": "2023-11-09T01:54:21+01:00", "updated_at": "2023-11-14T01:26:00+01:00", "name": "nv-sd", "path": ".github/workflows/nv-sd.yml", "contents": "name: nv-sd\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * 0\"\n  pull_request:\n    paths:\n      - \"deepspeed/ops/transformer/inference/diffusers_**\"\n      - \"tests/unit/inference/test_stable_diffusion.py\"\n      - \"deepspeed/model_implementations/diffusers/unet.py\"\n      - \"deepspeed/model_implementations/diffusers/vae.py\"\n      - \"deepspeed/module_inject/containers/vae.py\"\n      - \"deepspeed/module_inject/containers/unet.py\"\n      - \".github/workflows/nv-sd.yml\"\n      - \"requirements/requirements-sd.txt\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n  issues: write\n\njobs:\n  sd-tests:\n    runs-on: [self-hosted, nvidia, a6000]\n    container:\n      image: nvcr.io/nvidia/pytorch:23.03-py3\n      ports:\n        - 80\n      options: --gpus all --shm-size \"8G\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Check container state\n        run: |\n          ldd --version\n          nvcc --version\n          nvidia-smi\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          git rev-parse --short HEAD\n          python -m pip install .\n      - name: Install deepspeed\n        run: |\n          pip install image-similarity-measures\n          python -m pip install opencv-python==4.6.* --force-reinstall\n          python -m pip install docutils==0.18.1 jinja2==3.0 urllib3==1.26.11 ninja\n          python -m pip install .[dev,1bit,autotuning,sd]\n          ds_report\n      - name: Python environment\n        run: |\n          python -m pip list\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          python -m pytest --color=yes --durations=0 --verbose -rF -m 'stable_diffusion' -k \"TestStableDiffusion\" unit/ --torch_ver=\"2.0\" --cuda_ver=\"12\"\n\n      - name: Open GitHub issue if weekly CI fails\n        if: ${{ failure() && (github.event_name == 'schedule') }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filename: .github/ISSUE_TEMPLATE/ci_failure_report.md\n          update_existing: true\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:16.417827", "created_at": "2022-12-16T16:04:04+01:00", "updated_at": "2024-03-06T06:10:43+01:00", "name": "nv-torch-latest-cpu", "path": ".github/workflows/nv-torch-latest-cpu.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:17.507885", "created_at": "2022-06-01T01:26:32+02:00", "updated_at": "2022-11-08T00:06:07+01:00", "name": "nv-torch-latest-v100", "path": ".github/workflows/nv-torch-latest-v100.yml", "contents": "name: nv-torch-latest-v100\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - 'blogs/**'\n      - 'deepspeed/inference/v2/**'\n      - 'tests/unit/inference/v2/**'\n  merge_group:\n    branches: [ master ]\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, cu117, v100]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install pytorch\n        run: |\n          pip install -U --cache-dir $TORCH_CACHE torch torchvision --index-url https://download.pytorch.org/whl/cu118\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          # if needed switch to the last known good SHA until transformers@master is fixed\n          # git checkout 1cc453d33\n          git rev-parse --short HEAD\n          pip install .\n\n      - name: Install deepspeed\n        run: |\n          pip install .[dev,1bit,autotuning]\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          pytest $PYTEST_OPTS --forked -n 4 unit/ --torch_ver=\"2.3\" --cuda_ver=\"11.8\"\n          pytest $PYTEST_OPTS --forked -m 'sequential' unit/ --torch_ver=\"2.3\" --cuda_ver=\"11.8\"\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:18.647822", "created_at": "2022-06-07T01:19:05+02:00", "updated_at": "2022-06-07T01:19:05+02:00", "name": "nv-torch-nightly-v100", "path": ".github/workflows/nv-torch-nightly-v100.yml", "contents": "name: nv-torch-nightly-v100\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n  issues: write\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, cu117, v100]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install pytorch\n        run: |\n          pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu118\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          # if needed switch to the last known good SHA until transformers@master is fixed\n          # git checkout 1cc453d33\n          git rev-parse --short HEAD\n          pip install .\n\n      - name: Install deepspeed\n        run: |\n          pip install .[dev,1bit,autotuning]\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          pytest $PYTEST_OPTS --forked -n 4 unit/\n          pytest $PYTEST_OPTS --forked -m 'sequential' unit/\n\n      - name: Open GitHub issue if nightly CI fails\n        if: ${{ failure() && (github.event_name == 'schedule') }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filename: .github/ISSUE_TEMPLATE/ci_failure_report.md\n          update_existing: true\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:19.876145", "created_at": "2023-08-10T20:04:15+02:00", "updated_at": "2023-08-11T02:00:18+02:00", "name": "nv-torch110-p40", "path": ".github/workflows/nv-torch110-p40.yml", "contents": "name: nv-torch110-p40\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n    contents: read\n    issues: write\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, cu111, p40]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install pytorch\n        run: |\n          pip install -U --cache-dir $TORCH_CACHE torch==1.10.0+cu111 torchvision==0.11.0+cu111 -f https://download.pytorch.org/whl/torch_stable.html\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          # if needed switch to the last known good SHA until transformers@master is fixed\n          # git checkout 1cc453d33\n          git rev-parse --short HEAD\n          pip install .\n\n      - name: Install deepspeed\n        run: |\n          pip install .[dev,1bit,autotuning] --no-build-isolation\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          DS_ALLOW_DEPRECATED_FP16=1 pytest $PYTEST_OPTS --forked -n 4 unit/ --torch_ver=\"1.10\" --cuda_ver=\"11.1\"\n\n      - name: Open GitHub issue if nightly CI fails\n        if: ${{ failure() && (github.event_name == 'schedule') }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filename: .github/ISSUE_TEMPLATE/ci_failure_report.md\n          update_existing: true\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:21.020770", "created_at": "2023-08-10T20:04:15+02:00", "updated_at": "2023-08-11T02:00:18+02:00", "name": "nv-torch110-v100", "path": ".github/workflows/nv-torch110-v100.yml", "contents": "name: nv-torch110-v100\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n  issues: write\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, cu111, v100]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install pytorch\n        run: |\n          pip install -U --cache-dir $TORCH_CACHE torch==1.10.0+cu111 torchvision==0.11.0+cu111 -f https://download.pytorch.org/whl/torch_stable.html\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          # if needed switch to the last known good SHA until transformers@master is fixed\n          # git checkout 1cc453d33\n          git rev-parse --short HEAD\n          pip install .\n\n      - name: Install deepspeed\n        run: |\n          pip install .[dev,1bit,autotuning] --no-build-isolation\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: Unit tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd tests\n          pytest $PYTEST_OPTS --forked -n 4  unit/ --torch_ver=\"1.10\" --cuda_ver=\"11\"\n          pytest $PYTEST_OPTS --forked -m 'sequential' unit/ --torch_ver=\"1.10\" --cuda_ver=\"11\"\n\n      - name: Open GitHub issue if nightly CI fails\n        if: ${{ failure() && (github.event_name == 'schedule') }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filename: .github/ISSUE_TEMPLATE/ci_failure_report.md\n          update_existing: true\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:22.035467", "created_at": "2024-02-22T02:33:30+01:00", "updated_at": "2024-02-22T02:33:30+01:00", "name": "nv-torch111-p40", "path": ".github/workflows/nv-torch111-p40.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:23.124182", "created_at": "2024-02-22T02:33:30+01:00", "updated_at": "2024-02-22T02:33:30+01:00", "name": "nv-torch111-v100", "path": ".github/workflows/nv-torch111-v100.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:24.236514", "created_at": "2024-02-16T19:34:42+01:00", "updated_at": "2024-02-16T19:35:33+01:00", "name": "nv-torch113-p40", "path": ".github/workflows/nv-torch113-p40.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:25.301268", "created_at": "2024-02-16T19:34:42+01:00", "updated_at": "2024-02-16T19:35:33+01:00", "name": "nv-torch113-v100", "path": ".github/workflows/nv-torch113-v100.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:26.426939", "created_at": "2022-09-12T19:54:26+02:00", "updated_at": "2023-05-22T02:44:59+02:00", "name": "nv-torch18-p40", "path": ".github/workflows/nv-torch18-p40.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:27.921778", "created_at": "2022-03-12T01:05:53+01:00", "updated_at": "2023-05-22T02:44:59+02:00", "name": "nv-torch18-v100", "path": ".github/workflows/nv-torch18-v100.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:29.090590", "created_at": "2023-03-22T22:29:18+01:00", "updated_at": "2023-09-11T10:34:27+02:00", "name": "nv-torch19-p40", "path": ".github/workflows/nv-torch19-p40.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:30.092150", "created_at": "2023-03-22T22:29:18+01:00", "updated_at": "2023-09-11T10:34:27+02:00", "name": "nv-torch19-v100", "path": ".github/workflows/nv-torch19-v100.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:31.243741", "created_at": "2022-03-12T01:05:53+01:00", "updated_at": "2024-02-13T18:52:42+01:00", "name": "nv-transformers-v100", "path": ".github/workflows/nv-transformers-v100.yml", "contents": "name: nv-transformers-v100\n\non:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - 'blogs/**'\n      - 'deepspeed/inference/v2/**'\n      - 'tests/unit/inference/v2/**'\n  merge_group:\n    branches: [ master ]\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, nvidia, cu117, v100]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: setup-venv\n        uses: ./.github/workflows/setup-venv\n\n      - name: Install pytorch\n        run: |\n          # use the same pytorch version as transformers CI\n          pip install -U --cache-dir $TORCH_CACHE torch==2.0.1+cu118 --index-url https://download.pytorch.org/whl/cu118\n          python -c \"import torch; print('torch:', torch.__version__, torch)\"\n          python -c \"import torch; print('CUDA available:', torch.cuda.is_available())\"\n\n      - name: Install transformers\n        run: |\n          git clone https://github.com/huggingface/transformers\n          cd transformers\n          # if needed switch to the last known good SHA until transformers@master is fixed\n          git checkout e7e9261a2\n          git rev-parse --short HEAD\n          pip install .\n\n      - name: Install deepspeed\n        run: |\n          pip install .[dev,autotuning]\n          ds_report\n\n      - name: Python environment\n        run: |\n          pip list\n\n      - name: HF transformers tests\n        run: |\n          unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch\n          cd transformers\n          pip install .[testing]\n          # find reqs used in ds integration tests\n          find examples/pytorch -regextype posix-egrep -regex '.*(language-modeling|question-answering|summarization|image-classification|text-classification|translation).*/requirements.txt' -exec grep -v 'torch' {} \\; | xargs -I {} pip install --upgrade {}\n          # force protobuf version due to issues\n          pip install \"protobuf<4.21.0\"\n          pip list\n          WANDB_DISABLED=true RUN_SLOW=1 pytest $PYTEST_OPTS tests/deepspeed\n", "state": "disabled_manually", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:32.354877", "created_at": "2020-12-11T19:06:00+01:00", "updated_at": "2023-04-22T00:13:09+02:00", "name": "pre-compile-ops", "path": ".github/workflows/pre-compile-ops.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:33.498171", "created_at": "2022-12-09T21:34:31+01:00", "updated_at": "2022-12-09T22:54:02+01:00", "name": "python", "path": ".github/workflows/python.yml", "contents": "name: python\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      '**'\n    paths-ignore:\n      - 'docs/**'\n      - 'blogs/**'\n  merge_group:\n    branches: [ master ]\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit-tests:\n    strategy:\n      matrix:\n        pyVersion: [\"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\"]\n      fail-fast: false\n\n    runs-on: ubuntu-20.04\n    container:\n      image: deepspeed/gh-builder:py${{ matrix.pyVersion }}\n\n    steps:\n        - uses: actions/checkout@v3\n\n        - name: environment\n          run: |\n            which python\n            python --version\n        - name: Install deepspeed\n          run: |\n            pip3 install .\n        - name: DS Report\n          run: |\n             ds_report\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:34.626919", "created_at": "2023-10-06T23:44:32+02:00", "updated_at": "2023-10-06T23:44:32+02:00", "name": "Build and publish DeepSpeed release", "path": ".github/workflows/release.yml", "contents": "name: Build and publish DeepSpeed release\n\non:\n  push:\n    tags:\n      - 'v*.*.*'\n\njobs:\n  deploy:\n    runs-on: ubuntu-20.04\n    environment: release-env\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: \"master\"\n    - id: setup-venv\n      uses: ./.github/workflows/setup-venv\n    - name: Get release version from tag\n      run: |\n        echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/v}\" >> $GITHUB_ENV\n    - name: Check release version\n      run: |\n        pip install packaging\n        python release/check_release_version.py --release_version ${{ env.RELEASE_VERSION }}\n    - name: Build DeepSpeed\n      run: |\n        DS_BUILD_STRING=\" \" python setup.py sdist\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        repository-url: https://upload.pypi.org/legacy/\n    - name: Bump version\n      run: |\n        python release/bump_patch_version.py --current_version ${{ env.RELEASE_VERSION }}\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@v6\n      with:\n        token: ${{ secrets.GH_PAT }}\n        add-paths: |\n          version.txt\n        body: |\n          **Auto-generated PR to update version.txt after a DeepSpeed release**\n          Released version - ${{ env.RELEASE_VERSION }}\n          Author           - @${{ github.actor }}\n        branch: AutoPR/${{ env.RELEASE_VERSION }}\n        assignees: ${{ github.actor }}\n        title: \"Update version.txt after ${{ env.RELEASE_VERSION }} release\"\n        author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:35.855431", "created_at": "2024-02-13T19:35:44+01:00", "updated_at": "2024-02-13T19:35:44+01:00", "name": "xeon-inference", "path": ".github/workflows/xeon-inference.yml", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:37.000499", "created_at": "2024-04-08T08:29:58+02:00", "updated_at": "2024-05-21T06:11:29+02:00", "name": "xpu-max1100", "path": ".github/workflows/xpu-max1100.yml", "contents": "name: xpu-max1100\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n  pull_request:\n    paths:\n      - \".github/workflows/xpu-max1100.yml\"\n      - \"accelerator/xpu_accelerator.py\"\n      - \"accelerator/abstract_accelerator.py\"\n      - \"accelerator/cpu_accelerator.py\"\n      - \"accelerator/real_accelerator.py\"\n      - \"deepspeed/runtime/engine.py\"\n      - \"deepspeed/runtime/bf16_optimizer.py\"\n      - \"deepspeed/runtime/zero/stage_1_and_2.py\"\n      - \"deepspeed/runtime/zero/stage3.py\"\n      - \"deepspeed/runtime/zero/partition_parameters.py\"\n      - \"deepspeed/runtime/zero/partitioned_param_coordinator.py\"\n      - \"deepspeed/runtime/zero/parameter_offload.py\"\n      - \"deepspeed/runtime/pipe/engine.py\"\n      - \"deepspeed/runtime/utils.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n  issues: write\n\n\njobs:\n  unit-tests:\n    runs-on: [self-hosted, intel, xpu]\n    container:\n      image: intel/intel-extension-for-pytorch:2.1.20-xpu\n      ports:\n        - 80\n      options: --privileged -it --rm --device /dev/dri:/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --ipc=host --cap-add=ALL\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Check container state\n      shell: bash\n      run: |\n        ldd --version\n        python -c \"import torch; print('torch:', torch.__version__, torch)\"\n        python -c \"import torch; import intel_extension_for_pytorch; print('XPU available:', torch.xpu.is_available())\"\n\n    - name: Install deepspeed\n      run: |\n        pip install py-cpuinfo\n        pip install .[dev,autotuning]\n        ds_report\n        python -c \"from deepspeed.accelerator import get_accelerator; print('accelerator:', get_accelerator()._name)\"\n\n    - name: Python environment\n      run: |\n        pip list\n\n    - name: Unit tests\n      run: |\n        pip install pytest pytest-timeout tabulate tensorboard wandb\n        export ONEAPI_ROOT=/opt/intel/oneapi/redist\n        export FI_PROVIDER_PATH=$ONEAPI_ROOT/opt/mpi/libfabric/lib/prov\n        export LD_LIBRARY_PATH=$ONEAPI_ROOT/opt/mpi/libfabric/lib:$LD_LIBRARY_PATH\n        export LD_LIBRARY_PATH=$ONEAPI_ROOT/lib:$LD_LIBRARY_PATH\n        cd tests/unit\n        pytest --verbose accelerator/*\n        pytest --verbose autotuning/*\n        pytest --verbose checkpoint/test_reshape_checkpoint.py\n        pytest --verbose checkpoint/test_moe_checkpoint.py\n        pytest --verbose checkpoint/test_shared_weights.py\n        pytest --verbose launcher/test_ds_arguments.py launcher/test_run.py\n        pytest --verbose moe/test_moe_tp.py\n        pytest --verbose monitor/*\n        pytest --verbose runtime/test_ds_config_model.py\n        pytest --verbose runtime/pipe/test_pipe_schedule.py\n        pytest --verbose runtime/zero/test_zero_config.py\n        pytest --verbose runtime/zero/test_zero_tiled.py\n        pytest --verbose runtime/zero/test_zeropp.py\n        pytest --verbose runtime/test_autocast.py\n        pytest --verbose runtime/test_data.py\n        pytest --verbose runtime/test_runtime_utils.py\n        pytest --verbose runtime/activation_checkpointing/*\n        pytest --verbose runtime/utils/*\n        pytest --verbose runtime/zero/test_zero_dynamic_class.py\n", "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:38.045030", "created_at": "2021-12-18T05:13:19+01:00", "updated_at": "2021-12-18T05:13:19+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "microsoft/deepspeed"}
{"mined_at": "2024-07-15T15:08:40.166354", "created_at": "2023-08-24T09:09:04+02:00", "updated_at": "2023-08-24T19:31:39+02:00", "name": "Deploy Dagster University", "path": ".github/workflows/build-dagster-university.yml", "contents": "name: Deploy Dagster University\non:\n  push:\n    branches:\n      - master\n    paths:\n      - docs/dagster-university/**\n  pull_request:\n    paths:\n      - docs/dagster-university/**\nconcurrency:\n  # Cancel in-progress runs on same branch\n  group: ${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      # Deploy to Vercel Previews on pull request\n      - name: Get branch preview subdomain\n        if: github.event_name == 'pull_request'\n        env:\n          HEAD_REF: ${{ github.head_ref }}\n          REF_NAME: ${{ github.ref_name }}\n        run: |\n          BRANCH_PREVIEW_SUBDOMAIN=$(echo \"${HEAD_REF:-$REF_NAME}\" | sed -e 's/[^a-zA-Z0-9-]/-/g; s/^-*//; s/-*$//')\n          echo \"$BRANCH_PREVIEW_SUBDOMAIN\"\n          echo \"BRANCH_PREVIEW_SUBDOMAIN=$BRANCH_PREVIEW_SUBDOMAIN\" >> \"${GITHUB_ENV}\"\n\n      - name: Get PR fetch depth\n        if: github.event.pull_request\n        run: echo \"PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))\" >> \"${GITHUB_ENV}\"\n\n      - name: Checkout master branch\n        if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n        uses: actions/checkout@v4\n\n      - name: Checkout PR branch\n        if: github.event.pull_request\n        uses: actions/checkout@v4\n\n      - name: Publish Preview to Vercel\n        uses: amondnet/vercel-action@v25\n        if: github.event_name == 'pull_request'\n        with:\n          github-comment: ${{ github.event.pull_request && env.CHANGES_ENTRY || true }}\n          vercel-token: ${{ secrets.VERCEL_TOKEN }}\n          vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}\n          vercel-project-id: ${{ secrets.DAGSTER_U_VERCEL_PROJECT_ID }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          scope: ${{ secrets.VERCEL_ORG_ID }}\n          alias-domains: ${{ env.BRANCH_PREVIEW_SUBDOMAIN }}.dagster-university.dagster-docs.io\n\n      # Deploy to Vercel Production on push to master branch\n      - name: Checkout docs-prod branch\n        if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n        uses: actions/checkout@v4\n\n      - name: Publish to Vercel Production\n        uses: amondnet/vercel-action@v25\n        if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n        with:\n          vercel-token: ${{ secrets.VERCEL_TOKEN }}\n          vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}\n          vercel-project-id: ${{ secrets.DAGSTER_U_VERCEL_PROJECT_ID }}\n          vercel-args: \"--prod\"\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          scope: ${{ secrets.VERCEL_ORG_ID }}\n", "state": "active", "repository": "dagster-io/dagster"}
{"mined_at": "2024-07-15T15:08:41.197692", "created_at": "2023-03-21T01:12:51+01:00", "updated_at": "2023-08-25T03:22:34+02:00", "name": "Deploy Docs", "path": ".github/workflows/build-docs.yml", "contents": "name: Deploy Docs\non:\n  push:\n    branches:\n      - master\n      - \"release-*\" # older verions of the docs\n      - docs-prod # prod\n    paths:\n      - docs/**\n      - CHANGES.md\n      - .github/workflows/build-docs.yml\n  pull_request:\n    paths:\n      - docs/**\n      - CHANGES.md\n      - .github/workflows/build-docs.yml\nconcurrency:\n  # Cancel in-progress runs on same branch\n  group: ${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      # Deploy to Vercel Previews on pull request, push to master branch, or push to release-* branch\n      - name: Get branch preview subdomain\n        env:\n          HEAD_REF: ${{ github.head_ref }}\n          REF_NAME: ${{ github.ref_name }}\n        if: |\n          github.event_name == 'pull_request' || \n          (github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-')))\n        run: |\n          BRANCH_PREVIEW_SUBDOMAIN=$(echo \"${HEAD_REF:-$REF_NAME}\" | sed -e 's/[^a-zA-Z0-9-]/-/g; s/^-*//; s/-*$//')\n          echo \"$BRANCH_PREVIEW_SUBDOMAIN\"\n          echo \"BRANCH_PREVIEW_SUBDOMAIN=$BRANCH_PREVIEW_SUBDOMAIN\" >> \"${GITHUB_ENV}\"\n\n      - name: Checkout master/release branch\n        if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))\n        uses: actions/checkout@v4\n\n      - name: Get PR fetch depth\n        if: ${{ github.event.pull_request }}\n        run: echo \"PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))\" >> \"${GITHUB_ENV}\"\n\n      - name: Checkout PR branch\n        uses: actions/checkout@v4\n        if: ${{ github.event.pull_request }}\n        with:\n          fetch-depth: ${{ env.PR_FETCH_DEPTH }}\n\n      - name: Get changed docs files for PR comment\n        if: ${{ github.event.pull_request }}\n        run: |\n          echo \"Head ref is $GITHUB_HEAD_SHA\"\n          git fetch origin $GITHUB_HEAD_SHA\n          # Compare the commit the branch is based on to its head to list changed files\n          CHANGED_MDX_FILES=$(git diff --name-only HEAD~${{ github.event.pull_request.commits }} \"$GITHUB_HEAD_SHA\" -- '*.mdx')\n          CHANGES_ENTRY=$(echo \"$CHANGED_MDX_FILES\" | sed 's/\\.mdx$//' | sed 's/^docs\\/content/- {{deploymentUrl}}/')\n          CHANGES_ENTRY=$(echo -e \"Preview available at {{deploymentUrl}}\\n\\nDirect link to changed pages:\\n$CHANGES_ENTRY\")\n          echo \"$CHANGES_ENTRY\"\n          # https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings\n          EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)\n          echo \"CHANGES_ENTRY<<$EOF\" >> $GITHUB_ENV\n          echo \"$CHANGES_ENTRY\" >> $GITHUB_ENV\n          echo \"$EOF\" >> $GITHUB_ENV\n        env:\n          GITHUB_HEAD_SHA: ${{ github.event.pull_request.head.sha }}\n\n      - name: Publish Preview to Vercel\n        uses: amondnet/vercel-action@v25\n        if: |\n          github.event_name == 'pull_request' || \n          (github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-')))\n        with:\n          github-comment: ${{ github.event.pull_request && env.CHANGES_ENTRY || true }}\n          vercel-token: ${{ secrets.VERCEL_TOKEN }}\n          vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}\n          vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          scope: ${{ secrets.VERCEL_ORG_ID }}\n          alias-domains: ${{ env.BRANCH_PREVIEW_SUBDOMAIN }}.dagster.dagster-docs.io\n\n      # Deploy to Vercel Production on push to docs-prod branch\n      - name: Checkout docs-prod branch\n        if: github.event_name == 'push' && github.ref == 'refs/heads/docs-prod'\n        uses: actions/checkout@v4\n\n      - name: Publish to Vercel Production\n        uses: amondnet/vercel-action@v25\n        if: github.event_name == 'push' && github.ref == 'refs/heads/docs-prod'\n        with:\n          vercel-token: ${{ secrets.VERCEL_TOKEN }}\n          vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}\n          vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}\n          vercel-args: \"--prod\"\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          scope: ${{ secrets.VERCEL_ORG_ID }}\n", "state": "active", "repository": "dagster-io/dagster"}
{"mined_at": "2024-07-15T15:08:42.403758", "created_at": "2023-03-27T23:47:20+02:00", "updated_at": "2023-03-27T23:47:20+02:00", "name": "Deploy Storybook", "path": ".github/workflows/build-storybook-core.yml", "contents": "name: Deploy Storybook\non:\n  push:\n    branches:\n      - master\n    paths:\n      - js_modules/dagster-ui/packages/ui-core/**\n  pull_request:\n    paths:\n      - js_modules/dagster-ui/packages/ui-core/**\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get branch preview subdomain\n        if: github.event_name == 'pull_request'\n        env:\n          HEAD_REF: ${{ github.head_ref }}\n          REF_NAME: ${{ github.ref_name }}\n        run: |\n          BRANCH_PREVIEW_SUBDOMAIN=$(echo \"${HEAD_REF:-$REF_NAME}\" | sed -e 's/[^a-zA-Z0-9-]/-/g; s/^-*//; s/-*$//')\n          echo \"$BRANCH_PREVIEW_SUBDOMAIN\"\n          echo \"BRANCH_PREVIEW_SUBDOMAIN=$BRANCH_PREVIEW_SUBDOMAIN\" >> \"${GITHUB_ENV}\"\n      - uses: actions/checkout@v4\n      - uses: amondnet/vercel-action@v25\n        if: github.event_name == 'pull_request'\n        with:\n          vercel-token: ${{ secrets.VERCEL_TOKEN }}\n          vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}\n          vercel-project-id: ${{ secrets.STORYBOOK_CORE_VERCEL_PROJECT_ID }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          scope: ${{ secrets.VERCEL_ORG_ID }}\n          alias-domains: ${{ env.BRANCH_PREVIEW_SUBDOMAIN }}.core-storybook.dagster-docs.io\n      - uses: amondnet/vercel-action@v25\n        if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n        with:\n          vercel-token: ${{ secrets.VERCEL_TOKEN }}\n          vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}\n          vercel-project-id: ${{ secrets.STORYBOOK_CORE_VERCEL_PROJECT_ID }}\n          vercel-args: '--prod'\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          scope: ${{ secrets.VERCEL_ORG_ID }}\n", "state": "active", "repository": "dagster-io/dagster"}
{"mined_at": "2024-07-15T15:08:43.518606", "created_at": "2023-03-27T23:47:20+02:00", "updated_at": "2023-03-27T23:47:20+02:00", "name": "Deploy Storybook", "path": ".github/workflows/build-storybook-ui.yml", "contents": "name: Deploy Storybook\non:\n  push:\n    branches:\n      - master\n    paths:\n      - js_modules/dagster-ui/packages/ui-components/**\n  pull_request:\n    paths:\n      - js_modules/dagster-ui/packages/ui-components/**\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get branch preview subdomain\n        if: github.event_name == 'pull_request'\n        env:\n          HEAD_REF: ${{ github.head_ref }}\n          REF_NAME: ${{ github.ref_name }}\n        run: |\n          BRANCH_PREVIEW_SUBDOMAIN=$(echo \"${HEAD_REF:-$REF_NAME}\" | sed -e 's/[^a-zA-Z0-9-]/-/g; s/^-*//; s/-*$//')\n          echo \"$BRANCH_PREVIEW_SUBDOMAIN\"\n          echo \"BRANCH_PREVIEW_SUBDOMAIN=$BRANCH_PREVIEW_SUBDOMAIN\" >> \"${GITHUB_ENV}\"\n      - uses: actions/checkout@v4\n      - uses: amondnet/vercel-action@v25\n        if: github.event_name == 'pull_request'\n        with:\n          vercel-token: ${{ secrets.VERCEL_TOKEN }}\n          vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}\n          vercel-project-id: ${{ secrets.STORYBOOK_UI_VERCEL_PROJECT_ID }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          scope: ${{ secrets.VERCEL_ORG_ID }}\n          alias-domains: ${{ env.BRANCH_PREVIEW_SUBDOMAIN }}.components-storybook.dagster-docs.io\n      - uses: amondnet/vercel-action@v25\n        if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n        with:\n          vercel-token: ${{ secrets.VERCEL_TOKEN }}\n          vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}\n          vercel-project-id: ${{ secrets.STORYBOOK_UI_VERCEL_PROJECT_ID }}\n          vercel-args: '--prod'\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          scope: ${{ secrets.VERCEL_ORG_ID }}\n", "state": "active", "repository": "dagster-io/dagster"}
{"mined_at": "2024-07-15T15:08:45.783278", "created_at": "2020-12-20T01:09:03+01:00", "updated_at": "2024-05-03T04:03:15+02:00", "name": "Test for build scripts", "path": ".github/workflows/build.yml", "contents": "name: Test for build scripts\non:\n  push: # ci work when pushing master branch\n    branches:\n      - master\n    paths:\n      - \"scripts/install_deepchem_conda.ps1\"\n      - \"scripts/install_deepchem_conda.sh\"\n      - \"requirements/**\"\n  pull_request: # ci work when creating a PR to master branch\n    branches:\n      - master\n    paths:\n      - \"scripts/install_deepchem_conda.ps1\"\n      - \"scripts/install_deepchem_conda.sh\"\n      - \"requirements/**\"\njobs:\n  bash-build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        # macos-latest is for apple silicon\n        os: [ubuntu-latest, macos-latest]\n        python-version: ['3.9', '3.11']\n    steps:\n    - name: Maximize build space\n      if: runner.os == 'ubuntu-latest'\n      run: |\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf /usr/local/lib/android\n    - uses: actions/checkout@v4\n    - name: Cache pip modules for Linux\n      if: runner.os == 'Linux'\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Cache pip modules for MacOS\n      if: runner.os == 'macOS'\n      uses: actions/cache@v4\n      with:\n        path: ~/Library/Caches/pip\n        key: ${{ matrix.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Install miniconda\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniconda-version: \"latest\"\n        auto-update-conda: true\n        python-version: ${{ matrix.python-version }}\n    - name: Install libomp with Homebrew\n      if: ${{ runner.os == 'macOS' && runner.arch == 'ARM64' }}\n      run: |\n        brew install libomp\n    - name: Install dependencies (failure check)\n      continue-on-error: true\n      shell: bash -l {0}\n      run: |\n        source scripts/install_deepchem_conda.sh\n    - name: Install all dependencies\n      shell: bash -l {0}\n      run: |\n        source scripts/install_deepchem_conda.sh ${{ matrix.python-version }} cpu\n    - name: Import Checks\n      shell: bash -l {0}\n      run: |\n        conda activate deepchem\n        python -V\n        python -c 'import deepchem; print(\"DeepChem version %s\" % deepchem.__version__)'\n        python -c 'import rdkit; print(\"RDKIT version %s\" % rdkit.__version__)'\n        python -c 'import torch; print(\"Torch version %s\" % torch.__version__)'\n        python -c 'import tensorflow; print(\"Tensorflow version %s\" % tensorflow.__version__)'\n        python -c 'import jax; print (\"Jax version %s\" % jax.__version__)'\n\n  powershell-build:\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.9', '3.11']\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cache pip packages for Windows\n      uses: actions/cache@v4\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ matrix.os }}-pip-${{ hashFiles('env.*.yml') }}\n    - name: Install miniconda\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniconda-version: \"latest\"\n        auto-update-conda: true\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies (failure check)\n      continue-on-error: true\n      shell: pwsh\n      run: |\n        . .\\scripts\\install_deepchem_conda.ps1\n    - name: Install dependencies\n      shell: pwsh\n      run: |\n        . .\\scripts\\install_deepchem_conda.ps1 ${{ matrix.python-version }} cpu\n    - name: Import Checks\n      shell: pwsh\n      run: |\n        conda activate deepchem\n        python -V\n        python -c \"import deepchem; print('DeepChem version %s' % deepchem.__version__)\"\n        python -c \"import rdkit; print('RDKIT version %s' % rdkit.__version__)\"\n        python -c \"import torch; print('Torch version %s' % torch.__version__)\"\n", "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:08:46.765392", "created_at": "2024-06-10T09:38:08+02:00", "updated_at": "2024-06-10T09:38:08+02:00", "name": "Docker Build Test", "path": ".github/workflows/docker.yml", "contents": null, "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:08:47.769879", "created_at": "2020-12-20T01:09:03+01:00", "updated_at": "2020-12-20T01:09:03+01:00", "name": "Test for documents", "path": ".github/workflows/docs.yml", "contents": "name: Test for documents\non:\n  push: # ci work when pushing master branch\n    branches:\n      - master\n  pull_request: # ci work when creating a PR to master branch\n    branches:\n      - master\njobs:\n  docs-build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.9', '3.11']\n    steps:\n    - name: Maximize build space\n      if: runner.os == 'ubuntu-latest'\n      run: |\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf /usr/local/lib/android\n    - uses: actions/checkout@v4\n    - name: Cache pip packages for Linux\n      uses: actions/cache@v4\n      # use cached dependencies to speed up workflow\n      # ref: https://docs.github.com/en/actions/advanced-guides/caching-dependencies-to-speed-up-workflows\n      with:\n        path: ~/.cache/pip\n        # the key is used to search for cache\n        # hashFile(paths) return a single hash for the set of files that matches the path pattern\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/**/docs/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies (docs)\n      shell: bash -l {0}\n      working-directory: ./docs\n      run: pip install -r requirements.txt\n    - name: Build docs\n      shell: bash -l {0}\n      working-directory: ./docs\n      run: make clean html\n    - name: DocTest (Tutorials)\n      shell: bash -l {0}\n      working-directory: ./docs\n      run: make doctest_tutorials\n    - name: DocTest (Examples)\n      shell: bash -l {0}\n      working-directory: ./docs\n      run: make doctest_examples\n", "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:08:48.957327", "created_at": "2023-01-17T10:44:43+01:00", "updated_at": "2023-01-24T13:35:33+01:00", "name": "Test DQC", "path": ".github/workflows/dqc_install.yml", "contents": "name: Test DQC\non:\n  push: # ci work when pushing master branch\n    branches:\n      - master\n  pull_request: # ci work when creating a PR to master branch\n    branches:\n      - master\njobs:\n  test-dqc:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8']\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON_VERSION: ${{ matrix.python-version }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4.5.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Create env.yml\n      shell: bash\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge; \n        conda-merge requirements/env_dqc.yml requirements/env_test.yml > env.yml\n    - name: Install all dependencies\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniconda-version: \"latest\"\n        auto-update-conda: true\n        activate-environment: dqc\n        channels: conda-forge,defaults\n        python-version: ${{ matrix.python-version }}\n        environment-file: env.yml\n    - name: Conda info\n      shell: bash -el {0}\n      run: conda info\n    - name: Install DeepChem\n      shell: bash -l {0}\n      run: pip install -e .\n    - name: Show packages\n      shell: bash -l {0}\n      run: pip freeze\n    - name: Import numpy\n      shell: bash -l {0}\n      run: python -c 'import numpy as np; print (\"numpy version is %s\" % np.__version__)'\n    - name: Test Install\n      shell: bash -l {0}\n      run: |\n        python -c 'import deepchem; print(\"DeepChem version %s\" % deepchem.__version__)'\n        python -c 'import torch; print(\"Torch version %s\" % torch.__version__)'\n        python -c 'import dqc; print(\"DQC version %s\" % dqc.__version__)'\n        python -c 'import xitorch; print(\"Xitorch version %s\" % xitorch.__version__)'\n        python -c 'import pylibxc; print(\"pylibxc version %s\" % pylibxc.version.__version__)'\n    - name: PyTest\n      shell: bash -l {0}\n      run: |\n        echo \"running dqc pytest\"\n        pytest -v -m 'dqc' deepchem\n", "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:08:49.961914", "created_at": "2022-09-02T20:04:23+02:00", "updated_at": "2023-10-23T20:32:28+02:00", "name": "Code Formatting", "path": ".github/workflows/formatting.yml", "contents": "name: Code Formatting\n\non:\n  push: # ci work when pushing master branch\n    branches:\n      - master\n  pull_request: # ci work when creating a PR to master branch\n    branches:\n      - master\n\n\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10']\n    steps:\n    - name: Maximize build space\n      if: runner.os == 'ubuntu-latest'\n      run: |\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf /usr/local/lib/android\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set commit range (push to the master branch, e.g. merge)\n      if: github.ref == 'refs/heads/master' && github.event_name == 'push'\n      run: echo \"COMMIT_RANGE=${{ github.event.before }}..\" >> $GITHUB_ENV\n\n    - name: Set commit range (pull request)\n      if: github.event_name == 'pull_request'\n      run: |\n        git fetch origin master\n        echo \"COMMIT_RANGE=origin/master...\" >> $GITHUB_ENV\n\n    - name: Cache pip packages for Linux\n      if: runner.os == 'Linux'\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Create env.yml\n      shell: bash\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge;\n        cd requirements\n        conda-merge env_common.yml env_test.yml env_ubuntu.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml jax/env_jax.cpu.yml > env.yml\n        cd ..\n        cp requirements/env.yml env.yml\n\n    - name: Install all dependencies using micromamba\n      uses: mamba-org/setup-micromamba@main\n      with:\n        environment-file: env.yml\n        environment-name: deepchem\n        create-args: python=${{ matrix.python-version }}\n\n    - name: Install DeepChem\n      id: install\n      shell: bash -l {0}\n      run: pip install -e .\n\n    - name: Show files modified\n      run: |\n        CHANGED_FILES=`git diff --name-only $COMMIT_RANGE || true`\n        echo \"changed files are $CHANGED_FILES\"\n\n    - name: Yapf (version 0.32.0)\n      id: yapf\n      shell: bash -l {0}\n      run: |\n        CHANGED_FILES=`git diff --name-only $COMMIT_RANGE | grep .py$ || true`\n        if [ -n \"$CHANGED_FILES\" ]; then\n          yapf -d $CHANGED_FILES\n        fi\n\n    - name: Flake8\n      if: ${{ (success() || failure()) && (steps.install.outcome == 'failure' || steps.install.outcome == 'success') }}\n      shell: bash -l {0}\n      run: source scripts/flake8_for_ci.sh\n\n    - name: Mypy\n      if: ${{ (success() || failure()) && (steps.install.outcome == 'failure' || steps.install.outcome == 'success') }}\n      shell: bash -l {0}\n      run: |\n        mypy -p deepchem\n", "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:08:51.209910", "created_at": "2021-06-20T22:26:38+02:00", "updated_at": "2023-04-01T19:14:14+02:00", "name": "Test for DeepChem Jax", "path": ".github/workflows/jax_setup.yml", "contents": "name: Test for DeepChem Jax\non:\n  push: # ci work when pushing master branch\n    branches:\n      - master\n  pull_request: # ci work when creating a PR to master branch\n    branches:\n      - master\njobs:\n  jax-build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.9', '3.10', '3.11']\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cache pip modules for Linux\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/jax/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Build DeepChem\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e '.[jax]'\n    - name: Import checking\n      run: python -c \"import deepchem; import jax;\"\n\n  jax-test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.9', '3.10', '3.11']\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON_VERSION: ${{ matrix.python-version }}\n    steps:\n    - name: Maximize build space\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf /usr/local/lib/android\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    # https://github.com/galaxyproject/tools-iuc/blob/master/.github/workflows/pr.yaml\n    # The range of commits to check for changes is:\n    # - for events on the master branch we compare against the sha before the event\n    #   (note that this does not work for feature branch events since we want all\n    #   commits on the feature branch and not just the commits of the last event)\n    # - for pull requests we compare against the 1st ancestor, given the current\n    #   HEAD is the merge between the PR branch and the base branch\n    - name: Set commit range (push to the master branch, e.g. merge)\n      if: github.ref == 'refs/heads/master' && github.event_name == 'push'\n      run: echo \"COMMIT_RANGE=${{ github.event.before }}..\" >> $GITHUB_ENV\n    - name: Set commit range (pull request)\n      if: github.event_name == 'pull_request'\n      run: |\n        git fetch origin master\n        echo \"COMMIT_RANGE=origin/master...\" >> $GITHUB_ENV\n    - name: Cache pip packages for Linux\n      if: runner.os == 'Linux'\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/jax/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Cache pip packages for MacOS\n      if: runner.os == 'macOS'\n      uses: actions/cache@v4\n      with:\n        path: ~/Library/Caches/pip\n        key: ${{ matrix.os }}-pip-${{ hashFiles('requirements/jax/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Cache pip packages for Windows\n      if: runner.os == 'Windows'\n      uses: actions/cache@v4\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ matrix.os }}-pip-${{ hashFiles('requirements/jax/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Create env.yml\n      shell: bash\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge;\n        conda-merge requirements/env_common.yml requirements/env_test.yml requirements/jax/env_jax.cpu.yml > env.yml\n    - name: Install all dependencies\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniconda-version: \"latest\"\n        auto-update-conda: true\n        activate-environment: deepchem\n        channels: conda-forge,defaults\n        python-version: ${{ matrix.python-version }}\n        environment-file: env.yml\n    - name: Install DeepChem\n      id: install\n      shell: bash -l {0}\n      run: pip install -e .\n    - name: PyTest\n      if: ${{ (success() || failure()) && (steps.install.outcome == 'failure' || steps.install.outcome == 'success') }}\n      shell: bash -l {0}\n      run: pytest -v -m 'jax' deepchem\n", "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:08:52.215240", "created_at": "2022-10-02T11:41:35+02:00", "updated_at": "2023-11-18T06:59:08+01:00", "name": "Test for Build", "path": ".github/workflows/mini_build.yml", "contents": "name: Test for Build\non:\n  push: # ci work when pushing master branch\n    branches:\n      - master\n  pull_request: # ci work when creating a PR to master branch\n    branches:\n      - master\njobs:\n  core-build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.10', '3.11']\n        include:\n        - os: windows-latest\n          python-version: '3.9'\n    steps:\n    - uses: actions/checkout@v4\n      # using cached dependencies to speed up workflow\n      # ref: https://docs.github.com/en/actions/advanced-guides/caching-dependencies-to-speed-up-workflows\n    - name: Cache pip modules for Linux\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        # the key is used to search for cache\n        # hashFile(paths) return a single hash for the set of files that matches the path pattern\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Build DeepChem\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .\n    - name: Import checking\n      run: python -c \"import deepchem\"\n\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.10', '3.11']\n        include:\n          - os: windows-latest\n            python-version: 3.9\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON_VERSION: ${{ matrix.python-version }}\n    steps:\n    - name: Maximize build space\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf /usr/local/lib/android\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    # https://github.com/galaxyproject/tools-iuc/blob/master/.github/workflows/pr.yaml\n    # The range of commits to check for changes is:\n    # - for events on the master branch we compare against the sha before the event\n    #   (note that this does not work for feature branch events since we want all\n    #   commits on the feature branch and not just the commits of the last event)\n    # - for pull requests we compare against the 1st ancestor, given the current\n    #   HEAD is the merge between the PR branch and the base branch\n    - name: Set commit range (push to the master branch, e.g. merge)\n      if: github.ref == 'refs/heads/master' && github.event_name == 'push'\n      run: echo \"COMMIT_RANGE=${{ github.event.before }}..\" >> $GITHUB_ENV\n    - name: Set commit range (pull request)\n      if: github.event_name == 'pull_request'\n      run: |\n        git fetch origin master\n        echo \"COMMIT_RANGE=origin/master...\" >> $GITHUB_ENV\n    - name: Cache pip packages for Linux\n      if: runner.os == 'Linux'\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Cache pip packages for MacOS\n      if: runner.os == 'macOS'\n      uses: actions/cache@v4\n      with:\n        path: ~/Library/Caches/pip\n        key: ${{ matrix.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Cache pip packages for Windows\n      if: runner.os == 'Windows'\n      uses: actions/cache@v4\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ matrix.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install prerequisites for XGBoost and LightGBM (MacOS)\n      if: startsWith(runner.os, 'macOS')\n      run: brew update && brew install libomp\n    - name: Create env.yml for python >3.8\n      shell: bash\n      if: ${{ matrix.python-version != '3.8' && matrix.python-version != '3.11'}}\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge;\n        cd requirements\n        if [ \"$(uname)\" == 'Linux' ]; then\n          conda-merge env_common.yml env_test.yml env_ubuntu.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml jax/env_jax.cpu.yml > env.yml\n        elif [  \"$(uname)\" == 'Darwin' ]; then\n          conda-merge env_common.yml env_test.yml env_mac.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.mac.cpu.yml jax/env_jax.cpu.yml > env.yml\n        elif [[  \"$(uname)\" == \"MINGW64_NT\"* ]]; then\n          conda-merge env_common.yml env_test.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml > env.yml\n        fi;\n        cd ..\n        cp requirements/env.yml env.yml\n    - name: Create env.yml for python 3.11\n      shell: bash\n      # A special case of environment creation for python 3.8 which excludes hhsuite\n      if: ${{ matrix.python-version == '3.11' }}\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge;\n        cd requirements\n        if [ \"$(uname)\" == 'Linux' ]; then\n          conda-merge env_common.yml env_test.yml env_ubuntu_3_11.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml > env.yml\n        elif [  \"$(uname)\" == 'Darwin' ]; then\n          conda-merge env_common.yml env_test.yml env_mac_3_11.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.mac.cpu.yml > env.yml\n        elif [[  \"$(uname)\" == \"MINGW64_NT\"* ]]; then\n          conda-merge env_common.yml env_test.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml > env.yml\n        fi;\n        cd ..\n        cp requirements/env.yml env.yml\n    - name: Create env.yml for python 3.8\n      shell: bash\n      # A special case of environment creation for python 3.8 which excludes jax [deprecated]\n      if: ${{ matrix.python-version == '3.8' }}\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge;\n        cd requirements\n        if [ \"$(uname)\" == 'Linux' ]; then\n          conda-merge env_common_3_8.yml env_test.yml env_ubuntu.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml > env.yml\n        elif [  \"$(uname)\" == 'Darwin' ]; then\n          conda-merge env_common_3_8.yml env_test.yml env_mac.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.mac.cpu.yml > env.yml\n        elif [[  \"$(uname)\" == \"MINGW64_NT\"* ]]; then\n          conda-merge env_common_3_8.yml env_test.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml > env.yml\n        fi;\n        cd ..\n        cp requirements/env.yml env.yml\n    - name: Install all dependencies using micromamba\n      uses: mamba-org/setup-micromamba@main\n      with:\n        environment-file: env.yml\n        environment-name: deepchem\n        create-args: python=${{ matrix.python-version }}\n\n#    - name: Install all dependencies using conda\n#      uses: conda-incubator/setup-miniconda@v3\n#      with:\n#        miniconda-version: \"latest\"\n#        auto-update-conda: true\n#        activate-environment: deepchem\n#        channels: conda-forge,defaults\n#        python-version: ${{ matrix.python-version }}\n#        environment-file: env.yml\n\n  pypi-build:\n    if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n    needs: [core-build]\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Publish (Nightly)\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n\n  docker-build:\n    if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n    needs: [core-build, pypi-build]\n    runs-on: ubuntu-latest\n    steps:\n    - name: Maximize build space\n      run: |\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf /usr/local/lib/android\n    - uses: actions/checkout@v4\n    - name: Set up Docker Buildx\n      id: buildx\n      uses: docker/setup-buildx-action@master\n    - name: Cache Docker layers\n      uses: actions/cache@v4\n      with:\n        path: /tmp/.buildx-cache\n        key: ${{ runner.os }}-buildx-${{ github.sha }}\n        restore-keys: ${{ runner.os }}-buildx-\n    - name: Login to DockerHub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKER_HUB_USERNAME }}\n        password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n    - name: Build and push\n      id: docker_build\n      uses: docker/build-push-action@v5\n      with:\n        builder: ${{ steps.buildx.outputs.name }}\n        context: ./docker/nightly\n        push: true\n        tags: deepchemio/deepchem:latest\n        cache-from: type=local,src=/tmp/.buildx-cache\n        cache-to: type=local,dest=/tmp/.buildx-cache\n    - name: Image digest\n      run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:08:53.360745", "created_at": "2020-12-20T01:09:03+01:00", "updated_at": "2021-01-19T01:09:31+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  push:\n    tags:\n      - '*' # ci work when pushing a tag\njobs:\n  pypi:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.9']\n    steps:\n    - name: Maximize build space\n      if: runner.os == 'ubuntu-latest'\n      run: |\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf /usr/local/lib/android\n    - uses: actions/checkout@v4\n    - name: Cache pip modules for Linux\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('env.*.yml') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Build DeepChem\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .\n    - name: Import checking\n      run: python -c \"import deepchem\"\n    - name: Prepare for publishing\n      run: |\n        rm -rf ./build ./dist ./*egg-info\n        pip install setuptools wheel twine\n    - name: Publish (Stable)\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel --release\n        twine upload dist/*\n\n  docker:\n    needs: [pypi]\n    runs-on: ubuntu-latest\n    steps:\n    - name: Maximize build space\n      if: runner.os == 'ubuntu-latest'\n      run: |\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf /usr/local/lib/android\n    - uses: actions/checkout@v4\n    - name: Get the tag version\n      id: get_tag_version\n      run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}\n    - name: Login to DockerHub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKER_HUB_USERNAME }}\n        password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n    - name: Build and push\n      id: docker_build\n      uses: docker/build-push-action@v5\n      with:\n        context: ./docker/tag\n        push: true\n        tags: deepchemio/deepchem:${{ steps.get_tag_version.outputs.VERSION }}\n    - name: Image digest\n      run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:08:54.588761", "created_at": "2021-06-28T18:41:48+02:00", "updated_at": "2023-04-01T19:14:14+02:00", "name": "Test for DeepChem Tensorflow", "path": ".github/workflows/tensorflow_setup.yml", "contents": "name: Test for DeepChem Tensorflow\non:\n  push: # ci work when pushing master branch\n    branches:\n      - master\n  pull_request: # ci work when creating a PR to master branch\n    branches:\n      - master\njobs:\n  tf-build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.10', '3.11']\n        include:\n          - os: windows-latest\n            python-version: 3.9\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cache pip modules for Linux\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/tensorflow/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Build DeepChem\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e '.[tensorflow]'\n    - name: Import checking\n      run: python -c \"import deepchem; import tensorflow;\"\n\n  tf-test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.10', '3.11']\n        include:\n          - os: windows-latest\n            python-version: '3.9'\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON_VERSION: ${{ matrix.python-version }}\n    steps:\n    - name: Maximize build space\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf /usr/local/lib/android\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    # https://github.com/galaxyproject/tools-iuc/blob/master/.github/workflows/pr.yaml\n    # The range of commits to check for changes is:\n    # - for events on the master branch we compare against the sha before the event\n    #   (note that this does not work for feature branch events since we want all\n    #   commits on the feature branch and not just the commits of the last event)\n    # - for pull requests we compare against the 1st ancestor, given the current\n    #   HEAD is the merge between the PR branch and the base branch\n    - name: Set commit range (push to the master branch, e.g. merge)\n      if: github.ref == 'refs/heads/master' && github.event_name == 'push'\n      run: echo \"COMMIT_RANGE=${{ github.event.before }}..\" >> $GITHUB_ENV\n    - name: Set commit range (pull request)\n      if: github.event_name == 'pull_request'\n      run: |\n        git fetch origin master\n        echo \"COMMIT_RANGE=origin/master...\" >> $GITHUB_ENV\n    - name: Cache pip packages for Linux\n      if: runner.os == 'Linux'\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/tensorflow/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Cache pip packages for MacOS\n      if: runner.os == 'macOS'\n      uses: actions/cache@v4\n      with:\n        path: ~/Library/Caches/pip\n        key: ${{ matrix.os }}-pip-${{ hashFiles('requirements/tensorflow/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Cache pip packages for Windows\n      if: runner.os == 'Windows'\n      uses: actions/cache@v4\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ matrix.os }}-pip-${{ hashFiles('requirements/tensorflow/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Create env.yml for python 3.8\n      shell: bash\n      # A special case of environment creation for python 3.8 which includes an older version of matminer\n      if: ${{ matrix.python-version == '3.8' }}\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge;\n        conda-merge requirements/env_common_3_8.yml requirements/env_test.yml requirements/tensorflow/env_tensorflow.cpu.yml > env.yml\n    - name: Create env.yml for python 3.9+\n      shell: bash\n      if: ${{ matrix.python-version != '3.8' }}\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge;\n        conda-merge requirements/env_common.yml requirements/env_test.yml requirements/tensorflow/env_tensorflow.cpu.yml > env.yml\n    - name: Install all dependencies\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniconda-version: \"latest\"\n        auto-update-conda: true\n        activate-environment: deepchem\n        channels: conda-forge,defaults\n        python-version: ${{ matrix.python-version }}\n        environment-file: env.yml\n    - name: Install DeepChem\n      id: install\n      shell: bash -l {0}\n      run: pip install -e .\n    - name: PyTest\n      if: ${{ (success() || failure()) && (steps.install.outcome == 'failure' || steps.install.outcome == 'success') }}\n      shell: bash -l {0}\n      run: pytest -v -m 'tensorflow' deepchem\n", "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:08:55.715999", "created_at": "2022-09-02T20:04:23+02:00", "updated_at": "2022-09-03T15:32:50+02:00", "name": "Unit Tests", "path": ".github/workflows/test.yml", "contents": "name: Unit Tests\non:\n  push: # ci work when pushing master branch\n    branches:\n      - master\n  pull_request: # ci work when creating a PR to master branch\n    branches:\n      - master\njobs:\n  core-build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.10', '3.11']\n        include:\n          - os: windows-latest\n            python-version: '3.9'\n    steps:\n    - name: Maximize build space\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n    - uses: actions/checkout@v4\n    - name: Cache pip modules for Linux\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**.yml') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Build DeepChem\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .\n    - name: Import checking\n      run: python -c \"import deepchem\"\n\n  unit-tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.10', '3.11']\n        include:\n          - os: windows-latest\n            python-version: '3.9'\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON_VERSION: ${{ matrix.python-version }}\n    steps:\n    - name: Maximize build space\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf /usr/local/lib/android\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    # https://github.com/galaxyproject/tools-iuc/blob/master/.github/workflows/pr.yaml\n    # The range of commits to check for changes is:\n    # - for events on the master branch we compare against the sha before the event\n    #   (note that this does not work for feature branch events since we want all\n    #   commits on the feature branch and not just the commits of the last event)\n    # - for pull requests we compare against the 1st ancestor, given the current\n    #   HEAD is the merge between the PR branch and the base branch\n    - name: Set commit range (push to the master branch, e.g. merge)\n      if: github.ref == 'refs/heads/master' && github.event_name == 'push'\n      run: echo \"COMMIT_RANGE=${{ github.event.before }}..\" >> $GITHUB_ENV\n    - name: Set commit range (pull request)\n      if: github.event_name == 'pull_request'\n      run: |\n        git fetch origin master\n        echo \"COMMIT_RANGE=origin/master...\" >> $GITHUB_ENV\n    - name: Cache pip packages for Linux\n      if: runner.os == 'Linux'\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**.yml') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Cache pip packages for MacOS\n      if: runner.os == 'macOS'\n      uses: actions/cache@v4\n      with:\n        path: ~/Library/Caches/pip\n        key: ${{ matrix.os }}-pip-${{ hashFiles('requirements/**.yml') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Cache pip packages for Windows\n      if: runner.os == 'Windows'\n      uses: actions/cache@v4\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ matrix.os }}-pip-${{ hashFiles('requirements/**.yml') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Create env.yml for python 3.11\n      shell: bash\n      if: ${{ matrix.python-version == '3.11' }}\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge;\n        cd requirements\n        if [ \"$(uname)\" == 'Linux' ]; then\n          conda-merge env_common.yml env_test.yml env_ubuntu_3_11.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml jax/env_jax.cpu.yml >  env.yml\n        elif [  \"$(uname)\" == 'Darwin' ]; then\n          conda-merge env_common.yml env_test.yml env_mac_3_11.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.mac.cpu.yml jax/env_jax.cpu.yml > env.yml\n        elif [[  \"$(uname)\" == \"MINGW64_NT\"* ]]; then\n          conda-merge env_common.yml env_test.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml > env.yml\n        fi;\n        cd ..\n        cp requirements/env.yml env.yml\n    - name: Create env.yml for python 3.8\n      shell: bash\n      # A special case of environment creation for python 3.8 which excludes jax\n      if: ${{ matrix.python-version == '3.8' }}\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge;\n        cd requirements\n        if [ \"$(uname)\" == 'Linux' ]; then\n          conda-merge env_common_3_8.yml env_test.yml env_ubuntu.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml env_dqc.yml >  env.yml\n        elif [  \"$(uname)\" == 'Darwin' ]; then\n          conda-merge env_common_3_8.yml env_test.yml env_mac.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.mac.cpu.yml > env.yml\n        elif [[  \"$(uname)\" == \"MINGW64_NT\"* ]]; then\n          conda-merge env_common_3_8.yml env_test.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml > env.yml\n        fi;\n        cd ..\n        cp requirements/env.yml env.yml\n    - name: Create env.yml for python >= 3.9\n      shell: bash\n      if: ${{ matrix.python-version != '3.8' && matrix.python-version != '3.11' }}\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge;\n        cd requirements\n        if [ \"$(uname)\" == 'Linux' ]; then\n          conda-merge env_common.yml env_test.yml env_ubuntu.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml jax/env_jax.cpu.yml > env.yml\n        elif [  \"$(uname)\" == 'Darwin' ]; then\n          conda-merge env_common.yml env_test.yml env_mac.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.mac.cpu.yml jax/env_jax.cpu.yml > env.yml\n        elif [[  \"$(uname)\" == \"MINGW64_NT\"* ]]; then\n          conda-merge env_common.yml env_test.yml tensorflow/env_tensorflow.cpu.yml torch/env_torch.cpu.yml > env.yml\n        fi;\n        cd ..\n        cp requirements/env.yml env.yml\n    - name: Install all dependencies\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniconda-version: \"latest\"\n        auto-update-conda: true\n        activate-environment: deepchem\n        channels: conda-forge,defaults\n        python-version: ${{ matrix.python-version }}\n        environment-file: env.yml\n    - name: Install DeepChem\n      id: install\n      shell: bash -l {0}\n      run: pip install -e .\n    - name: Doctest Linux\n      if: ${{ (runner.os == 'Linux') && always() }}\n      shell: bash -l {0}\n      run: DGLBACKEND=pytorch pytest -v --ignore-glob='deepchem/**/test*.py' --ignore-glob='deepchem/models/jax_models/*' --doctest-modules deepchem --doctest-continue-on-failure\n    - name: Doctest Windows\n      if: ${{ (runner.os == 'Windows') && always() }}\n      # Seperate test avoiding Jax in windows since Jax is not supported in Windows\n      shell: bash -l {0}\n      run: DGLBACKEND=pytorch pytest -v --ignore-glob='deepchem/**/test*.py' --ignore-glob='deepchem/models/jax_models/*' --doctest-modules deepchem --doctest-continue-on-failure\n    - name: PyTest\n      if: ${{ (success() || failure()) && (steps.install.outcome == 'failure' || steps.install.outcome == 'success') && matrix.python-version == '3.11'}}\n      shell: bash -l {0}\n      run: pytest -v -m \"not jax and not torch and not tensorflow and not dqc\" --ignore='deepchem/utils/test/test_sequence_utils.py' deepchem\n    - name: PyTest\n      if: ${{ (success() || failure()) && (steps.install.outcome == 'failure' || steps.install.outcome == 'success') && matrix.python-version != '3.11'}}\n      shell: bash -l {0}\n      run: pytest -v -m \"not jax and not torch and not tensorflow and not dqc\" deepchem\n", "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:08:56.845344", "created_at": "2021-06-23T09:37:05+02:00", "updated_at": "2023-04-01T19:14:14+02:00", "name": "Test for DeepChem Torch", "path": ".github/workflows/torch_setup.yml", "contents": "name: Test for DeepChem Torch\non:\n  push: # ci work when pushing master branch\n    branches:\n      - master\n  pull_request: # ci work when creating a PR to master branch\n    branches:\n      - master\njobs:\n  torch-build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.10', '3.11']\n        include:\n          - os: windows-latest\n            python-version: 3.9\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cache pip modules for Linux\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/torch/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Build DeepChem\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e '.[torch]'\n    - name: Import checking\n      run: python -c \"import deepchem; import torch;\"\n\n  torch-tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.10', '3.11']\n        include:\n          - os: windows-latest\n            python-version: '3.9'\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON_VERSION: ${{ matrix.python-version }}\n    steps:\n    - name: Maximize build space\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        sudo rm -rf /usr/share/dotnet\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf /usr/local/lib/android\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    # https://github.com/galaxyproject/tools-iuc/blob/master/.github/workflows/pr.yaml\n    # The range of commits to check for changes is:\n    # - for events on the master branch we compare against the sha before the event\n    #   (note that this does not work for feature branch events since we want all\n    #   commits on the feature branch and not just the commits of the last event)\n    # - for pull requests we compare against the 1st ancestor, given the current\n    #   HEAD is the merge between the PR branch and the base branch\n    - name: Set commit range (push to the master branch, e.g. merge)\n      if: github.ref == 'refs/heads/master' && github.event_name == 'push'\n      run: echo \"COMMIT_RANGE=${{ github.event.before }}..\" >> $GITHUB_ENV\n    - name: Set commit range (pull request)\n      if: github.event_name == 'pull_request'\n      run: |\n        git fetch origin master\n        echo \"COMMIT_RANGE=origin/master...\" >> $GITHUB_ENV\n    - name: Cache pip packages for Linux\n      if: runner.os == 'Linux'\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/torch/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Cache pip packages for MacOS\n      if: runner.os == 'macOS'\n      uses: actions/cache@v4\n      with:\n        path: ~/Library/Caches/pip\n        key: ${{ matrix.os }}-pip-${{ hashFiles('requirements/torch/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Cache pip packages for Windows\n      if: runner.os == 'Windows'\n      uses: actions/cache@v4\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ matrix.os }}-pip-${{ hashFiles('requirements/torch/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Create env.yml for python 3.9+\n      shell: bash\n      if: ${{ matrix.python-version != '3.8' }}\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge;\n        conda-merge requirements/env_common.yml requirements/torch/env_torch.cpu.yml requirements/env_test.yml > env.yml\n    - name: Create env.yml for python 3.8\n      shell: bash\n      # A special case of environment creation for python 3.8 which includes an older version of matminer \n      if: ${{ matrix.python-version == '3.8' }}\n      run: |\n        python -m pip install --upgrade pip;\n        pip install conda-merge;\n        conda-merge requirements/env_common_3_8.yml requirements/torch/env_torch.cpu.yml requirements/env_test.yml > env.yml\n    - name: Install all dependencies\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniconda-version: \"latest\"\n        auto-update-conda: true\n        activate-environment: deepchem\n        channels: conda-forge,defaults\n        python-version: ${{ matrix.python-version }}\n        environment-file: env.yml\n    - name: Install DeepChem\n      id: install\n      shell: bash -l {0}\n      run: pip install -e .\n    - name: PyTest\n      if: ${{ (success() || failure()) && (steps.install.outcome == 'failure' || steps.install.outcome == 'success') }}\n      shell: bash -l {0}\n      run: pytest -v -m 'torch' deepchem\n", "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:08:57.938546", "created_at": "2024-06-03T19:01:59+02:00", "updated_at": "2024-06-03T19:01:59+02:00", "name": "Dispatch trigger for deepchem website re-build", "path": ".github/workflows/website_build_dispatch.yml", "contents": "name: Dispatch trigger for deepchem website re-build\non:\n  push: # ci work when pushing to master branch\n    branches:\n      - master\njobs:\n  website-rebuild-trigger-dispatch:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.WEBSITE_REPO_PAT }}\n          repository: deepchem/deepchem.github.io\n          event-type: rebuild-website\n           ", "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:08:58.919574", "created_at": "2024-01-02T17:36:33+01:00", "updated_at": "2024-01-02T17:36:33+01:00", "name": "Test XiTorch", "path": ".github/workflows/xitorch_install.yml", "contents": null, "state": "active", "repository": "deepchem/deepchem"}
{"mined_at": "2024-07-15T15:09:01.040244", "created_at": "2024-02-29T14:36:38+01:00", "updated_at": "2024-03-01T10:07:21+01:00", "name": "Test docs", "path": ".github/workflows/test-docs.yml", "contents": "name: Test docs\n\n# The tests defined in docs/ are currently influenced by changes to _version.py\n# and scopes.py.\non:\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - \"zmq/**\"\n      - \".github/workflows/test-docs.yml\"\n  push:\n    paths:\n      - \"docs/**\"\n      - \"zmq/**\"\n      - \".github/workflows/test-docs.yml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n    tags:\n      - \"**\"\n  workflow_dispatch:\n\nenv:\n  LANG: C.UTF-8\n  SPHINXOPTS: \"-W\"\n\njobs:\n  test-docs:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n\n      - name: Install libzmq\n        run: |\n          sudo apt-get -y install libzmq3-dev\n\n      - name: Install pyzmq\n        run: |\n          pip install -v .\n\n      - name: Install requirements\n        run: |\n          pip install -r docs/requirements.txt\n\n      # readthedocs doesn't halt on warnings,\n      # so raise any warnings here\n      - name: build docs\n        run: |\n          cd docs\n          make html\n\n      - name: check links\n        run: |\n          cd docs\n          make linkcheck\n", "state": "active", "repository": "zeromq/pyzmq"}
{"mined_at": "2024-07-15T15:09:02.075289", "created_at": "2020-11-24T09:45:29+01:00", "updated_at": "2024-02-27T13:35:13+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n    paths-ignore:\n      - \"docs/**\"\n      - \"tools/**\"\n      - \".circleci/**\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/test.yml\"\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"tools/**\"\n      - \".circleci/**\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/test.yml\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: \"1\"\n  # only affects Windows, but easiest to set here for now\n  SETUPTOOLS_ENABLE_FEATURES: \"legacy-editable\"\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 20\n    continue-on-error: ${{ matrix.zmq == 'head' }}\n\n    env:\n      MACOSX_DEPLOYMENT_TARGET: \"11.7\"\n\n    strategy:\n      fail-fast: true\n      matrix:\n        include:\n          - os: macos-13\n            python: 3.7\n\n          - os: macos-14\n            python: 3.12\n            zmq: bundled\n\n          - os: macos-13\n            python: pypy-3.9\n            zmq: bundled\n\n          - os: ubuntu-20.04\n            python: 3.7\n            zmq: bundled\n            tornado: none\n\n          - os: ubuntu-22.04\n            python: pypy-3.9\n            zmq: bundled\n\n          - os: ubuntu-22.04\n            python: pypy-3.7\n\n          - os: ubuntu-22.04\n            python: 3.9\n            tornado: head\n\n          - os: ubuntu-22.04\n            python: \"3.10\"\n\n          - os: ubuntu-22.04\n            python: \"3.11\"\n\n          - os: ubuntu-22.04\n            python: \"3.8\"\n            zmq: head\n\n          - os: ubuntu-22.04\n            python: \"3.12\"\n\n          - os: windows-2022\n            python: \"3.7\"\n            arch: x86\n\n          - os: windows-2022\n            python: \"3.9\"\n            arch: x64\n\n          - os: windows-2022\n            python: \"3.11\"\n            arch: x64\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: ${{ matrix.arch || 'x64' }}\n          # allows us to use '3.12' and get '-dev' while we wait\n          allow-prereleases: true\n          cache: pip\n\n      - name: setup coverage\n        if: startsWith(matrix.python, 'pypy') || startsWith(matrix.python, '3.12')\n        run: |\n          grep -v plugins .coveragerc > .coveragerc-save\n          mv .coveragerc-save .coveragerc\n\n      # - name: enable Cython coverage\n      #   if: \"! (startsWith(matrix.python, 'pypy') || startsWith(matrix.python, '3.12'))\"\n      #   run: |\n      #     echo \"PYZMQ_CYTHON_COVERAGE=1\" >> \"$GITHUB_ENV\"\n\n      - name: install dependencies\n        run: |\n          pip install --upgrade pip wheel\n          pip install -r test-requirements.txt\n\n      - name: remove tornado\n        if: matrix.tornado == 'none'\n        run: |\n          pip uninstall -y tornado\n\n      - name: install tornado-head\n        if: matrix.tornado == 'head'\n        run: |\n          pip install https://github.com/tornadoweb/tornado/archive/HEAD.zip\n\n      - name: install pinned tornado\n        if: matrix.tornado && matrix.tornado != 'none' && matrix.tornado != 'head'\n        run: |\n          pip install tornado==\"${{ matrix.tornado }}\"\n\n      - name: show environment\n        run: |\n          pip freeze\n\n      - name: install mac dependencies\n        if: startsWith(matrix.os, 'mac') && matrix.zmq != 'bundled'\n        run: |\n          brew install libsodium zeromq\n\n      - name: install linux dependencies\n        if: startsWith(matrix.os, 'ubuntu')\n        run: |\n          sudo apt-get update\n          sudo apt-get -y remove libzmq5 || true # workaround https://github.com/actions/virtual-environments/issues/3317\n          sudo apt-get -y install libzmq3-dev libsodium-dev\n\n      - name: set $ZMQ_PREFIX\n        if: matrix.zmq\n        run: |\n          echo \"ZMQ_PREFIX=${{ matrix.zmq }}\" >> \"$GITHUB_ENV\"\n\n      - name: install libzmq-dev\n        if: matrix.zmq == 'head'\n        run: |\n          wget https://github.com/zeromq/libzmq/archive/HEAD.zip -O libzmq.zip\n          unzip libzmq.zip\n          pushd libzmq-*\n          ./autogen.sh\n          ./configure --enable-drafts\n          make -j4\n          sudo make install\n          sudo ldconfig\n          popd\n          echo \"ZMQ_PREFIX=/usr/local\" >> \"$GITHUB_ENV\"\n          echo ZMQ_DRAFT_API=1 >> \"$GITHUB_ENV\"\n\n      - name: build pyzmq\n        run: |\n          pip install -v -e .\n\n      - name: import zmq\n        run: |\n          python -c \"import zmq\"\n\n      - name: run tests\n        run: |\n          pytest --maxfail 2 --cov zmq -m \"not wheel and not new_console\" -v\n\n      - name: upload coverage\n        run: codecov\n\n      # FIXME: what's the right incantation to call this?\n      # the same line from appveyor doesn't work here\n      # - name: run extra windows tests\n      #   if: startsWith(matrix.os, 'win')\n      #   run: |\n      #     cmd /c start /wait test pytest -vsx -m new_console --pyargs zmq.tests --junit-xml=./results.xml\n      #     python tools/check_junit_result.py ./results.xml\n", "state": "active", "repository": "zeromq/pyzmq"}
{"mined_at": "2024-07-15T15:09:03.177706", "created_at": "2020-11-24T08:57:59+01:00", "updated_at": "2020-11-25T09:40:19+01:00", "name": "Release", "path": ".github/workflows/wheels.yml", "contents": "name: Release\n\non:\n  push:\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n    tags:\n      - \"**\"\n  pull_request:\n    paths:\n      - pyproject.toml\n      - CMakeLists.txt\n      - cmake/**\n      - buildutils/**\n      - .github/workflows/wheels.yml\n      - tools/install_libzmq.sh\n      - zmq/utils/*.h\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  PYTHONUNBUFFERED: \"1\"\n  TWINE_NONINTERACTIVE: \"1\"\n#  CIBW_PRERELEASE_PYTHONS: \"1\"\n\njobs:\n  sdist:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n\n      - name: install dependencies\n        run: |\n          pip install --upgrade pip build pytest\n          pip install -r tools/wheel-requirements.txt\n\n      - name: build sdist\n        run: |\n          python -m build --sdist .\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: sdist\n          path: \"dist/*.tar.gz\"\n          if-no-files-found: error\n\n      - name: verify sdist files\n        run:\n          pytest -v tools/test_sdist.py\n\n  wheel:\n    runs-on: ${{ matrix.os || 'ubuntu-22.04' }}\n    name: wheel-${{ matrix.name }}\n\n    env:\n      MACOSX_DEPLOYMENT_TARGET: \"10.9\"\n      CIBW_BUILD: \"${{ matrix.cibw.build || '*' }}\"\n      CIBW_SKIP: \"${{ matrix.cibw.skip || '' }}\"\n      CIBW_ARCHS: \"${{ matrix.cibw.arch || 'auto' }}\"\n      CIBW_MANYLINUX_X86_64_IMAGE: \"${{ matrix.cibw.manylinux_x86_64_image || '' }}\"\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: macos-12\n            name: mac-cpython\n            cibw:\n              build: \"cp*\"\n\n          - os: macos-12\n            name: mac-pypy\n            cibw:\n              build: \"pp*\"\n\n          - os: macos-14\n            name: mac-arm\n            cibw:\n              arch: universal2\n              build: \"cp*\"\n\n          - name: manylinux-x86_64\n            cibw:\n              arch: x86_64\n              build: \"*manylinux*\"\n\n          - name: manylinux-i686\n            cibw:\n              arch: i686\n              build: \"*manylinux*\"\n\n          # additional manylinux variants, not specified in pyproject.toml:\n          # build with newer 2_28 for cpython >= 3.10, pypy 3.9\n          - name: manylinux-x86_64-2_28\n            cibw:\n              arch: x86_64\n              build: \"cp31*-manylinux* pp39-manylinux*\"\n              manylinux_x86_64_image: manylinux_2_28\n\n          - name: musllinux\n            cibw:\n              build: \"*musllinux*\"\n\n          - name: win32\n            os: windows-2019\n            architecture: x86\n            cibw:\n              build: \"cp*win32\"\n\n          - os: windows-2019\n            name: win-pypy\n            architecture: x64\n            cibw:\n              build: \"pp*win_amd64\"\n\n          - os: windows-2019\n            name: win_amd64\n            architecture: x64\n            cibw:\n              build: \"cp*win_amd64\"\n\n          - os: windows-2022\n            name: win_arm64\n            architecture: x64\n            cibw:\n              arch: ARM64\n              skip: \"cp37*\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          architecture: ${{ matrix.architecture }}\n\n      - name: locate windows-arm vcredist\n        if: matrix.name == 'win_arm64'\n        run: |\n          python tools/find_vcredist.py\n\n      - name: customize mac-arm-64\n        if: contains(matrix.os, 'macos') && matrix.cibw.arch\n        run: |\n          echo 'MACOSX_DEPLOYMENT_TARGET=10.15' >> \"$GITHUB_ENV\"\n\n      - name: install dependencies\n        run: |\n          pip install --upgrade setuptools pip wheel\n          pip install -r tools/wheel-requirements.txt\n\n      - name: show environment\n        run: |\n          pip freeze\n\n      - name: list target wheels\n        run: |\n          python -m cibuildwheel . --print-build-identifiers\n\n      - name: build wheels\n        run: |\n          python -m cibuildwheel .\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels-${{ matrix.name }}\n          path: \"wheelhouse/*\"\n          if-no-files-found: error\n\n  circle-wheels:\n    if: github.repository_owner == 'zeromq'\n    runs-on: ubuntu-22.04\n    needs:\n      # not strictly required, but avoids wasting cpu time waiting\n      - wheel\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n\n      - name: install dependencies\n        run: |\n          pip install --upgrade setuptools pip wheel\n          pip install requests\n\n      - name: fetch wheels from circleci\n        run: python3 tools/circle_wheels.py\n        env:\n          CIRCLECI_TOKEN: ${{ secrets.CIRCLECI_TOKEN }}\n          PR_HEAD_SHA: ${{ github.event.pull_request && github.event.pull_request.head.sha }}\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels-linux-arm\n          path: \"wheelhouse/*\"\n          if-no-files-found: error\n\n  github-release:\n    permissions:\n      contents: write\n    environment: release\n    runs-on: ubuntu-22.04\n    if: startsWith(github.ref, 'refs/tags/')\n    steps:\n      - id: version\n        # strip leading `v` from tag, since it's not part of the version\n        # see https://github.com/orgs/community/discussions/26625 for substring feature request\n        run: |\n          echo \"${{ github.ref_name }}\" | sed s@^v@v=@ >> \"${GITHUB_OUTPUT}\"\n\n      - uses: ncipollo/release-action@v1\n        with:\n          # mark as prerelease if it looks like one\n          prerelease: ${{ contains(github.ref_name, 'a') || contains(github.ref_name, 'b') || contains(github.ref_name, 'rc') }}\n          # link to release notes, PyPI\n          body: |\n            See [release notes][], or [pyzmq on PyPI][].\n\n            Install with:\n\n            ```\n            pip install 'pyzmq==${{ steps.version.outputs.v }}'\n            ```\n\n            [release notes]: https://pyzmq.readthedocs.io/en/latest/changelog.html\n            [pyzmq on PyPI]: https://pypi.org/project/pyzmq/${{ steps.version.outputs.v }}/\n\n  list-wheels:\n    runs-on: ubuntu-22.04\n    needs:\n      - sdist\n      - wheel\n      - circle-wheels\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          path: dist\n          merge-multiple: true\n      - name: list wheels\n        run: ls -l dist\n\n  upload-pypi:\n    permissions:\n      id-token: write\n    environment: release\n    runs-on: ubuntu-22.04\n    if: startsWith(github.ref, 'refs/tags/')\n    needs:\n      - sdist\n      - wheel\n      - circle-wheels\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          path: dist\n          merge-multiple: true\n      - name: Publish wheels to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "zeromq/pyzmq"}
{"mined_at": "2024-07-15T15:09:05.209703", "created_at": "2020-05-14T09:01:20+02:00", "updated_at": "2023-12-27T03:42:30+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "open-mmlab/mmcv"}
{"mined_at": "2024-07-15T15:09:06.358316", "created_at": "2022-10-01T08:56:28+02:00", "updated_at": "2022-10-31T05:56:30+01:00", "name": "build macos wheel", "path": ".github/workflows/build_macos_wheel.yml", "contents": "name: build macos wheel\n\non: push\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_macos10_wheel:\n    runs-on: macos-latest\n    if: contains(github.event.head_commit.message, 'Bump version to')\n    strategy:\n      matrix:\n        torch: [1.8.0, 1.9.0, 1.10.0, 1.11.0, 1.12.0, 1.13.0, 2.0.0, 2.1.0]\n        python-version: [3.7, 3.8, 3.9, '3.10', '3.11']\n        include:\n          - torch: 1.8.0\n            torchvision: 0.9.0\n          - torch: 1.9.0\n            torchvision: 0.10.0\n          - torch: 1.10.0\n            torchvision: 0.11.0\n          - torch: 1.11.0\n            torchvision: 0.12.0\n          - torch: 1.12.0\n            torchvision: 0.13.0\n          - torch: 1.13.0\n            torchvision: 0.14.0\n          - torch: 2.0.0\n            torchvision: 0.15.1\n          - torch: 2.1.0\n            torchvision: 0.16.0\n        exclude:\n          - torch: 1.8.0\n            python-version: '3.10'\n          - torch: 1.9.0\n            python-version: '3.10'\n          - torch: 1.10.0\n            python-version: '3.10'\n          - torch: 1.8.0\n            python-version: '3.11'\n          - torch: 1.9.0\n            python-version: '3.11'\n          - torch: 1.10.0\n            python-version: '3.11'\n          - torch: 1.10.0\n            python-version: '3.11'\n          - torch: 1.11.0\n            python-version: '3.11'\n          - torch: 1.12.0\n            python-version: '3.11'\n          - torch: 1.13.0\n            python-version: '3.11'\n          - torch: 2.0.0\n            python-version: 3.7\n          - torch: 2.1.0\n            python-version: 3.7\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install psutil\n        run: pip install psutil\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} --no-cache-dir\n      - name: Build and install\n        run: |\n          pip install wheel\n          python setup.py bdist_wheel\n      - uses: actions/upload-artifact@v3\n        with:\n          name: ${{matrix.torch}}\n          path: dist/\n", "state": "active", "repository": "open-mmlab/mmcv"}
{"mined_at": "2024-07-15T15:09:07.506413", "created_at": "2020-12-08T12:19:38+01:00", "updated_at": "2023-04-13T17:08:25+02:00", "name": "build_pat", "path": ".github/workflows/build_pat.yml", "contents": null, "state": "active", "repository": "open-mmlab/mmcv"}
{"mined_at": "2024-07-15T15:09:08.514889", "created_at": "2021-11-27T16:39:04+01:00", "updated_at": "2021-11-29T15:06:08+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n      - name: Install pre-commit hook\n        run: |\n          pip install pre-commit\n          pre-commit install\n      - name: Linting\n        run: pre-commit run --all-files\n      - name: Format c/cuda codes with clang-format\n        uses: DoozyX/clang-format-lint-action@v0.11\n        with:\n          source: mmcv/ops/csrc\n          extensions: h,c,cpp,hpp,cu,cuh\n          style: google\n", "state": "active", "repository": "open-mmlab/mmcv"}
{"mined_at": "2024-07-15T15:09:09.629946", "created_at": "2022-09-13T17:24:48+02:00", "updated_at": "2023-04-06T05:30:51+02:00", "name": "merge_stage_test", "path": ".github/workflows/merge_stage_test.yml", "contents": "name: merge_stage_test\n\non:\n  push:\n    paths-ignore:\n      - \".github/**.md\"\n      - \"docker/**\"\n      - \"docs/**\"\n      - 'examples/**'\n      - '.dev_scripts/**'\n      - \"README.md\"\n      - \"README_zh-CN.md\"\n      - \"CONTRIBUTING.md\"\n      - \".pre-commit-config.yaml\"\n      - \".pre-commit-config-zh-cn.yaml\"\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_without_torch:\n    runs-on: ubuntu-22.04\n    env:\n      MMCV_WITH_OPS: 0\n    strategy:\n      matrix:\n        python-version: [3.7]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install system dependencies\n        run: sudo apt-get update && sudo apt-get install -y ffmpeg libturbojpeg\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests\n        run: pytest tests/test_image tests/test_transforms tests/test_video tests/test_arraymisc.py tests/test_visualization.py tests/test_utils/test_env.py --ignore=tests/test_image/test_io.py\n  build_without_ops:\n    runs-on: ubuntu-22.04\n    env:\n      MMCV_WITH_OPS: 0\n    strategy:\n      matrix:\n        python-version: [3.7]\n        torch: [1.8.1, 1.9.1]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n          - torch: 1.9.1\n            torchvision: 0.10.1\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install system dependencies\n        run: sudo apt-get update && sudo apt-get install -y ffmpeg libturbojpeg\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests\n        run: pytest tests --ignore=tests/test_ops\n  build_cpu_py:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10']\n        torch: [1.13.0]\n        include:\n          - torch: 1.13.0\n            torchvision: 0.14.0\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install system dependencies\n        run: sudo apt-get update && sudo apt-get install -y ffmpeg libturbojpeg\n      - name: Upgrade pip and wheel\n        run: pip install pip wheel --upgrade\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests and generate coverage report\n        run: |\n          coverage run --branch --source mmcv -m pytest tests/\n          coverage xml\n          coverage report -m\n  build_cpu_pt:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.7]\n        torch: [1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.12.0, 1.13.0, 2.0.0, 2.1.0]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n          - torch: 1.9.1\n            torchvision: 0.10.1\n          - torch: 1.10.1\n            torchvision: 0.11.2\n          - torch: 1.11.0\n            torchvision: 0.12.0\n          - torch: 1.12.0\n            torchvision: 0.13.0\n          - torch: 1.13.0\n            torchvision: 0.14.0\n          - torch: 2.0.0\n            torchvision: 0.15.1\n            python-version: 3.8\n          - torch: 2.1.0\n            torchvision: 0.16.0\n            python-version: 3.8\n        exclude:\n          - torch: 2.0.0\n            python-version: 3.7\n          - torch: 2.1.0\n            python-version: 3.7\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install system dependencies\n        run: sudo apt-get update && sudo apt-get install -y ffmpeg libturbojpeg\n      - name: Upgrade pip and wheel\n        run: pip install pip wheel --upgrade\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests and generate coverage report\n        run: |\n          coverage run --branch --source mmcv -m pytest tests/\n          coverage xml\n          coverage report -m\n      # Only upload coverage report for python3.7 && pytorch1.8.1 cpu\n      - name: Upload coverage to Codecov\n        if: ${{matrix.torch == '1.8.1' && matrix.python-version == '3.8'}}\n        uses: codecov/codecov-action@v1.0.14\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n  build_cu102:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:1.8.1-cuda10.2-cudnn7-devel\n    env:\n      FORCE_CUDA: 1\n      MMCV_CUDA_ARGS: -gencode=arch=compute_61,code=sm_61\n    strategy:\n      matrix:\n        python-version: [3.7]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip and wheel\n        run: pip install pip wheel --upgrade\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install system dependencies\n        run: apt-get update && apt-get install -y git ffmpeg libturbojpeg\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests and generate coverage report\n        run: |\n          coverage run --branch --source mmcv -m pytest tests/\n          coverage xml\n          coverage report -m\n  build_cu111:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:1.8.1-cuda11.1-cudnn8-devel\n    env:\n      FORCE_CUDA: 1\n      MMCV_CUDA_ARGS: -gencode=arch=compute_61,code=sm_61\n    strategy:\n      matrix:\n        python-version: [3.7]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip and wheel\n        run: pip install pip wheel --upgrade\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install system dependencies\n        run: apt-get update && apt-get install -y git ffmpeg libturbojpeg\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests and generate coverage report\n        run: |\n          coverage run --branch --source mmcv -m pytest tests/\n          coverage xml\n          coverage report -m\n  build_cu116:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:1.13.0-cuda11.6-cudnn8-devel\n    env:\n      FORCE_CUDA: 1\n      MMCV_CUDA_ARGS: -gencode=arch=compute_61,code=sm_61\n    strategy:\n      matrix:\n        python-version: [3.7]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip and wheel\n        run: pip install pip wheel --upgrade\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install system dependencies\n        run: apt-get update && apt-get install -y git ffmpeg libturbojpeg\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests and generate coverage report\n        run: |\n          coverage run --branch --source mmcv -m pytest tests\n          coverage xml\n          coverage report -m\n  build_windows_without_ops:\n    runs-on: windows-2019\n    env:\n      MMCV_WITH_OPS: 0\n    strategy:\n      matrix:\n        python-version: [3.7]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip and wheel\n        run: python -m pip install pip wheel --upgrade\n      - name: Install PyTorch\n        run: pip install torch==1.8.1+cpu torchvision==0.9.1+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests\n        run: pytest tests --ignore=tests/test_ops --ignore tests/test_image/test_io.py\n  build_windows:\n    runs-on: windows-2019\n    strategy:\n      matrix:\n        torch: [1.8.1, 2.1.0]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n            python-version: 3.7\n          - torch: 2.1.0\n            torchvision: 0.16.0\n            python-version: 3.8\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip and wheel\n        run: python -m pip install pip wheel --upgrade\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests\n        run: pytest tests/ --ignore tests/test_image/test_io.py\n  build_macos:\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        torch: [1.8.1, 2.1.0]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n            python-version: 3.7\n          - torch: 2.1.0\n            torchvision: 0.16.0\n            python-version: 3.8\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install system dependencies\n        run: brew install ffmpeg jpeg-turbo\n      - name: Upgrade pip and wheel\n        run: pip install pip wheel --upgrade\n      - name: Install PyTorch\n        run: pip install torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }}\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests\n        run: pytest tests/\n", "state": "active", "repository": "open-mmlab/mmcv"}
{"mined_at": "2024-07-15T15:09:10.768898", "created_at": "2022-09-13T17:26:32+02:00", "updated_at": "2023-04-06T05:30:51+02:00", "name": "pr_stage_test", "path": ".github/workflows/pr_stage_test.yml", "contents": "name: pr_stage_test\n\non:\n  pull_request:\n    paths-ignore:\n      - \".github/**.md\"\n      - \"docker/**\"\n      - \"docs/**\"\n      - 'examples/**'\n      - '.dev_scripts/**'\n      - \"README.md\"\n      - \"README_zh-CN.md\"\n      - \"CONTRIBUTING.md\"\n      - \".pre-commit-config.yaml\"\n      - \".pre-commit-config-zh-cn.yaml\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_cu102:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:1.8.1-cuda10.2-cudnn7-devel\n    env:\n      FORCE_CUDA: 1\n      MMCV_CUDA_ARGS: -gencode=arch=compute_61,code=sm_61\n    strategy:\n      matrix:\n        python-version: [3.7]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip and wheel\n        run: pip install pip wheel --upgrade\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install system dependencies\n        run: apt-get update && apt-get install -y git ffmpeg libturbojpeg\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests and generate coverage report\n        run: |\n          coverage run --branch --source mmcv -m pytest tests/\n          coverage xml\n          coverage report -m\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1.0.14\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n  build_cu111:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:1.8.1-cuda11.1-cudnn8-devel\n    env:\n      FORCE_CUDA: 1\n      MMCV_CUDA_ARGS: -gencode=arch=compute_61,code=sm_61\n    strategy:\n      matrix:\n        python-version: [3.7]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip and wheel\n        run: pip install pip wheel --upgrade\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install system dependencies\n        run: apt-get update && apt-get install -y git ffmpeg libturbojpeg\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests and generate coverage report\n        run: |\n          coverage run --branch --source mmcv -m pytest tests/\n          coverage xml\n          coverage report -m\n  build_windows_without_ops:\n    runs-on: windows-2019\n    env:\n      MMCV_WITH_OPS: 0\n    strategy:\n      matrix:\n        python-version: [3.7]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip and wheel\n        run: python -m pip install pip wheel --upgrade\n      - name: Install PyTorch\n        run: pip install torch==1.8.1+cpu torchvision==0.9.1+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests\n        run: pytest tests --ignore=tests/test_ops --ignore tests/test_image/test_io.py\n  build_windows:\n    runs-on: windows-2019\n    strategy:\n      matrix:\n        torch: [1.8.1, 2.1.0]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n            python-version: 3.7\n          - torch: 2.1.0\n            torchvision: 0.16.0\n            python-version: 3.8\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip and wheel\n        run: python -m pip install pip wheel --upgrade\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests\n        run: pytest tests/ --ignore tests/test_image/test_io.py\n  build_macos:\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        torch: [1.8.1, 2.1.0]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n            python-version: 3.7\n          - torch: 2.1.0\n            torchvision: 0.16.0\n            python-version: 3.8\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install system dependencies\n        run: brew install ffmpeg jpeg-turbo\n      - name: Upgrade pip and wheel\n        run: pip install pip wheel --upgrade\n      - name: Install PyTorch\n        run: pip install torch==${{ matrix.torch }} torchvision==${{ matrix.torchvision }}\n      - name: Install MMEngine from main branch\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install ninja to speed the compilation\n        run: pip install ninja psutil\n      - name: Build MMCV from source\n        run: pip install -e . -v\n      - name: Install unit tests dependencies\n        run: pip install -r requirements/test.txt\n      - name: Run unit tests\n        run: pytest tests/\n", "state": "active", "repository": "open-mmlab/mmcv"}
{"mined_at": "2024-07-15T15:09:11.884606", "created_at": "2020-05-14T08:50:20+02:00", "updated_at": "2020-05-14T09:01:20+02:00", "name": "deploy", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: deploy\n\non: push\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-n-publish_without_ops:\n    runs-on: ubuntu-22.04\n    if: startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Upgrade Setuptools\n        run: pip install setuptools wheel --upgrade\n      - name: Build MMCV\n        run: |\n          sed -i \"s/os.getenv('MMCV_WITH_OPS', '1')/os.getenv('MMCV_WITH_OPS', '0')/g\" setup.py\n          python setup.py sdist bdist_wheel\n      - name: Publish distribution to PyPI\n        run: |\n          pip install twine\n          twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}\n\n  build-n-publish_with_ops:\n    runs-on: ubuntu-22.04\n    if: startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Upgrade Setuptools\n        run: pip install setuptools --upgrade\n      - name: Build MMCV with ops\n        run: python setup.py sdist\n      - name: Publish distribution to PyPI\n        run: |\n          pip install twine\n          twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}\n", "state": "active", "repository": "open-mmlab/mmcv"}
{"mined_at": "2024-07-15T15:09:13.942269", "created_at": "2022-10-05T21:14:38+02:00", "updated_at": "2024-01-27T18:45:37+01:00", "name": "Deploy docs to GitHub Pages", "path": ".github/workflows/pages.yml", "contents": "# Build and deploy a Jekyll site to GitHub Pages\nname: Deploy docs to GitHub Pages\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches: [\"master\"]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  # Build job\n  build:\n    if: github.repository == 'seleniumbase/SeleniumBase'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Setup Pages\n        uses: actions/configure-pages@v4\n      - name: Build with Jekyll\n        uses: actions/jekyll-build-pages@v1\n        with:\n          source: ./\n          destination: ./_site\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v3\n\n  # Deployment job\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    if: github.repository == 'seleniumbase/SeleniumBase'\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "seleniumbase/seleniumbase"}
{"mined_at": "2024-07-15T15:09:14.932467", "created_at": "2023-02-24T02:07:03+01:00", "updated_at": "2023-02-24T02:07:03+01:00", "name": "Nightly Tests (macOS)", "path": ".github/workflows/python-nightly-mac.yml", "contents": "name: Nightly Tests (macOS)\n\non:\n  schedule:\n    - cron: \"40 1 * * *\"\n  workflow_dispatch:\n    branches:\n\njobs:\n  build:\n\n    env:\n      PY_COLORS: \"1\"\n    runs-on: macos-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 5\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade wheel\n        pip install -r requirements.txt\n    - name: Install SeleniumBase\n      run: |\n        python setup.py install\n    - name: Check the console scripts interface\n      run: |\n        seleniumbase\n        sbase\n    - name: Install chromedriver\n      run: |\n        seleniumbase install chromedriver\n    - name: Make sure pytest is working\n      run: |\n        echo \"def test_1(): pass\" > nothing.py\n        pytest nothing.py\n    - name: Make sure nosetests is working\n      run: |\n        echo \"def test_2(): pass\" > nothing2.py\n        nosetests nothing2.py\n    - name: Run pytest examples/unit_tests/verify_framework.py --browser=chrome --headless\n      run: |\n        pytest examples/unit_tests/verify_framework.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/offline_examples --browser=chrome --headless --rs\n      run: |\n        pytest examples/offline_examples --rs --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/boilerplate_test.py --browser=chrome --headless\n      run: |\n        pytest examples/boilerplates/boilerplate_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/test_window_switching.py --browser=chrome --headless\n      run: |\n        pytest examples/test_window_switching.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Verify seleniumbase install from PyPI\n      run: |\n        pip install seleniumbase -U --no-deps --force-reinstall --no-cache-dir\n", "state": "active", "repository": "seleniumbase/seleniumbase"}
{"mined_at": "2024-07-15T15:09:15.992722", "created_at": "2023-02-24T02:07:03+01:00", "updated_at": "2023-02-24T02:07:03+01:00", "name": "Nightly Tests (Ubuntu)", "path": ".github/workflows/python-nightly-ubuntu.yml", "contents": "name: Nightly Tests (Ubuntu)\n\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n  workflow_dispatch:\n    branches:\n\njobs:\n  build:\n\n    env:\n      PY_COLORS: \"1\"\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 6\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade wheel\n        pip install -r requirements.txt\n    - name: Install SeleniumBase\n      run: |\n        python setup.py install\n    - name: Check the console scripts interface\n      run: |\n        seleniumbase\n        sbase\n    - name: Install chromedriver\n      run: |\n        seleniumbase install chromedriver\n    - name: Make sure pytest is working\n      run: |\n        echo \"def test_1(): pass\" > nothing.py\n        pytest nothing.py\n    - name: Make sure nosetests is working\n      run: |\n        echo \"def test_2(): pass\" > nothing2.py\n        nosetests nothing2.py\n    - name: Run pytest examples/unit_tests/verify_framework.py --browser=chrome --headless\n      run: |\n        pytest examples/unit_tests/verify_framework.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/offline_examples --browser=chrome --headless --rs\n      run: |\n        pytest examples/offline_examples --rs --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/boilerplate_test.py --browser=chrome --headless\n      run: |\n        pytest examples/boilerplates/boilerplate_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/test_window_switching.py --browser=chrome --headless\n      run: |\n        pytest examples/test_window_switching.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Verify seleniumbase install from PyPI\n      run: |\n        pip install seleniumbase -U --no-deps --force-reinstall --no-cache-dir\n", "state": "active", "repository": "seleniumbase/seleniumbase"}
{"mined_at": "2024-07-15T15:09:17.117485", "created_at": "2023-02-24T02:07:03+01:00", "updated_at": "2023-02-24T02:07:03+01:00", "name": "Nightly Tests (Windows)", "path": ".github/workflows/python-nightly-windows.yml", "contents": "name: Nightly Tests (Windows)\n\non:\n  schedule:\n    - cron: \"50 1 * * *\"\n  workflow_dispatch:\n    branches:\n\njobs:\n  build:\n\n    env:\n      PY_COLORS: \"1\"\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 6\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade wheel\n        pip install -r requirements.txt\n    - name: Install SeleniumBase\n      run: |\n        python setup.py install\n    - name: Check the console scripts interface\n      run: |\n        seleniumbase\n        sbase\n    - name: Install chromedriver\n      run: |\n        seleniumbase install chromedriver\n    - name: Make sure pytest is working\n      run: |\n        echo \"def test_1(): pass\" > nothing.py\n        pytest nothing.py\n    - name: Make sure nosetests is working\n      run: |\n        echo \"def test_2(): pass\" > nothing2.py\n        nosetests nothing2.py\n    - name: Run pytest examples/unit_tests/verify_framework.py --browser=chrome --headless\n      run: |\n        pytest examples/unit_tests/verify_framework.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/offline_examples --browser=chrome --headless --rs\n      run: |\n        pytest examples/offline_examples --rs --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/boilerplate_test.py --browser=chrome --headless\n      run: |\n        pytest examples/boilerplates/boilerplate_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/test_window_switching.py --browser=chrome --headless\n      run: |\n        pytest examples/test_window_switching.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Verify seleniumbase install from PyPI\n      run: |\n        pip install seleniumbase -U --no-deps --force-reinstall --no-cache-dir\n", "state": "active", "repository": "seleniumbase/seleniumbase"}
{"mined_at": "2024-07-15T15:09:18.244405", "created_at": "2019-12-23T07:04:21+01:00", "updated_at": "2020-04-24T06:58:38+02:00", "name": "CI build", "path": ".github/workflows/python-package.yml", "contents": "name: CI build\n\non:\n  pull_request:\n    branches:\n  push:\n    branches:\n      - master\n  workflow_dispatch:\n    branches:\n\njobs:\n  build:\n\n    env:\n      PY_COLORS: \"1\"\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      max-parallel: 6\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel setuptools\n        pip install -r requirements.txt\n    - name: Install SeleniumBase\n      run: |\n        python setup.py install\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # Stop the build if there are flake8 issues\n        flake8 . --count --show-source --statistics --exclude=temp\n    - name: Install Chrome\n      run: |\n        sudo apt install google-chrome-stable\n    - name: Check the console scripts interface\n      run: |\n        seleniumbase\n        sbase\n    - name: Install chromedriver\n      run: |\n        seleniumbase install chromedriver\n    - name: Make sure pytest is working\n      run: |\n        echo \"def test_1(): pass\" > nothing.py\n        pytest nothing.py\n    - name: Make sure nosetests is working\n      run: |\n        echo \"def test_2(): pass\" > nothing2.py\n        nosetests nothing2.py\n    - name: Run pytest examples/unit_tests/verify_framework.py --browser=chrome --headless\n      run: |\n        pytest examples/unit_tests/verify_framework.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/boilerplate_test.py --browser=chrome --headless\n      run: |\n        pytest examples/boilerplates/boilerplate_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/test_demo_site.py --browser=chrome --xvfb\n      run: |\n        pytest examples/test_demo_site.py --browser=chrome --xvfb -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/iframe_tests.py --browser=chrome --xvfb --rs --crumbs\n      run: |\n        pytest examples/iframe_tests.py --browser=chrome --xvfb --rs --crumbs -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/test_mfa_login.py --browser=chrome --xvfb\n      run: |\n        pytest examples/test_mfa_login.py --browser=chrome --xvfb -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/iframe_tests.py --browser=chrome --xvfb --rs\n      run: |\n        pytest examples/iframe_tests.py --browser=chrome --xvfb --rs -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/test_window_switching.py --browser=chrome --headless\n      run: |\n        pytest examples/test_window_switching.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/my_first_test.py --browser=chrome --headless\n      run: |\n        pytest examples/my_first_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run pytest examples/test_inspect_html.py --browser=chrome --headless\n      run: |\n        pytest examples/test_inspect_html.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml\n    - name: Run behave examples/behave_bdd/features/calculator.feature -D rs -D crumbs -D xvfb\n      run: |\n        behave examples/behave_bdd/features/calculator.feature -D rs -D crumbs -D xvfb -T -k\n    - name: Run behave examples/behave_bdd/features/realworld.feature -D rs -D crumbs -D xvfb\n      run: |\n        behave examples/behave_bdd/features/realworld.feature -D rs -D crumbs -D xvfb -T -k\n", "state": "active", "repository": "seleniumbase/seleniumbase"}
{"mined_at": "2024-07-15T15:09:20.397839", "created_at": "2023-04-10T19:22:34+02:00", "updated_at": "2023-04-25T17:15:57+02:00", "name": "GitHub Event Processor", "path": ".github/workflows/event-processor.yml", "contents": "name: GitHub Event Processor\n\non:\n  issues:\n    types: [edited, labeled, opened, reopened, unlabeled]\n  # issue_comment is used for both issues and pull_requests\n  # github.event.issue.pull_request will be non-null on pull request comments\n  issue_comment:\n    types: [created]\n  # synchronize is the pull_request_target event when changes are pushed\n  # pull request merged is the closed event with github.event.pull_request.merged = true\n  pull_request_target:\n    types: [closed, labeled, opened, reopened, review_requested, synchronize, unlabeled]\n\n# This removes all unnecessary permissions, the ones needed will be set below.\n# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token\npermissions: {}\n\njobs:\n  # This event requires the Azure CLI to get the LABEL_SERVICE_API_KEY from the vault.\n  # Because the azure/login step adds time costly pre/post Az CLI commands to any every job\n  # it's used in, split this into its own job so only the event that needs the Az CLI pays\n  # the cost.\n  event-handler-with-azure:\n    permissions:\n      issues: write\n      pull-requests: write\n      # For OIDC auth\n      id-token: write\n      contents: read\n    name: Handle ${{ github.event_name }} ${{ github.event.action }} event with azure login\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }}\n    steps:\n      - name: 'Az CLI login'\n        uses: azure/login@v2\n        with:\n            client-id: ${{ secrets.AZURE_CLIENT_ID }}\n            tenant-id: ${{ secrets.AZURE_TENANT_ID }}\n            subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}\n\n      - name: 'Run Azure CLI commands'\n        run: |\n          LABEL_SERVICE_API_KEY=$(az keyvault secret show \\\n            --vault-name issue-labeler \\\n            -n issue-labeler-func-key \\\n            -o tsv \\\n            --query value)\n\n          echo \"::add-mask::$LABEL_SERVICE_API_KEY\"\n          echo \"LABEL_SERVICE_API_KEY=$LABEL_SERVICE_API_KEY\" >> $GITHUB_ENV\n\n      # To run github-event-processor built from source, for testing purposes, uncomment everything\n      # in between the Start/End-Build From Source comments and comment everything in between the\n      # Start/End-Install comments\n      # Start-Install\n      - name: Install GitHub Event Processor\n        run: >\n          dotnet tool install\n          Azure.Sdk.Tools.GitHubEventProcessor\n          --version 1.0.0-dev.20240610.2\n          --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json\n          --global\n        shell: bash\n      # End-Install\n\n      # Testing checkout of sources from the Azure/azure-sdk-tools repository\n      # The ref: is the SHA from the pull request in that repository or the\n      # refs/pull/<PRNumber>/merge for the latest on any given PR. If the repository\n      # is a fork eg. <User>/azure-sdk-tools then the repository down below will\n      # need to point to that fork\n      # Start-Build\n      # - name: Checkout tools repo for GitHub Event Processor sources\n      #   uses: actions/checkout@v3\n      #   with:\n      #     repository: Azure/azure-sdk-tools\n      #     path: azure-sdk-tools\n      #     ref: <refs/pull/<PRNumber>/merge> or <sha>\n\n      # - name: Build and install GitHubEventProcessor from sources\n      #   run: |\n      #     dotnet pack\n      #     dotnet tool install --global --prerelease --add-source ../../../artifacts/packages/Debug Azure.Sdk.Tools.GitHubEventProcessor\n      #   shell: bash\n      #   working-directory: azure-sdk-tools/tools/github-event-processor/Azure.Sdk.Tools.GitHubEventProcessor\n      # End-Build\n\n      - name: Process Action Event\n        run: |\n          cat > payload.json << 'EOF'\n          ${{ toJson(github.event) }}\n          EOF\n          github-event-processor ${{ github.event_name }} payload.json\n        shell: bash\n        env:\n          # This is a temporary secret generated by github\n          # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          LABEL_SERVICE_API_KEY: ${{ env.LABEL_SERVICE_API_KEY }}\n\n  event-handler:\n    permissions:\n      issues: write\n      pull-requests: write\n    name: Handle ${{ github.event_name }} ${{ github.event.action }} event\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name != 'issues' || github.event.action != 'opened' }}\n    steps:\n      # To run github-event-processor built from source, for testing purposes, uncomment everything\n      # in between the Start/End-Build From Source comments and comment everything in between the\n      # Start/End-Install comments\n      # Start-Install\n      - name: Install GitHub Event Processor\n        run: >\n          dotnet tool install\n          Azure.Sdk.Tools.GitHubEventProcessor\n          --version 1.0.0-dev.20240610.2\n          --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json\n          --global\n        shell: bash\n      # End-Install\n\n      # Testing checkout of sources from the Azure/azure-sdk-tools repository\n      # The ref: is the SHA from the pull request in that repository or the\n      # refs/pull/<PRNumber>/merge for the latest on any given PR. If the repository\n      # is a fork eg. <User>/azure-sdk-tools then the repository down below will\n      # need to point to that fork\n      # Start-Build\n      # - name: Checkout tools repo for GitHub Event Processor sources\n      #   uses: actions/checkout@v3\n      #   with:\n      #     repository: Azure/azure-sdk-tools\n      #     path: azure-sdk-tools\n      #     ref: <refs/pull/<PRNumber>/merge> or <sha>\n\n      # - name: Build and install GitHubEventProcessor from sources\n      #   run: |\n      #     dotnet pack\n      #     dotnet tool install --global --prerelease --add-source ../../../artifacts/packages/Debug Azure.Sdk.Tools.GitHubEventProcessor\n      #   shell: bash\n      #   working-directory: azure-sdk-tools/tools/github-event-processor/Azure.Sdk.Tools.GitHubEventProcessor\n      # End-Build\n\n      - name: Process Action Event\n        run: |\n          cat > payload.json << 'EOF'\n          ${{ toJson(github.event) }}\n          EOF\n          github-event-processor ${{ github.event_name }} payload.json\n        shell: bash\n        env:\n          # This is a temporary secret generated by github\n          # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "azure/azure-sdk-for-python"}
{"mined_at": "2024-07-15T15:09:21.509255", "created_at": "2022-07-20T21:19:22+02:00", "updated_at": "2022-09-20T01:23:25+02:00", "name": "Check Enforcer", "path": ".github/workflows/event.yml", "contents": "# NOTE: currently azure-sdk-actions only hosts check enforcer code.\n# If further functionality is added, this name should be updated to reflect\n# the more generic behavior\nname: Check Enforcer\n\non:\n  check_suite:\n    types: [completed]\n  issue_comment:\n    types: [created]\n\npermissions: {}\n\njobs:\n  event-handler:\n    permissions:\n      statuses: write # to set status (azure/azure-sdk-actions)\n      pull-requests: write # to read pull requests and write comments (azure/azure-sdk-actions)\n      checks: read # to read check status (azure/azure-sdk-actions)\n    name: Handle ${{ github.event_name }} ${{ github.event.action }} event\n    runs-on: ubuntu-latest\n    steps:\n      - uses: azure/azure-sdk-actions@main\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "azure/azure-sdk-for-python"}
{"mined_at": "2024-07-15T15:09:22.652600", "created_at": "2024-06-19T06:17:28+02:00", "updated_at": "2024-06-19T06:17:28+02:00", "name": "Javascript SDK Release Tool Pull Request Check", "path": ".github/workflows/js-sdk-release-tool-pull-request-check.yml", "contents": null, "state": "active", "repository": "azure/azure-sdk-for-python"}
{"mined_at": "2024-07-15T15:09:23.670122", "created_at": "2022-07-14T18:39:37+02:00", "updated_at": "2022-07-19T18:48:26+02:00", "name": "Add needs-triage label for new issues", "path": ".github/workflows/label-needs-triage.yml", "contents": null, "state": "active", "repository": "azure/azure-sdk-for-python"}
{"mined_at": "2024-07-15T15:09:24.794043", "created_at": "2022-07-19T22:56:38+02:00", "updated_at": "2022-07-25T21:12:11+02:00", "name": "Remove needs-triage and needs-team-triage labels if it is assigned", "path": ".github/workflows/remove-needs-triage.yml", "contents": null, "state": "active", "repository": "azure/azure-sdk-for-python"}
{"mined_at": "2024-07-15T15:09:25.935156", "created_at": "2023-04-11T17:33:32+02:00", "updated_at": "2023-04-11T17:33:32+02:00", "name": "GitHub Scheduled Event Processor", "path": ".github/workflows/scheduled-event-processor.yml", "contents": "name: GitHub Scheduled Event Processor\n\non:\n  schedule:\n    # These are generated/confirmed using https://crontab.cronhub.io/\n    # Close stale issues, runs every day at 1am - CloseStaleIssues\n    - cron: '0 1 * * *'\n    # Identify stale pull requests, every Friday at 5am - IdentifyStalePullRequests\n    - cron: '0 5 * * FRI'\n    # Close stale pull requests, every 6 hours at 02:30 AM, 08:30 AM, 02:30 PM and 08:30 PM - CloseStalePullRequests\n    - cron: '30 2,8,14,20 * * *'\n    # Identify stale issues, every 6 hours at 03:30 AM, 09:30 AM, 03:30 PM and 09:30 PM - IdentifyStaleIssues\n    - cron: '30 3,9,15,21 * * *'\n    # Close addressed issues, every 6 hours at 04:30 AM, 10:30 AM, 04:30 PM and 10:30 PM - CloseAddressedIssues\n    - cron: '30 4,10,16,22 * * *'\n    # Lock closed issues, every 6 hours at 05:30 AM, 11:30 AM, 05:30 PM and 11:30 PM - LockClosedIssues\n    - cron: '30 5,11,17,23 * * *'\n    # Enforce max life of issues, every M,W,F at 10:00 AM PST - EnforceMaxLifeOfIssues\n    # Note: GitHub uses UTC, to run at 10am PST, the cron task needs to be 6pm (1800 hours) UTC\n    #       When scheduling for multiple days the numeric days 0-6 (0=Sunday) must be used.\n    - cron: '0 18 * * 1,3,5'\n# This removes all unnecessary permissions, the ones needed will be set below.\n# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token\npermissions: {}\n\njobs:\n  event-handler:\n    permissions:\n      issues: write\n      pull-requests: write\n    name: Handle ${{ github.event.schedule }} ${{ github.event.action }} event\n    runs-on: ubuntu-latest\n    steps:\n      # To run github-event-processor built from source, for testing purposes, uncomment everything\n      # in between the Start/End-Build From Source comments and comment everything in between the\n      # Start/End-Install comments\n      # Start-Install\n      - name: Install GitHub Event Processor\n        run: >\n          dotnet tool install\n          Azure.Sdk.Tools.GitHubEventProcessor\n          --version 1.0.0-dev.20240610.2\n          --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json\n          --global\n        shell: bash\n      # End-Install\n\n      # Testing checkout of sources from the Azure/azure-sdk-tools repository\n      # The ref: is the SHA from the pull request in that repository or the\n      # refs/pull/<PRNumber>/merge for the latest on any given PR. If the repository\n      # is a fork eg. <User>/azure-sdk-tools then the repository down below will\n      # need to point to that fork\n      # Start-Build\n      # - name: Checkout tools repo for GitHub Event Processor sources\n      #   uses: actions/checkout@v3\n      #   with:\n      #     repository: Azure/azure-sdk-tools\n      #     path: azure-sdk-tools\n      #     ref: <refs/pull/<PRNumber>/merge> or <sha>\n\n      # - name: Build and install GitHubEventProcessor from sources\n      #   run: |\n      #     dotnet pack\n      #     dotnet tool install --global --prerelease --add-source ../../../artifacts/packages/Debug Azure.Sdk.Tools.GitHubEventProcessor\n      #   shell: bash\n      #   working-directory: azure-sdk-tools/tools/github-event-processor/Azure.Sdk.Tools.GitHubEventProcessor\n      # End-Build\n\n      - name: Close Stale Issues Scheduled Event\n        if: github.event.schedule == '0 1 * * *'\n        run: |\n          cat > payload.json << 'EOF'\n          ${{ toJson(github.event) }}\n          EOF\n          github-event-processor ${{ github.event_name }} payload.json CloseStaleIssues\n        shell: bash\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Identify Stale PullRequests Scheduled Event\n        if: github.event.schedule == '0 5 * * FRI'\n        run: |\n          cat > payload.json << 'EOF'\n          ${{ toJson(github.event) }}\n          EOF\n          github-event-processor ${{ github.event_name }} payload.json IdentifyStalePullRequests\n        shell: bash\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Close Stale PullRequests Scheduled Event\n        if: github.event.schedule == '30 2,8,14,20 * * *'\n        run: |\n          cat > payload.json << 'EOF'\n          ${{ toJson(github.event) }}\n          EOF\n          github-event-processor ${{ github.event_name }} payload.json CloseStalePullRequests\n        shell: bash\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Identify Stale Issues Scheduled Event\n        if: github.event.schedule == '30 3,9,15,21 * * *'\n        run: |\n          cat > payload.json << 'EOF'\n          ${{ toJson(github.event) }}\n          EOF\n          github-event-processor ${{ github.event_name }} payload.json IdentifyStaleIssues\n        shell: bash\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Close Addressed Issues Scheduled Event\n        if: github.event.schedule == '30 4,10,16,22 * * *'\n        run: |\n          cat > payload.json << 'EOF'\n          ${{ toJson(github.event) }}\n          EOF\n          github-event-processor ${{ github.event_name }} payload.json CloseAddressedIssues\n        shell: bash\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Lock Closed Issues Scheduled Event\n        if: github.event.schedule == '30 5,11,17,23 * * *'\n        run: |\n          cat > payload.json << 'EOF'\n          ${{ toJson(github.event) }}\n          EOF\n          github-event-processor ${{ github.event_name }} payload.json LockClosedIssues\n        shell: bash\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Enforce Max Life of Issues Scheduled Event\n        if: github.event.schedule == '0 18 * * 1,3,5'\n        run: |\n          cat > payload.json << 'EOF'\n          ${{ toJson(github.event) }}\n          EOF\n          github-event-processor ${{ github.event_name }} payload.json EnforceMaxLifeOfIssues\n        shell: bash\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "azure/azure-sdk-for-python"}
{"mined_at": "2024-07-15T15:09:26.913176", "created_at": "2021-12-17T08:03:16+01:00", "updated_at": "2021-12-17T08:03:16+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "azure/azure-sdk-for-python"}
{"mined_at": "2024-07-15T15:09:29.200051", "created_at": "2020-11-18T10:59:34+01:00", "updated_at": "2020-11-18T10:59:34+01:00", "name": ".github/workflows/circle_artifacts.yml", "path": ".github/workflows/circle_artifacts.yml", "contents": "on: [status]  # yamllint disable-line rule:truthy\njobs:\n  circleci_artifacts_redirector_job:\n    if: \"${{ startsWith(github.event.context, 'ci/circleci: build_docs') }}\"\n    runs-on: ubuntu-20.04\n    name: Run CircleCI artifacts redirector\n    steps:\n      - name: GitHub Action step\n        uses: scientific-python/circleci-artifacts-redirector-action@master\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          api-token: ${{ secrets.CIRCLECI_TOKEN }}\n          artifact-path: 0/html/sg_execution_times.html\n          circleci-jobs: build_docs,build_docs_main\n          job-title: Check the rendered docs here!\n", "state": "active", "repository": "mne-tools/mne-python"}
{"mined_at": "2024-07-15T15:09:30.226015", "created_at": "2022-08-20T00:12:23+02:00", "updated_at": "2022-08-22T11:40:22+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '44 14 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "mne-tools/mne-python"}
{"mined_at": "2024-07-15T15:09:31.345167", "created_at": "2023-04-24T21:32:54+02:00", "updated_at": "2023-04-25T06:33:53+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: 'Tests'\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\non:  # yamllint disable-line rule:truthy\n  push:\n    branches: [\"main\", \"maint/*\"]\n  pull_request:\n    branches: [\"main\", \"maint/*\"]\n\npermissions:\n  contents: read\n\njobs:\n  style:\n    name: Style\n    runs-on: ubuntu-latest\n    timeout-minutes: 3\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - uses: pre-commit/action@v3.0.1\n      - run: pip install mypy numpy scipy vulture\n      - run: mypy\n      - run: vulture\n\n  bandit:\n    name: Bandit\n    needs: style\n    runs-on: ubuntu-latest\n    steps:\n      - uses: davidslusser/actions_python_bandit@v1.0.1\n        with:\n          src: \"mne\"\n          options: \"-c pyproject.toml -ll -r\"\n          pip_install_command: \"pip install bandit[toml]\"\n\n  pytest:\n    name: '${{ matrix.os }} / ${{ matrix.kind }} / ${{ matrix.python }}'\n    needs: style\n    timeout-minutes: 70\n    continue-on-error: true\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -el {0}\n    env:\n      PYTHON_VERSION: '${{ matrix.python }}'\n      MKL_NUM_THREADS: '1'\n      OPENBLAS_NUM_THREADS: '1'\n      PYTHONUNBUFFERED: '1'\n      MNE_CI_KIND: '${{ matrix.kind }}'\n      CI_OS_NAME: '${{ matrix.os }}'\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: '3.12'\n            kind: pip-pre\n          - os: ubuntu-latest\n            python: '3.12'\n            kind: conda\n          - os: macos-latest  # arm64 (Apple Silicon)\n            python: '3.12'\n            kind: mamba\n          - os: macos-13  # latest Intel release\n            python: '3.12'\n            kind: mamba\n          - os: windows-latest\n            python: '3.10'\n            kind: mamba\n          - os: ubuntu-latest\n            python: '3.9'\n            kind: minimal\n          - os: ubuntu-20.04\n            python: '3.9'\n            kind: old\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - run: ./tools/github_actions_env_vars.sh\n      # Xvfb/OpenGL\n      - uses: pyvista/setup-headless-display-action@main\n        with:\n          qt: true\n          pyvista: false\n      # Python (if pip)\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n        if: startswith(matrix.kind, 'pip')\n      # Python (if conda)\n      - name: Remove numba and dipy\n        run: |  # TODO: Remove when numba 0.59 and dipy 1.8 land on conda-forge\n          sed -i '/numba/d' environment.yml\n          sed -i '/dipy/d' environment.yml\n          sed -i 's/- mne$/- mne-base/' environment.yml\n        if: matrix.os == 'ubuntu-latest' && startswith(matrix.kind, 'conda') && matrix.python == '3.12'\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{ env.CONDA_ENV }}\n          environment-name: mne\n          create-args: >-\n            python=${{ env.PYTHON_VERSION }}\n            mamba\n        if: ${{ !startswith(matrix.kind, 'pip') }}\n      # Make sure we have the right Python\n      - run: python -c \"import platform; assert platform.machine() == 'arm64', platform.machine()\"\n        if: matrix.os == 'macos-14'\n      - run: ./tools/github_actions_dependencies.sh\n      # Minimal commands on Linux (macOS stalls)\n      - run: ./tools/get_minimal_commands.sh\n        if: ${{ startswith(matrix.os, 'ubuntu') }}\n      - run: ./tools/github_actions_infos.sh\n      # Check Qt\n      - run: ./tools/check_qt_import.sh $MNE_QT_BACKEND\n        if: ${{ env.MNE_QT_BACKEND != '' }}\n      - name: Run tests with no testing data\n        run: MNE_SKIP_TESTING_DATASET_TESTS=true pytest -m \"not (ultraslowtest or pgtest)\" --tb=short --cov=mne --cov-report xml -vv -rfE mne/\n        if: matrix.kind == 'minimal'\n      - run: ./tools/get_testing_version.sh\n      - uses: actions/cache@v4\n        with:\n          key: ${{ env.TESTING_VERSION }}\n          path: ~/mne_data\n      - run: ./tools/github_actions_download.sh\n      - run: ./tools/github_actions_test.sh\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n        if: success()\n", "state": "active", "repository": "mne-tools/mne-python"}
{"mined_at": "2024-07-15T15:09:32.375489", "created_at": "2023-10-01T01:23:04+02:00", "updated_at": "2023-10-01T11:34:37+02:00", "name": "Build", "path": ".github/workflows/release.yml", "contents": "# Upload a Python Package using Twine when a release is created\n\nname: Build\non:  # yamllint disable-line rule:truthy\n  release:\n    types: [published]\n  push:\n    branches: [\"main\", \"maint/*\"]\n  pull_request:\n    branches: [\"main\", \"maint/*\"]\n\npermissions:\n  contents: read\n\njobs:\n  package:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build twine\n      - run: python -m build --sdist --wheel\n      - run: twine check --strict dist/*\n      - uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist\n\n  pypi-upload:\n    needs: package\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release'\n    permissions:\n      id-token: write  # for trusted publishing\n    environment:\n      name: pypi\n      url: https://pypi.org/p/mne\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        if: github.event_name == 'release'\n", "state": "active", "repository": "mne-tools/mne-python"}
{"mined_at": "2024-07-15T15:09:33.603347", "created_at": "2023-12-15T21:33:44+01:00", "updated_at": "2023-12-20T18:40:44+01:00", "name": "Changelog", "path": ".github/workflows/check_changelog.yml", "contents": "name: Changelog\n\non:  # yamllint disable-line rule:truthy\n  pull_request:\n    types: [opened, synchronize, labeled, unlabeled]\n    branches: [\"main\"]\n\njobs:\n  changelog_checker:\n    name: Check towncrier entry in doc/changes/devel/\n    runs-on: ubuntu-latest\n    steps:\n      - uses: scientific-python/action-towncrier-changelog@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          BOT_USERNAME: changelog-bot\n", "state": "active", "repository": "mne-tools/mne-python"}
{"mined_at": "2024-07-15T15:09:34.662208", "created_at": "2023-12-21T20:50:26+01:00", "updated_at": "2023-12-21T22:13:58+01:00", "name": "autofix.ci", "path": ".github/workflows/autofix.yml", "contents": "name: autofix.ci\n\non:  # yamllint disable-line rule:truthy\n  pull_request:\n    types: [opened, synchronize, labeled, unlabeled]\n\npermissions:\n  contents: read\n\njobs:\n  autofix:\n    name: Autoupdate changelog entry\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - run: pip install --upgrade towncrier pygithub\n      - run: python ./.github/actions/rename_towncrier/rename_towncrier.py\n      - uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc\n", "state": "active", "repository": "mne-tools/mne-python"}
{"mined_at": "2024-07-15T15:09:36.968547", "created_at": "2021-02-11T02:49:49+01:00", "updated_at": "2024-04-10T02:03:07+02:00", "name": "Pull Request CI", "path": ".github/workflows/test.yaml", "contents": "# GENERATED, DO NOT EDIT!\n# To change, edit `src/python/pants_release/generate_github_workflows.py` and run:\n#   ./pants run src/python/pants_release/generate_github_workflows.py\n\n\nconcurrency:\n  cancel-in-progress: true\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\nenv:\n  PANTS_CONFIG_FILES: +['pants.ci.toml']\n  RUST_BACKTRACE: all\njobs:\n  bootstrap_pants_linux_arm64:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Bootstrap Pants, test Rust (Linux-ARM64)\n    needs:\n    - classify_changes\n    runs-on:\n    - self-hosted\n    - Linux\n    - ARM64\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Set rustup profile\n      run: rustup set profile default\n    - name: Cache Rust toolchain\n      uses: actions/cache@v3\n      with:\n        key: Linux-ARM64-rustup-${{ hashFiles('src/rust/engine/rust-toolchain') }}-v2\n        path: '~/.rustup/toolchains/1.78.0-*\n\n          ~/.rustup/update-hashes\n\n          ~/.rustup/settings.toml\n\n          '\n    - name: Cache Cargo\n      uses: benjyw/rust-cache@461b9f8eee66b575bce78977bf649b8b7a8d53f1\n      with:\n        cache-bin: 'false'\n        shared-key: engine\n        workspaces: src/rust/engine\n    - id: get-engine-hash\n      name: Get native engine hash\n      run: echo \"hash=$(./build-support/bin/rust/print_engine_hash.sh)\" >> $GITHUB_OUTPUT\n      shell: bash\n    - name: Cache native engine\n      uses: actions/cache@v3\n      with:\n        key: Linux-ARM64-engine-${{ steps.get-engine-hash.outputs.hash }}-v1\n        path: 'src/python/pants/bin/native_client\n\n          src/python/pants/engine/internals/native_engine.so\n\n          src/python/pants/engine/internals/native_engine.so.metadata'\n    - name: Bootstrap Pants\n      run: ./pants version > ${{ runner.temp }}/_pants_version.stdout && [[ -s ${{ runner.temp }}/_pants_version.stdout ]]\n    - name: Run smoke tests\n      run: './pants list ::\n\n        ./pants roots\n\n        ./pants help goals\n\n        ./pants help targets\n\n        ./pants help subsystems\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-bootstrap-Linux-ARM64\n        path: .pants.d/workdir/*.log\n    - name: Upload native binaries\n      uses: actions/upload-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-ARM64\n        path: 'src/python/pants/bin/native_client\n\n          src/python/pants/engine/internals/native_engine.so\n\n          src/python/pants/engine/internals/native_engine.so.metadata'\n    - env:\n        TMPDIR: ${{ runner.temp }}\n      if: needs.classify_changes.outputs.rust == 'true'\n      name: Test Rust\n      run: ./cargo test --locked --tests -- --nocapture --test-threads=8\n    timeout-minutes: 60\n  bootstrap_pants_linux_x86_64:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Bootstrap Pants, test and lint Rust (Linux-x86_64)\n    needs:\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Set rustup profile\n      run: rustup set profile default\n    - name: Cache Rust toolchain\n      uses: actions/cache@v3\n      with:\n        key: Linux-x86_64-rustup-${{ hashFiles('src/rust/engine/rust-toolchain') }}-v2\n        path: '~/.rustup/toolchains/1.78.0-*\n\n          ~/.rustup/update-hashes\n\n          ~/.rustup/settings.toml\n\n          '\n    - name: Cache Cargo\n      uses: benjyw/rust-cache@461b9f8eee66b575bce78977bf649b8b7a8d53f1\n      with:\n        cache-bin: 'false'\n        shared-key: engine\n        workspaces: src/rust/engine\n    - id: get-engine-hash\n      name: Get native engine hash\n      run: echo \"hash=$(./build-support/bin/rust/print_engine_hash.sh)\" >> $GITHUB_OUTPUT\n      shell: bash\n    - name: Cache native engine\n      uses: actions/cache@v3\n      with:\n        key: Linux-x86_64-engine-${{ steps.get-engine-hash.outputs.hash }}-v1\n        path: 'src/python/pants/bin/native_client\n\n          src/python/pants/engine/internals/native_engine.so\n\n          src/python/pants/engine/internals/native_engine.so.metadata'\n    - name: Bootstrap Pants\n      run: ./pants version > ${{ runner.temp }}/_pants_version.stdout && [[ -s ${{ runner.temp }}/_pants_version.stdout ]]\n    - name: Run smoke tests\n      run: './pants list ::\n\n        ./pants roots\n\n        ./pants help goals\n\n        ./pants help targets\n\n        ./pants help subsystems\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-bootstrap-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    - name: Upload native binaries\n      uses: actions/upload-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-x86_64\n        path: 'src/python/pants/bin/native_client\n\n          src/python/pants/engine/internals/native_engine.so\n\n          src/python/pants/engine/internals/native_engine.so.metadata'\n    - name: Validate CI config\n      run: './pants run src/python/pants_release/generate_github_workflows.py -- --check\n\n        '\n    - env:\n        TMPDIR: ${{ runner.temp }}\n      if: needs.classify_changes.outputs.rust == 'true'\n      name: Test and lint Rust\n      run: 'sudo apt-get install -y pkg-config fuse libfuse-dev\n\n        ./build-support/bin/check_rust_pre_commit.sh\n\n        ./cargo test --locked --all --tests --benches -- --nocapture\n\n        ./cargo doc'\n    timeout-minutes: 60\n  bootstrap_pants_macos12_x86_64:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Bootstrap Pants, test Rust (macOS12-x86_64)\n    needs:\n    - classify_changes\n    runs-on:\n    - macos-12\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Set rustup profile\n      run: rustup set profile default\n    - name: Cache Rust toolchain\n      uses: actions/cache@v3\n      with:\n        key: macOS12-x86_64-rustup-${{ hashFiles('src/rust/engine/rust-toolchain') }}-v2\n        path: '~/.rustup/toolchains/1.78.0-*\n\n          ~/.rustup/update-hashes\n\n          ~/.rustup/settings.toml\n\n          '\n    - name: Cache Cargo\n      uses: benjyw/rust-cache@461b9f8eee66b575bce78977bf649b8b7a8d53f1\n      with:\n        cache-bin: 'false'\n        shared-key: engine\n        workspaces: src/rust/engine\n    - id: get-engine-hash\n      name: Get native engine hash\n      run: echo \"hash=$(./build-support/bin/rust/print_engine_hash.sh)\" >> $GITHUB_OUTPUT\n      shell: bash\n    - name: Cache native engine\n      uses: actions/cache@v3\n      with:\n        key: macOS12-x86_64-engine-${{ steps.get-engine-hash.outputs.hash }}-v1\n        path: 'src/python/pants/bin/native_client\n\n          src/python/pants/engine/internals/native_engine.so\n\n          src/python/pants/engine/internals/native_engine.so.metadata'\n    - name: Bootstrap Pants\n      run: ./pants version > ${{ runner.temp }}/_pants_version.stdout && [[ -s ${{ runner.temp }}/_pants_version.stdout ]]\n    - name: Run smoke tests\n      run: './pants list ::\n\n        ./pants roots\n\n        ./pants help goals\n\n        ./pants help targets\n\n        ./pants help subsystems\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-bootstrap-macOS12-x86_64\n        path: .pants.d/workdir/*.log\n    - name: Upload native binaries\n      uses: actions/upload-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.macOS12-x86_64\n        path: 'src/python/pants/bin/native_client\n\n          src/python/pants/engine/internals/native_engine.so\n\n          src/python/pants/engine/internals/native_engine.so.metadata'\n    - env:\n        TMPDIR: ${{ runner.temp }}\n      if: needs.classify_changes.outputs.rust == 'true'\n      name: Test Rust\n      run: ./cargo test --locked --tests -- --nocapture\n    timeout-minutes: 60\n  build_wheels_linux_arm64:\n    container:\n      image: ghcr.io/pantsbuild/wheel_build_aarch64:v3-8384c5cf\n    env:\n      MODE: debug\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    if: ((github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.release == 'true')) && (needs.classify_changes.outputs.docs_only\n      != 'true')\n    name: Build wheels (Linux-ARM64)\n    needs:\n    - classify_changes\n    runs-on:\n    - self-hosted\n    - Linux\n    - ARM64\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - name: Configure Git\n      run: git config --global safe.directory \"$GITHUB_WORKSPACE\"\n    - name: Install rustup\n      run: 'curl --proto ''=https'' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -v -y --default-toolchain none\n\n        echo \"${HOME}/.cargo/bin\" >> $GITHUB_PATH\n\n        '\n    - name: Expose Pythons\n      run: 'echo \"/opt/python/cp37-cp37m/bin\" >> $GITHUB_PATH\n\n        echo \"/opt/python/cp38-cp38/bin\" >> $GITHUB_PATH\n\n        echo \"/opt/python/cp39-cp39/bin\" >> $GITHUB_PATH\n\n        '\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - env:\n        PANTS_CONFIG_FILES: +['pants.ci.toml','pants.ci.aarch64.toml']\n      name: Build wheels\n      run: ./pants run src/python/pants_release/release.py -- build-wheels\n    - env:\n        PANTS_CONFIG_FILES: +['pants.ci.toml','pants.ci.aarch64.toml']\n      name: Build Pants PEX\n      run: ./pants package src/python/pants:pants-pex\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-wheels-and-pex-Linux-ARM64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  build_wheels_linux_x86_64:\n    container:\n      image: quay.io/pypa/manylinux2014_x86_64:latest\n    env:\n      MODE: debug\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    if: ((github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.release == 'true')) && (needs.classify_changes.outputs.docs_only\n      != 'true')\n    name: Build wheels (Linux-x86_64)\n    needs:\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - name: Configure Git\n      run: git config --global safe.directory \"$GITHUB_WORKSPACE\"\n    - name: Install rustup\n      run: 'curl --proto ''=https'' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -v -y --default-toolchain none\n\n        echo \"${HOME}/.cargo/bin\" >> $GITHUB_PATH\n\n        '\n    - name: Expose Pythons\n      run: 'echo \"/opt/python/cp37-cp37m/bin\" >> $GITHUB_PATH\n\n        echo \"/opt/python/cp38-cp38/bin\" >> $GITHUB_PATH\n\n        echo \"/opt/python/cp39-cp39/bin\" >> $GITHUB_PATH\n\n        '\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - env:\n        PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n      name: Build wheels\n      run: ./pants run src/python/pants_release/release.py -- build-wheels\n    - env:\n        PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n      name: Build Pants PEX\n      run: ./pants package src/python/pants:pants-pex\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-wheels-and-pex-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  build_wheels_macos10_15_x86_64:\n    env:\n      MODE: debug\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    if: ((github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.release == 'true')) && (needs.classify_changes.outputs.docs_only\n      != 'true')\n    name: Build wheels (macOS10-15-x86_64)\n    needs:\n    - classify_changes\n    runs-on:\n    - self-hosted\n    - macOS-10.15-X64\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Set rustup profile\n      run: rustup set profile default\n    - name: Cache Rust toolchain\n      uses: actions/cache@v3\n      with:\n        key: macOS10-15-x86_64-rustup-${{ hashFiles('src/rust/engine/rust-toolchain') }}-v2\n        path: '~/.rustup/toolchains/1.78.0-*\n\n          ~/.rustup/update-hashes\n\n          ~/.rustup/settings.toml\n\n          '\n    - name: Cache Cargo\n      uses: benjyw/rust-cache@461b9f8eee66b575bce78977bf649b8b7a8d53f1\n      with:\n        cache-bin: 'false'\n        shared-key: engine\n        workspaces: src/rust/engine\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - env:\n        ARCHFLAGS: -arch x86_64\n      name: Build wheels\n      run: ./pants run src/python/pants_release/release.py -- build-wheels\n    - env:\n        ARCHFLAGS: -arch x86_64\n      name: Build Pants PEX\n      run: ./pants package src/python/pants:pants-pex\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-wheels-and-pex-macOS10-15-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  build_wheels_macos11_arm64:\n    env:\n      MODE: debug\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    if: ((github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.release == 'true')) && (needs.classify_changes.outputs.docs_only\n      != 'true')\n    name: Build wheels (macOS11-ARM64)\n    needs:\n    - classify_changes\n    runs-on:\n    - self-hosted\n    - macOS-11-ARM64\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Set rustup profile\n      run: rustup set profile default\n    - name: Cache Rust toolchain\n      uses: actions/cache@v3\n      with:\n        key: macOS11-ARM64-rustup-${{ hashFiles('src/rust/engine/rust-toolchain') }}-v2\n        path: '~/.rustup/toolchains/1.78.0-*\n\n          ~/.rustup/update-hashes\n\n          ~/.rustup/settings.toml\n\n          '\n    - name: Cache Cargo\n      uses: benjyw/rust-cache@461b9f8eee66b575bce78977bf649b8b7a8d53f1\n      with:\n        cache-bin: 'false'\n        shared-key: engine\n        workspaces: src/rust/engine\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - env:\n        ARCHFLAGS: -arch arm64\n      name: Build wheels\n      run: ./pants run src/python/pants_release/release.py -- build-wheels\n    - env:\n        ARCHFLAGS: -arch arm64\n      name: Build Pants PEX\n      run: ./pants package src/python/pants:pants-pex\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-wheels-and-pex-macOS11-ARM64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  check_labels:\n    if: github.repository_owner == 'pantsbuild'\n    name: Ensure PR has a category label\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      if: github.event_name == 'pull_request'\n      name: Ensure category label\n      uses: mheap/github-action-required-labels@v4.0.0\n      with:\n        count: 1\n        labels: category:new feature, category:user api change, category:plugin api change, category:performance, category:bugfix,\n          category:documentation, category:internal\n        mode: exactly\n  check_release_notes:\n    if: github.repository_owner == 'pantsbuild'\n    name: Ensure PR has release notes\n    needs:\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      if: github.event_name == 'pull_request' && !needs.classify_changes.outputs.notes\n      name: Ensure appropriate label\n      uses: mheap/github-action-required-labels@v4.0.0\n      with:\n        count: 1\n        labels: release-notes:not-required, category:internal\n        message: \"\\nPlease do one of:\\n\\n- add release notes to the appropriate file in `docs/notes`\\n\\n- label this PR with\\\n          \\ `release-notes:not-required` if it does not need them (for\\n  instance, if this is fixing a minor typo in documentation)\\n\\\n          \\n- label this PR with `category:internal` if it's an internal change\\n\\nFeel free to ask a maintainer for help\\\n          \\ if you are not sure what is appropriate!\\n\"\n        mode: minimum\n  classify_changes:\n    if: github.repository_owner == 'pantsbuild'\n    name: Classify changes\n    outputs:\n      ci_config: ${{ steps.classify.outputs.ci_config }}\n      docs: ${{ steps.classify.outputs.docs }}\n      docs_only: ${{ steps.classify.outputs.docs_only }}\n      notes: ${{ steps.classify.outputs.notes }}\n      other: ${{ steps.classify.outputs.other }}\n      release: ${{ steps.classify.outputs.release }}\n      rust: ${{ steps.classify.outputs.rust }}\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - id: classify\n      name: Classify changed files\n      run: \"if [[ -z $GITHUB_EVENT_PULL_REQUEST_BASE_SHA ]]; then\\n  # push: compare to the immediate parent, which should\\\n        \\ already be fetched\\n  # (checkout's fetch_depth defaults to 10)\\n  comparison_sha=$(git rev-parse HEAD^)\\nelse\\n\\\n        \\  # pull request: compare to the base branch, ensuring that commit exists\\n  git fetch --depth=1 \\\"$GITHUB_EVENT_PULL_REQUEST_BASE_SHA\\\"\\\n        \\n  comparison_sha=\\\"$GITHUB_EVENT_PULL_REQUEST_BASE_SHA\\\"\\nfi\\necho \\\"comparison_sha=$comparison_sha\\\"\\n\\naffected=$(git\\\n        \\ diff --name-only \\\"$comparison_sha\\\" HEAD | python build-support/bin/classify_changed_files.py)\\necho \\\"Affected:\\\"\\\n        \\nif [[ \\\"${affected}\\\" == \\\"docs\\\" || \\\"${affected}\\\" == \\\"docs notes\\\" ]]; then\\n  echo \\\"docs_only=true\\\" | tee\\\n        \\ -a $GITHUB_OUTPUT\\nfi\\nfor i in ${affected}; do\\n  echo \\\"${i}=true\\\" | tee -a $GITHUB_OUTPUT\\ndone\\n\"\n  lint_python:\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Lint Python and Shell\n    needs:\n    - bootstrap_pants_linux_x86_64\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      name: Launch bazel-remote\n      run: \"mkdir -p ~/bazel-remote\\nif [[ -z \\\"${AWS_ACCESS_KEY_ID}\\\" ]]; then\\n  CACHE_WRITE=false\\n  # If no secret read/write\\\n        \\ creds, use hard-coded read-only creds, so that\\n  # cross-fork PRs can at least read from the cache.\\n  # These\\\n        \\ creds are hard-coded here in this public repo, which makes the bucket\\n  # world-readable. But since putting raw\\\n        \\ AWS tokens in a public repo, even\\n  # deliberately, is icky, we base64-them. This will at least help hide from\\n\\\n        \\  # automated scanners that look for checked in AWS keys.\\n  # Not that it would be terrible if we were scanned,\\\n        \\ since this is public\\n  # on purpose, but it's best not to draw attention.\\n  AWS_ACCESS_KEY_ID=$(echo 'QUtJQVY2QTZHN1JRVkJJUVM1RUEK'\\\n        \\ | base64 -d)\\n  AWS_SECRET_ACCESS_KEY=$(echo 'd3dOQ1k1eHJJWVVtejZBblV6M0l1endXV0loQWZWcW9GZlVjMDlKRwo=' | base64\\\n        \\ -d)\\nelse\\n  CACHE_WRITE=true\\nfi\\ndocker run --detach -u 1001:1000                   -v ~/bazel-remote:/data  \\\n        \\                 -p 9092:9092                   buchgr/bazel-remote-cache:v2.4.1                   --s3.auth_method=access_key\\\n        \\                   --s3.access_key_id=\\\"${AWS_ACCESS_KEY_ID}\\\"                   --s3.secret_access_key=\\\"${AWS_SECRET_ACCESS_KEY}\\\"\\\n        \\                   --s3.bucket=cache.pantsbuild.org                   --s3.endpoint=s3.us-east-1.amazonaws.com  \\\n        \\                 --max_size 30\\necho \\\"PANTS_REMOTE_STORE_ADDRESS=grpc://localhost:9092\\\" >> \\\"$GITHUB_ENV\\\"\\necho\\\n        \\ \\\"PANTS_REMOTE_CACHE_READ=true\\\" >> \\\"$GITHUB_ENV\\\"\\necho \\\"PANTS_REMOTE_CACHE_WRITE=${CACHE_WRITE}\\\" >> \\\"$GITHUB_ENV\\\"\\\n        \\n\"\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-x86_64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Lint\n      run: './pants lint check ::\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-lint-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 30\n  merge_ok:\n    if: always()\n    name: Merge OK\n    needs:\n    - set_merge_ok\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - run: \"merge_ok=\\\"${{ needs.set_merge_ok.outputs.merge_ok }}\\\"\\nif [[ \\\"${merge_ok}\\\" == \\\"true\\\" ]]; then\\n    echo\\\n        \\ \\\"Merge OK\\\"\\n    exit 0\\nelse\\n    echo \\\"Merge NOT OK\\\"\\n    exit 1\\nfi\\n\"\n  set_merge_ok:\n    if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')\n    name: Set Merge OK\n    needs:\n    - classify_changes\n    - check_labels\n    - check_release_notes\n    - bootstrap_pants_linux_arm64\n    - bootstrap_pants_linux_x86_64\n    - bootstrap_pants_macos12_x86_64\n    - build_wheels_linux_arm64\n    - build_wheels_linux_x86_64\n    - build_wheels_macos10_15_x86_64\n    - build_wheels_macos11_arm64\n    - check_labels\n    - check_release_notes\n    - classify_changes\n    - lint_python\n    - test_python_linux_arm64\n    - test_python_linux_x86_64_0\n    - test_python_linux_x86_64_1\n    - test_python_linux_x86_64_2\n    - test_python_linux_x86_64_3\n    - test_python_linux_x86_64_4\n    - test_python_linux_x86_64_5\n    - test_python_linux_x86_64_6\n    - test_python_linux_x86_64_7\n    - test_python_linux_x86_64_8\n    - test_python_linux_x86_64_9\n    - test_python_macos12_x86_64\n    outputs:\n      merge_ok: ${{ steps.set_merge_ok.outputs.merge_ok }}\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - id: set_merge_ok\n      run: echo 'merge_ok=true' >> ${GITHUB_OUTPUT}\n  test_python_linux_arm64:\n    env:\n      PANTS_CONFIG_FILES: +['pants.ci.toml','pants.ci.aarch64.toml']\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Test Python (Linux-ARM64)\n    needs:\n    - bootstrap_pants_linux_arm64\n    - classify_changes\n    runs-on:\n    - self-hosted\n    - Linux\n    - ARM64\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - name: Install AdoptJDK\n      uses: actions/setup-java@v3\n      with:\n        distribution: adopt\n        java-version: '11'\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-ARM64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Run Python tests\n      run: './pants --tag=+platform_specific_behavior test :: -- -m platform_specific_behavior\n\n        '\n    - continue-on-error: true\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      if: always()\n      name: Upload test reports\n      run: 'export S3_DST=s3://logs.pantsbuild.org/test/reports/Linux-ARM64/$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)/${GITHUB_REF_NAME//\\//_}/${GITHUB_RUN_ID}/${GITHUB_RUN_ATTEMPT}/${GITHUB_JOB}\n\n        echo \"Uploading test reports to ${S3_DST}\"\n\n        ./pants run ./src/python/pants_release/copy_to_s3.py                   --                   --src-prefix=dist/test/reports                   --dst-prefix=${S3_DST}                   --path=\"\"\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-python-test-Linux-ARM64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  test_python_linux_x86_64_0:\n    env:\n      PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Test Python (Linux-x86_64) Shard 0/10\n    needs:\n    - bootstrap_pants_linux_x86_64\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      name: Launch bazel-remote\n      run: \"mkdir -p ~/bazel-remote\\nif [[ -z \\\"${AWS_ACCESS_KEY_ID}\\\" ]]; then\\n  CACHE_WRITE=false\\n  # If no secret read/write\\\n        \\ creds, use hard-coded read-only creds, so that\\n  # cross-fork PRs can at least read from the cache.\\n  # These\\\n        \\ creds are hard-coded here in this public repo, which makes the bucket\\n  # world-readable. But since putting raw\\\n        \\ AWS tokens in a public repo, even\\n  # deliberately, is icky, we base64-them. This will at least help hide from\\n\\\n        \\  # automated scanners that look for checked in AWS keys.\\n  # Not that it would be terrible if we were scanned,\\\n        \\ since this is public\\n  # on purpose, but it's best not to draw attention.\\n  AWS_ACCESS_KEY_ID=$(echo 'QUtJQVY2QTZHN1JRVkJJUVM1RUEK'\\\n        \\ | base64 -d)\\n  AWS_SECRET_ACCESS_KEY=$(echo 'd3dOQ1k1eHJJWVVtejZBblV6M0l1endXV0loQWZWcW9GZlVjMDlKRwo=' | base64\\\n        \\ -d)\\nelse\\n  CACHE_WRITE=true\\nfi\\ndocker run --detach -u 1001:1000                   -v ~/bazel-remote:/data  \\\n        \\                 -p 9092:9092                   buchgr/bazel-remote-cache:v2.4.1                   --s3.auth_method=access_key\\\n        \\                   --s3.access_key_id=\\\"${AWS_ACCESS_KEY_ID}\\\"                   --s3.secret_access_key=\\\"${AWS_SECRET_ACCESS_KEY}\\\"\\\n        \\                   --s3.bucket=cache.pantsbuild.org                   --s3.endpoint=s3.us-east-1.amazonaws.com  \\\n        \\                 --max_size 30\\necho \\\"PANTS_REMOTE_STORE_ADDRESS=grpc://localhost:9092\\\" >> \\\"$GITHUB_ENV\\\"\\necho\\\n        \\ \\\"PANTS_REMOTE_CACHE_READ=true\\\" >> \\\"$GITHUB_ENV\\\"\\necho \\\"PANTS_REMOTE_CACHE_WRITE=${CACHE_WRITE}\\\" >> \\\"$GITHUB_ENV\\\"\\\n        \\n\"\n    - name: Install AdoptJDK\n      uses: actions/setup-java@v3\n      with:\n        distribution: adopt\n        java-version: '11'\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - if: runner.os == 'Linux'\n      name: Download Apache `thrift` binary (Linux)\n      run: 'mkdir -p \"${HOME}/.thrift\"\n\n        curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift -o \"${HOME}/.thrift/thrift\"\n\n        chmod +x \"${HOME}/.thrift/thrift\"\n\n        echo \"${HOME}/.thrift\" >> $GITHUB_PATH\n\n        '\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-x86_64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Run Python test shard 0/10\n      run: './pants test --shard=0/10 ::\n\n        '\n    - continue-on-error: true\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      if: always()\n      name: Upload test reports\n      run: 'export S3_DST=s3://logs.pantsbuild.org/test/reports/Linux-x86_64/$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)/${GITHUB_REF_NAME//\\//_}/${GITHUB_RUN_ID}/${GITHUB_RUN_ATTEMPT}/${GITHUB_JOB}\n\n        echo \"Uploading test reports to ${S3_DST}\"\n\n        ./pants run ./src/python/pants_release/copy_to_s3.py                   --                   --src-prefix=dist/test/reports                   --dst-prefix=${S3_DST}                   --path=\"\"\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-python-test-0_10-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  test_python_linux_x86_64_1:\n    env:\n      PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Test Python (Linux-x86_64) Shard 1/10\n    needs:\n    - bootstrap_pants_linux_x86_64\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      name: Launch bazel-remote\n      run: \"mkdir -p ~/bazel-remote\\nif [[ -z \\\"${AWS_ACCESS_KEY_ID}\\\" ]]; then\\n  CACHE_WRITE=false\\n  # If no secret read/write\\\n        \\ creds, use hard-coded read-only creds, so that\\n  # cross-fork PRs can at least read from the cache.\\n  # These\\\n        \\ creds are hard-coded here in this public repo, which makes the bucket\\n  # world-readable. But since putting raw\\\n        \\ AWS tokens in a public repo, even\\n  # deliberately, is icky, we base64-them. This will at least help hide from\\n\\\n        \\  # automated scanners that look for checked in AWS keys.\\n  # Not that it would be terrible if we were scanned,\\\n        \\ since this is public\\n  # on purpose, but it's best not to draw attention.\\n  AWS_ACCESS_KEY_ID=$(echo 'QUtJQVY2QTZHN1JRVkJJUVM1RUEK'\\\n        \\ | base64 -d)\\n  AWS_SECRET_ACCESS_KEY=$(echo 'd3dOQ1k1eHJJWVVtejZBblV6M0l1endXV0loQWZWcW9GZlVjMDlKRwo=' | base64\\\n        \\ -d)\\nelse\\n  CACHE_WRITE=true\\nfi\\ndocker run --detach -u 1001:1000                   -v ~/bazel-remote:/data  \\\n        \\                 -p 9092:9092                   buchgr/bazel-remote-cache:v2.4.1                   --s3.auth_method=access_key\\\n        \\                   --s3.access_key_id=\\\"${AWS_ACCESS_KEY_ID}\\\"                   --s3.secret_access_key=\\\"${AWS_SECRET_ACCESS_KEY}\\\"\\\n        \\                   --s3.bucket=cache.pantsbuild.org                   --s3.endpoint=s3.us-east-1.amazonaws.com  \\\n        \\                 --max_size 30\\necho \\\"PANTS_REMOTE_STORE_ADDRESS=grpc://localhost:9092\\\" >> \\\"$GITHUB_ENV\\\"\\necho\\\n        \\ \\\"PANTS_REMOTE_CACHE_READ=true\\\" >> \\\"$GITHUB_ENV\\\"\\necho \\\"PANTS_REMOTE_CACHE_WRITE=${CACHE_WRITE}\\\" >> \\\"$GITHUB_ENV\\\"\\\n        \\n\"\n    - name: Install AdoptJDK\n      uses: actions/setup-java@v3\n      with:\n        distribution: adopt\n        java-version: '11'\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - if: runner.os == 'Linux'\n      name: Download Apache `thrift` binary (Linux)\n      run: 'mkdir -p \"${HOME}/.thrift\"\n\n        curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift -o \"${HOME}/.thrift/thrift\"\n\n        chmod +x \"${HOME}/.thrift/thrift\"\n\n        echo \"${HOME}/.thrift\" >> $GITHUB_PATH\n\n        '\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-x86_64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Run Python test shard 1/10\n      run: './pants test --shard=1/10 ::\n\n        '\n    - continue-on-error: true\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      if: always()\n      name: Upload test reports\n      run: 'export S3_DST=s3://logs.pantsbuild.org/test/reports/Linux-x86_64/$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)/${GITHUB_REF_NAME//\\//_}/${GITHUB_RUN_ID}/${GITHUB_RUN_ATTEMPT}/${GITHUB_JOB}\n\n        echo \"Uploading test reports to ${S3_DST}\"\n\n        ./pants run ./src/python/pants_release/copy_to_s3.py                   --                   --src-prefix=dist/test/reports                   --dst-prefix=${S3_DST}                   --path=\"\"\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-python-test-1_10-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  test_python_linux_x86_64_2:\n    env:\n      PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Test Python (Linux-x86_64) Shard 2/10\n    needs:\n    - bootstrap_pants_linux_x86_64\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      name: Launch bazel-remote\n      run: \"mkdir -p ~/bazel-remote\\nif [[ -z \\\"${AWS_ACCESS_KEY_ID}\\\" ]]; then\\n  CACHE_WRITE=false\\n  # If no secret read/write\\\n        \\ creds, use hard-coded read-only creds, so that\\n  # cross-fork PRs can at least read from the cache.\\n  # These\\\n        \\ creds are hard-coded here in this public repo, which makes the bucket\\n  # world-readable. But since putting raw\\\n        \\ AWS tokens in a public repo, even\\n  # deliberately, is icky, we base64-them. This will at least help hide from\\n\\\n        \\  # automated scanners that look for checked in AWS keys.\\n  # Not that it would be terrible if we were scanned,\\\n        \\ since this is public\\n  # on purpose, but it's best not to draw attention.\\n  AWS_ACCESS_KEY_ID=$(echo 'QUtJQVY2QTZHN1JRVkJJUVM1RUEK'\\\n        \\ | base64 -d)\\n  AWS_SECRET_ACCESS_KEY=$(echo 'd3dOQ1k1eHJJWVVtejZBblV6M0l1endXV0loQWZWcW9GZlVjMDlKRwo=' | base64\\\n        \\ -d)\\nelse\\n  CACHE_WRITE=true\\nfi\\ndocker run --detach -u 1001:1000                   -v ~/bazel-remote:/data  \\\n        \\                 -p 9092:9092                   buchgr/bazel-remote-cache:v2.4.1                   --s3.auth_method=access_key\\\n        \\                   --s3.access_key_id=\\\"${AWS_ACCESS_KEY_ID}\\\"                   --s3.secret_access_key=\\\"${AWS_SECRET_ACCESS_KEY}\\\"\\\n        \\                   --s3.bucket=cache.pantsbuild.org                   --s3.endpoint=s3.us-east-1.amazonaws.com  \\\n        \\                 --max_size 30\\necho \\\"PANTS_REMOTE_STORE_ADDRESS=grpc://localhost:9092\\\" >> \\\"$GITHUB_ENV\\\"\\necho\\\n        \\ \\\"PANTS_REMOTE_CACHE_READ=true\\\" >> \\\"$GITHUB_ENV\\\"\\necho \\\"PANTS_REMOTE_CACHE_WRITE=${CACHE_WRITE}\\\" >> \\\"$GITHUB_ENV\\\"\\\n        \\n\"\n    - name: Install AdoptJDK\n      uses: actions/setup-java@v3\n      with:\n        distribution: adopt\n        java-version: '11'\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - if: runner.os == 'Linux'\n      name: Download Apache `thrift` binary (Linux)\n      run: 'mkdir -p \"${HOME}/.thrift\"\n\n        curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift -o \"${HOME}/.thrift/thrift\"\n\n        chmod +x \"${HOME}/.thrift/thrift\"\n\n        echo \"${HOME}/.thrift\" >> $GITHUB_PATH\n\n        '\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-x86_64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Run Python test shard 2/10\n      run: './pants test --shard=2/10 ::\n\n        '\n    - continue-on-error: true\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      if: always()\n      name: Upload test reports\n      run: 'export S3_DST=s3://logs.pantsbuild.org/test/reports/Linux-x86_64/$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)/${GITHUB_REF_NAME//\\//_}/${GITHUB_RUN_ID}/${GITHUB_RUN_ATTEMPT}/${GITHUB_JOB}\n\n        echo \"Uploading test reports to ${S3_DST}\"\n\n        ./pants run ./src/python/pants_release/copy_to_s3.py                   --                   --src-prefix=dist/test/reports                   --dst-prefix=${S3_DST}                   --path=\"\"\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-python-test-2_10-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  test_python_linux_x86_64_3:\n    env:\n      PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Test Python (Linux-x86_64) Shard 3/10\n    needs:\n    - bootstrap_pants_linux_x86_64\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      name: Launch bazel-remote\n      run: \"mkdir -p ~/bazel-remote\\nif [[ -z \\\"${AWS_ACCESS_KEY_ID}\\\" ]]; then\\n  CACHE_WRITE=false\\n  # If no secret read/write\\\n        \\ creds, use hard-coded read-only creds, so that\\n  # cross-fork PRs can at least read from the cache.\\n  # These\\\n        \\ creds are hard-coded here in this public repo, which makes the bucket\\n  # world-readable. But since putting raw\\\n        \\ AWS tokens in a public repo, even\\n  # deliberately, is icky, we base64-them. This will at least help hide from\\n\\\n        \\  # automated scanners that look for checked in AWS keys.\\n  # Not that it would be terrible if we were scanned,\\\n        \\ since this is public\\n  # on purpose, but it's best not to draw attention.\\n  AWS_ACCESS_KEY_ID=$(echo 'QUtJQVY2QTZHN1JRVkJJUVM1RUEK'\\\n        \\ | base64 -d)\\n  AWS_SECRET_ACCESS_KEY=$(echo 'd3dOQ1k1eHJJWVVtejZBblV6M0l1endXV0loQWZWcW9GZlVjMDlKRwo=' | base64\\\n        \\ -d)\\nelse\\n  CACHE_WRITE=true\\nfi\\ndocker run --detach -u 1001:1000                   -v ~/bazel-remote:/data  \\\n        \\                 -p 9092:9092                   buchgr/bazel-remote-cache:v2.4.1                   --s3.auth_method=access_key\\\n        \\                   --s3.access_key_id=\\\"${AWS_ACCESS_KEY_ID}\\\"                   --s3.secret_access_key=\\\"${AWS_SECRET_ACCESS_KEY}\\\"\\\n        \\                   --s3.bucket=cache.pantsbuild.org                   --s3.endpoint=s3.us-east-1.amazonaws.com  \\\n        \\                 --max_size 30\\necho \\\"PANTS_REMOTE_STORE_ADDRESS=grpc://localhost:9092\\\" >> \\\"$GITHUB_ENV\\\"\\necho\\\n        \\ \\\"PANTS_REMOTE_CACHE_READ=true\\\" >> \\\"$GITHUB_ENV\\\"\\necho \\\"PANTS_REMOTE_CACHE_WRITE=${CACHE_WRITE}\\\" >> \\\"$GITHUB_ENV\\\"\\\n        \\n\"\n    - name: Install AdoptJDK\n      uses: actions/setup-java@v3\n      with:\n        distribution: adopt\n        java-version: '11'\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - if: runner.os == 'Linux'\n      name: Download Apache `thrift` binary (Linux)\n      run: 'mkdir -p \"${HOME}/.thrift\"\n\n        curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift -o \"${HOME}/.thrift/thrift\"\n\n        chmod +x \"${HOME}/.thrift/thrift\"\n\n        echo \"${HOME}/.thrift\" >> $GITHUB_PATH\n\n        '\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-x86_64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Run Python test shard 3/10\n      run: './pants test --shard=3/10 ::\n\n        '\n    - continue-on-error: true\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      if: always()\n      name: Upload test reports\n      run: 'export S3_DST=s3://logs.pantsbuild.org/test/reports/Linux-x86_64/$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)/${GITHUB_REF_NAME//\\//_}/${GITHUB_RUN_ID}/${GITHUB_RUN_ATTEMPT}/${GITHUB_JOB}\n\n        echo \"Uploading test reports to ${S3_DST}\"\n\n        ./pants run ./src/python/pants_release/copy_to_s3.py                   --                   --src-prefix=dist/test/reports                   --dst-prefix=${S3_DST}                   --path=\"\"\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-python-test-3_10-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  test_python_linux_x86_64_4:\n    env:\n      PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Test Python (Linux-x86_64) Shard 4/10\n    needs:\n    - bootstrap_pants_linux_x86_64\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      name: Launch bazel-remote\n      run: \"mkdir -p ~/bazel-remote\\nif [[ -z \\\"${AWS_ACCESS_KEY_ID}\\\" ]]; then\\n  CACHE_WRITE=false\\n  # If no secret read/write\\\n        \\ creds, use hard-coded read-only creds, so that\\n  # cross-fork PRs can at least read from the cache.\\n  # These\\\n        \\ creds are hard-coded here in this public repo, which makes the bucket\\n  # world-readable. But since putting raw\\\n        \\ AWS tokens in a public repo, even\\n  # deliberately, is icky, we base64-them. This will at least help hide from\\n\\\n        \\  # automated scanners that look for checked in AWS keys.\\n  # Not that it would be terrible if we were scanned,\\\n        \\ since this is public\\n  # on purpose, but it's best not to draw attention.\\n  AWS_ACCESS_KEY_ID=$(echo 'QUtJQVY2QTZHN1JRVkJJUVM1RUEK'\\\n        \\ | base64 -d)\\n  AWS_SECRET_ACCESS_KEY=$(echo 'd3dOQ1k1eHJJWVVtejZBblV6M0l1endXV0loQWZWcW9GZlVjMDlKRwo=' | base64\\\n        \\ -d)\\nelse\\n  CACHE_WRITE=true\\nfi\\ndocker run --detach -u 1001:1000                   -v ~/bazel-remote:/data  \\\n        \\                 -p 9092:9092                   buchgr/bazel-remote-cache:v2.4.1                   --s3.auth_method=access_key\\\n        \\                   --s3.access_key_id=\\\"${AWS_ACCESS_KEY_ID}\\\"                   --s3.secret_access_key=\\\"${AWS_SECRET_ACCESS_KEY}\\\"\\\n        \\                   --s3.bucket=cache.pantsbuild.org                   --s3.endpoint=s3.us-east-1.amazonaws.com  \\\n        \\                 --max_size 30\\necho \\\"PANTS_REMOTE_STORE_ADDRESS=grpc://localhost:9092\\\" >> \\\"$GITHUB_ENV\\\"\\necho\\\n        \\ \\\"PANTS_REMOTE_CACHE_READ=true\\\" >> \\\"$GITHUB_ENV\\\"\\necho \\\"PANTS_REMOTE_CACHE_WRITE=${CACHE_WRITE}\\\" >> \\\"$GITHUB_ENV\\\"\\\n        \\n\"\n    - name: Install AdoptJDK\n      uses: actions/setup-java@v3\n      with:\n        distribution: adopt\n        java-version: '11'\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - if: runner.os == 'Linux'\n      name: Download Apache `thrift` binary (Linux)\n      run: 'mkdir -p \"${HOME}/.thrift\"\n\n        curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift -o \"${HOME}/.thrift/thrift\"\n\n        chmod +x \"${HOME}/.thrift/thrift\"\n\n        echo \"${HOME}/.thrift\" >> $GITHUB_PATH\n\n        '\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-x86_64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Run Python test shard 4/10\n      run: './pants test --shard=4/10 ::\n\n        '\n    - continue-on-error: true\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      if: always()\n      name: Upload test reports\n      run: 'export S3_DST=s3://logs.pantsbuild.org/test/reports/Linux-x86_64/$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)/${GITHUB_REF_NAME//\\//_}/${GITHUB_RUN_ID}/${GITHUB_RUN_ATTEMPT}/${GITHUB_JOB}\n\n        echo \"Uploading test reports to ${S3_DST}\"\n\n        ./pants run ./src/python/pants_release/copy_to_s3.py                   --                   --src-prefix=dist/test/reports                   --dst-prefix=${S3_DST}                   --path=\"\"\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-python-test-4_10-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  test_python_linux_x86_64_5:\n    env:\n      PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Test Python (Linux-x86_64) Shard 5/10\n    needs:\n    - bootstrap_pants_linux_x86_64\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      name: Launch bazel-remote\n      run: \"mkdir -p ~/bazel-remote\\nif [[ -z \\\"${AWS_ACCESS_KEY_ID}\\\" ]]; then\\n  CACHE_WRITE=false\\n  # If no secret read/write\\\n        \\ creds, use hard-coded read-only creds, so that\\n  # cross-fork PRs can at least read from the cache.\\n  # These\\\n        \\ creds are hard-coded here in this public repo, which makes the bucket\\n  # world-readable. But since putting raw\\\n        \\ AWS tokens in a public repo, even\\n  # deliberately, is icky, we base64-them. This will at least help hide from\\n\\\n        \\  # automated scanners that look for checked in AWS keys.\\n  # Not that it would be terrible if we were scanned,\\\n        \\ since this is public\\n  # on purpose, but it's best not to draw attention.\\n  AWS_ACCESS_KEY_ID=$(echo 'QUtJQVY2QTZHN1JRVkJJUVM1RUEK'\\\n        \\ | base64 -d)\\n  AWS_SECRET_ACCESS_KEY=$(echo 'd3dOQ1k1eHJJWVVtejZBblV6M0l1endXV0loQWZWcW9GZlVjMDlKRwo=' | base64\\\n        \\ -d)\\nelse\\n  CACHE_WRITE=true\\nfi\\ndocker run --detach -u 1001:1000                   -v ~/bazel-remote:/data  \\\n        \\                 -p 9092:9092                   buchgr/bazel-remote-cache:v2.4.1                   --s3.auth_method=access_key\\\n        \\                   --s3.access_key_id=\\\"${AWS_ACCESS_KEY_ID}\\\"                   --s3.secret_access_key=\\\"${AWS_SECRET_ACCESS_KEY}\\\"\\\n        \\                   --s3.bucket=cache.pantsbuild.org                   --s3.endpoint=s3.us-east-1.amazonaws.com  \\\n        \\                 --max_size 30\\necho \\\"PANTS_REMOTE_STORE_ADDRESS=grpc://localhost:9092\\\" >> \\\"$GITHUB_ENV\\\"\\necho\\\n        \\ \\\"PANTS_REMOTE_CACHE_READ=true\\\" >> \\\"$GITHUB_ENV\\\"\\necho \\\"PANTS_REMOTE_CACHE_WRITE=${CACHE_WRITE}\\\" >> \\\"$GITHUB_ENV\\\"\\\n        \\n\"\n    - name: Install AdoptJDK\n      uses: actions/setup-java@v3\n      with:\n        distribution: adopt\n        java-version: '11'\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - if: runner.os == 'Linux'\n      name: Download Apache `thrift` binary (Linux)\n      run: 'mkdir -p \"${HOME}/.thrift\"\n\n        curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift -o \"${HOME}/.thrift/thrift\"\n\n        chmod +x \"${HOME}/.thrift/thrift\"\n\n        echo \"${HOME}/.thrift\" >> $GITHUB_PATH\n\n        '\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-x86_64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Run Python test shard 5/10\n      run: './pants test --shard=5/10 ::\n\n        '\n    - continue-on-error: true\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      if: always()\n      name: Upload test reports\n      run: 'export S3_DST=s3://logs.pantsbuild.org/test/reports/Linux-x86_64/$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)/${GITHUB_REF_NAME//\\//_}/${GITHUB_RUN_ID}/${GITHUB_RUN_ATTEMPT}/${GITHUB_JOB}\n\n        echo \"Uploading test reports to ${S3_DST}\"\n\n        ./pants run ./src/python/pants_release/copy_to_s3.py                   --                   --src-prefix=dist/test/reports                   --dst-prefix=${S3_DST}                   --path=\"\"\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-python-test-5_10-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  test_python_linux_x86_64_6:\n    env:\n      PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Test Python (Linux-x86_64) Shard 6/10\n    needs:\n    - bootstrap_pants_linux_x86_64\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      name: Launch bazel-remote\n      run: \"mkdir -p ~/bazel-remote\\nif [[ -z \\\"${AWS_ACCESS_KEY_ID}\\\" ]]; then\\n  CACHE_WRITE=false\\n  # If no secret read/write\\\n        \\ creds, use hard-coded read-only creds, so that\\n  # cross-fork PRs can at least read from the cache.\\n  # These\\\n        \\ creds are hard-coded here in this public repo, which makes the bucket\\n  # world-readable. But since putting raw\\\n        \\ AWS tokens in a public repo, even\\n  # deliberately, is icky, we base64-them. This will at least help hide from\\n\\\n        \\  # automated scanners that look for checked in AWS keys.\\n  # Not that it would be terrible if we were scanned,\\\n        \\ since this is public\\n  # on purpose, but it's best not to draw attention.\\n  AWS_ACCESS_KEY_ID=$(echo 'QUtJQVY2QTZHN1JRVkJJUVM1RUEK'\\\n        \\ | base64 -d)\\n  AWS_SECRET_ACCESS_KEY=$(echo 'd3dOQ1k1eHJJWVVtejZBblV6M0l1endXV0loQWZWcW9GZlVjMDlKRwo=' | base64\\\n        \\ -d)\\nelse\\n  CACHE_WRITE=true\\nfi\\ndocker run --detach -u 1001:1000                   -v ~/bazel-remote:/data  \\\n        \\                 -p 9092:9092                   buchgr/bazel-remote-cache:v2.4.1                   --s3.auth_method=access_key\\\n        \\                   --s3.access_key_id=\\\"${AWS_ACCESS_KEY_ID}\\\"                   --s3.secret_access_key=\\\"${AWS_SECRET_ACCESS_KEY}\\\"\\\n        \\                   --s3.bucket=cache.pantsbuild.org                   --s3.endpoint=s3.us-east-1.amazonaws.com  \\\n        \\                 --max_size 30\\necho \\\"PANTS_REMOTE_STORE_ADDRESS=grpc://localhost:9092\\\" >> \\\"$GITHUB_ENV\\\"\\necho\\\n        \\ \\\"PANTS_REMOTE_CACHE_READ=true\\\" >> \\\"$GITHUB_ENV\\\"\\necho \\\"PANTS_REMOTE_CACHE_WRITE=${CACHE_WRITE}\\\" >> \\\"$GITHUB_ENV\\\"\\\n        \\n\"\n    - name: Install AdoptJDK\n      uses: actions/setup-java@v3\n      with:\n        distribution: adopt\n        java-version: '11'\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - if: runner.os == 'Linux'\n      name: Download Apache `thrift` binary (Linux)\n      run: 'mkdir -p \"${HOME}/.thrift\"\n\n        curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift -o \"${HOME}/.thrift/thrift\"\n\n        chmod +x \"${HOME}/.thrift/thrift\"\n\n        echo \"${HOME}/.thrift\" >> $GITHUB_PATH\n\n        '\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-x86_64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Run Python test shard 6/10\n      run: './pants test --shard=6/10 ::\n\n        '\n    - continue-on-error: true\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      if: always()\n      name: Upload test reports\n      run: 'export S3_DST=s3://logs.pantsbuild.org/test/reports/Linux-x86_64/$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)/${GITHUB_REF_NAME//\\//_}/${GITHUB_RUN_ID}/${GITHUB_RUN_ATTEMPT}/${GITHUB_JOB}\n\n        echo \"Uploading test reports to ${S3_DST}\"\n\n        ./pants run ./src/python/pants_release/copy_to_s3.py                   --                   --src-prefix=dist/test/reports                   --dst-prefix=${S3_DST}                   --path=\"\"\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-python-test-6_10-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  test_python_linux_x86_64_7:\n    env:\n      PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Test Python (Linux-x86_64) Shard 7/10\n    needs:\n    - bootstrap_pants_linux_x86_64\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      name: Launch bazel-remote\n      run: \"mkdir -p ~/bazel-remote\\nif [[ -z \\\"${AWS_ACCESS_KEY_ID}\\\" ]]; then\\n  CACHE_WRITE=false\\n  # If no secret read/write\\\n        \\ creds, use hard-coded read-only creds, so that\\n  # cross-fork PRs can at least read from the cache.\\n  # These\\\n        \\ creds are hard-coded here in this public repo, which makes the bucket\\n  # world-readable. But since putting raw\\\n        \\ AWS tokens in a public repo, even\\n  # deliberately, is icky, we base64-them. This will at least help hide from\\n\\\n        \\  # automated scanners that look for checked in AWS keys.\\n  # Not that it would be terrible if we were scanned,\\\n        \\ since this is public\\n  # on purpose, but it's best not to draw attention.\\n  AWS_ACCESS_KEY_ID=$(echo 'QUtJQVY2QTZHN1JRVkJJUVM1RUEK'\\\n        \\ | base64 -d)\\n  AWS_SECRET_ACCESS_KEY=$(echo 'd3dOQ1k1eHJJWVVtejZBblV6M0l1endXV0loQWZWcW9GZlVjMDlKRwo=' | base64\\\n        \\ -d)\\nelse\\n  CACHE_WRITE=true\\nfi\\ndocker run --detach -u 1001:1000                   -v ~/bazel-remote:/data  \\\n        \\                 -p 9092:9092                   buchgr/bazel-remote-cache:v2.4.1                   --s3.auth_method=access_key\\\n        \\                   --s3.access_key_id=\\\"${AWS_ACCESS_KEY_ID}\\\"                   --s3.secret_access_key=\\\"${AWS_SECRET_ACCESS_KEY}\\\"\\\n        \\                   --s3.bucket=cache.pantsbuild.org                   --s3.endpoint=s3.us-east-1.amazonaws.com  \\\n        \\                 --max_size 30\\necho \\\"PANTS_REMOTE_STORE_ADDRESS=grpc://localhost:9092\\\" >> \\\"$GITHUB_ENV\\\"\\necho\\\n        \\ \\\"PANTS_REMOTE_CACHE_READ=true\\\" >> \\\"$GITHUB_ENV\\\"\\necho \\\"PANTS_REMOTE_CACHE_WRITE=${CACHE_WRITE}\\\" >> \\\"$GITHUB_ENV\\\"\\\n        \\n\"\n    - name: Install AdoptJDK\n      uses: actions/setup-java@v3\n      with:\n        distribution: adopt\n        java-version: '11'\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - if: runner.os == 'Linux'\n      name: Download Apache `thrift` binary (Linux)\n      run: 'mkdir -p \"${HOME}/.thrift\"\n\n        curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift -o \"${HOME}/.thrift/thrift\"\n\n        chmod +x \"${HOME}/.thrift/thrift\"\n\n        echo \"${HOME}/.thrift\" >> $GITHUB_PATH\n\n        '\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-x86_64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Run Python test shard 7/10\n      run: './pants test --shard=7/10 ::\n\n        '\n    - continue-on-error: true\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      if: always()\n      name: Upload test reports\n      run: 'export S3_DST=s3://logs.pantsbuild.org/test/reports/Linux-x86_64/$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)/${GITHUB_REF_NAME//\\//_}/${GITHUB_RUN_ID}/${GITHUB_RUN_ATTEMPT}/${GITHUB_JOB}\n\n        echo \"Uploading test reports to ${S3_DST}\"\n\n        ./pants run ./src/python/pants_release/copy_to_s3.py                   --                   --src-prefix=dist/test/reports                   --dst-prefix=${S3_DST}                   --path=\"\"\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-python-test-7_10-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  test_python_linux_x86_64_8:\n    env:\n      PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Test Python (Linux-x86_64) Shard 8/10\n    needs:\n    - bootstrap_pants_linux_x86_64\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      name: Launch bazel-remote\n      run: \"mkdir -p ~/bazel-remote\\nif [[ -z \\\"${AWS_ACCESS_KEY_ID}\\\" ]]; then\\n  CACHE_WRITE=false\\n  # If no secret read/write\\\n        \\ creds, use hard-coded read-only creds, so that\\n  # cross-fork PRs can at least read from the cache.\\n  # These\\\n        \\ creds are hard-coded here in this public repo, which makes the bucket\\n  # world-readable. But since putting raw\\\n        \\ AWS tokens in a public repo, even\\n  # deliberately, is icky, we base64-them. This will at least help hide from\\n\\\n        \\  # automated scanners that look for checked in AWS keys.\\n  # Not that it would be terrible if we were scanned,\\\n        \\ since this is public\\n  # on purpose, but it's best not to draw attention.\\n  AWS_ACCESS_KEY_ID=$(echo 'QUtJQVY2QTZHN1JRVkJJUVM1RUEK'\\\n        \\ | base64 -d)\\n  AWS_SECRET_ACCESS_KEY=$(echo 'd3dOQ1k1eHJJWVVtejZBblV6M0l1endXV0loQWZWcW9GZlVjMDlKRwo=' | base64\\\n        \\ -d)\\nelse\\n  CACHE_WRITE=true\\nfi\\ndocker run --detach -u 1001:1000                   -v ~/bazel-remote:/data  \\\n        \\                 -p 9092:9092                   buchgr/bazel-remote-cache:v2.4.1                   --s3.auth_method=access_key\\\n        \\                   --s3.access_key_id=\\\"${AWS_ACCESS_KEY_ID}\\\"                   --s3.secret_access_key=\\\"${AWS_SECRET_ACCESS_KEY}\\\"\\\n        \\                   --s3.bucket=cache.pantsbuild.org                   --s3.endpoint=s3.us-east-1.amazonaws.com  \\\n        \\                 --max_size 30\\necho \\\"PANTS_REMOTE_STORE_ADDRESS=grpc://localhost:9092\\\" >> \\\"$GITHUB_ENV\\\"\\necho\\\n        \\ \\\"PANTS_REMOTE_CACHE_READ=true\\\" >> \\\"$GITHUB_ENV\\\"\\necho \\\"PANTS_REMOTE_CACHE_WRITE=${CACHE_WRITE}\\\" >> \\\"$GITHUB_ENV\\\"\\\n        \\n\"\n    - name: Install AdoptJDK\n      uses: actions/setup-java@v3\n      with:\n        distribution: adopt\n        java-version: '11'\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - if: runner.os == 'Linux'\n      name: Download Apache `thrift` binary (Linux)\n      run: 'mkdir -p \"${HOME}/.thrift\"\n\n        curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift -o \"${HOME}/.thrift/thrift\"\n\n        chmod +x \"${HOME}/.thrift/thrift\"\n\n        echo \"${HOME}/.thrift\" >> $GITHUB_PATH\n\n        '\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-x86_64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Run Python test shard 8/10\n      run: './pants test --shard=8/10 ::\n\n        '\n    - continue-on-error: true\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      if: always()\n      name: Upload test reports\n      run: 'export S3_DST=s3://logs.pantsbuild.org/test/reports/Linux-x86_64/$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)/${GITHUB_REF_NAME//\\//_}/${GITHUB_RUN_ID}/${GITHUB_RUN_ATTEMPT}/${GITHUB_JOB}\n\n        echo \"Uploading test reports to ${S3_DST}\"\n\n        ./pants run ./src/python/pants_release/copy_to_s3.py                   --                   --src-prefix=dist/test/reports                   --dst-prefix=${S3_DST}                   --path=\"\"\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-python-test-8_10-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  test_python_linux_x86_64_9:\n    env:\n      PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Test Python (Linux-x86_64) Shard 9/10\n    needs:\n    - bootstrap_pants_linux_x86_64\n    - classify_changes\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      name: Launch bazel-remote\n      run: \"mkdir -p ~/bazel-remote\\nif [[ -z \\\"${AWS_ACCESS_KEY_ID}\\\" ]]; then\\n  CACHE_WRITE=false\\n  # If no secret read/write\\\n        \\ creds, use hard-coded read-only creds, so that\\n  # cross-fork PRs can at least read from the cache.\\n  # These\\\n        \\ creds are hard-coded here in this public repo, which makes the bucket\\n  # world-readable. But since putting raw\\\n        \\ AWS tokens in a public repo, even\\n  # deliberately, is icky, we base64-them. This will at least help hide from\\n\\\n        \\  # automated scanners that look for checked in AWS keys.\\n  # Not that it would be terrible if we were scanned,\\\n        \\ since this is public\\n  # on purpose, but it's best not to draw attention.\\n  AWS_ACCESS_KEY_ID=$(echo 'QUtJQVY2QTZHN1JRVkJJUVM1RUEK'\\\n        \\ | base64 -d)\\n  AWS_SECRET_ACCESS_KEY=$(echo 'd3dOQ1k1eHJJWVVtejZBblV6M0l1endXV0loQWZWcW9GZlVjMDlKRwo=' | base64\\\n        \\ -d)\\nelse\\n  CACHE_WRITE=true\\nfi\\ndocker run --detach -u 1001:1000                   -v ~/bazel-remote:/data  \\\n        \\                 -p 9092:9092                   buchgr/bazel-remote-cache:v2.4.1                   --s3.auth_method=access_key\\\n        \\                   --s3.access_key_id=\\\"${AWS_ACCESS_KEY_ID}\\\"                   --s3.secret_access_key=\\\"${AWS_SECRET_ACCESS_KEY}\\\"\\\n        \\                   --s3.bucket=cache.pantsbuild.org                   --s3.endpoint=s3.us-east-1.amazonaws.com  \\\n        \\                 --max_size 30\\necho \\\"PANTS_REMOTE_STORE_ADDRESS=grpc://localhost:9092\\\" >> \\\"$GITHUB_ENV\\\"\\necho\\\n        \\ \\\"PANTS_REMOTE_CACHE_READ=true\\\" >> \\\"$GITHUB_ENV\\\"\\necho \\\"PANTS_REMOTE_CACHE_WRITE=${CACHE_WRITE}\\\" >> \\\"$GITHUB_ENV\\\"\\\n        \\n\"\n    - name: Install AdoptJDK\n      uses: actions/setup-java@v3\n      with:\n        distribution: adopt\n        java-version: '11'\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - if: runner.os == 'Linux'\n      name: Download Apache `thrift` binary (Linux)\n      run: 'mkdir -p \"${HOME}/.thrift\"\n\n        curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift -o \"${HOME}/.thrift/thrift\"\n\n        chmod +x \"${HOME}/.thrift/thrift\"\n\n        echo \"${HOME}/.thrift\" >> $GITHUB_PATH\n\n        '\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.Linux-x86_64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Run Python test shard 9/10\n      run: './pants test --shard=9/10 ::\n\n        '\n    - continue-on-error: true\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      if: always()\n      name: Upload test reports\n      run: 'export S3_DST=s3://logs.pantsbuild.org/test/reports/Linux-x86_64/$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)/${GITHUB_REF_NAME//\\//_}/${GITHUB_RUN_ID}/${GITHUB_RUN_ATTEMPT}/${GITHUB_JOB}\n\n        echo \"Uploading test reports to ${S3_DST}\"\n\n        ./pants run ./src/python/pants_release/copy_to_s3.py                   --                   --src-prefix=dist/test/reports                   --dst-prefix=${S3_DST}                   --path=\"\"\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-python-test-9_10-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\n  test_python_macos12_x86_64:\n    env:\n      ARCHFLAGS: -arch x86_64\n    if: (github.repository_owner == 'pantsbuild') && (needs.classify_changes.outputs.docs_only != 'true')\n    name: Test Python (macOS12-x86_64)\n    needs:\n    - bootstrap_pants_macos12_x86_64\n    - classify_changes\n    runs-on:\n    - macos-12\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - name: Install AdoptJDK\n      uses: actions/setup-java@v3\n      with:\n        distribution: adopt\n        java-version: '11'\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - name: Download native binaries\n      uses: actions/download-artifact@v3\n      with:\n        name: native_binaries.${{ matrix.python-version }}.macOS12-x86_64\n        path: src/python/pants\n    - name: Make native-client runnable\n      run: chmod +x src/python/pants/bin/native_client\n    - name: Run Python tests\n      run: './pants --tag=+platform_specific_behavior test :: -- -m platform_specific_behavior\n\n        '\n    - continue-on-error: true\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      if: always()\n      name: Upload test reports\n      run: 'export S3_DST=s3://logs.pantsbuild.org/test/reports/macOS12-x86_64/$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)/${GITHUB_REF_NAME//\\//_}/${GITHUB_RUN_ID}/${GITHUB_RUN_ATTEMPT}/${GITHUB_JOB}\n\n        echo \"Uploading test reports to ${S3_DST}\"\n\n        ./pants run ./src/python/pants_release/copy_to_s3.py                   --                   --src-prefix=dist/test/reports                   --dst-prefix=${S3_DST}                   --path=\"\"\n\n        '\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-python-test-macOS12-x86_64\n        path: .pants.d/workdir/*.log\n    timeout-minutes: 90\nname: Pull Request CI\n'on':\n  pull_request: {}\n  push:\n    branches:\n    - main\n    - 2.*.x\n", "state": "active", "repository": "pantsbuild/pants"}
{"mined_at": "2024-07-15T15:09:38.211484", "created_at": "2021-03-11T18:35:59+01:00", "updated_at": "2021-03-11T18:35:59+01:00", "name": "Cargo Audit", "path": ".github/workflows/audit.yaml", "contents": "# GENERATED, DO NOT EDIT!\n# To change, edit `src/python/pants_release/generate_github_workflows.py` and run:\n#   ./pants run src/python/pants_release/generate_github_workflows.py\n\n\njobs:\n  audit:\n    if: github.repository_owner == 'pantsbuild'\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - name: Cargo audit (for security vulnerabilities)\n      run: './cargo install --version 0.17.5 cargo-audit\n\n        ./cargo audit --ignore RUSTSEC-2020-0128\n\n        '\nname: Cargo Audit\n'on':\n  schedule:\n  - cron: 11 8 * * *\n  workflow_dispatch: null\n", "state": "active", "repository": "pantsbuild/pants"}
{"mined_at": "2024-07-15T15:09:39.328478", "created_at": "2022-04-19T18:19:02+02:00", "updated_at": "2022-04-19T18:19:02+02:00", "name": "Cache Comparison", "path": ".github/workflows/cache_comparison.yaml", "contents": "# GENERATED, DO NOT EDIT!\n# To change, edit `src/python/pants_release/generate_github_workflows.py` and run:\n#   ./pants run src/python/pants_release/generate_github_workflows.py\n\n\njobs:\n  cache_comparison:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - env:\n        BASE_REF: ${{ github.event.inputs.base_ref }}\n        BUILD_COMMIT: ${{ github.event.inputs.build_commit }}\n        PANTS_ARGS: ${{ github.event.inputs.pants_args }}\n        SOURCE_DIFFSPEC: ${{ github.event.inputs.source_diffspec }}\n        SOURCE_DIFFSPEC_STEP: ${{ github.event.inputs.source_diffspec_step }}\n      name: Prepare cache comparison\n      run: 'MODE=debug ./pants package build-support/bin/cache_comparison.py\n\n        git fetch --no-tags --depth=1024 origin \"$BASE_REF\"\n\n        '\n    - env:\n        BASE_REF: ${{ github.event.inputs.base_ref }}\n        BUILD_COMMIT: ${{ github.event.inputs.build_commit }}\n        PANTS_ARGS: ${{ github.event.inputs.pants_args }}\n        SOURCE_DIFFSPEC: ${{ github.event.inputs.source_diffspec }}\n        SOURCE_DIFFSPEC_STEP: ${{ github.event.inputs.source_diffspec_step }}\n      name: Run cache comparison\n      run: \"dist/build-support.bin/cache_comparison_py.pex \\\\\\n  --args=\\\"$PANTS_ARGS\\\"\\\n        \\ \\\\\\n  --build-commit=\\\"$BUILD_COMMIT\\\" \\\\\\n  --source-diffspec=\\\"$SOURCE_DIFFSPEC\\\"\\\n        \\ \\\\\\n  --source-diffspec-step=$SOURCE_DIFFSPEC_STEP\\n\"\n    timeout-minutes: 90\nname: Cache Comparison\n'on':\n  workflow_dispatch:\n    inputs:\n      base_ref:\n        default: main\n        required: false\n        type: string\n      build_commit:\n        required: true\n        type: string\n      pants_args:\n        default: 'check lint test ::'\n        required: false\n        type: string\n      source_diffspec:\n        required: true\n        type: string\n      source_diffspec_step:\n        default: 1\n        required: false\n        type: int\n", "state": "active", "repository": "pantsbuild/pants"}
{"mined_at": "2024-07-15T15:09:40.359799", "created_at": "2022-12-14T16:26:56+01:00", "updated_at": "2023-12-01T02:10:46+01:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "# GENERATED, DO NOT EDIT!\n# To change, edit `src/python/pants_release/generate_github_workflows.py` and run:\n#   ./pants run src/python/pants_release/generate_github_workflows.py\n\n\njobs:\n  build_wheels_linux_arm64:\n    container:\n      image: ghcr.io/pantsbuild/wheel_build_aarch64:v3-8384c5cf\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    if: github.repository_owner == 'pantsbuild'\n    name: Build wheels (Linux-ARM64)\n    needs:\n    - release_info\n    runs-on:\n    - self-hosted\n    - Linux\n    - ARM64\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        ref: ${{ needs.release_info.outputs.build-ref }}\n    - name: Configure Git\n      run: git config --global safe.directory \"$GITHUB_WORKSPACE\"\n    - name: Install rustup\n      run: 'curl --proto ''=https'' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s --\n        -v -y --default-toolchain none\n\n        echo \"${HOME}/.cargo/bin\" >> $GITHUB_PATH\n\n        '\n    - name: Expose Pythons\n      run: 'echo \"/opt/python/cp37-cp37m/bin\" >> $GITHUB_PATH\n\n        echo \"/opt/python/cp38-cp38/bin\" >> $GITHUB_PATH\n\n        echo \"/opt/python/cp39-cp39/bin\" >> $GITHUB_PATH\n\n        '\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - env:\n        PANTS_CONFIG_FILES: +['pants.ci.toml','pants.ci.aarch64.toml']\n      name: Build wheels\n      run: ./pants run src/python/pants_release/release.py -- build-wheels\n    - env:\n        PANTS_CONFIG_FILES: +['pants.ci.toml','pants.ci.aarch64.toml']\n      name: Build Pants PEX\n      run: ./pants package src/python/pants:pants-pex\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-wheels-and-pex-Linux-ARM64\n        path: .pants.d/workdir/*.log\n    - if: needs.release_info.outputs.is-release == 'true'\n      name: Upload Wheel and Pex\n      run: \"PANTS_VER=$(PEX_INTERPRETER=1 dist/src.python.pants/pants-pex.pex -c \\\"\\\n        import pants.version;print(pants.version.VERSION)\\\")\\nPY_VER=$(PEX_INTERPRETER=1\\\n        \\ dist/src.python.pants/pants-pex.pex -c \\\"import sys;print(f'cp{sys.version_info[0]}{sys.version_info[1]}')\\\"\\\n        )\\nPLAT=$(PEX_INTERPRETER=1 dist/src.python.pants/pants-pex.pex -c \\\"import\\\n        \\ os;print(f'{os.uname().sysname.lower()}_{os.uname().machine.lower()}')\\\"\\\n        )\\nPEX_FILENAME=pants.$PANTS_VER-$PY_VER-$PLAT.pex\\n\\nmv dist/src.python.pants/pants-pex.pex\\\n        \\ dist/src.python.pants/$PEX_FILENAME\\n\\ncurl -L --fail \\\\\\n    -X POST \\\\\\\n        \\n    -H \\\"Authorization: Bearer ${{ github.token }}\\\" \\\\\\n    -H \\\"Content-Type:\\\n        \\ application/octet-stream\\\" \\\\\\n    ${{ needs.release_info.outputs.release-asset-upload-url\\\n        \\ }}?name=$PEX_FILENAME \\\\\\n    --data-binary \\\"@dist/src.python.pants/$PEX_FILENAME\\\"\\\n        \\n\\nWHL=$(find dist/deploy/wheels/pantsbuild.pants -type f -name \\\"pantsbuild.pants-*.whl\\\"\\\n        )\\ncurl -L --fail \\\\\\n    -X POST \\\\\\n    -H \\\"Authorization: Bearer ${{ github.token\\\n        \\ }}\\\" \\\\\\n    -H \\\"Content-Type: application/octet-stream\\\" \\\\\\n    \\\"${{\\\n        \\ needs.release_info.outputs.release-asset-upload-url }}?name=$(basename $WHL)\\\"\\\n        \\ \\\\\\n    --data-binary \\\"@$WHL\\\";\\n\"\n    timeout-minutes: 90\n  build_wheels_linux_x86_64:\n    container:\n      image: quay.io/pypa/manylinux2014_x86_64:latest\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    if: github.repository_owner == 'pantsbuild'\n    name: Build wheels (Linux-x86_64)\n    needs:\n    - release_info\n    runs-on:\n    - ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        ref: ${{ needs.release_info.outputs.build-ref }}\n    - name: Configure Git\n      run: git config --global safe.directory \"$GITHUB_WORKSPACE\"\n    - name: Install rustup\n      run: 'curl --proto ''=https'' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s --\n        -v -y --default-toolchain none\n\n        echo \"${HOME}/.cargo/bin\" >> $GITHUB_PATH\n\n        '\n    - name: Expose Pythons\n      run: 'echo \"/opt/python/cp37-cp37m/bin\" >> $GITHUB_PATH\n\n        echo \"/opt/python/cp38-cp38/bin\" >> $GITHUB_PATH\n\n        echo \"/opt/python/cp39-cp39/bin\" >> $GITHUB_PATH\n\n        '\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - env:\n        PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n      name: Build wheels\n      run: ./pants run src/python/pants_release/release.py -- build-wheels\n    - env:\n        PANTS_PROCESS_EXECUTION_LOCAL_PARALLELISM: '1'\n      name: Build Pants PEX\n      run: ./pants package src/python/pants:pants-pex\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-wheels-and-pex-Linux-x86_64\n        path: .pants.d/workdir/*.log\n    - if: needs.release_info.outputs.is-release == 'true'\n      name: Upload Wheel and Pex\n      run: \"PANTS_VER=$(PEX_INTERPRETER=1 dist/src.python.pants/pants-pex.pex -c \\\"\\\n        import pants.version;print(pants.version.VERSION)\\\")\\nPY_VER=$(PEX_INTERPRETER=1\\\n        \\ dist/src.python.pants/pants-pex.pex -c \\\"import sys;print(f'cp{sys.version_info[0]}{sys.version_info[1]}')\\\"\\\n        )\\nPLAT=$(PEX_INTERPRETER=1 dist/src.python.pants/pants-pex.pex -c \\\"import\\\n        \\ os;print(f'{os.uname().sysname.lower()}_{os.uname().machine.lower()}')\\\"\\\n        )\\nPEX_FILENAME=pants.$PANTS_VER-$PY_VER-$PLAT.pex\\n\\nmv dist/src.python.pants/pants-pex.pex\\\n        \\ dist/src.python.pants/$PEX_FILENAME\\n\\ncurl -L --fail \\\\\\n    -X POST \\\\\\\n        \\n    -H \\\"Authorization: Bearer ${{ github.token }}\\\" \\\\\\n    -H \\\"Content-Type:\\\n        \\ application/octet-stream\\\" \\\\\\n    ${{ needs.release_info.outputs.release-asset-upload-url\\\n        \\ }}?name=$PEX_FILENAME \\\\\\n    --data-binary \\\"@dist/src.python.pants/$PEX_FILENAME\\\"\\\n        \\n\\nWHL=$(find dist/deploy/wheels/pantsbuild.pants -type f -name \\\"pantsbuild.pants-*.whl\\\"\\\n        )\\ncurl -L --fail \\\\\\n    -X POST \\\\\\n    -H \\\"Authorization: Bearer ${{ github.token\\\n        \\ }}\\\" \\\\\\n    -H \\\"Content-Type: application/octet-stream\\\" \\\\\\n    \\\"${{\\\n        \\ needs.release_info.outputs.release-asset-upload-url }}?name=$(basename $WHL)\\\"\\\n        \\ \\\\\\n    --data-binary \\\"@$WHL\\\";\\n\"\n    - if: needs.release_info.outputs.is-release == 'true'\n      name: Upload testutil Wheel\n      run: \"WHL=$(find dist/deploy/wheels/pantsbuild.pants -type f -name \\\"pantsbuild.pants.testutil*.whl\\\"\\\n        )\\ncurl -L --fail \\\\\\n    -X POST \\\\\\n    -H \\\"Authorization: Bearer ${{ github.token\\\n        \\ }}\\\" \\\\\\n    -H \\\"Content-Type: application/octet-stream\\\" \\\\\\n    \\\"${{\\\n        \\ needs.release_info.outputs.release-asset-upload-url }}?name=$(basename $WHL)\\\"\\\n        \\ \\\\\\n    --data-binary \\\"@$WHL\\\";\\n\"\n    timeout-minutes: 90\n  build_wheels_macos10_15_x86_64:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    if: github.repository_owner == 'pantsbuild'\n    name: Build wheels (macOS10-15-x86_64)\n    needs:\n    - release_info\n    runs-on:\n    - self-hosted\n    - macOS-10.15-X64\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        ref: ${{ needs.release_info.outputs.build-ref }}\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Set rustup profile\n      run: rustup set profile default\n    - name: Cache Rust toolchain\n      uses: actions/cache@v3\n      with:\n        key: macOS10-15-x86_64-rustup-${{ hashFiles('src/rust/engine/rust-toolchain')\n          }}-v2\n        path: '~/.rustup/toolchains/1.78.0-*\n\n          ~/.rustup/update-hashes\n\n          ~/.rustup/settings.toml\n\n          '\n    - name: Cache Cargo\n      uses: benjyw/rust-cache@461b9f8eee66b575bce78977bf649b8b7a8d53f1\n      with:\n        cache-bin: 'false'\n        shared-key: engine\n        workspaces: src/rust/engine\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - env:\n        ARCHFLAGS: -arch x86_64\n      name: Build wheels\n      run: ./pants run src/python/pants_release/release.py -- build-wheels\n    - env:\n        ARCHFLAGS: -arch x86_64\n      name: Build Pants PEX\n      run: ./pants package src/python/pants:pants-pex\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-wheels-and-pex-macOS10-15-x86_64\n        path: .pants.d/workdir/*.log\n    - if: needs.release_info.outputs.is-release == 'true'\n      name: Upload Wheel and Pex\n      run: \"PANTS_VER=$(PEX_INTERPRETER=1 dist/src.python.pants/pants-pex.pex -c \\\"\\\n        import pants.version;print(pants.version.VERSION)\\\")\\nPY_VER=$(PEX_INTERPRETER=1\\\n        \\ dist/src.python.pants/pants-pex.pex -c \\\"import sys;print(f'cp{sys.version_info[0]}{sys.version_info[1]}')\\\"\\\n        )\\nPLAT=$(PEX_INTERPRETER=1 dist/src.python.pants/pants-pex.pex -c \\\"import\\\n        \\ os;print(f'{os.uname().sysname.lower()}_{os.uname().machine.lower()}')\\\"\\\n        )\\nPEX_FILENAME=pants.$PANTS_VER-$PY_VER-$PLAT.pex\\n\\nmv dist/src.python.pants/pants-pex.pex\\\n        \\ dist/src.python.pants/$PEX_FILENAME\\n\\ncurl -L --fail \\\\\\n    -X POST \\\\\\\n        \\n    -H \\\"Authorization: Bearer ${{ github.token }}\\\" \\\\\\n    -H \\\"Content-Type:\\\n        \\ application/octet-stream\\\" \\\\\\n    ${{ needs.release_info.outputs.release-asset-upload-url\\\n        \\ }}?name=$PEX_FILENAME \\\\\\n    --data-binary \\\"@dist/src.python.pants/$PEX_FILENAME\\\"\\\n        \\n\\nWHL=$(find dist/deploy/wheels/pantsbuild.pants -type f -name \\\"pantsbuild.pants-*.whl\\\"\\\n        )\\ncurl -L --fail \\\\\\n    -X POST \\\\\\n    -H \\\"Authorization: Bearer ${{ github.token\\\n        \\ }}\\\" \\\\\\n    -H \\\"Content-Type: application/octet-stream\\\" \\\\\\n    \\\"${{\\\n        \\ needs.release_info.outputs.release-asset-upload-url }}?name=$(basename $WHL)\\\"\\\n        \\ \\\\\\n    --data-binary \\\"@$WHL\\\";\\n\"\n    timeout-minutes: 90\n  build_wheels_macos11_arm64:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    if: github.repository_owner == 'pantsbuild'\n    name: Build wheels (macOS11-ARM64)\n    needs:\n    - release_info\n    runs-on:\n    - self-hosted\n    - macOS-11-ARM64\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        ref: ${{ needs.release_info.outputs.build-ref }}\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Set rustup profile\n      run: rustup set profile default\n    - name: Cache Rust toolchain\n      uses: actions/cache@v3\n      with:\n        key: macOS11-ARM64-rustup-${{ hashFiles('src/rust/engine/rust-toolchain')\n          }}-v2\n        path: '~/.rustup/toolchains/1.78.0-*\n\n          ~/.rustup/update-hashes\n\n          ~/.rustup/settings.toml\n\n          '\n    - name: Cache Cargo\n      uses: benjyw/rust-cache@461b9f8eee66b575bce78977bf649b8b7a8d53f1\n      with:\n        cache-bin: 'false'\n        shared-key: engine\n        workspaces: src/rust/engine\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - env:\n        ARCHFLAGS: -arch arm64\n      name: Build wheels\n      run: ./pants run src/python/pants_release/release.py -- build-wheels\n    - env:\n        ARCHFLAGS: -arch arm64\n      name: Build Pants PEX\n      run: ./pants package src/python/pants:pants-pex\n    - continue-on-error: true\n      if: always()\n      name: Upload pants.log\n      uses: actions/upload-artifact@v3\n      with:\n        name: logs-wheels-and-pex-macOS11-ARM64\n        path: .pants.d/workdir/*.log\n    - if: needs.release_info.outputs.is-release == 'true'\n      name: Upload Wheel and Pex\n      run: \"PANTS_VER=$(PEX_INTERPRETER=1 dist/src.python.pants/pants-pex.pex -c \\\"\\\n        import pants.version;print(pants.version.VERSION)\\\")\\nPY_VER=$(PEX_INTERPRETER=1\\\n        \\ dist/src.python.pants/pants-pex.pex -c \\\"import sys;print(f'cp{sys.version_info[0]}{sys.version_info[1]}')\\\"\\\n        )\\nPLAT=$(PEX_INTERPRETER=1 dist/src.python.pants/pants-pex.pex -c \\\"import\\\n        \\ os;print(f'{os.uname().sysname.lower()}_{os.uname().machine.lower()}')\\\"\\\n        )\\nPEX_FILENAME=pants.$PANTS_VER-$PY_VER-$PLAT.pex\\n\\nmv dist/src.python.pants/pants-pex.pex\\\n        \\ dist/src.python.pants/$PEX_FILENAME\\n\\ncurl -L --fail \\\\\\n    -X POST \\\\\\\n        \\n    -H \\\"Authorization: Bearer ${{ github.token }}\\\" \\\\\\n    -H \\\"Content-Type:\\\n        \\ application/octet-stream\\\" \\\\\\n    ${{ needs.release_info.outputs.release-asset-upload-url\\\n        \\ }}?name=$PEX_FILENAME \\\\\\n    --data-binary \\\"@dist/src.python.pants/$PEX_FILENAME\\\"\\\n        \\n\\nWHL=$(find dist/deploy/wheels/pantsbuild.pants -type f -name \\\"pantsbuild.pants-*.whl\\\"\\\n        )\\ncurl -L --fail \\\\\\n    -X POST \\\\\\n    -H \\\"Authorization: Bearer ${{ github.token\\\n        \\ }}\\\" \\\\\\n    -H \\\"Content-Type: application/octet-stream\\\" \\\\\\n    \\\"${{\\\n        \\ needs.release_info.outputs.release-asset-upload-url }}?name=$(basename $WHL)\\\"\\\n        \\ \\\\\\n    --data-binary \\\"@$WHL\\\";\\n\"\n    timeout-minutes: 90\n  publish:\n    env:\n      MODE: debug\n    if: github.repository_owner == 'pantsbuild' && needs.release_info.outputs.is-release\n      == 'true'\n    needs:\n    - build_wheels_linux_x86_64\n    - build_wheels_linux_arm64\n    - build_wheels_macos10_15_x86_64\n    - build_wheels_macos11_arm64\n    - release_info\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Pants at Release Tag\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: '0'\n        fetch-tags: true\n        ref: ${{ needs.release_info.outputs.build-ref }}\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Expose Pythons\n      uses: pantsbuild/actions/expose-pythons@627a8ce25d972afa03da1641be9261bbbe0e3ffe\n    - name: Install Protoc\n      uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        version: 23.x\n    - name: Set rustup profile\n      run: rustup set profile default\n    - name: Cache Rust toolchain\n      uses: actions/cache@v3\n      with:\n        key: Linux-x86_64-rustup-${{ hashFiles('src/rust/engine/rust-toolchain') }}-v2\n        path: '~/.rustup/toolchains/1.78.0-*\n\n          ~/.rustup/update-hashes\n\n          ~/.rustup/settings.toml\n\n          '\n    - name: Cache Cargo\n      uses: benjyw/rust-cache@461b9f8eee66b575bce78977bf649b8b7a8d53f1\n      with:\n        cache-bin: 'false'\n        shared-key: engine\n        workspaces: src/rust/engine\n    - id: get-engine-hash\n      name: Get native engine hash\n      run: echo \"hash=$(./build-support/bin/rust/print_engine_hash.sh)\" >> $GITHUB_OUTPUT\n      shell: bash\n    - name: Cache native engine\n      uses: actions/cache@v3\n      with:\n        key: Linux-x86_64-engine-${{ steps.get-engine-hash.outputs.hash }}-v1\n        path: 'src/python/pants/bin/native_client\n\n          src/python/pants/engine/internals/native_engine.so\n\n          src/python/pants/engine/internals/native_engine.so.metadata'\n    - name: Generate announcement\n      run: './pants run src/python/pants_release/generate_release_announcement.py                         --\n        --output-dir=${{ runner.temp }}\n\n        '\n    - env:\n        SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n      name: Announce to Slack\n      uses: slackapi/slack-github-action@v1.24.0\n      with:\n        channel-id: C18RRR4JK\n        payload-file-path: ${{ runner.temp }}/slack_announcement.json\n    - name: Announce to pants-devel\n      uses: dawidd6/action-send-mail@v3.8.0\n      with:\n        body: file://${{ runner.temp }}/email_announcement_body.md\n        connection_url: ${{ secrets.EMAIL_CONNECTION_URL }}\n        convert_markdown: true\n        from: Pants Announce\n        secure: true\n        subject: file://${{ runner.temp }}/email_announcement_subject.txt\n        to: pants-devel@googlegroups.com\n    - env:\n        GH_REPO: ${{ github.repository }}\n        GH_TOKEN: ${{ github.token }}\n      name: Get release notes\n      run: './pants run src/python/pants_release/changelog.py -- \"${{ needs.release_info.outputs.build-ref\n        }}\" > notes.txt\n\n        '\n    - env:\n        GH_REPO: ${{ github.repository }}\n        GH_TOKEN: ${{ github.token }}\n      name: Publish GitHub Release\n      run: 'gh release edit ${{ needs.release_info.outputs.build-ref }} --draft=false\n        --notes-file notes.txt\n\n        '\n    - env:\n        GH_TOKEN: ${{ secrets.WORKER_PANTS_CHEESESHOP_TRIGGER_PAT }}\n      name: Trigger cheeseshop build\n      run: 'gh api -X POST \"/repos/pantsbuild/wheels.pantsbuild.org/dispatches\" -F\n        event_type=github-pages\n\n        '\n    - env:\n        GH_TOKEN: ${{ secrets.WORKER_PANTS_PANTSBUILD_ORG_TRIGGER_PAT }}\n      if: needs.release_info.outputs.is-release == 'true'\n      name: Trigger docs sync\n      run: 'RELEASE_TAG=${{ needs.release_info.outputs.build-ref }}\n\n        RELEASE_VERSION=\"${RELEASE_TAG#release_}\"\n\n        gh workflow run sync_docs.yml -F \"version=$RELEASE_VERSION\" -F \"reviewer=${{\n        github.actor }}\" -R pantsbuild/pantsbuild.org\n\n        '\n  release_info:\n    if: github.repository_owner == 'pantsbuild'\n    name: Create draft release and output info\n    outputs:\n      build-ref: ${{ steps.get_info.outputs.build-ref }}\n      is-release: ${{ steps.get_info.outputs.is-release }}\n      release-asset-upload-url: ${{ steps.make_draft_release.outputs.release-asset-upload-url\n        }}\n    runs-on: ubuntu-latest\n    steps:\n    - env:\n        REF: ${{ github.event.inputs.ref }}\n      id: get_info\n      name: Determine ref to build\n      run: \"if [[ -n \\\"$REF\\\" ]]; then\\n    ref=\\\"$REF\\\"\\nelse\\n    ref=\\\"${GITHUB_REF#refs/tags/}\\\"\\\n        \\nfi\\necho \\\"build-ref=${ref}\\\" >> $GITHUB_OUTPUT\\nif [[ \\\"${ref}\\\" =~ ^release_.+$\\\n        \\ ]]; then\\n    echo \\\"is-release=true\\\" >> $GITHUB_OUTPUT\\nfi\\n\"\n    - env:\n        GH_REPO: ${{ github.repository }}\n        GH_TOKEN: ${{ github.token }}\n      id: make_draft_release\n      if: github.repository_owner == 'pantsbuild' && steps.get_info.outputs.is-release\n        == 'true'\n      name: Make GitHub Release\n      run: \"RELEASE_TAG=${{ steps.get_info.outputs.build-ref }}\\nRELEASE_VERSION=\\\"\\\n        ${RELEASE_TAG#release_}\\\"\\n\\n# NB: This could be a re-run of a release, in\\\n        \\ the event a job/step failed.\\nif ! gh release view $RELEASE_TAG ; then\\n\\\n        \\    GH_RELEASE_ARGS=(\\\"--notes\\\" \\\"\\\")\\n    GH_RELEASE_ARGS+=(\\\"--title\\\"\\\n        \\ \\\"$RELEASE_TAG\\\")\\n    if [[ $RELEASE_VERSION =~ [[:alpha:]] ]]; then\\n\\\n        \\        GH_RELEASE_ARGS+=(\\\"--prerelease\\\")\\n        GH_RELEASE_ARGS+=(\\\"\\\n        --latest=false\\\")\\n    else\\n        STABLE_RELEASE_TAGS=$(gh api -X GET -F\\\n        \\ per_page=100 /repos/{owner}/{repo}/releases --jq '.[].tag_name | sub(\\\"\\\n        ^release_\\\"; \\\"\\\") | select(test(\\\"^[0-9.]+$\\\"))')\\n        LATEST_TAG=$(echo\\\n        \\ \\\"$STABLE_RELEASE_TAGS $RELEASE_TAG\\\" | tr ' ' '\\\\n' | sort --version-sort\\\n        \\ | tail -n 1)\\n        if [[ $RELEASE_TAG == $LATEST_TAG ]]; then\\n     \\\n        \\       GH_RELEASE_ARGS+=(\\\"--latest=true\\\")\\n        else\\n            GH_RELEASE_ARGS+=(\\\"\\\n        --latest=false\\\")\\n        fi\\n    fi\\n\\n    gh release create \\\"$RELEASE_TAG\\\"\\\n        \\ \\\"${GH_RELEASE_ARGS[@]}\\\" --draft\\nfi\\n\\nASSET_UPLOAD_URL=$(gh release view\\\n        \\ \\\"$RELEASE_TAG\\\" --json uploadUrl --jq '.uploadUrl | sub(\\\"\\\\\\\\{\\\\\\\\?.*$\\\"\\\n        ; \\\"\\\")')\\necho \\\"release-asset-upload-url=$ASSET_UPLOAD_URL\\\" >> $GITHUB_OUTPUT\\n\"\nname: Release\n'on':\n  push:\n    tags:\n    - release_*\n  workflow_dispatch:\n    inputs:\n      ref:\n        required: true\n        type: string\n", "state": "active", "repository": "pantsbuild/pants"}
{"mined_at": "2024-07-15T15:09:41.491113", "created_at": "2023-05-17T22:47:08+02:00", "updated_at": "2023-05-17T22:47:08+02:00", "name": "Auto Cherry-Picker", "path": ".github/workflows/auto-cherry-picker.yaml", "contents": "name: Auto Cherry-Picker\n\non:\n  # NB: This is safe since we already have merged the PR.\n  # See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n  pull_request_target:\n    types: [closed]\n    branches: [main]\n  workflow_dispatch:\n    inputs:\n      PR_number:\n        description: The PR number to cherry-pick\n        type: string\n        required: true\n\njobs:\n  prerequisites:\n    name: Gather Prerequisites\n    if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'needs-cherrypick') )\n    runs-on: ubuntu-latest\n    outputs:\n      pr_num: ${{ steps.get-prereqs.outputs.pr_num }}\n      merge_commit: ${{ steps.get-prereqs.outputs.merge_commit }}\n      matrix: ${{ steps.get-prereqs.outputs.matrix }}\n    steps:\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 16\n      - name: Check out code\n        uses: actions/checkout@v3\n      - run: npm install ./build-support/cherry_pick\n      - id: get-prereqs\n        name: Get Cherry-Pick prerequisites\n        uses: actions/github-script@v6\n        with:\n          github-token: ${{ secrets.WORKER_PANTS_CHERRY_PICK_PAT }}\n          script: |\n            const Helper = require('./build-support/cherry_pick/helper.js');\n            const helper = new Helper({octokit: github, context, core});\n            const prereqs = await helper.get_prereqs();\n\n            if (prereqs !== null) {\n              core.setOutput(\"pr_num\", prereqs.pr_num);\n              core.setOutput(\"merge_commit\", prereqs.merge_commit);\n              core.setOutput(\"matrix\", prereqs.milestones.map(\n                milestone => {return {\n                  milestone,\n                  branch_name: `cherry-pick-${prereqs.pr_num}-to-${milestone}`,\n                }}\n              ));\n            }\n\n  cherry_picker:\n    name: Cherry-Pick\n    needs: prerequisites\n    runs-on: ubuntu-latest\n    continue-on-error: true # Don't cancel other jobs if this one fails\n    strategy:\n      matrix:\n        include: ${{ fromJSON(needs.prerequisites.outputs.matrix) }}\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.WORKER_PANTS_CHERRY_PICK_PAT }}\n      - name: Prepare cherry-pick branch\n        if: ${{ !env.ACT }}\n        run: |\n          git config --local user.email \"pantsbuild+github-automation@gmail.com\"\n          git config --local user.name \"Worker Pants (Pantsbuild GitHub Automation Bot)\"\n\n          git fetch --depth=2 origin \"${{ needs.prerequisites.outputs.merge_commit }}\"\n          # NB: If this fetch fails, we assume that means the milestone branch hasn't been created yet\n          git fetch --depth 1 origin \"${{ matrix.milestone }}\" || exit 0\n          git checkout -b \"${{ matrix.branch_name }}\" FETCH_HEAD\n          git cherry-pick \"${{ needs.prerequisites.outputs.merge_commit }}\"\n          git push -u origin \"${{ matrix.branch_name }}\"\n\n          # Now we go back to `main` to ensure we're running the latest `make_pr.sh`.\n          # (this only really should matter if we're cherry-picking changed to `make_pr.sh` itself).\n          git checkout main\n      - name: Create Cherry-Pick Branch\n        env:\n          GH_TOKEN: ${{ secrets.WORKER_PANTS_CHERRY_PICK_PAT }}\n        run: |\n          bash build-support/cherry_pick/make_pr.sh \"${{ needs.prerequisites.outputs.pr_num }}\" \"${{ matrix.milestone }}\" \"${{ matrix.branch_name }}\"\n\n  post_pick:\n    name: Post-Pick Actions\n    needs: [cherry_picker, prerequisites]\n    runs-on: ubuntu-latest\n    # NB: We don't want to run if the prerequisites job failed or was skipped\n    if: needs.prerequisites.result == 'success' && (success() || failure())\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - run: npm install ./build-support/cherry_pick\n      - name: Run Script\n        uses: actions/github-script@v6\n        with:\n          github-token: ${{ secrets.WORKER_PANTS_CHERRY_PICK_PAT }}\n          script: |\n            const Helper = require('./build-support/cherry_pick/helper.js');\n            const helper = new Helper({octokit: github, context, core});\n            await helper.cherry_pick_finished(\"${{ needs.prerequisites.outputs.merge_commit }}\", ${{ needs.prerequisites.outputs.matrix }});\n", "state": "active", "repository": "pantsbuild/pants"}
{"mined_at": "2024-07-15T15:09:42.617499", "created_at": "2023-06-16T12:27:39+02:00", "updated_at": "2023-07-05T23:58:35+02:00", "name": "Public repos tests", "path": ".github/workflows/public_repos.yaml", "contents": "# GENERATED, DO NOT EDIT!\n# To change, edit `src/python/pants_release/generate_github_workflows.py` and run:\n#   ./pants run src/python/pants_release/generate_github_workflows.py\n\n\njobs:\n  AlexTereshenkov_cheeseshop-query:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: AlexTereshenkov/cheeseshop-query\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: AlexTereshenkov/cheeseshop-query\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  Ars-Linguistica_mlconjug3:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: Ars-Linguistica/mlconjug3\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: Ars-Linguistica/mlconjug3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  OpenSaMD_OpenSaMD:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: OpenSaMD/OpenSaMD\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: OpenSaMD/OpenSaMD\n    - name: Set up Python 3.9.15\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9.15\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  StackStorm_st2:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: StackStorm/st2\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: StackStorm/st2\n        submodules: recursive\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - name: Run set-up\n      run: '\n\n        sudo apt-get install gcc git make screen libffi-dev libssl-dev python3.8-dev\n        libldap2-dev libsasl2-dev\n\n        # sudo apt-get install mongodb mongodb-server\n\n        sudo apt-get install rabbitmq-server\n\n        '\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test st2client::` with repo-default version (baseline)\n      run: ' pants test st2client::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test st2client::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test st2client::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  fucina_treb:\n    env:\n      GIT_COMMIT: abcdef1234567890\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: fucina/treb\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: fucina/treb\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  ghandic_jsf:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: ghandic/jsf\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: ghandic/jsf\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  komprenilo_liga:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: komprenilo/liga\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: komprenilo/liga\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  lablup_backend_ai:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: lablup/backend.ai\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: lablup/backend.ai\n    - name: Set up Python 3.11.4\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.11.4\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - name: Run set-up\n      run: mkdir .tmp\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: 'Run `test :: -tests/agent/docker:: -tests/client/integration:: -tests/common/redis_helper::`\n        with repo-default version (baseline)'\n      run: ' pants test :: -tests/agent/docker:: -tests/client/integration:: -tests/common/redis_helper::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: 'Run `test :: -tests/agent/docker:: -tests/client/integration:: -tests/common/redis_helper::`\n        with ${{ github.event.inputs.pants_version }}'\n      run: '${{ github.event.inputs.extra_env }} pants test :: -tests/agent/docker::\n        -tests/client/integration:: -tests/common/redis_helper::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  mitodl_ol-django:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: mitodl/ol-django\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: mitodl/ol-django\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - name: Run set-up\n      run: sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  mitodl_ol-infrastructure:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: mitodl/ol-infrastructure\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: mitodl/ol-infrastructure\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  naccdata_flywheel-gear-extensions:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: naccdata/flywheel-gear-extensions\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: naccdata/flywheel-gear-extensions\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: 'Run `package :: -directory_pull::` with repo-default version (baseline)'\n      run: ' pants package :: -directory_pull::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: 'Run `package :: -directory_pull::` with ${{ github.event.inputs.pants_version\n        }}'\n      run: '${{ github.event.inputs.extra_env }} pants package :: -directory_pull::'\n  pantsbuild_example-adhoc:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: pantsbuild/example-adhoc\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: pantsbuild/example-adhoc\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Set up Node 20\n      uses: actions/setup-node@v3\n      with:\n        node-version: '20'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n  pantsbuild_example-codegen:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: pantsbuild/example-codegen\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: pantsbuild/example-codegen\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - if: runner.os == 'Linux'\n      name: Download Apache `thrift` binary (Linux)\n      run: 'mkdir -p \"${HOME}/.thrift\"\n\n        curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift\n        -o \"${HOME}/.thrift/thrift\"\n\n        chmod +x \"${HOME}/.thrift/thrift\"\n\n        echo \"${HOME}/.thrift\" >> $GITHUB_PATH\n\n        '\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  pantsbuild_example-django:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: pantsbuild/example-django\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: pantsbuild/example-django\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  pantsbuild_example-docker:\n    env:\n      DYNAMIC_TAG: dynamic-tag-here\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: pantsbuild/example-docker\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: pantsbuild/example-docker\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  pantsbuild_example-golang:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: pantsbuild/example-golang\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: pantsbuild/example-golang\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Install Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.19.5\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  pantsbuild_example-jvm:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: pantsbuild/example-jvm\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: pantsbuild/example-jvm\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  pantsbuild_example-kotlin:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: pantsbuild/example-kotlin\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: pantsbuild/example-kotlin\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  pantsbuild_example-python:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: pantsbuild/example-python\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: pantsbuild/example-python\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\n  pantsbuild_example-visibility:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: pantsbuild/example-visibility\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: pantsbuild/example-visibility\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint ::` with repo-default version (baseline)\n      run: ' pants lint ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n  pantsbuild_scie-pants:\n    env:\n      PANTS_REMOTE_CACHE_READ: 'false'\n      PANTS_REMOTE_CACHE_WRITE: 'false'\n    name: pantsbuild/scie-pants\n    permissions: {}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 10\n        repository: pantsbuild/scie-pants\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Pants on\n      run: '\n\n        curl --proto ''=https'' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh\n        | bash -\n\n        echo \"$HOME/bin\" | tee -a $GITHUB_PATH\n\n        '\n    - name: Check for pants.ci.toml\n      run: \"\\nif [[ -f pants.ci.toml ]]; then\\n    echo \\\"PANTS_CONFIG_FILES=pants.ci.toml\\\"\\\n        \\ | tee -a $GITHUB_ENV\\nfi\\n\"\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `version` with repo-default version (baseline)\n      run: ' pants version'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with repo-default version\n        (baseline)\n      run: ' pants tailor --check update-build-files --check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `lint check ::` with repo-default version (baseline)\n      run: ' pants lint check ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `test ::` with repo-default version (baseline)\n      run: ' pants test ::'\n    - env:\n        PANTS_VERSION: ''\n      if: success() || failure()\n      name: Run `package ::` with repo-default version (baseline)\n      run: ' pants package ::'\n    - if: success() || failure()\n      name: Kill pantsd\n      run: pkill -f pantsd\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `version` with ${{ github.event.inputs.pants_version }}\n      run: ${{ github.event.inputs.extra_env }} pants version\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `tailor --check update-build-files --check ::` with ${{ github.event.inputs.pants_version\n        }}\n      run: '${{ github.event.inputs.extra_env }} pants tailor --check update-build-files\n        --check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `lint check ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants lint check ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `test ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants test ::'\n    - env:\n        PANTS_VERSION: ${{ github.event.inputs.pants_version }}\n      if: success() || failure()\n      name: Run `package ::` with ${{ github.event.inputs.pants_version }}\n      run: '${{ github.event.inputs.extra_env }} pants package ::'\nname: Public repos tests\n'on':\n  workflow_dispatch:\n    inputs:\n      extra_env:\n        default: ''\n        description: 'Extra environment variables (for example: `PANTS_FOO_BAR=1 PANTS_BAZ_QUX=abc`)'\n        required: false\n        type: string\n      pants_version:\n        description: Pants version (for example, `2.16.0`, `2.18.0.dev1`)\n        required: true\n        type: string\nrun-name: 'Public repos test: version ${{ github.event.inputs.pants_version }} ${{\n  github.event.inputs.extra_env }}'\n", "state": "active", "repository": "pantsbuild/pants"}
{"mined_at": "2024-07-15T15:09:43.690720", "created_at": "2023-10-21T12:22:20+02:00", "updated_at": "2023-10-21T12:36:56+02:00", "name": "PR Validation", "path": ".github/workflows/check_labels.yaml", "contents": null, "state": "active", "repository": "pantsbuild/pants"}
{"mined_at": "2024-07-15T15:09:44.873787", "created_at": "2024-04-04T22:54:21+02:00", "updated_at": "2024-04-05T01:28:22+02:00", "name": "Clear persistent caches on long-lived self-hosted runners", "path": ".github/workflows/clear_self_hosted_persistent_caches.yaml", "contents": "# GENERATED, DO NOT EDIT!\n# To change, edit `src/python/pants_release/generate_github_workflows.py` and run:\n#   ./pants run src/python/pants_release/generate_github_workflows.py\n\n\njobs:\n  clean_linux_arm64:\n    runs-on:\n    - self-hosted\n    - Linux\n    - ARM64\n    steps:\n    - name: df before\n      run: df -h\n    - name: Deleting ~/Library/Caches\n      run: du -sh ~/Library/Caches || true; rm -rf ~/Library/Caches || true\n    - name: Deleting ~/.cache\n      run: du -sh ~/.cache || true; rm -rf ~/.cache || true\n    - name: Deleting ~/.nce\n      run: du -sh ~/.nce || true; rm -rf ~/.nce || true\n    - name: Deleting ~/.rustup\n      run: du -sh ~/.rustup || true; rm -rf ~/.rustup || true\n    - name: Deleting ~/.pex\n      run: du -sh ~/.pex || true; rm -rf ~/.pex || true\n    - name: df after\n      run: df -h\n  clean_macos10_15_x86_64:\n    runs-on:\n    - self-hosted\n    - macOS-10.15-X64\n    steps:\n    - name: df before\n      run: df -h\n    - name: Deleting ~/Library/Caches\n      run: du -sh ~/Library/Caches || true; rm -rf ~/Library/Caches || true\n    - name: Deleting ~/.cache\n      run: du -sh ~/.cache || true; rm -rf ~/.cache || true\n    - name: Deleting ~/.nce\n      run: du -sh ~/.nce || true; rm -rf ~/.nce || true\n    - name: Deleting ~/.rustup\n      run: du -sh ~/.rustup || true; rm -rf ~/.rustup || true\n    - name: Deleting ~/.pex\n      run: du -sh ~/.pex || true; rm -rf ~/.pex || true\n    - name: df after\n      run: df -h\n  clean_macos11_arm64:\n    runs-on:\n    - self-hosted\n    - macOS-11-ARM64\n    steps:\n    - name: df before\n      run: df -h\n    - name: Deleting ~/Library/Caches\n      run: du -sh ~/Library/Caches || true; rm -rf ~/Library/Caches || true\n    - name: Deleting ~/.cache\n      run: du -sh ~/.cache || true; rm -rf ~/.cache || true\n    - name: Deleting ~/.nce\n      run: du -sh ~/.nce || true; rm -rf ~/.nce || true\n    - name: Deleting ~/.rustup\n      run: du -sh ~/.rustup || true; rm -rf ~/.rustup || true\n    - name: Deleting ~/.pex\n      run: du -sh ~/.pex || true; rm -rf ~/.pex || true\n    - name: df after\n      run: df -h\nname: Clear persistent caches on long-lived self-hosted runners\n'on':\n  workflow_dispatch: {}\n", "state": "active", "repository": "pantsbuild/pants"}
{"mined_at": "2024-07-15T15:09:45.922674", "created_at": "2023-05-11T18:44:18+02:00", "updated_at": "2023-08-15T19:22:18+02:00", "name": "Say Hello to First-timers", "path": ".github/workflows/welcome-newcomers.yaml", "contents": "name: Say Hello to First-timers\n\non:\n  issues:\n    types: [opened]\n  # NB: This is safe since we don't checkout the repo\n  # See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n  pull_request_target:\n    types: [opened]\n    branches: [main]\n\njobs:\n  check_for_first_interaction:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/first-interaction@v1\n        with:\n          repo-token: ${{ secrets.WORKER_PANTS_SAY_HI_PAT }}\n          issue-message: |\n            Welcome to the Pantsbuild Community. This looks like your first issue here. Thanks for taking the time to write it.\n\n            If you haven't already, feel free to [come say hi on Slack](https://docs.google.com/forms/d/e/1FAIpQLSf9zgf-MXRnVDJbrVEST3urqneq7LCcy0zw8qU-GH4hPMn52A/viewform?usp=sf_link).\n\n            If you have questions, or just want to surface this issue, check out the `#development` channel.\n            (If you want to check it out without logging in, check out our [Linen mirror](https://chat.pantsbuild.org/))\n\n            Thanks again, and we look forward to your next Issue/PR :smile:!\n\n          pr-message: |\n            Welcome to the Pantsbuild Community. This looks like your first PR here.\n\n            We are so grateful for each an every contribution, big or small.\n            So thanks for spending your time and energy making this project better.\n\n            If you haven't gotten a reply in a week, feel free to gently comment \"bump\" to ping the project admins.\n\n            If you haven't already, feel free to [come say hi on Slack](https://docs.google.com/forms/d/e/1FAIpQLSf9zgf-MXRnVDJbrVEST3urqneq7LCcy0zw8qU-GH4hPMn52A/viewform?usp=sf_link).\n\n            If you have questions, or just want to surface this PR, check out the `#development` channel.\n            (If you want to check it out without logging in, check out our [Linen mirror](https://chat.pantsbuild.org/))\n\n            Thanks again for this PR, and we'll be on the lookout for your next one :smile:!\n", "state": "disabled_manually", "repository": "pantsbuild/pants"}
{"mined_at": "2024-07-15T15:09:47.932674", "created_at": "2021-04-06T17:36:21+02:00", "updated_at": "2021-04-06T17:36:21+02:00", "name": "Bandit", "path": ".github/workflows/bandit.yml", "contents": "# GitHub Actions Bandit Workflow\n\nname: Bandit\n\non:\n  pull_request:\n    branches: [ main ]\n\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      # Task will fail if any high-severity issues are found\n      # Ignoring submodules\n      - name: Run Bandit Security Analysis\n        run: |\n              python -m pip install bandit\n              python -m bandit -r . -x ./third_party -lll\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:09:49.083542", "created_at": "2022-11-10T01:19:35+01:00", "updated_at": "2023-07-28T01:13:17+02:00", "name": "Build M1 Conda", "path": ".github/workflows/build-conda-m1.yml", "contents": "name: Build M1 Conda\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: conda\n      os: macos-arm64\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/audio\n            conda-package-directory: packaging/torchaudio\n            smoke-test-script: test/smoke_test/smoke_test.py\n            package-name: torchaudio\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@main\n    with:\n      conda-package-directory: packaging/torchaudio\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      runner-type: macos-m1-stable\n      package-name: ${{ matrix.package-name }}\n      trigger-event: ${{ github.event_name }}\n    secrets:\n      CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}\n      CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:09:50.193805", "created_at": "2023-05-01T22:52:55+02:00", "updated_at": "2023-07-11T15:11:55+02:00", "name": "Build Windows Conda", "path": ".github/workflows/build-conda-windows.yml", "contents": "name: Build Windows Conda\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: conda\n      os: windows\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/audio\n            smoke-test-script: test/smoke_test/smoke_test.py\n            conda-package-directory: packaging/torchaudio\n            package-name: torchaudio\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@main\n    with:\n      conda-package-directory: packaging/torchaudio\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n    secrets:\n      CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}\n      CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:09:51.335950", "created_at": "2022-11-10T01:16:00+01:00", "updated_at": "2024-02-12T22:03:59+01:00", "name": "Build M1 Wheels", "path": ".github/workflows/build-wheels-m1.yml", "contents": "name: Build M1 Wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: macos-arm64\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/audio\n            smoke-test-script: test/smoke_test/smoke_test_no_ffmpeg.py\n            package-name: torchaudio\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      runner-type: macos-m1-stable\n      package-name: ${{ matrix.package-name }}\n      trigger-event: ${{ github.event_name }}\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:09:52.547599", "created_at": "2022-10-27T10:36:08+02:00", "updated_at": "2023-05-10T22:33:59+02:00", "name": "Build Linux Conda", "path": ".github/workflows/build_conda_linux.yml", "contents": "name: Build Linux Conda\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: conda\n      os: linux\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/audio\n            smoke-test-script: test/smoke_test/smoke_test.py\n            conda-package-directory: packaging/torchaudio\n            package-name: torchaudio\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@main\n    with:\n      conda-package-directory: packaging/torchaudio\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n    secrets:\n      CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}\n      CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:09:53.729966", "created_at": "2022-10-27T10:36:08+02:00", "updated_at": "2024-03-19T23:06:16+01:00", "name": "Build MacOS Conda", "path": ".github/workflows/build_conda_macos.yml", "contents": null, "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:09:54.800313", "created_at": "2023-02-08T04:16:59+01:00", "updated_at": "2023-05-10T22:33:59+02:00", "name": "Build documentation", "path": ".github/workflows/build_docs.yml", "contents": "name: Build documentation\n\n# Documentation is deployed in the following ways\n# 1. Each time a commit is pushed to main branch\n# 2. Nightly (so that docs are updated even when there is no commit to main branch on the day)\n# 3. Manual trigger for release\n#    Because release requires changing the version number, which is used as a directory name,\n#    automating release doc deployment is tricky.\n#    There is no reliable way to know if there should have been a minor version bump.\n#\non:\n  pull_request:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  build:\n    # Do not use matrix here to parameterize Python/CUDA versions.\n    # This job is required to pass for each PR.\n    # The name of the required job is sensitive to matrix parameter.\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      job-name: Build doc\n      runner: linux.g5.4xlarge.nvidia.gpu\n      repository: pytorch/audio\n      gpu-arch-type: cuda\n      gpu-arch-version: \"11.8\"\n      timeout: 120\n      upload-artifact: docs\n\n      script: |\n        set -ex\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"3.10\"\n        export CU_VERSION=\"11.8\"\n        export CUDATOOLKIT=\"pytorch-cuda=${CU_VERSION}\"\n\n        # Set CHANNEL\n        if [[(${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then\n          export CHANNEL=test\n          export BUILD_VERSION=\"$( cut -f 1 -d a version.txt )\"\n        else\n          export CHANNEL=nightly\n          export BUILD_VERSION=\"$( cut -f 1 -d a version.txt )\".dev\"$(date \"+%Y%m%d\")\"\n        fi\n\n        echo \"::group::Create conda env\"\n        # Mark Build Directory Safe\n        git config --global --add safe.directory /__w/audio/audio\n        conda create --quiet -y --prefix ci_env python=\"${PYTHON_VERSION}\"\n        conda activate ./ci_env\n\n        echo \"::endgroup::\"\n        echo \"::group::Install PyTorch\"\n        conda install \\\n          --yes \\\n          --quiet \\\n          -c \"pytorch-${CHANNEL}\" \\\n          -c nvidia \"pytorch-${CHANNEL}\"::pytorch[build=\"*${CU_VERSION}*\"] \\\n          \"${CUDATOOLKIT}\"\n\n        echo \"::endgroup::\"\n        echo \"::group::Install TorchAudio\"\n        conda install --quiet --yes cmake>=3.18.0 ninja\n        pip3 install --progress-bar off -v -e . --no-use-pep517\n\n        echo \"::endgroup::\"\n        echo \"::group::Build FFmpeg\"\n        .github/scripts/ffmpeg/build_gpu.sh\n\n        echo \"::endgroup::\"\n        echo \"::group::Install other dependencies\"\n        conda install \\\n          --quiet --yes \\\n          -c conda-forge \\\n          sox libvorbis pandoc doxygen pysoundfile\n        pip install --progress-bar off \\\n            git+https://github.com/kpu/kenlm/ flashlight-text \\\n            -r docs/requirements.txt -r docs/requirements-tutorials.txt\n\n        echo \"::endgroup::\"\n        echo \"::group::Build documentation\"\n        export BUILD_GALLERY=true\n        (cd docs && make html)\n\n        echo \"::endgroup::\"\n        echo \"::group::Copy artifact\"\n        cp -rf docs/build/html/* \"${RUNNER_DOCS_DIR}\"\n        mv docs/build/html /artifacts/\n\n  commit-main:\n    if: github.ref_name == 'main'\n    permissions:\n      # Required for `git push`\n      # Note:\n      #   This is not effective from fork.\n      #   When you debug this, make sure to make a branch on pytorch and\n      #   make PR from there.\n      contents: write\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        ref: gh-pages\n        fetch-depth: 5\n    - uses: actions/download-artifact@v3\n      with:\n        name: docs\n    - name: Update main doc\n      run: |\n        set -x\n\n        git config user.name \"pytorchbot\"\n        git config user.email \"soumith+bot@pytorch.org\"\n        # When `git clone`, `gh-pages` branch is fetched by default.\n        # The size of gh-pages grows significantly, so we use ammend and force push\n        # We add a new commit once a week\n        if [ \"$(date +%d)\" = \"1\" ]; then\n           git commit --allow-empty -m \"placeholder\"\n        fi\n\n        # TODO: add tag-based process (need to handle the main directory name)\n        # Update the main doc\n        rm -rf main\n        mv html main\n        git add --all main || true\n\n        git commit --amend -m \"auto-generating sphinx docs\" || true\n        git push -f\n\n  # Push for release\n  # Make sure that version.txt is updated first (alpha suffix is removed)\n  commit-release:\n    if: startsWith(github.ref_name, 'release/') && ( github.event_name == 'workflow_dispatch' )\n    permissions:\n      # Required for `git push`\n      # Note:\n      #   This is not effective from fork.\n      #   When you debug this, make sure to make a branch on pytorch and\n      #   make PR from there.\n      contents: write\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        ref: gh-pages\n        fetch-depth: 5\n    - uses: actions/checkout@v4\n      with:\n        path: _src\n    - uses: actions/download-artifact@v3\n      with:\n        name: docs\n    - name: Update doc\n      run: |\n        set -x\n\n        git config user.name \"pytorchbot\"\n        git config user.email \"soumith+bot@pytorch.org\"\n        # When `git clone`, `gh-pages` branch is fetched by default.\n        # The size of gh-pages grows significantly, so we use ammend and force push\n        # We add a new commit once a week\n        if [ \"$(date +%d)\" = \"1\" ]; then\n           git commit --allow-empty -m \"placeholder\"\n        fi\n\n        dirname=\"$(cat _src/version.txt)\"\n        rm -rf \"${dirname}\"\n        mv html \"${dirname}\"\n        git add --all \"${dirname}\" || true\n\n        git commit --amend -m \"auto-generating sphinx docs\" || true\n        git push -f\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:09:55.907457", "created_at": "2023-08-10T20:22:04+02:00", "updated_at": "2024-02-12T22:03:59+01:00", "name": "Build Aarch64 Linux Wheels", "path": ".github/workflows/build_wheels_aarch64_linux.yml", "contents": "name: Build Aarch64 Linux Wheels\n\non:\n    pull_request:\n    push:\n      branches:\n        - nightly\n        - main\n        - release/*\n      tags:\n          # NOTE: Binary build pipelines should only get triggered on release candidate builds\n          # Release candidate tags look like: v1.11.0-rc1\n          - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n    workflow_dispatch:\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n    cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: linux-aarch64\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      with-cuda: disable\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/audio\n            smoke-test-script: test/smoke_test/smoke_test.py\n            package-name: torchaudio\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n      architecture: aarch64\n      setup-miniconda: false\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:09:56.963717", "created_at": "2022-08-05T23:00:28+02:00", "updated_at": "2024-02-12T22:03:59+01:00", "name": "Build Linux Wheels", "path": ".github/workflows/build_wheels_linux.yml", "contents": "name: Build Linux Wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: linux\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/audio\n            smoke-test-script: test/smoke_test/smoke_test_no_ffmpeg.py\n            package-name: torchaudio\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      package-name: ${{ matrix.package-name }}\n      trigger-event: ${{ github.event_name }}\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:09:58.071661", "created_at": "2022-10-21T10:43:14+02:00", "updated_at": "2024-03-18T21:55:04+01:00", "name": "Build MacOS Wheels", "path": ".github/workflows/build_wheels_macos.yml", "contents": null, "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:09:59.309651", "created_at": "2023-05-01T20:21:00+02:00", "updated_at": "2023-05-10T22:33:59+02:00", "name": "Build Windows Wheels", "path": ".github/workflows/build_wheels_windows.yml", "contents": "name: Build Windows Wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: windows\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/audio\n            env-script: packaging/vc_env_helper.bat\n            wheel-build-params: \"--plat-name win_amd64\"\n            smoke-test-script: test/smoke_test/smoke_test_no_ffmpeg.py\n            package-name: torchaudio\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      env-script: ${{ matrix.env-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:10:00.545026", "created_at": "2023-07-05T17:15:14+02:00", "updated_at": "2024-03-24T01:16:01+01:00", "name": "FFmpeg Binaries", "path": ".github/workflows/ffmpeg.yml", "contents": "# This job is not directly related to regular CI pipeline.\n# It is intended to create FFmpeg binaries that we upload on S3,\n# which then will be used during all the build process in CI or local.\n#\n# This job does not include uploading part.\n# Upload needs to be done manually, and it should be done only once\n# par new major release of FFmepg.\nname: FFmpeg Binaries\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * 0'  # on sunday\n\njobs:\n  LGPL-Linux-x86_64:\n    strategy:\n      fail-fast: false\n      matrix:\n        ffmpeg_version: [\"4.4.4\", \"5.1.4\", \"6.1.1\", \"master\"]\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      job-name: Build\n      upload-artifact: ffmpeg-lgpl\n      repository: pytorch/audio\n      script: |\n        export FFMPEG_VERSION=\"${{ matrix.ffmpeg_version }}\"\n        export FFMPEG_ROOT=\"${PWD}/ffmpeg\"\n        .github/scripts/ffmpeg/build.sh\n\n        tar -cf ffmpeg.tar.gz ffmpeg/include ffmpeg/lib\n\n        artifact_dir=\"${RUNNER_ARTIFACT_DIR}/$(date +%Y-%m-%d)/linux_x86_64/\"\n        mkdir -p \"${artifact_dir}\"\n        mv ffmpeg.tar.gz \"${artifact_dir}/${FFMPEG_VERSION}.tar.gz\"\n\n  LGPL-Linux-aarch64:\n    strategy:\n      fail-fast: false\n      matrix:\n        ffmpeg_version: [\"4.4.4\", \"5.1.4\", \"6.1.1\", \"master\"]\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      job-name: Build\n      upload-artifact: ffmpeg-lgpl\n      repository: pytorch/audio\n      runner: linux.arm64.2xlarge\n      docker-image: pytorch/manylinuxaarch64-builder:cpu-aarch64\n      script: |\n        export FFMPEG_VERSION=\"${{ matrix.ffmpeg_version }}\"\n        export FFMPEG_ROOT=\"${PWD}/ffmpeg\"\n        .github/scripts/ffmpeg/build.sh\n\n        tar -cf ffmpeg.tar.gz ffmpeg/include ffmpeg/lib\n\n        artifact_dir=\"${RUNNER_ARTIFACT_DIR}/$(date +%Y-%m-%d)/linux_aarch64/\"\n        mkdir -p \"${artifact_dir}\"\n        mv ffmpeg.tar.gz \"${artifact_dir}/${FFMPEG_VERSION}.tar.gz\"\n\n  LGPL-macOS:\n    strategy:\n      fail-fast: false\n      matrix:\n        ffmpeg_version: [\"4.4.4\", \"5.1.4\", \"6.1.1\", \"master\"]\n        runner: [\"macos-m1-stable\", \"macos-12\"]\n    uses: pytorch/test-infra/.github/workflows/macos_job.yml@main\n    with:\n      job-name: Build\n      upload-artifact: ffmpeg-lgpl\n      repository: pytorch/audio\n      runner: \"${{ matrix.runner }}\"\n      script: |\n        export FFMPEG_VERSION=\"${{ matrix.ffmpeg_version }}\"\n        export FFMPEG_ROOT=\"${PWD}/ffmpeg\"\n        .github/scripts/ffmpeg/build.sh\n\n        tar -cf ffmpeg.tar.gz ffmpeg/include ffmpeg/lib\n\n        artifact_dir=\"${RUNNER_ARTIFACT_DIR}/$(date +%Y-%m-%d)/macos_$(uname -m)\"\n        mkdir -p \"${artifact_dir}\"\n        mv ffmpeg.tar.gz \"${artifact_dir}/${FFMPEG_VERSION}.tar.gz\"\n\n  LGPL-Windows:\n    strategy:\n      fail-fast: false\n      matrix:\n        ffmpeg_version: [\"4.4.4\", \"5.1.4\", \"6.1.1\", \"master\"]\n    uses: pytorch/test-infra/.github/workflows/windows_job.yml@main\n    with:\n      job-name: Build\n      upload-artifact: ffmpeg-lgpl\n      repository: pytorch/audio\n      script: |\n        export FFMPEG_VERSION=\"${{ matrix.ffmpeg_version }}\"\n        export FFMPEG_ROOT=\"${PWD}/ffmpeg\"\n        .github/scripts/ffmpeg/build.bat\n\n        tar -cf ffmpeg.tar.gz ffmpeg/include ffmpeg/bin\n\n        artifact_dir=\"${RUNNER_ARTIFACT_DIR}/$(date +%Y-%m-%d)/windows\"\n        mkdir -p \"${artifact_dir}\"\n        mv ffmpeg.tar.gz \"${artifact_dir}/${FFMPEG_VERSION}.tar.gz\"\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:10:01.661150", "created_at": "2021-10-27T23:39:22+02:00", "updated_at": "2021-11-02T20:03:53+01:00", "name": "Integration Test", "path": ".github/workflows/integration-test.yml", "contents": "name: Integration Test\n\non:\n  pull_request:\n    branches: [ main ]\n\n  workflow_dispatch:\n\njobs:\n  build:\n\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ 3.8 ]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo apt install -y -qq libavfilter-dev libavdevice-dev\n    - name: Install packages\n      run: |\n        python -m pip install --quiet --upgrade pip\n        python -m pip install --quiet --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html\n        python -m pip install --quiet pytest requests cmake ninja deep-phonemizer sentencepiece flashlight-text git+https://github.com/kpu/kenlm\n        python setup.py install\n    - name: Run integration test\n      run: |\n        cd test && pytest integration_tests -v --use-tmp-hub-dir\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:10:02.723619", "created_at": "2023-05-17T01:03:08+02:00", "updated_at": "2023-05-31T23:13:16+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\njobs:\n  python-source-and-configs:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/audio\n      script: |\n        set -euo pipefail\n\n        echo '::group::Setup environment'\n        eval \"$(\"$(which conda)\" shell.bash hook)\"\n        # libcst does not have 3.11 pre-built binaries yet. Use python 3.10\n        conda create -y --name env python=3.10\n        conda activate env\n        pip3 install --progress-bar=off pre-commit\n        echo '::endgroup::'\n\n        set +e\n        pre-commit run --all-files --show-diff-on-failure\n        status=$?\n\n        echo '::group::Add Summry'\n        if [ $status -ne 0 ]; then\n          echo '### Lint failure'  >> $GITHUB_STEP_SUMMARY\n          echo '```diff'           >> $GITHUB_STEP_SUMMARY\n          git --no-pager diff      >> $GITHUB_STEP_SUMMARY\n          echo '```'               >> $GITHUB_STEP_SUMMARY\n        fi\n        echo '::endgroup::'\n        exit $status\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:10:03.812699", "created_at": "2021-10-28T15:15:47+02:00", "updated_at": "2021-10-28T15:15:47+02:00", "name": "pr-labels", "path": ".github/workflows/pr-labels.yml", "contents": "name: pr-labels\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  is-properly-labeled:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Set up python\n        uses: actions/setup-python@v2\n\n      - name: Install requests\n        run: pip install requests\n\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Process commit and find merger responsible for labeling\n        id: commit\n        env:\n          SHA1: ${{ github.sha }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: python .github/process_commit.py \"${SHA1}\"\n\nconcurrency:\n  group: pr-labels-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:10:04.934302", "created_at": "2023-05-10T00:28:59+02:00", "updated_at": "2023-05-23T20:20:56+02:00", "name": "Unit-tests on Linux CPU", "path": ".github/workflows/unittest-linux-cpu.yml", "contents": "name: Unit-tests on Linux CPU\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.12xlarge\n      repository: pytorch/audio\n      timeout: 120\n      script: |\n        echo '::group::Setup Environment Variables'\n        # Mark Build Directory Safe\n        git config --global --add safe.directory /__w/audio/audio\n\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"${{ matrix.python_version }}\"\n        export CUDA_TESTS_ONLY=\"0\"\n        unset CUDA_VERSION\n\n        # Set CHANNEL\n        if [[(${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then\n          export UPLOAD_CHANNEL=test\n        else\n          export UPLOAD_CHANNEL=nightly\n        fi\n\n        export PATH=\"${PWD}/third_party/install/bin/:${PATH}\"\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_APPLY_CMVN_SLIDING=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_FBANK_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_KALDI_PITCH_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_MFCC_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_SPECTROGRAM_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_KALDI=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CUDA=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_HW_ACCEL=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_ON_PYTHON_310=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_AUDIO_OUT_DEVICE=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_MACOS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_TEMPORARY_DISABLED=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_SOX_DECODER=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_SOX_ENCODER=true\n        echo '::endgroup::'\n\n        set -euxo pipefail\n\n        echo '::group::Install PyTorch and Torchaudio'\n        ./.github/scripts/unittest-linux/install.sh\n        echo '::endgroup::'\n\n        echo '::group::Run Tests'\n        ./.github/scripts/unittest-linux/run_test.sh\n        echo '::endgroup::'\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:10:06.167980", "created_at": "2023-02-01T20:14:55+01:00", "updated_at": "2023-05-10T22:33:59+02:00", "name": "Unit-tests on Linux GPU", "path": ".github/workflows/unittest-linux-gpu.yml", "contents": "name: Unit-tests on Linux GPU\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\"]\n        cuda_arch_version: [\"11.8\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.g5.4xlarge.nvidia.gpu\n      repository: pytorch/audio\n      gpu-arch-type: cuda\n      gpu-arch-version: ${{ matrix.cuda_arch_version }}\n      timeout: 120\n\n      script: |\n        set -ex\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"${{ matrix.python_version }}\"\n        export CU_VERSION=\"${{ matrix.cuda_arch_version }}\"\n        export CUDATOOLKIT=\"pytorch-cuda=${CU_VERSION}\"\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_APPLY_CMVN_SLIDING=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_FBANK_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_KALDI_PITCH_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_MFCC_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_SPECTROGRAM_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_CUDA_SMALL_MEMORY=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_ON_PYTHON_310=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_TEMPORARY_DISABLED=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_SOX_DECODER=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_SOX_ENCODER=true\n\n        # Set CHANNEL\n        if [[(${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then\n          export CHANNEL=test\n        else\n          export CHANNEL=nightly\n        fi\n\n        echo \"::group::Create conda env\"\n        # Mark Build Directory Safe\n        git config --global --add safe.directory /__w/audio/audio\n        conda create --quiet -y --prefix ci_env python=\"${PYTHON_VERSION}\"\n        conda activate ./ci_env\n\n        echo \"::endgroup::\"\n        echo \"::group::Install PyTorch\"\n        conda install \\\n          --yes \\\n          --quiet \\\n          -c \"pytorch-${CHANNEL}\" \\\n          -c nvidia \"pytorch-${CHANNEL}\"::pytorch[build=\"*${CU_VERSION}*\"] \\\n          \"${CUDATOOLKIT}\"\n\n        echo \"::endgroup::\"\n        echo \"::group::Install TorchAudio\"\n        conda install --quiet --yes 'cmake>=3.18.0' ninja\n        pip3 install --progress-bar off -v -e . --no-use-pep517\n\n        echo \"::endgroup::\"\n        echo \"::group::Build FFmpeg\"\n        .github/scripts/ffmpeg/build_gpu.sh\n\n        echo \"::endgroup::\"\n        echo \"::group::Install other Dependencies\"\n        conda install \\\n          --quiet --yes \\\n          -c conda-forge \\\n          -c numba/label/dev \\\n          sox libvorbis 'librosa==0.10.0' parameterized 'requests>=2.20'\n        pip3 install --progress-bar off \\\n          kaldi-io \\\n          SoundFile \\\n          coverage \\\n          pytest \\\n          pytest-cov \\\n          'scipy==1.7.3' \\\n          transformers \\\n          expecttest \\\n          unidecode \\\n          inflect \\\n          Pillow \\\n          sentencepiece \\\n          pytorch-lightning \\\n          'protobuf<4.21.0' \\\n          demucs \\\n          tinytag \\\n          flashlight-text \\\n          git+https://github.com/kpu/kenlm/ \\\n          git+https://github.com/pytorch/fairseq.git@e47a4c8\n\n        echo \"::endgroup::\"\n        echo \"::group::Run tests\"\n        export PATH=\"${PWD}/third_party/install/bin/:${PATH}\"\n\n        declare -a args=(\n            '-v'\n            '--cov=torchaudio'\n            \"--junitxml=${RUNNER_TEST_RESULTS_DIR}/junit.xml\"\n            '--durations' '100'\n            '-k' 'cuda or gpu'\n        )\n\n        cd test\n        python3 -m torch.utils.collect_env\n        env | grep TORCHAUDIO || true\n        pytest \"${args[@]}\" torchaudio_unittest\n        coverage html\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:10:07.319606", "created_at": "2023-05-10T00:44:13+02:00", "updated_at": "2023-05-23T21:49:43+02:00", "name": "Unit-tests on Macos CPU", "path": ".github/workflows/unittest-macos-cpu.yml", "contents": "name: Unit-tests on Macos CPU\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\nenv:\n  CHANNEL: \"nightly\"\n\njobs:\n  tests:\n    uses: pytorch/test-infra/.github/workflows/macos_job.yml@main\n    with:\n      runner: macos-12\n      repository: pytorch/audio\n      timeout: 180\n      script: |\n        echo '::group::Setup Environment Variables'\n        # Mark Build Directory Safe\n        git config --global --add safe.directory /__w/audio/audio\n\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"3.8\"\n        export CU_VERSION=\"\"\n        export CUDATOOLKIT=\"\"\n        export USE_OPENMP=\"0\"\n\n        # Set CHANNEL\n        if [[(${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then\n          export UPLOAD_CHANNEL=test\n        else\n          export UPLOAD_CHANNEL=nightly\n        fi\n\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_APPLY_CMVN_SLIDING=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_FBANK_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_KALDI_PITCH_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_MFCC_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_SPECTROGRAM_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CUDA=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_HW_ACCEL=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_QUANTIZATION=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_ON_PYTHON_310=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_MOD_sentencepiece=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_AUDIO_OUT_DEVICE=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_TEMPORARY_DISABLED=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_SOX_DECODER=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_SOX_ENCODER=true\n        echo '::endgroup::'\n\n        set -euxo pipefail\n\n        echo '::group::Install PyTorch and Torchaudio'\n        ./.github/scripts/unittest-linux/install.sh\n        echo '::endgroup::'\n\n        echo '::group::Run Tests'\n        ./.github/scripts/unittest-linux/run_test.sh\n        echo '::endgroup::'\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:10:08.524436", "created_at": "2023-05-11T23:19:57+02:00", "updated_at": "2023-05-29T19:58:01+02:00", "name": "Unittests on Windows CPU", "path": ".github/workflows/unittest-windows-cpu.yml", "contents": "name: Unittests on Windows CPU\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\njobs:\n  unittests-windows-cpu:\n    uses: pytorch/test-infra/.github/workflows/windows_job.yml@main\n    with:\n      repository: pytorch/audio\n      runner: windows.4xlarge\n      timeout: 180\n      script: |\n        # Mark Build Directory Safe\n        git config --global --add safe.directory /__w/audio/audio\n\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"3.8\"\n        unset CUDA_VERSION\n\n        # Set CHANNEL\n        if [[(${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then\n          export UPLOAD_CHANNEL=test\n        else\n          export UPLOAD_CHANNEL=nightly\n        fi\n\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_APPLY_CMVN_SLIDING=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_FBANK_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_KALDI_PITCH_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_MFCC_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_SPECTROGRAM_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_SOX=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CUDA=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_HW_ACCEL=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_KALDI=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_SOX=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_ON_PYTHON_310=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_MOD_sentencepiece=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_AUDIO_OUT_DEVICE=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_MACOS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_TEMPORARY_DISABLED=true\n\n        .github/scripts/unittest-windows/setup_env.sh\n        .github/scripts/unittest-windows/install.sh\n        .github/scripts/unittest-windows/run_test.sh\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:10:09.634697", "created_at": "2023-05-11T23:19:57+02:00", "updated_at": "2023-07-11T15:11:55+02:00", "name": "Unittests on Windows GPU", "path": ".github/workflows/unittest-windows-gpu.yml", "contents": "name: Unittests on Windows GPU\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\njobs:\n  unittests-windows-gpu:\n    uses: pytorch/test-infra/.github/workflows/windows_job.yml@main\n    with:\n      repository: pytorch/audio\n      runner: windows.g5.4xlarge.nvidia.gpu\n      timeout: 360\n      script: |\n        # Mark Build Directory Safe\n        git config --global --add safe.directory /__w/audio/audio\n\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"3.8\"\n        export CUDA_VERSION=11.8\n\n        # Set CHANNEL\n        if [[(${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then\n          export UPLOAD_CHANNEL=test\n        else\n          export UPLOAD_CHANNEL=nightly\n        fi\n\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_APPLY_CMVN_SLIDING=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_FBANK_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_KALDI_PITCH_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_MFCC_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_COMPUTE_SPECTROGRAM_FEATS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_CMD_SOX=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_KALDI=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_SOX=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_ON_PYTHON_310=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_MOD_sentencepiece=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_AUDIO_OUT_DEVICE=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_MACOS=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_CUDA_SMALL_MEMORY=true\n        export TORCHAUDIO_TEST_ALLOW_SKIP_IF_TEMPORARY_DISABLED=true\n\n\n        .github/scripts/unittest-windows/setup_env.sh\n        ./packaging/windows/internal/cuda_install.bat\n        ./packaging/windows/internal/driver_update.bat\n\n        .github/scripts/unittest-windows/install.sh\n        .github/scripts/unittest-windows/run_test.sh\n", "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:10:10.742415", "created_at": "2021-12-17T13:44:37+01:00", "updated_at": "2021-12-17T13:44:37+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pytorch/audio"}
{"mined_at": "2024-07-15T15:10:12.823488", "created_at": "2020-03-28T12:56:50+01:00", "updated_at": "2021-07-15T14:27:40+02:00", "name": "Kodi Addon-Check", "path": ".github/workflows/addon-check.yml", "contents": "name: Kodi Addon-Check\non:\n  push:\n    branches:\n    - master\n  pull_request:\n    branches:\n    - master\njobs:\n  kodi-addon-checker:\n    runs-on: ubuntu-latest\n    name: Kodi addon checker\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n    - name: Kodi addon checker validation\n      id: kodi-addon-checker\n      uses: xbmc/action-kodi-addon-checker@master\n      with:\n        kodi-version: matrix\n        addon-id: ${{ github.event.repository.name }}\n", "state": "active", "repository": "castagnait/plugin.video.netflix"}
{"mined_at": "2024-07-15T15:10:13.890600", "created_at": "2020-03-28T12:56:50+01:00", "updated_at": "2020-03-28T12:56:50+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [push, pull_request]\njobs:\n  tests:\n    name: Add-on testing\n    runs-on: ubuntu-latest\n    env:\n      PYTHONIOENCODING: utf-8\n      PYTHONPATH: ${{ github.workspace }}/resources/lib:${{ github.workspace }}/tests\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10']\n    steps:\n    - name: Check out ${{ github.sha }} from repository ${{ github.repository }}\n      uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n    - name: Run tox\n      run: python -m tox -q -e flake8,py\n      if: always()\n    - name: Run pylint\n      run: python -m pylint resources/lib/ tests/\n      if: always()\n    - name: Analyze with SonarCloud\n      uses: SonarSource/sonarcloud-github-action@v1.4\n      with:\n        args: >\n          -Dsonar.organization=add-ons\n          -Dsonar.projectKey=add-ons_plugin.video.netflix\n          -Dsonar.python.version=3.7,3.8,3.9,3.10\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n      continue-on-error: true\n", "state": "active", "repository": "castagnait/plugin.video.netflix"}
{"mined_at": "2024-07-15T15:10:14.891593", "created_at": "2020-09-27T15:47:00+02:00", "updated_at": "2020-09-27T15:47:00+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  push:\n    tags:\n    - 'v*'\njobs:\n  build:\n    if: github.event.base_ref == 'refs/heads/master'\n    name: Publish release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - name: Build zip files\n        run: |\n          sudo apt-get update\n          sudo apt-get install libxml2-utils\n          make build release=1\n      - name: Get zip filename\n        id: get-zip-filename\n        run: |\n          echo ::set-output name=zip-filename::$(cd ..;ls plugin.video.netflix*.zip | head -1)\n      - name: Get body\n        id: get-body\n        run: |\n          description=$(sed '/v[0-9\\.]*\\s([0-9-]*)/d;/^$/,$d' changelog.txt)\n          echo $description\n          description=\"${description//'%'/'%25'}\"\n          description=\"${description//$'\\n'/'%0A'}\"\n          description=\"${description//$'\\r'/'%0D'}\"\n          echo ::set-output name=body::$description\n      - name: Create GitHub Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: ${{ github.ref }}\n          body: ${{ steps.get-body.outputs.body }}\n          draft: false\n          prerelease: false\n      - name: Upload zip file\n        id: upload-zip\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_name: ${{ steps.get-zip-filename.outputs.zip-filename }}\n          asset_path: ../${{ steps.get-zip-filename.outputs.zip-filename }}\n          asset_content_type: application/zip\n", "state": "active", "repository": "castagnait/plugin.video.netflix"}
{"mined_at": "2024-07-15T15:10:15.904131", "created_at": "2021-07-15T14:34:48+02:00", "updated_at": "2021-07-15T14:34:48+02:00", "name": "Translations", "path": ".github/workflows/translations.yml", "contents": "name: Translations\non:\n  push:\n    branches:\n    - master\n  pull_request:\n    branches:\n    - master\njobs:\n  tests:\n    name: Check translations\n    runs-on: ubuntu-latest\n    env:\n      PYTHONIOENCODING: utf-8\n    strategy:\n      fail-fast: false\n      matrix:\n        kodi-branch: [matrix]\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        path: ${{ github.repository }}\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        sudo apt-get install gettext\n    - name: Checking language translations\n      run: make check-translations\n      working-directory: ${{ github.repository }}\n", "state": "active", "repository": "castagnait/plugin.video.netflix"}
{"mined_at": "2024-07-15T15:10:18.046421", "created_at": "2022-11-05T16:17:12+01:00", "updated_at": "2023-07-11T13:10:32+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - dev\n      - master\n\n# only run the latest commit to avoid cache overwrites\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  PYTHON_VERSION: 3.9\n\njobs:\n  amd64_build:\n    runs-on: ubuntu-latest\n    name: AMD64 Build\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      - name: Set up QEMU and Buildx\n        id: setup\n        uses: ./.github/actions/setup\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and push amd64 standard build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: docker/main/Dockerfile\n          push: true\n          platforms: linux/amd64\n          target: frigate\n          tags: ${{ steps.setup.outputs.image-name }}-amd64\n          cache-from: type=registry,ref=${{ steps.setup.outputs.cache-name }}-amd64\n  arm64_build:\n    runs-on: ubuntu-latest\n    name: ARM Build\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      - name: Set up QEMU and Buildx\n        id: setup\n        uses: ./.github/actions/setup\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and push arm64 standard build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: docker/main/Dockerfile\n          push: true\n          platforms: linux/arm64\n          target: frigate\n          tags: |\n            ${{ steps.setup.outputs.image-name }}-standard-arm64\n          cache-from: type=registry,ref=${{ steps.setup.outputs.cache-name }}-arm64\n      - name: Build and push RPi build\n        uses: docker/bake-action@v4\n        with:\n          push: true\n          targets: rpi\n          files: docker/rpi/rpi.hcl\n          set: |\n            rpi.tags=${{ steps.setup.outputs.image-name }}-rpi\n            *.cache-from=type=registry,ref=${{ steps.setup.outputs.cache-name }}-arm64\n            *.cache-to=type=registry,ref=${{ steps.setup.outputs.cache-name }}-arm64,mode=max\n      - name: Build and push Rockchip build\n        uses: docker/bake-action@v3\n        with:\n          push: true\n          targets: rk\n          files: docker/rockchip/rk.hcl\n          set: |\n            rk.tags=${{ steps.setup.outputs.image-name }}-rk\n            *.cache-from=type=gha\n  jetson_jp4_build:\n    runs-on: ubuntu-latest\n    name: Jetson Jetpack 4\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      - name: Set up QEMU and Buildx\n        id: setup\n        uses: ./.github/actions/setup\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and push TensorRT (Jetson, Jetpack 4)\n        env:\n          ARCH: arm64\n          BASE_IMAGE: timongentzsch/l4t-ubuntu20-opencv:latest\n          SLIM_BASE: timongentzsch/l4t-ubuntu20-opencv:latest\n          TRT_BASE: timongentzsch/l4t-ubuntu20-opencv:latest\n        uses: docker/bake-action@v4\n        with:\n          push: true\n          targets: tensorrt\n          files: docker/tensorrt/trt.hcl\n          set: |\n            tensorrt.tags=${{ steps.setup.outputs.image-name }}-tensorrt-jp4\n            *.cache-from=type=registry,ref=${{ steps.setup.outputs.cache-name }}-jp4\n            *.cache-to=type=registry,ref=${{ steps.setup.outputs.cache-name }}-jp4,mode=max\n  jetson_jp5_build:\n    runs-on: ubuntu-latest\n    name: Jetson Jetpack 5\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      - name: Set up QEMU and Buildx\n        id: setup\n        uses: ./.github/actions/setup\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and push TensorRT (Jetson, Jetpack 5)\n        env:\n          ARCH: arm64\n          BASE_IMAGE: nvcr.io/nvidia/l4t-tensorrt:r8.5.2-runtime\n          SLIM_BASE: nvcr.io/nvidia/l4t-tensorrt:r8.5.2-runtime\n          TRT_BASE: nvcr.io/nvidia/l4t-tensorrt:r8.5.2-runtime\n        uses: docker/bake-action@v4\n        with:\n          push: true\n          targets: tensorrt\n          files: docker/tensorrt/trt.hcl\n          set: |\n            tensorrt.tags=${{ steps.setup.outputs.image-name }}-tensorrt-jp5\n            *.cache-from=type=registry,ref=${{ steps.setup.outputs.cache-name }}-jp5\n            *.cache-to=type=registry,ref=${{ steps.setup.outputs.cache-name }}-jp5,mode=max\n  amd64_extra_builds:\n    runs-on: ubuntu-latest\n    name: AMD64 Extra Build\n    needs:\n      - amd64_build\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      - name: Set up QEMU and Buildx\n        id: setup\n        uses: ./.github/actions/setup\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and push TensorRT (x86 GPU)\n        env:\n          COMPUTE_LEVEL: \"50 60 70 80 90\"\n        uses: docker/bake-action@v4\n        with:\n          push: true\n          targets: tensorrt\n          files: docker/tensorrt/trt.hcl\n          set: |\n            tensorrt.tags=${{ steps.setup.outputs.image-name }}-tensorrt\n            *.cache-from=type=registry,ref=${{ steps.setup.outputs.cache-name }}-amd64\n            *.cache-to=type=registry,ref=${{ steps.setup.outputs.cache-name }}-amd64,mode=max\n      #- name: AMD/ROCm general build\n      #  env:\n      #    AMDGPU: gfx\n      #    HSA_OVERRIDE: 0\n      #  uses: docker/bake-action@v3\n      #  with:\n      #    push: true\n      #    targets: rocm\n      #    files: docker/rocm/rocm.hcl\n      #    set: |\n      #      rocm.tags=${{ steps.setup.outputs.image-name }}-rocm\n      #      *.cache-from=type=gha\n      #- name: AMD/ROCm gfx900\n      #  env:\n      #    AMDGPU: gfx900\n      #    HSA_OVERRIDE: 1\n      #    HSA_OVERRIDE_GFX_VERSION: 9.0.0\n      #  uses: docker/bake-action@v3\n      #  with:\n      #    push: true\n      #    targets: rocm\n      #    files: docker/rocm/rocm.hcl\n      #    set: |\n      #      rocm.tags=${{ steps.setup.outputs.image-name }}-rocm-gfx900\n      #      *.cache-from=type=gha\n      #- name: AMD/ROCm gfx1030\n      #  env:\n      #    AMDGPU: gfx1030\n      #    HSA_OVERRIDE: 1\n      #    HSA_OVERRIDE_GFX_VERSION: 10.3.0\n      #  uses: docker/bake-action@v3\n      #  with:\n      #    push: true\n      #    targets: rocm\n      #    files: docker/rocm/rocm.hcl\n      #    set: |\n      #      rocm.tags=${{ steps.setup.outputs.image-name }}-rocm-gfx1030\n      #      *.cache-from=type=gha\n      #- name: AMD/ROCm gfx1100\n      #  env:\n      #    AMDGPU: gfx1100\n      #    HSA_OVERRIDE: 1\n      #    HSA_OVERRIDE_GFX_VERSION: 11.0.0\n      #  uses: docker/bake-action@v3\n      #  with:\n      #    push: true\n      #    targets: rocm\n      #    files: docker/rocm/rocm.hcl\n      #    set: |\n      #      rocm.tags=${{ steps.setup.outputs.image-name }}-rocm-gfx1100\n      #      *.cache-from=type=gha\n  # The majority of users running arm64 are rpi users, so the rpi\n  # build should be the primary arm64 image\n  assemble_default_build:\n    runs-on: ubuntu-latest\n    name: Assemble and push default build\n    needs:\n      - amd64_build\n      - arm64_build\n    steps:\n      - id: lowercaseRepo\n        uses: ASzc/change-string-case-action@v6\n        with:\n          string: ${{ github.repository }}\n      - name: Log in to the Container registry\n        uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Create short sha\n        run: echo \"SHORT_SHA=${GITHUB_SHA::7}\" >> $GITHUB_ENV\n      - uses: int128/docker-manifest-create-action@v2\n        with:\n          tags: ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}\n          sources: |\n            ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-amd64\n            ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}-rpi\n", "state": "active", "repository": "blakeblackshear/frigate"}
{"mined_at": "2024-07-15T15:10:19.058364", "created_at": "2023-01-16T03:34:05+01:00", "updated_at": "2023-01-17T00:30:50+01:00", "name": "dependabot-auto-merge", "path": ".github/workflows/dependabot-auto-merge.yaml", "contents": "name: dependabot-auto-merge\r\non: pull_request\r\n\r\npermissions:\r\n  contents: write\r\n\r\njobs:\r\n  dependabot-auto-merge:\r\n    runs-on: ubuntu-latest\r\n    if: github.actor == 'dependabot[bot]'\r\n    steps:\r\n      - name: Get Dependabot metadata\r\n        id: metadata\r\n        uses: dependabot/fetch-metadata@v2\r\n        with:\r\n          github-token: ${{ secrets.GITHUB_TOKEN }}\r\n      - name: Enable auto-merge for Dependabot PRs\r\n        if: steps.metadata.outputs.dependency-type == 'direct:development' && (steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch')\r\n        run: |\r\n          gh pr review --approve \"$PR_URL\"\r\n          gh pr merge --auto --squash \"$PR_URL\"\r\n        env:\r\n          PR_URL: ${{ github.event.pull_request.html_url }}\r\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\r\n", "state": "active", "repository": "blakeblackshear/frigate"}
{"mined_at": "2024-07-15T15:10:20.143263", "created_at": "2021-02-09T20:42:26+01:00", "updated_at": "2021-02-09T20:42:26+01:00", "name": "On pull request", "path": ".github/workflows/pull_request.yml", "contents": "name: On pull request\n\non: pull_request\n\nenv:\n  DEFAULT_PYTHON: 3.9\n\njobs:\n  build_devcontainer:\n    runs-on: ubuntu-latest\n    name: Build Devcontainer\n    # The Dockerfile contains features that requires buildkit, and since the\n    # devcontainer cli uses docker-compose to build the image, the only way to\n    # ensure docker-compose uses buildkit is to explicitly enable it.\n    env:\n      DOCKER_BUILDKIT: \"1\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@master\n        with:\n          node-version: 16.x\n      - name: Install devcontainer cli\n        run: npm install --global @devcontainers/cli\n      - name: Build devcontainer\n        run: devcontainer build --workspace-folder .\n      # It would be nice to also test the following commands, but for some\n      # reason they don't work even though in VS Code devcontainer works.\n      # - name: Start devcontainer\n      #   run: devcontainer up --workspace-folder .\n      # - name: Run devcontainer scripts\n      #   run: devcontainer run-user-commands --workspace-folder .\n\n  web_lint:\n    name: Web - Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@master\n        with:\n          node-version: 16.x\n      - run: npm install\n        working-directory: ./web\n      - name: Lint\n        run: npm run lint\n        working-directory: ./web\n\n  web_test:\n    name: Web - Test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@master\n        with:\n          node-version: 20.x\n      - run: npm install\n        working-directory: ./web\n      # - name: Test\n      #   run: npm run test\n      #   working-directory: ./web\n\n  python_checks:\n    runs-on: ubuntu-latest\n    name: Python Checks\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n      - name: Install requirements\n        run: |\n          python3 -m pip install -U pip\n          python3 -m pip install -r docker/main/requirements-dev.txt\n      - name: Check formatting\n        run: |\n          ruff format --check --diff frigate migrations docker *.py\n      - name: Check lint\n        run: |\n          ruff check frigate migrations docker *.py\n\n  python_tests:\n    runs-on: ubuntu-latest\n    name: Python Tests\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      - uses: actions/setup-node@master\n        with:\n          node-version: 16.x\n      - run: npm install\n        working-directory: ./web\n      - name: Build web\n        run: npm run build\n        working-directory: ./web\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Build\n        run: make\n      - name: Run mypy\n        run: docker run --rm --entrypoint=python3 frigate:latest -u -m mypy --config-file frigate/mypy.ini frigate\n      - name: Run tests\n        run: docker run --rm --entrypoint=python3 frigate:latest -u -m unittest\n", "state": "active", "repository": "blakeblackshear/frigate"}
{"mined_at": "2024-07-15T15:10:21.219815", "created_at": "2023-10-28T16:08:55+02:00", "updated_at": "2023-10-28T16:08:55+02:00", "name": "On release", "path": ".github/workflows/release.yml", "contents": "name: On release\n\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - id: lowercaseRepo\n        uses: ASzc/change-string-case-action@v6\n        with:\n          string: ${{ github.repository }}\n      - name: Log in to the Container registry\n        uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Create tag variables\n        run: |\n          BRANCH=$([[ \"${{ github.ref_name }}\" =~ ^v[0-9]+\\.[0-9]+\\.[0-9]+$ ]] && echo \"master\" || echo \"dev\")\n          echo \"BRANCH=${BRANCH}\" >> $GITHUB_ENV\n          echo \"BASE=ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}\" >> $GITHUB_ENV\n          echo \"BUILD_TAG=${BRANCH}-${GITHUB_SHA::7}\" >> $GITHUB_ENV\n          echo \"CLEAN_VERSION=$(echo ${GITHUB_REF##*/} | tr '[:upper:]' '[:lower:]' | sed 's/^[v]//')\" >> $GITHUB_ENV\n      - name: Tag and push the main image\n        run: |\n          VERSION_TAG=${BASE}:${CLEAN_VERSION}\n          STABLE_TAG=${BASE}:stable\n          PULL_TAG=${BASE}:${BUILD_TAG}\n          docker run --rm -v $HOME/.docker/config.json:/config.json quay.io/skopeo/stable:latest copy --authfile /config.json --multi-arch all docker://${PULL_TAG} docker://${VERSION_TAG}\n          for variant in standard-arm64 tensorrt tensorrt-jp4 tensorrt-jp5 rk; do\n            docker run --rm -v $HOME/.docker/config.json:/config.json quay.io/skopeo/stable:latest copy --authfile /config.json --multi-arch all docker://${PULL_TAG}-${variant} docker://${VERSION_TAG}-${variant}\n          done\n\n          # stable tag\n          if [[ \"${BRANCH}\" == \"master\" ]]; then\n            docker run --rm -v $HOME/.docker/config.json:/config.json quay.io/skopeo/stable:latest copy --authfile /config.json --multi-arch all docker://${PULL_TAG} docker://${STABLE_TAG}\n            for variant in standard-arm64 tensorrt tensorrt-jp4 tensorrt-jp5 rk; do\n              docker run --rm -v $HOME/.docker/config.json:/config.json quay.io/skopeo/stable:latest copy --authfile /config.json --multi-arch all docker://${PULL_TAG}-${variant} docker://${STABLE_TAG}-${variant}\n            done\n          fi\n", "state": "active", "repository": "blakeblackshear/frigate"}
{"mined_at": "2024-07-15T15:10:22.442570", "created_at": "2022-09-07T03:51:32+02:00", "updated_at": "2022-09-07T03:51:32+02:00", "name": "Stalebot", "path": ".github/workflows/stale.yml", "contents": "# Close Stale Issues\n# Warns and then closes issues and PRs that have had no activity for a specified amount of time.\n# https://github.com/actions/stale\n\nname: \"Stalebot\"\non:\n  schedule:\n    - cron: \"0 0 * * *\" # run stalebot once a day\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@main\n        id: stale\n        with:\n          stale-issue-message: \"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\"\n          close-issue-message: \"\"\n          days-before-stale: 30\n          days-before-close: 3\n          exempt-draft-pr: true\n          exempt-issue-labels: \"pinned,security\"\n          exempt-pr-labels: \"pinned,security,dependencies\"\n          operations-per-run: 120\n      - name: Print outputs\n        run: echo ${{ join(steps.stale.outputs.*, ',') }}\n\n  clean_ghcr:\n    name: Delete outdated dev container images\n    runs-on: ubuntu-latest\n    steps:\n      - name: Delete old images\n        uses: snok/container-retention-policy@v2\n        with:\n          image-names: dev-*\n          cut-off: 60 days ago UTC\n          keep-at-least: 5\n          account-type: personal\n          token: ${{ secrets.GITHUB_TOKEN }}\n          token-type: github-token\n\n", "state": "active", "repository": "blakeblackshear/frigate"}
{"mined_at": "2024-07-15T15:10:23.417473", "created_at": "2023-10-07T13:41:46+02:00", "updated_at": "2023-10-07T13:41:46+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "blakeblackshear/frigate"}
{"mined_at": "2024-07-15T15:10:25.464875", "created_at": "2020-06-15T13:21:16+02:00", "updated_at": "2020-06-15T13:21:16+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\non:\n  push:\n    branches-ignore:\n      - data\n      - gh-pages\n    tags:\n      - '**'\n  pull_request:\n    branches-ignore:\n      - data\n      - gh-pages\n  workflow_dispatch:\n\njobs:\n\n  # Build job. Builds source distribution (sdist) and binary wheels distribution (bdist_wheel)\n  build:\n    name: Build ${{ matrix.dist }} [${{ matrix.python-version }} | ${{ matrix.os }} ${{ matrix.architecture }}]\n    strategy:\n      fail-fast: false\n      matrix:\n        # os: [ubuntu-latest, macos-latest, windows-latest] # Build wheels on different systems\n        # python-version: [3.6, 3.7]\n        # architecture: [x64]\n        # dist: [bdist_wheel]\n        include:\n          - os: ubuntu-latest # Modify one element to build source distribution\n            python-version: '3.10'\n            architecture: x64\n            dist: sdist bdist_wheel\n    runs-on: ${{ matrix.os }}\n    env:\n      PYTHONUNBUFFERED: 1\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: ${{ matrix.architecture }}\n\n    - name: Build\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade setuptools wheel\n        python setup.py ${{ matrix.dist }}\n\n    - name: Upload artifacts\n      uses: actions/upload-artifact@v2\n      with:\n        name: dist\n        path: dist\n\n  # Deploy job. Uploads distribution to PyPI (only on tags)\n  deploy:\n    name: Publish to PyPI\n    runs-on: ubuntu-latest\n    needs: build\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n    env:\n      PYTHONUNBUFFERED: 1\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n\n    - name: Download artifacts\n      uses: actions/download-artifact@v2\n      with:\n        name: dist\n        path: dist\n\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@v1.5.0\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n        packages_dir: dist/\n", "state": "active", "repository": "kivymd/kivymd"}
{"mined_at": "2024-07-15T15:10:26.552147", "created_at": "2020-06-14T18:26:42+02:00", "updated_at": "2020-06-14T18:26:42+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\non:\n  push:\n    branches-ignore:\n      - data\n      - gh-pages\n    tags:\n      - '**'\n  pull_request:\n    branches-ignore:\n      - data\n      - gh-pages\n  workflow_dispatch:\n\njobs:\n\n  # Lint job. Runs pre-commit, fails if there are changed files\n  lint:\n    name: Check pre-commit [${{ matrix.python-version }} | ${{ matrix.os }} ${{ matrix.architecture }}]\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.10']\n        architecture: [x64]\n    runs-on: ${{ matrix.os }}\n    env:\n      PYTHONUNBUFFERED: 1\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: ${{ matrix.architecture }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade setuptools wheel\n        python -m pip install --upgrade pre-commit\n\n    - name: Check pre-commit\n      run: pre-commit run --all-files\n", "state": "active", "repository": "kivymd/kivymd"}
{"mined_at": "2024-07-15T15:10:27.670855", "created_at": "2020-07-29T11:13:01+02:00", "updated_at": "2020-07-29T11:13:01+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  push:\n    branches-ignore:\n      - data\n      - gh-pages\n    tags:\n      - '**'\n  pull_request:\n    branches-ignore:\n      - data\n      - gh-pages\n  workflow_dispatch:\n    inputs:\n      version:\n        description: New version in format n.n.n (1.111.11)\n        required: true\n      next_version:\n        description: Next development version in format n.n.n.devn (1.111.11.dev0). USE ONLY FOR MAJOR DEVELOPMENT VERSIONS (2.0.0.dev0). DON'T WRITE ANYTHING HERE\n        required: false\n\njobs:\n\n  # Release job. Runs make_release.py tool. Pushes changes only on dispatch_event\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    env:\n      PYTHONUNBUFFERED: 1\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n        persist-credentials: ${{ github.event_name != 'workflow_dispatch' }}  # Allow using PAT when making release\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n        architecture: x64\n\n    - name: Set up environment\n      run: |\n        git config user.name \"KivyMD Bot\"\n        git config user.email 69076719+KivyMD-Bot@users.noreply.github.com\n        pip install -e .\n        pip install pre-commit\n\n    - name: Release\n      if: github.event_name == 'workflow_dispatch'\n      run: |\n        # Use personal token to push (when using GITHUB_TOKEN, it will not run workflows)\n        git remote set-url origin https://KivyMD-Bot:${{ secrets.GH_PAT }}@github.com/${{ github.repository }}\n        python kivymd/tools/release/make_release.py release \"${{ github.event.inputs.version }}\" \"${{ github.event.inputs.next_version }}\" --yes --push\n\n    - name: Release preparation\n      if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.event_name != 'workflow_dispatch'\n      run: |\n        # Use personal token to push\n        git remote set-url origin https://KivyMD-Bot:${{ secrets.GH_PAT }}@github.com/${{ github.repository }}\n        python kivymd/tools/release/make_release.py prepare --yes --push\n        git format-patch origin/master... --stdout\n\n    - name: Release test\n      if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/master' && github.event_name != 'workflow_dispatch')\n      run: |\n        python kivymd/tools/release/make_release.py test --yes\n        git format-patch origin/master... --stdout\n        git format-patch origin/master... --stdout > release_test.patch\n", "state": "active", "repository": "kivymd/kivymd"}
{"mined_at": "2024-07-15T15:10:28.707311", "created_at": "2020-06-15T22:14:12+02:00", "updated_at": "2020-06-15T22:14:12+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\non:\n  push:\n    branches-ignore:\n      - data\n      - gh-pages\n    tags:\n      - '**'\n  pull_request:\n    branches-ignore:\n      - data\n      - gh-pages\n  workflow_dispatch:\n\njobs:\n\n  # Test job. Runs pytest on Ubuntu, MacOS and Windows, uploads coverage report\n  test:\n    name: Test [${{ matrix.python-version }} | Kivy ${{ matrix.kivy-version }} | ${{ matrix.os }} ${{ matrix.architecture }}]\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.10']\n        architecture: [x64]\n        kivy-version: [2.1.0]\n        include:\n          - os: windows-latest\n            python-version: '3.10'\n            architecture: x86\n            kivy-version: 2.1.0\n    runs-on: ${{ matrix.os }}\n    env:\n      PYTHONUNBUFFERED: 1\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: ${{ matrix.architecture }}\n\n    - name: Cache MacOS deps\n      uses: actions/cache@v2\n      if: startswith(matrix.os, 'macos')\n      with:\n        path: macos-cache\n        key: ${{ runner.OS }}-deps-${{ hashFiles('.ci/macos_versions.sh') }}\n\n    - name: Cache MacOS gst-devel deps\n      uses: actions/cache@v2\n      if: startswith(matrix.os, 'macos')\n      with:\n        path: macos-cache-gst-devel\n        key: gst-devel-${{ runner.OS }}-deps-gst-devel-${{ hashFiles('.ci/macos_versions.sh') }}\n\n    - name: Install dependencies for Ubuntu\n      if: startswith(matrix.os, 'ubuntu')\n      env:\n        KIVY_VERSION: ${{ matrix.kivy-version }}\n      run: .ci/ubuntu_dependencies.sh\n\n    - name: Install dependencies for MacOS\n      if: startswith(matrix.os, 'macos')\n      env:\n        KIVY_VERSION: ${{ matrix.kivy-version }}\n      run: .ci/macos_dependencies.sh\n\n    - name: Install dependencies for Windows\n      if: startswith(matrix.os, 'windows')\n      env:\n        KIVY_VERSION: ${{ matrix.kivy-version }}\n      run: .ci\\windows_dependencies.ps1\n\n    - name: Install KivyMD\n      run: python -m pip install -e .\n\n    - name: Test\n      run: python -m pytest kivymd/tests --timeout=300 --cov=kivymd --cov-report=term\n\n    - name: Test packaging with PyInstaller\n      run: python -m PyInstaller.utils.run_tests --include_only kivymd.\n\n    # Only from Ubuntu\n    - name: Upload coverage report\n      if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'kivymd/KivyMD' && startswith(matrix.os, 'ubuntu')\n      continue-on-error: true\n      env:\n        COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n      run: python -m coveralls\n", "state": "active", "repository": "kivymd/kivymd"}
{"mined_at": "2024-07-15T15:10:31.053240", "created_at": "2020-01-06T17:54:56+01:00", "updated_at": "2020-01-06T17:54:56+01:00", "name": "", "path": "", "contents": null, "state": "active", "repository": "home-assistant/supervisor"}
{"mined_at": "2024-07-15T15:10:32.059326", "created_at": "2020-10-24T13:26:12+02:00", "updated_at": "2020-10-24T13:26:12+02:00", "name": "Build supervisor", "path": ".github/workflows/builder.yml", "contents": "name: Build supervisor\n\non:\n  workflow_dispatch:\n    inputs:\n      channel:\n        description: \"Channel\"\n        required: true\n        default: \"dev\"\n      version:\n        description: \"Version\"\n        required: true\n      publish:\n        description: \"Publish\"\n        required: true\n        default: \"false\"\n      stable:\n        description: \"Stable\"\n        required: true\n        default: \"false\"\n  pull_request:\n    branches: [\"main\"]\n  release:\n    types: [\"published\"]\n  push:\n    branches: [\"main\"]\n    paths:\n      - \"rootfs/**\"\n      - \"supervisor/**\"\n      - build.yaml\n      - Dockerfile\n      - requirements.txt\n      - setup.py\n\nenv:\n  DEFAULT_PYTHON: \"3.12\"\n  BUILD_NAME: supervisor\n  BUILD_TYPE: supervisor\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  init:\n    name: Initialize build\n    runs-on: ubuntu-latest\n    outputs:\n      architectures: ${{ steps.info.outputs.architectures }}\n      version: ${{ steps.version.outputs.version }}\n      channel: ${{ steps.version.outputs.channel }}\n      publish: ${{ steps.version.outputs.publish }}\n      requirements: ${{ steps.requirements.outputs.changed }}\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 0\n\n      - name: Get information\n        id: info\n        uses: home-assistant/actions/helpers/info@master\n\n      - name: Get version\n        id: version\n        uses: home-assistant/actions/helpers/version@master\n        with:\n          type: ${{ env.BUILD_TYPE }}\n\n      - name: Get changed files\n        id: changed_files\n        if: steps.version.outputs.publish == 'false'\n        uses: masesgroup/retrieve-changed-files@v3.0.0\n\n      - name: Check if requirements files changed\n        id: requirements\n        run: |\n          if [[ \"${{ steps.changed_files.outputs.all }}\" =~ (requirements.txt|build.yaml) ]]; then\n            echo \"changed=true\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n  build:\n    name: Build ${{ matrix.arch }} supervisor\n    needs: init\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      id-token: write\n      packages: write\n    strategy:\n      matrix:\n        arch: ${{ fromJson(needs.init.outputs.architectures) }}\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 0\n\n      - name: Write env-file\n        if: needs.init.outputs.requirements == 'true'\n        run: |\n          (\n            # Fix out of memory issues with rust\n            echo \"CARGO_NET_GIT_FETCH_WITH_CLI=true\"\n          ) > .env_file\n\n      - name: Build wheels\n        if: needs.init.outputs.requirements == 'true'\n        uses: home-assistant/wheels@2024.01.0\n        with:\n          abi: cp312\n          tag: musllinux_1_2\n          arch: ${{ matrix.arch }}\n          wheels-key: ${{ secrets.WHEELS_KEY }}\n          apk: \"libffi-dev;openssl-dev;yaml-dev\"\n          skip-binary: aiohttp\n          env-file: true\n          requirements: \"requirements.txt\"\n\n      - name: Set version\n        if: needs.init.outputs.publish == 'true'\n        uses: home-assistant/actions/helpers/version@master\n        with:\n          type: ${{ env.BUILD_TYPE }}\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        if: needs.init.outputs.publish == 'true'\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n\n      - name: Install Cosign\n        if: needs.init.outputs.publish == 'true'\n        uses: sigstore/cosign-installer@v3.5.0\n        with:\n          cosign-release: \"v2.2.3\"\n\n      - name: Install dirhash and calc hash\n        if: needs.init.outputs.publish == 'true'\n        run: |\n          pip3 install setuptools dirhash\n          dir_hash=\"$(dirhash \"${{ github.workspace }}/supervisor\" -a sha256 --match \"*.py\")\"\n          echo \"${dir_hash}\" > rootfs/supervisor.sha256\n\n      - name: Sign supervisor SHA256\n        if: needs.init.outputs.publish == 'true'\n        run: |\n          cosign sign-blob --yes rootfs/supervisor.sha256 --bundle rootfs/supervisor.sha256.sig\n\n      - name: Login to GitHub Container Registry\n        if: needs.init.outputs.publish == 'true'\n        uses: docker/login-action@v3.2.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set build arguments\n        if: needs.init.outputs.publish == 'false'\n        run: echo \"BUILD_ARGS=--test\" >> $GITHUB_ENV\n\n      - name: Build supervisor\n        uses: home-assistant/builder@2024.03.5\n        with:\n          args: |\n            $BUILD_ARGS \\\n            --${{ matrix.arch }} \\\n            --target /data \\\n            --cosign \\\n            --generic ${{ needs.init.outputs.version }}\n        env:\n          CAS_API_KEY: ${{ secrets.CAS_TOKEN }}\n\n  version:\n    name: Update version\n    needs: [\"init\", \"run_supervisor\"]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout the repository\n        if: needs.init.outputs.publish == 'true'\n        uses: actions/checkout@v4.1.7\n\n      - name: Initialize git\n        if: needs.init.outputs.publish == 'true'\n        uses: home-assistant/actions/helpers/git-init@master\n        with:\n          name: ${{ secrets.GIT_NAME }}\n          email: ${{ secrets.GIT_EMAIL }}\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - name: Update version file\n        if: needs.init.outputs.publish == 'true'\n        uses: home-assistant/actions/helpers/version-push@master\n        with:\n          key: ${{ env.BUILD_NAME }}\n          version: ${{ needs.init.outputs.version }}\n          channel: ${{ needs.init.outputs.channel }}\n\n  run_supervisor:\n    runs-on: ubuntu-latest\n    name: Run the Supervisor\n    needs: [\"build\", \"init\"]\n    timeout-minutes: 60\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Build the Supervisor\n        if: needs.init.outputs.publish != 'true'\n        uses: home-assistant/builder@2024.03.5\n        with:\n          args: |\n            --test \\\n            --amd64 \\\n            --target /data \\\n            --generic runner\n\n      - name: Pull Supervisor\n        if: needs.init.outputs.publish == 'true'\n        run: |\n          docker pull ghcr.io/home-assistant/amd64-hassio-supervisor:${{ needs.init.outputs.version }}\n          docker tag ghcr.io/home-assistant/amd64-hassio-supervisor:${{ needs.init.outputs.version }} ghcr.io/home-assistant/amd64-hassio-supervisor:runner\n\n      - name: Create the Supervisor\n        run: |\n          mkdir -p /tmp/supervisor/data\n          docker create --name hassio_supervisor \\\n            --privileged \\\n            --security-opt seccomp=unconfined \\\n            --security-opt apparmor=unconfined \\\n            -v /run/docker.sock:/run/docker.sock \\\n            -v /run/dbus:/run/dbus \\\n            -v /tmp/supervisor/data:/data \\\n            -v /etc/machine-id:/etc/machine-id:ro \\\n            -e SUPERVISOR_SHARE=\"/tmp/supervisor/data\" \\\n            -e SUPERVISOR_NAME=hassio_supervisor \\\n            -e SUPERVISOR_DEV=1 \\\n            -e SUPERVISOR_MACHINE=\"qemux86-64\" \\\n          ghcr.io/home-assistant/amd64-hassio-supervisor:runner\n\n      - name: Start the Supervisor\n        run: docker start hassio_supervisor\n\n      - name: Wait for Supervisor to come up\n        run: |\n          SUPERVISOR=$(docker inspect --format='{{.NetworkSettings.IPAddress}}' hassio_supervisor)\n          ping=\"error\"\n          while [ \"$ping\" != \"ok\" ]; do\n            ping=$(curl -sSL \"http://$SUPERVISOR/supervisor/ping\" | jq -r '.result')\n            sleep 5\n          done\n\n      - name: Check the Supervisor\n        run: |\n          echo \"Checking supervisor info\"\n          test=$(docker exec hassio_cli ha supervisor info --no-progress --raw-json | jq -r '.result')\n          if [ \"$test\" != \"ok\" ]; then\n            exit 1\n          fi\n\n          echo \"Checking supervisor network info\"\n          test=$(docker exec hassio_cli ha network info --no-progress --raw-json | jq -r '.result')\n          if [ \"$test\" != \"ok\" ]; then\n            exit 1\n          fi\n\n      - name: Check the Store / Addon\n        run: |\n          echo \"Install Core SSH Add-on\"\n          test=$(docker exec hassio_cli ha addons install core_ssh --no-progress --raw-json | jq -r '.result')\n          if [ \"$test\" != \"ok\" ]; then\n            exit 1\n          fi\n\n          # Make sure it actually installed\n          test=$(docker exec hassio_cli ha addons info core_ssh --no-progress --raw-json | jq -r '.data.version')\n          if [[ \"$test\" == \"null\" ]]; then\n            exit 1\n          fi\n\n          echo \"Start Core SSH Add-on\"\n          test=$(docker exec hassio_cli ha addons start core_ssh --no-progress --raw-json | jq -r '.result')\n          if [ \"$test\" != \"ok\" ]; then\n            exit 1\n          fi\n\n          # Make sure its state is started\n          test=\"$(docker exec hassio_cli ha addons info core_ssh --no-progress --raw-json | jq -r '.data.state')\"\n          if [ \"$test\" != \"started\" ]; then\n            exit 1\n          fi\n\n      - name: Check the Supervisor code sign\n        if: needs.init.outputs.publish == 'true'\n        run: |\n          echo \"Enable Content-Trust\"\n          test=$(docker exec hassio_cli ha security options --content-trust=true --no-progress --raw-json | jq -r '.result')\n          if [ \"$test\" != \"ok\" ]; then\n            exit 1\n          fi\n\n          echo \"Run supervisor health check\"\n          test=$(docker exec hassio_cli ha resolution healthcheck --no-progress --raw-json | jq -r '.result')\n          if [ \"$test\" != \"ok\" ]; then\n            exit 1\n          fi\n\n          echo \"Check supervisor unhealthy\"\n          test=$(docker exec hassio_cli ha resolution info --no-progress --raw-json | jq -r '.data.unhealthy[]')\n          if [ \"$test\" != \"\" ]; then\n            exit 1\n          fi\n\n          echo \"Check supervisor supported\"\n          test=$(docker exec hassio_cli ha resolution info --no-progress --raw-json | jq -r '.data.unsupported[]')\n          if [[ \"$test\" =~ source_mods ]]; then\n            exit 1\n          fi\n\n      - name: Create full backup\n        id: backup\n        run: |\n          test=$(docker exec hassio_cli ha backups new --no-progress --raw-json)\n          if [ \"$(echo $test | jq -r '.result')\" != \"ok\" ]; then\n            exit 1\n          fi\n          echo \"slug=$(echo $test | jq -r '.data.slug')\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Uninstall SSH add-on\n        run: |\n          test=$(docker exec hassio_cli ha addons uninstall core_ssh --no-progress --raw-json | jq -r '.result')\n          if [ \"$test\" != \"ok\" ]; then\n            exit 1\n          fi\n\n      - name: Restart supervisor\n        run: |\n          test=$(docker exec hassio_cli ha supervisor restart --no-progress --raw-json | jq -r '.result')\n          if [ \"$test\" != \"ok\" ]; then\n            exit 1\n          fi\n\n      - name: Wait for Supervisor to come up\n        run: |\n          SUPERVISOR=$(docker inspect --format='{{.NetworkSettings.IPAddress}}' hassio_supervisor)\n          ping=\"error\"\n          while [ \"$ping\" != \"ok\" ]; do\n            ping=$(curl -sSL \"http://$SUPERVISOR/supervisor/ping\" | jq -r '.result')\n            sleep 5\n          done\n\n      - name: Restore SSH add-on from backup\n        run: |\n          test=$(docker exec hassio_cli ha backups restore ${{ steps.backup.outputs.slug }} --addons core_ssh --no-progress --raw-json | jq -r '.result')\n          if [ \"$test\" != \"ok\" ]; then\n            exit 1\n          fi\n\n          # Make sure it actually installed\n          test=$(docker exec hassio_cli ha addons info core_ssh --no-progress --raw-json | jq -r '.data.version')\n          if [[ \"$test\" == \"null\" ]]; then\n            exit 1\n          fi\n\n          # Make sure its state is started\n          test=\"$(docker exec hassio_cli ha addons info core_ssh --no-progress --raw-json | jq -r '.data.state')\"\n          if [ \"$test\" != \"started\" ]; then\n            exit 1\n          fi\n\n      - name: Restore SSL directory from backup\n        run: |\n          test=$(docker exec hassio_cli ha backups restore ${{ steps.backup.outputs.slug }} --folders ssl --no-progress --raw-json | jq -r '.result')\n          if [ \"$test\" != \"ok\" ]; then\n            exit 1\n          fi\n\n      - name: Get supervisor logs on failiure\n        if: ${{ cancelled() || failure() }}\n        run: docker logs hassio_supervisor\n", "state": "active", "repository": "home-assistant/supervisor"}
{"mined_at": "2024-07-15T15:10:33.086805", "created_at": "2021-01-26T14:02:41+01:00", "updated_at": "2021-01-26T14:02:41+01:00", "name": "Check PR", "path": ".github/workflows/check_pr_labels.yml", "contents": "name: Check PR\n\non:\n  pull_request:\n    branches: [\"main\"]\n    types: [labeled, unlabeled, synchronize]\n\njobs:\n  init:\n    name: Check labels\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check labels\n        run: |\n          labels=$(jq -r '.pull_request.labels[] | .name' ${{github.event_path }})\n          echo \"$labels\"\n          if [ \"$labels\" == \"cla-signed\" ]; then\n            exit 1\n          fi\n", "state": "active", "repository": "home-assistant/supervisor"}
{"mined_at": "2024-07-15T15:10:34.327528", "created_at": "2020-07-05T15:20:46+02:00", "updated_at": "2020-07-05T15:20:46+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\n# yamllint disable-line rule:truthy\non:\n  push:\n    branches:\n      - main\n  pull_request: ~\n\nenv:\n  DEFAULT_PYTHON: \"3.12\"\n  PRE_COMMIT_CACHE: ~/.cache/pre-commit\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  # Separate job to pre-populate the base dependency cache\n  # This prevent upcoming jobs to do the same individually\n  prepare:\n    runs-on: ubuntu-latest\n    outputs:\n      python-version: ${{ steps.python.outputs.python-version }}\n    name: Prepare Python dependencies\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n      - name: Restore Python virtual environment\n        id: cache-venv\n        uses: actions/cache@v4.0.2\n        with:\n          path: venv\n          key: |\n            ${{ runner.os }}-venv-${{ steps.python.outputs.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements_tests.txt') }}\n      - name: Create Python virtual environment\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          python -m venv venv\n          . venv/bin/activate\n          pip install -U pip setuptools\n          pip install -r requirements.txt -r requirements_tests.txt\n      - name: Restore pre-commit environment from cache\n        id: cache-precommit\n        uses: actions/cache@v4.0.2\n        with:\n          path: ${{ env.PRE_COMMIT_CACHE }}\n          lookup-only: true\n          key: |\n            ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pre-commit-\n      - name: Install pre-commit dependencies\n        if: steps.cache-precommit.outputs.cache-hit != 'true'\n        run: |\n          . venv/bin/activate\n          pre-commit install-hooks\n\n  lint-ruff-format:\n    name: Check ruff-format\n    runs-on: ubuntu-latest\n    needs: prepare\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ needs.prepare.outputs.python-version }}\n        uses: actions/setup-python@v5.1.0\n        id: python\n        with:\n          python-version: ${{ needs.prepare.outputs.python-version }}\n      - name: Restore Python virtual environment\n        id: cache-venv\n        uses: actions/cache@v4.0.2\n        with:\n          path: venv\n          key: |\n            ${{ runner.os }}-venv-${{ needs.prepare.outputs.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements_tests.txt') }}\n      - name: Fail job if Python cache restore failed\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          echo \"Failed to restore Python virtual environment from cache\"\n          exit 1\n      - name: Restore pre-commit environment from cache\n        id: cache-precommit\n        uses: actions/cache@v4.0.2\n        with:\n          path: ${{ env.PRE_COMMIT_CACHE }}\n          key: |\n            ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\n      - name: Fail job if cache restore failed\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          echo \"Failed to restore Python virtual environment from cache\"\n          exit 1\n      - name: Run ruff-format\n        run: |\n          . venv/bin/activate\n          pre-commit run --hook-stage manual ruff-format --all-files --show-diff-on-failure\n        env:\n          RUFF_OUTPUT_FORMAT: github\n\n  lint-ruff:\n    name: Check ruff\n    runs-on: ubuntu-latest\n    needs: prepare\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ needs.prepare.outputs.python-version }}\n        uses: actions/setup-python@v5.1.0\n        id: python\n        with:\n          python-version: ${{ needs.prepare.outputs.python-version }}\n      - name: Restore Python virtual environment\n        id: cache-venv\n        uses: actions/cache@v4.0.2\n        with:\n          path: venv\n          key: |\n            ${{ runner.os }}-venv-${{ needs.prepare.outputs.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements_tests.txt') }}\n      - name: Fail job if Python cache restore failed\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          echo \"Failed to restore Python virtual environment from cache\"\n          exit 1\n      - name: Restore pre-commit environment from cache\n        id: cache-precommit\n        uses: actions/cache@v4.0.2\n        with:\n          path: ${{ env.PRE_COMMIT_CACHE }}\n          key: |\n            ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\n      - name: Fail job if cache restore failed\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          echo \"Failed to restore Python virtual environment from cache\"\n          exit 1\n      - name: Run ruff\n        run: |\n          . venv/bin/activate\n          pre-commit run --hook-stage manual ruff --all-files --show-diff-on-failure\n        env:\n          RUFF_OUTPUT_FORMAT: github\n\n  lint-dockerfile:\n    name: Check Dockerfile\n    runs-on: ubuntu-latest\n    needs: prepare\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Register hadolint problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/hadolint.json\"\n      - name: Check Dockerfile\n        uses: docker://hadolint/hadolint:v1.18.0\n        with:\n          args: hadolint Dockerfile\n\n  lint-executable-shebangs:\n    name: Check executables\n    runs-on: ubuntu-latest\n    needs: prepare\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ needs.prepare.outputs.python-version }}\n        uses: actions/setup-python@v5.1.0\n        id: python\n        with:\n          python-version: ${{ needs.prepare.outputs.python-version }}\n      - name: Restore Python virtual environment\n        id: cache-venv\n        uses: actions/cache@v4.0.2\n        with:\n          path: venv\n          key: |\n            ${{ runner.os }}-venv-${{ needs.prepare.outputs.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements_tests.txt') }}\n      - name: Fail job if Python cache restore failed\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          echo \"Failed to restore Python virtual environment from cache\"\n          exit 1\n      - name: Restore pre-commit environment from cache\n        id: cache-precommit\n        uses: actions/cache@v4.0.2\n        with:\n          path: ${{ env.PRE_COMMIT_CACHE }}\n          key: |\n            ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\n      - name: Fail job if cache restore failed\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          echo \"Failed to restore Python virtual environment from cache\"\n          exit 1\n      - name: Register check executables problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/check-executables-have-shebangs.json\"\n      - name: Run executables check\n        run: |\n          . venv/bin/activate\n          pre-commit run --hook-stage manual check-executables-have-shebangs --all-files\n\n  lint-json:\n    name: Check JSON\n    runs-on: ubuntu-latest\n    needs: prepare\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ needs.prepare.outputs.python-version }}\n        uses: actions/setup-python@v5.1.0\n        id: python\n        with:\n          python-version: ${{ needs.prepare.outputs.python-version }}\n      - name: Restore Python virtual environment\n        id: cache-venv\n        uses: actions/cache@v4.0.2\n        with:\n          path: venv\n          key: |\n            ${{ runner.os }}-venv-${{ needs.prepare.outputs.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements_tests.txt') }}\n      - name: Fail job if Python cache restore failed\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          echo \"Failed to restore Python virtual environment from cache\"\n          exit 1\n      - name: Restore pre-commit environment from cache\n        id: cache-precommit\n        uses: actions/cache@v4.0.2\n        with:\n          path: ${{ env.PRE_COMMIT_CACHE }}\n          key: |\n            ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\n      - name: Fail job if cache restore failed\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          echo \"Failed to restore Python virtual environment from cache\"\n          exit 1\n      - name: Register check-json problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/check-json.json\"\n      - name: Run check-json\n        run: |\n          . venv/bin/activate\n          pre-commit run --hook-stage manual check-json --all-files\n\n  lint-pylint:\n    name: Check pylint\n    runs-on: ubuntu-latest\n    needs: prepare\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ needs.prepare.outputs.python-version }}\n        uses: actions/setup-python@v5.1.0\n        id: python\n        with:\n          python-version: ${{ needs.prepare.outputs.python-version }}\n      - name: Restore Python virtual environment\n        id: cache-venv\n        uses: actions/cache@v4.0.2\n        with:\n          path: venv\n          key: |\n            ${{ runner.os }}-venv-${{ needs.prepare.outputs.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements_tests.txt') }}\n      - name: Fail job if Python cache restore failed\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          echo \"Failed to restore Python virtual environment from cache\"\n          exit 1\n      - name: Register pylint problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/pylint.json\"\n      - name: Run pylint\n        run: |\n          . venv/bin/activate\n          pylint supervisor tests\n\n  pytest:\n    runs-on: ubuntu-latest\n    needs: prepare\n    name: Run tests Python ${{ needs.prepare.outputs.python-version }}\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ needs.prepare.outputs.python-version }}\n        uses: actions/setup-python@v5.1.0\n        id: python\n        with:\n          python-version: ${{ needs.prepare.outputs.python-version }}\n      - name: Install Cosign\n        uses: sigstore/cosign-installer@v3.5.0\n        with:\n          cosign-release: \"v2.2.3\"\n      - name: Restore Python virtual environment\n        id: cache-venv\n        uses: actions/cache@v4.0.2\n        with:\n          path: venv\n          key: |\n            ${{ runner.os }}-venv-${{ needs.prepare.outputs.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements_tests.txt') }}\n      - name: Fail job if Python cache restore failed\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          echo \"Failed to restore Python virtual environment from cache\"\n          exit 1\n      - name: Install additional system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y --no-install-recommends libpulse0 libudev1 dbus dbus-x11\n      - name: Register Python problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/python.json\"\n      - name: Install Pytest Annotation plugin\n        run: |\n          . venv/bin/activate\n          # Ideally this should be part of our dependencies\n          # However this plugin is fairly new and doesn't run correctly\n          # on a non-GitHub environment.\n          pip install pytest-github-actions-annotate-failures\n      - name: Run pytest\n        run: |\n          . venv/bin/activate\n          pytest \\\n            -qq \\\n            --timeout=10 \\\n            --durations=10 \\\n            --cov supervisor \\\n            -o console_output_style=count \\\n            tests\n      - name: Upload coverage artifact\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: coverage-${{ matrix.python-version }}\n          path: .coverage\n\n  coverage:\n    name: Process test coverage\n    runs-on: ubuntu-latest\n    needs: [\"pytest\", \"prepare\"]\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ needs.prepare.outputs.python-version }}\n        uses: actions/setup-python@v5.1.0\n        id: python\n        with:\n          python-version: ${{ needs.prepare.outputs.python-version }}\n      - name: Restore Python virtual environment\n        id: cache-venv\n        uses: actions/cache@v4.0.2\n        with:\n          path: venv\n          key: |\n            ${{ runner.os }}-venv-${{ needs.prepare.outputs.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements_tests.txt') }}\n      - name: Fail job if Python cache restore failed\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          echo \"Failed to restore Python virtual environment from cache\"\n          exit 1\n      - name: Download all coverage artifacts\n        uses: actions/download-artifact@v4.1.7\n      - name: Combine coverage results\n        run: |\n          . venv/bin/activate\n          coverage combine coverage*/.coverage*\n          coverage report\n          coverage xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n", "state": "active", "repository": "home-assistant/supervisor"}
{"mined_at": "2024-07-15T15:10:35.453894", "created_at": "2020-11-09T13:07:25+01:00", "updated_at": "2020-11-09T13:07:25+01:00", "name": "Lock", "path": ".github/workflows/lock.yml", "contents": "name: Lock\n\n# yamllint disable-line rule:truthy\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v5.0.1\n        with:\n          github-token: ${{ github.token }}\n          issue-inactive-days: \"30\"\n          exclude-issue-created-before: \"2020-10-01T00:00:00Z\"\n          issue-lock-reason: \"\"\n          pr-inactive-days: \"1\"\n          exclude-pr-created-before: \"2020-11-01T00:00:00Z\"\n          pr-lock-reason: \"\"\n", "state": "active", "repository": "home-assistant/supervisor"}
{"mined_at": "2024-07-15T15:10:36.580498", "created_at": "2020-07-13T22:26:43+02:00", "updated_at": "2020-07-13T22:26:43+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    name: Release Drafter\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 0\n\n      - name: Find Next Version\n        id: version\n        run: |\n          declare -i newpost\n          latest=$(git describe --tags $(git rev-list --tags --max-count=1))\n          latestpre=$(echo \"$latest\" | awk '{split($0,a,\".\"); print a[1] \".\" a[2]}')\n          datepre=$(date --utc '+%Y.%m')\n\n\n          if [[ \"$latestpre\" == \"$datepre\" ]]; then\n              latestpost=$(echo \"$latest\" | awk '{split($0,a,\".\"); print a[3]}')\n              newpost=$latestpost+1\n          else\n              newpost=0\n          fi\n\n          echo Current version:    $latest\n          echo New target version: $datepre.$newpost\n          echo \"version=$datepre.$newpost\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Run Release Drafter\n        uses: release-drafter/release-drafter@v6.0.0\n        with:\n          tag: ${{ steps.version.outputs.version }}\n          name: ${{ steps.version.outputs.version }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "home-assistant/supervisor"}
{"mined_at": "2024-07-15T15:10:37.693728", "created_at": "2020-08-15T10:26:17+02:00", "updated_at": "2020-08-15T10:26:17+02:00", "name": "Sentry Release", "path": ".github/workflows/sentry.yaml", "contents": "name: Sentry Release\n\n# yamllint disable-line rule:truthy\non:\n  release:\n    types: [published, prereleased]\n\njobs:\n  createSentryRelease:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Sentry Release\n        uses: getsentry/action-release@v1.7.0\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n          SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}\n        with:\n          environment: production\n", "state": "active", "repository": "home-assistant/supervisor"}
{"mined_at": "2024-07-15T15:10:38.821597", "created_at": "2020-11-10T09:15:36+01:00", "updated_at": "2020-11-10T09:15:36+01:00", "name": "Stale", "path": ".github/workflows/stale.yml", "contents": "name: Stale\n\n# yamllint disable-line rule:truthy\non:\n  schedule:\n    - cron: \"0 * * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9.0.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          days-before-stale: 30\n          days-before-close: 7\n          stale-issue-label: \"stale\"\n          exempt-issue-labels: \"no-stale,Help%20wanted,help-wanted,pinned,rfc,security\"\n          stale-issue-message: >\n            There hasn't been any activity on this issue recently. Due to the\n            high number of incoming GitHub notifications, we have to clean some\n            of the old issues, as many of them have already been resolved with\n            the latest updates.\n\n            Please make sure to update to the latest version and check if that\n            solves the issue. Let us know if that works for you by\n            adding a comment 👍\n\n            This issue has now been marked as stale and will be closed if no\n            further activity occurs. Thank you for your contributions.\n\n          stale-pr-label: \"stale\"\n          exempt-pr-labels: \"no-stale,pinned,rfc,security\"\n          stale-pr-message: >\n            There hasn't been any activity on this pull request recently. This\n            pull request has been automatically marked as stale because of that\n            and will be closed if no further activity occurs within 7 days.\n\n            Thank you for your contributions.\n", "state": "active", "repository": "home-assistant/supervisor"}
{"mined_at": "2024-07-15T15:10:41.085341", "created_at": "2021-01-19T21:54:22+01:00", "updated_at": "2021-04-30T01:32:17+02:00", "name": "Elyra Tests", "path": ".github/workflows/build.yml", "contents": "#\n# Copyright 2018-2023 Elyra Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\nname: Elyra Tests\non:\n  push: # all branches\n  pull_request: # all branches\n  schedule:\n    # once a day at 3 am (PST) (10 am (UTC))\n    - cron:  '0 10 * * *'\n\nenv:\n  FORCE_COLOR: true\n\njobs:\n  prepare-yarn-cache:\n    name: Prepare Cache\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"*\"\n      - uses: actions/cache@v3\n        with:\n          path: |\n            node_modules\n            */*/node_modules\n            /home/runner/.cache/Cypress\n          key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}\n      - name: Install\n        run: yarn install --frozen-lockfile && tsc -v\n\n  lint-server:\n    name: Lint Server\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Lint\n        run: make lint-server\n\n  lint-ui:\n    name: Lint UI\n    needs: prepare-yarn-cache\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"*\"\n      - uses: actions/cache@v3\n        with:\n          path: |\n            node_modules\n            */*/node_modules\n          key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}\n      - name: Install\n        run: make yarn-install\n      - name: Lint\n        run: make eslint-check-ui\n      - name: Check format\n        run: make prettier-check-ui\n\n  test-server:\n    name: Test Server\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\"]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install\n        # Note: Tests fail if we don't install `wheel` for some reason.\n        run: |\n          make install-server\n          make test-dependencies\n      - name: Version Snapshot\n        run: pip freeze\n      - name: Test\n        id: Test\n        run: make pytest\n      - name: Fetch packages metadata (if Test step failed)\n        # Note: checking for general failure() first is needed according to docs\n        if: ${{ failure() && steps.Test.conclusion == 'failure' }}\n        env:\n          days: 7 # check for newer package versions in past X days\n        run: |\n          python3 ./.github/workflows/scripts/fetch_packages_metadata.py $days\n\n  test-ui:\n    name: Test UI\n    needs: prepare-yarn-cache\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"*\"\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - uses: actions/cache@v3\n        with:\n          path: |\n            node_modules\n            */*/node_modules\n          key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}\n      - name: Build\n        run: |\n          make build-dependencies\n          make yarn-install\n          make build-ui\n      - name: Install\n        run: make install-server\n      - name: Test\n        run: make test-ui-unit\n\n  test-integration:\n    name: Run Integration Tests\n    needs: prepare-yarn-cache\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"*\"\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - uses: actions/cache@v3\n        with:\n          path: |\n            node_modules\n            */*/node_modules\n            /home/runner/.cache/Cypress\n          key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}\n      - name: Build\n        run: |\n          make build-dependencies\n          make yarn-install\n          make build-ui\n      - name: Install\n        run: |\n          make install-server\n          make install-examples\n      - name: Cypress\n        run: make test-integration\n      - name: Collect logs\n        uses: actions/upload-artifact@v3\n        if: failure()\n        with:\n          path: |\n            ${{ github.workspace }}/build/cypress-tests/*.log\n            ${{ github.workspace }}/build/cypress-tests/screenshots//**/*\n            ${{ github.workspace }}/build/cypress-tests/videos//**/*\n            /home/runner/.npm/_logs/*.log\n\n  test-documentation-build:\n    name: Test documentation build\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Build\n        run: make docs\n\n  validate-image-env:\n    name: Validate Image Environment\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Validate image environment\n        run: make PYTHON_VERSION=${{ matrix.python-version }} elyra-image-env\n\n\n  validate-images:\n    name: Validate Images\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Validate runtime images\n        run: make REMOVE_RUNTIME_IMAGE=1 validate-runtime-images\n", "state": "active", "repository": "elyra-ai/elyra"}
{"mined_at": "2024-07-15T15:10:42.219402", "created_at": "2022-03-16T00:15:31+01:00", "updated_at": "2022-03-24T23:59:17+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [main]\n  schedule:\n    # Run every Wednesday at 8 am\n    - cron: '0 8 * * 3'\n\npermissions:\n  security-events:\n    write\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-20.04\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['javascript', 'python']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        config-file: ./.github/codeql/codeql-config.yml\n\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "elyra-ai/elyra"}
{"mined_at": "2024-07-15T15:10:44.363948", "created_at": "2021-05-06T17:54:13+02:00", "updated_at": "2021-05-18T17:29:47+02:00", "name": "style", "path": ".github/workflows/style.yml", "contents": "name: style\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  code_style:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout viv\n      uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: pip install 'isort==5.*' black\n    - name: Lint with isort\n      run: isort --profile black --length-sort --line-width 120 -c .\n    - name: Lint with black\n      run: black -l 120 --check .\n", "state": "disabled_manually", "repository": "vivisect/vivisect"}
{"mined_at": "2024-07-15T15:10:46.615042", "created_at": "2021-01-27T15:50:10+01:00", "updated_at": "2021-01-27T15:50:10+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "\nname: ci\n\non:\n  push:\n    branches:\n      - master\n      - ci\n\n  pull_request:\n    branches:\n      - master\n\njobs:\n  doctest-and-lint:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.6.15\n\n    - name: Install pinned dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install astropy==3.0.1 docutils==0.17.1 matplotlib==3.3.0 numpy==1.15.4 pandas==1.0.0 pyflakes scipy==1.2.2 sphinx==1.7.2 spktype21\n\n    - name: Install Skyfield\n      run: |\n        python setup.py sdist\n        pip install -e .\n\n    - name: Doctest\n      run: |\n        ./test-docs.sh\n\n    - name: Lint\n      run: |\n        pyflakes $(find skyfield/ -name '*.py')\n\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [python2, python3]\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Install\n      run: |\n        sudo apt install -q -q python3-virtualenv virtualenv\n        virtualenv -p ${{matrix.python}} V\n\n    - name: Build scripts\n      run: |\n        cat <<'EOF' > GITHUB_INSTALL.sh\n        source ./V/bin/activate\n        echo PATH is $PATH\n        which python\n        python --version\n        python -m pip install --upgrade pip\n        python setup.py sdist\n        python -m pip install dist/*\n        python -m pip install mock pandas\n        python -m pip install https://github.com/brandon-rhodes/assay/archive/master.zip\n        EOF\n        cat <<'EOF' > GITHUB_TEST.sh\n        source ./V/bin/activate\n        cd ci && ../test-code.sh\n        EOF\n\n    - name: Install\n      run: |\n        bash -e -x GITHUB_INSTALL.sh\n\n    - name: Test\n      run: |\n        bash -e -x GITHUB_TEST.sh\n", "state": "active", "repository": "skyfielders/python-skyfield"}
{"mined_at": "2024-07-15T15:10:48.904476", "created_at": "2021-07-13T21:55:25+02:00", "updated_at": "2021-07-13T23:57:37+02:00", "name": "Performance Benchmarks", "path": ".github/workflows/benchmark.yml", "contents": "name: Performance Benchmarks\n\non:\n  push:\n    branches:\n      - develop\n  pull_request:\n    branches:\n      - develop\n\njobs:\n  benchmark:\n    name: ${{ matrix.os }} x ${{ matrix.python }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python: [\"3.8\"]\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install dependencies\n        run: |\n          pip install poetry\n          poetry config virtualenvs.in-project true\n          poetry install\n          poetry run pip install pytest-benchmark\n\n      - name: Run benchmark\n        run: poetry run pytest dataprep/tests/benchmarks/eda.py --benchmark-json benchmark.json\n\n      - name: Show benchmark result for pull request\n        if: ${{ github.event_name == 'pull_request'}}\n        uses: rhysd/github-action-benchmark@v1\n        with:\n          name: DataPrep.EDA Benchmarks\n          tool: \"pytest\"\n          output-file-path: benchmark.json\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          auto-push: false\n          save-data-file: false\n          fail-threshold: \"200%\"\n          comment-always: true\n          fail-on-alert: true\n\n      - name: Store benchmark result for push operator\n        if: ${{ github.event_name == 'push'}}\n        uses: rhysd/github-action-benchmark@v1\n        with:\n          name: DataPrep.EDA Benchmarks\n          tool: \"pytest\"\n          output-file-path: benchmark.json\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          auto-push: true\n          fail-threshold: \"200%\"\n          comment-always: true\n          fail-on-alert: true\n", "state": "active", "repository": "sfu-db/dataprep"}
{"mined_at": "2024-07-15T15:10:50.148436", "created_at": "2021-10-26T01:58:59+02:00", "updated_at": "2022-07-06T16:24:31+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - develop\n      - release\n  pull_request:\n    branches:\n      - develop\n\njobs:\n  build:\n    name: ${{ matrix.os }} x py${{ matrix.python }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: \"Windows Graphviz install\"\n        if: runner.os == 'Windows'\n        uses: crazy-max/ghaction-chocolatey@v3\n        with:\n          args: -h\n\n      - name: Install Graphviz for Windows\n        if: runner.os == 'Windows'\n        run: |\n          choco install graphviz --version=2.49.3\n\n      - name: Install pygraphviz for Windows\n        if: runner.os == 'Windows'\n        run: |\n          python -m pip install --use-pep517 --config-settings=\"--global-option=build_ext\" --config-settings=\"--global-option=-IC:\\\\Program Files\\\\Graphviz\\\\include\" --config-settings=\"--global-option=-LC:\\\\Program Files\\\\Graphviz\\\\lib\" pygraphviz\n\n      - name: Install Graphviz for other platforms\n        if: runner.os != 'Windows'\n        uses: ts-graphviz/setup-graphviz@v2\n        with:\n          macos-skip-brew-update: 'true'\n\n      - name: Cache venv\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pypoetry/virtualenvs\n          key: ${{ runner.os }}-build-${{ matrix.python }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('poetry.lock') }}\n\n      - name: Install dependencies\n        run: |\n          pip install poetry\n          ${{ matrix.install_graphviz }}\n          echo \"Cache Version ${{ secrets.CACHE_VERSION }}\"\n          poetry install\n          poetry run pip install ERAlchemy2\n          poetry config --list\n\n      - name: Print tool versions\n        run: |\n          poetry run pylint --version \n          poetry run pytest --version \n          poetry run black --version\n          poetry run pyright --version\n\n      - name: Check if the code is formatted\n        run: poetry run black --check dataprep\n\n      - name: Type check the project\n        run: poetry run pyright dataprep || true\n\n      - name: Build binary dependencies\n        run: poetry build\n\n      - name: Test the project\n        run: poetry run pytest --cov-report xml --cov=dataprep dataprep/tests\n        env:\n          DATAPREP_BROWSER_TESTS: 0\n          DATAPREP_CREDENTIAL_TESTS: 0\n          DATAPREP_DATA_CONNECTOR_YELP_TOKEN: \"\"\n          DATAPREP_DATA_CONNECTOR_YOUTUBE_TOKEN: \"\"\n\n      - name: Style check the project\n        run: poetry run pylint dataprep || true\n\n      - uses: codecov/codecov-action@v2\n        if: github.event.pull_request.head.repo.full_name == github.repository\n        with:\n          verbose: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n          # path_to_write_report: ./coverage.xml\n\n      - uses: codacy/codacy-coverage-reporter-action@v1\n        if: github.event.pull_request.head.repo.full_name == github.repository\n        with:\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          coverage-reports: coverage.xml\n\n  docs-build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Setup Graphviz\n        uses: ts-graphviz/setup-graphviz@v1.2.0\n\n      - name: Install dependencies\n        run: |\n          pip install poetry\n          curl -L https://github.com/jgm/pandoc/releases/download/2.11.2/pandoc-2.11.2-1-amd64.deb -o /tmp/pandoc.deb && sudo dpkg -i /tmp/pandoc.deb\n\n      - name: Cache venv\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pypoetry/virtualenvs\n          key: ${{ runner.os }}-build-${{ matrix.python }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('poetry.lock') }}\n\n      - name: Install dependencies\n        run: |\n          pip install poetry\n          poetry install\n          poetry run pip install ERAlchemy2\n          \n\n      - name: Build docs\n        run: poetry run sphinx-build -M html docs/source docs/build\n\n      - name: Archive docs\n        uses: actions/upload-artifact@v2\n        with:\n          name: docs\n          path: docs/build/html\n", "state": "active", "repository": "sfu-db/dataprep"}
{"mined_at": "2024-07-15T15:10:51.222490", "created_at": "2021-11-24T20:56:20+01:00", "updated_at": "2021-11-24T21:20:38+01:00", "name": "Clean GUI CI", "path": ".github/workflows/clean_gui.yml", "contents": "name: Clean GUI CI\n\non:\n  push:\n    branches:\n      - develop\n      - release\n  pull_request:\n    branches:\n      - develop\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [14.x]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v1\n        with:\n          node-version: ${{ matrix.node-version }}\n      - name: Install Dependencies & Build Frontend\n        run: |\n          cd dataprep/clean/gui/clean_frontend\n          rm -rf node_modules package-lock.json\n          npm install\n          npm run build\n", "state": "active", "repository": "sfu-db/dataprep"}
{"mined_at": "2024-07-15T15:10:52.451801", "created_at": "2021-12-14T19:03:54+01:00", "updated_at": "2022-04-27T02:38:56+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  push:\n    branches:\n      - release\n\njobs:\n  # docs-build:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - uses: actions/checkout@v2\n\n  #     - name: Install dependencies\n  #       run: |\n  #         pip install poetry\n  #         curl -L https://github.com/jgm/pandoc/releases/download/2.11.2/pandoc-2.11.2-1-amd64.deb -o /tmp/pandoc.deb && sudo dpkg -i /tmp/pandoc.deb\n\n  #     - name: Cache venv\n  #       uses: actions/cache@v2\n  #       with:\n  #         path: ~/.cache/pypoetry/virtualenvs\n  #         key: ${{ runner.os }}-build-${{ matrix.python }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('poetry.lock') }}\n\n  #     - name: Install dependencies\n  #       run: |\n  #         pip install poetry\n  #         poetry install\n\n  #     - name: Build docs\n  #       run: poetry run sphinx-build -M html docs/source docs/build\n\n  #     - name: Archive docs\n  #       uses: actions/upload-artifact@v2\n  #       with:\n  #         name: docs\n  #         path: docs/build/html\n\n  build:\n    runs-on: ubuntu-latest\n    # needs: docs-build\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: \"0\"\n\n      - uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Cache venv\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pypoetry/virtualenvs\n          key: ${{ runner.os }}-build-${{ matrix.python }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('poetry.lock') }}\n\n      - name: Install dependencies\n        run: |\n          echo \"Cache Version ${{ secrets.CACHE_VERSION }}\"\n          pip install poetry toml-cli\n          poetry install\n          poetry config --list\n\n      - name: Print tool versions\n        run: |\n          poetry run pylint --version \n          poetry run pytest --version \n          poetry run black --version\n          poetry run pyright --version\n\n      - name: Build wheels\n        run: poetry build\n\n      - name: Parse version from pyproject.toml\n        run: echo \"DATAPREP_VERSION=`toml get --toml-path pyproject.toml tool.poetry.version`\" >> $GITHUB_ENV\n\n      - name: Create release note\n        run: poetry run python scripts/release-note.py $(git rev-parse --short HEAD) > RELEASE.md\n\n      - uses: ncipollo/release-action@v1\n        with:\n          artifacts: \"dist/*.whl,dist/*.tar.gz\"\n          bodyFile: \"RELEASE.md\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n          draft: true\n          tag: v${{ env.DATAPREP_VERSION }}\n          commit: ${{ env.GITHUB_SHA }}\n\n      - name: Upload wheels\n        run: poetry publish --username __token__ --password ${{ secrets.PYPI_TOKEN }}\n\n  # docs-deploy:\n  #   runs-on: ubuntu-latest\n  #   needs: build\n  #   if: ${{ github.event.ref == 'refs/heads/release' }}\n  #   steps:\n  #     - uses: actions/checkout@v2\n\n  #     - name: Download docs\n  #       uses: actions/download-artifact@v2\n  #       with:\n  #         name: docs\n  #         path: docs/build/html\n\n  #     - run: echo 'docs.dataprep.ai' > docs/build/html/CNAME\n\n  #     - name: Deploy 🚀\n  #       uses: JamesIves/github-pages-deploy-action@4.1.5\n  #       with:\n  #         branch: gh-pages # The branch the action should deploy to.\n  #         folder: docs/build/html # The folder the action should deploy.\n  #         clean-exclude: dev\n", "state": "active", "repository": "sfu-db/dataprep"}
{"mined_at": "2024-07-15T15:10:53.459212", "created_at": "2021-12-21T05:37:32+01:00", "updated_at": "2021-12-21T05:37:32+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sfu-db/dataprep"}
{"mined_at": "2024-07-15T15:10:55.801501", "created_at": "2020-01-10T04:48:38+01:00", "updated_at": "2020-01-10T04:48:38+01:00", "name": "Automatic Rebase", "path": "", "contents": null, "state": "active", "repository": "astropy/astroquery"}
{"mined_at": "2024-07-15T15:10:56.854593", "created_at": "2023-07-25T22:30:43+02:00", "updated_at": "2023-07-26T19:14:38+02:00", "name": "Changelog check", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog check\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, synchronize, reopened]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  changelog:\n    name: Check changelog entry\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check change log entry\n      uses: scientific-python/action-check-changelogfile@064f2005176e1622e7c2bd9776140406609097d1\n      env:\n        CHANGELOG_FILENAME: CHANGES.rst\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        CHECK_MILESTONE: false\n", "state": "active", "repository": "astropy/astroquery"}
{"mined_at": "2024-07-15T15:10:58.083327", "created_at": "2022-04-27T17:30:42+02:00", "updated_at": "2022-06-02T02:39:19+02:00", "name": "CI-crontests", "path": ".github/workflows/ci_crontests.yml", "contents": "name: CI-crontests\n\non:\n  push:\n    # Run this job on release tags, but not on pushes to the main branch\n    tags:\n    - '*'\n  schedule:\n    # run every Friday at 22:00 UTC\n    - cron: '0 22 * * 5'\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    if: github.repository == 'astropy/astroquery'\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: py3.12 pre-release all deps\n            os: ubuntu-latest\n            python: '3.12'\n            toxenv: py312-test-alldeps-predeps\n            toxargs: -v\n            toxposargs: -v\n\n          - name: Documentation build with linkcheck\n            os: ubuntu-latest\n            python: '3.10'\n            toxenv: linkcheck\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install Python dependencies\n      run: python -m pip install --upgrade tox\n    - name: Run tests\n      run: tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}\n", "state": "active", "repository": "astropy/astroquery"}
{"mined_at": "2024-07-15T15:10:59.108610", "created_at": "2022-04-27T17:30:42+02:00", "updated_at": "2022-04-27T17:53:00+02:00", "name": "CI-devtest", "path": ".github/workflows/ci_devtests.yml", "contents": "# This test job is separated out into its own workflow to be able to obtain a separate badge for it\nname: CI-devtest\n\non:\n  push:\n    branches:\n    - main\n    tags:\n    - '*'\n  pull_request:\n    branches:\n    - main\n  schedule:\n    # run every Monday at 5am UTC\n    - cron: '0 5 * * 1'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        include:\n          - name: dev dependencies with all dependencies with coverage\n            os: ubuntu-latest\n            python: '3.12'\n            toxenv: py312-test-alldeps-devdeps-cov\n            toxargs: -v\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install Python dependencies\n      run: python -m pip install --upgrade tox\n    - name: Run tests\n      run: tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}\n    - name: Upload coverage to codecov\n      if: contains(matrix.toxenv,'-cov')\n      uses: codecov/codecov-action@v3\n      with:\n        file: ./coverage.xml\n", "state": "active", "repository": "astropy/astroquery"}
{"mined_at": "2024-07-15T15:11:00.111069", "created_at": "2024-06-15T04:05:06+02:00", "updated_at": "2024-06-15T04:05:06+02:00", "name": "CI-online-crontests", "path": ".github/workflows/ci_online_crontests.yml", "contents": "name: CI-online-crontests\n\non:\n  push:\n    # Run this job on release tags, but not on pushes to the main branch\n    tags:\n    - '*'\n  schedule:\n    # run every Friday at 23:00 UTC\n    - cron: '0 23 * * 5'\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    if: github.repository == 'astropy/astroquery'\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: py3.12 all dev deps online\n            os: ubuntu-latest\n            python: '3.12'\n            toxenv: py312-test-alldeps-devdeps-online\n            toxargs: -v\n            toxposargs: -v --durations=50\n\n          - name: Windows py3.9 all deps online\n            os: windows-latest\n            python: '3.9'\n            toxenv: py39-test-alldeps-online\n            toxargs: -v\n            toxposargs: -v --durations=50\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install Python dependencies\n      run: python -m pip install --upgrade tox\n    - name: Run tests\n      run: tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}\n", "state": "active", "repository": "astropy/astroquery"}
{"mined_at": "2024-07-15T15:11:01.258105", "created_at": "2021-01-12T03:18:24+01:00", "updated_at": "2021-01-12T03:18:24+01:00", "name": "CI", "path": ".github/workflows/ci_tests.yml", "contents": "# Developer version testing as well as cron testings are in separate workflows\nname: CI\n\non:\n  push:\n    branches:\n    - main\n    tags:\n    - '*'\n  pull_request:\n    branches:\n    - main\n  schedule:\n    # run every Monday at 5am UTC\n    - cron: '0 5 * * 1'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n\n          - name: Code style checks\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: codestyle\n\n          - name: oldest version for all dependencies\n            os: ubuntu-latest\n            python: \"3.9\"\n            toxenv: py39-test-oldestdeps-alldeps\n            toxargs: -v\n\n          - name: Python 3.10 with all optional dependencies (MacOS X)\n            os: macos-latest\n            python: \"3.10\"\n            toxenv: py310-test-alldeps\n            toxargs: -v\n\n          - name: Python 3.11 with mandatory dependencies (Windows)\n            os: windows-latest\n            python: \"3.11\"\n            toxenv: py311-test\n            toxargs: -v\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install Python dependencies\n      run: python -m pip install --upgrade tox\n    - name: Run tests\n      run: tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}\n    - name: Upload coverage to codecov\n      if: contains(matrix.toxenv,'-cov')\n      uses: codecov/codecov-action@v3\n      with:\n        file: ./coverage.xml\n\n  egg_info:\n    name: egg_info with Python 3.9\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.9\"\n    - name: Run egg_info\n      run: python setup.py egg_info\n", "state": "active", "repository": "astropy/astroquery"}
{"mined_at": "2024-07-15T15:11:02.486854", "created_at": "2021-01-12T20:32:14+01:00", "updated_at": "2021-01-12T20:32:14+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  schedule:\n    - cron: '0 6 * * 1'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    permissions:\n      actions: read  # for github/codeql-action/init to get workflow details\n      contents: read  # for actions/checkout to fetch code\n      security-events: write  # for github/codeql-action/autobuild to send a status report\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "astropy/astroquery"}
{"mined_at": "2024-07-15T15:11:03.610217", "created_at": "2023-08-01T22:38:47+02:00", "updated_at": "2023-08-01T22:38:47+02:00", "name": "Milestone -- Add latest if missing on merge", "path": ".github/workflows/milestone.yml", "contents": "name: Milestone -- Add latest if missing on merge\n\non:\n  pull_request_target:\n    types:\n      - closed\n    branches:\n      - 'main'\n\njobs:\n  milestone_pr:\n    name: attach missing milestone to PR\n    if: github.event.pull_request.merged == true\n    runs-on: ubuntu-latest\n    steps:\n      - uses: scientific-python/attach-next-milestone-action@a4889cfde7d2578c1bc7400480d93910d2dd34f6\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "astropy/astroquery"}
{"mined_at": "2024-07-15T15:11:05.763231", "created_at": "2022-04-04T16:52:53+02:00", "updated_at": "2022-04-04T16:52:53+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '41 23 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "pinto0309/pinto_model_zoo"}
{"mined_at": "2024-07-15T15:11:06.995833", "created_at": "2021-12-18T10:34:17+01:00", "updated_at": "2021-12-18T10:34:17+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pinto0309/pinto_model_zoo"}
{"mined_at": "2024-07-15T15:11:09.144164", "created_at": "2023-09-20T16:54:05+02:00", "updated_at": "2023-09-20T16:54:05+02:00", "name": "HACS validation", "path": ".github/workflows/hacs.yml", "contents": "name: HACS validation\n\non:\n  push:\n  pull_request:\n\njobs:\n  hacs:\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: \"actions/checkout@v2\"\n      - uses: \"hacs/action@main\"\n        with: { category: \"integration\" }\n  hassfest:\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: \"actions/checkout@v3\"\n      - uses: \"home-assistant/actions/hassfest@master\"\n", "state": "active", "repository": "alexxit/xiaomigateway3"}
{"mined_at": "2024-07-15T15:11:11.289875", "created_at": "2022-05-02T06:05:24+02:00", "updated_at": "2022-10-26T12:09:53+02:00", "name": "Pylint - FedML", "path": ".github/workflows/pylint.yml", "contents": "name: Pylint - FedML\n\non:\n  pull_request:\n    branches: [ master, test/v0.7.0, dev/0.7.0 ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: [self-hosted, Linux]\n    strategy:\n      matrix:\n        os: [ ubuntu-latest ]\n        arch: [ X64 ]\n        python-version: [\"3.8\"]\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: Analysing the code with pylint\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          python3 -m pip install --upgrade pip\n          pip install pylint\n          pip install \"fedml[gRPC]\"\n          pip install \"fedml[tensorflow]\"\n          pip install \"fedml[jax]\"\n          pip install \"fedml[mxnet]\"\n          pip install tensorflow_federated\n          pip install mxnet\n          pip install jax\n          pip install ptflops\n          cd python\n          pylint --rcfile=build_tools/lint/.pylintrc --disable=C,R,W,I ./\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:12.726680", "created_at": "2022-06-21T03:38:54+02:00", "updated_at": "2023-11-07T11:21:20+01:00", "name": "Build-Wheels-PyPi-Release", "path": ".github/workflows/build_wheels_and_releases.yml", "contents": "name: Build-Wheels-PyPi-Release\n# https://github.com/pypa/cibuildwheel\n# Controls when the workflow will run\non:\n  workflow_run:\n    workflows: [ LightSecAgg-Linux ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  # Build the wheels for Linux, Windows and macOS for Python 3.8 and newer\n  build_wheels:\n    name: Build wheel for cp${{ matrix.python }}-${{ matrix.platform_id }}-${{ matrix.manylinux_image }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n        working-directory: python\n\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        include:\n          # Window 64 bit\n          - os: windows-2019\n            python: 38\n            bitness: 64\n            platform_id: win_amd64\n          - os: windows-latest\n            python: 39\n            bitness: 64\n            platform_id: win_amd64\n          - os: windows-latest\n            python: 310\n            bitness: 64\n            platform_id: win_amd64\n\n          # Window 32 bit\n          - os: windows-latest\n            python: 38\n            bitness: 32\n            platform_id: win32\n          - os: windows-latest\n            python: 39\n            bitness: 32\n            platform_id: win32\n\n          # Linux 64 bit manylinux2014\n          - os: ubuntu-latest\n            python: 38\n            bitness: 64\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n          - os: ubuntu-latest\n            python: 39\n            bitness: 64\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n\n          # NumPy on Python 3.10 only supports 64bit and is only available with manylinux2014\n          - os: ubuntu-latest\n            python: 310\n            bitness: 64\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n\n          # MacOS x86_64\n          - os: macos-latest\n            bitness: 64\n            python: 38\n            platform_id: macosx_x86_64\n          - os: macos-latest\n            bitness: 64\n            python: 39\n            platform_id: macosx_x86_64\n          - os: macos-latest\n            bitness: 64\n            python: 310\n            platform_id: macosx_x86_64\n\n          # MacOS arm64\n          - os: macos-latest\n            bitness: 64\n            python: 38\n            platform_id: macosx_arm64\n          - os: macos-latest\n            bitness: 64\n            python: 39\n            platform_id: macosx_arm64\n          - os: macos-latest\n            bitness: 64\n            python: 310\n            platform_id: macosx_arm64\n\n    steps:\n      - name: Checkout fedml\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        #with:\n        #  python-version: '3.9'\n      \n      - name: Build and test wheels\n        env:\n          CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}\n          CIBW_ARCHS: all\n          CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_image }}\n          CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.manylinux_image }}\n          CIBW_TEST_SKIP: \"*-macosx_arm64\"\n          CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: bash build_tools/github/repair_windows_wheels.sh {wheel} {dest_dir} ${{ matrix.bitness }}\n          CIBW_BEFORE_TEST_WINDOWS: bash build_tools/github/build_minimal_windows_image.sh ${{ matrix.python }} ${{ matrix.bitness }}\n          CIBW_TEST_COMMAND: bash {project}/build_tools/github/test_wheels.sh\n          CIBW_TEST_COMMAND_WINDOWS: bash {project}/build_tools/github/test_windows_wheels.sh ${{ matrix.python }} ${{ matrix.bitness }}\n          CIBW_BUILD_VERBOSITY: 1\n\n        #run: bash build_tools/github/build_wheels.sh\n        run: |\n          python -m pip install -U wheel setuptools\n          python setup.py sdist bdist_wheel\n          pwd\n          ls dist/*.whl\n          ls dist/*.tar.gz\n\n      - name: Upload source zip file\n        uses: actions/upload-artifact@v3\n        with:\n          path: python/dist/*.tar.gz\n\n      - name: Upload Wheels\n        uses: actions/upload-artifact@v3\n        with:\n          path: python/dist/*.whl\n\n  # Build the source distribution under Linux\n#  build_sdist:\n#    name: Source distribution\n#    needs: [ build_wheels ]\n#    runs-on: ubuntu-latest\n#    defaults:\n#      run:\n#        shell: bash\n#        working-directory: python\n#\n#    steps:\n#      - name: Checkout fedml\n#        uses: actions/checkout@v3\n#\n#      - name: Setup Python\n#        uses: actions/setup-python@v4\n#        with:\n#          python-version: '3.9'  # update once build dependencies are available\n#\n#      - name: Build source distribution\n#        run: bash build_tools/github/build_source.sh\n#\n#      - name: Test source distribution\n#        run: bash build_tools/github/test_source.sh\n#        env:\n#          OMP_NUM_THREADS: 2\n#          OPENBLAS_NUM_THREADS: 2\n#\n#      - name: Store artifacts\n#        uses: actions/upload-artifact@v3\n#        with:\n#          path: python/dist/*.tar.gz\n\n  upload_pypi:\n    name: Upload pypi\n    needs: [ build_wheels ]\n    runs-on: ubuntu-latest\n    # upload to PyPI on every tag starting with 'v'\n    #    if: github.event_name == 'push' && contains(github.event.comment, 'release v')\n    # alternatively, to publish when a GitHub Release is created, use the following rule:\n    # if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: artifact\n          path: python/dist\n\n      - uses: pypa/gh-action-pypi-publish@v1.8.3\n        with:\n          skip_existing: true\n          packages_dir: python/dist\n          user: ${{ secrets.PYPI_USER_NAME }}\n          password: ${{ secrets.PYPI_PASSWORD }}\n          # To test: repository_url: https://test.pypi.org/legacy/", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:13.854084", "created_at": "2022-08-24T22:06:41+02:00", "updated_at": "2022-09-05T07:09:33+02:00", "name": "PIP, CLI, SP - On Windows", "path": ".github/workflows/smoke_test_pip_cli_sp_win.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: PIP, CLI, SP - On Windows\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master2,  test/v0.7.0 ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  pip-install-fedml-and-test-sp:\n    defaults:\n      run:\n        shell: powershell\n        working-directory: fedml-devops\\python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ windows-2019 ]\n        arch: [X64]\n        python-version: ['3.8']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [self-hosted, runner-windows, devops]\n    timeout-minutes: 15\n    steps:\n      - name: cleanup running processes\n        continue-on-error: true\n        run: |\n          wmic.exe /interactive:off process where \"name='python.exe'\" call terminate\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: test \"fedml login\" and \"fedml build\"\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd tests/smoke_test/cli\n          .\\login.bat\n          .\\build.bat\n      - name: test simulation-sp\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd quick_start/parrot\n          python torch_fedavg_mnist_lr_one_line_example.py --cf fedml_config.yaml\n          python torch_fedavg_mnist_lr_custum_data_and_model_example.py --cf fedml_config.yaml\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:15.013129", "created_at": "2022-08-25T18:27:13+02:00", "updated_at": "2022-08-26T13:10:49+02:00", "name": "PIP, CLI, SP - On Linux", "path": ".github/workflows/smoke_test_pip_cli_sp_linux.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: PIP, CLI, SP - On Linux\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0, dev/v0.7.0 ]\n\n  workflow_run:\n    workflows: [ CodeQL ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\npermissions: write-all\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  pip-install-fedml-and-test-sp:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest]\n        arch: [X64]\n        python-version: ['3.8']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [self-hosted, Linux]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: test \"fedml login\" and \"fedml build\"\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd ${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}/python\n          cd tests/smoke_test/cli\n          bash login.sh\n          bash build.sh\n      - name: test simulation-sp\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd ${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}/python\n          cd quick_start/parrot\n          python torch_fedavg_mnist_lr_one_line_example.py --cf fedml_config.yaml\n          python torch_fedavg_mnist_lr_custum_data_and_model_example.py --cf fedml_config.yaml\n\n      - name: test sp - sp_decentralized_mnist_lr_example\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd ${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}/python\n          cd examples/simulation/sp_decentralized_mnist_lr_example\n          python torch_fedavg_mnist_lr_step_by_step_example.py --cf fedml_config.yaml\n\n      - name: test sp - sp_fednova_mnist_lr_example\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd ${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}/python\n          cd examples/simulation/sp_fednova_mnist_lr_example\n          python torch_fednova_mnist_lr_step_by_step_example.py --cf fedml_config.yaml\n          \n      - name: test sp - sp_fedopt_mnist_lr_example\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd ${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}/python\n          cd examples/simulation/sp_fedopt_mnist_lr_example\n          python torch_fedopt_mnist_lr_step_by_step_example.py --cf fedml_config.yaml\n\n      - name: test sp - sp_hierarchicalfl_mnist_lr_example\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd ${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}/python\n          cd examples/simulation/sp_hierarchicalfl_mnist_lr_example\n          python torch_hierarchicalfl_mnist_lr_step_by_step_example.py --cf fedml_config.yaml\n\n      - name: test sp - sp_turboaggregate_mnist_lr_example\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd ${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}/python\n          cd examples/simulation/sp_turboaggregate_mnist_lr_example\n          python torch_turboaggregate_mnist_lr_step_by_step_example.py --cf fedml_config.yaml \n\n      - name: test sp - sp_vertical_mnist_lr_example\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd ${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}/python\n          cd examples/simulation/sp_vertical_mnist_lr_example\n          python torch_vertical_mnist_lr_step_by_step_example.py --cf fedml_config.yaml \n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:16.113899", "created_at": "2022-08-25T18:53:23+02:00", "updated_at": "2022-10-26T13:43:25+02:00", "name": "CROSS-DEVICE-MNN-Linux", "path": ".github/workflows/smoke_test_cross_device_mnn_server_linux.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: CROSS-DEVICE-MNN-Linux\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0 ]\n\n  workflow_run:\n    workflows: [ CROSS-SILO-HO-Linux ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  cross-device-mnn-server:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest ]\n        arch: [X64]\n        python-version: ['3.8']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [ self-hosted, Linux ]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: Install MNN\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          pip install mnn==1.1.6\n\n      - name: test server of cross-device\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd quick_start/beehive\n          timeout 60 bash run_server.sh || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi\n          \n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:17.332737", "created_at": "2022-08-25T18:53:23+02:00", "updated_at": "2022-09-05T07:09:57+02:00", "name": "CROSS-SILO-HO-Win", "path": ".github/workflows/smoke_test_cross_silo_ho_win.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: CROSS-SILO-HO-Win\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master2,  test/v0.7.0 ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  cross-silo-horizontal-test:\n    defaults:\n      run:\n        shell: powershell\n        working-directory: fedml-devops\\python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ windows-2019 ]\n        arch: [X64]\n        python-version: ['3.8']\n        client-index: ['0', '1', '2']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [self-hosted, runner-windows, devops]\n    timeout-minutes: 15\n    steps:\n      - name: cleanup running processes\n        continue-on-error: true\n        run: |\n          wmic.exe /interactive:off process where \"name='python.exe'\" call terminate\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: server - cross-silo - ho\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd quick_start/octopus\n          .\\run_server.bat ${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if:   ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - cross-silo - ho\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd quick_start/octopus\n          .\\run_client.bat 1 ${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if:   ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - cross-silo - ho\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd quick_start/octopus\n          .\\run_client.bat 2 ${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if: ${{ matrix.client-index == '2' }}", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:18.563486", "created_at": "2022-08-25T18:53:23+02:00", "updated_at": "2023-05-12T12:01:22+02:00", "name": "CROSS-SILO-HO-Linux", "path": ".github/workflows/smoke_test_cross_silo_ho_linux.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: CROSS-SILO-HO-Linux\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0, dev/v0.7.0 ]\n\n  workflow_run:\n    workflows: [ PIP, CLI, SP - On Linux ]\n    types:\n      - completed\n\n      # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  cross-silo-horizontal-test:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest]\n        arch: [X64]\n        python-version: ['3.8']\n        client-index: ['0', '1', '2']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [self-hosted, Linux]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: server - cross-silo - ho\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd quick_start/octopus\n          run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_server.sh $run_id\n        if:   ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - cross-silo - ho\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd quick_start/octopus\n          run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 1 $run_id\n        if:   ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - cross-silo - ho\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd quick_start/octopus\n          run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 2 $run_id\n        if: ${{ matrix.client-index == '2' }}\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:19.739511", "created_at": "2022-08-25T20:36:26+02:00", "updated_at": "2023-05-12T09:01:23+02:00", "name": "MPI - On Linux", "path": ".github/workflows/smoke_test_simulation_mpi_linux.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: MPI - On Linux\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0 ]\n\n  workflow_run:\n    workflows: [ CROSS-DEVICE-MNN-Linux ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\n\njobs:\n  # https://github.com/mpi4py/mpi4py/actions/runs/34979774/workflow\n  mpi_run:\n    runs-on: [self-hosted, Linux]\n    timeout-minutes: 15\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      matrix:\n        python-version: [3.8]\n        mpi: [mpich]\n#        mpi: [mpich, openmpi]\n        os: [ ubuntu-latest ]\n        include:\n        - os: ubuntu-latest\n          mpi: mpich\n          install-mpi: |\n              sudo apt-get update\n              sudo apt install -y mpich libmpich-dev\n#        - os: ubuntu-latest\n#          mpi: openmpi\n#          install-mpi: sudo apt install -y openmpi-bin libopenmpi-dev\n    steps:\n    - name: Extract branch name\n      shell: bash\n      run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n      id: extract_branch\n    - id: fedml_source_code_home\n      name: cd to master or dev branch and git pull\n      shell: bash\n      run: |\n        ls\n        echo ${{ steps.extract_branch.outputs.branch }}\n        if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n          echo \"running on master\"\n          path=/home/actions-runner/fedml-master\n          cd $path\n          echo \"dir=$path\" >> $GITHUB_OUTPUT\n        else\n          echo \"running on dev\"\n          path=/home/actions-runner/fedml-dev\n          cd $path\n          echo \"dir=$path\" >> $GITHUB_OUTPUT\n        fi\n    - name: sync git repo to local pip\n      working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n      run: |\n        homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n        echo $Homepath\n        cd $homepath\n        bash ./devops/scripts/sync-fedml-pip.sh\n\n    - name: Test package - FedAvg\n      working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n      run: |\n        pwd\n        cd python\n        cd examples/simulation/mpi_torch_fedavg_mnist_lr_example\n        sh run_custom_data_and_model_example.sh 4\n\n    - name: Test package - Base\n      working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n      run: |\n        cd python\n        cd examples/simulation/mpi_base_framework_example\n        sh run.sh 4\n\n    - name: Test package - Decentralized\n      working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n      run: |\n        cd python\n        cd examples/simulation/mpi_decentralized_fl_example\n        sh run.sh 4\n\n    - name: Test package - FedOPT\n      working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n      run: |\n        cd python\n        cd examples/simulation/mpi_fedopt_datasets_and_models_example\n        sh run_step_by_step_example.sh 4 config/mnist_lr/fedml_config.yaml\n\n    - name: Test package - FedProx\n      working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n      run: |\n        cd python\n        cd examples/simulation/mpi_fedprox_datasets_and_models_example\n        sh run_step_by_step_example.sh 4 config/mnist_lr/fedml_config.yaml\n\n    - name: Test package - FedGAN\n      working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n      run: |\n        cd python\n        cd examples/simulation/mpi_torch_fedgan_mnist_gan_example\n        sh run_step_by_step_example.sh 4", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:20.850850", "created_at": "2022-08-28T01:58:53+02:00", "updated_at": "2023-05-12T12:01:22+02:00", "name": "Security(attack/defense) on Linux", "path": ".github/workflows/smoke_test_security.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Security(attack/defense) on Linux\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0, dev/v0.7.0  ]\n\n  workflow_run:\n    workflows: [ LDP-Linux ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\npermissions: write-all\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  security-attack-defense-tests:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest]\n        arch: [X64]\n        python-version: ['3.8']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [self-hosted, Linux]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: attack tests\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd tests/security\n          sh run_attacker_tests.sh\n\n      - name: defense tests\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd tests/security\n          sh run_defender_tests.sh", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:21.942905", "created_at": "2022-08-28T03:59:37+02:00", "updated_at": "2022-09-05T07:09:47+02:00", "name": "LightSecAgg-Windows", "path": ".github/workflows/smoke_test_cross_silo_lightsecagg_win.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: LightSecAgg-Windows\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master2,  test/v0.7.0 ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  cross-silo-horizontal-test:\n    defaults:\n      run:\n        shell: powershell\n        working-directory: fedml-devops\\python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ windows-2019 ]\n        arch: [X64]\n        python-version: ['3.8']\n        client-index: ['0', '1', '2']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [self-hosted, runner-windows, devops]\n    timeout-minutes: 15\n    steps:\n      - name: cleanup running processes\n        continue-on-error: true\n        run: |\n            wmic.exe /interactive:off process where \"name='python.exe'\" call terminate\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: server - cross-silo - ho\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd examples/cross_silo/light_sec_agg_example\n          .\\run_server.bat cross-silo-lightsecagg-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if:   ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - cross-silo - ho\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd examples/cross_silo/light_sec_agg_example\n          .\\run_client.bat 1 cross-silo-lightsecagg-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if:   ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - cross-silo - lightsecagg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd examples/cross_silo/light_sec_agg_example\n          .\\run_client.bat 2 cross-silo-lightsecagg-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if: ${{ matrix.client-index == '2' }}", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:22.963406", "created_at": "2022-08-28T03:59:37+02:00", "updated_at": "2023-05-12T12:01:22+02:00", "name": "LightSecAgg-Linux", "path": ".github/workflows/smoke_test_cross_silo_lightsecagg_linux.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: LightSecAgg-Linux\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0, dev/v0.7.0 ]\n\n  workflow_run:\n    workflows: [ Security(attack/defense) on Linux ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  cross-silo-horizontal-test:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest]\n        arch: [X64]\n        python-version: ['3.8']\n        client-index: ['0', '1', '2']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [self-hosted, Linux]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: server - cross-silo - lightsecagg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/cross_silo/light_sec_agg_example\n          run_id=cross-silo-lightsecagg-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_server.sh $run_id\n        if:   ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - cross-silo - lightsecagg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/cross_silo/light_sec_agg_example\n          run_id=cross-silo-lightsecagg-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 1 $run_id\n        if:   ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - cross-silo - lightsecagg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/cross_silo/light_sec_agg_example\n          run_id=cross-silo-lightsecagg-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 2 $run_id\n        if: ${{ matrix.client-index == '2' }}", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:24.302948", "created_at": "2022-08-28T04:21:02+02:00", "updated_at": "2022-08-28T11:57:10+02:00", "name": "Defender-Linux", "path": ".github/workflows/smoke_test_cross_silo_fedavg_defense_linux.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Defender-Linux\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0, dev/v0.7.0  ]\n\n  workflow_run:\n    workflows: [ Attacker-Linux ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  cross-silo-defense-test:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest]\n        arch: [X64]\n        python-version: ['3.8']\n        client-index: ['0', '1', '2', '3', '4']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [ self-hosted, Linux ]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: server - cross-silo - defense\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/security/mqtt_s3_fedavg_defense_mnist_lr_example\n          run_id=cross-silo-defense-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_server.sh $run_id\n        if:   ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - cross-silo - defense\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/security/mqtt_s3_fedavg_defense_mnist_lr_example\n          run_id=cross-silo-defense-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 1 $run_id\n        if:   ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - cross-silo - defense\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/security/mqtt_s3_fedavg_defense_mnist_lr_example\n          run_id=cross-silo-defense-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 2 $run_id\n        if: ${{ matrix.client-index == '2' }}\n\n      - name: client 3 - cross-silo - defense\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/security/mqtt_s3_fedavg_defense_mnist_lr_example\n          run_id=cross-silo-defense-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 3 $run_id\n        if: ${{ matrix.client-index == '3' }}\n\n      - name: client 4 - cross-silo - defense\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/security/mqtt_s3_fedavg_defense_mnist_lr_example\n          run_id=cross-silo-defense-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 4 $run_id\n        if: ${{ matrix.client-index == '4' }}\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:25.424458", "created_at": "2022-08-28T04:21:02+02:00", "updated_at": "2022-08-28T11:57:10+02:00", "name": "Attacker-Linux", "path": ".github/workflows/smoke_test_cross_silo_fedavg_attack_linux.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Attacker-Linux\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master, test/v0.7.0, dev/v0.7.0  ]\n\n  workflow_run:\n    workflows: [ MPI - On Linux ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  cross-silo-attack-test:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest]\n        arch: [X64]\n        python-version: ['3.8']\n        client-index: ['0', '1', '2', '3', '4']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [ self-hosted, Linux ]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: server - cross-silo - attack\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/security/mqtt_s3_fedavg_attack_mnist_lr_example\n          run_id=cross-silo-attack-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_server.sh $run_id\n        if:   ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - cross-silo - attack\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/security/mqtt_s3_fedavg_attack_mnist_lr_example\n          run_id=cross-silo-attack-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 1 $run_id\n        if:   ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - cross-silo - attack\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/security/mqtt_s3_fedavg_attack_mnist_lr_example\n          run_id=cross-silo-attack-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 2 $run_id\n        if: ${{ matrix.client-index == '2' }}\n\n      - name: client 3 - cross-silo - attack\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/security/mqtt_s3_fedavg_attack_mnist_lr_example\n          run_id=cross-silo-attack-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 3 $run_id\n        if: ${{ matrix.client-index == '3' }}\n\n      - name: client 4 - cross-silo - attack\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/security/mqtt_s3_fedavg_attack_mnist_lr_example\n          run_id=cross-silo-attack-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 4 $run_id\n        if: ${{ matrix.client-index == '4' }}\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:27.472707", "created_at": "2022-09-06T22:57:27+02:00", "updated_at": "2023-05-12T12:01:22+02:00", "name": "Flow-Linux", "path": ".github/workflows/smoke_test_flow_linux.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Flow-Linux\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0, dev/v0.7.0 ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  Flow-test:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest]\n        arch: [X64]\n        python-version: ['3.8']\n        client-index: ['0', '1', '2']\n    runs-on: [ self-hosted, Linux ]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: server - Flow\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd fedml/core/distributed/flow\n          run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash test_run_server.sh $run_id\n        if:   ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - Flow\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd fedml/core/distributed/flow\n          run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash test_run_client.sh 1 $run_id\n        if:   ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - Flow\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd fedml/core/distributed/flow\n          run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash test_run_client.sh 2 $run_id\n        if: ${{ matrix.client-index == '2' }}", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:28.591062", "created_at": "2022-09-10T21:47:53+02:00", "updated_at": "2022-09-11T11:08:56+02:00", "name": "LDP-Linux", "path": ".github/workflows/smoke_test_cross_silo_fedavg_ldp_linux.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: LDP-Linux\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0, dev/v0.7.0  ]\n\n  workflow_run:\n    workflows: [ CDP-Linux ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  cross-silo-ldp-test:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest]\n        arch: [X64]\n        python-version: ['3.8']\n        client-index: ['0', '1', '2']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [ self-hosted, Linux ]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: server - cross-silo - ldp\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/privacy/mqtt_s3_fedavg_ldp_mnist_lr_example\n          run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_server.sh $run_id\n        if:   ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - cross-silo - ldp\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/privacy/mqtt_s3_fedavg_ldp_mnist_lr_example\n          run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 1 $run_id\n        if:   ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - cross-silo - ldp\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/privacy/mqtt_s3_fedavg_ldp_mnist_lr_example\n          run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 2 $run_id\n        if: ${{ matrix.client-index == '2' }}\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:29.613439", "created_at": "2022-09-10T21:47:53+02:00", "updated_at": "2022-09-11T11:08:56+02:00", "name": "CDP-Linux", "path": ".github/workflows/smoke_test_cross_silo_fedavg_cdp_linux.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: CDP-Linux\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0, dev/v0.7.0 ]\n\n  workflow_run:\n    workflows: [ Defender-Linux ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  cross-silo-cdp-test:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest]\n        arch: [X64]\n        python-version: ['3.8']\n        client-index: ['0', '1', '2']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [ self-hosted, Linux ]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >> $GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n\n      - name: server - cross-silo - cdp\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/privacy/mqtt_s3_fedavg_cdp_mnist_lr_example\n          run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_server.sh $run_id\n        if:   ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - cross-silo - cdp\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/privacy/mqtt_s3_fedavg_cdp_mnist_lr_example\n          run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 1 $run_id\n        if:   ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - cross-silo - cdp\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/privacy/mqtt_s3_fedavg_cdp_mnist_lr_example\n          run_id=cross-silo-ho-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 2 $run_id\n        if: ${{ matrix.client-index == '2' }}\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:30.852010", "created_at": "2022-09-30T06:58:16+02:00", "updated_at": "2022-09-30T06:58:16+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '34 20 * * 4'\n\n  workflow_run:\n    workflows: [ Pylint - FedML ]\n    types:\n      - completed\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:32.081990", "created_at": "2022-12-16T14:09:58+01:00", "updated_at": "2023-05-15T22:01:29+02:00", "name": "ML-Engines-Linux-JAX", "path": ".github/workflows/smoke_test_ml_engines_linux_jax.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: ML-Engines-Linux-JAX\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0, dev/v0.7.0 ]\n\n  workflow_run:\n    workflows: [ LightSecAgg-Linux ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  jax-ml-engines-test:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest ]\n        arch: [ X64 ]\n        python-version: [ '3.8' ]\n        client-index: [ '0', '1', '2' ]\n    #        exclude:\n    #          - os: macos-latest\n    #            python-version: '3.8'\n    #          - os: windows-latest\n    #            python-version: '3.6'\n    runs-on: [ self-hosted, Linux ]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n          cd $homepath/python\n\n      - name: server - jax - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/cross_silo/jax_haiku_mqtt_s3_fedavg_mnist_lr_example\n          run_id=jax-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_server.sh $run_id\n        if: ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - jax - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/cross_silo/jax_haiku_mqtt_s3_fedavg_mnist_lr_example\n          run_id=jax-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 1 $run_id\n        if: ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - jax - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/cross_silo/jax_haiku_mqtt_s3_fedavg_mnist_lr_example\n          run_id=jax-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 2 $run_id\n        if: ${{ matrix.client-index == '2' }}\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:33.086739", "created_at": "2022-12-16T14:09:58+01:00", "updated_at": "2023-05-15T22:01:29+02:00", "name": "ML-Engines-Linux-Tensorflow", "path": ".github/workflows/smoke_test_ml_engines_linux_tf.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: ML-Engines-Linux-Tensorflow\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0, dev/v0.7.0 ]\n\n  workflow_run:\n    workflows: [ ML-Engines-Linux-MXNet ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  tf-ml-engines-test:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest]\n        arch: [X64]\n        python-version: ['3.8']\n        client-index: ['0', '1', '2']\n#        exclude:\n#          - os: macos-latest\n#            python-version: '3.8'\n#          - os: windows-latest\n#            python-version: '3.6'\n    runs-on: [self-hosted, Linux]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n          cd $homepath/python\n\n      - name: server - tensorflow - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/cross_silo/tf_mqtt_s3_fedavg_mnist_lr_example\n          run_id=tf-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_server.sh $run_id\n        if:   ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - tensorflow - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/cross_silo/tf_mqtt_s3_fedavg_mnist_lr_example\n          run_id=tf-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 1 $run_id\n        if:   ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - tensorflow - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/cross_silo/tf_mqtt_s3_fedavg_mnist_lr_example\n          run_id=tf-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 2 $run_id\n        if: ${{ matrix.client-index == '2' }}\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:34.094072", "created_at": "2023-02-19T07:14:29+01:00", "updated_at": "2023-11-07T11:21:20+01:00", "name": "Build-Wheels-PyPi-Test", "path": ".github/workflows/build_wheels_and_test.yml", "contents": "name: Build-Wheels-PyPi-Test\n# https://github.com/pypa/cibuildwheel\n# Controls when the workflow will run\non:\n  workflow_run:\n    workflows: [ LightSecAgg-Linux ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  # Build the wheels for Linux, Windows and macOS for Python 3.8 and newer\n  build_wheels:\n    name: Build wheel for cp${{ matrix.python }}-${{ matrix.platform_id }}-${{ matrix.manylinux_image }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n        working-directory: python\n\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        include:\n          # Window 64 bit\n          - os: windows-2019\n            python: 38\n            bitness: 64\n            platform_id: win_amd64\n          - os: windows-latest\n            python: 39\n            bitness: 64\n            platform_id: win_amd64\n          - os: windows-latest\n            python: 310\n            bitness: 64\n            platform_id: win_amd64\n\n          # Window 32 bit\n          - os: windows-latest\n            python: 38\n            bitness: 32\n            platform_id: win32\n          - os: windows-latest\n            python: 39\n            bitness: 32\n            platform_id: win32\n\n          # Linux 64 bit manylinux2014\n          - os: ubuntu-latest\n            python: 38\n            bitness: 64\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n          - os: ubuntu-latest\n            python: 39\n            bitness: 64\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n\n          # NumPy on Python 3.10 only supports 64bit and is only available with manylinux2014\n          - os: ubuntu-latest\n            python: 310\n            bitness: 64\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n\n          # MacOS x86_64\n          - os: macos-latest\n            bitness: 64\n            python: 38\n            platform_id: macosx_x86_64\n          - os: macos-latest\n            bitness: 64\n            python: 39\n            platform_id: macosx_x86_64\n          - os: macos-latest\n            bitness: 64\n            python: 310\n            platform_id: macosx_x86_64\n\n          # MacOS arm64\n          - os: macos-latest\n            bitness: 64\n            python: 38\n            platform_id: macosx_arm64\n          - os: macos-latest\n            bitness: 64\n            python: 39\n            platform_id: macosx_arm64\n          - os: macos-latest\n            bitness: 64\n            python: 310\n            platform_id: macosx_arm64\n\n    steps:\n      - name: Checkout fedml\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        #with:\n        #  python-version: '3.9'\n      \n      - name: Build and test wheels\n        env:\n          CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}\n          CIBW_ARCHS: all\n          CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_image }}\n          CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.manylinux_image }}\n          CIBW_TEST_SKIP: \"*-macosx_arm64\"\n          CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: bash build_tools/github/repair_windows_wheels.sh {wheel} {dest_dir} ${{ matrix.bitness }}\n          CIBW_BEFORE_TEST_WINDOWS: bash build_tools/github/build_minimal_windows_image.sh ${{ matrix.python }} ${{ matrix.bitness }}\n          CIBW_TEST_COMMAND: bash {project}/build_tools/github/test_wheels.sh\n          CIBW_TEST_COMMAND_WINDOWS: bash {project}/build_tools/github/test_windows_wheels.sh ${{ matrix.python }} ${{ matrix.bitness }}\n          CIBW_BUILD_VERBOSITY: 1\n\n        #run: bash build_tools/github/build_wheels.sh\n        run: |\n          python -m pip install -U wheel setuptools\n          python setup.py sdist bdist_wheel\n          pwd\n          ls dist/*.whl\n          ls dist/*.tar.gz\n\n      - name: Upload source zip file\n        uses: actions/upload-artifact@v3\n        with:\n          path: python/dist/*.tar.gz\n\n      - name: Upload Wheels\n        uses: actions/upload-artifact@v3\n        with:\n          path: python/dist/*.whl\n\n  # Build the source distribution under Linux\n#  build_sdist:\n#    name: Source distribution\n#    needs: [ build_wheels ]\n#    runs-on: ubuntu-latest\n#    defaults:\n#      run:\n#        shell: bash\n#        working-directory: python\n#\n#    steps:\n#      - name: Checkout fedml\n#        uses: actions/checkout@v3\n#\n#      - name: Setup Python\n#        uses: actions/setup-python@v4\n#        with:\n#          python-version: '3.9'  # update once build dependencies are available\n#\n#      - name: Build source distribution\n#        run: bash build_tools/github/build_source.sh\n#\n#      - name: Test source distribution\n#        run: bash build_tools/github/test_source.sh\n#        env:\n#          OMP_NUM_THREADS: 2\n#          OPENBLAS_NUM_THREADS: 2\n#\n#      - name: Store artifacts\n#        uses: actions/upload-artifact@v3\n#        with:\n#          path: python/dist/*.tar.gz\n\n  upload_pypi:\n    name: Upload pypi\n    needs: [ build_wheels ]\n    runs-on: ubuntu-latest\n    # upload to PyPI on every tag starting with 'v'\n    #    if: github.event_name == 'push' && contains(github.event.comment, 'release v')\n    # alternatively, to publish when a GitHub Release is created, use the following rule:\n    # if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: artifact\n          path: python/dist\n\n      - uses: pypa/gh-action-pypi-publish@v1.8.3\n        with:\n          skip_existing: true\n          packages_dir: python/dist\n          user: ${{ secrets.PYPI_API_USER_NAME }}\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:35.154593", "created_at": "2023-05-13T00:54:39+02:00", "updated_at": "2023-05-15T22:01:29+02:00", "name": "ML-Engines-Linux-MXNet", "path": ".github/workflows/smoke_test_ml_engines_linux_mxnet.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: ML-Engines-Linux-MXNet\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master,  test/v0.7.0, dev/v0.7.0 ]\n\n  workflow_run:\n    workflows: [ ML-Engines-Linux-JAX ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  mxnet-ml-engines-test:\n    # defaults:\n    #   run:\n    #     shell: bash\n    #     working-directory: python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest ]\n        arch: [ X64 ]\n        python-version: [ '3.8' ]\n        client-index: [ '0', '1', '2' ]\n    #        exclude:\n    #          - os: macos-latest\n    #            python-version: '3.8'\n    #          - os: windows-latest\n    #            python-version: '3.6'\n    runs-on: [ self-hosted, Linux ]\n    timeout-minutes: 15\n    steps:\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n          cd $homepath/python\n          pip install mxnet==2.0.0b1\n\n      - name: server - mxnet - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/cross_silo/mxnet_mqtt_s3_fedavg_mnist_lr_example\n          run_id=mxnet-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_server.sh $run_id\n        if: ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - mxnet - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/cross_silo/mxnet_mqtt_s3_fedavg_mnist_lr_example\n          run_id=mxnet-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 1 $run_id\n        if: ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - mxnet - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd python\n          cd examples/cross_silo/mxnet_mqtt_s3_fedavg_mnist_lr_example\n          run_id=mxnet-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n          echo ${run_id}\n          bash run_client.sh 2 $run_id\n        if: ${{ matrix.client-index == '2' }}\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:36.382534", "created_at": "2023-11-07T11:21:20+01:00", "updated_at": "2023-11-07T11:21:20+01:00", "name": "Build-Wheels-PyPi-Dev", "path": ".github/workflows/build_wheels_and_dev.yml", "contents": "name: Build-Wheels-PyPi-Dev\n# https://github.com/pypa/cibuildwheel\n# Controls when the workflow will run\non:\n  workflow_run:\n    workflows: [ LightSecAgg-Linux ]\n    types:\n      - completed\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  # Build the wheels for Linux, Windows and macOS for Python 3.8 and newer\n  build_wheels:\n    name: Build wheel for cp${{ matrix.python }}-${{ matrix.platform_id }}-${{ matrix.manylinux_image }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n        working-directory: python\n\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        include:\n          # Window 64 bit\n          - os: windows-2019\n            python: 38\n            bitness: 64\n            platform_id: win_amd64\n          - os: windows-latest\n            python: 39\n            bitness: 64\n            platform_id: win_amd64\n          - os: windows-latest\n            python: 310\n            bitness: 64\n            platform_id: win_amd64\n\n          # Window 32 bit\n          - os: windows-latest\n            python: 38\n            bitness: 32\n            platform_id: win32\n          - os: windows-latest\n            python: 39\n            bitness: 32\n            platform_id: win32\n\n          # Linux 64 bit manylinux2014\n          - os: ubuntu-latest\n            python: 38\n            bitness: 64\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n          - os: ubuntu-latest\n            python: 39\n            bitness: 64\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n\n          # NumPy on Python 3.10 only supports 64bit and is only available with manylinux2014\n          - os: ubuntu-latest\n            python: 310\n            bitness: 64\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n\n          # MacOS x86_64\n          - os: macos-latest\n            bitness: 64\n            python: 38\n            platform_id: macosx_x86_64\n          - os: macos-latest\n            bitness: 64\n            python: 39\n            platform_id: macosx_x86_64\n          - os: macos-latest\n            bitness: 64\n            python: 310\n            platform_id: macosx_x86_64\n\n          # MacOS arm64\n          - os: macos-latest\n            bitness: 64\n            python: 38\n            platform_id: macosx_arm64\n          - os: macos-latest\n            bitness: 64\n            python: 39\n            platform_id: macosx_arm64\n          - os: macos-latest\n            bitness: 64\n            python: 310\n            platform_id: macosx_arm64\n\n    steps:\n      - name: Checkout fedml\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        #with:\n        #  python-version: '3.9'\n      \n      - name: Build and test wheels\n        env:\n          CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}\n          CIBW_ARCHS: all\n          CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_image }}\n          CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.manylinux_image }}\n          CIBW_TEST_SKIP: \"*-macosx_arm64\"\n          CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: bash build_tools/github/repair_windows_wheels.sh {wheel} {dest_dir} ${{ matrix.bitness }}\n          CIBW_BEFORE_TEST_WINDOWS: bash build_tools/github/build_minimal_windows_image.sh ${{ matrix.python }} ${{ matrix.bitness }}\n          CIBW_TEST_COMMAND: bash {project}/build_tools/github/test_wheels.sh\n          CIBW_TEST_COMMAND_WINDOWS: bash {project}/build_tools/github/test_windows_wheels.sh ${{ matrix.python }} ${{ matrix.bitness }}\n          CIBW_BUILD_VERBOSITY: 1\n\n        #run: bash build_tools/github/build_wheels.sh\n        run: |\n          python -m pip install -U wheel setuptools\n          python setup.py sdist bdist_wheel\n          pwd\n          ls dist/*.whl\n          ls dist/*.tar.gz\n\n      - name: Upload source zip file\n        uses: actions/upload-artifact@v3\n        with:\n          path: python/dist/*.tar.gz\n\n      - name: Upload Wheels\n        uses: actions/upload-artifact@v3\n        with:\n          path: python/dist/*.whl\n\n  # Build the source distribution under Linux\n#  build_sdist:\n#    name: Source distribution\n#    needs: [ build_wheels ]\n#    runs-on: ubuntu-latest\n#    defaults:\n#      run:\n#        shell: bash\n#        working-directory: python\n#\n#    steps:\n#      - name: Checkout fedml\n#        uses: actions/checkout@v3\n#\n#      - name: Setup Python\n#        uses: actions/setup-python@v4\n#        with:\n#          python-version: '3.9'  # update once build dependencies are available\n#\n#      - name: Build source distribution\n#        run: bash build_tools/github/build_source.sh\n#\n#      - name: Test source distribution\n#        run: bash build_tools/github/test_source.sh\n#        env:\n#          OMP_NUM_THREADS: 2\n#          OPENBLAS_NUM_THREADS: 2\n#\n#      - name: Store artifacts\n#        uses: actions/upload-artifact@v3\n#        with:\n#          path: python/dist/*.tar.gz\n\n  upload_pypi:\n    name: Upload pypi\n    needs: [ build_wheels ]\n    runs-on: ubuntu-latest\n    # upload to PyPI on every tag starting with 'v'\n    #    if: github.event_name == 'push' && contains(github.event.comment, 'release v')\n    # alternatively, to publish when a GitHub Release is created, use the following rule:\n    # if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: artifact\n          path: python/dist\n\n      - uses: pypa/gh-action-pypi-publish@v1.8.3\n        with:\n          skip_existing: true\n          packages_dir: python/dist\n          user: ${{ secrets.PYPI_API_USER_NAME }}\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:37.479102", "created_at": "2024-06-17T08:35:23+02:00", "updated_at": "2024-06-26T05:43:00+02:00", "name": "CI-launch", "path": ".github/workflows/CI_launch.yml", "contents": null, "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:39.146171", "created_at": "2024-06-17T08:35:23+02:00", "updated_at": "2024-06-26T05:43:00+02:00", "name": "CI-train", "path": ".github/workflows/CI_train.yml", "contents": null, "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:40.162178", "created_at": "2024-06-17T08:35:23+02:00", "updated_at": "2024-06-26T05:43:00+02:00", "name": "CI-build", "path": ".github/workflows/CI_build.yml", "contents": null, "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:41.153666", "created_at": "2024-06-17T08:35:23+02:00", "updated_at": "2024-06-26T05:43:01+02:00", "name": "CI-federate", "path": ".github/workflows/CI_federate.yml", "contents": null, "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:42.148575", "created_at": "2024-06-26T05:43:01+02:00", "updated_at": "2024-06-26T05:43:01+02:00", "name": "CI-deploy", "path": ".github/workflows/CI_deploy.yml", "contents": null, "state": "active", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:43.237779", "created_at": "2022-09-22T15:47:46+02:00", "updated_at": "2022-12-16T13:04:42+01:00", "name": "ML-Engines-Win", "path": ".github/workflows/smoke_test_ml_engines_win.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: ML-Engines-Win\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  schedule:\n    # Nightly build at 12:12 A.M.\n    - cron: \"12 12 */1 * *\"\n  pull_request:\n    branches: [ master2,  test/v0.7.0 ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  tf-ml-engines-test:\n    defaults:\n      run:\n        shell: powershell\n        working-directory: fedml-devops\\python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ windows-2019 ]\n        arch: [ X64 ]\n        python-version: [ '3.8' ]\n    runs-on: [self-hosted, runner-windows, devops]\n    timeout-minutes: 15\n    steps:\n      - name: cleanup running processes\n        continue-on-error: true\n        run: |\n          wmic.exe /interactive:off process where \"name='python.exe'\" call terminate\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n          cd $homepath/python\n          pip install -e '.[tensorflow]'\n\n      - name: server - tensorflow - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd examples/cross_silo/tf_mqtt_s3_fedavg_mnist_lr_example\n          python tf_server.py --cf config/fedml_config.yaml --rank 0 --role server --run_id tf-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if:   ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - tensorflow - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd examples/cross_silo/tf_mqtt_s3_fedavg_mnist_lr_example\n          python3 tf_client.py --cf config/fedml_config.yaml --rank 1 --role client --run_id tf-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if:   ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - tensorflow - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd examples/cross_silo/tf_mqtt_s3_fedavg_mnist_lr_example\n          python3 tf_client.py --cf config/fedml_config.yaml --rank 2 --role client --run_id tf-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if: ${{ matrix.client-index == '2' }}\n\n  jax-ml-engines-test:\n    defaults:\n      run:\n        shell: powershell\n        working-directory: fedml-devops\\python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ windows-2019 ]\n        arch: [ X64 ]\n        python-version: [ '3.8' ]\n    runs-on: [ self-hosted, runner-windows ]\n    timeout-minutes: 15\n    steps:\n      - name: cleanup running processes\n        continue-on-error: true\n        run: |\n          wmic.exe /interactive:off process where \"name='python.exe'\" call terminate\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n          cd $homepath/python\n          pip install -e '.[jax]'\n\n      - name: server - jax - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd examples/cross_silo/jax_haiku_mqtt_s3_fedavg_mnist_lr_example\n          python tf_server.py --cf config/fedml_config.yaml --rank 0 --role server --run_id jax-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if: ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - jax - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd examples/cross_silo/jax_haiku_mqtt_s3_fedavg_mnist_lr_example\n          python3 tf_client.py --cf config/fedml_config.yaml --rank 1 --role client --run_id jax-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if: ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - jax - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd examples/cross_silo/jax_haiku_mqtt_s3_fedavg_mnist_lr_example\n          python3 tf_client.py --cf config/fedml_config.yaml --rank 2 --role client --run_id jax-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if: ${{ matrix.client-index == '2' }}\n\n  mxnet-ml-engines-test:\n    defaults:\n      run:\n        shell: powershell\n        working-directory: fedml-devops\\python\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ windows-2019 ]\n        arch: [ X64 ]\n        python-version: [ '3.8' ]\n    runs-on: [ self-hosted, runner-windows ]\n    timeout-minutes: 15\n    steps:\n      - name: cleanup running processes\n        continue-on-error: true\n        run: |\n          wmic.exe /interactive:off process where \"name='python.exe'\" call terminate\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >>$GITHUB_OUTPUT\n        id: extract_branch\n      - id: fedml_source_code_home\n        name: cd to master or dev branch and git pull\n        shell: bash\n        run: |\n          ls\n          echo ${{ steps.extract_branch.outputs.branch }}\n          if [[ ${{ steps.extract_branch.outputs.branch }} == \"master\" ]]; then\n            echo \"running on master\"\n            path=/home/actions-runner/fedml-master\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          else\n            echo \"running on dev\"\n            path=/home/actions-runner/fedml-dev\n            cd $path\n            echo \"dir=$path\" >> $GITHUB_OUTPUT\n          fi\n      - name: sync git repo to local pip\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          homepath=${{ format('{0}', steps.fedml_source_code_home.outputs.dir) }}\n          echo $Homepath\n          cd $homepath\n          bash ./devops/scripts/sync-fedml-pip.sh\n          cd $homepath/python\n          pip install -e '.[mxnet]'\n\n      - name: server - mxnet - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd examples/cross_silo/mxnet_mqtt_s3_fedavg_mnist_lr_example\n          python tf_server.py --cf config/fedml_config.yaml --rank 0 --role server --run_id mxnet-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if: ${{ matrix.client-index == '0' }}\n\n      - name: client 1 - mxnet - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd examples/cross_silo/mxnet_mqtt_s3_fedavg_mnist_lr_example\n          python3 tf_client.py --cf config/fedml_config.yaml --rank 1 --role client --run_id mxnet-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if: ${{ matrix.client-index == '1' }}\n\n      - name: client 2 - mxnet - fedavg\n        working-directory: ${{ steps.fedml_source_code_home.outputs.dir }}\n        run: |\n          cd examples/cross_silo/mxnet_mqtt_s3_fedavg_mnist_lr_example\n          python3 tf_client.py --cf config/fedml_config.yaml --rank 2 --role client --run_id mxnet-ml-engine-${{ format('{0}{1}{2}{3}', github.run_id, matrix.os, matrix.arch, matrix.python-version) }}\n        if: ${{ matrix.client-index == '2' }}\n", "state": "disabled_manually", "repository": "fedml-ai/fedml"}
{"mined_at": "2024-07-15T15:11:45.495093", "created_at": "2020-01-13T02:26:37+01:00", "updated_at": "2020-01-13T02:26:37+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 4\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [\"3.8\", \"3.10\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n\n      - name: Install BEDTools (Linux)\n        run: sudo apt-get install bedtools libmagickwand-dev\n        if: matrix.os == 'ubuntu-latest'\n\n      - name: Install BEDTools (macOS)\n        run: brew install bedtools imagemagick\n        if: matrix.os == 'macos-latest'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .\n\n      - name: Test with pytest\n        run: |\n          pip install PyYAML pytest pytest-cov pytest-benchmark mock\n          pytest --cov=jcvi tests\n", "state": "active", "repository": "tanghaibao/jcvi"}
{"mined_at": "2024-07-15T15:11:47.582245", "created_at": "2021-08-07T04:37:30+02:00", "updated_at": "2021-08-07T15:46:16+02:00", "name": "functionality", "path": ".github/workflows/functionality.yaml", "contents": "on: [\"push\", \"pull_request\"]\n\nname: functionality\n\nenv:\n  ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  WEB3_INFURA_PROJECT_ID: 44c6300c5e5b4b2da5fc42b06bf18a8e\n\njobs:\n\n  functionality:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        job: [plugintest, pmtest]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Cache Solidity Installations\n      uses: actions/cache@v2\n      with:\n        path: |\n          ~/.solcx\n          ~/.vvm\n        key: ${{ runner.os }}-compiler-cache\n\n    - name: Setup Node.js\n      uses: actions/setup-node@v4\n\n    - name: Install Ganache\n      run: npm install -g ganache@7.9.2\n\n    - name: Setup Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n\n    - name: Install Tox\n      run: pip install tox\n\n    - name: Run Tox\n      run: tox -e pmtest\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        file: ./coverage.xml\n", "state": "active", "repository": "eth-brownie/brownie"}
{"mined_at": "2024-07-15T15:11:48.771379", "created_at": "2021-08-07T04:37:30+02:00", "updated_at": "2021-08-07T15:46:16+02:00", "name": "evm tests", "path": ".github/workflows/evm.yaml", "contents": "on: [\"push\", \"pull_request\"]\n\nname: evm tests\n\nenv:\n  ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  WEB3_INFURA_PROJECT_ID: 44c6300c5e5b4b2da5fc42b06bf18a8e\n\njobs:\n\n  evm:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        job: [evm-byzantium, evm-petersburg, evm-istanbul, evm-latest]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Cache Solidity Installations\n      uses: actions/cache@v2\n      with:\n        path: |\n          ~/.solcx\n          ~/.vvm\n        key: ${{ runner.os }}-compiler-cache\n\n    - name: Setup Node.js\n      uses: actions/setup-node@v4\n\n    - name: Install Ganache\n      run: npm install -g ganache@7.9.2\n\n    - name: Setup Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n\n    - name: Install Tox\n      run: pip install tox\n\n    - name: Run Tox\n      run: tox -e ${{ matrix.job }}\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        file: ./coverage.xml\n", "state": "active", "repository": "eth-brownie/brownie"}
{"mined_at": "2024-07-15T15:11:50.000530", "created_at": "2021-08-07T04:37:30+02:00", "updated_at": "2021-08-07T15:46:16+02:00", "name": "linting", "path": ".github/workflows/lint.yaml", "contents": "on: [\"push\", \"pull_request\"]\n\nname: linting\n\nenv:\n  ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  WEB3_INFURA_PROJECT_ID: 44c6300c5e5b4b2da5fc42b06bf18a8e\n\njobs:\n\n  linting:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        job: [lint, docs-local]\n        experimental: [false]\n        include:\n          - job: docs-external\n            experimental: true\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Install Tox\n      run: pip install tox\n\n    - name: Run Tox\n      run: tox -e ${{ matrix.job }}\n      continue-on-error: ${{ matrix.experimental }}\n", "state": "active", "repository": "eth-brownie/brownie"}
{"mined_at": "2024-07-15T15:11:51.043764", "created_at": "2024-01-31T22:39:58+01:00", "updated_at": "2024-02-02T21:27:22+01:00", "name": "Core Ganache (py3.11)", "path": ".github/workflows/core-ganache-3.11.yaml", "contents": "name: Core Ganache (py3.11)\non: [\"push\", \"pull_request\"]\n\nenv:\n  ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  WEB3_INFURA_PROJECT_ID: 1668fecbc9c242d58253476103a42ce9\n\njobs:\n  py311core:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Cache Solidity Installations\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/.solcx\n            ~/.vvm\n          key: ${{ runner.os }}-compiler-cache\n\n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n\n      - name: Install Ganache\n        run: npm install -g ganache@7.9.2\n\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Tox\n        run: pip install tox\n\n      - name: Run Tox\n        run: tox -e py311\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1\n        with:\n          file: ./coverage.xml\n", "state": "active", "repository": "eth-brownie/brownie"}
{"mined_at": "2024-07-15T15:11:52.146149", "created_at": "2024-01-31T22:39:58+01:00", "updated_at": "2024-02-02T21:27:22+01:00", "name": "Core Ganache (py3.12)", "path": ".github/workflows/core-ganache-3.12.yaml", "contents": "name: Core Ganache (py3.12)\non: [\"push\", \"pull_request\"]\n\nenv:\n  ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  WEB3_INFURA_PROJECT_ID: 21317ddb5ded42ce8d40c7d78f90474f\n\njobs:\n  py312core:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Cache Solidity Installations\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/.solcx\n            ~/.vvm\n          key: ${{ runner.os }}-compiler-cache\n\n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n\n      - name: Install Ganache\n        run: npm install -g ganache@7.9.2\n\n      - name: Setup Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install Tox\n        run: pip install tox\n\n      - name: Run Tox\n        run: tox -e py312\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1\n        with:\n          file: ./coverage.xml\n", "state": "active", "repository": "eth-brownie/brownie"}
{"mined_at": "2024-07-15T15:11:53.379093", "created_at": "2024-01-31T22:39:58+01:00", "updated_at": "2024-02-02T01:57:15+01:00", "name": "Core Ganache (py3.10)", "path": ".github/workflows/core-ganache-3.10.yaml", "contents": "name: Core Ganache (py3.10)\non: [\"push\", \"pull_request\"]\n\nenv:\n  ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  WEB3_INFURA_PROJECT_ID: ddddf0c53f254d36aa76ce4e3a6a390e\n\njobs:\n  py310core:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Cache Solidity Installations\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/.solcx\n            ~/.vvm\n          key: ${{ runner.os }}-compiler-cache\n\n      - name: Setup Node.js\n        uses: actions/setup-node@v1\n\n      - name: Install Ganache\n        run: npm install -g ganache@7.0.2\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install Tox\n        run: pip install tox\n\n      - name: Run Tox\n        run: tox -e py310\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1\n        with:\n          file: ./coverage.xml\n", "state": "active", "repository": "eth-brownie/brownie"}
{"mined_at": "2024-07-15T15:11:55.521419", "created_at": "2023-12-23T07:47:18+01:00", "updated_at": "2023-12-25T07:33:42+01:00", "name": "Benchmarks", "path": ".github/workflows/benchmarks.yml", "contents": "# Run performance benchmarks\n#\n# Continuous benchmarking using pytest-codspeed. Measures the execution speed of tests\n# marked with @pytest.mark.benchmark decorator.\n\nname: Benchmarks\n\non:\n  # Run on pushes to the main branch\n  push:\n    branches: [ main ]\n    paths:\n      - 'pygmt/**/*.py'\n      - '.github/workflows/benchmarks.yml'\n  # Run in PRs but only if the PR has the 'run/benchmark' label\n  pull_request:\n    types: [ opened, reopened, labeled, synchronize ]\n  # 'workflow_dispatch' allows CodSpeed to trigger backtest performance analysis\n  # in order to generate initial data.\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\njobs:\n  benchmarks:\n    runs-on: ubuntu-22.04\n    if: github.repository == 'GenericMappingTools/pygmt' && (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run/benchmark'))\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      # Checkout current git repository\n      - name: Checkout\n        uses: actions/checkout@v4.1.6\n        with:\n          # fetch all history so that setuptools-scm works\n          fetch-depth: 0\n\n      - name: Get current week number of year\n        id: date\n        run: echo \"date=$(date +%Y-W%W)\" >> $GITHUB_OUTPUT  # e.g., 2024-W19\n\n      # Install Micromamba with conda-forge dependencies\n      - name: Setup Micromamba\n        uses: mamba-org/setup-micromamba@v1.9.0\n        with:\n          environment-name: pygmt\n          condarc: |\n            channels:\n              - conda-forge\n              - nodefaults\n          cache-downloads: false\n          cache-environment: true\n          # environment cache is persistent for one week.\n          cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }}\n          create-args: >-\n            gmt=6.5.0\n            python=3.12\n            numpy\n            pandas\n            xarray\n            netCDF4\n            packaging\n            geopandas\n            pyarrow\n            pytest\n            pytest-codspeed\n            pytest-mpl\n            pytest-rerunfailures\n            pytest-xdist\n\n      # Download cached remote files (artifacts) from GitHub\n      - name: Download remote data from GitHub\n        run: |\n          # Download cached files to ~/.gmt directory and list them\n          gh run download --name gmt-cache --dir ~/.gmt/\n          # Change modification times of the two files, so GMT won't refresh it\n          touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt\n          ls -lhR ~/.gmt\n        env:\n          GH_TOKEN: ${{ github.token }}\n\n      # Install the package that we want to test\n      - name: Install the package\n        run: make install\n\n      # Run the benchmark tests\n      - name: Run benchmarks\n        uses: CodSpeedHQ/action@v2.4.1\n        with:\n          # 'bash -el -c' is needed to use the custom shell.\n          # See https://github.com/CodSpeedHQ/action/issues/65.\n          run: bash -el -c \"python -c \\\"import pygmt; pygmt.show_versions()\\\"; PYGMT_USE_EXTERNAL_DISPLAY=false python -m pytest -r P -n auto --reruns 2 --pyargs pygmt --codspeed\"\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:11:56.665894", "created_at": "2020-07-16T04:31:16+02:00", "updated_at": "2021-09-15T13:35:51+02:00", "name": "Cache data", "path": ".github/workflows/cache_data.yaml", "contents": "# Cache GMT remote data files and upload as artifacts\n#\n# This workflow downloads data files needed by PyGMT tests/documentation from the GMT\n# data server and uploads them as workflow artifacts, which can then be accessed by other\n# GitHub Actions workflows.\n#\n# It is scheduled to run every Sunday at 12:00 (UTC). If new remote files are needed\n# urgently, maintainers can refresh the cache by one of the following methods:\n#\n# 1. Update this workflow file\n# 2. Update the `pygmt/helpers/caching.py` file\n# 3. Go to https://github.com/GenericMappingTools/pygmt/actions/workflows/cache_data.yaml\n#    and click the \"Run workflow\" button\n#\nname: Cache data\n\non:\n  pull_request:\n    # Make any changes to the following files to refresh the cache in PRs\n    paths:\n      - 'pygmt/helpers/caching.py'\n      - '.github/workflows/cache_data.yaml'\n  workflow_dispatch:\n  # Schedule runs on 12 noon every Sunday\n  schedule:\n    - cron: '0 12 * * 0'\n\njobs:\n  gmt_cache:\n    name: Cache GMT artifacts\n    runs-on: macos-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      # Checkout current git repository\n      - name: Checkout\n        uses: actions/checkout@v4.1.6\n        with:\n          # fetch all history so that setuptools-scm works\n          fetch-depth: 0\n\n      # Install Micromamba with conda-forge dependencies\n      - name: Setup Micromamba\n        uses: mamba-org/setup-micromamba@v1.9.0\n        with:\n          environment-name: pygmt\n          condarc: |\n            channels:\n              - conda-forge\n              - nodefaults\n          create-args: >-\n            python=3.12\n            gmt=6.5.0\n            numpy\n            pandas\n            xarray\n            netCDF4\n            packaging\n            build\n\n      # Install the package that we want to test\n      - name: Install the package\n        run: |\n          python -m build --sdist\n          python -m pip install dist/*\n\n      # Download remote files\n      - name: Download remote data\n        run: |\n          python -c \"from pygmt.helpers.caching import cache_data; cache_data()\"\n\n      - name: List downloaded remote files\n        run: ls -lhR ~/.gmt\n\n      # Upload the downloaded files as artifacts to GitHub\n      - name: Upload artifacts to GitHub\n        uses: actions/upload-artifact@v4\n        with:\n          name: gmt-cache\n          path: |\n            ~/.gmt/cache\n            ~/.gmt/server\n            ~/.gmt/gmt_data_server.txt\n            ~/.gmt/gmt_hash_server.txt\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:11:57.782527", "created_at": "2020-11-24T05:21:12+01:00", "updated_at": "2021-04-27T08:54:51+02:00", "name": "Check Links", "path": ".github/workflows/check-links.yml", "contents": "# Check links in the repository and documentation\n#\n# This workflow runs the lychee tool to check all external links in plaintext\n# and HTML files. It will create an issue if broken links are found.\n#\n# It is scheduled to run weekly at 12 noon every Sunday.\n#\nname: Check Links\n\non:\n  # Uncomment the 'pull_request' line below to trigger the workflow in PR\n  # pull_request:\n  workflow_dispatch:\n  # Schedule runs on 12 noon every Sunday\n  schedule:\n    - cron: '0 12 * * 0'\n\njobs:\n  check_links:\n    name: Check Links\n    runs-on: ubuntu-latest\n    if: github.repository == 'GenericMappingTools/pygmt'\n\n    steps:\n    - name: Checkout the repository\n      uses: actions/checkout@v4.1.6\n      with:\n        path: repository\n\n    - name: Checkout the documentation\n      uses: actions/checkout@v4.1.6\n      with:\n        ref: gh-pages\n        path: documentation\n\n    - name: Link Checker\n      id: lychee\n      uses: lycheeverse/lychee-action@v1.10.0\n      with:\n        output: /tmp/lychee-out.md\n        # 429: Too many requests\n        args: >\n          --accept 429\n          --exclude \"^https://doi.org/10.5281/zenodo$\"\n          --exclude \"^https://zenodo.org/badge/DOI/$\"\n          --exclude \"^https://zenodo.org/badge/DOI/10.5281/zenodo$\"\n          --exclude \"^https://github.com/GenericMappingTools/pygmt/pull/[0-9]*$\"\n          --exclude \"^https://github.com/GenericMappingTools/pygmt/issues/[0-9]*$\"\n          --exclude \"^https://github.com/GenericMappingTools/gmt/releases/tag/X.Y.Z$\"\n          --exclude \"^https://github.com/GenericMappingTools/pygmt/edit\"\n          --exclude \"^https://github.com/GenericMappingTools/pygmt/issues/new\"\n          --exclude \"^git\"\n          --exclude \"^file://\"\n          --exclude \"https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf\"\n          --exclude \"^https://docs.generic-mapping-tools.org/6.5/%s$\"\n          --exclude \"^https://docs.generic-mapping-tools.org/6.5/%3Cmodule-name%3E.html$\"\n          --exclude \"^https://www.generic-mapping-tools.org/remote-datasets/%s$\"\n          --exclude \"^https://hackmd.io/@pygmt\"\n          --exclude \"^https://doi.org\"\n          --exclude \"^https://www.researchgate.net/\"\n          --exclude \"^https://test.pypi.org/simple/\"\n          --verbose\n          \"repository/**/*.rst\"\n          \"repository/**/*.md\"\n          \"repository/**/*.py\"\n          \"documentation/dev/**/*.html\"\n\n    - name: Get current date\n      id: date\n      run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n    - name: Create Issue From File\n      if: env.lychee_exit_code != 0\n      run: |\n        cd repository/\n        title=\"Link Checker Report on ${{ steps.date.outputs.date }}\"\n        gh issue create --title \"$title\" --body-file /tmp/lychee-out.md\n      env:\n        GH_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:11:58.910095", "created_at": "2021-03-15T02:34:21+01:00", "updated_at": "2021-04-21T21:13:46+02:00", "name": "Docs", "path": ".github/workflows/ci_docs.yml", "contents": "# Build and deploy documentation\n#\n# This workflow builds the documentation on Linux/macOS/Windows.\n#\n# It is run on every commit to the main and pull request branches, and also\n# when a new release is published.\n# In draft pull requests, only the job on Linux is triggered to save on\n# Continuous Integration resources.\n#\n# On the main branch, the workflow also handles the documentation deployment:\n#\n# * Updating the development documentation by pushing the built HTML pages\n#   from the main branch onto the dev folder of the gh-pages branch.\n# * Updating the latest documentation link to the new release.\n#\nname: Docs\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'pygmt/**/*.py'\n      - '!pygmt/tests/**'\n      - 'doc/**'\n      - 'examples/**'\n      - 'README.md'\n      - '.github/workflows/ci_docs.yml'\n  pull_request:\n    types: [opened, reopened, synchronize, ready_for_review]\n    paths:\n      - 'pygmt/**/*.py'\n      - '!pygmt/tests/**'\n      - 'doc/**'\n      - 'examples/**'\n      - 'README.md'\n      - '.github/workflows/ci_docs.yml'\n  workflow_dispatch:\n  release:\n    types:\n      - published\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\njobs:\n  docs:\n    name: ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    if: github.repository == 'GenericMappingTools/pygmt'\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        # Is it a draft Pull Request (true or false)?\n        isDraft:\n          - ${{ github.event.pull_request.draft }}\n        # Only run one job (Ubuntu + Python 3.12) for draft PRs\n        exclude:\n          - os: macos-latest\n            isDraft: true\n          - os: windows-latest\n            isDraft: true\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      # Checkout current git repository\n      - name: Checkout\n        uses: actions/checkout@v4.1.6\n        with:\n          # fetch all history so that setuptools-scm works\n          fetch-depth: 0\n\n      - name: Get current week number of year\n        id: date\n        run: echo \"date=$(date +%Y-W%W)\" >> $GITHUB_OUTPUT  # e.g., 2024-W19\n\n      # Install Micromamba with conda-forge dependencies\n      - name: Setup Micromamba\n        uses: mamba-org/setup-micromamba@v1.9.0\n        with:\n          environment-name: pygmt\n          condarc: |\n            channels:\n              - conda-forge\n              - nodefaults\n          cache-downloads: false\n          cache-environment: true\n          # environment cache is persistent for one week.\n          cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }}\n          create-args: >-\n            python=3.12\n            gmt=6.5.0\n            ghostscript=10.03.1\n            numpy\n            pandas\n            xarray\n            netCDF4\n            packaging\n            contextily\n            geopandas\n            ipython\n            rioxarray\n            build\n            make\n            pip\n            myst-parser\n            panel\n            sphinx\n            sphinx-autodoc-typehints\n            sphinx-copybutton\n            sphinx-design\n            sphinx-gallery\n            sphinx_rtd_theme\n\n      # Download cached remote files (artifacts) from GitHub\n      - name: Download remote data from GitHub\n        run: |\n          # Download cached files to ~/.gmt directory and list them\n          gh run download --name gmt-cache --dir ~/.gmt/\n          # Change modification times of the two files, so GMT won't refresh it\n          touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt\n          ls -lhR ~/.gmt\n        env:\n          GH_TOKEN: ${{ github.token }}\n\n      # Install the package that we want to test\n      - name: Install the package\n        run: |\n          python -m build --sdist\n          python -m pip install dist/*\n\n      # Build the documentation\n      - name: Build the documentation\n        run: make -C doc clean all\n\n      - name: Checkout the gh-pages branch\n        uses: actions/checkout@v4.1.6\n        with:\n          ref: gh-pages\n          # Checkout to this folder instead of the current one\n          path: deploy\n          # Download the entire history\n          fetch-depth: 0\n        if: (github.event_name == 'release' || github.event_name == 'push') && (matrix.os == 'ubuntu-latest')\n\n      - name: Push the built HTML to gh-pages\n        run: |\n          # Detect if this is a release or from the main branch\n          if [[ \"${GITHUB_EVENT_NAME}\" == \"release\" ]]; then\n              # Get the tag name without the \"refs/tags/\" part\n              version=\"${GITHUB_REF#refs/*/}\"\n          else\n              version=dev\n          fi\n          echo \"Deploying version: $version\"\n          # Make the new commit message. Needs to happen before cd into deploy\n          # to get the right commit hash.\n          message=\"Deploy $version from $(git rev-parse --short HEAD)\"\n          cd deploy\n          # Need to have this file so that GitHub doesn't try to run Jekyll\n          touch .nojekyll\n          # Delete all the files and replace with our new  set\n          echo -e \"\\nRemoving old files from previous builds of ${version}:\"\n          rm -rvf ${version}\n          echo -e \"\\nCopying HTML files to ${version}:\"\n          cp -Rvf ../doc/_build/html/ ${version}/\n          # If this is a new release, update the link from /latest to it\n          if [[ \"${version}\" != \"dev\" ]]; then\n              echo -e \"\\nSetup link from ${version} to 'latest'.\"\n              rm -f latest\n              ln -sf ${version} latest\n          fi\n          # Stage the commit\n          git add -A .\n          echo -e \"\\nChanges to be applied:\"\n          git status\n          # Configure git to be the GitHub Actions account\n          git config user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config user.name \"github-actions[bot]\"\n          # If this is a dev build and the last commit was from a dev build\n          # (detect if \"dev\" was in the previous commit message), reuse the\n          # same commit\n          if [[ \"${version}\" == \"dev\" && `git log -1 --format='%s'` == *\"dev\"* ]]; then\n              echo -e \"\\nAmending last commit:\"\n              git commit --amend --reset-author -m \"$message\"\n          else\n              echo -e \"\\nMaking a new commit:\"\n              git commit -m \"$message\"\n          fi\n          # Make the push quiet just in case there is anything that could leak\n          # sensitive information.\n          echo -e \"\\nPushing changes to gh-pages.\"\n          git push -fq origin gh-pages 2>&1 >/dev/null\n          echo -e \"\\nFinished uploading generated files.\"\n        if: (github.event_name == 'release' || github.event_name == 'push') && (matrix.os == 'ubuntu-latest')\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:00.035469", "created_at": "2023-03-23T10:58:50+01:00", "updated_at": "2023-04-12T09:06:31+02:00", "name": "Doctests", "path": ".github/workflows/ci_doctests.yaml", "contents": "# Run all doctests on Linux/macOS/Windows\n#\n# This workflow runs all PyGMT doctests. It is scheduled to run weekly every\n# Sunday.\n#\nname: Doctests\n\non:\n  # push:\n  #   branches: [ main ]\n  # pull_request:\n  workflow_dispatch:\n  # Schedule weekly tests on Sunday\n  schedule:\n    - cron: '0 0 * * 0'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\njobs:\n  test:\n    name: ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    if: github.repository == 'GenericMappingTools/pygmt'\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      # Checkout current git repository\n      - name: Checkout\n        uses: actions/checkout@v4.1.6\n        with:\n          # fetch all history so that setuptools-scm works\n          fetch-depth: 0\n\n      # Install Micromamba with conda-forge dependencies\n      - name: Setup Micromamba\n        uses: mamba-org/setup-micromamba@v1.9.0\n        with:\n          environment-name: pygmt\n          condarc: |\n            channels:\n              - conda-forge\n              - nodefaults\n          create-args: >-\n            python=3.12\n            gmt=6.5.0\n            numpy\n            pandas\n            xarray\n            netCDF4\n            packaging\n            contextily\n            geopandas\n            ipython\n            pyarrow\n            rioxarray\n            build\n            make\n            pip\n            pytest\n            pytest-doctestplus\n            pytest-mpl\n\n      # Download cached remote files (artifacts) from GitHub\n      - name: Download remote data from GitHub\n        run: |\n          # Download cached files to ~/.gmt directory and list them\n          gh run download --name gmt-cache --dir ~/.gmt/\n          # Change modification times of the two files, so GMT won't refresh it\n          touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt\n          ls -lhR ~/.gmt\n        env:\n          GH_TOKEN: ${{ github.token }}\n\n      # Install the package that we want to test\n      - name: Install the package\n        run: make install\n\n      # Run the doctests\n      - name: Run doctests\n        run: make doctest PYTEST_EXTRA=\"-r P\"\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:01.264220", "created_at": "2020-06-09T06:53:51+02:00", "updated_at": "2023-05-11T23:02:25+02:00", "name": "Tests", "path": ".github/workflows/ci_tests.yaml", "contents": "# Test PyGMT on Linux/macOS/Windows\n#\n# This workflow runs regular PyGMT tests and uploads test coverage reports stored\n# in `.coverage.xml` to https://app.codecov.io/gh/GenericMappingTools/pygmt\n# via the [Codecov GitHub Action](https://github.com/codecov/codecov-action).\n# More codecov related configurations are stored in `.github/codecov.yml`.\n# If any tests fail, it also uploads the diff images as workflow artifacts.\n#\n# It is run:\n# 1. on every commit to the main branch\n# 2. on every commit to the pull request branches, unless the pull requests only\n#    contain non-code changes.\n# 3. when a new release is published\n#\n# It is also scheduled to run daily on the main branch.\n#\n# In draft pull request, only two jobs on Linux are triggered to save on\n# Continuous Integration resources:\n#\n# - Minimum supported Python/NumPy/Pandas/Xarray versions following [SPEC 0](https://scientific-python.org/specs/spec-0000/)\n# - Latest Python/NumPy versions + optional packages (e.g. GeoPandas)\n#\nname: Tests\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'pygmt/**'\n      - '.github/workflows/ci_tests.yaml'\n  pull_request:\n    types: [opened, reopened, synchronize, ready_for_review]\n    paths:\n      - 'pygmt/**'\n      - '.github/workflows/ci_tests.yaml'\n  workflow_dispatch:\n  release:\n    types:\n      - published\n  # Schedule daily tests\n  schedule:\n    - cron: '0 0 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\njobs:\n  test:\n    name: ${{ matrix.os }} - Python ${{ matrix.python-version }} / NumPy ${{ matrix.numpy-version }}\n    runs-on: ${{ matrix.os }}\n    permissions:\n      id-token: write  # This is required for requesting OIDC token for codecov\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10', '3.12']\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        # Is it a draft Pull Request (true or false)?\n        isDraft:\n          - ${{ github.event.pull_request.draft }}\n        # Only run two jobs (Ubuntu + Python 3.10/3.12) for draft PRs\n        exclude:\n          - os: macos-latest\n            isDraft: true\n          - os: windows-latest\n            isDraft: true\n        # Pair Python 3.10 with the minimum supported versions of NumPy/Pandas/Xarray\n        # and Python 3.12 with the latest versions of NumPy/Pandas/Xarray\n        # Only install optional packages on Python 3.12\n        include:\n          - python-version: '3.10'\n            numpy-version: '1.24'\n            pandas-version: '=1.5'\n            xarray-version: '=2022.06'\n            optional-packages: ''\n          - python-version: '3.12'\n            numpy-version: '2.0'\n            pandas-version: ''\n            xarray-version: ''\n            optional-packages: ' contextily geopandas ipython pyarrow rioxarray sphinx-gallery'\n\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    # Environment variables used by codecov\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n      NUMPY: ${{ matrix.numpy-version }}\n\n    steps:\n      # Checkout current git repository\n      - name: Checkout\n        uses: actions/checkout@v4.1.6\n        with:\n          # fetch all history so that setuptools-scm works\n          fetch-depth: 0\n\n      - name: Get current week number of year\n        id: date\n        run: echo \"date=$(date +%Y-W%W)\" >> $GITHUB_OUTPUT  # e.g., 2024-W19\n\n      # Install Micromamba with conda-forge dependencies\n      - name: Setup Micromamba\n        uses: mamba-org/setup-micromamba@v1.9.0\n        with:\n          environment-name: pygmt\n          condarc: |\n            channels:\n              - conda-forge\n              - nodefaults\n          cache-downloads: false\n          cache-environment: true\n          # environment cache is persistent for one week.\n          cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }}\n          create-args: >-\n            python=${{ matrix.python-version }}${{ matrix.optional-packages }}\n            gmt=6.5.0\n            ghostscript=10.03.1\n            numpy=${{ matrix.numpy-version }}\n            pandas${{ matrix.pandas-version }}\n            xarray${{ matrix.xarray-version }}\n            netCDF4\n            packaging\n            build\n            dvc\n            make\n            pip\n            pytest\n            pytest-cov\n            pytest-doctestplus\n            pytest-mpl\n            pytest-rerunfailures\n            pytest-xdist\n\n      # Download cached remote files (artifacts) from GitHub\n      - name: Download remote data from GitHub\n        run: |\n          # Download files to ~/.gmt directory and list them\n          gh run download --name gmt-cache --dir ~/.gmt/\n          # Change modification times of the two files, so GMT won't refresh it\n          touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt\n          ls -lhR ~/.gmt\n        env:\n          GH_TOKEN: ${{ github.token }}\n\n      # Pull baseline image data from dvc remote (DAGsHub)\n      - name: Pull baseline image data from dvc remote\n        run: dvc pull --no-run-cache --verbose && ls -lhR pygmt/tests/baseline/\n\n      # Install the package that we want to test\n      - name: Install the package\n        run: make install\n\n      # Run the regular tests\n      - name: Run tests\n        run: make test PYTEST_EXTRA=\"-r P -n auto --reruns 2\"\n\n      # Upload diff images on test failure\n      - name: Upload diff images if any test fails\n        uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: artifact-${{ runner.os }}-${{ matrix.python-version }}\n          path: tmp-test-dir-with-unique-name\n\n      # Upload coverage to Codecov\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        if: success() || failure()\n        with:\n          use_oidc: true\n          file: ./coverage.xml # optional\n          env_vars: OS,PYTHON,NUMPY\n          fail_ci_if_error: false\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:02.293732", "created_at": "2020-07-22T10:30:05+02:00", "updated_at": "2021-04-27T08:54:17+02:00", "name": "GMT Dev Tests", "path": ".github/workflows/ci_tests_dev.yaml", "contents": "# Test PyGMT with GMT dev version on Linux/macOS/Windows\n#\n# This workflow runs regular PyGMT tests with the GMT dev version, and also pre-release\n# versions of several dependencies like NumPy, Pandas, Xarray, etc. If any tests fail,\n# it also uploads the diff images as workflow artifacts. The GMT dev version is\n# installed by fetching the latest source codes from the GMT master branch and\n# compiling.\n#\n# It is triggered in a pull request if labeled with 'run/test-gmt-dev'.\n# It is also scheduled to run on Monday, Wednesday, and Friday on the main branch.\n#\nname: GMT Dev Tests\n\non:\n  # push:\n  #   branches: [ main ]\n  pull_request:\n    types: [ opened, reopened, labeled, synchronize ]\n    paths:\n      - 'pygmt/**'\n      - '.github/workflows/ci_tests_dev.yaml'\n  workflow_dispatch:\n  # Schedule tests on Monday/Wednesday/Friday\n  schedule:\n    - cron: '0 0 * * 1,3,5'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\njobs:\n  test_gmt_dev:\n    name: ${{ matrix.os }} - GMT ${{ matrix.gmt_git_ref }}\n    runs-on: ${{ matrix.os }}\n    if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run/test-gmt-dev')\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-24.04, macos-14, windows-2022]\n        gmt_git_ref: [master]\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      # Checkout current git repository\n      - name: Checkout\n        uses: actions/checkout@v4.1.6\n        with:\n          # fetch all history so that setuptools-scm works\n          fetch-depth: 0\n\n      - name: Get current week number of year\n        id: date\n        run: echo \"date=$(date +%Y-W%W)\" >> $GITHUB_OUTPUT  # e.g., 2024-W19\n\n      # Install Micromamba with conda-forge dependencies\n      - name: Setup Micromamba\n        uses: mamba-org/setup-micromamba@v1.9.0\n        with:\n          environment-name: pygmt\n          condarc: |\n            channels:\n              - conda-forge\n              - nodefaults\n          cache-downloads: false\n          cache-environment: true\n          # environment cache is persistent for one week.\n          cache-environment-key: micromamba-environment-${{ steps.date.outputs.date }}\n          create-args: >-\n            python=3.12\n            cmake\n            make\n            ninja\n            curl\n            fftw\n            ghostscript=10.03.1\n            glib\n            hdf5\n            libblas\n            libcblas\n            libgdal\n            liblapack\n            libnetcdf\n            pcre\n            zlib\n\n      # Checkout current GMT repository\n      - name: Checkout the GMT source from ${{ matrix.gmt_git_ref }} branch\n        uses: actions/checkout@v4.1.6\n        with:\n          repository: 'GenericMappingTools/gmt'\n          ref: ${{ matrix.gmt_git_ref }}\n          path: 'gmt'\n\n      # Build GMT from source on Linux/macOS, script is adapted from\n      # https://github.com/GenericMappingTools/gmt/blob/6.5.0/ci/build-gmt.sh\n      - name: Build GMT on Linux/macOS\n        run: |\n          cd gmt/\n          mkdir build\n          cd build\n          cmake -G Ninja .. \\\n            -DCMAKE_INSTALL_PREFIX=${{ env.GMT_INSTALL_DIR }} \\\n            -DCMAKE_BUILD_TYPE=Release \\\n            -DGMT_ENABLE_OPENMP=TRUE \\\n            -DGMT_USE_THREADS=TRUE\n          cmake --build .\n          cmake --build . --target install\n          cd ..\n          rm -rf gmt/\n        env:\n          GMT_INSTALL_DIR: ${{ runner.temp }}/gmt-install-dir\n        if: runner.os != 'Windows'\n\n      - name: Build GMT on Windows\n        shell: cmd\n        run: |\n          cd gmt/\n          mkdir build\n          cd build\n          call \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat\"\n          cmake -G Ninja .. ^\n            -DCMAKE_INSTALL_PREFIX=${{ env.GMT_INSTALL_DIR }} ^\n            -DCMAKE_BUILD_TYPE=Release ^\n            -DCMAKE_PREFIX_PATH=${{ env.MAMBA_ROOT_PREFIX }}\\envs\\pygmt\\Library ^\n            -DGMT_ENABLE_OPENMP=TRUE ^\n            -DGMT_USE_THREADS=TRUE\n          cmake --build .\n          cmake --build . --target install\n          cd ..\n          rm -rf gmt/\n        env:\n          GMT_INSTALL_DIR: ${{ runner.temp }}/gmt-install-dir\n        if: runner.os == 'Windows'\n\n      - name: Add GMT's bin to PATH\n        run: echo '${{ runner.temp }}/gmt-install-dir/bin' >> $GITHUB_PATH\n\n      # Install dependencies from PyPI\n      - name: Install dependencies\n        run: |\n          python -m pip install --pre --prefer-binary \\\n                        --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \\\n                        numpy pandas xarray netCDF4 packaging \\\n                        build contextily dvc geopandas ipython pyarrow rioxarray \\\n                        pytest pytest-cov pytest-doctestplus pytest-mpl pytest-rerunfailures pytest-xdist\\\n                        sphinx-gallery\n\n      # Show installed pkg information for postmortem diagnostic\n      - name: List installed packages\n        run: micromamba list\n\n      # Pull baseline image data from dvc remote (DAGsHub)\n      - name: Pull baseline image data from dvc remote\n        run: dvc pull --no-run-cache --verbose && ls -lhR pygmt/tests/baseline/\n\n      # Download cached remote files (artifacts) from GitHub\n      - name: Download remote data from GitHub\n        run: |\n          # Download cached files to ~/.gmt directory and list them\n          gh run download --name gmt-cache --dir ~/.gmt/\n          # Change modification times of the two files, so GMT won't refresh it\n          touch ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt\n          ls -lhR ~/.gmt\n        env:\n          GH_TOKEN: ${{ github.token }}\n\n      # Install the package that we want to test\n      - name: Install the package\n        run: make install\n\n      # Run the tests\n      - name: Test with pytest\n        run: make test PYTEST_EXTRA=\"-r P -n auto --reruns 2\"\n        env:\n          GMT_LIBRARY_PATH: ${{ runner.temp }}/gmt-install-dir/lib\n\n      # Upload diff images on test failure\n      - name: Upload diff images if any test fails\n        uses: actions/upload-artifact@v4\n        if: ${{ failure() }}\n        with:\n          name: artifact-GMT-${{ matrix.gmt_git_ref }}-${{ runner.os }}\n          path: tmp-test-dir-with-unique-name\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:03.518420", "created_at": "2022-09-13T09:35:32+02:00", "updated_at": "2022-09-14T17:18:21+02:00", "name": "GMT Legacy Tests", "path": ".github/workflows/ci_tests_legacy.yaml", "contents": "# Test PyGMT with GMT legacy versions on Linux/macOS/Windows\n#\n# This workflow runs regular PyGMT tests with GMT legacy versions. Due to the\n# minor baseline image changes between GMT versions, the workflow only runs\n# the tests but doesn't do image comparisons.\n#\n# It is scheduled to run every Tuesday on the main branch.\n#\nname: GMT Legacy Tests\n\non:\n  # push:\n  #   branches: [ main ]\n  # Uncomment the 'pull_request' line below to trigger the workflow in PR\n  # pull_request:\n    # types: [ready_for_review]\n    # paths:\n    #  - 'pygmt/**'\n    #  - '.github/workflows/ci_tests_legacy.yaml'\n  workflow_dispatch:\n  # Schedule tests on Tuesday\n  schedule:\n    - cron: '0 0 * * 2'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\njobs:\n  test:\n    name: ${{ matrix.os }} - GMT ${{ matrix.gmt_version }}\n    runs-on: ${{ matrix.os }}\n    if: github.repository == 'GenericMappingTools/pygmt'\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, macos-12, windows-2019]\n        gmt_version: ['6.3', '6.4']\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      # Checkout current git repository\n      - name: Checkout\n        uses: actions/checkout@v4.1.6\n        with:\n          # fetch all history so that setuptools-scm works\n          fetch-depth: 0\n\n      # Install Micromamba with conda-forge dependencies\n      - name: Setup Micromamba\n        uses: mamba-org/setup-micromamba@v1.9.0\n        with:\n          environment-name: pygmt\n          condarc: |\n            channels:\n              - conda-forge\n              - nodefaults\n          create-args: >-\n            python=3.10\n            gmt=${{ matrix.gmt_version }}\n            numpy\n            pandas<2\n            xarray\n            netCDF4\n            packaging\n            contextily\n            geopandas\n            ipython\n            pyarrow\n            rioxarray\n            sphinx-gallery\n            build\n            make\n            pip\n            pytest\n            pytest-doctestplus\n            pytest-mpl\n\n      # Download cached remote files (artifacts) from GitHub\n      - name: Download remote data from GitHub\n        run: |\n          # Download cached files to ~/.gmt directory and list them\n          gh run download --name gmt-cache --dir ~/.gmt/\n          # Change modification times of the two files, so GMT won't refresh it\n          # The two files are in the `~/.gmt/server` directory for GMT<=6.4, and\n          # in the `~/.gmt` directory for GMT>=6.5.\n          mkdir -p ~/.gmt/server/\n          mv ~/.gmt/gmt_data_server.txt ~/.gmt/gmt_hash_server.txt ~/.gmt/server/\n          touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt\n          ls -lhR ~/.gmt\n        env:\n          GH_TOKEN: ${{ github.token }}\n\n      # Install the package that we want to test\n      - name: Install the package\n        run: make install\n\n      # Run the tests but skip images\n      - name: Run tests\n        run: make test_no_images PYTEST_EXTRA=\"-r P\"\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:04.510541", "created_at": "2021-03-23T00:54:46+01:00", "updated_at": "2021-04-21T20:49:16+02:00", "name": "DVC image diff", "path": ".github/workflows/dvc-diff.yml", "contents": "# Report changes in test images\n#\n# This workflow checks for image diffs in a pull request and adds a GitHub\n# comment showing the diff.\n#\n# It is triggered in a PR when any *.png.dvc files have been added, modified,\n# or deleted. A GitHub comment will be published that contains a summary table\n# of the images that have changed along with a visual report.\n#\nname: DVC image diff\n\non:\n  pull_request:\n    paths:\n      - 'pygmt/tests/baseline/*.png.dvc'\n\njobs:\n  dvc-diff:\n    name: DVC image diff\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4.1.6\n      with:\n        # fetch all history so that dvc diff works\n        fetch-depth: 0\n\n    - name: Setup data version control (DVC)\n      uses: iterative/setup-dvc@v1.1.2\n\n    - name: Setup continuous machine learning (CML)\n      uses: iterative/setup-cml@v2.0.0\n\n    # Produce the markdown diff report, which should look like:\n    # ## Summary of changed images\n    #\n    # This is an auto-generated report of images that have changed on the DVC remote\n    #\n    # | Status   | Path                                |\n    # |----------|-------------------------------------|\n    # | added    | pygmt/tests/baseline/test_image.png |\n    # | deleted  | pygmt/tests/baseline/test_image2.png |\n    # | modified | pygmt/tests/baseline/test_image3.png |\n    #\n    # ## Image diff(s)\n    #\n    # <details>\n    # ...\n    # </details>\n    #\n    # Report last updated at commit abcdef\n    - name: Generate the image diff report\n      env:\n        repo_token: ${{ github.token }}\n      run: |\n        echo -e \"## Summary of changed images\\n\" > report.md\n        echo -e \"This is an auto-generated report of images that have changed on the DVC remote\\n\" >> report.md\n\n        # Pull image data from cloud storage\n        dvc pull --remote upstream\n        dvc diff --md main HEAD >> report.md\n\n        # Get just the filename of the added and modified image from the report\n        awk 'NF==5 && NR>=7 && $2==\"added\" {print $4}' report.md > added_files.txt\n        awk 'NF==5 && NR>=7 && $2==\"modified\" {print $4}' report.md > modified_files.txt\n\n        # Backup new images in the baseline-new directory\n        mkdir pygmt/tests/baseline-new\n        cp pygmt/tests/baseline/*.png pygmt/tests/baseline-new/\n        # Pull images in the main branch from cloud storage\n        git checkout main\n        dvc pull --remote upstream --force\n\n        # Append each image to the markdown report\n        echo -e \"## Image diff(s)\\n\" >> report.md\n        echo -e \"<details>\\n\" >> report.md\n\n        # Added images\n        echo -e \"### Added images\\n\" >> report.md\n        while IFS= read -r line; do\n          echo -e \"- $(basename $line) \\n\" >> report.md\n          echo -e \"![](${line/baseline/baseline-new})\" >> report.md\n        done < added_files.txt\n\n        # Modified images\n        echo -e \"### Modified images\\n\" >> report.md\n        echo -e \"| Path | Old | New |\" >> report.md\n        echo -e \"|---|---|---|\" >> report.md\n        while IFS= read -r line; do\n          echo -e \"| $(basename $line) | ![]($line) | ![](${line/baseline/baseline-new}) |\" >> report.md\n        done < modified_files.txt\n\n        echo -e \"</details>\\n\" >> report.md\n\n        # Mention git commit SHA in the report\n        echo -e \"Report last updated at commit ${{ github.event.pull_request.head.sha }}\" >> report.md\n\n        # create/update PR comment\n        cml comment update report.md\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:05.544279", "created_at": "2020-10-24T04:21:52+02:00", "updated_at": "2020-10-24T04:21:52+02:00", "name": "format-command", "path": ".github/workflows/format-command.yml", "contents": "# Format the codes using slash command\n#\n# This workflow is triggered in a PR if the slash command `/format` is used.\n#\nname: format-command\non:\n  repository_dispatch:\n    types: [format-command]\njobs:\n  format:\n    runs-on: ubuntu-latest\n    steps:\n      # Generate token from GenericMappingTools bot\n      - uses: actions/create-github-app-token@v1.10.1\n        id: generate-token\n        with:\n          app-id: ${{ secrets.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      # Checkout the pull request branch\n      - uses: actions/checkout@v4.1.6\n        with:\n          token: ${{ steps.generate-token.outputs.token }}\n          repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}\n          ref: ${{ github.event.client_payload.pull_request.head.ref }}\n\n      # Setup Python environment\n      - uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.12'\n\n      # Install formatting tools\n      - name: Install formatting tools\n        run: |\n          python -m pip install ruff pre-commit\n          python -m pip list\n\n      # Run \"make format\" and commit the change to the PR branch\n      - name: Commit to the PR branch if any changes\n        run: |\n          make format\n          if [[ $(git ls-files -m) ]]; then\n            git config --global user.name 'actions-bot'\n            git config --global user.email '58130806+actions-bot@users.noreply.github.com'\n            git commit -am \"[format-command] fixes\"\n            git push\n          fi\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:06.691411", "created_at": "2020-11-05T04:24:17+01:00", "updated_at": "2021-02-16T11:40:40+01:00", "name": "Publish to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "# Publish archives to PyPI and TestPyPI using GitHub Actions\n#\n# This workflow is ran to publish PyGMT archives (source and binary distributions)\n# to TestPyPI (for testing only) and PyPI.\n#\n# Archives will be pushed to TestPyPI for every commit to the main branch and\n# tagged releases, and to PyPI for tagged releases only.\n#\n# Note that authentication to TestPyPI/PyPI is done via OpenID Connect, see also\n# https://github.com/pypa/gh-action-pypi-publish/tree/release/v1#publishing-with-openid-connect\n#\n# Important: this workflow filename must be publish-to-pypi.yml to match the\n# settings in PyPI and TestPyPI so that OIDC publishing works.\n#\nname: Publish to PyPI\n\n# Only run for pushes to the main branch and releases.\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'pygmt/**'\n      - '!pygmt/tests/**'\n      - 'Makefile'\n      - 'MANIFEST.in'\n      - 'pyproject.toml'\n      - 'README.md'\n      - '.github/workflows/publish-to-pypi.yml'\n  release:\n    types:\n      - published\n  # Runs for pull requests should be disabled other than for testing purposes\n  #pull_request:\n  #  branches:\n  #    - main\n\njobs:\n  publish-pypi:\n    name: Publish to PyPI\n    runs-on: ubuntu-latest\n    permissions:\n      # This permission is mandatory for OIDC publishing\n      id-token: write\n    if: github.repository == 'GenericMappingTools/pygmt'\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4.1.6\n      with:\n        # fetch all history so that setuptools-scm works\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: '3.12'\n\n    - name: Install dependencies\n      run: python -m pip install build\n\n    # This step is only necessary for testing purposes and for TestPyPI\n    - name: Fix up version string for TestPyPI\n      if: ${{ !startsWith(github.ref, 'refs/tags') }}\n      run: |\n        # Change setuptools-scm local_scheme to \"no-local-version\" so the\n        # local part of the version isn't included, making the version string\n        # compatible with PyPI.\n        sed --in-place \"s/node-and-date/no-local-version/g\" pyproject.toml\n\n    - name: Build source and wheel distributions\n      run: |\n        make package\n        echo \"\"\n        echo \"Generated files:\"\n        ls -lh dist/\n\n    - name: Publish to Test PyPI\n      uses: pypa/gh-action-pypi-publish@v1.8.14\n      with:\n        repository-url: https://test.pypi.org/legacy/\n\n    - name: Publish to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@v1.8.14\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:07.920061", "created_at": "2021-06-09T03:33:21+02:00", "updated_at": "2021-06-09T03:33:21+02:00", "name": "Upload baseline images", "path": ".github/workflows/release-baseline-images.yml", "contents": "# Upload the ZIP archive of baseline images as a release asset\n#\n# This workflow is run to upload the ZIP archive of baseline images as a\n# release asset when a release is published.\n#\nname: Upload baseline images\n\n# Only run for releases\non:\n  release:\n    types:\n      - published\n\njobs:\n  upload-baseline:\n    name: Upload baseline images\n    runs-on: ubuntu-latest\n    if: github.repository == 'GenericMappingTools/pygmt'\n\n    permissions:\n      # To write assets to GitHub release\n      contents: write\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4.1.6\n\n    - name: Setup data version control (DVC)\n      uses: iterative/setup-dvc@v1.1.2\n\n    - name: Pull baseline image data from dvc remote\n      run: dvc pull && ls -lhR pygmt/tests/baseline/\n\n    - name: Create the baseline image asset in zip format\n      run: |\n        mkdir baseline-images\n        mv pygmt/tests/baseline/*.png baseline-images/\n        zip -r baseline-images.zip baseline-images\n        shasum -a 256 baseline-images.zip\n\n    - name: Upload baseline image as a release asset\n      run: gh release upload ${{ github.ref_name }} baseline-images.zip\n      env:\n        GH_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:09.056512", "created_at": "2020-05-25T06:28:03+02:00", "updated_at": "2020-05-25T06:28:03+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "# Draft the next release notes\n#\n# This workflow is run to update the next release notes as pull requests are\n# merged into the main branch. The configuration file is located at\n# `.github/release-drafter.yml`.\n#\nname: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    if: github.repository == 'GenericMappingTools/pygmt'\n\n    steps:\n      # Drafts your next Release notes as Pull Requests are merged into \"main\"\n      - uses: release-drafter/release-drafter@v6.0.0\n        with:\n          # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml\n          config-name: release-drafter.yml\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:10.075715", "created_at": "2020-10-24T04:21:52+02:00", "updated_at": "2021-04-28T01:58:22+02:00", "name": "Slash Command Dispatch", "path": ".github/workflows/slash-command-dispatch.yml", "contents": "# Support slash commands in pull requests\n#\n# Currently, only one slash command `format` is supported.\n#\nname: Slash Command Dispatch\non:\n  issue_comment:\n    types: [created]\n    # Add \"edited\" type for test purposes. Where possible, avoid using to prevent processing unnecessary events.\n    # types: [created, edited]\njobs:\n  slashCommandDispatch:\n    if: ${{ github.event.issue.pull_request }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Slash Command Dispatch\n        uses: peter-evans/slash-command-dispatch@v4\n        with:\n          token: ${{ github.token }}\n          commands: |\n            format\n          issue-type: pull-request\n          permission: none\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:11.284994", "created_at": "2021-02-06T22:35:59+01:00", "updated_at": "2021-02-06T22:35:59+01:00", "name": "Style Checks", "path": ".github/workflows/style_checks.yaml", "contents": "# Code lint and style checks\n#\n# This workflow runs code style and lint checks to check if the codes have\n# consistent code style and are high-quality.\n#\n# It is run on every commit to the main and pull request branches. It is also\n# scheduled to run daily on the main branch.\n#\nname: Style Checks\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n  # Schedule daily tests\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  style_check:\n    name: Style Checks\n    runs-on: ubuntu-latest\n\n    steps:\n      # Checkout current git repository\n      - name: Checkout\n        uses: actions/checkout@v4.1.6\n\n      # Setup Python\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.12'\n\n      - name: Install packages\n        run: |\n          python -m pip install ruff pre-commit\n          python -m pip list\n\n      - name: Formatting check (ruff + pre-commit)\n        run: |\n           make check\n           pre-commit run --all-files\n\n      - name: Ensure example scripts have at least one code block separator\n        run: |\n          git ls-files 'examples/**/*.py' | xargs grep --files-without-match '# %%' > output.txt\n          nfiles=$(wc --lines output.txt | awk '{print $1}')\n          if [[ $nfiles > 0 ]]; then\n            echo \"Code block separator '# %%' is required in following example files:\"\n            cat output.txt\n            rm output.txt\n            exit $nfiles\n          fi\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:12.318044", "created_at": "2023-11-27T08:05:43+01:00", "updated_at": "2023-12-04T10:11:20+01:00", "name": "Static Type Checks", "path": ".github/workflows/type_checks.yml", "contents": "# Static type checks\n#\n# This workflow runs static type checks using mypy.\n#\n# It is run on every commit to the main and pull request branches. It is also\n# scheduled to run daily on the main branch.\n#\nname: Static Type Checks\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'pygmt/**/*.py'\n      - '.github/workflows/type_checks.yml'\n  pull_request:\n    paths:\n      - 'pygmt/**/*.py'\n      - '.github/workflows/type_checks.yml'\n  # Schedule daily tests\n  schedule:\n    - cron: '0 0 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\njobs:\n  static_check:\n    name: Static Type Check\n    runs-on: ubuntu-latest\n\n    steps:\n      # Checkout current git repository\n      - name: Checkout\n        uses: actions/checkout@v4.1.6\n\n      # Setup Python\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.12'\n\n      - name: Install packages\n        run: |\n          # Need to install four groups of packages:\n          # 1. required packages\n          # 2. optional packages\n          # 3. type checker and stub packages\n          # 4. other packages that are used somewhere in PyGMT\n          python -m pip install \\\n            numpy pandas xarray netcdf4 packaging \\\n            contextily geopandas ipython rioxarray \\\n            mypy pandas-stubs \\\n            matplotlib pytest\n          python -m pip list\n\n      - name: Static type check\n        run: make typecheck\n", "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:13.518486", "created_at": "2023-02-14T08:45:36+01:00", "updated_at": "2023-02-14T08:45:36+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:14.668958", "created_at": "2021-12-17T00:42:04+01:00", "updated_at": "2021-12-17T00:42:04+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "genericmappingtools/pygmt"}
{"mined_at": "2024-07-15T15:12:16.726403", "created_at": "2020-12-15T17:13:02+01:00", "updated_at": "2024-05-04T19:01:34+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "tensorspeech/tensorflowasr"}
{"mined_at": "2024-07-15T15:12:17.832064", "created_at": "2024-05-13T17:00:22+02:00", "updated_at": "2024-05-13T17:00:22+02:00", "name": "Publish Wiki Pages", "path": ".github/workflows/wiki-publish.yml", "contents": "name: Publish Wiki Pages\non:\n  push:\n    branches: [main]\nconcurrency:\n  group: publish-wiki\n  cancel-in-progress: true\npermissions:\n  contents: write\njobs:\n  publish-wiki:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.4\n      - uses: nglehuy/github-wiki-action@master\n        with:\n          token: ${{ secrets.TOKEN }}\n          path: docs\n          preprocess: true\n", "state": "active", "repository": "tensorspeech/tensorflowasr"}
{"mined_at": "2024-07-15T15:12:19.903725", "created_at": "2020-01-09T23:27:10+01:00", "updated_at": "2020-01-09T23:27:10+01:00", "name": "Python package", "path": "", "contents": null, "state": "active", "repository": "rhettbull/osxphotos"}
{"mined_at": "2024-07-15T15:12:20.913329", "created_at": "2021-01-08T15:36:24+01:00", "updated_at": "2023-09-03T22:25:53+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}\n    strategy:\n      max-parallel: 4\n      matrix:\n        # os: [macos-14, ubuntu-latest]\n        os: [macos-14]\n        python-version: ['3.10', '3.11', '3.12']\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip' # caching pip dependencies\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r dev_requirements.txt\n        pip install -r requirements.txt\n    - name: Install exiftool\n      run: |\n        /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n        if [ \"$RUNNER_OS\" == \"Linux\" ]; then\n          (echo; echo 'eval \"$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\"') >> /home/runner/.bash_profile\n          eval \"$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\"\n          export PATH=/home/linuxbrew/.linuxbrew/bin:$PATH\n        elif [ \"$RUNNER_OS\" == \"macOS\" ]; then\n          echo \"macOS: brew should already be on path\"\n        else\n          echo \"$RUNNER_OS not supported\"\n          exit 1\n        fi\n        brew install exiftool\n    - name: Test with pytest\n      run: |\n        python -m pytest -v tests/\n    - name: Send failure notification\n      if: ${{ failure() }}\n      run: |\n        curl \\\n          -H \"Click: https://github.com/RhetTbull/osxphotos/actions/\" \\\n          -d \"osxphotos test failed\" \\\n           ntfy.sh/rhettbull_github_actions\n", "state": "active", "repository": "rhettbull/osxphotos"}
{"mined_at": "2024-07-15T15:12:21.891146", "created_at": "2021-12-17T02:23:34+01:00", "updated_at": "2021-12-17T02:23:34+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "rhettbull/osxphotos"}
{"mined_at": "2024-07-15T15:12:24.023136", "created_at": "2020-09-26T14:10:53+02:00", "updated_at": "2020-09-26T14:10:53+02:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/first-interaction@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: 'Hello! We will review the issue details in a few days and take the necessary next steps. Thanks a lot for reporting! cc @raj454raj'\n        pr-message: 'Congratulations on your first PR on StopStalk! @raj454raj will review this at the earliest!'\n", "state": "active", "repository": "stopstalk/stopstalk-deployment"}
{"mined_at": "2024-07-15T15:12:26.025407", "created_at": "2022-06-27T03:51:01+02:00", "updated_at": "2022-12-01T11:14:43+01:00", "name": "coverage", "path": ".github/workflows/cover-ci.yml", "contents": "name: coverage\n\non:\n  push:\n    branches:\n    - master\n    - sf2\n  pull_request:\n    branches:\n    - master\n    - sf2\n\njobs:\n  run-coverage:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        os: [ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Add conda to system path\n      run: |\n        # $CONDA is an environment variable pointing to the root of the miniconda directory\n        echo $CONDA/bin >> $GITHUB_PATH\n    - name: Install conda env & dependencies\n      run: |\n       pip install -e '.[atari, mujoco, envpool]'\n       conda list\n    - name: Install codecov dependencies\n      run: |\n        pip install pytest\n        pip install pytest-cov\n    - name: Generate coverage report\n      run: |\n        pytest --cov=./ --cov-config=./.core-coveragerc --cov-report=xml -v\n        ls -al\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n      with:\n        files: /home/runner/work/sample-factory/sample-factory/coverage.xml\n        verbose: true\n", "state": "active", "repository": "alex-petrenko/sample-factory"}
{"mined_at": "2024-07-15T15:12:27.006972", "created_at": "2022-07-14T23:32:26+02:00", "updated_at": "2022-12-01T11:14:43+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs \non:\n  push:\n    branches:\n      - master\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: install dependencies\n        run: |\n          pip install mkdocs-material\n          pip install mkdocs-minify-plugin\n          pip install mkdocs-redirects\n          pip install mkdocs-git-revision-date-localized-plugin\n          pip install mkdocs-git-committers-plugin-2\n          pip install mkdocs-git-authors-plugin\n          pip install -e .\n      - name: generate config params doc\n        run: bash ./docs/cfg-params.sh\n      - name: deploy the website\n        run: mkdocs gh-deploy --force\n", "state": "active", "repository": "alex-petrenko/sample-factory"}
{"mined_at": "2024-07-15T15:12:28.019384", "created_at": "2022-07-09T02:11:14+02:00", "updated_at": "2022-12-01T11:14:43+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non: [push, pull_request]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n    - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "alex-petrenko/sample-factory"}
{"mined_at": "2024-07-15T15:12:29.001041", "created_at": "2021-05-14T00:42:43+02:00", "updated_at": "2021-07-13T10:50:52+02:00", "name": "Close inactive issues", "path": ".github/workflows/stale.yml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v3\n        with:\n          days-before-issue-stale: 30\n          days-before-issue-close: 14\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue is stale because it has been open for 30 days with no activity.\"\n          close-issue-message: \"This issue was closed because it has been inactive for 14 days since being marked as stale.\"\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "disabled_manually", "repository": "alex-petrenko/sample-factory"}
{"mined_at": "2024-07-15T15:12:29.995903", "created_at": "2022-06-24T03:13:47+02:00", "updated_at": "2022-12-01T11:14:43+01:00", "name": "tests", "path": ".github/workflows/test-ci.yml", "contents": "name: tests\n\non:\n  push:\n    branches:\n    - master\n    - sf2\n  pull_request:\n    branches:\n    - master\n    - sf2\n\njobs:\n  run-tests-ubuntu:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10']\n        os: ['ubuntu-latest']\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Add conda to system path\n      run: |\n        # $CONDA is an environment variable pointing to the root of the miniconda directory\n        echo $CONDA/bin >> $GITHUB_PATH\n    - name: Install conda env & dependencies\n      run: |\n       conda install python=${{ matrix.python-version }}\n       pip install -e '.[atari, mujoco, envpool]'\n       conda list\n    - name: Install test dependencies\n      run: |\n        pip install pytest\n    - name: Run Pre-check\n      uses: nick-fields/retry@v2\n      with:\n        timeout_minutes: 10\n        max_attempts: 5\n        command: pytest -s tests/test_precheck.py & pytest -s tests/algo/test_pbt.py\n    - name: Run tests\n      run: |\n        # run all tests\n        pytest -s -k \"not torch_tensor_share\"\n\n  run-tests-mac:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10']\n        os: ['macos-latest']\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v3\n    - name: Setup Miniconda\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        auto-update-conda: true\n        python-version: ${{ matrix.python-version }}\n        activate-environment: myenv\n        auto-activate-base: true\n        miniconda-version: \"latest\"  # Ensure Miniconda is downloaded and installed\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Add conda to system path\n      run: |\n        # $CONDA is an environment variable pointing to the root of the miniconda directory\n        echo $CONDA/bin >> $GITHUB_PATH\n    - name: Install conda env & dependencies\n      run: |\n       conda install python=${{ matrix.python-version }}\n       pip install -e '.[atari, mujoco]'\n       conda list\n    - name: Install test dependencies\n      run: |\n        pip install pytest\n    - name: Run Pre-check\n      uses: nick-fields/retry@v2\n      with:\n        timeout_minutes: 10\n        max_attempts: 5\n        command: pytest -s tests/test_precheck.py & pytest -s tests/algo/test_pbt.py\n    - name: Run tests\n      run: |\n        # run all tests\n        pytest -s -k \"not torch_tensor_share\"\n", "state": "active", "repository": "alex-petrenko/sample-factory"}
{"mined_at": "2024-07-15T15:12:31.000494", "created_at": "2022-07-14T23:35:30+02:00", "updated_at": "2022-07-14T23:35:30+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "alex-petrenko/sample-factory"}
{"mined_at": "2024-07-15T15:12:33.057129", "created_at": "2020-01-07T17:39:56+01:00", "updated_at": "2020-01-10T06:40:29+01:00", "name": "Build and Test", "path": "", "contents": null, "state": "active", "repository": "khornberg/elasticpypi"}
{"mined_at": "2024-07-15T15:12:34.038130", "created_at": "2019-12-19T21:20:34+01:00", "updated_at": "2019-12-19T21:20:34+01:00", "name": "Build and Test", "path": ".github/workflows/push.yml", "contents": "on: [push]\nname: Build and Test\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10']\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Curl\n      if: ${{ matrix.python-version == '3.9' }}\n      run: |\n        curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter\n    - name: Prepare\n      if: ${{ matrix.python-version == '3.9' }}\n      env:\n        CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}\n      run: |\n        chmod +x ./cc-test-reporter && ./cc-test-reporter before-build\n    - name: Install dependencies\n      run: |\n        pip install -r requirements.txt\n        pip install -r test-requirements.txt\n    - name: Test with pytest\n      run: |\n        python -m pytest --cov=elasticpypi --cov-report=term-missing --cov-report=xml\n    - name: Lint\n      run: |\n        flake8 -v\n    - name: Report\n      if: ${{ matrix.python-version == '3.9' }}\n      env:\n        CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}\n      run: |\n        ./cc-test-reporter after-build --coverage-input-type coverage.py\n", "state": "active", "repository": "khornberg/elasticpypi"}
{"mined_at": "2024-07-15T15:12:35.032448", "created_at": "2021-12-28T22:24:22+01:00", "updated_at": "2021-12-28T22:24:22+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "khornberg/elasticpypi"}
{"mined_at": "2024-07-15T15:12:37.297131", "created_at": "2020-06-02T23:38:51+02:00", "updated_at": "2023-03-08T16:16:35+01:00", "name": "Builds and publishes the fiftyone-db package", "path": ".github/workflows/build-db.yml", "contents": "name: Builds and publishes the fiftyone-db package\n\non:\n  push:\n    tags:\n      - db-v[0-9]+.[0-9]+.[0-9]+\n      - db-v[0-9]+.[0-9]+.[0-9]+rc[0-9]+\n  pull_request:\n    paths:\n      - package/db/**\n      - .github/workflows/build-db.yml\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        platform:\n          - sdist\n          - darwin-arm64\n          - darwin-x86_64\n          - windows-32\n          - windows-x86_64\n    steps:\n      - name: Clone fiftyone\n        uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip setuptools wheel build\n      - name: Set environment\n        env:\n          RELEASE_TAG: ${{ github.ref }}\n        run: |\n          if [[ $RELEASE_TAG =~ ^refs\\/tags\\/db-v[0-9]+.[0-9]+.[0-9]+rc[0-9]+ ]]; then\n             echo \"RELEASE_VERSION=$(echo \"${{ github.ref }}\" | sed \"s/^refs\\/tags\\/db-v//\")\" >> $GITHUB_ENV\n          fi\n      - name: Build Darwin arm64 wheel\n        if: ${{ matrix.platform == 'darwin-arm64' }}\n        run: |\n          cd package/db\n          FODB_MACHINE=arm64 FODB_SYSTEM=Darwin python -Im build\n      - name: Build Darwin x86_64 wheel\n        if: ${{ matrix.platform == 'darwin-x86_64' }}\n        run: |\n          cd package/db\n          FODB_MACHINE=x86_64 FODB_SYSTEM=Darwin python -Im build\n      - name: Build Windows 32 wheel\n        if: ${{ matrix.platform == 'windows-32' }}\n        run: |\n          cd package/db\n          FODB_MACHINE=32 FODB_SYSTEM=Windows python -Im build\n      - name: Build Windows x86_64 wheel\n        if: ${{ matrix.platform == 'windows-x86_64' }}\n        run: |\n          cd package/db\n          FODB_MACHINE=x86_64 FODB_SYSTEM=Windows python -Im build\n      - name: Build sdist\n        if: ${{ matrix.platform == 'sdist' }}\n        run: |\n          cd package/db\n          python -Im build --sdist\n      - name: Upload\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist-${{ matrix.platform }}\n          path: package/db/dist/*\n\n  test:\n    runs-on: ubuntu-20.04\n    needs: build\n    env:\n      FIFTYONE_DO_NOT_TRACK: true\n    steps:\n      - name: Clone fiftyone\n        uses: actions/checkout@v4\n      - name: Download fiftyone-db\n        uses: actions/download-artifact@v4\n        with:\n          name: dist-sdist\n          path: downloads\n      - name: Install fiftyone-db\n        run: |\n          pip3 install downloads/fiftyone_db-*.tar.gz\n      - name: Install test dependencies\n        run: |\n          pip3 install pytest\n      - name: Run tests\n        run: |\n          cd package/db/\n          python3 -m pytest --verbose tests/\n\n  publish:\n    runs-on: ubuntu-latest\n    needs: [build, test]\n    if: startsWith(github.ref, 'refs/tags/db-v')\n    steps:\n      - name: Download\n        uses: actions/download-artifact@v4\n        with:\n          path: downloads\n      - name: Install dependencies\n        run: |\n          pip install twine\n      - name: Set environment\n        env:\n          RELEASE_TAG: ${{ github.ref }}\n        run: |\n          echo \"TWINE_PASSWORD=${{ secrets.FIFTYONE_PYPI_TOKEN }}\" >> $GITHUB_ENV\n          echo \"TWINE_REPOSITORY=pypi\" >> $GITHUB_ENV\n      - name: Upload to pypi\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_NON_INTERACTIVE: 1\n        run: |\n          python -m twine upload downloads/dist-*/*\n", "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:38.537772", "created_at": "2020-12-09T22:44:24+01:00", "updated_at": "2020-12-10T16:28:29+01:00", "name": "Build Desktop App", "path": ".github/workflows/build-desktop.yml", "contents": "name: Build Desktop App\n\non:\n  push:\n    tags:\n      - desktop-v*\n  pull_request:\n    paths:\n      - app/**\n      - package/desktop/**\n      - .github/workflows/build-desktop.yml\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        platform:\n          - mac-arm64\n          - mac-x86_64\n          - linux-x86_64\n          - linux-aarch64\n          - win-amd64\n    steps:\n      - name: Clone fiftyone\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip setuptools wheel build\n      - name: Cache Node Modules\n        id: node-cache\n        uses: actions/cache@v3\n        with:\n          path: |\n            app/node_modules\n            app/.yarn/cache\n          key: node-modules-${{ hashFiles('app/yarn.lock') }}\n      - name: Install app\n        run: cd app && yarn install\n      - name: Package App (Non-Windows)\n        if: ${{ matrix.platform != 'win-amd64' }}\n        working-directory: app/packages/desktop\n        run: yarn package-${{ matrix.platform }} --publish never\n      - name: Package App (Windows)\n        if: ${{ matrix.platform == 'win-amd64' }}\n        working-directory: app/\n        run: |\n          docker run --rm \\\n           --env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS_TAG|TRAVIS|TRAVIS_REPO_|TRAVIS_BUILD_|TRAVIS_BRANCH|TRAVIS_PULL_REQUEST_|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_') \\\n           --env ELECTRON_CACHE=\"/root/.cache/electron\" \\\n           --env ELECTRON_BUILDER_CACHE=\"/root/.cache/electron-builder\" \\\n           -v ${PWD}:/project \\\n           -v ~/.cache/electron:/root/.cache/electron \\\n           -v ~/.cache/electron-builder:/root/.cache/electron-builder \\\n           electronuserland/builder:wine \\\n           yarn workspace FiftyOne package-${{ matrix.platform }} --publish never\n      - name: Set environment\n        env:\n          RELEASE_TAG: ${{ github.ref }}\n        run: |\n          if [[ $RELEASE_TAG =~ ^refs\\/tags\\/desktop-v.*-rc\\..*$ ]]; then\n             echo \"RELEASE_VERSION=$(echo \"${{ github.ref }}\" | sed \"s/^refs\\/tags\\/desktop-v//\")\" >> $GITHUB_ENV\n          fi\n      - name: Build wheel\n        working-directory: package/desktop\n        run: RELEASE_DIR=${PWD}/../../app/packages/desktop/release python -Im build -C=\"--build-option=--plat-name=${{ matrix.platform }}\"\n      - name: Upload wheel\n        uses: actions/upload-artifact@v4\n        with:\n          name: wheel-${{ matrix.platform }}\n          path: package/desktop/dist/*.whl\n\n  publish:\n    runs-on: ubuntu-20.04\n    needs: [build]\n    if: startsWith(github.ref, 'refs/tags/desktop-v')\n    steps:\n      - name: Download wheels\n        uses: actions/download-artifact@v4\n        with:\n          path: downloads\n      - name: Install dependencies\n        run: |\n          pip3 install twine\n      - name: Set environment\n        env:\n          RELEASE_TAG: ${{ github.ref }}\n        run: |\n          echo \"TWINE_PASSWORD=${{ secrets.FIFTYONE_PYPI_TOKEN }}\" >> $GITHUB_ENV\n          echo \"TWINE_REPOSITORY=pypi\" >> $GITHUB_ENV\n      - name: Upload to pypi\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_NON_INTERACTIVE: 1\n        run: |\n          python3 -m twine upload downloads/wheel-*/*.whl\n", "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:39.664496", "created_at": "2020-06-08T17:26:45+02:00", "updated_at": "2020-06-08T17:26:45+02:00", "name": "Build docs", "path": ".github/workflows/build-docs.yml", "contents": "name: Build docs\n\non:\n  push:\n    branches:\n      # - develop\n      - rel-*\n      - release-*\n      - release/*\n      - docs-*\n      - github-actions-*\n    tags:\n      - v*\n      - docs-publish\n    paths:\n      - .github/workflows/build-docs.yml\n      - docs/**\n      - examples/**\n      - fiftyone/**\n      - \"**.py\"\n      - \"**.md\"\n      - \"**.rst\"\n  pull_request:\n    branches:\n      - develop\n      - feat/*\n      - main\n      - rel-*\n      - release-*\n      - release/*\n    paths:\n      - .github/workflows/build-docs.yml\n      - docs/**\n      - examples/**\n      - fiftyone/**\n      - requirements/**\n      - \"**.py\"\n      - \"**.md\"\n      - \"**.rst\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest-m\n    env:\n      FIFTYONE_DO_NOT_TRACK: true\n    steps:\n      - name: Clone fiftyone\n        uses: actions/checkout@v4\n      - name: Checkout fiftyone-teams\n        uses: actions/checkout@v4\n        with:\n          repository: voxel51/fiftyone-teams\n          path: fiftyone-teams\n          token: ${{ secrets.TEAMS_GITHUB_PAT }}\n          ref: main\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install pip dependencies\n        run: |\n          pip install --upgrade pip setuptools wheel build\n      - name: Install ETA from source\n        run: |\n          git clone https://github.com/voxel51/eta eta --depth 1 --branch develop\n          cd eta\n          python -Im build\n          pip install ./dist/*.whl\n      - name: Install\n        run: |\n          sudo apt-get install pandoc\n          pip install -r requirements/dev.txt\n          pip install -r fiftyone-teams/requirements/dev.txt\n          pip install fiftyone-brain fiftyone-db\n          pip install pycocotools tensorflow torch torchvision\n          pip install typing_extensions==4.10.0\n          pip install .\n      - name: Cache Node Modules\n        id: node-cache\n        uses: actions/cache@v3\n        with:\n          path: |\n            app/node_modules\n            app/.yarn/cache\n          key: node-modules-${{ hashFiles('app/yarn.lock') }}\n      - name: Install app\n        if: steps.node-cache.outputs.cache-hit != 'true'\n        run: cd app && yarn install\n      - name: Build docs\n        run: |\n          ./docs/generate_docs.bash -t fiftyone-teams\n      - name: Upload docs\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs\n          path: docs/build/html/\n\n  publish:\n    needs: [build]\n    if: (startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'rc')) || github.ref == 'refs/tags/docs-publish'\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Download docs\n        uses: actions/download-artifact@v4\n        with:\n          name: docs\n          path: docs-download/\n      - name: Authorize gcloud\n        uses: google-github-actions/auth@v2\n        with:\n          credentials_json: \"${{ secrets.DOCS_GCP_CREDENTIALS }}\"\n      - name: Set up gcloud\n        uses: google-github-actions/setup-gcloud@v2\n      - name: publish\n        run: gsutil -m rsync -dR docs-download gs://docs.voxel51.com\n", "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:40.790836", "created_at": "2023-03-08T16:16:35+01:00", "updated_at": "2023-03-24T18:10:09+01:00", "name": "Builds and publishes the fiftyone-graphql package", "path": ".github/workflows/build-graphql.yml", "contents": "name: Builds and publishes the fiftyone-graphql package\n\non:\n  push:\n    tags:\n      - graphql-v*\n  # pull_request:\n  #   paths:\n  #     - package/graphql/**\n  #     - .github/workflows/build-graphql.yml\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Clone fiftyone\n        uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip setuptools wheel build\n      - name: Set environment\n        env:\n          RELEASE_TAG: ${{ github.ref }}\n        run: |\n          if [[ $RELEASE_TAG =~ ^refs\\/tags\\/v[0-9]+.[0-9]+.[0-9]+rc[0-9]+ ]]; then\n             echo \"RELEASE_VERSION=$(echo \"${{ github.ref }}\" | sed \"s/^refs\\/tags\\/v//\")\" >> $GITHUB_ENV\n          fi\n      - name: Build wheel\n        run: |\n          cd package/graphql\n          python -Im build\n      - name: Upload wheel(s)\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: package/graphql/dist/*\n\n  publish:\n    runs-on: ubuntu-20.04\n    needs: [build]\n    if: startsWith(github.ref, 'refs/tags/db-v')\n    steps:\n      - name: Download wheels\n        uses: actions/download-artifact@v4\n        with:\n          path: downloads\n      - name: Install dependencies\n        run: |\n          pip install twine\n      - name: Set environment\n        env:\n          RELEASE_TAG: ${{ github.ref }}\n        run: |\n          echo \"TWINE_PASSWORD=${{ secrets.FIFTYONE_PYPI_TOKEN }}\" >> $GITHUB_ENV\n          echo \"TWINE_REPOSITORY=pypi\" >> $GITHUB_ENV\n      - name: Upload to pypi\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_NON_INTERACTIVE: 1\n        run: |\n          python -m twine upload downloads/dist/*\n", "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:41.914308", "created_at": "2020-06-02T23:21:13+02:00", "updated_at": "2022-12-08T17:21:37+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non: workflow_call\n\njobs:\n  changes:\n    runs-on: ubuntu-latest\n    outputs:\n      changes: ${{ steps.filter.outputs.changes }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: dorny/paths-filter@v2\n        id: filter\n        with:\n          filters: |\n            changes:\n              - 'app/**'\n              - '.github/**'\n              - 'fiftyone/**'\n              - 'setup.py'\n\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Clone fiftyone\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip setuptools wheel build\n      - name: Cache Node Modules\n        id: node-cache\n        uses: actions/cache@v3\n        with:\n          path: |\n            app/node_modules\n            app/.yarn/cache\n          key: node-modules-${{ hashFiles('app/yarn.lock') }}\n      - name: Install app\n        if: steps.node-cache.outputs.cache-hit != 'true'\n        run: cd app && yarn install\n      - name: Build app\n        run: make app\n      - name: Set environment\n        env:\n          RELEASE_TAG: ${{ github.ref }}\n        run: |\n          if [[ $RELEASE_TAG =~ ^refs\\/tags\\/v[0-9]+.[0-9]+.[0-9]+rc[0-9]+ ]]; then\n             echo \"RELEASE_VERSION=$(echo \"${{ github.ref }}\" | sed \"s/^refs\\/tags\\/v//\")\" >> $GITHUB_ENV\n          fi\n      - name: Build python\n        run: make python -o app\n      - name: Upload dist\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist/\n", "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:43.043930", "created_at": "2023-04-01T01:31:34+02:00", "updated_at": "2023-05-15T16:37:48+02:00", "name": "Test e2e", "path": ".github/workflows/e2e.yml", "contents": "name: Test e2e\n\non: workflow_call\n\njobs:\n  test-e2e:\n    timeout-minutes: 90\n    runs-on: ubuntu-latest-m\n    env:\n      FIFTYONE_DO_NOT_TRACK: true\n      FIFTYONE_DATABASE_URI: mongodb://localhost:27017\n      FIFTYONE_DATABASE_NAME: playwright\n      ELECTRON_EXTRA_LAUNCH_ARGS: \"--disable-gpu\"\n      PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/ms-playwright\n      FIFTYONE_PLUGINS_DIR: ${{ github.workspace }}/e2e-pw/src/shared/assets/plugins\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Setup node 18\n        uses: actions/setup-node@v4\n        with:\n          node-version: 18\n\n      - name: Start MongoDB\n        uses: supercharge/mongodb-github-action@1.11.0\n        with:\n          mongodb-version: latest\n\n      - name: Install setup dependencies\n        run: |\n          pip install --upgrade pip setuptools wheel build\n\n      - name: Install requirements.txt\n        run: |\n          pip install -r requirements/e2e.txt\n\n      - name: Cache Node Modules\n        id: app-node-cache\n        uses: actions/cache@v3\n        with:\n          path: |\n            app/node_modules\n            app/.yarn/cache\n          key: node-modules-${{ hashFiles('app/yarn.lock') }}\n\n      - name: Install app\n        if: steps.app-node-cache.outputs.cache-hit != 'true'\n        run: yarn install\n        working-directory: app\n\n      - name: Build app\n        run: make app\n\n      - name: Install fiftyone\n        run: |\n          pip install .\n\n      - name: Configure\n        id: test_config\n        run: |\n          python tests/utils/setup_config.py\n          python tests/utils/github_actions_flags.py\n\n      - name: FFmpeg\n        uses: FedericoCarboni/setup-ffmpeg@v2\n\n      - name: Cache E2E Node Modules\n        id: e2e-node-cache\n        uses: actions/cache@v3\n        with:\n          path: |\n            e2e-pw/node_modules\n          key: node-modules-${{ hashFiles('e2e-pw/yarn.lock') }}\n\n      - name: Install E2E dependencies if not cached\n        run: yarn install\n        if: steps.e2e-node-cache.outputs.cache-hit != 'true'\n        working-directory: e2e-pw\n\n      - name: Get Playwright version\n        id: playwright-version\n        run: |\n          echo \"PLAYWRIGHT_VERSION=$(node -e \"process.stdout.write(require('@playwright/test/package.json').version)\")\" >> $GITHUB_OUTPUT\n        working-directory: e2e-pw\n\n      - name: Cache playwright browser\n        uses: actions/cache@v3\n        id: playwright-browser-cache\n        with:\n          path: ${{ env.PLAYWRIGHT_BROWSERS_PATH }}\n          key: ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}\n          working-directory: e2e-pw\n\n      - name: Install Playwright browser if not cached\n        run: yarn playwright install\n        if: steps.playwright-browser-cache.outputs.cache-hit != 'true'\n        working-directory: e2e-pw\n\n      - name: Run Playwright tests\n        run: yarn e2e\n        working-directory: e2e-pw\n\n      - name: Lint Playwright tests\n        run: yarn lint\n        working-directory: e2e-pw\n\n      - name: Upload test report\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: playwright-report\n          path: e2e-pw/playwright-report/\n          retention-days: 30\n", "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:44.173861", "created_at": "2024-05-21T16:42:58+02:00", "updated_at": "2024-05-21T16:42:58+02:00", "name": "Lint App", "path": ".github/workflows/lint-app.yml", "contents": "name: Lint App\n\non: workflow_call\n\njobs:\n  eslint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - uses: actions/checkout@v4\n      - uses: dorny/paths-filter@v3\n        id: changes\n        with:\n          filters: |\n            changes:\n              - 'app/**'\n\n      - name: Set up Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"16\"\n\n      - name: Cache Node Modules\n        id: node-cache\n        uses: actions/cache@v3\n        with:\n          path: |\n            app/node_modules\n            app/.yarn/cache\n          key: node-modules-${{ hashFiles('app/yarn.lock') }}\n\n      - name: Install Dependencies\n        if: steps.node-cache.outputs.cache-hit != 'true'\n        run: cd app && yarn install\n\n      - name: Read ESLint Packages List and Lint\n        if: steps.changes.outputs.changes == 'true'\n        run: |\n          cd app\n          ESLINT_PACKAGES=$(grep -v '^#' ./eslint-packages.txt | xargs)\n          yarn eslint $ESLINT_PACKAGES\n", "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:45.255366", "created_at": "2024-05-10T23:29:37+02:00", "updated_at": "2024-05-10T23:29:37+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:46.282624", "created_at": "2023-07-13T21:19:13+02:00", "updated_at": "2023-07-13T21:19:13+02:00", "name": "Playwright Tests", "path": ".github/workflows/playwright.yml", "contents": null, "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:47.304293", "created_at": "2022-12-08T17:12:42+01:00", "updated_at": "2024-05-12T18:12:13+02:00", "name": "Pull Request", "path": ".github/workflows/pr.yml", "contents": "name: Pull Request\n\non:\n  pull_request:\n    types: [opened, synchronize]\n    branches:\n      - develop\n      - feat/*\n      - main\n      - release/v[0-9]+.[0-9]+.[0-9]+\n\njobs:\n  build:\n    uses: ./.github/workflows/build.yml\n\n  e2e:\n    uses: ./.github/workflows/e2e.yml\n\n  lint:\n    uses: ./.github/workflows/lint-app.yml\n\n  teams:\n    runs-on: ubuntu-latest\n    if: github.base_ref == 'develop'\n    steps:\n      - uses: convictional/trigger-workflow-and-wait@v1.6.5\n        with:\n          owner: voxel51\n          repo: fiftyone-teams\n          github_token: ${{ secrets.FIFTYONE_GITHUB_TOKEN }}\n          github_user: voxel51-bot\n          workflow_file_name: merge-oss.yml\n          ref: develop\n          wait_interval: 20\n          client_payload: '{ \"branch\": \"${{ github.head_ref || github.ref_name }}\" }'\n          propagate_failure: true\n          trigger_workflow: true\n          wait_workflow: true\n\n  test:\n    uses: ./.github/workflows/test.yml\n\n  all-tests:\n    runs-on: ubuntu-latest\n    needs: [build, lint, test]\n    if: always()\n    steps:\n      - run: sh -c ${{\n          needs.build.result == 'success' &&\n          needs.lint.result == 'success' &&\n          needs.test.result == 'success' }}\n", "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:48.369519", "created_at": "2022-12-08T17:14:17+01:00", "updated_at": "2023-05-15T16:37:48+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]+\n      - v[0-9]+.[0-9]+.[0-9]+rc[0-9]+\n\njobs:\n  build:\n    uses: ./.github/workflows/build.yml\n\n  e2e:\n    uses: ./.github/workflows/e2e.yml\n\n  test:\n    uses: ./.github/workflows/test.yml\n\n  publish:\n    runs-on: ubuntu-latest\n    needs: [build, test]\n    steps:\n      - name: Download dist\n        uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist/\n      - name: Install dependencies\n        run: |\n          pip3 install twine\n      - name: Set environment\n        env:\n          RELEASE_TAG: ${{ github.ref }}\n        run: |\n          echo \"TWINE_PASSWORD=${{ secrets.FIFTYONE_PYPI_TOKEN }}\" >> $GITHUB_ENV\n          echo \"TWINE_REPOSITORY=pypi\" >> $GITHUB_ENV\n      - name: Upload to pypi\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_NON_INTERACTIVE: 1\n        run: |\n          python3 -m twine upload dist/*\n\n  build-image:\n    needs: [build, test]\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Clone fiftyone\n        uses: actions/checkout@v4\n      - name: Download dist\n        uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist\n      - name: docker\n        run: make docker-export -o python\n      - name: Upload image\n        uses: actions/upload-artifact@v4\n        with:\n          name: docker-image\n          path: fiftyone.tar.gz\n", "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:49.497525", "created_at": "2024-05-23T17:24:09+02:00", "updated_at": "2024-05-23T17:24:09+02:00", "name": "Push Release", "path": ".github/workflows/push-release.yml", "contents": "name: Push Release\n\non:\n  push:\n    branches:\n      - release/v[0-9]+.[0-9]+.[0-9]+\n  workflow_dispatch:\n    inputs:\n      ref_name:\n        type: string\n\njobs:\n  pr:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: develop\n          fetch-depth: 0\n      - run: |\n          git config user.name 'voxel51-bot'\n          git config user.email 'bot@voxel51.com'\n          git checkout merge/${{ inputs.ref_name || github.ref_name }} \\\n          || git checkout -b merge/${{ inputs.ref_name || github.ref_name }}\n          git push -u origin merge/${{ inputs.ref_name || github.ref_name }}\n          git checkout develop\n          git pull origin merge/${{ inputs.ref_name || github.ref_name }} --no-rebase\n          git pull origin ${{ inputs.ref_name || github.ref_name }} --no-rebase\n      - uses: peter-evans/create-pull-request@v6\n        with:\n          author: voxel51-bot <bot@voxel51.com>\n          token: ${{ secrets.FIFTYONE_GITHUB_TOKEN }}\n          base: develop\n          body: Merge `${{ inputs.ref_name || github.ref_name }}` to `develop`\n          branch: merge/${{ inputs.ref_name || github.ref_name }}\n          title: Merge `${{ inputs.ref_name || github.ref_name }}` to `develop`\n", "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:50.518373", "created_at": "2023-10-20T22:36:28+02:00", "updated_at": "2023-10-20T22:36:28+02:00", "name": "Sync release (test test)", "path": ".github/workflows/sync.yaml", "contents": null, "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:51.542586", "created_at": "2022-12-08T17:12:35+01:00", "updated_at": "2022-12-12T20:53:05+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: workflow_call\n\njobs:\n  test-app:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Cache\n        id: node-cache\n        uses: actions/cache@v3\n        with:\n          path: |\n            app/node_modules\n            app/.yarn/cache\n          key: node-modules-${{ hashFiles('app/yarn.lock') }}\n      - name: Install\n        if: steps.node-cache.outputs.cache-hit != 'true'\n        run: cd app && yarn install\n      - name: Run\n        run: cd app && yarn test --coverage && mv ./coverage/coverage-final.json ../\n      - name: Upload\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./coverage-final.json\n          flags: app\n\n  test-python:\n    runs-on: ${{ matrix.os }}\n    env:\n      FIFTYONE_DO_NOT_TRACK: true\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest-m\n          - windows-latest\n        python:\n          - \"3.8\"\n          - \"3.10\"\n          - \"3.11\"\n        exclude:\n          - os: windows-latest\n            python: \"3.8\"\n          - os: windows-latest\n            python: \"3.10\"\n          - os: windows-latest\n            python: \"3.11\"\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Setup\n        uses: actions/setup-python@v5\n        id: pip-cache\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements/common.txt\n            requirements/github.txt\n            requirements/test.txt\n      - name: Install requirements\n        if: steps.pip-cache.outputs.cache-hit != true\n        run: |\n          pip install -r requirements/github.txt\n      - name: Install fiftyone\n        run: |\n          pip install .\n      - name: Configure\n        id: test_config\n        run: |\n          python tests/utils/setup_config.py\n          python tests/utils/github_actions_flags.py\n      - name: FFmpeg\n        uses: FedericoCarboni/setup-ffmpeg@v2\n      # Important: use pytest_wrapper.py instead of pytest directly to ensure\n      # that services shut down cleanly and do not conflict with steps later in\n      # this workflow\n      - name: Run tests\n        run: |\n          python tests/utils/pytest_wrapper.py tests/ --verbose \\\n            --cov --cov-report xml \\\n            --ignore tests/benchmarking/ \\\n            --ignore tests/isolated/ \\\n            --ignore tests/utils/ \\\n            --ignore tests/intensive/ \\\n            --ignore tests/no_wrapper\n      - name: Upload\n        if: ${{ !startsWith(matrix.os, 'windows') && matrix.python == '3.11' }}\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./coverage.xml\n          flags: python\n      - name: Run no wrapper tests\n        run: |\n          pytest tests/no_wrapper --verbose\n      # Intended to run even if the tests above failed\n      - name: Run isolated tests\n        if: success() || failure()\n        run: |\n          find tests/isolated/ -name '*.py' -print0 | xargs -0 --verbose -n1 python tests/utils/pytest_wrapper.py --verbose\n", "state": "active", "repository": "voxel51/fiftyone"}
{"mined_at": "2024-07-15T15:12:55.197306", "created_at": "2021-02-09T07:01:14+01:00", "updated_at": "2021-02-09T07:01:14+01:00", "name": "release", "path": ".github/workflows/python_release.yml", "contents": "---\n# --------------------( LICENSE                            )--------------------\n# Copyright (c) 2014-2024 Beartype authors.\n# See \"LICENSE\" for further details.\n#\n# --------------------( SYNOPSIS                           )--------------------\n# GitHub-specific continuous deployment (CD) configuration, enabling automated\n# publication of both source tarballs and binary wheels in various popular\n# formats to both GitHub itself and PyPI on each push of a tag to the \"master\"\n# branch of this repository.\n#\n# --------------------( SEE ALSO                           )--------------------\n# * https://blog.chezo.uno/how-to-release-python-package-from-github-actions-d5a1d8edba6e\n#   Well-authored blog post strongly inspiring this configuration.\n# * https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows\n#   Official PyPA workflow also inspiring this configuration.\n\n# ....................{ TODO                               }....................\n#FIXME: This workflow, while technically working, now emits this warning:\n#    Trusted Publishers allows publishing packages to PyPI from automated\n#    environments like GitHub Actions without needing to use username/password\n#    combinations or API tokens to authenticate with PyPI. Read more:\n#    https://docs.pypi.org/trusted-publishers\n#\n#Seems quite reasonable. Let's dig a bit deeper into this when time permits.\n\n# ....................{ METADATA                           }....................\n# Non-human-readable (i.e., machine-readable) label associated with this\n# GitHub Actions workflow.\nname: release\n\n# ....................{ TRIGGER                            }....................\n# Confine deployment to only new tags satisfying a release-specific format.\non:\n  push:\n    # Sequence of glob expressions matched against \"refs/tags\" pushed to the\n    # branches above.\n    tags:\n      - 'v*'   # Match \"v\"-prefixed tags (e.g., \"v6.9.6\").\n\n# ....................{ MAIN                               }....................\njobs:\n  # ...................{ GITHUB                             }...................\n  # Job publishing a human-readable changelog and codebase tarballs to GitHub\n  # for this release.\n  release:\n    name: \"Create tagged release on GitHub\"\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: \"Checking out repository...\"\n        uses: 'actions/checkout@v4'\n      - name: \"Publishing GitHub release...\"\n        uses: 'ncipollo/release-action@v1'\n        with:\n          name: \"Beartype ${{ github.ref }}\"\n          body: ${{ github.event.commits[0].message }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  # ...................{ PYPI                               }...................\n  # Job publishing both a static distribution (sdist) and binary wheel to PyPI\n  # for this release.\n  pypi:\n    name: \"Publish tagged release to PyPI\"\n    runs-on: ubuntu-latest\n\n    # GitHub Environment associated with this job.\n    #\n    # Note that PyPI strongly recommends use of a GitHub Environment as an\n    # additional security precaution for GitHub repositories that grant push\n    # access to different users with differing permissions. So, basically *ALL*\n    # GitHub repositories is what we are saying. See also:\n    # * \"Publishing to PyPI with a Trusted Publisher.\"\n    #   https://docs.pypi.org/trusted-publishers\n    # * \"Using environments for deployment.\"\n    #   https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#creating-an-environment\n    environment:\n      # Arbitrary name of this environment.\n      name: bear_den\n\n      # Arbitrary URL associated with this environment.\n      url: https://pypi.org/project/beartype\n\n    # Enable the \"write\" permission as required for PyPI Trusted Publishing.\n    # See also:\n    #     https://github.com/pypa/gh-action-pypi-publish\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n\n    # Perform this job *ONLY* if the prior job succeeded.\n    needs: release\n\n    steps:\n      - name: \"Checking out repository...\"\n        uses: 'actions/checkout@v4'\n      - name: \"Installing latest stable Python 3.x...\"\n        uses: 'actions/setup-python@v5'\n        with:\n          python-version: '3.x'\n\n      # See \"python_test.yml\" for further details.\n      - name: 'Upgrading packager dependencies...'\n        run: |\n          set -xe\n          python -VV\n          python -m site\n          python -m pip --quiet install --upgrade pip hatch wheel\n\n      #FIXME: Pretty sure that \"twine\" is no longer required. *shrug*\n      # - name: 'Installing package dependencies...'\n      #   run: |\n      #     python -m pip --quiet install --upgrade twine\n\n      - name: \"Creating source tarball and binary wheel...\"\n        run: |\n          set -xe\n          hatch build -t sdist -t wheel\n      - name: \"Publishing PyPI release from tag...\"\n        uses: 'pypa/gh-action-pypi-publish@release/v1'\n        #FIXME: This should no longer be required. See also:\n        #    https://github.com/pypa/gh-action-pypi-publish\n        # with:\n        #   user: __token__\n        #   password: ${{ secrets.PYPI_API_TOKEN }}\n\n      #FIXME: Enable after integrating this \"pypi\" job into the \"release\" job\n      #above. In theory, this should be trivial. Let's test this later, eh?\n      # - name: \"Publishing GitHub release assets from tag...\"\n      #   uses: actions/upload-release-asset@v1.0.1\n      #   env:\n      #     GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      #   with:\n      #     upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps\n      #     asset_path: \"dist/beartype-${{ github.ref }}.zip\"\n      #     asset_name: \"beartype-${{ github.ref }}.zip\"\n      #     asset_content_type: application/zip\n", "state": "active", "repository": "beartype/beartype"}
{"mined_at": "2024-07-15T15:12:56.349860", "created_at": "2021-02-09T07:01:14+01:00", "updated_at": "2021-02-09T07:01:14+01:00", "name": "test", "path": ".github/workflows/python_test.yml", "contents": "---\n# --------------------( LICENSE                            )--------------------\n# Copyright (c) 2014-2024 Beartype authors.\n# See \"LICENSE\" for further details.\n#\n# --------------------( SYNOPSIS                           )--------------------\n# GitHub-specific continuous integration (CI) configuration, enabling the usual\n# GitHub Actions workflow for pure-Python packages exercised by \"tox\".\n#\n# --------------------( SEE ALSO                           )--------------------\n# * https://hynek.me/articles/python-github-actions\n#   Well-authored blog post strongly inspiring this configuration.\n\n# ....................{ TODO                               }....................\n#FIXME: [CACHING] Add support for caching \"pip\" downloads across runs.\n#Currently, unresolved issues in GitHub Actions prevents sane caching of \"pip\"\n#downloads. Naturally, horrifying hacks circumventing these issues do exist but\n#are presumably worse than these issues. See also this pertinent comment:\n#    https://github.com/actions/cache/issues/342#issuecomment-673371329\n#FIXME: [CACHING] Huzzah! The \"setup-python\" action itself now supports\n#out-of-the-box caching. Note that doing so will require a minor of\n#configuration on our part -- but nothing *TOO* tremendous, hopefully. See:\n#    https://github.com/actions/setup-python#caching-packages-dependencies\n\n# ....................{ METADATA                           }....................\n#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n# WARNING: Changes to this name *MUST* be manually synchronized with:\n# * The \"|GitHub Actions badge|\" image URL in our top-level \"README.rst\".\n#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n# Non-human-readable (i.e., machine-readable) label associated with this\n# GitHub Actions workflow.\nname: test\n\n# ....................{ TRIGGER                            }....................\n# Confine testing to only...\n#\n# Note that \"**\" matches all (possibly deeply \"/\"-nested) branches. See also:\n# * https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet\n#   GitHub-specific glob syntax for matching branches and tags below.\non:\n  # Pushes to the main branch. Pushes to other branches are assumed to be\n  # developer-specific and thus already tested locally by that developer.\n  push:\n    branches:\n      - main\n  # Pull requests against the main branch. Pull requests against other branches\n  # should, ideally, *NEVER* occur; if and when they do, we ignore them.\n  pull_request:\n    branches:\n      - main  # '**'\n\n# ....................{ VARIABLES                          }....................\n# List of private environment variables specific to this configuration and\n# globally set for *ALL* jobs declared below. To avoid conflict with\n# third-party processes, prefix the name of each variable by \"_\".\nenv:\n  #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n  # CAUTION: Optional in-flight test-time dependencies (e.g., NumPy, mypy) are\n  # intentionally listed in the \"beartype.meta.LIBS_TESTTIME_OPTIONAL\" global\n  # rather than below. \"tox\" isolates both the package being tested and its\n  # dependency tree to virtual environments. Listing in-flight dependencies\n  # here would install those dependencies outside those virtual environments,\n  # thus reducing to a pointless, expensive, and failure-prone noop.\n  #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n  # Whitespace-delimited list of the names of all Python packages to be\n  # installed by \"pip\" below. Although this package has *NO* mandatory runtime\n  # dependencies, fully exercising all tests necessitates these pre-flight\n  # test-time dependencies. These include:\n  # * \"tox\", the only mandatory test-time dependency.\n  _PIP_PACKAGE_NAMES: |\n    tox\n\n# ....................{ MAIN                               }....................\njobs:\n  # ...................{ TESTS                              }...................\n  # Job iteratively exercising our test suite against all Python interpreters\n  # supported by this package (and also measuring the coverage of that suite).\n  tests:\n    # ..................{ MATRIX                             }..................\n    strategy:\n      matrix:\n        # List of all platform-specific Docker images to test against,\n        # including:\n        # * The latest Long-Term Service (LTS) release of Ubuntu Linux, still\n        #   the most popular Linux distro and thus a sane baseline.\n        # * The latest *whatever* release of Microsoft Windows. Although Linux\n        #   and macOS are both POSIX-compliant and thus crudely comparable from\n        #   the low-level CLI perspective, Windows is POSIX-noncompliant and\n        #   thus heavily divergent from both macOS and Linux.\n        # * The latest *whatever* release of Apple macOS. We don't particularly\n        #   need to exercise tests on macOS, given the platform's patent\n        #   POSIX-compliant low-level similarities to Linux, but... what the\n        #   heck. Why not? Since this is the lowest priority, we defer macOS\n        #   testing until last.\n\n        #FIXME: Re-enable \"macos-latest\" support *AFTER* the \"setup-python\"\n        #GitHub Action resolves this currently outstanding issue:\n        #    https://github.com/actions/setup-python/issues/852\n        # platform: [ubuntu-latest, windows-latest, macos-latest]\n        platform: [ubuntu-latest, windows-latest]\n\n        #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n        # WARNING: Changes to this section *MUST* be manually synchronized with:\n        # * The \"envlist\" setting of the \"[tox]\" subsection in \"tox.ini\".\n        # * The \"include\" setting below.\n        #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n        # List of all \"tox\" environments (defined by the \"envlist\" setting of\n        # the \"[tox]\" subsection in \"tox.ini\") to be tested, which the\n        # ${TOXENV} environment variable declared below exposes to \"tox\".\n        tox-env:\n          - py38-coverage\n          - py39-coverage\n          - py310-coverage\n          - py311-coverage\n          - py312-coverage\n          #FIXME: Uncomment after we resolve tests currently broken under *ANY*\n          #PyPy version. All tests used to pass under PyPy 3.7 and 3.8, but were\n          #recently broken by work generalizing @beartype to decorate builtin\n          #method descriptors (e.g., @property, @classmethod, @staticmethod).\n          # - pypy37-coverage\n          # - pypy38-coverage\n          # - pypy39-coverage\n\n        # Map each \"tox\" environment name listed in the \"tox-env\" list above to\n        # the corresponding \"python-version\" string supported by the\n        # \"actions/setup-python\" GitHub Action run below.\n        #\n        # Note that:\n        # * Python version specifiers *MUST* be quoted: e.g.,\n        #     # Do this.\n        #     python-version: \"3.10\"\n        #     # Do *NOT* do this.\n        #     python-version: 3.10\n        #   Why? Because YAML sensibly treats an unquoted literal satisfying\n        #   floating-point syntax as a floating-point number and thus silently\n        #   truncates *ALL* ignorable zeroes suffixing that number (e.g.,\n        #   truncating 3.10 to 3.1). That then results in non-human-readable CI\n        #   errors, as discussed upstream at:\n        #     https://github.com/actions/setup-python/issues/160#issuecomment-724485470\n        # * Python pre-releases may be selected with a space-delimited range\n        #   embedded in a single quoted version specifier. For example,\n        #   selecting the Python 3.11 pre-release reduces to:\n        #     python-version: \"3.11.0-alpha - 3.11.0\"\n        include:\n          - tox-env: py38-coverage\n            python-version: \"3.8\"\n          - tox-env: py39-coverage\n            python-version: \"3.9\"\n          - tox-env: py310-coverage\n            python-version: \"3.10\"\n          - tox-env: py311-coverage\n            python-version: \"3.11\"\n          - tox-env: py312-coverage\n            python-version: \"3.12\"\n          #- tox-env: pypy37-coverage\n          #  python-version: \"pypy-3.7\"\n          #- tox-env: pypy38-coverage\n          #  python-version: \"pypy-3.8\"\n          #FIXME: Uncomment after PyPy 3.9 goes live.\n          # - tox-env: pypy39-coverage\n          #   python-version: \"pypy-3.9\"\n\n    # ..................{ SETTINGS                           }..................\n    # Arbitrary human-readable description.\n    name: \"[${{ matrix.platform }}] Python ${{ matrix.python-version }} CI\"\n\n    # Name of the current Docker image to run tests under.\n    runs-on: \"${{ matrix.platform }}\"\n\n    # Time in minutes to wait on the command pipeline run below to exit\n    # *BEFORE* sending a non-graceful termination request (i.e., \"SIGTERM\"\n    # under POSIX-compliant systems).\n    timeout-minutes: 10\n\n    # ..................{ VARIABLES                          }..................\n    # External shell environment variables exposed to commands run below.\n    env:\n      # Prevent \"pip\" from wasting precious continuous integration (CI) minutes\n      # deciding whether it should be upgrading. We're *NOT* upgrading you,\n      # \"pip\". Accept this and let us test faster.\n      PIP_NO_PIP_VERSION_CHECK: 1\n\n      # Map from the current item of the \"tox-env\" list defined above to the\n      # ${TOXENV} environment variable recognized by \"tox\".\n      TOXENV: \"${{ matrix.tox-env }}\"\n\n    # ..................{ PROCESS                            }..................\n    steps:\n      # ..................{ SETUP                            }..................\n      - name: 'Checking out repository...'\n        uses: 'actions/checkout@v4'\n      - name: \"Installing Python ${{ matrix.python-version }}...\"\n        uses: 'actions/setup-python@v5'\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n      - name: 'Displaying Python metadata...'\n        run: |\n          python3 -VV\n          python3 -m site\n\n      # ..................{ INSTALL                          }..................\n      # Note that:\n      # * This command *MUST* be platform-agnostic by running under both:\n      #   * POSIX-compliant platforms (e.g., Linux, macOS).\n      #   * POSIX-noncompliant platforms (e.g., Windows).\n      #   In particular, commands that assume a POSIX-compliant shell (e.g.,\n      #   Bash) *MUST* be avoided.\n      # * Packaging dependencies (e.g., \"pip\") are upgraded *BEFORE* all\n      #   remaining dependencies (e.g., \"tox\").\n      - name: 'Upgrading packager dependencies...'\n        run: |\n          python3 -m pip --quiet install --upgrade pip setuptools wheel\n      - name: 'Installing package dependencies...'\n        run: |\n          python3 -m pip --quiet install --upgrade ${{ env._PIP_PACKAGE_NAMES }}\n\n      # ..................{ TYPE-CHECK                       }..................\n      # Type-check this package *BEFORE* testing this package. Why? Because\n      # \"tox\" internally creates a copy of this package residing at a temporary\n      # \"build/lib/{package_name}\" subdirectory. When type-checking this package\n      # *AFTER* testing this package, the existence of that subdirectory\n      # confuses mypy into believing that multiple duplicate copies of this\n      # package exist, which induces mypy to emit false positives, which induces\n      # this entire job and thus run to fail. In short, mypy.\n\n      # Type-check this package with \"pyright\". See also:\n      #     https://github.com/jakebailey/pyright-action\n      - name: 'Type-checking package with \"pyright\"...'\n        uses: 'jakebailey/pyright-action@v2'\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n\n      #FIXME: Revisit @jpetrucciani's otherwise stellar GitHub Action\n      #\"jpetrucciani/mypy-check\" once the issue tracker there settles a bit.\n      #See also these open issue currently blocking our usage here:\n      #    https://github.com/jpetrucciani/mypy-check/issues/31\n      #    https://github.com/jpetrucciani/mypy-check/issues/30\n      # Type-check this package with \"mypy\".\n      - name: 'Type-checking package with \"mypy:\"...'\n        run: |\n          # Manually install \"mypy\" in the standard way.\n          python3 -m pip --quiet install mypy\n          # Log this \"mypy\" version for debuggability.\n          mypy --version\n          # Run this \"mypy\" instance against our main package.\n          mypy ./beartype/\n\n      # ..................{ TEST                             }..................\n      - name: 'Testing package with \"tox\"...'\n        # Run the subsequent script as a Bash script. Although POSIX-compliant\n        # platforms (e.g., Linux, macOS) sensibly default to Bash, Windows\n        # insanely defaults to a Windows-specific shell (e.g., PowerShell).\n        shell: bash\n        run: |\n          # If the current platform is macOS, export a \"tox\"-specific\n          # environment variable circumventing \"pip\" installation issues by\n          # instructing \"tox\" to reinstall already installed Python packages.\n          # By default, \"tox\" avoids doing so for efficiency. This is required\n          # to specifically circumvent installation of NumPy under macOS. As\n          # discussed at numpy/numpy#15947, macOS bundles a patently broken\n          # BLAS replacement called \"Accelerate\" causing NumPy to raise\n          # exceptions on importation resembling:\n          #     RuntimeError: Polyfit sanity test emitted a warning, most\n          #     likely due to using a buggy Accelerate backend. If you compiled\n          #     yourself, more information is available at\n          #     https://numpy.org/doc/stable/user/building.html#accelerated-blas-lapack-libraries\n          #     Otherwise report this to the vendor that provided NumPy.\n          #     RankWarning: Polyfit may be poorly conditioned\n          #\n          # The kludge leveraged here is the canonical solution. See also:\n          #     https://github.com/numpy/numpy/issues/15947#issuecomment-745428684\n          #\n          # Ideally, we would instead isolate setting this environment variable\n          # in a prior step with sane GitHub Actions syntax: e.g.,\n          #     if: ${{ matrix.platform }} == 'macos-latest'\n          #     env:\n          #       _TOX_PIP_INSTALL_OPTIONS: '--force-reinstall'\n          #\n          # Sadly, the \"env:\" map only locally exports the environment\n          # variables it declares to the current step. Thanks, GitHub Actions.\n          if [[ ${{ matrix.platform }} == 'macos-latest' ]]; then\n              export _TOX_PIP_INSTALL_OPTIONS='--force-reinstall'\n              echo \"Massaging macOS dependencies with \\\"pip install ${_TOX_PIP_INSTALL_OPTIONS}\\\"...\"\n          fi\n          # Dismantled, this is:\n          # * \"--skip-missing-interpreters=false\" disables the corresponding\n          #   \"skip_missing_interpreters = true\" setting globally enabled by\n          #   our top-level \"tox.ini\" configuration, forcing CI failures for\n          #   unavailable Python environments. See also:\n          #       https://github.com/tox-dev/tox/issues/903\n          python3 -m tox --skip-missing-interpreters=false\n\n      # ..................{ COVERAGE                         }..................\n      - name: 'Publishing test coverage to Codecov...'\n        uses: 'codecov/codecov-action@v4'\n        with:\n          name: \"${{ matrix.platform }}-${{ matrix.python-version }}\"\n", "state": "active", "repository": "beartype/beartype"}
{"mined_at": "2024-07-15T15:12:58.608242", "created_at": "2022-08-09T02:52:13+02:00", "updated_at": "2022-08-15T22:43:28+02:00", "name": "Wheel Builder", "path": ".github/workflows/build_wheels.yml", "contents": "name: Wheel Builder\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build_wheels:\n    name: Push new release to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/mpf\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Checkout MPF\n        uses: actions/checkout@v3\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n\n      - name: Install MPF\n        run: |\n          pip install --upgrade pip setuptools wheel build\n          pip install -e .\n\n      - name: Run tests\n        run: python -m unittest discover -s mpf/tests\n\n      - name: Build wheel\n        run: python -m build\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./dist/*.*\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "missionpinball/mpf"}
{"mined_at": "2024-07-15T15:12:59.836632", "created_at": "2024-03-12T18:46:15+01:00", "updated_at": "2024-03-12T18:46:15+01:00", "name": "Lint all Python files", "path": ".github/workflows/prospector.yml", "contents": "name: Lint all Python files\n\non: [push, pull_request]\n\njobs:\n  prospector:\n    name: Run Prospector on all Python files\n    runs-on: ubuntu-latest\n    \n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n\n      - name: Install MPF\n        run: |\n          pip install --upgrade pip setuptools wheel build prospector\n          pip install -e .\n\n      - name: Run Prospector\n        run: prospector\n", "state": "active", "repository": "missionpinball/mpf"}
{"mined_at": "2024-07-15T15:13:01.065822", "created_at": "2022-08-09T04:08:57+02:00", "updated_at": "2022-08-15T22:43:28+02:00", "name": "Test on all platforms", "path": ".github/workflows/run_tests.yml", "contents": "name: Test on all platforms\n\non: [push, pull_request]\n\njobs:\n  tests:\n    name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - os: windows-latest\n          python-version: 3.8\n        - os: windows-latest\n          python-version: 3.9\n        - os: windows-latest\n          python-version: \"3.10\"\n        - os: windows-latest\n          python-version: 3.11\n        - os: ubuntu-latest\n          python-version: 3.8\n        - os: ubuntu-latest\n          python-version: 3.9\n        - os: ubuntu-latest\n          python-version: \"3.10\"\n        - os: ubuntu-latest\n          python-version: 3.11\n        - os: macos-latest\n          python-version: 3.8\n        - os: macos-latest\n          python-version: 3.9\n        - os: macos-latest\n          python-version: \"3.10\"\n        - os: macos-latest\n          python-version: 3.11\n\n    steps:\n      - name: Checkout MPF\n        uses: actions/checkout@v3\n\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install MPF\n        run: |\n          pip install --upgrade pip setuptools wheel build coveralls\n          pip install -e .\n\n      - name: Run tests\n      # Oct 15 2023, \"coverage\" randomly is not recognized as valid on windows\n      # even though you can see it being installed via pip (from coveralls)?!?\n        shell: bash  # Need bash on windows to use the if statement\n        run: |\n          if [ \"${{ runner.os }}\" == \"Windows\" ]; then\n            python3 -m unittest discover -s mpf/tests\n          else\n            python3 -m coverage run -m unittest discover -s mpf/tests\n          fi\n\n      - name: Upload coverage data to coveralls.io\n        if: matrix.os != 'windows-latest'\n        run: coveralls --service=github\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: ${{ matrix.python-version }}-${{ matrix.os }}\n          COVERALLS_PARALLEL: true\n\n  coveralls:\n    name: Indicate completion to coveralls.io\n    needs: tests\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n    - name: Finished\n      run: |\n        pip3 install --upgrade coveralls\n        coveralls --service=github --finish\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "missionpinball/mpf"}
{"mined_at": "2024-07-15T15:13:02.167228", "created_at": "2024-07-12T06:48:11+02:00", "updated_at": "2024-07-12T06:48:11+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "missionpinball/mpf"}
{"mined_at": "2024-07-15T15:13:04.249999", "created_at": "2020-11-24T14:02:51+01:00", "updated_at": "2020-11-24T14:02:51+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n      # Checkout Repository\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      # Install Tools\n      - name: Install Tools\n        run: |\n          sudo apt-get install wget build-essential\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n          cache: \"pip\"\n          cache-dependency-path: \"setup.py\"\n\n      - name: Install Python dependencies\n        run: |\n          python3 -m pip install setuptools requests pexpect meson\n\n      # Install (n)Migen / LiteX / Cores\n      - name: Install LiteX\n        run: |\n          wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py\n          python3 litex_setup.py init install --user\n\n      # Install Project\n      - name: Install Project\n        run: python3 setup.py develop --user\n\n      # Test\n      - name: Run Tests\n        run: python3 setup.py test\n", "state": "active", "repository": "litex-hub/litex-boards"}
{"mined_at": "2024-07-15T15:13:07.618691", "created_at": "2023-05-27T21:15:24+02:00", "updated_at": "2023-05-27T21:15:24+02:00", "name": "Style formatting", "path": ".github/workflows/style.yaml", "contents": "name: Style formatting\n\non: [push, pull_request]\n\njobs:\n  mypy:\n    name: Style check with Black and iSort\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - uses: actions/setup-python@v1\n        with:\n          python-version: \"3.8\"\n      - run: \"python -m pip install black==22.3.0 isort==5.10.1\"\n        name: Install dependencies\n      - run: \"make stylediff\"\n        name: Run Style Checks\n", "state": "active", "repository": "trustyjaid/trusty-cogs"}
{"mined_at": "2024-07-15T15:13:09.771828", "created_at": "2020-12-12T06:32:27+01:00", "updated_at": "2020-12-12T06:32:27+01:00", "name": "Flake8 Check", "path": ".github/workflows/flake8_check.yml", "contents": "name: Flake8 Check\n\non:\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8\n    - name: Check with flake8\n      run: |\n        flake8 .\n", "state": "active", "repository": "nh-server/kurisu"}
{"mined_at": "2024-07-15T15:13:10.811524", "created_at": "2020-09-29T05:56:26+02:00", "updated_at": "2021-10-11T02:56:03+02:00", "name": "Docker image build", "path": ".github/workflows/main.yml", "contents": "name: 'Docker image build'\n\non:\n  push:\n    branches: main\n  workflow_dispatch:\n\n# cancel existing builds if a push is made\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: 'Image build'\n    if: \"!contains(github.event.head_commit.message, 'skip ci')\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Send job start webhook\n        continue-on-error: true\n        uses: appleboy/discord-action@3c62873803ab2f276e28cdde23972899fb26e3a5\n        with:\n          webhook_id: ${{ secrets.WEBHOOK_ID }}\n          webhook_token: ${{ secrets.WEBHOOK_TOKEN }}\n          message: |\n            Starting build for commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}) by ${{ github.actor }}\n            >>> ${{ github.event.head_commit.message }}\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Install testing dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install flake8\n      - name: Check with flake8\n        run: |\n          flake8 .\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Cache Docker layers\n        uses: actions/cache@v3\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n      - name: Login to GHCR\n        uses: docker/login-action@v3\n        with:\n          # GitHub username and personal access token\n          registry: ghcr.io\n          username: ${{ secrets.CR_USERNAME }}\n          password: ${{ secrets.CR_PAT }}\n      - name: Build Docker image\n        id: docker_build\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          file: ./Dockerfile\n          platforms: linux/amd64\n          push: true\n          tags: ghcr.io/nh-server/kurisu:latest\n          build-args: |\n            COMMIT=${{ github.sha }}\n            BRANCH=${{ github.ref }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n# https://stackoverflow.com/questions/60477061/github-actions-how-to-deploy-to-remote-server-using-ssh/60479844#60479844\n      - name: Create SSH key\n        run: |\n          mkdir -p ~/.ssh/\n          chmod 700 ~/.ssh/\n          echo \"$SSH_PRIVATE_KEY\" > ~/.ssh/id_rsa\n          chmod 600 ~/.ssh/id_rsa\n          echo \"$SSH_KNOWN_HOSTS\" > ~/.ssh/known_hosts\n        shell: bash\n        env:\n          SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}\n          SSH_KNOWN_HOSTS: ${{ secrets.SSH_KNOWN_HOSTS }}\n      - name: Send push webhook\n        continue-on-error: true\n        uses: appleboy/discord-action@3c62873803ab2f276e28cdde23972899fb26e3a5\n        with:\n          webhook_id: ${{ secrets.WEBHOOK_ID }}\n          webhook_token: ${{ secrets.WEBHOOK_TOKEN }}\n          message: Pulling on server\n      - name: Pull on server\n        run: docker-compose -f docker-compose-prod.yml pull\n        env:\n          DOCKER_HOST: ${{ secrets.SSH_HOST }}\n          COMPOSE_PARAMIKO_SSH: '1'\n      - name: Send up webhook\n        continue-on-error: true\n        uses: appleboy/discord-action@3c62873803ab2f276e28cdde23972899fb26e3a5\n        with:\n          webhook_id: ${{ secrets.WEBHOOK_ID }}\n          webhook_token: ${{ secrets.WEBHOOK_TOKEN }}\n          message: Running on server\n      - name: Run on server\n        run: docker compose -f docker-compose-prod.yml up -d\n        env:\n          DOCKER_HOST: ${{ secrets.SSH_HOST }}\n          COMPOSE_PARAMIKO_SSH: '1'\n      - name: Send webhook on failure\n        if: ${{ failure() }}\n        continue-on-error: true\n        uses: appleboy/discord-action@3c62873803ab2f276e28cdde23972899fb26e3a5\n        with:\n          webhook_id: ${{ secrets.WEBHOOK_ID }}\n          webhook_token: ${{ secrets.WEBHOOK_TOKEN }}\n          message: |\n            Failed to build [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})\n      - name: Send webhook on cancellation\n        if: ${{ cancelled() }}\n        continue-on-error: true\n        uses: appleboy/discord-action@3c62873803ab2f276e28cdde23972899fb26e3a5\n        with:\n          webhook_id: ${{ secrets.WEBHOOK_ID }}\n          webhook_token: ${{ secrets.WEBHOOK_TOKEN }}\n          message: |\n            Cancelled build for [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})\n", "state": "active", "repository": "nh-server/kurisu"}
{"mined_at": "2024-07-15T15:13:13.046596", "created_at": "2021-01-09T00:49:55+01:00", "updated_at": "2021-01-09T00:49:55+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n   push:\n     tags:\n       - 'v*'\n\njobs:\n  formatting:\n    name: Check Formatting\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Install Formatting\n      run: |\n        python -m pip install --upgrade pip\n        pip install hacking isort\n    - name: Check Formatting\n      run: |\n        flake8 .\n        grep -rlIP '[^\\x00-\\x7F]' skrobot | grep '\\.pyx\\?' | sort > unicode.out; grep -rlI '# -\\*- coding: \\(utf-8\\|latin-1\\) -\\*-' skrobot | grep '\\.pyx\\?' | sort > coding.out; comm -23 unicode.out coding.out > test_code.out; cat test_code.out;  test \\! -s test_code.out\n    - name: Check isort\n      run: |\n        isort -c .\n\n  requirements-formatting:\n    name: Check Requirements Formatting\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n    - name: Check Formatting\n      run: |\n        sort -C requirements.txt\n\n  tests-3x:\n    name: Run Unit Tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.6.15, 3.8.16, 3.10.10]\n        os: [ubuntu-20.04]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install APT On Linux\n      run: |\n        sudo apt-get update -qq -y\n        sudo apt-get install -qq -y libspatialindex-dev freeglut3-dev libsuitesparse-dev libblas-dev liblapack-dev\n    - name: Install Pytest\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        pip install Cython\n        pip install pytest hacking\n    - name: Install scikit-robot\n      run: |\n        pip cache purge\n        pip install --no-cache-dir .[all] \"numpy<2.0\"\n    - name: Run Pytest\n      run: pytest -v tests\n\n  tests-2x:\n    name: Run Unit Tests\n    runs-on: ubuntu-20.04\n    container:\n      image: python:2.7.18-buster\n    steps:\n    - uses: actions/checkout@v3\n    - name: Install APT On Linux\n      run: |\n        apt-get update && apt-get install sudo cmake -y\n        sudo apt-get update -qq -y\n        sudo apt-get install -qq -y libspatialindex-dev freeglut3-dev libsuitesparse-dev libblas-dev liblapack-dev\n    - name: Install Pytest\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        pip install Cython\n        pip install pytest hacking\n    - name: Install scikit-robot\n      run: pip install --no-cache-dir .[all]\n    - name: Run Pytest\n      run: sudo pytest -v tests  # require sudo to access /tmp dir\n\n  pypi:\n    name: Release To PyPi\n    needs: [formatting, requirements-formatting, tests-2x, tests-3x]\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install publishing dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel\n    - name: Build\n      run: |\n        python setup.py sdist\n        python setup.py bdist_wheel\n    - name: Upload to PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "iory/scikit-robot"}
{"mined_at": "2024-07-15T15:13:14.173468", "created_at": "2020-12-16T14:04:03+01:00", "updated_at": "2020-12-16T14:04:03+01:00", "name": "Run Tests", "path": ".github/workflows/test.yml", "contents": "name: Run Tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  schedule:\n    - cron: '0, 0,12 * * *'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  formatting:\n    name: Check Formatting\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Install Formatting\n      run: |\n        python -m pip install --upgrade pip\n        pip install hacking isort\n    - name: Check Formatting\n      run: |\n        flake8 .\n        grep -rlIP '[^\\x00-\\x7F]' skrobot | grep '\\.pyx\\?' | sort > unicode.out; grep -rlI '# -\\*- coding: \\(utf-8\\|latin-1\\) -\\*-' skrobot | grep '\\.pyx\\?' | sort > coding.out; comm -23 unicode.out coding.out > test_code.out; cat test_code.out;  test \\! -s test_code.out\n    - name: Check isort\n      run: |\n        isort -c .\n\n  requirements-formatting:\n    name: Check Requirements Formatting\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n    - name: Check Formatting\n      run: |\n        sort -C requirements.txt\n\n  tests-3x:\n    name: Run Unit Tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.6.15, 3.8.16, 3.10.10]\n        os: [ubuntu-20.04]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install APT On Linux\n      run: |\n        sudo apt-get update -qq -y\n        sudo apt-get install -qq -y libspatialindex-dev freeglut3-dev libsuitesparse-dev libblas-dev liblapack-dev\n    - name: Install Pytest\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        pip install Cython\n        pip install pytest hacking\n    - name: Install scikit-robot\n      run: |\n        pip cache purge\n        pip install --no-cache-dir .[all] \"numpy<2.0\"\n    - name: Run Pytest\n      run: pytest -v tests\n\n  tests-2x:\n    name: Run Unit Tests\n    runs-on: ubuntu-20.04\n    container:\n      image: python:2.7.18-buster\n    steps:\n    - uses: actions/checkout@v3\n    - name: Install APT On Linux\n      run: |\n        apt-get update && apt-get install sudo cmake -y\n        sudo apt-get update -qq -y\n        sudo apt-get install -qq -y libspatialindex-dev freeglut3-dev libsuitesparse-dev libblas-dev liblapack-dev\n    - name: Install Pytest\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        pip install Cython\n        pip install pytest hacking\n    - name: Install scikit-robot\n      run: pip install --no-cache-dir .[all]\n    - name: Run Pytest\n      run: sudo pytest -v tests  # require sudo to access /tmp dir\n", "state": "active", "repository": "iory/scikit-robot"}
{"mined_at": "2024-07-15T15:13:16.282993", "created_at": "2021-09-09T10:59:40+02:00", "updated_at": "2023-11-01T21:09:50+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\non:\n    push:        \n      paths-ignore:\n        - \"README.md\"\n        - \"**/docs/**\"\n        - \".github/workflows/docs.yml\"\n\n    pull_request:\n      branches:\n        - master\n        \n    schedule:\n        - cron: \"0 11 * * *\"\n\njobs:\n\n    publish-pypi:\n        name: Publish to PyPi\n        if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n        runs-on: ubuntu-latest\n        permissions:\n          # IMPORTANT: this permission is mandatory for trusted publishing\n          id-token: write\n        steps:\n            - name: Checkout source\n              uses: actions/checkout@v4\n            - name: Set up Python 3.9\n              uses: actions/setup-python@v5\n              with:\n                  python-version: 3.9\n            - name: Build package\n              run: |\n                  pip install wheel setuptools -U\n                  python setup.py sdist\n            - name: Publish\n              uses: pypa/gh-action-pypi-publish@release/v1\n              with:\n                  skip-existing: true\n\n    test-publish-pypi:\n        name: Build & verify PyPi\n        runs-on: ubuntu-latest\n\n        steps:\n            - uses: actions/checkout@v4\n            - uses: actions/setup-python@v5\n              with:\n                  python-version: 3.9\n\n            - name: Install twine\n              run: |\n                  python -m pip install twine\n            - name: Build package\n              run: |\n                pip install wheel setuptools -U\n                python setup.py sdist\n\n            - name: List result\n              run: |\n                  ls -lh dist\n            - name: Check long_description\n              run: |\n                  python -m twine check dist/*\n\n    build-conda:\n        name: Build in Conda\n        if: startsWith(github.event.ref, 'refs/tags') == false\n        runs-on: ${{ matrix.os }}\n        defaults:\n          run:\n            shell: bash -l {0}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest, macos-latest, macos-12]\n                python-version: [3.9]\n\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n              with:\n                  fetch-depth: 0\n            # - name: Set up Python\n            #   uses: actions/setup-python@v5\n            #   with:\n            #       python-version: ${{ matrix.python-version }}\n            # - name: Cache conda\n            #   uses: actions/cache@v4\n            #   env:\n            #     # Increase this value to reset cache if etc/example-environment.yml has not changed\n            #     CACHE_NUMBER: 0\n            #   with:\n            #       path: ~/conda_pkgs_dir\n            #       key: conda-${{ matrix.os }}-python-${{ matrix.python-version }}-${{ hashFiles('ci/environment.yml') }}\n            - name: Add conda ${{ matrix.python-version }} to system path\n              uses: conda-incubator/setup-miniconda@v3\n              with:\n                  activate-environment: \"test_env\"\n                  auto-activate-base: false\n                  architecture: \"x64\"\n                  miniforge-variant: Mambaforge\n                  #miniforge-version: latest\n                  python-version: ${{ matrix.python-version }}\n                  auto-update-conda: true\n                  environment-file: ci/environment.yml\n                  use-only-tar-bz2: true\n                  channel-priority: true\n                  channels: conda-forge, xspecmodels, threeml\n\n            - name: Init Env\n              shell: bash -l {0}\n              run: |\n\n                  # Make sure we fail in case of error\n                  if [[ ${{matrix.os}} == ubuntu-latest ]];\n                  then\n                      \n                      miniconda_os=Linux\n                      compilers=\"gcc_linux-64 gxx_linux-64 gfortran_linux-64\"\n                  else  # osx\n                      \n                      miniconda_os=MacOSX\n                      compilers=\"clang_osx-64 clangxx_osx-64 gfortran_osx-64\"\n\n                      # On macOS we also need the conda libx11 libraries used to build xspec\n                      # We also need to pin down ncurses, for now only on macos.\n                      xorg=\"xorg-libx11\"\n                  fi\n\n                  export PKG_VERSION=$(python -c \"import versioneer;print(versioneer.get_version())\")\n                  echo \"PKG_VERSION=$PKG_VERSION\" >> $GITHUB_ENV\n\n                  echo \"HOME= ${HOME}\"\n                  echo \"Conda installation path ${CONDA}\"\n                  echo \"Building ${PKG_VERSION}\"\n                  \n                  #echo \"Python version: ${{matrix.python-version}}\"\n\n                  conda install codecov pytest-cov\n            - name: Conda list\n              shell: bash -l {0}\n              run: |\n                  conda list\n            - name: Build the Distribution\n              shell: bash -l {0}\n              run: |\n                  # Build package\n\n                  #conda install conda-build -n base\n                  mamba install -c conda-forge boa\n\n                  #conda build --python=${{matrix.python-version}} conda-dist/recipe\n                  conda mambabuild --python=${{matrix.python-version}} conda-dist/recipe\n\n                  #conda install --use-local astromodels\n                  conda install -c ${CONDA}/envs/test_env/conda-bld/ astromodels\n            - name: Test conda build\n              shell: bash -l {0}\n              run: |\n                  cd astromodels/tests\n                  echo \"======>  importing XSPEC...\"\n                  python -c \"import astromodels.xspec\"\n                  python -m pytest -vv --cov=astromodels --cov-report=xml\n              env:\n                  OMP_NUM_THREADS: 1\n                  MKL_NUM_THREADS: 1\n                  NUMEXPR_NUM_THREADS: 1\n                  MPLBACKEND: \"Agg\"\n\n    publish-conda:\n        name: Publish to Conda\n        if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n        runs-on: ${{ matrix.os }}\n        strategy:\n            matrix:\n                os: [ubuntu-latest, macos-latest]\n                python-version: [3.9]\n\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n              with:\n                  fetch-depth: 0\n            - name: Cache conda\n              uses: actions/cache@v4\n              env:\n                # Increase this value to reset cache if etc/example-environment.yml has not changed\n                CACHE_NUMBER: 0\n              with:\n                  path: ~/conda_pkgs_dir\n                  key: conda-${{ matrix.os }}-python-${{ matrix.python-version }}-${{ hashFiles('ci/environment.yml') }}\n            - name: Add conda ${{ matrix.python-version }} to system path\n              uses: conda-incubator/setup-miniconda@v3\n              with:\n                  activate-environment: \"test_env\"\n                  auto-activate-base: false\n                  architecture: \"x64\"\n                  miniforge-variant: Mambaforge\n                  #miniforge-version: latest\n                  python-version: ${{ matrix.python-version }}\n                  auto-update-conda: true\n                  environment-file: ci/environment.yml\n                  use-only-tar-bz2: true\n                  channel-priority: true\n                  channels: conda-forge, xspecmodels, threeml\n\n            - name: Init Env\n              shell: bash -l {0}\n              run: |\n\n                  # Make sure we fail in case of error\n                  if [[ ${{matrix.os}} == ubuntu-latest ]];\n                  then\n                  miniconda_os=Linux\n                  compilers=\"gcc_linux-64 gxx_linux-64 gfortran_linux-64\"\n                  else  # osx\n                  miniconda_os=MacOSX\n                  compilers=\"clang_osx-64 clangxx_osx-64 gfortran_osx-64\"\n\n                  # On macOS we also need the conda libx11 libraries used to build xspec\n                  # We also need to pin down ncurses, for now only on macos.\n                  xorg=\"xorg-libx11\"\n                  fi\n\n                  export PKG_VERSION=$(python -c \"import versioneer;print(versioneer.get_version())\")\n                  echo \"PKG_VERSION=$PKG_VERSION\" >> $GITHUB_ENV\n\n                  echo \"HOME= ${HOME}\"\n                  echo \"Conda installation path ${CONDA}\"\n                  echo \"Building ${PKG_VERSION}\"\n            - name: Build the Distribution\n              shell: bash -l {0}\n              run: |\n                  # Build package\n\n                  #conda install conda-build -n base\n                  mamba install -c conda-forge boa\n\n                  #conda build --python=${{matrix.python-version}} conda-dist/recipe\n                  conda mambabuild --python=${{matrix.python-version}} conda-dist/recipe\n\n                  #conda install --use-local astromodels\n                  conda install -c ${CONDA}/envs/test_env/conda-bld/ astromodels\n            - name: Publish to Conda\n              shell: bash -l {0}\n              run: |\n\n                  conda install -c conda-forge anaconda-client\n                  echo \"Uploading ${{matrix.os}} IsDev: ${ISDEV} \"\n\n                  if [[ \"${ISDEV}\" == \"true\" ]]; then\n\n                  LABEL=\"--label dev\"\n\n                  fi\n\n                  if [[ ${{matrix.os}} == ubuntu-latest ]];\n                  then\n\n                  anaconda -v --show-traceback -t $UPLOAD_TOKEN upload -u threeml ${CONDA}/envs/test_env/conda-bld/linux-64/*.tar.bz2 --force $LABEL\n\n                  else\n\n                  anaconda -v --show-traceback -t $UPLOAD_TOKEN upload -u threeml ${CONDA}/envs/test_env/conda-bld/osx-64/*.tar.bz2 --force $LABEL\n\n                  fi\n\n              env:\n                  UPLOAD_TOKEN: ${{secrets.CONDA_UPLOAD_TOKEN}}\n                  CURRENT_OS: ${{matrix.os}}\n                  ISDEV: ${{contains(github.ref, 'dev')}}\n", "state": "active", "repository": "threeml/astromodels"}
{"mined_at": "2024-07-15T15:13:17.452713", "created_at": "2021-02-09T10:16:17+01:00", "updated_at": "2021-04-22T06:15:05+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\non: [push, release]\n\njobs:\n  notebooks:\n    name: \"Build the notebooks for the docs\"\n    runs-on: macos-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token\n          fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      #- name: Checkout\n      #  uses: actions/checkout@v4\n      - name: Init Environment\n        #shell: bash -l {0}\n        run: |\n          \n          brew update\n          brew install --cask basictex\n\n          eval \"$(/usr/libexec/path_helper)\"\n\n      - name: Setup base pkgs\n        #shell: bash -l {0}\n        run: |\n          brew install hdf5\n\n          python -m pip install --upgrade pip wheel\n\n          python -m pip install numpy numba tempita jupytext jupyterthemes jupyter_latex_envs papermill \"matplotlib<3.9\" astropy pandas tables healpy\n          python -m pip install ebltable black cython pkgconfig h5py\n\n          \n      - name: Install the package\n        #shell: bash -l {0}\n        run: |\n\n          #python setup.py develop\n          pip3 install -e .\n          \n      - name: Execute the notebooks\n        #shell: bash -l {0}\n        run: |\n\n          # Download an example file\n          \n          wget https://www.astropy.org/astropy-data/photometry/spitzer_example_image.fits\n\n          mv spitzer_example_image.fits docs/md/\n          \n          jupytext --to ipynb --execute docs/md/*.md\n          mv docs/md/*.ipynb docs/notebooks/\n          ls docs/notebooks\n        env:\n          OMP_NUM_THREADS: 1\n          MKL_NUM_THREADS: 1\n          NUMEXPR_NUM_THREADS: 1\n          MPLBACKEND: \"Agg\"\n      - name: Create function gallery\n        #shell: bash -l {0}\n        run: |\n          # move to the scripts directory\n          cd scripts\n\n\n          # now generate the function docs\n          python generate_func_docs.py\n\n          cd ..\n\n          ls docs/notebooks\n          \n      - uses: actions/upload-artifact@v4\n        with:\n          name: notebooks-for-${{ github.sha }}\n          path: docs/notebooks\n\n\n      - name: Sleep for 10 min\n        uses: juliangruber/sleep-action@v1\n        with:\n          time: 10m\n\n      - name: Trigger RTDs build\n        uses: dfm/rtds-action@main\n        with:\n          webhook_url: ${{ secrets.RTDS_WEBHOOK_URL }}\n          webhook_token: ${{ secrets.RTDS_WEBHOOK_TOKEN }}\n          commit_ref: ${{ github.ref }}\n\n  api_doc:\n    name: \"Create the API stubs\"\n    runs-on: macos-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token\n          fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Build the API doc\n        run: |\n\n          brew install c-blosc\n          brew install hdf5\n\n          pip3 install tempita tables\n          pip3 install cython blosc2 h5py\n          pip3 install numpy scipy numba astropy pandas\n          pip3 install wheel pkgconfig\n\n          #python setup.py develop\n          pip3 install -e .\n\n          brew install sphinx-doc pandoc\n\n          pip3 install mock recommonmark\n          pip3 install sphinx-rtd-dark-mode\n          pip3 install -U sphinx\n\n\n          sphinx-apidoc -f -o docs/api/ astromodels\n\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: api-stubs-for-${{ github.sha }}\n          path: docs/api\n\n\n  build_docs:\n    name: \"Build the Documentation\"\n    runs-on: macos-latest\n    needs: [notebooks, api_doc]\n    steps:\n\n\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token\n          fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Install package\n        run: |\n\n          brew install c-blosc\n          brew install hdf5\n\n          pip3 install tempita\n          pip3 install cython blosc2 h5py\n          pip3 install numpy scipy numba astropy\n\n          brew install sphinx-doc pandoc\n\n          pip3 install wheel pkgconfig\n          pip3 install mock recommonmark\n          pip3 install sphinx-rtd-dark-mode sphinx-math-dollar\n          pip3 install -r docs/requirements.txt\n\n          #python setup.py develop\n          pip3 install -e .\n\n          rm -rf docs/md/*\n\n\n\n      - uses: actions/download-artifact@master\n        with:\n          name: notebooks-for-${{ github.sha }}\n          path: docs/notebooks\n\n\n      - uses: actions/download-artifact@master\n        with:\n          name: api-stubs-for-${{ github.sha }}\n          path: docs/notebooks/api\n\n      - name: Build and Commit\n        uses: sphinx-notes/pages@v2\n        with:\n          documentation_path: docs\n          sphinx_version: 5.1.1\n          requirements_path: docs/requirements.txt\n\n\n      - name: Push changes\n        if: github.event_name == 'push' #&& startsWith(github.event.ref, 'refs/tags')\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: gh-pages\n", "state": "active", "repository": "threeml/astromodels"}
{"mined_at": "2024-07-15T15:13:18.678452", "created_at": "2020-12-31T13:04:53+01:00", "updated_at": "2021-08-17T06:19:44+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/issues.yml", "contents": "name: Close stale issues and PRs\non:\n  schedule:\n  - cron: 30 1 * * *\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue has become stale. Is there an update? We will close in 15 days'\n        stale-pr-message: 'This PR has become stale. We will close in 60 days'\n        stale-issue-label: 'no-issue-activity'\n        stale-pr-label: 'no-pr-activity'\n        days-before-pr-stale: 90\n        days-before-issue-stale: 30\n        days-before-issue-close: 15\n        days-before-pr-close: 60\n", "state": "disabled_manually", "repository": "threeml/astromodels"}
{"mined_at": "2024-07-15T15:13:19.711142", "created_at": "2020-12-21T11:03:16+01:00", "updated_at": "2023-10-31T22:20:28+01:00", "name": "CI", "path": ".github/workflows/test_and_build.yml", "contents": "name: CI\non:\n    push:\n      paths-ignore:\n        - \"README.md\"\n        - \"**/docs/**\"\n        - \".github/workflows/docs.yml\"\n\n    pull_request:\n      branches:\n        - master\n        - dev\n        \n    schedule:\n        - cron: \"0 11 * * *\"\n\njobs:\n    skip_duplicate:\n        runs-on: ubuntu-latest\n        outputs:\n            should_skip: ${{ steps.skip_check.outputs.should_skip }}\n        steps:\n            - id: skip_check\n              uses: fkirc/skip-duplicate-actions@master\n              with:\n                  github_token: ${{ github.token }}\n                  concurrent_skipping: never\n                  skip_after_successful_duplicate: true\n                  paths_ignore: '[\"**/README.md\", \"**/docs/**\"]'\n                  do_not_skip: '[\"pull_request\",  \"schedule\"]'\n\n    test-pip:\n        name: Test with Pip install\n        needs: skip_duplicate\n        if: ${{ needs.skip_duplicate.outputs.should_skip == 'false' }}\n        strategy:\n            fail-fast: false\n            matrix:\n                python-version: [\"3.9\", \"3.10\", \"3.11\"]\n                os: [\"ubuntu-latest\", \"macos-latest\", \"macos-12\"]\n        runs-on: ${{ matrix.os }}\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip wheel\n                  pip install --upgrade flake8 coverage pytest-cov cython\n                  \n                  if [[ ${{matrix.os}} == macos-latest ]];\n                  then\n                    brew update\n                    brew install hdf5\n                  fi\n\n                  pip install -e .\n            - name: Lint with flake8\n              run: |\n                  # stop the build if there are Python syntax errors or undefined names\n                  flake8\n\n            - name: Test pip on ${{ matrix.python-version }}\n              run: |\n                  python -m pytest -vv --cov=astromodels/ --cov-report=xml --junitxml=junit/test-results.xml\n              env:\n                  OMP_NUM_THREADS: 1\n                  MKL_NUM_THREADS: 1\n                  NUMEXPR_NUM_THREADS: 1\n                  MPLBACKEND: \"Agg\"\n\n            - name: Publish Unit Test Results Ubuntu\n              uses: EnricoMi/publish-unit-test-result-action@v2\n              if: runner.os == 'Linux'\n              with:\n                files: junit/test-*.xml\n                comment_mode: off\n\n            - name: Publish Unit Test Results MacOS\n              uses: EnricoMi/publish-unit-test-result-action/composite@v2\n              if: runner.os == 'macOS'\n              with:\n                files: junit/test-*.xml\n                comment_mode: off\n\n            - name: Upload coverage to Codecov\n              uses: codecov/codecov-action@v4\n              with:\n                  file: ./coverage.xml\n                  files: ./coverage1.xml,./coverage2.xml\n                  directory: ./coverage/reports/\n\n    test-conda:\n        name: Test Conda version\n        needs: skip_duplicate\n        if: ${{ needs.skip_duplicate.outputs.should_skip == 'false' }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [\"ubuntu-latest\", \"macos-latest\", \"macos-12\"]\n                python-version: [3.9]\n        runs-on: ${{ matrix.os }}\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            # - name: Cache conda\n            #   uses: actions/cache@v4\n            #   env:\n            #     # Increase this value to reset cache if etc/example-environment.yml has not changed\n            #     CACHE_NUMBER: 0\n            #   with:\n            #       path: ~/conda_pkgs_dir\n            #       key: conda-${{ matrix.os }}-python-${{ matrix.python-version }}-${{ hashFiles('ci/environment.yml') }}\n            - name: Add conda ${{ matrix.python-version }} to system path\n              uses: conda-incubator/setup-miniconda@v3\n              with:\n                  activate-environment: \"test_env\"\n                  auto-activate-base: false\n                  architecture: \"x64\"\n                  #mamba-version: \"*\"\n                  miniforge-version: latest\n                  python-version: ${{ matrix.python-version }}\n                  auto-update-conda: true\n                  environment-file: ci/environment.yml\n                  use-only-tar-bz2: true\n                  channel-priority: strict\n                  channels: conda-forge, xspecmodels\n              \n\n            - name: Init Env\n              shell: bash -l {0}\n              run: |\n                  # Make sure we fail in case of error\n                  if [[ ${{matrix.os}} == ubuntu-latest ]];\n                  then\n                  miniconda_os=Linux\n                  compilers=\"gcc_linux-64 gxx_linux-64 gfortran_linux-64\"\n                  else  # osx\n                  miniconda_os=MacOSX\n                  compilers=\"clang_osx-64 clangxx_osx-64 gfortran_osx-64\"\n\n                  # On macOS we also need the conda libx11 libraries used to build xspec\n                  # We also need to pin down ncurses, for now only on macos.\n                  xorg=\"xorg-libx11\"\n                  fi\n\n\n                  export PKG_VERSION=$(python -c \"import versioneer;print(versioneer.get_version())\")\n\n                  mamba install ${PKG} codecov pytest-cov git flake8\n\n            - name: Conda list\n              shell: bash -l {0}\n              run: |\n                  conda list\n            - name: install it\n              shell: bash -l {0}\n              run: |\n                  pip install -e .\n            - name: Lint with flake8\n              shell: bash -l {0}\n              run: |\n                  # stop the build if there are Python syntax errors or undefined names\n                  flake8\n\n            - name: Test conda install\n              shell: bash -l {0}\n              run: |\n              \n                  echo \"======>  importing XSPEC...\"\n                  python -c \"import astromodels.xspec\"\n                  python -m pytest -vv --cov=astromodels --cov-report=xml\n\n              env:\n                  OMP_NUM_THREADS: 1\n                  MKL_NUM_THREADS: 1\n                  NUMEXPR_NUM_THREADS: 1\n                  MPLBACKEND: \"Agg\"\n\n            - name: Upload coverage to Codecov\n              uses: codecov/codecov-action@v4\n              with:\n                  file: ./coverage.xml\n                  files: ./coverage1.xml,./coverage2.xml\n                  directory: ./coverage/reports/\n\n", "state": "active", "repository": "threeml/astromodels"}
{"mined_at": "2024-07-15T15:13:20.750470", "created_at": "2022-09-25T18:59:08+02:00", "updated_at": "2022-09-25T18:59:08+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "threeml/astromodels"}
{"mined_at": "2024-07-15T15:13:22.979755", "created_at": "2022-12-07T12:08:48+01:00", "updated_at": "2022-12-07T12:08:48+01:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '0 * * * *'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v5\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n\n        # STALE\n        # Duration of inactivity before making Issues/PRs stale\n        days-before-pr-stale: 15\n        days-before-issue-stale: 60\n\n        # Stale Comment\n        stale-pr-message: >\n            This Pull request has been automatically marked as STALE due to inactivity for 15 days\n            and will be CLOSED on further inactivity on the PR for another 15 days.\n        stale-issue-message: >\n            This Issue has been marked as STALE due to inactivity for 60 days.\n            and will be CLOSED after another 30 days on further inactivity.\n\n        # stale label\n        stale-pr-label: 'stale-warning-on-inactivity'\n        stale-issue-label: 'stale-warning-on-inactivity'\n\n        # remove stale label when updated.\n        remove-stale-when-updated: true\n\n        # CLOSE\n        # Duration of inactivity before closing stale Issues/PRs\n        days-before-pr-close: 15\n        days-before-issue-close: 30\n\n        # closing Comment on the staled Issues/PRs\n        close-pr-message: >\n            This pull request has been automatically CLOSED,\n            because there has been no activity for 15 days after marking PR as STALE.\n        close-issue-message: >\n            This Issue has been automatically CLOSED,\n            because there has been no activity for 30 days after marking issue as STALE.\n\n        # close Issue/pr label\n        close-pr-label: \"closed-due-to-inactivity\"\n        close-issue-label: \"closed-due-to-inactivity\"\n\n        # Change the order used to fetch the issues and pull requests\n        ascending: true\n\n        # labels to exempt from stale action\n        exempt-pr-labels: \"pinned,need-help\"\n\n        # Maximum number of operations per run\n        operations-per-run: 300\n", "state": "active", "repository": "red-hat-storage/cephci"}
{"mined_at": "2024-07-15T15:13:24.000464", "created_at": "2020-11-30T12:49:51+01:00", "updated_at": "2020-11-30T12:49:51+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non: [push, pull_request]\n\njobs:\n  tox:\n    runs-on: ubuntu-20.04\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version:\n        - '3.9.16'\n        - '3.8.15'\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: pip install tox\n    - name: Test with tox\n      run: tox -e py\n", "state": "active", "repository": "red-hat-storage/cephci"}
{"mined_at": "2024-07-15T15:13:26.029306", "created_at": "2023-12-13T21:53:32+01:00", "updated_at": "2023-12-13T21:53:32+01:00", "name": "PR Review", "path": ".github/workflows/PR-Review.yml", "contents": null, "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:27.159035", "created_at": "2023-12-17T04:29:48+01:00", "updated_at": "2024-01-30T11:11:35+01:00", "name": "PR review", "path": ".github/workflows/auto_pr_review.yaml", "contents": "name: \"PR review\"\non:\n  pull_request_target:\n    types: [opened, reopened, synchronize, edited, edited]\n\njobs:\n  labeler:\n    name: review\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: false\n\n    # Label PRs\n    - uses: actions/labeler@v5.0.0\n      with:\n        dot: true\n        configuration-path: .github/labeler.yaml\n\n    # Check PR target branch\n    - name: check branch\n      uses: Vankka/pr-target-branch-action@def32ec9d93514138d6ac0132ee62e120a72aed5\n      if: github.repository == 'commaai/openpilot'\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        target: /^(?!master$).*/\n        exclude: /commaai:.*/\n        change-to: ${{ github.base_ref }}\n        already-exists-action: close_this\n        already-exists-comment: \"Your PR should be made against the `master` branch\"\n\n    # Welcome comment\n    - name: comment\n      uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6\n      if: github.event.pull_request.head.repo.full_name != 'commaai/openpilot'\n      with:\n        message: |\n            <!-- _(run_id **${{ github.run_id }}**)_ -->\n            Thanks for contributing to openpilot! In order for us to review your PR as quickly as possible, check the following:\n            * Convert your PR to a draft unless it's ready to review\n            * Read the [contributing docs](https://github.com/commaai/openpilot/blob/master/docs/CONTRIBUTING.md)\n            * Before marking as \"ready for review\", ensure:\n              * the goal is clearly stated in the description\n              * all the tests are passing\n              * the change is [something we merge](https://github.com/commaai/openpilot/blob/master/docs/CONTRIBUTING.md#what-gets-merged)\n              * include a route or your device' dongle ID if relevant\n        comment_tag: run_id\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:28.211187", "created_at": "2022-07-22T08:10:51+02:00", "updated_at": "2022-07-22T23:07:57+02:00", "name": "badges", "path": ".github/workflows/badges.yaml", "contents": "name: badges\non:\n  schedule:\n    - cron: '0 * * * *'\n  workflow_dispatch:\n\nenv:\n  BASE_IMAGE: openpilot-base\n  DOCKER_REGISTRY: ghcr.io/commaai\n  RUN: docker run --shm-size 1G -v $PWD:/tmp/openpilot -w /tmp/openpilot -e PYTHONPATH=/tmp/openpilot -e NUM_JOBS -e JOB_ID -e GITHUB_ACTION -e GITHUB_REF -e GITHUB_HEAD_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -v $GITHUB_WORKSPACE/.ci_cache/scons_cache:/tmp/scons_cache -v $GITHUB_WORKSPACE/.ci_cache/comma_download_cache:/tmp/comma_download_cache -v $GITHUB_WORKSPACE/.ci_cache/openpilot_cache:/tmp/openpilot_cache $DOCKER_REGISTRY/$BASE_IMAGE:latest /bin/bash -c\n\njobs:\n  badges:\n    name: create badges\n    runs-on: ubuntu-latest\n    if: github.repository == 'commaai/openpilot'\n    permissions:\n      contents: write\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Push badges\n      run: |\n        ${{ env.RUN }} \"scons -j$(nproc) && python selfdrive/ui/translations/create_badges.py\"\n\n        rm .gitattributes\n\n        git checkout --orphan badges\n        git rm -rf --cached .\n        git config user.email \"badge-researcher@comma.ai\"\n        git config user.name \"Badge Researcher\"\n\n        git add translation_badge.svg\n        git commit -m \"Add/Update badges\"\n        git push -f origin HEAD\n", "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:29.328324", "created_at": "2024-07-04T00:27:30+02:00", "updated_at": "2024-07-04T00:27:30+02:00", "name": "weekly CI test report", "path": ".github/workflows/ci_weekly_report.yaml", "contents": null, "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:30.436409", "created_at": "2024-06-30T06:56:07+02:00", "updated_at": "2024-07-04T00:27:30+02:00", "name": "weekly CI test run", "path": ".github/workflows/ci_weekly_run.yaml", "contents": null, "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:31.567288", "created_at": "2023-08-10T20:29:40+02:00", "updated_at": "2023-08-10T20:29:40+02:00", "name": "development tools", "path": ".github/workflows/dev_tools_tests.yaml", "contents": null, "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:32.697693", "created_at": "2023-10-14T07:50:05+02:00", "updated_at": "2024-07-06T08:07:08+02:00", "name": "docs", "path": ".github/workflows/docs.yaml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\nconcurrency:\n  group: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.run_id || github.head_ref || github.ref }}-${{ github.workflow }}-${{ github.event_name }}\n  cancel-in-progress: true\n\nenv:\n  BASE_IMAGE: openpilot-base\n\n  BUILD: selfdrive/test/docker_build.sh base\n\n  RUN: docker run --shm-size 1G -v $GITHUB_WORKSPACE:/tmp/openpilot -w /tmp/openpilot -e FILEREADER_CACHE=1 -e PYTHONPATH=/tmp/openpilot -e NUM_JOBS -e JOB_ID -e GITHUB_ACTION -e GITHUB_REF -e GITHUB_HEAD_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -v $GITHUB_WORKSPACE/.ci_cache/scons_cache:/tmp/scons_cache -v $GITHUB_WORKSPACE/.ci_cache/comma_download_cache:/tmp/comma_download_cache -v $GITHUB_WORKSPACE/.ci_cache/openpilot_cache:/tmp/openpilot_cache $BASE_IMAGE /bin/bash -c\n\njobs:\n  docs:\n    name: build docs\n    runs-on: ubuntu-latest\n    timeout-minutes: 45\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Build openpilot\n      run: |\n        ${{ env.RUN }} \"scons -j$(nproc)\"\n    - name: Build docs\n      run: |\n        ${{ env.RUN }} \"apt update && apt install -y doxygen && cd docs && make -j$(nproc) html\"\n\n    - uses: actions/checkout@v4\n      if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'\n      with:\n        path: openpilot-docs\n        ssh-key: ${{ secrets.OPENPILOT_DOCS_KEY }}\n        repository: commaai/openpilot-docs\n    - name: Push\n      if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'\n      run: |\n        set -x\n\n        source release/identity.sh\n\n        cd openpilot-docs\n\n        git checkout --orphan tmp\n        git rm -rf .\n\n        cp -r ../build/docs/html/ docs/\n        cp -r ../docs/README.md .\n        touch docs/.nojekyll\n        echo -n docs.comma.ai > docs/CNAME\n        git add -f .\n\n        git commit -m \"build docs\"\n\n        # docs live in different repo to not bloat openpilot's full clone size\n        git push -f origin tmp:gh-pages\n", "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:33.744579", "created_at": "2023-10-01T05:51:23+02:00", "updated_at": "2023-10-01T05:51:23+02:00", "name": ".github/workflows/fingerprint.yaml", "path": ".github/workflows/fingerprint.yaml", "contents": null, "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:34.777519", "created_at": "2024-07-04T00:59:33+02:00", "updated_at": "2024-07-04T00:59:33+02:00", "name": "New Docs", "path": ".github/workflows/new-docs.yaml", "contents": null, "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:35.848740", "created_at": "2023-12-15T02:25:10+01:00", "updated_at": "2023-12-15T02:57:32+01:00", "name": "Pull Request Review Bot", "path": ".github/workflows/pr-bot.yaml", "contents": null, "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:36.890061", "created_at": "2023-12-20T12:11:41+01:00", "updated_at": "2023-12-20T12:11:41+01:00", "name": "Bot Review", "path": ".github/workflows/pr_review_bot.yaml", "contents": null, "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:38.134303", "created_at": "2021-01-20T05:00:00+01:00", "updated_at": "2022-07-12T03:33:53+02:00", "name": "prebuilt", "path": ".github/workflows/prebuilt.yaml", "contents": "name: prebuilt\non:\n  schedule:\n    - cron: '0 * * * *'\n  workflow_dispatch:\n\nenv:\n  DOCKER_LOGIN: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}\n  BUILD: selfdrive/test/docker_build.sh prebuilt\n\njobs:\n  build_prebuilt:\n    name: build prebuilt\n    runs-on: ubuntu-latest\n    if: github.repository == 'commaai/openpilot'\n    env:\n      PUSH_IMAGE: true\n    permissions:\n      checks: read\n      contents: read\n      packages: write\n    steps:\n    - name: Wait for green check mark\n      if: ${{ github.event_name != 'workflow_dispatch' }}\n      uses: lewagon/wait-on-check-action@ccfb013c15c8afb7bf2b7c028fb74dc5a068cccc\n      with:\n        ref: master\n        wait-interval: 30\n        running-workflow-name: 'build prebuilt'\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        check-regexp: ^((?!.*(build master-ci).*).)*$\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - run: git lfs pull\n    - name: Build and Push docker image\n      run: |\n        $DOCKER_LOGIN\n        eval \"$BUILD\"\n", "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:39.230434", "created_at": "2024-06-11T06:29:07+02:00", "updated_at": "2024-06-11T06:29:07+02:00", "name": "python", "path": ".github/workflows/python-test.yaml", "contents": null, "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:40.266489", "created_at": "2022-05-14T04:39:02+02:00", "updated_at": "2022-07-12T03:29:00+02:00", "name": "release", "path": ".github/workflows/release.yaml", "contents": "name: release\non:\n  schedule:\n    - cron: '0 10 * * *'\n  workflow_dispatch:\n\njobs:\n  build_masterci:\n    name: build master-ci\n    env:\n      TARGET_DIR: /tmp/openpilot\n      ImageOS: ubuntu20\n    container:\n      image: ghcr.io/commaai/openpilot-base:latest\n    runs-on: ubuntu-latest\n    if: github.repository == 'commaai/openpilot'\n    permissions:\n      checks: read\n      contents: write\n    steps:\n    - name: Install wait-on-check-action dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libyaml-dev\n    - name: Wait for green check mark\n      if: ${{ github.event_name != 'workflow_dispatch' }}\n      uses: lewagon/wait-on-check-action@ccfb013c15c8afb7bf2b7c028fb74dc5a068cccc\n      with:\n        ref: master\n        wait-interval: 30\n        running-workflow-name: 'build master-ci'\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        check-regexp: ^((?!.*(build prebuilt).*).)*$\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n        fetch-depth: 0\n    - name: Pull LFS\n      run: |\n        git config --global --add safe.directory '*'\n        git lfs pull\n    - name: Build master-ci\n      run: |\n        release/build_devel.sh\n    - name: Run tests\n      run: |\n        export PYTHONPATH=$TARGET_DIR\n        cd $TARGET_DIR\n        scons -j$(nproc)\n        pytest -n logical selfdrive/car/tests/test_car_interfaces.py\n    - name: Push master-ci\n      run: |\n        unset TARGET_DIR\n        BRANCH=master-ci release/build_devel.sh\n", "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:41.410963", "created_at": "2023-08-31T23:19:40+02:00", "updated_at": "2023-08-31T23:28:02+02:00", "name": "repo maintenance", "path": ".github/workflows/repo-maintenance.yaml", "contents": "name: repo maintenance\n\non:\n  schedule:\n    - cron: \"0 14 * * 1\" # every Monday at 2am UTC (6am PST)\n  workflow_dispatch:\n\njobs:\n  bump_submodules:\n    name: bump_submodules\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/commaai/openpilot-base:latest\n    if: github.repository == 'commaai/openpilot'\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: bump submodules\n      run: |\n        git config --global --add safe.directory '*'\n        git -c submodule.\"tinygrad\".update=none submodule update --remote\n        git add .\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@9153d834b60caba6d51c9b9510b087acf9f33f83\n      with:\n        author: Vehicle Researcher <user@comma.ai>\n        token: ${{ secrets.ACTIONS_CREATE_PR_PAT }}\n        commit-message: bump submodules\n        title: '[bot] Bump submodules'\n        branch: auto-bump-submodules\n        base: master\n        delete-branch: true\n        body: 'Automatic PR from repo-maintenance -> bump_submodules'\n        labels: bot\n  package_updates:\n    name: package_updates\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/commaai/openpilot-base:latest\n    if: github.repository == 'commaai/openpilot'\n    steps:\n    - uses: actions/checkout@v4\n    - name: poetry lock\n      run: |\n        pip install poetry\n        poetry lock\n    - name: pre-commit autoupdate\n      run: |\n        git config --global --add safe.directory '*'\n        pre-commit autoupdate\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@9153d834b60caba6d51c9b9510b087acf9f33f83\n      with:\n        author: Vehicle Researcher <user@comma.ai>\n        token: ${{ secrets.ACTIONS_CREATE_PR_PAT }}\n        commit-message: Update Python packages and pre-commit hooks\n        title: '[bot] Update Python packages and pre-commit hooks'\n        branch: auto-package-updates\n        base: master\n        delete-branch: true\n        body: 'Automatic PR from repo-maintenance -> package_updates'\n        labels: bot\n", "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:42.540306", "created_at": "2024-03-07T10:46:15+01:00", "updated_at": "2024-03-07T10:46:15+01:00", "name": "tools", "path": ".github/workflows/run20times.yaml", "contents": null, "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:43.768509", "created_at": "2021-02-18T05:26:41+01:00", "updated_at": "2024-05-29T00:01:51+02:00", "name": "selfdrive", "path": ".github/workflows/selfdrive_tests.yaml", "contents": "name: selfdrive\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.run_id || github.head_ref || github.ref }}-${{ github.workflow }}-${{ github.event_name }}\n  cancel-in-progress: true\n\nenv:\n  PYTHONWARNINGS: error\n  BASE_IMAGE: openpilot-base\n  AZURE_TOKEN: ${{ secrets.AZURE_COMMADATACI_OPENPILOTCI_TOKEN }}\n\n  DOCKER_LOGIN: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}\n  BUILD: selfdrive/test/docker_build.sh base\n\n  RUN: docker run --shm-size 1G -v $PWD:/tmp/openpilot -w /tmp/openpilot -e CI=1 -e PRE_COMMIT_HOME=/tmp/pre-commit -e PYTHONWARNINGS=error -e FILEREADER_CACHE=1 -e PYTHONPATH=/tmp/openpilot -e NUM_JOBS -e JOB_ID -e GITHUB_ACTION -e GITHUB_REF -e GITHUB_HEAD_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -v $GITHUB_WORKSPACE/.ci_cache/pre-commit:/tmp/pre-commit -v $GITHUB_WORKSPACE/.ci_cache/scons_cache:/tmp/scons_cache -v $GITHUB_WORKSPACE/.ci_cache/comma_download_cache:/tmp/comma_download_cache -v $GITHUB_WORKSPACE/.ci_cache/openpilot_cache:/tmp/openpilot_cache $BASE_IMAGE /bin/bash -c\n\n  PYTEST: pytest --continue-on-collection-errors --cov --cov-report=xml --cov-append --durations=0 --durations-min=5 --hypothesis-seed 0 -n logical\n\njobs:\n  build_release:\n    name: build release\n    runs-on: ${{ ((github.repository == 'commaai/openpilot') &&\n                   ((github.event_name != 'pull_request') ||\n                    (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}\n    env:\n      STRIPPED_DIR: /tmp/releasepilot\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - run: git lfs pull\n    - name: Build devel\n      timeout-minutes: 1\n      run: TARGET_DIR=$STRIPPED_DIR release/build_devel.sh\n    - uses: ./.github/workflows/setup-pre-commit\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Check submodules\n      if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'\n      timeout-minutes: 1\n      run: release/check-submodules.sh\n    - name: Build openpilot and run checks\n      timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache\n      run: |\n        cd $STRIPPED_DIR\n        ${{ env.RUN }} \"python system/manager/build.py\"\n    - name: Run tests\n      timeout-minutes: 3\n      run: |\n        cd $STRIPPED_DIR\n        ${{ env.RUN }} \"release/check-dirty.sh && \\\n                        MAX_EXAMPLES=5 $PYTEST -m 'not slow' selfdrive/car\"\n    - name: pre-commit\n      timeout-minutes: 3\n      run: |\n        cd $GITHUB_WORKSPACE\n        cp .pre-commit-config.yaml $STRIPPED_DIR\n        cp pyproject.toml $STRIPPED_DIR\n        cp poetry.lock $STRIPPED_DIR\n        cd $STRIPPED_DIR\n        ${{ env.RUN }} \"unset PYTHONWARNINGS && SKIP=check-added-large-files,check-hooks-apply,check-useless-excludes pre-commit run --all && chmod -R 777 /tmp/pre-commit\"\n\n  build:\n    strategy:\n      matrix:\n        arch: ${{ fromJson('[\"x86_64\"]') }} # TODO: Re-add build test for aarch64 once we switched to ubuntu-2404\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Setup docker push\n      if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot'\n      run: |\n        echo \"PUSH_IMAGE=true\" >> \"$GITHUB_ENV\"\n        : # (TODO: Re-add this once we test other archs) echo \"TARGET_ARCHITECTURE=${{ matrix.arch }}\" >> \"$GITHUB_ENV\"\n        $DOCKER_LOGIN\n    - uses: ./.github/workflows/setup-with-retry\n      with:\n        docker_hub_pat: ${{ secrets.DOCKER_HUB_PAT }}\n    - uses: ./.github/workflows/compile-openpilot\n      timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 15 || 30) }} # allow more time when we missed the scons cache\n\n  static_analysis:\n    name: static analysis\n    runs-on: ${{ ((github.repository == 'commaai/openpilot') &&\n                   ((github.event_name != 'pull_request') ||\n                    (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-pre-commit\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Build openpilot\n      run: ${{ env.RUN }} \"scons -j$(nproc)\"\n    - name: pre-commit\n      timeout-minutes: 4\n      run: ${{ env.RUN }} \"unset PYTHONWARNINGS && pre-commit run --all && chmod -R 777 /tmp/pre-commit\"\n\n  unit_tests:\n    name: unit tests\n    runs-on: ${{ ((github.repository == 'commaai/openpilot') &&\n                   ((github.event_name != 'pull_request') ||\n                    (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n      with:\n        docker_hub_pat: ${{ secrets.DOCKER_HUB_PAT }}\n    - name: Build openpilot\n      timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache\n      run: ${{ env.RUN }} \"scons -j$(nproc)\"\n    - name: Run unit tests\n      timeout-minutes: 15\n      run: |\n        ${{ env.RUN }} \"source selfdrive/test/setup_xvfb.sh && \\\n                        $PYTEST --timeout 60 -m 'not slow' && \\\n                        ./selfdrive/ui/tests/create_test_translations.sh && \\\n                        QT_QPA_PLATFORM=offscreen ./selfdrive/ui/tests/test_translations && \\\n                        pytest ./selfdrive/ui/tests/test_translations.py\"\n    - name: \"Upload coverage to Codecov\"\n      uses: codecov/codecov-action@v4\n      with:\n        name: ${{ github.job }}\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  process_replay:\n    name: process replay\n    runs-on: ${{ ((github.repository == 'commaai/openpilot') &&\n                   ((github.event_name != 'pull_request') ||\n                    (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n      with:\n        docker_hub_pat: ${{ secrets.DOCKER_HUB_PAT }}\n    - name: Cache test routes\n      id: dependency-cache\n      uses: actions/cache@v4\n      with:\n        path: .ci_cache/comma_download_cache\n        key: proc-replay-${{ hashFiles('.github/workflows/selfdrive_tests.yaml', 'selfdrive/test/process_replay/ref_commit', 'selfdrive/test/process_replay/test_regen.py') }}\n    - name: Build openpilot\n      run: |\n        ${{ env.RUN }} \"scons -j$(nproc)\"\n    - name: Run replay\n      timeout-minutes: 30\n      run: |\n        ${{ env.RUN }} \"coverage run selfdrive/test/process_replay/test_processes.py -j$(nproc) && \\\n                        chmod -R 777 /tmp/comma_download_cache && \\\n                        coverage combine && \\\n                        coverage xml\"\n    - name: Print diff\n      id: print-diff\n      if: always()\n      run: cat selfdrive/test/process_replay/diff.txt\n    - uses: actions/upload-artifact@v4\n      if: always()\n      continue-on-error: true\n      with:\n        name: process_replay_diff.txt\n        path: selfdrive/test/process_replay/diff.txt\n    - name: Upload reference logs\n      if: ${{ failure() && steps.print-diff.outcome == 'success' && github.repository == 'commaai/openpilot' && env.AZURE_TOKEN != '' }}\n      run: |\n        ${{ env.RUN }} \"unset PYTHONWARNINGS && AZURE_TOKEN='$AZURE_TOKEN' python selfdrive/test/process_replay/test_processes.py -j$(nproc) --upload-only\"\n    # PYTHONWARNINGS triggers a SyntaxError in onnxruntime\n    - name: Run model replay with ONNX\n      timeout-minutes: 4\n      run: |\n        ${{ env.RUN }} \"unset PYTHONWARNINGS && \\\n                        ONNXCPU=1 NO_NAV=1 coverage run selfdrive/test/process_replay/model_replay.py && \\\n                        coverage combine && coverage xml\"\n    - name: Run regen\n      timeout-minutes: 4\n      run: |\n        ${{ env.RUN }} \"ONNXCPU=1 $PYTEST selfdrive/test/process_replay/test_regen.py && \\\n                        chmod -R 777 /tmp/comma_download_cache\"\n    - name: \"Upload coverage to Codecov\"\n      uses: codecov/codecov-action@v4\n      with:\n        name: ${{ github.job }}\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  test_cars:\n    name: cars\n    runs-on: ${{ ((github.repository == 'commaai/openpilot') &&\n                   ((github.event_name != 'pull_request') ||\n                    (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        job: [0, 1]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Cache test routes\n      id: dependency-cache\n      uses: ./.github/workflows/auto-cache\n      with:\n        path: .ci_cache/comma_download_cache\n        key: car_models-${{ hashFiles('selfdrive/car/tests/test_models.py', 'selfdrive/car/tests/routes.py') }}-${{ matrix.job }}\n    - name: Build openpilot\n      run: ${{ env.RUN }} \"scons -j$(nproc)\"\n    - name: Test car models\n      timeout-minutes: 20\n      run: |\n        ${{ env.RUN }} \"$PYTEST selfdrive/car/tests/test_models.py && \\\n                        chmod -R 777 /tmp/comma_download_cache\"\n      env:\n        NUM_JOBS: 2\n        JOB_ID: ${{ matrix.job }}\n    - name: \"Upload coverage to Codecov\"\n      uses: codecov/codecov-action@v4\n      with:\n        name: ${{ github.job }}-${{ matrix.job }}\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  car_docs_diff:\n    name: PR comments\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          ref: ${{ github.event.pull_request.base.ref }}\n      - run: git lfs pull\n      - uses: ./.github/workflows/setup-with-retry\n      - name: Get base car info\n        run: |\n          ${{ env.RUN }} \"scons -j$(nproc) && python selfdrive/debug/dump_car_docs.py --path /tmp/openpilot_cache/base_car_docs\"\n          sudo chown -R $USER:$USER ${{ github.workspace }}\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          path: current\n      - run: cd current && git lfs pull\n      - name: Save car docs diff\n        id: save_diff\n        run: |\n          cd current\n          ${{ env.RUN }} \"scons -j$(nproc)\"\n          output=$(${{ env.RUN }} \"python selfdrive/debug/print_docs_diff.py --path /tmp/openpilot_cache/base_car_docs\")\n          output=\"${output//$'\\n'/'%0A'}\"\n          echo \"::set-output name=diff::$output\"\n      - name: Find comment\n        if: ${{ env.AZURE_TOKEN != '' }}\n        uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e\n        id: fc\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body-includes: This PR makes changes to\n      - name: Update comment\n        if: ${{ steps.save_diff.outputs.diff != '' && env.AZURE_TOKEN != '' }}\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043\n        with:\n          comment-id: ${{ steps.fc.outputs.comment-id }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: \"${{ steps.save_diff.outputs.diff }}\"\n          edit-mode: replace\n      - name: Delete comment\n        if: ${{ steps.fc.outputs.comment-id != '' && steps.save_diff.outputs.diff == '' && env.AZURE_TOKEN != '' }}\n        uses: actions/github-script@v7\n        with:\n          script: |\n            github.rest.issues.deleteComment({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              comment_id: ${{ steps.fc.outputs.comment-id }}\n            })\n\n  create_ui_report:\n    name: Create UI Report\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n      - uses: ./.github/workflows/setup-with-retry\n      - name: Build openpilot\n        run: ${{ env.RUN }} \"scons -j$(nproc)\"\n      - name: Create Test Report\n        run: >\n            ${{ env.RUN }} \"PYTHONWARNINGS=ignore &&\n                            source selfdrive/test/setup_xvfb.sh &&\n                            python selfdrive/ui/tests/test_ui/run.py\"\n      - name: Upload Test Report\n        uses: actions/upload-artifact@v4\n        with:\n          name: report\n          path: selfdrive/ui/tests/test_ui/report\n", "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:44.892957", "created_at": "2023-08-14T06:23:54+02:00", "updated_at": "2023-11-19T08:31:37+01:00", "name": "stale", "path": ".github/workflows/stale.yaml", "contents": "name: stale\non:\n  schedule:\n    - cron: '30 1 * * *'\n  workflow_dispatch:\n\nenv:\n  DAYS_BEFORE_PR_CLOSE: 3\n  DAYS_BEFORE_PR_STALE: 14\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          exempt-milestones: true\n\n          # pull request config\n          stale-pr-message: 'This PR has had no activity for ${{ env.DAYS_BEFORE_PR_STALE }} days. It will be automatically closed in ${{ env.DAYS_BEFORE_PR_CLOSE }} days if there is no activity.'\n          close-pr-message: 'This PR has been automatically closed due to inactivity. Feel free to re-open once activity resumes.'\n          stale-pr-label: stale\n          delete-branch: ${{ github.event.pull_request.head.repo.full_name == 'commaai/openpilot' }} # only delete branches on the main repo\n          exempt-pr-labels: \"ignore stale,needs testing,car port,car\" # if wip or it needs testing from the community, don't mark as stale\n          days-before-pr-stale: ${{ env.DAYS_BEFORE_PR_STALE }}\n          days-before-pr-close: ${{ env.DAYS_BEFORE_PR_CLOSE }}\n\n          # issue config\n          days-before-issue-stale: -1 # ignore issues for now\n", "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:46.121395", "created_at": "2020-01-21T21:26:25+01:00", "updated_at": "2023-12-20T12:37:33+01:00", "name": "Openpilot Tests", "path": ".github/workflows/test.yaml", "contents": null, "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:47.249278", "created_at": "2021-02-18T05:26:41+01:00", "updated_at": "2024-05-23T23:36:03+02:00", "name": "tools", "path": ".github/workflows/tools_tests.yaml", "contents": "name: tools\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\nconcurrency:\n  group: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.run_id || github.head_ref || github.ref }}-${{ github.workflow }}-${{ github.event_name }}\n  cancel-in-progress: true\n\nenv:\n  BASE_IMAGE: openpilot-base\n  DOCKER_LOGIN: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}\n\n  BUILD: selfdrive/test/docker_build.sh base\n\n  RUN: docker run --shm-size 1G -v $GITHUB_WORKSPACE:/tmp/openpilot -w /tmp/openpilot -e FILEREADER_CACHE=1 -e PYTHONPATH=/tmp/openpilot -e NUM_JOBS -e JOB_ID -e GITHUB_ACTION -e GITHUB_REF -e GITHUB_HEAD_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -v $GITHUB_WORKSPACE/.ci_cache/scons_cache:/tmp/scons_cache -v $GITHUB_WORKSPACE/.ci_cache/comma_download_cache:/tmp/comma_download_cache -v $GITHUB_WORKSPACE/.ci_cache/openpilot_cache:/tmp/openpilot_cache $BASE_IMAGE /bin/bash -c\n\n\njobs:\n  simulator_driving:\n    name: simulator driving\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Build openpilot\n      run: |\n        ${{ env.RUN }} \"scons -j$(nproc)\"\n    - name: Run bridge test\n      run: |\n        ${{ env.RUN }} \"source selfdrive/test/setup_xvfb.sh && \\\n                        source selfdrive/test/setup_vsound.sh && \\\n                        CI=1 pytest tools/sim/tests/test_metadrive_bridge.py\"\n\n  test_compatibility:\n    name: test 20.04 + 3.11\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Installing ubuntu dependencies\n      run: INSTALL_EXTRA_PACKAGES=no tools/install_ubuntu_dependencies.sh\n    - name: Installing python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11.4'\n    - name: Installing pip\n      run: pip install pip==24.0\n    - name: Installing poetry\n      run: pip install poetry==1.7.0\n    - name: Installing python dependencies\n      run: poetry install --no-cache --no-root\n    - name: git LFS\n      run: git lfs pull\n    - run: echo \"CACHE_COMMIT_DATE=$(git log -1 --pretty='format:%cd' --date=format:'%Y-%m-%d-%H:%M')\" >> $GITHUB_ENV\n    - name: Getting scons cache\n      uses: 'actions/cache@v4'\n      with:\n        path: /tmp/scons_cache\n        key: scons-${{ runner.arch }}-ubuntu2004-${{ env.CACHE_COMMIT_DATE }}-${{ github.sha }}\n        restore-keys: |\n          scons-${{ runner.arch }}-ubuntu2004-${{ env.CACHE_COMMIT_DATE }}\n          scons-${{ runner.arch }}-ubuntu2004\n    - name: Building openpilot\n      run: poetry run scons -u -j$(nproc)\n    - name: Saving scons cache\n      uses: actions/cache/save@v4\n      if: github.ref == 'refs/heads/master'\n      with:\n        path: /tmp/scons_cache\n        key: scons-${{ runner.arch }}-ubuntu2004-${{ env.CACHE_COMMIT_DATE }}-${{ github.sha }}\n\n  devcontainer:\n    name: devcontainer\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Use local image for testing devcontainer with latest base image\n      run: |\n        echo \"USE_LOCAL_IMAGE=true\" >> \"$GITHUB_ENV\"\n    - name: Setup Dev Container CLI\n      run: npm install -g @devcontainers/cli\n    - name: Build dev container image\n      run: ./scripts/retry.sh devcontainer build --workspace-folder .\n    - name: Run dev container\n      run: |\n        mkdir -p /tmp/devcontainer_scons_cache/\n        cp -r $GITHUB_WORKSPACE/.ci_cache/scons_cache/. /tmp/devcontainer_scons_cache/\n        devcontainer up --workspace-folder .\n    - name: Test environment\n      run: |\n        devcontainer exec --workspace-folder . scons -j$(nproc) cereal/ common/\n        devcontainer exec --workspace-folder . pip install pip-install-test\n        devcontainer exec --workspace-folder . touch /home/batman/.comma/auth.json\n        devcontainer exec --workspace-folder . sudo touch /root/test.txt\n", "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:48.359990", "created_at": "2024-01-30T06:08:49+01:00", "updated_at": "2024-01-30T06:08:49+01:00", "name": "ui", "path": ".github/workflows/ui-compare.yaml", "contents": null, "state": "active", "repository": "commaai/openpilot"}
{"mined_at": "2024-07-15T15:13:50.470416", "created_at": "2024-05-13T11:06:17+02:00", "updated_at": "2024-05-13T11:06:17+02:00", "name": ".github/workflows/add_mac_os_extra_env_to_cache.yaml", "path": ".github/workflows/add_mac_os_extra_env_to_cache.yaml", "contents": "on:\n  workflow_dispatch\n\njobs:\n  add_macos_extra_env_to_cache:\n    name: Add MacOS x86_64 extra env to cache\n    runs-on: macos-13\n    steps:\n      - name: Install pyenv and python 3.7 and pack to zip file\n        run: |\n          brew update\n          brew install pyenv\n\n          pyenv install 3.7.17\n          cd $HOME/.pyenv/versions/ && ln -s 3.7.17 ./3.7\n          cd $HOME/.pyenv/versions/ && zip -r -y ${{ github.workspace }}/python_3.7_macos_x86_64.zip *\n\n      - name: Save to cache\n        uses: actions/cache/save@v4\n        with:\n          enableCrossOsArchive: true # to be used on macOS arm64 as well\n          path: python_3.7_macos_x86_64.zip\n          key: python_3.7_macos_x86_64-${{ github.run_id }} # Can use time based key as well\n\n\n  add_macos_arm64_extra_env_to_cache:\n    name: Add MacOS Arm64 extra env to cache\n    runs-on: macos-14\n    steps:\n      - name: Install pyenv and python versions and pack to zip file\n        run: |\n          brew update\n          brew install pyenv\n\n          pyenv install 3.7.17\n          cd $HOME/.pyenv/versions/ && ln -s 3.7.17 ./3.7\n          pyenv install 3.8.18\n          cd $HOME/.pyenv/versions/ && ln -s 3.8.18 ./3.8\n          pyenv install 3.9.19\n          cd $HOME/.pyenv/versions/ && ln -s 3.9.19 ./3.9\n          pyenv install 3.10.14\n          cd $HOME/.pyenv/versions/ && ln -s 3.10.14 ./3.10\n          pyenv install 3.11.9\n          cd $HOME/.pyenv/versions/ && ln -s 3.11.9 ./3.11\n          pyenv install 3.12.3\n          cd $HOME/.pyenv/versions/ && ln -s 3.12.3 ./3.12\n          cd $HOME/.pyenv/versions/ && zip -r -y ${{ github.workspace }}/python_versions_macos_arm64.zip *\n\n      - name: Save to cache\n        uses: actions/cache/save@v4\n        with:\n          enableCrossOsArchive: true # to be used on macOS x86_64 as well\n          path: python_versions_macos_arm64.zip\n          key: python_versions_macos_arm64-${{ github.run_id }} # Can use time based key as well\n", "state": "active", "repository": "catboost/catboost"}
{"mined_at": "2024-07-15T15:13:51.757259", "created_at": "2024-03-26T12:03:16+01:00", "updated_at": "2024-05-13T11:38:18+02:00", "name": ".github/workflows/build.yaml", "path": ".github/workflows/build.yaml", "contents": "on:\n  workflow_call:\n    inputs:\n      runs-on_value:\n        required: true\n        type: string\n      artifacts_version:\n        required: true\n        type: string\n      catboost_package_name:\n        required: false\n        type: string\n        default: catboost_dev\n      catboost_package_version:\n        required: true\n        type: string\n      artifact_retention_days:\n        required: false\n        type: number\n        default: 3\n\njobs:\n  build:\n    runs-on: ${{ inputs.runs-on_value }}\n    env:\n      CATBOOST_PACKAGE_NAME: ${{ inputs.catboost_package_name }}\n      CATBOOST_PACKAGE_VERSION: ${{ inputs.catboost_package_version }}\n      CMAKE_BUILD_CACHE_DIR: cmake_build_cache\n    steps:\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        name: Maximize build space\n        uses: easimon/maximize-build-space@master\n        with:\n          root-reserve-mb: 36000  # needed for docker image\n          swap-size-mb: 1024\n          remove-dotnet: 'true'\n          remove-android: 'true'\n          remove-haskell: 'true'\n          remove-codeql: 'true'\n\n      - if: inputs.runs-on_value == 'macos-13'\n        name: Get python_3.7_macos_x86_64 from cache\n        uses: actions/cache/restore@v4\n        with:\n          enableCrossOsArchive: true\n          fail-on-cache-miss: true\n          path: python_3.7_macos_x86_64.zip\n          key: python_3.7_macos_x86_64-${{ github.run_id }} # Can use time based key as well\n          restore-keys: |\n            python_3.7_macos_x86_64\n\n      - if: inputs.runs-on_value == 'macos-13'\n        name: Get python_versions_macos_arm64 from cache\n        uses: actions/cache/restore@v4\n        with:\n          enableCrossOsArchive: true\n          fail-on-cache-miss: true\n          path: python_versions_macos_arm64.zip\n          key: python_versions_macos_arm64-${{ github.run_id }} # Can use time based key as well\n          restore-keys: |\n            python_versions_macos_arm64\n\n      - if: inputs.runs-on_value == 'macos-13'\n        name: Env setup on macOS\n        run: |\n          python3 -m pip install -U conan==1.62.0 setuptools wheel jupyterlab==3.0.6 build\n\n          brew update\n          brew install ninja\n\n          npm install --global rimraf\n\n          export CMAKE_BUILD_ENV_ROOT=${{ github.workspace }}/cmake_build_env_root\n\n          mkdir -p $CMAKE_BUILD_ENV_ROOT/darwin-x86_64\n\n          # JDK\n          cd $CMAKE_BUILD_ENV_ROOT/darwin-x86_64\n          mkdir -p Library/Java/JavaVirtualMachines\n          cd Library/Java/JavaVirtualMachines\n          ln -s /Library/Java/JavaVirtualMachines/Temurin-Hotspot-8.jdk ./jdk-8\n\n          # Python\n          mkdir -p $HOME/.pyenv/versions\n          cd $HOME/.pyenv/versions\n          unzip ${{ github.workspace }}/python_3.7_macos_x86_64.zip\n\n          cd $CMAKE_BUILD_ENV_ROOT/darwin-x86_64\n          mkdir -p Python\n          cd Python\n          ln -s $HOME/.pyenv/versions/3.7 ./3.7\n          ln -s $RUNNER_TOOL_CACHE/Python/3.8.18/x64 ./3.8\n          ln -s $RUNNER_TOOL_CACHE/Python/3.9.19/x64 ./3.9\n          ln -s $RUNNER_TOOL_CACHE/Python/3.10.14/x64 ./3.10\n          ln -s $RUNNER_TOOL_CACHE/Python/3.11.9/x64 ./3.11\n          ln -s $RUNNER_TOOL_CACHE/Python/3.12.4/x64 ./3.12\n\n          for PY_VER in 3.7 3.8 3.9 3.10 3.11 3.12\n          do\n              $CMAKE_BUILD_ENV_ROOT/darwin-x86_64/Python/$PY_VER/bin/python -m pip install --upgrade pip setuptools wheel\n          done\n\n          mkdir -p $CMAKE_BUILD_ENV_ROOT/darwin-arm64\n\n          # JDK\n          cd $CMAKE_BUILD_ENV_ROOT/darwin-arm64\n          mkdir -p Library/Java/JavaVirtualMachines\n          cd Library/Java/JavaVirtualMachines\n          wget https://cdn.azul.com/zulu/bin/zulu8.78.0.19-ca-jdk8.0.412-macosx_aarch64.tar.gz\n          tar xzvf zulu8.78.0.19-ca-jdk8.0.412-macosx_aarch64.tar.gz\n          ln -s ./zulu8.78.0.19-ca-jdk8.0.412-macosx_aarch64/zulu-8.jdk ./jdk-8\n\n          # Python\n          cd $CMAKE_BUILD_ENV_ROOT/darwin-arm64\n          mkdir -p Python\n          cd Python\n          unzip ${{ github.workspace }}/python_versions_macos_arm64\n\n      - if: inputs.runs-on_value == 'windows-2022'\n        name: Install CUDA on Windows\n        uses: Jimver/cuda-toolkit@v0.2.15\n        id: cuda-toolkit\n        with:\n          cuda: '11.8.0'\n          method: 'local'\n\n      - if: inputs.runs-on_value == 'windows-2022'\n        name: Env setup on Windows\n        run: |\n          python -m pip install -U conan==1.62.0 setuptools wheel jupyterlab==3.0.6 build\n\n          choco install ninja\n\n          npm install --global rimraf\n\n          $CMAKE_BUILD_ENV_ROOT=\"${{ github.workspace }}\\cmake_build_env_root\"\n\n          New-Item $CMAKE_BUILD_ENV_ROOT\\windows-x86_64 -ItemType Directory\n\n          # JDK\n          Set-Location -Path $CMAKE_BUILD_ENV_ROOT\\windows-x86_64\n          New-Item -Path .\\jdk-8 -ItemType SymbolicLink -Value $Env:JAVA_HOME_8_X64\n\n          # Python\n          Set-Location -Path $CMAKE_BUILD_ENV_ROOT\\windows-x86_64\n          New-Item -Path Python -ItemType Directory\n          Set-Location -Path .\\Python\n          New-Item -Path .\\3.7 -ItemType SymbolicLink -Value \"$Env:RUNNER_TOOL_CACHE\\Python\\3.7.9\\x64\"\n          New-Item -Path .\\3.8 -ItemType SymbolicLink -Value \"$Env:RUNNER_TOOL_CACHE\\Python\\3.8.10\\x64\"\n          New-Item -Path .\\3.9 -ItemType SymbolicLink -Value \"$Env:RUNNER_TOOL_CACHE\\Python\\3.9.13\\x64\"\n          New-Item -Path .\\3.10 -ItemType SymbolicLink -Value \"$Env:RUNNER_TOOL_CACHE\\Python\\3.10.11\\x64\"\n          New-Item -Path .\\3.11 -ItemType SymbolicLink -Value \"$Env:RUNNER_TOOL_CACHE\\Python\\3.11.9\\x64\"\n          New-Item -Path .\\3.12 -ItemType SymbolicLink -Value \"$Env:RUNNER_TOOL_CACHE\\Python\\3.12.3\\x64\"\n\n          foreach($PY_VER in '3.7','3.8','3.9','3.10','3.11','3.12') {\n            & \"$CMAKE_BUILD_ENV_ROOT\\windows-x86_64\\Python\\$PY_VER\\python.exe\" -m pip install --upgrade pip setuptools wheel\n          }\n\n          # CUDA\n          Set-Location -Path $CMAKE_BUILD_ENV_ROOT\\windows-x86_64\n          New-Item -Path CUDA -ItemType Directory\n          New-Item -Path .\\CUDA\\v11.8 -ItemType SymbolicLink -Value \"${{steps.cuda-toolkit.outputs.CUDA_PATH}}\"\n\n          # MSVC toolset\n          $VS_DIR=\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\"\n          & \"C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installer.exe\" modify --installPath \"$VS_DIR\" --channelId VisualStudio.16.Release --add Microsoft.VisualStudio.Component.VC.14.28.16.9.x86.x64 --downloadThenInstall --quiet --norestart --nocache\n\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          path: catboost\n          fetch-depth: 0\n\n      - name: Update CMake build cache on every commit\n        uses: actions/cache@v4\n        with:\n          path: cmake_build_cache\n          key: cmake_build_cache-${{ runner.os }}-${{ github.run_id }} # Can use time based key as well\n          restore-keys: |\n            cmake_build_cache-${{ runner.os }}\n\n      - name: Prepare CMake build cache\n        shell: pwsh\n        run: |\n          if (Test-Path cmake_build_cache) {\n            if (Test-Path cmake_build_cache/git_commit_sha) {\n              # Set timestamps such as that only files changed after the commit in cache are newer than its files\n              Set-Location -LiteralPath ${{ github.workspace }}/catboost\n              git checkout (Get-Content ${{ github.workspace }}/cmake_build_cache/git_commit_sha)\n              Start-Sleep -Seconds 2  # to make sure timestamps are different\n              Set-Location -LiteralPath ${{ github.workspace }}/cmake_build_cache\n              dir -R | foreach { $_.LastWriteTime = [System.DateTime]::Now }\n              Start-Sleep -Seconds 2  # to make sure timestamps are different\n              Set-Location -LiteralPath ${{ github.workspace }}/catboost\n              git checkout ${{ github.sha }}\n            }\n          } else {\n            New-Item -Path cmake_build_cache -ItemType Directory\n          }\n\n      - name: Fixup python package version\n        shell: pwsh\n        run: |\n          Set-Location -Path catboost\n          python ./ci/fixup_python_version.py\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        name: Build all in container\n        run: |\n          mkdir -p ${{ github.workspace }}/catboost_build_home\n          rm -fr ${{ github.workspace }}/catboost_build_home/*\n          docker run --rm --name=catboost_build --user $(id -u):$(id -g) -v /etc/passwd:/etc/passwd -v ${{ github.workspace }}/catboost_build_home:$HOME -v ${{ github.workspace }}/catboost:/src/catboost -v ${{ github.workspace }}/$CMAKE_BUILD_CACHE_DIR:/cmake_build_cache -e CATBOOST_PACKAGE_NAME -e CATBOOST_PACKAGE_VERSION ghcr.io/catboost/manylinux2014_x86_64_and_cross_arm64_for_catboost_ci:latest bash -c \". /work/setup_env/build_x86_64.sh && export CMAKE_BUILD_CACHE_DIR=/cmake_build_cache/ && ln -sf /opt/cmake_build_env_root $HOME/ && rsync -rptl /opt/.conan $HOME/  && cd /src/catboost && ./ci/build_all.py\"\n\n      - if: inputs.runs-on_value != 'ubuntu-latest'\n        name: Build all without container\n        shell: pwsh\n        run: |\n          $Env:CMAKE_BUILD_ENV_ROOT = Join-Path ${{ github.workspace }} cmake_build_env_root\n          $Env:CMAKE_BUILD_CACHE_DIR = Join-Path ${{ github.workspace }} cmake_build_cache\n          Set-Location -Path catboost\n          python ./ci/build_all.py --build-test-tools\n\n      - name: Save commit id to CMake build cache\n        shell: pwsh\n        run: |\n          Set-Content -Path cmake_build_cache/git_commit_sha -Value ${{ github.sha }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-cli-linux-x86_64-${{ inputs.artifacts_version }}\n          path: catboost/build_native_root/have_cuda/linux-x86_64/catboost/app/catboost\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-cli-linux-aarch64-${{ inputs.artifacts_version }}\n          path: catboost/build_native_root/have_cuda/linux-aarch64/catboost/app/catboost\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-python-package-dist-linux-${{ inputs.artifacts_version }}\n          path: catboost/catboost/python-package/dist/*.whl\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-python-package-dist-src-${{ inputs.artifacts_version }}\n          path: catboost/catboost/python-package/dist/*.tar.gz\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-R-package-linux-x86_64-${{ inputs.artifacts_version }}\n          path: catboost/catboost/R-package/catboost-R-linux-x86_64.tgz\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-R-package-linux-aarch64-${{ inputs.artifacts_version }}\n          path: catboost/catboost/R-package/catboost-R-linux-aarch64.tgz\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-model-interface-linux-x86_64-${{ inputs.artifacts_version }}\n          path: catboost/build_native_root/have_cuda/linux-x86_64/catboost/libs/model_interface/libcatboostmodel.*\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-model-interface-linux-aarch64-${{ inputs.artifacts_version }}\n          path: catboost/build_native_root/have_cuda/linux-aarch64/catboost/libs/model_interface/libcatboostmodel.*\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost4j-spark_core_resources_classes-${{ inputs.artifacts_version }}\n          path: catboost/catboost/spark/catboost4j-spark/core/src/main/resources/ru\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost4j-spark_core_resources-linux-${{ inputs.artifacts_version }}\n          path: catboost/catboost/spark/catboost4j-spark/core/src/main/resources/linux*\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost4j-prediction_resources-linux-${{ inputs.artifacts_version }}\n          path: catboost/catboost/jvm-packages/catboost4j-prediction/src/main/resources/*\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-test-tools-linux-x86_64-${{ inputs.artifacts_version }}\n          path: |\n            catboost/build_native_root/no_cuda/linux-x86_64/catboost/tools/limited_precision_dsv_diff/limited_precision_dsv_diff\n            catboost/build_native_root/no_cuda/linux-x86_64/catboost/tools/limited_precision_json_diff/limited_precision_json_diff\n            catboost/build_native_root/no_cuda/linux-x86_64/catboost/tools/model_comparator/model_comparator\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'ubuntu-latest'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-test-tools-linux-aarch64-${{ inputs.artifacts_version }}\n          path: |\n            catboost/build_native_root/no_cuda/linux-aarch64/catboost/tools/limited_precision_dsv_diff/limited_precision_dsv_diff\n            catboost/build_native_root/no_cuda/linux-aarch64/catboost/tools/limited_precision_json_diff/limited_precision_json_diff\n            catboost/build_native_root/no_cuda/linux-aarch64/catboost/tools/model_comparator/model_comparator\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'macos-13'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-cli-darwin-universal2-${{ inputs.artifacts_version }}\n          path: catboost/build_native_root/no_cuda/darwin-universal2/catboost/app/catboost\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'macos-13'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-python-package-dist-darwin-${{ inputs.artifacts_version }}\n          path: catboost/catboost/python-package/dist/*.whl\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'macos-13'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-R-package-darwin-universal2-${{ inputs.artifacts_version }}\n          path: catboost/catboost/R-package/catboost-R-darwin-universal2.tgz\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'macos-13'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-model-interface-darwin-universal2-${{ inputs.artifacts_version }}\n          path: catboost/build_native_root/no_cuda/darwin-universal2/catboost/libs/model_interface/libcatboostmodel.*\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'macos-13'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost4j-spark_core_resources-darwin-${{ inputs.artifacts_version }}\n          path: catboost/catboost/spark/catboost4j-spark/core/src/main/resources/darwin*\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'macos-13'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost4j-prediction_resources-darwin-${{ inputs.artifacts_version }}\n          path: catboost/catboost/jvm-packages/catboost4j-prediction/src/main/resources/*\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'macos-13'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-test-tools-darwin-universal2-${{ inputs.artifacts_version }}\n          path: |\n            catboost/build_native_root/no_cuda/darwin-universal2/catboost/tools/limited_precision_dsv_diff/limited_precision_dsv_diff\n            catboost/build_native_root/no_cuda/darwin-universal2/catboost/tools/limited_precision_json_diff/limited_precision_json_diff\n            catboost/build_native_root/no_cuda/darwin-universal2/catboost/tools/model_comparator/model_comparator\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'windows-2022'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-cli-windows-x86_64-${{ inputs.artifacts_version }}\n          path: catboost/build_native_root/have_cuda/windows-x86_64/catboost/app/catboost.exe\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'windows-2022'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-python-package-dist-windows-${{ inputs.artifacts_version }}\n          path: catboost/catboost/python-package/dist/*.whl\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'windows-2022'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-R-package-windows-x86_64-${{ inputs.artifacts_version }}\n          path: catboost/catboost/R-package/catboost-R-windows-x86_64.tgz\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'windows-2022'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-model-interface-windows-x86_64-${{ inputs.artifacts_version }}\n          path: |\n            catboost/build_native_root/have_cuda/windows-x86_64/catboost/libs/model_interface/catboostmodel.dll\n            catboost/build_native_root/have_cuda/windows-x86_64/catboost/libs/model_interface/catboostmodel.lib\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'windows-2022'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost4j-spark_core_resources-windows-${{ inputs.artifacts_version }}\n          path: catboost/catboost/spark/catboost4j-spark/core/src/main/resources/win*\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'windows-2022'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost4j-prediction_resources-windows-${{ inputs.artifacts_version }}\n          path: catboost/catboost/jvm-packages/catboost4j-prediction/src/main/resources/*\n          retention-days: ${{ inputs.artifact_retention_days }}\n\n      - if: inputs.runs-on_value == 'windows-2022'\n        uses: actions/upload-artifact@v4\n        with:\n          name: catboost-test-tools-windows-x86_64-${{ inputs.artifacts_version }}\n          path: |\n            catboost/build_native_root/no_cuda/windows-x86_64/catboost/tools/limited_precision_dsv_diff/limited_precision_dsv_diff.exe\n            catboost/build_native_root/no_cuda/windows-x86_64/catboost/tools/limited_precision_json_diff/limited_precision_json_diff.exe\n            catboost/build_native_root/no_cuda/windows-x86_64/catboost/tools/model_comparator/model_comparator.exe\n          retention-days: ${{ inputs.artifact_retention_days }}\n", "state": "active", "repository": "catboost/catboost"}
{"mined_at": "2024-07-15T15:13:52.847224", "created_at": "2024-03-26T12:03:16+01:00", "updated_at": "2024-03-27T08:15:00+01:00", "name": ".github/workflows/check.yaml", "path": ".github/workflows/check.yaml", "contents": "on:\n  push:\n    branches:\n      - master\n\njobs:\n  check:\n    name: Check per OS\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-13, windows-2022]\n      fail-fast: false\n    with:\n      runs-on_value: ${{ matrix.os }}\n      artifacts_version: ${{ github.sha }}\n      catboost_package_version: 1.2.5\n    uses: ./.github/workflows/check_per_os.yaml\n", "state": "active", "repository": "catboost/catboost"}
{"mined_at": "2024-07-15T15:13:53.904943", "created_at": "2024-03-27T07:37:35+01:00", "updated_at": "2024-06-14T10:54:34+02:00", "name": ".github/workflows/check_per_os.yaml", "path": ".github/workflows/check_per_os.yaml", "contents": "on:\n  workflow_call:\n    inputs:\n      runs-on_value:\n        required: true\n        type: string\n      artifacts_version:\n        required: true\n        type: string\n      catboost_package_version:\n        required: true\n        type: string\n\njobs:\n  build:\n    name: Build\n    uses: ./.github/workflows/build.yaml\n    with:\n      runs-on_value: ${{ inputs.runs-on_value }}\n      artifacts_version: ${{ inputs.artifacts_version }}\n      catboost_package_version: ${{ inputs.catboost_package_version }}\n\n  #test:\n  #  name: Test\n  #  runs-on: ${{ inputs.runs-on_value }}\n  #  uses: ./.github/workflows/test.yaml\n  #  needs:\n  #    - build\n  #  with:\n  #    runs-on_value: ${{ inputs.runs-on_value }}\n  #    artifacts_version: ${{ inputs.artifacts_version }}\n  #    catboost_package_version: ${{ inputs.catboost_package_version }}\n", "state": "active", "repository": "catboost/catboost"}
{"mined_at": "2024-07-15T15:13:54.928865", "created_at": "2024-03-26T12:03:16+01:00", "updated_at": "2024-03-26T12:03:16+01:00", "name": ".github/workflows/test.yaml", "path": ".github/workflows/test.yaml", "contents": "on:\n  workflow_call:\n    inputs:\n      runs-on_value:\n        required: true\n        type: string\n      artifacts_version:\n        required: true\n        type: string\n      catboost_package_version:\n        required: true\n        type: string\n\njobs:\n  test:\n    runs-on: ${{ inputs.runs-on_value }}\n    defaults:\n      run:\n        shell: bash\n    steps:\n    - name: Run CMake-based tests\n      run: cd build_native_root/have_cuda/linux-x86_64/ && ninja test\n\n    - name: Run pytest\n      run: cd catboost/pytest && python3.11 -m pytest\n\n    - name: Run python package tests\n      run: cd catboost/python-package/ut/medium && python3.11 -m pytest\n", "state": "active", "repository": "catboost/catboost"}
{"mined_at": "2024-07-15T15:13:57.182798", "created_at": "2020-02-26T02:32:25+01:00", "updated_at": "2022-06-23T22:52:24+02:00", "name": "Self-hosted runner (push)", "path": ".github/workflows/self-push.yml", "contents": "name: Self-hosted runner (push)\n\non:\n  workflow_run:\n    workflows: [\"Self-hosted runner (push-caller)\"]\n    branches: [\"main\"]\n    types: [completed]\n  push:\n    branches:\n      - ci_*\n      - ci-*\n    paths:\n      - \"src/**\"\n      - \"tests/**\"\n      - \".github/**\"\n      - \"templates/**\"\n      - \"utils/**\"\n  repository_dispatch:\n\nenv:\n  HF_HOME: /mnt/cache\n  TRANSFORMERS_IS_CI: yes\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n  PYTEST_TIMEOUT: 60\n  TF_FORCE_GPU_ALLOW_GROWTH: true\n  RUN_PT_TF_CROSS_TESTS: 1\n  CUDA_VISIBLE_DEVICES: 0,1\n\njobs:\n  setup:\n    name: Setup\n    strategy:\n      matrix:\n        machine_type: [single-gpu, multi-gpu]\n    runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, push-ci]\n    container:\n      image: huggingface/transformers-all-latest-gpu-push-ci\n      options: --gpus 0 --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n      test_map: ${{ steps.set-matrix.outputs.test_map }}\n    steps:\n      # Necessary to get the correct branch name and commit SHA for `workflow_run` event\n      # We also take into account the `push` event (we might want to test some changes in a branch)\n      - name: Prepare custom environment variables\n        shell: bash\n        # `CI_BRANCH_PUSH`: The branch name from the push event\n        # `CI_BRANCH_WORKFLOW_RUN`: The name of the branch on which this workflow is triggered by `workflow_run` event\n        # `CI_BRANCH`: The non-empty branch name from the above two (one and only one of them is empty)\n        # `CI_SHA_PUSH`: The commit SHA from the push event\n        # `CI_SHA_WORKFLOW_RUN`: The commit SHA that triggers this workflow by `workflow_run` event\n        # `CI_SHA`: The non-empty commit SHA from the above two (one and only one of them is empty)\n        run: |\n          CI_BRANCH_PUSH=${{ github.event.ref }}\n          CI_BRANCH_PUSH=${CI_BRANCH_PUSH/'refs/heads/'/''}\n          CI_BRANCH_WORKFLOW_RUN=${{ github.event.workflow_run.head_branch }}\n          CI_SHA_PUSH=${{ github.event.head_commit.id }}\n          CI_SHA_WORKFLOW_RUN=${{ github.event.workflow_run.head_sha }}\n          echo $CI_BRANCH_PUSH\n          echo $CI_BRANCH_WORKFLOW_RUN\n          echo $CI_SHA_PUSH\n          echo $CI_SHA_WORKFLOW_RUN\n          [[ ! -z \"$CI_BRANCH_PUSH\" ]] && echo \"CI_BRANCH=$CI_BRANCH_PUSH\" >> $GITHUB_ENV || echo \"CI_BRANCH=$CI_BRANCH_WORKFLOW_RUN\" >> $GITHUB_ENV\n          [[ ! -z \"$CI_SHA_PUSH\" ]] && echo \"CI_SHA=$CI_SHA_PUSH\" >> $GITHUB_ENV || echo \"CI_SHA=$CI_SHA_WORKFLOW_RUN\" >> $GITHUB_ENV\n\n      - name: print environment variables\n        run: |\n          echo \"env.CI_BRANCH = ${{ env.CI_BRANCH }}\"\n          echo \"env.CI_SHA = ${{ env.CI_SHA }}\"\n\n      - name: Update clone using environment variables\n        working-directory: /transformers\n        run: |\n          echo \"original branch = $(git branch --show-current)\"\n          git fetch && git checkout ${{ env.CI_BRANCH }}\n          echo \"updated branch = $(git branch --show-current)\"\n          git checkout ${{ env.CI_SHA }}\n          echo \"log = $(git log -n 1)\"\n\n      - name: Cleanup\n        working-directory: /transformers\n        run: |\n          rm -rf tests/__pycache__\n          rm -rf tests/models/__pycache__\n          rm -rf reports\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Fetch the tests to run\n        working-directory: /transformers\n        # TODO: add `git-python` in the docker images\n        run: |\n          pip install --upgrade git-python\n          python3 utils/tests_fetcher.py --diff_with_last_commit | tee test_preparation.txt\n\n      - name: Report fetched tests\n        uses: actions/upload-artifact@v4\n        with:\n          name: test_fetched\n          path: /transformers/test_preparation.txt\n\n      - id: set-matrix\n        name: Organize tests into models\n        working-directory: /transformers\n        # The `keys` is used as GitHub actions matrix for jobs, i.e. `models/bert`, `tokenization`, `pipeline`, etc.\n        # The `test_map` is used to get the actual identified test files under each key.\n        # If no test to run (so no `test_map.json` file), create a dummy map (empty matrix will fail)\n        run: |\n          if [ -f test_map.json ]; then\n              keys=$(python3 -c 'import json; fp = open(\"test_map.json\"); test_map = json.load(fp); fp.close(); d = list(test_map.keys()); print(d)')\n              test_map=$(python3 -c 'import json; fp = open(\"test_map.json\"); test_map = json.load(fp); fp.close(); print(test_map)')\n          else\n              keys=$(python3 -c 'keys = [\"dummy\"]; print(keys)')\n              test_map=$(python3 -c 'test_map = {\"dummy\": []}; print(test_map)')\n          fi\n          echo $keys\n          echo $test_map\n          echo \"matrix=$keys\" >> $GITHUB_OUTPUT\n          echo \"test_map=$test_map\" >> $GITHUB_OUTPUT\n\n  run_tests_single_gpu:\n    name: Model tests\n    needs: setup\n    # `dummy` means there is no test to run\n    if: contains(fromJson(needs.setup.outputs.matrix), 'dummy') != true\n    strategy:\n      fail-fast: false\n      matrix:\n        folders: ${{ fromJson(needs.setup.outputs.matrix) }}\n        machine_type: [single-gpu]\n    runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, push-ci]\n    container:\n      image: huggingface/transformers-all-latest-gpu-push-ci\n      options: --gpus 0 --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      # Necessary to get the correct branch name and commit SHA for `workflow_run` event\n      # We also take into account the `push` event (we might want to test some changes in a branch)\n      - name: Prepare custom environment variables\n        shell: bash\n        # For the meaning of these environment variables, see the job `Setup`\n        run: |\n          CI_BRANCH_PUSH=${{ github.event.ref }}\n          CI_BRANCH_PUSH=${CI_BRANCH_PUSH/'refs/heads/'/''}\n          CI_BRANCH_WORKFLOW_RUN=${{ github.event.workflow_run.head_branch }}\n          CI_SHA_PUSH=${{ github.event.head_commit.id }}\n          CI_SHA_WORKFLOW_RUN=${{ github.event.workflow_run.head_sha }}\n          echo $CI_BRANCH_PUSH\n          echo $CI_BRANCH_WORKFLOW_RUN\n          echo $CI_SHA_PUSH\n          echo $CI_SHA_WORKFLOW_RUN\n          [[ ! -z \"$CI_BRANCH_PUSH\" ]] && echo \"CI_BRANCH=$CI_BRANCH_PUSH\" >> $GITHUB_ENV || echo \"CI_BRANCH=$CI_BRANCH_WORKFLOW_RUN\" >> $GITHUB_ENV\n          [[ ! -z \"$CI_SHA_PUSH\" ]] && echo \"CI_SHA=$CI_SHA_PUSH\" >> $GITHUB_ENV || echo \"CI_SHA=$CI_SHA_WORKFLOW_RUN\" >> $GITHUB_ENV\n\n      - name: print environment variables\n        run: |\n          echo \"env.CI_BRANCH = ${{ env.CI_BRANCH }}\"\n          echo \"env.CI_SHA = ${{ env.CI_SHA }}\"\n\n      - name: Update clone using environment variables\n        working-directory: /transformers\n        run: |\n          echo \"original branch = $(git branch --show-current)\"\n          git fetch && git checkout ${{ env.CI_BRANCH }}\n          echo \"updated branch = $(git branch --show-current)\"\n          git checkout ${{ env.CI_SHA }}\n          echo \"log = $(git log -n 1)\"\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: Echo folder ${{ matrix.folders }}\n        shell: bash\n        # For folders like `models/bert`, set an env. var. (`matrix_folders`) to `models_bert`, which will be used to\n        # set the artifact folder names (because the character `/` is not allowed).\n        run: |\n          echo \"${{ matrix.folders }}\"\n          echo \"${{ fromJson(needs.setup.outputs.test_map)[matrix.folders] }}\"\n          matrix_folders=${{ matrix.folders }}\n          matrix_folders=${matrix_folders/'models/'/'models_'}\n          echo \"$matrix_folders\"\n          echo \"matrix_folders=$matrix_folders\" >> $GITHUB_ENV\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run all non-slow selected tests on GPU\n        working-directory: /transformers\n        run: |\n          python3 -m pytest -n 2 --dist=loadfile -v --make-reports=${{ matrix.machine_type }}_tests_gpu_${{ matrix.folders }} ${{ fromJson(needs.setup.outputs.test_map)[matrix.folders] }}\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ matrix.machine_type }}_tests_gpu_${{ matrix.folders }}/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_all_tests_gpu_${{ env.matrix_folders }}_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_all_tests_gpu_${{ env.matrix_folders }}_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_tests_gpu_${{ matrix.folders }}\n\n  run_tests_multi_gpu:\n    name: Model tests\n    needs: setup\n    # `dummy` means there is no test to run\n    if: contains(fromJson(needs.setup.outputs.matrix), 'dummy') != true\n    strategy:\n      fail-fast: false\n      matrix:\n        folders: ${{ fromJson(needs.setup.outputs.matrix) }}\n        machine_type: [multi-gpu]\n    runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, push-ci]\n    container:\n      image: huggingface/transformers-all-latest-gpu-push-ci\n      options: --gpus all --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      # Necessary to get the correct branch name and commit SHA for `workflow_run` event\n      # We also take into account the `push` event (we might want to test some changes in a branch)\n      - name: Prepare custom environment variables\n        shell: bash\n        # For the meaning of these environment variables, see the job `Setup`\n        run: |\n          CI_BRANCH_PUSH=${{ github.event.ref }}\n          CI_BRANCH_PUSH=${CI_BRANCH_PUSH/'refs/heads/'/''}\n          CI_BRANCH_WORKFLOW_RUN=${{ github.event.workflow_run.head_branch }}\n          CI_SHA_PUSH=${{ github.event.head_commit.id }}\n          CI_SHA_WORKFLOW_RUN=${{ github.event.workflow_run.head_sha }}\n          echo $CI_BRANCH_PUSH\n          echo $CI_BRANCH_WORKFLOW_RUN\n          echo $CI_SHA_PUSH\n          echo $CI_SHA_WORKFLOW_RUN\n          [[ ! -z \"$CI_BRANCH_PUSH\" ]] && echo \"CI_BRANCH=$CI_BRANCH_PUSH\" >> $GITHUB_ENV || echo \"CI_BRANCH=$CI_BRANCH_WORKFLOW_RUN\" >> $GITHUB_ENV\n          [[ ! -z \"$CI_SHA_PUSH\" ]] && echo \"CI_SHA=$CI_SHA_PUSH\" >> $GITHUB_ENV || echo \"CI_SHA=$CI_SHA_WORKFLOW_RUN\" >> $GITHUB_ENV\n\n      - name: print environment variables\n        run: |\n          echo \"env.CI_BRANCH = ${{ env.CI_BRANCH }}\"\n          echo \"env.CI_SHA = ${{ env.CI_SHA }}\"\n\n      - name: Update clone using environment variables\n        working-directory: /transformers\n        run: |\n          echo \"original branch = $(git branch --show-current)\"\n          git fetch && git checkout ${{ env.CI_BRANCH }}\n          echo \"updated branch = $(git branch --show-current)\"\n          git checkout ${{ env.CI_SHA }}\n          echo \"log = $(git log -n 1)\"\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: Echo folder ${{ matrix.folders }}\n        shell: bash\n        # For folders like `models/bert`, set an env. var. (`matrix_folders`) to `models_bert`, which will be used to\n        # set the artifact folder names (because the character `/` is not allowed).\n        run: |\n          echo \"${{ matrix.folders }}\"\n          echo \"${{ fromJson(needs.setup.outputs.test_map)[matrix.folders] }}\"\n          matrix_folders=${{ matrix.folders }}\n          matrix_folders=${matrix_folders/'models/'/'models_'}\n          echo \"$matrix_folders\"\n          echo \"matrix_folders=$matrix_folders\" >> $GITHUB_ENV\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run all non-slow selected tests on GPU\n        env:\n          MKL_SERVICE_FORCE_INTEL: 1\n        working-directory: /transformers\n        run: |\n          python3 -m pytest -n 2 --dist=loadfile -v --make-reports=${{ matrix.machine_type }}_tests_gpu_${{ matrix.folders }} ${{ fromJson(needs.setup.outputs.test_map)[matrix.folders] }}\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ matrix.machine_type }}_tests_gpu_${{ matrix.folders }}/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_all_tests_gpu_${{ env.matrix_folders }}_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_all_tests_gpu_${{ env.matrix_folders }}_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_tests_gpu_${{ matrix.folders }}\n\n  run_tests_torch_cuda_extensions_single_gpu:\n    name: Torch CUDA extension tests\n    needs: setup\n    if: contains(fromJson(needs.setup.outputs.matrix), 'deepspeed') || contains(fromJson(needs.setup.outputs.matrix), 'extended')\n    strategy:\n      fail-fast: false\n      matrix:\n        machine_type: [single-gpu]\n    runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, push-ci]\n    container:\n      image: huggingface/transformers-pytorch-deepspeed-latest-gpu-push-ci\n      options: --gpus 0 --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      # Necessary to get the correct branch name and commit SHA for `workflow_run` event\n      # We also take into account the `push` event (we might want to test some changes in a branch)\n      - name: Prepare custom environment variables\n        shell: bash\n        # For the meaning of these environment variables, see the job `Setup`\n        run: |\n          CI_BRANCH_PUSH=${{ github.event.ref }}\n          CI_BRANCH_PUSH=${CI_BRANCH_PUSH/'refs/heads/'/''}\n          CI_BRANCH_WORKFLOW_RUN=${{ github.event.workflow_run.head_branch }}\n          CI_SHA_PUSH=${{ github.event.head_commit.id }}\n          CI_SHA_WORKFLOW_RUN=${{ github.event.workflow_run.head_sha }}\n          echo $CI_BRANCH_PUSH\n          echo $CI_BRANCH_WORKFLOW_RUN\n          echo $CI_SHA_PUSH\n          echo $CI_SHA_WORKFLOW_RUN\n          [[ ! -z \"$CI_BRANCH_PUSH\" ]] && echo \"CI_BRANCH=$CI_BRANCH_PUSH\" >> $GITHUB_ENV || echo \"CI_BRANCH=$CI_BRANCH_WORKFLOW_RUN\" >> $GITHUB_ENV\n          [[ ! -z \"$CI_SHA_PUSH\" ]] && echo \"CI_SHA=$CI_SHA_PUSH\" >> $GITHUB_ENV || echo \"CI_SHA=$CI_SHA_WORKFLOW_RUN\" >> $GITHUB_ENV\n\n      - name: print environment variables\n        run: |\n          echo \"env.CI_BRANCH = ${{ env.CI_BRANCH }}\"\n          echo \"env.CI_SHA = ${{ env.CI_SHA }}\"\n\n      - name: Update clone using environment variables\n        working-directory: /workspace/transformers\n        run: |\n          echo \"original branch = $(git branch --show-current)\"\n          git fetch && git checkout ${{ env.CI_BRANCH }}\n          echo \"updated branch = $(git branch --show-current)\"\n          git checkout ${{ env.CI_SHA }}\n          echo \"log = $(git log -n 1)\"\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /workspace/transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: Remove cached torch extensions\n        run: rm -rf /github/home/.cache/torch_extensions/\n\n      # To avoid unknown test failures\n      - name: Pre build DeepSpeed *again*\n        working-directory: /workspace\n        run: |\n          python3 -m pip uninstall -y deepspeed\n          DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 python3 -m pip install deepspeed --global-option=\"build_ext\" --global-option=\"-j8\" --no-cache -v --disable-pip-version-check\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n      - name: Environment\n        working-directory: /workspace/transformers\n        run: |\n          python utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /workspace/transformers\n        run: pip freeze\n\n      - name: Run all non-slow selected tests on GPU\n        working-directory: /workspace/transformers\n        # TODO: Here we pass all tests in the 2 folders for simplicity. It's better to pass only the identified tests.\n        run: |\n          python -m pytest -n 1 --dist=loadfile -v --make-reports=${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports tests/deepspeed tests/extended\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /workspace/transformers/reports/${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports\n          path: /workspace/transformers/reports/${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports\n\n  run_tests_torch_cuda_extensions_multi_gpu:\n    name: Torch CUDA extension tests\n    needs: setup\n    if: contains(fromJson(needs.setup.outputs.matrix), 'deepspeed') || contains(fromJson(needs.setup.outputs.matrix), 'extended')\n    strategy:\n      fail-fast: false\n      matrix:\n        machine_type: [multi-gpu]\n    runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, push-ci]\n    container:\n      image: huggingface/transformers-pytorch-deepspeed-latest-gpu-push-ci\n      options: --gpus all --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      # Necessary to get the correct branch name and commit SHA for `workflow_run` event\n      # We also take into account the `push` event (we might want to test some changes in a branch)\n      - name: Prepare custom environment variables\n        shell: bash\n        # For the meaning of these environment variables, see the job `Setup`\n        run: |\n          CI_BRANCH_PUSH=${{ github.event.ref }}\n          CI_BRANCH_PUSH=${CI_BRANCH_PUSH/'refs/heads/'/''}\n          CI_BRANCH_WORKFLOW_RUN=${{ github.event.workflow_run.head_branch }}\n          CI_SHA_PUSH=${{ github.event.head_commit.id }}\n          CI_SHA_WORKFLOW_RUN=${{ github.event.workflow_run.head_sha }}\n          echo $CI_BRANCH_PUSH\n          echo $CI_BRANCH_WORKFLOW_RUN\n          echo $CI_SHA_PUSH\n          echo $CI_SHA_WORKFLOW_RUN\n          [[ ! -z \"$CI_BRANCH_PUSH\" ]] && echo \"CI_BRANCH=$CI_BRANCH_PUSH\" >> $GITHUB_ENV || echo \"CI_BRANCH=$CI_BRANCH_WORKFLOW_RUN\" >> $GITHUB_ENV\n          [[ ! -z \"$CI_SHA_PUSH\" ]] && echo \"CI_SHA=$CI_SHA_PUSH\" >> $GITHUB_ENV || echo \"CI_SHA=$CI_SHA_WORKFLOW_RUN\" >> $GITHUB_ENV\n\n      - name: print environment variables\n        run: |\n          echo \"env.CI_BRANCH = ${{ env.CI_BRANCH }}\"\n          echo \"env.CI_SHA = ${{ env.CI_SHA }}\"\n\n      - name: Update clone using environment variables\n        working-directory: /workspace/transformers\n        run: |\n          echo \"original branch = $(git branch --show-current)\"\n          git fetch && git checkout ${{ env.CI_BRANCH }}\n          echo \"updated branch = $(git branch --show-current)\"\n          git checkout ${{ env.CI_SHA }}\n          echo \"log = $(git log -n 1)\"\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /workspace/transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: Remove cached torch extensions\n        run: rm -rf /github/home/.cache/torch_extensions/\n\n      # To avoid unknown test failures\n      - name: Pre build DeepSpeed *again*\n        working-directory: /workspace\n        run: |\n          python3 -m pip uninstall -y deepspeed\n          DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 python3 -m pip install deepspeed --global-option=\"build_ext\" --global-option=\"-j8\" --no-cache -v --disable-pip-version-check\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n      - name: Environment\n        working-directory: /workspace/transformers\n        run: |\n          python utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /workspace/transformers\n        run: pip freeze\n\n      - name: Run all non-slow selected tests on GPU\n        working-directory: /workspace/transformers\n        # TODO: Here we pass all tests in the 2 folders for simplicity. It's better to pass only the identified tests.\n        run: |\n          python -m pytest -n 1 --dist=loadfile -v --make-reports=${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports tests/deepspeed tests/extended\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /workspace/transformers/reports/${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports\n          path: /workspace/transformers/reports/${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports\n\n  send_results:\n    name: Send results to webhook\n    runs-on: ubuntu-22.04\n    if: always()\n    needs: [\n        setup,\n        run_tests_single_gpu,\n        run_tests_multi_gpu,\n        run_tests_torch_cuda_extensions_single_gpu,\n        run_tests_torch_cuda_extensions_multi_gpu\n    ]\n    steps:\n      - name: Preliminary job status\n        shell: bash\n        # For the meaning of these environment variables, see the job `Setup`\n        run: |\n          echo \"Setup status: ${{ needs.setup.result }}\"\n\n      # Necessary to get the correct branch name and commit SHA for `workflow_run` event\n      # We also take into account the `push` event (we might want to test some changes in a branch)\n      - name: Prepare custom environment variables\n        shell: bash\n        # For the meaning of these environment variables, see the job `Setup`\n        run: |\n          CI_BRANCH_PUSH=${{ github.event.ref }}\n          CI_BRANCH_PUSH=${CI_BRANCH_PUSH/'refs/heads/'/''}\n          CI_BRANCH_WORKFLOW_RUN=${{ github.event.workflow_run.head_branch }}\n          CI_SHA_PUSH=${{ github.event.head_commit.id }}\n          CI_SHA_WORKFLOW_RUN=${{ github.event.workflow_run.head_sha }}\n          echo $CI_BRANCH_PUSH\n          echo $CI_BRANCH_WORKFLOW_RUN\n          echo $CI_SHA_PUSH\n          echo $CI_SHA_WORKFLOW_RUN\n          [[ ! -z \"$CI_BRANCH_PUSH\" ]] && echo \"CI_BRANCH=$CI_BRANCH_PUSH\" >> $GITHUB_ENV || echo \"CI_BRANCH=$CI_BRANCH_WORKFLOW_RUN\" >> $GITHUB_ENV\n          [[ ! -z \"$CI_SHA_PUSH\" ]] && echo \"CI_SHA=$CI_SHA_PUSH\" >> $GITHUB_ENV || echo \"CI_SHA=$CI_SHA_WORKFLOW_RUN\" >> $GITHUB_ENV\n\n      - name: print environment variables\n        run: |\n          echo \"env.CI_BRANCH = ${{ env.CI_BRANCH }}\"\n          echo \"env.CI_SHA = ${{ env.CI_SHA }}\"\n\n      - uses: actions/checkout@v4\n        # To avoid failure when multiple commits are merged into `main` in a short period of time.\n        # Checking out to an old commit beyond the fetch depth will get an error `fatal: reference is not a tree: ...\n        # (Only required for `workflow_run` event, where we get the latest HEAD on `main` instead of the event commit)\n        with:\n          fetch-depth: 20\n\n      - name: Update clone using environment variables\n        run: |\n          echo \"original branch = $(git branch --show-current)\"\n          git fetch && git checkout ${{ env.CI_BRANCH }}\n          echo \"updated branch = $(git branch --show-current)\"\n          git checkout ${{ env.CI_SHA }}\n          echo \"log = $(git log -n 1)\"\n\n      - uses: actions/download-artifact@v4\n      - name: Send message to Slack\n        env:\n          CI_SLACK_BOT_TOKEN: ${{ secrets.CI_SLACK_BOT_TOKEN }}\n          CI_SLACK_CHANNEL_ID: ${{ secrets.CI_SLACK_CHANNEL_ID }}\n          CI_SLACK_CHANNEL_ID_DAILY: ${{ secrets.CI_SLACK_CHANNEL_ID_DAILY }}\n          CI_SLACK_CHANNEL_DUMMY_TESTS: ${{ secrets.CI_SLACK_CHANNEL_DUMMY_TESTS }}\n          CI_SLACK_REPORT_CHANNEL_ID: ${{ secrets.CI_SLACK_CHANNEL_ID }}\n          ACCESS_REPO_INFO_TOKEN: ${{ secrets.ACCESS_REPO_INFO_TOKEN }}\n          CI_EVENT: push\n          CI_TITLE_PUSH: ${{ github.event.head_commit.message }}\n          CI_TITLE_WORKFLOW_RUN: ${{ github.event.workflow_run.head_commit.message }}\n          CI_SHA: ${{ env.CI_SHA }}\n          SETUP_STATUS: ${{ needs.setup.result }}\n\n        # We pass `needs.setup.outputs.matrix` as the argument. A processing in `notification_service.py` to change\n        # `models/bert` to `models_bert` is required, as the artifact names use `_` instead of `/`.\n        run: |\n          pip install slack_sdk\n          pip show slack_sdk\n          python utils/notification_service.py \"${{ needs.setup.outputs.matrix }}\"\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:13:58.314481", "created_at": "2020-02-26T02:32:26+01:00", "updated_at": "2024-06-20T18:57:25+02:00", "name": "Self-hosted runner (scheduled)", "path": ".github/workflows/self-scheduled.yml", "contents": "name: Self-hosted runner (scheduled)\n\n# Note that each job's dependencies go into a corresponding docker file.\n#\n# For example for `run_torch_cuda_extensions_gpu` the docker image is\n# `huggingface/transformers-pytorch-deepspeed-latest-gpu`, which can be found at\n# `docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile`\n\non:\n  workflow_call:\n    inputs:\n      job:\n        required: true\n        type: string\n      slack_report_channel:\n        required: true\n        type: string\n      runner:\n        required: true\n        type: string\n      docker:\n        required: true\n        type: string\n      ci_event:\n        required: true\n        type: string\n      working-directory-prefix:\n        default: ''\n        required: false\n        type: string\n\nenv:\n  HF_HOME: /mnt/cache\n  TRANSFORMERS_IS_CI: yes\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n  RUN_SLOW: yes\n  # For gated repositories, we still need to agree to share information on the Hub repo. page in order to get access.\n  # This token is created under the bot `hf-transformers-bot`.\n  HF_HUB_READ_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}\n  SIGOPT_API_TOKEN: ${{ secrets.SIGOPT_API_TOKEN }}\n  TF_FORCE_GPU_ALLOW_GROWTH: true\n  RUN_PT_TF_CROSS_TESTS: 1\n  CUDA_VISIBLE_DEVICES: 0,1\n  NUM_SLICES: 2\n\njobs:\n  setup:\n    if: contains(fromJSON('[\"run_models_gpu\", \"run_quantization_torch_gpu\"]'), inputs.job)\n    name: Setup\n    strategy:\n      matrix:\n        machine_type: [single-gpu, multi-gpu]\n    runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, '${{ inputs.runner }}']\n    container:\n      image: huggingface/transformers-all-latest-gpu\n      options: --gpus 0 --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    outputs:\n      folder_slices: ${{ steps.set-matrix.outputs.folder_slices }}\n      slice_ids: ${{ steps.set-matrix.outputs.slice_ids }}\n      quantization_matrix: ${{ steps.set-matrix-quantization.outputs.quantization_matrix }}\n    steps:\n      - name: Update clone\n        working-directory: /transformers\n        run: |\n          git fetch && git checkout ${{ github.sha }}\n\n      - name: Cleanup\n        working-directory: /transformers\n        run: |\n          rm -rf tests/__pycache__\n          rm -rf tests/models/__pycache__\n          rm -rf reports\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - id: set-matrix\n        if: ${{ inputs.job == 'run_models_gpu' }}\n        name: Identify models to test\n        working-directory: /transformers/tests\n        run: |\n          echo \"folder_slices=$(python3 ../utils/split_model_tests.py --num_splits ${{ env.NUM_SLICES }})\" >> $GITHUB_OUTPUT\n          echo \"slice_ids=$(python3 -c 'd = list(range(${{ env.NUM_SLICES }})); print(d)')\" >> $GITHUB_OUTPUT\n      \n      - id: set-matrix-quantization\n        if: ${{ inputs.job == 'run_quantization_torch_gpu' }}\n        name: Identify quantization method to test\n        working-directory: /transformers/tests\n        run: |\n          echo \"quantization_matrix=$(python3 -c 'import os; tests = os.getcwd(); quantization_tests = os.listdir(os.path.join(tests, \"quantization\")); d = sorted(list(filter(os.path.isdir, [f\"quantization/{x}\" for x in quantization_tests]))) ;  print(d)')\" >> $GITHUB_OUTPUT\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n  run_models_gpu:\n    if: ${{ inputs.job == 'run_models_gpu' }}\n    name: \" \"\n    needs: setup\n    strategy:\n      fail-fast: false\n      matrix:\n        machine_type: [single-gpu, multi-gpu]\n        slice_id: ${{ fromJSON(needs.setup.outputs.slice_ids) }}\n    uses: ./.github/workflows/model_jobs.yml\n    with:\n      folder_slices: ${{ needs.setup.outputs.folder_slices }}\n      machine_type: ${{ matrix.machine_type }}\n      slice_id: ${{ matrix.slice_id }}\n      runner: ${{ inputs.runner }}\n      docker: ${{ inputs.docker }}\n    secrets: inherit\n\n  run_pipelines_torch_gpu:\n    if: ${{ inputs.job == 'run_pipelines_torch_gpu' }}\n    name: PyTorch pipelines\n    strategy:\n      fail-fast: false\n      matrix:\n        machine_type: [single-gpu, multi-gpu]\n    runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, '${{ inputs.runner }}']\n    container:\n      image: huggingface/transformers-pytorch-gpu\n      options: --gpus all --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      - name: Update clone\n        working-directory: /transformers\n        run: git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run all pipeline tests on GPU\n        working-directory: /transformers\n        run: |\n          python3 -m pytest -n 1 -v --dist=loadfile --make-reports=${{ matrix.machine_type }}_run_pipelines_torch_gpu_test_reports tests/pipelines\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ matrix.machine_type }}_run_pipelines_torch_gpu_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_pipelines_torch_gpu_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_pipelines_torch_gpu_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_run_pipelines_torch_gpu_test_reports\n\n  run_pipelines_tf_gpu:\n    if: ${{ inputs.job == 'run_pipelines_tf_gpu' }}\n    name: TensorFlow pipelines\n    strategy:\n      fail-fast: false\n      matrix:\n        machine_type: [single-gpu, multi-gpu]\n    runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, '${{ inputs.runner }}']\n    container:\n      image: huggingface/transformers-tensorflow-gpu\n      options: --gpus all --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      - name: Update clone\n        working-directory: /transformers\n        run: |\n          git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run all pipeline tests on GPU\n        working-directory: /transformers\n        run: |\n          python3 -m pytest -n 1 -v --dist=loadfile --make-reports=${{ matrix.machine_type }}_run_pipelines_tf_gpu_test_reports tests/pipelines\n\n      - name: Failure short reports\n        if: ${{ always() }}\n        run: |\n          cat /transformers/reports/${{ matrix.machine_type }}_run_pipelines_tf_gpu_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_pipelines_tf_gpu_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_pipelines_tf_gpu_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_run_pipelines_tf_gpu_test_reports\n\n  run_examples_gpu:\n    if: ${{ inputs.job == 'run_examples_gpu' }}\n    name: Examples directory\n    strategy:\n      fail-fast: false\n      matrix:\n        machine_type: [single-gpu]\n    runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, '${{ inputs.runner }}']\n    container:\n      image: huggingface/transformers-all-latest-gpu\n      options: --gpus 0 --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      - name: Update clone\n        working-directory: /transformers\n        run: git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run examples tests on GPU\n        working-directory: /transformers\n        run: |\n          pip install -r examples/pytorch/_tests_requirements.txt\n          python3 -m pytest -v --make-reports=${{ matrix.machine_type }}_run_examples_gpu_test_reports examples/pytorch\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ matrix.machine_type }}_run_examples_gpu_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_examples_gpu_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_examples_gpu_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_run_examples_gpu_test_reports\n\n  run_torch_cuda_extensions_gpu:\n    if: ${{ inputs.job == 'run_torch_cuda_extensions_gpu' }}\n    name: Torch CUDA extension tests\n    strategy:\n      fail-fast: false\n      matrix:\n        machine_type: [single-gpu, multi-gpu]\n    runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, '${{ inputs.runner }}']\n    container:\n      image: ${{ inputs.docker }}\n      options: --gpus all --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      - name: Update clone\n        working-directory: ${{ inputs.working-directory-prefix }}/transformers\n        run: git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: ${{ inputs.working-directory-prefix }}/transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: Update / Install some packages (for Past CI)\n        if: ${{ contains(inputs.docker, '-past-') && contains(inputs.docker, '-pytorch-') }}\n        working-directory: ${{ inputs.working-directory-prefix }}/transformers\n        run: |\n          python3 -m pip install -U datasets\n          python3 -m pip install --no-cache-dir git+https://github.com/huggingface/accelerate@main#egg=accelerate\n\n      - name: Remove cached torch extensions\n        run: rm -rf /github/home/.cache/torch_extensions/\n\n      # To avoid unknown test failures\n      - name: Pre build DeepSpeed *again* (for daily CI)\n        if: ${{ contains(inputs.ci_event, 'Daily CI') }}\n        working-directory: ${{ inputs.working-directory-prefix }}/\n        run: |\n          python3 -m pip uninstall -y deepspeed\n          DS_DISABLE_NINJA=1 DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 python3 -m pip install deepspeed --global-option=\"build_ext\" --global-option=\"-j8\" --no-cache -v --disable-pip-version-check\n\n      # To avoid unknown test failures\n      - name: Pre build DeepSpeed *again* (for nightly & Past CI)\n        if: ${{ contains(inputs.ci_event, 'Nightly CI') || contains(inputs.ci_event, 'Past CI') }}\n        working-directory: ${{ inputs.working-directory-prefix }}/\n        run: |\n          python3 -m pip uninstall -y deepspeed\n          rm -rf DeepSpeed\n          git clone https://github.com/microsoft/DeepSpeed && cd DeepSpeed && rm -rf build\n          DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 python3 -m pip install . --global-option=\"build_ext\" --global-option=\"-j8\" --no-cache -v --disable-pip-version-check\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n      - name: Environment\n        working-directory: ${{ inputs.working-directory-prefix }}/transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: ${{ inputs.working-directory-prefix }}/transformers\n        run: pip freeze\n\n      - name: Run all tests on GPU\n        working-directory: ${{ inputs.working-directory-prefix }}/transformers\n        run: |\n          python3 -m pytest -v --make-reports=${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports tests/deepspeed tests/extended\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat ${{ inputs.working-directory-prefix }}/transformers/reports/${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports\n          path: ${{ inputs.working-directory-prefix }}/transformers/reports/${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports\n\n  run_quantization_torch_gpu:\n    if: ${{ inputs.job == 'run_quantization_torch_gpu' }}\n    name: \" \"\n    needs: setup\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        folders: ${{ fromJson(needs.setup.outputs.quantization_matrix) }}\n        machine_type: [single-gpu, multi-gpu]\n    runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, '${{ inputs.runner }}']\n    container:\n      image: huggingface/transformers-quantization-latest-gpu\n      options: --gpus all --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      - name: Echo folder ${{ matrix.folders }}\n        shell: bash\n        run: |\n          echo \"${{ matrix.folders }}\"\n          matrix_folders=${{ matrix.folders }}\n          matrix_folders=${matrix_folders/'quantization/'/'quantization_'}\n          echo \"$matrix_folders\"\n          echo \"matrix_folders=$matrix_folders\" >> $GITHUB_ENV\n\n      - name: Update clone\n        working-directory: /transformers\n        run: git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run quantization tests on GPU\n        working-directory: /transformers\n        run: |\n          python3 -m pytest -v --make-reports=${{ matrix.machine_type }}_run_quantization_torch_gpu_${{ matrix.folders }}_test_reports tests/${{ matrix.folders }}\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ matrix.machine_type }}_run_quantization_torch_gpu_${{ matrix.folders }}_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_quantization_torch_gpu_${{ env.matrix_folders }}_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_quantization_torch_gpu_${{ env.matrix_folders }}_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_run_quantization_torch_gpu_${{ matrix.folders }}_test_reports\n\n  run_extract_warnings:\n    # Let's only do this for the job `run_models_gpu` to simplify the (already complex) logic.\n    if: ${{ always() && inputs.job == 'run_models_gpu' }}\n    name: Extract warnings in CI artifacts\n    runs-on: ubuntu-22.04\n    needs: [setup, run_models_gpu]\n    steps:\n      - name: Checkout transformers\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Install transformers\n        run: pip install transformers\n\n      - name: Show installed libraries and their versions\n        run: pip freeze\n\n      - name: Create output directory\n        run: mkdir warnings_in_ci\n\n      - uses: actions/download-artifact@v4\n        with:\n          path: warnings_in_ci\n\n      - name: Show artifacts\n        run: echo \"$(python3 -c 'import os; d = os.listdir(); print(d)')\"\n        working-directory: warnings_in_ci\n\n      - name: Extract warnings in CI artifacts\n        run: |\n          python3 utils/extract_warnings.py --workflow_run_id ${{ github.run_id }} --output_dir warnings_in_ci --token ${{ secrets.ACCESS_REPO_INFO_TOKEN }} --from_gh\n          echo \"$(python3 -c 'import os; import json; fp = open(\"warnings_in_ci/selected_warnings.json\"); d = json.load(fp); d = \"\\n\".join(d) ;print(d)')\"\n\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: warnings_in_ci\n          path: warnings_in_ci/selected_warnings.json\n\n  send_results:\n    name: Slack Report\n    needs: [\n      setup,\n      run_models_gpu,\n      run_pipelines_torch_gpu,\n      run_pipelines_tf_gpu,\n      run_examples_gpu,\n      run_torch_cuda_extensions_gpu,\n      run_quantization_torch_gpu,\n      run_extract_warnings\n    ]\n    if: ${{ always() }}\n    uses: ./.github/workflows/slack-report.yml\n    with:\n      job: ${{ inputs.job }}\n      # This would be `skipped` if `setup` is skipped.\n      setup_status: ${{ needs.setup.result }}\n      slack_report_channel: ${{ inputs.slack_report_channel }}\n      # This would be an empty string if `setup` is skipped.\n      folder_slices: ${{ needs.setup.outputs.folder_slices }}\n      quantization_matrix: ${{ needs.setup.outputs.quantization_matrix }}\n      ci_event: ${{ inputs.ci_event }}\n\n    secrets: inherit\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:13:59.434113", "created_at": "2020-11-27T16:40:49+01:00", "updated_at": "2021-01-14T11:43:10+01:00", "name": "Release - Conda", "path": ".github/workflows/release-conda.yml", "contents": "name: Release - Conda\n\non:\n  push:\n    tags:\n      - v*\n    branches:\n      - conda_*\n\nenv:\n  ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}\n\njobs:\n  build_and_package:\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v1\n\n      - name: Install miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          auto-activate-base: false\n          python-version: 3.8\n          activate-environment: \"build-transformers\"\n          channels: huggingface\n\n      - name: Setup conda env\n        run: |\n          conda install -c defaults anaconda-client conda-build\n\n      - name: Extract version\n        run: echo \"TRANSFORMERS_VERSION=`python setup.py --version`\" >> $GITHUB_ENV\n\n      - name: Build conda packages\n        run: |\n          conda info\n          conda list\n          conda-build .github/conda\n\n      - name: Upload to Anaconda\n        run: anaconda upload `conda-build .github/conda --output` --force\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:00.559563", "created_at": "2021-03-04T02:53:24+01:00", "updated_at": "2021-03-04T02:54:41+01:00", "name": "Stale Bot", "path": ".github/workflows/stale.yml", "contents": "name: Stale Bot\n\non:\n  schedule:\n    - cron: \"0 8 * * *\"\n\njobs:\n  close_stale_issues:\n    name: Close Stale Issues\n    if: github.repository == 'huggingface/transformers'\n    runs-on: ubuntu-22.04\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n\n    - name: Install requirements\n      run: |\n        pip install PyGithub\n    - name: Close stale issues\n      run: |\n        python scripts/stale.py\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:01.687665", "created_at": "2021-08-11T14:55:36+02:00", "updated_at": "2022-03-17T21:10:54+01:00", "name": "Doctests", "path": ".github/workflows/doctests.yml", "contents": "name: Doctests\n\non:\n  push:\n    branches:\n      - run_doctest*\n  repository_dispatch:\n  schedule:\n    - cron: \"17 2 * * *\"\n\nenv:\n  NUM_SLICES: 3\n\njobs:\n  setup:\n    name: Setup\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    container:\n      image: huggingface/transformers-all-latest-gpu\n      options: --gpus 0 --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    outputs:\n      job_splits: ${{ steps.set-matrix.outputs.job_splits }}\n      split_keys: ${{ steps.set-matrix.outputs.split_keys }}\n    steps:\n      - name: Update clone\n        working-directory: /transformers\n        run: |\n          git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Check values for matrix\n        working-directory: /transformers\n        run: |\n          python3 utils/split_doctest_jobs.py\n          python3 utils/split_doctest_jobs.py --only_return_keys --num_splits ${{ env.NUM_SLICES }}\n\n      - id: set-matrix\n        working-directory: /transformers\n        name: Set values for matrix\n        run: |\n          echo \"job_splits=$(python3 utils/split_doctest_jobs.py)\" >> $GITHUB_OUTPUT\n          echo \"split_keys=$(python3 utils/split_doctest_jobs.py --only_return_keys --num_splits ${{ env.NUM_SLICES }})\" >> $GITHUB_OUTPUT\n\n  call_doctest_job:\n    name: \"Call doctest jobs\"\n    needs: setup\n    strategy:\n      max-parallel: 1  # 1 split at a time (in `doctest_job.yml`, we set `8` to run 8 jobs at the same time)\n      fail-fast: false\n      matrix:\n        split_keys: ${{ fromJson(needs.setup.outputs.split_keys) }}\n    uses: ./.github/workflows/doctest_job.yml\n    with:\n      job_splits: ${{ needs.setup.outputs.job_splits }}\n      split_keys: ${{ toJson(matrix.split_keys) }}\n    secrets: inherit\n\n  send_results:\n    name: Send results to webhook\n    runs-on: ubuntu-22.04\n    if: always()\n    needs: [call_doctest_job]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n      - name: Send message to Slack\n        env:\n          CI_SLACK_BOT_TOKEN: ${{ secrets.CI_SLACK_BOT_TOKEN }}\n          ACCESS_REPO_INFO_TOKEN: ${{ secrets.ACCESS_REPO_INFO_TOKEN }}\n          # Use `CI_SLACK_CHANNEL_DUMMY_TESTS` when doing experimentation\n          SLACK_REPORT_CHANNEL: ${{ secrets.CI_SLACK_CHANNEL_ID_DAILY_DOCS }}\n        run: |\n          pip install slack_sdk\n          python utils/notification_service_doc_tests.py\n\n      - name: \"Upload results\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: doc_test_results\n          path: doc_test_results", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:02.811768", "created_at": "2021-11-23T12:17:09+01:00", "updated_at": "2023-05-10T22:02:08+02:00", "name": "Build documentation", "path": ".github/workflows/build_documentation.yml", "contents": "name: Build documentation\n\non:\n  push:\n    branches:\n      - main\n      - doc-builder*\n      - v*-release\n      - use_templates\n\njobs:\n   build:\n    uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main\n    with:\n      commit_sha: ${{ github.sha }}\n      package: transformers\n      notebook_folder: transformers_doc\n      languages: de en es fr hi it ko pt tr zh ja te\n      custom_container: huggingface/transformers-doc-builder\n    secrets:\n      token: ${{ secrets.HUGGINGFACE_PUSH }}\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:03.938911", "created_at": "2021-12-11T00:22:55+01:00", "updated_at": "2021-12-13T17:59:24+01:00", "name": "Update Transformers metadata", "path": ".github/workflows/update_metdata.yml", "contents": "name: Update Transformers metadata\n\non:\n  push:\n    branches:\n      - main\n      - update_transformers_metadata*\n\njobs:\n  build_and_package:\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup environment\n        run: |\n          pip install --upgrade pip\n          pip install datasets pandas==2.0.3\n          pip install .[torch,tf,flax]\n\n      - name: Update metadata\n        run: |\n          python utils/update_metadata.py --token ${{ secrets.LYSANDRE_HF_TOKEN }} --commit_sha ${{ github.sha }}\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:05.106466", "created_at": "2022-01-13T17:15:38+01:00", "updated_at": "2022-04-18T11:17:27+02:00", "name": "Add model like runner", "path": ".github/workflows/add-model-like.yml", "contents": "name: Add model like runner\n\non:\n  push:\n    branches:\n      - none # put main here when this is fixed\n  #pull_request:\n  #  paths:\n  #    - \"src/**\"\n  #    - \"tests/**\"\n  #    - \".github/**\"\n  #  types: [opened, synchronize, reopened]\n\njobs:\n  run_tests_templates_like:\n    name: \"Add new model like template tests\"\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: |\n          sudo apt -y update && sudo apt install -y libsndfile1-dev\n\n      - name: Load cached virtual environment\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: ~/venv/\n          key: v4-tests_model_like-${{ hashFiles('setup.py') }}\n\n      - name: Create virtual environment on cache miss\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          python -m venv ~/venv && . ~/venv/bin/activate\n          pip install --upgrade pip!=21.3\n          pip install -e .[dev]\n\n      - name: Check transformers location\n        # make `transformers` available as package (required since we use `-e` flag) and check it's indeed from the repo.\n        run: |\n          . ~/venv/bin/activate\n          python setup.py develop\n          transformers_install=$(pip list -e | grep transformers)\n          transformers_install_array=($transformers_install)\n          transformers_loc=${transformers_install_array[-1]}\n          transformers_repo_loc=$(pwd .)\n          if [ \"$transformers_loc\" != \"$transformers_repo_loc\" ]; then\n              echo \"transformers is from $transformers_loc but it shoud be from $transformers_repo_loc/src.\"\n              echo \"A fix is required. Stop testing.\"\n              exit 1\n          fi\n\n      - name: Create model files\n        run: |\n          . ~/venv/bin/activate\n          transformers-cli add-new-model-like --config_file tests/fixtures/add_distilbert_like_config.json --path_to_repo .\n          make style\n          make fix-copies\n\n      - name: Run all PyTorch modeling test\n        run: |\n          . ~/venv/bin/activate\n          python -m pytest -n 2 --dist=loadfile -s --make-reports=tests_new_models tests/bert_new/test_modeling_bert_new.py\n\n      - name: Run style changes\n        run: |\n          . ~/venv/bin/activate\n          make style && make quality && make repo-consistency\n\n      - name: Failure short reports\n        if: ${{ always() }}\n        run: cat reports/tests_new_models/failures_short.txt\n\n      - name: Test suite reports artifacts\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: run_all_tests_new_models_test_reports\n          path: reports/tests_new_models\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:06.397207", "created_at": "2022-02-10T18:00:07+01:00", "updated_at": "2023-11-10T10:49:40+01:00", "name": "Build docker images (scheduled)", "path": ".github/workflows/build-docker-images.yml", "contents": "name: Build docker images (scheduled)\n\non:\n  push:\n    branches:\n      - build_ci_docker_image*\n  repository_dispatch:\n  workflow_call:\n    inputs:\n      image_postfix:\n        required: true\n        type: string\n  schedule:\n    - cron: \"17 0 * * *\"\n\nconcurrency:\n  group: docker-images-builds\n  cancel-in-progress: false\n\njobs:\n  latest-docker:\n    name: \"Latest PyTorch + TensorFlow [dev]\"\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      -\n        name: Check out code\n        uses: actions/checkout@v4\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker/transformers-all-latest-gpu\n          build-args: |\n            REF=main\n          push: true\n          tags: huggingface/transformers-all-latest-gpu${{ inputs.image_postfix }}\n      # Push CI images still need to be re-built daily\n      -\n        name: Build and push (for Push CI) in a daily basis\n        # This condition allows `schedule` events, or `push` events that trigger this workflow NOT via `workflow_call`.\n        # The later case is useful for manual image building for debugging purpose. Use another tag in this case!\n        if: inputs.image_postfix != '-push-ci'\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker/transformers-all-latest-gpu\n          build-args: |\n            REF=main\n          push: true\n          tags: huggingface/transformers-all-latest-gpu-push-ci\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.CI_SLACK_CHANNEL_DOCKER }}\n          title: 🤗 Results of the transformers-all-latest-gpu-push-ci docker build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n  latest-torch-deepspeed-docker:\n    name: \"Latest PyTorch + DeepSpeed\"\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      -\n        name: Check out code\n        uses: actions/checkout@v4\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker/transformers-pytorch-deepspeed-latest-gpu\n          build-args: |\n            REF=main\n          push: true\n          tags: huggingface/transformers-pytorch-deepspeed-latest-gpu${{ inputs.image_postfix }}\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.CI_SLACK_CHANNEL_DOCKER}}\n          title: 🤗 Results of the transformers-pytorch-deepspeed-latest-gpu docker build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n  # Can't build 2 images in a single job `latest-torch-deepspeed-docker` (for `nvcr.io/nvidia`)\n  latest-torch-deepspeed-docker-for-push-ci-daily-build:\n    name: \"Latest PyTorch + DeepSpeed (Push CI - Daily Build)\"\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      -\n        name: Check out code\n        uses: actions/checkout@v4\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      # Push CI images still need to be re-built daily\n      -\n        name: Build and push (for Push CI) in a daily basis\n        # This condition allows `schedule` events, or `push` events that trigger this workflow NOT via `workflow_call`.\n        # The later case is useful for manual image building for debugging purpose. Use another tag in this case!\n        if: inputs.image_postfix != '-push-ci'\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker/transformers-pytorch-deepspeed-latest-gpu\n          build-args: |\n            REF=main\n          push: true\n          tags: huggingface/transformers-pytorch-deepspeed-latest-gpu-push-ci\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.CI_SLACK_CHANNEL_DOCKER }}\n          title: 🤗 Results of the transformers-pytorch-deepspeed-latest-gpu-push-ci docker build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n  doc-builder:\n    name: \"Doc builder\"\n    # Push CI doesn't need this image\n    if: inputs.image_postfix != '-push-ci'\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      -\n        name: Check out code\n        uses: actions/checkout@v4\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker/transformers-doc-builder\n          push: true\n          tags: huggingface/transformers-doc-builder\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.CI_SLACK_CHANNEL_DOCKER }}\n          title: 🤗 Results of the huggingface/transformers-doc-builder docker build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n  latest-pytorch:\n    name: \"Latest PyTorch [dev]\"\n    # Push CI doesn't need this image\n    if: inputs.image_postfix != '-push-ci'\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      -\n        name: Check out code\n        uses: actions/checkout@v4\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker/transformers-pytorch-gpu\n          build-args: |\n            REF=main\n          push: true\n          tags: huggingface/transformers-pytorch-gpu\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.CI_SLACK_CHANNEL_DOCKER }}\n          title: 🤗 Results of the huggingface/transformers-pytorch-gpudocker build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n  latest-pytorch-amd:\n    name: \"Latest PyTorch (AMD) [dev]\"\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      - \n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - \n        name: Check out code\n        uses: actions/checkout@v4\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      - \n        name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker/transformers-pytorch-amd-gpu\n          build-args: |\n            REF=main\n          push: true\n          tags: huggingface/transformers-pytorch-amd-gpu${{ inputs.image_postfix }}\n      # Push CI images still need to be re-built daily\n      -\n        name: Build and push (for Push CI) in a daily basis\n        # This condition allows `schedule` events, or `push` events that trigger this workflow NOT via `workflow_call`.\n        # The later case is useful for manual image building for debugging purpose. Use another tag in this case!\n        if: inputs.image_postfix != '-push-ci'\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker/transformers-pytorch-amd-gpu\n          build-args: |\n            REF=main\n          push: true\n          tags: huggingface/transformers-pytorch-amd-gpu-push-ci\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.CI_SLACK_CHANNEL_DOCKER }}\n          title: 🤗 Results of the huggingface/transformers-pytorch-amd-gpu-push-ci build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n  latest-tensorflow:\n    name: \"Latest TensorFlow [dev]\"\n    # Push CI doesn't need this image\n    if: inputs.image_postfix != '-push-ci'\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      -\n        name: Check out code\n        uses: actions/checkout@v4\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker/transformers-tensorflow-gpu\n          build-args: |\n            REF=main\n          push: true\n          tags: huggingface/transformers-tensorflow-gpu\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.CI_SLACK_CHANNEL_DOCKER }}\n          title: 🤗 Results of the huggingface/transformers-tensorflow-gpu build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n  latest-pytorch-deepspeed-amd:\n    name: \"PyTorch + DeepSpeed (AMD) [dev]\"\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      - \n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - \n        name: Check out code\n        uses: actions/checkout@v4\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      - \n        name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker/transformers-pytorch-deepspeed-amd-gpu\n          build-args: |\n            REF=main\n          push: true\n          tags: huggingface/transformers-pytorch-deepspeed-amd-gpu${{ inputs.image_postfix }}\n      # Push CI images still need to be re-built daily\n      -\n        name: Build and push (for Push CI) in a daily basis\n        # This condition allows `schedule` events, or `push` events that trigger this workflow NOT via `workflow_call`.\n        # The later case is useful for manual image building for debugging purpose. Use another tag in this case!\n        if: inputs.image_postfix != '-push-ci'\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker/transformers-pytorch-deepspeed-amd-gpu\n          build-args: |\n            REF=main\n          push: true\n          tags: huggingface/transformers-pytorch-deepspeed-amd-gpu-push-ci\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.CI_SLACK_CHANNEL_DOCKER }}\n          title: 🤗 Results of the transformers-pytorch-deepspeed-amd-gpu build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n  latest-quantization-torch-docker:\n    name: \"Latest Pytorch + Quantization [dev]\"\n     # Push CI doesn't need this image\n    if: inputs.image_postfix != '-push-ci'\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      -\n        name: Check out code\n        uses: actions/checkout@v4\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker/transformers-quantization-latest-gpu\n          build-args: |\n            REF=main\n          push: true\n          tags: huggingface/transformers-quantization-latest-gpu${{ inputs.image_postfix }}\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.CI_SLACK_CHANNEL_DOCKER }}\n          title: 🤗 Results of the transformers-quantization-latest-gpu build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:07.551983", "created_at": "2022-03-14T17:15:32+01:00", "updated_at": "2023-05-22T06:53:47+02:00", "name": "Build PR Documentation", "path": ".github/workflows/build_pr_documentation.yml", "contents": "name: Build PR Documentation\n\non:\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main\n    with:\n      commit_sha: ${{ github.event.pull_request.head.sha }}\n      pr_number: ${{ github.event.number }}\n      package: transformers\n      languages: de en es fr hi it ko pt tr zh ja te\n      custom_container: huggingface/transformers-doc-builder\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:08.636321", "created_at": "2022-05-20T13:21:26+02:00", "updated_at": "2023-05-10T22:02:08+02:00", "name": "Self-hosted runner (push-caller)", "path": ".github/workflows/self-push-caller.yml", "contents": "# Used to trigger self-push CI\nname: Self-hosted runner (push-caller)\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"src/**\"\n      - \"tests/**\"\n      - \".github/**\"\n      - \"templates/**\"\n      - \"utils/**\"\n\njobs:\n  check-for-setup:\n      runs-on: ubuntu-22.04\n      name: Check if setup was changed\n      outputs:\n        changed: ${{ steps.was_changed.outputs.changed }}\n      steps:\n        - uses: actions/checkout@v4\n          with: \n            fetch-depth: \"2\"\n        \n        - name: Get changed files\n          id: changed-files\n          uses: tj-actions/changed-files@v41\n        \n        - name: Was setup changed \n          id: was_changed\n          run: |\n            for file in ${{ steps.changed-files.outputs.all_changed_files }}; do\n              if [ `basename \"${file}\"` = \"setup.py\" ]; then\n                echo \"changed=1\" >> $GITHUB_OUTPUT\n              fi\n            done\n\n  build-docker-containers:\n    needs: check-for-setup\n    if: (github.event_name == 'push') && (needs.check-for-setup.outputs.changed == '1')\n    uses: ./.github/workflows/build-docker-images.yml\n    with:\n      image_postfix: \"-push-ci\"\n    secrets: inherit\n\n  run_push_ci:\n    name: Trigger Push CI\n    runs-on: ubuntu-22.04\n    if: ${{ always() }}\n    needs: build-docker-containers\n    steps:\n      - name: Trigger push CI via workflow_run\n        run: echo \"Trigger push CI via workflow_run\"", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:09.762547", "created_at": "2022-06-14T17:28:38+02:00", "updated_at": "2022-07-05T18:08:53+02:00", "name": "Build docker images (Past CI)", "path": ".github/workflows/build-past-ci-docker-images.yml", "contents": "name: Build docker images (Past CI)\n\non:\n  push:\n    branches:\n      - build_past_ci_docker_image*\n\nconcurrency:\n  group: docker-images-builds\n  cancel-in-progress: false\n\njobs:\n  past-pytorch-docker:\n    name: \"Past PyTorch Docker\"\n    strategy:\n      fail-fast: false\n      matrix:\n        version: [\"1.13\", \"1.12\", \"1.11\"]\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      -\n        name: Check out code\n        uses: actions/checkout@v4\n      -\n        id: get-base-image\n        name: Get Base Image\n        env:\n          framework_version: ${{ matrix.version }}\n        run: |\n          echo \"base_image=$(python3 -c 'import os; from utils.past_ci_versions import past_versions_testing; base_image = past_versions_testing[\"pytorch\"][os.environ[\"framework_version\"]][\"base_image\"]; print(base_image)')\" >> $GITHUB_OUTPUT\n      -\n        name: Print Base Image\n        run: |\n          echo ${{ steps.get-base-image.outputs.base_image }}\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          context: ./docker/transformers-past-gpu\n          build-args: |\n            REF=main\n            BASE_DOCKER_IMAGE=${{ steps.get-base-image.outputs.base_image }}\n            FRAMEWORK=pytorch\n            VERSION=${{ matrix.version }}\n          push: true\n          tags: huggingface/transformers-pytorch-past-${{ matrix.version }}-gpu\n\n  past-tensorflow-docker:\n    name: \"Past TensorFlow Docker\"\n    strategy:\n      fail-fast: false\n      matrix:\n        version: [\"2.11\", \"2.10\", \"2.9\", \"2.8\", \"2.7\", \"2.6\", \"2.5\"]\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      -\n        name: Check out code\n        uses: actions/checkout@v4\n      -\n        id: get-base-image\n        name: Get Base Image\n        env:\n          framework_version: ${{ matrix.version }}\n        run: |\n          echo \"base_image=$(python3 -c 'import os; from utils.past_ci_versions import past_versions_testing; base_image = past_versions_testing[\"tensorflow\"][os.environ[\"framework_version\"]][\"base_image\"]; print(base_image)')\" >> $GITHUB_OUTPUT\n      -\n        name: Print Base Image\n        run: |\n          echo ${{ steps.get-base-image.outputs.base_image }}\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          context: ./docker/transformers-past-gpu\n          build-args: |\n            REF=main\n            BASE_DOCKER_IMAGE=${{ steps.get-base-image.outputs.base_image }}\n            FRAMEWORK=tensorflow\n            VERSION=${{ matrix.version }}\n          push: true\n          tags: huggingface/transformers-tensorflow-past-${{ matrix.version }}-gpu\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:10.803916", "created_at": "2022-06-14T20:45:14+02:00", "updated_at": "2024-06-20T18:57:25+02:00", "name": "Self-hosted runner (past-ci)", "path": ".github/workflows/self-past-caller.yml", "contents": "name: Self-hosted runner (past-ci)\n\n\non:\n  workflow_call:\n    inputs:\n      framework:\n        required: true\n        type: string\n      version:\n        required: true\n        type: string\n      # Use this to control the commit to test against\n      sha:\n        default: 'main'\n        required: false\n        type: string\n\njobs:\n  model-ci:\n    name: Model CI\n    uses: ./.github/workflows/self-scheduled.yml\n    with:\n      job: run_models_gpu\n      slack_report_channel: \"#transformers-ci-past-future\"\n      runner: past-ci\n      docker: huggingface/transformers-${{ inputs.framework }}-past-${{ inputs.version }}-gpu\n      ci_event: Past CI - ${{ inputs.framework }}-${{ inputs.version }}\n    secrets: inherit\n\n  deepspeed-ci:\n    name: DeepSpeed CI\n    uses: ./.github/workflows/self-scheduled.yml\n    with:\n      job: run_torch_cuda_extensions_gpu\n      slack_report_channel: \"#transformers-ci-past-future\"\n      runner: past-ci\n      docker: huggingface/transformers-${{ inputs.framework }}-past-${{ inputs.version }}-gpu\n      ci_event: Past CI - ${{ inputs.framework }}-${{ inputs.version }}\n    secrets: inherit\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:12.030518", "created_at": "2023-03-27T15:55:18+02:00", "updated_at": "2024-05-30T09:59:09+02:00", "name": "Self-hosted runner (nightly-past-ci-caller)", "path": ".github/workflows/self-nightly-past-ci-caller.yml", "contents": "name: Self-hosted runner (nightly-past-ci-caller)\r\n\r\non:\r\n  schedule:\r\n    - cron: \"17 2,14 * * *\"\r\n  push:\r\n    branches:\r\n      - run_past_ci*\r\n\r\njobs:\r\n  get_number:\r\n    name: Get number\r\n    runs-on: ubuntu-22.04\r\n    outputs:\r\n      run_number: ${{ steps.get_number.outputs.run_number }}\r\n    steps:\r\n      - name: Get number\r\n        id: get_number\r\n        run: |\r\n          echo \"${{ github.run_number }}\"\r\n          echo \"$(python3 -c 'print(int(${{ github.run_number }}) % 10)')\"\r\n          echo \"run_number=$(python3 -c 'print(int(${{ github.run_number }}) % 10)')\" >> $GITHUB_OUTPUT\r\n\r\n  run_past_ci_pytorch_1-13:\r\n    name: PyTorch 1.13\r\n    needs: get_number\r\n    if: needs.get_number.outputs.run_number == 0 && (cancelled() != true) && ((github.event_name == 'schedule') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_past_ci')))\r\n    uses: ./.github/workflows/self-past-caller.yml\r\n    with:\r\n      framework: pytorch\r\n      version: \"1.13\"\r\n      sha: ${{ github.sha }}\r\n    secrets: inherit\r\n\r\n  run_past_ci_pytorch_1-12:\r\n    name: PyTorch 1.12\r\n    needs: get_number\r\n    if: needs.get_number.outputs.run_number == 1 && (cancelled() != true) && ((github.event_name == 'schedule') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_past_ci')))\r\n    uses: ./.github/workflows/self-past-caller.yml\r\n    with:\r\n      framework: pytorch\r\n      version: \"1.12\"\r\n      sha: ${{ github.sha }}\r\n    secrets: inherit\r\n\r\n  run_past_ci_pytorch_1-11:\r\n    name: PyTorch 1.11\r\n    needs: get_number\r\n    if: needs.get_number.outputs.run_number == 2 && (cancelled() != true) && ((github.event_name == 'schedule') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_past_ci')))\r\n    uses: ./.github/workflows/self-past-caller.yml\r\n    with:\r\n      framework: pytorch\r\n      version: \"1.11\"\r\n      sha: ${{ github.sha }}\r\n    secrets: inherit\r\n\r\n  run_past_ci_tensorflow_2-11:\r\n    name: TensorFlow 2.11\r\n    needs: get_number\r\n    if: needs.get_number.outputs.run_number == 3 && (cancelled() != true) && ((github.event_name == 'push') && startsWith(github.ref_name, 'run_past_ci'))\r\n    uses: ./.github/workflows/self-past-caller.yml\r\n    with:\r\n      framework: tensorflow\r\n      version: \"2.11\"\r\n      sha: ${{ github.sha }}\r\n    secrets: inherit\r\n\r\n  run_past_ci_tensorflow_2-10:\r\n    name: TensorFlow 2.10\r\n    needs: get_number\r\n    if: needs.get_number.outputs.run_number == 4 && (cancelled() != true) && ((github.event_name == 'push') && startsWith(github.ref_name, 'run_past_ci'))\r\n    uses: ./.github/workflows/self-past-caller.yml\r\n    with:\r\n      framework: tensorflow\r\n      version: \"2.10\"\r\n      sha: ${{ github.sha }}\r\n    secrets: inherit\r\n\r\n  run_past_ci_tensorflow_2-9:\r\n    name: TensorFlow 2.9\r\n    needs: get_number\r\n    if: needs.get_number.outputs.run_number == 5 && (cancelled() != true) && ((github.event_name == 'push') && startsWith(github.ref_name, 'run_past_ci'))\r\n    uses: ./.github/workflows/self-past-caller.yml\r\n    with:\r\n      framework: tensorflow\r\n      version: \"2.9\"\r\n      sha: ${{ github.sha }}\r\n    secrets: inherit\r\n\r\n  run_past_ci_tensorflow_2-8:\r\n    name: TensorFlow 2.8\r\n    needs: get_number\r\n    if: needs.get_number.outputs.run_number == 6 && (cancelled() != true) && ((github.event_name == 'push') && startsWith(github.ref_name, 'run_past_ci'))\r\n    uses: ./.github/workflows/self-past-caller.yml\r\n    with:\r\n      framework: tensorflow\r\n      version: \"2.8\"\r\n      sha: ${{ github.sha }}\r\n    secrets: inherit\r\n\r\n  run_past_ci_tensorflow_2-7:\r\n    name: TensorFlow 2.7\r\n    needs: get_number\r\n    if: needs.get_number.outputs.run_number == 7 && (cancelled() != true) && ((github.event_name == 'push') && startsWith(github.ref_name, 'run_past_ci'))\r\n    uses: ./.github/workflows/self-past-caller.yml\r\n    with:\r\n      framework: tensorflow\r\n      version: \"2.7\"\r\n      sha: ${{ github.sha }}\r\n    secrets: inherit\r\n\r\n  run_past_ci_tensorflow_2-6:\r\n    name: TensorFlow 2.6\r\n    needs: get_number\r\n    if: needs.get_number.outputs.run_number == 8 && (cancelled() != true) && ((github.event_name == 'push') && startsWith(github.ref_name, 'run_past_ci'))\r\n    uses: ./.github/workflows/self-past-caller.yml\r\n    with:\r\n      framework: tensorflow\r\n      version: \"2.6\"\r\n      sha: ${{ github.sha }}\r\n    secrets: inherit\r\n\r\n  run_past_ci_tensorflow_2-5:\r\n    name: TensorFlow 2.5\r\n    needs: get_number\r\n    if: needs.get_number.outputs.run_number == 9 &&  (cancelled() != true) && ((github.event_name == 'push') && startsWith(github.ref_name, 'run_past_ci'))\r\n    uses: ./.github/workflows/self-past-caller.yml\r\n    with:\r\n      framework: tensorflow\r\n      version: \"2.5\"\r\n      sha: ${{ github.sha }}\r\n    secrets: inherit\r\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:13.209348", "created_at": "2023-03-30T21:06:41+02:00", "updated_at": "2023-03-30T21:06:41+02:00", "name": "Build docker images (Nightly CI)", "path": ".github/workflows/build-nightly-ci-docker-images.yml", "contents": "name: Build docker images (Nightly CI)\n\non:\n  workflow_call:\n  push:\n    branches:\n      - build_nightly_ci_docker_image*\n\nconcurrency:\n  group: docker-images-builds\n  cancel-in-progress: false\n\njobs:\n  latest-with-torch-nightly-docker:\n    name: \"Nightly PyTorch + Stable TensorFlow\"\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      -\n        name: Check out code\n        uses: actions/checkout@v4\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          context: ./docker/transformers-all-latest-gpu\n          build-args: |\n            REF=main\n            PYTORCH=pre\n          push: true\n          tags: huggingface/transformers-all-latest-torch-nightly-gpu\n\n  nightly-torch-deepspeed-docker:\n    name: \"Nightly PyTorch + DeepSpeed\"\n    runs-on: [intel-cpu, 8-cpu, ci]\n    steps:\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      -\n        name: Check out code\n        uses: actions/checkout@v4\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          context: ./docker/transformers-pytorch-deepspeed-nightly-gpu\n          build-args: |\n            REF=main\n          push: true\n          tags: huggingface/transformers-pytorch-deepspeed-nightly-gpu", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:14.283439", "created_at": "2023-03-31T21:36:22+02:00", "updated_at": "2023-04-06T17:46:00+02:00", "name": "Check Tiny Models", "path": ".github/workflows/check_tiny_models.yml", "contents": "name: Check Tiny Models\r\n\r\non:\r\n  push:\r\n    branches:\r\n      - check_tiny_models*\r\n  repository_dispatch:\r\n  schedule:\r\n    - cron: \"0 2 * * *\"\r\n\r\nenv:\r\n  TOKEN: ${{ secrets.TRANSFORMERS_HUB_BOT_HF_TOKEN }}\r\n\r\njobs:\r\n  check_tiny_models:\r\n    name: Check tiny models\r\n    runs-on: ubuntu-22.04\r\n    steps:\r\n      - name: Checkout transformers\r\n        uses: actions/checkout@v4\r\n        with:\r\n          fetch-depth: 2\r\n\r\n      - uses: actions/checkout@v4\r\n      - name: Set up Python 3.8\r\n        uses: actions/setup-python@v4\r\n        with:\r\n          # Semantic version range syntax or exact version of a Python version\r\n          python-version: '3.8'\r\n          # Optional - x64 or x86 architecture, defaults to x64\r\n          architecture: 'x64'\r\n\r\n      - name: Install\r\n        run: |\r\n          sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev espeak-ng cmake\r\n          pip install --upgrade pip\r\n          python -m pip install -U .[sklearn,torch,testing,sentencepiece,torch-speech,vision,timm,video,tf-cpu]\r\n          pip install tensorflow_probability\r\n          python -m pip install -U 'natten<0.15.0'\r\n\r\n      - name: Create all tiny models (locally)\r\n        run: |\r\n          python utils/create_dummy_models.py tiny_local_models --all --num_workers 2\r\n\r\n      - name: Local tiny model reports artifacts\r\n        if: ${{ always() }}\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: tiny_local_model_creation_reports\r\n          path: tiny_local_models/reports\r\n\r\n      # GitHub-hosted runners have 2-core CPUs\r\n      - name: Run pipeline tests against all new (local) tiny models\r\n        run: |\r\n          OMP_NUM_THREADS=1 TRANSFORMERS_TINY_MODEL_PATH=tiny_local_models python -m pytest --max-worker-restart=0 -n 2 --dist=loadfile -s -rA --make-reports=tests_pipelines tests/models -m is_pipeline_test -k \"test_pipeline_\" | tee tests_output.txt\r\n\r\n      - name: Test suite reports artifacts\r\n        if: ${{ always() }}\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: tiny_local_model_creation_reports\r\n          path: reports/tests_pipelines\r\n\r\n      - name: Create + Upload tiny models for new model architecture(s)\r\n        run: |\r\n          python utils/update_tiny_models.py --num_workers 2\r\n\r\n      - name: Full report\r\n        run: cat tiny_models/reports/tiny_model_creation_report.json\r\n\r\n      - name: Failure report\r\n        run: cat tiny_models/reports/simple_failed_report.txt\r\n\r\n      - name: Summary report\r\n        run: cat tiny_models/reports/tiny_model_summary.json\r\n\r\n      - name: New tiny model creation reports artifacts\r\n        if: ${{ always() }}\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: tiny_model_creation_reports\r\n          path: tiny_models/reports\r\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:15.510070", "created_at": "2023-05-17T07:12:36+02:00", "updated_at": "2023-05-17T13:45:30+02:00", "name": "Count 🤗 stars ⭐", "path": ".github/workflows/count_stars.yml", "contents": null, "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:16.655447", "created_at": "2023-06-07T17:33:45+02:00", "updated_at": "2024-03-19T15:12:23+01:00", "name": "Upload PR Documentation", "path": ".github/workflows/upload_pr_documentation.yml", "contents": "name: Upload PR Documentation\n\non:\n  workflow_run:\n    workflows: [\"Build PR Documentation\"]\n    types:\n      - completed\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main\n    with:\n      package_name: transformers\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n      comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:17.717631", "created_at": "2023-09-12T16:54:52+02:00", "updated_at": "2023-09-20T14:48:56+02:00", "name": "Self-hosted runner AMD GPU (push)", "path": ".github/workflows/self-push-amd.yml", "contents": "name: Self-hosted runner AMD GPU (push)\n\non:\n  workflow_call:\n    inputs:\n      gpu_flavor:\n        required: true\n        type: string\n\nenv:\n  HF_HOME: /mnt/cache\n  TRANSFORMERS_IS_CI: yes\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n  PYTEST_TIMEOUT: 60\n  TF_FORCE_GPU_ALLOW_GROWTH: true\n  RUN_PT_TF_CROSS_TESTS: 1\n  HF_HUB_READ_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}\n\njobs:\n  check_runner_status:\n    name: Check Runner Status\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout transformers\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Check Runner Status\n        run: python utils/check_self_hosted_runner.py --target_runners amd-mi210-single-gpu-ci-runner-docker --token ${{ secrets.ACCESS_REPO_INFO_TOKEN }}\n\n  check_runners:\n    name: Check Runners\n    needs: check_runner_status\n    strategy:\n      matrix:\n        machine_type: [single-gpu, multi-gpu]\n    runs-on: [self-hosted, amd-gpu, '${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}']\n    container:\n      image: huggingface/transformers-pytorch-amd-gpu-push-ci  # <--- We test only for PyTorch for now\n      options: --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      - name: ROCM-SMI\n        run: |\n          rocm-smi\n      - name: ROCM-INFO\n        run: |\n          rocminfo  | grep \"Agent\" -A 14\n      - name: Show ROCR environment\n        run: |\n          echo \"ROCR: $ROCR_VISIBLE_DEVICES\"\n\n  setup_gpu:\n    name: Setup\n    needs: check_runners\n    strategy:\n      matrix:\n        machine_type: [single-gpu, multi-gpu]\n    runs-on: [self-hosted, amd-gpu, '${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}']\n    container:\n      image: huggingface/transformers-pytorch-amd-gpu-push-ci  # <--- We test only for PyTorch for now\n      options: --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n      test_map: ${{ steps.set-matrix.outputs.test_map }}\n    steps:\n      # Necessary to get the correct branch name and commit SHA for `workflow_run` event\n      # We also take into account the `push` event (we might want to test some changes in a branch)\n      - name: Prepare custom environment variables\n        shell: bash\n        # `CI_BRANCH_PUSH`: The branch name from the push event\n        # `CI_BRANCH_WORKFLOW_RUN`: The name of the branch on which this workflow is triggered by `workflow_run` event\n        # `CI_BRANCH`: The non-empty branch name from the above two (one and only one of them is empty)\n        # `CI_SHA_PUSH`: The commit SHA from the push event\n        # `CI_SHA_WORKFLOW_RUN`: The commit SHA that triggers this workflow by `workflow_run` event\n        # `CI_SHA`: The non-empty commit SHA from the above two (one and only one of them is empty)\n        run: |\n          CI_BRANCH_PUSH=${{ github.event.ref }}\n          CI_BRANCH_PUSH=${CI_BRANCH_PUSH/'refs/heads/'/''}\n          CI_BRANCH_WORKFLOW_RUN=${{ github.event.workflow_run.head_branch }}\n          CI_SHA_PUSH=${{ github.event.head_commit.id }}\n          CI_SHA_WORKFLOW_RUN=${{ github.event.workflow_run.head_sha }}\n          echo $CI_BRANCH_PUSH\n          echo $CI_BRANCH_WORKFLOW_RUN\n          echo $CI_SHA_PUSH\n          echo $CI_SHA_WORKFLOW_RUN\n          [[ ! -z \"$CI_BRANCH_PUSH\" ]] && echo \"CI_BRANCH=$CI_BRANCH_PUSH\" >> $GITHUB_ENV || echo \"CI_BRANCH=$CI_BRANCH_WORKFLOW_RUN\" >> $GITHUB_ENV\n          [[ ! -z \"$CI_SHA_PUSH\" ]] && echo \"CI_SHA=$CI_SHA_PUSH\" >> $GITHUB_ENV || echo \"CI_SHA=$CI_SHA_WORKFLOW_RUN\" >> $GITHUB_ENV\n\n      - name: print environment variables\n        run: |\n          echo \"env.CI_BRANCH = ${{ env.CI_BRANCH }}\"\n          echo \"env.CI_SHA = ${{ env.CI_SHA }}\"\n\n      - name: Update clone using environment variables\n        working-directory: /transformers\n        run: |\n          echo \"original branch = $(git branch --show-current)\"\n          git fetch && git checkout ${{ env.CI_BRANCH }}\n          echo \"updated branch = $(git branch --show-current)\"\n          git checkout ${{ env.CI_SHA }}\n          echo \"log = $(git log -n 1)\"\n\n      - name: Cleanup\n        working-directory: /transformers\n        run: |\n          rm -rf tests/__pycache__\n          rm -rf tests/models/__pycache__\n          rm -rf reports\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Fetch the tests to run\n        working-directory: /transformers\n        # TODO: add `git-python` in the docker images\n        run: |\n          pip install --upgrade git-python\n          python3 utils/tests_fetcher.py --diff_with_last_commit | tee test_preparation.txt\n\n      - name: Report fetched tests\n        uses: actions/upload-artifact@v4\n        with:\n          name: test_fetched\n          path: /transformers/test_preparation.txt\n\n      - id: set-matrix\n        name: Organize tests into models\n        working-directory: /transformers\n        # The `keys` is used as GitHub actions matrix for jobs, i.e. `models/bert`, `tokenization`, `pipeline`, etc.\n        # The `test_map` is used to get the actual identified test files under each key.\n        # If no test to run (so no `test_map.json` file), create a dummy map (empty matrix will fail)\n        run: |\n          if [ -f test_map.json ]; then\n              keys=$(python3 -c 'import json; fp = open(\"test_map.json\"); test_map = json.load(fp); fp.close(); d = list(test_map.keys()); print(d)')\n              test_map=$(python3 -c 'import json; fp = open(\"test_map.json\"); test_map = json.load(fp); fp.close(); print(test_map)')\n          else\n              keys=$(python3 -c 'keys = [\"dummy\"]; print(keys)')\n              test_map=$(python3 -c 'test_map = {\"dummy\": []}; print(test_map)')\n          fi\n          echo $keys\n          echo $test_map\n          echo \"matrix=$keys\" >> $GITHUB_OUTPUT\n          echo \"test_map=$test_map\" >> $GITHUB_OUTPUT\n\n  run_models_gpu:\n    name: Model tests\n    needs: setup_gpu\n    # `dummy` means there is no test to run\n    if: contains(fromJson(needs.setup_gpu.outputs.matrix), 'dummy') != true\n    strategy:\n      fail-fast: false\n      matrix:\n        folders: ${{ fromJson(needs.setup_gpu.outputs.matrix) }}\n        machine_type: [single-gpu, multi-gpu]\n    runs-on: [self-hosted, amd-gpu, '${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}']\n    container:\n      image: huggingface/transformers-pytorch-amd-gpu-push-ci  # <--- We test only for PyTorch for now\n      options: --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      # Necessary to get the correct branch name and commit SHA for `workflow_run` event\n      # We also take into account the `push` event (we might want to test some changes in a branch)\n      - name: Prepare custom environment variables\n        shell: bash\n        # For the meaning of these environment variables, see the job `Setup`\n        run: |\n          CI_BRANCH_PUSH=${{ github.event.ref }}\n          CI_BRANCH_PUSH=${CI_BRANCH_PUSH/'refs/heads/'/''}\n          CI_BRANCH_WORKFLOW_RUN=${{ github.event.workflow_run.head_branch }}\n          CI_SHA_PUSH=${{ github.event.head_commit.id }}\n          CI_SHA_WORKFLOW_RUN=${{ github.event.workflow_run.head_sha }}\n          echo $CI_BRANCH_PUSH\n          echo $CI_BRANCH_WORKFLOW_RUN\n          echo $CI_SHA_PUSH\n          echo $CI_SHA_WORKFLOW_RUN\n          [[ ! -z \"$CI_BRANCH_PUSH\" ]] && echo \"CI_BRANCH=$CI_BRANCH_PUSH\" >> $GITHUB_ENV || echo \"CI_BRANCH=$CI_BRANCH_WORKFLOW_RUN\" >> $GITHUB_ENV\n          [[ ! -z \"$CI_SHA_PUSH\" ]] && echo \"CI_SHA=$CI_SHA_PUSH\" >> $GITHUB_ENV || echo \"CI_SHA=$CI_SHA_WORKFLOW_RUN\" >> $GITHUB_ENV\n\n      - name: print environment variables\n        run: |\n          echo \"env.CI_BRANCH = ${{ env.CI_BRANCH }}\"\n          echo \"env.CI_SHA = ${{ env.CI_SHA }}\"\n\n      - name: Update clone using environment variables\n        working-directory: /transformers\n        run: |\n          echo \"original branch = $(git branch --show-current)\"\n          git fetch && git checkout ${{ env.CI_BRANCH }}\n          echo \"updated branch = $(git branch --show-current)\"\n          git checkout ${{ env.CI_SHA }}\n          echo \"log = $(git log -n 1)\"\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: Echo folder ${{ matrix.folders }}\n        shell: bash\n        # For folders like `models/bert`, set an env. var. (`matrix_folders`) to `models_bert`, which will be used to\n        # set the artifact folder names (because the character `/` is not allowed).\n        run: |\n          echo \"${{ matrix.folders }}\"\n          echo \"${{ fromJson(needs.setup_gpu.outputs.test_map)[matrix.folders] }}\"\n          matrix_folders=${{ matrix.folders }}\n          matrix_folders=${matrix_folders/'models/'/'models_'}\n          echo \"$matrix_folders\"\n          echo \"matrix_folders=$matrix_folders\" >> $GITHUB_ENV\n\n      - name: ROCM-SMI\n        run: |\n          rocm-smi\n      - name: ROCM-INFO\n        run: |\n          rocminfo  | grep \"Agent\" -A 14\n      - name: Show ROCR environment\n        run: |\n          echo \"ROCR: $ROCR_VISIBLE_DEVICES\"\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run all non-slow selected tests on GPU\n        working-directory: /transformers\n        run: |\n          python3 -m pytest -n 2 --dist=loadfile -v --make-reports=${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports ${{ fromJson(needs.setup_gpu.outputs.test_map)[matrix.folders] }} -m \"not not_device_test\"\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_models_gpu_${{ env.matrix_folders }}_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_models_gpu_${{ env.matrix_folders }}_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports\n\n  send_results:\n    name: Send results to webhook\n    runs-on: ubuntu-22.04\n    if: always()\n    needs: [\n        check_runner_status,\n        check_runners,\n        setup_gpu,\n        run_models_gpu,\n#        run_tests_torch_cuda_extensions_single_gpu,\n#        run_tests_torch_cuda_extensions_multi_gpu\n    ]\n    steps:\n      - name: Preliminary job status\n        shell: bash\n        # For the meaning of these environment variables, see the job `Setup`\n        run: |\n          echo \"Runner availability: ${{ needs.check_runner_status.result }}\"\n          echo \"Setup status: ${{ needs.setup_gpu.result }}\"\n          echo \"Runner status: ${{ needs.check_runners.result }}\"\n\n      # Necessary to get the correct branch name and commit SHA for `workflow_run` event\n      # We also take into account the `push` event (we might want to test some changes in a branch)\n      - name: Prepare custom environment variables\n        shell: bash\n        # For the meaning of these environment variables, see the job `Setup`\n        run: |\n          CI_BRANCH_PUSH=${{ github.event.ref }}\n          CI_BRANCH_PUSH=${CI_BRANCH_PUSH/'refs/heads/'/''}\n          CI_BRANCH_WORKFLOW_RUN=${{ github.event.workflow_run.head_branch }}\n          CI_SHA_PUSH=${{ github.event.head_commit.id }}\n          CI_SHA_WORKFLOW_RUN=${{ github.event.workflow_run.head_sha }}\n          echo $CI_BRANCH_PUSH\n          echo $CI_BRANCH_WORKFLOW_RUN\n          echo $CI_SHA_PUSH\n          echo $CI_SHA_WORKFLOW_RUN\n          [[ ! -z \"$CI_BRANCH_PUSH\" ]] && echo \"CI_BRANCH=$CI_BRANCH_PUSH\" >> $GITHUB_ENV || echo \"CI_BRANCH=$CI_BRANCH_WORKFLOW_RUN\" >> $GITHUB_ENV\n          [[ ! -z \"$CI_SHA_PUSH\" ]] && echo \"CI_SHA=$CI_SHA_PUSH\" >> $GITHUB_ENV || echo \"CI_SHA=$CI_SHA_WORKFLOW_RUN\" >> $GITHUB_ENV\n\n      - name: print environment variables\n        run: |\n          echo \"env.CI_BRANCH = ${{ env.CI_BRANCH }}\"\n          echo \"env.CI_SHA = ${{ env.CI_SHA }}\"\n\n      - uses: actions/checkout@v4\n        # To avoid failure when multiple commits are merged into `main` in a short period of time.\n        # Checking out to an old commit beyond the fetch depth will get an error `fatal: reference is not a tree: ...\n        # (Only required for `workflow_run` event, where we get the latest HEAD on `main` instead of the event commit)\n        with:\n          fetch-depth: 20\n\n      - name: Update clone using environment variables\n        run: |\n          echo \"original branch = $(git branch --show-current)\"\n          git fetch && git checkout ${{ env.CI_BRANCH }}\n          echo \"updated branch = $(git branch --show-current)\"\n          git checkout ${{ env.CI_SHA }}\n          echo \"log = $(git log -n 1)\"\n\n      - uses: actions/download-artifact@v4\n      - name: Send message to Slack\n        env:\n          CI_SLACK_BOT_TOKEN: ${{ secrets.CI_SLACK_BOT_TOKEN }}\n          CI_SLACK_CHANNEL_ID: ${{ secrets.CI_SLACK_CHANNEL_ID }}\n          CI_SLACK_CHANNEL_ID_DAILY: ${{ secrets.CI_SLACK_CHANNEL_ID_DAILY }}\n          CI_SLACK_CHANNEL_ID_AMD: ${{ secrets.CI_SLACK_CHANNEL_ID_AMD }}\n          CI_SLACK_CHANNEL_DUMMY_TESTS: ${{ secrets.CI_SLACK_CHANNEL_DUMMY_TESTS }}\n          CI_SLACK_REPORT_CHANNEL_ID: ${{ secrets.CI_SLACK_CHANNEL_ID_AMD }}\n          ACCESS_REPO_INFO_TOKEN: ${{ secrets.ACCESS_REPO_INFO_TOKEN }}\n          CI_EVENT: Push CI (AMD) - ${{ inputs.gpu_flavor }}\n          CI_TITLE_PUSH: ${{ github.event.head_commit.message }}\n          CI_TITLE_WORKFLOW_RUN: ${{ github.event.workflow_run.head_commit.message }}\n          CI_SHA: ${{ env.CI_SHA }}\n          RUNNER_STATUS: ${{ needs.check_runner_status.result }}\n          RUNNER_ENV_STATUS: ${{ needs.check_runners.result }}\n          SETUP_STATUS: ${{ needs.setup_gpu.result }}\n\n        # We pass `needs.setup_gpu.outputs.matrix` as the argument. A processing in `notification_service.py` to change\n        # `models/bert` to `models_bert` is required, as the artifact names use `_` instead of `/`.\n        run: |\n          pip install slack_sdk\n          pip show slack_sdk\n          python utils/notification_service.py \"${{ needs.setup_gpu.outputs.matrix }}\"\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:18.781799", "created_at": "2023-10-06T15:30:29+02:00", "updated_at": "2023-10-16T16:24:35+02:00", "name": "Self-hosted runner (AMD mi210 CI caller)", "path": ".github/workflows/self-push-amd-mi210-caller.yml", "contents": "name: Self-hosted runner (AMD mi210 CI caller)\r\n\r\non:\r\n  workflow_run:\r\n    workflows: [\"Self-hosted runner (push-caller)\"]\r\n    branches: [\"main\"]\r\n    types: [completed]\r\n  push:\r\n    branches:\r\n      - run_amd_push_ci_caller*\r\n    paths:\r\n      - \"src/**\"\r\n      - \"tests/**\"\r\n      - \".github/**\"\r\n      - \"templates/**\"\r\n      - \"utils/**\"\r\n\r\njobs:\r\n  run_amd_ci:\r\n    name: AMD mi210\r\n    if: (cancelled() != true) && ((github.event_name == 'workflow_run') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_amd_push_ci_caller')))\r\n    uses: ./.github/workflows/self-push-amd.yml\r\n    with:\r\n      gpu_flavor: mi210\r\n    secrets: inherit\r\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:19.906819", "created_at": "2023-10-06T15:30:29+02:00", "updated_at": "2023-11-27T18:42:50+01:00", "name": "Self-hosted runner (AMD mi250 CI caller)", "path": ".github/workflows/self-push-amd-mi250-caller.yml", "contents": "name: Self-hosted runner (AMD mi250 CI caller)\r\n\r\non:\r\n  workflow_run:\r\n    workflows: [\"Self-hosted runner (push-caller)\"]\r\n    branches: [\"main\"]\r\n    types: [completed]\r\n  push:\r\n    branches:\r\n      - run_amd_push_ci_caller*\r\n    paths:\r\n      - \"src/**\"\r\n      - \"tests/**\"\r\n      - \".github/**\"\r\n      - \"templates/**\"\r\n      - \"utils/**\"\r\n\r\njobs:\r\n  run_amd_ci:\r\n    name: AMD mi250\r\n    if: (cancelled() != true) && ((github.event_name == 'workflow_run') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_amd_push_ci_caller')))\r\n    uses: ./.github/workflows/self-push-amd.yml\r\n    with:\r\n      gpu_flavor: mi250\r\n    secrets: inherit\r\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:21.101829", "created_at": "2023-10-19T17:45:37+02:00", "updated_at": "2023-11-21T14:55:18+01:00", "name": "Self-hosted runner (AMD scheduled CI caller)", "path": ".github/workflows/self-scheduled-amd-caller.yml", "contents": "name: Self-hosted runner (AMD scheduled CI caller)\n\non:\n  schedule:\n    - cron: \"17 2 * * *\"\n\njobs:\n  run_scheduled_amd_ci:\n    name: Trigger Scheduled AMD CI\n    runs-on: ubuntu-22.04\n    if: ${{ always() }}\n    steps:\n      - name: Trigger scheduled AMD CI via workflow_run\n        run: echo \"Trigger scheduled AMD CI via workflow_run\"\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:22.370441", "created_at": "2023-10-26T21:47:56+02:00", "updated_at": "2024-01-18T06:52:03+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:23.603534", "created_at": "2023-11-21T14:55:18+01:00", "updated_at": "2023-11-21T14:55:18+01:00", "name": "Self-hosted runner (scheduled-amd)", "path": ".github/workflows/self-scheduled-amd.yml", "contents": "name: Self-hosted runner (scheduled-amd)\n\n# Note: For the AMD CI, we rely on a caller workflow and on the workflow_call event to trigger the\n# CI in order to run it on both MI210 and MI250, without having to use matrix here which pushes\n# us towards the limit of allowed jobs on GitHub Actions.\non:\n  workflow_call:\n    inputs:\n      gpu_flavor:\n        required: true\n        type: string\n\nenv:\n  HF_HOME: /mnt/cache\n  TRANSFORMERS_IS_CI: yes\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n  RUN_SLOW: yes\n  HF_HUB_READ_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}\n  SIGOPT_API_TOKEN: ${{ secrets.SIGOPT_API_TOKEN }}\n\n\n# Important note: each job (run_tests_single_gpu, run_tests_multi_gpu, run_examples_gpu, run_pipelines_torch_gpu) requires all the previous jobs before running.\n# This is done so that we avoid parallelizing the scheduled tests, to leave available\n# runners for the push CI that is running on the same machine.\njobs:\n  check_runner_status:\n    name: Check Runner Status\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout transformers\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Check Runner Status\n        run: python utils/check_self_hosted_runner.py --target_runners hf-amd-mi210-ci-1gpu-1,hf-amd-mi250-ci-1gpu-1,hf-amd-mi300-ci-1gpu-1 --token ${{ secrets.ACCESS_REPO_INFO_TOKEN }}\n\n  check_runners:\n    name: Check Runners\n    needs: check_runner_status\n    strategy:\n      matrix:\n        machine_type: [single-gpu, multi-gpu]\n    runs-on: [self-hosted, amd-gpu, '${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}']\n    container:\n      image: huggingface/transformers-pytorch-amd-gpu\n      options: --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      - name: ROCM-SMI\n        run: |\n          rocm-smi\n      - name: ROCM-INFO\n        run: |\n          rocminfo  | grep \"Agent\" -A 14\n      - name: Show ROCR environment\n        run: |\n          echo \"ROCR: $ROCR_VISIBLE_DEVICES\"\n\n  setup:\n    name: Setup\n    needs: check_runners\n    strategy:\n      matrix:\n        machine_type: [single-gpu, multi-gpu]\n    runs-on: [self-hosted, amd-gpu, '${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}']\n    container:\n      image: huggingface/transformers-pytorch-amd-gpu\n      options: --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - name: Update clone\n        working-directory: /transformers\n        run: |\n          git fetch && git checkout ${{ github.sha }}\n\n      - name: Cleanup\n        working-directory: /transformers\n        run: |\n          rm -rf tests/__pycache__\n          rm -rf tests/models/__pycache__\n          rm -rf reports\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - id: set-matrix\n        name: Identify models to test\n        working-directory: /transformers/tests\n        run: |\n          echo \"matrix=$(python3 -c 'import os; tests = os.getcwd(); model_tests = os.listdir(os.path.join(tests, \"models\")); d1 = sorted(list(filter(os.path.isdir, os.listdir(tests)))); d2 = sorted(list(filter(os.path.isdir, [f\"models/{x}\" for x in model_tests]))); d1.remove(\"models\"); d = d2 + d1; print(d)')\" >> $GITHUB_OUTPUT\n\n      - name: ROCM-SMI\n        run: |\n          rocm-smi\n\n      - name: ROCM-INFO\n        run: |\n          rocminfo  | grep \"Agent\" -A 14\n      - name: Show ROCR environment\n        run: |\n          echo \"ROCR: $ROCR_VISIBLE_DEVICES\"\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n  run_models_gpu_single_gpu:\n    name: Single GPU tests\n    strategy:\n      max-parallel: 1  # For now, not to parallelize. Can change later if it works well.\n      fail-fast: false\n      matrix:\n        folders: ${{ fromJson(needs.setup.outputs.matrix) }}\n        machine_type: [single-gpu]\n    runs-on: [self-hosted, amd-gpu, '${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}']\n    container:\n      image: huggingface/transformers-pytorch-amd-gpu\n      options: --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    needs: setup\n    steps:\n      - name: Echo folder ${{ matrix.folders }}\n        shell: bash\n        # For folders like `models/bert`, set an env. var. (`matrix_folders`) to `models_bert`, which will be used to\n        # set the artifact folder names (because the character `/` is not allowed).\n        run: |\n          echo \"${{ matrix.folders }}\"\n          matrix_folders=${{ matrix.folders }}\n          matrix_folders=${matrix_folders/'models/'/'models_'}\n          echo \"$matrix_folders\"\n          echo \"matrix_folders=$matrix_folders\" >> $GITHUB_ENV\n\n      - name: Update clone\n        working-directory: /transformers\n        run: git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: ROCM-SMI\n        run: |\n          rocm-smi\n      - name: ROCM-INFO\n        run: |\n          rocminfo  | grep \"Agent\" -A 14\n      - name: Show ROCR environment\n        run: |\n          echo \"ROCR: $ROCR_VISIBLE_DEVICES\"\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run all tests on GPU\n        working-directory: /transformers\n        run: python3 -m pytest -v --make-reports=${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports tests/${{ matrix.folders }} -m \"not not_device_test\"\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_models_gpu_${{ env.matrix_folders }}_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_models_gpu_${{ env.matrix_folders }}_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports\n\n  run_models_gpu_multi_gpu:\n    name: Multi GPU tests\n    strategy:\n      max-parallel: 1\n      fail-fast: false\n      matrix:\n        folders: ${{ fromJson(needs.setup.outputs.matrix) }}\n        machine_type: [multi-gpu]\n    runs-on: [self-hosted, amd-gpu, '${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}']\n    container:\n      image: huggingface/transformers-pytorch-amd-gpu\n      options: --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    needs: setup\n    steps:\n      - name: Echo folder ${{ matrix.folders }}\n        shell: bash\n        # For folders like `models/bert`, set an env. var. (`matrix_folders`) to `models_bert`, which will be used to\n        # set the artifact folder names (because the character `/` is not allowed).\n        run: |\n          echo \"${{ matrix.folders }}\"\n          matrix_folders=${{ matrix.folders }}\n          matrix_folders=${matrix_folders/'models/'/'models_'}\n          echo \"$matrix_folders\"\n          echo \"matrix_folders=$matrix_folders\" >> $GITHUB_ENV\n\n      - name: Update clone\n        working-directory: /transformers\n        run: git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: ROCM-SMI\n        run: |\n          rocm-smi\n      - name: ROCM-INFO\n        run: |\n          rocminfo  | grep \"Agent\" -A 14\n      - name: Show ROCR environment\n        run: |\n          echo \"ROCR: $ROCR_VISIBLE_DEVICES\"\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run all tests on GPU\n        working-directory: /transformers\n        run: python3 -m pytest -v --make-reports=${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports tests/${{ matrix.folders }} -m \"not not_device_test\"\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_models_gpu_${{ env.matrix_folders }}_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_models_gpu_${{ env.matrix_folders }}_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports\n\n  run_examples_gpu:\n    name: Examples tests\n    strategy:\n      fail-fast: false\n      matrix:\n        machine_type: [single-gpu]\n    runs-on: [self-hosted, amd-gpu, '${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}']\n    container:\n      image: huggingface/transformers-pytorch-amd-gpu\n      options: --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    needs: setup\n    steps:\n      - name: Update clone\n        working-directory: /transformers\n        run: git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: ROCM-SMI\n        run: |\n          rocm-smi\n      - name: ROCM-INFO\n        run: |\n          rocminfo  | grep \"Agent\" -A 14\n      - name: Show ROCR environment\n        run: |\n          echo \"ROCR: $ROCR_VISIBLE_DEVICES\"\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run examples tests on GPU\n        working-directory: /transformers\n        run: |\n          pip install -r examples/pytorch/_tests_requirements.txt\n          python3 -m pytest -v --make-reports=${{ matrix.machine_type }}_run_examples_gpu_test_reports examples/pytorch -m \"not not_device_test\"\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ matrix.machine_type }}_run_examples_gpu_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_examples_gpu_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_examples_gpu_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_run_examples_gpu_test_reports\n\n  run_pipelines_torch_gpu:\n    name: PyTorch pipelines tests\n    strategy:\n      fail-fast: false\n      matrix:\n        machine_type: [single-gpu, multi-gpu]\n    runs-on: [self-hosted, amd-gpu, '${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}']\n    container:\n      image: huggingface/transformers-pytorch-amd-gpu\n      options: --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    needs: setup\n    steps:\n      - name: Update clone\n        working-directory: /transformers\n        run: git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: ROCM-SMI\n        run: |\n          rocm-smi\n      - name: ROCM-INFO\n        run: |\n          rocminfo  | grep \"Agent\" -A 14\n      - name: Show ROCR environment\n        run: |\n          echo \"ROCR: $ROCR_VISIBLE_DEVICES\"\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run all pipeline tests on GPU\n        working-directory: /transformers\n        run: |\n          python3 -m pytest -n 1 -v --dist=loadfile --make-reports=${{ matrix.machine_type }}_run_pipelines_torch_gpu_test_reports tests/pipelines -m \"not not_device_test\"\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ matrix.machine_type }}_run_pipelines_torch_gpu_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_pipelines_torch_gpu_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_pipelines_torch_gpu_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_run_pipelines_torch_gpu_test_reports\n\n  run_torch_cuda_extensions_gpu:\n    name: Torch ROCm deepspeed tests\n    strategy:\n      fail-fast: false\n      matrix:\n        machine_type: [single-gpu, multi-gpu]\n\n    runs-on: [self-hosted, amd-gpu, '${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}']\n    needs: setup\n    container:\n      image: huggingface/transformers-pytorch-deepspeed-amd-gpu\n      options: --device /dev/kfd --device /dev/dri --env ROCR_VISIBLE_DEVICES --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      - name: Update clone\n        working-directory: /transformers\n        run: git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: ROCM-SMI\n        run: |\n          rocm-smi\n      - name: ROCM-INFO\n        run: |\n          rocminfo  | grep \"Agent\" -A 14\n\n      - name: Show ROCR environment\n        run: |\n          echo \"ROCR: $ROCR_VISIBLE_DEVICES\"\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run all tests on GPU\n        working-directory: /transformers\n        run: python3 -m pytest -v --make-reports=${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports tests/deepspeed tests/extended -m \"not not_device_test\"\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports/failures_short.txt\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_run_torch_cuda_extensions_gpu_test_reports\n\n  run_extract_warnings:\n    name: Extract warnings in CI artifacts\n    runs-on: ubuntu-22.04\n    if: always()\n    needs: [\n      check_runner_status,\n      check_runners,\n      setup,\n      run_models_gpu_single_gpu,\n      run_models_gpu_multi_gpu,\n      run_examples_gpu,\n      run_pipelines_torch_gpu,\n      run_torch_cuda_extensions_gpu\n    ]\n    steps:\n      - name: Checkout transformers\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Install transformers\n        run: pip install transformers\n\n      - name: Show installed libraries and their versions\n        run: pip freeze\n\n      - name: Create output directory\n        run: mkdir warnings_in_ci\n\n      - uses: actions/download-artifact@v4\n        with:\n          path: warnings_in_ci\n\n      - name: Show artifacts\n        run: echo \"$(python3 -c 'import os; d = os.listdir(); print(d)')\"\n        working-directory: warnings_in_ci\n\n      - name: Extract warnings in CI artifacts\n        run: |\n          python3 utils/extract_warnings.py --workflow_run_id ${{ github.run_id }} --output_dir warnings_in_ci --token ${{ secrets.ACCESS_REPO_INFO_TOKEN }} --from_gh\n          echo \"$(python3 -c 'import os; import json; fp = open(\"warnings_in_ci/selected_warnings.json\"); d = json.load(fp); d = \"\\n\".join(d) ;print(d)')\"\n\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: warnings_in_ci\n          path: warnings_in_ci/selected_warnings.json\n\n  send_results:\n    name: Send results to webhook\n    runs-on: ubuntu-22.04\n    if: always()\n    needs: [\n      check_runner_status,\n      check_runners,\n      setup,\n      run_models_gpu_single_gpu,\n      run_models_gpu_multi_gpu,\n      run_examples_gpu,\n      run_pipelines_torch_gpu,\n      run_torch_cuda_extensions_gpu,\n      run_extract_warnings\n    ]\n    steps:\n      - name: Preliminary job status\n        shell: bash\n        # For the meaning of these environment variables, see the job `Setup`\n        run: |\n          echo \"Runner availability: ${{ needs.check_runner_status.result }}\"\n          echo \"Runner status: ${{ needs.check_runners.result }}\"\n          echo \"Setup status: ${{ needs.setup.result }}\"\n\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n      - name: Send message to Slack\n        env:\n          CI_SLACK_BOT_TOKEN: ${{ secrets.CI_SLACK_BOT_TOKEN }}\n          CI_SLACK_CHANNEL_ID_DAILY_AMD: ${{ secrets.CI_SLACK_CHANNEL_ID_DAILY_AMD }}\n          CI_SLACK_CHANNEL_DUMMY_TESTS: ${{ secrets.CI_SLACK_CHANNEL_DUMMY_TESTS }}\n          CI_SLACK_REPORT_CHANNEL_ID: ${{ secrets.CI_SLACK_CHANNEL_ID_DAILY_AMD }}\n          ACCESS_REPO_INFO_TOKEN: ${{ secrets.ACCESS_REPO_INFO_TOKEN }}\n          CI_EVENT: Scheduled CI (AMD) - ${{ inputs.gpu_flavor }}\n          CI_SHA: ${{ github.sha }}\n          CI_WORKFLOW_REF: ${{ github.workflow_ref }}\n          RUNNER_STATUS: ${{ needs.check_runner_status.result }}\n          RUNNER_ENV_STATUS: ${{ needs.check_runners.result }}\n          SETUP_STATUS: ${{ needs.setup.result }}\n        # We pass `needs.setup.outputs.matrix` as the argument. A processing in `notification_service.py` to change\n        # `models/bert` to `models_bert` is required, as the artifact names use `_` instead of `/`.\n        run: |\n          sudo apt-get install -y curl\n          pip install slack_sdk\n          pip show slack_sdk\n          python utils/notification_service.py \"${{ needs.setup.outputs.matrix }}\"\n\n      # Upload complete failure tables, as they might be big and only truncated versions could be sent to Slack.\n      - name: Failure table artifacts\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: test_failure_tables\n          path: test_failure_tables\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:24.726214", "created_at": "2023-11-27T17:30:31+01:00", "updated_at": "2023-12-04T15:32:11+01:00", "name": "Self-hosted runner (AMD mi250 scheduled CI caller)", "path": ".github/workflows/self-scheduled-amd-mi250-caller.yml", "contents": "name: Self-hosted runner (AMD mi250 scheduled CI caller)\r\n\r\non:\r\n  workflow_run:\r\n    workflows: [\"Self-hosted runner (AMD scheduled CI caller)\"]\r\n    branches: [\"main\"]\r\n    types: [completed]\r\n  push:\r\n    branches:\r\n      - run_amd_scheduled_ci_caller*\r\n\r\njobs:\r\n  run_amd_ci:\r\n    name: AMD mi250\r\n    if: (cancelled() != true) && ((github.event_name == 'workflow_run') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_amd_scheduled_ci_caller')))\r\n    uses: ./.github/workflows/self-scheduled-amd.yml\r\n    with:\r\n      gpu_flavor: mi250\r\n      slack_report_channel: \"#transformers-ci-daily-amd\"\r\n    secrets: inherit\r\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:25.860646", "created_at": "2023-11-27T17:30:31+01:00", "updated_at": "2023-12-04T15:32:11+01:00", "name": "Self-hosted runner (AMD mi210 scheduled CI caller)", "path": ".github/workflows/self-scheduled-amd-mi210-caller.yml", "contents": "name: Self-hosted runner (AMD mi210 scheduled CI caller)\r\n\r\non:\r\n  workflow_run:\r\n    workflows: [\"Self-hosted runner (AMD scheduled CI caller)\"]\r\n    branches: [\"main\"]\r\n    types: [completed]\r\n  push:\r\n    branches:\r\n      - run_amd_scheduled_ci_caller*\r\n\r\njobs:\r\n  run_amd_ci:\r\n    name: AMD mi210\r\n    if: (cancelled() != true) && ((github.event_name == 'workflow_run') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_amd_scheduled_ci_caller')))\r\n    uses: ./.github/workflows/self-scheduled-amd.yml\r\n    with:\r\n      gpu_flavor: mi210\r\n      slack_report_channel: \"#transformers-ci-daily-amd\"\r\n    secrets: inherit\r\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:26.990418", "created_at": "2024-01-31T18:04:45+01:00", "updated_at": "2024-01-31T18:04:45+01:00", "name": "model jobs", "path": ".github/workflows/model_jobs.yml", "contents": "name: model jobs\n\non:\n  workflow_call:\n    inputs:\n      folder_slices:\n        required: true\n        type: string\n      machine_type:\n        required: true\n        type: string\n      slice_id:\n        required: true\n        type: number\n      runner:\n        required: true\n        type: string\n      docker:\n        required: true\n        type: string\n\nenv:\n  HF_HOME: /mnt/cache\n  TRANSFORMERS_IS_CI: yes\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n  RUN_SLOW: yes\n  # For gated repositories, we still need to agree to share information on the Hub repo. page in order to get access.\n  # This token is created under the bot `hf-transformers-bot`.\n  HF_HUB_READ_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}\n  SIGOPT_API_TOKEN: ${{ secrets.SIGOPT_API_TOKEN }}\n  TF_FORCE_GPU_ALLOW_GROWTH: true\n  RUN_PT_TF_CROSS_TESTS: 1\n  CUDA_VISIBLE_DEVICES: 0,1\n\njobs:\n  run_models_gpu:\n    name: \" \"\n    strategy:\n      max-parallel: 8\n      fail-fast: false\n      matrix:\n        folders: ${{ fromJson(inputs.folder_slices)[inputs.slice_id] }}\n    runs-on: ['${{ inputs.machine_type }}', nvidia-gpu, t4, '${{ inputs.runner }}']\n    container:\n      image: ${{ inputs.docker }}\n      options: --gpus all --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      - name: Echo input and matrix info\n        shell: bash\n        run: |\n          echo \"${{ inputs.folder_slices }}\"\n          echo \"${{ matrix.folders }}\"\n          echo \"${{ toJson(fromJson(inputs.folder_slices)[inputs.slice_id]) }}\"\n\n      - name: Echo folder ${{ matrix.folders }}\n        shell: bash\n        # For folders like `models/bert`, set an env. var. (`matrix_folders`) to `models_bert`, which will be used to\n        # set the artifact folder names (because the character `/` is not allowed).\n        run: |\n          echo \"${{ matrix.folders }}\"\n          matrix_folders=${{ matrix.folders }}\n          matrix_folders=${matrix_folders/'models/'/'models_'}\n          echo \"$matrix_folders\"\n          echo \"matrix_folders=$matrix_folders\" >> $GITHUB_ENV\n\n      - name: Update clone\n        working-directory: /transformers\n        run: git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: Update / Install some packages (for Past CI)\n        if: ${{ contains(inputs.docker, '-past-') }}\n        working-directory: /transformers\n        run: |\n          python3 -m pip install -U datasets\n\n      - name: Update / Install some packages (for Past CI)\n        if: ${{ contains(inputs.docker, '-past-') && contains(inputs.docker, '-pytorch-') }}\n        working-directory: /transformers\n        run: |\n          python3 -m pip install --no-cache-dir git+https://github.com/huggingface/accelerate@main#egg=accelerate\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run all tests on GPU\n        working-directory: /transformers\n        run: python3 -m pytest -rsfE -v --make-reports=${{ inputs.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports tests/${{ matrix.folders }}\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ inputs.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports/failures_short.txt\n\n      - name: Run test\n        shell: bash\n        run: |\n          mkdir -p /transformers/reports/${{ inputs.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports\n          echo \"hello\" > /transformers/reports/${{ inputs.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports/hello.txt\n          echo \"${{ inputs.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports\"\n\n      - name: \"Test suite reports artifacts: ${{ inputs.machine_type }}_run_models_gpu_${{ env.matrix_folders }}_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ inputs.machine_type }}_run_models_gpu_${{ env.matrix_folders }}_test_reports\n          path: /transformers/reports/${{ inputs.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:28.005367", "created_at": "2024-02-22T04:34:37+01:00", "updated_at": "2024-02-29T08:12:49+01:00", "name": "Self-hosted runner - SLOW integration tests (DeepSpeed, PEFT, FA2, etc.) (scheduled)", "path": ".github/workflows/slow-integration-tests.yml", "contents": null, "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:29.137500", "created_at": "2024-02-22T07:22:46+01:00", "updated_at": "2024-02-29T08:12:49+01:00", "name": "Self-hosted runner - SLOW Example tests (scheduled)", "path": ".github/workflows/self-examples-test.yml", "contents": null, "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:30.241364", "created_at": "2024-02-29T03:43:02+01:00", "updated_at": "2024-06-03T15:37:43+02:00", "name": "Slow tests on important models (on Push - A10)", "path": ".github/workflows/push-important-models.yml", "contents": "name: Slow tests on important models (on Push - A10)\n\non:\n  push:\n    branches: [ main ]\n\nenv:\n  OUTPUT_SLACK_CHANNEL_ID: \"C06L2SGMEEA\"\n  HF_HUB_READ_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}\n  HF_HOME: /mnt/cache \n  TRANSFORMERS_IS_CI: yes \n  OMP_NUM_THREADS: 8 \n  MKL_NUM_THREADS: 8 \n  RUN_SLOW: yes # For gated repositories, we still need to agree to share information on the Hub repo. page in order to get access. # This token is created under the bot `hf-transformers-bot`. \n  SIGOPT_API_TOKEN: ${{ secrets.SIGOPT_API_TOKEN }} \n  TF_FORCE_GPU_ALLOW_GROWTH: true \n  RUN_PT_TF_CROSS_TESTS: 1\n\njobs:\n  get_modified_models:\n    name: \"Get all modified files\"\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      \n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@3f54ebb830831fc121d3263c1857cfbdc310cdb9 #v42\n        with:\n          files: src/transformers/models/**\n      \n      - name: Run step if only the files listed above change\n        if: steps.changed-files.outputs.any_changed == 'true'\n        id: set-matrix\n        env:\n          ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}\n        run: |\n            model_arrays=()\n            for file in $ALL_CHANGED_FILES; do\n                model_path=\"${file#*models/}\"\n                model_path=\"models/${model_path%%/*}\"\n                if grep -qFx \"$model_path\" utils/important_models.txt; then\n                    # Append the file to the matrix string\n                    model_arrays+=(\"$model_path\")\n                fi\n            done\n            matrix_string=$(printf '\"%s\", ' \"${model_arrays[@]}\" | sed 's/, $//')\n            echo \"matrix=[$matrix_string]\" >> $GITHUB_OUTPUT\n  test_modified_files:\n    needs: get_modified_models\n    name: Slow & FA2 tests\n    runs-on: [single-gpu, nvidia-gpu, a10, ci]\n    container:\n      image: huggingface/transformers-all-latest-gpu\n      options: --gpus all --privileged --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    if: ${{ needs.get_modified_models.outputs.matrix != '[]' && needs.get_modified_models.outputs.matrix != '' && fromJson(needs.get_modified_models.outputs.matrix)[0] != null }}\n    strategy:\n      fail-fast: false\n      matrix: \n        model-name: ${{ fromJson(needs.get_modified_models.outputs.matrix) }}\n\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      \n      - name: Install locally transformers & other libs\n        run: |\n          apt install sudo\n          sudo -H pip install --upgrade pip\n          sudo -H pip uninstall -y transformers \n          sudo -H pip install -U -e \".[testing]\" \n          MAX_JOBS=4 pip install flash-attn --no-build-isolation\n          pip install bitsandbytes\n      \n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n      \n      - name: Show installed libraries and their versions\n        run: pip freeze\n      \n      - name: Run FA2 tests\n        id: run_fa2_tests\n        run:\n          pytest -rsfE -m \"flash_attn_test\" --make-reports=${{ matrix.model-name }}_fa2_tests/ tests/${{ matrix.model-name }}/test_modeling_*\n      \n      - name: \"Test suite reports artifacts: ${{ matrix.model-name }}_fa2_tests\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.model-name }}_fa2_tests\n          path: /transformers/reports/${{ matrix.model-name }}_fa2_tests\n      \n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ env.OUTPUT_SLACK_CHANNEL_ID }}\n          title: 🤗 Results of the FA2 tests - ${{ matrix.model-name }}\n          status: ${{ steps.run_fa2_tests.conclusion}}\n          slack_token: ${{ secrets.CI_SLACK_BOT_TOKEN }}\n      \n      - name: Run integration tests\n        id: run_integration_tests\n        if: always()\n        run:\n          pytest -rsfE -k \"IntegrationTest\"  --make-reports=tests_integration_${{ matrix.model-name }} tests/${{ matrix.model-name }}/test_modeling_*\n      \n      - name: \"Test suite reports artifacts: tests_integration_${{ matrix.model-name }}\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: tests_integration_${{ matrix.model-name }}\n          path: /transformers/reports/tests_integration_${{ matrix.model-name }}\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main \n        with:\n          slack_channel: ${{ env.OUTPUT_SLACK_CHANNEL_ID }}\n          title: 🤗 Results of the Integration tests - ${{ matrix.model-name }}\n          status: ${{ steps.run_integration_tests.conclusion}}\n          slack_token: ${{ secrets.CI_SLACK_BOT_TOKEN }}\n\n      - name: Tailscale # In order to be able to SSH when a test fails\n        if: ${{ runner.debug == '1'}}\n        uses: huggingface/tailscale-action@v1\n        with:\n          authkey: ${{ secrets.TAILSCALE_SSH_AUTHKEY }}\n          slackChannel: ${{ secrets.SLACK_CIFEEDBACK_CHANNEL }}\n          slackToken: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n          waitForSSH: true\n\n  benchmark:\n    name: Benchmark workflow\n    needs: get_modified_models\n    if: ${{ needs.get_modified_models.outputs.matrix != '[]' && needs.get_modified_models.outputs.matrix != '' && fromJson(needs.get_modified_models.outputs.matrix)[0] != null }}\n    uses: ./.github/workflows/benchmark.yml\n    secrets: inherit\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:31.784709", "created_at": "2024-02-29T08:12:49+01:00", "updated_at": "2024-02-29T08:12:49+01:00", "name": "Self-hosted runner - SLOW Generation tests (scheduled)", "path": ".github/workflows/slow-generation-tests.yml", "contents": null, "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:33.020981", "created_at": "2024-02-29T08:24:28+01:00", "updated_at": "2024-02-29T08:24:28+01:00", "name": "Self-hosted runner - SLOW Example tests (scheduled)", "path": ".github/workflows/slow-examples-test.yml", "contents": null, "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:34.146691", "created_at": "2024-02-29T10:27:59+01:00", "updated_at": "2024-02-29T10:27:59+01:00", "name": "Self-hosted runner - SLOW pipeline tests (scheduled)", "path": ".github/workflows/slow-pipeline-tests.yml", "contents": null, "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:35.195736", "created_at": "2024-03-04T03:53:18+01:00", "updated_at": "2024-03-04T03:53:18+01:00", "name": ".github/workflows/send-slack.yml", "path": ".github/workflows/send-slack.yml", "contents": null, "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:36.400355", "created_at": "2024-03-21T14:33:48+01:00", "updated_at": "2024-04-10T16:11:16+02:00", "name": "Self-hosted runner (scheduled)", "path": ".github/workflows/self-scheduled-caller.yml", "contents": "name: Self-hosted runner (scheduled)\n\n\non:\n  repository_dispatch:\n  schedule:\n    - cron: \"17 2 * * *\"\n  push:\n    branches:\n      - run_scheduled_ci*\n\njobs:\n  model-ci:\n    name: Model CI\n    uses: ./.github/workflows/self-scheduled.yml\n    with:\n      job: run_models_gpu\n      slack_report_channel: \"#transformers-ci-daily-models\"\n      runner: daily-ci\n      docker: huggingface/transformers-all-latest-gpu\n      ci_event: Daily CI\n    secrets: inherit\n\n  torch-pipeline:\n    name: Torch pipeline CI\n    uses: ./.github/workflows/self-scheduled.yml\n    with:\n      job: run_pipelines_torch_gpu\n      slack_report_channel: \"#transformers-ci-daily-pipeline-torch\"\n      runner: daily-ci\n      docker: huggingface/transformers-pytorch-gpu\n      ci_event: Daily CI\n    secrets: inherit\n\n  tf-pipeline:\n    name: TF pipeline CI\n    uses: ./.github/workflows/self-scheduled.yml\n    with:\n      job: run_pipelines_tf_gpu\n      slack_report_channel: \"#transformers-ci-daily-pipeline-tf\"\n      runner: daily-ci\n      docker: huggingface/transformers-tensorflow-gpu\n      ci_event: Daily CI\n    secrets: inherit\n\n  example-ci:\n    name: Example CI\n    uses: ./.github/workflows/self-scheduled.yml\n    with:\n      job: run_examples_gpu\n      slack_report_channel: \"#transformers-ci-daily-examples\"\n      runner: daily-ci\n      docker: huggingface/transformers-all-latest-gpu\n      ci_event: Daily CI\n    secrets: inherit\n\n  deepspeed-ci:\n    name: DeepSpeed CI\n    uses: ./.github/workflows/self-scheduled.yml\n    with:\n      job: run_torch_cuda_extensions_gpu\n      slack_report_channel: \"#transformers-ci-daily-deepspeed\"\n      runner: daily-ci\n      docker: huggingface/transformers-pytorch-deepspeed-latest-gpu\n      ci_event: Daily CI\n      working-directory-prefix: /workspace\n    secrets: inherit\n\n  quantization-ci:\n    name: Quantization CI\n    uses: ./.github/workflows/self-scheduled.yml\n    with:\n      job: run_quantization_torch_gpu\n      slack_report_channel: \"#transformers-ci-daily-quantization\"\n      runner: daily-ci\n      docker: huggingface/transformers-quantization-latest-gpu\n      ci_event: Daily CI\n    secrets: inherit\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:37.630647", "created_at": "2024-03-22T15:40:21+01:00", "updated_at": "2024-04-05T15:49:53+02:00", "name": "CI slack report", "path": ".github/workflows/slack-report.yml", "contents": "name: CI slack report\n\non:\n  workflow_call:\n    inputs:\n      job:\n        required: true\n        type: string\n      slack_report_channel:\n        required: true\n        type: string\n      setup_status:\n        required: true\n        type: string\n      folder_slices:\n        required: true\n        type: string\n      quantization_matrix:\n        required: true\n        type: string\n      ci_event:\n        required: true\n        type: string\n\nenv:\n  TRANSFORMERS_CI_RESULTS_UPLOAD_TOKEN: ${{ secrets.TRANSFORMERS_CI_RESULTS_UPLOAD_TOKEN }}\n\njobs:\n  send_results:\n    name: Send results to webhook\n    runs-on: ubuntu-22.04\n    if: always()\n    steps:\n      - name: Preliminary job status\n        shell: bash\n        # For the meaning of these environment variables, see the job `Setup`\n        run: |\n          echo \"Setup status: ${{ inputs.setup_status }}\"\n\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n      - name: Send message to Slack\n        if: ${{ inputs.job != 'run_quantization_torch_gpu' }}\n        env:\n          CI_SLACK_BOT_TOKEN: ${{ secrets.CI_SLACK_BOT_TOKEN }}\n          CI_SLACK_CHANNEL_ID: ${{ secrets.CI_SLACK_CHANNEL_ID }}\n          CI_SLACK_CHANNEL_ID_DAILY: ${{ secrets.CI_SLACK_CHANNEL_ID_DAILY }}\n          CI_SLACK_CHANNEL_DUMMY_TESTS: ${{ secrets.CI_SLACK_CHANNEL_DUMMY_TESTS }}\n          SLACK_REPORT_CHANNEL: ${{ inputs.slack_report_channel }}\n          ACCESS_REPO_INFO_TOKEN: ${{ secrets.ACCESS_REPO_INFO_TOKEN }}\n          CI_EVENT: ${{ inputs.ci_event }}\n          CI_SHA: ${{ github.sha }}\n          CI_WORKFLOW_REF: ${{ github.workflow_ref }}\n          CI_TEST_JOB: ${{ inputs.job }}\n          SETUP_STATUS: ${{ inputs.setup_status }}\n        # We pass `needs.setup.outputs.matrix` as the argument. A processing in `notification_service.py` to change\n        # `models/bert` to `models_bert` is required, as the artifact names use `_` instead of `/`.\n        # For a job that doesn't depend on (i.e. `needs`) `setup`, the value for `inputs.folder_slices` would be an\n        # empty string, and the called script still get one argument (which is the emtpy string).\n        run: |\n          sudo apt-get install -y curl\n          pip install huggingface_hub\n          pip install slack_sdk\n          pip show slack_sdk\n          python utils/notification_service.py \"${{ inputs.folder_slices }}\"\n\n      # Upload complete failure tables, as they might be big and only truncated versions could be sent to Slack.\n      - name: Failure table artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: ci_results_${{ inputs.job }}\n          path: ci_results_${{ inputs.job }}\n      \n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n      - name: Send message to Slack for quantization workflow\n        if: ${{ inputs.job == 'run_quantization_torch_gpu' }}\n        env:\n          CI_SLACK_BOT_TOKEN: ${{ secrets.CI_SLACK_BOT_TOKEN }}\n          ACCESS_REPO_INFO_TOKEN: ${{ secrets.ACCESS_REPO_INFO_TOKEN }}\n          SLACK_REPORT_CHANNEL: ${{ inputs.slack_report_channel }}\n          CI_EVENT: ${{ inputs.ci_event }}\n          CI_SHA: ${{ github.sha }}\n          CI_TEST_JOB: ${{ inputs.job }}\n          SETUP_STATUS: ${{ inputs.setup_status }}\n        # We pass `needs.setup.outputs.quantization_matrix` as the argument. A processing in `notification_service_quantization.py` to change\n        # `quantization/bnb` to `quantization_bnb` is required, as the artifact names use `_` instead of `/`.\n        run: |\n          sudo apt-get install -y curl\n          pip install huggingface_hub\n          pip install slack_sdk\n          pip show slack_sdk\n          python utils/notification_service_quantization.py \"${{ inputs.quantization_matrix }}\" \n\n      # Upload complete failure tables, as they might be big and only truncated versions could be sent to Slack.\n      - name: Failure table artifacts\n        if: ${{ inputs.job == 'run_quantization_torch_gpu' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ci_results_${{ inputs.job }}\n          path: ci_results_${{ inputs.job }}", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:38.759419", "created_at": "2024-04-02T18:00:39+02:00", "updated_at": "2024-05-06T10:10:33+02:00", "name": "Build pr ci-docker", "path": ".github/workflows/build-ci-docker-images.yml", "contents": "name: Build pr ci-docker\n\non:\n  push:\n    branches:\n      - push-ci-image # for now let's only build on this branch\n  repository_dispatch:\n  workflow_call:\n    inputs:\n      image_postfix:\n        required: true\n        type: string\n  schedule:\n    - cron: \"6 0 * * *\"\n\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n\n    if: ${{ contains(github.event.head_commit.message, '[build-ci-image]') || contains(github.event.head_commit.message, '[push-ci-image]') && '!cancelled()' || github.event_name == 'schedule' }}\n\n    strategy:\n      matrix:\n        file: [\"quality\", \"consistency\", \"custom-tokenizers\", \"torch-light\", \"tf-light\", \"exotic-models\", \"torch-tf-light\", \"torch-jax-light\", \"jax-light\", \"examples-torch\",  \"examples-tf\"]\n    continue-on-error: true \n\n    steps:\n      - \n        name: Set tag\n        run: |\n              if ${{contains(github.event.head_commit.message, '[build-ci-image]')}}; then\n                  echo \"TAG=huggingface/transformers-${{ matrix.file }}:dev\" >> \"$GITHUB_ENV\" \n                  echo \"setting it to DEV!\"\n              else\n                  echo \"TAG=huggingface/transformers-${{ matrix.file }}\" >> \"$GITHUB_ENV\"\n                  \n              fi\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      -\n        name: Check out code\n        uses: actions/checkout@v4\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      -\n        name: Build ${{ matrix.file }}.dockerfile\n        uses: docker/build-push-action@v5\n        with:\n          context: ./docker\n          build-args: |\n            REF=${{ github.sha }}\n          file: \"./docker/${{ matrix.file }}.dockerfile\"\n          push: ${{ contains(github.event.head_commit.message, 'ci-image]') ||  github.event_name == 'schedule' }}\n          tags: ${{ env.TAG }}", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:39.885603", "created_at": "2024-04-15T13:20:37+02:00", "updated_at": "2024-04-15T13:20:37+02:00", "name": "Doctest job", "path": ".github/workflows/doctest_job.yml", "contents": "name: Doctest job\n\non:\n  workflow_call:\n    inputs:\n      job_splits:\n        required: true\n        type: string\n      split_keys:\n        required: true\n        type: string\n\nenv:\n  HF_HOME: /mnt/cache\n  TRANSFORMERS_IS_CI: yes\n  RUN_SLOW: yes\n  OMP_NUM_THREADS: 16\n  MKL_NUM_THREADS: 16\n  SIGOPT_API_TOKEN: ${{ secrets.SIGOPT_API_TOKEN }}\n  TF_FORCE_GPU_ALLOW_GROWTH: true\n\njobs:\n  run_doctests:\n    name: \" \"\n    strategy:\n      max-parallel: 8  # 8 jobs at a time\n      fail-fast: false\n      matrix:\n        split_keys: ${{ fromJson(inputs.split_keys) }}\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    container:\n      image: huggingface/transformers-all-latest-gpu\n      options: --gpus 0 --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    steps:\n      - name: Update clone\n        working-directory: /transformers\n        run: git fetch && git checkout ${{ github.sha }}\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .[flax]\n\n      - name: GPU visibility\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        run: pip freeze\n\n      - name: Get doctest files\n        working-directory: /transformers\n        run: |\n          echo \"${{ toJson(fromJson(inputs.job_splits)[matrix.split_keys]) }}\" > doc_tests.txt\n          cat doc_tests.txt\n\n      - name: Set `split_keys`\n        shell: bash\n        run: |\n          echo \"${{ matrix.split_keys }}\"\n          split_keys=${{ matrix.split_keys }}\n          split_keys=${split_keys//'/'/'_'}\n          echo \"split_keys\"\n          echo \"split_keys=$split_keys\" >> $GITHUB_ENV\n\n      - name: Run doctests\n        working-directory: /transformers\n        run: |\n          cat doc_tests.txt\n          python3 -m pytest -v --make-reports doc_tests_gpu_${{ env.split_keys }} --doctest-modules $(cat doc_tests.txt) -sv --doctest-continue-on-failure --doctest-glob=\"*.md\"\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/doc_tests_gpu_${{ env.split_keys }}/failures_short.txt\n\n      - name: \"Test suite reports artifacts: doc_tests_gpu_test_reports_${{ env.split_keys }}\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: doc_tests_gpu_test_reports_${{ env.split_keys }}\n          path: /transformers/reports/doc_tests_gpu_${{ env.split_keys }}\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:40.881036", "created_at": "2024-04-23T14:46:33+02:00", "updated_at": "2024-04-25T10:36:55+02:00", "name": "SSH into our runners", "path": ".github/workflows/ssh-runner.yml", "contents": "name: SSH into our runners\n\non:\n  workflow_dispatch:\n    inputs:\n      runner_type:\n        description: 'Type of runner to test (a10 or t4)'\n        required: true \n      docker_image:\n        description: 'Name of the Docker image'\n        required: true\n      num_gpus:\n        description: 'Type of the number of gpus to use (`single` or `multi`)'\n        required: true\n\nenv:\n  HF_HUB_READ_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}\n  HF_HOME: /mnt/cache \n  TRANSFORMERS_IS_CI: yes \n  OMP_NUM_THREADS: 8 \n  MKL_NUM_THREADS: 8 \n  RUN_SLOW: yes # For gated repositories, we still need to agree to share information on the Hub repo. page in order to get access. # This token is created under the bot `hf-transformers-bot`. \n  SIGOPT_API_TOKEN: ${{ secrets.SIGOPT_API_TOKEN }} \n  TF_FORCE_GPU_ALLOW_GROWTH: true \n  CUDA_VISIBLE_DEVICES: 0,1\n  RUN_PT_TF_CROSS_TESTS: 1\n\njobs:\n  ssh_runner:\n    name: \"SSH\"\n    runs-on: [\"${{ github.event.inputs.num_gpus }}-gpu\", nvidia-gpu, \"${{ github.event.inputs.runner_type }}\", ci]\n    container:\n      image: ${{ github.event.inputs.docker_image }}\n      options: --gpus all --privileged --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n\n    steps:\n      - name: Update clone\n        working-directory: /transformers\n        run: |\n          git fetch && git checkout ${{ github.sha }}\n\n      - name: Cleanup\n        working-directory: /transformers\n        run: |\n          rm -rf tests/__pycache__\n          rm -rf tests/models/__pycache__\n          rm -rf reports\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n      \n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n      \n      - name: Tailscale # In order to be able to SSH when a test fails\n        uses: huggingface/tailscale-action@main\n        with:\n          authkey: ${{ secrets.TAILSCALE_SSH_AUTHKEY }}\n          slackChannel: ${{ secrets.SLACK_CIFEEDBACK_CHANNEL }}\n          slackToken: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n          waitForSSH: true\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:42.032276", "created_at": "2024-04-26T11:12:11+02:00", "updated_at": "2024-05-13T18:14:38+02:00", "name": "Self-hosted runner (AMD mi300 CI caller)", "path": ".github/workflows/self-push-amd-mi300-caller.yml", "contents": "name: Self-hosted runner (AMD mi300 CI caller)\n\non:\n  workflow_run:\n    workflows: [\"Self-hosted runner (push-caller)\"]\n    branches: [\"main\"]\n    types: [completed]\n  push:\n    branches:\n      - run_amd_push_ci_caller*\n    paths:\n      - \"src/**\"\n      - \"tests/**\"\n      - \".github/**\"\n      - \"templates/**\"\n      - \"utils/**\"\n\njobs:\n  run_amd_ci:\n    name: AMD mi300\n    if: (cancelled() != true) && ((github.event_name == 'workflow_run') || ((github.event_name == 'push') && (startsWith(github.ref_name, 'run_amd_push_ci_caller') || startsWith(github.ref_name, 'mi300-ci'))))\n    uses: ./.github/workflows/self-push-amd.yml\n    with:\n      gpu_flavor: mi300\n    secrets: inherit\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:43.261393", "created_at": "2024-04-26T11:21:00+02:00", "updated_at": "2024-05-13T18:14:38+02:00", "name": "Self-hosted runner (AMD mi300 scheduled CI caller)", "path": ".github/workflows/self-scheduled-amd-mi300-caller.yml", "contents": "name: Self-hosted runner (AMD mi300 scheduled CI caller)\n\non:\n  workflow_run:\n    workflows: [\"Self-hosted runner (AMD scheduled CI caller)\"]\n    branches: [\"main\"]\n    types: [completed]\n  push:\n    branches:\n      - run_amd_scheduled_ci_caller*\n\njobs:\n  run_amd_ci:\n    name: AMD mi300\n    needs: build-docker-containers\n    if: (cancelled() != true) && ((github.event_name == 'workflow_run') || ((github.event_name == 'push') && (startsWith(github.ref_name, 'run_amd_push_ci_caller') || startsWith(github.ref_name, 'mi300-ci'))))\n    uses: ./.github/workflows/self-scheduled-amd.yml\n    with:\n      gpu_flavor: mi300\n      slack_report_channel: \"#transformers-ci-daily-amd\"\n    secrets: inherit\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:44.422969", "created_at": "2024-04-30T13:57:27+02:00", "updated_at": "2024-04-30T21:05:11+02:00", "name": "PR slow CI", "path": ".github/workflows/self-pr-slow-ci.yml", "contents": "name: PR slow CI\n\non:\n  pull_request:\n    paths:\n      - \"src/transformers/models/*/modeling_*.py\"\n      - \"tests/models/*/test_*.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  HF_HOME: /mnt/cache\n  TRANSFORMERS_IS_CI: yes\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n  RUN_SLOW: yes\n  # For gated repositories, we still need to agree to share information on the Hub repo. page in order to get access.\n  # This token is created under the bot `hf-transformers-bot`.\n  HF_HUB_READ_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}\n  SIGOPT_API_TOKEN: ${{ secrets.SIGOPT_API_TOKEN }}\n  TF_FORCE_GPU_ALLOW_GROWTH: true\n  RUN_PT_TF_CROSS_TESTS: 1\n  CUDA_VISIBLE_DEVICES: 0,1\n\njobs:\n  find_models_to_run:\n      runs-on: ubuntu-22.04\n      name: Find models to run slow tests\n      # Triggered only if the required label `run-slow` is added\n      if: ${{ contains(github.event.pull_request.labels.*.name, 'run-slow') }}\n      outputs:\n        models: ${{ steps.models_to_run.outputs.models }}\n      steps:\n        - uses: actions/checkout@v4\n          with:\n            fetch-depth: \"0\"\n            ref: ${{ github.event.pull_request.head.sha }}\n\n        - name: Get commit message\n          run: |\n            echo \"commit_message=$(git show -s --format=%s)\" >> $GITHUB_ENV\n\n        - name: Get models to run slow tests\n          run: |\n            echo \"${{ env.commit_message }}\"\n            python -m pip install GitPython\n            python utils/pr_slow_ci_models.py --commit_message \"${{ env.commit_message }}\" | tee output.txt\n            echo \"models=$(tail -n 1 output.txt)\" >> $GITHUB_ENV\n\n        - name: Models to run slow tests\n          id: models_to_run\n          run: |\n            echo \"${{ env.models }}\"\n            echo \"models=${{ env.models }}\" >> $GITHUB_OUTPUT\n\n  run_models_gpu:\n      name: Run all tests for the model\n      # Triggered only `find_models_to_run` is triggered (label `run-slow` is added) which gives the models to run\n      # (either a new model PR or via a commit message)\n      if: ${{ needs.find_models_to_run.outputs.models != '[]' }}\n      needs: find_models_to_run\n      strategy:\n        fail-fast: false\n        matrix:\n          folders: ${{ fromJson(needs.find_models_to_run.outputs.models) }}\n          machine_type: [single-gpu, multi-gpu]\n      runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, ci]\n      container:\n        image: huggingface/transformers-all-latest-gpu\n        options: --gpus all --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n      steps:\n      - name: Echo input and matrix info\n        shell: bash\n        run: |\n          echo \"${{ matrix.folders }}\"\n\n      - name: Echo folder ${{ matrix.folders }}\n        shell: bash\n        # For folders like `models/bert`, set an env. var. (`matrix_folders`) to `models_bert`, which will be used to\n        # set the artifact folder names (because the character `/` is not allowed).\n        run: |\n          echo \"${{ matrix.folders }}\"\n          matrix_folders=${{ matrix.folders }}\n          matrix_folders=${matrix_folders/'models/'/'models_'}\n          echo \"$matrix_folders\"\n          echo \"matrix_folders=$matrix_folders\" >> $GITHUB_ENV\n\n      - name: Update clone\n        working-directory: /transformers\n        run: git fetch && git fetch origin pull/${{ github.event.pull_request.number }}/head:pull/${{ github.event.pull_request.number }}/merge && git checkout pull/${{ github.event.pull_request.number }}/merge\n\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\n        working-directory: /transformers\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n      - name: Environment\n        working-directory: /transformers\n        run: |\n          python3 utils/print_env.py\n\n      - name: Show installed libraries and their versions\n        working-directory: /transformers\n        run: pip freeze\n\n      - name: Run all tests on GPU\n        working-directory: /transformers\n        run: |\n          export CUDA_VISIBLE_DEVICES=\"$(python3 utils/set_cuda_devices_for_ci.py --test_folder ${{ matrix.folders }})\"\n          echo $CUDA_VISIBLE_DEVICES\n          python3 -m pytest -v -rsfE --make-reports=${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports tests/${{ matrix.folders }}\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        continue-on-error: true\n        run: cat /transformers/reports/${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports/failures_short.txt\n\n      - name: Make sure report directory exists\n        shell: bash\n        run: |\n          mkdir -p /transformers/reports/${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports\n          echo \"hello\" > /transformers/reports/${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports/hello.txt\n          echo \"${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports\"\n\n      - name: \"Test suite reports artifacts: ${{ matrix.machine_type }}_run_models_gpu_${{ env.matrix_folders }}_test_reports\"\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.machine_type }}_run_models_gpu_${{ env.matrix_folders }}_test_reports\n          path: /transformers/reports/${{ matrix.machine_type }}_run_models_gpu_${{ matrix.folders }}_test_reports\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:45.615902", "created_at": "2024-05-29T18:27:13+02:00", "updated_at": "2024-06-20T18:57:25+02:00", "name": "Self-hosted runner (nightly-ci)", "path": ".github/workflows/self-nightly-caller.yml", "contents": "name: Self-hosted runner (nightly-ci)\n\n\non:\n  repository_dispatch:\n  schedule:\n    - cron: \"17 2 * * *\"\n  push:\n    branches:\n      - run_nightly_ci*\n\njobs:\n  build_nightly_ci_images:\n    name: Build Nightly CI Docker Images\n    if: (github.event_name == 'schedule') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_nightly_ci'))\n    uses: ./.github/workflows/build-nightly-ci-docker-images.yml\n    secrets: inherit\n\n  model-ci:\n    name: Model CI\n    needs: [build_nightly_ci_images]\n    uses: ./.github/workflows/self-scheduled.yml\n    with:\n      job: run_models_gpu\n      slack_report_channel: \"#transformers-ci-past-future\"\n      runner: ci\n      docker: huggingface/transformers-all-latest-torch-nightly-gpu\n      ci_event: Nightly CI\n    secrets: inherit\n\n  deepspeed-ci:\n    name: DeepSpeed CI\n    needs: [build_nightly_ci_images]\n    uses: ./.github/workflows/self-scheduled.yml\n    with:\n      job: run_torch_cuda_extensions_gpu\n      slack_report_channel: \"#transformers-ci-past-future\"\n      runner: ci\n      # test deepspeed nightly build with the latest release torch\n      docker: huggingface/transformers-pytorch-deepspeed-latest-gpu\n      ci_event: Nightly CI\n      working-directory-prefix: /workspace\n    secrets: inherit\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:46.742270", "created_at": "2024-05-30T16:14:05+02:00", "updated_at": "2024-06-05T10:39:01+02:00", "name": "Self-hosted runner (benchmark)", "path": ".github/workflows/benchmark.yml", "contents": "name: Self-hosted runner (benchmark)\r\n\r\non:\r\n  schedule:\r\n    - cron: \"17 2 * * *\"\r\n  workflow_call:\r\n\r\nenv:\r\n  HF_HOME: /mnt/cache\r\n  TF_FORCE_GPU_ALLOW_GROWTH: true\r\n\r\n\r\njobs:\r\n  benchmark:\r\n    name: Benchmark\r\n    runs-on: [single-gpu, nvidia-gpu, a10, ci]\r\n    container:\r\n      image: huggingface/transformers-all-latest-gpu\r\n      options: --gpus all --privileged --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\r\n    steps:\r\n      - name: Update clone\r\n        working-directory: /transformers\r\n        run: |\r\n          git fetch && git checkout ${{ github.sha }}\r\n\r\n      - name: Reinstall transformers in edit mode (remove the one installed during docker image build)\r\n        working-directory: /transformers\r\n        run: python3 -m pip uninstall -y transformers && python3 -m pip install -e .\r\n\r\n      - name: Benchmark (daily)\r\n        if: github.event_name == 'schedule'\r\n        working-directory: /transformers\r\n        run: |\r\n          python3 -m pip install optimum-benchmark>=0.2.0\r\n          HF_TOKEN=${{ secrets.TRANSFORMERS_BENCHMARK_TOKEN }} python3 benchmark/benchmark.py --repo_id hf-internal-testing/benchmark_results --path_in_repo $(date +'%Y-%m-%d') --config-dir benchmark/config --config-name generation --commit=${{ github.sha }} backend.model=google/gemma-2b backend.cache_implementation=null,static backend.torch_compile=false,true --multirun\r\n\r\n      - name: Benchmark (merged to main event)\r\n        if: github.event_name == 'push' && github.ref_name == 'main'\r\n        working-directory: /transformers\r\n        run: |\r\n          python3 -m pip install optimum-benchmark>=0.2.0\r\n          HF_TOKEN=${{ secrets.TRANSFORMERS_BENCHMARK_TOKEN }} python3 benchmark/benchmark.py --repo_id hf-internal-testing/benchmark_results_merge_event --path_in_repo $(date +'%Y-%m-%d') --config-dir benchmark/config --config-name generation --commit=${{ github.sha }} backend.model=google/gemma-2b backend.cache_implementation=null,static backend.torch_compile=false,true --multirun\r\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:47.868456", "created_at": "2024-06-10T09:48:06+02:00", "updated_at": "2024-06-12T18:00:44+02:00", "name": "Secret Leaks", "path": ".github/workflows/trufflehog.yml", "contents": "on:\n  push:\n\nname: Secret Leaks\n\npermissions:\n  contents: read\n\njobs:\n  trufflehog:\n    runs-on: ubuntu-latest\n    steps:\n    - shell: bash\n      run: |\n        if [ \"${{ github.event_name }}\" == \"push\" ]; then\n          echo \"depth=$(($(jq length <<< '${{ toJson(github.event.commits) }}') + 2))\" >> $GITHUB_ENV\n          echo \"branch=${{ github.ref_name }}\" >> $GITHUB_ENV\n        fi\n        if [ \"${{ github.event_name }}\" == \"pull_request\" ]; then\n          echo \"depth=$((${{ github.event.pull_request.commits }}+2))\" >> $GITHUB_ENV\n          echo \"branch=${{ github.event.pull_request.head.ref }}\" >> $GITHUB_ENV\n        fi\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        ref: ${{env.branch}}\n        fetch-depth: ${{env.depth}}\n    - name: Secret Scanning\n      uses: trufflesecurity/trufflehog@main\n", "state": "active", "repository": "huggingface/transformers"}
{"mined_at": "2024-07-15T15:14:50.035215", "created_at": "2023-04-26T09:34:50+02:00", "updated_at": "2023-06-24T06:25:11+02:00", "name": "Tests", "path": ".github/workflows/ci.yml", "contents": "name: Tests\non:\n  push:\n    branches:\n      - master\n  pull_request_target:\n    branches:\n      - master\nenv:\n  NODE_VERSION: 18\n  YARN_VERSION: 1.22.22\njobs:\n  backend-lint:\n    runs-on: ubuntu-22.04\n    steps:\n      - if: github.event.pull_request.mergeable == 'false'\n        name: Exit if PR is not mergeable\n        run: exit 1\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n          ref: ${{ github.event.pull_request.head.sha }}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n      - run: sudo pip install black==23.1.0 ruff==0.0.287\n      - run: ruff check .\n      - run: black --check .\n\n  backend-unit-tests:\n    runs-on: ubuntu-22.04\n    needs: backend-lint\n    env:\n      COMPOSE_FILE: .ci/compose.ci.yaml\n      COMPOSE_PROJECT_NAME: redash\n      COMPOSE_DOCKER_CLI_BUILD: 1\n      DOCKER_BUILDKIT: 1\n    steps:\n      - if: github.event.pull_request.mergeable == 'false'\n        name: Exit if PR is not mergeable\n        run: exit 1\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Build Docker Images\n        run: |\n          set -x\n          docker compose build --build-arg install_groups=\"main,all_ds,dev\" --build-arg skip_frontend_build=true\n          docker compose up -d\n          sleep 10\n      - name: Create Test Database\n        run: docker compose -p redash run --rm postgres psql -h postgres -U postgres -c \"create database tests;\"\n      - name: List Enabled Query Runners\n        run: docker compose -p redash run --rm redash manage ds list_types\n      - name: Run Tests\n        run: docker compose -p redash run --name tests redash tests --junitxml=junit.xml --cov-report=xml --cov=redash --cov-config=.coveragerc tests/\n      - name: Copy Test Results\n        run: |\n          mkdir -p /tmp/test-results/unit-tests\n          docker cp tests:/app/coverage.xml ./coverage.xml\n          docker cp tests:/app/junit.xml /tmp/test-results/unit-tests/results.xml\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n      - name: Store Test Results\n        uses: actions/upload-artifact@v3\n        with:\n          name: test-results\n          path: /tmp/test-results\n      - name: Store Coverage Results\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage\n          path: coverage.xml\n\n  frontend-lint:\n    runs-on: ubuntu-22.04\n    steps:\n      - if: github.event.pull_request.mergeable == 'false'\n        name: Exit if PR is not mergeable\n        run: exit 1\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n          ref: ${{ github.event.pull_request.head.sha }}\n      - uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n          cache: 'yarn'\n      - name: Install Dependencies\n        run: |\n          npm install --global --force yarn@$YARN_VERSION\n          yarn cache clean && yarn --frozen-lockfile --network-concurrency 1\n      - name: Run Lint\n        run: yarn lint:ci\n      - name: Store Test Results\n        uses: actions/upload-artifact@v3\n        with:\n          name: test-results\n          path: /tmp/test-results\n\n  frontend-unit-tests:\n    runs-on: ubuntu-22.04\n    needs: frontend-lint\n    steps:\n      - if: github.event.pull_request.mergeable == 'false'\n        name: Exit if PR is not mergeable\n        run: exit 1\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n          ref: ${{ github.event.pull_request.head.sha }}\n      - uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n          cache: 'yarn'\n      - name: Install Dependencies\n        run: |\n          npm install --global --force yarn@$YARN_VERSION\n          yarn cache clean && yarn --frozen-lockfile --network-concurrency 1\n      - name: Run App Tests\n        run: yarn test\n      - name: Run Visualizations Tests\n        run: cd viz-lib && yarn test\n      - run: yarn lint\n\n  frontend-e2e-tests:\n    runs-on: ubuntu-22.04\n    needs: frontend-lint\n    env:\n      COMPOSE_FILE: .ci/compose.cypress.yaml\n      COMPOSE_PROJECT_NAME: cypress\n      CYPRESS_INSTALL_BINARY: 0\n      PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1\n      PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}\n      CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}\n      CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}\n    steps:\n      - if: github.event.pull_request.mergeable == 'false'\n        name: Exit if PR is not mergeable\n        run: exit 1\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n          ref: ${{ github.event.pull_request.head.sha }}\n      - uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n          cache: 'yarn'\n      - name: Enable Code Coverage Report For Master Branch\n        if: endsWith(github.ref, '/master')\n        run: |\n          echo \"CODE_COVERAGE=true\" >> \"$GITHUB_ENV\"\n      - name: Install Dependencies\n        run: |\n          npm install --global --force yarn@$YARN_VERSION\n          yarn cache clean && yarn --frozen-lockfile --network-concurrency 1\n      - name: Setup Redash Server\n        run: |\n          set -x\n          yarn cypress build\n          yarn cypress start -- --skip-db-seed\n          docker compose run cypress yarn cypress db-seed\n      - name: Execute Cypress Tests\n        run: yarn cypress run-ci\n      - name: \"Failure: output container logs to console\"\n        if: failure()\n        run: docker compose logs\n      - name: Copy Code Coverage Results\n        run: docker cp cypress:/usr/src/app/coverage ./coverage || true\n      - name: Store Coverage Results\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage\n          path: coverage\n", "state": "active", "repository": "getredash/redash"}
{"mined_at": "2024-07-15T15:14:51.139873", "created_at": "2023-09-02T03:10:48+02:00", "updated_at": "2023-09-02T03:10:48+02:00", "name": "Periodic Snapshot", "path": ".github/workflows/periodic-snapshot.yml", "contents": "name: Periodic Snapshot\n\n# 10 minutes after midnight on the first of every month\non:\n  schedule:\n    - cron: '10 0 1 * *'\n\npermissions:\n  contents: write\n\njobs:\n  bump-version-and-tag:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ssh-key: ${{secrets.ACTION_PUSH_KEY}}\n      - run: |\n          # https://api.github.com/users/github-actions[bot]\n          git config user.name 'github-actions[bot]'\n          git config user.email '41898282+github-actions[bot]@users.noreply.github.com'\n\n          TAG_NAME=\"$(date +%y.%m).0-dev\"\n          gawk -i inplace -F: -v q=\\\" -v tag=${TAG_NAME} '/^  \"version\": / { print $1 FS, q tag q \",\"; next} { print }' package.json\n          gawk -i inplace -F= -v q=\\\" -v tag=${TAG_NAME} '/^__version__ =/ { print $1 FS, q tag q; next} { print }' redash/__init__.py\n          gawk -i inplace -F= -v q=\\\" -v tag=${TAG_NAME} '/^version =/ { print $1 FS, q tag q; next} { print }' pyproject.toml\n          git add package.json redash/__init__.py pyproject.toml\n          git commit -m \"Snapshot: ${TAG_NAME}\"\n          git tag ${TAG_NAME}\n          git push --atomic origin master refs/tags/${TAG_NAME}\n", "state": "active", "repository": "getredash/redash"}
{"mined_at": "2024-07-15T15:14:52.184867", "created_at": "2024-03-01T17:05:15+01:00", "updated_at": "2024-03-01T17:05:15+01:00", "name": "Preview Image", "path": ".github/workflows/preview-image.yml", "contents": "name: Preview Image\non:\n  push:\n    tags:\n      - '*-dev'\n\nenv:\n  NODE_VERSION: 18\n\njobs:\n  build-skip-check:\n    runs-on: ubuntu-22.04\n    outputs:\n      skip: ${{ steps.skip-check.outputs.skip }}\n    steps:\n      - name: Skip?\n        id: skip-check\n        run: |\n          if [[ \"${{ vars.DOCKER_USER }}\" == '' ]]; then\n            echo 'Docker user is empty. Skipping build+push'\n            echo skip=true >> \"$GITHUB_OUTPUT\"\n          elif [[ \"${{ secrets.DOCKER_PASS }}\" == '' ]]; then\n            echo 'Docker password is empty. Skipping build+push'\n            echo skip=true >> \"$GITHUB_OUTPUT\"\n          else\n            echo 'Docker user and password are set and branch is `master`.'\n            echo 'Building + pushing `preview` image.'\n            echo skip=false >> \"$GITHUB_OUTPUT\"\n          fi\n\n  build-docker-image:\n    runs-on: ubuntu-22.04\n    needs:\n      - build-skip-check\n    if: needs.build-skip-check.outputs.skip == 'false'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n          ref: ${{ github.event.push.after }}\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n          cache: 'yarn'\n\n      - name: Install Dependencies\n        run: |\n          npm install --global --force yarn@1.22.22\n          yarn cache clean && yarn --frozen-lockfile --network-concurrency 1\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ vars.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASS }}\n\n      - name: Set version\n        id: version\n        run: |\n          set -x\n          .ci/update_version\n          VERSION_TAG=$(jq -r .version package.json)\n          echo \"VERSION_TAG=$VERSION_TAG\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Build and push preview image to Docker Hub\n        uses: docker/build-push-action@v4\n        with:\n          push: true\n          tags: |\n            redash/redash:preview\n            redash/preview:${{ steps.version.outputs.VERSION_TAG }}\n          context: .\n          build-args: |\n            test_all_deps=true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          platforms: linux/amd64\n        env:\n          DOCKER_CONTENT_TRUST: true\n\n      - name: \"Failure: output container logs to console\"\n        if: failure()\n        run: docker compose logs\n", "state": "active", "repository": "getredash/redash"}
{"mined_at": "2024-07-15T15:14:53.285346", "created_at": "2023-03-21T15:58:58+01:00", "updated_at": "2023-03-21T15:58:58+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "getredash/redash"}
{"mined_at": "2024-07-15T15:14:55.285157", "created_at": "2023-07-25T16:01:09+02:00", "updated_at": "2023-07-25T16:01:09+02:00", "name": "update-html", "path": ".github/workflows/update-html.yml", "contents": "name: update-html\nrun-name: Update dash html components attributes\non:\n  schedule:\n    - cron: 10 0 1 * *\n  workflow_dispatch:\n    inputs:\n      name:\n        description: Name of the run\n        required: false\n        type: string\n\njobs:\n  update-attributes:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: dev\n      - uses: actions/setup-node@v3\n      - name: Extract elements\n        working-directory: ./components/dash-html-components\n        run: |\n          npm ci\n          npm run extract\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v5\n        with:\n          commit-message: Update Dash HTML elements & attributes.\n          body: Automated HTML attributes update.\n", "state": "active", "repository": "plotly/dash"}
{"mined_at": "2024-07-15T15:14:57.295221", "created_at": "2020-06-27T17:38:14+02:00", "updated_at": "2023-04-26T04:43:50+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "open-mmlab/mmdetection"}
{"mined_at": "2024-07-15T15:14:58.391785", "created_at": "2020-12-10T06:17:33+01:00", "updated_at": "2023-04-27T05:45:55+02:00", "name": "build_pat", "path": ".github/workflows/build_pat.yml", "contents": null, "state": "active", "repository": "open-mmlab/mmdetection"}
{"mined_at": "2024-07-15T15:14:59.747419", "created_at": "2020-09-03T17:30:21+02:00", "updated_at": "2020-09-03T17:30:21+02:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\n\non: push\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-n-publish:\n    runs-on: ubuntu-latest\n    if: startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n      - name: Install torch\n        run: pip install torch\n      - name: Install wheel\n        run: pip install wheel\n      - name: Build MMDetection\n        run: python setup.py sdist bdist_wheel\n      - name: Publish distribution to PyPI\n        run: |\n          pip install twine\n          twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}\n", "state": "active", "repository": "open-mmlab/mmdetection"}
{"mined_at": "2024-07-15T15:15:00.859320", "created_at": "2021-11-25T11:01:31+01:00", "updated_at": "2023-04-26T04:43:50+02:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "open-mmlab/mmdetection"}
{"mined_at": "2024-07-15T15:15:03.021315", "created_at": "2021-04-07T11:30:12+02:00", "updated_at": "2021-04-07T11:30:12+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: 'CodeQL'\n\non:\n  schedule:\n    - cron: '0 8 * * 3'\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  analyze:\n    permissions:\n      contents: read # to fetch code (actions/checkout)\n      security-events: write # to upload SARIF results (github/codeql-action/analyze)\n\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n        language: ['javascript', 'python']\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v1\n        with:\n          languages: ${{ matrix.language }}\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "wagtail/wagtail"}
{"mined_at": "2024-07-15T15:15:04.153536", "created_at": "2020-12-29T16:46:25+01:00", "updated_at": "2021-08-12T16:06:44+02:00", "name": "Wagtail Docs", "path": ".github/workflows/docs.yml", "contents": null, "state": "active", "repository": "wagtail/wagtail"}
{"mined_at": "2024-07-15T15:15:05.263343", "created_at": "2023-09-02T13:16:58+02:00", "updated_at": "2023-09-02T13:16:58+02:00", "name": "Postgres CI", "path": ".github/workflows/postgres.yml", "contents": null, "state": "active", "repository": "wagtail/wagtail"}
{"mined_at": "2024-07-15T15:15:06.509467", "created_at": "2020-11-05T13:04:19+01:00", "updated_at": "2021-04-30T11:33:43+02:00", "name": "Wagtail CI", "path": ".github/workflows/test.yml", "contents": "name: Wagtail CI\n\non:\n  push:\n    paths-ignore:\n      - 'docs/**'\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\n# Our test suite should cover:\n# - all supported databases against current Python and Django\n# - at least one test run for each older supported version of Python and Django\n# - at least one test run for each supported Elasticsearch version\n# - a test run against Django's git main and active stable branch (allowing failures)\n# - test runs with USE_EMAIL_USER_MODEL=yes and DISABLE_TIMEZONE=yes\n\n# Current configuration:\n# - django 4.2, python 3.8, postgres:12, parallel\n# - django 4.2, python 3.9, mysql:8.0\n# - django 4.2, python 3.10, sqlite\n# - django 5.0, python 3.12, mysql:8.1, parallel\n# - django 5.0, python 3.11, postgres:12, parallel, USE_EMAIL_USER_MODEL=yes\n# - django 5.0, python 3.12, postgres:15, parallel, DISABLE_TIMEZONE=yes\n# - django stable/5.1.x, python 3.11, postgres:15 (allow failures)\n# - django main, python 3.12, postgres:latest, parallel (allow failures)\n# - elasticsearch 7, django 4.2, python 3.8, postgres:latest\n# - opensearch 2, django 4.2, python 3.9, sqlite\n# - elasticsearch 8, django 5.0, python 3.11, sqlite, USE_EMAIL_USER_MODEL=yes\n\n# Some tests are run in parallel by passing --parallel to runtests.py.\n# When running tests in parallel, some errors cannot be pickled and result in\n# non-helpful tracebacks (see https://code.djangoproject.com/ticket/29023).\n# Thus, we keep one test run without --parallel for each supported database.\n# ElasticSearch tests are not run in parallel as the test suite is not thread-safe.\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  test-sqlite:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - python: '3.10'\n            django: 'Django>=4.2,<4.3'\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e '.[testing]' --config-settings editable_mode=strict\n          pip install \"${{ matrix.django }}\"\n      - name: Test\n        run: |\n          WAGTAIL_FAIL_ON_VERSIONED_STATIC=1 DJANGO_SETTINGS_MODULE=wagtail.test.settings django-admin check\n          coverage run --parallel-mode --source wagtail runtests.py\n        env:\n          DATABASE_ENGINE: django.db.backends.sqlite3\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-data\n          path: .coverage.*\n\n  test-postgres:\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      matrix:\n        include:\n          - python: '3.8'\n            django: 'Django>=4.2,<4.3'\n            experimental: false\n            parallel: '--parallel'\n          - python: '3.11'\n            django: 'Django>=5.0,<5.1'\n            experimental: false\n            emailuser: emailuser\n            parallel: '--parallel'\n          - python: '3.12'\n            django: 'Django>=5.0,<5.1'\n            postgres: 'postgres:15'\n            notz: notz\n            experimental: false\n            parallel: '--parallel'\n          - python: '3.11'\n            django: 'git+https://github.com/django/django.git@stable/5.1.x#egg=Django'\n            postgres: 'postgres:15'\n            experimental: true\n          - python: '3.12'\n            django: 'git+https://github.com/django/django.git@main#egg=Django'\n            experimental: true\n            postgres: 'postgres:latest'\n            parallel: '--parallel'\n    services:\n      postgres:\n        image: ${{ matrix.postgres || 'postgres:12' }}\n        env:\n          POSTGRES_PASSWORD: postgres\n        ports:\n          - 5432:5432\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \"psycopg2>=2.6\"\n          pip install -e '.[testing]' --config-settings editable_mode=strict\n          pip install \"${{ matrix.django }}\"\n          ${{ matrix.install_extras }}\n      - name: Test\n        run: |\n          WAGTAIL_FAIL_ON_VERSIONED_STATIC=1 DJANGO_SETTINGS_MODULE=wagtail.test.settings django-admin check\n          coverage run --parallel-mode --source wagtail runtests.py ${{ matrix.parallel }}\n        env:\n          DATABASE_ENGINE: django.db.backends.postgresql\n          DATABASE_HOST: localhost\n          DATABASE_USER: postgres\n          DATABASE_PASSWORD: postgres\n          USE_EMAIL_USER_MODEL: ${{ matrix.emailuser }}\n          DISABLE_TIMEZONE: ${{ matrix.notz }}\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-data\n          path: .coverage.*\n\n  test-mysql:\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      matrix:\n        include:\n          - python: '3.9'\n            django: 'Django>=4.2,<4.3'\n            experimental: false\n          - python: '3.12'\n            django: 'Django>=5.0,<5.1'\n            experimental: false\n            parallel: '--parallel'\n            mysql: 'mysql:8.1'\n    services:\n      mysql:\n        image: ${{ matrix.mysql || 'mysql:8.0' }}\n        env:\n          MYSQL_ALLOW_EMPTY_PASSWORD: yes\n          MYSQL_DATABASE: wagtail\n        ports:\n          - 3306:3306\n        options: --health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=3 --cap-add=sys_nice\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \"mysqlclient>=1.4,<2\"\n          pip install -e '.[testing]' --config-settings editable_mode=strict\n          pip install \"${{ matrix.django }}\"\n      - name: Test\n        run: |\n          WAGTAIL_FAIL_ON_VERSIONED_STATIC=1 DJANGO_SETTINGS_MODULE=wagtail.test.settings django-admin check\n          coverage run --parallel-mode --source wagtail runtests.py ${{ matrix.parallel }}\n        env:\n          DATABASE_ENGINE: django.db.backends.mysql\n          DATABASE_HOST: '127.0.0.1'\n          DATABASE_USER: root\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-data\n          path: .coverage.*\n\n  test-sqlite-elasticsearch8:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - python: '3.11'\n            django: 'Django>=5.0,<5.1'\n            emailuser: emailuser\n    steps:\n      - name: Configure sysctl limits\n        run: |\n          sudo swapoff -a\n          sudo sysctl -w vm.swappiness=1\n          sudo sysctl -w fs.file-max=262144\n          sudo sysctl -w vm.max_map_count=262144\n      - uses: getong/elasticsearch-action@v1.2\n        with:\n          elasticsearch version: 8.8.0\n          host port: 9200\n          container port: 9200\n          host node port: 9300\n          node port: 9300\n          discovery type: 'single-node'\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e '.[testing]' --config-settings editable_mode=strict\n          pip install \"${{ matrix.django }}\"\n          pip install \"elasticsearch>=8,<9\"\n          pip install certifi\n      - name: Test\n        run: |\n          coverage run --parallel-mode --source wagtail runtests.py wagtail.search wagtail.documents wagtail.images --elasticsearch8\n        env:\n          DATABASE_ENGINE: django.db.backends.sqlite3\n          USE_EMAIL_USER_MODEL: ${{ matrix.emailuser }}\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-data\n          path: .coverage.*\n\n  test-postgres-elasticsearch7:\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      matrix:\n        include:\n          - python: '3.8'\n            django: 'Django>=4.2,<4.3'\n            experimental: false\n\n    services:\n      postgres:\n        image: postgres:latest\n        env:\n          POSTGRES_PASSWORD: postgres\n        ports:\n          - 5432:5432\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n      - name: Configure sysctl limits\n        run: |\n          sudo swapoff -a\n          sudo sysctl -w vm.swappiness=1\n          sudo sysctl -w fs.file-max=262144\n          sudo sysctl -w vm.max_map_count=262144\n      - uses: elastic/elastic-github-actions/elasticsearch@master\n        with:\n          stack-version: 7.6.1\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \"psycopg2>=2.6\"\n          pip install -e '.[testing]' --config-settings editable_mode=strict\n          pip install \"${{ matrix.django }}\"\n          pip install \"elasticsearch>=7,<8\"\n          pip install certifi\n      - name: Test\n        run: |\n          coverage run --parallel-mode --source wagtail runtests.py wagtail.search wagtail.documents wagtail.images --elasticsearch7\n        env:\n          DATABASE_ENGINE: django.db.backends.postgresql\n          DATABASE_HOST: localhost\n          DATABASE_USER: postgres\n          DATABASE_PASSWORD: postgres\n          USE_EMAIL_USER_MODEL: ${{ matrix.emailuser }}\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-data\n          path: .coverage.*\n\n  test-sqlite-opensearch2:\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      matrix:\n        include:\n          - python: '3.9'\n            django: 'Django>=4.2,<4.3'\n            experimental: false\n\n    steps:\n      - name: Configure sysctl limits\n        run: |\n          sudo swapoff -a\n          sudo sysctl -w vm.swappiness=1\n          sudo sysctl -w fs.file-max=262144\n          sudo sysctl -w vm.max_map_count=262144\n      - uses: ankane/setup-opensearch@v1\n        with:\n          opensearch-version: 2\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e '.[testing]' --config-settings editable_mode=strict\n          pip install \"${{ matrix.django }}\"\n          pip install \"elasticsearch==7.13.4\"\n          pip install certifi\n      - name: Test\n        run: |\n          coverage run --parallel-mode --source wagtail runtests.py wagtail.search wagtail.documents wagtail.images --elasticsearch7\n        env:\n          DATABASE_ENGINE: django.db.backends.sqlite3\n          USE_EMAIL_USER_MODEL: ${{ matrix.emailuser }}\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-data\n          path: .coverage.*\n\n  coverage:\n    needs:\n      - test-sqlite\n      - test-postgres\n      - test-mysql\n      - test-sqlite-elasticsearch8\n      - test-postgres-elasticsearch7\n      - test-sqlite-opensearch2\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install coverage\n\n      - name: Download coverage data\n        uses: actions/download-artifact@v3\n        with:\n          name: coverage-data\n\n      - name: Combine coverage data\n        run: |\n          coverage combine\n\n      - name: Generate coverage report\n        run: |\n          coverage report -m --skip-covered --skip-empty | sed 's/^/    /' >> $GITHUB_STEP_SUMMARY\n          coverage html --skip-covered --skip-empty\n\n      - name: Upload HTML report as artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-report\n          path: coverage_html_report\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          flags: backend\n", "state": "active", "repository": "wagtail/wagtail"}
{"mined_at": "2024-07-15T15:15:08.534277", "created_at": "2020-05-31T17:21:44+02:00", "updated_at": "2022-09-12T13:57:52+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non:\n  push:\n    branches: [master, v0.*]\n  pull_request:\n    branches: master\n  schedule:\n    - cron:  '0 6 * * 1,4' # Each Monday and Thursday at 06:00 UTC\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\nenv:\n  NB_KERNEL: python\n  MPLBACKEND: Agg\n  SEABORN_DATA: ${{ github.workspace }}/seaborn-data\n  PYDEVD_DISABLE_FILE_VALIDATION: 1\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n\n      - name: Setup Python 3.11\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: \"3.11\"\n\n      - name: Install seaborn\n        run: |\n          pip install --upgrade pip\n          pip install .[stats,docs]\n\n      - name: Install pandoc\n        run: |\n          wget https://github.com/jgm/pandoc/releases/download/3.1.11/pandoc-3.1.11-1-amd64.deb\n          sudo dpkg -i pandoc-3.1.11-1-amd64.deb\n\n      - name: Cache datasets\n        run: |\n          git clone https://github.com/mwaskom/seaborn-data.git\n          ls $SEABORN_DATA\n\n      - name: Build docs\n        env:\n          SPHINXOPTS: -j `nproc`\n        run: |\n          cd doc\n          make -j `nproc` notebooks\n          make html\n\n\n  run-tests:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        install: [full]\n        deps: [latest]\n\n        include:\n          - python: \"3.8\"\n            install: full\n            deps: pinned\n          - python: \"3.11\"\n            install: light\n            deps: latest\n\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n\n      - name: Setup Python ${{ matrix.python }}\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n\n      - name: Install seaborn\n        run: |\n          pip install --upgrade pip wheel\n          if [[ ${{matrix.install}} == 'full' ]]; then EXTRAS=',stats'; fi\n          if [[ ${{matrix.deps }} == 'pinned' ]]; then DEPS='-r ci/deps_pinned.txt'; fi\n          pip install .[dev$EXTRAS] $DEPS\n\n      - name: Run tests\n        run: make test\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4\n        if: ${{ success() }}\n\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n\n      - name: Setup Python\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n\n      - name: Install tools\n        run: pip install mypy flake8\n\n      - name: Flake8\n        run: make lint\n\n      - name: Type checking\n        run: make typecheck\n", "state": "active", "repository": "mwaskom/seaborn"}
{"mined_at": "2024-07-15T15:15:09.528829", "created_at": "2023-04-26T00:16:00+02:00", "updated_at": "2023-04-26T00:16:00+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mwaskom/seaborn"}
{"mined_at": "2024-07-15T15:15:11.830271", "created_at": "2021-03-19T20:22:46+01:00", "updated_at": "2021-03-19T20:22:46+01:00", "name": "Upstream", "path": ".github/workflows/upstream.yml", "contents": "name: Upstream\n\non:\n  schedule:\n    - cron: \"0 1 * * *\"\n  push:\n  pull_request:\n  workflow_dispatch:\n\n# Required shell entrypoint to have properly activated conda environments\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n\n  check:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' || github.event_name == 'pull_request'\n    outputs:\n      test-upstream: ${{ steps.detect-trigger.outputs.trigger-found }}\n    steps:\n      - uses: actions/checkout@v4.1.5\n        with:\n          fetch-depth: 2\n      - uses: xarray-contrib/ci-trigger@v1\n        id: detect-trigger\n        with:\n          keyword: \"test-upstream\"\n\n  build:\n    needs: check\n    runs-on: ubuntu-latest\n    if: |\n      always()\n      && (\n          needs.check.outputs.test-upstream == 'true'\n          || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'upstream'))\n          || (github.repository == 'dask/dask' && github.event_name != 'pull_request')\n      )\n    timeout-minutes: 90\n\n    env:\n      COVERAGE: \"true\"\n      PARALLEL: \"true\"\n      UPSTREAM_DEV: 1\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4.1.5\n\n      - name: Setup Conda Environment\n        uses: conda-incubator/setup-miniconda@v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          channel-priority: strict\n          environment-file: continuous_integration/environment-3.12.yaml\n          activate-environment: test-environment\n          auto-activate-base: false\n\n      - name: Reconfigure pytest-timeout\n        # No SIGALRM available on Windows\n        if: ${{ matrix.os != 'windows-latest' }}\n        run: sed -i.bak 's/timeout_method = \"thread\"/timeout_method = \"signal\"/' pyproject.toml\n\n      - name: Install\n        run: source continuous_integration/scripts/install.sh\n\n      - name: Run tests\n        id: run_tests\n        env:\n          XTRATESTARGS: \"--report-log output-log.jsonl\"\n        run: source continuous_integration/scripts/run_tests.sh\n\n      - name: Open or update issue on failure\n        if: |\n          failure()\n          && github.event_name != 'pull_request'\n          && github.repository == 'dask/dask'\n          && steps.run_tests.outcome == 'failure'\n        uses: xarray-contrib/issue-from-pytest-log@v1.2.8\n        with:\n          log-path: output-log.jsonl\n          issue-title: ⚠️ Upstream CI failed ⚠️\n          issue-label: upstream\n\n      - name: Coverage\n        uses: codecov/codecov-action@v3\n", "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:13.060140", "created_at": "2021-03-19T20:22:46+01:00", "updated_at": "2021-03-19T20:22:46+01:00", "name": "Additional", "path": ".github/workflows/additional.yml", "contents": "name: Additional\n\non: [push, pull_request]\n\n# Required shell entrypoint to have properly activated conda environments\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  doctest:\n    runs-on: \"ubuntu-latest\"\n    timeout-minutes: 90\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4.1.5\n\n      - name: Setup Conda Environment\n        uses: conda-incubator/setup-miniconda@v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          channel-priority: strict\n          environment-file: continuous_integration/environment-3.12.yaml\n          activate-environment: test-environment\n          auto-activate-base: false\n\n      - name: Install\n        run: source continuous_integration/scripts/install.sh\n\n      - name: Turn off dask-expr config option for legacy doctests\n        run: echo DASK_DATAFRAME__QUERY_PLANNING=False >> $GITHUB_ENV\n\n      - name: Run tests\n        run: pytest -v --doctest-modules --ignore-glob='*/test_*.py' dask\n\n  imports:\n    runs-on: \"ubuntu-latest\"\n    timeout-minutes: 90\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4.1.5\n\n      - name: Setup Conda\n        uses: conda-incubator/setup-miniconda@v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          channel-priority: strict\n          python-version: \"3.9\"\n          activate-environment: test-environment\n          auto-activate-base: false\n\n      - name: Run import tests\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n        run: source continuous_integration/scripts/test_imports.sh\n", "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:14.391583", "created_at": "2021-03-19T20:22:46+01:00", "updated_at": "2021-03-19T20:22:46+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 6,18 * * *\"  \n\n# When this workflow is queued, automatically cancel any previous running\n# or pending jobs from the same branch\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\n# Required shell entrypoint to have properly activated conda environments\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 90\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"windows-latest\", \"ubuntu-latest\", \"macos-14\"]\n        environment: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        extra: [null]\n        exclude:\n          - os: \"macos-14\"\n            environment: \"3.9\"\n          - os: \"macos-14\"\n            environment: \"3.10\"\n          - os: \"macos-14\"\n            environment: \"3.11\"\n        include:\n          # Minimum dependencies\n          - os: \"ubuntu-latest\"\n            environment: \"mindeps-array\"\n          - os: \"ubuntu-latest\"\n            environment: \"mindeps-dataframe\"\n          - os: \"ubuntu-latest\"\n            environment: \"mindeps-distributed\"\n          - os: \"ubuntu-latest\"\n            environment: \"mindeps-non-optional\"\n          - os: \"ubuntu-latest\"\n            environment: \"mindeps-optional\"\n          # Experimental setups\n          - os: \"ubuntu-latest\"\n            environment: \"3.12\"\n            extra: \"pandas-nightly\"\n\n    env:\n      PARALLEL: \"true\"\n      COVERAGE: \"true\"\n      HDF5_USE_FILE_LOCKING: \"FALSE\"\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4.1.5\n        with:\n          fetch-depth: 0  # Needed by codecov.io\n\n      - name: Setup Java\n        uses: actions/setup-java@v4\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        with:\n          distribution: \"zulu\"\n          java-version: \"11\"\n\n      - name: Setup Conda Environment\n        uses: conda-incubator/setup-miniconda@v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          channel-priority: strict\n          environment-file: continuous_integration/environment-${{ matrix.environment }}.yaml\n          activate-environment: test-environment\n          auto-activate-base: false\n\n      - name: Test pandas nightlies (only with dask-expr)\n        if: ${{ matrix.extra == 'pandas-nightly' }}\n        run: python -m pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple pandas -U\n\n      - name: Reconfigure pytest-timeout\n        # No SIGALRM available on Windows\n        if: ${{ matrix.os != 'windows-latest' }}\n        run: sed -i.bak 's/timeout_method = \"thread\"/timeout_method = \"signal\"/' pyproject.toml\n\n      - name: Install\n        run: source continuous_integration/scripts/install.sh\n\n      - name: Run tests\n        id: run_tests\n        run: source continuous_integration/scripts/run_tests.sh\n\n      - name: Coverage\n        uses: codecov/codecov-action@v3\n\n      # The environment file is created in continuous_integration/scripts/install.sh\n      # and can be useful when debugging locally\n      - name: Upload conda environment and test results\n        # ensure this runs even if pytest fails\n        if: >\n          always() &&\n          (steps.run_tests.outcome == 'success' || steps.run_tests.outcome == 'failure')\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.os }}-${{ matrix.environment }}-${{ matrix.extra }}\n          path: |\n            pytest.xml\n            env.yaml\n\n  # Publish an artifact for the event; used by publish-test-results.yaml\n  event_file:\n    # Do not run the schedule job on forks\n    if: github.repository == 'dask/dask' || github.event_name != 'schedule'\n    name: \"Event File\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Upload\n        uses: actions/upload-artifact@v4\n        with:\n          name: Event File\n          path: ${{ github.event_path }}\n", "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:15.507924", "created_at": "2021-03-19T20:22:46+01:00", "updated_at": "2021-03-19T20:22:46+01:00", "name": "Linting", "path": ".github/workflows/pre-commit.yml", "contents": "name: Linting\n\non:\n  push:\n    branches: main\n  pull_request:\n    branches: main\n\njobs:\n  checks:\n    name: pre-commit hooks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.5\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:16.747599", "created_at": "2021-10-18T13:12:10+02:00", "updated_at": "2021-10-18T13:12:10+02:00", "name": "Check for gpuCI updates", "path": ".github/workflows/update-gpuci.yml", "contents": "name: Check for gpuCI updates\n\non:\n  schedule:\n    - cron: \"0 0 * * *\" # Daily “At 00:00” UTC\n  workflow_dispatch:\n\njobs:\n  update-gpuci:\n    runs-on: ubuntu-latest\n    if: github.repository == 'dask/dask'\n\n    steps:\n      - uses: actions/checkout@v4.1.5\n\n      - name: Parse current axis YAML\n        id: rapids_current\n        uses: the-coding-turtle/ga-yaml-parser@v0.1.2\n        with:\n          file: continuous_integration/gpuci/axis.yaml\n\n      - name: Get latest cuDF nightly version\n        id: cudf_latest\n        uses: jacobtomlinson/gha-anaconda-package-version@0.1.3\n        with:\n          org: \"rapidsai-nightly\"\n          package: \"cudf\"\n          version_system: \"CalVer\"\n\n      - name: Get latest UCX-Py nightly version\n        id: ucx_py_latest\n        uses: jacobtomlinson/gha-anaconda-package-version@0.1.3\n        with:\n          org: \"rapidsai-nightly\"\n          package: \"ucx-py\"\n          version_system: \"CalVer\"\n\n      - name: Get old RAPIDS / UCX-Py versions\n        env:\n          FULL_RAPIDS_VER: ${{ steps.cudf_latest.outputs.version }}\n          FULL_UCX_PY_VER: ${{ steps.ucx_py_latest.outputs.version }}\n        run: |\n          echo RAPIDS_VER=${{ steps.rapids_current.outputs.RAPIDS_VER_0 }} >> $GITHUB_ENV\n          echo UCX_PY_VER=$(curl -sL https://version.gpuci.io/rapids/${{ steps.rapids_current.outputs.RAPIDS_VER_0 }}) >> $GITHUB_ENV\n          echo NEW_RAPIDS_VER=$(echo $FULL_RAPIDS_VER | cut -d'.' -f1,2) >> $GITHUB_ENV\n          echo NEW_UCX_PY_VER=$(echo $FULL_UCX_PY_VER | cut -d'.' -f1,2) >> $GITHUB_ENV\n\n      - name: Update RAPIDS version\n        uses: jacobtomlinson/gha-find-replace@v3\n        with:\n          include: 'continuous_integration\\/gpuci\\/axis\\.yaml'\n          find: \"${{ env.RAPIDS_VER }}\"\n          replace: \"${{ env.NEW_RAPIDS_VER }}\"\n          regex: false\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        if: ${{ env.UCX_PY_VER != env.NEW_UCX_PY_VER }}  # make sure new ucx-py nightlies are available\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          draft: true\n          commit-message: \"Update gpuCI `RAPIDS_VER` to `${{ env.NEW_RAPIDS_VER }}`\"\n          title: \"Update gpuCI `RAPIDS_VER` to `${{ env.NEW_RAPIDS_VER }}`\"\n          author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n          branch: \"upgrade-gpuci-rapids\"\n          body: |\n            New cuDF and ucx-py nightly versions have been detected.\n\n            Updated `axis.yaml` to use `${{ env.NEW_RAPIDS_VER }}`.\n", "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:17.971472", "created_at": "2021-10-19T23:23:15+02:00", "updated_at": "2021-10-19T23:23:15+02:00", "name": "Label stale issues and PRs", "path": ".github/workflows/stale-bot.yaml", "contents": "name: 'Label stale issues and PRs'\non:\n  schedule:\n    - cron: '30 1 * * 1' # runs once a week\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          stale-issue-message: '' # no comment left if string is empty\n          stale-pr-message: '' # no comment left if string is empty\n          days-before-stale: 30\n          days-before-close: -1\n          stale-issue-label: 'needs attention'\n          stale-pr-label: 'needs attention'\n          exempt-issue-labels: 'good intro to dask,good first issue,Good First Issue,good second issue,feature request'\n          exempt-draft-pr: true\n          start-date: '2020-04-18T00:00:00Z' # ignore before this date, ISO 8601 or RFC 2822\n", "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:19.203110", "created_at": "2021-12-09T21:11:10+01:00", "updated_at": "2021-12-20T17:38:12+01:00", "name": "Conda build", "path": ".github/workflows/conda.yml", "contents": "name: Conda build\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n  pull_request:\n    paths:\n      - setup.py\n      - continuous_integration/recipe/**\n      - .github/workflows/conda.yml\n      - pyproject.toml\n\n# When this workflow is queued, automatically cancel any previous running\n# or pending jobs from the same branch\nconcurrency:\n  group: conda-${{ github.ref }}\n  cancel-in-progress: true\n\n# Required shell entrypoint to have properly activated conda environments\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  conda:\n    name: Build (and upload)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.5\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: conda-incubator/setup-miniconda@v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          use-mamba: true\n          python-version: 3.9\n          channel-priority: strict\n      - name: Install dependencies\n        run: |\n          mamba install -c conda-forge boa conda-verify\n\n          which python\n          pip list\n          mamba list\n      - name: Build conda package\n        run: |\n          # suffix for nightly package versions\n          export VERSION_SUFFIX=a`date +%y%m%d`\n\n          conda mambabuild continuous_integration/recipe \\\n                           --no-anaconda-upload \\\n                           --output-folder .\n      - name: Upload conda package\n        if: github.event_name == 'push' && github.repository == 'dask/dask'\n        env:\n          ANACONDA_API_TOKEN: ${{ secrets.DASK_CONDA_TOKEN }}\n        run: |\n          # install anaconda for upload\n          mamba install -c conda-forge anaconda-client\n\n          anaconda upload --label dev noarch/*.tar.bz2\n", "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:20.206561", "created_at": "2022-02-28T20:42:28+01:00", "updated_at": "2022-02-28T20:42:28+01:00", "name": "Issue and PR Labeler", "path": ".github/workflows/label-all.yml", "contents": "name: \"Issue and PR Labeler\"\non:\n  pull_request:\n    types: [opened]\n  issues:\n    types: [opened, reopened]\njobs:\n  label-all-on-open:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: andymckay/labeler@1.0.4\n        with:\n          add-labels: \"needs triage\"\n          ignore-if-labeled: false\n", "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:21.336341", "created_at": "2022-10-04T20:11:22+02:00", "updated_at": "2022-10-04T20:11:22+02:00", "name": ".github/workflows/dependabot.yml", "path": ".github/workflows/dependabot.yml", "contents": null, "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:22.347270", "created_at": "2024-01-11T11:08:07+01:00", "updated_at": "2024-01-11T11:08:07+01:00", "name": "Publish test results", "path": ".github/workflows/publish-test-results.yaml", "contents": "# Copied from https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.23/README.md#support-fork-repositories-and-dependabot-branches\n# Warning: changes to this workflow will NOT be picked up until they land in the main branch!\n# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run\n\nname: Publish test results\n\non:\n  workflow_run:\n    workflows: [Tests]\n    types: [completed]\n\njobs:\n  publish-test-results:\n    name: Publish test results\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.conclusion != 'skipped'\n\n    # Needed to post comments on the PR\n    permissions:\n      checks: write\n      pull-requests: write\n\n    steps:\n      - name: Download and extract artifacts\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        run: |\n          mkdir artifacts && cd artifacts\n\n          artifacts_url=${{ github.event.workflow_run.artifacts_url }}\n\n          gh api --paginate \"$artifacts_url\" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact\n          do\n            IFS=$'\\t' read name url <<< \"$artifact\"\n            gh api $url > \"$name.zip\"\n            unzip -d \"$name\" \"$name.zip\"\n          done\n\n      - name: Publish Unit Test Results\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          check_name: Unit Test Results\n          comment_title: |\n            Unit Test Results\n            _See [test report](https://dask.github.io/dask/test_report.html) for an extended history of previous test failures. This is useful for diagnosing flaky tests._\n          commit: ${{ github.event.workflow_run.head_sha }}\n          event_file: artifacts/Event File/event.json\n          event_name: ${{ github.event.workflow_run.event }}\n          junit_files: artifacts/**/*.xml\n          fail_on: \"errors\"\n", "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:23.402091", "created_at": "2024-01-15T12:46:30+01:00", "updated_at": "2024-01-15T12:46:30+01:00", "name": "Test Report", "path": ".github/workflows/test-report.yaml", "contents": "name: Test Report\n\non:\n  schedule:\n    # Run 2h after the daily tests.yaml\n    - cron: \"0 8,20 * * *\"\n  workflow_dispatch:\n\npermissions:\n  contents: write\n\njobs:\n  test-report:\n    name: Test Report\n    # Do not run the report job on forks\n    if: github.repository == 'dask/dask' || github.event_name == 'workflow_dispatch'\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ github.token }}\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4.1.5\n        with:\n          repository: dask/distributed\n\n      - name: Setup Conda Environment\n        uses: conda-incubator/setup-miniconda@v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          condarc-file: continuous_integration/condarc\n          use-mamba: true\n          # Note: this file is in the dask/distributed repo\n          environment-file: continuous_integration/scripts/test-report-environment.yml\n          activate-environment: dask\n\n      - name: Show conda options\n        run: conda config --show\n\n      - name: mamba list\n        run: mamba list\n\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          # Suffix is depending on the backend / OS. Let's be agnostic here\n          # See https://docs.python.org/3/library/shelve.html#shelve.open\n          path: |\n            test_report*\n            !test_report.html\n          # Note: these files are in the dask/distributed repository\n          key: ${{ hashFiles('continuous_integration/scripts/test_report*') }}\n\n      - name: Generate report\n        run: |\n          python continuous_integration/scripts/test_report.py --repo dask/dask --max-days 90 --max-runs 30 --nfails 1 -o test_report.html\n          python continuous_integration/scripts/test_report.py --repo dask/dask --max-days 7 --max-runs 30 --nfails 2 -o test_short_report.html --title \"Test Short Report\"\n          mkdir deploy\n          mv test_report.html test_short_report.html deploy/\n\n      - name: Deploy 🚀\n        uses: JamesIves/github-pages-deploy-action@v4.6.1\n        with:\n          branch: gh-pages\n          folder: deploy\n", "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:24.527420", "created_at": "2024-01-16T10:10:40+01:00", "updated_at": "2024-01-16T10:10:40+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:25.652788", "created_at": "2024-04-19T18:26:46+02:00", "updated_at": "2024-04-19T18:26:46+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    if: github.repository == 'dask/dask'\n    permissions:\n      # Write permission is required to create a GitHub release\n      contents: write\n      pull-requests: read\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0  # Required to get tag history\n      - name: Check if release commit\n        id: check_release_commit\n        run: git describe --exact-match --tags $(git rev-parse HEAD)\n        continue-on-error: true\n      - uses: release-drafter/release-drafter@v6\n        if: steps.check_release_commit.outcome != 'success'\n        with:\n          disable-autolabeler: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:26.677720", "created_at": "2024-04-19T18:26:46+02:00", "updated_at": "2024-04-19T18:26:46+02:00", "name": "Release Publisher", "path": ".github/workflows/release-publish.yml", "contents": "name: Release Publisher\n\non:\n  push:\n    tags:\n      - \"*.*.*\"\n\npermissions:\n  contents: read\n\njobs:\n  publish_release:\n    if: github.repository == 'dask/dask'\n    permissions:\n      # Write permission is required to publish a GitHub release\n      contents: write\n      pull-requests: read\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set version env\n        # Use a little bit of bash to extract the tag name from the GitHub ref\n        run: echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n      - uses: release-drafter/release-drafter@v6\n        with:\n          disable-autolabeler: true\n          # Override the Release name/tag/version with the actual tag name\n          name: ${{ env.RELEASE_VERSION }}\n          tag: ${{ env.RELEASE_VERSION }}\n          version: ${{ env.RELEASE_VERSION }}\n          # Publish the Release\n          publish: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "dask/dask"}
{"mined_at": "2024-07-15T15:15:28.798873", "created_at": "2021-12-12T15:26:13+01:00", "updated_at": "2024-06-21T14:07:28+02:00", "name": "backport", "path": ".github/workflows/backport.yml", "contents": null, "state": "active", "repository": "pytest-dev/pytest"}
{"mined_at": "2024-07-15T15:15:30.059044", "created_at": "2022-03-19T13:34:50+01:00", "updated_at": "2023-06-10T21:27:08+02:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release version'\n        required: true\n        default: '1.2.3'\n\n\n# Set permissions at the job level.\npermissions: {}\n\njobs:\n  package:\n    runs-on: ubuntu-latest\n    env:\n      SETUPTOOLS_SCM_PRETEND_VERSION: ${{ github.event.inputs.version }}\n    timeout-minutes: 10\n\n    # Required by attest-build-provenance-github.\n    permissions:\n      id-token: write\n      attestations: write\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        persist-credentials: false\n\n    - name: Build and Check Package\n      uses: hynek/build-and-inspect-python-package@v2.6.0\n      with:\n        attest-build-provenance-github: 'true'\n\n  deploy:\n    if: github.repository == 'pytest-dev/pytest'\n    needs: [package]\n    runs-on: ubuntu-latest\n    environment: deploy\n    timeout-minutes: 30\n    permissions:\n      id-token: write\n      contents: write\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Download Package\n      uses: actions/download-artifact@v4\n      with:\n        name: Packages\n        path: dist\n\n    - name: Publish package to PyPI\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n\n    - name: Push tag\n      run: |\n        git config user.name \"pytest bot\"\n        git config user.email \"pytestbot@gmail.com\"\n        git tag --annotate --message=v${{ github.event.inputs.version }} ${{ github.event.inputs.version }} ${{ github.sha }}\n        git push origin ${{ github.event.inputs.version }}\n\n  release-notes:\n\n    # todo: generate the content in the build  job\n    #       the goal being of using a github action script to push the release data\n    #       after success instead of creating a complete python/tox env\n    needs: [deploy]\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    permissions:\n      contents: write\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        persist-credentials: false\n\n    - name: Download Package\n      uses: actions/download-artifact@v4\n      with:\n        name: Packages\n        path: dist\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n\n    - name: Install tox\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade tox\n\n    - name: Generate release notes\n      run: |\n        sudo apt-get install pandoc\n        tox -e generate-gh-release-notes -- ${{ github.event.inputs.version }} scripts/latest-release-notes.md\n\n    - name: Publish GitHub Release\n      uses: softprops/action-gh-release@v2\n      with:\n        body_path: scripts/latest-release-notes.md\n        files: dist/*\n        tag_name: ${{ github.event.inputs.version }}\n", "state": "active", "repository": "pytest-dev/pytest"}
{"mined_at": "2024-07-15T15:15:31.047546", "created_at": "2019-12-26T17:32:32+01:00", "updated_at": "2022-03-24T01:38:14+01:00", "name": "main", "path": ".github/workflows/main.yml", "contents": null, "state": "active", "repository": "pytest-dev/pytest"}
{"mined_at": "2024-07-15T15:15:32.093209", "created_at": "2020-12-16T11:50:05+01:00", "updated_at": "2020-12-16T11:50:05+01:00", "name": "prepare release pr", "path": ".github/workflows/prepare-release-pr.yml", "contents": "name: prepare release pr\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Branch to base the release from'\n        required: true\n        default: ''\n      major:\n        description: 'Major release? (yes/no)'\n        required: true\n        default: 'no'\n      prerelease:\n        description: 'Prerelease (ex: rc1). Leave empty if not a pre-release.'\n        required: false\n        default: ''\n\n# Set permissions at the job level.\npermissions: {}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.8\"\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade setuptools tox\n\n    - name: Prepare release PR (minor/patch release)\n      if: github.event.inputs.major == 'no'\n      run: |\n        tox -e prepare-release-pr -- ${{ github.event.inputs.branch }} ${{ github.token }} --prerelease='${{ github.event.inputs.prerelease }}'\n\n    - name: Prepare release PR (major release)\n      if: github.event.inputs.major == 'yes'\n      run: |\n        tox -e prepare-release-pr -- ${{ github.event.inputs.branch }} ${{ github.token }} --major --prerelease='${{ github.event.inputs.prerelease }}'\n", "state": "active", "repository": "pytest-dev/pytest"}
{"mined_at": "2024-07-15T15:15:33.145267", "created_at": "2023-05-11T20:14:57+02:00", "updated_at": "2023-05-11T20:14:57+02:00", "name": "close needs-information issues", "path": ".github/workflows/stale.yml", "contents": "name: close needs-information issues\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n  workflow_dispatch:\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - uses: actions/stale@v9\n        with:\n          debug-only: false\n          days-before-issue-stale: 14\n          days-before-issue-close: 7\n          only-labels: \"status: needs information\"\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue is stale because it has the `status: needs information` label and requested follow-up information was not provided for 14 days.\"\n          close-issue-message: \"This issue was closed because it has the `status: needs information` label and follow-up information has not been provided for 7 days since being marked as stale.\"\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n", "state": "active", "repository": "pytest-dev/pytest"}
{"mined_at": "2024-07-15T15:15:34.255342", "created_at": "2022-03-19T13:00:45+01:00", "updated_at": "2022-03-19T13:34:50+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches:\n      - main\n      - \"[0-9]+.[0-9]+.x\"\n      - \"test-me-*\"\n    tags:\n      - \"[0-9]+.[0-9]+.[0-9]+\"\n      - \"[0-9]+.[0-9]+.[0-9]+rc[0-9]+\"\n\n  pull_request:\n    branches:\n      - main\n      - \"[0-9]+.[0-9]+.x\"\n    types:\n    - opened  # default\n    - synchronize  # default\n    - reopened  # default\n    - ready_for_review  # used in PRs created from the release workflow\n\nenv:\n  PYTEST_ADDOPTS: \"--color=yes\"\n\n# Cancel running jobs for the same workflow and branch.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\n# Set permissions at the job level.\npermissions: {}\n\njobs:\n  package:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        persist-credentials: false\n    - name: Build and Check Package\n      uses: hynek/build-and-inspect-python-package@v2.6.0\n\n  build:\n    needs: [package]\n\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 45\n    permissions:\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\n          \"windows-py38\",\n          \"windows-py38-pluggy\",\n          \"windows-py39\",\n          \"windows-py310\",\n          \"windows-py311\",\n          \"windows-py312\",\n          \"windows-py313\",\n\n          \"ubuntu-py38\",\n          \"ubuntu-py38-pluggy\",\n          \"ubuntu-py38-freeze\",\n          \"ubuntu-py39\",\n          \"ubuntu-py310\",\n          \"ubuntu-py311\",\n          \"ubuntu-py312\",\n          \"ubuntu-py313\",\n          \"ubuntu-pypy3\",\n\n          \"macos-py38\",\n          \"macos-py39\",\n          \"macos-py310\",\n          \"macos-py312\",\n          \"macos-py313\",\n\n          \"doctesting\",\n          \"plugins\",\n        ]\n\n        include:\n          - name: \"windows-py38\"\n            python: \"3.8\"\n            os: windows-latest\n            tox_env: \"py38-unittestextras\"\n            use_coverage: true\n          - name: \"windows-py38-pluggy\"\n            python: \"3.8\"\n            os: windows-latest\n            tox_env: \"py38-pluggymain-pylib-xdist\"\n          - name: \"windows-py39\"\n            python: \"3.9\"\n            os: windows-latest\n            tox_env: \"py39-xdist\"\n          - name: \"windows-py310\"\n            python: \"3.10\"\n            os: windows-latest\n            tox_env: \"py310-xdist\"\n          - name: \"windows-py311\"\n            python: \"3.11\"\n            os: windows-latest\n            tox_env: \"py311\"\n          - name: \"windows-py312\"\n            python: \"3.12\"\n            os: windows-latest\n            tox_env: \"py312\"\n          - name: \"windows-py313\"\n            python: \"3.13-dev\"\n            os: windows-latest\n            tox_env: \"py313\"\n\n          - name: \"ubuntu-py38\"\n            python: \"3.8\"\n            os: ubuntu-latest\n            tox_env: \"py38-lsof-numpy-pexpect\"\n            use_coverage: true\n          - name: \"ubuntu-py38-pluggy\"\n            python: \"3.8\"\n            os: ubuntu-latest\n            tox_env: \"py38-pluggymain-pylib-xdist\"\n          - name: \"ubuntu-py38-freeze\"\n            python: \"3.8\"\n            os: ubuntu-latest\n            tox_env: \"py38-freeze\"\n          - name: \"ubuntu-py39\"\n            python: \"3.9\"\n            os: ubuntu-latest\n            tox_env: \"py39-xdist\"\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n            tox_env: \"py310-xdist\"\n          - name: \"ubuntu-py311\"\n            python: \"3.11\"\n            os: ubuntu-latest\n            tox_env: \"py311\"\n            use_coverage: true\n          - name: \"ubuntu-py312\"\n            python: \"3.12\"\n            os: ubuntu-latest\n            tox_env: \"py312\"\n            use_coverage: true\n          - name: \"ubuntu-py313\"\n            python: \"3.13-dev\"\n            os: ubuntu-latest\n            tox_env: \"py313\"\n            use_coverage: true\n          - name: \"ubuntu-pypy3\"\n            python: \"pypy-3.8\"\n            os: ubuntu-latest\n            tox_env: \"pypy3-xdist\"\n\n          - name: \"macos-py38\"\n            python: \"3.8\"\n            os: macos-latest\n            tox_env: \"py38-xdist\"\n          - name: \"macos-py39\"\n            python: \"3.9\"\n            os: macos-latest\n            tox_env: \"py39-xdist\"\n            use_coverage: true\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-latest\n            tox_env: \"py310-xdist\"\n          - name: \"macos-py312\"\n            python: \"3.12\"\n            os: macos-latest\n            tox_env: \"py312-xdist\"\n          - name: \"macos-py313\"\n            python: \"3.13-dev\"\n            os: macos-latest\n            tox_env: \"py313-xdist\"\n\n          - name: \"plugins\"\n            python: \"3.12\"\n            os: ubuntu-latest\n            tox_env: \"plugins\"\n\n          - name: \"doctesting\"\n            python: \"3.8\"\n            os: ubuntu-latest\n            tox_env: \"doctesting\"\n            use_coverage: true\n\n    continue-on-error: >-\n      ${{\n        contains(\n          fromJSON(\n            '[\n              \"windows-py38-pluggy\",\n              \"windows-py313\",\n              \"ubuntu-py38-pluggy\",\n              \"ubuntu-py38-freeze\",\n              \"ubuntu-py313\",\n              \"macos-py38\",\n              \"macos-py313\"\n            ]'\n          ),\n          matrix.name\n        )\n        && true\n        || false\n      }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        persist-credentials: false\n\n    - name: Download Package\n      uses: actions/download-artifact@v4\n      with:\n        name: Packages\n        path: dist\n\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n        check-latest: ${{ endsWith(matrix.python, '-dev') }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox coverage\n\n    - name: Test without coverage\n      if: \"! matrix.use_coverage\"\n      shell: bash\n      run: tox run -e ${{ matrix.tox_env }} --installpkg `find dist/*.tar.gz`\n\n    - name: Test with coverage\n      if: \"matrix.use_coverage\"\n      shell: bash\n      run: tox run -e ${{ matrix.tox_env }}-coverage --installpkg `find dist/*.tar.gz`\n\n    - name: Generate coverage report\n      if: \"matrix.use_coverage\"\n      run: python -m coverage xml\n\n    - name: Upload coverage to Codecov\n      if: \"matrix.use_coverage\"\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: false\n        files: ./coverage.xml\n        token: 1eca3b1f-31a2-4fb8-a8c3-138b441b50a7 #repo token; cfg read fails\n        verbose: true\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n    - build\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@223e4bb7a751b91f43eda76992bcfbf23b8b0302\n      with:\n        jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "pytest-dev/pytest"}
{"mined_at": "2024-07-15T15:15:35.331214", "created_at": "2021-01-29T15:19:57+01:00", "updated_at": "2021-01-29T15:19:57+01:00", "name": "Update Plugin List", "path": ".github/workflows/update-plugin-list.yml", "contents": "name: Update Plugin List\n\non:\n  schedule:\n    # At 00:00 on Sunday.\n    # https://crontab.guru\n    - cron: '0 0 * * 0'\n  workflow_dispatch:\n\n# Set permissions at the job level.\npermissions: {}\n\njobs:\n  update-plugin-list:\n    if: github.repository_owner == 'pytest-dev'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n      - name: requests-cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pytest-plugin-list/\n          key: plugins-http-cache-${{ github.run_id }} # Can use time based key as well\n          restore-keys: plugins-http-cache-\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install packaging requests tabulate[widechars] tqdm requests-cache platformdirs\n\n\n      - name: Update Plugin List\n        run: python scripts/update-plugin-list.py\n\n      - name: Create Pull Request\n        id: pr\n        uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e\n        with:\n          commit-message: '[automated] Update plugin list'\n          author: 'pytest bot <pytestbot@users.noreply.github.com>'\n          branch: update-plugin-list/patch\n          delete-branch: true\n          branch-suffix: short-commit-hash\n          title: '[automated] Update plugin list'\n          body: '[automated] Update plugin list'\n          draft: true\n\n      - name: Instruct the maintainers to trigger CI by undrafting the PR\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n        run: >-\n          gh pr comment\n          --body 'Please mark the PR as ready for review to trigger PR checks.'\n          --repo '${{ github.repository }}'\n          '${{ steps.pr.outputs.pull-request-number }}'\n", "state": "active", "repository": "pytest-dev/pytest"}
{"mined_at": "2024-07-15T15:15:37.326703", "created_at": "2021-11-16T22:26:23+01:00", "updated_at": "2021-11-16T22:26:23+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [ main, '0.55.x' ]\n  pull_request:\n    branches: [ main, '0.55.x' ]\n\njobs:\n  testenv:\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        project: ['regular', 'headless_only']\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        django-version: ['main', '4.0', '4.1', '4.2', '5.0']\n        exclude:\n          - python-version: '3.8'\n            django-version: '5.0'\n\n          - python-version: '3.9'\n            django-version: '5.0'\n\n          - python-version: '3.8'\n            django-version: 'main'\n\n          - python-version: '3.9'\n            django-version: 'main'\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Updating package list\n      run: sudo apt-get update\n    - name: Install xmlsec\n      run: sudo apt-get install -y xmlsec1 libxmlsec1-dev\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox tox-gh-actions coveralls\n    - name: Tox Test\n      run: tox\n      env:\n        PYTHON_VER: ${{ matrix.python-version }}\n        DJANGO: ${{ matrix.django-version }}\n        PRJ: ${{ matrix.project }}\n    - name: Coverage (Coveralls)\n      if: ${{ success() && matrix.django-version == '5.0' && matrix.python-version == '3.12' && matrix.project == 'regular' }}\n      run: coveralls --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  extra:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        extra-env: ['docs', 'black', 'isort', 'flake8', 'mypy', 'standardjs', 'djlint', 'compilemessages']\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-node@v4\n      if: ${{ matrix.extra-env == 'standardjs' }}\n      with:\n        node-version: '8'\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Updating package list\n      run: sudo apt-get update\n    - name: Install xmlsec\n      run: sudo apt-get install -y xmlsec1 libxmlsec1-dev\n    - name: Install gettext\n      run: sudo apt-get install -y gettext\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: Tox Test\n      run: tox\n      env:\n        TOXENV: ${{ matrix.extra-env }}\n", "state": "active", "repository": "pennersr/django-allauth"}
{"mined_at": "2024-07-15T15:15:39.478445", "created_at": "2022-02-04T10:28:25+01:00", "updated_at": "2023-04-04T15:04:42+02:00", "name": "ci-notebooks", "path": ".github/workflows/ci-notebooks.yml", "contents": "name: ci-notebooks\non:\n  pull_request:\n    paths:\n      - modin/**\n      - examples/tutorial/**\n      - .github/workflows/ci-notebooks.yml\n      - setup.cfg\n      - setup.py\n      - requirements/env_unidist_linux.yml\nconcurrency:\n  # Cancel other jobs in the same branch. We don't care whether CI passes\n  # on old commits.\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}\nenv:\n  MODIN_GITHUB_CI: true\njobs:\n  test-tutorial-notebooks:\n    defaults:\n      run:\n        shell: bash -l {0}\n    name: test tutorial notebooks\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        execution: [pandas_on_ray, pandas_on_dask, pandas_on_unidist]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/python-only\n        if: matrix.execution != 'pandas_on_unidist'\n      - uses: ./.github/actions/mamba-env\n        with:\n          environment-file: requirements/env_unidist_linux.yml\n          activate-environment: modin_on_unidist\n        if: matrix.execution == 'pandas_on_unidist'\n      - name: Cache datasets\n        uses: actions/cache@v4\n        with:\n          path: taxi.csv\n          # update cache only if notebooks require it to be changed\n          key: taxi-csv-dataset-${{ hashFiles('examples/tutorial/jupyter/**') }}\n      # replace modin with . in the tutorial requirements file for `pandas_on_ray` and\n      # `pandas_on_dask` since we need Modin built from sources\n      - run: sed -i 's/modin/./g' examples/tutorial/jupyter/execution/${{ matrix.execution }}/requirements.txt\n        if: matrix.execution != 'pandas_on_unidist'\n      # install dependencies required for notebooks execution for `pandas_on_ray` and `pandas_on_dask`\n      # Override modin-spreadsheet install for now\n      - run: |\n          pip install -r examples/tutorial/jupyter/execution/${{ matrix.execution }}/requirements.txt\n          pip install git+https://github.com/modin-project/modin-spreadsheet.git@49ffd89f683f54c311867d602c55443fb11bf2a5\n        if: matrix.execution != 'pandas_on_unidist'\n      # Build Modin from sources for `pandas_on_unidist`\n      - run: pip install -e .\n        if: matrix.execution == 'pandas_on_unidist'\n      # install test dependencies\n      # NOTE: If you are changing the set of packages installed here, make sure that\n      # the dev requirements match them.\n      - run: pip install pytest pytest-cov black flake8 flake8-print flake8-no-implicit-concat\n        if: matrix.execution != 'pandas_on_unidist'\n      - run: pip install flake8-print jupyter nbformat nbconvert\n        if: matrix.execution == 'pandas_on_unidist'\n      - run: pip list\n        if: matrix.execution != 'pandas_on_unidist'\n      - run: |\n          conda info\n          conda list\n        if: matrix.execution == 'pandas_on_unidist'\n      # setup kernel configuration for `pandas_on_unidist` execution with mpi backend\n      - run: python examples/tutorial/jupyter/execution/${{ matrix.execution }}/setup_kernel.py\n        if: matrix.execution == 'pandas_on_unidist'\n      - run: jupyter kernelspec list\n      - run: |\n          black --check --diff examples/tutorial/jupyter/execution/${{ matrix.execution }}/test/test_notebooks.py\n          black --check --diff examples/tutorial/jupyter/execution/test/utils.py\n      - run: |\n          flake8 --enable=T examples/tutorial/jupyter/execution/${{ matrix.execution }}/test/test_notebooks.py\n          flake8 --enable=T examples/tutorial/jupyter/execution/test/utils.py\n      - run: python -m pytest examples/tutorial/jupyter/execution/${{ matrix.execution }}/test/test_notebooks.py\n", "state": "active", "repository": "modin-project/modin"}
{"mined_at": "2024-07-15T15:15:40.663673", "created_at": "2022-02-04T15:57:52+01:00", "updated_at": "2023-04-04T15:04:42+02:00", "name": "ci-required", "path": ".github/workflows/ci-required.yml", "contents": "name: ci-required\non: pull_request\nconcurrency:\n  # Cancel other jobs in the same branch. We don't care whether CI passes\n  # on old commits.\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}\nenv:\n  MODIN_GITHUB_CI: true\n\njobs:\n\n  check-pr-title:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: Slashgear/action-check-pr-title@v4.3.0\n      with:\n        # NOTE: If you change the allowed prefixes here, update\n        # the documentation about them in /docs/development/contributing.rst\n        regexp: '^(?:FEAT|DOCS|FIX|REFACTOR|TEST|PERF)-#\\d+:'\n\n  build-docs:\n    name: build docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n          architecture: \"x64\"\n          cache: \"pip\"\n          cache-dependency-path: '**/requirements-doc.txt'\n      - run: pip install -r docs/requirements-doc.txt\n      - run: cd docs && sphinx-build -T -E -W -b html . build\n\n  lint-pydocstyle:\n    name: lint (pydocstyle)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/python-only\n      # The `numpydoc` version here MUST match the versions in the dev requirements files.\n      - run: pip install pytest pytest-cov pydocstyle numpydoc==1.6.0\n      - run: python -m pytest scripts/test\n      - run: pip install -e \".[all]\"\n      - run: |\n          python scripts/doc_checker.py --add-ignore=D101,D102,D103,D105 --disable-numpydoc \\\n            modin/pandas/dataframe.py modin/pandas/series.py \\\n            modin/pandas/groupby.py \\\n            modin/pandas/series_utils.py modin/pandas/general.py \\\n            modin/pandas/plotting.py modin/pandas/utils.py \\\n            modin/pandas/iterator.py modin/pandas/indexing.py \\\n      - run: python scripts/doc_checker.py modin/core/dataframe\n      - run: python scripts/doc_checker.py modin/core/execution/dask\n      - run: |\n          python scripts/doc_checker.py \\\n            modin/pandas/accessor.py modin/pandas/general.py \\\n            modin/pandas/groupby.py modin/pandas/indexing.py \\\n            modin/pandas/iterator.py modin/pandas/plotting.py \\\n            modin/pandas/series_utils.py modin/pandas/utils.py \\\n            modin/pandas/base.py \\\n            modin/pandas/io.py \\\n            asv_bench/benchmarks/utils \\\n            asv_bench/benchmarks/__init__.py asv_bench/benchmarks/io/__init__.py \\\n            asv_bench/benchmarks/scalability/__init__.py \\\n            modin/core/io \\\n            modin/pandas/series.py \\\n            modin/core/execution/python \\\n            modin/pandas/dataframe.py \\\n            modin/config/__init__.py \\\n            modin/config/__main__.py \\\n            modin/config/envvars.py \\\n            modin/config/pubsub.py\n      - run: python scripts/doc_checker.py modin/distributed\n      - run: python scripts/doc_checker.py modin/utils.py\n      - run: python scripts/doc_checker.py modin/experimental/sklearn\n      - run: |\n          python scripts/doc_checker.py modin/experimental/xgboost/__init__.py \\\n            modin/experimental/xgboost/utils.py modin/experimental/xgboost/xgboost.py \\\n            modin/experimental/xgboost/xgboost_ray.py\n      - run: python scripts/doc_checker.py modin/core/execution/ray\n      - run: |\n          python scripts/doc_checker.py modin/core/execution/dispatching/factories/factories.py \\\n            modin/core/execution/dispatching/factories/dispatcher.py                            \\\n      - run: python scripts/doc_checker.py scripts/doc_checker.py\n      - run: |\n          python scripts/doc_checker.py modin/experimental/pandas/io.py \\\n            modin/experimental/pandas/__init__.py\n      - run: python scripts/doc_checker.py modin/core/storage_formats/base\n      - run: python scripts/doc_checker.py modin/core/storage_formats/pandas\n      - run: python scripts/doc_checker.py modin/experimental/batch/pipeline.py\n      - run: python scripts/doc_checker.py modin/logging\n\n  lint-black-isort:\n    name: lint (black and isort)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/python-only\n      - run: pip install black>=24.1.0 isort>=5.12\n      # NOTE: keep the black command here in sync with the pre-commit hook in\n      # /contributing/pre-commit\n      - run: black --check --diff modin/ asv_bench/benchmarks scripts/doc_checker.py\n      - run: isort . --check-only\n", "state": "active", "repository": "modin-project/modin"}
{"mined_at": "2024-07-15T15:15:41.745575", "created_at": "2019-12-23T19:28:55+01:00", "updated_at": "2024-06-16T14:08:54+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\non:\n  pull_request:\n    paths:\n      # NOTE: keep these paths in sync with the paths that trigger the\n      # fuzzydata Github Actions in .github/workflows/fuzzydata-test.yml\n      - .github/workflows/**\n      - .github/actions/**\n      - '!.github/workflows/push-to-main.yml'\n      - asv_bench/**\n      - modin/**\n      - requirements/**\n      - scripts/**\n      - environment-dev.yml\n      - requirements-dev.txt\n      - setup.cfg\n      - setup.py\n      - versioneer.py\n  push:\n  schedule:\n    - cron: \"30 2 * * WED\"\n    - cron: \"30 2 * * THU\"\nconcurrency:\n  # Cancel other jobs in the same branch. We don't care whether CI passes\n  # on old commits.\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}\nenv:\n  MODIN_GITHUB_CI: true\n\njobs:\n  python-filter:\n    runs-on: ubuntu-latest\n    outputs:\n      python-version: ${{ steps.choose.outputs.python-version }}\n    steps:\n    - id: choose\n      run: |\n        if [[ \"${{ github.event.schedule }}\" = \"30 2 * * WED\" ]]\n        then\n          echo \"python-version=3.10\" >> \"$GITHUB_OUTPUT\"\n        elif [[ \"${{ github.event.schedule }}\" = \"30 2 * * THU\" ]]\n        then\n          echo \"python-version=3.11\" >> \"$GITHUB_OUTPUT\"\n        else\n          echo \"python-version=3.9\" >> \"$GITHUB_OUTPUT\"\n        fi\n\n  lint-mypy:\n    needs: [python-filter]\n    name: lint (mypy)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/python-only\n        with:\n          python-version: ${{ needs.python-filter.outputs.python-version }}\n      - run: pip install -r requirements-dev.txt\n      - run: mypy --config-file mypy.ini\n\n  lint-flake8:\n    needs: [python-filter]\n    name: lint (flake8)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/python-only\n        with:\n          python-version: ${{ needs.python-filter.outputs.python-version }}\n      # NOTE: If you are changing the set of packages installed here, make sure that\n      # the dev requirements match them.\n      - run: pip install flake8 flake8-print flake8-no-implicit-concat\n      # NOTE: keep the flake8 command here in sync with the pre-commit hook in\n      # /contributing/pre-commit\n      - run: flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py\n\n  test-api-and-no-engine:\n    needs: [python-filter]\n    name: Test API, headers and no-engine mode\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/mamba-env\n        with:\n          environment-file: requirements/requirements-no-engine.yml\n          python-version: ${{ needs.python-filter.outputs.python-version }}\n      - run: python -m pytest modin/tests/pandas/test_api.py\n      - run: python -m pytest modin/tests/test_executions_api.py\n      - run: python -m pytest modin/tests/test_headers.py\n      - run: python -m pytest modin/tests/core/test_dispatcher.py::test_add_option\n      - uses: ./.github/actions/upload-coverage\n\n  test-clean-install:\n    needs: [lint-flake8, python-filter]\n    strategy:\n      matrix:\n        os:\n          - ubuntu\n          - windows\n    runs-on: ${{ matrix.os }}-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    name: test-clean-install-${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/python-only\n        with:\n          python-version: ${{ needs.python-filter.outputs.python-version }}\n      - run: python -m pip install -e \".[all]\"\n      - name: Ensure Ray and Dask engines start up\n        run: |\n          MODIN_ENGINE=dask python -c \"import modin.pandas as pd; print(pd.DataFrame([1,2,3]))\"\n          MODIN_ENGINE=ray python -c \"import modin.pandas as pd; print(pd.DataFrame([1,2,3]))\"\n      - name: Ensure MPI engine start up\n        # Install a working MPI implementation beforehand so mpi4py can link to it\n        run: |\n          sudo apt install libmpich-dev\n          python -m pip install -e \".[mpi]\"\n          MODIN_ENGINE=unidist UNIDIST_BACKEND=mpi mpiexec -n 1 python -c \"import modin.pandas as pd; print(pd.DataFrame([1,2,3]))\"\n        if: matrix.os == 'ubuntu'\n\n  test-internals:\n    needs: [lint-flake8, python-filter]\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    name: test-internals\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/mamba-env\n        with:\n          environment-file: environment-dev.yml\n          python-version: ${{ needs.python-filter.outputs.python-version }}\n      - name: Internals tests\n        run: python -m pytest modin/tests/core/test_dispatcher.py\n      - run: python -m pytest modin/tests/config\n      - run: python -m pytest modin/tests/test_envvar_catcher.py\n      - run: python -m pytest modin/tests/core/storage_formats/base/test_internals.py\n      - run: python -m pytest modin/tests/core/storage_formats/pandas/test_internals.py\n      - run: python -m pytest modin/tests/test_envvar_npartitions.py\n      - run: python -m pytest modin/tests/test_utils.py\n      - run: python -m pytest asv_bench/test/test_utils.py\n      - run: python -m pytest modin/tests/interchange/dataframe_protocol/base\n      - run: python -m pytest modin/tests/test_dataframe_api_standard.py\n      - run: python -m pytest modin/tests/test_logging.py\n      - uses: ./.github/actions/upload-coverage\n\n  test-defaults:\n    needs: [lint-flake8, python-filter]\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        execution: [BaseOnPython]\n    env:\n      MODIN_TEST_DATASET_SIZE: \"small\"\n    name: Test ${{ matrix.execution }} execution, Python ${{ needs.python-filter.outputs.python-version }}\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/mamba-env\n        with:\n          environment-file: environment-dev.yml\n          python-version: ${{ needs.python-filter.outputs.python-version }}\n      - name: Install HDF5\n        run: sudo apt update && sudo apt install -y libhdf5-dev\n      - name: xgboost tests\n        run: |\n          # TODO(https://github.com/modin-project/modin/issues/5194): Uncap xgboost\n          # when we use collective instead of rabit.\n          mamba install \"xgboost>=1.7.1,<2.0.0\" scikit-learn -c conda-forge\n          python -m pytest modin/tests/experimental/xgboost/test_default.py --execution=${{ matrix.execution }}\n      - run: python -m pytest -n 2 modin/tests/core/storage_formats/base/test_internals.py --execution=${{ matrix.execution }}\n      - uses: ./.github/actions/run-core-tests\n        with:\n          runner: python -m pytest --execution=${{ matrix.execution }}\n      - uses: ./.github/actions/upload-coverage\n\n  test-asv-benchmarks:\n    if: github.event_name == 'pull_request'\n    needs: [lint-flake8]\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      MODIN_ENGINE: ray\n      MODIN_MEMORY: 1000000000\n      MODIN_TEST_DATASET_SIZE: small\n    name: test-asv-benchmarks\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-activate-base: true\n          activate-environment: \"\"\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n      - name: Running benchmarks\n        run: |\n          git remote add upstream https://github.com/modin-project/modin.git\n          git fetch upstream\n          if git diff upstream/main --name-only | grep -q \"^asv_bench/\"; then\n              cd asv_bench\n\n              mamba env create -f ../environment-dev.yml\n              conda activate modin\n              pip install ..\n\n              asv machine --yes\n\n              # check Modin on Ray\n              asv run --quick --dry-run --python=same --strict --show-stderr --launch-method=spawn \\\n                -b ^benchmarks -b ^io -b ^scalability | tee benchmarks.log\n\n              # check pure pandas\n              MODIN_ASV_USE_IMPL=pandas asv run --quick --dry-run --python=same --strict --show-stderr --launch-method=spawn \\\n                -b ^benchmarks -b ^io | tee benchmarks.log\n          else\n              echo \"Benchmarks did not run, no changes detected\"\n          fi\n        if: always()\n\n      - name: Publish benchmarks artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: Benchmarks log\n          path: asv_bench/benchmarks.log\n        if: failure()\n\n  execution-filter:\n    # see if execution backend-specific changes were made\n    runs-on: ubuntu-latest\n    outputs:\n      ray: ${{ steps.filter.outputs.ray }}\n      dask: ${{ steps.filter.outputs.dask }}\n      unidist: ${{ steps.filter.outputs.unidist }}\n      engines: ${{ steps.engines.outputs.engines }}\n      experimental: ${{ steps.experimental.outputs.experimental }}\n    steps:\n    - uses: actions/checkout@v4\n    - uses: dorny/paths-filter@v3\n      id: filter\n      with:\n        filters: |\n          shared: &shared\n            - 'modin/core/execution/dispatching/**'\n          ray:\n            - *shared\n            - 'modin/core/execution/ray/**'\n          dask:\n            - *shared\n            - 'modin/core/execution/dask/**'\n          unidist:\n            - *shared\n            - 'modin/core/execution/unidist/**'\n          experimental:\n            - 'modin/experimental/**'\n    - uses: actions/setup-python@v5\n    - id: engines\n      run: |\n        python -c \"import sys, json; print('engines=' + json.dumps(['python'] + (sys.argv[1] == 'true' and ['ray'] or []) + (sys.argv[2] == 'true' and ['dask'] or []) ))\" \\\n              \"${{ steps.filter.outputs.ray }}\" \"${{ steps.filter.outputs.dask }}\" >> $GITHUB_OUTPUT\n\n  test-all-unidist:\n    needs: [lint-flake8, execution-filter, python-filter]\n    if: github.event_name == 'push' || needs.execution-filter.outputs.unidist == 'true'\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version: [ \"${{ needs.python-filter.outputs.python-version }}\" ]\n        unidist-backend: [\"mpi\"]\n    env:\n      MODIN_ENGINE: \"Unidist\"\n      UNIDIST_BACKEND: ${{matrix.unidist-backend}}\n      # Only test reading from SQL server and postgres on ubuntu for now.\n      # Eventually, we should test on Windows, too, but we will have to set up\n      # the servers differently.\n      MODIN_TEST_READ_FROM_SQL_SERVER: true\n      MODIN_TEST_READ_FROM_POSTGRES: true\n    name: test-ubuntu (engine unidist ${{matrix.unidist-backend}}, python ${{matrix.python-version}})\n    services:\n      moto:\n        image: motoserver/moto\n        ports:\n          - 5000:5000\n        env:\n          AWS_ACCESS_KEY_ID: foobar_key\n          AWS_SECRET_ACCESS_KEY: foobar_secret\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/mamba-env\n        with:\n          environment-file: requirements/env_unidist_linux.yml\n          activate-environment: modin_on_unidist\n          python-version: ${{matrix.python-version}}\n      - name: Install HDF5\n        run: sudo apt update && sudo apt install -y libhdf5-dev\n      - name: Set up postgres\n        # Locally, specifying port 2345:5432 works, but 2345:2345 and 5432:5432 do not. This solution is from\n        # https://stackoverflow.com/questions/36415654/cant-connect-docker-postgresql-9-3\n        run: |\n          sudo docker pull postgres\n          sudo docker run --name some-postgres -e POSTGRES_USER=sa -e POSTGRES_PASSWORD=Strong.Pwd-123 -e POSTGRES_DB=postgres -d -p 2345:5432 postgres\n      - run: mpiexec -n 1 python -m pytest modin/tests/pandas/internals/test_benchmark_mode.py\n      - run: mpiexec -n 1 python -m pytest modin/tests/pandas/internals/test_repartition.py\n      - run: mpiexec -n 1 python -m pytest modin/tests/test_partition_api.py\n      - uses: ./.github/actions/run-core-tests\n        with:\n          runner: mpiexec -n 1 python -m pytest\n          parallel: \"\"\n      - run: mpiexec -n 1 python -m pytest modin/tests/numpy\n      - run: chmod +x ./.github/workflows/sql_server/set_up_sql_server.sh\n      - run: ./.github/workflows/sql_server/set_up_sql_server.sh\n      # need an extra argument \"genv\" to set environment variables for mpiexec. We need\n      # these variables to test writing to the mock s3 filesystem.\n      - uses: nick-fields/retry@v3\n        # to avoid issues with non-stable `to_csv` tests for unidist on MPI backend.\n        # for details see: https://github.com/modin-project/modin/pull/6776\n        with:\n          timeout_minutes: 15\n          max_attempts: 3\n          command: |\n            conda run --no-capture-output -n modin_on_unidist mpiexec -n 1 -genv AWS_ACCESS_KEY_ID foobar_key \\\n              -genv AWS_SECRET_ACCESS_KEY foobar_secret python -m pytest modin/tests/pandas/test_io.py --verbose\n      - run: |\n          mpiexec -n 1 -genv AWS_ACCESS_KEY_ID foobar_key -genv AWS_SECRET_ACCESS_KEY foobar_secret \\\n            python -m pytest modin/tests/experimental/test_io_exp.py\n      - run: mpiexec -n 1 python -m pytest modin/tests/interchange/dataframe_protocol/test_general.py\n      - run: mpiexec -n 1 python -m pytest modin/tests/interchange/dataframe_protocol/pandas/test_protocol.py\n      - run: |\n          python -m pip install lazy_import\n          mpiexec -n 1 python -m pytest modin/tests/pandas/integrations/\n      - uses: ./.github/actions/upload-coverage\n\n  test-all:\n    needs: [lint-flake8, execution-filter, python-filter]\n    strategy:\n      matrix:\n        os:\n          - ubuntu\n          - windows\n        python-version: [ \"${{ needs.python-filter.outputs.python-version }}\" ]\n        engine: ${{ fromJSON( github.event_name == 'push' && '[\"python\", \"ray\", \"dask\"]' || needs.execution-filter.outputs.engines ) }}\n        test_task:\n          - group_1\n          - group_2\n          - group_3\n          - group_4\n        exclude: # python engine only have one task group that contains all the tests\n          - engine: \"python\"\n            test_task: \"group_2\"\n          - engine: \"python\"\n            test_task: \"group_3\"\n          - engine: \"python\"\n            test_task: \"group_4\"\n    runs-on: ${{ matrix.os }}-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      MODIN_ENGINE: ${{matrix.engine}}\n      # Only test reading from SQL server and postgres on ubuntu for now.\n      # Eventually, we should test on Windows, too, but we will have to set up\n      # the servers differently.\n      MODIN_TEST_READ_FROM_SQL_SERVER: ${{ matrix.os == 'ubuntu' }}\n      MODIN_TEST_READ_FROM_POSTGRES: ${{ matrix.os == 'ubuntu' }}\n    name: test-${{ matrix.os }} (engine ${{matrix.engine}}, python ${{matrix.python-version}}, ${{matrix.test_task}})\n    services:\n      # Using workaround https://github.com/actions/runner/issues/822#issuecomment-1524826092\n      moto:\n        # we only need moto service on Ubuntu and for group_4 task or python engine\n        image: ${{ (matrix.os == 'ubuntu' && (matrix.engine == 'python' || matrix.test_task == 'group_4')) && 'motoserver/moto' || '' }}\n        ports:\n          - 5000:5000\n        env:\n          AWS_ACCESS_KEY_ID: foobar_key\n          AWS_SECRET_ACCESS_KEY: foobar_secret\n    steps:\n      - name: Limit ray memory\n        run: echo \"MODIN_MEMORY=1000000000\" >> $GITHUB_ENV\n        if: matrix.os == 'ubuntu' && matrix.engine == 'ray'\n      - name: Tell Modin to use existing ray cluster\n        run: echo \"MODIN_RAY_CLUSTER=True\" >> $GITHUB_ENV\n        if: matrix.os == 'windows' && matrix.engine == 'ray'\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/mamba-env\n        with:\n          environment-file: environment-dev.yml\n          python-version: ${{matrix.python-version}}\n      - name: Start local ray cluster\n        # Try a few times to start ray to work around\n        # https://github.com/modin-project/modin/issues/4562\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 5\n          max_attempts: 5\n          command: ray start --head --port=6379 --object-store-memory=1000000000\n        if: matrix.os == 'windows' && matrix.engine == 'ray'\n      - name: Install HDF5\n        run: sudo apt update && sudo apt install -y libhdf5-dev\n        if: matrix.os == 'ubuntu'\n      - name: Set up postgres\n        # Locally, specifying port 2345:5432 works, but 2345:2345 and 5432:5432 do not. This solution is from\n        # https://stackoverflow.com/questions/36415654/cant-connect-docker-postgresql-9-3\n        run: |\n          sudo docker pull postgres\n          sudo docker run --name some-postgres -e POSTGRES_USER=sa -e POSTGRES_PASSWORD=Strong.Pwd-123 -e POSTGRES_DB=postgres -d -p 2345:5432 postgres\n        if: matrix.os == 'ubuntu'\n\n      - run: python -m pytest modin/tests/pandas/internals/test_benchmark_mode.py\n        if: matrix.engine == 'python' || matrix.test_task == 'group_1'\n      - run: python -m pytest modin/tests/pandas/internals/test_repartition.py\n        if: matrix.engine == 'python' || matrix.test_task == 'group_1'\n      - run: python -m pytest modin/tests/test_partition_api.py\n        if: matrix.engine != 'python' && matrix.test_task == 'group_1'\n      - name: xgboost tests\n        run: |\n          # TODO(https://github.com/modin-project/modin/issues/5194): Uncap xgboost\n          # when we use collective instead of rabit.\n          mamba install \"xgboost>=1.7.1,<2.0.0\" scikit-learn -c conda-forge\n          python -m pytest -n 2 \\\n                  modin/tests/experimental/xgboost/test_default.py \\\n                  modin/tests/experimental/xgboost/test_xgboost.py \\\n                  modin/tests/experimental/xgboost/test_dmatrix.py\n        if: matrix.os != 'windows' && matrix.test_task == 'group_1'\n      - run: python -m pytest -n 2 modin/tests/experimental/test_pipeline.py\n        if: matrix.engine == 'python' || matrix.test_task == 'group_1'\n      - uses: ./.github/actions/run-core-tests/group_1\n        if: matrix.engine == 'python' || matrix.test_task == 'group_1'\n      - uses: ./.github/actions/run-core-tests/group_2\n        if: matrix.engine == 'python' || matrix.test_task == 'group_2'\n      - uses: ./.github/actions/run-core-tests/group_3\n        if: matrix.engine == 'python' || matrix.test_task == 'group_3'\n      - uses: ./.github/actions/run-core-tests/group_4\n        if: matrix.engine == 'python' || matrix.test_task == 'group_4'\n      - run: python -m pytest -n 2 modin/tests/numpy\n        if: matrix.engine == 'python' || matrix.test_task == 'group_4'\n      - run: chmod +x ./.github/workflows/sql_server/set_up_sql_server.sh\n        if: matrix.os == 'ubuntu' && (matrix.engine == 'python' || matrix.test_task == 'group_4')\n      - run: ./.github/workflows/sql_server/set_up_sql_server.sh\n        if: matrix.os == 'ubuntu' && (matrix.engine == 'python' || matrix.test_task == 'group_4')\n      # Do not add parallelism (`-n` argument) here - it will cause mock S3 service to fail.\n      - run: python -m pytest modin/tests/pandas/test_io.py --verbose\n        timeout-minutes: 60\n        if: matrix.engine == 'python' || matrix.test_task == 'group_4'\n      - run: python -m pytest modin/tests/experimental/test_io_exp.py\n        if: matrix.engine == 'python' || matrix.test_task == 'group_4'\n      - run: python -m pytest modin/tests/interchange/dataframe_protocol/test_general.py\n        if: matrix.engine == 'python' || matrix.test_task == 'group_4'\n      - run: python -m pytest modin/tests/interchange/dataframe_protocol/pandas/test_protocol.py\n        if: matrix.engine == 'python' || matrix.test_task == 'group_4'\n      - run: |\n          python -m pip install lazy_import\n          python -m pytest modin/tests/pandas/integrations/\n        if: matrix.engine == 'python' || matrix.test_task == 'group_4'\n\n      - uses: ./.github/actions/upload-coverage\n      - name: Stop local ray cluster\n        run: ray stop\n        if: matrix.os == 'windows' && matrix.engine == 'ray'\n      - name: Rename the dirs with conda packages so it won't be deleted, it's too slow on Windows.\n        run: |\n          mkdir -p \"${CONDA_PKGS_DIR}_do_not_cache\" && \\\n          find \"${CONDA_PKGS_DIR}\" -mindepth 1 -maxdepth 1 -type d -exec mv {} \"${CONDA_PKGS_DIR}_do_not_cache\" \\;\n        if: matrix.os == 'windows'\n\n  test-sanity:\n    needs: [lint-flake8, execution-filter, python-filter]\n    if: github.event_name == 'pull_request'\n    strategy:\n      matrix:\n        os:\n          - ubuntu\n          - windows\n        python-version: [ \"${{ needs.python-filter.outputs.python-version }}\" ]\n        execution:\n          - name: ray\n            shell-ex: \"python -m pytest\"\n            if: needs.execution-filter.ray != 'true'\n          - name: dask\n            shell-ex: \"python -m pytest\"\n            if: needs.execution-filter.dask != 'true'\n          - name: unidist\n            shell-ex: \"mpiexec -n 1 -genv AWS_ACCESS_KEY_ID foobar_key -genv AWS_SECRET_ACCESS_KEY foobar_secret python -m pytest\"\n            if: needs.execution-filter.unidist != 'true'\n    runs-on: ${{ matrix.os }}-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      MODIN_ENGINE: ${{ matrix.execution.name }}\n      UNIDIST_BACKEND: \"mpi\"\n      PARALLEL: ${{ matrix.execution.name != 'unidist' && matrix.os != 'windows' && '-n 2' || '' }}\n    name: test-${{ matrix.os }}-sanity (engine ${{ matrix.execution.name }}, python ${{matrix.python-version}})\n    services:\n      moto:\n        image: ${{ matrix.os != 'windows' && 'motoserver/moto' || '' }}\n        ports:\n          - 5000:5000\n        env:\n          AWS_ACCESS_KEY_ID: foobar_key\n          AWS_SECRET_ACCESS_KEY: foobar_secret\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/mamba-env\n        with:\n          environment-file: ${{ matrix.os == 'ubuntu' && matrix.execution.name == 'unidist' && 'requirements/env_unidist_linux.yml' || matrix.os == 'windows' && matrix.execution.name == 'unidist' && 'requirements/env_unidist_win.yml' || 'environment-dev.yml' }}\n          activate-environment: ${{ matrix.execution.name == 'unidist' && 'modin_on_unidist' || 'modin' }}\n          python-version: ${{matrix.python-version}}\n      - name: Install HDF5\n        run: sudo apt update && sudo apt install -y libhdf5-dev\n        if: matrix.os != 'windows'\n      - name: Limit ray memory\n        run: echo \"MODIN_MEMORY=1000000000\" >> $GITHUB_ENV\n        if: matrix.os != 'windows' && matrix.execution.name == 'ray'\n      - name: Tell Modin to use existing ray cluster\n        run: echo \"MODIN_RAY_CLUSTER=True\" >> $GITHUB_ENV\n        if: matrix.os == 'windows' && matrix.execution.name == 'ray'\n      - name: Start local ray cluster\n        # Try a few times to start ray to work around\n        # https://github.com/modin-project/modin/issues/4562\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 5\n          max_attempts: 5\n          command: ray start --head --port=6379 --object-store-memory=1000000000\n        if: matrix.os == 'windows' && matrix.execution.name == 'ray'\n      - run: MODIN_BENCHMARK_MODE=True ${{ matrix.execution.shell-ex }} modin/tests/pandas/internals/test_benchmark_mode.py\n      - run: ${{ matrix.execution.shell-ex }} $PARALLEL modin/tests/pandas/internals/test_repartition.py\n      - run: ${{ matrix.execution.shell-ex }} $PARALLEL modin/tests/test_partition_api.py\n      - run: ${{ matrix.execution.shell-ex }} modin/tests/pandas/extensions\n      - name: xgboost tests\n        run: |\n          # TODO(https://github.com/modin-project/modin/issues/5194): Uncap xgboost\n          # when we use collective instead of rabit.\n          mamba install \"xgboost>=1.7.1,<2.0.0\" scikit-learn -c conda-forge\n          ${{ matrix.execution.shell-ex }} $PARALLEL \\\n                  modin/tests/experimental/xgboost/test_default.py \\\n                  modin/tests/experimental/xgboost/test_xgboost.py \\\n                  modin/tests/experimental/xgboost/test_dmatrix.py\n        if: matrix.os != 'windows' && needs.execution-filter.experimental == 'true'\n      - run: ${{ matrix.execution.shell-ex }} $PARALLEL modin/tests/experimental/test_pipeline.py\n        if: matrix.os != 'windows' && matrix.execution.name != 'unidist' && needs.execution-filter.experimental == 'true'\n      - name: \"test DF: binary, default, iter\"\n        run: |\n          ${{ matrix.execution.shell-ex }} $PARALLEL \\\n                  modin/tests/pandas/dataframe/test_binary.py \\\n                  modin/tests/pandas/dataframe/test_default.py \\\n                  modin/tests/pandas/dataframe/test_iter.py\n        if: matrix.os != 'windows'\n      - name: \"test DF: reduce, udf, window, pickle\"\n        run: |\n          ${{ matrix.execution.shell-ex }} $PARALLEL \\\n                  modin/tests/pandas/dataframe/test_reduce.py \\\n                  modin/tests/pandas/dataframe/test_udf.py \\\n                  modin/tests/pandas/dataframe/test_window.py \\\n                  modin/tests/pandas/dataframe/test_pickle.py\n        if: matrix.os != 'windows'\n      - run: ${{ matrix.execution.shell-ex }} modin/tests/pandas/test_series.py\n        if: matrix.execution.name == 'ray'\n      - run: ${{ matrix.execution.shell-ex }} -m \"not exclude_in_sanity\" modin/tests/pandas/test_series.py\n        if: matrix.execution.name != 'ray'\n      - run: ${{ matrix.execution.shell-ex }} modin/tests/pandas/dataframe/test_map_metadata.py\n        if: matrix.execution.name == 'ray'\n      - run: ${{ matrix.execution.shell-ex }} -m \"not exclude_in_sanity\" modin/tests/pandas/dataframe/test_map_metadata.py\n        if: matrix.execution.name != 'ray'\n      - name: \"test rolling, expanding, reshape, general, concat\"\n        run: |\n          ${{ matrix.execution.shell-ex }} $PARALLEL \\\n                  modin/tests/pandas/test_rolling.py \\\n                  modin/tests/pandas/test_expanding.py \\\n                  modin/tests/pandas/test_reshape.py \\\n                  modin/tests/pandas/test_general.py \\\n                  modin/tests/pandas/test_concat.py\n        if: matrix.os != 'windows'\n      - run: ${{ matrix.execution.shell-ex }} $PARALLEL modin/tests/numpy\n      - run: ${{ matrix.execution.shell-ex }} -m \"not exclude_in_sanity\" modin/tests/pandas/test_io.py --verbose\n        if: matrix.execution.name != 'unidist'\n      - uses: nick-fields/retry@v3\n        # to avoid issues with non-stable `to_csv` tests for unidist on MPI backend.\n        # for details see: https://github.com/modin-project/modin/pull/6776\n        with:\n          timeout_minutes: 15\n          max_attempts: 3\n          command: conda run --no-capture-output -n modin_on_unidist ${{ matrix.execution.shell-ex }} -m \"not exclude_in_sanity\" modin/tests/pandas/test_io.py --verbose\n        if: matrix.execution.name == 'unidist'\n      - run: ${{ matrix.execution.shell-ex }} modin/tests/experimental/test_io_exp.py\n      - run: ${{ matrix.execution.shell-ex }} $PARALLEL modin/tests/interchange/dataframe_protocol/test_general.py\n      - run: ${{ matrix.execution.shell-ex }} $PARALLEL modin/tests/interchange/dataframe_protocol/pandas/test_protocol.py\n      - name: Stop local ray cluster\n        run: ray stop\n        if: matrix.os == 'windows' && matrix.execution.name == 'ray'\n      - name: Rename the dirs with conda packages so it won't be deleted, it's too slow on Windows.\n        run: |\n          mkdir -p \"${CONDA_PKGS_DIR}_do_not_cache\" && \\\n          find \"${CONDA_PKGS_DIR}\" -mindepth 1 -maxdepth 1 -type d -exec mv {} \"${CONDA_PKGS_DIR}_do_not_cache\" \\;\n        if: matrix.os == 'windows'\n      - uses: ./.github/actions/upload-coverage\n\n  test-experimental:\n    needs: [lint-flake8, python-filter]\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      MODIN_ENGINE: \"python\"\n      MODIN_EXPERIMENTAL: \"True\"\n    name: test experimental\n    services:\n      moto:\n        image: motoserver/moto\n        ports:\n          - 5000:5000\n        env:\n          AWS_ACCESS_KEY_ID: foobar_key\n          AWS_SECRET_ACCESS_KEY: foobar_secret\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/mamba-env\n        with:\n          environment-file: environment-dev.yml\n          python-version: ${{ needs.python-filter.outputs.python-version }}\n      - name: Install HDF5\n        run: sudo apt update && sudo apt install -y libhdf5-dev\n      - run: python -m pytest -n 2 modin/tests/pandas/dataframe/test_map_metadata.py\n      - run: python -m pytest -n 2 modin/tests/pandas/test_series.py\n      # Do not add parallelism (`-n` argument) here - it will cause mock S3 service to fail.\n      - run: python -m pytest modin/tests/pandas/test_io.py --verbose\n      - uses: ./.github/actions/upload-coverage\n\n  test-spreadsheet:\n    needs: [lint-flake8, python-filter]\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version: [ \"${{ needs.python-filter.outputs.python-version }}\" ]\n        engine: [\"ray\", \"dask\"]\n    env:\n      MODIN_EXPERIMENTAL: \"True\"\n      MODIN_ENGINE: ${{matrix.engine}}\n    name: test-spreadsheet (engine ${{matrix.engine}}, python ${{matrix.python-version}})\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/mamba-env\n        with:\n          environment-file: environment-dev.yml\n          python-version: ${{matrix.python-version}}\n      - run: python -m pytest modin/tests/experimental/spreadsheet/test_general.py\n\n  merge-coverage-artifacts:\n    needs: [test-internals, test-api-and-no-engine, test-defaults, test-all-unidist, test-all, test-experimental, test-sanity]\n    if: always()  # we need to run it regardless of some job being skipped, like in PR\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Merge Artifacts\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: coverage-data\n          pattern: coverage-data-*\n          delete-merged: true\n\n  upload-coverage:\n    needs: [merge-coverage-artifacts, python-filter]\n    if: always()  # we need to run it regardless of some job being skipped, like in PR\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/python-only\n        with:\n          python-version: ${{ needs.python-filter.outputs.python-version }}\n      - name: Download coverage data\n        uses: actions/download-artifact@v4\n        with:\n          name: coverage-data\n      - run: pip install coverage\n      - name: Combine coverage\n        run: python -m coverage combine\n      - name: Generate coverage report in xml format\n        run: python -m coverage xml\n      - uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: ${{ github.event_name == 'push' }}  # do not care about uploads in PR\n          token: ${{ secrets.CODECOV_TOKEN }} # this token is available at https://app.codecov.io/account/github/modin-project/\n", "state": "active", "repository": "modin-project/modin"}
{"mined_at": "2024-07-15T15:15:42.959606", "created_at": "2022-11-10T17:45:55+01:00", "updated_at": "2023-04-04T14:58:16+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\nconcurrency:\n  # Cancel other jobs in the same branch. We don't care whether CI passes\n  # on old commits.\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}\nenv:\n  MODIN_GITHUB_CI: true\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n          config-file: ./.github/workflows/codeql/codeql-config.yml\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "modin-project/modin"}
{"mined_at": "2024-07-15T15:15:44.084034", "created_at": "2022-06-11T01:58:47+02:00", "updated_at": "2023-04-04T15:04:42+02:00", "name": "fuzzy", "path": ".github/workflows/fuzzydata-test.yml", "contents": "name: fuzzy\non:\n  pull_request:\n    paths:\n      # NOTE: keep these paths in sync with the paths that trigger the CI Github\n      # Actions in .github/workflows/ci.yml\n      - .github/workflows/**\n      - '!.github/workflows/push-to-main.yml'\n      - asv_bench/**\n      - modin/**\n      - requirements/**\n      - scripts/**\n      - environment-dev.yml\n      - requirements-dev.txt\n      - setup.cfg\n      - setup.py\n      - versioneer.py\nconcurrency:\n  # Cancel other jobs in the same branch. We don't care whether CI passes\n  # on old commits.\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}\nenv:\n  MODIN_GITHUB_CI: true\njobs:\n  test-fuzzydata:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version: [\"3.9\"]\n        engine: [\"ray\", \"dask\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/mamba-env\n        with:\n          environment-file: environment-dev.yml\n          python-version: ${{matrix.python-version}}\n      - name: test-fuzzydata (engine ${{matrix.engine}}, python ${{matrix.python-version}})\n        run: python -m pytest modin/tests/experimental/test_fuzzydata.py -Wignore::UserWarning --log-file=/tmp/fuzzydata-test-wf-${{matrix.engine}}/run.log --log-file-level=INFO\n        env:\n          MODIN_ENGINE: ${{matrix.engine}}\n      - uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n           name: fuzzydata-test-workflow-${{matrix.engine}}\n           path: /tmp/fuzzydata-test-wf-${{matrix.engine}}/* # Must match output dir in test_fuzzydata.py\n           if-no-files-found: error\n", "state": "active", "repository": "modin-project/modin"}
{"mined_at": "2024-07-15T15:15:45.207916", "created_at": "2024-05-14T02:19:55+02:00", "updated_at": "2024-06-06T18:27:39+02:00", "name": "Publish Modin wheel to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish Modin wheel to PyPI\n\non:\n  schedule:\n    - cron: \"42 0 * * WED\"\n  push:\n    tags:        \n      - '*'\n  workflow_dispatch:\n\njobs:\n  build-n-publish:\n    name: Build and publish Modin wheel to PyPI\n    environment: release\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        fetch-tags: true\n    - name: Checkout latest git tag\n      run: git checkout $(git describe --tags \"$(git rev-list --tags --max-count=1)\")\n      if: github.event_name == 'push'\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.9.x\"\n\n    - name: Install/update tools\n      run: python3 -m pip install --upgrade build wheel\n    - name: Build a pure Python wheel\n      run: python3 setup.py sdist bdist_wheel\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: modin-wheel-and-source-tarball \n        path: ./dist/\n\n    - name: Publish Modin wheel to PyPI\n      if: github.event_name == 'push'\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "modin-project/modin"}
{"mined_at": "2024-07-15T15:15:46.351347", "created_at": "2024-04-17T09:49:48+02:00", "updated_at": "2024-04-17T09:49:48+02:00", "name": "push-to-main", "path": ".github/workflows/push-to-main.yml", "contents": "name: push-to-main\non:\n  push:\n    branches:\n      - main\nconcurrency:\n  # Cancel other jobs in the same branch. We don't care whether CI passes\n  # on old commits.\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}\nenv:\n  MODIN_GITHUB_CI: true\njobs:\n  test-ray-master:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        # `shell: bash -l {0}` - special way to activate modin environment\n        shell: bash -l {0}\n    services:\n      moto:\n        image: motoserver/moto\n        ports:\n          - 5000:5000\n        env:\n          AWS_ACCESS_KEY_ID: foobar_key\n          AWS_SECRET_ACCESS_KEY: foobar_secret\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/mamba-env\n        with:\n          environment-file: environment-dev.yml\n      - name: install Ray nightly build\n        # Use --force-reinstall to always reinstall ray and its dependencies.\n        # botocore isn't compatible with urllib3>=2; see #6094 for details\n        run: pip install --force-reinstall \"urllib3<2\" https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp39-cp39-manylinux2014_x86_64.whl\n      - name: Conda environment\n        run: |\n          conda info\n          conda list\n      - run: sudo apt update && sudo apt install -y libhdf5-dev\n      - name: Run Modin tests\n        run: |\n          python -m pytest modin/tests/pandas/dataframe/test_binary.py\n          python -m pytest modin/tests/pandas/dataframe/test_default.py\n          python -m pytest modin/tests/pandas/dataframe/test_indexing.py\n          python -m pytest modin/tests/pandas/dataframe/test_iter.py\n          python -m pytest modin/tests/pandas/dataframe/test_join_sort.py\n          python -m pytest modin/tests/pandas/dataframe/test_map_metadata.py\n          python -m pytest modin/tests/pandas/dataframe/test_reduce.py\n          python -m pytest modin/tests/pandas/dataframe/test_udf.py\n          python -m pytest modin/tests/pandas/dataframe/test_window.py\n          python -m pytest modin/tests/pandas/test_series.py\n          python -m pytest modin/tests/numpy/test_array.py\n          python -m pytest modin/tests/numpy/test_array_creation.py\n          python -m pytest modin/tests/numpy/test_array_arithmetic.py\n          python -m pytest modin/tests/numpy/test_array_axis_functions.py\n          python -m pytest modin/tests/numpy/test_array_logic.py\n          python -m pytest modin/tests/numpy/test_array_linalg.py\n          python -m pytest modin/tests/numpy/test_array_indexing.py\n          python -m pytest modin/tests/numpy/test_array_math.py\n          python -m pytest modin/tests/numpy/test_array_shaping.py\n          python -m pytest modin/tests/pandas/test_rolling.py\n          python -m pytest modin/tests/pandas/test_expanding.py\n          python -m pytest modin/tests/pandas/test_concat.py\n          python -m pytest modin/tests/pandas/test_groupby.py\n          python -m pytest modin/tests/pandas/test_reshape.py\n          python -m pytest modin/tests/pandas/test_general.py\n          python -m pytest modin/tests/pandas/test_io.py\n          python -m pytest modin/tests/experimental/test_io_exp.py\n\n  test-docs:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    name: test docs\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/mamba-env\n        with:\n          environment-file: environment-dev.yml\n      - run: sudo apt update && sudo apt install -y libhdf5-dev\n      - name: Docstring URL validity check\n        run: python -m pytest modin/tests/test_docstring_urls.py\n", "state": "active", "repository": "modin-project/modin"}
{"mined_at": "2024-07-15T15:15:47.451984", "created_at": "2019-12-31T03:20:11+01:00", "updated_at": "2024-07-12T16:39:36+02:00", "name": "master", "path": ".github/workflows/push.yml", "contents": null, "state": "active", "repository": "modin-project/modin"}
{"mined_at": "2024-07-15T15:15:49.515950", "created_at": "2022-04-19T20:54:12+02:00", "updated_at": "2023-05-11T02:49:56+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  ci:\n    uses: angr/ci-settings/.github/workflows/angr-ci.yml@master\n", "state": "active", "repository": "angr/angr"}
{"mined_at": "2024-07-15T15:15:50.626465", "created_at": "2023-06-13T00:29:38+02:00", "updated_at": "2023-06-13T00:29:38+02:00", "name": "Update test durations file", "path": ".github/workflows/durations.yml", "contents": null, "state": "active", "repository": "angr/angr"}
{"mined_at": "2024-07-15T15:15:51.868525", "created_at": "2023-11-22T23:34:22+01:00", "updated_at": "2023-11-22T23:34:22+01:00", "name": "Test on macOS (test)", "path": ".github/workflows/macos-arm.yml", "contents": null, "state": "active", "repository": "angr/angr"}
{"mined_at": "2024-07-15T15:15:52.990836", "created_at": "2023-07-24T21:35:22+02:00", "updated_at": "2023-07-27T22:03:26+02:00", "name": "Test on macOS", "path": ".github/workflows/macos.yml", "contents": "name: Test on macOS\n\non:\n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  macos:\n    name: Test macOS\n    runs-on: macos-12\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          path: angr\n      - uses: actions/checkout@v3\n        with:\n          repository: angr/binaries\n          path: binaries\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: python -m venv $HOME/venv\n        name: Create venv\n        shell: bash\n      - run: |\n          source $HOME/venv/bin/activate\n          pip install \"setuptools>=59\" wheel cffi \"unicorn==2.0.1.post1\"\n          pip install git+https://github.com/angr/archinfo.git\n          pip install git+https://github.com/angr/pyvex.git\n          pip install git+https://github.com/angr/cle.git\n          pip install git+https://github.com/angr/claripy.git\n          pip install git+https://github.com/angr/ailment.git\n        name: Install dependencies\n      - run: |\n          source $HOME/venv/bin/activate\n          pip install --no-build-isolation ./angr[testing]\n        name: Install angr\n      - run: |\n          source $HOME/venv/bin/activate\n          pytest -n auto angr\n        name: Run pytest\n", "state": "active", "repository": "angr/angr"}
{"mined_at": "2024-07-15T15:15:53.979894", "created_at": "2023-10-04T01:33:42+02:00", "updated_at": "2023-10-04T01:33:42+02:00", "name": "Test on many python versions", "path": ".github/workflows/many.yml", "contents": null, "state": "active", "repository": "angr/angr"}
{"mined_at": "2024-07-15T15:15:55.042621", "created_at": "2022-04-20T00:29:44+02:00", "updated_at": "2023-07-27T22:03:26+02:00", "name": "Nightly CI", "path": ".github/workflows/nightly-ci.yml", "contents": "name: Nightly CI\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  ci:\n    uses: angr/ci-settings/.github/workflows/angr-ci.yml@master\n    with:\n      nightly: true\n    secrets: inherit\n  windows:\n    uses: ./.github/workflows/windows.yml\n  macos:\n    uses: ./.github/workflows/macos.yml\n", "state": "active", "repository": "angr/angr"}
{"mined_at": "2024-07-15T15:15:56.147166", "created_at": "2023-05-22T22:37:36+02:00", "updated_at": "2023-05-22T22:37:36+02:00", "name": "Test on Windows and macOS", "path": ".github/workflows/platform-ci.yml", "contents": null, "state": "active", "repository": "angr/angr"}
{"mined_at": "2024-07-15T15:15:57.307577", "created_at": "2022-11-24T01:29:41+01:00", "updated_at": "2022-11-29T02:59:11+01:00", "name": "Install Smoketest", "path": ".github/workflows/smoketest.yml", "contents": "name: Install Smoketest\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  windows:\n    name: Test Windows installation\n    runs-on: windows-2022\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: python -m venv $HOME\\venv\n        name: Create venv\n      - run: |\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          call \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat\"\n          pip install \"setuptools>=59\" wheel cffi \"unicorn==2.0.1\"\n          pip install git+https://github.com/angr/archinfo.git\n          pip install git+https://github.com/angr/pyvex.git\n          pip install git+https://github.com/angr/cle.git\n          pip install git+https://github.com/angr/claripy.git\n          pip install git+https://github.com/angr/ailment.git\n        name: Install dependencies\n        shell: cmd\n      - run: |\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          call \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat\"\n          pip install --no-build-isolation .\n        name: Install angr\n        shell: cmd\n      - run: |\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          python -c \"import angr; print('It works!')\"\n        name: Import angr\n        shell: cmd\n\n  macos:\n    name: Test macOS installation\n    runs-on: macos-12\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: python -m venv $HOME/venv\n        name: Create venv\n        shell: bash\n      - run: |\n          source $HOME/venv/bin/activate\n          pip install \"setuptools>=59\" wheel cffi \"unicorn==2.0.1\"\n          pip install git+https://github.com/angr/archinfo.git\n          pip install git+https://github.com/angr/pyvex.git\n          pip install git+https://github.com/angr/cle.git\n          pip install git+https://github.com/angr/claripy.git\n          pip install git+https://github.com/angr/ailment.git\n        name: Install dependencies\n      - run: |\n          source $HOME/venv/bin/activate\n          pip install --no-build-isolation .\n        name: Install angr\n      - run: |\n          source $HOME/venv/bin/activate\n          python -c \"import angr; print('It works!')\"\n        name: Import angr\n", "state": "active", "repository": "angr/angr"}
{"mined_at": "2024-07-15T15:15:58.414219", "created_at": "2023-07-24T23:38:44+02:00", "updated_at": "2023-11-03T20:38:48+01:00", "name": "Test on Windows", "path": ".github/workflows/windows.yml", "contents": "name: Test on Windows\n\non:\n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  windows:\n    name: Test Windows\n    runs-on: windows-2022\n    strategy:\n      matrix:\n        runner_id: [1, 2, 3, 4, 5]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          path: angr\n      - uses: actions/checkout@v3\n        with:\n          repository: angr/binaries\n          path: binaries\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: python -m venv $HOME/venv\n        name: Create venv\n        shell: bash\n      - run: |\n          call \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat\"\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pip install \"setuptools>=59\" wheel cffi \"unicorn==2.0.1.post1\"\n          pip install git+https://github.com/angr/archinfo.git\n          pip install git+https://github.com/angr/pyvex.git\n          pip install git+https://github.com/angr/cle.git\n          pip install git+https://github.com/angr/claripy.git\n          pip install git+https://github.com/angr/ailment.git\n        name: Install dependencies\n        shell: cmd\n      - run: |\n          call \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat\"\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pip install --no-build-isolation ./angr[testing]\n        name: Install angr\n        shell: cmd\n      - run: |\n          call %USERPROFILE%\\venv\\Scripts\\activate\n          pytest -n auto --splits 5 --group ${{ matrix.runner_id }} --durations=10 angr\n        name: Run pytest\n        shell: cmd\n", "state": "active", "repository": "angr/angr"}
{"mined_at": "2024-07-15T15:16:00.690429", "created_at": "2021-07-19T07:48:21+02:00", "updated_at": "2021-07-19T10:30:59+02:00", "name": "Auto Notify", "path": ".github/workflows/auto-cc.yml", "contents": "name: \"Auto Notify\"\n\non:\n  issues:\n    types: [labeled]\n  pull_request_target:\n    types: [labeled]\n\njobs:\n  auto-notify:\n    if: |\n        github.repository_owner == 'cupy' &&\n        contains('|hip|array-api|', github.event.label.name)\n    env:\n      NOTIFY_TARGETS: '{\"hip\": \"@amathews-amd\", \"array-api\": \"@asmeurer @leofang\"}'\n      ISSUE_NUMBER: ${{ (github.event_name == 'issues' && github.event.issue.number) || github.event.pull_request.number }}\n      ISSUE_BODY_TAG: \"<!-- Added by Auto Notify Bot (${{ github.event.label.name }}) -->\"\n    runs-on: ubuntu-22.04\n\n    steps:\n      - name: Find comment\n        uses: peter-evans/find-comment@v2\n        id: fc\n        with:\n            issue-number: ${{ env.ISSUE_NUMBER }}\n            body-includes: ${{ env.ISSUE_BODY_TAG }}\n\n      - name: Create comment\n        uses: peter-evans/create-or-update-comment@v2\n        with:\n            issue-number: ${{ env.ISSUE_NUMBER }}\n            comment-id: ${{steps.fc.outputs.comment-id}}\n            edit-mode: replace\n            body: |\n                ${{ env.ISSUE_BODY_TAG }}\n                cc/ ${{ fromJSON(env.NOTIFY_TARGETS)[github.event.label.name] }}\n", "state": "active", "repository": "cupy/cupy"}
{"mined_at": "2024-07-15T15:16:01.803431", "created_at": "2021-03-08T13:00:17+01:00", "updated_at": "2021-03-19T08:36:11+01:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "name: \"Backport\"\n\non:\n  pull_request_target:\n    types: [closed, labeled]\n    branches:\n       - main\n\njobs:\n  backport:\n    if: |\n        github.repository_owner == 'cupy' &&\n        github.event.pull_request.merged == true &&\n        (\n            (github.event.action == 'closed'  && contains(github.event.pull_request.labels.*.name, 'to-be-backported')) ||\n            (github.event.action == 'labeled' && github.event.label.name == 'to-be-backported')\n        )\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        repository: 'cupy/backport'\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Install Dependencies\n      run: |\n        pip install pygithub\n\n    - name: Run Backport\n      env:\n        GH_TOKEN: ${{secrets.BACKPORT_TOKEN}}\n        BACKPORT_GITHUB_TOKEN: ${{secrets.BACKPORT_TOKEN}}\n      run: |\n        git config --global user.name \"CuPy Automatic Backport\"\n        git config --global user.email \"33715081+chainer-ci@users.noreply.github.com\"\n        gh auth setup-git\n        python backport.py --repo cupy --pr ${{github.event.number}} --https --bot\n", "state": "active", "repository": "cupy/cupy"}
{"mined_at": "2024-07-15T15:16:02.929716", "created_at": "2021-09-14T09:33:33+02:00", "updated_at": "2021-09-14T11:13:15+02:00", "name": "Docker", "path": ".github/workflows/docker.yml", "contents": "name: Docker\n\non:\n  release:\n    types: [published]\n  pull_request:\n    paths:\n      - docker/**\n      - .github/workflows/docker.yml\n  workflow_dispatch:\n    inputs:\n      tag_name:\n        description: \"Tag of the docker image to push\"\n        required: true\n        default: \"vX.X.X\"\n      prerelease:\n        description: \"Pre-Release (do not push latest tag)\"\n        type: boolean\n\njobs:\n  docker-build-push:\n    if: |\n        github.repository_owner == 'cupy' ||\n        github.event_name != 'release'\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        include:\n          - context: \"docker/python3\"\n            base: \"cupy/cupy\"\n          - context: \"docker/rocm\"\n            base: \"cupy/cupy-rocm\"\n    env:\n      DOCKER_TAG_NAME: |\n        ${{\n          (github.event_name == 'release' && github.event.release.tag_name) ||\n          (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name) ||\n          'pull-request-test'\n        }}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Login to DockerHub\n      if: github.event_name != 'pull_request'\n      uses: docker/login-action@v2\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n    - name: Docker Build & Push (version tag)\n      uses: docker/build-push-action@v4\n      with:\n        context: ${{ matrix.context }}\n        tags: ${{ matrix.base }}:${{ env.DOCKER_TAG_NAME }}\n        push: ${{ github.event_name != 'pull_request' }}\n\n    - name: Docker Build & Push (latest tag)\n      if: |\n          (github.event_name == 'release' && ! github.event.release.prerelease) ||\n          (github.event_name == 'workflow_dispatch' && ! github.event.inputs.prerelease)\n      uses: docker/build-push-action@v4\n      with:\n        context: ${{ matrix.context }}\n        tags: ${{ matrix.base }}:latest\n        push: ${{ github.event_name != 'pull_request' }}\n", "state": "active", "repository": "cupy/cupy"}
{"mined_at": "2024-07-15T15:16:04.156801", "created_at": "2021-12-02T04:36:47+01:00", "updated_at": "2021-12-02T04:36:47+01:00", "name": "FlexCI", "path": ".github/workflows/flexci.yml", "contents": "name: \"FlexCI\"\n\non:\n  push:\n    branches: [\"main\", \"v[0-9]+\", \"hotfix-*\"]\n  issue_comment:\n    types: [created]\n\npermissions:\n  contents: read\n  statuses: write\n\njobs:\n  dispatch:\n    if: |\n        github.repository_owner == 'cupy' &&\n        (\n            (github.event_name == 'issue_comment' &&\n             github.event.issue.pull_request &&\n             contains(github.event.comment.body, '/test ')) ||\n            (github.event_name == 'push')\n        )\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Get Base Branch of Pull Request\n      id: base\n      if: github.event_name == 'issue_comment'\n      env:\n        GH_TOKEN: ${{ github.token }}\n      run:\n        echo \"pr_base_ref=$(gh api '${{ github.event.issue.pull_request.url }}' | jq -r .base.ref)\" >> \"${GITHUB_OUTPUT}\"\n\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event_name == 'push' && github.ref || steps.base.outputs.pr_base_ref }}\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Setup Environment\n      run: |\n        pip install pygithub\n\n    - name: Dispatch\n      env:\n        GITHUB_TOKEN: ${{ github.token }}\n        FLEXCI_WEBHOOK_SECRET: ${{ secrets.FLEXCI_WEBHOOK_SECRET }}\n      run: |\n        ./.github/workflows/flexci_dispatcher.py \\\n            --event \"${GITHUB_EVENT_NAME}\" \\\n            --webhook \"${GITHUB_EVENT_PATH}\" \\\n            --projects ./.pfnci/config.tags.json \\\n            --external-tag jenkins\n", "state": "active", "repository": "cupy/cupy"}
{"mined_at": "2024-07-15T15:16:05.291390", "created_at": "2023-06-14T11:41:55+02:00", "updated_at": "2023-06-19T16:43:00+02:00", "name": "Project (Pull-Request)", "path": ".github/workflows/pr-project.yml", "contents": "name: \"Project (Pull-Request)\"\n\non:\n  workflow_run:\n    workflows: [\"Pull-Request Update\"]\n    types: [completed]\n\njobs:\n  needs-attention:\n    # Brings the pull-request to attention by any activities triggered by users other than assignees.\n    # c.f. https://docs.github.com/en/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions\n    # c.f. https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n    if: |\n      github.repository_owner == 'cupy' &&\n      github.event.workflow_run.conclusion == 'success'\n\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Generate Token\n        uses: actions/create-github-app-token@v1\n        id: token\n        with:\n          app-id: 349488\n          private-key: ${{ secrets.GH_APP_PROJECT_AUTOMATION_PEM }}\n\n      # Get the pull-request number.\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: PULL_REQUEST_NUMBER\n          github-token: ${{ steps.token.outputs.token }}\n          run-id: ${{ github.event.workflow_run.id }}\n\n      - name: Update Status\n        shell: /usr/bin/bash -uex \"{0}\"\n        env:\n          GH_TOKEN: ${{ steps.token.outputs.token }}\n        run: |\n          PULL_REQUEST=\"$(cat 'PULL_REQUEST_NUMBER')\"\n          echo \"::notice::Pull-Request: #${PULL_REQUEST} (triggered by https://github.com/cupy/cupy/actions/runs/${{ github.event.workflow_run.id }})\"\n\n          # https://github.com/orgs/cupy/projects/4\n          gh api graphql -F \"pull_request=${PULL_REQUEST}\" -f query='\n            query ($pull_request: Int!) {\n              organization(login: \"cupy\") {\n                projectV2(number: 4) {\n                  id\n                  field(name: \"Status\") {\n                    ... on ProjectV2SingleSelectField {\n                      id\n                      options {\n                        id\n                        name\n                      }\n                    }\n                  }\n                }\n                repository(name: \"cupy\") {\n                  pullRequest(number: $pull_request) {\n                    state\n                    projectItems(first: 100, includeArchived: false) {\n                      nodes {\n                        project {\n                          id\n                        }\n                        id\n                      }\n                    }\n                  }\n                }\n              }\n            }\n          ' --jq '\n            .data.organization.projectV2 as $project |\n            .data.organization.repository as $repo |\n            {\n              \"project_id\": $project.id,\n              \"field_id\":   $project.field.id,\n              \"option_id\":  $project.field.options[] | select(.name == \"Needs Attention\") | .id,\n              \"item_id\":    (($repo.pullRequest.projectItems.nodes[] | select(.project.id == $project.id) | .id) // -1),\n              \"state\":      $repo.pullRequest.state\n            }\n          ' > params.json\n          jq . params.json\n          if [[ $(jq .item_id params.json) == -1 && $(jq .state params.json) != OPEN ]]; then\n            echo \"The pull-request is already closed.\"\n            exit\n          fi\n\n          gh api graphql $(jq -r '[to_entries[] | \"-F \" + .key + \"=\\\"\" + .value + \"\\\"\"] | join(\" \")' params.json) -f query='\n            mutation ($project_id: ID!, $field_id: ID!, $item_id: ID!) {\n              updateProjectV2ItemFieldValue(\n                input: {projectId: $project_id, fieldId: $field_id, itemId: $item_id, value: {singleSelectOptionId: \"98236657\"}}\n              ) {\n                clientMutationId\n              }\n            }\n          '\n", "state": "active", "repository": "cupy/cupy"}
{"mined_at": "2024-07-15T15:16:06.511423", "created_at": "2023-06-19T15:29:01+02:00", "updated_at": "2023-06-19T16:43:00+02:00", "name": "Pull-Request Update", "path": ".github/workflows/pr-updated.yml", "contents": "name: \"Pull-Request Update\"\n\non:\n  issue_comment:\n  pull_request:\n    types: [edited, synchronize, converted_to_draft, ready_for_review, review_requested, auto_merge_disabled]\n  pull_request_review:\n  pull_request_review_comment:\n\njobs:\n  mark-needs-attention:\n    if: |\n      github.repository_owner == 'cupy' &&\n      (\n        (\n            github.event_name == 'issue_comment' &&\n            github.event.issue.state == 'open' &&\n            github.event.issue.pull_request &&\n            !contains(github.event.issue.assignees.*.login, github.actor)\n        ) ||\n        (\n            github.event_name != 'issue_comment' &&\n            github.event.pull_request.state == 'open' &&\n            !contains(github.event.pull_request.assignees.*.login, github.actor)\n        )\n      )\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Needs Attention\n        run: |\n          echo \"The pull-request will be marked as Needs Attention from maintainers.\"\n          echo \"${{ (github.event.pull_request || github.event.issue).number }}\" > PULL_REQUEST_NUMBER\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: PULL_REQUEST_NUMBER\n          path: PULL_REQUEST_NUMBER\n", "state": "active", "repository": "cupy/cupy"}
{"mined_at": "2024-07-15T15:16:07.642210", "created_at": "2020-11-11T10:17:10+01:00", "updated_at": "2021-03-19T08:36:11+01:00", "name": "Pre-review Tests", "path": ".github/workflows/pretest.yml", "contents": "name: \"Pre-review Tests\"\n\non: [push, pull_request]\n\njobs:\n  static-checks:\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        # Checkout using commit hash to make \"no-commit-to-branch\" test pass.\n        ref: ${{ github.sha }}\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      id: setup-python\n      with:\n        python-version: '3.9'\n\n    - name: Setup cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache\n        key:\n          static-checks-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('.pre-commit-config.yaml') }}\n        restore-keys:\n          static-checks-\n\n    - name: Setup pre-commit\n      run: |\n        pip install pre-commit\n\n    - name: Check\n      run: |\n        pre-commit run -a --show-diff-on-failure\n\n    - name: Type Check\n      run: |\n        # TODO: Test against various NumPy/SciPy versions.\n        pip install 'numpy==1.25.*' 'scipy==1.10.*'\n        pip install 'mypy==1.5.*' 'types-setuptools==57.4.14' 'pytest>=7.2'\n        sed -i s/error::cupy.exceptions./error::numpy./ setup.cfg  # Because no cupy here. See cupy#8346\n        pytest -v tests/typing_tests/test_typing.py\n\n  build-cuda:\n    runs-on: ubuntu-22.04\n    env:\n      CUPY_CI: GitHub\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        submodules: recursive\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n\n    - name: Setup cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache\n        key: build-cuda-${{ github.sha }}\n        restore-keys: |\n          build-cuda-${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}\n          build-cuda-\n\n    - name: Setup ccache\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y ccache\n        echo \"PATH=/usr/lib/ccache:${PATH}\" >> \"${GITHUB_ENV}\"\n        ccache --show-stats -v\n\n    - name: Build\n      run: |\n        pip install -U pip wheel\n        READTHEDOCS=True pip install -v -e .\n        ccache --max-size 0.5Gi --cleanup --show-stats\n\n    - name: Docs Build\n      run: |\n        # Test to detect invalid escape sequences in docstrings (#1619)\n        python -Werror::DeprecationWarning -m compileall -f -q cupy cupyx examples tests docs\n        pushd docs\n        pip install -r requirements.txt\n        SPHINXOPTS=\"-W --keep-going -j 4\" make html\n        popd\n\n    - name: Import Test\n      run: |\n        python -c 'import cupy, cupyx'\n\n  build-rocm:\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        submodules: recursive\n\n    - name: Build & Test\n      run: |\n        docker run --rm -v \"${PWD}:/src\" -w /src \"rocm/dev-ubuntu-20.04:5.0-complete\" bash .github/workflows/pretest-rocm-test.sh\n", "state": "active", "repository": "cupy/cupy"}
{"mined_at": "2024-07-15T15:16:08.761288", "created_at": "2023-08-07T11:14:01+02:00", "updated_at": "2023-08-08T05:03:10+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: \"Publish to PyPI\"\nrun-name: \"Publish to PyPI (${{ inputs.release }} - ${{ inputs.branch }})\"\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"Source Branch (e.g., v13)\"\n        default: \"main\"\n      release:\n        description: \"Release to Publish (draft/tag, e.g., v14.0.0a1)\"\n        default: \"v14.0.0rc9\"\n\njobs:\n  precheck:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write  # to read draft releases\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        repository: cupy/cupy-release-tools\n        ref: ${{ inputs.branch }}\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: Check\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        STATUS=0\n        pip install distlib\n        ./check_release_assets.py --version \"${{ inputs.release }}\" --github > result.txt || STATUS=1\n        cat result.txt\n\n        echo '## Check Result' >> \"${GITHUB_STEP_SUMMARY}\"\n        echo '```' >> \"${GITHUB_STEP_SUMMARY}\"\n        cat result.txt >> \"${GITHUB_STEP_SUMMARY}\"\n        echo '```' >> \"${GITHUB_STEP_SUMMARY}\"\n        echo \"::notice::Release: $(gh -R cupy/cupy release view '${{ inputs.release }}' --json 'url' --jq '.url')\"\n\n        exit ${STATUS}\n\n  upload:\n    needs: precheck\n    environment:\n      name: pypi-release\n      url: https://pypi.org/org/cupy/\n    permissions:\n      contents: write  # to read draft releases\n      id-token: write\n    runs-on: ubuntu-latest\n    steps:\n    - name: Download (sdist)\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: gh -R cupy/cupy release download \"${{ inputs.release }}\" --dir dist --pattern \"cupy-*.tar.gz\"\n    - name: Download (wheels)\n      if: ${{ inputs.branch != 'main' }}\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: gh -R cupy/cupy release download \"${{ inputs.release }}\" --dir dist --pattern \"cupy_*.whl\"\n    - name: Enumerate Files\n      run: |\n        cd dist\n        ls -al $(find . -type f | sort) > ../files.txt\n        cat ../files.txt\n\n        echo '```' >> \"${GITHUB_STEP_SUMMARY}\"\n        cat ../files.txt >> \"${GITHUB_STEP_SUMMARY}\"\n        echo '```' >> \"${GITHUB_STEP_SUMMARY}\"\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        skip-existing: true\n        print-hash: true\n\n  postcheck:\n    needs: upload\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        repository: cupy/cupy-release-tools\n        ref: ${{ inputs.branch }}\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: Check\n      run: |\n        sleep 60s  # wait for PyPI to be updated\n        pip install distlib\n        CHECK_WHEEL=\"${{ inputs.branch != 'main' && '--pypi-wheel' || '' }}\"\n        ./check_release_assets.py --version \"${{ inputs.release }}\" --pypi-sdist ${CHECK_WHEEL}\n", "state": "active", "repository": "cupy/cupy"}
{"mined_at": "2024-07-15T15:16:10.233995", "created_at": "2023-10-25T10:41:07+02:00", "updated_at": "2023-10-25T10:52:25+02:00", "name": "ROCm CI", "path": ".github/workflows/rocm-ci.yml", "contents": null, "state": "active", "repository": "cupy/cupy"}
{"mined_at": "2024-07-15T15:16:12.427326", "created_at": "2022-07-05T20:19:15+02:00", "updated_at": "2022-07-05T20:19:15+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '35 9 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "yzhao062/pyod"}
{"mined_at": "2024-07-15T15:16:13.411397", "created_at": "2021-10-01T23:01:37+02:00", "updated_at": "2021-10-01T23:01:37+02:00", "name": "Daily Testing", "path": ".github/workflows/testing-cron.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Daily Testing\n\non:\n  schedule:\n    # Runs \"at minute 55 past every hour\" (see https://crontab.guru)\n    - cron: '5 4 * * 1,3,5,6'\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install libomp for macOS\n      if: startsWith(matrix.os, 'macos')\n      run: brew install libomp\n      \n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r docs/requirements.txt\n        pip install pytest\n        pip install coverage\n        pip install coveralls\n\n    - name: Test with pytest\n      run: |\n        coverage run --source=pyod -m pytest\n        \n    - name: Coverage report\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NAME: github-actions\n      run: |\n        coveralls --service=github || echo \"Coveralls failed to submit - retrying...\" && coveralls --service=github\n", "state": "active", "repository": "yzhao062/pyod"}
{"mined_at": "2024-07-15T15:16:14.419799", "created_at": "2021-10-01T22:18:00+02:00", "updated_at": "2021-10-01T22:52:52+02:00", "name": "Testing", "path": ".github/workflows/testing.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Testing\n\non:\n  push:\n    branches:\n      - master\n      - development\n  pull_request:\n    branches:\n      - master\n      - development\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        \n    steps:\n    - uses: actions/checkout@v4\n    - name: Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install libomp for macOS\n      if: startsWith(matrix.os, 'macos')\n      run: brew install libomp\n      \n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r docs/requirements.txt\n        pip install pytest\n        pip install coverage\n        pip install coveralls\n\n    - name: Test with pytest\n      run: |\n        coverage run --source=pyod -m pytest\n\n    - name: Coverage report\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NAME: github-actions\n      run: |\n        coveralls --service=github || echo \"Coveralls failed to submit - retrying...\" && coveralls --service=github\n\n\n", "state": "active", "repository": "yzhao062/pyod"}
{"mined_at": "2024-07-15T15:16:16.855249", "created_at": "2021-06-06T00:15:58+02:00", "updated_at": "2021-11-13T23:56:02+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\non:\n  push:\n    branches:\n      - master\n      - main\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - run: pip install -r requirements.txt\n      - run: pip install mkdocstrings==0.14.0\n      - run: pip install mkdocs-material\n      - run: mkdocs gh-deploy --force\n", "state": "disabled_manually", "repository": "ranaroussi/yfinance"}
{"mined_at": "2024-07-15T15:16:17.862977", "created_at": "2021-03-04T00:34:51+01:00", "updated_at": "2021-03-04T00:34:51+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "ranaroussi/yfinance"}
{"mined_at": "2024-07-15T15:16:18.905786", "created_at": "2023-12-02T16:42:09+01:00", "updated_at": "2024-01-06T17:18:28+01:00", "name": "Ruff", "path": ".github/workflows/ruff.yml", "contents": "name: Ruff\non:\n  pull_request:\n    branches:\n      - master\n      - main\n      - dev\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: chartboost/ruff-action@v1\n", "state": "active", "repository": "ranaroussi/yfinance"}
{"mined_at": "2024-07-15T15:16:19.898166", "created_at": "2023-05-10T15:42:31+02:00", "updated_at": "2023-05-10T15:42:31+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ranaroussi/yfinance"}
{"mined_at": "2024-07-15T15:16:21.989420", "created_at": "2020-09-12T06:33:53+02:00", "updated_at": "2023-06-17T21:58:00+02:00", "name": "debian9", "path": ".github/workflows/debian9.yml", "contents": null, "state": "active", "repository": "espnet/espnet"}
{"mined_at": "2024-07-15T15:16:23.202679", "created_at": "2021-12-16T23:21:05+01:00", "updated_at": "2021-12-16T23:21:05+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "espnet/espnet"}
{"mined_at": "2024-07-15T15:16:24.334000", "created_at": "2023-07-23T09:07:26+02:00", "updated_at": "2023-07-23T09:54:04+02:00", "name": "ci on macos", "path": ".github/workflows/ci_on_macos.yml", "contents": "name: ci on macos\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  check_installable_on_macos:\n    runs-on: macOS-latest\n    if: github.event.pull_request.draft == false\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n        pytorch-version: [2.1.0]\n        use-conda: [true, false]\n    steps:\n      - uses: actions/checkout@master\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.pytorch-version }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Get PR labels\n        id: pr-labels\n        uses: joerick/pr-labels-action@v1.0.9\n      - name: install espnet\n        env:\n          ESPNET_PYTHON_VERSION: ${{ matrix.python-version }}\n          TH_VERSION: ${{ matrix.pytorch-version }}\n          CHAINER_VERSION: 6.0.0\n          USE_CONDA: ${{ matrix.use-conda }}\n          # FIXME(kamo): clang is used by default, but I don't know how to use \"-fopenmp\" with clang\n          WITH_OMP: OFF\n          # NOTE(kamo): If it's hard to build with clang, please consider using gcc\n          # However, I couldn't build pysptk with gcc on MacOS\n          # CC: /usr/local/bin/gcc-11\n          # CXX: /usr/local/bin/g++-11\n        run: |\n          ./ci/install_macos.sh\n", "state": "active", "repository": "espnet/espnet"}
{"mined_at": "2024-07-15T15:16:25.367070", "created_at": "2023-07-23T09:07:26+02:00", "updated_at": "2023-07-23T09:54:04+02:00", "name": "publish paper pdf", "path": ".github/workflows/publish_paper_pdf.yml", "contents": "name: publish paper pdf\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  generate_and_upload_paper_pdf:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.draft == false\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Build draft PDF\n        uses: openjournals/openjournals-draft-action@master\n        with:\n          journal: joss\n          # This should be the path to the paper within your repo.\n          paper-path: doc/paper/espnet-se++/paper.md\n      - name: Upload\n        uses: actions/upload-artifact@v1\n        with:\n          name: paper\n          # This is the output path where Pandoc will write the compiled\n          # PDF. Note, this should be the same directory as the input\n          # paper.md\n          path: doc/paper/espnet-se++/paper.pdf\n", "state": "active", "repository": "espnet/espnet"}
{"mined_at": "2024-07-15T15:16:26.378852", "created_at": "2023-07-23T09:07:26+02:00", "updated_at": "2023-07-23T09:54:04+02:00", "name": "ci on debian11", "path": ".github/workflows/ci_on_debian11.yml", "contents": "name: ci on debian11\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  unit_test_espnet1_and_espnet2_on_debian11:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.draft == false\n    container:\n      image: debian:11\n      env:\n        ESPNET_PYTHON_VERSION: \"3.10\"\n        TH_VERSION: 1.13.1\n        CHAINER_VERSION: 6.0.0\n        USE_CONDA: true\n        # To avoid UnicodeEncodeError for python<=3.6\n        LC_ALL: en_US.UTF-8\n    steps:\n      - uses: actions/checkout@master\n      - name: check OS\n        run: cat /etc/os-release\n      - name: install dependencies\n        run: |\n          apt-get update -qq\n          # NOTE(kamo): cmake sndfile will be download using anacond:\n          apt-get install -qq -y \\\n            build-essential git unzip bzip2 wget curl bc locales make sox \\\n            libncurses5-dev automake libtool pkg-config\n          localedef -f UTF-8 -i en_US en_US\n      - name: Get PR labels\n        id: pr-labels\n        uses: joerick/pr-labels-action@v1.0.9\n      - name: install espnet\n        run: ./ci/install.sh\n      - name: test shell\n        run: |\n          ./ci/test_shell_espnet1.sh\n          ./ci/test_shell_espnet2.sh\n      - name: test python\n        run: |\n          ./ci/test_python_espnet1.sh\n          ./ci/test_python_espnet2.sh\n          ./ci/test_python_espnetez.sh\n", "state": "active", "repository": "espnet/espnet"}
{"mined_at": "2024-07-15T15:16:27.472867", "created_at": "2023-07-23T09:07:26+02:00", "updated_at": "2023-07-23T09:54:04+02:00", "name": "ci on ubuntu", "path": ".github/workflows/ci_on_ubuntu.yml", "contents": "name: ci on ubuntu\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  process_labels:\n    runs-on: ubuntu-latest\n    outputs:\n      is_docker: ${{ steps.step1.outputs.is_docker }}\n    steps:\n      - name: Get PR labels\n        id: pr-labels\n        uses: joerick/pr-labels-action@v1.0.9\n      - name: Check whether PR is related to only docker\n        id: step1\n        run: |\n          if [ -z \"$GITHUB_PR_LABEL_ESPNET1\" ] && [ -z \"$GITHUB_PR_LABEL_ESPNET2\" ] && [ -n \"$GITHUB_PR_LABEL_DOCKER\" ]; then\n            echo \"is_docker=true\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"is_docker=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n  unit_test_espnet1_and_integration_test_espnet1:\n    runs-on: ${{ matrix.os }}\n    needs: process_labels\n    # Outputs from Previous jobs are strings. Take care in case of using True/False.\n    if: |\n      github.event.pull_request.draft == false &&\n      needs.process_labels.outputs.is_docker == 'false'\n    strategy:\n      max-parallel: 20\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n        pytorch-version: [2.1.0]\n        chainer-version: [6.0.0]\n        use-conda: [false]\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.7\"\n            pytorch-version: 1.13.1\n            chainer-verssion: 6.0.0\n            use-conda: false\n    steps:\n      - uses: actions/checkout@master\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.pytorch-version }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n      - name: install dependencies\n        run: |\n          sudo apt-get update -qq\n          # NOTE(kamo): g++-7 doesn't exist in ubuntu-latest\n          sudo apt-get install -qq -y cmake libsndfile1-dev bc sox ffmpeg\n      - name: install espnet\n        env:\n          ESPNET_PYTHON_VERSION: ${{ matrix.python-version }}\n          TH_VERSION: ${{ matrix.pytorch-version }}\n          CHAINER_VERSION: ${{ matrix.chainer-version }}\n          USE_CONDA: ${{ matrix.use-conda }}\n        run: |\n          ./ci/install.sh\n\n      - name: test shell\n        run: |\n          ./ci/test_shell_espnet1.sh\n\n      - name: test python\n        run: ./ci/test_python_espnet1.sh\n      - uses: codecov/codecov-action@v2\n        with:\n          flags: test_python_espnet1\n      - name: coverage erase\n        continue-on-error: true\n        run: |\n          source tools/activate_python.sh\n          coverage erase\n\n      - name: install kaldi\n        run: |\n          ./ci/install_kaldi.sh\n\n      - name: test integration\n        run: ./ci/test_integration_espnet1.sh\n      - uses: codecov/codecov-action@v2\n        with:\n          flags: test_integration_espnet1\n\n  unit_test_espnet2_and_integration_test_espnet2:\n    runs-on: ${{ matrix.os }}\n    needs: process_labels\n    if: |\n      github.event.pull_request.draft == false &&\n      needs.process_labels.outputs.is_docker == 'false'\n    strategy:\n      max-parallel: 20\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8, 3.9, \"3.10\"]\n        pytorch-version: [2.0.1, 2.1.0]\n        chainer-version: [6.0.0]\n        use-conda: [false]\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.7\"\n            pytorch-version: 1.12.1\n            chainer-verssion: 6.0.0\n            use-conda: false\n          - os: ubuntu-latest\n            python-version: \"3.7\"\n            pytorch-version: 1.13.1\n            chainer-verssion: 6.0.0\n            use-conda: false\n    steps:\n      - uses: actions/checkout@master\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.pytorch-version }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n      - name: install dependencies\n        run: |\n          sudo apt-get update -qq\n          # NOTE(kamo): g++-7 doesn't exist in ubuntu-latest\n          sudo apt-get install -qq -y cmake libsndfile1-dev bc sox ffmpeg\n      - name: Get PR labels\n        id: pr-labels\n        uses: joerick/pr-labels-action@v1.0.9\n      - name: install espnet\n        env:\n          ESPNET_PYTHON_VERSION: ${{ matrix.python-version }}\n          TH_VERSION: ${{ matrix.pytorch-version }}\n          CHAINER_VERSION: ${{ matrix.chainer-version }}\n          USE_CONDA: ${{ matrix.use-conda }}\n        run: |\n          ./ci/install.sh\n\n      - name: test shell\n        run: |\n          ./ci/test_shell_espnet2.sh\n\n      - name: test python\n        run: ./ci/test_python_espnet2.sh\n      - uses: codecov/codecov-action@v2\n        with:\n          flags: test_python_espnet2\n      - name: coverage erase\n        continue-on-error: true\n        run: |\n          source tools/activate_python.sh\n          coverage erase\n\n      - name: install kaldi\n        run: |\n          ./ci/install_kaldi.sh\n\n      - name: test utils\n        run: ./ci/test_utils.sh\n      - uses: codecov/codecov-action@v2\n        with:\n          flags: test_utils\n      - name: coverage erase\n        continue-on-error: true\n        run: |\n          source tools/activate_python.sh\n          coverage erase\n\n      - name: test espnet2 integration\n        run: ./ci/test_integration_espnet2.sh\n      - uses: codecov/codecov-action@v2\n        with:\n          flags: test_integration_espnet2\n\n\n  test_configuration_espnet2:\n    runs-on: ${{ matrix.os }}\n    needs: process_labels\n    if: |\n      github.event.pull_request.draft == false &&\n      needs.process_labels.outputs.is_docker == 'false'\n    strategy:\n      max-parallel: 20\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.7]\n        pytorch-version: [1.13.1]\n        chainer-version: [6.0.0]\n        use-conda: [false]\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            pytorch-version: 2.1.0\n            chainer-verssion: 6.0.0\n            use-conda: false\n    steps:\n      - uses: actions/checkout@master\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.pytorch-version }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n      - name: install dependencies\n        run: |\n          sudo apt-get update -qq\n          # NOTE(kamo): g++-7 doesn't exist in ubuntu-latest\n          sudo apt-get install -qq -y cmake libsndfile1-dev bc sox ffmpeg\n      - name: install espnet\n        env:\n          ESPNET_PYTHON_VERSION: ${{ matrix.python-version }}\n          TH_VERSION: ${{ matrix.pytorch-version }}\n          CHAINER_VERSION: ${{ matrix.chainer-version }}\n          USE_CONDA: ${{ matrix.use-conda }}\n        run: |\n          ./ci/install.sh\n\n      - name: test configuration\n        run: ./ci/test_configuration_espnet2.sh\n      - uses: codecov/codecov-action@v2\n        with:\n          flags: test_configuration_espnet2\n\n  unit_test_espnetez_and_integration_test_espnetez:\n    runs-on: ${{ matrix.os }}\n    needs: process_labels\n    if: |\n      github.event.pull_request.draft == false &&\n      needs.process_labels.outputs.is_docker == 'false'\n    strategy:\n      max-parallel: 20\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8, 3.9, \"3.10\"]\n        pytorch-version: [2.0.1, 2.1.0]\n        chainer-version: [6.0.0]\n        use-conda: [false]\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.7\"\n            pytorch-version: 1.12.1\n            chainer-verssion: 6.0.0\n            use-conda: false\n          - os: ubuntu-latest\n            python-version: \"3.7\"\n            pytorch-version: 1.13.1\n            chainer-verssion: 6.0.0\n            use-conda: false\n    steps:\n      - uses: actions/checkout@master\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.pytorch-version }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n      - name: install dependencies\n        run: |\n          sudo apt-get update -qq\n          # NOTE(kamo): g++-7 doesn't exist in ubuntu-latest\n          sudo apt-get install -qq -y cmake libsndfile1-dev bc sox ffmpeg\n      - name: Get PR labels\n        id: pr-labels\n        uses: joerick/pr-labels-action@v1.0.9\n      - name: install espnet\n        env:\n          ESPNET_PYTHON_VERSION: ${{ matrix.python-version }}\n          TH_VERSION: ${{ matrix.pytorch-version }}\n          CHAINER_VERSION: ${{ matrix.chainer-version }}\n          USE_CONDA: ${{ matrix.use-conda }}\n        run: |\n          ./ci/install.sh\n\n      - name: test python\n        run: ./ci/test_python_espnetez.sh\n      - uses: codecov/codecov-action@v2\n        with:\n          flags: test_python_espnetez\n      - name: coverage erase\n        continue-on-error: true\n        run: |\n          source tools/activate_python.sh\n          coverage erase\n\n      - name: install kaldi\n        run: |\n          ./ci/install_kaldi.sh\n\n      - name: test utils\n        run: ./ci/test_utils.sh\n      - uses: codecov/codecov-action@v2\n        with:\n          flags: test_utils\n      - name: coverage erase\n        continue-on-error: true\n        run: |\n          source tools/activate_python.sh\n          coverage erase\n\n      - name: test espnetez integration\n        run: ./ci/test_integration_espnetez.sh\n      - uses: codecov/codecov-action@v2\n        with:\n          flags: test_integration_espnetez\n\n\n  test_import:\n    runs-on: ${{ matrix.os }}\n    needs: process_labels\n    if: |\n      github.event.pull_request.draft == false &&\n      needs.process_labels.outputs.is_docker == 'false'\n    strategy:\n      max-parallel: 20\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n        pytorch-version: [2.1.0]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo apt-get install -qq -y libsndfile1-dev\n        python3 -m pip install --upgrade pip setuptools wheel\n    - name: Install espnet with the least requirement\n      env:\n        TH_VERSION: ${{ matrix.pytorch-version }}\n      run: |\n        python3 -m pip install -U numba\n        ./tools/installers/install_torch.sh false ${TH_VERSION} CPU\n        ./tools/installers/install_chainer.sh CPU\n        python3 setup.py bdist_wheel\n        python3 -m pip install dist/espnet-*.whl\n        # log\n        python3 -m pip freeze\n    - name: Import all modules (Try1)\n      run: |\n        python3 ./ci/test_import_all.py\n    - name: Install espnet with the full requirement\n      env:\n        TH_VERSION: ${{ matrix.pytorch-version }}\n      run: |\n        python3 -m pip install \"$(ls dist/espnet-*.whl)[all]\"\n        # log\n        python3 -m pip freeze\n    - name: Import all modules (Try2)\n      run: |\n        python3 -q -X faulthandler ./ci/test_import_all.py\n\n  check_kaldi_symlinks:\n    runs-on: ubuntu-latest\n    needs: process_labels\n    if: |\n      github.event.pull_request.draft == false &&\n      needs.process_labels.outputs.is_docker == 'false'\n    steps:\n    - uses: actions/checkout@master\n    - run: ci/check_kaldi_symlinks.sh\n", "state": "active", "repository": "espnet/espnet"}
{"mined_at": "2024-07-15T15:16:28.633042", "created_at": "2023-07-23T09:07:26+02:00", "updated_at": "2023-07-23T09:54:04+02:00", "name": "ci on windows", "path": ".github/workflows/ci_on_windows.yml", "contents": "name: ci on windows\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  check_installable_on_windows:\n    runs-on: Windows-latest\n    if: github.event.pull_request.draft == false\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n        pytorch-version: [2.1.0]\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@master\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.pytorch-version }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n      - name: install dependencies\n        run: |\n          choco install -y wget\n      - name: Get PR labels\n        id: pr-labels\n        uses: joerick/pr-labels-action@v1.0.9\n      - name: install espnet\n        env:\n          ESPNET_PYTHON_VERSION: ${{ matrix.python-version }}\n          TH_VERSION: ${{ matrix.pytorch-version }}\n          CHAINER_VERSION: 6.0.0\n          USE_CONDA: false\n        run: |\n          ./ci/install.sh\n", "state": "active", "repository": "espnet/espnet"}
{"mined_at": "2024-07-15T15:16:29.859099", "created_at": "2023-07-23T09:07:26+02:00", "updated_at": "2023-07-23T09:54:04+02:00", "name": "publish doc", "path": ".github/workflows/publish_doc.yml", "contents": "name: publish doc\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  get_labels:\n    runs-on: ubuntu-latest\n    outputs:\n      is_doc: ${{ steps.check-labels.outputs.is_doc }}\n    steps:\n      - name: Get PR labels\n        id: pr-labels\n        uses: joerick/pr-labels-action@v1.0.9\n      - name: Check whether PR is related to documentation\n        id: check-labels\n        run: |\n          if [ -n \"$GITHUB_PR_LABEL_DOCUMENTATION\" ]; then\n            echo \"is_doc=true\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"is_doc=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n  generate_and_deplay_doc:\n    runs-on: ubuntu-latest\n    needs: get_labels\n    if: |\n      github.event_name != 'pull_request' ||\n        (github.event.pull_request.draft == false && needs.get_labels.outputs.is_doc == 'true')\n    steps:\n      - uses: actions/checkout@master\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: pip-${{ hashFiles('**/setup.py') }}\n      - uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n          architecture: \"x64\"\n      - name: check OS\n        run: cat /etc/os-release\n      - name: install dependencies\n        run: |\n          sudo apt-get update -qq\n          sudo apt-get install -qq -y cmake python3-dev git pandoc ffmpeg bc\n      - name: install espnet\n        env:\n          ESPNET_PYTHON_VERSION: 3.8\n          TH_VERSION: 2.0.1\n          CHAINER_VERSION: 6.0.0\n          USE_CONDA: false\n        run: ./ci/install.sh\n      - name: generate doc\n        run: ./ci/doc.sh\n      - name: deploy\n        if: github.ref == 'refs/heads/master'\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: doc/build\n", "state": "active", "repository": "espnet/espnet"}
{"mined_at": "2024-07-15T15:16:30.985674", "created_at": "2023-07-23T09:54:04+02:00", "updated_at": "2023-07-23T09:54:04+02:00", "name": "cancel workflows", "path": ".github/workflows/cancel_workflows.yml", "contents": "name: cancel workflows\non:\n  workflow_run:\n    workflows:\n      - \"ci on ubuntu\"\n      - \"ci on centos7\"\n      - \"ci on debian11\"\n      - \"ci on macos\"\n      - \"ci on windows\"\n      - \"publish doc\"\n      - \"publish paper pdf\"\n      # TODO(kan-bayashi): Remove the following items once all PR used new workflow files\n      - \"CI\"\n      - \"centos7\"\n      - \"debian11\"\n      - \"doc\"\n      - \"MacOS\"\n      - \"Windows\"\n      - \"Test import espnet\"\n      - \"Check kaldi scripts\"\n    types:\n      - requested\njobs:\n  cancel:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: styfle/cancel-workflow-action@0.11.0\n      with:\n        workflow_id: ${{ github.event.workflow.id }}\n", "state": "active", "repository": "espnet/espnet"}
{"mined_at": "2024-07-15T15:16:32.033680", "created_at": "2023-07-23T09:54:04+02:00", "updated_at": "2023-07-23T09:54:04+02:00", "name": "publich docker image", "path": ".github/workflows/publish_docker_image.yml", "contents": "name: publich docker image\n\non:\n  pull_request:\n    types: [closed]\n    branches:\n      - master\n    paths:\n      - 'tools/**'\n      - setup.py\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.merged == true\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push CPU container\n        run: |\n          cd docker\n          docker build --build-arg FROM_TAG=runtime-latest \\\n            -f prebuilt/devel.dockerfile \\\n            --target devel \\\n            -t espnet/espnet:cpu-latest .\n          docker push espnet/espnet:cpu-latest\n\n      - name: Build and push GPU container\n        run: |\n          cd docker\n          docker build --build-arg FROM_TAG=cuda-latest \\\n            --build-arg CUDA_VER=11.1 \\\n            -f prebuilt/devel.dockerfile \\\n            --target devel \\\n            -t espnet/espnet:gpu-latest .\n          docker push espnet/espnet:gpu-latest\n", "state": "active", "repository": "espnet/espnet"}
{"mined_at": "2024-07-15T15:16:33.114481", "created_at": "2023-07-23T09:54:04+02:00", "updated_at": "2023-07-23T09:54:04+02:00", "name": "publish python package", "path": ".github/workflows/publish_python_package.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: publish python package\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  publish_python_package_to_pypi:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "espnet/espnet"}
{"mined_at": "2024-07-15T15:16:35.596710", "created_at": "2020-05-13T23:41:36+02:00", "updated_at": "2022-10-13T18:34:50+02:00", "name": "Create wheel", "path": ".github/workflows/create-wheels.yaml", "contents": "name: Create wheel\n\non:\n  # run when a release has been created\n  release:\n    types: [created]\n  # push:\n  #   branches:\n  #     - \"go_wheel_*\"\n\n# env:\n#   # comment TWINE_REPOSITORY_URL to use the real pypi. NOTE: change also the secret used in TWINE_PASSWORD\n#   TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/\n\njobs:\n  build_wheels:\n    name: ${{ matrix.wheel_mode }} wheels ${{ matrix.python }} on ${{ matrix.os }} ${{ matrix.os == 'ubuntu-22.04' && matrix.linux_archs || '' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # emulated wheels on linux take too much time, split wheels into multiple runs\n        python:\n          - \"cp38-*\"\n          - \"cp39-* cp310-*\"\n          - \"cp311-* cp312-*\"\n        wheel_mode:\n          - compiled\n        os:\n          - \"windows-2022\"\n          # TODO: macos-14 uses arm macs (only python 3.10+) - make arm wheel on it\n          - \"macos-13\"\n          - \"ubuntu-22.04\"\n        linux_archs:\n          # this is only meaningful on linux. windows and macos ignore exclude all but one arch\n          - \"aarch64\"\n          - \"x86_64\"\n\n        include:\n          # create pure python build\n          - os: ubuntu-22.04\n            wheel_mode: pure-python\n            python: \"cp-311*\"\n\n        exclude:\n          - os: \"windows-2022\"\n            linux_archs: \"aarch64\"\n          - os: \"macos-13\"\n            linux_archs: \"aarch64\"\n\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Remove tag-build from pyproject.toml\n        # sqlalchemy has `tag-build` set to `dev` in pyproject.toml. It needs to be removed before creating the wheel\n        # otherwise it gets tagged with `dev0`\n        shell: pwsh\n        # This is equivalent to the sed commands:\n        # `sed -i '/tag-build=\"dev\"/d' pyproject.toml`\n        # `sed -i '/tag-build = \"dev\"/d' pyproject.toml`\n\n        # `-replace` uses a regexp match\n        run: |\n          (get-content pyproject.toml) | %{$_ -replace 'tag-build.?=.?\"dev\"',\"\"} | set-content pyproject.toml\n\n      # See details at https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation\n      - name: Set up QEMU on linux\n        if: ${{ runner.os == 'Linux' }}\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n\n      - name: Build compiled wheels\n        if: ${{ matrix.wheel_mode == 'compiled' }}\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_ARCHS_LINUX: ${{ matrix.linux_archs }}\n          CIBW_BUILD: ${{ matrix.python }}\n          # setting it here does not work on linux\n          # PYTHONNOUSERSITE: \"1\"\n\n\n      - name: Set up Python for twine and pure-python wheel\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Build pure-python wheel\n        if: ${{ matrix.wheel_mode == 'pure-python' && runner.os == 'Linux' }}\n        run: |\n          python -m pip install --upgrade pip\n          pip --version\n          pip install build\n          pip list\n          DISABLE_SQLALCHEMY_CEXT=y python -m build --wheel --outdir ./wheelhouse\n\n      # - uses: actions/upload-artifact@v3\n      #   with:\n      #     path: ./wheelhouse/*.whl\n\n      - name: Upload wheels to release\n        # upload the generated wheels to the github release\n        uses: sqlalchemyorg/upload-release-assets@sa\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          files: './wheelhouse/*.whl'\n\n      - name: Publish wheel\n        # the action https://github.com/marketplace/actions/pypi-publish runs only on linux and we cannot specify\n        # additional options\n        env:\n          TWINE_USERNAME: __token__\n          # replace TWINE_PASSWORD with token for real pypi\n          # TWINE_PASSWORD: ${{ secrets.test_pypi_token }}\n          TWINE_PASSWORD: ${{ secrets.pypi_token }}\n        run: |\n          pip install -U twine\n          twine upload --skip-existing ./wheelhouse/*\n", "state": "active", "repository": "sqlalchemy/sqlalchemy"}
{"mined_at": "2024-07-15T15:16:36.743169", "created_at": "2020-04-07T21:04:40+02:00", "updated_at": "2020-04-07T21:04:40+02:00", "name": "Run tests on a pr", "path": ".github/workflows/run-on-pr.yaml", "contents": "name: Run tests on a pr\n\non:\n  # run on pull request to main excluding changes that are only on doc or example folders\n  pull_request:\n    branches:\n      - main\n    paths-ignore:\n      - \"examples/**\"\n\nenv:\n  # global env to all steps\n  TOX_WORKERS: -n2\n\npermissions:\n  contents: read\n\njobs:\n  run-test-amd64:\n    name: test-amd64-${{ matrix.python-version }}-${{ matrix.build-type }}-${{ matrix.architecture }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # run this job using this matrix, excluding some combinations below.\n      matrix:\n        os:\n          - \"ubuntu-latest\"\n        python-version:\n          - \"3.12\"\n        build-type:\n          - \"cext\"\n          - \"nocext\"\n        architecture:\n          - x64\n      # abort all jobs as soon as one fails\n      fail-fast: false\n\n    # steps to run in each job. Some are github actions, others run shell commands\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox setuptools\n          pip list\n\n      - name: Run tests\n        run: tox -e github-${{ matrix.build-type }} -- -q --nomemory --notimingintensive ${{ matrix.pytest-args }}\n\n  run-tox:\n    name: ${{ matrix.tox-env }}-${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - \"ubuntu-latest\"\n        python-version:\n          - \"3.12\"\n        tox-env:\n          - mypy\n          - lint\n          - pep484\n\n      fail-fast: false\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox setuptools\n          pip list\n\n      - name: Run tox\n        run: tox -e ${{ matrix.tox-env }} ${{ matrix.pytest-args }}\n", "state": "active", "repository": "sqlalchemy/sqlalchemy"}
{"mined_at": "2024-07-15T15:16:37.849072", "created_at": "2020-04-07T18:20:24+02:00", "updated_at": "2020-04-07T18:20:24+02:00", "name": "Run tests", "path": ".github/workflows/run-test.yaml", "contents": "name: Run tests\n\non:\n  # run on push in main or rel_* branches excluding changes are only on doc or example folders\n  push:\n    branches:\n      - main\n      - \"rel_*\"\n      # branches used to test the workflow\n      - \"workflow_test_*\"\n    paths-ignore:\n      - \"examples/**\"\n\nenv:\n  # global env to all steps\n  TOX_WORKERS: -n2\n\npermissions:\n  contents: read\n\njobs:\n  run-test:\n    name: test-${{ matrix.python-version }}-${{ matrix.build-type }}-${{ matrix.architecture }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # run this job using this matrix, excluding some combinations below.\n      matrix:\n        os:\n          - \"ubuntu-latest\"\n          - \"windows-latest\"\n          - \"macos-latest\"\n          - \"macos-13\"\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          - \"pypy-3.10\"\n        build-type:\n          - \"cext\"\n          - \"nocext\"\n        architecture:\n          - x64\n          - x86\n          - arm64\n\n        include:\n          # autocommit tests fail on the ci for some reason\n          - python-version: \"pypy-3.10\"\n            pytest-args: \"-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'\"\n          - os: \"ubuntu-latest\"\n            pytest-args: \"--dbdriver pysqlite --dbdriver aiosqlite\"\n\n\n        exclude:\n          # linux do not have x86 / arm64 python\n          - os: \"ubuntu-latest\"\n            architecture: x86\n          - os: \"ubuntu-latest\"\n            architecture: arm64\n          # windows des not have arm64 python\n          - os: \"windows-latest\"\n            architecture: arm64\n          # macos: latests uses arm macs. only 3.10+; no x86/x64\n          - os: \"macos-latest\"\n            architecture: x86\n          - os: \"macos-latest\"\n            architecture: x64\n          - os: \"macos-latest\"\n            python-version: \"3.8\"\n          - os: \"macos-latest\"\n            python-version: \"3.9\"\n          # macos 13: uses intel macs. no arm64, x86\n          - os: \"macos-13\"\n            architecture: arm64\n          - os: \"macos-13\"\n            architecture: x86\n          # pypy does not have cext or x86\n          - python-version: \"pypy-3.10\"\n            build-type: \"cext\"\n          - os: \"windows-latest\"\n            python-version: \"pypy-3.10\"\n            architecture: x86\n\n      fail-fast: false\n\n    # steps to run in each job. Some are github actions, others run shell commands\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: Remove greenlet\n        if: ${{ matrix.no-greenlet == 'true' }}\n        shell: pwsh\n        run: |\n          (cat setup.cfg) | %{$_ -replace \"^\\s*greenlet.+\",\"\"} | set-content setup.cfg\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox setuptools\n          pip list\n\n      - name: Run tests\n        run: tox -e github-${{ matrix.build-type }} -- -q --nomemory --notimingintensive ${{ matrix.pytest-args }}\n        continue-on-error: ${{ matrix.python-version == 'pypy-3.10' }}\n\n  run-test-arm64:\n    # Hopefully something native can be used at some point https://github.blog/changelog/2023-10-30-accelerate-your-ci-cd-with-arm-based-hosted-runners-in-github-actions/\n    name: test-arm64-${{ matrix.python-version }}-${{ matrix.build-type }}-${{ matrix.os }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - cp38-cp38\n          - cp39-cp39\n          - cp310-cp310\n          - cp311-cp311\n          - cp312-cp312\n        build-type:\n          - \"cext\"\n          - \"nocext\"\n\n      fail-fast: false\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Set up emulation\n        run: |\n          docker run --rm --privileged multiarch/qemu-user-static --reset -p yes\n\n      - name: Run tests\n        uses: docker://quay.io/pypa/manylinux2014_aarch64\n        with:\n          args: |\n            bash -c \"\n            export PATH=/opt/python/${{ matrix.python-version }}/bin:$PATH &&\n            python --version &&\n            python -m pip install --upgrade pip &&\n            pip install --upgrade tox setuptools &&\n            pip list &&\n            tox -e github-${{ matrix.build-type }} -- -q --nomemory --notimingintensive ${{ matrix.pytest-args }}\n            \"\n\n  run-tox:\n    name: ${{ matrix.tox-env }}-${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # run this job using this matrix, excluding some combinations below.\n      matrix:\n        os:\n          - \"ubuntu-latest\"\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n        tox-env:\n          - mypy\n          - lint\n          - pep484\n\n        exclude:\n          # run lint only on 3.11\n          - tox-env: lint\n            python-version: \"3.8\"\n          - tox-env: lint\n            python-version: \"3.9\"\n          - tox-env: lint\n            python-version: \"3.10\"\n          # run pep484 only on 3.10+\n          - tox-env: pep484\n            python-version: \"3.8\"\n          - tox-env: pep484\n            python-version: \"3.9\"\n\n      fail-fast: false\n\n    # steps to run in each job. Some are github actions, others run shell commands\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: ${{ matrix.architecture }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade tox setuptools\n          pip list\n\n      - name: Run tox\n        run: tox -e ${{ matrix.tox-env }} ${{ matrix.pytest-args }}\n", "state": "active", "repository": "sqlalchemy/sqlalchemy"}
{"mined_at": "2024-07-15T15:16:39.843520", "created_at": "2021-11-29T13:24:12+01:00", "updated_at": "2024-02-02T12:24:52+01:00", "name": "autopep8-suggester-action", "path": ".github/workflows/autopep8-suggester.yml", "contents": null, "state": "active", "repository": "federatedai/fate"}
{"mined_at": "2024-07-15T15:16:40.875260", "created_at": "2021-11-29T13:24:12+01:00", "updated_at": "2021-12-02T07:12:11+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '20 18 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-20.04\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        sudo apt-get install -y gcc g++ make openssl supervisor libgmp-dev  libmpfr-dev libmpc-dev libaio1 libaio-dev numactl autoconf automake libtool libffi-dev libssl-dev liblz4-1 liblz4-dev liblz4-tool zlib1g-dev\n        python -m pip install --upgrade pip\n        if [ -f python/requirements.txt ];\n        then python -m pip install -r python/requirements.txt;\n        fi\n        # Set the `CODEQL-PYTHON` environment variable to the Python executable\n        # that includes the dependencies\n        echo \"CODEQL_PYTHON=$(which python)\" >> $GITHUB_ENV\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        setup-python-dependencies: false\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "federatedai/fate"}
{"mined_at": "2024-07-15T15:16:41.937489", "created_at": "2023-12-29T08:26:32+01:00", "updated_at": "2023-12-29T08:26:32+01:00", "name": "Build pyfate", "path": ".github/workflows/build_fate.yaml", "contents": "name: Build pyfate\non:\n  workflow_dispatch:\n    inputs:\n      source:\n        description: 'source branch'\n        required: true\n      type:\n        description: 'publish type, test or release'\n        required: false\n        default: 'test'\n\njobs:\n  build:\n    name: (${{github.event.inputs.type}} build) branch ${{github.event.inputs.source}}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{github.event.inputs.source}}\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Build fate_client\n        run: |\n          python3 python/setup.py sdist --formats=gztar\n\n      - name: Twine check\n        run: |\n          pip install -U twine\n          twine check dist/*\n\n      - name: Upload to artifact\n        uses: actions/upload-artifact@v2\n        with:\n          path: |\n            dist/*\n\n      - name: Test Install\n        run: |\n          pip install -U pip\n          pip install --find-link=dist/ pyfate\n\n      - name: Upload to PyPI Test\n        if: ${{ github.event.inputs.type == 'test' }}\n        run: |\n          twine upload --repository testpypi dist/* --verbose\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.pypitest_token }}\n\n      - name: Upload to PyPI\n        if: ${{ github.event.inputs.type == 'release' }}\n        run: |\n          twine upload dist/* --verbose\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.pypi_token }}\n", "state": "active", "repository": "federatedai/fate"}
{"mined_at": "2024-07-15T15:16:42.969062", "created_at": "2023-12-29T08:26:32+01:00", "updated_at": "2023-12-29T08:26:32+01:00", "name": "Build FATE-Utils", "path": ".github/workflows/build_fate_utils.yml", "contents": "name: Build FATE-Utils\n\non:\n  workflow_dispatch:\n    inputs:\n      source:\n        description: 'source branch'\n        required: true\n      type:\n        description: 'publish type, test or testpypi or pypi'\n        required: false\n        default: 'test'\n\njobs:\n  build:\n    name: build wheel on ${{ matrix.os }}\n    runs-on: ${{ format('{0}-latest', matrix.os) }} \n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu, macos]\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: ${{github.event.inputs.source}}\n    - uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8\"\n    - uses: actions/setup-python@v2\n      with:\n        python-version: \"3.9\"\n    - uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n    - name: ubuntu-maturin\n      if: matrix.os == 'ubuntu'\n      uses: messense/maturin-action@v1\n      with:\n        manylinux: auto\n        command: build\n        args: --release -o dist -m rust/fate_utils/crates/fate_utils/Cargo.toml\n    - name: macos-maturin\n      if: matrix.os == 'macos'\n      uses: messense/maturin-action@v1\n      with:\n        command: build\n        args: --release --no-sdist -o dist -m rust/fate_utils/crates/fate_utils/Cargo.toml\n    - name: Upload wheels\n      uses: actions/upload-artifact@v2\n      with:\n        name: wheels\n        path: dist\n\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    needs: [ build ]\n    steps:\n      - uses: actions/download-artifact@v2\n        with:\n          name: wheels\n          path: dist\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Twine check\n        run: |\n          pip install -U twine\n          twine check dist/*\n      - name: Test Install\n        run: |\n          pip install -U pip\n          pip install --find-link=dist/ fate_utils\n      - name: Upload to PyPI Test\n        if: ${{ github.event.inputs.type == 'testpypi' }}\n        run: |\n          twine upload --repository testpypi dist/* --verbose\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.pypitest_token }}\n\n      - name: Upload to PyPI\n        if: ${{ github.event.inputs.type == 'pypi' }}\n        run: |\n          twine upload dist/* --verbose\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.pypi_token }}\n", "state": "active", "repository": "federatedai/fate"}
{"mined_at": "2024-07-15T15:16:43.995064", "created_at": "2024-07-08T13:52:30+02:00", "updated_at": "2024-07-08T13:52:30+02:00", "name": "Close inactive issues", "path": ".github/workflows/close_inactive_issues.yml", "contents": null, "state": "active", "repository": "federatedai/fate"}
{"mined_at": "2024-07-15T15:16:46.277985", "created_at": "2020-01-09T13:04:25+01:00", "updated_at": "2020-01-09T13:04:25+01:00", "name": "Python package", "path": "", "contents": null, "state": "active", "repository": "quantumlib/cirq"}
{"mined_at": "2024-07-15T15:16:47.473663", "created_at": "2023-07-06T21:47:50+02:00", "updated_at": "2023-07-06T21:47:50+02:00", "name": "Continuous Integration - Daily", "path": ".github/workflows/ci-daily.yml", "contents": "name: Continuous Integration - Daily\n\non:\n  schedule:\n    # Checks out main by default.\n    - cron: '0 0 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  pytest:\n    name: Pytest Ubuntu\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n      - uses: actions/cache@v4\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}\n      - name: Install requirements\n        run: |\n          pip install cirq~=1.0.dev &&\n          pip install \\\n            -r dev_tools/requirements/deps/format.txt \\\n            -r dev_tools/requirements/deps/pylint.txt \\\n            -r dev_tools/requirements/deps/pytest.txt \\\n            -r dev_tools/requirements/deps/notebook.txt\n      - name: Run Quil dependencies\n        run: docker compose -f cirq-rigetti/docker-compose.test.yaml up -d\n      - name: Pytest check\n        run: check/pytest -n auto --ignore=cirq-core/cirq/contrib --rigetti-integration --enable-slow-tests\n      - name: Stop Quil dependencies\n        run: docker compose -f cirq-rigetti/docker-compose.test.yaml down\n  windows:\n    name: Pytest Windows\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n    runs-on: windows-2019\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n      - uses: actions/cache@v4\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}\n      - name: Install requirements\n        run: |\n          pip install cirq~=1.0.dev &&\n            pip install -r dev_tools/requirements/deps/format.txt &&\n            pip install -r dev_tools/requirements/deps/pylint.txt &&\n            pip install -r dev_tools/requirements/deps/pytest.txt &&\n            pip install -r dev_tools/requirements/deps/notebook.txt\n      - name: Pytest Windows\n        run: check/pytest -n auto --ignore=cirq-core/cirq/contrib --enable-slow-tests\n        shell: bash\n  macos:\n    name: Pytest MacOS\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n    # TODO(#6577): upgrade to macos-latest when it runs Python 3.10\n    runs-on: macos-13\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n      - uses: actions/cache@v4\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}\n      - name: Install requirements\n        run: |\n          pip install cirq~=1.0.dev &&\n          pip install \\\n            -r dev_tools/requirements/deps/format.txt \\\n            -r dev_tools/requirements/deps/pylint.txt \\\n            -r dev_tools/requirements/deps/pytest.txt \\\n            -r dev_tools/requirements/deps/notebook.txt\n      - name: Pytest check\n        run: check/pytest -n auto --ignore=cirq-core/cirq/contrib --enable-slow-tests\n", "state": "active", "repository": "quantumlib/cirq"}
{"mined_at": "2024-07-15T15:16:48.602013", "created_at": "2023-04-11T19:01:48+02:00", "updated_at": "2023-04-11T19:01:48+02:00", "name": "Continuous Integration - Weekly", "path": ".github/workflows/ci-weekly.yml", "contents": "name: Continuous Integration - Weekly\n\non:\n  schedule:\n    # Checks out main by default.\n    - cron: '0 0 * * 0'\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  notebooks-stable:\n    name: All Notebooks Isolated Test against Cirq stable\n    env:\n      NOTEBOOK_PARTITIONS: 4\n    strategy:\n      matrix:\n        # partitions should be named partition-0 to partition-(NOTEBOOK_PARTITIONS-1)\n        partition: [partition-0, partition-1, partition-2, partition-3]\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install requirements\n        run: pip install -r dev_tools/requirements/isolated-base.env.txt\n      - name: Notebook tests\n        run: check/pytest -n auto -m weekly dev_tools/notebooks/isolated_notebook_test.py -k ${{matrix.partition}}\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: notebook-outputs\n          path: out\n", "state": "active", "repository": "quantumlib/cirq"}
{"mined_at": "2024-07-15T15:16:49.639962", "created_at": "2020-03-25T19:54:36+01:00", "updated_at": "2023-03-09T19:10:27+01:00", "name": "Continuous Integration", "path": ".github/workflows/ci.yml", "contents": "name: Continuous Integration\n\non:\n  schedule:\n    # Checks out main by default.\n    - cron: '0 0 * * *'\n  pull_request:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  quick_test:\n    name: Misc check\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Misc\n        run: check/misc\n  packaging_test:\n    name: Packaging test\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install dependencies\n        run: pip install -r dev_tools/requirements/deps/packaging.txt\n      - name: Run packaging test\n        run: ./dev_tools/packaging/packaging_test.sh\n  format:\n    name: Format check\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install dependencies\n        run: pip install -r dev_tools/requirements/deps/format.txt\n      - name: Format\n        run: check/format-incremental\n  mypy:\n    name: Type check\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install mypy\n        run: pip install -r dev_tools/requirements/mypy.env.txt\n      - name: Type check\n        run: check/mypy\n  changed_files:\n    name: Changed files test\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install changed files test dependencies\n        run: dev_tools/conf/pip-install-minimal-for-pytest-changed-files.sh\n      - name: Changed files test\n        run: check/pytest-changed-files -n auto\n  lint:\n    name: Lint check\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install pylint\n        run: pip install -r dev_tools/requirements/pylint.env.txt\n      - name: Display version\n        run: check/pylint --version\n      - name: Lint\n        run: check/pylint -v\n  doc_test:\n    name: Doc test\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install requirements\n        run: pip install -r dev_tools/requirements/dev.env.txt\n      - name: RST check\n        run: find . -type f -name \"*.rst\" | xargs rstcheck\n      - name: Doc check\n        run: check/doctest -q\n  nbformat:\n    name: Notebook formatting\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install requirements\n        run: pip install -r dev_tools/requirements/deps/tensorflow-docs.txt\n      - name: Doc check\n        run: check/nbformat\n  shellcheck:\n    name: Shell check\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Run shellcheck\n        run: check/shellcheck\n  isolated-modules:\n    name: Isolated pytest Ubuntu\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install dependencies\n        run: pip install -r dev_tools/requirements/isolated-base.env.txt\n      - name: Test each module in isolation\n        run: pytest -n auto --enable-slow-tests dev_tools/packaging/isolated_packages_test.py\n  pytest:\n    name: Pytest Ubuntu\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n      - uses: actions/cache@v4\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}\n      - name: Install requirements\n        run: |\n          pip install wheel\n          pip install --upgrade --upgrade-strategy eager -r dev_tools/requirements/dev.env.txt\n      - name: Run Quil dependencies\n        run: docker compose -f cirq-rigetti/docker-compose.test.yaml up -d\n      - name: Pytest check\n        run: check/pytest -n auto --durations=20 --ignore=cirq-core/cirq/contrib --rigetti-integration\n      - name: Stop Quil dependencies\n        run: docker compose -f cirq-rigetti/docker-compose.test.yaml down\n  pip-compile:\n    name: Check consistency of requirements\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install requirements\n        run: pip install pip-tools\n      - name: Test dependencies with pip-compile\n        run: |\n          pip-compile --resolver=backtracking dev_tools/requirements/deps/cirq-all.txt -o-\n  build_protos:\n    name: Build protos\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install requirements\n        run: |\n          pip install -r dev_tools/requirements/deps/protos.txt\n      - name: Build protos\n        run: check/build-changed-protos\n  coverage:\n    name: Coverage check\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - uses: actions/cache@v4\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}\n      - name: Install requirements\n        run: |\n          pip install wheel\n          pip install --upgrade --upgrade-strategy eager -r dev_tools/requirements/dev.env.txt\n      - name: Run Quil dependencies\n        run: docker compose -f cirq-rigetti/docker-compose.test.yaml up -d\n      - name: Coverage check\n        run: check/pytest-and-incremental-coverage -n auto --rigetti-integration\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      - name: Stop Quil dependencies\n        run: docker compose -f cirq-rigetti/docker-compose.test.yaml down\n  windows:\n    name: Pytest Windows\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n    runs-on: windows-2019\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n      - uses: actions/cache@v4\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}\n      - name: Install requirements\n        run: |\n          pip install wheel\n          pip install --upgrade --upgrade-strategy eager -r dev_tools/requirements/no-contrib.env.txt\n      - name: Pytest Windows\n        run: |\n          source dev_tools/pypath\n          check/pytest -n auto --durations=20 --ignore=cirq-core/cirq/contrib\n        shell: bash\n  macos:\n    name: Pytest MacOS\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n    # TODO(#6577): upgrade to macos-latest when it runs Python 3.10\n    runs-on: macos-13\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: 'x64'\n      - uses: actions/cache@v4\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('**/requirements.txt', 'dev_tools/requirements/**/*.txt') }}\n      - name: Install requirements\n        run: |\n          pip install wheel\n          pip install --upgrade --upgrade-strategy eager -r dev_tools/requirements/no-contrib.env.txt\n      - name: Pytest check\n        run: check/pytest -n auto --durations=20 --ignore=cirq-core/cirq/contrib\n  notebooks-stable:\n    name: Changed Notebooks Isolated Test against Cirq stable\n    env:\n      NOTEBOOK_PARTITIONS: 4\n    strategy:\n      matrix:\n        # partitions should be named partition-0 to partition-(NOTEBOOK_PARTITIONS-1)\n        partition: [partition-0, partition-1, partition-2, partition-3]\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install requirements\n        run: pip install -r dev_tools/requirements/isolated-base.env.txt\n      - name: Notebook tests\n        run: check/pytest -n auto -m slow dev_tools/notebooks/isolated_notebook_test.py -k ${{matrix.partition}}\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: notebook-outputs\n          path: out\n  notebooks-branch:\n    name: Notebook Tests against PR\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install requirements\n        run: pip install -r dev_tools/requirements/notebooks.env.txt\n      - name: Notebook tests\n        run: check/pytest -n auto -m slow dev_tools/notebooks/notebook_test.py\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: notebook-outputs\n          path: out\n  ts-build:\n    name: Bundle file consistency\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '14.16.1'\n      - name: Install npm\n        run: check/npm ci\n      - name: Check build matches the current\n        run: check/ts-build-current\n  ts-lint:\n    name: Typescript lint check\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '14.16.1'\n      - name: Install npm\n        run: check/npm ci\n      - name: Lint\n        run: check/ts-lint\n  ts-test:\n    name: Typescript tests\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '14.16.1'\n      - name: Install npm dependencies\n        run: check/npm ci\n      - name: Unit tests\n        run: check/ts-test\n      - name: End to end tests\n        run: check/ts-test-e2e\n  ts-coverage:\n    name: Typescript tests coverage\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '14.16.1'\n      - name: Install npm dependencies\n        run: check/npm ci\n      - name: Test\n        run: check/ts-coverage\n", "state": "active", "repository": "quantumlib/cirq"}
{"mined_at": "2024-07-15T15:16:50.850465", "created_at": "2023-11-30T01:04:21+01:00", "updated_at": "2023-11-30T01:04:21+01:00", "name": "Pre-release cirq to PyPi", "path": ".github/workflows/release-main.yml", "contents": "name: Pre-release cirq to PyPi\n\non:\n  push:\n    branches:\n      - main\njobs:\n  push_to_pypi:\n    if: github.repository == 'quantumlib/Cirq'\n    name: Push to PyPi\n    runs-on: ubuntu-20.04\n    env:\n      NAME: dev-release\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Create PYPI config file\n        env:\n          CIRQ_PYPI_TOKEN: ${{ secrets.CIRQ_PYPI_TOKEN }}\n          CIRQ_TEST_PYPI_TOKEN: ${{ secrets.CIRQ_TEST_PYPI_TOKEN }}\n        run: |\n          envsubst < dev_tools/packaging/pypirc_template > $HOME/.pypirc\n      - name: Build and publish\n        run: |\n          export CIRQ_PRE_RELEASE_VERSION=$(dev_tools/packaging/generate-dev-version-id.sh)\n          [[ \"$CIRQ_PRE_RELEASE_VERSION\" =~ .*dev.* ]] && echo \"Deploying dev version '$CIRQ_PRE_RELEASE_VERSION'\" || (echo \"not dev version\"; exit 1)\n          out_dir=\"${PWD}/dist\"\n          dev_tools/packaging/produce-package.sh ${out_dir} $CIRQ_PRE_RELEASE_VERSION\n          twine upload \"${out_dir}/*\"\n", "state": "active", "repository": "quantumlib/cirq"}
{"mined_at": "2024-07-15T15:16:51.974460", "created_at": "2020-10-06T01:18:42+02:00", "updated_at": "2020-10-06T21:15:13+02:00", "name": "Mark and close stale issues", "path": ".github/workflows/stale.yml", "contents": "name: \"Mark and close stale issues\"\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days'\n        days-before-stale: 30\n        days-before-close: 30\n        close-issue-message: 'Issue closed due to inactivity.'\n        stale-issue-label: 'triage/stale'\n        exempt-issue-labels: 'triage/accepted,triage/discuss,kind/design-issue,kind/health,kind/roadmap-item,kind/task'\n", "state": "active", "repository": "quantumlib/cirq"}
{"mined_at": "2024-07-15T15:16:53.074023", "created_at": "2023-08-10T00:31:22+02:00", "updated_at": "2023-08-10T00:31:22+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "quantumlib/cirq"}
{"mined_at": "2024-07-15T15:16:55.244489", "created_at": "2021-01-15T17:51:23+01:00", "updated_at": "2021-04-28T02:14:06+02:00", "name": "Publish Docs", "path": ".github/workflows/publish-docs.yml", "contents": "name: Publish Docs\n\non:\n  workflow_dispatch:\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n  publish:\n    name: Publish Docs\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - uses: actions/setup-go@v1\n        with:\n          go-version: '1.19.4'\n\n      - uses: actions/setup-node@v3\n        with:\n          node-version-file: '.nvmrc'\n\n      - name: Setup\n        run: make all\n        env:\n          NODE_OPTIONS: '--max-old-space-size=8192'\n\n      - name: Publish Docs\n        run: |\n          make website\n          make publish-website\n          aws cloudfront create-invalidation --distribution-id $AWS_CLOUDFRONT_DISTRIBUTION_ID --paths \"/*\"\n        env:\n          AWS_CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION_ID }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}\n      \n      # Needs a sleep to wait for cloudfront cache bust.\n      - name: Reindex Algolia search\n        run: |\n          sleep 50s\n          curl -X POST -H \"Content-Type: application/json\" --user $ALGOLIA_CRAWLER_USER_ID:$ALGOLIA_CRAWLER_API_KEY  https://crawler.algolia.com/api/1/crawlers/$ALGOLIA_CRAWLER_ID/reindex\n        env:\n          ALGOLIA_CRAWLER_API_KEY: ${{ secrets.ALGOLIA_CRAWLER_API_KEY }}\n          ALGOLIA_CRAWLER_ID: ${{ secrets.ALGOLIA_CRAWLER_ID }}\n          ALGOLIA_CRAWLER_USER_ID: ${{ secrets.ALGOLIA_CRAWLER_USER_ID }}\n", "state": "active", "repository": "h2oai/wave"}
{"mined_at": "2024-07-15T15:16:56.482889", "created_at": "2021-05-06T23:45:23+02:00", "updated_at": "2022-02-17T11:37:10+01:00", "name": "Release Wave", "path": ".github/workflows/release-wave.yml", "contents": "name: Release Wave\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"Release Version\"\n        required: true\n      skipDocsPublish:\n        description: \"Skip publishing docs site\"\n        required: false\n        default: \"false\"\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  VERSION: \"${{ github.event.inputs.version }}\"\n  TAG: \"v${{ github.event.inputs.version }}\"\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  release:\n    name: Release Wave\n    runs-on: ubuntu-20.04\n\n    outputs:\n      build-version: ${{ env.VERSION }}\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - uses: actions/setup-go@v1\n        with:\n          go-version: \"1.22.4\"\n\n      - uses: actions/setup-node@v3\n        with:\n          node-version-file: \".nvmrc\"\n\n      - name: Setup\n        run: make setup\n\n      - uses: r-lib/actions/setup-r@v2\n      - uses: r-lib/actions/setup-r-dependencies@v2\n        with:\n          working-directory: ./r\n\n      - name: Build Release\n        run: make release\n        env:\n          NODE_OPTIONS: \"--max-old-space-size=8192\"\n\n      - name: Unit Test\n        run: |\n          make test-ui-ci\n          make setup-py-tests\n          make test-py-ci\n\n      - name: Create GitHub Release\n        id: create_release\n        uses: actions/create-release@v1\n        with:\n          tag_name: ${{ env.TAG }}\n          release_name: ${{ env.TAG }}\n          draft: false\n\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          files: |\n            build/wave-${{ env.VERSION }}-darwin-amd64.tar.gz\n            build/wave-${{ env.VERSION }}-darwin-arm64.tar.gz\n            build/wave-${{ env.VERSION }}-linux-amd64.tar.gz\n            build/wave-${{ env.VERSION }}-windows-amd64.tar.gz\n            py/h2o_wave/dist/h2o_wave-${{ env.VERSION }}-py3-none-macosx_10_9_x86_64.whl\n            py/h2o_wave/dist/h2o_wave-${{ env.VERSION }}-py3-none-macosx_11_0_arm64.whl\n            py/h2o_wave/dist/h2o_wave-${{ env.VERSION }}-py3-none-macosx_12_0_arm64.whl\n            py/h2o_wave/dist/h2o_wave-${{ env.VERSION }}-py3-none-manylinux1_x86_64.whl\n            py/h2o_wave/dist/h2o_wave-${{ env.VERSION }}-py3-none-win_amd64.whl\n            py/h2o_wave/dist/h2o_wave-${{ env.VERSION }}-py3-none-any.whl\n            r/build/h2owave_${{ env.VERSION }}_R.tar.gz\n          tag_name: ${{ env.TAG }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish to Conda\n        uses: marek-mihok/publish_conda_package_action@v1.0.1\n        with:\n          CondaDir: \"py/h2o_wave/conda\"\n          Platforms: \"noarch\"\n          CondaUsername: ${{ secrets.CONDA_USERNAME }}\n          CondaPassword: ${{ secrets.CONDA_PASSWORD }}\n        env:\n          # VERSION clashes with conda build. Use PKG_VERSION instead.\n          PKG_VERSION: ${{ env.VERSION }}\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          packages_dir: py/h2o_wave/dist\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n      - name: Publish Docs\n        if: ${{ github.event.inputs.skipDocsPublish == 'false' }}\n        run: |\n          make publish-website\n          aws cloudfront create-invalidation --distribution-id $AWS_CLOUDFRONT_DISTRIBUTION_ID --paths \"/*\"\n        env:\n          AWS_CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION_ID }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: ${{ secrets.AWS_WEST_REGION }}\n\n      - name: Publish to S3\n        run: make publish-release-s3\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: ${{ secrets.AWS_EAST_REGION }}\n\n      - name: Publish apps for Cloud\n        run: make build-apps publish-apps-s3-hac\n        env:\n          HAC_S3_BUCKET: ${{ secrets.HAC_S3_BUCKET }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: ${{ secrets.AWS_WEST_REGION }}\n\n      - name: Configure MC AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v3\n        with:\n          role-to-assume: ${{ secrets.MC_IAM_ROLE }}\n          role-session-name: wave-apps\n          aws-region: ${{ secrets.MC_AWS_REGION }}\n\n      - name: Publish apps for Managed Cloud\n        run: make publish-apps-s3-mc\n        env:\n          MC_S3_BUCKET: ${{ secrets.MC_S3_BUCKET }}\n          AWS_REGION: ${{ secrets.MC_AWS_REGION }}\n\n      # Call some time after cloudfront cache bust - crawler needs to hit fresh cache.\n      - name: Reindex Algolia search\n        run: |\n          curl -X POST -H \"Content-Type: application/json\" --user $ALGOLIA_CRAWLER_USER_ID:$ALGOLIA_CRAWLER_API_KEY  https://crawler.algolia.com/api/1/crawlers/$ALGOLIA_CRAWLER_ID/reindex\n        env:\n          ALGOLIA_CRAWLER_API_KEY: ${{ secrets.ALGOLIA_CRAWLER_API_KEY }}\n          ALGOLIA_CRAWLER_ID: ${{ secrets.ALGOLIA_CRAWLER_ID }}\n          ALGOLIA_CRAWLER_USER_ID: ${{ secrets.ALGOLIA_CRAWLER_USER_ID }}\n\n      - name: Build university\n        run: make publish-university\n\n      - name: Publish to PyPI - wave_university\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          packages_dir: university/dist\n          password: ${{ secrets.PYPI_UNIVERSITY_TOKEN }}\n\n      - name: Publish to PyPI - lightwave\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          packages_dir: py/h2o_lightwave/dist\n          password: ${{ secrets.PYPI_LIGTHWAVE_TOKEN }}\n\n      - name: Publish to PyPI - lightwave_web\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          packages_dir: py/h2o_lightwave_web/dist\n          password: ${{ secrets.PYPI_LIGTHWAVE_WEB_TOKEN }}\n\n      - name: Download H2O CLI\n        working-directory: ./py/tmp/tour/\n        run: mkdir -p .bin && curl -o .bin/h2o https://h2oai-cloud-release.s3.amazonaws.com/releases/ai/h2o/h2o-cloud/latest/cli/linux-amd64/h2o\n\n      - name: Change permissions\n        working-directory: ./py/tmp/tour/\n        run: chmod +x .bin/h2o\n\n      - name: Make air-gapped bundle\n        working-directory: ./py/tmp/tour/\n        run: |\n          .bin/h2o bundle \\\n            --docker-base-image 524466471676.dkr.ecr.us-east-1.amazonaws.com/q8s/launcher:v0.31.0-310 \\\n            --docker-use-buildkit \\\n            --generate-helm-charts \\\n            --helm-chart-version ${{ env.VERSION }} \\\n            --helm-chart-name tour \\\n            --helm-app-bundle-image-repo 524466471676.dkr.ecr.us-east-1.amazonaws.com/h2oai/tour-bundle \\\n            --helm-app-runtime-image-repo 524466471676.dkr.ecr.us-east-1.amazonaws.com/h2oai/tour \\\n            --generate-dockerfile\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: wave-bundle\n          path: |\n            ./py/tmp/tour/*.Dockerfile\n            ./py/tmp/tour/*.wave\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: wave-bundle-helm\n          path: py/tmp/tour/helm/\n\n      - name: Remove files in tmp folder\n        run: make remove-build-apps-directory\n\n  build-and-publish:\n    needs: release\n    permissions:\n      id-token: write # This is required for requesting the JWT\n      contents: read # This is required for actions/checkout\n\n    uses: ./.github/workflows/wave-bundle-docker-build-publish.yaml\n    with:\n      build-version: ${{ needs.release.outputs.build-version }}\n      bundle-artifact: wave-bundle\n      wave-app-name: tour\n", "state": "active", "repository": "h2oai/wave"}
{"mined_at": "2024-07-15T15:16:57.602773", "created_at": "2021-05-06T23:45:23+02:00", "updated_at": "2021-05-06T23:45:23+02:00", "name": "Release WaveDB", "path": ".github/workflows/release-wavedb.yml", "contents": "name: Release WaveDB\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"WaveDB Release Version (0.0.0)\"\n        required: true\n      tag:\n        description: \"Wave Release Version (0.0.0)\"\n        required: true\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  VERSION: ${{ github.event.inputs.version }}\n  TAG: \"v${{ github.event.inputs.tag }}\"\n\njobs:\n  release-windows:\n    name: WaveDB Windows Release\n    runs-on: windows-latest\n    steps:\n      - uses: actions/setup-go@v1\n        with:\n          go-version: \"1.22.4\"\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n      - name: Build\n        run: make release-db-windows\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          files: \"wavedb-${{ env.VERSION }}-windows-amd64.tar.gz\"\n          tag_name: ${{ env.TAG }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  release-linux:\n    name: WaveDB Linux Release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-go@v1\n        with:\n          go-version: \"1.22.4\"\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n      - name: Build\n        run: make release-db-linux\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          files: \"wavedb-${{ env.VERSION }}-linux-amd64.tar.gz\"\n          tag_name: ${{ env.TAG }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  release-darwin:\n    name: WaveDB Darwin Release\n    runs-on: macos-12\n    steps:\n      - uses: actions/setup-go@v1\n        with:\n          go-version: \"1.22.4\"\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n      - name: Build\n        run: make release-db-darwin\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          files: \"wavedb-${{ env.VERSION }}-darwin-amd64.tar.gz\"\n          tag_name: ${{ env.TAG }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "h2oai/wave"}
{"mined_at": "2024-07-15T15:16:58.838297", "created_at": "2021-09-20T10:23:19+02:00", "updated_at": "2023-07-13T10:00:08+02:00", "name": "Release Wave Nightly", "path": ".github/workflows/release-wave-nightly.yml", "contents": "name: Release Wave Nightly\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\" # Schedule at midnight.\n\nenv:\n  TAG: \"nightly\"\n\n# Cancel a currently running workflow.\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\n# TODO: Use composite action to make the configuration more DRY.\njobs:\n  check-last-commit:\n    name: Check Last Commit\n    runs-on: ubuntu-20.04\n    outputs:\n      yesterday-commit-count: ${{ steps.get-new-commits.outputs.YESTERDAY_COMMIT_COUNT }}\n      nightly-dev-version: ${{ steps.get-dev-version.outputs.NIGHTLY_DEV_VERSION }}\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n      - id: get-new-commits\n        run: echo \"YESTERDAY_COMMIT_COUNT=$(git log --oneline --since '24 hours ago' | wc -l)\" >> $GITHUB_OUTPUT\n      - id: get-dev-version\n        run: echo \"NIGHTLY_DEV_VERSION=$(awk -F\"'\" '/__version__/ {split($2,a,\".\"); a[2]++; print a[1] \".\" a[2] \".0.dev0\"}' py/h2o_wave/h2o_wave/version.py)\" >> $GITHUB_OUTPUT\n\n  test-linux:\n    name: Test Linux\n    needs: check-last-commit\n    if: needs.check-last-commit.outputs.yesterday-commit-count > 0\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-22.04]\n        py: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.py }}\n\n      - uses: actions/setup-go@v4\n        with:\n          go-version: \"1.22.4\"\n\n      - uses: actions/setup-node@v3\n        with:\n          node-version-file: \".nvmrc\"\n\n      - name: Setup\n        run: |\n          make setup-ui build-ui\n          make setup-py-tests\n          make setup-vsc\n          make setup-e2e\n          make build-server\n        env:\n          NODE_OPTIONS: \"--max-old-space-size=8192\"\n\n      - name: Test\n        run: |\n          make test-e2e-ci\n          make test-py-ci\n          make test-vsc-ci\n\n  test-win:\n    name: Test Windows\n    needs: check-last-commit\n    if: needs.check-last-commit.outputs.yesterday-commit-count > 0\n    strategy:\n      matrix:\n        py: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    runs-on: windows-2022\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.py }}\n\n      - uses: actions/setup-go@v4\n        with:\n          go-version: \"1.22.4\"\n\n      - uses: actions/setup-node@v3\n        with:\n          node-version-file: \".nvmrc\"\n\n      - name: Setup\n        run: .\\setup.ps1\n        shell: pwsh\n        env:\n          NODE_OPTIONS: \"--max-old-space-size=8192\"\n\n      - name: Test\n        run: .\\test.ps1\n        shell: pwsh\n\n  test-macos:\n    name: Test MacOS\n    needs: check-last-commit\n    if: needs.check-last-commit.outputs.yesterday-commit-count > 0\n    strategy:\n      matrix:\n        py: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    runs-on: macos-12\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - name: Install docker\n        run: |\n          brew install qemu\n          brew install docker\n          colima start\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.py }}\n\n      - uses: actions/setup-go@v4\n        with:\n          go-version: \"1.22.4\"\n\n      - uses: actions/setup-node@v3\n        with:\n          node-version-file: \".nvmrc\"\n\n      - name: Setup\n        run: |\n          make setup-ui build-ui\n          make setup-py-tests\n          make setup-vsc\n          make setup-e2e\n          make build-server\n        env:\n          NODE_OPTIONS: \"--max-old-space-size=8192\"\n\n      - name: Test\n        run: |\n          make test-e2e-macos-ci\n          make test-py-ci\n          make test-vsc-ci\n        env:\n          KC_SLEEP: 45\n\n  release:\n    needs: [test-linux, test-win, test-macos, check-last-commit]\n    name: Release Wave Nightly\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Set ENV vars\n        run: |\n          echo \"VERSION=${{ needs.check-last-commit.outputs.nightly-dev-version }}\" >> $GITHUB_ENV\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - uses: actions/setup-go@v4\n        with:\n          go-version: \"1.22.4\"\n\n      - uses: actions/setup-node@v3\n        with:\n          node-version-file: \".nvmrc\"\n\n      - name: Setup\n        run: make setup\n\n      - uses: r-lib/actions/setup-r@v2\n      - uses: r-lib/actions/setup-r-dependencies@v2\n        with:\n          working-directory: ./r\n\n      # These unit tests are not OS-dependent, so no need to run them in the dedicated Test jobs.\n      - name: Unit test\n        run: |\n          make test-ui-ci\n          make test-intellij-ci\n\n      - name: Build Release\n        run: make release-nightly\n        env:\n          NODE_OPTIONS: \"--max-old-space-size=8192\"\n\n      - name: Update tag\n        run: git tag -f ${{ env.TAG }} && git push -f --tags\n\n      - uses: actions/github-script@v5\n        with:\n          github-token: ${{ secrets.GIT_TOKEN }}\n          script: |\n            const tag = \"${{ env.TAG }}\";\n            const { data: releases } = await github.rest.repos.listReleases({\n              owner: context.repo.owner,\n              repo: context.repo.repo\n            });\n            const release = releases.find(r => r.tag_name === tag);\n            if (release) {\n              await github.rest.repos.deleteRelease({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                release_id: release.id\n              });\n              console.log(`Deleted release ${tag}`);\n            } else {\n              console.log(`Release ${tag} not found`);\n            }\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          files: |\n            build/wave-${{ env.VERSION }}-darwin-amd64.tar.gz\n            build/wave-${{ env.VERSION }}-darwin-arm64.tar.gz\n            build/wave-${{ env.VERSION }}-linux-amd64.tar.gz\n            build/wave-${{ env.VERSION }}-windows-amd64.tar.gz\n            py/h2o_wave/dist/h2o_wave-${{ env.VERSION }}-py3-none-macosx_10_9_x86_64.whl\n            py/h2o_wave/dist/h2o_wave-${{ env.VERSION }}-py3-none-macosx_11_0_arm64.whl\n            py/h2o_wave/dist/h2o_wave-${{ env.VERSION }}-py3-none-macosx_12_0_arm64.whl\n            py/h2o_wave/dist/h2o_wave-${{ env.VERSION }}-py3-none-manylinux1_x86_64.whl\n            py/h2o_wave/dist/h2o_wave-${{ env.VERSION }}-py3-none-win_amd64.whl\n            py/h2o_wave/dist/h2o_wave-${{ env.VERSION }}-py3-none-any.whl\n            r/build/h2owave_nightly_R.tar.gz\n          tag_name: ${{ env.TAG }}\n          prerelease: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n", "state": "active", "repository": "h2oai/wave"}
{"mined_at": "2024-07-15T15:16:59.852870", "created_at": "2022-04-13T20:07:57+02:00", "updated_at": "2022-04-13T20:07:57+02:00", "name": "Publish Conda", "path": ".github/workflows/publish-conda.yml", "contents": "name: Publish Conda\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version'\n        required: true\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  VERSION: \"${{ github.event.inputs.version }}\"\n\njobs:\n  release:\n    name: Publish Conda\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - name: Publish to Conda\n        uses: marek-mihok/publish_conda_package_action@v1.0.1\n        with:\n          CondaDir: 'py/h2o_wave/conda'\n          Platforms: 'noarch'\n          CondaUsername: ${{ secrets.CONDA_USERNAME }}\n          CondaPassword: ${{ secrets.CONDA_PASSWORD }}\n        env:\n          # VERSION clashes with conda build. Use PKG_VERSION instead.\n          PKG_VERSION: ${{ env.VERSION }}\n", "state": "active", "repository": "h2oai/wave"}
{"mined_at": "2024-07-15T15:17:01.024492", "created_at": "2022-11-24T08:19:36+01:00", "updated_at": "2022-11-24T08:19:36+01:00", "name": "Publish Wave University", "path": ".github/workflows/publish-university.yml", "contents": "name: Publish Wave University\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version'\n        required: true\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  VERSION: \"${{ github.event.inputs.version }}\"\n\njobs:\n  publish:\n    name: Publish Wave University\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - name: Build university\n        run:  make publish-university\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          packages_dir: university/dist\n          password: ${{ secrets.PYPI_UNIVERSITY_TOKEN }}\n\n  create-bundle:\n    name: Create Wave Bundle\n    runs-on: ubuntu-latest\n\n    outputs:\n      build-version: ${{ env.VERSION }}\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Download H2O CLI\n        working-directory: ./university\n        run: mkdir -p .bin && curl -o .bin/h2o https://h2oai-cloud-release.s3.amazonaws.com/releases/ai/h2o/h2o-cloud/latest/cli/linux-amd64/h2o\n\n      - name: Change permissions\n        working-directory: ./university\n        run: chmod +x .bin/h2o\n\n      - name: Set version\n        working-directory: ./university\n        run: sed -i -r -e \"s/\\{\\{VERSION\\}\\}/${{ env.VERSION }}/g\" app.toml\n\n      - name: Get App Version\n        id: get-build-version\n        run: |\n          echo \"VERSION=${{ env.VERSION }}\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Make air-gapped bundle\n        working-directory: ./university\n        run: |\n          .bin/h2o bundle \\\n            --docker-base-image 524466471676.dkr.ecr.us-east-1.amazonaws.com/q8s/launcher:v0.31.0-310 \\\n            --docker-use-buildkit \\\n            --generate-helm-charts \\\n            --helm-chart-version ${{ env.VERSION }} \\\n            --helm-chart-name university \\\n            --helm-app-bundle-image-repo 524466471676.dkr.ecr.us-east-1.amazonaws.com/h2oai/university-bundle \\\n            --helm-app-runtime-image-repo 524466471676.dkr.ecr.us-east-1.amazonaws.com/h2oai/university \\\n            --generate-dockerfile\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: wave-bundle\n          path: |\n            ./university/*.Dockerfile\n            ./university/*.wave\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: wave-bundle-helm\n          path: university/helm/\n\n  build-and-publish:\n    needs: create-bundle\n    permissions:\n      id-token: write # This is required for requesting the JWT\n      contents: read # This is required for actions/checkout\n\n    uses: ./.github/workflows/wave-bundle-docker-build-publish.yaml\n    with:\n      build-version: ${{ needs.create-bundle.outputs.build-version }}\n      bundle-artifact: wave-bundle\n      wave-app-name: university\n", "state": "active", "repository": "h2oai/wave"}
{"mined_at": "2024-07-15T15:17:02.072958", "created_at": "2023-02-24T12:26:34+01:00", "updated_at": "2023-02-24T12:26:34+01:00", "name": "Publish Lightwave", "path": ".github/workflows/publish-lightwave.yml", "contents": "name: Publish Lightwave\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version'\n        required: true\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  VERSION: \"${{ github.event.inputs.version }}\"\n\njobs:\n  publish:\n    name: Publish Lightwave\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - uses: actions/setup-node@v3\n        with:\n          node-version-file: '.nvmrc'\n\n      - name: Build lightwave\n        run:  make publish-lightwave\n        env:\n          NODE_OPTIONS: '--max-old-space-size=8192'\n      \n      - name: Publish to PyPI - lightwave\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          packages_dir: py/h2o_lightwave/dist\n          password: ${{ secrets.PYPI_LIGTHWAVE_TOKEN }}\n\n      - name: Publish to PyPI - lightwave_web\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          packages_dir: py/h2o_lightwave_web/dist\n          password: ${{ secrets.PYPI_LIGTHWAVE_WEB_TOKEN }}\n", "state": "active", "repository": "h2oai/wave"}
{"mined_at": "2024-07-15T15:17:03.343441", "created_at": "2023-03-13T11:29:39+01:00", "updated_at": "2023-03-13T11:29:39+01:00", "name": "Release Wave PyCharm plugin", "path": ".github/workflows/release-pycharm-plugin.yml", "contents": "name: Release Wave PyCharm plugin\n\non:\n  release:\n      types: [published]\n  workflow_dispatch:\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n  publish:\n    name: Release Wave PyCharm plugin\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - name: Setup Java\n        uses: actions/setup-java@v3\n        with:\n          distribution: zulu\n          java-version: 11\n          cache: gradle\n\n      - name: Publish\n        run: make publish-pycharm\n        env:\n          JETBRAINS_PUBLISH_TOKEN: ${{ secrets.JETBRAINS_PUBLISH_TOKEN }}", "state": "active", "repository": "h2oai/wave"}
{"mined_at": "2024-07-15T15:17:04.470066", "created_at": "2023-03-13T11:29:40+01:00", "updated_at": "2023-03-13T11:29:40+01:00", "name": "Release Wave VSCode extension", "path": ".github/workflows/release-vsc-extension.yml", "contents": "name: Release Wave VSCode extension\n\non:\n  release:\n      types: [published]\n  workflow_dispatch:\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n  publish:\n    name: Release Wave VSCode extension\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - uses: actions/setup-node@v3\n        with:\n          node-version-file: '.nvmrc'\n\n      - name: Setup\n        run: cd tools/vscode-extension && make setup\n\n      - name: Publish VSCode extension\n        run: make publish-vsc-extension\n        env:\n          VSCE_PAT: ${{ secrets.VSCE_PAT }}\n", "state": "active", "repository": "h2oai/wave"}
{"mined_at": "2024-07-15T15:17:05.497060", "created_at": "2023-10-29T18:31:08+01:00", "updated_at": "2023-11-16T16:17:52+01:00", "name": "Wave Bundle", "path": ".github/workflows/wave.yaml", "contents": null, "state": "active", "repository": "h2oai/wave"}
{"mined_at": "2024-07-15T15:17:06.585331", "created_at": "2023-11-20T05:53:49+01:00", "updated_at": "2024-01-31T08:22:59+01:00", "name": ".github/workflows/wave-tour.yaml", "path": ".github/workflows/wave-tour.yaml", "contents": null, "state": "active", "repository": "h2oai/wave"}
{"mined_at": "2024-07-15T15:17:07.748469", "created_at": "2024-02-08T09:23:45+01:00", "updated_at": "2024-02-08T09:23:45+01:00", "name": "Build and Publish Docker image from generated Dockerfile", "path": ".github/workflows/wave-bundle-docker-build-publish.yaml", "contents": "name: Build and Publish Docker image from generated Dockerfile\n\non:\n  workflow_call:\n    inputs:\n      build-version:\n        type: string\n        description: The version of the application/image to be pushed\n        required: true\n      bundle-artifact:\n        type: string\n        description: The name of the artifact containing the generated Dockerfiles and the wave bundle\n        required: true\n      working-directory:\n        type: string\n        description: Path to the working directory, where docker build will be executed\n        default: .\n      wave-app-name:\n        type: string\n        description: The name of the wave app\n        required: true\n\njobs:\n  docker:\n    name: Build and Publish App Docker Image\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write # This is required for requesting the JWT\n      contents: read # This is required for actions/checkout\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Download Wave bundle and Dockerfiles\n        uses: actions/download-artifact@v3\n        with:\n          name: ${{ inputs.bundle-artifact }}\n          path: ./\n\n      - name: Rename Dockerfiles\n        run: |\n          mv ./*bundle.Dockerfile ./generated.bundle.Dockerfile\n          mv ./*runtime.Dockerfile ./generated.runtime.Dockerfile\n\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v2\n        with:\n          role-to-assume: arn:aws:iam::524466471676:role/workflows-library-wave-bundling-github-actions\n          role-session-name: GitHub_to_AWS_via_FederatedOIDC\n          aws-region: us-east-1\n\n      - name: \"Login to Amazon ECR\"\n        uses: aws-actions/amazon-ecr-login@v1\n\n      - name: \"Ensure ECR Repository for the bundle\"\n        # Tries to describe the repository and if it fails, creates it\n        run: |\n          aws ecr describe-repositories \\\n            --repository-names h2oai/${{ inputs.wave-app-name }}-bundle 2>/dev/null ||\n          aws ecr create-repository \\\n            --repository-name h2oai/${{ inputs.wave-app-name }}-bundle \\\n            --image-tag-mutability IMMUTABLE \\\n            --tag \\\n              Key=GithubRepo,Value=github.com/h2oai/${{ inputs.wave-app-name }} \\\n              Key=ManagedBy,Value=GitHubActions \\\n              Key=CreatedByWorkflow,Value=${{ github.workflow_ref }}\n\n      - name: \"Ensure ECR Repository for the runtime\"\n        # Tries to describe the repository and if it fails, creates it\n        run: |\n          aws ecr describe-repositories \\\n            --repository-names h2oai/${{ inputs.wave-app-name }} 2>/dev/null ||\n          aws ecr create-repository \\\n            --repository-name h2oai/${{ inputs.wave-app-name }} \\\n            --image-tag-mutability IMMUTABLE \\\n            --tag \\\n              Key=GithubRepo,Value=github.com/h2oai/${{ inputs.wave-app-name }} \\\n              Key=ManagedBy,Value=GitHubActions \\\n              Key=CreatedByWorkflow,Value=${{ github.workflow_ref }}\n\n      - name: Build and Export Bundle Image\n        uses: docker/build-push-action@v4\n        id: bundle-build\n        with:\n          push: true\n          context: ${{ inputs.working-directory }}\n          file: ./generated.bundle.Dockerfile\n          platforms: linux/amd64\n          provenance: false\n          tags: |\n            524466471676.dkr.ecr.us-east-1.amazonaws.com/h2oai/${{ inputs.wave-app-name }}-bundle:${{ inputs.build-version }}\n\n      - name: Build and Export Runtime Image\n        uses: docker/build-push-action@v4\n        id: runtime-build\n        with:\n          push: true\n          context: ${{ inputs.working-directory }}\n          file: ./generated.runtime.Dockerfile\n          platforms: linux/amd64\n          provenance: false\n          tags: |\n            524466471676.dkr.ecr.us-east-1.amazonaws.com/h2oai/${{ inputs.wave-app-name }}:${{ inputs.build-version }}\n\n      - name: Published Images Summary\n        run: |\n          echo \"#### Image Tags\" >> $GITHUB_STEP_SUMMARY\n          echo \"\\`\\`\\`\" >> $GITHUB_STEP_SUMMARY\n          echo \"docker image push 524466471676.dkr.ecr.us-east-1.amazonaws.com/h2oai/${{ inputs.wave-app-name }}-bundle:${{ inputs.build-version }}\" >> $GITHUB_STEP_SUMMARY\n          echo \"docker image push 524466471676.dkr.ecr.us-east-1.amazonaws.com/h2oai/${{ inputs.wave-app-name }}:${{ inputs.build-version }}\" >> $GITHUB_STEP_SUMMARY\n          echo \"\\`\\`\\`\" >> $GITHUB_STEP_SUMMARY\n", "state": "active", "repository": "h2oai/wave"}
{"mined_at": "2024-07-15T15:17:09.990361", "created_at": "2023-03-30T03:26:22+02:00", "updated_at": "2023-03-30T03:26:22+02:00", "name": ".github/workflows/AddIssueComment.yml", "path": ".github/workflows/AddIssueComment.yml", "contents": "on:\n  issues:\n    types: [opened]\n   \njobs:\n  thank-user:\n    runs-on: ubuntu-20.04\n    permissions:\n      issues: write\n    name: Say thanks for the Issue\n    steps:\n      - name: comment on the issue\n        uses: hasura/comment-progress@v2.3.0\n        with:\n          github-token: ${{ secrets.CLI_BOT }}\n          repository: 'Azure/azure-cli'\n          number: ${{ github.event.issue.number }}\n          id: thank-you-comment\n          message: 'Thank you for opening this issue, we will look into it.'\n", "state": "active", "repository": "azure/azure-cli"}
{"mined_at": "2024-07-15T15:17:11.127601", "created_at": "2023-03-30T03:26:22+02:00", "updated_at": "2023-03-30T03:26:22+02:00", "name": ".github/workflows/AddPRComment.yml", "path": ".github/workflows/AddPRComment.yml", "contents": "on:\n  pull_request_target:\n    types: [opened]\n    branches:\n      - dev\n      - release\n\npermissions:\n  pull-requests: write\n\njobs:\n  thank-user:\n    runs-on: ubuntu-20.04\n    name: Say thanks for the PR\n    steps:\n      - name: get message\n        env:\n          TITLE: ${{ github.event.pull_request.title }}\n        run: |\n          message=$(echo \"$TITLE\" | grep -oP '[{\\[][^}\\]]+[}\\]]' | sed 's/{\\|}\\|\\[\\|\\]//g')\n          echo \"message=$message\" >> $GITHUB_ENV\n          if [ -z $message ]; then\n              echo \"message=$(echo 'Thank you for your contribution! We will review the pull request and get back to you soon.')\" >> $GITHUB_ENV\n          fi\n      - name: comment on the pull request\n        uses: mshick/add-pr-comment@v2\n        with:\n          repo-token: ${{ secrets.CLI_BOT }}\n          message: \"${{ env.message }}\"\n", "state": "active", "repository": "azure/azure-cli"}
{"mined_at": "2024-07-15T15:17:12.247968", "created_at": "2023-12-21T06:20:29+01:00", "updated_at": "2024-04-08T11:05:23+02:00", "name": "Block PR merging on blocled labels", "path": ".github/workflows/BlockPRMerge.yml", "contents": "name: Block PR merging on blocled labels\n\non:\n  pull_request_target:\n    types: [labeled, unlabeled]\n    branches:\n      - dev\n      - release\n\njobs:\n  block-merge:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check blocked labels\n        uses: actions/github-script@v7\n        with:\n          script: |\n            const labels = context.payload.pull_request.labels.map(label => label.name);\n            const blockedLabels = [\"do-not-merge\", \"needs-author-feedback\"];\n            \n            if (labels.some(label => blockedLabels.includes(label))) {\n              console.log(`It is not allowed to merge a PR with any blocked labels: ${blockedLabels}`);\n              process.exit(1); // Exit with a non-zero status code to block merge\n            } else {\n              console.log(\"It is allowed to merge the PR.\");\n            }\n", "state": "active", "repository": "azure/azure-cli"}
{"mined_at": "2024-07-15T15:17:13.344460", "created_at": "2023-05-24T04:02:04+02:00", "updated_at": "2023-05-24T04:02:04+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": null, "state": "active", "repository": "azure/azure-cli"}
{"mined_at": "2024-07-15T15:17:14.381574", "created_at": "2023-05-24T04:02:04+02:00", "updated_at": "2023-05-24T04:02:04+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": null, "state": "active", "repository": "azure/azure-cli"}
{"mined_at": "2024-07-15T15:17:16.527242", "created_at": "2023-08-10T00:23:14+02:00", "updated_at": "2023-08-10T00:23:14+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tensorflow/lingvo"}
{"mined_at": "2024-07-15T15:17:18.703760", "created_at": "2020-11-15T12:42:14+01:00", "updated_at": "2020-11-15T13:49:33+01:00", "name": "Nikola CI", "path": ".github/workflows/ci.yml", "contents": "name: Nikola CI\non:\n  # Run on all pushes to master (including merge of PR)\n  push:\n    branches: master\n  # Run on all changes in pull requests\n  pull_request:\n  # Run every Saturday at 17:10 UTC to ensure stability (dependency changes not breaking things)\n  schedule:\n    - cron: '10 17 * * 6'\n\njobs:\n  nikola:\n    name: Nikola tests (Python ${{ matrix.python }} on ${{ matrix.image }})\n    strategy:\n      fail-fast: false\n      matrix:\n        python: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        image:\n          - ubuntu-latest\n        include:\n          - python: '3.12'\n            image: macos-latest\n          - python: '3.12'\n            image: windows-latest\n    runs-on: '${{ matrix.image }}'\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '${{ matrix.python }}'\n      - name: Upgrade packaging stack\n        run: |\n          python -m pip install --upgrade-strategy eager -U pip setuptools wheel\n      - name: Install test requirements\n        run: |\n          python -m pip install --upgrade-strategy eager -Ur requirements-tests.txt\n      - name: Install Nikola\n        run: |\n          python -m pip install .\n      - name: Run tests\n        run: |\n          py.test tests/\n      - name: Run nikola\n        run: |\n          nikola\n      - name: Run nikola help\n        run: |\n          nikola help\n\n  baseline:\n    name: Baseline testing (Python ${{ matrix.python }} on ${{ matrix.image }})\n    strategy:\n      fail-fast: false\n      matrix:\n        python: ['3.12']\n        image:\n          - ubuntu-latest\n    runs-on: '${{ matrix.image }}'\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '${{ matrix.python }}'\n      - name: Upgrade packaging stack\n        run: |\n          python -m pip install --upgrade-strategy eager -U pip setuptools wheel\n      - name: Install extra requirements\n        run: |\n          python -m pip install --upgrade-strategy eager -Ur requirements-extras.txt freezegun\n      - name: Install Nikola\n        run: |\n          python -m pip install .\n      - name: Compare to baseline\n        run: |\n          scripts/baseline.sh check\n\n  flake8:\n    name: Linting (flake8, pydocstyle)\n    strategy:\n      matrix:\n        python:\n          - '3.12'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '${{ matrix.python }}'\n      - name: Upgrade packaging stack\n        run: |\n          python -m pip install --upgrade-strategy eager -U pip setuptools wheel\n      - name: Install requirements\n        run: |\n          python -m pip install flake8 pydocstyle\n      - name: Run flake8\n        run: |\n          flake8 nikola/ tests/\n      - name: Run pydocstyle\n        run: |\n          pydocstyle --count --match-dir='(?!^\\\\.)(?!data).*' nikola/\n\n  basereq:\n    name: Build demo site with base requirements\n    strategy:\n      matrix:\n        python:\n          - '3.11'\n          - '3.12'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '${{ matrix.python }}'\n      - name: Upgrade packaging stack\n        run: |\n          python -m pip install --upgrade-strategy eager -U pip setuptools wheel\n      - name: Install requirements\n        run: |\n          python -m pip install --upgrade-strategy eager -Ur requirements.txt\n      - name: Install Nikola\n        run: |\n          python -m pip install .\n      - name: Run help\n        run: |\n          nikola help\n        working-directory: /\n      - name: Run init\n        run: |\n          nikola init -qd nsite\n        working-directory: /tmp/\n      - name: Run build\n        run: |\n          nikola build\n        working-directory: /tmp/nsite\n", "state": "active", "repository": "getnikola/nikola"}
{"mined_at": "2024-07-15T15:17:20.833807", "created_at": "2023-10-09T23:45:30+02:00", "updated_at": "2023-10-09T23:45:30+02:00", "name": "Captum Deploy Website", "path": ".github/workflows/deploy.yml", "contents": null, "state": "active", "repository": "pytorch/captum"}
{"mined_at": "2024-07-15T15:17:21.874516", "created_at": "2023-09-04T08:35:37+02:00", "updated_at": "2023-10-22T17:27:58+02:00", "name": "Captum Lint", "path": ".github/workflows/lint.yml", "contents": "name: Captum Lint\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\n  workflow_dispatch:\n\njobs:\n  tests:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.12xlarge\n      docker-image: cimg/python:3.11\n      repository: pytorch/captum\n      script: |\n        sudo chmod -R 777 .\n        ./scripts/install_via_pip.sh\n        ufmt check .\n        flake8\n        sphinx-build -WT --keep-going sphinx/source sphinx/build\n", "state": "active", "repository": "pytorch/captum"}
{"mined_at": "2024-07-15T15:17:23.009423", "created_at": "2023-09-04T08:35:37+02:00", "updated_at": "2023-10-22T17:27:58+02:00", "name": "Unit-tests for Conda install", "path": ".github/workflows/test-conda-cpu.yml", "contents": "name: Unit-tests for Conda install\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\n  workflow_dispatch:\n\nenv:\n  CHANNEL: \"nightly\"\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.12xlarge\n      repository: pytorch/captum\n      script: |\n        # Set up Environment Variables\n        export PYTHON_VERSION=\"${{ matrix.python_version }}\"\n\n        # Create Conda Env\n        conda create -yp ci_env python=\"${PYTHON_VERSION}\"\n        conda activate /pytorch/captum/ci_env\n        ./scripts/install_via_conda.sh -n\n\n        # Run Tests\n        python3 -m pytest -ra --cov=. --cov-report term-missing\n", "state": "active", "repository": "pytorch/captum"}
{"mined_at": "2024-07-15T15:17:24.123066", "created_at": "2023-09-01T08:06:32+02:00", "updated_at": "2023-09-01T08:06:32+02:00", "name": "Unit-tests on Linux CPU", "path": ".github/workflows/test-linux-cpu.yml", "contents": null, "state": "active", "repository": "pytorch/captum"}
{"mined_at": "2024-07-15T15:17:25.314297", "created_at": "2023-09-14T13:21:18+02:00", "updated_at": "2023-10-22T17:27:58+02:00", "name": "Unit-tests for Pip install with mypy type checks", "path": ".github/workflows/test-pip-cpu-with-mypy.yml", "contents": "name: Unit-tests for Pip install with mypy type checks\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\n  workflow_dispatch:\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        pytorch_args: [\"\", \"-n\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.12xlarge\n      docker-image: cimg/python:3.11\n      repository: pytorch/captum\n      script: |\n        sudo chmod -R 777 .\n        ./scripts/install_via_pip.sh ${{ matrix.pytorch_args }}\n        ./scripts/run_mypy.sh\n        # Run Tests\n        python3 -m pytest -ra --cov=. --cov-report term-missing\n", "state": "active", "repository": "pytorch/captum"}
{"mined_at": "2024-07-15T15:17:26.330428", "created_at": "2023-09-04T08:35:37+02:00", "updated_at": "2023-10-22T17:27:58+02:00", "name": "Unit-tests for Pip install", "path": ".github/workflows/test-pip-cpu.yml", "contents": "name: Unit-tests for Pip install\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\n  workflow_dispatch:\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        pytorch_args: [\"-v 1.10\", \"-v 1.11\", \"-v 1.12\", \"-v 1.13\", \"-v 2.0.0\", \"-v 2.1.0\", \"-v 2.2.0\", \"-v 2.3.0\"]\n        docker_img: [\"cimg/python:3.8\", \"cimg/python:3.9\", \"cimg/python:3.10\", \"cimg/python:3.11\"]\n        exclude:\n          - pytorch_args: \"-v 1.10\"\n            docker_img: \"cimg/python:3.10\"\n          - pytorch_args: \"-v 1.10\"\n            docker_img: \"cimg/python:3.11\"\n          - pytorch_args: \"-v 1.11\"\n            docker_img: \"cimg/python:3.11\"\n          - pytorch_args: \"-v 1.12\"\n            docker_img: \"cimg/python:3.11\"\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.12xlarge\n      docker-image: ${{ matrix.docker_img }}\n      repository: pytorch/captum\n      script: |\n        sudo chmod -R 777 .\n        ./scripts/install_via_pip.sh ${{ matrix.pytorch_args }}\n        # Run Tests\n        python3 -m pytest -ra --cov=. --cov-report term-missing\n", "state": "active", "repository": "pytorch/captum"}
{"mined_at": "2024-07-15T15:17:27.392349", "created_at": "2023-09-04T09:00:31+02:00", "updated_at": "2023-10-22T17:27:58+02:00", "name": "Unit-tests for Pip install", "path": ".github/workflows/test-pip-gpu.yml", "contents": "name: Unit-tests for Pip install\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n\n  workflow_dispatch:\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        cuda_arch_version: [\"12.1\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.4xlarge.nvidia.gpu\n      repository: pytorch/captum\n      gpu-arch-type: cuda\n      gpu-arch-version: ${{ matrix.cuda_arch_version }}\n      script: |\n        python3 -m pip install --upgrade pip --progress-bar off\n        python3 -m pip install -e .[dev] --progress-bar off\n\n        # Build package\n        python3 -m pip install build --progress-bar off\n        python3 -m build\n\n        # Run Tests\n        python3 -m pytest -ra --cov=. --cov-report term-missing\n", "state": "active", "repository": "pytorch/captum"}
{"mined_at": "2024-07-15T15:17:28.528704", "created_at": "2023-10-12T21:49:37+02:00", "updated_at": "2023-10-22T17:27:58+02:00", "name": "Test deployment", "path": ".github/workflows/test-website-depoy.yml", "contents": "name: Test deployment\n\non:\n  pull_request:\n    # Review gh actions docs if you want to further define triggers, paths, etc\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on\n\njobs:\n  test-deploy:\n    name: Test deployment\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup / build docs\n        run: |\n          sudo chmod -R 777 .\n          python3 -m pip install --upgrade pip --progress-bar off\n          python3 -m pip install -e .[dev] --progress-bar off\n          python3 -m pip install beautifulsoup4 ipython jinja2==3.0.0 nbconvert==5.6.1 ipython_genutils --progress-bar off\n          ./scripts/build_docs.sh -b\n          cd website\n", "state": "active", "repository": "pytorch/captum"}
{"mined_at": "2024-07-15T15:17:29.866150", "created_at": "2023-10-21T02:04:38+02:00", "updated_at": "2023-10-22T17:27:58+02:00", "name": "Deploy to GitHub Pages", "path": ".github/workflows/website-depoy.yml", "contents": "name: Deploy to GitHub Pages\n\non:\n  push:\n    branches:\n      - master\n    # Review gh actions docs if you want to further define triggers, paths, etc\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on\n\npermissions:\n  contents: write\n  pages: write\n\njobs:\n  deploy:\n    name: Deploy to GitHub Pages\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup / build docs\n        run: |\n          sudo chmod -R 777 .\n          python3 -m pip install --upgrade pip --progress-bar off\n          python3 -m pip install -e .[dev] --progress-bar off\n          python3 -m pip install beautifulsoup4 ipython jinja2==3.0.0 nbconvert==5.6.1 ipython_genutils --progress-bar off\n          ./scripts/build_docs.sh -b\n          cd website\n\n\n      # Popular action to deploy to GitHub Pages:\n      # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus\n      - name: Deploy to GitHub Pages\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          # Build output to publish to the `gh-pages` branch:\n          publish_dir: ./website/build/captum/\n", "state": "active", "repository": "pytorch/captum"}
{"mined_at": "2024-07-15T15:17:30.978463", "created_at": "2022-02-24T00:54:38+01:00", "updated_at": "2022-02-24T00:54:38+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pytorch/captum"}
{"mined_at": "2024-07-15T15:17:33.144172", "created_at": "2021-03-10T09:05:21+01:00", "updated_at": "2021-03-10T09:05:21+01:00", "name": "Python package and test", "path": ".github/workflows/python-package-conda.yml", "contents": "name: Python package and test\n\non:\n  push:\n  pull_request:\n\njobs:\n  checkout-test:\n    name: Checkout and test\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [\"macos-latest\", \"ubuntu-latest\"]\n      fail-fast: false\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Create python 3.11 conda env\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: 3.11\n          mamba-version: \"*\"\n          activate-environment: donkey\n          auto-activate-base: false\n          channels: default, conda-forge, pytorch\n          channel-priority: true\n      - name: Conda info and list\n        run: |\n          conda info\n          conda list\n      - name: Install donkey\n        run: | \n          pip install -e .[pc,dev]\n          pip list\n      - name: Run tests\n        run: pytest\n", "state": "active", "repository": "autorope/donkeycar"}
{"mined_at": "2024-07-15T15:17:34.158898", "created_at": "2021-03-10T09:05:21+01:00", "updated_at": "2021-03-10T09:05:21+01:00", "name": "Super-Linter", "path": ".github/workflows/superlinter.yml", "contents": "name: Super-Linter\n\n# Run this workflow every time a new commit pushed to your repository\non: [push, pull_request]\n\njobs:\n  # Set the job key. The key is displayed as the job name\n  # when a job name is not provided\n  super-lint:\n    # Name the Job\n    name: Lint code base\n    # Set the type of machine to run on\n    runs-on: ubuntu-latest\n    # Don't flag failure\n    continue-on-error: true\n    steps:\n      # Checks out a copy of your repository on the ubuntu-latest machine\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      # Runs the Super-Linter action\n      - name: Run Super-Linter\n        uses: github/super-linter@v4\n        env:\n          DEFAULT_BRANCH: master\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          FILTER_REGEX_EXCLUDE: .*.css|.*.js\n          DISABLE_ERRORS: true\n\n", "state": "active", "repository": "autorope/donkeycar"}
{"mined_at": "2024-07-15T15:17:36.418669", "created_at": "2022-07-20T19:03:28+02:00", "updated_at": "2022-10-04T15:19:09+02:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Python package\n\non: [pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        django-version: [\"32\",\"4\"]\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-testing.txt')}}-${{ hashFiles('tox.ini') }}-${{ matrix.python-version }}-${{ matrix.django-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt -r requirements-testing.txt -c constraints-Django${{ matrix.django-version }}.txt\n\n    - name: Lint with ruff\n      run: |\n        pip install ruff\n        ruff helpdesk\n\n    - name: Test with pytest\n      run: |\n        pip install pytest\n        cd ${GITHUB_WORKSPACE} && python quicktest.py\n      env:\n        DJANGO_SETTINGS_MODULE: helpdesk.settings\n\n", "state": "active", "repository": "django-helpdesk/django-helpdesk"}
{"mined_at": "2024-07-15T15:17:37.554952", "created_at": "2023-04-14T00:39:57+02:00", "updated_at": "2023-10-18T11:02:27+02:00", "name": "Publish ${package_name} to PyPI and ReadTheDocs", "path": ".github/workflows/release_to_pypi.yml", "contents": "name: Publish ${package_name} to PyPI and ReadTheDocs\n\non:\n  push:\n    tags:\n      - \"v*\"\njobs:\n  build-n-publish:\n    name: Build and publish to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.ref_name }}\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.x\"\n\n      - name: Build source and wheel distributions\n        run: |\n          python -m pip install --upgrade build twine\n          python -m build\n          twine check --strict dist/*\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n", "state": "active", "repository": "django-helpdesk/django-helpdesk"}
{"mined_at": "2024-07-15T15:17:40.721403", "created_at": "2019-12-19T06:35:04+01:00", "updated_at": "2023-06-22T21:04:22+02:00", "name": "🆙 Release file check", "path": ".github/workflows/release-check.yml", "contents": "name: 🆙 Release file check\n\non:\n  pull_request_target:\n    types: [synchronize, reopened, opened, ready_for_review]\n    branches:\n      - main\n    paths:\n      - \"strawberry/**\"\n      - \"pyproject.toml\"\n\njobs:\n  get-contributor-info:\n    name: Get PR info\n    runs-on: ubuntu-latest\n\n    outputs:\n      contributor-name: ${{ steps.get-info.outputs.contributor-name }}\n      contributor-username: ${{ steps.get-info.outputs.contributor-username }}\n      contributor-twitter-username: ${{ steps.get-info.outputs.contributor-twitter-username }}\n\n    steps:\n      - name: Get PR info\n        id: get-info\n        uses: strawberry-graphql/get-pr-info-action@v6\n      - run: echo \"${{ steps.get-info.outputs.contributor-twitter-username }}\"\n\n  skip-if-bot:\n    name: Set skip if PR is from a bot\n    runs-on: ubuntu-latest\n    needs: get-contributor-info\n\n    outputs:\n      skip: ${{ steps.skip.outputs.skip }}\n\n    steps:\n      - name: Set skip to true if contributor is a bot\n        id: skip\n        shell: python\n        run: |\n          bots = [\n             \"dependabot-preview[bot]\",\n             \"dependabot-preview\",\n             \"dependabot\",\n             \"dependabot[bot]\",\n           ]\n\n          username = \"${{ needs.get-contributor-info.outputs.contributor-username }}\"\n\n          if username in bots:\n            print(f\"Skipping {username} because it is a bot\")\n            print(\"::set-output name=skip::true\")\n          else:\n            print(\"::set-output name=skip::false\")\n\n  release-file-check:\n    name: Release check\n    runs-on: ubuntu-latest\n    needs: skip-if-bot\n    if: needs.skip-if-bot.outputs.skip == 'false'\n\n    outputs:\n      changelog: ${{ steps.release-check.outputs.changelog }}\n      status: ${{ steps.release-check.outputs.release_status }}\n      change_type: ${{ steps.release-check.outputs.change_type }}\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          ref: \"refs/pull/${{ github.event.number }}/merge\"\n\n      - name: Release file check\n        uses: ./.github/release-check-action\n        id: release-check\n        if: github.event.pull_request.draft == false\n\n  read-tweet-md:\n    name: Read TWEET.md\n    runs-on: ubuntu-latest\n    needs: [get-contributor-info, release-file-check]\n\n    outputs:\n      tweet: ${{ steps.extract.outputs.tweet }}\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: \"refs/pull/${{ github.event.number }}/merge\"\n      - name: Extract tweet message and changelog\n        id: extract\n        uses: strawberry-graphql/tweet-actions/read-tweet@v6\n        with:\n          changelog: ${{ needs.release-file-check.outputs.changelog }}\n          version: \"(next)\"\n          contributor_name: ${{ needs.get-contributor-info.outputs.contributor-name }}\n          contributor_twitter_username: ${{ needs.get-contributor-info.outputs.contributor-twitter-username }}\n\n  validate-tweet:\n    runs-on: ubuntu-latest\n    needs: read-tweet-md\n    if: ${{ needs.read-tweet-md.outputs.tweet != '' }}\n    steps:\n      - name: Validate tweet\n        uses: strawberry-graphql/tweet-actions/validate-tweet@v6\n        with:\n          tweet: ${{ needs.read-tweet-md.outputs.tweet }}\n\n  send-comment:\n    runs-on: ubuntu-latest\n    needs: [release-file-check, read-tweet-md]\n    if: github.event.pull_request.draft == false\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Send comment\n        uses: ./.github/bot-action\n        env:\n          BOT_API_URL: ${{ secrets.BOT_API_URL }}\n          API_SECRET: ${{ secrets.API_SECRET }}\n        with:\n          pr_number: ${{ github.event.number }}\n          status: ${{ needs.release-file-check.outputs.status }}\n          change_type: ${{ needs.release-file-check.outputs.change_type }}\n          changelog_base64: ${{ needs.release-file-check.outputs.changelog }}\n          tweet: ${{ needs.read-tweet-md.outputs.tweet }}\n\n  fail-if-status-is-not-ok:\n    runs-on: ubuntu-latest\n    needs: [release-file-check, send-comment]\n\n    steps:\n      - name: Fail if status is not ok\n        if: ${{ needs.release-file-check.outputs.status != 'OK' }}\n        run: exit 1\n", "state": "active", "repository": "strawberry-graphql/strawberry"}
{"mined_at": "2024-07-15T15:17:41.948521", "created_at": "2019-12-19T06:35:05+01:00", "updated_at": "2024-03-30T14:49:04+01:00", "name": "🔂 Unit tests", "path": ".github/workflows/test.yml", "contents": "name: 🔂 Unit tests\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n    paths:\n      - \"strawberry/**\"\n      - \"tests/**\"\n      - \"pyproject.toml\"\n      - \"poetry.lock\"\n      - \".github/workflows/test.yml\"\n\njobs:\n  generate-jobs-tests:\n    name: 💻 Generate test matrix\n    runs-on: ubuntu-latest\n    outputs:\n      sessions: ${{ steps.set-matrix.outputs.sessions }}\n    steps:\n      - uses: actions/checkout@v4\n      - run: pip install poetry nox nox-poetry\n      - id: set-matrix\n        shell: bash\n        run: |\n          echo sessions=$(\n            nox --json -t tests -l |\n            jq 'map(\n              {\n                session,\n                name: \"\\( .name ) on \\( .python )\\( if .call_spec != {} then \" (\\(.call_spec | to_entries | map(\"\\(.key)=\\(.value)\") | join(\", \")))\" else \"\" end )\"\n              }\n            )'\n          ) | tee --append $GITHUB_OUTPUT\n\n  unit-tests:\n    name: 🔬 ${{ matrix.session.name }}\n    needs: [generate-jobs-tests]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        session: ${{ fromJson(needs.generate-jobs-tests.outputs.sessions) }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: |\n            3.8\n            3.9\n            3.10\n            3.11\n            3.12\n\n      - name: Pip and nox cache\n        id: cache\n        uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cache\n            ~/.nox\n            .nox\n          key:\n            ${{ runner.os }}-nox-${{ matrix.session.session }}-${{\n            hashFiles('**/poetry.lock') }}-${{ hashFiles('**/noxfile.py') }}-3\n\n      - run: pip install poetry nox nox-poetry\n      - run: nox -r -t tests -s \"${{ matrix.session.session }}\"\n      - uses: actions/upload-artifact@v4\n        if: ${{ always() }}\n        with:\n          name: coverage-${{ matrix.session.session }}\n          path: coverage.xml\n\n  upload-coverage:\n    name: 🆙 Upload Coverage\n    needs: [unit-tests]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/download-artifact@v4\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n          verbose: true\n\n  benchmarks:\n    name: 📈 Benchmarks\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n      - run: pipx install poetry\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: \"3.12\"\n          architecture: x64\n          cache: \"poetry\"\n\n      - run: poetry env use 3.12\n      - run: poetry install\n        if: steps.setup-python.outputs.cache-hit != 'true'\n\n      - name: Run benchmarks\n        uses: CodSpeedHQ/action@v2\n        with:\n          token: ${{ secrets.CODSPEED_TOKEN }}\n          run: poetry run pytest tests/benchmarks --codspeed\n\n  lint:\n    name: ✨ Lint\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: |\n            3.8\n            3.9\n            3.10\n            3.11\n            3.12\n\n      - name: Pip and nox cache\n        id: cache\n        uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cache\n            ~/.nox\n            .nox\n          key:\n            ${{ runner.os }}-nox-lint-${{ matrix.session.session }}-${{\n            hashFiles('**/poetry.lock') }}-${{ hashFiles('**/noxfile.py') }}\n          restore-keys: |\n            ${{ runner.os }}-lint-nox-${{ matrix.session.session }}-\n            ${{ runner.os }}-lint-nox-\n\n      - run: pip install poetry\n      - run: pip install nox nox-poetry\n      - run: nox -r -t lint\n\n  unit-tests-on-windows:\n    name: 🪟 Tests on Windows\n    runs-on: windows-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - run: pipx install poetry\n      - run: pipx install coverage\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: \"3.11\"\n          cache: \"poetry\"\n\n      - run: poetry install --with integrations\n        if: steps.setup-python.outputs.cache-hit != 'true'\n      # Since we are running all the integrations at once, we can't use\n      # pydantic v2. It is not compatible with starlette yet\n      - run: poetry run pip install pydantic==1.10\n\n      # we use poetry directly instead of nox since we want to\n      # test all integrations at once on windows\n      # but we want to exclude tests/mypy since we are using an old version of pydantic\n      - run: |\n          poetry run pytest --cov=. --cov-append --cov-report=xml -n auto --showlocals --ignore tests/mypy -vv\n      - name: coverage xml\n        run: coverage xml -i\n        if: ${{ always() }}\n\n      - uses: codecov/codecov-action@v4\n        if: ${{ always() }}\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n          verbose: true\n", "state": "active", "repository": "strawberry-graphql/strawberry"}
{"mined_at": "2024-07-15T15:17:42.955763", "created_at": "2020-01-06T15:19:20+01:00", "updated_at": "2020-01-11T10:22:10+01:00", "name": "Release file check", "path": "", "contents": null, "state": "active", "repository": "strawberry-graphql/strawberry"}
{"mined_at": "2024-07-15T15:17:44.015241", "created_at": "2020-09-11T14:45:39+02:00", "updated_at": "2023-06-22T21:04:24+02:00", "name": "🆗 Ok to preview", "path": ".github/workflows/ok-to-preview.yml", "contents": "name: 🆗 Ok to preview\n\non:\n  pull_request_target:\n    types: [labeled]\n\njobs:\n  ok-to-preview:\n    if: ${{ github.event.label.name == 'ok-to-preview' }}\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Get changed files\n      #uses: lots0logs/gh-action-get-changed-files@2.1.4\n      uses: Mineflash07/gh-action-get-changed-files@feature/support-pr-target-event # Remove as soon as PR is merged\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Get comment message\n      id: get-comment-message\n      run: |\n        import os, json, textwrap\n\n        all_files_path = os.path.join(os.environ[\"HOME\"], \"files.json\")\n        event_json_path = os.environ[\"GITHUB_EVENT_PATH\"]\n\n        with open(all_files_path) as f:\n            all_files = json.load(f)\n\n        with open(event_json_path) as f:\n            event_data = json.load(f)\n\n        links = [\n          \"https://strawberry.rocks/docs/pr/{pr_number}/{path}\".format(\n            pr_number=event_data[\"number\"],\n            path=file.replace(\".md\", \"\").replace(\"docs/\", \"\")\n          )\n          for file in all_files\n          if file.startswith(\"docs/\") and file.endswith(\".md\")\n        ]\n\n        message = textwrap.dedent(\n          \"\"\"\n          Hi 👋 You can find a preview of the docs here:\n\n          {links}\n          \"\"\"\n        ).format(links=\"\\n\".join(links))\n\n        message = message.replace(\"%\", \"%25\").replace(\"\\n\", \"%0A\").replace(\"\\r\", \"%0D\")\n        output = \"::set-output name=message::{}\".format(message)\n\n        print(output)\n      shell: python\n\n    - name: Create comment\n      uses: peter-evans/create-or-update-comment@v1\n      with:\n        issue-number: ${{ github.event.number }}\n        body: ${{ steps.get-comment-message.outputs.message }}\n", "state": "active", "repository": "strawberry-graphql/strawberry"}
{"mined_at": "2024-07-15T15:17:45.149686", "created_at": "2020-09-30T19:12:58+02:00", "updated_at": "2023-06-22T21:04:22+02:00", "name": "🔐 CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: 🔐 CodeQL\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  schedule:\n    - cron: '0 18 * * 5'\n\njobs:\n  analyze:\n    runs-on: ubuntu-latest\n\n    permissions:\n      security-events: write\n      actions: read\n      contents: read\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: python\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "strawberry-graphql/strawberry"}
{"mined_at": "2024-07-15T15:17:46.353090", "created_at": "2021-05-20T10:45:43+02:00", "updated_at": "2023-10-24T23:23:14+02:00", "name": "🆙 Release", "path": ".github/workflows/release.yml", "contents": "name: 🆙 Release\n\nconcurrency: release\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  release-file-check:\n    name: Get information about release\n    runs-on: ubuntu-latest\n\n    outputs:\n      changelog: ${{ steps.release-check.outputs.changelog }}\n      status: ${{ steps.release-check.outputs.release_status }}\n      change_type: ${{ steps.release-check.outputs.change_type }}\n\n    steps:\n      - uses: actions/checkout@v1\n\n      - name: Release file check\n        uses: ./.github/release-check-action\n        id: release-check\n\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    needs: release-file-check\n    if: ${{ needs.release-file-check.outputs.status == 'OK' }}\n    outputs:\n      version: ${{ steps.get-version.outputs.version }}\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          persist-credentials: false\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Install deps\n        run: |\n          python -m pip install pip --upgrade\n          pip install poetry\n          pip install githubrelease\n          pip install autopub\n          pip install httpx\n      - name: Check if we should release\n        id: check_release\n        run: |\n          set +e\n          echo ::set-output name=release::$(autopub check)\n      - name: Publish\n        if: steps.check_release.outputs.release == ''\n        env:\n          GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          git remote set-url origin https://${{ secrets.BOT_TOKEN }}@github.com/${{ github.repository }}\n          autopub prepare\n          poetry build\n          autopub commit\n          autopub githubrelease\n          poetry publish --username __token__\n      - name: Get project version\n        id: get-version\n        shell: python\n        run: |\n          import os\n          from pathlib import Path\n          from autopub.base import get_project_version\n\n          with Path(os.environ[\"GITHUB_OUTPUT\"]).open('a') as f:\n              f.write(f\"version={get_project_version()}\\n\")\n\n  get-contributor-info:\n    name: Get PR info\n    runs-on: ubuntu-latest\n    needs: release-file-check\n    if: ${{ needs.release-file-check.outputs.status == 'OK' }}\n\n    outputs:\n      contributor-name: ${{ steps.get-info.outputs.contributor-name }}\n      contributor-username: ${{ steps.get-info.outputs.contributor-username }}\n      contributor-twitter-username: ${{ steps.get-info.outputs.contributor-twitter-username }}\n      pr-number: ${{ steps.get-info.outputs.pr-number }}\n\n    steps:\n      - name: Get PR info\n        id: get-info\n        uses: strawberry-graphql/get-pr-info-action@v6\n\n  update-release-on-github:\n    name: Update release on GitHub\n    runs-on: ubuntu-latest\n    needs: [release-file-check, get-contributor-info, release]\n    if: ${{ needs.release-file-check.outputs.status == 'OK' }}\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Install dependencies\n        run: pip install httpx\n      - name: Update release on GitHub\n        shell: python\n        run: |\n          import os\n\n          import httpx\n\n          tag = os.environ[\"TAG\"]\n          contributor_username = os.environ[\"CONTRIBUTOR_USERNAME\"]\n          pr_number = os.environ[\"PR_NUMBER\"]\n\n          response = httpx.get(\n              url=f\"https://api.github.com/repos/strawberry-graphql/strawberry/releases/tags/{tag}\",\n              headers={\n                  \"Accept\": \"application/vnd.github.v3+json\",\n              },\n          )\n\n          response.raise_for_status()\n          data = response.json()\n          release_id = data[\"id\"]\n          release_body = data[\"body\"].strip()\n\n          release_footer = f\"\"\"\n          Releases contributed by @{contributor_username} via #{pr_number}\n          \"\"\".strip()\n\n          updated_release_body = f\"{release_body}\\n\\n{release_footer}\"\n\n          response = httpx.patch(\n              url=f\"https://api.github.com/repos/strawberry-graphql/strawberry/releases/{release_id}\",\n              json={\"body\": updated_release_body},\n              headers={\n                  \"Accept\": \"application/vnd.github.v3+json\",\n                  \"Authorization\": f\"token {os.environ['GITHUB_TOKEN']}\",\n              },\n          )\n\n          response.raise_for_status()\n\n        env:\n          GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}\n          TAG: ${{ needs.release.outputs.version }}\n          CONTRIBUTOR_USERNAME: ${{ needs.get-contributor-info.outputs.contributor-username }}\n          PR_NUMBER: ${{ needs.get-contributor-info.outputs.pr-number }}\n\n  read-tweet-md:\n    name: Read TWEET.md\n    runs-on: ubuntu-latest\n    needs: [release, get-contributor-info, release-file-check]\n    if: ${{ needs.release-file-check.outputs.status == 'OK' && needs.get-contributor-info.outputs.contributor-name }}\n\n    outputs:\n      tweet: ${{ steps.extract.outputs.tweet }}\n      has-tweet-file: ${{ steps.extract.outputs.has-tweet-file }}\n\n    steps:\n      - uses: actions/checkout@v1\n      - name: Extract tweet message and changelog\n        id: extract\n        uses: strawberry-graphql/tweet-actions/read-tweet@v6\n        with:\n          changelog: ${{ needs.release-file-check.outputs.changelog }}\n          version: ${{ needs.release.outputs.version }}\n          contributor_name: ${{ needs.get-contributor-info.outputs.contributor-name }}\n          contributor_twitter_username: ${{ needs.get-contributor-info.outputs.contributor-twitter-username }}\n\n  send-tweet:\n    name: Send tweet\n    runs-on: ubuntu-latest\n    needs: [release, read-tweet-md, get-contributor-info]\n    if: ${{ needs.release-file-check.outputs.status == 'OK' }}\n\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Install dependencies\n        run: pip install tweepy==4.14.0\n      - name: Send tweet\n        shell: python\n        run: |\n          import base64\n          import os\n\n          import tweepy\n\n          TWITTER_CONSUMER_KEY = os.environ[\"TWITTER_API_KEY\"]\n          TWITTER_CONSUMER_SECRET = os.environ[\"TWITTER_API_SECRET\"]\n          TWITTER_ACCESS_TOKEN = os.environ[\"TWITTER_ACCESS_TOKEN\"]\n          TWITTER_ACCESS_TOKEN_SECRET = os.environ[\"TWITTER_ACCESS_TOKEN_SECRET\"]\n          TWITTER_BEARER_TOKEN = os.environ[\"TWITTER_BEARER_TOKEN\"]\n\n\n          tweepy_v2 = tweepy.Client(\n              TWITTER_BEARER_TOKEN,\n              consumer_key=TWITTER_CONSUMER_KEY,\n              consumer_secret=TWITTER_CONSUMER_SECRET,\n              access_token=TWITTER_ACCESS_TOKEN,\n              access_token_secret=TWITTER_ACCESS_TOKEN_SECRET,\n          )\n\n\n          def post_tweet() -> None:\n              text = base64.b64decode(os.environ[\"TWEET\"]).decode(\"utf-8\")\n              tweepy_v2.create_tweet(text=text)\n\n\n          post_tweet()\n\n        env:\n          TWEET: ${{ needs.read-tweet-md.outputs.tweet }}\n          TWITTER_API_KEY: ${{ secrets.TWITTER_API_KEY }}\n          TWITTER_API_SECRET: ${{ secrets.TWITTER_API_SECRET }}\n          TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}\n          TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}\n          TWITTER_BEARER_TOKEN: ${{ secrets.TWITTER_BEARER_TOKEN }}\n\n  remove-tweet-file:\n    name: Remove TWEET.md\n    if: always() && needs.read-tweet-md.outputs.has-tweet-file == 'true'\n    needs: [send-tweet, read-tweet-md]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          persist-credentials: false\n      - name: Remove TWEET.md and commit\n        env:\n          GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}\n        run: |\n          git config --global user.name 'Strawberry GraphQL Bot'\n          git config --global user.email 'bot@strawberry.rocks'\n          git remote set-url origin https://${{ secrets.BOT_TOKEN }}@github.com/${{ github.repository }}\n          git pull\n          git rm TWEET.md\n          git commit -m \"Remove TWEET.md\"\n          git push\n", "state": "active", "repository": "strawberry-graphql/strawberry"}
{"mined_at": "2024-07-15T15:17:47.462102", "created_at": "2021-09-09T19:06:52+02:00", "updated_at": "2023-06-22T15:37:03+02:00", "name": "👥 Invite contributors", "path": ".github/workflows/invite-contributors.yml", "contents": "name: 👥 Invite contributors\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  invite-contributor:\n    name: Invite contributors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Invite contributors\n        uses: strawberry-graphql/invite-to-org-action@v4\n        with:\n          organisation: \"strawberry-graphql\"\n          comment: |\n            Thanks for contributing to Strawberry! 🎉 You've been invited to join\n            the Strawberry GraphQL organisation 😊\n\n            You can also request a free sticker by filling this form: https://forms.gle/dmnfQUPoY5gZbVT67\n\n            And don't forget to join our discord server: https://strawberry.rocks/discord 🔥\n          team-slug: \"strawberry-contributors\"\n          github-token: ${{ secrets.BOT_TOKEN }}\n", "state": "active", "repository": "strawberry-graphql/strawberry"}
{"mined_at": "2024-07-15T15:17:48.614632", "created_at": "2021-10-24T17:26:11+02:00", "updated_at": "2023-06-22T17:19:01+02:00", "name": "🎁 Release test pre-release version", "path": ".github/workflows/pre-release-pr.yml", "contents": "name: 🎁 Release test pre-release version\n\non:\n  repository_dispatch:\n    types: [pre-release-command]\n\njobs:\n  pre-release:\n    name: Pre-release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.client_payload.pull_request.head.sha }}\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Install deps\n        run: |\n          python -m pip install pip --upgrade\n          pip install poetry\n          pip install githubrelease\n          pip install autopub\n          pip install httpx\n      - name: Check if release exists\n        id: check_release\n        run: echo \"::set-output name=release::$(autopub check)\"\n      - name: Metadata\n        id: metadata\n        if: steps.check_release.outputs.release == ''\n        run: echo \"::set-output name=commit::$(git rev-parse HEAD)\"\n      - name: Find Release Comment\n        uses: peter-evans/find-comment@v1\n        id: find_comment\n        if: steps.check_release.outputs.release == ''\n        with:\n          token: ${{ secrets.BOT_TOKEN }}\n          issue-number: ${{ github.event.client_payload.github.payload.issue.number }}\n          comment-author: botberry\n          body-includes: \"# Pre-release\"\n      - name: Create or update comment\n        uses: peter-evans/create-or-update-comment@v1\n        if: steps.check_release.outputs.release == ''\n        with:\n          token: ${{ secrets.BOT_TOKEN }}\n          comment-id: ${{ steps.find_comment.outputs.comment-id }}\n          issue-number: ${{ github.event.client_payload.github.payload.issue.number }}\n          body: |\n            # Pre-release\n            :wave:\n\n            Releasing commit [${{ steps.metadata.outputs.commit }}] to PyPi as pre-release! :package:\n          edit-mode: replace\n      - name: Publish pre-release version\n        if: steps.check_release.outputs.release == ''\n        id: release\n        env:\n          GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          autopub prepare\n          poetry version $(poetry version -s).dev.$(date '+%s')\n          poetry build\n          poetry publish --username __token__\n          echo \"::set-output name=version::$(poetry version -s)\"\n      - name: Create or update comment\n        uses: peter-evans/create-or-update-comment@v1\n        if: steps.check_release.outputs.release == ''\n        with:\n          token: ${{ secrets.BOT_TOKEN }}\n          comment-id: ${{ steps.find_comment.outputs.comment-id }}\n          issue-number: ${{ github.event.client_payload.github.payload.issue.number }}\n          body: |\n            # Pre-release\n            :wave:\n\n            Pre-release **${{ steps.release.outputs.version }}** [${{ steps.metadata.outputs.commit }}] has been released on PyPi! :rocket:\n            You can try it by doing:\n\n            ```shell\n            poetry add strawberry-graphql==${{ steps.release.outputs.version }}\n            ```\n          edit-mode: replace\n", "state": "active", "repository": "strawberry-graphql/strawberry"}
{"mined_at": "2024-07-15T15:17:49.833100", "created_at": "2021-10-24T17:26:11+02:00", "updated_at": "2023-06-22T23:52:26+02:00", "name": "💬 Slash Command Dispatch", "path": ".github/workflows/slash-commands.yml", "contents": "name: 💬 Slash Command Dispatch\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  slashCommandDispatch:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Slash Command Dispatch\n        uses: peter-evans/slash-command-dispatch@v2\n        with:\n          token: ${{ secrets.BOT_TOKEN }}\n          reaction-token: ${{ secrets.BOT_TOKEN }}\n          permission: admin\n          commands: |\n            pre-release\n", "state": "active", "repository": "strawberry-graphql/strawberry"}
{"mined_at": "2024-07-15T15:17:50.840054", "created_at": "2023-01-27T17:15:11+01:00", "updated_at": "2023-06-22T21:04:22+02:00", "name": "🛰️ Federation compatibility tests", "path": ".github/workflows/federation-compatibility.yml", "contents": "name: 🛰️ Federation compatibility tests\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}-federation\n  cancel-in-progress: true\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n    paths:\n      - \"strawberry/federation/**\"\n      - \"strawberry/printer/**\"\n      - \"pyproject.toml\"\n      - \"poetry.lock\"\n      - \".github/workflows/federation-compatibility.yml\"\n\njobs:\n  federation-tests:\n    name: Federation tests\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - run: pipx install poetry\n      - uses: actions/setup-python@v4\n        id: setup-python\n        with:\n          python-version: \"3.12\"\n          cache: \"poetry\"\n      - run: poetry env use python3.12\n      - run: poetry install\n\n      - name: export schema\n        run: poetry run strawberry export-schema schema:schema > schema.graphql\n        working-directory: federation-compatibility\n\n      - uses: apollographql/federation-subgraph-compatibility@v2\n        with:\n          compose: 'federation-compatibility/docker-compose.yml'\n          schema: 'federation-compatibility/schema.graphql'\n          port: 4001\n          token: ${{ secrets.BOT_TOKEN }}\n          failOnWarning: false\n          failOnRequired: true\n", "state": "active", "repository": "strawberry-graphql/strawberry"}
{"mined_at": "2024-07-15T15:17:51.973160", "created_at": "2024-07-05T20:35:21+02:00", "updated_at": "2024-07-05T20:35:21+02:00", "name": "Issue Manager", "path": ".github/workflows/issue-manager.yml", "contents": null, "state": "active", "repository": "strawberry-graphql/strawberry"}
{"mined_at": "2024-07-15T15:17:54.133177", "created_at": "2020-07-09T17:49:53+02:00", "updated_at": "2023-04-10T14:11:49+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "open-mmlab/mmdetection3d"}
{"mined_at": "2024-07-15T15:17:55.174006", "created_at": "2020-07-17T07:48:48+02:00", "updated_at": "2023-04-13T18:13:19+02:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\n\non: push\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-n-publish:\n    runs-on: ubuntu-latest\n    if: startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n      - name: Install torch\n        run: pip install torch\n      - name: Install wheel\n        run: pip install wheel\n      - name: Build MMDet3D\n        run: python setup.py sdist bdist_wheel\n      - name: Publish distribution to PyPI\n        run: |\n          pip install twine\n          twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}\n", "state": "active", "repository": "open-mmlab/mmdetection3d"}
{"mined_at": "2024-07-15T15:17:56.286038", "created_at": "2021-12-07T10:44:58+01:00", "updated_at": "2021-12-07T12:51:20+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n      - name: Install pre-commit hook\n        run: |\n          pip install pre-commit\n          pre-commit install\n      - name: Linting\n        run: pre-commit run --all-files\n      - name: Check docstring coverage\n        run: |\n          pip install interrogate\n          interrogate -v --ignore-init-method --ignore-magic --ignore-module --ignore-nested-functions --ignore-regex \"__repr__\" --fail-under 90 mmdet3d\n", "state": "active", "repository": "open-mmlab/mmdetection3d"}
{"mined_at": "2024-07-15T15:17:57.496004", "created_at": "2022-11-29T13:46:03+01:00", "updated_at": "2023-04-10T13:18:07+02:00", "name": "merge_stage_test", "path": ".github/workflows/merge_stage_test.yml", "contents": "name: merge_stage_test\n\non:\n  push:\n    paths-ignore:\n      - 'README.md'\n      - 'README_zh-CN.md'\n      - 'docs/**'\n      - 'demo/**'\n      - '.dev_scripts/**'\n      - '.circleci/**'\n    branches:\n      - dev-1.x\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_cpu_py:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n        torch: [1.8.1]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade && pip install wheel\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html\n      - name: Install MMEngine\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install MMCV\n        run: |\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc4'\n      - name: Install MMDet\n        run: pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n      - name: Install other dependencies\n        run: pip install -r requirements/tests.txt\n      - name: Build and install\n        run: rm -rf .eggs && pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmdet3d -m pytest tests/\n          coverage xml\n          coverage report -m\n\n  build_cpu_pt:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.7]\n        torch: [1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.12.0, 1.13.0]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n          - torch: 1.9.1\n            torchvision: 0.10.1\n          - torch: 1.10.1\n            torchvision: 0.11.2\n          - torch: 1.11.0\n            torchvision: 0.12.0\n          - torch: 1.12.0\n            torchvision: 0.13.0\n          - torch: 1.13.0\n            torchvision: 0.14.0\n          - python-version: 3.8\n            torch: 2.0.0\n            torchvision: 0.15.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade && pip install wheel\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html\n      - name: Install MMEngine\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install MMCV\n        run: |\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc4'\n      - name: Install MMDet\n        run: pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n      - name: Install other dependencies\n        run: pip install -r requirements/tests.txt\n      - name: Build and install\n        run: rm -rf .eggs && pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmdet3d -m pytest tests/\n          coverage xml\n          coverage report -m\n      # Only upload coverage report for python3.7 && pytorch1.8.1 cpu\n      - name: Upload coverage to Codecov\n        if: ${{matrix.torch == '1.8.1' && matrix.python-version == '3.7'}}\n        uses: codecov/codecov-action@v1.0.14\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n  build_cu102:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:1.8.1-cuda10.2-cudnn7-devel\n    strategy:\n      matrix:\n        python-version: [3.7]\n        include:\n          - torch: 1.8.1\n            cuda: 10.2\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade && pip install wheel\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install system dependencies\n        run: apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6\n      - name: Install mmdet3d dependencies\n        run: |\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc4'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n      - name: Build and install\n        run: pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmdet3d -m pytest tests/\n          coverage xml\n          coverage report -m\n\n  build_cu116:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:1.13.0-cuda11.6-cudnn8-devel\n    strategy:\n      matrix:\n        python-version: [3.7]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade && pip install wheel\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install system dependencies\n        run: apt-get update && apt-get install -y git ffmpeg libturbojpeg\n      - name: Install mmdet3d dependencies\n        run: |\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc4'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n      - name: Build and install\n        run: pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmcv -m pytest tests\n          coverage xml\n          coverage report -m\n\n  build_cu117:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:2.0.0-cuda11.7-cudnn8-devel\n    strategy:\n      matrix:\n        python-version: [3.9]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade && pip install wheel\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install system dependencies\n        run: apt-get update && apt-get install -y git ffmpeg libturbojpeg\n      - name: Install mmdet3d dependencies\n        run: |\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc4'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n      - name: Build and install\n        run: pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmcv -m pytest tests\n          coverage xml\n          coverage report -m\n\n  build_windows:\n    runs-on: windows-2022\n    strategy:\n      matrix:\n        python-version: [3.7]\n        platform: [cpu, cu111]\n        torch: [1.8.1]\n        torchvision: [0.9.1]\n        include:\n          - python-version: 3.8\n            platform: cu117\n            torch: 2.0.0\n            torchvision: 0.15.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: python -m pip install pip --upgrade && pip install wheel\n      - name: Install lmdb\n        run: pip install lmdb\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+${{matrix.platform}} torchvision==${{matrix.torchvision}}+${{matrix.platform}} -f https://download.pytorch.org/whl/${{matrix.platform}}/torch_stable.html\n      - name: Install mmdet3d dependencies\n        run: |\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc4'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n      - name: Build and install\n        run: pip install -e .\n      - name: Run unittests and generate coverage report\n        run: pytest tests/\n", "state": "active", "repository": "open-mmlab/mmdetection3d"}
{"mined_at": "2024-07-15T15:17:58.590719", "created_at": "2022-11-10T04:29:37+01:00", "updated_at": "2023-04-06T15:08:54+02:00", "name": "pr_stage_test", "path": ".github/workflows/pr_stage_test.yml", "contents": "name: pr_stage_test\n\non:\n  pull_request:\n    paths-ignore:\n      - 'README.md'\n      - 'README_zh-CN.md'\n      - 'docs/**'\n      - 'demo/**'\n      - '.dev_scripts/**'\n      - '.circleci/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_cpu:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.7]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: python -m pip install pip --upgrade && pip install wheel\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html\n      - name: Install MMEngine\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install MMCV\n        run: |\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc4'\n      - name: Install MMDet\n        run: pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n      - name: Install other dependencies\n        run: pip install -r requirements/tests.txt\n      - name: Build and install\n        run: rm -rf .eggs && pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmdet3d -m pytest tests/\n          coverage xml\n          coverage report -m\n      # Upload coverage report for python3.7 && pytorch1.8.1 cpu\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1.0.14\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n  build_cu102:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:1.8.1-cuda10.2-cudnn7-devel\n    strategy:\n      matrix:\n        python-version: [3.7]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade && pip install wheel\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install system dependencies\n        run: apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6\n      - name: Install mmdet3d dependencies\n        run: |\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc4'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n      - name: Build and install\n        run: pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmdet3d -m pytest tests/\n          coverage xml\n          coverage report -m\n\n  build_cu117:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:2.0.0-cuda11.7-cudnn8-devel\n    strategy:\n      matrix:\n        python-version: [3.9]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade && pip install wheel\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install system dependencies\n        run: apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6\n      - name: Install mmdet3d dependencies\n        run: |\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc4'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n      - name: Build and install\n        run: pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmdet3d -m pytest tests/\n          coverage xml\n          coverage report -m\n\n  build_windows:\n    runs-on: windows-2022\n    strategy:\n      matrix:\n        python-version: [3.7]\n        platform: [cpu, cu111]\n        torch: [1.8.1]\n        torchvision: [0.9.1]\n        include:\n          - python-version: 3.8\n            platform: cu117\n            torch: 2.0.0\n            torchvision: 0.15.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: python -m pip install pip --upgrade && pip install wheel\n      - name: Install lmdb\n        run: pip install lmdb\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+${{matrix.platform}} torchvision==${{matrix.torchvision}}+${{matrix.platform}} -f https://download.pytorch.org/whl/${{matrix.platform}}/torch_stable.html\n      - name: Install mmdet3d dependencies\n        run: |\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc4'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n      - name: Build and install\n        run: pip install -e .\n      - name: Run unittests and generate coverage report\n        run: pytest tests/\n", "state": "active", "repository": "open-mmlab/mmdetection3d"}
{"mined_at": "2024-07-15T15:17:59.665601", "created_at": "2022-06-22T08:05:11+02:00", "updated_at": "2022-08-08T13:21:49+02:00", "name": "test-mim", "path": ".github/workflows/test_mim.yml", "contents": "name: test-mim\n\non:\n  push:\n    paths:\n      - 'model-index.yml'\n      - 'configs/**'\n\n  pull_request:\n    paths:\n      - 'model-index.yml'\n      - 'configs/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_cpu:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.7]\n        torch: [1.8.1]\n        include:\n          - torch: 1.8.1\n            torch_version: torch1.8\n            torchvision: 0.9.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade && pip install wheel\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html\n      - name: Install openmim\n        run: pip install openmim\n      - name: Build and install\n        run: rm -rf .eggs && mim install -e .\n      - name: test commands of mim\n        run: mim search mmdet3d\n", "state": "active", "repository": "open-mmlab/mmdetection3d"}
{"mined_at": "2024-07-15T15:18:01.829926", "created_at": "2021-11-08T10:26:32+01:00", "updated_at": "2021-11-08T10:37:10+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '0 0 1 * *'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n    - name: Cache pip\n      uses: actions/cache@v2\n      with:\n        path: ${{ matrix.path }}\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n         ${{ runner.os }}-pip-\n    - name: Install ta-lib\n      run: |\n        if ([ \"$RUNNER_OS\" = \"macOS\" ]); then\n          brew install ta-lib\n        fi\n        if ([ \"$RUNNER_OS\" = \"Linux\" ]); then\n          if [ ! -f \"$GITHUB_WORKSPACE/ta-lib/src\" ]; then wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz -q && tar -xzf ta-lib-0.4.0-src.tar.gz; fi\n          cd ta-lib/\n          ./configure --prefix=/usr\n          if [ ! -f \"$HOME/ta-lib/src\" ]; then make; fi\n          sudo make install\n          cd\n        fi\n        if ([ \"$RUNNER_OS\" = \"Windows\" ]); then\n          curl -sL http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-msvc.zip -o $GITHUB_WORKSPACE/ta-lib.zip --create-dirs && 7z x $GITHUB_WORKSPACE/ta-lib.zip -o/c/ta-lib && mv /c/ta-lib/ta-lib/* /c/ta-lib/ && rm -rf /c/ta-lib/ta-lib && cd /c/ta-lib/c/make/cdr/win32/msvc && nmake\n        fi\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        pip install numba\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "disabled_manually", "repository": "jesse-ai/jesse"}
{"mined_at": "2024-07-15T15:18:02.942258", "created_at": "2021-07-25T12:36:21+02:00", "updated_at": "2021-07-25T12:45:14+02:00", "name": "Python application", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python application\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n\n    runs-on:  ${{matrix.os}}\n    strategy:\n      matrix:\n       # os: [ubuntu-latest, macos-latest, windows-latest]\n        os: [ubuntu-latest]\n        include:\n        - os: ubuntu-latest\n          path: ~/.cache/pip\n        #- os: macos-latest-xlarge\n        #  path: ~/Library/Caches/pip\n        #- os: windows-latest\n        #  path: ~\\AppData\\Local\\pip\\Cache\n        python-version: [3.8, 3.9, '3.10', 3.11]\n\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache pip\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: ${{ matrix.path }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n           ${{ runner.os }}-pip-\n      - name: Set up ta-lib dir\n        if: ${{ runner.os == 'Linux' }}\n        run: |\n            mkdir -p $HOME/.local/ta-lib\n            echo \"LD_LIBRARY_PATH=$HOME/.local/ta-lib/lib:$LD_LIBRARY_PATH\" >> $GITHUB_ENV\n            echo \"TA_INCLUDE_PATH=$HOME/.local/ta-lib/include\" >> $GITHUB_ENV\n            echo \"TA_LIBRARY_PATH=$HOME/.local/ta-lib/lib\" >> $GITHUB_ENV\n      - name: Set up ta-lib cache\n        if: ${{ runner.os == 'Linux' }}\n        uses: actions/cache@v2\n        id: talib-cache\n        with:\n          path: |\n              ~/.local/ta-lib/lib\n              ~/.local/ta-lib/include\n          key: talib-cache-v0.4.0\n      - name: Install ta-lib mac / windows\n        run: |\n          if ([ \"$RUNNER_OS\" = \"macOS\" ]); then\n            brew install ta-lib\n          fi\n          if ([ \"$RUNNER_OS\" = \"Windows\" ]); then\n            curl -sL http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-msvc.zip -o $GITHUB_WORKSPACE/ta-lib.zip --create-dirs && 7z x $GITHUB_WORKSPACE/ta-lib.zip -o/c/ta-lib && mv /c/ta-lib/ta-lib/* /c/ta-lib/ && rm -rf /c/ta-lib/ta-lib && cd /c/ta-lib/c/make/cdr/win32/msvc && nmake\n          fi\n      - name: Install ta-lib Linux\n        if: steps.talib-cache.outputs.cache-hit != 'true'\n        run: |\n            wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz -q && tar -xzf ta-lib-0.4.0-src.tar.gz\n            cd ta-lib/\n            ./configure --prefix=$HOME/.local/ta-lib\n            make\n            sudo make install\n            cd\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          if [ ! ${{ matrix.python-version }} = \"3.10\"]; then pip install numba; fi\n          pip install -e . -U\n     # - name: Lint with flake8\n       # run: |\n          # stop the build if there are Python syntax errors or undefined names\n          # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n      - name: Test with pytest\n        run: |\n          pip install pytest\n          pytest\n", "state": "active", "repository": "jesse-ai/jesse"}
{"mined_at": "2024-07-15T15:18:04.981674", "created_at": "2019-12-19T17:31:12+01:00", "updated_at": "2023-10-06T16:16:09+02:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": null, "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:06.153121", "created_at": "2021-03-29T04:57:22+02:00", "updated_at": "2023-12-06T22:10:20+01:00", "name": "Unit Testing and Deployment", "path": ".github/workflows/testing-and-deployment.yml", "contents": "name: Unit Testing and Deployment\n\non:\n  pull_request:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 4 * * *\"\n  push:\n    tags:\n      - \"*\"\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  ALLOW_PLOTTING: true\n  SHELLOPTS: \"errexit:pipefail\"\n\njobs:\n  macOS:\n    # https://github.com/pyvista/pyvista/pull/5960\n    runs-on: macos-12\n    name: Mac OS Unit Testing\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements.txt\n            requirements_test.txt\n\n      - name: Install PyVista\n        run: pip install . --no-deps\n\n      - name: Install test dependencies\n        run: pip install vtk -r requirements_test.txt\n\n      - name: Report\n        run: python -c \"import pyvista;print(pyvista.Report(gpu=False));from pyvista import examples;print('User data path:', examples.USER_DATA_PATH)\"\n\n      - name: Test Core API\n        run: pytest -v --ignore=tests/plotting\n\n      - name: Test Plotting\n        run: pytest -v tests/plotting --fail_extra_image_cache --generated_image_dir debug_images\n\n      - name: Upload Generated Images\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: debug_images-${{ github.job }}-${{ join(matrix.* , '-') }}\n          path: debug_images\n\n  LinuxConda:\n    runs-on: ubuntu-20.04\n    if: false\n    env:\n      CONDA_ALWAYS_YES: 1\n      conda_env: pyvista-vtk\n      DISPLAY: \":99.0\"\n      PYVISTA_OFF_SCREEN: True\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up headless display\n        uses: pyvista/setup-headless-display-action@v2\n\n      - name: Cache Conda Packages\n        uses: actions/cache@v4\n        with:\n          path: ~/anaconda3/pkgs\n          key: Conda-${{ runner.os }}-${{ hashFiles('environment.yml') }}\n          restore-keys: |\n            ${{ runner.os }}-conda-\n\n      - uses: actions/cache@v4\n        with:\n          path: ~/.local/share/pyvista/examples\n          key: Examples-1-${{ hashFiles('*') }}\n          restore-keys: |\n            Examples-1-\n\n      # See: https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community\n      - name: Install mamba\n        run: |\n          source /usr/share/miniconda/etc/profile.d/conda.sh\n          conda config --set channel_priority strict\n          conda update -n base conda\n          conda install -n base conda-libmamba-solver\n\n      - name: \"Workaround for mamba-org/mamba#488\"\n        run: rm /usr/share/miniconda/pkgs/cache/*.json\n\n      - name: Create Anaconda environment\n        run: |\n          source /usr/share/miniconda/etc/profile.d/conda.sh\n          conda config --add channels conda-forge\n          conda env create --quiet -n ${{ env.conda_env }} --file environment.yml --experimental-solver=libmamba\n          conda activate ${{ env.conda_env }}\n          conda list\n\n      - name: Install PyVista\n        run: |\n          source /usr/share/miniconda/etc/profile.d/conda.sh\n          conda activate ${{ env.conda_env }}\n          pip install -e .\n          which python\n          python -c \"import pyvista; print(pyvista.Report(gpu=False))\"\n          python -c \"from pyvista import examples; print(examples.USER_DATA_PATH)\"\n\n      - name: Test Core API\n        run: |\n          source /usr/share/miniconda/etc/profile.d/conda.sh\n          conda activate ${{ env.conda_env }}\n          pip install -r requirements_test.txt\n          pytest -v --ignore=tests/plotting\n\n      - name: Test Core Plotting\n        run: |\n          source /usr/share/miniconda/etc/profile.d/conda.sh\n          conda activate ${{ env.conda_env }}\n          pytest -v tests/plotting --cov-report html --fail_extra_image_cache --generated_image_dir debug_images\n\n      - name: Upload Generated Images\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }}\n          path: debug_images\n\n  Linux:\n    name: Linux Unit Testing\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n\n      # see discussion at https://github.com/pyvista/pyvista/issues/2867\n      matrix:\n        include:\n          - python-version: \"3.8\"\n            vtk-version: \"9.0.3\" # Requires numpy<1.24\n            numpy-version: \"default\"\n          - python-version: \"3.9\"\n            vtk-version: \"9.1\"\n            numpy-version: \"default\"\n          - python-version: \"3.10\"\n            vtk-version: \"9.2.2\"\n            numpy-version: \"default\"\n          - python-version: \"3.11\"\n            vtk-version: \"9.2.6\"\n            numpy-version: \"default\"\n          - python-version: \"3.12\"\n            vtk-version: \"latest\"\n            numpy-version: \"default\"\n          - python-version: \"3.12\"\n            vtk-version: \"latest\"\n            numpy-version: \"nightly\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements.txt\n            requirements_test.txt\n\n      - uses: actions/cache@v4\n        with:\n          path: ~/.local/share/pyvista/examples\n          key: Examples-1-${{ hashFiles('*') }}\n          restore-keys: |\n            Examples-1-\n\n      - name: Build wheel and install pyvista\n        run: |\n          pip install build\n          python -m build --wheel\n          pip install dist/pyvista*.whl\n\n      - name: Set up vtk\n        if: ${{ matrix.vtk-version != 'latest' }}\n        run: pip install vtk==${{ matrix.vtk-version }}\n\n      # Make sure PyVista does not break from non-core dependencies\n      - name: Software Report (Core Dependencies)\n        run: python -c \"import pyvista; print(pyvista.Report());\"\n\n      - name: Install Testing Requirements\n        run: pip install -r requirements_test.txt\n\n      - name: Limit NumPy for VTK 9.0.3\n        if: ${{ matrix.vtk-version == '9.0.3' }}\n        run: pip install 'numpy<1.24'\n\n      - name: Limit Matplotlib for VTK<9.2.2\n        if: ${{ matrix.vtk-version == '9.1' || matrix.vtk-version == '9.0.3' }}\n        run: pip install 'matplotlib<3.6'\n\n      - name: Install latest numpy 2.0 beta/rc\n        if: ${{ matrix.numpy-version == 'nightly' }}\n        run: |\n          pip uninstall numpy matplotlib -y\n          pip install --pre --no-deps -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple matplotlib\n          pip install --pre --no-deps -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy\n\n      - name: Core Testing (no GL)\n        run: python -m pytest --cov=pyvista -v tests/core tests/examples\n\n      - uses: awalsh128/cache-apt-pkgs-action@v1.1.3\n        with:\n          packages: libgl1-mesa-glx xvfb\n          version: 3.0\n\n      - name: Plotting Testing (uses GL)\n        run: xvfb-run -a python -m pytest --cov=pyvista --cov-append --cov-report=xml --fail_extra_image_cache -v --ignore=tests/core --ignore=tests/examples --generated_image_dir debug_images\n\n      - name: Upload Generated Images\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: debug_images-${{ github.job }}-${{ join(matrix.* , '-') }}\n          path: debug_images\n\n      - name: Software Report\n        if: always()\n        run: |\n          xvfb-run -a python -c \"import pyvista; print(pyvista.Report()); from pyvista import examples; print('User data path:', examples.USER_DATA_PATH)\"\n          which python\n          pip list\n\n      - uses: codecov/codecov-action@v4\n        name: \"Upload coverage to CodeCov\"\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n      - name: Check package\n        run: |\n          pip install build twine\n          python -m build\n          twine check --strict dist/*\n\n      - name: Upload to PyPi\n        if: matrix.python-version == '3.9' && startsWith(github.ref, 'refs/tags/v')\n        run: |\n          twine upload --skip-existing dist/pyvista*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n          TWINE_REPOSITORY_URL: \"https://upload.pypi.org/legacy/\"\n\n  windows:\n    name: Windows Unit Testing\n    runs-on: windows-latest\n    env:\n      CI_WINDOWS: true\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements.txt\n            requirements_test.txt\n\n      - name: Set up headless display\n        uses: pyvista/setup-headless-display-action@v2\n\n      - name: Install PyVista\n        run: pip install . --no-deps\n\n      - name: Install test dependencies\n        run: pip install vtk -r requirements_test.txt\n\n      - name: Report\n        run: python -c \"import pyvista; print(pyvista.Report(gpu=False)); from pyvista import examples; print('User data path:', examples.USER_DATA_PATH)\"\n\n      - name: Set example data path as env variable\n        run: |\n          chcp 65001 #set code page to utf-8\n          echo (\"PYVISTA_EXAMPLE_DATA_PATH=\" + $(python -c \"import pyvista; from pyvista import examples; print(examples.USER_DATA_PATH)\")) >> $env:GITHUB_ENV\n\n      - name: Cache example data\n        uses: actions/cache@v4\n        with:\n          path: ${{ env.PYVISTA_EXAMPLE_DATA_PATH }}\n          key: Examples-1-${{ hashFiles('*') }}\n          restore-keys: |\n            Examples-1-\n\n      - name: Test Core API\n        run: python -m pytest -v --ignore=tests/plotting\n\n      - name: Test Plotting\n        run: python -m pytest -v tests/plotting --fail_extra_image_cache --generated_image_dir debug_images\n\n      - name: Upload Generated Images\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: debug_images-${{ github.job }}-${{ join(matrix.* , '-') }}\n          path: debug_images\n", "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:07.343600", "created_at": "2021-09-02T21:16:29+02:00", "updated_at": "2021-09-02T21:16:29+02:00", "name": "Update Local Intersphinx Mappings", "path": ".github/workflows/intersphinx-update-pull-request.yml", "contents": "name: Update Local Intersphinx Mappings\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 3 1 * *\"\n\njobs:\n  intersphinx_update:\n    # This job can create issues/PRs/comments, so\n    #   only run on the head `pyvista/pyvista` repo\n    if: github.repository_owner == 'pyvista'\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Update intersphinx objects\n        run: make -C doc update-intersphinx\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.PYVISTA_BOT_TOKEN }}\n          author: pyvista-bot <53544751+pyvista-bot@users.noreply.github.com>\n          commit-message: \"[create-pull-request] update local intersphinx\"\n          labels: |\n            maintenance\n          body: |\n            Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action\n            These changes update all the intersphinx mappings.\n          title: \"Automated PR: Update Local Intersphinx\"\n", "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:08.469847", "created_at": "2021-09-09T01:19:20+02:00", "updated_at": "2021-09-09T19:02:22+02:00", "name": "Style and Docstring Check", "path": ".github/workflows/style_docstr.yml", "contents": "# check spelling, codestyle\nname: Style and Docstring Check\n\non: [pull_request, workflow_dispatch]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  docstringcheck:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements.txt\n            requirements_test.txt\n\n      - uses: actions/cache@v4\n        with:\n          path: ~/.local/share/pyvista/examples\n          key: Examples-Data-${{ hashFiles('*') }}\n          restore-keys: |\n            Examples-Data-\n\n      - name: Install pyvista and doctest requirements\n        run: |\n          pip install -e . --no-deps\n          pip install -r requirements_test.txt vtk\n\n      - name: Setup headless display\n        uses: pyvista/setup-headless-display-action@v2\n\n      - name: Software Report\n        run: |\n          python -c \"import pyvista; print(pyvista.Report()); from pyvista import examples; print('Examples path:', examples.USER_DATA_PATH)\"\n          which python\n          pip list\n\n      - name: Test Package Docstrings\n        run: make doctest-modules\n\n      - name: Test Package Docstrings with Local Namespace\n        run: make doctest-modules-local-namespace\n\n  vale:\n    name: Vale\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      # this is equivalent to\n      # vale --config doc/.vale.ini doc pyvista examples\n      - name: \"Run Vale\"\n        uses: errata-ai/vale-action@reviewdog\n        with:\n          files: '[\"doc\", \"pyvista\", \"examples\"]'\n          vale_flags: \"--config=doc/.vale.ini\"\n          reporter: github-pr-check\n          level: error\n          filter_mode: nofilter\n          fail_on_error: true\n          version: 2.29.5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:09.596385", "created_at": "2021-12-02T07:28:05+01:00", "updated_at": "2023-12-18T02:10:47+01:00", "name": "Build Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Build Documentation\non:\n  pull_request: # Uses cache\n  workflow_dispatch: # Able to not use cache by user demand\n    inputs:\n      cache:\n        description: \"Use build cache\"\n        required: false\n        default: \"true\"\n  # No cache enabled for `schedule` and `push`\n  schedule:\n    - cron: \"0 0 1 * *\" # once a month on main\n  push:\n    tags:\n      - \"*\"\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  USE_CACHE: ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.cache == 'true') || (github.event_name == 'pull_request') || (github.event_name == 'push') }}\n  DOCUMENTATION_CNAME: \"docs.pyvista.org\"\n  PYDEVD_DISABLE_FILE_VALIDATION: \"1\"\n\njobs:\n  doc:\n    name: Build Documentation\n    runs-on: ubuntu-20.04\n    env:\n      PYVISTA_OFF_SCREEN: \"True\"\n      ALLOW_PLOTTING: true\n      SHELLOPTS: \"errexit:pipefail\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements.txt\n            requirements_docs.txt\n\n      - uses: awalsh128/cache-apt-pkgs-action@v1.1.3\n        with:\n          packages: libosmesa6-dev libgl1-mesa-dev python3-tk pandoc git-restore-mtime\n          version: 3.0\n\n      - name: Install PyVista and dependencies\n        run: |\n          pip install -e . --no-deps\n          pip install -r requirements_docs.txt\n\n      - name: Install custom OSMesa VTK variant\n        run: |\n          pip uninstall vtk -y\n          pip install vtk-osmesa==9.3.0 --index-url https://gitlab.kitware.com/api/v4/projects/13/packages/pypi/simple\n\n      - name: PyVista Report\n        run: |\n          python -c \"import pyvista;print(pyvista.Report())\"\n          echo PYVISTA_EXAMPLE_DATA_PATH=$(python -c \"from pyvista import examples; print(examples.USER_DATA_PATH)\") >> $GITHUB_ENV\n          pip list\n\n      - name: Cache Sphinx-Gallery Examples\n        uses: actions/cache@v4\n        if: env.USE_CACHE == 'true' && !startsWith(github.ref, 'refs/heads/release/') && !startsWith(github.ref, 'refs/tags/v')\n        with:\n          path: doc/source/examples/\n          key: doc-examples-${{ hashFiles('pyvista/_version.py') }}\n\n      - name: Cache example data\n        uses: actions/cache@v4\n        if: env.USE_CACHE == 'true' && !startsWith(github.ref, 'refs/heads/release/') && !startsWith(github.ref, 'refs/tags/v')\n        with:\n          path: ${{ env.PYVISTA_EXAMPLE_DATA_PATH }}\n          key: example-data-1-${{ hashFiles('pyvista/_version.py') }}\n\n      - name: Build Documentation\n        run: make -C doc html\n\n      - name: Copy ads.txt\n        run: cp doc/source/ads.txt doc/_build/html/\n\n      - name: Dump Sphinx Warnings and Errors\n        if: always()\n        run: if [ -e doc/sphinx_warnings.txt ]; then cat doc/sphinx_warnings.txt; fi\n\n      - name: Dump VTK Warnings and Errors\n        if: always()\n        run: if [ -e doc/errors.txt ]; then cat doc/errors.txt; fi\n\n      - name: Test Documentation Images\n        run: pytest tests/doc/tst_doc_images.py\n\n      - name: Upload Images for Failed Tests\n        if: ${{ failure() && hashFiles('_doc_debug_images_failed/**/*.jpg') != '' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: doc-debug-images-failed\n          path: _doc_debug_images_failed\n\n      - name: Upload Test Debug Images\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: doc-debug-images\n          path: _doc_debug_images\n\n      - name: Upload HTML documentation\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs-build\n          path: doc/_build/html/\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: examples\n          path: doc/source/examples/\n\n      - name: Get Notebooks\n        run: |\n          mkdir _notebooks\n          find doc/source/examples -type f -name '*.ipynb' | cpio -p -d -v _notebooks/\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: pyvista-notebooks\n          path: _notebooks\n\n  # deploy:\n  #   name: Publish Documentation\n  #   runs-on: ubuntu-20.04\n  #   needs: doc\n  #   if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')\n  #   steps:\n  #     - uses: actions/checkout@v4\n  #     - uses: actions/download-artifact@v4\n  #       with:\n  #         name: docs-build\n  #         path: .\n\n  #     - name: Deploy Dev Docs\n  #       if: github.event_name == 'push' && !contains(github.ref, 'refs/tags')\n  #       uses: ansys/actions/doc-deploy-dev@v4\n  #       with:\n  #         token: ${{ secrets.PYVISTA_BOT_TOKEN }}\n  #         decompress-artifact: false\n  #         repository: 'pyvista/pyvista-docs'\n  #         doc-artifact-name: docs-build\n  #         cname: ${{ env.DOCUMENTATION_CNAME }}\n\n  #     - name: Deploy Stable Docs\n  #       if: github.event_name == 'push' && contains(github.ref, 'refs/tags')\n  #       uses: ansys/actions/doc-deploy-stable@v4\n  #       with:\n  #         token: ${{ secrets.PYVISTA_BOT_TOKEN }}\n  #         decompress-artifact: false\n  #         repository: 'pyvista/pyvista-docs'\n  #         doc-artifact-name: docs-build\n  #         cname: ${{ env.DOCUMENTATION_CNAME }}\n\n  publish-notebooks:\n    name: Publish Notebooks for MyBinder\n    runs-on: ubuntu-20.04\n    needs: doc\n    if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install Dependencies\n        run: |\n          pip install cookiecutter\n      - uses: actions/download-artifact@v4\n        with:\n          name: pyvista-notebooks\n          path: .\n\n      - name: Make Cookiecutter\n        run: |\n          cookiecutter -f --no-input --config-file ./doc/source/pyvista-binder-config.yml https://github.com/pyvista/cookiecutter-pyvista-binder.git;\n          rm -rf ./pyvista-examples/notebooks/\n          cp -r doc/source/examples/ ./pyvista-examples/\n          ls -l ./pyvista-examples/\n\n      - name: Publish notebooks on release\n        if: startsWith(github.ref, 'refs/tags/v')\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          external_repository: pyvista/pyvista-examples\n          personal_token: ${{ secrets.PYVISTA_BOT_TOKEN }}\n          publish_dir: pyvista-examples\n          publish_branch: master\n          exclude_assets: \"\"\n", "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:10.725569", "created_at": "2022-01-08T21:47:08+01:00", "updated_at": "2022-02-24T16:20:10+01:00", "name": "Build and Publish Docker Image", "path": ".github/workflows/docker-package.yml", "contents": "name: Build and Publish Docker Image\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - \"*\"\n    branches:\n      - main\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-publish:\n    name: Build and Publish Docker Image\n    runs-on: ubuntu-20.04\n    # For Pull Requests, only runs from `docker`\n    if: github.event_name == 'push' ||\n      ( github.event_name == 'pull_request' &&\n      github.event.pull_request.head.repo.full_name == github.repository &&\n      startsWith(github.event.pull_request.head.ref, 'docker')\n      )\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Create PyVista package\n        run: |\n          pip install build\n          python -m build --sdist\n\n      - name: Log into the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: token\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata for the Jupyter Docker image\n        id: jupyter_meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n      - name: Build and push the Jupyter Docker image\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: docker/jupyter.Dockerfile\n          push: ${{ github.actor != 'dependabot[bot]' }}\n          tags: ${{ steps.jupyter_meta.outputs.tags }}\n          labels: ${{ steps.jupyter_meta.outputs.labels }}\n\n      - name: Extract metadata for the Slim Docker image\n        id: slim_meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n          flavor: |\n            latest=auto\n            suffix=-slim,onlatest=true\n      - name: Build and push the Slim Docker image\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: docker/slim.Dockerfile\n          push: ${{ github.actor != 'dependabot[bot]' }}\n          tags: ${{ steps.slim_meta.outputs.tags }}\n          labels: ${{ steps.slim_meta.outputs.labels }}\n", "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:11.843830", "created_at": "2022-01-28T01:45:26+01:00", "updated_at": "2022-06-25T23:02:21+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/label.yml", "contents": "name: \"Pull Request Labeler\"\non:\n  pull_request_target:\n    types: [opened, reopened]\n\njobs:\n  triage:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Label based on changed files\n        uses: actions/labeler@v5\n        with:\n          repo-token: \"${{ secrets.PYVISTA_BOT_TOKEN }}\"\n\n      # Label based on branch name\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'doc/') || startsWith(github.event.pull_request.head.ref, 'docs')\n        with:\n          github_token: \"${{ secrets.PYVISTA_BOT_TOKEN }}\"\n          labels: documentation\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'docker')\n        with:\n          github_token: \"${{ secrets.PYVISTA_BOT_TOKEN }}\"\n          labels: docker\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'maint') || startsWith(github.event.pull_request.head.ref, 'testing') || startsWith(github.event.pull_request.head.ref, 'no-ci') || startsWith(github.event.pull_request.head.ref, 'ci')\n        with:\n          github_token: \"${{ secrets.PYVISTA_BOT_TOKEN }}\"\n          labels: maintenance\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'junk')\n        with:\n          github_token: \"${{ secrets.PYVISTA_BOT_TOKEN }}\"\n          labels: ignore-for-release\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'feat')\n        with:\n          github_token: \"${{ secrets.PYVISTA_BOT_TOKEN }}\"\n          labels: enhancement\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'fix') || startsWith(github.event.pull_request.head.ref, 'patch') || startsWith(github.event.pull_request.head.ref, 'bug')\n        with:\n          github_token: \"${{ secrets.PYVISTA_BOT_TOKEN }}\"\n          labels: bug\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'release')\n        with:\n          github_token: \"${{ secrets.PYVISTA_BOT_TOKEN }}\"\n          labels: release\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'breaking-change')\n        with:\n          github_token: \"${{ secrets.PYVISTA_BOT_TOKEN }}\"\n          labels: breaking-change\n", "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:13.282688", "created_at": "2022-08-27T00:00:30+02:00", "updated_at": "2023-06-18T07:11:26+02:00", "name": "LinkCheck - All files 🔗", "path": ".github/workflows/linkcheck.yml", "contents": "name: LinkCheck - All files 🔗\n\non:\n  schedule:\n    - cron: \"0 5 * * 0\" # Runs at 05:00 on Sunday.\n  workflow_dispatch:\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  doc:\n    name: Check Links\n    runs-on: ubuntu-20.04\n    env:\n      PYVISTA_OFF_SCREEN: \"True\"\n      ALLOW_PLOTTING: true\n      SHELLOPTS: \"errexit:pipefail\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements.txt\n            requirements_docs.txt\n\n      - uses: awalsh128/cache-apt-pkgs-action@v1.1.3\n        with:\n          packages: libosmesa6-dev libgl1-mesa-dev python3-tk pandoc git-restore-mtime\n          version: 3.0\n\n      - name: Install PyVista and dependencies\n        run: |\n          pip install -e . --no-deps\n          pip install -r requirements_docs.txt\n\n      - name: Install custom OSMesa VTK variant\n        run: |\n          pip uninstall vtk -y\n          pip install vtk-osmesa==9.3.0 --index-url https://gitlab.kitware.com/api/v4/projects/13/packages/pypi/simple\n\n      - name: LinkCheck\n        run: make -C doc linkcheck SPHINXOPTS=\"--color\"\n", "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:14.406254", "created_at": "2022-09-01T20:31:10+02:00", "updated_at": "2023-03-24T02:19:37+01:00", "name": "Integration Tests", "path": ".github/workflows/integration-tests.yml", "contents": "name: Integration Tests\n\non:\n  pull_request:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 4 * * *\"\n  push:\n    tags:\n      - \"*\"\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  ALLOW_PLOTTING: true\n  SHELLOPTS: \"errexit:pipefail\"\n\njobs:\n  # For now this is just MNE-Python, but others could be added\n  mne:\n    name: MNE-Python\n    runs-on: ubuntu-22.04\n    env:\n      DISPLAY: \":99.0\"\n      MNE_LOGGING_LEVEL: \"info\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - run: git clone --depth=1 https://github.com/mne-tools/mne-python.git --branch main --single-branch\n      - run: ./mne-python/tools/setup_xvfb.sh\n      - name: Install MNE dependencies\n        run: pip install numpy scipy matplotlib nibabel \"PyQt6-Qt6!=6.6.0,!=6.7.0\" \"PyQt6!=6.6.0\" qtpy ipympl pytest pytest-cov pytest-harvest pytest-timeout sphinx-gallery nbformat nbclient imageio imageio-ffmpeg\n      - name: Install PyVista\n        run: pip install -ve . # pyvista\n      - name: Install PyVistaQt main\n        run: pip install -v git+https://github.com/pyvista/pyvistaqt.git\n      - name: Install MNE\n        run: pip install -ve . # mne\n        working-directory: mne-python\n      - name: MNE Info\n        run: mne sys_info -p\n        working-directory: mne-python\n      - run: ./tools/get_testing_version.sh\n        working-directory: mne-python\n      - uses: actions/cache@v4\n        with:\n          key: ${{ env.TESTING_VERSION }}\n          path: ~/mne_data\n      - run: ./tools/github_actions_download.sh\n        working-directory: mne-python\n      - run: pytest mne/viz/_brain mne/viz/tests/test_3d.py mne/viz/backends\n        working-directory: mne-python\n\n  pyvistaqt:\n    name: PyVistaQt\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - run: git clone https://github.com/pyvista/pyvistaqt.git --single-branch\n      - uses: pyvista/setup-headless-display-action@main\n        with:\n          qt: true\n          pyvista: false\n      - run: pip install -ve ./pyvistaqt -r ./pyvistaqt/requirements_test.txt \"PyQt6-Qt6!=6.6.0,!=6.7.0\" \"PyQt6!=6.6.0\"\n      - run: pip install -ve .\n      - run: pytest ./tests\n        working-directory: pyvistaqt\n\n  geovista:\n    name: GeoVista\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      CARTOPY_FEATURE: \"https://raw.githubusercontent.com/SciTools/cartopy/v0.22.x/tools/cartopy_feature_download.py\"\n      CARTOPY_SHARE_DIR: ~/.local/share/cartopy\n      GEOVISTA_POOCH_MUTE: true\n    steps:\n      - uses: awalsh128/cache-apt-pkgs-action@v1.1.3\n        with:\n          packages: libgl1-mesa-glx xvfb\n          version: 3.0\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - run: git clone https://github.com/bjlittle/geovista.git --single-branch\n      - name: Install PyVista\n        run: pip install -ve . # pyvista\n      - name: Install GeoVista\n        run: pip install -ve .[test,exam,cmap] # geovista\n        working-directory: geovista\n      - name: Download cartopy assets\n        run: |\n          wget --quiet ${CARTOPY_FEATURE}\n          mkdir -p ${CARTOPY_SHARE_DIR}\n          python cartopy_feature_download.py physical --output ${CARTOPY_SHARE_DIR} --no-warn\n      - name: Pin NumPy version\n        run: pip install \"numpy<2.0.0\"\n      - run: pytest\n        working-directory: geovista\n\n  trame:\n    name: Trame\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install PyVista\n        run: pip install -ve .\n      - name: Install Trame examples\n        run: pip install -r examples_trame/requirements.txt\n      - run: |\n          pip install -r ../requirements_test.txt\n          pytest ./tests\n        working-directory: examples_trame\n", "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:15.541602", "created_at": "2022-12-09T19:50:43+01:00", "updated_at": "2023-04-19T20:59:09+02:00", "name": "VTK Master Testing", "path": ".github/workflows/vtk-pre-test.yml", "contents": "name: VTK Master Testing\n\non:\n  pull_request:\n  push:\n    branches:\n      # To resolve issues on VTK master and test, use this branch name pattern\n      - \"maint/vtk-master*\"\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 4 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  ALLOW_PLOTTING: true\n  SHELLOPTS: \"errexit:pipefail\"\n\njobs:\n  VTK-master:\n    # only for pull requests, run only when 'vtk_master' label exists\n    if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'vtk-master') }}\n    name: Linux VTK Master Testing\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: requirements_test.txt\n\n      - uses: actions/cache@v4\n        with:\n          path: ~/.local/share/pyvista/examples\n          key: Examples-1-${{ hashFiles('*') }}\n          restore-keys: |\n            Examples-1-\n\n      - name: Install pyvista\n        run: pip install . --no-deps\n\n      - name: Install Testing Requirements\n        run: pip install -r requirements_test.txt\n\n      - name: Set up VTK with OSMesa\n        run: |\n          pip uninstall vtk -y\n          pip install vtk_osmesa --pre --no-cache --extra-index-url https://wheels.vtk.org\n\n      - name: Software Report\n        run: |\n          python -c \"import pyvista; print(pyvista.Report()); from pyvista import examples; print('User data path:', examples.USER_DATA_PATH)\"\n          which python\n          pip list\n          pip show vtk_osmesa\n\n      - name: Unit Testing\n        run: pytest -v tests/ --fail_extra_image_cache\n", "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:16.640418", "created_at": "2023-09-24T01:31:05+02:00", "updated_at": "2023-09-24T01:31:05+02:00", "name": "Approve PRs", "path": ".github/workflows/auto-approve.yml", "contents": "name: Approve PRs\non:\n  workflow_dispatch:\n  issue_comment:\n    types: [created]\n\njobs:\n  autoapprove:\n    # This job only runs for pull request comments by approved users on creation\n    name: PR comment\n    if: github.event.issue.pull_request &&\n      contains(github.event.comment.body, '@pyvista-bot LGTM') && (\n      github.event.comment.user.login == 'banesullivan' ||\n      github.event.comment.user.login == 'tkoyama010' ||\n      github.event.comment.user.login == 'akaszynski'\n      )\n    permissions:\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: hmarr/auto-approve-action@v4\n        with:\n          review-message: \":white_check_mark: Approving this PR because [${{ github.event.comment.user.login }}](https://github.com/${{ github.event.comment.user.login }}) said so in [here](${{ github.event.comment.html_url }}) :shipit:\"\n          pull-request-number: ${{ github.event.issue.number }}\n          github-token: ${{ secrets.PYVISTA_BOT_TOKEN }}\n", "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:17.685764", "created_at": "2024-03-03T05:50:14+01:00", "updated_at": "2024-03-03T05:50:14+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:18.812349", "created_at": "2024-03-07T16:45:24+01:00", "updated_at": "2024-03-07T16:45:24+01:00", "name": "PR update", "path": ".github/workflows/update-pr-branch.yml", "contents": "name: PR update\n\non:\n  push:\n    branches:\n      - \"main\"\njobs:\n  autoupdate:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Automatically update PR\n        uses: adRise/update-pr-branch@v0.7.2\n        with:\n          token: ${{ secrets.PYVISTA_BOT_TOKEN }}\n          base: \"main\"\n          required_approval_count: 1\n          require_passed_checks: false\n          sort: \"created\"\n          direction: \"desc\"\n          require_auto_merge_enabled: true\n", "state": "active", "repository": "pyvista/pyvista"}
{"mined_at": "2024-07-15T15:18:20.860114", "created_at": "2021-09-13T11:58:54+02:00", "updated_at": "2021-09-13T11:58:54+02:00", "name": "lint_python", "path": ".github/workflows/lint_python.yml", "contents": "name: lint_python\r\non: [pull_request, push]\r\njobs:\r\n  lint_python:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/checkout@v2\r\n      - uses: actions/setup-python@v2\r\n      - run: pip install bandit codespell flake8\r\n      - run: bandit --recursive  --skip B102,B110,B307,B311,B404,B603,B602 .\r\n      - run: codespell --ignore-words-list=\"crate,nd,te\" .\r\n      - run: flake8 . --count --select=E9,F63,F7 --show-source --statistics  # ,F82\r\n", "state": "active", "repository": "pokepetter/ursina"}
{"mined_at": "2024-07-15T15:18:21.844913", "created_at": "2021-12-19T21:56:41+01:00", "updated_at": "2021-12-19T21:56:41+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pokepetter/ursina"}
{"mined_at": "2024-07-15T15:18:24.034493", "created_at": "2022-11-02T00:01:02+01:00", "updated_at": "2022-11-02T04:58:56+01:00", "name": "Check colors and img size", "path": ".github/workflows/check_colors_sizes.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Check colors and img size\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Maximize build space\n      uses: easimon/maximize-build-space@67afc2d7662c9d296547435e7605cc57a1df46f3      \n    - uses: actions/checkout@v3\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pillow tqdm numpy requests\n    - name: Check colors\n      run: |\n        PRNUM=${{ github.event.pull_request.number }} ONLYCHECK=1 python tools/canonicialize_masks.py\n    - name: Check img size\n      run: |\n        PRNUM=${{ github.event.pull_request.number }} python tools/check_img_size.py", "state": "active", "repository": "commaai/comma10k"}
{"mined_at": "2024-07-15T15:18:25.053205", "created_at": "2020-05-06T17:32:04+02:00", "updated_at": "2020-05-06T17:32:04+02:00", "name": "Check file location", "path": ".github/workflows/check_file_location.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Check file location\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Maximize build space\n      uses: easimon/maximize-build-space@67afc2d7662c9d296547435e7605cc57a1df46f3      \n    - uses: actions/checkout@v3\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pillow tqdm numpy\n    - name: Check file location\n      run: |\n        python tools/check_file_location.py\n", "state": "active", "repository": "commaai/comma10k"}
{"mined_at": "2024-07-15T15:18:26.186354", "created_at": "2020-05-06T19:49:07+02:00", "updated_at": "2020-05-06T19:49:07+02:00", "name": "Check filenames", "path": ".github/workflows/check_filename.yml", "contents": "name: Check filenames\n\non:\n  push:\n    paths:\n      - 'masks/**'\n      - 'tools/check_filename.py'\n      - '.github/workflows/check_filename.yml'\n  pull_request:\n    paths:\n      - 'masks/**'\n      - 'tools/check_filename.py'\n      - '.github/workflows/check_filename.yml'\n\njobs:\n  stat:\n  \n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Maximize build space\n      uses: easimon/maximize-build-space@67afc2d7662c9d296547435e7605cc57a1df46f3      \n    - uses: actions/checkout@v3\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pillow tqdm numpy\n    - name: Check filenames\n      run: |\n        python tools/check_filename.py\n", "state": "active", "repository": "commaai/comma10k"}
{"mined_at": "2024-07-15T15:18:27.254972", "created_at": "2020-03-05T09:38:49+01:00", "updated_at": "2020-03-05T09:38:49+01:00", "name": "Check Stat (Progress Completion)", "path": ".github/workflows/check_stat.yml", "contents": "name: Check Stat (Progress Completion)\n\non:\n  push:\n    paths:\n      - 'masks/**'\n      - 'runstat.py'\n      - '.github/workflows/check_stat.yml'\n  pull_request:\n    paths:\n      - 'masks/**'\n      - 'runstat.py'\n      - '.github/workflows/check_stat.yml'\n\njobs:\n  stat:\n  \n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Maximize build space\n      uses: easimon/maximize-build-space@67afc2d7662c9d296547435e7605cc57a1df46f3      \n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n\n    - name: Amount Done\n      run: |\n        python runstat.py\n", "state": "active", "repository": "commaai/comma10k"}
{"mined_at": "2024-07-15T15:18:28.330854", "created_at": "2020-03-21T20:12:45+01:00", "updated_at": "2020-03-21T20:12:45+01:00", "name": "Don't modify the imgs folder", "path": ".github/workflows/dont_modify_imgs.yml", "contents": "name: Don't modify the imgs folder\r\n\r\non:\r\n  push:\r\n    paths:\r\n      - 'imgs/**'      \r\n      - '.github/workflows/dont_modify_imgs.yml'\r\n  pull_request:\r\n    paths:\r\n      - 'imgs/**'      \r\n      - '.github/workflows/dont_modify_imgs.yml'\r\n\r\njobs:\r\n  check_imgs:\r\n  \r\n    runs-on: ubuntu-latest\r\n\r\n    steps:\r\n    - name: Maximize build space\r\n      uses: easimon/maximize-build-space@67afc2d7662c9d296547435e7605cc57a1df46f3      \r\n    - uses: actions/checkout@v3\r\n      with:\r\n        fetch-depth: 0\r\n\r\n    - name: Check 1st thousand\r\n      run: test $(git diff --name-only HEAD 0266ab9dbef438f36171de9fe3cb7938bb2bd0b2 imgs/0* | wc -l) -eq 0\r\n    - name: Check 2nd thousand\r\n      run: test $(git diff --name-only HEAD 4cee1fb54a016a72af204dd1b8effe4cb007df54 imgs/1* | wc -l) -eq 0\r\n", "state": "active", "repository": "commaai/comma10k"}
{"mined_at": "2024-07-15T15:18:30.471049", "created_at": "2021-03-23T01:37:32+01:00", "updated_at": "2021-03-23T01:37:32+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '39 3 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n  #  - name: Autobuild\n  #    uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n#    - run: |\n#       make bootstrap\n#       make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "lonero-team/decentralized-internet"}
{"mined_at": "2024-07-15T15:18:31.594578", "created_at": "2021-12-17T04:12:59+01:00", "updated_at": "2021-12-17T04:12:59+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "lonero-team/decentralized-internet"}
{"mined_at": "2024-07-15T15:18:33.683116", "created_at": "2021-04-01T19:23:09+02:00", "updated_at": "2023-05-15T18:18:04+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: Close stale issues and PRs\n\non:\n  schedule:\n  - cron: 42 4 * * 6\n  workflow_dispatch:\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n\n  stale:\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: This issue will be closed in 90 days due to five years of inactivity unless the stale label or comment is removed.\n        close-issue-message: This issue was closed because it has had no activity for five years.\n        stale-pr-message: This pull request will be closed in 60 days due to a year of inactivity unless the stale label or comment is removed.\n        close-pr-message: This pull request was closed because it has had no activity for the past year.\n        days-before-issue-stale: 1826\n        days-before-issue-close: 90\n        days-before-pr-stale: 366\n        days-before-pr-close: 60\n        exempt-issue-labels: 'bug,bug: needs more info,epic,priority: high,priority: very high,revisit in 2024,revisit in 2025,revisit in 2026,revisit in 2027'\n", "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:34.888524", "created_at": "2021-09-28T16:11:21+02:00", "updated_at": "2024-06-25T19:17:49+02:00", "name": "weekly tests", "path": ".github/workflows/weekly.yml", "contents": null, "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:35.900530", "created_at": "2023-04-04T22:40:48+02:00", "updated_at": "2023-07-17T21:05:45+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/pr-lableler.yml", "contents": null, "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:37.029661", "created_at": "2023-05-24T05:22:54+02:00", "updated_at": "2023-05-24T05:22:54+02:00", "name": "Check CFF file", "path": ".github/workflows/check-cff.yml", "contents": null, "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:38.169663", "created_at": "2023-05-25T18:48:46+02:00", "updated_at": "2023-05-25T18:48:46+02:00", "name": "Update pinned requirements", "path": ".github/workflows/update-pinned-reqs.yml", "contents": "name: Update pinned requirements\n\non:\n  schedule:\n  - cron: 0 12 */14 * 1\n  workflow_dispatch:\n\njobs:\n  update-requirements:\n    name: Regenerate requirements\n    runs-on: ubuntu-latest\n    if: github.repository == 'PlasmaPy/PlasmaPy'\n\n    steps:\n\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n\n    - name: Install dependencies\n      run: python -m pip install --upgrade nox uv\n\n    - name: Run Nox session to regenerate requirements\n      run: nox -s requirements\n\n    # When a PR is created by a GitHub Action, normally the checks will\n    # not be run. While the simplest workaround would have been to open\n    # and close the PR, an alternative is to authenticate with GitHub\n    # App generated tokens (as done below). The instructions for how to\n    # do this are in the documentation for the create-pull-request\n    # action.\n\n    - name: Generate token\n      uses: tibdex/github-app-token@v2\n      id: generate_token\n      with:\n        app_id: ${{ secrets.APP_ID }}\n        private_key: ${{ secrets.APP_PRIVATE_KEY }}\n\n    - name: Create pull request\n      uses: peter-evans/create-pull-request@v6\n      with:\n        token: ${{ steps.generate_token.outputs.token }}\n        commit-message: Update requirements with 'nox -s requirements'\n        title: Update pinned requirements 📍\n        body-path: .github/content/update-requirements-pr-body.md\n        labels: no changelog entry needed, requirements\n        delete-branch: true\n        base: main\n        assignees: namurphy\n", "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:39.198676", "created_at": "2023-06-23T01:05:02+02:00", "updated_at": "2023-06-23T01:05:02+02:00", "name": "Check PR using Sourcery", "path": ".github/workflows/sourcery.yml", "contents": null, "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:40.309778", "created_at": "2023-10-20T20:09:36+02:00", "updated_at": "2024-02-06T00:59:50+01:00", "name": "Check metadata", "path": ".github/workflows/check-author-included.yml", "contents": "name: Check metadata\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  authors-included:\n    name: Author in CITATION.cff\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n\n    - name: Install dependencies\n      run: pip install requests\n\n    - name: Check that author usernames are in CITATION.cff\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        PR_NUMBER: ${{ github.event.pull_request.number }}\n        GITHUB_REPOSITORY: ${{ github.repository }}\n        GITHUB_HEAD_REF: ${{ github.head_ref }}\n      run: python .github/scripts/authors_in_cff.py\n", "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:41.443138", "created_at": "2023-10-20T20:46:33+02:00", "updated_at": "2024-02-06T01:12:44+01:00", "name": "Add comment", "path": ".github/workflows/comment-on-pr.yml", "contents": "name: Add comment\n\non:\n  pull_request_target:\n    types: [opened]\n\njobs:\n  comment:\n    name: Welcome message\n    # Skip posting this comment for frequent contributors\n    if: \"!contains(fromJSON('[''namurphy'', ''rocco8773'', ''StanczakDominik'', ''dependabot'', ''plasmapy-requirements-bot'', ''pre-commit-ci'']'), github.event.pull_request.user.login)\"\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - uses: actions/github-script@v7\n      with:\n        script: |\n          github.rest.issues.createComment({\n            issue_number: context.issue.number,\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            body: `Thank you for submitting a pull request (PR) to PlasmaPy! ✨ The future of the project depends on contributors like you, so we deeply appreciate it! 🌱\n\n            Our [**contributor guide**](https://docs.plasmapy.org/en/latest/contributing/index.html) has information on:\n\n             - [Getting ready to contribute](https://docs.plasmapy.org/en/latest/contributing/getting_ready.html#getting-ready-to-contribute) and the [code contribution workflow](https://docs.plasmapy.org/en/latest/contributing/workflow.html#code-contribution-workflow)\n             - Using [\\`astropy.units\\`](https://docs.plasmapy.org/en/latest/notebooks/getting_started/units.html#Using-Astropy-Units) and [\\`plasmapy.particles\\`](https://docs.plasmapy.org/en/latest/notebooks/getting_started/particles.html#Using-PlasmaPy-Particles)\n             - [Coding tips and guidelines](https://docs.plasmapy.org/en/latest/contributing/coding_guide.html#coding-guide)\n             - [Writing documentation](https://docs.plasmapy.org/en/latest/contributing/doc_guide.html#writing-documentation) (in [reStructuredText](https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#restructuredtext-primer) with [numpydoc style docstrings](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard)).\n             - [Writing tests](https://docs.plasmapy.org/en/latest/contributing/testing_guide.html#testing-guide) using [pytest](https://docs.pytest.org)\n             - [Adding a changelog entry](https://docs.plasmapy.org/en/latest/contributing/changelog_guide.html#adding-a-changelog-entry) (needed except for minor changes)\n\n            > [!IMPORTANT]\n            > PlasmaPy recently switched to an [\\`src\\`](https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/) layout. The source code previously in \\`plasmapy/\\` is now in [\\`src/plasmapy/\\`](https://github.com/PlasmaPy/PlasmaPy/tree/main/src/plasmapy). Tests are now in [\\`tests/\\`](https://github.com/PlasmaPy/PlasmaPy/tree/main/tests). If you have previously done an editable installation, it will likely need to be re-done (i.e., with \\`pip install -e .[tests,docs]\\` in the top-level directory of the repository). The former \\`plasmapy/\\` directory will need to be deleted manually in old clones because \\`git\\` does not track directories.\n\n            The bottom of this page shows several checks that are run for every PR. Don't worry if something broke! We break stuff all the time. 😺 Click on \"Details\" to learn why a check didn't pass. Please also feel free to ask for help. We do that all the time as well. 🌸 You can find us in our [**chat room**](https://docs.plasmapy.org/en/latest/contributing/coding_guide.html) or weekly [**community meeting**](https://www.plasmapy.org/meetings/weekly) & [**office hours**](https://www.plasmapy.org/meetings/office_hours). Here are some tips:\n\n             - Try fixing **CI / Python 3.12** test failures first.\n             - Most **pre-commit.ci - pr** failures can be automagically fixed by commenting \\`pre-commit.ci autofix\\` below, followed by a \\`git pull\\` to bring the changes back to your computer. Please also see our [pre-commit troubleshooting guide](https://docs.plasmapy.org/en/stable/contributing/pre-commit.html#troubleshooting-pre-commit-failures).\n             - If **pre-commit.ci - pr** says that a function is too long or complex, try breaking up that function into multiple short functions that each do one thing. See also these tips on [**writing clean scientific software**](https://doi.org/10.5281/zenodo.3922956).\n             - If the **CI / Documentation** check ends with a cryptic error message, check out our [documentation troubleshooting guide](https://docs.plasmapy.org/en/latest/contributing/doc_guide.html#troubleshooting).\n             - For a documentation preview, click on *Details* next to **docs/readthedocs.org:plasmapy**.\n\n            If this PR is marked as ready for review, someone should stop by to provide a code review and offer suggestions soon. ✅ If you don't get a review within a few days, please feel free to send us a reminder.\n\n            Please also use SI units within PlasmaPy, except when there is strong justification otherwise or in some examples.\n\n            We thank you once again!`\n          })\n", "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:42.570686", "created_at": "2023-10-20T20:46:33+02:00", "updated_at": "2024-02-06T01:12:44+01:00", "name": "Label PR", "path": ".github/workflows/label-pr.yml", "contents": "name: Label PR\n\n# The labels to be added are defined in .github/labeler.yml\n\non:\n- pull_request_target\n\njobs:\n  labeler:\n    name: Add labels\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/labeler@v5\n", "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:43.798150", "created_at": "2023-10-20T20:46:33+02:00", "updated_at": "2023-10-20T20:46:33+02:00", "name": "Mint release 🍬", "path": ".github/workflows/mint-release.yml", "contents": "name: Mint release 🍬\n\non:\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: Release tag 🏷️\n        required: true\n        default: 2024.5.0rc1\n      DOI:\n        description: Reserved DOI from Zenodo\n        required: true\n        default: 10.5281/zenodo.1238132\n\njobs:\n\n  tag:\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Install dependencies\n      run: |\n        pip install towncrier pre-commit ruamel.yaml\n\n    - name: Configure git\n      run: |\n        git config --global user.email \"team@plasmapy.org\"\n        git config --global user.name \"PlasmaPy Release Bot\"\n\n    - name: Create or checkout branch\n      run: |\n        VERSION=\"v${{ github.event.inputs.tag }}\"\n        BRANCH=$(echo $VERSION | awk 'BEGIN{FS=OFS=\".\"} {$3=\"x\"} 1' | cut -f1,2,3 -d'.' | awk -F'rc' '{print $1 ORS $2}')\n        git checkout $BRANCH 2>/dev/null || git checkout -b $BRANCH\n\n    - name: Update CITATION.cff, docs/about/citation.rst with the DOI for the new version.\n      run: |\n        python .github/scripts/citation_updater.py CITATION.cff docs/about/citation.rst docs/changelog/index.rst --version=${{ github.event.inputs.tag}} --doi=${{ github.event.inputs.doi}}\n        git add .\n        git commit -m \"Update citation and changelog index entry\"\n\n    - name: Create changelog\n      run: |\n        towncrier build --yes --version ${{ github.event.inputs.tag }} --draft | tee docs/changelog/${{ github.event.inputs.tag }}.rst\n        sed -i -e :a -e '/^\\n*$/{$d;N;ba' -e '}' docs/changelog/${{ github.event.inputs.tag }}.rst   # strip empty lines\n        git add .\n        towncrier build --yes --version ${{ github.event.inputs.tag }}\n        git commit --allow-empty -nm \"Add changelog entries for v${{ github.event.inputs.tag }}\"\n\n    - name: Tag the release\n      run: |\n        git tag \"v${{ github.event.inputs.tag }}\" -m \"Version v${{ github.event.inputs.tag }}\"\n        git tag\n\n    - name: Push tag, branch state\n      run: |\n        VERSION=\"v${{ github.event.inputs.tag }}\"\n        BRANCH=$(echo $VERSION | awk 'BEGIN{FS=OFS=\".\"} {$3=\"x\"} 1' | cut -f1,2,3 -d'.' | awk -F'rc' '{print $1 ORS $2}')\n        git push -u origin $VERSION $BRANCH\n", "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:44.926373", "created_at": "2023-10-20T20:46:33+02:00", "updated_at": "2023-10-20T20:46:33+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish to PyPI\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n\n    - name: Build package\n      run: python -m build\n\n    - name: Upload package to PyPI\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:46.153127", "created_at": "2023-10-20T20:46:33+02:00", "updated_at": "2023-10-20T20:46:33+02:00", "name": "Close PR", "path": ".github/workflows/unlabel-pr-after-merge.yml", "contents": "name: Close PR\n\non:\n  pull_request_target:\n    types: [closed]\n\njobs:\n  remove-labels:\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - name: Remove specific labels\n      uses: actions/github-script@v7\n      with:\n        github-token: ${{secrets.GITHUB_TOKEN}}\n        script: |\n          const { owner, repo, number } = context.issue;\n          const pull = await github.rest.pulls.get({ owner, repo, pull_number: number });\n\n          // Exit if the pull request is not merged\n          if (!pull.data.merged) return;\n\n          const labelsToRemove = [\n            'duplicate',\n            'effort: high',\n            'effort: low',\n            'effort: medium',\n            'effort: minimal',\n            'effort: very high',\n            'good first issue',\n            'help wanted',\n            'needed for release',\n            'needs changelog entry',\n            'no changelog entry needed',\n            'perform linkcheck in CI',\n            'priority: high',\n            'priority: low',\n            'priority: medium',\n            'priority: very high',\n            'prototype 🏗️',\n            'Stale',\n            'status: assigned',\n            'status: dormant',\n            'status: in progress',\n            'status: nearing completion',\n            'status: on hold',\n            'status: ready for review',\n            'status: ready to merge'\n          ];\n\n          const { data: currentLabels } = await github.rest.issues.listLabelsOnIssue({ owner, repo, issue_number: number });\n\n          // Iterate and remove labels that are in the labelsToRemove list\n          for (let label of currentLabels) {\n            if (labelsToRemove.includes(label.name)) {\n              await github.rest.issues.removeLabel({ owner, repo, issue_number: number, name: label.name });\n            }\n          }\n", "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:47.259487", "created_at": "2023-10-24T01:08:58+02:00", "updated_at": "2024-05-15T01:06:59+02:00", "name": "Check hyperlinks", "path": ".github/workflows/check-hyperlinks.yml", "contents": null, "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:48.508055", "created_at": "2023-11-13T20:09:39+01:00", "updated_at": "2024-02-06T01:12:44+01:00", "name": "Create issue", "path": ".github/workflows/create-release-issue.yml", "contents": "name: Create issue\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: Version (e.g., v2024.5.0)\n        required: true\n\njobs:\n  release-checklist:\n    name: Release checklist\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Create issue\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        checklist=$(sed \"s/%VERSION%/${{ github.event.inputs.version }}/g\" .github/content/release-checklist.md)\n        gh issue create --title \"Release ${{ github.event.inputs.version }}\" --body \"$checklist\" --label \"release\"\n", "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:49.740135", "created_at": "2024-02-03T21:39:01+01:00", "updated_at": "2024-02-06T00:59:50+01:00", "name": "Check hyperlinks", "path": ".github/workflows/linkcheck.yml", "contents": "name: Check hyperlinks\n\non:\n  schedule:\n  - cron: 37 7 * * 2\n  workflow_dispatch:\n  pull_request:\n    types: [labeled, opened, synchronize, reopened]\n    branches:\n    - main\n\njobs:\n\n  linkcheck:\n    name: Documentation linkcheck\n    runs-on: ubuntu-latest\n    if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'perform linkcheck in CI')\n\n    steps:\n\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n\n    - name: Install Python dependencies\n      run: python -m pip install --upgrade nox uv\n\n    - name: Install graphviz & pandoc\n      run: sudo apt-get install graphviz pandoc\n\n    - name: Check hyperlinks\n      run: nox -e linkcheck\n", "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:50.969761", "created_at": "2024-05-02T19:39:16+02:00", "updated_at": "2024-05-03T20:28:27+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n    - main\n    - stable\n    - v*.*.*\n    tags:\n    - v*\n  pull_request:\n  workflow_dispatch:\n\nenv:\n  DOC_TROUBLESHOOTING: \"Warnings like 'reference target not found' occur when Sphinx tries to interpret text as a Python object, but is unable to do so. This warning can often be fixed by surrounding text in double back ticks instead of single back ticks (e.g., by changing `y` to ``y``) so that it gets formatted as an in-line literal. For more information about addressing documentation build failures, please check out the documentation troubleshooting guide at: https://docs.plasmapy.org/en/latest/contributing/doc_guide.html#troubleshooting\"\n  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n\n\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 30\n\n    strategy:\n      fail-fast: false\n\n      matrix:\n        include:\n\n        - name: Tests, Python 3.12, skip slow tests, doctests, Ubuntu\n          os: ubuntu-latest\n          python: '3.12'\n          nox_session: tests-3.12(skipslow)\n\n        - name: Tests, Python 3.11, with code coverage, macOS\n          os: macos-latest\n          python: '3.11'\n          nox_session: tests-3.11(cov)\n\n        - name: Tests, Python 3.10, lowest direct dependencies, Windows\n          os: windows-latest\n          python: '3.10'\n          nox_session: tests-3.10(lowest-direct)\n\n        - name: Packaging, Python 3.12, Ubuntu\n          os: ubuntu-latest\n          python: '3.12'\n          nox_session: build\n\n        - name: Import PlasmaPy, Python 3.10, Windows\n          os: windows-latest\n          python: '3.10'\n          nox_session: import\n\n        - name: Static type checking with mypy, Python 3.12, Ubuntu\n          os: ubuntu-latest\n          python: '3.12'\n          nox_session: mypy\n\n        - name: Validate CITATION.cff\n          os: ubuntu-latest\n          python: '3.12'\n          nox_session: cff\n\n        - name: Check MANIFEST.in\n          os: ubuntu-latest\n          python: '3.12'\n          nox_session: manifest\n\n    steps:\n\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n        cache: pip\n\n    - name: Install nox and uv\n      run: python -m pip install --progress-bar off --upgrade nox uv\n\n    - name: Cache .nox\n      uses: actions/cache@v4\n      with:\n        path: |\n          .nox\n        # Invalidate the cache after changes to pyproject.toml or any\n        # requirements files.\n        key: ${{ matrix.nox_session }}-${{ runner.os }}-${{ hashFiles('pyproject.toml', 'ci_requirements/tests-*.txt') }}\n\n    - name: Run tests\n      run: nox -e '${{ matrix.nox_session }}'\n\n    - name: Upload coverage reports to Codecov\n      if: ${{ contains(matrix.nox_session, 'cov') }}\n      uses: codecov/codecov-action@v4\n      with:\n        file: ./coverage.xml\n        fail_ci_if_error: false\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  documentation:\n\n    name: Documentation, Python 3.12, Ubuntu\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Install graphviz and pandoc\n      run: sudo apt-get install graphviz pandoc\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n        cache: pip\n\n    - name: Install nox uv\n      run: python -m pip install --progress-bar off --upgrade nox uv\n\n    - name: Cache\n      uses: actions/cache@v4\n      with:\n        path: |\n          .nox\n        key: docs-${{ runner.os }}-${{ hashFiles('requirements.txt') }}\n\n    - name: Build documentation with Sphinx\n      run: nox -e docs -- -q\n\n    - name: Print troubleshooting information on failure\n      if: ${{ failure() }}\n      run: echo -e $DOC_TROUBLESHOOTING\n", "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:52.304036", "created_at": "2024-06-28T01:30:10+02:00", "updated_at": "2024-06-28T01:35:11+02:00", "name": "Changelog", "path": ".github/workflows/changelog.yml", "contents": null, "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:53.378686", "created_at": "2024-07-05T19:05:40+02:00", "updated_at": "2024-07-05T19:05:40+02:00", "name": "Dependabot auto-approve", "path": ".github/workflows/merge-dependabot.yml", "contents": null, "state": "active", "repository": "plasmapy/plasmapy"}
{"mined_at": "2024-07-15T15:18:56.495255", "created_at": "2020-10-25T13:33:23+01:00", "updated_at": "2020-10-25T13:33:23+01:00", "name": "Check it could be build and run from scratch", "path": ".github/workflows/check_build_and_run.yml", "contents": "name: Check it could be build and run from scratch\n\non: [pull_request]\n\njobs:\n  dockerize:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - name: Build the docker-compose stack\n        run: docker-compose up -d\n      - name: Sleep\n        uses: jakejarvis/wait-action@master\n        with:\n          time: '20s'\n      - name: Check db migrate on container\n        run: |\n          docker-compose exec -T club_app make docker-migrate\n      - name: Check build frontend on container\n        run: |\n          docker-compose exec -T webpack npm run build\n", "state": "active", "repository": "vas3k/vas3k.club"}
{"mined_at": "2024-07-15T15:18:57.495989", "created_at": "2021-01-12T00:00:15+01:00", "updated_at": "2021-01-12T00:00:15+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-vulnerability-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '16 22 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "vas3k/vas3k.club"}
{"mined_at": "2024-07-15T15:18:58.645847", "created_at": "2020-05-29T16:48:33+02:00", "updated_at": "2021-11-08T14:12:59+01:00", "name": "Deploy production", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy production\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Build image\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - run: docker login ghcr.io -u $GITHUB_ACTOR -p ${{ secrets.TOKEN }}\n      - run: docker build -t ghcr.io/$GITHUB_ACTOR/club:latest -t ghcr.io/$GITHUB_ACTOR/club:$GITHUB_SHA .\n      - run: docker image push ghcr.io/$GITHUB_ACTOR/club:$GITHUB_SHA\n      - run: docker image push ghcr.io/$GITHUB_ACTOR/club:latest\n\n  deploy:\n    name: Deploy\n    runs-on: ubuntu-latest\n    needs: build\n    env:\n      SSH_KEY_PATH: /tmp/ssh_key\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Make envfile\n        run: export | grep \"secret_\" | sed \"s/declare -x secret_//\" > .env\n        env:\n          secret_SECRET_KEY: ${{ secrets.SECRET_KEY }}\n          secret_APP_HOST: ${{ secrets.APP_HOST }}\n          secret_MEDIA_UPLOAD_URL: ${{ secrets.MEDIA_UPLOAD_URL }}\n          secret_MEDIA_UPLOAD_CODE: ${{ secrets.MEDIA_UPLOAD_CODE }}\n          secret_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}\n          secret_EMAIL_HOST: ${{ secrets.EMAIL_HOST }}\n          secret_EMAIL_HOST_USER: ${{ secrets.EMAIL_HOST_USER }}\n          secret_EMAIL_HOST_PASSWORD: ${{ secrets.EMAIL_HOST_PASSWORD }}\n          secret_TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}\n          secret_TELEGRAM_BOT_URL: ${{ secrets.TELEGRAM_BOT_URL }}\n          secret_TELEGRAM_ADMIN_CHAT_ID: ${{ secrets.TELEGRAM_ADMIN_CHAT_ID }}\n          secret_TELEGRAM_CLUB_CHANNEL_URL: ${{ secrets.TELEGRAM_CLUB_CHANNEL_URL }}\n          secret_TELEGRAM_CLUB_CHANNEL_ID: ${{ secrets.TELEGRAM_CLUB_CHANNEL_ID }}\n          secret_TELEGRAM_CLUB_CHAT_URL: ${{ secrets.TELEGRAM_CLUB_CHAT_URL }}\n          secret_TELEGRAM_CLUB_CHAT_ID: ${{ secrets.TELEGRAM_CLUB_CHAT_ID }}\n          secret_TELEGRAM_ONLINE_CHANNEL_URL: ${{ secrets.TELEGRAM_ONLINE_CHANNEL_URL }}\n          secret_TELEGRAM_ONLINE_CHANNEL_ID: ${{ secrets.TELEGRAM_ONLINE_CHANNEL_ID }}\n          secret_TELEGRAM_HELP_DESK_BOT_QUESTION_CHANNEL_DISCUSSION_ID: ${{ secrets.TELEGRAM_HELP_DESK_BOT_QUESTION_CHANNEL_DISCUSSION_ID }}\n          secret_TELEGRAM_HELP_DESK_BOT_QUESTION_CHANNEL_ID: ${{ secrets.TELEGRAM_HELP_DESK_BOT_QUESTION_CHANNEL_ID }}\n          secret_TELEGRAM_HELP_DESK_BOT_TOKEN: ${{ secrets.TELEGRAM_HELP_DESK_BOT_TOKEN }}\n          secret_STRIPE_ACTIVE: ${{ secrets.STRIPE_ACTIVE }}\n          secret_STRIPE_API_KEY: ${{ secrets.STRIPE_API_KEY }}\n          secret_STRIPE_PUBLIC_KEY: ${{ secrets.STRIPE_PUBLIC_KEY }}\n          secret_STRIPE_WEBHOOK_SECRET: ${{ secrets.STRIPE_WEBHOOK_SECRET }}\n          secret_STRIPE_CAMP_WEBHOOK_SECRET: ${{ secrets.STRIPE_CAMP_WEBHOOK_SECRET }}\n          secret_COINBASE_WEBHOOK_SECRET: ${{ secrets.COINBASE_WEBHOOK_SECRET }}\n          secret_PATREON_CLIENT_ID: ${{ secrets.PATREON_CLIENT_ID }}\n          secret_PATREON_CLIENT_SECRET: ${{ secrets.PATREON_CLIENT_SECRET }}\n          secret_JWT_PRIVATE_KEY: ${{ secrets.JWT_PRIVATE_KEY }}\n          secret_WEBHOOK_SECRETS: ${{ secrets.WEBHOOK_SECRETS }}\n      - run: echo \"GITHUB_SHA=$GITHUB_SHA\" >> .env\n      - run: echo \"${{ secrets.PRODUCTION_SSH_KEY }}\" > ${{ env.SSH_KEY_PATH }} && chmod 600 ${{ env.SSH_KEY_PATH }}\n      - run: scp -o StrictHostKeyChecking=no -i ${{ env.SSH_KEY_PATH }} .env ${{ secrets.PRODUCTION_SSH_USERNAME }}@${{ secrets.PRODUCTION_SSH_HOST }}:/home/vas3k/vas3k.club/.env\n      - run: scp -o StrictHostKeyChecking=no -i ${{ env.SSH_KEY_PATH }} docker-compose.production.yml ${{ secrets.PRODUCTION_SSH_USERNAME }}@${{ secrets.PRODUCTION_SSH_HOST }}:/home/vas3k/vas3k.club/docker-compose.production.yml\n      - run: ssh -i ${{ env.SSH_KEY_PATH }} ${{ secrets.PRODUCTION_SSH_USERNAME }}@${{ secrets.PRODUCTION_SSH_HOST }} \"cd /home/vas3k/vas3k.club && docker login ghcr.io -u $GITHUB_ACTOR -p ${{ secrets.TOKEN }} && docker pull ghcr.io/$GITHUB_ACTOR/club:$GITHUB_SHA && docker-compose -f docker-compose.production.yml --env-file=.env up -d && docker system prune --all --force\"\n", "state": "active", "repository": "vas3k/vas3k.club"}
{"mined_at": "2024-07-15T15:18:59.661827", "created_at": "2020-10-25T13:33:23+01:00", "updated_at": "2021-11-08T14:12:59+01:00", "name": "Run tests", "path": ".github/workflows/tests.yml", "contents": "name: Run tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\nconcurrency:\n  # For pull requests, cancel all currently-running jobs for this workflow\n  # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        id: setup-python\n        with:\n          python-version: '3.8'\n\n      - name: Install requirements\n        run: |\n          pip install --no-cache-dir flake8\n\n      - name: run flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings.\n          flake8 . --count --exit-zero --statistics\n\n  test:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:12-alpine\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: vas3k_club\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n      redis:\n        image: redis:6-alpine\n        env:\n          ALLOW_EMPTY_PASSWORD: yes\n        ports:\n          - 6379:6379\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        id: setup-python\n        with:\n          python-version: '3.8'\n\n      - uses: actions/setup-node@v3\n        with:\n          node-version: '14'\n\n      - name: ⚡️ Cache webpack build\n        uses: actions/cache@v3\n        id: cache-webpack\n        with:\n          path: |\n            frontend/static/dist\n            frontend/webpack-stats.json\n          key: ${{ runner.os }}-webpack-${{ hashFiles('frontend/package*.json', 'frontend/webpack*.js') }}\n\n      - name: 🏗 Webpack build\n        if: steps.cache-webpack.outputs.cache-hit != 'true'\n        working-directory: ./frontend\n        run: |\n          node -v\n          npm -v\n          npm ci\n          npm run build\n\n      - name: ⚡️ Cache python virtualenv\n        uses: actions/cache@v3\n        id: cache-venv\n        with:\n          path: |\n            venv\n          key: ${{ runner.os }}-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('Pipfile.lock') }}\n\n      - name: Install pip dependencies\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          python -m venv venv\n          . venv/bin/activate\n          pip install --upgrade pip pipenv==2021.5.29\n          pipenv lock --dev --requirements > requirements.txt\n          pip install -r requirements.txt\n\n      - name: Run tests\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: vas3k_club\n          POSTGRES_HOST: localhost\n          REDIS_DB: 0\n          REDIS_HOST: localhost\n          PYTHONUNBUFFERED: 1\n          TESTS_RUN: da\n        run: |\n          . venv/bin/activate\n          make test-ci\n", "state": "active", "repository": "vas3k/vas3k.club"}
{"mined_at": "2024-07-15T15:19:01.809334", "created_at": "2024-06-10T13:03:27+02:00", "updated_at": "2024-06-10T15:05:53+02:00", "name": "Parsl", "path": ".github/workflows/ci-k8s.yaml", "contents": null, "state": "active", "repository": "parsl/parsl"}
{"mined_at": "2024-07-15T15:19:03.051008", "created_at": "2021-06-01T17:05:41+02:00", "updated_at": "2024-03-30T13:13:28+01:00", "name": "Parsl", "path": ".github/workflows/ci.yaml", "contents": "name: Parsl\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n\njobs:\n  main-test-suite:\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    runs-on: ubuntu-20.04\n    timeout-minutes: 60\n\n    steps:\n    - uses: actions/checkout@master\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Collect Job Information\n      id: job-info\n      run: |\n        echo \"Python Version: ${{ matrix.python-version }}\" >> ci_job_info.txt\n        echo \"CI Triggering Event: ${{ github.event_name }}\" >> ci_job_info.txt\n        echo \"Triggering Git Ref: ${{ github.ref }}\" >> ci_job_info.txt\n        echo \"Triggering Git SHA: ${{ github.sha }}\" >> ci_job_info.txt\n        echo \"Workflow Run: ${{ github.run_number }}\" >> ci_job_info.txt\n        echo \"Workflow Attempt: ${{ github.run_attempt }}\" >> ci_job_info.txt\n        as_ascii=\"$(echo \"${{ github.ref_name }}\" | perl -pe \"s/[^A-z0-9-]+/-/g; s/^-+|-+\\$//g; s/--+/-/g;\")\"\n        echo \"as-ascii=$as_ascii\" >> $GITHUB_OUTPUT\n\n    - name: Non-requirements based install\n      run: |\n        # libpython3.5: make workqueue binary installer happy\n        # mpich: required by radical executor\n        sudo apt-get update -q\n        sudo apt-get install -qy libpython3.5 mpich\n\n    - name: setup virtual env\n      run: |\n        make virtualenv\n        source .venv/bin/activate\n\n    - name: make deps clean_coverage\n      run: |\n        source .venv/bin/activate\n        make deps\n        make clean_coverage\n\n    - name: make test\n      run: |\n        source .venv/bin/activate\n\n        # temporary; until test-matrixification\n        export PARSL_TEST_PRESERVE_NUM_RUNS=7\n\n        make test\n        ln -s .pytest/parsltest-current test_runinfo\n\n    - name: Documentation checks\n      run: |\n        source .venv/bin/activate\n        pip install .[docs]\n        sudo apt-get install -y pandoc\n        cd docs\n\n        test ! -e stubs\n\n        # check we can build the docs without warnings\n        PYTHONPATH=/tmp/cctools/lib/python3.8/site-packages make SPHINXOPTS=-W html\n\n        cd ..\n\n        # assert that none of the runs in this test have put an ERROR message into a\n        # database manager log file or monitoring router log file. It would be better if\n        # the tests themselves failed immediately when there was a monitoring error, but\n        # in the absence of that, this is a dirty way to check.\n        bash -c '! grep ERROR .pytest/parsltest-current/runinfo*/*/database_manager.log'\n        bash -c '! grep ERROR .pytest/parsltest-current/runinfo*/*/monitoring_router.log'\n\n        # temporary; until test-matrixification\n        rm -f .pytest/parsltest-current test_runinfo\n\n    - name: Checking parsl-visualize\n      run: |\n        source .venv/bin/activate\n        sudo apt-get install -y graphviz\n        pip install .[monitoring,visualization]\n        parsl/tests/test-viz.sh\n\n    - name: make coverage\n      run: |\n        source .venv/bin/activate\n        make coverage\n\n    - name: Archive runinfo logs\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v4\n      with:\n        name: runinfo-${{ matrix.python-version }}-${{ steps.job-info.outputs.as-ascii }}-${{ github.sha }}\n        path: |\n          runinfo/\n          .pytest/\n          ci_job_info.txt\n        compression-level: 9\n", "state": "active", "repository": "parsl/parsl"}
{"mined_at": "2024-07-15T15:19:04.067013", "created_at": "2024-03-07T21:36:14+01:00", "updated_at": "2024-03-07T21:36:14+01:00", "name": "Test Parsl with Flux Scheduler", "path": ".github/workflows/flux_testing.yml", "contents": null, "state": "active", "repository": "parsl/parsl"}
{"mined_at": "2024-07-15T15:19:05.197161", "created_at": "2024-03-12T11:08:27+01:00", "updated_at": "2024-03-12T11:08:27+01:00", "name": ".github/workflows/inhibit-release.yml", "path": ".github/workflows/inhibit-release.yml", "contents": null, "state": "active", "repository": "parsl/parsl"}
{"mined_at": "2024-07-15T15:19:06.240182", "created_at": "2024-03-26T11:21:32+01:00", "updated_at": "2024-03-26T11:21:32+01:00", "name": "Parsl", "path": ".github/workflows/osx.yaml", "contents": null, "state": "active", "repository": "parsl/parsl"}
{"mined_at": "2024-07-15T15:19:07.452296", "created_at": "2024-03-06T09:23:01+01:00", "updated_at": "2024-06-11T00:14:19+02:00", "name": "Test Flux Scheduler", "path": ".github/workflows/parsl+flux.yaml", "contents": "name: Test Flux Scheduler\non:\n  pull_request: []\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    permissions:\n      packages: read\n    strategy:\n      fail-fast: false\n      matrix:\n        container: ['fluxrm/flux-sched:jammy']\n    timeout-minutes: 30\n\n    container:\n      image: ${{ matrix.container }}\n      options: \"--platform=linux/amd64 --user root -it --init\"\n\n    name: ${{ matrix.container }}\n    steps:\n      - name: Make Space\n        run: |\n          rm -rf /usr/share/dotnet\n          rm -rf /opt/ghc\n\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Install Dependencies and Parsl\n        run: |\n          apt-get update && apt-get install -y python3-pip curl\n          pip3 install . -r test-requirements.txt\n\n      - name: Verify Parsl Installation\n        run: |\n          pytest parsl/tests/ -k \"not cleannet and not unix_filesystem_permissions_required\" --config parsl/tests/configs/local_threads.py --random-order --durations 10\n\n      - name: Start Flux and Test Parsl with Flux\n        run: |\n          flux start pytest parsl/tests/test_flux.py --config local  --random-order\n\n      - name: Test Parsl with Flux Config\n        run: |\n          flux start pytest parsl/tests/ -k \"not cleannet and not unix_filesystem_permissions_required\" --config parsl/tests/configs/flux_local.py --random-order --durations 10\n\n\n", "state": "active", "repository": "parsl/parsl"}
{"mined_at": "2024-07-15T15:19:08.578786", "created_at": "2022-09-29T20:02:44+02:00", "updated_at": "2023-02-24T20:06:02+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish-to-testpypi.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  schedule:\n    - cron: '42 22 * * MON' # Run every Monday at 22:42\n\n  workflow_dispatch:\n    inputs:\n      suffix:\n        description: 'Release Suffix to append to version info. For eg. devN, a0'\n        required: false\n        default: ''\n\npermissions:\n  contents: write\n\njobs:\n\n  deploy:\n    # This action is intended to be invoked manually for debugging purposes\n    if : github.actor == 'yadudoc' || github.actor == 'benclifford'\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Check if this commit is already released\n      id: already_released\n      run: |\n        if git tag --contains HEAD | grep -e '^[0-9]\\{4\\}\\.[0-9]\\{2\\}\\.[0-9]\\{2\\}$' ; then exit 1 ; fi\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        # The release process needs distutils - see Parsl issue #2934\n        # which was removed from Python 3.12\n        python-version: '3.11'\n\n    - name: Set version info\n      id: version_setter\n      run: echo \"VERSION=$(date +'%Y.%m.%d')$SUFFIX\" >> $GITHUB_OUTPUT\n      env:\n        SUFFIX: ${{ inputs.suffix }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel\n        pip install build\n    - name: Build package\n      run: |\n        ./tag_and_release.sh update_version\n        ./tag_and_release.sh package\n      env:\n        VERSION: ${{ steps.version_setter.outputs.VERSION }}\n\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        # Set the following to publish to TestPypi instead\n        # password: ${{ secrets.TESTPYPI_API_TOKEN }}\n        # repository_url: https://test.pypi.org/legacy/\n\n        password: ${{ secrets.PYPI_API_TOKEN }}\n\n    - name: Mint a tag\n      uses: rickstaa/action-create-tag@v1\n      with:\n        tag: ${{ steps.version_setter.outputs.VERSION }}\n        message: \"Release version: ${{ steps.version_setter.outputs.VERSION }}\"\n", "state": "active", "repository": "parsl/parsl"}
{"mined_at": "2024-07-15T15:19:11.132149", "created_at": "2020-09-15T16:31:47+02:00", "updated_at": "2020-09-15T16:31:47+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [master, 0.16.0]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master, 0.16.0]\n  schedule:\n    - cron: '0 22 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file. \n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "netenglabs/suzieq"}
{"mined_at": "2024-07-15T15:19:12.271206", "created_at": "2020-12-11T01:56:53+01:00", "updated_at": "2020-12-11T02:20:48+01:00", "name": "integration-tests", "path": ".github/workflows/integration-tests.yml", "contents": "name: integration-tests\non:\n  push:\n    # run on push only in master, develop, version specific and hotfix branches\n    branches:\n      - master\n      - develop\n      - '[0-9].[0-9]+.[0-9]+.?[0-9]?'\n  pull_request:\n    # run on branches having an open PR\n    branches:\n    - '**'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        group: [1, 2, 3, 4]\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n      with:\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n\n    - name: Load cached venv\n      id: cached-poetry-dependencies\n      uses: actions/cache@v2\n      with:\n        path: .venv\n        key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}\n\n    - name: Install dependencies\n      if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n      run: poetry install --no-interaction --no-root\n\n    - name: Install library\n      run: poetry install --no-interaction\n\n    - name: Set up suzieq config\n      run: cp build/suzieq-cfg-travis.yml suzieq-cfg.yml\n\n    - name: Install pytest split\n      run: poetry run pip install pytest-split\n\n    - name: Prepare dir for caching durations\n      run: mkdir test_durations\n\n    - name: Get durations from cache\n      uses: actions/cache@v2\n      with:\n        path: test_durations\n        # artificial cache miss to always save at the end of the job and avoid out of sync test runs\n        key: test-durations-split-${{ github.run_id }}-${{ github.run_number}}-${{ matrix.group }}-${{ matrix.python-version }}\n        restore-keys: |\n          test-durations\n\n    - name: pytest\n      run: poetry run pytest --splits 4 --group ${{ matrix.group }} --store-durations --durations-path test_durations/.test_durations_${{ matrix.python-version }}\n\n    - name: Upload partial durations\n      uses: actions/upload-artifact@v2\n      with:\n        retention-days: 1\n        name: duration-chunk-${{ matrix.group }}-python-${{ matrix.python-version }}\n        path: test_durations\n\n  update_durations:\n    name: Merge and update test durations\n    runs-on: ubuntu-latest\n    needs: test\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Get durations from cache\n        uses: actions/cache@v2\n        with:\n          path: test_durations\n          # artificial cache miss to always save at the end of the job and avoid out of sync test runs\n          key: test-durations-${{ github.sha }}\n          restore-keys: |\n            test-durations\n\n      - name: Download artifacts\n        uses: actions/download-artifact@v2\n\n      - name: Merge test durations\n        run: python3 tests/utilities/merge_test_durations_ci.py\n", "state": "active", "repository": "netenglabs/suzieq"}
{"mined_at": "2024-07-15T15:19:13.494796", "created_at": "2021-11-23T16:54:34+01:00", "updated_at": "2022-01-15T08:38:58+01:00", "name": "linting", "path": ".github/workflows/linting.yml", "contents": "name: linting\n\non:\n  push:\n    # run on push only in master, develop, version specific and hotfix branches\n    branches:\n      - master\n      - develop\n      - '[0-9].[0-9]+.[0-9]+.?[0-9]?'\n  pull_request:\n    # run on branches having an open PR\n    branches:\n    - '**'\n\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        linter: [pylint, flake8]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n          architecture: 'x64'\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-3.8-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root\n      - name: Install suzieq\n        run: poetry install --no-interaction\n      - name: Run linter\n        run: poetry run ${{ matrix.linter }} suzieq/\n", "state": "active", "repository": "netenglabs/suzieq"}
{"mined_at": "2024-07-15T15:19:14.620032", "created_at": "2021-10-10T14:46:05+02:00", "updated_at": "2022-01-15T08:38:58+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  push:\n    # run on push only in master, develop, version specific and hotfix branches\n    branches:\n      - master\n      - develop\n      - '[0-9].[0-9]+.[0-9]+.?[0-9]?'\n  pull_request:\n    # run on branches having an open PR\n    branches:\n    - '**'\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n          architecture: 'x64'\n\n      - name: Install pre-commit\n        run: pip install pre-commit\n\n      - name: Run pre-commit\n        run: pre-commit run --all-files --show-diff-on-failure\n", "state": "active", "repository": "netenglabs/suzieq"}
{"mined_at": "2024-07-15T15:19:16.975959", "created_at": "2021-09-24T19:07:19+02:00", "updated_at": "2021-09-24T19:07:19+02:00", "name": "GitHub Action pytest", "path": ".github/workflows/ci.yml", "contents": "name: GitHub Action pytest\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Pip Install\n        run: |\n          set -v\n          set -e\n          python -m pip install --upgrade pip\n          pip install -q -e .[tensorflow,jax,models,tests]\n      - name: Test Import\n        run: |\n          set -v\n          set -e\n          python -c \"import uncertainty_baselines as ub\"\n          python -c \"import uncertainty_baselines as ub; print(ub.datasets)\"\n          python -c \"import uncertainty_baselines as ub; print(ub.models)\"\n      - name: Run Pytest\n        # TODO(dusenberrymw,trandustin): Reenable bert tests.\n        run: |\n          set -v\n          set -e\n          python -m unittest -v uncertainty_baselines/datasets/random_test.py\n          python -m unittest -v $(find . -name 'uncertainty_baselines/models/*_test.py' -a ! -name 'uncertainty_baselines/models/bert*_test.py')\n          python -m unittest -v uncertainty_baselines/*_test.py\n  # NOTE: These JFT directory tests are split out to lower the total runtime.\n  test_jft_active_learning:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Pip Install\n        run: |\n          set -v\n          set -e\n          python -m pip install --upgrade pip\n          pip install -q -e .[tensorflow,jax,models,tests]\n      - name: Run Pytest\n        run: |\n          set -v\n          set -e\n          cd baselines/jft\n          python -m unittest -v active_learning_test.py\n          python -m unittest -v al_utils_test.py\n  test_jft_batchensemble:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Pip Install\n        run: |\n          set -v\n          set -e\n          python -m pip install --upgrade pip\n          pip install -q -e .[tensorflow,jax,models,tests]\n      - name: Run Pytest\n        run: |\n          set -v\n          set -e\n          cd baselines/jft\n          python -m unittest -v batchensemble_test.py\n  test_jft_deep_ensemble:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Pip Install\n        run: |\n          set -v\n          set -e\n          python -m pip install --upgrade pip\n          pip install -q -e .[tensorflow,jax,models,tests]\n      - name: Run Pytest\n        run: |\n          set -v\n          set -e\n          cd baselines/jft\n          python -m unittest -v deep_ensemble_test.py\n  test_jft_deterministic:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Pip Install\n        run: |\n          set -v\n          set -e\n          python -m pip install --upgrade pip\n          pip install -q -e .[tensorflow,jax,models,tests]\n      - name: Run Pytest\n        run: |\n          set -v\n          set -e\n          cd baselines/jft\n          python -m unittest -v deterministic_test.py\n  test_jft_heteroscedastic:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Pip Install\n        run: |\n          set -v\n          set -e\n          python -m pip install --upgrade pip\n          pip install -q -e .[tensorflow,jax,models,tests]\n      - name: Run Pytest\n        run: |\n          set -v\n          set -e\n          cd baselines/jft\n          python -m unittest -v heteroscedastic_test.py\n  test_jft_sngp:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Pip Install\n        run: |\n          set -v\n          set -e\n          python -m pip install --upgrade pip\n          pip install -q -e .[tensorflow,jax,models,tests]\n      - name: Run Pytest\n        run: |\n          set -v\n          set -e\n          cd baselines/jft\n          python -m unittest -v sngp_test.py\n  test_jft_utils:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Pip Install\n        run: |\n          set -v\n          set -e\n          python -m pip install --upgrade pip\n          pip install -q -e .[tensorflow,jax,models,tests]\n      - name: Run Pytest\n        run: |\n          set -v\n          set -e\n          cd baselines/jft\n          python -m unittest -v checkpoint_utils_test.py\n          python -m unittest -v input_utils_test.py\n          python -m unittest -v ood_utils_test.py\n          python -m unittest -v preprocess_utils_test.py\n          python -m unittest -v train_utils_test.py\n", "state": "active", "repository": "google/uncertainty-baselines"}
{"mined_at": "2024-07-15T15:19:18.005082", "created_at": "2023-08-01T22:05:36+02:00", "updated_at": "2023-08-01T22:05:36+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/uncertainty-baselines"}
{"mined_at": "2024-07-15T15:19:20.252363", "created_at": "2020-07-31T19:08:36+02:00", "updated_at": "2020-07-31T19:08:36+02:00", "name": "GitHub CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"GitHub CodeQL\"\n\non:\n  push:\n    branches: [main]\n    tags: [\"*\"]\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n\n# Cancel previous runs within same workflow and if within a PR (all branch runs complete)\n# (head_ref [branch name] is unique to and only for PRs, otherwise use always-unique run_id)\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  analyse:\n    name: Analyse\n    if: ${{!github.event.repository.private}}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        persist-credentials: false\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip3 install .\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: python\n        # Override the default behavior so that the action doesn't attempt\n        # to auto-install Python dependencies\n        setup-python-dependencies: false\n\n      # Override language selection by uncommenting this and choosing your languages\n      # with:\n      #   languages: go, javascript, csharp, python, cpp, java\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "zulip/zulip-terminal"}
{"mined_at": "2024-07-15T15:19:21.293039", "created_at": "2020-11-21T02:29:13+01:00", "updated_at": "2024-01-16T22:25:34+01:00", "name": "Linting & tests", "path": ".github/workflows/lint-and-test.yml", "contents": "name: Linting & tests\n\non:\n  push:\n    branches: [main]\n    tags: [\"*\"]\n  pull_request:\n  workflow_dispatch:\n\n# Cancel previous runs within same workflow and if within a PR (all branch runs complete)\n# (head_ref [branch name] is unique to and only for PRs, otherwise use always-unique run_id)\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\nenv:\n  LINTING_PYTHON_VERSION: 3.8\n\njobs:\n  mypy:\n    runs-on: ubuntu-latest\n    name: Lint - Type consistency (mypy)\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.LINTING_PYTHON_VERSION }}\n          cache: 'pip'\n          cache-dependency-path: 'setup.py'\n      - name: Install with type-checking tools, stubs & minimal test libraries\n        run: pip install .[typing,testing_minimal]\n      - name: Run mypy\n        run: ./tools/run-mypy\n\n  ruff:\n    runs-on: ubuntu-latest\n    name: Lint - PEP8 & more (ruff)\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.LINTING_PYTHON_VERSION }}\n          cache: 'pip'\n          cache-dependency-path: 'setup.py'\n      - name: Install with linting tools\n        run: pip install .[linting]\n      - name: Run ruff\n        run: ruff zulipterminal/ tests/ setup.py `tools/python_tools.py`\n\n  isort:\n    runs-on: ubuntu-latest\n    name: Lint - Import order (isort)\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.LINTING_PYTHON_VERSION }}\n          cache: 'pip'\n          cache-dependency-path: 'setup.py'\n      - name: Install with linting tools & minimal test libraries\n        # NOTE: Install pytest so that isort recognizes it as a known library\n        run: pip install .[linting,minimal_testing]\n      - name: Run isort\n        run: ./tools/run-isort-check\n\n  black:\n    runs-on: ubuntu-latest\n    name: Lint - Code format (black)\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.LINTING_PYTHON_VERSION }}\n          cache: 'pip'\n          cache-dependency-path: 'setup.py'\n      - name: Install with linting tools\n        run: pip install .[linting]\n      - name: Check code & tests meet black standards\n        run: black --check zulipterminal/ tests/ setup.py `tools/python_tools.py`\n\n  spellcheck:\n    runs-on: ubuntu-latest\n    name: Lint - Spellcheck (codespell, typos)\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.LINTING_PYTHON_VERSION }}\n          cache: 'pip'\n          cache-dependency-path: 'setup.py'\n      - name: Install with linting tools\n        run: pip install .[linting]\n      - name: Check spelling\n        run: ./tools/run-spellcheck\n\n  hotkeys:\n    runs-on: ubuntu-latest\n    name: Lint - Hotkeys & docs sync (lint-hotkeys)\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.LINTING_PYTHON_VERSION }}\n          cache: 'pip'\n          cache-dependency-path: 'setup.py'\n      - name: Minimal install\n        run: pip install .\n      - name: Run lint-hotkeys\n        run: ./tools/lint-hotkeys\n\n  docstrings:\n    runs-on: ubuntu-latest\n    name: Lint - Docstrings & docs sync (lint-docstring)\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.LINTING_PYTHON_VERSION }}\n          cache: 'pip'\n          cache-dependency-path: 'setup.py'\n      - name: Minimal install\n        run: pip install .\n      - name: Run lint-docstring\n        run: ./tools/lint-docstring\n\n  gitlint:\n    runs-on: ubuntu-latest\n    name: Lint - Commit text format (gitlint)\n    steps:\n      - name: 'PR commits +1'\n        if: github.event_name == 'pull_request'\n        run: echo \"PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))\" >> \"${GITHUB_ENV}\"\n      - name: 'Checkout PR branch and all PR commits'\n        if: github.event_name == 'pull_request'\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          ref: ${{ github.event.pull_request.head.sha }}\n          fetch-depth: ${{ env.PR_FETCH_DEPTH }}\n      - uses: actions/setup-python@v5\n        if: github.event_name == 'pull_request'\n        with:\n          python-version: ${{ env.LINTING_PYTHON_VERSION }}\n          cache: 'pip'\n          cache-dependency-path: 'setup.py'\n      - name: Install with gitlint\n        if: github.event_name == 'pull_request'\n        run: pip install .[gitlint]\n      - name: Run gitlint\n        if: github.event_name == 'pull_request'\n        run:\n          git fetch https://github.com/zulip/zulip-terminal main;\n          gitlint --commits FETCH_HEAD..${{ github.event.pull_request.head.sha }}\n\n  base_pytest:\n    runs-on: ubuntu-latest\n    name: Install & test - CPython 3.7 (ubuntu), codecov\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: Install Python version\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.7\n          cache: 'pip'\n          cache-dependency-path: 'setup.py'\n      - name: Output Python version\n        run: python --version\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - name: Ensure regular package installs from checkout\n        run: pip install .\n      - name: Install test dependencies\n        run: pip install .[testing]\n      - name: Run tests with pytest\n        run: pytest --cov-report=xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n\n  isolated-commits:\n    runs-on: ubuntu-latest\n    name: Ensure isolated PR commits\n    needs:\n      - mypy\n      - ruff\n      - isort\n      - black\n      - spellcheck\n      - hotkeys\n      - docstrings\n      - base_pytest\n      - gitlint\n    steps:\n      - uses: actions/checkout@v4\n        if: github.event_name == 'pull_request'\n        with:\n          persist-credentials: false\n          ref: ${{ github.event.pull_request.head.sha }}\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        if: github.event_name == 'pull_request'\n        with:\n          python-version: ${{ env.LINTING_PYTHON_VERSION }}\n          cache: 'pip'\n          cache-dependency-path: 'setup.py'\n      - name: Run check-branch\n        if: github.event_name == 'pull_request'\n        # Note that we install at each step since dependencies may change\n        run:\n          git fetch https://github.com/zulip/zulip-terminal main;\n          CHECK=\"pip install .[linting,testing,typing] && ./tools/lint-all && pytest\" ./tools/check-branch FETCH_HEAD\n\n  pytest-on-other-platforms:\n    needs: isolated-commits\n    strategy:\n      # Not failing fast allows all matrix jobs to try & finish even if one fails early\n      fail-fast: false\n      matrix:\n        env:\n          - {PYTHON: 3.8, OS: ubuntu-latest, NAME: \"CPython 3.8 (ubuntu)\", EXPECT: \"Linux\"}\n          - {PYTHON: 3.9, OS: ubuntu-latest, NAME: \"CPython 3.9 (ubuntu)\", EXPECT: \"Linux\"}\n          - {PYTHON: \"3.10\", OS: ubuntu-latest, NAME: \"CPython 3.10 (ubuntu)\", EXPECT: \"Linux\"}\n          - {PYTHON: \"3.11\", OS: ubuntu-latest, NAME: \"CPython 3.11 (ubuntu)\", EXPECT: \"Linux\"}\n          - {PYTHON: 'pypy-3.7', OS: ubuntu-latest, NAME: \"PyPy 3.7 (ubuntu)\", EXPECT: \"Linux\"}\n          - {PYTHON: 'pypy-3.8', OS: ubuntu-latest, NAME: \"PyPy 3.8 (ubuntu)\", EXPECT: \"Linux\"}\n          - {PYTHON: 'pypy-3.9', OS: ubuntu-latest, NAME: \"PyPy 3.9 (ubuntu)\", EXPECT: \"Linux\"}\n          - {PYTHON: 'pypy-3.10', OS: ubuntu-latest, NAME: \"PyPy 3.10 (ubuntu)\", EXPECT: \"Linux\"}\n          - {PYTHON: '3.11', OS: macos-latest, NAME: \"CPython 3.11 (macos)\", EXPECT: \"MacOS\"}\n    env:\n      EXPECT: ${{ matrix.env.EXPECT }}\n      PYTHON: ${{ matrix.env.PYTHON }}\n    runs-on: ${{ matrix.env.OS }}\n    name: Install & test - ${{ matrix.env.NAME}}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: Install Python version ${{ matrix.env.PYTHON }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.env.PYTHON }}\n          cache: 'pip'\n          cache-dependency-path: 'setup.py'\n      - name: Output Python version\n        run: python --version\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - name: Ensure libxml-related libraries are installed (some pypy versions don't have wheels)\n        if: startsWith(matrix.env.PYTHON, 'pypy-')\n        run: sudo apt install libxml2-dev libxslt1-dev\n      - name: Ensure regular package installs from checkout\n        run: pip install .\n      - name: Check we detect the python environment correctly\n        run: python -c \"from zulipterminal.platform_code import detected_python_short; import os; e, d = os.environ['PYTHON'], detected_python_short(); assert d == e, f'{d} != {e}'\"\n      - name: Check we detect the platform correctly\n        run: python -c \"from zulipterminal.platform_code import detected_platform; import os; e, d = os.environ['EXPECT'], detected_platform(); assert d == e, f'{d} != {e}'\"\n      - name: Install test dependencies\n        run: pip install .[testing]\n      - name: Run tests with pytest\n        run: pytest --cov-report=\n", "state": "active", "repository": "zulip/zulip-terminal"}
{"mined_at": "2024-07-15T15:19:23.425959", "created_at": "2024-06-28T15:39:35+02:00", "updated_at": "2024-06-28T15:39:35+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": null, "state": "active", "repository": "metagenome-atlas/atlas"}
{"mined_at": "2024-07-15T15:19:24.570985", "created_at": "2024-06-28T15:12:07+02:00", "updated_at": "2024-06-28T15:12:07+02:00", "name": "PR", "path": ".github/workflows/conventional-prs.yml", "contents": null, "state": "active", "repository": "metagenome-atlas/atlas"}
{"mined_at": "2024-07-15T15:19:25.677852", "created_at": "2023-05-05T14:57:47+02:00", "updated_at": "2023-05-05T14:57:47+02:00", "name": "ReadTheDocs Preview", "path": ".github/workflows/documentation.yml", "contents": null, "state": "active", "repository": "metagenome-atlas/atlas"}
{"mined_at": "2024-07-15T15:19:26.791581", "created_at": "2024-06-28T17:25:33+02:00", "updated_at": "2024-06-28T17:25:33+02:00", "name": "CI", "path": ".github/workflows/format.yml", "contents": null, "state": "active", "repository": "metagenome-atlas/atlas"}
{"mined_at": "2024-07-15T15:19:28.038319", "created_at": "2023-05-03T11:01:57+02:00", "updated_at": "2023-10-06T10:44:21+02:00", "name": "Combined Workflow", "path": ".github/workflows/python-package-conda.yml", "contents": "name: Combined Workflow\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\"]\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash -el {0} # use default shell\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-and-dryrun:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 1\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3.5.2\n\n      # - name: Get current month\n      #   id: date\n      #   run: echo \"date=$(date +%Y-%m)\" >> \"${GITHUB_OUTPUT}\"\n\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: atlasenv.yml\n          environment-name: atlasenv\n          # persist on the same month.\n          cache-environment-key: atlasenv- #${{ steps.date.outputs.date }}\n\n      - name: Install atlas\n        run: |\n          python -m pip install . --no-deps -vv\n\n      - name: Test atlas\n        run: |\n          atlas --help\n          atlas --version\n\n      - name: test import modules atlas\n        run: |\n          python -c \"from atlas import utils\"\n\n      - name: Dryrun\n        run: test/dryrun.sh\n\n  run-qc-and-assembly:\n    runs-on: ubuntu-latest\n    needs: build-and-dryrun\n    env:\n      N_THREADS: 2\n      MEM: 0.8\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3.5.2\n\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: atlasenv.yml\n          environment-name: atlasenv\n          cache-environment-key: atlasenv-\n\n      - name: Install atlas\n        run: |\n          python -m pip install . --no-deps -vv\n          atlas --help\n\n      - name: get example data\n        id: get-data\n        uses: actions/cache/restore@v3\n        with:\n          path: test_reads.tar.gz\n          key: example-data\n\n      - name: Download test data\n        if: steps.get-data.outputs.cache-hit != 'true'\n        run: wget --quiet https://zenodo.org/record/3992790/files/test_reads.tar.gz\n\n      - name: cache example data\n        if: steps.get-data.outputs.cache-hit != 'true'\n        uses: actions/cache/save@v3\n        with:\n          path: test_reads.tar.gz\n          key: ${{ steps.get-data.outputs.cache-primary-key }}\n\n      - name: extract data\n        run: |\n          tar -xzf test_reads.tar.gz \n          ls -l test_reads\n\n      - name: get conda envs\n        id: get-envs\n        uses: actions/cache/restore@v3\n        with:\n          path: databases\n          key: conda-envs-assembly\n\n        # - name: upack conda envs\n        #   if: steps.get-envs.outputs.cache-hit != 'true'\n        #   run: tar -xzf assembly_conda_envs.tar.gz\n\n      - name: Init\n        run: |\n          atlas init \"test_reads\" --threads \"$N_THREADS\" --working-dir wd\n\n      - name: Install dependencies for qc and assembly\n        if: steps.get-envs.outputs.cache-hit != 'true'\n        run: atlas run assembly --conda-create-envs-only -w wd\n\n      - name: List envs\n        run: ls -l databases/conda_envs\n\n      - name: Store conda envs\n        if: steps.get-envs.outputs.cache-hit != 'true'\n        uses: actions/cache/save@v3\n        with:\n          path: databases\n          key: ${{ steps.get-envs.outputs.cache-primary-key }}\n\n      - name: Run QC\n        run: |\n          atlas run qc --max-mem $MEM --jobs=$N_THREADS --restart-times=2 --working-dir wd\n\n      - name: Test Assembly\n        run: |\n          atlas run assembly --max-mem $MEM --jobs=$N_THREADS --restart-times=2 --working-dir wd\n\n      - name: Store Logs\n        uses: actions/upload-artifact@v3\n        with:\n          name: logs\n          path: wd/logs\n\n      - name: Store Sample Logs\n        uses: actions/upload-artifact@v3\n        with:\n          name: sample_logs\n          path: wd/sample1/logs\n\n      - name: Store reports\n        uses: actions/upload-artifact@v3\n        with:\n          name: reports\n          path: wd/reports\n\n      - name: Cache working dir\n        uses: actions/cache/save@v3\n        with:\n          path: wd\n          key: assembly-working-dir\n\n  run-genecatalog:\n    runs-on: ubuntu-latest\n    needs: [build-and-dryrun, run-qc-and-assembly]\n    env:\n      N_THREADS: 2\n      MEM: 3\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3.5.2\n\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: atlasenv.yml\n          environment-name: atlasenv\n          cache-environment-key: atlasenv-\n\n      - name: install atlas\n        run: |\n          python -m pip install . --no-deps -vv\n          atlas --help\n\n      - name: get conda envs\n        id: get-envs\n        uses: actions/cache/restore@v3\n        with:\n          path: databases\n          key: conda-envs-genecatalog\n          restore-keys: |\n            conda-envs-assembly\n            conda-envs-\n\n      - name: Restore working dir\n        uses: actions/cache/restore@v3\n        with:\n          path: wd\n          key: assembly-working-dir\n\n      - name: dryrun assembly shold need nothing to be done\n        run: |\n          ls -l wd\n          ls -l databases/conda_envs\n          atlas run assembly -w wd -n\n\n      - name: test Genecatalog\n        run: |\n          atlas run genecatalog --restart-times=2 --working-dir wd --omit-from combine_egg_nogg_annotations combine_dram_genecatalog_annotations\n\n      - name: Store Logs\n        uses: actions/upload-artifact@v3\n        with:\n          name: logs\n          path: wd/logs\n\n      - name: Store Sample Logs\n        uses: actions/upload-artifact@v3\n        with:\n          name: sample_logs\n          path: wd/sample1/logs\n\n      - name: Store conda envs\n        #if: steps.get-envs.outputs.cache-hit != 'true'\n        uses: actions/cache/save@v3\n        with:\n          path: databases\n          key: ${{ steps.get-envs.outputs.cache-primary-key }}\n\n  run-binning:\n    runs-on: ubuntu-latest\n    needs: [build-and-dryrun, run-qc-and-assembly]\n    env:\n      MEM: 0.9\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3.5.2\n\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: atlasenv.yml\n          environment-name: atlasenv\n          cache-environment-key: atlasenv-\n\n      - name: install atlas\n        run: |\n          python -m pip install . --no-deps -vv\n          atlas --help\n\n      - name: get conda envs\n        id: get-envs\n        uses: actions/cache/restore@v3\n        with:\n          path: databases\n          key: conda-envs-binning\n          restore-keys: |\n            conda-envs-\n\n      - name: Restore working dir\n        uses: actions/cache/restore@v3\n        with:\n          path: wd\n          fail-on-cache-miss: true\n          key: assembly-working-dir\n\n      - name: dryrun assembly shold need nothing to be done\n        run: |\n          ls -l wd\n          ls -l databases\n          ls -l databases/conda_envs\n          atlas run assembly -w wd -n\n\n      - name: test binning\n        run: |\n          atlas run binning --restart-times=2 --working-dir wd --omit-from checkm2_download_db --max-mem $MEM &> >(tee wd/logs/atlas_binning.log)\n\n      - name: Store Logs\n        uses: actions/upload-artifact@v3\n        with:\n          name: logs_binning\n          path: wd/logs\n\n      - name: Store Sample Logs\n        uses: actions/upload-artifact@v3\n        with:\n          name: sample_logs_binning\n          path: wd/sample1/logs\n\n      - name: Store conda envs\n        # if: steps.get-envs.outputs.cache-hit != 'true'\n        uses: actions/cache/save@v3\n        with:\n          path: databases\n          key: ${{ steps.get-envs.outputs.cache-primary-key }}\n\n  # run-quantify-genomes:\n  #   runs-on: ubuntu-latest\n  #   needs: build-and-dryrun\n\n  #   steps:\n  #     - name: Checkout\n  #       uses: actions/checkout@v3.5.2\n\n  #     - uses: mamba-org/setup-micromamba@v1\n  #       with:\n  #         environment-file: atlasenv.yml\n  #         environment-name: atlasenv\n  #         cache-environment-key: atlasenv-\n\n  #     - name: Install atlas\n  #       run: |\n  #         python -m pip install . --no-deps -vv\n  #         atlas --help\n\n  #     - name: get conda envs\n  #       id: get-envs\n  #       uses: actions/cache/restore@v3\n  #       with:\n  #         path: databases\n  #         key: conda-envs-assembly\n  #         restore-keys: conda-envs-*\n", "state": "active", "repository": "metagenome-atlas/atlas"}
{"mined_at": "2024-07-15T15:19:29.263146", "created_at": "2024-06-28T15:12:07+02:00", "updated_at": "2024-06-28T15:12:07+02:00", "name": "release-please", "path": ".github/workflows/release-please.yml", "contents": null, "state": "active", "repository": "metagenome-atlas/atlas"}
{"mined_at": "2024-07-15T15:19:30.380322", "created_at": "2023-03-17T13:47:37+01:00", "updated_at": "2023-03-17T13:51:07+01:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '16 13 * * *'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v7\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: |\n              There was no activity since some time. I hope your issue is solved in the mean time. \n              This issue will automatically close soon if no further activity occurs. \n              \n              Thank you for your contributions.\n        stale-pr-message: |\n            This PR is stale because it has not had any recent activity. \n            This PR will automatically close soon if no further activity occurs. \n            \n            Thank you for your contributions.\n        days-before-stale: 60\n        days-before-close: 15\n        stale-issue-label: stale\n        stale-pr-label: stale\n        exempt-issue-labels: 'keep,enhancement,bug,documentation,Feature-request,Known-issue'\n        exempt-pr-labels: ''\n        days-before-pr-stale: 1000\n        exempt-assignees: silask\n", "state": "active", "repository": "metagenome-atlas/atlas"}
{"mined_at": "2024-07-15T15:19:32.747907", "created_at": "2022-04-13T08:22:37+02:00", "updated_at": "2022-04-13T08:22:37+02:00", "name": "Bump version", "path": ".github/workflows/bump-version.yml", "contents": "name: Bump version\n\non:\n  workflow_dispatch:\n    inputs:\n      part:\n        description: 'Semver type of new version (major | minor | patch)'\n        required: true\n        type: choice\n        options:\n        - patch\n        - minor\n        - major\n      release_candidate:\n        type: boolean\n        description: 'Release candidate'\n        default: false\n      new_version:\n        description: 'New version to bump to'\n        required: true\n        type: string\n      target_branch:\n        description: 'Branch to push tag to'\n        default: 'main'\n        required: true\n        type: string\n      force:\n        type: boolean\n        description: 'Force override check'\n        default: false\n      dry_run:\n        type: boolean\n        description: 'Perform a dry run to check'\n        default: true\n\npermissions:\n  contents: read\n\njobs:\n  bump-version:\n    permissions:\n      contents: write  # for Git to git push\n    runs-on: ubuntu-latest\n    if: github.repository == 'scikit-hep/pyhf'\n\n    steps:\n    # Use GitHub PAT to authenticate so other workflows trigger\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.inputs.target_branch }}\n        fetch-depth: 0\n        token: ${{ secrets.ACCESS_TOKEN }}\n\n    - name: Check target branch is intended for release\n      if: github.event.inputs.force == 'false'\n      shell: bash\n      run: |\n        git rev-parse --abbrev-ref HEAD | grep 'main\\|release/'\n        if [ $? -eq 1 ]; then\n            echo \"ERROR: Branch $(git rev-parse --abbrev-ref HEAD) is not intended for release.\"\n            echo \"       Releases are made only from main or release branches.\"\n            exit 1\n        fi\n\n    - name: Verify new version bump step is valid\n      if: github.event.inputs.force == 'false'\n      id: script\n      shell: bash\n      run: |\n        current_tag=\"$(git describe --tags --abbrev=0)\"\n        current_tag=\"${current_tag:1}\"\n\n        latest_stable_tag=\"$(git tag | grep --invert-match 'rc' | tail -n 1)\"\n        latest_stable_tag=\"${latest_stable_tag:1}\"\n\n        echo \"* Current version: ${current_tag}\"\n        echo \"* Latest stable version: ${latest_stable_tag}\"\n\n        if [ ${{ github.event.inputs.release_candidate }} == 'true' ]; then\n            echo \"* Attempting a ${{ github.event.inputs.part }} version release candidate bump from ${current_tag} to: ${{ github.event.inputs.new_version }}\"\n        else\n            # For ease of use, set current tag to latest stable\n            current_tag=\"${latest_stable_tag}\"\n\n            echo \"* Attempting a ${{ github.event.inputs.part }} version bump from ${current_tag} to: ${{ github.event.inputs.new_version }}\"\n        fi\n\n        echo \"* Validating bump target version matches SemVer...\"\n\n        # IFS is single charecter, so split on the 'r' in \"rc\"\n        IFS='r' read current_tag_read current_rc <<EOF\n        ${current_tag}\n        EOF\n        current_rc=\"${current_rc:1}\"\n\n        IFS='.' read current_major current_minor current_patch <<EOF\n        ${current_tag_read}\n        EOF\n        # current_tag_read is read only and no longer used\n        unset current_tag_read\n\n        # IFS is single charecter, so split on the 'r' in \"rc\"\n        IFS='r' read bump_version bump_rc <<EOF\n        ${{ github.event.inputs.new_version }}\n        EOF\n        bump_rc=\"${bump_rc:1}\"\n\n        # bump_version is a read only variable\n        IFS='.' read bump_major bump_minor bump_patch <<EOF\n        ${bump_version}\n        EOF\n        unset bump_version\n\n        # Check release candidates are valid before proceeding\n        if [ ${{ github.event.inputs.release_candidate }} == 'true' ]; then\n            if [ -z \"${current_rc}\" ]; then\n                current_rc=0\n            fi\n            if [ \"${bump_rc}\" != \"$((${current_rc} + 1))\" ]; then\n                echo \"ERROR: ${{ github.event.inputs.new_version }} is more than 1 release candidate version greater then ${current_tag}\"\n                exit 1\n            fi\n        else\n            if [ ! -z \"${bump_rc}\" ]; then\n                echo \"ERROR: ${{ github.event.inputs.new_version }} contains a release candidate signature rc${bump_rc} but was marked as stable release.\"\n                exit 1\n            fi\n        fi\n\n        if [ ${{ github.event.inputs.part }} == \"major\" ]; then\n            # Minor version should be zero\n            if [ \"${bump_minor}\" != \"0\" ]; then\n                echo \"ERROR: ${{ github.event.inputs.part }} release attempted, ${{ github.event.inputs.new_version }} minor version should equal 0.\"\n                exit 1\n            fi\n            # Patch version should be zero\n            if [ \"${bump_patch}\" != \"0\" ]; then\n                echo \"ERROR: ${{ github.event.inputs.part }} release attempted, ${{ github.event.inputs.new_version }} patch version should equal 0.\"\n                exit 1\n            fi\n            if [ \"${bump_major}\" != \"$((${current_major} + 1))\" ]; then\n                if ! ([ \"${bump_major}\" == \"${current_major}\" ] && [ ${{ github.event.inputs.release_candidate }} == 'true' ]); then\n                    echo \"ERROR: ${{ github.event.inputs.part }} release candidate release attempted, but ${{ github.event.inputs.new_version }} is more than 1 ${{ github.event.inputs.part }} version greater then ${current_tag}.\"\n                    exit 1\n                fi\n            fi\n        fi\n\n        if [ ${{ github.event.inputs.part }} == \"minor\" ]; then\n            # Major versions should be equal\n            if [ \"${bump_major}\" != \"${current_major}\" ]; then\n                echo \"ERROR: ${{ github.event.inputs.part }} release attempted, but ${{ github.event.inputs.new_version }} major version not equal to ${current_tag}.\"\n                exit 1\n            fi\n            # Patch version should be zero\n            if [ \"${bump_patch}\" != \"0\" ]; then\n                echo \"ERROR: ${{ github.event.inputs.part }} release attempted, ${{ github.event.inputs.new_version }} patch version should equal 0.\"\n                exit 1\n            fi\n            if [ \"${bump_minor}\" != \"$((${current_minor} + 1))\" ]; then\n                if ! ([ \"${bump_minor}\" == \"${current_minor}\" ] && [ ${{ github.event.inputs.release_candidate }} == 'true' ]); then\n                    echo \"ERROR: ${{ github.event.inputs.part }} release candidate release attempted, but ${{ github.event.inputs.new_version }} is more than 1 ${{ github.event.inputs.part }} version greater then ${current_tag}.\"\n                    exit 1\n                fi\n            fi\n        fi\n\n        if [ ${{ github.event.inputs.part }} == \"patch\" ]; then\n            # Major versions should be equal\n            if [ \"${bump_major}\" != \"${current_major}\" ]; then\n                echo \"ERROR: ${{ github.event.inputs.part }} release attempted, but ${{ github.event.inputs.new_version }} major version not equal to ${current_tag}.\"\n                exit 1\n            fi\n            # Minor versions should be equal\n            if [ \"${bump_minor}\" != \"${current_minor}\" ]; then\n                echo \"ERROR: ${{ github.event.inputs.part }} release attempted, but ${{ github.event.inputs.new_version }} minor version not equal to ${current_tag}.\"\n                exit 1\n            fi\n            if [ \"${bump_patch}\" != \"$((${current_patch} + 1))\" ]; then\n                if ! ([ \"${bump_patch}\" == \"${current_patch}\" ] && [ ${{ github.event.inputs.release_candidate }} == 'true' ]); then\n                    echo \"ERROR: ${{ github.event.inputs.part }} release candidate release attempted, but ${{ github.event.inputs.new_version }} is more than 1 ${{ github.event.inputs.part }} version greater then ${current_tag}.\"\n                    exit 1\n                fi\n            fi\n        fi\n\n        echo \"  ...version bump validated!\"\n        if [ ${{ github.event.inputs.release_candidate }} == 'true' ]; then\n            echo \"* Bumping version ${current_tag} to ${{ github.event.inputs.part }} version release candidate ${{ github.event.inputs.new_version }}\"\n        else\n            echo \"* Bumping version ${current_tag} to ${{ github.event.inputs.part }} version ${{ github.event.inputs.new_version }}\"\n        fi\n\n        echo \"steps.script.outputs.old_tag=v${current_tag}\"\n        echo \"old_tag=v${current_tag}\" >> $GITHUB_OUTPUT\n\n    - name: Set up Python 3.12\n      if: success()\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip wheel\n        uv pip install --system tbump\n        python -m pip list\n\n    - name: Setup Git user to push new tag\n      run: |\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n\n    - name: Bump version and push to GitHub\n      if: >-\n        github.event_name == 'workflow_dispatch'\n        && (\n          github.event.sender.login == 'lukasheinrich' ||\n          github.event.sender.login == 'matthewfeickert' ||\n          github.event.sender.login == 'kratsg'\n        )\n      shell: bash\n      run: |\n        tbump --non-interactive --no-push ${{ github.event.inputs.new_version }}\n\n    - name: Update the Git tag annotation\n      if: ${{ github.event.inputs.dry_run }} == 'false'\n      shell: bash\n      run: |\n        OLD_TAG=${{ steps.script.outputs.old_tag }}\n        git tag -n99 --list \"${OLD_TAG}\"\n\n        NEW_TAG=v${{ github.event.inputs.new_version }}\n        git tag -n99 --list \"${NEW_TAG}\"\n\n        CHANGES=$(git log --pretty=format:'%s' \"${OLD_TAG}\"..HEAD --regexp-ignore-case --extended-regexp --grep='^([a-z]*?):')\n        # Also include any backported changes\n        BACKPORTED_CHANGES=$(git log --pretty=format:'%s' \"${OLD_TAG}\"..HEAD --grep='(backport):')\n        if [ ! -z \"${BACKPORTED_CHANGES}\" ]; then\n            CHANGES=$(printf \"${CHANGES}\\n${BACKPORTED_CHANGES}\")\n        fi\n\n        CHANGES_NEWLINE=\"$(echo \"${CHANGES}\" | sed -e 's/^/  - /')\"\n        SANITIZED_CHANGES=$(echo \"${CHANGES}\" | sed -e 's/^/<li>/' -e 's|$|</li>|' -e 's/(#[0-9]\\+)//' -e 's/\"/'\"'\"'/g')\n        NUM_CHANGES=$(echo -n \"${CHANGES}\" | grep -c '^')\n\n        if [ ${{ github.event.inputs.release_candidate }} == 'true' ]; then\n            git tag \"${NEW_TAG}\" \"${NEW_TAG}\"^{} -f -m \"$(printf \"This is a ${{ github.event.inputs.part }} release candidate from ${OLD_TAG} → ${NEW_TAG}.\\n\\nChanges:\\n${CHANGES_NEWLINE}\")\"\n        else\n            git tag \"${NEW_TAG}\" \"${NEW_TAG}\"^{} -f -m \"$(printf \"This is a ${{ github.event.inputs.part }} release from ${OLD_TAG} → ${NEW_TAG}.\\n\\nChanges:\\n${CHANGES_NEWLINE}\")\"\n        fi\n\n        git tag -n99 --list \"${NEW_TAG}\"\n\n    - name: Show annotated Git tag\n      shell: bash\n      run: |\n        git show v${{ github.event.inputs.new_version }}\n\n    - name: Push new tag back to GitHub\n      shell: bash\n      run: |\n        if [ ${{ github.event.inputs.dry_run }} == 'true' ]; then\n            echo \"# DRY RUN\"\n        else\n            git push origin ${{ github.event.inputs.target_branch }} --tags\n        fi\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:33.783452", "created_at": "2023-10-25T06:45:25+02:00", "updated_at": "2023-10-26T06:58:42+02:00", "name": "CI on Windows", "path": ".github/workflows/ci-windows.yml", "contents": "name: CI on Windows\n\non:\n  # Run daily at 1:23 UTC\n  schedule:\n  - cron:  '23 1 * * *'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  test:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest]\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip wheel\n        uv pip install --system --upgrade '.[all,test]'\n\n    - name: List installed Python packages\n      run: python -m pip list\n\n    - name: Test with pytest and coverage\n      # FIXME: ignore tests/test_scripts.py as runner breaks on Windows currently\n      run: |\n        coverage run --module pytest --ignore tests/test_scripts.py --ignore tests/contrib --ignore tests/benchmarks --ignore tests/test_notebooks.py\n\n    - name: Coverage report for core project\n      run: |\n        coverage report\n        coverage xml\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:34.999210", "created_at": "2019-12-19T04:59:09+01:00", "updated_at": "2021-10-13T02:28:36+02:00", "name": "CI/CD", "path": ".github/workflows/ci.yml", "contents": "name: CI/CD\n\non:\n  push:\n  pull_request:\n    branches:\n    - main\n    - release/v*\n  # Run daily at 0:01 UTC\n  schedule:\n  - cron:  '1 0 * * *'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  test:\n\n    runs-on: ${{ matrix.os }}\n    # On push events run the CI only on main by default, but run on any branch if the commit message contains '[ci all]'\n    if: >-\n      github.event_name != 'push'\n      || (github.event_name == 'push' && github.ref == 'refs/heads/main')\n      || (github.event_name == 'push' && github.ref != 'refs/heads/main' && contains(github.event.head_commit.message, '[ci all]'))\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        include:\n          - os: macos-latest\n            python-version: '3.12'\n          # Intel runner\n          - os: macos-13\n            python-version: '3.12'\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      if: matrix.python-version != '3.8'\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip wheel\n        uv pip install --system --upgrade \".[all,test]\"\n\n      # c.f. https://github.com/astral-sh/uv/issues/2062\n    - name: Install dependencies (Python 3.8)\n      if: matrix.python-version == '3.8'\n      run: |\n        python -m pip install --upgrade pip wheel\n        python -m pip install --upgrade \".[all,test]\"\n\n    - name: List installed Python packages\n      run: python -m pip list\n\n    - name: Test with pytest and coverage\n      run: |\n        coverage run --module pytest --ignore tests/contrib --ignore tests/benchmarks --ignore tests/test_notebooks.py\n\n    - name: Launch a tmate session if tests fail\n      if: failure() && github.event_name == 'workflow_dispatch'\n      uses: mxschmitt/action-tmate@v3\n\n    - name: Coverage report for core project\n      run: |\n        coverage report\n        coverage xml\n\n      # Report coverage for oldest and newest Python tested to deal with version differences\n    - name: Report core project coverage with Codecov\n      if: >-\n        github.event_name != 'schedule' &&\n        matrix.os == 'ubuntu-latest'\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: true\n        files: ./coverage.xml\n        flags: unittests-${{ matrix.python-version }}\n        token: ${{ secrets.CODECOV_TOKEN }}\n\n    - name: Test Contrib module with pytest\n      run: |\n        coverage run --append --module pytest tests/contrib --mpl --mpl-baseline-path tests/contrib/baseline\n\n    - name: Coverage report with contrib\n      run: |\n        coverage report\n        coverage xml\n\n    - name: Report contrib coverage with Codecov\n      if: github.event_name != 'schedule' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: true\n        files: ./coverage.xml\n        flags: contrib\n        token: ${{ secrets.CODECOV_TOKEN }}\n\n    - name: Test docstring examples with doctest\n      # TODO: Don't currently try to match amd64 and arm64 floating point for docs, but will in the future.\n      if: matrix.python-version == '3.12' && matrix.os != 'macos-latest'\n      run: coverage run --data-file=.coverage-doctest --module pytest src/ README.rst\n\n    - name: Coverage report for doctest only\n      if: matrix.python-version == '3.12' && matrix.os != 'macos-latest'\n      run: |\n        coverage report --data-file=.coverage-doctest\n        coverage xml --data-file=.coverage-doctest -o doctest-coverage.xml\n\n    - name: Report doctest coverage with Codecov\n      if: github.event_name != 'schedule' && matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: true\n        files: doctest-coverage.xml\n        flags: doctest\n        token: ${{ secrets.CODECOV_TOKEN }}\n\n    - name: Run benchmarks\n      if: github.event_name == 'schedule' && matrix.python-version == '3.12'\n      run: |\n        pytest --benchmark-sort=mean tests/benchmarks/test_benchmark.py\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:36.226118", "created_at": "2020-09-30T22:53:32+02:00", "updated_at": "2020-09-30T22:53:32+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    # branches must be a subset of push branches\n    branches: [main]\n  # Run weekly on Sundays at 0:01 UTC\n  schedule:\n    - cron: '1 0 * * 0'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    permissions:\n      actions: read  # for github/codeql-action/init to get workflow details\n      contents: read  # for actions/checkout to fetch code\n      security-events: write  # for github/codeql-action/analyze to upload SARIF results\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: python\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:37.416344", "created_at": "2020-09-21T08:58:36+02:00", "updated_at": "2020-09-21T08:58:36+02:00", "name": "HEAD of dependencies", "path": ".github/workflows/dependencies-head.yml", "contents": "name: HEAD of dependencies\n\non:\n  # Run daily at 0:01 UTC\n  schedule:\n  - cron:  '1 0 * * *'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  release-candidates:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, macos-13]\n        python-version: ['3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip wheel\n        uv pip --no-cache --quiet install --system --upgrade --pre \".[all,test]\"\n        python -m pip list\n\n    - name: List release candidates, alpha, and beta releases\n      run: |\n        python -m pip list | egrep '[0-9](rc|[ab])[0-9]'\n\n    - name: Test with pytest\n      run: |\n        pytest --ignore tests/contrib --ignore tests/benchmarks --ignore tests/test_notebooks.py\n\n  scipy:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip wheel\n        uv pip --no-cache --quiet install --system --upgrade \".[all,test]\"\n        uv pip uninstall --system scipy\n        # uv wants to upgrade dependencies (numpy) to a dev release too, so don't --upgrade\n        uv pip install --system --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple scipy\n        python -m pip list\n\n    - name: Test with pytest\n      run: |\n        pytest --ignore tests/contrib --ignore tests/benchmarks --ignore tests/test_notebooks.py\n\n  iminuit:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip wheel\n        uv pip --no-cache --quiet install --system --upgrade \".[all,test]\"\n        uv pip uninstall --system iminuit\n        uv pip install --system --upgrade cython\n        uv pip install --system --upgrade git+https://github.com/scikit-hep/iminuit.git\n        python -m pip list\n    - name: Test with pytest\n      run: |\n        pytest --ignore tests/contrib --ignore tests/benchmarks --ignore tests/test_notebooks.py\n\n  uproot5:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip wheel\n        uv pip --no-cache --quiet install --system --upgrade \".[all,test]\"\n        uv pip uninstall --system uproot\n        uv pip install --system --upgrade git+https://github.com/scikit-hep/uproot5.git\n        python -m pip list\n    - name: Test with pytest\n      run: |\n        pytest --ignore tests/contrib --ignore tests/benchmarks --ignore tests/test_notebooks.py\n\n  matplotlib:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip wheel\n        uv pip --no-cache --quiet install --system --upgrade \".[all,test]\"\n        uv pip uninstall --system matplotlib\n        # Need to use --extra-index-url as all dependencies aren't on scientific-python-nightly-wheels package index.\n        # Need to use --pre as dev releases will need priority over stable releases.\n        # Note that uv and pip differ on --extra-index-url priority\n        # c.f. https://github.com/scientific-python/upload-nightly-action/issues/76\n        uv pip install --system \\\n          --pre \\\n          --index-url https://pypi.org/simple/ \\\n          --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \\\n          matplotlib\n\n    - name: List installed Python packages\n      run: python -m pip list\n\n    - name: Test contrib module API with pytest\n      run: |\n        pytest tests/contrib\n\n  pytest:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip wheel\n        uv pip --no-cache --quiet install --system --upgrade \".[all,test]\"\n        uv pip uninstall --system pytest\n        uv pip install --system --upgrade git+https://github.com/pytest-dev/pytest.git\n        python -m pip list\n    - name: Test with pytest\n      run: |\n        pytest --ignore tests/contrib --ignore tests/benchmarks --ignore tests/test_notebooks.py\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:38.582148", "created_at": "2021-05-10T08:14:22+02:00", "updated_at": "2021-05-10T17:37:20+02:00", "name": "Docker Images", "path": ".github/workflows/docker.yml", "contents": "name: Docker Images\n\non:\n  push:\n    branches:\n    - main\n    tags:\n    - v*\n  pull_request:\n    branches:\n    - main\n  schedule:\n    - cron:  '1 0 * * *'\n  release:\n    types: [published]\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  docker:\n    name: Build, test, and publish Docker images to Docker Hub\n    permissions:\n      contents: read\n      packages: write  # for docker to push to registry\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Prepare\n        id: prep\n        run: |\n          DOCKER_IMAGE=pyhf/pyhf\n          VERSION=latest\n          if [[ $GITHUB_REF == refs/tags/* ]]; then\n            VERSION=${GITHUB_REF_NAME}\n          elif [[ $GITHUB_REF == refs/pull/* ]]; then\n            VERSION=pr-${{ github.event.number }}\n          fi\n          TAGS=\"${DOCKER_IMAGE}:${VERSION}\"\n          TAGS=\"$TAGS,${DOCKER_IMAGE}:latest,${DOCKER_IMAGE}:sha-${GITHUB_SHA::8}\"\n          # Releases also have GITHUB_REFs that are tags, so reuse VERSION\n          if [ \"${{ github.event_name }}\" = \"release\" ]; then\n            TAGS=\"$TAGS,${DOCKER_IMAGE}:latest-stable,ghcr.io/${{github.repository}}:latest-stable,ghcr.io/${{github.repository}}:${VERSION}\"\n          fi\n          echo \"steps.prep.outputs.version=${VERSION}\"\n          echo \"version=${VERSION}\" >> $GITHUB_OUTPUT\n          echo \"steps.prep.outputs.tags=${TAGS}\"\n          echo \"tags=${TAGS}\" >> $GITHUB_OUTPUT\n          echo \"steps.prep.outputs.created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')\"\n          echo \"created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')\" >> $GITHUB_OUTPUT\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Login to GitHub Container Registry\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Test build\n        id: docker_build_test\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: docker/Dockerfile\n          tags: ${{ steps.prep.outputs.tags }}\n          labels: |\n            org.opencontainers.image.source=${{ github.event.repository.html_url }}\n            org.opencontainers.image.created=${{ steps.prep.outputs.created }}\n            org.opencontainers.image.revision=${{ github.sha }}\n          load: true\n          push: false\n\n      - name: Image digest\n        run: echo ${{ steps.docker_build_test.outputs.digest }}\n\n      - name: List built images\n        run: docker images\n\n      - name: Run CLI API check\n        run: |\n          printf \"\\npyhf\\n\"\n          docker run --rm pyhf/pyhf:sha-${GITHUB_SHA::8}\n          printf \"\\npyhf --version\\n\"\n          docker run --rm pyhf/pyhf:sha-${GITHUB_SHA::8} --version\n          printf \"\\npyhf --help\\n\"\n          docker run --rm pyhf/pyhf:sha-${GITHUB_SHA::8} --help\n\n      - name: Check for curl and tar\n        run: >-\n          docker run --rm\n          --entrypoint /bin/bash\n          pyhf/pyhf:sha-${GITHUB_SHA::8}\n          -c \"which curl; which tar\"\n\n      - name: Build and publish to registry\n        # every PR will trigger a push event on main, so check the push event is actually coming from main\n        if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'scikit-hep/pyhf'\n        id: docker_build_latest\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: docker/Dockerfile\n          tags: |\n            pyhf/pyhf:latest\n            ghcr.io/${{ github.repository }}:latest\n          labels: |\n            org.opencontainers.image.source=${{ github.event.repository.html_url }}\n            org.opencontainers.image.created=${{ steps.prep.outputs.created }}\n            org.opencontainers.image.revision=${{ github.sha }}\n          push: true\n          platforms: linux/amd64,linux/arm64\n\n      - name: Build and publish to registry with release tag\n        if: github.event_name == 'release' && github.event.action == 'published' && github.repository == 'scikit-hep/pyhf'\n        id: docker_build_release\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: docker/Dockerfile\n          tags: ${{ steps.prep.outputs.tags }}\n          labels: |\n            org.opencontainers.image.source=${{ github.event.repository.html_url }}\n            org.opencontainers.image.created=${{ steps.prep.outputs.created }}\n            org.opencontainers.image.revision=${{ github.sha }}\n          push: true\n          platforms: linux/amd64,linux/arm64\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:40.119278", "created_at": "2020-10-16T06:07:38+02:00", "updated_at": "2020-10-16T06:07:38+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: Build docs\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip wheel\n        uv pip --quiet install --system --upgrade \".[docs,test]\"\n        uv pip install --system yq\n        python -m pip list\n\n    - name: Install apt-get dependencies\n      run: |\n        sudo apt-get update\n        # Ubuntu 22.04's pandoc is too old (2.9.2.x), so install manually\n        # until the ubuntu-latest updates.\n        curl --silent --location --remote-name https://github.com/jgm/pandoc/releases/download/3.1.6.2/pandoc-3.1.6.2-1-amd64.deb\n        sudo apt-get install ./pandoc-*amd64.deb\n\n    - name: Check docstrings\n      run: |\n        # Group 1 is related to docstrings\n        pydocstyle --select D1 src/pyhf/pdf.py \\\n                               src/pyhf/workspace.py \\\n                               src/pyhf/probability.py \\\n                               src/pyhf/patchset.py \\\n                               src/pyhf/compat.py \\\n                               src/pyhf/interpolators \\\n                               src/pyhf/infer \\\n                               src/pyhf/optimize \\\n                               src/pyhf/contrib \\\n                               src/pyhf/cli\n\n    - name: Verify CITATION.cff schema\n      run: |\n        jsonschema <(curl -sL \"https://citation-file-format.github.io/1.2.0/schema.json\") --instance <(cat CITATION.cff | yq)\n\n    - name: Check for broken links\n      run: |\n        pushd docs\n        make linkcheck\n        # Don't ship the linkcheck\n        rm -r _build/linkcheck\n        popd\n\n    - name: Test and build docs\n      run: |\n        python -m doctest README.rst\n        pushd docs\n        make html\n\n    - name: Check schemas are copied over\n      run: |\n        # is a directory\n        [ -d \"docs/_build/html/schemas\" ]\n        # is not a symlink\n        [ ! -L \"docs/_build/html/schemas\" ]\n        # is not empty\n        [ \"$(ls -A docs/_build/html/schemas)\" ]\n        # is not empty\n        [ \"$(ls -A docs/_build/html/lite)\" ]\n\n    - name: Fix permissions if needed\n      run: |\n        chmod -c -R +rX \"docs/_build/html/\" | while read line; do\n          echo \"::warning title=Invalid file permissions automatically fixed::$line\"\n        done\n\n    - name: Upload artifact\n      uses: actions/upload-pages-artifact@v3\n      with:\n        path: 'docs/_build/html'\n\n  deploy:\n    name: Deploy docs to GitHub Pages\n    if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n    needs: build\n    # Set permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\n    permissions:\n      contents: read\n      pages: write\n      id-token: write\n\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Setup Pages\n      uses: actions/configure-pages@v5\n\n    - name: Deploy to GitHub Pages\n      id: deployment\n      uses: actions/deploy-pages@v4\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:41.146859", "created_at": "2020-06-23T08:52:46+02:00", "updated_at": "2020-06-23T08:52:46+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n\n    name: Lint Codebase\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Lint Dockerfile\n      uses: hadolint/hadolint-action@v3.1.0\n      with:\n        dockerfile: docker/Dockerfile\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:42.274519", "created_at": "2021-03-05T17:23:42+01:00", "updated_at": "2021-03-05T17:23:42+01:00", "name": "Minimum supported dependencies", "path": ".github/workflows/lower-bound-requirements.yml", "contents": "name: Minimum supported dependencies\n\non:\n  # Run daily at 0:01 UTC\n  schedule:\n  - cron:  '1 0 * * *'\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  test:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        # minimum supported Python\n        python-version: ['3.8']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies and force lowest bound\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip 'setuptools<70.0.0' wheel\n        uv pip --no-cache install --system --constraint tests/constraints.txt \".[all,test]\"\n\n    - name: List installed Python packages\n      run: python -m pip list\n\n    - name: Test with pytest\n      run: |\n        # Override the ini option for filterwarnings with an empty list to disable error on filterwarnings\n        # as testing for oldest releases that work with latest API, not the oldest releases that are warning\n        # free. Though still show warnings by setting warning control to 'default'.\n        export PYTHONWARNINGS='default'\n        # Run on tests/ to skip doctests of src given examples are for latest APIs\n        pytest --override-ini filterwarnings= --ignore tests/contrib --ignore tests/benchmarks --ignore tests/test_notebooks.py tests/\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:43.377681", "created_at": "2019-12-19T16:57:42+01:00", "updated_at": "2019-12-19T16:57:42+01:00", "name": "Merged PR", "path": ".github/workflows/merged.yml", "contents": "name: Merged PR\n\non:\n  pull_request:\n    types: [closed]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  binder:\n    name: Trigger Binder build\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.merged\n    steps:\n    - uses: actions/checkout@v4\n    - name: Trigger Binder build\n      run: |\n        # Use Binder build API to trigger repo2docker to build image on Google Cloud and Turing Institute Binder Federation clusters\n        bash binder/trigger_binder.sh https://turing.mybinder.org/build/gh/scikit-hep/pyhf/main\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:44.623824", "created_at": "2020-09-25T04:04:24+02:00", "updated_at": "2020-09-25T04:04:24+02:00", "name": "Notebooks", "path": ".github/workflows/notebooks.yml", "contents": "name: Notebooks\n\non:\n  # Run daily at 0:01 UTC\n  schedule:\n  - cron:  '1 0 * * *'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  test:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip wheel\n        # FIXME: c.f. https://github.com/scikit-hep/pyhf/issues/2104\n        uv pip install --system --upgrade \".[all,test]\" 'jupyter-client<8.0.0'\n\n    - name: List installed Python packages\n      run: python -m pip list\n\n    - name: Test example notebooks\n      run: |\n        # Override the ini option for filterwarnings with an empty list to disable error\n        # on filterwarnings as testing for notebooks to run with the latest API, not if\n        # Jupyter infrastructure is warning free.\n        pytest --verbose --override-ini filterwarnings= tests/test_notebooks.py\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:45.755103", "created_at": "2019-12-19T04:59:11+01:00", "updated_at": "2020-04-22T00:24:44+02:00", "name": "publish distributions", "path": ".github/workflows/publish-package.yml", "contents": "name: publish distributions\non:\n  push:\n    branches:\n    - main\n    tags:\n    - v*\n  pull_request:\n    branches:\n    - main\n    - release/v*\n  release:\n    types: [published]\n  # Run weekly at 1:23 UTC\n  schedule:\n  - cron:  '23 1 * * 0'\n  workflow_dispatch:\n    inputs:\n      publish:\n        type: boolean\n        description: 'Publish to TestPyPI'\n        default: false\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: Build Python distribution\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      attestations: write\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Install python-build and twine\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip\n        uv pip install --system build twine\n        python -m pip list\n\n    - name: Build a sdist and wheel\n      if: github.event_name != 'schedule'\n      run: |\n        python -m build --installer uv .\n\n    - name: Build a sdist and wheel and check for warnings\n      if: github.event_name == 'schedule'\n      run: |\n        PYTHONWARNINGS=error,default::DeprecationWarning python -m build --installer uv .\n\n    - name: Verify untagged commits have dev versions\n      if: \"!startsWith(github.ref, 'refs/tags/')\"\n      run: |\n        latest_tag=$(git describe --tags)\n        latest_tag_revlist_SHA=$(git rev-list -n 1 ${latest_tag})\n        main_SHA=\"$(git rev-parse --verify origin/main)\"\n        wheel_name=$(find dist/ -iname \"*.whl\" -printf \"%f\\n\")\n        if [[ \"${latest_tag_revlist_SHA}\" != \"${main_SHA}\" ]]; then # don't check main push events coming from tags\n          if [[ \"${wheel_name}\" == *\"pyhf-0.1.dev\"* || \"${wheel_name}\" != *\"dev\"* ]]; then\n            echo \"python-build incorrectly named built distribution: ${wheel_name}\"\n            echo \"python-build is lacking the history and tags required to determine version number\"\n            echo \"intentionally erroring with 'return 1' now\"\n            return 1\n          fi\n        else\n          echo \"Push event to origin/main was triggered by push of tag ${latest_tag}\"\n        fi\n        echo \"python-build named built distribution: ${wheel_name}\"\n\n    - name: Verify tagged commits don't have dev versions\n      if: startsWith(github.ref, 'refs/tags')\n      run: |\n        wheel_name=$(find dist/ -iname \"*.whl\" -printf \"%f\\n\")\n        if [[ \"${wheel_name}\" == *\"dev\"* ]]; then\n          echo \"python-build incorrectly named built distribution: ${wheel_name}\"\n          echo \"this is incorrrectly being treated as a dev release\"\n          echo \"intentionally erroring with 'return 1' now\"\n          return 1\n        fi\n        echo \"python-build named built distribution: ${wheel_name}\"\n\n    - name: Verify the distribution\n      run: twine check --strict dist/*\n\n    - name: List contents of sdist\n      run: python -m tarfile --list dist/pyhf-*.tar.gz\n\n    - name: List contents of wheel\n      run: python -m zipfile --list dist/pyhf-*.whl\n\n    - name: Generate artifact attestation for sdist and wheel\n      # If publishing to TestPyPI or PyPI\n      if: >-\n        (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'scikit-hep/pyhf')\n        || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true' && github.repository == 'scikit-hep/pyhf')\n        || (github.event_name == 'release' && github.event.action == 'published' && github.repository == 'scikit-hep/pyhf')\n      uses: actions/attest-build-provenance@bdd51370e0416ac948727f861e03c2f05d32d78e # v1.3.2\n      with:\n        subject-path: \"dist/pyhf-*\"\n\n    - name: Upload distribution artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: dist-artifact\n        path: dist\n\n  publish:\n    name: Publish Python distribution to (Test)PyPI\n    if: github.event_name != 'pull_request'\n    needs: build\n    runs-on: ubuntu-latest\n    # Mandatory for publishing with a trusted publisher\n    # c.f. https://docs.pypi.org/trusted-publishers/using-a-publisher/\n    permissions:\n      id-token: write\n    # Restrict to the environment set for the trusted publisher\n    environment:\n      name: publish-package\n\n    steps:\n    - name: Download distribution artifact\n      uses: actions/download-artifact@v4\n      with:\n        name: dist-artifact\n        path: dist\n\n    - name: List all files\n      run: ls -lh dist\n\n    - name: Verify sdist artifact attestation\n      # If publishing to TestPyPI or PyPI\n      if: >-\n        (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'scikit-hep/pyhf')\n        || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true' && github.repository == 'scikit-hep/pyhf')\n        || (github.event_name == 'release' && github.event.action == 'published' && github.repository == 'scikit-hep/pyhf')\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: gh attestation verify dist/pyhf-*.tar.gz --repo ${{ github.repository }}\n\n    - name: Verify wheel artifact attestation\n      # If publishing to TestPyPI or PyPI\n      if: >-\n        (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'scikit-hep/pyhf')\n        || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true' && github.repository == 'scikit-hep/pyhf')\n        || (github.event_name == 'release' && github.event.action == 'published' && github.repository == 'scikit-hep/pyhf')\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: gh attestation verify dist/pyhf-*.whl --repo ${{ github.repository }}\n\n    - name: Publish distribution 📦 to Test PyPI\n      # Publish to TestPyPI on tag events of if manually triggered\n      # Compare to 'true' string as booleans get turned into strings in the console\n      if: >-\n        (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'scikit-hep/pyhf')\n        || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true' && github.repository == 'scikit-hep/pyhf')\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        repository-url: https://test.pypi.org/legacy/\n        print-hash: true\n\n    - name: Publish distribution 📦 to PyPI\n      if: github.event_name == 'release' && github.event.action == 'published' && github.repository == 'scikit-hep/pyhf'\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        print-hash: true\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:46.876431", "created_at": "2019-12-19T04:59:11+01:00", "updated_at": "2019-12-19T04:59:11+01:00", "name": "Current Release", "path": ".github/workflows/release_tests.yml", "contents": "name: Current Release\n\non:\n  # Run daily at 0:01 UTC\n  schedule:\n  - cron:  '1 0 * * *'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n\n  pypi_release:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        include:\n          - os: macos-latest\n            python-version: '3.12'\n          # Intel runner\n          - os: macos-13\n            python-version: '3.12'\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install from PyPI\n      run: |\n        python -m pip install uv\n        uv pip install --system --upgrade pip wheel\n        uv pip install --system --pre 'pyhf[backends,xmlio]'\n        uv pip install --system pytest\n        python -m pip list\n\n    - name: Canary test public API\n      run: |\n        # Override the ini option for filterwarnings with an empty list to disable error on filterwarnings\n        # as testing the latest release API still works, not the release is warning free.\n        # Though still show warnings by setting warning control to 'default'.\n        export PYTHONWARNINGS='default'\n        pytest tests/test_public_api.py\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:48.002668", "created_at": "2024-05-25T01:12:17+02:00", "updated_at": "2024-05-25T01:12:17+02:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '23 3 * * 0'\n  push:\n    branches: [ \"main\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard (optional).\n      # Commenting out will disable upload of results to your repo's Code Scanning dashboard\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:49.131168", "created_at": "2022-05-26T04:49:10+02:00", "updated_at": "2022-05-26T04:49:10+02:00", "name": "Semantic Pull Request", "path": ".github/workflows/semantic-pr-check.yml", "contents": "name: Semantic Pull Request\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.number }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  main:\n\n    permissions:\n      pull-requests: read  # for amannn/action-semantic-pull-request to analyze PRs\n      statuses: write  # for amannn/action-semantic-pull-request to mark status of analyzed PR\n    name: Validate PR title\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check PR title matches Conventional Commits spec\n        uses: amannn/action-semantic-pull-request@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "scikit-hep/pyhf"}
{"mined_at": "2024-07-15T15:19:51.281643", "created_at": "2020-11-28T22:02:17+01:00", "updated_at": "2020-11-28T22:02:17+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - \"**\" # run on all branches\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements/production.txt\n            requirements/testing.txt\n            .pre-commit-config.yaml\n      - name: Install dependencies\n        run: |\n          pip install -r requirements/testing.txt\n      - name: CI\n        run: |\n          tox\n      - name: Upload coverage artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-${{ matrix.python-version }}\n          path: .coverage\n\n  coverage:\n    name: Process test coverage\n    runs-on: ubuntu-latest\n    needs: [\"build\"]\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements/production.txt\n            requirements/testing.txt\n            .pre-commit-config.yaml\n      - name: Install dependencies\n        run: |\n          pip install -r requirements/testing.txt\n      - name: Download all coverage artifacts\n        uses: actions/download-artifact@v4\n      - name: Create coverage report\n        run: |\n          coverage combine coverage-*/.coverage\n          coverage report --fail-under=94\n          coverage xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "xknx/xknx"}
{"mined_at": "2024-07-15T15:19:52.401498", "created_at": "2023-02-14T23:19:20+01:00", "updated_at": "2023-02-14T23:19:20+01:00", "name": "Pre-commit auto-update", "path": ".github/workflows/pre-commit-update.yml", "contents": "name: Pre-commit auto-update\n\non:\n  schedule:\n    - cron: \"0 8 15 * *\"\n  # on demand\n  workflow_dispatch:\n\njobs:\n  auto-update:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements/production.txt\n            requirements/testing.txt\n            .pre-commit-config.yaml\n      - name: Install dependencies\n        # needed for the mypy hook\n        run: |\n          pip install -r requirements/testing.txt\n      - name: Pre-commit auto-update\n        env:\n          # new branch is created in create-pull-request step\n          SKIP: no-commit-to-branch\n        run: |\n          pre-commit autoupdate\n      - uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          branch: update/pre-commit-hooks\n          title: Update pre-commit hooks\n          commit-message: \"update pre-commit hooks\"\n          labels: |\n            dependencies\n          body: |\n            Update versions of pre-commit hooks to latest version.\n            Run tests locally to check for conflicts since PRs from GitHub Actions don't trigger workflows.\n", "state": "active", "repository": "xknx/xknx"}
{"mined_at": "2024-07-15T15:19:53.634075", "created_at": "2020-04-10T18:24:40+02:00", "updated_at": "2020-08-14T19:38:27+02:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install build twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python -m build\n        twine upload dist/*\n", "state": "active", "repository": "xknx/xknx"}
{"mined_at": "2024-07-15T15:19:54.862833", "created_at": "2021-11-18T19:53:43+01:00", "updated_at": "2021-11-18T19:53:43+01:00", "name": "Stale", "path": ".github/workflows/stale.yml", "contents": "name: Stale\n\n# yamllint disable-line rule:truthy\non:\n  schedule:\n    - cron: \"0 9 * * 5\"\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      # The 90 day stale policy\n      # Used for:\n      # - Issues & PRs\n      # - No PRs marked as no-stale\n      # - No issues marked as no-stale or help-wanted\n      - name: 90 days stale issues & PRs policy\n        uses: actions/stale@v9\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          days-before-stale: 90\n          days-before-close: 7\n          operations-per-run: 150\n          remove-stale-when-updated: true\n          stale-issue-label: \"stale\"\n          exempt-issue-labels: \"no-stale,💡 feature request,🙋‍♂️ help wanted,🏗 in progress,👩‍💻 needs testing,🐜 bug\"\n          stale-issue-message: >\n            This issue has been automatically marked as stale because it has not had\n            recent activity. It will be closed if no further activity occurs.\n            Please make sure to update to the latest version of xknx (or Home Assistant) and\n            check if that solves the issue. Let us know if that works for you by\n            adding a comment 👍\n            This issue has now been marked as stale and will be closed if no\n            further activity occurs. Thank you for your contributions.\n          stale-pr-label: \"stale\"\n          exempt-pr-labels: \"no-stale,🙋‍♂️ help wanted,🏗 in progress,👩‍💻 needs testing,🐜 bug\"\n          stale-pr-message: >\n            There hasn't been any activity on this pull request recently. This\n            pull request has been automatically marked as stale because of that\n            and will be closed if no further activity occurs within 7 days.\n            Thank you for your contributions.\n", "state": "active", "repository": "xknx/xknx"}
{"mined_at": "2024-07-15T15:19:56.907501", "created_at": "2020-01-10T19:36:01+01:00", "updated_at": "2020-01-11T16:45:47+01:00", "name": "Publish distributions to PyPI and TestPyPI", "path": "", "contents": null, "state": "active", "repository": "zigpy/zha-device-handlers"}
{"mined_at": "2024-07-15T15:19:57.921186", "created_at": "2020-11-07T16:30:19+01:00", "updated_at": "2023-07-22T22:33:36+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - dev\n      - master\n  pull_request: ~\n\njobs:\n  shared-ci:\n    uses: zigpy/workflows/.github/workflows/ci.yml@main\n    with:\n      CODE_FOLDER: zhaquirks\n      CACHE_VERSION: 3\n      PYTHON_VERSION_DEFAULT: 3.12\n      PRE_COMMIT_CACHE_PATH:  ~/.cache/pre-commit\n      MINIMUM_COVERAGE_PERCENTAGE: 80\n      PYTHON_MATRIX: \"3.12\"\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "zigpy/zha-device-handlers"}
{"mined_at": "2024-07-15T15:19:59.166807", "created_at": "2019-12-20T13:41:59+01:00", "updated_at": "2023-08-01T20:42:00+02:00", "name": "Publish distributions to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish distributions to PyPI\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  shared-build-and-publish:\n    uses: zigpy/workflows/.github/workflows/publish-to-pypi.yml@main\n    secrets:\n      PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "zigpy/zha-device-handlers"}
{"mined_at": "2024-07-15T15:20:00.269348", "created_at": "2021-08-05T23:31:04+02:00", "updated_at": "2021-08-05T23:31:04+02:00", "name": "Stale", "path": ".github/workflows/stale.yml", "contents": "name: Stale\n\n# yamllint disable-line rule:truthy\non:\n  schedule:\n    - cron: \"0 * * * *\"\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      # The 180 day stale policy\n      # Used for:\n      # - Issues & PRs\n      # - No PRs marked as no-stale\n      # - No issues marked as no-stale or help-wanted\n      - name: 180 days stale issues & PRs policy\n        uses: actions/stale@v8\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          days-before-stale: 180\n          days-before-close: 7\n          operations-per-run: 150\n          remove-stale-when-updated: true\n          stale-issue-label: \"stale\"\n          exempt-issue-labels: \"no stale,help wanted\"\n          stale-issue-message: >\n            There hasn't been any activity on this issue recently. Due to the\n            high number of incoming GitHub notifications, we have to clean some\n            of the old issues, as many of them have already been resolved with\n            the latest updates.\n            Please make sure to update to the latest version and check if that\n            solves the issue. Let us know if that works for you by adding a\n            comment 👍\n            This issue has now been marked as stale and will be closed if no\n            further activity occurs. Thank you for your contributions.\n          stale-pr-label: \"stale\"\n          exempt-pr-labels: \"no stale\"\n          stale-pr-message: >\n            There hasn't been any activity on this pull request recently. This\n            pull request has been automatically marked as stale because of that\n            and will be closed if no further activity occurs within 7 days.\n            Thank you for your contributions.\n            \n      # The 60 day stale policy for issues\n      # Used for:\n      # - Issues that are pending more information (incomplete issues)\n      # - No Issues marked as no-stale or help-wanted\n      # - No PRs (-1)\n      - name: Needs more information stale issues policy\n        uses: actions/stale@v8\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          only-labels: \"needs more information\"\n          days-before-stale: 60\n          days-before-close: 7\n          days-before-pr-close: -1\n          operations-per-run: 50\n          remove-stale-when-updated: true\n          stale-issue-label: \"stale\"\n          exempt-issue-labels: \"no stale,help wanted\"\n          stale-issue-message: >\n            There hasn't been any activity on this issue recently. Due to the\n            high number of incoming GitHub notifications, we have to clean some\n            of the old issues, as many of them have already been resolved with\n            the latest updates.\n            Please make sure to update to the latest version and check if that\n            solves the issue. Let us know if that works for you by adding a\n            comment 👍\n            This issue has now been marked as stale and will be closed if no\n            further activity occurs. Thank you for your contributions.\n", "state": "active", "repository": "zigpy/zha-device-handlers"}
{"mined_at": "2024-07-15T15:20:02.953054", "created_at": "2020-06-21T16:39:53+02:00", "updated_at": "2021-11-20T12:00:11+01:00", "name": "Coverage", "path": ".github/workflows/coverage.yml", "contents": "name: Coverage\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\n  # Allow job to be triggered manually.\n  workflow_dispatch:\n\n# Cancel in-progress jobs when pushing to the same branch.\nconcurrency:\n  cancel-in-progress: true\n  group: ${{ github.workflow }}-${{ github.ref }}\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    name: Check code coverage\n    env:\n      OS: \"ubuntu-latest\"\n      PYTHON: \"3.12\"\n    steps:\n      - name: Acquire sources\n        uses: actions/checkout@v4\n\n      - name: Install Poetry\n        run: pipx install poetry\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          architecture: x64\n          cache: poetry\n          cache-dependency-path: |\n            pyproject.toml\n            poetry.lock\n\n      - name: Install project\n        run: .github/workflows/install.sh testing\n\n      - name: Run tests, with coverage\n        run: |\n          poetry run pytest --cov=wetterdienst tests/\n          poetry run coverage xml\n\n      - name: Upload coverage report to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n", "state": "active", "repository": "earthobservations/wetterdienst"}
{"mined_at": "2024-07-15T15:20:04.181939", "created_at": "2020-06-24T01:42:37+02:00", "updated_at": "2022-01-28T22:23:24+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  pull_request: ~\n  push:\n    branches: [ main ]\n\n  # Allow job to be triggered manually.\n  workflow_dispatch:\n\n# Cancel in-progress jobs when pushing to the same branch.\nconcurrency:\n  cancel-in-progress: true\n  group: ${{ github.workflow }}-${{ github.ref }}\n\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          # arm64 (M1)\n          - os: \"macos-14\"\n            python-version: \"3.12\"\n          # x86 (Intel)\n          - os: \"macos-latest\"\n            python-version: \"3.12\"\n          - os: \"windows-latest\"\n            python-version: \"3.12\"\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n\n    defaults:\n      run:\n        shell: bash\n\n    name: Python ${{ matrix.python-version }} on OS ${{ matrix.os }}\n    steps:\n      - name: Acquire sources\n        uses: actions/checkout@v4\n\n      # Workaround until pipx is available on M1 machines\n      # - https://github.com/actions/runner-images/issues/9256\n      # We install poetry using brew instead of pipx\n      - name: Install Poetry (Mac M1 only)\n        if: ${{ startsWith(matrix.os, 'macos-14') }}\n        run: brew install poetry\n\n      - name: Install Poetry\n        if: ${{ !startsWith(matrix.os, 'macos-14') }}\n        run: pipx install poetry\n\n      - name: Setup Python\n        if: ${{ !startsWith(matrix.os, 'macos-14') }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n          cache: poetry\n          cache-dependency-path: |\n            pyproject.toml\n            poetry.lock\n\n      - name: Setup Python (Mac M1 only)\n        if: ${{ startsWith(matrix.os, 'macos-14') }}\n        run: |\n          brew install pyenv\n          pyenv install ${{ matrix.python-version }}\n          pyenv global ${{ matrix.python-version }}\n\n          export PYENV_ROOT=\"$HOME/.pyenv\"\n          [[ -d $PYENV_ROOT/bin ]] && export PATH=\"$PYENV_ROOT/bin:$PATH\"\n          eval \"$(pyenv init -)\"\n\n      - name: Install eccodes (Mac only)\n        if: ${{ startsWith(matrix.os, 'macos-') }}\n        run: |\n          brew install eccodes\n          export WD_ECCODES_DIR=$(brew --prefix eccodes)\n\n      - name: Install project\n        run: .github/workflows/install.sh testing\n\n      - name: Install Jupyter kernel\n        run: poetry run python -m ipykernel install --name \"python3\" --user\n\n      - name: Run tests\n        run: |\n          poetry run pytest -vvv --numprocesses=auto -m \"not (explorer or cflake)\" tests\n          poetry run pytest -vvv -m cflake tests\n", "state": "active", "repository": "earthobservations/wetterdienst"}
{"mined_at": "2024-07-15T15:20:05.410425", "created_at": "2020-07-03T00:27:38+02:00", "updated_at": "2021-04-03T16:15:44+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  release:\n    types: [ published ]\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Acquire sources\n        uses: actions/checkout@v4\n\n      - name: Install Poetry\n        run: pipx install poetry\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          architecture: x64\n          cache: poetry\n          cache-dependency-path: |\n            pyproject.toml\n            poetry.lock\n\n      - name: Install project\n        run: .github/workflows/install.sh testing\n\n      - name: Build\n        run: poetry build\n\n      - name: Publish\n        run: poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "earthobservations/wetterdienst"}
{"mined_at": "2024-07-15T15:20:06.545298", "created_at": "2022-11-28T01:40:08+01:00", "updated_at": "2022-11-28T01:54:20+01:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v4\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v4\n", "state": "active", "repository": "earthobservations/wetterdienst"}
{"mined_at": "2024-07-15T15:20:07.657320", "created_at": "2023-03-02T01:12:32+01:00", "updated_at": "2023-03-03T08:57:37+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\n  # Allow job to be triggered manually.\n  workflow_dispatch:\n\n# Cancel in-progress jobs when pushing to the same branch.\nconcurrency:\n  cancel-in-progress: true\n  group: ${{ github.workflow }}-${{ github.ref }}\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Acquire sources\n        uses: actions/checkout@v4\n\n      - name: Install Poetry\n        run: pipx install poetry\n\n      - name: Setup Python\n        id: python-setup\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          architecture: x64\n          cache: poetry\n          cache-dependency-path: |\n            pyproject.toml\n            poetry.lock\n\n      - name: Install project tooling\n        run: poetry install --no-interaction --no-root --with=dev\n\n      - name: Run code-style checks\n        run: poetry run poe lint\n", "state": "active", "repository": "earthobservations/wetterdienst"}
{"mined_at": "2024-07-15T15:20:08.789306", "created_at": "2023-06-12T10:43:45+02:00", "updated_at": "2023-06-12T10:43:45+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "earthobservations/wetterdienst"}
{"mined_at": "2024-07-15T15:20:09.890124", "created_at": "2023-11-29T23:19:06+01:00", "updated_at": "2023-11-29T23:19:06+01:00", "name": "Deploy service", "path": ".github/workflows/deploy.yml", "contents": null, "state": "active", "repository": "earthobservations/wetterdienst"}
{"mined_at": "2024-07-15T15:20:11.044383", "created_at": "2024-01-27T00:24:25+01:00", "updated_at": "2024-01-27T00:24:25+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: CodeQL\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  schedule:\n    - cron: '26 4 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n        # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]\n        # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "earthobservations/wetterdienst"}
{"mined_at": "2024-07-15T15:20:12.271637", "created_at": "2024-02-25T18:54:33+01:00", "updated_at": "2024-07-11T23:14:40+02:00", "name": "Release Docker", "path": ".github/workflows/docker-publish.yml", "contents": "# Stage Docker images through GitHub Actions (GHA) to GitHub Container Registry (GHCR).\n#\n# Derived from:\n# https://github.com/crate/cratedb-prometheus-adapter/blob/main/.github/workflows/release.yml\nname: Release Docker\n\non:\n  push:\n    tags:\n      - '*.*.*'\n  pull_request:\n    branches: [ main ]\n\n  schedule:\n    - cron: '0 10 * * *' # everyday at 10am\n\n  # Allow job to be triggered manually.\n  workflow_dispatch:\n\n# Cancel in-progress jobs when pushing to the same branch.\nconcurrency:\n  cancel-in-progress: true\n  group: ${{ github.workflow }}-${{ github.ref }}\n\n# The name for the produced image at ghcr.io.\nenv:\n  IMAGE_NAME: \"${{ github.repository }}\"\n\njobs:\n  build_and_test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Acquire sources\n        uses: actions/checkout@v4\n\n      - name: Install Poetry\n        run: pipx install poetry\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          architecture: x64\n          cache: poetry\n\n      - name: Build wheel package\n        run: poetry build --format=wheel\n\n      - name: Upload wheel package\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ runner.os }}-wheel-${{ github.sha }}\n          path: dist/wetterdienst-*.whl\n          retention-days: 7\n\n      - name: Run tests\n        run: |\n          export DOCKER_BUILDKIT=1\n          export COMPOSE_DOCKER_CLI_BUILD=1\n          export BUILDKIT_PROGRESS=plain\n          if [[ -f .github/release/test.yml ]]; then\n            docker-compose --file .github/release/test.yml build\n            docker-compose --file .github/release/test.yml run sut\n          fi\n\n  docker:\n    needs: build_and_test\n    runs-on: ubuntu-latest\n    if: ${{ ! (startsWith(github.actor, 'dependabot') || github.event.pull_request.head.repo.fork ) }}\n\n    steps:\n      - name: Acquire sources\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Download wheel package\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ runner.os }}-wheel-${{ github.sha }}\n          path: dist\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          # List of Docker images to use as base name for tags\n          images: |\n            ghcr.io/${{ env.IMAGE_NAME }}\n          # Generate Docker tags based on the following events/attributes\n          tags: |\n            type=schedule,pattern=nightly\n            type=ref,event=pr\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n\n      - name: Inspect meta\n        run: |\n          echo \"Tags:      ${{ steps.meta.outputs.tags }}\"\n          echo \"Labels:    ${{ steps.meta.outputs.labels }}\"\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Cache Docker layers\n        uses: actions/cache@v4\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n\n      - name: Inspect builder\n        run: |\n          echo \"Name:      ${{ steps.buildx.outputs.name }}\"\n          echo \"Endpoint:  ${{ steps.buildx.outputs.endpoint }}\"\n          echo \"Status:    ${{ steps.buildx.outputs.status }}\"\n          echo \"Flags:     ${{ steps.buildx.outputs.flags }}\"\n          echo \"Platforms: ${{ steps.buildx.outputs.platforms }}\"\n\n      - name: Login to GHCR\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ github.token }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: .github/release/Dockerfile\n          platforms: linux/amd64  # in future we might want to add: linux/arm64,linux/arm/v7\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          push: true\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache-new\n\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n\n      - name: Display git status\n        run: |\n          set -x\n          git describe --tags\n          git status\n", "state": "active", "repository": "earthobservations/wetterdienst"}
{"mined_at": "2024-07-15T15:20:14.319682", "created_at": "2021-11-22T07:18:42+01:00", "updated_at": "2021-11-22T07:18:42+01:00", "name": "black", "path": ".github/workflows/black.yml", "contents": "# .github/workflows/black.yml\n# From https://github.com/ad-m/github-push-action#example-workflow-file\nname: black\n\non:\n  workflow_dispatch:\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n    - name: STEP actions/setup-python@v5\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n\n    - name: STEP pip install black\n      # if: steps.cache.outputs.cache-hit != 'true'\n      run: |\n          python -m pip install --upgrade pip\n          pip install black\n    - name: STEP actions/checkout@v4\n      uses: actions/checkout@v4\n      with:\n        persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.\n        fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.\n\n    - name: STEP black --check *.py\n      id: black\n      run: |\n        mapfile -t <<<\"$(find . -type f -iname \"*.py\")\"\n        ((${#MAPFILE[@]})) || { echo ERROR: No .py files found >&2 ; exit 1 ; }\n        rv=0\n        black --config .github/linters/.python-black --check \"${MAPFILE[@]}\" || rv=$?\n        ((rv==0)) && echo \"::set-output name=changes::false\" && exit 0\n        ((rv==1)) && echo \"::set-output name=changes::true\" && exit 0\n        exit $rv\n    - name: STEP black *.py\n      if: steps.black.outputs.changes == 'true'\n      run: |\n        mapfile -t <<<\"$(find . -type f -iname \"*.py\")\"\n        black --config .github/linters/.python-black \"${MAPFILE[@]}\"\n    - name: STEP git commit -m \"black\" -a\n      if: steps.black.outputs.changes == 'true'\n      run: |\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        git commit -m \"black\" -a\n    - name: STEP ad-m/github-push-action@master\n      if: steps.black.outputs.changes == 'true'\n      uses: ad-m/github-push-action@master\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        branch: ${{ github.ref }}\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:15.446042", "created_at": "2024-02-06T02:45:05+01:00", "updated_at": "2024-02-06T20:07:38+01:00", "name": "clean-workflows", "path": ".github/workflows/clean-logs.yml", "contents": "---\n# Copied from: rasa/dotfiles/.github/workflows/clean-logs.yml\n# EDIT THE ABOVE FILE, NOT THIS COPY, OR YOUR CHANGES WILL BE LOST!\n# yamllint disable rule:line-length\n# $schema https://json.schemastore.org/github-workflow.json\n# checkov:skip=CKV_GHA_7:The build output cannot be affected by user parameters\n#   other than the build entry point and the top-level source location.\n#   GitHub Actions workflow_dispatch inputs MUST be empty.\n\nname: clean-workflows\n\non: # yamllint disable-line rule:truthy\n  schedule:\n  # runs at 20:02 UTC (12:02 PST) every day.\n  - cron: \"02 20 * * *\"\n  #        ┬  ┬  ┬  ┬  ┬                               # *    : run every 5 min/every 1 hour/every 1 day/every 1 mon\n  #        │  │  │  │  └─ day of week (0-6 or SUN-SAT) # */X  : run every X min/every X hour/every X day/every X mon\n  #        │  │  │  └──── month (1-12 or JAN-DEC)      # A,B  : run when min/hour/day/mon = A or B\n  #        │  │  └─────── day of month (1-31)          # A-B  : run every min/hour/day/mon between A and B\n  #        │  └────────── hour (0-23) (UTC/GMT+0 time) # A-B/X: run every X min/hour/day/mon between A and B\n  #        └───────────── minute (0-59)                # Ex: '0 9-17/2 * * 1-5' : 9/11/1/3/5 on Mon/Tue/Wed/Thu/Fri\n  workflow_call: # Required so this workflow can be called from another workflow\n    inputs:\n      retain_days:\n        default: \"30\"\n        type: string\n      keep_minimum_runs:\n        default: \"6\"\n        type: string\n      delete_workflow_pattern:\n        type: string\n      delete_workflow_by_state_pattern:\n        default: ALL\n        type: string\n      delete_run_by_conclusion_pattern:\n        default: ALL\n        type: string\n      dry_run:\n        type: boolean\n      check_branch_existence:\n        default: \"Keep\"\n        type: string\n      check_pullrequest_exist:\n        default: \"Keep\"\n        type: string\n      repository:\n        type: string\n  \n  workflow_dispatch: # Allows you to run this workflow manually from the Actions tab\n    inputs:\n      # checkov:skip=CKV_GHA_7\n      retain_days:\n        description: Days to keep\n        # Days-worth of runs to keep for each workflow\n        required: true\n        default: \"30\"\n      # checkov:skip=CKV_GHA_7\n      keep_minimum_runs:\n        description: Runs to keep\n        # Minimum runs to keep for each workflow\n        required: true\n        default: \"6\"\n      # checkov:skip=CKV_GHA_7\n      delete_workflow_pattern:\n        description: \"Workflow name/filename (optional)\"\n        # Name or filename of the workflow (if not set, all workflows are targeted)\n      # checkov:skip=CKV_GHA_7\n      delete_workflow_by_state_pattern:\n        description: State to clean\n        # \"Filter workflows by state: active, deleted, disabled_fork, disabled_inactivity, disabled_manually\"\n        required: true\n        default: ALL\n        type: choice\n        options:\n          - ALL\n          - active\n          - deleted\n          - disabled_inactivity\n          - disabled_manually\n      # checkov:skip=CKV_GHA_7\n      delete_run_by_conclusion_pattern:\n        description: Conclusion to clean\n        # \"Remove runs based on conclusion: action_required, cancelled, failure, skipped, success\"\n        required: true\n        default: ALL\n        type: choice\n        options:\n          - ALL\n          - \"Unsuccessful: action_required,cancelled,failure,skipped\"\n          - action_required\n          - cancelled\n          - failure\n          - skipped\n          - success\n      # checkov:skip=CKV_GHA_7\n      dry_run:\n        description: Dry run only\n        type: boolean\n      # checkov:skip=CKV_GHA_7\n      check_branch_existence:\n        description: Clean workflows of existing branches\n        # If the workflow was triggered by a branch, the branch must be deleted before the workflow run is deleted as well.\n        default: \"Keep\"\n        type: choice\n        options:\n          - \"Keep\"\n          - \"Delete\"\n      # checkov:skip=CKV_GHA_7\n      check_pullrequest_exist:\n        description: Clean workflows for active PRs\n        # If the run is linked to a pull request, the deletion is skipped.\n        default: \"Keep\"\n        type: choice\n        options:\n          - \"Keep\"\n          - \"Delete\"\n      # checkov:skip=CKV_GHA_7\n      repository:\n        description: Repository (user/repo) (optional)\n        # (default is current repository).\n        type: string\n        default: \"\"\n\nconcurrency:\n  # Group workflow jobs so new commits cancels in-progress execution triggered by previous commits.\n  # Source: https://mail.python.org/archives/list/pypa-committers@python.org/thread/PCBCQMJF64JGRBOX7E2EE4YLKHT4DI55/\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n\njobs:\n  clean-logs:\n    runs-on: ubuntu-latest\n    steps:\n      # Was crazy-max/ghaction-dump-context@v2.1.0\n      # but it reports a deprecation error:\n      # Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v6.\n      - name: rasa/ghaction-dump-context@master\n        uses: rasa/ghaction-dump-context@master\n\n      - name: Scheduled run (github.event_name == 'schedule')\n        if: github.event_name == 'schedule'\n        uses: rasa/delete-workflow-runs@main\n        with:\n          repository: ${{ github.repository }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          retain_days: \"30\" # default: 30\n          keep_minimum_runs: \"6\" # default: 6\n          check_branch_existence: \"Keep\" # default: Keep\n          check_pullrequest_exist: \"Keep\" # default: Keep\n\n      - name: Non-scheduled run (github.event_name != 'schedule')\n        if: github.event_name != 'schedule'\n        uses: rasa/delete-workflow-runs@main\n        with:\n          repository: ${{ github.event.inputs.repository || github.repository }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          retain_days: ${{ github.event.inputs.retain_days }}\n          keep_minimum_runs: ${{ github.event.inputs.keep_minimum_runs }}\n          delete_workflow_pattern: ${{ github.event.inputs.delete_workflow_pattern }}\n          delete_workflow_by_state_pattern: ${{ github.event.inputs.delete_workflow_by_state_pattern }}\n          delete_run_by_conclusion_pattern: ${{\n              startsWith(github.event.inputs.delete_run_by_conclusion_pattern, 'Unsuccessful:')\n              && 'action_required,cancelled,failure,skipped'\n              || github.event.inputs.delete_run_by_conclusion_pattern\n            }}\n          check_branch_existence: ${{ startsWith(github.event.inputs.check_branch_existence, 'Keep') && 'Y' || '' }}\n          check_pullrequest_exist: ${{ startsWith(github.event.inputs.check_pullrequest_exist, 'Keep') && 'Y' || '' }}\n          dry_run: ${{ (github.event.inputs.dry_run == true) && 'Y' || '' }}\n\n# cSpell:ignore ghaction, Mattraks, pullrequest\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:16.573315", "created_at": "2024-02-06T02:45:05+01:00", "updated_at": "2024-02-06T02:45:05+01:00", "name": "codeql", "path": ".github/workflows/codeql.yml", "contents": "---\n# Copied from: rasa/dotfiles/.github/workflows/codeql.yml\n# EDIT THE ABOVE FILE, NOT THIS COPY, OR YOUR CHANGES WILL BE LOST!\n# $schema https://json.schemastore.org/github-workflow.json\nname: codeql\n\non: # yamllint disable-line rule:truthy\n  workflow_dispatch: # Allows you to run this workflow manually from the Actions tab\n  # push:\n  # branches:\n  #   - main\n  # pull_request:\n  # branches:\n  #   - main\n\njobs:\n  job:\n    # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest\n    runs-on: ubuntu-latest\n\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4.1.1\n        with:\n          show-progress: false\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        # Override language selection by uncommenting this and choosing your languages\n        # with:\n        #   languages: go, javascript, csharp, python, cpp, java, ruby\n\n      # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below).\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following\n      #    three lines and modify them (or add more) to build your code if your\n      #    project uses a compiled language\n\n      # - run: |\n      #     make bootstrap\n      #     make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n#\n#\n\n# cSpell:ignore Autobuild, autobuild\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:17.584416", "created_at": "2024-02-06T02:45:05+01:00", "updated_at": "2024-02-06T02:45:05+01:00", "name": "debug-matrix", "path": ".github/workflows/debug-matrix.yml", "contents": "---\r\n# $schema https://json.schemastore.org/github-workflow.json\r\n# ./.github/workflows/debug-matrix.yaml\r\n# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#preinstalled-software\r\n# yamllint disable rule:line-length\r\n\r\nname: debug-matrix\r\n\r\non: # yamllint disable-line rule:truthy\r\n  # pull_request:\r\n  #   branches:\r\n  #     - main\r\n  push:\r\n    branches:\r\n      - main\r\n      - master # @TODO remove\r\n    paths:\r\n      - .github/scripts/debug-*\r\n      - .github/workflows/debug-matrix.yaml\r\n  workflow_call: # Required so this workflow can be called from another workflow\r\n  workflow_dispatch: # Allows you to run this workflow manually from the Actions tab\r\n\r\nconcurrency:\r\n  group: ${{ github.workflow }}\r\n  cancel-in-progress: true\r\n\r\njobs:\r\n  debug-matrix:\r\n    runs-on: ${{ matrix.os }}\r\n    continue-on-error: true\r\n    defaults:\r\n      run:\r\n        # Docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell\r\n        shell: bash --noprofile --norc -e -u -o pipefail -v -x {0}\r\n    strategy:\r\n      fail-fast: false\r\n      max-parallel: 1\r\n      # Docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners\r\n      matrix:\r\n        os:\r\n          # https://github.com/actions/runner-images/tree/main#available-images\r\n          # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources\r\n          - ubuntu-latest  # aka ubuntu-22.04\r\n          - windows-latest # aka windows-2022\r\n          - macos-latest   # aka macos-12\r\n          - macos-13       # beta\r\n          # is this coming?:\r\n          # - macos-13-arm64 # https://github.com/actions/runner-images/blob/main/images/macos/macos-13-arm64-Readme.md\r\n          # - ubuntu-20.04\r\n          # - windows-2019\r\n          # - macos-11\r\n    steps:\r\n      - name: USES crazy-max/ghaction-dump-context@v2.3.0\r\n        uses: crazy-max/ghaction-dump-context@v2.3.0\r\n\r\n      - if: runner.os == 'Linux'\r\n        name: List installed apt/snap packages (Linux)\r\n        continue-on-error: true\r\n        run: |\r\n          # bash: List installed apt/snap packages (Linux)\r\n          echo \"apt --manual-installed:\"\r\n          apt list --manual-installed | sort\r\n          echo \"apt list --installed:\"\r\n          apt list --installed | sort\r\n          # echo \"apt-mark:\"\r\n          # apt-mark showmanual\r\n          echo \"snap list:\"\r\n          snap list | sort\r\n\r\n      - if: runner.os == 'macOS'\r\n        name: List installed pkgutil/brew packages (macOS)\r\n        continue-on-error: true\r\n        run: |\r\n          # bash: List installed pkgutil/brew packages (macOS)\r\n          echo \"pkgutil:\"\r\n          pkgutil --pkgs | sort\r\n          echo \"brew list:\"\r\n          brew list --versions | sort || true\r\n\r\n      - if: runner.os == 'Windows'\r\n        name: USES MinoruSekine/setup-scoop@main\r\n        uses: MinoruSekine/setup-scoop@main\r\n        with:\r\n          buckets: extras versions\r\n        continue-on-error: true\r\n\r\n      - if: runner.os == 'Windows'\r\n        name: List installed choco/scoop/winget packages (Windows)\r\n        shell: cmd\r\n        continue-on-error: true\r\n        run: |\r\n          @rem cmd: List installed choco/scoop/winget packages (Windows)\r\n\r\n          echo scoop --version:\r\n          call scoop --version\r\n\r\n          echo choco --version:\r\n          choco --version\r\n\r\n          echo winget --version (if installed):\r\n          where /q winget && winget --version\r\n\r\n          echo scoop list:\r\n          call scoop list\r\n\r\n          echo choco list:\r\n          choco list --include-programs --yes\r\n\r\n          @rem main/git main/innounp main/dark main/lessmsi\r\n          call scoop install --skip --no-update-scoop main/7zip\r\n          call scoop install --skip --no-update-scoop versions/winget-preview\r\n\r\n          echo winget list:\r\n          winget list --disable-interactivity --accept-source-agreements | sort\r\n\r\n          echo winget --info:\r\n          winget --info --disable-interactivity\r\n\r\n          @rem https://github.com/actions/runner-images/issues/6472#issue-1422886379\r\n          @rem yamllint disable rule:line-length\r\n          @rem yamllint disable\r\n          @rem yamllint disable-line rule:line-length\r\n          @rem Invoke-WebRequest -Uri 'https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx' -OutFile 'VCLibs.appx' | Out-Null # automatically downloads latest version\r\n          @rem yamllint disable-line rule:line-length\r\n          @rem Invoke-WebRequest -Uri 'https://github.com/microsoft/winget-cli/releases/download/latest/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle' -OutFile 'winget.msixbundle' | Out-Null\r\n          @rem yamllint disable-line rule:line-length\r\n          @rem $ReleaseInfo = Invoke-RestMethod 'https://api.github.com/repos/microsoft/winget-cli/releases/latest'\r\n          @rem yamllint disable-line rule:line-length\r\n          @rem Invoke-WebRequest -Uri $ReleaseInfo.assets.Where({ $_.name.EndsWith('License1.xml') }).browser_download_url -OutFile 'license.xml' | Out-Null # because the prefix of the file changes with every release\r\n          @rem yamllint disable-line rule:line-length\r\n          @rem Add-AppxProvisionedPackage -Online -PackagePath winget.msixbundle -LicensePath license.xml -DependencyPackagePath VCLibs.appx | Out-Null\r\n          @rem yamllint enable\r\n\r\n      # - if: false # runner.os == 'Windows'\r\n      #   shell: powershell\r\n      #   run: |\r\n      #     $hasPackageManager = Get-AppPackage -name 'Microsoft.DesktopAppInstaller'\r\n      #     if (!$hasPackageManager -or [version]$hasPackageManager.Version -lt [version]\"1.10.0.0\") {\r\n      #       \"Installing winget Dependencies\"\r\n      #       Add-AppxPackage -Path 'https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx'\r\n      #       $releases_url = 'https://api.github.com/repos/microsoft/winget-cli/releases/latest'\r\n\r\n      #       [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12\r\n      #       # yamllint disable-line rule:line-length\r\n      #       $releases = Invoke-RestMethod -uri $releases_url\r\n      #       $latestRelease = $releases.assets | Where { $_.browser_download_url.EndsWith('msixbundle') } | Select -First 1\r\n\r\n      #       \"Installing winget from $($latestRelease.browser_download_url)\"\r\n      #       Add-AppxPackage -Path $latestRelease.browser_download_url\r\n      #     } else {\r\n      #       \"winget already installed\"\r\n      #     }\r\n      #     #### Creating settings.json #####\r\n      #     if ([System.Security.Principal.WindowsIdentity]::GetCurrent().IsSystem) {\r\n      #       # yamllint disable-line rule:line-length\r\n      #       $SettingsPath = \"$Env:windir\\system32\\config\\systemprofile\\AppData\\Local\\Microsoft\\WinGet\\Settings\\settings.json\"\r\n      #     } else {\r\n      #      # yamllint disable-line rule:line-length\r\n      #       $SettingsPath = \"$env:LOCALAPPDATA\\Packages\\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\\LocalState\\settings.json\"\r\n      #     }\r\n      #     if (Test-Path $SettingsPath) {\r\n      #       $ConfigFile = Get-Content -Path $SettingsPath | Where-Object {$_ -notmatch '//'} | ConvertFrom-Json\r\n      #     }\r\n      #     if (!$ConfigFile){\r\n      #       $ConfigFile = @{}\r\n      #     }\r\n      #     if ($ConfigFile.installBehavior.preferences.scope) {\r\n      #       $ConfigFile.installBehavior.preferences.scope = \"Machine\"\r\n      #     } else {\r\n      #       Add-Member -InputObject $ConfigFile -MemberType NoteProperty -Name 'installBehavior' -Value $(\r\n      #         New-Object PSObject -Property $(@{preferences = $(\r\n      #           New-Object PSObject -Property $(@{scope = \"Machine\"}))\r\n      #         })\r\n      #       ) -Force\r\n      #     }\r\n      #     $ConfigFile | ConvertTo-Json | Out-File $SettingsPath -Encoding utf8 -Force\r\n\r\n      - name: USES actions/checkout\r\n        uses: actions/checkout@v4.1.1\r\n        with:\r\n          show-progress: false\r\n\r\n      # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell\r\n      # - if: contains(fromJSON('[\"Linux\", \"macOS\"]'), runner.os)\r\n      - name: RUN sh ./.github/scripts/debug*.sh\r\n        # default: sh -e {0}\r\n        shell: sh -e -v -x {0}\r\n        continue-on-error: true\r\n        run: |\r\n          mapfile -t < <(find ./.github/scripts -name 'debug*.sh') || true\r\n          for script in \"${MAPFILE[@]}\"; do\r\n            \"${script}\" \"$0\" \"$@\" || true\r\n          done\r\n\r\n      - name: RUN bash ./.github/scripts/debug*.bash\r\n        # default: bash --noprofile --norc -eo pipefail {0}\r\n        # shell: bash\r\n        continue-on-error: true\r\n        run: |\r\n          mapfile -t < <(find ./.github/scripts -name 'debug*.bash') || true\r\n          for script in \"${MAPFILE[@]}\"; do\r\n            \"${script}\" \"$0\" \"$@\" || true\r\n          done\r\n\r\n      - name: RUN bash ./.github/scripts/debug*.bash\r\n        # default: bash --noprofile --norc -eo pipefail {0}\r\n        shell: bash\r\n        continue-on-error: true\r\n        run: |\r\n          mapfile -t < <(find ./.github/scripts -name 'debug*.bash') || true\r\n          for script in \"${MAPFILE[@]}\"; do\r\n            \"${script}\" \"$0\" \"$@\" || true\r\n          done\r\n\r\n      - name: RUN pwsh ./.github/scripts/debug*.ps1\r\n        # default: pwsh -command \". '{0}'\"\r\n        shell: pwsh -Noninteractive -command \". '{0}'\"\r\n        continue-on-error: true\r\n        run: |\r\n          Get-ChildItem \".github\\scripts\\debug*.ps1\" | Foreach-Object { & $_.FullName \"pwsh\" }\r\n          Exit 0\r\n\r\n      - if: runner.os == 'Windows'\r\n        name: RUN powershell ./.github/scripts/debug*.ps1 (Windows)\r\n        # default: powershell -command \". '{0}'\"\r\n        shell: powershell -Noninteractive -command \". '{0}'\"\r\n        continue-on-error: true\r\n        run: |\r\n          Get-ChildItem \".github\\scripts\\debug*.ps1\" | Foreach-Object { & $_.FullName \"powershell\" }\r\n          Exit 0\r\n\r\n      - if: runner.os == 'Windows'\r\n        name: RUN cmd .github/scripts/debug*.cmd (Windows)\r\n        # default: %ComSpec% /D /E:ON /V:OFF /S /C \"CALL \"{0}\"\"\r\n        # /D     Ignore registry AutoRun commands\r\n        # /E:ON  Enable CMD Command Extensions\r\n        # /V:OFF Disable delayed environment variable expansion\r\n        # /S     Strip \" quote characters from command.\r\n        # /C     Run Command and then terminate\r\n        shell: 'cmd /D /E:ON /V:ON /S /C \"CALL \"{0}\"\"'\r\n        continue-on-error: true\r\n        run: |\r\n          for %%A in (.github\\scripts\\debug*.ps1) do \"%%~A\" \"%~fs0\" %*\r\n          exit 0\r\n\r\n      - if: runner.os == 'Linux'\r\n        name: RUN list executables (Linux)\r\n        continue-on-error: true\r\n        run: |\r\n          # list executables (Linux)\r\n          IFS=: read -r -a paths <<<\"${PATH}\"\r\n          find \"${paths[@]}\" -maxdepth 1 -type f,l -executable -printf '%P\\t%h\\n' | \\\r\n            LC_COLLATE=C sort --ignore-case -u | \\\r\n            column -ts $'\\t' || true\r\n\r\n      - if: runner.os == 'macOS'\r\n        name: RUN list executables (macOS)\r\n        continue-on-error: true\r\n        run: |\r\n          # list executables (macOS)\r\n          which bash\r\n          which sh\r\n          IFS=: read -r -a paths <<<\"${PATH}\"\r\n          find \"${paths[@]}\" -maxdepth 1 -perm +111 -type f -or -type l -print | \\\r\n            awk '{b=$0;sub(/\\/.*\\//,\"\", b);sub(/\\/[a-z]*$/,\"\",$0);print b \"\\t\" $0}' | \\\r\n            LC_COLLATE=C sort --ignore-case -u | \\\r\n            column -ts $'\\t' || true\r\n\r\n      - if: runner.os == 'Windows'\r\n        name: RUN list executables (Windows)\r\n        shell: bash\r\n        continue-on-error: true\r\n        run: |\r\n          # list executables (Windows)\r\n          set -vx\r\n          IFS=: read -r -a paths <<<\"${PATH}\"\r\n          find \"${paths[@]}\" -maxdepth 1 -type f,l -regextype posix-extended -iregex '.*\\.(bat|cmd|com|exe)$' -printf '%P\\t%h\\n' | \\\r\n            LC_COLLATE=C sort --ignore-case -u | \\\r\n            column -ts $'\\t' || true\r\n\r\n      - name: RUN python (inline)\r\n        # default: python {0}\r\n        # note: this is python2 on macos-12\r\n        shell: python\r\n        continue-on-error: true\r\n        run: |\r\n          # python (inline)\r\n          import os\r\n          import pprint\r\n          import sys\r\n          print(\"os.name=%s\" % os.name)\r\n          print(\"sys.executable=%s\" % sys.executable)\r\n          print(\"sys.argv=\")\r\n          pprint.pprint(sys.argv)\r\n          print(\"sys.version=%s\" % sys.version)\r\n          print(\"sys.platform=%s\" % sys.platform)\r\n          print(\"os.environ=\")\r\n          pprint.pprint(dict(os.environ), width=4096)\r\n          sys.exit(0)\r\n\r\n      - # if: runner.os == 'Linux'\r\n        name: RUN install pip\r\n        continue-on-error: true\r\n        run: |\r\n          # install pip\r\n          set -x\r\n          type -P pip >/dev/null && exit 0\r\n          PYTHON=$(type -P python3 python py python2 | head -n 1 || true)\r\n          # shellcheck disable=SC2139 # This expands when defined, not when used. Consider escaping\r\n          alias pip=\"${PYTHON} -m pip\"\r\n          sudo=$(type -P sudo || true)\r\n\r\n          pyversion=$(\"${PYTHON}\" -c 'import sys; print(sys.version_info[0]);')\r\n\r\n          if command -v apt-get >/dev/null; then\r\n            sudo apt-get -qq -y update\r\n\r\n            if ((pyversion>2)); then\r\n              sudo apt-get -qq -y install python3-pip\r\n              exit 0\r\n            fi\r\n\r\n            sudo apt-get -qq -y install python-pip\r\n            exit 0\r\n          fi\r\n\r\n          GET_PIP_URL==https://bootstrap.pypa.io/pip/2.7/get-pip.py\r\n          curl -s -o get-pip.py \"${GET_PIP_URL}\"\r\n\r\n          ${sudo} \"${PYTHON}\" get-pip.py\r\n\r\n      - name: RUN upgrade pip\r\n        shell: bash\r\n        continue-on-error: true\r\n        run: |\r\n          # upgrade pip\r\n          set -x\r\n          PYTHON=$(type -P python3 python py python2 | head -n 1 || true)\r\n          if ! type -P pip >/dev/null; then\r\n            # shellcheck disable=SC2139 # This expands when defined, not when used. Consider escaping\r\n            alias pip=\"${PYTHON} -m pip\"\r\n          fi\r\n          sudo=$(type -P sudo || true)\r\n\r\n          ${sudo} \"${PYTHON}\" -m pip install --upgrade pip\r\n\r\n      - name: RUN pip list\r\n        shell: bash\r\n        continue-on-error: true\r\n        run: |\r\n          # pip list\r\n          set -x\r\n          PYTHON=$(type -P python3 python py python2 | head -n 1 || true)\r\n          if ! type -P pip >/dev/null; then\r\n            # shellcheck disable=SC2139 # This expands when defined, not when used. Consider escaping\r\n            alias pip=\"${PYTHON} -m pip\"\r\n          fi\r\n\r\n          echo \"pip list:\"\r\n          pip list\r\n          echo \"pip list --outdated:\"\r\n          pip list --outdated\r\n\r\n      - name: RUN pip install future\r\n        shell: bash\r\n        continue-on-error: true\r\n        run: |\r\n          # pip install future\r\n          set -vx\r\n          PYTHON=$(type -P python3 python py python2 | head -n 1 || true)\r\n          if ! type -P pip >/dev/null; then\r\n            # shellcheck disable=SC2139 # This expands when defined, not when used. Consider escaping\r\n            alias pip=\"${PYTHON} -m pip\"\r\n          fi\r\n          sudo=$(type -P sudo || true)\r\n\r\n          if pip show future >/dev/null; then\r\n            exit 0\r\n          fi\r\n\r\n          py_version=$(\"${PYTHON}\" -c 'import sys; print(sys.version_info[0]);')\r\n\r\n          if command -v apt-get >/dev/null; then\r\n            if ((py_version==3)); then\r\n              app=python3-future\r\n            else\r\n              app=python-future\r\n            fi\r\n            ${sudo} apt-get -y install \"${app}\"\r\n            if pip show future >/dev/null; then\r\n              exit 0\r\n            fi\r\n          fi\r\n\r\n          ${sudo} pip --no-python-version-warning --no-input install future\r\n          if pip show future >/dev/null; then\r\n            exit 0\r\n          fi\r\n\r\n          # --root-user-action=ignore\r\n          ${sudo} pip install --upgrade setuptools\r\n\r\n          # https://github.com/PythonCharmers/python-future/issues/604\r\n          PYTHON_FUTURE_URL=\"https://github.com/PythonCharmers/python-future/archive/master.tar.gz\"\r\n          curl -s \"${PYTHON_FUTURE_URL}\" | tar xzf -\r\n\r\n          cd python-future-master/src\r\n          ${sudo} \"${PYTHON}\" setup.py install\r\n          cd ..\r\n          rm -fr python-future-master\r\n\r\n          pip show future\r\n          exit $?\r\n\r\n      - name: RUN python .github/scripts/debug*.py (via os.system)\r\n        # default: python {0}\r\n        # note: this is python2 on macos-12\r\n        shell: python\r\n        continue-on-error: true\r\n        run: |\r\n          # python .github/scripts/debug*.py (via os.system)\r\n          import glob\r\n          import os\r\n          import sys\r\n          scripts = glob.iglob(\"./.github/scripts/debug*.py\")\r\n          for script in scripts:\r\n            args = [sys.executable, script]\r\n            args += sys.argv[:1]\r\n            print(\"Executing %s\" % \" \".join(args))\r\n            os.system(\" \".join(args))\r\n          sys.exit(0)\r\n\r\n      - name: RUN python3 (inline)\r\n        shell: python3 {0}\r\n        continue-on-error: true\r\n        run: |\r\n          # python3 (inline)\r\n          import os\r\n          import pprint\r\n          import sys\r\n          print(\"os.name=%s\" % os.name)\r\n          print(\"sys.executable=%s\" % sys.executable)\r\n          print(\"sys.argv=\")\r\n          pprint.pprint(sys.argv)\r\n          print(\"sys.version=%s\" % sys.version)\r\n          print(\"sys.platform=%s\" % sys.platform)\r\n          print(\"os.environ=\")\r\n          pprint.pprint(dict(os.environ), width=4096)\r\n          sys.exit(0)\r\n\r\n      - name: RUN python3 .github/scripts/debug*.py (via subprocess.run)\r\n        shell: python3 {0}\r\n        continue-on-error: true\r\n        run: |\r\n          # python3 .github/scripts/debug*.py (via subprocess.run)\r\n          import glob\r\n          import pprint\r\n          import subprocess\r\n          import sys\r\n          scripts = glob.iglob(\"./.github/scripts/debug*.py\")\r\n          for script in scripts:\r\n            args = [sys.executable, script]\r\n            args += sys.argv[:1]\r\n            print(\"Executing %s\" % \" \".join(args))\r\n            rv = subprocess.run(args)\r\n            print(\"rv=\")\r\n            pprint.pprint(rv)\r\n          sys.exit(0)\r\n\r\n      - name: RUN python3 .github/scripts/debug*.py (via subprocess.run/shell=true)\r\n        shell: python3 {0}\r\n        continue-on-error: true\r\n        run: |\r\n          # python3 .github/scripts/debug*.py (via subprocess.run/shell=true)\r\n          import glob\r\n          import pprint\r\n          import subprocess\r\n          import sys\r\n          scripts = glob.iglob(\"./.github/scripts/debug*.py\")\r\n          for script in scripts:\r\n            args = [sys.executable, script]\r\n            args += sys.argv[:1]\r\n            print(\"Executing %s\" % \" \".join(args))\r\n            rv = subprocess.run(args, shell=True)\r\n            print(\"rv:\")\r\n            pprint.pprint(rv)\r\n            print('stdout:')\r\n            pprint.pprint(rv.stdout)\r\n            print('stderr:')\r\n            pprint.pprint(rv.stderr)\r\n          sys.exit(0)\r\n\r\n      - name: RUN python .github/scripts/debug-vars.py\r\n        shell: python .github/scripts/debug-vars.py {0}\r\n        continue-on-error: true\r\n        run: |\r\n          # shell: python .github/scripts/debug-vars.py {0}\r\n\r\n      - name: RUN python3 .github/scripts/debug-vars.py\r\n        shell: python3 .github/scripts/debug-vars.py {0}\r\n        continue-on-error: true\r\n        run: |\r\n          # shell: python3 .github/scripts/debug-vars.py {0}\r\n\r\n# cspell:ignore\r\n\r\n# cSpell:ignore bbwe, choco, innounp, iregex, lessmsi, Minoru, msixbundle\r\n# cSpell:ignore Noninteractive, noprofile, norc, pkgs, pyversion, regextype, Sekine\r\n# cSpell:ignore showmanual, wekyb, winget\r\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:18.709583", "created_at": "2024-02-06T02:45:05+01:00", "updated_at": "2024-02-06T02:45:05+01:00", "name": "debug-rasa", "path": ".github/workflows/debug-rasa.yml", "contents": "---\r\n# $schema https://json.schemastore.org/github-workflow.json\r\n# ./.github/workflows/debug-rasa.yaml\r\n# checkov:skip=CKV_GHA_7:The build output cannot be affected by user parameters\r\n#   other than the build entry point and the top-level source location.\r\n#   GitHub Actions workflow_dispatch inputs MUST be empty.\r\n\r\nname: debug-rasa\r\n\r\nenv:\r\n  WORKFLOW_USER: rasa\r\n  WORKFLOW_REPO: workflows\r\n\r\non: # yamllint disable-line rule:truthy\r\n  # push:\r\n  #   branches:\r\n  #     - main\r\n  # pull_request:\r\n  #   branches:\r\n  #     - main\r\n  workflow_call: # Required so this workflow can be called from another workflow\r\n    inputs:\r\n      workflow_user:\r\n        description: \"Github user name (default is 'rasa')\"\r\n        required: false\r\n        type: string\r\n      workflow_repo:\r\n        description: \"Github repository name (default is 'workflows')\"\r\n        required: false\r\n        type: string\r\n  workflow_dispatch: # Allows you to run this workflow manually from the Actions tab\r\n    inputs:\r\n      # checkov:skip=CKV_GHA_7\r\n      workflow_user:\r\n        description: \"Github user name (default is 'rasa')\"\r\n        required: false\r\n        type: string\r\n      # checkov:skip=CKV_GHA_7\r\n      workflow_repo:\r\n        description: \"Github repository name (default is 'workflows')\"\r\n        required: false\r\n        type: string\r\n\r\nconcurrency:\r\n  group: ${{ github.workflow }}\r\n  cancel-in-progress: true\r\n\r\njobs:\r\n  debug-rasa:\r\n    runs-on: ubuntu-22.04\r\n    steps:\r\n      - name: set vars\r\n        run: |\r\n          printf 'WORKFLOW_USER=%s\\n' \"${{ inputs.workflow_user }}\" >> \"${GITHUB_ENV}\"\r\n          printf 'WORKFLOW_REPO=%s\\n' \"${{ inputs.workflow_repo }}\" >> \"${GITHUB_ENV}\"\r\n      - name: USES crazy-max/ghaction-dump-context@v2.3.0\r\n        uses: crazy-max/ghaction-dump-context@v2.3.0\r\n        with:\r\n          workflow_user: ${{ inputs.workflow_user }}\r\n          workflow_repo: ${{ inputs.workflow_repo }}\r\n        env:\r\n          WORKFLOW_USER: ${{ env.WORKFLOW_USER }}\r\n          WORKFLOW_REPO: ${{ env.WORKFLOW_REPO }}\r\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:19.742140", "created_at": "2024-02-06T02:45:05+01:00", "updated_at": "2024-02-06T02:45:05+01:00", "name": "dependabot", "path": ".github/workflows/dependabot.yml", "contents": "---\n# Copied from: rasa/dotfiles/.github/workflows/dependabot.yml\n# EDIT THE ABOVE FILE, NOT THIS COPY, OR YOUR CHANGES WILL BE LOST!\n# $schema https://json.schemastore.org/github-workflow.json\n\nname: dependabot\n\non: # yamllint disable-line rule:truthy\n  # See https://stackoverflow.com/a/74959635\n  pull_request_target:\n    branches:\n      - main\n      - master # @TODO remove\n  push:\n    branches:\n      - main\n      - master # @TODO remove\n  workflow_call: # Required so this workflow can be called from another workflow\n  workflow_dispatch: # Allows you to run this workflow manually from the Actions tab\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  job:\n    runs-on: ubuntu-latest\n    # See https://github.com/dependabot/fetch-metadata?tab=readme-ov-file#enabling-auto-merge\n    if: startsWith(github.event.pull_request.user.login, 'dependabot')\n    steps:\n      - name: Dependabot metadata\n        id: dependabot-metadata\n        uses: dependabot/fetch-metadata@v2.1.0\n\n      - name: Enable auto-merge for Dependabot PRs\n        # if: steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch'\n        run: gh pr merge --auto --merge \"$PR_URL\"\n        env:\n          PR_URL: ${{ github.event.pull_request.html_url }}\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:20.839939", "created_at": "2022-02-12T23:46:55+01:00", "updated_at": "2022-02-12T23:46:55+01:00", "name": "Excavator", "path": ".github/workflows/excavator.yml", "contents": "on:\n  workflow_dispatch:\n  schedule:\n    # run every 4 hours\n    - cron: '20 */4 * * *'\nname: Excavator\njobs:\n  excavate:\n    name: Excavate\n    runs-on: windows-2022 # was windows-latest\n    steps:\n    - uses: actions/checkout@main\n    - name: Excavate\n      uses: ScoopInstaller/GithubActions@main\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        SKIP_UPDATED: '1'\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:21.945537", "created_at": "2020-10-31T18:05:22+01:00", "updated_at": "2020-10-31T18:05:22+01:00", "name": "Issues", "path": ".github/workflows/issue.yml", "contents": "on:\n  issues:\n    types: [ opened, labeled ]\nname: Issues\njobs:\n  issueHandler:\n    runs-on: ubuntu-latest\n    name: Issue Verification\n    steps:\n      - uses: actions/checkout@main\n      - name: Verify Issue\n        uses: Ash258/Scoop-GithubActions@stable\n        if: github.event.action == 'opened' || (github.event.action == 'labeled' && contains(github.event.issue.labels.*.name, 'verify'))\n        env:\n          GITH_EMAIL: ross@smithii.com\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:22.987415", "created_at": "2020-10-31T18:05:22+01:00", "updated_at": "2020-10-31T18:05:22+01:00", "name": "Commented Pull Request", "path": ".github/workflows/issue_comment.yml", "contents": "on:\n  issue_comment:\n    types: [ created ]\nname: Commented Pull Request\njobs:\n  pullRequestHandler:\n    name: Pull Request Validator\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@main\n    - name: Pull Request Validation\n      uses: Ash258/Scoop-GithubActions@stable\n      if: startsWith(github.event.comment.body, '/verify')\n      env:\n        GITH_EMAIL: ross@smithii.com\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:23.986998", "created_at": "2022-02-13T14:50:38+01:00", "updated_at": "2024-02-06T02:45:05+01:00", "name": "mega-linter", "path": ".github/workflows/mega-linter.yml", "contents": "---\r\n# Copied from: rasa/dotfiles/.github/workflows/mega-linter.yml\r\n# EDIT THE ABOVE FILE, NOT THIS COPY, OR YOUR CHANGES WILL BE LOST!\r\n# yamllint disable rule:line-length\r\n# $schema https://json.schemastore.org/github-workflow.json\r\n# checkov:skip=CKV_GHA_7:The build output cannot be affected by user parameters\r\n#   other than the build entry point and the top-level source location.\r\n#   GitHub Actions workflow_dispatch inputs MUST be empty.\r\n\r\nname: mega-linter\r\n\r\n# Trigger mega-linter at every push. Action will also be visible from Pull\r\n# Requests to main\r\non: # yamllint disable-line rule:truthy\r\n  # Comment this line to trigger action only on pull-requests\r\n  # (not recommended if you don't pay for GH Actions)\r\n  push:\r\n    branches:\r\n      - main\r\n      - master # @TODO remove\r\n  pull_request:\r\n    branches:\r\n      - main\r\n      - master # @TODO remove\r\n\r\n# <@rasa>\r\n  workflow_call: # Required so this workflow can be called from another workflow\r\n    inputs:\r\n      # checkov:skip=CKV_GHA_7\r\n      fetch_depth:\r\n        # description: \"Number of commits to fetch. 0 indicates all history for all branches and tags.\"\r\n        type: string\r\n        default: \"1\"\r\n      # checkov:skip=CKV_GHA_7\r\n      validate_all_codebase:\r\n        # description: \"Validate the entire code base (enter any value)\"\r\n        type: string\r\n        default: \"true\"\r\n  workflow_dispatch: # Allows you to run this workflow manually from the Actions tab\r\n    inputs:\r\n      # checkov:skip=CKV_GHA_7\r\n      fetch_depth:\r\n        description: \"Number of commits to fetch. 0 indicates all history for all branches and tags.\"\r\n        type: string\r\n        default: \"1\"\r\n      # checkov:skip=CKV_GHA_7\r\n      validate_all_codebase:\r\n        description: \"Validate the entire code base.\"\r\n        type: choice\r\n        options:\r\n          - \"false\"\r\n          - \"true\"\r\n        default: \"true\"\r\n\r\nconcurrency:\r\n  group: ${{ github.workflow }}\r\n  cancel-in-progress: true\r\n# </@rasa>\r\n\r\n# Comment env block if you do not want to apply fixes\r\nenv:\r\n  # Apply linter fixes configuration\r\n  #\r\n  # When active, APPLY_FIXES must also be defined as environment variable\r\n  # (in github/workflows/mega-linter.yml or other CI tool)\r\n  APPLY_FIXES: all\r\n\r\n  # Decide which event triggers application of fixes in a commit or a PR\r\n  # (pull_request, push, all)\r\n  APPLY_FIXES_EVENT: all # was `pull_request` changed by @rasa\r\n\r\n  # If APPLY_FIXES is used, defines if the fixes are directly committed (commit)\r\n  # or posted in a PR (pull_request)\r\n  APPLY_FIXES_MODE: commit\r\n\r\njobs:\r\n  megalinter:\r\n    name: MegaLinter\r\n    runs-on: ubuntu-latest\r\n\r\n    # <@rasa>\r\n    # defaults:\r\n    #   run:\r\n    #     shell: bash --noprofile --norc -v -x {0}\r\n    # </@rasa>\r\n\r\n    # Give the default GITHUB_TOKEN write permission to commit and push, comment\r\n    # issues & post new PR; remove the ones you do not need\r\n    permissions:\r\n      contents: write\r\n      issues: write\r\n      pull-requests: write\r\n\r\n    steps:\r\n      # Git Checkout\r\n      - name: Checkout Code\r\n        uses: actions/checkout@v4.1.1 # was v4, changed by @rasa\r\n        with:\r\n          token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}\r\n\r\n          # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to\r\n          # improve performance\r\n          fetch-depth: ${{ inputs.fetch_depth }} # added by @rasa\r\n          show-progress: false # added by @rasa\r\n\r\n      # <@rasa>\r\n      - name: output debug vars\r\n        run: |\r\n          cat <<-EOF\r\n          inputs=${{ toJSON(inputs) }}\r\n          EOF\r\n      # </@rasa>\r\n\r\n      # MegaLinter\r\n      - name: MegaLinter\r\n\r\n        # You can override MegaLinter flavor used to have faster performances\r\n        # More info at https://megalinter.io/flavors/\r\n        uses: oxsecurity/megalinter@v7.12.0 # changed from v7 by @rasa\r\n\r\n        id: ml\r\n\r\n        # All available variables are described in documentation\r\n        # https://megalinter.io/configuration/\r\n        env:\r\n\r\n          # Validates all source when push on main, else just the git diff with\r\n          # main. Override with true if you always want to lint all sources\r\n          #\r\n          # To validate the entire codebase, set to:\r\n          # VALIDATE_ALL_CODEBASE: true\r\n          #\r\n          # To validate only diff with main, set to:\r\n          # VALIDATE_ALL_CODEBASE: >-\r\n          #   ${{\r\n          #     github.event_name == 'push' &&\r\n          #     contains(fromJSON('[\"refs/heads/main\", \"refs/heads/master\"]'), github.ref)\r\n          #   }}\r\n          VALIDATE_ALL_CODEBASE: >-\r\n            ${{\r\n              inputs.validate_all_codebase == 'true' ||\r\n              github.event_name == 'push' &&\r\n              contains(fromJSON('[\"refs/heads/main\", \"refs/heads/master\"]'), github.ref)\r\n            }}\r\n\r\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\r\n\r\n          # ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE\r\n          # .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY\r\n\r\n          # Uncomment to disable copy-paste and spell checks\r\n          # DISABLE: COPYPASTE,SPELL\r\n\r\n      # Upload MegaLinter artifacts\r\n      - name: Archive production artifacts\r\n        uses: actions/upload-artifact@v4.3.3 # changed from v3 by @rasa\r\n        if: success() || failure() # changed by @rasa: was ${{ success() }} || ${{ failure() }}\r\n        with:\r\n          name: MegaLinter reports\r\n          path: |\r\n            megalinter-reports\r\n            mega-linter.log\r\n\r\n      # <@rasa>\r\n      - name: Remove production artifacts\r\n        continue-on-error: true\r\n        run: |\r\n          sudo chown -Rc \"${UID}\" megalinter-reports mega-linter.log || true\r\n          sudo chmod a+w megalinter-reports mega-linter.log || true\r\n          sudo rm -fr megalinter-reports mega-linter.log || true\r\n      # - name: USES crazy-max/ghaction-dump-context@v2.1.0\r\n      #   uses: crazy-max/ghaction-dump-context@v2.1.0\r\n\r\n      - name: output debug vars\r\n        run: |\r\n          cat <<-EOF\r\n          steps.ml.outputs=${{ toJSON(steps.ml.outputs) }}\r\n          EOF\r\n      # </@rasa>\r\n\r\n      # Set APPLY_FIXES_IF var for use in future steps\r\n      - name: Set APPLY_FIXES_IF var\r\n        run: |\r\n          printf 'APPLY_FIXES_IF=%s\\n' \"${{\r\n            steps.ml.outputs.has_updated_sources == 1 &&\r\n            (\r\n              env.APPLY_FIXES_EVENT == 'all' ||\r\n              env.APPLY_FIXES_EVENT == github.event_name\r\n            ) &&\r\n            (\r\n              github.event_name == 'push' ||\r\n              github.event.pull_request.head.repo.full_name == github.repository\r\n            )\r\n          }}\" >> \"${GITHUB_ENV}\"\r\n\r\n      # Set APPLY_FIXES_IF_* vars for use in future steps\r\n      - name: Set APPLY_FIXES_IF_* vars\r\n        run: |\r\n          printf 'APPLY_FIXES_IF_PR=%s\\n' \"${{\r\n            env.APPLY_FIXES_IF == 'true' &&\r\n            env.APPLY_FIXES_MODE == 'pull_request'\r\n          }}\" >> \"${GITHUB_ENV}\"\r\n          printf 'APPLY_FIXES_IF_COMMIT=%s\\n' \"${{\r\n            env.APPLY_FIXES_IF == 'true' &&\r\n            env.APPLY_FIXES_MODE == 'commit' &&\r\n            (!contains(fromJSON('[\"refs/heads/main\", \"refs/heads/master\"]'), github.ref))\r\n          }}\" >> \"${GITHUB_ENV}\"\r\n\r\n      # Create pull request if applicable\r\n      # (for now works only on PR from same repository, not from forks)\r\n      - name: Create Pull Request with applied fixes\r\n        uses: peter-evans/create-pull-request@v6.1.0 # changed from v5 by @rasa\r\n        id: cpr\r\n        if: env.APPLY_FIXES_IF_PR == 'true'\r\n        with:\r\n          token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}\r\n          commit-message: \"[MegaLinter] Apply linters automatic fixes\"\r\n          title: \"[MegaLinter] Apply linters automatic fixes\"\r\n          labels: bot\r\n\r\n      - name: Create PR output\r\n        if: env.APPLY_FIXES_IF_PR == 'true'\r\n        run: |\r\n          echo \"PR Number - ${{ steps.cpr.outputs.pull-request-number }}\"\r\n          echo \"PR URL - ${{ steps.cpr.outputs.pull-request-url }}\"\r\n\r\n      # Push new commit if applicable\r\n      # (for now works only on PR from same repository, not from forks)\r\n      - name: Prepare commit\r\n        if: env.APPLY_FIXES_IF_COMMIT == 'true'\r\n        run: sudo chown -Rc $UID .git/\r\n\r\n      - name: Commit and push applied linter fixes\r\n        uses: stefanzweifel/git-auto-commit-action@v5.0.1 # changed from v4 by @rasa\r\n        if: env.APPLY_FIXES_IF_COMMIT == 'true'\r\n        with:\r\n          branch: >-\r\n            ${{\r\n              github.event.pull_request.head.ref ||\r\n              github.head_ref ||\r\n              github.ref\r\n            }}\r\n          commit_message: \"[MegaLinter] Apply linters fixes\"\r\n          commit_user_name: megalinter-bot\r\n          commit_user_email: nicolas.vuillamy@ox.security\r\n\r\n# cspell:ignore stefanzweifel\r\n\r\n# cSpell:ignore noprofile, norc\r\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:25.087910", "created_at": "2020-10-31T18:05:22+01:00", "updated_at": "2020-10-31T18:05:22+01:00", "name": "Pull Requests", "path": ".github/workflows/pull_request.yml", "contents": "on:\n  pull_request:\n    types: [ opened ]\nname: Pull Requests\njobs:\n  pullRequestHandler:\n    name: Pull Request Validator\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@main\n    - name: Pull Request Validation\n      uses: Ash258/Scoop-GithubActions@stable\n      env:\n        GITH_EMAIL: ross@smithii.com\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:26.079568", "created_at": "2024-02-06T02:45:05+01:00", "updated_at": "2024-02-06T02:45:05+01:00", "name": "pydeps", "path": ".github/workflows/pydeps.yml", "contents": "---\n# Copied from: rasa/dotfiles/.github/workflows/pydeps.yml\n# EDIT THE ABOVE FILE, NOT THIS COPY, OR YOUR CHANGES WILL BE LOST!\n# checkov:skip=CKV_GHA_7:The build output cannot be affected by user parameters\n#   other than the build entry point and the top-level source location.\n#   GitHub Actions workflow_dispatch inputs MUST be empty.\n# $schema https://json.schemastore.org/github-workflow.json\n\nname: pydeps\n\nenv:\n  DEFAULT_MASK: \"**/*requirements*.txt\"\n\non: # yamllint disable-line rule:truthy\n  schedule:\n    # run every day at 15:17 UTC (07:17 PST/08:17 PDT)\n    - cron: \"17 15 * * *\"\n    #        ┬  ┬  ┬  ┬  ┬                               # *    : run every 5 min/every 1 hour/every 1 day/every 1 mon\n    #        │  │  │  │  └─ day of week (0-6 or SUN-SAT) # */X  : run every X min/every X hour/every X day/every X mon\n    #        │  │  │  └──── month (1-12 or JAN-DEC)      # A,B  : run when min/hour/day/mon = A or B\n    #        │  │  └─────── day of month (1-31)          # A-B  : run every min/hour/day/mon between A and B\n    #        │  └────────── hour (0-23) (UTC/GMT+0)      # A-B/X: run every X min/hour/day/mon between A and B\n    #        └───────────── minute (0-59)                # Ex: '0 9-17/2 * * 1-5' : 9/11/1/3/5 on Mon/Tue/Wed/Thu/Fri\n  push:\n    branches:\n      - main\n      - master # @TODO remove\n    paths:\n      - \"**/*requirements*.txt\"\n  workflow_call:\n    inputs:\n      # checkov:skip=CKV_GHA_7\n      mask:\n        type: string\n        default: \"**/*requirements*.txt\"\n        description: \"File mask for requirements*.txt file(s)\"\n  workflow_dispatch: # Allows you to run this workflow manually from the Actions tab\n    inputs:\n      # checkov:skip=CKV_GHA_7\n      mask:\n        type: string\n        default: \"**/*requirements*.txt\"\n        description: \"File mask for requirements*.txt file(s)\"\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  job:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        # force Windows to use bash:\n        shell: bash\n        # shell: bash -v -x {0}\n        # shell: bash --noprofile --norc -e -o pipefail {0}\n    strategy:\n      fail-fast: true\n      max-parallel: 1\n      # yamllint disable-line rule:line-length\n      # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners\n      matrix:\n        os:\n          - ubuntu-latest # aka ubuntu-22.04\n          # - windows-latest # aka windows-2022\n          # - macos-latest # aka macos-12 (macos-13 in beta)\n        python-version:\n          # - \"3.10\"\n          - \"3.11\"\n          # - \"3.12\"\n    steps:\n      - name: USES actions/checkout@v4.1.1\n        uses: actions/checkout@v4.1.1\n        with:\n          show-progress: false\n\n      - name: RUN gather file list\n        continue-on-error: true\n        run: |\n          mask=\"${{ inputs.mask || env.DEFAULT_MASK }}\"\n          printf \"mask=%s\\n\" \"${mask}\"\n          dir=$(dirname \"${mask}\")\n          base=$(basename \"${mask}\")\n          if [[ \"${dir}\" == \"**\" ]]; then\n            dir=.\n            depth=99\n          else\n            depth=1\n          fi\n          mapfile -t < <(find \"${dir}\" -maxdepth \"${depth}\" -type f -iname \"${base}\")\n          printf 'Found %d files matching %s:\\n' \"${#MAPFILE[@]}\" \"${mask}\"\n          typeset -p MAPFILE\n          serialized=$(typeset -p MAPFILE | base64 -w 0)\n          printf 'len(serialized)=%d\\n' \"${#serialized}\"\n          printf 'serialized=%s\\n' \"${serialized}\" >>\"${GITHUB_ENV}\"\n          # fail if MAPFILE is empty\n          ((${#MAPFILE[@]}>0))\n\n      - name: RUN find duplicate packages, if any, across all requirements files\n        if: success()\n        run: |\n          set -v -x\n          serialized=\"${serialized:-}\"\n          printf 'len(serialized)=%d\\n' \"${#serialized}\"\n          deserialized=$(base64 -d <<<\"${serialized}\")\n          printf 'len(deserialized)=%d\\n' \"${#deserialized}\"\n          eval \"${deserialized}\"\n          mask=\"${{ inputs.mask || env.DEFAULT_MASK }}\"\n          printf 'Found %d files matching %s:\\n' \"${#MAPFILE[@]}\" \"${mask}\"\n          tmp1=$(mktemp)\n          cat \"${MAPFILE[@]}\" \\\n            | grep -E '^\\s*[^#]' \\\n            | sed -E 's/\\s+//g' \\\n            | sort -u \\\n            | sed -E 's/[<>~!]+/=/g' \\\n            | cut -d'=' -f 1 \\\n            | sort \\\n            | uniq -d > \"${tmp1}\"\n          printf \"Duplicates found: \"\n          wc -l < \"${tmp1}\"\n          if [[ -s \"${tmp1}\" ]]; then\n            printf \"\\n\"\n            cat \"${tmp1}\"\n            printf \"\\n\"\n            sed -e 's/^/\\^/g' \"${tmp1}\" \\\n              | grep -H -f - \"${MAPFILE[@]}\" \\\n              | sed \"s|^|::notice::|g\"\n          fi\n          exit 0\n\n      - name: USES actions/setup-python@v5.0.0\n        if: success()\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          # yamllint disable-line rule:line-length\n          # see https://stackoverflow.com/questions/73789054/reusable-github-action-workflow-with-actions-setup-python-fails-because-it-cant\n          # cache: 'pip'\n          # cache-dependency-path: '${{ inputs.mask }}'\n\n      - name: RUN pip install --upgrade pip\n        if: success()\n        run: |\n          python -m pip install --upgrade pip\n\n      - name: RUN pip install pipdeptree pipreqs pur\n        if: success()\n        run: |\n          pip install pipdeptree pipreqs pur\n\n      - name: RUN sed -E -i.bak -e '/^\\s*#/d; /^\\s*$/d;' requirements.txt\n        if: success()\n        run: |\n          eval \"$(base64 -d <<<\"${serialized}\")\"\n          sed -E -i.bak -e '/^\\s*#/d; /^\\s*$/d;' \"${MAPFILE[@]}\"\n          pr -f -n \"${MAPFILE[@]}\" \\\n            | tr -s '\\n'\n\n      - name: RUN pipreqs --print --diff requirements.txt\n        if: success()\n        run: |\n          eval \"$(base64 -d <<<\"${serialized}\")\"\n          for file in \"${MAPFILE[@]}\"; do\n            printf '\\n%s:\\n' \"${file}\"\n            pipreqs --print --diff \"${file}\" 2>/dev/null || true\n          done\n\n      - name: RUN pur --dry-run --dry-run-changed --no-recursive --requirement requirements.txt\n        if: success()\n        run: |\n          eval \"$(base64 -d <<<\"${serialized}\")\"\n          for file in \"${MAPFILE[@]}\"; do\n            printf '\\n%s: ' \"${file}\"\n            out=$(\n              pur --dry-run --dry-run-changed --no-recursive --requirement \"${file}\" \\\n                | grep -v '==>' || true\n            )\n            if [[ -z \"${out}\" ]]; then\n              printf 'no changes found\\n'\n              continue\n            fi\n            printf 'changes found:\\n%s\\n' \"${out}\"\n            # shellcheck disable=SC2001\n            sed \"s|^|::notice::${file}:|g\" <<<\"${out}\"\n          done\n\n      - name: RUN pur --no-recursive --requirement requirements.txt\n        if: success()\n        run: |\n          eval \"$(base64 -d <<<\"${serialized}\")\"\n          for file in \"${MAPFILE[@]}\"; do\n              printf '\\n%s: ' \"${file}\"\n              out=$(\n                pur --no-recursive --requirement \"${file}\" \\\n                  | grep -v '==>' || true\n              )\n              if grep -q 'All requirements up-to-date' <<<\"${out}\"; then\n                printf 'no changes found\\n'\n                continue\n              fi\n              printf 'changes found:\\n%s\\n' \"${out}\"\n              # shellcheck disable=SC2001\n              sed \"s|^|::notice::${file}:|g\" <<<\"${out}\"\n          done\n\n      - name: RUN pip install -r requirements.txt\n        if: success()\n        run: |\n          eval \"$(base64 -d <<<\"${serialized}\")\"\n          for file in \"${MAPFILE[@]}\"; do\n            printf '\\n%s: ' \"${file}\"\n            pip install -r \"${file}\" || true\n          done\n\n      - name: RUN pipdeptree --warn silence\n        if: success()\n        run: |\n          pipdeptree --warn silence || true\n\n      - name: RUN pipdeptree --freeze --warn silence | grep -E '^[a-zA-Z0-9\\-]+'\n        if: success()\n        run: |\n          pipdeptree --freeze --warn silence \\\n            | grep -E '^[a-zA-Z0-9\\-]+' || true\n\n# cspell:ignore pipreqs\n\n# cSpell:ignore noprofile, norc, pipdeptree, pydeps\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:27.127885", "created_at": "2024-02-06T02:45:05+01:00", "updated_at": "2024-02-06T02:45:05+01:00", "name": "toc", "path": ".github/workflows/toc.yml", "contents": "---\n# Copied from: rasa/dotfiles/.github/workflows/toc.yml\n# EDIT THE ABOVE FILE, NOT THIS COPY, OR YOUR CHANGES WILL BE LOST!\n# $schema https://json.schemastore.org/github-workflow.json\n\nname: toc\n\non: # yamllint disable-line rule:truthy\n  pull_request:\n    branches:\n      - main\n      - master # @TODO remove\n    paths:\n      - \"**/*.md\"\n  push:\n    paths:\n      - \"**/*.md\"\n  workflow_dispatch: # Allows you to run this workflow manually from the Actions tab\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  job:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    env:\n      GH_TOC_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - name: USES actions/checkout@v4.1.1\n        uses: actions/checkout@v4.1.1\n        with:\n          show-progress: false\n\n      - name: RUN gh-md-toc\n        run: |\n          curl -fsSL --output gh-md-toc https://raw.githubusercontent.com/ekalinin/github-markdown-toc/HEAD/gh-md-toc\n          chmod a+x gh-md-toc\n          find . -type f -iname '*.md' -exec ./gh-md-toc --indent 0 --no-backup --hide-footer --skip-header {} \\;\n          rm -f gh-md-toc\n          true\n\n      - name: USES stefanzweifel/git-auto-commit-action@v5.0.1\n        uses: stefanzweifel/git-auto-commit-action@v5.0.1\n        with:\n          commit_message: \"docs: auto update table-of-contents in markdown\"\n\n# cSpell:ignore stefanzweifel\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:28.246724", "created_at": "2022-02-12T01:17:51+01:00", "updated_at": "2022-02-12T23:47:37+01:00", "name": "update-readme", "path": ".github/workflows/update-readme.yml", "contents": "---\n# From https://github.com/hoilc/scoop-lemon/blob/master/.github/workflows/make_index.yml\non:\n  schedule:\n    # Run daily at 00:59 UTC\n    - cron: '59 0 * * *'\n  workflow_dispatch:\n\nname: update-readme\n\njobs:\n  update-readme:\n    name: update-readme\n    # if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n        # unused:\n        # cache: 'pip' # caching pip dependencies\n\n    - uses: actions/checkout@v4\n    - run: |\n        python makeindex.py\n\n    - uses: EndBug/add-and-commit@v9\n      with:\n        add: 'README.md'\n        # branch: master\n        # author_name: Ross Smith II\n        # author_email: ross@smithii.com\n        message: 'chore: update app index [ci skip]'\n\n\n# eof\n", "state": "active", "repository": "rasa/scoops"}
{"mined_at": "2024-07-15T15:20:30.502281", "created_at": "2022-12-22T19:22:09+01:00", "updated_at": "2022-12-22T19:22:09+01:00", "name": ".github/workflows/main.yml", "path": ".github/workflows/main.yml", "contents": "on:\n  push:\n    branches:\n    - master\n    - develop\n    - feature/*\n    \njobs:\n  gen_docs:\n    name: generate DOAJ documentation and fuctional tests and push to the docs repo\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pages: write\n      statuses: write\n    \n    steps:\n      - name: checkout the branch of interest\n        uses: actions/checkout@v3\n        with: \n          path: doaj\n\n      - name: checkout the documentation repo\n        uses: actions/checkout@v3\n        with:\n          path: doaj-docs\n          repository: DOAJ/doaj-docs\n          token: ${{ secrets.STEVE_PAT_DOAJ_ACTIONS_DOCS }}\n          fetch-depth: 0\n\n      - name: set up a python 3.8 environment\n        uses: actions/setup-python@v4.4.0\n        with:\n          python-version: 3.8\n        \n      - name: install elasticsearch\n        uses: getong/elasticsearch-action@v1.2\n        with:\n          # for some reason 7.10.2 isn't on docker hub\n          elasticsearch version: 7.10.1\n      \n      - name: install the DOAJ dependencies\n        run: |\n          cd $GITHUB_WORKSPACE/doaj\n          pip install -e .[test]\n          pip install -e .[docs]\n          \n      - name: run the docs generation script and push to the docs repo\n        run: |\n          export DOAJENV=test\n          cd $GITHUB_WORKSPACE/doaj/docs\n          sh gendocs.sh --nocov\n          cd $GITHUB_WORKSPACE/doaj-docs\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git add .\n          git commit -m \"GH Actions docs run for ${{ github.ref_name }}\"\n          git push\n", "state": "active", "repository": "doaj/doaj"}
{"mined_at": "2024-07-15T15:20:31.523478", "created_at": "2023-10-18T12:43:49+02:00", "updated_at": "2023-10-18T12:43:49+02:00", "name": "Sync Feature Branch with Develop", "path": ".github/workflows/sync_branch.yml", "contents": null, "state": "active", "repository": "doaj/doaj"}
{"mined_at": "2024-07-15T15:20:34.704063", "created_at": "2022-11-28T19:05:56+01:00", "updated_at": "2022-11-29T14:38:04+01:00", "name": "autofix.ci", "path": ".github/workflows/autofix.yml", "contents": "name: autofix.ci\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  autofix:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: .github/python-version.txt\n      - run: pip install -e .[dev]\n      - run: ruff --fix-only .\n      - run: ruff format .\n\n      - run: web/gen/all\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version-file: .github/node-version.txt\n      - name: Run prettier\n        run: |\n          npm ci\n          npm run prettier\n        working-directory: web\n\n      - uses: mhils/add-pr-ref-in-changelog@main\n\n      - uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a\n", "state": "active", "repository": "mitmproxy/mitmproxy"}
{"mined_at": "2024-07-15T15:20:35.827120", "created_at": "2019-12-19T20:53:35+01:00", "updated_at": "2023-01-15T22:57:16+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - '**'\n      - '!dependabot/**'\n  pull_request:\n  merge_group:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    uses: mhils/workflows/.github/workflows/python-tox.yml@main\n    with:\n      cmd: tox -e lint\n\n  filename-matching:\n    uses: mhils/workflows/.github/workflows/python-tox.yml@main\n    with:\n      cmd: tox -e filename_matching\n\n  mypy:\n    uses: mhils/workflows/.github/workflows/python-tox.yml@main\n    with:\n      cmd: tox -e mypy\n\n  individual-coverage:\n    uses: mhils/workflows/.github/workflows/python-tox.yml@main\n    with:\n      cmd: tox -e individual_coverage\n\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            py: \"3.12\"\n          - os: windows-latest\n            py: \"3.12\"\n          - os: macos-latest\n            py: \"3.12\"\n          - os: ubuntu-latest\n            py: \"3.11\"\n          - os: ubuntu-latest\n            py: \"3.10\"\n    runs-on: ${{ matrix.os }}\n    steps:\n      - run: printenv\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.py }}\n      - run: pip install tox\n      - run: tox -e py\n        if: matrix.os != 'ubuntu-latest'\n      - name: Run tox -e py (without internet)\n        run: |\n          # install dependencies (requires internet connectivity)\n          tox -e py --notest  \n          # run tests with loopback only. We need to sudo for unshare, which means we need an absolute path for tox.\n          sudo unshare --net -- sh -c \"ip link set lo up; $(which tox) -e py\"\n        if: matrix.os == 'ubuntu-latest'\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./coverage.xml\n\n  test-old-dependencies:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: .github/python-version.txt\n      - run: pip install tox-uv\n      - run: tox -e old-dependencies\n\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - image: macos-14\n            platform: macos-arm64\n          - image: macos-12\n            platform: macos-x86_64\n          - image: windows-2019\n            platform: windows\n          - image: ubuntu-20.04  # Oldest available version so we get oldest glibc possible.\n            platform: linux\n    runs-on: ${{ matrix.image }}\n    env:\n      CI_BUILD_KEY: ${{ secrets.CI_BUILD_KEY }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: .github/python-version.txt\n      - if: matrix.platform == 'windows'\n        uses: actions/cache@v4\n        with:\n          path: release/installbuilder/setup\n          key: installbuilder\n      - run: pip install .[dev]  # pyinstaller 5.9 does not like pyproject.toml + editable installs.\n\n      - if: startsWith(matrix.platform, 'macos') && github.repository == 'mitmproxy/mitmproxy'\n            && (startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/'))\n        id: keychain\n        uses: apple-actions/import-codesign-certs@63fff01cd422d4b7b855d40ca1e9d34d2de9427d\n        with:\n          keychain: ${{ runner.temp }}/temp\n          p12-file-base64: ${{ secrets.APPLE_CERTIFICATE }}\n          p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}\n      - if: startsWith(matrix.platform, 'macos') && github.repository == 'mitmproxy/mitmproxy'\n            && (startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/'))\n        run: |\n          python -u release/build.py macos-app \\\n            --keychain \"${{ runner.temp }}/temp.keychain\" \\\n            --team-id \"S8XHQB96PW\" \\\n            --apple-id \"${{ secrets.APPLE_ID }}\" \\\n            --password \"${{ secrets.APPLE_APP_PASSWORD }}\"\n\n      # Linux\n      - if: matrix.platform == 'linux'\n        run: python -u release/build.py standalone-binaries wheel\n\n      # Windows\n      - if: matrix.platform == 'windows'\n        run: python -u release/build.py standalone-binaries\n      - if: matrix.platform == 'windows' && github.repository == 'mitmproxy/mitmproxy' &&\n            (github.ref == 'refs/heads/citest' || startsWith(github.ref, 'refs/tags/'))\n        run: python -u release/build.py --dirty installbuilder-installer msix-installer\n\n      - uses: actions/upload-artifact@v4\n        with:\n          # artifacts must have different names, see https://github.com/actions/upload-artifact/issues/24\n          name: binaries.${{ matrix.platform }}\n          path: |\n            release/dist\n\n  test-web-ui:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: actions/setup-node@v4\n        with:\n          node-version-file: .github/node-version.txt\n      - name: Cache Node.js modules\n        uses: actions/cache@v4\n        with:\n          # npm cache files are stored in `~/.npm` on Linux/macOS\n          path: ~/.npm\n          key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}\n          restore-keys: |\n            ${{ runner.OS }}-node-\n            ${{ runner.OS }}-\n      - working-directory: ./web\n        run: npm ci\n      - working-directory: ./web\n        run: npm test\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./web/coverage/coverage-final.json\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: .github/python-version.txt\n      - run: |\n          wget -q https://github.com/gohugoio/hugo/releases/download/v0.92.1/hugo_extended_0.92.1_Linux-64bit.deb\n          echo \"a9440adfd3ecce40089def287dee4e42ffae252ba08c77d1ac575b880a079ce6 hugo_extended_0.92.1_Linux-64bit.deb\" | sha256sum -c\n          sudo dpkg -i hugo*.deb\n      - run: pip install -e .[dev]\n      - run: ./docs/build.py\n      - uses: actions/upload-artifact@v4\n        with:\n          name: docs\n          path: docs/public\n      # For releases, also build the archive version of the docs.\n      - if: startsWith(github.ref, 'refs/tags/')\n        run: ./docs/build.py\n        env:\n          DOCS_ARCHIVE: true\n      - if: startsWith(github.ref, 'refs/tags/')\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs-archive\n          path: docs/public\n\n  check:\n    if: always()\n    needs:\n    - lint\n    - filename-matching\n    - mypy\n    - individual-coverage\n    - test\n    - test-old-dependencies\n    - test-web-ui\n    - build\n    - docs\n    uses: mhils/workflows/.github/workflows/alls-green.yml@main\n    with:\n      jobs: ${{ toJSON(needs) }}\n\n  # Separate from everything else because slow.\n  build-and-deploy-docker:\n    if: github.repository == 'mitmproxy/mitmproxy' && (\n      github.ref == 'refs/heads/main'\n      || github.ref == 'refs/heads/citest'\n      || startsWith(github.ref, 'refs/tags/')\n      )\n    environment: deploy-docker\n    needs: check\n    runs-on: ubuntu-latest\n    env:\n      DOCKER_USERNAME: mitmbot\n      DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: .github/python-version.txt\n      - uses: actions/download-artifact@v4\n        with:\n          name: binaries.linux\n          path: release/dist\n      - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0\n      - uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v1.6.0\n      - run: python release/build-and-deploy-docker.py\n\n  deploy:\n    # This action has access to our AWS keys, so we are extra careful here.\n    # In particular, we don't blindly `pip install` anything to minimize the risk of supply chain attacks.\n    if: github.repository == 'mitmproxy/mitmproxy' && (startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/'))\n    environment: ${{ (github.ref == 'refs/heads/citest' || startsWith(github.ref, 'refs/tags/')) && 'deploy-release' || 'deploy-snapshot' }}\n    needs: check\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      attestations: write\n    env:\n      # PyPI and MSFT keys are only available for the deploy-release environment\n      # The AWS access key for snapshots is scoped to branches/* as well.\n      TWINE_USERNAME: __token__\n      TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      AWS_DEFAULT_REGION: us-west-2\n      MSFT_APP_ID: 9NWNDLQMNZD7\n      MSFT_TENANT_ID: ${{ secrets.MSFT_TENANT_ID }}\n      MSFT_CLIENT_ID: ${{ secrets.MSFT_CLIENT_ID }}\n      MSFT_CLIENT_SECRET: ${{ secrets.MSFT_CLIENT_SECRET }}\n      R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }}\n      R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}\n      R2_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: .github/python-version.txt\n      - run: sudo apt-get update\n      - run: sudo apt-get install -y awscli\n      - if: startsWith(github.ref, 'refs/tags/')\n        run: sudo apt-get install -y twine\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: docs\n          path: docs/public\n      - if: startsWith(github.ref, 'refs/tags/')\n        uses: actions/download-artifact@v4\n        with:\n          name: docs-archive\n          path: docs/archive\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: binaries.*\n          merge-multiple: true\n          path: release/dist\n      - id: provenance\n        uses: actions/attest-build-provenance@v1\n        with:\n          subject-path: 'release/dist/*'\n      - run: |\n          REF=${{ github.ref_name }}\n          mv ${{ steps.provenance.outputs.bundle-path }} release/dist/mitmproxy-${REF#v}.sigstore\n      - run: ls docs/public\n      - run: ls release/dist\n\n      - run: ./release/deploy.py\n\n      - name: Deploy to Microsoft Store (test flight)\n        if: github.ref == 'refs/heads/citest'\n        run: ./release/deploy-microsoft-store.py release/dist/*.msix\n        env:\n          MSFT_APP_FLIGHT: 174ca570-8cae-4444-9858-c07293f1f13a\n      - name: Deploy to Microsoft Store\n        if: startsWith(github.ref, 'refs/tags/')\n        run: ./release/deploy-microsoft-store.py release/dist/*.msix\n", "state": "active", "repository": "mitmproxy/mitmproxy"}
{"mined_at": "2024-07-15T15:20:37.055901", "created_at": "2022-10-24T17:06:48+02:00", "updated_at": "2022-10-24T17:06:48+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version (major.minor.patch)'\n        required: true\n        type: string\n      skip-branch-status-check:\n        description: 'Skip CI status check.'\n        default: false\n        required: false\n        type: boolean\n\npermissions:\n  actions: write\n  contents: write\n\njobs:\n  release:\n    environment: deploy-release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.GH_PUSH_TOKEN }}  # this token works to push to the protected main branch.\n      - uses: actions/setup-node@v4\n        with:\n          node-version-file: .github/node-version.txt\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: .github/python-version.txt\n      - run: ./release/release.py ${{ inputs.version }} ${{ inputs.skip-branch-status-check }}\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # this token works with the GraphQL API\n", "state": "active", "repository": "mitmproxy/mitmproxy"}
{"mined_at": "2024-07-15T15:20:38.104471", "created_at": "2023-10-15T20:38:05+02:00", "updated_at": "2023-10-15T20:38:05+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mitmproxy/mitmproxy"}
{"mined_at": "2024-07-15T15:20:40.436148", "created_at": "2020-06-08T20:16:13+02:00", "updated_at": "2020-06-08T20:16:13+02:00", "name": "Issue Manager", "path": ".github/workflows/issue-manager.yml", "contents": "name: Issue Manager\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  issue_comment:\n    types:\n      - created\n      - edited\n  issues:\n    types:\n      - labeled\n\njobs:\n  issue-manager:\n    if: github.repository_owner == 'explosion'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: tiangolo/issue-manager@0.4.0\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          config: >\n            {\n              \"resolved\": {\n                \"delay\": \"P7D\",\n                \"message\": \"This issue has been automatically closed because it was answered and there was no follow-up discussion.\",\n                \"remove_label_on_comment\": true,\n                \"remove_label_on_close\": true\n              },\n              \"more-info-needed\": {\n                \"delay\": \"P7D\",\n                \"message\": \"This issue has been automatically closed because there has been no response to a request for more information from the original author. With only the information that is currently in the issue, there's not enough information to take action. If you're the original author, feel free to reopen the issue if you have or find the answers needed to investigate further.\",\n                \"remove_label_on_comment\": true,\n                \"remove_label_on_close\": true\n              }\n            }\n", "state": "active", "repository": "explosion/spacy"}
{"mined_at": "2024-07-15T15:20:41.664224", "created_at": "2021-10-11T15:43:29+02:00", "updated_at": "2021-10-11T15:43:29+02:00", "name": "Explosion Bot", "path": ".github/workflows/explosionbot.yml", "contents": "name: Explosion Bot\n\non:\n  issue_comment:\n    types:\n      - created\n      - edited\n\njobs:\n  explosion-bot:\n    if: github.repository_owner == 'explosion'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n      - name: Install and run explosion-bot\n        run: |\n          pip install git+https://${{ secrets.EXPLOSIONBOT_TOKEN }}@github.com/explosion/explosion-bot\n          python -m explosionbot\n        env:\n          INPUT_TOKEN: ${{ secrets.EXPLOSIONBOT_TOKEN }}\n          INPUT_BK_TOKEN: ${{ secrets.BUILDKITE_SECRET }}\n          ENABLED_COMMANDS: \"test_gpu,test_slow,test_slow_gpu\"\n          ALLOWED_TEAMS: \"spaCy\"\n", "state": "active", "repository": "explosion/spacy"}
{"mined_at": "2024-07-15T15:20:42.893268", "created_at": "2021-10-19T09:04:02+02:00", "updated_at": "2021-10-19T09:04:02+02:00", "name": "Lock Threads", "path": ".github/workflows/lock.yml", "contents": "name: 'Lock Threads'\n\non:\n  schedule:\n    - cron: '0 0 * * *'  # check every day\n  workflow_dispatch:\n\npermissions:\n  issues: write\n\nconcurrency:\n  group: lock\n\njobs:\n  action:\n    if: github.repository_owner == 'explosion'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v5\n        with:\n          process-only: 'issues'\n          issue-inactive-days: '30'\n          issue-comment: >\n            This thread has been automatically locked since there\n            has not been any recent activity after it was closed.\n            Please open a new issue for related bugs.\n", "state": "active", "repository": "explosion/spacy"}
{"mined_at": "2024-07-15T15:20:44.122877", "created_at": "2023-03-13T10:47:46+01:00", "updated_at": "2023-03-17T11:09:14+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    branches-ignore:\n      - \"spacy.io\"\n      - \"nightly.spacy.io\"\n      - \"v2.spacy.io\"\n    paths-ignore:\n      - \"*.md\"\n      - \"*.mdx\"\n      - \"website/**\"\n      - \".github/workflows/**\"\n  pull_request:\n    types: [opened, synchronize, reopened, edited]\n    paths-ignore:\n      - \"*.md\"\n      - \"*.mdx\"\n      - \"website/**\"\n\njobs:\n  validate:\n    name: Validate\n    if: github.repository_owner == 'explosion'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Configure Python version\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.7\"\n\n      - name: black\n        run: |\n          python -m pip install black -c requirements.txt\n          python -m black spacy --check\n      - name: isort\n        run: |\n          python -m pip install isort -c requirements.txt\n          python -m isort spacy --check\n      - name: flake8\n        run: |\n          python -m pip install flake8==5.0.4\n          python -m flake8 spacy --count --select=E901,E999,F821,F822,F823,W605 --show-source --statistics\n      - name: cython-lint\n        run: |\n          python -m pip install cython-lint -c requirements.txt\n          # E501: line too log, W291: trailing whitespace, E266: too many leading '#' for block comment\n          cython-lint spacy --ignore E501,W291,E266\n\n  tests:\n    name: Test\n    needs: Validate\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python_version: [\"3.12\"]\n        include:\n          - os: windows-latest\n            python_version: \"3.7\"\n          - os: macos-latest\n            python_version: \"3.8\"\n          - os: ubuntu-latest\n            python_version: \"3.9\"\n          - os: windows-latest\n            python_version: \"3.10\"\n          - os: macos-latest\n            python_version: \"3.11\"\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Configure Python version\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U build pip setuptools\n          python -m pip install -U -r requirements.txt\n\n      - name: Build sdist\n        run: |\n          python -m build --sdist\n\n      - name: Run mypy\n        run: |\n          python -m mypy spacy\n        if: matrix.python_version != '3.7'\n\n      - name: Delete source directory and .egg-info\n        run: |\n          rm -rf spacy *.egg-info\n        shell: bash\n\n      - name: Uninstall all packages\n        run: |\n          python -m pip freeze\n          python -m pip freeze --exclude pywin32 > installed.txt\n          python -m pip uninstall -y -r installed.txt\n\n      - name: Install from sdist\n        run: |\n          SDIST=$(python -c \"import os;print(os.listdir('./dist')[-1])\" 2>&1)\n          SPACY_NUM_BUILD_JOBS=2 python -m pip install dist/$SDIST\n        shell: bash\n\n      - name: Test import\n        run: python -W error -c \"import spacy\"\n\n      - name: \"Test download CLI\"\n        run: |\n          python -m spacy download ca_core_news_sm\n          python -m spacy download ca_core_news_md\n          python -c \"import spacy; nlp=spacy.load('ca_core_news_sm'); doc=nlp('test')\"\n        if: matrix.python_version == '3.9'\n\n      - name: \"Test download_url in info CLI\"\n        run: |\n          python -W error -m spacy info ca_core_news_sm | grep -q download_url\n        if: matrix.python_version == '3.9'\n\n      - name: \"Test no warnings on load (#11713)\"\n        run: |\n          python -W error -c \"import ca_core_news_sm; nlp = ca_core_news_sm.load(); doc=nlp('test')\"\n        if: matrix.python_version == '3.9'\n\n      - name: \"Test convert CLI\"\n        run: |\n          python -m spacy convert extra/example_data/ner_example_data/ner-token-per-line-conll2003.json .\n        if: matrix.python_version == '3.9'\n\n      - name: \"Test debug config CLI\"\n        run: |\n          python -m spacy init config -p ner -l ca ner.cfg\n          python -m spacy debug config ner.cfg --paths.train ner-token-per-line-conll2003.spacy --paths.dev ner-token-per-line-conll2003.spacy\n        if: matrix.python_version == '3.9'\n\n      - name: \"Test debug data CLI\"\n        run: |\n          # will have errors due to sparse data, check for summary in output\n          python -m spacy debug data ner.cfg --paths.train ner-token-per-line-conll2003.spacy --paths.dev ner-token-per-line-conll2003.spacy | grep -q Summary\n        if: matrix.python_version == '3.9'\n\n      - name: \"Test train CLI\"\n        run: |\n          python -m spacy train ner.cfg --paths.train ner-token-per-line-conll2003.spacy --paths.dev ner-token-per-line-conll2003.spacy --training.max_steps 10 --gpu-id -1\n        if: matrix.python_version == '3.9'\n\n      - name: \"Test assemble CLI\"\n        run: |\n          python -c \"import spacy; config = spacy.util.load_config('ner.cfg'); config['components']['ner'] = {'source': 'ca_core_news_sm'}; config.to_disk('ner_source_sm.cfg')\"\n          PYTHONWARNINGS=\"error,ignore::DeprecationWarning\" python -m spacy assemble ner_source_sm.cfg output_dir\n        if: matrix.python_version == '3.9'\n\n      - name: \"Test assemble CLI vectors warning\"\n        run: |\n          python -c \"import spacy; config = spacy.util.load_config('ner.cfg'); config['components']['ner'] = {'source': 'ca_core_news_md'}; config.to_disk('ner_source_md.cfg')\"\n          python -m spacy assemble ner_source_md.cfg output_dir 2>&1 | grep -q W113\n        if: matrix.python_version == '3.9'\n\n      - name: \"Install test requirements\"\n        run: |\n          python -m pip install -U -r requirements.txt\n\n      - name: \"Run CPU tests\"\n        run: |\n          python -m pytest --pyargs spacy -W error\n        if: \"!(startsWith(matrix.os, 'macos') && matrix.python_version == '3.11')\"\n\n      - name: \"Run CPU tests with thinc-apple-ops\"\n        run: |\n          python -m pip install 'spacy[apple]'\n          python -m pytest --pyargs spacy\n        if: startsWith(matrix.os, 'macos') && matrix.python_version == '3.11'\n", "state": "active", "repository": "explosion/spacy"}
{"mined_at": "2024-07-15T15:20:45.242137", "created_at": "2023-03-17T10:59:57+01:00", "updated_at": "2023-03-17T10:59:57+01:00", "name": "universe validation", "path": ".github/workflows/universe_validation.yml", "contents": "name: universe validation\n\non:\n  push:\n    branches-ignore:\n      - \"spacy.io\"\n      - \"nightly.spacy.io\"\n      - \"v2.spacy.io\"\n    paths:\n      - \"website/meta/universe.json\"\n  pull_request:\n    types: [opened, synchronize, reopened, edited]\n    paths:\n      - \"website/meta/universe.json\"\n\njobs:\n  validate:\n    name: Validate\n    if: github.repository_owner == 'explosion'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Configure Python version\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.7\"\n\n      - name: Validate website/meta/universe.json\n        run: |\n          python .github/validate_universe_json.py website/meta/universe.json\n", "state": "active", "repository": "explosion/spacy"}
{"mined_at": "2024-07-15T15:20:46.388888", "created_at": "2022-07-07T12:37:24+02:00", "updated_at": "2024-04-29T09:46:01+02:00", "name": "spaCy universe project alert", "path": ".github/workflows/spacy_universe_alert.yml", "contents": "name: spaCy universe project alert\n\non:\n  pull_request_target:\n    paths:\n      - \"website/meta/universe.json\"\n\njobs:\n  build:\n    if: github.repository_owner == 'explosion'\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n          PR_NUMBER: ${{github.event.number}}\n        run: |\n          echo \"$GITHUB_CONTEXT\"\n\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Install Bernadette app dependency and send an alert\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n          CHANNEL: \"#alerts-universe\"\n        run: |\n          pip install slack-sdk==3.17.2 aiohttp==3.8.1\n          echo \"$CHANNEL\"\n          python .github/spacy_universe_alert.py \"$GITHUB_CONTEXT\"\n", "state": "disabled_manually", "repository": "explosion/spacy"}
{"mined_at": "2024-07-15T15:20:48.391416", "created_at": "2019-12-19T02:09:11+01:00", "updated_at": "2024-05-16T04:36:37+02:00", "name": ".github/workflows/main.yml", "path": ".github/workflows/main.yml", "contents": null, "state": "active", "repository": "python-poetry/poetry"}
{"mined_at": "2024-07-15T15:20:49.553159", "created_at": "2020-01-10T00:08:10+01:00", "updated_at": "2020-01-10T07:29:38+01:00", "name": "Main", "path": "", "contents": null, "state": "active", "repository": "python-poetry/poetry"}
{"mined_at": "2024-07-15T15:20:50.560566", "created_at": "2020-01-10T13:39:12+01:00", "updated_at": "2024-05-03T16:33:32+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": null, "state": "active", "repository": "python-poetry/poetry"}
{"mined_at": "2024-07-15T15:20:51.905797", "created_at": "2020-08-13T15:30:04+02:00", "updated_at": "2024-04-22T17:39:04+02:00", "name": "Skip All Jobs", "path": ".github/workflows/skip.yml", "contents": null, "state": "active", "repository": "python-poetry/poetry"}
{"mined_at": "2024-07-15T15:20:52.899981", "created_at": "2020-08-16T02:31:22+02:00", "updated_at": "2024-04-22T17:39:03+02:00", "name": "Documentation Preview", "path": ".github/workflows/docs.yml", "contents": null, "state": "active", "repository": "python-poetry/poetry"}
{"mined_at": "2024-07-15T15:20:54.040981", "created_at": "2022-09-02T17:44:25+02:00", "updated_at": "2024-03-24T22:53:14+01:00", "name": "Backport", "path": ".github/workflows/backport.yaml", "contents": "name: Backport\n\non:\n  pull_request_target:\n    types:\n      - closed\n      - labeled\n\njobs:\n  backport:\n    name: Create backport\n    runs-on: ubuntu-latest\n    # This workflow only applies to merged PRs; and triggers on a PR being closed, or the backport label being applied.\n    # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.\n    if: >\n      github.event.pull_request.merged\n      && (\n        github.event.action == 'closed'\n        ||\n          (github.event.action == 'labeled' && contains(github.event.label.name, 'backport/')\n        )\n      )\n    steps:\n      - uses: actions/create-github-app-token@7bfa3a4717ef143a604ee0a99d859b8886a96d00 # v1.9.3\n        id: app-token\n        with:\n          app-id: ${{ secrets.POETRY_TOKEN_APP_ID }}\n          private-key: ${{ secrets.POETRY_TOKEN_APP_KEY }}\n      - uses: tibdex/backport@9565281eda0731b1d20c4025c43339fb0a23812e # v2.0.4\n        with:\n          github_token: ${{ steps.app-token.outputs.token }}\n          title_template: \"[<%= base %>] <%= title %>\"\n          label_pattern: \"^backport/(?<base>([^ ]+))$\"\n", "state": "active", "repository": "python-poetry/poetry"}
{"mined_at": "2024-07-15T15:20:55.165446", "created_at": "2024-03-24T19:22:34+01:00", "updated_at": "2024-03-25T07:19:19+01:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\n\non:\n  push:\n  pull_request:\n  merge_group:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  changes:\n    name: Detect changed files\n    runs-on: ubuntu-latest\n    outputs:\n      project: ${{ steps.changes.outputs.project }}\n      fixtures-pypi: ${{ steps.changes.outputs.fixtures-pypi }}\n      src: ${{ steps.changes.outputs.src }}\n      tests: ${{ steps.changes.outputs.tests }}\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2\n        id: changes\n        with:\n          filters: |\n            workflow: &workflow\n              - '.github/actions/**'\n              - '.github/workflows/tests.yaml'\n              - '.github/workflows/.tests-matrix.yaml'\n            project: &project\n              - *workflow\n              - 'poetry.lock'\n              - 'pyproject.toml'\n            fixtures-pypi:\n              - *workflow\n              - 'tests/repositories/fixtures/pypi.org/**'\n            src:\n              - *project\n              - 'src/**/*.py'\n            tests:\n              - *project\n              - 'src/**/*.py'\n              - 'tests/**'\n\n  lockfile:\n    name: Check poetry.lock\n    runs-on: ubuntu-latest\n    if: needs.changes.outputs.project == 'true'\n    needs: changes\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - uses: ./.github/actions/bootstrap-poetry\n\n      - run: poetry check --lock\n\n  smoke:\n    name: Smoke-test build and install\n    runs-on: ubuntu-latest\n    if: needs.changes.outputs.project == 'true'\n    needs: lockfile\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - run: pipx run build\n\n      - run: pipx run twine check --strict dist/*\n\n      - run: pipx install --suffix=@build dist/*.whl\n\n      - uses: ./.github/actions/bootstrap-poetry\n\n      # Smoke test: confirm the version of the installed wheel matches the project.\n      - run: poetry@build --version | grep $(poetry version --short)\n\n  fixtures-pypi:\n    name: Check fixtures (PyPI)\n    runs-on: ubuntu-latest\n    if: needs.changes.outputs.fixtures-pypi == 'true'\n    needs: changes\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - uses: ./.github/actions/bootstrap-poetry\n\n      - uses: ./.github/actions/poetry-install\n        with:\n          args: --only main,test\n\n      - run: poetry run env PYTHONPATH=\"$GITHUB_WORKSPACE\" python tests/repositories/fixtures/pypi.org/generate.py\n\n      - run: git diff --exit-code --stat HEAD tests/repositories/fixtures/pypi.org\n\n  tests-matrix:\n    # Use this matrix with multiple jobs defined in a reusable workflow:\n    uses: ./.github/workflows/.tests-matrix.yaml\n    name: \"${{ matrix.os.name }} (Python ${{ matrix.python-version }})\"\n    if: '!failure()'\n    needs:\n      - lockfile\n      - changes\n    with:\n      runner: ${{ matrix.os.image }}\n      python-version: ${{ matrix.python-version }}\n      run-mypy: ${{ needs.changes.outputs.tests == 'true' }}\n      run-pytest: ${{ needs.changes.outputs.tests == 'true' }}\n      run-pytest-export: ${{ needs.changes.outputs.src == 'true' }}\n    secrets: inherit\n    strategy:\n      matrix:\n        os:\n          - name: Ubuntu\n            image: ubuntu-22.04\n          - name: macOS x86_64\n            image: macos-13\n          - name: Windows\n            image: windows-2022\n          - name: macOS aarch64\n            image: macos-14\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n\n  status:\n    name: Status\n    runs-on: ubuntu-latest\n    if: always()\n    needs:\n      - lockfile\n      - smoke\n      - fixtures-pypi\n      - tests-matrix\n    steps:\n      - run: ${{ (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) && 'false' || 'true' }}\n", "state": "active", "repository": "python-poetry/poetry"}
{"mined_at": "2024-07-15T15:20:56.156686", "created_at": "2024-03-24T19:22:34+01:00", "updated_at": "2024-03-24T21:15:00+01:00", "name": "Documentation Preview", "path": ".github/workflows/docs.yaml", "contents": "name: Documentation Preview\n\non:\n  pull_request:\n    # allow repository maintainers to modify and test workflow\n    paths-ignore:\n      - \"**\"\n      - \"!.github/workflows/docs.yaml\"\n  pull_request_target:\n    # enable runs for this workflow when labeled as documentation only\n    # prevent execution when the workflow itself is modified from a fork\n    types:\n      - labeled\n      - synchronize\n    paths-ignore:\n      - \"**\"\n      - \"!docs/**\"\n\njobs:\n  deploy:\n    name: Build & Deploy\n    runs-on: ubuntu-latest\n    if: >\n      (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'impact/docs'))\n      || (github.event_name != 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)\n    permissions:\n      contents: read\n      pull-requests: write\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n        with:\n          repository: python-poetry/website\n\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n        with:\n          path: poetry\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2\n        with:\n          node-version: \"18\"\n\n      - uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2.6.0\n        with:\n          hugo-version: '0.83.1'\n\n      - uses: ./poetry/.github/actions/bootstrap-poetry\n\n      - uses: ./poetry/.github/actions/poetry-install\n        with:\n          args: --no-root --only main\n\n      - name: website-build\n        run: |\n          # Rebuild the docs files from the PR checkout.\n          poetry run python bin/website build --local ./poetry\n          # Build website assets (CSS/JS).\n          npm ci && npm run prod\n          # Build the static website.\n          hugo -v --minify\n\n      - uses: amondnet/vercel-action@16e87c0a08142b0d0d33b76aeaf20823c381b9b9 # v25.2.0\n        with:\n          vercel-token: ${{ secrets.VERCEL_TOKEN }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}\n          vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}\n          scope: python-poetry\n          github-comment: true\n          working-directory: public\n", "state": "active", "repository": "python-poetry/poetry"}
{"mined_at": "2024-07-15T15:34:58.939194", "created_at": "2024-03-24T21:15:00+01:00", "updated_at": "2024-03-24T21:15:00+01:00", "name": "Lock Threads", "path": ".github/workflows/lock-threads.yaml", "contents": "name: Lock Threads\n\non:\n  schedule:\n    - cron: '0 0 * * *' # every day at midnight\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}\n\njobs:\n  lock-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1\n        with:\n          process-only: issues\n          issue-inactive-days: 30\n          issue-comment: >\n            This issue has been automatically locked since there\n            has not been any recent activity after it was closed.\n            Please open a new issue for related bugs.\n\n  lock-prs:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1\n        with:\n          process-only: prs\n          pr-inactive-days: 30\n          pr-comment: >\n            This pull request has been automatically locked since there\n            has not been any recent activity after it was closed.\n            Please open a new issue for related bugs.\n", "state": "active", "repository": "python-poetry/poetry"}
{"mined_at": "2024-07-15T15:34:59.950984", "created_at": "2024-03-24T21:15:00+01:00", "updated_at": "2024-03-24T21:15:00+01:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - run: pipx run build\n\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: distfiles\n          path: dist/\n          if-no-files-found: error\n\n  upload-github:\n    name: Upload (GitHub)\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    needs: build\n    steps:\n      # We need to be in a git repo for gh to work.\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: distfiles\n          path: dist/\n\n      - run: gh release upload ${{ github.event.release.tag_name }} dist/*.{tar.gz,whl}\n        env:\n          GH_TOKEN: ${{ github.token }}\n\n  upload-pypi:\n    name: Upload (PyPI)\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/project/poetry/\n    permissions:\n      id-token: write\n    needs: build\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: distfiles\n          path: dist/\n\n      - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          print-hash: true\n", "state": "active", "repository": "python-poetry/poetry"}
{"mined_at": "2024-07-15T15:35:01.057532", "created_at": "2024-03-25T14:59:27+01:00", "updated_at": "2024-03-25T14:59:27+01:00", "name": ".github/workflows/.tests-matrix.yaml", "path": ".github/workflows/.tests-matrix.yaml", "contents": "# Reusable workflow consumed by tests.yaml; used to share a single matrix across jobs.\non:\n  workflow_call:\n    inputs:\n      runner:\n        required: true\n        type: string\n      python-version:\n        required: true\n        type: string\n      run-mypy:\n        required: true\n        type: boolean\n      run-pytest:\n        required: true\n        type: boolean\n      run-pytest-export:\n        required: true\n        type: boolean\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  mypy:\n    name: mypy\n    runs-on: ${{ inputs.runner }}\n    if: inputs.run-mypy\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - uses: ./.github/actions/bootstrap-poetry\n        id: bootstrap-poetry\n        with:\n          python-version: ${{ inputs.python-version }}\n\n      - uses: ./.github/actions/poetry-install\n\n      - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: .mypy_cache\n          key: mypy-${{ runner.os }}-py${{ steps.bootstrap-poetry.outputs.python-version }}-${{ hashFiles('pyproject.toml', 'poetry.lock') }}\n          restore-keys: |\n            mypy-${{ runner.os }}-py${{ steps.bootstrap-poetry.outputs.python-version }}-\n            mypy-${{ runner.os }}-\n\n      - run: poetry run mypy\n\n  pytest:\n    name: pytest\n    runs-on: ${{ inputs.runner }}\n    if: inputs.run-pytest\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - uses: ./.github/actions/bootstrap-poetry\n        with:\n          python-version: ${{ inputs.python-version }}\n\n      - uses: ./.github/actions/poetry-install\n        with:\n          args: --with github-actions\n\n      - run: poetry run pytest --integration -v\n        env:\n          POETRY_TEST_INTEGRATION_GIT_USERNAME: ${{ github.actor }}\n          POETRY_TEST_INTEGRATION_GIT_PASSWORD: ${{ github.token }}\n\n      - run: git diff --exit-code --stat HEAD\n\n  pytest-export:\n    name: pytest (poetry-plugin-export)\n    runs-on: ${{ inputs.runner }}\n    if: inputs.run-pytest-export\n    steps:\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n\n      - uses: ./.github/actions/bootstrap-poetry\n        with:\n          python-version: ${{ inputs.python-version }}\n\n      - uses: ./.github/actions/poetry-install\n        with:\n          args: --with github-actions\n\n      - run: poetry run pip list --format json | jq -r '.[] | \"\\(.name)=\\(.version)\"' >> $GITHUB_OUTPUT\n        id: package-versions\n\n      - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4\n        with:\n          path: poetry-plugin-export\n          repository: python-poetry/poetry-plugin-export\n          ref: refs/tags/${{ steps.package-versions.outputs.poetry-plugin-export }}\n\n      - run: poetry run -C .. pytest -v\n        working-directory: ./poetry-plugin-export\n\n      - run: git -C poetry-plugin-export diff --exit-code --stat HEAD\n", "state": "active", "repository": "python-poetry/poetry"}
{"mined_at": "2024-07-15T15:35:03.363178", "created_at": "2022-07-30T01:36:13+02:00", "updated_at": "2022-10-01T02:21:36+02:00", "name": "PR Preview", "path": ".github/workflows/pr-preview.yml", "contents": "name: PR Preview\n\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  upload-whl:\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: read # This is required for actions/checkout\n      statuses: write # This is required for \"Set S3 URL as Github status\" step\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    outputs:\n      enable-setup: ${{ steps.exports.outputs.enable-setup }}\n      preview-branch: ${{ steps.exports.outputs.preview-branch }}\n      s3-url: ${{ steps.exports.outputs.s3-url }}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Create Wheel File\n        timeout-minutes: 120\n        run: |\n          sudo apt update\n          sudo apt install rsync\n          BUILD_AS_FAST_AS_POSSIBLE=1 make package\n      - name: Store Whl File\n        uses: actions/upload-artifact@v4\n        with:\n          name: whl_file\n          path: lib/dist/*.whl\n      # Uses action to safely process user input (branch name) to prevent script injection attacks\n      - name: Set Environment Variables\n        uses: ./.github/actions/preview_branch\n        with:\n          pull_request_number: ${{ github.event.pull_request.number }}\n          ref_type: ${{ github.ref_type }}\n          branch: ${{ github.ref_name }}\n      - if: ${{ env.AWS_ACCESS_KEY_ID != '' }}\n        name: Upload wheel to S3\n        id: exports\n        env:\n          BRANCH: ${{ env.BRANCH }}\n          PREVIEW_BRANCH: ${{ env.PREVIEW_BRANCH }}\n          AWS_DEFAULT_REGION: us-west-2\n          AWS_ACCESS_KEY_ID: ${{ secrets.CORE_PREVIEWS_S3_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.CORE_PREVIEWS_S3_SECRET_KEY }}\n        # To create a consistent location for the release/demo whl file, we need a\n        # stagnent version number (streamlit-11.11.11)\n        run: |\n          sudo apt install -y awscli\n\n          cd lib/dist\n          export WHEELFILE=\"$(ls -t *.whl | head -n 1)\"\n\n          if [ \"${BRANCH}\" = \"release/demo\" ]\n          then\n            aws s3 cp \"${WHEELFILE}\" s3://core-previews/${PREVIEW_BRANCH}/streamlit-11.11.11-py2.py3-none-any.whl --acl public-read\n            S3_URL=\"https://core-previews.s3-us-west-2.amazonaws.com/${PREVIEW_BRANCH}/streamlit-11.11.11-py2.py3-none-any.whl\"\n          else\n            aws s3 cp \"${WHEELFILE}\" s3://core-previews/${PREVIEW_BRANCH}/ --acl public-read\n            S3_URL=\"https://core-previews.s3-us-west-2.amazonaws.com/${PREVIEW_BRANCH}/${WHEELFILE}\"\n          fi\n          echo -e \"Wheel file download link: ${S3_URL}\"\n\n          cd ../..\n          # env variables don't carry over between gh action jobs\n          echo \"enable-setup=${{ env.AWS_ACCESS_KEY_ID != '' }}\" >> $GITHUB_OUTPUT\n          echo \"preview-branch=$PREVIEW_BRANCH\" >> $GITHUB_OUTPUT\n          echo \"s3-url=${S3_URL}\" >> $GITHUB_OUTPUT\n      - if: steps.exports.outputs.enable-setup == 'true' && success() && github.repository == 'streamlit/streamlit' && github.event_name == 'pull_request' && github.event.sender.type == 'User'\n        name: Set S3 URL as Github Status\n        uses: actions/github-script@v7\n        env:\n          S3_URL: ${{ steps.exports.outputs.s3-url }}\n        with:\n          script: |\n            const { sha } = context.payload.pull_request.head\n            // For API documentation, see:\n            // https://docs.github.com/en/rest/commits/statuses?apiVersion=2022-11-28#create-a-commit-status\n            await github.request(`POST /repos/streamlit/streamlit/statuses/{sha}`, {\n              owner: 'streamlit',\n              repo: 'streamlit',\n              sha,\n              state: 'success',\n              target_url: process.env.S3_URL,\n              context: 'Wheel ready!'\n            })\n\n  setup-preview:\n    runs-on: ubuntu-latest\n\n    needs: upload-whl\n    if: needs.upload-whl.outputs.enable-setup == 'true'\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Checkout Core Previews Repo\n        uses: actions/checkout@v4\n        with:\n          repository: streamlit/core-previews\n          # The default GITHUB_TOKEN is scoped only to the triggering streamlit/streamlit repo.\n          # Accessing streamlit/core-previews repo requires a separate auth token.\n          token: ${{ secrets.CORE_PREVIEWS_REPO_TOKEN }}\n          # Save the access token to the local git config, so\n          # later git commands can work.\n          persist-credentials: true\n      - name: Setup preview repo\n        env:\n          PREVIEW_BRANCH: ${{ needs.upload-whl.outputs.preview-branch }}\n          S3_URL: ${{ needs.upload-whl.outputs.s3-url }}\n        run: |\n          git config --global user.email \"core+streamlitbot-github@streamlit.io\"\n          git config --global user.name \"Streamlit Bot\"\n          git branch -D \"$PREVIEW_BRANCH\" &>/dev/null || true\n          git checkout -b \"$PREVIEW_BRANCH\"\n\n          echo \"$S3_URL\" >> requirements.txt\n\n          git add .\n          git commit -m \"Prepare core preview: ${PREVIEW_BRANCH}\"\n          git push -f origin ${PREVIEW_BRANCH}\n      - name: Ready to deploy!\n        env:\n          PREVIEW_BRANCH: ${{ needs.upload-whl.outputs.preview-branch }}\n        run: |\n          echo -e \"https://share.streamlit.io/deploy?repository=streamlit/core-previews&branch=${PREVIEW_BRANCH}&mainModule=E2E_Tester_🧪.py\"\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:04.489623", "created_at": "2022-07-30T01:36:13+02:00", "updated_at": "2023-11-02T06:36:11+01:00", "name": "Cypress", "path": ".github/workflows/cypress.yml", "contents": "name: Cypress\n\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n  # Allows workflow to be called from other workflows\n  workflow_call:\n    inputs:\n      ref:\n        required: true\n        type: string\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-cypress\n  cancel-in-progress: true\n\njobs:\n  cypress-e2e-tests:\n    runs-on: ubuntu-latest-8-cores\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # In case of number of workers would change, update TOTAL_WORKERS env variable in \"Cypress Tests\" step.\n        # Be aware that specs should be sequential integers starting from 1 without gaps\n        # based on logic in \"Cypress Tests\" step.\n        # prettier-ignore\n        specs: [ 1, 2, ]\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Install Cypress dependencies\n        run: |\n          sudo apt install -y xvfb libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 curl\n      - name: Run make develop\n        run: make develop\n      - name: Run make protobuf\n        run: make protobuf\n      - name: Run make frontend-lib\n        run: make frontend-lib\n      - name: Register Streamlit User & Mapbox Token\n        run: |\n          if [ ! -d $HOME/.streamlit ] ; then\n            mkdir $HOME/.streamlit\n          fi\n          echo '[mapbox]' >  ~/.streamlit/config.toml\n          MAPBOX_TOKEN=$(curl -sS https://data.streamlit.io/tokens.json | jq -r '.[\"mapbox-localhost\"]') \\\n            && echo 'token = \"'$MAPBOX_TOKEN'\"' >> ~/.streamlit/config.toml\n\n          echo '[general]' >  ~/.streamlit/credentials.toml\n          echo 'email = \"test@streamlit.io\"' >> ~/.streamlit/credentials.toml\n      - name: Cypress Tests\n        env:\n          CURRENT_RUN: ${{matrix.specs}}\n          CYPRESS_VERIFY_TIMEOUT: 90000\n          TOTAL_WORKERS: 2\n        run: |\n          js_specs=(e2e/specs/*)\n\n          # get how many specs to be split up into $TOTAL_WORKERS runs\n          totalTests=$(( ${#js_specs[@]} ))\n          testsPerWorker=$(( totalTests / TOTAL_WORKERS ))\n          # get the remainder of tests to be split up into the first $remainder workers\n          remainder=$(( totalTests % TOTAL_WORKERS ))\n\n          # We handle $CURRENT_RUN = 1 separately because bash interprets 0 as empty string in this case\n          if [ \"$CURRENT_RUN\" -eq 1 ]; then\n            startIndex=0\n            currentIntervalLength=$(( testsPerWorker + (remainder > 0 ? 1 : 0) ))\n          elif [ $CURRENT_RUN -le $remainder ]; then\n            startIndex=$(( (CURRENT_RUN - 1) * (testsPerWorker + 1) ))\n            currentIntervalLength=$(( testsPerWorker + 1 ))\n          else\n            startIndex=$(( remainder * (testsPerWorker + 1) + (CURRENT_RUN - remainder - 1) * testsPerWorker ))\n            currentIntervalLength=$(( testsPerWorker ))\n          fi\n\n          # ensure no blank specs list (which causes every spec to run)\n          if [[ \"${js_specs[@]:${startIndex}:${currentIntervalLength}}\" != \"\" ]]; then\n            echo \"Specs tested in this job:\"\n            echo \"${js_specs[@]:${startIndex}:${currentIntervalLength}}\"\n            scripts/run_e2e_tests.py -a \"${js_specs[@]:${startIndex}:${currentIntervalLength}}\"\n          fi\n      - name: Check that all screenshot have been committed\n        run: |\n          set -x;\n\n          UNTRACKED_FILE_COUNT=$(git ls-files --others --exclude-standard | grep cypress | wc -l | bc -l || echo '0')\n          echo \"Untracked files count: ${UNTRACKED_FILE_COUNT}\"\n          if [[ \"${UNTRACKED_FILE_COUNT}\" -gt 0 ]]; then\n            echo \"Untracked files:\";\n            git ls-files --others --exclude-standard | grep cypress;\n            exit 1;\n          fi\n      - name: Store Videos\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: cypress_videos\n          path: frontend/cypress/videos\n      - name: Store Snapshots\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: cypress_snapshots\n          path: frontend/cypress/snapshots\n\n  cypress-summary:\n    runs-on: ubuntu-latest\n\n    # Consolidates cypress test matrix results for a single pass/fail status check\n    if: ${{ always() }}\n    needs: cypress-e2e-tests\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Check Cypress test matrix status\n        if: ${{ needs.test.result == 'failure' }}\n        run: exit 1\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:05.635913", "created_at": "2022-08-05T09:41:37+02:00", "updated_at": "2024-06-06T20:42:59+02:00", "name": "Javascript Unit Tests", "path": ".github/workflows/js-tests.yml", "contents": "name: Javascript Unit Tests\n\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n  # Allows workflow to be called from other workflows\n  workflow_call:\n    inputs:\n      ref:\n        required: true\n        type: string\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-javascript\n  cancel-in-progress: true\n\njobs:\n  js-unit-tests:\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Run make develop\n        run: make develop\n      - name: Run make protobuf\n        run: make protobuf\n      - name: Run make frontend-lib\n        run: make frontend-lib\n      - name: Audit frontend licenses\n        run: ./scripts/audit_frontend_licenses.py\n      - name: Run linters\n        run: |\n          # Run eslint as a standalone command to generate the test report.\n          # We need to --hook-stage manual to trigger Typecheck too\n          PRE_COMMIT_NO_CONCURRENCY=true SKIP=eslint,ruff,ruff-format pre-commit run --hook-stage manual --show-diff-on-failure --color=always --all-files\n          # Run eslint using Makefile omitting the pre-commit\n          make jslint\n      - name: Validate NOTICES\n        run: |\n          # Run `make notices`. If it results in changes, warn the user and fail.\n          make notices\n\n          git_status=$(git status --porcelain -- NOTICES)\n          if [[ -n $git_status ]]; then\n            echo \"::error::The NOTICES file is out of date! Please run \\`make notices\\` and commit the result.\"\n            echo \"::group::git diff NOTICES\"\n            git diff NOTICES\n            echo \"::endgroup::\"\n            exit 1\n          else\n            echo \"NOTICES is up to date.\"\n          fi\n      - name: Run frontend tests\n        run: make jstest\n\n  components-lib-tests:\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"20.x\"\n          cache: \"yarn\"\n          cache-dependency-path: \"component-lib/yarn.lock\"\n      - name: Install node dependencies\n        working-directory: component-lib\n        run: yarn install\n      - name: Run frontend tests\n        working-directory: component-lib\n        run: yarn test\n      - name: Build package\n        working-directory: component-lib\n        run: yarn build\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:06.731212", "created_at": "2022-08-15T06:18:05+02:00", "updated_at": "2023-11-02T06:36:11+01:00", "name": "CLI Regression", "path": ".github/workflows/cli-regression.yml", "contents": "name: CLI Regression\n\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  cli-regression:\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Build Package - Fast\n        timeout-minutes: 120\n        run: |\n          sudo apt install rsync\n          BUILD_AS_FAST_AS_POSSIBLE=1 make package\n      - name: Run CLI regression tests\n        run: |\n          export SKIP_VERSION_CHECK=true; make cli-regression-tests\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:07.766480", "created_at": "2022-09-13T09:58:21+02:00", "updated_at": "2022-10-01T02:21:36+02:00", "name": "Build Release", "path": ".github/workflows/release.yml", "contents": "name: Build Release\n\non:\n  # Manual Trigger GH CLI -> gh workflow run release.yml --ref <tag>\n  workflow_dispatch:\n\njobs:\n  run-python-tests:\n    uses: ./.github/workflows/python-tests.yml\n    with:\n      ref: ${{ github.ref_name }}\n    secrets:\n      PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n    permissions:\n      # Permission needed to upload constraints file\n      contents: write\n\n  run-javascript-tests:\n    uses: ./.github/workflows/js-tests.yml\n    with:\n      ref: ${{ github.ref_name }}\n\n  run-cypress-tests:\n    uses: ./.github/workflows/cypress.yml\n    with:\n      ref: ${{ github.ref_name }}\n\n  run-playwright-tests:\n    uses: ./.github/workflows/playwright.yml\n    with:\n      ref: ${{ github.ref_name }}\n\n  build-release:\n    runs-on: ubuntu-latest\n\n    needs:\n      - run-python-tests\n      - run-javascript-tests\n      - run-cypress-tests\n      - run-playwright-tests\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    permissions:\n      # Additional permission needed to generate release\n      contents: write\n      id-token: write\n\n    env:\n      # Name of the tag\n      GIT_TAG: ${{ github.ref_name }}\n      # The owner and repository name\n      GH_REPO: ${{ github.repository }}\n      # A branch with constraints files on the basis of which\n      # the tag will be created.\n      CONSTRAINTS_BRANCH: constraints-release\n      # The name of the tag that contains the constraints files\n      # for the current release\n      CONSTRAINTS_TAG: constraints/${{ github.ref_name }}\n      # We don't want to use constraints files because they might not exist yet.\n      USE_CONSTRAINTS_FILE: \"false\"\n\n    environment: release\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.ref_name }}\n          # Save the access token to the local git config, so\n          # later git commands can work.\n          persist-credentials: true\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - name: Look up the related GitHub PR branch name\n        # Need GH Token to use gh api\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          pip install requests\n          echo \"GH_PR_BRANCH=$(python scripts/get_release_branch.py)\" >> $GITHUB_ENV\n      - name: Ensure release branch corresponding to this tag exists\n        env:\n          GH_PR_BRANCH: ${{ env.GH_PR_BRANCH }}\n        run: |\n          BRANCH_VERSION=$(echo \"$GH_PR_BRANCH\" | sed 's/release\\///' )\n          if [ \"$BRANCH_VERSION\" != \"$GIT_TAG\" ]\n          then\n            echo \"ERROR: release branch corresponding to this tag does not exist.\"\n            exit 1\n          fi\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Set release version from tag name\n        env:\n          GIT_TAG: ${{ env.GIT_TAG }}\n        run: echo \"STREAMLIT_RELEASE_VERSION=$GIT_TAG\" >> $GITHUB_ENV\n      - name: Create Package\n        timeout-minutes: 120\n        run: |\n          sudo apt install rsync\n          make package\n      - name: Store Package\n        uses: actions/upload-artifact@v4\n        with:\n          name: Release\n          path: lib/dist\n      - name: Upload to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: lib/dist/\n      - name: Create GitHub Release\n        env:\n          GIT_TAG: ${{ env.GIT_TAG }}\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          python scripts/create_release.py\n\n      - name: Checkout branch \"${{ env.CONSTRAINTS_BRANCH }}\"\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.CONSTRAINTS_BRANCH }}\n          # Save the access token to the local git config, so\n          # later git commands can work.\n          persist-credentials: true\n          path: constraints\n      - uses: actions/download-artifact@v4\n        with:\n          path: constraints\n          pattern: constraints-*\n          merge-multiple: true\n      - name: Commit and push constraint files as tag\n        run: |\n          cd constraints;\n          git add .\n          git config --local user.email \"core+streamlitbot-github@streamlit.io\"\n          git config --local user.name \"Streamlit Bot\"\n          if ! git diff --cached --color --exit-code --ignore-matching-lines=\"^#.*\"\n          then\n            git commit --all --message \"Updating constraints. Github run id:${GITHUB_RUN_ID}\n\n            This update in constraints is automatically committed by the CI based on\n            '${GITHUB_REF}' in the '${GITHUB_REPOSITORY}' repository with commit sha ${GITHUB_SHA}.\n\n            The action that build those constraints can be found at https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}/\n            \"\n          else\n            echo \"No changes\"\n          fi\n          git tag \"${CONSTRAINTS_TAG}\"\n          git push origin \"${CONSTRAINTS_TAG}\";\n          git push origin \"${CONSTRAINTS_BRANCH}\";\n\n      - name: Successful Release Slack Message\n        if: ${{ success() }}\n        env:\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n          RUN_ID: ${{ github.run_id }}\n        run: python scripts/slack_notifications.py release success\n      - name: Failed Release Slack Message\n        if: ${{ failure() }}\n        env:\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n          RUN_ID: ${{ github.run_id }}\n        run: python scripts/slack_notifications.py release failure\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:08.844379", "created_at": "2022-09-15T07:02:01+02:00", "updated_at": "2023-11-02T07:32:29+01:00", "name": "Nightly Build", "path": ".github/workflows/nightly.yml", "contents": "name: Nightly Build\n\non:\n  schedule:\n    # Run job at 10.30pm PST or 11.30pm PDT\n    - cron: \"30 6 * * *\"\n\njobs:\n  create-nightly-tag:\n    runs-on: ubuntu-latest\n\n    if: github.repository == 'streamlit/streamlit'\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    permissions:\n      # Additional permission needed to generate tag\n      contents: write\n\n    outputs:\n      TAG: ${{ steps.create_tag.outputs.tag }}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n          # Save the access token to the local git config, so\n          # later git commands can work.\n          persist-credentials: true\n          fetch-depth: 2\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Run make develop\n        run: make develop\n      - name: Create tag\n        id: create_tag\n        run: |\n          git config --global user.email \"core+streamlitbot-github@streamlit.io\"\n          git config --global user.name \"Streamlit Bot\"\n\n          TAG=\"$(./scripts/pypi_nightly_create_tag.py)\"\n          echo \"tag=$TAG\" >> $GITHUB_OUTPUT\n\n          ./scripts/update_version.py $TAG\n          ./scripts/update_name.py streamlit-nightly\n\n          git add lib/setup.py frontend/package.json lib/streamlit/__init__.py lib/streamlit/version.py\n\n          git commit -m \"Update version and project name in files\"\n\n          git tag -a $TAG -m \"Streamlit nightly $TAG\"\n          git push origin $TAG\n      - if: ${{ failure() }}\n        name: Nightly Tag Failure Slack Message\n        env:\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n          RUN_ID: ${{ github.run_id }}\n        run: python scripts/slack_notifications.py nightly tag\n\n  run-python-tests:\n    needs: create-nightly-tag\n    permissions:\n      # Pass additional permission needed to upload constraints\n      contents: write\n    uses: ./.github/workflows/python-tests.yml\n    with:\n      ref: ${{needs.create-nightly-tag.outputs.tag}}\n    secrets:\n      PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n\n  run-javascript-tests:\n    needs: create-nightly-tag\n    uses: ./.github/workflows/js-tests.yml\n    with:\n      ref: ${{needs.create-nightly-tag.outputs.tag}}\n\n  run-cypress-tests:\n    needs: create-nightly-tag\n    uses: ./.github/workflows/cypress.yml\n    with:\n      ref: ${{needs.create-nightly-tag.outputs.tag}}\n\n  run-playwright-tests:\n    uses: ./.github/workflows/playwright.yml\n    with:\n      ref: ${{needs.create-nightly-tag.outputs.tag}}\n\n  test-status-notification:\n    runs-on: ubuntu-latest\n\n    if: ${{ always() }}\n    # By default, jobs listed in needs must all complete successfully for the dependent job to run. always() conditional\n    # added as we'd like this job to run whether or not tests pass & slack us regarding failing tests.\n    needs:\n      - create-nightly-tag\n      - run-python-tests\n      - run-javascript-tests\n      - run-cypress-tests\n      - run-playwright-tests\n\n    env:\n      SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n      RUN_ID: ${{ github.run_id }}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ needs.create-nightly-tag.outputs.tag }}\n          persist-credentials: false\n          submodules: \"recursive\"\n      - if: ${{ needs.run-python-tests.result == 'failure' }}\n        run: python scripts/slack_notifications.py nightly python\n      - if: ${{ needs.run-javascript-tests.result == 'failure' }}\n        run: python scripts/slack_notifications.py nightly js\n      - if: ${{ needs.run-cypress-tests.result == 'failure' }}\n        run: python scripts/slack_notifications.py nightly cypress\n      - if: ${{ needs.run-playwright-tests.result == 'failure' }}\n        run: python scripts/slack_notifications.py nightly playwright\n\n  create-nightly-build:\n    runs-on: ubuntu-latest\n\n    # Tag creation & tests must all complete successfully for nightly build job to run.\n    needs:\n      - create-nightly-tag\n      - run-python-tests\n      - run-javascript-tests\n      - run-cypress-tests\n      - run-playwright-tests\n    permissions:\n      id-token: write\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    outputs:\n      enable-setup: ${{ steps.exports.outputs.enable-setup }}\n      s3-url: ${{ steps.exports.outputs.s3-url }}\n\n    environment: nightly\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ needs.create-nightly-tag.outputs.tag }}\n          # Save the access token to the local git config, so\n          # later git commands can work.\n          persist-credentials: true\n          submodules: \"recursive\"\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Run make develop\n        run: make develop\n      - name: Verify git tag vs. version\n        env:\n          TAG: ${{ needs.create-nightly-tag.outputs.tag }}\n        run: |\n          cd lib\n          python setup.py verify\n      - name: Build Package\n        timeout-minutes: 120\n        run: |\n          sudo apt update\n          sudo apt install rsync\n          make package\n      - name: Store Whl File\n        uses: actions/upload-artifact@v4\n        with:\n          name: whl_file\n          path: lib/dist/*.whl\n      - name: Upload wheel to S3\n        id: exports\n        env:\n          AWS_DEFAULT_REGION: us-west-2\n          AWS_ACCESS_KEY_ID: ${{ secrets.CORE_PREVIEWS_S3_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.CORE_PREVIEWS_S3_SECRET_KEY }}\n        run: |\n          sudo apt update\n          sudo apt install -y awscli\n\n          cd lib/dist\n          export WHEELFILE=\"$(ls -t *.whl | head -n 1)\"\n\n          aws s3 cp \"${WHEELFILE}\" s3://core-previews/nightly-preview/ --acl public-read\n          S3_URL=\"https://core-previews.s3-us-west-2.amazonaws.com/nightly-preview/${WHEELFILE}\"\n\n          echo -e \"Wheel file download link: ${S3_URL}\"\n\n          cd ../..\n          # env variables don't carry over between gh action jobs\n          echo \"enable-setup=${{ env.AWS_ACCESS_KEY_ID != '' }}\" >> $GITHUB_OUTPUT\n          echo \"s3-url=${S3_URL}\" >> $GITHUB_OUTPUT\n      - name: Upload to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: lib/dist/\n      - if: ${{ failure() }}\n        name: Nightly Build Failure Slack Message\n        env:\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n          RUN_ID: ${{ github.run_id }}\n        run: python scripts/slack_notifications.py nightly build\n\n  setup-nightly-preview:\n    runs-on: ubuntu-latest\n\n    needs: [create-nightly-tag, create-nightly-build]\n    if: needs.create-nightly-build.outputs.enable-setup == 'true'\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Checkout Core Previews Repo\n        uses: actions/checkout@v4\n        with:\n          repository: streamlit/core-previews\n          # The default GITHUB_TOKEN is scoped only to the triggering streamlit/streamlit repo.\n          # Accessing streamlit/core-previews repo requires a separate auth token.\n          token: ${{ secrets.CORE_PREVIEWS_REPO_TOKEN }}\n          # Save the access token to the local git config, so\n          # later git commands can work.\n          persist-credentials: true\n      - name: Setup preview repo\n        env:\n          NIGHTLY_TAG: ${{ needs.create-nightly-tag.outputs.tag }}\n          S3_URL: ${{ needs.create-nightly-build.outputs.s3-url }}\n        run: |\n          git config --global user.email \"core+streamlitbot-github@streamlit.io\"\n          git config --global user.name \"Streamlit Bot\"\n          git branch -D nightly-preview &>/dev/null || true\n          git checkout -b nightly-preview\n\n          echo \"$S3_URL\" >> requirements.txt\n\n          git add .\n          git commit -m \"Nightly Preview: ${NIGHTLY_TAG}\"\n          git push -f origin nightly-preview\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:09.994990", "created_at": "2022-10-11T20:22:15+02:00", "updated_at": "2022-10-24T20:30:54+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [\"develop\"]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [\"develop\"]\n  schedule:\n    - cron: \"22 19 * * 6\"\n\njobs:\n  codeql-analysis:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"javascript\", \"python\"]\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          config-file: ./.github/codeql-config.yml\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:11.038104", "created_at": "2022-10-11T22:56:20+02:00", "updated_at": "2022-11-04T23:38:17+01:00", "name": "Snowpark Conda Build Test", "path": ".github/workflows/conda-build.yml", "contents": "name: Snowpark Conda Build Test\n\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-snowpark-conda-package:\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set build config env vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Install conda and conda-build\n        env:\n          MINICONDA_RELEASE: \"Miniconda3-py312_24.1.2-0-Linux-x86_64\"\n        run: |\n          curl -sO \"https://repo.anaconda.com/miniconda/${MINICONDA_RELEASE}.sh\"\n          bash \"${MINICONDA_RELEASE}.sh\" -b\n          conda install conda-build\n      - name: Build Snowpark Conda Package - Fast\n        timeout-minutes: 120\n        run: |\n          sudo apt install rsync\n          conda config --set conda_build.pkg_format 2\n          SNOWPARK_CONDA_BUILD=1 BUILD_AS_FAST_AS_POSSIBLE=1 make conda-package\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:12.093681", "created_at": "2022-11-16T03:39:45+01:00", "updated_at": "2022-11-18T23:37:22+01:00", "name": "Pull Request Labels", "path": ".github/workflows/require-labels.yml", "contents": "name: Pull Request Labels\n\non:\n  pull_request:\n    types: [opened, labeled, unlabeled, synchronize]\n\njobs:\n  security-assessment:\n    runs-on: ubuntu-latest\n\n    permissions:\n      pull-requests: read\n\n    steps:\n      # v2=7b0461786d3bd0c6a8487e9b57814ba3e2c00227\n      - uses: mheap/github-action-required-labels@5847eef68201219cf0a4643ea7be61e77837bbce\n        with:\n          mode: exactly\n          count: 1\n          labels: \"security-assessment-completed\"\n  do-not-merge-guardrail:\n    runs-on: ubuntu-latest\n\n    permissions:\n      pull-requests: read\n\n    steps:\n      # v2=7b0461786d3bd0c6a8487e9b57814ba3e2c00227\n      - uses: mheap/github-action-required-labels@5847eef68201219cf0a4643ea7be61e77837bbce\n        with:\n          mode: exactly\n          count: 0\n          labels: \"do-not-merge\"\n  change-description:\n    runs-on: ubuntu-latest\n\n    permissions:\n      pull-requests: read\n\n    steps:\n      # v2=7b0461786d3bd0c6a8487e9b57814ba3e2c00227\n      - uses: mheap/github-action-required-labels@5847eef68201219cf0a4643ea7be61e77837bbce\n        with:\n          mode: exactly\n          count: 1\n          labels: \"change:feature,change:bugfix,change:refactor,change:chore,change:docs,change:other\"\n  impact-defined:\n    runs-on: ubuntu-latest\n\n    permissions:\n      pull-requests: read\n\n    steps:\n      # v2=7b0461786d3bd0c6a8487e9b57814ba3e2c00227\n      - uses: mheap/github-action-required-labels@5847eef68201219cf0a4643ea7be61e77837bbce\n        with:\n          mode: exactly\n          count: 1\n          labels: \"impact:users,impact:internal\"\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:13.206530", "created_at": "2023-01-19T04:31:31+01:00", "updated_at": "2024-06-06T20:42:59+02:00", "name": "Run Semgrep Checks", "path": ".github/workflows/semgrep.yml", "contents": "---\nname: Run Semgrep Checks\n\non:\n  pull_request:\n    branches: [develop]\n\npermissions:\n  contents: read\n\njobs:\n  run-semgrep-reusable-workflow:\n    uses: snowflakedb/reusable-workflows/.github/workflows/semgrep-v2.yml@main\n    secrets:\n      token: ${{ secrets.SEMGREP_APP_TOKEN }}\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:14.225723", "created_at": "2023-01-25T23:14:43+01:00", "updated_at": "2024-06-06T20:42:59+02:00", "name": "Cypress Update Snapshots", "path": ".github/workflows/cypress-update-snapshots.yml", "contents": "name: Cypress Update Snapshots\n\non:\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      testname:\n        description: \"Enter the test name to run (see e2e/specs/[testname].spec.js). For example: st_alert\"\n        default: \"st_alert\"\n        type: \"string\"\n        required: true\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.inputs.testname }}\n  cancel-in-progress: true\n\njobs:\n  cypress-update-snapshots:\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.ref_name }}\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Install Cypress dependencies\n        run: |\n          sudo apt install -y xvfb libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 curl\n      - name: Run make develop\n        run: make develop\n      - name: Register Streamlit User & Mapbox Token\n        run: |\n          if [ ! -d $HOME/.streamlit ] ; then\n            mkdir $HOME/.streamlit\n          fi\n          echo '[mapbox]' >  ~/.streamlit/config.toml\n          MAPBOX_TOKEN=$(curl -sS https://data.streamlit.io/tokens.json | jq -r '.[\"mapbox-localhost\"]') \\\n            && echo 'token = \"'$MAPBOX_TOKEN'\"' >> ~/.streamlit/config.toml\n\n          echo '[general]' >  ~/.streamlit/credentials.toml\n          echo 'email = \"test@streamlit.io\"' >> ~/.streamlit/credentials.toml\n      - name: Run Cypress test\n        run: |\n          scripts/run_e2e_tests.py -u \"e2e/specs/${{ inputs.testname }}.spec.js\"\n      - name: Check that all screenshots have been committed\n        run: |\n          set -x;\n\n          UNTRACKED_FILE_COUNT=$(git ls-files --others --exclude-standard | grep cypress | wc -l | bc -l || echo '0')\n          echo \"Untracked files count: ${UNTRACKED_FILE_COUNT}\"\n          if [[ \"${UNTRACKED_FILE_COUNT}\" -gt 0 ]]; then\n            echo \"Untracked files:\";\n            git ls-files --others --exclude-standard | grep cypress;\n            exit 1;\n          fi\n      - name: Store Snapshots\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: cypress_snapshots\n          path: frontend/cypress/snapshots/linux/2x/${{ inputs.testname }}.spec.js\n      - name: Store Videos\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: cypress_videos\n          path: frontend/cypress/videos\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:15.343848", "created_at": "2023-06-13T01:11:47+02:00", "updated_at": "2024-06-06T20:42:59+02:00", "name": "Python Minimum Dependency Versions", "path": ".github/workflows/python-min-deps.yml", "contents": "name: Python Minimum Dependency Versions\n\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n  # Allows workflow to be called from other workflows\n  workflow_call:\n    inputs:\n      ref:\n        required: true\n        type: string\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-python-min\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --login -eo pipefail {0}\n\nenv:\n  FORCE_COLOR: \"1\"\n\njobs:\n  py-min-deps-test:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n\n    env:\n      PYTHON_VERSION: \"${{needs.build_info.outputs.PYTHON_MIN_VERSION}}\"\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MIN_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MIN_VERSION }}\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n        with:\n          use_cached_venv: false\n      - name: Install min dependencies (force reinstall)\n        run: uv pip install -r lib/min-constraints-gen.txt --force-reinstall\n      - name: Generate Protobufs\n        run: make protobuf\n      - name: Make local modules visible\n        run: uv pip install --editable ./lib --no-deps\n      - name: Run Python Tests\n        run: make pytest\n      - name: CLI Smoke Tests\n        run: make cli-smoke-tests\n      - name: Validate min-constraints-gen\n        run: |\n          make gen-min-dep-constraints\n\n          git_status=$(git status --porcelain -- lib/min-constraints-gen.txt)\n          if [[ -n $git_status ]]; then\n            echo \"::error::The min constraints file is out of date! Please run \\`make gen-min-dep-constraints\\` and commit the result.\"\n            echo \"::group::git diff lib/min-constraints-gen.txt\"\n            git diff lib/min-constraints-gen.txt\n            echo \"::endgroup::\"\n            exit 1\n          else\n            echo \"min constraints file is up to date.\"\n          fi\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:16.675774", "created_at": "2023-07-13T00:12:13+02:00", "updated_at": "2023-07-26T20:21:44+02:00", "name": "Playwright E2E Tests", "path": ".github/workflows/playwright.yml", "contents": "name: Playwright E2E Tests\n\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n  # Allows workflow to be called from other workflows\n  workflow_call:\n    inputs:\n      ref:\n        required: true\n        type: string\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-playwright\n  cancel-in-progress: true\n\njobs:\n  playwright-e2e-tests:\n    runs-on: ubuntu-latest-32-cores\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Install playwright\n        run: python -m playwright install --with-deps\n      - name: Run make frontend-fast\n        run: make frontend-fast\n      - name: Run make playwright\n        run: make playwright\n      - name: Upload failed test results\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: playwright_test_results\n          path: e2e_playwright/test-results\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:17.676469", "created_at": "2023-07-21T01:46:28+02:00", "updated_at": "2024-02-16T02:20:33+01:00", "name": "Ensure Relative Imports Exist in Prod @streamlit/lib", "path": ".github/workflows/build-streamlit-lib-prod.yml", "contents": null, "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:18.771913", "created_at": "2023-07-27T00:08:43+02:00", "updated_at": "2024-06-06T20:42:59+02:00", "name": "Community Voting", "path": ".github/workflows/community-voting.yml", "contents": "# This workflow automatically comments on issues labeled with 'type:enhancement' or 'type:bug'\n# and adds a thumbs-up reaction to the issue to encourage community voting.\n\nname: Community Voting\non:\n  issues:\n    types:\n      - labeled\njobs:\n  add-enhancement-comment:\n    if: github.event.label.name == 'type:enhancement'\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - name: Add comment to issue\n        run: gh issue comment ${{ github.event.issue.html_url }} --body \"$ISSUE_BODY\"\n        env:\n          GH_TOKEN: ${{ github.token }}\n          ISSUE_BODY: |\n            **To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.**\n\n            Your vote helps us identify which enhancements matter most to our users.\n\n            ![Visits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fstreamlit%2Fstreamlit%2Fissues%2F${{ github.event.issue.number }}&title=visits&edge_flat=false)\n      - name: Upvote issue\n        uses: aidan-mundy/react-to-issue@b2a9194cf1ea483d633bc2834ed6c4c41c2a45f0\n        with:\n          issue-number: ${{ github.event.issue.number }}\n          reactions: \"+1\"\n  add-bug-comment:\n    if: github.event.label.name == 'type:bug'\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - name: Add comment to issue\n        run: gh issue comment ${{ github.event.issue.html_url }} --body \"$ISSUE_BODY\"\n        env:\n          GH_TOKEN: ${{ github.token }}\n          ISSUE_BODY: |\n            **If this issue affects you, please react with a 👍 (thumbs up emoji) to the initial post.**\n\n            Your feedback helps us prioritize which bugs to investigate and address first.\n\n            ![Visits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fstreamlit%2Fstreamlit%2Fissues%2F${{ github.event.issue.number }}&title=visits&edge_flat=false)\n      - name: Upvote issue\n        uses: aidan-mundy/react-to-issue@b2a9194cf1ea483d633bc2834ed6c4c41c2a45f0\n        with:\n          issue-number: ${{ github.event.issue.number }}\n          reactions: \"+1\"\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:19.866721", "created_at": "2023-08-28T15:16:26+02:00", "updated_at": "2024-06-06T20:42:59+02:00", "name": "Component-template Repo E2E Tests", "path": ".github/workflows/component-template-e2e-tests.yml", "contents": "name: Component-template Repo E2E Tests\n\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  component-template-e2e-tests:\n    runs-on: ubuntu-latest-8-cores\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"19.x\"\n          cache: \"yarn\"\n          cache-dependency-path: \"component-lib/yarn.lock\"\n\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n\n      - name: Run make develop\n        run: make develop\n\n      - name: Build Package\n        timeout-minutes: 120\n        run: BUILD_AS_FAST_AS_POSSIBLE=1 make package\n\n      - name: Return path to Streamlit wheel\n        id: streamlit_wheel\n        shell: bash\n        run: |\n          streamlit_wheel=$(find \"./lib/dist\" -maxdepth 1 -name '*.whl')\n          streamlit_wheel=$(readlink -e \"${streamlit_wheel}\")\n          echo \"output_file=${streamlit_wheel}\" >> $GITHUB_OUTPUT\n\n      - name: Install node dependencies for streamlit-component-lib\n        working-directory: component-lib\n        shell: bash\n        run: yarn install\n\n      - name: Build streamlit-component-lib package\n        working-directory: component-lib\n        shell: bash\n        run: yarn run build && npm pack\n\n      - name: Return path to Component Library\n        working-directory: component-lib\n        id: component_library\n        shell: bash\n        run: |\n          component_lib_tar_gz=$(find \"./\" -maxdepth 1 -name 'streamlit-component-lib-*.tgz')\n          component_lib_tar_gz=$(readlink -e \"${component_lib_tar_gz}\")\n          echo \"output_file=${component_lib_tar_gz}\" >> $GITHUB_OUTPUT\n\n      - name: Checkout streamlit/component-template\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          repository: streamlit/component-template\n          path: ./component-template\n\n      - name: Build components wheels\n        uses: ./component-template/.github/actions/build_component_wheels\n        id: component_wheels\n        with:\n          custom_streamlit_component_lib_file: >-\n            ${{ steps.component_library.outputs.output_file }}\n\n      - name: Run E2E tests\n        uses: ./component-template/.github/actions/run_e2e\n        with:\n          python_version: ${{ env.PYTHON_MAX_VERSION }}\n          streamlit_wheel_file: ${{ steps.streamlit_wheel.outputs.output_file }}\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:20.898157", "created_at": "2023-08-31T11:40:56+02:00", "updated_at": "2023-08-31T11:40:56+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": null, "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:22.040352", "created_at": "2024-02-11T19:58:42+01:00", "updated_at": "2024-06-06T20:42:59+02:00", "name": "Ensure Relative Imports in Frontend", "path": ".github/workflows/ensure-relative-imports.yml", "contents": "name: Ensure Relative Imports in Frontend\n\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n  # Allows workflow to be called from other workflows\n  workflow_call:\n    inputs:\n      ref:\n        required: true\n        type: string\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-ensure-relative-imports\n  cancel-in-progress: true\n\njobs:\n  ensure-relative-imports:\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Run make develop\n        run: make develop\n      - name: Run make protobuf\n        run: make protobuf\n      - name: Run make frontend-lib-prod\n        run: make frontend-lib-prod\n      - name: Ensure ensure relative imports exist in the @streamlit/lib/dist folder\n        run: make ensure-relative-imports\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:23.151533", "created_at": "2024-03-07T20:30:45+01:00", "updated_at": "2024-06-06T20:42:59+02:00", "name": "Close Stale PRs", "path": ".github/workflows/stale.yml", "contents": "name: Close Stale PRs\non:\n  workflow_dispatch:\n  schedule:\n    # Run every day at 1:30 AM UTC\n    - cron: \"30 1 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v9\n        with:\n          # Only activated for pull-requests:\n          days-before-issue-stale: -1\n          days-before-issue-close: -1\n          days-before-pr-stale: 14\n          days-before-pr-close: 7\n          stale-pr-label: \"stale\"\n          stale-pr-message: >\n            This pull request has been automatically marked as stale because\n            it has not had recent activity. It will be closed if no further\n            activity occurs. Thank you for your contributions.\n          exempt-pr-labels: \"do-not-merge,QA-Needed\"\n          remove-pr-stale-when-updated: true\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:24.203687", "created_at": "2024-04-08T15:51:34+02:00", "updated_at": "2024-04-09T14:17:33+02:00", "name": "Playwright E2E Tests - Custom Components", "path": ".github/workflows/playwright-custom-components.yml", "contents": "name: Playwright E2E Tests - Custom Components\n\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n  # Allows workflow to be called from other workflows\n  workflow_call:\n    inputs:\n      ref:\n        required: true\n        type: string\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-playwright-custom-component\n  cancel-in-progress: true\n\njobs:\n  playwright-e2e-tests-custom-components:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Install playwright\n        run: python -m playwright install --with-deps\n      - name: Run make frontend-fast\n        run: make frontend-fast\n      - name: Run make playwright-custom-components\n        run: make playwright-custom-components\n      - name: Upload failed test results\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: playwright_test_results\n          path: e2e_playwright/test-results\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:25.294206", "created_at": "2024-05-06T17:45:50+02:00", "updated_at": "2024-06-06T20:42:59+02:00", "name": "Python Bare Execution Tests", "path": ".github/workflows/python-bare-executions.yml", "contents": "name: Python Bare Execution Tests\n\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n  # Allows workflow to be called from other workflows\n  workflow_call:\n    inputs:\n      ref:\n        required: true\n        type: string\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-bare-executions\n  cancel-in-progress: true\n\njobs:\n  py-bare-executions:\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Run Bare Execution Tests\n        run: make bare-execution-tests\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:26.885059", "created_at": "2024-05-22T19:19:11+02:00", "updated_at": "2024-05-23T13:28:18+02:00", "name": "Playwright E2E Tests - Changed Files", "path": ".github/workflows/playwright-changed-files.yml", "contents": "name: Playwright E2E Tests - Changed Files\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-playwright-changed-files\n  cancel-in-progress: true\n\njobs:\n  playwright-e2e-tests-changed-files:\n    runs-on: ubuntu-latest-8-cores\n\n    defaults:\n      run:\n        shell: bash --login -eo pipefail {0}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v44\n        with:\n          path: e2e_playwright\n          # Exclude all files in custom_components folder as they require external dependencies\n          files: |\n            **/*_test.py\n            !custom_components/**\n      - name: Check changed files\n        id: check_changed_files\n        env:\n          CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}\n          CHANGED_FILES_COUNT: ${{ steps.changed-files.outputs.all_changed_files_count }}\n        run: |\n          echo \"Changed files count: ${CHANGED_FILES_COUNT}\"\n          echo \"$CHANGED_FILES\"\n          if [[ \"${CHANGED_FILES_COUNT}\" -gt 5 || \"${CHANGED_FILES_COUNT}\" -lt 1 ]]; then\n            # We limit the workflow to a max of 5 changed files, since otherwise it would\n            # take too long and would not provide any benefit compared to the main playwright\n            # workflow.\n            echo \"This workflow only supports between 1-5 changed files. Otherwise its skipping running the tests.\";\n            echo \"run_tests=false\" >> $GITHUB_OUTPUT\n          else\n            echo \"run_tests=true\" >> $GITHUB_OUTPUT\n          fi\n      - name: Use output\n        run: |\n          echo \"The output value is: ${{ steps.check_changed_files.outputs.run_tests }}\"\n      - name: Set Python version vars\n        uses: ./.github/actions/build_info\n      - name: Set up Python ${{ env.PYTHON_MAX_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ env.PYTHON_MAX_VERSION }}\"\n      - if: steps.check_changed_files.outputs.run_tests == 'true'\n        name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - if: steps.check_changed_files.outputs.run_tests == 'true'\n        name: Install playwright\n        run: python -m playwright install --with-deps\n      - if: steps.check_changed_files.outputs.run_tests == 'true'\n        name: Run make frontend-fast\n        run: make frontend-fast\n      - if: steps.check_changed_files.outputs.run_tests == 'true'\n        name: Run changed playwright tests\n        run: |\n          cd e2e_playwright;\n          rm -rf ./test-results;\n          pytest ${{ steps.changed-files.outputs.all_changed_files }} --browser webkit --browser chromium --browser firefox --video retain-on-failure --screenshot only-on-failure --full-page-screenshot --tracing retain-on-failure --output ./test-results/ -n auto --durations=5 -r aR -v\n      - name: Upload failed test results\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: playwright_test_results\n          path: e2e_playwright/test-results\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:28.039578", "created_at": "2024-06-04T21:25:07+02:00", "updated_at": "2024-06-06T20:42:59+02:00", "name": "Python Unit Tests", "path": ".github/workflows/python-tests.yml", "contents": "name: Python Unit Tests\n\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n  # Allows workflow to be called from other workflows\n  workflow_call:\n    inputs:\n      ref:\n        required: true\n        type: string\n      force-canary:\n        description: |\n          Forces the current build to be canary.\n          Canary builds test all Python versions and do not use constraints.\n        default: false\n        type: boolean\n      constraints-branch:\n        description: \"The name of the branch from which the constraints files will be downloaded or compared with.\"\n        default: \"constraints-develop\"\n        type: string\n    secrets:\n      PARAMETER_PASSWORD:\n        description: \"Token passed from caller workflows for snowflake integration tests\"\n        required: true\n\n# Avoid duplicate workflows on same branch\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-python\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --login -eo pipefail {0}\n\nenv:\n  FORCE_COLOR: \"1\"\n\njobs:\n  build_info:\n    runs-on: ubuntu-latest\n\n    name: \"Build info\"\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          persist-credentials: false\n          submodules: \"recursive\"\n          fetch-depth: 2\n      - name: Set Python version vars\n        id: build_info\n        uses: ./.github/actions/build_info\n        with:\n          force-canary: ${{ inputs.force-canary || false }}\n\n    outputs:\n      PYTHON_VERSIONS: ${{ steps.build_info.outputs.PYTHON_VERSIONS }}\n      PYTHON_MIN_VERSION: ${{ steps.build_info.outputs.PYTHON_MIN_VERSION }}\n      PYTHON_MAX_VERSION: ${{ steps.build_info.outputs.PYTHON_MAX_VERSION }}\n      USE_CONSTRAINTS_FILE: ${{ steps.build_info.outputs.USE_CONSTRAINTS_FILE }}\n\n  py-unit-tests:\n    needs:\n      - build_info\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: \"${{ fromJson(needs.build_info.outputs.PYTHON_VERSIONS) }}\"\n\n    env:\n      PYTHON_VERSION: >-\n        ${{\n          (\n            matrix.python_version == 'min' && needs.build_info.outputs.PYTHON_MIN_VERSION ||\n            (matrix.python_version == 'max' && needs.build_info.outputs.PYTHON_MAX_VERSION || matrix.python_version)\n          )\n        }}\n      USE_CONSTRAINTS_FILE: \"${{ fromJson(needs.build_info.outputs.USE_CONSTRAINTS_FILE )}}\"\n      CONSTRAINTS_BRANCH: ${{ inputs.constraints-branch || 'constraints-develop' }}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          persist-credentials: false\n          submodules: \"recursive\"\n\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Run make develop\n        run: make develop\n      - name: Run Linters\n        run: make pylint\n        env:\n          RUFF_OUTPUT_FORMAT: github\n      - name: Run Type Checkers\n        run: scripts/mypy --report\n      - name: Run Python Tests\n        run: make pytest\n      - name: CLI Smoke Tests\n        run: make cli-smoke-tests\n      - name: Set CONSTRAINTS_FILE env variable\n        if: ${{ always() }}\n        run: |\n          mkdir -p /tmp/constraints\n          echo \"CONSTRAINTS_FILE=/tmp/constraints/constraints-${PYTHON_VERSION}.txt\" >> $GITHUB_ENV\n      - name: Generate constraint file for Python ${{ env.PYTHON_VERSION }}\n        if: ${{ always() }}\n        run: |\n          pip freeze | grep -v \"\\-e git\" | tee \"${CONSTRAINTS_FILE}\"\n      - name: Diff constraint file\n        if: ${{ always() }}\n        run: |\n          CONSTRAINT_URL=\"https://raw.githubusercontent.com/${GITHUB_REPOSITORY}/${CONSTRAINTS_BRANCH}/constraints-${PYTHON_VERSION}.txt\"\n          diff -y <(echo \"Old\"; curl -s \"${CONSTRAINT_URL}\") <(echo \"New\"; cat \"${CONSTRAINTS_FILE}\") || true\n      - name: Upload constraints file\n        uses: actions/upload-artifact@v4\n        with:\n          name: constraints-${{ matrix.python_version }}\n          path: ${{ env.CONSTRAINTS_FILE }}\n          if-no-files-found: error\n\n  py-updated-constraints:\n    needs:\n      - py-unit-tests\n    permissions:\n      # Additional permission needed to upload constraints\n      contents: write\n\n    runs-on: ubuntu-latest\n    if: |\n      github.repository == 'streamlit/streamlit' && (\n      (github.event_name == 'push' && github.ref_name == 'develop') ||\n      (github.event_name == 'schedule')\n      )\n\n    name: Upload constraints\n\n    env:\n      TARGET_BRANCH: constraints-${{ github.ref_name }}\n\n    steps:\n      - name: Checkout branch \"${{ env.TARGET_BRANCH }}\"\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.TARGET_BRANCH }}\n          # Save the access token to the local git config, so\n          # later git commands can work.\n          persist-credentials: true\n\n      - uses: actions/download-artifact@v4\n        with:\n          path: .\n          pattern: constraints-*\n          merge-multiple: true\n\n      - name: Commit and push constraint files\n        run: |\n          git add .\n          git config --local user.email \"core+streamlitbot-github@streamlit.io\"\n          git config --local user.name \"Automated GitHub Actions commit\"\n          if ! git diff --cached --color --exit-code --ignore-matching-lines=\"^#.*\"\n          then\n            git commit --all --message \"Updating constraints. Github run id:${GITHUB_RUN_ID}\n\n            This update in constraints is automatically committed by the CI based on\n            '${GITHUB_REF}' in the '${GITHUB_REPOSITORY}' repository with commit sha ${GITHUB_SHA}.\n\n            The action that build those constraints can be found at https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}/\n            \"\n            git push \"origin\" \"HEAD:${TARGET_BRANCH}\";\n          else\n            echo \"No changes\"\n          fi\n        env:\n          TARGET_BRANCH: constraints-${{ github.ref_name }}\n\n  py-snowflake-integration-tests:\n    needs:\n      - build_info\n\n    runs-on: ubuntu-latest\n\n    # Runs triggered by PRs from forks or by dependabot won't run this job, since that PR wouldn't have secrets access\n    # See: https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions\n    # Runs triggered by Release/RC are workflow_dispatch events ; Nightly is a schedule event\n    if: |\n      github.repository == 'streamlit/streamlit' && (\n      (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]') ||\n      (github.event_name == 'push') ||\n      (github.event_name == 'workflow_dispatch') ||\n      (github.event_name == 'schedule')\n      )\n\n    name: >\n      Python 3.8: Python tests for Snowflake\n\n    env:\n      USE_CONSTRAINTS_FILE: \"${{ fromJson(needs.build_info.outputs.USE_CONSTRAINTS_FILE )}}\"\n      CONSTRAINTS_BRANCH: ${{ inputs.constraints-branch || 'constraints-develop' }}\n\n    steps:\n      - name: Checkout Streamlit code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          persist-credentials: false\n          submodules: \"recursive\"\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n      - name: Decrypt credentials\n        run: ./.github/scripts/decrypt_credentials.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n      - name: Setup virtual env\n        uses: ./.github/actions/make_init\n      - name: Run make develop\n        run: make develop\n      - name: Run Type Checkers\n        run: scripts/mypy --report\n      - name: Run Python Tests for Snowflake\n        run: make pytest-snowflake\n", "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:29.164655", "created_at": "2024-07-15T12:44:20+02:00", "updated_at": "2024-07-15T12:44:20+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "streamlit/streamlit"}
{"mined_at": "2024-07-15T15:35:31.188867", "created_at": "2020-11-17T18:31:21+01:00", "updated_at": "2020-11-17T18:31:21+01:00", "name": "Create Release", "path": ".github/workflows/gh-release.yml", "contents": "on:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10\n\nname: Create Release\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    permissions:\n      contents: write  # for actions/create-release to create a release\n    name: Create Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: Release ${{ github.ref }}\n          body: |\n            See [CHANGELOG.md](https://github.com/joke2k/faker/blob/${{ github.ref }}/CHANGELOG.md).\n          draft: false\n          prerelease: false\n", "state": "active", "repository": "joke2k/faker"}
{"mined_at": "2024-07-15T15:35:32.343653", "created_at": "2021-09-08T02:50:30+02:00", "updated_at": "2021-09-09T22:20:40+02:00", "name": "Python Tests", "path": ".github/workflows/ci.yml", "contents": "name: Python Tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request_target:\n    types: [opened, synchronize, reopened]\n\npermissions:\n  contents: read\n\njobs:\n  flake8:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup pip cache\n      uses: actions/cache@v4\n      id: pipcache\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-flake8\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install flake8\n    - name: Lint with flake8\n      uses: liskin/gh-problem-matcher-wrap@v3\n      with:\n        linters: flake8\n        run: flake8 --extend-ignore=E203 faker tests\n\n  checkmanifest:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup pip cache\n      uses: actions/cache@v4\n      id: pipcache\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-checkmanifest\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install tox\n    - name: Check manifest\n      run: tox\n      env:\n        TOXENV: checkmanifest\n\n  isort:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup pip cache\n      uses: actions/cache@v4\n      id: pipcache\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-isort\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install isort\n    - name: Import order checking with isort\n      uses: liskin/gh-problem-matcher-wrap@v3\n      with:\n        linters: isort\n        run: isort --check --diff .\n\n  black:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup pip cache\n      uses: actions/cache@v4\n      id: pipcache\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-black\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install tox\n    - name: Formatting with black\n      run: tox\n      env:\n        TOXENV: black\n\n  doc8:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup pip cache\n      uses: actions/cache@v4\n      id: pipcache\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-pep8\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install tox\n    - name: Doc formatting\n      run: tox\n      env:\n        TOXENV: doc8\n\n  typing:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup pip cache\n      uses: actions/cache@v4\n      id: pipcache\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-typing\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install dependencies\n      run: |\n        python -m pip install mypy\n    - name: Static type checking with mypy\n      uses: liskin/gh-problem-matcher-wrap@v3\n      with:\n        linters: mypy\n        run: mypy --install-types --non-interactive --config mypy.ini faker\n\n  test_ubuntu:\n    runs-on: ubuntu-latest\n    needs: [flake8, isort, black, doc8, checkmanifest, typing]\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"pypy-3.10\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup pip cache\n        uses: actions/cache@v4\n        id: pipcache\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-test_ubuntu\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Tox and any other packages\n        run: python -m pip install tox coveralls\n      - name: pytest\n        uses: liskin/gh-problem-matcher-wrap@v3\n        with:\n          linters: pytest\n          run: tox -e py\n        env:\n          COVERALLS_PARALLEL: true\n          COVERALLS_FLAG_NAME: run-ubuntu-${{ matrix.python }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_SERVICE_NAME: github\n      - name: Publish coverage\n        run: coveralls --service=github\n        env:\n          COVERALLS_PARALLEL: true\n          COVERALLS_FLAG_NAME: run-ubuntu-${{ matrix.python }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_SERVICE_NAME: github\n\n  test_windows:\n    runs-on: windows-latest\n    needs: [flake8, isort, black, doc8, checkmanifest, typing]\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        arch: [\"x86\", \"x64\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup pip cache\n        uses: actions/cache@v4\n        id: pipcache\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-test_windows\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install Tox and any other packages\n        run: python -m pip install tox coveralls\n      - name: Run Tox\n        # Run tox using the version of Python in `PATH`\n        run: tox -e py\n      - name: Publish coverage\n        run: coveralls --service=github\n        env:\n          COVERALLS_PARALLEL: true\n          COVERALLS_FLAG_NAME: run-ubuntu-${{ matrix.python }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_SERVICE_NAME: github\n\n  test_alpine:\n    runs-on: ubuntu-latest\n    needs: [flake8, isort, black, doc8, checkmanifest, typing]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup pip cache\n      uses: actions/cache@v4\n      id: pipcache\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-test_alpine\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install tox==3.27.1 setuptools\n    - name: Run tests\n      run: tox\n      env:\n        TOXENV: alpine\n        TEST_ALPINE: 1\n\n  finish:\n    needs: [test_ubuntu, test_windows, test_alpine]\n    runs-on: ubuntu-latest\n    steps:\n    - name: Coveralls Finished\n      uses: AndreMiras/coveralls-python-action@develop\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        parallel-finished: true\n", "state": "active", "repository": "joke2k/faker"}
{"mined_at": "2024-07-15T15:35:33.346383", "created_at": "2022-03-11T16:38:37+01:00", "updated_at": "2022-03-11T16:38:37+01:00", "name": "Close inactive issues", "path": ".github/workflows/issues.yml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v9\n        with:\n          days-before-issue-stale: 90\n          days-before-issue-close: 14\n          exempt-issue-labels: 'awaiting-approval,work-in-progress'\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue is stale because it has been open for 30 days with no activity.\"\n          close-issue-message: \"This issue was closed because it has been inactive for 14 days since being marked as stale.\"\n          days-before-pr-stale: 90\n          days-before-pr-close: 14\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "joke2k/faker"}
{"mined_at": "2024-07-15T15:35:35.461036", "created_at": "2020-04-28T16:27:36+02:00", "updated_at": "2024-05-22T18:57:57+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "# Do not edit these workflows directly as the changes made will be overwritten.\n# Instead, edit the template '.github/workflows/templates/ci.yml.jinja'\n---\nname: CI\nrun-name: \"CI (${{ github.event_name == 'pull_request' && format('pr: #{0}', github.event.number) || format('{0}: {1}', startsWith(github.event.ref, 'refs/tags') && 'tag' || 'branch', github.ref_name) }})\"\n\non:\n  push: {}\n  pull_request:\n    types:\n      - labeled\n      - unlabeled\n      - opened\n      - reopened\n      - synchronize\n\nenv:\n  COLUMNS: 190\n  CACHE_SEED: SEED-2  # Bump the number to invalidate all caches\n  RELENV_DATA: \"${{ github.workspace }}/.relenv\"\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n\npermissions:\n  contents: read  # for dorny/paths-filter to fetch a list of changed files\n  pull-requests: read  # for dorny/paths-filter to read pull requests\n  actions: read  # for technote-space/workflow-conclusion-action to get the job statuses\n\nconcurrency:\n  # Concurrency is defined in a way that concurrent builds against branches do\n  # not cancel previous builds.\n  # However, for every new build against the same pull request source branch,\n  # all older builds against that same branch get canceled.\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.repository }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n\n  prepare-workflow:\n    name: Prepare Workflow Run\n    runs-on: ubuntu-latest\n    outputs:\n      jobs: ${{ steps.define-jobs.outputs.jobs }}\n      runners: ${{ steps.runner-types.outputs.runners }}\n      changed-files: ${{ steps.process-changed-files.outputs.changed-files }}\n      os-labels: ${{ steps.get-pull-labels.outputs.os-labels }}\n      pull-labels: ${{ steps.get-pull-labels.outputs.test-labels }}\n      testrun: ${{ steps.define-testrun.outputs.testrun }}\n      salt-version: ${{ steps.setup-salt-version.outputs.salt-version }}\n      cache-seed: ${{ steps.set-cache-seed.outputs.cache-seed }}\n      latest-release: ${{ steps.get-salt-releases.outputs.latest-release }}\n      releases: ${{ steps.get-salt-releases.outputs.releases }}\n      release-changelog-target: ${{ steps.get-release-changelog-target.outputs.release-changelog-target }}\n      testing-releases: ${{ steps.get-testing-releases.outputs.testing-releases }}\n      nox-archive-hash: ${{ steps.nox-archive-hash.outputs.nox-archive-hash }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0  # Full clone to also get the tags to get the right salt version\n\n      - name: Get Changed Files\n        if: ${{ github.event_name == 'pull_request'}}\n        id: changed-files\n        uses: dorny/paths-filter@v3\n        with:\n          token: ${{ github.token }}\n          list-files: json\n          filters: |\n            repo:\n              - added|modified:\n                - '**'\n            doc-requirements:\n              - added|modified: &doc_requirements\n                - requirements/static/ci/py3.*/docs.txt\n            lint-requirements:\n              - added|modified: &lint_requirements\n                - requirements/static/ci/py3.*/lint.txt\n            pkg_requirements:\n              - added|modified: &pkg_requirements\n                - requirements/static/pkg/py3.*/darwin.txt\n                - requirements/static/pkg/py3.*/linux.txt\n                - requirements/static/pkg/py3.*/freebsd.txt\n                - requirements/static/pkg/py3.*/windows.txt\n            test_requirements:\n              - added|modified: &test_requirements\n                - requirements/static/ci/py3.*/darwin.txt\n                - requirements/static/ci/py3.*/linux.txt\n                - requirements/static/ci/py3.*/freebsd.txt\n                - requirements/static/ci/py3.*/windows.txt\n                - requirements/static/ci/py3.*/darwin-crypto.txt\n                - requirements/static/ci/py3.*/linux-crypto.txt\n                - requirements/static/ci/py3.*/freebsd-crypto.txt\n                - requirements/static/ci/py3.*/windows-crypto.txt\n            deleted:\n              - deleted:\n                - '**'\n            docs:\n              - added|modified:\n                - doc/**\n                - .github/workflows/build-docs.yml\n                - *doc_requirements\n            workflows:\n              - added|modified:\n                - cicd/shared-gh-workflows-context.yml\n                - .github/actions/**/action.yml\n                - .github/workflows/*.yml\n                - .github/workflows/templates/*.yml.jinja2\n                - tools/precommit/workflows.py\n            salt:\n              - added|modified: &salt_added_modified\n                - setup.py\n                - noxfile.py\n                - salt/**/*.py\n                - tasks/**/*.py\n                - tools/**/*.py\n            tests:\n              - added|modified: &tests_added_modified\n                - tests/**/*.py\n            lint:\n              - added|modified:\n                - .pylintrc\n                - *lint_requirements\n            golden_images:\n              - added|modified:\n                - cicd/golden-images.json\n            pkg_tests:\n              - added|modified: &pkg_tests_added_modified\n                - pkg/**\n                - *pkg_requirements\n                - *salt_added_modified\n            testrun:\n              - added|modified:\n                - *pkg_requirements\n                - *test_requirements\n                - *salt_added_modified\n                - *tests_added_modified\n                - *pkg_tests_added_modified\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ env.CACHE_SEED }}\n\n      - name: Pretty Print The GH Actions Event\n        run:\n          tools ci print-gh-event\n\n      - name: Set Cache Seed Output\n        id: set-cache-seed\n        run: |\n          tools ci define-cache-seed ${{ env.CACHE_SEED }}\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"\"\n          validate-version: true\n\n      - name: Get Pull Request Test Labels\n        id: get-pull-labels\n        if: ${{ github.event_name == 'pull_request'}}\n        env:\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-pr-test-labels --repository ${{ github.repository }}\n\n      - name: Get Hash For Nox Tarball Cache\n        id: nox-archive-hash\n        run: |\n          echo \"nox-archive-hash=${{ hashFiles('requirements/**/*.txt', 'cicd/golden-images.json', 'noxfile.py', 'pkg/common/env-cleanup-rules.yml', '.github/workflows/build-deps-ci-action.yml') }}\" | tee -a \"$GITHUB_OUTPUT\"\n\n      - name: Write Changed Files To A Local File\n        run:\n          echo '${{ toJSON(steps.changed-files.outputs) }}' > changed-files.json\n\n      - name: Check Local Changed Files Contents\n        if: ${{ github.event_name == 'pull_request' }}\n        run:\n          cat changed-files.json\n\n      - name: Process Changed Files\n        id: process-changed-files\n        run: |\n          tools ci process-changed-files ${{ github.event_name }} changed-files.json\n\n      - name: Check Collected Changed Files\n        if: ${{ github.event_name == 'pull_request' }}\n        run: |\n          echo '${{ steps.process-changed-files.outputs.changed-files }}' | jq -C '.'\n\n      - name: Define Runner Types\n        id: runner-types\n        run: |\n          tools ci runner-types ${{ github.event_name }}\n\n      - name: Define Jobs To Run\n        id: define-jobs\n        run: |\n          tools ci define-jobs ${{ github.event_name }} changed-files.json\n\n      - name: Get Salt Releases\n        id: get-salt-releases\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-releases\n\n      - name: Get Latest Salt Releases for Testing\n        id: get-testing-releases\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-testing-releases ${{ join(fromJSON(steps.get-salt-releases.outputs.releases), ' ') }} --salt-version ${{ steps.setup-salt-version.outputs.salt-version }}\n\n      - name: Define Testrun\n        id: define-testrun\n        run: |\n          tools ci define-testrun ${{ github.event_name }} changed-files.json\n\n      - name: Check Contents of generated testrun-changed-files.txt\n        if: ${{ fromJSON(steps.define-testrun.outputs.testrun)['type'] != 'full' }}\n        run: |\n          cat testrun-changed-files.txt || true\n\n      - name: Upload testrun-changed-files.txt\n        if: ${{ fromJSON(steps.define-testrun.outputs.testrun)['type'] != 'full' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-changed-files.txt\n          path: testrun-changed-files.txt\n\n      - name: Get Release Changelog Target\n        id: get-release-changelog-target\n        run: |\n          tools ci get-release-changelog-target ${{ github.event_name }}\n\n\n  pre-commit:\n    name: Pre-Commit\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    uses: ./.github/workflows/pre-commit-action.yml\n    needs:\n      - prepare-workflow\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      changed-files: ${{ needs.prepare-workflow.outputs.changed-files }}\n      pre-commit-version: \"3.0.4\"\n\n  lint:\n    name: Lint\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['lint'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    uses: ./.github/workflows/lint-action.yml\n    needs:\n      - prepare-workflow\n    with:\n      changed-files: ${{ needs.prepare-workflow.outputs.changed-files }}\n\n  prepare-release:\n    name: \"Prepare Release: ${{ needs.prepare-workflow.outputs.salt-version }}\"\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['prepare-release'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    runs-on: ubuntu-latest\n    needs:\n      - prepare-workflow\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-changelog\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n      - name: Update Debian changelog\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools changelog update-deb --draft\n          tools changelog update-deb\n\n      - name: Update RPM changelog\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools changelog update-rpm --draft\n          tools changelog update-rpm\n\n      - name: Create Release Notes Template\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          if [ \"${{ needs.prepare-workflow.outputs.release-changelog-target }}\" == \"next-major-release\" ]; then\n            tools changelog update-release-notes --next-release --template-only\n          else\n            tools changelog update-release-notes --template-only\n          fi\n\n      - name: Update Release Notes\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          if [ \"${{ needs.prepare-workflow.outputs.release-changelog-target }}\" == \"next-major-release\" ]; then\n              tools changelog update-release-notes --draft --next-release\n              tools changelog update-release-notes --next-release\n          else\n              tools changelog update-release-notes --draft\n              tools changelog update-release-notes\n          fi\n\n      - name: Generate MAN Pages\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        env:\n          LATEST_RELEASE: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n          SALT_ON_SALTSTACK: \"1\"\n        run: |\n          tools docs man\n\n      - name: Update Changelog\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools changelog update-changelog-md --draft\n          tools changelog update-changelog-md\n\n      - name: Show Changes Diff\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          git diff --color\n\n      - name: Configure Git\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          git config --global user.name \"Salt Project Packaging\"\n          git config --global user.email saltproject-packaging@vmware.com\n\n      - name: Setup Pre-Commit\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        uses: ./.github/actions/setup-pre-commit\n        with:\n          version: \"3.0.4\"\n          cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Commit Changes\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        env:\n          SKIP: lint-salt,lint-tests\n          PRE_COMMIT_COLOR: always\n        run: |\n          # Run it twice so that pre-commit can fix anything that can be automatically fixed.\n          git commit -am \"Release v${{ needs.prepare-workflow.outputs.salt-version }}\" || \\\n            git commit -am \"Release v${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n      - name: Create release changes patch\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          git format-patch --keep-subject --binary --stdout HEAD^ > salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n\n      - name: Upload Changes Diff Artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n          path: salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n          retention-days: 7\n          if-no-files-found: error\n\n  build-docs:\n    name: Documentation\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-docs'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-source-tarball\n    uses: ./.github/workflows/build-docs.yml\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n  build-source-tarball:\n    name: Build Source Tarball\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-source-tarball'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - prepare-release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-build\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n      - name: Build Source Tarball\n        uses: ./.github/actions/build-source-tarball\n        with:\n          salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n  build-deps-onedir:\n    name: Build Dependencies Onedir\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-deps-onedir'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n    uses: ./.github/workflows/build-deps-onedir.yml\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      self-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n      github-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n\n  build-salt-onedir:\n    name: Build Salt Onedir\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-salt-onedir'] }}\n    needs:\n      - prepare-workflow\n      - build-deps-onedir\n      - build-source-tarball\n    uses: ./.github/workflows/build-salt-onedir.yml\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      self-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n      github-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n\n  build-pkgs-onedir:\n    name: Build Packages\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-pkgs'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    uses: ./.github/workflows/build-packages.yml\n    with:\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n      source: \"onedir\"\n\n  build-pkgs-src:\n    name: Build Packages\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-pkgs'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    uses: ./.github/workflows/build-packages.yml\n    with:\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n      source: \"src\"\n  build-ci-deps:\n    name: CI Deps\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-deps-ci'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    uses: ./.github/workflows/build-deps-ci-action.yml\n    with:\n      nox-session: ci-test-onedir\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      nox-archive-hash: \"${{ needs.prepare-workflow.outputs.nox-archive-hash }}\"\n\n  rockylinux-8-pkg-tests:\n    name: Rocky Linux 8 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'rockylinux-8') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-8\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  rockylinux-8-arm64-pkg-tests:\n    name: Rocky Linux 8 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'rockylinux-8-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-8-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  rockylinux-9-pkg-tests:\n    name: Rocky Linux 9 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-9\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  rockylinux-9-arm64-pkg-tests:\n    name: Rocky Linux 9 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'rockylinux-9-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-9-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2-pkg-tests:\n    name: Amazon Linux 2 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'amazonlinux-2') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2-arm64-pkg-tests:\n    name: Amazon Linux 2 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'amazonlinux-2-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2023-pkg-tests:\n    name: Amazon Linux 2023 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'amazonlinux-2023') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2023-arm64-pkg-tests:\n    name: Amazon Linux 2023 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  centos-7-pkg-tests:\n    name: CentOS 7 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'centos-7') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: centos-7\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-11-pkg-tests:\n    name: Debian 11 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-11') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-11\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-11-arm64-pkg-tests:\n    name: Debian 11 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-11-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-11-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-12-pkg-tests:\n    name: Debian 12 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-12') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-12\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-12-arm64-pkg-tests:\n    name: Debian 12 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-12-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-12-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-4-pkg-tests:\n    name: Photon OS 4 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-4') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-4-arm64-pkg-tests:\n    name: Photon OS 4 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-4-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-4-pkg-tests-fips:\n    name: Photon OS 4 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-4') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  photonos-4-arm64-pkg-tests-fips:\n    name: Photon OS 4 Arm64 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-4-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  photonos-5-pkg-tests:\n    name: Photon OS 5 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-5') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-5-arm64-pkg-tests:\n    name: Photon OS 5 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-5-pkg-tests-fips:\n    name: Photon OS 5 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-5') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  photonos-5-arm64-pkg-tests-fips:\n    name: Photon OS 5 Arm64 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  ubuntu-2004-pkg-tests:\n    name: Ubuntu 20.04 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-20.04') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2004-arm64-pkg-tests:\n    name: Ubuntu 20.04 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-20.04-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2204-pkg-tests:\n    name: Ubuntu 22.04 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-22.04') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2204-arm64-pkg-tests:\n    name: Ubuntu 22.04 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-22.04-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2404-pkg-tests:\n    name: Ubuntu 24.04 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-24.04') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2404-arm64-pkg-tests:\n    name: Ubuntu 24.04 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  macos-12-pkg-tests:\n    name: macOS 12 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-macos.yml\n    with:\n      distro-slug: macos-12\n      runner: macos-12\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: macos\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  macos-13-pkg-tests:\n    name: macOS 13 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'macos-13') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-macos.yml\n    with:\n      distro-slug: macos-13\n      runner: macos-13\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: macos\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  macos-13-arm64-pkg-tests:\n    name: macOS 13 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'macos-13-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-macos.yml\n    with:\n      distro-slug: macos-13-arm64\n      runner: macos-13-xlarge\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: macos\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2016-nsis-pkg-tests:\n    name: Windows 2016 NSIS Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'windows-2016') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2016\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: NSIS\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2016-msi-pkg-tests:\n    name: Windows 2016 MSI Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'windows-2016') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2016\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: MSI\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2019-nsis-pkg-tests:\n    name: Windows 2019 NSIS Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'windows-2019') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2019\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: NSIS\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2019-msi-pkg-tests:\n    name: Windows 2019 MSI Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'windows-2019') }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2019\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: MSI\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2022-nsis-pkg-tests:\n    name: Windows 2022 NSIS Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2022\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: NSIS\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2022-msi-pkg-tests:\n    name: Windows 2022 MSI Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2022\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: MSI\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2016:\n    name: Windows 2016 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'windows-2016') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-windows.yml\n    with:\n      distro-slug: windows-2016\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 210 || 360 }}\n\n  windows-2019:\n    name: Windows 2019 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'windows-2019') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-windows.yml\n    with:\n      distro-slug: windows-2019\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 210 || 360 }}\n\n  windows-2022:\n    name: Windows 2022 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-windows.yml\n    with:\n      distro-slug: windows-2022\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 210 || 360 }}\n\n  macos-12:\n    name: macOS 12 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-macos.yml\n    with:\n      distro-slug: macos-12\n      runner: macos-12\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  macos-13:\n    name: macOS 13 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'macos-13') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-macos.yml\n    with:\n      distro-slug: macos-13\n      runner: macos-13\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  macos-13-arm64:\n    name: macOS 13 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'macos-13-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-macos.yml\n    with:\n      distro-slug: macos-13-arm64\n      runner: macos-13-xlarge\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-8:\n    name: Rocky Linux 8 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'rockylinux-8') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-8\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-8-arm64:\n    name: Rocky Linux 8 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'rockylinux-8-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-8-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-9:\n    name: Rocky Linux 9 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-9\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-9-arm64:\n    name: Rocky Linux 9 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'rockylinux-9-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-9-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2:\n    name: Amazon Linux 2 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'amazonlinux-2') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2-arm64:\n    name: Amazon Linux 2 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'amazonlinux-2-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2023:\n    name: Amazon Linux 2023 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'amazonlinux-2023') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2023-arm64:\n    name: Amazon Linux 2023 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  archlinux-lts:\n    name: Arch Linux LTS Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: archlinux-lts\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  centos-7:\n    name: CentOS 7 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'centos-7') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: centos-7\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-11:\n    name: Debian 11 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-11') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-11\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-11-arm64:\n    name: Debian 11 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-11-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-11-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-12:\n    name: Debian 12 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-12') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-12\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-12-arm64:\n    name: Debian 12 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'debian-12-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-12-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  fedora-40:\n    name: Fedora 40 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'fedora-40') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: fedora-40\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  opensuse-15:\n    name: Opensuse 15 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'opensuse-15') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: opensuse-15\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-4:\n    name: Photon OS 4 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-4') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-4-arm64:\n    name: Photon OS 4 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-4-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-4-fips:\n    name: Photon OS 4 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-4') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  photonos-4-arm64-fips:\n    name: Photon OS 4 Arm64 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-4-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  photonos-5:\n    name: Photon OS 5 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-5') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-5-arm64:\n    name: Photon OS 5 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-5-fips:\n    name: Photon OS 5 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'photonos-5') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  photonos-5-arm64-fips:\n    name: Photon OS 5 Arm64 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  ubuntu-2004:\n    name: Ubuntu 20.04 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-20.04') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2004-arm64:\n    name: Ubuntu 20.04 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-20.04-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2204:\n    name: Ubuntu 22.04 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-22.04') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2204-arm64:\n    name: Ubuntu 22.04 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-22.04-arm64') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2404:\n    name: Ubuntu 24.04 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] && contains(fromJSON(needs.prepare-workflow.outputs.os-labels), 'ubuntu-24.04') }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2404-arm64:\n    name: Ubuntu 24.04 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] }}\n      workflow-slug: ci\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  combine-all-code-coverage:\n    name: Combine Code Coverage\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] == false }}\n    runs-on: ubuntu-latest\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n      - windows-2016\n      - windows-2019\n      - windows-2022\n      - macos-12\n      - macos-13\n      - macos-13-arm64\n      - rockylinux-8\n      - rockylinux-8-arm64\n      - rockylinux-9\n      - rockylinux-9-arm64\n      - amazonlinux-2\n      - amazonlinux-2-arm64\n      - amazonlinux-2023\n      - amazonlinux-2023-arm64\n      - archlinux-lts\n      - centos-7\n      - debian-11\n      - debian-11-arm64\n      - debian-12\n      - debian-12-arm64\n      - fedora-40\n      - opensuse-15\n      - photonos-4\n      - photonos-4-arm64\n      - photonos-4-fips\n      - photonos-4-arm64-fips\n      - photonos-5\n      - photonos-5-arm64\n      - photonos-5-fips\n      - photonos-5-arm64-fips\n      - ubuntu-2004\n      - ubuntu-2004-arm64\n      - ubuntu-2204\n      - ubuntu-2204-arm64\n      - ubuntu-2404\n      - ubuntu-2404-arm64\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        id: python-tools-scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-coverage\n\n      - name: Install Nox\n        run: |\n          python3 -m pip install 'nox==2022.8.7'\n\n\n\n      - name: Merge All Code Coverage Test Run Artifacts\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: all-testrun-coverage-artifacts\n          pattern: all-testrun-coverage-artifacts-*\n          separate-directories: false\n          delete-merged: true\n\n      - name: Get coverage reports\n        id: get-coverage-reports\n        uses: actions/download-artifact@v4\n        with:\n          name: all-testrun-coverage-artifacts\n          path: artifacts/coverage/\n\n      - name: Display structure of downloaded files\n        run: tree -a artifacts/\n\n      - name: Install Codecov CLI\n        run: |\n          # We can't yet use tokenless uploads with the codecov CLI\n          # python3 -m pip install codecov-cli\n          #\n          curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --import\n          curl -Os https://uploader.codecov.io/latest/linux/codecov\n          curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM\n          curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig\n          gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM\n          shasum -a 256 -c codecov.SHA256SUM\n          chmod +x codecov\n          mv ./codecov /usr/local/bin/\n\n      - name: Create XML Coverage Reports\n        run: |\n          nox --force-color -e create-xml-coverage-reports\n\n      - name: Upload Code Coverage To Codecov\n        if: ${{ ! github.event.repository.private && ! github.event.repository.fork }}\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        run: |\n          tools ci upload-coverage --commit-sha=${{ github.event.pull_request.head.sha || github.sha }} artifacts/coverage/\n\n      - name: Combine Code Coverage\n        run: |\n          nox --force-color -e combine-coverage\n\n      - name: Report Salt Code Coverage\n        run: |\n          nox --force-color -e coverage-report -- salt\n\n      - name: Create Salt Code Coverage HTML Report\n        run: |\n          nox --force-color -e create-html-coverage-report -- salt\n\n      - name: Create Salt Code Coverage HTML Report\n        run: |\n          nox --force-color -e create-html-coverage-report -- salt\n\n      - name: Upload Salt Code Coverage HTML Report\n        uses: actions/upload-artifact@v4\n        with:\n          name: code-coverage-salt-html-report\n          path: artifacts/coverage/html/salt\n          retention-days: 7\n          if-no-files-found: error\n\n      - name: Report Combined Code Coverage\n        run: |\n          nox --force-color -e coverage-report\n\n      - name: Create Combined Code Coverage JSON Report\n        run: |\n          nox --force-color -e create-json-coverage-reports\n\n      - name: Upload Combined Code Coverage JSON Report\n        uses: actions/upload-artifact@v4\n        with:\n          name: code-coverage-full-json-report\n          path: artifacts/coverage/coverage.json\n          retention-days: 7\n          if-no-files-found: error\n\n      - name: Create Combined Code Coverage HTML Report\n        run: |\n          nox --force-color -e create-html-coverage-report\n\n      - name: Upload Combined Code Coverage HTML Report\n        uses: actions/upload-artifact@v4\n        with:\n          name: code-coverage-full-html-report\n          path: artifacts/coverage/html/full\n          retention-days: 7\n          if-no-files-found: error\n\n  set-pipeline-exit-status:\n    # This step is just so we can make github require this step, to pass checks\n    # on a pull request instead of requiring all\n    name: Set the ${{ github.workflow }} Pipeline Exit Status\n    if: always()\n    runs-on: ubuntu-latest\n    needs:\n      - prepare-workflow\n      - pre-commit\n      - lint\n      - build-docs\n      - build-deps-onedir\n      - build-salt-onedir\n      - build-pkgs-src\n      - combine-all-code-coverage\n      - build-ci-deps\n      - windows-2016\n      - windows-2019\n      - windows-2022\n      - macos-12\n      - macos-13\n      - macos-13-arm64\n      - rockylinux-8\n      - rockylinux-8-arm64\n      - rockylinux-9\n      - rockylinux-9-arm64\n      - amazonlinux-2\n      - amazonlinux-2-arm64\n      - amazonlinux-2023\n      - amazonlinux-2023-arm64\n      - archlinux-lts\n      - centos-7\n      - debian-11\n      - debian-11-arm64\n      - debian-12\n      - debian-12-arm64\n      - fedora-40\n      - opensuse-15\n      - photonos-4\n      - photonos-4-arm64\n      - photonos-4-fips\n      - photonos-4-arm64-fips\n      - photonos-5\n      - photonos-5-arm64\n      - photonos-5-fips\n      - photonos-5-arm64-fips\n      - ubuntu-2004\n      - ubuntu-2004-arm64\n      - ubuntu-2204\n      - ubuntu-2204-arm64\n      - ubuntu-2404\n      - ubuntu-2404-arm64\n      - rockylinux-8-pkg-tests\n      - rockylinux-8-arm64-pkg-tests\n      - rockylinux-9-pkg-tests\n      - rockylinux-9-arm64-pkg-tests\n      - amazonlinux-2-pkg-tests\n      - amazonlinux-2-arm64-pkg-tests\n      - amazonlinux-2023-pkg-tests\n      - amazonlinux-2023-arm64-pkg-tests\n      - centos-7-pkg-tests\n      - debian-11-pkg-tests\n      - debian-11-arm64-pkg-tests\n      - debian-12-pkg-tests\n      - debian-12-arm64-pkg-tests\n      - photonos-4-pkg-tests\n      - photonos-4-arm64-pkg-tests\n      - photonos-4-pkg-tests-fips\n      - photonos-4-arm64-pkg-tests-fips\n      - photonos-5-pkg-tests\n      - photonos-5-arm64-pkg-tests\n      - photonos-5-pkg-tests-fips\n      - photonos-5-arm64-pkg-tests-fips\n      - ubuntu-2004-pkg-tests\n      - ubuntu-2004-arm64-pkg-tests\n      - ubuntu-2204-pkg-tests\n      - ubuntu-2204-arm64-pkg-tests\n      - ubuntu-2404-pkg-tests\n      - ubuntu-2404-arm64-pkg-tests\n      - macos-12-pkg-tests\n      - macos-13-pkg-tests\n      - macos-13-arm64-pkg-tests\n      - windows-2016-nsis-pkg-tests\n      - windows-2016-msi-pkg-tests\n      - windows-2019-nsis-pkg-tests\n      - windows-2019-msi-pkg-tests\n      - windows-2022-nsis-pkg-tests\n      - windows-2022-msi-pkg-tests\n    steps:\n      - name: Get workflow information\n        id: get-workflow-info\n        uses: im-open/workflow-conclusion@v2\n\n      - name: Set Pipeline Exit Status\n        shell: bash\n        run: |\n          if [ \"${{ steps.get-workflow-info.outputs.workflow_conclusion }}\" != \"success\" ]; then\n            exit 1\n          else\n            exit 0\n          fi\n\n      - name: Done\n        if: always()\n        run:\n          echo \"All worflows finished\"\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:36.523193", "created_at": "2020-09-25T10:30:29+02:00", "updated_at": "2022-12-15T14:13:09+01:00", "name": "Pre-Commit", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:37.648868", "created_at": "2020-11-19T16:17:47+01:00", "updated_at": "2022-12-15T14:13:09+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:38.696689", "created_at": "2020-11-19T17:23:13+01:00", "updated_at": "2022-12-15T14:13:09+01:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": null, "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:39.711208", "created_at": "2021-01-13T22:04:24+01:00", "updated_at": "2023-02-08T18:35:38+01:00", "name": "Twine Check", "path": ".github/workflows/twine-check.yml", "contents": null, "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:40.944306", "created_at": "2021-07-23T23:03:14+02:00", "updated_at": "2021-07-23T23:03:14+02:00", "name": "New Issues Triage Assignment", "path": ".github/workflows/triage.yml", "contents": "---\nname: New Issues Triage Assignment\nconcurrency: 1\non:\n  issues:\n    types: [opened]\n\n\nenv:\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n\n\npermissions:\n  contents: read\n\njobs:\n  label-and-assign:\n    permissions:\n      actions: read  # for dawidd6/action-download-artifact to query and download artifacts\n      contents: read  # for actions/checkout to fetch code\n      issues: write\n      pull-requests: read  # for dawidd6/action-download-artifact to query commit hash\n    name: Triage New Issue\n    runs-on: ubuntu-latest\n    steps:\n\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Install Dependencies\n        run: |\n          pip install pygithub\n\n      - name: Download last assignment cache\n        continue-on-error: true\n        uses: dawidd6/action-download-artifact@v2\n        with:\n          workflow: triage.yml\n          name: last-assignment\n          path: .cache\n\n      - name: Label And Assign\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          READ_ORG_TOKEN: ${{ secrets.READ_ORG_TEAM_MEMBERS_ISSUE_TRIAGE }}\n        run: |\n          python .github/workflows/scripts/label-and-assign.py \\\n            --org ${{ github.repository_owner }} \\\n            --repo ${{ github.event.repository.name }} \\\n            --team team-triage \\\n            --label needs-triage \\\n            --issue ${{ github.event.issue.number }}\n\n      - name: Upload last assignment cache\n        uses: actions/upload-artifact@v4\n        with:\n          name: last-assignment\n          path: .cache\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:42.072329", "created_at": "2021-08-19T13:32:03+02:00", "updated_at": "2023-02-08T18:35:36+01:00", "name": "PR Checks", "path": ".github/workflows/pr-checks.yml", "contents": null, "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:43.299791", "created_at": "2021-11-08T16:55:41+01:00", "updated_at": "2022-05-24T16:27:50+02:00", "name": "Generate Tag and Github Release", "path": ".github/workflows/release-tag.yml", "contents": "---\nname: Generate Tag and Github Release\n\non:\n  workflow_dispatch:\n    inputs:\n      saltVersion:\n        description: 'Salt Version'\n        required: true\n      saltRepo:\n        description: 'Salt Repo'\n        default: saltstack/salt\n      saltBranch:\n        description: 'Salt Branch'\n        default: freeze\n      reTag:\n        description: 'Re Tag (Deletes tag and release)'\n        default: false\n\n\nenv:\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n\n\npermissions:\n  contents: read\n\njobs:\n  GenerateTagRelease:\n    permissions:\n      contents: write  # for dev-drprasad/delete-tag-and-release to delete tags or releases\n    name: Generate Tag and Github Release\n    runs-on: ubuntu-latest\n    steps:\n    - uses: dev-drprasad/delete-tag-and-release@v0.2.0\n      if: github.event.inputs.reTag == 'true'\n      with:\n        delete_release: true # default: false\n        tag_name: v${{ github.event.inputs.saltVersion }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - uses: actions/checkout@v4\n      with:\n        repository: ${{ github.event.inputs.saltRepo }}\n        ref: ${{ github.event.inputs.saltBranch }}\n    - name: Bump version and push tag\n      id: tag_version\n      uses: mathieudutour/github-tag-action@v5.6\n      with:\n        create_annotated_tag: True\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        custom_tag: ${{ github.event.inputs.saltVersion }}\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - uses: actions/checkout@v4\n    - name: Install pypa/build\n      run: |\n        python -m pip install build --user\n    - name: Build a binary wheel and a source tarball\n      run: |\n        git fetch --tags origin\n        git checkout v${{ github.event.inputs.saltVersion }}\n        chmod 700 conf/cloud.*.d\n        chmod 600 conf/cloud\n        chmod 600 conf/cloud.profiles\n        chmod 600 conf/cloud.providers\n        python3 setup.py --ssh-packaging sdist\n        python -m build --sdist --outdir dist/ .\n    - name: Create a GitHub release\n      uses: ncipollo/release-action@v1\n      with:\n        tag: ${{ steps.tag_version.outputs.new_tag }}\n        name: Release ${{ steps.tag_version.outputs.new_tag }}\n        body: |\n          WARNING: The tarball generated by GitHub will not have the correct version information when using a version not ending in .0 . Please use the tarball generated by SaltStack instead. See issue #41847 for more information.\n          Official Salt packages can be found at https://repo.saltproject.io/\n        artifacts: dist/salt*.tar.gz\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:44.421439", "created_at": "2022-05-24T16:27:50+02:00", "updated_at": "2023-02-28T08:40:45+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "# Do not edit these workflows directly as the changes made will be overwritten.\n# Instead, edit the template '.github/workflows/templates/release.yml.jinja'\n---\n\nname: Release\nrun-name: \"Release (branch: ${{ github.ref_name }}; version: ${{ inputs.salt-version }})\"\n\non:\n  workflow_dispatch:\n    inputs:\n      salt-version:\n        type: string\n        required: true\n        description: >\n          The Salt version to get from staging to publish the release.\n          (DO NOT prefix the version with a v, ie, 3006.0 NOT v3006.0).\n      skip-salt-pkg-download-test-suite:\n        type: boolean\n        default: false\n        description: Skip running the Salt packages download test suite.\n\nenv:\n  COLUMNS: 190\n  CACHE_SEED: SEED-2  # Bump the number to invalidate all caches\n  RELENV_DATA: \"${{ github.workspace }}/.relenv\"\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n\npermissions:\n  contents: write  # To be able to publish the release\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.repository }}\n  cancel-in-progress: false\n\njobs:\n\n  check-requirements:\n    name: Check Requirements\n    runs-on: ubuntu-latest\n    environment: release-check\n    steps:\n      - name: Check For Admin Permission\n        uses: actions-cool/check-user-permission@v2\n        with:\n          require: admin\n          username: ${{ github.triggering_actor }}\n\n  prepare-workflow:\n    name: Prepare Workflow Run\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-release\n    env:\n      USE_S3_CACHE: 'true'\n    environment: release\n    needs:\n      - check-requirements\n    outputs:\n      salt-version: ${{ steps.setup-salt-version.outputs.salt-version }}\n      cache-seed: ${{ steps.set-cache-seed.outputs.cache-seed }}\n      latest-release: ${{ steps.get-salt-releases.outputs.latest-release }}\n      releases: ${{ steps.get-salt-releases.outputs.releases }}\n      nox-archive-hash: ${{ steps.nox-archive-hash.outputs.nox-archive-hash }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0  # Full clone to also get the tags to get the right salt version\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ env.CACHE_SEED }}\n\n      - name: Pretty Print The GH Actions Event\n        run:\n          tools ci print-gh-event\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ inputs.salt-version }}\"\n          validate-version: true\n\n      - name: Check Existing Releases\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools pkg repo confirm-unreleased --repository ${{ github.repository }} ${{ steps.setup-salt-version.outputs.salt-version }}\n          if [ \"${{ github.event.repository.private }}\" = \"true\" ]; then\n            tools pkg repo confirm-unreleased --repository saltstack/salt ${{ steps.setup-salt-version.outputs.salt-version }}\n          fi\n\n      - name: Check Release Staged\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools pkg repo confirm-staged --repository ${{ github.repository }} ${{ steps.setup-salt-version.outputs.salt-version }}\n\n      - name: Get Salt Releases\n        id: get-salt-releases\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-releases\n\n      - name: Set Cache Seed Output\n        id: set-cache-seed\n        run: |\n          tools ci define-cache-seed ${{ env.CACHE_SEED }}\n\n      - name: Get Hash For Nox Tarball Cache\n        id: nox-archive-hash\n        run: |\n          echo \"nox-archive-hash=${{ hashFiles('requirements/**/*.txt', 'cicd/golden-images.json', 'noxfile.py', 'pkg/common/env-cleanup-rules.yml', '.github/workflows/build-deps-ci-action.yml') }}\" | tee -a \"$GITHUB_OUTPUT\"\n\n  download-onedir-artifact:\n    name: Download Staging Onedir Artifact\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-release\n    env:\n      USE_S3_CACHE: 'true'\n    environment: release\n    needs:\n      - prepare-workflow\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - platform: linux\n            arch: x86_64\n          - platform: linux\n            arch: arm64\n          - platform: windows\n            arch: amd64\n          - platform: windows\n            arch: x86\n          - platform: macos\n            arch: x86_64\n          - platform: macos\n            arch: arm64\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download Onedir Tarball Artifact\n        run: |\n          tools release download-onedir-artifact --platform=${{ matrix.platform }} --arch=${{ matrix.arch }} ${{ inputs.salt-version }}\n\n      - name: Upload Onedir Tarball as an Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: salt-${{ inputs.salt-version }}-onedir-${{ matrix.platform }}-${{ matrix.arch }}.tar.xz\n          path: artifacts/salt-${{ inputs.salt-version }}-onedir-${{ matrix.platform }}-${{ matrix.arch }}.tar.xz*\n          retention-days: 7\n          if-no-files-found: error\n  build-ci-deps:\n    name: CI Deps\n    needs:\n      - prepare-workflow\n      - download-onedir-artifact\n    uses: ./.github/workflows/build-deps-ci-action.yml\n    with:\n      nox-session: ci-test-onedir\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      nox-archive-hash: \"${{ needs.prepare-workflow.outputs.nox-archive-hash }}\"\n\n  backup:\n    name: Backup\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-release\n    needs:\n      - prepare-workflow\n    env:\n      USE_S3_CACHE: 'true'\n    environment: release\n    outputs:\n      backup-complete: ${{ steps.backup.outputs.backup-complete }}\n\n    steps:\n      - name: Clone The Salt Repository\n        uses: actions/checkout@v4\n\n      - name: Setup Rclone\n        uses: AnimMouse/setup-rclone@v1\n        with:\n          version: v1.61.1\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Backup Previous Releases\n        id: backup\n        run: |\n          tools pkg repo backup-previous-releases\n\n  publish-repositories:\n    name: Publish Repositories\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-release\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - backup\n      - download-onedir-artifact\n    environment: release\n    steps:\n      - name: Clone The Salt Repository\n        uses: actions/checkout@v4\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Publish Release Repository\n        env:\n          SALT_REPO_DOMAIN_RELEASE: ${{ vars.SALT_REPO_DOMAIN_RELEASE || 'repo.saltproject.io' }}\n          SALT_REPO_DOMAIN_STAGING: ${{ vars.SALT_REPO_DOMAIN_STAGING || 'staging.repo.saltproject.io' }}\n        run: |\n          tools pkg repo publish release ${{ needs.prepare-workflow.outputs.salt-version }}\n\n  pkg-download-tests:\n    name: Package Downloads\n    if: ${{ inputs.skip-salt-pkg-download-test-suite == false }}\n    needs:\n      - prepare-workflow\n      - publish-repositories\n      - build-ci-deps\n      - download-onedir-artifact\n    uses: ./.github/workflows/test-package-downloads-action.yml\n    with:\n      nox-session: ci-test-onedir\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      environment: release\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      skip-code-coverage: true\n      latest-release: \"${{ needs.prepare-workflow.outputs.latest-release }}\"\n    secrets: inherit\n\n  release:\n    name: Release v${{ needs.prepare-workflow.outputs.salt-version }}\n    if: ${{ always() && ! failure() && ! cancelled() }}\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-release\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - backup\n      - publish-repositories\n      - pkg-download-tests\n    environment: release\n    steps:\n      - name: Clone The Salt Repository\n        uses: actions/checkout@v4\n        with:\n          ssh-key: ${{ secrets.GHA_SSH_KEY }}\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        id: get-secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Prepare Release\n        id: prepare-release\n        run: |\n          tools pkg repo publish github --repository ${{ github.repository }} --key-id=64CBBC8173D76B3F ${{ needs.prepare-workflow.outputs.salt-version }}\n\n      - name: Configure Git\n        shell: bash\n        run: |\n          git config --global --add safe.directory \"$(pwd)\"\n          git config --global user.name \"Salt Project Packaging\"\n          git config --global user.email saltproject-packaging@vmware.com\n          git config --global user.signingkey 64CBBC8173D76B3F\n          git config --global commit.gpgsign true\n\n      - name: Apply The Release Patch\n        run: |\n          git am --committer-date-is-author-date release-artifacts/salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n          rm release-artifacts/salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n\n      - name: Tag The v${{ needs.prepare-workflow.outputs.salt-version }} Release\n        run: |\n          git tag -m \"Release v${{ needs.prepare-workflow.outputs.salt-version }}\" -as v${{ needs.prepare-workflow.outputs.salt-version }}\n\n      - name: Push Changes\n        uses: ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839\n        with:\n          ssh: true\n          tags: true\n          atomic: true\n          branch: ${{ github.ref }}\n\n      - name: Create Github Release\n        uses: ncipollo/release-action@v1\n        with:\n          artifactErrorsFailBuild: true\n          artifacts: ${{ steps.prepare-release.outputs.release-artifacts }}\n          bodyFile: ${{ steps.prepare-release.outputs.release-messsage-file }}\n          draft: false\n          generateReleaseNotes: false\n          makeLatest: fromJSON(${{ steps.prepare-release.outputs.make-latest }})\n          name: v${{ needs.prepare-workflow.outputs.salt-version }}\n          prerelease: ${{ contains(needs.prepare-workflow.outputs.salt-version, 'rc') }}\n          removeArtifacts: true\n          replacesArtifacts: true\n          tag: v${{ needs.prepare-workflow.outputs.salt-version }}\n\n      - name: Upload PyPi Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: pypi-artifacts\n          path: |\n            release-artifacts/salt-${{ needs.prepare-workflow.outputs.salt-version }}.tar.gz\n            release-artifacts/salt-${{ needs.prepare-workflow.outputs.salt-version }}.tar.gz.asc\n          retention-days: 7\n          if-no-files-found: error\n\n  publish-pypi:\n    name: Publish to PyPi\n    if: ${{ always() && ! failure() && ! cancelled() && github.event.repository.fork != true }}\n    needs:\n      - prepare-workflow\n      - release\n    environment: release\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-release\n    env:\n      USE_S3_CACHE: 'true'\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        id: get-secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          TWINE_PASSWORD=$(aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/publishing/publish-pypi \\\n            --query SecretString --output text | jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"$SECRETS_KEY_FILE\" -d -)\n          echo \"::add-mask::$TWINE_PASSWORD\"\n          echo \"twine-password=$TWINE_PASSWORD\" >> \"${GITHUB_OUTPUT}\"\n\n      - name: Download PyPi Artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: pypi-artifacts\n          path: artifacts/release\n\n      - name: Publish to PyPi\n        env:\n          TWINE_PASSWORD: \"${{ steps.get-secrets.outputs.twine-password }}\"\n        run: |\n          tools pkg pypi-upload artifacts/release/salt-${{ needs.prepare-workflow.outputs.salt-version }}.tar.gz\n\n  set-pipeline-exit-status:\n    # This step is just so we can make github require this step, to pass checks\n    # on a pull request instead of requiring all\n    name: Set the ${{ github.workflow }} Pipeline Exit Status\n    if: always()\n    runs-on: ubuntu-latest\n    needs:\n      - check-requirements\n      - prepare-workflow\n      - publish-repositories\n      - pkg-download-tests\n      - release\n      - publish-pypi\n      - build-ci-deps\n    steps:\n      - name: Get workflow information\n        id: get-workflow-info\n        uses: im-open/workflow-conclusion@v2\n\n      - run: |\n          # shellcheck disable=SC2129\n          if [ \"${{ steps.get-workflow-info.outputs.conclusion }}\" != \"success\" ]; then\n            echo 'To restore the release bucket run:' >> \"${GITHUB_STEP_SUMMARY}\"\n            echo '```' >> \"${GITHUB_STEP_SUMMARY}\"\n            echo 'tools pkg repo restore-previous-releases' >> \"${GITHUB_STEP_SUMMARY}\"\n            echo '```' >> \"${GITHUB_STEP_SUMMARY}\"\n          fi\n\n      - name: Set Pipeline Exit Status\n        shell: bash\n        run: |\n          if [ \"${{ steps.get-workflow-info.outputs.workflow_conclusion }}\" != \"success\" ]; then\n            exit 1\n          else\n            exit 0\n          fi\n\n      - name: Done\n        if: always()\n        run:\n          echo \"All worflows finished\"\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:45.547208", "created_at": "2022-09-27T20:44:08+02:00", "updated_at": "2022-12-14T19:23:46+01:00", "name": "Pre-Commit", "path": ".github/workflows/pre-commit-action.yml", "contents": "---\nname: Pre-Commit\n\non:\n  workflow_call:\n    inputs:\n      changed-files:\n        required: true\n        type: string\n        description: JSON string containing information about changed files\n      pre-commit-version:\n        required: true\n        type: string\n        description: The pre-commit version to install\n      cache-seed:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n\njobs:\n  Pre-Commit:\n    name: Run Pre-Commit Against Salt\n\n    runs-on: ubuntu-latest\n\n    container:\n      image: ghcr.io/saltstack/salt-ci-containers/python:3.10\n\n    env:\n      PRE_COMMIT_COLOR: always\n\n    steps:\n\n      - name: Install System Deps\n        run: |\n          apt-get update\n          apt-get install -y wget curl enchant-2 git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev rustc\n\n      - name: Add Git Safe Directory\n        run: |\n          git config --global --add safe.directory \"$(pwd)\"\n\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup-actionlint\n        with:\n          cache-seed: ${{ inputs.cache-seed }}\n      - uses: ./.github/actions/setup-shellcheck\n        with:\n          cache-seed: ${{ inputs.cache-seed }}\n      - uses: ./.github/actions/setup-pre-commit\n        with:\n          version: ${{ inputs.pre-commit-version }}\n          cache-seed: ${{ inputs.cache-seed }}\n\n      - name: Check ALL Files On Branch\n        if: github.event_name != 'pull_request'\n        env:\n          SKIP: lint-salt,lint-tests,remove-import-headers,pyupgrade\n        run: |\n          pre-commit run --show-diff-on-failure --color=always --all-files\n\n      - name: Check Changed Files On PR\n        if: github.event_name == 'pull_request' && fromJSON(inputs.changed-files)['repo']\n        env:\n          SKIP: lint-salt,lint-tests\n          GH_ACTIONS_ANNOTATE: \"1\"\n        run: |\n          pre-commit run --show-diff-on-failure --color=always --files ${{ join(fromJSON(inputs.changed-files)['repo_files'], ' ') }}\n\n      - name: Check Docs On Deleted Files\n        if: github.event_name == 'pull_request' && fromJSON(inputs.changed-files)['deleted']\n        run: |\n          pre-commit run --show-diff-on-failure --color=always check-docs --files ${{ join(fromJSON(inputs.changed-files)['deleted_files'], ' ') }}\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:46.680941", "created_at": "2022-10-15T09:10:05+02:00", "updated_at": "2023-02-04T15:11:42+01:00", "name": "Test Artifact(macOS)", "path": ".github/workflows/test-action-macos.yml", "contents": "---\nname: Test Artifact(macOS)\n\non:\n  workflow_call:\n    inputs:\n      distro-slug:\n        required: true\n        type: string\n        description: The OS slug to run tests against\n      runner:\n        required: true\n        type: string\n        description: The GitHub runner name\n      nox-session:\n        required: true\n        type: string\n        description: The nox session to run\n      testrun:\n        required: true\n        type: string\n        description: JSON string containing information about what and how to run the test suite\n      gh-actions-python-version:\n        required: false\n        type: string\n        description: The python version to run tests with\n        default: \"3.11\"\n      salt-version:\n        type: string\n        required: true\n        description: The Salt version to set prior to running tests.\n      cache-prefix:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n      platform:\n        required: true\n        type: string\n        description: The platform being tested\n      arch:\n        required: true\n        type: string\n        description: The platform arch being tested\n      nox-version:\n        required: true\n        type: string\n        description: The nox version to install\n      timeout-minutes:\n        required: true\n        type: number\n        description: Timeout, in minutes, for the test job\n      package-name:\n        required: false\n        type: string\n        description: The onedir package name to use\n        default: salt\n      skip-code-coverage:\n        required: false\n        type: boolean\n        description: Skip code coverage\n        default: false\n      workflow-slug:\n        required: false\n        type: string\n        description: Which workflow is running.\n        default: ci\n\nenv:\n  COLUMNS: 190\n  PIP_INDEX_URL: \"https://pypi-proxy.saltstack.net/root/local/+simple/\"\n  PIP_EXTRA_INDEX_URL: \"https://pypi.org/simple\"\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n\njobs:\n\n  generate-matrix:\n    name: Test Matrix\n    runs-on: ubuntu-latest\n    outputs:\n      matrix-include: ${{ steps.generate-matrix.outputs.matrix }}\n      build-reports: ${{ steps.generate-matrix.outputs.build-reports }}\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Generate Test Matrix\n        id: generate-matrix\n        run: |\n          tools ci matrix --workflow=${{ inputs.workflow-slug }} ${{ inputs.distro-slug }}\n\n  test:\n    name: Test\n    runs-on: ${{ inputs.runner }}\n    timeout-minutes: ${{ inputs.timeout-minutes }}\n    needs:\n      - generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.generate-matrix.outputs.matrix-include) }}\n    env:\n      SALT_TRANSPORT: ${{ matrix.transport }}\n\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: \"Set `TIMESTAMP` environment variable\"\n        shell: bash\n        run: |\n          echo \"TIMESTAMP=$(date +%s)\" | tee -a \"$GITHUB_ENV\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Setup Salt Version\n        run: |\n          echo \"${{ inputs.salt-version }}\" > salt/_version.txt\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Decompress Onedir Tarball\n        shell: bash\n        run: |\n          python3 -c \"import os; os.makedirs('artifacts', exist_ok=True)\"\n          cd artifacts\n          tar xvf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz\n\n      - name: Install System Dependencies\n        run: |\n          brew install tree\n\n      - name: Download nox.macos.${{ inputs.arch }}.tar.* artifact for session ${{ inputs.nox-session }}\n        uses: actions/download-artifact@v4\n        with:\n          name: nox-macos-${{ inputs.arch }}-${{ inputs.nox-session }}\n\n      - name: Set up Python ${{ inputs.gh-actions-python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ inputs.gh-actions-python-version }}\"\n\n      - name: Install Nox\n        run: |\n          python3 -m pip install 'nox==${{ inputs.nox-version }}'\n\n      - name: Decompress .nox Directory\n        run: |\n          nox --force-color -e decompress-dependencies -- macos ${{ inputs.arch }}\n\n      - name: Download testrun-changed-files.txt\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' }}\n        uses: actions/download-artifact@v4\n        with:\n          name: testrun-changed-files.txt\n\n      - name: Show System Info\n        env:\n          SKIP_REQUIREMENTS_INSTALL: \"1\"\n          PRINT_SYSTEM_INFO_ONLY: \"1\"\n        run: |\n          sudo -E nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }}\n\n      - name: Run Changed Tests\n        id: run-fast-changed-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' }}\n        env:\n          SKIP_REQUIREMENTS_INSTALL: \"1\"\n          PRINT_TEST_SELECTION: \"0\"\n          PRINT_TEST_PLAN_ONLY: \"0\"\n          PRINT_SYSTEM_INFO: \"0\"\n          RERUN_FAILURES: \"1\"\n          GITHUB_ACTIONS_PIPELINE: \"1\"\n          SKIP_INITIAL_GH_ACTIONS_FAILURES: \"1\"\n          SKIP_CODE_COVERAGE: \"${{ inputs.skip-code-coverage && '1' || '0' }}\"\n          COVERAGE_CONTEXT: ${{ inputs.distro-slug }}\n        run: |\n          sudo -E nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }} -- \\\n            -k \"mac or darwin\" --core-tests --slow-tests --suppress-no-test-exit-code \\\n            --from-filenames=testrun-changed-files.txt\n\n      - name: Run Fast Tests\n        id: run-fast-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' && fromJSON(inputs.testrun)['selected_tests']['fast'] }}\n        env:\n          SKIP_REQUIREMENTS_INSTALL: \"1\"\n          PRINT_TEST_SELECTION: \"0\"\n          PRINT_TEST_PLAN_ONLY: \"0\"\n          PRINT_SYSTEM_INFO: \"0\"\n          RERUN_FAILURES: \"1\"\n          GITHUB_ACTIONS_PIPELINE: \"1\"\n          SKIP_INITIAL_GH_ACTIONS_FAILURES: \"1\"\n          SKIP_CODE_COVERAGE: \"${{ inputs.skip-code-coverage && '1' || '0' }}\"\n          COVERAGE_CONTEXT: ${{ inputs.distro-slug }}\n        run: |\n          sudo -E nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }} -- \\\n            -k \"mac or darwin\" --suppress-no-test-exit-code\n\n      - name: Run Slow Tests\n        id: run-slow-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' && fromJSON(inputs.testrun)['selected_tests']['slow'] }}\n        env:\n          SKIP_REQUIREMENTS_INSTALL: \"1\"\n          PRINT_TEST_SELECTION: \"0\"\n          PRINT_TEST_PLAN_ONLY: \"0\"\n          PRINT_SYSTEM_INFO: \"0\"\n          RERUN_FAILURES: \"1\"\n          GITHUB_ACTIONS_PIPELINE: \"1\"\n          SKIP_INITIAL_GH_ACTIONS_FAILURES: \"1\"\n          SKIP_CODE_COVERAGE: \"${{ inputs.skip-code-coverage && '1' || '0' }}\"\n          COVERAGE_CONTEXT: ${{ inputs.distro-slug }}\n        run: |\n          sudo -E nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }} -- \\\n            -k \"mac or darwin\" --suppress-no-test-exit-code --no-fast-tests --slow-tests\n\n      - name: Run Core Tests\n        id: run-core-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' && fromJSON(inputs.testrun)['selected_tests']['core'] }}\n        env:\n          SKIP_REQUIREMENTS_INSTALL: \"1\"\n          PRINT_TEST_SELECTION: \"0\"\n          PRINT_TEST_PLAN_ONLY: \"0\"\n          PRINT_SYSTEM_INFO: \"0\"\n          RERUN_FAILURES: \"1\"\n          GITHUB_ACTIONS_PIPELINE: \"1\"\n          SKIP_INITIAL_GH_ACTIONS_FAILURES: \"1\"\n          SKIP_CODE_COVERAGE: \"${{ inputs.skip-code-coverage && '1' || '0' }}\"\n          COVERAGE_CONTEXT: ${{ inputs.distro-slug }}\n        run: |\n          sudo -E nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }} -- \\\n            -k \"mac or darwin\" --suppress-no-test-exit-code --no-fast-tests --core-tests\n\n      - name: Run Flaky Tests\n        id: run-flaky-tests\n        if: ${{ fromJSON(inputs.testrun)['selected_tests']['flaky'] }}\n        env:\n          SKIP_REQUIREMENTS_INSTALL: \"1\"\n          PRINT_TEST_SELECTION: \"0\"\n          PRINT_TEST_PLAN_ONLY: \"0\"\n          PRINT_SYSTEM_INFO: \"0\"\n          RERUN_FAILURES: \"1\"\n          GITHUB_ACTIONS_PIPELINE: \"1\"\n          SKIP_INITIAL_GH_ACTIONS_FAILURES: \"1\"\n          SKIP_CODE_COVERAGE: \"${{ inputs.skip-code-coverage && '1' || '0' }}\"\n          COVERAGE_CONTEXT: ${{ inputs.distro-slug }}\n        run: |\n          sudo -E nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }} -- \\\n            -k \"mac or darwin\" --suppress-no-test-exit-code --no-fast-tests --flaky-jail\n\n      - name: Run Full Tests\n        id: run-full-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] == 'full' }}\n        env:\n          SKIP_REQUIREMENTS_INSTALL: \"1\"\n          PRINT_TEST_SELECTION: \"0\"\n          PRINT_TEST_PLAN_ONLY: \"0\"\n          PRINT_SYSTEM_INFO: \"0\"\n          RERUN_FAILURES: \"1\"\n          GITHUB_ACTIONS_PIPELINE: \"1\"\n          SKIP_INITIAL_GH_ACTIONS_FAILURES: \"1\"\n          SKIP_CODE_COVERAGE: \"${{ inputs.skip-code-coverage && '1' || '0' }}\"\n          COVERAGE_CONTEXT: ${{ inputs.distro-slug }}\n        run: |\n          sudo -E nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }} -- \\\n            --slow-tests --core-tests -k \"mac or darwin\"\n\n      - name: Fix file ownership\n        run: |\n          sudo chown -R \"$(id -un)\" .\n\n      - name: Combine Coverage Reports\n        if: always() && inputs.skip-code-coverage == false\n        run: |\n          nox --force-color -e combine-coverage\n\n      - name: Prepare Test Run Artifacts\n        id: download-artifacts-from-vm\n        if: always()\n        run: |\n          # Delete the salt onedir, we won't need it anymore and it will prevent\n          # from it showing in the tree command below\n          rm -rf artifacts/salt*\n          tree -a artifacts\n          if [ \"${{ inputs.skip-code-coverage }}\" != \"true\" ]; then\n            mv artifacts/coverage/.coverage artifacts/coverage/.coverage.${{ inputs.distro-slug }}.${{ inputs.nox-session }}.${{ matrix.transport }}.${{ matrix.tests-chunk }}\n          fi\n\n      - name: Upload Code Coverage Test Run Artifacts\n        if: always() && inputs.skip-code-coverage == false && steps.download-artifacts-from-vm.outcome == 'success' && job.status != 'cancelled'\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-coverage-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-${{ env.TIMESTAMP }}\n          path: |\n            artifacts/coverage/\n\n      - name: Upload JUnit XML Test Run Artifacts\n        if: always() && steps.download-artifacts-from-vm.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-junit-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-${{ env.TIMESTAMP }}\n          path: |\n            artifacts/xml-unittests-output/\n\n      - name: Upload Test Run Log Artifacts\n        if: always() && steps.download-artifacts-from-vm.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-log-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-${{ env.TIMESTAMP }}\n          path: |\n            artifacts/logs\n\n  report:\n    name: Test Reports\n    if: always() && fromJSON(needs.generate-matrix.outputs.build-reports) && needs.test.result != 'cancelled' && needs.test.result != 'skipped'\n    runs-on: ubuntu-latest\n    needs:\n      - test\n      - generate-matrix\n\n    steps:\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Merge JUnit XML Test Run Artifacts\n        if: always() && needs.test.result != 'cancelled' && needs.test.result != 'skipped'\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: testrun-junit-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}\n          pattern: testrun-junit-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-*\n          separate-directories: false\n          delete-merged: true\n\n      - name: Merge Log Test Run Artifacts\n        if: always() && needs.test.result != 'cancelled' && needs.test.result != 'skipped'\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: testrun-log-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}\n          pattern: testrun-log-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-*\n          separate-directories: false\n          delete-merged: true\n\n      - name: Merge Code Coverage Test Run Artifacts\n        if: ${{ inputs.skip-code-coverage == false }}\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: testrun-coverage-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}\n          pattern: testrun-coverage-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-*\n          separate-directories: false\n          delete-merged: true\n\n      - name: Download Code Coverage Test Run Artifacts\n        uses: actions/download-artifact@v4\n        if: ${{ inputs.skip-code-coverage == false }}\n        id: download-coverage-artifacts\n        with:\n          name: testrun-coverage-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}\n          path: artifacts/coverage/\n\n      - name: Show Downloaded Test Run Artifacts\n        if: ${{ inputs.skip-code-coverage == false }}\n        run: |\n          tree -a artifacts\n\n      - name: Set up Python ${{ inputs.gh-actions-python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ inputs.gh-actions-python-version }}\"\n\n      - name: Install Nox\n        run: |\n          python3 -m pip install 'nox==${{ inputs.nox-version }}'\n\n      - name: Create XML Coverage Reports\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success' && job.status != 'cancelled'\n        run: |\n          nox --force-color -e create-xml-coverage-reports\n          mv artifacts/coverage/salt.xml artifacts/coverage/salt..${{ inputs.distro-slug }}..${{ inputs.nox-session }}.xml\n          mv artifacts/coverage/tests.xml artifacts/coverage/tests..${{ inputs.distro-slug }}..${{ inputs.nox-session }}.xml\n\n      - name: Report Salt Code Coverage\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success'\n        continue-on-error: true\n        run: |\n          nox --force-color -e report-coverage -- salt\n\n      - name: Report Combined Code Coverage\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success'\n        continue-on-error: true\n        run: |\n          nox --force-color -e report-coverage\n\n      - name: Rename Code Coverage DB\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success'\n        continue-on-error: true\n        run: |\n          mv artifacts/coverage/.coverage artifacts/coverage/.coverage.${{ inputs.distro-slug }}.${{ inputs.nox-session }}\n\n      - name: Upload Code Coverage DB\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: all-testrun-coverage-artifacts-${{ inputs.distro-slug }}.${{ inputs.nox-session }}\n          path: artifacts/coverage\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:47.753184", "created_at": "2022-12-14T19:23:46+01:00", "updated_at": "2022-12-14T19:23:46+01:00", "name": "Lint", "path": ".github/workflows/lint-action.yml", "contents": "---\nname: Lint\n\non:\n  workflow_call:\n    inputs:\n      changed-files:\n        required: true\n        type: string\n        description: JSON string containing information about changed files\n\n\nenv:\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n\n\njobs:\n  Salt:\n    name: Lint Salt's Source Code\n    runs-on: ubuntu-latest\n    if: ${{ contains(fromJSON('[\"push\", \"schedule\", \"workflow_dispatch\"]'), github.event_name) || fromJSON(inputs.changed-files)['salt'] || fromJSON(inputs.changed-files)['lint'] }}\n\n    container:\n      image: ghcr.io/saltstack/salt-ci-containers/python:3.9\n\n    steps:\n      - name: Install System Deps\n        run: |\n          apt-get update\n          apt-get install -y enchant-2 git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev\n\n      - name: Add Git Safe Directory\n        run: |\n          git config --global --add safe.directory \"$(pwd)\"\n\n      - uses: actions/checkout@v4\n\n      - name: Install Nox\n        run: |\n          python -m pip install --upgrade pip\n          pip install nox\n\n      - name: Install Python Requirements\n        run:\n          nox --install-only --forcecolor -e lint-salt\n\n      - name: Lint Changed Files\n        if: github.event_name == 'pull_request' && fromJSON(inputs.changed-files)['salt'] && ! fromJSON(inputs.changed-files)['lint']\n        env:\n          SKIP_REQUIREMENTS_INSTALL: YES\n        run: |\n          nox --forcecolor -e lint-salt -- ${{ join(fromJSON(inputs.changed-files)['salt_files'], ' ') }}\n\n      - name: Lint ALL Files\n        if: github.event_name != 'pull_request' || fromJSON(inputs.changed-files)['lint']\n        env:\n          SKIP_REQUIREMENTS_INSTALL: YES\n        run: |\n          nox --forcecolor -e lint-salt\n\n\n  Tests:\n    name: Lint Salt's Test Suite\n    runs-on: ubuntu-latest\n    if: ${{ contains(fromJSON('[\"push\", \"schedule\", \"workflow_dispatch\"]'), github.event_name) || fromJSON(inputs.changed-files)['tests'] || fromJSON(inputs.changed-files)['lint'] }}\n\n    container:\n      image: ghcr.io/saltstack/salt-ci-containers/python:3.8\n\n    steps:\n      - name: Install System Deps\n        run: |\n          echo \"deb http://deb.debian.org/debian bookworm-backports main\" >> /etc/apt/sources.list\n          apt-get update\n          apt-get install -y enchant-2 git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev\n\n      - name: Add Git Safe Directory\n        run: |\n          git config --global --add safe.directory \"$(pwd)\"\n\n      - uses: actions/checkout@v4\n\n      - name: Install Nox\n        run: |\n          python -m pip install --upgrade pip\n          pip install nox\n\n      - name: Install Python Requirements\n        run:\n          nox --install-only --forcecolor -e lint-tests\n\n      - name: Lint Changed Files\n        if: github.event_name == 'pull_request' && fromJSON(inputs.changed-files)['tests'] && ! fromJSON(inputs.changed-files)['lint']\n        env:\n          SKIP_REQUIREMENTS_INSTALL: YES\n        run: |\n          nox --forcecolor -e lint-tests -- ${{ join(fromJSON(inputs.changed-files)['tests_files'], ' ') }}\n\n      - name: Lint ALL Files\n        if: github.event_name != 'pull_request' || fromJSON(inputs.changed-files)['lint']\n        env:\n          SKIP_REQUIREMENTS_INSTALL: YES\n        run: |\n          nox --forcecolor -e lint-tests\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:49.037374", "created_at": "2023-01-24T15:31:30+01:00", "updated_at": "2023-08-29T03:25:55+02:00", "name": "Nightly", "path": ".github/workflows/nightly.yml", "contents": "# Do not edit these workflows directly as the changes made will be overwritten.\n# Instead, edit the template '.github/workflows/templates/nightly.yml.jinja'\n---\n\nname: Nightly\nrun-name: \"Nightly (branch: ${{ github.ref_name }})\"\n\non:\n  workflow_dispatch:\n    inputs:\n      skip-salt-test-suite:\n        type: boolean\n        default: false\n        description: Skip running the Salt test suite.\n      skip-salt-pkg-test-suite:\n        type: boolean\n        default: false\n        description: Skip running the Salt packages test suite.\n  schedule:\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule\n    - cron: '0 0 * * *'  # Every day at 0AM\n\nenv:\n  COLUMNS: 190\n  CACHE_SEED: SEED-2  # Bump the number to invalidate all caches\n  RELENV_DATA: \"${{ github.workspace }}/.relenv\"\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n\npermissions:\n  contents: read  # for dorny/paths-filter to fetch a list of changed files\n  pull-requests: read  # for dorny/paths-filter to read pull requests\n  actions: write  # to trigger branch nightly builds\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.repository }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: false\n\njobs:\n\n  workflow-requirements:\n    name: Check Workflow Requirements\n    runs-on: ubuntu-latest\n    outputs:\n      requirements-met: ${{ steps.check-requirements.outputs.requirements-met }}\n    steps:\n      - name: Check Requirements\n        id: check-requirements\n        run: |\n          if [ \"${{ vars.RUN_SCHEDULED_BUILDS }}\" = \"1\" ]; then\n            MSG=\"Running workflow because RUN_SCHEDULED_BUILDS=1\"\n            echo \"${MSG}\"\n            echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n            echo \"requirements-met=true\" >> \"${GITHUB_OUTPUT}\"\n          elif [ \"${{ github.event.repository.fork }}\" = \"true\" ]; then\n            MSG=\"Not running workflow because ${{ github.repository }} is a fork\"\n            echo \"${MSG}\"\n            echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n            echo \"requirements-met=false\" >> \"${GITHUB_OUTPUT}\"\n          elif [ \"${{ github.event.repository.private }}\" = \"true\" ]; then\n            MSG=\"Not running workflow because ${{ github.repository }} is a private repository\"\n            echo \"${MSG}\"\n            echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n            echo \"requirements-met=false\" >> \"${GITHUB_OUTPUT}\"\n          else\n            MSG=\"Running workflow because ${{ github.repository }} is not a fork\"\n            echo \"${MSG}\"\n            echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n            echo \"requirements-met=true\" >> \"${GITHUB_OUTPUT}\"\n          fi\n\n  trigger-branch-nightly-builds:\n    name: Trigger Branch Workflows\n    if: ${{ github.event_name == 'schedule' && fromJSON(needs.workflow-requirements.outputs.requirements-met) }}\n    runs-on: ubuntu-latest\n    needs:\n      - workflow-requirements\n\n    steps:\n\n      - name: Trigger 3006.x branch\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh workflow run nightly.yml --repo ${{ github.repository }} --ref 3006.x\n\n      - name: Trigger 3007.x branch\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh workflow run nightly.yml --repo ${{ github.repository }} --ref 3007.x\n\n  prepare-workflow:\n    name: Prepare Workflow Run\n    runs-on: ubuntu-latest\n    if: ${{ fromJSON(needs.workflow-requirements.outputs.requirements-met) }}\n    needs:\n      - workflow-requirements\n    outputs:\n      jobs: ${{ steps.define-jobs.outputs.jobs }}\n      runners: ${{ steps.runner-types.outputs.runners }}\n      changed-files: ${{ steps.process-changed-files.outputs.changed-files }}\n      os-labels: ${{ steps.get-pull-labels.outputs.os-labels }}\n      pull-labels: ${{ steps.get-pull-labels.outputs.test-labels }}\n      testrun: ${{ steps.define-testrun.outputs.testrun }}\n      salt-version: ${{ steps.setup-salt-version.outputs.salt-version }}\n      cache-seed: ${{ steps.set-cache-seed.outputs.cache-seed }}\n      latest-release: ${{ steps.get-salt-releases.outputs.latest-release }}\n      releases: ${{ steps.get-salt-releases.outputs.releases }}\n      release-changelog-target: ${{ steps.get-release-changelog-target.outputs.release-changelog-target }}\n      testing-releases: ${{ steps.get-testing-releases.outputs.testing-releases }}\n      nox-archive-hash: ${{ steps.nox-archive-hash.outputs.nox-archive-hash }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0  # Full clone to also get the tags to get the right salt version\n\n      - name: Get Changed Files\n        if: ${{ github.event_name == 'pull_request'}}\n        id: changed-files\n        uses: dorny/paths-filter@v3\n        with:\n          token: ${{ github.token }}\n          list-files: json\n          filters: |\n            repo:\n              - added|modified:\n                - '**'\n            doc-requirements:\n              - added|modified: &doc_requirements\n                - requirements/static/ci/py3.*/docs.txt\n            lint-requirements:\n              - added|modified: &lint_requirements\n                - requirements/static/ci/py3.*/lint.txt\n            pkg_requirements:\n              - added|modified: &pkg_requirements\n                - requirements/static/pkg/py3.*/darwin.txt\n                - requirements/static/pkg/py3.*/linux.txt\n                - requirements/static/pkg/py3.*/freebsd.txt\n                - requirements/static/pkg/py3.*/windows.txt\n            test_requirements:\n              - added|modified: &test_requirements\n                - requirements/static/ci/py3.*/darwin.txt\n                - requirements/static/ci/py3.*/linux.txt\n                - requirements/static/ci/py3.*/freebsd.txt\n                - requirements/static/ci/py3.*/windows.txt\n                - requirements/static/ci/py3.*/darwin-crypto.txt\n                - requirements/static/ci/py3.*/linux-crypto.txt\n                - requirements/static/ci/py3.*/freebsd-crypto.txt\n                - requirements/static/ci/py3.*/windows-crypto.txt\n            deleted:\n              - deleted:\n                - '**'\n            docs:\n              - added|modified:\n                - doc/**\n                - .github/workflows/build-docs.yml\n                - *doc_requirements\n            workflows:\n              - added|modified:\n                - cicd/shared-gh-workflows-context.yml\n                - .github/actions/**/action.yml\n                - .github/workflows/*.yml\n                - .github/workflows/templates/*.yml.jinja2\n                - tools/precommit/workflows.py\n            salt:\n              - added|modified: &salt_added_modified\n                - setup.py\n                - noxfile.py\n                - salt/**/*.py\n                - tasks/**/*.py\n                - tools/**/*.py\n            tests:\n              - added|modified: &tests_added_modified\n                - tests/**/*.py\n            lint:\n              - added|modified:\n                - .pylintrc\n                - *lint_requirements\n            golden_images:\n              - added|modified:\n                - cicd/golden-images.json\n            pkg_tests:\n              - added|modified: &pkg_tests_added_modified\n                - pkg/**\n                - *pkg_requirements\n                - *salt_added_modified\n            testrun:\n              - added|modified:\n                - *pkg_requirements\n                - *test_requirements\n                - *salt_added_modified\n                - *tests_added_modified\n                - *pkg_tests_added_modified\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ env.CACHE_SEED }}\n\n      - name: Pretty Print The GH Actions Event\n        run:\n          tools ci print-gh-event\n\n      - name: Set Cache Seed Output\n        id: set-cache-seed\n        run: |\n          tools ci define-cache-seed ${{ env.CACHE_SEED }}\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"\"\n          validate-version: true\n\n      - name: Get Pull Request Test Labels\n        id: get-pull-labels\n        if: ${{ github.event_name == 'pull_request'}}\n        env:\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-pr-test-labels --repository ${{ github.repository }}\n\n      - name: Get Hash For Nox Tarball Cache\n        id: nox-archive-hash\n        run: |\n          echo \"nox-archive-hash=${{ hashFiles('requirements/**/*.txt', 'cicd/golden-images.json', 'noxfile.py', 'pkg/common/env-cleanup-rules.yml', '.github/workflows/build-deps-ci-action.yml') }}\" | tee -a \"$GITHUB_OUTPUT\"\n\n      - name: Write Changed Files To A Local File\n        run:\n          echo '${{ toJSON(steps.changed-files.outputs) }}' > changed-files.json\n\n      - name: Check Local Changed Files Contents\n        if: ${{ github.event_name == 'pull_request' }}\n        run:\n          cat changed-files.json\n\n      - name: Process Changed Files\n        id: process-changed-files\n        run: |\n          tools ci process-changed-files ${{ github.event_name }} changed-files.json\n\n      - name: Check Collected Changed Files\n        if: ${{ github.event_name == 'pull_request' }}\n        run: |\n          echo '${{ steps.process-changed-files.outputs.changed-files }}' | jq -C '.'\n\n      - name: Define Runner Types\n        id: runner-types\n        run: |\n          tools ci runner-types ${{ github.event_name }}\n\n      - name: Define Jobs To Run\n        id: define-jobs\n        run: |\n          tools ci define-jobs${{ inputs.skip-salt-test-suite && ' --skip-tests' || '' }}${{ inputs.skip-salt-pkg-test-suite && ' --skip-pkg-tests' || '' }} ${{ github.event_name }} changed-files.json\n\n      - name: Get Salt Releases\n        id: get-salt-releases\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-releases\n\n      - name: Get Latest Salt Releases for Testing\n        id: get-testing-releases\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-testing-releases ${{ join(fromJSON(steps.get-salt-releases.outputs.releases), ' ') }} --salt-version ${{ steps.setup-salt-version.outputs.salt-version }}\n\n      - name: Define Testrun\n        id: define-testrun\n        run: |\n          tools ci define-testrun ${{ github.event_name }} changed-files.json\n\n      - name: Check Contents of generated testrun-changed-files.txt\n        if: ${{ fromJSON(steps.define-testrun.outputs.testrun)['type'] != 'full' }}\n        run: |\n          cat testrun-changed-files.txt || true\n\n      - name: Upload testrun-changed-files.txt\n        if: ${{ fromJSON(steps.define-testrun.outputs.testrun)['type'] != 'full' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-changed-files.txt\n          path: testrun-changed-files.txt\n\n      - name: Get Release Changelog Target\n        id: get-release-changelog-target\n        run: |\n          tools ci get-release-changelog-target ${{ github.event_name }}\n\n\n  pre-commit:\n    name: Pre-Commit\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    uses: ./.github/workflows/pre-commit-action.yml\n    needs:\n      - prepare-workflow\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      changed-files: ${{ needs.prepare-workflow.outputs.changed-files }}\n      pre-commit-version: \"3.0.4\"\n\n  lint:\n    name: Lint\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['lint'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    uses: ./.github/workflows/lint-action.yml\n    needs:\n      - prepare-workflow\n    with:\n      changed-files: ${{ needs.prepare-workflow.outputs.changed-files }}\n\n  prepare-release:\n    name: \"Prepare Release: ${{ needs.prepare-workflow.outputs.salt-version }}\"\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['prepare-release'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    runs-on: ubuntu-latest\n    needs:\n      - prepare-workflow\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-changelog\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n      - name: Update Debian changelog\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools changelog update-deb --draft\n          tools changelog update-deb\n\n      - name: Update RPM changelog\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools changelog update-rpm --draft\n          tools changelog update-rpm\n\n      - name: Create Release Notes Template\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          if [ \"${{ needs.prepare-workflow.outputs.release-changelog-target }}\" == \"next-major-release\" ]; then\n            tools changelog update-release-notes --next-release --template-only\n          else\n            tools changelog update-release-notes --template-only\n          fi\n\n      - name: Update Release Notes\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          if [ \"${{ needs.prepare-workflow.outputs.release-changelog-target }}\" == \"next-major-release\" ]; then\n              tools changelog update-release-notes --draft --next-release\n              tools changelog update-release-notes --next-release\n          else\n              tools changelog update-release-notes --draft\n              tools changelog update-release-notes\n          fi\n\n      - name: Generate MAN Pages\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        env:\n          LATEST_RELEASE: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n          SALT_ON_SALTSTACK: \"1\"\n        run: |\n          tools docs man\n\n      - name: Update Changelog\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools changelog update-changelog-md --draft\n          tools changelog update-changelog-md\n\n      - name: Show Changes Diff\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          git diff --color\n\n      - name: Configure Git\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          git config --global user.name \"Salt Project Packaging\"\n          git config --global user.email saltproject-packaging@vmware.com\n\n      - name: Setup Pre-Commit\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        uses: ./.github/actions/setup-pre-commit\n        with:\n          version: \"3.0.4\"\n          cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Commit Changes\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        env:\n          SKIP: lint-salt,lint-tests\n          PRE_COMMIT_COLOR: always\n        run: |\n          # Run it twice so that pre-commit can fix anything that can be automatically fixed.\n          git commit -am \"Release v${{ needs.prepare-workflow.outputs.salt-version }}\" || \\\n            git commit -am \"Release v${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n      - name: Create release changes patch\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          git format-patch --keep-subject --binary --stdout HEAD^ > salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n\n      - name: Upload Changes Diff Artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n          path: salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n          retention-days: 7\n          if-no-files-found: error\n\n  build-docs:\n    name: Documentation\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-docs'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-source-tarball\n    uses: ./.github/workflows/build-docs.yml\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n  build-source-tarball:\n    name: Build Source Tarball\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-source-tarball'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - prepare-release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-build\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n      - name: Build Source Tarball\n        uses: ./.github/actions/build-source-tarball\n        with:\n          salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n  build-deps-onedir:\n    name: Build Dependencies Onedir\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-deps-onedir'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n    uses: ./.github/workflows/build-deps-onedir.yml\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      self-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n      github-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n\n  build-salt-onedir:\n    name: Build Salt Onedir\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-salt-onedir'] }}\n    needs:\n      - prepare-workflow\n      - build-deps-onedir\n      - build-source-tarball\n    uses: ./.github/workflows/build-salt-onedir.yml\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      self-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n      github-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n\n  build-pkgs-onedir:\n    name: Build Packages\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-pkgs'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    uses: ./.github/workflows/build-packages.yml\n    with:\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n      source: \"onedir\"\n      environment: nightly\n      sign-macos-packages: true\n      sign-windows-packages: false\n    secrets: inherit\n\n  build-pkgs-src:\n    name: Build Packages\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-pkgs'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    uses: ./.github/workflows/build-packages.yml\n    with:\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n      source: \"src\"\n      environment: nightly\n      sign-macos-packages: true\n      sign-windows-packages: false\n    secrets: inherit\n  build-ci-deps:\n    name: CI Deps\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-deps-ci'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    uses: ./.github/workflows/build-deps-ci-action.yml\n    with:\n      nox-session: ci-test-onedir\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      nox-archive-hash: \"${{ needs.prepare-workflow.outputs.nox-archive-hash }}\"\n\n  rockylinux-8-pkg-tests:\n    name: Rocky Linux 8 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-8\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  rockylinux-8-arm64-pkg-tests:\n    name: Rocky Linux 8 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-8-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  rockylinux-9-pkg-tests:\n    name: Rocky Linux 9 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-9\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  rockylinux-9-arm64-pkg-tests:\n    name: Rocky Linux 9 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-9-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2-pkg-tests:\n    name: Amazon Linux 2 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2-arm64-pkg-tests:\n    name: Amazon Linux 2 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2023-pkg-tests:\n    name: Amazon Linux 2023 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2023-arm64-pkg-tests:\n    name: Amazon Linux 2023 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  centos-7-pkg-tests:\n    name: CentOS 7 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: centos-7\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-11-pkg-tests:\n    name: Debian 11 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-11\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-11-arm64-pkg-tests:\n    name: Debian 11 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-11-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-12-pkg-tests:\n    name: Debian 12 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-12\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-12-arm64-pkg-tests:\n    name: Debian 12 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-12-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-4-pkg-tests:\n    name: Photon OS 4 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-4-arm64-pkg-tests:\n    name: Photon OS 4 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-4-pkg-tests-fips:\n    name: Photon OS 4 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  photonos-4-arm64-pkg-tests-fips:\n    name: Photon OS 4 Arm64 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  photonos-5-pkg-tests:\n    name: Photon OS 5 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-5-arm64-pkg-tests:\n    name: Photon OS 5 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-5-pkg-tests-fips:\n    name: Photon OS 5 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  photonos-5-arm64-pkg-tests-fips:\n    name: Photon OS 5 Arm64 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  ubuntu-2004-pkg-tests:\n    name: Ubuntu 20.04 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2004-arm64-pkg-tests:\n    name: Ubuntu 20.04 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2204-pkg-tests:\n    name: Ubuntu 22.04 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2204-arm64-pkg-tests:\n    name: Ubuntu 22.04 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2404-pkg-tests:\n    name: Ubuntu 24.04 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2404-arm64-pkg-tests:\n    name: Ubuntu 24.04 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  macos-12-pkg-tests:\n    name: macOS 12 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-macos.yml\n    with:\n      distro-slug: macos-12\n      runner: macos-12\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: macos\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  macos-13-pkg-tests:\n    name: macOS 13 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-macos.yml\n    with:\n      distro-slug: macos-13\n      runner: macos-13\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: macos\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  macos-13-arm64-pkg-tests:\n    name: macOS 13 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-macos.yml\n    with:\n      distro-slug: macos-13-arm64\n      runner: macos-13-xlarge\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: macos\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2016-nsis-pkg-tests:\n    name: Windows 2016 NSIS Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2016\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: NSIS\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2016-msi-pkg-tests:\n    name: Windows 2016 MSI Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2016\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: MSI\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2019-nsis-pkg-tests:\n    name: Windows 2019 NSIS Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2019\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: NSIS\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2019-msi-pkg-tests:\n    name: Windows 2019 MSI Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2019\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: MSI\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2022-nsis-pkg-tests:\n    name: Windows 2022 NSIS Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2022\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: NSIS\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2022-msi-pkg-tests:\n    name: Windows 2022 MSI Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2022\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: MSI\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2016:\n    name: Windows 2016 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-windows.yml\n    with:\n      distro-slug: windows-2016\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 210 || 360 }}\n\n  windows-2019:\n    name: Windows 2019 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-windows.yml\n    with:\n      distro-slug: windows-2019\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 210 || 360 }}\n\n  windows-2022:\n    name: Windows 2022 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-windows.yml\n    with:\n      distro-slug: windows-2022\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 210 || 360 }}\n\n  macos-12:\n    name: macOS 12 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-macos.yml\n    with:\n      distro-slug: macos-12\n      runner: macos-12\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  macos-13:\n    name: macOS 13 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-macos.yml\n    with:\n      distro-slug: macos-13\n      runner: macos-13\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  macos-13-arm64:\n    name: macOS 13 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-macos.yml\n    with:\n      distro-slug: macos-13-arm64\n      runner: macos-13-xlarge\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-8:\n    name: Rocky Linux 8 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-8\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-8-arm64:\n    name: Rocky Linux 8 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-8-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-9:\n    name: Rocky Linux 9 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-9\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-9-arm64:\n    name: Rocky Linux 9 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-9-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2:\n    name: Amazon Linux 2 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2-arm64:\n    name: Amazon Linux 2 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2023:\n    name: Amazon Linux 2023 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2023-arm64:\n    name: Amazon Linux 2023 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  archlinux-lts:\n    name: Arch Linux LTS Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: archlinux-lts\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  centos-7:\n    name: CentOS 7 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: centos-7\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-11:\n    name: Debian 11 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-11\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-11-arm64:\n    name: Debian 11 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-11-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-12:\n    name: Debian 12 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-12\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-12-arm64:\n    name: Debian 12 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-12-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  fedora-40:\n    name: Fedora 40 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: fedora-40\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  opensuse-15:\n    name: Opensuse 15 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: opensuse-15\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-4:\n    name: Photon OS 4 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-4-arm64:\n    name: Photon OS 4 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-4-fips:\n    name: Photon OS 4 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  photonos-4-arm64-fips:\n    name: Photon OS 4 Arm64 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  photonos-5:\n    name: Photon OS 5 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-5-arm64:\n    name: Photon OS 5 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-5-fips:\n    name: Photon OS 5 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  photonos-5-arm64-fips:\n    name: Photon OS 5 Arm64 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  ubuntu-2004:\n    name: Ubuntu 20.04 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2004-arm64:\n    name: Ubuntu 20.04 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2204:\n    name: Ubuntu 22.04 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2204-arm64:\n    name: Ubuntu 22.04 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2404:\n    name: Ubuntu 24.04 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2404-arm64:\n    name: Ubuntu 24.04 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: nightly\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  combine-all-code-coverage:\n    name: Combine Code Coverage\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] == false }}\n    runs-on: ubuntu-latest\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n      - windows-2016\n      - windows-2019\n      - windows-2022\n      - macos-12\n      - macos-13\n      - macos-13-arm64\n      - rockylinux-8\n      - rockylinux-8-arm64\n      - rockylinux-9\n      - rockylinux-9-arm64\n      - amazonlinux-2\n      - amazonlinux-2-arm64\n      - amazonlinux-2023\n      - amazonlinux-2023-arm64\n      - archlinux-lts\n      - centos-7\n      - debian-11\n      - debian-11-arm64\n      - debian-12\n      - debian-12-arm64\n      - fedora-40\n      - opensuse-15\n      - photonos-4\n      - photonos-4-arm64\n      - photonos-4-fips\n      - photonos-4-arm64-fips\n      - photonos-5\n      - photonos-5-arm64\n      - photonos-5-fips\n      - photonos-5-arm64-fips\n      - ubuntu-2004\n      - ubuntu-2004-arm64\n      - ubuntu-2204\n      - ubuntu-2204-arm64\n      - ubuntu-2404\n      - ubuntu-2404-arm64\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        id: python-tools-scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-coverage\n\n      - name: Install Nox\n        run: |\n          python3 -m pip install 'nox==2022.8.7'\n\n\n\n      - name: Merge All Code Coverage Test Run Artifacts\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: all-testrun-coverage-artifacts\n          pattern: all-testrun-coverage-artifacts-*\n          separate-directories: false\n          delete-merged: true\n\n      - name: Get coverage reports\n        id: get-coverage-reports\n        uses: actions/download-artifact@v4\n        with:\n          name: all-testrun-coverage-artifacts\n          path: artifacts/coverage/\n\n      - name: Display structure of downloaded files\n        run: tree -a artifacts/\n\n      - name: Install Codecov CLI\n        run: |\n          # We can't yet use tokenless uploads with the codecov CLI\n          # python3 -m pip install codecov-cli\n          #\n          curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --import\n          curl -Os https://uploader.codecov.io/latest/linux/codecov\n          curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM\n          curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig\n          gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM\n          shasum -a 256 -c codecov.SHA256SUM\n          chmod +x codecov\n          mv ./codecov /usr/local/bin/\n\n      - name: Create XML Coverage Reports\n        run: |\n          nox --force-color -e create-xml-coverage-reports\n\n      - name: Upload Code Coverage To Codecov\n        if: ${{ ! github.event.repository.private && ! github.event.repository.fork }}\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        run: |\n          tools ci upload-coverage --commit-sha=${{ github.event.pull_request.head.sha || github.sha }} artifacts/coverage/\n\n      - name: Combine Code Coverage\n        run: |\n          nox --force-color -e combine-coverage\n\n      - name: Report Salt Code Coverage\n        run: |\n          nox --force-color -e coverage-report -- salt\n\n      - name: Create Salt Code Coverage HTML Report\n        run: |\n          nox --force-color -e create-html-coverage-report -- salt\n\n      - name: Create Salt Code Coverage HTML Report\n        run: |\n          nox --force-color -e create-html-coverage-report -- salt\n\n      - name: Upload Salt Code Coverage HTML Report\n        uses: actions/upload-artifact@v4\n        with:\n          name: code-coverage-salt-html-report\n          path: artifacts/coverage/html/salt\n          retention-days: 7\n          if-no-files-found: error\n\n      - name: Report Combined Code Coverage\n        run: |\n          nox --force-color -e coverage-report\n\n      - name: Create Combined Code Coverage JSON Report\n        run: |\n          nox --force-color -e create-json-coverage-reports\n\n      - name: Upload Combined Code Coverage JSON Report\n        uses: actions/upload-artifact@v4\n        with:\n          name: code-coverage-full-json-report\n          path: artifacts/coverage/coverage.json\n          retention-days: 7\n          if-no-files-found: error\n\n      - name: Create Combined Code Coverage HTML Report\n        run: |\n          nox --force-color -e create-html-coverage-report\n\n      - name: Upload Combined Code Coverage HTML Report\n        uses: actions/upload-artifact@v4\n        with:\n          name: code-coverage-full-html-report\n          path: artifacts/coverage/html/full\n          retention-days: 7\n          if-no-files-found: error\n\n  build-src-repo:\n    name: Build Repository\n    environment: nightly\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-nightly\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - build-source-tarball\n      - build-pkgs-src\n    strategy:\n      fail-fast: false\n      matrix:\n        pkg-type:\n          - src\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download Source Tarball\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}.tar.gz\n          path: artifacts/pkgs/incoming\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Create Repository Path\n        run: |\n          mkdir -p artifacts/pkgs/repo\n\n      - name: Create Repository\n        run: |\n          tools pkg repo create src --key-id=64CBBC8173D76B3F --nightly-build-from=${{ github.ref_name }} \\\n            --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} \\\n            --incoming=artifacts/pkgs/incoming --repo-path=artifacts/pkgs/repo\n\n      - name: Copy Files For Source Only Artifact Uploads\n        run: |\n          mkdir artifacts/src\n          find artifacts/pkgs/repo -type f -print -exec cp {} artifacts/src \\;\n\n      - name: Upload Standalone Repository As An Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-nightly-src-repo\n          path: |\n            artifacts/src/salt-${{ needs.prepare-workflow.outputs.salt-version }}.tar.gz\n            artifacts/src/salt-${{ needs.prepare-workflow.outputs.salt-version }}.tar.gz.*\n            artifacts/src/*-GPG-*\n          retention-days: 7\n          if-no-files-found: error\n\n      - name: Upload Repository As An Artifact\n        uses: ./.github/actions/upload-artifact\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-nightly-repo-src\n          path: artifacts/pkgs/repo/*\n          retention-days: 7\n          if-no-files-found: error\n          archive-name: src-repo\n\n  build-deb-repo:\n    name: Build Repository\n    environment: nightly\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-nightly\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - pkg-type: deb\n            distro: debian\n            version: \"11\"\n            arch: x86_64\n          - pkg-type: deb\n            distro: debian\n            version: \"11\"\n            arch: arm64\n          - pkg-type: deb\n            distro: debian\n            version: \"12\"\n            arch: x86_64\n          - pkg-type: deb\n            distro: debian\n            version: \"12\"\n            arch: arm64\n          - pkg-type: deb\n            distro: ubuntu\n            version: \"20.04\"\n            arch: x86_64\n          - pkg-type: deb\n            distro: ubuntu\n            version: \"20.04\"\n            arch: arm64\n          - pkg-type: deb\n            distro: ubuntu\n            version: \"22.04\"\n            arch: x86_64\n          - pkg-type: deb\n            distro: ubuntu\n            version: \"22.04\"\n            arch: arm64\n          - pkg-type: deb\n            distro: ubuntu\n            version: \"24.04\"\n            arch: x86_64\n          - pkg-type: deb\n            distro: ubuntu\n            version: \"24.04\"\n            arch: arm64\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download System Dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y devscripts apt-utils\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download DEB Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-${{ matrix.arch }}-deb\n          path: artifacts/pkgs/incoming\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Create Repository Path\n        run: |\n          mkdir -p artifacts/pkgs/repo\n\n      - name: Create Repository\n        run: |\n          tools pkg repo create deb --key-id=64CBBC8173D76B3F --distro-arch=${{ matrix.arch }} --nightly-build-from=${{ github.ref_name }} \\\n            --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} \\\n            --distro=${{ matrix.distro }} --distro-version=${{ matrix.version }} \\\n            --incoming=artifacts/pkgs/incoming --repo-path=artifacts/pkgs/repo\n\n      - name: Upload Repository As An Artifact\n        uses: ./.github/actions/upload-artifact\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-nightly-repo-${{ matrix.pkg-type }}-${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}\n          path: artifacts/pkgs/repo/*\n          retention-days: 7\n          if-no-files-found: error\n          archive-name: ${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}-repo\n\n  build-rpm-repo:\n    name: Build Repository\n    environment: nightly\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-nightly\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - pkg-type: rpm\n            distro: amazon\n            version: \"2\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: amazon\n            version: \"2\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: amazon\n            version: \"2\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: amazon\n            version: \"2023\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: amazon\n            version: \"2023\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: amazon\n            version: \"2023\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: fedora\n            version: \"40\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: fedora\n            version: \"40\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: fedora\n            version: \"40\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: photon\n            version: \"4\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: photon\n            version: \"4\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: photon\n            version: \"4\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: photon\n            version: \"5\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: photon\n            version: \"5\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: photon\n            version: \"5\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"7\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"7\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"7\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"8\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"8\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"8\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"9\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"9\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"9\"\n            arch: aarch64\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download System Dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y rpm\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download RPM Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-${{ matrix.arch == 'aarch64' && 'arm64' || matrix.arch }}-rpm\n          path: artifacts/pkgs/incoming\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Create Repository Path\n        run: |\n          mkdir -p artifacts/pkgs/repo\n\n      - name: Create Repository\n        env:\n          SALT_REPO_DOMAIN_RELEASE: ${{ vars.SALT_REPO_DOMAIN_RELEASE || 'repo.saltproject.io' }}\n          SALT_REPO_DOMAIN_STAGING: ${{ vars.SALT_REPO_DOMAIN_STAGING || 'staging.repo.saltproject.io' }}\n        run: |\n          tools pkg repo create rpm --key-id=64CBBC8173D76B3F --distro-arch=${{ matrix.arch }} --nightly-build-from=${{ github.ref_name }} \\\n            --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} \\\n            --distro=${{ matrix.distro }} --distro-version=${{ matrix.version }} \\\n            --incoming=artifacts/pkgs/incoming --repo-path=artifacts/pkgs/repo\n\n      - name: Upload Repository As An Artifact\n        uses: ./.github/actions/upload-artifact\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-nightly-repo-${{ matrix.pkg-type }}-${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}\n          path: artifacts/pkgs/repo/*\n          retention-days: 7\n          if-no-files-found: error\n          archive-name: ${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}-repo\n\n  build-windows-repo:\n    name: Build Repository\n    environment: nightly\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-nightly\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n    strategy:\n      fail-fast: false\n      matrix:\n        pkg-type:\n          - windows\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download Windows NSIS x86 Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-x86-NSIS\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows MSI x86 Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-x86-MSI\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows NSIS amd64 Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-amd64-NSIS\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows MSI amd64 Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-amd64-MSI\n          path: artifacts/pkgs/incoming\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Create Repository Path\n        run: |\n          mkdir -p artifacts/pkgs/repo\n\n      - name: Create Repository\n        run: |\n          tools pkg repo create windows --key-id=64CBBC8173D76B3F --nightly-build-from=${{ github.ref_name }} \\\n            --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} \\\n            --incoming=artifacts/pkgs/incoming --repo-path=artifacts/pkgs/repo\n\n      - name: Upload Repository As An Artifact\n        uses: ./.github/actions/upload-artifact\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-nightly-repo-windows\n          path: artifacts/pkgs/repo/*\n          retention-days: 7\n          if-no-files-found: error\n          archive-name: windows-repo\n\n  build-macos-repo:\n    name: Build Repository\n    environment: nightly\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-nightly\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n    strategy:\n      fail-fast: false\n      matrix:\n        pkg-type:\n          - macos\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download macOS x86_64 Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-x86_64-macos\n          path: artifacts/pkgs/incoming\n\n      - name: Download macOS Arch64 Packages\n        if: ${{ ! github.event.repository.fork }}\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-arm64-macos\n          path: artifacts/pkgs/incoming\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Create Repository Path\n        run: |\n          mkdir -p artifacts/pkgs/repo\n\n      - name: Create Repository\n        run: |\n          tools pkg repo create macos --key-id=64CBBC8173D76B3F --nightly-build-from=${{ github.ref_name }} \\\n            --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} \\\n            --incoming=artifacts/pkgs/incoming --repo-path=artifacts/pkgs/repo\n\n      - name: Upload Repository As An Artifact\n        uses: ./.github/actions/upload-artifact\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-nightly-repo-macos\n          path: artifacts/pkgs/repo/*\n          retention-days: 7\n          if-no-files-found: error\n          archive-name: macos-repo\n\n  build-onedir-repo:\n    name: Build Repository\n    environment: nightly\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-nightly\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    strategy:\n      fail-fast: false\n      matrix:\n        pkg-type:\n          - onedir\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download Linux x86_64 Onedir Archive\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-linux-x86_64.tar.xz\n          path: artifacts/pkgs/incoming\n\n      - name: Download Linux arm64 Onedir Archive\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-linux-arm64.tar.xz\n          path: artifacts/pkgs/incoming\n\n      - name: Download macOS x86_64 Onedir Archive\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-macos-x86_64.tar.xz\n          path: artifacts/pkgs/incoming\n\n      - name: Download macOS arm64 Onedir Archive\n        if: ${{ ! github.event.repository.fork }}\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-macos-arm64.tar.xz\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows amd64 Onedir Archive\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-windows-amd64.tar.xz\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows amd64 Onedir Archive(zip)\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-windows-amd64.zip\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows x86 Onedir Archive\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-windows-x86.tar.xz\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows amd64 Onedir Archive(zip)\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-windows-x86.zip\n          path: artifacts/pkgs/incoming\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Create Repository Path\n        run: |\n          mkdir -p artifacts/pkgs/repo\n\n      - name: Create Repository\n        run: |\n          tools pkg repo create onedir --key-id=64CBBC8173D76B3F --nightly-build-from=${{ github.ref_name }} \\\n            --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} \\\n            --incoming=artifacts/pkgs/incoming --repo-path=artifacts/pkgs/repo\n\n      - name: Upload Repository As An Artifact\n        uses: ./.github/actions/upload-artifact\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-nightly-repo-onedir\n          path: artifacts/pkgs/repo/*\n          retention-days: 7\n          if-no-files-found: error\n          archive-name: onedir-repo\n\n  publish-repositories:\n    name: Publish Repositories\n    if: ${{ always() && ! failure() && ! cancelled() }}\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-nightly\n    environment: nightly\n    needs:\n      - prepare-workflow\n      - build-docs\n      - build-src-repo\n      - build-deb-repo\n      - build-rpm-repo\n      - build-windows-repo\n      - build-macos-repo\n      - build-onedir-repo\n      - build-ci-deps\n      - windows-2016\n      - windows-2019\n      - windows-2022\n      - macos-12\n      - macos-13\n      - macos-13-arm64\n      - rockylinux-8\n      - rockylinux-8-arm64\n      - rockylinux-9\n      - rockylinux-9-arm64\n      - amazonlinux-2\n      - amazonlinux-2-arm64\n      - amazonlinux-2023\n      - amazonlinux-2023-arm64\n      - archlinux-lts\n      - centos-7\n      - debian-11\n      - debian-11-arm64\n      - debian-12\n      - debian-12-arm64\n      - fedora-40\n      - opensuse-15\n      - photonos-4\n      - photonos-4-arm64\n      - photonos-4-fips\n      - photonos-4-arm64-fips\n      - photonos-5\n      - photonos-5-arm64\n      - photonos-5-fips\n      - photonos-5-arm64-fips\n      - ubuntu-2004\n      - ubuntu-2004-arm64\n      - ubuntu-2204\n      - ubuntu-2204-arm64\n      - ubuntu-2404\n      - ubuntu-2404-arm64\n\n    steps:\n\n      - uses: actions/checkout@v4\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Download Repository Artifact\n        uses: actions/download-artifact@v4\n        with:\n          pattern: salt-${{ needs.prepare-workflow.outputs.salt-version }}-nightly-repo-*\n          merge-multiple: true\n          path: repo/\n\n      - name: Decompress Repository Artifacts\n        run: |\n          find repo/ -type f -name '*.tar.gz' -print -exec tar xvf {} \\;\n          find repo/ -type f -name '*.tar.gz' -print -exec rm -f {} \\;\n\n      - name: Show Repository\n        run: |\n          tree -a artifacts/pkgs/repo/\n\n      - name: Upload Repository Contents (nightly)\n        env:\n          SALT_REPO_DOMAIN_RELEASE: ${{ vars.SALT_REPO_DOMAIN_RELEASE || 'repo.saltproject.io' }}\n          SALT_REPO_DOMAIN_STAGING: ${{ vars.SALT_REPO_DOMAIN_STAGING || 'staging.repo.saltproject.io' }}\n        run: |\n          tools pkg repo publish nightly --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} artifacts/pkgs/repo/\n\n  set-pipeline-exit-status:\n    # This step is just so we can make github require this step, to pass checks\n    # on a pull request instead of requiring all\n    name: Set the ${{ github.workflow }} Pipeline Exit Status\n    if: always()\n    runs-on: ubuntu-latest\n    environment: nightly\n    needs:\n      - workflow-requirements\n      - trigger-branch-nightly-builds\n      - prepare-workflow\n      - pre-commit\n      - lint\n      - build-docs\n      - build-deps-onedir\n      - build-salt-onedir\n      - build-pkgs-src\n      - combine-all-code-coverage\n      - publish-repositories\n      - rockylinux-8-pkg-tests\n      - rockylinux-8-arm64-pkg-tests\n      - rockylinux-9-pkg-tests\n      - rockylinux-9-arm64-pkg-tests\n      - amazonlinux-2-pkg-tests\n      - amazonlinux-2-arm64-pkg-tests\n      - amazonlinux-2023-pkg-tests\n      - amazonlinux-2023-arm64-pkg-tests\n      - centos-7-pkg-tests\n      - debian-11-pkg-tests\n      - debian-11-arm64-pkg-tests\n      - debian-12-pkg-tests\n      - debian-12-arm64-pkg-tests\n      - photonos-4-pkg-tests\n      - photonos-4-arm64-pkg-tests\n      - photonos-4-pkg-tests-fips\n      - photonos-4-arm64-pkg-tests-fips\n      - photonos-5-pkg-tests\n      - photonos-5-arm64-pkg-tests\n      - photonos-5-pkg-tests-fips\n      - photonos-5-arm64-pkg-tests-fips\n      - ubuntu-2004-pkg-tests\n      - ubuntu-2004-arm64-pkg-tests\n      - ubuntu-2204-pkg-tests\n      - ubuntu-2204-arm64-pkg-tests\n      - ubuntu-2404-pkg-tests\n      - ubuntu-2404-arm64-pkg-tests\n      - macos-12-pkg-tests\n      - macos-13-pkg-tests\n      - macos-13-arm64-pkg-tests\n      - windows-2016-nsis-pkg-tests\n      - windows-2016-msi-pkg-tests\n      - windows-2019-nsis-pkg-tests\n      - windows-2019-msi-pkg-tests\n      - windows-2022-nsis-pkg-tests\n      - windows-2022-msi-pkg-tests\n    steps:\n      - name: Get workflow information\n        id: get-workflow-info\n        uses: im-open/workflow-conclusion@v2\n\n      - name: Notify Slack\n        id: slack\n        if: always()\n        uses: slackapi/slack-github-action@v1.24.0\n        with:\n          payload: |\n            {\n              \"attachments\": [\n                {\n                  \"fallback\": \"${{ github.workflow }} Workflow build result for the `${{ github.ref_name }}` branch(attempt: ${{ github.run_attempt }}): `${{ steps.get-workflow-info.outputs.conclusion }}`\\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\n                  \"color\": \"${{ steps.get-workflow-info.outputs.conclusion != 'success' && 'ff3d00' || '00e676' }}\",\n                  \"fields\": [\n                    {\n                      \"title\": \"Workflow\",\n                      \"short\": true,\n                      \"value\": \"${{ github.workflow }}\",\n                      \"type\": \"mrkdwn\"\n                    },\n                    {\n                      \"title\": \"Workflow Run\",\n                      \"short\": true,\n                      \"value\": \"<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.run_id }}>\",\n                      \"type\": \"mrkdwn\"\n                    },\n                    {\n                      \"title\": \"Branch\",\n                      \"short\": true,\n                      \"value\": \"${{ github.ref_name }}\",\n                      \"type\": \"mrkdwn\"\n                    },\n                    {\n                      \"title\": \"Commit\",\n                      \"short\": true,\n                      \"value\": \"<${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>\",\n                      \"type\": \"mrkdwn\"\n                    },\n                    {\n                      \"title\": \"Attempt\",\n                      \"short\": true,\n                      \"value\": \"${{ github.run_attempt }}\",\n                      \"type\": \"mrkdwn\"\n                    },\n                    {\n                      \"title\": \"Status\",\n                      \"short\": true,\n                      \"value\": \"${{ steps.get-workflow-info.outputs.conclusion }}\",\n                      \"type\": \"mrkdwn\"\n                    }\n                  ],\n                  \"author_name\": \"${{ github.event.sender.login }}\",\n                  \"author_link\": \"${{ github.event.sender.html_url }}\",\n                  \"author_icon\": \"${{ github.event.sender.avatar_url }}\"\n                }\n              ]\n            }\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n          SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n\n      - name: Set Pipeline Exit Status\n        shell: bash\n        run: |\n          if [ \"${{ steps.get-workflow-info.outputs.workflow_conclusion }}\" != \"success\" ]; then\n            exit 1\n          else\n            exit 0\n          fi\n\n      - name: Done\n        if: always()\n        run:\n          echo \"All worflows finished\"\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:50.072175", "created_at": "2023-01-25T18:05:31+01:00", "updated_at": "2024-01-10T06:09:21+01:00", "name": "Build Packaging Dependencies Onedir", "path": ".github/workflows/build-deps-onedir.yml", "contents": "---\nname: Build Packaging Dependencies Onedir\n\non:\n  workflow_call:\n    inputs:\n      salt-version:\n        type: string\n        required: true\n        description: The Salt version to set prior to building packages.\n      github-hosted-runners:\n        type: boolean\n        required: true\n      self-hosted-runners:\n        type: boolean\n        required: true\n      cache-seed:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n      relenv-version:\n        required: true\n        type: string\n        description: The version of relenv to use\n      python-version:\n        required: true\n        type: string\n        description: The version of python to use with relenv\n\nenv:\n  RELENV_DATA: \"${{ github.workspace }}/.relenv\"\n  COLUMNS: 190\n  AWS_MAX_ATTEMPTS: \"10\"\n  AWS_RETRY_MODE: \"adaptive\"\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n\njobs:\n\n  build-deps-linux:\n    name: Linux\n    if: ${{ inputs.self-hosted-runners }}\n    strategy:\n      fail-fast: false\n      matrix:\n        arch:\n          - x86_64\n          - arm64\n    runs-on:\n      - self-hosted\n      - linux\n      - medium\n      - ${{ matrix.arch }}\n    env:\n      USE_S3_CACHE: 'true'\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-seed }}|build-deps|linux|${{ matrix.arch }}\n\n      - name: Setup Relenv\n        id: setup-relenv\n        uses: ./.github/actions/setup-relenv\n        with:\n          platform: linux\n          arch: ${{ matrix.arch == 'arm64' && 'aarch64' || matrix.arch }}\n          version: ${{ inputs.relenv-version }}\n          cache-seed: ${{ inputs.cache-seed }}\n          python-version: ${{ inputs.python-version }}\n\n      - name: Install Salt Packaging Dependencies into Relenv Onedir\n        uses: ./.github/actions/build-onedir-deps\n        with:\n          platform: linux\n          arch: ${{ matrix.arch }}\n          python-version: \"${{ inputs.python-version }}\"\n          cache-prefix: ${{ inputs.cache-seed }}|relenv|${{ steps.setup-relenv.outputs.version }}\n\n  build-deps-macos:\n    name: macOS\n    if: ${{ inputs.github-hosted-runners }}\n    strategy:\n      fail-fast: false\n      max-parallel: 2\n      matrix:\n        arch: ${{ github.event.repository.fork && fromJSON('[\"x86_64\"]') || fromJSON('[\"x86_64\", \"arm64\"]') }}\n    runs-on:\n      - ${{ matrix.arch == 'arm64' && 'macos-13-xlarge' || 'macos-12' }}\n    env:\n      USE_S3_CACHE: 'false'\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-seed }}|build-deps|macos\n\n      - name: Setup Relenv\n        id: setup-relenv\n        uses: ./.github/actions/setup-relenv\n        with:\n          platform: macos\n          arch: ${{ matrix.arch }}\n          version: ${{ inputs.relenv-version }}\n          cache-seed: ${{ inputs.cache-seed }}\n          python-version: ${{ inputs.python-version }}\n\n      - name: Install Salt Packaging Dependencies into Relenv Onedir\n        uses: ./.github/actions/build-onedir-deps\n        with:\n          platform: macos\n          arch: ${{ matrix.arch }}\n          python-version: \"${{ inputs.python-version }}\"\n          cache-prefix: ${{ inputs.cache-seed }}|relenv|${{ steps.setup-relenv.outputs.version }}\n\n  build-deps-windows:\n    name: Windows\n    if: ${{ inputs.github-hosted-runners }}\n    strategy:\n      fail-fast: false\n      max-parallel: 2\n      matrix:\n        arch:\n          - x86\n          - amd64\n    runs-on: windows-latest\n    env:\n      USE_S3_CACHE: 'false'\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-seed }}|build-deps|windows|${{ matrix.arch }}\n\n      - name: Setup Relenv\n        id: setup-relenv\n        uses: ./.github/actions/setup-relenv\n        with:\n          platform: windows\n          arch: ${{ matrix.arch }}\n          version: ${{ inputs.relenv-version }}\n          cache-seed: ${{ inputs.cache-seed }}\n          python-version: ${{ inputs.python-version }}\n\n      - name: Install Salt Packaging Dependencies into Relenv Onedir\n        uses: ./.github/actions/build-onedir-deps\n        with:\n          platform: windows\n          arch: ${{ matrix.arch }}\n          python-version: \"${{ inputs.python-version }}\"\n          cache-prefix: ${{ inputs.cache-seed }}|relenv|${{ steps.setup-relenv.outputs.version }}\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:51.117027", "created_at": "2023-01-25T18:05:31+01:00", "updated_at": "2024-01-10T06:09:21+01:00", "name": "Build Packages", "path": ".github/workflows/build-packages.yml", "contents": "---\nname: Build Packages\n\non:\n  workflow_call:\n    inputs:\n      salt-version:\n        type: string\n        required: true\n        description: The Salt version to set prior to building packages.\n      relenv-version:\n        type: string\n        required: true\n        description: The relenv version to set prior to building packages.\n      python-version:\n        required: true\n        type: string\n        description: The version of python to use with relenv\n      sign-macos-packages:\n        type: boolean\n        default: false\n        description: Sign MacOS Packages\n      sign-windows-packages:\n        type: boolean\n        default: false\n        description: Sign Windows Packages\n      environment:\n        type: string\n        description: The GitHub Environment where this workflow should run\n        default: ci\n      source:\n        required: true\n        type: string\n        description: The backend to build the packages with\n      cache-prefix:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n\nenv:\n  COLUMNS: 190\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n\njobs:\n\n  build-macos-pkgs:\n    name: macOS\n    environment: ${{ inputs.environment }}\n    strategy:\n      fail-fast: false\n      matrix:\n        arch: ${{ github.event.repository.fork && fromJSON('[\"x86_64\"]') || fromJSON('[\"x86_64\", \"arm64\"]') }}\n        source:\n          - ${{ inputs.source }}\n\n    runs-on:\n      - ${{ matrix.arch == 'arm64' && 'macos-13-xlarge' || 'macos-12' }}\n\n    steps:\n      - name: Check Package Signing Enabled\n        shell: bash\n        id: check-pkg-sign\n        run: |\n          if [ \"${{ inputs.sign-macos-packages }}\" == \"true\" ]; then\n            if [ \"${{ (secrets.MAC_SIGN_APPLE_ACCT != '' && contains(fromJSON('[\"nightly\", \"staging\"]'), inputs.environment)) && 'true' || 'false' }}\" != \"true\" ]; then\n              MSG=\"Secrets for signing packages are not available. The packages created will NOT be signed.\"\n              echo \"${MSG}\"\n              echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n              echo \"sign-pkgs=false\" >> \"$GITHUB_OUTPUT\"\n            else\n              MSG=\"The packages created WILL be signed.\"\n              echo \"${MSG}\"\n              echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n              echo \"sign-pkgs=true\" >> \"$GITHUB_OUTPUT\"\n            fi\n          else\n            MSG=\"The sign-macos-packages input is false. The packages created will NOT be signed.\"\n            echo \"${MSG}\"\n            echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n            echo \"sign-pkgs=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ inputs.salt-version }}\"\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ inputs.salt-version }}-onedir-macos-${{ matrix.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Prepare Package Signing\n        if: ${{ steps.check-pkg-sign.outputs.sign-pkgs == 'true' }}\n        run: |\n          echo ${{ secrets.MAC_SIGN_DEV_APP_CERT_B64 }} | base64 --decode > app-cert.p12\n          echo ${{ secrets.MAC_SIGN_DEV_INSTALL_CERT_B64 }} | base64 --decode > install-cert.p12\n          # Create SaltSigning keychain. This will contain the certificates for signing\n          security create-keychain -p \"${{ secrets.MAC_SIGN_DEV_PASSWORD }}\" \"${{ secrets.MAC_SIGN_DEV_KEYCHAIN }}\"\n          # Append SaltSigning keychain to the search list\n          security list-keychains -d user -s \"${{ secrets.MAC_SIGN_DEV_KEYCHAIN }}\" \"$(security list-keychains -d user | sed s/\\\"//g)\"\n          # Unlock the keychain so we can import certs\n          security unlock-keychain -p \"${{ secrets.MAC_SIGN_DEV_PASSWORD }}\" \"${{ secrets.MAC_SIGN_DEV_KEYCHAIN }}\"\n          # Developer Application Certificate\n          security import \"app-cert.p12\" -t agg -k \"${{ secrets.MAC_SIGN_DEV_KEYCHAIN }}\" -P \"${{ secrets.MAC_SIGN_DEV_PASSWORD }}\" -A\n          rm app-cert.p12\n          # Developer Installer Certificate\n          security import \"install-cert.p12\" -t agg -k \"${{ secrets.MAC_SIGN_DEV_KEYCHAIN }}\" -P \"${{ secrets.MAC_SIGN_DEV_PASSWORD }}\" -A\n          rm install-cert.p12\n          security set-key-partition-list -S apple-tool:,apple: -k \"${{ secrets.MAC_SIGN_DEV_PASSWORD }}\" \"${{ secrets.MAC_SIGN_DEV_KEYCHAIN }}\" &> /dev/null\n\n      - name: Build MacOS Package\n        env:\n          DEV_APP_CERT: \"${{ secrets.MAC_SIGN_DEV_APP_CERT }}\"\n          DEV_INSTALL_CERT: \"${{ secrets.MAC_SIGN_DEV_INSTALL_CERT }}\"\n          APPLE_ACCT: \"${{ secrets.MAC_SIGN_APPLE_ACCT }}\"\n          APPLE_TEAM_ID: \"${{ secrets.MAC_SIGN_APPLE_TEAM_ID }}\"\n          APP_SPEC_PWD: \"${{ secrets.MAC_SIGN_APP_SPEC_PWD }}\"\n        run: |\n          tools pkg build macos --relenv-version=${{ inputs.relenv-version }} --python-version=${{ inputs.python-version }} ${{\n              inputs.source == 'onedir' &&\n              format(\n                '--onedir salt-{0}-onedir-macos-{1}.tar.xz --salt-version {0} {2}',\n                inputs.salt-version,\n                matrix.arch,\n                steps.check-pkg-sign.outputs.sign-pkgs == 'true' && '--sign' || ''\n              )\n              ||\n              format('--salt-version {0}', inputs.salt-version)\n          }}\n\n      - name: Set Artifact Name\n        id: set-artifact-name\n        run: |\n          if [ \"${{ inputs.source }}\" != \"src\" ]; then\n            echo \"artifact-name=salt-${{ inputs.salt-version }}-${{ matrix.arch }}-macos\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"artifact-name=salt-${{ inputs.salt-version }}-${{ matrix.arch }}-macos-from-src\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Upload ${{ matrix.arch }} Package\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ steps.set-artifact-name.outputs.artifact-name }}\n          path: pkg/macos/salt-${{ inputs.salt-version }}-py3-*.pkg\n          retention-days: 7\n          if-no-files-found: error\n\n  build-deb-packages:\n    name: DEB\n    runs-on:\n      - self-hosted\n      - linux\n      - medium\n      - ${{ matrix.arch }}\n    strategy:\n      fail-fast: false\n      matrix:\n        arch:\n          - x86_64\n          - arm64\n        source:\n          - ${{ inputs.source }}\n\n    container:\n      image: ghcr.io/saltstack/salt-ci-containers/packaging:debian-12\n\n    steps:\n      # Checkout here so we can easily use custom actions\n      - uses: actions/checkout@v4\n\n      # We need a more recent rustc\n      - name: Install a more recent `rustc`\n        if: ${{ inputs.source == 'src' }}\n        uses: actions-rust-lang/setup-rust-toolchain@v1\n\n      - name: Set rust environment variables\n        if: ${{ inputs.source == 'src' }}\n        run: |\n          CARGO_HOME=${CARGO_HOME:-${HOME}/.cargo}\n          export CARGO_HOME\n          echo \"CARGO_HOME=${CARGO_HOME}\" | tee -a \"${GITHUB_ENV}\"\n          echo \"${CARGO_HOME}/bin\" | tee -a \"${GITHUB_PATH}\"\n\n      # Checkout here for the build process\n      - name: Checkout in build directory\n        uses: actions/checkout@v4\n        with:\n          path:\n            pkgs/checkout/\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ inputs.salt-version }}-onedir-linux-${{ matrix.arch }}.tar.xz\n          path: pkgs/checkout/artifacts/\n\n      - name: Download Release Patch\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ inputs.salt-version }}.patch\n          path: pkgs/checkout/\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cwd: pkgs/checkout/\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ inputs.salt-version }}\"\n          cwd: pkgs/checkout/\n\n      - name: Configure Git\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        working-directory: pkgs/checkout/\n        run: |\n          tools pkg configure-git\n\n      - name: Apply release patch\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        working-directory: pkgs/checkout/\n        run: |\n          tools pkg apply-release-patch salt-${{ inputs.salt-version }}.patch --delete\n\n      - name: Build Deb\n        working-directory: pkgs/checkout/\n        run: |\n          tools pkg build deb --relenv-version=${{ inputs.relenv-version }} --python-version=${{ inputs.python-version }} ${{\n              inputs.source == 'onedir' &&\n              format('--onedir=salt-{0}-onedir-linux-{1}.tar.xz', inputs.salt-version, matrix.arch)\n              ||\n              format('--arch={0}', matrix.arch)\n          }}\n\n      - name: Cleanup\n        run: |\n          rm -rf pkgs/checkout/\n\n      - name: Set Artifact Name\n        id: set-artifact-name\n        run: |\n          if [ \"${{ inputs.source }}\" != \"src\" ]; then\n            echo \"artifact-name=salt-${{ inputs.salt-version }}-${{ matrix.arch }}-deb\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"artifact-name=salt-${{ inputs.salt-version }}-${{ matrix.arch }}-deb-from-src\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Upload DEBs\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ steps.set-artifact-name.outputs.artifact-name }}\n          path: ${{ github.workspace }}/pkgs/*\n          retention-days: 7\n          if-no-files-found: error\n\n  build-rpm-packages:\n    name: RPM\n    runs-on:\n      - self-hosted\n      - linux\n      - medium\n      - ${{ matrix.arch }}\n    strategy:\n      fail-fast: false\n      matrix:\n        arch:\n          - x86_64\n          - arm64\n        source:\n          - ${{ inputs.source }}\n\n    container:\n      image: ghcr.io/saltstack/salt-ci-containers/packaging:centosstream-9\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ inputs.salt-version }}-onedir-linux-${{ matrix.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Download Release Patch\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ inputs.salt-version }}.patch\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ inputs.salt-version }}\"\n\n      - name: Configure Git\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools pkg configure-git\n\n      - name: Apply release patch\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools pkg apply-release-patch salt-${{ inputs.salt-version }}.patch --delete\n\n      - name: Build RPM\n        run: |\n          tools pkg build rpm  --relenv-version=${{ inputs.relenv-version }} --python-version=${{ inputs.python-version }} ${{\n              inputs.source == 'onedir' &&\n              format('--onedir=salt-{0}-onedir-linux-{1}.tar.xz', inputs.salt-version, matrix.arch)\n              ||\n              format('--arch={0}', matrix.arch)\n          }}\n\n      - name: Set Artifact Name\n        id: set-artifact-name\n        run: |\n          if [ \"${{ inputs.source }}\" != \"src\" ]; then\n            echo \"artifact-name=salt-${{ inputs.salt-version }}-${{ matrix.arch }}-rpm\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"artifact-name=salt-${{ inputs.salt-version }}-${{ matrix.arch }}-rpm-from-src\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Upload RPMs\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ steps.set-artifact-name.outputs.artifact-name }}\n          path: ~/rpmbuild/RPMS/${{ matrix.arch == 'arm64' && 'aarch64' || matrix.arch }}/*.rpm\n          retention-days: 7\n          if-no-files-found: error\n\n  build-windows-pkgs:\n    name: Windows\n    environment: ${{ inputs.environment }}\n    strategy:\n      fail-fast: false\n      max-parallel: 2\n      matrix:\n        arch:\n          - x86\n          - amd64\n        source:\n          - ${{ inputs.source }}\n\n    runs-on:\n      - windows-latest\n    env:\n      SM_HOST: \"${{ secrets.WIN_SIGN_HOST_PROD }}\"\n      SM_API_KEY: \"${{ secrets.WIN_SIGN_API_KEY }}\"\n      SM_CLIENT_CERT_FILE: \"D:\\\\Certificate_pkcs12.p12\"\n      SM_CLIENT_CERT_PASSWORD: \"${{ secrets.WIN_SIGN_CERT_PASSWORD }}\"\n      SM_CLIENT_CERT_FILE_B64: \"${{ secrets.WIN_SIGN_CERT_FILE_B64 }}\"\n      WIN_SIGN_CERT_SHA1_HASH: \"${{ secrets.WIN_SIGN_CERT_SHA1_HASH }}\"\n\n    steps:\n      - name: Check Package Signing Enabled\n        shell: bash\n        id: check-pkg-sign\n        run: |\n          if [ \"${{ inputs.sign-windows-packages }}\" == \"true\" ]; then\n            if [ \"${{ (secrets.WIN_SIGN_API_KEY != '' && env.SM_HOST != '' && inputs.environment == 'staging') && 'true' || 'false' }}\" != \"true\" ]; then\n              MSG=\"Secrets for signing packages are not available. The packages created will NOT be signed.\"\n              echo \"${MSG}\"\n              echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n              echo \"sign-pkgs=false\" >> \"$GITHUB_OUTPUT\"\n            else\n              MSG=\"The packages created WILL be signed.\"\n              echo \"${MSG}\"\n              echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n              echo \"sign-pkgs=true\" >> \"$GITHUB_OUTPUT\"\n            fi\n          else\n            MSG=\"The sign-windows-packages input is false. The packages created will NOT be signed.\"\n            echo \"${MSG}\"\n            echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n            echo \"sign-pkgs=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ inputs.salt-version }}\"\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ inputs.salt-version }}-onedir-windows-${{ matrix.arch }}.zip\n          path: artifacts/\n\n      - name: Code signing with Software Trust Manager\n        if: ${{ steps.check-pkg-sign.outputs.sign-pkgs == 'true' }}\n        uses: digicert/ssm-code-signing@v0.0.2\n\n      - name: Setup Certificate\n        if: ${{ steps.check-pkg-sign.outputs.sign-pkgs == 'true' }}\n        shell: bash\n        run: |\n          echo \"${{ secrets.WIN_SIGN_CERT_FILE_B64 }}\" | base64 --decode > /d/Certificate_pkcs12.p12\n\n      - name: Build Windows Packages\n        run: |\n          tools pkg build windows --relenv-version=${{ inputs.relenv-version }} --python-version=${{ inputs.python-version }} ${{\n            inputs.source == 'onedir' &&\n            format(\n              '--onedir salt-{0}-onedir-windows-{1}.zip --salt-version {0} --arch {1} {2}',\n              inputs.salt-version,\n              matrix.arch,\n              steps.check-pkg-sign.outputs.sign-pkgs == 'true' && '--sign' || ''\n            )\n            ||\n            format('--salt-version {0} --arch {1}', inputs.salt-version, matrix.arch)\n          }}\n\n      - name: Set Artifact Name\n        id: set-artifact-name\n        shell: bash\n        run: |\n          if [ \"${{ inputs.source }}\" != \"src\" ]; then\n            echo \"artifact-name-nsis=salt-${{ inputs.salt-version }}-${{ matrix.arch }}-NSIS\" >> \"$GITHUB_OUTPUT\"\n            echo \"artifact-name-msi=salt-${{ inputs.salt-version }}-${{ matrix.arch }}-MSI\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"artifact-name-nsis=salt-${{ inputs.salt-version }}-${{ matrix.arch }}-NSIS-from-src\" >> \"$GITHUB_OUTPUT\"\n            echo \"artifact-name-msi=salt-${{ inputs.salt-version }}-${{ matrix.arch }}-MSI-from-src\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Upload ${{ matrix.arch }} NSIS Packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ steps.set-artifact-name.outputs.artifact-name-nsis }}\n          path: pkg/windows/build/Salt-*.exe\n          retention-days: 7\n          if-no-files-found: error\n\n      - name: Upload ${{ matrix.arch }} MSI Package\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ steps.set-artifact-name.outputs.artifact-name-msi }}\n          path: pkg/windows/build/Salt-*.msi\n          retention-days: 7\n          if-no-files-found: error\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:52.126073", "created_at": "2023-01-25T18:05:31+01:00", "updated_at": "2024-01-10T06:09:21+01:00", "name": "Build Salt Onedir", "path": ".github/workflows/build-salt-onedir.yml", "contents": "---\nname: Build Salt Onedir\n\non:\n  workflow_call:\n    inputs:\n      salt-version:\n        type: string\n        required: true\n        description: The Salt version to set prior to building packages.\n      github-hosted-runners:\n        type: boolean\n        required: true\n      self-hosted-runners:\n        type: boolean\n        required: true\n      cache-seed:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n      relenv-version:\n        required: true\n        type: string\n        description: The version of relenv to use\n      python-version:\n        required: true\n        type: string\n        description: The version of python to use with relenv\n\nenv:\n  RELENV_DATA: \"${{ github.workspace }}/.relenv\"\n  COLUMNS: 190\n  AWS_MAX_ATTEMPTS: \"10\"\n  AWS_RETRY_MODE: \"adaptive\"\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n\njobs:\n\n  build-salt-linux:\n    name: Linux\n    if: ${{ inputs.self-hosted-runners }}\n    env:\n      USE_S3_CACHE: 'true'\n    strategy:\n      fail-fast: false\n      matrix:\n        arch:\n          - x86_64\n          - arm64\n    runs-on:\n      - self-hosted\n      - linux\n      - ${{ matrix.arch }}\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-seed }}|build-salt-onedir|linux\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ inputs.salt-version }}\"\n\n      - name: Setup Relenv\n        uses: ./.github/actions/setup-relenv\n        id: setup-relenv\n        with:\n          platform: linux\n          arch: ${{ matrix.arch == 'arm64' && 'aarch64' || matrix.arch }}\n          version: ${{ inputs.relenv-version }}\n          cache-seed: ${{ inputs.cache-seed }}\n          python-version: ${{ inputs.python-version }}\n\n      - name: Install Salt into Relenv Onedir\n        uses: ./.github/actions/build-onedir-salt\n        with:\n          platform: linux\n          arch: ${{ matrix.arch }}\n          salt-version: \"${{ inputs.salt-version }}\"\n          python-version: \"${{ inputs.python-version }}\"\n          cache-prefix: ${{ inputs.cache-seed }}|relenv|${{ steps.setup-relenv.outputs.version }}\n\n  build-salt-macos:\n    name: macOS\n    if: ${{ inputs.github-hosted-runners }}\n    strategy:\n      fail-fast: false\n      max-parallel: 2\n      matrix:\n        arch: ${{ github.event.repository.fork && fromJSON('[\"x86_64\"]') || fromJSON('[\"x86_64\", \"arm64\"]') }}\n    runs-on:\n      - ${{ matrix.arch == 'arm64' && 'macos-13-xlarge' || 'macos-12' }}\n\n    steps:\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Relenv\n        id: setup-relenv\n        uses: ./.github/actions/setup-relenv\n        with:\n          platform: macos\n          arch: ${{ matrix.arch }}\n          version: ${{ inputs.relenv-version }}\n          cache-seed: ${{ inputs.cache-seed }}\n          python-version: ${{ inputs.python-version }}\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-seed }}|build-salt-onedir|macos\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ inputs.salt-version }}\"\n\n      - name: Install Salt into Relenv Onedir\n        uses: ./.github/actions/build-onedir-salt\n        with:\n          platform: macos\n          arch: ${{ matrix.arch }}\n          salt-version: \"${{ inputs.salt-version }}\"\n          python-version: \"${{ inputs.python-version }}\"\n          cache-prefix: ${{ inputs.cache-seed }}|relenv|${{ steps.setup-relenv.outputs.version }}\n\n  build-salt-windows:\n    name: Windows\n    if: ${{ inputs.github-hosted-runners }}\n    strategy:\n      fail-fast: false\n      max-parallel: 2\n      matrix:\n        arch:\n          - x86\n          - amd64\n    runs-on: windows-latest\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Relenv\n        id: setup-relenv\n        uses: ./.github/actions/setup-relenv\n        with:\n          platform: windows\n          arch: ${{ matrix.arch }}\n          version: ${{ inputs.relenv-version }}\n          cache-seed: ${{ inputs.cache-seed }}\n          python-version: ${{ inputs.python-version }}\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-seed }}|build-salt-onedir|windows\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ inputs.salt-version }}\"\n\n      - name: Install Salt into Relenv Onedir\n        uses: ./.github/actions/build-onedir-salt\n        with:\n          platform: windows\n          arch: ${{ matrix.arch }}\n          salt-version: \"${{ inputs.salt-version }}\"\n          python-version: \"${{ inputs.python-version }}\"\n          cache-prefix: ${{ inputs.cache-seed }}|relenv|${{ steps.setup-relenv.outputs.version }}\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:53.284797", "created_at": "2023-02-01T16:42:20+01:00", "updated_at": "2023-09-06T07:07:42+02:00", "name": "Stage Release", "path": ".github/workflows/staging.yml", "contents": "# Do not edit these workflows directly as the changes made will be overwritten.\n# Instead, edit the template '.github/workflows/templates/staging.yml.jinja'\n---\n\nname: Stage Release\nrun-name: \"Stage Release (branch: ${{ github.ref_name }}; version: ${{ inputs.salt-version }})\"\n\non:\n  workflow_dispatch:\n    inputs:\n      salt-version:\n        type: string\n        required: true\n        description: >\n          The Salt version to set prior to building packages and staging the release.\n          (DO NOT prefix the version with a v, ie, 3006.0 NOT v3006.0).\n      sign-windows-packages:\n        type: boolean\n        default: false\n        description: Sign Windows Packages\n      skip-test-pypi-publish:\n        type: boolean\n        default: false\n        description: Skip publishing the source package to Test PyPi(For example, CVE releases)\n      skip-salt-test-suite:\n        type: boolean\n        default: false\n        description: Skip running the Salt test suite.\n      skip-salt-pkg-test-suite:\n        type: boolean\n        default: false\n        description: Skip running the Salt packages test suite.\n      skip-salt-pkg-download-test-suite:\n        type: boolean\n        default: false\n        description: Skip running the Salt packages download test suite.\n\nenv:\n  COLUMNS: 190\n  CACHE_SEED: SEED-2  # Bump the number to invalidate all caches\n  RELENV_DATA: \"${{ github.workspace }}/.relenv\"\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n\npermissions:\n  contents: read  # for dorny/paths-filter to fetch a list of changed files\n  pull-requests: read  # for dorny/paths-filter to read pull requests\n  actions: read  # for technote-space/workflow-conclusion-action to get the job statuses\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.repository }}\n  cancel-in-progress: false\n\njobs:\n\n  check-requirements:\n    name: Check Requirements\n    runs-on: ubuntu-latest\n    environment: staging-check\n    steps:\n      - name: Check For Admin Permission\n        uses: actions-cool/check-user-permission@v2\n        with:\n          require: admin\n          username: ${{ github.triggering_actor }}\n\n  prepare-workflow:\n    name: Prepare Workflow Run\n    runs-on: ubuntu-latest\n    needs:\n      - check-requirements\n    outputs:\n      jobs: ${{ steps.define-jobs.outputs.jobs }}\n      runners: ${{ steps.runner-types.outputs.runners }}\n      changed-files: ${{ steps.process-changed-files.outputs.changed-files }}\n      os-labels: ${{ steps.get-pull-labels.outputs.os-labels }}\n      pull-labels: ${{ steps.get-pull-labels.outputs.test-labels }}\n      testrun: ${{ steps.define-testrun.outputs.testrun }}\n      salt-version: ${{ steps.setup-salt-version.outputs.salt-version }}\n      cache-seed: ${{ steps.set-cache-seed.outputs.cache-seed }}\n      latest-release: ${{ steps.get-salt-releases.outputs.latest-release }}\n      releases: ${{ steps.get-salt-releases.outputs.releases }}\n      release-changelog-target: ${{ steps.get-release-changelog-target.outputs.release-changelog-target }}\n      testing-releases: ${{ steps.get-testing-releases.outputs.testing-releases }}\n      nox-archive-hash: ${{ steps.nox-archive-hash.outputs.nox-archive-hash }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0  # Full clone to also get the tags to get the right salt version\n\n      - name: Get Changed Files\n        if: ${{ github.event_name == 'pull_request'}}\n        id: changed-files\n        uses: dorny/paths-filter@v3\n        with:\n          token: ${{ github.token }}\n          list-files: json\n          filters: |\n            repo:\n              - added|modified:\n                - '**'\n            doc-requirements:\n              - added|modified: &doc_requirements\n                - requirements/static/ci/py3.*/docs.txt\n            lint-requirements:\n              - added|modified: &lint_requirements\n                - requirements/static/ci/py3.*/lint.txt\n            pkg_requirements:\n              - added|modified: &pkg_requirements\n                - requirements/static/pkg/py3.*/darwin.txt\n                - requirements/static/pkg/py3.*/linux.txt\n                - requirements/static/pkg/py3.*/freebsd.txt\n                - requirements/static/pkg/py3.*/windows.txt\n            test_requirements:\n              - added|modified: &test_requirements\n                - requirements/static/ci/py3.*/darwin.txt\n                - requirements/static/ci/py3.*/linux.txt\n                - requirements/static/ci/py3.*/freebsd.txt\n                - requirements/static/ci/py3.*/windows.txt\n                - requirements/static/ci/py3.*/darwin-crypto.txt\n                - requirements/static/ci/py3.*/linux-crypto.txt\n                - requirements/static/ci/py3.*/freebsd-crypto.txt\n                - requirements/static/ci/py3.*/windows-crypto.txt\n            deleted:\n              - deleted:\n                - '**'\n            docs:\n              - added|modified:\n                - doc/**\n                - .github/workflows/build-docs.yml\n                - *doc_requirements\n            workflows:\n              - added|modified:\n                - cicd/shared-gh-workflows-context.yml\n                - .github/actions/**/action.yml\n                - .github/workflows/*.yml\n                - .github/workflows/templates/*.yml.jinja2\n                - tools/precommit/workflows.py\n            salt:\n              - added|modified: &salt_added_modified\n                - setup.py\n                - noxfile.py\n                - salt/**/*.py\n                - tasks/**/*.py\n                - tools/**/*.py\n            tests:\n              - added|modified: &tests_added_modified\n                - tests/**/*.py\n            lint:\n              - added|modified:\n                - .pylintrc\n                - *lint_requirements\n            golden_images:\n              - added|modified:\n                - cicd/golden-images.json\n            pkg_tests:\n              - added|modified: &pkg_tests_added_modified\n                - pkg/**\n                - *pkg_requirements\n                - *salt_added_modified\n            testrun:\n              - added|modified:\n                - *pkg_requirements\n                - *test_requirements\n                - *salt_added_modified\n                - *tests_added_modified\n                - *pkg_tests_added_modified\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ env.CACHE_SEED }}\n\n      - name: Pretty Print The GH Actions Event\n        run:\n          tools ci print-gh-event\n\n      - name: Set Cache Seed Output\n        id: set-cache-seed\n        run: |\n          tools ci define-cache-seed ${{ env.CACHE_SEED }}\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ inputs.salt-version }}\"\n          validate-version: true\n\n      - name: Get Pull Request Test Labels\n        id: get-pull-labels\n        if: ${{ github.event_name == 'pull_request'}}\n        env:\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-pr-test-labels --repository ${{ github.repository }}\n\n      - name: Get Hash For Nox Tarball Cache\n        id: nox-archive-hash\n        run: |\n          echo \"nox-archive-hash=${{ hashFiles('requirements/**/*.txt', 'cicd/golden-images.json', 'noxfile.py', 'pkg/common/env-cleanup-rules.yml', '.github/workflows/build-deps-ci-action.yml') }}\" | tee -a \"$GITHUB_OUTPUT\"\n\n      - name: Check Existing Releases\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools pkg repo confirm-unreleased --repository ${{ github.repository }} ${{ steps.setup-salt-version.outputs.salt-version }}\n          if [ \"${{ github.event.repository.private }}\" = \"true\" ]; then\n            tools pkg repo confirm-unreleased --repository saltstack/salt ${{ steps.setup-salt-version.outputs.salt-version }}\n          fi\n\n      - name: Write Changed Files To A Local File\n        run:\n          echo '${{ toJSON(steps.changed-files.outputs) }}' > changed-files.json\n\n      - name: Check Local Changed Files Contents\n        if: ${{ github.event_name == 'pull_request' }}\n        run:\n          cat changed-files.json\n\n      - name: Process Changed Files\n        id: process-changed-files\n        run: |\n          tools ci process-changed-files ${{ github.event_name }} changed-files.json\n\n      - name: Check Collected Changed Files\n        if: ${{ github.event_name == 'pull_request' }}\n        run: |\n          echo '${{ steps.process-changed-files.outputs.changed-files }}' | jq -C '.'\n\n      - name: Define Runner Types\n        id: runner-types\n        run: |\n          tools ci runner-types ${{ github.event_name }}\n\n      - name: Define Jobs To Run\n        id: define-jobs\n        run: |\n          tools ci define-jobs${{ inputs.skip-salt-test-suite && ' --skip-tests' || '' }}${{ inputs.skip-salt-pkg-test-suite && ' --skip-pkg-tests' || '' }}${{ inputs.skip-salt-pkg-download-test-suite && ' --skip-pkg-download-tests' || '' }} ${{ github.event_name }} changed-files.json\n\n      - name: Get Salt Releases\n        id: get-salt-releases\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-releases\n\n      - name: Get Latest Salt Releases for Testing\n        id: get-testing-releases\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-testing-releases ${{ join(fromJSON(steps.get-salt-releases.outputs.releases), ' ') }} --salt-version ${{ steps.setup-salt-version.outputs.salt-version }}\n\n      - name: Define Testrun\n        id: define-testrun\n        run: |\n          tools ci define-testrun ${{ github.event_name }} changed-files.json\n\n      - name: Check Contents of generated testrun-changed-files.txt\n        if: ${{ fromJSON(steps.define-testrun.outputs.testrun)['type'] != 'full' }}\n        run: |\n          cat testrun-changed-files.txt || true\n\n      - name: Upload testrun-changed-files.txt\n        if: ${{ fromJSON(steps.define-testrun.outputs.testrun)['type'] != 'full' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-changed-files.txt\n          path: testrun-changed-files.txt\n\n      - name: Get Release Changelog Target\n        id: get-release-changelog-target\n        run: |\n          tools ci get-release-changelog-target ${{ github.event_name }}\n\n\n  pre-commit:\n    name: Pre-Commit\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    uses: ./.github/workflows/pre-commit-action.yml\n    needs:\n      - prepare-workflow\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      changed-files: ${{ needs.prepare-workflow.outputs.changed-files }}\n      pre-commit-version: \"3.0.4\"\n\n  lint:\n    name: Lint\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['lint'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    uses: ./.github/workflows/lint-action.yml\n    needs:\n      - prepare-workflow\n    with:\n      changed-files: ${{ needs.prepare-workflow.outputs.changed-files }}\n\n  prepare-release:\n    name: \"Prepare Release: ${{ needs.prepare-workflow.outputs.salt-version }}\"\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['prepare-release'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    runs-on:\n      - self-hosted\n      - linux\n      - medium\n      - x86_64\n    needs:\n      - prepare-workflow\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-changelog\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n          release: true\n\n      - name: Update Debian changelog\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools changelog update-deb --draft\n          tools changelog update-deb\n\n      - name: Update RPM changelog\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools changelog update-rpm --draft\n          tools changelog update-rpm\n\n      - name: Create Release Notes Template\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          if [ \"${{ needs.prepare-workflow.outputs.release-changelog-target }}\" == \"next-major-release\" ]; then\n            tools changelog update-release-notes --next-release --template-only\n          else\n            tools changelog update-release-notes --template-only\n          fi\n\n      - name: Update Release Notes\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          if [ \"${{ needs.prepare-workflow.outputs.release-changelog-target }}\" == \"next-major-release\" ]; then\n              tools changelog update-release-notes --draft --release --next-release\n              tools changelog update-release-notes --release --next-release\n          else\n              tools changelog update-release-notes --draft --release\n              tools changelog update-release-notes --release\n          fi\n\n      - name: Generate MAN Pages\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        env:\n          LATEST_RELEASE: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n          SALT_ON_SALTSTACK: \"1\"\n        run: |\n          tools docs man\n\n      - name: Update Changelog\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools changelog update-changelog-md --draft\n          tools changelog update-changelog-md\n\n      - name: Show Changes Diff\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          git diff --color\n\n      - name: Configure Git\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          git config --global user.name \"Salt Project Packaging\"\n          git config --global user.email saltproject-packaging@vmware.com\n\n      - name: Setup Pre-Commit\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        uses: ./.github/actions/setup-pre-commit\n        with:\n          version: \"3.0.4\"\n          cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Commit Changes\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        env:\n          SKIP: lint-salt,lint-tests\n          PRE_COMMIT_COLOR: always\n        run: |\n          # Run it twice so that pre-commit can fix anything that can be automatically fixed.\n          git commit -am \"Release v${{ needs.prepare-workflow.outputs.salt-version }}\" || \\\n            git commit -am \"Release v${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n      - name: Create release changes patch\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          git format-patch --keep-subject --binary --stdout HEAD^ > salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n\n      - name: Upload Changes Diff Artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n          path: salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n          retention-days: 7\n          if-no-files-found: error\n\n  build-docs:\n    name: Documentation\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-docs'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-source-tarball\n    uses: ./.github/workflows/build-docs.yml\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n  build-source-tarball:\n    name: Build Source Tarball\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-source-tarball'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - prepare-release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-build\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n      - name: Build Source Tarball\n        uses: ./.github/actions/build-source-tarball\n        with:\n          salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n  build-deps-onedir:\n    name: Build Dependencies Onedir\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-deps-onedir'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n    uses: ./.github/workflows/build-deps-onedir.yml\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      self-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n      github-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n\n  build-salt-onedir:\n    name: Build Salt Onedir\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-salt-onedir'] }}\n    needs:\n      - prepare-workflow\n      - build-deps-onedir\n      - build-source-tarball\n    uses: ./.github/workflows/build-salt-onedir.yml\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      self-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n      github-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n\n  build-pkgs-onedir:\n    name: Build Packages\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-pkgs'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    uses: ./.github/workflows/build-packages.yml\n    with:\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n      source: \"onedir\"\n      environment: staging\n      sign-macos-packages: true\n      sign-windows-packages: ${{ inputs.sign-windows-packages }}\n    secrets: inherit\n\n  build-pkgs-src:\n    name: Build Packages\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-pkgs'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    uses: ./.github/workflows/build-packages.yml\n    with:\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n      source: \"src\"\n      environment: staging\n      sign-macos-packages: true\n      sign-windows-packages: ${{ inputs.sign-windows-packages }}\n    secrets: inherit\n  build-ci-deps:\n    name: CI Deps\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-deps-ci'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    uses: ./.github/workflows/build-deps-ci-action.yml\n    with:\n      nox-session: ci-test-onedir\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      nox-archive-hash: \"${{ needs.prepare-workflow.outputs.nox-archive-hash }}\"\n\n  rockylinux-8-pkg-tests:\n    name: Rocky Linux 8 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-8\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  rockylinux-8-arm64-pkg-tests:\n    name: Rocky Linux 8 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-8-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  rockylinux-9-pkg-tests:\n    name: Rocky Linux 9 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-9\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  rockylinux-9-arm64-pkg-tests:\n    name: Rocky Linux 9 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-9-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2-pkg-tests:\n    name: Amazon Linux 2 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2-arm64-pkg-tests:\n    name: Amazon Linux 2 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2023-pkg-tests:\n    name: Amazon Linux 2023 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2023-arm64-pkg-tests:\n    name: Amazon Linux 2023 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  centos-7-pkg-tests:\n    name: CentOS 7 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: centos-7\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-11-pkg-tests:\n    name: Debian 11 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-11\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-11-arm64-pkg-tests:\n    name: Debian 11 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-11-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-12-pkg-tests:\n    name: Debian 12 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-12\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-12-arm64-pkg-tests:\n    name: Debian 12 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-12-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-4-pkg-tests:\n    name: Photon OS 4 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-4-arm64-pkg-tests:\n    name: Photon OS 4 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-4-pkg-tests-fips:\n    name: Photon OS 4 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  photonos-4-arm64-pkg-tests-fips:\n    name: Photon OS 4 Arm64 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  photonos-5-pkg-tests:\n    name: Photon OS 5 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-5-arm64-pkg-tests:\n    name: Photon OS 5 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-5-pkg-tests-fips:\n    name: Photon OS 5 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  photonos-5-arm64-pkg-tests-fips:\n    name: Photon OS 5 Arm64 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  ubuntu-2004-pkg-tests:\n    name: Ubuntu 20.04 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2004-arm64-pkg-tests:\n    name: Ubuntu 20.04 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2204-pkg-tests:\n    name: Ubuntu 22.04 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2204-arm64-pkg-tests:\n    name: Ubuntu 22.04 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2404-pkg-tests:\n    name: Ubuntu 24.04 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2404-arm64-pkg-tests:\n    name: Ubuntu 24.04 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  macos-12-pkg-tests:\n    name: macOS 12 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-macos.yml\n    with:\n      distro-slug: macos-12\n      runner: macos-12\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: macos\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  macos-13-pkg-tests:\n    name: macOS 13 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-macos.yml\n    with:\n      distro-slug: macos-13\n      runner: macos-13\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: macos\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  macos-13-arm64-pkg-tests:\n    name: macOS 13 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-macos.yml\n    with:\n      distro-slug: macos-13-arm64\n      runner: macos-13-xlarge\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: macos\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2016-nsis-pkg-tests:\n    name: Windows 2016 NSIS Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2016\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: NSIS\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2016-msi-pkg-tests:\n    name: Windows 2016 MSI Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2016\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: MSI\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2019-nsis-pkg-tests:\n    name: Windows 2019 NSIS Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2019\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: NSIS\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2019-msi-pkg-tests:\n    name: Windows 2019 MSI Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2019\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: MSI\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2022-nsis-pkg-tests:\n    name: Windows 2022 NSIS Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2022\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: NSIS\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2022-msi-pkg-tests:\n    name: Windows 2022 MSI Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2022\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: MSI\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2016:\n    name: Windows 2016 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-windows.yml\n    with:\n      distro-slug: windows-2016\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 210 || 360 }}\n\n  windows-2019:\n    name: Windows 2019 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-windows.yml\n    with:\n      distro-slug: windows-2019\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 210 || 360 }}\n\n  windows-2022:\n    name: Windows 2022 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-windows.yml\n    with:\n      distro-slug: windows-2022\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 210 || 360 }}\n\n  macos-12:\n    name: macOS 12 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-macos.yml\n    with:\n      distro-slug: macos-12\n      runner: macos-12\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  macos-13:\n    name: macOS 13 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-macos.yml\n    with:\n      distro-slug: macos-13\n      runner: macos-13\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  macos-13-arm64:\n    name: macOS 13 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-macos.yml\n    with:\n      distro-slug: macos-13-arm64\n      runner: macos-13-xlarge\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-8:\n    name: Rocky Linux 8 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-8\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-8-arm64:\n    name: Rocky Linux 8 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-8-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-9:\n    name: Rocky Linux 9 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-9\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-9-arm64:\n    name: Rocky Linux 9 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-9-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2:\n    name: Amazon Linux 2 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2-arm64:\n    name: Amazon Linux 2 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2023:\n    name: Amazon Linux 2023 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2023-arm64:\n    name: Amazon Linux 2023 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  archlinux-lts:\n    name: Arch Linux LTS Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: archlinux-lts\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  centos-7:\n    name: CentOS 7 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: centos-7\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-11:\n    name: Debian 11 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-11\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-11-arm64:\n    name: Debian 11 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-11-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-12:\n    name: Debian 12 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-12\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-12-arm64:\n    name: Debian 12 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-12-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  fedora-40:\n    name: Fedora 40 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: fedora-40\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  opensuse-15:\n    name: Opensuse 15 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: opensuse-15\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-4:\n    name: Photon OS 4 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-4-arm64:\n    name: Photon OS 4 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-4-fips:\n    name: Photon OS 4 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  photonos-4-arm64-fips:\n    name: Photon OS 4 Arm64 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  photonos-5:\n    name: Photon OS 5 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-5-arm64:\n    name: Photon OS 5 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-5-fips:\n    name: Photon OS 5 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  photonos-5-arm64-fips:\n    name: Photon OS 5 Arm64 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  ubuntu-2004:\n    name: Ubuntu 20.04 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2004-arm64:\n    name: Ubuntu 20.04 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2204:\n    name: Ubuntu 22.04 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2204-arm64:\n    name: Ubuntu 22.04 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2404:\n    name: Ubuntu 24.04 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2404-arm64:\n    name: Ubuntu 24.04 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: true\n      workflow-slug: staging\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  build-src-repo:\n    name: Build Repository\n    environment: staging\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-staging\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - build-source-tarball\n      - build-pkgs-src\n    strategy:\n      fail-fast: false\n      matrix:\n        pkg-type:\n          - src\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download Source Tarball\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}.tar.gz\n          path: artifacts/pkgs/incoming\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Create Repository Path\n        run: |\n          mkdir -p artifacts/pkgs/repo\n\n      - name: Create Repository\n        run: |\n          tools pkg repo create src --key-id=64CBBC8173D76B3F  \\\n            --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} \\\n            --incoming=artifacts/pkgs/incoming --repo-path=artifacts/pkgs/repo\n\n      - name: Copy Files For Source Only Artifact Uploads\n        run: |\n          mkdir artifacts/src\n          find artifacts/pkgs/repo -type f -print -exec cp {} artifacts/src \\;\n\n      - name: Upload Standalone Repository As An Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-staging-src-repo\n          path: |\n            artifacts/src/salt-${{ needs.prepare-workflow.outputs.salt-version }}.tar.gz\n            artifacts/src/salt-${{ needs.prepare-workflow.outputs.salt-version }}.tar.gz.*\n            artifacts/src/*-GPG-*\n          retention-days: 7\n          if-no-files-found: error\n\n      - name: Upload Repository As An Artifact\n        uses: ./.github/actions/upload-artifact\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-staging-repo-src\n          path: artifacts/pkgs/repo/*\n          retention-days: 7\n          if-no-files-found: error\n          archive-name: src-repo\n\n  build-deb-repo:\n    name: Build Repository\n    environment: staging\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-staging\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - pkg-type: deb\n            distro: debian\n            version: \"11\"\n            arch: x86_64\n          - pkg-type: deb\n            distro: debian\n            version: \"11\"\n            arch: arm64\n          - pkg-type: deb\n            distro: debian\n            version: \"12\"\n            arch: x86_64\n          - pkg-type: deb\n            distro: debian\n            version: \"12\"\n            arch: arm64\n          - pkg-type: deb\n            distro: ubuntu\n            version: \"20.04\"\n            arch: x86_64\n          - pkg-type: deb\n            distro: ubuntu\n            version: \"20.04\"\n            arch: arm64\n          - pkg-type: deb\n            distro: ubuntu\n            version: \"22.04\"\n            arch: x86_64\n          - pkg-type: deb\n            distro: ubuntu\n            version: \"22.04\"\n            arch: arm64\n          - pkg-type: deb\n            distro: ubuntu\n            version: \"24.04\"\n            arch: x86_64\n          - pkg-type: deb\n            distro: ubuntu\n            version: \"24.04\"\n            arch: arm64\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download System Dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y devscripts apt-utils\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download DEB Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-${{ matrix.arch }}-deb\n          path: artifacts/pkgs/incoming\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Create Repository Path\n        run: |\n          mkdir -p artifacts/pkgs/repo\n\n      - name: Create Repository\n        run: |\n          tools pkg repo create deb --key-id=64CBBC8173D76B3F --distro-arch=${{ matrix.arch }}  \\\n            --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} \\\n            --distro=${{ matrix.distro }} --distro-version=${{ matrix.version }} \\\n            --incoming=artifacts/pkgs/incoming --repo-path=artifacts/pkgs/repo\n\n      - name: Upload Repository As An Artifact\n        uses: ./.github/actions/upload-artifact\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-staging-repo-${{ matrix.pkg-type }}-${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}\n          path: artifacts/pkgs/repo/*\n          retention-days: 7\n          if-no-files-found: error\n          archive-name: ${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}-repo\n\n  build-rpm-repo:\n    name: Build Repository\n    environment: staging\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-staging\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - pkg-type: rpm\n            distro: amazon\n            version: \"2\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: amazon\n            version: \"2\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: amazon\n            version: \"2\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: amazon\n            version: \"2023\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: amazon\n            version: \"2023\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: amazon\n            version: \"2023\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: fedora\n            version: \"40\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: fedora\n            version: \"40\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: fedora\n            version: \"40\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: photon\n            version: \"4\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: photon\n            version: \"4\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: photon\n            version: \"4\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: photon\n            version: \"5\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: photon\n            version: \"5\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: photon\n            version: \"5\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"7\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"7\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"7\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"8\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"8\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"8\"\n            arch: aarch64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"9\"\n            arch: x86_64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"9\"\n            arch: arm64\n          - pkg-type: rpm\n            distro: redhat\n            version: \"9\"\n            arch: aarch64\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download System Dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y rpm\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download RPM Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-${{ matrix.arch == 'aarch64' && 'arm64' || matrix.arch }}-rpm\n          path: artifacts/pkgs/incoming\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Create Repository Path\n        run: |\n          mkdir -p artifacts/pkgs/repo\n\n      - name: Create Repository\n        env:\n          SALT_REPO_USER: ${{ secrets.SALT_REPO_USER }}\n          SALT_REPO_PASS: ${{ secrets.SALT_REPO_PASS }}\n          SALT_REPO_DOMAIN_RELEASE: ${{ vars.SALT_REPO_DOMAIN_RELEASE || 'repo.saltproject.io' }}\n          SALT_REPO_DOMAIN_STAGING: ${{ vars.SALT_REPO_DOMAIN_STAGING || 'staging.repo.saltproject.io' }}\n        run: |\n          tools pkg repo create rpm --key-id=64CBBC8173D76B3F --distro-arch=${{ matrix.arch }}  \\\n            --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} \\\n            --distro=${{ matrix.distro }} --distro-version=${{ matrix.version }} \\\n            --incoming=artifacts/pkgs/incoming --repo-path=artifacts/pkgs/repo\n\n      - name: Upload Repository As An Artifact\n        uses: ./.github/actions/upload-artifact\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-staging-repo-${{ matrix.pkg-type }}-${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}\n          path: artifacts/pkgs/repo/*\n          retention-days: 7\n          if-no-files-found: error\n          archive-name: ${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}-repo\n\n  build-windows-repo:\n    name: Build Repository\n    environment: staging\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-staging\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n    strategy:\n      fail-fast: false\n      matrix:\n        pkg-type:\n          - windows\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download Windows NSIS x86 Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-x86-NSIS\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows MSI x86 Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-x86-MSI\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows NSIS amd64 Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-amd64-NSIS\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows MSI amd64 Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-amd64-MSI\n          path: artifacts/pkgs/incoming\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Create Repository Path\n        run: |\n          mkdir -p artifacts/pkgs/repo\n\n      - name: Create Repository\n        run: |\n          tools pkg repo create windows --key-id=64CBBC8173D76B3F  \\\n            --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} \\\n            --incoming=artifacts/pkgs/incoming --repo-path=artifacts/pkgs/repo\n\n      - name: Upload Repository As An Artifact\n        uses: ./.github/actions/upload-artifact\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-staging-repo-windows\n          path: artifacts/pkgs/repo/*\n          retention-days: 7\n          if-no-files-found: error\n          archive-name: windows-repo\n\n  build-macos-repo:\n    name: Build Repository\n    environment: staging\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-staging\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n    strategy:\n      fail-fast: false\n      matrix:\n        pkg-type:\n          - macos\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download macOS x86_64 Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-x86_64-macos\n          path: artifacts/pkgs/incoming\n\n      - name: Download macOS Arch64 Packages\n        if: ${{ ! github.event.repository.fork }}\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-arm64-macos\n          path: artifacts/pkgs/incoming\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Create Repository Path\n        run: |\n          mkdir -p artifacts/pkgs/repo\n\n      - name: Create Repository\n        run: |\n          tools pkg repo create macos --key-id=64CBBC8173D76B3F  \\\n            --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} \\\n            --incoming=artifacts/pkgs/incoming --repo-path=artifacts/pkgs/repo\n\n      - name: Upload Repository As An Artifact\n        uses: ./.github/actions/upload-artifact\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-staging-repo-macos\n          path: artifacts/pkgs/repo/*\n          retention-days: 7\n          if-no-files-found: error\n          archive-name: macos-repo\n\n  build-onedir-repo:\n    name: Build Repository\n    environment: staging\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-staging\n    env:\n      USE_S3_CACHE: 'true'\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    strategy:\n      fail-fast: false\n      matrix:\n        pkg-type:\n          - onedir\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Download Linux x86_64 Onedir Archive\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-linux-x86_64.tar.xz\n          path: artifacts/pkgs/incoming\n\n      - name: Download Linux arm64 Onedir Archive\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-linux-arm64.tar.xz\n          path: artifacts/pkgs/incoming\n\n      - name: Download macOS x86_64 Onedir Archive\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-macos-x86_64.tar.xz\n          path: artifacts/pkgs/incoming\n\n      - name: Download macOS arm64 Onedir Archive\n        if: ${{ ! github.event.repository.fork }}\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-macos-arm64.tar.xz\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows amd64 Onedir Archive\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-windows-amd64.tar.xz\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows amd64 Onedir Archive(zip)\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-windows-amd64.zip\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows x86 Onedir Archive\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-windows-x86.tar.xz\n          path: artifacts/pkgs/incoming\n\n      - name: Download Windows amd64 Onedir Archive(zip)\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-onedir-windows-x86.zip\n          path: artifacts/pkgs/incoming\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text | jq .default_key -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -d - \\\n            | gpg --import -\n          sync\n          aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/signing/repo-signing-keys-sha256-2023 \\\n            --query SecretString --output text| jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"${SECRETS_KEY_FILE}\" -o \"${GNUPGHOME}/passphrase\" -d -\n          sync\n          rm \"$SECRETS_KEY_FILE\"\n          echo \"passphrase-file ${GNUPGHOME}/passphrase\" >> \"${GNUPGHOME}/gpg.conf\"\n\n      - name: Create Repository Path\n        run: |\n          mkdir -p artifacts/pkgs/repo\n\n      - name: Create Repository\n        run: |\n          tools pkg repo create onedir --key-id=64CBBC8173D76B3F  \\\n            --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} \\\n            --incoming=artifacts/pkgs/incoming --repo-path=artifacts/pkgs/repo\n\n      - name: Upload Repository As An Artifact\n        uses: ./.github/actions/upload-artifact\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-staging-repo-onedir\n          path: artifacts/pkgs/repo/*\n          retention-days: 7\n          if-no-files-found: error\n          archive-name: onedir-repo\n\n  publish-repositories:\n    name: Publish Repositories\n    if: ${{ always() && ! failure() && ! cancelled() }}\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-staging\n    environment: staging\n    needs:\n      - prepare-workflow\n      - build-docs\n      - build-src-repo\n      - build-deb-repo\n      - build-rpm-repo\n      - build-windows-repo\n      - build-macos-repo\n      - build-onedir-repo\n\n    steps:\n\n      - uses: actions/checkout@v4\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Download Repository Artifact\n        uses: actions/download-artifact@v4\n        with:\n          pattern: salt-${{ needs.prepare-workflow.outputs.salt-version }}-staging-repo-*\n          merge-multiple: true\n          path: repo/\n\n      - name: Decompress Repository Artifacts\n        run: |\n          find repo/ -type f -name '*.tar.gz' -print -exec tar xvf {} \\;\n          find repo/ -type f -name '*.tar.gz' -print -exec rm -f {} \\;\n\n      - name: Show Repository\n        run: |\n          tree -a artifacts/pkgs/repo/\n\n      - name: Upload Repository Contents (staging)\n        env:\n          SALT_REPO_DOMAIN_RELEASE: ${{ vars.SALT_REPO_DOMAIN_RELEASE || 'repo.saltproject.io' }}\n          SALT_REPO_DOMAIN_STAGING: ${{ vars.SALT_REPO_DOMAIN_STAGING || 'staging.repo.saltproject.io' }}\n        run: |\n          tools pkg repo publish staging --salt-version=${{ needs.prepare-workflow.outputs.salt-version }} artifacts/pkgs/repo/\n\n  upload-release-artifacts:\n    name: Upload Release Artifacts\n    needs:\n      - prepare-workflow\n      - build-docs\n      - build-src-repo\n    environment: staging\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-staging\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Download Release Patch\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n          path: artifacts/release\n\n      - name: Download Source Repository\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-staging-src-repo\n          path: artifacts/release\n\n      - name: Download Release Documentation (HTML)\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-docs-html.tar.xz\n          path: artifacts/release\n\n      - name: Download Release Documentation (ePub)\n        uses: actions/download-artifact@v4\n        with:\n          name: Salt-${{ needs.prepare-workflow.outputs.salt-version }}.epub\n          path: artifacts/release\n\n      - name: Show Release Artifacts\n        run: |\n          tree -a artifacts/release\n\n      - name: Upload Release Artifacts\n        run: |\n          tools release upload-artifacts ${{ needs.prepare-workflow.outputs.salt-version }} artifacts/release\n\n      - name: Upload PyPi Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: pypi-artifacts\n          path: |\n            artifacts/release/salt-${{ needs.prepare-workflow.outputs.salt-version }}.tar.gz\n            artifacts/release/salt-${{ needs.prepare-workflow.outputs.salt-version }}.tar.gz.asc\n          retention-days: 7\n          if-no-files-found: error\n\n  pkg-download-tests:\n    name: Package Downloads\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg-download'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - publish-repositories\n      - build-ci-deps\n      - build-salt-onedir\n    uses: ./.github/workflows/test-package-downloads-action.yml\n    with:\n      nox-session: ci-test-onedir\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      environment: staging\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      skip-code-coverage: true\n      latest-release: \"${{ needs.prepare-workflow.outputs.latest-release }}\"\n    secrets: inherit\n\n  publish-pypi:\n    name: Publish to PyPi(test)\n    if: ${{ inputs.skip-test-pypi-publish != true && github.event.repository.fork != true }}\n    needs:\n      - prepare-workflow\n      - upload-release-artifacts\n      - build-ci-deps\n      - windows-2016\n      - windows-2019\n      - windows-2022\n      - macos-12\n      - macos-13\n      - macos-13-arm64\n      - rockylinux-8\n      - rockylinux-8-arm64\n      - rockylinux-9\n      - rockylinux-9-arm64\n      - amazonlinux-2\n      - amazonlinux-2-arm64\n      - amazonlinux-2023\n      - amazonlinux-2023-arm64\n      - archlinux-lts\n      - centos-7\n      - debian-11\n      - debian-11-arm64\n      - debian-12\n      - debian-12-arm64\n      - fedora-40\n      - opensuse-15\n      - photonos-4\n      - photonos-4-arm64\n      - photonos-4-fips\n      - photonos-4-arm64-fips\n      - photonos-5\n      - photonos-5-arm64\n      - photonos-5-fips\n      - photonos-5-arm64-fips\n      - ubuntu-2004\n      - ubuntu-2004-arm64\n      - ubuntu-2204\n      - ubuntu-2204-arm64\n      - ubuntu-2404\n      - ubuntu-2404-arm64\n      - rockylinux-8-pkg-tests\n      - rockylinux-8-arm64-pkg-tests\n      - rockylinux-9-pkg-tests\n      - rockylinux-9-arm64-pkg-tests\n      - amazonlinux-2-pkg-tests\n      - amazonlinux-2-arm64-pkg-tests\n      - amazonlinux-2023-pkg-tests\n      - amazonlinux-2023-arm64-pkg-tests\n      - centos-7-pkg-tests\n      - debian-11-pkg-tests\n      - debian-11-arm64-pkg-tests\n      - debian-12-pkg-tests\n      - debian-12-arm64-pkg-tests\n      - photonos-4-pkg-tests\n      - photonos-4-arm64-pkg-tests\n      - photonos-4-pkg-tests-fips\n      - photonos-4-arm64-pkg-tests-fips\n      - photonos-5-pkg-tests\n      - photonos-5-arm64-pkg-tests\n      - photonos-5-pkg-tests-fips\n      - photonos-5-arm64-pkg-tests-fips\n      - ubuntu-2004-pkg-tests\n      - ubuntu-2004-arm64-pkg-tests\n      - ubuntu-2204-pkg-tests\n      - ubuntu-2204-arm64-pkg-tests\n      - ubuntu-2404-pkg-tests\n      - ubuntu-2404-arm64-pkg-tests\n      - macos-12-pkg-tests\n      - macos-13-pkg-tests\n      - macos-13-arm64-pkg-tests\n      - windows-2016-nsis-pkg-tests\n      - windows-2016-msi-pkg-tests\n      - windows-2019-nsis-pkg-tests\n      - windows-2019-msi-pkg-tests\n      - windows-2022-nsis-pkg-tests\n      - windows-2022-msi-pkg-tests\n      - pkg-download-tests\n    environment: staging\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-staging\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Setup GnuPG\n        run: |\n          sudo install -d -m 0700 -o \"$(id -u)\" -g \"$(id -g)\" /run/gpg\n          GNUPGHOME=\"$(mktemp -d -p /run/gpg)\"\n          echo \"GNUPGHOME=${GNUPGHOME}\" >> \"$GITHUB_ENV\"\n          cat <<EOF > \"${GNUPGHOME}/gpg.conf\"\n          batch\n          no-tty\n          pinentry-mode loopback\n          EOF\n\n      - name: Get Secrets\n        id: get-secrets\n        env:\n          SECRETS_KEY: ${{ secrets.SECRETS_KEY }}\n        run: |\n          SECRETS_KEY_FILE=$(mktemp /tmp/output.XXXXXXXXXX)\n          echo \"$SECRETS_KEY\" > \"$SECRETS_KEY_FILE\"\n          TWINE_PASSWORD=$(aws --region us-west-2 secretsmanager get-secret-value --secret-id /cmbu-saltstack/publishing/publish-test-pypi \\\n            --query SecretString --output text | jq .default_passphrase -r | base64 -d \\\n            | gpg --passphrase-file \"$SECRETS_KEY_FILE\" -d -)\n          echo \"::add-mask::$TWINE_PASSWORD\"\n          echo \"twine-password=$TWINE_PASSWORD\" >> \"${GITHUB_OUTPUT}\"\n\n      - name: Download PyPi Artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: pypi-artifacts\n          path: artifacts/release\n\n      - name: Publish to Test PyPi\n        env:\n          TWINE_PASSWORD: \"${{ steps.get-secrets.outputs.twine-password }}\"\n        run: |\n          tools pkg pypi-upload --test artifacts/release/salt-${{ needs.prepare-workflow.outputs.salt-version }}.tar.gz\n\n  set-pipeline-exit-status:\n    # This step is just so we can make github require this step, to pass checks\n    # on a pull request instead of requiring all\n    name: Set the ${{ github.workflow }} Pipeline Exit Status\n    if: always()\n    runs-on: ubuntu-latest\n    needs:\n      - check-requirements\n      - prepare-workflow\n      - pre-commit\n      - lint\n      - build-docs\n      - build-deps-onedir\n      - build-salt-onedir\n      - build-pkgs-src\n      - publish-repositories\n      - upload-release-artifacts\n      - pkg-download-tests\n      - publish-pypi\n    steps:\n      - name: Get workflow information\n        id: get-workflow-info\n        uses: im-open/workflow-conclusion@v2\n\n      - name: Set Pipeline Exit Status\n        shell: bash\n        run: |\n          if [ \"${{ steps.get-workflow-info.outputs.workflow_conclusion }}\" != \"success\" ]; then\n            exit 1\n          else\n            exit 0\n          fi\n\n      - name: Done\n        if: always()\n        run:\n          echo \"All worflows finished\"\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:54.460963", "created_at": "2023-02-18T18:38:35+01:00", "updated_at": "2023-02-18T18:38:35+01:00", "name": "Build Documentation", "path": ".github/workflows/build-docs.yml", "contents": "---\nname: Build Documentation\n\non:\n  workflow_call:\n    inputs:\n      salt-version:\n        type: string\n        required: true\n        description: The Salt version to set prior to building packages.\n      cache-seed:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n\nenv:\n  COLUMNS: 190\n  AWS_MAX_ATTEMPTS: \"10\"\n  AWS_RETRY_MODE: \"adaptive\"\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n\njobs:\n  build:\n    name: Build\n    runs-on:\n      - ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        docs-output:\n          - linkcheck\n          - spellcheck\n          - html\n          - epub\n          # - pdf\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download Release Patch\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ inputs.salt-version }}.patch\n\n      - name: Get Python Version\n        id: get-python-version\n        uses: ./.github/actions/get-python-version\n        with:\n          python-binary: python3\n\n      - name: Setup Python Tools Scripts\n        id: python-tools-scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-seed }}\n\n      - name: Configure Git\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools pkg configure-git\n\n      - name: Apply release patch\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools pkg apply-release-patch salt-${{ inputs.salt-version }}.patch --delete\n\n      - name: Cache Python Tools Docs Virtualenv\n        id: tools-venvs-dependencies-cache\n        uses: ./.github/actions/cache\n        with:\n          path: .tools-venvs/docs\n          key: ${{ inputs.cache-seed }}|${{ github.workflow }}|${{ github.job }}|tools-venvs|${{ steps.python-tools-scripts.outputs.version }}|docs|${{ steps.get-python-version.outputs.version }}|${{ hashFiles('requirements/**/docs.txt') }}\n\n      - name: Prepare Docs Build\n        run: |\n          git clone https://gitlab.com/saltstack/open/docs/builddocs-fonts.git .builddocs-fonts\n          sudo mkdir -p /usr/share/fonts/truetype /usr/share/fonts/opentype\n          sudo cp -rfv .builddocs-fonts/truetype/*.ttf /usr/share/fonts/truetype/\n          sudo cp -rfv .builddocs-fonts/opentype/*.otf /usr/share/fonts/opentype/\n          sudo fc-cache -f -v\n\n      - name: Build Documentation (${{ matrix.docs-output }})\n        id: build-docs\n        shell: bash\n        continue-on-error: ${{ matrix.docs-output == 'linkcheck' || matrix.docs-output == 'spellcheck' }}\n        env:\n          LATEST_RELEASE: \"${{ inputs.salt-version }}\"\n          SALT_ON_SALTSTACK: \"1\"\n          ARCHIVE_FILENAME: \"${{ format('salt-{0}-docs-{1}.tar.xz', inputs.salt-version, matrix.docs-output) }}\"\n        run: |\n          tools docs ${{ matrix.docs-output }}\n\n      - name: Upload Built Documentation Artifact(${{ matrix.docs-output }})\n        if: ${{ steps.build-docs.outputs.has-artifacts == 'true' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ steps.build-docs.outputs.artifact-name }}\n          path: ${{ steps.build-docs.outputs.artifact-path }}\n          retention-days: 7\n          if-no-files-found: error\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:55.590216", "created_at": "2023-02-28T16:28:14+01:00", "updated_at": "2023-02-28T16:28:14+01:00", "name": "Test Artifact", "path": ".github/workflows/test-packages-action-macos.yml", "contents": "name: Test Artifact\n\non:\n  workflow_call:\n    inputs:\n      distro-slug:\n        required: true\n        type: string\n        description: The OS slug to run tests against\n      runner:\n        required: true\n        type: string\n        description: The GitHub runner name\n      platform:\n        required: true\n        type: string\n        description: The platform being tested\n      arch:\n        required: true\n        type: string\n        description: The platform arch being tested\n      pkg-type:\n        required: true\n        type: string\n        description: The platform arch being tested\n      salt-version:\n        type: string\n        required: true\n        description: The Salt version of the packages to install and test\n      cache-prefix:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n      testing-releases:\n        required: true\n        type: string\n        description: A JSON list of releases to test upgrades against\n      nox-version:\n        required: true\n        type: string\n        description: The nox version to install\n      python-version:\n        required: false\n        type: string\n        description: The python version to run tests with\n        default: \"3.10\"\n      package-name:\n        required: false\n        type: string\n        description: The onedir package name to use\n        default: salt\n      nox-session:\n        required: false\n        type: string\n        description: The nox session to run\n        default: ci-test-onedir\n      skip-code-coverage:\n        required: false\n        type: boolean\n        description: Skip code coverage\n        default: false\n\nenv:\n  COLUMNS: 190\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n\njobs:\n\n  generate-matrix:\n    name: Generate Matrix\n    runs-on:\n      # We need to run on our self-hosted runners because we need proper credentials\n      # for boto3 to scan through our repositories.\n      - self-hosted\n      - linux\n      - x86_64\n    outputs:\n      pkg-matrix-include: ${{ steps.generate-pkg-matrix.outputs.matrix }}\n      build-reports: ${{ steps.generate-pkg-matrix.outputs.build-reports }}\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Generate Package Test Matrix\n        id: generate-pkg-matrix\n        run: |\n          tools ci pkg-matrix ${{ inputs.distro-slug }} ${{ inputs.pkg-type }}  --testing-releases ${{ join(fromJSON(inputs.testing-releases), ' ') }}\n\n\n  test:\n    name: Test\n    runs-on: ${{ inputs.runner }}\n    timeout-minutes: 120  # 2 Hours - More than this and something is wrong\n    needs:\n      - generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.generate-matrix.outputs.pkg-matrix-include) }}\n\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: \"Set `TIMESTAMP` environment variable\"\n        shell: bash\n        run: |\n          echo \"TIMESTAMP=$(date +%s)\" | tee -a \"$GITHUB_ENV\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Download Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: salt-${{ inputs.salt-version }}-${{ inputs.arch }}-${{ inputs.pkg-type }}\n          path: artifacts/pkg/\n\n      - name: Install System Dependencies\n        run: |\n          brew install tree\n\n      - name: List Packages\n        run: |\n          tree artifacts/pkg/\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Decompress Onedir Tarball\n        shell: bash\n        run: |\n          python3 -c \"import os; os.makedirs('artifacts', exist_ok=True)\"\n          cd artifacts\n          tar xvf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz\n\n      - name: Set up Python ${{ inputs.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ inputs.python-version }}\"\n\n      - name: Install Nox\n        run: |\n          python3 -m pip install 'nox==${{ inputs.nox-version }}'\n\n      - name: Download nox.macos.${{ inputs.arch }}.tar.* artifact for session ${{ inputs.nox-session }}\n        uses: actions/download-artifact@v4\n        with:\n          name: nox-macos-${{ inputs.arch }}-${{ inputs.nox-session }}\n\n      - name: Decompress .nox Directory\n        run: |\n          nox --force-color -e decompress-dependencies -- macos ${{ inputs.arch }}\n\n      - name: Show System Info\n        env:\n          SKIP_REQUIREMENTS_INSTALL: \"1\"\n          PRINT_SYSTEM_INFO_ONLY: \"1\"\n        run: |\n          sudo -E nox --force-color -e ${{ inputs.nox-session }}-pkgs -- ${{ matrix.tests-chunk }}\n\n      - name: Run Package Tests\n        env:\n          SKIP_REQUIREMENTS_INSTALL: \"1\"\n          PRINT_TEST_SELECTION: \"0\"\n          PRINT_TEST_PLAN_ONLY: \"0\"\n          PRINT_SYSTEM_INFO: \"0\"\n          RERUN_FAILURES: \"1\"\n          GITHUB_ACTIONS_PIPELINE: \"1\"\n          SKIP_INITIAL_GH_ACTIONS_FAILURES: \"1\"\n          COVERAGE_CONTEXT: ${{ inputs.distro-slug }}\n        run: |\n          sudo -E nox --force-color -e ${{ inputs.nox-session }}-pkgs -- ${{ matrix.tests-chunk }} \\\n          ${{ matrix.version && format('--prev-version={0}', matrix.version) || ''}}\n\n      - name: Fix file ownership\n        run: |\n          sudo chown -R \"$(id -un)\" .\n\n      - name: Prepare Test Run Artifacts\n        id: download-artifacts-from-vm\n        if: always()\n        run: |\n          # Delete the salt onedir, we won't need it anymore and it will prevent\n          # from it showing in the tree command below\n          rm -rf artifacts/salt*\n          tree -a artifacts\n\n      - name: Upload Test Run Artifacts\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: pkg-testrun-artifacts-${{ inputs.distro-slug }}-${{ inputs.pkg-type }}-${{ inputs.arch }}-${{ matrix.tests-chunk }}-${{ matrix.version || 'no-version'}}-${{ env.TIMESTAMP }}\n          path: |\n            artifacts\n            !artifacts/pkg/*\n            !artifacts/salt/*\n            !artifacts/salt-*.tar.*\n\n  report:\n    name: Report\n    runs-on: ubuntu-latest\n    if: always() && fromJSON(needs.generate-matrix.outputs.build-reports) && needs.test.result != 'cancelled' && needs.test.result != 'skipped'\n    needs:\n      - generate-matrix\n      - test\n\n    steps:\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Merge Test Run Artifacts\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: pkg-testrun-artifacts-${{ inputs.distro-slug }}-${{ inputs.pkg-type }}\n          pattern: pkg-testrun-artifacts-${{ inputs.distro-slug }}-${{ inputs.pkg-type }}-*\n          separate-directories: true\n          delete-merged: true\n\n      - name: Download Test Run Artifacts\n        id: download-test-run-artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: pkg-testrun-artifacts-${{ inputs.distro-slug }}-${{ inputs.pkg-type }}\n          path: artifacts\n\n      - name: Show Test Run Artifacts\n        if: always() && steps.download-test-run-artifacts.outcome == 'success'\n        run: |\n          tree -a artifacts\n\n      - name: Set up Python ${{ inputs.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ inputs.python-version }}\"\n\n      - name: Install Nox\n        run: |\n          python3 -m pip install 'nox==${{ inputs.nox-version }}'\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:56.625435", "created_at": "2023-04-26T20:25:21+02:00", "updated_at": "2023-04-26T20:25:21+02:00", "name": "Backport PR", "path": ".github/workflows/backport.yml", "contents": "name: Backport PR\nrun-name: \"Backport PR #${{ github.event.number }}\"\n\non:\n  pull_request_target:\n    types:\n      - \"labeled\"\n      - \"closed\"\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  backport:\n    name: Backport PR\n    runs-on:\n      - ubuntu-latest\n    if: |\n      github.event.pull_request.merged == true\n      && (\n        contains(github.event.pull_request.labels.*.name, 'backport:master') ||\n        contains(github.event.pull_request.labels.*.name, 'backport:3006.x') ||\n        contains(github.event.pull_request.labels.*.name, 'backport:3005.x')\n      )\n      && (\n        (github.event.action == 'labeled' && (\n          contains(github.event.pull_request.labels.*.name, 'backport:master') ||\n          contains(github.event.pull_request.labels.*.name, 'backport:3006.x') ||\n          contains(github.event.pull_request.labels.*.name, 'backport:3005.x')\n        ))\n        || (github.event.action == 'closed')\n      )\n    steps:\n      - name: Backport Action\n        uses: sorenlouv/backport-github-action@v8.9.7\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          auto_backport_label_prefix: \"backport:\"\n          add_original_reviewers: true\n\n      - name: Info log\n        if: ${{ success() }}\n        run: jq -C '.' ~/.backport/backport.info.log\n\n      - name: Debug log\n        if: ${{ failure() }}\n        run: jq -C '.' ~/.backport/backport.debug.log\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:57.735397", "created_at": "2023-05-08T18:45:05+02:00", "updated_at": "2023-05-08T18:45:05+02:00", "name": "Update Winrepo", "path": ".github/workflows/release-update-winrepo.yml", "contents": "---\nname: Update Winrepo\n\non:\n  release:\n    types: [released]\n  workflow_dispatch:\n    inputs:\n      salt-version:\n        type: string\n        required: true\n        description: >\n          The Salt version to set prior to building packages and staging the release.\n          (DO NOT prefix the version with a v, ie, 3006.0 NOT v3006.0).\n\npermissions:\n  contents: read\n\njobs:\n  update-winrepo:\n    name: Update Winrepo\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Checkout Salt\n      uses: actions/checkout@v4\n      with:\n        path: salt\n\n    - name: Checkout WinRepo\n      uses: actions/checkout@v4\n      with:\n        path: winrepo\n        repository: saltstack/salt-winrepo-ng\n\n    - name: Set Up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Add Version to Minion Definition File\n      working-directory: salt\n      run: |\n        pwd\n        ls -al ../winrepo/salt-minion.sls\n        python .github/workflows/scripts/update_winrepo.py \\\n          --file ../winrepo/salt-minion.sls \\\n          --version ${{ inputs.salt-version || github.ref_name }}\n        grep ${{ inputs.salt-version || github.ref_name }} ../winrepo/salt-minion.sls\n\n    - name: Commit Changes\n      working-directory: winrepo\n      run: |\n        git status\n        git add .\n        git config user.name 'saltbot-open'\n        git config user.email 'saltbot-open@users.noreply.github.com'\n        git commit -m \"Adding salt minion ${{ inputs.salt-version && format('v{0}', inputs.salt-version) || github.ref_name }}\"\n\n    - name: Create Pull Request\n      id: cpr\n      uses: peter-evans/create-pull-request@v5\n      with:\n        path: winrepo\n        push-to-fork: saltbot-open/salt-winrepo-ng\n        token: ${{ secrets.SALTBOT_OPEN_SALT_WINREPO_NG }}\n\n#    - name: Enable Pull Request Automerge\n#      if: steps.cpr.outputs.pull-request-operation == 'created'\n#      uses: peter-evans/enable-pull-request-automerge@v2\n#      with:\n#        token: ${{ secrets.SALTBOT_OPEN_SALT_WINREPO_NG }}\n#        pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}\n#        merge-method: squash\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:58.858518", "created_at": "2023-05-08T18:45:05+02:00", "updated_at": "2023-05-08T18:45:05+02:00", "name": "Upload VirusTotal", "path": ".github/workflows/release-upload-virustotal.yml", "contents": "---\nname: Upload VirusTotal\n\non:\n  release:\n    types: [released]\n  workflow_dispatch:\n    inputs:\n      salt-version:\n        type: string\n        required: true\n        description: >\n          The Salt version to get from staging to upload to VirusTotal.\n          (DO NOT prefix the version with a v, ie, 3006.0 NOT v3006.0).\n\npermissions:\n  contents: read\n\nenv:\n  COLUMNS: 190\n  AWS_MAX_ATTEMPTS: \"10\"\n  AWS_RETRY_MODE: \"adaptive\"\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n\njobs:\n  upload-virustotal:\n    name: Upload VirusTotal\n    environment: release\n    runs-on:\n      - self-hosted\n      - linux\n      - repo-release\n    steps:\n\n    - name: Checkout Salt\n      uses: actions/checkout@v4\n\n    - name: Set Up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Setup Python Tools Scripts\n      uses: ./.github/actions/setup-python-tools-scripts\n      with:\n        cache-prefix: virus-total\n\n    - name: Upload to VirusTotal\n      env:\n        VIRUSTOTAL_API_KEY: ${{ secrets.VIRUSTOTAL_API_KEY }}\n      run: |\n        tools release upload-virustotal ${{ inputs.salt-version || github.ref_name }}\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:35:59.867777", "created_at": "2023-10-11T16:14:35+02:00", "updated_at": "2023-10-11T16:14:35+02:00", "name": "Install Test Dependencies", "path": ".github/workflows/build-deps-ci-action.yml", "contents": "---\nname: Install Test Dependencies\n\non:\n  workflow_call:\n    inputs:\n      nox-session:\n        required: true\n        type: string\n        description: The nox session to run\n      salt-version:\n        type: string\n        required: true\n        description: The Salt version to set prior to running tests.\n      cache-prefix:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n      nox-version:\n        required: true\n        type: string\n        description: The nox version to install\n      nox-archive-hash:\n        required: true\n        type: string\n        description: Nox Tarball Cache Hash\n      python-version:\n        required: false\n        type: string\n        description: The python version to run tests with\n        default: \"3.10\"\n      package-name:\n        required: false\n        type: string\n        description: The onedir package name to use\n        default: salt\n\n\nenv:\n  COLUMNS: 190\n  AWS_MAX_ATTEMPTS: \"10\"\n  AWS_RETRY_MODE: \"adaptive\"\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n\njobs:\n\n  generate-matrix:\n    name: Generate Matrix\n    runs-on: ubuntu-latest\n    outputs:\n      matrix-include: ${{ steps.generate-matrix.outputs.matrix }}\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Generate Test Matrix\n        id: generate-matrix\n        run: |\n          tools ci deps-matrix\n\n\n  linux-dependencies:\n    name: Linux\n    needs:\n      - generate-matrix\n    runs-on:\n      - self-hosted\n      - linux\n      - bastion\n    env:\n      USE_S3_CACHE: 'true'\n    timeout-minutes: 90\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.generate-matrix.outputs.matrix-include)['linux'] }}\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Cache nox.linux.${{ matrix.arch }}.tar.* for session ${{ inputs.nox-session }}\n        id: nox-dependencies-cache\n        uses: ./.github/actions/cache\n        with:\n          path: nox.linux.${{ matrix.arch }}.tar.*\n          key: ${{ inputs.cache-prefix }}|testrun-deps|${{ matrix.arch }}|linux|${{ inputs.nox-session }}|${{ inputs.python-version }}|${{ inputs.nox-archive-hash }}\n\n      - name: Download Onedir Tarball as an Artifact\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-linux-${{ matrix.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Decompress Onedir Tarball\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          python3 -c \"import os; os.makedirs('artifacts', exist_ok=True)\"\n          cd artifacts\n          tar xvf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-linux-${{ matrix.arch }}.tar.xz\n\n      - name: PyPi Proxy\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          sed -i '7s;^;--index-url=https://pypi-proxy.saltstack.net/root/local/+simple/ --extra-index-url=https://pypi.org/simple\\n;' requirements/static/ci/*/*.txt\n\n      - name: Setup Python Tools Scripts\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}-build-deps-ci\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Start VM\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        id: spin-up-vm\n        run: |\n          tools --timestamps vm create --environment \"${SPB_ENVIRONMENT}\" --retries=2 ${{ matrix.distro-slug }}\n\n      - name: List Free Space\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm ssh ${{ matrix.distro-slug }} -- df -h || true\n\n      - name: Upload Checkout To VM\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm rsync ${{ matrix.distro-slug }}\n\n      - name: Install Dependencies\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm install-dependencies --nox-session=${{ inputs.nox-session }} ${{ matrix.distro-slug }}\n\n      - name: Cleanup .nox Directory\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm pre-archive-cleanup ${{ matrix.distro-slug }}\n\n      - name: Compress .nox Directory\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm compress-dependencies ${{ matrix.distro-slug }}\n\n      - name: Download Compressed .nox Directory\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm download-dependencies ${{ matrix.distro-slug }}\n\n      - name: Destroy VM\n        if: always() && steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm destroy --no-wait ${{ matrix.distro-slug }}\n\n      - name: Upload Nox Requirements Tarball\n        uses: actions/upload-artifact@v4\n        with:\n          name: nox-linux-${{ matrix.arch }}-${{ inputs.nox-session }}\n          path: nox.linux.${{ matrix.arch }}.tar.*\n\n  macos-dependencies:\n    name: MacOS\n    needs:\n      - generate-matrix\n    runs-on: ${{ matrix.distro-slug == 'macos-13-arm64' && 'macos-13-xlarge' || matrix.distro-slug }}\n    timeout-minutes: 90\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.generate-matrix.outputs.matrix-include)['macos'] }}\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Cache nox.macos.${{ matrix.arch }}.tar.* for session ${{ inputs.nox-session }}\n        id: nox-dependencies-cache\n        uses: ./.github/actions/cache\n        with:\n          path: nox.macos.${{ matrix.arch }}.tar.*\n          key: ${{ inputs.cache-prefix }}|testrun-deps|${{ matrix.arch }}|macos|${{ inputs.nox-session }}|${{ inputs.python-version }}|${{ inputs.nox-archive-hash }}\n\n      - name: Download Onedir Tarball as an Artifact\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-macos-${{ matrix.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Decompress Onedir Tarball\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          python3 -c \"import os; os.makedirs('artifacts', exist_ok=True)\"\n          cd artifacts\n          tar xvf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-macos-${{ matrix.arch }}.tar.xz\n\n      - name: Set up Python ${{ inputs.python-version }}\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ inputs.python-version }}\"\n\n      - name: Install System Dependencies\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          brew install openssl@3\n\n      - name: Install Nox\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          python3 -m pip install 'nox==${{ inputs.nox-version }}'\n\n      - name: Install Dependencies\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        env:\n          PRINT_TEST_SELECTION: \"0\"\n          PRINT_SYSTEM_INFO: \"0\"\n        run: |\n          export PYCURL_SSL_LIBRARY=openssl\n          export LDFLAGS=\"-L/usr/local/opt/openssl@3/lib\"\n          export CPPFLAGS=\"-I/usr/local/opt/openssl@3/include\"\n          export PKG_CONFIG_PATH=\"/usr/local/opt/openssl@3/lib/pkgconfig\"\n          nox --install-only -e ${{ inputs.nox-session }}\n\n      - name: Cleanup .nox Directory\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          nox --force-color -e \"pre-archive-cleanup(pkg=False)\"\n\n      - name: Compress .nox Directory\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          nox --force-color -e compress-dependencies -- macos ${{ matrix.arch }}\n\n      - name: Upload Nox Requirements Tarball\n        uses: actions/upload-artifact@v4\n        with:\n          name: nox-macos-${{ matrix.arch }}-${{ inputs.nox-session }}\n          path: nox.macos.${{ matrix.arch }}.tar.*\n\n  windows-dependencies:\n    needs:\n      - generate-matrix\n    name: Windows\n    runs-on:\n      - self-hosted\n      - linux\n      - bastion\n    env:\n      USE_S3_CACHE: 'true'\n    timeout-minutes: 90\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.generate-matrix.outputs.matrix-include)['windows'] }}\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Cache nox.windows.${{ matrix.arch }}.tar.* for session ${{ inputs.nox-session }}\n        id: nox-dependencies-cache\n        uses: ./.github/actions/cache\n        with:\n          path: nox.windows.${{ matrix.arch }}.tar.*\n          key: ${{ inputs.cache-prefix }}|testrun-deps|${{ matrix.arch }}|windows|${{ inputs.nox-session }}|${{ inputs.python-version }}|${{ inputs.nox-archive-hash }}\n\n      - name: Download Onedir Tarball as an Artifact\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-windows-${{ matrix.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Decompress Onedir Tarball\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          python3 -c \"import os; os.makedirs('artifacts', exist_ok=True)\"\n          cd artifacts\n          tar xvf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-windows-${{ matrix.arch }}.tar.xz\n\n      - name: PyPi Proxy\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          sed -i '7s;^;--index-url=https://pypi-proxy.saltstack.net/root/local/+simple/ --extra-index-url=https://pypi.org/simple\\n;' requirements/static/ci/*/*.txt\n\n      - name: Setup Python Tools Scripts\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}-build-deps-ci\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Start VM\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        id: spin-up-vm\n        run: |\n          tools --timestamps vm create --environment \"${SPB_ENVIRONMENT}\" --retries=2 ${{ matrix.distro-slug }}\n\n      - name: List Free Space\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm ssh ${{ matrix.distro-slug }} -- df -h || true\n\n      - name: Upload Checkout To VM\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm rsync ${{ matrix.distro-slug }}\n\n      - name: Install Dependencies\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm install-dependencies --nox-session=${{ inputs.nox-session }} ${{ matrix.distro-slug }}\n\n      - name: Cleanup .nox Directory\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm pre-archive-cleanup ${{ matrix.distro-slug }}\n\n      - name: Compress .nox Directory\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm compress-dependencies ${{ matrix.distro-slug }}\n\n      - name: Download Compressed .nox Directory\n        if: steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm download-dependencies ${{ matrix.distro-slug }}\n\n      - name: Destroy VM\n        if: always() && steps.nox-dependencies-cache.outputs.cache-hit != 'true'\n        run: |\n          tools --timestamps vm destroy --no-wait ${{ matrix.distro-slug }}\n\n      - name: Upload Nox Requirements Tarball\n        uses: actions/upload-artifact@v4\n        with:\n          name: nox-windows-${{ matrix.arch }}-${{ inputs.nox-session }}\n          path: nox.windows.${{ matrix.arch }}.tar.*\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:36:01.119814", "created_at": "2023-10-11T16:14:35+02:00", "updated_at": "2023-10-11T16:14:35+02:00", "name": "Test Download Packages", "path": ".github/workflows/test-package-downloads-action.yml", "contents": "name: Test Download Packages\n\non:\n  workflow_call:\n    inputs:\n      salt-version:\n        type: string\n        required: true\n        description: The Salt version of the packages to install and test\n      cache-prefix:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n      environment:\n        required: true\n        type: string\n        description: The environment to run tests against\n      latest-release:\n        required: true\n        type: string\n        description: The latest salt release\n      nox-version:\n        required: true\n        type: string\n        description: The nox version to install\n      python-version:\n        required: false\n        type: string\n        description: The python version to run tests with\n        default: \"3.10\"\n      package-name:\n        required: false\n        type: string\n        description: The onedir package name to use\n        default: salt\n      skip-code-coverage:\n        required: false\n        type: boolean\n        description: Skip code coverage\n        default: false\n      nox-session:\n        required: false\n        type: string\n        description: The nox session to run\n        default: ci-test-onedir\n\nenv:\n  COLUMNS: 190\n  AWS_MAX_ATTEMPTS: \"10\"\n  AWS_RETRY_MODE: \"adaptive\"\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n\njobs:\n\n  generate-matrix:\n    name: Generate Matrix\n    runs-on: ubuntu-latest\n    outputs:\n      matrix-include: ${{ steps.generate-matrix.outputs.matrix }}\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Generate Test Matrix\n        id: generate-matrix\n        run: |\n          tools ci pkg-downloads-matrix\n\n  linux:\n    name: Linux\n    needs:\n      - generate-matrix\n    runs-on:\n      - self-hosted\n      - linux\n      - bastion\n    env:\n      USE_S3_CACHE: 'true'\n    environment: ${{ inputs.environment }}\n    timeout-minutes: 120  # 2 Hours - More than this and something is wrong\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.generate-matrix.outputs.matrix-include)['linux'] }}\n\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-linux-${{ matrix.arch == 'aarch64' && 'arm64' || matrix.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Decompress Onedir Tarball\n        shell: bash\n        run: |\n          python3 -c \"import os; os.makedirs('artifacts', exist_ok=True)\"\n          cd artifacts\n          tar xvf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-linux-${{ matrix.arch == 'aarch64' && 'arm64' || matrix.arch }}.tar.xz\n\n      - name: Download nox.linux.${{ matrix.arch == 'aarch64' && 'arm64' || matrix.arch }}.tar.* artifact for session ${{ inputs.nox-session }}\n        uses: actions/download-artifact@v4\n        with:\n          name: nox-linux-${{ matrix.arch == 'aarch64' && 'arm64' || matrix.arch }}-${{ inputs.nox-session }}\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}-pkg-download-linux\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Start VM\n        id: spin-up-vm\n        run: |\n          tools --timestamps vm create --environment \"${SPB_ENVIRONMENT}\" --retries=2 ${{ matrix.distro-slug }}\n\n      - name: List Free Space\n        run: |\n          tools --timestamps vm ssh ${{ matrix.distro-slug }} -- df -h || true\n\n      - name: Upload Checkout To VM\n        run: |\n          tools --timestamps vm rsync ${{ matrix.distro-slug }}\n\n      - name: Decompress .nox Directory\n        run: |\n          tools --timestamps vm decompress-dependencies ${{ matrix.distro-slug }}\n\n      - name: Show System Info\n        run: |\n          tools --timestamps --timeout-secs=1800 vm test --skip-requirements-install --print-system-information-only \\\n            --nox-session=${{ inputs.nox-session }}-pkgs ${{ matrix.distro-slug }} -- download-pkgs\n\n      - name: Run Package Download Tests\n        env:\n          SALT_RELEASE: \"${{ inputs.salt-version }}\"\n          SALT_REPO_ARCH: ${{ matrix.arch }}\n          SALT_REPO_TYPE: ${{ inputs.environment }}\n          SALT_REPO_USER: ${{ secrets.SALT_REPO_USER }}\n          SALT_REPO_PASS: ${{ secrets.SALT_REPO_PASS }}\n          SALT_REPO_DOMAIN_RELEASE: ${{ vars.SALT_REPO_DOMAIN_RELEASE || 'repo.saltproject.io' }}\n          SALT_REPO_DOMAIN_STAGING: ${{ vars.SALT_REPO_DOMAIN_STAGING || 'staging.repo.saltproject.io' }}\n          SKIP_CODE_COVERAGE: \"${{ inputs.skip-code-coverage && '1' || '0' }}\"\n          LATEST_SALT_RELEASE: \"${{ inputs.latest-release }}\"\n          DOWNLOAD_TEST_PACKAGE_TYPE: ${{ matrix.pkg-type }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n          -E SALT_RELEASE -E SALT_REPO_ARCH -E SALT_REPO_TYPE -E SALT_REPO_USER -E SALT_REPO_PASS \\\n          -E SALT_REPO_DOMAIN_RELEASE -E SALT_REPO_DOMAIN_STAGING  -E LATEST_SALT_RELEASE -E DOWNLOAD_TEST_PACKAGE_TYPE \\\n            --nox-session=${{ inputs.nox-session }}-pkgs --rerun-failures ${{ matrix.distro-slug }} -- download-pkgs\n\n      - name: Combine Coverage Reports\n        if: always() && inputs.skip-code-coverage == false && steps.spin-up-vm.outcome == 'success' && job.status != 'cancelled'\n        run: |\n          tools --timestamps vm combine-coverage ${{ matrix.distro-slug }}\n\n      - name: Download Test Run Artifacts\n        id: download-artifacts-from-vm\n        if: always() && steps.spin-up-vm.outcome == 'success'\n        run: |\n          tools --timestamps vm download-artifacts ${{ matrix.distro-slug }}\n          # Delete the salt onedir, we won't need it anymore and it will prevent\n          # from it showing in the tree command below\n          rm -rf artifacts/salt*\n          tree -a artifacts\n\n      - name: Destroy VM\n        if: always()\n        run: |\n          tools --timestamps vm destroy --no-wait ${{ matrix.distro-slug }} || true\n\n      - name: Fix file ownership\n        run: |\n          sudo chown -R \"$(id -un)\" .\n\n      - name: Install Codecov CLI\n        if: always() && inputs.skip-code-coverage == false && steps.download-artifacts-from-vm.outcome == 'success' && job.status != 'cancelled'\n        run: |\n          # We can't yet use tokenless uploads with the codecov CLI\n          # python3 -m pip install codecov-cli\n          #\n          curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --import\n          curl -Os https://uploader.codecov.io/latest/linux/codecov\n          curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM\n          curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig\n          gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM\n          shasum -a 256 -c codecov.SHA256SUM\n          chmod +x codecov\n\n      - name: Upload Source Code Coverage To Codecov\n        if: always() && inputs.skip-code-coverage == false && steps.download-artifacts-from-vm.outcome == 'success' && job.status != 'cancelled'\n        run: |\n          if [ ! -s artifacts/coverage/salt.xml ]; then\n            echo \"The artifacts/coverage/salt.xml file does not exist\"\n            exit 1\n          fi\n          # We can't yet use tokenless uploads with the codecov CLI\n          #codecovcli --auto-load-params-from GithubActions --verbose --token ${{ secrets.CODECOV_TOKEN }} \\\n          #  do-upload --git-service github --sha ${{ github.sha }} \\\n          #  --file artifacts/coverage/salt.xml \\\n          #  --flag salt --flag ${{ matrix.distro-slug }} --flag pkg \\\n          #  --name salt.${{ matrix.distro-slug }}.${{ inputs.nox-session }}.download-pkgs\n          n=0\n          until [ \"$n\" -ge 5 ]\n          do\n          if ./codecov --file artifacts/coverage/salt.xml \\\n              --sha ${{ github.event.pull_request.head.sha || github.sha }} ${{ github.event_name == 'pull_request' && format('--parent {0}', github.event.pull_request.base.sha) }} \\\n              --flags salt,${{ matrix.distro-slug }},pkg \\\n              --name salt.${{ matrix.distro-slug }}.${{ inputs.nox-session }}.download-pkgs --nonZero; then\n              rc=$?\n              break\n          fi\n          rc=$?\n          n=$((n+1))\n          sleep 15\n          done\n          if [ \"$rc\" -ne 0 ]; then\n            echo \"Failed to upload codecov stats\"\n            exit 1\n          fi\n\n      - name: Upload Tests Code Coverage To Codecov\n        if: always() && inputs.skip-code-coverage == false && steps.download-artifacts-from-vm.outcome == 'success' && job.status != 'cancelled'\n        run: |\n          if [ ! -s artifacts/coverage/tests.xml ]; then\n            echo \"The artifacts/coverage/tests.xml file does not exist\"\n            exit 1\n          fi\n          # We can't yet use tokenless uploads with the codecov CLI\n          #codecovcli --auto-load-params-from GithubActions --verbose --token ${{ secrets.CODECOV_TOKEN }} \\\n          #  do-upload --git-service github --sha ${{ github.sha }} \\\n          #  --file artifacts/coverage/tests.xml \\\n          #  --flag tests --flag ${{ matrix.distro-slug }} --flag pkg \\\n          #  --name tests.${{ matrix.distro-slug }}.${{ inputs.nox-session }}.download-pkgs\n          n=0\n          until [ \"$n\" -ge 5 ]\n          do\n          if ./codecov --file artifacts/coverage/tests.xml \\\n              --sha ${{ github.event.pull_request.head.sha || github.sha }} ${{ github.event_name == 'pull_request' && format('--parent {0}', github.event.pull_request.base.sha) }} \\\n              --flags tests,${{ matrix.distro-slug }},pkg \\\n              --name tests.${{ matrix.distro-slug }}.${{ inputs.nox-session }}.download-pkgs --nonZero; then\n              rc=$?\n              break\n          fi\n          rc=$?\n          n=$((n+1))\n          sleep 15\n          done\n          if [ \"$rc\" -ne 0 ]; then\n            echo \"Failed to upload codecov stats\"\n            exit 1\n          fi\n\n      - name: Upload Test Run Artifacts\n        if: always() && steps.download-artifacts-from-vm.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: pkg-testrun-artifacts-${{ matrix.distro-slug }}-${{ matrix.arch }}-${{ matrix.pkg-type }}\n          path: |\n            artifacts\n            !artifacts/salt/*\n            !artifacts/salt-*.tar.*\n\n\n  macos:\n    name: MacOS\n    needs:\n      - generate-matrix\n    runs-on: ${{ matrix.distro-slug == 'macos-13-arm64' && 'macos-13-xlarge' || matrix.distro-slug }}\n    env:\n      USE_S3_CACHE: 'false'\n    environment: ${{ inputs.environment }}\n    timeout-minutes: 120  # 2 Hours - More than this and something is wrong\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.generate-matrix.outputs.matrix-include)['macos'] }}\n\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-macos-${{ matrix.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Install System Dependencies\n        run: |\n          brew install tree\n\n      - name: Decompress Onedir Tarball\n        shell: bash\n        run: |\n          python3 -c \"import os; os.makedirs('artifacts', exist_ok=True)\"\n          cd artifacts\n          tar xvf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-macos-${{ matrix.arch }}.tar.xz\n\n      - name: Set up Python ${{ inputs.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ inputs.python-version }}\"\n          update-environment: true\n\n      - name: Install Nox\n        run: |\n          python3 -m pip install 'nox==${{ inputs.nox-version }}'\n\n      - name: Download nox.macos.${{ matrix.arch }}.tar.* artifact for session ${{ inputs.nox-session }}\n        uses: actions/download-artifact@v4\n        with:\n          name: nox-macos-${{ matrix.arch }}-${{ inputs.nox-session }}\n\n      - name: Decompress .nox Directory\n        run: |\n          nox --force-color -e decompress-dependencies -- macos ${{ matrix.arch }}\n\n      - name: Show System Info\n        env:\n          SKIP_REQUIREMENTS_INSTALL: \"1\"\n          PRINT_SYSTEM_INFO_ONLY: \"1\"\n        run: |\n          sudo -E nox --force-color -e ${{ inputs.nox-session }}-pkgs -- download-pkgs\n\n      - name: Run Package Download Tests\n        env:\n          SKIP_REQUIREMENTS_INSTALL: \"1\"\n          PRINT_TEST_SELECTION: \"0\"\n          PRINT_TEST_PLAN_ONLY: \"0\"\n          PRINT_SYSTEM_INFO: \"0\"\n          RERUN_FAILURES: \"1\"\n          GITHUB_ACTIONS_PIPELINE: \"1\"\n          SKIP_INITIAL_GH_ACTIONS_FAILURES: \"1\"\n          SKIP_CODE_COVERAGE: \"${{ inputs.skip-code-coverage && '1' || '0' }}\"\n          COVERAGE_CONTEXT: ${{ matrix.distro-slug }}\n          SALT_RELEASE: \"${{ inputs.salt-version }}\"\n          SALT_REPO_ARCH: ${{ matrix.arch }}\n          LATEST_SALT_RELEASE: \"${{ inputs.latest-release }}\"\n          SALT_REPO_TYPE: ${{ inputs.environment }}\n          SALT_REPO_USER: ${{ secrets.SALT_REPO_USER }}\n          SALT_REPO_PASS: ${{ secrets.SALT_REPO_PASS }}\n          SALT_REPO_DOMAIN_RELEASE: ${{ vars.SALT_REPO_DOMAIN_RELEASE || 'repo.saltproject.io' }}\n          SALT_REPO_DOMAIN_STAGING: ${{ vars.SALT_REPO_DOMAIN_STAGING || 'staging.repo.saltproject.io' }}\n          DOWNLOAD_TEST_PACKAGE_TYPE: ${{ matrix.pkg-type }}\n        run: |\n          sudo -E nox --force-color -e ${{ inputs.nox-session }}-pkgs -- download-pkgs\n\n      - name: Fix file ownership\n        run: |\n          sudo chown -R \"$(id -un)\" .\n\n      - name: Combine Coverage Reports\n        if: always() && inputs.skip-code-coverage == false && job.status != 'cancelled'\n        run: |\n          nox --force-color -e combine-coverage\n\n      - name: Prepare Test Run Artifacts\n        id: download-artifacts-from-vm\n        if: always() && job.status != 'cancelled'\n        run: |\n          # Delete the salt onedir, we won't need it anymore and it will prevent\n          # from it showing in the tree command below\n          rm -rf artifacts/salt*\n          tree -a artifacts\n\n      - name: Install Codecov CLI\n        if: always() && inputs.skip-code-coverage == false && job.status != 'cancelled'\n        run: |\n          # We can't yet use tokenless uploads with the codecov CLI\n          # python3 -m pip install codecov-cli\n          #\n          curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --import\n          curl -Os https://uploader.codecov.io/latest/macos/codecov\n          curl -Os https://uploader.codecov.io/latest/macos/codecov.SHA256SUM\n          curl -Os https://uploader.codecov.io/latest/macos/codecov.SHA256SUM.sig\n          gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM\n          shasum -a 256 -c codecov.SHA256SUM\n          chmod +x codecov\n\n      - name: Upload Source Code Coverage To Codecov\n        if: always() && inputs.skip-code-coverage == false && job.status != 'cancelled'\n        run: |\n          if [ ! -s artifacts/coverage/salt.xml ]; then\n            echo \"The artifacts/coverage/salt.xml file does not exist\"\n            exit 1\n          fi\n          # We can't yet use tokenless uploads with the codecov CLI\n          #codecovcli --auto-load-params-from GithubActions --verbose --token ${{ secrets.CODECOV_TOKEN }} \\\n          #  do-upload --git-service github --sha ${{ github.sha }} \\\n          #  --file artifacts/coverage/salt.xml \\\n          #  --flag salt --flag ${{ matrix.distro-slug }} --flag pkg \\\n          #  --name salt.${{ matrix.distro-slug }}.${{ inputs.nox-session }}.download-pkgs\n          n=0\n          until [ \"$n\" -ge 5 ]\n          do\n          if ./codecov --file artifacts/coverage/salt.xml \\\n              --sha ${{ github.event.pull_request.head.sha || github.sha }} ${{ github.event_name == 'pull_request' && format('--parent {0}', github.event.pull_request.base.sha) }} \\\n              --flags salt,${{ matrix.distro-slug }},pkg \\\n              --name salt.${{ matrix.distro-slug }}.${{ inputs.nox-session }}.download-pkgs --nonZero; then\n              rc=$?\n              break\n          fi\n          rc=$?\n          n=$((n+1))\n          sleep 15\n          done\n          if [ \"$rc\" -ne 0 ]; then\n            echo \"Failed to upload codecov stats\"\n            exit 1\n          fi\n\n      - name: Upload Tests Code Coverage To Codecov\n        if: always() && inputs.skip-code-coverage == false && job.status != 'cancelled'\n        run: |\n          if [ ! -s artifacts/coverage/tests.xml ]; then\n            echo \"The artifacts/coverage/tests.xml file does not exist\"\n            exit 1\n          fi\n          # We can't yet use tokenless uploads with the codecov CLI\n          #codecovcli --auto-load-params-from GithubActions --verbose --token ${{ secrets.CODECOV_TOKEN }} \\\n          #  do-upload --git-service github --sha ${{ github.sha }} \\\n          #  --file artifacts/coverage/tests.xml \\\n          #  --flag tests --flag ${{ matrix.distro-slug }} --flag pkg \\\n          #  --name tests.${{ matrix.distro-slug }}.${{ inputs.nox-session }}.download-pkgs\n          n=0\n          until [ \"$n\" -ge 5 ]\n          do\n          if ./codecov --file artifacts/coverage/tests.xml \\\n              --sha ${{ github.event.pull_request.head.sha || github.sha }} ${{ github.event_name == 'pull_request' && format('--parent {0}', github.event.pull_request.base.sha) }} \\\n              --flags tests,${{ matrix.distro-slug }},pkg \\\n              --name tests.${{ matrix.distro-slug }}.${{ inputs.nox-session }}.download-pkgs --nonZero; then\n              rc=$?\n              break\n          fi\n          rc=$?\n          n=$((n+1))\n          sleep 15\n          done\n          if [ \"$rc\" -ne 0 ]; then\n            echo \"Failed to upload codecov stats\"\n            exit 1\n          fi\n\n      - name: Upload Test Run Artifacts\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: pkg-testrun-artifacts-${{ matrix.distro-slug }}-${{ matrix.arch }}-${{ matrix.pkg-type }}\n          path: |\n            artifacts\n            !artifacts/salt/*\n            !artifacts/salt-*.tar.*\n\n\n  windows:\n    name: Windows\n    needs:\n      - generate-matrix\n    env:\n      USE_S3_CACHE: 'true'\n    runs-on:\n      - self-hosted\n      - linux\n      - bastion\n    environment: ${{ inputs.environment }}\n    timeout-minutes: 120  # 2 Hours - More than this and something is wrong\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.generate-matrix.outputs.matrix-include)['windows'] }}\n\n    steps:\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-windows-${{ matrix.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Decompress Onedir Tarball\n        shell: bash\n        run: |\n          python3 -c \"import os; os.makedirs('artifacts', exist_ok=True)\"\n          cd artifacts\n          tar xvf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-windows-${{ matrix.arch }}.tar.xz\n\n      - name: Download nox.windows.${{ matrix.arch }}.tar.* artifact for session ${{ inputs.nox-session }}\n        uses: actions/download-artifact@v4\n        with:\n          name: nox-windows-${{ matrix.arch }}-${{ inputs.nox-session }}\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}-pkg-download-windows\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Start VM\n        id: spin-up-vm\n        run: |\n          tools --timestamps vm create --environment \"${SPB_ENVIRONMENT}\" --retries=2 ${{ matrix.distro-slug }}\n\n      - name: List Free Space\n        run: |\n          tools --timestamps vm ssh ${{ matrix.distro-slug }} -- df -h || true\n\n      - name: Upload Checkout To VM\n        run: |\n          tools --timestamps vm rsync ${{ matrix.distro-slug }}\n\n      - name: Decompress .nox Directory\n        run: |\n          tools --timestamps vm decompress-dependencies ${{ matrix.distro-slug }}\n\n      - name: Show System Info\n        run: |\n          tools --timestamps --timeout-secs=1800 vm test --skip-requirements-install --print-system-information-only \\\n            --nox-session=${{ inputs.nox-session }}-pkgs ${{ matrix.distro-slug }} -- download-pkgs\n\n      - name: Run Package Download Tests\n        env:\n          SALT_RELEASE: \"${{ inputs.salt-version }}\"\n          SALT_REPO_ARCH: ${{ matrix.arch }}\n          LATEST_SALT_RELEASE: \"${{ inputs.latest-release }}\"\n          SALT_REPO_TYPE: ${{ inputs.environment }}\n          SALT_REPO_USER: ${{ secrets.SALT_REPO_USER }}\n          SALT_REPO_PASS: ${{ secrets.SALT_REPO_PASS }}\n          SALT_REPO_DOMAIN_RELEASE: ${{ vars.SALT_REPO_DOMAIN_RELEASE || 'repo.saltproject.io' }}\n          SALT_REPO_DOMAIN_STAGING: ${{ vars.SALT_REPO_DOMAIN_STAGING || 'staging.repo.saltproject.io' }}\n          SKIP_CODE_COVERAGE: \"${{ inputs.skip-code-coverage && '1' || '0' }}\"\n          DOWNLOAD_TEST_PACKAGE_TYPE: ${{ matrix.pkg-type }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n          -E SALT_RELEASE -E SALT_REPO_ARCH -E SALT_REPO_TYPE -E SALT_REPO_USER -E SALT_REPO_PASS \\\n          -E SALT_REPO_DOMAIN_RELEASE -E SALT_REPO_DOMAIN_STAGING -E LATEST_SALT_RELEASE -E DOWNLOAD_TEST_PACKAGE_TYPE \\\n            --nox-session=${{ inputs.nox-session }}-pkgs --rerun-failures ${{ matrix.distro-slug }} -- download-pkgs\n\n      - name: Combine Coverage Reports\n        if: always() && inputs.skip-code-coverage == false && steps.spin-up-vm.outcome == 'success' && job.status != 'cancelled'\n        run: |\n          tools --timestamps vm combine-coverage ${{ matrix.distro-slug }}\n\n      - name: Download Test Run Artifacts\n        id: download-artifacts-from-vm\n        if: always() && steps.spin-up-vm.outcome == 'success'\n        run: |\n          tools --timestamps vm download-artifacts ${{ matrix.distro-slug }}\n          # Delete the salt onedir, we won't need it anymore and it will prevent\n          # from it showing in the tree command below\n          rm -rf artifacts/salt*\n          tree -a artifacts\n\n      - name: Destroy VM\n        if: always()\n        run: |\n          tools --timestamps vm destroy --no-wait ${{ matrix.distro-slug }} || true\n\n      - name: Fix file ownership\n        run: |\n          sudo chown -R \"$(id -un)\" .\n\n      - name: Install Codecov CLI\n        if: always() && inputs.skip-code-coverage == false && steps.download-artifacts-from-vm.outcome == 'success' && job.status != 'cancelled'\n        run: |\n          # We can't yet use tokenless uploads with the codecov CLI\n          # python3 -m pip install codecov-cli\n          #\n          curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --import\n          curl -Os https://uploader.codecov.io/latest/linux/codecov\n          curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM\n          curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig\n          gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM\n          shasum -a 256 -c codecov.SHA256SUM\n          chmod +x codecov\n\n      - name: Upload Source Code Coverage To Codecov\n        if: always() && inputs.skip-code-coverage == false && steps.download-artifacts-from-vm.outcome == 'success' && job.status != 'cancelled'\n        run: |\n          if [ ! -s artifacts/coverage/salt.xml ]; then\n            echo \"The artifacts/coverage/salt.xml file does not exist\"\n            exit 1\n          fi\n          # We can't yet use tokenless uploads with the codecov CLI\n          #codecovcli --auto-load-params-from GithubActions --verbose --token ${{ secrets.CODECOV_TOKEN }} \\\n          #  do-upload --git-service github --sha ${{ github.sha }} \\\n          #  --file artifacts/coverage/salt.xml \\\n          #  --flag salt --flag ${{ matrix.distro-slug }} --flag pkg \\\n          #  --name salt.${{ matrix.distro-slug }}.${{ inputs.nox-session }}.download-pkgs\n          n=0\n          until [ \"$n\" -ge 5 ]\n          do\n          if ./codecov --file artifacts/coverage/salt.xml \\\n              --sha ${{ github.event.pull_request.head.sha || github.sha }} ${{ github.event_name == 'pull_request' && format('--parent {0}', github.event.pull_request.base.sha) }} \\\n              --flags salt,${{ matrix.distro-slug }},pkg \\\n              --name salt.${{ matrix.distro-slug }}.${{ inputs.nox-session }}.download-pkgs --nonZero; then\n              rc=$?\n              break\n          fi\n          rc=$?\n          n=$((n+1))\n          sleep 15\n          done\n          if [ \"$rc\" -ne 0 ]; then\n            echo \"Failed to upload codecov stats\"\n            exit 1\n          fi\n\n      - name: Upload Tests Code Coverage To Codecov\n        if: always() && inputs.skip-code-coverage == false && steps.download-artifacts-from-vm.outcome == 'success' && job.status != 'cancelled'\n        run: |\n          if [ ! -s artifacts/coverage/tests.xml ]; then\n            echo \"The artifacts/coverage/tests.xml file does not exist\"\n            exit 1\n          fi\n          # We can't yet use tokenless uploads with the codecov CLI\n          #codecovcli --auto-load-params-from GithubActions --verbose --token ${{ secrets.CODECOV_TOKEN }} \\\n          #  do-upload --git-service github --sha ${{ github.sha }} \\\n          #  --file artifacts/coverage/tests.xml \\\n          #  --flag tests --flag ${{ matrix.distro-slug }} --flag pkg \\\n          #  --name tests.${{ matrix.distro-slug }}.${{ inputs.nox-session }}.download-pkgs\n          n=0\n          until [ \"$n\" -ge 5 ]\n          do\n          if ./codecov --file artifacts/coverage/tests.xml \\\n              --sha ${{ github.event.pull_request.head.sha || github.sha }} ${{ github.event_name == 'pull_request' && format('--parent {0}', github.event.pull_request.base.sha) }} \\\n              --flags tests,${{ matrix.distro-slug }},pkg \\\n              --name tests.${{ matrix.distro-slug }}.${{ inputs.nox-session }}.download-pkgs --nonZero; then\n              rc=$?\n              break\n          fi\n          rc=$?\n          n=$((n+1))\n          sleep 15\n          done\n          if [ \"$rc\" -ne 0 ]; then\n            echo \"Failed to upload codecov stats\"\n            exit 1\n          fi\n\n      - name: Upload Test Run Artifacts\n        if: always() && steps.download-artifacts-from-vm.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: pkg-testrun-artifacts-${{ matrix.distro-slug }}-${{ matrix.arch }}-${{ matrix.pkg-type }}\n          path: |\n            artifacts\n            !artifacts/salt/*\n            !artifacts/salt-*.tar.*\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:36:02.347653", "created_at": "2024-01-10T06:09:21+01:00", "updated_at": "2024-01-10T06:09:21+01:00", "name": "Test Artifact", "path": ".github/workflows/test-action-linux.yml", "contents": "---\nname: Test Artifact\n\non:\n  workflow_call:\n    inputs:\n      distro-slug:\n        required: true\n        type: string\n        description: The OS slug to run tests against\n      nox-session:\n        required: true\n        type: string\n        description: The nox session to run\n      testrun:\n        required: true\n        type: string\n        description: JSON string containing information about what and how to run the test suite\n      salt-version:\n        type: string\n        required: true\n        description: The Salt version to set prior to running tests.\n      cache-prefix:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n      platform:\n        required: true\n        type: string\n        description: The platform being tested\n      arch:\n        required: true\n        type: string\n        description: The platform arch being tested\n      nox-version:\n        required: true\n        type: string\n        description: The nox version to install\n      timeout-minutes:\n        required: true\n        type: number\n        description: Timeout, in minutes, for the test job\n      gh-actions-python-version:\n        required: false\n        type: string\n        description: The python version to run tests with\n        default: \"3.10\"\n      fips:\n        required: false\n        type: boolean\n        default: false\n        description: Test run with FIPS enabled\n      package-name:\n        required: false\n        type: string\n        description: The onedir package name to use\n        default: salt\n      skip-code-coverage:\n        required: false\n        type: boolean\n        description: Skip code coverage\n        default: false\n      workflow-slug:\n        required: false\n        type: string\n        description: Which workflow is running.\n        default: ci\n\nenv:\n  COLUMNS: 190\n  AWS_MAX_ATTEMPTS: \"10\"\n  AWS_RETRY_MODE: \"adaptive\"\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n\njobs:\n\n  generate-matrix:\n    name: Test Matrix\n    runs-on: ubuntu-latest\n    outputs:\n      matrix-include: ${{ steps.generate-matrix.outputs.matrix }}\n      build-reports: ${{ steps.generate-matrix.outputs.build-reports }}\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Generate Test Matrix\n        id: generate-matrix\n        run: |\n          tools ci matrix --workflow=${{ inputs.workflow-slug }} ${{ fromJSON(inputs.testrun)['type'] == 'full' && '--full ' || '' }}${{ inputs.distro-slug }}\n\n  test:\n    name: Test\n    runs-on:\n      - self-hosted\n      - linux\n      - bastion\n    timeout-minutes: ${{ inputs.timeout-minutes }}\n    needs:\n      - generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.generate-matrix.outputs.matrix-include) }}\n    env:\n      SALT_TRANSPORT: ${{ matrix.transport }}\n      TEST_GROUP: ${{ matrix.test-group || 1 }}\n\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: \"Set `TIMESTAMP` environment variable\"\n        shell: bash\n        run: |\n          echo \"TIMESTAMP=$(date +%s)\" | tee -a \"$GITHUB_ENV\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Setup Salt Version\n        run: |\n          echo \"${{ inputs.salt-version }}\" > salt/_version.txt\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Decompress Onedir Tarball\n        shell: bash\n        run: |\n          python3 -c \"import os; os.makedirs('artifacts', exist_ok=True)\"\n          cd artifacts\n          tar xvf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz\n\n      - name: Download nox.linux.${{ inputs.arch }}.tar.* artifact for session ${{ inputs.nox-session }}\n        uses: actions/download-artifact@v4\n        with:\n          name: nox-linux-${{ inputs.arch }}-${{ inputs.nox-session }}\n\n      - name: PyPi Proxy\n        run: |\n          sed -i '7s;^;--index-url=https://pypi-proxy.saltstack.net/root/local/+simple/ --extra-index-url=https://pypi.org/simple\\n;' requirements/static/ci/*/*.txt\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Download testrun-changed-files.txt\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' }}\n        uses: actions/download-artifact@v4\n        with:\n          name: testrun-changed-files.txt\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Start VM\n        id: spin-up-vm\n        env:\n          TESTS_CHUNK: ${{ matrix.tests-chunk }}\n        run: |\n          tools --timestamps vm create --environment \"${SPB_ENVIRONMENT}\" --retries=2 ${{ inputs.distro-slug }}\n\n      - name: List Free Space\n        run: |\n          tools --timestamps vm ssh ${{ inputs.distro-slug }} -- df -h || true\n\n      - name: Upload Checkout To VM\n        run: |\n          tools --timestamps vm rsync ${{ inputs.distro-slug }}\n\n      - name: Decompress .nox Directory\n        run: |\n          tools --timestamps vm decompress-dependencies ${{ inputs.distro-slug }}\n\n      - name: Show System Info\n        run: |\n          tools --timestamps --timeout-secs=1800 vm test --skip-requirements-install --print-system-information-only \\\n            --nox-session=${{ inputs.nox-session }} ${{ inputs.distro-slug }} \\\n            ${{ matrix.tests-chunk }}\n\n      - name: Run Changed Tests\n        id: run-fast-changed-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n            --nox-session=${{ inputs.nox-session }} --rerun-failures -E SALT_TRANSPORT ${{ inputs.fips && '--fips ' || '' }}${{ inputs.distro-slug }} \\\n            ${{ matrix.tests-chunk }} -- --core-tests --slow-tests --suppress-no-test-exit-code \\\n            --from-filenames=testrun-changed-files.txt\n\n      - name: Run Fast Tests\n        id: run-fast-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' && fromJSON(inputs.testrun)['selected_tests']['fast'] }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n            --nox-session=${{ inputs.nox-session }} --rerun-failures -E SALT_TRANSPORT ${{ (inputs.skip-code-coverage && matrix.tests-chunk != 'unit') && '--skip-code-coverage' || '' }} \\\n            ${{ inputs.fips && '--fips ' || '' }}${{ inputs.distro-slug }} ${{ matrix.tests-chunk }}\n\n      - name: Run Slow Tests\n        id: run-slow-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' && fromJSON(inputs.testrun)['selected_tests']['slow'] }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n            --nox-session=${{ inputs.nox-session }} --rerun-failures -E SALT_TRANSPORT ${{ inputs.fips && '--fips ' || '' }}${{ inputs.distro-slug }} \\\n            ${{ matrix.tests-chunk }} -- --no-fast-tests --slow-tests\n\n      - name: Run Core Tests\n        id: run-core-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' && fromJSON(inputs.testrun)['selected_tests']['core'] }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n            --nox-session=${{ inputs.nox-session }} --rerun-failures -E SALT_TRANSPORT ${{ inputs.fips && '--fips ' || '' }}${{ inputs.distro-slug }} \\\n            ${{ matrix.tests-chunk }} -- --no-fast-tests --core-tests\n\n      - name: Run Flaky Tests\n        id: run-flaky-tests\n        if: ${{ fromJSON(inputs.testrun)['selected_tests']['flaky'] }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n            --nox-session=${{ inputs.nox-session }} --rerun-failures -E SALT_TRANSPORT ${{ inputs.fips && '--fips ' || '' }}${{ inputs.distro-slug }} \\\n            ${{ matrix.tests-chunk }} -- --no-fast-tests --flaky-jail\n\n      - name: Run Full Tests\n        id: run-full-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] == 'full' }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n            --nox-session=${{ inputs.nox-session }} --rerun-failures -E SALT_TRANSPORT ${{ (inputs.skip-code-coverage && matrix.tests-chunk != 'unit') && '--skip-code-coverage' || '' }} \\\n            -E TEST_GROUP ${{ inputs.fips && '--fips ' || '' }}${{ inputs.distro-slug }} ${{ matrix.tests-chunk }} -- --slow-tests --core-tests \\\n            --test-group-count=${{ matrix.test-group-count || 1 }} --test-group=${{ matrix.test-group || 1 }}\n\n      - name: Combine Coverage Reports\n        if: always() && inputs.skip-code-coverage == false && steps.spin-up-vm.outcome == 'success'\n        run: |\n          tools --timestamps vm combine-coverage ${{ inputs.distro-slug }}\n\n      - name: Download Test Run Artifacts\n        id: download-artifacts-from-vm\n        if: always() && steps.spin-up-vm.outcome == 'success'\n        run: |\n          tools --timestamps vm download-artifacts ${{ inputs.distro-slug }}\n          # Delete the salt onedir, we won't need it anymore and it will prevent\n          # from it showing in the tree command below\n          rm -rf artifacts/salt*\n          tree -a artifacts\n          if [ \"${{ inputs.skip-code-coverage }}\" != \"true\" ]; then\n            mv artifacts/coverage/.coverage artifacts/coverage/.coverage.${{ inputs.distro-slug }}${{ inputs.fips && '.fips' || '' }}.${{ inputs.nox-session }}.${{ matrix.transport }}.${{ matrix.tests-chunk }}.grp${{ matrix.test-group || '1' }}\n          fi\n\n      - name: Destroy VM\n        if: always()\n        run: |\n          tools --timestamps vm destroy --no-wait ${{ inputs.distro-slug }} || true\n\n      - name: Upload Code Coverage Test Run Artifacts\n        if: always() && inputs.skip-code-coverage == false && steps.download-artifacts-from-vm.outcome == 'success' && job.status != 'cancelled'\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-coverage-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-grp${{ matrix.test-group || '1' }}-${{ env.TIMESTAMP }}\n          path: |\n            artifacts/coverage/\n\n      - name: Upload JUnit XML Test Run Artifacts\n        if: always() && steps.download-artifacts-from-vm.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-junit-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-grp${{ matrix.test-group || '1' }}-${{ env.TIMESTAMP }}\n          path: |\n            artifacts/xml-unittests-output/\n\n      - name: Upload Test Run Log Artifacts\n        if: always() && steps.download-artifacts-from-vm.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-log-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-grp${{ matrix.test-group || '1' }}-${{ env.TIMESTAMP }}\n          path: |\n            artifacts/logs\n\n  report:\n    name: Test Reports\n    if: always() && fromJSON(needs.generate-matrix.outputs.build-reports) && needs.test.result != 'cancelled' && needs.test.result != 'skipped'\n    runs-on: ubuntu-latest\n    needs:\n      - test\n      - generate-matrix\n\n    steps:\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Merge JUnit XML Test Run Artifacts\n        if: always() && needs.test.result != 'cancelled' && needs.test.result != 'skipped'\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: testrun-junit-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}\n          pattern: testrun-junit-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}-*\n          separate-directories: false\n          delete-merged: true\n\n      - name: Merge Log Test Run Artifacts\n        if: always() && needs.test.result != 'cancelled' && needs.test.result != 'skipped'\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: testrun-log-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}\n          pattern: testrun-log-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}-*\n          separate-directories: false\n          delete-merged: true\n\n      - name: Merge Code Coverage Test Run Artifacts\n        if: ${{ inputs.skip-code-coverage == false }}\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: testrun-coverage-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}\n          pattern: testrun-coverage-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}-*\n          separate-directories: false\n          delete-merged: true\n\n      - name: Download Code Coverage Test Run Artifacts\n        uses: actions/download-artifact@v4\n        if: ${{ inputs.skip-code-coverage == false }}\n        id: download-coverage-artifacts\n        with:\n          name: testrun-coverage-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}\n          path: artifacts/coverage/\n\n      - name: Show Downloaded Test Run Artifacts\n        if: ${{ inputs.skip-code-coverage == false }}\n        run: |\n          tree -a artifacts\n\n      - name: Install Nox\n        run: |\n          python3 -m pip install 'nox==${{ inputs.nox-version }}'\n\n      - name: Create XML Coverage Reports\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success' && job.status != 'cancelled'\n        run: |\n          nox --force-color -e create-xml-coverage-reports\n          mv artifacts/coverage/salt.xml artifacts/coverage/salt..${{ inputs.distro-slug }}${{ inputs.fips && '..fips' || '' }}..${{ inputs.nox-session }}.xml\n          mv artifacts/coverage/tests.xml artifacts/coverage/tests..${{ inputs.distro-slug }}${{ inputs.fips && '..fips' || '' }}..${{ inputs.nox-session }}.xml\n\n      - name: Report Salt Code Coverage\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success'\n        continue-on-error: true\n        run: |\n          nox --force-color -e report-coverage -- salt\n\n      - name: Report Combined Code Coverage\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success'\n        continue-on-error: true\n        run: |\n          nox --force-color -e report-coverage\n\n      - name: Rename Code Coverage DB\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success'\n        continue-on-error: true\n        run: |\n          mv artifacts/coverage/.coverage artifacts/coverage/.coverage.${{ inputs.distro-slug }}${{ inputs.fips && '.fips' || '' }}.${{ inputs.nox-session }}\n\n      - name: Upload Code Coverage DB\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: all-testrun-coverage-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.nox-session }}\n          path: artifacts/coverage\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:36:03.472903", "created_at": "2024-01-10T06:09:21+01:00", "updated_at": "2024-01-10T06:09:21+01:00", "name": "Test Artifact", "path": ".github/workflows/test-action-windows.yml", "contents": "---\nname: Test Artifact\n\non:\n  workflow_call:\n    inputs:\n      distro-slug:\n        required: true\n        type: string\n        description: The OS slug to run tests against\n      nox-session:\n        required: true\n        type: string\n        description: The nox session to run\n      testrun:\n        required: true\n        type: string\n        description: JSON string containing information about what and how to run the test suite\n      salt-version:\n        type: string\n        required: true\n        description: The Salt version to set prior to running tests.\n      cache-prefix:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n      platform:\n        required: true\n        type: string\n        description: The platform being tested\n      arch:\n        required: true\n        type: string\n        description: The platform arch being tested\n      nox-version:\n        required: true\n        type: string\n        description: The nox version to install\n      timeout-minutes:\n        required: true\n        type: number\n        description: Timeout, in minutes, for the test job\n      gh-actions-python-version:\n        required: false\n        type: string\n        description: The python version to run tests with\n        default: \"3.10\"\n      fips:\n        required: false\n        type: boolean\n        default: false\n        description: Test run with FIPS enabled\n      package-name:\n        required: false\n        type: string\n        description: The onedir package name to use\n        default: salt\n      skip-code-coverage:\n        required: false\n        type: boolean\n        description: Skip code coverage\n        default: false\n      workflow-slug:\n        required: false\n        type: string\n        description: Which workflow is running.\n        default: ci\n\nenv:\n  COLUMNS: 190\n  AWS_MAX_ATTEMPTS: \"10\"\n  AWS_RETRY_MODE: \"adaptive\"\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n\njobs:\n\n  generate-matrix:\n    name: Test Matrix\n    runs-on: ubuntu-latest\n    outputs:\n      matrix-include: ${{ steps.generate-matrix.outputs.matrix }}\n      build-reports: ${{ steps.generate-matrix.outputs.build-reports }}\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Generate Test Matrix\n        id: generate-matrix\n        run: |\n          tools ci matrix --workflow=${{ inputs.workflow-slug }} ${{ fromJSON(inputs.testrun)['type'] == 'full' && '--full ' || '' }}${{ inputs.fips && '--fips ' || '' }}${{ inputs.distro-slug }}\n\n  test:\n    name: Test\n    runs-on:\n      - self-hosted\n      - linux\n      - bastion\n    timeout-minutes: ${{ inputs.timeout-minutes }}\n    needs:\n      - generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.generate-matrix.outputs.matrix-include) }}\n    env:\n      SALT_TRANSPORT: ${{ matrix.transport }}\n      TEST_GROUP: ${{ matrix.test-group || 1 }}\n\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: \"Set `TIMESTAMP` environment variable\"\n        shell: bash\n        run: |\n          echo \"TIMESTAMP=$(date +%s)\" | tee -a \"$GITHUB_ENV\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Setup Salt Version\n        run: |\n          echo \"${{ inputs.salt-version }}\" > salt/_version.txt\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Decompress Onedir Tarball\n        shell: bash\n        run: |\n          python3 -c \"import os; os.makedirs('artifacts', exist_ok=True)\"\n          cd artifacts\n          tar xvf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz\n\n      - name: Download nox.windows.${{ inputs.arch }}.tar.* artifact for session ${{ inputs.nox-session }}\n        uses: actions/download-artifact@v4\n        with:\n          name: nox-windows-${{ inputs.arch }}-${{ inputs.nox-session }}\n\n      - name: PyPi Proxy\n        run: |\n          sed -i '7s;^;--index-url=https://pypi-proxy.saltstack.net/root/local/+simple/ --extra-index-url=https://pypi.org/simple\\n;' requirements/static/ci/*/*.txt\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Download testrun-changed-files.txt\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' }}\n        uses: actions/download-artifact@v4\n        with:\n          name: testrun-changed-files.txt\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Start VM\n        id: spin-up-vm\n        env:\n          TESTS_CHUNK: ${{ matrix.tests-chunk }}\n        run: |\n          tools --timestamps vm create --environment \"${SPB_ENVIRONMENT}\" --retries=2 ${{ inputs.distro-slug }}\n\n      - name: List Free Space\n        run: |\n          tools --timestamps vm ssh ${{ inputs.distro-slug }} -- df -h || true\n\n      - name: Upload Checkout To VM\n        run: |\n          tools --timestamps vm rsync ${{ inputs.distro-slug }}\n\n      - name: Decompress .nox Directory\n        run: |\n          tools --timestamps vm decompress-dependencies ${{ inputs.distro-slug }}\n\n      - name: Show System Info\n        run: |\n          tools --timestamps --timeout-secs=1800 vm test --skip-requirements-install --print-system-information-only \\\n            --nox-session=${{ inputs.nox-session }} ${{ inputs.distro-slug }} \\\n            ${{ matrix.tests-chunk }}\n\n      - name: Run Changed Tests\n        id: run-fast-changed-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n            --nox-session=${{ inputs.nox-session }} --rerun-failures -E SALT_TRANSPORT ${{ matrix.fips && '--fips ' || '' }}${{ inputs.distro-slug }} \\\n            ${{ matrix.tests-chunk }} -- --core-tests --slow-tests --suppress-no-test-exit-code \\\n            --from-filenames=testrun-changed-files.txt\n\n      - name: Run Fast Tests\n        id: run-fast-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' && fromJSON(inputs.testrun)['selected_tests']['fast'] }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n            --nox-session=${{ inputs.nox-session }} --rerun-failures -E SALT_TRANSPORT ${{ (inputs.skip-code-coverage && matrix.tests-chunk != 'unit') && '--skip-code-coverage' || '' }} \\\n            ${{ matrix.fips && '--fips ' || '' }}${{ inputs.distro-slug }} ${{ matrix.tests-chunk }}\n\n      - name: Run Slow Tests\n        id: run-slow-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' && fromJSON(inputs.testrun)['selected_tests']['slow'] }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n            --nox-session=${{ inputs.nox-session }} --rerun-failures -E SALT_TRANSPORT ${{ matrix.fips && '--fips ' || '' }}${{ inputs.distro-slug }} \\\n            ${{ matrix.tests-chunk }} -- --no-fast-tests --slow-tests\n\n      - name: Run Core Tests\n        id: run-core-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] != 'full' && fromJSON(inputs.testrun)['selected_tests']['core'] }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n            --nox-session=${{ inputs.nox-session }} --rerun-failures -E SALT_TRANSPORT ${{ matrix.fips && '--fips ' || '' }}${{ inputs.distro-slug }} \\\n            ${{ matrix.tests-chunk }} -- --no-fast-tests --core-tests\n\n      - name: Run Flaky Tests\n        id: run-flaky-tests\n        if: ${{ fromJSON(inputs.testrun)['selected_tests']['flaky'] }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n            --nox-session=${{ inputs.nox-session }} --rerun-failures -E SALT_TRANSPORT ${{ matrix.fips && '--fips ' || '' }}${{ inputs.distro-slug }} \\\n            ${{ matrix.tests-chunk }} -- --no-fast-tests --flaky-jail\n\n      - name: Run Full Tests\n        id: run-full-tests\n        if: ${{ fromJSON(inputs.testrun)['type'] == 'full' }}\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install \\\n            --nox-session=${{ inputs.nox-session }} --rerun-failures -E SALT_TRANSPORT ${{ (inputs.skip-code-coverage && matrix.tests-chunk != 'unit') && '--skip-code-coverage' || '' }} \\\n            -E TEST_GROUP ${{ matrix.fips && '--fips ' || '' }}${{ inputs.distro-slug }} ${{ matrix.tests-chunk }} -- --slow-tests --core-tests \\\n            --test-group-count=${{ matrix.test-group-count || 1 }} --test-group=${{ matrix.test-group || 1 }}\n\n      - name: Combine Coverage Reports\n        if: always() && inputs.skip-code-coverage == false && steps.spin-up-vm.outcome == 'success'\n        run: |\n          tools --timestamps vm combine-coverage ${{ inputs.distro-slug }}\n\n      - name: Download Test Run Artifacts\n        id: download-artifacts-from-vm\n        if: always() && steps.spin-up-vm.outcome == 'success'\n        run: |\n          tools --timestamps vm download-artifacts ${{ inputs.distro-slug }}\n          # Delete the salt onedir, we won't need it anymore and it will prevent\n          # from it showing in the tree command below\n          rm -rf artifacts/salt*\n          tree -a artifacts\n          if [ \"${{ inputs.skip-code-coverage }}\" != \"true\" ]; then\n            mv artifacts/coverage/.coverage artifacts/coverage/.coverage.${{ inputs.distro-slug }}.${{ inputs.nox-session }}.${{ matrix.transport }}.${{ matrix.tests-chunk }}.grp${{ matrix.test-group || '1' }}\n          fi\n\n      - name: Destroy VM\n        if: always()\n        run: |\n          tools --timestamps vm destroy --no-wait ${{ inputs.distro-slug }} || true\n\n      - name: Upload Code Coverage Test Run Artifacts\n        if: always() && inputs.skip-code-coverage == false && steps.download-artifacts-from-vm.outcome == 'success' && job.status != 'cancelled'\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-coverage-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-grp${{ matrix.test-group || '1' }}-${{ env.TIMESTAMP }}\n          path: |\n            artifacts/coverage/\n\n      - name: Upload JUnit XML Test Run Artifacts\n        if: always() && steps.download-artifacts-from-vm.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-junit-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-grp${{ matrix.test-group || '1' }}-${{ env.TIMESTAMP }}\n          path: |\n            artifacts/xml-unittests-output/\n\n      - name: Upload Test Run Log Artifacts\n        if: always() && steps.download-artifacts-from-vm.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-log-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-${{ matrix.transport }}-${{ matrix.tests-chunk }}-grp${{ matrix.test-group || '1' }}-${{ env.TIMESTAMP }}\n          path: |\n            artifacts/logs\n\n\n  report:\n    name: Test Reports\n    if: always() && fromJSON(needs.generate-matrix.outputs.build-reports) && needs.test.result != 'cancelled' && needs.test.result != 'skipped'\n    runs-on: ubuntu-latest\n    needs:\n      - test\n      - generate-matrix\n\n    steps:\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Merge JUnit XML Test Run Artifacts\n        if: always() && needs.test.result != 'cancelled' && needs.test.result != 'skipped'\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: testrun-junit-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}\n          pattern: testrun-junit-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-*\n          separate-directories: false\n          delete-merged: true\n\n      - name: Merge Log Test Run Artifacts\n        if: always() && needs.test.result != 'cancelled' && needs.test.result != 'skipped'\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: testrun-log-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}\n          pattern: testrun-log-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-*\n          separate-directories: false\n          delete-merged: true\n\n      - name: Merge Code Coverage Test Run Artifacts\n        if: ${{ inputs.skip-code-coverage == false }}\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: testrun-coverage-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}\n          pattern: testrun-coverage-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}-*\n          separate-directories: false\n          delete-merged: true\n\n      - name: Download Code Coverage Test Run Artifacts\n        uses: actions/download-artifact@v4\n        if: ${{ inputs.skip-code-coverage == false }}\n        id: download-coverage-artifacts\n        with:\n          name: testrun-coverage-artifacts-${{ inputs.distro-slug }}-${{ inputs.nox-session }}\n          path: artifacts/coverage/\n\n      - name: Show Downloaded Test Run Artifacts\n        if: ${{ inputs.skip-code-coverage == false }}\n        run: |\n          tree -a artifacts\n\n      - name: Install Nox\n        run: |\n          python3 -m pip install 'nox==${{ inputs.nox-version }}'\n\n      - name: Create XML Coverage Reports\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success' && job.status != 'cancelled'\n        run: |\n          nox --force-color -e create-xml-coverage-reports\n          mv artifacts/coverage/salt.xml artifacts/coverage/salt..${{ inputs.distro-slug }}..${{ inputs.nox-session }}.xml\n          mv artifacts/coverage/tests.xml artifacts/coverage/tests..${{ inputs.distro-slug }}..${{ inputs.nox-session }}.xml\n\n      - name: Report Salt Code Coverage\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success'\n        continue-on-error: true\n        run: |\n          nox --force-color -e report-coverage -- salt\n\n      - name: Report Combined Code Coverage\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success'\n        continue-on-error: true\n        run: |\n          nox --force-color -e report-coverage\n\n      - name: Rename Code Coverage DB\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success'\n        continue-on-error: true\n        run: |\n          mv artifacts/coverage/.coverage artifacts/coverage/.coverage.${{ inputs.distro-slug }}.${{ inputs.nox-session }}\n\n      - name: Upload Code Coverage DB\n        if: always() && inputs.skip-code-coverage == false && steps.download-coverage-artifacts.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: all-testrun-coverage-artifacts-${{ inputs.distro-slug }}.${{ inputs.nox-session }}\n          path: artifacts/coverage\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:36:04.604175", "created_at": "2024-01-10T06:09:21+01:00", "updated_at": "2024-01-10T06:09:21+01:00", "name": "Test Artifact", "path": ".github/workflows/test-packages-action-linux.yml", "contents": "name: Test Artifact\n\non:\n  workflow_call:\n    inputs:\n      distro-slug:\n        required: true\n        type: string\n        description: The OS slug to run tests against\n      platform:\n        required: true\n        type: string\n        description: The platform being tested\n      arch:\n        required: true\n        type: string\n        description: The platform arch being tested\n      pkg-type:\n        required: true\n        type: string\n        description: The platform arch being tested\n      salt-version:\n        type: string\n        required: true\n        description: The Salt version of the packages to install and test\n      cache-prefix:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n      testing-releases:\n        required: true\n        type: string\n        description: A JSON list of releases to test upgrades against\n      nox-version:\n        required: true\n        type: string\n        description: The nox version to install\n      python-version:\n        required: false\n        type: string\n        description: The python version to run tests with\n        default: \"3.10\"\n      fips:\n        required: false\n        type: boolean\n        default: false\n        description: Test run with FIPS enabled\n      package-name:\n        required: false\n        type: string\n        description: The onedir package name to use\n        default: salt\n      nox-session:\n        required: false\n        type: string\n        description: The nox session to run\n        default: ci-test-onedir\n      skip-code-coverage:\n        required: false\n        type: boolean\n        description: Skip code coverage\n        default: false\n\nenv:\n  COLUMNS: 190\n  AWS_MAX_ATTEMPTS: \"10\"\n  AWS_RETRY_MODE: \"adaptive\"\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n  USE_S3_CACHE: 'true'\n\njobs:\n\n  generate-matrix:\n    name: Generate Matrix\n    runs-on:\n      # We need to run on our self-hosted runners because we need proper credentials\n      # for boto3 to scan through our repositories.\n      - self-hosted\n      - linux\n      - x86_64\n    outputs:\n      pkg-matrix-include: ${{ steps.generate-pkg-matrix.outputs.matrix }}\n      build-reports: ${{ steps.generate-pkg-matrix.outputs.build-reports }}\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Generate Package Test Matrix\n        id: generate-pkg-matrix\n        run: |\n          tools ci pkg-matrix ${{ inputs.distro-slug }} \\\n            ${{ inputs.pkg-type }} --testing-releases ${{ join(fromJSON(inputs.testing-releases), ' ') }}\n\n\n  test:\n    name: Test\n    runs-on:\n      - self-hosted\n      - linux\n      - bastion\n    timeout-minutes: 120  # 2 Hours - More than this and something is wrong\n    needs:\n      - generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.generate-matrix.outputs.pkg-matrix-include) }}\n\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: \"Set `TIMESTAMP` environment variable\"\n        shell: bash\n        run: |\n          echo \"TIMESTAMP=$(date +%s)\" | tee -a \"$GITHUB_ENV\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Download Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-${{ inputs.arch }}-${{ inputs.pkg-type }}\n          path: artifacts/pkg/\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Decompress Onedir Tarball\n        shell: bash\n        run: |\n          python3 -c \"import os; os.makedirs('artifacts', exist_ok=True)\"\n          cd artifacts\n          tar xvf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz\n\n      - name: List Packages\n        run: |\n          tree artifacts/pkg/\n\n      - name: Download nox.linux.${{ inputs.arch }}.tar.* artifact for session ${{ inputs.nox-session }}\n        uses: actions/download-artifact@v4\n        with:\n          name: nox-linux-${{ inputs.arch }}-${{ inputs.nox-session }}\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Start VM\n        id: spin-up-vm\n        run: |\n          tools --timestamps vm create --environment \"${SPB_ENVIRONMENT}\" --retries=2 ${{ inputs.distro-slug }}\n\n      - name: List Free Space\n        run: |\n          tools --timestamps vm ssh ${{ inputs.distro-slug }} -- df -h || true\n\n      - name: Upload Checkout To VM\n        run: |\n          tools --timestamps vm rsync ${{ inputs.distro-slug }}\n\n      - name: Decompress .nox Directory\n        run: |\n          tools --timestamps vm decompress-dependencies ${{ inputs.distro-slug }}\n\n      - name: Downgrade importlib-metadata\n        if: ${{ contains(fromJSON('[\"amazonlinux-2\", \"centos-7\"]'), inputs.distro-slug) && contains(fromJSON('[\"upgrade-classic\", \"downgrade-classic\"]'), matrix.tests-chunk) }}\n        run: |\n          # This step can go away once we stop testing classic packages upgrade/downgrades to/from 3005.x\n          tools --timestamps vm ssh ${{ inputs.distro-slug }} -- \"sudo python3 -m pip install -U 'importlib-metadata<=4.13.0' 'virtualenv<=20.21.1'\"\n\n      - name: Show System Info\n        run: |\n          tools --timestamps --timeout-secs=1800 vm test --skip-requirements-install --print-system-information-only \\\n            --nox-session=${{ inputs.nox-session }}-pkgs ${{ inputs.distro-slug }} -- ${{ matrix.tests-chunk }}\n\n      - name: Run Package Tests\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install ${{ inputs.fips && '--fips ' || '' }}\\\n          --nox-session=${{ inputs.nox-session }}-pkgs --rerun-failures ${{ inputs.distro-slug }} -- ${{ matrix.tests-chunk }} \\\n          ${{ matrix.version && format('--prev-version={0}', matrix.version) || ''}}\n\n      - name: Download Test Run Artifacts\n        id: download-artifacts-from-vm\n        if: always() && steps.spin-up-vm.outcome == 'success'\n        run: |\n          tools --timestamps vm download-artifacts ${{ inputs.distro-slug }}\n          # Delete the salt onedir, we won't need it anymore and it will prevent\n          # from it showing in the tree command below\n          rm -rf artifacts/salt*\n          tree -a artifacts\n\n      - name: Destroy VM\n        if: always()\n        run: |\n          tools --timestamps vm destroy --no-wait ${{ inputs.distro-slug }} || true\n\n      - name: Upload Test Run Artifacts\n        if: always() && steps.download-artifacts-from-vm.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: pkg-testrun-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.pkg-type }}-${{ inputs.arch }}-${{ matrix.tests-chunk }}-${{ matrix.version || 'no-version'}}-${{ env.TIMESTAMP }}\n          path: |\n            artifacts\n            !artifacts/pkg/*\n            !artifacts/salt/*\n            !artifacts/salt-*.tar.*\n\n  report:\n    name: Report\n    runs-on: ubuntu-latest\n    if: always() && fromJSON(needs.generate-matrix.outputs.build-reports) && needs.test.result != 'cancelled' && needs.test.result != 'skipped'\n    needs:\n      - generate-matrix\n      - test\n\n    steps:\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Merge Test Run Artifacts\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: pkg-testrun-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.pkg-type }}\n          pattern: pkg-testrun-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.pkg-type }}-*\n          separate-directories: true\n          delete-merged: true\n\n      - name: Download Test Run Artifacts\n        id: download-test-run-artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: pkg-testrun-artifacts-${{ inputs.distro-slug }}${{ inputs.fips && '-fips' || '' }}-${{ inputs.pkg-type }}\n          path: artifacts\n\n      - name: Show Test Run Artifacts\n        if: always() && steps.download-test-run-artifacts.outcome == 'success'\n        run: |\n          tree -a artifacts\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:36:05.684226", "created_at": "2024-01-10T06:09:21+01:00", "updated_at": "2024-01-10T06:09:21+01:00", "name": "Test Artifact", "path": ".github/workflows/test-packages-action-windows.yml", "contents": "name: Test Artifact\n\non:\n  workflow_call:\n    inputs:\n      distro-slug:\n        required: true\n        type: string\n        description: The OS slug to run tests against\n      platform:\n        required: true\n        type: string\n        description: The platform being tested\n      arch:\n        required: true\n        type: string\n        description: The platform arch being tested\n      pkg-type:\n        required: true\n        type: string\n        description: The platform arch being tested\n      salt-version:\n        type: string\n        required: true\n        description: The Salt version of the packages to install and test\n      cache-prefix:\n        required: true\n        type: string\n        description: Seed used to invalidate caches\n      testing-releases:\n        required: true\n        type: string\n        description: A JSON list of releases to test upgrades against\n      nox-version:\n        required: true\n        type: string\n        description: The nox version to install\n      python-version:\n        required: false\n        type: string\n        description: The python version to run tests with\n        default: \"3.10\"\n      fips:\n        required: false\n        type: boolean\n        default: false\n        description: Test run with FIPS enabled\n      package-name:\n        required: false\n        type: string\n        description: The onedir package name to use\n        default: salt\n      nox-session:\n        required: false\n        type: string\n        description: The nox session to run\n        default: ci-test-onedir\n      skip-code-coverage:\n        required: false\n        type: boolean\n        description: Skip code coverage\n        default: false\n\nenv:\n  COLUMNS: 190\n  AWS_MAX_ATTEMPTS: \"10\"\n  AWS_RETRY_MODE: \"adaptive\"\n  PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/\n  PIP_EXTRA_INDEX_URL: https://pypi.org/simple\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n\njobs:\n\n  generate-matrix:\n    name: Generate Matrix\n    runs-on:\n      # We need to run on our self-hosted runners because we need proper credentials\n      # for boto3 to scan through our repositories.\n      - self-hosted\n      - linux\n      - x86_64\n    outputs:\n      pkg-matrix-include: ${{ steps.generate-pkg-matrix.outputs.matrix }}\n      build-reports: ${{ steps.generate-pkg-matrix.outputs.build-reports }}\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Generate Package Test Matrix\n        id: generate-pkg-matrix\n        run: |\n          tools ci pkg-matrix ${{ inputs.fips && '--fips ' || '' }}${{ inputs.distro-slug }} \\\n            ${{ inputs.pkg-type }} --testing-releases ${{ join(fromJSON(inputs.testing-releases), ' ') }}\n\n\n  test:\n    name: Test\n    runs-on:\n      - self-hosted\n      - linux\n      - bastion\n    timeout-minutes: 120  # 2 Hours - More than this and something is wrong\n    needs:\n      - generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJSON(needs.generate-matrix.outputs.pkg-matrix-include) }}\n\n    steps:\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: \"Set `TIMESTAMP` environment variable\"\n        shell: bash\n        run: |\n          echo \"TIMESTAMP=$(date +%s)\" | tee -a \"$GITHUB_ENV\"\n\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: Download Packages\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-${{ inputs.arch }}-${{ inputs.pkg-type }}\n          path: artifacts/pkg/\n\n      - name: Download Onedir Tarball as an Artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz\n          path: artifacts/\n\n      - name: Decompress Onedir Tarball\n        shell: bash\n        run: |\n          python3 -c \"import os; os.makedirs('artifacts', exist_ok=True)\"\n          cd artifacts\n          tar xvf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz\n\n      - name: List Packages\n        run: |\n          tree artifacts/pkg/\n\n      - name: Download nox.windows.${{ inputs.arch }}.tar.* artifact for session ${{ inputs.nox-session }}\n        uses: actions/download-artifact@v4\n        with:\n          name: nox-windows-${{ inputs.arch }}-${{ inputs.nox-session }}\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ inputs.cache-prefix }}\n\n      - name: Get Salt Project GitHub Actions Bot Environment\n        run: |\n          TOKEN=$(curl -sS -f -X PUT \"http://169.254.169.254/latest/api/token\" -H \"X-aws-ec2-metadata-token-ttl-seconds: 30\")\n          SPB_ENVIRONMENT=$(curl -sS -f -H \"X-aws-ec2-metadata-token: $TOKEN\" http://169.254.169.254/latest/meta-data/tags/instance/spb:environment)\n          echo \"SPB_ENVIRONMENT=$SPB_ENVIRONMENT\" >> \"$GITHUB_ENV\"\n\n      - name: Start VM\n        id: spin-up-vm\n        run: |\n          tools --timestamps vm create --environment \"${SPB_ENVIRONMENT}\" --retries=2 ${{ inputs.distro-slug }}\n\n      - name: List Free Space\n        run: |\n          tools --timestamps vm ssh ${{ inputs.distro-slug }} -- df -h || true\n\n      - name: Upload Checkout To VM\n        run: |\n          tools --timestamps vm rsync ${{ inputs.distro-slug }}\n\n      - name: Decompress .nox Directory\n        run: |\n          tools --timestamps vm decompress-dependencies ${{ inputs.distro-slug }}\n\n      - name: Downgrade importlib-metadata\n        if: ${{ contains(fromJSON('[\"amazonlinux-2\", \"centos-7\"]'), inputs.distro-slug) && contains(fromJSON('[\"upgrade-classic\", \"downgrade-classic\"]'), matrix.tests-chunk) }}\n        run: |\n          # This step can go away once we stop testing classic packages upgrade/downgrades to/from 3005.x\n          tools --timestamps vm ssh ${{ inputs.distro-slug }} -- \"sudo python3 -m pip install -U 'importlib-metadata<=4.13.0' 'virtualenv<=20.21.1'\"\n\n      - name: Show System Info\n        run: |\n          tools --timestamps --timeout-secs=1800 vm test --skip-requirements-install --print-system-information-only \\\n            --nox-session=${{ inputs.nox-session }}-pkgs ${{ inputs.distro-slug }} -- ${{ matrix.tests-chunk }}\n\n      - name: Run Package Tests\n        run: |\n          tools --timestamps --no-output-timeout-secs=1800 --timeout-secs=14400 vm test --skip-requirements-install ${{ matrix.fips && '--fips ' || '' }}\\\n          --nox-session=${{ inputs.nox-session }}-pkgs --rerun-failures ${{ inputs.distro-slug }} -- ${{ matrix.tests-chunk }} \\\n          ${{ matrix.version && format('--prev-version={0}', matrix.version) || ''}}\n\n      - name: Download Test Run Artifacts\n        id: download-artifacts-from-vm\n        if: always() && steps.spin-up-vm.outcome == 'success'\n        run: |\n          tools --timestamps vm download-artifacts ${{ inputs.distro-slug }}\n          # Delete the salt onedir, we won't need it anymore and it will prevent\n          # from it showing in the tree command below\n          rm -rf artifacts/salt*\n          tree -a artifacts\n\n      - name: Destroy VM\n        if: always()\n        run: |\n          tools --timestamps vm destroy --no-wait ${{ inputs.distro-slug }} || true\n\n      - name: Upload Test Run Artifacts\n        if: always() && steps.download-artifacts-from-vm.outcome == 'success'\n        uses: actions/upload-artifact@v4\n        with:\n          name: pkg-testrun-artifacts-${{ inputs.distro-slug }}-${{ inputs.pkg-type }}-${{ inputs.arch }}-${{ matrix.tests-chunk }}-${{ matrix.version || 'no-version'}}-${{ env.TIMESTAMP }}\n          path: |\n            artifacts\n            !artifacts/pkg/*\n            !artifacts/salt/*\n            !artifacts/salt-*.tar.*\n\n  report:\n    name: Report\n    runs-on: ubuntu-latest\n    if: always() && fromJSON(needs.generate-matrix.outputs.build-reports) && needs.test.result != 'cancelled' && needs.test.result != 'skipped'\n    needs:\n      - generate-matrix\n      - test\n\n    steps:\n      - name: Checkout Source Code\n        uses: actions/checkout@v4\n\n      - name: \"Throttle Builds\"\n        shell: bash\n        run: |\n          t=$(shuf -i 1-30 -n 1); echo \"Sleeping $t seconds\"; sleep \"$t\"\n\n      - name: Merge Test Run Artifacts\n        uses: actions/upload-artifact/merge@v4\n        continue-on-error: true\n        with:\n          name: pkg-testrun-artifacts-${{ inputs.distro-slug }}-${{ inputs.pkg-type }}\n          pattern: pkg-testrun-artifacts-${{ inputs.distro-slug }}-${{ inputs.pkg-type }}-*\n          separate-directories: true\n          delete-merged: true\n\n      - name: Download Test Run Artifacts\n        id: download-test-run-artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: pkg-testrun-artifacts-${{ inputs.distro-slug }}-${{ inputs.pkg-type }}\n          path: artifacts\n\n      - name: Show Test Run Artifacts\n        if: always() && steps.download-test-run-artifacts.outcome == 'success'\n        run: |\n          tree -a artifacts\n", "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:36:06.723643", "created_at": "2024-05-22T22:28:00+02:00", "updated_at": "2024-07-12T22:53:26+02:00", "name": "Test Windows Installer", "path": ".github/workflows/test-installer-action-windows.yml", "contents": null, "state": "active", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:36:07.769877", "created_at": "2023-01-31T17:57:59+01:00", "updated_at": "2023-03-14T18:16:43+01:00", "name": "Scheduled", "path": ".github/workflows/scheduled.yml", "contents": "# Do not edit these workflows directly as the changes made will be overwritten.\n# Instead, edit the template '.github/workflows/templates/scheduled.yml.jinja'\n---\n\nname: Scheduled\nrun-name: \"Scheduled (branch: ${{ github.ref_name }})\"\n\non:\n  schedule:\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule\n    - cron: '0 */8 * * *'  # Run every 8 hours\n\nenv:\n  COLUMNS: 190\n  CACHE_SEED: SEED-2  # Bump the number to invalidate all caches\n  RELENV_DATA: \"${{ github.workspace }}/.relenv\"\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  RAISE_DEPRECATIONS_RUNTIME_ERRORS: \"1\"\n\npermissions:\n  contents: read  # for dorny/paths-filter to fetch a list of changed files\n  pull-requests: read  # for dorny/paths-filter to read pull requests\n  actions: write  # to trigger branch scheduled builds\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: false\n\njobs:\n\n  workflow-requirements:\n    name: Check Workflow Requirements\n    runs-on: ubuntu-latest\n    outputs:\n      requirements-met: ${{ steps.check-requirements.outputs.requirements-met }}\n    steps:\n      - name: Check Requirements\n        id: check-requirements\n        run: |\n          if [ \"${{ vars.RUN_SCHEDULED_BUILDS }}\" = \"1\" ]; then\n            MSG=\"Running workflow because RUN_SCHEDULED_BUILDS=1\"\n            echo \"${MSG}\"\n            echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n            echo \"requirements-met=true\" >> \"${GITHUB_OUTPUT}\"\n          elif [ \"${{ github.event.repository.fork }}\" = \"true\" ]; then\n            MSG=\"Not running workflow because ${{ github.repository }} is a fork\"\n            echo \"${MSG}\"\n            echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n            echo \"requirements-met=false\" >> \"${GITHUB_OUTPUT}\"\n          elif [ \"${{ github.event.repository.private }}\" = \"true\" ]; then\n            MSG=\"Not running workflow because ${{ github.repository }} is a private repository\"\n            echo \"${MSG}\"\n            echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n            echo \"requirements-met=false\" >> \"${GITHUB_OUTPUT}\"\n          else\n            MSG=\"Running workflow because ${{ github.repository }} is not a fork\"\n            echo \"${MSG}\"\n            echo \"${MSG}\" >> \"${GITHUB_STEP_SUMMARY}\"\n            echo \"requirements-met=true\" >> \"${GITHUB_OUTPUT}\"\n          fi\n\n  trigger-branch-scheduled-builds:\n    name: Trigger Branch Workflows\n    if: ${{ github.event_name == 'schedule' && fromJSON(needs.workflow-requirements.outputs.requirements-met) }}\n    runs-on: ubuntu-latest\n    needs:\n      - workflow-requirements\n\n    steps:\n\n      - name: Trigger 3006.x branch\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh workflow run scheduled.yml --repo ${{ github.repository }} --ref 3006.x\n\n      - name: Trigger 3007.x branch\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh workflow run scheduled.yml --repo ${{ github.repository }} --ref 3007.x\n\n  prepare-workflow:\n    name: Prepare Workflow Run\n    runs-on: ubuntu-latest\n    if: ${{ fromJSON(needs.workflow-requirements.outputs.requirements-met) }}\n    needs:\n      - workflow-requirements\n    outputs:\n      jobs: ${{ steps.define-jobs.outputs.jobs }}\n      runners: ${{ steps.runner-types.outputs.runners }}\n      changed-files: ${{ steps.process-changed-files.outputs.changed-files }}\n      os-labels: ${{ steps.get-pull-labels.outputs.os-labels }}\n      pull-labels: ${{ steps.get-pull-labels.outputs.test-labels }}\n      testrun: ${{ steps.define-testrun.outputs.testrun }}\n      salt-version: ${{ steps.setup-salt-version.outputs.salt-version }}\n      cache-seed: ${{ steps.set-cache-seed.outputs.cache-seed }}\n      latest-release: ${{ steps.get-salt-releases.outputs.latest-release }}\n      releases: ${{ steps.get-salt-releases.outputs.releases }}\n      release-changelog-target: ${{ steps.get-release-changelog-target.outputs.release-changelog-target }}\n      testing-releases: ${{ steps.get-testing-releases.outputs.testing-releases }}\n      nox-archive-hash: ${{ steps.nox-archive-hash.outputs.nox-archive-hash }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0  # Full clone to also get the tags to get the right salt version\n\n      - name: Get Changed Files\n        if: ${{ github.event_name == 'pull_request'}}\n        id: changed-files\n        uses: dorny/paths-filter@v3\n        with:\n          token: ${{ github.token }}\n          list-files: json\n          filters: |\n            repo:\n              - added|modified:\n                - '**'\n            doc-requirements:\n              - added|modified: &doc_requirements\n                - requirements/static/ci/py3.*/docs.txt\n            lint-requirements:\n              - added|modified: &lint_requirements\n                - requirements/static/ci/py3.*/lint.txt\n            pkg_requirements:\n              - added|modified: &pkg_requirements\n                - requirements/static/pkg/py3.*/darwin.txt\n                - requirements/static/pkg/py3.*/linux.txt\n                - requirements/static/pkg/py3.*/freebsd.txt\n                - requirements/static/pkg/py3.*/windows.txt\n            test_requirements:\n              - added|modified: &test_requirements\n                - requirements/static/ci/py3.*/darwin.txt\n                - requirements/static/ci/py3.*/linux.txt\n                - requirements/static/ci/py3.*/freebsd.txt\n                - requirements/static/ci/py3.*/windows.txt\n                - requirements/static/ci/py3.*/darwin-crypto.txt\n                - requirements/static/ci/py3.*/linux-crypto.txt\n                - requirements/static/ci/py3.*/freebsd-crypto.txt\n                - requirements/static/ci/py3.*/windows-crypto.txt\n            deleted:\n              - deleted:\n                - '**'\n            docs:\n              - added|modified:\n                - doc/**\n                - .github/workflows/build-docs.yml\n                - *doc_requirements\n            workflows:\n              - added|modified:\n                - cicd/shared-gh-workflows-context.yml\n                - .github/actions/**/action.yml\n                - .github/workflows/*.yml\n                - .github/workflows/templates/*.yml.jinja2\n                - tools/precommit/workflows.py\n            salt:\n              - added|modified: &salt_added_modified\n                - setup.py\n                - noxfile.py\n                - salt/**/*.py\n                - tasks/**/*.py\n                - tools/**/*.py\n            tests:\n              - added|modified: &tests_added_modified\n                - tests/**/*.py\n            lint:\n              - added|modified:\n                - .pylintrc\n                - *lint_requirements\n            golden_images:\n              - added|modified:\n                - cicd/golden-images.json\n            pkg_tests:\n              - added|modified: &pkg_tests_added_modified\n                - pkg/**\n                - *pkg_requirements\n                - *salt_added_modified\n            testrun:\n              - added|modified:\n                - *pkg_requirements\n                - *test_requirements\n                - *salt_added_modified\n                - *tests_added_modified\n                - *pkg_tests_added_modified\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ env.CACHE_SEED }}\n\n      - name: Pretty Print The GH Actions Event\n        run:\n          tools ci print-gh-event\n\n      - name: Set Cache Seed Output\n        id: set-cache-seed\n        run: |\n          tools ci define-cache-seed ${{ env.CACHE_SEED }}\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"\"\n          validate-version: true\n\n      - name: Get Pull Request Test Labels\n        id: get-pull-labels\n        if: ${{ github.event_name == 'pull_request'}}\n        env:\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-pr-test-labels --repository ${{ github.repository }}\n\n      - name: Get Hash For Nox Tarball Cache\n        id: nox-archive-hash\n        run: |\n          echo \"nox-archive-hash=${{ hashFiles('requirements/**/*.txt', 'cicd/golden-images.json', 'noxfile.py', 'pkg/common/env-cleanup-rules.yml', '.github/workflows/build-deps-ci-action.yml') }}\" | tee -a \"$GITHUB_OUTPUT\"\n\n      - name: Write Changed Files To A Local File\n        run:\n          echo '${{ toJSON(steps.changed-files.outputs) }}' > changed-files.json\n\n      - name: Check Local Changed Files Contents\n        if: ${{ github.event_name == 'pull_request' }}\n        run:\n          cat changed-files.json\n\n      - name: Process Changed Files\n        id: process-changed-files\n        run: |\n          tools ci process-changed-files ${{ github.event_name }} changed-files.json\n\n      - name: Check Collected Changed Files\n        if: ${{ github.event_name == 'pull_request' }}\n        run: |\n          echo '${{ steps.process-changed-files.outputs.changed-files }}' | jq -C '.'\n\n      - name: Define Runner Types\n        id: runner-types\n        run: |\n          tools ci runner-types ${{ github.event_name }}\n\n      - name: Define Jobs To Run\n        id: define-jobs\n        run: |\n          tools ci define-jobs ${{ github.event_name }} changed-files.json\n\n      - name: Get Salt Releases\n        id: get-salt-releases\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-releases\n\n      - name: Get Latest Salt Releases for Testing\n        id: get-testing-releases\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          tools ci get-testing-releases ${{ join(fromJSON(steps.get-salt-releases.outputs.releases), ' ') }} --salt-version ${{ steps.setup-salt-version.outputs.salt-version }}\n\n      - name: Define Testrun\n        id: define-testrun\n        run: |\n          tools ci define-testrun ${{ github.event_name }} changed-files.json\n\n      - name: Check Contents of generated testrun-changed-files.txt\n        if: ${{ fromJSON(steps.define-testrun.outputs.testrun)['type'] != 'full' }}\n        run: |\n          cat testrun-changed-files.txt || true\n\n      - name: Upload testrun-changed-files.txt\n        if: ${{ fromJSON(steps.define-testrun.outputs.testrun)['type'] != 'full' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: testrun-changed-files.txt\n          path: testrun-changed-files.txt\n\n      - name: Get Release Changelog Target\n        id: get-release-changelog-target\n        run: |\n          tools ci get-release-changelog-target ${{ github.event_name }}\n\n\n  pre-commit:\n    name: Pre-Commit\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    uses: ./.github/workflows/pre-commit-action.yml\n    needs:\n      - prepare-workflow\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      changed-files: ${{ needs.prepare-workflow.outputs.changed-files }}\n      pre-commit-version: \"3.0.4\"\n\n  lint:\n    name: Lint\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['lint'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    uses: ./.github/workflows/lint-action.yml\n    needs:\n      - prepare-workflow\n    with:\n      changed-files: ${{ needs.prepare-workflow.outputs.changed-files }}\n\n  prepare-release:\n    name: \"Prepare Release: ${{ needs.prepare-workflow.outputs.salt-version }}\"\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['prepare-release'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    runs-on: ubuntu-latest\n    needs:\n      - prepare-workflow\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-changelog\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n      - name: Update Debian changelog\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools changelog update-deb --draft\n          tools changelog update-deb\n\n      - name: Update RPM changelog\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools changelog update-rpm --draft\n          tools changelog update-rpm\n\n      - name: Create Release Notes Template\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          if [ \"${{ needs.prepare-workflow.outputs.release-changelog-target }}\" == \"next-major-release\" ]; then\n            tools changelog update-release-notes --next-release --template-only\n          else\n            tools changelog update-release-notes --template-only\n          fi\n\n      - name: Update Release Notes\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          if [ \"${{ needs.prepare-workflow.outputs.release-changelog-target }}\" == \"next-major-release\" ]; then\n              tools changelog update-release-notes --draft --next-release\n              tools changelog update-release-notes --next-release\n          else\n              tools changelog update-release-notes --draft\n              tools changelog update-release-notes\n          fi\n\n      - name: Generate MAN Pages\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        env:\n          LATEST_RELEASE: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n          SALT_ON_SALTSTACK: \"1\"\n        run: |\n          tools docs man\n\n      - name: Update Changelog\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          tools changelog update-changelog-md --draft\n          tools changelog update-changelog-md\n\n      - name: Show Changes Diff\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          git diff --color\n\n      - name: Configure Git\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          git config --global user.name \"Salt Project Packaging\"\n          git config --global user.email saltproject-packaging@vmware.com\n\n      - name: Setup Pre-Commit\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        uses: ./.github/actions/setup-pre-commit\n        with:\n          version: \"3.0.4\"\n          cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n\n      - name: Commit Changes\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        env:\n          SKIP: lint-salt,lint-tests\n          PRE_COMMIT_COLOR: always\n        run: |\n          # Run it twice so that pre-commit can fix anything that can be automatically fixed.\n          git commit -am \"Release v${{ needs.prepare-workflow.outputs.salt-version }}\" || \\\n            git commit -am \"Release v${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n      - name: Create release changes patch\n        shell: bash\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        run: |\n          git format-patch --keep-subject --binary --stdout HEAD^ > salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n\n      - name: Upload Changes Diff Artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}\n        with:\n          name: salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n          path: salt-${{ needs.prepare-workflow.outputs.salt-version }}.patch\n          retention-days: 7\n          if-no-files-found: error\n\n  build-docs:\n    name: Documentation\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-docs'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-source-tarball\n    uses: ./.github/workflows/build-docs.yml\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n  build-source-tarball:\n    name: Build Source Tarball\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-source-tarball'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - prepare-release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-build\n\n      - name: Setup Salt Version\n        id: setup-salt-version\n        uses: ./.github/actions/setup-salt-version\n        with:\n          salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n      - name: Build Source Tarball\n        uses: ./.github/actions/build-source-tarball\n        with:\n          salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n\n  build-deps-onedir:\n    name: Build Dependencies Onedir\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-deps-onedir'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n    uses: ./.github/workflows/build-deps-onedir.yml\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      self-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n      github-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n\n  build-salt-onedir:\n    name: Build Salt Onedir\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-salt-onedir'] }}\n    needs:\n      - prepare-workflow\n      - build-deps-onedir\n      - build-source-tarball\n    uses: ./.github/workflows/build-salt-onedir.yml\n    with:\n      cache-seed: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      self-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n      github-hosted-runners: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n\n  build-pkgs-onedir:\n    name: Build Packages\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-pkgs'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    uses: ./.github/workflows/build-packages.yml\n    with:\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n      source: \"onedir\"\n\n  build-pkgs-src:\n    name: Build Packages\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-pkgs'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    uses: ./.github/workflows/build-packages.yml\n    with:\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}\n      relenv-version: \"0.16.0\"\n      python-version: \"3.10.14\"\n      source: \"src\"\n  build-ci-deps:\n    name: CI Deps\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['build-deps-ci'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-salt-onedir\n    uses: ./.github/workflows/build-deps-ci-action.yml\n    with:\n      nox-session: ci-test-onedir\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      nox-archive-hash: \"${{ needs.prepare-workflow.outputs.nox-archive-hash }}\"\n\n  rockylinux-8-pkg-tests:\n    name: Rocky Linux 8 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-8\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  rockylinux-8-arm64-pkg-tests:\n    name: Rocky Linux 8 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-8-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  rockylinux-9-pkg-tests:\n    name: Rocky Linux 9 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-9\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  rockylinux-9-arm64-pkg-tests:\n    name: Rocky Linux 9 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: rockylinux-9-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2-pkg-tests:\n    name: Amazon Linux 2 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2-arm64-pkg-tests:\n    name: Amazon Linux 2 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2023-pkg-tests:\n    name: Amazon Linux 2023 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  amazonlinux-2023-arm64-pkg-tests:\n    name: Amazon Linux 2023 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  centos-7-pkg-tests:\n    name: CentOS 7 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: centos-7\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-11-pkg-tests:\n    name: Debian 11 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-11\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-11-arm64-pkg-tests:\n    name: Debian 11 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-11-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-12-pkg-tests:\n    name: Debian 12 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-12\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  debian-12-arm64-pkg-tests:\n    name: Debian 12 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: debian-12-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-4-pkg-tests:\n    name: Photon OS 4 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-4-arm64-pkg-tests:\n    name: Photon OS 4 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-4-pkg-tests-fips:\n    name: Photon OS 4 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  photonos-4-arm64-pkg-tests-fips:\n    name: Photon OS 4 Arm64 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  photonos-5-pkg-tests:\n    name: Photon OS 5 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-5-arm64-pkg-tests:\n    name: Photon OS 5 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  photonos-5-pkg-tests-fips:\n    name: Photon OS 5 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  photonos-5-arm64-pkg-tests-fips:\n    name: Photon OS 5 Arm64 Package Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: rpm\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n      fips: true\n\n  ubuntu-2004-pkg-tests:\n    name: Ubuntu 20.04 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2004-arm64-pkg-tests:\n    name: Ubuntu 20.04 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2204-pkg-tests:\n    name: Ubuntu 22.04 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2204-arm64-pkg-tests:\n    name: Ubuntu 22.04 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2404-pkg-tests:\n    name: Ubuntu 24.04 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  ubuntu-2404-arm64-pkg-tests:\n    name: Ubuntu 24.04 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: deb\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  macos-12-pkg-tests:\n    name: macOS 12 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-macos.yml\n    with:\n      distro-slug: macos-12\n      runner: macos-12\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: macos\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  macos-13-pkg-tests:\n    name: macOS 13 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-macos.yml\n    with:\n      distro-slug: macos-13\n      runner: macos-13\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: macos\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  macos-13-arm64-pkg-tests:\n    name: macOS 13 Arm64 Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-macos.yml\n    with:\n      distro-slug: macos-13-arm64\n      runner: macos-13-xlarge\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: arm64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: macos\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2016-nsis-pkg-tests:\n    name: Windows 2016 NSIS Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2016\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: NSIS\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2016-msi-pkg-tests:\n    name: Windows 2016 MSI Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2016\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: MSI\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2019-nsis-pkg-tests:\n    name: Windows 2019 NSIS Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2019\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: NSIS\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2019-msi-pkg-tests:\n    name: Windows 2019 MSI Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2019\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: MSI\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2022-nsis-pkg-tests:\n    name: Windows 2022 NSIS Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2022\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: NSIS\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2022-msi-pkg-tests:\n    name: Windows 2022 MSI Package Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test-pkg'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-pkgs-onedir\n      - build-ci-deps\n    uses: ./.github/workflows/test-packages-action-windows.yml\n    with:\n      distro-slug: windows-2022\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      pkg-type: MSI\n      nox-version: 2022.8.7\n      python-version: \"3.10\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      testing-releases: ${{ needs.prepare-workflow.outputs.testing-releases }}\n\n  windows-2016:\n    name: Windows 2016 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-windows.yml\n    with:\n      distro-slug: windows-2016\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 210 || 360 }}\n\n  windows-2019:\n    name: Windows 2019 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-windows.yml\n    with:\n      distro-slug: windows-2019\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 210 || 360 }}\n\n  windows-2022:\n    name: Windows 2022 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-windows.yml\n    with:\n      distro-slug: windows-2022\n      nox-session: ci-test-onedir\n      platform: windows\n      arch: amd64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 210 || 360 }}\n\n  macos-12:\n    name: macOS 12 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-macos.yml\n    with:\n      distro-slug: macos-12\n      runner: macos-12\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  macos-13:\n    name: macOS 13 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-macos.yml\n    with:\n      distro-slug: macos-13\n      runner: macos-13\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  macos-13-arm64:\n    name: macOS 13 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-macos.yml\n    with:\n      distro-slug: macos-13-arm64\n      runner: macos-13-xlarge\n      nox-session: ci-test-onedir\n      platform: macos\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-8:\n    name: Rocky Linux 8 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-8\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-8-arm64:\n    name: Rocky Linux 8 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-8-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-9:\n    name: Rocky Linux 9 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-9\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  rockylinux-9-arm64:\n    name: Rocky Linux 9 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: rockylinux-9-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2:\n    name: Amazon Linux 2 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2-arm64:\n    name: Amazon Linux 2 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2023:\n    name: Amazon Linux 2023 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  amazonlinux-2023-arm64:\n    name: Amazon Linux 2023 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: amazonlinux-2023-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  archlinux-lts:\n    name: Arch Linux LTS Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: archlinux-lts\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  centos-7:\n    name: CentOS 7 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: centos-7\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-11:\n    name: Debian 11 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-11\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-11-arm64:\n    name: Debian 11 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-11-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-12:\n    name: Debian 12 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-12\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  debian-12-arm64:\n    name: Debian 12 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: debian-12-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  fedora-40:\n    name: Fedora 40 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: fedora-40\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  opensuse-15:\n    name: Opensuse 15 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: opensuse-15\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-4:\n    name: Photon OS 4 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-4-arm64:\n    name: Photon OS 4 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-4-fips:\n    name: Photon OS 4 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  photonos-4-arm64-fips:\n    name: Photon OS 4 Arm64 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-4-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  photonos-5:\n    name: Photon OS 5 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-5-arm64:\n    name: Photon OS 5 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  photonos-5-fips:\n    name: Photon OS 5 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  photonos-5-arm64-fips:\n    name: Photon OS 5 Arm64 Test (fips)\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: photonos-5-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n      fips: true\n\n  ubuntu-2004:\n    name: Ubuntu 20.04 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2004-arm64:\n    name: Ubuntu 20.04 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-20.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2204:\n    name: Ubuntu 22.04 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2204-arm64:\n    name: Ubuntu 22.04 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-22.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2404:\n    name: Ubuntu 24.04 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: x86_64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  ubuntu-2404-arm64:\n    name: Ubuntu 24.04 Arm64 Test\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.jobs)['test'] && fromJSON(needs.prepare-workflow.outputs.runners)['self-hosted'] }}\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n    uses: ./.github/workflows/test-action-linux.yml\n    with:\n      distro-slug: ubuntu-24.04-arm64\n      nox-session: ci-test-onedir\n      platform: linux\n      arch: arm64\n      nox-version: 2022.8.7\n      gh-actions-python-version: \"3.10\"\n      testrun: ${{ needs.prepare-workflow.outputs.testrun }}\n      salt-version: \"${{ needs.prepare-workflow.outputs.salt-version }}\"\n      cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}|3.10.14\n      skip-code-coverage: false\n      workflow-slug: scheduled\n      timeout-minutes: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['type'] == 'full' && 180 || 360 }}\n\n  combine-all-code-coverage:\n    name: Combine Code Coverage\n    if: ${{ fromJSON(needs.prepare-workflow.outputs.testrun)['skip_code_coverage'] == false }}\n    runs-on: ubuntu-latest\n    needs:\n      - prepare-workflow\n      - build-ci-deps\n      - windows-2016\n      - windows-2019\n      - windows-2022\n      - macos-12\n      - macos-13\n      - macos-13-arm64\n      - rockylinux-8\n      - rockylinux-8-arm64\n      - rockylinux-9\n      - rockylinux-9-arm64\n      - amazonlinux-2\n      - amazonlinux-2-arm64\n      - amazonlinux-2023\n      - amazonlinux-2023-arm64\n      - archlinux-lts\n      - centos-7\n      - debian-11\n      - debian-11-arm64\n      - debian-12\n      - debian-12-arm64\n      - fedora-40\n      - opensuse-15\n      - photonos-4\n      - photonos-4-arm64\n      - photonos-4-fips\n      - photonos-4-arm64-fips\n      - photonos-5\n      - photonos-5-arm64\n      - photonos-5-fips\n      - photonos-5-arm64-fips\n      - ubuntu-2004\n      - ubuntu-2004-arm64\n      - ubuntu-2204\n      - ubuntu-2204-arm64\n      - ubuntu-2404\n      - ubuntu-2404-arm64\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Python Tools Scripts\n        id: python-tools-scripts\n        uses: ./.github/actions/setup-python-tools-scripts\n        with:\n          cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-coverage\n\n      - name: Install Nox\n        run: |\n          python3 -m pip install 'nox==2022.8.7'\n\n\n\n      - name: Merge All Code Coverage Test Run Artifacts\n        continue-on-error: true\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: all-testrun-coverage-artifacts\n          pattern: all-testrun-coverage-artifacts-*\n          separate-directories: false\n          delete-merged: true\n\n      - name: Get coverage reports\n        id: get-coverage-reports\n        uses: actions/download-artifact@v4\n        with:\n          name: all-testrun-coverage-artifacts\n          path: artifacts/coverage/\n\n      - name: Display structure of downloaded files\n        run: tree -a artifacts/\n\n      - name: Install Codecov CLI\n        run: |\n          # We can't yet use tokenless uploads with the codecov CLI\n          # python3 -m pip install codecov-cli\n          #\n          curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --import\n          curl -Os https://uploader.codecov.io/latest/linux/codecov\n          curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM\n          curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig\n          gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM\n          shasum -a 256 -c codecov.SHA256SUM\n          chmod +x codecov\n          mv ./codecov /usr/local/bin/\n\n      - name: Create XML Coverage Reports\n        run: |\n          nox --force-color -e create-xml-coverage-reports\n\n      - name: Upload Code Coverage To Codecov\n        if: ${{ ! github.event.repository.private && ! github.event.repository.fork }}\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        run: |\n          tools ci upload-coverage --commit-sha=${{ github.event.pull_request.head.sha || github.sha }} artifacts/coverage/\n\n      - name: Combine Code Coverage\n        run: |\n          nox --force-color -e combine-coverage\n\n      - name: Report Salt Code Coverage\n        run: |\n          nox --force-color -e coverage-report -- salt\n\n      - name: Create Salt Code Coverage HTML Report\n        run: |\n          nox --force-color -e create-html-coverage-report -- salt\n\n      - name: Create Salt Code Coverage HTML Report\n        run: |\n          nox --force-color -e create-html-coverage-report -- salt\n\n      - name: Upload Salt Code Coverage HTML Report\n        uses: actions/upload-artifact@v4\n        with:\n          name: code-coverage-salt-html-report\n          path: artifacts/coverage/html/salt\n          retention-days: 7\n          if-no-files-found: error\n\n      - name: Report Combined Code Coverage\n        run: |\n          nox --force-color -e coverage-report\n\n      - name: Create Combined Code Coverage JSON Report\n        run: |\n          nox --force-color -e create-json-coverage-reports\n\n      - name: Upload Combined Code Coverage JSON Report\n        uses: actions/upload-artifact@v4\n        with:\n          name: code-coverage-full-json-report\n          path: artifacts/coverage/coverage.json\n          retention-days: 7\n          if-no-files-found: error\n\n      - name: Create Combined Code Coverage HTML Report\n        run: |\n          nox --force-color -e create-html-coverage-report\n\n      - name: Upload Combined Code Coverage HTML Report\n        uses: actions/upload-artifact@v4\n        with:\n          name: code-coverage-full-html-report\n          path: artifacts/coverage/html/full\n          retention-days: 7\n          if-no-files-found: error\n\n  set-pipeline-exit-status:\n    # This step is just so we can make github require this step, to pass checks\n    # on a pull request instead of requiring all\n    name: Set the ${{ github.workflow }} Pipeline Exit Status\n    if: always()\n    runs-on: ubuntu-latest\n    needs:\n      - workflow-requirements\n      - trigger-branch-scheduled-builds\n      - prepare-workflow\n      - pre-commit\n      - lint\n      - build-docs\n      - build-deps-onedir\n      - build-salt-onedir\n      - build-pkgs-src\n      - combine-all-code-coverage\n      - build-ci-deps\n      - windows-2016\n      - windows-2019\n      - windows-2022\n      - macos-12\n      - macos-13\n      - macos-13-arm64\n      - rockylinux-8\n      - rockylinux-8-arm64\n      - rockylinux-9\n      - rockylinux-9-arm64\n      - amazonlinux-2\n      - amazonlinux-2-arm64\n      - amazonlinux-2023\n      - amazonlinux-2023-arm64\n      - archlinux-lts\n      - centos-7\n      - debian-11\n      - debian-11-arm64\n      - debian-12\n      - debian-12-arm64\n      - fedora-40\n      - opensuse-15\n      - photonos-4\n      - photonos-4-arm64\n      - photonos-4-fips\n      - photonos-4-arm64-fips\n      - photonos-5\n      - photonos-5-arm64\n      - photonos-5-fips\n      - photonos-5-arm64-fips\n      - ubuntu-2004\n      - ubuntu-2004-arm64\n      - ubuntu-2204\n      - ubuntu-2204-arm64\n      - ubuntu-2404\n      - ubuntu-2404-arm64\n      - rockylinux-8-pkg-tests\n      - rockylinux-8-arm64-pkg-tests\n      - rockylinux-9-pkg-tests\n      - rockylinux-9-arm64-pkg-tests\n      - amazonlinux-2-pkg-tests\n      - amazonlinux-2-arm64-pkg-tests\n      - amazonlinux-2023-pkg-tests\n      - amazonlinux-2023-arm64-pkg-tests\n      - centos-7-pkg-tests\n      - debian-11-pkg-tests\n      - debian-11-arm64-pkg-tests\n      - debian-12-pkg-tests\n      - debian-12-arm64-pkg-tests\n      - photonos-4-pkg-tests\n      - photonos-4-arm64-pkg-tests\n      - photonos-4-pkg-tests-fips\n      - photonos-4-arm64-pkg-tests-fips\n      - photonos-5-pkg-tests\n      - photonos-5-arm64-pkg-tests\n      - photonos-5-pkg-tests-fips\n      - photonos-5-arm64-pkg-tests-fips\n      - ubuntu-2004-pkg-tests\n      - ubuntu-2004-arm64-pkg-tests\n      - ubuntu-2204-pkg-tests\n      - ubuntu-2204-arm64-pkg-tests\n      - ubuntu-2404-pkg-tests\n      - ubuntu-2404-arm64-pkg-tests\n      - macos-12-pkg-tests\n      - macos-13-pkg-tests\n      - macos-13-arm64-pkg-tests\n      - windows-2016-nsis-pkg-tests\n      - windows-2016-msi-pkg-tests\n      - windows-2019-nsis-pkg-tests\n      - windows-2019-msi-pkg-tests\n      - windows-2022-nsis-pkg-tests\n      - windows-2022-msi-pkg-tests\n    steps:\n      - name: Get workflow information\n        id: get-workflow-info\n        uses: im-open/workflow-conclusion@v2\n\n      - name: Set Pipeline Exit Status\n        shell: bash\n        run: |\n          if [ \"${{ steps.get-workflow-info.outputs.workflow_conclusion }}\" != \"success\" ]; then\n            exit 1\n          else\n            exit 0\n          fi\n\n      - name: Done\n        if: always()\n        run:\n          echo \"All worflows finished\"\n", "state": "disabled_manually", "repository": "saltstack/salt"}
{"mined_at": "2024-07-15T15:36:10.131817", "created_at": "2020-06-11T17:59:05+02:00", "updated_at": "2020-12-24T02:12:24+01:00", "name": "CI", "path": ".github/workflows/ci-build.yaml", "contents": "name: CI\n\n# We test all supported Python versions as follows:\n# - 3.9  : Documentation build\n# - 3.9  : Part of Matrix with NumPy dispatch\n# - 3.10 : Part of Matrix\n# - 3.11 : Part of Matrix\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  contents: read  # to fetch code\n  actions: write  # to cancel previous workflows\n\njobs:\n  lint_and_typecheck:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - name: Cancel previous\n        uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/cancel-workflow-action@0.12.1\n        with:\n          access_token: ${{ github.token }}\n        if: ${{github.ref != 'refs/heads/main'}}\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # ratchet:actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd  # ratchet: pre-commit/action@v3.0.1\n\n  build:\n    name: \"build ${{ matrix.name-prefix }} (py ${{ matrix.python-version }} on ${{ matrix.os }}, x64=${{ matrix.enable-x64}})\"\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    strategy:\n      matrix:\n        # Test the oldest and newest supported Python versions here.\n        include:\n          - name-prefix: \"with 3.9\"\n            python-version: \"3.9\"\n            os: ubuntu-20.04-16core\n            enable-x64: 1\n            prng-upgrade: 1\n            num_generated_cases: 1\n          - name-prefix: \"with 3.12\"\n            python-version: \"3.12\"\n            os: ubuntu-20.04-16core\n            enable-x64: 0\n            prng-upgrade: 0\n            num_generated_cases: 1\n    steps:\n    - name: Cancel previous\n      uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/cancel-workflow-action@0.12.1\n      with:\n        access_token: ${{ github.token }}\n      if: ${{github.ref != 'refs/heads/main'}}\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # ratchet:actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        python -m pip install --upgrade pip wheel\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # ratchet: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt') }}\n    - name: Install dependencies\n      run: |\n        pip install .[minimum-jaxlib] -r build/test-requirements.txt\n\n    - name: Run tests\n      env:\n        JAX_NUM_GENERATED_CASES: ${{ matrix.num_generated_cases }}\n        JAX_ENABLE_X64: ${{ matrix.enable-x64 }}\n        JAX_ENABLE_CUSTOM_PRNG: ${{ matrix.prng-upgrade }}\n        JAX_THREEFRY_PARTITIONABLE: ${{ matrix.prng-upgrade }}\n        JAX_ENABLE_CHECKS: true\n        JAX_SKIP_SLOW_TESTS: true\n        PY_COLORS: 1\n      run: |\n        pip install -e .\n        echo \"JAX_NUM_GENERATED_CASES=$JAX_NUM_GENERATED_CASES\"\n        echo \"JAX_ENABLE_X64=$JAX_ENABLE_X64\"\n        echo \"JAX_ENABLE_CUSTOM_PRNG=$JAX_ENABLE_CUSTOM_PRNG\"\n        echo \"JAX_THREEFRY_PARTITIONABLE=$JAX_THREEFRY_PARTITIONABLE\"\n        echo \"JAX_ENABLE_CHECKS=$JAX_ENABLE_CHECKS\"\n        echo \"JAX_SKIP_SLOW_TESTS=$JAX_SKIP_SLOW_TESTS\"\n        pytest -n auto --tb=short --maxfail=20 tests examples\n\n\n  documentation:\n    name: Documentation - test code snippets\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    strategy:\n      matrix:\n        python-version: [3.9]\n    steps:\n    - name: Cancel previous\n      uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/cancel-workflow-action@0.12.1\n      with:\n        access_token: ${{ github.token }}\n      if: ${{github.ref != 'refs/heads/main'}}\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # ratchet:actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        python -m pip install --upgrade pip wheel\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # ratchet: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-pip-docs-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt') }}\n    - name: Install dependencies\n      run: |\n        pip install -r docs/requirements.txt\n    - name: Test documentation\n      env:\n        XLA_FLAGS: \"--xla_force_host_platform_device_count=8\"\n        JAX_TRACEBACK_FILTERING: \"off\"\n        JAX_ARRAY: 1\n        PY_COLORS: 1\n      run: |\n        pytest -n auto --tb=short --doctest-glob='*.md' --doctest-glob='*.rst' docs --doctest-continue-on-failure --ignore=docs/multi_process.md\n        pytest -n auto --tb=short --doctest-modules jax --ignore=jax/config.py --ignore=jax/experimental/jax2tf --ignore=jax/_src/lib/mlir --ignore=jax/_src/lib/triton.py --ignore=jax/_src/lib/mosaic_gpu.py --ignore=jax/interpreters/mlir.py --ignore=jax/experimental/array_serialization --ignore=jax/collect_profile.py --ignore=jax/_src/tpu_custom_call.py --ignore=jax/experimental/mosaic --ignore=jax/experimental/pallas --ignore=jax/_src/pallas --ignore=jax/experimental/maps.py\n\n\n  documentation_render:\n    name: Documentation - render documentation\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    strategy:\n      matrix:\n        python-version: [3.9]\n    steps:\n    - name: Cancel previous\n      uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/cancel-workflow-action@0.12.1\n      with:\n        access_token: ${{ github.token }}\n      if: ${{github.ref != 'refs/heads/main'}}\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # ratchet:actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        python -m pip install --upgrade pip wheel\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # ratchet: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-pip-docs-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt') }}\n    - name: Install dependencies\n      run: |\n        pip install -r docs/requirements.txt\n    - name: Render documentation\n      run: |\n        sphinx-build --color -W --keep-going -b html -D nb_execution_mode=off docs docs/build/html\n", "state": "active", "repository": "google/jax"}
{"mined_at": "2024-07-15T15:36:11.285911", "created_at": "2022-05-27T18:50:39+02:00", "updated_at": "2022-05-27T18:50:39+02:00", "name": "Google Chat Release Notification", "path": ".github/workflows/release-notification.yml", "contents": "name: Google Chat Release Notification\non:\n  release:\n    types: [published]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Google Chat Notification\n        run: |\n          curl --location --request POST '${{ secrets.RELEASES_WEBHOOK }}' \\\n          --header 'Content-Type: application/json' \\\n          --data-raw '{\n              \"text\": \"Release ${{github.event.release.name}} at ${{github.event.release.published_at}} by ${{github.event.release.author.login}}. <${{github.event.release.url}}|[github]>\"\n          }'\n", "state": "active", "repository": "google/jax"}
{"mined_at": "2024-07-15T15:36:12.329864", "created_at": "2022-11-03T22:27:43+01:00", "updated_at": "2023-09-27T23:16:25+02:00", "name": "CI - Cloud TPU (nightly)", "path": ".github/workflows/cloud-tpu-ci-nightly.yml", "contents": "# Cloud TPU CI\n#\n# This job currently runs once per day. We use self-hosted TPU runners, so we'd\n# have to add more runners to run on every commit.\n#\n# This job's build matrix runs over several TPU architectures using both the\n# latest released jaxlib on PyPi (\"pypi_latest\") and the latest nightly\n# jaxlib.(\"nightly\"). It also installs a matching libtpu, either the one pinned\n# to the release for \"pypi_latest\", or the latest nightly.for \"nightly\". It\n# always locally installs jax from github head (already checked out by the\n# Github Actions environment).\n\nname: CI - Cloud TPU (nightly)\non:\n  schedule:\n    - cron: \"0 14 * * *\" # daily at 7am PST\n  workflow_dispatch: # allows triggering the workflow run manually\n# This should also be set to read-only in the project settings, but it's nice to\n# document and enforce the permissions here.\npermissions:\n  contents: read\njobs:\n  cloud-tpu-test:\n    strategy:\n      fail-fast: false # don't cancel all jobs on failure\n      matrix:\n        jaxlib-version: [\"pypi_latest\", \"nightly\", \"nightly+oldest_supported_libtpu\"]\n        tpu: [\n          {type: \"v3-8\", cores: \"4\"},\n          {type: \"v4-8\", cores: \"4\"},\n          {type: \"v5e-8\", cores: \"8\"}\n        ]\n    name: \"TPU test (jaxlib=${{ matrix.jaxlib-version }}, ${{ matrix.tpu.type }})\"\n    env:\n      LIBTPU_OLDEST_VERSION_DATE: 20240228\n      ENABLE_PJRT_COMPATIBILITY: ${{ matrix.jaxlib-version == 'nightly+oldest_supported_libtpu' }}\n    runs-on: [\"self-hosted\", \"tpu\", \"${{ matrix.tpu.type }}\"]\n    timeout-minutes: 120\n    defaults:\n      run:\n        shell: bash -ex {0}\n    steps:\n      # https://opensource.google/documentation/reference/github/services#actions\n      # mandates using a specific commit for non-Google actions. We use\n      # https://github.com/sethvargo/ratchet to pin specific versions.\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4\n      - name: Install JAX test requirements\n        run: |\n          pip install -U -r build/test-requirements.txt\n          pip install -U -r build/collect-profile-requirements.txt\n      - name: Install JAX\n        run: |\n          pip uninstall -y jax jaxlib libtpu-nightly\n          if [ \"${{ matrix.jaxlib-version }}\" == \"pypi_latest\" ]; then\n            pip install .[tpu] \\\n              -f https://storage.googleapis.com/jax-releases/libtpu_releases.html\n\n          elif [ \"${{ matrix.jaxlib-version }}\" == \"nightly\" ]; then\n            pip install .\n            pip install --pre jaxlib \\\n              -f https://storage.googleapis.com/jax-releases/jaxlib_nightly_releases.html\n            pip install --pre libtpu-nightly \\\n              -f https://storage.googleapis.com/jax-releases/libtpu_releases.html\n            pip install requests\n\n          elif [ \"${{ matrix.jaxlib-version }}\" == \"nightly+oldest_supported_libtpu\" ]; then\n            pip install .\n            pip install --pre jaxlib \\\n              -f https://storage.googleapis.com/jax-releases/jaxlib_nightly_releases.html\n            pip install --pre libtpu-nightly==0.1.dev${{ env.LIBTPU_OLDEST_VERSION_DATE }} \\\n              -f https://storage.googleapis.com/jax-releases/libtpu_releases.html\n            pip install requests\n\n          else\n            echo \"Unknown jaxlib-version: ${{ matrix.jaxlib-version }}\"\n            exit 1\n          fi\n\n          python3 -c 'import sys; print(\"python version:\", sys.version)'\n          python3 -c 'import jax; print(\"jax version:\", jax.__version__)'\n          python3 -c 'import jaxlib; print(\"jaxlib version:\", jaxlib.__version__)'\n          strings $HOME/.local/lib/python3.10/site-packages/libtpu/libtpu.so | grep 'Built on'\n          python3 -c 'import jax; print(\"libtpu version:\",\n            jax.lib.xla_bridge.get_backend().platform_version)'\n      - name: Run tests\n        env:\n          JAX_PLATFORMS: tpu,cpu\n          PY_COLORS: 1\n        run: |\n          # Run single-accelerator tests in parallel\n          JAX_ENABLE_TPU_XDIST=true python3 -m pytest -n=${{ matrix.tpu.cores }} --tb=short \\\n            --maxfail=20 -m \"not multiaccelerator\" tests examples\n          # Run multi-accelerator across all chips\n          python3 -m pytest --tb=short --maxfail=20 -m \"multiaccelerator\" tests\n      - name: Send chat on failure\n        # Don't notify when testing the workflow from a branch.\n        if: ${{ (failure() || cancelled()) && github.ref_name == 'main' && matrix.jaxlib-version != 'nightly+oldest_supported_libtpu' }}\n        run: |\n            curl --location --request POST '${{ secrets.BUILD_CHAT_WEBHOOK }}' \\\n            --header 'Content-Type: application/json' \\\n            --data-raw \"{\n            'text': '\\\"$GITHUB_WORKFLOW\\\", jaxlib/libtpu version \\\"${{ matrix.jaxlib-version }}\\\", TPU type ${{ matrix.tpu.type }} job failed, timed out, or was cancelled: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID'\n            }\"\n", "state": "active", "repository": "google/jax"}
{"mined_at": "2024-07-15T15:36:13.404570", "created_at": "2023-03-15T17:25:30+01:00", "updated_at": "2023-06-20T22:35:11+02:00", "name": "Wheel build - Windows CPU x86_64", "path": ".github/workflows/wheel_win_x64.yml", "contents": "name: Wheel build - Windows CPU x86_64\non:\n  workflow_dispatch: # allows triggering the workflow run manually\n\nenv:\n  DISTUTILS_USE_SDK: 1\n  MSSdk: 1\n\njobs:\n  win-wheels:\n    strategy:\n      fail-fast: false  # Don't stop all wheel builds if one has a test failure.\n      matrix:\n        os: [windows-2019-32core]\n        arch: [AMD64]\n        pyver: ['3.9', '3.10', '3.11', '3.12']\n    name: ${{ matrix.os }} ${{ matrix.pyver }} jaxlib wheel build\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/cancel-workflow-action@0.12.1\n        with:\n          access_token: ${{ github.token }}\n\n      - name: Install LLVM/Clang\n        run: choco install llvm --version=18.1.4 --yes --no-progress --allow-downgrade\n\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4\n\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # ratchet:actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.pyver }}\n          cache: 'pip'\n\n      - name: Build wheels\n        env:\n          BAZEL_VC: \"C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2019\\\\Enterprise\\\\VC\"\n          JAXLIB_RELEASE: true\n        run: |\n          python -m pip install -r build/test-requirements.txt\n          python -m pip install --upgrade numpy==2.0.0 scipy==1.13.1\n          \"C:\\\\msys64\\\\;C:\\\\msys64\\\\usr\\\\bin\\\\;\" >> $env:GITHUB_PATH\n          python.exe build\\build.py `\n            --bazel_options=--color=yes `\n            --bazel_options=--config=win_clang `\n            --verbose\n\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # ratchet: actions/upload-artifact@v4\n        with:\n          name: wheels-${{ matrix.os }}-${{ matrix.pyver }}\n          path: ${{ github.workspace }}\\dist\\*.whl\n          retention-days: 5\n\n      - name: Run tests\n        env:\n          JAX_ENABLE_CHECKS: true\n          JAX_SKIP_SLOW_TESTS: true\n          PY_COLORS: 1\n        run: |\n          python -m pip install -e ${{ github.workspace }}\n          python -m pip install --no-index --find-links ${{ github.workspace }}\\dist jaxlib\n          echo \"JAX_ENABLE_CHECKS=$JAX_ENABLE_CHECKS\"\n          pytest -n auto --tb=short tests examples\n", "state": "active", "repository": "google/jax"}
{"mined_at": "2024-07-15T15:36:14.499695", "created_at": "2023-05-24T22:28:36+02:00", "updated_at": "2023-11-17T00:03:44+01:00", "name": "JAX Array API", "path": ".github/workflows/jax-array-api.yml", "contents": "name: JAX Array API\n\non:\n  workflow_dispatch: # allows triggering the workflow run manually\n  pull_request:  # Automatically trigger on pull requests affecting particular files\n    branches:\n      - main\n    paths:\n      - '**workflows/jax-array-api.yml'\n      - '**experimental/array_api/**'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.11]\n\n    steps:\n    - name: Checkout jax\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet: actions/checkout@v4\n    - name: Checkout array-api-tests\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet: actions/checkout@v4\n      with:\n        repository: data-apis/array-api-tests\n        # TODO(jakevdp) update this to a stable release/tag when available.\n        ref: '33f2d2ea2f3dd2b3ceeeb4519d55e08096184149'  # Latest commit as of 2024-05-28\n        submodules: 'true'\n        path: 'array-api-tests'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # ratchet:actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install .[ci]\n        python -m pip install -r array-api-tests/requirements.txt\n    - name: Run the test suite\n      env:\n        ARRAY_API_TESTS_MODULE: jax.experimental.array_api\n        JAX_ENABLE_X64: 'true'\n      run: |\n        cd ${GITHUB_WORKSPACE}/array-api-tests\n        pytest array_api_tests --max-examples=5 --derandomize --disable-deadline --skips-file ${GITHUB_WORKSPACE}/jax/experimental/array_api/skips.txt\n", "state": "active", "repository": "google/jax"}
{"mined_at": "2024-07-15T15:36:15.658093", "created_at": "2023-06-12T22:34:28+02:00", "updated_at": "2024-06-21T19:23:51+02:00", "name": "CI - Windows CPU", "path": ".github/workflows/windows_ci.yml", "contents": "name: CI - Windows CPU\non:\n  schedule:\n    - cron: \"0 12 * * *\" # Daily at 12:00 UTC\n  workflow_dispatch: # allows triggering the workflow run manually\n  pull_request:\n    types: [ labeled ] # allow force-windows-run label\n\nenv:\n  DISTUTILS_USE_SDK: 1\n  MSSdk: 1\n\njobs:\n  win-wheels:\n    if: ${{ (github.event.action != 'labeled') || (github.event.label.name == 'windows:force-run')}}\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [windows-2019-32core]\n        arch: [AMD64]\n        pyver: ['3.9']\n    name: Windows CI build\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/cancel-workflow-action@0.12.1\n        with:\n          access_token: ${{ github.token }}\n\n      - name: Install LLVM/Clang\n        run: choco install llvm --version=18.1.4 --yes --no-progress --allow-downgrade\n\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4\n        with:\n          path: jax\n\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # ratchet:actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.pyver }}\n          cache: 'pip'\n\n      - name: Build wheels\n        env:\n          BAZEL_VC: \"C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2019\\\\Enterprise\\\\VC\"\n          JAXLIB_NIGHTLY: true  # Tag the wheels as dev versions\n        run: |\n          cd jax\n          python -m pip install -r build/test-requirements.txt\n          python -m pip install --upgrade numpy==2.0.0 scipy==1.13.1\n          \"C:\\\\msys64\\\\;C:\\\\msys64\\\\usr\\\\bin\\\\;\" >> $env:GITHUB_PATH\n          python.exe build\\build.py `\n            --bazel_options=--color=yes `\n            --bazel_options=--config=win_clang\n\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # ratchet: actions/upload-artifact@v4\n        with:\n          name: wheels\n          path: ${{ github.workspace }}\\jax\\dist\\*.whl\n          retention-days: 5\n\n      - name: Run tests\n        env:\n          JAX_ENABLE_CHECKS: true\n          JAX_SKIP_SLOW_TESTS: true\n          PY_COLORS: 1\n        run: |\n          cd jax\n          python -m pip install -e ${{ github.workspace }}\\jax\n          python -m pip install --no-index --find-links ${{ github.workspace }}\\jax\\dist jaxlib\n          echo \"JAX_ENABLE_CHECKS=$JAX_ENABLE_CHECKS\"\n          pytest -n auto --tb=short tests examples\n", "state": "active", "repository": "google/jax"}
{"mined_at": "2024-07-15T15:36:16.886198", "created_at": "2023-08-01T22:00:10+02:00", "updated_at": "2023-08-01T22:00:10+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/jax"}
{"mined_at": "2024-07-15T15:36:17.873435", "created_at": "2023-12-05T18:40:01+01:00", "updated_at": "2023-12-05T18:40:01+01:00", "name": "CI Fork", "path": ".github/workflows/ci-build-fork.yml", "contents": null, "state": "active", "repository": "google/jax"}
{"mined_at": "2024-07-15T15:36:18.869384", "created_at": "2024-03-13T01:45:38+01:00", "updated_at": "2024-03-13T01:45:38+01:00", "name": "Jax-Metal CI", "path": ".github/workflows/metal_plugin_ci.yml", "contents": "# JAX-Metal plugin CI\n\nname: Jax-Metal CI\non:\n  schedule:\n    - cron: \"0 12 * * *\" # Daily at 12:00 UTC\n  workflow_dispatch: # allows triggering the workflow run manually\n  pull_request:  # Automatically trigger on pull requests affecting this file\n    branches:\n      - main\n    paths:\n      - '**workflows/metal_plugin_ci.yml'\n\njobs:\n  jax-metal-plugin-test:\n\n    strategy:\n      fail-fast: false # don't cancel all jobs on failure\n      matrix:\n        jaxlib-version: [\"pypi_latest\", \"nightly\"]\n    name: \"Jax-Metal plugin test (jaxlib=${{ matrix.jaxlib-version }})\"\n    runs-on: [self-hosted, macOS, ARM64]\n\n    steps:\n      - name: Get repo\n        uses: actions/checkout@v4\n        with:\n          path: jax\n      - name: Setup build and test enviroment\n        run: |\n          rm -rf ${GITHUB_WORKSPACE}/jax-metal-venv\n          python3 -m venv ${GITHUB_WORKSPACE}/jax-metal-venv\n          source  ${GITHUB_WORKSPACE}/jax-metal-venv/bin/activate\n          pip install -U pip numpy wheel\n          pip install absl-py pytest\n          if [[ \"${{ matrix.jaxlib-version }}\" == \"nightly\" ]]; then\n            pip install --pre jaxlib \\\n              -f https://storage.googleapis.com/jax-releases/jaxlib_nightly_releases.html\n          fi;\n          cd jax\n          pip install .\n          pip install jax-metal\n      - name: Run test\n        run: |\n          source  ${GITHUB_WORKSPACE}/jax-metal-venv/bin/activate\n          export ENABLE_PJRT_COMPATIBILITY=1\n          cd jax\n          pytest tests/lax_metal_test.py\n\n\n", "state": "active", "repository": "google/jax"}
{"mined_at": "2024-07-15T15:36:19.948085", "created_at": "2024-04-04T18:57:41+02:00", "updated_at": "2024-04-05T04:13:04+02:00", "name": "CI - with Numpy/Scipy nightly wheels (nightly)", "path": ".github/workflows/upstream-nightly.yml", "contents": "name: CI - with Numpy/Scipy nightly wheels (nightly)\n# This configures a github action that runs the JAX test suite against nightly development builds\n# of numpy and scipy, in order to catch issues with new package versions prior to their release.\n# Unlike our other CI, this is one that we expect to fail frequently, and so we don't run it against\n# every commit and PR in the repository. Rather, we run it on a schedule, and failures lead to an\n# issue being created or updated.\n# Portions of this adapted from https://github.com/pydata/xarray/blob/main/.github/workflows/upstream-dev-ci.yaml\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  schedule:\n    - cron: \"0 12 * * *\" # Daily at 12:00 UTC\n  workflow_dispatch: # allows triggering the workflow run manually\n  pull_request:  # Automatically trigger on pull requests affecting this file\n    branches:\n      - main\n    paths:\n      - '**workflows/upstream-nightly.yml'\n\njobs:\n  upstream-dev:\n    runs-on: ubuntu-20.04-16core\n    permissions:\n      contents: read\n      checks: write  # for upload-artifact\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.12\"]\n    outputs:\n      artifacts_availability: ${{ steps.status.outputs.ARTIFACTS_AVAILABLE }}\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # ratchet:actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install JAX test requirements\n        run: |\n          pip install -r build/test-requirements.txt\n          pip install pytest-reportlog\n      - name: Install numpy & scipy development versions\n        run: |\n          pip install \\\n            -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \\\n            --no-deps \\\n            --pre \\\n            --upgrade \\\n            numpy \\\n            scipy\n          python -c \"import numpy; print(f'{numpy.__version__=}')\"\n          python -c \"import scipy; print(f'{scipy.__version__=}')\"\n      - name: Install JAX\n        run: |\n          pip install .[ci]\n      - name: Run tests\n        if: success()\n        id: status\n        env:\n          JAX_NUM_GENERATED_CASES: 1\n          JAX_ENABLE_X64: true\n          JAX_ENABLE_CHECKS: true\n          JAX_SKIP_SLOW_TESTS: true\n          PY_COLORS: 1\n        run: |\n          echo \"JAX_NUM_GENERATED_CASES=$JAX_NUM_GENERATED_CASES\"\n          echo \"JAX_ENABLE_X64=$JAX_ENABLE_X64\"\n          echo \"JAX_ENABLE_CHECKS=$JAX_ENABLE_CHECKS\"\n          echo \"JAX_SKIP_SLOW_TESTS=$JAX_SKIP_SLOW_TESTS\"\n          pytest -n auto --tb=short -rf --maxfail=20 \\\n              --report-log output-${{ matrix.python-version }}-log.jsonl \\\n              tests \\\n              || (\n                echo 'ARTIFACTS_AVAILABLE=true' >> $GITHUB_OUTPUT && false\n              )\n      - name: Upload artifacts\n        if: |\n          failure()\n          && steps.status.outcome == 'failure'\n          && github.event_name == 'schedule'\n          && github.repository == 'google/jax'\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # ratchet: actions/upload-artifact@v4\n        with:\n          name: output-${{ matrix.python-version }}-log.jsonl\n          path: output-${{ matrix.python-version }}-log.jsonl\n          retention-days: 5\n\n  report:\n    name: report\n    needs: upstream-dev\n    permissions:\n      contents: read\n      issues: write\n    if: |\n      failure()\n      && github.event_name == 'schedule'\n      && needs.upstream-dev.outputs.artifacts_availability == 'true'\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # ratchet:actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # ratchet:actions/download-artifact@v4\n        with:\n          path: /tmp/workspace/logs\n      - name: install requirements\n        run: |\n          python -m pip install pytest\n      - name: Move all log files into a single directory\n        run: |\n          rsync -a /tmp/workspace/logs/output-*/ ./logs\n          ls -R ./logs\n          cat logs/*.jsonl > pytest-logs.txt\n          python .github/workflows/parse_logs.py pytest-logs.txt --outfile=parsed-logs.txt\n      - name: Report failures\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # ratchet:actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const fs = require('fs');\n            const parsed_logs = fs.readFileSync('parsed-logs.txt', 'utf8');\n            const title = \"⚠️ Nightly upstream-dev CI failed ⚠️\"\n            const workflow_url = `https://github.com/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`\n            const issue_body = `[Workflow Run URL](${workflow_url})\\n${parsed_logs}`\n            // Run GraphQL query against GitHub API to find the most recent open issue used for reporting failures\n            const query = `query($owner:String!, $name:String!, $creator:String!, $label:String!){\n              repository(owner: $owner, name: $name) {\n                issues(first: 1, states: OPEN, filterBy: {createdBy: $creator, labels: [$label]}, orderBy: {field: CREATED_AT, direction: DESC}) {\n                  edges {\n                    node {\n                      body\n                      id\n                      number\n                    }\n                  }\n                }\n              }\n            }`;\n            const variables = {\n                owner: context.repo.owner,\n                name: context.repo.repo,\n                label: 'CI',\n                creator: \"github-actions[bot]\"\n            }\n            const result = await github.graphql(query, variables)\n            // If no issue is open, create a new issue,\n            // else update the body of the existing issue.\n            if (result.repository.issues.edges.length === 0) {\n                github.rest.issues.create({\n                    owner: variables.owner,\n                    repo: variables.name,\n                    body: issue_body,\n                    title: title,\n                    labels: [variables.label]\n                })\n            } else {\n                github.rest.issues.update({\n                    owner: variables.owner,\n                    repo: variables.name,\n                    issue_number: result.repository.issues.edges[0].node.number,\n                    body: issue_body\n                })\n            }\n", "state": "active", "repository": "google/jax"}
{"mined_at": "2024-07-15T15:36:20.970344", "created_at": "2024-04-12T20:16:42+02:00", "updated_at": "2024-04-12T20:16:42+02:00", "name": "Presubmit - Windows CPU", "path": ".github/workflows/windows_presubmit.yml", "contents": null, "state": "active", "repository": "google/jax"}
{"mined_at": "2024-07-15T15:36:23.241070", "created_at": "2020-01-13T15:56:08+01:00", "updated_at": "2024-01-16T15:39:01+01:00", "name": "Continuous Integration", "path": ".github/workflows/continous-integration.yml", "contents": "name: Continuous Integration\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n  pull_request:\n\nconcurrency:\n  group: continous-integration-${{ github.ref }} # branch or tag name\n  cancel-in-progress: true\n\n# SECRETS\n# - GH_RELEASE_NOTES_TOKEN: personal access token of `rasabot` github account\n#                           (login for account in 1pw)\n# - SLACK_WEBHOOK_TOKEN: token to post to RasaHQ slack account (in 1password)\n# - PYPI_TOKEN: publishing token for amn41 account, needs to be maintainer of\n#               RasaHQ/rasa on pypi (account credentials in 1password)\n# - DOCKERHUB_PASSWORD: password for an account with write access to the rasa\n#                       repo on hub.docker.com. used to pull and upload containers\n# - RASA_OSS_TELEMETRY_WRITE_KEY: key to write to segment. Used to report telemetry.\n#                                 The key will be added to the distributions\n# - RASA_OSS_EXCEPTION_WRITE_KEY: key to write to sentry. Used to report exceptions.\n#                                 The key will be added to the distributions.\n#                                 Key can be found at https://sentry.io/settings/rasahq/projects/rasa-open-source/install/python/\n# - SENTRY_AUTH_TOKEN: authentication used to tell Sentry about any new releases\n#                      created at https://sentry.io/settings/account/api/auth-tokens/\n\nenv:\n  # needed to fix issues with boto during testing:\n  # https://github.com/travis-ci/travis-ci/issues/7940\n  BOTO_CONFIG: /dev/null\n\n  IS_TAG_BUILD: ${{ startsWith(github.event.ref, 'refs/tags') }}\n  DOCKERHUB_USERNAME: tmbo\n  DEFAULT_PYTHON_VERSION: \"3.10\"\n\n  # for wait_for_xx jobs\n  WAIT_TIMEOUT_SECS: 3000\n  WAIT_INTERVAL_SECS: 60\n\njobs:\n  changes:\n    name: Check for file changes\n    runs-on: ubuntu-22.04\n    outputs:\n      # Both of the outputs below are strings but only one exists at any given time\n      backend: ${{ steps.changed-files.outputs.backend || steps.run-all.outputs.backend }}\n      docker: ${{ steps.changed-files.outputs.docker || steps.run-all.outputs.docker }}\n      docs: ${{ steps.changed-files.outputs.docs || steps.run-all.outputs.docs }}\n      is_pre_release_version: ${{ steps.rasa_check_version_type.outputs.is_pre_release_version }}\n    steps:\n      - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n      - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50\n        # Run the normal filters if the all-tests-required label is not set\n        id: changed-files\n        if: contains(github.event.pull_request.labels.*.name, 'status:all-tests-required') == false && github.event_name == 'pull_request'\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          filters: .github/change_filters.yml\n      - name: Set all filters to true if all tests are required\n        # Set all filters to true if the all-tests-required label is set or if we are not in a PR\n        # Bypasses all the change filters in change_filters.yml and forces all outputs to true\n        id: run-all\n        if: contains(github.event.pull_request.labels.*.name, 'status:all-tests-required') || github.event_name != 'pull_request'\n        run: |\n          echo \"backend=true\" >> $GITHUB_OUTPUT\n          echo \"docker=true\" >> $GITHUB_OUTPUT\n          echo \"docs=true\" >> $GITHUB_OUTPUT\n\n      - name: Check if tag version is a pre release version\n        id: rasa_check_version_type\n        if: env.IS_TAG_BUILD == 'true'\n        run: |\n          # Get current tagged Rasa version\n          CURRENT_TAG=${GITHUB_REF#refs/tags/}\n          if [[ \"$CURRENT_TAG\" =~ ^[0-9.]+$ ]]; then\n            echo \"is_pre_release_version=false\" >> $GITHUB_OUTPUT\n          else\n            echo \"is_pre_release_version=true\" >> $GITHUB_OUTPUT\n          fi\n\n  wait_for_docs_tests:\n    # Looks for doc test workflows and waits for it to complete successfully\n    # Runs on pushes to main exclusively\n    name: Wait for docs tests\n    if: github.ref_type != 'tag'\n    runs-on: ubuntu-22.04\n    needs: [changes]\n\n    steps:\n      - name: Wait for doc tests\n        uses: fountainhead/action-wait-for-check@297be350cf8393728ea4d4b39435c7d7ae167c93\n        id: wait-for-doc-tests\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          checkName: Test Documentation\n          ref: ${{ github.event.pull_request.head.sha || github.sha }}\n          timeoutSeconds: ${{ env.WAIT_TIMEOUT_SECS }}\n          intervalSeconds: ${{ env.WAIT_INTERVAL_SECS }}\n\n      - name: Fail the step if the doc tests run could not be found\n        if: ${{ steps.wait-for-doc-tests.outputs.conclusion == 'timed_out' }}\n        run: |\n          echo \"Could not find the doc tests run.\"\n          exit 1\n\n  quality:\n    name: Code Quality\n    if: github.ref_type != 'tag'\n    runs-on: ubuntu-22.04\n    needs: [changes]\n\n    steps:\n      - name: Checkout git repository 🕝\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON_VERSION }} 🐍\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Read Poetry Version 🔢\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        if: needs.changes.outputs.backend == 'true'\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Inject setuptools into poetry's runtime environment\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          poetry self add setuptools\n\n      - name: Load Poetry Cached Libraries ⬇\n        id: cache-poetry\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}\n          restore-keys: ${{ runner.os }}-poetry-${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Clear Poetry cache\n        if: steps.cache-poetry.outputs.cache-hit == 'true' && needs.changes.outputs.backend == 'true' && contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-unit-tests')\n        run: rm -r .venv\n\n      - name: Create virtual environment\n        if: (steps.cache-poetry.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-unit-tests')) && needs.changes.outputs.backend == 'true'\n        run: python -m venv create .venv\n\n      - name: Set up virtual environment\n        if: needs.changes.outputs.backend == 'true'\n        run: poetry config virtualenvs.in-project true\n\n      - name: Install Dependencies 📦\n        if: needs.changes.outputs.backend == 'true'\n        # Poetry intermittently fails to install dependency if it is not PEP 517 compliant\n        # This is a workaround for that issue\n        run: |\n          sudo apt-get -y install libpq-dev\n          make install-full\n\n      - name: Checkout target branch to be able to diff\n        if: needs.changes.outputs.backend == 'true' && github.event_name == 'pull_request'\n        run: |\n          git fetch origin ${{ github.base_ref }}\n          echo \"DOCSTRING_DIFF_BRANCH=origin/${{ github.base_ref }}\" >> $GITHUB_ENV\n\n          # Fetch entire history for current branch so that `make lint-docstrings`\n          # can calculate the proper diff between the branches\n          git fetch --unshallow origin \"${{ github.ref }}\"\n\n      - name: Add github workflow problem matchers\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          echo \"::add-matcher::.github/matchers/flake8-error-matcher.json\"\n\n      - name: Lint Code 🎎\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          # If it's not a pull request, $DOCSTRING_DIFF_BRANCH is unset.\n          # This will result in an empty diff, which effictively means that\n          # make lint-docstrings will be skipped for other events than `pull_request`\n          make lint BRANCH=$DOCSTRING_DIFF_BRANCH\n\n      - name: Check Types 📚\n        if: needs.changes.outputs.backend == 'true'\n        run: make types\n\n      - name: Lint Changelog Filenames 📝\n        if: needs.changes.outputs.backend == 'true' && github.event_name == 'pull_request'\n        run: make lint-changelog\n\n      - name: Test CLI 🖥\n        if: needs.changes.outputs.backend == 'true'\n        # makes sure we catch any dependency error early. they will create strange\n        # errors during the docs build, so easier to catch them early on by\n        # trying to run the `rasa` command once before the docs build.\n        run: poetry run rasa --help\n\n  changelog:\n    name: Check for changelog\n    runs-on: ubuntu-22.04\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Assert release includes all changelog entries\n        # check changelog folder only when we create pull request preparing release\n        if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'prepare-release') && needs.changes.outputs.is_pre_release_version == 'false'\n        working-directory: changelog\n        run: |\n          # List all unexpected files in changelog/\n          UNEXPECTED_FILES=$(ls -A --ignore={\"README.md\",\".gitignore\",\"_template.md.jinja2\"})\n\n          # Exit with error if found any unexpected files\n          [[ \"$UNEXPECTED_FILES\" ]] && \\\n          echo \"Found the following unexpected files in changelogs/\" && \\\n          echo \"$UNEXPECTED_FILES\" && \\\n          exit 1 || \\\n          echo \"Release includes all changelog entries.\"\n\n  test:\n    name: Run Tests\n    if: github.ref_type != 'tag'\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    needs: [changes]\n    strategy:\n      fail-fast: false\n      matrix:\n        test:\n          - test-cli\n          - test-core-featurizers\n          - test-policies\n          - test-nlu-featurizers\n          - test-nlu-predictors\n          - test-full-model-training\n          - test-other-unit-tests\n          - test-performance\n        os: [ubuntu-22.04, windows-2019]\n        python-version: [3.8, 3.9, \"3.10\"]\n\n    steps:\n      - name: Run DataDog Agent\n        if: needs.changes.outputs.backend == 'true' && (matrix.os != 'windows-2019' || contains(github.event.pull_request.labels.*.name, 'tools:datadog-windows'))\n        run: |\n          docker run --name dd_agent -p 8126:8126 -d -e \"DD_API_KEY=${{ secrets.DD_API_KEY }}\" -e \"DD_INSIDE_CI=true\" -e \"DD_HOSTNAME=none\" -e \"DD_SITE=datadoghq.eu\" -e GITHUB_ACTIONS=true -e CI=true datadog/agent:latest\n          docker ps --all --filter name=dd_agent --filter status=running --no-trunc --format \"{{.ID}} {{.Status}}\"\n          docker port dd_agent\n\n      - name: Checkout git repository 🕝\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Python ${{ matrix.python-version }} 🐍\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Read Poetry Version 🔢\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        if: needs.changes.outputs.backend == 'true'\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Inject setuptools into poetry's runtime environment\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          poetry self add setuptools\n\n      - name: Load Poetry Cached Libraries ⬇\n        id: cache-poetry\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-venv-${{ secrets.POETRY_CACHE_VERSION }}-${{ env.pythonLocation }}\n\n      - name: Clear Poetry cache\n        if: steps.cache-poetry.outputs.cache-hit == 'true' && needs.changes.outputs.backend == 'true' && contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-unit-tests')\n        run: rm -r .venv\n\n        # Poetry >= 1.1.0b uses virtualenv to create a virtual environment.\n        # The virtualenv simply doesn't work on Windows with our setup,\n        # that's why we use venv to create virtual environment\n      - name: Create virtual environment\n        if: (steps.cache-poetry.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-unit-tests')) && needs.changes.outputs.backend == 'true'\n        run: python -m venv create .venv\n\n      - name: Set up virtual environment\n        if: needs.changes.outputs.backend == 'true'\n        # Poetry on Windows cannot pick up the virtual environments directory properly,\n        # and it creates a new one every time the pipeline runs.\n        # This step solves this problem — it tells poetry to always use `.venv` directory inside\n        # the project itself, which also makes it easier for us to determine the correct directory\n        # that needs to be cached.\n        run: poetry config virtualenvs.in-project true\n\n      - name: Install Dependencies (Linux) 📦\n        if: needs.changes.outputs.backend == 'true' && matrix.os == 'ubuntu-22.04'\n        # Poetry intermittently fails to install dependency if it is not PEP 517 compliant\n        # This is a workaround for that issue\n        run: |\n          sudo apt-get -y install libpq-dev\n          make install-full | tee .output\n          if grep 'The lock file is not up to date' .output; then exit 1; fi\n          make prepare-tests-ubuntu\n\n      - name: Install Dependencies (Windows) 📦\n        if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'\n        # Restoring cache doesn't work properly on Windows due to symlinks.\n        # We create symlinks for spacy models, that's why we need to clean them up\n        # before caching the dependencies directory.\n        # More information: https://github.com/actions/cache/issues/120\n        # Poetry intermittently fails to install dependency if it is not PEP 517 compliant\n        # This is a workaround for that issue\n        run: |\n          $spacy_data_dir = \".venv\\lib\\site-packages\\spacy\\data\"\n          if (Test-Path $spacy_data_dir) {\n            Get-ChildItem -Force -ErrorAction Stop $spacy_data_dir | Where-Object { if($_.Attributes -match \"ReparsePoint\"){$_.Delete()} }\n            Remove-Item -Force -Recurse $spacy_data_dir\n            New-Item -Path $spacy_data_dir -Type Directory\n          }\n          make install-full\n          make prepare-tests-windows-gha\n\n      - name: Add github workflow problem matchers\n        if: needs.changes.outputs.backend == 'true' && matrix.python-version == 3.7 && matrix.os == 'ubuntu-22.04'\n        # only annotate based on test runs on ubuntu: otherwise\n        # all errors will be duplicated for each python / os combination\n        # therefore, we only enable for the one where most tests are run\n        # (tests will still run in other envs, they will just not create annotations)\n        run: pip install pytest-github-actions-annotate-failures\n\n      - name: Disable \"LongPathsEnabled\" option on Windows\n        if: matrix.os == 'windows-2019'\n        # On Windows laptops, a default preset prevents path names from being longer than\n        # 260 characters. Some of our users can't enable this setting due to company policies.\n        # We implemented a fix for model storage. The Windows container in GitHub\n        # comes with the setting enabled, so we disable it here in order to ensure our tests\n        # are running in an environment where long path names are prevented.\n        run: |\n          (Get-ItemProperty \"HKLM:System\\CurrentControlSet\\Control\\FileSystem\").LongPathsEnabled\n          Set-ItemProperty 'HKLM:\\System\\CurrentControlSet\\Control\\FileSystem' -Name 'LongPathsEnabled' -value 0\n\n      - name: Install ddtrace on Linux\n        if: needs.changes.outputs.backend == 'true' && matrix.os == 'ubuntu-22.04'\n        run: poetry run pip install -U 'ddtrace<2.0.0'\n\n      - name: Install ddtrace on Windows\n        if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'\n        run: |\n          .\\.venv\\Scripts\\activate\n          py -m pip install -U 'ddtrace<2.0.0'\n\n      - name: Test Code 🔍 (multi-process)\n        if: needs.changes.outputs.backend == 'true'\n        env:\n          JOBS: 2\n          PYTHONIOENCODING: \"utf-8\"\n          DD_ENV: ${{ matrix.test }}\n          DD_SERVICE: rasa\n          DD_ARGS: --ddtrace --ddtrace-patch-all\n        run: |\n          make ${{ matrix.test }}\n          if [[ \"${{ matrix.os }}\" != \"windows-2019\" ]]; then\n            mv .coverage ${{ github.workspace }}/${{ matrix.test }}-coverage\n          fi\n        shell: bash # bash shell is a way to make code run for both Linux and Windows\n\n      - name: Store coverage reports\n        if: needs.changes.outputs.backend == 'true' && matrix.os == 'ubuntu-22.04'\n        uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce\n        with:\n          name: ${{ matrix.test }}-coverage\n          path: |\n            ${{ github.workspace }}/${{ matrix.test }}-coverage\n\n  test-flaky:\n    name: Run Flaky Tests\n    if: github.ref_type != 'tag'\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    needs: [changes]\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-22.04, windows-2019]\n        python-version: [3.8, 3.9, \"3.10\"]\n\n    steps:\n      - name: Run DataDog Agent\n        if: needs.changes.outputs.backend == 'true' && (matrix.os != 'windows-2019' || contains(github.event.pull_request.labels.*.name, 'tools:datadog-windows'))\n        run: |\n          docker run --name dd_agent -p 8126:8126 -d -e \"DD_API_KEY=${{ secrets.DD_API_KEY }}\" -e \"DD_INSIDE_CI=true\" -e \"DD_HOSTNAME=none\" -e \"DD_SITE=datadoghq.eu\" -e GITHUB_ACTIONS=true -e CI=true datadog/agent:latest\n          docker ps --all --filter name=dd_agent --filter status=running --no-trunc --format \"{{.ID}} {{.Status}}\"\n          docker port dd_agent\n\n      - name: Checkout git repository 🕝\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Python ${{ matrix.python-version }} 🐍\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Read Poetry Version 🔢\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        if: needs.changes.outputs.backend == 'true'\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Inject setuptools into poetry's runtime environment\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          poetry self add setuptools\n\n      - name: Load Poetry Cached Libraries ⬇\n        id: cache-poetry\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-venv-${{ secrets.POETRY_CACHE_VERSION }}-${{ env.pythonLocation }}\n\n      - name: Clear Poetry cache\n        if: steps.cache-poetry.outputs.cache-hit == 'true' && needs.changes.outputs.backend == 'true' && contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-unit-tests')\n        run: rm -r .venv\n\n        # Poetry >= 1.1.0b uses virtualenv to create a virtual environment.\n        # The virtualenv simply doesn't work on Windows with our setup,\n        # that's why we use venv to create virtual environment\n      - name: Create virtual environment\n        if: (steps.cache-poetry.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-unit-tests')) && needs.changes.outputs.backend == 'true'\n        run: python -m venv create .venv\n\n      - name: Set up virtual environment\n        if: needs.changes.outputs.backend == 'true'\n        # Poetry on Windows cannot pick up the virtual environments directory properly,\n        # and it creates a new one every time the pipeline runs.\n        # This step solves this problem — it tells poetry to always use `.venv` directory inside\n        # the project itself, which also makes it easier for us to determine the correct directory\n        # that needs to be cached.\n        run: poetry config virtualenvs.in-project true\n\n      - name: Install Dependencies (Linux) 📦\n        if: needs.changes.outputs.backend == 'true' && matrix.os == 'ubuntu-22.04'\n        run: |\n          sudo apt-get -y install libpq-dev\n          make install-full | tee .output\n          if grep 'The lock file is not up to date' .output; then exit 1; fi\n          make prepare-tests-ubuntu\n\n      - name: Install Dependencies (Windows) 📦\n        if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'\n        # Restoring cache doesn't work properly on Windows due to symlinks.\n        # We create symlinks for spacy models, that's why we need to clean them up\n        # before caching the dependencies' directory.\n        # More information: https://github.com/actions/cache/issues/120\n        run: |\n          $spacy_data_dir = \".venv\\lib\\site-packages\\spacy\\data\"\n          if (Test-Path $spacy_data_dir) {\n            Get-ChildItem -Force -ErrorAction Stop $spacy_data_dir | Where-Object { if($_.Attributes -match \"ReparsePoint\"){$_.Delete()} }\n            Remove-Item -Force -Recurse $spacy_data_dir\n            New-Item -Path $spacy_data_dir -Type Directory\n          }\n          make install-full\n          make prepare-tests-windows-gha\n\n      - name: Add github workflow problem matchers\n        if: needs.changes.outputs.backend == 'true' && matrix.python-version == 3.7 && matrix.os == 'ubuntu-22.04'\n        # only annotate based on test runs on ubuntu: otherwise\n        # all errors will be duplicated for each python / os combination\n        # therefore, we only enable for the one where most tests are run\n        # (tests will still run in other envs, they will just not create annotations)\n        run: pip install pytest-github-actions-annotate-failures\n\n      - name: Disable \"LongPathsEnabled\" option on Windows\n        if: matrix.os == 'windows-2019'\n        # On Windows laptops, a default preset prevents path names from being longer than\n        # 260 characters. Some of our users can't enable this setting due to company policies.\n        # We implemented a fix for model storage. The Windows container in GitHub\n        # comes with the setting enabled, so we disable it here in order to ensure our tests\n        # are running in an environment where long path names are prevented.\n        run: |\n          (Get-ItemProperty \"HKLM:System\\CurrentControlSet\\Control\\FileSystem\").LongPathsEnabled\n          Set-ItemProperty 'HKLM:\\System\\CurrentControlSet\\Control\\FileSystem' -Name 'LongPathsEnabled' -value 0\n\n      - name: Install ddtrace on Linux\n        if: needs.changes.outputs.backend == 'true' && matrix.os == 'ubuntu-22.04'\n        run: poetry run pip install -U 'ddtrace<2.0.0'\n\n      - name: Install ddtrace on Windows\n        if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'\n        run: |\n          .\\.venv\\Scripts\\activate\n          py -m pip install -U 'ddtrace<2.0.0'\n\n      - name: Test Code 🔍 (multi-process)\n        if: needs.changes.outputs.backend == 'true'\n        env:\n          JOBS: 2\n          PYTHONIOENCODING: \"utf-8\"\n          DD_ENV: test-flaky\n          DD_SERVICE: rasa\n          DD_ARGS: --ddtrace --ddtrace-patch-all\n        run: |\n          make test-flaky\n          if [[ \"${{ matrix.os }}\" != \"windows-2019\" ]]; then\n            mv .coverage ${{ github.workspace }}/test-flaky-coverage\n          fi\n        shell: bash # bash shell is a way to make code run for both Linux and Windows\n\n      - name: Store coverage reports\n        if: needs.changes.outputs.backend == 'true' && matrix.os == 'ubuntu-22.04'\n        uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce\n        with:\n          name: ${{ matrix.test }}-coverage\n          path: |\n            ${{ github.workspace }}/${{ matrix.test }}-coverage\n\n  prepare_coverage_reports_analyse_with_sonarcloud:\n    name: Prepare coverage reports and Analyse coverage with Sonarcloud\n    if: github.ref_type != 'tag'\n    runs-on: ubuntu-22.04\n    # Always upload results even if tests failed\n    needs:\n      - test\n      - changes\n\n    steps:\n      - name: Checkout git repository 🕝\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Python 3.10 🐍\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: \"3.10\"\n\n      - name: Get backend coverage reports\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a\n        with:\n          path: ${{ github.workspace }}/tests_coverage\n\n      - name: Merge all reports\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          subs=`ls ${{ github.workspace }}/tests_coverage`\n          download_dir=\"${{ github.workspace }}/tests_coverage\"\n          final_dir=\"${{ github.workspace }}/tests_coverage/final\"\n\n          # Downloaded artifacts go into folders, gotta extract them all into one folder for upload\n          mkdir \"${final_dir}/\"\n          for i in $subs; do\n            mv \"${download_dir}/$i\"/* \"${final_dir}/\"\n          done\n\n          pip install coverage\n          coverage combine \"${final_dir}/\"*\n          coverage xml\n\n  integration_test:\n    name: Run Non-Sequential Integration Tests\n    if: github.ref_type != 'tag'\n    runs-on: ubuntu-22.04\n    timeout-minutes: 60\n    needs: [changes]\n    env:\n      REDIS_HOST: localhost\n      REDIS_PORT: 6379\n      POSTGRES_HOST: localhost\n      POSTGRES_PORT: 5432\n      POSTGRES_USER: postgres\n      POSTGRES_PASSWORD: postgres\n      RABBITMQ_HOST: localhost\n      RABBITMQ_PORT: 5672\n      RABBITMQ_USER: guest\n      RABBITMQ_PASSWORD: guest\n\n    services:\n      redis:\n        image: redis:6\n        # Set health checks to wait until redis has started\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # FIXME: cannot use ${{ env.REDIS_PORT }} here\n          # mapping container ports to the host\n          - 6379:6379\n\n      postgres:\n        image: postgres:13\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        env:\n          # postgres image requires password to be set\n          POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}\n        ports:\n          # FIXME: cannot use ${{ env.POSTGRES_PORT }} here\n          # mapping container ports to the host\n          - 5432:5432\n\n      rabbitmq:\n        # see https://github.com/docker-library/healthcheck/blob/master/rabbitmq/docker-healthcheck\n        image: healthcheck/rabbitmq\n        ports:\n          - 5672:5672\n\n      mongodb:\n        image: mongodb/mongodb-community-server:6.0.4-ubuntu2204\n        options: >-\n          --health-cmd \"echo 'db.runCommand(\"ping\").ok' | mongosh --quiet\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 27017:27017\n\n    steps:\n      - name: Checkout git repository 🕝\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON_VERSION }} 🐍\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Read Poetry Version 🔢\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        if: needs.changes.outputs.backend == 'true'\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Load Poetry Cached Libraries ⬇\n        id: cache-poetry\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-venv-${{ secrets.POETRY_CACHE_VERSION }}-${{ env.pythonLocation }}\n\n      - name: Clear Poetry cache\n        if: steps.cache-poetry.outputs.cache-hit == 'true' && needs.changes.outputs.backend == 'true' && contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-unit-tests')\n        run: rm -r .venv\n\n        # Poetry >= 1.1.0b uses virtualenv to create a virtual environment.\n        # The virtualenv simply doesn't work on Windows with our setup,\n        # that's why we use venv to create virtual environment\n      - name: Create virtual environment\n        if: (steps.cache-poetry.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-unit-tests')) && needs.changes.outputs.backend == 'true'\n        run: python -m venv create .venv\n\n      - name: Set up virtual environment\n        if: needs.changes.outputs.backend == 'true'\n        # Poetry on Windows cannot pick up the virtual environments directory properly,\n        # and it creates a new one every time the pipeline runs.\n        # This step solves this problem — it tells poetry to always use `.venv` directory inside\n        # the project itself, which also makes it easier for us to determine the correct directory\n        # that needs to be cached.\n        run: poetry config virtualenvs.in-project true\n\n      - name: Install Dependencies (Linux) 📦\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          sudo apt-get -y install libpq-dev\n          make install-full | tee .output\n          if grep 'The lock file is not up to date' .output; then exit 1; fi\n          make prepare-tests-ubuntu\n\n      - name: Run kafka and zookeeper containers for integration testing\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          docker-compose -f tests_deployment/docker-compose.kafka.yml up -d\n\n      - name: Test Code with Services 🩺\n        if: needs.changes.outputs.backend == 'true'\n        env:\n          JOBS: 2\n          INTEGRATION_TEST_PYTEST_MARKERS: '\"not sequential\"'\n          PYTHONIOENCODING: \"utf-8\"\n        run: |\n          make test-integration\n\n  sequential_integration_test:\n    name: Run Sequential Integration Tests\n    if: github.ref_type != 'tag'\n    runs-on: ubuntu-20.04\n    timeout-minutes: 60\n    needs: [changes]\n    env:\n      POSTGRES_HOST: localhost\n      POSTGRES_PORT: 5432\n      POSTGRES_USER: postgres\n      POSTGRES_PASSWORD: postgres\n\n    services:\n      postgres:\n        image: postgres:13\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        env:\n          # postgres image requires password to be set\n          POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}\n        ports:\n          # FIXME: cannot use ${{ env.POSTGRES_PORT }} here\n          # mapping container ports to the host\n          - 5432:5432\n\n    steps:\n      - name: Checkout git repository 🕝\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON_VERSION }} 🐍\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Read Poetry Version 🔢\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        if: needs.changes.outputs.backend == 'true'\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Load Poetry Cached Libraries ⬇\n        id: cache-poetry\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-venv-${{ secrets.POETRY_CACHE_VERSION }}-${{ env.pythonLocation }}\n\n      - name: Clear Poetry cache\n        if: steps.cache-poetry.outputs.cache-hit == 'true' && needs.changes.outputs.backend == 'true' && contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-unit-tests')\n        run: rm -r .venv\n\n        # Poetry >= 1.1.0b uses virtualenv to create a virtual environment.\n        # The virtualenv simply doesn't work on Windows with our setup,\n        # that's why we use venv to create virtual environment\n      - name: Create virtual environment\n        if: (steps.cache-poetry.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-unit-tests')) && needs.changes.outputs.backend == 'true'\n        run: python -m venv create .venv\n\n      - name: Set up virtual environment\n        if: needs.changes.outputs.backend == 'true'\n        # Poetry on Windows cannot pick up the virtual environments directory properly,\n        # and it creates a new one every time the pipeline runs.\n        # This step solves this problem — it tells poetry to always use `.venv` directory inside\n        # the project itself, which also makes it easier for us to determine the correct directory\n        # that needs to be cached.\n        run: poetry config virtualenvs.in-project true\n\n      - name: Install Dependencies (Linux) 📦\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          sudo apt-get -y install libpq-dev\n          make install-full | tee .output\n          if grep 'The lock file is not up to date' .output; then exit 1; fi\n          make prepare-tests-ubuntu\n\n      # these integration tests need to be ran in a sequential fashion,\n      # due to environment constraints, so we're running them in a single process.\n      - name: Test Code with Services 🩺 (sequential)\n        if: needs.changes.outputs.backend == 'true'\n        env:\n          JOBS: 1\n          INTEGRATION_TEST_PYTEST_MARKERS: \"sequential\"\n          PYTHONIOENCODING: \"utf-8\"\n        run: |\n          make test-integration\n\n      - name: Stop kafka and zookeeper containers for integration testing\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          docker-compose -f tests_deployment/docker-compose.kafka.yml down\n\n  build_docker_base_images_and_set_env:\n    name: Build Docker base images and setup environment\n    runs-on: ubuntu-22.04\n    outputs:\n      base_image_hash: ${{ steps.check_image.outputs.base_image_hash }}\n      base_mitie_image_hash: ${{ steps.check_image.outputs.base_mitie_image_hash }}\n      base_builder_image_hash: ${{ steps.check_image.outputs.base_builder_image_hash }}\n      # Tag name used for images created during Docker image builds, e.g. 3886 - a PR number\n      image_tag: ${{ steps.set_output.outputs.image_tag }}\n      # Return 'true' if tag version is equal or higher than the latest tagged Rasa version\n      is_newest_version: ${{ steps.rasa_get_version.outputs.is_newest_version }}\n      \n    steps:\n      # Due to an issue with checking out a wrong commit, we make sure\n      # to checkout HEAD commit for a pull request.\n      # More details: https://github.com/actions/checkout/issues/299\n      - name: Checkout pull request HEAD commit instead of merge commit 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n        if: github.event_name == 'pull_request'\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n        if: github.event_name != 'pull_request'\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7  # v2.2.0\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55  # v2.7.0\n\n      - name: Read Poetry Version 🔢\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Login to DockerHub Registry 🔢\n        run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ env.DOCKERHUB_USERNAME }} --password-stdin || true\n\n      - name: Check if tag version is equal or higher than the latest tagged Rasa version\n        id: rasa_get_version\n        if: env.IS_TAG_BUILD == 'true'\n        run: |\n          # Get latest tagged Rasa version\n          git fetch --depth=1 origin \"+refs/tags/*:refs/tags/*\"\n          # Fetch branch history\n          git fetch --prune --unshallow\n          LATEST_TAGGED_NON_ALPHA_RASA_VERSION=$(git tag | sort -r -V | grep -E \"^[0-9.]+$\" | head -n1)\n          CURRENT_TAG=${GITHUB_REF#refs/tags/}\n          # Return 'true' if tag version is equal or higher than the latest tagged Rasa version\n          IS_NEWEST_VERSION=$((printf '%s\\n%s\\n' \"${LATEST_TAGGED_NON_ALPHA_RASA_VERSION}\" \"$CURRENT_TAG\" \\\n            | sort -V -C && echo true || echo false) || true)\n          # Avoid that the script gets released for alphas or release candidates\n          if [[ \"${IS_NEWEST_VERSION}\" == \"true\" && \"$CURRENT_TAG\" =~ ^[0-9.]+$ ]]; then\n            echo \"is_newest_version=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"is_newest_version=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Check if a base image exists\n        id: check_image\n        env:\n          DOCKER_CLI_EXPERIMENTAL: enabled\n        run: |\n          # Base image\n          BASE_IMAGE_HASH=${{ hashFiles('docker/Dockerfile.base') }}\n          echo \"base_image_hash=${BASE_IMAGE_HASH}\" >> $GITHUB_OUTPUT\n\n          BASE_IMAGE_EXISTS=$((docker manifest inspect rasa/rasa:base-${BASE_IMAGE_HASH} &> /dev/null && echo true || echo false) || true)\n          echo \"base_exists=${BASE_IMAGE_EXISTS}\" >> $GITHUB_OUTPUT\n\n          # Base MITIE image\n          BASE_MITIE_IMAGE_HASH=${{ hashFiles('docker/Dockerfile.base-mitie') }}\n          MAKEFILE_MITIE_HASH=${{ hashFiles('Makefile') }}\n          echo \"base_mitie_image_hash=${BASE_MITIE_IMAGE_HASH:0:50}-${MAKEFILE_MITIE_HASH:0:50}\" >> $GITHUB_OUTPUT\n\n          BASE_IMAGE_MITIE_EXISTS=$((docker manifest inspect rasa/rasa:base-mitie-${BASE_MITIE_IMAGE_HASH:0:50}-${MAKEFILE_MITIE_HASH:0:50} &> /dev/null && echo true || echo false) || true)\n          echo \"base_mitie_exists=${BASE_IMAGE_MITIE_EXISTS}\" >> $GITHUB_OUTPUT\n\n          # Base poetry image\n          BASE_IMAGE_POETRY_EXISTS=$((docker manifest inspect rasa/rasa:base-poetry-${{ env.POETRY_VERSION }} &> /dev/null && echo true || echo false) || true)\n          echo \"base_poetry_exists=${BASE_IMAGE_POETRY_EXISTS}\" >> $GITHUB_OUTPUT\n\n          # Base builder image\n          BASE_IMAGE_BUILDER_HASH=${{ hashFiles('docker/Dockerfile.base-builder') }}-poetry-${{ env.POETRY_VERSION }}\n          echo \"base_builder_image_hash=${BASE_IMAGE_BUILDER_HASH}\" >> $GITHUB_OUTPUT\n\n          BASE_IMAGE_BUILDER_EXISTS=$((docker manifest inspect rasa/rasa:base-builder-${BASE_IMAGE_BUILDER_HASH} &> /dev/null && echo true || echo false) || true)\n          echo \"base_builder_exists=${BASE_IMAGE_BUILDER_EXISTS}\" >> $GITHUB_OUTPUT\n\n      - name: Build Docker base image 🛠\n        if: steps.check_image.outputs.base_exists == 'false' || env.IS_TAG_BUILD == 'true'\n        run: |\n          export IMAGE_TAG=${{ steps.check_image.outputs.base_image_hash }}\n          docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl base\n\n      - name: Push Docker base image if it's not building from a fork ⬆\n        if: (steps.check_image.outputs.base_exists == 'false' || env.IS_TAG_BUILD == 'true') && github.event.pull_request.head.repo.owner.login == 'RasaHQ'\n        run: |\n          export IMAGE_TAG=${{ steps.check_image.outputs.base_image_hash }}\n          docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl base --push\n\n      - name: Build Docker mitie base image 🛠\n        if: steps.check_image.outputs.base_mitie_exists == 'false' || steps.check_image.outputs.base_exists == 'false'\n        run: |\n          export IMAGE_TAG=${{ steps.check_image.outputs.base_mitie_image_hash }}\n          docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl base-mitie\n\n      - name: Push Docker mitie base image if it's not building from a fork ⬆\n        if: (steps.check_image.outputs.base_mitie_exists == 'false' || steps.check_image.outputs.base_exists == 'false') && github.event.pull_request.head.repo.owner.login == 'RasaHQ'\n        run: |\n          export IMAGE_TAG=${{ steps.check_image.outputs.base_mitie_image_hash }}\n          docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl base-mitie --push\n\n      - name: Build Docker poetry base image 🛠\n        if: steps.check_image.outputs.base_poetry_exists == 'false' || steps.check_image.outputs.base_exists == 'false'\n        run: |\n          export IMAGE_TAG=${{ env.POETRY_VERSION }}\n          export BASE_IMAGE_HASH=${{ steps.check_image.outputs.base_image_hash }}\n          docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl base-poetry\n\n      - name: Push Docker poetry base image if it's not building from a fork ⬆\n        if: (steps.check_image.outputs.base_poetry_exists == 'false' || steps.check_image.outputs.base_exists == 'false') && github.event.pull_request.head.repo.owner.login == 'RasaHQ'\n        run: |\n          export IMAGE_TAG=${{ env.POETRY_VERSION }}\n          export BASE_IMAGE_HASH=${{ steps.check_image.outputs.base_image_hash }}\n          docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl base-poetry --push\n\n      - name: Build Docker builder base image 🛠\n        if: steps.check_image.outputs.base_builder_exists == 'false' || steps.check_image.outputs.base_exists == 'false'\n        run: |\n          export IMAGE_TAG=${{ steps.check_image.outputs.base_builder_image_hash }}\n          docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl base-builder\n\n      - name: Push Docker builder base image if it's not building from a fork ⬆\n        if: (steps.check_image.outputs.base_builder_exists == 'false' || steps.check_image.outputs.base_exists == 'false') && github.event.pull_request.head.repo.owner.login == 'RasaHQ'\n        run: |\n          export IMAGE_TAG=${{ steps.check_image.outputs.base_builder_image_hash }}\n          docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl base-builder --push\n\n      # Set environment variables for a pull request\n      #\n      # In this scenario, we've created a PR #1234\n      #\n      # Example output:\n      # IMAGE_TAG=1234\n      - name: Set environment variables - pull_request\n        if: github.event_name == 'pull_request' && env.IS_TAG_BUILD == 'false'\n        run: |\n          echo \"IMAGE_TAG=${{ github.event.number }}\" >> $GITHUB_ENV\n\n      # Set environment variables for a tag\n      #\n      # In this scenario, we've pushed the '2.0.6' tag\n      #\n      # Example output:\n      # TAG_NAME=2.0.6\n      # IMAGE_TAG=2.0.6\n      - name: Set environment variables - push - tag\n        if: github.event_name == 'push' && env.IS_TAG_BUILD == 'true'\n        run: |\n          TAG_NAME=${GITHUB_REF#refs/tags/}\n          echo \"IMAGE_TAG=${TAG_NAME}\" >> $GITHUB_ENV\n\n      # Set environment variables for a branch\n      #\n      # In this scenario, we've pushed changes into the main branch\n      #\n      # Example output:\n      # IMAGE_TAG=main\n      - name: Set environment variables - push - branch\n        if: github.event_name == 'push' && env.IS_TAG_BUILD == 'false'\n        run: |\n          BRANCH_NAME=${GITHUB_REF#refs/heads/}\n          SAFE_BRANCH_NAME=\"$(echo ${GITHUB_REF#refs/heads/} | sed 's/[\\\\*+.$\\#\\-\\/]/-/g')\"\n          echo \"IMAGE_TAG=${SAFE_BRANCH_NAME}\" >> $GITHUB_ENV\n\n      - name: Set output\n        id: set_output\n        run: |\n          echo \"image_tag=${{ env.IMAGE_TAG }}\" >> $GITHUB_OUTPUT\n\n  docker:\n    name: Build Docker\n    runs-on: ubuntu-22.04\n    needs: [changes, build_docker_base_images_and_set_env]\n    env:\n      IMAGE_TAG: ${{ needs.build_docker_base_images_and_set_env.outputs.image_tag }}\n      BASE_IMAGE_HASH: ${{ needs.build_docker_base_images_and_set_env.outputs.base_image_hash }}\n      BASE_MITIE_IMAGE_HASH: ${{ needs.build_docker_base_images_and_set_env.outputs.base_mitie_image_hash }}\n      BASE_BUILDER_IMAGE_HASH: ${{ needs.build_docker_base_images_and_set_env.outputs.base_builder_image_hash }}\n\n    strategy:\n      matrix:\n        image: [default, full, mitie-en, spacy-de, spacy-it, spacy-en]\n\n    steps:\n      # Due to an issue with checking out a wrong commit, we make sure\n      # to checkout HEAD commit for a pull request.\n      # More details: https://github.com/actions/checkout/issues/299\n      - name: Checkout pull request HEAD commit instead of merge commit 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n        if: github.event_name == 'pull_request'\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n        if: github.event_name != 'pull_request'\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7  # v2.2.0\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55  # v2.7.0\n\n      - name: Free disk space\n        if: needs.changes.outputs.docker == 'true'\n        # tries to make sure we do not run out of disk space, see\n        # https://github.community/t5/GitHub-Actions/BUG-Strange-quot-No-space-left-on-device-quot-IOExceptions-on/td-p/46101\n        run: |\n          sudo swapoff -a\n          sudo rm -f /swapfile\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          sudo apt clean\n          docker image prune -a -f\n          docker volume prune -f\n          docker container prune -f\n          df -h\n\n      - name: Read Poetry Version 🔢\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Echo Available platforms\n        run: echo ${{ steps.buildx.outputs.platforms }}\n\n      - name: Login to DockerHub Registry 🔢\n        if: needs.changes.outputs.docker == 'true'\n        run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ env.DOCKERHUB_USERNAME }} --password-stdin || true\n\n      - name: Copy Segment write key to the package\n        if: needs.changes.outputs.docker == 'true' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.repository == 'RasaHQ/rasa'\n        env:\n          RASA_TELEMETRY_WRITE_KEY: ${{ secrets.RASA_OSS_TELEMETRY_WRITE_KEY }}\n          RASA_EXCEPTION_WRITE_KEY: ${{ secrets.RASA_OSS_EXCEPTION_WRITE_KEY }}\n        run: |\n          ./scripts/write_keys_file.sh\n\n      - name: Build Docker image\n        if: needs.changes.outputs.docker == 'true'\n        run: |\n          docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl ${{ matrix.image }}\n\n      - name: Check how much space is left after Docker build\n        run: df -h\n\n      - name: Push image with main tag 📦\n        if: needs.changes.outputs.docker == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'RasaHQ/rasa'\n        run: |\n          docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl ${{ matrix.image }} --push\n\n      - name: Push image with ${{github.ref}} tag 📦\n        if: needs.changes.outputs.docker == 'true' && github.event_name == 'push' && env.IS_TAG_BUILD == 'true' && github.repository == 'RasaHQ/rasa'\n        run: |\n          IS_NEWEST_VERSION=${{ needs.build_docker_base_images_and_set_env.outputs.is_newest_version }}\n\n          docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl ${{ matrix.image }} --push\n\n          # Tag the image as latest\n          if [[ \"${IS_NEWEST_VERSION}\" == \"true\" ]]; then\n            if [[ \"${{ matrix.image }}\" == \"default\" ]]; then\n              RELEASE_TAG=\"${IMAGE_TAG}\"\n            else\n              RELEASE_TAG=\"${IMAGE_TAG}-${{ matrix.image }}\"\n            fi\n\n            LATEST_TAG=$(echo $RELEASE_TAG | sed 's/'$IMAGE_TAG'/latest/g')\n            \n            # This will not build the image from ground up, but will only tag the existing image with LATEST_TAG\n            IMAGE_TAG=${LATEST_TAG} docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl ${{ matrix.image }}\n            # Push tagged image\n            IMAGE_TAG=${LATEST_TAG} docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl ${{ matrix.image }} --push\n          fi\n\n  deploy:\n    name: Deploy to PyPI\n    runs-on: ubuntu-22.04\n\n    # deploy will only be run when there is a tag available\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.repository == 'RasaHQ/rasa'\n    needs: [docker] # only run after the docker build stage succeeds\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Python 3.9 🐍\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: 3.9\n\n      - name: Read Poetry Version 🔢\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Copy Segment write key to the package\n        env:\n          RASA_TELEMETRY_WRITE_KEY: ${{ secrets.RASA_OSS_TELEMETRY_WRITE_KEY }}\n          RASA_EXCEPTION_WRITE_KEY: ${{ secrets.RASA_OSS_EXCEPTION_WRITE_KEY }}\n        run: |\n          ./scripts/write_keys_file.sh\n\n      - name: Build ⚒️ Distributions\n        run: poetry build\n\n      - name: Publish to PyPI 📦\n        uses: pypa/gh-action-pypi-publish@c7f29f7adef1a245bd91520e94867e5c6eedddcc\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n\n      - name: Notify Sentry about the release\n        env:\n          GITHUB_TAG: ${{ github.ref }}\n          SENTRY_ORG: rasahq\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n        run: |\n          curl -sL https://sentry.io/get-cli/ | bash\n          GITHUB_TAG=${GITHUB_TAG/refs\\/tags\\//}\n          sentry-cli releases new -p rasa-open-source \"rasa-$GITHUB_TAG\"\n          sentry-cli releases set-commits --auto \"rasa-$GITHUB_TAG\"\n          sentry-cli releases finalize \"rasa-$GITHUB_TAG\"\n\n      - name: Notify Slack & Publish Release Notes 🗞\n        env:\n          GH_RELEASE_NOTES_TOKEN: ${{ secrets.GH_RELEASE_NOTES_TOKEN }}\n          SLACK_WEBHOOK_TOKEN: ${{ secrets.SLACK_WEBHOOK_TOKEN }}\n          GITHUB_TAG: ${{ github.ref }}\n          GITHUB_REPO_SLUG: ${{ github.repository }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          GITHUB_TAG=${GITHUB_TAG/refs\\/tags\\//}\n          pip install -U github3.py pep440-version-utils\n          python3 scripts/publish_gh_release_notes.py\n          ./scripts/ping_slack_about_package_release.sh\n\n  send_slack_notification_for_release_on_failure:\n    name: Notify Slack & Publish Release Notes\n    runs-on: ubuntu-22.04\n    # run this job when the workflow is triggered by a tag push\n    if: always() && github.repository == 'RasaHQ/rasa' && github.ref_type == 'tag'\n    needs:\n      - deploy\n\n    steps:\n      - name: Notify Slack of failure ⛔️\n        # send notification if 'deploy' is skipped (previous needed job failed) or failed\n        if: needs.deploy.result != 'success'\n        env:\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_TOKEN }}\n        uses: Ilshidur/action-slack@689ad44a9c9092315abd286d0e3a9a74d31ab78a\n        with:\n          args: \"⛔️ *Rasa Open Source* version `${{ github.ref_name }}` could not be released 😱! Please check out GitHub Actions: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n", "state": "active", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:24.321127", "created_at": "2020-02-11T17:29:28+01:00", "updated_at": "2021-12-06T10:46:56+01:00", "name": "Publish Documentation", "path": ".github/workflows/documentation.yml", "contents": "name: Publish Documentation\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"documentation\"\n    tags:\n      - \"**\"\n  pull_request:\n\nconcurrency:\n  # group workflow runs based on the branch or the tag ref\n  group: documentation-${{ github.ref }}\n  cancel-in-progress: true\n\n# SECRETS\n# - GH_DOCS_WRITE_KEY: generated locally, added to github repo (public key)\n#                    `ssh-keygen -t rsa -b 4096 -C \"Github CI Docs Key\" -N \"\" -f key`\n# - GITHUB_TOKEN: (default, from github actions)\n# - NETLIFY_AUTH_TOKEN: an access token to use when authenticating commands on Netlify\n# - NETLIFY_SITE_ID: the API ID of the Netlify site for the docs\n\nenv:\n  DOCS_FOLDER: docs\n  DOCS_BRANCH: documentation\n  IS_TAG_BUILD: ${{ startsWith(github.event.ref, 'refs/tags') }}\n  IS_MAIN_BRANCH: ${{ github.ref == 'refs/heads/main' }}\n\njobs:\n  changes:\n    name: Check for file changes\n    runs-on: ubuntu-22.04\n    # don't run this for pull requests of forks\n    if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'RasaHQ/rasa'\n    outputs:\n      # Both of the outputs below are strings but only one exists at any given time\n      backend: ${{ steps.changed-files.outputs.backend || steps.run-all.outputs.backend }}\n      docker: ${{ steps.changed-files.outputs.docker || steps.run-all.outputs.docker }}\n      docs: ${{ steps.changed-files.outputs.docs || steps.run-all.outputs.docs }}\n    steps:\n      - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n      - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50\n        # Run the normal filters if the all-tests-required label is not set\n        id: changed-files\n        if: contains(github.event.pull_request.labels.*.name, 'status:all-tests-required') == false\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          filters: .github/change_filters.yml\n      - name: Set all filters to true if all tests are required\n        # Set all filters to true if the all-tests-required label is set\n        # Bypasses all the change filters in change_filters.yml and forces all outputs to true\n        id: run-all\n        if: contains(github.event.pull_request.labels.*.name, 'status:all-tests-required')\n        run: |\n          echo \"backend=true\" >> $GITHUB_OUTPUT\n          echo \"docker=true\" >> $GITHUB_OUTPUT\n          echo \"docs=true\" >> $GITHUB_OUTPUT\n\n  evaluate_release_tag:\n    name: Evaluate release tag\n    runs-on: ubuntu-22.04\n    # don't run this for main branches of forks and on documentation branch\n    if: github.repository == 'RasaHQ/rasa' && github.ref != 'refs/heads/documentation' && github.event_name != 'pull_request'\n    outputs:\n      build_docs: ${{ steps.check_tag.outputs.build_docs }}\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Install version library\n        run: |\n          python3 -m pip install pep440_version_utils\n\n      - name: Check if tag version is equal or higher than the latest tagged Rasa version\n        id: check_tag\n        if: env.IS_TAG_BUILD == 'true' || env.IS_MAIN_BRANCH == 'true'\n        run: |\n          if [[ \"${IS_MAIN_BRANCH}\" == \"true\" ]]; then\n            echo \"Main branch: setting build_docs to true.\"\n            echo \"build_docs=true\" >> $GITHUB_OUTPUT\n          else\n            # Get latest tagged Rasa version\n            git fetch --depth=1 origin \"+refs/tags/*:refs/tags/*\"\n            # Fetch branch history\n            TAG_NAME=${GITHUB_REF#refs/tags/}\n            git fetch --prune --unshallow\n            python scripts/evaluate_release_tag.py $TAG_NAME\n            exit_status=$?\n\n            if [[ ${exit_status} -eq 0 ]]; then\n              echo \"Setting build_docs to true.\"\n              echo \"build_docs=true\" >> $GITHUB_OUTPUT\n            else\n              echo \"Setting build_docs to false.\"\n              echo \"build_docs=false\" >> $GITHUB_OUTPUT\n            fi\n          fi\n\n  prebuild_docs:\n    name: Prebuild Docs\n    runs-on: ubuntu-22.04\n    needs: [evaluate_release_tag]\n    # don't run this for main branches of forks, would fail anyways\n    if: github.repository == 'RasaHQ/rasa' && needs.evaluate_release_tag.outputs.build_docs == 'true' && github.ref != 'refs/heads/documentation' && github.event_name != 'pull_request'\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Python 3.10 🐍\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: '3.10'\n\n      - name: Set up Node 12.x 🦙\n        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c\n        with:\n          node-version: \"12.x\"\n\n      - name: Read Poetry Version 🔢\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Load Poetry Cached Libraries ⬇\n        id: cache-poetry\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-non-full-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}\n          restore-keys: ${{ runner.os }}-poetry-3.9-non-full\n\n      - name: Clear Poetry cache\n        if: steps.cache-poetry.outputs.cache-hit == 'true'\n        run: rm -r .venv\n\n      - name: Create virtual environment\n        if: steps.cache-poetry.outputs.cache-hit != 'true'\n        run: python -m venv create .venv\n\n      - name: Set up virtual environment\n        run: poetry config virtualenvs.in-project true\n\n      - name: Load Yarn Cached Packages ⬇\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: docs/node_modules\n          key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}\n          restore-keys: ${{ runner.os }}-yarn-12.x\n\n      - name: Install Dependencies 📦\n        run: make install install-docs\n\n      - name: Pre-build Docs 🧶\n        run: make prepare-docs\n\n      - name: Push docs to documentation branch 🏃‍♀️\n        env:\n          GH_DOCS_WRITE_KEY: ${{ secrets.GH_DOCS_WRITE_KEY }}\n          TMP_DOCS_FOLDER: /tmp/documentation-${{ github.run_id }}\n          TMP_SSH_KEY_PATH: /tmp/docs_key\n        run: |\n          eval \"$(ssh-agent -s)\"; touch $TMP_SSH_KEY_PATH; chmod 0600 $TMP_SSH_KEY_PATH\n          echo \"$GH_DOCS_WRITE_KEY\" > $TMP_SSH_KEY_PATH\n          ssh-add $TMP_SSH_KEY_PATH\n\n          git config --global user.email \"builds@github-ci.com\"\n          git config --global user.name \"GitHub CI\"\n          git remote set-url --push origin \"git@github.com:${{github.repository}}\"\n\n          ./scripts/push_docs_to_branch.sh\n\n      - name: Notify slack on failure\n        if: failure()\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n        uses: voxmedia/github-action-slack-notify-build@3665186a8c1a022b28a1dbe0954e73aa9081ea9e # v1.6.0\n        with:\n          channel_id: ${{ secrets.SLACK_ALERTS_CHANNEL_ID }}\n          status: FAILED\n          color: warning\n\n  preview_docs:\n    name: Preview Docs\n    runs-on: ubuntu-22.04\n    needs: [changes]\n    # don't run this for pull requests from forks\n    if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'RasaHQ/rasa'\n\n    steps:\n      - name: Checkout git repository 🕝\n        if: needs.changes.outputs.docs == 'true'\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Python 3.10 🐍\n        if: needs.changes.outputs.docs == 'true'\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: '3.10'\n\n      - name: Set up Node 12.x 🦙\n        if: needs.changes.outputs.docs == 'true'\n        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c\n        with:\n          node-version: \"12.x\"\n\n      - name: Read Poetry Version 🔢\n        if: needs.changes.outputs.docs == 'true'\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        if: needs.changes.outputs.docs == 'true'\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Load Poetry Cached Libraries ⬇\n        id: cache-poetry\n        if: needs.changes.outputs.docs == 'true'\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-non-full-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}\n          restore-keys: ${{ runner.os }}-poetry-3.9-non-full\n\n      - name: Clear Poetry cache\n        if: steps.cache-poetry.outputs.cache-hit == 'true' && needs.changes.outputs.docs == 'true' && contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-preview-docs')\n        run: rm -r .venv\n\n      - name: Create virtual environment\n        if: (steps.cache-poetry.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-preview-docs')) && needs.changes.outputs.docs == 'true'\n        run: python -m venv create .venv\n\n      - name: Set up virtual environment\n        if: needs.changes.outputs.docs == 'true'\n        run: poetry config virtualenvs.in-project true\n\n      - name: Load Yarn Cached Packages ⬇\n        if: needs.changes.outputs.docs == 'true'\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: docs/node_modules\n          key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}\n          restore-keys: ${{ runner.os }}-yarn-12.x\n\n      - name: Install Dependencies 📦\n        if: needs.changes.outputs.docs == 'true'\n        run: make install install-docs\n\n      - name: Pre-build Docs 🧶\n        if: needs.changes.outputs.docs == 'true'\n        run: make prepare-docs\n\n      - name: Preview draft build 🔬\n        if: needs.changes.outputs.docs == 'true'\n        id: preview_draft_build\n        env:\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n          DOCS_SITE_BASE_URL: /docs/rasa\n          PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}\n        run: |\n          make preview-docs\n          DEPLOY_URL=\"https://$PULL_REQUEST_NUMBER--rasahq-docs-rasa-v2.netlify.app${DOCS_SITE_BASE_URL}\"\n          echo \"preview_url=$DEPLOY_URL\" >> $GITHUB_OUTPUT\n\n      - name: Create a comment with help description\n        if: needs.changes.outputs.docs == 'true'\n        uses: RasaHQ/create-comment@da7b2ec20116674919493bb5894eea70fdaa6486\n        with:\n          mode: \"delete-previous\"\n          id: comment_docs_previews\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          body: |\n            🚀 A preview of the docs have been deployed at the following URL: ${{ steps.preview_draft_build.outputs.preview_url }}\n\n  publish_docs:\n    name: Publish Docs\n    runs-on: ubuntu-22.04\n    # don't run this for main branches of forks; only run on documentation branch\n    if: github.repository == 'RasaHQ/rasa' && github.ref == 'refs/heads/documentation'\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Node 12.x 🦙\n        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c\n        with:\n          node-version: \"12.x\"\n\n      - name: Load Yarn Cached Packages ⬇\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: docs/node_modules\n          key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}\n          restore-keys: ${{ runner.os }}-yarn-12.x\n\n      - name: Install Dependencies 📦\n        run: make install-docs\n\n      - name: Publish production build ✅\n        env:\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n        run: make publish-docs\n\n      - name: Notify slack on failure\n        if: failure()\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n        uses: voxmedia/github-action-slack-notify-build@3665186a8c1a022b28a1dbe0954e73aa9081ea9e # v1.6.0\n        with:\n          channel_id: ${{ secrets.SLACK_ALERTS_CHANNEL_ID }}\n          status: FAILED\n          color: warning\n", "state": "active", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:25.340312", "created_at": "2020-05-15T13:18:27+02:00", "updated_at": "2021-03-10T17:35:04+01:00", "name": "Automatic PR Merger", "path": ".github/workflows/automatic-pr-merger.yml", "contents": null, "state": "active", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:26.718713", "created_at": "2020-05-20T16:27:41+02:00", "updated_at": "2024-02-19T16:56:06+01:00", "name": "CI - Model Regression", "path": ".github/workflows/ci-model-regression.yml", "contents": null, "state": "active", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:27.719737", "created_at": "2020-10-14T09:35:59+02:00", "updated_at": "2022-07-27T16:26:03+02:00", "name": "Security Scans", "path": ".github/workflows/security-scans.yml", "contents": "name: Security Scans\n\non:\n  pull_request:\n    types: [opened, synchronize, labeled]\n\nconcurrency:\n  group: security-scans-${{ github.head_ref }} # head branch name\n  cancel-in-progress: true\n\njobs:\n  changes:\n    name: Check for file changes\n    runs-on: ubuntu-22.04\n    outputs:\n      backend: ${{ steps.filter.outputs.backend }}\n      docker: ${{ steps.filter.outputs.docker }}\n      docs: ${{ steps.filter.outputs.docs }}\n    steps:\n      - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n      - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50\n        id: filter\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          filters: .github/change_filters.yml\n\n  trivy:\n    name: Detecting hardcoded secrets\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n      with:\n        # Fetch all history for all tags and branches\n        fetch-depth: '0'\n    - name: Run Trivy vulnerability scanner\n      id: trivy\n      uses: aquasecurity/trivy-action@e5f43133f6e8736992c9f3c1b3296e24b37e17f2\n      continue-on-error: true\n      with:\n        format: 'table'\n        scan-type: 'fs'\n        exit-code: '1'\n        scanners: 'secret'\n    - name: Alert on secret finding\n      if: steps.trivy.outcome == 'failure'\n      uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844\n      with:\n        payload: |\n          {\n            \"text\": \"*A secret was detected in a GitHub commit in the repo ${{ github.repository }}.*\\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}\",\n            \"blocks\": [\n              {\n                \"type\": \"section\",\n                \"text\": {\n                  \"type\": \"mrkdwn\",\n                  \"text\": \"*A secret was detected in a GitHub commit in the repo ${{ github.repository }}.*\\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}\"\n                }\n              }\n            ]\n          }\n      env:\n        SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CODESECURITY_WEBHOOK_URL }}\n        SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n    - name: Fail build if a secret is found\n      if: steps.trivy.outcome == 'failure'\n      run: |\n        echo \"==========================================================\"\n        echo \"| This build has failed because Trivy detected a secret. |\"\n        echo \"==========================================================\"\n        echo \"1. Check the step 'Run Trivy vulnerability scanner' for output to help you find the secret.\"\n        echo \"2. If the finding is a false positive, add it as an entry to trivy-secret.yaml in the root of the repo to suppress the finding.\"\n        echo \"3. If the finding is valid, the security team can help advise your next steps.\"\n        exit 1\n\n\n  bandit:\n    name: Detect python security issues\n    runs-on: ubuntu-22.04\n    needs: [changes]\n\n    steps:\n      - name: Checkout git repository 🕝\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Python 3.10 🐍\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: '3.10'\n\n      - name: Read Poetry Version 🔢\n        if: needs.changes.outputs.backend == 'true'\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        if: needs.changes.outputs.backend == 'true'\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Load Poetry Cached Libraries ⬇\n        id: cache-poetry\n        if: needs.changes.outputs.backend == 'true'\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-3.9-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}\n          restore-keys: ${{ runner.os }}-poetry-3.9\n\n      - name: Clear Poetry cache\n        if: steps.cache-poetry.outputs.cache-hit == 'true' && needs.changes.outputs.backend == 'true' && contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-security-scans')\n        run: rm -r .venv\n\n      - name: Create virtual environment\n        if: (steps.cache-poetry.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-security-scans')) && needs.changes.outputs.backend == 'true'\n        run: python -m venv create .venv\n\n      - name: Set up virtual environment\n        if: needs.changes.outputs.backend == 'true'\n        run: poetry config virtualenvs.in-project true\n\n      - name: Install Dependencies (Linux) 📦\n        if: needs.changes.outputs.backend == 'true'\n        run: make install\n\n      - name: Run Bandit 🔪\n        if: needs.changes.outputs.backend == 'true'\n        run: make lint-security\n\n  snyk:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n      - name: Run Snyk Open Source to check for Python vulnerabilities\n        uses: snyk/actions/python-3.8@master\n        continue-on-error: true\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          command: monitor\n          args: --all-projects --org=rasa --skip-unresolved\n      - name: Run Snyk Open Source to check for JS vulnerabilities\n        uses: snyk/actions/node@master\n        continue-on-error: true\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          command: monitor\n          args: --org=rasa --yarn-workspaces --strict-out-of-sync=false --prune-repeated-subdependencies\n", "state": "active", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:28.756681", "created_at": "2020-12-07T16:07:33+01:00", "updated_at": "2020-12-07T16:07:33+01:00", "name": "Typo CI", "path": ".github/workflows/spellcheck.yml", "contents": "name: Typo CI\n\non:\n  push:\n    branches-ignore:\n      - main\njobs:\n  spellcheck:\n    name: Typo CI (GitHub Action)\n    runs-on: ubuntu-22.04\n    timeout-minutes: 4\n    if: \"!contains(github.event.head_commit.message, '[ci skip]')\"\n    steps:\n    - name: TypoCheck\n      uses: typoci/spellcheck-action@a63b1430c8f0ceed9fd0bd0f3ad8f7466e6c695d # v1.1.0\n      # with:\n        # A license can be purchased via:\n        # https://gumroad.com/l/MvvBE\n        # typo_ci_license_key: ${{ secrets.TYPO_CI_LICENSE_KEY }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:29.897603", "created_at": "2021-01-12T09:34:37+01:00", "updated_at": "2021-01-12T09:34:37+01:00", "name": "Check if dependencies can be updated and create a pull request with updated ones.", "path": ".github/workflows/dependabot-batch-updater.yml", "contents": "name: Check if dependencies can be updated and create a pull request with updated ones.\non:\n  schedule:\n    # Run at 05:00 on Wednesday\n    - cron:  '0 5 * * 3'\n\njobs:\n  update_dependencies:\n    runs-on: ubuntu-22.04\n    name: Update dependencies\n    steps:\n      - uses: RasaHQ/dependabot-batch-updater@f049cbb0bbd3754bcb5ab154a79f00cd780fc633 # v1.0\n        with:\n          repo-token: ${{ secrets.RASABOT_GITHUB_TOKEN }}\n          repository: RasaHQ/rasa\n          directory: /\n          package-manager: pip\n          batch-size: 5\n", "state": "active", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:31.014665", "created_at": "2021-01-25T14:03:02+01:00", "updated_at": "2021-12-03T18:26:59+01:00", "name": "Docs Tests", "path": ".github/workflows/ci-docs-tests.yml", "contents": "name: Docs Tests\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    types: [opened, synchronize, labeled]\n\nconcurrency:\n  group: ci-docs-tests-${{ github.ref }} # branch name\n  cancel-in-progress: true\n\nenv:\n  DEFAULT_PYTHON_VERSION: \"3.10\"\n\njobs:\n  changes:\n    name: Check for file changes\n    runs-on: ubuntu-22.04\n    outputs:\n      docs: ${{ steps.filter.outputs.docs }}\n    steps:\n      - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n      - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50\n        id: filter\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          filters: .github/change_filters.yml\n\n  test_documentation:\n    name: Test Documentation\n    runs-on: ubuntu-22.04\n    needs: [changes]\n    if: needs.changes.outputs.docs == 'true'\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON_VERSION }} 🐍\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Set up Node 12.x 🦙\n        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c\n        with:\n          node-version: \"12.x\"\n\n      - name: Read Poetry Version 🔢\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Load Poetry Cached Libraries ⬇\n        id: cache-poetry\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}\n          restore-keys: ${{ runner.os }}-poetry-${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Clear Poetry cache\n        if: steps.cache-poetry.outputs.cache-hit == 'true' && contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-docs-tests')\n        run: rm -r .venv\n\n      - name: Create virtual environment\n        if: (steps.cache-poetry.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-docs-tests'))\n        run: python -m venv create .venv\n\n      - name: Set up virtual environment\n        if: needs.changes.outputs.docs == 'true'\n        run: poetry config virtualenvs.in-project true\n\n      - name: Load Yarn Cached Packages ⬇\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: docs/node_modules\n          key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}\n          restore-keys: ${{ runner.os }}-yarn-12.x\n\n      - name: Install Dependencies 📦\n        run: |\n          sudo apt-get -y install libpq-dev\n          make install-full install-docs\n\n      - name: Run Swagger 🕵️‍♀️\n        run: |\n          npm install -g swagger-cli\n          swagger-cli validate docs/static/spec/action-server.yml\n          swagger-cli validate docs/static/spec/rasa.yml\n\n      - name: Test Docs 🕸\n        run: make test-docs\n\n  documentation_lint:\n    name: Documentation Linting Checks\n    runs-on: ubuntu-22.04\n    needs: [changes]\n    if: needs.changes.outputs.docs == 'true'\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON_VERSION }} 🐍\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Set up Node 12.x 🦙\n        uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c\n        with:\n          node-version: \"12.x\"\n\n      - name: Read Poetry Version 🔢\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Load Poetry Cached Libraries ⬇\n        id: cache-poetry\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}\n          restore-keys: ${{ runner.os }}-poetry-${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Clear Poetry cache\n        if: steps.cache-poetry.outputs.cache-hit == 'true' && contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-docs-tests')\n        run: rm -r .venv\n\n      - name: Create virtual environment\n        if: (steps.cache-poetry.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-docs-tests'))\n        run: python -m venv create .venv\n\n      - name: Set up virtual environment\n        if: needs.changes.outputs.docs == 'true'\n        run: poetry config virtualenvs.in-project true\n\n      - name: Load Yarn Cached Packages ⬇\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: docs/node_modules\n          key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}\n          restore-keys: ${{ runner.os }}-yarn-12.x\n\n      - name: Install Dependencies 📦\n        run: |\n          sudo apt-get -y install libpq-dev\n          make install-full install-docs\n\n      - name: Docs Linting Checks 🕸\n        run: make lint-docs\n", "state": "active", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:32.108097", "created_at": "2021-03-10T15:15:09+01:00", "updated_at": "2021-03-10T15:15:09+01:00", "name": "Automatic PR Merger", "path": ".github/workflows/automatic-pr-update.yml", "contents": "name: Automatic PR Merger\n\non:\n  push: {} # update PR when base branch is updated\n\njobs:\n  # thats's all. single step is needed - if PR is mergeable according to\n  # branch protection rules it will be merged automatically\n  mergepal:\n    runs-on: ubuntu-22.04\n    if: github.repository == 'RasaHQ/rasa'\n\n    steps:\n      - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n      - uses: rasahq/update-pr-branch@f7012036a6d5659cfbc37f180716963511e81f95\n        with:\n          token: ${{ secrets.UPDATE_BRANCH_PAT }}\n          # required parameter by original action -\n          # check is already done through protected branches so not needed for us\n          required_approval_count: 0\n          # update branch despite failing check runs\n          require_passed_checks: false\n", "state": "active", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:33.162922", "created_at": "2022-01-11T15:22:14+01:00", "updated_at": "2024-01-16T15:39:01+01:00", "name": "CI Github Actions", "path": ".github/workflows/ci-github-actions.yml", "contents": "name: CI Github Actions\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n  pull_request:\n\nenv:\n  DEFAULT_PYTHON_VERSION: \"3.10\"\n\njobs:\n  test:\n    name: Run Tests\n    runs-on: ubuntu-22.04\n    #missing matrix\n    strategy:\n      fail-fast: false\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Download gomplate\n        run: |-\n          sudo curl -o /usr/local/bin/gomplate -sSL https://github.com/hairyhenderson/gomplate/releases/download/v3.9.0/gomplate_linux-amd64\n          sudo chmod +x /usr/local/bin/gomplate\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON_VERSION }} 🐍\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Read Poetry Version 🔢\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Load Poetry Cached Libraries ⬇\n        id: cache-poetry\n        uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ env.DEFAULT_PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}-${{ secrets.POETRY_CACHE_VERSION }}\n          restore-keys: ${{ runner.os }}-poetry-${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Clear Poetry cache\n        if: steps.cache-poetry.outputs.cache-hit == 'true' && contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-unit-tests')\n        run: rm -r .venv\n\n      - name: Create virtual environment\n        if: (steps.cache-poetry.outputs.cache-hit != 'true' || contains(github.event.pull_request.labels.*.name, 'tools:clear-poetry-cache-unit-tests'))\n        run: python -m venv create .venv\n\n      - name: Set up virtual environment\n        run: poetry config virtualenvs.in-project true\n\n      - name: Install Dependencies 📦\n        run: |\n          make install-full\n\n      - name: Lint Code 🎎\n        run: |\n          poetry run ruff check .github --extend-ignore D\n          poetry run black --check .github\n\n      - name: Test Code 🔍\n        run: |\n          make test-gh-actions\n", "state": "active", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:34.396926", "created_at": "2023-01-12T13:50:58+01:00", "updated_at": "2023-01-12T14:51:35+01:00", "name": "Semgrep", "path": ".github/workflows/semgrep-check.yml", "contents": "# Name of this GitHub Actions workflow.\nname: Semgrep\n\non:\n  # Scan mainline branches and report all findings:\n  push:\n    branches:\n      - main\n  # Scan changed files in PRs (diff-aware scanning):\n  pull_request:\n\njobs:\n  semgrep:\n    # User-definable name of this GitHub Actions job:\n    name: Semgrep Workflow Security Scan\n    # If you are self-hosting, change the following `runs-on` value:\n    runs-on: ubuntu-22.04\n\n    container:\n      # A Docker image with Semgrep installed. Do not change this.\n      image: returntocorp/semgrep@sha256:37736e4992c539f760e36e14d48924bd9fa70d0abbde39a6d86d93f66a1affd4\n\n    # To skip any PR created by dependabot to avoid permission issues:\n    if: (github.actor != 'dependabot[bot]')\n\n    steps:\n      # Fetch project source with GitHub Actions Checkout.\n      - uses: actions/checkout@v3\n      # Run the \"semgrep ci\" command on the command line of the docker image.\n      - run: semgrep ci\n        env:\n          # Add the rules that Semgrep uses by setting the SEMGREP_RULES environment variable.\n          SEMGREP_RULES: p/github-actions\n", "state": "active", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:35.624779", "created_at": "2024-03-21T16:05:24+01:00", "updated_at": "2024-03-21T16:05:24+01:00", "name": "Backup Rasa repo to S3", "path": ".github/workflows/git-backup.yml", "contents": "name: Backup Rasa repo to S3\non:\n  schedule:\n    # Run cron job at 7AM Monday to Sunday.\n    - cron: \"0 7 * * *\"\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  backup:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n        with:\n          fetch-depth: 0\n    \n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@8c3f20df09ac63af7b3ae3d7c91f105f857d8497 #v3.0.1\n        with:\n          role-to-assume: ${{ secrets.GIT_BACKUP_ROLE_ARN }}\n          aws-region: ${{ secrets.GIT_BACKUP_REGION }}\n    \n      # Determine the date in the right format for us to tag the image.\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y%m%d')\" >> $GITHUB_OUTPUT\n  \n      - name: Create Git bundle\n        run: git bundle create --progress rasa-${{ steps.date.outputs.date }}.bundle --all\n\n      - name: Verify Git bundle\n        run: git bundle verify rasa-${{ steps.date.outputs.date }}.bundle\n\n      - name: Upload bundle to S3\n        run: aws s3 cp rasa-${{ steps.date.outputs.date }}.bundle s3://${{ secrets.GIT_BACKUP_BUCKET }}/rasa/", "state": "active", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:36.854646", "created_at": "2022-01-18T13:14:16+01:00", "updated_at": "2022-06-24T17:30:32+02:00", "name": "Cron Test to Check Pip Installation", "path": ".github/workflows/rasa-install-cron-check.yml", "contents": "# This is a installation test that we run daily. We attempt to install Rasa\n# on Ubuntu, Mac and Windows and try to run `rasa init`. The goal here is to\n# catch installation issues in an automated way.\n\nname: Cron Test to Check Pip Installation\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          [ubuntu-22.04, ubuntu-18.04, macos-latest, windows-2019, windows-2022]\n        python-version: [3.8, 3.9, '3.10']\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Try to install Rasa.\n        run: |\n          python -m pip install rasa\n      - name: Try to install Rasa[full].\n        run: |\n          python -m pip install rasa[full]\n      - name: Try to run Rasa.\n        run: |\n          python -m rasa --version\n          # Must create a folder first\n          mkdir rasa-demo\n          # Next we try to init. \n          python -m rasa init --init-dir rasa-demo --no-prompt\n      - name: Notify slack on failure\n        if: failure()\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n        uses: voxmedia/github-action-slack-notify-build@3665186a8c1a022b28a1dbe0954e73aa9081ea9e\n        with:\n          channel_id: ${{ secrets.SLACK_ALERTS_CHANNEL_ID }}\n          status: FAILED\n          color: danger\n", "state": "disabled_manually", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:38.083402", "created_at": "2022-07-08T15:31:20+02:00", "updated_at": "2023-11-08T10:45:27+01:00", "name": "Nightly Builds", "path": ".github/workflows/nightly_release.yml", "contents": "name: Nightly Builds\non:\n  schedule:\n    # Runs every weekday at 1am\n    - cron: 0 1 * * 1-5\n  workflow_dispatch:\n\n\njobs:\n  run_script_and_tag_nightly_release:\n    name: Run release script and tag a new nightly release\n    runs-on: ubuntu-22.04\n    outputs:\n      tag_name: ${{ steps.set_tagname.outputs.tag_name }}\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON_VERSION }} 🐍\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Compose tag name\n        id: set_tagname\n        run: |\n          DATE=$(date +'%Y%m%d')\n\n          # Find latest rasa-oss version\n          echo \"Trying to find the latest rasa-oss version...\"\n          pip install toml\n          LATEST_RASA_MINOR=$(python scripts/get_version_from_toml.py)\n          echo \"Current RASA version: ${LATEST_RASA_MINOR}\"\n\n          LATEST_NIGHTLY_VERSION=$(echo ${LATEST_RASA_MINOR})\n\n          echo \"Composing nightly build tag name...\"\n          GH_TAG=${LATEST_NIGHTLY_VERSION}.dev${DATE}\n          echo \"New nightly release version: ${GH_TAG}\"\n          echo \"tag_name=${GH_TAG}\" >> $GITHUB_OUTPUT\n\n      - name: Tag latest main commit as nightly\n        run: |\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n\n          git tag -a ${{ steps.set_tagname.outputs.tag_name }} -m \"This is an internal development build\"\n          git push origin ${{ steps.set_tagname.outputs.tag_name }} --tags\n\n\n  deploy:\n    name: Deploy to PyPI\n    runs-on: ubuntu-22.04\n\n    # deploy will only be run when there is a tag available\n    needs: run_script_and_tag_nightly_release  # only run after all other stages succeeded\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON_VERSION }} 🐍\n        uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Read Poetry Version 🔢\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Install poetry 🦄\n        uses: Gr1N/setup-poetry@15821dc8a61bc630db542ae4baf6a7c19a994844 # v8\n        with:\n          poetry-version: ${{ env.POETRY_VERSION }}\n\n      - name: Copy Segment write key to the package\n        env:\n          RASA_TELEMETRY_WRITE_KEY: ${{ secrets.RASA_OSS_TELEMETRY_WRITE_KEY }}\n          RASA_EXCEPTION_WRITE_KEY: ${{ secrets.RASA_OSS_EXCEPTION_WRITE_KEY }}\n        run: |\n          ./scripts/write_keys_file.sh\n\n      - name: Update version (nightly releases) 🚀\n        run: |\n          poetry run pip install toml pep440_version_utils\n          poetry run python ./scripts/prepare_nightly_release.py --next_version \"${{ needs.run_script_and_tag_nightly_release.outputs.tag_name }}\"\n\n      - name: Build ⚒️ Distributions\n        run: |\n          poetry build\n\n      # Authenticate and push to the release registry\n      - id: 'auth-release'\n        name: Authenticate with gcloud for release registry 🎫\n        uses: 'google-github-actions/auth@e8df18b60c5dd38ba618c121b779307266153fbf'\n        with:\n          credentials_json: '${{ secrets.RASA_OSS_RELEASE_ACCOUNT_KEY }}'\n\n      - name: 'Set up Cloud SDK'\n        uses: 'google-github-actions/setup-gcloud@62d4898025f6041e16b1068643bfc5a696863587'\n\n      - name: Release via GCP Artifact Registry\n        run: |\n          pip install keyring\n          pip install keyrings.google-artifactregistry-auth\n          pip install twine\n          gcloud artifacts print-settings python --project=rasa-releases --repository=rasa --location=europe-west3 > ~/.pypirc\n          twine upload --verbose --repository-url https://europe-west3-python.pkg.dev/rasa-releases/rasa/ ${{ format('{0}/dist/*', github.workspace) }} \n\n  docker:\n    name: Build Docker\n    runs-on: ubuntu-22.04\n    needs: run_script_and_tag_nightly_release\n    env:\n      GCLOUD_VERSION: \"297.0.1\"\n      # Registry used to store Docker images used for release purposes\n      DEV_REGISTRY: \"europe-west3-docker.pkg.dev/rasa-ci-cd/rasa\"\n      IMAGE_TAG: ${{ needs.run_script_and_tag_nightly_release.outputs.tag_name }}\n\n    steps:\n      - name: Checkout git repository 🕝\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c\n\n      - name: Free disk space\n        # tries to make sure we do not run out of disk space, see\n        # https://github.community/t5/GitHub-Actions/BUG-Strange-quot-No-space-left-on-device-quot-IOExceptions-on/td-p/46101\n        run: |\n          sudo swapoff -a\n          sudo rm -f /swapfile\n          sudo apt clean\n          docker rmi $(docker image ls -aq)\n          df -h\n\n      - name: Read Poetry Version 🔢\n        run: |\n          echo \"POETRY_VERSION=$(scripts/poetry-version.sh)\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55\n        id: buildx\n        with:\n          version: v0.5.1\n          driver: docker\n\n      - name: Copy Segment write key to the package\n        env:\n          RASA_TELEMETRY_WRITE_KEY: ${{ secrets.RASA_OSS_TELEMETRY_WRITE_KEY }}\n          RASA_EXCEPTION_WRITE_KEY: ${{ secrets.RASA_OSS_EXCEPTION_WRITE_KEY }}\n        run: |\n          ./scripts/write_keys_file.sh\n\n      - name: Build Docker image\n        run: |\n          docker build . -t rasa/rasa:base-localdev -f docker/Dockerfile.base\n          docker build . -t rasa/rasa:base-builder-localdev -f docker/Dockerfile.base-builder --build-arg IMAGE_BASE_NAME=rasa/rasa --build-arg POETRY_VERSION=${{ env.POETRY_VERSION }}\n          docker build . -t rasa/rasa:base-poetry -f docker/Dockerfile.base-poetry --build-arg IMAGE_BASE_NAME=rasa/rasa --build-arg BASE_IMAGE_HASH=localdev\n          docker build . -t rasa/rasa:${IMAGE_TAG} -f Dockerfile --build-arg IMAGE_BASE_NAME=rasa/rasa --build-arg BASE_IMAGE_HASH=localdev --build-arg BASE_BUILDER_IMAGE_HASH=localdev\n          docker tag rasa/rasa:${IMAGE_TAG} ${{env.DEV_REGISTRY}}/rasa:${IMAGE_TAG}\n\n      # Authenticate and push to the release registry\n      - id: 'auth-dev'\n        name: Authenticate with gcloud for dev registry 🎫\n        uses: 'google-github-actions/auth@e8df18b60c5dd38ba618c121b779307266153fbf'\n        with:\n          credentials_json: '${{ secrets.RASA_OSS_RELEASE_ACCOUNT_KEY }}'\n\n      - name: Authenticate docker for dev registry 🎫\n        run: |\n          # Set up docker to authenticate via gcloud command-line tool.\n          gcloud auth configure-docker europe-west3-docker.pkg.dev\n\n      - name: Push image to release registry\n        run: |\n          docker push ${{env.DEV_REGISTRY}}/rasa:${IMAGE_TAG}\n\n  send_slack_notification_on_failure:\n    name: Notify Slack\n    runs-on: ubuntu-22.04\n    if: always()\n    needs:\n      - docker\n      - deploy\n\n    steps:\n      - name: Notify Slack of failure ⛔️\n        # send notification if 'deploy' or 'docker' is skipped (previous needed job failed) or failed\n        if: needs.docker.result != 'success' || needs.deploy.result != 'success'\n        env:\n          SLACK_WEBHOOK: ${{ secrets.SLACK_RELEASE_ASSISTANT_ATOM_ALERTS_WEBHOOK }}\n        uses: Ilshidur/action-slack@689ad44a9c9092315abd286d0e3a9a74d31ab78a\n        with:\n          args: \"⛔️ *Rasa nightly release* failed 😱! Please check out GitHub Actions: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n\n", "state": "disabled_manually", "repository": "rasahq/rasa"}
{"mined_at": "2024-07-15T15:36:40.352737", "created_at": "2020-04-16T18:19:57+02:00", "updated_at": "2024-05-20T12:35:04+02:00", "name": "MLflow tests", "path": ".github/workflows/master.yml", "contents": "name: MLflow tests\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n  push:\n    branches:\n      - master\n      - branch-[0-9]+.[0-9]+\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\n# Use `bash --noprofile --norc -exo pipefail` by default for all `run` steps in this workflow:\n# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#defaultsrun\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\nenv:\n  MLFLOW_HOME: /home/runner/work/mlflow/mlflow\n  # Note miniconda is pre-installed in the virtual environments for GitHub Actions:\n  # https://github.com/actions/virtual-environments/blob/main/images/linux/scripts/installers/miniconda.sh\n  MLFLOW_CONDA_HOME: /usr/share/miniconda\n  SPARK_LOCAL_IP: localhost\n  PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu\n  PYTHONUTF8: \"1\"\n\njobs:\n  # python-skinny tests cover a subset of mlflow functionality\n  # that is meant to be supported with a smaller dependency footprint.\n  # The python skinny tests cover the subset of mlflow functionality\n  # while also verifying certain dependencies are omitted.\n  python-skinny:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - name: Install dependencies\n        run: |\n          source ./dev/install-common-deps.sh --skinny\n      - name: Run tests\n        run: |\n          ./dev/run-python-skinny-tests.sh\n\n  python:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    strategy:\n      fail-fast: false\n      matrix:\n        group: [1, 2]\n        include:\n          - splits: 2\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/free-disk-space\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-pyenv\n      - uses: ./.github/actions/setup-java\n      - uses: ./.github/actions/cache-pip\n      - name: Install dependencies\n        run: |\n          python -m venv .venv\n          source .venv/bin/activate\n          source ./dev/install-common-deps.sh --ml\n      - uses: ./.github/actions/pipdeptree\n      - name: Import check\n        run: |\n          source .venv/bin/activate\n          python tests/check_mlflow_lazily_imports_ml_packages.py\n      - name: Run tests\n        run: |\n          source .venv/bin/activate\n          source dev/setup-ssh.sh\n          pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} --quiet --requires-ssh \\\n            --ignore-flavors --ignore=tests/examples --ignore=tests/recipes --ignore=tests/evaluate \\\n            --ignore tests/deployments/server tests\n\n  database:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 90\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - name: Build\n        run: |\n          ./tests/db/compose.sh pull -q postgresql mysql mssql\n          ./tests/db/compose.sh build --build-arg DEPENDENCIES=\"$(cat requirements/skinny-requirements.txt requirements/core-requirements.txt | grep -Ev '^(#|$)')\"\n      - name: Run tests\n        run: |\n          set +e\n          err=0\n          trap 'err=1' ERR\n\n          for service in $(./tests/db/compose.sh config --services | grep '^mlflow-')\n          do\n            # Set `--no-TTY` to show container logs on GitHub Actions:\n            # https://github.com/actions/virtual-environments/issues/5022\n            ./tests/db/compose.sh run --rm --no-TTY $service pytest \\\n              tests/store/tracking/test_sqlalchemy_store.py \\\n              tests/store/model_registry/test_sqlalchemy_store.py \\\n              tests/db\n          done\n\n          test $err = 0\n\n      - name: Run migration check\n        run: |\n          set +e\n          err=0\n          trap 'err=1' ERR\n\n          ./tests/db/compose.sh down --volumes --remove-orphans\n          for service in $(./tests/db/compose.sh config --services | grep '^migration-')\n          do\n            ./tests/db/compose.sh run --rm --no-TTY $service\n          done\n\n          test $err = 0\n\n      - name: Clean up\n        run: |\n          ./tests/db/compose.sh down --volumes --remove-orphans --rmi all\n\n  java:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-java\n      - name: Install dependencies\n        run: |\n          source ./dev/install-common-deps.sh\n      - uses: ./.github/actions/pipdeptree\n      - name: Run tests\n        run: |\n          cd mlflow/java\n          mvn clean package -q\n\n  flavors:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-pyenv\n      - uses: ./.github/actions/setup-java\n      - uses: ./.github/actions/cache-pip\n      - name: Install dependencies\n        run: |\n          python -m venv .venv\n          source .venv/bin/activate\n          source ./dev/install-common-deps.sh --ml\n      - uses: ./.github/actions/pipdeptree\n      - name: Run tests\n        run: |\n          source .venv/bin/activate\n          pytest \\\n            tests/utils/test_model_utils.py \\\n            tests/tracking/fluent/test_fluent_autolog.py \\\n            tests/autologging \\\n            tests/server/auth\n\n  # It takes 9 ~ 10 minutes to run tests in `tests/models`. To make CI finish faster,\n  # run these tests in a separate job.\n  models:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    strategy:\n      fail-fast: false\n      matrix:\n        group: [1, 2]\n        include:\n          - splits: 2\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/free-disk-space\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-pyenv\n      - uses: ./.github/actions/setup-java\n      - name: Install dependencies\n        run: |\n          source ./dev/install-common-deps.sh\n          pip install pyspark langchain langchain-community\n      - uses: ./.github/actions/pipdeptree\n      - name: Run tests\n        run: |\n          pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} tests/models\n\n  # NOTE: numpy is pinned in this suite due to its heavy reliance on shap, which internally uses\n  # references to the now fully deprecated (as of 1.24.x) numpy types (i.e., np.bool).\n  # When the shap cross version tests are passing in a new release version of shap, this pin should\n  # be removed.\n  evaluate:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 90\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-pyenv\n      - uses: ./.github/actions/setup-java\n      - name: Install dependencies\n        run: |\n          source ./dev/install-common-deps.sh\n          pip install pyspark torch transformers langchain langchain-experimental\n      - uses: ./.github/actions/pipdeptree\n      - name: Run tests\n        run: |\n          pytest tests/evaluate --ignore=tests/evaluate/test_default_evaluator_delta.py\n      - name: Run tests with delta\n        run: |\n          pytest tests/evaluate/test_default_evaluator_delta.py\n\n  pyfunc:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    strategy:\n      fail-fast: false\n      matrix:\n        group: [1, 2]\n        include:\n          - splits: 2\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/free-disk-space\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-pyenv\n      - uses: ./.github/actions/setup-java\n      - name: Install dependencies\n        run: |\n          source ./dev/install-common-deps.sh\n          pip install tensorflow 'pyspark[connect]'\n          pip install typing_extensions -U\n      - uses: ./.github/actions/pipdeptree\n      - name: Run tests\n        run: |\n          pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} --durations=30 \\\n            tests/pyfunc --ignore tests/pyfunc/test_spark_connect.py\n\n          # test_spark_connect.py fails if it's run with other tests, so run it separately.\n          pytest tests/pyfunc/test_spark_connect.py\n\n  sagemaker:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-java\n      - name: Install dependencies\n        run: |\n          source ./dev/install-common-deps.sh --ml\n      - uses: ./.github/actions/pipdeptree\n      - name: Run tests\n        run: |\n          pytest tests/sagemaker\n\n  windows:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: windows-latest\n    timeout-minutes: 120\n    strategy:\n      fail-fast: false\n      matrix:\n        group: [1, 2]\n        include:\n          - splits: 2\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-pyenv\n      - uses: ./.github/actions/setup-java\n      - uses: ./.github/actions/cache-pip\n      - name: Install python dependencies\n        run: |\n          python -m venv .venv\n          source .venv/Scripts/activate\n          python -m pip install -U pip\n          pip install --no-dependencies tests/resources/mlflow-test-plugin\n          pip install .[extras]\n          pip install pyspark\n          pip install mleap\n          # Install Hugging Face datasets to test Hugging Face usage with MLflow dataset tracking\n          pip install datasets\n          # Install TensorFlow to test TensorFlow dataset usage with MLflow dataset tracking\n          pip install tensorflow\n          # Install torch and transformers to test metrics\n          pip install torch transformers\n          pip install -r requirements/test-requirements.txt\n      - uses: ./.github/actions/pipdeptree\n      - name: Download Hadoop winutils for Spark\n        run: |\n          git clone https://github.com/cdarlint/winutils /tmp/winutils\n      - name: Run python tests\n        env:\n          # Starting from SQLAlchemy version 2.0, `QueuePool` is the default connection pool\n          # when creating an `Engine`. `QueuePool` prevents the removal of temporary database\n          # files created during tests on Windows as it keeps the DB connection open until\n          # it's explicitly disposed.\n          MLFLOW_SQLALCHEMYSTORE_POOLCLASS: \"NullPool\"\n        run: |\n          source .venv/Scripts/activate\n          # Set Hadoop environment variables required for testing Spark integrations on Windows\n          export HADOOP_HOME=/tmp/winutils/hadoop-3.2.2\n          export PATH=$PATH:$HADOOP_HOME/bin\n          # Run Windows tests\n          pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} \\\n            --ignore-flavors --ignore=tests/projects --ignore=tests/examples --ignore=tests/recipes --ignore=tests/evaluate --ignore tests/deployments/server \\\n            tests\n          # MLeap is incompatible on Windows with PySpark3.4 release.\n          # Reinstate tests when MLeap has released a fix. [ML-30491]\n          # pytest tests/mleap\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:41.564847", "created_at": "2020-07-10T20:35:21+02:00", "updated_at": "2020-07-10T20:35:21+02:00", "name": "Labeling", "path": ".github/workflows/labeling.yml", "contents": "name: Labeling\n\non:\n  issues:\n    types:\n      - opened\n      - edited\n  pull_request_target:\n    types:\n      - opened\n      - edited\n\npermissions:\n  contents: read\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\njobs:\n  labeling:\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write # harupy/auto-labeling\n      issues: write # harupy/auto-labeling\n    timeout-minutes: 120\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: harupy/auto-labeling@master\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          label-pattern: '- \\[(.*?)\\] ?`(.+?)`'\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:42.634728", "created_at": "2020-07-15T05:54:55+02:00", "updated_at": "2021-04-23T13:28:56+02:00", "name": "Examples", "path": ".github/workflows/examples.yml", "contents": "name: Examples\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n  schedule:\n    # Run this action daily at 13:00 UTC\n    - cron: \"0 13 * * *\"\n  workflow_dispatch:\n    inputs:\n      repository:\n        description: >\n          [Optional] Repository name with owner. For example, mlflow/mlflow.\n           Defaults to the repository that triggered a workflow.\n        required: false\n        default: \"\"\n      ref:\n        description: >\n          [Optional] The branch, tag or SHA to checkout. When checking out the repository that\n           triggered a workflow, this defaults to the reference or SHA for that event. Otherwise,\n           uses the default branch.\n        required: false\n        default: \"\"\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\nenv:\n  MLFLOW_HOME: /home/runner/work/mlflow/mlflow\n  MLFLOW_CONDA_HOME: /usr/share/miniconda\n\njobs:\n  examples:\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    if: github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.repository == 'mlflow-automation/mlflow') || (github.event_name == 'pull_request' && github.event.pull_request.draft == false)\n    strategy:\n      fail-fast: false\n      matrix:\n        group: [1, 2]\n        include:\n          - splits: 2\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: ${{ github.event_name == 'schedule' && 'mlflow/mlflow' || github.event.inputs.repository }}\n          ref: ${{ github.event.inputs.ref }}\n          submodules: recursive\n      - uses: ./.github/actions/free-disk-space\n      - name: Check diff\n        id: check-diff\n        if: github.event_name == 'pull_request'\n        run: |\n          REPO=\"${{ github.repository }}\"\n          PR_NUMBER=\"${{ github.event.pull_request.number }}\"\n          BASE_REF=\"${{ github.base_ref }}\"\n          CHANGED_FILES=$(python dev/list_changed_files.py --repository $REPO --pr-num $PR_NUMBER | grep \"tests/examples\\|examples\" || true);\n          EXAMPLES_CHANGED=$([[ ! -z \"$CHANGED_FILES\" ]] && echo \"true\" || echo \"false\")\n\n          echo -e \"CHANGED_FILES:\\nCHANGED_FILES\"\n          echo \"EXAMPLES_CHANGED: $EXAMPLES_CHANGED\"\n          echo \"examples_changed=$EXAMPLES_CHANGED\" >> $GITHUB_OUTPUT\n\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-pyenv\n\n      - name: Install dependencies\n        if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || steps.check-diff.outputs.examples_changed == 'true' }}\n        run: |\n          source ./dev/install-common-deps.sh --ml\n\n      - name: Run example tests\n        if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || steps.check-diff.outputs.examples_changed == 'true' }}\n        env:\n          SPARK_LOCAL_IP: localhost\n        run: |\n          pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} --serve-wheel tests/examples --durations=30\n\n      - name: Remove conda environments\n        run: |\n          conda remove --all --yes --name test-environment\n          ./dev/remove-conda-envs.sh\n\n      - name: Show disk usage\n        run: |\n          df -h\n\n  docker:\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    if: github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.repository == 'mlflow-automation/mlflow') || (github.event_name == 'pull_request' && github.event.pull_request.draft == false)\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: ${{ github.event_name == 'schedule' && 'mlflow/mlflow' || github.event.inputs.repository }}\n          ref: ${{ github.event.inputs.ref }}\n          submodules: recursive\n\n      - name: Check diff\n        id: check-diff\n        if: github.event_name == 'pull_request'\n        run: |\n          REPO=\"${{ github.repository }}\"\n          PR_NUMBER=\"${{ github.event.pull_request.number }}\"\n          CHANGED_FILES=$(python dev/list_changed_files.py --repository $REPO --pr-num $PR_NUMBER | grep \"Dockerfile\\|\\.dockerignore\" || true);\n          DOCKER_CHANGED=$([[ ! -z \"$CHANGED_FILES\" ]] && echo \"true\" || echo \"false\")\n          echo -e \"CHANGED_FILES:\\nCHANGED_FILES\"\n          echo \"DOCKER_CHANGED: $DOCKER_CHANGED\"\n          echo \"docker_changed=$DOCKER_CHANGED\" >> $GITHUB_OUTPUT\n\n      - name: Run docker tests\n        if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || steps.check-diff.outputs.docker_changed == 'true' }}\n        run: |\n          docker build -t mlflow_test_build . && docker images | grep mlflow_test_build\n\n      - name: Show disk usage\n        run: |\n          df -h\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:43.717499", "created_at": "2020-11-27T06:01:18+01:00", "updated_at": "2024-03-13T11:42:06+01:00", "name": "Cross version tests", "path": ".github/workflows/cross-version-tests.yml", "contents": "name: Cross version tests\nrun-name: ${{ inputs.uuid }}\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n  workflow_dispatch:\n    inputs:\n      repository:\n        description: >\n          [Optional] Repository name with owner. For example, mlflow/mlflow.\n           Defaults to the repository that triggered a workflow.\n        required: false\n        default: \"\"\n      ref:\n        description: >\n          [Optional] The branch, tag or SHA to checkout. When checking out the repository that\n           triggered a workflow, this defaults to the reference or SHA for that event. Otherwise,\n           uses the default branch.\n        required: false\n        default: \"\"\n      flavors:\n        description: \"[Optional] Comma-separated string specifying which flavors to test (e.g. 'sklearn, xgboost'). If unspecified, all flavors are tested.\"\n        required: false\n        default: \"\"\n      versions:\n        description: \"[Optional] Comma-separated string specifying which versions to test (e.g. '1.2.3, 4.5.6'). If unspecified, all versions are tested.\"\n        required: false\n        default: \"\"\n      uuid:\n        description: \"[Optional] A unique identifier for this run.\"\n        required: false\n        default: \"\"\n  schedule:\n    # Run this workflow daily at 13:00 UTC\n    - cron: \"0 13 * * *\"\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\nenv:\n  MLFLOW_HOME: /home/runner/work/mlflow/mlflow\n  PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu\n\njobs:\n  set-matrix:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    if: github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.repository == 'mlflow-automation/mlflow') || (github.event_name == 'pull_request' && github.event.pull_request.draft == false)\n    permissions:\n      issues: read # listLabelsOnIssue\n    outputs:\n      matrix1: ${{ steps.set-matrix.outputs.matrix1 }}\n      matrix2: ${{ steps.set-matrix.outputs.matrix2 }}\n      is_matrix1_empty: ${{ steps.set-matrix.outputs.is_matrix1_empty }}\n      is_matrix2_empty: ${{ steps.set-matrix.outputs.is_matrix2_empty }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          repository: ${{ github.event_name == 'schedule' && 'mlflow/mlflow' || github.event.inputs.repository }}\n          ref: ${{ github.event.inputs.ref }}\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - name: Install dependencies\n        run: |\n          pip install -r dev/requirements.txt\n          pip install pytest pytest-cov\n      - name: Check labels\n        uses: actions/github-script@v7\n        id: check-labels\n        with:\n          script: |\n            if (context.eventName !== \"pull_request\") {\n              return {\n                enable_dev_tests: true,\n                only_latest: false,\n              };\n            }\n            const labels = await github.rest.issues.listLabelsOnIssue({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: context.issue.number,\n            });\n            const labelNames = labels.data.map(({ name }) => name);\n            return {\n              enable_dev_tests: labelNames.includes(\"enable-dev-tests\"),\n              only_latest: labelNames.includes(\"only-latest\"),\n            };\n      - name: Test set_matrix.py\n        run: |\n          python -m pytest --noconftest dev/tests\n      - id: set-matrix\n        name: Set matrix\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          EVENT_NAME=\"${{ github.event_name }}\"\n          if [ \"$EVENT_NAME\" = \"pull_request\" ]; then\n            REPO=\"${{ github.repository }}\"\n            PR_NUMBER=\"${{ github.event.pull_request.number }}\"\n            BASE_REF=\"${{ github.base_ref }}\"\n            REF_VERSIONS_YAML=\"https://raw.githubusercontent.com/$REPO/$BASE_REF/mlflow/ml-package-versions.yml\"\n            CHANGED_FILES=\"$(python dev/list_changed_files.py --repository $REPO --pr-num $PR_NUMBER)\"\n            ENABLE_DEV_TESTS=\"${{ fromJson(steps.check-labels.outputs.result).enable_dev_tests }}\"\n            NO_DEV_FLAG=$([ \"$ENABLE_DEV_TESTS\" == \"true\" ] && echo \"\" || echo \"--no-dev\")\n            ONLY_LATEST=\"${{ fromJson(steps.check-labels.outputs.result).only_latest }}\"\n            ONLY_LATEST_FLAG=$([ \"$ONLY_LATEST\" == \"true\" ] && echo \"--only-latest\" || echo \"\")\n            python dev/set_matrix.py --ref-versions-yaml $REF_VERSIONS_YAML --changed-files \"$CHANGED_FILES\" $NO_DEV_FLAG $ONLY_LATEST_FLAG\n          elif [ \"$EVENT_NAME\" = \"workflow_dispatch\" ]; then\n            python dev/set_matrix.py --flavors \"${{ github.event.inputs.flavors }}\" --versions \"${{ github.event.inputs.versions }}\"\n          else\n            python dev/set_matrix.py\n          fi\n\n  test1:\n    needs: set-matrix\n    if: ${{ needs.set-matrix.outputs.is_matrix1_empty == 'false' }}\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix1) }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          repository: ${{ github.event_name == 'schedule' && 'mlflow/mlflow' || github.event.inputs.repository }}\n          ref: ${{ github.event.inputs.ref }}\n      - uses: ./.github/actions/free-disk-space\n        if: matrix.free_disk_space\n      - uses: ./.github/actions/setup-python\n        with:\n          python-version: ${{ matrix.python }}\n      - uses: ./.github/actions/setup-pyenv\n      - uses: ./.github/actions/setup-java\n        with:\n          java-version: ${{ matrix.java }}\n      - name: Install mlflow & test dependencies\n        run: |\n          pip install wheel\n          pip install .[extras]\n          pip install -r requirements/test-requirements.txt\n      - name: Install ${{ matrix.package }} ${{ matrix.version }}\n        run: |\n          ${{ matrix.install }}\n      - name: Check package versions\n        run: |\n          python dev/show_package_release_dates.py\n      - name: Pre-test\n        if: matrix.pre_test\n        run: |\n          ${{ matrix.pre_test }}\n      - uses: ./.github/actions/pipdeptree\n      - name: Run tests\n        env:\n          MLFLOW_CONDA_HOME: /usr/share/miniconda\n          SPARK_LOCAL_IP: localhost\n          JOHNSNOWLABS_LICENSE_JSON: ${{ secrets.JOHNSNOWLABS_LICENSE_JSON }}\n          HF_HUB_ENABLE_HF_TRANSFER: 1\n        run: |\n          ${{ matrix.run }}\n\n  test2:\n    needs: set-matrix\n    if: ${{ needs.set-matrix.outputs.is_matrix2_empty == 'false' }}\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.set-matrix.outputs.matrix2) }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          repository: ${{ github.event_name == 'schedule' && 'mlflow/mlflow' || github.event.inputs.repository }}\n          ref: ${{ github.event.inputs.ref }}\n      - uses: ./.github/actions/free-disk-space\n        if: matrix.free_disk_space\n      - uses: ./.github/actions/setup-python\n        with:\n          python-version: ${{ matrix.python }}\n      - uses: ./.github/actions/setup-pyenv\n      - uses: ./.github/actions/setup-java\n        with:\n          java-version: ${{ matrix.java }}\n      - name: Install mlflow & test dependencies\n        run: |\n          pip install wheel\n          pip install .[extras]\n          pip install -r requirements/test-requirements.txt\n      - name: Install ${{ matrix.package }} ${{ matrix.version }}\n        run: |\n          ${{ matrix.install }}\n      - name: Check package versions\n        run: |\n          python dev/show_package_release_dates.py\n      - name: Pre-test\n        if: matrix.pre_test\n        run: |\n          ${{ matrix.pre_test }}\n      - uses: ./.github/actions/pipdeptree\n      - name: Run tests\n        env:\n          MLFLOW_CONDA_HOME: /usr/share/miniconda\n          SPARK_LOCAL_IP: localhost\n          JOHNSNOWLABS_LICENSE_JSON: ${{ secrets.JOHNSNOWLABS_LICENSE_JSON }}\n          HF_HUB_ENABLE_HF_TRANSFER: 1\n        run: |\n          ${{ matrix.run }}\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:44.843993", "created_at": "2020-12-25T02:11:52+01:00", "updated_at": "2023-12-22T13:08:03+01:00", "name": "Release-note category", "path": ".github/workflows/release-note-category.yml", "contents": null, "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:45.913340", "created_at": "2021-02-04T04:47:54+01:00", "updated_at": "2021-02-04T04:47:54+01:00", "name": "Test package build", "path": ".github/workflows/test-package-build.yml", "contents": "name: Test package build\n\non:\n  push:\n    branches:\n      - master\n      - branch-[0-9]+.[0-9]+\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\njobs:\n  build:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    permissions:\n      actions: write # deleteArtifact\n    strategy:\n      matrix:\n        type: [\"full\", \"skinny\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"16\"\n\n      - name: Build UI\n        working-directory: mlflow/server/js\n        run: |\n          yarn\n          yarn build\n\n      - name: Install dependencies\n        run: |\n          pip install build twine\n\n      - name: Build distribution files\n        id: build-dist\n        run: |\n          if [ \"${{ matrix.type }}\" == \"skinny\" ]; then\n            ./dev/build.sh --skinny\n          else\n            ./dev/build.sh\n          fi\n\n          # List distribution files and check their file sizes\n          ls -lh dist\n\n          # Set step outputs\n          sdist_path=$(find dist -type f -name \"*.tar.gz\")\n          wheel_path=$(find dist -type f -name \"*.whl\")\n          wheel_name=$(basename $wheel_path)\n          wheel_size=$(stat -c %s $wheel_path)\n          echo \"sdist-path=${sdist_path}\" >> $GITHUB_OUTPUT\n          echo \"wheel-path=${wheel_path}\" >> $GITHUB_OUTPUT\n          echo \"wheel-name=${wheel_name}\" >> $GITHUB_OUTPUT\n          echo \"wheel-size=${wheel_size}\" >> $GITHUB_OUTPUT\n\n      - name: List files in source distribution\n        run: |\n          tar -tf ${{ steps.build-dist.outputs.sdist-path }}\n\n      - name: List files in binary distribution\n        run: |\n          unzip -l ${{ steps.build-dist.outputs.wheel-path }}\n\n      - name: Compare files in source and binary distributions\n        run: |\n          tar -tzf ${{ steps.build-dist.outputs.sdist-path }} | grep -v '/$' | cut -d'/' -f2- | sort > /tmp/source.txt\n          zipinfo -1 ${{ steps.build-dist.outputs.wheel-path }} | sort > /tmp/wheel.txt\n          diff /tmp/source.txt /tmp/wheel.txt || true\n\n      - name: Run twine check\n        run: |\n          twine check --strict ${{ steps.build-dist.outputs.wheel-path }}\n\n      - name: Test installation from tarball\n        run: |\n          pip install ${{ steps.build-dist.outputs.sdist-path }}\n          python -c \"import mlflow; print(mlflow.__version__)\"\n\n      - name: Test installation from wheel\n        run: |\n          pip install --force-reinstall ${{ steps.build-dist.outputs.wheel-path }}\n          python -c \"import mlflow; print(mlflow.__version__)\"\n\n      # Anyone with read access can download the uploaded wheel on GitHub.\n      - name: Store wheel\n        uses: actions/upload-artifact@v4\n        if: github.event_name == 'push'\n        with:\n          name: ${{ steps.build-dist.outputs.wheel-name }}\n          path: ${{ steps.build-dist.outputs.wheel-path }}\n\n      - name: Remove old wheels\n        uses: actions/github-script@v7\n        if: github.event_name == 'push'\n        env:\n          WHEEL_SIZE: ${{ steps.build-dist.outputs.wheel-size }}\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const { owner, repo } = context.repo;\n\n            // For some reason, the newly-uploaded wheel in the previous step is not included.\n            const artifactsResp = await github.rest.actions.listArtifactsForRepo({\n              owner,\n              repo,\n            });\n            const wheels = artifactsResp.data.artifacts.filter(({ name }) => name.endsWith(\".whl\"));\n\n            // The storage usage limit for a free github account is up to 500 MB. See the page below for details:\n            // https://docs.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions\n            MAX_SIZE_IN_BYTES = 300_000_000; // 300 MB\n\n            let index = 0;\n            let sum = parseInt(process.env.WHEEL_SIZE);  // include the newly-uploaded wheel\n            for (const [idx, { size_in_bytes }] of wheels.entries()) {\n              index = idx;\n              sum += size_in_bytes;\n              if (sum > MAX_SIZE_IN_BYTES) {\n                break;\n              }\n            }\n\n            if (sum <= MAX_SIZE_IN_BYTES) {\n              return;\n            }\n\n            // Delete old wheels\n            const promises = wheels.slice(index).map(({ id: artifact_id }) =>\n              github.rest.actions.deleteArtifact({\n                owner,\n                repo,\n                artifact_id,\n              })\n            );\n            Promise.all(promises).then(data => console.log(data));\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:46.911713", "created_at": "2021-08-05T08:16:15+02:00", "updated_at": "2023-03-07T10:50:02+01:00", "name": "Notify DCO Failure", "path": ".github/workflows/notify-dco-failure.yml", "contents": null, "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:48.023633", "created_at": "2021-11-23T10:21:31+01:00", "updated_at": "2021-12-02T01:31:59+01:00", "name": "Autoformat", "path": ".github/workflows/autoformat.yml", "contents": "# See .github/workflows/autoformat.md for instructions on how to test this workflow.\n\nname: Autoformat\non:\n  issue_comment:\n    types: [created, edited]\n\npermissions:\n  contents: read\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\njobs:\n  check-comment:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '@mlflow-automation') && contains(github.event.comment.body, 'autoformat') }}\n    permissions:\n      statuses: write # autoformat.createStatus\n      pull-requests: write # autoformat.createReaction on PRs\n    outputs:\n      should_autoformat: ${{ fromJSON(steps.judge.outputs.result).shouldAutoformat }}\n      repository: ${{ fromJSON(steps.judge.outputs.result).repository }}\n      head_ref: ${{ fromJSON(steps.judge.outputs.result).head_ref }}\n      head_sha: ${{ fromJSON(steps.judge.outputs.result).head_sha }}\n      base_ref: ${{ fromJSON(steps.judge.outputs.result).base_ref }}\n      base_sha: ${{ fromJSON(steps.judge.outputs.result).base_sha }}\n      base_repo: ${{ fromJSON(steps.judge.outputs.result).base_repo }}\n      pull_number: ${{ fromJSON(steps.judge.outputs.result).pull_number }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: judge\n        id: judge\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            core.debug(JSON.stringify(context, null, 2));\n            const autoformat = require('./.github/workflows/autoformat.js');\n            const { comment } = context.payload;\n            const pullInfo = await autoformat.getPullInformation(context, github);\n            const isMaintainer = autoformat.isMlflowMaintainer(comment.author_association) && autoformat.isMlflowMaintainer(pullInfo.author_association);\n            if (!isMaintainer) {\n              core.setFailed(\"Only MLflow maintainers can trigger this workflow in their PRs.\");\n            }\n            const shouldAutoformat = autoformat.shouldAutoformat(comment);\n            if (shouldAutoformat) {\n              await autoformat.createReaction(context, github);\n              await autoformat.createStatus(context, github, core);\n            }\n            return { ...pullInfo, shouldAutoformat };\n\n  format:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    needs: check-comment\n    if: ${{ needs.check-comment.outputs.should_autoformat == 'true' }}\n    permissions:\n      pull-requests: read # view files modified in PR\n    outputs:\n      reformatted: ${{ steps.patch.outputs.reformatted }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: ${{ needs.check-comment.outputs.repository }}\n          ref: ${{ needs.check-comment.outputs.head_ref }}\n          # Set fetch-depth to merge the base branch\n          fetch-depth: 300\n      - name: Check diff\n        id: diff\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          changed_files=\"$(gh pr view --repo ${{ github.repository }} ${{ needs.check-comment.outputs.pull_number }} --json files --jq '.files.[].path')\"\n          protos=$([[ -z $(echo \"$changed_files\" | grep '^\\(mlflow/protos\\|tests/protos\\)') ]] && echo \"false\" || echo \"true\")\n          js=$([[ -z $(echo \"$changed_files\" | grep '^mlflow/server/js') ]] && echo \"false\" || echo \"true\")\n          r=$([[ -z $(echo \"$changed_files\" | grep '^mlflow/R/mlflow') ]] && echo \"false\" || echo \"true\")\n          echo \"protos=$protos\" >> $GITHUB_OUTPUT\n          echo \"js=$js\" >> $GITHUB_OUTPUT\n          echo \"r=$r\" >> $GITHUB_OUTPUT\n      # Merge the base branch (which is usually master) to apply formatting using the latest configurations.\n      - name: Merge base branch\n        run: |\n          git config user.name 'mlflow-automation'\n          git config user.email 'mlflow-automation@users.noreply.github.com'\n          git remote add base https://github.com/${{ needs.check-comment.outputs.base_repo }}.git\n          git fetch base ${{ needs.check-comment.outputs.base_ref }}\n          git merge base/${{ needs.check-comment.outputs.base_ref }}\n      - uses: ./.github/actions/setup-python\n      # ************************************************************************\n      # pre-commit\n      # ************************************************************************\n      - run: |\n          pip install -r requirements/lint-requirements.txt\n          # TODO: Use a precompiled binary once it's available: https://github.com/tamasfe/taplo/issues/542\n          cargo install taplo-cli@0.9.0 --locked\n          pre-commit install\n          pre-commit run --all-files --color=always || true\n      # ************************************************************************\n      # protos\n      # ************************************************************************\n      - if: steps.diff.outputs.protos == 'true'\n        env:\n          DOCKER_BUILDKIT: 1\n        run: |\n          wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip -O /tmp/protoc.zip\n          sudo unzip /tmp/protoc.zip -d /tmp/protoc\n          sudo chmod -R 777 /tmp/protoc\n          echo \"/tmp/protoc/bin\" >> $GITHUB_PATH\n          pip install --upgrade pip\n          pip install .\n      - if: steps.diff.outputs.protos == 'true'\n        run: |\n          python ./dev/generate_protos.py\n      # ************************************************************************\n      # js\n      # ************************************************************************\n      - if: steps.diff.outputs.js == 'true'\n        uses: actions/setup-node@v3\n        with:\n          node-version: \"16\"\n      - if: steps.diff.outputs.js == 'true'\n        working-directory: mlflow/server/js\n        run: |\n          yarn install\n      - if: steps.diff.outputs.js == 'true'\n        working-directory: mlflow/server/js\n        run: |\n          yarn lint:fix\n          yarn prettier:fix\n      - if: steps.diff.outputs.js == 'true'\n        working-directory: mlflow/server/js\n        run: |\n          yarn i18n\n      # ************************************************************************\n      # R\n      # ************************************************************************\n      - if: steps.diff.outputs.r == 'true'\n        working-directory: docs\n        run: |\n          ./build-rdoc.sh\n      # ************************************************************************\n      # Upload patch\n      # ************************************************************************\n      - name: Create patch\n        id: patch\n        run: |\n          git diff > ${{ github.run_id }}.diff\n          reformatted=$([[ -s ${{ github.run_id }}.diff ]] && echo \"true\" || echo \"false\")\n          echo \"reformatted=$reformatted\" >> $GITHUB_OUTPUT\n\n      - name: Upload patch\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.run_id }}.diff\n          path: ${{ github.run_id }}.diff\n\n  push:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    needs: [check-comment, format]\n    if: ${{ needs.format.outputs.reformatted == 'true' }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: ${{ needs.check-comment.outputs.repository }}\n          ref: ${{ needs.check-comment.outputs.head_ref }}\n          # Set fetch-depth to merge the base branch\n          fetch-depth: 300\n          token: ${{ secrets.MLFLOW_AUTOMATION_TOKEN }}\n\n      - name: Merge base branch\n        run: |\n          git config user.name 'mlflow-automation'\n          git config user.email 'mlflow-automation@users.noreply.github.com'\n          git remote add base https://github.com/${{ needs.check-comment.outputs.base_repo }}.git\n          git fetch base ${{ needs.check-comment.outputs.base_ref }}\n          git merge base/${{ needs.check-comment.outputs.base_ref }}\n\n      - name: Download patch\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ github.run_id }}.diff\n          path: /tmp\n\n      - name: Apply patch and push\n        run: |\n          git apply /tmp/${{ github.run_id }}.diff\n          git commit -sam \"Autoformat: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n          git push\n\n  update-status:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    needs: [check-comment, format, push]\n    if: always() && needs.check-comment.outputs.should_autoformat == 'true'\n    permissions:\n      statuses: write # autoformat.updateStatus\n    steps:\n      - uses: actions/checkout@v4\n      - name: Update status\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const needs = ${{ toJson(needs) }};\n            const head_sha = '${{ needs.check-comment.outputs.head_sha }}'\n            const autoformat = require('./.github/workflows/autoformat.js');\n            await autoformat.updateStatus(context, github, head_sha, needs);\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:49.141574", "created_at": "2022-04-15T11:28:19+02:00", "updated_at": "2022-04-15T14:44:58+02:00", "name": "JS", "path": ".github/workflows/js.yml", "contents": "name: JS\n\non:\n  push:\n    paths:\n      - mlflow/server/js/**\n      - .github/workflows/js.yml\n    branches:\n      - master\n      - branch-[0-9]+.[0-9]+\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n    paths:\n      - mlflow/server/js/**\n      - .github/workflows/js.yml\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  js:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        option: [--testPathPattern, --testPathIgnorePatterns]\n        include:\n          - os: ubuntu-latest\n            shell: bash\n          - os: windows-latest\n            shell: pwsh\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: ${{ matrix.shell }}\n        working-directory: mlflow/server/js\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"16\"\n      - name: Disable problem matcher\n        if: runner.os == 'Windows'\n        run: |\n          echo \"::remove-matcher owner=eslint-compact::\"\n          echo \"::remove-matcher owner=eslint-stylish::\"\n      - name: Install dependencies (windows)\n        if: runner.os == 'Windows'\n        run: |\n          # On Windows, `yarn install` changes hash of @databricks/design-system in yarn.lock.\n          # Use `--no-immutable` to allow the change.\n          yarn install --no-immutable\n          git diff\n      - name: Install dependencies (non-windows)\n        if: runner.os != 'Windows'\n        run: |\n          yarn install --immutable\n      - name: Run lint\n        run: |\n          yarn lint\n      - name: Run prettier\n        run: |\n          yarn prettier:check\n      - name: Run extract-i18n lint\n        run: |\n          yarn i18n:check\n      - name: Run tests\n        run: |\n          yarn test --silent ${{ matrix.option }} src/experiment-tracking/components\n      - name: Run build\n        if: runner.os == 'Linux'\n        env:\n          # Prevent warnings (emitted from react-pdf) from being treated as errors\n          # https://github.com/wojtekmaj/react-pdf/issues/280\n          CI: false\n        run: |\n          yarn build\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:50.207821", "created_at": "2022-04-28T05:05:48+02:00", "updated_at": "2022-04-28T08:46:13+02:00", "name": "R", "path": ".github/workflows/r.yml", "contents": "name: R\n\non:\n  push:\n    branches:\n      - master\n      - branch-[0-9]+.[0-9]+\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n  schedule:\n    # Run this workflow daily at 13:00 UTC\n    - cron: \"0 13 * * *\"\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  MLFLOW_HOME: /home/runner/work/mlflow/mlflow\n\njobs:\n  r:\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    if: github.event_name == 'push' || (github.event_name == 'schedule' && github.repository == 'mlflow-automation/mlflow') || (github.event_name == 'pull_request' && github.event.pull_request.draft == false)\n    defaults:\n      run:\n        shell: bash --noprofile --norc -exo pipefail {0}\n        working-directory: mlflow/R/mlflow\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: ${{ github.event_name == 'schedule' && 'mlflow/mlflow' || null }}\n          submodules: recursive\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-pyenv\n      - uses: ./.github/actions/setup-java\n      - uses: r-lib/actions/setup-r@v2\n      # This step dumps the current set of R dependencies and R version into files to be used\n      # as a cache key when caching/restoring R dependencies.\n      - name: Dump dependencies\n        run: |\n          Rscript -e 'source(\".dump-r-dependencies.R\", echo = TRUE)'\n      - name: Get OS name\n        id: os-name\n        run: |\n          # `os_name` will be like \"Ubuntu-20.04.1-LTS\"\n          os_name=$(lsb_release -ds | sed 's/\\s/-/g')\n          echo \"os-name=$os_name\" >> $GITHUB_OUTPUT\n      - name: Cache R packages\n        uses: actions/cache@v4\n        continue-on-error: true\n        # https://github.com/actions/cache/issues/810\n        env:\n          SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5\n        with:\n          path: ${{ env.R_LIBS_USER }}\n          # We cache R dependencies based on a tuple of the current OS, the R version, and the list of\n          # R dependencies\n          key: ${{ steps.os-name.outputs.os-name }}-${{ hashFiles('mlflow/R/mlflow/R-version') }}-0-${{ hashFiles('mlflow/R/mlflow/depends.Rds') }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get install -y libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev\n          Rscript -e 'source(\".install-deps.R\", echo=TRUE)'\n      - name: Set USE_R_DEVEL\n        run: |\n          if [ \"$GITHUB_EVENT_NAME\" = \"schedule\" ]; then\n            USE_R_DEVEL=true\n          elif [ \"$GITHUB_EVENT_NAME\" = \"pull_request\" ]; then\n            # Use r-devel on a pull request targeted to a release branch\n            USE_R_DEVEL=$([[ $GITHUB_BASE_REF =~ branch-[0-9]+\\.[0-9]+$ ]] && echo true || echo false)\n          else\n            # Use r-devel on a push to a release branch\n            USE_R_DEVEL=$([[ $GITHUB_REF_NAME =~ branch-[0-9]+\\.[0-9]+$ ]] && echo true || echo false)\n          fi\n          echo \"USE_R_DEVEL=$USE_R_DEVEL\" >> $GITHUB_ENV\n      - name: Build package\n        run: |\n          ./build-package.sh\n      - name: Create test environment\n        run: |\n          pip install $(git rev-parse --show-toplevel)\n          H2O_VERSION=$(Rscript -e \"print(packageVersion('h2o'))\" | grep -Eo '[0-9][0-9.]+')\n          # test-keras-model.R fails with tensorflow>=2.13.0\n          pip install xgboost 'tensorflow<2.13.0' \"h2o==$H2O_VERSION\"\n          Rscript -e 'source(\".install-mlflow-r.R\", echo=TRUE)'\n      - name: Run tests\n        env:\n          LINTR_COMMENT_BOT: false\n        run: |\n          cd tests\n          Rscript -e 'source(\"../.run-tests.R\", echo=TRUE)'\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:51.249080", "created_at": "2022-05-02T22:40:18+02:00", "updated_at": "2022-05-10T21:21:32+02:00", "name": "Dev environment setup", "path": ".github/workflows/dev-setup.yml", "contents": "name: Dev environment setup\n\non:\n  push:\n    paths:\n      - \"dev/dev-env-setup.sh\"\n      - \"dev/test-dev-env-setup.sh\"\n      - \".github/workflows/dev-setup.yml\"\n  schedule:\n    - cron: \"42 7 * * 0\"\n  workflow_dispatch:\n    inputs:\n      repository:\n        description: >\n          [Optional] Repository name with owner. For example, mlflow/mlflow.\n           Defaults to the repository that triggered a workflow.\n        required: false\n        default: \"\"\n      ref:\n        description: >\n          [Optional] The branch, tag or SHA to checkout. When checking out the repository that\n           triggered a workflow, this defaults to the reference or SHA for that event. Otherwise,\n           uses the default branch.\n        required: false\n        default: \"\"\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\njobs:\n  linux-env-setup:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    if: github.event_name != 'schedule' || github.repository == 'mlflow-automation/mlflow'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          repository: ${{ github.event_name == 'schedule' && 'mlflow/mlflow' || github.event.inputs.repository }}\n          ref: ${{ github.event.inputs.ref }}\n      - name: Setup environment\n        run: |\n          git config --global user.name \"test\"\n          git config --global user.email \"test@mlflow.org\"\n      - name: Run Environment tests\n        run: |\n          TERM=xterm bash ./dev/test-dev-env-setup.sh\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:52.319797", "created_at": "2022-07-05T06:39:52+02:00", "updated_at": "2022-07-06T00:47:35+02:00", "name": "Closing PR", "path": ".github/workflows/closing-pr.yml", "contents": "name: Closing PR\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\npermissions:\n  contents: read\n\njobs:\n  closing-pr:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    permissions:\n      pull-requests: read # closing-pr.js reads the PR body\n      issues: write # closing-pr.js labels issues\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: actions/github-script@v7\n        with:\n          script: |\n            const script = require(\n              `${process.env.GITHUB_WORKSPACE}/.github/workflows/closing-pr.js`\n            );\n            script({ context, github });\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:53.443056", "created_at": "2022-07-06T06:54:40+02:00", "updated_at": "2022-07-06T06:54:40+02:00", "name": "Stale", "path": ".github/workflows/stale.yml", "contents": "name: Stale\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\npermissions:\n  contents: read\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    if: github.event_name != 'schedule' || github.repository == 'mlflow/mlflow'\n    permissions:\n      issues: write # harupy/stale\n      pull-requests: write # harupy/stale\n    steps:\n      - uses: harupy/stale@mlflow-stale-bot\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          stale-issue-message: \"This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 35 days.\"\n          close-issue-message: \"This issue was closed because it has been stalled for 14 days with no activity.\"\n          days-before-stale: 14\n          days-before-close: 35\n          # Only process issues created after 2022-07-01 as an experiment. We can remove this option\n          # once we confirm the bot works fine.\n          start-date: \"2022-07-01T00:00:00Z\"\n          # Prevent the bot from staling/closing PRs\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          days-before-triage-reminder: 7\n          days-before-reply-reminder: 14\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:54.569577", "created_at": "2022-07-20T14:26:27+02:00", "updated_at": "2022-12-16T08:57:27+01:00", "name": "Preview docs", "path": ".github/workflows/preview-docs.yml", "contents": "name: Preview docs\n\non:\n  pull_request_target:\n\npermissions:\n  contents: read\n\njobs:\n  main:\n    if: github.repository == 'mlflow/mlflow'\n    runs-on: ubuntu-latest\n    permissions:\n      statuses: read # preview_docs.py checks PR statuses\n      pull-requests: write # preview_docs.py comments on PRs\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install dependencies\n        run: |\n          pip install requests\n      - name: Create preview link\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          CIRCLE_TOKEN: ${{ secrets.CIRCLE_TOKEN }}\n        run: |\n          python dev/preview_docs.py \\\n            --commit-sha ${{ github.event.pull_request.head.sha }} \\\n            --pull-number ${{ github.event.pull_request.number }} \\\n            --workflow-run-id ${{ github.run_id }}\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:55.677432", "created_at": "2022-07-21T08:28:26+02:00", "updated_at": "2022-07-28T01:30:27+02:00", "name": "Test requirements", "path": ".github/workflows/requirements.yml", "contents": "name: Test requirements\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n    paths:\n      - requirements/core-requirements.yaml\n      - requirements/skinny-requirements.yaml\n      - requirements/gateway-requirements.yaml\n      - .github/workflows/requirements.yml\n  schedule:\n    - cron: \"0 13 * * *\"\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  MLFLOW_HOME: /home/runner/work/mlflow/mlflow\n  MLFLOW_CONDA_HOME: /usr/share/miniconda\n  SPARK_LOCAL_IP: localhost\n  PYTHON_VERSION: \"3.8\"\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\njobs:\n  skinny:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    if: (github.event_name == 'schedule' && github.repository == 'mlflow-automation/mlflow') || (github.event_name == 'pull_request' && github.event.pull_request.draft == false)\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: ${{ github.event_name == 'schedule' && 'mlflow/mlflow' || null }}\n          submodules: recursive\n      - uses: ./.github/actions/setup-python\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install dev script dependencies\n        run: |\n          pip install -r dev/requirements.txt\n      - uses: ./.github/actions/update-requirements\n        if: github.event_name == 'schedule'\n      - name: Install dependencies\n        run: |\n          source ./dev/install-common-deps.sh --skinny\n      - name: Run tests\n        run: |\n          ./dev/run-python-skinny-tests.sh\n\n  core:\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    if: (github.event_name == 'schedule' && github.repository == 'mlflow-automation/mlflow') || (github.event_name == 'pull_request' && github.event.pull_request.draft == false)\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: ${{ github.event_name == 'schedule' && 'mlflow/mlflow' || null }}\n          submodules: recursive\n      - uses: ./.github/actions/free-disk-space\n      - uses: ./.github/actions/setup-python\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - uses: ./.github/actions/setup-pyenv\n      - uses: ./.github/actions/setup-java\n      - name: Install dev script dependencies\n        run: |\n          pip install -r dev/requirements.txt\n      - uses: ./.github/actions/update-requirements\n        if: github.event_name == 'schedule'\n      - name: Install dependencies\n        run: |\n          source ./dev/install-common-deps.sh --ml\n          pip install '.[gateway]'\n      - name: Run tests\n        run: |\n          source dev/setup-ssh.sh\n          pytest tests --quiet --requires-ssh --ignore-flavors \\\n            --ignore=tests/examples --ignore=tests/recipes --ignore=tests/evaluate \\\n            --ignore=tests/deployments\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:56.722950", "created_at": "2022-08-04T09:20:41+02:00", "updated_at": "2022-08-04T10:12:28+02:00", "name": "Protos", "path": ".github/workflows/protos.yml", "contents": "name: Protos\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n    paths:\n      - .github/workflows/protos.yml\n      - mlflow/protos/**\n      - mlflow/java/client/src/main/java/com/databricks/api/proto/**\n      - mlflow/server/graphql/graphql_schema_extensions.py # schema extension changes could trigger changes in the autogenerated schema\n      - requirements/skinny-requirements.txt\n      - requirements/core-requirements.txt\n\nenv:\n  MLFLOW_HOME: /home/runner/work/mlflow/mlflow\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\njobs:\n  protos:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: ${{ github.event.inputs.repository }}\n          ref: ${{ github.event.inputs.ref }}\n          submodules: recursive\n      - name: Test building Docker image\n        working-directory: dev\n        env:\n          DOCKER_BUILDKIT: 1\n        run: |\n          docker build -t gen-protos -f Dockerfile.protos .\n          docker run --rm gen-protos protoc --version\n      - name: Install dependencies\n        run: |\n          wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip -O /tmp/protoc.zip\n          sudo unzip /tmp/protoc.zip -d /tmp/protoc\n          sudo chmod -R 777 /tmp/protoc\n          echo \"/tmp/protoc/bin\" >> $GITHUB_PATH\n          pip install --upgrade pip\n          pip install .\n      - name: Run tests\n        run: |\n          ./dev/test-generate-protos.sh\n\n      - name: Test\n        run: |\n          python -c \"from google.protobuf.internal import api_implementation; assert api_implementation.Type() != 'python'\"\n          python -c \"import mlflow\"\n\n          # Ensure mlflow works fine with the python backend. See the following link for more details:\n          # https://github.com/protocolbuffers/protobuf/tree/main/python#implementation-backends\n          export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python\n          python -c \"from google.protobuf.internal import api_implementation; assert api_implementation.Type() == 'python'\"\n          python -c \"import mlflow\"\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:57.759543", "created_at": "2022-08-17T10:17:23+02:00", "updated_at": "2022-11-16T04:42:15+01:00", "name": "Devcontainer", "path": ".github/workflows/devcontainer.yml", "contents": "name: Devcontainer\n\non:\n  push:\n    branches:\n      - \"master\"\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n    paths:\n      - .devcontainer/**\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\nenv:\n  DOCKER_BUILDKIT: 1\n  BUILDKIT_PROGRESS: plain\n\njobs:\n  devcontainer:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    if: github.repository == 'mlflow/mlflow'\n    permissions:\n      packages: write # to push to ghcr.io\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get image name\n        run: |\n          IMAGE_NAME=$(yq '.services.mlflow.image' .devcontainer/docker-compose.yml)\n          echo \"IMAGE_NAME=$IMAGE_NAME\" >> $GITHUB_ENV\n      - name: Build image\n        run: |\n          docker build -f .devcontainer/Dockerfile.devcontainer -t $IMAGE_NAME .\n      - name: Show layer sizes\n        run: |\n          docker history $IMAGE_NAME\n      - name: Inspect image\n        run: |\n          docker image inspect $IMAGE_NAME\n      - name: Test Image\n        run: |\n          docker run --rm -v $(pwd):/workspaces/mlflow $IMAGE_NAME bash -c \"pip install --no-deps -e . && pytest tests/test_version.py\"\n      - uses: docker/login-action@v2\n        if: github.event_name == 'push'\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Push image\n        if: github.event_name == 'push'\n        run: |\n          docker push $IMAGE_NAME\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:58.831203", "created_at": "2022-09-20T08:02:34+02:00", "updated_at": "2023-01-31T08:26:54+01:00", "name": "Push-Images", "path": ".github/workflows/push-images.yml", "contents": "name: Push-Images\n\non:\n  release:\n    types:\n      - published\n      - edited\n\npermissions:\n  contents: read\n\njobs:\n  push-images:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    permissions:\n      packages: write # to push to ghcr.io\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: ./.github/actions/setup-python\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Gather Docker Metadata for Tracking\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          # list of Docker images to use as base name for tags\n          images: |\n            ghcr.io/mlflow/mlflow\n          # generate Docker tags based on the following events/attributes\n          tags: |\n            type=ref,event=tag\n\n      - name: Build and Push Base Image\n        uses: docker/build-push-action@v3\n        with:\n          context: docker\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          platforms: linux/amd64,linux/arm64\n          build-args: |\n            VERSION=${{ steps.meta.outputs.version }}\n\n      - name: Gather Docker Metadata for Model Server\n        id: modelmeta\n        uses: docker/metadata-action@v4\n        with:\n          # list of Docker images to use as base name for tags\n          images: |\n            ghcr.io/mlflow/model-server\n          # generate Docker tags based on the following events/attributes\n          tags: |\n            type=ref,event=tag\n\n      - name: Build Model Server Image\n        run: |\n          pip install .\n          mlflow models build-docker -n model-server:latest --mlflow-home `pwd`\n\n      - name: Push Model Server Image\n        run: |\n          set -x\n\n          tags=$(echo -n \"${{ steps.modelmeta.outputs.tags }}\" | tr '\\n' ' ')\n          for tag in $tags; do\n            docker tag model-server:latest $tag\n            docker push $tag\n          done\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:36:59.885452", "created_at": "2022-11-07T09:15:49+01:00", "updated_at": "2022-11-07T23:56:23+01:00", "name": "Recipe tests", "path": ".github/workflows/recipe.yml", "contents": "name: Recipe tests\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n  push:\n    branches:\n      - master\n      - branch-[0-9]+.[0-9]+\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\n# Use `bash --noprofile --norc -exo pipefail` by default for all `run` steps in this workflow:\n# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#defaultsrun\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\nenv:\n  MLFLOW_HOME: /home/runner/work/mlflow/mlflow\n  # Note miniconda is pre-installed in the virtual environments for GitHub Actions:\n  # https://github.com/actions/virtual-environments/blob/main/images/linux/scripts/installers/miniconda.sh\n  MLFLOW_CONDA_HOME: /usr/share/miniconda\n  SPARK_LOCAL_IP: localhost\n  PYTHONUTF8: \"1\"\n\njobs:\n  recipes:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-pyenv\n      - name: Install dependencies\n        run: |\n          source ./dev/install-common-deps.sh\n          # FLAML is incompatible with xgboost 2.1.0: https://github.com/microsoft/FLAML/issues/1314\n          pip install pyspark 'xgboost<2.1.0'\n      - name: Run tests\n        run: |\n          pytest tests/recipes\n\n  recipes-windows:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        group: [1, 2]\n        include:\n          - splits: 2\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-pyenv\n      - name: Install python dependencies\n        run: |\n          pip install -r requirements/test-requirements.txt\n          pip install --no-dependencies tests/resources/mlflow-test-plugin\n          pip install .\n          # FLAML is incompatible with xgboost 2.1.0: https://github.com/microsoft/FLAML/issues/1314\n          pip install pyspark 'xgboost<2.1.0'\n          # TODO: Importing datasets in a pandas UDF (created by mlflow.pyfunc.spark_udf) crashes\n          # the Python worker. To avoid this, uninstall `datasets`. This is a temporary workaround.\n          pip uninstall -y datasets\n      - name: Download Hadoop winutils for Spark\n        run: |\n          git clone https://github.com/cdarlint/winutils /tmp/winutils\n      - name: Run tests\n        env:\n          # The default pooling implmentation 'QueuePool' can lead to errors on Windows when\n          # multiple threads access the same SQLite database file simultaneously.\n          MLFLOW_SQLALCHEMYSTORE_POOLCLASS: \"NullPool\"\n        run: |\n          # Set Hadoop environment variables required for testing Spark integrations on Windows\n          export HADOOP_HOME=/tmp/winutils/hadoop-3.2.2\n          export PATH=$PATH:$HADOOP_HOME/bin\n          export MLFLOW_HOME=$(pwd)\n          pytest --splits ${{ matrix.splits }} --group ${{ matrix.group }} tests/recipes\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:01.024147", "created_at": "2022-11-07T23:56:23+01:00", "updated_at": "2022-11-07T23:56:23+01:00", "name": "Recipe template tests", "path": ".github/workflows/recipe-template.yml", "contents": "name: Recipe template tests\n\non:\n  workflow_dispatch:\n    inputs:\n      repository:\n        description: >\n          [Optional] Repository name with owner. For example, mlflow/recipes-examples.\n        required: true\n        default: \"mlflow/recipes-examples\"\n      ref:\n        description: >\n          [Optional] The branch, tag or SHA to checkout. When checking out the repository that\n           triggered a workflow, this defaults to the reference or SHA for that event. Otherwise,\n           uses the default branch.\n        required: false\n        default: \"\"\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\n# Use `bash --noprofile --norc -exo pipefail` by default for all `run` steps in this workflow:\n# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#defaultsrun\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\nenv:\n  # Note miniconda is pre-installed in the virtual environments for GitHub Actions:\n  # https://github.com/actions/virtual-environments/blob/main/images/linux/scripts/installers/miniconda.sh\n  MLFLOW_CONDA_HOME: /usr/share/miniconda\n  PYTHONUTF8: \"1\"\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/checkout@v4\n        with:\n          path: ${{ github.event.inputs.repository }}\n          repository: ${{ github.event.inputs.repository }}\n          ref: ${{ github.event.inputs.ref }}\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/cache-pip\n      - name: Add problem matchers\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/clint.json\"\n          echo \"::add-matcher::.github/workflows/matchers/black.json\"\n          echo \"::add-matcher::.github/workflows/matchers/ruff.json\"\n      - name: Install dependencies\n        run: |\n          pip install -r ${{ github.event.inputs.repository }}/requirements/lint-requirements.txt\n      - name: Install pre-commit hooks\n        run: |\n          cd ${{ github.event.inputs.repository }}\n          pre-commit install -t pre-commit -t prepare-commit-msg\n      - name: Run pre-commit\n        id: pre-commit\n        run: |\n          cd ${{ github.event.inputs.repository }}\n          pre-commit run --all-files\n  recipe:\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/checkout@v4\n        with:\n          path: ${{ github.event.inputs.repository }}\n          repository: ${{ github.event.inputs.repository }}\n          ref: ${{ github.event.inputs.ref }}\n      - uses: ./.github/actions/setup-python\n      - name: Install dependencies\n        run: |\n          pip install .\n          pip install -r ${{ github.event.inputs.repository }}/requirements.txt\n          pip install -r ${{ github.event.inputs.repository }}/requirements/test-requirements.txt\n          # This dependency is needed pytest.ini uses pytest-cov\n          pip install pytest-cov\n      - name: Run tests\n        run: |\n          cd ${{ github.event.inputs.repository }} && pytest tests --rootdir .\n  recipe-windows:\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/checkout@v4\n        with:\n          path: ${{ github.event.inputs.repository }}\n          repository: ${{ github.event.inputs.repository }}\n          ref: ${{ github.event.inputs.ref }}\n      - uses: ./.github/actions/setup-python\n      - name: Install dependencies\n        run: |\n          pip install .\n          pip install -r ${{ github.event.inputs.repository }}/requirements.txt\n          pip install -r ${{ github.event.inputs.repository }}/requirements/test-requirements.txt\n          # This dependency is needed pytest.ini uses pytest-cov\n          pip install pytest-cov\n      - name: Run tests\n        run: |\n          cd ${{ github.event.inputs.repository }} &&  pytest tests --rootdir .\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:02.142315", "created_at": "2022-12-19T04:46:51+01:00", "updated_at": "2022-12-20T03:05:53+01:00", "name": "Advice", "path": ".github/workflows/advice.yml", "contents": "name: Advice\n\non:\n  pull_request_target:\n    types:\n      - opened\n\npermissions:\n  contents: read\n\njobs:\n  notify:\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    permissions:\n      pull-requests: write # advice.js comments on PRs\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: actions/github-script@v7\n        with:\n          script: |\n            const script = require(\n              `${process.env.GITHUB_WORKSPACE}/.github/workflows/advice.js`\n            );\n            script({ context, github });\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:03.274124", "created_at": "2023-06-06T04:45:17+02:00", "updated_at": "2023-07-12T09:19:29+02:00", "name": "⛩ Gateway ⛩", "path": ".github/workflows/gateway.yml", "contents": "name: ⛩ Gateway ⛩\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n  push:\n    branches:\n      - master\n      - branch-[0-9]+.[0-9]+\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\nenv:\n  PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu\n\njobs:\n  gateway:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - name: Install dependencies\n        run: |\n          pip install .[gateway] \\\n            pytest pytest-timeout pytest-asyncio \\\n            httpx psutil sentence-transformers transformers torchvision openai databricks-sdk\n          # Ensure pydantic v2 is installed\n          pip freeze | tail -n +1 | grep -q '^pydantic==2\\.'\n      - name: Run tests with pydantic v2\n        run: |\n          pytest tests/gateway\n      - name: Downgrade pydantic to v1\n        run: |\n          pip install 'pydantic<2.0'\n          # Ensure pydantic v1 is installed\n          pip freeze | tail -n +1 | grep -q '^pydantic==1\\.'\n      - name: Run tests with pydantic v1\n        run: |\n          pytest tests/gateway\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:04.393041", "created_at": "2023-06-09T02:25:16+02:00", "updated_at": "2023-06-09T02:25:16+02:00", "name": "Cancel", "path": ".github/workflows/cancel.yml", "contents": "# Cancel workflow runs associated with a pull request when it is closed or merged.\nname: Cancel\n\non:\n  pull_request_target:\n    types:\n      - closed\n\npermissions:\n  contents: read\n\njobs:\n  cancel:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    permissions:\n      actions: write # to cancel workflow runs\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const script = require(\n              `${process.env.GITHUB_WORKSPACE}/.github/workflows/cancel.js`\n            );\n            await script({ context, github });\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:05.492763", "created_at": "2023-06-19T02:40:32+02:00", "updated_at": "2023-06-19T02:40:32+02:00", "name": "Ask AI", "path": ".github/workflows/ask-ai.yml", "contents": null, "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:06.652942", "created_at": "2023-08-15T11:30:01+02:00", "updated_at": "2023-08-16T05:40:46+02:00", "name": "release-note", "path": ".github/workflows/release-note.yml", "contents": "# A workflow to validate at least one release-note category is selected\n\nname: release-note\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n      - labeled\n      - unlabeled\n  # post-merge job requires write access to add a label and post a comment.\n  pull_request_target:\n    types:\n      - closed\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\njobs:\n  validate-labeled:\n    if: github.event.pull_request.draft == false && github.event.action != 'closed'\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read # validateLabeled looks at PR's labels\n    timeout-minutes: 5\n    steps:\n      - uses: actions/checkout@v4\n      - name: validate-labeled\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            // https://github.com/actions/github-script#run-a-separate-file\n            const script = require(\"./.github/workflows/release-note.js\");\n            await script.validateLabeled({ core, context, github });\n\n  post-merge:\n    if: github.event.action == 'closed' && github.event.pull_request.merged == true\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    permissions:\n      pull-requests: write # postMerge labels PRs\n    steps:\n      - uses: actions/checkout@v4\n      - name: post-merge\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            // https://github.com/actions/github-script#run-a-separate-file\n            const script = require(\"./.github/workflows/release-note.js\");\n            await script.postMerge({ context, github });\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:07.719892", "created_at": "2023-09-06T05:23:12+02:00", "updated_at": "2023-09-06T05:23:12+02:00", "name": "rerun-cross-version-tests", "path": ".github/workflows/rerun.yml", "contents": "# Cross version tests sometimes fail due to transient errors. This workflow reruns failed tests.\nname: rerun-cross-version-tests\n\non:\n  schedule:\n    # Run this workflow daily at 17:00 UTC (4 hours after cross-version-tests.yml workflow)\n    - cron: \"0 17 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  set-matrix:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    if: github.repository == 'mlflow-automation/mlflow'\n    permissions:\n      actions: write # to rerun workflows\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const rerun = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/rerun.js`);\n            await rerun({ context, github, workflow_id: \"cross-version-tests.yml\" });\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:08.905314", "created_at": "2023-11-01T04:21:07+01:00", "updated_at": "2023-11-01T04:21:07+01:00", "name": "Remove Auto-Merge Label on New Commit", "path": ".github/workflows/remove-automerge-label.yml", "contents": null, "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:10.032696", "created_at": "2023-11-16T01:01:41+01:00", "updated_at": "2023-11-16T20:03:22+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n  push:\n    branches:\n      - master\n      - branch-[0-9]+.[0-9]+\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\nenv:\n  PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n        id: setup-python\n      - name: Add problem matchers\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/clint.json\"\n          echo \"::add-matcher::.github/workflows/matchers/format.json\"\n          echo \"::add-matcher::.github/workflows/matchers/ruff.json\"\n      - uses: ./.github/actions/cache-pip\n      - name: Install dependencies\n        run: |\n          python -m venv .venv\n          source .venv/bin/activate\n          pip install -r requirements/lint-requirements.txt\n          # TODO: Use a precompiled binary once it's available: https://github.com/tamasfe/taplo/issues/542\n          cargo install taplo-cli@0.9.0 --locked\n      - uses: ./.github/actions/pipdeptree\n      - name: Install pre-commit hooks\n        run: |\n          source .venv/bin/activate\n          pre-commit install\n      - name: Run pre-commit\n        id: pre-commit\n        env:\n          IS_MAINTAINER: ${{ contains(fromJSON('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.pull_request.author_association )}}\n          NO_FIX: \"true\"\n        run: |\n          source .venv/bin/activate\n          pre-commit run --all-files\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:11.215427", "created_at": "2023-11-16T03:11:49+01:00", "updated_at": "2023-12-05T03:18:23+01:00", "name": "Deployments", "path": ".github/workflows/deployments.yml", "contents": "name: Deployments\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n  push:\n    branches:\n      - master\n      - branch-[0-9]+.[0-9]+\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\njobs:\n  deployments:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - name: Install dependencies\n        run: |\n          pip install --no-dependencies tests/resources/mlflow-test-plugin\n          pip install .[gateway] \\\n            pytest pytest-timeout pytest-asyncio httpx psutil sentence-transformers transformers\n      - name: Run tests\n        run: |\n          pytest tests/deployments\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:12.267992", "created_at": "2023-11-16T07:44:09+01:00", "updated_at": "2023-11-16T20:03:22+01:00", "name": "Protect", "path": ".github/workflows/protect.yml", "contents": "name: Protect\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  protect:\n    # This job prevents accidental auto-merging of PRs when jobs that are conditionally\n    # triggered (for example, those defined in `cross-version-tests.yml`) are either still\n    # in the process of running or have resulted in failures.\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const script = require('./.github/workflows/protect.js');\n            await script({ github, context });\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:13.814474", "created_at": "2024-01-29T09:53:33+01:00", "updated_at": "2024-01-29T09:53:33+01:00", "name": "Review", "path": ".github/workflows/review.yml", "contents": null, "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:14.973267", "created_at": "2024-01-29T11:00:48+01:00", "updated_at": "2024-01-29T11:47:44+01:00", "name": "Team review", "path": ".github/workflows/team-review.yml", "contents": "name: Team review\n\non:\n  pull_request_target:\n    types: [review_requested]\n\njobs:\n  review:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.requested_reviewer.login == 'mlflow-automation'}}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.MLFLOW_AUTOMATION_TOKEN }}\n          script: |\n            const { owner, repo } = context.repo;\n            const pull_number = context.payload.pull_request.number;\n            const members = [\n              \"B-Step62\",\n              \"BenWilson2\",\n              \"daniellok-db\",\n              \"harupy\",\n              \"serena-ruan\",\n              \"WeichenXu123\",\n            ];\n            const author = context.payload.pull_request.user.login;\n            const reviews = await github.rest.pulls.listReviews({\n              owner,\n              repo,\n              pull_number,\n            });\n            const approved = reviews.data\n              .filter((r) => r.state === \"APPROVED\")\n              .map((r) => r.user.login);\n            await github.rest.pulls.requestReviewers({\n              owner,\n              repo,\n              pull_number,\n              reviewers: members.filter((m) => !approved.includes(m) && m !== author),\n            });\n            await github.rest.pulls.removeRequestedReviewers({\n              owner,\n              repo,\n              pull_number,\n              reviewers: [\"mlflow-automation\"],\n            });\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:16.028411", "created_at": "2024-02-07T03:59:18+01:00", "updated_at": "2024-02-27T15:00:54+01:00", "name": "MLflow Slow Tests", "path": ".github/workflows/slow-tests.yml", "contents": "# A daily job to run slow tests with MLFLOW_RUN_SLOW_TESTS environment variable set to true.\nname: MLflow Slow Tests\n\non:\n  pull_request:\n    paths:\n      # Run this workflow in PR when relevant files change\n      - \".github/workflows/slow-tests.yml\"\n      - \"tests/pyfunc/docker/**\"\n  workflow_dispatch:\n    inputs:\n      repository:\n        description: >\n          [Optional] Repository name with owner. For example, mlflow/mlflow.\n           Defaults to the repository that triggered a workflow.\n        required: false\n        default: \"\"\n      ref:\n        description: >\n          [Optional] The branch, tag or SHA to checkout. When checking out the repository that\n           triggered a workflow, this defaults to the reference or SHA for that event. Otherwise,\n           uses the default branch.\n        required: false\n        default: \"\"\n  schedule:\n    # Run this workflow daily at 13:00 UTC\n    - cron: \"0 13 * * *\"\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\nenv:\n  MLFLOW_RUN_SLOW_TESTS: \"true\"\n  MLFLOW_HOME: /home/runner/work/mlflow/mlflow\n  PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu\n\njobs:\n  docker-build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    if: (github.event_name == 'schedule' && github.repository == 'mlflow-automation/mlflow') || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.draft == false)\n    strategy:\n      fail-fast: false\n      matrix:\n        group: [1, 2, 3]\n        include:\n          - splits: 3\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/free-disk-space\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-pyenv\n      - uses: ./.github/actions/setup-java\n      - name: Install dependencies\n        run: |\n          python -m venv .venv\n          source .venv/bin/activate\n          source ./dev/install-common-deps.sh --ml\n          python -m pip install langchain_experimental\n      - uses: ./.github/actions/pipdeptree\n      - name: Run tests\n        run: |\n          source .venv/bin/activate\n          pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} tests/pyfunc/docker\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:17.052642", "created_at": "2024-02-13T07:52:31+01:00", "updated_at": "2024-02-13T09:38:42+01:00", "name": "Warn on editing requirements", "path": ".github/workflows/warn-on-updating-requirements.yml", "contents": null, "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:18.166429", "created_at": "2024-02-13T09:56:31+01:00", "updated_at": "2024-02-15T03:31:08+01:00", "name": "Maintainer approval for requirement edits", "path": ".github/workflows/warn-on-editing-requirements.yml", "contents": "name: Maintainer approval for requirement edits\n\non:\n  pull_request:\n\npermissions:\n  pull-requests: read\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Fail without core maintainer approval\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const prNumber = context.payload.pull_request.number;\n            const repo = context.repo;\n            const { data: files } = await github.rest.pulls.listFiles({\n              owner: repo.owner,\n              repo: repo.repo,\n              pull_number: prNumber,\n            });\n\n            const editedPaths = files.map(file => file.filename);\n            const protectedPaths = new Set([\n              \"setup.py\",\n              \"requirements/skinny-requirements.yaml\",\n            ]);\n\n            if (editedPaths.some(path => protectedPaths.has(path))) {\n              const script = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/require-core-maintainer-approval.js`);\n              const reason = (\n                \"Editing requirements files can cause conflicts in downstream processes \" +\n                \"that depend on MLflow. Please ensure that one of the MLflow Core Maintainers \" +\n                \"has a chance to review this PR, and rerun this workflow once approved.\"\n              );\n              await script({ context, github, core, reason });\n            }\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:19.243762", "created_at": "2024-04-09T10:56:29+02:00", "updated_at": "2024-04-10T05:21:21+02:00", "name": "Patch", "path": ".github/workflows/patch.yml", "contents": "name: Patch\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n\npermissions:\n  contents: read\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\njobs:\n  patch:\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    timeout-minutes: 120\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const script = require('./.github/workflows/patch.js');\n            await script({ github, context, core });\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:20.271096", "created_at": "2024-04-22T10:16:18+02:00", "updated_at": "2024-04-22T10:16:18+02:00", "name": "Cross version test runner", "path": ".github/workflows/cross-version-test-runner.yml", "contents": "name: Cross version test runner\non:\n  issue_comment:\n    types: [created]\n\npermissions:\n  contents: read\n\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    if: ${{ github.event.issue.pull_request && github.event.comment.body }}\n    permissions:\n      pull-requests: write\n      actions: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/github-script@v7\n        id: get-ref\n        with:\n          result-encoding: string\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const runner = require('./.github/workflows/cross-version-test-runner.js');\n            await runner.main({ context, github });\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:21.268121", "created_at": "2024-06-18T13:58:33+02:00", "updated_at": "2024-06-18T13:58:33+02:00", "name": "protobuf 3.19.4 tests", "path": ".github/workflows/protobuf319.yml", "contents": null, "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:22.503696", "created_at": "2024-06-19T10:45:38+02:00", "updated_at": "2024-06-19T10:45:38+02:00", "name": "legacy protobuf tests", "path": ".github/workflows/legacy-protobuf.yml", "contents": null, "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:23.651853", "created_at": "2024-06-20T15:57:50+02:00", "updated_at": "2024-06-21T05:50:38+02:00", "name": "protobuf cross tests", "path": ".github/workflows/protobuf-cross-test.yml", "contents": "name: protobuf cross tests\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n    paths:\n      - \"mlflow/protos/**\"\n  push:\n    branches:\n      - master\n      - branch-[0-9]+.[0-9]+\n    paths:\n      - \"mlflow/protos/**\"\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n\n# Use `bash --noprofile --norc -exo pipefail` by default for all `run` steps in this workflow:\n# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#defaultsrun\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\n\nenv:\n  MLFLOW_HOME: /home/runner/work/mlflow/mlflow\n  # Note miniconda is pre-installed in the virtual environments for GitHub Actions:\n  # https://github.com/actions/virtual-environments/blob/main/images/linux/scripts/installers/miniconda.sh\n  MLFLOW_CONDA_HOME: /usr/share/miniconda\n  SPARK_LOCAL_IP: localhost\n  PYTHONUTF8: \"1\"\n\njobs:\n  core_tests:\n    if: github.event_name != 'pull_request' || github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    timeout-minutes: 120\n    strategy:\n      fail-fast: false\n      matrix:\n        group: [1, 2]\n        protobuf_major_version: [3, 4, 5]\n        include:\n          - splits: 2\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: ./.github/actions/untracked\n      - uses: ./.github/actions/free-disk-space\n      - uses: ./.github/actions/setup-python\n      - uses: ./.github/actions/setup-pyenv\n      - uses: ./.github/actions/setup-java\n      - name: Install dependencies\n        run: |\n          pip install --no-dependencies tests/resources/mlflow-test-plugin\n          pip install .[extras]\n          pip install pyspark\n          # Install Hugging Face datasets to test Hugging Face usage with MLflow dataset tracking\n          pip install datasets\n          # Install TensorFlow to test TensorFlow dataset usage with MLflow dataset tracking\n          pip install tensorflow\n          # Install torch and transformers to test metrics\n          pip install torch transformers\n          pip install -r requirements/test-requirements.txt\n          # Test the latest minor version in protobuf_major_version\n          pip install \"protobuf==${{ matrix.protobuf_major_version }}.*\"\n      - uses: ./.github/actions/pipdeptree\n      - name: Run tests\n        run: |\n          pytest --splits=${{ matrix.splits }} --group=${{ matrix.group }} \\\n            --ignore-flavors --ignore=tests/projects --ignore=tests/examples --ignore=tests/recipes --ignore=tests/evaluate --ignore tests/deployments/server \\\n            tests\n", "state": "active", "repository": "mlflow/mlflow"}
{"mined_at": "2024-07-15T15:37:25.906977", "created_at": "2023-03-14T16:37:32+01:00", "updated_at": "2023-05-11T09:32:33+02:00", "name": "CMake on Linux", "path": ".github/workflows/build-cmake-linux.yml", "contents": null, "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:26.954284", "created_at": "2023-05-10T15:33:59+02:00", "updated_at": "2023-05-11T09:32:33+02:00", "name": "CMake on macOS", "path": ".github/workflows/build-cmake-macos.yml", "contents": null, "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:27.950295", "created_at": "2023-05-10T15:33:59+02:00", "updated_at": "2023-05-11T09:32:33+02:00", "name": "CMake on Windows", "path": ".github/workflows/build-cmake-windows.yml", "contents": null, "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:29.082994", "created_at": "2023-05-11T09:35:17+02:00", "updated_at": "2023-09-07T10:47:00+02:00", "name": "CMake", "path": ".github/workflows/build-cmake.yml", "contents": "name: CMake\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\njobs:\n  linux:\n    strategy:\n      matrix:\n        include:\n          - runner: linux.12xlarge\n            gpu-arch-type: cpu\n          - runner: linux.g5.4xlarge.nvidia.gpu\n            gpu-arch-type: cuda\n            gpu-arch-version: \"11.8\"\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/vision\n      runner: ${{ matrix.runner }}\n      gpu-arch-type: ${{ matrix.gpu-arch-type }}\n      gpu-arch-version: ${{ matrix.gpu-arch-version }}\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        export PYTHON_VERSION=3.8\n        export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}\n        export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}\n\n        ./.github/scripts/cmake.sh\n\n  macos:\n    strategy:\n      matrix:\n        include:\n          - runner: macos-m1-stable\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/macos_job.yml@main\n    with:\n      repository: pytorch/vision\n      runner: ${{ matrix.runner }}\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        export PYTHON_VERSION=3.8\n        export GPU_ARCH_TYPE=cpu\n        export GPU_ARCH_VERSION=''\n\n        ${CONDA_RUN} ./.github/scripts/cmake.sh\n\n  windows:\n    strategy:\n      matrix:\n        include:\n          - runner: windows.4xlarge\n            gpu-arch-type: cpu\n          - runner: windows.g5.4xlarge.nvidia.gpu\n            gpu-arch-type: cuda\n            gpu-arch-version: \"11.8\"\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/windows_job.yml@main\n    with:\n      repository: pytorch/vision\n      runner: ${{ matrix.runner }}\n      gpu-arch-type: ${{ matrix.gpu-arch-type }}\n      gpu-arch-version: ${{ matrix.gpu-arch-version }}\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        export PYTHON_VERSION=3.8\n        export VC_YEAR=2022\n        export VSDEVCMD_ARGS=\"\"\n        export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}\n        export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}\n\n        ./.github/scripts/cmake.sh\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:30.307577", "created_at": "2022-10-27T23:27:52+02:00", "updated_at": "2024-03-20T12:30:42+01:00", "name": "Build Linux Conda", "path": ".github/workflows/build-conda-linux.yml", "contents": "name: Build Linux Conda\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: conda\n      os: linux\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/vision\n            pre-script: \"\"\n            post-script: \"\"\n            conda-package-directory: packaging/torchvision\n            smoke-test-script: test/smoke_test.py\n            package-name: torchvision\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@main\n    with:\n      conda-package-directory: ${{ matrix.conda-package-directory }}\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n    secrets:\n      CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}\n      CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:31.536399", "created_at": "2022-11-04T22:09:03+01:00", "updated_at": "2024-03-20T12:30:42+01:00", "name": "Build M1 Conda", "path": ".github/workflows/build-conda-m1.yml", "contents": "name: Build M1 Conda\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: conda\n      os: macos-arm64\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/vision\n            pre-script: \"\"\n            post-script: \"\"\n            conda-package-directory: packaging/torchvision\n            smoke-test-script: test/smoke_test.py\n            package-name: torchvision\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@main\n    with:\n      conda-package-directory: ${{ matrix.conda-package-directory }}\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      runner-type: macos-m1-stable\n      trigger-event: ${{ github.event_name }}\n    secrets:\n      CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}\n      CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:32.657945", "created_at": "2022-10-29T01:30:31+02:00", "updated_at": "2024-03-19T23:00:22+01:00", "name": "Build Macos Conda", "path": ".github/workflows/build-conda-macos.yml", "contents": null, "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:33.692705", "created_at": "2023-05-01T22:31:08+02:00", "updated_at": "2024-03-20T12:30:42+01:00", "name": "Build Windows Conda", "path": ".github/workflows/build-conda-windows.yml", "contents": "name: Build Windows Conda\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: conda\n      os: windows\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/vision\n            pre-script: packaging/pre_build_script.sh\n            env-script: packaging/windows/internal/vc_env_helper.bat\n            post-script: \"\"\n            smoke-test-script: test/smoke_test.py\n            package-name: torchvision\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@main\n    with:\n      conda-package-directory: ${{ matrix.conda-package-directory }}\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n    secrets:\n      CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}\n      CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:34.700804", "created_at": "2023-08-09T17:55:39+02:00", "updated_at": "2024-01-18T12:34:38+01:00", "name": "Build Aarch64 Linux Wheels", "path": ".github/workflows/build-wheels-aarch64-linux.yml", "contents": "name: Build Aarch64 Linux Wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: linux-aarch64\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      with-cuda: disable\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/vision\n            pre-script: packaging/pre_build_script.sh\n            post-script: packaging/post_build_script.sh\n            smoke-test-script: test/smoke_test.py\n            package-name: torchvision\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n      architecture: aarch64\n      setup-miniconda: false\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:35.837324", "created_at": "2022-10-27T23:23:20+02:00", "updated_at": "2024-01-18T12:34:38+01:00", "name": "Build Linux Wheels", "path": ".github/workflows/build-wheels-linux.yml", "contents": "name: Build Linux Wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: linux\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/vision\n            pre-script: packaging/pre_build_script.sh\n            post-script: packaging/post_build_script.sh\n            smoke-test-script: test/smoke_test.py\n            package-name: torchvision\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:36.885067", "created_at": "2022-11-02T20:00:34+01:00", "updated_at": "2024-01-18T12:34:38+01:00", "name": "Build M1 Wheels", "path": ".github/workflows/build-wheels-m1.yml", "contents": "name: Build M1 Wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: macos-arm64\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/vision\n            pre-script: packaging/pre_build_script.sh\n            post-script: packaging/post_build_script.sh\n            smoke-test-script: test/smoke_test.py\n            package-name: torchvision\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      runner-type: macos-m1-stable\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:37.961559", "created_at": "2022-10-29T01:26:43+02:00", "updated_at": "2024-03-19T23:00:22+01:00", "name": "Build Macos Wheels", "path": ".github/workflows/build-wheels-macos.yml", "contents": null, "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:38.960998", "created_at": "2023-04-26T23:24:01+02:00", "updated_at": "2024-01-18T12:34:38+01:00", "name": "Build Windows Wheels", "path": ".github/workflows/build-wheels-windows.yml", "contents": "name: Build Windows Wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: windows\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/vision\n            pre-script: packaging/pre_build_script.sh\n            env-script: packaging/windows/internal/vc_env_helper.bat\n            post-script: \"python packaging/wheel/relocate.py\"\n            smoke-test-script: test/smoke_test.py\n            package-name: torchvision\n    name: ${{ matrix.repository }}\n    uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      env-script: ${{ matrix.env-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:40.038399", "created_at": "2023-03-10T10:12:05+01:00", "updated_at": "2024-03-20T12:30:42+01:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]\n      - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\njobs:\n  build:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/vision\n      upload-artifact: docs\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        export PYTHON_VERSION=3.8\n        export GPU_ARCH_TYPE=cpu\n        export GPU_ARCH_VERSION=''\n        ./.github/scripts/setup-env.sh\n\n        # Prepare conda\n        CONDA_PATH=$(which conda)\n        eval \"$(${CONDA_PATH} shell.bash hook)\"\n        conda activate ci\n        # FIXME: not sure why we need this. `ldd torchvision/video_reader.so` shows that it\n        #  already links against the one pulled from conda. However, at runtime it pulls from\n        #  /lib64\n        # Should we maybe always do this in `./.github/scripts/setup-env.sh` so that we don't\n        # have to pay attention in all other workflows?\n        export LD_LIBRARY_PATH=\"${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}\"\n\n        cd docs\n\n        echo '::group::Install doc requirements'\n        pip install --progress-bar=off -r requirements.txt\n        echo '::endgroup::'\n\n        if [[ ${{ github.event_name }} == push && (${{ github.ref_type }} == tag || (${{ github.ref_type }} == branch && ${{ github.ref_name }} == release/*)) ]]; then\n          echo '::group::Enable version string sanitization'\n          # This environment variable just has to exist and must not be empty. The actual value is arbitrary.\n          # See docs/source/conf.py for details\n          export TORCHVISION_SANITIZE_VERSION_STR_IN_DOCS=1\n          echo '::endgroup::'\n        fi\n\n        # The runner does not have sufficient memory to run with as many processes as there are\n        # cores (`-j auto`). Thus, we limit to a single process (`-j 1`) here.\n        sed -i -e 's/-j auto/-j 1/' Makefile\n        make html\n\n        # Below is an imperfect way for us to add \"try on collab\" links to all of our gallery examples.\n        # sphinx-gallery will convert all gallery examples to .ipynb notebooks and stores them in\n        # build/html/_downloads/<some_hash>/<example_name>.ipynb\n        # We copy all those ipynb files in a more convenient folder so that we can more easily link to them.\n        mkdir build/html/_generated_ipynb_notebooks\n        for file in `find build/html/_downloads`; do\n          if [[ $file == *.ipynb ]]; then\n            cp $file build/html/_generated_ipynb_notebooks/\n          fi\n        done\n\n        cp -r build/html \"${RUNNER_ARTIFACT_DIR}\"\n\n        # On PRs we also want to upload the docs into our S3 bucket for preview.\n        if [[ ${{ github.event_name == 'pull_request' }} ]]; then\n          cp -r build/html/* \"${RUNNER_DOCS_DIR}\"\n        fi\n\n  upload:\n    needs: build\n    if: github.repository == 'pytorch/vision' && github.event_name == 'push' && \n        ((github.ref_type == 'branch' && github.ref_name == 'main') || github.ref_type == 'tag')\n    permissions:\n      contents: write\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/vision\n      download-artifact: docs\n      ref: gh-pages\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        REF_TYPE=${{ github.ref_type }}\n        REF_NAME=${{ github.ref_name }}\n\n        if [[ \"${REF_TYPE}\" == branch ]]; then\n          TARGET_FOLDER=\"${REF_NAME}\"\n        elif [[ \"${REF_TYPE}\" == tag ]]; then\n          case \"${REF_NAME}\" in\n            *-rc*)\n              echo \"Aborting upload since this is an RC tag: ${REF_NAME}\"\n              exit 0\n              ;;\n            *)\n              # Strip the leading \"v\" as well as the trailing patch version. For example:\n              # 'v0.15.2' -> '0.15'\n              TARGET_FOLDER=$(echo \"${REF_NAME}\" | sed 's/v\\([0-9]\\+\\)\\.\\([0-9]\\+\\)\\.[0-9]\\+/\\1.\\2/')\n              ;;\n          esac\n        fi\n        echo \"Target Folder: ${TARGET_FOLDER}\"\n\n        mkdir -p \"${TARGET_FOLDER}\"\n        rm -rf \"${TARGET_FOLDER}\"/*\n        mv \"${RUNNER_ARTIFACT_DIR}\"/html/* \"${TARGET_FOLDER}\"\n        git add \"${TARGET_FOLDER}\" || true\n\n        if [[ \"${TARGET_FOLDER}\" == main ]]; then\n          mkdir -p _static\n          rm -rf _static/*\n          cp -r \"${TARGET_FOLDER}\"/_static/* _static\n          git add _static || true\n        fi\n\n        git config user.name 'pytorchbot'\n        git config user.email 'soumith+bot@pytorch.org'\n        git config http.postBuffer 524288000\n        git commit -m \"auto-generating sphinx docs\" || true\n        git push\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:41.097580", "created_at": "2023-05-09T11:24:36+02:00", "updated_at": "2023-05-09T11:24:36+02:00", "name": "BC Lint", "path": ".github/workflows/lint-bc.yml", "contents": null, "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:42.142848", "created_at": "2023-03-09T11:32:05+01:00", "updated_at": "2024-03-20T12:30:42+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\njobs:\n  python-source-and-configs:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/vision\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        echo '::group::Setup environment'\n        CONDA_PATH=$(which conda)\n        eval \"$(${CONDA_PATH} shell.bash hook)\"\n        conda create --name ci --quiet --yes python=3.8 pip\n        conda activate ci\n        echo '::endgroup::'\n\n        echo '::group::Install lint tools'\n        pip install --progress-bar=off pre-commit\n        echo '::endgroup::'\n\n        set +e\n        pre-commit run --all-files\n\n        if [ $? -ne 0 ]; then\n          git --no-pager diff\n          exit 1\n        fi\n\n  c-source:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/vision\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        echo '::group::Setup environment'\n        CONDA_PATH=$(which conda)\n        eval \"$(${CONDA_PATH} shell.bash hook)\"\n        # clang-format needs some shared libraries that conflict with the system ones. Thus, we install them from conda\n        # and prepend the libraries to linker path to prioritize them. `ncurses=5` is only available on the conda-forge\n        # channel. Since we are not building or testing here, this is fine.\n        conda create --name ci --quiet --yes -c conda-forge python=3.8 ncurses=5 libgcc\n        conda activate ci\n        export LD_LIBRARY_PATH=\"${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}\"\n        echo '::endgroup::'\n\n        echo '::group::Install lint tools'\n        curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o ./clang-format\n        chmod +x ./clang-format\n        echo '::endgroup::'\n\n        echo '::group::Lint C source'\n        set +e\n        ./.github/scripts/run-clang-format.py -r torchvision/csrc --clang-format-executable ./clang-format --exclude \"torchvision/csrc/io/image/cpu/giflib/*\"\n\n        if [ $? -ne 0 ]; then\n          git --no-pager diff\n          exit 1\n        fi\n        echo '::endgroup::'\n\n\n  python-types:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/vision\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        export PYTHON_VERSION=3.8\n        export GPU_ARCH_TYPE=cpu\n        export GPU_ARCH_VERSION=''\n\n        ./.github/scripts/setup-env.sh\n\n        CONDA_PATH=$(which conda)\n        eval \"$(${CONDA_PATH} shell.bash hook)\"\n        conda activate ci\n\n        echo '::group::Install lint tools'\n        pip install --progress-bar=off mypy\n        echo '::endgroup::'\n\n        echo '::group::Lint Python types'\n        mypy --install-types --non-interactive --config-file mypy.ini\n        echo '::endgroup::'\n\n  bc:\n    if: github.event.pull_request\n    runs-on: ubuntu-latest\n    steps:\n      - name: Run BC Lint Action\n        uses: pytorch/test-infra/.github/actions/bc-lint@main\n        with:\n          repo: ${{ github.event.pull_request.head.repo.full_name }}\n          base_sha: ${{ github.event.pull_request.base.sha }}\n          head_sha: ${{ github.event.pull_request.head.sha }}\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:43.172045", "created_at": "2021-06-07T16:46:48+02:00", "updated_at": "2021-06-09T07:10:05+02:00", "name": "pr-labels", "path": ".github/workflows/pr-labels.yml", "contents": "name: pr-labels\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  is-properly-labeled:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n\n    steps:\n      - name: Set up python\n        uses: actions/setup-python@v5\n\n      - name: Install requests\n        run: pip install requests\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Process commit and find merger responsible for labeling\n        id: commit\n        run: |\n          MERGER=$(python .github/process_commit.py ${{ github.sha }})\n          echo \"merger=${MERGER}\" | tee --append $GITHUB_OUTPUT\n\n      - name: Ping merger responsible for labeling if necessary\n        if: ${{ steps.commit.outputs.merger != '' }}\n        uses: mshick/add-pr-comment@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          message: |\n            Hey ${{ steps.commit.outputs.merger }}!\n\n            You merged this PR, but no labels were added.\n            The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:44.338310", "created_at": "2022-12-14T13:02:15+01:00", "updated_at": "2024-06-04T12:17:18+02:00", "name": "Prototype tests on Linux", "path": ".github/workflows/prototype-tests-linux-gpu.yml", "contents": "name: Prototype tests on Linux\n\n# IMPORTANT: This workflow has been manually disabled from the GitHub interface\n# in June 2024. The file is kept for reference in case we ever put this back.\n\non:\n  pull_request:\n\njobs:\n  unittests-prototype:\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        runner: [\"linux.12xlarge\"]\n        gpu-arch-type: [\"cpu\"]\n        include:\n          - python-version: \"3.8\"\n            runner: linux.g5.4xlarge.nvidia.gpu\n            gpu-arch-type: cuda\n            gpu-arch-version: \"11.8\"\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/vision\n      runner: ${{ matrix.runner }}\n      gpu-arch-type: ${{ matrix.gpu-arch-type }}\n      gpu-arch-version: ${{ matrix.gpu-arch-version }}\n      timeout: 120\n      script: |\n        set -euo pipefail\n\n        export PYTHON_VERSION=${{ matrix.python-version }}\n        export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}\n        export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}\n        ./.github/scripts/setup-env.sh\n        \n        # Prepare conda\n        CONDA_PATH=$(which conda)\n        eval \"$(${CONDA_PATH} shell.bash hook)\"\n        conda activate ci\n\n        echo '::group::Install testing utilities'\n        pip install --progress-bar=off pytest pytest-mock pytest-cov\n        echo '::endgroup::'\n\n        # We don't want to run the prototype datasets tests. Since the positional glob into `pytest`, i.e.\n        # `test/test_prototype*.py` takes the highest priority, neither `--ignore` nor `--ignore-glob` can help us here.\n        rm test/test_prototype_datasets*.py\n        pytest \\\n          -v --durations=25 \\\n          --cov=torchvision/prototype --cov-report=term-missing \\\n          --junit-xml=\"${RUNNER_TEST_RESULTS_DIR}/test-results.xml\" \\\n          test/test_prototype_*.py\n", "state": "disabled_manually", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:45.318380", "created_at": "2022-10-12T19:54:40+02:00", "updated_at": "2023-03-02T11:32:51+01:00", "name": "Unit-tests on Linux CPU", "path": ".github/workflows/test-linux-cpu.yml", "contents": null, "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:46.340527", "created_at": "2022-10-20T20:37:58+02:00", "updated_at": "2023-03-02T11:32:51+01:00", "name": "Unit-tests on Linux GPU", "path": ".github/workflows/test-linux-gpu.yml", "contents": null, "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:47.409745", "created_at": "2022-05-31T09:46:58+02:00", "updated_at": "2023-03-15T18:12:08+01:00", "name": "Unit-tests on M1", "path": ".github/workflows/test-m1.yml", "contents": null, "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:48.524606", "created_at": "2020-09-22T14:22:45+02:00", "updated_at": "2020-09-28T14:21:39+02:00", "name": "tests", "path": ".github/workflows/tests-schedule.yml", "contents": "name: tests\n\non:\n  pull_request:\n    paths:\n      - \"test/test_datasets_download.py\"\n      - \".github/failed_schedule_issue_template.md\"\n      - \".github/workflows/tests-schedule.yml\"\n\n  schedule:\n    - cron: \"0 9 * * *\"\n\njobs:\n  download:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Set up python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Upgrade system packages\n        run: python -m pip install --upgrade pip setuptools wheel\n\n      - name: SSL\n        run: python -c 'import ssl; print(ssl.OPENSSL_VERSION)'\n\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: TODO REMOVE THIS! Install non pre-release version of mpmath.\n        run: pip install \"mpmath<1.4\"\n\n      - name: Install torch nightly build\n        run: pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html\n\n      - name: Install torchvision\n        run: pip install --no-build-isolation --editable .\n\n      - name: Install all optional dataset requirements\n        run: pip install scipy pycocotools lmdb gdown\n\n      - name: Install tests requirements\n        run: pip install pytest\n\n      - name: Run tests\n        run: pytest -ra -v test/test_datasets_download.py\n\n      - uses: JasonEtco/create-an-issue@v2.4.0\n        name: Create issue if download tests failed\n        if: failure() && github.event_name == 'schedule'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPO: ${{ github.repository }}\n          WORKFLOW: ${{ github.workflow }}\n          JOB: ${{ github.job }}\n          ID: ${{ github.run_id }}\n        with:\n          filename: .github/failed_schedule_issue_template.md\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:49.654778", "created_at": "2023-05-11T09:40:51+02:00", "updated_at": "2023-05-11T11:41:53+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\njobs:\n  unittests-linux:\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        runner: [\"linux.12xlarge\"]\n        gpu-arch-type: [\"cpu\"]\n        include:\n          - python-version: 3.8\n            runner: linux.g5.4xlarge.nvidia.gpu\n            gpu-arch-type: cuda\n            gpu-arch-version: \"11.8\"\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/vision\n      runner: ${{ matrix.runner }}\n      gpu-arch-type: ${{ matrix.gpu-arch-type }}\n      gpu-arch-version: ${{ matrix.gpu-arch-version }}\n      timeout: 120\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        export PYTHON_VERSION=${{ matrix.python-version }}\n        export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}\n        export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}\n\n        ./.github/scripts/unittest.sh\n\n  unittests-macos:\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        runner: [\"macos-m1-stable\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/macos_job.yml@main\n    with:\n      repository: pytorch/vision\n      timeout: 240\n      runner: ${{ matrix.runner }}\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        export PYTHON_VERSION=${{ matrix.python-version }}\n        export GPU_ARCH_TYPE=cpu\n        export GPU_ARCH_VERSION=''\n\n        ${CONDA_RUN} ./.github/scripts/unittest.sh\n\n  unittests-windows:\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        runner: [\"windows.4xlarge\"]\n        gpu-arch-type: [\"cpu\"]\n        include:\n          - python-version: \"3.8\"\n            runner: windows.g5.4xlarge.nvidia.gpu\n            gpu-arch-type: cuda\n            gpu-arch-version: \"11.8\"\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/windows_job.yml@main\n    with:\n      repository: pytorch/vision\n      runner: ${{ matrix.runner }}\n      gpu-arch-type: ${{ matrix.gpu-arch-type }}\n      gpu-arch-version: ${{ matrix.gpu-arch-version }}\n      timeout: 120\n      test-infra-ref: main\n      script: |\n        set -euxo pipefail\n\n        export PYTHON_VERSION=${{ matrix.python-version }}\n        export VC_YEAR=2019\n        export VSDEVCMD_ARGS=\"\"\n        export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}\n        export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}\n\n        ./.github/scripts/unittest.sh\n\n  onnx:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/vision\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        export PYTHON_VERSION=3.8\n        export GPU_ARCH_TYPE=cpu\n        export GPU_ARCH_VERSION=''\n\n        ./.github/scripts/setup-env.sh\n\n        # Prepare conda\n        CONDA_PATH=$(which conda)\n        eval \"$(${CONDA_PATH} shell.bash hook)\"\n        conda activate ci\n\n        echo '::group::Install ONNX'\n        pip install --progress-bar=off onnx onnxruntime\n        echo '::endgroup::'\n\n        echo '::group::Install testing utilities'\n        pip install --progress-bar=off pytest\n        echo '::endgroup::'\n\n        echo '::group::Run ONNX tests'\n        pytest --junit-xml=\"${RUNNER_TEST_RESULTS_DIR}/test-results.xml\" -v --durations=25 test/test_onnx.py\n        echo '::endgroup::'\n\n  unittests-extended:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/vision\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        export PYTHON_VERSION=3.8\n        export GPU_ARCH_TYPE=cpu\n        export GPU_ARCH_VERSION=''\n\n        ./.github/scripts/setup-env.sh\n\n        # Prepare conda\n        CONDA_PATH=$(which conda)\n        eval \"$(${CONDA_PATH} shell.bash hook)\"\n        conda activate ci\n\n        echo '::group::Pre-download model weights'\n        pip install --progress-bar=off aiohttp aiofiles tqdm\n        python scripts/download_model_urls.py\n        echo '::endgroup::'\n\n        echo '::group::Install testing utilities'\n        # TODO: remove the <8 constraint on pytest when https://github.com/pytorch/vision/issues/8238 is closed\n        pip install --progress-bar=off \"pytest<8\"\n        echo '::endgroup::'\n\n        echo '::group::Run extended unittests'\n        export PYTORCH_TEST_WITH_EXTENDED=1\n        pytest --junit-xml=\"${RUNNER_TEST_RESULTS_DIR}/test-results.xml\" -v --durations=25 test/test_extended_*.py\n        echo '::endgroup::'\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:50.656218", "created_at": "2023-07-03T19:06:55+02:00", "updated_at": "2023-07-03T19:06:55+02:00", "name": "Trigger nightly builds", "path": ".github/workflows/trigger-nightly.yml", "contents": null, "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:51.675989", "created_at": "2023-03-20T15:03:49+01:00", "updated_at": "2023-10-13T21:40:50+02:00", "name": "Update viable/strict", "path": ".github/workflows/update-viablestrict.yml", "contents": "name: Update viable/strict\n\non:\n  pull_request:\n    paths:\n      - .github/workflows/update-viablestrict.yml\n  schedule:\n    - cron: 10,40 * * * *\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: false\n\njobs:\n  do_update_viablestrict:\n    uses: pytorch/test-infra/.github/workflows/update-viablestrict.yml@main\n    with:\n      repository: pytorch/vision\n      required_checks: \"Build Linux,Build M1,Build Macos,Build Windows,Tests,CMake,Lint,Docs\"\n      test-infra-ref: main\n    secrets:\n      ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }}\n      GITHUB_DEPLOY_KEY : ${{ secrets.VISION_GITHUB_DEPLOY_KEY }}\n", "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:52.694394", "created_at": "2021-12-17T13:46:23+01:00", "updated_at": "2021-12-17T13:46:23+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pytorch/vision"}
{"mined_at": "2024-07-15T15:37:54.727885", "created_at": "2020-08-25T18:32:41+02:00", "updated_at": "2023-09-23T14:11:04+02:00", "name": "Build and upload package", "path": ".github/workflows/build.yaml", "contents": "name: Build and upload package\non:\n  push:\n    branches:\n    - main\n  release:\n    types:\n    - published\n  workflow_dispatch:\n\nenv:\n  FORCE_COLOR: 1\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: Build & Verify package\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n\n    - run: python -m pip install --upgrade pip setuptools_scm build twine\n\n    - name: Force version for Test PyPI upload\n      if: ${{ !startsWith(github.ref, 'refs/tags') }}\n      run: echo version=$(python -m setuptools_scm | awk -F+ '{print $1}' | tail -1) >> $GITHUB_ENV\n\n    - run: echo 'PKG = \"pip\"'>dvc/_build.py\n    - run: python -m build\n      env:\n        SETUPTOOLS_SCM_PRETEND_VERSION_FOR_DVC: ${{ env.version }}\n    - run: twine check --strict dist/*\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: Packages\n        path: dist/\n\n  test-pypi-publish:\n    name: Publish dev package to test.pypi.org\n    runs-on: ubuntu-latest\n    needs: build\n    if: ${{ github.event.action == 'published' || (github.repository == 'iterative/dvc' && github.event_name == 'push' && github.ref == 'refs/heads/main') }}\n\n    environment:\n      name: test-pypi\n      url: https://test.pypi.org/p/dvc\n\n    permissions:\n      id-token: write\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: Packages\n        path: dist\n\n    - name: Upload package to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n        skip-existing: true\n\n  pypi-publish:\n    name: Publish released package to pypi.org\n    runs-on: ubuntu-latest\n    needs: build\n    if: github.event.action == 'published'\n\n    environment:\n      name: pypi\n      url: https://pypi.org/p/dvc\n\n    permissions:\n      id-token: write\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: Packages\n        path: dist\n\n    - name: Upload package to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "iterative/dvc"}
{"mined_at": "2024-07-15T15:37:55.780410", "created_at": "2020-09-04T17:12:10+02:00", "updated_at": "2021-05-05T14:08:46+02:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n  schedule:\n    - cron: '5 1 * * *'  # every day at 01:05\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    timeout-minutes: 50\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, windows-latest, macos-latest]\n        pyv: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.pyv }}\n        cache: pip\n        cache-dependency-path: pyproject.toml\n    - name: install\n      run: |\n        pip install --upgrade pip wheel\n        pip install -e \".[dev]\"\n    - uses: pre-commit/action@v3.0.1\n    - name: run tests\n      timeout-minutes: 40\n      env:\n        PYTHONUTF8: 1\n      run: >\n        pytest -n=logical --timeout=300 --durations=100\n        --cov --cov-report=xml --cov-report=term\n    - name: upload coverage report\n      uses: codecov/codecov-action@v3\n      with:\n        file: ./coverage.xml\n        fail_ci_if_error: false\n  check:\n    if: always()\n    needs: [tests]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n  notify:\n    if: github.ref == 'refs/heads/main' && failure()\n    needs: [tests]\n    runs-on: ubuntu-latest\n    steps:\n    - name: Slack Notification\n      uses: rtCamp/action-slack-notify@v2.3.0\n      env:\n        SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n        SLACK_COLOR: ${{ job.status }}\n        SLACK_MESSAGE: 'CI Failed on main :boom:'\n        SLACK_TITLE: CI Status\n        SLACK_USERNAME: DVC-CI\n", "state": "active", "repository": "iterative/dvc"}
{"mined_at": "2024-07-15T15:37:56.838475", "created_at": "2021-10-03T18:48:56+02:00", "updated_at": "2021-11-09T23:10:49+01:00", "name": "benchmarks", "path": ".github/workflows/benchmarks.yaml", "contents": "name: benchmarks\non: [pull_request, workflow_dispatch]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  bench:\n    name: run benchmarks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n            python-version: \"3.11\"\n      - uses: iterative/dvc-bench@main\n        with:\n            pytest_options: \"-k 'test_init or test_help'\"\n", "state": "active", "repository": "iterative/dvc"}
{"mined_at": "2024-07-15T15:37:57.898839", "created_at": "2022-11-08T07:57:43+01:00", "updated_at": "2022-11-08T08:36:23+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n  schedule:\n    - cron: '32 19 * * 2'\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: ['python']\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        queries: security-extended\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "iterative/dvc"}
{"mined_at": "2024-07-15T15:37:58.916170", "created_at": "2023-01-31T04:11:25+01:00", "updated_at": "2023-01-31T06:13:58+01:00", "name": "Remote Plugin Tests", "path": ".github/workflows/plugin_tests.yaml", "contents": "name: Remote Plugin Tests\n\non:\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    timeout-minutes: 45\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        pyv: [\"3.10\"]\n        plugin: [\"dvc-s3\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        path: dvc\n\n    - uses: actions/checkout@v4\n      with:\n        repository: iterative/${{ matrix.plugin }}\n        ref: main\n        path: ${{ matrix.plugin }}\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.pyv }}\n        cache: pip\n        cache-dependency-path: |\n          dvc/pyproject.toml\n          ${{ matrix.plugin }}/setup.cfg\n\n    - name: Install plugin + DVC@PR\n      run: |\n        pip install --upgrade pip wheel\n        pip install \"./dvc[testing]\"\n        pip install -e \"./${{ matrix.plugin }}[tests]\"\n\n    - name: Run plugin tests\n      timeout-minutes: 15\n      working-directory: ${{ matrix.plugin }}\n      run: pytest -v -n=auto\n", "state": "active", "repository": "iterative/dvc"}
{"mined_at": "2024-07-15T15:38:01.027160", "created_at": "2021-06-30T09:03:56+02:00", "updated_at": "2023-03-27T07:43:26+02:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": null, "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:02.127967", "created_at": "2022-02-14T04:05:38+01:00", "updated_at": "2022-02-14T04:05:38+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:03.382383", "created_at": "2023-03-10T06:50:04+01:00", "updated_at": "2023-03-13T04:23:10+01:00", "name": "PR Tests - Linting", "path": ".github/workflows/pr-tests-linting.yml", "contents": "name: PR Tests - Linting\n\non:\n  workflow_call:\n\n  pull_request:\n    branches:\n      - \"**\"\n\nconcurrency:\n  group: linting-${{ github.event_name == 'pull_request' && format('{0}-{1}', github.workflow, github.event.pull_request.number) || github.workflow_ref }}\n  cancel-in-progress: true\n\njobs:\n  pr-tests-linting:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 1\n      matrix:\n        python-version: [\"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install pip packages\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13\n          uv --version\n\n      - name: Get pip cache dir\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(uv cache dir)\" >> $GITHUB_OUTPUT\n\n      # TODO: change cache key from setup.cfg to something more general\n      - name: pip cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}\n          restore-keys: |\n            ${{ runner.os }}-uv-py${{ matrix.python-version }}-\n\n      - name: Install Tox\n        run: |\n          pip install --upgrade tox tox-uv==1.9.0\n\n      - uses: pre-commit/action@v3.0.1\n\n      - name: Check Protocol Version\n        run: |\n          tox -e syft.protocol.check\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:04.396681", "created_at": "2023-03-10T06:50:04+01:00", "updated_at": "2023-03-13T04:23:10+01:00", "name": "PR Tests - Stack", "path": ".github/workflows/pr-tests-stack.yml", "contents": "name: PR Tests - Stack\n\non:\n  # schedule:\n  #   - cron: \"0 22 * * *\" # 7pm Brazil, 10pm UTC, 8am AEST\n  workflow_call:\n\n  pull_request:\n    branches:\n      - dev\n      - main\n      - \"0.8\"\n\n  workflow_dispatch:\n    inputs:\n      none:\n        description: \"Run Version Tests Manually\"\n        required: false\n\nconcurrency:\n  group: stack-${{ github.event_name == 'pull_request' && format('{0}-{1}', github.workflow, github.event.pull_request.number) || github.workflow_ref }}\n  cancel-in-progress: true\n\njobs:\n  pr-syft-image-test:\n    strategy:\n      max-parallel: 99\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\"]\n      fail-fast: false\n\n    runs-on: ${{matrix.os}}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Check for file changes\n        uses: dorny/paths-filter@v3\n        id: changes\n        with:\n          base: ${{ github.ref }}\n          token: ${{ github.token }}\n          filters: .github/file-filters.yml\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        if: steps.changes.outputs.stack == 'true'\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        if: steps.changes.outputs.stack == 'true'\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13\n          uv --version\n\n      - name: Get pip cache dir\n        if: steps.changes.outputs.stack == 'true'\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(uv cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        if: steps.changes.outputs.stack == 'true'\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-uv-py${{ matrix.python-version }}\n          restore-keys: |\n            ${{ runner.os }}-uv-py${{ matrix.python-version }}\n\n      - name: Install tox\n        if: steps.changes.outputs.stack == 'true'\n        run: |\n          pip install --upgrade tox tox-uv==1.9.0\n\n      - name: Run syft backend base image building test\n        if: steps.changes.outputs.stack == 'true'\n        timeout-minutes: 60\n        run: |\n          tox -e backend.test.basecpu\n\n  pr-tests-syft-integration:\n    strategy:\n      max-parallel: 99\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\"]\n        pytest-modules: [\"local_node\"]\n      fail-fast: false\n\n    runs-on: ${{matrix.os}}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Check for file changes\n        uses: dorny/paths-filter@v3\n        id: changes\n        with:\n          base: ${{ github.ref }}\n          token: ${{ github.token }}\n          filters: .github/file-filters.yml\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        if: steps.changes.outputs.stack == 'true'\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        if: steps.changes.outputs.stack == 'true'\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13\n          uv --version\n\n      - name: Get pip cache dir\n        if: steps.changes.outputs.stack == 'true'\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(uv cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        if: steps.changes.outputs.stack == 'true'\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-uv-py${{ matrix.python-version }}\n          restore-keys: |\n            ${{ runner.os }}-uv-py${{ matrix.python-version }}\n\n      - name: Install tox\n        if: steps.changes.outputs.stack == 'true'\n        run: |\n          pip install --upgrade tox tox-uv==1.9.0\n\n      - name: Run Syft Integration Tests\n        if: steps.changes.outputs.stack == 'true'\n        timeout-minutes: 60\n        env:\n          PYTEST_MODULES: \"${{ matrix.pytest-modules }}\"\n          GITHUB_CI: true\n        shell: bash\n        run: |\n          tox -e syft.test.integration\n\n  pr-tests-integration-k8s:\n    strategy:\n      max-parallel: 99\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\"]\n        pytest-modules: [\"frontend network container_workload\"]\n      fail-fast: false\n\n    runs-on: ${{matrix.os}}\n\n    steps:\n      - name: Permission to home directory\n        run: |\n          sudo chown -R $USER:$USER $HOME\n      - uses: actions/checkout@v4\n      - name: Check for file changes\n        uses: dorny/paths-filter@v3\n        id: changes\n        with:\n          base: ${{ github.ref }}\n          token: ${{ github.token }}\n          filters: .github/file-filters.yml\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        if: steps.changes.outputs.stack == 'true'\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Add K3d Registry\n        run: |\n          sudo python ./scripts/patch_hosts.py --add-k3d-registry\n\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          tool-cache: true\n          large-packages: false\n\n      # free 10GB of space\n      - name: Remove unnecessary files\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          docker image prune --all --force\n          docker builder prune --all --force\n          docker system prune --all --force\n\n      - name: Upgrade pip\n        if: steps.changes.outputs.stack == 'true'\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13\n          uv --version\n\n      - name: Get pip cache dir\n        if: steps.changes.outputs.stack == 'true'\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(uv cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        if: steps.changes.outputs.stack == 'true'\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-uv-py${{ matrix.python-version }}\n          restore-keys: |\n            ${{ runner.os }}-uv-py${{ matrix.python-version }}\n\n      - name: Install tox\n        if: steps.changes.outputs.stack == 'true'\n        run: |\n          pip install --upgrade tox tox-uv==1.9.0\n\n      - name: Install kubectl\n        if: steps.changes.outputs.stack == 'true'\n        run: |\n          # cleanup apt version\n          sudo apt remove kubectl || true\n          # install kubectl 1.27\n          curl -LO https://dl.k8s.io/release/v1.27.2/bin/linux/amd64/kubectl\n          chmod +x kubectl\n          sudo install kubectl /usr/local/bin;\n\n      - name: Install helm\n        if: steps.changes.outputs.stack == 'true'\n        run: |\n          # install helm\n          curl  -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3\n          chmod 700 get_helm.sh\n          ./get_helm.sh\n\n      - name: Run K8s & Helm integration tests\n        if: steps.changes.outputs.stack == 'true'\n        timeout-minutes: 60\n        env:\n          PYTEST_MODULES: \"${{ matrix.pytest-modules }}\"\n          GITHUB_CI: true\n          AZURE_BLOB_STORAGE_KEY: \"${{ secrets.AZURE_BLOB_STORAGE_KEY }}\"\n        shell: bash\n        run: |\n          K3D_VERSION=v5.6.3\n          DEVSPACE_VERSION=v6.3.12\n          # install k3d\n          wget https://github.com/k3d-io/k3d/releases/download/${K3D_VERSION}/k3d-linux-amd64\n          mv k3d-linux-amd64 k3d\n          chmod +x k3d\n          export PATH=`pwd`:$PATH\n          k3d version\n          curl -sSL https://github.com/loft-sh/devspace/releases/download/${DEVSPACE_VERSION}/devspace-linux-amd64 -o ./devspace\n          chmod +x devspace\n          devspace version\n\n          tox -e stack.test.integration.k8s\n          tox -e syft.build.helm\n          tox -e syft.package.helm\n          # tox -e syft.test.helm\n\n      - name: Get current timestamp\n        id: date\n        if: failure()\n        shell: bash\n        run: echo \"date=$(date +%s)\" >> $GITHUB_OUTPUT\n\n      - name: Collect logs from k3d\n        if: steps.changes.outputs.stack == 'true' && failure()\n        shell: bash\n        run: |\n          mkdir -p ./k8s-logs\n          kubectl describe all -A --context k3d-test-gateway-1 --namespace syft > ./k8s-logs/test-gateway-1-desc-${{ steps.date.outputs.date }}.txt\n          kubectl describe all -A --context k3d-test-domain-1 --namespace syft > ./k8s-logs/test-domain-1-desc-${{ steps.date.outputs.date }}.txt\n          kubectl logs -l app.kubernetes.io/name!=random --prefix=true --context k3d-test-gateway-1 --namespace syft > ./k8s-logs/test-gateway-1-logs-${{ steps.date.outputs.date }}.txt\n          kubectl logs -l app.kubernetes.io/name!=random --prefix=true --context k3d-test-domain-1 --namespace syft > ./k8s-logs/test-domain-1-logs-${{ steps.date.outputs.date }}.txt\n          ls -la ./k8s-logs\n\n      - name: Upload logs to GitHub\n        uses: actions/upload-artifact@master\n        if: steps.changes.outputs.stack == 'true' && failure()\n        with:\n          name: k8s-logs-integration-${{ matrix.os }}-${{ steps.date.outputs.date }}\n          path: ./k8s-logs/\n\n      - name: Cleanup k3d\n        if: steps.changes.outputs.stack == 'true' && failure()\n        shell: bash\n        run: |\n          export PATH=`pwd`:$PATH\n          k3d cluster delete test-gateway-1 || true\n          k3d cluster delete test-domain-1 || true\n          k3d registry delete k3d-registry.localhost || true\n\n  pr-tests-notebook-k8s:\n    strategy:\n      max-parallel: 99\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\"]\n      fail-fast: false\n\n    runs-on: ${{matrix.os}}\n\n    steps:\n      - name: Permission to home directory\n        run: |\n          sudo chown -R $USER:$USER $HOME\n      - uses: actions/checkout@v4\n      - name: Check for file changes\n        uses: dorny/paths-filter@v3\n        id: changes\n        with:\n          base: ${{ github.ref }}\n          token: ${{ github.token }}\n          filters: .github/file-filters.yml\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        if: steps.changes.outputs.stack == 'true'\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Add K3d Registry\n        run: |\n          sudo python ./scripts/patch_hosts.py --add-k3d-registry\n\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          tool-cache: true\n          large-packages: false\n\n      # free 10GB of space\n      - name: Remove unnecessary files\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          docker image prune --all --force\n          docker builder prune --all --force\n          docker system prune --all --force\n\n      - name: Upgrade pip\n        if: steps.changes.outputs.stack == 'true'\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13\n          uv --version\n\n      - name: Get pip cache dir\n        if: steps.changes.outputs.stack == 'true'\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(uv cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        if: steps.changes.outputs.stack == 'true'\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-uv-py${{ matrix.python-version }}\n          restore-keys: |\n            ${{ runner.os }}-uv-py${{ matrix.python-version }}\n\n      - name: Install tox\n        if: steps.changes.outputs.stack == 'true'\n        run: |\n          pip install --upgrade tox tox-uv==1.9.0\n\n      - name: Install kubectl\n        if: steps.changes.outputs.stack == 'true'\n        run: |\n          # cleanup apt version\n          sudo apt remove kubectl || true\n          # install kubectl 1.27\n          curl -LO https://dl.k8s.io/release/v1.27.2/bin/linux/amd64/kubectl\n          chmod +x kubectl\n          sudo install kubectl /usr/local/bin;\n\n      - name: Install helm\n        if: steps.changes.outputs.stack == 'true'\n        run: |\n          # install helm\n          curl  -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3\n          chmod 700 get_helm.sh\n          ./get_helm.sh\n\n      - name: Run Notebooks Tests\n        if: steps.changes.outputs.stack == 'true'\n        timeout-minutes: 60\n        env:\n          GITHUB_CI: true\n        shell: bash\n        run: |\n          K3D_VERSION=v5.6.3\n          DEVSPACE_VERSION=v6.3.12\n          # install k3d\n          wget https://github.com/k3d-io/k3d/releases/download/${K3D_VERSION}/k3d-linux-amd64\n          mv k3d-linux-amd64 k3d\n          chmod +x k3d\n          export PATH=`pwd`:$PATH\n          k3d version\n          curl -sSL https://github.com/loft-sh/devspace/releases/download/${DEVSPACE_VERSION}/devspace-linux-amd64 -o ./devspace\n          chmod +x devspace\n          devspace version\n          tox -e stack.test.notebook.k8s\n\n      - name: Get current timestamp\n        id: date\n        if: failure()\n        shell: bash\n        run: echo \"date=$(date +%s)\" >> $GITHUB_OUTPUT\n\n      - name: Collect logs from k3d\n        if: steps.changes.outputs.stack == 'true' && failure()\n        shell: bash\n        run: |\n          mkdir -p ./k8s-logs\n          kubectl describe all -A --context k3d-test-gateway-1 --namespace syft > ./k8s-logs/test-gateway-1-desc-${{ steps.date.outputs.date }}.txt\n          kubectl describe all -A --context k3d-test-domain-1 --namespace syft > ./k8s-logs/test-domain-1-desc-${{ steps.date.outputs.date }}.txt\n          kubectl logs -l app.kubernetes.io/name!=random --prefix=true --context k3d-test-gateway-1 --namespace syft > ./k8s-logs/test-gateway-1-logs-${{ steps.date.outputs.date }}.txt\n          kubectl logs -l app.kubernetes.io/name!=random --prefix=true --context k3d-test-domain-1 --namespace syft > ./k8s-logs/test-domain-1-logs-${{ steps.date.outputs.date }}.txt\n          ls -la ./k8s-logs\n\n      - name: Upload logs to GitHub\n        uses: actions/upload-artifact@master\n        if: steps.changes.outputs.stack == 'true' && failure()\n        with:\n          name: k8s-logs-notebook-${{ matrix.os }}-${{ steps.date.outputs.date }}\n          path: ./k8s-logs/\n\n      - name: Cleanup k3d\n        if: steps.changes.outputs.stack == 'true' && failure()\n        shell: bash\n        run: |\n          export PATH=`pwd`:$PATH\n          k3d cluster delete test-gateway-1 || true\n          k3d cluster delete test-domain-1 || true\n          k3d registry delete k3d-registry.localhost || true\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:05.527065", "created_at": "2023-03-10T06:50:04+01:00", "updated_at": "2023-03-27T12:27:25+02:00", "name": "PR Tests - Syft", "path": ".github/workflows/pr-tests-syft.yml", "contents": "name: PR Tests - Syft\n\non:\n  workflow_call:\n\n  pull_request:\n    branches:\n      - dev\n      - main\n      - \"0.8\"\n\n  workflow_dispatch:\n    inputs:\n      none:\n        description: \"Run Tests Manually\"\n        required: false\n\nconcurrency:\n  group: syft-${{ github.event_name == 'pull_request' && format('{0}-{1}', github.workflow, github.event.pull_request.number) || github.workflow_ref }}\n  cancel-in-progress: true\n\njobs:\n  pr-tests-syft-unit:\n    strategy:\n      max-parallel: 99\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.12\"]\n        include:\n          - python-version: \"3.11\"\n            os: \"ubuntu-latest\"\n          - python-version: \"3.10\"\n            os: \"ubuntu-latest\"\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      # - name: Permission to home directory\n      #   if: matrix.os == 'ubuntu-latest'\n      #   run: |\n      #     sudo chown -R $USER:$USER $HOME\n      - name: \"clean .git/config\"\n        if: matrix.os == 'windows-latest'\n        continue-on-error: true\n        shell: bash\n        run: |\n          echo \"deleting ${GITHUB_WORKSPACE}/.git/config\"\n          rm ${GITHUB_WORKSPACE}/.git/config\n\n      - uses: actions/checkout@v4\n\n      - name: Check for file changes\n        uses: dorny/paths-filter@v3\n        id: changes\n        with:\n          base: ${{ github.ref }}\n          token: ${{ github.token }}\n          filters: .github/file-filters.yml\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        if: steps.changes.outputs.syft == 'true'\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        if: steps.changes.outputs.syft == 'true'\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13\n          uv --version\n\n      - name: Get pip cache dir\n        id: pip-cache\n        if: steps.changes.outputs.syft == 'true'\n        shell: bash\n        run: |\n          echo \"dir=$(uv cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        if: steps.changes.outputs.syft == 'true'\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}\n          restore-keys: |\n            ${{ runner.os }}-uv-py${{ matrix.python-version }}-\n\n      # - name: Docker on MacOS\n      #   if: steps.changes.outputs.syft == 'true' && matrix.os == 'macos-latest'\n      #   uses: crazy-max/ghaction-setup-docker@v3.3.0\n      #   with:\n      #     set-host: true\n\n      - name: Install Dependencies\n        if: steps.changes.outputs.syft == 'true'\n        run: |\n          pip install --upgrade tox tox-uv==1.9.0\n\n      - name: Run unit tests\n        if: steps.changes.outputs.syft == 'true'\n        run: |\n          tox -e syft.test.unit\n          tox -e seaweedfs.test.unit\n\n  pr-tests-syft-notebook-python:\n    strategy:\n      max-parallel: 99\n      matrix:\n        # Disable on windows until its flakyness is reduced.\n        # os: [ubuntu-latest, macos-latest, windows-latest]\n        os: [ubuntu-latest, macos-latest]\n        python-version: [\"3.12\"]\n        deployment-type: [\"python\"]\n        notebook-paths: [\"tutorials\"]\n        bump-version: [\"False\"]\n        include:\n          - python-version: \"3.11\"\n            os: \"ubuntu-latest\"\n            deployment-type: \"python\"\n            notebook-paths: \"tutorials\"\n          - python-version: \"3.10\"\n            os: \"ubuntu-latest\"\n            deployment-type: \"python\"\n            notebook-paths: \"tutorials\"\n          - python-version: \"3.12\"\n            os: \"ubuntu-latest\"\n            deployment-type: \"python\"\n            notebook-paths: \"tutorials\"\n            bump-version: \"True\"\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      # - name: Permission to home directory\n      #   if: matrix.os == 'ubuntu-latest'\n      #   run: |\n      #     sudo chown -R $USER:$USER $HOME\n      - name: \"clean .git/config\"\n        if: matrix.os == 'windows-latest'\n        continue-on-error: true\n        shell: bash\n        run: |\n          echo \"deleting ${GITHUB_WORKSPACE}/.git/config\"\n          rm ${GITHUB_WORKSPACE}/.git/config\n\n      - uses: actions/checkout@v4\n\n      - name: Check for file changes\n        uses: dorny/paths-filter@v3\n        id: changes\n        with:\n          base: ${{ github.ref }}\n          token: ${{ github.token }}\n          filters: .github/file-filters.yml\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        if: steps.changes.outputs.syft == 'true'  || steps.changes.outputs.notebooks == 'true'\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        if: steps.changes.outputs.syft == 'true'  || steps.changes.outputs.notebooks == 'true'\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13\n          uv --version\n\n      - name: Get pip cache dir\n        id: pip-cache\n        if: steps.changes.outputs.syft == 'true'  || steps.changes.outputs.notebooks == 'true'\n        shell: bash\n        run: |\n          echo \"dir=$(uv cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        if: steps.changes.outputs.syft == 'true'  || steps.changes.outputs.notebooks == 'true'\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}\n          restore-keys: |\n            ${{ runner.os }}-uv-py${{ matrix.python-version }}-\n\n      - name: Install Dependencies\n        if: steps.changes.outputs.syft == 'true'  || steps.changes.outputs.notebooks == 'true'\n        run: |\n          pip install --upgrade tox tox-uv==1.9.0\n\n      - name: Run notebook tests\n        uses: nick-fields/retry@v3\n        if: steps.changes.outputs.syft == 'true'  || steps.changes.outputs.notebooks == 'true'\n        env:\n          ORCHESTRA_DEPLOYMENT_TYPE: \"${{ matrix.deployment-type }}\"\n          TEST_NOTEBOOK_PATHS: \"${{ matrix.notebook-paths }}\"\n          BUMP_VERSION: \"${{ matrix.bump-version }}\"\n        with:\n          timeout_seconds: 2400\n          max_attempts: 3\n          command: tox -e syft.test.notebook\n\n  pr-tests-syft-notebook-single-container:\n    strategy:\n      max-parallel: 99\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        deployment-type: [\"remote\"]\n        notebook-paths: [\"api/0.8\"]\n      fail-fast: false\n\n    runs-on: ${{matrix.os}}\n\n    steps:\n      # - name: Permission to home directory\n      #   if: matrix.os == 'ubuntu-latest'\n      #   run: |\n      #     sudo chown -R $USER:$USER $HOME\n      - uses: actions/checkout@v4\n\n      # free 10GB of space\n      - name: Remove unnecessary files\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          docker image prune --all --force\n          docker builder prune --all --force\n          docker system prune --all --force\n\n      - name: Check for file changes\n        uses: dorny/paths-filter@v3\n        id: changes\n        with:\n          base: ${{ github.ref }}\n          token: ${{ github.token }}\n          filters: .github/file-filters.yml\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        if: steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true'\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        if: steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true'\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13\n          uv --version\n\n      - name: Get pip cache dir\n        id: pip-cache\n        if: steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true'\n        shell: bash\n        run: |\n          echo \"dir=$(uv cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        if: steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true'\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}\n          restore-keys: |\n            ${{ runner.os }}-uv-py${{ matrix.python-version }}-\n\n      - name: Install Dependencies\n        if: steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true'\n        run: |\n          pip install --upgrade tox tox-uv==1.9.0\n\n      - name: Docker Compose on Linux\n        if: (steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true') && matrix.os == 'ubuntu-latest'\n        shell: bash\n        run: |\n          mkdir -p ~/.docker/cli-plugins\n          DOCKER_COMPOSE_VERSION=v2.21.0\n          curl -sSL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose\n          chmod +x ~/.docker/cli-plugins/docker-compose\n          docker compose version\n\n      - name: Docker on MacOS\n        if: (steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true') && matrix.os == 'macos-latest'\n        uses: crazy-max/ghaction-setup-docker@v3.3.0\n\n      - name: Docker Compose on MacOS\n        if: (steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true') && matrix.os == 'macos-latest'\n        shell: bash\n        run: |\n          brew install docker-compose\n          mkdir -p ~/.docker/cli-plugins\n          ln -sfn /usr/local/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose || true\n          docker compose version\n\n      - name: Docker on Windows\n        if: (steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true') && matrix.os == 'windows-latest'\n        shell: pwsh\n        run: |\n          [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12\n          Start-BitsTransfer -Source \"https://download.docker.com/win/static/stable/x86_64/docker-23.0.1.zip\"\n          Expand-Archive docker-23.0.1.zip -DestinationPath $Env:ProgramFiles\n          &$Env:ProgramFiles\\Docker\\dockerd --register-service\n          Start-Service docker\n          docker version\n          docker compose version\n\n      - name: Run unit tests\n        if: steps.changes.outputs.stack == 'true' || steps.changes.outputs.notebooks == 'true'\n        env:\n          ORCHESTRA_DEPLOYMENT_TYPE: \"${{ matrix.deployment-type }}\"\n          DEV_MODE: \"True\" # force orchestra --build\n          TEST_NOTEBOOK_PATHS: \"${{ matrix.notebook-paths }}\"\n        run: |\n          tox -e single_container.launch\n          tox -e stack.test.notebook\n          tox -e single_container.destroy\n\n  pr-tests-syft-security:\n    strategy:\n      max-parallel: 1\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\"]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      # - name: Permission to home directory\n      #   if: matrix.os == 'ubuntu-latest'\n      #   run: |\n      #     sudo chown -R $USER:$USER $HOME\n      - uses: actions/checkout@v4\n      - name: Check for file changes\n        uses: dorny/paths-filter@v3\n        id: changes\n        with:\n          base: ${{ github.ref }}\n          token: ${{ github.token }}\n          filters: .github/file-filters.yml\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        if: steps.changes.outputs.syft == 'true'\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        if: steps.changes.outputs.syft == 'true'\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13\n          uv --version\n\n      - name: Get pip cache dir\n        if: steps.changes.outputs.syft == 'true'\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(uv cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        if: steps.changes.outputs.syft == 'true'\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}\n          restore-keys: |\n            ${{ runner.os }}-uv-py${{ matrix.python-version }}-\n\n      - name: Install Dependencies\n        if: steps.changes.outputs.syft == 'true'\n        run: |\n          pip install --upgrade tox tox-uv==1.9.0\n\n      - name: Scan for security issues\n        if: steps.changes.outputs.syft == 'true'\n        run: |\n          tox -e syft.test.security\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:06.659005", "created_at": "2023-03-13T04:23:10+01:00", "updated_at": "2023-03-13T04:23:10+01:00", "name": "CD - Docs", "path": ".github/workflows/cd-docs.yml", "contents": "name: CD - Docs\non:\n  workflow_dispatch:\n    inputs:\n      none:\n        description: \"Deploy Syft Documentation\"\n        required: false\n  # pull_request:\n  #   branches: [dev]\n  #   paths: [docs/]\n  # push:\n  #   branches: [dev]\n  #   paths: [docs/]\n\njobs:\n  cd-docs:\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install tox\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13 tox tox-uv==1.9.0\n          uv --version\n\n      - name: Build the docs\n        run: |\n          tox -e syft.docs\n\n      - name: Deploy the docs\n        uses: s0/git-publish-subdir-action@develop\n        env:\n          REPO: self\n          BRANCH: gh-pages\n          FOLDER: docs/build/html\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:07.993324", "created_at": "2023-03-13T04:23:10+01:00", "updated_at": "2024-02-15T12:36:30+01:00", "name": "CD - Syft", "path": ".github/workflows/cd-syft.yml", "contents": "name: CD - Syft\n\non:\n  schedule:\n    - cron: \"0 12 * * 0\" # At 12:00 UTC on every Sunday\n\n  workflow_dispatch:\n    inputs:\n      skip_tests:\n        description: \"If true, skip pre-release tests\"\n        required: false\n        default: \"false\"\n        type: choice\n        options:\n          - false\n          - true\n\n      release_platform:\n        description: \"Release Platform\"\n        required: true\n        default: \"REAL_PYPI\"\n        type: choice\n        options:\n          - REAL_PYPI\n          - TEST_PYPI\n          - REAL_AND_TEST_PYPI\n\n# Prevents concurrent runs of the same workflow\n# while the previous run is still in progress\nconcurrency:\n  group: \"CD - Syft\"\n  cancel-in-progress: false\n\njobs:\n  release-checks:\n    if: github.repository == 'OpenMined/PySyft' # don't run on forks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      # The steps ensure that the cron job is able to run only for\n      # for beta releases and not for stable releases\n      # For stable release, we always have to manually run the workflow\n      - name: Check if the release is a beta release\n        run: |\n          if [[ $(python packages/grid/VERSION) != *\"beta\"* && ${{github.event_name}} == 'schedule'  ]]; then\n            echo \"Cron Job could only be run for beta releases\"\n            exit 1\n          fi\n\n      # Print the github user triggering the workflow\n      - name: Github User triggering the workflow\n        run: |\n          echo \"Github User: ${{ github.actor }}\"\n\n  call-pr-tests-linting:\n    needs: [release-checks]\n    if: github.repository == 'OpenMined/PySyft' && needs.release-checks.result == 'success' && (github.event.inputs.skip_tests == 'false' || github.event_name == 'schedule') # don't run on forks\n    uses: OpenMined/PySyft/.github/workflows/pr-tests-linting.yml@dev\n\n  call-pr-tests-syft:\n    needs: [release-checks]\n    if: github.repository == 'OpenMined/PySyft' && needs.release-checks.result == 'success' && (github.event.inputs.skip_tests == 'false' || github.event_name == 'schedule') # don't run on forks\n    uses: OpenMined/PySyft/.github/workflows/pr-tests-syft.yml@dev\n\n  call-pr-tests-stack:\n    needs: [release-checks]\n    if: github.repository == 'OpenMined/PySyft' && needs.release-checks.result == 'success' && (github.event.inputs.skip_tests == 'false' || github.event_name == 'schedule') # don't run on forks\n    uses: OpenMined/PySyft/.github/workflows/pr-tests-stack.yml@dev\n    secrets: inherit\n\n  build-and-push-docker-images:\n    needs:\n      [\n        call-pr-tests-linting,\n        call-pr-tests-syft,\n        call-pr-tests-stack,\n        release-checks,\n      ]\n    if: always() && needs.release-checks.result == 'success' && (needs.call-pr-tests-linting.result == 'success' && needs.call-pr-tests-syft.result == 'success' && needs.call-pr-tests-stack.result == 'success' || github.event.inputs.skip_tests == 'true')\n\n    strategy:\n      matrix:\n        runner: [sh-arc-linux-x64, sh-arc-linux-arm64]\n    runs-on: ${{ matrix.runner }}\n\n    outputs:\n      release_tag: ${{ steps.get_release_tag.outputs.release_tag }}\n      grid_version: ${{ steps.release_metadata.outputs.grid_version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      # actions/setup-python doesn't yet support ARM\n      - name: Setup Python on x64\n        if: ${{ !endsWith(matrix.runner, '-arm64') }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      # Currently psutil package requires gcc to be installed on arm\n      # for building psutil from source\n      # as linux/aarch64 wheels not avaialble for psutil\n      # We could remove once we have aarch64 wheels\n      # https://github.com/giampaolo/psutil/issues/1972\n      - name: Install Metadata packages for arm64\n        if: ${{ endsWith(matrix.runner, '-arm64') }}\n        run: |\n          sudo apt update -y\n          sudo apt install software-properties-common -y\n          sudo apt install gcc -y\n\n      - name: Setup Python on arm64\n        if: ${{ endsWith(matrix.runner, '-arm64') }}\n        uses: deadsnakes/action@v3.1.0\n        with:\n          python-version: \"3.12\"\n\n      - name: Install Git\n        run: |\n          sudo apt-get update\n          sudo apt-get install git -y\n\n      - name: Check python version\n        run: |\n          python --version\n          python3 --version\n          which python\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13 bump2version tox tox-uv==1.9.0\n          uv --version\n\n      - name: Get Release tag\n        id: get_release_tag\n        run: |\n          if [[ $(python packages/grid/VERSION) == *\"beta\"* ]]; then\n          echo \"release_tag=beta\" >> $GITHUB_OUTPUT\n          else\n            echo \"release_tag=latest\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Bump the Version\n        if: steps.get_release_tag.outputs.release_tag == 'beta'\n        run: |\n          ls **/VERSION | xargs -I {} python {}\n          cat packages/grid/devspace.yaml | grep '0\\.'\n          bump2version prenum --allow-dirty --no-commit\n          ls **/VERSION | xargs -I {} python {}\n          cat packages/grid/devspace.yaml | grep '0\\.'\n\n      - name: Generate Release Metadata\n        id: release_metadata\n        run: |\n          if [[ ${{matrix.runner}} == *\"x64\"* ]]; then\n            echo \"release_platform=linux/amd64\" >> $GITHUB_OUTPUT\n            echo \"short_release_platform=amd64\" >> $GITHUB_OUTPUT\n          else\n            echo \"release_platform=linux/arm64\" >> $GITHUB_OUTPUT\n            echo \"short_release_platform=arm64\" >> $GITHUB_OUTPUT\n          fi\n          echo \"grid_version=$(python packages/grid/VERSION)\" >> $GITHUB_OUTPUT\n\n      # TODO: Optimize redundant bump protocol version checks\n      - name: Check and Bump Protocol Version\n        run: |\n          if [[ \"${{ steps.get_release_tag.outputs.release_tag }}\" == \"latest\" ]]; then\n            export BUMP=True\n          fi\n          tox -e syft.protocol.check\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_LOGIN }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build and push `grid-backend` image to DockerHub\n        id: grid-backend-build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./packages\n          file: ./packages/grid/backend/backend.dockerfile\n          platforms: ${{ steps.release_metadata.outputs.release_platform }}\n          target: backend\n          outputs: type=image,name=openmined/grid-backend,push-by-digest=true,name-canonical=true,push=true\n          cache-from: type=registry,ref=openmined/grid-backend:cache-${{ steps.release_metadata.outputs.short_release_platform }}\n          cache-to: type=registry,ref=openmined/grid-backend:cache-${{ steps.release_metadata.outputs.short_release_platform }},mode=max\n\n      - name: Export digest for grid-backend\n        run: |\n          mkdir -p /tmp/digests/grid-backend\n          digest=\"${{ steps.grid-backend-build.outputs.digest }}\"\n          touch \"/tmp/digests/grid-backend/${digest#sha256:}\"\n\n      - name: Build and push `grid-frontend` image to DockerHub\n        id: grid-frontend-build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./packages/grid/frontend\n          file: ./packages/grid/frontend/frontend.dockerfile\n          platforms: ${{ steps.release_metadata.outputs.release_platform }}\n          outputs: type=image,name=openmined/grid-frontend,push-by-digest=true,name-canonical=true,push=true\n          target: grid-ui-development\n          cache-from: type=registry,ref=openmined/grid-frontend:cache-${{ steps.release_metadata.outputs.short_release_platform }}\n          cache-to: type=registry,ref=openmined/grid-frontend:cache-${{ steps.release_metadata.outputs.short_release_platform}},mode=max\n\n      - name: Export digest for grid-frontend\n        run: |\n          mkdir -p /tmp/digests/grid-frontend\n          digest=\"${{ steps.grid-frontend-build.outputs.digest }}\"\n          touch \"/tmp/digests/grid-frontend/${digest#sha256:}\"\n\n      - name: Build and push `grid-seaweedfs` image to DockerHub\n        id: grid-seaweedfs-build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./packages/grid/seaweedfs\n          file: ./packages/grid/seaweedfs/seaweedfs.dockerfile\n          platforms: ${{ steps.release_metadata.outputs.release_platform }}\n          outputs: type=image,name=openmined/grid-seaweedfs,push-by-digest=true,name-canonical=true,push=true\n          cache-from: type=registry,ref=openmined/grid-seaweedfs:cache-${{ steps.release_metadata.outputs.short_release_platform }}\n          cache-to: type=registry,ref=openmined/grid-seaweedfs:cache-${{ steps.release_metadata.outputs.short_release_platform}},mode=max\n\n      - name: Export digest for grid-seaweedfs\n        run: |\n          mkdir -p /tmp/digests/grid-seaweedfs\n          digest=\"${{ steps.grid-seaweedfs-build.outputs.digest }}\"\n          touch \"/tmp/digests/grid-seaweedfs/${digest#sha256:}\"\n\n      # Some of the dependencies of grid-enclave-attestation are not available for arm64\n      # Hence, we are building grid-enclave-attestation only for x64 (see the `if` conditional)\n      - name: Build and push `grid-enclave-attestation` image to DockerHub\n        if: ${{ endsWith(matrix.runner, '-x64') }}\n        id: grid-enclave-attestation-build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./packages/grid/enclave/attestation\n          file: ./packages/grid/enclave/attestation/attestation.dockerfile\n          platforms: ${{ steps.release_metadata.outputs.release_platform }}\n          outputs: type=image,name=openmined/grid-enclave-attestation,push-by-digest=true,name-canonical=true,push=true\n          cache-from: type=registry,ref=openmined/grid-enclave-attestation:cache-${{ steps.release_metadata.outputs.short_release_platform }}\n          cache-to: type=registry,ref=openmined/grid-enclave-attestation:cache-${{ steps.release_metadata.outputs.short_release_platform}},mode=max\n\n      - name: Export digest for grid-enclave-attestation\n        if: ${{ endsWith(matrix.runner, '-x64') }}\n        run: |\n          mkdir -p /tmp/digests/grid-enclave-attestation\n          digest=\"${{ steps.grid-enclave-attestation-build.outputs.digest }}\"\n          touch \"/tmp/digests/grid-enclave-attestation/${digest#sha256:}\"\n\n      - name: Build and push `syft` image to registry\n        id: syft-build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./packages/\n          file: ./packages/grid/syft-client/syft.Dockerfile\n          outputs: type=image,name=openmined/syft-client,push-by-digest=true,name-canonical=true,push=true\n          platforms: ${{ steps.release_metadata.outputs.release_platform }}\n          cache-from: type=registry,ref=openmined/syft-client:cache-${{ steps.release_metadata.outputs.short_release_platform }}\n          cache-to: type=registry,ref=openmined/syft-client:cache-${{ steps.release_metadata.outputs.short_release_platform }},mode=max\n\n      - name: Export digest for `syft` image\n        run: |\n          mkdir -p /tmp/digests/syft\n          digest=\"${{ steps.syft-build.outputs.digest }}\"\n          touch \"/tmp/digests/syft/${digest#sha256:}\"\n\n      - name: Upload digests\n        uses: actions/upload-artifact@v4\n        with:\n          name: digests-${{ steps.release_metadata.outputs.grid_version }}-${{ steps.release_metadata.outputs.short_release_platform }}\n          path: /tmp/digests/*\n          if-no-files-found: error\n          retention-days: 1\n\n  #Used to merge x64 and arm64 into one docker image\n  merge-docker-images:\n    needs: [build-and-push-docker-images]\n    if: always() && (needs.build-and-push-docker-images.result == 'success')\n\n    runs-on: sh-arc-linux-x64\n\n    outputs:\n      release_tag: ${{ needs.build-and-push-docker-images.outputs.release_tag }}\n\n    steps:\n      - name: Download digests\n        uses: actions/download-artifact@v4\n        with:\n          path: /tmp/digests\n          pattern: digests-${{ needs.build-and-push-docker-images.outputs.grid_version }}-*\n          merge-multiple: true\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_LOGIN }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Create manifest list and push for grid-backend\n        working-directory: /tmp/digests/grid-backend\n        run: |\n          docker buildx imagetools create  \\\n            -t openmined/grid-backend:${{ needs.build-and-push-docker-images.outputs.grid_version }} \\\n            -t openmined/grid-backend:${{ needs.build-and-push-docker-images.outputs.release_tag }} \\\n            $(printf 'openmined/grid-backend@sha256:%s ' *)\n\n      - name: Create manifest list and push for grid-frontend\n        working-directory: /tmp/digests/grid-frontend\n        run: |\n          docker buildx imagetools create  \\\n            -t openmined/grid-frontend:${{ needs.build-and-push-docker-images.outputs.grid_version }} \\\n            -t openmined/grid-frontend:${{ needs.build-and-push-docker-images.outputs.release_tag }} \\\n            $(printf 'openmined/grid-frontend@sha256:%s ' *)\n\n      - name: Create manifest list and push for grid-seaweedfs\n        working-directory: /tmp/digests/grid-seaweedfs\n        run: |\n          docker buildx imagetools create  \\\n            -t openmined/grid-seaweedfs:${{ needs.build-and-push-docker-images.outputs.grid_version }} \\\n            -t openmined/grid-seaweedfs:${{ needs.build-and-push-docker-images.outputs.release_tag }} \\\n            $(printf 'openmined/grid-seaweedfs@sha256:%s ' *)\n\n      - name: Create manifest list and push for grid-enclave-attestation\n        working-directory: /tmp/digests/grid-enclave-attestation\n        run: |\n          docker buildx imagetools create  \\\n            -t openmined/grid-enclave-attestation:${{ needs.build-and-push-docker-images.outputs.grid_version }} \\\n            -t openmined/grid-enclave-attestation:${{ needs.build-and-push-docker-images.outputs.release_tag }} \\\n            $(printf 'openmined/grid-enclave-attestation@sha256:%s ' *)\n\n      - name: Create manifest list and push for syft\n        working-directory: /tmp/digests/syft\n        run: |\n          docker buildx imagetools create  \\\n            -t openmined/syft-client:${{ needs.build-and-push-docker-images.outputs.grid_version }} \\\n            -t openmined/syft-client:${{ needs.build-and-push-docker-images.outputs.release_tag }} \\\n            $(printf 'openmined/syft-client@sha256:%s ' *)\n\n  deploy-syft:\n    needs: [merge-docker-images]\n    if: always() &&  needs.merge-docker-images.result == 'success'\n\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write # For tag and release notes.\n\n    outputs:\n      syft_version: ${{ steps.release_checks.outputs.syft_version }}\n      release_platform: ${{ github.event.inputs.release_platform }}\n\n    steps:\n      - name: Permission to home directory\n        run: |\n          sudo chown -R $USER:$USER $HOME\n\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.SYFT_BOT_COMMIT_TOKEN }}\n\n      # free 10GB of space\n      - name: Remove unnecessary files\n        run: |\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          docker image prune --all --force\n          docker builder prune --all --force\n          docker system prune --all --force\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13 tox tox-uv==1.9.0 setuptools wheel twine bump2version PyYAML\n          uv --version\n\n      - name: Bump the Version\n        if: needs.merge-docker-images.outputs.release_tag == 'beta'\n        run: |\n          ls **/VERSION | xargs -I {} python {}\n          cat packages/grid/devspace.yaml | grep '0\\.'\n          bump2version prenum --allow-dirty --no-commit\n          ls **/VERSION | xargs -I {} python {}\n          cat packages/grid/devspace.yaml | grep '0\\.'\n\n      - name: Generate Release Metadata\n        id: release_checks\n        run: |\n          echo \"github_release_version=$(python packages/grid/VERSION |  sed 's/-beta./b/')\" >> $GITHUB_OUTPUT\n          echo \"future_stable_version=$(python packages/grid/VERSION |   sed 's/-beta.*//')\" >> $GITHUB_OUTPUT\n          echo \"syft_version=$(python packages/grid/VERSION)\" >> $GITHUB_OUTPUT\n          if [[ ${{ needs.merge-docker-images.outputs.release_tag}} == \"beta\" ]]; then\n            echo \"is_beta_release=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"is_beta_release=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Check Protocol Version\n        run: |\n          tox -e syft.protocol.check\n\n      - name: Build Helm Chart\n        shell: bash\n        run: |\n          # install k3d\n          K3D_VERSION=v5.6.3\n          wget https://github.com/k3d-io/k3d/releases/download/${K3D_VERSION}/k3d-linux-amd64\n          mv k3d-linux-amd64 k3d\n          chmod +x k3d\n          export PATH=`pwd`:$PATH\n          k3d version\n\n          #Install Devspace\n          DEVSPACE_VERSION=v6.3.12\n          curl -sSL https://github.com/loft-sh/devspace/releases/download/${DEVSPACE_VERSION}/devspace-linux-amd64 -o ./devspace\n          chmod +x devspace\n          devspace version\n\n          # Install helm\n          curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash\n          helm version\n\n          tox -e syft.build.helm\n          tox -e syft.package.helm\n\n      - name: Check and Bump Protocol Version\n        run: |\n          if [[ \"${{ needs.merge-docker-images.outputs.release_tag }}\" == \"latest\" ]]; then\n            export BUMP=True\n          fi\n          tox -e syft.protocol.check\n\n      - name: Update PyPI Readme\n        run: |\n          python scripts/convert_to_pypi_readme.py --input-file  packages/syft/README.md --output-file packages/syft/PYPI.md --version ${{ steps.release_checks.outputs.future_stable_version }}\n\n      - name: Linting\n        run: |\n          tox -e lint || true\n\n      - name: Changes to commit to Syft Repo during beta release\n        if: needs.merge-docker-images.outputs.release_tag == 'beta'\n        uses: EndBug/add-and-commit@v9\n        with:\n          author_name: ${{ secrets.OM_BOT_NAME }}\n          author_email: ${{ secrets.OM_BOT_EMAIL }}\n          message: \"[syft]bump version\"\n          add: \"['.bumpversion.cfg', 'VERSION', 'packages/grid/VERSION','packages/syft/PYPI.md', 'packages/grid/devspace.yaml', 'packages/syft/src/syft/VERSION', 'packages/syft/setup.cfg', 'packages/grid/frontend/package.json', 'packages/syft/src/syft/__init__.py', 'packages/grid/helm/syft/Chart.yaml','packages/grid/helm/repo',  'packages/syftcli/manifest.yml', 'packages/syft/src/syft/protocol/protocol_version.json', 'packages/syft/src/syft/protocol/releases/', 'packages/grid/backend/grid/images/worker_cpu.dockerfile','packages/grid/helm/syft/values.yaml','packages/grid/helm/syft']\"\n\n      - name: Changes to commit to Syft Repo during stable release\n        if: needs.merge-docker-images.outputs.release_tag == 'latest'\n        uses: EndBug/add-and-commit@v9\n        with:\n          author_name: ${{ secrets.OM_BOT_NAME }}\n          author_email: ${{ secrets.OM_BOT_EMAIL }}\n          message: \"[syft] bump protocol version\"\n          add: \"['packages/syft/src/syft/protocol/protocol_version.json', 'packages/syft/src/syft/protocol/releases/','packages/syft/PYPI.md','packages/grid/helm/repo']\"\n\n      - name: Scheduled Build and Publish\n        if: github.event_name == 'schedule'\n        run: |\n          tox -e syft.publish\n          twine upload -u __token__ -p ${{ secrets.OM_SYFT_PYPI_TOKEN }} packages/syft/dist/*\n\n      - name: Manual Build and Publish\n        if: github.event_name != 'schedule'\n        run: |\n          tox -e syft.publish\n          if [[ \"${{ github.event.inputs.release_platform }}\" == \"REAL_PYPI\" ]]; then\n            twine upload -u __token__ -p ${{ secrets.OM_SYFT_PYPI_TOKEN }} packages/syft/dist/*\n          fi\n          if [[ \"${{ github.event.inputs.release_platform }}\" == \"TEST_PYPI\" ]]; then\n            twine upload -r testpypi -u __token__ -p ${{ secrets.OM_SYFT_TEST_PYPI_TOKEN }} packages/syft/dist/*\n          fi\n          if [[ \"${{ github.event.inputs.release_platform }}\" == \"REAL_AND_TEST_PYPI\" ]]; then\n            twine upload -u __token__ -p ${{ secrets.OM_SYFT_PYPI_TOKEN }} packages/syft/dist/*\n            twine upload -r testpypi -u __token__ -p ${{ secrets.OM_SYFT_TEST_PYPI_TOKEN }} packages/syft/dist/*\n          fi\n\n      # Checkout Infra repo (nested)\n      - name: Checkout Infra Repo\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ secrets.INFRA_REPO }}\n          ref: \"main\"\n          token: ${{ secrets.INFRA_BOT_COMMIT_TOKEN }}\n          path: infrastructure\n\n      # This step will copy the generated K8s manifest files to the correct directory in Infra repo\n      - name: Copy files to Infra Repo\n        run: |\n          if [[ \"${{ needs.merge-docker-images.outputs.release_tag }}\" == \"beta\" ]]; then\n            rm -rf infrastructure/gitops/environments/pre_release/\n            mkdir -p infrastructure/gitops/environments/pre_release/\n            cp -R packages/grid/helm/syft/. infrastructure/gitops/environments/pre_release/\n          else\n            rm -rf infrastructure/gitops/environments/stable/\n            mkdir -p infrastructure/gitops/environments/stable/\n            cp -R packages/grid/helm/syft/. infrastructure/gitops/environments/stable/\n          fi\n\n      - name: Commit changes to Infra Repo\n        uses: EndBug/add-and-commit@v9\n        with:\n          author_name: ${{ secrets.OM_BOT_NAME }}\n          author_email: ${{ secrets.OM_BOT_EMAIL }}\n          message: \"Update K8s Manifests from Syft Repo\"\n          add: \".\"\n          push: \"origin main\"\n          cwd: \"./infrastructure/\"\n\n      - name: Create SyftCLI Config assets\n        run: |\n          pip install pyyaml\n          python scripts/create_syftcli_config.py\n\n      - name: GitHub Release\n        if: github.event.inputs.release_platform  != 'TEST_PYPI'\n        uses: softprops/action-gh-release@v2\n        with:\n          name: v${{ steps.release_checks.outputs.github_release_version }}\n          generate_release_notes: true\n          prerelease: ${{ steps.release_checks.outputs.is_beta_release }}\n          files: |\n            ./packages/syftcli/manifest.yml\n            ./build/syftcli-config/*\n          tag_name: v${{ steps.release_checks.outputs.github_release_version }}\n\n      # Checkout to gh-pages and update helm repo\n      - name: Checkout to gh-pages\n        uses: actions/checkout@v4\n        with:\n          ref: gh-pages\n          token: ${{ secrets.SYFT_BOT_COMMIT_TOKEN }}\n          path: ghpages\n\n      - name: Copy helm repo files from Syft Repo\n        run: |\n          rm -rf ghpages/helm/*\n          cp -R packages/grid/helm/repo/. ghpages/helm/\n\n      - name: Commit changes to gh-pages\n        uses: EndBug/add-and-commit@v9\n        with:\n          author_name: ${{ secrets.OM_BOT_NAME }}\n          author_email: ${{ secrets.OM_BOT_EMAIL }}\n          message: \"Update Helm package from Syft Repo\"\n          add: \"helm/\"\n          push: \"origin gh-pages\"\n          cwd: \"./ghpages/\"\n\n      # Since the post-release tests are dependent on the release being available on PyPI\n      # we need to wait for PyPI to update before running the post-release tests\n      - name: Wait for PyPI to update\n        run: |\n          sleep 60\n\n  # Can we remove the always flag from the below job?\n  call-cd-post-release-tests:\n    needs: [deploy-syft]\n    if: always() && github.repository == 'OpenMined/PySyft' && needs.deploy-syft.result == 'success' # don't run on forks\n    uses: OpenMined/PySyft/.github/workflows/cd-post-release-tests.yml@dev\n    with:\n      syft_version: ${{ needs.deploy-syft.outputs.syft_version }}\n      release_platform: ${{ github.event.inputs.release_platform}}\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:09.218989", "created_at": "2023-03-13T04:23:10+01:00", "updated_at": "2024-05-22T23:08:44+02:00", "name": "Nightlies", "path": ".github/workflows/nightlies.yml", "contents": "name: Nightlies\n\non:\n  schedule:\n    - cron: \"0 00 * * *\" # 12am UTC, 5:30pm Indian, 9pm Brazil, 11am AEDT\n  workflow_dispatch:\n    inputs:\n      none:\n        description: \"Run Nightlies Tests Manually\"\n        required: false\n\njobs:\n  call-pr-tests-linting:\n    if: github.repository == 'OpenMined/PySyft' # don't run on forks\n    uses: OpenMined/PySyft/.github/workflows/pr-tests-linting.yml@dev\n\n  call-pr-tests-syft:\n    if: github.repository == 'OpenMined/PySyft' # don't run on forks\n    uses: OpenMined/PySyft/.github/workflows/pr-tests-syft.yml@dev\n\n  call-pr-tests-stack:\n    if: github.repository == 'OpenMined/PySyft' # don't run on forks\n    uses: OpenMined/PySyft/.github/workflows/pr-tests-stack.yml@dev\n    secrets: inherit\n\n  call-container-scan:\n    if: github.repository == 'OpenMined/PySyft' # don't run on forks\n    uses: OpenMined/PySyft/.github/workflows/container-scan.yml@dev\n    secrets: inherit\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:10.324123", "created_at": "2023-03-13T04:23:10+01:00", "updated_at": "2024-05-23T10:21:43+02:00", "name": ".github/workflows/pr-tests-stack-arm64.yml", "path": ".github/workflows/pr-tests-stack-arm64.yml", "contents": null, "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:11.472551", "created_at": "2023-04-28T15:58:25+02:00", "updated_at": "2023-05-02T06:21:37+02:00", "name": "PR Tests - Frontend", "path": ".github/workflows/pr-tests-frontend.yml", "contents": "name: PR Tests - Frontend\n\non:\n  workflow_call:\n\n  pull_request:\n    branches:\n      - dev\n      - main\n      - \"0.8\"\n\nconcurrency:\n  group: frontend-${{ github.event_name == 'pull_request' && format('{0}-{1}', github.workflow, github.event.pull_request.number) || github.workflow_ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    working-directory: ./packages/grid/frontend\n\njobs:\n  pr-tests-frontend-unit:\n    strategy:\n      max-parallel: 3\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\"]\n\n    runs-on: ubuntu-20.04 # ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Check for file changes\n        uses: dorny/paths-filter@v3\n        id: changes\n        with:\n          base: ${{ github.ref }}\n          token: ${{ github.token }}\n          filters: .github/file-filters.yml\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        if: steps.changes.outputs.frontend == 'true'\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        if: steps.changes.outputs.frontend == 'true'\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13\n          uv --version\n\n      - name: Get pip cache dir\n        id: pip-cache\n        if: steps.changes.outputs.frontend == 'true'\n        shell: bash\n        run: |\n          echo \"dir=$(uv cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        if: steps.changes.outputs.frontend == 'true'\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-frontend\n          restore-keys: |\n            ${{ runner.os }}-uv-py${{ matrix.python-version }}-\n\n      - name: Docker on MacOS\n        if: steps.changes.outputs.frontend == 'true' && matrix.os == 'macos-latest'\n        uses: crazy-max/ghaction-setup-docker@v3.3.0\n\n      - name: Install Tox\n        if: steps.changes.outputs.frontend == 'true'\n        run: |\n          pip install --upgrade tox tox-uv==1.9.0\n\n      - name: Remove existing containers\n        if: steps.changes.outputs.frontend == 'true'\n        continue-on-error: true\n        shell: bash\n        run: |\n          docker rm $(docker ps -aq) --force || true\n          docker volume prune -f || true\n          docker buildx use default || true\n\n      - name: Run Frontend Unit Tests\n        if: steps.changes.outputs.frontend == 'true'\n        env:\n          DOCKER: true\n        run: |\n          tox -e frontend.test.unit\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:12.700362", "created_at": "2023-07-05T07:35:30+02:00", "updated_at": "2023-07-05T07:35:30+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:13.763094", "created_at": "2023-07-05T07:51:31+02:00", "updated_at": "2024-05-14T14:08:38+02:00", "name": "Container Scan", "path": ".github/workflows/container-scan.yml", "contents": "name: Container Scan\n\non:\n  workflow_call:\n\n  workflow_dispatch:\n    inputs:\n      none:\n        description: \"Run Tests Manually\"\n        required: false\n\njobs:\n  scan-backend-trivy:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      # free 10GB of space\n      - name: Remove unnecessary files\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          docker image prune --all --force\n          docker builder prune --all --force\n          docker system prune --all --force\n\n      # Build the docker image for testing\n      - name: Build a Docker image\n        run: DOCKER_BUILDKIT=1 docker build -f packages/grid/backend/backend.dockerfile packages -t backend:${{ github.sha }} --no-cache\n        # Runs Snyk Container (Container and SCA) analysis and uploads result to Snyk.\n\n      - name: Run Trivy vulnerability scanner\n        continue-on-error: true\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: \"backend:${{ github.sha }}\"\n          format: \"template\"\n          template: \"@/contrib/sarif.tpl\"\n          output: \"trivy-results.sarif\"\n          severity: \"CRITICAL,HIGH\"\n          timeout: \"10m0s\"\n\n      - name: Upload Trivy scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: \"trivy-results.sarif\"\n\n  scan-backend-snyk:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Snyk CLI to check for security issues\n        # Snyk can be used to break the build when it detects security issues.\n        # In this case we want to upload the SAST issues to GitHub Code Scanning\n        uses: snyk/actions/setup@master\n        env:\n          # This is where you will need to introduce the Snyk API token created with your Snyk account\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n\n      # free 10GB of space\n      - name: Remove unnecessary files\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          docker image prune --all --force\n          docker builder prune --all --force\n          docker system prune --all --force\n\n      # Build the docker image for testing\n      - name: Build a Docker image\n        shell: bash\n        run: DOCKER_BUILDKIT=1 docker build -f packages/grid/backend/backend.dockerfile packages -t backend:${{ github.sha }} --no-cache\n        # Runs Snyk Container (Container and SCA) analysis and uploads result to Snyk.\n\n      - name: Snyk auth\n        shell: bash\n        run: snyk config set api=$SNYK_TOKEN\n        env:\n          # This is where you will need to introduce the Snyk API token created with your Snyk account\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n\n      - name: Snyk Container test\n        continue-on-error: true\n        shell: bash\n        run: snyk container test backend:${{ github.sha }} --file=packages/grid/backend/backend.dockerfile --sarif --sarif-file-output=snyk-code.sarif\n        env:\n          # This is where you will need to introduce the Snyk API token created with your Snyk account\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n\n        # Push the Snyk Code results into GitHub Code Scanning tab\n      - name: Upload result to GitHub Code Scanning\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: snyk-code.sarif\n\n  scan-frontend-trivy:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      # Build the docker image for testing\n      - name: Build a Docker image\n        shell: bash\n        run: DOCKER_BUILDKIT=1 docker build -f packages/grid/frontend/frontend.dockerfile packages/grid/frontend -t frontend:${{ github.sha }} --no-cache\n        # Runs Snyk Container (Container and SCA) analysis and uploads result to Snyk.\n\n      - name: Run Trivy vulnerability scanner\n        continue-on-error: true\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: \"frontend:${{ github.sha }}\"\n          format: \"template\"\n          template: \"@/contrib/sarif.tpl\"\n          output: \"trivy-results.sarif\"\n          severity: \"CRITICAL,HIGH\"\n          timeout: \"10m0s\"\n\n      - name: Upload Trivy scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: \"trivy-results.sarif\"\n\n  scan-frontend-snyk:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Snyk CLI to check for security issues\n        # Snyk can be used to break the build when it detects security issues.\n        # In this case we want to upload the SAST issues to GitHub Code Scanning\n        uses: snyk/actions/setup@master\n        env:\n          # This is where you will need to introduce the Snyk API token created with your Snyk account\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n\n      # Build the docker image for testing\n      - name: Build a Docker image\n        shell: bash\n        run: DOCKER_BUILDKIT=1 docker build -f packages/grid/frontend/frontend.dockerfile packages/grid/frontend -t frontend:${{ github.sha }} --no-cache\n        # Runs Snyk Container (Container and SCA) analysis and uploads result to Snyk.\n\n      - name: Snyk auth\n        shell: bash\n        run: snyk config set api=$SNYK_TOKEN\n        env:\n          # This is where you will need to introduce the Snyk API token created with your Snyk account\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n\n      - name: Snyk Container test\n        continue-on-error: true\n        shell: bash\n        run: snyk container test frontend:${{ github.sha }} --file=packages/grid/frontend/frontend.dockerfile --sarif --sarif-file-output=snyk-code.sarif\n        env:\n          # This is where you will need to introduce the Snyk API token created with your Snyk account\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n\n        # Push the Snyk Code results into GitHub Code Scanning tab\n      - name: Upload result to GitHub Code Scanning\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: snyk-code.sarif\n\n  scan-syft-requirements:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      #Generate SBOM\n      - name: Generate SBOM\n        run: |\n          python3 --version\n          python3 -m pip install ./packages/syft\n          python3 -m pip install cyclonedx-bom\n          python3 -m pip freeze > requirements.txt\n          cyclonedx-py requirements -o syft.sbom.json\n\n        #Trivy scan SBOM\n      - name: Run Trivy vulnerability scanner\n        continue-on-error: true\n        run: |\n          sudo apt-get install wget apt-transport-https gnupg lsb-release\n          wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -\n          echo deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main | sudo tee -a /etc/apt/sources.list.d/trivy.list\n          sudo apt-get update\n          sudo apt-get install trivy\n          trivy sbom syft.sbom.json --format sarif --output trivy-results.sarif --severity CRITICAL,HIGH --timeout 10m0s\n\n        #Upload SBOM to GitHub Security tab\n      - name: Upload SBOM to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: \"trivy-results.sarif\"\n\n          #upload SBOM to github artifacts\n      - name: Upload SBOM to GitHub Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: syft.sbom.json\n          path: syft.sbom.json\n\n  scan-mongo-latest-trivy:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      #Generate SBOM\n      - name: Run Trivy vulnerability scanner\n        continue-on-error: true\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: \"mongo:7.0.0\"\n          format: \"cyclonedx\"\n          output: \"mongo-trivy-results.sbom.json\"\n          timeout: \"10m0s\"\n\n        #Upload SBOM to GitHub Artifacts\n      - name: Upload SBOM to GitHub Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: mongo-trivy-results.sbom.json\n          path: mongo-trivy-results.sbom.json\n\n          #Generate sarif file\n      - name: Run Trivy vulnerability scanner\n        continue-on-error: true\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: \"mongo:7.0.0\"\n          format: \"sarif\"\n          output: \"trivy-results.sarif\"\n          timeout: \"10m0s\"\n\n          #Upload sarif file to GitHub Security tab\n      - name: Upload Trivy scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: \"trivy-results.sarif\"\n\n  scan-mongo-latest-snyk:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Snyk Container test\n        uses: snyk/actions/docker@master\n        continue-on-error: true\n        env:\n          # This is where you will need to introduce the Snyk API token created with your Snyk account\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          image: mongo:7.0.0\n          args: --sarif-file-output=snyk-code.sarif\n\n        # Replace any \"undefined\" security severity values with 0. The undefined value is used in the case\n        # of license-related findings, which do not do not indicate a security vulnerability.\n        # See https://github.com/github/codeql-action/issues/2187 for more context.\n      - name: Post-process sarif output\n        run: |\n          sed -i 's/\"security-severity\": \"undefined\"/\"security-severity\": \"0\"/g' snyk-code.sarif\n\n        # Replace any \"null\" security severity values with 0. The undefined value is used in the case\n        # the NVD CVSS Score is not available.\n        # See  https://github.com/Erikvl87/docker-languagetool/issues/90 and https://github.com/github/codeql-action/issues/2187 for more context.\n      - name: Post-process sarif output for security severities set to \"null\"\n        run: |\n          sed -i 's/\"security-severity\": \"null\"/\"security-severity\": \"0\"/g' snyk-code.sarif\n\n      - name: Upload result to GitHub Code Scanning\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: snyk-code.sarif\n\n  scan-traefik-trivy:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      #Generate SBOM\n      - name: Run Trivy vulnerability scanner\n        continue-on-error: true\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: \"traefik:v2.11.0\"\n          format: \"cyclonedx\"\n          output: \"traefik-trivy-results.sbom.json\"\n          timeout: \"10m0s\"\n          #Upload SBOM to GitHub Artifacts\n      - name: Upload SBOM to GitHub Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: traefik-trivy-results.sbom.json\n          path: traefik-trivy-results.sbom.json\n\n        #Generate sarif file\n      - name: Run Trivy vulnerability scanner\n        continue-on-error: true\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: \"traefik:v2.11.0\"\n          format: \"sarif\"\n          output: \"trivy-results.sarif\"\n          severity: \"CRITICAL,HIGH\"\n          timeout: \"10m0s\"\n\n          #Upload sarif file to GitHub Security tab\n      - name: Upload Trivy scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: \"trivy-results.sarif\"\n\n  scan-traefik-snyk:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    runs-on: ubuntu-latest\n    steps:\n      - name: Snyk Container test\n        uses: snyk/actions/docker@master\n        continue-on-error: true\n        env:\n          # This is where you will need to introduce the Snyk API token created with your Snyk account\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          image: traefik:v2.11.0\n          args: --sarif-file-output=snyk-code.sarif\n\n        # Replace any \"undefined\" security severity values with 0. The undefined value is used in the case\n        # of license-related findings, which do not do not indicate a security vulnerability.\n        # See https://github.com/github/codeql-action/issues/2187 for more context.\n      - name: Post-process sarif output\n        run: |\n          sed -i 's/\"security-severity\": \"undefined\"/\"security-severity\": \"0\"/g' snyk-code.sarif\n\n        # Replace any \"null\" security severity values with 0. The undefined value is used in the case\n        # the NVD CVSS Score is not available.\n        # See  https://github.com/Erikvl87/docker-languagetool/issues/90 and https://github.com/github/codeql-action/issues/2187 for more context.\n      - name: Post-process sarif output for security severities set to \"null\"\n        run: |\n          sed -i 's/\"security-severity\": \"null\"/\"security-severity\": \"0\"/g' snyk-code.sarif\n\n        # Push the Snyk Code results into GitHub Code Scanning tab\n      - name: Upload result to GitHub Code Scanning\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: snyk-code.sarif\n\n  scan-seaweedfs-trivy:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Remove unnecessary files\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          docker image prune --all --force\n          docker builder prune --all --force\n          docker system prune --all --force\n\n      # Build the docker image for testing\n      - name: Build a Docker image\n        run: DOCKER_BUILDKIT=1 docker build -f packages/grid/seaweedfs/seaweedfs.dockerfile ./packages/grid/seaweedfs -t seaweedfs:${{ github.sha }} --no-cache\n        # Runs Snyk Container (Container and SCA) analysis and uploads result to Snyk.\n\n      - name: Run Trivy vulnerability scanner\n        continue-on-error: true\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: \"seaweedfs:${{ github.sha }}\"\n          format: \"template\"\n          template: \"@/contrib/sarif.tpl\"\n          output: \"trivy-results.sarif\"\n          severity: \"CRITICAL,HIGH\"\n          timeout: \"10m0s\"\n\n      - name: Upload Trivy scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: \"trivy-results.sarif\"\n\n  scan-seaweedfs-snyk:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Snyk CLI to check for security issues\n        # Snyk can be used to break the build when it detects security issues.\n        # In this case we want to upload the SAST issues to GitHub Code Scanning\n        uses: snyk/actions/setup@master\n        env:\n          # This is where you will need to introduce the Snyk API token created with your Snyk account\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n\n      # free 10GB of space\n      - name: Remove unnecessary files\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          docker image prune --all --force\n          docker builder prune --all --force\n          docker system prune --all --force\n\n      # Build the docker image for testing\n      - name: Build a Docker image\n        shell: bash\n        run: DOCKER_BUILDKIT=1 docker build -f packages/grid/seaweedfs/seaweedfs.dockerfile ./packages/grid/seaweedfs -t seaweedfs:${{ github.sha }} --no-cache\n\n      - name: Snyk auth\n        shell: bash\n        run: snyk config set api=$SNYK_TOKEN\n        env:\n          # This is where you will need to introduce the Snyk API token created with your Snyk account\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n\n      - name: Snyk Container test\n        continue-on-error: true\n        shell: bash\n        run: snyk container test seaweedfs:${{ github.sha }} --file=packages/grid/seaweedfs/seaweedfs.dockerfile --sarif --sarif-file-output=snyk-code.sarif\n        env:\n          # This is where you will need to introduce the Snyk API token created with your Snyk account\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n\n        # Push the Snyk Code results into GitHub Code Scanning tab\n      - name: Upload result to GitHub Code Scanning\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: snyk-code.sarif\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:14.807827", "created_at": "2023-07-07T16:40:16+02:00", "updated_at": "2023-07-07T16:40:16+02:00", "name": "PR Tests - SyftJS", "path": ".github/workflows/pr-tests-syftjs.yml", "contents": null, "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:15.859412", "created_at": "2023-08-23T06:58:39+02:00", "updated_at": "2023-08-23T06:58:39+02:00", "name": "CD - Syft-CLI", "path": ".github/workflows/cd-syftcli.yml", "contents": "name: CD - Syft-CLI\n\non:\n  schedule:\n    - cron: \"00 10 * * */7\" # At 10:00 UTC on every three days\n\n  workflow_dispatch:\n    inputs:\n      skip_tests:\n        description: \"If true, skip tests\"\n        required: false\n        default: \"false\"\n\njobs:\n  call-pr-tests-linting:\n    if: github.repository == 'OpenMined/PySyft' && (github.event.inputs.skip_tests == 'false' || github.event_name == 'schedule') # don't run on forks\n    uses: OpenMined/PySyft/.github/workflows/pr-tests-linting.yml@dev\n\n  # call-pr-tests-syft:\n  #   if: github.repository == 'OpenMined/PySyft' && (github.event.inputs.skip_tests == 'false' || github.event_name == 'schedule') # don't run on forks\n  #   uses: OpenMined/PySyft/.github/workflows/pr-tests-syft.yml@dev\n\n  # call-pr-tests-stack:\n  #   if: github.repository == 'OpenMined/PySyft' && (github.event.inputs.skip_tests == 'false' || github.event_name == 'schedule') # don't run on forks\n  #   uses: OpenMined/PySyft/.github/workflows/pr-tests-stack.yml@dev\n  #   secrets: inherit\n\n  deploy-syft-cli:\n    needs: [call-pr-tests-linting]\n    if: always() && (needs.call-pr-tests-linting.result == 'success' || github.event.inputs.skip_tests == 'true')\n    runs-on: ubuntu-latest\n\n    outputs:\n      deployed_version: ${{ steps.bump-version.outputs.deployed_version }}\n      current_hash: ${{ steps.get-hashes.outputs.current_hash }}\n      previous_hash: ${{ steps.get-hashes.outputs.previous_hash }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.SYFT_BOT_COMMIT_TOKEN }}\n\n      - name: Install checksumdir\n        run: |\n          pip install --upgrade checksumdir\n\n      - name: Get the hashes\n        id: get-hashes\n        shell: bash\n        run: |\n          echo \"current_hash=$(checksumdir ./packages/syftcli/syftcli -e version.py)\" >> $GITHUB_OUTPUT\n          echo \"previous_hash=$(cat ./scripts/syftcli_hash)\" >> $GITHUB_OUTPUT\n\n      - name: Current Hash\n        run: echo ${{steps.get-hashes.outputs.current_hash}}\n\n      - name: Previous Hash\n        run: echo ${{steps.get-hashes.outputs.previous_hash}}\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install dependencies\n        if: ${{steps.get-hashes.outputs.current_hash != steps.get-hashes.outputs.previous_hash }}\n        run: |\n          python -m pip install --upgrade pip==24.0\n          pip install --upgrade tox setuptools wheel twine bump2version PyYAML\n\n      - name: Bump the Version\n        if: ${{steps.get-hashes.outputs.current_hash != steps.get-hashes.outputs.previous_hash }}\n        id: bump-version\n        run: |\n          python3 syftcli/version.py\n          bump2version patch --allow-dirty --no-commit\n          tox -e lint || true\n          echo \"deployed_version=$(python3 syftcli/version.py)\" >> $GITHUB_OUTPUT\n          python3 syftcli/version.py\n        working-directory: ./packages/syftcli\n\n      - name: Write the new hash\n        if: ${{steps.get-hashes.outputs.current_hash != steps.get-hashes.outputs.previous_hash }}\n        run: echo $(checksumdir packages/syftcli/syftcli -e version.py) > ./scripts/syftcli_hash\n\n      - name: Commit changes to Syft CLI\n        if: ${{steps.get-hashes.outputs.current_hash != steps.get-hashes.outputs.previous_hash }}\n        uses: EndBug/add-and-commit@v9\n        with:\n          author_name: ${{ secrets.OM_BOT_NAME }}\n          author_email: ${{ secrets.OM_BOT_EMAIL }}\n          message: \"[syftcli]bump version\"\n          add: \"['./packages/syftcli/.bumpversion.cfg','./packages/syftcli/setup.py','./packages/syftcli/syftcli/version.py', './scripts/syftcli_hash']\"\n\n      - name: Build and publish\n        if: ${{steps.get-hashes.outputs.current_hash != steps.get-hashes.outputs.previous_hash }}\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.OM_SYFTCLI_PYPI_TOKEN }}\n        run: |\n          tox -e syftcli.publish\n          twine upload packages/syftcli/dist/*\n\n  create-syftcli-binaries:\n    needs: [deploy-syft-cli]\n    if: always() && (needs.deploy-syft-cli.result == 'success' && (needs.deploy-syft-cli.outputs.current_hash != needs.deploy-syft-cli.outputs.previous_hash))\n    strategy:\n      max-parallel: 99\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n      fail-fast: true\n    runs-on: ${{matrix.os}}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install build dependencies for syftcli\n        run: |\n          pip install --upgrade pip==24.0\n\n      - name: Install Tox\n        run: |\n          pip install -U tox\n\n      - name: Build syftcli\n        env:\n          SYFT_CLI_VERSION: ${{ needs.deploy-syft-cli.outputs.deployed_version }}\n        run: |\n          tox -e syftcli.build\n\n      - name: upload binaries\n        uses: actions/upload-artifact@v4\n        with:\n          name: syftcli-binaries-${{needs.deploy-syft-cli.outputs.deployed_version}}-${{matrix.os}}\n          path: ./packages/syftcli/dist/cli/*\n          if-no-files-found: error\n\n  create-syftcli-github-release:\n    needs: [create-syftcli-binaries, deploy-syft-cli]\n    if: always() && (needs.create-syftcli-binaries.result == 'success')\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write # For tag and release notes.\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Deployed Version\n        run: echo ${{needs.deploy-syft-cli.outputs.deployed_version}}\n\n      - name: Check if version is released on Pypi\n        id: check-pypi\n        run: |\n          VERSION=${{needs.deploy-syft-cli.outputs.deployed_version}}\n\n          RESPONSE=$(curl -s --head https://pypi.org/pypi/syftcli/$VERSION/json)\n\n          if [[ $RESPONSE == *\"HTTP/2 200\"* ]]; then\n            echo \"released=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"released=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Make sure directory exists\n        if: steps.check-pypi.outputs.released == 'true'\n        run: |\n          mkdir -p ./downloaded-binaries\n\n      - name: Download binary\n        if: steps.check-pypi.outputs.released == 'true'\n        uses: actions/download-artifact@v4\n        with:\n          pattern: syftcli-binaries-${{needs.deploy-syft-cli.outputs.deployed_version}}-*\n          path: ./downloaded-binaries/\n          merge-multiple: true\n\n      - name: GitHub Release\n        if: steps.check-pypi.outputs.released == 'true'\n        uses: softprops/action-gh-release@v2\n        with:\n          name: syftcli-v${{ needs.deploy-syft-cli.outputs.deployed_version }}\n          generate_release_notes: false\n          prerelease: false\n          files: |\n            ./downloaded-binaries/*\n          tag_name: syftcli-v${{ needs.deploy-syft-cli.outputs.deployed_version }}\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:16.965934", "created_at": "2023-09-20T12:00:32+02:00", "updated_at": "2023-10-05T10:13:19+02:00", "name": "CD - Kubernetes - Dev", "path": ".github/workflows/cd-syft-dev.yml", "contents": "name: CD - Kubernetes - Dev\n\non:\n  schedule:\n    - cron: \"0 */3 * * *\"\n\n  workflow_dispatch:\n    inputs:\n      check-cache:\n        type: boolean\n        description: \"Check workflow cache\"\n        default: false\n      deploy-helm:\n        type: boolean\n        description: \"Deploy Helm Charts\"\n        default: false\n\njobs:\n  check-last-run:\n    # runs-on: [self-hosted, Linux]\n    runs-on: ubuntu-latest\n\n    outputs:\n      same-commit: ${{ steps.cache.outputs.cache-hit }}\n\n    steps:\n      - name: Check for new changes\n        if: github.event_name == 'schedule' || github.event.inputs.check-cache == 'true'\n        id: cache\n        uses: actions/cache@v4\n        with:\n          path: /tmp/k8s_dev_hash.txt # we don't care about the file, just the key\n          key: k8s-dev-${{ github.sha }}\n          lookup-only: true\n\n      - name: Save Commit SHA\n        if: github.event_name == 'schedule' || github.event.inputs.check-cache == 'true'\n        # only for making the cache action happy\n        run: echo \"${{ github.sha }}\" > /tmp/k8s_dev_hash.txt\n\n  deploy-syft-dev:\n    needs: check-last-run\n    if: needs.check-last-run.outputs.same-commit != 'true'\n\n    # runs-on: [self-hosted, Linux]\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Permission to home directory\n        run: |\n          sudo chown -R $USER:$USER $HOME\n\n      - uses: actions/checkout@v4\n\n      # Checkout Infra repo (nested)\n      - name: Checkout Infra Repo\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ secrets.INFRA_REPO }}\n          ref: \"main\"\n          token: ${{ secrets.INFRA_BOT_COMMIT_TOKEN }}\n          path: infrastructure\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Azure Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ secrets.ACR_SERVER }}\n          username: ${{ secrets.ACR_USERNAME }}\n          password: ${{ secrets.ACR_PASSWORD }}\n\n      - name: Set Grid package version\n        id: grid\n        shell: bash\n        run: |\n          echo \"GRID_VERSION=$(python packages/grid/VERSION)\" >> $GITHUB_OUTPUT\n\n      - name: Build and push `syft` image to registry\n        uses: docker/build-push-action@v5\n        with:\n          context: ./packages\n          file: ./packages/grid/syft-client/syft.Dockerfile\n          push: true\n          tags: |\n            ${{ secrets.ACR_SERVER }}/openmined/syft-client:dev\n            ${{ secrets.ACR_SERVER }}/openmined/syft-client:dev-${{ github.sha }}\n            ${{ secrets.ACR_SERVER }}/openmined/syft-client:${{ steps.grid.outputs.GRID_VERSION }}\n\n      - name: Build and push `grid-backend` image to registry\n        uses: docker/build-push-action@v5\n        with:\n          context: ./packages\n          file: ./packages/grid/backend/backend.dockerfile\n          push: true\n          target: backend\n          tags: |\n            ${{ secrets.ACR_SERVER }}/openmined/grid-backend:dev\n            ${{ secrets.ACR_SERVER }}/openmined/grid-backend:dev-${{ github.sha }}\n            ${{ secrets.ACR_SERVER }}/openmined/grid-backend:${{ steps.grid.outputs.GRID_VERSION }}\n\n      - name: Build and push `grid-frontend` image to registry\n        uses: docker/build-push-action@v5\n        with:\n          context: ./packages/grid/frontend\n          file: ./packages/grid/frontend/frontend.dockerfile\n          push: true\n          tags: |\n            ${{ secrets.ACR_SERVER }}/openmined/grid-frontend:dev\n            ${{ secrets.ACR_SERVER }}/openmined/grid-frontend:dev-${{ github.sha }}\n            ${{ secrets.ACR_SERVER }}/openmined/grid-frontend:${{ steps.grid.outputs.GRID_VERSION }}\n          target: grid-ui-development\n\n      - name: Build and push `grid-seaweedfs` image to registry\n        uses: docker/build-push-action@v5\n        with:\n          context: ./packages/grid/seaweedfs\n          file: ./packages/grid/seaweedfs/seaweedfs.dockerfile\n          push: true\n          tags: |\n            ${{ secrets.ACR_SERVER }}/openmined/grid-seaweedfs:dev\n            ${{ secrets.ACR_SERVER }}/openmined/grid-seaweedfs:dev-${{ github.sha }}\n            ${{ secrets.ACR_SERVER }}/openmined/grid-seaweedfs:${{ steps.grid.outputs.GRID_VERSION }}\n\n      - name: Build and push `grid-enclave-attestation` image to registry\n        uses: docker/build-push-action@v5\n        with:\n          context: ./packages/grid/enclave/attestation\n          file: ./packages/grid/enclave/attestation/attestation.dockerfile\n          push: true\n          tags: |\n            ${{ secrets.ACR_SERVER }}/openmined/grid-enclave-attestation:dev\n            ${{ secrets.ACR_SERVER }}/openmined/grid-enclave-attestation:dev-${{ github.sha }}\n            ${{ secrets.ACR_SERVER }}/openmined/grid-enclave-attestation:${{ steps.grid.outputs.GRID_VERSION }}\n\n      - name: Build Helm Chart & Copy to infra\n        if: github.ref == 'refs/heads/dev' || github.event.inputs.deploy-helm == 'true'\n        shell: bash\n        run: |\n          K3D_VERSION=v5.6.3\n          DEVSPACE_VERSION=v6.3.12\n\n          # install k3d\n          wget https://github.com/k3d-io/k3d/releases/download/${K3D_VERSION}/k3d-linux-amd64\n          mv k3d-linux-amd64 k3d\n          chmod +x k3d\n          export PATH=`pwd`:$PATH\n          k3d version\n\n          # Install devspace\n          curl -sSL https://github.com/loft-sh/devspace/releases/download/${DEVSPACE_VERSION}/devspace-linux-amd64 -o ./devspace\n          chmod +x devspace\n          devspace version\n\n          # Install helm\n          curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash\n          helm version\n\n          # install tox\n          python -m pip install --upgrade pip==24.0\n          pip install tox\n\n          tox -e syft.build.helm\n\n          rm -rf infrastructure/gitops/environments/dev/\n          mkdir -p infrastructure/gitops/environments/dev/\n\n          cp -R packages/grid/helm/syft/. infrastructure/gitops/environments/dev/\n\n          # write version to VERSION.txt file\n          echo \"dev-${{github.sha}}\" > infrastructure/gitops/environments/dev/VERSION.txt\n\n      - name: Commit & push changes to Infra Repo\n        if: github.ref == 'refs/heads/dev' || github.event.inputs.deploy-helm == 'true'\n        uses: EndBug/add-and-commit@v9\n        with:\n          author_name: ${{ secrets.OM_BOT_NAME }}\n          author_email: ${{ secrets.OM_BOT_EMAIL }}\n          message: \"[env] Update dev helm charts\"\n          add: \".\"\n          push: \"origin main\"\n          cwd: \"./infrastructure/\"\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:18.021020", "created_at": "2023-10-12T14:52:28+02:00", "updated_at": "2023-10-12T14:52:28+02:00", "name": "Post Merge Tasks", "path": ".github/workflows/post-merge-tasks.yml", "contents": "name: Post Merge Tasks\n\non:\n  workflow_call:\n\n  push:\n    branches:\n      - dev\n      - main\n\njobs:\n  post-merge-cleanup-notebooks:\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.SYFT_BOT_COMMIT_TOKEN }}\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install pip packages\n        run: |\n          python -m pip install --upgrade --user pip tox\n\n      - name: Check and Bump Protocol Version\n        run: |\n          tox -e syft.protocol.check\n\n      - name: Commit changes to bump protocol and remove notebooks\n        uses: EndBug/add-and-commit@v9\n        with:\n          author_name: ${{ secrets.OM_BOT_NAME }}\n          author_email: ${{ secrets.OM_BOT_EMAIL }}\n          message: \"bump protocol and remove notebooks\"\n          remove: \"-r notebooks/Experimental/ --ignore-unmatch\"\n          add: \"['packages/syft/src/syft/protocol/protocol_version.json']\"\n          commit: \"-a\"\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:19.092468", "created_at": "2024-02-14T13:16:05+01:00", "updated_at": "2024-07-03T06:18:13+02:00", "name": ".github/workflows/cd-post-release-tests.yml", "path": ".github/workflows/cd-post-release-tests.yml", "contents": "name: CD - Post Release Tests\n\non:\n  workflow_dispatch:\n    inputs:\n      syft_version:\n        description: \"Syft version to test\"\n        required: true\n        type: string\n\n      release_platform:\n        description: \"Release Platform\"\n        required: true\n        type: choice\n        options:\n          - \"REAL_PYPI\"\n          - \"TEST_PYPI\"\n\n  workflow_call:\n    inputs:\n      syft_version:\n        description: \"Syft version to test\"\n        required: true\n        type: string\n\n      release_platform:\n        description: \"Release Platform\"\n        required: true\n        type: string\n        default: \"REAL_PYPI\"\n\njobs:\n  syft-install-check:\n    strategy:\n      max-parallel: 99\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest, macos-14]\n        python-version: [\"3.12\", \"3.11\", \"3.10\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: System Architecture\n        run: |\n          echo \"System Architecture: $(uname -m)\"\n          echo \"System Version: $(uname -a)\"\n\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        run: |\n          python -m pip install --upgrade --user pip\n\n      - name: Get pip cache dir\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-py${{ matrix.python-version }}-\n\n      - name: Install Syft\n        shell: bash\n        run: |\n          if [[ ${{inputs.release_platform}} == \"REAL_PYPI\" ]]; then\n            pip install syft==${{inputs.syft_version}}\n          fi\n          if [[ ${{ inputs.release_platform }} == \"TEST_PYPI\" ]]; then\n            pip install --extra-index-url https://test.pypi.org/simple/ syft==${{inputs.syft_version}}\n          fi\n\n      - name: Check Syft version\n        run: |\n          python -c \"import syft; print(syft.__version__)\"\n\n  notebook-test-k8s-k3d:\n    if: github.event.inputs.release_platform == 'REAL_PYPI'\n    strategy:\n      max-parallel: 99\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\"]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      # free 10GB of space\n      - name: Remove unnecessary files\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          docker image prune --all --force\n          docker builder prune --all --force\n          docker system prune --all --force\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install K3d\n        run: |\n          K3D_VERSION=v5.6.3\n          wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=$K3D_VERSION bash\n\n      - name: Get pip cache dir\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-py${{ matrix.python-version }}-\n\n      - name: Install tox\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13 tox tox-uv==1.9.0\n\n      - name: Run K8s tests\n        env:\n          SYFT_VERSION: ${{ inputs.syft_version }}\n        run: |\n          tox -e syft.test.helm\n\n  # This job is used to test the syft unit tests on Test PyPi\n  syft-unit-tests:\n    strategy:\n      max-parallel: 99\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [\"3.12\", \"3.11\", \"3.10\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: System Architecture\n        run: |\n          echo \"System Architecture: $(uname -m)\"\n          echo \"System Version: $(uname -a)\"\n\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        run: |\n          python -m pip install --upgrade --user pip\n\n      - name: Get pip cache dir\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-py${{ matrix.python-version }}-\n\n      - name: Install Syft\n        env:\n          SYFT_VERSION: ${{ inputs.syft_version }}\n        run: |\n          if [[ ${{ inputs.release_platform }} == \"TEST_PYPI\" ]]; then\n            pip install --extra-index-url https://test.pypi.org/simple/ syft[data_science,dev]==${{ inputs.syft_version }}\n          fi\n          if [[ ${{ inputs.release_platform }} == \"REAL_PYPI\" ]]; then\n            pip install syft[data_science,dev]==${{ inputs.syft_version }}\n          fi\n\n      - name: Install tox and uv\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13 tox tox-uv==1.9.0 tox-current-env\n\n      - name: Run unit tests\n        run: |\n          tox -e syft.test.unit --current-env\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:20.184912", "created_at": "2024-02-17T10:46:13+01:00", "updated_at": "2024-02-17T10:46:13+01:00", "name": "E2E - Notebook Tests", "path": ".github/workflows/e2e-tests-notebook.yml", "contents": "name: E2E - Notebook Tests\n\non:\n  workflow_dispatch:\n    inputs:\n      syft_version:\n        description: \"Syft version to test\"\n        required: true\n        type: string\n      node_url:\n        description: \"Node URL to use\"\n        required: true\n        type: string\n      node_port:\n        description: \"Node port\"\n        required: true\n        type: number\n      exclude_notebooks:\n        description: \"Notebooks to exclude ex: not 11-container-images-k8s.ipynb\"\n        required: false\n        type: string\n\n  workflow_call:\n    inputs:\n      syft_version:\n        description: \"Syft version to test\"\n        required: true\n        type: string\n      node_url:\n        description: \"Node URL to use\"\n        required: true\n        type: string\n      node_port:\n        description: \"Node port\"\n        required: true\n        type: number\n      exclude_notebooks:\n        description: \"Notebooks to exclude ex: not 11-container-images-k8s.ipynb\"\n        required: false\n        type: string\n\njobs:\n  notebook-test-e2e:\n    strategy:\n      max-parallel: 99\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\"]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        run: |\n          python -m pip install --upgrade --user pip\n\n      - name: Install Deps\n        run: |\n          pip install --upgrade pip==24.0 uv==0.2.13 tox tox-uv==1.9.0\n\n      - name: Get pip cache dir\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: pip cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-py${{ matrix.python-version }}-\n\n      - name: Install tox\n        run: |\n          pip install tox\n\n      - name: Run Notebook tests\n        env:\n          SYFT_VERSION: ${{ inputs.syft_version }}\n          NODE_URL: ${{ inputs.node_url }}\n          NODE_PORT: ${{ inputs.node_port }}\n          EXCLUDE_NOTEBOOKS: ${{ inputs.exclude_notebooks }}\n        run: |\n          tox -e e2e.test.notebook\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:21.221652", "created_at": "2024-02-26T16:06:49+01:00", "updated_at": "2024-03-02T08:03:45+01:00", "name": "PR Tests - Helm Upgrade", "path": ".github/workflows/pr-tests-helm-upgrade.yml", "contents": "name: PR Tests - Helm Upgrade\n\non:\n  # Re-enable when we have a stable helm chart\n  # pull_request:\n  #   branches:\n  #     - dev\n  #   paths:\n  #     - packages/grid/helm/syft/**\n\n  workflow_dispatch:\n    inputs:\n      upgrade_type:\n        description: \"Select upgrade path type\"\n        required: false\n        default: \"BetaToDev\"\n        type: choice\n        options:\n          - BetaToDev\n          - ProdToBeta\n          - ProdToDev\n\nconcurrency:\n  group: pr-tests-helm-upgrade\n  cancel-in-progress: true\n\njobs:\n  pr-tests-helm-upgrade:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: |\n          eval \"$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\"\n          brew update\n\n          # Install python deps\n          pip install --upgrade pip==24.0\n          pip install tox\n\n          # Install kubernetes\n          brew install helm k3d devspace kubectl\n\n      - name: Setup cluster\n        run: |\n          eval \"$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\"\n\n          tox -e dev.k8s.start\n\n      - name: Upgrade helm chart\n        run: |\n          eval \"$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\"\n\n          # default upgrade is beta to dev, but override with input if provided\n          UPGRADE_TYPE_INPUT=${{ github.event.inputs.upgrade_type }}\n          export UPGRADE_TYPE=${UPGRADE_TYPE_INPUT:-BetaToDev}\n          tox -e syft.test.helm.upgrade\n\n      - name: Destroy cluster\n        if: always()\n        run: |\n          eval \"$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\"\n\n          tox -e dev.k8s.destroyall\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:22.428588", "created_at": "2024-03-01T11:23:33+01:00", "updated_at": "2024-03-03T20:13:39+01:00", "name": "PR Tests - Lint Helm Charts", "path": ".github/workflows/pr-tests-helm-lint.yml", "contents": "name: PR Tests - Lint Helm Charts\n\non:\n  # temporary disabled\n  # pull_request:\n  #   branches:\n  #     - dev\n  #   paths:\n  #     - packages/grid/helm/syft/**\n\n  workflow_dispatch:\n    inputs:\n      none:\n        description: \"Run Tests Manually\"\n        required: false\n\nconcurrency:\n  group: pr-tests-helm-lint\n  cancel-in-progress: true\n\njobs:\n  pr-tests-helm-lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: |\n          eval \"$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\"\n          brew update\n          brew tap FairwindsOps/tap\n          brew install kube-linter FairwindsOps/tap/polaris\n\n          # Install python deps\n          pip install --upgrade pip==24.0\n          pip install tox\n\n          kube-linter version\n          polaris version\n\n      - name: Run Polaris\n        run: |\n          eval \"$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\"\n          polaris audit --helm-chart packages/grid/helm/syft --helm-values packages/grid/helm/syft/values.yaml --format=pretty --only-show-failed-tests\n\n      - name: Run Linter\n        run: |\n          eval \"$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)\"\n          tox -e syft.lint.helm\n", "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:23.511971", "created_at": "2024-03-21T06:27:49+01:00", "updated_at": "2024-03-21T06:27:49+01:00", "name": "PR Tests macOS ARM64", "path": ".github/workflows/pr-test-macos.yml", "contents": null, "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:24.561952", "created_at": "2024-07-10T20:10:15+02:00", "updated_at": "2024-07-10T20:10:15+02:00", "name": "Conda Install - PySyft", "path": ".github/workflows/conda-install.yml", "contents": null, "state": "active", "repository": "openmined/pysyft"}
{"mined_at": "2024-07-15T15:38:26.832031", "created_at": "2022-12-02T11:01:34+01:00", "updated_at": "2022-12-08T06:32:14+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non: [pull_request]\n\njobs:\n  lintrunner:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Pull DGL\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Checkout master and HEAD\n        run: |\n          git checkout -t origin/master\n          git checkout ${{ github.event.pull_request.head.sha }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - name: Install requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install lintrunner --user\n\n      - name: Initialize lint dependencies\n        run: lintrunner init\n\n      - name: Run lintrunner on all changed files\n        run: |\n          set +e\n          if ! lintrunner --force-color -m master --tee-json=lint.json; then\n              echo \"\"\n              echo -e \"\\e[1m\\e[36mYou can reproduce these results locally by using \\`lintrunner\\`.\\e[0m\"\n              echo -e \"\\e[1m\\e[36mSee https://github.com/pytorch/pytorch/wiki/lintrunner for setup instructions.\\e[0m\"\n              exit 1\n          fi\n\n      - name: Store annotations\n        if: always() && github.event_name == 'pull_request'\n        # Don't show this as an error; the above step will have already failed.\n        continue-on-error: true\n        run: |\n          # Use jq to massage the JSON lint output into GitHub Actions workflow commands.\n          jq --raw-output \\\n            '\"::\\(if .severity == \"advice\" or .severity == \"disabled\" then \"warning\" else .severity end) file=\\(.path),line=\\(.line),col=\\(.char),title=\\(.code) \\(.name)::\" + (.description | gsub(\"\\\\n\"; \"%0A\"))' \\\n            lint.json\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n", "state": "active", "repository": "dmlc/dgl"}
{"mined_at": "2024-07-15T15:38:27.889757", "created_at": "2022-01-23T13:45:03+01:00", "updated_at": "2022-01-23T13:45:03+01:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '0 1 * * *'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v4.1.0\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        days-before-issue-stale: 30\n        days-before-issue-close: -1 # disable issue close\n        days-before-pr-stale: -1 # disable stale bot on pr\n        days-before-pr-close: -1 # disable stale bot on pr\n        stale-issue-message: 'This issue has been automatically marked as stale due to lack of activity. It will be closed if no further activity occurs. Thank you'\n        close-issue-message: 'This issue is closed due to lack of activity. Feel free to reopen it if you still have questions.'\n        stale-issue-label: 'stale-issue'\n        exempt-issue-labels: 'bug:confirmed,feature request,help wanted,Work Item'\n        exempt-all-issue-milestones: true\n", "state": "active", "repository": "dmlc/dgl"}
{"mined_at": "2024-07-15T15:38:30.007137", "created_at": "2022-01-14T23:22:33+01:00", "updated_at": "2022-01-19T21:02:33+01:00", "name": "PR", "path": ".github/workflows/cc_bot.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\n# GH actions.\n# We use it to cover windows and mac builds\n# Jenkins is still the primary CI\n\nname: PR\n\non:\n  # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target\n  pull_request_target:\n    types: [assigned, opened, synchronize, reopened, edited, ready_for_review]\n\nconcurrency:\n  group: PR-${{ github.event.pull_request.number }}\n  cancel-in-progress: true\n\njobs:\n  cc-reviewers:\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: \"recursive\"\n      - name: Add cc'ed reviewers\n        env:\n          PR: ${{ toJson(github.event.pull_request) }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -eux\n          python ci/scripts/github/github_cc_reviewers.py || echo step failed\n", "state": "active", "repository": "apache/tvm"}
{"mined_at": "2024-07-15T15:38:31.210375", "created_at": "2020-01-09T02:02:27+01:00", "updated_at": "2021-12-03T19:16:10+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\n# GH actions.\n# We use it to cover windows and mac builds\n# Jenkins is still the primary CI\n\nname: CI\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\nconcurrency:\n  group: CI-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  MacOS:\n    if: ${{ github.repository == 'apache/tvm' }}\n    runs-on: macOS-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n      - name: Set up environment\n        uses: ./.github/actions/setup\n      - name: Conda Build\n        shell: bash -l {0}\n        run: >-\n          conda build --output-folder=conda/pkg  conda/recipe &&\n          conda install tvm -c ./conda/pkg\n      - name: Build iOS RPC\n        run: |\n          IOS_VERSION=\"14.0\"\n          CMAKE_FLAGS=\"-DCMAKE_BUILD_TYPE=Release \\\n                       -DCMAKE_SYSTEM_NAME=iOS \\\n                       -DCMAKE_SYSTEM_VERSION=${IOS_VERSION} \\\n                       -DCMAKE_OSX_SYSROOT=iphonesimulator \\\n                       -DCMAKE_OSX_ARCHITECTURES=x86_64 \\\n                       -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 \\\n                       -DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON \\\n                       -DUSE_IOS_RPC=ON\"\n\n          mkdir build-ios-simulator\n          cd build-ios-simulator\n          cmake .. ${CMAKE_FLAGS}\n          cmake --build . --target ios_rpc\n      - name: Test\n        shell: bash -l {0}\n        run: >-\n          python -m pytest -v tests/python/all-platform-minimal-test\n      - name: Minimal Metal Compile-Only\n        shell: bash -l {0}\n        run: |\n          python -m pytest -v -s 'tests/python/codegen/test_gpu_codegen_allreduce.py::test_allreduce_sum_compile'\n          python -m pytest -v -s 'tests/python/codegen/test_target_codegen_metal.py::test_func_with_trailing_pod_params'\n      - name: Minimal Metal Compile-and-Run\n        shell: bash -l {0}\n        run: >-\n          python -m pytest -v -s 'tests/python/codegen/test_target_codegen_metal.py'\n          python -m pytest -v -s 'tests/python/codegen/test_target_codegen_gpu_common.py'\n          python -m pytest -v -s 'tests/python/codegen/test_gpu_codegen_allreduce.py::test_allreduce_sum[dims0-metal]'\n#      - name: Test iOS RPC\n#        shell: bash -l {0}\n#        run: >-\n#          python -m pip install tornado psutil cloudpickle &&\n#          export PYTHONPATH=tests/python/contrib:${PYTHONPATH} &&\n#          export BUNDLE_ID=org.apache.tvmrpc &&\n#          export BUNDLE_PATH=build-ios-simulator/apps/ios_rpc/ios_rpc/src/ios_rpc-build/Release-iphonesimulator/tvmrpc.app &&\n#          python -m pytest -v tests/python/contrib/test_rpc_server_device.py\n\n  Windows:\n    if: ${{ github.repository == 'apache/tvm' }}\n    runs-on: windows-2019\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n      - name: Set up environment\n        uses: ./.github/actions/setup\n      - name: Conda Build\n        shell: cmd /C call {0}\n        run: >-\n          conda build --output-folder=conda/pkg conda/recipe &&\n          conda install tvm -c ./conda/pkg\n      - name: Test\n        shell: cmd /C call {0}\n        run: >-\n          python -m pytest -v tests/python/all-platform-minimal-test\n\n  # Disabled due to https://github.com/apache/tvm/issues/13950\n  # Windows-Static-Runtime:\n  #   if: ${{ github.repository == 'apache/tvm' }}\n  #   runs-on: windows-2019\n  #   steps:\n  #     - uses: actions/checkout@v2\n  #       with:\n  #         submodules: 'recursive'\n  #     - name: Set up environment\n  #       uses: ./.github/actions/setup\n  #     - name: Build static TVM runtime\n  #       shell: bash -l {0}\n  #       run: |\n  #         tests/scripts/task_config_build_static.sh build\n  #         cd build\n  #         cmake .. -A x64 -DCMAKE_CONFIGURATION_TYPES=\"Release\"\n  #         cmake --build . --config Release --target runtime\n\n  Linux-Static-Runtime:\n    if: ${{ github.repository == 'apache/tvm' }}\n    runs-on: Ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n      - name: Set up environment\n        uses: ./.github/actions/setup\n      - name: Build static TVM runtime\n        shell: bash -l {0}\n        run: |\n          tests/scripts/task_config_build_static.sh build\n          cd build\n          cmake ..\n          cmake --build . --config Release --target runtime\n\n  Android:\n    if: ${{ github.repository == 'apache/tvm' }}\n    runs-on: Ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n      - name: Set up environment\n        uses: ./.github/actions/setup\n      - name: Set up java\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'zulu'\n          java-version: '11'\n      - name: Build TVM\n        shell: bash -l {0}\n        run: |\n          mkdir build\n          cd build\n          ../tests/scripts/task_config_build_jvm.sh .\n          cmake ..\n          make\n      - name: Build TVM4J\n        run: |\n          make jvmpkg\n      - name: Build android_rpc\n        working-directory: apps/android_rpc\n        run: |\n          set -eux\n          export PATH=\"${ANDROID_NDK_LATEST_HOME}:$PATH\"\n          gradle clean build\n      - name: Upload android_rpc APK\n        uses: actions/upload-artifact@v2\n        with:\n          name: android_rpc-debug.apk\n          path: ./apps/android_rpc/app/build/outputs/apk/debug/app-debug.apk\n      - name: Build android_deploy\n        working-directory: apps/android_deploy\n        run: |\n          set -eux\n          export PATH=\"${ANDROID_NDK_LATEST_HOME}:$PATH\"\n          gradle clean build\n      - name: Upload android_deploy APK\n        uses: actions/upload-artifact@v2\n        with:\n          name: android_deploy-debug.apk\n          path: ./apps/android_deploy/app/build/outputs/apk/debug/app-debug.apk\n", "state": "active", "repository": "apache/tvm"}
{"mined_at": "2024-07-15T15:38:32.295928", "created_at": "2022-06-23T20:57:10+02:00", "updated_at": "2022-06-23T20:57:10+02:00", "name": "Nightly Docker Update", "path": ".github/workflows/nightly_docker_update.yml", "contents": "\nname: Nightly Docker Update\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\nconcurrency:\n  group: nightly-docker-update\n  cancel-in-progress: true\n\njobs:\n  open_update_pr:\n    permissions:\n      actions: write\n      checks: write\n      contents: write\n      id-token: write\n      issues: write\n      pull-requests: write\n      statuses: write\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Open PR to update Docker images\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -eux\n          python ci/scripts/jenkins/open_docker_update_pr.py\n", "state": "active", "repository": "apache/tvm"}
{"mined_at": "2024-07-15T15:38:33.517923", "created_at": "2022-02-02T20:35:07+01:00", "updated_at": "2022-02-02T20:35:07+01:00", "name": "Ping Reviewers", "path": ".github/workflows/ping_reviewers.yml", "contents": "\nname: Ping Reviewers\non:\n  schedule:\n    - cron: \"0/15 * * * *\"\n  workflow_dispatch:\n\nconcurrency:\n  group: ping\n  cancel-in-progress: true\n\njobs:\n  ping:\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Ping reviewers\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -eux\n          python ci/scripts/github/ping_reviewers.py --wait-time-minutes 10080 || echo failed\n", "state": "active", "repository": "apache/tvm"}
{"mined_at": "2024-07-15T15:38:34.544676", "created_at": "2022-09-16T22:30:01+02:00", "updated_at": "2022-09-26T16:20:52+02:00", "name": "comment-bot", "path": ".github/workflows/pr_comment_bot.yml", "contents": null, "state": "disabled_manually", "repository": "apache/tvm"}
{"mined_at": "2024-07-15T15:38:35.713877", "created_at": "2022-03-03T17:26:41+01:00", "updated_at": "2022-03-03T17:26:41+01:00", "name": "Teams", "path": ".github/workflows/tag_teams.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\nname: Teams\n\non:\n  issues:\n    types: [opened, edited, reopened, labeled]\n\nconcurrency:\n  group: Teams-${{ github.event.pull_request.number }}-${{ github.event.issue.number }}\n  cancel-in-progress: true\n\njobs:\n  tag-teams:\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Tag people from relevant teams\n        env:\n          PR: ${{ toJson(github.event.pull_request) }}\n          ISSUE: ${{ toJson(github.event.issue) }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -eux\n          python ci/scripts/github/github_tag_teams.py || echo failed\n", "state": "active", "repository": "apache/tvm"}
{"mined_at": "2024-07-15T15:38:36.722262", "created_at": "2022-06-01T02:21:10+02:00", "updated_at": "2022-06-03T19:58:14+02:00", "name": "tvm-bot", "path": ".github/workflows/tvmbot.yml", "contents": "\nname: tvm-bot\non:\n  pull_request_review:\n    types:\n      - submitted\n  issue_comment:\n\nconcurrency:\n  group: merge-${{ github.event.pull_request.number }}-${{ github.event.issue.number }}\n  cancel-in-progress: true\n\njobs:\n  run-tvm-bot:\n    permissions:\n      actions: write\n      checks: write\n      contents: write\n      id-token: write\n      issues: write\n      pull-requests: write\n      statuses: write\n    if: ${{ github.event.issue.pull_request && github.repository == 'apache/tvm' }}\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run tvm-bot\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GH_ACTIONS_TOKEN: ${{ secrets.GH_ACTIONS_TOKEN }}\n          TVM_BOT_JENKINS_TOKEN: ${{ secrets.TVM_BOT_JENKINS_TOKEN }}\n          PR_NUMBER: ${{ github.event.issue.number }}\n          ISSUE_COMMENT: ${{ toJson(github.event.comment) }}\n          RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        run: |\n          set -eux\n          python ci/scripts/github/github_tvmbot.py --pr \"$PR_NUMBER\" --run-url \"$RUN_URL\" --trigger-comment-json \"$ISSUE_COMMENT\"\n", "state": "active", "repository": "apache/tvm"}
{"mined_at": "2024-07-15T15:38:37.744463", "created_at": "2022-02-02T01:12:25+01:00", "updated_at": "2022-11-07T19:10:18+01:00", "name": "Update last-successful branch", "path": ".github/workflows/update_last_successful_branch.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\n# GH actions.\n# We use it to cover windows and mac builds\n# Jenkins is still the primary CI\n\nname: Update last-successful branch\n\non:\n  schedule:\n    - cron: \"0/15 * * * *\"\n  workflow_dispatch:\n\nconcurrency:\n  group: update-last-successful-branch\n  cancel-in-progress: true\n\njobs:\n  update-last-successful-branch:\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Update last-successful branch\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -eux\n          python ci/scripts/github/update_branch.py || echo step failed\n", "state": "disabled_manually", "repository": "apache/tvm"}
{"mined_at": "2024-07-15T15:38:38.802478", "created_at": "2022-12-07T12:04:17+01:00", "updated_at": "2022-12-07T12:04:17+01:00", "name": "Update nightly branch", "path": ".github/workflows/update_nightly_branch.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\n# Update a branch for nightly test results\nname: Update nightly branch\n\non:\n  schedule:\n    # 9 PM PST\n    - cron: \"0 5 * * *\"\n  workflow_dispatch:\n\nconcurrency:\n  group: update-nightly-branch\n  cancel-in-progress: true\n\njobs:\n  update-nightly-branch:\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Update nightly branch\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -eux\n          git checkout -B nightly\n          git log -5\n          git push origin --force nightly\n", "state": "active", "repository": "apache/tvm"}
{"mined_at": "2024-07-15T15:38:40.041734", "created_at": "2022-06-24T19:36:17+02:00", "updated_at": "2022-06-24T19:36:17+02:00", "name": "Upload CI Resource", "path": ".github/workflows/upload_ci_resource.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\nname: Upload CI Resource\n\non:\n  workflow_dispatch:\n    inputs:\n      url:\n        description: 'URL of the file (e.g. \"https://example.com/file.zip\")'\n        required: true\n        type: string\n      sha256:\n        description: 'SHA256 of the file'\n        required: true\n        type: string\n      upload_path:\n        description: 'Path of the file in S3 (e.g. \"my_folder/something.zip\")'\n        required: true\n        type: string\n\nconcurrency:\n  group: upload-ci-resource\n  cancel-in-progress: true\n\njobs:\n  upload-ci-resource:\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Download item and upload to S3\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.CI_RESOURCES_AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.CI_RESOURCES_AWS_SECRET_ACCESS_KEY }}\n          URL: ${{ inputs.url }}\n          SHA256: ${{ inputs.sha256 }}\n          UPLOAD_PATH: ${{ inputs.upload_path }}\n          AWS_DEFAULT_REGION: us-west-2\n        run: |\n          set -eux\n          curl -L -o downloaded_file \"$URL\"\n          echo \"$SHA256 downloaded_file\" | sha256sum --check\n          aws s3 cp downloaded_file \"s3://tvm-ci-resources/$UPLOAD_PATH\"\n          echo \"The item is available at https://tvm-ci-resources.s3.us-west-2.amazonaws.com/$UPLOAD_PATH\"\n          echo \"Add this line to tests/scripts/request_hook/request_hook.py\"\n          echo \"    \\\"$URL\\\": f\\\"{BASE}/$UPLOAD_PATH\\\",\"\n", "state": "active", "repository": "apache/tvm"}
{"mined_at": "2024-07-15T15:38:42.191768", "created_at": "2022-01-31T10:24:47+01:00", "updated_at": "2022-01-31T10:24:47+01:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "name: Backport\non:\n  pull_request:\n    types:\n      - closed\n      - labeled\n\njobs:\n  backport:\n    runs-on: ubuntu-latest\n    # Only react to merged PRs for security reasons.\n    # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.\n    if: >\n      github.event.pull_request.merged\n      && (\n        github.event.action == 'closed'\n        || (\n          github.event.action == 'labeled'\n          && contains(github.event.label.name, 'backport')\n        )\n      )\n    name: Backport\n    steps:\n      - name: Backport\n        uses: tibdex/backport@v2\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "statsmodels/statsmodels"}
{"mined_at": "2024-07-15T15:38:43.224062", "created_at": "2022-11-08T11:32:51+01:00", "updated_at": "2022-11-29T20:53:30+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ 'main' ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ 'main' ]\n  schedule:\n    - cron: '25 2 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python', 'javascript' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        queries: +security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "statsmodels/statsmodels"}
{"mined_at": "2024-07-15T15:38:44.252042", "created_at": "2024-06-06T13:26:29+02:00", "updated_at": "2024-06-06T13:26:29+02:00", "name": "Test Emscripten/Pyodide build", "path": ".github/workflows/emscripten.yml", "contents": null, "state": "active", "repository": "statsmodels/statsmodels"}
{"mined_at": "2024-07-15T15:38:45.350161", "created_at": "2021-07-06T15:22:49+02:00", "updated_at": "2021-07-06T15:22:49+02:00", "name": "Generate Documentation", "path": ".github/workflows/generate-documentation.yml", "contents": "name: Generate Documentation\n\non:\n  release:\n    types: [published]\n  push:\n    branches:\n      - main\n  pull_request:\n\npermissions: {}\n\njobs:\n  build:\n    permissions:\n      contents: write # for git push\n\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Checkout statsmodels.github.io without token\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n        repository: statsmodels/statsmodels.github.io\n        path: statsmodels.github.io\n      if: ${{ github.event_name == 'pull_request' }}\n    - name: Checkout statsmodels.github.io with token\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n        repository: statsmodels/statsmodels.github.io\n        path: statsmodels.github.io\n        token: ${{ secrets.DOCBUILD_TOKEN }}\n      if: ${{ github.event_name == 'release' || github.event_name == 'push' }}\n    - name: Event type\n      run: echo $EVENT_TYPE\n      env:\n        EVENT_TYPE: ${{ github.event_name }}\n    - name: Install pandoc\n      uses: r-lib/actions/setup-pandoc@v2\n    - name: Install graphviz\n      uses: ts-graphviz/setup-graphviz@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: \"pip\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel setuptools\n        python -m pip install -r requirements.txt\n        python -m pip install -r requirements-dev.txt\n        python -m pip install -r requirements-doc.txt\n        python -m pip list\n    - name: Install statsmodels\n      run: python -m pip install . -vv\n    - name: Build documentation\n      run: |\n        pushd docs\n        make html\n        popd\n    - name: Move and commit documentation\n      env:\n        GIT_TAG: ${{ github.event.release.tag_name }}\n      run: |\n        source tools/ci/docbuild-commit.sh\n    - name: Push changes\n      env:\n        PERSONAL_ACCESS_TOKEN: ${{ secrets.DOCBUILD_TOKEN }}\n      run: |\n        source tools/ci/docbuild-push.sh\n      if: ${{ github.event_name == 'release' || github.event_name == 'push' }}\n", "state": "active", "repository": "statsmodels/statsmodels"}
{"mined_at": "2024-07-15T15:38:47.826062", "created_at": "2023-08-04T15:29:08+02:00", "updated_at": "2023-08-04T15:29:08+02:00", "name": "Create Subrepo Conda Packages", "path": ".github/workflows/build-subrepos.yml", "contents": "on:\n  push:\n    branches:\n      - 'master'\n    paths:\n      - '**.gitrepo'\n      - '.github/workflows/build-subrepos.yml'\n\n  workflow_call:\n\n  workflow_dispatch:\n\nconcurrency:\n  group: build-subrepos-${{ github.ref }}\n  cancel-in-progress: true\n\nname: Create Subrepo Conda Packages\n\njobs:\n  build-pkgs:\n    name: Build ${{ matrix.pkg }} ${{ matrix.cache-arch }} Python-${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        pkg: [python-lsp-server, qtconsole, spyder-kernels]\n        include:\n          - python-version: '3.11'\n          - cache-arch: noarch\n          - os: ubuntu-latest\n            pkg: spyder-kernels\n            cache-arch: unix\n          - os: windows-latest\n            pkg: spyder-kernels\n            python-version: '3.11'\n            cache-arch: win-64\n    defaults:\n      run:\n        shell: bash -l {0}\n        working-directory: ${{ github.workspace }}/installers-conda\n    env:\n      pkg: ${{ matrix.pkg }}\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Cache ${{ matrix.pkg }} ${{ matrix.cache-arch }} Conda Build\n        id: cache\n        uses: actions/cache@v4\n        with:\n          path: installers-conda/build/conda-bld/**/*.tar.bz2\n          key: ${{ matrix.pkg }}_${{ matrix.cache-arch }}_${{ matrix.python-version }}_${{ hashFiles(format('external-deps/{0}/.gitrepo', env.pkg)) }}\n          lookup-only: true\n          enableCrossOsArchive: true\n\n      - name: Setup Build Environment\n        if: steps.cache.outputs.cache-hit != 'true'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: installers-conda/build-environment.yml\n          environment-name: spy-inst\n          create-args: >-\n            --channel-priority=flexible\n            python=${{ matrix.python-version }}\n          cache-downloads: true\n          cache-environment: true\n\n      - name: Build ${{ matrix.pkg }} Conda Package\n        if: steps.cache.outputs.cache-hit != 'true'\n        env:\n          CONDA_BLD_PATH: ${{ github.workspace }}/installers-conda/build/conda-bld\n        run: python build_conda_pkgs.py --build $pkg\n", "state": "active", "repository": "spyder-ide/spyder"}
{"mined_at": "2024-07-15T15:38:48.823329", "created_at": "2020-07-26T21:55:31+02:00", "updated_at": "2020-07-26T21:55:31+02:00", "name": "Chatops Binder", "path": ".github/workflows/chatops-binder.yaml", "contents": "name: Chatops Binder\non: [issue_comment] # issues and PRs are equivalent in terms of comments for the GitHub API\n\njobs:\n  trigger-chatops:\n    # Make sure the comment is from one in our organization, it's on a PR, and contains the command \"/binder\"\n    if: |\n      (\n        (github.event.issue.pull_request != null) &&\n        (\n          contains(github.event.comment.body, '/Show binder') ||\n          contains(github.event.comment.body, '/show binder')\n        )\n      )\n    runs-on: ubuntu-latest\n    steps:\n      # Use the GitHub API to: \n      #  (1) Get the branch name of the PR that has been commented on with \"/binder\" \n      #  (2) make a comment on the PR with the binder badge\n    - name: comment on PR with Binder link\n      uses: actions/github-script@v1\n      with:\n        github-token: ${{secrets.GITHUB_TOKEN}}\n        script: |\n          // Get the branch name\n          github.pulls.get({\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            pull_number: context.payload.issue.number\n          }).then( (pr) => {\n\n            // use the branch name to make a comment  on the PR with a Binder badge\n            var BRANCH_NAME = pr.data.head.ref;\n            var USER_NAME = pr.data.head.user.login;\n            var BASE_NAME = pr.data.base.ref\n            github.issues.createComment({\n              issue_number: context.payload.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: `[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/spyder-ide/binder-environments/${BASE_NAME}?urlpath=git-pull%3Frepo%3Dhttps%253A%252F%252Fgithub.com%252F${USER_NAME}%252Fspyder%26urlpath%3Ddesktop%252F%26branch%3D${BRANCH_NAME}%26depth%3D500) :point_left: Launch a Binder instance on this branch`\n            })\n          })\n", "state": "active", "repository": "spyder-ide/spyder"}
{"mined_at": "2024-07-15T15:38:49.920297", "created_at": "2020-03-01T16:09:27+01:00", "updated_at": "2020-04-10T09:31:37+02:00", "name": "Close duplicate issues", "path": ".github/workflows/duplicates.yml", "contents": "name: Close duplicate issues\n\non: [issues]\n\njobs:\n  example:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: spyder-ide/action-close-duplicate-issues@master\n        with:\n          repo-token: ${{ secrets.SECRET_TOKEN }}\n          items: >-\n            [\n             {\n               \"pattern\": \"ValueError: cannot set WRITEABLE flag to True of this array\",\n               \"reply\": \"Thanks for reporting. This issue is fixed in our latest Spyder 3 version. Please update by opening the Anaconda Prompt and running there:<br><br>`conda install spyder=3.3.6`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"TypeError: _start_server() missing 1 required positional argument\",\n               \"reply\": \"Thanks for reporting. This issue is fixed in our latest Spyder 3 version. Please update by opening the Anaconda Prompt and running there:<br><br>`conda install spyder=3.3.6`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"AttributeError: 'NoneType' object has no attribute 'execute'\",\n               \"reply\": \"Thanks for reporting. This issue is fixed in our latest Spyder 3 version. Please update by opening the Anaconda Prompt and running there:<br><br>`conda install spyder=3.3.6`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"AttributeError: module 'dateutil.tz' has no attribute 'UTC'\",\n               \"reply\": \"Thanks for reporting. This issue is fixed in our latest Spyder 3 version. Please update by opening the Anaconda Prompt and running there:<br><br>`conda install spyder=3.3.6`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"AttributeError: '_ModuleMock' object has no attribute 'PLUGIN_CLASS'\",\n               \"reply\": \"Thanks for reporting. This issue is fixed in our latest Spyder 3 version. Please update by opening the Anaconda Prompt and running there:<br><br>`conda install spyder=3.3.6`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"TypeError: _handle_remote_call_reply() missing 1 required positional argument: 'load_exception'\",\n               \"reply\": \"Thanks for reporting. This issue is fixed in our latest Spyder 4 version. Please update by opening the Anaconda Prompt and running there:<br><br>`conda install spyder=4.1.*`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"psutil.NoSuchProcess: psutil.NoSuchProcess process no longer exists\",\n               \"reply\": \"Thanks for reporting. This issue is a duplicate of #11872 and fixed in our latest Spyder 4 version. Please update by opening the Anaconda Prompt and running there:<br><br>`conda install spyder=4.1.*`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"current_pos_text = text[offset - utf16_diff - 1]\",\n               \"reply\": \"Thanks for reporting. This issue is a duplicate of #12266 and fixed in our latest version. Please update by opening the Anaconda Prompt and running there:<br><br>`conda install spyder=4.1.*`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"TimeoutError: Timeout while waiting for comm port.\",\n               \"reply\": \"Thanks for reporting. This issue is a duplicate of #13288 and fixed in our latest version. Please update by opening the Anaconda Prompt and running there:<br><br>`conda update anaconda`<br>`conda install spyder=4.2.*`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"TypeError: __init__() got an unexpected keyword argument 'size'\",\n               \"reply\": \"Thanks for reporting. This issue is a duplicate of #11875 and fixed in our latest version. Please update by opening the Anaconda Prompt and running there:<br><br>`conda install spyder=4.1.*`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"TypeError: CodeEditor.sig_display_object_info[str, bool].emit(): argument 1 has unexpected type 'list'\",\n               \"reply\": \"Thanks for reporting. This issue is a duplicate of #13297 and fixed in our latest version. Please update by opening the Anaconda Prompt and running there:<br><br>`conda update anaconda`<br>`conda install spyder=4.1.5`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"triggered=lambda v: self.open_project()\",\n               \"reply\": \"Thanks for reporting. This issue is a duplicate of #13346 and fixed in our latest version. Please update by opening the Anaconda Prompt and running there:<br><br>`conda update anaconda`<br>`conda install spyder=4.1.5`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"AttributeError: module 'qdarkstyle.palette' has no attribute 'DarkPalette'\",\n               \"reply\": \"Thanks for reporting. To fix this, please close Spyder, open the Anaconda Prompt and run there:<br><br>`conda install qdarkstyle=2.8.1`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"AttributeError: 'SpyderKernelManager' object has no attribute 'kernel'\",\n               \"reply\": \"Thanks for reporting. To fix this, please close Spyder, open the Anaconda Prompt and run there:<br><br>`conda install jupyter_client=6.1.12 freetype=2.10.4`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"TypeError: _show_prompt() got an unexpected keyword argument 'separator'\",\n               \"reply\": \"Thanks for reporting. To fix this error, please close Spyder, open the Anaconda Prompt (on Windows) or a terminal (on macOS or Linux) and run there the commands mentioned in [our documentation](http://docs.spyder-ide.org/current/installation.html#updating-with-anaconda).\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"AttributeError: '_asyncio.Future' object has no attribute 'index'\",\n               \"reply\": \"Thanks for reporting. To fix this error, please close Spyder, open the Anaconda Prompt and run the following command there:<br><br>`conda install jupyter_client=7.3.1`\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             },\n             {\n               \"pattern\": \"AttributeError: 'DataFrame' object has no attribute 'iteritems'\",\n               \"reply\": \"Thanks for reporting. To fix this error, please close Spyder, open the Anaconda Prompt (on Windows) or a terminal (on macOS or Linux) and run there the commands mentioned in [our documentation](http://docs.spyder-ide.org/current/installation.html#updating-with-anaconda).\",\n               \"labels\": [\"resolution:Duplicate\"],\n               \"close\": true\n             }\n             ]\n", "state": "active", "repository": "spyder-ide/spyder"}
{"mined_at": "2024-07-15T15:38:50.997487", "created_at": "2020-10-17T21:03:25+02:00", "updated_at": "2023-02-11T06:17:05+01:00", "name": "Create macOS App Bundle and DMG", "path": ".github/workflows/installer-macos.yml", "contents": null, "state": "active", "repository": "spyder-ide/spyder"}
{"mined_at": "2024-07-15T15:38:52.021610", "created_at": "2020-10-03T02:47:21+02:00", "updated_at": "2023-02-11T06:17:05+01:00", "name": "Create Windows Installer", "path": ".github/workflows/installer-win.yml", "contents": null, "state": "active", "repository": "spyder-ide/spyder"}
{"mined_at": "2024-07-15T15:38:53.148613", "created_at": "2022-09-23T08:39:36+02:00", "updated_at": "2023-10-18T18:09:29+02:00", "name": "Nightly conda-based installers", "path": ".github/workflows/installers-conda.yml", "contents": "on:\n  schedule:\n    - cron: '30 6 * * *'\n\n  pull_request:\n    paths:\n      - 'installers-conda/**'\n      - '.github/workflows/installers-conda.yml'\n      - 'requirements/*.yml'\n      - 'MANIFEST.in'\n\n  release:\n    types:\n      - created\n\n  workflow_dispatch:\n    inputs:\n      pre:\n        description: 'Build as release candidate'\n        required: false\n        default: true\n        type: boolean\n      ssh:\n        description: 'Enable ssh debugging'\n        required: false\n        default: false\n        type: boolean\n      macos-x86_64:\n        description: 'Build macOS x86_64 installer'\n        required: false\n        default: true\n        type: boolean\n      macos-arm64:\n        description: 'Build macOS arm64 installer'\n        required: false\n        default: true\n        type: boolean\n      linux:\n        description: 'Build Linux installer'\n        required: false\n        default: true\n        type: boolean\n      win:\n        description: 'Build Windows installer'\n        required: false\n        default: true\n        type: boolean\n\nconcurrency:\n  group: installers-conda-${{ github.ref }}\n  cancel-in-progress: true\n\nname: Nightly conda-based installers\n\nenv:\n  IS_RELEASE: ${{ github.event_name == 'release' }}\n  IS_PRE_RELEASE: ${{ github.event_name == 'workflow_dispatch' && inputs.pre }}\n  ENABLE_SSH: ${{ github.event_name == 'workflow_dispatch' && inputs.ssh }}\n  BUILD_MAC: ${{ github.event_name != 'workflow_dispatch' || inputs.macos-x86_64 }}\n  BUILD_ARM: ${{ github.event_name != 'workflow_dispatch' || inputs.macos-arm64 }}\n  BUILD_LNX: ${{ github.event_name != 'workflow_dispatch' || inputs.linux }}\n  BUILD_WIN: ${{ github.event_name != 'workflow_dispatch' || inputs.win }}\n  USE_SUBREPOS: ${{ github.event_name == 'schedule' || github.event_name == 'pull_request' || (github.event_name == 'workflow_dispatch' && ! inputs.pre) }}\n  NOTARIZE: ${{ github.event_name == 'schedule' || github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.pre) }}\n\njobs:\n  build-matrix:\n    name: Determine Build Matrix\n    runs-on: ubuntu-latest\n    outputs:\n      target_platform: ${{ steps.build-matrix.outputs.target_platform }}\n      include: ${{ steps.build-matrix.outputs.include }}\n      python_version: ${{ steps.build-matrix.outputs.python_version }}\n\n    steps:\n    - name: Determine Build Matrix\n      id: build-matrix\n      run: |\n        if [[ $BUILD_MAC == \"true\" ]]; then\n            target_platform=\"'osx-64'\"\n            include=\"{'os': 'macos-12', 'target-platform': 'osx-64', 'spyk-arch': 'unix'}\"\n        fi\n        if [[ $BUILD_ARM == \"true\" ]]; then\n            target_platform=${target_platform:+\"$target_platform, \"}\"'osx-arm64'\"\n            include=${include:+\"$include, \"}\"{'os': 'macos-14', 'target-platform': 'osx-arm64', 'spyk-arch': 'unix'}\"\n        fi\n        if [[ $BUILD_LNX == \"true\" ]]; then\n            target_platform=${target_platform:+\"$target_platform, \"}\"'linux-64'\"\n            include=${include:+\"$include, \"}\"{'os': 'ubuntu-latest', 'target-platform': 'linux-64', 'spyk-arch': 'unix'}\"\n        fi\n        if [[ $BUILD_WIN == \"true\" ]]; then\n            target_platform=${target_platform:+\"$target_platform, \"}\"'win-64'\"\n            include=${include:+\"$include, \"}\"{'os': 'windows-latest', 'target-platform': 'win-64', 'spyk-arch': 'win-64'}\"\n        fi\n\n        echo \"target_platform=[$target_platform]\" >> $GITHUB_OUTPUT\n        echo \"include=[$include]\" >> $GITHUB_OUTPUT\n\n  build-subrepos:\n    name: Build Subrepos\n    # env.USE_SUBREPOS is not available at job level; must copy-paste here\n    if: github.event_name == 'schedule' || github.event_name == 'pull_request' || (github.event_name == 'workflow_dispatch' && ! inputs.pre)\n    uses: ./.github/workflows/build-subrepos.yml\n\n  build-installers:\n    name: Build installer for ${{ matrix.target-platform }} Python-${{ matrix.python-version }}\n    if: ${{ ! failure() && ! cancelled() }}\n    runs-on: ${{ matrix.os }}\n    needs:\n      - build-matrix\n      - build-subrepos\n    strategy:\n      fail-fast: false\n      matrix:\n        target-platform: ${{fromJson(needs.build-matrix.outputs.target_platform)}}\n        python-version: ['3.11']\n        include: ${{fromJson(needs.build-matrix.outputs.include)}}\n    defaults:\n      run:\n        shell: bash -le {0}\n        working-directory: ${{ github.workspace }}/installers-conda\n    env:\n      DISTDIR: ${{ github.workspace }}/installers-conda/dist\n      MACOS_CERTIFICATE_PWD: ${{ secrets.MACOS_CERTIFICATE_PWD }}\n      MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}\n      MACOS_INSTALLER_CERTIFICATE: ${{ secrets.MACOS_INSTALLER_CERTIFICATE }}\n      APPLICATION_PWD: ${{ secrets.APPLICATION_PWD }}\n      CONSTRUCTOR_TARGET_PLATFORM: ${{ matrix.target-platform }}\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Remote SSH Connection\n        if: env.ENABLE_SSH == 'true'\n        uses: mxschmitt/action-tmate@v3\n        timeout-minutes: 10\n        with:\n          detached: true\n\n      - name: Restore python-lsp-server Cache\n        if: env.USE_SUBREPOS == 'true'\n        uses: actions/cache/restore@v4\n        with:\n          path: installers-conda/build/conda-bld/**/*.tar.bz2\n          key: python-lsp-server_noarch_${{ matrix.python-version }}_${{ hashFiles('external-deps/python-lsp-server/.gitrepo') }}\n          enableCrossOsArchive: true\n          fail-on-cache-miss: true\n\n      - name: Restore qtconsole Cache\n        if: env.USE_SUBREPOS == 'true'\n        uses: actions/cache/restore@v4\n        with:\n          path: installers-conda/build/conda-bld/**/*.tar.bz2\n          key: qtconsole_noarch_${{ matrix.python-version }}_${{ hashFiles('external-deps/qtconsole/.gitrepo') }}\n          enableCrossOsArchive: true\n          fail-on-cache-miss: true\n\n      - name: Restore ${{ matrix.spyk-arch }} spyder-kernels Cache\n        if: env.USE_SUBREPOS == 'true'\n        uses: actions/cache/restore@v4\n        with:\n          path: installers-conda/build/conda-bld/**/*.tar.bz2\n          key: spyder-kernels_${{ matrix.spyk-arch }}_${{ matrix.python-version }}_${{ hashFiles('external-deps/spyder-kernels/.gitrepo') }}\n          enableCrossOsArchive: true\n          fail-on-cache-miss: true\n\n      - name: Setup Build Environment (Windows)\n        if: runner.os == 'Windows'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          condarc: |\n            conda_build:\n              pkg_format: '2'\n              zstd_compression_level: '19'\n          environment-file: installers-conda/build-environment.yml\n          environment-name: spy-inst\n          create-args: >-\n            --channel-priority=flexible\n            python=${{ matrix.python-version }}\n            nsis>=3.08=*_log_*\n          cache-downloads: true\n          cache-environment: true\n\n      - name: Setup Build Environment (macOS & Linux)\n        if: runner.os != 'Windows'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          condarc: |\n            conda_build:\n              pkg_format: '2'\n              zstd_compression_level: '19'\n          environment-file: installers-conda/build-environment.yml\n          environment-name: spy-inst\n          create-args: >-\n            --channel-priority=flexible\n            python=${{ matrix.python-version }}\n          cache-downloads: true\n          cache-environment: true\n\n      - name: Env Variables\n        run: |\n          NSIS_USING_LOG_BUILD=1\n          [[ \"$IS_RELEASE\" == \"true\" || \"$IS_PRE_RELEASE\" == \"true\" ]] && NSIS_USING_LOG_BUILD=0\n          CONDA_BLD_PATH=${RUNNER_TEMP}/conda-bld\n\n          echo \"NSIS_USING_LOG_BUILD=$NSIS_USING_LOG_BUILD\" >> $GITHUB_ENV\n          echo \"CONDA_BLD_PATH=$CONDA_BLD_PATH\" >> $GITHUB_ENV\n\n          env | sort\n\n      - name: Build ${{ matrix.target-platform }} spyder Conda Package\n        run: |\n          # Copy built packages to new build location because spyder cannot be\n          # built in workspace\n          [[ -d build/conda-bld ]] && cp -Rv build/conda-bld $CONDA_BLD_PATH\n\n          python build_conda_pkgs.py --build spyder\n\n      - name: Create Local Conda Channel\n        run: |\n          conda config --set bld_path $CONDA_BLD_PATH\n          conda index $CONDA_BLD_PATH\n          mamba search -c local --override-channels || true\n\n      - name: Create Keychain\n        if: runner.os == 'macOS' && env.NOTARIZE == 'true'\n        run: |\n          _codesign=$(which codesign)\n          if [[ $_codesign =~ ${CONDA_PREFIX}.* ]]; then\n              # Find correct codesign\n              echo \"Moving $_codesign...\"\n              mv $_codesign ${_codesign}.bak\n          fi\n\n          ./certkeychain.sh \"${MACOS_CERTIFICATE_PWD}\" \"${MACOS_CERTIFICATE}\" \"${MACOS_INSTALLER_CERTIFICATE}\"\n          CNAME=$(security find-identity -p codesigning -v | pcre2grep -o1 \"\\(([0-9A-Z]+)\\)\")\n          echo \"CNAME=$CNAME\" >> $GITHUB_ENV\n\n      - name: Load signing certificate (Windows)\n        if: runner.os == 'Windows' && env.NOTARIZE == 'true'\n        run: |\n          echo \"${MACOS_CERTIFICATE}\" > \"${{ runner.temp }}/certificate.b64.txt\"\n          certutil.exe -decode \"${{ runner.temp }}/certificate.b64.txt\" \"${{ runner.temp }}/certificate.pfx\"\n\n          echo \"CONSTRUCTOR_SIGNING_CERTIFICATE=${{ runner.temp }}/certificate.pfx\" >> $GITHUB_ENV\n          echo \"CONSTRUCTOR_PFX_CERTIFICATE_PASSWORD=${MACOS_CERTIFICATE_PWD}\" >> $GITHUB_ENV\n          echo \"CONSTRUCTOR_SIGNTOOL_PATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe\" >> $GITHUB_ENV\n\n      - name: Build Package Installer\n        run: |\n          [[ -n $CNAME ]] && args=(\"--cert-id\" \"$CNAME\") || args=()\n          python build_installers.py ${args[@]}\n\n          PKG_NAME=$(ls $DISTDIR | grep Spyder-)\n          LCK_NAME=$(ls $DISTDIR | grep conda-)\n          echo \"PKG_NAME=$PKG_NAME\" >> $GITHUB_ENV\n          echo \"LCK_NAME=$LCK_NAME\" >> $GITHUB_ENV\n          echo \"ARTIFACT_NAME=${PKG_NAME%.*}\" >> $GITHUB_ENV\n          echo \"PKG_PATH=$DISTDIR/$PKG_NAME\" >> $GITHUB_ENV\n\n      - name: Test macOS or Linux Installer\n        if: runner.os != 'Windows'\n        run: ${{ github.workspace }}/.github/scripts/installer_test.sh\n\n      - name: Test Windows Installer\n        if: runner.os == 'Windows'\n        shell: cmd\n        run: |\n          set base_prefix=%USERPROFILE%\\AppData\\Local\\spyder-6\n          start /wait %PKG_PATH% /InstallationType=JustMe /NoRegistry=1 /S\n          if exist %base_prefix%\\install.log type %base_prefix%\\install.log\n\n          set mode=system\n          for /F \"tokens=*\" %%i in (\n              '%base_prefix%\\python %base_prefix%\\Scripts\\menuinst_cli.py shortcut --mode=%mode%'\n          ) do (\n              set shortcut=%%~fi\n          )\n          if exist \"%shortcut%\" (\n              echo \"Spyder installed successfully\"\n          ) else (\n              echo \"Spyder NOT installed successfully\"\n              EXIT /B 1\n          )\n          EXIT /B %ERRORLEVEL%\n\n      - name: Notarize or Compute Checksum\n        if: env.NOTARIZE == 'true'\n        run: |\n          if [[ $RUNNER_OS == \"macOS\" ]]; then\n              ./notarize.sh -p $APPLICATION_PWD $PKG_PATH\n          else\n              cd $DISTDIR\n              echo $(sha256sum $PKG_NAME) > \"${ARTIFACT_NAME}-sha256sum.txt\"\n          fi\n\n      - name: Upload Artifact\n        if: env.IS_RELEASE == 'false'\n        uses: actions/upload-artifact@v4\n        with:\n          path: ${{ env.DISTDIR }}\n          name: ${{ env.ARTIFACT_NAME }}\n\n      - name: Get Release\n        if: env.IS_RELEASE == 'true'\n        uses: bruceadams/get-release@v1.3.2\n        id: get_release\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n\n      - name: Upload Release Asset\n        if: env.IS_RELEASE == 'true'\n        uses: shogo82148/actions-upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n        with:\n          upload_url: ${{ steps.get_release.outputs.upload_url }}\n          asset_path: ${{ env.DISTDIR }}/*.*\n", "state": "active", "repository": "spyder-ide/spyder"}
{"mined_at": "2024-07-15T15:38:54.184473", "created_at": "2020-04-10T18:27:30+02:00", "updated_at": "2020-04-10T18:30:32+02:00", "name": "File tests", "path": ".github/workflows/test-files.yml", "contents": "name: File tests\n\non:\n  push:\n    branches:\n      - master\n      - 5.*\n      - 4.x\n    paths:\n      - '.github/scripts/*.sh'\n      - '.github/workflows/*.yml'\n      - 'requirements/*.yml'\n      - 'MANIFEST.in'\n      - '**.bat'\n      - '**.py'\n      - '**.sh'\n      - '!installers-conda/**'\n      - '!.github/workflows/installers-conda.yml'\n      - '!.github/workflows/build-subrepos.yml'\n\n  pull_request:\n    branches:\n      - master\n      - 5.*\n      - 4.x\n    paths:\n      - '.github/scripts/*.sh'\n      - '.github/workflows/*.yml'\n      - 'requirements/*.yml'\n      - 'MANIFEST.in'\n      - '**.bat'\n      - '**.py'\n      - '**.sh'\n      - '!installers-conda/**'\n      - '!.github/workflows/installers-conda.yml'\n      - '!.github/workflows/build-subrepos.yml'\n\n  workflow_dispatch:\n\nconcurrency:\n  group: test-files-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    # Use this to disable the workflow\n    # if: false\n    name: Linux - Py${{ matrix.PYTHON_VERSION }}\n    runs-on: ubuntu-latest\n    env:\n      CI: 'true'\n      USE_CONDA: 'true'\n      OS: 'linux'\n      PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}\n    strategy:\n      fail-fast: false\n      matrix:\n        PYTHON_VERSION: ['3.9', '3.10']\n    timeout-minutes: 30\n    steps:\n      - name: Checkout Pull Requests\n        if: github.event_name == 'pull_request'\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Checkout Push\n        if: github.event_name != 'pull_request'\n        uses: actions/checkout@v4\n      - name: Fetch branches\n        if: github.event_name == 'pull_request'\n        run: git fetch --prune --unshallow\n      - name: Install dependencies\n        shell: bash\n        run: |\n          sudo apt-get update --fix-missing\n          sudo apt-get install -qq pyqt5-dev-tools libxcb-xinerama0 xterm --fix-missing\n      - name: Cache conda\n        uses: actions/cache@v4\n        env:\n          # Increase this value to reset cache if requirements/*.yml has not changed\n          CACHE_NUMBER: 0\n        with:\n          path: ~/conda_pkgs_dir\n          key: ${{ runner.os }}-cacheconda-installconda-${{ matrix.PYTHON_VERSION }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements/*.yml') }}\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-cachepip-installconda-${{ env.CACHE_NUMBER }}-${{ hashFiles('setup.py') }}\n      - name: Create conda test environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: requirements/main.yml\n          environment-name: test\n          cache-downloads: true\n          create-args: python=${{ matrix.PYTHON_VERSION }}\n      - name: Install additional dependencies\n        shell: bash -l {0}\n        run: bash -l .github/scripts/install.sh\n      - name: Show test environment\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n      - name: Run file tests\n        shell: bash -l {0}\n        run: xvfb-run --auto-servernum .github/scripts/modules_test.sh || xvfb-run --auto-servernum .github/scripts/modules_test.sh\n      # Uncomment this to debug the CI job\n      # - name: Setup tmate session\n      #   if: ${{ failure() }}\n      #   uses: mxschmitt/action-tmate@v3\n", "state": "active", "repository": "spyder-ide/spyder"}
{"mined_at": "2024-07-15T15:38:55.370606", "created_at": "2020-04-10T18:27:30+02:00", "updated_at": "2022-06-16T22:06:56+02:00", "name": "Linux tests", "path": ".github/workflows/test-linux.yml", "contents": "name: Linux tests\n\non:\n  push:\n    branches:\n      - master\n      - 5.*\n      - 4.x\n    paths:\n      - '.github/scripts/*.sh'\n      - '.github/workflows/*.yml'\n      - 'requirements/*.yml'\n      - 'MANIFEST.in'\n      - '**.bat'\n      - '**.py'\n      - '**.sh'\n      - '!installers-conda/**'\n      - '!.github/workflows/installers-conda.yml'\n      - '!.github/workflows/build-subrepos.yml'\n\n  pull_request:\n    branches:\n      - master\n      - 5.*\n      - 4.x\n    paths:\n      - '.github/scripts/*.sh'\n      - '.github/workflows/*.yml'\n      - 'requirements/*.yml'\n      - 'MANIFEST.in'\n      - '**.bat'\n      - '**.py'\n      - '**.sh'\n      - '!installers-conda/**'\n      - '!.github/workflows/installers-conda.yml'\n      - '!.github/workflows/build-subrepos.yml'\n\n  workflow_dispatch:\n    inputs:\n      ssh:\n        # github_cli: gh workflow run test-linux.yml --ref <branch> -f ssh=true\n        description: 'Enable ssh debugging'\n        required: false\n        default: false\n        type: boolean\n\nconcurrency:\n  group: test-linux-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  ENABLE_SSH: ${{ github.event_name == 'workflow_dispatch' && inputs.ssh }}\n\njobs:\n  build:\n    # Use this to disable the workflow\n    # if: false\n    name: Linux - Py${{ matrix.PYTHON_VERSION }}, ${{ matrix.INSTALL_TYPE }}, ${{ matrix.TEST_TYPE }}\n    runs-on: ubuntu-20.04\n    env:\n      CI: 'true'\n      QTCONSOLE_TESTING: 'true'\n      CODECOV_TOKEN: \"56731c25-9b1f-4340-8b58-35739bfbc52d\"\n      OS: 'linux'\n      PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}\n      RUN_SLOW: ${{ matrix.TEST_TYPE == 'slow' }}\n      USE_CONDA: ${{ matrix.INSTALL_TYPE == 'conda' }}\n      USE_GDB: 'false'\n    strategy:\n      fail-fast: false\n      matrix:\n        INSTALL_TYPE: ['pip', 'conda']\n        PYTHON_VERSION: ['3.8', '3.10']\n        TEST_TYPE: ['fast', 'slow']\n        exclude:\n          # Only test Python 3.8 with pip because Conda-forge will drop it soon\n          - INSTALL_TYPE: 'conda'\n            PYTHON_VERSION: '3.8'\n    timeout-minutes: 90\n    steps:\n      - name: Setup Remote SSH Connection\n        if: env.ENABLE_SSH == 'true'\n        uses: mxschmitt/action-tmate@v3\n        timeout-minutes: 60\n        with:\n          detached: true\n      - name: Checkout Pull Requests\n        if: github.event_name == 'pull_request'\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Checkout Push\n        if: github.event_name != 'pull_request'\n        uses: actions/checkout@v4\n      - name: Fetch branches\n        run: git fetch --prune --unshallow\n      - name: Install dependencies\n        shell: bash\n        run: |\n          sudo apt-get update --fix-missing\n          sudo apt-get install -qq pyqt5-dev-tools libxcb-xinerama0 xterm --fix-missing\n      - name: Cache conda\n        uses: actions/cache@v4\n        env:\n          # Increase this value to reset cache if requirements/*.txt has not changed\n          CACHE_NUMBER: 0\n        with:\n          path: ~/conda_pkgs_dir\n          key: ${{ runner.os }}-cacheconda-install${{ matrix.INSTALL_TYPE }}-${{ matrix.PYTHON_VERSION }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements/*.yml') }}\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-cachepip-install${{ matrix.INSTALL_TYPE }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('setup.py') }}\n      - name: Create conda test environment\n        if: env.USE_CONDA == 'true'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: requirements/main.yml\n          environment-name: test\n          cache-downloads: true\n          create-args: python=${{ matrix.PYTHON_VERSION }}\n      - name: Create pip test environment\n        if: env.USE_CONDA != 'true'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: test\n          cache-downloads: true\n          create-args: python=${{ matrix.PYTHON_VERSION }}\n          condarc: |\n            channels:\n              - conda-forge\n      - name: Install additional dependencies\n        shell: bash -l {0}\n        run: bash -l .github/scripts/install.sh\n      - name: Show conda test environment\n        if: env.USE_CONDA == 'true'\n        shell: bash -l {0}\n        run: |\n          micromamba info\n          micromamba list\n      - name: Show pip test environment\n        if: env.USE_CONDA != 'true'\n        shell: bash -l {0}\n        run: |\n          micromamba info\n          micromamba list\n          pip list\n      - name: Run manifest checks\n        shell: bash -l {0}\n        run: check-manifest\n      - name: Run tests with gdb\n        if: env.USE_GDB == 'true'\n        shell: bash -l {0}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: xvfb-run --auto-servernum gdb -return-child-result -batch -ex r -ex py-bt --args python runtests.py -s\n      - name: Run tests\n        shell: bash -l {0}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          rm -f pytest_log.txt  # Must remove any log file from a previous run\n          .github/scripts/run_tests.sh || \\\n          .github/scripts/run_tests.sh || \\\n          .github/scripts/run_tests.sh || \\\n          .github/scripts/run_tests.sh\n      - name: Coverage\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: false\n          verbose: true\n", "state": "active", "repository": "spyder-ide/spyder"}
{"mined_at": "2024-07-15T15:38:56.465026", "created_at": "2020-04-10T18:27:31+02:00", "updated_at": "2022-06-16T22:06:56+02:00", "name": "Mac tests", "path": ".github/workflows/test-mac.yml", "contents": "name: Mac tests\n\non:\n  push:\n    branches:\n      - master\n      - 5.*\n      - 4.x\n    paths:\n      - '.github/scripts/*.sh'\n      - '.github/workflows/*.yml'\n      - 'requirements/*.yml'\n      - 'MANIFEST.in'\n      - '**.bat'\n      - '**.py'\n      - '**.sh'\n      - '!installers-conda/**'\n      - '!.github/workflows/installers-conda.yml'\n      - '!.github/workflows/build-subrepos.yml'\n\n  pull_request:\n    branches:\n      - master\n      - 5.*\n      - 4.x\n    paths:\n      - '.github/scripts/*.sh'\n      - '.github/workflows/*.yml'\n      - 'requirements/*.yml'\n      - 'MANIFEST.in'\n      - '**.bat'\n      - '**.py'\n      - '**.sh'\n      - '!installers-conda/**'\n      - '!.github/workflows/installers-conda.yml'\n      - '!.github/workflows/build-subrepos.yml'\n\n  workflow_dispatch:\n    inputs:\n      ssh:\n        # github_cli: gh workflow run test-mac.yml --ref <branch> -f ssh=true\n        description: 'Enable ssh debugging'\n        required: false\n        default: false\n        type: boolean\n\nconcurrency:\n  group: test-mac-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  ENABLE_SSH: ${{ github.event_name == 'workflow_dispatch' && inputs.ssh }}\n\njobs:\n  build:\n    # Use this to disable the workflow\n    # if: false\n    name: Mac - Py${{ matrix.PYTHON_VERSION }}, ${{ matrix.INSTALL_TYPE }}, ${{ matrix.TEST_TYPE }}\n    runs-on: macos-12\n    env:\n      CI: 'true'\n      QTCONSOLE_TESTING: 'true'\n      CODECOV_TOKEN: \"56731c25-9b1f-4340-8b58-35739bfbc52d\"\n      OS: 'macos'\n      PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}\n      RUN_SLOW: ${{ matrix.TEST_TYPE == 'slow' }}\n      USE_CONDA: ${{ matrix.INSTALL_TYPE == 'conda' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        INSTALL_TYPE: ['conda']\n        PYTHON_VERSION: ['3.9']\n        TEST_TYPE: ['fast', 'slow']\n    timeout-minutes: 90\n    steps:\n      - name: Setup Remote SSH Connection\n        if: env.ENABLE_SSH == 'true'\n        uses: mxschmitt/action-tmate@v3\n        timeout-minutes: 60\n        with:\n          detached: true\n      - name: Checkout Pull Requests\n        if: github.event_name == 'pull_request'\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Checkout Push\n        if: github.event_name != 'pull_request'\n        uses: actions/checkout@v4\n      - name: Fetch branches\n        run: git fetch --prune --unshallow\n      - name: Cache conda\n        uses: actions/cache@v4\n        env:\n          # Increase this value to reset cache if requirements/*.txt has not changed\n          CACHE_NUMBER: 0\n        with:\n          path: ~/conda_pkgs_dir\n          key: ${{ runner.os }}-cacheconda-install${{ matrix.INSTALL_TYPE }}-${{ matrix.PYTHON_VERSION }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements/*.yml') }}\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/Library/Caches/pip\n          key: ${{ runner.os }}-cachepip-install${{ matrix.INSTALL_TYPE }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('setup.py') }}\n      - name: Create conda test environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: requirements/main.yml\n          environment-name: test\n          cache-downloads: true\n          create-args: python=${{ matrix.PYTHON_VERSION }}\n      - name: Install additional dependencies\n        shell: bash -l {0}\n        run: bash -l .github/scripts/install.sh\n      - name: Show test environment\n        shell: bash -l {0}\n        run: |\n          micromamba info\n          micromamba list\n      - name: Run manifest checks\n        shell: bash -l {0}\n        run: check-manifest\n      - name: Run tests\n        shell: bash -l {0}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          rm -f pytest_log.txt  # Must remove any log file from a previous run\n          .github/scripts/run_tests.sh || \\\n          .github/scripts/run_tests.sh || \\\n          .github/scripts/run_tests.sh || \\\n          .github/scripts/run_tests.sh\n      - name: Coverage\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: false\n          verbose: true\n", "state": "active", "repository": "spyder-ide/spyder"}
{"mined_at": "2024-07-15T15:38:57.654162", "created_at": "2020-04-10T18:27:31+02:00", "updated_at": "2022-06-16T22:06:56+02:00", "name": "Win tests", "path": ".github/workflows/test-win.yml", "contents": "name: Win tests\n\non:\n  push:\n    branches:\n      - master\n      - 5.*\n      - 4.x\n    paths:\n      - '.github/scripts/*.sh'\n      - '.github/workflows/*.yml'\n      - 'requirements/*.yml'\n      - 'MANIFEST.in'\n      - '**.bat'\n      - '**.py'\n      - '**.sh'\n      - '!installers-conda/**'\n      - '!.github/workflows/installers-conda.yml'\n      - '!.github/workflows/build-subrepos.yml'\n\n  pull_request:\n    branches:\n      - master\n      - 5.*\n      - 4.x\n    paths:\n      - '.github/scripts/*.sh'\n      - '.github/workflows/*.yml'\n      - 'requirements/*.yml'\n      - 'MANIFEST.in'\n      - '**.bat'\n      - '**.py'\n      - '**.sh'\n      - '!installers-conda/**'\n      - '!.github/workflows/installers-conda.yml'\n      - '!.github/workflows/build-subrepos.yml'\n\n  workflow_dispatch:\n    inputs:\n      ssh:\n        # github_cli: gh workflow run test-win.yml --ref <branch> -f ssh=true\n        description: 'Enable ssh debugging'\n        required: false\n        default: false\n        type: boolean\n\nconcurrency:\n  group: test-win-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  ENABLE_SSH: ${{ github.event_name == 'workflow_dispatch' && inputs.ssh }}\n\njobs:\n  build:\n    # Use this to disable the workflow\n    # if: false\n    name: Windows - Py${{ matrix.PYTHON_VERSION }}, ${{ matrix.INSTALL_TYPE }}, ${{ matrix.TEST_TYPE }}\n    runs-on: windows-latest\n    env:\n      CI: 'true'\n      QTCONSOLE_TESTING: 'true'\n      CODECOV_TOKEN: \"56731c25-9b1f-4340-8b58-35739bfbc52d\"\n      OS: 'win'\n      PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}\n      RUN_SLOW: ${{ matrix.TEST_TYPE == 'slow' }}\n      USE_CONDA: ${{ matrix.INSTALL_TYPE == 'conda' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        INSTALL_TYPE: ['pip', 'conda']\n        PYTHON_VERSION: ['3.9']\n        TEST_TYPE: ['fast', 'slow']\n    timeout-minutes: 90\n    steps:\n      - name: Setup Remote SSH Connection\n        if: env.ENABLE_SSH == 'true'\n        uses: mxschmitt/action-tmate@v3\n        timeout-minutes: 60\n        with:\n          detached: true\n      - name: Checkout Pull Requests\n        if: github.event_name == 'pull_request'\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Checkout Push\n        if: github.event_name != 'pull_request'\n        uses: actions/checkout@v4\n      - name: Fetch branches\n        run: git fetch --prune --unshallow\n      - name: Cache conda\n        uses: actions/cache@v4\n        env:\n          # Increase this value to reset cache if requirements/*.txt has not changed\n          CACHE_NUMBER: 0\n        with:\n          path: ~/conda_pkgs_dir\n          key: ${{ runner.os }}-cacheconda-install${{ matrix.INSTALL_TYPE }}-${{ matrix.PYTHON_VERSION }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements/*.yml') }}\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~\\AppData\\Local\\pip\\Cache\n          key: ${{ runner.os }}-cachepip-install${{ matrix.INSTALL_TYPE }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('setup.py') }}\n      - name: Create conda test environment\n        if: env.USE_CONDA == 'true'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: requirements/main.yml\n          environment-name: test\n          cache-downloads: true\n          create-args: python=${{ matrix.PYTHON_VERSION }}\n      - name: Create pip test environment\n        if: env.USE_CONDA != 'true'\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: test\n          cache-downloads: true\n          create-args: python=${{ matrix.PYTHON_VERSION }}\n          condarc: |\n            channels:\n              - conda-forge\n      - name: Install additional dependencies\n        shell: bash -l {0}\n        run: bash -l .github/scripts/install.sh\n      - name: Show conda test environment\n        if: env.USE_CONDA == 'true'\n        shell: bash -l {0}\n        run: |\n          micromamba info\n          micromamba list\n      - name: Show pip test environment\n        if: env.USE_CONDA != 'true'\n        shell: bash -l {0}\n        run: |\n          micromamba info\n          micromamba list\n          pip list\n      - name: Run manifest checks\n        shell: bash -l {0}\n        run: check-manifest\n      - name: Run tests\n        shell: bash -l {0}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          rm -f pytest_log.txt  # Must remove any log file from a previous run\n          .github/scripts/run_tests.sh || \\\n          .github/scripts/run_tests.sh || \\\n          .github/scripts/run_tests.sh || \\\n          .github/scripts/run_tests.sh\n      - name: Coverage\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: false\n          verbose: true\n", "state": "active", "repository": "spyder-ide/spyder"}
{"mined_at": "2024-07-15T15:38:59.906946", "created_at": "2020-12-18T07:35:41+01:00", "updated_at": "2020-12-18T07:35:41+01:00", "name": "doccano CI", "path": ".github/workflows/ci.yml", "contents": "name: doccano CI\n\non: [push, pull_request]\n\njobs:\n  backend:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./backend\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry\n          poetry install\n      - name: Run migrations\n        run: |\n          poetry run task wait_for_db\n          poetry run task migrate\n      - name: Lint with flake8\n        run: |\n          poetry run task flake8\n      - name: Lint with isort\n        run: |\n          poetry run task isort\n      - name: Black\n        run: |\n          poetry run task black\n      - name: mypy\n        run: |\n          poetry run task mypy\n      - name: Run tests\n        run: |\n          poetry run task test\n\n  frontend:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./frontend\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v2\n        with:\n          node-version: \"16\"\n      - name: Install Yarn\n        run: npm install -g yarn\n      - name: Install npm modules\n        run: yarn install\n      - name: Lint\n        run: yarn lint\n      - name: Prettier\n        run: yarn lint:prettier\n\n  docker-lint:\n    runs-on: ubuntu-latest\n    container: hadolint/hadolint:latest-debian\n    defaults:\n      run:\n        working-directory: ./docker\n    steps:\n      - uses: actions/checkout@v2\n      - name: hadolint\n        run: hadolint ./Dockerfile*\n", "state": "active", "repository": "doccano/doccano"}
{"mined_at": "2024-07-15T15:39:01.147603", "created_at": "2020-10-02T02:35:21+02:00", "updated_at": "2020-10-02T02:35:21+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 3 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python', 'javascript']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file. \n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "doccano/doccano"}
{"mined_at": "2024-07-15T15:39:02.255130", "created_at": "2021-03-19T07:41:28+01:00", "updated_at": "2021-03-19T07:41:28+01:00", "name": ".github/workflows/issue-comment.yml", "path": ".github/workflows/issue-comment.yml", "contents": "on:\n  issues:\n    types: [opened]\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v3\n        if: contains(github.event.issue.body, 'Environment') == false\n        with:\n          script: |\n            github.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Would you write your environment? Thank you!'\n            })\n", "state": "active", "repository": "doccano/doccano"}
{"mined_at": "2024-07-15T15:39:03.273938", "created_at": "2020-12-18T08:11:50+01:00", "updated_at": "2020-12-18T08:11:50+01:00", "name": "Publish docs via GitHub Pages", "path": ".github/workflows/mkdocs-deployment.yml", "contents": "name: Publish docs via GitHub Pages\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Deploy docs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout main\n        uses: actions/checkout@v2\n      - name: Deploy docs\n        uses: mhausenblas/mkdocs-deploy-gh-pages@1.16\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          CONFIG_FILE: docs/mkdocs.yml\n          REQUIREMENTS: docs/requirements.txt\n", "state": "active", "repository": "doccano/doccano"}
{"mined_at": "2024-07-15T15:39:04.414264", "created_at": "2020-12-23T03:31:58+01:00", "updated_at": "2020-12-23T03:31:58+01:00", "name": "ci", "path": ".github/workflows/publish-image.yml", "contents": "name: ci\n\non:\n  schedule:\n    - cron: '0 10 * * *' # everyday at 10am\n  push:\n    tags:\n      - 'v*.*.*'\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: doccano/doccano\n          tag-semver: |\n            {{version}}\n            {{major}}.{{minor}}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to DockerHub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          file: ./docker/Dockerfile\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n\n      - name: Build a backend image and push\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          file: ./docker/Dockerfile.prod\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: doccano/doccano:backend\n          labels: ${{ steps.docker_meta.outputs.labels }}\n      \n      - name: Build a frontend image and push\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          file: ./docker/Dockerfile.nginx\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: doccano/doccano:frontend\n          labels: ${{ steps.docker_meta.outputs.labels }}\n", "state": "active", "repository": "doccano/doccano"}
{"mined_at": "2024-07-15T15:39:05.642053", "created_at": "2020-12-07T07:26:01+01:00", "updated_at": "2020-12-07T07:26:01+01:00", "name": "Upload Python Package", "path": ".github/workflows/pypi-publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Preparation\n        run: |\n          mkdir backend/client\n      - name: Fix up git URLs\n        run: echo -e '[url \"https://github.com/\"]\\n  insteadOf = \"git@github.com:\"' >> ~/.gitconfig\n      - name: Use Node.js\n        uses: actions/setup-node@v1\n        with:\n          node-version: '16.x'\n      - name: Build with Node.js\n        run: |\n          yarn install\n          yarn build\n          cp -r dist ../backend/client/\n        working-directory: ./frontend\n        env:\n          PUBLIC_PATH: '/static/_nuxt/'\n      - name: Setup Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry poetry-dynamic-versioning\n          poetry install\n        working-directory: ./backend\n      - name: collectstatic\n        run: |\n          poetry run task collectstatic\n        working-directory: ./backend\n      - name: Build a binary wheel and a source tarball\n        run: |\n          sed -e \"s/, from = \\\"..\\\"//g\" backend/pyproject.toml > pyproject.toml\n          poetry build\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: ${{ secrets.PYPI_USERNAME }}\n          password: ${{ secrets.PYPI_PASSWORD }}\n          packages_dir: ./dist/\n", "state": "active", "repository": "doccano/doccano"}
{"mined_at": "2024-07-15T15:39:06.664638", "created_at": "2022-09-06T09:42:47+02:00", "updated_at": "2022-09-07T03:15:41+02:00", "name": "Test installation and doccano commands", "path": ".github/workflows/test-installation.yml", "contents": "name: Test installation and doccano commands\n\non:\n  schedule:\n    - cron: \"15 22 * * *\"\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-latest, ubuntu-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Enabling JSON1 extension on SQLite\n      if: ${{ startsWith(matrix.os, 'windows') && matrix.python-version == '3.8' }}\n      shell: bash\n      run: |\n        export VERSION=`python -V | cut -f2 -d \" \"`\n        curl -LO https://www.sqlite.org/2022/sqlite-dll-win64-x64-3390300.zip\n        unzip sqlite-dll-win64-x64-3390300.zip\n        mv sqlite3.dll /c/hostedtoolcache/windows/Python/$VERSION/x64/DLLs/\n    - name: Test installation\n      run: pip install doccano\n    - name: Test doccano init command\n      run: doccano init\n    - name: Test doccano createuser command\n      run: doccano createuser --username admin --password pass\n", "state": "active", "repository": "doccano/doccano"}
{"mined_at": "2024-07-15T15:39:07.774265", "created_at": "2022-01-07T07:24:44+01:00", "updated_at": "2022-01-07T07:24:44+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "doccano/doccano"}
{"mined_at": "2024-07-15T15:39:10.966915", "created_at": "2020-01-01T23:30:57+01:00", "updated_at": "2020-01-03T10:01:33+01:00", "name": "Nuitka tests", "path": ".github/workflows/testing.yml", "contents": "name: Nuitka tests\n# makes little sense, spell-checker: disable\non:\n  pull_request:\n    branches:\n      - develop\n  push:\n    branches:\n      - main\n      - develop\n      - factory\n      - release/**\n      - hotfix/**\n\npermissions:\n  contents: read\n\njobs:\n  linux:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python_version:\n            - '3.7'\n            - '3.8'\n            - '3.9'\n            - '3.10'\n            - '3.11'\n            - '3.12'\n    name: Ubuntu Python ${{ matrix.python_version }}\n    steps:\n      - name: 🛎️ Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: 🐍 Use Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: 🧳 Install Nuitka and dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install patchelf gdb ccache libfuse2\n          python -m pip install --no-python-version-warning --disable-pip-version-check -r requirements-devel.txt\n          python -m pip install --no-python-version-warning --disable-pip-version-check .\n\n      - name: Verbose scons output in compilation\n        run: |\n          python -m nuitka --module --show-scons --run --report=compilation-report-module.xml --experimental=debug-report-traceback tests/basics/EmptyModuleTest.py\n          python -m nuitka --show-scons --run --report=compilation-report-exe.xml --experimental=debug-report-traceback tests/basics/EmptyModuleTest.py\n\n      - name: Archive compilation reports for empty modules\n        uses: actions/upload-artifact@v3\n        with:\n          name: compilation-reports\n          path: |\n            *.xml\n\n      # This can be used to ssh into GitHub actions if debugging is needed.\n      # - uses: actions/checkout@v4\n      # - name: Setup upterm session\n      #   uses: lhotari/action-upterm@v1\n      #   with:\n      #     ## limits ssh access and adds the ssh public keys of the listed GitHub users\n      #     limit-access-to-users: kayhayen\n\n      - name: Run Nuitka test suite\n        run: |\n          python -m nuitka --version\n          env | sort\n          python ./tests/run-tests --no-other-python --skip-reflection-test --skip-all-cpython-tests --assume-yes-for-downloads\n\n      - name: PyLint on Nuitka source code\n        run: |\n          python ./bin/check-nuitka-with-pylint\n        if: matrix.python_version == '3.9'\n\n      - name: RestLint on Nuitka source code\n        run: |\n          python ./bin/check-nuitka-with-restlint\n        if: matrix.python_version == '3.9'\n\n      - name: YamlLint on Nuitka source code\n        run: |\n          python ./bin/check-nuitka-with-yamllint\n        if: matrix.python_version == '3.9'\n\n      - name: Codespell on Nuitka source code\n        run: |\n          python ./bin/check-nuitka-with-codespell\n        if: matrix.python_version == '3.9'\n\n      - name: Auto-format check on Nuitka source code\n        run: |\n          # Install clang-format that matches what we use in VS code.\n          wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -\n          sudo apt-get install software-properties-common\n          sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main'\n          sudo apt-get update\n          sudo apt-get install clang-format-19\n\n          python ./bin/autoformat-nuitka-source --check-only\n        if: matrix.python_version == '3.9'\n\n  mac-python3:\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python_version:\n            - '3.9'\n            - '3.10'\n            - '3.11'\n            - '3.12'\n    name: macOS Python ${{ matrix.python_version }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Use Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Verbose installation output for Python\n        run: |\n          set -x\n          which python\n          otool -L $(which python)\n          otool -l $(which python)\n          ls -lR $(dirname $(dirname $(which python)))\n\n      - name: 🧳 Install Nuitka and dependencies\n        run: |\n          pip install --no-python-version-warning --disable-pip-version-check -r requirements-devel.txt\n          pip install --no-python-version-warning --disable-pip-version-check .\n\n      - name: Verbose scons output in compilation\n        run: |\n          python -m nuitka --module --show-scons --run --assume-yes-for-downloads tests/basics/EmptyModuleTest.py\n          python -m nuitka --show-scons --run --assume-yes-for-downloads tests/basics/EmptyModuleTest.py\n\n      - name: Run Nuitka test suite\n        run: |\n          python -m nuitka --version\n          env | sort\n          python ./tests/run-tests --no-other-python --skip-reflection-test --skip-all-cpython-tests\n\n  windows:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python_version:\n            - '3.7'\n            - '3.8'\n            - '3.9'\n            - '3.10'\n            - '3.11'\n            - '3.12'\n    name: Windows Python ${{ matrix.python_version }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: ilammy/msvc-dev-cmd@v1\n\n      - name: Use Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: 🧳 Install Nuitka and dependencies\n        run: |\n          pip install --no-python-version-warning --disable-pip-version-check -r requirements-devel.txt\n          pip install --no-python-version-warning --disable-pip-version-check .\n\n      - name: Verbose scons output in compilation\n        run: |\n          python -m nuitka --module --show-scons --run --assume-yes-for-downloads tests\\basics\\EmptyModuleTest.py\n          python -m nuitka --show-scons --run tests\\basics\\EmptyModuleTest.py\n\n      - name: Run Nuitka test suite\n        run: |\n          Get-ChildItem env:\n          python -m nuitka --version\n          python .\\tests\\run-tests --no-other-python --no-debug --skip-reflection-test --skip-all-cpython-tests --assume-yes-for-downloads\n", "state": "active", "repository": "nuitka/nuitka"}
{"mined_at": "2024-07-15T15:39:13.219080", "created_at": "2021-03-17T07:46:40+01:00", "updated_at": "2024-02-09T01:28:55+01:00", "name": "PyPI Release", "path": ".github/workflows/pypi-release.yml", "contents": "name: PyPI Release\n\n# https://help.github.com/en/actions/reference/events-that-trigger-workflows\non:  # Trigger the workflow on push or pull request, but only for the master branch\n  push:\n    branches: [main]\n  release:\n    types: [published]\n\njobs:\n  build-sdist:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@master\n    - uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n\n    - name: Install dependencies\n      run: python -m pip install --user --upgrade setuptools build\n    - name: Build source\n      run: |\n        python -m build --outdir dist/\n        ls -lh dist/\n\n    - uses: actions/upload-artifact@v2\n      with:\n        name: pypi-packages-${{ github.sha }}\n        path: dist\n\n  upload-packages:\n    runs-on: ubuntu-20.04\n    needs: build-sdist\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/download-artifact@v2\n      with:\n        name: pypi-packages-${{ github.sha }}\n        path: dist\n    - run: ls -lh dist/\n\n    - name: Upload to release\n      uses: AButler/upload-release-assets@v2.0\n      if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n      with:\n        files: 'dist/*'\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n\n  publish-pypi:\n    runs-on: ubuntu-20.04\n    needs: build-sdist\n    if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n    steps:\n    - uses: actions/checkout@master\n    - uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - uses: actions/download-artifact@v2\n      with:\n        name: pypi-packages-${{ github.sha }}\n        path: dist\n    - run: ls -l dist/\n\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@v1.4.1\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "kornia/kornia"}
{"mined_at": "2024-07-15T15:39:14.246344", "created_at": "2021-12-28T06:23:00+01:00", "updated_at": "2021-12-28T06:23:00+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "kornia/kornia"}
{"mined_at": "2024-07-15T15:39:15.284400", "created_at": "2022-11-17T14:07:14+01:00", "updated_at": "2024-02-07T11:01:34+01:00", "name": "Tests on CPU (PR)", "path": ".github/workflows/pr_test_cpu.yml", "contents": "name: Tests on CPU (PR)\n\non:\n  push:\n    branches: [test-me-*]\n  pull_request:\n    branches: [main]\n    types: [opened, reopened, synchronize, ready_for_review]\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests-cpu:\n    strategy:\n      fail-fast: true\n      matrix:\n        os: ['Ubuntu-latest', 'Windows-latest']\n        pytorch-dtype: ['float32', 'float64']\n\n    uses: kornia/workflows/.github/workflows/tests.yml@v1.10.0\n    with:\n      os: ${{ matrix.os }}\n      python-version: '[\"3.8\", \"3.12\"]'\n      pytorch-version: '[\"1.9.1\", \"2.3.1\"]'\n      pytorch-dtype: ${{ matrix.pytorch-dtype }}\n\n  tests-cpu-macos:\n    uses: kornia/workflows/.github/workflows/tests.yml@v1.10.0\n    with:\n      os: 'MacOS-latest'\n      python-version: '[\"3.8\", \"3.12\"]'\n      pytorch-dtype: 'float32'\n\n\n  coverage:\n    uses: kornia/workflows/.github/workflows/coverage.yml@v1.10.0\n\n  typing:\n    uses: kornia/workflows/.github/workflows/mypy.yml@v1.10.0\n\n  tutorials:\n    uses: kornia/workflows/.github/workflows/tutorials.yml@v1.10.0\n\n  docs:\n    uses: kornia/workflows/.github/workflows/docs.yml@v1.10.0\n    with:\n      python-version: \"3.11\"\n\n  collector:\n    needs: [coverage, tests-cpu, tutorials, typing, docs]\n    if: always()\n    runs-on: ubuntu-latest\n    steps:\n    - name: check for failures\n      if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')\n      run: echo job failed && exit 1\n\n  tests-nightly:\n    if:  contains(github.event.pull_request.labels.*.name, 'nightly')\n    name: ${{ matrix.os }} - torch-nightly, ${{ matrix.pytorch-dtype }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: ['Ubuntu-latest', 'Windows-latest'] #, 'MacOS-latest'] add it when https://github.com/pytorch/pytorch/pull/89262 be merged\n        pytorch-dtype: ['float32', 'float64']\n\n    uses: kornia/workflows/.github/workflows/tests.yml@v1.10.0\n    with:\n      os: ${{ matrix.os }}\n      pytorch-version: '[\"nightly\"]'\n      pytorch-dtype: ${{ matrix.pytorch-dtype }}\n", "state": "active", "repository": "kornia/kornia"}
{"mined_at": "2024-07-15T15:39:16.357691", "created_at": "2022-11-22T08:10:12+01:00", "updated_at": "2024-02-08T05:00:54+01:00", "name": "Tests on CPU (scheduled)", "path": ".github/workflows/scheduled_test_cpu.yml", "contents": "name: Tests on CPU (scheduled)\n\non:\n  push:\n    branches: [main, test-me-*]\n  schedule:\n    - cron: \"0 4 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests-cpu-ubuntu:\n    strategy:\n      fail-fast: false\n      matrix:\n        # os: ['Ubuntu-latest', 'Windows-latest', 'MacOS-latest']\n        pytorch-dtype: ['float32', 'float64']\n\n    uses: kornia/workflows/.github/workflows/tests.yml@v1.10.0\n    with:\n      os: 'Ubuntu-latest'\n      python-version: '[\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]'\n      pytorch-version: '[\"1.9.1\", \"1.10.2\", \"1.11.0\", \"1.12.1\", \"1.13.1\", \"2.0.1\", \"2.1.2\", \"2.2.2\", \"2.3.1\"]'\n      pytorch-dtype: ${{ matrix.pytorch-dtype }}\n      pytest-extra: '--runslow'\n\n\n\n  tests-cpu-windows:\n    strategy:\n      fail-fast: true\n      matrix:\n        pytorch-dtype: ['float32', 'float64']\n\n    uses: kornia/workflows/.github/workflows/tests.yml@v1.10.0\n    with:\n      os: 'Windows-latest'\n      python-version: '[\"3.12\"]'\n      pytorch-version: '[\"1.9.1\", \"2.3.1\"]'\n      pytorch-dtype: ${{ matrix.pytorch-dtype }}\n\n  tests-cpu-mac:\n    strategy:\n      fail-fast: true\n      matrix:\n        pytorch-dtype: ['float32', 'float64']\n\n    uses: kornia/workflows/.github/workflows/tests.yml@v1.10.0\n    with:\n      os: 'MacOS-latest'\n      pytorch-dtype: ${{ matrix.pytorch-dtype }}\n\n  coverage:\n    uses: kornia/workflows/.github/workflows/coverage.yml@v1.10.0\n\n  typing:\n    uses: kornia/workflows/.github/workflows/mypy.yml@v1.10.0\n\n  tutorials:\n    uses: kornia/workflows/.github/workflows/tutorials.yml@v1.10.0\n\n  docs:\n    uses: kornia/workflows/.github/workflows/docs.yml@v1.10.0\n    with:\n      python-version: \"3.11\"\n", "state": "active", "repository": "kornia/kornia"}
{"mined_at": "2024-07-15T15:39:17.365572", "created_at": "2023-06-14T07:40:24+02:00", "updated_at": "2023-06-14T07:40:24+02:00", "name": "Test PyPI package", "path": ".github/workflows/scheduled_test_pypi_package.yml", "contents": "name: Test PyPI package\n\non:\n  schedule:\n    - cron:  '0 4 * * *'\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n      - name: Checkout kornia\n        uses: actions/checkout@v3\n\n      - name: Config Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Pip install Kornia\n        run: pip install kornia\n\n      - name: Check dependencies and kornia version\n        run: |\n          python -c \"import torch;print('Pytorch version: ', torch.__version__)\"\n          python -c \"import kornia;print('Kornia version: ', kornia.__version__)\"\n", "state": "active", "repository": "kornia/kornia"}
{"mined_at": "2024-07-15T15:39:18.359947", "created_at": "2024-01-09T11:42:09+01:00", "updated_at": "2024-01-09T11:42:09+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "kornia/kornia"}
{"mined_at": "2024-07-15T15:39:19.347311", "created_at": "2024-02-03T17:15:25+01:00", "updated_at": "2024-02-03T17:15:25+01:00", "name": "Benchmark (PR)", "path": ".github/workflows/pr_benchmarks.yml", "contents": null, "state": "active", "repository": "kornia/kornia"}
{"mined_at": "2024-07-15T15:39:21.353753", "created_at": "2020-03-13T16:46:08+01:00", "updated_at": "2022-06-23T22:49:18+02:00", "name": "StaleBot", "path": ".github/workflows/stale.yml", "contents": "---\n# Reference: https://github.com/actions/stale#all-options\n\nname: StaleBot\n\non:\n  workflow_dispatch: # https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#defining-inputs-for-manually-triggered-workflows\n  # schedule:\n  # - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v5\n        with:\n          # General\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          operations-per-run: 1000\n          days-before-stale: 30\n          days-before-close: 60\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n\n          # Scope\n          only-pr-labels: community\n          only-issue-labels: community\n          exempt-issue-labels: core-team, core-engineering-queue, documentation, triage, \"help wanted\", \"DevRel Triage\"\n          # exempt-pr-labels: \"example label\"  # This needs to be reviewed if we move to staling PRs\n\n          # Issue messages\n          stale-issue-message: >\n            Is this issue still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?\n\n\n            This issue has been automatically marked as stale because it has not had recent activity.\n\n\n            It will be closed if no further activity occurs. Thank you for your contributions 🙇\n\n          close-issue-message: >\n            We are closing this issue due to inactivity.\n\n\n            This action is done automatically by StaleBot.\n\n\n            Please validate this is still an issue, and create a new issue with up-to-date information if any problem presists 🙂\n\n\n            Please reach out if you need anything further. 🙂\n\n          # PR Messages\n          stale-pr-message: >\n            Is this PR still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?\n\n\n            This issue has been automatically marked as stale because it has not had recent activity.\n\n\n            It will be closed if no further activity occurs. Thank you for your contributions 🙇\n\n          close-pr-message: >\n            We are closing this PR due to inacitvity.\n\n\n            This action is done automatically by StaleBot.\n\n\n            Please reach out if you need anything further. 🙂\n", "state": "active", "repository": "great-expectations/great_expectations"}
{"mined_at": "2024-07-15T15:39:22.515792", "created_at": "2021-12-13T20:10:31+01:00", "updated_at": "2021-12-13T20:10:31+01:00", "name": "Test PEP 273 compatibility", "path": ".github/workflows/test-pep273-compatibility.yml", "contents": "name: Test PEP 273 compatibility\n\non:\n  pull_request_target:\n    types:\n      - opened\n    branches:\n      - \"main\"\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  run:\n    name: \"[${{matrix.type}}, ${{matrix.os}}, py${{matrix.python}}]\"\n    runs-on: \"${{ matrix.os }}\"\n    strategy:\n      matrix:\n        python: [3.7, 3.8, 3.9]\n        os: [ubuntu-20.04, windows-2019]\n        type: [directory, zip]\n\n      fail-fast: false\n\n    steps:\n      - name: Support longpaths\n        if: runner.os == 'Windows'\n        run: git config --system core.longpaths true\n\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python}}\n\n      - name: Setup base system\n        run: |\n          pip install --upgrade wheel setuptools\n          pip install -r requirements.txt\n\n      - name: Install GE from sources into extra_libraries_dir\n        run: |\n          pip install . -t extra_libraries_dir\n\n      - name: Remove sources\n        shell: bash\n        run: |\n          rm -r ./great_expectations\n\n      - name: Generate extra_libraries.zip (Win)\n        if: |\n          runner.os == 'Windows' &&\n          matrix.type == 'zip'\n        run: |\n          Compress-Archive -Path extra_libraries_dir\\* -DestinationPath extra_libraries.zip\n\n      - name: Generate extra_libraries.zip (Linux)\n        if: |\n          runner.os == 'Linux' &&\n          matrix.type == 'zip'\n        run: |\n          sudo apt-get install zip\n          (cd extra_libraries_dir && zip --quiet -r ../extra_libraries.zip ./)\n\n      - name: Remove the directory extra_libraries_dir\n        if: matrix.type == 'zip'\n        shell: bash\n        run: rm -r ./extra_libraries_dir\n\n      - name: Generate a $PYTHONPATH that includes the extra_libraries ${{matrix.type}} (to be used in the next step)\n        id: pythonpath-step\n        shell: bash\n        run: python -c 'import sys,os; print(\"::set-output name=pythonpath::\"+os.pathsep.join(sys.path+([\"extra_libraries.zip\"] if \"${{matrix.type}}\"==\"zip\" else [\"extra_libraries_dir\"])))'\n\n      - name: Use Great Expectations in a script, when the GE library is installed in a ${{matrix.type}}\n        env:\n          PYTHONPATH: ${{steps.pythonpath-step.outputs.pythonpath}}\n        run: |\n          python ./tests/integration/common_workflows/simple_build_data_docs.py\n", "state": "active", "repository": "great-expectations/great_expectations"}
{"mined_at": "2024-07-15T15:39:23.623708", "created_at": "2022-06-02T19:53:50+02:00", "updated_at": "2022-12-06T19:49:03+01:00", "name": "CodeSee", "path": ".github/workflows/codesee-arch-diagram.yml", "contents": "on:\n  push:\n    branches:\n      - develop\n  pull_request_target:\n    types: [opened, synchronize, reopened]\n\nname: CodeSee\n\npermissions: read-all\n\njobs:\n  codesee:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    name: Analyze the repo with CodeSee\n    steps:\n      - uses: Codesee-io/codesee-action@v2\n        with:\n          codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}\n", "state": "active", "repository": "great-expectations/great_expectations"}
{"mined_at": "2024-07-15T15:39:24.790256", "created_at": "2023-03-17T14:26:13+01:00", "updated_at": "2023-03-17T22:17:56+01:00", "name": "PR Title Checker", "path": ".github/workflows/pr-title-checker.yml", "contents": "# Validate that PR titles are prefixed with one of our accepted labels\nname: \"PR Title Checker\"\non:\n  pull_request:\n    types:\n      - opened\n      - edited\n      - reopened\n      - synchronize\n      - auto_merge_enabled\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check PR title validity\n        run: |\n          echo \"${{ github.event.pull_request.title }}\" | grep -E \"^\\\\[(FEATURE|BUGFIX|DOCS|MAINTENANCE|CONTRIB|RELEASE)\\\\]\"\n          if [ $? -ne 0 ]; then\n          echo \"Invalid PR title - please prefix with one of: [FEATURE] | [BUGFIX] | [DOCS] | [MAINTENANCE] | [CONTRIB] | [RELEASE]\"\n            exit 1\n          fi\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "great-expectations/great_expectations"}
{"mined_at": "2024-07-15T15:39:26.075739", "created_at": "2023-07-10T22:02:26+02:00", "updated_at": "2024-01-10T22:08:24+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\n# This pipeline is intended to facilitate the full coverage of tests for OSS GX.\n# A \"reasonable\" set of tests will run on every pull request, and a full set will run with:\n#   1. Manual triggering\n#   2. Every 3 hours\n#   3. When we push a tag with a semver pattern x.y.z (for example 0.0.1) which is the pattern we use for releases.\n\nenv:\n  ECR_PULL_THROUGH_REPOSITORY_URL: 258143015559.dkr.ecr.us-east-1.amazonaws.com/docker-hub/\n\non:\n  merge_group:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n      - ready_for_review\n  schedule:\n    # https://crontab.guru/every-3-hours\n    - cron: \"0 */3 * * *\"\n  workflow_dispatch: # allows manual triggering with branch picker\n  push:\n    # Semantic versioning syntax defined by PyPI: https://pythonpackaging.info/07-Package-Release.html#Versioning-your-code\n    tags:\n      # Stable release syntax\n      - \"[0-9]+.[0-9]+.[0-9]+\"\n      # Prerelease syntax\n      - \"[0-9]+.[0-9]+.[0-9]+a[0-9]+\"\n      - \"[0-9]+.[0-9]+.[0-9]+b[0-9]+\"\n      - \"[0-9]+.[0-9]+.[0-9]+rc[0-9]+\"\n\nconcurrency:\n  # Only run one instance of this workflow in PRs, but allow multiple instances in develop.\n  # https://stackoverflow.com/questions/74117321/if-condition-in-concurrency-in-gha\n  group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  ci-does-not-run-on-draft-pull-requests:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.draft == true\n    steps:\n      - run: echo \"CI jobs won't run because this is a draft pull request.\"\n\n  ci-is-on-main-repo:\n    runs-on: ubuntu-latest\n    # job only runs on main repo where we have access to credentials, or as part of the release\n    if: |\n      github.event.pull_request.head.repo.full_name == github.repository ||\n      (github.event_name == 'push' && contains(github.ref, 'refs/tags/')) ||\n      github.event_name == 'merge_group'\n    steps:\n      - run: echo \"This CI step only runs on the main repo, where we have access to credentials.\"\n\n  static-analysis:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements-types.txt\n            reqs/requirements-dev-contrib.txt\n\n      - name: Install dependencies\n        run: pip install -r requirements-types.txt -r reqs/requirements-dev-contrib.txt\n      - run: invoke lint --no-fmt\n      - run: invoke fmt --check\n      - name: Type-check\n        run: |\n          invoke type-check --ci --pretty\n          invoke type-check --ci --pretty  --check-stub-sources\n      - name: Marker-coverage-check\n        run: invoke marker-coverage\n\n  docs-snippets:\n    needs: [unit-tests, doc-checks, ci-is-on-main-repo]\n    # run on non-draft PRs with docs changes\n    if: |\n      (github.event.pull_request.draft == false && github.base_ref == 'develop') ||\n      (github.event_name == 'push' && contains(github.ref, 'refs/tags/1.')) ||\n      github.event_name == 'merge_group'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        doc-step:\n          - docs-creds-needed\n          - docs-basic\n          - docs-spark\n    env:\n      # google\n      GE_TEST_GCP_CREDENTIALS: ${{secrets.GE_TEST_GCP_CREDENTIALS}}\n      GE_TEST_GCP_PROJECT: ${{secrets.GE_TEST_GCP_PROJECT}}\n      GE_TEST_BIGQUERY_DATASET: ${{secrets.GE_TEST_BIGQUERY_DATASET}}\n      GOOGLE_APPLICATION_CREDENTIALS: \"gcp-credentials.json\"\n      # aws\n      AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}\n      AWS_DEFAULT_REGION: ${{secrets.AWS_DEFAULT_REGION}}\n      AWS_REGION: ${{secrets.AWS_DEFAULT_REGION}}\n      AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}\n      # aws-redshift\n      REDSHIFT_USERNAME: ${{secrets.REDSHIFT_USERNAME}}\n      REDSHIFT_PASSWORD: ${{secrets.REDSHIFT_PASSWORD}}\n      REDSHIFT_HOST: ${{secrets.REDSHIFT_HOST}}\n      REDSHIFT_PORT: ${{secrets.REDSHIFT_PORT}}\n      REDSHIFT_DATABASE: ${{secrets.REDSHIFT_DATABASE}}\n      REDSHIFT_SSLMODE: ${{secrets.REDSHIFT_SSLMODE}}\n      # azure\n      AZURE_ACCESS_KEY: ${{secrets.AZURE_ACCESS_KEY}}\n      AZURE_CREDENTIAL: ${{secrets.AZURE_CREDENTIAL}}\n      # snowflake\n      SNOWFLAKE_ACCOUNT: ${{secrets.SNOWFLAKE_ACCOUNT}}\n      SNOWFLAKE_USER: ${{secrets.SNOWFLAKE_USER}}\n      SNOWFLAKE_PW: ${{secrets.SNOWFLAKE_PW}}\n      SNOWFLAKE_DATABASE: ${{secrets.SNOWFLAKE_DATABASE}}\n      SNOWFLAKE_SCHEMA: ${{secrets.SNOWFLAKE_SCHEMA}}\n      SNOWFLAKE_WAREHOUSE: ${{secrets.SNOWFLAKE_WAREHOUSE}}\n      SNOWFLAKE_ROLE: ${{secrets.SNOWFLAKE_ROLE}}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n      - name: Run docs_snippet_checker\n        run: |\n          yarn install\n          python ci/checks/validate_docs_snippets.py\n      - name: Authenticate with GCP\n        uses: google-github-actions/auth@v2\n        with:\n          credentials_json: ${{secrets.GE_TEST_GCP_CREDENTIALS}}\n\n      - name: Create JSON file for following step\n        run: |\n          echo \"$GE_TEST_GCP_CREDENTIALS\" > gcp-credentials.json\n\n      - name: Install and setup Google Cloud SDK\n        run: |\n          # this is recommended by the Google documentation for CI/CD https://cloud.google.com/sdk/docs/install#other_installation_options\n          curl -sS https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-370.0.0-linux-x86_64.tar.gz > ./google-cloud-sdk-370.0.0-linux-x86_64.tar.gz && tar -xf ./google-cloud-sdk-370.0.0-linux-x86_64.tar.gz\n          ./google-cloud-sdk/install.sh --usage-reporting=False --path-update=True --quiet --install-python=False\n          # creating new named configuration\n          ./google-cloud-sdk/bin/gcloud config configurations create ge-oss-ci-cd-configurations\n          # setting account config using project and service account info\n          ./google-cloud-sdk/bin/gcloud config set account account-for-azure-tests --project=$GE_TEST_GCP_PROJECT --access-token-file=$GOOGLE_APPLICATION_CREDENTIALS\n          # Pass the configured Cloud SDK authentication to gsutil.\n          ./google-cloud-sdk/bin/gcloud config set pass_credentials_to_gsutil True\n          # Authorize access to Google Cloud with a service account\n          ./google-cloud-sdk/bin/gcloud auth activate-service-account --key-file=$GOOGLE_APPLICATION_CREDENTIALS\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          cache-dependency-path: |\n            reqs/requirements-dev-test.txt\n      - name: Install dependencies\n        run: |\n          pip install $(grep -E '^(invoke)' reqs/requirements-dev-contrib.txt)\n          invoke deps --gx-install -m '${{ matrix.doc-step }}'\n\n      - name: Login to Amazon ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@v2\n        with:\n          registries: \"258143015559\"\n\n      - name: Run the tests\n        run: invoke docs-snippet-tests '${{ matrix.doc-step }}' --up-services --verbose  --reports\n\n      # upload coverage report to codecov\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4.1.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          slug: great-expectations/great_expectations\n          flags: ${{ matrix.doc-step }}\n\n  unit-tests:\n    env:\n      GX_PYTHON_EXPERIMENTAL: true # allow for python 3.12+\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache-dependency-path: |\n            reqs/requirements-dev-test.txt\n            setup.py\n\n      - name: Install dependencies\n        run: pip install . -c constraints-dev.txt -r reqs/requirements-dev-test.txt\n\n      - name: Run the unit tests\n        # TODO: revert the timeout back to 1.5 or lower after resolving arc issues\n        run: invoke ci-tests -m \"unit\" --xdist --slowest=10 --timeout=2.0 --reports\n\n      # upload coverage report to codecov\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4.1.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          slug: great-expectations/great_expectations\n          flags: ${{ matrix.python-version }}\n\n  doc-checks:\n    needs: [static-analysis]\n    if: github.event.pull_request.draft == false\n    permissions:\n      id-token: write\n      contents: read\n    runs-on: enterprise-arc\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          cache-dependency-path: |\n            reqs/requirements-dev-test.txt\n      - name: Install dependencies\n        run: pip install -r reqs/requirements-dev-test.txt\n\n      - name: check_repo_root_size\n        run: sh ./ci/checks/check_repo_root_size.sh\n      - name: Docstring linter\n        run: invoke docstrings\n      - name: line_number_snippet_checker\n        run: python ci/checks/check_no_line_number_snippets.py\n      - name: name_tag_snippet_checker\n        run: python ci/checks/check_only_name_tag_snippets.py\n      - name: integration_test_gets_run_checker\n        run: python ci/checks/check_integration_test_gets_run.py\n      - name: name_tag_snippet_referenced_checker\n        run: python ci/checks/check_name_tag_snippets_referenced.py\n      # Disabling public_api_report during V1 development; should be re-enabled upon completion of public API audit\n      # - name: public_api_report\n      #   run: invoke public-api\n      - name: link_checker\n        run: python docs/checks/docs_link_checker.py -p docs/docusaurus/docs -r docs/docusaurus/docs -sr docs/docusaurus/static -s docs -sp static --skip-external\n\n  docs-build:\n    needs: [doc-checks]\n    # run on non-draft PRs\n    if: |\n      (github.event.pull_request.draft == false && github.base_ref == 'develop') ||\n      (github.event_name == 'push' && contains(github.ref, 'refs/tags/1.')) ||\n      github.event_name == 'merge_group'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          cache-dependency-path: reqs/requirements-dev-test.txt\n      - name: Install dependencies\n        run: pip install -r reqs/requirements-dev-test.txt\n      - name: Build docs\n        env:\n          NODE_OPTIONS: --max_old_space_size=4096\n          POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}\n        run: cd docs/docusaurus && yarn install && bash ../build_docs\n\n  cloud-tests:\n    needs: [unit-tests, static-analysis, ci-is-on-main-repo]\n    if: github.event.pull_request.draft == false\n    permissions:\n      id-token: write\n      contents: read\n    runs-on: ubuntu-latest\n    env:\n      GX_CLOUD_BASE_URL: ${{vars.MERCURY_BASE_URL}}\n      PACT_BROKER_READ_WRITE_TOKEN: ${{secrets.PACT_BROKER_READ_WRITE_TOKEN}}\n      AUTH0_DOMAIN: ${{secrets.AUTH0_DOMAIN}}\n      AUTH0_API_AUDIENCE: ${{secrets.AUTH0_API_AUDIENCE}}\n      AUTH0_MERCURY_API_CLIENT_ID: ${{secrets.AUTH0_MERCURY_API_CLIENT_ID}}\n      AUTH0_MERCURY_API_CLIENT_SECRET: ${{secrets.AUTH0_MERCURY_API_CLIENT_SECRET}}\n      GX_CLOUD_ORGANIZATION_ID: ${{secrets.MERCURY_ORGANIZATION_ID}}\n      GX_CLOUD_ACCESS_TOKEN: ${{secrets.MERCURY_ACCESS_TOKEN}}\n      LD_SDK_KEY: ${{secrets.LD_SDK_KEY}}\n      PACT_DO_NOT_TRACK: true\n      SNOWFLAKE_CI_ACCOUNT: ${{secrets.SNOWFLAKE_CI_ACCOUNT}}\n      SNOWFLAKE_CI_USER_PASSWORD: ${{secrets.SNOWFLAKE_CI_USER_PASSWORD}}\n      LOGGING_LEVEL: DEBUG\n      ENVIRONMENT: local\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          cache-dependency-path: |\n            reqs/requirements-dev-test.txt\n            setup.py\n\n      - name: Install dependencies\n        run: |\n          pip install $(grep -E '^(invoke)' reqs/requirements-dev-contrib.txt)\n          invoke deps --gx-install -m 'cloud' -r test\n\n      - name: Configure ECR AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-region: us-east-1\n          role-to-assume: arn:aws:iam::258143015559:role/github-amazonec2containerregistryreadonly\n\n      - name: Login to Amazon ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@v2\n\n      - name: Start services\n        run: |\n          docker compose -f assets/docker/mercury/docker-compose.yml up -d --quiet-pull --wait --wait-timeout 150 && \\\n          docker compose -f assets/docker/spark/docker-compose.yml up -d --quiet-pull --wait --wait-timeout 90\n\n      - name: Show logs for debugging\n        if: failure()\n        run: |\n          docker compose -f assets/docker/mercury/docker-compose.yml logs\n\n      - name: Run the tests\n        run:\n          invoke ci-tests 'cloud' --up-services --verbose  --reports -W default::great_expectations.datasource.fluent.GxInvalidDatasourceWarning\n\n          # upload coverage report to codecov\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4.1.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          slug: great-expectations/great_expectations\n          flags: cloud\n\n  marker-tests:\n    needs: [unit-tests, static-analysis]\n    if: github.event.pull_request.draft == false\n    env:\n      GX_PYTHON_EXPERIMENTAL: true # allow for python 3.12+\n      # aws\n      AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}\n      AWS_DEFAULT_REGION: ${{secrets.AWS_DEFAULT_REGION}}\n      AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}\n      DATABRICKS_TOKEN: ${{secrets.DATABRICKS_SQL_TOKEN}}\n      DATABRICKS_HOST: ${{secrets.DATABRICKS_HOST}}\n      DATABRICKS_HTTP_PATH: ${{secrets.DATABRICKS_HTTP_PATH}}\n      SNOWFLAKE_CI_ACCOUNT: ${{secrets.SNOWFLAKE_CI_ACCOUNT}}\n      SNOWFLAKE_CI_USER_PASSWORD: ${{secrets.SNOWFLAKE_CI_USER_PASSWORD}}\n      SNOWFLAKE_ACCOUNT: ${{secrets.SNOWFLAKE_ACCOUNT}}\n      SNOWFLAKE_USER: ${{secrets.SNOWFLAKE_USER}}\n      SNOWFLAKE_PW: ${{secrets.SNOWFLAKE_PW}}\n      SNOWFLAKE_DATABASE: ${{secrets.SNOWFLAKE_DATABASE}}\n      SNOWFLAKE_SCHEMA: ${{secrets.SNOWFLAKE_SCHEMA}}\n      SNOWFLAKE_WAREHOUSE: ${{secrets.SNOWFLAKE_WAREHOUSE}}\n      SNOWFLAKE_ROLE: ${{secrets.SNOWFLAKE_ROLE}}\n    permissions:\n      id-token: write\n      contents: read\n    runs-on: enterprise-arc\n    strategy:\n      fail-fast: false\n      matrix:\n        markers:\n          - athena or clickhouse or openpyxl or pyarrow or project or sqlite or aws_creds\n          - aws_deps\n          - big\n          - databricks\n          - filesystem\n          - mssql\n          - mysql\n          - postgresql\n          - snowflake\n          - spark\n          - trino\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          # TODO: would like to adopt `actionlint` pre-commit hook\n          # but false positive here and inability to do an inline ignore\n          # prevents this https://github.com/rhysd/actionlint/issues/237\n          - python-version: ${{ github.event_name == 'pull_request' && '3.9' }}\n          - python-version: ${{ github.event_name == 'pull_request' && '3.10' }}\n          - python-version: ${{ github.event_name == 'pull_request' && '3.11' }}\n          - python-version: ${{ github.event_name == 'merge_group' && '3.9' }}\n          - python-version: ${{ github.event_name == 'merge_group' && '3.10' }}\n          - python-version: ${{ github.event_name == 'merge_group' && '3.11' }}\n          - python-version: \"3.12\" # need sqlalchemy 2.0 support\n            markers: snowflake\n          - python-version: \"3.12\" # clickhouse/pyathena need dependency update\n            markers: athena or clickhouse or openpyxl or pyarrow or project or sqlite or aws_creds\n          - python-version: \"3.12\" # numpy related issue\n            markers: databricks\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: |\n            reqs/requirements-dev-test.txt\n            setup.py\n\n      - name: Install dependencies\n        run: |\n          pip install $(grep -E '^(invoke)' reqs/requirements-dev-contrib.txt)\n          invoke deps --gx-install -m '${{ matrix.markers }}' -r test\n\n      - name: Configure ECR AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-region: us-east-1\n          role-to-assume: arn:aws:iam::258143015559:role/github-amazonec2containerregistryreadonly\n\n      - name: Login to Amazon ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@v2\n\n      - name: Run the tests\n        run: invoke ci-tests '${{ matrix.markers }}' --up-services --verbose  --reports\n\n      # upload coverage report to codecov\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4.1.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          slug: great-expectations/great_expectations\n          flags: \"${{ matrix.python-version }} ${{ matrix.markers }}\"\n\n  py38-min-versions:\n    needs: [unit-tests, static-analysis]\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          cache-dependency-path: reqs/requirements-dev-test.txt\n      - name: Install dependencies\n        run: pip install . -c ci/constraints-test/py38-min-install.txt -r reqs/requirements-dev-test.txt\n      - name: Run the tests\n        run: invoke ci-tests -m unit --xdist --slowest=10  --timeout=2.0\n\n  py39-min-versions:\n    needs: [unit-tests, static-analysis]\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n          cache: \"pip\"\n          cache-dependency-path: reqs/requirements-dev-test.txt\n      - name: Install dependencies\n        run: pip install . -c ci/constraints-test/py39-min-install.txt -r reqs/requirements-dev-test.txt\n      - name: Run the tests\n        run: invoke ci-tests -m unit --xdist --slowest=10  --timeout=2.0\n\n  py310-min-versions:\n    needs: [unit-tests, static-analysis]\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n          cache-dependency-path: reqs/requirements-dev-test.txt\n      - name: Install dependencies\n        run: pip install . -c ci/constraints-test/py310-min-install.txt -r reqs/requirements-dev-test.txt\n      - name: Run the tests\n        run: invoke ci-tests -m unit --xdist --slowest=10  --timeout=2.0\n\n  py311-min-versions:\n    needs: [unit-tests, static-analysis]\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pip\"\n          cache-dependency-path: reqs/requirements-dev-test.txt\n      - name: Install dependencies\n        run: pip install . -c ci/constraints-test/py311-min-install.txt -r reqs/requirements-dev-test.txt\n      - name: Run the tests\n        run: invoke ci-tests -m unit --xdist --slowest=10  --timeout=2.0\n\n  py312-min-versions:\n    env:\n      GX_PYTHON_EXPERIMENTAL: true # allow for python 3.12+\n    needs: [unit-tests, static-analysis]\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: reqs/requirements-dev-test.txt\n      - name: Install dependencies\n        run: pip install . -c ci/constraints-test/py312-min-install.txt -r reqs/requirements-dev-test.txt\n      - name: Run the tests\n        run: invoke ci-tests -m unit --xdist --slowest=10  --timeout=2.0\n\n  pydantic-v1:\n    needs: [unit-tests, static-analysis]\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          cache-dependency-path: reqs/requirements-dev-test.txt\n      - name: Install dependencies\n        run: pip install . -c ci/constraints-test/pydantic-v1-install.txt -r reqs/requirements-dev-test.txt\n      - name: Run the tests\n        run: invoke ci-tests -m unit --xdist --slowest=10  --timeout=2.0\n\n  numpy-2:\n    needs: [unit-tests, static-analysis]\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n          cache: \"pip\"\n          cache-dependency-path: reqs/requirements-dev-test.txt\n      - name: Install dependencies\n        run: pip install . -r reqs/requirements-dev-test.txt\n      - name: Install numpy 2\n        run: pip install --pre \"numpy>1.9999999999999\"\n      - name: Run the tests\n        run: invoke ci-tests -m unit --xdist --slowest=10  --timeout=2.0\n\n  airflow-min-versions:\n    needs: [unit-tests, static-analysis]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          cache-dependency-path: requirements.txt\n      - name: Install dependencies\n        run: pip install . -c ci/constraints-test/airflow-min-install.txt\n      - name: Run the test\n        # ensure the great_expectations can be imported and a context created\n        run: sh ci/checks/check_min_airflow_dependency_compatibility.sh\n\n  import_gx:\n    needs: [static-analysis]\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        exclude:\n          - python-version: ${{ github.event_name == 'pull_request' && '3.9' }}\n          - python-version: ${{ github.event_name == 'pull_request' && '3.10' }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: requirements.txt\n      - name: Install Great Expectations with core deps only\n        run: pip install .\n      - name: Import Great Expectations\n        run: python -c \"import great_expectations as gx; print('Successfully imported GX Version:', gx.__version__)\"\n\n  build-n-publish:\n    needs:\n      [\n        ci-is-on-main-repo,\n        doc-checks,\n        static-analysis,\n        docs-snippets,\n        unit-tests,\n        cloud-tests,\n        marker-tests,\n        py38-min-versions,\n        py39-min-versions,\n        py310-min-versions,\n        py311-min-versions,\n        py312-min-versions,\n        pydantic-v1,\n        airflow-min-versions,\n        import_gx,\n      ]\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    name: Build and publish Python distributions to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/great-expectations\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@master\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n      - name: Update pip\n        run: python -m pip install --upgrade pip\n      - name: Install Twine and Wheel, and prepare packaging\n        run: |\n          pip install twine wheel\n          git config --global user.email \"team@greatexpectations.io\"\n          git config --global user.name \"Great Expectations\"\n      - name: Build distribution\n        run: |\n          python setup.py sdist\n          python setup.py bdist_wheel\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          skip-existing: true # prevent against pushing duplicate versions\n\n  notify_on_failure:\n    needs:\n      [\n        ci-is-on-main-repo,\n        doc-checks,\n        static-analysis,\n        docs-snippets,\n        unit-tests,\n        cloud-tests,\n        marker-tests,\n        py38-min-versions,\n        py39-min-versions,\n        py310-min-versions,\n        py311-min-versions,\n        py312-min-versions,\n        pydantic-v1,\n        airflow-min-versions,\n        import_gx,\n        build-n-publish,\n      ]\n    if: always() && !cancelled() && contains(needs.*.result, 'failure') && github.event_name != 'pull_request' && github.event_name != 'merge_group'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Scheduled CI job failure\n        id: slack\n        uses: slackapi/slack-github-action@v1.24.0\n        with:\n          payload: |\n            {\n              \"event_name\": \"${{ github.event_name }}\",\n              \"url\": \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n            }\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_WEBHOOK_URL }}\n\n  notify_on_release:\n    needs: [build-n-publish]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Announce Release\n        id: slack\n        uses: slackapi/slack-github-action@v1.24.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASE_WEBHOOK_URL }}\n", "state": "active", "repository": "great-expectations/great_expectations"}
{"mined_at": "2024-07-15T15:39:27.080725", "created_at": "2023-08-03T04:17:45+02:00", "updated_at": "2023-08-04T19:35:42+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": null, "state": "active", "repository": "great-expectations/great_expectations"}
{"mined_at": "2024-07-15T15:39:28.158781", "created_at": "2022-03-11T00:58:32+01:00", "updated_at": "2023-12-22T20:31:11+01:00", "name": "team-label", "path": ".github/workflows/team-labeler.yml", "contents": null, "state": "disabled_manually", "repository": "great-expectations/great_expectations"}
{"mined_at": "2024-07-15T15:39:32.245659", "created_at": "2020-08-11T19:19:06+02:00", "updated_at": "2023-09-14T19:59:52+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n    branches: [main]\n    paths-ignore:\n      - 'docs/**'\n      - 'bazel/**'\n      - 'typings/**'\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - 'bazel/**'\n      - 'typings/**'\n  schedule:\n    - cron: '0 0 * * 1/2'\nenv:\n  LINES: 120\n  COLUMNS: 120\n  BENTOML_DO_NOT_TRACK: True\n  PYTEST_PLUGINS: bentoml.testing.pytest.plugin\n# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrun\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\njobs:\n  unit:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.8', '3.11']\n    name: unit-tests (python${{ matrix.python-version }}.${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # fetch all tags and branches\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          cache: pip\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: pipx install pdm && pipx install nox\n      - name: Unit tests\n        run: nox --session unit-${{ matrix.python-version }}\n      - name: Disambiguate coverage filename\n        run: mv .coverage \".coverage.unit.${{ matrix.os }}.${{ matrix.python-version }}\"\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-unit-data\n          path: .coverage.*\n  integrations:\n    name: framework-integration-tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        framework:\n          - catboost\n          - detectron\n          - diffusers\n          - easyocr\n          - fastai\n          - flax\n          - keras\n          - lightgbm\n          - onnx\n          - picklable_model\n          - pytorch\n          - pytorch_lightning\n          - sklearn\n          - tensorflow\n          - torchscript\n          - transformers\n          - xgboost\n        exclude:\n          - framework: transformers # NOTE: CI runners doesn't have enough space to run all transformers jobs\n          - framework: detectron # NOTE: tested locally and the latest PyPI are to obsolete.\n    timeout-minutes: 90\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # fetch all tags and branches\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n          cache: pip\n      - name: Install dependencies\n        run: pipx install pdm && pipx install nox\n      - name: Run framework integration tests\n        run: nox --session \"framework-integration(framework='${{ matrix.framework }}')\"\n      - name: Disambiguate coverage filename\n        run: mv .coverage \".coverage.integrations.ubuntu-latest.3.8.${{ matrix.framework }}\"\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-integrations-data\n          path: .coverage.*\n  e2e-monitoring:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.8', '3.11']\n    name: monitoring-e2e-tests (python${{ matrix.python-version }}.${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 90\n    env:\n      BENTOML_BUNDLE_LOCAL_BUILD: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # fetch all tags and branches\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n      - name: Set up Docker Buildx\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          cache: pip\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: pipx install pdm && pipx install nox\n      - name: Run the monitoring tests\n        run: nox -s e2e-monitoring-${{ matrix.python-version }}\n      - name: Disambiguate coverage filename\n        run: mv .coverage \".coverage.monitoring.${{ matrix.os }}.${{ matrix.python-version }}\"\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-monitoring-data\n          path: .coverage.*\n  e2e-test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: ['3.8', '3.11']\n        suite: ['bento_server_http', 'bento_new_sdk']\n    name: ${{ matrix.suite }}-e2e-tests (python${{ matrix.python-version }}.${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 90\n    env:\n      BENTOML_BUNDLE_LOCAL_BUILD: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # fetch all tags and branches\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n      - name: Set up Docker Buildx\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          cache: pip\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: pipx install pdm && pipx install nox\n      - name: Run ${{ matrix.suite }} tests\n        run: nox -s \"e2e-testing-${{ matrix.python-version }}(suite='${{ matrix.suite }}')\"\n      - name: Disambiguate coverage filename\n        run: mv .coverage \".coverage.e2e.${{ matrix.os }}.${{ matrix.python-version }}.${{ matrix.suite }}\"\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-e2e-data\n          path: .coverage.*\n  coverage:\n    name: report-coverage\n    runs-on: ubuntu-latest\n    needs:\n      - e2e-test\n      - e2e-monitoring\n      - unit\n      - integrations\n    if: github.event_name == 'pull_request'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          cache: pip\n          python-version: '3.11'\n      - name: Download e2e coverage\n        uses: actions/download-artifact@v3\n        with:\n          name: coverage-e2e-data\n      - name: Download monitoring coverage\n        uses: actions/download-artifact@v3\n        with:\n          name: coverage-monitoring-data\n      - name: Download integrations coverage\n        uses: actions/download-artifact@v3\n        with:\n          name: coverage-integrations-data\n      - name: Download unit coverage\n        uses: actions/download-artifact@v3\n        with:\n          name: coverage-unit-data\n      - name: Install dependencies\n        run: pipx install pdm && pipx install nox\n      - name: Export coverage reports and generate summary\n        run: nox -s coverage\n      - name: Upload uncovered HTML report\n        uses: actions/upload-artifact@v3\n        with:\n          name: uncovered-html-report\n          path: htmlcov\n      - name: Update coverage pull request comment\n        if: github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork\n        uses: marocchino/sticky-pull-request-comment@v2\n        with:\n          path: coverage-report.md\n  evergreen: # https://github.com/marketplace/actions/alls-green#why\n    if: github.event_name == 'pull_request'\n    needs:\n      - coverage\n      - e2e-test\n      - e2e-monitoring\n      - unit\n      - integrations\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\nconcurrency:\n  group: ci-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n", "state": "active", "repository": "bentoml/bentoml"}
{"mined_at": "2024-07-15T15:39:33.291292", "created_at": "2020-11-18T20:25:46+01:00", "updated_at": "2020-11-18T20:25:46+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '37 15 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "bentoml/bentoml"}
{"mined_at": "2024-07-15T15:39:34.340573", "created_at": "2023-02-15T21:51:19+01:00", "updated_at": "2023-07-20T03:45:04+02:00", "name": "code-quality", "path": ".github/workflows/cqa.yml", "contents": "name: code-quality\non:\n  push:\n    branches: [main]\n    paths-ignore:\n      - 'docs/**'\n      - 'bazel/**'\n      - 'typings/**'\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - 'bazel/**'\n      - 'typings/**'\n  schedule:\n    - cron: '0 0 * * 1/2'\nenv:\n  LINES: 200\n  COLUMNS: 200\n  BENTOML_DO_NOT_TRACK: True\nconcurrency:\n  group: cqa-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrun\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\njobs:\n  spelling:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up PDM\n        uses: pdm-project/setup-pdm@v4\n        with:\n          cache: true\n          python-version: '3.11'\n          enable-pep582: false\n      - name: Install libenchant\n        run: sudo apt-get update && sudo apt-get install -y libenchant-2-dev\n      - name: Install dependencies\n        run: pdm sync -dG docs\n      - name: Run spellcheck script\n        run: |\n          pdm run -v sphinx-build -b spelling ./docs/source ./docs/build || (echo \"Failed to run spellcheck. Refer to logs for more details\"; exit 1)\n", "state": "active", "repository": "bentoml/bentoml"}
{"mined_at": "2024-07-15T15:39:35.392151", "created_at": "2023-07-20T03:45:03+02:00", "updated_at": "2023-07-20T03:45:03+02:00", "name": "cleanup-gh-cache", "path": ".github/workflows/cleanup.yml", "contents": "name: cleanup-gh-cache\non:\n  pull_request:\n    types:\n      - closed\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      - name: Cleanup\n        run: \"gh extension install actions/gh-actions-cache\\n\\nREPO=${{ github.repository }}\\nBRANCH=\\\"refs/pull/${{ github.event.pull_request.number }}/merge\\\"\\n\\necho \\\"Fetching list of cache key\\\"\\ncacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH -L 100 | cut -f 1 )\\n\\n## Setting this to not fail the workflow while deleting cache keys. \\nset +e\\necho \\\"Deleting caches...\\\"\\nfor cacheKey in $cacheKeysForPR\\ndo\\n    gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm\\ndone\\necho \\\"Done\\\"\\n\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bentoml/bentoml"}
{"mined_at": "2024-07-15T15:39:36.472300", "created_at": "2023-07-25T10:27:19+02:00", "updated_at": "2023-08-29T15:39:03+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  push:\n    tags:\n      - \"*\"\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Build\n        run: pipx run build\n      - name: Archive\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist\n          path: dist/*\n  release:\n    runs-on: ubuntu-latest\n    needs: build\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: dist\n          path: dist\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "bentoml/bentoml"}
{"mined_at": "2024-07-15T15:39:37.537061", "created_at": "2023-09-15T01:32:21+02:00", "updated_at": "2023-09-15T01:51:40+02:00", "name": "BentoML Core CI", "path": ".github/workflows/core-ci.yml", "contents": null, "state": "active", "repository": "bentoml/bentoml"}
{"mined_at": "2024-07-15T15:39:39.632306", "created_at": "2020-02-17T09:13:31+01:00", "updated_at": "2022-09-08T12:16:36+02:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "name: Backport\non:\n  pull_request_target:\n    types:\n      - closed\n      - labeled\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - name: Checkout Actions\n        uses: actions/checkout@v4\n        with:\n          repository: \"frappe/backport\"\n          path: ./actions\n          ref: develop\n      - name: Install Actions\n        run: npm install --production --prefix ./actions\n      - name: Run backport\n        uses: ./actions/backport\n        with:\n          token: ${{secrets.RELEASE_TOKEN}}\n          labelsToAdd: \"backport\"\n          title: \"{{originalTitle}}\"\n", "state": "disabled_manually", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:40.675273", "created_at": "2022-07-25T12:55:05+02:00", "updated_at": "2022-07-25T12:55:05+02:00", "name": "Generate Semantic Release", "path": ".github/workflows/create-release.yml", "contents": "name: Generate Semantic Release\non:\n  push:\n    branches:\n      - version-14-beta\npermissions:\n  contents: read\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Entire Repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          persist-credentials: false\n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n      - name: Setup dependencies\n        run: |\n          npm install @semantic-release/git @semantic-release/exec --no-save\n      - name: Create Release\n        env:\n          GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}\n          GIT_AUTHOR_NAME: \"Frappe PR Bot\"\n          GIT_AUTHOR_EMAIL: \"developers@frappe.io\"\n          GIT_COMMITTER_NAME: \"Frappe PR Bot\"\n          GIT_COMMITTER_EMAIL: \"developers@frappe.io\"\n        run: npx semantic-release\n", "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:41.890932", "created_at": "2020-10-01T11:11:27+02:00", "updated_at": "2022-07-25T14:17:20+02:00", "name": "Documentation Check", "path": ".github/workflows/docs-checker.yml", "contents": null, "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:43.427151", "created_at": "2024-02-29T05:40:27+01:00", "updated_at": "2024-02-29T05:40:27+01:00", "name": "Regenerate POT file (translatable strings)", "path": ".github/workflows/generate-pot-file.yml", "contents": "name: Regenerate POT file (translatable strings)\non:\n  schedule:\n    # 9:30 UTC => 3 PM IST Sunday\n    - cron: \"30 9 * * 0\"\n  workflow_dispatch:\n\njobs:\n  regeneratee-pot-file:\n    name: Release\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        branch: [\"develop\"]\n    permissions:\n      contents: write\n\n    steps:\n        - name: Checkout\n          uses: actions/checkout@v4\n          with:\n            ref: ${{ matrix.branch }}\n\n        - name: Setup Python\n          uses: actions/setup-python@v5\n          with:\n            python-version: \"3.12\"\n\n        - name: Run script to update POT file\n          run: |\n            bash ${GITHUB_WORKSPACE}/.github/helper/update_pot_file.sh\n          env:\n            GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}\n            BASE_BRANCH: ${{ matrix.branch }}\n", "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:45.167404", "created_at": "2022-09-06T15:17:38+02:00", "updated_at": "2023-01-31T11:35:02+01:00", "name": "Create weekly release pull requests", "path": ".github/workflows/initiate_release.yml", "contents": "# This workflow is agnostic to branches. Only maintain on develop branch.\n# To add/remove versions just modify the matrix.\n\nname: Create weekly release pull requests\non:\n  schedule:\n    # 9:30 UTC => 3 PM IST Tuesday\n    - cron: \"30 9 * * 2\"\n  workflow_dispatch:\n\njobs:\n  stable-release:\n    name: Release\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        version: [\"14\", \"15\"]\n\n    steps:\n      - uses: octokit/request-action@v2.x\n        with:\n          route: POST /repos/{owner}/{repo}/pulls\n          owner: frappe\n          repo: frappe\n          title: |-\n            \"chore: release v${{ matrix.version }}\"\n          body: \"Automated weekly release.\"\n          base: version-${{ matrix.version }}\n          head: version-${{ matrix.version }}-hotfix\n        env:\n          GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}\n", "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:46.290896", "created_at": "2022-08-01T12:00:07+02:00", "updated_at": "2022-08-01T12:00:07+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeller.yml", "contents": "name: \"Pull Request Labeler\"\non:\n  pull_request_target:\n    types: [opened, reopened]\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - name: Clone\n      uses: actions/checkout@v4\n\n    - uses: actions/labeler@v5\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:47.529644", "created_at": "2022-02-25T15:28:59+01:00", "updated_at": "2024-03-11T13:59:38+01:00", "name": "Linters", "path": ".github/workflows/linters.yml", "contents": "# When updating this file, please also update the linter_workflow_template in frappe/utils/boilerplate.py\nname: Linters\n\non:\n  pull_request:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: commitcheck-frappe-${{ github.event_name }}-${{ github.event.number }}\n  cancel-in-progress: true\n\njobs:\n  commit-lint:\n    name: 'Semantic Commits'\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request'\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 200\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 18\n          check-latest: true\n\n      - name: Check commit titles\n        run: |\n          npm install @commitlint/cli @commitlint/config-conventional\n          npx commitlint --verbose --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }}\n\n  docs-required:\n    name: 'Documentation Required'\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request'\n\n    steps:\n      - name: 'Setup Environment'\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - uses: actions/checkout@v4\n\n      - name: Validate Docs\n        env:\n          PR_NUMBER: ${{ github.event.number }}\n        run: |\n          pip install requests --quiet\n          python $GITHUB_WORKSPACE/.github/helper/documentation.py $PR_NUMBER\n\n  linter:\n    name: 'Semgrep Rules'\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request'\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: pip\n\n      - name: Download Semgrep rules\n        run: git clone --depth 1 https://github.com/frappe/semgrep-rules.git frappe-semgrep-rules\n\n      - name: Run Semgrep rules\n        run: |\n          pip install semgrep\n          semgrep ci --config ./frappe-semgrep-rules/rules --config r/python.lang.correctness\n\n  deps-vulnerable-check:\n    name: 'Vulnerable Dependency Check'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - uses: actions/checkout@v4\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt', '**/pyproject.toml', '**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n\n      - name: Install and run pip-audit\n        run: |\n          pip install pip-audit\n          cd ${GITHUB_WORKSPACE}\n          pip-audit --desc on .\n", "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:48.587104", "created_at": "2022-09-02T15:38:24+02:00", "updated_at": "2023-07-15T15:13:27+02:00", "name": "Lock threads", "path": ".github/workflows/lock.yml", "contents": "name: 'Lock threads'\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n  workflow_dispatch:\n\npermissions:\n  issues: write\n  pull-requests: write\n\n\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v5\n        with:\n          github-token: ${{ github.token }}\n          issue-inactive-days: 14\n          pr-inactive-days: 14\n", "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:49.666411", "created_at": "2022-07-25T12:55:05+02:00", "updated_at": "2023-01-11T06:29:59+01:00", "name": "Release", "path": ".github/workflows/on_release.yml", "contents": "name: 'Release'\n\non:\n  release:\n    types: [released]\n\npermissions:\n  contents: read\n\nenv:\n  GITHUB_TOKEN: ${{ github.token }}\n\njobs:\n  build-release-and-publish:\n    name: 'Build and Publish Assets built for Releases'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: 'frappe'\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 18\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Set up bench and build assets\n        run: |\n          npm install -g yarn\n          pip3 install -U frappe-bench\n          bench -v init frappe-bench --no-procfile --no-backups --skip-assets --skip-redis-config-generation --python $(which python) --frappe-path $GITHUB_WORKSPACE/frappe\n          cd frappe-bench && bench build\n\n      - name: Package assets\n        run: |\n          mkdir -p $GITHUB_WORKSPACE/build\n          tar -cvpzf $GITHUB_WORKSPACE/build/assets.tar.gz ./frappe-bench/sites/assets/frappe/dist\n\n      - name: Get release\n        id: get_release\n        uses: bruceadams/get-release@v1.3.1\n\n      - name: Upload built Assets to Release\n        uses: actions/upload-release-asset@v1.0.2\n        with:\n          upload_url: ${{ steps.get_release.outputs.upload_url }}\n          asset_path: build/assets.tar.gz\n          asset_name: assets.tar.gz\n          asset_content_type: application/octet-stream\n\n  docker-release:\n    name: 'Trigger Docker build on release'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: none\n    container:\n      image: alpine:latest\n    steps:\n    - name: curl\n      run: |\n        apk add curl bash\n        curl -X POST -H \"Accept: application/vnd.github.v3+json\" -H \"Authorization: Bearer ${{ secrets.CI_PAT }}\" https://api.github.com/repos/frappe/frappe_docker/actions/workflows/build_stable.yml/dispatches -d '{\"ref\":\"main\"}'\n", "state": "disabled_manually", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:50.692941", "created_at": "2021-06-03T14:12:36+02:00", "updated_at": "2024-07-15T15:15:34+02:00", "name": "Patch (MariaDB)", "path": ".github/workflows/patch-mariadb-tests.yml", "contents": "name: Patch (MariaDB)\n\non:\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: patch-mariadb-develop-${{ github.event_name }}-${{ github.event.number }}\n  cancel-in-progress: true\n\npermissions:\n  # Do not change this as GITHUB_TOKEN is being used by roulette\n  contents: read\n\njobs:\n  checkrun:\n    name: Build Check\n    runs-on: ubuntu-latest\n\n    outputs:\n      build: ${{ steps.check-build.outputs.build }}\n\n    steps:\n      - name: Clone\n        uses: actions/checkout@v4\n\n      - name: Check if build should be run\n        id: check-build\n        run: |\n          python \"${GITHUB_WORKSPACE}/.github/helper/roulette.py\"\n        env:\n          TYPE: \"server\"\n          PR_NUMBER: ${{ github.event.number }}\n          REPO_NAME: ${{ github.repository }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  test:\n    name: Patch\n    runs-on: ubuntu-latest\n    needs: checkrun\n    if: ${{ needs.checkrun.outputs.build == 'strawberry' }}\n    timeout-minutes: 60\n\n    services:\n      mariadb:\n        image: mariadb:11.3\n        env:\n          MARIADB_ROOT_PASSWORD: travis\n        ports:\n          - 3306:3306\n        options: --health-cmd=\"healthcheck.sh --connect --innodb_initialized\" --health-interval=5s --health-timeout=2s --health-retries=3\n\n    steps:\n      - name: Clone\n        uses: actions/checkout@v4\n\n      - name: Check for Merge Conflicts\n        run: |\n          if grep -lr --exclude-dir=node_modules \"^<<<<<<< \" \"${GITHUB_WORKSPACE}\"\n              then echo \"Found merge conflicts\"\n              exit 1\n          fi\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 18\n          check-latest: true\n\n      - name: Add to Hosts\n        run: echo \"127.0.0.1 test_site\" | sudo tee -a /etc/hosts\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt', '**/pyproject.toml', '**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n\n      - name: Get yarn cache directory path\n        id: yarn-cache-dir-path\n        run: echo \"dir=$(yarn cache dir)\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache@v4\n        id: yarn-cache\n        with:\n          path: ${{ steps.yarn-cache-dir-path.outputs.dir }}\n          key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-yarn-\n\n      - name: Install Dependencies\n        run: |\n          bash ${GITHUB_WORKSPACE}/.github/helper/install_dependencies.sh\n          pip install frappe-bench\n          bash ${GITHUB_WORKSPACE}/.github/helper/install.sh\n        env:\n          BEFORE: ${{ env.GITHUB_EVENT_PATH.before }}\n          AFTER: ${{ env.GITHUB_EVENT_PATH.after }}\n          TYPE: server\n          DB: mariadb\n\n      - name: Run Patch Tests\n        run: |\n          cd ~/frappe-bench/\n          sed -i 's/^worker:/# worker:/g' Procfile\n          wget https://frappeframework.com/files/v13-frappe.sql.gz\n          bench --site test_site --force restore ~/frappe-bench/v13-frappe.sql.gz\n\n          source env/bin/activate\n          cd apps/frappe/\n          git remote set-url upstream https://github.com/frappe/frappe.git\n\n          function update_to_version() {\n            version=$1\n\n            branch_name=\"version-$version-hotfix\"\n            echo \"Updating to v$version\"\n            git fetch --depth 1 upstream $branch_name:$branch_name\n            git checkout -q -f $branch_name\n\n            pgrep honcho | xargs kill\n            sleep 3\n            rm -rf ~/frappe-bench/env\n            bench -v setup env\n            bench start &>> ~/frappe-bench/bench_start.log &\n\n            bench --site test_site migrate\n          }\n\n          update_to_version 14\n          update_to_version 15\n\n          echo \"Updating to last commit\"\n          pgrep honcho | xargs kill\n          sleep 3\n          rm -rf ~/frappe-bench/env\n          git checkout -q -f \"$GITHUB_SHA\"\n          bench -v setup env\n          bench start &>> ~/frappe-bench/bench_start.log &\n          bench --site test_site migrate\n          bench --site test_site execute frappe.tests.utils.check_orpahned_doctypes\n\n      - name: Show bench output\n        if: ${{ always() }}\n        run: |\n          cd ~/frappe-bench\n          cat bench_start.log || true\n          cd logs\n          for f in ./*.log*; do\n            echo \"Printing log: $f\";\n            cat $f\n          done\n\n  faux-test:\n    name: Patch\n    runs-on: ubuntu-latest\n    needs: checkrun\n    if: ${{ needs.checkrun.outputs.build != 'strawberry' }}\n\n    steps:\n      - name: Pass skipped tests unconditionally\n        run: \"echo Skipped\"\n", "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:51.824166", "created_at": "2024-01-18T06:12:25+01:00", "updated_at": "2024-01-18T06:15:18+01:00", "name": "Pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: Pre-commit\n\non:\n  pull_request:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: precommit-frappe-${{ github.event_name }}-${{ github.event.number }}\n  cancel-in-progress: true\n\njobs:\n  linter:\n    name: 'precommit'\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request'\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: pip\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:52.838673", "created_at": "2020-09-15T09:31:41+02:00", "updated_at": "2022-09-29T07:32:28+02:00", "name": "Frappe Assets", "path": ".github/workflows/publish-assets-develop.yml", "contents": "name: 'Frappe Assets'\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ develop ]\n\njobs:\n  build-dev-and-publish:\n    name: 'Build and Publish Assets for Development'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: 'frappe'\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 18\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Set up bench and build assets\n        run: |\n          npm install -g yarn\n          pip3 install -U frappe-bench\n          bench -v init frappe-bench --no-procfile --no-backups --skip-assets --skip-redis-config-generation --python $(which python) --frappe-path $GITHUB_WORKSPACE/frappe\n          cd frappe-bench && bench build\n\n      - name: Package assets\n        run: |\n          mkdir -p $GITHUB_WORKSPACE/build\n          tar -cvpzf $GITHUB_WORKSPACE/build/$GITHUB_SHA.tar.gz ./frappe-bench/sites/assets/frappe/dist\n\n      - name: Publish assets to S3\n        uses: jakejarvis/s3-sync-action@master\n        with:\n          args: --acl public-read\n        env:\n          AWS_S3_BUCKET: 'assets.frappeframework.com'\n          AWS_ACCESS_KEY_ID: ${{ secrets.S3_ASSETS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_ASSETS_SECRET_ACCESS_KEY }}\n          AWS_S3_ENDPOINT: 'http://s3.fr-par.scw.cloud'\n          AWS_REGION: 'fr-par'\n          SOURCE_DIR: '$GITHUB_WORKSPACE/build'\n", "state": "disabled_manually", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:53.870818", "created_at": "2020-09-15T09:31:41+02:00", "updated_at": "2023-07-16T14:54:52+02:00", "name": "Frappe Assets", "path": ".github/workflows/publish-assets-releases.yml", "contents": null, "state": "disabled_manually", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:54.985517", "created_at": "2022-04-18T14:13:13+02:00", "updated_at": "2022-07-28T09:48:52+02:00", "name": "Generate Semantic Release", "path": ".github/workflows/release.yml", "contents": null, "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:56.015244", "created_at": "2022-12-21T07:41:37+01:00", "updated_at": "2024-05-14T12:22:37+02:00", "name": "Release Notes", "path": ".github/workflows/release_notes.yml", "contents": "# This action:\n#\n# 1. Generates release notes using github API.\n# 2. Strips unnecessary info like chore/style etc from notes.\n# 3. Updates release info.\n\n# This action needs to be maintained on all branches that do releases.\n\nname: 'Release Notes'\n\non:\n  workflow_dispatch:\n    inputs:\n      tag_name:\n        description: 'Tag of release like v13.0.0'\n        required: true\n        type: string\n  release:\n    types: [released]\n\npermissions:\n  contents: read\n\njobs:\n  regen-notes:\n    name: 'Regenerate release notes'\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Update notes\n      run: |\n        NEW_NOTES=$(gh api --method POST -H \"Accept: application/vnd.github+json\"  /repos/frappe/frappe/releases/generate-notes  -f tag_name=$RELEASE_TAG \\\n          | jq -r '.body' \\\n          | sed -E '/^\\* (chore|ci|test|docs|style)/d' \\\n          | sed -E 's/by @mergify //'\n        )\n        RELEASE_ID=$(gh api -H \"Accept: application/vnd.github+json\" /repos/frappe/frappe/releases/tags/$RELEASE_TAG | jq -r '.id')\n        gh api --method PATCH -H \"Accept: application/vnd.github+json\" /repos/frappe/frappe/releases/$RELEASE_ID -f body=\"$NEW_NOTES\"\n\n      env:\n        GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}\n        RELEASE_TAG: ${{ github.event.inputs.tag_name || github.event.release.tag_name }}\n", "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:57.015512", "created_at": "2021-03-04T08:19:55+01:00", "updated_at": "2022-03-01T13:15:10+01:00", "name": "Semgrep", "path": ".github/workflows/semgrep.yml", "contents": null, "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:58.158743", "created_at": "2021-05-08T10:24:52+02:00", "updated_at": "2024-03-04T08:24:01+01:00", "name": "Server (MariaDB)", "path": ".github/workflows/server-mariadb-tests.yml", "contents": null, "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:39:59.283998", "created_at": "2021-05-08T10:24:52+02:00", "updated_at": "2023-11-22T06:32:34+01:00", "name": "Server (Postgres)", "path": ".github/workflows/server-postgres-tests.yml", "contents": null, "state": "disabled_manually", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:40:00.323612", "created_at": "2022-12-07T13:53:25+01:00", "updated_at": "2024-03-21T05:24:22+01:00", "name": "Server", "path": ".github/workflows/server-tests.yml", "contents": "name: Server\n\non:\n  pull_request:\n  workflow_dispatch:\n  schedule:\n    # Run everday at midnight UTC / 5:30 IST\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: server-develop-${{ github.event_name }}-${{ github.event.number }}\n  cancel-in-progress: true\n\npermissions:\n  # Do not change this as GITHUB_TOKEN is being used by roulette\n  contents: read\n\njobs:\n  checkrun:\n    name: Build Check\n    runs-on: ubuntu-latest\n\n    outputs:\n      build: ${{ steps.check-build.outputs.build }}\n\n    steps:\n      - name: Clone\n        uses: actions/checkout@v4\n\n      - name: Check if build should be run\n        id: check-build\n        run: |\n          python \"${GITHUB_WORKSPACE}/.github/helper/roulette.py\"\n        env:\n          TYPE: \"server\"\n          PR_NUMBER: ${{ github.event.number }}\n          REPO_NAME: ${{ github.repository }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  test:\n    name: Unit Tests\n    runs-on: ubuntu-latest\n    needs: checkrun\n    if: ${{ needs.checkrun.outputs.build == 'strawberry' }}\n    timeout-minutes: 30\n    env:\n      NODE_ENV: \"production\"\n\n    strategy:\n      fail-fast: false\n      matrix:\n        db: [\"mariadb\", \"postgres\"]\n        container: [1, 2]\n\n    services:\n      mariadb:\n        image: mariadb:11.3\n        env:\n          MARIADB_ROOT_PASSWORD: travis\n        ports:\n          - 3306:3306\n        options: --health-cmd=\"healthcheck.sh --connect --innodb_initialized\" --health-interval=5s --health-timeout=2s --health-retries=3\n\n      postgres:\n        image: postgres:12.4\n        env:\n          POSTGRES_PASSWORD: travis\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n\n      smtp_server:\n        image: rnwood/smtp4dev\n        ports:\n          - 2525:25\n          - 3000:80\n\n    steps:\n      - name: Clone\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Check for valid Python & Merge Conflicts\n        run: |\n          python -m compileall -q -f \"${GITHUB_WORKSPACE}\"\n          if grep -lr --exclude-dir=node_modules \"^<<<<<<< \" \"${GITHUB_WORKSPACE}\"\n              then echo \"Found merge conflicts\"\n              exit 1\n          fi\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 18\n          check-latest: true\n\n      - name: Add to Hosts\n        run: |\n          echo \"127.0.0.1 test_site\" | sudo tee -a /etc/hosts\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt', '**/pyproject.toml', '**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n\n      - name: Get yarn cache directory path\n        id: yarn-cache-dir-path\n        run: echo \"dir=$(yarn cache dir)\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache@v4\n        id: yarn-cache\n        with:\n          path: ${{ steps.yarn-cache-dir-path.outputs.dir }}\n          key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-yarn-\n\n      - name: Install Dependencies\n        run: |\n          bash ${GITHUB_WORKSPACE}/.github/helper/install_dependencies.sh\n          bash ${GITHUB_WORKSPACE}/.github/helper/install.sh\n        env:\n          BEFORE: ${{ env.GITHUB_EVENT_PATH.before }}\n          AFTER: ${{ env.GITHUB_EVENT_PATH.after }}\n          FRAPPE_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}\n          TYPE: server\n          DB: ${{ matrix.db }}\n\n      - name: Run Tests\n        run: ../env/bin/python3 ../apps/frappe/.github/helper/ci.py\n        working-directory: /home/runner/frappe-bench/sites\n        env:\n          SITE: test_site\n          CI_BUILD_ID: ${{ github.run_id }}\n          BUILD_NUMBER: ${{ matrix.container }}\n          WITH_COVERAGE: ${{ github.event_name != 'pull_request' }}\n          FRAPPE_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}\n          TOTAL_BUILDS: 2\n          COVERAGE_RCFILE: /home/runner/frappe-bench/apps/frappe/.coveragerc\n      - name: Setup tmate session\n\n        uses: mxschmitt/action-tmate@v3\n        if: ${{ failure() && contains( github.event.pull_request.labels.*.name, 'debug-gha') }}\n\n      - name: Show bench output\n        if: ${{ always() }}\n        run: |\n          cd ~/frappe-bench\n          cat bench_start.log || true\n          cd logs\n          for f in ./*.log*; do\n            echo \"Printing log: $f\";\n            cat $f\n          done\n\n\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v3\n        if: github.event_name != 'pull_request'\n        with:\n          name: coverage-${{ matrix.db }}-${{ matrix.container }}\n          path: /home/runner/frappe-bench/sites/coverage.xml\n\n  # This is required because github still doesn't understand knowingly skipped tests\n  faux-test:\n    name: Unit Tests\n    runs-on: ubuntu-latest\n    needs: checkrun\n    if: ${{ needs.checkrun.outputs.build != 'strawberry' }}\n\n    strategy:\n      matrix:\n        db: [\"mariadb\", \"postgres\"]\n        container: [1, 2]\n\n    steps:\n      - name: Pass skipped tests unconditionally\n        run: \"echo Skipped\"\n\n  coverage:\n    name: Coverage Wrap Up\n    needs: [test, checkrun]\n    runs-on: ubuntu-latest\n    if: ${{ needs.checkrun.outputs.build == 'strawberry' && github.event_name != 'pull_request' }}\n    steps:\n      - name: Clone\n        uses: actions/checkout@v4\n\n      - name: Download artifacts\n        uses: actions/download-artifact@v3\n\n      - name: Upload coverage data\n        uses: codecov/codecov-action@v4\n        with:\n          name: Server\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n          verbose: true\n          flags: server\n", "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:40:01.554950", "created_at": "2021-05-08T10:23:26+02:00", "updated_at": "2024-03-21T05:24:22+01:00", "name": "UI", "path": ".github/workflows/ui-tests.yml", "contents": "name: UI\n\non:\n  pull_request:\n  workflow_dispatch:\n  schedule:\n    # Run everday at midnight UTC / 5:30 IST\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ui-develop-${{ github.event_name }}-${{ github.event.number }}\n  cancel-in-progress: true\n\npermissions:\n  # Do not change this as GITHUB_TOKEN is being used by roulette\n  contents: read\n\njobs:\n  checkrun:\n    name: Build Check\n    runs-on: ubuntu-latest\n\n    outputs:\n      build: ${{ steps.check-build.outputs.build }}\n\n    steps:\n      - name: Clone\n        uses: actions/checkout@v4\n\n      - name: Check if build should be run\n        id: check-build\n        run: |\n          python \"${GITHUB_WORKSPACE}/.github/helper/roulette.py\"\n        env:\n          TYPE: \"ui\"\n          PR_NUMBER: ${{ github.event.number }}\n          REPO_NAME: ${{ github.repository }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  test:\n    runs-on: ubuntu-latest\n    needs: checkrun\n    if: ${{ needs.checkrun.outputs.build == 'strawberry' && github.repository_owner == 'frappe' }}\n    timeout-minutes: 60\n    env:\n      NODE_ENV: \"production\"\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Make sure you modify coverage submission file list if changing this\n        container: [1, 2, 3]\n\n    name: UI Tests (Cypress)\n\n    services:\n      mariadb:\n        image: mariadb:11.3\n        env:\n          MARIADB_ROOT_PASSWORD: travis\n        ports:\n          - 3306:3306\n        options: --health-cmd=\"healthcheck.sh --connect --innodb_initialized\" --health-interval=5s --health-timeout=2s --health-retries=3\n\n    steps:\n      - name: Clone\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Check for valid Python & Merge Conflicts\n        run: |\n          python -m compileall -q -f \"${GITHUB_WORKSPACE}\"\n          if grep -lr --exclude-dir=node_modules \"^<<<<<<< \" \"${GITHUB_WORKSPACE}\"\n              then echo \"Found merge conflicts\"\n              exit 1\n          fi\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 18\n          check-latest: true\n\n      - name: Add to Hosts\n        run: |\n          echo \"127.0.0.1 test_site\" | sudo tee -a /etc/hosts\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt', '**/pyproject.toml', '**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n\n      - name: Get yarn cache directory path\n        id: yarn-cache-dir-path\n        run: echo \"dir=$(yarn cache dir)\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache@v4\n        id: yarn-cache\n        with:\n          path: ${{ steps.yarn-cache-dir-path.outputs.dir }}\n          key: ${{ runner.os }}-yarn-ui-${{ hashFiles('**/yarn.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-yarn-ui-\n\n      - name: Cache cypress binary\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/Cypress\n          key: ${{ runner.os }}-cypress\n\n      - name: Install Dependencies\n        run: |\n          bash ${GITHUB_WORKSPACE}/.github/helper/install_dependencies.sh\n          bash ${GITHUB_WORKSPACE}/.github/helper/install.sh\n        env:\n          BEFORE: ${{ env.GITHUB_EVENT_PATH.before }}\n          AFTER: ${{ env.GITHUB_EVENT_PATH.after }}\n          FRAPPE_SENTRY_DSN: ${{ secrets.SENTRY_DSN }}\n          TYPE: ui\n          DB: mariadb\n\n      - name: Verify yarn.lock\n        run: |\n          cd ~/frappe-bench/apps/frappe\n          git diff --exit-code yarn.lock\n\n      - name: Instrument Source Code\n        run: cd ~/frappe-bench/apps/frappe/ && npx nyc instrument -x 'frappe/public/dist/**' -x 'frappe/public/js/lib/**' -x '**/*.bundle.js' --compact=false --in-place frappe\n\n      - name: Build\n        run: cd ~/frappe-bench/ && bench build --apps frappe\n\n      - name: Site Setup\n        run: |\n          cd ~/frappe-bench/\n          bench --site test_site execute frappe.utils.install.complete_setup_wizard\n          bench --site test_site execute frappe.tests.ui_test_helpers.create_test_user\n\n      - name: UI Tests\n        run: cd ~/frappe-bench/ && bench --site test_site run-ui-tests frappe --with-coverage --headless --parallel --ci-build-id $GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT\n        env:\n          CYPRESS_RECORD_KEY: 4a48f41c-11b3-425b-aa88-c58048fa69eb\n\n      - name: Stop server and wait for coverage file\n        if: github.event_name != 'pull_request'\n        run: |\n          ps -ef | grep \"[f]rappe serve\" | awk '{print $2}' | xargs kill -s SIGINT\n          sleep 5\n          ( tail -f /home/runner/frappe-bench/sites/coverage.xml & ) | grep -q \"\\/coverage\"\n\n      - name: Upload JS coverage data\n        uses: actions/upload-artifact@v3\n        if: github.event_name != 'pull_request'\n        with:\n          name: coverage-js-${{ matrix.container }}\n          path: /home/runner/frappe-bench/apps/frappe/.cypress-coverage/clover.xml\n\n      - name: Upload python coverage data\n        uses: actions/upload-artifact@v3\n        if: github.event_name != 'pull_request'\n        with:\n          name: coverage-py-${{ matrix.container }}\n          path: /home/runner/frappe-bench/sites/coverage.xml\n\n      - name: Show bench output\n        if: ${{ always() }}\n        run: |\n          cd ~/frappe-bench\n          cat bench_start.log || true\n          cd logs\n          for f in ./*.log*; do\n            echo \"Printing log: $f\";\n            cat $f\n          done\n\n  faux-test:\n    runs-on: ubuntu-latest\n    needs: checkrun\n    if: ${{ needs.checkrun.outputs.build != 'strawberry' && github.repository_owner == 'frappe' }}\n    name: UI Tests (Cypress)\n    strategy:\n      matrix:\n        container: [1, 2, 3]\n\n    steps:\n      - name: Pass skipped tests unconditionally\n        run: \"echo Skipped\"\n\n  coverage:\n    name: Coverage Wrap Up\n    needs: [test, checkrun]\n    if: ${{ needs.checkrun.outputs.build == 'strawberry' && github.event_name != 'pull_request' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone\n        uses: actions/checkout@v4\n\n      - name: Download artifacts\n        uses: actions/download-artifact@v3\n\n      - name: Upload python coverage data\n        uses: codecov/codecov-action@v4\n        with:\n          name: UIBackend\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n          verbose: true\n          files: ./coverage-py-1/coverage.xml,./coverage-py-2/coverage.xml,./coverage-py-3/coverage.xml\n          flags: server-ui\n\n      - name: Upload JS coverage data\n        uses: codecov/codecov-action@v4\n        with:\n          name: Cypress\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n          files: ./coverage-js-1/clover.xml,./coverage-js-2/clover.xml,./coverage-js-3/clover.xml\n          verbose: true\n          flags: ui-tests\n", "state": "active", "repository": "frappe/frappe"}
{"mined_at": "2024-07-15T15:40:03.646424", "created_at": "2024-07-08T15:18:32+02:00", "updated_at": "2024-07-09T19:56:14+02:00", "name": "KFP backend visualization tests", "path": ".github/workflows/backend-visualization.yml", "contents": null, "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:04.931318", "created_at": "2024-04-16T23:12:02+02:00", "updated_at": "2024-04-23T00:55:01+02:00", "name": "KFP Tekton backend unit tests", "path": ".github/workflows/backend.yml", "contents": "name: KFP Tekton backend unit tests\n\non:\n  push:\n    branches: [master]\n\n  # Run tests for any PRs which change the backend code\n  pull_request:\n    paths:\n      - 'go.mod'\n      - 'backend/**'\n      - 'scripts/deploy/github/**'\n      - 'manifests/kustomize/**'\n\nenv:\n  GITHUB_ACTION: \"true\"\n  SETUPTOOLS_USE_DISTUTILS: \"stdlib\"\n\njobs:\n  run-go-unittests:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Install Go\n      uses: actions/setup-go@v4\n      with:\n        go-version: 1.20.x\n    - name: Checkout code\n      uses: actions/checkout@v4\n    - name: \"run go unit tests\"\n      run: go test -v -cover ./backend/...\n  backend-integration:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Create k8s Kind Cluster\n        uses: container-tools/kind-action@v2\n        with:\n          cluster_name: kfp-tekton\n          kubectl_version: v1.29.2\n          version: v0.22.0\n          node_image: kindest/node:v1.29.2\n      - name: build images\n        run: ./scripts/deploy/github/build-images.sh\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: \"deploy kfp-tekton\"\n        run: ./scripts/deploy/github/deploy-kfp.sh\n      - name: Install sdk\n        run: |\n          python3 -m venv .venv\n          . .venv/bin/activate\n          pip install -e sdk/python\n      - name: \"flip coin test\"\n        run: |\n          . .venv/bin/activate\n          TEST_SCRIPT=\"test-flip-coin.sh\" ./scripts/deploy/github/e2e-test.sh\n      - name: \"static loop test\"\n        run: |\n          . .venv/bin/activate\n          TEST_SCRIPT=\"test-static-loop.sh\" ./scripts/deploy/github/e2e-test.sh\n      - name: \"dynamic loop test\"\n        run: |\n          . .venv/bin/activate\n          TEST_SCRIPT=\"test-dynamic-loop.sh\" ./scripts/deploy/github/e2e-test.sh\n      - name: \"use env\"\n        run: |\n          . .venv/bin/activate\n          TEST_SCRIPT=\"test-env.sh\" ./scripts/deploy/github/e2e-test.sh\n      - name: \"use volume\"\n        run: |\n          . .venv/bin/activate\n          TEST_SCRIPT=\"test-volume.sh\" ./scripts/deploy/github/e2e-test.sh\n      - name: Collect test results\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: kfp-tekton-backend-artifacts\n          path: /tmp/tmp.*/*\n", "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:06.154053", "created_at": "2024-04-23T00:55:01+02:00", "updated_at": "2024-04-23T00:55:01+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  schedule:\n    # Every Friday at 19:39\n    - cron: '39 19 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'go', 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:07.286305", "created_at": "2024-06-11T15:59:38+02:00", "updated_at": "2024-06-13T02:02:09+02:00", "name": "KFP e2e tests", "path": ".github/workflows/e2e-test.yaml", "contents": "name: KFP e2e tests\n\non:\n  push:\n    branches: [master]\n\n  pull_request:\n    paths:\n      - '.github/workflows/e2e-test.yaml'\n      - 'scripts/deploy/github/**'\n      - 'go.mod'\n      - 'go.sum'\n      - 'backend/**'\n      - 'frontend/**'\n      - 'proxy/**'\n      - 'manifests/kustomize/**'\n      - 'test/**'\n\njobs:\n  integration-test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Create k8s Kind Cluster\n        uses: container-tools/kind-action@v2\n        with:\n          cluster_name: kfp\n          kubectl_version: v1.29.2\n          version: v0.22.0\n          node_image: kindest/node:v1.29.2\n\n      - name: Build images\n        run: ./scripts/deploy/github/build-images.sh\n\n      - name: Deploy KFP\n        run: ./scripts/deploy/github/deploy-kfp.sh\n\n      - name: Forward API port\n        run: ./scripts/deploy/github/forward-port.sh \"kubeflow\" \"ml-pipeline\" 8888 8888\n\n      - name: Initialization tests v1\n        working-directory: ./backend/test/initialization\n        run: go test -v ./... -namespace kubeflow -args -runIntegrationTests=true\n\n      - name: Initialization tests v2\n        working-directory: ./backend/test/v2/initialization\n        run: go test -v ./... -namespace kubeflow -args -runIntegrationTests=true\n\n      - name: API integration tests v1\n        working-directory: ./backend/test/integration\n        run: go test -v ./... -namespace ${NAMESPACE} -args -runIntegrationTests=true\n\n      - name: API integration tests v2\n        working-directory: ./backend/test/v2/integration\n        run: go test -v ./... -namespace ${NAMESPACE} -args -runIntegrationTests=true\n\n      - name: Forward Frontend port\n        run: ./scripts/deploy/github/forward-port.sh \"kubeflow\" \"ml-pipeline-ui\" 3000 3000\n\n      - name: Build frontend integration tests image\n        working-directory: ./test/frontend-integration-test\n        run: docker build . -t kfp-frontend-integration-test:local\n\n      - name: Frontend integration tests\n        run: docker run --net=host kfp-frontend-integration-test:local --remote-run true\n\n      - name: Basic sample tests - sequential\n        run: pip3 install -r ./test/sample-test/requirements.txt && pip3 install kfp~=2.0 && python3 ./test/sample-test/sample_test_launcher.py sample_test run_test --namespace kubeflow --test-name sequential --results-gcs-dir output\n\n#      Disabled while https://github.com/kubeflow/pipelines/issues/10885 is not resolved\n#      - name: Basic sample tests - exit_handler\n#        run: pip3 install -r ./test/sample-test/requirements.txt && pip3 install kfp~=2.0 && python3 ./test/sample-test/sample_test_launcher.py sample_test run_test --namespace kubeflow --test-name exit_handler --results-gcs-dir output\n\n      - name: Collect test results\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: kfp-backend-artifacts\n          path: /tmp/tmp.*/*\n", "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:08.390753", "created_at": "2024-06-18T23:03:25+02:00", "updated_at": "2024-07-01T18:12:46+02:00", "name": "Frontend Tests", "path": ".github/workflows/frontend.yml", "contents": null, "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:09.397315", "created_at": "2024-06-18T22:26:01+02:00", "updated_at": "2024-06-18T22:26:01+02:00", "name": "k8s execution tests", "path": ".github/workflows/kfp-kubernetes-execution-tests.yml", "contents": null, "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:10.450137", "created_at": "2024-07-09T23:38:43+02:00", "updated_at": "2024-07-10T16:30:15+02:00", "name": "KFP Runtime Code Tests", "path": ".github/workflows/kfp-sdk-runtime-tests.yml", "contents": null, "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:11.586886", "created_at": "2024-04-25T15:32:00+02:00", "updated_at": "2024-05-09T21:50:47+02:00", "name": "Periodic Functional Tests", "path": ".github/workflows/periodic.yml", "contents": "name: Periodic Functional Tests\n\non:\n  schedule:\n    - cron: '0 0 * * *' # Run every day at midnight\n\njobs:\n  run_tests:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Create k8s Kind Cluster\n        uses: container-tools/kind-action@v2\n        with:\n          cluster_name: kfp-tekton\n          kubectl_version: v1.29.2\n          version: v0.22.0\n          node_image: kindest/node:v1.29.2\n      - name: Run Functional Tests\n        run: |\n          log_dir=$(mktemp -d)\n          ./test/kfp-functional-test/kfp-functional-test.sh > $log_dir/periodic_tests.txt\n      - name: Collect test results\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: periodic-functional-artifacts\n          path: /tmp/tmp.*/*\n", "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:12.615945", "created_at": "2024-06-05T21:39:09+02:00", "updated_at": "2024-06-05T23:14:05+02:00", "name": "KFP Backend Tests", "path": ".github/workflows/presubmit-backend.yml", "contents": "name: KFP Backend Tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'backend/**'\n      - 'test/presubmit-backend-test.sh'\n\njobs:\n  backend-tests:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n\n    - name: Set up Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: '1.21'\n\n    - name: Run Backend Tests\n      run: ./test/presubmit-backend-test.sh\n", "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:13.717846", "created_at": "2024-07-02T22:32:46+02:00", "updated_at": "2024-07-02T22:32:46+02:00", "name": "Re-Run PR tests", "path": ".github/workflows/rerun-pr-jobs.yaml", "contents": null, "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:14.734456", "created_at": "2024-07-02T15:42:02+02:00", "updated_at": "2024-07-02T15:42:02+02:00", "name": "KFP SDK execution tests", "path": ".github/workflows/sdk-execution.yml", "contents": null, "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:15.752054", "created_at": "2024-07-09T21:55:03+02:00", "updated_at": "2024-07-09T22:27:14+02:00", "name": "KFP SDK Upgrade Test", "path": ".github/workflows/sdk-upgrade.yml", "contents": null, "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:16.743712", "created_at": "2024-06-26T15:46:56+02:00", "updated_at": "2024-06-29T16:06:44+02:00", "name": "KFP SDK YAPF Tests", "path": ".github/workflows/sdk-yapf.yml", "contents": null, "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:17.814154", "created_at": "2023-08-08T21:07:01+02:00", "updated_at": "2023-08-08T21:07:01+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '39 7 * * *'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v5\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        days-before-stale: 60\n        days-before-close: 21\n        stale-issue-message: >\n          This issue has been automatically marked as stale because it has not had\n          recent activity. It will be closed if no further activity occurs. Thank you\n          for your contributions.\n        close-issue-message: >\n          This issue has been automatically closed because it has not had recent\n          activity. Please comment \"/reopen\" to reopen it.\n        stale-issue-label: 'lifecycle/stale'\n        exempt-issue-labels: lifecycle/frozen\n        exempt-pr-labels: lifecycle/frozen\n        # Learn more about operations: https://github.com/actions/stale#operations-per-run.\n        operations-per-run: 200", "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:18.941527", "created_at": "2024-06-20T21:33:00+02:00", "updated_at": "2024-07-01T15:02:45+02:00", "name": "KFP upgrade tests", "path": ".github/workflows/upgrade-test.yml", "contents": null, "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:19.977859", "created_at": "2023-08-10T00:33:27+02:00", "updated_at": "2023-08-10T00:33:27+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "kubeflow/pipelines"}
{"mined_at": "2024-07-15T15:40:22.067687", "created_at": "2022-06-24T09:30:50+02:00", "updated_at": "2024-07-08T14:00:00+02:00", "name": "Backend associated test file check", "path": ".github/workflows/backend_associated_test_file_check.yml", "contents": "name: Backend associated test file check\non:\n  merge_group:\n    types: [checks_requested]\n  push:\n    branches:\n      - develop\n      - release-*\n  pull_request:\n    branches:\n      - develop\n      - release-*\n\njobs:\n  run_tests:\n    name: Run backend associated test file checks\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n      - uses: ./.github/actions/merge\n      - name: Cache node modules and third_party/static\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: |\n            /home/runner/work/oppia/yarn_cache\n            /home/runner/work/oppia/oppia/third_party/static\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock', 'dependencies.json') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      - uses: ./.github/actions/install-oppia-dependencies\n      - name: Run backend associated test file check\n        run: PYTHONIOENCODING=utf-8 python -m scripts.check_backend_associated_test_file\n      - name: Report failure if failed on oppia/oppia develop branch\n        if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"Some backend files lack an associated test file.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:23.158293", "created_at": "2020-06-28T03:26:43+02:00", "updated_at": "2024-07-08T14:00:00+02:00", "name": "Backend tests", "path": ".github/workflows/backend_tests.yml", "contents": "name: Backend tests\non:\n  merge_group:\n    types: [checks_requested]\n  push:\n    branches:\n      - develop\n      - release-*\n  pull_request:\n    branches:\n      - develop\n      - release-*\n\njobs:\n  run_tests:\n    name: Run backend tests\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n        shard: [1, 2, 3, 4, 5]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n      - name: Cache node modules and third_party/static\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: |\n            /home/runner/work/oppia/yarn_cache\n            /home/runner/work/oppia/oppia/third_party/static\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock', 'dependencies.json') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      - uses: ./.github/actions/install-oppia-dependencies\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n      - name: Install packages for optimized coverage\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: sudo apt-get install -y python-dev-is-python3 gcc\n      - name: Install coverage and configparser\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: pip install coverage configparser\n      - name: Run backend test shard\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: PYTHONIOENCODING=utf-8 python -m scripts.run_backend_tests --generate_coverage_report --ignore_coverage --exclude_load_tests --test_shard ${{ matrix.shard }}\n      - name: Report failure if failed on oppia/oppia develop branch\n        if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"A backend test failed on the upstream develop branch.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n      - name: Upload coverage report\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ format('backend_test_coverage_shard_{0}', matrix.shard) }}\n          path: .coverage\n          retention-days: 1\n  check_combined_coverage:\n    name: Check combined backend test coverage\n    needs: run_tests\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n      - name: Cache node modules\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: /home/runner/work/oppia/yarn_cache\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      # We need this so that we can check coverage of autogenerated code\n      - uses: ./.github/actions/install-oppia-dependencies\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n      - name: Install coverage\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: pip install coverage\n      - name: Download coverage report for shard 1\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        uses: actions/download-artifact@v3\n        with:\n          name: backend_test_coverage_shard_1\n          path: coverage/coverage_1\n      - name: Download coverage report for shard 2\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        uses: actions/download-artifact@v3\n        with:\n          name: backend_test_coverage_shard_2\n          path: coverage/coverage_2\n      - name: Download coverage report for shard 3\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        uses: actions/download-artifact@v3\n        with:\n          name: backend_test_coverage_shard_3\n          path: coverage/coverage_3\n      - name: Download coverage report for shard 4\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        uses: actions/download-artifact@v3\n        with:\n          name: backend_test_coverage_shard_4\n          path: coverage/coverage_4\n      - name: Download coverage report for shard 5\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        uses: actions/download-artifact@v3\n        with:\n          name: backend_test_coverage_shard_5\n          path: coverage/coverage_5\n      - name: Move coverage reports from artifact folders to coverage folder\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        shell: bash\n        run: |\n          for i in {1..5}; do cp coverage/coverage_$i/.coverage coverage/.coverage.$i; done\n      - name: Combine coverage reports\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        shell: bash\n        run: coverage combine coverage/.coverage.*\n      - name: Check coverage\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        shell: bash\n        run: PYTHONIOENCODING=utf-8 python -m scripts.check_overall_backend_test_coverage\n      - name: Report failure if failed on oppia/oppia develop branch\n        if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"Backend coverage checks failed on the upstream develop branch.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:24.198274", "created_at": "2024-06-18T08:39:22+02:00", "updated_at": "2024-06-28T03:10:13+02:00", "name": "Checks CI Test Suites To Run", "path": ".github/workflows/check_test_suites_to_run.yml", "contents": null, "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:25.303346", "created_at": "2022-10-05T10:25:46+02:00", "updated_at": "2024-07-09T01:39:44+02:00", "name": "Broadcast 'push to develop' event to our release-scripts repo", "path": ".github/workflows/develop_commit_notification.yml", "contents": "name: Broadcast 'push to develop' event to our release-scripts repo\non:\n  push:\n    branches:\n      - develop\n\njobs:\n  send_notification:\n    name: Send notification\n    runs-on: ubuntu-22.04\n    if: github.repository == 'oppia/oppia'\n    steps:\n      - name: Generate token\n        id: generate_token\n        uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92\n        with:\n          app_id: ${{ secrets.NOTIFICATIONS_TOKEN_GENERATOR_GH_APP_ID }}\n          private_key: ${{ secrets.NOTIFICATIONS_TOKEN_GENERATOR_GH_APP_PRIVATE_KEY }}\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@87c5425cae5ba8b5bc7da27674076c78588babf3\n        env:\n          VERSION: ${{ format('auto-{0}', github.sha) }}\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n          repository: oppia/release-scripts\n          event-type: develop-commit\n          client-payload: '{\n            \"version\": \"${{ env.VERSION }}\",\n            \"app_name\": \"oppiaserver-backup-migration\",\n            \"maintenance_mode\": \"false\",\n            \"sha\": \"${{ github.sha }}\",\n            \"build_was_manually_triggered\": \"false\",\n            \"repo_owner\": \"${{ github.repository_owner }}\"\n          }'\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:26.429810", "created_at": "2023-09-02T06:14:58+02:00", "updated_at": "2023-09-02T06:14:58+02:00", "name": "Docker Setup Test in prod mode", "path": ".github/workflows/docker_server_prod_mode.yml", "contents": null, "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:27.453746", "created_at": "2023-06-20T22:57:18+02:00", "updated_at": "2024-07-08T14:00:00+02:00", "name": "Docker Setup Test", "path": ".github/workflows/docker_setup.yml", "contents": "name: Docker Setup Test\non:\n  merge_group:\n    types: [checks_requested]\n  push:\n    branches:\n      - develop\n      - release-*\n  pull_request:\n    branches:\n      - develop\n      - release-*\n\njobs:\n  build:\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n    steps:\n      - name: Checkout to the Oppia repository code\n        uses: actions/checkout@v3\n\n      - uses: ./.github/actions/merge\n\n      - name: Build Images\n        run: |\n          echo ---Building Docker Images---\n          docker compose build\n          \n      - name: Start Containers\n        run: |\n          echo ---Starting Containers---\n          docker compose up angular-build -d\n          docker compose up -d\n\n      - name: Checking server reachability\n        run: |\n          for i in {1..50}; do\n            if curl -s http://localhost:8181/; then\n              echo ---Dev-server is up---\n              exit 0\n            else\n              echo ---Retrying in 30 seconds---\n              sleep 30\n            fi\n          done\n          echo ---Dev-server is not started after all retries---\n          exit 1\n          \n      - name: Stop Containers\n        run: docker compose down\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:28.687399", "created_at": "2023-02-21T18:07:30+01:00", "updated_at": "2023-04-20T11:22:17+02:00", "name": "End-to-End and Lighthouse CI performance tests", "path": ".github/workflows/e2e_and lighthouse_performance_tests.yml", "contents": null, "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:29.805680", "created_at": "2023-04-24T17:17:54+02:00", "updated_at": "2024-07-05T04:29:53+02:00", "name": "End-to-End, Lighthouse CI performance and Acceptance tests", "path": ".github/workflows/e2e_lighthouse_performance_acceptance_tests.yml", "contents": "name: End-to-End, Lighthouse CI performance and Acceptance tests\non:\n  merge_group:\n    types: [checks_requested]\n  push:\n    branches:\n      - develop\n      - release-*\n  pull_request:\n    branches:\n      - develop\n      - release-*\n\njobs:\n  build:\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n          cache: 'pip'\n          cache-dependency-path: |\n            requirements.in\n            requirements.txt\n            requirements_dev.in\n            requirements_dev.txt\n      - uses: ./.github/actions/merge\n      - name: Cache node modules and third_party/static\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: |\n            /home/runner/work/oppia/yarn_cache\n            /home/runner/work/oppia/oppia/third_party/static\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock', 'dependencies.json') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      - uses: ./.github/actions/install-oppia-dependencies\n      - name: Install chrome\n        run: python -m scripts.install_chrome_for_ci\n      - name: Install ffmpeg\n        run: sudo apt install ffmpeg\n      - name: Build Webpack\n        run: python -m scripts.build --prod_env\n      - name: Zip build files\n        # We avoid using ../ or absolute paths because unzip treats these as\n        # security issues and will refuse to follow them.\n        run: |\n          zip -rqy build_files.zip oppia/third_party oppia_tools oppia/build oppia/webpack_bundles oppia/proto_files oppia/app.yaml oppia/assets/hashes.json oppia/proto_files oppia/extensions/classifiers/proto/* oppia/backend_prod_files oppia/dist\n        working-directory: /home/runner/work/oppia\n      - name: Upload build files artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: build_files\n          path: /home/runner/work/oppia/build_files.zip\n          retention-days: 1\n  e2e_test:\n    needs: build\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n        suite:\n          - name: accessibility\n          - name: additionalEditorFeatures\n          - name: additionalEditorFeaturesModals\n          - name: additionalPlayerFeatures\n          - name: adminPage\n          - name: blogDashboard\n          - name: blog\n          - name: checkpointFeatures\n          - name: classroomPage\n          - name: classroomPageFileUploadFeatures\n          - name: collections\n          - name: contributorDashboard\n          - name: contributorAdminDashboard\n          - name: coreEditorAndPlayerFeatures\n          - name: creatorDashboard\n          - name: embedding\n          - name: explorationFeedbackTab\n          - name: explorationImprovementsTab\n          - name: explorationHistoryTab\n          - name: explorationStatisticsTab\n          - name: explorationTranslationTab\n          - name: extensions\n          - name: featureGating\n          - name: feedbackUpdates\n          - name: fileUploadExtensions\n          - name: fileUploadFeatures\n            flaky_indicators: |\n              Play record button is not clickable\n              Translation tab button is not clickable\n          - name: learner\n          - name: learnerDashboard\n          - name: library\n          - name: navigation\n          - name: playVoiceovers\n          - name: preferences\n          - name: profileFeatures\n          - name: profileMenu\n          - name: publication\n          - name: skillEditor\n          - name: subscriptions\n          - name: topicsAndSkillsDashboard\n          - name: topicAndStoryEditor\n          - name: topicAndStoryEditorFileUploadFeatures\n          - name: topicAndStoryViewer\n          - name: users\n          - name: wipeout\n    name: e2e_test (${{ matrix.os }}, ${{ matrix.suite.name }})\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n          cache: 'pip'\n          cache-dependency-path: |\n            requirements.in\n            requirements.txt\n            requirements_dev.in\n            requirements_dev.txt\n      - uses: ./.github/actions/merge\n      - name: Cache node modules\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: /home/runner/work/oppia/yarn_cache\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      - name: Attempt to download build files artifact\n        id: download_artifact_1\n        uses: actions/download-artifact@v3\n        continue-on-error: true\n        with:\n          name: build_files\n          path: /home/runner/work/oppia/\n      - name: Unzip build files\n        if: steps.download_artifact_1.outcome != 'failure'\n        run: |\n          ls -la\n          unzip build_files.zip\n          rm build_files.zip\n          echo \"Files in ./:\"\n          ls -la .\n          echo \"Files in oppia_tools:\"\n          ls -la oppia_tools\n          echo \"Files in oppia:\"\n          ls -la oppia\n          echo \"Files in build:\"\n          ls -la oppia/build\n          echo \"Files in third_party:\"\n          ls -la oppia/third_party\n        working-directory: /home/runner/work/oppia\n        shell: bash\n      - uses: ./.github/actions/install-oppia-dependencies\n      - name: Install chrome\n        run: python -m scripts.install_chrome_for_ci\n      - name: Install ffmpeg\n        run: sudo apt install ffmpeg\n      - name: (Artifact re-build) Cache third_party/static\n        if: steps.download_artifact_1.outcome == 'failure'\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: /home/runner/work/oppia/oppia/third_party/static\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('dependencies.json') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      - name: (Artifact re-build) Build Webpack\n        if: steps.download_artifact_1.outcome == 'failure'\n        run: python -m scripts.build --prod_env\n      - name: Run E2E Test ${{ matrix.suite.name }}\n        uses: oppia/retry@a9fb265410e634c84ee90f3e87f323fde0541037\n        with:\n          max_attempts: 2\n          substrings_indicating_flaky_execution: ${{ matrix.suite.flaky_indicators || '' }}\n          command: >\n            VIDEO_RECORDING_IS_ENABLED=0;\n            xvfb-run -a --server-args=\"-screen 0, 1285x1000x24\"\n            python -m scripts.run_e2e_tests --skip-install\n            --skip-build --suite=${{ matrix.suite.name }} --prod_env\n      - name: Uploading webdriverio-video as Artifacts\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: webdriverio-video\n          path: /home/runner/work/oppia/webdriverio-video\n      - name: Uploading webdriverio screenshots as Artifacts\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: webdriverio-screenshots\n          path: /home/runner/work/oppia/webdriverio-screenshots\n      - name: Uploading webpack bundles as an artifact\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: webpack-bundles\n          path: /home/runner/work/oppia/oppia/build\n      - name: Report failure if failed on oppia/oppia develop branch\n        if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"An E2E test failed on the upstream develop branch.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n  lighthouse:\n    needs: build\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n        shard:\n          - name: 1\n            pages_to_run: splash,about,about-foundation,admin,blog-dashboard,community-library,contact,contributor-dashboard,creator-dashboard,creator-guidelines,delete-account,donate,email-dashboard,get-started,learner-dashboard,license,moderator\n          - name: 2\n            pages_to_run: preferences,privacy-policy,profile,signup,teach,topics-and-skills-dashboard,terms,thanks,volunteer,topic-viewer,story-viewer,classroom,exploration-editor,exploration-player,topic-editor,skill-editor,story-editor\n    name: lighthouse (${{ matrix.os }}, ${{ matrix.shard.name }})\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n      - uses: ./.github/actions/merge\n      - name: Cache node modules\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: /home/runner/work/oppia/yarn_cache\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      - name: Attempt to download build files artifact\n        id: download_artifact_1\n        uses: actions/download-artifact@v3\n        continue-on-error: true\n        with:\n          name: build_files\n          path: /home/runner/work/oppia/\n      - name: Unzip build files\n        if: steps.download_artifact_1.outcome != 'failure'\n        run: |\n          ls -la\n          unzip build_files.zip\n          rm build_files.zip\n          echo \"Files in ./:\"\n          ls -la .\n          echo \"Files in oppia_tools:\"\n          ls -la oppia_tools\n          echo \"Files in oppia:\"\n          ls -la oppia\n          echo \"Files in build:\"\n          ls -la oppia/build\n          echo \"Files in third_party:\"\n          ls -la oppia/third_party\n        working-directory: /home/runner/work/oppia\n        shell: bash\n      - name: (Artifact re-build) Cache third_party/static\n        if: steps.download_artifact_1.outcome == 'failure'\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: /home/runner/work/oppia/oppia/third_party/static\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('dependencies.json') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      - name: (Artifact re-build) Build Webpack\n        if: steps.download_artifact_1.outcome == 'failure'\n        run: python -m scripts.build --prod_env\n      - uses: ./.github/actions/install-oppia-dependencies\n      - name: Install chrome\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: python -m scripts.install_chrome_for_ci\n      - name: Run Lighthouse performance checks shard\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: python -m scripts.run_lighthouse_tests --mode performance --skip_build --record_screen --pages ${{ matrix.shard.pages_to_run }}\n      - name: Uploading puppeteer video as Artifacts\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v3\n        with: \n          name: lhci-puppeteer-video\n          path: /home/runner/work/oppia/lhci-puppeteer-video/video.mp4\n      - name: Report failure if failed on oppia/oppia develop branch\n        if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"A Lighthouse test failed on the upstream develop branch.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n  acceptance_test:\n      needs: build\n      runs-on:  ${{ matrix.os }}\n      strategy:\n        matrix:\n          os: [ubuntu-22.04]\n          # TODO(#20467): Add exploration-editor/modify-translations-through-modal spec file\n          # to suites once the exploration_editor_can_modify_translations feature is in prod stage.\n          suite:\n            - blog-admin/assign-roles-to-users-and-change-tag-properties\n            - blog-editor/create-and-delete-draft-blog-post\n            - blog-editor/create-and-publish-a-blog-post-with-required-details\n            - blog-editor/try-to-publish-a-duplicate-blog-post-and-get-blocked\n            - curriculum-admin/create-publish-unpublish-and-delete-topic-and-skill\n            - exploration-editor/create-exploration-and-change-basic-settings\n            - exploration-editor/load-complete-and-restart-exploration-preview\n            - exploration-editor/save-draft-publish-and-discard-the-changes\n            - logged-in-user/subscribe-to-creator-and-view-all-explorations-by-that-creator\n            - logged-out-user/check-all-user-flow-of-donor\n            - logged-out-user/check-all-user-flow-of-parent-teacher\n            - logged-out-user/check-all-user-flow-of-partner\n            - logged-out-user/check-all-user-flow-of-volunteer\n            - logged-out-user/click-all-buttons-on-about-foundation-page\n            - logged-out-user/click-all-buttons-on-about-page\n            - logged-out-user/click-all-buttons-on-contact-us-page\n            - logged-out-user/click-all-buttons-on-donation-thanks-page\n            - logged-out-user/click-all-buttons-on-navbar\n            - logged-out-user/click-all-buttons-on-partnerships-page\n            - logged-out-user/click-all-buttons-on-teach-page\n            - logged-out-user/click-all-buttons-on-volunteer-page\n            - logged-out-user/click-all-links-in-oppia-footer\n            - logged-out-user/click-all-links-on-creator-guidelines-page\n            - logged-out-user/click-all-links-on-get-started-page\n            - logged-out-user/click-all-links-on-privacy-policy-page\n            - logged-out-user/click-all-links-on-terms-page\n            - moderator/edit-featured-activities-list\n            - moderator/view-recent-commits-and-feedback-messages\n            - practice-question-admin/add-and-remove-contribution-rights\n            - release-coordinator/update-promo-bar-message\n            - release-coordinator/flush-and-get-profile-of-redis-cache\n            - super-admin/edit-user-roles\n            - super-admin/load-dummy-data-in-dev-mode\n            - translation-admin/add-and-remove-translation-rights\n            - voiceover-admin/add-voiceover-artist-to-an-exploration\n      steps:\n        - uses: actions/checkout@v3\n        - uses: actions/setup-python@v3\n          with:\n            python-version: '3.8.15'\n            architecture: 'x64'\n            cache: 'pip'\n            cache-dependency-path: |\n              requirements.in\n              requirements.txt\n              requirements_dev.in\n              requirements_dev.txt\n        - uses: ./.github/actions/merge\n        - name: Cache node modules\n          uses: actions/cache@v3\n          env:\n            cache-name: cache-node-modules\n          with:\n            path: /home/runner/work/oppia/yarn_cache\n            key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }}\n            restore-keys: |\n              ${{ runner.os }}-build-${{ env.cache-name }}-\n              ${{ runner.os }}-build-\n              ${{ runner.os }}-\n        - name: Attempt to download build files artifact\n          id: download_artifact_1\n          uses: actions/download-artifact@v3\n          continue-on-error: true\n          with:\n            name: build_files\n            path: /home/runner/work/oppia/\n        - name: Unzip build files\n          if: steps.download_artifact_1.outcome != 'failure'\n          run: |\n            ls -la\n            unzip build_files.zip\n            rm build_files.zip\n            echo \"Files in ./:\"\n            ls -la .\n            echo \"Files in oppia_tools:\"\n            ls -la oppia_tools\n            echo \"Files in oppia:\"\n            ls -la oppia\n            echo \"Files in build:\"\n            ls -la oppia/build\n            echo \"Files in third_party:\"\n            ls -la oppia/third_party\n          working-directory: /home/runner/work/oppia\n          shell: bash\n        - uses: ./.github/actions/install-oppia-dependencies\n        - name: (Artifact re-build) Cache third_party/static\n          if: steps.download_artifact_1.outcome == 'failure'\n          uses: actions/cache@v3\n          env:\n            cache-name: cache-node-modules\n          with:\n            path: /home/runner/work/oppia/oppia/third_party/static\n            key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('dependencies.json') }}\n            restore-keys: |\n              ${{ runner.os }}-build-${{ env.cache-name }}-\n              ${{ runner.os }}-build-\n              ${{ runner.os }}-\n        - name: (Artifact re-build) Build Webpack\n          if: steps.download_artifact_1.outcome == 'failure'\n          run: python -m scripts.build --prod_env\n        - name: Run Desktop Acceptance Test ${{ matrix.suite }}\n          run: xvfb-run -a --server-args=\"-screen 0, 1285x1000x24\" python -m scripts.run_acceptance_tests --skip-build --suite=${{ matrix.suite }} --prod_env\n        - name: Uploading generated test to angular module mapping as an artifact\n          if: ${{ failure() }}\n          uses: actions/upload-artifact@v3\n          with:\n            name: generated-test-to-angular-module-mapping\n            path: /home/runner/work/oppia/oppia/core/tests/test-modules-mappings/acceptance/${{ matrix.suite.name }}-generated.txt\n        - name: Run Mobile Acceptance Test ${{ matrix.suite }}\n          run: xvfb-run -a --server-args=\"-screen 0, 1285x1000x24\" python -m scripts.run_acceptance_tests --skip-build --suite=${{ matrix.suite }} --prod_env --mobile\n        - name: Uploading webpack bundles as an artifact\n          if: ${{ failure() }}\n          uses: actions/upload-artifact@v3\n          with:\n            name: webpack-bundles\n            path: /home/runner/work/oppia/oppia/build\n        - name: Report failure if failed on oppia/oppia develop branch\n          if: ${{\n            failure() &&\n            github.event_name == 'push' &&\n            github.repository == 'oppia/oppia' &&\n            github.ref == 'refs/heads/develop'\n            }}\n          uses: ./.github/actions/send-webhook-notification\n          with:\n            message: \"An acceptance test failed on the upstream develop branch.\"\n            webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:30.787689", "created_at": "2020-08-24T17:44:12+02:00", "updated_at": "2023-04-02T21:41:06+02:00", "name": "End-to-End tests", "path": ".github/workflows/e2e_tests.yml", "contents": null, "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:31.867986", "created_at": "2020-08-18T15:33:40+02:00", "updated_at": "2024-07-08T14:00:00+02:00", "name": "Custom ESLint tests", "path": ".github/workflows/eslint_tests.yml", "contents": "name: Custom ESLint tests\non:\n  merge_group:\n    types: [checks_requested]\n  push:\n    branches:\n      - develop\n      - release-*\n  pull_request:\n    branches:\n      - develop\n      - release-*\n\njobs:\n  run_tests:\n    name: Run Tests for Custom ESLint Checks\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n      - uses: ./.github/actions/merge\n      - name: Cache node modules and third_party/static\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: |\n            /home/runner/work/oppia/yarn_cache\n            /home/runner/work/oppia/oppia/third_party/static\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock', 'dependencies.json') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      - uses: ./.github/actions/install-oppia-dependencies\n      - name: Run ESLint Tests\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: PYTHONIOENCODING=utf-8 python -m scripts.run_custom_eslint_tests\n      - name: Report failure if failed on oppia/oppia develop branch\n        if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"ESLint checks failed on the upstream develop branch.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:32.978967", "created_at": "2020-01-14T10:13:18+01:00", "updated_at": "2024-07-08T14:00:00+02:00", "name": "Frontend Karma tests", "path": ".github/workflows/frontend_tests.yml", "contents": "name: Frontend Karma tests\non:\n  merge_group:\n    types: [checks_requested]\n  push:\n    branches:\n      - develop\n      - release-*\n  pull_request:\n    branches:\n      - develop\n      - release-*\n\njobs:\n  generate-job-strategy-matrix:\n    runs-on: ubuntu-22.04\n    outputs:\n      job-strategy-matrix: ${{ steps.generate.outputs.job-strategy-matrix }}\n    steps:\n      - name: Generate job strategy matrix\n        id: generate\n        env:\n          standard-test-runs: 2\n          flakes-test-runs: 40\n        run: |\n          if ${{ github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n          then\n            JOB_STRATEGY_MATRIX=$(node -e \"let r=[]; for(let i = 1; i <= ${{ env.flakes-test-runs }}; i++) { r.push(i) }; console.log(JSON.stringify(r));\")\n            echo \"job-strategy-matrix=$JOB_STRATEGY_MATRIX\" >> $GITHUB_OUTPUT\n          else\n            JOB_STRATEGY_MATRIX=$(node -e \"let r=[]; for(let i = 1; i <= ${{ env.standard-test-runs }}; i++) { r.push(i) }; console.log(JSON.stringify(r));\")\n            echo \"job-strategy-matrix=$JOB_STRATEGY_MATRIX\" >> $GITHUB_OUTPUT\n          fi\n  frontend-karma-tests:\n    needs: generate-job-strategy-matrix\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      max-parallel: 25\n      matrix:\n        os: [ubuntu-22.04]\n        num_runs: ${{ fromJson(needs.generate-job-strategy-matrix.outputs.job-strategy-matrix) }}\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v3\n      - name: Describe filesystem\n        run: |\n          pwd\n          ls /home/runner/work\n          ls /home/runner/work/oppia\n          ls /home/runner/work/oppia/oppia\n          echo $GITHUB_WORKSPACE\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n      - uses: ./.github/actions/merge\n      - name: Cache node modules and third_party/static\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: |\n            /home/runner/work/oppia/yarn_cache\n            /home/runner/work/oppia/oppia/third_party/static\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock', 'dependencies.json') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      - uses: ./.github/actions/install-oppia-dependencies\n      - name: Suppress ENOSPC error from chokidar file watcher. See https://stackoverflow.com/a/32600959.\n        run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p\n      - name: Run frontend tests ${{ matrix.num_runs }}\n        run: PYTHONIOENCODING=utf-8 python -m scripts.run_frontend_tests --run_minified_tests --skip_install --check_coverage\n      - name: Uploading fronted coverage reports as an artifact\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: frontend-coverage-${{ matrix.num_runs }}\n          path: /home/runner/work/oppia/karma_coverage_reports\n  report-failure:\n    needs: frontend-karma-tests\n    runs-on: ubuntu-22.04\n    if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Report failure if failed on oppia/oppia develop branch\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"A frontend test failed on the upstream develop branch.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:34.116981", "created_at": "2020-09-07T14:56:28+02:00", "updated_at": "2024-07-08T14:00:00+02:00", "name": "Lighthouse CI accessibility tests", "path": ".github/workflows/lighthouse_accessibility.yml", "contents": "name: Lighthouse CI accessibility tests\non:\n  merge_group:\n    types: [checks_requested]\n  push:\n    branches:\n      - develop\n      - release-*\n  pull_request:\n    branches:\n      - develop\n      - release-*\n\njobs:\n  lighthouse:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n        shard:\n          - name: 1\n            pages_to_run: splash,about,about-foundation,admin,blog-dashboard,community-library,contact,contributor-dashboard,creator-dashboard,creator-guidelines,delete-account,donate,email-dashboard,get-started,learner-dashboard,license,moderator\n          - name: 2\n            pages_to_run: preferences,privacy-policy,profile,signup,teach,topics-and-skills-dashboard,terms,thanks,volunteer,topic-viewer,story-viewer,classroom,exploration-editor,exploration-player,topic-editor,skill-editor,story-editor\n    name: lighthouse_accessibility (${{ matrix.os }}, ${{ matrix.shard.name }})\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n      - uses: ./.github/actions/merge\n      # Caching is disabled to avoid poisoning our cache with the\n      # changed lighthouse file.\n      #\n      # - name: Cache node modules\n      #   uses: actions/cache@v3\n      #   env:\n      #     cache-name: cache-node-modules\n      #   with:\n      #     path: /home/runner/work/oppia/yarn_cache\n      #     key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }}\n      #     restore-keys: |\n      #       ${{ runner.os }}-build-${{ env.cache-name }}-\n      #       ${{ runner.os }}-build-\n      #       ${{ runner.os }}-\n      - uses: ./.github/actions/install-oppia-dependencies\n      - run: |\n          # Replace the 1.5 second timeout in lighthouse for retrieving\n          # sourcemaps with a 10 second timeout. This timeout is not\n          # configurable through Lighthouse's exposed API, so we have\n          # resorted to patching the code instead.\n          set -e\n          FILEPATH=$GITHUB_WORKSPACE/node_modules/lighthouse/lighthouse-core/gather/gatherers/source-maps.js\n          SEARCH_TARGET=\"1500\"\n          REPLACEMENT=\"10000\"\n          occurrences=$(grep -c $SEARCH_TARGET $FILEPATH)\n          echo \"Found $occurrences occurrences of '$SEARCH_TARGET'\"\n          # Assert that there is only one match for the target string.\n          # If there are ever zero or multiple matches, the lighthouse\n          # code has changed and this logic needs to be reviewed.\n          [[ $occurrences == \"1\" ]]\n          # Replace the target string with the replacement string.\n          sed -i 's/$SEARCH_TARGET/$REPLACEMENT/' $FILEPATH\n          echo \"Replaced '$SEARCH_TARGET' with '$REPLACEMENT' in $FILEPATH\"\n        shell: bash\n      - name: Install chrome\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: python -m scripts.install_chrome_for_ci\n      - name: Run Lighthouse accessibility checks shard\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: python -m scripts.run_lighthouse_tests --mode accessibility --pages ${{ matrix.shard.pages_to_run }}\n      - name: Report failure if failed on oppia/oppia develop branch\n        if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"A Lighthouse test failed on the upstream develop branch.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:35.294014", "created_at": "2020-09-07T14:56:28+02:00", "updated_at": "2023-04-02T21:41:06+02:00", "name": "Lighthouse CI performance tests", "path": ".github/workflows/lighthouse_performance.yml", "contents": null, "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:36.341006", "created_at": "2019-12-29T23:10:57+01:00", "updated_at": "2024-07-08T14:00:00+02:00", "name": "Lint Checks", "path": ".github/workflows/lint.yml", "contents": "name: Lint Checks\non:\n  merge_group:\n    types: [checks_requested]\n  push:\n    branches:\n      - develop\n      - release-*\n  pull_request:\n    branches:\n      - develop\n      - release-*\n\njobs:\n  lint:\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n        shard: ['other']\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n          cache: 'pip'\n          cache-dependency-path: |\n            requirements.in\n            requirements.txt\n            requirements_dev.in\n            requirements_dev.txt\n      - uses: ./.github/actions/merge\n      - name: Cache node modules and third_party/static\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: |\n            /home/runner/work/oppia/yarn_cache\n            /home/runner/work/oppia/oppia/third_party/static\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock', 'dependencies.json') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      - uses: ./.github/actions/install-oppia-dependencies\n      - name: Third Party Size Check\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: python -m scripts.third_party_size_check\n      - name: Run Lint Checks\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: PYTHONIOENCODING=utf-8 python -m scripts.linters.run_lint_checks --shard ${{ matrix.shard }} --verbose\n      - name: Report failure if failed on oppia/oppia develop branch\n        if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"Lint checks failed on the upstream develop branch.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:37.369342", "created_at": "2020-06-28T18:26:33+02:00", "updated_at": "2024-07-08T13:59:59+02:00", "name": "Oppiabot", "path": ".github/workflows/oppiabot.yml", "contents": "name: Oppiabot\n\non:\n  merge_group:\n    types: [checks_requested]\n  issues:\n    types:\n      - labeled\n  pull_request_target:\n    branches:\n      - develop\n      - release-*\n\njobs:\n  oppiabot:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/actions/merge\n      - name: Github Actions from Oppiabot\n        uses: oppia/oppiabot@1.4.0\n        with:\n          repo-token: ${{secrets.GITHUB_TOKEN}}\n        env:\n          SHEETS_TOKEN: ${{ secrets.SHEETS_TOKEN }}\n          SHEETS_CRED: ${{ secrets.SHEETS_CRED }}\n          SPREADSHEET_ID: ${{ secrets.SPREADSHEET_ID }}\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:38.385241", "created_at": "2021-10-19T16:21:41+02:00", "updated_at": "2024-07-09T18:01:58+02:00", "name": "Send pending review notifications to reviewer on github-discussion", "path": ".github/workflows/pending-review-notification.yml", "contents": "name: Send pending review notifications to reviewer on github-discussion\non:\n  schedule:\n    # Every Tuesday and Thursday at 16:00 UTC.\n    - cron: '0 16 * * 2,4'\n  # GitHub doesn't provide assurance that the scheduled jobs will run on time\n  # (see https://github.community/t/no-assurance-on-scheduled-jobs/133753).\n  # So, we add the workflow_dispatch event here to allow triggering this\n  # workflow manually if needed.\n  workflow_dispatch:\n\njobs:\n  send_notifications:\n    name: Send pending review notifications\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n        # SHA1 hash of the develop commit.\n      - uses: oppia/stale-review-request-notifier@9765c6aac4a37f69cdb2a4ad0078b722d2364b3d\n        with:\n          category-name: Notify\\ Reviewers\n          discussion-title: Pending\\ Reviews\n          repo-token: ${{ secrets.DISCUSSION_NOTIFICATION_TOKEN }}\n          review-turnaround-hours: 48\n      - name: Report if failed\n        if: ${{ failure() }}\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"A pending-review-notification workflow failed.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:39.402486", "created_at": "2024-03-10T10:53:27+01:00", "updated_at": "2024-07-08T14:00:00+02:00", "name": "Check code is formatted with prettier", "path": ".github/workflows/prettier.yml", "contents": "name: Check code is formatted with prettier\non:\n  merge_group:\n    types: [checks_requested]\n  push:\n    branches:\n      - develop\n      - release-*\n  pull_request:\n    branches:\n      - develop\n      - release-*\n\njobs:\n  run_prettier:\n    name: Run prettier on the whole codebase\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n      - uses: ./.github/actions/merge\n      - name: Cache node modules and third_party/static\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: |\n            /home/runner/work/oppia/yarn_cache\n            /home/runner/work/oppia/oppia/third_party/static\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock', 'dependencies.json') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      - uses: ./.github/actions/install-oppia-dependencies\n      - name: Prettify code\n        run: npx prettier --check .\n      - name: Explain how to fix the issue\n        if: ${{ failure() }}\n        run: echo \"Read https://github.com/oppia/oppia/wiki/Formatters to understand how to fix this issue.\"\n      - name: Report failure if failed on oppia/oppia develop branch\n        if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"Prettier formatting failed on the upstream develop branch.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:40.570918", "created_at": "2021-06-19T00:15:51+02:00", "updated_at": "2024-07-08T14:00:00+02:00", "name": "Python type checks", "path": ".github/workflows/python_type_checks.yml", "contents": "name: Python type checks\non:\n  merge_group:\n    types: [checks_requested]\n  push:\n    branches:\n      - develop\n      - release-*\n  pull_request:\n    branches:\n      - develop\n      - release-*\n\njobs:\n  run_tests:\n    name: Run Mypy Type Checks\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n      - name: Install python 2 for GAE\n        run: |\n          sudo apt update\n          sudo apt install python2 -y\n      - uses: ./.github/actions/merge\n      - name: Install Third Party Dependencies\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: python -m scripts.install_third_party_libs\n      - name: Run Mypy type checks\n        if: startsWith(github.head_ref, 'update-changelog-for-release') == false\n        run: PYTHONIOENCODING=utf-8 python -m scripts.run_mypy_checks --skip-install --install-globally\n      - name: Report failure if failed on oppia/oppia develop branch\n        if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"Python type checks failed on the upstream develop branch.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:41.676235", "created_at": "2024-04-04T21:06:22+02:00", "updated_at": "2024-04-04T21:06:22+02:00", "name": "Release Scripts Tests", "path": ".github/workflows/release_tests.yaml", "contents": null, "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:42.820507", "created_at": "2022-05-14T21:48:32+02:00", "updated_at": "2024-06-25T10:19:33+02:00", "name": ".github/workflows/revert-web-wiki-updates.yml", "path": ".github/workflows/revert-web-wiki-updates.yml", "contents": "name: Revert Wiki Changes Made Through the Web Interface\non:\n  gollum:\n  workflow_dispatch:\njobs:\n  revert:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Retrieve authentication token\n        id: get-token\n        # SHA1 hash of the release-v0.0.1 commit.\n        uses: oppia/get-github-app-token@8c3b19db0cdcd0f7fded7dd71e5e0429bf72df1a\n        with:\n          app_id: ${{ secrets.OPPIA_WIKI_SYNCHRONIZER_APP_ID }}\n          private_key: ${{ secrets.OPPIA_WIKI_SYNCHRONIZER_APP_PRIVATE_KEY }}\n      - uses: actions/checkout@v3\n        with:\n          repository: ${{github.repository_owner}}/oppia.wiki\n          token: ${{ steps.get-token.outputs.token }}\n          fetch-depth: 0\n      - name: Add remote\n        run: git remote add source https://github.com/${{github.repository_owner}}/oppia-web-developer-docs.git\n      - name: Fetch remote\n        run: git fetch source\n      - name: Check for differences\n        id: check-diff\n        run: |\n          delimiter=\"$(openssl rand -hex 8)\"\n          echo \"diff<<$delimiter\" >> \"$GITHUB_OUTPUT\"\n          echo $(git log source/develop..origin/master) >> \"$GITHUB_OUTPUT\"\n          echo \"$delimiter\" >> \"$GITHUB_OUTPUT\"\n      - name: Revert commits\n        if: ${{ steps.check-diff.outputs.diff != '' }}\n        run: |\n          git config user.name oppia-wiki-synchronizer[bot]\n          # Email has the form id+name@users.noreply.github.com. The ID\n          # can be retrieved from\n          # https://api.github.com/users/oppia-wiki-synchronizer[bot].\n          git config user.email 102317631+oppia-wiki-synchronizer[bot]@users.noreply.github.com\n          git revert --no-commit source/develop..origin/master\n          msg_file=$(mktemp)\n          echo \"Reverting the following changes made through the web interface:\\n\" > $msg_file\n          git log source/develop..origin/master | while read line; do echo \"    ${line}\"; done >> $msg_file\n          git commit -F $msg_file\n      - name: Merge in development commits\n        if: ${{ steps.check-diff.outputs.diff != '' }}\n        # If a PR in the source repository was merged around the same time as a\n        # change was made to the wiki through the web interface, its deployment\n        # might fail before this job can revert the change. In that case, we\n        # need to merge in those un-deployed changes to both the source and\n        # deployment repositories.\n        run: git merge source/develop\n      - name: Push to deployment repository\n        if: ${{ steps.check-diff.outputs.diff != '' }}\n        run: git push source master:develop\n      - name: Push to source repository\n        if: ${{ steps.check-diff.outputs.diff != '' }}\n        run: git push\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:43.920520", "created_at": "2024-02-22T03:00:09+01:00", "updated_at": "2024-02-22T03:00:09+01:00", "name": "Todo Check", "path": ".github/workflows/todo_check.yml", "contents": null, "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:44.980429", "created_at": "2024-06-27T17:39:35+02:00", "updated_at": "2024-07-08T14:00:00+02:00", "name": "Test coverage and Typescript test", "path": ".github/workflows/typescript_and_e2e_acceptance_coverage.yml", "contents": null, "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:46.496840", "created_at": "2022-11-28T17:14:15+01:00", "updated_at": "2024-07-04T18:10:43+02:00", "name": "End-to-End coverage and Typescript test", "path": ".github/workflows/typescript_and_e2e_coverage.yml", "contents": "name: End-to-End coverage and Typescript test\non:\n  merge_group:\n    types: [checks_requested]\n  push:\n    branches:\n      - develop\n      - release-*\n  pull_request:\n    branches:\n      - develop\n      - release-*\n\njobs:\n  e2e_coverage_and_typescript_tests:\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-22.04]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.15'\n          architecture: 'x64'\n      - uses: ./.github/actions/merge\n      - name: Cache node modules and third_party/static\n        uses: actions/cache@v3\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: |\n            /home/runner/work/oppia/yarn_cache\n            /home/runner/work/oppia/oppia/third_party/static\n          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock', 'dependencies.json') }}\n          restore-keys: |\n            ${{ runner.os }}-build-${{ env.cache-name }}-\n            ${{ runner.os }}-build-\n            ${{ runner.os }}-\n      - uses: ./.github/actions/install-oppia-dependencies\n      - name: Install chrome\n        run: python -m scripts.install_chrome_for_ci\n      - name: Check that all e2e test files are captured in wdio.conf.js\n        run: python -m scripts.check_e2e_tests_are_captured_in_ci\n      - name: Run typescript tests\n        run: python -m scripts.run_typescript_checks\n      - name: Run typescript tests in strict mode\n        run: python -m scripts.run_typescript_checks --strict_checks\n      - name: Report failure if failed on oppia/oppia develop branch\n        if: ${{ failure() && github.event_name == 'push' && github.repository == 'oppia/oppia' && github.ref == 'refs/heads/develop'}}\n        uses: ./.github/actions/send-webhook-notification\n        with:\n          message: \"A typescript test failed on the upstream develop branch.\"\n          webhook-url: ${{ secrets.BUILD_FAILURE_ROOM_WEBHOOK_URL }}\n", "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:47.748794", "created_at": "2024-06-23T05:36:43+02:00", "updated_at": "2024-06-27T15:22:40+02:00", "name": "Test coverage and Typescript test", "path": ".github/workflows/typescript_and_test_coverage.yml", "contents": null, "state": "active", "repository": "oppia/oppia"}
{"mined_at": "2024-07-15T15:40:49.843141", "created_at": "2023-09-22T14:59:12+02:00", "updated_at": "2023-09-22T14:59:12+02:00", "name": "Backport metadata", "path": ".github/workflows/backport.yml", "contents": "name: Backport metadata\n\n# Mergify manages the opening of the backport PR, this workflow is just to extend its behavior to\n# do useful things like copying across the tagged labels and milestone from the base PR.\n\non:\n  pull_request:\n    types:\n      - opened\n    branches:\n      - 'stable/*'\n\njobs:\n  copy_metadata:\n    name: Copy metadata from base PR\n    runs-on: ubuntu-latest\n    if: github.repository == 'Qiskit/qiskit' && github.actor == 'mergify[bot]'\n\n    permissions:\n      pull-requests: write\n\n    steps:\n      - name: Copy metadata\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -e\n          # Split Mergify's ref name (e.g. 'mergify/bp/stable/0.25/pr-10828') on the final '-' to\n          # get the number of the PR that triggered Mergify.\n          IFS='-' read -ra split <<< \"${{ github.event.pull_request.head.ref }}\"\n          base_pr=${split[-1]}\n\n          gh pr --repo \"${{ github.repository }}\" view \"$base_pr\" --json labels,milestone > base_pr.json\n\n          add_labels=\"$(jq --raw-output '[.labels[].name] - [\"stable backport potential\"] | join(\",\")' base_pr.json)\"\n          echo \"New labels: '$add_labels'\"\n\n          milestone=\"$(jq --raw-output '.milestone.title // \"\"' base_pr.json )\"\n          echo \"Milestone: '$milestone'\"\n\n          echo \"Targetting current PR '${{ github.event.number }}'\"\n          # The GitHub API is sometimes weird about empty values - the REST API certainly treats\n          # \"add-label\" with an empty input not as a no-op but as a clear of all labels.\n          if [[ -n \"$add_labels\" && -n \"$milestone\" ]]; then\n            gh pr --repo \"${{ github.repository }}\" edit \"${{ github.event.number }}\" --add-label \"$add_labels\" --milestone \"$milestone\"\n          elif [[ -n \"$add_labels\" ]]; then\n            gh pr --repo \"${{ github.repository }}\" edit \"${{ github.event.number }}\" --add-label \"$add_labels\"\n          elif [[ -n \"$milestone\" ]]; then\n            gh pr --repo \"${{ github.repository }}\" edit \"${{ github.event.number }}\" --milestone \"$milestone\"\n          fi\n", "state": "active", "repository": "qiskit/qiskit"}
{"mined_at": "2024-07-15T15:40:50.954208", "created_at": "2021-10-01T19:06:32+02:00", "updated_at": "2023-04-17T14:04:56+02:00", "name": "Coverage report", "path": ".github/workflows/coverage.yml", "contents": "name: Coverage report\non:\n  push:\n  pull_request:\n    branches: ['main']\nconcurrency:\n  group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }}\n  # Only cancel in PR mode.  In push mode, don't cancel so we don't see spurious test \"failures\",\n  # and we get coverage reports on Coveralls for every push.\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\njobs:\n  coverage:\n    if: github.repository_owner == 'Qiskit'\n    name: Coverage\n    runs-on: ubuntu-latest\n    env:\n      # Override the `rust-toolchain.toml` file because `grcov` has greater requirements.\n      RUSTUP_TOOLCHAIN: stable\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.8'\n\n      - name: Install Rust toolchain\n        uses: dtolnay/rust-toolchain@stable\n        with:\n          components: llvm-tools-preview\n\n      - name: Install dependencies\n        run: |\n            cargo install grcov\n            sudo apt-get install lcov\n\n      # This is needed to support any requirements, particularly in the `optionals` set,\n      # that might not have 'pyproject.toml' files specifying their build requirements.\n      # Modern pip (23.1+) can error out if it doesn't have `wheel` and we ask for one\n      # of these legacy packages.\n      - name: Ensure basic build requirements\n        run: python -m pip install -c constraints.txt --upgrade pip setuptools wheel\n\n      - name: Build and install qiskit-terra\n        run: python -m pip install -c constraints.txt -e .\n        env:\n          CARGO_INCREMENTAL: 0\n          RUSTFLAGS: \"-Cinstrument-coverage\"\n          LLVM_PROFILE_FILE: \"qiskit-%p-%m.profraw\"\n          SETUPTOOLS_ENABLE_FEATURES: \"legacy-editable\"\n\n      - name: Generate unittest coverage report\n        run: |\n          set -e\n          python -m pip install -c constraints.txt -r requirements-dev.txt -r requirements-optional.txt\n          python tools/report_numpy_state.py\n          stestr run\n          # We set the --source-dir to '.' because we want all paths to appear relative to the repo\n          # root (we need to combine them with the Python ones), but we only care about `grcov`\n          # keeping the `crates/*` files; we don't care about coverage in dependencies.\n          grcov . --binary-path target/debug/ --source-dir . --output-type lcov --output-path rust.info --llvm --branch --parallel --keep-only 'crates/*'\n        env:\n          QISKIT_TEST_CAPTURE_STREAMS: 1\n          QISKIT_PARALLEL: FALSE\n          PYTHON: \"coverage run --source qiskit --parallel-mode\"\n\n      - name: Convert to lcov and combine data\n        run: |\n          set -e\n          coverage combine\n          coverage lcov -o python.info\n          lcov --add-tracefile python.info --add-tracefile rust.info --output-file coveralls.info\n\n      - name: Coveralls\n        uses: coverallsapp/github-action@master\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          path-to-lcov: coveralls.info\n", "state": "active", "repository": "qiskit/qiskit"}
{"mined_at": "2024-07-15T15:40:52.212313", "created_at": "2023-08-14T22:53:22+02:00", "updated_at": "2023-08-14T22:53:22+02:00", "name": "Documentation", "path": ".github/workflows/docs_deploy.yml", "contents": "name: Documentation\non:\n  push:\n    branches:\n      - main\n    tags:\n      # Only match non-prerelease tags.\n      - '[0-9]+.[0-9]+.[0-9]'\n  workflow_dispatch:\n\njobs:\n  build:\n    if: github.repository_owner == 'Qiskit'\n    name: Build\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # We need to fetch the whole history so 'reno' can do its job and we can inspect tags.\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          # Sync with 'documentationPythonVersion' in 'azure-pipelines.yml'.\n          python-version: '3.9'\n\n      - name: Install dependencies\n        run: tools/install_ubuntu_docs_dependencies.sh\n\n      - name: Determine GitHub branch name\n        run: |\n          # Tags like 1.0.0 and 1.0.0rc1 should point to their stable branch. We do this\n          # to reduce the diff in the qiskit/documentation repository between generating\n          # the API docs from a tag release versus a workflow_dispatch.\n          if [[ $GITHUB_REF_NAME =~ ^([0-9]+\\.[0-9]+) ]]; then\n            BRANCH_NAME=\"stable/${BASH_REMATCH[1]}\"\n          else\n              BRANCH_NAME=\"$GITHUB_REF_NAME\"\n          fi\n          echo \"Using branch '${BRANCH_NAME}' for GitHub source code links\"\n          echo \"QISKIT_DOCS_GITHUB_BRANCH_NAME=$BRANCH_NAME\" >> $GITHUB_ENV\n\n      - name: Build documentation\n        run: tox run -e docs\n      - name: Store built documentation artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: qiskit-docs\n          path: |\n            ./docs/_build/html/*\n            !**/.doctrees\n            !**/.buildinfo\n          if-no-files-found: error\n", "state": "active", "repository": "qiskit/qiskit"}
{"mined_at": "2024-07-15T15:40:53.244949", "created_at": "2023-12-08T21:55:44+01:00", "updated_at": "2024-04-26T18:12:26+02:00", "name": "Miri", "path": ".github/workflows/miri.yml", "contents": "name: Miri\non:\n  push:\n  pull_request:\nconcurrency:\n  group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }}\n  # Only cancel in PR mode.  In push mode, don't cancel so we don't see spurious test \"failures\",\n  # and we get coverage reports on Coveralls for every push.\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n  miri:\n    if: github.repository_owner == 'Qiskit'\n    name: Miri\n    runs-on: ubuntu-latest\n    env:\n      RUSTUP_TOOLCHAIN: nightly-2024-05-24\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Rust toolchain\n        uses: dtolnay/rust-toolchain@master\n        with:\n          toolchain:  nightly-2024-05-24\n          components: miri\n\n      - name: Prepare Miri\n        run: |\n          set -e\n          # Some of our dependencies aren't Miri-safe with their current release versions.  These\n          # need overriding with known-good versions to run against until the Miri-safe versions are\n          # released and updated in our Cargo.lock.\n          cat >>Cargo.toml <<EOF\n\n          [patch.crates-io]\n          crossbeam-epoch = { git = \"https://github.com/crossbeam-rs/crossbeam\", rev = \"9e859610\" }\n          EOF\n          cargo miri setup\n\n      - name: Run Miri\n        run: cargo miri test\n        env:\n          # - `tree-borrows` is required for crossbeam components.\n          # - `symbolic-alignment-check` is extra checking.\n          # - `strict-provenance` is extra checking.\n          MIRIFLAGS: '-Zmiri-tree-borrows -Zmiri-symbolic-alignment-check -Zmiri-strict-provenance'\n", "state": "active", "repository": "qiskit/qiskit"}
{"mined_at": "2024-07-15T15:40:54.298212", "created_at": "2022-06-16T16:32:00+02:00", "updated_at": "2024-02-28T14:23:40+01:00", "name": "Qiskit Neko Integration Tests", "path": ".github/workflows/neko.yml", "contents": "name: Qiskit Neko Integration Tests\non:\n  push:\n  pull_request:\n    branches: ['main', 'stable/*']\nconcurrency:\n  group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }}\n  # Only cancel in PR mode.  In push mode, don't cancel so we don't see spurious test \"failures\".\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\njobs:\n  neko:\n    if: github.repository_owner == 'Qiskit'\n    name: Qiskit Neko Integration Tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: Qiskit/qiskit-neko@main\n        with:\n          test_selection: terra\n          # We have to forcibly uninstall any old version of qiskit or qiskit-terra during the\n          # changeover, because it's not possible to safely upgrade an existing installation to 1.0.\n          repo_install_command: \"pip uninstall -y qiskit qiskit-terra && pip install -c constraints.txt .\"\n", "state": "active", "repository": "qiskit/qiskit"}
{"mined_at": "2024-07-15T15:40:55.426946", "created_at": "2021-10-11T13:17:49+02:00", "updated_at": "2023-04-18T05:42:33+02:00", "name": "Randomized tests", "path": ".github/workflows/randomized_tests.yml", "contents": "name: Randomized tests\non:\n  schedule:\n    - cron:  '42 3 * * *'\n  workflow_dispatch:\njobs:\n  randomized_tests:\n    if: github.repository_owner == 'Qiskit'\n    name: Randomized tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.8'\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip setuptools wheel\n          python -m pip install -U \\\n            -c constraints.txt \\\n            -r requirements.txt \\\n            -r requirements-dev.txt \\\n            coveralls \\\n            qiskit-aer \\\n            -e .\n      - name: Run randomized tests\n        run: make test_randomized\n        env:\n          RUST_BACKTRACE: 1\n      - name: Create comment on failed test run\n        if: ${{ failure() }}\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          issue-number: 2645\n          body: |\n            Randomized tests failed at commit ${{ github.sha }}.\n\n            _Logs_: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}.\n", "state": "active", "repository": "qiskit/qiskit"}
{"mined_at": "2024-07-15T15:40:56.627649", "created_at": "2022-11-22T22:41:14+01:00", "updated_at": "2023-04-18T05:48:44+02:00", "name": "Slow nightly tests", "path": ".github/workflows/slow.yml", "contents": "name: Slow nightly tests\non:\n  schedule:\n    - cron:  '42 3 * * *'\n  workflow_dispatch:\njobs:\n  slow-tests:\n    if: github.repository_owner == 'Qiskit'\n    name: Full-test-run-with-slow\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip setuptools wheel\n          python -m pip install -U -r requirements.txt -c constraints.txt\n          python -m pip install -U -r requirements-dev.txt -c constraints.txt\n          python -m pip install -c constraints.txt -e .\n          python -m pip install \"qiskit-aer\" \"z3-solver\" \"cplex\" -c constraints.txt\n        env:\n          SETUPTOOLS_ENABLE_FEATURES: \"legacy-editable\"\n      - name: Run all tests including slow\n        run: stestr run\n        env:\n          RUST_BACKTRACE: 1\n          QISKIT_TESTS: \"run_slow\"\n      - name: Create comment on failed test run\n        if: ${{ failure() }}\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          issue-number: 7864\n          body: |\n            Nightly slow test run failed at commit ${{ github.sha }}.\n\n            _Logs_: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}.\n", "state": "active", "repository": "qiskit/qiskit"}
{"mined_at": "2024-07-15T15:40:57.698098", "created_at": "2024-03-29T17:14:28+01:00", "updated_at": "2024-05-01T01:57:14+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "---\nname: Tests\non:\n  push:\n    branches: [ main, 'stable/*' ]\n  pull_request:\n    branches: [ main, 'stable/*' ]\n  merge_group:\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: true\njobs:\n  tests:\n    if: github.repository_owner == 'Qiskit'\n    name: macOS-arm64-tests-Python-${{ matrix.python-version }}\n    runs-on: macOS-14\n    strategy:\n      fail-fast: false\n      matrix:\n        # Normally we test min and max version but we can't run python 3.8 or\n        # 3.9 on arm64 until actions/setup-python#808 is resolved\n        python-version: [\"3.10\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Rust toolchain\n        uses: dtolnay/rust-toolchain@1.70\n        if: matrix.python-version == '3.10'\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: arm64\n      - name: 'Install dependencies'\n        run: |\n          python -m pip install -U -r requirements.txt -c constraints.txt\n          python -m pip install -U -r requirements-dev.txt -c constraints.txt\n          python -m pip install -c constraints.txt -e .\n        if: matrix.python-version == '3.10'\n        env:\n          QISKIT_NO_CACHE_GATES: 1\n      - name: 'Install dependencies'\n        run: |\n          python -m pip install -U -r requirements.txt -c constraints.txt\n          python -m pip install -U -r requirements-dev.txt -c constraints.txt\n          python -m pip install -c constraints.txt -e .\n        if: matrix.python-version == '3.12'\n      - name: 'Install optionals'\n        run: |\n          python -m pip install -r requirements-optional.txt -c constraints.txt\n          python tools/report_numpy_state.py\n        if: matrix.python-version == '3.10'\n      - name: 'Run tests'\n        run: stestr run\n", "state": "active", "repository": "qiskit/qiskit"}
{"mined_at": "2024-07-15T15:40:58.762364", "created_at": "2021-07-30T18:13:59+02:00", "updated_at": "2024-07-08T18:13:39+02:00", "name": ".github/workflows/wheels.yml", "path": ".github/workflows/wheels.yml", "contents": "---\nname: Wheel Builds\non:\n  push:\n    tags:\n      - '*'\njobs:\n  build_wheels:\n    name: Build wheels\n    runs-on: ${{ matrix.os }}\n    environment: release\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-11, windows-latest, macos-14]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n        if: matrix.os != 'macos-14'\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n          architecture: arm64\n        if: matrix.os == 'macos-14'\n      - uses: dtolnay/rust-toolchain@stable\n        with:\n          components: llvm-tools-preview\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_BEFORE_BUILD: 'bash ./tools/build_pgo.sh /tmp/pgo-data/merged.profdata'\n          CIBW_BEFORE_BUILD_WINDOWS: 'bash ./tools/build_pgo.sh /tmp/pgo-data/merged.profdata && cp /tmp/pgo-data/merged.profdata ~/.'\n          CIBW_ENVIRONMENT: 'RUSTUP_TOOLCHAIN=\"stable\" RUSTFLAGS=\"-Cprofile-use=/tmp/pgo-data/merged.profdata -Cllvm-args=-pgo-warn-missing-function\"'\n          CIBW_ENVIRONMENT_LINUX: 'PATH=\"$PATH:$HOME/.cargo/bin\" CARGO_NET_GIT_FETCH_WITH_CLI=\"true\" RUSTUP_TOOLCHAIN=\"stable\" RUSTFLAGS=\"-Cprofile-use=/tmp/pgo-data/merged.profdata -Cllvm-args=-pgo-warn-missing-function\"'\n          CIBW_ENVIRONMENT_WINDOWS: 'RUSTUP_TOOLCHAIN=\"stable\" RUSTFLAGS=\"-Cprofile-use=c:\\\\Users\\\\runneradmin\\\\merged.profdata -Cllvm-args=-pgo-warn-missing-function\"'\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./wheelhouse/*.whl\n          name: wheels-${{ matrix.os }}\n  build_wheels_macos_arm_py38:\n    name: Build wheels on macOS arm\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-11]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n      - uses: dtolnay/rust-toolchain@stable\n        with:\n          components: llvm-tools-preview\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_BEFORE_ALL: rustup target add aarch64-apple-darwin\n          CIBW_BUILD: cp38-macosx_universal2 cp38-macosx_arm64\n          CIBW_ARCHS_MACOS: arm64 universal2\n          CIBW_ENVIRONMENT: >-\n            CARGO_BUILD_TARGET=\"aarch64-apple-darwin\"\n            PYO3_CROSS_LIB_DIR=\"/Library/Frameworks/Python.framework/Versions/$(python -c 'import sys; print(str(sys.version_info[0])+\".\"+str(sys.version_info[1]))')/lib/python$(python -c 'import sys; print(str(sys.version_info[0])+\".\"+str(sys.version_info[1]))')\"\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./wheelhouse/*.whl\n          name: wheels-${{ matrix.os }}-arm\n  build_wheels_32bit:\n    name: Build wheels 32bit\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n      - uses: dtolnay/rust-toolchain@stable\n        with:\n          components: llvm-tools-preview\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_SKIP: 'pp* cp36-* cp37-* *musllinux* *amd64 *x86_64'\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./wheelhouse/*.whl\n          name: wheels-${{ matrix.os }}-32\n  upload_shared_wheels:\n    name: Upload shared build wheels\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    needs: [\"build_wheels\", \"build_wheels_32bit\", \"build_wheels_macos_arm_py38\"]\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: 'wheels-*'\n          merge-multiple: true\n          path: deploy\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: deploy\n  build_wheels_s390x:\n    name: Build wheels on s390x\n    runs-on: ${{ matrix.os }}\n    environment: release\n    permissions:\n      id-token: write\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n      - uses: dtolnay/rust-toolchain@stable\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_ARCHS_LINUX: s390x\n          CIBW_TEST_SKIP: \"cp*\"\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels-${{ matrix.os }}-s390x\n          path: ./wheelhouse/*.whl\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: wheelhouse/\n  build_wheels_ppc64le:\n    name: Build wheels on ppc64le\n    runs-on: ${{ matrix.os }}\n    environment: release\n    permissions:\n      id-token: write\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n      - uses: dtolnay/rust-toolchain@stable\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_ARCHS_LINUX: ppc64le\n          CIBW_TEST_SKIP: \"cp*\"\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels-${{ matrix.os }}-ppc64le\n          path: ./wheelhouse/*.whl\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: wheelhouse/\n  build_wheels_aarch64:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    environment: release\n    permissions:\n      id-token: write\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n      - uses: dtolnay/rust-toolchain@stable\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_ARCHS_LINUX: aarch64\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels-${{ matrix.os }}-aarch64\n          path: ./wheelhouse/*.whl\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: wheelhouse/\n  sdist:\n    name: Build and publish sdist\n    runs-on: ${{ matrix.os }}\n    needs: [\"upload_shared_wheels\"]\n    environment: release\n    permissions:\n      id-token: write\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n      - name: Install deps\n        run: pip install -U build\n      - name: Build sdist\n        run: python -m build . --sdist\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "qiskit/qiskit"}
{"mined_at": "2024-07-15T15:40:59.886323", "created_at": "2023-09-07T19:46:16+02:00", "updated_at": "2023-09-07T19:46:16+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "qiskit/qiskit"}
{"mined_at": "2024-07-15T15:41:02.007140", "created_at": "2020-04-02T12:28:02+02:00", "updated_at": "2022-11-20T05:58:17+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Build\n\non:\n  push:\n    branches:\n      - main\n      - 'test_*'\n  pull_request:\n    branches:\n      - main\n\njobs:\n  cancel-previous:\n    name: Cancel Previous Runs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cancel previous\n        uses: styfle/cancel-workflow-action@0.10.1\n        if: ${{github.ref != 'refs/head/main'}}\n        with:\n          access_token: ${{ github.token }}\n  pre-commit:\n    name: Test pre-commit hooks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - uses: pre-commit/action@v2.0.3\n  commit-count:\n    name: Check commit count\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    # We allow at most 5 commits in a branch to ensure our CI doesn't break.\n    - name: Check commit count in PR\n      if: always()\n      shell: bash\n      run: |\n        set -x\n        # $GITHUB_REF is in format `refs/heads/<branch_name>`. We fetch it under\n        # the name `commit-count` so we can refer to it below.\n        # Do an unshallow fetch so we retrieve all commits (this is necessary\n        # because ations/checkout@v2 fetches a shallow copy).\n        git fetch origin --unshallow $GITHUB_REF:commit-count\n        git fetch origin main\n        diff=$(git rev-list --count origin/main...commit-count)\n        # $GITHUB_REF adds an additional commit to the commit tree, so $diff is\n        # one too high when executing this as a Github Action.\n        if (( $diff > 6)); then\n          echo \"ERROR! More than 5 commits in PR -- please squash your commits.\"\n          url=https://flax.readthedocs.io/en/latest/contributing.html#too-many-commits-in-a-pull-request\n          echo \"See $url for help on how to resolve this.\"\n          exit 1\n        fi\n  test-import:\n    name: Test import standalone\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.10', '3.11']\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install standalone dependencies only\n      run: |\n        pip install -e .[all]\n    - name: Test importing Flax\n      run: |\n        python -c \"import flax\"\n  tests:\n    name: Run Tests\n    needs: [cancel-previous, pre-commit, commit-count, test-import]\n    runs-on: ubuntu-20.04-16core\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.10', '3.11']\n        test-type: [doctest, pytest, pytype, mypy]\n        exclude:\n          - test-type: pytype\n            python-version: '3.9'\n          - test-type: pytype\n            python-version: '3.10'\n          - test-type: mypy\n            python-version: '3.11'\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      id: setup_python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Get week and year\n      id: date_key\n      run: echo \"DATE=$(date +%j)\" >> $GITHUB_OUTPUT\n    # TODO(cgarciae): caching is breaking the install step, disabling for now.\n    # - name: Cached virtual environment\n    #   id: venv_cache\n    #   uses: actions/cache@v3\n    #   with:\n    #     path: venv\n    #     key: pip-${{ steps.setup_python.outputs.python-version }}-${{ steps.date_key.outputs.DATE }}-${{ hashFiles('**/requirements.txt', 'pyproject.toml') }}\n    - name: Install Dependencies for cache\n      if: steps.venv_cache.outputs.cache-hit != 'true'\n      run: |\n        if [ -d \"venv\" ]; then rm -rf venv; fi\n        python3 -m venv venv\n        venv/bin/python3 -m pip install .[all,testing]\n        venv/bin/python3 -m pip install tensorflow_datasets[dev]\n        venv/bin/python3 -m pip install -r docs/requirements.txt\n    - name: Install Flax\n      run: |\n        venv/bin/python3 -m pip install -e .[all,testing]\n        venv/bin/python3 -m pip install -U jax jaxlib # Ensure we have the latest JAX\n    - name: Cached mypy cache\n      id: mypy_cache\n      uses: actions/cache@v3\n      if: matrix.test-type == 'mypy'\n      with:\n        path: .mypy_cache\n        key: mypy-${{ steps.setup_python.outputs.python-version }}-${{ steps.date_key.outputs.DATE }}\n    - name: Test with ${{ matrix.test-type }}\n      run: |\n        if [[ \"${{ matrix.test-type }}\" == \"doctest\" ]]; then\n          tests/run_all_tests.sh --no-pytest --no-pytype --no-mypy --use-venv\n        elif [[ \"${{ matrix.test-type }}\" == \"pytest\" ]]; then\n          tests/run_all_tests.sh --no-doctest --no-pytype --no-mypy --with-cov --use-venv\n        elif [[ \"${{ matrix.test-type }}\" == \"pytype\" ]]; then\n          tests/run_all_tests.sh --no-doctest --no-pytest --no-mypy --use-venv\n        elif [[ \"${{ matrix.test-type }}\" == \"mypy\" ]]; then\n          tests/run_all_tests.sh --no-doctest --no-pytest --no-pytype --use-venv\n        else\n          echo \"Unknown test type: ${{ matrix.test-type }}\"\n          exit 1\n        fi\n    - name: Upload coverage to Codecov\n      if: matrix.test-type == 'pytest'\n      uses: codecov/codecov-action@v4\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      with:\n        file: ./coverage.xml\n    # The below step just reports the success or failure of tests as a \"commit status\".\n    # This is needed for copybara integration.\n    - name: Report success or failure as github status\n      if: always()\n      shell: bash\n      run: |\n        status=\"${{ job.status }}\"\n        lowercase_status=$(echo $status | tr '[:upper:]' '[:lower:]')\n        curl -sS --request POST \\\n        --url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \\\n        --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \\\n        --header 'content-type: application/json' \\\n        --data '{\n           \"state\": \"'$lowercase_status'\",\n           \"target_url\": \"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\n           \"description\": \"'$status'\",\n           \"context\": \"github-actions/Build\"\n           }'\n", "state": "active", "repository": "google/flax"}
{"mined_at": "2024-07-15T15:41:03.117392", "created_at": "2020-03-18T11:43:07+01:00", "updated_at": "2020-03-18T11:43:07+01:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools build wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python -m build\n        twine upload dist/*\n", "state": "active", "repository": "google/flax"}
{"mined_at": "2024-07-15T15:41:04.132872", "created_at": "2023-08-01T22:04:01+02:00", "updated_at": "2023-08-01T22:04:01+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/flax"}
{"mined_at": "2024-07-15T15:41:06.268294", "created_at": "2022-04-28T22:25:14+02:00", "updated_at": "2023-05-12T15:34:28+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non:\n  - push\n  - pull_request\n\njobs:\n  test-build:\n    uses: nextstrain/.github/.github/workflows/pathogen-repo-ci.yaml@v0\n    with:\n      build-args: all_regions -j 2 --profile nextstrain_profiles/nextstrain-ci\n\n  test-cram:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - run: pip install cram nextstrain-augur\n      - run: cram --shell=/bin/bash tests/sanitize-metadata.t\n\n  docs:\n    uses: nextstrain/.github/.github/workflows/docs-ci.yaml@master\n    with:\n      docs-directory: docs/\n      environment-file: docs/conda.yml\n", "state": "active", "repository": "nextstrain/ncov"}
{"mined_at": "2024-07-15T15:41:07.497635", "created_at": "2023-04-16T23:51:35+02:00", "updated_at": "2023-04-16T23:51:35+02:00", "name": "Rebuild 100k sample", "path": ".github/workflows/rebuild-100k.yml", "contents": "name: Rebuild 100k sample\n\non:\n  # cron job once a week on Mondays at 12:42 UTC\n  schedule:\n    - cron:  '42 12 * * 1'\n  # Manually triggered using GitHub's UI\n  workflow_dispatch:\n\njobs:\n  gisaid:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: nextstrain/.github/actions/setup-nextstrain-cli@master\n\n    - name: Launch GISAID build\n      run: |\n        set -x\n\n        declare -a config\n        config+=(slack_token=$SLACK_TOKEN)\n\n        nextstrain build \\\n          --aws-batch \\\n          --detach \\\n          --cpus 16 \\\n          --memory 31GiB \\\n          . \\\n            upload \\\n            --configfile nextstrain_profiles/100k/config-gisaid.yaml \\\n            --config \"${config[@]}\" \\\n            --set-threads tree=8 \\\n        |& tee build-launch-gisaid.log\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}\n\n    - name: Launch open build\n      run: |\n        set -x\n\n        declare -a config\n        config+=(slack_token=$SLACK_TOKEN)\n\n        nextstrain build \\\n          --aws-batch \\\n          --detach \\\n          --cpus 16 \\\n          --memory 31GiB \\\n          . \\\n            upload \\\n            --configfile nextstrain_profiles/100k/config-open.yaml \\\n            --config \"${config[@]}\" \\\n            --set-threads tree=8 \\\n        |& tee build-launch-open.log\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}\n\n\n    - name: Build info\n      run: |\n        echo \"--> 100k samples for GISAID + Open data rebuilding (using separate AWS jobs)\"\n        echo\n        echo \"--> When completed, the following files will be updated:\"\n        echo \"s3://nextstrain-data/files/ncov/open/100k/metadata.tsv.xz\"\n        echo \"s3://nextstrain-data/files/ncov/open/100k/sequences.fasta.xz\"\n        echo \"s3://nextstrain-ncov-private/100k/metadata.tsv.xz\"\n        echo \"s3://nextstrain-ncov-private/100k/sequences.fasta.xz\"\n        echo\n        echo \"--> You can attach to the GISAID AWS job via:\"\n        tail -n1 build-launch-gisaid.log\n        echo\n        echo \"--> You can attach to the Open AWS job via:\"\n        tail -n1 build-launch-open.log\n        echo\n        JOBID=$( tail -n1 build-launch-gisaid.log | sed -E 's/.+attach ([-a-f0-9]+).+/\\1/' )\n        echo \"--> View the GISAID job in the AWS console via\"\n        echo \"    https://console.aws.amazon.com/batch/home?region=us-east-1#jobs/detail/${JOBID}\"\n        echo\n        JOBID=$( tail -n1 build-launch-open.log | sed -E 's/.+attach ([-a-f0-9]+).+/\\1/' )\n        echo \"--> View the Open job in the AWS console via\"\n        echo \"    https://console.aws.amazon.com/batch/home?region=us-east-1#jobs/detail/${JOBID}\"\n        echo\n", "state": "active", "repository": "nextstrain/ncov"}
{"mined_at": "2024-07-15T15:41:08.676574", "created_at": "2022-10-22T22:37:18+02:00", "updated_at": "2022-10-22T22:37:18+02:00", "name": "Rebuild GISAID 21L phylogenetic datasets", "path": ".github/workflows/rebuild-gisaid-21L.yml", "contents": "name: Rebuild GISAID 21L phylogenetic datasets\n\non:\n  # This workflow can be triggered from repository_dispatch events,\n  # for instance, after the appropriate preprocessing actions have completed\n  repository_dispatch:\n    types:\n      - rebuild\n      - gisaid/rebuild\n  # Manually triggered using GitHub's UI\n  workflow_dispatch:\n    inputs:\n      trial_name:\n        description: \"Short name for this trial build, for prefixing the uploaded data and results files. WARNING: without this we will overwrite files in s3://nextstrain-ncov-private and the trees on nextstrain.org/ncov/gisaid...\"\n        required: false\n      image:\n        description: 'Specific container image to use for build (will override the default of \"nextstrain build\")'\n        required: false\n\nenv:\n  TRIAL_NAME: ${{ github.event.inputs.trial_name }}\n  NEXTSTRAIN_DOCKER_IMAGE: ${{ github.event.inputs.image }}\n\njobs:\n  gisaid-21L:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: nextstrain/.github/actions/setup-nextstrain-cli@master\n\n    - name: Launch build\n      run: |\n        set -x\n\n        declare -a config\n        config+=(build_date=\\'$(date +'%Y-%m-%d')\\')\n        if [[ \"$TRIAL_NAME\" ]]; then\n          config+=(\n            S3_DST_BUCKET=nextstrain-ncov-private/trial/\"$TRIAL_NAME\"\n            deploy_url=s3://nextstrain-staging/\n            auspice_json_prefix=ncov_gisaid_21L_trial_\"$TRIAL_NAME\"\n          )\n        else\n          config+=(slack_token=$SLACK_TOKEN)\n        fi\n\n        nextstrain build \\\n          --aws-batch \\\n          --detach \\\n          --cpus 72 \\\n          --memory 140GiB \\\n          . \\\n            deploy \\\n            upload \\\n            --config \"${config[@]}\" \\\n            --profile nextstrain_profiles/nextstrain-gisaid-21L \\\n            --set-threads tree=8 \\\n        |& tee build-launch.log\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}\n\n    - name: Build info\n      run: |\n        if [[ \"$TRIAL_NAME\" ]]; then\n          echo \"--> Trial name is: $TRIAL_NAME\"\n          echo\n          echo \"--> When completed, the following will be available:\"\n          echo \"build files: s3://nextstrain-ncov-private/trial/$TRIAL_NAME/\"\n          echo \"nextstrain URLs: https://nextstrain.org/staging/ncov/gisaid/21L/trial/$TRIAL_NAME/REGION_NAME/TIME_SPAN\"\n          echo \"e.g. https://nextstrain.org/staging/ncov/gisaid/21L/trial/$TRIAL_NAME/global/all-time\"\n        else\n          echo \"--> GISAID 21L phylogenetic analysis rebuilding on AWS\"\n          echo\n          echo \"--> When completed, the following will be updated:\"\n          echo \"build files: s3://nextstrain-ncov-private/REGION_NAME/\"\n          echo \"nextstrain URLs: https://nextstrain.org/ncov/gisaid/21L/REGION_NAME/TIME_SPAN\"\n          echo \"e.g. https://nextstrain.org/ncov/gisaid/21L/global/all-time\"\n        fi\n        echo\n        echo \"--> You can attach to this AWS job via:\"\n        tail -n1 build-launch.log\n        echo\n        JOBID=$( tail -n1 build-launch.log | sed -E 's/.+attach ([-a-f0-9]+).+/\\1/' )\n        echo \"--> View this job in the AWS console via\"\n        echo \"    https://console.aws.amazon.com/batch/home?region=us-east-1#jobs/detail/${JOBID}\"\n        echo\n", "state": "active", "repository": "nextstrain/ncov"}
{"mined_at": "2024-07-15T15:41:09.955619", "created_at": "2021-10-06T04:50:46+02:00", "updated_at": "2023-05-07T07:57:25+02:00", "name": "Rebuild GISAID phylogenetic datasets", "path": ".github/workflows/rebuild-gisaid.yml", "contents": "name: Rebuild GISAID phylogenetic datasets\n\non:\n  # This workflow can be triggered from repository_dispatch events,\n  # for instance, after the appropriate preprocessing actions have completed\n  repository_dispatch:\n    types:\n      - rebuild\n      - gisaid/rebuild\n  # Manually triggered using GitHub's UI\n  workflow_dispatch:\n    inputs:\n      trial_name:\n        description: \"Short name for this trial build, for prefixing the uploaded data and results files. WARNING: without this we will overwrite files in s3://nextstrain-ncov-private and the trees on nextstrain.org/ncov/gisaid...\"\n        required: false\n      image:\n        description: 'Specific container image to use for build (will override the default of \"nextstrain build\")'\n        required: false\n\nenv:\n  TRIAL_NAME: ${{ github.event.inputs.trial_name }}\n  NEXTSTRAIN_DOCKER_IMAGE: ${{ github.event.inputs.image }}\n\njobs:\n  gisaid:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: nextstrain/.github/actions/setup-nextstrain-cli@master\n\n    - name: Launch build\n      run: |\n        set -x\n\n        declare -a config\n        config+=(build_date=\\'$(date +'%Y-%m-%d')\\')\n        if [[ \"$TRIAL_NAME\" ]]; then\n          config+=(\n            S3_DST_BUCKET=nextstrain-ncov-private/trial/\"$TRIAL_NAME\"\n            deploy_url=s3://nextstrain-staging/\n            auspice_json_prefix=ncov_gisaid_trial_\"$TRIAL_NAME\"\n          )\n        else\n          config+=(slack_token=$SLACK_TOKEN)\n        fi\n\n        nextstrain build \\\n          --aws-batch \\\n          --detach \\\n          --cpus 72 \\\n          --memory 140GiB \\\n          . \\\n            deploy \\\n            upload \\\n            --config \"${config[@]}\" \\\n            --profile nextstrain_profiles/nextstrain-gisaid \\\n            --set-threads tree=8 \\\n        |& tee build-launch.log\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}\n\n    - name: Build info\n      run: |\n        if [[ \"$TRIAL_NAME\" ]]; then\n          echo \"--> Trial name is: $TRIAL_NAME\"\n          echo\n          echo \"--> When completed, the following will be available:\"\n          echo \"build files: s3://nextstrain-ncov-private/trial/$TRIAL_NAME/\"\n          echo \"nextstrain URLs: https://nextstrain.org/staging/ncov/gisaid/trial/$TRIAL_NAME/REGION_NAME/TIME_SPAN\"\n          echo \"e.g. https://nextstrain.org/staging/ncov/gisaid/trial/$TRIAL_NAME/global/all-time\"\n        else\n          echo \"--> GISAID phylogenetic analysis rebuilding on AWS\"\n          echo\n          echo \"--> When completed, the following will be updated:\"\n          echo \"build files: s3://nextstrain-ncov-private/REGION_NAME/\"\n          echo \"nextstrain URLs: https://nextstrain.org/ncov/gisaid/REGION_NAME/TIME_SPAN\"\n          echo \"e.g. https://nextstrain.org/ncov/gisaid/global/all-time\"\n        fi\n        echo\n        echo \"--> You can attach to this AWS job via:\"\n        tail -n1 build-launch.log\n        echo\n        JOBID=$( tail -n1 build-launch.log | sed -E 's/.+attach ([-a-f0-9]+).+/\\1/' )\n        echo \"--> View this job in the AWS console via\"\n        echo \"    https://console.aws.amazon.com/batch/home?region=us-east-1#jobs/detail/${JOBID}\"\n        echo\n", "state": "active", "repository": "nextstrain/ncov"}
{"mined_at": "2024-07-15T15:41:11.074055", "created_at": "2021-10-06T04:03:52+02:00", "updated_at": "2021-10-19T22:10:14+02:00", "name": "Rebuild open (GenBank) phylogenetic datasets", "path": ".github/workflows/rebuild-open.yml", "contents": "name: Rebuild open (GenBank) phylogenetic datasets\n\non:\n  # This workflow can be triggered from repository_dispatch events,\n  # for instance, after the appropriate preprocessing actions have completed\n  repository_dispatch:\n    types:\n      - rebuild\n      - open/rebuild\n      - genbank/rebuild\n  # Manually triggered using GitHub's UI\n  workflow_dispatch:\n    inputs:\n      trial_name:\n        description: \"Short name for this trial build, for prefixing the uploaded data and results files. WARNING: without this we will overwrite files in s3://nextstrain-data/files/ncov/open/ and the trees on nextstrain.org/ncov/open/...\"\n        required: false\n      image:\n        description: 'Specific container image to use for build (will override the default of \"nextstrain build\")'\n        required: false\n\nenv:\n  TRIAL_NAME: ${{ github.event.inputs.trial_name }}\n  NEXTSTRAIN_DOCKER_IMAGE: ${{ github.event.inputs.image }}\n\njobs:\n  open:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: nextstrain/.github/actions/setup-nextstrain-cli@master\n\n    - name: Launch build\n      run: |\n        set -x\n\n        declare -a config\n        config+=(build_date=\\'$(date +'%Y-%m-%d')\\')\n        if [[ \"$TRIAL_NAME\" ]]; then\n          config+=(\n            S3_DST_BUCKET=nextstrain-staging/files/ncov/open/trial/\"$TRIAL_NAME\"\n            deploy_url=s3://nextstrain-staging/\n            auspice_json_prefix=ncov_open_trial_\"$TRIAL_NAME\"\n          )\n        else\n          config+=(slack_token=$SLACK_TOKEN)\n        fi\n\n        nextstrain build \\\n          --aws-batch \\\n          --detach \\\n          --cpus 72 \\\n          --memory 140GiB \\\n          . \\\n            deploy \\\n            upload \\\n            --config \"${config[@]}\" \\\n            --profile nextstrain_profiles/nextstrain-open \\\n            --set-threads tree=8 \\\n        |& tee build-launch.log\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}\n\n    - name: Build info\n      run: |\n        if [[ \"$TRIAL_NAME\" ]]; then\n          echo \"--> Trial name is: $TRIAL_NAME\"\n          echo\n          echo \"--> When completed, the following will be available:\"\n          echo \"build files: s3://nextstrain-staging/files/ncov/open/trial/$TRIAL_NAME/\"\n          echo \"nextstrain URLs: https://nextstrain.org/staging/ncov/open/trial/$TRIAL_NAME/REGION_NAME/TIME_SPAN\"\n          echo \"e.g. https://nextstrain.org/staging/ncov/open/trial/$TRIAL_NAME/global/all-time\"\n        else\n          echo \"--> Open (GenBank) phylogenetic analysis rebuilding on AWS\"\n          echo\n          echo \"--> When completed, the following will be updated:\"\n          echo \"build files: s3://nextstrain-data/files/ncov/open/REGION_NAME/\"\n          echo \"nextstrain URLs: https://nextstrain.org/ncov/open/REGION_NAME/TIME_SPAN\"\n          echo \"e.g. https://nextstrain.org/ncov/open/global/all-time\"\n        fi\n        echo\n        echo \"--> You can attach to this AWS job via:\"\n        tail -n1 build-launch.log\n        echo\n        JOBID=$( tail -n1 build-launch.log | sed -E 's/.+attach ([-a-f0-9]+).+/\\1/' )\n        echo \"--> View this job in the AWS console via\"\n        echo \"    https://console.aws.amazon.com/batch/home?region=us-east-1#jobs/detail/${JOBID}\"\n        echo\n", "state": "active", "repository": "nextstrain/ncov"}
{"mined_at": "2024-07-15T15:41:12.311905", "created_at": "2021-10-13T22:44:29+02:00", "updated_at": "2021-10-13T22:44:29+02:00", "name": "Revert nextstrain.org/ncov/gisaid or nextstrain.org/ncov/open", "path": ".github/workflows/revert.yml", "contents": "name: Revert nextstrain.org/ncov/gisaid or nextstrain.org/ncov/open\n\non:\n  # Manually triggered using GitHub's UI\n  workflow_dispatch:\n    inputs:\n      data_source_name:\n        description: Name of data source corresponding to the datasets on nextstrain.org/ncov to reset. Options are \"gisaid\" or \"open\".\n        required: true\n      build_region_name:\n        description: A single regional dataset on nextstrain.org/ncov/{data_source_name} to reset. Options are \"global\", \"africa\", \"asia\", \"europe\", \"north-america\", \"oceania\", \"south-america\". If not specified, reverts all. If you'd like to revert multiple regions but not all, run the action multiple times, specifying one region each time.\n        required: true\n        default: all\n      date:\n        description: Date to revert to. A corresponding set of date-stamped datasets must exist on the s3 bucket. Format is YYYY-MM-DD.\n        required: true\n\nenv:\n  DATA_SOURCE_NAME: ${{ github.event.inputs.data_source_name }}\n  BUILD_REGION_NAME: ${{ github.event.inputs.build_region_name }}\n  DATE: ${{ github.event.inputs.date }}\n\njobs:\n  revert:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: nextstrain/.github/actions/setup-nextstrain-cli@master\n\n    - name: Revert build\n      run: |\n        ./scripts/revert \"$DATA_SOURCE_NAME\" \"$BUILD_REGION_NAME\" \"$DATE\"\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n", "state": "active", "repository": "nextstrain/ncov"}
{"mined_at": "2024-07-15T15:41:13.336609", "created_at": "2022-11-08T02:17:26+01:00", "updated_at": "2022-11-29T23:39:11+01:00", "name": "Sync RTD redirects", "path": ".github/workflows/sync-redirects.yaml", "contents": "name: Sync RTD redirects\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - docs/redirects.yaml\n      - .github/workflows/sync-redirects.yaml\n\n  pull_request:\n    paths:\n      - docs/redirects.yaml\n      - .github/workflows/sync-redirects.yaml\n\n  # Manually triggered using GitHub's UI\n  workflow_dispatch:\n\njobs:\n  sync:\n    # Prevent this job from running on forks.\n    if: github.repository_owner == 'nextstrain'\n    name: rtd redirects\n    uses: nextstrain/.github/.github/workflows/sync-rtd-redirects.yaml@master\n    with:\n      project: nextstrain-ncov\n      file: docs/redirects.yaml\n    secrets:\n      RTD_TOKEN: ${{ secrets.RTD_TOKEN }}\n", "state": "active", "repository": "nextstrain/ncov"}
{"mined_at": "2024-07-15T15:41:14.451851", "created_at": "2024-06-07T20:53:26+02:00", "updated_at": "2024-06-07T20:53:26+02:00", "name": ".github/workflows/trs-tmp.yaml", "path": ".github/workflows/trs-tmp.yaml", "contents": null, "state": "active", "repository": "nextstrain/ncov"}
{"mined_at": "2024-07-15T15:41:16.713589", "created_at": "2020-01-10T15:44:28+01:00", "updated_at": "2020-01-11T20:00:10+01:00", "name": ".github/workflows/continuous-integration.yml", "path": "", "contents": null, "state": "active", "repository": "colour-science/colour"}
{"mined_at": "2024-07-15T15:41:17.875832", "created_at": "2021-11-06T23:02:16+01:00", "updated_at": "2021-11-07T10:26:05+01:00", "name": "Continuous Integration - Documentation", "path": ".github/workflows/continuous-integration-documentation.yml", "contents": "name: Continuous Integration - Documentation\n\non: [push, pull_request]\n\njobs:\n  continuous-integration-documentation:\n    name: ${{ matrix.os }} - Python ${{ matrix.python-version }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.11]\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Environment Variables\n        run: |\n          echo \"CI_PYTHON_VERSION=${{ matrix.python-version }}\" >> $GITHUB_ENV\n          echo \"CI_PACKAGE=colour\" >> $GITHUB_ENV\n          echo \"CI_SHA=${{ github.sha }}\" >> $GITHUB_ENV\n          echo \"MPLBACKEND=AGG\" >> $GITHUB_ENV\n          echo \"COLOUR_SCIENCE__DOCUMENTATION_BUILD=True\" >> $GITHUB_ENV\n        shell: bash\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get --yes install graphviz graphviz-dev latexmk texlive-full\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org | POETRY_HOME=$HOME/.poetry python3 -\n          echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n        shell: bash\n      - name: Install Package Dependencies\n        run: |\n          poetry run python -m pip install --upgrade pip\n          poetry install\n          poetry run python -c \"import imageio;imageio.plugins.freeimage.download()\"\n        shell: bash\n      - name: Build Documentation\n        run: |\n          poetry run invoke docs\n        shell: bash\n      - uses: actions/upload-artifact@v2\n        with:\n          name: ${{ env.CI_PACKAGE }}-plots\n          path: |\n            docs/_static/Basics_*.png\n            docs/_static/Examples_*.png\n            docs/_static/Plotting_*.png\n            docs/_static/Tutorial_*.png\n", "state": "active", "repository": "colour-science/colour"}
{"mined_at": "2024-07-15T15:41:18.990007", "created_at": "2022-01-15T03:16:29+01:00", "updated_at": "2022-01-26T07:49:57+01:00", "name": "Continuous Integration - Quality & Unit Tests", "path": ".github/workflows/continuous-integration-quality-unit-tests.yml", "contents": "name: Continuous Integration - Quality & Unit Tests\n\non: [push, pull_request]\n\njobs:\n  continuous-integration-quality-unit-tests:\n    name: ${{ matrix.os }} - Python ${{ matrix.python-version }}\n    strategy:\n      matrix:\n        os: [macOS-latest, ubuntu-latest, windows-latest]\n        python-version: [\"3.10\", 3.11, 3.12]\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Environment Variables\n        run: |\n          echo \"CI_PYTHON_VERSION=${{ matrix.python-version }}\" >> $GITHUB_ENV\n          echo \"CI_PACKAGE=colour\" >> $GITHUB_ENV\n          echo \"CI_SHA=${{ github.sha }}\" >> $GITHUB_ENV\n          echo \"COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }}\" >> $GITHUB_ENV\n          echo \"MPLBACKEND=AGG\" >> $GITHUB_ENV\n        shell: bash\n      - name: Set up Python 3.10 for Pre-Commit\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Dependencies (macOS)\n        if: matrix.os == 'macOS-latest'\n        run: |\n          brew install freeimage\n          # TODO: Drop when https://github.com/imageio/imageio/issues/628 is addressed\n          echo \"IMAGEIO_FREEIMAGE_LIB=/opt/homebrew/Cellar/freeimage/3.18.0/lib/libfreeimage.3.18.0.dylib\" >> $GITHUB_ENV\n      - name: Install Dependencies (Ubuntu)\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo apt-get update\n          sudo apt-get --yes install graphviz graphviz-dev\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org | POETRY_HOME=$HOME/.poetry python3 -\n          echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n        shell: bash\n      - name: Install Package Dependencies (macOs)\n        if: matrix.os == 'macOS-latest'\n        run: |\n          poetry run python -m pip install --upgrade pip\n          poetry install --without graphviz\n      - name: Install Package Dependencies (Ubuntu)\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          poetry run python -m pip install --upgrade pip\n          poetry install\n          poetry run python -c \"import imageio;imageio.plugins.freeimage.download()\"\n        shell: bash\n      - name: Install Package Dependencies (Windows)\n        if: matrix.os == 'windows-latest'\n        run: |\n          poetry run python -m pip install --upgrade pip\n          poetry install --without graphviz\n          poetry run python -c \"import imageio;imageio.plugins.freeimage.download()\"\n        shell: bash\n      - name: Install OpenImageIO (macOs)\n        if: matrix.os == 'macOS-latest' && matrix.python-version == '3.12'\n        run: |\n          brew install openimageio\n          find /Users/runner/Library/Caches/pypoetry/virtualenvs/ -path \"/Users/runner/Library/Caches/pypoetry/virtualenvs/*/lib/python3.12/site-packages\" -type d -exec ln -s /opt/homebrew/Cellar/openimageio/*/lib/python*/site-packages/OpenImageIO/OpenImageIO*.so {}/OpenImageIO.so \\;\n          poetry run python -c \"import OpenImageIO;print(OpenImageIO.__version__)\"\n        shell: bash\n      - name: Pre-Commit (All Files)\n        run: |\n          poetry run pre-commit run --all-files\n        shell: bash\n      - name: Test Optimised Python Execution\n        run: |\n          poetry run python -OO -c \"import $CI_PACKAGE\"\n          poetry run python -OO -c \"import $CI_PACKAGE\"\n        shell: bash\n      - name: Test with Pytest\n        run: |\n          poetry run python -W ignore -m pytest --doctest-modules --ignore=$CI_PACKAGE/examples --cov=$CI_PACKAGE $CI_PACKAGE\n        shell: bash\n      - name: Upload Coverage to coveralls.io\n        if: matrix.os == 'macOS-latest' && matrix.python-version == '3.12'\n        run: |\n          if [ -z \"$COVERALLS_REPO_TOKEN\" ]; then echo \\\"COVERALLS_REPO_TOKEN\\\" secret is undefined!; else poetry run coveralls; fi\n        shell: bash\n", "state": "active", "repository": "colour-science/colour"}
{"mined_at": "2024-07-15T15:41:20.006597", "created_at": "2022-01-15T03:16:29+01:00", "updated_at": "2022-01-26T07:49:57+01:00", "name": "Continuous Integration - Static Type Checking", "path": ".github/workflows/continuous-integration-static-type-checking.yml", "contents": "name: Continuous Integration - Static Type Checking\n\non: [push, pull_request]\n\njobs:\n  continuous-integration-static-type-checking:\n    name: ${{ matrix.os }} - Python ${{ matrix.python-version }}\n    strategy:\n      matrix:\n        os: [macOS-latest]\n        python-version: [3.12]\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Environment Variables\n        run: |\n          echo \"CI_PACKAGE=colour\" >> $GITHUB_ENV\n        shell: bash\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Dependencies (macOS)\n        if: matrix.os == 'macOS-latest'\n        run: |\n          brew install freeimage graphviz\n          pip install --no-cache-dir --config-settings=\"--global-option=build_ext\" --config-settings=\"--global-option=-I$(brew --prefix graphviz)/include/\" --config-settings=\"--global-option=-L$(brew --prefix graphviz)/lib/\" pygraphviz\n          # TODO: Drop when https://github.com/imageio/imageio/issues/628 is addressed\n          echo \"IMAGEIO_FREEIMAGE_LIB=/opt/homebrew/Cellar/freeimage/3.18.0/lib/libfreeimage.3.18.0.dylib\" >> $GITHUB_ENV\n      - name: Install Package Dependencies\n        run: |\n          pip install -r requirements.txt\n      - name: Static Type Checking\n        run: |\n          pyright --skipunannotated\n", "state": "active", "repository": "colour-science/colour"}
{"mined_at": "2024-07-15T15:41:22.009016", "created_at": "2021-07-20T00:23:02+02:00", "updated_at": "2021-07-20T02:21:37+02:00", "name": "Test Experimental Features", "path": ".github/workflows/experimental_tests.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Test Experimental Features\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nenv:\n    # for use by the Windows runner (ignored by the others):\n    SCONS_CACHE_MSVC_CONFIG: 1\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  experimental:\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # note: in the 2nd half of 2022 the setup-mingw was often failing on\n        # windows-latest. revisit someday (perhaps when there's an @v3)\n        #os: ['ubuntu-latest', 'windows-latest', 'macos-latest']\n        os: ['ubuntu-latest', 'windows-2019', 'macos-latest']\n\n    # The type of runner that the job will run on\n    runs-on: ${{ matrix.os }}\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4.1.6\n\n      # experiment: maybe don't need this?\n      # update: looks like we do: with this commented out, the build hung\n      - name: Set up MinGW\n        uses: egor-tensin/setup-mingw@v2.2.0\n        if: matrix.os == 'windows-2019'\n        with:\n          platform: x64\n          static: 0\n\n      - name: Set up Python 3.11 ${{ matrix.os }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.11'\n\n      - name: Install dependencies including ninja ${{ matrix.os }}\n        run: |\n          python -m pip install --progress-bar off --upgrade pip\n          python -m pip install --progress-bar off ninja psutil\n          # sudo apt-get update\n\n      - name: Test experimental packages ${{ matrix.os }}\n        run: |\n          python runtest.py test/import.py test/ninja\n", "state": "active", "repository": "scons/scons"}
{"mined_at": "2024-07-15T15:41:23.159977", "created_at": "2022-11-24T20:57:14+01:00", "updated_at": "2022-11-29T18:47:04+01:00", "name": "Test Framework Tests", "path": ".github/workflows/framework_tests.yml", "contents": "name: Test Framework Tests\n\non:\n  # PR events only on master\n  push:\n    branches:\n      - 'master'\n    paths:\n      - 'testing/framework/*'\n\n  pull_request:\n    branches:\n      - 'master'\n    paths:\n      - 'testing/framework/*'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  fwtest:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: ['ubuntu-latest', 'windows-latest']\n\n    # The type of runner that the job will run on\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      # Checkouut repository under $GITHUB_WORKSPACE\n      - uses: actions/checkout@v4.1.6\n\n      - name: Set up Python 3.11 ${{ matrix.os }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.11'\n\n      - name: Test test framework ${{ matrix.os }}\n        run: |\n          python runtest.py testing/framework\n\n", "state": "active", "repository": "scons/scons"}
{"mined_at": "2024-07-15T15:41:24.279977", "created_at": "2024-05-23T22:43:18+02:00", "updated_at": "2024-05-25T21:16:40+02:00", "name": "Full Test Suite on Windows", "path": ".github/workflows/runtest-win.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Full Test Suite on Windows\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nenv:\n    SCONS_CACHE_MSVC_CONFIG: 1\n\njobs:\n  runtest-win32:\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4.1.6\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.12'\n          cache: 'pip'\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --progress-bar off --upgrade pip\n          python -m pip install --progress-bar off -r requirements-dev.txt\n\n      - name: Install Chocolatey packages\n        run: |\n          choco install --yes --no-progress dmd winflexbison3\n\n      - name: runtest\n        run: |\n          python runtest.py --all --exclude-list=windows_ci_skip.txt --time --jobs=4\n\n      - name: Archive Failed tests\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: windows-failed-tests\n          path: |\n            failed_tests.log\n", "state": "active", "repository": "scons/scons"}
{"mined_at": "2024-07-15T15:41:25.348621", "created_at": "2021-09-17T05:36:36+02:00", "updated_at": "2024-05-25T21:16:40+02:00", "name": "Full Test Suite on Linux", "path": ".github/workflows/runtest.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Full Test Suite on Linux\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"runtest\"\n  runtest:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: ['ubuntu-22.04', 'ubuntu-24.04']\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4.1.6\n\n      - name: Install Ubuntu packages $${matrix.os}}\n        run: |\n          sudo apt-get update\n          sudo apt-get install libtirpc-dev\n\n      - name: Set up Python 3.12 ${{ matrix.os }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.12'\n          cache: 'pip'\n\n      - name: Install Python dependencies ${{ matrix.os }}\n        run: |\n          python -m pip install --progress-bar off --upgrade pip\n          python -m pip install --progress-bar off -r requirements-dev.txt\n          # sudo apt-get update\n\n      - name: runtest ${{ matrix.os }}\n        run: |\n          python runtest.py --all --time --jobs=4\n\n      - name: Archive Failed tests ${{ matrix.os }}\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: ${{ matrix.os }}-failed-tests\n          path: |\n            failed_tests.log\n", "state": "active", "repository": "scons/scons"}
{"mined_at": "2024-07-15T15:41:26.437267", "created_at": "2021-01-05T22:58:31+01:00", "updated_at": "2021-01-05T22:58:31+01:00", "name": "SCons Build", "path": ".github/workflows/scons-package.yml", "contents": "# This action builds SCons, mainly to make sure the docs generate.\n\nname: SCons Build\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  package:\n\n    runs-on: ubuntu-24.04\n\n    steps:\n    - uses: actions/checkout@v4.1.6\n\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: '3.12'\n        cache: 'pip'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --progress-bar off --upgrade pip setuptools wheel\n        #python -m pip install flake8 pytest\n        if [ -f requirements-pkg.txt ]; then pip install --progress-bar off -r requirements-pkg.txt; elif [ -f requirements.txt ]; then pip install --progress-bar off -r requirements.txt; fi\n        sudo apt-get update\n        sudo apt-get -y install docbook-xml docbook-xsl xsltproc fop docbook-xsl-doc-pdf\n        # try to keep the texlive install as small as we can to save some time/space\n        sudo apt-get -y --no-install-recommends install texlive biber texmaker ghostscript texlive-latex-base texlive-latex-extra texlive-bibtex-extra texlive-font-utils latexmk\n\n    # This is disabled until the run can be configured to only\n    # check the code that matters, else we fail on non-essentials\n    # like the bench/ stuff.\n    #- name: Lint with flake8\n    #  run: |\n    #    # stop the build if there are Python syntax errors or undefined names\n    #    flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n    #    # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n    #    flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Update Doc sources (some parts are generated)\n      run: |\n        python bin/docs-update-generated.py\n        python bin/docs-validate.py\n        python bin/docs-create-example-outputs.py\n\n    - name: Build SCons packages\n      run: |\n        python scripts/scons.py\n\n    - name: Verify package\n      run: |\n        ls -l build/dist\n        python build/scons-local/scons.py --version\n", "state": "active", "repository": "scons/scons"}
{"mined_at": "2024-07-15T15:41:28.798323", "created_at": "2020-11-28T16:35:46+01:00", "updated_at": "2020-11-28T16:35:46+01:00", "name": "test_docker", "path": ".github/workflows/test_docker.yml", "contents": "# Run tests on Fedora and Ubuntu Docker images using GIFT CORP and GIFT PPA on commit\nname: test_docker\non: [push]\npermissions: read-all\njobs:\n  test_fedora:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        version: ['39', '40']\n    container:\n      image: registry.fedoraproject.org/fedora:${{ matrix.version }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up container\n      run: |\n        dnf install -y dnf-plugins-core langpacks-en\n    - name: Install dependencies\n      run: |\n        dnf copr -y enable @gift/dev\n        dnf install -y @development-tools libbde-python3 libcaes-python3 libcreg-python3 libesedb-python3 libevt-python3 libevtx-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libfwsi-python3 liblnk-python3 libluksde-python3 libmodi-python3 libmsiecf-python3 libolecf-python3 libphdi-python3 libqcow-python3 libregf-python3 libscca-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3 python3-XlsxWriter python3-acstore python3-artifacts python3-bencode python3-build python3-certifi python3-cffi python3-chardet python3-dateutil python3-defusedxml python3-devel python3-dfdatetime python3-dfvfs python3-dfwinreg python3-dtfabric python3-fakeredis python3-flor python3-idna python3-lz4 python3-mock python3-opensearch python3-pefile python3-psutil python3-pyparsing python3-pytsk3 python3-pytz python3-pyyaml python3-redis python3-requests python3-setuptools python3-six python3-urllib3 python3-wheel python3-xattr python3-yara python3-zmq python3-zstd\n    - name: Run tests\n      env:\n        LANG: C.utf8\n      run: |\n        python3 ./run_tests.py\n    - name: Run end-to-end tests\n      run: |\n        if test -f tests/end-to-end.py; then PYTHONPATH=. python3 ./tests/end-to-end.py --debug -c config/end-to-end.ini; fi\n    - name: Build source distribution (sdist)\n      run: |\n        python3 -m build --no-isolation --sdist\n    - name: Build binary distribution (wheel)\n      run: |\n        python3 -m build --no-isolation --wheel\n  test_ubuntu:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        version: ['24.04']\n    container:\n      image: ubuntu:${{ matrix.version }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up container\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        apt-get update -q\n        apt-get install -y libterm-readline-gnu-perl locales software-properties-common\n        locale-gen en_US.UTF-8\n        ln -f -s /usr/share/zoneinfo/UTC /etc/localtime\n    - name: Install dependencies\n      run: |\n        add-apt-repository -y ppa:gift/dev\n        apt-get update -q\n        apt-get install -y build-essential libbde-python3 libcaes-python3 libcreg-python3 libesedb-python3 libevt-python3 libevtx-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libfwsi-python3 liblnk-python3 libluksde-python3 libmodi-python3 libmsiecf-python3 libolecf-python3 libphdi-python3 libqcow-python3 libregf-python3 libscca-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3 python3-acstore python3-artifacts python3-bencode python3-build python3-certifi python3-cffi-backend python3-chardet python3-dateutil python3-defusedxml python3-dev python3-dfdatetime python3-dfvfs python3-dfwinreg python3-dtfabric python3-fakeredis python3-flor python3-idna python3-lz4 python3-mock python3-opensearch python3-pefile python3-pip python3-psutil python3-pyparsing python3-pytsk3 python3-redis python3-requests python3-setuptools python3-six python3-tz python3-urllib3 python3-wheel python3-xattr python3-xlsxwriter python3-yaml python3-yara python3-zmq python3-zstd\n    - name: Run tests\n      env:\n        LANG: en_US.UTF-8\n      run: |\n        python3 ./run_tests.py\n    - name: Run end-to-end tests\n      env:\n        LANG: en_US.UTF-8\n      run: |\n        if test -f tests/end-to-end.py; then PYTHONPATH=. python3 ./tests/end-to-end.py --debug -c config/end-to-end.ini; fi\n    - name: Build source distribution (sdist)\n      run: |\n        python3 -m build --no-isolation --sdist\n    - name: Build binary distribution (wheel)\n      run: |\n        python3 -m build --no-isolation --wheel\n", "state": "active", "repository": "log2timeline/plaso"}
{"mined_at": "2024-07-15T15:41:29.923926", "created_at": "2022-02-01T13:47:24+01:00", "updated_at": "2022-02-01T18:41:52+01:00", "name": "test_docs", "path": ".github/workflows/test_docs.yml", "contents": "# Run docs tox tests on Ubuntu Docker images using GIFT PPA\nname: test_docs\non:\n  pull_request:\n    branches:\n    - main\n  push:\n    branches:\n    - main\npermissions: read-all\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n        - python-version: '3.12'\n          toxenv: 'docs'\n    container:\n      image: ubuntu:22.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up container\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        apt-get update -q\n        apt-get install -y libterm-readline-gnu-perl locales software-properties-common\n        locale-gen en_US.UTF-8\n        ln -f -s /usr/share/zoneinfo/UTC /etc/localtime\n    - name: Install dependencies\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        add-apt-repository -y universe\n        add-apt-repository -y ppa:deadsnakes/ppa\n        add-apt-repository -y ppa:gift/dev\n        apt-get update -q\n        apt-get install -y build-essential git libffi-dev libssl-dev python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libbde-python3 libcaes-python3 libcreg-python3 libesedb-python3 libevt-python3 libevtx-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libfwsi-python3 liblnk-python3 libluksde-python3 libmodi-python3 libmsiecf-python3 libolecf-python3 libphdi-python3 libqcow-python3 libregf-python3 libscca-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-acstore python3-artifacts python3-bencode python3-certifi python3-cffi-backend python3-chardet python3-dateutil python3-defusedxml python3-dfdatetime python3-dfvfs python3-dfwinreg python3-distutils python3-dtfabric python3-fakeredis python3-flor python3-idna python3-lib2to3 python3-lz4 python3-mock python3-opensearch python3-pefile python3-pip python3-psutil python3-pyparsing python3-pytsk3 python3-redis python3-requests python3-setuptools python3-six python3-tz python3-urllib3 python3-xattr python3-xlsxwriter python3-yaml python3-yara python3-zmq python3-zstd\n    - name: Install tox\n      run: |\n        python3 -m pip install tox\n    - name: Run tests\n      env:\n        LANG: en_US.UTF-8\n      run: |\n        tox -e${{ matrix.toxenv }}\n", "state": "active", "repository": "log2timeline/plaso"}
{"mined_at": "2024-07-15T15:41:31.151856", "created_at": "2020-11-28T16:35:46+01:00", "updated_at": "2020-11-28T16:35:46+01:00", "name": "test_tox", "path": ".github/workflows/test_tox.yml", "contents": "# Run tox tests on Ubuntu Docker images using GIFT PPA\nname: test_tox\non:\n  pull_request:\n    branches:\n    - main\n  push:\n    branches:\n    - main\npermissions: read-all\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n        - python-version: '3.8'\n          toxenv: 'py38,wheel'\n        - python-version: '3.9'\n          toxenv: 'py39,wheel'\n        - python-version: '3.10'\n          toxenv: 'py310,wheel'\n        - python-version: '3.11'\n          toxenv: 'py311,wheel'\n        - python-version: '3.12'\n          toxenv: 'py312,wheel'\n    container:\n      image: ubuntu:22.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up container\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        apt-get update -q\n        apt-get install -y libterm-readline-gnu-perl locales software-properties-common\n        locale-gen en_US.UTF-8\n        ln -f -s /usr/share/zoneinfo/UTC /etc/localtime\n    - name: Install dependencies\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        add-apt-repository -y universe\n        add-apt-repository -y ppa:deadsnakes/ppa\n        add-apt-repository -y ppa:gift/dev\n        apt-get update -q\n        apt-get install -y build-essential git libffi-dev libssl-dev python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libbde-python3 libcaes-python3 libcreg-python3 libesedb-python3 libevt-python3 libevtx-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libfwsi-python3 liblnk-python3 libluksde-python3 libmodi-python3 libmsiecf-python3 libolecf-python3 libphdi-python3 libqcow-python3 libregf-python3 libscca-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-acstore python3-artifacts python3-bencode python3-certifi python3-cffi-backend python3-chardet python3-dateutil python3-defusedxml python3-dfdatetime python3-dfvfs python3-dfwinreg python3-distutils python3-dtfabric python3-fakeredis python3-flor python3-idna python3-lib2to3 python3-lz4 python3-mock python3-opensearch python3-pefile python3-pip python3-psutil python3-pyparsing python3-pytsk3 python3-redis python3-requests python3-setuptools python3-six python3-tz python3-urllib3 python3-xattr python3-xlsxwriter python3-yaml python3-yara python3-zmq python3-zstd\n    - name: Install tox\n      run: |\n        python3 -m pip install tox\n    - name: Run tests\n      env:\n        LANG: en_US.UTF-8\n      run: |\n        tox -e${{ matrix.toxenv }}\n  coverage:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n        - python-version: '3.10'\n          toxenv: 'coverage'\n    container:\n      image: ubuntu:22.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up container\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        apt-get update -q\n        apt-get install -y libterm-readline-gnu-perl locales software-properties-common\n        locale-gen en_US.UTF-8\n        ln -f -s /usr/share/zoneinfo/UTC /etc/localtime\n    - name: Install dependencies\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        add-apt-repository -y universe\n        add-apt-repository -y ppa:deadsnakes/ppa\n        add-apt-repository -y ppa:gift/dev\n        apt-get update -q\n        apt-get install -y build-essential git libffi-dev libssl-dev python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libbde-python3 libcaes-python3 libcreg-python3 libesedb-python3 libevt-python3 libevtx-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libfwsi-python3 liblnk-python3 libluksde-python3 libmodi-python3 libmsiecf-python3 libolecf-python3 libphdi-python3 libqcow-python3 libregf-python3 libscca-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-acstore python3-artifacts python3-bencode python3-certifi python3-cffi-backend python3-chardet python3-dateutil python3-defusedxml python3-dfdatetime python3-dfvfs python3-dfwinreg python3-distutils python3-dtfabric python3-fakeredis python3-flor python3-idna python3-lib2to3 python3-lz4 python3-mock python3-opensearch python3-pefile python3-pip python3-psutil python3-pyparsing python3-pytsk3 python3-redis python3-requests python3-setuptools python3-six python3-tz python3-urllib3 python3-xattr python3-xlsxwriter python3-yaml python3-yara python3-zmq python3-zstd\n    - name: Install tox\n      run: |\n        python3 -m pip install tox\n    - name: Run tests with coverage\n      env:\n        LANG: en_US.UTF-8\n      run: |\n        tox -e${{ matrix.toxenv }}\n    - name: Upload coverage report to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n        - python-version: '3.12'\n          toxenv: 'lint'\n    container:\n      image: ubuntu:22.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up container\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        apt-get update -q\n        apt-get install -y libterm-readline-gnu-perl locales software-properties-common\n        locale-gen en_US.UTF-8\n        ln -f -s /usr/share/zoneinfo/UTC /etc/localtime\n    - name: Install dependencies\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        add-apt-repository -y universe\n        add-apt-repository -y ppa:deadsnakes/ppa\n        add-apt-repository -y ppa:gift/dev\n        apt-get update -q\n        apt-get install -y build-essential git libffi-dev libssl-dev python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libbde-python3 libcaes-python3 libcreg-python3 libesedb-python3 libevt-python3 libevtx-python3 libewf-python3 libfcrypto-python3 libfsapfs-python3 libfsext-python3 libfsfat-python3 libfshfs-python3 libfsntfs-python3 libfsxfs-python3 libfvde-python3 libfwnt-python3 libfwsi-python3 liblnk-python3 libluksde-python3 libmodi-python3 libmsiecf-python3 libolecf-python3 libphdi-python3 libqcow-python3 libregf-python3 libscca-python3 libsigscan-python3 libsmdev-python3 libsmraw-python3 libvhdi-python3 libvmdk-python3 libvsapm-python3 libvsgpt-python3 libvshadow-python3 libvslvm-python3 python3-acstore python3-artifacts python3-bencode python3-certifi python3-cffi-backend python3-chardet python3-dateutil python3-defusedxml python3-dfdatetime python3-dfvfs python3-dfwinreg python3-distutils python3-dtfabric python3-fakeredis python3-flor python3-idna python3-lib2to3 python3-lz4 python3-mock python3-opensearch python3-pefile python3-pip python3-psutil python3-pyparsing python3-pytsk3 python3-redis python3-requests python3-setuptools python3-six python3-tz python3-urllib3 python3-xattr python3-xlsxwriter python3-yaml python3-yara python3-zmq python3-zstd\n    - name: Install tox\n      run: |\n        python3 -m pip install tox\n    - name: Run linter\n      env:\n        LANG: en_US.UTF-8\n      run: |\n        tox -e${{ matrix.toxenv }}\n", "state": "active", "repository": "log2timeline/plaso"}
{"mined_at": "2024-07-15T15:41:33.181624", "created_at": "2022-05-11T19:28:10+02:00", "updated_at": "2023-12-08T23:19:08+01:00", "name": "Tests and Linting", "path": ".github/workflows/tests.yml", "contents": "name: Tests and Linting\n\non: \n  push:\n    paths:\n      - '.github/workflows/tests.yml'\n      - 'deepface/**'  \n      - 'tests/**'\n      - 'api/**'\n      - 'requirements.txt'\n      - '.gitignore'\n      - 'setup.py'\n  pull_request:\n    paths:\n      - '.github/workflows/tests.yml'\n      - 'deepface/**'  \n      - 'tests/**'\n      - 'api/**'\n      - 'requirements.txt'\n      - '.gitignore'\n      - 'setup.py'\n\njobs:\n  unit-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        pip install .\n        \n    - name: Test with pytest\n      run: |\n        cd tests\n        python -m pytest . -s --disable-warnings\n  linting:\n    needs: unit-tests\n    \n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n  \n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pylint==3.0.2\n        pip install black\n        pip install .\n        \n    - name: Lint with pylint\n      run: |\n        pylint --fail-under=10 deepface/\n", "state": "active", "repository": "serengil/deepface"}
{"mined_at": "2024-07-15T15:41:35.363833", "created_at": "2023-12-24T13:44:48+01:00", "updated_at": "2023-12-24T14:00:59+01:00", "name": "Deploy website to GitHub Pages", "path": ".github/workflows/docs-pages.yml", "contents": "name: Deploy website to GitHub Pages\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: \"constraints*.txt\"\n      - run: python -m pip install -c constraints.txt tox tox-uv\n      - run: tox -e docs\n      - if: github.repository == 'beancount/fava'\n        uses: actions/configure-pages@v4\n      - uses: actions/upload-pages-artifact@v3\n        with:\n          path: \"build/docs\"\n  deploy:\n    if: github.repository == 'beancount/fava' && github.event_name == 'push'\n    needs: \"build\"\n    permissions:\n      pages: write\n      id-token: write\n    concurrency:\n      group: \"pages\"\n      cancel-in-progress: false\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "beancount/fava"}
{"mined_at": "2024-07-15T15:41:36.501252", "created_at": "2022-03-06T19:16:22+01:00", "updated_at": "2022-03-06T20:20:18+01:00", "name": "Build Python package (and upload to PyPI on tags)", "path": ".github/workflows/publish.yml", "contents": "name: Build Python package (and upload to PyPI on tags)\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    tags:\n      - \"v*\"\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build-and-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: \"constraints*.txt\"\n      - uses: actions/setup-node@v4\n        with:\n          node-version: \"lts/*\"\n          cache: \"npm\"\n          cache-dependency-path: frontend/package-lock.json\n      - run: python -m pip install -c constraints.txt build twine\n      - run: python -m build\n      - run: twine check dist/*\n      - name: Publish release\n        if: github.event_name == 'push' && github.ref_type == 'tag'\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n        run: python -m twine upload dist/*\n", "state": "active", "repository": "beancount/fava"}
{"mined_at": "2024-07-15T15:41:37.498429", "created_at": "2022-01-10T18:22:14+01:00", "updated_at": "2022-01-10T22:08:57+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  test-py:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\"]\n        py: [\"3.12\", \"3.8\"]\n        toxenv: [\"py\", \"old_deps\"]\n        include:\n          - os: \"macos-latest\"\n            toxenv: \"py\"\n            py: \"3.12\"\n          - os: \"windows-latest\"\n            toxenv: \"py\"\n            py: \"3.12\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.py }}\n          cache: \"pip\"\n          cache-dependency-path: \"constraints*.txt\"\n      - run: python -m pip install -c constraints.txt tox tox-uv\n      - run: touch src/fava/static/app.js\n      - run: tox -e ${{ matrix.toxenv }}\n  test-js:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: \"lts/*\"\n          cache: \"npm\"\n          cache-dependency-path: frontend/package-lock.json\n      - run: cd frontend && npm ci\n      - run: cd frontend && npm run build\n      - run: cd frontend && npm test\n  lint-js:\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: \"constraints*.txt\"\n      - uses: actions/setup-node@v4\n        with:\n          node-version: \"lts/*\"\n          cache: \"npm\"\n          cache-dependency-path: frontend/package-lock.json\n      - run: python -m pip install -c constraints.txt pre-commit\n      - run: cd frontend && npm ci\n      - run: pre-commit run -a eslint\n      - run: cd frontend; npx tsc\n      - run: cd frontend; npx svelte-check\n  lint-python:\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: \"constraints*.txt\"\n      - run: python -m pip install -c constraints.txt tox tox-uv\n      - run: tox -e lint\n  build-pyinstaller:\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: \"constraints*.txt\"\n      - run: python -m pip install -c constraints.txt tox tox-uv\n      - run: tox -e pyinstaller\n", "state": "active", "repository": "beancount/fava"}
{"mined_at": "2024-07-15T15:41:38.626202", "created_at": "2023-07-17T19:54:53+02:00", "updated_at": "2023-07-17T19:54:53+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "beancount/fava"}
{"mined_at": "2024-07-15T15:41:39.930572", "created_at": "2021-12-18T11:51:26+01:00", "updated_at": "2021-12-18T11:51:26+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "beancount/fava"}
{"mined_at": "2024-07-15T15:41:42.211276", "created_at": "2020-12-01T04:45:55+01:00", "updated_at": "2020-12-01T04:45:55+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  schedule:\n    - cron: '30 13 * * 1'\n  push:\n    branches:\n      - main\n  pull_request:\n\nenv:\n  CI: true\n  BLENDER_MAJOR: 4\n  BLENDER_MINOR: 2\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n\n    steps:\n\n    - uses: actions/checkout@v3\n\n    # Finds latest Blender build, and outputs the hosted build's download URL.\n    - name: Find latest Blender build\n      id: blender_version\n      run: |\n        echo \"Looking for Blender $BLENDER_MAJOR.$BLENDER_MINOR\"\n        BLENDER_URL=\"$(curl -s https://builder.blender.org/download/daily/ | \\\n          grep -oe 'http[^\\\"]*blender-'$BLENDER_MAJOR'\\.'$BLENDER_MINOR'[^\\\"]*linux[^\\\"]*\\.tar\\.xz' | \\\n          tail -n1)\"\n        if [ -z \"$BLENDER_URL\" ]; then\n          echo \"Not found! Download URL may have changed; CI may need update.\"\n          exit 1\n        fi\n        echo \"Found: $BLENDER_URL\"\n        echo \"blender-url=$BLENDER_URL\" >> $GITHUB_OUTPUT\n\n    # Loads a cached build of Blender if available. If not available, this step\n    # enqueues the /opt/blender directory to be cached after tests pass.\n    - id: blender_cache\n      uses: actions/cache@v3\n      env:\n        cache-name: cache-blender\n      with:\n        path: /opt/blender\n        key: ${{ steps.blender_version.outputs.blender-url }}\n\n    # Downloads a build from blender.org, if a cached version was not available.\n    - name: Download Blender\n      if: ${{ !steps.blender_cache.outputs.cache-hit }}\n      run: |\n        mkdir /opt/blender\n        echo \"Downloading: ${{ steps.blender_version.outputs.blender-url }}\"\n        curl -SL \"${{ steps.blender_version.outputs.blender-url }}\" | \\\n          tar -Jx -C /opt/blender --strip-components=1\n\n    - name: Set up workspace\n      run: |\n        sudo ln -s /opt/blender/blender /usr/local/bin/blender\n        blender --version\n        ADDON_DIR=/opt/blender/$BLENDER_MAJOR.$BLENDER_MINOR/scripts/addons_core\n        rm -rf $ADDON_DIR/io_scene_gltf2\n        cp -r addons/io_scene_gltf2 $ADDON_DIR\n        cd tests\n        yarn install\n        mkdir -p out\n\n    - name: Run tests\n      run: |\n        cd tests\n        OUT_PREFIX=$GITHUB_WORKSPACE/tests/out yarn test-bail --reporter-options reportDir=out/mochawesome\n\n    - name: Upload artifacts\n      uses: actions/upload-artifact@v3\n      with:\n        name: test-output\n        path: tests/out/mochawesome\n        if-no-files-found: error\n", "state": "active", "repository": "khronosgroup/gltf-blender-io"}
{"mined_at": "2024-07-15T15:41:44.297604", "created_at": "2020-11-11T12:47:22+01:00", "updated_at": "2021-04-26T05:02:52+02:00", "name": "RecBole tests", "path": ".github/workflows/python-package.yml", "contents": "name: RecBole tests\n\n# Controls when the action will run. \non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n  pull_request:\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Miniconda\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        channels: conda-forge\n        channel-priority: true\n        auto-activate-base: true\n    # install setuptools as a interim solution for bugs in PyTorch 1.10.2 (#69904)\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install protobuf==3.19.0\n        pip install hyperopt==0.2.5\n        pip install pytest\n        pip install dgl==0.9.1\n        pip install xgboost\n        pip install community\n        pip install networkx\n        pip install python-louvain\n        pip install lightgbm\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        conda list\n        conda install -c conda-forge faiss-cpu\n        pip install torch-scatter -f https://data.pyg.org/whl/torch-`python -c \"import torch;print(torch.__version__)\"`.html\n        pip install setuptools==59.5.0\n        pip install plotly\n        pip install kmeans-pytorch\n    # Use \"python -m pytest\" instead of \"pytest\" to fix imports\n    - name: Test Overall\n      run: |\n        python run_recbole.py --model=BPR --epochs=2\n    - name: Test metrics\n      run: |\n        python -m pytest -v tests/metrics\n    - name: Test data\n      run: |\n        python -m pytest -v tests/data\n    - name: Test evaluation_setting\n      run: |\n        python -m pytest -v tests/evaluation_setting\n    - name: Test model\n      run: |\n        python -m pytest -v tests/model/test_model_auto.py\n    - name: Test config\n      run: |\n        python -m pytest -v tests/config/test_config.py\n        export PYTHONPATH=.\n        python tests/config/test_command_line.py --use_gpu=False --valid_metric=Recall@10 --split_ratio=[0.7,0.2,0.1] --metrics='[\"Recall\"]' --topk=[10] --epochs=200 --eval_setting='LO_RS' --learning_rate=0.3\n    - name: Test hyper_tuning\n      run: |\n        python -m pytest -v tests/hyper_tuning/test_hyper_tuning.py\n  # Use black to test code format\n  # Reference code:\n  #     https://black.readthedocs.io/en/stable/integrations/github_actions.html\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install dependencies\n        run: |\n          pip install black[jupyter]\n      - name: Test code format\n        uses: psf/black@stable\n        id: action-black\n        with:\n          options: \".\"\n      - name: Apply code-format changes\n        uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: Format Python code according to PEP8\n", "state": "active", "repository": "rucaibox/recbole"}
{"mined_at": "2024-07-15T15:41:46.264209", "created_at": "2020-01-10T06:28:09+01:00", "updated_at": "2020-01-11T04:44:29+01:00", "name": "build", "path": "", "contents": null, "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:41:47.433577", "created_at": "2019-12-20T00:07:18+01:00", "updated_at": "2021-04-15T11:16:20+02:00", "name": "Build jobs", "path": ".github/workflows/build.yml", "contents": "name: Build jobs\n# Triggered by changes in code-specific or job-specific files\n\non:\n  pull_request:\n    paths:\n      - \"**.py\"\n      - \".github/workflows/*.yml\"\n      - \".pre-commit-config.yaml\"\n      - \".relint.yml\"\n      - \".yamllint\"\n      - \"pyproject.toml\"\n      - \"tox.ini\"\n      - \"mypy.ini\"\n  push:\n    branches:\n      - master\n  workflow_dispatch:\n\nenv:\n  FORCE_COLOR: \"1\"\n  TOX_TESTENV_PASSENV: FORCE_COLOR\n\njobs:\n  pre-commit:\n    name: Generic pre-commit checks\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 1\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - run: pip install pre-commit\n      - run: pre-commit run --all-files\n\n  docs:\n    name: Documentation\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 1\n      - uses: ammaraskar/sphinx-action@master\n        with:\n          docs-folder: \"docs/\"\n\n  tests:\n    strategy:\n      matrix:\n        os: [ubuntu-22.04, windows-2019]\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        # Set the patch version for \"python\", so GitHub adds these configurations instead of expanding existing ones\n        include:\n          - os: ubuntu-22.04\n            python: \"3.9.16\"\n            tox_env: pytest6\n      fail-fast: false\n\n    name: Tests (Python ${{ matrix.python }} on ${{ matrix.os }} ${{ matrix.tox_env }})\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 1\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - run: pip install tox tox-gh-actions\n\n      - if: ${{ matrix.tox_env }}\n        run: python -m tox -e ${{ matrix.tox_env }}\n\n      - if: ${{ !matrix.tox_env }}\n        run: python -m tox\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:41:48.662708", "created_at": "2020-09-30T19:26:40+02:00", "updated_at": "2020-09-30T19:26:40+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: \"0 15 * * 5\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-22.04\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: [\"python\"]\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4.1.7\n        with:\n          # We must fetch at least the immediate parents so that if this is\n          # a pull request then we can checkout the head.\n          fetch-depth: 2\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3.25.10\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3.25.10\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3.25.10\n", "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:41:49.723716", "created_at": "2023-10-29T12:49:18+01:00", "updated_at": "2023-10-29T14:25:19+01:00", "name": "Benchmarks", "path": ".github/workflows/codspeed.yml", "contents": "name: Benchmarks\n\non:\n  push:\n    branches:\n      - \"master\"\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  benchmarks:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.7\n      - uses: actions/setup-python@v5\n        with:\n          # Python 3.12 for flamegraph support\n          python-version: \"3.12\"\n\n      - name: Install dependencies\n        run: pip install \".[bench]\"\n\n      - name: Run benchmarks\n        uses: CodSpeedHQ/action@v2\n        with:\n          token: ${{ secrets.CODSPEED_TOKEN }}\n          run: pytest benches/* --codspeed -p no:schemathesis -p no:hypothesispytest -p no:subtests -p no:anyio\n", "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:41:50.776330", "created_at": "2019-12-20T00:07:18+01:00", "updated_at": "2019-12-20T00:07:18+01:00", "name": "Checks for every commit", "path": ".github/workflows/commit.yml", "contents": "name: Checks for every commit\n\non:\n  pull_request: ~\n  push:\n    branches:\n      - master\n\njobs:\n  commitsar:\n    name: Verify commit messages\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 0\n      - name: Run commitsar\n        uses: aevea/commitsar@v0.20.2\n", "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:41:51.825098", "created_at": "2022-08-08T21:09:38+02:00", "updated_at": "2022-08-08T21:18:30+02:00", "name": "Manual build API example", "path": ".github/workflows/example-build.yml", "contents": "name: Manual build API example\n\non:\n  pull_request:\n    paths:\n      - \".github/workflows/example-build.yml\"\n      - \"example/**\"\n  push:\n    branches:\n      - master\n  workflow_dispatch:\n\njobs:\n  local-ci:\n    name: Example app\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n\n      - name: Start containers\n        run: docker compose up -d --build\n        working-directory: \"./example\"\n\n      # Runs positive Schemathesis tests\n      - uses: schemathesis/action@v1\n        continue-on-error: true\n        with:\n          # A local API schema location\n          schema: \"http://127.0.0.1:5123/openapi.json\"\n          # Set your token from secrets\n          token: ${{ secrets.SCHEMATHESIS_TOKEN }}\n          max-examples: \"10\"\n          # To avoid failing the build\n          args: \"-E does-not-exist\"\n\n      - name: Stop containers\n        if: always()\n        run: docker-compose down\n        working-directory: \"./example\"\n", "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:41:52.962696", "created_at": "2022-08-08T21:18:30+02:00", "updated_at": "2022-08-08T21:18:30+02:00", "name": "Public API report example", "path": ".github/workflows/example-no-build.yml", "contents": "name: Public API report example\n\non:\n  workflow_dispatch:\n\njobs:\n  api-tests:\n    runs-on: ubuntu-22.04\n\n    steps:\n      # Runs positive Schemathesis tests\n      - uses: schemathesis/action@v1\n        with:\n          # A publicly available API schema location\n          schema: \"https://example.schemathesis.io/openapi.json\"\n          # Set your token from secrets\n          token: ${{ secrets.SCHEMATHESIS_TOKEN }}\n          args: \"-E success\"\n", "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:41:54.058082", "created_at": "2019-12-20T12:33:15+01:00", "updated_at": "2023-12-01T13:46:17+01:00", "name": "Post-update master jobs", "path": ".github/workflows/master_update.yml", "contents": "name: Post-update master jobs\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  containers:\n    name: Build container images\n    runs-on: ubuntu-22.04\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - dockerfile: Dockerfile\n            tag: \"latest\"\n          - dockerfile: Dockerfile.bookworm\n            tag: \"latest-bookworm\"\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ${{ matrix.dockerfile }}\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: |\n            schemathesis/schemathesis:${{ matrix.tag }}\n            ghcr.io/schemathesis/schemathesis:${{ matrix.tag }}\n", "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:41:55.171171", "created_at": "2019-12-20T12:36:35+01:00", "updated_at": "2020-01-13T06:51:37+01:00", "name": "Post-release jobs", "path": ".github/workflows/release.yml", "contents": "name: Post-release jobs\n\non:\n  release:\n    types: [published]\n\njobs:\n  containers:\n    name: Build container images\n    runs-on: ubuntu-22.04\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - dockerfile: Dockerfile\n            tag-suffix: \"\"\n          - dockerfile: Dockerfile.bookworm\n            tag-suffix: \"-bookworm\"\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          flavor: |\n            latest=false\n          images: |\n            schemathesis/schemathesis\n            ghcr.io/schemathesis/schemathesis\n          tags: |\n            type=semver,pattern={{raw}}${{ matrix.tag-suffix }}\n            type=semver,pattern={{version}}${{ matrix.tag-suffix }}\n            type=raw,value=stable${{ matrix.tag-suffix }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ${{ matrix.dockerfile }}\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n\n  release_package:\n    name: Build and publish package to pypi.org\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 1\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - run: pip install \"hatchling==1.12.*\"\n\n      - name: Build package\n        run: hatchling build\n\n      - name: Publish distribution package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:41:56.168976", "created_at": "2024-02-08T10:54:48+01:00", "updated_at": "2024-02-08T10:54:48+01:00", "name": "Run corpus tests", "path": ".github/workflows/test-corpus.yml", "contents": "name: Run corpus tests\n\non:\n  schedule:\n    # Every day at 00:00\n    - cron: \"0 0 * * *\"\n  push:\n    paths:\n      - \"test-corpus/openapi-directory\"\n  workflow_dispatch:\n\njobs:\n\n  test-corpus:\n    name: Corpus tests\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 1\n          submodules: true\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - run: pip install \".[tests]\"\n      - run: pytest test-corpus -n auto\n", "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:41:57.214711", "created_at": "2024-02-08T10:54:48+01:00", "updated_at": "2024-02-08T10:54:48+01:00", "name": "Hypothesis tests", "path": ".github/workflows/test-hypothesis.yml", "contents": "name: Hypothesis tests\n\non:\n  schedule:\n    # Every day at 00:00\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  hypothesis-tests:\n    name: Hypothesis tests with CI profile\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 1\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - run: pip install \".[tests]\"\n      - run: pytest -m hypothesis -m hypothesis_nested --hypothesis-profile CI test\n", "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:41:58.393697", "created_at": "2024-02-08T10:40:00+01:00", "updated_at": "2024-02-08T10:40:00+01:00", "name": "Update test corpus", "path": ".github/workflows/update-corpus.yml", "contents": "name: Update test corpus\n\non:\n  schedule:\n    - cron: 0 0 * * 0\n  workflow_dispatch:\n\njobs:\n  release:\n    name: Update test corpus\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 1\n          submodules: true\n\n      - run: git submodule update --remote\n\n      - name: Open pull request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          delete-branch: true\n          title: Update test corpus\n          body: Automatically update test corpus\n          commit-message: 'chore: Update test corpus'\n          committer: 'CI on behalf of the Schemathesis team <team@schemathesis.io>'\n          author: 'CI on behalf of the Schemathesis team <team@schemathesis.io>'\n          branch: \"create-pull-request/update-test-corpus\"\n", "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:41:59.443522", "created_at": "2024-02-21T10:11:25+01:00", "updated_at": "2024-02-21T10:11:25+01:00", "name": "Update pre-commit", "path": ".github/workflows/update-pre-commit.yml", "contents": "name: Update pre-commit\n\non:\n  schedule:\n    - cron: 0 0 * * 0\n  workflow_dispatch:\n\njobs:\n  release:\n    name: Update pre-commit\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 1\n          submodules: true\n\n      - run: pip install pre-commit\n      - run: pre-commit autoupdate\n\n      - name: Open pull request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          delete-branch: true\n          title: Update pre-commit\n          body: Automatically update pre-commit\n          commit-message: 'chore: Update pre-commit'\n          committer: 'CI on behalf of the Schemathesis team <team@schemathesis.io>'\n          author: 'CI on behalf of the Schemathesis team <team@schemathesis.io>'\n          branch: \"create-pull-request/update-pre-commit\"\n", "state": "active", "repository": "schemathesis/schemathesis"}
{"mined_at": "2024-07-15T15:42:01.481601", "created_at": "2020-07-22T15:24:48+02:00", "updated_at": "2023-04-06T09:23:03+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "open-mmlab/mmpose"}
{"mined_at": "2024-07-15T15:42:03.274577", "created_at": "2020-08-31T10:19:12+02:00", "updated_at": "2020-08-31T10:19:12+02:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\n\non: push\n\njobs:\n  build-n-publish:\n    runs-on: ubuntu-latest\n    if: startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n      - name: Build MMPose\n        run: |\n          pip install wheel\n          python setup.py sdist bdist_wheel\n      - name: Publish distribution to PyPI\n        run: |\n          pip install twine\n          twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}\n", "state": "active", "repository": "open-mmlab/mmpose"}
{"mined_at": "2024-07-15T15:42:04.548254", "created_at": "2021-12-08T12:25:27+01:00", "updated_at": "2022-01-05T03:55:25+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non: [push, pull_request]\n\nconcurrency:\n  group: github.workflow−{{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n      - name: Install pre-commit hook\n        run: |\n          pip install pre-commit\n          pre-commit install\n      - name: Linting\n        run: pre-commit run --all-files\n      - name: Check docstring coverage\n        run: |\n          pip install interrogate\n          interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --ignore-regex \"__repr__\" --fail-under 80 mmpose\n", "state": "active", "repository": "open-mmlab/mmpose"}
{"mined_at": "2024-07-15T15:42:05.637252", "created_at": "2022-09-13T13:26:20+02:00", "updated_at": "2023-04-06T05:59:48+02:00", "name": "merge_stage_test", "path": ".github/workflows/merge_stage_test.yml", "contents": "name: merge_stage_test\n\non:\n  push:\n    paths-ignore:\n      - 'README.md'\n      - 'README_zh-CN.md'\n      - 'docs/**'\n      - 'demo/**'\n      - '.dev_scripts/**'\n      - '.circleci/**'\n    branches:\n      - dev-1.x\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_cpu_py:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n        torch: [1.8.1]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade\n      - name: Install Numpy\n        run: pip install -U numpy\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install MMEngine\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install MMCV\n        run: |\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0'\n      - name: Install MMDet\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n      - name: Install other dependencies\n        run: |\n          pip install -r requirements/tests.txt\n          pip install -r requirements/runtime.txt\n          pip install -r requirements/albu.txt\n          pip install -r requirements/poseval.txt\n      - name: Build and install\n        run: rm -rf .eggs && pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmpose -m pytest tests/\n          coverage xml\n          coverage report -m\n\n  build_cpu_pt:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.7]\n        torch: [1.8.0, 1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.12.1, 1.13.0]\n        include:\n          - torch: 1.8.0\n            torchvision: 0.9.0\n          - torch: 1.8.1\n            torchvision: 0.9.1\n          - torch: 1.9.1\n            torchvision: 0.10.1\n          - torch: 1.10.1\n            torchvision: 0.11.2\n          - torch: 1.11.0\n            torchvision: 0.12.0\n          - torch: 1.12.1\n            torchvision: 0.13.1\n          - torch: 1.13.0\n            torchvision: 0.14.0\n          - torch: 2.0.0\n            torchvision: 0.15.1\n            python-version: 3.8\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade\n      - name: Install Numpy\n        run: pip install -U numpy\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install MMEngine\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install MMCV\n        run: |\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0'\n      - name: Install MMDet\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n      - name: Install other dependencies\n        run: |\n          pip install -r requirements/tests.txt\n          pip install -r requirements/runtime.txt\n          pip install -r requirements/albu.txt\n          pip install -r requirements/poseval.txt\n      - name: Build and install\n        run: rm -rf .eggs && pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmpose -m pytest tests/\n          coverage xml\n          coverage report -m\n      # Only upload coverage report for python3.7 && pytorch1.8.1 cpu\n      - name: Upload coverage to Codecov\n        if: ${{matrix.torch == '1.8.1' && matrix.python-version == '3.7'}}\n        uses: codecov/codecov-action@v1.0.14\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n  build_cu102:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:1.8.1-cuda10.2-cudnn7-devel\n    strategy:\n      matrix:\n        python-version: [3.7]\n        include:\n          - torch: 1.8.1\n            cuda: 10.2\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install Python-dev\n        run: apt-get update && apt-get install -y python${{matrix.python-version}}-dev\n        if: ${{matrix.python-version != 3.9}}\n      - name: Install system dependencies\n        run: |\n          apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6\n      - name: Install mmpose dependencies\n        run: |\n          pip install -U numpy\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n          pip install -r requirements/runtime.txt\n          pip install -r requirements/albu.txt\n          pip install -r requirements/poseval.txt\n      - name: Build and install\n        run: rm -rf .eggs && pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmpose -m pytest tests/\n          coverage xml\n          coverage report -m\n\n  build_windows:\n    runs-on: windows-2022\n    strategy:\n      matrix:\n        os: [windows-2022]\n        python: [3.7]\n        platform: [cpu, cu111]\n        torch: [1.8.1]\n        torchvision: [0.9.1]\n        include:\n          - python-version: 3.8\n            platform: cu117\n            torch: 2.0.0\n            torchvision: 0.15.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: python -m pip install pip --upgrade\n      - name: Install lmdb\n        run: python -m pip install lmdb\n      - name: Install PyTorch\n        run: python -m pip install torch==${{matrix.torch}}+${{matrix.platform}} torchvision==${{matrix.torchvision}}+${{matrix.platform}} -f https://download.pytorch.org/whl/${{matrix.platform}}/torch_stable.html\n      - name: Install mmpose dependencies\n        run: |\n          python -m pip install -U numpy\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install git+https://github.com/open-mmlab/mmengine.git@main\n          python -m pip install -U openmim\n          mim install 'mmcv >= 2.0.0'\n          mim install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          python -m pip install -r requirements/tests.txt\n          python -m pip install -r requirements/runtime.txt\n          python -m pip install -r requirements/albu.txt\n          python -m pip install -r requirements/poseval.txt\n      - name: Build and install\n        run: |\n          python -m pip install -e . -v\n      - name: Run unittests and generate coverage report\n        run: |\n          pytest tests/\n", "state": "active", "repository": "open-mmlab/mmpose"}
{"mined_at": "2024-07-15T15:42:06.715075", "created_at": "2022-09-06T05:36:37+02:00", "updated_at": "2023-04-06T05:59:48+02:00", "name": "pr_stage_test", "path": ".github/workflows/pr_stage_test.yml", "contents": "name: pr_stage_test\n\non:\n  pull_request:\n    paths-ignore:\n      - 'README.md'\n      - 'README_zh-CN.md'\n      - 'docs/**'\n      - 'demo/**'\n      - '.dev_scripts/**'\n      - '.circleci/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_cpu:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.7]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade\n      - name: Install Numpy\n        run: pip install -U numpy\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install mmpose dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -U numpy\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n          pip install -r requirements/runtime.txt\n          pip install -r requirements/albu.txt\n          pip install -r requirements/poseval.txt\n      - name: Build and install\n        run: rm -rf .eggs && pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmpose -m pytest tests/\n          coverage xml\n          coverage report -m\n      # Upload coverage report for python3.7 && pytorch1.8.1 cpu\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1.0.14\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n  build_cu102:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:1.8.1-cuda10.2-cudnn7-devel\n    strategy:\n      matrix:\n        python-version: [3.7]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install Python-dev\n        run: apt-get update && apt-get install -y python${{matrix.python-version}}-dev\n        if: ${{matrix.python-version != 3.9}}\n      - name: Install system dependencies\n        run: |\n          apt-get update\n          apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libxrender-dev\n      - name: Install mmpose dependencies\n        run: |\n          pip install -U numpy\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n          pip install -r requirements/runtime.txt\n          pip install -r requirements/albu.txt\n          pip install -r requirements/poseval.txt\n      - name: Build and install\n        run: rm -rf .eggs && pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmpose -m pytest tests/\n          coverage xml\n          coverage report -m\n\n  build_cu117:\n    runs-on: ubuntu-22.04\n    container:\n      image: pytorch/pytorch:2.0.0-cuda11.7-cudnn8-devel\n    strategy:\n      matrix:\n        python-version: [3.9]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install system dependencies\n        run: apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libxrender-dev\n      - name: Install mmpose dependencies\n        run: |\n          pip install -U numpy\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n          pip install -r requirements/runtime.txt\n          pip install -r requirements/albu.txt\n          pip install -r requirements/poseval.txt\n      - name: Build and install\n        run: rm -rf .eggs && pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmpose -m pytest tests/\n          coverage xml\n          coverage report -m\n\n  build_windows:\n    runs-on: windows-2022\n    strategy:\n      matrix:\n        os: [windows-2022]\n        python: [3.7]\n        platform: [cpu, cu111]\n        torch: [1.8.1]\n        torchvision: [0.9.1]\n        include:\n          - python-version: 3.8\n            platform: cu117\n            torch: 2.0.0\n            torchvision: 0.15.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: python -m pip install pip --upgrade\n      - name: Install lmdb\n        run: python -m pip install lmdb\n      - name: Install PyTorch\n        run: python -m pip install torch==${{matrix.torch}}+${{matrix.platform}} torchvision==${{matrix.torchvision}}+${{matrix.platform}} -f https://download.pytorch.org/whl/${{matrix.platform}}/torch_stable.html\n      - name: Install mmpose dependencies\n        run: |\n          python -m pip install -U numpy\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install git+https://github.com/open-mmlab/mmengine.git@main\n          python -m pip install -U openmim\n          mim install 'mmcv >= 2.0.0'\n          mim install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          python -m pip install -r requirements/tests.txt\n          python -m pip install -r requirements/albu.txt\n          python -m pip install -r requirements/poseval.txt\n      - name: Build and install\n        run: |\n          python -m pip install -e . -v\n      - name: Run unittests and generate coverage report\n        run: |\n          pytest tests/\n", "state": "active", "repository": "open-mmlab/mmpose"}
{"mined_at": "2024-07-15T15:42:07.745789", "created_at": "2022-06-21T11:55:37+02:00", "updated_at": "2023-04-06T09:23:03+02:00", "name": "test-mim", "path": ".github/workflows/test_mim.yml", "contents": null, "state": "active", "repository": "open-mmlab/mmpose"}
{"mined_at": "2024-07-15T15:42:10.165758", "created_at": "2021-11-10T08:47:03+01:00", "updated_at": "2021-11-10T08:47:03+01:00", "name": "black", "path": ".github/workflows/black.yml", "contents": "# .github/workflows/black.yml\n# From https://github.com/ad-m/github-push-action#example-workflow-file\nname: black\n\non:\n  workflow_dispatch:\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n    - name: STEP actions/setup-python@v5\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n\n    - name: STEP pip install black\n      # if: steps.cache.outputs.cache-hit != 'true'\n      run: |\n          python -m pip install --upgrade pip\n          pip install black\n\n    - name: STEP actions/checkout@v4\n      uses: actions/checkout@v4\n      with:\n        persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.\n        fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.\n\n    - name: STEP black --check *.py\n      id: black\n      run: |\n        mapfile -t <<<\"$(find . -type f -iname \"*.py\")\"\n        ((${#MAPFILE[@]})) || { echo ERROR: No .py files found >&2 ; exit 1 ; }\n        rv=0\n        black --config .github/linters/.python-black --check \"${MAPFILE[@]}\" || rv=$?\n        ((rv==0)) && echo \"::set-output name=changes::false\" && exit 0\n        ((rv==1)) && echo \"::set-output name=changes::true\" && exit 0\n        exit $rv\n\n    - name: STEP black *.py\n      if: steps.black.outputs.changes == 'true'\n      run: |\n        mapfile -t <<<\"$(find . -type f -iname \"*.py\")\"\n        black --config .github/linters/.python-black \"${MAPFILE[@]}\"\n\n    - name: STEP git commit -m \"black\" -a\n      if: steps.black.outputs.changes == 'true'\n      run: |\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        git commit -m \"black\" -a\n\n    - name: STEP ad-m/github-push-action@master\n      if: steps.black.outputs.changes == 'true'\n      uses: ad-m/github-push-action@master\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        branch: ${{ github.ref }}\n", "state": "active", "repository": "rasa/scoop-directory"}
{"mined_at": "2024-07-15T15:42:11.206304", "created_at": "2021-11-05T09:12:41+01:00", "updated_at": "2021-11-18T02:23:35+01:00", "name": "super-linter", "path": ".github/workflows/linter.yml", "contents": "# From https://github.com/github/super-linter/blob/main/TEMPLATES/linter.yml\n# This workflow executes several linters on changed files based on languages used in your code base whenever\n# you push a code or open a pull request.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/github/super-linter\nname: super-linter\n\non:\n  push:\n    branches: [ $default-branch ]\n  pull_request:\n    branches: [ $default-branch ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      log_level:\n        description: 'LOG_LEVEL'     \n        required: true\n        default: 'VERBOSE'\n        type: choice\n        options:\n        - TRACE\n        - DEBUG\n        - VERBOSE\n        - NOTICE\n        - WARN\n        - ERROR\njobs:\n  run-lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Run actions/checkout@v4\n        uses: actions/checkout@v4\n        with:\n          # Full git history is needed to get a proper list of changed files within `super-linter`\n          # default is 1 per https://github.com/actions/checkout#usage\n          fetch-depth: 0\n\n      - name: Run github/super-linter@v5\n        uses: github/super-linter@v5\n        env:\n          ACTIONS_RUNNER_DEBUG: true\n          DEFAULT_BRANCH: $default-branch\n          ERROR_ON_MISSING_EXEC_BIT: true\n          FILTER_REGEX_EXCLUDE: (by-.*\\.md|vendor)\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          IGNORE_GENERATED_FILES: true\n          LOG_LEVEL: ${{ github.event.inputs.log_level }}\n          # VALIDATE_ALL_CODEBASE: false\n          # VALIDATE_NATURAL_LANGUAGE: false\n          \n", "state": "active", "repository": "rasa/scoop-directory"}
{"mined_at": "2024-07-15T15:42:12.200773", "created_at": "2021-10-30T19:03:12+02:00", "updated_at": "2021-10-30T19:03:12+02:00", "name": "update-index", "path": ".github/workflows/update-index.yml", "contents": "# https://canovasjm.netlify.app/2020/11/29/github-actions-run-a-python-script-on-schedule-and-commit-changes/\n\nname: update-index\n\non:\n  workflow_dispatch:\n  schedule:\n    # run at 15:00 UTC every day (8am PDT/UTC-7)\n    - cron: '0 15 * * *'\n\njobs:\n  update-index:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: run actions/checkout@v4\n        uses: actions/checkout@v4\n\n      # fails: https://github.com/rasa/scoop-directory/runs/4252997621?check_suite_focus=true#step:7:8\n      # - name: run actions/cache@v2 - pip\n      #  uses: actions/cache@v2\n      #  id: pip\n      #  with:\n      #    path: ~/.cache/pip\n      #    key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n      #    restore-keys: |\n      #      ${{ runner.os }}-pip-\n\n      # causes errors, see\n      # https://github.com/rasa/scoop-directory/runs/4265697748?check_suite_focus=true#step:6:1097\n      # - name: run actions/cache@v2 - cache\n      #   uses: actions/cache@v2\n      #   id: cache\n      #   with:\n      #     path: cache\n      #     key: ${{ runner.os }}-cache-${{ hashFiles('**/cache.pickle') }}\n      #     restore-keys: |\n      #       ${{ runner.os }}-cache-\n\n      - name: run actions/setup-python@v5\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n          cache: 'pip' # caching pip dependencies\n\n      - name: run pip install -r maintenance/requirements.txt\n        # if: steps.pip.outputs.cache-hit != 'true'\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n\n      - name: run python maintenance/github-crawler.py\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: python maintenance/github-crawler.py\n\n      - name: run git commit -am \"update index [ci skip]\"\n        run: |\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git add -A\n          git commit -am \"update index [ci skip]\"\n\n      - name: run ad-m/github-push-action@v0.8.0\n        uses: ad-m/github-push-action@v0.8.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: master\n", "state": "active", "repository": "rasa/scoop-directory"}
{"mined_at": "2024-07-15T15:42:13.217414", "created_at": "2021-12-18T16:15:22+01:00", "updated_at": "2021-12-18T16:15:22+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "rasa/scoop-directory"}
{"mined_at": "2024-07-15T15:42:15.567074", "created_at": "2020-07-02T23:09:33+02:00", "updated_at": "2020-08-05T03:21:17+02:00", "name": "Periodic tests", "path": ".github/workflows/periodic.yml", "contents": "name: Periodic tests\n\non:\n  schedule:\n    # NZST = UTC + 12\n    # Schedule to run at midnight & lunch-time\n    - cron: '0 0,12 * * *'\n\nenv:\n  FAUCET_TEST_IMG: \"faucet/tests\"\n  SHARDARGS: \"--privileged --sysctl net.ipv6.conf.all.disable_ipv6=0 --ulimit core=99999999999:99999999999 -v /var/local/lib/docker:/var/lib/docker -v /var/tmp:/var/tmp\"\n\njobs:\n  generative-testing:\n    name: Generative tests\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        MATRIX_SHARD: [--generative_unit, --generative_tolerance]\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Setup docker test requirements\n        run: |\n          ulimit -c unlimited\n          echo '/var/tmp/core.%h.%e.%t' | sudo tee /proc/sys/kernel/core_pattern\n          sudo modprobe openvswitch\n          sudo modprobe ebtables\n      - name: Build docker\n        run: docker build --pull -t ${FAUCET_TEST_IMG} -f Dockerfile.tests . || exit 1\n      - name: Run docker\n        run: sudo docker run ${SHARDARGS} -e FAUCET_TESTS=\"${{ matrix.MATRIX_SHARD }}\" -e FAUCET_GENERATIVE_LIMIT=200 -t ${FAUCET_TEST_IMG} || exit 1\n      - name: Detect core dumps\n        run: if [ ls -1 /var/tmp/core* > /dev/null 2>&1 ]; then exit 1; fi\n", "state": "active", "repository": "faucetsdn/faucet"}
{"mined_at": "2024-07-15T15:42:16.615205", "created_at": "2020-05-05T05:27:00+02:00", "updated_at": "2023-04-19T07:15:25+02:00", "name": "Build debian packages for release", "path": ".github/workflows/release-debian.yml", "contents": "name: Build debian packages for release\n\non:\n  push:\n    tags:\n      - '[0-9]+.[0-9]+.[0-9]+'\n\nenv:\n  DEBIAN_FRONTEND: noninteractive\n\njobs:\n  debian-package:\n    name: \"Build debian packages\"\n    runs-on: ubuntu-latest\n    environment:\n      name: \"release\"\n    container:\n      image: \"debian:latest\"\n    steps:\n      - name: Install dependencies\n        run: |\n          apt-get update\n          apt-get -y upgrade\n          apt-get -y install devscripts dpkg-dev debhelper equivs\n      - name: Enable faucet apt repo\n        run: |\n          echo \"deb https://packagecloud.io/faucetsdn/faucet/$(lsb_release -si | awk '{print tolower($0)}')/ $(lsb_release -sc) main\" | tee /etc/apt/sources.list.d/faucet.list\n          curl -1sLf https://packagecloud.io/faucetsdn/faucet/gpgkey -o /etc/apt/trusted.gpg.d/faucet.asc\n          apt-get update\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Bump version\n        run: |\n          export DEBEMAIL='maintainers@faucet.nz'\n          export DEBFULLNAME='Faucet Maintainers'\n          debchange --newversion \"${GITHUB_REF_NAME}\" -b \"New upstream release\"\n      - name: Build package\n        run: |\n          mk-build-deps -i -r -t 'apt-get -f -y --force-yes'\n          dpkg-buildpackage -b -us -uc -rfakeroot\n      - name: Store package\n        run: |\n          mkdir -p packages/all\n          cp ../*.deb packages/all\n      - name: Publish package on packagecloud\n        uses: faucetsdn/action-packagecloud-upload-debian-packages@v1\n        with:\n          path: packages/\n          repo: faucetsdn/faucet\n          token: ${{ secrets.PACKAGECLOUD_TOKEN }}\n", "state": "active", "repository": "faucetsdn/faucet"}
{"mined_at": "2024-07-15T15:42:17.694271", "created_at": "2020-05-05T05:26:59+02:00", "updated_at": "2020-08-05T03:21:17+02:00", "name": "Build docker images for release", "path": ".github/workflows/release-docker.yml", "contents": "name: Build docker images for release\n\non:\n  push:\n    tags:\n      - '[0-9]+.[0-9]+.[0-9]+'\n\njobs:\n  faucet-docker-image:\n    name: \"Build faucet docker image\"\n    runs-on: ubuntu-latest\n    environment:\n      name: \"release\"\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Set up qemu\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n      - name: Set up docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          version: latest\n      - name: Login to docker registry\n        run: |\n          docker login --username ${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_TOKEN }}\n      - name: Run buildx\n        run: |\n          docker buildx build \\\n            --tag \"faucet/faucet:${GITHUB_REF_NAME}\" \\\n            --tag faucet/faucet:latest \\\n            --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x \\\n            --output \"type=registry\" \\\n            --file Dockerfile.faucet \\\n            .\n\n  gauge-docker-image:\n    name: \"Build gauge docker image\"\n    runs-on: ubuntu-latest\n    environment:\n      name: \"release\"\n    needs: faucet-docker-image\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Set up qemu\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n      - name: Set up docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          version: latest\n      - name: Login to docker registry\n        run: |\n          docker login --username ${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_TOKEN }}\n      - name: Run buildx\n        run: |\n          docker buildx build \\\n            --tag \"faucet/gauge:${GITHUB_REF_NAME}\" \\\n            --tag faucet/gauge:latest \\\n            --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x \\\n            --output \"type=registry\" \\\n            --file Dockerfile.gauge \\\n            .\n\n  rabbitmq-adapter-docker-image:\n    name: \"Build rabbitmq adapter docker image\"\n    runs-on: ubuntu-latest\n    environment:\n      name: \"release\"\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Set up qemu\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n      - name: Set up docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          version: latest\n      - name: Login to docker registry\n        run: |\n          docker login --username ${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_TOKEN }}\n      - name: Run buildx\n        run: |\n          cd adapters/vendors/rabbitmq/\n          docker buildx build \\\n            --tag \"faucet/event-adapter-rabbitmq:${GITHUB_REF_NAME}\" \\\n            --tag faucet/event-adapter-rabbitmq:latest \\\n            --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x \\\n            --output \"type=registry\" \\\n            --file Dockerfile \\\n            .\n\n  faucetagent-adapter-docker-image:\n    name: \"Build faucetagent adapter docker image\"\n    runs-on: ubuntu-latest\n    environment:\n      name: \"release\"\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Set up qemu\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n      - name: Set up docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          version: latest\n      - name: Login to docker registry\n        run: |\n          docker login --username ${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_TOKEN }}\n      - name: Run buildx\n        run: |\n          cd adapters/vendors/faucetagent/\n          docker buildx build \\\n            --tag \"faucet/event-adapter-faucetagent:${GITHUB_REF_NAME}\" \\\n            --tag faucet/event-adapter-faucetagent:latest \\\n            --platform linux/amd64 \\\n            --output \"type=registry\" \\\n            --file Dockerfile \\\n            .\n", "state": "active", "repository": "faucetsdn/faucet"}
{"mined_at": "2024-07-15T15:42:18.718327", "created_at": "2020-08-05T03:21:17+02:00", "updated_at": "2020-08-05T03:21:17+02:00", "name": "Build python packages for release", "path": ".github/workflows/release-python.yml", "contents": "name: Build python packages for release\n\non:\n  push:\n    tags:\n      - '[0-9]+.[0-9]+.[0-9]+'\n\nenv:\n  RELEASE_PY_VER: '3.10'\n\njobs:\n  python-package:\n    name: \"Build and publish python packages\"\n    runs-on: ubuntu-latest\n    environment:\n      name: \"release\"\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Set up python-${{ env.RELEASE_PY_VER }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.RELEASE_PY_VER }}\n      - name: Build python package\n        run: python3 setup.py sdist\n      - name: Publish python package to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "faucetsdn/faucet"}
{"mined_at": "2024-07-15T15:42:19.858499", "created_at": "2020-08-12T07:24:45+02:00", "updated_at": "2020-08-12T07:24:45+02:00", "name": "Code health checks", "path": ".github/workflows/tests-codecheck.yml", "contents": "name: Code health checks\n\non: [push, pull_request]\n\nenv:\n  FILES_CHANGED: \"all\"\n  CODECHECK_PY_VER: '3.10'\n\njobs:\n  codecheck:\n    name: Code check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - if: ${{ github.event_name == 'pull_request' }}\n        name: Setup dependencies for changed files action\n        run: |\n          sudo apt-get update -y\n          sudo apt-get install -y jq\n          git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n      - if: ${{ github.event_name == 'pull_request' }}\n        name: Get file changes\n        id: file_changes\n        uses: tj-actions/changed-files@v44\n        with:\n          json: true\n          json_raw_format: true\n      - if: ${{ steps.file_changes.outputs.all_changed_files }}\n        name: Compare file changes\n        run: |\n          FILES_ALL=\"$(echo '${{ steps.file_changes.outputs.all_changed_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_ADDED=\"$(echo '${{ steps.file_changes.outputs.added_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_DELETED=\"$(echo '${{ steps.file_changes.outputs.deleted_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_RENAMED=\"$(echo '${{ steps.file_changes.outputs.renamed_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_MODIFIED=\"$(echo '${{ steps.file_changes.outputs.modified_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_ADDED_MODIFIED=\"${FILES_ADDED} ${FILES_MODIFIED}\"\n          PY_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '\\.py$' | tr '\\n' ' ')\"\n          CI_TEST_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '(workflows\\/tests-.+\\.yml$|Dockerfile\\.tests$|^docker\\/.+$|tests\\/.+\\.sh$)' | tr '\\n' ' ')\"\n          RQ_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E 'requirements(.*)txt$' | tr '\\n' ' ')\"\n          DOC_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '^docs/.+$' | tr '\\n' ' ')\"\n          if [ ! -z \"${CI_TEST_FILES_CHANGED}\" ]; then FILES_CHANGED=\"all\"; else FILES_CHANGED=\"${FILES_ADDED_MODIFIED}\"; fi\n          echo \"Git added/modified: ${FILES_ADDED_MODIFIED}\"\n          echo \"CI test files changed: ${CI_TEST_FILES_CHANGED}\"\n          echo \"Python code changed: ${PY_FILES_CHANGED}\"\n          echo \"Requirement changes: ${RQ_FILES_CHANGED}\"\n          echo \"Documentation changes: ${DOC_FILES_CHANGED}\"\n          echo \"Files changed: ${FILES_CHANGED}\"\n          echo \"FILES_CHANGED=${FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"PY_FILES_CHANGED=${PY_FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"RQ_FILES_CHANGED=${RQ_FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"DOC_FILES_CHANGED=${DOC_FILES_CHANGED}\" >> ${GITHUB_ENV}\n      - name: Set up python-${{ env.CODECHECK_PY_VER }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.CODECHECK_PY_VER }}\n      - name: Install dependencies\n        run: |\n          ./docker/pip_deps.sh --extra-requirements=\"codecheck-requirements.txt\"\n      - name: Run black formatter\n        run: |\n          if [[ \"${{ env.FILES_CHANGED }}\" == \"all\" || ! -z \"${{ env.RQ_FILES_CHANGED }}\" ]]; then\n            echo \"Running black on everything\"\n            black . --check\n          elif [ ! -z \"${{ env.PY_FILES_CHANGED }}\" ]; then\n            echo \"Running black on ${{ env.PY_FILES_CHANGED }}\"\n            black ${{ env.PY_FILES_CHANGED }} --check\n          fi\n      - if: ${{ env.FILES_CHANGED == 'all' || env.PY_FILES_CHANGED }}\n        name: Run pylint\n        run: |\n          cd ./tests/codecheck\n          if [[ \"${{ env.FILES_CHANGED }}\" == \"all\" || ! -z \"${{ env.RQ_FILES_CHANGED }}\" ]]; then\n            echo \"Running pylint on everything\"\n            ./pylint.sh\n          else\n            echo \"Running pylint on ${{ env.PY_FILES_CHANGED }}\"\n            ./pylint.sh ${{ env.PY_FILES_CHANGED }}\n          fi\n", "state": "active", "repository": "faucetsdn/faucet"}
{"mined_at": "2024-07-15T15:42:20.916678", "created_at": "2022-03-29T00:43:29+02:00", "updated_at": "2022-03-29T22:49:43+02:00", "name": "Documentation checks", "path": ".github/workflows/tests-docs.yml", "contents": "name: Documentation checks\n\non: [push, pull_request]\n\nenv:\n  FILES_CHANGED: \"all\"\n  DOCS_PY_VER: '3.10'\n\njobs:\n  build-docs:\n    name: Build documentation\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - if: ${{ github.event_name == 'pull_request' }}\n        name: Setup dependencies for changed files action\n        run: |\n          sudo apt-get update -y\n          sudo apt-get install -y jq\n          git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n      - if: ${{ github.event_name == 'pull_request' }}\n        name: Get file changes\n        id: file_changes\n        uses: tj-actions/changed-files@v44\n        with:\n          json: true\n          json_raw_format: true\n      - if: ${{ steps.file_changes.outputs.all_changed_files }}\n        name: Compare file changes\n        run: |\n          FILES_ALL=\"$(echo '${{ steps.file_changes.outputs.all_changed_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_ADDED=\"$(echo '${{ steps.file_changes.outputs.added_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_DELETED=\"$(echo '${{ steps.file_changes.outputs.deleted_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_RENAMED=\"$(echo '${{ steps.file_changes.outputs.renamed_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_MODIFIED=\"$(echo '${{ steps.file_changes.outputs.modified_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_ADDED_MODIFIED=\"${FILES_ADDED} ${FILES_MODIFIED}\"\n          PY_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '\\.py$' | tr '\\n' ' ')\"\n          CI_TEST_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '(workflows\\/tests-.+\\.yml$|Dockerfile\\.tests$|^docker\\/.+$|tests\\/.+\\.sh$)' | tr '\\n' ' ')\"\n          RQ_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E 'requirements(.*)txt$' | tr '\\n' ' ')\"\n          DOC_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '^docs/.+$' | tr '\\n' ' ')\"\n          if [ ! -z \"${CI_TEST_FILES_CHANGED}\" ]; then FILES_CHANGED=\"all\"; else FILES_CHANGED=\"${FILES_ADDED_MODIFIED}\"; fi\n          echo \"Git added/modified: ${FILES_ADDED_MODIFIED}\"\n          echo \"CI test files changed: ${CI_TEST_FILES_CHANGED}\"\n          echo \"Python code changed: ${PY_FILES_CHANGED}\"\n          echo \"Requirement changes: ${RQ_FILES_CHANGED}\"\n          echo \"Documentation changes: ${DOC_FILES_CHANGED}\"\n          echo \"Files changed: ${FILES_CHANGED}\"\n          echo \"FILES_CHANGED=${FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"PY_FILES_CHANGED=${PY_FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"RQ_FILES_CHANGED=${RQ_FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"DOC_FILES_CHANGED=${DOC_FILES_CHANGED}\" >> ${GITHUB_ENV}\n      - name: Set up python-${{ env.DOCS_PY_VER }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DOCS_PY_VER }}\n      - name: Install dependencies\n        run: |\n          ./docker/pip_deps.sh --extra-requirements=\"docs/requirements.txt\"\n      - if: ${{ env.FILES_CHANGED == 'all' || env.DOC_FILES_CHANGED }}\n        name: Build docs\n        run: |\n          cd ./docs\n          sudo apt-get install librsvg2-bin\n          make html\n          rm -rf _build\n", "state": "active", "repository": "faucetsdn/faucet"}
{"mined_at": "2024-07-15T15:42:22.179536", "created_at": "2020-08-12T07:24:46+02:00", "updated_at": "2020-08-12T07:24:46+02:00", "name": "Integration tests", "path": ".github/workflows/tests-integration.yml", "contents": "name: Integration tests\n\non: [push, pull_request]\n\nenv:\n  FILES_CHANGED: \"all\"\n  MATRIX_SHARDS: 10\n\njobs:\n  sanity-tests:\n    name: Sanity tests\n    runs-on: ubuntu-22.04\n    container:\n      image: faucet/test-base:latest\n      options: --privileged --cap-add=ALL -v /lib/modules:/lib/modules -v /var/local/lib/docker:/var/lib/docker --sysctl net.ipv6.conf.all.disable_ipv6=0 --ulimit core=-1\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - if: ${{ github.event_name == 'pull_request' }}\n        name: Setup dependencies for changed files action\n        run: |\n          sudo apt-get update -y\n          sudo apt-get install -y jq\n          git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n      - if: ${{ github.event_name == 'pull_request' }}\n        name: Get file changes\n        id: file_changes\n        uses: tj-actions/changed-files@v44\n        with:\n          json: true\n          json_raw_format: true\n      - if: ${{ steps.file_changes.outputs.all_changed_files }}\n        name: Compare file changes\n        run: |\n          FILES_ALL=\"$(echo '${{ steps.file_changes.outputs.all_changed_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_ADDED=\"$(echo '${{ steps.file_changes.outputs.added_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_DELETED=\"$(echo '${{ steps.file_changes.outputs.deleted_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_RENAMED=\"$(echo '${{ steps.file_changes.outputs.renamed_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_MODIFIED=\"$(echo '${{ steps.file_changes.outputs.modified_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_ADDED_MODIFIED=\"${FILES_ADDED} ${FILES_MODIFIED}\"\n          PY_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '\\.py$' | tr '\\n' ' ')\"\n          CI_TEST_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '(workflows\\/tests-.+\\.yml$|Dockerfile\\.tests$|^docker\\/.+$|tests\\/.+\\.sh$)' | tr '\\n' ' ')\"\n          RQ_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E 'requirements(.*)txt$' | tr '\\n' ' ')\"\n          DOC_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '^docs/.+$' | tr '\\n' ' ')\"\n          if [ ! -z \"${CI_TEST_FILES_CHANGED}\" ]; then FILES_CHANGED=\"all\"; else FILES_CHANGED=\"${FILES_ADDED_MODIFIED}\"; fi\n          echo \"Git added/modified: ${FILES_ADDED_MODIFIED}\"\n          echo \"CI test files changed: ${CI_TEST_FILES_CHANGED}\"\n          echo \"Python code changed: ${PY_FILES_CHANGED}\"\n          echo \"Requirement changes: ${RQ_FILES_CHANGED}\"\n          echo \"Documentation changes: ${DOC_FILES_CHANGED}\"\n          echo \"Files changed: ${FILES_CHANGED}\"\n          echo \"FILES_CHANGED=${FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"PY_FILES_CHANGED=${PY_FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"RQ_FILES_CHANGED=${RQ_FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"DOC_FILES_CHANGED=${DOC_FILES_CHANGED}\" >> ${GITHUB_ENV}\n      - if: ${{ env.FILES_CHANGED == 'all' || env.PY_FILES_CHANGED || env.RQ_FILES_CHANGED }}\n        name: Initialise environment\n        run: |\n          sysctl --quiet -w kernel.core_pattern=\"/var/tmp/core.%h.%e.%t\"\n          modprobe openvswitch\n          modprobe ebtables\n          ln -s \"$(pwd)\" /faucet-src\n      - if: ${{ env.FILES_CHANGED == 'all' || env.PY_FILES_CHANGED || env.RQ_FILES_CHANGED }}\n        name: Run sanity tests\n        run: |\n          ./docker/runtests.sh\n        env:\n          FAUCET_TESTS: \"-ni FaucetSanityTest FaucetStackStringOfDPUntaggedTest\"\n          HWTESTS: 1\n      - name: Detect core dumps\n        run: |\n          if [ ls -1 /var/tmp/core* > /dev/null 2>&1 ]; then\n            exit 1\n          fi\n\n  integration-tests:\n    name: Integration tests\n    runs-on: ubuntu-22.04\n    needs: sanity-tests\n    container:\n      image: faucet/test-base:latest\n      options: --privileged --cap-add=ALL -v /lib/modules:/lib/modules -v /var/local/lib/docker:/var/lib/docker --sysctl net.ipv6.conf.all.disable_ipv6=0 --ulimit core=-1\n    strategy:\n      matrix:\n        MATRIX_SHARD: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - if: ${{ github.event_name == 'pull_request' && github.event.before != '0000000000000000000000000000000000000000' }}\n        name: Setup dependencies for changed files action\n        run: |\n          sudo apt-get update -y\n          sudo apt-get install -y jq\n          git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n      - if: ${{ github.event_name == 'pull_request' && github.event.before != '0000000000000000000000000000000000000000' }}\n        name: Get file changes\n        id: file_changes\n        uses: tj-actions/changed-files@v44\n        with:\n          json: true\n          json_raw_format: true\n      - if: ${{ steps.file_changes.outputs.all_changed_files }}\n        name: Compare file changes\n        run: |\n          FILES_ALL=\"$(echo '${{ steps.file_changes.outputs.all_changed_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_ADDED=\"$(echo '${{ steps.file_changes.outputs.added_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_DELETED=\"$(echo '${{ steps.file_changes.outputs.deleted_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_RENAMED=\"$(echo '${{ steps.file_changes.outputs.renamed_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_MODIFIED=\"$(echo '${{ steps.file_changes.outputs.modified_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_ADDED_MODIFIED=\"${FILES_ADDED} ${FILES_MODIFIED}\"\n          PY_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '\\.py$' | tr '\\n' ' ')\"\n          CI_TEST_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '(workflows\\/tests-.+\\.yml$|Dockerfile\\.tests$|^docker\\/.+$|tests\\/.+\\.sh$)' | tr '\\n' ' ')\"\n          RQ_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E 'requirements(.*)txt$' | tr '\\n' ' ')\"\n          DOC_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '^docs/.+$' | tr '\\n' ' ')\"\n          if [ ! -z \"${CI_TEST_FILES_CHANGED}\" ]; then FILES_CHANGED=\"all\"; else FILES_CHANGED=\"${FILES_ADDED_MODIFIED}\"; fi\n          echo \"Git added/modified: ${FILES_ADDED_MODIFIED}\"\n          echo \"CI test files changed: ${CI_TEST_FILES_CHANGED}\"\n          echo \"Python code changed: ${PY_FILES_CHANGED}\"\n          echo \"Requirement changes: ${RQ_FILES_CHANGED}\"\n          echo \"Documentation changes: ${DOC_FILES_CHANGED}\"\n          echo \"Files changed: ${FILES_CHANGED}\"\n          echo \"FILES_CHANGED=${FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"PY_FILES_CHANGED=${PY_FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"RQ_FILES_CHANGED=${RQ_FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"DOC_FILES_CHANGED=${DOC_FILES_CHANGED}\" >> ${GITHUB_ENV}\n      - if: ${{ env.FILES_CHANGED == 'all' || env.PY_FILES_CHANGED || env.RQ_FILES_CHANGED }}\n        name: Initialise environment\n        run: |\n          sysctl --quiet -w kernel.core_pattern=\"/var/tmp/core.%h.%e.%t\"\n          modprobe openvswitch\n          modprobe ebtables\n          ln -s \"$(pwd)\" /faucet-src\n      - if: ${{ env.FILES_CHANGED == 'all' || env.PY_FILES_CHANGED || env.RQ_FILES_CHANGED }}\n        name: Shard tests\n        run: |\n          shard_tests=$(./docker/shard_tests.sh \"${{ env.MATRIX_SHARDS }}\" \"${{ matrix.MATRIX_SHARD }}\")\n          faucet_tests=\"-din ${shard_tests}\"\n          echo \"Running the following faucet tests on this shard: ${shard_tests}\"\n          echo \"FAUCET_TESTS=${faucet_tests}\" >> ${GITHUB_ENV}\n      - if: ${{ env.FILES_CHANGED == 'all' || env.PY_FILES_CHANGED || env.RQ_FILES_CHANGED }}\n        name: Run integration tests\n        run: |\n          ./docker/runtests.sh\n      - name: Detect core dumps\n        run: |\n          if [ ls -1 /var/tmp/core* > /dev/null 2>&1 ]; then\n            exit 1\n          fi\n", "state": "active", "repository": "faucetsdn/faucet"}
{"mined_at": "2024-07-15T15:42:23.238080", "created_at": "2020-08-12T07:24:46+02:00", "updated_at": "2021-04-23T01:53:50+02:00", "name": "Unit tests", "path": ".github/workflows/tests-unit.yml", "contents": "name: Unit tests\n\non: [push, pull_request]\n\nenv:\n  FILES_CHANGED: \"all\"\n  CODECOV_PY_VER: '3.10'\n  USING_PYTYPE: '3.8,3.9,3.10,3.11'\n\njobs:\n  unit-tests:\n    name: Unit tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', 3.11, 3.12]\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - if: ${{ github.event_name == 'pull_request' }}\n        name: Setup dependencies for changed files action\n        run: |\n          sudo apt-get update -y\n          sudo apt-get install -y jq\n          git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n      - if: ${{ github.event_name == 'pull_request' }}\n        name: Get file changes\n        id: file_changes\n        uses: tj-actions/changed-files@v44\n        with:\n          json: true\n          json_raw_format: true\n      - if: ${{ steps.file_changes.outputs.all_changed_files }}\n        name: Compare file changes\n        run: |\n          FILES_ALL=\"$(echo '${{ steps.file_changes.outputs.all_changed_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_ADDED=\"$(echo '${{ steps.file_changes.outputs.added_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_DELETED=\"$(echo '${{ steps.file_changes.outputs.deleted_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_RENAMED=\"$(echo '${{ steps.file_changes.outputs.renamed_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_MODIFIED=\"$(echo '${{ steps.file_changes.outputs.modified_files }}' | jq -r '.[]' | tr '\\n' ' ')\"\n          FILES_ADDED_MODIFIED=\"${FILES_ADDED} ${FILES_MODIFIED}\"\n          PY_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '\\.py$' | tr '\\n' ' ')\"\n          CI_TEST_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '(workflows\\/tests-.+\\.yml$|Dockerfile\\.tests$|^docker\\/.+$|tests\\/.+\\.sh$)' | tr '\\n' ' ')\"\n          RQ_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E 'requirements(.*)txt$' | tr '\\n' ' ')\"\n          DOC_FILES_CHANGED=\"$(echo ${FILES_ADDED_MODIFIED} | tr ' ' '\\n' | grep -E '^docs/.+$' | tr '\\n' ' ')\"\n          if [ ! -z \"${CI_TEST_FILES_CHANGED}\" ]; then FILES_CHANGED=\"all\"; else FILES_CHANGED=\"${FILES_ADDED_MODIFIED}\"; fi\n          echo \"Git added/modified: ${FILES_ADDED_MODIFIED}\"\n          echo \"CI test files changed: ${CI_TEST_FILES_CHANGED}\"\n          echo \"Python code changed: ${PY_FILES_CHANGED}\"\n          echo \"Requirement changes: ${RQ_FILES_CHANGED}\"\n          echo \"Documentation changes: ${DOC_FILES_CHANGED}\"\n          echo \"Files changed: ${FILES_CHANGED}\"\n          echo \"FILES_CHANGED=${FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"PY_FILES_CHANGED=${PY_FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"RQ_FILES_CHANGED=${RQ_FILES_CHANGED}\" >> ${GITHUB_ENV}\n          echo \"DOC_FILES_CHANGED=${DOC_FILES_CHANGED}\" >> ${GITHUB_ENV}\n      - name: Set up python-${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          ./docker/pip_deps.sh\n          pip3 install ./\n          pip3 show faucet\n      - name: Run unit tests\n        run: |\n          ./tests/run_unit_tests.sh\n      - if: ${{ matrix.python-version == env.CODECOV_PY_VER }}\n        name: Upload codecov\n        uses: codecov/codecov-action@v4\n      - if: ${{ env.FILES_CHANGED == 'all' || env.RQ_FILES_CHANGED || env.PY_FILES_CHANGED }}\n        name: Run pytype\n        run: |\n          if ${{ contains(env.USING_PYTYPE, matrix.python-version) }} == 'true' ; then\n            ./docker/pip_deps.sh --extra-requirements=\"codecheck-requirements.txt\"\n            cd ./tests/codecheck\n            if [[ \"${{ env.FILES_CHANGED }}\" == \"all\" || ! -z \"${{ env.RQ_FILES_CHANGED }}\" ]]; then\n              echo \"Running pytype on everything\"\n              ./pytype.sh\n            else\n              echo \"Running pytype on ${{ env.PY_FILES_CHANGED }}\"\n              ./pytype.sh ${{ env.PY_FILES_CHANGED }}\n            fi\n          fi\n      - name: Run pyright\n        # pyright is quite fast, so easier just to run global config every time.\n        run: |\n          ./docker/pip_deps.sh --extra-requirements=\"codecheck-requirements.txt\" \n          pyright\n", "state": "active", "repository": "faucetsdn/faucet"}
{"mined_at": "2024-07-15T15:42:24.343016", "created_at": "2021-07-17T21:25:59+02:00", "updated_at": "2021-07-21T00:31:53+02:00", "name": "YAML Lint", "path": ".github/workflows/tests-yaml-lint.yml", "contents": "name: YAML Lint\non: [push, pull_request]\njobs:\n  yamllint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: yaml-lint\n      uses: ibiqlik/action-yamllint@v3\n      with:\n        config_data: \"{extends: default, ignore: .github}\"\n", "state": "active", "repository": "faucetsdn/faucet"}
{"mined_at": "2024-07-15T15:42:27.026812", "created_at": "2023-08-05T02:28:36+02:00", "updated_at": "2023-08-27T14:37:52+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  push:\n    branches: [ main ]\n    paths-ignore:\n      - 'src/pretalx/locale/**'\n      - 'doc/**'\n  pull_request:\n    branches: [ main ]\n    paths-ignore:\n      - 'src/pretalx/locale/**'\n      - 'doc/**'\n\npermissions:\n  contents: read  #  to fetch code (actions/checkout)\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  packaging:\n    runs-on: ubuntu-latest\n    name: Packaging\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n      - name: Set up node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 'latest'\n      - name: Install frontend dependencies\n        run: npm ci\n        working-directory: ./src/pretalx/frontend/schedule-editor\n      - name: Install system dependencies\n        run: sudo apt update && sudo apt install gettext unzip\n      - name: Install Python dependencies\n        run: python -m pip install twine wheel -Ue \".[dev]\"\n      - name: Run check-manifest\n        run: check-manifest\n      - name: Run build\n        run: python -m build\n      - name: Check package\n        run: twine check dist/*\n      - name: Check files to make sure we ship our frontend\n        run: unzip -l dist/pretalx*whl | grep frontend || exit 1\n      - name: Check files to make sure we ship our frontend but not our node_modules\n        run: unzip -l dist/pretalx*whl | grep node_modules && exit 1 || exit 0\n      - name: Install the created wheel package with pip\n        run: |\n          # Switch to a new virtualenv\n          mkdir test_venv\n          python -m venv test_venv\n          . test_venv/bin/activate\n\n          python -m pip install dist/pretalx*whl\n      - name: Make sure we can run pretalx commands\n        run: python -m pretalx help\n      - name: Make sure we can run through all migrations\n        run: python -m pretalx migrate\n", "state": "active", "repository": "pretalx/pretalx"}
{"mined_at": "2024-07-15T15:42:28.190063", "created_at": "2020-07-27T01:04:38+02:00", "updated_at": "2020-07-27T01:04:38+02:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'doc/**'\n  pull_request:\n    branches: [ main ]\n    paths:\n      - 'doc/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  spelling:\n    name: Spellcheck\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install system packages\n        run: |\n          sudo apt update\n          sudo apt install enchant-2 hunspell aspell-en\n      - name: Install Dependencies\n        run: python -m pip install -Ur doc/requirements.txt\n      - name: Spellcheck docs\n        run: make spelling\n        working-directory: ./doc\n      - name: Put spelling errors into summary file\n        run: |\n          echo \"## Spellcheck results\" >> $GITHUB_STEP_SUMMARY\n          echo \"\" >> $GITHUB_STEP_SUMMARY\n          for file in $(find _build -type f -name \"*.spelling\"); do\n            sed 's/^/- /' < $file >> $GITHUB_STEP_SUMMARY\n          done\n          echo \"\" >> $GITHUB_STEP_SUMMARY\n        working-directory: ./doc\n      - name: Fail if there were spelling errors\n        run: '! find _build -type f -name \"*.spelling\" | grep -q .'\n        working-directory: ./doc\n\n  linkcheck:\n    name: Linkcheck\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install Dependencies\n        run: pip3 install -Ur doc/requirements.txt\n      - name: Linkcheck docs\n        run: make linkcheck\n        working-directory: ./doc\n      - name: Put linkcheck result into summary\n        run: |\n          echo \"## Linkcheck results\" >> $GITHUB_STEP_SUMMARY\n          sed 's/^/- /' < _build/linkcheck/output.txt >> $GITHUB_STEP_SUMMARY\n          echo \"\" >> $GITHUB_STEP_SUMMARY\n        working-directory: ./doc\n        if: always()\n", "state": "active", "repository": "pretalx/pretalx"}
{"mined_at": "2024-07-15T15:42:29.315097", "created_at": "2024-02-12T09:00:09+01:00", "updated_at": "2024-02-12T09:00:09+01:00", "name": "Strings", "path": ".github/workflows/strings.yml", "contents": "name: Strings\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'src/pretalx/locale/**'\n  pull_request:\n    branches: [ main ]\n    paths:\n      - 'src/pretalx/locale/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  compile:\n    runs-on: ubuntu-latest\n    name: Check that translation files compile\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install system dependencies\n        run: |\n          sudo apt update\n          sudo apt install gettext\n      - name: Install Python dependencies\n        run: python -m pip install -e \".[dev]\" polib\n      - name: Compile locales\n        run: python manage.py compilemessages\n        working-directory: ./src\n      - name: Check translation health\n        run: python ../.github/workflows/scripts/strings.py\n        working-directory: ./src\n", "state": "active", "repository": "pretalx/pretalx"}
{"mined_at": "2024-07-15T15:42:30.548333", "created_at": "2020-07-27T01:04:39+02:00", "updated_at": "2020-07-27T01:04:39+02:00", "name": "Code Style", "path": ".github/workflows/style.yml", "contents": "name: Code Style\n\non:\n  push:\n    branches: [ main ]\n    paths-ignore:\n      - 'src/pretalx/locale/**'\n      - 'src/pretalx/static/**'\n      - 'doc/**'\n  pull_request:\n    branches: [ main ]\n    paths-ignore:\n      - 'src/pretalx/locale/**'\n      - 'src/pretalx/static/**'\n      - 'doc/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  isort:\n    name: isort\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install Dependencies\n        run: python -m pip install -Ue \".[dev]\"\n      - name: Run isort\n        run: isort -c .\n        working-directory: ./src\n  flake:\n    name: flake8\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install Dependencies\n        run: python -m pip install -Ue \".[dev]\"\n      - name: Setup flake8 annotations\n        uses: rbialon/flake8-annotations@v1\n      - name: Run flake8\n        run: flake8 .\n        working-directory: ./src\n  black:\n    name: black\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Add problem matcher for black\n        run: echo \"::add-matcher::.github/workflows/matchers/black.json\"\n      - uses: psf/black@stable\n        with:\n          src: \"./src\"\n  html:\n    name: HTML checks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install Dependencies\n        run: python -m pip install -Ue \".[dev]\"\n      - name: Run djhtml\n        run: 'djhtml pretalx/'\n        working-directory: ./src\n      - name: Make sure we always use trimmed translation strings\n        run: \"! git grep ' blocktranslate ' | grep -v trimmed\"\n", "state": "active", "repository": "pretalx/pretalx"}
{"mined_at": "2024-07-15T15:42:31.670534", "created_at": "2020-07-27T01:04:39+02:00", "updated_at": "2023-07-22T12:18:44+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ main ]\n    paths-ignore:\n      - 'doc/**'\n      - 'src/pretalx/locale/**'\n  pull_request:\n    branches: [ main ]\n    paths-ignore:\n      - 'doc/**'\n      - 'src/pretalx/locale/**'\n\npermissions:\n  contents: write\n  checks: write\n  pull-requests: write\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: Tests\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9, '3.10', 3.11, 3.12]\n        database: [sqlite, postgres, mysql]\n        exclude:\n          - database: mysql\n            python-version: 3.9\n          - database: mysql\n            python-version: '3.10'\n          - database: mysql\n            python-version: '3.11'\n          - database: sqlite\n            python-version: 3.9\n          - database: sqlite\n            python-version: '3.10'\n          - database: sqlite\n            python-version: '3.11'\n    steps:\n      - uses: actions/checkout@v4\n      - uses: getong/mariadb-action@v1.1\n        with:\n          mariadb version: '10.7'\n          mysql database: 'pretalx'\n          mysql root password: ''\n        if: matrix.database == 'mysql'\n      - uses: harmon758/postgresql-action@v1\n        with:\n          postgresql version: '14'\n          postgresql db: 'pretalx'\n          postgresql user: 'postgres'\n          postgresql password: 'postgres'\n        if: matrix.database == 'postgres'\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n      - name: Set up node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 'latest'\n      - name: Install system dependencies\n        run: |\n          sudo apt update\n          sudo apt install gettext\n      - name: Install system dependencies for mysql\n        run: sudo apt update && sudo apt install mariadb-client-10.6\n        if: matrix.database == 'mysql'\n      - name: Install Python dependencies\n        run: python -m pip install -Ue \".[dev]\"\n      - name: Install MySQL dependencies\n        run: python -m pip install -Ue \".[mysql]\"\n        if: matrix.database == 'mysql'\n      - name: Install Postgres dependencies\n        run: python -m pip install -Ue \".[postgres]\"\n        if: matrix.database == 'postgres'\n      - name: Install frontend dependencies\n        run: npm ci\n        working-directory: ./src/pretalx/frontend/schedule-editor\n      - name: Run checks\n        run: python manage.py check --deploy\n        working-directory: ./src\n      - name: Run checks\n        run: python manage.py compilemessages\n        working-directory: ./src\n      - name: Run tests\n        working-directory: ./src\n        run: |\n          # tee will gobble up our exit code without pipefail\n          set -o pipefail\n          python -m pytest \\\n            -nauto -p no:sugar \\\n            --junitxml=pytest.xml \\\n            --reruns 3 \\\n            --cov-report=term-missing:skip-covered \\\n            tests | tee pytest-coverage.txt\n        env:\n          PRETALX_CONFIG_FILE: 'tests/ci_${{ matrix.database }}.cfg'\n      - name: Coverage comment\n        id: coverageComment\n        uses: MishaKav/pytest-coverage-comment@main\n        with:\n          pytest-coverage-path: ./src/pytest-coverage.txt\n          junitxml-path: ./src/pytest.xml\n          junitxml-title: Test summary\n          report-only-changed-files: true\n          title: Full coverage report\n        if: always() && matrix.database == 'postgres' && matrix.python-version == '3.12' && github.event_name == 'pull_request'\n      - name: Coverage data (non-PR, do not comment)\n        id: coverageData\n        uses: MishaKav/pytest-coverage-comment@main\n        with:\n          pytest-coverage-path: ./src/pytest-coverage.txt\n          junitxml-path: ./src/pytest.xml\n          junitxml-title: Test summary\n          report-only-changed-files: true\n          hide-comment: true\n          title: Full coverage report\n        if: always() && matrix.database == 'postgres' && matrix.python-version == '3.12' && github.event_name != 'pull_request'\n      - name: Show coverage as build info\n        working-directory: ./src\n        shell: bash  # needed to make echo work as expected\n        run: |\n          python -m coverage json\n\n          export TOTAL_COV=$(python -c \"import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])\")\n          echo \"TOTAL_COV=$TOTAL_COV\" >> $GITHUB_ENV\n          echo \"## Test coverage: $TOTAL_COV%\" >> $GITHUB_STEP_SUMMARY\n          echo ${{ steps.coverageData.outputs.summaryReport }} >> $GITHUB_STEP_SUMMARY\n          echo ${{ steps.coverageComment.outputs.summaryReport }} >> $GITHUB_STEP_SUMMARY\n          python -m coverage report --skip-covered --skip-empty --show-missing --format=markdown >> $GITHUB_STEP_SUMMARY\n\n          python -m coverage report\n        if: always() && matrix.database == 'postgres' && matrix.python-version == '3.12'\n\n      - name: \"Make badge\"\n        uses: schneegans/dynamic-badges-action@v1.7.0\n        with:\n          # GIST_TOKEN is a GitHub personal access token with scope \"gist\".\n          auth: ${{ secrets.GIST_TOKEN }}\n          gistID: 0ac3e4314d780e809c0164c8c329f36f\n          filename: covbadge.json\n          label: coverage\n          message: ${{ env.TOTAL_COV }}%\n          color: \"#3aa57c\"\n        if: env.TOTAL_COV && github.ref == 'refs/heads/main'\n", "state": "active", "repository": "pretalx/pretalx"}
{"mined_at": "2024-07-15T15:42:33.761909", "created_at": "2020-04-05T10:50:01+02:00", "updated_at": "2021-12-16T11:38:59+01:00", "name": "Test without C-extensions", "path": ".github/workflows/testing.yml", "contents": "name: Test without C-extensions\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n  workflow_dispatch:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # doesn't work with CPython 3.9\n        python-version: ['3.10', '3.11', '3.12', 'pypy-3.9']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        # Excluding Cython to test the pure Python version.\n        python -m pip install \"setuptools>69.0.0\" wheel\n    - name: Install without C-extensions\n      run: |\n        python -m pip install --no-build-isolation .\n    - name: Test without C-extensions\n      run: |\n        # install test dependencies\n        python -m pip install pytest Pillow\n        python -m pytest tests integration_tests\n", "state": "active", "repository": "mozman/ezdxf"}
{"mined_at": "2024-07-15T15:42:34.946914", "created_at": "2020-12-11T14:08:30+01:00", "updated_at": "2021-12-16T11:38:55+01:00", "name": "Test with C-extensions", "path": ".github/workflows/testcext.yml", "contents": "name: Test with C-extensions\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n    - name: Install with C-extensions\n      run: |\n        python -m pip install .\n    - name: Test with C-extensions\n      run: |\n        # install test dependencies\n        python -m pip install pytest Pillow\n        python -m pytest tests integration_tests\n", "state": "active", "repository": "mozman/ezdxf"}
{"mined_at": "2024-07-15T15:42:35.958794", "created_at": "2021-08-30T09:11:07+02:00", "updated_at": "2021-12-16T11:38:51+01:00", "name": "Check type annotations by mypy", "path": ".github/workflows/mypy.yml", "contents": "name: Check type annotations by mypy\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install wheel mypy pyparsing numpy fonttools\n    - name: Install without C-extensions\n      run: |\n        python -m pip install .\n    - name: Check type annotations by mypy\n      run: |\n        python -m mypy --ignore-missing-imports -p ezdxf\n", "state": "active", "repository": "mozman/ezdxf"}
{"mined_at": "2024-07-15T15:42:37.085018", "created_at": "2021-12-15T04:49:52+01:00", "updated_at": "2021-12-15T04:52:11+01:00", "name": "PyPI source deployer", "path": ".github/workflows/deploy_source.yml", "contents": "name: PyPI source deployer\non:\n  push:\n    tags:\n      - 'v*'\njobs:\n  # Deploy source distribution\n  Source-dist:\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n      - name: Create source distribution\n        run: |\n          python -m pip install setuptools\n          python setup.py sdist --formats=zip\n      - name: Upload source package to PyPI\n        env:\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n        run: |\n          pip install twine\n          twine upload dist/*\n", "state": "active", "repository": "mozman/ezdxf"}
{"mined_at": "2024-07-15T15:42:38.143442", "created_at": "2021-12-15T04:49:52+01:00", "updated_at": "2021-12-16T11:11:32+01:00", "name": "PyPI win and macos deployer", "path": ".github/workflows/deploy_win_macos.yml", "contents": "name: PyPI win and macos deployer\non:\n  push:\n    tags:\n      - 'v*'\n  workflow_dispatch:\n\njobs:\n  # Build and deploy Windows AMD64, macOS x86 & macOS arm64 wheels\n  Matrix-build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, macos-latest]\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n    - name: Install Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Build wheels\n      uses: pypa/cibuildwheel@v2.16\n      env:\n        CIBW_BEFORE_BUILD: \"pip install setuptools wheel cython\"\n        CIBW_ARCHS_WINDOWS: \"AMD64\"\n        CIBW_ARCHS_MACOS: \"x86_64 arm64 universal2\"\n        # Does not fail at unsupported Python versions!\n        CIBW_BUILD: cp39-* cp310-* cp311-* cp312-*\n    - name: Upload wheels\n      env:\n        TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n      run: |\n        ls -l ./wheelhouse\n        pip install twine\n        twine upload --skip-existing ./wheelhouse/*.whl\n", "state": "active", "repository": "mozman/ezdxf"}
{"mined_at": "2024-07-15T15:42:39.241892", "created_at": "2021-12-15T05:56:11+01:00", "updated_at": "2021-12-15T05:56:11+01:00", "name": "PyPI manylinux2014_aarch64 deployer", "path": ".github/workflows/deploy_manylinux2014_aarch64.yml", "contents": "name: PyPI manylinux2014_aarch64 deployer\non:\n  push:\n    tags:\n      - 'v*'\n  workflow_dispatch:\n\njobs:\n  # Build and deploy manylinux2014_aarch64 wheels\n  Linux-build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Build manylinux2014_aarch64 wheels\n        uses: pypa/cibuildwheel@v2.16\n        env:\n          CIBW_BEFORE_BUILD: \"pip install setuptools wheel cython\"\n          CIBW_ARCHS_LINUX: \"aarch64\"\n          CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014\n          CIBW_BUILD: cp39-* cp310-* cp311-* cp312-*\n      - name: Upload manylinux2014_aarch64 wheels to PyPI\n        env:\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n        run: |\n          ls -l ./wheelhouse\n          pip install twine\n          twine upload --skip-existing ./wheelhouse/*.whl\n", "state": "active", "repository": "mozman/ezdxf"}
{"mined_at": "2024-07-15T15:42:40.253880", "created_at": "2021-12-15T05:56:11+01:00", "updated_at": "2021-12-15T06:02:48+01:00", "name": "PyPI manylinux2014_x86_64 deployer", "path": ".github/workflows/deploy_manylinux2014_x86_64.yml", "contents": "name: PyPI manylinux2014_x86_64 deployer\non:\n  push:\n    tags:\n      - 'v*'\n  workflow_dispatch:\n\njobs:\n  # Build and deploy manylinux2014_x86_64 wheels\n  # follow numpy schema: https://pypi.org/project/numpy/#files\n  Linux-build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build manylinux2014_x86_64 wheels\n        uses: pypa/cibuildwheel@v2.16\n        env:\n          CIBW_BEFORE_BUILD: \"pip install setuptools wheel cython\"\n          CIBW_ARCHS_LINUX: \"x86_64\"\n          CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014\n          # cp37 - cp39 are deployed for manylinux2010\n          CIBW_BUILD: cp310-* cp311-* cp312-*\n      - name: Upload manylinux2014_x86_64 wheels to PyPI\n        env:\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n        run: |\n          ls -l ./wheelhouse\n          pip install twine\n          twine upload --skip-existing ./wheelhouse/*.whl\n", "state": "active", "repository": "mozman/ezdxf"}
{"mined_at": "2024-07-15T15:42:41.244626", "created_at": "2021-12-15T07:18:23+01:00", "updated_at": "2021-12-15T07:18:23+01:00", "name": "PyPI manylinux2010_x86_64 deployer", "path": ".github/workflows/deploy_manylinux2010_x86_64.yml", "contents": "name: PyPI manylinux2010_x86_64 deployer\non:\n  push:\n    tags:\n      - 'v*'\n  workflow_dispatch:\n\njobs:\n  # Build and deploy manylinux2010_x86_64 wheels\n  # follow numpy schema: https://pypi.org/project/numpy/#files\n  Linux-build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build manylinux2010_x86_64 wheels\n        uses: pypa/cibuildwheel@v2.16\n        env:\n          CIBW_BEFORE_BUILD: \"pip install wheel cython\"\n          CIBW_ARCHS_LINUX: \"x86_64\"\n          CIBW_MANYLINUX_X86_64_IMAGE: manylinux2010\n          # cp310 is deployed for manylinux2014\n          CIBW_BUILD: cp39-*\n      - name: Upload manylinux2010_x86_64 wheels to PyPI\n        env:\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n        run: |\n          ls -l ./wheelhouse\n          pip install twine\n          twine upload --skip-existing ./wheelhouse/*.whl\n", "state": "active", "repository": "mozman/ezdxf"}
{"mined_at": "2024-07-15T15:42:42.289822", "created_at": "2022-12-17T05:38:12+01:00", "updated_at": "2022-12-17T05:40:01+01:00", "name": "PyPI pure Python wheel deployer", "path": ".github/workflows/deploy_pure_python_wheel.yml", "contents": "name: PyPI pure Python wheel deployer\non:\n  push:\n    tags:\n      - 'v*'\n  workflow_dispatch:\n\njobs:\n  # Deploy source distribution\n  Source-dist:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: pypy-3.9\n      - name: create pure Python wheel\n        run: |\n          pypy -m pip install \"setuptools>69.0.0\" wheel\n          pypy setup.py bdist_wheel\n      - name: Upload pure Python wheel to PyPI\n        env:\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n        run: |\n          pip install twine\n          twine upload dist/*\n", "state": "active", "repository": "mozman/ezdxf"}
{"mined_at": "2024-07-15T15:42:43.343547", "created_at": "2024-05-19T21:39:04+02:00", "updated_at": "2024-05-19T21:39:04+02:00", "name": "Test pypy without C-extensions", "path": ".github/workflows/testpypy.yml", "contents": "name: Test pypy without C-extensions\n\non:\n  workflow_dispatch:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['pypy-3.9']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pypy -m pip install --upgrade pip\n        # Excluding Cython to test the pure Python version.\n        pypy -m pip install \"setuptools>69.0.0\" wheel\n    - name: Install without C-extensions\n      run: |\n        pypy -m pip install --no-build-isolation .\n    - name: Test pypy without C-extensions\n      run: |\n        # install test dependencies\n        pypy -m pip install pytest Pillow\n        pypy -m pytest tests integration_tests\n", "state": "active", "repository": "mozman/ezdxf"}
{"mined_at": "2024-07-15T15:42:45.725855", "created_at": "2021-09-26T03:37:36+02:00", "updated_at": "2021-09-26T15:08:43+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [ push, pull_request ]\n\njobs:\n  prep-tests:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-vars.outputs.matrix }}\n      date: ${{ steps.set-vars.outputs.date }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - run: pip install tox\n      - name: Generate matrix & vars\n        id: set-vars\n        run: python helper/github-ci-vars.py\n  tests:\n    needs: prep-tests\n    runs-on: ubuntu-20.04\n    name: tests-${{ matrix.setup.toxenv }}\n    continue-on-error: ${{ matrix.setup.experimental }}\n    strategy:\n      matrix:\n        setup: ${{ fromJson(needs.prep-tests.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: pip-${{ needs.prep-tests.date }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.setup.python-version }}\n      - name: Install system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y gdal-bin libsqlite3-mod-spatialite\n      - name: Install tox\n        run: pip install tox\n      - name: Run Tox\n        run: tox --skip-missing-interpreters=false -e ${{ matrix.setup.toxenv }}\n      - uses: codecov/codecov-action@v3\n        with:\n          name: ${{ matrix.setup.toxenv }}\n  passed-tests:\n    name: Required tests passed\n    needs: [ tests ]\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo \"All Done\"", "state": "active", "repository": "tfranzel/drf-spectacular"}
{"mined_at": "2024-07-15T15:42:46.926409", "created_at": "2021-06-01T21:35:19+02:00", "updated_at": "2021-06-01T21:35:19+02:00", "name": "Release Python Package to PyPi", "path": ".github/workflows/publish.yml", "contents": "# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Release Python Package to PyPi\n\non: [ workflow_dispatch ]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements/packaging.txt\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py publish", "state": "active", "repository": "tfranzel/drf-spectacular"}
{"mined_at": "2024-07-15T15:42:48.991015", "created_at": "2022-05-18T15:24:40+02:00", "updated_at": "2022-05-20T07:04:48+02:00", "name": "hooks warnings", "path": ".github/workflows/hooks-warnings.yml", "contents": "name: hooks warnings\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  comment:\n    if: ${{ github.event.issue.pull_request && github.event.sender.login == 'conan-center-bot' }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v6\n        with:\n          script: |\n            warnings_map = new Map()\n            const link_regex = /\\[All logs\\]\\((?<url>https?:\\/\\/(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&//=]*))\\)/g;\n            for (const match of context.payload.comment.body.matchAll(link_regex))\n            {\n              prefix = \"https://c3i.jfrog.io/c3i/misc/summary.html?json=\"\n              if(!match.groups.url.startsWith(prefix))\n                 continue;\n              url = match.groups.url.slice(prefix.length)\n              try {\n                result = await github.request({\n                  url: url,\n                });\n              } catch(err) {\n                core.warning(`error ${err.status} for url ${err.request.url}`)\n                continue\n              }\n              for (const job of result.data)\n              {\n                if (job.build == null)\n                  continue;\n                try {\n                  log = await github.request({\n                    baseUrl: \"https://c3i.jfrog.io/c3i/misc/\",\n                    url: job.build,\n                  });\n                } catch(err) {\n                  core.warning(`error ${err.status} for url ${err.request.url}`)\n                  continue\n                }\n                prefix = \"[HOOK - conan-center.py] \"\n                warnings = log.data.split(\"\\n\").filter(line => line.startsWith(prefix) && line.includes(\" WARN: \"))\n                if(warnings.length == 0)\n                  continue\n                if(!warnings_map.has(job.reference))\n                  warnings_map.set(job.reference, new Set())\n                for(const warning of warnings)\n                {\n                  msg = warning.slice(prefix.length)\n                  warnings_map.get(job.reference).add(msg)\n                  core.warning(msg)\n                }\n              }\n            }\n            if(warnings_map.size > 0)\n            {\n              comment = \"<details>\\n\"\n              comment += \"<summary>Hooks produced the following warnings\"\n              const shaRegex = /(All green|Failure) in build \\d+ \\(`(?<sha>(\\d|[a-z])+)`\\):/g;\n              const shaMatch = shaRegex.exec(context.payload.comment.body)\n              if(shaMatch)\n              {\n                comment += \" for commit \" + shaMatch.groups.sha\n              }\n              comment += \"</summary>\\n\\n\"\n              for (const [ref, warnings] of warnings_map)\n              {\n                comment += \"<details>\\n\"\n                comment += \"<summary>\" + ref + \"</summary>\\n\\n```\\n\"\n                for(const warning of warnings)\n                  comment += warning + \"\\n\"\n                comment += \"```\\n</details>\\n\"\n              }\n              comment += \"</details>\\n\"\n              github.rest.issues.createComment({\n                issue_number: context.issue.number,\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                body: comment\n              })\n            }\n", "state": "active", "repository": "conan-io/conan-center-index"}
{"mined_at": "2024-07-15T15:42:50.086101", "created_at": "2022-06-13T09:00:11+02:00", "updated_at": "2023-01-28T10:13:34+01:00", "name": "[linter] Conan v2 migration", "path": ".github/workflows/linter-conan-v2.yml", "contents": "name: \"[linter] Conan v2 migration\"\n\non:\n  pull_request:\n\nenv:\n  PYTHONPATH: ${{github.workspace}}\n  PYVER: \"3.8\"\n  REQUIREMENTS: \"pylint==2.14\"\n\njobs:\n  test_linter:\n    name: Test linter changes (v2 migration)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Get changed files\n        uses: ./.github/actions/pr_changed_files\n        id: changed_files\n        with:\n          files: |\n            linter/**\n            .github/workflows/linter-conan-v2.yml\n\n      - name: Get Conan v1 version\n        id: parse_conan_v1_version\n        if: steps.changed_files.outputs.any_changed == 'true'\n        uses: mikefarah/yq@master\n        with:\n          cmd: yq '.conan.version' '.c3i/config_v1.yml'\n\n      - uses: actions/setup-python@v4\n        if: steps.changed_files.outputs.any_changed == 'true'\n        with:\n          python-version: ${{ env.PYVER }}\n\n      - name: Install requirements\n        if: steps.changed_files.outputs.any_changed == 'true'\n        run: |\n          pip install ${{ env.REQUIREMENTS }} conan==${{ steps.parse_conan_v1_version.outputs.result }}\n\n      - name: Execute linter over all recipes in the repository\n        id: linter_recipes\n        if: steps.changed_files.outputs.any_changed == 'true'\n        run: |\n          echo '## Linter summary (recipes)' >> $GITHUB_STEP_SUMMARY\n          pylint --rcfile=linter/pylintrc_recipe `ls recipes/*/*/conanfile.py | shuf -n 500` --output-format=json --output=recipes.json --score=y --exit-zero\n          jq '[map( select(.type==\"error\")) | group_by (.message)[] | {message: .[0].message, length: length}] | sort_by(.length) | reverse' recipes.json > recipes2.json\n          jq -r '.[] | \" * \\(.message): \\(.length)\"' recipes2.json >> $GITHUB_STEP_SUMMARY\n\n      - name: Execute linter over all test_package/recipes in the repository\n        id: linter_test_package\n        if: steps.changed_files.outputs.any_changed == 'true'\n        run: |\n          echo '## Linter summary (test_package)' >> $GITHUB_STEP_SUMMARY\n          pylint --rcfile=linter/pylintrc_testpackage `ls recipes/*/*/test_package/conanfile.py | shuf -n 500` --output-format=json --output=recipes.json --exit-zero\n          jq '[map( select(.type==\"error\")) | group_by (.message)[] | {message: .[0].message, length: length}] | sort_by(.length) | reverse' recipes.json > recipes2.json\n          jq -r '.[] | \" * \\(.message): \\(.length)\"' recipes2.json >> $GITHUB_STEP_SUMMARY\n\n  conanfile_recipe:\n    name: Lint changed conanfile.py (v2 migration)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Get changed files\n        id: changed-files\n        uses: ./.github/actions/pr_changed_files\n        with:\n          files: |\n            recipes/*/*/conanfile.py\n      - name: Get Conan v1 version\n        id: parse_conan_v1_version\n        if: steps.changed-files.outputs.any_changed == 'true'\n        uses: mikefarah/yq@master\n        with:\n          cmd: yq '.conan.version' '.c3i/config_v1.yml'\n      - uses: actions/setup-python@v4\n        if: steps.changed-files.outputs.any_changed == 'true'\n        with:\n          python-version: ${{ env.PYVER }}\n      - name: Install dependencies\n        if: steps.changed-files.outputs.any_changed == 'true'\n        run: |\n          pip install ${{ env.REQUIREMENTS }} conan==${{ steps.parse_conan_v1_version.outputs.result }}\n      - name: Run linter\n        if: steps.changed-files.outputs.any_changed == 'true'\n        run: |\n          echo \"::add-matcher::linter/recipe_linter.json\"\n          for file in ${{ steps.changed-files.outputs.all_changed_files }}; do\n            pylint --rcfile=linter/pylintrc_recipe --output-format=parseable ${file}\n          done\n\n  conanfile_test_package:\n    name: Lint changed test_package/conanfile.py (v2 migration)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Get changed files\n        id: changed-files\n        uses: ./.github/actions/pr_changed_files\n        with:\n          files: |\n            recipes/*/*/test_*/conanfile.py\n      - name: Get Conan v1 version\n        id: parse_conan_v1_version\n        if: steps.changed-files.outputs.any_changed == 'true'\n        uses: mikefarah/yq@master\n        with:\n          cmd: yq '.conan.version' '.c3i/config_v1.yml'\n      - uses: actions/setup-python@v4\n        if: steps.changed-files.outputs.any_changed == 'true'\n        with:\n          python-version: ${{ env.PYVER }}\n      - name: Install dependencies\n        if: steps.changed-files.outputs.any_changed == 'true'\n        run: |\n          pip install ${{ env.REQUIREMENTS }} conan==${{ steps.parse_conan_v1_version.outputs.result }}\n      - name: Run linter\n        if: steps.changed-files.outputs.any_changed == 'true'\n        run: |\n          echo \"::add-matcher::linter/recipe_linter.json\"\n          for file in ${{ steps.changed-files.outputs.all_changed_files }}; do\n            pylint --rcfile=linter/pylintrc_testpackage --ignore-paths=\"recipes/[^/]*/[^/]*/test_v1[^/]*/conanfile.py\" --output-format=parseable ${file}\n          done\n", "state": "active", "repository": "conan-io/conan-center-index"}
{"mined_at": "2024-07-15T15:42:51.193010", "created_at": "2022-06-13T09:01:39+02:00", "updated_at": "2022-06-13T16:44:46+02:00", "name": "[linter] YAML files", "path": ".github/workflows/linter-yaml.yml", "contents": "name: \"[linter] YAML files\"\n\non:\n  pull_request:\n\nenv:\n  PYTHONPATH: ${{github.workspace}}\n  PYVER: \"3.8\"\n  CONFIG_FILES_PATH: \"recipes/*/config.yml\"\n  CONANDATA_FILES_PATH: \"recipes/*/*/conandata.yml\"\n\njobs:\n  test_linter:\n    # A job to run when the linter changes. We want to know in advance how many files will be broken\n    name: Test linter changes (YAML files)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Get changed files\n        uses: ./.github/actions/pr_changed_files\n        id: changed_files\n        with:\n          files: |\n            linter/**\n\n      - uses: actions/setup-python@v4\n        if: steps.changed_files.outputs.any_changed == 'true'\n        with:\n          python-version: ${{ env.PYVER }}\n\n      - name: Install dependencies\n        if: steps.changed_files.outputs.any_changed == 'true'\n        run: pip install yamllint strictyaml argparse\n\n      - name: Run linter (config.yml)\n        if: steps.changed_files.outputs.any_changed == 'true' && always()\n        run: |\n          echo \"::add-matcher::linter/yamllint_matcher.json\"\n          yamllint --config-file linter/yamllint_rules.yml -f standard ${{ env.CONFIG_FILES_PATH }}\n          echo \"::remove-matcher owner=yamllint_matcher::\"\n\n      - name: Run schema check (config.yml)\n        if: steps.changed_files.outputs.any_changed == 'true' && always()\n        run: |\n          for file in ${{ env.CONFIG_FILES_PATH }}; do\n            python3 linter/config_yaml_linter.py ${file}\n          done\n\n      - name: Run linter (conandata.yml)\n        if: steps.changed_files.outputs.any_changed == 'true' && always()\n        run: |\n          echo \"::add-matcher::linter/yamllint_matcher.json\"\n          yamllint --config-file linter/yamllint_rules.yml -f standard ${{ env.CONANDATA_FILES_PATH }}\n          echo \"::remove-matcher owner=yamllint_matcher::\"\n\n      - name: Run schema check (conandata.yml)\n        if: steps.changed_files.outputs.any_changed == 'true' && always()\n        run: |\n          for file in ${{ env.CONANDATA_FILES_PATH }}; do\n            python3 linter/conandata_yaml_linter.py ${file}\n          done\n\n  lint_pr_files:\n    # Lint files modified in the pull_request\n    name: Lint changed files (YAML files)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYVER }}\n\n      - name: Install dependencies\n        run: pip install yamllint strictyaml argparse\n\n      ## Work on config.yml files\n      - name: Get changed files (config)\n        id: changed_files_config\n        if: always()\n        uses: ./.github/actions/pr_changed_files\n        with:\n          files: |\n            ${{ env.CONFIG_FILES_PATH }}\n\n      - name: Run linter (config.yml)\n        if: steps.changed_files_config.outputs.any_changed == 'true' && always()\n        run: |\n          echo \"::add-matcher::linter/yamllint_matcher.json\"\n          for file in ${{ steps.changed_files_config.outputs.all_changed_files }}; do\n            yamllint --config-file linter/yamllint_rules.yml -f standard ${file}\n          done\n          echo \"::remove-matcher owner=yamllint_matcher::\"\n\n          for file in ${{ steps.changed_files_conandata.outputs.all_changed_files }}; do\n            python3 linter/config_yaml_linter.py ${file}\n          done\n\n      ## Work on conandata.yml files\n      - name: Get changed files (conandata)\n        id: changed_files_conandata\n        if: always()\n        uses: ./.github/actions/pr_changed_files\n        with:\n          files: |\n            ${{ env.CONANDATA_FILES_PATH }}\n\n      - name: Run linter (conandata.yml)\n        if: steps.changed_files_conandata.outputs.any_changed == 'true' && always()\n        run: |\n          echo \"::add-matcher::linter/yamllint_matcher.json\"\n          for file in ${{ steps.changed_files_conandata.outputs.all_changed_files }}; do\n            yamllint --config-file linter/yamllint_rules.yml -f standard ${file}\n          done\n          echo \"::remove-matcher owner=yamllint_matcher::\"\n\n          for file in ${{ steps.changed_files_conandata.outputs.all_changed_files }}; do\n            python3 linter/conandata_yaml_linter.py ${file}\n          done\n", "state": "active", "repository": "conan-io/conan-center-index"}
{"mined_at": "2024-07-15T15:42:52.291387", "created_at": "2022-12-12T18:08:20+01:00", "updated_at": "2022-12-20T14:06:30+01:00", "name": "[linter] Markdown links", "path": ".github/workflows/markdown-links.yml", "contents": "name: \"[linter] Markdown links\"\n\non:\n  pull_request:\n    paths:\n      - '**.md'\n\njobs:\n  markdown-link-check-pr:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: gaurav-nelson/github-action-markdown-link-check@v1\n      with:\n        config-file: .github/workflows/mlc_config.json\n        use-quiet-mode: 'yes'\n        use-verbose-mode: 'yes'\n        check-modified-files-only: 'yes'\n", "state": "active", "repository": "conan-io/conan-center-index"}
{"mined_at": "2024-07-15T15:42:53.369153", "created_at": "2021-03-08T14:36:21+01:00", "updated_at": "2021-03-08T14:36:21+01:00", "name": "docs_markdown_toc", "path": ".github/workflows/on-push-do-doco.yml", "contents": "name: docs_markdown_toc\non:\n  workflow_dispatch:\n    inputs: {}\n  push:\n    branches:\n      - master\n    paths:\n      - 'docs/**'\n\njobs:\n  docs_markdown_toc:\n    runs-on: windows-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Run MarkdownSnippets\n      run: |\n        dotnet tool install --global MarkdownSnippets.Tool\n        mdsnippets ${GITHUB_WORKSPACE} \\\n          --convention InPlaceOverwrite \\\n          --exclude-directories 'recipes' \\\n          --toc-level 5\n      shell: bash\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@v6\n      with:\n        branch: bot/action-doc-toc\n        commit-message: \"[docs] Regenerate tables of contents\"\n        title: \"[docs] Regenerate tables of contents\"\n        body: \"Automatic update of the documentation TOCs.\"\n", "state": "active", "repository": "conan-io/conan-center-index"}
{"mined_at": "2024-07-15T15:42:54.711057", "created_at": "2024-02-06T05:09:13+01:00", "updated_at": "2024-02-06T05:09:13+01:00", "name": "Mark stale pull requests", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale pull requests\n\n\non:\n  schedule:\n  - cron: '34 6 * * *'\n\njobs:\n  stale:\n    if: github.repository == 'conan-io/conan-center-index'\n\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n      issues: read\n\n\n    steps:\n    - uses: actions/stale@v9\n      with:\n        # Do not make issues as stale\n        days-before-issue-stale: -1\n        # Number of days before stale PRs are closed\n        days-before-pr-stale: 30\n\n\n        # Do not close issues automatically\n        days-before-issue-close: -1\n        # Idle number of days before closing stale PRs\n        days-before-pr-close: 30\n\n        # process older PRs first\n        ascending: true\n\n        # Labels on PRs exempted from stale\n        exempt-pr-labels: blocked,infrastructure\n\n        # Label to apply on staled PRs\n        stale-pr-label: 'stale'\n\n        # Skip issues when having stale state\n        remove-issue-stale-when-updated: false\n        ignore-issue-updates: true\n\n\n        # Comment on the staled PRs\n        stale-pr-message: >\n            This pull request has been automatically marked as stale because it has not had\n            recent activity. It will be closed if no further activity occurs. Thank you\n            for your contributions.\n\n        # Comment on the staled PRs while closed\n        close-pr-message: >\n            This pull request has been automatically closed because it has not had\n            recent activity. Thank you for your contributions.\n\n        # Max number of operations per run\n        operations-per-run: 30\n", "state": "active", "repository": "conan-io/conan-center-index"}
{"mined_at": "2024-07-15T15:42:56.742358", "created_at": "2024-04-15T23:00:28+02:00", "updated_at": "2024-04-15T23:00:28+02:00", "name": ".github/workflows/main.yml", "path": ".github/workflows/main.yml", "contents": null, "state": "active", "repository": "simpeg/simpeg"}
{"mined_at": "2024-07-15T15:42:57.884008", "created_at": "2024-04-15T23:01:07+02:00", "updated_at": "2024-04-17T00:24:31+02:00", "name": "Reviewdog PR Annotations", "path": ".github/workflows/pull_request.yml", "contents": "name : Reviewdog PR Annotations\non: [pull_request_target]\n\njobs:\n  flake8:\n    runs-on: ubuntu-latest\n    name: Flake8 check\n    steps:\n      - name: Checkout target repository source\n        uses: actions/checkout@v4\n\n      - name: Setup Python env\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Install dependencies to run the flake8 checks\n        run: .ci/install_style.sh\n\n      - name: checkout pull request source\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          path: pr_source\n\n      - name: flake8 review\n        uses: reviewdog/action-flake8@v3\n        with:\n          workdir: pr_source\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          reporter: github-pr-review\n\n  black:\n    name: Black check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout target repository source\n        uses: actions/checkout@v4\n\n      - name: Setup Python env\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Install dependencies to run the black checks\n        run: .ci/install_style.sh\n\n      - name: checkout pull request source\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          path: 'pr_source'\n\n      - uses: reviewdog/action-black@v3\n        with:\n          workdir: 'pr_source'\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          reporter: github-pr-review", "state": "active", "repository": "simpeg/simpeg"}
{"mined_at": "2024-07-15T15:43:00.240064", "created_at": "2020-03-30T22:10:15+02:00", "updated_at": "2024-06-07T18:45:53+02:00", "name": "🚨🚀 Lint and upload source distribution", "path": ".github/workflows/upload-pypi-source.yml", "contents": "name: 🚨🚀 Lint and upload source distribution\n\non:\n  push:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"long_lived/**\"\n      - main\n      - \"release/**\"\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"**\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n  id-token: write\n\njobs:\n  mypy:\n    name: ${{ matrix.os.emoji }} ${{ matrix.check.name }} - ${{ matrix.os.name }} ${{ matrix.arch.name }} ${{ matrix.python.major_dot_minor }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    timeout-minutes: 10\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: Linux\n            matrix: linux\n            emoji: 🐧\n            runs-on:\n              intel: ubuntu-latest\n              arm: [linux, arm64]\n          - name: macOS\n            matrix: macos\n            emoji: 🍎\n            runs-on:\n              intel: macos-12\n              arm: [macos, arm64]\n          - name: Windows\n            matrix: windows\n            emoji: 🪟\n            runs-on:\n              intel: windows-latest\n        arch:\n          - name: ARM64\n            matrix: arm\n          - name: Intel\n            matrix: intel\n        python:\n          - major_dot_minor: \"3.8\"\n          - major_dot_minor: \"3.9\"\n          - major_dot_minor: \"3.10\"\n          - major_dot_minor: \"3.11\"\n          - major_dot_minor: \"3.12\"\n        check:\n          - name: mypy\n            command: |\n              echo \"MYPY VERSION IS: $(mypy --version)\"\n              python manage-mypy.py build-mypy-ini\n              mypy\n        exclude:\n          - os:\n              matrix: macos\n            arch:\n              matrix: arm\n            python:\n              major_dot_minor: \"3.8\"\n          - os:\n              matrix: windows\n            arch:\n              matrix: arm\n\n    steps:\n      - uses: chia-network/actions/clean-workspace@main\n\n      - name: Add safe git directory\n        uses: chia-network/actions/git-mark-workspace-safe@main\n\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - uses: chia-network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python.major_dot_minor }}\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python.major_dot_minor }}\n          development: true\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - name: Check with ${{ matrix.check.name }}\n        run: |\n          ${{ matrix.check.command }}\n\n  check:\n    name: ${{ matrix.os.emoji }} ${{ matrix.check.name }} - ${{ matrix.os.name }} ${{ matrix.arch.name }} ${{ matrix.python.major_dot_minor }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    timeout-minutes: 10\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: Linux\n            matrix: linux\n            emoji: 🐧\n            runs-on:\n              intel: ubuntu-latest\n              arm: [linux, arm64]\n        arch:\n          - name: Intel\n            matrix: intel\n        python:\n          - major_dot_minor: \"3.10\"\n        check:\n          - name: black\n            command: black --check --diff .\n          - name: flake8\n            command: flake8 benchmarks build_scripts chia tools *.py\n          - name: pylint\n            command: pylint benchmarks build_scripts chia tools *.py\n          - name: generated protocol tests\n            command: |\n              python3 -m chia._tests.util.build_network_protocol_files\n              git diff --exit-code\n\n    steps:\n      - uses: chia-network/actions/clean-workspace@main\n\n      - name: Add safe git directory\n        uses: chia-network/actions/git-mark-workspace-safe@main\n\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - uses: chia-network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python.major_dot_minor }}\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python.major_dot_minor }}\n          development: true\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - name: Check with ${{ matrix.check.name }}\n        run: |\n          ${{ matrix.check.command }}\n\n  upload_source_dist:\n    name: Lint and Upload source distribution\n    runs-on: [ubuntu-latest]\n    timeout-minutes: 30\n    needs:\n      - mypy\n      - check\n    steps:\n      - name: Add safe git directory\n        uses: chia-network/actions/git-mark-workspace-safe@main\n\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - uses: Chia-Network/actions/setup-python@main\n        name: Install Python\n        with:\n          python-version: \"3.10\"\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python.major_dot_minor }}\n          development: true\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - name: Build source distribution\n        run: |\n          python -m build --sdist --outdir dist .\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: ./dist\n\n      - name: Publish distribution to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: dist/\n          skip-existing: true\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:01.298074", "created_at": "2020-12-17T09:17:21+01:00", "updated_at": "2024-06-15T04:48:10+02:00", "name": "📦🚀 Build Installer - Windows 10", "path": ".github/workflows/build-windows-installer.yml", "contents": "name: 📦🚀 Build Installer - Windows 10\n\non:\n  workflow_dispatch:\n    inputs:\n      release_type:\n        description: \"Tagged release testing scenario\"\n        required: false\n        type: choice\n        default: \"\"\n        options:\n          - \"\"\n          - 9.9.9-b1\n          - 9.9.9-rc1\n          - 9.9.9\n  push:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"long_lived/**\"\n      - main\n      - \"release/**\"\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"**\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  version:\n    uses: ./.github/workflows/reflow-version.yml\n\n  build:\n    name: Build EXE\n    runs-on: [windows-2019]\n    needs:\n      - version\n    timeout-minutes: 65\n    outputs:\n      chia-installer-version: ${{ steps.version_number.outputs.CHIA_INSTALLER_VERSION }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n\n    env:\n      CHIA_INSTALLER_VERSION: ${{ needs.version.outputs.chia-installer-version }}\n      SETUPTOOLS_SCM_PRETEND_VERSION_FOR_CHIA_BLOCKCHAIN: ${{ needs.version.outputs.chia-installer-version }}\n      TAG_TYPE: ${{ needs.version.outputs.tag-type }}\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - name: Set Env\n        uses: Chia-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set git urls to https instead of ssh\n        run: |\n          git config --global url.\"https://github.com/\".insteadOf ssh://git@github.com/\n\n      - name: Get npm cache directory\n        id: npm-cache\n        shell: bash\n        run: |\n          echo \"dir=$(npm config get cache)\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Cache npm\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.npm-cache.outputs.dir }}\n          key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n          restore-keys: |\n            ${{ runner.os }}-node-\n\n      - uses: chia-network/actions/cache-pip@main\n\n      - uses: Chia-Network/actions/setup-python@main\n        name: Install Python ${{ matrix.python-version }}\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Setup Node 18.x\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"18.x\"\n\n      - name: Test for secrets access\n        id: check_secrets\n        shell: bash\n        run: |\n          unset HAS_SIGNING_SECRET\n\n          if [ -n \"$SIGNING_SECRET\" ]; then HAS_SIGNING_SECRET='true' ; fi\n          echo \"HAS_SIGNING_SECRET=${HAS_SIGNING_SECRET}\" >> \"$GITHUB_OUTPUT\"\n        env:\n          SIGNING_SECRET: \"${{ secrets.SM_CLIENT_CERT_FILE_B64 }}\"\n\n      - name: Setup Certificate\n        if: steps.check_secrets.outputs.HAS_SIGNING_SECRET\n        shell: bash\n        run: |\n          echo \"${{ secrets.SM_CLIENT_CERT_FILE_B64 }}\" | base64 --decode > /d/Certificate_pkcs12.p12\n\n      - name: Set signing variables\n        if: steps.check_secrets.outputs.HAS_SIGNING_SECRET\n        shell: bash\n        run: |\n          echo \"SM_HOST=${{ secrets.SM_HOST }}\" >> \"$GITHUB_ENV\"\n          echo \"SM_API_KEY=${{ secrets.SM_API_KEY }}\" >> \"$GITHUB_ENV\"\n          echo \"SM_CLIENT_CERT_FILE=D:\\\\Certificate_pkcs12.p12\" >> \"$GITHUB_ENV\"\n          echo \"SM_CLIENT_CERT_PASSWORD=${{ secrets.SM_CLIENT_CERT_PASSWORD }}\" >> \"$GITHUB_ENV\"\n          echo \"SM_CODE_SIGNING_CERT_SHA1_HASH=${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }}\" >> \"$GITHUB_ENV\"\n          echo \"C:\\Program Files (x86)\\Windows Kits\\10\\App Certification Kit\" >> $GITHUB_PATH\n          echo \"C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.8 Tools\" >> $GITHUB_PATH\n          echo \"C:\\Program Files\\DigiCert\\DigiCert One Signing Manager Tools\" >> $GITHUB_PATH\n\n      - name: Setup SSM KSP on windows latest\n        if: steps.check_secrets.outputs.HAS_SIGNING_SECRET\n        shell: cmd\n        run: |\n          curl -X GET https://download.chia.net/dc/smtools-windows-x64.msi -o smtools-windows-x64.msi\n          msiexec /i smtools-windows-x64.msi /quiet /qn\n          smksp_registrar.exe list\n          smctl.exe keypair ls\n          C:\\Windows\\System32\\certutil.exe -csp \"DigiCert Signing Manager KSP\" -key -user\n          smksp_cert_sync.exe\n\n      - name: Get latest madmax plotter\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        shell: bash\n        run: |\n          LATEST_MADMAX=$(gh api repos/Chia-Network/chia-plotter-madmax/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n          mkdir \"$GITHUB_WORKSPACE\"\\\\madmax\n          gh release download -R Chia-Network/chia-plotter-madmax \"$LATEST_MADMAX\" -p 'chia_plot-*.exe' -O \"$GITHUB_WORKSPACE\"\\\\madmax\\\\chia_plot.exe\n          gh release download -R Chia-Network/chia-plotter-madmax \"$LATEST_MADMAX\" -p 'chia_plot_k34-*.exe' -O \"$GITHUB_WORKSPACE\"\\\\madmax\\\\chia_plot_k34.exe\n\n      - name: Fetch bladebit versions\n        shell: bash\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Fetch the latest version of each type\n          LATEST_RELEASE=$(gh api repos/Chia-Network/bladebit/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n          LATEST_BETA=$(gh api repos/Chia-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-beta[0-9]+$\"))) | first | .tag_name')\n          LATEST_RC=$(gh api repos/Chia-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-rc[0-9]+$\"))) | first | .tag_name')\n\n          # Compare the versions and choose the newest that matches the requirements\n          if [[ \"$TAG_TYPE\" == \"beta\" || -z \"$TAG_TYPE\" ]]; then\n            # For beta or dev builds (indicated by the absence of a tag), use the latest version available\n            LATEST_VERSION=$(printf \"%s\\n%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_BETA\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n          elif [[ \"$TAG_TYPE\" == \"rc\" ]]; then\n            # For RC builds, use the latest RC or full release if it's newer\n            LATEST_VERSION=$(printf \"%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n          else\n            # For full releases, use the latest full release\n            LATEST_VERSION=\"$LATEST_RELEASE\"\n          fi\n          echo \"LATEST_VERSION=$LATEST_VERSION\" >> \"$GITHUB_ENV\"\n\n      - name: Get latest bladebit plotter\n        shell: bash\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Download and extract the chosen version\n          mkdir \"$GITHUB_WORKSPACE\\\\bladebit\"\n          cd \"$GITHUB_WORKSPACE\\\\bladebit\"\n          gh release download -R Chia-Network/bladebit \"$LATEST_VERSION\" -p 'bladebit*windows-x86-64.zip'\n          ls *.zip | xargs -I{} bash -c 'unzip {} && rm {}'\n          cd \"$OLDPWD\"\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python-version }}\n          development: true\n          constraints-file-artifact-name: constraints-file-intel\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - name: Prepare GUI cache\n        id: gui-ref\n        shell: bash\n        run: |\n          gui_ref=$(git submodule status chia-blockchain-gui | sed -e 's/^ //g' -e 's/ chia-blockchain-gui.*$//g')\n          echo \"${gui_ref}\"\n          echo \"GUI_REF=${gui_ref}\" >> \"$GITHUB_OUTPUT\"\n          echo \"rm -rf ./chia-blockchain-gui\"\n          rm -rf ./chia-blockchain-gui\n\n      - name: Cache GUI\n        uses: actions/cache@v4\n        id: cache-gui\n        with:\n          path: .\\chia-blockchain-gui\n          key: ${{ runner.os }}-chia-blockchain-gui-${{ steps.gui-ref.outputs.GUI_REF }}\n\n      - if: steps.cache-gui.outputs.cache-hit != 'true'\n        name: Build GUI\n        continue-on-error: false\n        run: |\n          cd .\\build_scripts\n          .\\build_windows-1-gui.ps1\n\n      - name: Build Windows installer\n        env:\n          HAS_SIGNING_SECRET: ${{ steps.check_secrets.outputs.HAS_SIGNING_SECRET }}\n        run: |\n          $env:path=\"C:\\Program` Files` (x86)\\Microsoft` Visual` Studio\\2019\\Enterprise\\SDK\\ScopeCppSDK\\vc15\\VC\\bin\\;$env:path\"\n          $env:path=\"C:\\Program` Files` (x86)\\Windows` Kits\\10\\App` Certification` Kit;$env:path\"\n          cd .\\build_scripts\n          .\\build_windows-2-installer.ps1\n\n      - name: Upload Installer to artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: chia-installers-windows-exe-intel\n          path: ${{ github.workspace }}\\chia-blockchain-gui\\release-builds\\\n\n      - name: Remove Windows exe and installer to exclude from cache\n        run: |\n          Remove-Item .\\chia-blockchain-gui\\packages\\gui\\dist -Recurse -Force\n          Remove-Item .\\chia-blockchain-gui\\packages\\gui\\daemon -Recurse -Force\n          Remove-Item .\\chia-blockchain-gui\\Chia-win32-x64 -Recurse -Force\n          Remove-Item .\\chia-blockchain-gui\\release-builds -Recurse -Force\n\n  publish:\n    name: Publish EXE\n    runs-on: ubuntu-latest\n    needs:\n      - version\n      - build\n    timeout-minutes: 5\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n\n    env:\n      CHIA_INSTALLER_VERSION: ${{ needs.version.outputs.chia-installer-version }}\n\n    steps:\n      - uses: Chia-Network/actions/clean-workspace@main\n\n      - uses: Chia-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: chia-network/actions/create-venv@main\n        id: create-venv\n\n      - uses: chia-network/actions/activate-venv@main\n        with:\n          directories: ${{ steps.create-venv.outputs.activate-venv-directories }}\n\n      - name: Download constraints file\n        uses: actions/download-artifact@v4\n        with:\n          name: constraints-file-intel\n          path: venv\n\n      - name: Install utilities\n        run: |\n          pip install --constraint venv/constraints.txt py3createtorrent\n\n      - name: Download packages\n        uses: actions/download-artifact@v4\n        with:\n          name: chia-installers-windows-exe-intel\n          path: chia-blockchain-gui/release-builds/\n\n      - name: Set Env\n        uses: Chia-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Test for secrets access\n        id: check_secrets\n        run: |\n          unset HAS_AWS_SECRET\n          unset HAS_GLUE_SECRET\n\n          if [ -n \"$AWS_SECRET\" ]; then HAS_AWS_SECRET='true' ; fi\n          echo HAS_AWS_SECRET=${HAS_AWS_SECRET} >> \"$GITHUB_OUTPUT\"\n\n          if [ -n \"$GLUE_API_URL\" ]; then HAS_GLUE_SECRET='true' ; fi\n          echo HAS_GLUE_SECRET=${HAS_GLUE_SECRET} >> \"$GITHUB_OUTPUT\"\n        env:\n          SIGNING_SECRET: \"${{ secrets.SM_CLIENT_CERT_FILE_B64 }}\"\n          AWS_SECRET: \"${{ secrets.CHIA_AWS_ACCOUNT_ID }}\"\n          GLUE_API_URL: \"${{ secrets.GLUE_API_URL }}\"\n\n      - name: Configure AWS credentials\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: arn:aws:iam::${{ secrets.CHIA_AWS_ACCOUNT_ID }}:role/installer-upload\n          aws-region: us-west-2\n\n      - name: Upload to s3\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET\n        run: |\n          GIT_SHORT_HASH=$(echo \"${GITHUB_SHA}\" | cut -c1-8)\n          CHIA_DEV_BUILD=${CHIA_INSTALLER_VERSION}-$GIT_SHORT_HASH\n          echo CHIA_DEV_BUILD=${CHIA_DEV_BUILD} >> \"$GITHUB_OUTPUT\"\n          echo ${CHIA_DEV_BUILD}\n          pwd\n          aws s3 cp chia-blockchain-gui/release-builds/windows-installer/ChiaSetup-${CHIA_INSTALLER_VERSION}.exe s3://download.chia.net/dev/ChiaSetup-${CHIA_DEV_BUILD}.exe\n\n      - name: Create Checksums\n        run: |\n          ls \"$GITHUB_WORKSPACE\"/chia-blockchain-gui/release-builds/windows-installer/\n          sha256sum \"$GITHUB_WORKSPACE\"/chia-blockchain-gui/release-builds/windows-installer/ChiaSetup-${{ env.CHIA_INSTALLER_VERSION }}.exe > \"$GITHUB_WORKSPACE\"/chia-blockchain-gui/release-builds/windows-installer/ChiaSetup-${{ env.CHIA_INSTALLER_VERSION }}.exe.sha256\n          ls \"$GITHUB_WORKSPACE\"/chia-blockchain-gui/release-builds/windows-installer/\n\n      - name: Create torrent\n        if: env.FULL_RELEASE == 'true'\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce \"${GITHUB_WORKSPACE}\"/chia-blockchain-gui/release-builds/windows-installer/ChiaSetup-${{ env.CHIA_INSTALLER_VERSION }}.exe -o \"${GITHUB_WORKSPACE}\"/chia-blockchain-gui/release-builds/windows-installer/ChiaSetup-${{ env.CHIA_INSTALLER_VERSION }}.exe.torrent --webseed https://download.chia.net/install/ChiaSetup-${{ env.CHIA_INSTALLER_VERSION }}.exe\n          ls\n          gh release upload --repo ${{ github.repository }} $RELEASE_TAG \"${GITHUB_WORKSPACE}\"/chia-blockchain-gui/release-builds/windows-installer/ChiaSetup-${{ env.CHIA_INSTALLER_VERSION }}.exe.torrent\n\n      - name: Upload Dev Installer\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET && github.ref == 'refs/heads/main'\n        run: |\n          aws s3 cp \"${GITHUB_WORKSPACE}\"/chia-blockchain-gui/release-builds/windows-installer/ChiaSetup-${{ env.CHIA_INSTALLER_VERSION }}.exe s3://download.chia.net/latest-dev/ChiaSetup-latest-dev.exe\n          aws s3 cp \"${GITHUB_WORKSPACE}\"/chia-blockchain-gui/release-builds/windows-installer/ChiaSetup-${{ env.CHIA_INSTALLER_VERSION }}.exe.sha256 s3://download.chia.net/latest-dev/ChiaSetup-latest-dev.exe.sha256\n\n      - name: Upload Release Files\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET && env.FULL_RELEASE == 'true'\n        run: |\n          aws s3 cp \"${GITHUB_WORKSPACE}\"/chia-blockchain-gui/release-builds/windows-installer/ChiaSetup-${{ env.CHIA_INSTALLER_VERSION }}.exe s3://download.chia.net/install/\n          aws s3 cp \"${GITHUB_WORKSPACE}\"/chia-blockchain-gui/release-builds/windows-installer/ChiaSetup-${{ env.CHIA_INSTALLER_VERSION }}.exe.sha256 s3://download.chia.net/install/\n          aws s3 cp \"${GITHUB_WORKSPACE}\"/chia-blockchain-gui/release-builds/windows-installer/ChiaSetup-${{ env.CHIA_INSTALLER_VERSION }}.exe.torrent s3://download.chia.net/torrents/\n\n      - name: Upload release artifacts\n        if: env.RELEASE == 'true'\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release upload --repo ${{ github.repository }} $RELEASE_TAG \"${GITHUB_WORKSPACE}\"/chia-blockchain-gui/release-builds/windows-installer/ChiaSetup-${{ env.CHIA_INSTALLER_VERSION }}.exe\n\n      - uses: Chia-Network/actions/github/jwt@main\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET\n\n      - name: Mark pre-release installer complete\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.PRE_RELEASE == 'true'\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"chia_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}-prerelease/${{ env.RELEASE_TAG }}/success/build-windows\n\n      - name: Mark release installer complete\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.FULL_RELEASE == 'true'\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"chia_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}/${{ env.RELEASE_TAG }}/success/build-windows\n\n  test:\n    name: Test ${{ matrix.os.name }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    needs:\n      - version\n      - build\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: 2019\n            matrix: 2019\n            runs-on:\n              intel: windows-2019\n          - name: 2022\n            matrix: 2022\n            runs-on:\n              intel: windows-2022\n        arch:\n          - name: Intel\n            matrix: intel\n\n    steps:\n      - uses: Chia-Network/actions/clean-workspace@main\n\n      - name: Download packages\n        uses: actions/download-artifact@v4\n        with:\n          name: chia-installers-windows-exe-intel\n          path: packages\n\n      - name: Install package\n        env:\n          INSTALL_PATH: ${{ github.workspace }}\\installed\n        run: |\n          dir ./packages/\n          $env:INSTALLER_PATH = (Get-ChildItem packages/windows-installer/ChiaSetup-*.exe)\n          Start-Process -Wait -FilePath $env:INSTALLER_PATH -ArgumentList \"/S\", (\"/D=\" + $env:INSTALL_PATH)\n\n      - name: List installed files\n        run: |\n          Get-ChildItem -Recurse $env:INSTALL_PATH | Select FullName\n\n      - name: Run chia dev installers test\n        env:\n          INSTALL_PATH: ${{ github.workspace }}\\installed\n        run: |\n          & ($env:INSTALL_PATH + \"\\resources\\app.asar.unpacked\\daemon\\chia.exe\") dev installers test --expected-chia-version \"${{ needs.version.outputs.chia-installer-version }}\"\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:02.366133", "created_at": "2021-01-25T07:51:28+01:00", "updated_at": "2023-06-22T23:39:41+02:00", "name": "🚨 CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: 🚨 CodeQL\n\non:\n  push:\n    branches:\n      - \"long_lived/**\"\n      - main\n      - \"release/**\"\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [main]\n  schedule:\n    - cron: \"34 14 * * 3\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"python\"]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:03.692518", "created_at": "2021-01-25T08:23:12+01:00", "updated_at": "2023-06-22T23:39:41+02:00", "name": "🚨 GitHub Super Linter", "path": ".github/workflows/super-linter.yml", "contents": "---\n###########################\n###########################\n## Linter GitHub Actions ##\n###########################\n###########################\nname: 🚨 GitHub Super Linter\n\n#\n# Documentation:\n# https://github.com/github/super-linter\n# https://help.github.com/en/articles/workflow-syntax-for-github-actions\n#\n\n#############################\n# Start the job on all push #\n#############################\non:\n  push:\n    branches:\n      - \"long_lived/**\"\n      - main\n      - \"release/**\"\n  release:\n    types: [published]\n  pull_request:\n    branches:\n      - \"**\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\n###############\n# Set the Job #\n###############\njobs:\n  build:\n    # Name the Job\n    name: Lint Code Base\n    # Set the agent to run on\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    ##################\n    # Load all steps #\n    ##################\n    steps:\n      ##########################\n      # Checkout the code base #\n      ##########################\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      ################################\n      # Run Linter against code base #\n      ################################\n      - name: Lint Code Base\n        uses: github/super-linter@v6\n        #        uses: docker://github/super-linter:v3.10.2\n        env:\n          VALIDATE_ALL_CODEBASE: true\n          DEFAULT_BRANCH: main\n          LINTER_RULES_PATH: .\n          MARKDOWN_CONFIG_FILE: .markdown-lint.yml\n          VALIDATE_BASH: true\n          VALIDATE_CSS: true\n          VALIDATE_DOCKER: true\n          VALIDATE_GO: true\n          VALIDATE_HTML: true\n          VALIDATE_JAVASCRIPT_ES: true\n          VALIDATE_JSON: true\n          VALIDATE_MD: true\n          VALIDATE_POWERSHELL: true\n          VALIDATE_TYPESCRIPT_ES: true\n          VALIDATE_YAML: true\n          DISABLE_ERRORS: false\n          PYTHONPATH: ${{ github.workspace }}:$PYTHONPATH\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          FILTER_REGEX_EXCLUDE: .*github/ISSUE_TEMPLATE/config.yml\n#          ACTIONS_RUNNER_DEBUG: true\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:04.847315", "created_at": "2021-06-23T00:26:46+02:00", "updated_at": "2021-06-23T00:26:46+02:00", "name": "Start Release", "path": ".github/workflows/start-release.yml", "contents": "# Starts a release for the given ref on the Glue API\nname: Start Release\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  start_release:\n    name: Starts release process in Glue API\n    runs-on: [glue-notify]\n    steps:\n      - name: Set Env\n        uses: Chia-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - uses: Chia-Network/actions/github/jwt@main\n\n      - name: Start pre-release\n        if: \"github.event.release.prerelease\"\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"chia_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}-prerelease/${{ env.RELEASE_TAG }}/start\n\n      - name: Start release\n        if: \"!github.event.release.prerelease\"\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"chia_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}/${{ env.RELEASE_TAG }}/start\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:06.078469", "created_at": "2021-06-26T06:10:18+02:00", "updated_at": "2024-06-15T04:48:10+02:00", "name": "📦🚀 Build Installer - Linux RPM AMD64", "path": ".github/workflows/build-linux-installer-rpm.yml", "contents": "name: 📦🚀 Build Installer - Linux RPM AMD64\n\non:\n  workflow_dispatch:\n    inputs:\n      release_type:\n        description: \"Tagged release testing scenario\"\n        required: false\n        type: choice\n        default: \"\"\n        options:\n          - \"\"\n          - 9.9.9-b1\n          - 9.9.9-rc1\n          - 9.9.9\n  push:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"long_lived/**\"\n      - main\n      - \"release/**\"\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"**\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  version:\n    uses: ./.github/workflows/reflow-version.yml\n\n  build:\n    name: Build amd64 RPM\n    runs-on: ubuntu-latest\n    needs:\n      - version\n    container:\n      image: chianetwork/rocky8-builder:latest\n    timeout-minutes: 40\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n\n    env:\n      CHIA_INSTALLER_VERSION: ${{ needs.version.outputs.chia-installer-version }}\n      SETUPTOOLS_SCM_PRETEND_VERSION_FOR_CHIA_BLOCKCHAIN: ${{ needs.version.outputs.chia-installer-version }}\n      TAG_TYPE: ${{ needs.version.outputs.tag-type }}\n\n    steps:\n      - name: Add safe git directory\n        uses: Chia-Network/actions/git-mark-workspace-safe@main\n\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - uses: Chia-Network/actions/git-ssh-to-https@main\n\n      - name: Cleanup any leftovers that exist from previous runs\n        run: bash build_scripts/clean-runner.sh || true\n\n      - name: Set Env\n        uses: Chia-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - uses: Chia-Network/actions/enforce-semver@main\n        if: env.FULL_RELEASE == 'true'\n\n      - name: Get latest madmax plotter\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          LATEST_MADMAX=$(gh api repos/Chia-Network/chia-plotter-madmax/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n          mkdir \"$GITHUB_WORKSPACE\"/madmax\n          gh release download -R Chia-Network/chia-plotter-madmax \"$LATEST_MADMAX\" -p 'chia_plot-*-x86-64' -O \"$GITHUB_WORKSPACE\"/madmax/chia_plot\n          gh release download -R Chia-Network/chia-plotter-madmax \"$LATEST_MADMAX\" -p 'chia_plot_k34-*-x86-64' -O \"$GITHUB_WORKSPACE\"/madmax/chia_plot_k34\n          chmod +x \"$GITHUB_WORKSPACE\"/madmax/chia_plot\n          chmod +x \"$GITHUB_WORKSPACE\"/madmax/chia_plot_k34\n\n      - name: Fetch bladebit versions\n        shell: bash\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Fetch the latest version of each type\n          LATEST_RELEASE=$(gh api repos/Chia-Network/bladebit/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n          LATEST_BETA=$(gh api repos/Chia-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-beta[0-9]+$\"))) | first | .tag_name')\n          LATEST_RC=$(gh api repos/Chia-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-rc[0-9]+$\"))) | first | .tag_name')\n\n          # Compare the versions and choose the newest that matches the requirements\n          if [[ \"$TAG_TYPE\" == \"beta\" || -z \"$TAG_TYPE\" ]]; then\n            # For beta or dev builds (indicated by the absence of a tag), use the latest version available\n            LATEST_VERSION=$(printf \"%s\\n%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_BETA\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n          elif [[ \"$TAG_TYPE\" == \"rc\" ]]; then\n            # For RC builds, use the latest RC or full release if it's newer\n            LATEST_VERSION=$(printf \"%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n          else\n            # For full releases, use the latest full release\n            LATEST_VERSION=\"$LATEST_RELEASE\"\n          fi\n          echo \"LATEST_VERSION=$LATEST_VERSION\" >> \"$GITHUB_ENV\"\n\n      - name: Get latest bladebit plotter\n        shell: bash\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Download and extract the chosen version\n          mkdir \"$GITHUB_WORKSPACE\"/bladebit\n          cd \"$GITHUB_WORKSPACE\"/bladebit\n          gh release download -R Chia-Network/bladebit \"$LATEST_VERSION\" -p 'bladebit*-centos-x86-64.tar.gz'\n          ls *.tar.gz | xargs -I{} bash -c 'tar -xzf {} && rm {}'\n          ls bladebit* | xargs -I{} chmod +x {}\n          cd \"$OLDPWD\"\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python-version }}\n          development: true\n          constraints-file-artifact-name: constraints-file-intel\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - name: Prepare GUI cache\n        id: gui-ref\n        run: |\n          gui_ref=$(git submodule status chia-blockchain-gui | sed -e 's/^ //g' -e 's/ chia-blockchain-gui.*$//g')\n          echo \"${gui_ref}\"\n          echo \"GUI_REF=${gui_ref}\" >> \"$GITHUB_OUTPUT\"\n          echo \"rm -rf ./chia-blockchain-gui\"\n          rm -rf ./chia-blockchain-gui\n\n      - name: Cache GUI\n        uses: actions/cache@v4\n        id: cache-gui\n        with:\n          path: ./chia-blockchain-gui\n          key: ${{ runner.os }}-rpm-chia-blockchain-gui-${{ steps.gui-ref.outputs.GUI_REF }}\n\n      - if: steps.cache-gui.outputs.cache-hit != 'true'\n        name: Build GUI\n        continue-on-error: false\n        run: |\n          cd ./build_scripts\n          bash build_linux_rpm-1-gui.sh\n\n      - name: Build .rpm package\n        run: |\n          ldd --version\n          cd ./build_scripts\n          bash build_linux_rpm-2-installer.sh amd64\n\n      - name: Upload fpm-generated rpm spec files\n        uses: actions/upload-artifact@v4\n        with:\n          if-no-files-found: error\n          name: spec\n          path: |\n            build_scripts/dist/cli.spec\n            build_scripts/dist/gui.spec\n\n      - name: Upload Linux artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: chia-installers-linux-rpm-intel\n          path: ${{ github.workspace }}/build_scripts/final_installer/\n\n      - name: Remove working files to exclude from cache\n        run: |\n          rm -rf ./chia-blockchain-gui/packages/gui/daemon\n\n  publish:\n    name: Publish amd64 RPM\n    runs-on: ubuntu-latest\n    needs:\n      - version\n      - build\n    timeout-minutes: 5\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n\n    env:\n      CHIA_INSTALLER_VERSION: ${{ needs.version.outputs.chia-installer-version }}\n\n    steps:\n      - uses: Chia-Network/actions/clean-workspace@main\n\n      - uses: Chia-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: chia-network/actions/create-venv@main\n        id: create-venv\n\n      - uses: chia-network/actions/activate-venv@main\n        with:\n          directories: ${{ steps.create-venv.outputs.activate-venv-directories }}\n\n      - name: Download constraints file\n        uses: actions/download-artifact@v4\n        with:\n          name: constraints-file-intel\n          path: venv\n\n      - name: Install utilities\n        run: |\n          pip install --constraint venv/constraints.txt py3createtorrent\n\n      - name: Download packages\n        uses: actions/download-artifact@v4\n        with:\n          name: chia-installers-linux-rpm-intel\n          path: build_scripts/final_installer/\n\n      - name: Set Env\n        uses: Chia-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Test for secrets access\n        id: check_secrets\n        shell: bash\n        run: |\n          unset HAS_AWS_SECRET\n          unset HAS_GLUE_SECRET\n\n          if [ -n \"$AWS_SECRET\" ]; then HAS_AWS_SECRET='true' ; fi\n          echo HAS_AWS_SECRET=${HAS_AWS_SECRET} >> \"$GITHUB_OUTPUT\"\n\n          if [ -n \"$GLUE_API_URL\" ]; then HAS_GLUE_SECRET='true' ; fi\n          echo HAS_GLUE_SECRET=${HAS_GLUE_SECRET} >> \"$GITHUB_OUTPUT\"\n        env:\n          AWS_SECRET: \"${{ secrets.CHIA_AWS_ACCOUNT_ID }}\"\n          GLUE_API_URL: \"${{ secrets.GLUE_API_URL }}\"\n\n      - name: Configure AWS credentials\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: arn:aws:iam::${{ secrets.CHIA_AWS_ACCOUNT_ID }}:role/installer-upload\n          aws-region: us-west-2\n\n      - name: Upload to s3\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET\n        run: |\n          GIT_SHORT_HASH=$(echo \"${GITHUB_SHA}\" | cut -c1-8)\n          CHIA_DEV_BUILD=${CHIA_INSTALLER_VERSION}-$GIT_SHORT_HASH\n          echo \"CHIA_DEV_BUILD=$CHIA_DEV_BUILD\" >> \"$GITHUB_ENV\"\n          ls \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm s3://download.chia.net/dev/chia-blockchain-${CHIA_DEV_BUILD}-1.x86_64.rpm\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm s3://download.chia.net/dev/chia-blockchain-cli-${CHIA_DEV_BUILD}-1.x86_64.rpm\n\n      - name: Create Checksums\n        run: |\n          ls \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/\n          sha256sum \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm > \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.sha256\n          sha256sum \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm > \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.sha256\n          ls \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/\n\n      - name: Create .rpm torrent\n        if: env.FULL_RELEASE == 'true'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm -o \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.torrent --webseed https://download.chia.net/install/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm\n          py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm -o \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.torrent --webseed https://download.chia.net/install/chia-blockchain-cli-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm\n          gh release upload --repo ${{ github.repository }} $RELEASE_TAG \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.torrent\n\n      - name: Upload Dev Installer\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET && github.ref == 'refs/heads/main'\n        run: |\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm s3://download.chia.net/latest-dev/chia-blockchain-1.x86_64_latest_dev.rpm\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.sha256 s3://download.chia.net/latest-dev/chia-blockchain-1.x86_64_latest_dev.rpm.sha256\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm s3://download.chia.net/latest-dev/chia-blockchain-cli-1.x86_64_latest_dev.rpm\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.sha256 s3://download.chia.net/latest-dev/chia-blockchain-cli-1.x86_64_latest_dev.rpm.sha256\n\n      - name: Upload Release Files\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET && env.FULL_RELEASE == 'true'\n        run: |\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm s3://download.chia.net/install/\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.sha256 s3://download.chia.net/install/\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.torrent s3://download.chia.net/torrents/\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm s3://download.chia.net/install/\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.sha256 s3://download.chia.net/install/\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm.torrent s3://download.chia.net/torrents/\n\n      - name: Upload release artifacts\n        if: env.RELEASE == 'true'\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release upload \\\n            --repo ${{ github.repository }} \\\n            $RELEASE_TAG \\\n            build_scripts/final_installer/chia-blockchain-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm \\\n            build_scripts/final_installer/chia-blockchain-cli-${CHIA_INSTALLER_VERSION}-1.x86_64.rpm\n\n      - uses: Chia-Network/actions/github/jwt@main\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET\n\n      - name: Mark pre-release installer complete\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.PRE_RELEASE == 'true'\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"chia_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}-prerelease/${{ env.RELEASE_TAG }}/success/build-linux-rpm\n\n      - name: Mark release installer complete\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.FULL_RELEASE == 'true'\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"chia_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}/${{ env.RELEASE_TAG }}/success/build-linux-rpm\n\n  test:\n    name: Test ${{ matrix.distribution.name }} ${{ matrix.mode.name }} ${{ matrix.state.name }}\n    runs-on: ${{ matrix.os }}\n    needs:\n      - version\n      - build\n    container: ${{ matrix.distribution.url }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        distribution:\n          - name: amazonlinux:2023\n            type: amazon\n            url: \"docker://amazonlinux:2023\"\n          - name: fedora:37\n            type: fedora\n            # (37, 3.11) https://packages.fedoraproject.org/search?query=python3&releases=Fedora+37&start=0\n            url: \"docker://fedora:37\"\n          - name: fedora:38\n            type: fedora\n            # (38, 3.11) https://packages.fedoraproject.org/search?query=python3&releases=Fedora+38&start=0\n            url: \"docker://fedora:38\"\n          - name: rockylinux:8\n            type: rocky\n            url: \"docker://rockylinux:8\"\n          - name: rockylinux:9\n            type: rocky\n            url: \"docker://rockylinux:9\"\n            # bypass this error for now: Problem: The operation would result in removing the following protected packages: systemd-udev\n            noautoremove:\n              gui: --noautoremove\n          - name: build image\n            type: rocky\n            url: \"docker://chianetwork/rocky8-builder:latest\"\n        mode:\n          - name: GUI\n            matrix: gui\n            file: chia-blockchain-[0,1,2,3,4,5,6,7,8,9]*.rpm\n            package: chia-blockchain\n          - name: CLI\n            matrix: cli\n            file: chia-blockchain-cli-[0,1,2,3,4,5,6,7,8,9]*.rpm\n            package: chia-blockchain-cli\n        state:\n          - name: Dirty\n            matrix: dirty\n          - name: Clean\n            matrix: clean\n\n    steps:\n      - uses: Chia-Network/actions/clean-workspace@main\n\n      - name: Download packages\n        uses: actions/download-artifact@v4\n        id: download\n        with:\n          name: chia-installers-linux-rpm-intel\n          path: packages\n\n      - name: Dirty the environment for the sake of testing\n        if: matrix.state.matrix == 'dirty'\n        run: |\n          # this has been known to mess up the version detection, the empty directory should be removed\n          mkdir --parents /opt/chia/chia_blockchain-0.1.dist-info\n          # making sure that files are not removed\n          touch /opt/chia/touched\n\n      - name: Install package\n        run: |\n          ls -l \"${{ steps.download.outputs.download-path }}\"\n          yum install -y numactl-libs \"${{ steps.download.outputs.download-path }}\"/${{ matrix.mode.file }}\n\n      - name: List /opt/chia contents\n        run: |\n          find /opt/chia\n\n      - name: Run chia dev installers test\n        run: |\n          chia dev installers test --require-no-madmax --expected-chia-version \"${{ needs.version.outputs.chia-installer-version }}\"\n\n      - name: Verify /opt/chia present\n        run: |\n          if [ ! -e /opt/chia ]\n          then\n            ls -l /opt\n            false\n          fi\n\n      - name: Remove package\n        run: |\n          yum remove -y ${{ matrix.distribution.noautoremove[matrix.mode.matrix] }} ${{ matrix.mode.package }}\n\n      - name: Verify /opt/chia not present\n        if: matrix.state.matrix == 'clean'\n        run: |\n          if [ -e /opt/chia ]\n          then\n            ls -lR /opt/chia\n            false\n          fi\n\n      - name: Verify /opt/chia contains only touched file\n        if: matrix.state.matrix == 'dirty'\n        run: |\n          ACTUAL=$(ls -a /opt/chia)\n          EXPECTED=$(echo -e '.\\n..\\ntouched')\n          echo \"  actual: ${ACTUAL}\"\n          echo \"expected: ${EXPECTED}\"\n          if [ \"${ACTUAL}\" != \"${EXPECTED}\" ]\n          then\n            echo \"  !!! they do not match\"\n            ls -lR /opt/chia\n            false\n          else\n            echo \"  :] they match\"\n          fi\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:07.167215", "created_at": "2021-06-30T18:24:35+02:00", "updated_at": "2024-06-15T04:48:10+02:00", "name": "📦🚀 Build Installer - Linux DEB", "path": ".github/workflows/build-linux-installer-deb.yml", "contents": "name: 📦🚀 Build Installer - Linux DEB\n\non:\n  workflow_dispatch:\n    inputs:\n      release_type:\n        description: \"Tagged release testing scenario\"\n        required: false\n        type: choice\n        default: \"\"\n        options:\n          - \"\"\n          - 9.9.9-b1\n          - 9.9.9-rc1\n          - 9.9.9\n  push:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"long_lived/**\"\n      - main\n      - \"release/**\"\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"**\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  version:\n    uses: ./.github/workflows/reflow-version.yml\n\n  build:\n    name: Build ${{ matrix.os.arch }}\n    runs-on: ${{ matrix.os.runs-on }}\n    needs:\n      - version\n    container: chianetwork/ubuntu-20.04-builder:latest\n    timeout-minutes: 120\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        os:\n          - runs-on: ubuntu-latest\n            arch: amd64\n            madmax-suffix: \"x86-64\"\n            bladebit-suffix: \"ubuntu-x86-64.tar.gz\"\n          - runs-on: [Linux, ARM64]\n            arch: arm64\n            madmax-suffix: \"arm64\"\n            bladebit-suffix: \"ubuntu-arm64.tar.gz\"\n\n    env:\n      CHIA_INSTALLER_VERSION: ${{ needs.version.outputs.chia-installer-version }}\n      SETUPTOOLS_SCM_PRETEND_VERSION_FOR_CHIA_BLOCKCHAIN: ${{ needs.version.outputs.chia-installer-version }}\n      TAG_TYPE: ${{ needs.version.outputs.tag-type }}\n\n    steps:\n      - uses: Chia-Network/actions/clean-workspace@main\n\n      - name: Add safe git directory\n        uses: Chia-Network/actions/git-mark-workspace-safe@main\n\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - uses: Chia-Network/actions/git-ssh-to-https@main\n\n      - name: Cleanup any leftovers that exist from previous runs\n        run: bash build_scripts/clean-runner.sh || true\n\n      - name: Set Env\n        uses: Chia-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Get latest madmax plotter\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          LATEST_MADMAX=$(gh api repos/Chia-Network/chia-plotter-madmax/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n          mkdir \"$GITHUB_WORKSPACE\"/madmax\n          gh release download -R Chia-Network/chia-plotter-madmax \"$LATEST_MADMAX\" -p 'chia_plot-*-${{ matrix.os.madmax-suffix }}' -O \"$GITHUB_WORKSPACE\"/madmax/chia_plot\n          gh release download -R Chia-Network/chia-plotter-madmax \"$LATEST_MADMAX\" -p 'chia_plot_k34-*-${{ matrix.os.madmax-suffix }}' -O \"$GITHUB_WORKSPACE\"/madmax/chia_plot_k34\n          chmod +x \"$GITHUB_WORKSPACE\"/madmax/chia_plot\n          chmod +x \"$GITHUB_WORKSPACE\"/madmax/chia_plot_k34\n\n      - name: Fetch bladebit versions\n        shell: bash\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Fetch the latest version of each type\n          LATEST_RELEASE=$(gh api repos/Chia-Network/bladebit/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n          LATEST_BETA=$(gh api repos/Chia-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-beta[0-9]+$\"))) | first | .tag_name')\n          LATEST_RC=$(gh api repos/Chia-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-rc[0-9]+$\"))) | first | .tag_name')\n\n          # Compare the versions and choose the newest that matches the requirements\n          if [[ \"$TAG_TYPE\" == \"beta\" || -z \"$TAG_TYPE\" ]]; then\n            # For beta or dev builds (indicated by the absence of a tag), use the latest version available\n            LATEST_VERSION=$(printf \"%s\\n%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_BETA\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n          elif [[ \"$TAG_TYPE\" == \"rc\" ]]; then\n            # For RC builds, use the latest RC or full release if it's newer\n            LATEST_VERSION=$(printf \"%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n          else\n            # For full releases, use the latest full release\n            LATEST_VERSION=\"$LATEST_RELEASE\"\n          fi\n          echo \"LATEST_VERSION=$LATEST_VERSION\" >> \"$GITHUB_ENV\"\n\n      - name: Get latest bladebit plotter\n        shell: bash\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Download and extract the chosen version\n          mkdir \"$GITHUB_WORKSPACE\"/bladebit\n          cd \"$GITHUB_WORKSPACE\"/bladebit\n          gh release download -R Chia-Network/bladebit \"$LATEST_VERSION\" -p 'bladebit*-${{ matrix.os.bladebit-suffix }}'\n          ls *.tar.gz | xargs -I{} bash -c 'tar -xzf {} && rm {}'\n          ls bladebit* | xargs -I{} chmod +x {}\n          cd \"$OLDPWD\"\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python-version }}\n          development: true\n          constraints-file-artifact-name: constraints-file-${{ matrix.os.arch }}\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - name: Prepare GUI cache\n        id: gui-ref\n        run: |\n          gui_ref=$(git submodule status chia-blockchain-gui | sed -e 's/^ //g' -e 's/ chia-blockchain-gui.*$//g')\n          echo \"${gui_ref}\"\n          echo \"GUI_REF=${gui_ref}\" >> \"$GITHUB_OUTPUT\"\n          echo \"rm -rf ./chia-blockchain-gui\"\n          rm -rf ./chia-blockchain-gui\n\n      - name: Cache GUI\n        uses: actions/cache@v4\n        id: cache-gui\n        with:\n          path: ./chia-blockchain-gui\n          key: ${{ runner.os }}-${{ matrix.os.arch }}-chia-blockchain-gui-${{ steps.gui-ref.outputs.GUI_REF }}\n\n      - if: steps.cache-gui.outputs.cache-hit != 'true'\n        name: Build GUI\n        continue-on-error: false\n        run: |\n          cd ./build_scripts\n          bash build_linux_deb-1-gui.sh\n\n      - name: Build .deb package\n        run: |\n          ldd --version\n          cd ./build_scripts\n          sh build_linux_deb-2-installer.sh ${{ matrix.os.arch }}\n\n      - name: Upload Linux artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: chia-installers-linux-deb-${{ matrix.os.arch }}\n          path: ${{ github.workspace }}/build_scripts/final_installer/\n\n      - name: Remove working files to exclude from cache\n        run: |\n          rm -rf ./chia-blockchain-gui/packages/gui/daemon\n\n  publish:\n    name: Publish ${{ matrix.os.arch }}\n    runs-on: ubuntu-latest\n    needs:\n      - version\n      - build\n    timeout-minutes: ${{ matrix.os.timeout }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        os:\n          - arch: amd64\n            glue-name: \"build-amd64-deb\"\n            timeout: 5\n          - arch: arm64\n            glue-name: \"build-arm64-deb\"\n            timeout: 5\n\n    env:\n      CHIA_INSTALLER_VERSION: ${{ needs.version.outputs.chia-installer-version }}\n\n    steps:\n      - uses: Chia-Network/actions/clean-workspace@main\n\n      - uses: Chia-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: chia-network/actions/create-venv@main\n        id: create-venv\n\n      - uses: chia-network/actions/activate-venv@main\n        with:\n          directories: ${{ steps.create-venv.outputs.activate-venv-directories }}\n\n      - name: Download constraints file\n        uses: actions/download-artifact@v4\n        with:\n          name: constraints-file-${{ matrix.os.arch }}\n          path: venv\n\n      - name: Install utilities\n        run: |\n          pip install --constraint venv/constraints.txt py3createtorrent\n\n      - name: Download packages\n        uses: actions/download-artifact@v4\n        with:\n          name: chia-installers-linux-deb-${{ matrix.os.arch }}\n          path: build_scripts/final_installer/\n\n      - name: Set Env\n        uses: Chia-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Test for secrets access\n        id: check_secrets\n        shell: bash\n        run: |\n          unset HAS_AWS_SECRET\n          unset HAS_GLUE_SECRET\n\n          if [ -n \"$AWS_SECRET\" ]; then HAS_AWS_SECRET='true' ; fi\n          echo HAS_AWS_SECRET=${HAS_AWS_SECRET} >> \"$GITHUB_OUTPUT\"\n\n          if [ -n \"$GLUE_API_URL\" ]; then HAS_GLUE_SECRET='true' ; fi\n          echo HAS_GLUE_SECRET=${HAS_GLUE_SECRET} >> \"$GITHUB_OUTPUT\"\n        env:\n          AWS_SECRET: \"${{ secrets.CHIA_AWS_ACCOUNT_ID }}\"\n          GLUE_API_URL: \"${{ secrets.GLUE_API_URL }}\"\n\n      - name: Configure AWS credentials\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: arn:aws:iam::${{ secrets.CHIA_AWS_ACCOUNT_ID }}:role/installer-upload\n          aws-region: us-west-2\n\n      - name: Upload to s3\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET\n        run: |\n          GIT_SHORT_HASH=$(echo \"${GITHUB_SHA}\" | cut -c1-8)\n          CHIA_DEV_BUILD=${CHIA_INSTALLER_VERSION}-$GIT_SHORT_HASH\n          echo \"CHIA_DEV_BUILD=$CHIA_DEV_BUILD\" >> \"$GITHUB_ENV\"\n          aws s3 cp \"$GITHUB_WORKSPACE/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb\" \"s3://download.chia.net/dev/chia-blockchain_${CHIA_DEV_BUILD}_${{ matrix.os.arch }}.deb\"\n          aws s3 cp \"$GITHUB_WORKSPACE/build_scripts/final_installer/chia-blockchain-cli_${CHIA_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb\" \"s3://download.chia.net/dev/chia-blockchain-cli_${CHIA_DEV_BUILD}-1_${{ matrix.os.arch }}.deb\"\n\n      - name: Create Checksums\n        run: |\n          ls \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/\n          sha256sum \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb > \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb.sha256\n          sha256sum \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli_${CHIA_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb > \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli_${CHIA_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb.sha256\n          ls \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/\n\n      - name: Create .deb torrent\n        if: env.FULL_RELEASE == 'true'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb -o \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb.torrent --webseed https://download.chia.net/install/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb\n          py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli_${CHIA_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb -o \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli_${CHIA_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb.torrent --webseed https://download.chia.net/install/chia-blockchain-cli_${CHIA_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb\n          gh release upload --repo ${{ github.repository }} $RELEASE_TAG \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb.torrent\n\n      - name: Upload Dev Installer\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET && github.ref == 'refs/heads/main'\n        run: |\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb s3://download.chia.net/latest-dev/chia-blockchain_${{ matrix.os.arch }}_latest_dev.deb\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb.sha256 s3://download.chia.net/latest-dev/chia-blockchain_${{ matrix.os.arch }}_latest_dev.deb.sha256\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli_${CHIA_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb s3://download.chia.net/latest-dev/chia-blockchain-cli_${{ matrix.os.arch }}_latest_dev.deb\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli_${CHIA_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb.sha256 s3://download.chia.net/latest-dev/chia-blockchain-cli_${{ matrix.os.arch }}_latest_dev.deb.sha256\n\n      - name: Upload Release Files\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET && env.FULL_RELEASE == 'true'\n        run: |\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb s3://download.chia.net/install/\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb.sha256 s3://download.chia.net/install/\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb.torrent s3://download.chia.net/torrents/\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli_${CHIA_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb s3://download.chia.net/install/\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli_${CHIA_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb.sha256 s3://download.chia.net/install/\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/chia-blockchain-cli_${CHIA_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb.torrent s3://download.chia.net/torrents/\n\n      - name: Upload release artifacts\n        if: env.RELEASE == 'true'\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release upload \\\n            --repo ${{ github.repository }} \\\n            $RELEASE_TAG \\\n            build_scripts/final_installer/chia-blockchain_${CHIA_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb \\\n            build_scripts/final_installer/chia-blockchain-cli_${CHIA_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb\n\n      - uses: Chia-Network/actions/github/jwt@main\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET\n\n      - name: Mark pre-release installer complete\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.PRE_RELEASE == 'true'\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"chia_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}-prerelease/${{ env.RELEASE_TAG }}/success/${{ matrix.os.glue-name }}\n\n      - name: Mark release installer complete\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.FULL_RELEASE == 'true'\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"chia_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}/${{ env.RELEASE_TAG }}/success/${{ matrix.os.glue-name }}\n\n  test:\n    name: Test ${{ matrix.distribution.name }} ${{ matrix.mode.name }} ${{ matrix.arch.name }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    needs:\n      - version\n      - build\n    container: ${{ matrix.distribution.url }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - runs-on:\n              arm: [linux, arm64]\n              intel: [ubuntu-latest]\n        distribution:\n          - name: debian:bullseye\n            type: debian\n            # https://packages.debian.org/bullseye/python/python3 (3.9)\n            url: \"docker://debian:bullseye\"\n          - name: debian:bookworm\n            type: debian\n            # https://packages.debian.org/bookworm/python/python3 (3.11)\n            url: \"docker://debian:bookworm\"\n          - name: ubuntu:focal (20.04)\n            type: ubuntu\n            # https://packages.ubuntu.com/focal/python3 (20.04, 3.8)\n            url: \"docker://ubuntu:focal\"\n          - name: ubuntu:jammy (22.04)\n            type: ubuntu\n            # https://packages.ubuntu.com/jammy/python3 (22.04, 3.10)\n            url: \"docker://ubuntu:jammy\"\n          - name: ubuntu:noble (24.04)\n            type: ubuntu\n            # https://packages.ubuntu.com/noble/python3 (24.04, 3.12)\n            url: \"docker://ubuntu:noble\"\n        mode:\n          - name: GUI\n            file: chia-blockchain_*.deb\n            package: chia-blockchain\n          - name: CLI\n            file: chia-blockchain-cli_*.deb\n            package: chia-blockchain-cli\n        arch:\n          - name: ARM64\n            matrix: arm\n            artifact-name: arm64\n          - name: Intel\n            matrix: intel\n            artifact-name: amd64\n\n    env:\n      DEBIAN_FRONTEND: noninteractive\n\n    steps:\n      - uses: Chia-Network/actions/clean-workspace@main\n\n      - name: Download packages\n        uses: actions/download-artifact@v4\n        id: download\n        with:\n          name: chia-installers-linux-deb-${{ matrix.arch.artifact-name }}\n          path: packages\n\n      - name: Update apt repos\n        run: |\n          apt-get update --yes\n\n      - name: Install package\n        run: |\n          ls -l \"${{ steps.download.outputs.download-path }}\"\n          apt-get install --yes libnuma1 \"${{ steps.download.outputs.download-path }}\"/${{ matrix.mode.file }}\n\n      - name: List /opt/chia contents\n        run: |\n          find /opt/chia\n\n      - name: Run chia dev installers test\n        run: |\n          chia dev installers test --expected-chia-version \"${{ needs.version.outputs.chia-installer-version }}\"\n\n      - name: Verify /opt/chia present\n        run: |\n          if [ ! -e /opt/chia ]\n          then\n            ls -l /opt\n            false\n          fi\n\n      - name: Check permissions of /opt/chia/chrome-sandbox\n        shell: bash\n        if: matrix.mode.name == 'GUI'\n        run: |\n          [ $(stat -c %a:%G:%U /opt/chia/chrome-sandbox) == \"4755:root:root\" ]\n\n      - name: Remove package\n        run: |\n          apt-get remove --yes ${{ matrix.mode.package }}\n\n      - name: Verify /opt/chia not present\n        run: |\n          if [ -e /opt/chia ]\n          then\n            ls -lR /opt/chia\n            false\n          fi\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:08.330827", "created_at": "2021-07-08T19:20:30+02:00", "updated_at": "2021-10-18T00:36:53+02:00", "name": "Close stale issues", "path": ".github/workflows/stale-issue.yml", "contents": "name: \"Close stale issues\"\non:\n  schedule:\n    - cron: \"0 11 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          operations-per-run: 10000\n          ascending: true\n          days-before-issue-stale: 14\n          days-before-issue-close: 7\n          days-before-pr-stale: 45\n          days-before-pr-close: -1\n          exempt-all-pr-milestones: true\n          exempt-all-issue-milestones: true\n          exempt-all-assignees: true\n          stale-issue-label: stale-issue\n          stale-pr-label: stale-pr\n          remove-stale-when-updated: true\n          stale-issue-message: >-\n            This issue has not been updated in 14 days and is now flagged\n            as stale. If this issue is still affecting you and in need\n            of further review, please comment on it with an update to\n            keep it from auto closing in 7 days.\n          close-issue-message: >-\n            This issue was automatically closed because it has been\n            flagged as stale, and subsequently passed 7 days with no\n            further activity from the submitter or watchers.\n          stale-pr-message: >-\n            This PR has been flagged as stale due to no activity for over\n            60 days. It will not be automatically closed, but it has been\n            given a stale-pr label and should be manually reviewed by the\n            relevant parties.\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:09.558167", "created_at": "2021-07-13T23:17:27+02:00", "updated_at": "2021-07-14T06:02:41+02:00", "name": "Update Mozilla CA sub module", "path": ".github/workflows/mozilla-ca-cert.yml", "contents": "name: \"Update Mozilla CA sub module\"\non:\n  workflow_dispatch:\n    branches:\n      - $default-branch\n\njobs:\n  update_ca_module:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: \"${{ github.event.inputs.chia_ref }}\"\n          repository: chia-network/chia-blockchain\n          submodules: recursive\n          token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n      - name: Set up commit signing\n        uses: Chia-Network/actions/commit-sign/gpg@main\n        with:\n          gpg_private_key: ${{ secrets.CHIA_AUTOMATION_PRIVATE_GPG_KEY }}\n          passphrase: ${{ secrets.CHIA_AUTOMATION_PRIVATE_GPG_PASSPHRASE }}\n\n      - name: \"Add changes to new branch\"\n        run: |\n          cd ./mozilla-ca\n          git pull origin main\n\n      - name: \"Create Pull Request\"\n        uses: peter-evans/create-pull-request@v6\n        with:\n          base: main\n          body: \"Newest Mozilla CA cert\"\n          branch: mozilla-ca-updates\n          commit-message: \"adding ca updates\"\n          delete-branch: true\n          reviewers: \"wjblanke,emlowe\"\n          assignees: \"wallentx\"\n          title: \"CA Cert updates\"\n          token: \"${{ secrets.GITHUB_TOKEN }}\"\n          committer: \"ChiaAutomation <automation@chia.net>\"\n          author: \"ChiaAutomation <automation@chia.net>\"\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:10.592529", "created_at": "2021-08-27T17:36:24+02:00", "updated_at": "2023-06-22T23:39:41+02:00", "name": "🏗️ Test Install Scripts", "path": ".github/workflows/test-install-scripts.yml", "contents": "name: 🏗️ Test Install Scripts\n\non:\n  push:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"long_lived/**\"\n      - main\n      - \"release/**\"\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"**\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  test_scripts:\n    name: Test Install Scripts - ${{ matrix.development.name }} - ${{ matrix.editable.name }}\n    runs-on: ${{ matrix.os.runs-on }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python:\n          - major-dot-minor: \"3.10\"\n        os:\n          - runs-on: macos-latest\n            matrix: macos-arm\n          - runs-on: macos-12\n            matrix: macos-intel\n          - runs-on: ubuntu-latest\n            matrix: linux\n          - runs-on: windows-latest\n            matrix: windows\n        development:\n          - name: Non-development\n            value: false\n          - name: Development\n            value: true\n        editable:\n          - name: Non-editable\n            value: false\n            matrix: non-editable\n          - name: Editable\n            value: true\n            matrix: editable\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python environment\n        uses: Chia-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python.major-dot-minor }}\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python.major-dot-minor }}\n          development: ${{ matrix.development.value }}\n          editable: ${{ matrix.editable.value }}\n          do-system-installs: true\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - name: Run chia --help\n        run: |\n          chia --help\n\n      - name: Run install-gui script (Linux, macOS)\n        if: matrix.os.matrix != 'windows'\n        run: |\n          sh install-gui.sh\n\n      - name: Run install-gui script (Windows)\n        if: matrix.os.matrix == 'windows'\n        run: |\n          ./Install-gui.ps1\n\n      - name: Collect editable info\n        id: editable-info\n        shell: bash\n        run: |\n          echo \"pre-edit-version=$(chia version)\" >> \"$GITHUB_OUTPUT\"\n          echo '__version__ = \"shooby-doowah\"' >> chia/__init__.py\n          echo \"post-edit-version=$(chia version)\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Check editable\n        if: matrix.editable.matrix == 'editable'\n        shell: bash\n        env:\n          PRE_VERSION: ${{ steps.editable-info.outputs.pre-edit-version }}\n          POST_VERSION: ${{ steps.editable-info.outputs.post-edit-version }}\n        run: |\n          [ \"$POST_VERSION\" = \"shooby-doowah\" -a \"$PRE_VERSION\" != \"shooby-doowah\" ]\n\n      - name: Check non-editable\n        if: matrix.editable.matrix == 'non-editable'\n        shell: bash\n        env:\n          PRE_VERSION: ${{ steps.editable-info.outputs.pre-edit-version }}\n          POST_VERSION: ${{ steps.editable-info.outputs.post-edit-version }}\n        run: |\n          [ \"$POST_VERSION\" != \"shooby-doowah\" -a \"$PRE_VERSION\" = \"$POST_VERSION\" ]\n\n  test_scripts_in_docker:\n    name: Test Install Scripts ${{ matrix.distribution.name }} ${{ matrix.arch.name }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    container: ${{ matrix.distribution.url }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: Linux\n            matrix: linux\n            runs-on:\n              intel: ubuntu-latest\n              arm: [linux, arm64]\n        distribution:\n          - name: amazonlinux:2023\n            type: amazon\n            url: \"docker://amazonlinux:2023\"\n          - name: arch:latest\n            type: arch\n            url: \"docker://archlinux:latest\"\n          - name: debian:bullseye\n            type: debian\n            # https://packages.debian.org/bullseye/python/python3 (3.9)\n            url: \"docker://debian:bullseye\"\n          - name: debian:bookworm\n            type: debian\n            # https://packages.debian.org/bookworm/python/python3 (3.11)\n            url: \"docker://debian:bookworm\"\n          - name: fedora:37\n            type: fedora\n            # (37, 3.11) https://packages.fedoraproject.org/search?query=python3&releases=Fedora+37&start=0\n            url: \"docker://fedora:37\"\n          - name: fedora:38\n            type: fedora\n            # (38, 3.11) https://packages.fedoraproject.org/search?query=python3&releases=Fedora+38&start=0\n            url: \"docker://fedora:38\"\n          - name: rockylinux:8\n            type: rocky\n            url: \"docker://rockylinux:8\"\n          - name: rockylinux:9\n            type: rocky\n            url: \"docker://rockylinux:9\"\n          - name: ubuntu:focal (20.04)\n            type: ubuntu\n            # https://packages.ubuntu.com/focal/python3 (20.04, 3.8)\n            url: \"docker://ubuntu:focal\"\n          - name: ubuntu:jammy (22.04)\n            type: ubuntu\n            # https://packages.ubuntu.com/jammy/python3 (22.04, 3.10)\n            url: \"docker://ubuntu:jammy\"\n          - name: ubuntu:noble (24.04)\n            type: ubuntu\n            # https://packages.ubuntu.com/noble/python3 (24.04, 3.12)\n            url: \"docker://ubuntu:noble\"\n        arch:\n          - name: ARM64\n            matrix: arm\n          - name: Intel\n            matrix: intel\n        exclude:\n          - distribution:\n              type: arch\n            arch:\n              matrix: arm\n\n    steps:\n      - name: Prepare Amazon Linux\n        if: ${{ matrix.distribution.type == 'amazon' }}\n        run: |\n          yum install --assumeyes git sudo\n\n      - name: Prepare Arch\n        if: ${{ matrix.distribution.type == 'arch' }}\n        run: |\n          pacman --noconfirm -Syu\n          pacman --noconfirm -S base git sudo openssl-1.1\n          # The behavior we follow in install.sh is unique with Arch in that\n          # we leave it to the user to install the appropriate version of python,\n          # so we need to install python here in order for the test to succeed.\n          pacman --noconfirm -U --needed https://archive.archlinux.org/packages/p/python/python-3.11.8-1-x86_64.pkg.tar.zst\n\n      - name: Prepare Debian\n        if: ${{ matrix.distribution.type == 'debian' }}\n        env:\n          DEBIAN_FRONTEND: noninteractive\n        run: |\n          apt-get --yes update\n          apt-get install --yes git lsb-release sudo python3-venv\n\n      - name: Prepare Fedora\n        if: ${{ matrix.distribution.type == 'fedora' }}\n        run: |\n          yum install --assumeyes git\n\n      - name: Prepare Rocky\n        if: ${{ matrix.distribution.type == 'rocky' }}\n        run: |\n          yum install --assumeyes git sudo python39\n\n      - name: Prepare Ubuntu\n        if: ${{ matrix.distribution.type == 'ubuntu' }}\n        env:\n          DEBIAN_FRONTEND: noninteractive\n        run: |\n          # for bionic\n          apt-get --yes update\n          apt-get install --yes software-properties-common\n          add-apt-repository --yes ppa:git-core/ppa\n          apt-get --yes update\n          apt-get install --yes git lsb-release sudo python3-venv\n\n      - name: Add safe git directory\n        run: git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n\n      # after installing git so we use that copy\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python-version }}\n          development: true\n          do-system-installs: true\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - name: Run chia --help\n        run: |\n          chia --help\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:11.829780", "created_at": "2021-10-05T17:56:48+02:00", "updated_at": "2023-06-22T23:39:41+02:00", "name": "🚨 pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: 🚨 pre-commit\n\non:\n  pull_request:\n  push:\n    branches:\n      - \"long_lived/**\"\n      - main\n      - \"release/**\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  pre-commit:\n    name: ${{ matrix.os.name }} ${{ matrix.arch.name }} ${{ matrix.python.major_dot_minor }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    timeout-minutes: 20\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: Linux\n            matrix: linux\n            runs-on:\n              intel: ubuntu-latest\n              arm: [linux, arm64]\n          - name: macOS\n            matrix: macos\n            runs-on:\n              intel: macos-12\n              arm: [macos, arm64]\n          - name: Windows\n            matrix: windows\n            runs-on:\n              intel: windows-latest\n        arch:\n          - name: ARM64\n            matrix: arm\n          - name: Intel\n            matrix: intel\n        python:\n          - major_dot_minor: \"3.8\"\n          - major_dot_minor: \"3.9\"\n          - major_dot_minor: \"3.10\"\n          - major_dot_minor: \"3.11\"\n          - major_dot_minor: \"3.12\"\n        exclude:\n          - os:\n              matrix: windows\n            arch:\n              matrix: arm\n\n    steps:\n      - name: Clean workspace\n        uses: Chia-Network/actions/clean-workspace@main\n\n      - uses: Chia-Network/actions/git-mark-workspace-safe@main\n\n      - name: disable git autocrlf\n        run: |\n          git config --global core.autocrlf false\n\n      - uses: actions/checkout@v4\n\n      - uses: Chia-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python.major_dot_minor }}\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python.major_dot_minor }}\n          development: true\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - env:\n          CHIA_MANAGE_CLVM_CHECK_USE_CACHE: \"false\"\n          CHIA_MANAGE_MYPY_CHECK_EXCLUSIONS: \"true\"\n        run: pre-commit run --all-files --verbose\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:13.006205", "created_at": "2022-01-10T16:28:33+01:00", "updated_at": "2024-04-05T20:04:51+02:00", "name": "🧪 test", "path": ".github/workflows/test.yml", "contents": "name: 🧪 test\n\non:\n  push:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - long_lived/**\n      - main\n      - release/**\n    tags:\n      - \"**\"\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"**\"\n  workflow_dispatch:\n    inputs:\n      build-job-matrix-arguments:\n        description: \"extra arguments for build-job-matrix.py\"\n        default: \"\"\n        required: false\n        type: string\n      per:\n        description: \"individual job scope\"\n        default: \"directory\"\n        required: false\n        type: choice\n        options:\n          - directory\n          - file\n      only:\n        description: \"only run this job\"\n        default: \"\"\n        required: false\n        type: string\n      duplicates:\n        description: \"times to run each job\"\n        default: 1\n        required: false\n        type: number\n      run-linux:\n        description: \"run Linux tests\"\n        default: true\n        required: false\n        type: boolean\n      run-macos-intel:\n        description: \"run macOS-intel tests\"\n        default: true\n        required: false\n        type: boolean\n      run-macos-arm:\n        description: \"run macOS-arm tests\"\n        default: true\n        required: false\n        type: boolean\n      run-windows:\n        description: \"run Windows tests\"\n        default: true\n        required: false\n        type: boolean\n      full-python-matrix:\n        description: \"run full Python version matrix\"\n        default: false\n        required: false\n        type: boolean\n  schedule:\n    - cron: \"0 13 * * *\"\n\nconcurrency:\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'workflow_dispatch' && github.run_id || '' }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  configure:\n    name: Configure matrix\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup Python environment\n        uses: Chia-Network/actions/setup-python@main\n        with:\n          python-version: \"3.10\"\n\n      - name: Generate matrix configuration\n        id: configure\n        run: |\n          python chia/_tests/build-job-matrix.py --per directory --verbose ${{ inputs.only && format('--only {0}', inputs.only) || '' }} ${{ inputs.duplicates > 1 && format('--duplicates {0}', inputs.duplicates) || '' }} ${{ inputs.build-job-matrix-arguments }} > matrix.json\n          cat matrix.json\n          echo configuration=$(cat matrix.json) >> \"$GITHUB_OUTPUT\"\n          echo matrix_mode=${{\n            ( github.repository_owner == 'Chia-Network' && github.repository != 'Chia-Network/chia-blockchain' )\n            && 'limited'\n            || (\n              ( github.event_name == 'schedule' || inputs.full-python-matrix )\n              || ( github.repository_owner == 'Chia-Network' && github.repository == 'Chia-Network/chia-blockchain' && startsWith(github.ref, 'refs/heads/release/') )\n              || ( github.repository_owner == 'Chia-Network' && github.repository == 'Chia-Network/chia-blockchain' && startsWith(github.base_ref, 'release/') )\n            )\n            && 'all'\n            || 'main'\n          }} >> \"$GITHUB_OUTPUT\"\n\n    outputs:\n      configuration: ${{ steps.configure.outputs.configuration }}\n      matrix_mode: ${{ steps.configure.outputs.matrix_mode }}\n\n  macos-intel:\n    if: github.event_name != 'workflow_dispatch' || inputs.run-macos-intel\n    uses: ./.github/workflows/test-single.yml\n    needs: configure\n    with:\n      emoji: 🍎\n      matrix: macos-intel\n      name: macOS Intel\n      file_name: macos\n      concurrency_name: macos-intel\n      configuration: ${{ needs.configure.outputs.configuration }}\n      matrix_mode: ${{ needs.configure.outputs.matrix_mode }}\n      runs-on: macos-12\n      arch: intel\n  macos-arm:\n    if: github.event_name != 'workflow_dispatch' || inputs.run-macos-arm\n    uses: ./.github/workflows/test-single.yml\n    needs: configure\n    with:\n      emoji: 🍎\n      matrix: macos\n      name: macOS ARM\n      file_name: macos-arm\n      concurrency_name: macos-arm\n      configuration: ${{ needs.configure.outputs.configuration }}\n      matrix_mode: ${{ needs.configure.outputs.matrix_mode }}\n      runs-on: macos-14\n      arch: arm\n      collect-junit: false\n  ubuntu:\n    if: github.event_name != 'workflow_dispatch' || inputs.run-linux\n    uses: ./.github/workflows/test-single.yml\n    needs: configure\n    with:\n      emoji: 🐧\n      matrix: ubuntu\n      name: Ubuntu\n      file_name: ubuntu\n      concurrency_name: ubuntu\n      configuration: ${{ needs.configure.outputs.configuration }}\n      matrix_mode: ${{ needs.configure.outputs.matrix_mode }}\n      runs-on: ubuntu-latest\n      arch: intel\n      collect-junit: false\n  windows:\n    if: github.event_name != 'workflow_dispatch' || inputs.run-windows\n    uses: ./.github/workflows/test-single.yml\n    needs: configure\n    with:\n      emoji: 🪟\n      matrix: windows\n      name: Windows\n      file_name: windows\n      concurrency_name: windows\n      configuration: ${{ needs.configure.outputs.configuration }}\n      matrix_mode: ${{ needs.configure.outputs.matrix_mode }}\n      runs-on: windows-latest\n      arch: intel\n      collect-junit: false\n\n  coverage:\n    name: ${{ matrix.os.emoji }} Coverage - ${{ matrix.python.name }}\n    runs-on: ${{ matrix.os.runs-on }}\n    needs:\n      - macos-intel\n      - macos-arm\n      - ubuntu\n      - windows\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - emoji: 🐧\n            matrix: ubuntu\n            name: Ubuntu\n            runs-on: ubuntu-latest\n        python:\n          - name: \"3.10\"\n            action: \"3.10\"\n            apt: \"3.10\"\n            install_sh: \"3.10\"\n            matrix: \"3.10\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set Env\n        uses: Chia-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Download Results\n        if: false\n        uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n          pattern: junit-data-*\n          path: junit-data\n\n      - name: Format JUnit data and prepare results\n        if: false\n        run: |\n          sudo snap install yq\n          ls junit-data/*.xml | xargs --max-procs=10 --replace={} yq eval '.testsuites.testsuite.testcase |= sort_by(.+@classname, .+@name)' --inplace {}\n\n          sudo apt-get install junitparser\n          mkdir junit-results\n          junitparser merge junit-data/*.xml junit-results/junit.xml\n          ls junit-results/*.xml | xargs --max-procs=10 --replace={} yq eval '.testsuites.testsuite |= sort_by(.+@name) | .testsuites.testsuite[].testcase |= sort_by(.+@classname, .+@name)' --inplace {}\n\n      - name: Publish formatted JUnit data\n        if: false\n        uses: actions/upload-artifact@v4\n        with:\n          name: junit-data\n          path: junit-data/*\n          if-no-files-found: error\n\n      - name: Download Coverage\n        uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n          pattern: coverage-data-*\n          path: coverage-data\n\n      - name: Set up ${{ matrix.python.name }}\n        uses: Chia-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python.action }}\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python.action }}\n          development: true\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - name: Add time out assert results to workflow summary\n        if: always() && false\n        run: |\n          python -m chia._tests.process_junit --limit 50 --type time_out_assert --xml junit-results/junit.xml --markdown --link-prefix ${{ github.event.repository.html_url }}/blob/${{ github.sha }}/ --link-line-separator \\#L >> \"$GITHUB_STEP_SUMMARY\"\n          python -m chia._tests.process_junit            --type time_out_assert --xml junit-results/junit.xml --markdown --link-prefix ${{ github.event.repository.html_url }}/blob/${{ github.sha }}/ --link-line-separator \\#L >> junit-results/time_out_assert.md\n\n      - name: Publish JUnit results\n        if: always() && false\n        uses: actions/upload-artifact@v4\n        with:\n          name: junit-results\n          path: junit-results/*\n          if-no-files-found: error\n\n      - name: Coverage Processing\n        run: |\n          coverage combine --rcfile=.coveragerc --data-file=coverage-reports/.coverage coverage-data/\n          coverage xml --rcfile=.coveragerc --data-file=coverage-reports/.coverage -o coverage-reports/coverage.xml\n          coverage html --rcfile=.coveragerc --data-file=coverage-reports/.coverage --directory coverage-reports/html/\n\n      - uses: coverallsapp/github-action@v2\n        if: always()\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n\n      - name: Coverage report (chia/)\n        if: always()\n        run: |\n          set -o pipefail\n          coverage report --rcfile=.coveragerc --data-file=coverage-reports/.coverage --include='chia/**/*' --omit='chia/_tests/**/*' --show-missing | tee coverage-reports/coverage-chia-stdout\n\n      - name: Coverage report (chia/_tests/)\n        if: always()\n        run: |\n          set -o pipefail\n          coverage report --rcfile=.coveragerc --data-file=coverage-reports/.coverage --include='chia/_tests/**/*' --show-missing | tee coverage-reports/coverage-tests-stdout\n\n      - name: Coverage report (diff)\n        if: (github.base_ref != '' || github.event.before != '') && always()\n        env:\n          compare-branch: ${{ github.base_ref == '' && github.event.before || format('origin/{0}', github.base_ref) }}\n        run: |\n          diff-cover --config-file=.diffcover.toml --compare-branch=${{ env.compare-branch }} --fail-under=100 --html-report=coverage-reports/diff-cover.html --markdown-report=coverage-reports/diff-cover.md coverage-reports/coverage.xml | tee coverage-reports/diff-cover-stdout\n          COV_STATUS=\"${PIPESTATUS[0]}\"\n          echo \"COV_STATUS=$COV_STATUS\" >> \"$GITHUB_ENV\"\n          if [[ $COV_STATUS != '0' && \"$GITHUB_BASE_REF\" != '' ]]; then\n            exit 1\n          fi\n\n      - name: Remove previous coverage report comment and label from PR\n        if: github.base_ref != '' && always()\n        shell: bash\n        env:\n          COV_STATUS: ${{ env.COV_STATUS }}\n          GH_TOKEN: ${{ github.token }}\n          ORG_REPO: ${{ github.repository }}\n        run: |\n          PR_NUM=$(jq -r '.number' \"$GITHUB_EVENT_PATH\")\n          COMMENTS=$(gh api -X GET /repos/\"${ORG_REPO}\"/issues/\"${PR_NUM}\"/comments)\n          COMMENT_ID=$(echo \"$COMMENTS\" | jq '.[] | select(.user.login == \"github-actions[bot]\" and (.body | tostring | contains(\"<!-- COVERAGE_COMMENT_'${PR_NUM}' -->\"))) | .id')\n          COVERAGE_LABEL=$(gh pr view \"$PR_NUM\" --json labels --jq ' .labels[].name | select(. == \"coverage-diff\")')\n          if [[ -n \"$COMMENT_ID\" ]]; then\n            gh api -X DELETE /repos/\"${ORG_REPO}\"/issues/comments/\"${COMMENT_ID}\"\n          fi\n          if [[ \"$COV_STATUS\" == '0' ]]; then\n            if [[ \"$COVERAGE_LABEL\" == \"coverage-diff\" ]]; then\n              gh pr edit \"$PR_NUM\" --remove-label \"coverage-diff\"\n            fi\n          fi\n\n      - name: Add diff coverage report comment to PR\n        if: github.base_ref != '' && always()\n        env:\n          BRANCH_NAME: ${{ github.sha }}\n          COV_STATUS: ${{ env.COV_STATUS }}\n          GH_TOKEN: ${{ github.token }}\n          ORG_REPO: ${{ github.repository }}\n        run: |\n          if [[ $COV_STATUS != '0' ]]; then\n            BASE_URL=\"https://github.com/${ORG_REPO}/blob/${BRANCH_NAME}\"\n            PR_NUM=$(jq -r '.number' \"$GITHUB_EVENT_PATH\")\n            COVERAGE_LABEL=$(gh pr view \"$PR_NUM\" --json labels --jq ' .labels[].name | select(. == \"coverage-diff\")')\n            CONTENT=$(<coverage-reports/diff-cover-stdout)\n            OUTPUT=\"<!-- COVERAGE_COMMENT_${PR_NUM} -->\\n| File | Coverage | Missing Lines |\\n|------|----------|---------------|\\n\"\n            TOTAL_LINES=\"Unknown\"\n            MISSING_LINES=\"Unknown\"\n            TOTAL_COVERAGE=\"Unknown\"\n            IFS=$'\\n'\n            for LINE in $CONTENT; do\n              if [[ $LINE =~ ^(.*\\.py)\\ \\(([0-9\\.]+%)\\)\\:\\ Missing\\ lines\\ (.*)$ ]]; then\n                FILE=\"${BASH_REMATCH[1]}\"\n                COVERAGE=\"${BASH_REMATCH[2]}\"\n                MISSING=\"${BASH_REMATCH[3]}\"\n                MISSING_TRANSFORMED=\"lines \"\n                IFS=',' read -ra MISSING_PARTS <<< \"$MISSING\"\n                for PART in \"${MISSING_PARTS[@]}\"; do\n                  if [[ $PART =~ ^([0-9]+)\\-([0-9]+)$ ]]; then\n                    MISSING_TRANSFORMED+=\"[${BASH_REMATCH[1]}-${BASH_REMATCH[2]}](${BASE_URL}/${FILE}#L${BASH_REMATCH[1]}-L${BASH_REMATCH[2]}), \"\n                  else\n                    MISSING_TRANSFORMED+=\"[${PART}](${BASE_URL}/${FILE}#L${PART}), \"\n                  fi\n                done\n                MISSING_TRANSFORMED=${MISSING_TRANSFORMED%, }\n                OUTPUT+=\"| [\\`${FILE}\\`](${BASE_URL}/${FILE}) | ${COVERAGE} | ${MISSING_TRANSFORMED} |\\n\"\n              elif [[ $LINE =~ ^Total:\\ \\ \\ (.*)\\ lines$ ]]; then\n                TOTAL_LINES=\"${BASH_REMATCH[1]} lines\"\n              elif [[ $LINE =~ ^Missing:\\ (.*)\\ lines$ ]]; then\n                MISSING_LINES=\"${BASH_REMATCH[1]} lines\"\n              elif [[ $LINE =~ ^Coverage:\\ (.*)%$ ]]; then\n                TOTAL_COVERAGE=\"${BASH_REMATCH[1]}%\"\n              fi\n            done\n            OUTPUT+=\"\\n| Total | Missing | Coverage |\\n|-------|---------|----------|\\n| ${TOTAL_LINES} | ${MISSING_LINES} | ${TOTAL_COVERAGE} |\\n\"\n            echo -e \"$OUTPUT\" > temp_comment.txt\n            gh pr comment \"$PR_NUM\" -F temp_comment.txt\n            if [[ $COVERAGE_LABEL != \"coverage-diff\" ]]; then\n              gh pr edit \"$PR_NUM\" --add-label \"coverage-diff\"\n            fi\n          fi\n\n      - name: Add diff coverage report to workflow summary\n        if: (github.base_ref != '' || github.event.before != '') && always()\n        run: |\n          cat coverage-reports/diff-cover.md >> \"$GITHUB_STEP_SUMMARY\"\n\n      - name: Publish coverage reports\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-reports\n          path: coverage-reports/*\n          if-no-files-found: error\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:14.057225", "created_at": "2022-01-20T21:13:00+01:00", "updated_at": "2023-06-22T18:13:59+02:00", "name": "📦🚀 Trigger Main Docker Build", "path": ".github/workflows/trigger-docker-main.yml", "contents": "name: 📦🚀 Trigger Main Docker Build\n\non:\n  push:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - main\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  trigger:\n    name: Trigger building a new `main` tag for the chia-docker image\n    runs-on: ubuntu-latest\n    steps:\n      - uses: Chia-Network/actions/github/jwt@main\n\n      - name: Trigger docker main workflow via github-glue\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{}' ${{ secrets.GLUE_API_URL }}/api/v1/docker-build-main/${{ github.sha }}/start\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{}' ${{ secrets.GLUE_API_URL }}/api/v1/docker-build-main/${{ github.sha }}/success/build-main\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:15.394835", "created_at": "2022-02-18T21:39:35+01:00", "updated_at": "2023-06-22T23:39:41+02:00", "name": "📦🚀 Trigger Dev Docker Build", "path": ".github/workflows/trigger-docker-dev.yml", "contents": "name: 📦🚀 Trigger Dev Docker Build\n\non:\n  push:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"long_lived/**\"\n      - \"release/**\"\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  trigger:\n    name: Trigger building a new dev tag for the chia-docker image\n    runs-on: ubuntu-latest\n    steps:\n      - name: Test for secrets access\n        id: check_secrets\n        shell: bash\n        run: |\n          unset HAS_SECRET\n\n          if [ -n \"$GLUE_API_URL\" ]; then HAS_SECRET='true' ; fi\n          echo HAS_SECRET=${HAS_SECRET} >> \"$GITHUB_OUTPUT\"\n        env:\n          GLUE_API_URL: \"${{ secrets.GLUE_API_URL }}\"\n\n      - uses: Chia-Network/actions/github/jwt@main\n        if: steps.check_secrets.outputs.HAS_SECRET\n\n      - name: Trigger docker dev workflow via github-glue\n        if: steps.check_secrets.outputs.HAS_SECRET\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"sha\":\"${{ github.sha }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/docker-build-dev/${{ github.sha }}/start\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"sha\":\"${{ github.sha }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/docker-build-dev/${{ github.sha }}/success/build-dev\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:16.726152", "created_at": "2022-03-16T00:07:08+01:00", "updated_at": "2023-08-20T09:07:32+02:00", "name": "⚡️ Benchmarks", "path": ".github/workflows/benchmarks.yml", "contents": "name: ⚡️ Benchmarks\n\non:\n  workflow_dispatch:\n    inputs:\n      repeats:\n        description: \"The number of times to execute each benchmark\"\n        type: int\n        default: 1\n  push:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"long_lived/**\"\n      - main\n      - \"release/**\"\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"**\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  setup:\n    name: Setup\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    outputs:\n      repeats: ${{ steps.repeats.outputs.repeats }}\n      timeout: ${{ steps.timeout.outputs.timeout }}\n\n    steps:\n      - name: Calculate repeats\n        id: repeats\n        run: |\n          echo \"repeats=${{ inputs.repeats != '' && inputs.repeats || 1 }}\" >> \"$GITHUB_OUTPUT\"\n      - name: Calculate timeout\n        id: timeout\n        run: |\n          echo \"timeout=$(( ${{ steps.repeats.outputs.repeats }} * 20 ))\" >> \"$GITHUB_OUTPUT\"\n\n  build:\n    name: Benchmarks\n    runs-on: benchmark\n    needs:\n      - setup\n    container:\n      image: chianetwork/ubuntu-22.04-builder:latest\n    timeout-minutes: ${{ fromJSON(needs.setup.outputs.timeout) }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n    env:\n      CHIA_ROOT: ${{ github.workspace }}/.chia/mainnet\n      BLOCKS_AND_PLOTS_VERSION: 0.38.0\n\n    steps:\n      - name: Clean workspace\n        uses: Chia-Network/actions/clean-workspace@main\n\n      - name: Add safe git directory\n        uses: Chia-Network/actions/git-mark-workspace-safe@main\n\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: chia-network/actions/cache-pip@main\n\n      - name: Checkout test blocks and plots\n        uses: actions/checkout@v4\n        with:\n          repository: \"Chia-Network/test-cache\"\n          path: \".chia\"\n          ref: ${{ env.BLOCKS_AND_PLOTS_VERSION }}\n          fetch-depth: 1\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python-version }}\n          development: true\n          legacy_keyring: true\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - name: pytest\n        run: |\n          pytest -n 0 --capture no -m benchmark -o 'junit_suite_name=benchmarks' --junitxml=junit-data/benchmarks.raw.xml --benchmark-repeats ${{ needs.setup.outputs.repeats }} chia/_tests/\n\n      - name: Format JUnit data and prepare results\n        if: always()\n        run: |\n          yq junit-data/benchmarks.raw.xml > junit-data/benchmarks.xml\n\n      - name: Publish JUnit results\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: junit-data\n          path: junit-data/*\n          if-no-files-found: error\n\n      - name: Add benchmark results to workflow summary\n        if: always()\n        run: |\n          python -m chia._tests.process_junit --type benchmark --xml junit-data/benchmarks.xml --markdown --link-prefix ${{ github.event.repository.html_url }}/blob/${{ github.sha }}/ --link-line-separator \\#L >> \"$GITHUB_STEP_SUMMARY\"\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:17.778909", "created_at": "2022-04-20T23:50:07+02:00", "updated_at": "2024-06-07T18:45:53+02:00", "name": "🚨 Check Dependency Artifacts", "path": ".github/workflows/check_wheel_availability.yaml", "contents": "name: 🚨 Check Dependency Artifacts\n\non:\n  push:\n    branches:\n      - \"long_lived/**\"\n      - main\n      - \"release/**\"\n  release:\n    types: [published]\n  pull_request:\n    branches:\n      - \"**\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  check_dependency_artifacts:\n    name: ${{ matrix.os.name }} ${{ matrix.arch.name }} ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: Linux\n            matrix: linux\n            runs-on:\n              intel: ubuntu-latest\n              arm: [linux, arm64]\n          - name: macOS\n            matrix: macos\n            runs-on:\n              intel: macos-11\n              arm: [macos, arm64]\n          - name: Windows\n            matrix: windows\n            runs-on:\n              intel: windows-latest\n        arch:\n          - name: ARM64\n            matrix: arm\n          - name: Intel\n            matrix: intel\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          - os:\n              matrix: macos\n            arch:\n              matrix: arm\n            python-version: \"3.8\"\n          - os:\n              matrix: windows\n            arch:\n              matrix: arm\n\n    steps:\n      - uses: Chia-Network/actions/clean-workspace@main\n\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - uses: Chia-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python-version }}\n          force-pyenv: ${{ matrix.os.matrix == 'macos' && matrix.arch.matrix == 'intel' }}\n\n      - name: Check Wheel Availability\n        run: python build_scripts/check_dependency_artifacts.py\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:19.465217", "created_at": "2022-04-30T00:48:20+02:00", "updated_at": "2023-06-22T23:39:41+02:00", "name": "🩹 Conflict Check", "path": ".github/workflows/conflict-check.yml", "contents": "name: 🩹 Conflict Check\non:\n  # So that PRs touching the same files as the push are updated\n  push:\n  # So that the `dirtyLabel` is removed if conflicts are resolve\n  # We recommend `pull_request_target` so that github secrets are available.\n  # In `pull_request` we wouldn't be able to change labels of fork PRs\n  pull_request_target:\n    types: [opened, synchronize, reopened]\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    steps:\n      - name: check if prs are behind main\n        uses: Chia-Network/actions/label-conflict@main\n        with:\n          labelToAddOnConflict: \"merge_conflict\"\n          secretToken: \"${{ secrets.GITHUB_TOKEN }}\"\n          # targeting 2 minutes of retry, longest observed window thus far is ~30 seconds\n          retryIntervalSec: 5\n          retryMax: 24\n          commentToAddOnConflict: \"This pull request has conflicts, please resolve those before we can evaluate the pull request.\"\n          commentToAddOnClean: \"Conflicts have been resolved. A maintainer will review the pull request shortly.\"\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:20.575049", "created_at": "2022-06-03T23:56:57+02:00", "updated_at": "2022-09-12T23:52:53+02:00", "name": "test", "path": ".github/workflows/test-single.yml", "contents": "name: test\n\n# This reusable workflow structure was chosen for the sole purpose of working around\n# the 256 job per matrix limit.  The initial total test job count was 290.  This\n# approach shifts the 256 limit to be per OS rather than overall.  A simpler single\n# regular workflow with matrixing against the OS would be preferred.\n\non:\n  workflow_call:\n    inputs:\n      emoji:\n        required: true\n        type: string\n      matrix:\n        required: true\n        type: string\n      name:\n        required: true\n        type: string\n      file_name:\n        required: true\n        type: string\n      concurrency_name:\n        required: true\n        type: string\n      configuration:\n        required: true\n        type: string\n      matrix_mode:\n        required: true\n        type: string\n      runs-on:\n        required: true\n        type: string\n      arch:\n        required: true\n        type: string\n      collect-junit:\n        required: false\n        type: boolean\n        default: true\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ inputs.concurrency_name }}-${{ github.event_name == 'workflow_dispatch' && github.run_id || '' }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  test:\n    name: ${{ matrix.os.emoji }} ${{ matrix.configuration.name }} - ${{ matrix.python.name }}\n    runs-on: ${{ matrix.os.runs-on }}\n    timeout-minutes: ${{ matrix.configuration.job_timeout }}\n    strategy:\n      fail-fast: false\n      matrix:\n        configuration: ${{ fromJson(inputs.configuration) }}\n        os:\n          - emoji: ${{ inputs.emoji }}\n            matrix: ${{ inputs.matrix }}\n            name: ${{ inputs.name }}\n            file_name: ${{ inputs.file_name }}\n            runs-on: ${{ inputs.runs-on }}\n        arch:\n          - matrix: ${{ inputs.arch }}\n        python:\n          - name: \"3.8\"\n            file_name: \"3.8\"\n            action: \"3.8\"\n            apt: \"3.8\"\n            install_sh: \"3.8\"\n            matrix: \"3.8\"\n            exclude_from:\n              limited: True\n              main: True\n          - name: \"3.9\"\n            file_name: \"3.9\"\n            action: \"3.9\"\n            apt: \"3.9\"\n            install_sh: \"3.9\"\n            matrix: \"3.9\"\n            exclude_from:\n              limited: True\n              main: True\n          - name: \"3.10\"\n            file_name: \"3.10\"\n            action: \"3.10\"\n            apt: \"3.10\"\n            install_sh: \"3.10\"\n            matrix: \"3.10\"\n          - name: \"3.11\"\n            file_name: \"3.11\"\n            action: \"3.11\"\n            apt: \"3.11\"\n            install_sh: \"3.11\"\n            matrix: \"3.11\"\n            exclude_from:\n              limited: True\n              main: True\n          - name: \"3.12\"\n            file_name: \"3.12\"\n            action: \"3.12\"\n            apt: \"3.12\"\n            install_sh: \"3.12\"\n            matrix: \"3.12\"\n            exclude_from:\n              limited: True\n              main: True\n        exclude:\n          - os:\n              matrix: macos\n            python:\n              matrix: \"3.8\"\n          - arch:\n              matrix: arm\n            configuration:\n              install_timelord: true\n          - os:\n              matrix: windows\n            configuration:\n              install_timelord: true\n          - os:\n              matrix: windows\n            configuration:\n              name: core.full_node\n          - python:\n              exclude_from:\n                ${{ inputs.matrix_mode }}: True\n\n    env:\n      CHIA_ROOT: ${{ github.workspace }}/.chia/mainnet\n      CHIA_SIMULATOR_ROOT: ${{ github.workspace }}/.chia/simulator\n      JOB_FILE_NAME: tests_${{ matrix.os.file_name }}_python-${{ matrix.python.file_name }}_${{ matrix.configuration.module_import_path }}${{ matrix.configuration.file_name_index }}\n      BLOCKS_AND_PLOTS_VERSION: 0.38.0\n\n    steps:\n      - name: Configure git\n        run: |\n          git config --global core.autocrlf false\n\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set Env\n        uses: Chia-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Setup Python environment\n        uses: Chia-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python.action }}\n\n      - name: Create keychain for CI use (macOS)\n        if: matrix.os.matrix == 'macos'\n        run: |\n          security create-keychain -p foo chiachain\n          security default-keychain -s chiachain\n          security unlock-keychain -p foo chiachain\n          security set-keychain-settings -t 7200 -u chiachain\n\n      - name: Cache npm (Ubuntu)\n        if: matrix.os.matrix == 'ubuntu'\n        uses: actions/cache@v4\n        env:\n          SEGMENT_DOWNLOAD_TIMEOUT_MIN: 1\n        with:\n          path: ~/.npm\n          key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n          restore-keys: |\n            ${{ runner.os }}-node-\n\n      - uses: chia-network/actions/cache-pip@main\n\n      - name: Cache test blocks and plots\n        if: matrix.configuration.checkout_blocks_and_plots\n        uses: actions/cache@v4\n        env:\n          SEGMENT_DOWNLOAD_TIMEOUT_MIN: 1\n        id: test-blocks-plots\n        with:\n          path: |\n            ${{ github.workspace }}/.chia/blocks\n            ${{ github.workspace }}/.chia/test-plots\n          key: ${{ env.BLOCKS_AND_PLOTS_VERSION }}\n\n      - name: Checkout test blocks and plots\n        if: matrix.configuration.checkout_blocks_and_plots && steps.test-blocks-plots.outputs.cache-hit != 'true'\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release download -R Chia-Network/test-cache ${{ env.BLOCKS_AND_PLOTS_VERSION }} --archive=tar.gz -O - | tar xzf -\n          mkdir \"${GITHUB_WORKSPACE}/.chia\"\n          mv \"${GITHUB_WORKSPACE}/test-cache-${{ env.BLOCKS_AND_PLOTS_VERSION }}/\"* \"${GITHUB_WORKSPACE}/.chia\"\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python.install_sh }}\n          development: true\n          editable: false\n          legacy_keyring: ${{ matrix.configuration.legacy_keyring_required }}\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - name: Install timelord\n        if: matrix.configuration.install_timelord\n        run: |\n          sh install-timelord.sh -n\n          ./vdf_bench square_asm 400000\n\n      - name: Verify source and installed tests collect and match\n        run: |\n          echo '==== collecting source tests ===='\n          if pytest --collect-only -qq --import-mode=prepend chia/_tests/ > source_tests_raw\n          then\n            cat source_tests_raw | sed -n 's;^\\(chia/_tests/.*\\);\\1;p' | sort > source_tests\n          else\n            echo '    ==== source test collection failure'\n            cat source_tests_raw\n            exit 1\n          fi\n\n          echo '==== collecting installed tests ===='\n          if pytest --collect-only -qq --import-mode=append --pyargs chia._tests > installed_tests_raw\n          then\n            cat installed_tests_raw | sed -n 's;^venv/.*/\\(chia/_tests/.*\\);\\1;p' | sort > installed_tests\n          else\n            echo '    ==== installed test collection failure'\n            cat installed_tests_raw\n            exit 1\n          fi\n\n          echo '==== collected tests ===='\n          for mode in source installed\n          do\n            echo \"::group::collected ${mode} tests\"\n            cat ${mode}_tests\n            echo '::endgroup::'\n          done\n\n          echo '==== diffing collected tests ===='\n          echo \"::group::collected tests diff\"\n          diff --unified source_tests installed_tests; DIFF_EXIT_CODE=$?\n          echo '::endgroup::'\n\n      - name: Move chia/ so we test the installed code\n        run: |\n          mv chia/ notchia/\n\n      - name: Test blockchain code with pytest\n        env:\n          ENABLE_PYTEST_MONITOR: ${{ matrix.os.matrix == 'ubuntu' && matrix.configuration.enable_pytest_monitor || '' }}\n        run: |\n          pytest --cov=chia --cov-config=.coveragerc --cov-report= -o 'junit_suite_name=${{ env.JOB_FILE_NAME }}' --junitxml='junit-data/junit.${{ env.JOB_FILE_NAME }}.xml' --durations=10 ${{ matrix.configuration.pytest_parallel_args[matrix.os.matrix] }} -m \"not benchmark\" ${{ env.ENABLE_PYTEST_MONITOR }} ${{ matrix.configuration.test_files }}\n\n      - name: Move back to chia/ for coverage\n        run: |\n          mv notchia/ chia/\n\n      - name: Publish JUnit results\n        if: inputs.collect-junit\n        uses: actions/upload-artifact@v4\n        with:\n          name: junit-data-${{ env.JOB_FILE_NAME }}\n          path: junit-data/*\n          if-no-files-found: error\n\n      - name: Process coverage data\n        run: |\n          coverage xml --rcfile=.coveragerc -o coverage.xml\n          mkdir coverage-data\n          cp .coverage \"coverage-data/.coverage.${{ env.JOB_FILE_NAME }}\"\n          cp coverage.xml \"coverage-data/coverage.${{ env.JOB_FILE_NAME }}.xml\"\n          coverage report --rcfile=.coveragerc --show-missing\n\n      - name: Publish coverage data\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-data-${{ env.JOB_FILE_NAME }}\n          path: coverage-data/*\n          if-no-files-found: error\n\n      - name: Check resource usage\n        if: matrix.os.matrix == 'ubuntu' && matrix.configuration.check_resource_usage\n        run: |\n          sqlite3 -readonly -separator \" \" .pymon \"select item,cpu_usage,total_time,mem_usage from TEST_METRICS order by mem_usage desc;\" >metrics.out\n          ./chia/_tests/check_pytest_monitor_output.py <metrics.out\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:22.612852", "created_at": "2022-08-10T17:47:12+02:00", "updated_at": "2024-06-15T04:48:10+02:00", "name": "📦🚀 Build Installers - MacOS", "path": ".github/workflows/build-macos-installers.yml", "contents": "name: 📦🚀 Build Installers - MacOS\n\non:\n  workflow_dispatch:\n    inputs:\n      release_type:\n        description: \"Tagged release testing scenario\"\n        required: false\n        type: choice\n        default: \"\"\n        options:\n          - \"\"\n          - 9.9.9-b1\n          - 9.9.9-rc1\n          - 9.9.9\n  push:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"long_lived/**\"\n      - main\n      - \"release/**\"\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n    branches:\n      - \"**\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  version:\n    uses: ./.github/workflows/reflow-version.yml\n\n  build:\n    name: Build ${{ matrix.os.name }} DMG\n    runs-on: ${{ matrix.os.runs-on }}\n    needs:\n      - version\n    timeout-minutes: 90\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        os:\n          - runs-on: macos-11\n            name: intel\n            bladebit-suffix: macos-x86-64.tar.gz\n          - runs-on: [MacOS, ARM64]\n            name: m1\n            bladebit-suffix: macos-arm64.tar.gz\n\n    env:\n      CHIA_INSTALLER_VERSION: ${{ needs.version.outputs.chia-installer-version }}\n      SETUPTOOLS_SCM_PRETEND_VERSION_FOR_CHIA_BLOCKCHAIN: ${{ needs.version.outputs.chia-installer-version }}\n      TAG_TYPE: ${{ needs.version.outputs.tag-type }}\n\n    steps:\n      - uses: Chia-Network/actions/clean-workspace@main\n\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - uses: Chia-Network/actions/git-ssh-to-https@main\n\n      - name: Cleanup any leftovers that exist from previous runs\n        run: bash build_scripts/clean-runner.sh || true\n\n      - name: Set Env\n        uses: Chia-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          MACOSX_DEPLOYMENT_TARGET: 11\n\n      - name: Test for secrets access\n        id: check_secrets\n        shell: bash\n        run: |\n          unset HAS_APPLE_SECRET\n\n          if [ -n \"$APPLE_SECRET\" ]; then HAS_APPLE_SECRET='true' ; fi\n          echo HAS_APPLE_SECRET=${HAS_APPLE_SECRET} >> \"$GITHUB_OUTPUT\"\n        env:\n          APPLE_SECRET: \"${{ secrets.APPLE_DEV_ID_APP }}\"\n\n      - name: Setup Python environment\n        uses: Chia-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # This will be recreated in the next step\n      # Done now and at the end of the workflow in case the last workflow fails, and this is still around\n      - name: Delete keychain if it already exists\n        run: security delete-keychain signing_temp.keychain || true\n\n      - name: Import Apple app signing certificate\n        if: steps.check_secrets.outputs.HAS_APPLE_SECRET\n        uses: Apple-Actions/import-codesign-certs@v3\n        with:\n          p12-file-base64: ${{ secrets.APPLE_DEV_ID_APP }}\n          p12-password: ${{ secrets.APPLE_DEV_ID_APP_PASS }}\n\n      - name: Get latest madmax plotter\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          LATEST_MADMAX=$(gh api repos/Chia-Network/chia-plotter-madmax/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n          mkdir \"$GITHUB_WORKSPACE\"/madmax\n          gh release download -R Chia-Network/chia-plotter-madmax \"$LATEST_MADMAX\" -p 'chia_plot-'$LATEST_MADMAX'-macos-${{ matrix.os.name }}'\n          mv chia_plot-$LATEST_MADMAX-macos-${{ matrix.os.name }} \"$GITHUB_WORKSPACE\"/madmax/chia_plot\n          gh release download -R Chia-Network/chia-plotter-madmax \"$LATEST_MADMAX\" -p 'chia_plot_k34-'$LATEST_MADMAX'-macos-${{ matrix.os.name }}'\n          mv chia_plot_k34-$LATEST_MADMAX-macos-${{ matrix.os.name }} \"$GITHUB_WORKSPACE\"/madmax/chia_plot_k34\n          chmod +x \"$GITHUB_WORKSPACE\"/madmax/chia_plot\n          chmod +x \"$GITHUB_WORKSPACE\"/madmax/chia_plot_k34\n\n      - name: Fetch bladebit versions\n        shell: bash\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Fetch the latest version of each type\n          LATEST_RELEASE=$(gh api repos/Chia-Network/bladebit/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n          LATEST_BETA=$(gh api repos/Chia-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-beta[0-9]+$\"))) | first | .tag_name')\n          LATEST_RC=$(gh api repos/Chia-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-rc[0-9]+$\"))) | first | .tag_name')\n\n          # Compare the versions and choose the newest that matches the requirements\n          if [[ \"$TAG_TYPE\" == \"beta\" || -z \"$TAG_TYPE\" ]]; then\n            # For beta or dev builds (indicated by the absence of a tag), use the latest version available\n            LATEST_VERSION=$(printf \"%s\\n%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_BETA\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n          elif [[ \"$TAG_TYPE\" == \"rc\" ]]; then\n            # For RC builds, use the latest RC or full release if it's newer\n            LATEST_VERSION=$(printf \"%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n          else\n            # For full releases, use the latest full release\n            LATEST_VERSION=\"$LATEST_RELEASE\"\n          fi\n          echo \"LATEST_VERSION=$LATEST_VERSION\" >> \"$GITHUB_ENV\"\n\n      - name: Get latest bladebit plotter\n        shell: bash\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Download and extract the chosen version\n          mkdir \"$GITHUB_WORKSPACE\"/bladebit\n          cd \"$GITHUB_WORKSPACE\"/bladebit\n          ASSETS=$(gh release view \"$LATEST_VERSION\" --repo Chia-Network/bladebit --json assets -q '.assets[].name')\n              if ! echo \"$ASSETS\" | grep -q 'bladebit.*-${{ matrix.os.bladebit-suffix }}'; then\n                LATEST_VERSION=v2.0.1\n              fi\n          gh release download -R Chia-Network/bladebit \"$LATEST_VERSION\" -p 'bladebit*-${{ matrix.os.bladebit-suffix }}'\n          ls *.tar.gz | xargs -I{} bash -c 'tar -xzf {} && rm {}'\n          ls bladebit* | xargs -I{} chmod +x {}\n          cd \"$OLDPWD\"\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python-version }}\n          development: true\n          constraints-file-artifact-name: constraints-file-${{ matrix.os.name }}\n\n      - uses: chia-network/actions/activate-venv@main\n\n      - name: Setup Node 18.x\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"18.x\"\n\n      - name: Prepare GUI cache\n        id: gui-ref\n        run: |\n          gui_ref=$(git submodule status chia-blockchain-gui | sed -e 's/^ //g' -e 's/ chia-blockchain-gui.*$//g')\n          echo \"${gui_ref}\"\n          echo \"GUI_REF=${gui_ref}\" >> \"$GITHUB_OUTPUT\"\n          echo \"rm -rf ./chia-blockchain-gui\"\n          rm -rf ./chia-blockchain-gui\n\n      - name: Cache GUI\n        uses: actions/cache@v4\n        id: cache-gui\n        with:\n          path: ./chia-blockchain-gui\n          key: ${{ runner.os }}-${{ matrix.os.name }}-chia-blockchain-gui-${{ steps.gui-ref.outputs.GUI_REF }}\n\n      - if: steps.cache-gui.outputs.cache-hit != 'true'\n        name: Build GUI\n        continue-on-error: false\n        run: |\n          cd ./build_scripts\n          sh build_macos-1-gui.sh\n\n      - name: Build MacOS DMG\n        env:\n          NOTARIZE: ${{ steps.check_secrets.outputs.HAS_APPLE_SECRET }}\n          APPLE_NOTARIZE_USERNAME: \"${{ secrets.APPLE_NOTARIZE_USERNAME }}\"\n          APPLE_NOTARIZE_PASSWORD: \"${{ secrets.APPLE_NOTARIZE_PASSWORD }}\"\n          APPLE_TEAM_ID: \"${{ secrets.APPLE_TEAM_ID }}\"\n          APPLE_DEV_ID_APP: \"${{ secrets.APPLE_DEV_ID_APP }}\"\n          APPLE_DEV_ID_APP_PASS: \"${{ secrets.APPLE_DEV_ID_APP_PASS }}\"\n        run: |\n          cd ./build_scripts\n          sh build_macos-2-installer.sh\n\n      - name: Upload MacOS artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: chia-installers-macos-dmg-${{ matrix.os.name }}\n          path: ${{ github.workspace }}/build_scripts/final_installer/\n\n      - name: Remove working files to exclude from cache\n        run: |\n          rm -rf ./chia-blockchain-gui/packages/gui/daemon\n\n      # We want to delete this no matter what happened in the previous steps (failures, success, etc)\n      - name: Delete signing keychain\n        if: always()\n        run: security delete-keychain signing_temp.keychain || true\n\n  publish:\n    name: Publish ${{ matrix.os.name }} DMG\n    runs-on: ubuntu-latest\n    needs:\n      - version\n      - build\n    timeout-minutes: 5\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        os:\n          - name: intel\n            file-suffix: \"\"\n            glue-name: \"build-macos\"\n          - name: m1\n            file-suffix: \"-arm64\"\n            glue-name: \"build-mac-m1\"\n\n    env:\n      CHIA_INSTALLER_VERSION: ${{ needs.version.outputs.chia-installer-version }}\n\n    steps:\n      - uses: Chia-Network/actions/clean-workspace@main\n\n      - name: Setup Python environment\n        uses: Chia-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: chia-network/actions/create-venv@main\n        id: create-venv\n\n      - uses: chia-network/actions/activate-venv@main\n        with:\n          directories: ${{ steps.create-venv.outputs.activate-venv-directories }}\n\n      - name: Download constraints file\n        uses: actions/download-artifact@v4\n        with:\n          name: constraints-file-${{ matrix.os.name }}\n          path: venv\n\n      - name: Install utilities\n        run: |\n          pip install --constraint venv/constraints.txt py3createtorrent\n\n      - name: Download packages\n        uses: actions/download-artifact@v4\n        with:\n          name: chia-installers-macos-dmg-${{ matrix.os.name }}\n          path: build_scripts/final_installer/\n\n      - name: Set Env\n        uses: Chia-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Test for secrets access\n        id: check_secrets\n        shell: bash\n        run: |\n          unset HAS_AWS_SECRET\n          unset HAS_GLUE_SECRET\n\n          if [ -n \"$AWS_SECRET\" ]; then HAS_AWS_SECRET='true' ; fi\n          echo HAS_AWS_SECRET=${HAS_AWS_SECRET} >> \"$GITHUB_OUTPUT\"\n\n          if [ -n \"$GLUE_API_URL\" ]; then HAS_GLUE_SECRET='true' ; fi\n          echo HAS_GLUE_SECRET=${HAS_GLUE_SECRET} >> \"$GITHUB_OUTPUT\"\n        env:\n          AWS_SECRET: \"${{ secrets.CHIA_AWS_ACCOUNT_ID }}\"\n          GLUE_API_URL: \"${{ secrets.GLUE_API_URL }}\"\n\n      - name: Create Checksums\n        run: |\n          ls\n          sha256sum ${{ github.workspace }}/build_scripts/final_installer/chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg > ${{ github.workspace }}/build_scripts/final_installer/chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.sha256\n\n      - name: Configure AWS credentials\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: arn:aws:iam::${{ secrets.CHIA_AWS_ACCOUNT_ID }}:role/installer-upload\n          aws-region: us-west-2\n\n      - name: Upload to s3\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET\n        run: |\n          GIT_SHORT_HASH=$(echo \"${GITHUB_SHA}\" | cut -c1-8)\n          CHIA_DEV_BUILD=${CHIA_INSTALLER_VERSION}-$GIT_SHORT_HASH\n          echo \"CHIA_DEV_BUILD=$CHIA_DEV_BUILD\" >> \"$GITHUB_ENV\"\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg s3://download.chia.net/dev/Chia-${CHIA_DEV_BUILD}${{ matrix.os.file-suffix }}.dmg\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.sha256 s3://download.chia.net/latest-dev/Chia-${CHIA_DEV_BUILD}${{ matrix.os.file-suffix }}.dmg.sha256\n\n      - name: Create torrent\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        if: env.FULL_RELEASE == 'true'\n        run: |\n          py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce ${{ github.workspace }}/build_scripts/final_installer/chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg -o ${{ github.workspace }}/build_scripts/final_installer/Chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.torrent --webseed https://download.chia.net/install/Chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg\n          ls ${{ github.workspace }}/build_scripts/final_installer/\n          gh release upload --repo ${{ github.repository }} $RELEASE_TAG ${{ github.workspace }}/build_scripts/final_installer/chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.torrent\n\n      - name: Upload Dev Installer\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET && github.ref == 'refs/heads/main'\n        run: |\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg s3://download.chia.net/latest-dev/Chia${{ matrix.os.file-suffix }}_latest_dev.dmg\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.sha256 s3://download.chia.net/latest-dev/Chia${{ matrix.os.file-suffix }}_latest_dev.dmg.sha256\n\n      - name: Upload Release Files\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET && env.FULL_RELEASE == 'true'\n        run: |\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg s3://download.chia.net/install/\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.sha256 s3://download.chia.net/install/\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/chia-${{ env.CHIA_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.torrent s3://download.chia.net/torrents/\n\n      - name: Upload release artifacts\n        if: env.RELEASE == 'true'\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release upload \\\n            --repo ${{ github.repository }} \\\n            $RELEASE_TAG \\\n            build_scripts/final_installer/*.dmg\n\n      - uses: Chia-Network/actions/github/jwt@main\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET\n\n      - name: Mark pre-release installer complete\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.PRE_RELEASE == 'true'\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"chia_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}-prerelease/${{ env.RELEASE_TAG }}/success/${{ matrix.os.glue-name }}\n\n      - name: Mark release installer complete\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.FULL_RELEASE == 'true'\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"chia_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}/${{ env.RELEASE_TAG }}/success/${{ matrix.os.glue-name }}\n\n  test:\n    name: Test ${{ matrix.os.name }} ${{ matrix.arch.name }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    needs:\n      - version\n      - build\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: 11\n            matrix: 11\n            runs-on:\n              intel: macos-11\n              arm: [macos, arm64]\n          - name: 12\n            matrix: 12\n            runs-on:\n              intel: macos-12\n          - name: 13\n            matrix: 13\n            runs-on:\n              intel: macos-13\n          - name: 14\n            matrix: 14\n            runs-on:\n              arm: macos-14\n        arch:\n          - name: ARM64\n            matrix: arm\n            artifact-name: m1\n          - name: Intel\n            matrix: intel\n            artifact-name: intel\n        exclude:\n          - os:\n              matrix: 12\n            arch:\n              matrix: arm\n          - os:\n              matrix: 13\n            arch:\n              matrix: arm\n          - os:\n              matrix: 14\n            arch:\n              matrix: intel\n\n    steps:\n      - uses: Chia-Network/actions/clean-workspace@main\n\n      - name: Download packages\n        uses: actions/download-artifact@v4\n        id: download\n        with:\n          name: chia-installers-macos-dmg-${{ matrix.arch.artifact-name }}\n          path: packages\n\n      - name: Mount .dmg\n        env:\n          PACKAGE_PATH: ${{ github.workspace }}/build_scripts/final_installer/\n        run: |\n          ls -l \"${{ steps.download.outputs.download-path }}\"\n          hdiutil attach \"${{ steps.download.outputs.download-path }}\"/chia-*.dmg\n\n      - name: List .dmg contents\n        run: |\n          find \"/Volumes/Chia \"*\n\n      - name: Test for homebrew rpath\n        if: matrix.arch.name == 'ARM64'\n        run: |\n          ! otool -l \"/Volumes/Chia \"*/Chia.app/Contents/Resources/app.asar.unpacked/daemon/_internal/lib-dynload/_ssl.*darwin.so | grep /opt/homebrew/lib\n\n      - name: Run chia dev installers test\n        run: |\n          \"/Volumes/Chia \"*\"/Chia.app/Contents/Resources/app.asar.unpacked/daemon/chia\" dev installers test --expected-chia-version \"${{ needs.version.outputs.chia-installer-version }}\"\n\n      - name: Detach .dmg\n        if: always()\n        run: |\n          hdiutil detach -force \"/Volumes/Chia \"*\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:24.516555", "created_at": "2022-08-24T21:20:27+02:00", "updated_at": "2023-06-22T23:39:41+02:00", "name": "🚨 Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Managed by repo-content-updater\n# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: \"🚨 Dependency Review\"\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Checkout Repository\"\n        uses: actions/checkout@v4\n\n      - name: \"Dependency Review\"\n        uses: actions/dependency-review-action@v4\n        with:\n          deny-licenses: AGPL-1.0-only, AGPL-1.0-or-later, AGPL-1.0-or-later, AGPL-3.0-or-later, GPL-1.0-only, GPL-1.0-or-later, GPL-2.0-only, GPL-2.0-or-later, GPL-3.0-only, GPL-3.0-or-later\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:25.564537", "created_at": "2022-11-03T06:41:06+01:00", "updated_at": "2023-06-22T23:39:41+02:00", "name": "🚨 Check PR Labels", "path": ".github/workflows/require-labels.yml", "contents": "name: 🚨 Check PR Labels\non:\n  pull_request:\n    types: [opened, labeled, unlabeled, synchronize]\njobs:\n  check-labels:\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: read\n      statuses: write\n    outputs:\n      status: ${{ steps.check-labels.outputs.status }}\n    steps:\n      - id: check-labels\n        uses: mheap/github-action-required-labels@v5\n        with:\n          mode: exactly\n          count: 1\n          labels: \"Added, Changed, Fixed\"\n          exit_type: success\n      - run: echo SUCCESS\n        if: steps.check-labels.outputs.status == 'success'\n      - run: echo FAILURE && exit 1\n        if: steps.check-labels.outputs.status == 'failure'\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:26.617603", "created_at": "2022-11-18T03:19:02+01:00", "updated_at": "2023-10-06T00:18:52+02:00", "name": "Start Sync Test", "path": ".github/workflows/start-sync-test.yml", "contents": "# Starts a sync test for every new release (pre-releases included)\nname: Start Sync Test\n\non:\n  release:\n    types: [published]\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  start_release:\n    name: Starts Sync Test\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set Env\n        uses: Chia-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - uses: Chia-Network/actions/github/jwt@main\n\n      - name: Trigger Workflow\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"test_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/sync-test/$RELEASE_TAG/start\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"test_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/sync-test/$RELEASE_TAG/success/deploy\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:27.664382", "created_at": "2022-12-01T19:52:49+01:00", "updated_at": "2023-06-22T23:39:41+02:00", "name": "🚨 Check commit signing", "path": ".github/workflows/check-commit-signing.yml", "contents": "name: 🚨 Check commit signing\n\non:\n  push:\n    branches:\n      - long_lived/**\n      - main\n      - release/**\n  pull_request:\n    branches:\n      - \"**\"\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  check-commit-signing:\n    name: Check commit signing\n    runs-on: [ubuntu-latest]\n    timeout-minutes: 5\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: chia-network/actions/check-commit-signing@main\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:28.799708", "created_at": "2023-05-22T15:17:48+02:00", "updated_at": "2023-05-22T15:22:24+02:00", "name": "🚨 generated tests", "path": ".github/workflows/generated-files.yml", "contents": null, "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:30.052798", "created_at": "2023-08-30T20:38:18+02:00", "updated_at": "2023-08-30T20:38:18+02:00", "name": "🎭🧪 Playwright Tests - Linux DEB AMD64", "path": ".github/workflows/playwright-tests-linux-amd64.yml", "contents": null, "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:31.201961", "created_at": "2024-06-09T01:26:18+02:00", "updated_at": "2024-06-09T01:26:18+02:00", "name": "identify version", "path": ".github/workflows/reflow-version.yml", "contents": "name: identify version\n\non:\n  workflow_call:\n    outputs:\n      chia-installer-version:\n        value: ${{ jobs.version.outputs.chia-installer-version }}\n      tag-type:\n        value: ${{ jobs.version.outputs.tag-type }}\n\njobs:\n  version:\n    name: identify version\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    outputs:\n      chia-installer-version: ${{ steps.version-number.outputs.chia-installer-version }}\n      tag-type: ${{ steps.tag-type.outputs.tag-type }}\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: Chia-Network/actions/git-ssh-to-https@main\n\n      - name: Check tag type\n        id: tag-type\n        shell: bash\n        run: |\n          REG_B=\"^[0-9]+\\.[0-9]+\\.[0-9]+-b[0-9]+$\"\n          REG_RC=\"^[0-9]+\\.[0-9]+\\.[0-9]+-rc[0-9]+$\"\n          if [[ \"${{ github.event.release.tag_name }}\" =~ $REG_B ]] || [[ \"${{ inputs.release_type }}\" =~ $REG_B ]]; then\n            TAG_TYPE=beta\n          elif [[ \"${{ github.event.release.tag_name }}\" =~ $REG_RC ]] || [[ \"${{ inputs.release_type }}\" =~ $REG_RC ]]; then\n            TAG_TYPE=rc\n          fi\n          echo \"tag-type=${TAG_TYPE}\" | tee -a \"$$GITHUB_OUTPUT\"\n\n      - name: Create installer version number\n        id: version-number\n        run: |\n          python3 -m venv ../venv\n          . ../venv/bin/activate\n          pip install setuptools_scm\n          echo \"chia-installer-version=$(python3 ./build_scripts/installer-version.py)\" >> \"$GITHUB_OUTPUT\"\n          deactivate\n", "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:32.381230", "created_at": "2024-06-18T21:19:27+02:00", "updated_at": "2024-06-18T21:19:27+02:00", "name": "🕵️‍♀️ fmt-diagnostics", "path": ".github/workflows/fmt-diagnostics.yml", "contents": null, "state": "active", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:33.567604", "created_at": "2022-08-29T20:07:12+02:00", "updated_at": "2023-10-04T03:23:03+02:00", "name": "🚨 Snyk Python Scan", "path": ".github/workflows/snyk-python-scan.yml", "contents": null, "state": "disabled_manually", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:35.005341", "created_at": "2023-06-01T21:18:44+02:00", "updated_at": "2023-09-18T17:49:01+02:00", "name": "🚨 Snyk Code Scan", "path": ".github/workflows/snyk-code-scan.yml", "contents": null, "state": "disabled_manually", "repository": "chia-network/chia-blockchain"}
{"mined_at": "2024-07-15T15:43:38.150282", "created_at": "2023-04-14T12:14:44+02:00", "updated_at": "2023-05-10T23:42:35+02:00", "name": "API changes check", "path": ".github/workflows/api_changes_check.yml", "contents": "name: API changes check\npermissions: read-all\n\non:\n  pull_request_target:\n    branches:\n      - develop\n\nenv:\n  API_DOC_HTML_ROOT_RELATIVE_PATH: autoapi\n\nconcurrency:\n  group: ci-${{ github.head_ref }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  call-build-api-doc:\n    uses: ./.github/workflows/build_html_doc.yml\n    with:\n      ref: \"refs/pull/${{ github.event.number }}/merge\"\n  compare-api-doc-with-develop:\n    needs: call-build-api-doc\n    runs-on: ubuntu-20.04\n    permissions:\n      issues: write\n    steps:\n      - name: Download built HTML doc as artifact from previous step\n        uses: alehechka/download-tartifact@1195216b256562056097b175df17b167557f8681 # v2\n        with:\n          name: html_doc_artifact\n      - name: Checkout latest doc_pages branch tip\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          ref: doc_pages\n          path: previous_doc_state\n      - name: Get changed file names in API doc path\n        id: diff\n        run: |\n          cd html_build/html/$API_DOC_HTML_ROOT_RELATIVE_PATH\n          CHANGED_FILES=$(find . -name \"*.html\" -exec diff -qrBZ {} $GITHUB_WORKSPACE/previous_doc_state/$API_DOC_HTML_ROOT_RELATIVE_PATH/{} \\;)\n          echo ${CHANGED_FILES}\n          CHANGED_FILES=$(echo $CHANGED_FILES | tr '\\n' ' ')\n          echo \"changed_files=${CHANGED_FILES}\" >> $GITHUB_OUTPUT\n      - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        if: ${{ !(contains(steps.diff.outputs.changed_files, 'differ'))  && contains(github.event.pull_request.labels.*.name, 'API') }}\n        with:\n          github-token: ${{ secrets.ADD_LABELS_WITH_REST_API }}\n          script: |\n            github.rest.issues.removeLabel({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              name: \"API\"\n            })\n      - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        if: ${{ contains(steps.diff.outputs.changed_files, 'differ') }}\n        with:\n          github-token: ${{ secrets.ADD_LABELS_WITH_REST_API }}\n          script: |\n            github.rest.issues.addLabels({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              labels: [\"API\"]\n            })\n      - name: Add release label\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        if: ${{ contains(github.event.pull_request.base.ref, 'release_v') }}\n        with:\n          github-token: ${{ secrets.ADD_LABELS_WITH_REST_API }}\n          script: |\n            github.rest.issues.addLabels({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              labels: [\"release_target\"]\n            })\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:39.438809", "created_at": "2024-03-05T04:45:21+01:00", "updated_at": "2024-03-05T04:45:21+01:00", "name": "Take Issue", "path": ".github/workflows/assign_issue.yml", "contents": "name: Take Issue\npermissions: read-all\n\non:\n  issue_comment:\n    types:\n      - created\n      - edited\n\njobs:\n  take-issue:\n    name: Take issue\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    timeout-minutes: 10\n    steps:\n      - name: take an issue\n        uses: bdougie/take-action@1439165ac45a7461c2d89a59952cd7d941964b87 # v1.6.1\n        with:\n          message: Thank you for looking into this issue! Please let us know if you have any questions or require any help.\n          issueCurrentlyAssignedMessage: Thanks for being interested in this issue. It looks like this ticket is already assigned to a contributor. Please communicate with the assigned contributor to confirm the status of the issue.\n          trigger: .take\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:40.496988", "created_at": "2023-04-12T15:24:25+02:00", "updated_at": "2023-04-27T06:36:42+02:00", "name": "Build complete docs and publish to GH Pages", "path": ".github/workflows/build_and_publish_doc.yml", "contents": "name: Build complete docs and publish to GH Pages\npermissions: read-all\n\non:\n  push:\n    branches:\n      - develop\n\nenv:\n  GH_PAGES_BRANCH: doc_pages\n\nconcurrency:\n  group: ci-${{ github.head_ref }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  call-build-html-doc:\n    uses: ./.github/workflows/build_html_doc.yml\n    with:\n      ref: ${{ github.ref }}\n  call-build-schema-page:\n    uses: ./.github/workflows/build_schema_page.yml\n  publish:\n    needs: [call-build-html-doc, call-build-schema-page]\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout main repo  # the github-pages-deploy-action seems to require this step\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Download HTML doc build artifact\n        uses: alehechka/download-tartifact@1195216b256562056097b175df17b167557f8681 # v2\n        with:\n          name: html_doc_artifact\n      - name: Download schema doc build artifact\n        uses: alehechka/download-tartifact@1195216b256562056097b175df17b167557f8681 # v2\n        with:\n          name: schema_doc_artifact\n          path: html_build/html\n      - name: Publish built docs on Github Pages branch ${{ env.GH_PAGES_BRANCH }}\n        uses: JamesIves/github-pages-deploy-action@5c6e9e9f3672ce8fd37b9856193d2a537941e66c # v4.6.1\n        with:\n          folder: html_build/html\n          token: ${{ secrets.PUSH_TO_GH_PAGES_BRANCH }}\n          branch: ${{ env.GH_PAGES_BRANCH }}\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:41.580645", "created_at": "2023-04-27T06:36:42+02:00", "updated_at": "2023-04-27T06:36:42+02:00", "name": "HTML documentation build", "path": ".github/workflows/build_html_doc.yml", "contents": "name: HTML documentation build\npermissions: read-all\n\non:\n  workflow_call:\n    inputs:\n      ref:\n        required: true\n        type: string\njobs:\n  build-html:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          ref: ${{ inputs.ref }}\n      - name: Install NNCF and doc requirements\n        run: |\n          pip install .\n          pip install -r docs/api/requirements.txt\n      - name: Build API docs\n        run: |\n          sphinx-build -M html docs/api/source html_build\n      - name: Upload built HTMLs as job artifact\n        uses: alehechka/upload-tartifact@a055d3a102b9ed9cfff1263bc713295047d0197e # v2\n        with:\n          name: html_doc_artifact\n          path: html_build/html\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:42.735868", "created_at": "2022-09-23T17:56:20+02:00", "updated_at": "2022-09-23T17:56:20+02:00", "name": "Config schema HTML build", "path": ".github/workflows/build_schema_page.yml", "contents": "name: Config schema HTML build\npermissions: read-all\n\non:\n  workflow_call:\n\njobs:\n  build-config-schema-html:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n\n      - name: Install and Build\n        run: |\n          pip install json-schema-for-humans\n          pip install .\n          python -c 'import jstyleson; from nncf.config import NNCFConfig; jstyleson.dump(NNCFConfig.schema(), open(\"./schema.json\", \"w\"), indent=2)'\n          mkdir -p schema\n          # In the current approach the line below will replace the schema/index.html generated by a\n          # phony schema/index.rst. We only need the phony schema/index.rst at the sphinx-build stage so that\n          # the sphinx can generate valid links in the TOC for the JSON schema across all pages.\n          generate-schema-doc --deprecated-from-description schema.json schema/index.html\n\n      - name: Upload result as artifact\n        uses: alehechka/upload-tartifact@a055d3a102b9ed9cfff1263bc713295047d0197e # v2\n        with:\n          name: schema_doc_artifact\n          path: schema\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:43.918048", "created_at": "2021-07-16T07:48:56+02:00", "updated_at": "2021-08-05T19:25:49+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\npermissions: read-all\n\non: [pull_request_target]\n\njobs:\n  set-label:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4.3.0\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          configuration-path: '.github/action_configs/labeler.yml'\n          sync-labels: true\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:45.012234", "created_at": "2023-11-17T21:39:34+01:00", "updated_at": "2023-11-29T06:27:33+01:00", "name": "Model Hub", "path": ".github/workflows/model_hub.yml", "contents": "name: Model Hub\npermissions: read-all\n\non:\n  workflow_dispatch:\n\njobs:\n  torch:\n    runs-on: ubuntu-20.04-16-cores\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: 3.8.18\n      - name: Install NNCF and test requirements\n        run: make install-models-hub-torch\n\n      - name: Run models-hub-torch test scope\n        run: make test-models-hub-torch\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:46.107938", "created_at": "2024-02-05T16:25:17+01:00", "updated_at": "2024-02-12T09:54:17+01:00", "name": "mypy", "path": ".github/workflows/mypy.yml", "contents": "name: mypy\npermissions: read-all\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n\njobs:\n  mypy:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: 3.8.18\n      - name: Install NNCF\n        run: pip install -e .\n      - name: Install mypy\n        run: pip install mypy==1.8.0\n      - name: Run mypy\n        run: mypy --install-types --config-file=.mypy.ini --non-interactive\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:47.260222", "created_at": "2024-03-20T08:10:36+01:00", "updated_at": "2024-03-20T08:10:36+01:00", "name": "nightly", "path": ".github/workflows/nightly.yml", "contents": "name: nightly\npermissions: read-all\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  md-dead-link-check:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: AlexanderDokuchaev/md-dead-link-check@76ecefc7f64753bba30a36179f46d903e9f77669 # v0.8\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:48.472519", "created_at": "2023-08-16T13:07:59+02:00", "updated_at": "2023-08-16T17:54:12+02:00", "name": "Post-PR merge actions", "path": ".github/workflows/post_pr_merge.yml", "contents": "# With the squash-and-merge strategy that we are employing, the final commit that ends up in the develop branch\n# after the PR merge has a brand-new commit SHA that is not equal to the SHA of the last commit in the PR.\n# This means that the coverage reports uploaded to Codecov in the course of the (yet unmerged) PR checks will not\n# be translated to the ultimate commit in the develop and Codecov will show \"missing base report\" errors in the UI.\n# We don't want to re-run the precommits after PR merge via a separate 'on: push' action on the develop branch, so\n# instead will grab the latest coverage report artifact from the just-merged PR and upload it as the report for the\n# new commit on develop. Note that this will break if the PR is merged before the coverage artifact for the latest\n# PR commit is generated.\n\nname: Post-PR merge actions\npermissions: read-all\n\non:\n  pull_request_target:\n    branches:\n      - develop\n    types:\n      - closed\n\njobs:\n  upload-coverage-common:\n    if: github.event.pull_request.merged == true\n    uses: ./.github/workflows/upload_coverage_for_develop.yml\n    with:\n      merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}\n      last_sha_in_pr: ${{ github.event.pull_request.head.sha }}\n      coverage_artifact_name_in_pr: coverage_common\n      coverage_flags: COMMON\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n  upload-coverage-onnx:\n    if: github.event.pull_request.merged == true\n    uses: ./.github/workflows/upload_coverage_for_develop.yml\n    with:\n      merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}\n      last_sha_in_pr: ${{ github.event.pull_request.head.sha }}\n      coverage_artifact_name_in_pr: coverage_onnx\n      coverage_flags: ONNX\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n  upload-coverage-openvino:\n    if: github.event.pull_request.merged == true\n    uses: ./.github/workflows/upload_coverage_for_develop.yml\n    with:\n      merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}\n      last_sha_in_pr: ${{ github.event.pull_request.head.sha }}\n      coverage_artifact_name_in_pr: coverage_openvino\n      coverage_flags: OPENVINO\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n  upload-coverage-torch-cpu:\n    if: github.event.pull_request.merged == true\n    uses: ./.github/workflows/upload_coverage_for_develop.yml\n    with:\n      merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}\n      last_sha_in_pr: ${{ github.event.pull_request.head.sha }}\n      coverage_artifact_name_in_pr: coverage_pt_cpu\n      coverage_flags: TORCH\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n  upload-coverage-torch-cuda:\n    if: github.event.pull_request.merged == true\n    uses: ./.github/workflows/upload_coverage_for_develop.yml\n    with:\n      merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}\n      last_sha_in_pr: ${{ github.event.pull_request.head.sha }}\n      coverage_artifact_name_in_pr: coverage_pt_cuda\n      coverage_flags: TORCH\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n  upload-coverage-tensorflow:\n    if: github.event.pull_request.merged == true\n    uses: ./.github/workflows/upload_coverage_for_develop.yml\n    with:\n      merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}\n      last_sha_in_pr: ${{ github.event.pull_request.head.sha }}\n      coverage_artifact_name_in_pr: coverage_tensorflow\n      coverage_flags: TENSORFLOW\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:49.716291", "created_at": "2023-08-07T13:41:31+02:00", "updated_at": "2023-08-10T13:09:10+02:00", "name": "pre-commit-linters", "path": ".github/workflows/pre-commit-linters.yml", "contents": "name: pre-commit-linters\npermissions: read-all\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: 3.8.18\n      - name: Install pre-commit package\n        run: make install-pre-commit\n      - name: Run pre-commit linter suite\n        run: make pre-commit\n  md-dead-link-check:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: AlexanderDokuchaev/md-dead-link-check@76ecefc7f64753bba30a36179f46d903e9f77669 # v0.8\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:50.727658", "created_at": "2023-08-07T13:56:15+02:00", "updated_at": "2024-04-17T21:10:14+02:00", "name": "precommit", "path": ".github/workflows/precommit.yml", "contents": "name: precommit\npermissions: read-all\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n    paths-ignore:\n      - '**/*.md'\n      - 'docs/**/*'\n\njobs:\n  common:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          lfs: true\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: 3.8.18\n          cache: pip\n      - name: Install NNCF and test requirements\n        run: make install-common-test\n      - name: Run common precommit test scope\n        run: make test-common\n        env:\n          NNCF_COVERAGE: 1\n          NUM_WORKERS: 2\n      - name: Upload coverage report as artifact\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: coverage_common\n          path: ./coverage.xml\n      - name: Upload coverage report to codecov\n        uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: coverage_common\n          flags: COMMON\n  onnx:\n    runs-on: ubuntu-20.04-8-cores\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          lfs: true\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: 3.8.18\n      - name: Install NNCF and test requirements\n        run: make install-onnx-test\n      - name: Run ONNX precommit test scope\n        run: make test-onnx\n        env:\n          NNCF_COVERAGE: 1\n          NUM_WORKERS: 4\n      - name: Upload coverage report as artifact\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: coverage_onnx\n          path: ./coverage.xml\n      - name: Upload coverage report to codecov\n        uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: coverage_onnx\n          flags: ONNX\n  openvino:\n    runs-on: ubuntu-20.04-8-cores\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          lfs: true\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: 3.8.18\n          cache: pip\n      - name: Install NNCF and test requirements\n        run: make install-openvino-test\n      - name: Run OV precommit test scope\n        run: make test-openvino\n        env:\n          NNCF_COVERAGE: 1\n          NUM_WORKERS: 4\n      - name: Upload coverage report as artifact\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: coverage_openvino\n          path: ./coverage.xml\n      - name: Upload coverage report to codecov\n        uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: coverage_openvino\n          flags: OPENVINO\n  pytorch-cpu:\n    timeout-minutes: 40\n    defaults:\n      run:\n        shell: bash\n    runs-on: ubuntu-20.04-8-cores\n    env:\n      DEBIAN_FRONTEND: noninteractive\n    steps:\n      - name: Install dependencies\n        run : |\n          sudo apt-get update\n          sudo apt-get --assume-yes install gcc g++ build-essential ninja-build libgl1-mesa-dev libglib2.0-0\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          lfs: true\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: 3.8.18\n          cache: pip\n      - name: Runner info\n        continue-on-error: true\n        run: |\n          cat /etc/*release\n          cat /proc/cpuinfo\n      - name: Install NNCF and test requirements\n        run: make install-torch-test\n      - name: Run PyTorch precommit test scope\n        run: |\n          make test-torch-cpu\n        env:\n          NNCF_COVERAGE: 1\n          NUM_WORKERS: 4\n      - name: Upload coverage report as artifact\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: coverage_pt_cpu\n          path: ./coverage.xml\n      - name: Upload coverage report to codecov\n        uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: coverage_pt_cpu\n          flags: TORCH\n  pytorch-cuda:\n    timeout-minutes: 40\n    defaults:\n      run:\n        shell: bash\n    runs-on: aks-linux-4-cores-28gb-gpu-tesla-t4\n    env:\n      DEBIAN_FRONTEND: noninteractive\n    steps:\n      - name: Install dependencies\n        run : |\n          sudo apt-get update\n          sudo apt-get --assume-yes install build-essential ninja-build libgl1-mesa-dev libglib2.0-0 wget make\n      - name: Download CUDA\n        run: |\n          wget -q https://developer.download.nvidia.com/compute/cuda/12.1.1/local_installers/cuda_12.1.1_530.30.02_linux.run\n          sudo sh cuda_12.1.1_530.30.02_linux.run --toolkit --silent\n      - name: Runner info\n        continue-on-error: true\n        run: |\n          export PATH=/usr/local/cuda-12.1/bin${PATH:+:${PATH}}\n          export LD_LIBRARY_PATH=/usr/local/cuda-12.1/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}\n          nvidia-smi\n          cat /proc/cpuinfo\n          nvcc --version\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          lfs: true\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: 3.8.18\n          cache: pip\n      - name: Install NNCF and test requirements\n        run: make install-torch-test\n      - name: Check CUDA\n        run: |\n          python -c \"import torch; print(torch.cuda.is_available())\"\n      - name: Run PyTorch precommit test scope\n        run: |\n          export PATH=/usr/local/cuda-12.1/bin${PATH:+:${PATH}}\n          export LD_LIBRARY_PATH=/usr/local/cuda-12.1/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}\n          make test-torch-cuda\n        env:\n          NNCF_COVERAGE: 1\n      - name: Upload coverage report as artifact\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: coverage_pt_cuda\n          path: ./coverage.xml\n      - name: Upload coverage report to codecov\n        uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: coverage_pt_cuda\n          flags: TORCH\n  tensorflow:\n    timeout-minutes: 40\n    defaults:\n      run:\n        shell: bash\n    runs-on: ubuntu-20.04-8-cores\n    env:\n      DEBIAN_FRONTEND: noninteractive\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          lfs: true\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: 3.8.18\n          cache: pip\n      - name: Install NNCF and test requirements\n        run: make install-tensorflow-test\n      - name: Run TensorFlow precommit test scope\n        run: |\n          make test-tensorflow\n        env:\n          NNCF_COVERAGE: 1\n          NUM_WORKERS: 6\n      - name: Upload coverage report as artifact\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: coverage_tensorflow\n          path: ./coverage.xml\n      - name: Upload coverage report to codecov\n        uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: coverage_tensorflow\n          flags: TENSORFLOW\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:51.774334", "created_at": "2023-08-07T13:41:31+02:00", "updated_at": "2023-08-07T13:41:31+02:00", "name": "precommit_onnx", "path": ".github/workflows/precommit_onnx.yml", "contents": null, "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:52.934224", "created_at": "2020-07-28T08:42:11+02:00", "updated_at": "2023-04-27T06:36:42+02:00", "name": "Publish release Python package to PyPI", "path": ".github/workflows/python-publish.yml", "contents": "#\n# Copyright (c) 2023 Intel Corporation\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#      http://www.apache.org/licenses/LICENSE-2.0\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Publish release Python package to PyPI\npermissions: read-all\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n    - name: Set up Python\n      uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel build twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python -m build -C--global-option=--release\n\n        # Disallow uploading dev packages\n        for file in dist/*; do\n          if [[ $file == *\"dev\"* ]]; then\n             exit 42\n          fi\n        done\n\n        twine upload dist/*\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:54.015173", "created_at": "2023-08-18T18:12:13+02:00", "updated_at": "2023-08-18T18:12:13+02:00", "name": "Upload coverage from an artifact of a merged PR", "path": ".github/workflows/upload_coverage_for_develop.yml", "contents": "name: Upload coverage from an artifact of a merged PR\npermissions: read-all\n\non:\n  workflow_call:\n    inputs:\n      merge_commit_sha:\n        required: true\n        type: string\n      last_sha_in_pr:\n        required: true\n        type: string\n      coverage_artifact_name_in_pr:\n        required: true\n        type: string\n      coverage_flags:\n        required: true\n        type: string\n    secrets:\n      CODECOV_TOKEN:\n        required: true\n\njobs:\n  upload-coverage:\n    if: github.event.pull_request.merged == true\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6  # codecov uploader demands that the scanned files be present when uploading\n        with:\n          ref: ${{ inputs.merge_commit_sha }}\n      - uses: dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e # v2.28.0\n        with:\n          workflow: precommit.yml\n          check_artifacts: true\n          commit: ${{ inputs.last_sha_in_pr }}  # this is the latest commit in the PR\n          name: ${{ inputs.coverage_artifact_name_in_pr }}\n      - name: Upload coverage report to Codecov\n        run: |\n          curl -Os https://uploader.codecov.io/latest/linux/codecov\n          chmod +x codecov\n\n          # github.event.pull_request.merge_commit_sha is the fresh commit in the develop,\n          # provided that github.event.pull_request.merged == true\n          ./codecov -f ./coverage.xml -t ${{ secrets.CODECOV_TOKEN }} -F ${{ inputs.coverage_flags }} -C ${{ inputs.merge_commit_sha }} -B develop -n \"${{ inputs.coverage_artifact_name_in_pr }}\"\n", "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:55.167627", "created_at": "2022-09-21T06:53:31+02:00", "updated_at": "2022-09-21T06:53:31+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "openvinotoolkit/nncf"}
{"mined_at": "2024-07-15T15:43:57.364608", "created_at": "2021-01-06T20:18:08+01:00", "updated_at": "2021-01-06T20:18:08+01:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/first-interaction@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: 'Welcome to the reddit2telegram comunity!'\n        pr-message: 'Welcome to the reddit2telegram comunity! Your support is much appreciated!'\n", "state": "active", "repository": "fillll/reddit2telegram"}
{"mined_at": "2024-07-15T15:43:59.728283", "created_at": "2021-02-14T07:20:40+01:00", "updated_at": "2021-05-10T01:01:42+02:00", "name": "Pre-commit check hooks", "path": ".github/workflows/pre-commit.yml", "contents": "name: Pre-commit check hooks\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n\n  pre-commit-checks:\n        \n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Checkout repo\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.8\n\n      - name: Cache pip dependencies\n        id: cache-pip-dependencies\n        uses: actions/cache@v3\n        with:\n          # Ubuntu-specific, see\n          # https://github.com/actions/cache/blob/main/examples.md#python---pip\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install dependencies\n        run: |\n              python -m pip install --upgrade pip\n              pip install 'pre-commit>=2.10.1'\n        shell: bash\n\n      - name: Run pre-commit large file check\n        run: pre-commit run --all-files check-added-large-files\n\n      - name: Run pre-commit YAML check # for GitHub Actions configs\n        run: pre-commit run --all-files check-yaml\n", "state": "active", "repository": "ivadomed/ivadomed"}
{"mined_at": "2024-07-15T15:44:00.778183", "created_at": "2020-05-06T23:04:12+02:00", "updated_at": "2021-04-26T02:55:52+02:00", "name": "Publish Package", "path": ".github/workflows/publish_package.yml", "contents": "# This workflows will upload a Python Package\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Publish Package\n\non:\n  # publish from the Releases page:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    \n    - name: Set up Python\n      uses: actions/setup-python@v3\n        \n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build wheel\n        \n    - name: Build\n      run: |\n          python -m build --wheel --sdist\n          \n    - name: Publish to Github\n      uses: softprops/action-gh-release@v1\n      with:\n        files: 'dist/*'\n        fail_on_unmatched_files: true\n        prerelease: ${{ contains(github.ref, 'rc') || contains(github.ref, 'dev') }}\n    \n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "ivadomed/ivadomed"}
{"mined_at": "2024-07-15T15:44:01.860984", "created_at": "2020-05-06T23:02:44+02:00", "updated_at": "2022-08-07T17:39:21+02:00", "name": "Run tests on all platforms", "path": ".github/workflows/run_tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Run tests on all platforms\n\non:\n  # Trigger the workflow on push but only for the master branch\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - '**.md'\n      - '**.rst'\n      - '**.bib'\n      - '.github/**'\n      - '!.github/workflows/run_tests.yml'\n      - 'dev/**'\n      - 'docs/**'\n      - 'images/**'\n      - '.gitignore'\n      - '.pre-commit-config.yaml'\n      - '.readthedocs.yml'\n  # Trigger the workflow on pull requests, but reveal no secrets, do not use pull_request_target, see:\n  # https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target\n  pull_request:\n    paths-ignore:\n      - '**.md'\n      - '**.rst'\n      - '**.bib'\n      - '.github/**'\n      - '!.github/workflows/run_tests.yml'\n      - 'dev/**'\n      - 'docs/**'\n      - 'images/**'\n      - '.gitignore'\n      - '.pre-commit-config.yaml'\n      - '.readthedocs.yml'\n\nenv:\n  # Even when given -y, apt will still sometimes hang at a prompt if a package\n  # has clarifications to ask; DEBIAN_FRONTEND=noninteractive prevents that,\n  # This will be defined for non-debian platforms below too, but there's no harm in that.\n  # (TravisCI quietly defined this on all their platforms, but we have to give it manually on GithubCI.)\n  DEBIAN_FRONTEND: 'noninteractive'\n  HDF5_USE_FILE_LOCKING: 'FALSE'\n  # Skip to the headless matplotlib renderer, which is less\n  # bug-prone in the constrained environment of CI\n  # Tip from a matplotlib dev: https://github.com/spinalcordtoolbox/spinalcordtoolbox/issues/3388#issuecomment-846091012\n  # Ref: https://matplotlib.org/stable/users/explain/backends.html\n  MPLBACKEND: 'Agg'\n\njobs:\n  ultra_matrix_test:\n    name: Matrix Test of Python ${{ matrix.python-version }} on ${{ matrix.os }}\n\n    # Default shell for ALL subsequent steps.\n    defaults:\n      run:\n        shell: bash\n\n    # Defining matrix for OS and Python\n    strategy:\n\n      # Ensure exhaustive testing of all scenarios to gather maximum amount of information\n      fail-fast: false\n\n      matrix:\n        os: [ \"macos-latest\", \"windows-latest\", \"ubuntu-20.04\" ]\n        python-version: [ '3.8', '3.9', '3.10' ]\n        test-name:\n          - integration-test\n\n    # Matrix driven OS\n    runs-on: ${{ matrix.os }}\n\n    # Main steps for the test to be reproduced across OS x Python\n    steps:\n      # Step 0: Checkout code.\n      - uses: actions/checkout@v3\n\n      # Step 1: Setup python version\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Step 2: Install dependencies\n      - name: Install ivadomed\n        run: |\n          pip install -e .[dev]\n\n      # Step 3: List installed packages\n      - name: List installed packages\n        run: |\n          pip list\n\n      # Step 4: Lint.\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          #flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n      # Step 5: Full Pytest\n      - name: Test with pytest\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: ${{ matrix.test-name }}\n          COVERALLS_PARALLEL: true\n        run: |\n          pytest . -v --cov ivadomed/ --cov-report term-missing\n          coveralls --service=github\n\n  # This step is MANDATORY and used to indicate matrix completion to coveralls.io\n  # See here: https://coveralls-python.readthedocs.io/en/latest/usage/configuration.html#github-actions-support\n  coveralls:\n    needs: ultra_matrix_test\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n      - name: Finished\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          pip3 install --upgrade coveralls\n          coveralls --finish\n\n", "state": "active", "repository": "ivadomed/ivadomed"}
{"mined_at": "2024-07-15T15:44:02.947334", "created_at": "2022-07-28T22:31:19+02:00", "updated_at": "2022-08-07T19:51:08+02:00", "name": "Run tests on all platforms", "path": ".github/workflows/run_tests_dummy.yml", "contents": "# This is a dummy version of run_tests.yml, which allows for conditional checks to still be \"Required Statuses\" for pull requests to be allowed to be merged\n\nname: Run tests on all platforms\n\n# see https://docs.github.com/en/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks\n# and https://github.com/orgs/community/discussions/13690\non:\n  pull_request:\n    paths:\n      # this list needs to be kept in sync manually with the opposite list in run_tests.yml\n      - '**.md'\n      - '**.rst'\n      - '**.bib'\n      - '.github/**'\n      - '!.github/workflows/run_tests.yml'\n      - 'dev/**'\n      - 'docs/**'\n      - 'images/**'\n      - '.gitignore'\n      - '.pre-commit-config.yaml'\n      - '.readthedocs.yml'\n\njobs:\n  ultra_matrix_test:\n    name: Matrix Test of Python ${{ matrix.python-version }} on ${{ matrix.os }}\n\n    # this section also needs to be kept in sync with run_tests.yml\n    strategy:\n      matrix:\n        # This list must be kept **in sync** with the Required Statuses in https://github.com/ivadomed/ivadomed/settings/branch_protection_rules/5051948\n        os: [ \"macos-latest\", \"windows-latest\", \"ubuntu-20.04\" ]\n        python-version: [ 3.8 ]\n        test-name:\n          - integration-test\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - run: 'echo \"No code changes, so no build required\" '\n", "state": "active", "repository": "ivadomed/ivadomed"}
{"mined_at": "2024-07-15T15:44:05.263761", "created_at": "2021-08-30T10:55:38+02:00", "updated_at": "2021-08-30T13:06:39+02:00", "name": "FPGA Tests", "path": ".github/workflows/fpga-ci.yml", "contents": "name: FPGA Tests\n\non:\n  push:\n    branches: [ master, ci-fix ]\n  pull_request:\n    branches: [ master, ci-fix ]\n  merge_group:\n    branches: [ master, ci-fix ]\n\njobs:\n  test-fpga:\n    if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-ci') }}\n    runs-on: [self-hosted, linux, intel-fpga, xilinx-fpga]\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: 'recursive'\n    - name: Install dependencies\n      run: |\n        rm -f ~/.dace.conf\n        rm -rf .dacecache tests/.dacecache\n        python -m venv ~/.venv      # create venv so we can use pip\n        source ~/.venv/bin/activate # activate venv\n        python -m pip install --upgrade pip\n        pip install pytest-xdist flake8 coverage click\n        pip uninstall -y dace\n        pip install -e \".[testing]\"\n        curl -Os https://uploader.codecov.io/latest/linux/codecov\n        chmod +x codecov\n\n    - name: Run FPGA Tests\n      run: |\n        source ~/.venv/bin/activate # activate venv\n        export COVERAGE_RCFILE=`pwd`/.coveragerc\n\n        # Xilinx setup\n        export PATH=/opt/Xilinx/Vitis/2022.1/bin:/opt/Xilinx/Vitis_HLS/2022.1/bin:/opt/Xilinx/Vivado/2022.1/bin:$PATH\n        export XILINX_XRT=/opt/xilinx/xrt\n        export LD_LIBRARY_PATH=$XILINX_XRT/lib:$LD_LIBRARY_PATH\n        export XILINX_VITIS=/opt/Xilinx/Vitis/2022.1\n        export DACE_compiler_xilinx_platform=xilinx_u250_gen3x16_xdma_4_1_202210_1\n\n        # Intel FPGA setup\n        export INTELFPGAOCLSDKROOT=/opt/intelFPGA_pro/19.1/hld\n        export ALTERAOCLSDKROOT=$INTELFPGAOCLSDKROOT\n        export AOCL_BOARD_PACKAGE_ROOT=/opt/intelFPGA_pro/19.1/hld/board/a10_ref\n        export PATH=$INTELFPGAOCLSDKROOT/bin:$PATH\n        export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AOCL_BOARD_PACKAGE_ROOT/linux64/lib\n        export QUARTUS_ROOTDIR_OVERRIDE=/opt/intelFPGA_pro/19.1/quartus\n        export LD_PRELOAD=/lib/x86_64-linux-gnu/libstdc++.so.6   # Work around dependency issues\n\n        # Due to an internal bug in the Xilinx tools, where the current datetime is passed as an integer\n        # and overflowed in the year 2022, run the FPGA tests pretending like it's January 1st 2021.\n        # faketime -f \"@2021-01-01 00:00:00\" pytest -n auto --cov-report=xml --cov=dace --tb=short -m \"fpga\"\n        # Try running without faketime\n        pytest -n auto --cov-report=xml --cov=dace --tb=short -m \"fpga\"\n\n        coverage report\n        coverage xml\n        reachable=0\n        ping -W 2 -c 1 codecov.io || reachable=$?\n        if [ $reachable -eq 0 ]; then\n          ./codecov\n        else\n          echo \"Codecov.io is unreachable\"\n        fi\n        killall -9 xsim xsimk || true\n", "state": "active", "repository": "spcl/dace"}
{"mined_at": "2024-07-15T15:44:06.492017", "created_at": "2021-08-30T10:59:25+02:00", "updated_at": "2021-12-30T13:40:50+01:00", "name": "General Tests", "path": ".github/workflows/general-ci.yml", "contents": "name: General Tests\n\non:\n  push:\n    branches: [ master, ci-fix ]\n  pull_request:\n    branches: [ master, ci-fix ]\n  merge_group:\n    branches: [ master, ci-fix ]\n\njobs:\n  test:\n    if: \"!contains(github.event.pull_request.labels.*.name, 'no-ci')\"\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7,'3.12']\n        simplify: [0,1,autoopt]\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: 'recursive'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libyaml-dev cmake\n        sudo apt-get install -y libblas-dev libopenblas-dev liblapacke-dev\n        sudo apt-get install -y libpapi-dev papi-tools  # Instrumentation dependencies\n        sudo apt-get install -y verilator # RTL simulation dependencies\n        python -m pip install --upgrade pip\n        pip install flake8 pytest-xdist coverage\n        pip install -e \".[testing]\"\n        curl -Os https://uploader.codecov.io/latest/linux/codecov\n        chmod +x codecov\n\n    - name: Test dependencies\n      run: |\n        papi_avail\n\n    - name: Test with pytest\n      run: |\n        export NOSTATUSBAR=1\n        export DACE_testing_serialization=1\n        export DACE_testing_deserialize_exception=1\n        export DACE_cache=unique\n        if [ \"${{ matrix.simplify }}\" = \"autoopt\" ]; then\n            export DACE_optimizer_automatic_simplification=1\n            export DACE_optimizer_autooptimize=1\n            echo \"Auto-optimization heuristics\"\n        else\n            export DACE_optimizer_automatic_simplification=${{ matrix.simplify }}\n        fi\n        pytest -n auto --cov-report=xml --cov=dace --tb=short -m \"not gpu and not verilator and not tensorflow and not mkl and not sve and not papi and not mlir and not lapack and not fpga and not mpi and not rtl_hardware and not scalapack and not datainstrument\"\n        ./codecov\n\n    - name: Test OpenBLAS LAPACK\n      run: |\n        export NOSTATUSBAR=1\n        export DACE_testing_serialization=1\n        export DACE_testing_deserialize_exception=1\n        export DACE_cache=unique\n        if [ \"${{ matrix.simplify }}\" = \"autoopt\" ]; then\n            export DACE_optimizer_automatic_simplification=1\n            export DACE_optimizer_autooptimize=1\n            echo \"Auto-optimization heuristics\"\n        else\n            export DACE_optimizer_automatic_simplification=${{ matrix.simplify }}\n        fi\n        pytest -n 1 --cov-report=xml --cov=dace --tb=short -m \"lapack\"\n        ./codecov\n\n    - name: Run other tests\n      run: |\n        export NOSTATUSBAR=1\n        export DACE_testing_serialization=0\n        export DACE_testing_deserialize_exception=1\n        export DACE_cache=single\n        export DACE_optimizer_automatic_simplification=${{ matrix.simplify }}\n        export PYTHON_BINARY=\"coverage run --source=dace --parallel-mode\"\n        ./tests/polybench_test.sh\n        ./tests/xform_test.sh\n        coverage combine .; coverage report; coverage xml\n        ./codecov\n", "state": "active", "repository": "spcl/dace"}
{"mined_at": "2024-07-15T15:44:07.592435", "created_at": "2021-08-30T10:55:38+02:00", "updated_at": "2021-08-30T13:06:39+02:00", "name": "GPU Tests", "path": ".github/workflows/gpu-ci.yml", "contents": "name: GPU Tests\n\non:\n  push:\n    branches: [ master, ci-fix ]\n  pull_request:\n    branches: [ master, ci-fix ]\n  merge_group:\n    branches: [ master, ci-fix ]\n\nenv:\n  CUDACXX: /usr/local/cuda/bin/nvcc\n  MKLROOT: /opt/intel/oneapi/mkl/latest/\n\n\njobs:\n  test-gpu:\n    if: \"!contains(github.event.pull_request.labels.*.name, 'no-ci')\"\n    runs-on: [self-hosted, gpu]\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: 'recursive'\n    - name: Install dependencies\n      run: |\n        rm -f ~/.dace.conf\n        rm -rf .dacecache tests/.dacecache\n        python -m venv ~/.venv      # create venv so we can use pip\n        source ~/.venv/bin/activate # activate venv\n        python -m pip install --upgrade pip\n        pip install flake8 pytest-xdist coverage\n        pip install mpi4py\n        pip install cupy\n        pip uninstall -y dace\n        pip install -e \".[testing]\"\n        curl -Os https://uploader.codecov.io/latest/linux/codecov\n        chmod +x codecov\n\n    - name: Test dependencies\n      run: |\n        source ~/.venv/bin/activate # activate venv\n        nvidia-smi\n\n    - name: Run pytest GPU\n      run: |\n        source ~/.venv/bin/activate # activate venv\n        export DACE_cache=single\n        export PATH=$PATH:/usr/local/cuda/bin  # some test is calling cuobjdump, so it needs to be in path\n        echo \"CUDACXX: $CUDACXX\"\n        pytest --cov-report=xml --cov=dace --tb=short -m \"gpu\"\n\n    - name: Run extra GPU tests\n      run: |\n        source ~/.venv/bin/activate # activate venv\n        export NOSTATUSBAR=1\n        export DACE_cache=single\n        export COVERAGE_RCFILE=`pwd`/.coveragerc\n        export PYTHON_BINARY=\"coverage run --source=dace --parallel-mode\"\n        ./tests/cuda_test.sh\n\n    - name: Report overall coverage\n      run: |\n        source ~/.venv/bin/activate # activate venv\n        export COVERAGE_RCFILE=`pwd`/.coveragerc\n        coverage combine . */; coverage report; coverage xml\n        reachable=0\n        ping -W 2 -c 1 codecov.io || reachable=$?\n        if [ $reachable -eq 0 ]; then\n          ./codecov\n        else\n          echo \"Codecov.io is unreachable\"\n        fi\n", "state": "active", "repository": "spcl/dace"}
{"mined_at": "2024-07-15T15:44:08.652874", "created_at": "2022-02-17T14:35:35+01:00", "updated_at": "2022-02-17T14:35:35+01:00", "name": "DaCe RTL hardware emulation", "path": ".github/workflows/hardware_test.yml", "contents": "name: DaCe RTL hardware emulation\non: workflow_dispatch\njobs:\n  test-rtl:\n    runs-on: [self-hosted, linux, xilinx-fpga]\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: 'recursive'\n    - name: Install dependencies\n      run: |\n        rm -f ~/.dace.conf\n        rm -rf .dacecache tests/.dacecache\n        . /opt/setupenv\n        python -m pip install --upgrade pip\n        pip install pytest-xdist flake8\n        pip uninstall -y dace\n        pip install -e \".[testing]\"\n\n    - name: Run FPGA Tests\n      run: |\n        # Due to an internal bug in the Xilinx tools, where the current datetime is passed as an integer\n        # and overflowed in the year 2022, run the RTL FPGA tests pretending like it's January 1st 2021.\n        faketime -f \"@2021-01-01 00:00:00\" pytest -n auto --tb=short -m \"rtl_hardware\"\n        killall -9 xsim xsimk || true", "state": "active", "repository": "spcl/dace"}
{"mined_at": "2024-07-15T15:44:09.688586", "created_at": "2021-08-30T10:55:38+02:00", "updated_at": "2021-08-30T13:06:39+02:00", "name": "Heterogeneous Tests", "path": ".github/workflows/heterogeneous-ci.yml", "contents": "name: Heterogeneous Tests\n\non:\n  push:\n    branches: [ master, ci-fix ]\n  pull_request:\n    branches: [ master, ci-fix ]\n  merge_group:\n    branches: [ master, ci-fix ]\n\nenv:\n  CUDA_HOME: /usr/local/cuda\n  CUDACXX: nvcc\n  MKLROOT: /opt/intel/oneapi/mkl/latest/\n\njobs:\n  test-heterogeneous:\n    if: \"!contains(github.event.pull_request.labels.*.name, 'no-ci')\"\n    runs-on: [self-hosted, linux]\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: 'recursive'\n    - name: Install dependencies\n      run: |\n        rm -f ~/.dace.conf\n        rm -rf .dacecache tests/.dacecache\n        python -m venv ~/.venv      # create venv so we can use pip\n        source ~/.venv/bin/activate # activate venv\n        python -m pip install --upgrade pip\n        pip install flake8 pytest-xdist coverage\n        pip install mpi4py pytest-mpi\n        pip uninstall -y dace\n        pip install -e \".[testing]\"\n        curl -Os https://uploader.codecov.io/latest/linux/codecov\n        chmod +x codecov\n\n    - name: Test dependencies\n      run: |\n        papi_avail\n\n    - name: Run parallel pytest \n      run: |\n        source ~/.venv/bin/activate # activate venv\n        export DACE_cache=unique\n        pytest --cov-report=xml --cov=dace --tb=short -m \"verilator or mkl or papi or datainstrument\"\n\n    - name: Run MPI tests\n      run: |\n        export NOSTATUSBAR=1\n        export DACE_cache=single\n        export COVERAGE_RCFILE=`pwd`/.coveragerc\n        export PYTHON_BINARY=\"coverage run --source=dace --parallel-mode\"\n        source ~/.venv/bin/activate # activate venv\n        ./tests/mpi_test.sh\n\n        \n    - name: Test MPI with pytest\n      run: |\n        export NOSTATUSBAR=1\n        export DACE_testing_serialization=1\n        export DACE_testing_deserialize_exception=1\n        export DACE_cache=unique\n        source ~/.venv/bin/activate # activate venv\n        mpirun -n 2 coverage run --source=dace --parallel-mode -m pytest -x --with-mpi --tb=short -m \"mpi\"\n    \n    - name: Test ScaLAPACK PBLAS with pytest\n      run: |\n        export NOSTATUSBAR=1\n        export DACE_testing_serialization=1\n        export DACE_testing_deserialize_exception=1\n        export DACE_cache=unique\n        export DACE_library_pblas_default_implementation=ReferenceOpenMPI\n        source ~/.venv/bin/activate # activate venv\n        for i in {1..4}\n        do\n          mpirun -n \"$i\" --oversubscribe coverage run --source=dace --parallel-mode -m pytest -x --with-mpi --tb=short -m \"scalapack\"\n        done\n\n    - name: Report overall coverage\n      run: |\n        export COVERAGE_RCFILE=`pwd`/.coveragerc\n        source ~/.venv/bin/activate # activate venv\n        coverage combine . */; coverage report; coverage xml\n        reachable=0\n        ping -W 2 -c 1 codecov.io || reachable=$?\n        if [ $reachable -eq 0 ]; then\n          ./codecov\n        else\n          echo \"Codecov.io is unreachable\"\n        fi\n", "state": "active", "repository": "spcl/dace"}
{"mined_at": "2024-07-15T15:44:10.799238", "created_at": "2024-02-27T20:11:11+01:00", "updated_at": "2024-05-10T00:57:10+02:00", "name": "NASA/NOAA pyFV3 repository build test", "path": ".github/workflows/pyFV3-ci.yml", "contents": "name: NASA/NOAA pyFV3 repository build test\n\non:\n  push:\n    branches: [ master, ci-fix ]\n  pull_request:\n    branches: [ master, ci-fix ]\n  merge_group:\n    branches: [ master, ci-fix ]\n\ndefaults:\n    run:\n      shell: bash\n\njobs:\n    build_and_validate_pyFV3:\n      if: \"!contains(github.event.pull_request.labels.*.name, 'no-ci')\"\n      runs-on: ubuntu-latest\n      strategy:\n          matrix:\n              python-version: [3.11.7]\n\n      steps:\n      - uses: actions/checkout@v2\n        with:\n              repository: 'NOAA-GFDL/PyFV3'\n              ref: 'ci/DaCe'\n              submodules: 'recursive'\n              path: 'pyFV3'\n      - uses: actions/checkout@v2\n        with: \n            path: 'dace'\n            submodules: 'recursive'\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n              python-version: ${{ matrix.python-version }}\n      - name: Install library dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y libopenmpi-dev libboost-all-dev\n          gcc --version\n      # Because Github doesn't allow us to do a git checkout in code\n      # we use a trick to checkout DaCe first (not using the external submodule)    \n      # install the full suite via requirements_dev, then re-install the correct DaCe\n      - name: Install Python packages \n        run: |\n          python -m pip install --upgrade pip wheel setuptools\n          pip install -e ./pyFV3[develop]\n          pip install -e ./dace\n      - name: Download data\n        run: |\n          cd pyFV3\n          mkdir -p test_data\n          cd test_data\n          wget https://portal.nccs.nasa.gov/datashare/astg/smt/pace-regression-data/8.1.3_c12_6ranks_standard.D_SW.tar.gz\n          tar -xzvf 8.1.3_c12_6ranks_standard.D_SW.tar.gz\n          wget https://portal.nccs.nasa.gov/datashare/astg/smt/pace-regression-data/8.1.3_c12_6ranks_standard.RiemSolver3.tar.gz\n          tar -xzvf 8.1.3_c12_6ranks_standard.RiemSolver3.tar.gz\n          wget https://portal.nccs.nasa.gov/datashare/astg/smt/pace-regression-data/8.1.3_c12_6ranks_standard.Remapping.tar.gz\n          tar -xzvf 8.1.3_c12_6ranks_standard.Remapping.tar.gz\n          cd ../..\n      # Clean up caches between run for stale un-expanded SDFG to trip the build system (NDSL side issue)\n      - name: \"Regression test: Riemman Solver on D-grid (RiemSolver3)\"\n        env:\n          FV3_DACEMODE: BuildAndRun\n          PACE_CONSTANTS: GFS\n          PACE_LOGLEVEL: Debug\n        run: |\n          pytest -v -s --data_path=./pyFV3/test_data/8.1.3/c12_6ranks_standard/dycore \\\n              --backend=dace:cpu --which_modules=Riem_Solver3 \\\n              --threshold_overrides_file=./pyFV3/tests/savepoint/translate/overrides/standard.yaml \\\n              ./pyFV3/tests/savepoint\n          rm -r ./.gt_cache_FV3_A\n      - name: \"Regression test: Shallow water lagrangian dynamics on D-grid (D_SW) (on rank 0 only)\"\n        env:\n          FV3_DACEMODE: BuildAndRun\n          PACE_CONSTANTS: GFS\n          PACE_LOGLEVEL: Debug\n        run: |\n          pytest -v -s --data_path=./pyFV3/test_data/8.1.3/c12_6ranks_standard/dycore \\\n              --backend=dace:cpu --which_modules=D_SW --which_rank=0 \\\n              --threshold_overrides_file=./pyFV3/tests/savepoint/translate/overrides/standard.yaml \\\n              ./pyFV3/tests/savepoint\n          rm -r ./.gt_cache_FV3_A\n      - name: \"Regression test: Remapping (on rank 0 only)\"\n        env:\n          FV3_DACEMODE: BuildAndRun\n          PACE_CONSTANTS: GFS\n          PACE_LOGLEVEL: Debug\n        run: |\n          pytest -v -s --data_path=./pyFV3/test_data/8.1.3/c12_6ranks_standard/dycore \\\n              --backend=dace:cpu --which_modules=Remapping --which_rank=0 \\\n              --threshold_overrides_file=./pyFV3/tests/savepoint/translate/overrides/standard.yaml \\\n              ./pyFV3/tests/savepoint\n          rm -r ./.gt_cache_FV3_A\n", "state": "active", "repository": "spcl/dace"}
{"mined_at": "2024-07-15T15:44:11.801603", "created_at": "2020-12-05T11:46:47+01:00", "updated_at": "2020-12-05T11:46:47+01:00", "name": "DaCe Verilator Compatibility Check", "path": ".github/workflows/verilator_compatibility.yml", "contents": "name: DaCe Verilator Compatibility Check\non:\n  workflow_dispatch:\n    inputs:\n      reason:\n        description: 'Reason for the trigger'\n        required: true\n        default: 'Check compatibility'\n  schedule:\n    - cron: '0 0 1 * *' # monthly\njobs:\n  build:\n    strategy:\n      matrix:\n        verilator_version: ['4.028', '4.034', '4.036', '4.100', 'master']\n    runs-on: ubuntu-20.04\n    steps:\n      - name: trigger reason\n        run: echo \"Trigger Reason:\" ${{ github.event.inputs.reason }}\n      - uses: actions/checkout@v2\n      - name: checkout submodules\n        run: git submodule update --init --recursive\n      - name: install apt packages\n        run: sudo apt-get update && sudo apt-get -y install git make autoconf g++ flex bison libfl2 libfl-dev\n      - name: compile verilator\n        run: git clone https://github.com/verilator/verilator.git && cd verilator && git fetch origin && if [ ! \"${{ matrix.verilator_version }}\" == \"master\" ]; then  git checkout v${{ matrix.verilator_version }}; fi && autoconf && ./configure && make -j2 && sudo make install\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n          architecture: 'x64'\n      - uses: BSFishy/pip-action@v1\n        with:\n          packages: pytest\n          requirements: requirements.txt\n      - name: install dace\n        run: python3 -m pip install .\n      - run: pytest -m \"verilator\"\n", "state": "active", "repository": "spcl/dace"}
{"mined_at": "2024-07-15T15:44:13.797611", "created_at": "2023-05-08T16:00:15+02:00", "updated_at": "2023-05-08T16:00:15+02:00", "name": "Build Container Image", "path": ".github/workflows/build_push_ocsci_image.yml", "contents": null, "state": "active", "repository": "red-hat-storage/ocs-ci"}
{"mined_at": "2024-07-15T15:44:14.844413", "created_at": "2020-11-24T12:22:48+01:00", "updated_at": "2020-11-24T12:22:48+01:00", "name": "PR Checks", "path": ".github/workflows/pr_checks.yml", "contents": "name: \"PR Checks\"\n# Triggers the workflow on pull request events\non: pull_request\n\njobs:\n  pr_checks:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - 3.8\n          - 3.9\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install ovirt-engine-sdk-python dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y libcurl4-openssl-dev\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox tox-gh-actions\n\n      - name: Test with tox\n        run: tox\n", "state": "active", "repository": "red-hat-storage/ocs-ci"}
{"mined_at": "2024-07-15T15:44:15.906077", "created_at": "2023-05-01T14:47:34+02:00", "updated_at": "2023-05-08T11:29:41+02:00", "name": "Build Container Image", "path": ".github/workflows/simple.yml", "contents": null, "state": "active", "repository": "red-hat-storage/ocs-ci"}
{"mined_at": "2024-07-15T15:44:17.009320", "created_at": "2021-08-10T20:52:47+02:00", "updated_at": "2021-08-10T20:52:47+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues and pull requests\n\non:\n  schedule:\n    # Run every day at 8pm UTC\n    - cron: '0 20 * * *'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v4\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        days-before-stale: 90\n        days-before-close: 30\n        stale-issue-message: >\n          This issue has been automatically marked as stale because it has not had\n          recent activity. It will be closed in 30 days if no further activity occurs.\n        stale-pr-message: >\n          This pull request has been automatically marked as stale because it has not had\n          recent activity. It will be closed in 30 days if no further activity occurs.\n        close-issue-message: >\n          This issue has been automatically closed due to inactivity.\n          Please re-open if this still requires investigation.\n        close-pr-message: >\n          This pull request has been automatically closed due to inactivity.\n          Please re-open if these changes are still required.\n        stale-issue-label: 'lifecycle/stale'\n        stale-pr-label: 'lifecycle/stale'\n        exempt-issue-labels: 'lifecycle/keepalive'\n        exempt-pr-labels: 'lifecycle/keepalive'\n        operations-per-run: 100\n", "state": "active", "repository": "red-hat-storage/ocs-ci"}
{"mined_at": "2024-07-15T15:44:19.081264", "created_at": "2024-05-13T23:55:06+02:00", "updated_at": "2024-05-14T00:03:07+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'setup.py'\n      - 'lithops/**'\n\n  workflow_dispatch: \n  # this allows to run the workflow manually through the github dashboard\n\njobs:\n\n  localhost_tests:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n      - name: Clone Lithops repository\n        uses: actions/checkout@v4\n\n      - name: Install Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Lithops\n        run: |\n          pip3 install -U .[tests]\n\n      - name: Run Lithops tests\n        run: |\n          cd lithops/tests\n          pytest -v --backend localhost --storage localhost\n", "state": "active", "repository": "lithops-cloud/lithops"}
{"mined_at": "2024-07-15T15:44:20.129600", "created_at": "2024-05-13T23:55:06+02:00", "updated_at": "2024-05-14T00:03:07+02:00", "name": "Python Linting", "path": ".github/workflows/python-linting.yml", "contents": "name: Python Linting\n\non:\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'setup.py'\n      - 'lithops/**'\n\n  workflow_dispatch: \n  # this allows to run the workflow manually through the github dashboard\n\njobs:\n\n  flake8:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Clone Lithops repository\n        uses: actions/checkout@v4\n\n      - name: Install Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --upgrade pip\n          pip3 install -U flake8\n\n      - name: Install Lithops\n        run: |\n          pip3 install -U .\n      \n      - name: Lint with flake8\n        run: |\n          flake8 lithops --count --max-line-length=180 --statistics --ignore W605,W503\n", "state": "active", "repository": "lithops-cloud/lithops"}
{"mined_at": "2024-07-15T15:44:21.161576", "created_at": "2024-05-14T00:03:07+02:00", "updated_at": "2024-05-14T00:03:07+02:00", "name": "IBM CE Tests", "path": ".github/workflows/ibm-ce-tests.yml", "contents": "name: IBM CE Tests\n\non:  \n  workflow_dispatch: \n  # this allows to run the workflow manually through the github dashboard\n\nenv:\n  HAVE_LITHOPS_CONFIG: ${{ secrets.LITHOPS_CONFIG != '' }}\n  LITHOPS_CONFIG_FILE: /tmp/lithops_config.yaml\n\njobs:\n\n  determine_runnable_test_jobs:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'\n\n    outputs:\n      localhost: ${{ steps.script.outputs.localhost }}\n      code_engine: ${{ steps.script.outputs.code_engine }}\n\n    steps:\n      - name: Set jobs to run\n        id: script\n        run: |\n          echo \"localhost=true\" >> $GITHUB_OUTPUT\n          echo \"code_engine=false\" >> $GITHUB_OUTPUT\n\n\n  localhost_tests:\n    runs-on: ubuntu-latest\n    needs: determine_runnable_test_jobs\n    if: needs.determine_runnable_test_jobs.outputs.localhost == 'true'\n\n    steps:\n      - name: Clone Lithops repository\n        uses: actions/checkout@v4\n\n      - name: Install Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Install Lithops\n        run: |\n          pip3 install -U .[tests]\n\n      - name: Run Lithops tests\n        run: |\n          cd lithops/tests\n          pytest -v --backend localhost --storage localhost\n\n\n  ibm_ce_cos_tests:\n    runs-on: ubuntu-latest\n    needs: determine_runnable_test_jobs\n    if: needs.determine_runnable_test_jobs.outputs.code_engine == 'true'\n\n    steps:\n      - name: Clone Lithops repository\n        uses: actions/checkout@v4\n\n      - name: Install Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Install Lithops\n        run: |\n          pip3 install -U .[tests]\n\n      - name: Install Lithops config\n        id: config\n        run: |\n          echo -n -e \"${{ secrets.LITHOPS_CONFIG }}\" > $LITHOPS_CONFIG_FILE\n\n      - name: Build new runtime\n        run: |\n          docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_TOKEN }}\n          cd runtime/code_engine\n          lithops runtime build -f Dockerfile.githubci ${{ secrets.DOCKER_USER }}/lithops-ce-gihub-ci:${{ github.run_id }} -b code_engine\n          sed -i '/runtime: lithops-ce/c\\    runtime: '${{ secrets.DOCKER_USER }}'/lithops-ce-gihub-ci:'${{ github.run_id }} $LITHOPS_CONFIG_FILE\n\n      - name: Run Lithops tests\n        run: |\n          cd lithops/tests\n          pytest -v --backend code_engine --storage ibm_cos\n\n      - name: Delete Lithops CE runtime\n        if: needs.determine_runnable_test_jobs.outputs.code_engine == 'true'\n        run: |\n          lithops runtime delete ${{ secrets.DOCKER_USER }}/lithops-ce-gihub-ci:${{ github.run_id }} -b code_engine -s ibm_cos\n", "state": "active", "repository": "lithops-cloud/lithops"}
{"mined_at": "2024-07-15T15:44:22.261206", "created_at": "2024-05-14T00:03:07+02:00", "updated_at": "2024-05-14T00:03:07+02:00", "name": "Tests all OS", "path": ".github/workflows/tests-all-os.yml", "contents": "name: Tests all OS\n\non:\n  workflow_dispatch: \n  # this allows to run the workflow manually through the github dashboard\n\njobs:\n  localhost_tests:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 6\n    env:\n      OBJC_DISABLE_INITIALIZE_FORK_SAFETY: YES\n\n    strategy:\n      fail-fast: True\n      matrix:\n        include:\n          # Linux\n          - os: ubuntu-20.04\n            python-version: \"3.6\"\n          - os: ubuntu-22.04\n            python-version: \"3.7\"\n          - os: ubuntu-22.04\n            python-version: \"3.8\"\n          - os: ubuntu-22.04\n            python-version: \"3.9\"\n          - os: ubuntu-22.04\n            python-version: \"3.10\"\n          - os: ubuntu-22.04\n            python-version: \"3.11\"\n          - os: ubuntu-22.04\n            python-version: \"3.12\"\n\n          # macOS\n          - os: macos-12\n            python-version: \"3.7\"\n          - os: macos-13\n            python-version: \"3.8\"\n          - os: macos-14\n            python-version: \"3.9\"\n          - os: macos-14\n            python-version: \"3.10\"\n          - os: macos-14\n            python-version: \"3.11\"\n          - os: macos-14\n            python-version: \"3.12\"\n\n          # Windows\n          - os: windows-2022\n            python-version: \"3.7\"\n          - os: windows-2022\n            python-version: \"3.8\"\n          - os: windows-2022\n            python-version: \"3.9\"\n          - os: windows-2022\n            python-version: \"3.10\"\n          - os: windows-2022\n            python-version: \"3.11\"\n          - os: windows-2022\n            python-version: \"3.12\"\n            \n    steps:\n      - name: Clone Lithops repository\n        uses: actions/checkout@v4\n\n      - name: Install Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Lithops\n        run: |\n          pip3 install -U .[tests]\n\n      - name: Create Lithops config file\n        run: |\n          mkdir -p $HOME/.lithops\n          echo \"lithops:\" >> $HOME/.lithops/config\n          echo \"    monitoring_interval: 0.1\" >> $HOME/.lithops/config\n          echo \"    log_level: DEBUG\" >> $HOME/.lithops/config\n          echo \"    include_modules: None\" >> $HOME/.lithops/config\n          echo \"localhost:\" >> $HOME/.lithops/config\n          echo \"    version: 2\" >> $HOME/.lithops/config\n\n      - name: Run Lithops tests\n        run: |\n          cd lithops/tests\n          pytest -v --durations=0 --backend localhost --storage localhost\n\n      - name: Display last 500 lines of the Lithops log file\n        if: cancelled() || failure()\n        shell: bash\n        run: |\n          if [ \"$RUNNER_OS\" == \"Linux\" ]; then\n            tail -n 500 /tmp/lithops-runner/localhost-runner.log\n          elif [ \"$RUNNER_OS\" == \"macOS\" ]; then\n            tail -n 500 $TMPDIR/lithops-runner/localhost-runner.log\n          elif [ \"$RUNNER_OS\" == \"Windows\" ]; then\n            tail -n 500 \"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\lithops-root\\localhost-runner.log\"\n          fi\n", "state": "active", "repository": "lithops-cloud/lithops"}
{"mined_at": "2024-07-15T15:44:24.328644", "created_at": "2021-08-12T17:33:37+02:00", "updated_at": "2022-04-09T11:00:49+02:00", "name": "generate Documentation", "path": ".github/workflows/docs.yml", "contents": "name: generate Documentation\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Give permission to run scripts\n        run: chmod +x ./docs/scripts/doc8_style_check.sh\n\n      - name: Install Dependencies\n        working-directory: ./docs\n        run:  pip install -r requirements.txt\n\n      - name: Check Sphinx Documentation build minimally\n        working-directory: ./docs\n        run: sphinx-build -b linkcheck -EW source build\n\n      - name: Check for documentation style errors\n        working-directory: ./docs\n        run: ./scripts/doc8_style_check.sh\n", "state": "active", "repository": "nexb/vulnerablecode"}
{"mined_at": "2024-07-15T15:44:25.464615", "created_at": "2020-12-16T18:20:05+01:00", "updated_at": "2022-04-09T11:00:50+02:00", "name": "run tests", "path": ".github/workflows/main.yml", "contents": "name: run tests\n\non: [push, pull_request]\n\nenv:\n  DB_NAME: vulnerablecode\n  DB_USER: vulnerablecode\n  DB_PASSWORD: vulnerablecode\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n\n    services:\n      postgres:\n        image: postgres:latest\n        env:\n          POSTGRES_DB: ${{ env.DB_NAME }}\n          POSTGRES_USER: ${{ env.DB_USER }}\n          POSTGRES_PASSWORD: ${{ env.DB_PASSWORD }}\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: make dev envfile\n\n# Disable codestyle checks until we have cleaned up the code\n#      - name: Validate code format\n#        run: make check\n\n      - name: Run tests\n        run: make test\n        env:\n          GH_TOKEN: 1 \n          POSTGRES_HOST: localhost\n          POSTGRES_PORT: 5432\n          VULNERABLECODE_DB_NAME: ${{ env.DB_NAME }}\n          VULNERABLECODE_DB_USER: ${{ env.DB_USER }}\n          VULNERABLECODE_DB_PASSWORD: ${{ env.DB_PASSWORD }}\n", "state": "active", "repository": "nexb/vulnerablecode"}
{"mined_at": "2024-07-15T15:44:26.510784", "created_at": "2023-01-02T15:31:42+01:00", "updated_at": "2023-01-02T15:31:42+01:00", "name": "Create library release archives, create a GH release and publish PyPI wheel and sdist on tag in main branch", "path": ".github/workflows/pypi-release.yml", "contents": "name: Create library release archives, create a GH release and publish PyPI wheel and sdist on tag in main branch\n\n\n# This is executed automatically on a tag in the main branch\n\n# Summary of the steps:\n# - build wheels and sdist\n# - upload wheels and sdist to PyPI\n# - create gh-release and upload wheels and dists there\n# TODO: smoke test wheels and sdist\n# TODO: add changelog to release text body\n\n# WARNING: this is designed only for packages building as pure Python wheels\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - \"v*.*.*\"\n\njobs:\n  build-pypi-distribs:\n    name: Build and publish library to PyPI\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@master\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n\n      - name: Install pypa/build\n        run: python -m pip install build --user\n\n      - name: Build a binary wheel and a source tarball\n        run: python -m build --sdist --wheel --outdir dist/\n\n      - name: Upload built archives\n        uses: actions/upload-artifact@v3\n        with:\n          name: pypi_archives\n          path: dist/*\n\n\n  create-gh-release:\n    name: Create GH release\n    needs:\n      - build-pypi-distribs\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Download built archives\n        uses: actions/download-artifact@v3\n        with:\n          name: pypi_archives\n          path: dist\n\n      - name: Create GH release\n        uses: softprops/action-gh-release@v1\n        with:\n          draft: true\n          files: dist/*\n\n\n  create-pypi-release:\n    name: Create PyPI release\n    needs:\n      - create-gh-release\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Download built archives\n        uses: actions/download-artifact@v3\n        with:\n          name: pypi_archives\n          path: dist\n\n      - name: Publish to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "nexb/vulnerablecode"}
{"mined_at": "2024-07-15T15:44:27.612961", "created_at": "2021-01-16T21:30:49+01:00", "updated_at": "2021-01-16T21:30:49+01:00", "name": ".github/workflows/test-import-using-nix.yml", "path": ".github/workflows/test-import-using-nix.yml", "contents": "on:\n  workflow_dispatch: # allow manual execution\n  schedule:\n    # run daily at 10:00am\n    - cron: '0 10 * * *'\n\njobs:\n  nix-check-and-import:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - uses: cachix/install-nix-action@v11\n        env:\n          ACTIONS_ALLOW_UNSECURE_COMMANDS: true\n        with:\n          nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz\n          install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-3.0pre20201007_5257a25/install\n          extra_nix_config: |\n            experimental-features = nix-command flakes\n      - name: run checks & test import\n        run: |\n          cd etc/nix\n          ./get-latest-pypi-deps-db.sh --in-place\n          nix --print-build-logs flake check\n          nix-shell --run ./test-import-using-nix.sh\n", "state": "active", "repository": "nexb/vulnerablecode"}
{"mined_at": "2024-07-15T15:44:28.818113", "created_at": "2021-03-13T07:33:18+01:00", "updated_at": "2021-03-13T07:33:18+01:00", "name": ".github/workflows/upstream_test.yml", "path": ".github/workflows/upstream_test.yml", "contents": "on:\n  workflow_dispatch: # allow manual execution\n  schedule:\n    # run on every 9 o'clock\n    - cron: '0 9 * * *'\n\njobs:\n  unit_tests:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Set up Python 3.8.11\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8.11\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get install -y postgresql python3-dev libpq-dev build-essential\n          make dev envfile\n\n      - name: Setup database\n        run: |\n          sudo systemctl start postgresql\n          make postgres\n    \n      - name: Run upstream tests\n        run: make webtest\n        env:\n          GH_TOKEN: 1 \n", "state": "active", "repository": "nexb/vulnerablecode"}
{"mined_at": "2024-07-15T15:44:30.960398", "created_at": "2021-01-24T10:39:55+01:00", "updated_at": "2022-08-16T09:54:56+02:00", "name": "CodeQL Analysis", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL Analysis\"\n\non:\n  push:\n    branches: [ master ]\n  schedule:\n    - cron: '0 4 * * *'\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read  # for github/codeql-action/init to get workflow details\n      contents: read  # for actions/checkout to fetch code\n      security-events: write  # for github/codeql-action/autobuild to send a status report\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:32.169521", "created_at": "2021-12-02T14:32:44+01:00", "updated_at": "2023-07-31T23:36:46+02:00", "name": ".github/workflows/agent-build.yml", "path": ".github/workflows/agent-build.yml", "contents": null, "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:33.216845", "created_at": "2022-07-29T20:19:56+02:00", "updated_at": "2023-09-18T06:05:34+02:00", "name": "Unittests", "path": ".github/workflows/unittests.yml", "contents": "name: Unittests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: '0 4 * * *'\n\njobs:\n  # Special job which automatically cancels old runs for the same branch, prevents runs for the\n  # same file set which has already passed, etc.\n  pre_job:\n    if: github.ref_name != '_release_build' && vars.UNIT_TESTS_DISABLED != 'true'\n    name: Skip Duplicate Jobs Pre Job\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write  # Needed for skip-duplicate-jobs job\n      contents: read\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@12aca0a884f6137d619d6a8a09fcc3406ced5281 # v4.0.0\n        with:\n          cancel_others: 'true'\n          github_token: ${{ github.token }}\n\n  coverage:\n    runs-on: ubuntu-latest\n    if: (success() || failure()) && (${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }})\n    needs:\n      - pre_job\n      - unittests\n      - monitor-smoketests\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        id: setup-python\n        with:\n          python-version: 3.8\n      - name: Install pycoverage\n        run: pip install coverage==4.5.4\n      - name: Download coverage reports\n        uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3\n        with:\n          path: reports\n\n      - name: Prepare Coverage Data for codecov.io\n        run: |\n          coverage combine reports/**/.coverage\n          coverage xml -i -o coverage.xml\n\n      - name: Upload Coverage to Codecov.io\n        uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # pin@v3.1.4\n        with:\n          files: ./coverage.xml\n          fail_ci_if_error: true\n\n  unittests:\n    name: Unittests - Python ${{ matrix.python-version }} - ${{ matrix.platform }}\n    runs-on: ${{ matrix.os }}\n\n    needs: pre_job\n    # NOTE: We always want to run job on master branch\n    if: (success() || failure()) && (${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }})\n\n    timeout-minutes: 10\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n        os:\n          - ubuntu-20.04\n        platform:\n          - ubuntu\n        include:\n          - os: windows-2022\n            platform: windows\n            python-version: \"3.10\"\n          - os: macos-11\n            platform: macos\n            python-version: \"3.10\"\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip' # caching pip dependencies\n          cache-dependency-path: |\n            dev-requirements-new.txt\n            benchmarks/micro/requirements-compression-algorithms.txt\n      - name: Install tox\n        env:\n          TOX_VERSION: 3.20.1\n          TOX_GH_ACTIONS_VERSION: 2.9.1\n        run: |\n          python -m pip install --upgrade pip\n          pip install \"tox==$TOX_VERSION\" \"tox-gh-actions==$TOX_GH_ACTIONS_VERSION\"\n\n      - name: Run Unit Tests\n        run: tox\n        env:\n          PLATFORM: ${{ matrix.platform }}\n          KIND: unittests\n\n      - name: Upload pytest test results\n        uses: actions/upload-artifact@v3\n        with:\n          name: pytest-results-${{ matrix.python-version }}-${{ matrix.platform }}\n          path: |\n            test-results/junit*.xml\n            .coverage\n        if: ${{ success() || failure() }}\n\n      - name: Notify Slack on Failure\n        if: ${{ failure() && github.ref_name == 'master' }}\n        uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: '#eng-dataset-cloud-tech'\n\n  monitor-smoketests:\n    name: Monitor Smoketests - Python ${{ matrix.python-version }}\n    runs-on: ubuntu-20.04\n    timeout-minutes: 10\n\n    needs: pre_job\n    # NOTE: We always want to run job on master branch\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }}\n\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip' # caching pip dependencies\n      - name: Install tox\n        env:\n          TOX_VERSION: 3.20.1\n          TOX_GH_ACTIONS_VERSION: 2.9.1\n        run: |\n          python -m pip install --upgrade pip\n          pip install \"tox==$TOX_VERSION\" \"tox-gh-actions==$TOX_GH_ACTIONS_VERSION\"\n\n      - name: Run Monitor Smoketests\n        run: |\n          rm -rf artifacts test-results .coverage\n          mkdir -p artifacts test-results\n          tox -e agent_monitors_ubuntu -- --artifacts-path artifacts -n 2 --junitxml=test-results/junit-1.xml\n        env:\n          SCALYR_API_KEY: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE }}\n          READ_API_KEY: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\n          SCALYR_SERVER: https://agent.scalyr.com\n          AGENT_HOST_NAME: monitors-test-${{ github.run_number }}\n\n      - name: Upload pytest test results\n        uses: actions/upload-artifact@v3\n        with:\n          name: pytest-results-${{ matrix.python-version }}-monitor-smoketests\n          path: |\n            .coverage\n            test-results/junit*.xml\n            artifacts\n        if: ${{ success() || failure() }}\n\n      - name: Notify Slack on Failure\n        if: ${{ failure() && github.ref_name == 'master' }}\n        uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: '#eng-dataset-cloud-tech'\n\n  # Runs agent from it source and performs some basic sanity checks.\n  agent-source-tests:\n    name: Python ${{ matrix.python-version  }} ${{ matrix.platform }} Agent Source End to End Test\n    runs-on: ${{ matrix.os }}\n    needs: pre_job\n    # NOTE: We always want to run job on master branch\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }}\n    container: ${{ matrix.container }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n        os:\n          - ubuntu-20.04\n        platform:\n          - ubuntu\n        include:\n          - os: macos-11\n            platform: macos\n            python-version: \"3.10\"\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip' # caching pip dependencies\n          cache-dependency-path: |\n            dev-requirements-new.txt\n            benchmarks/micro/requirements-compression-algorithms.txt\n\n      - name: Install tox\n        env:\n          TOX_VERSION: 3.20.1\n          TOX_GH_ACTIONS_VERSION: 2.9.1\n        run: |\n          python -m pip install --upgrade pip\n          pip install \"tox==$TOX_VERSION\" \"tox-gh-actions==$TOX_GH_ACTIONS_VERSION\"\n\n      - name: Run End to End Tests\n        run: tox\n        env:\n          SCALYR_API_KEY: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE }}\n          READ_API_KEY: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\n          TEST_SESSION_SUFFIX: ${{ matrix.python-version  }}-${{ matrix.os }}-${{ github.run_id }}-${{ github.run_attempt }}\n          KIND: end2end\n\n      - name: Upload pytest test results\n        uses: actions/upload-artifact@v3\n        with:\n          name: pytest-results-${{ matrix.python-version }}-${{ matrix.variant }}\n          path: |\n            test-results/junit*.xml\n        if: ${{ success() || failure() }}\n\n  publish-test-results:\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write   # Needed for publish test results job\n      pull-requests: write   # Needed for publish test results job\n    if: success() || failure()\n    needs:\n      - pre_job\n      - unittests\n      - monitor-smoketests\n    steps:\n      - name: Download test results\n        uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3\n        with:\n          path: reports\n      - name: Publish Test Results\n        uses: EnricoMi/publish-unit-test-result-action@283dea176069279a9076e77b548668a8e4f0c31b # pin@v2\n        with:\n          junit_files: \"reports/**/junit*.xml\"\n", "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:34.437909", "created_at": "2022-08-06T00:29:41+02:00", "updated_at": "2022-08-16T09:54:56+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: '0 4 * * *'\n\npermissions:\n  actions: write  # Needed for skip-duplicate-jobs job\n  contents: read\n\njobs:\n  # Special job which automatically cancels old runs for the same branch, prevents runs for the\n  # same file set which has already passed, etc.\n  pre_job:\n    name: Skip Duplicate Jobs Pre Job\n    runs-on: ubuntu-latest\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@12aca0a884f6137d619d6a8a09fcc3406ced5281 # v4.0.0\n        with:\n          cancel_others: 'true'\n          github_token: ${{ github.token }}\n\n  tox-lint:\n    runs-on: ubuntu-20.04\n    needs: pre_job\n    # NOTE: We always want to run job on master branch\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }}\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: Install Latest Stable Shellcheck\n        run: |\n          wget https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz\n          tar xvf shellcheck-stable.linux.x86_64.tar.xz\n          sudo cp shellcheck-stable/shellcheck /usr/local/bin\n          rm -rf shellcheck-stable*\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        id: setup-python\n        with:\n          python-version: 3.6.15\n\n      - name: Install tox\n        env:\n          TOX_VERSION: 3.20.1\n          TOX_GH_ACTIONS_VERSION: 2.9.1\n        run: |\n          python -m pip install --upgrade pip\n          pip install \"tox==$TOX_VERSION\" \"tox-gh-actions==$TOX_GH_ACTIONS_VERSION\" requests\n\n      - name: Run tox lint target\n        run: tox -e lint\n\n      - name: Verify Codecov config\n        # Small safety check to make sure the build fails if codecov.yml file is invalid.\n        # By default codecov doesn't fail on invalid config and simply falls back to\n        # system wide default config in case repo local config is invalid. This usually results\n        # in confused and undesired behavior.\n        run: ./scripts/circleci/verify-codecov-config.sh\n\n      - name: Verify add events api response headers\n        # Runs script which verifies /addEvents API returns correct response headers. In ideal\n        # world, this script would live somewhere else (perhaps as part of monitoring tooling,\n        # but for now it will live here.\n        env:\n          PYTHONPATH: .\n          SCALYR_TOKEN_PROD_US: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE }}\n          SCALYR_TOKEN_PROD_EU: ${{ secrets.CT_SCALYR_TOKEN_PROD_EU_MONITOR_WRITE }}\n          SCALYR_TOKEN_STAGING_EU: ${{ secrets.CT_SCALYR_TOKEN_STAGING_EU_PROD_WRITE }}\n        run: ./scripts/verify-add-events-api-response-headers.py\n\n      - name: Run Shell Scripts Lint Checks\n        env:\n          IGNORE_BINARY_DOESNT_EXIST: \"0\"\n        run: ./scripts/shell-scripts-lint.sh\n\n      - name: Generate Monitor Docs\n        run: |\n          tox -e generate-monitor-docs\n          # Verify there are no changes after generating the docs. If there\n          # are, this indicates developer didn't run this target locally and\n          # that some files are not up to date\n          git status\n          git status -- *docs/monitors/*.md */docs/monitorsDmd | (grep -q \"nothing to commit\" || (echo \"Auto-generate monitor doc files are not up to date. Make sure you run tox -e generate-monitor-docs and commit any changed files.\" && exit 1))\n\n      - name: Notify Slack on Failure\n        if: ${{ failure() && github.ref_name == 'master' }}\n        uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: '#eng-dataset-cloud-tech'\n", "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:36.344253", "created_at": "2023-01-22T23:58:45+01:00", "updated_at": "2023-09-05T11:06:24+02:00", "name": "Agent Build Refactored", "path": ".github/workflows/agent-build-new.yml", "contents": "name: Agent Build Refactored\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - v*.*.*\n  pull_request:\n    branches:\n      - master\n  workflow_dispatch:\n\n  schedule:\n    - cron: '0 4 * * *'\n\npermissions:\n  contents: read\n\njobs:\n  pre_job:\n    name: Skip Duplicate Jobs Pre Job\n    runs-on: ubuntu-22.04\n    permissions:\n      actions: write  # Needed for skip-duplicate-jobs job\n      contents: read\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n      python_version: ${{ steps.define_constants.outputs.python_version }}\n      cache_version: ${{ steps.define_constants.outputs.cache_version }}\n      aws_region: ${{ steps.define_constants.outputs.aws_region }}\n      aws_private_key_name: ${{ steps.define_constants.outputs.aws_private_key_name }}\n      cicd_workflow: ${{ steps.define_constants.outputs.cicd_workflow }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@12aca0a884f6137d619d6a8a09fcc3406ced5281 # v4.0.0\n        with:\n          cancel_others: 'true'\n          github_token: ${{ github.token }}\n\n      - name: Checkout repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - id: define_constants\n        run: |\n          echo \"python_version=3.8\" >> \"${GITHUB_OUTPUT}\"\n          echo \"cache_version=$GITHUB_REF_NAME\" >> \"${GITHUB_OUTPUT}\"\n          echo \"aws_region=us-east-1\" >> \"${GITHUB_OUTPUT}\"\n          echo \"cicd_workflow=${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}\" >> \"${GITHUB_OUTPUT}\"\n\n  build_linux_packages:\n    name: \"Build Linux packages\"\n    needs:\n      - pre_job\n    uses: ./.github/workflows/reusable-agent-build-linux-packages-new.yml\n    with:\n      python_version: ${{ needs.pre_job.outputs.python_version }}\n      cache_version: ${{ needs.pre_job.outputs.cache_version }}\n      aws_region: ${{ needs.pre_job.outputs.aws_region }}\n      cicd_workflow: ${{ needs.pre_job.outputs.cicd_workflow }}\n    secrets:\n      CT_AWS_DEV_EC2_PRIVATE_KEY: ${{ secrets.CT_AWS_DEV_EC2_PRIVATE_KEY }}\n      CT_AWS_DEV_EC2_PRIVATE_KEY_NAME: ${{ secrets.CT_AWS_DEV_EC2_PRIVATE_KEY_NAME }}\n      CT_AWS_DEV_EC2_ACCESS_KEY: ${{ secrets.CT_AWS_DEV_EC2_ACCESS_KEY }}\n      CT_AWS_DEV_EC2_SECRET_KEY: ${{ secrets.CT_AWS_DEV_EC2_SECRET_KEY }}\n      CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE }}\n      CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\n\n  # Invoke workflow that builds all agent container mages.\n  build_container_images:\n    name: \"Build Container Images ${{matrix.builder.builder-name}}\"\n    needs:\n      - pre_job\n    uses: ./.github/workflows/reusable-agent-build-container-images.yml\n    strategy:\n      matrix:\n        builder: ${{ fromJson(vars.ENABLED_BUILDERS) }}\n    with:\n      python_version: ${{ needs.pre_job.outputs.python_version }}\n      cache_version: ${{ needs.pre_job.outputs.cache_version }}\n      aws_region: ${{ needs.pre_job.outputs.aws_region }}\n      cicd_workflow: ${{ needs.pre_job.outputs.cicd_workflow }}\n      builder_name: ${{ matrix.builder.builder_name }}\n      base_image: ${{ matrix.builder.base_image }}\n      architectures: ${{ toJson(matrix.builder.architectures) }}\n    secrets:\n      CT_AWS_DEV_EC2_PRIVATE_KEY: ${{ secrets.CT_AWS_DEV_EC2_PRIVATE_KEY }}\n      CT_AWS_DEV_EC2_PRIVATE_KEY_NAME: ${{ secrets.CT_AWS_DEV_EC2_PRIVATE_KEY_NAME }}\n      CT_AWS_DEV_EC2_ACCESS_KEY: ${{ secrets.CT_AWS_DEV_EC2_ACCESS_KEY }}\n      CT_AWS_DEV_EC2_SECRET_KEY: ${{ secrets.CT_AWS_DEV_EC2_SECRET_KEY }}\n      CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE }}\n      CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\n      SCALYR_API_KEY_READ_2: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_2_READ }}\n      SCALYR_API_KEY_READ_3: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_3_READ }}\n      SCALYR_API_KEY_READ_4: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_4_READ }}\n      SCALYR_API_KEY_READ_5: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_5_READ }}\n      SCALYR_API_KEY_READ_6: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_6_READ }}\n      SCALYR_API_KEY_READ_7: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_7_READ }}\n      SCALYR_API_KEY_WRITE_2: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_2_WRITE }}\n      SCALYR_API_KEY_WRITE_3: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_3_WRITE }}\n      SCALYR_API_KEY_WRITE_4: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_4_WRITE }}\n      SCALYR_API_KEY_WRITE_5: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_5_WRITE }}\n      SCALYR_API_KEY_WRITE_6: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_6_WRITE }}\n      SCALYR_API_KEY_WRITE_7: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_7_WRITE }}\n      PULL_REGISTRY_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME_PROD_ACCOUNT }}\n      PULL_REGISTRY_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD_PROD_ACCOUNT }}\n      PUBLISH_REGISTRY_USERNAME: ${{ (github.ref_type == 'tag' || github.ref_name == 'master') && secrets.DOCKER_HUB_USERNAME_PROD_ACCOUNT || secrets.DOCKER_HUB_USERNAME_TEST_ACCOUNT }}\n      PUBLISH_REGISTRY_PASSWORD: ${{ (github.ref_type == 'tag' || github.ref_name == 'master') && secrets.DOCKER_HUB_PASSWORD_PROD_ACCOUNT || secrets.DOCKER_HUB_PASSWORD_TEST_ACCOUNT }}\n      INTERNAL_BUILD_REGISTRY_USERNAME: ${{ secrets.INTERNAL_BUILD_REGISTRY_USERNAME }}\n      INTERNAL_BUILD_REGISTRY_PASSWORD: ${{ secrets.INTERNAL_BUILD_REGISTRY_PASSWORD }}\n\n  build-windows-package:\n    name: \"Build Windows package\"\n    uses: ./.github/workflows/reusable-agent-build-windows.yml\n    secrets:\n      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n\n  build_tarball:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: Install python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8.13\"\n\n      - name: Build tarball\n        run: |\n          mkdir -p build/tarball/noarch\n          pushd build/tarball/noarch\n          python3 ../../../build_package.py tarball\n          popd\n\n      - name: Save tarball as artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: tarball-noarch\n          path: build\n          retention-days: 1\n\n      - name: Notify Slack on Failure\n        if: ${{ failure() && github.ref_name == 'master' }}\n        uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: '#eng-dataset-cloud-tech'\n\n\n  # Aggregate all agent build artifacts that we build by this workflow and put in a single artifact,\n  # so it's just need to download only one artifact, for example during a release process.\n  prepare-artifacts:\n    runs-on: ubuntu-20.04\n    needs:\n      - build_linux_packages\n      - build-windows-package\n      - build_tarball\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: Download artifacts\n        uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3\n        with:\n          path: /tmp/all_artifacts\n\n      - name: Prepare artifacts\n        run: |\n          mkdir -p /tmp/result_artifacts\n          cp -a /tmp/all_artifacts/linux-packages-*/. /tmp/result_artifacts\n          cp -a /tmp/all_artifacts/tarball-noarch/. /tmp/result_artifacts\n          cp -a /tmp/all_artifacts/windows-msi/. /tmp/result_artifacts\n\n      - name: Save result artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: result-artifacts\n          path: /tmp/result_artifacts\n          retention-days: 1\n\n  clean-ec2-tests-objects:\n    name: Remove ec2 object that were created by this workflow\n    if: ${{ always() }}\n    needs:\n      - pre_job\n      - build_container_images\n      - build_linux_packages\n      - build-windows-package\n      - build_tarball\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: install python and requirements\n        uses: ./.github/actions/install_python_and_requirements\n        with:\n          python_version: ${{ needs.pre_job.outputs.python_version }}\n\n      - name: Cleanup old prefix lists for ec2 test security group.\n        env:\n          AWS_ACCESS_KEY: ${{ secrets.CT_AWS_DEV_EC2_ACCESS_KEY }}\n          AWS_SECRET_KEY: ${{ secrets.CT_AWS_DEV_EC2_SECRET_KEY }}\n          AWS_PRIVATE_KEY_NAME: ${{ secrets.CT_AWS_DEV_EC2_PRIVATE_KEY_NAME }}\n          AWS_PRIVATE_KEY: ${{ secrets.CT_AWS_DEV_EC2_PRIVATE_KEY }}\n          AWS_REGION: ${{ needs.pre_job.outputs.aws_region }}\n          CICD_WORKFLOW: ${{ needs.pre_job.outputs.cicd_workflow }}\n        run: |\n          python3 agent_build_refactored/utils/scripts/cicd/cleanup_ec2_objects.py\n", "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:37.414958", "created_at": "2023-02-02T15:32:28+01:00", "updated_at": "2023-07-31T22:23:08+02:00", "name": "Agent Linux Packages Build Refactored", "path": ".github/workflows/reusable-agent-build-linux-packages-new.yml", "contents": "name: Agent Linux Packages Build Refactored\n\non:\n  workflow_call:\n    inputs:\n      python_version:\n        description: \"Version of Python to use.\"\n        type: string\n\n      cache_version:\n        description: \"Version suffix for the cache key. May be useful when it is needed to invalidate the cache.\"\n        type: string\n\n      aws_region:\n        description: \"AWS region for remote builds.\"\n        type: string\n\n      cicd_workflow:\n        description: \"Additional string that has to differentiate AWS object from another workflows.\"\n        type: string\n\n    outputs:\n      cache_miss:\n        description: \"Flag that indicates that packages are can not be build by using cache.\"\n        value: ${{ jobs.build_packages.outputs.cache_miss }}\n\n\n    secrets:\n      CT_AWS_DEV_EC2_PRIVATE_KEY:\n        required: true\n      CT_AWS_DEV_EC2_PRIVATE_KEY_NAME:\n        required: true\n      CT_AWS_DEV_EC2_ACCESS_KEY:\n        required: true\n      CT_AWS_DEV_EC2_SECRET_KEY:\n        required: true\n      CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE:\n        required: true\n      CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ:\n        required: true\n\nenv:\n  DOCKER_BUILDKIT: 1\n  # Set this variable to tell the agent build code that it runs in CI/CD and it needs to use caching.\n  AGENT_BUILD_IN_CICD: \"1\"\n\n# This job skips another workflows with identical content and also generates strategy matrices for all further jobs.\n# Since we can do a \"master\" run (on push and PR to a master branch) and \"non-master\" run, it generates matrices with different\n#  size according to that information.\njobs:\n  build_dependencies:\n    name: Build dependencies ${{ matrix.builder.name }}\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        builder:\n          - { \"name\": \"aio-aarch64\" }\n          - { \"name\": \"aio-x86_64\" }\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: install python and requirements\n        uses: ./.github/actions/install_python_and_requirements\n        with:\n          python_version: ${{ inputs.python_version }}\n\n      - name: Set up QEMU\n        id: qemu\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3\n        with:\n          image: tonistiigi/binfmt:qemu-v6.2.0\n          platforms: all\n\n      - name: Set up Docker Context for Buildx\n        id: buildx-context\n        run: |\n          docker context create builders || echo Already exists\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3\n        with:\n          driver-opts: network=host\n          endpoint: builders\n\n      - name: Expose GitHub Runtime To Be Able to Use GHA Cache By Docker.\n        uses: crazy-max/ghaction-github-runtime@715c25b40ccc0df9b62bfa8be3ccc57d09dbc4b1\n\n      - name: Build Dependencies\n        shell: bash\n        id: build\n        env:\n          AWS_ACCESS_KEY: ${{ secrets.CT_AWS_DEV_EC2_ACCESS_KEY }}\n          AWS_SECRET_KEY: ${{ secrets.CT_AWS_DEV_EC2_SECRET_KEY }}\n          AWS_PRIVATE_KEY_NAME: ${{ secrets.CT_AWS_DEV_EC2_PRIVATE_KEY_NAME }}\n          AWS_PRIVATE_KEY: ${{ secrets.CT_AWS_DEV_EC2_PRIVATE_KEY }}\n          AWS_REGION: ${{ inputs.aws_region }}\n          USE_GHA_CACHE: \"1\"\n          ALLOW_FALLBACK_TO_REMOTE_BUILDER: \"1\"\n          CACHE_VERSION: ${{ inputs.cache_version }}\n          CICD_WORKFLOW: ${{ inputs.cicd_workflow }}\n          CICD_JOB: ${{ matrix.builder.name }}\n        run: |\n          python3 build_package_new.py package ${{ matrix.builder.name }} build-dependencies\n\n  build_packages:\n    name: Build package ${{ matrix.variant.builder_name }}-${{ matrix.variant.package_type }}\n    runs-on: ${{ matrix.variant.runner }}\n    needs:\n      - build_dependencies\n    strategy:\n      matrix:\n        variant:\n          - { \"builder_name\": \"aio-x86_64\",  \"package_type\": \"deb\", runner: \"ubuntu-22.04\" }\n          - { \"builder_name\": \"aio-x86_64\",  \"package_type\": \"rpm\", runner: \"ubuntu-22.04\" }\n          - { \"builder_name\": \"aio-aarch64\", \"package_type\": \"deb\", runner: \"aws-aarch64\" }\n          - { \"builder_name\": \"aio-aarch64\", \"package_type\": \"rpm\", runner: \"aws-aarch64\" }\n          - { \"builder_name\": \"non-aio\",     \"package_type\": \"deb\", runner: \"ubuntu-22.04\" }\n          - { \"builder_name\": \"non-aio\",     \"package_type\": \"rpm\", runner: \"ubuntu-22.04\" }\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: install python and requirements\n        uses: actions/setup-python@v4\n        continue-on-error: true\n        with:\n          python_version: ${{ inputs.python_version }}\n\n      - name: Set up QEMU\n        id: qemu\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3\n        with:\n          image: tonistiigi/binfmt:qemu-v6.2.0\n          platforms: all\n\n      - name: Set up Docker Context for Buildx\n        id: buildx-context\n        run: |\n          docker context create builders || echo Already exists\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3\n        with:\n          driver-opts: network=host\n          endpoint: builders\n\n      - name: Expose GitHub Runtime To Be Able to Use GHA Cache By Docker.\n        uses: crazy-max/ghaction-github-runtime@715c25b40ccc0df9b62bfa8be3ccc57d09dbc4b1\n\n      - name: Build package\n        shell: bash\n        id: build\n        env:\n          USE_GHA_CACHE: \"1\"\n          CACHE_VERSION: ${{ inputs.cache_version }}\n        run: |\n          python3 build_package_new.py package ${{ matrix.variant.builder_name }} build \\\n            --package-type ${{ matrix.variant.package_type }}\n\n      - name: Save packages as artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: linux-packages-${{ matrix.variant.builder_name }}\n          path: build\n          retention-days: 1\n\n  test_packages:\n    name: Test package on ${{ matrix.test_target.distro-name }}-${{ matrix.test_target.remote-machine-type }}, ${{ matrix.test_target.builder }}\n    if: github.ref_name != '_release_build'\n    needs:\n      - build_packages\n\n    runs-on: ${{ matrix.test_target.runner }}\n    strategy:\n      fail-fast: false\n      matrix:\n        test_target:\n          - { \"package_type\": \"deb\", \"builder\": \"aio-x86_64\",  \"arch\": \"x86_64\", \"distro-name\": \"ubuntu2204\",    \"remote-machine-type\": \"ec2\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"deb\", \"builder\": \"aio-x86_64\",  \"arch\": \"x86_64\", \"distro-name\": \"ubuntu2004\",    \"remote-machine-type\": \"ec2\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"deb\", \"builder\": \"aio-x86_64\",  \"arch\": \"x86_64\", \"distro-name\": \"ubuntu1804\",    \"remote-machine-type\": \"ec2\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"deb\", \"builder\": \"aio-x86_64\",  \"arch\": \"x86_64\", \"distro-name\": \"ubuntu1604\",    \"remote-machine-type\": \"ec2\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"deb\", \"builder\": \"aio-x86_64\",  \"arch\": \"x86_64\", \"distro-name\": \"ubuntu1404\",    \"remote-machine-type\": \"docker\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"deb\", \"builder\": \"aio-x86_64\",  \"arch\": \"x86_64\", \"distro-name\": \"debian10\",      \"remote-machine-type\": \"ec2\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"deb\", \"builder\": \"aio-x86_64\",  \"arch\": \"x86_64\", \"distro-name\": \"debian11\",      \"remote-machine-type\": \"docker\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"rpm\", \"builder\": \"aio-x86_64\",  \"arch\": \"x86_64\", \"distro-name\": \"centos8\",       \"remote-machine-type\": \"docker\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"rpm\", \"builder\": \"aio-x86_64\",  \"arch\": \"x86_64\", \"distro-name\": \"centos7\",       \"remote-machine-type\": \"ec2\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"rpm\", \"builder\": \"aio-x86_64\",  \"arch\": \"x86_64\", \"distro-name\": \"centos6\",       \"remote-machine-type\": \"docker\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"rpm\", \"builder\": \"aio-x86_64\",  \"arch\": \"x86_64\", \"distro-name\": \"amazonlinux2\",  \"remote-machine-type\": \"ec2\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"deb\", \"builder\": \"aio-aarch64\", \"arch\": \"arm64\",  \"distro-name\": \"ubuntu1404\",    \"remote-machine-type\": \"docker\", runner: \"aws-aarch64\" }\n          - { \"package_type\": \"rpm\", \"builder\": \"aio-aarch64\", \"arch\": \"arm64\",  \"distro-name\": \"centos7\",       \"remote-machine-type\": \"docker\", runner: \"aws-aarch64\" }\n            # - { \"package_type\": \"deb\", \"builder\": \"non-aio\",     \"arch\": \"x86_64\", \"distro-name\": \"ubuntu1404\",    \"remote-machine-type\": \"ec2\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"deb\", \"builder\": \"non-aio\",     \"arch\": \"x86_64\", \"distro-name\": \"ubuntu2204\",    \"remote-machine-type\": \"docker\", runner: \"ubuntu-22.04\" }\n            # - { \"package_type\": \"rpm\", \"builder\": \"non-aio\",     \"arch\": \"x86_64\", \"distro-name\": \"centos7\",       \"remote-machine-type\": \"ec2\", runner: \"ubuntu-22.04\" }\n          - { \"package_type\": \"rpm\", \"builder\": \"non-aio\",     \"arch\": \"x86_64\", \"distro-name\": \"amazonlinux2\",  \"remote-machine-type\": \"docker\", runner: \"ubuntu-22.04\" }\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: Set up QEMU\n        id: qemu\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3\n        with:\n          image: tonistiigi/binfmt:qemu-v6.2.0\n          platforms: all\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3\n        with:\n          driver-opts: network=host\n\n      - name: Download built packages.\n        uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3\n        with:\n          name:  linux-packages-${{ matrix.test_target.builder }}\n          path: /tmp/packages\n\n      - name: Expose GitHub Runtime To Be Able to Use GHA Cache By Docker.\n        uses: crazy-max/ghaction-github-runtime@715c25b40ccc0df9b62bfa8be3ccc57d09dbc4b1\n\n      - name: install python and requirements\n        uses: ./.github/actions/install_python_and_requirements\n        with:\n          python_version: ${{ inputs.python_version }}\n\n      - name: Test '${{ matrix.test_target.builder }}' packages\n        env:\n          AWS_ACCESS_KEY: ${{ secrets.CT_AWS_DEV_EC2_ACCESS_KEY }}\n          AWS_SECRET_KEY: ${{ secrets.CT_AWS_DEV_EC2_SECRET_KEY }}\n          AWS_PRIVATE_KEY: ${{ secrets.CT_AWS_DEV_EC2_PRIVATE_KEY }}\n          AWS_PRIVATE_KEY_NAME: ${{ secrets.CT_AWS_DEV_EC2_PRIVATE_KEY_NAME }}\n          AWS_REGION: ${{ inputs.aws_region }}\n          CICD_WORKFLOW: ${{ inputs.cicd_workflow }}\n          CICD_JOB: ${{ matrix.test_target.builder }}-${{ matrix.test_target.package_type }}-${{ matrix.test_target.distro-name }}\n          USE_GHA_CACHE: \"1\"\n          CACHE_VERSION: ${{ inputs.cache_version }}\n\n          SCALYR_API_KEY: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE }}\n          READ_API_KEY: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\n          TEST_SESSION_SUFFIX: ${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}\n        run: |\n          python3 tests/end_to_end_tests/managed_packages_tests/remote_machine_tests/run_test_remotely.py \\\n            tests/end_to_end_tests/managed_packages_tests \\\n            -s \\\n            --builder-name ${{ matrix.test_target.builder }} \\\n            --distro-name ${{ matrix.test_target.distro-name }} \\\n            --remote-machine-type ${{ matrix.test_target.remote-machine-type }} \\\n            --package-type ${{ matrix.test_target.package_type }} \\\n            --packages-source-type dir \\\n            --packages-source /tmp/packages/${{ matrix.test_target.package_type }}\n", "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:38.440019", "created_at": "2023-03-02T20:25:32+01:00", "updated_at": "2023-03-02T20:25:32+01:00", "name": "agent-build-windows", "path": ".github/workflows/reusable-agent-build-windows.yml", "contents": "name: agent-build-windows\n\non:\n  workflow_call:\n    secrets:\n        SLACK_WEBHOOK_URL:\n          required: true\n\njobs:\n  build-windows-package:\n    name: Build windows MSI installer\n    runs-on: windows-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        id: setup-python\n        with:\n          python-version: '3.10'\n\n      - name: Install Requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev-requirements-new.txt\n\n      - name: Build agent package and installer\n        run: python build_package.py win32\n\n      - name: Save installer as artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: windows-msi\n          path: ScalyrAgentInstaller-*.msi\n\n      - name: Notify Slack on Failure\n        if: ${{ failure() && github.ref_name == 'master' }}\n        uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: '#eng-dataset-cloud-tech'\n", "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:39.493834", "created_at": "2023-07-04T00:45:33+02:00", "updated_at": "2023-07-04T00:45:33+02:00", "name": ".github/workflows/reusable-run-cacheable-steps.yml", "path": ".github/workflows/reusable-run-cacheable-steps.yml", "contents": null, "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:40.840380", "created_at": "2023-07-05T09:40:23+02:00", "updated_at": "2023-07-11T14:35:30+02:00", "name": "Build all cacheable dependencies", "path": ".github/workflows/reusable-build-cacheable-dependencies.yml", "contents": null, "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:41.905112", "created_at": "2023-07-05T11:55:54+02:00", "updated_at": "2023-07-05T12:38:42+02:00", "name": "TruffleHog Secrets Scan", "path": ".github/workflows/secrets-scanner.yaml", "contents": "name: TruffleHog Secrets Scan\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: '0 4 * * *'\n\npermissions:\n  contents: read\n\njobs:\n  TruffleHog:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n        with:\n          fetch-depth: 0\n\n      # Special check which ensures that the clone performed above is not shallow. We need the\n      # complete git history for scanning to work correctly in all the situations. In some cases\n      # if a shallow clone is used, trufflehog won't not fail with an error, but it would simply\n      # not detect any files and that could be dangerous.\n      - name: Shallow repo check\n        run: |\n          if git rev-parse --is-shallow-repository | grep -q \"true\"; then\n            echo \"Encountered a shallow repository, trufflehog may not work as expected!\"\n            exit 1\n          fi\n\n      - name: scan-pr\n        uses: trufflesecurity/trufflehog@main\n        if: ${{ github.event_name == 'pull_request' }}\n        with:\n          path: ./\n          base: ${{ github.event.repository.default_branch }}\n          head: HEAD\n          extra_args: --debug --only-verified\n\n      - name: scan-push\n        uses: trufflesecurity/trufflehog@main\n        if: ${{ github.event_name == 'push' }}\n        with:\n          path: ./\n          base: \"\"\n          head: ${{ github.ref_name }}\n          extra_args: --debug --only-verified\n\n      # As part of cron trigger we scan the whole repo directory.\n      # NOTE: Since trufflehog GHA is meant to be used in context of push / pr it can't be\n      # used dorectly to scan the whole repo directory. This may take a while, but it's good idea\n      # to run it on a daily basis.\n      - name: scan-cron\n        if: ${{ github.event_name == 'schedule' }}\n        run: |\n          docker run --rm -v \"$PWD:/workdir\" trufflesecurity/trufflehog:latest git \\\n            file:///workdir --fail --no-update --debug --only-verified\n\n      - name: Notify Slack on Failure\n        if: ${{ failure() && github.ref_name == 'master' }}\n        uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: '#eng-dataset-o11y'\n", "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:42.950280", "created_at": "2023-07-25T11:23:45+02:00", "updated_at": "2023-09-05T11:14:55+02:00", "name": "Kubernetes End to End Tests", "path": ".github/workflows/reusable-agent-build-container-images.yml", "contents": "name: \"Kubernetes End to End Tests\"\n\non:\n  workflow_call:\n    inputs:\n      python_version:\n        description: \"Version of Python to use.\"\n        type: string\n\n      cache_version:\n        description: \"Version suffix for the cache key. May be useful when it is needed to invalidate the cache.\"\n        type: string\n\n      aws_region:\n        description: \"AWS region for remote builds.\"\n        type: string\n\n      cicd_workflow:\n        description: \"Additional string that has to differentiate AWS object from another workflows.\"\n        type: string\n      \n      builder_name:\n        description: \"Builder name used to build docker images. Accepted values: ubuntu, alpine, ubuntu-fips.\"\n        type: string\n\n      base_image:\n        description: \"Base image to be used when bulding the docker image, i.e. ubuntu:22.04, alpine:latest.\"\n        type: string\n\n      architectures:\n        description: \"JSON representation of a list of architectures used in a stragety matrix in some jobs. Accepted values: x86_64, aarch64, armv7.\"\n        type: string\n\n    secrets:\n      CT_AWS_DEV_EC2_PRIVATE_KEY:\n        required: true\n      CT_AWS_DEV_EC2_PRIVATE_KEY_NAME:\n        required: true\n      CT_AWS_DEV_EC2_ACCESS_KEY:\n        required: true\n      CT_AWS_DEV_EC2_SECRET_KEY:\n        required: true\n      CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE:\n        required: true\n      CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ:\n        required: true\n      SCALYR_API_KEY_READ_2:\n        required: true\n      SCALYR_API_KEY_READ_3:\n        required: true\n      SCALYR_API_KEY_READ_4:\n        required: true\n      SCALYR_API_KEY_READ_5:\n        required: true\n      SCALYR_API_KEY_READ_6:\n        required: true\n      SCALYR_API_KEY_READ_7:\n        required: true\n      SCALYR_API_KEY_WRITE_2:\n        required: true\n      SCALYR_API_KEY_WRITE_3:\n        required: true\n      SCALYR_API_KEY_WRITE_4:\n        required: true\n      SCALYR_API_KEY_WRITE_5:\n        required: true\n      SCALYR_API_KEY_WRITE_6:\n        required: true\n      SCALYR_API_KEY_WRITE_7:\n        required: true\n      PULL_REGISTRY_USERNAME:\n        required: true\n      PULL_REGISTRY_PASSWORD:\n        required: true\n      PUBLISH_REGISTRY_USERNAME:\n        required: true\n      PUBLISH_REGISTRY_PASSWORD:\n        required: true\n      INTERNAL_BUILD_REGISTRY_USERNAME:\n        required: true\n      INTERNAL_BUILD_REGISTRY_PASSWORD:\n        required: true\n\njobs:\n  coverage:\n    runs-on: ubuntu-latest\n    if: ( success() || failure() ) && github.ref_name != '_release_build' && vars.UNIT_TESTS_DISABLED != 'true'\n    needs:\n      - k8s-smoketest\n      - docker-smoketest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        id: setup-python\n        with:\n          python-version: 3.8\n      - name: Install pycoverage\n        run: pip install coverage==4.5.4\n      - name: Download coverage reports\n        uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3\n        with:\n          path: reports\n\n      - name: Prepare Coverage Data for codecov.io\n        run: |\n          coverage combine reports/**/.coverage\n          coverage xml -i -o coverage.xml\n\n      - name: Upload Coverage to Codecov.io\n        uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # pin@v3.1.4\n        with:\n          files: ./coverage.xml\n          fail_ci_if_error: true\n\n  # Build cacheable requirements of the images.\n  build_image_requirements:\n    name: requirements-${{ inputs.builder_name }}-${{ matrix.architecture }}\n    runs-on: ${{ vars.RUNNER }}\n    strategy:\n      matrix:\n        architecture: ${{ fromJson(inputs.architectures) }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: install python and requirements\n        uses: ./.github/actions/install_python_and_requirements\n        with:\n          python_version: ${{ inputs.python_version }}\n\n      - name: Login to DockerHub\n        uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3\n        with:\n          username: ${{ secrets.PULL_REGISTRY_USERNAME }}\n          password: ${{ secrets.PULL_REGISTRY_PASSWORD }}\n\n      - name: Login to an internal build registry\n        if: vars.INTERNAL_BUILD_REGISTRY\n        uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3\n        continue-on-error: true\n        with:\n          registry: ${{ vars.INTERNAL_BUILD_REGISTRY }}\n          username: ${{ secrets.INTERNAL_BUILD_REGISTRY_USERNAME }}\n          password: ${{ secrets.INTERNAL_BUILD_REGISTRY_PASSWORD }}\n\n      - name: Set up QEMU\n        id: qemu\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3\n        with:\n          image: tonistiigi/binfmt:qemu-v6.2.0\n          platforms: all\n\n        # Context need to be created for a self-hosted runner\n      - name: Set up Docker Context for Buildx\n        id: buildx-context\n        run: |\n          docker context create builders || echo Already exists\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3 # v3\n        with:\n          driver-opts: network=host\n          endpoint: builders\n\n      - name: Expose GitHub Runtime To Be Able to Use GHA Cache By Docker.\n        uses: crazy-max/ghaction-github-runtime@715c25b40ccc0df9b62bfa8be3ccc57d09dbc4b1\n\n      - name: Build requirements\n        shell: bash\n        id: build\n        env:\n          AWS_ACCESS_KEY: ${{ secrets.CT_AWS_DEV_EC2_ACCESS_KEY }}\n          AWS_SECRET_KEY: ${{ secrets.CT_AWS_DEV_EC2_SECRET_KEY }}\n          AWS_PRIVATE_KEY: ${{ secrets.CT_AWS_DEV_EC2_PRIVATE_KEY }}\n          AWS_PRIVATE_KEY_NAME: ${{ secrets.CT_AWS_DEV_EC2_PRIVATE_KEY_NAME }}\n          AWS_REGION: ${{ inputs.aws_region }}\n          CICD_WORKFLOW: ${{ inputs.cicd_workflow }}\n          CICD_JOB: build_image_requirements-${{ inputs.builder_name }}-${{ matrix.architecture }}\n\n          USE_GHA_CACHE: \"1\"\n          ALLOW_FALLBACK_TO_REMOTE_BUILDER: \"1\"\n          CACHE_VERSION: ${{ inputs.cache_version }}\n        run: |\n          python3 build_package_new.py \\\n            image \\\n            ${{ inputs.builder_name }} \\\n            --base-image ${{ inputs.base_image }} \\\n            cache-requirements \\\n            --architecture ${{ matrix.architecture }}\n\n\n  build_image_tarball:\n    name: Build image tarball ${{  matrix.variant.image_type }}-${{ inputs.builder_name }}\n    runs-on: ${{ vars.RUNNER }}\n    needs:\n      - build_image_requirements\n    strategy:\n      matrix:\n        variant:\n          - { \"image_type\": \"k8s\" }\n          - { \"image_type\": \"docker-json\" }\n          - { \"image_type\": \"docker-syslog\" }\n          - { \"image_type\": \"docker-api\" }\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: install python and requirements\n        uses: ./.github/actions/install_python_and_requirements\n        with:\n          python_version: ${{ inputs.python_version }}\n\n      - name: Login to DockerHub\n        uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3\n        with:\n          username: ${{ secrets.PULL_REGISTRY_USERNAME }}\n          password: ${{ secrets.PULL_REGISTRY_PASSWORD }}\n      \n      - name: Login to an internal build registry\n        if: vars.INTERNAL_BUILD_REGISTRY\n        uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3\n        continue-on-error: true\n        with:\n          registry: ${{ vars.INTERNAL_BUILD_REGISTRY }}\n          username: ${{ secrets.INTERNAL_BUILD_REGISTRY_USERNAME }}\n          password: ${{ secrets.INTERNAL_BUILD_REGISTRY_PASSWORD }}\n\n\n      - name: Set up QEMU\n        id: qemu\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3\n        with:\n          image: tonistiigi/binfmt:qemu-v6.2.0\n          platforms: all\n        \n        # Context need to be created for a self-hosted runner\n      - name: Set up Docker Context for Buildx\n        id: buildx-context\n        run: |\n          docker context create builders || echo Already exists\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3\n        with:\n          driver-opts: network=host\n          endpoint: builders\n\n      - name: Expose GitHub Runtime To Be Able to Use GHA Cache By Docker.\n        uses: crazy-max/ghaction-github-runtime@715c25b40ccc0df9b62bfa8be3ccc57d09dbc4b1\n\n      - name: Build image tarball\n        shell: bash\n        id: build\n        env:\n          CICD_WORKFLOW: ${{ inputs.cicd_workflow }}\n          CICD_JOB: ${{  matrix.variant.image_type }}-${{ inputs.builder_name }}\n\n          USE_GHA_CACHE: \"1\"\n          CACHE_VERSION: ${{ inputs.cache_version }}\n        run: |\n          python3 build_package_new.py \\\n            image \\\n            ${{ inputs.builder_name }} \\\n            --base-image ${{ inputs.base_image }} \\\n            build-tarball \\\n            --image-type ${{  matrix.variant.image_type }} \\\n            --output-dir ./build\n      \n      - name: Save image OCI tarball as artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: container-image-tarball-${{  matrix.variant.image_type }}-${{ inputs.builder_name }}\n          path: build\n          retention-days: 1\n\n  # Jobs which performs basic sanity checks for the Kubernetes Monitor and Kubernetes Events Monitor\n  k8s_kubernetes_monitor_tests:\n    name: Kubernetes Monitors - k8s ${{ inputs.builder_name }} ${{ matrix.k8s_version.version }}-${{ matrix.k8s_version.runtime}}\n    runs-on: ubuntu-20.04\n    timeout-minutes: 15\n\n    if: ${{ ! vars.K8S_TESTS_DISABLED }}\n\n    needs:\n      - build_image_tarball\n\n    strategy:\n      fail-fast: false\n      matrix:\n        k8s_version:\n          # NOTE: We don't test under very old versions where CronJob was part of v2alpha1 since in\n          # those versions CronJobs are not enabled by default and need to be installed extra\n          - { \"version\": \"v1.17.17\", \"driver\": \"\", \"runtime\": \"docker\", \"run_cronjob_checks\": false }\n          - { \"version\": \"v1.20.15\", \"driver\": \"\", \"runtime\": \"docker\", \"run_cronjob_checks\": false }\n          - { \"version\": \"v1.21.10\", \"driver\": \"\", \"runtime\": \"docker\", \"run_cronjob_checks\": true }\n          - { \"version\": \"v1.22.7\", \"driver\": \"\", \"runtime\": \"docker\", \"run_cronjob_checks\": true }\n          # NOTE: Using containerd runtime in minikube on GHA only works with docker driver\n          - { \"version\": \"v1.23.17\", \"driver\": \"docker\", \"runtime\": \"containerd\", \"run_cronjob_checks\": true }\n          - { \"version\": \"v1.24.14\", \"driver\": \"docker\", \"runtime\": \"containerd\", \"run_cronjob_checks\": true }\n          - { \"version\": \"v1.25.10\", \"driver\": \"docker\", \"runtime\": \"containerd\", \"run_cronjob_checks\": true }\n          - { \"version\": \"v1.26.5\", \"driver\": \"docker\", \"runtime\": \"containerd\", \"run_cronjob_checks\": true }\n          # CRI-O\n          - { \"version\": \"v1.27.4\", \"driver\": \"docker\", \"runtime\": \"cri-o\", \"run_cronjob_checks\": true }\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n        with:\n          fetch-depth: 0\n\n      - name: install python and requirements\n        uses: ./.github/actions/install_python_and_requirements\n        with:\n          python_version: ${{ inputs.python_version }}\n\n      - name: Set up QEMU\n        id: qemu\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3\n        with:\n          image: tonistiigi/binfmt:qemu-v6.2.0\n          platforms: all\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3\n        with:\n          driver-opts: network=host\n\n      - name: Login to DockerHub\n        uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3\n        with:\n          username: ${{ secrets.PULL_REGISTRY_USERNAME }}\n          password: ${{ secrets.PULL_REGISTRY_PASSWORD }}\n\n      - name: Install Scalyr tool\n        run: |\n          curl https://raw.githubusercontent.com/scalyr/scalyr-tool/master/scalyr > scalyr\n          chmod +x scalyr\n          sudo mv scalyr /usr/local/bin\n\n      - name: Setup minikube k8s cluster\n        uses: ./.github/actions/setup-minikube-cluster/\n        with:\n          k8s_version: \"${{ matrix.k8s_version.version }}\"\n          minikube_driver: \"${{ matrix.k8s_version.driver }}\"\n          container_runtime: \"${{ matrix.k8s_version.runtime }}\"\n          github_token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n      - name: Preload minikube images\n        run: |\n          # Since the minikube runtimes we use cannot be reasonably configured to use custom credentials for docker hub, \n          # we need to pull the images and load them into minikube.\n          docker pull busybox:1.28\n          minikube image load busybox:1.28\n\n      - name: Download OCI tarball of the built image.\n        uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3\n        with:\n          name: container-image-tarball-k8s-${{ inputs.builder_name }}\n          path: /tmp/image_tarball\n\n      - name: Expose GitHub Runtime To Be Able to Use GHA Cache By Docker.\n        uses: crazy-max/ghaction-github-runtime@715c25b40ccc0df9b62bfa8be3ccc57d09dbc4b1\n\n      - name: Build Agent k8s Test Docker Image\n        env:\n          USE_GHA_CACHE: \"1\"\n          CACHE_VERSION: ${{ inputs.cache_version }}\n        run: |\n          python3 tests/end_to_end_tests/container_images_test/scripts/build_test_image.py \\\n            --image-builder-name ${{ inputs.builder_name }} \\\n            --base-image ${{ inputs.base_image }} \\\n            --architecture x86_64 \\\n            --image-oci-tarball /tmp/image_tarball/k8s-${{ inputs.builder_name }}.tar \\\n            --result-image-name k8s-image:test \\\n            --image-type k8s\n\n          docker image ls\n\n          # Needed for containerd or cri-o runtime\n          if [ \"${{ matrix.k8s_version.runtime }}\" = \"containerd\" ] || [ \"${{ matrix.k8s_version.runtime }}\" = \"cri-o\" ]; then\n            docker tag k8s-image:test docker.io/library/k8s-image:test\n            minikube image load docker.io/library/k8s-image:test\n          fi\n\n      # Here we build the dummy container which continuously prints data to stdout and stderr\n      - name: Build Dummy App Docker Images\n        run: |\n          docker build -f docker/Dockerfile.docker_monitor_testing_config -t std-printer scripts/\n          docker build -f docker/Dockerfile.long_message_printer -t long-message-printer scripts/\n          docker image ls\n\n          # Needed for containerd or cri-o runtime\n          if [ \"${{ matrix.k8s_version.runtime }}\" = \"containerd\" ] || [ \"${{ matrix.k8s_version.runtime }}\" = \"cri-o\" ]; then\n            for IMAGE in std-printer long-message-printer; do\n              docker tag ${IMAGE}:latest docker.io/library/${IMAGE}:latest\n              minikube image load docker.io/library/${IMAGE}:latest\n            done\n          fi\n\n      # Create pod for our mock std printer container which logs will be ingested by the agent\n      - name: Create mock pods\n        run: |\n          minikube image ls\n          kubectl apply -f tests/e2e/k8s_k8s_monitor/std_printer_deployment.yaml\n          kubectl apply -f tests/e2e/k8s_k8s_monitor/long_message_printer_deployment.yaml\n          \n          kubectl wait --for=condition=ready pod -l app=std-printer\n          kubectl wait --for=condition=ready pod -l app=long-message-printer\n          kubectl get pods -A\n\n          export APP_POD_NAME=$(kubectl get pod --namespace=default --selector=app=std-printer -o jsonpath=\"{.items[0].metadata.name}\")\n          echo \"APP_POD_NAME=${APP_POD_NAME}\" >> ${GITHUB_ENV}\n          echo \"APP_POD_NAME=${APP_POD_NAME}\"\n\n          echo \"\"\n          kubectl logs \"${APP_POD_NAME}\"\n          echo \"\" \n\n      - name: Create mock pods for multi account printer\n        env:\n          scalyr_api_key_write_team_2: \"${{ secrets.SCALYR_API_KEY_WRITE_2 }}\"\n          scalyr_api_key_write_team_3: \"${{ secrets.SCALYR_API_KEY_WRITE_3 }}\"\n          scalyr_api_key_write_team_4: \"${{ secrets.SCALYR_API_KEY_WRITE_4 }}\"\n          scalyr_api_key_write_team_5: \"${{ secrets.SCALYR_API_KEY_WRITE_5 }}\"\n          scalyr_api_key_write_team_6: \"${{ secrets.SCALYR_API_KEY_WRITE_6 }}\"\n          scalyr_api_key_write_team_7: \"${{ secrets.SCALYR_API_KEY_WRITE_7 }}\"\n        run: |\n          tests/e2e/k8s_k8s_monitor/multiple_account_printers/deploy.sh\n\n      # We create mock CronJob so we can assert that Kubernetes Events monitor correctly handles\n      # CronJob and Job Events.\n      - name: Create mock CronJob (v1)\n        if: ${{ matrix.k8s_version.run_cronjob_checks }}\n        run: |\n          # We need to use a different file for different K8s versions due to promotion (removal of\n          # old v1beta alias) from v1beta to v1 in v1.25.0. v1 has been available since v1.21.0\n          kubectl apply -f tests/e2e/k8s_events_monitor/cronjob_v1.yaml\n\n          kubectl get cronjob -A\n      - name: Wait random time to make it easier for the cloud github runners\n        run: sleep $((RANDOM % 60))\n\n      - name: Create scalyr-agent-2 daemonset\n        uses: ./.github/actions/install-k8s-agent/\n        with:\n          scalyr_server: \"agent.scalyr.com\"\n          scalyr_api_key: \"${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE }}\"\n          scalyr_api_key_team_2: \"${{ secrets.SCALYR_API_KEY_WRITE_2 }}\"\n          scalyr_api_key_team_3: \"${{ secrets.SCALYR_API_KEY_WRITE_3 }}\"\n          scalyr_api_key_team_4: \"${{ secrets.SCALYR_API_KEY_WRITE_4 }}\"\n          scalyr_cluster_name: \"${K8S_CLUSTER_NAME}\"\n          scalyr_k8s_events_disable: \"false\"\n          main_yaml_path: \"tests/e2e/scalyr-agent-2-daemonset.yaml\"\n\n      - name: Create mock Jobs\n        run: |\n          kubectl apply -f tests/e2e/k8s_k8s_monitor/short-lived-jobs.yaml\n          kubectl get job -A\n\n      - name: Verify data has been ingested\n        timeout-minutes: 14\n        env:\n          # Needed for scalyr-tool\n          scalyr_readlog_token: \"${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\"\n          SCALYR_AGENT_POD_NAME: \"${{ env.SCALYR_AGENT_POD_NAME }}\"\n          K8S_NODE_NAME: \"${{ env.K8S_NODE_NAME }}\"\n        run: |\n          export RETRY_ATTEMPTS=\"14\"\n          export SLEEP_DELAY=\"10\"\n\n          # Verify agent is running\n          echo \"Agent running checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/agent.log\" \"Starting scalyr agent...\"'\n\n          # Verify Kubernetes monitor is running\n          echo \"Kubernetes Monitor running checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/agent.log\" \"kubernetes_monitor parameters: ignoring namespaces: \"'\n          echo \"\"\n\n          # Verify Kubernetes events monitor is running\n          echo \"Kubernetes events monitor running checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/agent.log\" \"Starting monitor kubernetes_events_monitor\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/agent.log\" \"Acting as Kubernetes event leader\"'\n          echo \"\"\n\n          # Verify initial std-printer pod data has been ingested\n\n          # 1. First we want for some data to be ingested using \"log.config.scalyr.com/attributes.parser\"\n          # annotation set as part of the deployment YAML.\n          # After a while, we change that dynamically using kubectl and verify that this change has\n          # been correctly picked up by the agent.\n          echo Waiting 20s for some data to be ingested\n          sleep 20\n\n          echo \"Initial pod ingested data checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"std-printer\" parser=\"test-parser-1\" stream=\"stdout\" \"stdout: line 2\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"std-printer\" parser=\"test-parser-1\" stream=\"stderr\" \"stderr: line 2\"'\n          echo \"\"\n\n          kubectl describe pod ${APP_POD_NAME}\n          kubectl annotate --overwrite pods ${APP_POD_NAME} log.config.scalyr.com/attributes.parser=\"changed\"\n          kubectl describe pod ${APP_POD_NAME}\n\n          # Give agent some time to pick up the annotation change (by default we poll every 30 seconds\n          # for pod metadata changes, but we use lower value for the tests)\n          sleep 15\n\n          echo \"\"\n          echo \"Post annotation change data checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"std-printer\" parser=\"changed\" stream=\"stdout\" \"stdout: line\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"std-printer\" parser=\"changed\" stream=\"stderr\" \"stderr: line\"'\n          echo \"\"\n\n          # Verify Kubernetes Events Monitor events are ingested\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/kubernetes_events.log\" $parser=\"k8sEvents\" \"\\\"kind\\\":\\\"Event\\\"\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/kubernetes_events.log\" $parser=\"k8sEvents\" \"\\\"kind\\\":\\\"Pod\\\"\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/kubernetes_events.log\" $parser=\"k8sEvents\" \"involvedObject\"'\n          # This event is not always available under Kubernetes >= 1.25\n          #./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/kubernetes_events.log\" $parser=\"k8sEvents\" \"NodeReady\"'\n\n          agent_status=$(kubectl --namespace=scalyr exec -i ${SCALYR_AGENT_POD_NAME} --container scalyr-agent -- scalyr-agent-2 status -v)\n          k8s_event_log_files_number=$(echo \"$agent_status\" | grep -c 'Path /var/log/scalyr-agent-2/kubernetes_events.log: copied')\n\n          if [ \"$k8s_event_log_files_number\" != 1 ]; then\n            echo \"Kubernetes event monitor log has to be handled by the agent 1 time, but it got ${k8s_event_log_files_number}\"\n            exit 1\n          fi\n          \n          echo \"Wait for BEGIN DELAYED MESSAGE-END DELAYED MESSAGE lines. They should not be splitted.\"\n          MINIMUM_RESULTS=10 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"std-printer\" parser=\"test-parser-1\" stream=\"stdout\" \"BEGIN DELAYED MESSAGE stdout\"'\n          MINIMUM_RESULTS=10 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"std-printer\" parser=\"test-parser-1\" stream=\"stderr\" \"BEGIN DELAYED MESSAGE stderr\"'\n          echo \"Looking for partial lines.\"\n          RETRY_ATTEMPTS=1 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"std-printer\" parser=\"test-parser-1\" stream=\"stdout\" \"BEGIN DELAYED MESSAGE stdout\" !\"BEGIN DELAYED MESSAGE stdout-END DELAYED MESSAGE stdout\"' && echo -e $ERR_MSG && exit 1 || echo -e $SUCCESS_MSG\n          RETRY_ATTEMPTS=1 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"std-printer\" parser=\"test-parser-1\" stream=\"stderr\" \"BEGIN DELAYED MESSAGE stderr\" !\"BEGIN DELAYED MESSAGE stderr-END DELAYED MESSAGE stderr\"' && echo -e $ERR_MSG && exit 1 || echo -e $SUCCESS_MSG\n          echo 'Looking for mixed streams'\n          RETRY_ATTEMPTS=1 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"std-printer\" parser=\"test-parser-1\" stream=\"stdout\" \"stderr\"' && echo -e $MIXED_STREAMS_ERR_MSG && exit 1 || echo -e $MIXED_STREAMS_SUCCESS_MSG\n          RETRY_ATTEMPTS=1 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"std-printer\" parser=\"test-parser-1\" stream=\"stderr\" \"stdout\"' && echo -e $MIXED_STREAMS_ERR_MSG && exit 1 || echo -e $MIXED_STREAMS_SUCCESS_MSG\n          \n          echo \"Wait for BEGIN_LONG_MESSAGE .* END_LONG_MESSAGE lines. They should not be splitted.\"\n          MINIMUM_RESULTS=10 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"long-message-printer\" parser=\"test-parser-2\" stream=\"stdout\" \"stdout_BEGIN_LONG_MESSAGE\"'\n          MINIMUM_RESULTS=10 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"long-message-printer\" parser=\"test-parser-2\" stream=\"stderr\" \"stderr_BEGIN_LONG_MESSAGE\"'\n          echo \"Looking for partial lines.\"\n          RETRY_ATTEMPTS=1 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"long-message-printer\" parser=\"test-parser-2\" stream=\"stdout\" \"stdout_BEGIN_LONG_MESSAGE\" !(message matches \"BEGIN_LONG_MESSAGE.*END_LONG_MESSAGE\")'  && echo -e $ERR_MSG && exit 1 || echo -e $SUCCESS_MSG\n          RETRY_ATTEMPTS=1 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"long-message-printer\" parser=\"test-parser-2\" stream=\"stderr\" \"stderr_BEGIN_LONG_MESSAGE\" !(message matches \"BEGIN_LONG_MESSAGE.*END_LONG_MESSAGE\")'  && echo -e $ERR_MSG && exit 1 || echo -e $SUCCESS_MSG\n          echo 'Looking for mixed streams'\n          RETRY_ATTEMPTS=1 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"long-message-printer\" parser=\"test-parser-2\" stream=\"stdout\" \"stderr\"'  && echo -e $MIXED_STREAMS_ERR_MSG && exit 1 || echo -e $MIXED_STREAMS_SUCCESS_MSG\n          RETRY_ATTEMPTS=1 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" app=\"long-message-printer\" parser=\"test-parser-2\" stream=\"stderr\" \"stdout\"'  && echo -e $MIXED_STREAMS_ERR_MSG && exit 1 || echo -e $MIXED_STREAMS_SUCCESS_MSG\n\n          \n          echo \"\"\n\n      # We only assert this under newer Kubernetes versions since in the old ones CronJobs were not\n      # available out of the box\n      - name: Verify Job and CronJob events are ingested\n        if: ${{ matrix.k8s_version.run_cronjob_checks }}\n        timeout-minutes: 5\n        env:\n          # Needed for scalyr-tool\n          scalyr_readlog_token: \"${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\"\n          SCALYR_AGENT_POD_NAME: \"${{ env.SCALYR_AGENT_POD_NAME }}\"\n          K8S_NODE_NAME: \"${{ env.K8S_NODE_NAME }}\"\n        run: |\n          export RETRY_ATTEMPTS=\"14\"\n          export SLEEP_DELAY=\"10\"\n          \n          # Wait for at least one hello-printer job to be scheduled and completed. \n          RETRIES=1; \n          until echo -n \"Waiting for first job to be completed - retry $RETRIES: \" && kubectl wait --for=condition=complete job -l app=hello-printer || [ $RETRIES -gt 60 ]; do sleep 1; RETRIES=$(($RETRIES+1)); done\n          [ $RETRIES -gt 60 ] && echo \"Job didn't start in time\" && exit 1\n\n          # Verify agent is running\n          echo \"Job events checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/kubernetes_events.log\" $parser=\"k8sEvents\" k8s-kind=\"Job\" watchEventType=\"ADDED\" reason=\"Completed\"'\n\n          echo \"CronJob events checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/kubernetes_events.log\" $parser=\"k8sEvents\" k8s-kind=\"CronJob\" involvedObjectKind=\"CronJob\" involvedObjectName=\"hello\" watchEventType=\"ADDED\" reason=\"SawCompletedJob\"'\n          \n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" \"Hello from the Kubernetes cluster\"'\n\n      - name: Check the short lived pods logs are ingested - 404 response handling\n        if: ${{ matrix.k8s_version.runtime != 'docker' }}\n        env:\n          # Needed for scalyr-tool\n          scalyr_readlog_token: \"${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\"\n          SCALYR_AGENT_POD_NAME: \"${{ env.SCALYR_AGENT_POD_NAME }}\"\n        run: |\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" message matches \"Pod default/short-lived-job-1.* not found in K8s API. Including pod based on SCALYR_K8S_INCLUDE_ALL_CONTAINERS=true.\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" message matches \"Pod default/short-lived-job-2.* not found in K8s API. Including pod based on SCALYR_K8S_INCLUDE_ALL_CONTAINERS=true.\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" message matches \"Pod default/short-lived-job-3.* not found in K8s API. Including pod based on SCALYR_K8S_INCLUDE_ALL_CONTAINERS=true.\"'\n          \n      - name: Check the short lived pods logs are ingested - log message\n        env:\n          # Needed for scalyr-tool\n          scalyr_readlog_token: \"${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\"\n          SCALYR_AGENT_POD_NAME: \"${{ env.SCALYR_AGENT_POD_NAME }}\"\n        run: |\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" \"Message from short-lived-container-1\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" \"Message from short-lived-container-2\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" \"Message from short-lived-container-3\"'\n\n      - name: Install Testing Python Packages\n        run: |\n          python3 -m pip install kubernetes tabulate\n\n      - name: Verify multiaccount records have been ingested\n        timeout-minutes: 14\n        env:\n          SCALYR_API_KEY_READ_TEAM_1: \"${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\"\n          SCALYR_API_KEY_READ_TEAM_2: \"${{ secrets.SCALYR_API_KEY_READ_2 }}\"\n          SCALYR_API_KEY_READ_TEAM_3: \"${{ secrets.SCALYR_API_KEY_READ_3 }}\"\n          SCALYR_API_KEY_READ_TEAM_4: \"${{ secrets.SCALYR_API_KEY_READ_4 }}\"\n          SCALYR_API_KEY_READ_TEAM_5: \"${{ secrets.SCALYR_API_KEY_READ_5 }}\"\n          SCALYR_API_KEY_READ_TEAM_6: \"${{ secrets.SCALYR_API_KEY_READ_6 }}\"\n          SCALYR_API_KEY_READ_TEAM_7: \"${{ secrets.SCALYR_API_KEY_READ_7 }}\"\n          SERVER_HOST: \"${{ env.SCALYR_AGENT_POD_NAME }}\"\n          ACCOUNT_NAME_1: \"cloudtech-testing@scalyr.com\"\n          ACCOUNT_NAME_2: \"cloudtech-testing-2@scalyr.com\"\n          ACCOUNT_NAME_3: \"cloudtech-testing-3@scalyr.com\"\n          ACCOUNT_NAME_4: \"cloudtech-testing-4@scalyr.com\"\n          ACCOUNT_NAME_5: \"cloudtech-testing-5@scalyr.com\"\n          ACCOUNT_NAME_6: \"cloudtech-testing-6@scalyr.com\"\n          ACCOUNT_NAME_7: \"cloudtech-testing-7@scalyr.com\"\n        run: |\n          echo 'Looking for multiple account logs'\n          \n          ./scripts/cicd/verify-multiaccount-records-have-been-ingested.py\n\n      - name: Notify Slack on Failure\n        if: ${{ failure() && github.ref_name == 'master' }}\n        uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: '#eng-dataset-cloud-tech'\n\n\n  k8s_open_metrics_monitor_tests:\n    name: OpenMetrics Monitor - k8s ${{ inputs.builder_name }} ${{ matrix.k8s_version.version }}-${{ matrix.k8s_version.runtime}}\n    runs-on: ubuntu-20.04\n    if: vars.K8S_TESTS_DISABLED != 'true' && github.ref_name != '_release_build' && inputs.builder_name != 'alpine'\n    timeout-minutes: 15\n\n    needs:\n      - build_image_tarball\n\n    strategy:\n      fail-fast: false\n      matrix:\n        k8s_version:\n          - { \"version\": \"v1.17.17\", \"driver\": \"\", \"runtime\": \"docker\" }\n          - { \"version\": \"v1.20.15\", \"driver\": \"\", \"runtime\": \"docker\" }\n          - { \"version\": \"v1.21.10\", \"driver\": \"\", \"runtime\": \"docker\" }\n          - { \"version\": \"v1.22.7\", \"driver\": \"\", \"runtime\": \"docker\" }\n          # NOTE: Using containerd runtime in minikube on  GHA only works with docker driver\n          - { \"version\": \"v1.23.17\", \"driver\": \"docker\", \"runtime\": \"containerd\" }\n          - { \"version\": \"v1.24.14\", \"driver\": \"docker\", \"runtime\": \"containerd\" }\n          - { \"version\": \"v1.25.10\", \"driver\": \"docker\", \"runtime\": \"containerd\" }\n          - { \"version\": \"v1.26.5\", \"driver\": \"docker\", \"runtime\": \"containerd\" }\n          # CRI-O\n          - { \"version\": \"v1.27.4\", \"driver\": \"docker\", \"runtime\": \"cri-o\" }\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n        with:\n          fetch-depth: 0\n\n      - name: install python and requirements\n        uses: ./.github/actions/install_python_and_requirements\n        with:\n          python_version: ${{ inputs.python_version }}\n\n      - name: Set up QEMU\n        id: qemu\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3\n        with:\n          image: tonistiigi/binfmt:qemu-v6.2.0\n          platforms: all\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3\n        with:\n          driver-opts: network=host\n\n      - name: Install Scalyr tool\n        run: |\n          curl https://raw.githubusercontent.com/scalyr/scalyr-tool/master/scalyr > scalyr\n          chmod +x scalyr\n          sudo mv scalyr /usr/local/bin\n\n      - name: Setup minikube k8s cluster\n        uses: ./.github/actions/setup-minikube-cluster/\n        with:\n          k8s_version: \"${{ matrix.k8s_version.version }}\"\n          minikube_driver: \"${{ matrix.k8s_version.driver }}\"\n          container_runtime: \"${{ matrix.k8s_version.runtime }}\"\n          github_token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n      - name: Download OCI tarball of the built image.\n        uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3\n        with:\n          name: container-image-tarball-k8s-${{ inputs.builder_name }}\n          path: /tmp/image_tarball\n\n      - name: Expose GitHub Runtime To Be Able to Use GHA Cache By Docker.\n        uses: crazy-max/ghaction-github-runtime@715c25b40ccc0df9b62bfa8be3ccc57d09dbc4b1\n\n      - name: Build Agent k8s Test Docker Image\n        env:\n          USE_GHA_CACHE: \"1\"\n          CACHE_VERSION: ${{ inputs.cache_version }}\n        run: |\n          python3 tests/end_to_end_tests/container_images_test/scripts/build_test_image.py \\\n            --image-builder-name ${{ inputs.builder_name }} \\\n            --base-image ${{ inputs.base_image }} \\\n            --architecture x86_64 \\\n            --image-oci-tarball /tmp/image_tarball/k8s-${{ inputs.builder_name }}.tar \\\n            --result-image-name k8s-image:test \\\n            --image-type k8s\n\n          docker image ls\n          \n          # Needed for containerd or cri-o runtime\n          if [ \"${{ matrix.k8s_version.runtime }}\" = \"containerd\" ] || [ \"${{ matrix.k8s_version.runtime }}\" = \"cri-o\" ]; then\n            docker tag k8s-image:test docker.io/library/k8s-image:test\n            minikube image load docker.io/library/k8s-image:test\n          fi\n\n      # Here we build the dummy Java app image which exposes JMX metrics via exporter\n      - name: Build Test Java App Docker Image\n        run: |\n          pushd tests/e2e/k8s_om_monitor/java-hello-world\n          docker build -t java-hello-world .\n          popd\n\n          docker image ls\n\n          # Needed for containerd or cri-o runtime\n          if [ \"${{ matrix.k8s_version.runtime }}\" = \"containerd\" ] || [ \"${{ matrix.k8s_version.runtime }}\" = \"cri-o\" ]; then\n            docker tag java-hello-world:latest docker.io/library/java-hello-world:latest\n            minikube image load docker.io/library/java-hello-world:latest\n          fi\n\n      # Create mock pods and exporters which will be scrapped by the monitor\n      - name: Create mock pods and exporters\n        run: |\n          kubectl create namespace monitoring\n\n          # 1. node exporter pod\n          kubectl apply -f tests/e2e/k8s_om_monitor/node_exporter.yaml\n\n          # 2. kube state metrics deployment\n          kubectl apply -k tests/e2e/k8s_om_monitor/kube-state-metrics/\n\n          # 3. Install dummy java app container with jmx exporter side\n          kubectl apply -f tests/e2e/k8s_om_monitor/java_app_deployment.yaml\n\n          sleep 20\n          kubectl get pods -A\n\n      - name: Create scalyr-agent-2 daemonset\n        uses: ./.github/actions/install-k8s-agent/\n        with:\n          scalyr_server: \"agent.scalyr.com\"\n          scalyr_api_key: \"${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE }}\"\n          scalyr_cluster_name: \"${K8S_CLUSTER_NAME}\"\n          main_yaml_path: \"tests/e2e/k8s_om_monitor/scalyr-agent-2-daemonset.yaml\"\n          # Monitor is not enabled by default yet since it's still in preview and testing phase so\n          # we expliticly enable it here\n          extra_yaml_paths: \"tests/e2e/k8s_om_monitor/scalyr-agent-extra-config-configmap.yaml\"\n\n      - name: Verify data has been ingested\n        timeout-minutes: 14\n        env:\n          # Needed for scalyr-tool\n          scalyr_readlog_token: \"${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\"\n          SCALYR_AGENT_POD_NAME: \"${{ env.SCALYR_AGENT_POD_NAME }}\"\n          K8S_NODE_NAME: \"${{ env.K8S_NODE_NAME }}\"\n          K8S_CLUSTER_NAME: \"${{ env.K8S_CLUSTER_NAME }}\"\n        run: |\n          export RETRY_ATTEMPTS=\"30\"\n          export SLEEP_DELAY=\"10\"\n          \n          # Verify agent is running\n          echo \"Agent running checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/agent.log\" \"Starting scalyr agent...\"'\n\n          # Verify monitor is running\n          echo \"Monitor running checks\"\n          kubectl get pods -A\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/agent.log\" \"Found 3 URL(s) to scrape for node\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile=\"/var/log/scalyr-agent-2/agent.log\" \"There are currently 3 dynamic and 2 static open metrics monitors running\"'\n          echo \"\"\n\n          # Kubernetes API metrics (static monitor)\n          echo \"Kubernetes API metrics monitor checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-kubernetes-api-metrics.log\" \"process_max_fds 1000000 k8s-cluster=\\\"'${K8S_CLUSTER_NAME}'\\\" k8s-node=\\\"'${K8S_NODE_NAME}'\\\"\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-kubernetes-api-metrics.log\" \"process_open_fds \"'\n\n          # Kubernetes API cAdvisor metrics (static monitor)\n          echo \"Kubernetes API cAdvisor metrics monitor checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-kubernetes-api-cadvisor-metrics\" \"machine_cpu_cores '$(nproc --all)'\"'\n          MINIMUM_RESULTS=2 ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-kubernetes-api-cadvisor-metrics\" \"container_cpu_load_average_10s \"'\n          # Verify locally calculated rate metrics\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-kubernetes-api-cadvisor-metrics\" \"container_cpu_usage_seconds_total_rate \"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-kubernetes-api-cadvisor-metrics\" \"container_network_receive_bytes_total_rate \"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-kubernetes-api-cadvisor-metrics\" \"container_network_transmit_bytes_total_rate \"'\n\n          # 2. Verify node exporter metrics\n          echo \"Node exporter metrics monitor checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-node-exporter-\" \"process_max_fds \"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-node-exporter-\" \"process_open_fds \"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-node-exporter-\" \"node_vmstat_pswpin \"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-node-exporter-\" \"node_vmstat_pswpout \"'\n          # Verify locally calculated rate metrics\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-node-exporter-\" \"node_cpu_seconds_total_rate \"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-node-exporter-\" \"node_network_transmit_bytes_total_rate \"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-node-exporter-\" \"node_network_receive_bytes_total_rate \"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-node-exporter-\" \"node_disk_read_bytes_total_rate \"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'-node-exporter-\" \"node_disk_written_bytes_total_rate \"'\n\n          # 3. Verify kube state event metrics\n          echo \"Kube state events metrics monitor checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'\" $logfile contains \"kube-state-metrics\" \"kube_storageclass_labels 1 k8s-cluster=\\\"'${K8S_CLUSTER_NAME}'\\\" k8s-node=\\\"'${K8S_NODE_NAME}'\\\" storageclass=\\\"standard\\\"\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'\" $logfile contains \"kube-state-metrics\" \"kube_secret_type 1 k8s-cluster=\\\"'${K8S_CLUSTER_NAME}'\\\" k8s-node=\\\"'${K8S_NODE_NAME}'\\\" namespace=\\\"scalyr\\\" secret=\\\"scalyr-api-key\\\" type=\\\"Opaque\\\"\"'\n\n          # 4. Verify java app JMX metrics\n          echo \"Java JMX metrics events metrics monitor checks\"\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'\" $logfile contains \"java-hello-world\" \"jmx_scrape_error 0.0 app=\\\"java-hello-world\\\" app_instance=\\\"java-hello-world-1\\\" attribute1=\\\"value1\\\" k8s-cluster=\\\"'${K8S_CLUSTER_NAME}'\\\" k8s-node=\\\"'${K8S_NODE_NAME}'\\\"\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'\" $logfile contains \"java-hello-world\" \"jmx_scrape_cached_beans 0.0 app=\\\"java-hello-world\\\" app_instance=\\\"java-hello-world-1\\\" attribute1=\\\"value1\\\" k8s-cluster=\\\"'${K8S_CLUSTER_NAME}'\\\" k8s-node=\\\"'${K8S_NODE_NAME}'\\\"\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'\" $logfile contains \"java-hello-world\" \"jvm_info 1.0 app=\\\"java-hello-world\\\" app_instance=\\\"java-hello-world-1\\\" attribute1=\\\"value1\\\" k8s-cluster=\\\"'${K8S_CLUSTER_NAME}'\\\" k8s-node=\\\"'${K8S_NODE_NAME}'\\\" runtime=\"'\n\n          # Client side calculated per second rate metrics\n          # NOTE: There is no easy way to assert on the actual rate metric value here (we have unit tests for that)\n          # so we just assert that the metric is present.\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'\" $logfile contains \"java-hello-world\" \"jvm_threads_started_total_rate\" \"app=\\\"java-hello-world\\\" app_instance=\\\"java-hello-world-1\\\" attribute1=\\\"value1\\\" k8s-cluster=\\\"'${K8S_CLUSTER_NAME}'\\\" k8s-node=\\\"'${K8S_NODE_NAME}'\\\"\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'\" $logfile contains \"java-hello-world\" \"jvm_memory_pool_allocated_bytes_total_rate\" \"app=\\\"java-hello-world\\\" app_instance=\\\"java-hello-world-1\\\" attribute1=\\\"value1\\\" k8s-cluster=\\\"'${K8S_CLUSTER_NAME}'\\\" k8s-node=\\\"'${K8S_NODE_NAME}'\\\"\"'\n          ./scripts/cicd/scalyr-query.sh '$serverHost=\"'${SCALYR_AGENT_POD_NAME}'\" $logfile contains \"openmetrics_monitor-'${K8S_NODE_NAME}'\" $logfile contains \"java-hello-world\" \"process_cpu_seconds_total_rate\" \"app=\\\"java-hello-world\\\" app_instance=\\\"java-hello-world-1\\\" attribute1=\\\"value1\\\" k8s-cluster=\\\"'${K8S_CLUSTER_NAME}'\\\" k8s-node=\\\"'${K8S_NODE_NAME}'\\\"\"'\n\n      - name: Notify Slack on Failure\n        if: ${{ failure() && github.ref_name == 'master' }}\n        uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: '#eng-dataset-cloud-tech'\n\n  k8s-smoketest:\n    runs-on: ${{ vars.RUNNER }}\n    needs:\n      - build_image_tarball\n    name: K8s Smoketest - ${{ inputs.builder_name }}\n    if: vars.K8S_TESTS_DISABLED != 'true' && github.ref_name != '_release_build' && (github.event_name != 'pull_request' || ! github.event.pull_request.draft)\n    steps: \n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: install python and requirements\n        uses: ./.github/actions/install_python_and_requirements\n        with:\n          python_version: ${{ inputs.python_version }}\n\n      - name: Set up QEMU\n        id: qemu\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3\n        with:\n          image: tonistiigi/binfmt:qemu-v6.2.0\n          platforms: all\n\n      - name: Login to DockerHub\n        uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3\n        with:\n          username: ${{ secrets.PULL_REGISTRY_USERNAME }}\n          password: ${{ secrets.PULL_REGISTRY_PASSWORD }}\n\n      - name: Set up Docker Context for Buildx\n        id: buildx-context\n        run: |\n          docker context create builders || echo Already exists  \n      \n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3\n        with:\n          driver-opts: network=host\n          endpoint: builders\n\n      - name: Expose GitHub Runtime To Be Able to Use GHA Cache By Docker.\n        uses: crazy-max/ghaction-github-runtime@715c25b40ccc0df9b62bfa8be3ccc57d09dbc4b1\n\n      - name: Setup minikube k8s cluster\n        uses: ./.github/actions/setup-minikube-cluster/\n        with:\n          k8s_version: v1.22.0\n          minikube_driver: \"\"\n          container_runtime: \"docker\"\n          github_token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n      - name: Download OCI tarball of the built image.\n        uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3\n        with:\n          name: container-image-tarball-k8s-${{ inputs.builder_name }}\n          path: /tmp/image_tarball\n\n      - name: Expose GitHub Runtime To Be Able to Use GHA Cache By Docker.\n        uses: crazy-max/ghaction-github-runtime@715c25b40ccc0df9b62bfa8be3ccc57d09dbc4b1\n\n\n      - name: Build test image\n        env:\n          USE_GHA_CACHE: \"1\"\n          CACHE_VERSION: ${{ inputs.cache_version }}\n        run: |\n          python3 tests/end_to_end_tests/container_images_test/scripts/build_test_image.py \\\n            --image-builder-name ${{ inputs.builder_name }} \\\n            --base-image ${{ inputs.base_image }} \\\n            --architecture x86_64 \\\n            --image-oci-tarball /tmp/image_tarball/k8s-${{ inputs.builder_name }}.tar \\\n            --result-image-name k8s-image:test \\\n            --image-type k8s\n\n      - name: Run Tests (with coverage)\n        env:\n          CIRCLE_BUILD_NUM: ${{ github.run_number }}\n          SCALYR_SERVER: https://agent.scalyr.com\n          SCALYR_API_KEY: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE }}\n          READ_API_KEY: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\n        run: |\n          source ./.circleci/smoketest_k8s.sh scalyr/scalyr-agent-ci-unittest:4 150 no_delete_existing_k8s_objs k8s-image:test\n\n      - name: Upload test results\n        uses: actions/upload-artifact@v3\n        with:\n          name: k8s-smoketest\n          path: |\n            .coverage\n        if: ${{ success() || failure() }}\n\n      - name: Notify Slack on Failure\n        if: ${{ failure() && github.ref_name == 'master' }}\n        uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: '#eng-dataset-cloud-tech'\n\n  docker-smoketest:\n    name: Docker Smoketest - ${{ inputs.builder_name }} ${{ matrix.variant.image_type }}\n    if: github.ref_name != '_release_build'\n    needs:\n      - build_image_tarball\n    runs-on: ${{ vars.RUNNER }}\n    strategy:\n      fail-fast: false\n      matrix:\n        variant:\n          - image_type: docker-json\n            timeout: 150\n          - image_type: docker-syslog\n            timeout: 150\n          - image_type: docker-api\n            timeout: 200\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: install python and requirements\n        uses: ./.github/actions/install_python_and_requirements\n        with:\n          python_version: ${{ inputs.python_version }}\n\n      - name: Set up QEMU\n        id: qemu\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3\n        with:\n          image: tonistiigi/binfmt:qemu-v6.2.0\n          platforms: all\n\n      - name: Login to DockerHub\n        uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3\n        with:\n          username: ${{ secrets.PULL_REGISTRY_USERNAME }}\n          password: ${{ secrets.PULL_REGISTRY_PASSWORD }}\n      \n      - name: Login to an internal build registry\n        if: vars.INTERNAL_BUILD_REGISTRY\n        uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3\n        continue-on-error: true\n        with:\n          registry: ${{ vars.INTERNAL_BUILD_REGISTRY }}\n          username: ${{ secrets.INTERNAL_BUILD_REGISTRY_USERNAME }}\n          password: ${{ secrets.INTERNAL_BUILD_REGISTRY_PASSWORD }}\n\n        # Context need to be created for a self-hosted runner\n      - name: Set up Docker Context for Buildx\n        id: buildx-context\n        run: |\n          docker context create builders || echo Already exists\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3\n        with:\n          driver-opts: network=host\n          endpoint: builders\n\n      - name: Expose GitHub Runtime To Be Able to Use GHA Cache By Docker.\n        uses: crazy-max/ghaction-github-runtime@715c25b40ccc0df9b62bfa8be3ccc57d09dbc4b1\n\n      - name: Download OCI tarball of the built image.\n        uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3\n        with:\n          name: container-image-tarball-${{ matrix.variant.image_type }}-${{ inputs.builder_name }}\n          path: /tmp/image_tarball\n\n      - name: Expose GitHub Runtime To Be Able to Use GHA Cache By Docker.\n        uses: crazy-max/ghaction-github-runtime@715c25b40ccc0df9b62bfa8be3ccc57d09dbc4b1\n\n      - name: Build test image\n        env:\n          USE_GHA_CACHE: \"1\"\n          CACHE_VERSION: ${{ inputs.cache_version }}\n        run: |\n          python3 tests/end_to_end_tests/container_images_test/scripts/build_test_image.py \\\n            --image-builder-name ${{ inputs.builder_name }} \\\n            --base-image ${{ inputs.base_image }} \\\n            --architecture x86_64 \\\n            --image-oci-tarball /tmp/image_tarball/${{ matrix.variant.image_type }}-${{ inputs.builder_name }}.tar \\\n            --result-image-name ${{ matrix.variant.image_type }}-${{ inputs.builder_name }}:test \\\n            --image-type ${{ matrix.variant.image_type }}\n\n      - name: Run Tests (with coverage)\n        env:\n          CIRCLE_BUILD_NUM: ${{ github.run_number }}\n          SCALYR_SERVER: https://agent.scalyr.com\n          SCALYR_API_KEY: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE }}\n          READ_API_KEY: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_READ }}\n        run: |\n          source ./.circleci/smoketest_docker.sh scalyr/scalyr-agent-ci-unittest:4 ${{ matrix.variant.image_type }} ${{ matrix.variant.timeout }} ${{ matrix.variant.image_type }}-${{ inputs.builder_name }}:test\n\n      - name: Upload test results\n        uses: actions/upload-artifact@v3\n        with:\n          name: docker-smoketest-${{ matrix.variant.image_type }}-${{ inputs.builder_name }}\n          path: |\n            .coverage\n        if: ${{ success() || failure() }}\n\n      - name: Notify Slack on Failure\n        if: ${{ failure() && github.ref_name == 'master' }}\n        uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: '#eng-dataset-cloud-tech'\n\n  publish_images:\n    name: Publish image ${{ matrix.variant.image_type }}-${{ inputs.builder_name }}\n    runs-on: ubuntu-20.04\n    if: github.ref_type == 'tag' || github.ref_name == 'master' || github.head_ref == 'release' || github.event_name == 'pull_request'\n    needs:\n      # k8s_kubernetes_monitor_tests, k8s_open_metrics_monitor_tests, k8s-smoketest checks are not needed before pushing a test version to dockerhub.\n      # They need to pass to allow PR merge.\n      - build_image_tarball\n      - docker-smoketest\n    strategy:\n      matrix:\n        variant:\n          - { \"image_type\": \"k8s\" }\n          - { \"image_type\": \"docker-json\" }\n          - { \"image_type\": \"docker-syslog\" }\n          - { \"image_type\": \"docker-api\" }\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: install python and requirements\n        uses: ./.github/actions/install_python_and_requirements\n        with:\n          python_version: ${{ inputs.python_version }}\n\n      - name: Download OCI tarball of the built image.\n        uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3\n        with:\n          name: container-image-tarball-${{ matrix.variant.image_type }}-${{ inputs.builder_name }}\n          path: /tmp/image_tarball\n\n\n      - name: Verify and Create Tags\n        id: verify\n        shell: bash\n        run: |\n          AGENT_VERSION=\"$(cat VERSION | tr -d '\\n')\"\n\n          if [ \"${{ github.ref_type }}\" = \"tag\" ]; then\n            if [ \"${{ github.ref_name }}\" = \"v${AGENT_VERSION}\" ]; then\n              echo \"tags=$AGENT_VERSION,latest\" >> \"${GITHUB_OUTPUT}\"\n            else\n              echo \"tags=empty\" >> \"${GITHUB_OUTPUT}\"\n            fi        \n          elif [ \"${{ github.ref_name }}\" = \"master\" ]; then\n              echo \"tags=${{ github.sha }}\" >> \"${GITHUB_OUTPUT}\"\n          elif [ \"${{ github.head_ref }}\" = \"release\" ]; then\n              echo \"tags=latest-release,pr-${{ github.event.number}}-${{ github.event.pull_request.commits}}-${{ github.sha }},\\\n              $AGENT_VERSION,latest\" >> \"${GITHUB_OUTPUT}\"\n          elif [ \"${{ github.event_name }}\" = \"pull_request\" ]; then\n              echo \"tags=latest-pr,pr-${{ github.event.number}}-${{ github.event.pull_request.commits}}-${{ github.sha }}\" >> \"${GITHUB_OUTPUT}\"\n          else\n            echo \"tags=empty\" >> \"${GITHUB_OUTPUT}\"\n          fi\n\n      - name: Publish image\n        if: steps.verify.outputs.tags != 'empty'\n        run: |\n          python3 build_package_new.py \\\n            image \\\n            ${{ inputs.builder_name }} \\\n            --base-image ${{ inputs.base_image }} \\\n            publish \\\n            --registry docker.io \\\n            --name-prefix \"${{ secrets.PUBLISH_REGISTRY_USERNAME }}\" \\\n            --tags \"${{ steps.verify.outputs.tags }}\" \\\n            --from-oci-layout /tmp/image_tarball/${{ matrix.variant.image_type }}-${{ inputs.builder_name }}.tar \\\n            --registry-username \"${{ secrets.PUBLISH_REGISTRY_USERNAME }}\" \\\n            --registry-password \"${{ secrets.PUBLISH_REGISTRY_PASSWORD }}\" \\\n            --image-type ${{ matrix.variant.image_type }}\n", "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:44.020326", "created_at": "2023-08-04T11:26:25+02:00", "updated_at": "2023-08-14T15:44:21+02:00", "name": "Agent Build Refactored", "path": ".github/workflows/agent-build-new-fips.yml", "contents": null, "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:45.156783", "created_at": "2023-08-14T06:30:54+02:00", "updated_at": "2023-08-14T06:30:54+02:00", "name": "Snyk Container", "path": ".github/workflows/snyk-container.yml", "contents": null, "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:46.298750", "created_at": "2023-08-23T13:23:38+02:00", "updated_at": "2023-08-23T13:23:38+02:00", "name": "Agent Build Refactored", "path": ".github/workflows/test-wf.yml", "contents": null, "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:47.449534", "created_at": "2023-10-03T10:49:57+02:00", "updated_at": "2023-10-03T10:53:25+02:00", "name": "Build Container Images", "path": ".github/workflows/build_container_images.yml", "contents": null, "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:48.927645", "created_at": "2024-03-21T16:04:53+01:00", "updated_at": "2024-05-21T15:02:33+02:00", "name": "Benchmarks", "path": ".github/workflows/benchmarks.yaml", "contents": "name: Benchmarks\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  # Special job which automatically cancels old runs for the same branch, prevents runs for the\n  # same file set which has already passed, etc.\n  pre_job:\n    if: github.ref_name != '_release_build' && vars.UNIT_TESTS_DISABLED != 'true'\n    name: Skip Duplicate Jobs Pre Job\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write  # Needed for skip-duplicate-jobs job\n      contents: read\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@12aca0a884f6137d619d6a8a09fcc3406ced5281 # v4.0.0\n        with:\n          cancel_others: 'true'\n          github_token: ${{ github.token }}\n\n  memory-usage:\n    name: Memory Usage - Syslog Monitor - Python ${{ matrix.python-version }}\n    runs-on: ubuntu-20.04\n\n    needs: pre_job\n    # NOTE: We always want to run job on master branch\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }}\n\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"2.7\"\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n      - name: Install loggen\n        run: |\n          sudo apt update\n          sudo apt install -y syslog-ng-core\n      - name: Run memory test\n        run: |\n          ./scripts/cicd/test_syslog_monitor_memory_usage/run_test.sh 10 10 600\n        env:\n          SCALYR_API_KEY: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE }}\n", "state": "active", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:49.978034", "created_at": "2023-02-02T13:19:11+01:00", "updated_at": "2023-07-27T11:26:45+02:00", "name": "Codespeed Benchmarks", "path": ".github/workflows/codespeed-benchmarks.yml", "contents": "name: Codespeed Benchmarks\n\non:\n  push:\n    branches:\n      - master\n      - release\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: '0 4 * * *'\n\njobs:\n  # Special job which automatically cancels old runs for the same branch, prevents runs for the\n  # same file set which has already passed, etc.\n  pre_job:\n    name: Skip Duplicate Jobs Pre Job\n    runs-on: ubuntu-latest\n    if: ${{ ! vars.UNIT_TESTS_DISABLED }}\n    permissions:\n      actions: write  # Needed for skip-duplicate-jobs job\n      contents: read\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@12aca0a884f6137d619d6a8a09fcc3406ced5281 # v4.0.0\n        with:\n          cancel_others: 'true'\n          github_token: ${{ github.token }}\n\n  codespeed-micro-benchmarks:\n    name: Micro Benchmarks\n    runs-on: ubuntu-latest\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.11.0\"\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n        with:\n          submodules: true\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        id: setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Deps\n        env:\n          TOX_VERSION: 3.20.1\n          TOX_GH_ACTIONS_VERSION: 2.9.1\n        run: |\n          python -m pip install --upgrade pip\n          pip install \"tox==$TOX_VERSION\" \"tox-gh-actions==$TOX_GH_ACTIONS_VERSION\" \"cffi==1.15.1\" \"udatetime==0.0.17\" \"requests\"\n          # Needed for snappy library\n          sudo apt-get update\n          sudo apt-get install -y libsnappy-dev\n\n      - name: Run Benchmarks\n        run: tox -e micro-benchmarks\n\n      - name: Process and submit results to CodeSpeed\n        # We only want to submit results for master branch runs and not for scheduled runs\n        if: ${{ github.ref_name == 'master' && github.event_name != 'schedule' }}\n        env:\n          PYTHONPATH: .\n          CODESPEED_URL: \"https://scalyr-agent-codespeed.herokuapp.com/\"\n          CODESPEED_PROJECT: \"scalyr-agent-2-microbenchmarks\"\n          CODESPEED_EXECUTABLE: Python ${{ steps.setup-python.outputs.python-version }}\n          CODESPEED_ENVIRONMENT: GitHub Hosted Action Runner\n          CODESPEED_AUTH: ${{ secrets.CODESPEED_AUTH }}\n        run: |\n          python benchmarks/scripts/send_microbenchmarks_data_to_codespeed.py --data-path=\"benchmark_results/*.json\" --debug\n\n      - name: Store artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: codespeed-micro-benchmarks-${{ matrix.python-version }}\n          path: |\n            benchmark_results/\n            benchmark_histograms/\n\n      - name: Notify Slack on Failure\n        if: ${{ failure() && github.ref_name == 'master' }}\n        uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: '#eng-dataset-cloud-tech'\n\n  benchmarks-idle-agent-py-311:\n    name: Process Benchmark\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }}\n    uses: ./.github/workflows/reusable-codespeed-agent-benchmarks.yaml\n    secrets: inherit\n    with:\n      job_name: benchmarks-idle-agent-py-311\n      python-version: 3.11.0\n      codespeed_executable: \"Python 3.11.0 - idle conf 1\"\n      agent_config: \"benchmarks/configs/agent_no_monitored_logs.json\"\n      agent_server_host: \"ci-codespeed-benchmarks-py311-idle-conf-1\"\n      capture_line_counts: true\n      # We only want to send data to CodeSpeed on master branch runs\n      dry_run: ${{ github.ref_name != 'master' }}\n\n  benchmarks-idle-agent-no-monitors-py-311:\n    name: Process Benchmark\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }}\n    uses: ./.github/workflows/reusable-codespeed-agent-benchmarks.yaml\n    secrets: inherit\n    with:\n      job_name: benchmarks-idle-agent-no-monitors-py-311\n      python-version: 3.11.0\n      codespeed_executable: \"Python 3.11.0 - idle conf 2\"\n      agent_config: \"benchmarks/configs/agent_no_monitored_logs_no_monitors.json\"\n      agent_server_host: \"ci-codespeed-benchmarks-py311-idle-conf-2\"\n      capture_line_counts: true\n      # We only want to send data to CodeSpeed on master branch runs\n      dry_run: ${{ github.ref_name != 'master' }}\n\n  benchmarks-loaded-agent-single-50mb-log-file-with-parser-py-311:\n    name: Process Benchmark\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }}\n    uses: ./.github/workflows/reusable-codespeed-agent-benchmarks.yaml\n    secrets: inherit\n    with:\n      job_name: benchmarks-loaded-agent-single-50mb-log-file-with-parser-py-311\n      python-version: 3.11.0\n      codespeed_executable: \"Python 3.11.0 - loaded conf 1\"\n      agent_config: \"benchmarks/configs/agent_single_50mb_access_log_file.json\"\n      agent_pre_run_command: \"wget --directory-prefix=/tmp https://github.com/scalyr/codespeed-agent-fixtures/raw/master/fixtures/logs/access_log_50_mb.log\"\n      agent_server_host: \"ci-codespeed-benchmarks-py311-loaded-conf-1\"\n      run_time: 140\n      capture_line_counts: true\n      # We only want to send data to CodeSpeed on master branch runs\n      dry_run: ${{ github.ref_name != 'master' }}\n\n  # NOTE: For the benchmarks below to work correctly \"/tmp/random.log\" file\n  # which is being written to during the benchmark must existing before the\n  # agent process is started.\n  benchmarks-loaded-agent-single-growing-log-file-20mb-py-311:\n    name: Process Benchmark\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }}\n    uses: ./.github/workflows/reusable-codespeed-agent-benchmarks.yaml\n    secrets: inherit\n    with:\n      job_name: benchmarks-loaded-agent-single-growing-log-file-20mb-py-311\n      python-version: 3.11.0\n      codespeed_executable: \"Python 3.11.0 - loaded conf 2\"\n      agent_config: \"benchmarks/configs/agent_single_growing_log_file_with_shell_and_url_monitor.json\"\n      run_time: 140\n      agent_pre_run_command: \"touch /tmp/random.log\"\n      agent_post_run_command: \"benchmarks/scripts/write-random-lines.sh /tmp/random.log 2M 10 100 1\"\n      agent_server_host: \"ci-codespeed-benchmarks-py311-loaded-conf-2\"\n      capture_line_counts: true\n      # We only want to send data to CodeSpeed on master branch runs\n      dry_run: ${{ github.ref_name != 'master' }}\n\n  benchmarks-loaded-agent_2-growing_logs-monitors-multiprocess-2-worker-20mb-py-311:\n    name: Process Benchmark\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }}\n    uses: ./.github/workflows/reusable-codespeed-agent-benchmarks.yaml\n    secrets: inherit\n    with:\n      job_name: benchmarks-loaded-agent_2-growing_logs-monitors-multiprocess-2-worker-20mb-py-31\n      python-version: 3.11.0\n      codespeed_executable: \"Python 3.11.0 - loaded conf 4\"\n      agent_config: \"benchmarks/configs/agent_2-growing_logs-monitors-multiprocess-2-worker.json\"\n      run_time: 140\n      agent_pre_run_command: \"touch /tmp/random.log & touch /tmp/random2.log\"\n      agent_post_run_command: \"benchmarks/scripts/write-random-lines.sh /tmp/random.log 2M 10 100 1 & benchmarks/scripts/write-random-lines.sh /tmp/random2.log 2M 10 100 1 &\"\n      agent_server_host: \"ci-codespeed-benchmarks-py311-loaded-conf-4\"\n      capture_line_counts: true\n      # We only want to send data to CodeSpeed on master branch runs\n      dry_run: ${{ github.ref_name != 'master' }}\n\n  benchmarks-loaded-agent-single-50mb-log-file-with-500k-lines-py-311:\n    name: Process Benchmark\n    needs: pre_job\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref_name == 'master' }}\n    uses: ./.github/workflows/reusable-codespeed-agent-benchmarks.yaml\n    secrets: inherit\n    with:\n      job_name: benchmarks-loaded-agent-single-50mb-log-file-with-500k-lines-py-311\n      python-version: 3.11.0\n      codespeed_executable: \"Python 3.11.0 - loaded conf 5\"\n      agent_config: \"benchmarks/configs/agent_single_50mb_genlog_500k_line_file.json\"\n      agent_pre_run_command: \"wget --directory-prefix=/tmp https://github.com/scalyr/codespeed-agent-fixtures/raw/master/fixtures/logs/scalyr_genlog_500k_line_50_mb.log\"\n      agent_server_host: \"ci-codespeed-benchmarks-py311-loaded-conf-5\"\n      run_time: 140\n      capture_agent_status_metrics: true\n      capture_line_counts: true\n      # We only want to send data to CodeSpeed on master branch runs\n      dry_run: ${{ github.ref_name != 'master' }}\n", "state": "disabled_manually", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:51.122548", "created_at": "2023-02-02T15:32:28+01:00", "updated_at": "2023-07-27T11:26:37+02:00", "name": "Codespeed Agent Benchmark", "path": ".github/workflows/reusable-codespeed-agent-benchmarks.yaml", "contents": "# Workflow which performs end to end benchmarking of the agent process - it relies on starting up\n# the agent and exercising various code with different config option.\nname: Codespeed Agent Benchmark\n\non:\n  workflow_call:\n    inputs:\n      job_name:\n        description: \"Github Action job name. Used to display user friendly job name in the UI.\"\n        type: string\n        required: true\n      python-version:\n        description: Python Version\n        type: string\n        required: true\n      agent_config:\n        description: \"Path to the agent config file to use.\"\n        type: string\n        required: true\n      codespeed_executable:\n        description: \"CodeSpeed executable name.\"\n        type: string\n        required: true\n      codespeed_environment:\n        description: \"CodeSpeed environment name.\"\n        type: string\n        default: GitHub Hosted Action Runner\n        required: false\n      run_time:\n        description: \"How long to run the capture for (in seconds).\"\n        type: number\n        default: 120\n        required: false\n      capture_interval:\n        description: \"How often to capture agent process level metrics during the process run time (in seconds).\"\n        type: number\n        default: 5\n        required: false\n      agent_pre_run_command:\n        description: \"Optional bash command / script to run before starting the agent and the metrics capture script.\"\n        type: string\n        default: \"\"\n        required: false\n      agent_post_run_command:\n        description: \"Optional bash command / script to run after starting the agent and the metrics capture script.\"\n        type: string\n        default: \"\"\n        required: false\n      agent_server_host:\n        description: \"Value for the server_attributes.serverHost agent configuration option.\"\n        type: string\n        default: \"ci-codespeed-benchmarks\"\n        required: false\n      capture_agent_status_metrics:\n        description: \"True to capture additional metrics exposed via agent status command.\"\n        type: boolean\n        default: false\n        required: false\n      capture_line_counts:\n        description: \"True to submit log line counts for each log level to CodeSpeed.\"\n        type: boolean\n        default: false\n        required: false\n      dry_run:\n        description: \"True to enable dry run which runs the benchmarks without submitting data to CodeSpeed.\"\n        type: boolean\n        default: false\n        required: false\n\njobs:\n  codespeed-agent-benchmark:\n    name: ${{ inputs.job_name }}\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        id: setup-python\n        with:\n          python-version: ${{ inputs.python-version }}\n\n      - name: Install Deps\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r benchmarks/scripts/requirements.txt\n\n      - name: Capture commit date\n        id: commit-date\n        env:\n          TZ: UTC\n        run: |\n          echo \"commit-date=$(git show --quiet --date='format-local:%Y-%m-%d %H:%M:%S' --format='%cd' ${{ github.sha }})\" >> $GITHUB_OUTPUT\n\n      - name: Pre-Run Command\n        if: inputs.agent_pre_run_command != ''\n        run: ${{ inputs.agent_pre_run_command }}\n\n      - name: Run Agent And Capture Resource Utilization\n        id: run-agent\n        env:\n          CODESPEED_AUTH: ${{ secrets.CODESPEED_AUTH }}\n          CODESPEED_URL: \"https://scalyr-agent-codespeed.herokuapp.com/\"\n          CODESPEED_PROJECT: \"scalyr-agent-2-procbenchmarks\"\n          CODESPEED_EXECUTABLE: ${{ inputs.codespeed_executable }}\n          CODESPEED_ENVIRONMENT: ${{ inputs.codespeed_environment }}\n          CODESPEED_BRANCH: ${{ github.head_ref || github.ref_name }}\n          # NOTE: \"idle\" agent process (which monitors no logs but just runs the linux process\n          # monitor for the agent process) should stabilize in a couple of minutes so it makes\n          # no sense to run that benchmark longer.\n          RUN_TIME: ${{ inputs.run_time }}\n          CAPTURE_INTERVAL: ${{ inputs.capture_interval }}\n          AGENT_CONFIG_FILE: ${{ inputs.agent_config }}\n          SCALYR_SERVER: https://agent.scalyr.com\n          SCALYR_API_KEY: ${{ secrets.CT_SCALYR_TOKEN_PROD_US_CLOUDTECH_TESTING_WRITE }}\n          SCALYR_SERVER_ATTRIBUTES: \"{\\\"serverHost\\\": \\\"${{ inputs.agent_server_host }}\\\"}\"\n          CAPTURE_AGENT_STATUS_METRICS: ${{ inputs.capture_agent_status_metrics }}\n          DRY_RUN: ${{ inputs.dry_run }}\n          COMMIT_DATE: ${{ steps.commit-date.outputs.commit-date }}\n          PYTHONPATH: .\n        run: |\n          # Create directories which are needed by the agent process\n          mkdir -p ~/scalyr-agent-dev/{log,config,data}\n          # Run the agent process and capture the metrics\n          ./benchmarks/scripts/start-agent-and-capture-metrics.sh \"${{ github.sha }}\" &\n          bg_pid=$!\n          echo \"bg-pid=${bg_pid}\" >> $GITHUB_OUTPUT\n\n      - name: Run any post agent run script\n        if: inputs.agent_post_run_command != ''\n        run: |\n          sleep 2\n          ${{ inputs.agent_post_run_command }}\n\n      - name: Wait for agent to finish\n        timeout-minutes: 10\n        run: tail --pid ${{ steps.run-agent.outputs.bg-pid }} -f /dev/null || true\n\n      - name: Send line count values for various log levels\n        if: inputs.capture_line_counts && ! inputs.dry_run\n        env:\n          CODESPEED_AUTH: ${{ secrets.CODESPEED_AUTH }}\n          CODESPEED_URL: \"https://scalyr-agent-codespeed.herokuapp.com/\"\n          CODESPEED_PROJECT: \"scalyr-agent-2-procbenchmarks\"\n          CODESPEED_EXECUTABLE: ${{ inputs.codespeed_executable }}\n          CODESPEED_ENVIRONMENT: ${{ inputs.codespeed_environment }}\n          CODESPEED_BRANCH: ${{ github.head_ref || github.ref_name }}\n          COMMIT_DATE: ${{ steps.commit-date.outputs.commit-date }}\n          CAPTURE_AGENT_STATUS_METRICS: ${{ inputs.capture_agent_status_metrics }}\n          DRY_RUN: ${{ inputs.dry_run }}\n          PYTHONPATH: .\n        run: |\n          ./benchmarks/scripts/send-log-level-counts-to-codespeed.sh \"${{ github.sha }}\"\n\n      - name: Upload log artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: agent-logs-${{ inputs.agent_server_host }}\n          path: |\n            ~/scalyr-agent-dev/log\n        if: ${{ success() || failure() }}\n\n      - name: Notify Slack on Failure\n        if: ${{ failure() && github.ref_name == 'master' }}\n        uses: act10ns/slack@ed1309ab9862e57e9e583e51c7889486b9a00b0f # v2.0.0\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          steps: ${{ toJson(steps) }}\n          channel: '#eng-dataset-cloud-tech'\n", "state": "disabled_manually", "repository": "scalyr/scalyr-agent-2"}
{"mined_at": "2024-07-15T15:44:53.214599", "created_at": "2021-11-16T09:00:12+01:00", "updated_at": "2021-11-16T09:00:12+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\n\njobs:\n\n  Run:\n    strategy:\n      fail-fast: false\n      matrix:\n        library:\n          - sky130_fd_sc_hd\n          - sky130_fd_sc_hdll\n          - sky130_fd_sc_hs\n          - sky130_fd_sc_ms\n          - sky130_fd_sc_ls\n          - sky130_fd_sc_hvl\n          - all\n    env:\n      STD_CELL_LIBRARY: ${{ matrix.library }}\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n        submodules: true\n\n    - name: Build\n      run: |\n        bash .github/build.sh\n\n    - name: Test\n      run: |\n        bash .github/test.sh\n\n    - name: Capture\n      if: ${{ always() }}\n      run: |\n        bash .github/capture.sh\n\n    - name: Upload\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ matrix.library }}\n        path: ${{ github.workspace }}/output/**\n", "state": "active", "repository": "rtimothyedwards/open_pdks"}
{"mined_at": "2024-07-15T15:44:55.351851", "created_at": "2020-12-01T00:21:41+01:00", "updated_at": "2021-04-30T14:38:14+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "---\nname: CI\n\non:\n    push:\n        branches:\n            - development\n            - stable\n    pull_request:\n    schedule:\n        - cron: 0 0 * * 0 # weekly\n\njobs:\n    build-linux:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v3\n\n            - uses: actions/setup-python@v4\n              with:\n                  python-version: '3.10'\n\n            - name: Install build dependencies\n              uses: ./.github/actions/install-build-dependencies\n\n            - name: Build Python wheel\n              run: make bdist_wheel bdist_wheel-linux-rename\n              env:\n                  CC: clang\n                  CXX: clang++\n                  BAZEL_OPTS: --batch\n                  BAZEL_FETCH_OPTS: --config=ci\n                  BAZEL_BUILD_OPTS: --config=ci\n\n            - name: Upload Python wheel\n              uses: actions/upload-artifact@v3\n              with:\n                  name: linux-wheel\n                  path: dist/*.whl\n                  if-no-files-found: error\n                  retention-days: 7\n\n    build-linux-cmake:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v3\n\n            - uses: actions/setup-python@v4\n              with:\n                  python-version: '3.10'\n\n            - name: Install build dependencies\n              uses: ./.github/actions/install-cmake-build-dependencies\n\n            - name: Download LLVM 10.0.0 release\n              run: |\n                  if [ \"$(uname)\" = \"Darwin\" ]; then\n                    wget --quiet https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-apple-darwin.tar.xz -O ~/llvm.tar.xz\n                  else\n                    wget --quiet https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz -O ~/llvm.tar.xz\n                  fi\n                  mkdir ~/llvm && tar xf ~/llvm.tar.xz --strip-components 1 -C ~/llvm\n                  rm ~/llvm.tar.xz\n                  echo \"Unpacked, testing for expected file:\"\n                  test -d ~/llvm/lib/cmake/llvm\n\n            - name: CMake Build\n              run: |\n                  cmake \\\n                      -GNinja \\\n                      -DCMAKE_C_COMPILER=clang \\\n                      -DCMAKE_CXX_COMPILER=clang++ \\\n                      -DCOMPILER_GYM_LLVM_PROVIDER=external \\\n                      -DLLVM_DIR=$HOME/llvm/lib/cmake/llvm \\\n                      -DPython3_FIND_UNVERSIONED_NAMES=FIRST \\\n                      -DCOMPILER_GYM_BUILD_TESTS=ON \\\n                      -DCOMPILER_GYM_BUILD_EXAMPLES=ON \\\n                      -S . \\\n                      -B ~/cmake_build\n                  cmake --build ~/cmake_build\n              shell: bash\n\n            - name: Upload Python wheel\n              uses: actions/upload-artifact@v3\n              with:\n                  name: linux-wheel-cmake\n                  path: ~/cmake_build/py_pkg/dist/*.whl\n                  if-no-files-found: error\n                  retention-days: 7\n\n            - name: Upload compute_programl binary\n              uses: actions/upload-artifact@v3\n              with:\n                  name: linux-compute-programl-cmake\n                  path: compiler_gym/third_party/programl/compute_programl\n                  if-no-files-found: error\n                  retention-days: 7\n\n            - name: Upload loop_unroller binary\n              uses: actions/upload-artifact@v3\n              with:\n                  name: linux-loop-unroller-cmake\n                  path: examples/example_unrolling_service/loop_unroller/loop_unroller\n                  if-no-files-found: error\n                  retention-days: 7\n\n            - name: Upload opt_loops binary\n              uses: actions/upload-artifact@v3\n              with:\n                  name: linux-opt-loops-cmake\n                  path: examples/loop_optimizations_service/opt_loops/opt_loops\n                  if-no-files-found: error\n                  retention-days: 7\n\n    build-mlir-env-linux-cmake:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v3\n\n            - uses: actions/setup-python@v4\n              with:\n                  python-version: '3.10'\n\n            - name: Install build dependencies\n              uses: ./.github/actions/install-cmake-build-dependencies\n\n            - name: Download LLVM 14.0.0 release\n              run: |\n                  if [ \"$(uname)\" = \"Darwin\" ]; then\n                    wget --quiet https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/clang+llvm-14.0.0-x86_64-apple-darwin.tar.xz -O ~/llvm.tar.xz\n                  else\n                    wget --quiet https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz -O ~/llvm.tar.xz\n                  fi\n                  mkdir ~/llvm && tar xf ~/llvm.tar.xz --strip-components 1 -C ~/llvm\n                  rm ~/llvm.tar.xz\n                  echo \"Unpacked, testing for expected file:\"\n                  test -d ~/llvm/lib/cmake/llvm\n\n            - name: CMake Build\n              run: |\n                  cmake \\\n                      -GNinja \\\n                      -DCMAKE_C_COMPILER=clang \\\n                      -DCMAKE_CXX_COMPILER=clang++ \\\n                      -DCOMPILER_GYM_LLVM_PROVIDER=external \\\n                      -DLLVM_DIR=$HOME/llvm/lib/cmake/llvm \\\n                      -DMLIR_DIR=$HOME/llvm/lib/cmake/mlir \\\n                      -DClang_DIR=$HOME/llvm/lib/cmake/clang \\\n                      -DPython3_FIND_UNVERSIONED_NAMES=FIRST \\\n                      -DCOMPILER_GYM_ENABLE_MLIR_ENV=ON \\\n                      -DCOMPILER_GYM_ENABLE_LLVM_ENV=OFF \\\n                      -DCOMPILER_GYM_BUILD_TESTS=ON \\\n                      -DCOMPILER_GYM_BUILD_EXAMPLES=ON \\\n                      -S . \\\n                      -B ~/cmake_build\n                  cmake --build ~/cmake_build\n              shell: bash\n\n            - name: Upload Python wheel\n              uses: actions/upload-artifact@v3\n              with:\n                  name: mlir-env-linux-wheel-cmake\n                  path: ~/cmake_build/py_pkg/dist/*.whl\n                  if-no-files-found: error\n                  retention-days: 7\n\n    build-macos:\n        runs-on: macos-latest\n        steps:\n            - uses: actions/checkout@v3\n\n            - uses: actions/setup-python@v4\n              with:\n                  python-version: '3.10'\n\n            - name: Install build dependencies\n              uses: ./.github/actions/install-build-dependencies\n\n            - name: Build Python wheel\n              run: make bdist_wheel\n              env:\n                  BAZEL_OPTS: --batch\n                  BAZEL_FETCH_OPTS: --config=ci\n                  BAZEL_BUILD_OPTS: --config=ci\n\n            - name: Upload Python wheel\n              uses: actions/upload-artifact@v3\n              with:\n                  name: macos-wheel\n                  path: dist/*.whl\n                  if-no-files-found: error\n                  retention-days: 7\n\n    test-linux:\n        needs: build-linux\n        runs-on: ubuntu-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python: [3.7, 3.8, 3.9, '3.10']\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python ${{ matrix.python }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python }}\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: linux-wheel\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Run the test suite\n              run: |\n                  make test-cov \\\n                  PYTEST_ARGS=\"--ignore tests/llvm --ignore tests/gcc --ignore tests/loop_tool\"\n\n            - name: Upload coverage report to Codecov\n              uses: codecov/codecov-action@v2\n\n    test-linux-cmake:\n        needs: build-linux-cmake\n        runs-on: ubuntu-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python: ['3.10']\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python ${{ matrix.python }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python }}\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: linux-wheel-cmake\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Download compute_programl\n              uses: actions/download-artifact@v3\n              with:\n                  name: linux-compute-programl-cmake\n\n            - name: Download loop_unroller\n              uses: actions/download-artifact@v3\n              with:\n                  name: linux-loop-unroller-cmake\n\n            - name: Download opt_loops\n              uses: actions/download-artifact@v3\n              with:\n                  name: linux-opt-loops-cmake\n\n            - name: Move examples and utility binaries\n              run: |\n                  chmod +x compute_programl\n                  chmod +x loop_unroller\n                  chmod +x opt_loops\n                  mv compute_programl ./compiler_gym/third_party/programl/compute_programl\n                  mv loop_unroller ./examples/example_unrolling_service/loop_unroller/loop_unroller\n                  mv opt_loops ./examples/loop_optimizations_service/opt_loops/opt_loops\n                  test ./compiler_gym/third_party/programl/compute_programl\n                  test ./examples/example_unrolling_service/loop_unroller/loop_unroller\n                  test ./examples/loop_optimizations_service/opt_loops/opt_loops\n              shell: bash\n\n            - name: Run the test suite\n              run: make test CI=1 PYTEST_ARGS=\"--ignore tests/mlir\"\n\n    test-mlir-env-linux-cmake:\n        needs: build-mlir-env-linux-cmake\n        runs-on: ubuntu-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python: [3.7, 3.8, 3.9, '3.10']\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python ${{ matrix.python }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python }}\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: mlir-env-linux-wheel-cmake\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-mlir-env-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Run the test suite\n              run: make test-cov CI=1 TEST_TARGET=\"tests/mlir\"\n\n    test-macos:\n        needs: build-macos\n        runs-on: macos-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python: [3.8, 3.9, '3.10']\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python ${{ matrix.python }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python }}\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: macos-wheel\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Run the test suite\n              run: |\n                  make test-cov \\\n                  CI=1 \\\n                  PYTEST_ARGS=\"--ignore tests/llvm --ignore tests/gcc --ignore tests/loop_tool\"\n\n            - name: Upload coverage report to Codecov\n              uses: codecov/codecov-action@v2\n    test-llvm-env-linux:\n        needs: build-linux\n        runs-on: ubuntu-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python: [3.7, 3.8, 3.9, '3.10']\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python ${{ matrix.python }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python }}\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: linux-wheel\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Run the test suite\n              run: make test-cov CI=1 TEST_TARGET=\"tests/llvm\"\n\n            - name: Upload coverage report to Codecov\n              uses: codecov/codecov-action@v2\n    test-llvm-env-macos:\n        needs: build-macos\n        runs-on: macos-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python: ['3.10']\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python ${{ matrix.python }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python }}\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: macos-wheel\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Run the test suite\n              run: make test-cov CI=1 TEST_TARGET=\"tests/llvm\"\n\n            - name: Upload coverage report to Codecov\n              uses: codecov/codecov-action@v2\n    test-gcc-env-linux:\n        needs: build-linux\n        runs-on: ubuntu-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python: ['3.10']\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python ${{ matrix.python }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python }}\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: linux-wheel\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Run the test suite\n              run: make test-cov CI=1 TEST_TARGET=\"tests/gcc\"\n\n            - name: Upload coverage report to Codecov\n              uses: codecov/codecov-action@v2\n    test-gcc-env-linux-no-docker:\n        needs: build-linux\n        runs-on: ubuntu-latest\n        steps:\n            - name: Stop docker\n              run: |\n                  docker ps -q | xargs --no-run-if-empty sudo docker kill\n                  sudo systemctl stop docker\n                  sudo apt-get remove -y docker docker-engine docker.io containerd runc\n\n            - name: Set up Python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: '3.10'\n\n            - uses: actions/checkout@v3\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: linux-wheel\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Run the test suite\n              run: make test-cov CI=1 TEST_TARGET=\"tests/gcc\"\n\n            - name: Upload coverage report to Codecov\n              uses: codecov/codecov-action@v2\n\n    test-gcc-env-macos:\n        needs: build-macos\n        runs-on: macos-latest\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: '3.10'\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: macos-wheel\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Run the test suite\n              run: make test-cov CI=1 TEST_TARGET=\"tests/gcc\"\n\n            - name: Upload coverage report to Codecov\n              uses: codecov/codecov-action@v2\n\n    test-loop_tool-env-linux:\n        needs: build-linux\n        runs-on: ubuntu-latest\n        steps:\n            - name: Set up Python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: '3.10'\n\n            - uses: actions/checkout@v3\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: linux-wheel\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Run the test suite\n              run: make test-cov CI=1 TEST_TARGET=\"tests/loop_tool\"\n\n            - name: Upload coverage report to Codecov\n              uses: codecov/codecov-action@v2\n\n    test-loop_tool-env-macos:\n        needs: build-macos\n        runs-on: macos-latest\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: '3.10'\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: macos-wheel\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Run the test suite\n              run: make test-cov CI=1 TEST_TARGET=\"tests/loop_tool\"\n\n            - name: Upload coverage report to Codecov\n              uses: codecov/codecov-action@v2\n\n    test-examples-linux:\n        needs: build-linux\n        runs-on: ubuntu-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python: [3.7, 3.8, 3.9, '3.10']\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python ${{ matrix.python }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python }}\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: linux-wheel\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: make -C examples install\n\n            - name: Run the test suite\n              run: make -C examples test PYTEST_ARGS=\"--ignore example_unrolling_service --ignore loop_optimizations_service\"\n\n            - name: Upload coverage report to Codecov\n              uses: codecov/codecov-action@v2\n\n    test-examples-macos:\n        needs: build-macos\n        runs-on: macos-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python: ['3.10']\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python ${{ matrix.python }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python }}\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: macos-wheel\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: make -C examples install\n\n            - name: Run the test suite\n              run: make -C examples test PYTEST_ARGS=\"--ignore example_unrolling_service --ignore loop_optimizations_service\"\n\n            - name: Upload coverage report to Codecov\n              uses: codecov/codecov-action@v2\n\n    build-asan-llvm-service:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Setup python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: '3.10'\n\n            - name: Install build dependencies\n              uses: ./.github/actions/install-build-dependencies\n\n            - name: Build address sanitized LLVM compiler service\n              run: |\n                  make bazel-build BAZEL_BUILD_OPTS=--config=asan BUILD_TARGET=//compiler_gym/envs/llvm/service:compiler_gym-llvm-service\n                  tar -C bazel-bin/compiler_gym/envs/llvm/service -cjvf compiler_gym-llvm-service.tar.bz2 compiler_gym-llvm-service\n              env:\n                  CC: clang\n                  CXX: clang++\n                  BAZEL_OPTS: --batch\n                  BAZEL_FETCH_OPTS: --config=ci\n                  BAZEL_BUILD_OPTS: --config=ci\n\n            - name: Upload address sanitized LLVM compiler service\n              uses: actions/upload-artifact@v3\n              with:\n                  name: compiler_gym-llvm-service-linux-asan-build\n                  path: compiler_gym-llvm-service.tar.bz2\n                  if-no-files-found: error\n                  retention-days: 7\n\n    test-llvm-env-asan-linux:\n        runs-on: ubuntu-latest\n        needs: [build-linux, build-asan-llvm-service]\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Setup python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: '3.10'\n\n            - name: Download Python wheel\n              uses: actions/download-artifact@v3\n              with:\n                  name: linux-wheel\n\n            - name: Download address sanitized LLVM compiler service\n              uses: actions/download-artifact@v3\n              with:\n                  name: compiler_gym-llvm-service-linux-asan-build\n\n            - name: Repack wheel\n              run: |\n                  tar xjvf compiler_gym-llvm-service.tar.bz2\n                  rm compiler_gym-llvm-service.tar.bz2\n                  chmod +x compiler_gym-llvm-service\n                  python -m pip install -U wheel\n                  wheel unpack *.whl\n                  rm *.whl\n                  chmod +x compiler_gym-*/compiler_gym-*.data/purelib/compiler_gym/third_party/csmith/csmith/bin/csmith\n                  chmod +x compiler_gym-*/compiler_gym-*.data/purelib/compiler_gym/envs/llvm/service/compute_observation\n                  chmod +x compiler_gym-*/compiler_gym-*.data/purelib/compiler_gym/envs/llvm/service/llvm-extract-one\n                  mv compiler_gym-llvm-service compiler_gym-*/compiler_gym-*.data/purelib/compiler_gym/envs/llvm/service/compiler_gym-llvm-service\n                  wheel pack compiler_gym-*\n\n            - name: Install wheel\n              run: python -m pip install *.whl\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Test\n              run: make test CI=1 TEST_TARGET=tests/llvm\n              env:\n                  ASAN_OPTIONS: detect_leaks=1\n                  CC: clang\n                  CXX: clang++\n\n    www-build:\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest, macos-latest]\n                node: [17]\n        steps:\n            - uses: actions/checkout@v3\n\n            - uses: actions/setup-python@v4\n              with:\n                  python-version: '3.10'\n\n            - uses: actions/setup-node@v3\n              with:\n                  node-version: ${{ matrix.node }}\n                  cache: npm\n                  cache-dependency-path: www/frontends/compiler_gym/package-lock.json\n\n            - name: Build web frontend\n              run: make www-build\n", "state": "active", "repository": "facebookresearch/compilergym"}
{"mined_at": "2024-07-15T15:44:56.468119", "created_at": "2020-12-01T00:21:41+01:00", "updated_at": "2020-12-01T00:21:41+01:00", "name": "Pre-commit", "path": ".github/workflows/pre_commit.yaml", "contents": "---\nname: Pre-commit\n\non:\n    push:\n        branches:\n            - development\n    pull_request:\n\njobs:\n    all:\n        name: all\n        runs-on: ubuntu-latest\n\n        steps:\n            - uses: actions/checkout@v3\n            - name: Install clang-format\n              run: |\n                  wget --quiet -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -\n                  sudo apt-get update\n                  sudo apt-get install clang-format\n                  clang-format --version\n\n            - name: Install go\n              uses: actions/setup-go@v3\n              with:\n                  go-version: ^1.13.1\n\n            - name: Install buildifier\n              run: |\n                  go install github.com/bazelbuild/buildtools/buildifier@latest\n                  buildifier --version\n\n            - name: Install prototool\n              run: |\n                  GO111MODULE=on go install github.com/uber/prototool/cmd/prototool@dev\n                  prototool version\n\n            - name: Install hadolint\n              run: |\n                  wget --quiet -O hadolint https://github.com/hadolint/hadolint/releases/download/v1.19.0/hadolint-Linux-x86_64\n                  chmod +x hadolint\n                  sudo mv hadolint /usr/local/bin\n\n            - name: Set up Python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: 3.9\n\n            - name: Install Python dependencies\n              run: |\n                  python3 -m pip install --upgrade wheel\n                  python3 -m pip install -r requirements_pre_commit.txt\n                  python3 -m isort --version\n                  python3 -m pre_commit --version\n\n            - name: Run pre-commit checks\n        # TODO(github.com/facebookresearch/CompilerGym/issues/1): Disable\n        # isort due to inconsistent results when run locally versus in\n        # the GitHub Actions environment.\n              run: SKIP=isort python3 -m pre_commit run --all-files --show-diff-on-failure\n", "state": "active", "repository": "facebookresearch/compilergym"}
{"mined_at": "2024-07-15T15:44:57.561664", "created_at": "2021-02-11T00:31:18+01:00", "updated_at": "2021-02-11T00:31:18+01:00", "name": "Release Fuzz", "path": ".github/workflows/fuzz.yaml", "contents": "---\n# This file defines a GitHub actions job that runs the fuzzing test suite for\n# 10 minutes every weekday against the latest CompilerGym release. The job can\n# also be scheduled manually using the GitHub actions UI.\n#\n# TODO(cummins): Set up https://github.com/JasonEtco/create-an-issue\n# to create a boilerplate issue if `make fuzz` fails.\nname: Release Fuzz\n\non:\n    workflow_dispatch:\n    schedule:\n        - cron: 0 9 * * 1-5 # every weekday at 9am\n\njobs:\n    fuzz:\n        runs-on: ubuntu-latest\n\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Persist the bazel cache\n              uses: actions/cache@v2\n              with:\n                  path: ~/.cache/bazel/_bazel_runner\n                  key: bazel-${{ hashFiles('WORKSPACE') }}-${{ hashFiles('**/BUILD') }}\n                  restore-keys: |\n                      bazel-${{ hashFiles('WORKSPACE') }}-\n                      bazel-\n\n            - name: Set up Python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: 3.9\n\n            - name: Install build dependencies\n              uses: ./.github/actions/install-build-dependencies\n\n            - name: Build and install Python wheel\n              run: make install\n              env:\n                  CC: clang\n                  CXX: clang++\n                  BAZEL_OPTS: --batch\n                  BAZEL_FETCH_OPTS: --config=ci\n                  BAZEL_BUILD_OPTS: --config=ci\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Install test dependencies\n              run: python -m pip install -r tests/requirements.txt\n\n            - name: Fuzz test\n              run: FUZZ_TIME=600 make fuzz\n", "state": "active", "repository": "facebookresearch/compilergym"}
{"mined_at": "2024-07-15T15:44:58.582306", "created_at": "2021-09-22T09:36:23+02:00", "updated_at": "2021-09-22T12:37:55+02:00", "name": "Build Binaries", "path": ".github/workflows/build.yaml", "contents": "---\n# This workflow is used to build the binary wheels that can be uploaded to pypi\n# for releases. It produces an artifact containing a macOS and manylinux binary\n# wheel from the requested branch. It also runs the full test suite against\n# these wheels.\nname: Build Binaries\n\non:\n    workflow_dispatch:\n    pull_request:\n        branches: [stable]\n    push:\n        branches: [stable]\n\njobs:\n    build:\n        runs-on: ${{ matrix.os }}\n        strategy:\n            matrix:\n                os: [macos-latest, ubuntu-latest]\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Evaluate artifact name\n              run: |\n                  echo \"ARTIFACT=compiler_gym-$(cat VERSION)\" >> $GITHUB_ENV\n                  echo \"Artifact name is $ARTIFACT\"\n\n            - uses: actions/setup-python@v4\n              with:\n                  python-version: 3.9\n\n            - name: Install build dependencies\n              uses: ./.github/actions/install-build-dependencies\n\n            - name: Build Python wheel\n              run: |\n                  if [ \"$(uname)\" = \"Darwin\" ]; then\n                    make bdist_wheel\n                  else\n                    make bdist_wheel-linux\n                  fi\n              env:\n                  BAZEL_OPTS: --batch\n                  BAZEL_FETCH_OPTS: --config=ci\n                  BAZEL_BUILD_OPTS: --config=ci -c opt\n\n            - name: Upload artifact\n              uses: actions/upload-artifact@v3\n              with:\n                  name: ${{ env.ARTIFACT }}\n                  path: dist/*.whl\n                  if-no-files-found: error\n                  retention-days: 14\n\n    examples-test:\n        needs: build\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [macos-latest, ubuntu-latest]\n                python: [3.7, 3.8, 3.9, '3.10']\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Evaluate artifact name\n              run: |\n                  echo \"ARTIFACT=compiler_gym-$(cat VERSION)\" >> $GITHUB_ENV\n                  echo \"Artifact name is $ARTIFACT\"\n\n            - name: Set up Python ${{ matrix.python }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python }}\n\n            - name: Download artifact\n              uses: actions/download-artifact@v3\n              with:\n                  name: ${{ env.ARTIFACT }}\n\n            - name: Install wheel\n              run: |\n                  if [ \"$(uname)\" = \"Darwin\" ]; then\n                    python -m pip install compiler_gym-*-macosx*.whl\n                  else\n                    python -m pip install compiler_gym-*-manylinux*.whl\n                  fi\n\n            - name: Install test dependencies\n              run: python -m pip install -r examples/requirements.txt -r tests/requirements.txt\n\n            - name: Install runtime dependencies\n              uses: ./.github/actions/install-runtime-dependencies\n\n            - name: Run the examples tests\n              run: make -C examples test PYTEST_ARGS=\"--ignore loop_optimizations_service --ignore example_unrolling_service\"\n", "state": "active", "repository": "facebookresearch/compilergym"}
{"mined_at": "2024-07-15T15:44:59.737000", "created_at": "2021-09-22T09:44:57+02:00", "updated_at": "2021-09-22T12:35:05+02:00", "name": "Pip install test", "path": ".github/workflows/pip_install_test.yaml", "contents": "---\n# This workflow pip install's the compiler_gym package and checks that the\n# module can be imported.\n#\n# The goal of this workflow is to catch failures in the installation process\n# that can occur because of a breaking change in the dependent packages, and to\n# test for any import-time error.\nname: Pip install test\n\non:\n    workflow_dispatch:\n    schedule:\n        - cron: 0 0 * * * # daily\n\njobs:\n    test:\n        runs-on: ${{ matrix.os }}\n\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [ubuntu-latest, macos-latest]\n                python: [3.7, 3.8, 3.9]\n\n        steps:\n            - uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python }}\n\n            - name: Install python wheel\n              # We use the TestPyPI repository to install the compiler_gym\n              # package from because we use the install count on the main\n              # repository to track growth and usage of the project. We also\n              # provide the main PyPI repo as a fallback for installing\n              # dependencies.\n              run: python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ compiler_gym\n\n            - name: Check package version\n              run: python -c 'import compiler_gym; print(compiler_gym.__version__)'\n", "state": "active", "repository": "facebookresearch/compilergym"}
{"mined_at": "2024-07-15T15:45:01.071351", "created_at": "2021-09-27T15:30:16+02:00", "updated_at": "2021-09-27T15:48:11+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yaml", "contents": "---\n# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: CodeQL\n\non:\n    push:\n        branches: [development]\n    pull_request:\n        # The branches below must be a subset of the branches above\n        branches: [development]\n    schedule:\n        - cron: 18 6 * * 1\n\njobs:\n    analyze:\n        name: Analyze\n        runs-on: ubuntu-latest\n        permissions:\n            actions: read\n            contents: read\n            security-events: write\n\n        strategy:\n            fail-fast: false\n            matrix:\n                language: [python]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n        steps:\n            - name: Checkout repository\n              uses: actions/checkout@v3\n\n            # Initializes the CodeQL tools for scanning.\n            - name: Initialize CodeQL\n              uses: github/codeql-action/init@v1\n              with:\n                  languages: ${{ matrix.language }}\n            # If you wish to specify custom queries, you can do so here or in a config file.\n            # By default, queries listed here will override any specified in a config file.\n            # Prefix the list here with \"+\" to use these queries and those in the config file.\n            # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n            # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n            # If this step fails, then you should remove it and run the build manually (see below)\n            - name: Autobuild\n              uses: github/codeql-action/autobuild@v1\n\n            # ℹ️ Command-line programs to run using the OS shell.\n            # 📚 https://git.io/JvXDl\n\n            # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n            #    and modify them (or add more) to build your code if your project\n            #    uses a compiled language\n\n            #- run: |\n            #   make bootstrap\n            #   make release\n\n            - name: Perform CodeQL Analysis\n              uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "facebookresearch/compilergym"}
{"mined_at": "2024-07-15T15:45:03.135090", "created_at": "2022-08-04T09:49:44+02:00", "updated_at": "2022-08-04T09:49:44+02:00", "name": "cffconvert", "path": ".github/workflows/cffconvert.yml", "contents": "name: cffconvert\n\non:\n  push:\n    paths:\n      - CITATION.cff\n  pull_request:\n    paths:\n      - CITATION.cff\n\njobs:\n  validate:\n    name: \"validate\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out a copy of the repository\n        uses: actions/checkout@v4\n\n      - name: Check whether the citation metadata from CITATION.cff is valid\n        uses: citation-file-format/cffconvert-github-action@2.0.0\n        with:\n          args: \"--validate\"\n", "state": "active", "repository": "mne-tools/mne-bids"}
{"mined_at": "2024-07-15T15:45:04.208239", "created_at": "2021-03-24T16:00:06+01:00", "updated_at": "2021-03-24T16:00:06+01:00", "name": ".github/workflows/circle_artifacts.yml", "path": ".github/workflows/circle_artifacts.yml", "contents": "on: [status]\njobs:\n  circleci_artifacts_redirector_job:\n    runs-on: ubuntu-latest\n    if: \"${{ startsWith(github.event.context, 'ci/circleci: docs-build') }}\"\n    permissions:\n      statuses: write\n    name: Run CircleCI artifacts redirector\n    steps:\n      - name: GitHub Action step\n        uses: larsoner/circleci-artifacts-redirector-action@master\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          api-token: ${{ secrets.CIRCLECI_TOKEN }}\n          artifact-path: 0/dev/index.html\n          circleci-jobs: docs-build\n          job-title: Check the rendered docs here!\n", "state": "active", "repository": "mne-tools/mne-bids"}
{"mined_at": "2024-07-15T15:45:05.209643", "created_at": "2024-06-03T21:30:32+02:00", "updated_at": "2024-06-03T23:35:07+02:00", "name": "build", "path": ".github/workflows/release.yml", "contents": "# Upload a Python Package using Twine when a release is created\n\nname: build\non:  # yamllint disable-line rule:truthy\n  release:\n    types: [published]\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  package:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build twine\n      - run: python -m build --sdist --wheel\n      - run: twine check --strict dist/*\n      - uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist\n\n  pypi-upload:\n    needs: package\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release'\n    permissions:\n      id-token: write  # for trusted publishing\n    environment:\n      name: pypi\n      url: https://pypi.org/p/mne\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        if: github.event_name == 'release'\n", "state": "active", "repository": "mne-tools/mne-bids"}
{"mined_at": "2024-07-15T15:45:06.299594", "created_at": "2020-05-23T07:36:53+02:00", "updated_at": "2021-12-20T15:51:13+01:00", "name": "test_suite", "path": ".github/workflows/unit_tests.yml", "contents": "name: test_suite\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches: ['**']\n    tags: ['**']\n  pull_request:\n    branches: ['**']\n  schedule:\n    - cron: \"0 4 * * *\"\n\njobs:\n  style:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.12\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/cache@v4\n      with:\n        path: ${{ env.pythonLocation }}\n        key: style-0-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install ruff\n    - name: Display versions and environment information\n      run: |\n        python --version\n        which python\n    - name: Run style & documentation tests\n      run: make pep\n\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.9\", \"3.12\"]  # Oldest and newest supported versions\n    steps:\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - uses: actions/cache@v4\n      with:\n        path: ${{ env.pythonLocation }}\n        key: build-1-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install build twine\n\n    - uses: actions/checkout@v4\n    - name: Build sdist\n      run: python -m build --sdist\n    - name: Check sdist\n      run: twine check --strict dist/*\n    - name: Install sdist\n      run: python -m pip install ./dist/mne_bids-*\n    - name: Clean up working directory\n      run: rm -rf ./*\n    - name: Try importing mne_bids\n      run: python -c 'import mne_bids; print(mne_bids.__version__)'\n    - name: Try cli mne_bids\n      run: mne_bids --version\n    - name: Remove sdist install\n      run: python -m pip uninstall -y mne-bids\n\n    - uses: actions/checkout@v4\n    - name: Build wheel\n      run: python -m build --wheel\n    - name: Check wheel\n      run: twine check --strict dist/*\n    - name: Install wheel\n      run: python -m pip install ./dist/mne_bids-*.whl\n    - name: Clean up working directory\n      run: rm -rf ./*\n    - name: Try importing mne_bids\n      run: python -c 'import mne_bids; print(mne_bids.__version__)'\n    - name: Try cli mne_bids\n      run: mne_bids --version\n    - name: Remove wheel install\n      run: python -m pip uninstall -y mne-bids\n\n    - uses: actions/checkout@v4\n    - name: Test extras install\n      run: |\n        python -m pip install .[full]\n        python -c 'import mne_bids; print(mne_bids.__version__)'\n        python -c 'import nibabel; print(nibabel.__version__)'\n        python -c 'import pybv; print(pybv.__version__)'\n        python -c 'import eeglabio; print(eeglabio.__version__)'\n        python -c 'import pymatreader; print(pymatreader.__version__)'\n        python -c 'import matplotlib; print(matplotlib.__version__)'\n        python -c 'import pandas; print(pandas.__version__)'\n        python -c 'import EDFlib; print(\"EDFlib has no .__version__\")'\n        python -c 'import edfio; print(edfio.__version__)'\n\n  test:\n    # For GitHub \"required\" CI checks, add in branch protection:\n    #\n    # 6 checks:\n    # for each OS (ubuntu, macos, windows):\n    # 3.9 / mne-stable / full / validator-stable\n    # 3.12 / mne-stable / full / validator-stable\n    #\n    # 1 additional check for Apple Silicon (doesn't support Python 3.9):\n    # 3.12 / mne-stable / full / validator-stable\n    #\n    # 5 additional checks with alternative MNE-Python and BIDS validator versions:\n    # ubuntu / 3.12 / mne-main / full / validator-main\n    # ubuntu / 3.9 / mne-prev / full / validator-stable\n    # ubuntu / 3.12 / mne-stable / minimal / validator-stable\n    timeout-minutes: 60\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.9\", \"3.12\"]  # Oldest and newest supported versions\n        mne-version: [mne-stable]\n        mne-bids-install: [full]\n        bids-validator-version: [validator-stable]\n\n        include:\n          # special test runs running only on single CI systems to save resources\n          #\n          # macOS-14 (Apple Silicon) only works with Python 3.10+\n          # Once we drop support for Python 3.9, move it to the \"proper\" matrix above.\n          - os: macos-14\n            python-version: \"3.12\"\n            mne-version: mne-stable\n            mne-bids-install: full\n            bids-validator-version: validator-stable\n\n          # Test development versions\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            mne-version: mne-main\n            mne-bids-install: full\n            bids-validator-version: validator-main\n          # Test previous MNE stable version\n          - os: ubuntu-latest\n            python-version: \"3.9\"\n            mne-version: mne-prev-stable\n            mne-bids-install: full\n            bids-validator-version: validator-stable\n          # Test minimal mne-bids install\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            mne-version: mne-stable\n            mne-bids-install: minimal\n            bids-validator-version: validator-stable\n\n\n    env:\n      TZ: Europe/Berlin\n      FORCE_COLOR: true\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: 20\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Restore cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ env.pythonLocation }}\n        key: test-0-${{ env.pythonLocation }}-${{ env.os }}-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Python dependencies using pip\n      # This would be nicer once this feature is implemented: https://github.com/pypa/pip/issues/11440\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -e .[test]\n\n    - name: Install MNE (stable)\n      if: matrix.mne-version == 'mne-stable'\n      run: |\n        git clone --single-branch --branch maint/1.6 https://github.com/mne-tools/mne-python.git\n        python -m pip install -e ./mne-python\n\n    - name: Install MNE (previous stable)\n      if: matrix.mne-version == 'mne-prev-stable'\n      run: |\n        git clone --single-branch --branch maint/1.5 https://github.com/mne-tools/mne-python.git\n        python -m pip install -e ./mne-python\n\n    - name: Install MNE (main)\n      if: matrix.mne-version == 'mne-main'\n      run: |\n        git clone --single-branch --branch main https://github.com/mne-tools/mne-python.git\n        python -m pip install -e ./mne-python\n\n    - name: Install BIDS validator (stable)\n      if: matrix.bids-validator-version == 'validator-stable'\n      run: |\n        npm install -g bids-validator\n        echo \"BIDS_VALIDATOR_BRANCH=stable\" >> $GITHUB_ENV\n\n    - name: Download BIDS validator (main)\n      if: matrix.bids-validator-version == 'validator-main'\n      run: |\n        pushd ..\n        git clone --depth 1 https://github.com/bids-standard/bids-validator\n        popd\n        echo \"BIDS_VALIDATOR_BRANCH=main\" >> $GITHUB_ENV\n\n    - name: Install BIDS validator (main)\n      if: matrix.bids-validator-version == 'validator-main'\n      run: |\n        pushd ..\n        cd bids-validator\n        # Generate the full development node_modules\n        npm install\n        # Build & bundle the bids-validator CLI package\n        npm -w bids-validator run build\n        # Generate a package to install globally\n        npm -w bids-validator pack\n        # Install the package globally\n        bash -c \"npm install -g bids-validator-*.tgz\"\n        popd\n\n    - name: Display versions and environment information\n      run: |\n        echo $TZ\n        date\n        echo \"npm\"; npm --version\n        echo \"node\"; node --version\n        echo \"bids-validator\"; bids-validator --version\n        echo \"python\"; python --version\n        which python\n        mne sys_info\n\n    - name: Install MNE-BIDS (minimal)\n      if: matrix.mne-bids-install == 'minimal'\n      run: python -m pip install -e .\n\n    - name: Install MNE-BIDS (full)\n      if: matrix.mne-bids-install == 'full'\n      run: python -m pip install -e .[full]\n\n    # Only run on a limited set of jobs\n    - name: Run pytest without testing data\n      run: make test\n      if: ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' && matrix.mne-version == 'mne-main' }}\n\n    # Get testing data\n    - run: ./tools/get_testing_version.sh\n      working-directory: mne-python\n      shell: bash\n      name: 'Get testing version'\n\n    - uses: actions/cache@v4\n      with:\n        key: ${{ env.TESTING_VERSION }}\n        path: ~/mne_data\n      name: 'Cache testing data'\n\n    - run: ./tools/github_actions_download.sh\n      shell: bash\n      working-directory: mne-python\n\n    - name: Run pytest\n      shell: bash\n      run: make test\n\n    - name: Upload coverage stats to codecov\n      uses: codecov/codecov-action@v4\n      with:\n        files: ./coverage.xml\n\n  build_docs:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.12\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/cache@v4\n      with:\n        path: ${{ env.pythonLocation }}\n        key: build_docs-0-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade https://github.com/mne-tools/mne-python/archive/refs/heads/main.zip\n        python -m pip install -e .[test,doc]\n    - name: Build the documentation\n      run: |\n        make build-doc\n    - name: Upload artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: documentation\n        path: doc/_build/html\n", "state": "active", "repository": "mne-tools/mne-bids"}
{"mined_at": "2024-07-15T15:45:07.343902", "created_at": "2021-12-18T13:00:21+01:00", "updated_at": "2021-12-18T13:00:21+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mne-tools/mne-bids"}
{"mined_at": "2024-07-15T15:45:09.463649", "created_at": "2023-04-26T09:22:36+02:00", "updated_at": "2023-08-01T15:01:16+02:00", "name": "Checks", "path": ".github/workflows/check.yml", "contents": "name: Checks\n\non: [pull_request, push]\n\npermissions:\n  contents: read\n\njobs:\n  spelling_checker:\n    name: \"Spelling\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: codespell-project/actions-codespell@master\n        with:\n          ignore_words_list: msdos, pullrequest\n          skip: ./.git,coverity,rpmbuild,samples\n\n  python_code_linters:\n      name: \"Python Linters\"\n      runs-on: ubuntu-latest\n      steps:\n      - name: \"Clone Repository\"\n        uses: actions/checkout@v4\n      - name: \"Run Linters\"\n        uses: osbuild/containers/src/actions/privdocker@552e30cf1b4ed19c6ddaa57f96c342b3dff4227b\n        with:\n          image: ghcr.io/osbuild/osbuild-ci:latest-202304251412\n          run: |\n            make lint\n\n  shell_linters:\n    name: \"Shell Linters\"\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: \"Clone Repository\"\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: \"Differential ShellCheck\"\n      uses: redhat-plumbers-in-action/differential-shellcheck@v3\n      with:\n        severity: warning\n        token: ${{ secrets.GITHUB_TOKEN }}\n\n  packit-config-lint:\n    name: \"📦 Packit config lint\"\n    runs-on: ubuntu-latest\n    container:\n      image: registry.fedoraproject.org/fedora:latest\n    steps:\n      - name: Install Packit\n        run: dnf -y install packit\n\n      - name: Check out code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Validate Packit config\n        run: |\n          packit validate-config .packit.yaml\n\n  snapshots:\n    name: \"🔍 Check for valid snapshot urls\"\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out code into the Go module directory\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Check for valid snapshot urls\n        run: ./tools/check-snapshots --errors-only .\n\n  json-fmt:\n    name: \"🔍 Check JSON files for formatting consistency\"\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Install utils\n        run: |\n          sudo apt update\n          sudo apt install -y jq moreutils\n      - name: Check out code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Reformat all json files\n        run: find -iname \"*.json\" -print -exec sh -c 'jq --indent 2 . {} | sponge {}' \\;\n      - name: Check diff\n        run: git diff --exit-code\n", "state": "active", "repository": "osbuild/osbuild"}
{"mined_at": "2024-07-15T15:45:10.535329", "created_at": "2022-12-07T12:19:57+01:00", "updated_at": "2022-12-07T12:19:57+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": null, "state": "active", "repository": "osbuild/osbuild"}
{"mined_at": "2024-07-15T15:45:11.531623", "created_at": "2020-06-24T10:01:26+02:00", "updated_at": "2020-06-24T10:01:26+02:00", "name": "Coverity", "path": ".github/workflows/coverity.yml", "contents": "name: Coverity\non:\n  schedule:\n    - cron: '0 5 * * *' # Daily at 05:00 UTC\n\njobs:\n  coverity:\n    name: \"Test Suite\"\n    if: github.repository == 'osbuild/osbuild'\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: osbuild\n    steps:\n\n      - name: Clone repository\n        uses: actions/checkout@v4\n        with:\n          path: osbuild\n\n      - name: Install Dependencies\n        run: |\n          sudo apt-get install python3-setuptools\n\n      - name: Download Coverity Tool\n        run: |\n          make coverity-download\n        env:\n         COVERITY_TOKEN: ${{ secrets.COVERITY_TOKEN }}\n\n      - name: Coverity check\n        run: |\n          make coverity-check\n\n      - name: Upload analysis results\n        run: |\n          make coverity-submit\n        env:\n         COVERITY_TOKEN: ${{ secrets.COVERITY_TOKEN }}\n         COVERITY_EMAIL: ${{ secrets.COVERITY_EMAIL }}\n", "state": "active", "repository": "osbuild/osbuild"}
{"mined_at": "2024-07-15T15:45:12.745031", "created_at": "2022-03-24T00:04:50+01:00", "updated_at": "2022-03-24T00:04:50+01:00", "name": "Create and push release tag", "path": ".github/workflows/create-tag.yml", "contents": "# This action creates a release every second Wednesday\nname: \"Create and push release tag\"\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 8 * * 3\"\n\njobs:\n  tag-and-push:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Even or odd week\n        run: if [ `expr \\`date +\\%s\\` / 86400 \\% 2` -eq 0 ]; then echo \"WEEK=odd\" >> $GITHUB_ENV; else echo \"WEEK=even\" >> $GITHUB_ENV; fi\n        shell: bash\n\n      - name: Upstream tag\n        uses: osbuild/release-action@create-tag\n        if: ${{ env.WEEK == 'even' || github.event_name != 'schedule' }}\n        with:\n          token: \"${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}\"\n          username: \"imagebuilder-bot\"\n          email: \"imagebuilder-bots+imagebuilder-bot@redhat.com\"\n", "state": "active", "repository": "osbuild/osbuild"}
{"mined_at": "2024-07-15T15:45:13.826537", "created_at": "2023-04-26T09:22:36+02:00", "updated_at": "2023-08-01T15:01:16+02:00", "name": "Generate", "path": ".github/workflows/generate.yml", "contents": "name: Generate\n\non: [pull_request, push]\n\njobs:\n  generate_documentation:\n    name: \"Documentation\"\n    runs-on: ubuntu-latest\n    container:\n      image: docker.io/library/python:3.7\n    steps:\n      - name: Install Dependencies\n        run: |\n          pip install docutils\n\n      - name: Clone repository\n        uses: actions/checkout@v4\n        with:\n          path: osbuild\n\n      - name: Generate Documentation\n        run: |\n          make \\\n            -f osbuild/Makefile \\\n            SRCDIR=osbuild \\\n            BUILDDIR=build \\\n            RST2MAN=rst2man.py \\\n            man\n\n      - name: Verify Documentation\n        working-directory: build\n        run: |\n          test -d docs\n          test -f docs/osbuild.1\n\n  generate_test_data:\n    name: \"Test Data\"\n    runs-on: ubuntu-latest\n    env:\n      OSBUILD_MPP_CACHEDIR: \"/var/tmp/osbuild-mpp-cache\"\n    steps:\n    - name: \"Clone Repository\"\n      uses: actions/checkout@v4\n    - name: Cache metadata\n      uses: actions/cache@v4\n      with:\n        path: /var/tmp/osbuild-mpp-cache\n        key: no-key-needed-here\n    - name: \"Regenerate Test Data\"\n      uses: osbuild/containers/src/actions/privdocker@552e30cf1b4ed19c6ddaa57f96c342b3dff4227b\n      with:\n        image: ghcr.io/osbuild/osbuild-ci:latest-202304251412\n        run: |\n          make test-data\n          git diff --exit-code -- ./test/data\n", "state": "active", "repository": "osbuild/osbuild"}
{"mined_at": "2024-07-15T15:45:14.997363", "created_at": "2024-03-05T11:01:12+01:00", "updated_at": "2024-03-05T11:01:12+01:00", "name": "Verify PR best practices", "path": ".github/workflows/pr_best_practices.yml", "contents": "name: \"Verify PR best practices\"\n\non:\n  pull_request_target:\n    branches: [ main ]\n\njobs:\n  pr-best-practices:\n    runs-on: ubuntu-latest\n    steps:\n      - name: PR best practice check\n        uses: osbuild/pr-best-practices@main\n        with:\n          token: ${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}\n", "state": "active", "repository": "osbuild/osbuild"}
{"mined_at": "2024-07-15T15:45:16.208008", "created_at": "2022-09-23T14:18:41+02:00", "updated_at": "2022-09-23T14:18:41+02:00", "name": "Update osbuild ref in manifest-db", "path": ".github/workflows/propagate_to_manifestdb.yml", "contents": "name: Update osbuild ref in manifest-db\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  propagate:\n    runs-on: ubuntu-latest\n    env:\n      SCHUTZBOT_GH: ${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}\n    steps:\n      - name: Checkout OSBuild\n        uses: actions/checkout@v3\n        with:\n          path: osbuild\n          fetch-depth: 0\n\n      - name: Update Manifest-db\n        run: |\n          # update only if manifest-db SHA was updated in the last commit\n          cd osbuild\n          ACTUAL_MDB_SHA=$(git show HEAD:Schutzfile | jq -r '.global.dependencies.\"manifest-db\".commit')\n          PREVIOUS_MDB_SHA=$(git show HEAD^:Schutzfile | jq -r '.global.dependencies.\"manifest-db\".commit')\n          if [[ $ACTUAL_MDB_SHA == $PREVIOUS_MDB_SHA ]] ; then\n            echo \"The manifest-db SHA was not updated in the last commit, ignoring the dependency update\"\n            exit 0\n          fi\n          echo \"updating the dependency in manifest-db\"\n          OSBUILD_HEAD=\"${{ github.sha }}\"\n          echo \"Latest OSBuild SHA: $OSBUILD_HEAD\"\n\n          # Clone manifest-db\n          cd ..\n          git clone https://github.com/osbuild/manifest-db.git\n\n          # Load the previous osbuild REF from manifest-db's Schutzfile and\n          # Generate the commit list between the two osbuild revisions for the\n          # PR\n          cd manifest-db\n          OLD_REF=$(jq -r '.global.dependencies.osbuild.commit' Schutzfile)\n          cd ../osbuild\n          COMMIT_LIST=$(git log --oneline $OLD_REF..$OSBUILD_HEAD | sed 's/.*/- https:\\/\\/github.com\\/osbuild\\/osbuild\\/commit\\/&/')\n\n          # Update the manifest-db's dependency to the newest OSBuild\n          #\n          # Login as Schutzbot\n          cd ../manifest-db\n          echo \"${SCHUTZBOT_GH}\" | gh auth login --with-token\n          git config --local user.name \"SchutzBot\"\n          git config --local user.email \"imagebuilder-bots+schutzbot@redhat.com\"\n\n          # Create a branch for the PR\n          now=$(date '+%Y-%m-%d-%H%M%S')\n          BRANCH_NAME=\"osbuild-update-$now\"\n          git checkout -b $BRANCH_NAME\n\n          # change the value for the commit head in the schutzfile\n          jq --arg variable \"$OSBUILD_HEAD\" '.global.dependencies.osbuild.commit=$variable' Schutzfile > Schutzfile.tmp && mv Schutzfile.tmp Schutzfile\n\n          # create the PR\n          PR_BODY=\"$(cat <<-END\n          This PR updates the osbuild ref dependency for manifest-db. Between the\n          last time it was updated, and this new reference commit, these are the changes:\n\n          $COMMIT_LIST\n          END\n          )\"\n          git remote add upstream https://schutzbot:\"$SCHUTZBOT_GH\"@github.com/schutzbot/manifest-db.git\n          git add -A && \\\n              git commit -m \"schutzfile: update osbuild ref $(date '+%Y-%m-%d')\" && \\\n              git push upstream \"$BRANCH_NAME:$BRANCH_NAME\" && \\\n              gh pr create \\\n                  --title \"schutzfile: update osbuild ref $(date '+%Y-%m-%d')\" \\\n                  --body \"$PR_BODY\" \\\n                  --repo \"osbuild/manifest-db\" \\\n                  -r lavocatt\n", "state": "active", "repository": "osbuild/osbuild"}
{"mined_at": "2024-07-15T15:45:17.305313", "created_at": "2021-10-18T17:06:28+02:00", "updated_at": "2021-10-25T15:13:05+02:00", "name": "Create GitHub release", "path": ".github/workflows/release.yml", "contents": "name: \"Create GitHub release\"\n\non:\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Upstream release\n        uses: osbuild/release-action@main\n        with:\n          token: \"${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}\"\n          slack_webhook_url: \"${{ secrets.SLACK_WEBHOOK_URL }}\"\n", "state": "active", "repository": "osbuild/osbuild"}
{"mined_at": "2024-07-15T15:45:18.335694", "created_at": "2023-09-06T17:49:47+02:00", "updated_at": "2023-09-06T17:49:47+02:00", "name": "Mark and close stale issues and PRs", "path": ".github/workflows/stale-cleanup.yml", "contents": "name: Mark and close stale issues and PRs\n\non:\n  schedule:\n    - cron: '0 4 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: osbuild/common-stale-action@main\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "osbuild/osbuild"}
{"mined_at": "2024-07-15T15:45:19.407203", "created_at": "2024-02-12T21:31:43+01:00", "updated_at": "2024-06-24T20:25:05+02:00", "name": "Run tests in Centos container", "path": ".github/workflows/test-on-centos.yml", "contents": null, "state": "active", "repository": "osbuild/osbuild"}
{"mined_at": "2024-07-15T15:45:20.439295", "created_at": "2023-04-17T13:58:56+02:00", "updated_at": "2023-08-01T15:01:16+02:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non: [pull_request, push]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  # Share the store between the workers speeds things up further\n  OSBUILD_TEST_STORE: /var/tmp/osbuild-test-store\n\njobs:\n  test_suite:\n    name: \"Unittest\"\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        test:\n          - parallel\n          - normal\n        environment:\n          - \"py36\"    # RH8\n          - \"py39\"    # RH9\n          - \"py312\"   # latest fedora\n    steps:\n    - name: \"Clone Repository\"\n      uses: actions/checkout@v4\n    - name: \"Run\"\n      uses: osbuild/containers/src/actions/privdocker@552e30cf1b4ed19c6ddaa57f96c342b3dff4227b\n      with:\n        image: ghcr.io/osbuild/osbuild-ci:latest-202404252004\n        run: |\n          # Hacky replacement of container storage driver:\n          # The default overlayfs doesn't work in the runner, so let's change\n          # it to vfs for the local storage skopeo stage test.\n          sed -i 's/overlay/vfs/g' /usr/share/containers/storage.conf  # default system config\n          sed -i 's/overlay/vfs/g' /etc/containers/storage.conf || true  # potential overrides\n          if [ \"${{ matrix.test }}\" == \"parallel\" ]; then\n              # 4 is a bit arbitrary\n              TEST_WORKERS=\"-n 4\"\n              TEST_CATEGORY=\"test_stages.py\"\n          else\n              # test_assemblers.py is run below\n              TEST_CATEGORY=\"not test_stages.py and not test_assemblers.py\"\n          fi\n          OSBUILD_TEST_STORE=\"${{ env.OSBUILD_TEST_STORE }}\" \\\n          tox -e \"${{ matrix.environment }}\" -- -rs $TEST_WORKERS -k \"$TEST_CATEGORY\"\n\n  v1_manifests:\n    name: \"Assembler test (legacy)\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Clone Repository\"\n        uses: actions/checkout@v4\n      - name: \"Run\"\n        uses: osbuild/containers/src/actions/privdocker@552e30cf1b4ed19c6ddaa57f96c342b3dff4227b\n        env:\n          # Using 4 workers is a bit arbitrary, \"auto\" is probably too aggressive.\n          TEST_WORKERS: \"-n 4\"\n        with:\n          image: ghcr.io/osbuild/osbuild-ci:latest-202404252004\n          run: |\n            OSBUILD_TEST_STORE=\"${{ env.OSBUILD_TEST_STORE }}\" \\\n            tox -e \"py36\" -- ${{ env.TEST_WORKERS }} test.run.test_assemblers\n", "state": "active", "repository": "osbuild/osbuild"}
{"mined_at": "2024-07-15T15:45:21.464179", "created_at": "2021-06-01T19:30:17+02:00", "updated_at": "2021-06-30T19:54:38+02:00", "name": "Trigger GitLab CI", "path": ".github/workflows/trigger-gitlab.yml", "contents": "# inspired by rhinstaller/anaconda\n\nname: Trigger GitLab CI\n\non:\n  workflow_run:\n    workflows: [\"Checks\"]\n    types: [completed]\n\njobs:\n  trigger-gitlab:\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    runs-on: ubuntu-latest\n    env:\n      IMAGEBUILDER_BOT_GITLAB_SSH_KEY: ${{ secrets.IMAGEBUILDER_BOT_GITLAB_SSH_KEY }}\n    steps:\n      - name: Report status\n        uses: haya14busa/action-workflow_run-status@v1\n\n      - name: Install Dependencies\n        run: |\n          sudo apt install -y jq\n\n      - name: Clone repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.workflow_run.head_sha }}\n          fetch-depth: 0\n\n      - uses: octokit/request-action@v2.x\n        id: fetch_pulls\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          route: GET /repos/${{ github.repository }}/pulls\n\n      - name: Checkout branch\n        run: |\n          PR_DATA=$(mktemp)\n          # use uuid as a file terminator to avoid conflicts with data content\n          cat > \"$PR_DATA\" <<'a21b3e7f-d5eb-44a3-8be0-c2412851d2e6'\n          ${{ steps.fetch_pulls.outputs.data }}\n          a21b3e7f-d5eb-44a3-8be0-c2412851d2e6\n\n          PR=$(jq -rc '.[] | select(.head.sha | contains(\"${{ github.event.workflow_run.head_sha }}\")) | select(.state | contains(\"open\"))' \"$PR_DATA\" | jq -r .number)\n          if [ ! -z \"$PR\" ]; then\n            git checkout -b PR-$PR\n          else\n            git checkout ${{ github.event.workflow_run.head_branch }}\n          fi\n\n      - name: Push to gitlab\n        run: |\n          mkdir -p ~/.ssh\n          echo \"${IMAGEBUILDER_BOT_GITLAB_SSH_KEY}\" > ~/.ssh/id_rsa\n          chmod 400 ~/.ssh/id_rsa\n          touch ~/.ssh/known_hosts\n          ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts\n          git remote add ci git@gitlab.com:redhat/services/products/image-builder/ci/osbuild.git\n          git push -f ci\n          git push -f --tags ci\n", "state": "active", "repository": "osbuild/osbuild"}
{"mined_at": "2024-07-15T15:45:23.575556", "created_at": "2020-07-04T05:54:15+02:00", "updated_at": "2022-10-09T15:17:38+02:00", "name": "Quality Check", "path": ".github/workflows/test.yml", "contents": "name: Quality Check\n\non:\n  push:\n    branches:\n      main\n  pull_request:\n    types: [edited, synchronize, opened, reopened]\n    branches:\n      main\n  workflow_dispatch:\n\njobs:\n  cancel:\n    name: cancel previous runs\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: styfle/cancel-workflow-action@0.11.0\n        with:\n          all_but_latest: true\n          access_token: ${{ github.token }}\n\n  poetry--quality-check:\n    name: quality check\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n\n    steps:\n      - name: check out repository\n        uses: actions/checkout@v3\n\n      - name: set up Python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: load cached venv if available\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: install dependencies and test tools if cache does not exist\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root --with test\n\n      - name: run quality check with \"make check\" command\n        run: make check\n\n  poetry-test:\n    name: Pytest with Poetry\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n\n    steps:\n      - name: check out repository\n        uses: actions/checkout@v3\n\n      - name: set up Python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: load cached venv if available\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: install dependencies and test tools if cache does not exist\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root --with test\n\n      - name: run tests\n        run: poetry run pytest tests\n\n      - name: upload test coverage to Codecov\n        uses: codecov/codecov-action@v3\n\n  pip-test:\n    name: test with pip\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: pip install and test\n        run: |\n          pip install pip --upgrade\n          pip install .\n          pip install pytest pytest-cov pytest-xdist\n          pytest -v --maxfail=1 tests -n auto\n\n  anaconda_pip:\n    name: test with Anaconda environment\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [\"windows-latest\"]\n        python-version: [\"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup conda\n        uses: s-weigand/setup-conda@v1\n        with:\n          update-conda: true\n          python-version: ${{ matrix.python-version }}\n          conda-channels: anaconda, conda-forge\n\n      - name: installation of CovsirPhy\n        run: |\n          conda install -c conda-forge pip fiona ruptures\n          pip install .\n\n  codeql:\n    name: discover vulnerabilities with CodeQL\n    runs-on: ubuntu-latest\n    permissions:\n      security-events: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: python\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "lisphilar/covid19-sir"}
{"mined_at": "2024-07-15T15:45:24.578092", "created_at": "2021-01-06T16:33:39+01:00", "updated_at": "2021-01-06T16:33:39+01:00", "name": "Verify the pull request has linked issues", "path": ".github/workflows/pr_verify_linked_issue.yml", "contents": "# https://github.com/marketplace/actions/verify-linked-issue\nname: Verify the pull request has linked issues\n\non:\n  pull_request:\n    types: [edited, synchronize, opened, reopened]\n\njobs:\n  verify_linked_issue:\n    name: Ensure Pull Request has a linked issue\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Verify Linked Issue\n        uses: hattan/verify-linked-issue-action@v1.1.1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "lisphilar/covid19-sir"}
{"mined_at": "2024-07-15T15:45:25.624789", "created_at": "2021-12-18T16:47:11+01:00", "updated_at": "2021-12-18T16:47:11+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "lisphilar/covid19-sir"}
{"mined_at": "2024-07-15T15:45:26.686187", "created_at": "2022-09-10T18:46:07+02:00", "updated_at": "2022-09-11T11:04:43+02:00", "name": "Update documentation", "path": ".github/workflows/deploy.yml", "contents": "name: Update documentation\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \".github/workflows/**\"\n      - \"./covsirphy/__version__.py\"\n      - \"docs/**\"\n  workflow_dispatch:\n\njobs:\n  cancel:\n    name: cancel previous runs\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: styfle/cancel-workflow-action@0.11.0\n        with:\n          all_but_latest: true\n          access_token: ${{ github.token }}\n\n  docs:\n    name: update documentation with Sphinx\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: check out repository\n        uses: actions/checkout@v3\n\n      - name: set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n\n      - name: install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n\n      - name: install dependencies\n        run: poetry install --no-interaction --with docs\n\n      - name: create html files with \"make docs\" command\n        run: make docs\n\n      - name: Git add & commit\n        uses: EndBug/add-and-commit@v9\n        with:\n          add: \".\"\n          default_author: github_actor\n          message: \"update documentation with Sphinx\"\n          push: true\n", "state": "active", "repository": "lisphilar/covid19-sir"}
{"mined_at": "2024-07-15T15:45:27.723421", "created_at": "2022-10-10T10:51:56+02:00", "updated_at": "2022-10-10T10:51:56+02:00", "name": "Rebase Pull Requests", "path": ".github/workflows/rebase-pull-requests.yml", "contents": "name: Rebase Pull Requests\n\non:\n  push:\n    branches: [main]\n\njobs:\n  rebase:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: linhbn123/rebase-pull-requests@v1.0.1\n", "state": "active", "repository": "lisphilar/covid19-sir"}
{"mined_at": "2024-07-15T15:45:29.821029", "created_at": "2020-12-12T09:18:22+01:00", "updated_at": "2020-12-12T13:20:35+01:00", "name": "npm", "path": ".github/workflows/node.js.yml", "contents": "name: npm\n\non:\n  push:\n  pull_request:\n    types: [opened, synchronize]\n\nenv:\n  node-version: 6.x\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Use Node.js ${{ env.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: ${{ env.node-version }}\n    - name: Run npm test\n      timeout-minutes: 10\n      run: |\n        npm install -g grunt-cli@1.3\n        npm install\n        npm test\n", "state": "active", "repository": "kc3kai/kc3-translations"}
{"mined_at": "2024-07-15T15:45:31.917954", "created_at": "2020-04-15T07:26:01+02:00", "updated_at": "2023-06-11T09:19:27+02:00", "name": "Quality & Tests", "path": ".github/workflows/tests.yml", "contents": "name: Quality & Tests\n\non: pull_request\n\npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt', 'requirements-tests.txt') }}\n\n      - name: Install requirements\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: python -m pip install -r requirements-tests.txt\n\n      - name: Quality checks, and linters\n        run: ./check.sh\n\n      - name: Unit tests\n        run: python -Wd -m pytest tests --doctest-modules wikidict\n\n      - name: Automerge\n        if: github.actor == 'dependabot[bot]'\n        uses: pascalgn/automerge-action@v0.16.3\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          MERGE_LABELS: automerge,!DO_NOT_MERGE\n          MERGE_METHOD: squash\n          MERGE_DELETE_BRANCH: true\n", "state": "active", "repository": "bobotig/ebook-reader-dict"}
{"mined_at": "2024-07-15T15:45:32.969262", "created_at": "2020-04-18T01:19:13+02:00", "updated_at": "2021-03-07T17:27:45+01:00", "name": "Update dictionaries", "path": ".github/workflows/auto-updates.yml", "contents": "name: Update dictionaries\n\non:\n  schedule:\n    # At 01:00 (UTC) every day\n    - cron: \"0 1 * * *\"\n\n  # Allow to call the workflow manually\n  workflow_dispatch:\n\njobs:\n  # First job just to fill the pip cache\n  warmup:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}\n\n      - name: Install requirements\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: python -m pip install -r requirements.txt\n\n  update:\n    runs-on: ubuntu-latest\n    needs: [warmup]\n\n    # List of locales to generate\n    strategy:\n      fail-fast: false\n      matrix:\n        locale: # XXX_LOCALES\n          - \"ca\"\n          - \"da\"\n          - \"de\"\n          - \"el\"\n          - \"en\"\n          - \"es\"\n          - \"fr\"\n          - \"it\"\n          - \"no\"\n          - \"pt\"\n          - \"ro\"\n          - \"ru\"\n          - \"sv\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}\n\n      - name: Download the latest Wiktionary dump\n        run: python -Wd -m wikidict ${{ matrix.locale }} --download\n\n      - name: Parse the dump\n        run: python -Wd -m wikidict ${{ matrix.locale }} --parse\n\n      - name: Render templates\n        run: python -Wd -m wikidict ${{ matrix.locale }} --render\n\n      - name: Convert to dictionaries\n        run: python -Wd -m wikidict ${{ matrix.locale }} --convert\n\n      - name: Generate the release description\n        run: python -Wd -m wikidict ${{ matrix.locale }} --release > release.txt\n\n      - name: Upload release data\n        if: github.ref == 'refs/heads/master'\n        uses: softprops/action-gh-release@v2\n        with:\n          tag_name: ${{ matrix.locale }}\n          body_path: release.txt\n          files: |\n            data/${{ matrix.locale }}/dicthtml-${{ matrix.locale }}-${{ matrix.locale }}*.zip\n            data/${{ matrix.locale }}/dicthtml-${{ matrix.locale }}-${{ matrix.locale }}*.zip.sha256\n            data/${{ matrix.locale }}/dict-${{ matrix.locale }}-${{ matrix.locale }}*.df.bz2\n            data/${{ matrix.locale }}/dict-${{ matrix.locale }}-${{ matrix.locale }}*.df.bz2.sha256\n            data/${{ matrix.locale }}/dict-${{ matrix.locale }}-${{ matrix.locale }}*.zip\n            data/${{ matrix.locale }}/dict-${{ matrix.locale }}-${{ matrix.locale }}*.zip.sha256\n", "state": "active", "repository": "bobotig/ebook-reader-dict"}
{"mined_at": "2024-07-15T15:45:34.096811", "created_at": "2021-01-06T14:52:49+01:00", "updated_at": "2021-01-06T14:52:49+01:00", "name": "Update local-specific data", "path": ".github/workflows/auto-update-data.yml", "contents": "name: Update local-specific data\n\non:\n  schedule:\n    # At 00:00 (UTC) every day\n    - cron: \"0 0 * * *\"\n\n  # Allow to call the workflow manually\n  workflow_dispatch:\n\njobs:\n  auto-update-data:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt', 'requirements-tests.txt') }}\n\n      - name: Install requirements\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: python -m pip install -r requirements-tests.txt\n\n      - name: Update data\n        id: update-data\n        run: |\n          python -m scripts\n          ./check.sh || true\n\n      - name: Push changes\n        uses: Automattic/action-commit-to-branch@master\n        with:\n          branch: master\n          commit_message: \"Update locale-specific data\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Fail on error\n        if: steps.update-data.outputs.errors != '0'\n        run: exit 1\n", "state": "active", "repository": "bobotig/ebook-reader-dict"}
{"mined_at": "2024-07-15T15:45:35.129060", "created_at": "2023-10-21T12:06:35+02:00", "updated_at": "2023-10-22T11:21:06+02:00", "name": "Daily random word", "path": ".github/workflows/daily.yml", "contents": "name: Daily random word\n\non:\n  schedule:\n    # At 06:00 (UTC) every day\n    - cron: \"0 6 * * *\"\n\n  # Allow to call the workflow manually\n  workflow_dispatch:\n\njobs:\n  # First job just to fill the pip cache\n  warmup:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}\n\n      - name: Install requirements\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: python -m pip install -r requirements.txt\n\n  daily:\n    runs-on: ubuntu-latest\n    needs: [warmup]\n\n    strategy:\n      fail-fast: false\n      matrix:\n        locale: # XXX_LOCALES\n          - \"ca\"\n          - \"da\"\n          - \"de\"\n          - \"el\"\n          - \"en\"\n          - \"es\"\n          - \"fr\"\n          - \"it\"\n          - \"no\"\n          - \"pt\"\n          - \"ro\"\n          - \"ru\"\n          - \"sv\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}\n\n      - name: Get a random word\n        id: get-word\n        run: python -Wd -m wikidict ${{ matrix.locale }} --get-word=''\n\n      - name: Check that random word\n        run: python -Wd -m wikidict ${{ matrix.locale }} --check-word=${{ steps.get-word.outputs.word }}\n", "state": "active", "repository": "bobotig/ebook-reader-dict"}
{"mined_at": "2024-07-15T15:45:37.163457", "created_at": "2020-08-02T21:43:04+02:00", "updated_at": "2022-11-16T17:32:37+01:00", "name": "DAQ test suite", "path": ".github/workflows/tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: DAQ test suite\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 16 * * *'\n\njobs:\n  build_docker:\n    runs-on: ubuntu-18.04\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        build: [faucet, faux, setup, base, subset]\n    steps:\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - name: Installing dependencies\n      env:\n        GIT_URL: ${{ secrets.GIT_URL }}\n      run: |\n        bin/setup_daq\n    - name: Build docker images for tests\n      run: |\n          bin/build_shard ${{ matrix.build }} compress /tmp/build_artifacts/docker_images/\n    - uses: actions/upload-artifact@v2\n      with:\n          name: build_artifacts_${{ matrix.build  }}\n          path: /tmp/build_artifacts/\n\n  integration_tests:\n    needs: build_docker\n    runs-on: ubuntu-18.04\n    timeout-minutes: 60\n    strategy:\n      fail-fast: false\n      matrix:\n        test: [base, many, aux, topo, modules, dhcp, switch, mud, ata]\n    steps:\n    - uses: actions/download-artifact@v2\n      with:\n          name: build_artifacts_faucet\n          path: /tmp/build_artifacts_faucet\n    - uses: actions/download-artifact@v2\n      with:\n          name: build_artifacts_faux\n          path: /tmp/build_artifacts_faux\n    - uses: actions/download-artifact@v2\n      with:\n          name: build_artifacts_setup\n          path: /tmp/build_artifacts_setup\n    - uses: actions/download-artifact@v2\n      with:\n          name: build_artifacts_base\n          path: /tmp/build_artifacts_base\n    - uses: actions/download-artifact@v2\n      if: matrix.test == 'aux'\n      with:\n          name: build_artifacts_subset\n          path: /tmp/build_artifacts_subset\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Set up JDK 1.11\n      uses: actions/setup-java@v1\n      with:\n        java-version: 1.11\n    - name: Installing dependencies\n      env:\n        GIT_URL: ${{ secrets.GIT_URL }}\n      run: |\n        bin/setup_daq\n    - name: Loading docker images\n      run: |\n        bin/load_images faucet faux setup base\n    - name: Loading subset docker images\n      if: matrix.test == 'aux'\n      run: |\n        bin/load_images subset\n    - name: Running ${{ matrix.test }} test\n      env:\n        DOCKER_STARTUP_TIMEOUT_MS: 60000\n        GCP_BASE64_CRED: ${{ secrets.GCP_BASE64_CRED }}\n        GCP_REFLECT_KEY_BASE64: ${{ secrets.GCP_REFLECT_KEY_BASE64 }}\n      run: |\n        bin/test_daq ${{ matrix.test }}\n    - name: Runtime logs\n      if: ${{ always() }}\n      run: |\n        echo %%%%%%% daq log cmdrun.log\n        cat inst/cmdrun.log || true\n        more inst/run-*/nodes/pass*/tmp/module_config.json | cat\n\n  unit_tests:\n    runs-on: ubuntu-18.04\n    timeout-minutes: 20\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      env:\n        GIT_URL: ${{ secrets.GIT_URL }}\n      run: |\n        bin/setup_dev\n    - name: Check style\n      run: |\n        bin/check_style\n    - name: Unit test\n      run: |\n        testing/run_unit_tests.sh\n\n  shunt_test:\n    runs-on: ubuntu-18.04\n    timeout-minutes: 20\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      env:\n        GIT_URL: ${{ secrets.GIT_URL }}\n      run: |\n        bin/setup_dev\n    - name: Shunt test\n      run: |\n        testing/test_shunt.sh\n\n  usi_tests:\n    runs-on: ubuntu-18.04\n    timeout-minutes: 20\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up JDK 1.11\n      uses: actions/setup-java@v1\n      with:\n        java-version: 1.11\n    - name: Build with Maven\n      run: mvn -B clean compile test assembly:single --file usi/pom.xml\n\n  test_fot:\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: setup forch\n        env:\n          GIT_URL: ${{ secrets.GIT_URL }}\n        run: |\n          set -x\n          bin/setup_remote forch\n          git rev-list HEAD --max-count=1 > forch/etc/DAQ_VERSION\n          cd forch\n          bin/setup_base\n          bin/setup_remote faucet\n          bin/setup_remote daq\n          bin/retry_cmd bin/build_docker controller\n          bin/build_dts\n      - name: run vxlan integration tests\n        if: ${{ always() }}\n        run: |\n          cd forch\n          bin/retry_cmd bin/run_fot_test vxlan\n      - name: run dts integration tests\n        run: |\n          cd forch\n          bin/retry_cmd bin/run_fot_test dts localhost\n      - name: post-run logs\n        if: ${{ always() }}\n        run: |\n          cd forch\n          echo %%%%%%%%%%%%% Controller log\n          docker logs forch-controller-1\n          echo %%%%%%%%%%%%% DAQ log\n          cat inst/forch-controller-1/daq/inst/cmdrun.log || cat inst/forch-dts/cmdrun.log\n          echo %%%%%%%%%%%%% Forch log\n          cat inst/forch-controller-1/forch.log\n          echo %%%%%%%%%%%%% Faucet log\n          cat inst/forch-controller-1/faucet.log\n          echo %%%%%%%%%%%%% Endpoint log\n          cat inst/endpoint.log || true\n          echo %%%%%%%%%%%%% Log lengths\n          find inst -name \\*.log | fgrep -v nodes/ | xargs wc -l\n\n  device_coupler_test:\n    needs: build_docker\n    runs-on: ubuntu-18.04\n    timeout-minutes: 40\n    strategy:\n      fail-fast: false\n    steps:\n    - uses: actions/download-artifact@v2\n      with:\n          name: build_artifacts_faucet\n          path: /tmp/build_artifacts_faucet\n    - uses: actions/download-artifact@v2\n      with:\n          name: build_artifacts_faux\n          path: /tmp/build_artifacts_faux\n    - uses: actions/download-artifact@v2\n      with:\n          name: build_artifacts_setup\n          path: /tmp/build_artifacts_setup\n    - uses: actions/download-artifact@v2\n      with:\n          name: build_artifacts_subset\n          path: /tmp/build_artifacts_subset\n    - uses: actions/download-artifact@v2\n      with:\n          name: build_artifacts_base\n          path: /tmp/build_artifacts_base\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Set up JDK 1.11\n      uses: actions/setup-java@v1\n      with:\n        java-version: 1.11\n    - name: Installing dependencies\n      env:\n        GIT_URL: ${{ secrets.GIT_URL }}\n      run: |\n        bin/setup_daq\n    - name: Loading docker images\n      run: |\n        bin/load_images faucet faux setup base subset\n    - name: Running device_coupler test\n      env:\n        DOCKER_STARTUP_TIMEOUT_MS: 60000\n        GCP_BASE64_CRED: ${{ secrets.GCP_BASE64_CRED }}\n        GCP_REFLECT_KEY_BASE64: ${{ secrets.GCP_REFLECT_KEY_BASE64 }}\n      run: |\n        device_coupler/testing/test_device_coupler\n    - name: Runtime logs\n      if: ${{ always() }}\n      run: |\n        echo %%%%%%% daq log cmdrun.log\n        cat inst/cmdrun.log || true\n        more inst/run-*/nodes/pass*/tmp/module_config.json | cat\n", "state": "disabled_inactivity", "repository": "faucetsdn/daq"}
{"mined_at": "2024-07-15T15:45:39.258581", "created_at": "2021-06-03T01:00:56+02:00", "updated_at": "2021-06-03T01:00:56+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '28 8 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "rtxteam/rtx"}
{"mined_at": "2024-07-15T15:45:40.344195", "created_at": "2022-01-02T02:52:21+01:00", "updated_at": "2022-01-06T09:32:33+01:00", "name": "Test Build", "path": ".github/workflows/pytest.yml", "contents": "name: \"Test Build\"\n\non:\n  workflow_dispatch:\n    \n  push:\n    branches: [ master, production, itrb-test, dev ]\n    paths:\n      - 'code/**'\n      - 'DockerBuild/**'\n      - 'requirements.txt'\n      - '.github/workflows/pytest.yml'\n  pull_request:\n    branches: [ master, production, itrb-test, dev ]\n    paths:\n      - 'code/**'\n      - 'DockerBuild/**'\n      - 'requirements.txt'\n      - '.github/workflows/pytest.yml'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: [self-hosted, ARAX, docker]\n    permissions:\n      actions: read\n      contents: read\n      security-events: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n    \n    - name: Set up config files\n      run: |\n        scp araxconfig@araxconfig.rtx.ai:config_secrets.json /mnt/config/config_secrets.json\n        echo \"http://localhost:5008/api/rtxkg2/v1.4\" > /mnt/config/kg2_url_override.txt\n\n    # - name: Append code dir to GITHUB_PATH                # Causing RTXConfiguration import error\n    #   run: echo $GITHUB_PATH\n\n    # - name: Download databases as needed\n    #   run: python3 $HOME/RTX/code/ARAX/ARAXQuery/ARAX_database_manager.py --mnt --skip-if-exists --remove_unused\n\n    - name: Stop any running containers\n      continue-on-error: true\n      run: sudo docker stop $(sudo docker ps -aq)\n    \n    - name: Clean up any left over containers\n      continue-on-error: true\n      run: sudo docker rm $(sudo docker ps -aq)\n        \n    - name: Clean up any left over images\n      continue-on-error: true\n      run: sudo docker rmi $(sudo docker images -q)\n    \n    - name: Build docker image \n      run: sudo docker build --no-cache=true --rm -t rtx:test DockerBuild/ -f DockerBuild/Merged-Dockerfile\n    \n    - name: Run docker container\n      run: sudo docker run -d -it --name rtx_test -v /mnt/data/orangeboard/databases:/mnt/data/orangeboard/databases -v /mnt/config/kg2_url_override.txt:/mnt/data/orangeboard/production/RTX/code/kg2_url_override.txt -v /mnt/config/config_secrets.json:/mnt/data/orangeboard/production/RTX/code/config_secrets.json -v /mnt/config/config_secrets.json:/mnt/data/orangeboard/kg2/RTX/code/config_secrets.json rtx:test\n    \n#     - name: Add config.domain\n#       run: |\n#         sudo docker exec rtx_test bash -c \"sudo -u rt bash -c 'cd /mnt/data/orangeboard/production/RTX/code && echo \\'RTXTeam/RTX Github actions test suite\\' > config.domain'\"\n#         sudo docker exec rtx_test bash -c \"sudo -u rt bash -c 'cd /mnt/data/orangeboard/kg2/RTX/code && echo \\'RTXTeam/RTX Github actions test suite\\' > config.domain'\"\n\n    - name: Create symlinks\n      run: |\n        sudo docker exec rtx_test bash -c \"sudo -u rt bash -c 'cd /mnt/data/orangeboard/production/RTX && python3 code/ARAX/ARAXQuery/ARAX_database_manager.py'\"\n        sudo docker exec rtx_test bash -c \"sudo -u rt bash -c 'cd /mnt/data/orangeboard/kg2/RTX && python3 code/ARAX/ARAXQuery/ARAX_database_manager.py'\"\n\n    - name: Build KP info cache\n      run: sudo docker exec rtx_test bash -c \"cd /mnt/data/orangeboard/production/RTX/code/ARAX/ARAXQuery/Expand && python3 kp_info_cacher.py\"\n    \n    - name: Start services\n      run: |\n        sudo docker exec rtx_test service apache2 start\n        sudo docker exec rtx_test service RTX_OpenAPI_kg2 start\n        sudo docker exec rtx_test service RTX_OpenAPI_production start\n        sudo docker exec rtx_test service RTX_Complete start\n    \n    - name: Run tests with pytest\n      run: sudo docker exec rtx_test bash -c \"cd /mnt/data/orangeboard/production/RTX/code/ARAX/test && pytest -v --disable-pytest-warnings\"\n    \n    - name: Remove and delete all docker containers & images\n      continue-on-error: true\n      run: |\n        sudo docker stop $(sudo docker ps -aq)\n        sudo docker rm $(sudo docker ps -aq)\n        sudo docker rmi $(sudo docker images -q)\n", "state": "active", "repository": "rtxteam/rtx"}
{"mined_at": "2024-07-15T15:45:42.406652", "created_at": "2021-01-05T12:12:17+01:00", "updated_at": "2022-09-27T20:28:27+02:00", "name": "Pycroft CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Pycroft CI\n\non:\n  push:\n    branches: [ master, develop ]\n  pull_request:\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        # TODO: find a way to shallow clone precisely pr_base..pr_head;\n        # wee need this context to do an adequate `darker` report.\n        # as it stands this is wasteful.\n        # assuming no PR has more than 50 commits.\n        fetch-depth: 50\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n        cache: 'pip'\n    - name: \"Run pre-commit hooks for HEAD\"\n      uses: pre-commit/action@v3.0.1\n      if: github.event_name != 'pull_request'\n    - name: \"Run pre-commit hooks for PR range\"\n      uses: pre-commit/action@v3.0.1\n      with:\n        extra_args: >\n          --from-ref=${{ github.event.pull_request.base.sha }}\n          --to-ref=${{ github.event.pull_request.head.sha }}\n      if: github.event_name == 'pull_request'\n  python-lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out pycroft and submodules\n        uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          # cache: 'pip'\n      - name: set up `uv`\n        run: pip install uv && uv pip list\n      - name: restore uv cache\n        uses: actions/cache/restore@v4\n        id: cache-uv-restore\n        with:\n          path: ~/.cache/uv\n          key: uv\n      - name: install pip dependencies with uv\n        run: >\n          uv pip sync --system requirements.dev.txt\n          && uv pip install --system . deps/wtforms-widgets\n          && uv pip list --system\n        id: pip-install\n      - name: save uv cache\n        uses: actions/cache/save@v4\n        id: cache-uv-save\n        with:\n          path: ~/.cache/uv\n          key: uv\n      # now come the tests\n      - name: Execute ruff\n        run: ruff check --output-format=github .\n        if: success() || steps.pip-install.conclusion == 'success'\n      - name: Execute mypy\n        run: ./scripts/run_mypy.sh\n        if: success() || steps.pip-install.conclusion == 'success'\n      # docs stuff\n      - name: Build sphinx docs\n        run: make SPHINXOPTS=\"-EN -w sphinx.log\" -C doc html\n        if: success() || steps.pip-install.conclusion == 'success'\n      - name: Render sphinx warnings as annotations\n        run: python ./scripts/render_sphinx_log.py doc/sphinx.log\n        if: success() || steps.pip-install.conclusion == 'success'\n      - name: Publish sphinx docs as pages artifact\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: doc/_build/html\n  # see https://github.com/actions/deploy-pages#usage\n  deploy-docs:\n    if: (github.event_name == 'push') && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master')\n    # Add a dependency to the build job\n    needs: python-lint\n    # Grant GITHUB_TOKEN the permissions required to make a Pages deployment\n    permissions:\n      pages: write  # to deploy to Pages\n      id-token: write  # to verify the deployment originates from an appropriate source\n    # Deploy to the github-pages environment. see\n    # https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment\n    # for general information abotu environments.\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy sphinx docs to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n  npm-build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: oven-sh/setup-bun@v1\n      with:\n        bun-version: 1.1.3\n    - run: bun install --frozen-lockfile\n    - run: bun run bundle --prod\n    - name: Check for outdated NPM packages\n      run: bun x npm-check-updates --root --format group >> \"${GITHUB_STEP_SUMMARY}\"\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n           submodules: 'true'\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          version: v0.10.0\n      - name: Fix permissions\n        run: sudo chmod -R a+rw .\n      - name: print buildx definition\n        run: docker buildx bake --file docker-compose.prod.yml --print\n      - name: Build the Docker image\n        run: docker buildx bake --file docker-compose.prod.yml --load\n      - name: Login to GitLab Registry\n        uses: docker/login-action@v3\n        with:\n          registry: registry.agdsn.de\n          username: \"github-actions\"\n          password: ${{ secrets.GITLAB_REGISTRY_PASSWORD }}\n      - name: Tag built image\n        run: docker tag agdsn/pycroft-prod:latest registry.agdsn.de/agdsn/coreos/pycroft/pycroft:${GITHUB_REF##*/}\n      - name: Push to GitLab registry\n        run: docker push registry.agdsn.de/agdsn/coreos/pycroft/pycroft:${GITHUB_REF##*/}\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n           submodules: 'true'\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          version: v0.10.0\n      - name: Fix permissions\n        run: sudo chmod -R a+rw .\n      - name: print buildx definition\n        run: docker buildx bake --print\n      - name: Build\n        run: docker buildx bake --load\n      - name: Run test-app entrypoints\n        run: docker compose -f docker-compose.test.yml run --rm --no-deps test-app\n      - name: Start\n        run: docker compose -f docker-compose.test.yml up --quiet-pull --wait --wait-timeout=60 test-app\n      - name: list npm packages for debug output\n        run: docker compose -f docker-compose.test.yml run --rm test-app shell bun pm ls --all\n      - name: Run esbuild\n        run: docker compose -f docker-compose.test.yml run --rm test-app bun run bundle --prod\n      - name: Run tests\n        run: >\n          docker compose -f docker-compose.test.yml run --rm test-app\n          test -m \"not legacy\"\n          --junitxml=junit/test-results.xml\n          --cov=pycroft --cov=web --cov=ldap_sync --cov=hades_logs --cov-append\n          --cov-report html --cov-report xml\n      - name: Publish Test Report\n        uses: mikepenz/action-junit-report@v4\n        if: always() # always run even if the previous step fails\n        with:\n          report_paths: 'junit/test-*.xml'\n      - name: Publish coverage XML report as markdown comment\n        uses: irongut/CodeCoverageSummary@v1.3.0\n        with:\n          filename: coverage.xml\n          badge: true\n          fail_below_min: false\n          format: markdown\n          hide_branch_rate: false\n          hide_complexity: true\n          indicators: true\n          output: both\n          thresholds: '60 80'\n      - name: Add Coverage to PR summary\n        run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY\n      - name: Publish coverage HTML report as artifact\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: coverage\n          path: htmlcov\n", "state": "active", "repository": "agdsn/pycroft"}
{"mined_at": "2024-07-15T15:45:44.537855", "created_at": "2020-11-03T18:49:46+01:00", "updated_at": "2020-11-03T18:49:46+01:00", "name": "Tool linting", "path": ".github/workflows/lint.yml", "contents": "name: Tool linting\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.11]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache downloads\n        uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: cache-${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n      - name: Perform linting\n        run: make pr_check\n", "state": "active", "repository": "usegalaxy-eu/usegalaxy-eu-tools"}
{"mined_at": "2024-07-15T15:45:45.582647", "created_at": "2023-11-14T16:02:05+01:00", "updated_at": "2023-11-14T16:02:05+01:00", "name": "Deploy static content to Pages", "path": ".github/workflows/static.yml", "contents": "# Simple workflow for deploying static content to GitHub Pages\nname: Deploy static content to Pages\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches: [\"master\"]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  # Single deploy job since we're just deploying\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.11'\n          architecture: 'x64'\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Pages\n        uses: actions/configure-pages@v3\n      - name: Install pyyaml\n        run: pip install PyYAML\n      - name: Build API\n        run:\n          python scripts/api.py\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v2\n        with:\n          # Upload entire repository\n          path: '.'\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "usegalaxy-eu/usegalaxy-eu-tools"}
{"mined_at": "2024-07-15T15:45:46.606258", "created_at": "2021-11-30T13:01:39+01:00", "updated_at": "2021-11-30T13:01:39+01:00", "name": "Update Trusted Tools", "path": ".github/workflows/update-trusted.yml", "contents": "name: Update Trusted Tools\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    # We'll run this weekly at 23.00 on Saturday.\n    - cron:  '0 23 * * 6'\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.11]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n      - name: Perform linting\n        run: |\n            # Update the trusted tools.\n            make fix -j $(nproc)\n            make lint -j $(nproc)\n            make update_trusted -j $(nproc)\n\n      - name: Commit files\n        run: |\n          git config --local user.email \"github-bot@github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git add *.lock\n          git commit -m \"Updated trusted tools ($(date -I))\" || true\n\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ github.ref }}\n", "state": "active", "repository": "usegalaxy-eu/usegalaxy-eu-tools"}
{"mined_at": "2024-07-15T15:45:48.708870", "created_at": "2020-02-14T09:07:22+01:00", "updated_at": "2021-02-12T12:09:57+01:00", "name": "Gardener CICD Utils", "path": ".github/workflows/pythonapp.yml", "contents": "name: Gardener CICD Utils\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install \\\n         -r requirements.txt \\\n         -r requirements.oci.txt\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --ignore=F722,F821\n        # exit-zero treats all errors as warnings.\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=101 --statistics\n    - name: Test with pytest\n      run: |\n        pip install pytest\n        echo $PYTHONPATH\n        export PYTHONPATH=\"$PWD\"\n        pytest\n", "state": "disabled_manually", "repository": "gardener/cc-utils"}
{"mined_at": "2024-07-15T15:45:49.801026", "created_at": "2021-12-20T14:38:33+01:00", "updated_at": "2021-12-20T14:38:33+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "gardener/cc-utils"}
{"mined_at": "2024-07-15T15:45:53.082129", "created_at": "2024-01-17T17:36:35+01:00", "updated_at": "2024-01-17T17:36:35+01:00", "name": "Issue assignment", "path": ".github/workflows/auto-assign-issues.yml", "contents": "name: Issue assignment\n\non:\n    issues:\n        types: [opened]\n\njobs:\n    auto-assign:\n        runs-on: ubuntu-latest\n        permissions:\n            issues: write\n        steps:\n            - name: 'Auto assign issue'\n              uses: pozil/auto-assign-issue@v1\n              with:\n                  assignees: ShirleyDenkberg,richardbluestone\n", "state": "active", "repository": "demisto/content-docs"}
{"mined_at": "2024-07-15T15:45:54.992370", "created_at": "2020-01-07T09:41:06+01:00", "updated_at": "2020-01-07T09:41:06+01:00", "name": "Lint and Unit Tests", "path": ".github/workflows/build.yml", "contents": "name: Lint and Unit Tests\n\non: \n  pull_request: {}\n  push:\n    branches:\n    - master\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - name: Read .nvmrc\n      run: echo ::set-output name=NVMRC::$(cat .nvmrc)  # see: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/development-tools-for-github-actions#set-an-output-parameter-set-output\n      id: nvm\n    - name: Set up node\n      uses: actions/setup-node@v1\n      with:\n        node-version: \"${{ steps.nvm.outputs.NVMRC }}\"\n    - name: Cache npm\n      uses: actions/cache@v1\n      with:\n        path: ~/.npm\n        key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n        restore-keys: |\n          ${{ runner.os }}-node-\n    - name: Cache pip\n      uses: actions/cache@v1\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/Pipfile.lock') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - run: npm ci\n    - uses: actions/setup-python@v1\n      with:\n        python-version: '3.9'\n    - name: Setup pipenv\n      run: |\n        pip install pipenv\n        pipenv install --dev\n    - name: Fetch Dependent Files (content repo)\n      run: |\n        cd content-repo\n        wget https://raw.githubusercontent.com/demisto/content/master/Packs/Base/Scripts/CommonServerPython/CommonServerPython.py\n        wget https://raw.githubusercontent.com/demisto/content/master/Tests/demistomock/demistomock.py\n        sed -i -e '/from DemistoClassApiModule import */d' CommonServerPython.py\n    - name: Lint\n      run: |\n        cd content-repo\n        pipenv run mypy\n        pipenv run flake8 *.py\n    - name: Unit Testing\n      run: |\n        cd content-repo\n        pipenv run pytest -v\n", "state": "active", "repository": "demisto/content-docs"}
{"mined_at": "2024-07-15T15:45:56.065775", "created_at": "2022-11-09T22:02:18+01:00", "updated_at": "2022-12-06T15:21:09+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"4 4 * * 0\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ javascript, python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n        if: ${{ matrix.language == 'javascript' || matrix.language == 'python' }}\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"", "state": "active", "repository": "demisto/content-docs"}
{"mined_at": "2024-07-15T15:45:57.356760", "created_at": "2021-10-18T15:07:58+02:00", "updated_at": "2021-10-21T21:39:34+02:00", "name": "Deploy for Forked PR", "path": ".github/workflows/forked-pr-deploy.yml", "contents": "name: Deploy for Forked PR\non: status\n  \njobs:\n  check:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - name: Dump Github context        \n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - name: Checkout\n        if: \"endsWith(github.event.context, 'ci/circleci: build') && github.event.state == 'success'\"\n        uses: actions/checkout@v2\n      - name: Setup Python\n        if: \"endsWith(github.event.context, 'ci/circleci: build') && github.event.state == 'success'\"\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n      - name: Download Build\n        if: \"endsWith(github.event.context, 'ci/circleci: build') && github.event.state == 'success'\"\n        id: build_download\n        run: |\n          echo \"==== $(date): Starting pipenv setup... ====\"          \n          pip install pipenv\n          pipenv install\n          echo \"==== $(date): Download build site... ====\"\n          pipenv run ./content-repo/download_site_build.py -e \"$GITHUB_EVENT_PATH\"\n      - name: Setup Node\n        if: \"steps.build_download.outputs.forked_pr > 0\"\n        uses: actions/setup-node@v1\n        with:\n          node-version: '16.x'  \n#      - name: Deploy Netlify Build\n#        if: \"steps.build_download.outputs.forked_pr > 0\"\n#        env:\n#          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n#          FORKED_PR: ${{ steps.build_download.outputs.forked_pr }}\n#          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n#          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n#        run: |\n#          echo \"==== $(date): extract build zip... ====\"\n#          tar xzf build-site.tar.gz\n#          echo \"==== $(date): Starting Netlify install... ====\"\n#          npm install -g netlify-cli\n#          echo \"==== $(date): Netlify deploy... ====\"\n#          netlify deploy -m \"CircleCI forked pr build: $FORKED_PR\" -d build --alias=pull-request-$FORKED_PR --json > deploy-info.json\n#          cat deploy-info.json\n#          echo \"==== $(date): Posting comment to PR ... ====\"\n#          PR_NUM=$FORKED_PR pipenv run ./content-repo/post_github_comment.py deploy-info.json\n      - name: Deploy Firebase Build\n        if: \"steps.build_download.outputs.forked_pr > 0\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          FORKED_PR: ${{ steps.build_download.outputs.forked_pr }}\n          FIREBASE_JSON_KEY: ${{ secrets.FIREBASE_JSON_KEY }}\n        run: |\n          echo \"==== $(date): extract build zip... ====\"\n          tar xzf build-site.tar.gz\n          echo \"==== $(date): Starting Firebase install... ====\"\n\n          echo $FIREBASE_JSON_KEY > \"$HOME\"/gcloud.json\n          npm install firebase-tools@~11.0.1\n          export GOOGLE_APPLICATION_CREDENTIALS=\"$HOME\"/gcloud.json\n          export PATH=\"$PATH:`pwd`/node_modules/.bin\"\n\n          echo \"==== $(date): Firebase deploy for PR: $FORKED_PR ... ====\"\n          firebase hosting:channel:deploy \"pull-request-$FORKED_PR\" --only xsoar.pan.dev > deploy-info-firebase.txt\n          cat deploy-info-firebase.txt\n          echo \"==== $(date): Posting comment to PR ... ====\"\n          PR_NUM=$FORKED_PR pipenv run ./content-repo/post_github_comment.py deploy-info-firebase.txt\n", "state": "active", "repository": "demisto/content-docs"}
{"mined_at": "2024-07-15T15:45:58.659825", "created_at": "2023-11-27T14:25:05+01:00", "updated_at": "2023-12-11T15:05:35+01:00", "name": "Handle New Contribution", "path": ".github/workflows/handle_new_contribution.yml", "contents": "name: Handle New Contribution\n\non:\n  pull_request_target:\n    types: [opened, ready_for_review]\n\npermissions:\n  contents: write\n  pull-requests: write\n  repository-projects: write\n\nenv:\n  GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n  PR_URL: ${{github.event.pull_request.html_url}}\n\njobs:\n  assign_and_label:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.head.repo.fork == true\n    steps:\n      - name: Assign contribution TL and add the Contribution label\n        continue-on-error: true\n        run: |\n          echo \"get content_roles.json using curl\"\n          contrib_tl=$( curl https://raw.githubusercontent.com/demisto/content/master/.github/content_roles.json | jq .CONTRIBUTION_TL -r )\n          echo \"$contrib_tl\"\n          echo \"Finished retrieving the contribution TL username\"\n\n          if [ $contrib_tl ]; then\n            echo \"Add an assignee and a Contribution label\"\n            gh pr edit --add-assignee MosheEichler --add-label Contribution \"$PR_URL\"\n            gh pr edit --add-assignee \"$contrib_tl\" --add-label Contribution \"$PR_URL\"\n          else\n            echo \"There was a problem with retrieving the GitHub user name of the contribution TL.\"\n          fi\n\n      - name: Add a welcome comment.\n        run: |\n          echo \"Add a welcome comment\"\n          gh pr comment \"$PR_URL\" --body \"Thank you for your contribution. Your willingness to improve our product and contribute to our community is highly appreciated. For your convenience, here is a [link](https://xsoar.pan.dev/docs/contributing/sla) to the contributions SLAs document.\"", "state": "active", "repository": "demisto/content-docs"}
{"mined_at": "2024-07-15T15:45:59.708882", "created_at": "2020-05-25T16:52:46+02:00", "updated_at": "2022-02-02T09:17:39+01:00", "name": "Verify Site Links", "path": ".github/workflows/links-verify.yml", "contents": "name: Verify Site Links\n\non:\n  # push: {} #  uncommnet for testing\n  schedule: # daily at 12 noon UTC\n    - cron: '0 12 * * *'\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    steps:\n    - name: content checkout\n      uses: actions/checkout@v2.4.0  # https://github.com/marketplace/actions/checkout\n      with:\n        repository: demisto/content\n        path: content\n        token: ${{ secrets.GITHUB_TOKEN }}\n        fetch-depth: 0\n        ref: 'master'\n    - name: content-docs checkout\n      uses: actions/checkout@v2.4.0  # https://github.com/marketplace/actions/checkout\n      with:\n        repository: demisto/content-docs\n        path: content-docs\n        token: ${{ secrets.GITHUB_TOKEN }}\n        fetch-depth: 0\n        ref: 'master'\n    - name: create ignore url files\n      # The grep regex finds all URL's in integration README files in the section between ## Commands or <h2>Commands until the end of the file.\n      # -R search recursively -P perl regex -o print only the match -z ignore new line -a process a binary file as if it were text\n      run: |\n        grep -RPoz \"(?s)## Commands.*\\Z|<h2>Commands.*\\Z\" --include \"README.md\" content/Packs/*/Integrations | grep  -Poa \"(http|https)://[a-zA-Z0-9./?=_%:-]*\" | sort -u > all_urls_ignore.txt\n        sed -i -e 's/^/-e \"/' all_urls_ignore.txt\n        sed -i -e 's/$/\"/' all_urls_ignore.txt\n        cat content-docs/urls_ignore.txt >> all_urls_ignore.txt\n        cat all_urls_ignore.txt\n    - name: Set up Go 1.13\n      uses: actions/setup-go@v2\n      with:\n        go-version: 1.13.11\n      id: go\n    - name: Setup muffet\n      run: 'go get -u github.com/raviqqe/muffet'\n    - name: Verify Links\n      run: |\n        muffet --version\n        muffet -c 16 --ignore-fragments -b 8192 `< all_urls_ignore.txt` \\\n        https://xsoar.pan.dev > muffet.txt 2>&1 && echo \"muffet completed successfully\" && exit 0 || echo \"muffet failed but still need to verify output file...\"\n        grep -v -E '^\\s+(401|403|405|429|x509|lookup|parse|timeout|dial)' muffet.txt > muffet-clean.out\n        echo \"Muffet output after 401, 403, 405, 429 and x509 remove:\"\n        cat muffet-clean.out\n        if [ -n \"$(grep -v '^https'  muffet-clean.out)\" ]; then\n          echo \"muffet failed verification!!!\"\n          exit 1\n        fi\n        echo \"All good! muffet passed!!!\"\n    - name: Save artifcats\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: log-artifacts\n        path: muffet.txt\n", "state": "active", "repository": "demisto/content-docs"}
{"mined_at": "2024-07-15T15:46:01.840176", "created_at": "2021-05-27T22:04:27+02:00", "updated_at": "2021-06-09T12:10:11+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: build\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push or pull request events but only for the main branch\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: recursive\n\n      - name: Install aarch64-linux-gnu- toolchain\n        run: |\n          sudo apt-get update\n          sudo apt-get install --no-install-recommends -y gcc-aarch64-linux-gnu\n\n      - name: Install nightly rust\n        run: |\n          export RUSTUP_TOOLCHAIN=stable\n          rustup target install aarch64-unknown-none-softfloat\n\n      - name: Build\n        run: make -k -j2 ARCH=aarch64-linux-gnu- CHAINLOADING=1\n\n      - uses: actions/upload-artifact@v2\n        with:\n          name: m1n1\n          path: |\n            build/m1n1.macho\n            build/m1n1.bin\n", "state": "active", "repository": "asahilinux/m1n1"}
{"mined_at": "2024-07-15T15:46:03.088460", "created_at": "2021-04-08T13:30:42+02:00", "updated_at": "2021-04-08T13:30:42+02:00", "name": "format-check", "path": ".github/workflows/main.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: format-check\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push or pull request events but only for the main branch\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  format-check:\n    runs-on: ubuntu-latest\n\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n\n      - name: install nightly rust\n        run: |\n          rm -f ~/.cargo/bin/rustfmt\n          rm -f ~/.cargo/bin/cargo-fmt\n          rustup toolchain install nightly --component rustfmt --component clippy --allow-downgrade\n\n      - name: install clang-format-18\n        run: |\n          wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -\n          sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main'\n          sudo apt update\n          sudo apt install clang-format-18\n\n      - name: Run format-check\n        run: |\n          make format CLANG_FORMAT=clang-format-18\n          git diff\n          git reset --hard\n          make format-check CLANG_FORMAT=clang-format-18\n          make rustfmt-check\n", "state": "active", "repository": "asahilinux/m1n1"}
{"mined_at": "2024-07-15T15:46:05.249489", "created_at": "2020-02-15T13:18:31+01:00", "updated_at": "2023-06-24T02:00:15+02:00", "name": "Deploy Docs", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Deploy Docs\non:\n  workflow_run:\n    workflows:\n      - Build Docs\n    types:\n      - completed\n\njobs:\n  deploy-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n      - name: Clean site\n        run: |\n          rm -rf ./site\n          mkdir ./site\n      - uses: actions/download-artifact@v4\n        with:\n          path: ./site/\n          pattern: docs-site-*\n          merge-multiple: true\n          github-token: ${{ secrets.FASTAPI_PREVIEW_DOCS_DOWNLOAD_ARTIFACTS }}\n          run-id: ${{ github.event.workflow_run.id }}\n      - name: Deploy to Cloudflare Pages\n        # hashFiles returns an empty string if there are no files\n        if: hashFiles('./site/*')\n        id: deploy\n        uses: cloudflare/pages-action@v1\n        with:\n          apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}\n          accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}\n          projectName: fastapitiangolo\n          directory: './site'\n          gitHubToken: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ ( github.event.workflow_run.head_repository.full_name == github.repository && github.event.workflow_run.head_branch == 'master' && 'main' ) || ( github.event.workflow_run.head_sha ) }}\n      - name: Comment Deploy\n        if: steps.deploy.outputs.url != ''\n        uses: ./.github/actions/comment-docs-preview-in-pr\n        with:\n          token: ${{ secrets.FASTAPI_PREVIEW_DOCS_COMMENT_DEPLOY }}\n          deploy_url: \"${{ steps.deploy.outputs.url }}\"\n", "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:06.266800", "created_at": "2020-06-05T17:35:13+02:00", "updated_at": "2020-06-05T17:35:13+02:00", "name": "Issue Manager", "path": ".github/workflows/issue-manager.yml", "contents": "name: Issue Manager\n\non:\n  schedule:\n    - cron: \"10 3 * * *\"\n  issue_comment:\n    types:\n      - created\n  issues:\n    types:\n      - labeled\n  pull_request_target:\n    types:\n      - labeled\n  workflow_dispatch:\n\njobs:\n  issue-manager:\n    if: github.repository_owner == 'tiangolo'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: tiangolo/issue-manager@0.5.0\n        with:\n          token: ${{ secrets.FASTAPI_ISSUE_MANAGER }}\n          config: >\n            {\n              \"answered\": {\n                \"delay\": 864000,\n                \"message\": \"Assuming the original need was handled, this will be automatically closed now. But feel free to add more comments or create new issues or PRs.\"\n              },\n              \"changes-requested\": {\n                \"delay\": 2628000,\n                \"message\": \"As this PR had requested changes to be applied but has been inactive for a while, it's now going to be closed. But if there's anyone interested, feel free to create a new PR.\"\n              }\n            }\n", "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:07.292153", "created_at": "2020-07-19T12:44:45+02:00", "updated_at": "2022-05-12T18:12:02+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types:\n      - opened\n      - synchronize\n  schedule:\n    # cron every week on monday\n    - cron: \"0 0 * * 1\"\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          # Issue ref: https://github.com/actions/setup-python/issues/436\n          # cache: \"pip\"\n          # cache-dependency-path: pyproject.toml\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ runner.os }}-python-${{ env.pythonLocation }}-pydantic-v2-${{ hashFiles('pyproject.toml', 'requirements-tests.txt', 'requirements-docs-tests.txt') }}-test-v08\n      - name: Install Dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: pip install -r requirements-tests.txt\n      - name: Install Pydantic v2\n        run: pip install \"pydantic>=2.0.2,<3.0.0\"\n      - name: Lint\n        run: bash scripts/lint.sh\n\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.12\"\n          - \"3.11\"\n          - \"3.10\"\n          - \"3.9\"\n          - \"3.8\"\n        pydantic-version: [\"pydantic-v1\", \"pydantic-v2\"]\n      fail-fast: false\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          # Issue ref: https://github.com/actions/setup-python/issues/436\n          # cache: \"pip\"\n          # cache-dependency-path: pyproject.toml\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ matrix.pydantic-version }}-${{ hashFiles('pyproject.toml', 'requirements-tests.txt', 'requirements-docs-tests.txt') }}-test-v08\n      - name: Install Dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: pip install -r requirements-tests.txt\n      - name: Install Pydantic v1\n        if: matrix.pydantic-version == 'pydantic-v1'\n        run: pip install \"pydantic>=1.10.0,<2.0.0\"\n      - name: Install Pydantic v2\n        if: matrix.pydantic-version == 'pydantic-v2'\n        run: pip install \"pydantic>=2.0.2,<3.0.0\"\n      - run: mkdir coverage\n      - name: Test\n        run: bash scripts/test.sh\n        env:\n          COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}\n          CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}\n      - name: Store coverage files\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-${{ matrix.python-version }}-${{ matrix.pydantic-version }}\n          path: coverage\n\n  coverage-combine:\n    needs: [test]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n          # Issue ref: https://github.com/actions/setup-python/issues/436\n          # cache: \"pip\"\n          # cache-dependency-path: pyproject.toml\n      - name: Get coverage files\n        uses: actions/download-artifact@v4\n        with:\n          pattern: coverage-*\n          path: coverage\n          merge-multiple: true\n      - run: pip install coverage[toml]\n      - run: ls -la coverage\n      - run: coverage combine coverage\n      - run: coverage report\n      - run: coverage html --show-contexts --title \"Coverage for ${{ github.sha }}\"\n      - name: Store coverage HTML\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-html\n          path: htmlcov\n\n  # https://github.com/marketplace/actions/alls-green#why\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n      - coverage-combine\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:08.390944", "created_at": "2020-07-19T14:03:42+02:00", "updated_at": "2020-07-19T14:03:42+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  release:\n    types:\n      - created\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        package:\n          - fastapi\n          - fastapi-slim\n    permissions:\n      id-token: write\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n          # Issue ref: https://github.com/actions/setup-python/issues/436\n          # cache: \"pip\"\n          # cache-dependency-path: pyproject.toml\n      - name: Install build dependencies\n        run: pip install build\n      - name: Build distribution\n        env:\n          TIANGOLO_BUILD_PACKAGE: ${{ matrix.package }}\n        run: python -m build\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n", "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:09.868357", "created_at": "2020-07-19T15:45:26+02:00", "updated_at": "2020-07-19T15:45:26+02:00", "name": "Build Docs", "path": ".github/workflows/build-docs.yml", "contents": "name: Build Docs\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types:\n      - opened\n      - synchronize\njobs:\n  changes:\n    runs-on: ubuntu-latest\n    # Required permissions\n    permissions:\n      pull-requests: read\n    # Set job outputs to values from filter step\n    outputs:\n      docs: ${{ steps.filter.outputs.docs }}\n    steps:\n    - uses: actions/checkout@v4\n    # For pull requests it's not necessary to checkout the code but for master it is\n    - uses: dorny/paths-filter@v3\n      id: filter\n      with:\n        filters: |\n          docs:\n            - README.md\n            - docs/**\n            - docs_src/**\n            - requirements-docs.txt\n            - pyproject.toml\n            - mkdocs.yml\n            - mkdocs.insiders.yml\n            - .github/workflows/build-docs.yml\n            - .github/workflows/deploy-docs.yml\n  langs:\n    needs:\n      - changes\n    runs-on: ubuntu-latest\n    outputs:\n      langs: ${{ steps.show-langs.outputs.langs }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ runner.os }}-python-docs-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml', 'requirements-docs.txt', 'requirements-docs-tests.txt') }}-v07\n      - name: Install docs extras\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: pip install -r requirements-docs.txt\n      # Install MkDocs Material Insiders here just to put it in the cache for the rest of the steps\n      - name: Install Material for MkDocs Insiders\n        if: ( github.event_name != 'pull_request' || github.secret_source == 'Actions' ) && steps.cache.outputs.cache-hit != 'true'\n        run: |\n          pip install git+https://${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}@github.com/squidfunk/mkdocs-material-insiders.git\n          pip install git+https://${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}@github.com/pawamoy-insiders/griffe-typing-deprecated.git\n          pip install git+https://${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}@github.com/pawamoy-insiders/mkdocstrings-python.git\n      - name: Verify Docs\n        run: python ./scripts/docs.py verify-docs\n      - name: Export Language Codes\n        id: show-langs\n        run: |\n          echo \"langs=$(python ./scripts/docs.py langs-json)\" >> $GITHUB_OUTPUT\n\n  build-docs:\n    needs:\n      - changes\n      - langs\n    if: ${{ needs.changes.outputs.docs == 'true' }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        lang: ${{ fromJson(needs.langs.outputs.langs) }}\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ runner.os }}-python-docs-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml', 'requirements-docs.txt', 'requirements-docs-tests.txt') }}-v08\n      - name: Install docs extras\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: pip install -r requirements-docs.txt\n      - name: Install Material for MkDocs Insiders\n        if: ( github.event_name != 'pull_request' || github.secret_source == 'Actions' ) && steps.cache.outputs.cache-hit != 'true'\n        run: |\n          pip install git+https://${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}@github.com/squidfunk/mkdocs-material-insiders.git\n          pip install git+https://${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}@github.com/pawamoy-insiders/griffe-typing-deprecated.git\n          pip install git+https://${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}@github.com/pawamoy-insiders/mkdocstrings-python.git\n      - name: Update Languages\n        run: python ./scripts/docs.py update-languages\n      - uses: actions/cache@v4\n        with:\n          key: mkdocs-cards-${{ matrix.lang }}-${{ github.ref }}\n          path: docs/${{ matrix.lang }}/.cache\n      - name: Build Docs\n        run: python ./scripts/docs.py build-lang ${{ matrix.lang }}\n      - uses: actions/upload-artifact@v4\n        with:\n          name: docs-site-${{ matrix.lang }}\n          path: ./site/**\n\n  # https://github.com/marketplace/actions/alls-green#why\n  docs-all-green:  # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n      - build-docs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n          allowed-skips: build-docs\n", "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:10.970143", "created_at": "2020-10-11T11:50:05+02:00", "updated_at": "2020-10-11T11:50:05+02:00", "name": "Latest Changes", "path": ".github/workflows/latest-changes.yml", "contents": "name: Latest Changes\n\non:\n  pull_request_target:\n    branches:\n      - master\n    types:\n      - closed\n  workflow_dispatch:\n    inputs:\n      number:\n        description: PR number\n        required: true\n      debug_enabled:\n        description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'\n        required: false\n        default: 'false'\n\njobs:\n  latest-changes:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n        with:\n          # To allow latest-changes to commit to the main branch\n          token: ${{ secrets.FASTAPI_LATEST_CHANGES }}\n      # Allow debugging with tmate\n      - name: Setup tmate session\n        uses: mxschmitt/action-tmate@v3\n        if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}\n        with:\n          limit-access-to-actor: true\n      - uses: docker://tiangolo/latest-changes:0.3.0\n      # - uses: tiangolo/latest-changes@main\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          latest_changes_file: docs/en/docs/release-notes.md\n          latest_changes_header: '## Latest Changes'\n          end_regex: '^## '\n          debug_logs: true\n          label_header_prefix: '### '\n", "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:12.065302", "created_at": "2020-10-11T11:53:27+02:00", "updated_at": "2020-10-11T11:53:27+02:00", "name": "Label Approved", "path": ".github/workflows/label-approved.yml", "contents": "name: Label Approved\n\non:\n  schedule:\n    - cron: \"0 12 * * *\"\n  workflow_dispatch:\n\njobs:\n  label-approved:\n    if: github.repository_owner == 'tiangolo'\n    runs-on: ubuntu-latest\n    steps:\n    - name: Dump GitHub context\n      env:\n        GITHUB_CONTEXT: ${{ toJson(github) }}\n      run: echo \"$GITHUB_CONTEXT\"\n    - uses: docker://tiangolo/label-approved:0.0.4\n      with:\n        token: ${{ secrets.FASTAPI_LABEL_APPROVED }}\n        config: >\n          {\n            \"approved-1\":\n              {\n                \"number\": 1,\n                \"await_label\": \"awaiting-review\"\n              }\n          }\n", "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:13.077098", "created_at": "2020-10-18T21:35:44+02:00", "updated_at": "2020-10-18T21:35:44+02:00", "name": "FastAPI People", "path": ".github/workflows/people.yml", "contents": "name: FastAPI People\n\non:\n  schedule:\n    - cron: \"0 14 1 * *\"\n  workflow_dispatch:\n    inputs:\n      debug_enabled:\n        description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'\n        required: false\n        default: 'false'\n\njobs:\n  fastapi-people:\n    if: github.repository_owner == 'tiangolo'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n      # Ref: https://github.com/actions/runner/issues/2033\n      - name: Fix git safe.directory in container\n        run: mkdir -p /home/runner/work/_temp/_github_home && printf \"[safe]\\n\\tdirectory = /github/workspace\" > /home/runner/work/_temp/_github_home/.gitconfig\n      # Allow debugging with tmate\n      - name: Setup tmate session\n        uses: mxschmitt/action-tmate@v3\n        if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}\n        with:\n          limit-access-to-actor: true\n      - uses: ./.github/actions/people\n        with:\n          token: ${{ secrets.FASTAPI_PEOPLE }}\n", "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:14.113960", "created_at": "2021-08-18T15:07:10+02:00", "updated_at": "2021-08-18T15:07:10+02:00", "name": "Notify Translations", "path": ".github/workflows/notify-translations.yml", "contents": "name: Notify Translations\n\non:\n  pull_request_target:\n    types:\n      - labeled\n      - closed\n  workflow_dispatch:\n    inputs:\n      number:\n        description: PR number\n        required: true\n      debug_enabled:\n        description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'\n        required: false\n        default: 'false'\n\njobs:\n  notify-translations:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n      # Allow debugging with tmate\n      - name: Setup tmate session\n        uses: mxschmitt/action-tmate@v3\n        if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}\n        with:\n          limit-access-to-actor: true\n      - uses: ./.github/actions/notify-translations\n        with:\n          token: ${{ secrets.FASTAPI_NOTIFY_TRANSLATIONS }}\n", "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:15.167914", "created_at": "2022-11-03T21:00:32+01:00", "updated_at": "2022-11-03T21:00:32+01:00", "name": "Smokeshow", "path": ".github/workflows/smokeshow.yml", "contents": "name: Smokeshow\n\non:\n  workflow_run:\n    workflows: [Test]\n    types: [completed]\n\npermissions:\n  statuses: write\n\njobs:\n  smokeshow:\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n\n      - run: pip install smokeshow\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: coverage-html\n          path: htmlcov\n          github-token: ${{ secrets.FASTAPI_SMOKESHOW_DOWNLOAD_ARTIFACTS }}\n          run-id: ${{ github.event.workflow_run.id }}\n\n      - run: smokeshow upload htmlcov\n        env:\n          SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}\n          SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 100\n          SMOKESHOW_GITHUB_CONTEXT: coverage\n          SMOKESHOW_GITHUB_TOKEN: ${{ secrets.FASTAPI_SMOKESHOW_UPLOAD }}\n          SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.workflow_run.head_sha }}\n          SMOKESHOW_AUTH_KEY: ${{ secrets.SMOKESHOW_AUTH_KEY }}\n", "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:16.203886", "created_at": "2023-11-01T16:23:28+01:00", "updated_at": "2023-12-25T14:45:32+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": null, "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:17.338127", "created_at": "2023-11-01T16:23:28+01:00", "updated_at": "2023-11-01T16:23:28+01:00", "name": ".github/workflows/codeflow.yml", "path": ".github/workflows/codeflow.yml", "contents": null, "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:18.378700", "created_at": "2024-03-29T00:23:20+01:00", "updated_at": "2024-03-29T00:28:09+01:00", "name": "Test Redistribute", "path": ".github/workflows/test-redistribute.yml", "contents": "name: Test Redistribute\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types:\n      - opened\n      - synchronize\n\njobs:\n  test-redistribute:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        package:\n          - fastapi\n          - fastapi-slim\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install build dependencies\n        run: pip install build\n      - name: Build source distribution\n        env:\n          TIANGOLO_BUILD_PACKAGE: ${{ matrix.package }}\n        run: python -m build --sdist\n      - name: Decompress source distribution\n        run: |\n          cd dist\n          tar xvf fastapi*.tar.gz\n      - name: Install test dependencies\n        run: |\n          cd dist/fastapi*/\n          pip install -r requirements-tests.txt\n        env:\n          TIANGOLO_BUILD_PACKAGE: ${{ matrix.package }}\n      - name: Run source distribution tests\n        run: |\n          cd dist/fastapi*/\n          bash scripts/test.sh\n      - name: Build wheel distribution\n        run: |\n          cd dist\n          pip wheel --no-deps fastapi*.tar.gz\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n", "state": "active", "repository": "tiangolo/fastapi"}
{"mined_at": "2024-07-15T15:46:20.439973", "created_at": "2023-07-03T09:10:38+02:00", "updated_at": "2023-09-25T14:04:04+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ 'master' ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ 'master' ]\n  schedule:\n    - cron: '29 18 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python', 'javascript' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "spotify/luigi"}
{"mined_at": "2024-07-15T15:46:21.476039", "created_at": "2021-03-29T18:02:43+02:00", "updated_at": "2021-04-09T12:23:11+02:00", "name": "Build", "path": ".github/workflows/pythonbuild.yml", "contents": "name: Build\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  core:\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        include:\n          - python-version: \"3.6\"\n            tox-env: py36-core\n          - python-version: \"3.7\"\n            tox-env: py37-core\n          - python-version: \"3.8\"\n            tox-env: py38-core\n          - python-version: \"3.9\"\n            tox-env: py39-core\n          - python-version: \"3.10\"\n            tox-env: py310-core\n          - python-version: \"3.11\"\n            tox-env: py311-core\n          - python-version: \"3.12\"\n            tox-env: py312-core\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache pip\n        uses: actions/cache@v2\n        with:\n          # This path is specific to Ubuntu\n          path: ~/.cache/pip\n          # Look to see if there is a cache hit for the corresponding requirements files\n          key: ${{ format('{0}-pip-{1}', runner.os, hashFiles('dev-requirements.txt', format('requirements{0}.txt', matrix.spark-version-suffix))) }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip 'tox<4.0'\n      - name: Setup MySQL DB\n        run: |\n          sudo /etc/init.d/mysql start\n          mysql -e 'create database IF NOT EXISTS luigi_test;' -uroot -proot || true\n          mysql -e 'create user 'travis'@'localhost';' -uroot -proot || true\n          mysql -e 'grant all privileges ON *.* TO 'travis'@'localhost';' -uroot -proot || true\n      - name: Build\n        env:\n          TOXENV: ${{ matrix.tox-env }}\n        run: tox\n      - name: Codecov\n        env:\n          COVERAGE_PROCESS_START: .coveragerc\n        run: |\n          pip install codecov\n          codecov -e ${{ matrix.tox-env }}\n\n  postgres:\n    runs-on: ubuntu-20.04\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n        - 5432:5432\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    strategy:\n      matrix:\n        include:\n          - python-version: \"3.6\"\n            tox-env: py36-postgres\n          - python-version: \"3.7\"\n            tox-env: py37-postgres\n          - python-version: \"3.8\"\n            tox-env: py38-postgres\n          - python-version: \"3.9\"\n            tox-env: py39-postgres\n          - python-version: \"3.10\"\n            tox-env: py310-postgres\n          - python-version: \"3.11\"\n            tox-env: py311-postgres\n          - python-version: \"3.12\"\n            tox-env: py312-postgres\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache pip\n        uses: actions/cache@v2\n        with:\n          # This path is specific to Ubuntu\n          path: ~/.cache/pip\n          # Look to see if there is a cache hit for the corresponding requirements files\n          key: ${{ format('{0}-pip-{1}', runner.os, hashFiles('dev-requirements.txt', format('requirements{0}.txt', matrix.spark-version-suffix))) }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip 'tox<4.0'\n      - name: Create PSQL database\n        run: |\n          PGPASSWORD=postgres psql -h localhost -p 5432 -c 'create database spotify;' -U postgres\n      - name: Build\n        env:\n          TOXENV: ${{ matrix.tox-env }}\n        run: tox\n      - name: Codecov\n        env:\n          COVERAGE_PROCESS_START: .coveragerc\n        run: |\n          pip install codecov\n          codecov -e ${{ matrix.tox-env }}\n\n  base:\n    runs-on: ubuntu-20.04\n    env:\n      AWS_DEFAULT_REGION: us-east-1\n      AWS_ACCESS_KEY_ID: accesskey\n      AWS_SECRET_ACCESS_KEY: secretkey\n\n    strategy:\n      matrix:\n        include:\n          - python-version: \"3.6\"\n            tox-env: py36-aws\n          - python-version: \"3.7\"\n            tox-env: py37-aws\n          - python-version: \"3.8\"\n            tox-env: py38-aws\n          - python-version: \"3.9\"\n            tox-env: py39-aws\n          - python-version: \"3.10\"\n            tox-env: py310-aws\n          - python-version: \"3.11\"\n            tox-env: py311-aws\n          - python-version: \"3.12\"\n            tox-env: py312-aws\n\n          - python-version: \"3.6\"\n            tox-env: py36-unixsocket\n            OVERRIDE_SKIP_CI_TESTS: True\n          - python-version: \"3.7\"\n            tox-env: py37-unixsocket\n            OVERRIDE_SKIP_CI_TESTS: True\n          - python-version: \"3.8\"\n            tox-env: py38-unixsocket\n            OVERRIDE_SKIP_CI_TESTS: True\n          - python-version: \"3.9\"\n            tox-env: py39-unixsocket\n            OVERRIDE_SKIP_CI_TESTS: True\n          - python-version: \"3.10\"\n            tox-env: py310-unixsocket\n            OVERRIDE_SKIP_CI_TESTS: True\n          - python-version: \"3.11\"\n            tox-env: py311-unixsocket\n            OVERRIDE_SKIP_CI_TESTS: True\n          - python-version: \"3.12\"\n            tox-env: py312-unixsocket\n            OVERRIDE_SKIP_CI_TESTS: True\n\n          - python-version: \"3.6\"\n            tox-env: py36-apache\n          - python-version: \"3.7\"\n            tox-env: py37-apache\n          - python-version: \"3.8\"\n            tox-env: py38-apache\n          - python-version: \"3.9\"\n            tox-env: py39-apache\n          - python-version: \"3.10\"\n            tox-env: py310-apache\n          - python-version: \"3.11\"\n            tox-env: py311-apache\n          - python-version: \"3.12\"\n            tox-env: py312-apache\n\n          - python-version: \"3.6\"\n            tox-env: py36-azureblob\n          - python-version: \"3.7\"\n            tox-env: py37-azureblob\n          - python-version: \"3.8\"\n            tox-env: py38-azureblob\n          - python-version: \"3.9\"\n            tox-env: py39-azureblob\n          - python-version: \"3.10\"\n            tox-env: py310-azureblob\n          - python-version: \"3.11\"\n            tox-env: py311-azureblob\n          - python-version: \"3.12\"\n            tox-env: py312-azureblob\n\n\n          - python-version: 3.9\n            tox-env: flake8\n          - python-version: 3.9\n            tox-env: docs\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache pip\n        uses: actions/cache@v2\n        with:\n          # This path is specific to Ubuntu\n          path: ~/.cache/pip\n          # Look to see if there is a cache hit for the corresponding requirements files\n          key: ${{ format('{0}-pip-{1}', runner.os, hashFiles('dev-requirements.txt', format('requirements{0}.txt', matrix.spark-version-suffix))) }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip 'tox<4.0'\n      - name: Build\n        env:\n          TOXENV: ${{ matrix.tox-env }}\n          OVERRIDE_SKIP_CI_TESTS: ${{ matrix.OVERRIDE_SKIP_CI_TESTS }}\n        run: tox\n      - name: Codecov\n        if: ${{ matrix.tox-env != 'flake8' && matrix.tox-env != 'docs' }}\n        env:\n          COVERAGE_PROCESS_START: .coveragerc\n        run: |\n          pip install codecov\n          codecov -e ${{ matrix.tox-env }}\n", "state": "active", "repository": "spotify/luigi"}
{"mined_at": "2024-07-15T15:46:23.608961", "created_at": "2020-12-01T01:26:53+01:00", "updated_at": "2024-05-13T00:31:26+02:00", "name": "macOS tests", "path": ".github/workflows/macos.yml", "contents": "name: macOS tests\n\non:\n  push:\n    branches:\n      - maintenance/**\n  pull_request:\n    branches:\n      - main\n      - maintenance/**\n\npermissions:\n   contents: read  # to fetch code (actions/checkout)\n\nenv:\n  INSTALLDIR: \"build-install\"\n  CCACHE_DIR: \"${{ github.workspace }}/.ccache\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  get_commit_message:\n    name: Get commit message\n    uses: ./.github/workflows/commit_message.yml\n\n  test_meson:\n    name: Conda & umfpack/scikit-sparse, fast, py3.11/npAny, dev.py\n    needs: get_commit_message\n    # If using act to run CI locally the github object does not exist and\n    # the usual skipping should not be enforced\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: recursive\n\n    - name: Install Ccache\n      run: |\n        brew install ccache\n\n    - name:  Prepare compiler cache\n      id:    prep-ccache\n      shell: bash -l {0}\n      run: |\n        mkdir -p \"${CCACHE_DIR}\"\n        echo \"dir=$CCACHE_DIR\" >> $GITHUB_OUTPUT\n        NOW=$(date -u +\"%F-%T\")\n        echo \"timestamp=${NOW}\" >> $GITHUB_OUTPUT\n\n    - name: Setup compiler cache\n      uses:  actions/cache@v4\n      id:    cache-ccache\n      # Reference: https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key\n      # NOTE: The caching strategy is modeled in a way that it will always have\n      # a unique cache key for each workflow run (even if the same workflow is\n      # run multiple times). The restore keys are not unique and for a partial\n      # match, they will return the most recently created cache entry,\n      # according to the GitHub Action Docs.\n      with:\n        path: ${{ steps.prep-ccache.outputs.dir }}\n        key:  ${{ github.workflow }}-${{ matrix.python-version }}-ccache-macos-${{ steps.prep-ccache.outputs.timestamp }}\n        # This evaluates to `macOS Tests-3.10-ccache-macos-` which is not\n        # unique. As the CI matrix is expanded, this will need to be updated to\n        # be unique so that the cache is not restored from a different job altogether.\n        restore-keys: |\n          ${{ github.workflow }}-${{ matrix.python-version }}-ccache-macos-\n\n    - name: Setup Conda\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n        channels: conda-forge\n        channel-priority: true\n        activate-environment: scipy-dev\n        use-only-tar-bz2: false\n        miniforge-variant: Mambaforge\n        miniforge-version: latest\n        use-mamba: true\n\n    - name: Get Date\n      id: get-date\n      run: echo \"today=$(/bin/date -u '+%Y%m%d')\" >> $GITHUB_OUTPUT\n      shell: bash\n\n    - name: Cache conda\n      uses: actions/cache@v4\n      env:\n        # Increase this value to reset cache if environment.yml has not changed\n        CACHE_NUMBER: 1\n      with:\n        path: ${{ env.CONDA }}/envs/scipy-dev\n        key:\n          ${{ runner.os }}--${{ steps.get-date.outputs.today }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}\n      id: envcache\n\n    - name: Update Conda Environment\n      run: mamba env update -n scipy-dev -f environment.yml\n      if: steps.envcache.outputs.cache-hit != 'true'\n\n    - name: Build and Install SciPy\n      shell: bash -l {0}\n      run: |\n        conda activate scipy-dev\n        mamba install python=${{ matrix.python-version}}\n\n        # optional test dependencies\n        mamba install scikit-umfpack scikit-sparse\n\n        # Python.org installers still use 10.9, so let's use that too. Note\n        # that scikit-learn already changed to 10.13 in Jan 2021, so increasing\n        # this number in the future (if needed) should not be a problem.\n        # Conda-forge is still at 10.9, see:\n        # https://conda-forge.org/docs/maintainer/knowledge_base.html#requiring-newer-macos-sdks\n        export MACOSX_DEPLOYMENT_TARGET=10.9\n        export MACOSX_SDK_VERSION=10.9\n        CC=\"ccache $CC\" python dev.py build\n\n    - name: Test SciPy\n      shell: bash -l {0}\n      run: |\n        conda activate scipy-dev\n        export OMP_NUM_THREADS=2\n        python dev.py -n test -j2\n\n    - name: Ccache statistics\n      shell: bash -l {0}\n      run: |\n        ccache -s\n\n\n  test_scipy_openblas:\n    name: M1 & OpenBLAS, fast, py3.11/npAny, dev.py\n    needs: get_commit_message\n    # If using act to run CI locally the github object does not exist and\n    # the usual skipping should not be enforced\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: macos-14\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: recursive\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n\n    - name: Build and Install SciPy\n      run: |\n        sudo xcode-select -s /Applications/Xcode_15.2.app\n        \n        git submodule update --init\n        GFORTRAN_LOC=$(which gfortran-13)\n        ln -s $GFORTRAN_LOC gfortran\n        export PATH=$PWD:$PATH\n\n        # Ensure we have gfortran dylib\n        GFORTRAN_LIB=$(dirname `gfortran --print-file-name libgfortran.dylib`)\n        export DYLD_LIBRARY_PATH=$GFORTRAN_LIB\n    \n        pip install click doit pydevtool rich_click meson cython pythran pybind11 ninja numpy\n        pip install -r requirements/openblas.txt\n        python dev.py build --with-scipy-openblas\n\n        pip install pooch pytest hypothesis\n        python dev.py -n test \n\n\n  test_meson_accelerate:\n    name: Accelerate, fast, py3.11/npAny, dev.py\n    needs: get_commit_message\n    # If using act to run CI locally the github object does not exist and\n    # the usual skipping should not be enforced\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: macos-14\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: recursive\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n\n    - name: Build and Install SciPy\n      run: |\n        sudo xcode-select -s /Applications/Xcode_15.2.app\n\n        git submodule update --init\n        GFORTRAN_LOC=$(which gfortran-13)\n        ln -s $GFORTRAN_LOC gfortran\n        export PATH=$PWD:$PATH\n\n        # Ensure we have gfortran dylib\n        GFORTRAN_LIB=$(dirname `gfortran --print-file-name libgfortran.dylib`)\n        export DYLD_LIBRARY_PATH=$GFORTRAN_LIB\n\n        pip install click doit pydevtool rich_click meson cython pythran pybind11 ninja numpy\n        python dev.py build --with-accelerate\n\n        pip install pooch pytest hypothesis\n        python dev.py -n test\n", "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:24.732114", "created_at": "2020-12-01T04:14:42+01:00", "updated_at": "2024-05-13T00:31:26+02:00", "name": "Linux tests", "path": ".github/workflows/linux.yml", "contents": "name: Linux tests\n\non:\n  push:\n    branches:\n      - maintenance/**\n  pull_request:\n    branches:\n      - main\n      - maintenance/**\n\npermissions:\n   contents: read  # to fetch code (actions/checkout)\n\nenv:\n  CCACHE_DIR: \"${{ github.workspace }}/.ccache\"\n  INSTALLDIR: \"build-install\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  get_commit_message:\n    name: Get commit message\n    uses: ./.github/workflows/commit_message.yml\n\n  test_meson:\n    name: mypy (py3.10) & dev deps (py3.13), fast, dev.py\n    needs: get_commit_message\n    # If using act to run CI locally the github object does not exist and\n    # the usual skipping should not be enforced\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.13-dev'] # this run will use python dev versions when available\n        maintenance-branch:\n          - ${{ contains(github.ref, 'maintenance/') || contains(github.base_ref, 'maintenance/') }}\n        exclude:\n          - maintenance-branch: true\n            python-version: '3.12'\n\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: recursive\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: 'environment.yml'\n        allow-prereleases: true\n\n    - name: Install Ubuntu dependencies\n      run: |\n        # NOTE: not the same OpenBLAS version as in upstream CI (I'm being lazy here)\n        sudo apt-get update\n        sudo apt-get install -y libopenblas-dev libatlas-base-dev liblapack-dev gfortran libgmp-dev libmpfr-dev libsuitesparse-dev ccache libmpc-dev\n\n    - name: Install Python packages\n      if: matrix.python-version == '3.10'\n      run: |\n        python -m pip install numpy cython pytest pytest-xdist pytest-timeout pybind11 mpmath gmpy2 pythran ninja meson click rich-click doit pydevtool pooch hypothesis\n\n    - name: Install Python packages from repositories\n      if: matrix.python-version == '3.13-dev' # this run will use python dev versions when available\n      run: |\n        python -m pip install git+https://github.com/numpy/numpy.git\n        python -m pip install ninja cython pytest pybind11 pytest-xdist pytest-timeout click rich-click doit pydevtool pooch hypothesis \"setuptools<67.3\"\n        python -m pip install git+https://github.com/serge-sans-paille/pythran.git\n        python -m pip install git+https://github.com/mesonbuild/meson.git\n\n    - name:  Prepare compiler cache\n      id:    prep-ccache\n      shell: bash\n      run: |\n        mkdir -p \"${CCACHE_DIR}\"\n        echo \"dir=$CCACHE_DIR\" >> $GITHUB_OUTPUT\n        NOW=$(date -u +\"%F-%T\")\n        echo \"timestamp=${NOW}\" >> $GITHUB_OUTPUT\n\n    - name: Setup compiler cache\n      uses:  actions/cache@v4\n      id:    cache-ccache\n      # Reference: https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key\n      # NOTE: The caching strategy is modeled in a way that it will always have a unique cache key for each workflow run\n      # (even if the same workflow is run multiple times). The restore keys are not unique and for a partial match, they will\n      # return the most recently created cache entry, according to the GitHub Action Docs.\n      with:\n        path: ${{ steps.prep-ccache.outputs.dir }}\n        # Restores ccache from either a previous build on this branch or on main\n        key:  ${{ github.workflow }}-${{ matrix.python-version }}-ccache-linux-${{ steps.prep-ccache.outputs.timestamp }}\n        # This evaluates to `Linux Tests-3.10-ccache-linux-` which is not unique. As the CI matrix is expanded, this will\n        # need to be updated to be unique so that the cache is not restored from a different job altogether.\n        restore-keys: |\n          ${{ github.workflow }}-${{ matrix.python-version }}-ccache-linux-\n\n    - name: Setup build and install scipy\n      run: |\n        python dev.py build --werror\n\n    - name: Ccache performance\n      shell: bash -l {0}\n      run: ccache -s\n\n    - name: Check installation\n      run: |\n        pushd tools\n        python check_installation.py ${{ env.INSTALLDIR }}\n        ./check_pyext_symbol_hiding.sh ../build\n        popd\n\n    - name: Check usage of install tags\n      run: |\n        rm -r ${{ env.INSTALLDIR }}\n        python dev.py build --tags=runtime,python-runtime,devel\n        python tools/check_installation.py ${{ env.INSTALLDIR }} --no-tests\n        rm -r ${{ env.INSTALLDIR }}\n        python dev.py build --tags=runtime,python-runtime,devel,tests\n        python tools/check_installation.py ${{ env.INSTALLDIR }}\n\n    - name: Mypy\n      if: matrix.python-version == '3.10'\n      run: |\n        # Packages that are only needed for their annotations\n        python -m pip install mypy==1.10.0 types-psutil typing_extensions\n        python -m pip install pybind11 sphinx\n\n        python -u dev.py mypy\n\n    - name: Test SciPy\n      run: |\n        export OMP_NUM_THREADS=2\n        python dev.py --no-build test -j2 -- --durations 10 --timeout=60\n\n  #################################################################################\n  test_venv_install:\n    name: Install into venv, cluster only, pyAny/npAny, pip+cluster.test()\n    needs: get_commit_message\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: recursive\n\n    - name: Install Ubuntu dependencies\n      run: |\n        # We're not running the full test suite here, only testing the install\n        # into a venv is working, so leave out optional dependencies. That's\n        # also why we can get away with an old version of OpenBLAS from Ubuntu\n        sudo apt-get update\n        sudo apt-get install -y python3-dev libopenblas-dev pkg-config gfortran\n\n    - name: Create venv, install SciPy\n      run: |\n        python -m venv ../venvs/scipy-venv\n        source ../venvs/scipy-venv/bin/activate\n        # Note that this uses build isolation. That's why we don't need build\n        # dependencies to be installed in the venv itself.\n        python -m pip install . -vv\n\n    - name: Basic imports and tests\n      run: |\n        source ../venvs/scipy-venv/bin/activate\n        cd ..\n        python -c \"import scipy\"\n        python -c \"import scipy.linalg\"\n        python -m pip install pytest hypothesis\n        python -c \"from scipy import cluster; cluster.test()\"\n\n    - name: Create venv inside source tree\n      # This is a regression test for gh-16312\n      run: |\n        python -m venv .venv\n        source .venv/bin/activate\n        # Install build dependencies. Use meson-python from its main branch,\n        # most convenient to test in this job because we're using pip without\n        # build isolation here.\n        python -m pip install numpy pybind11 pythran cython pytest ninja hypothesis\n        python -m pip install git+https://github.com/mesonbuild/meson-python.git\n        # Non-isolated build, so we use dependencies installed inside the source tree\n        python -m pip install -U pip  # need pip >=23 for `--config-settings`\n        python -m pip install . --no-build-isolation --config-settings=compile-args=-j2\n\n        # Basic tests\n        cd ..\n        python -c \"import scipy\"\n        python -c \"import scipy.linalg\"\n        python -c \"from scipy import cluster; cluster.test()\"\n\n  #################################################################################\n  python_debug:\n    # also uses the vcs->sdist->wheel route.\n    name: Python-debug & ATLAS & sdist+wheel, fast, py3.10/npMin, pip+pytest\n    needs: get_commit_message\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: ubuntu-22.04  # provides python3.10-dbg\n    steps:\n      - uses: actions/checkout@v4.1.1\n        with:\n          submodules: recursive\n      - name: Configuring Test Environment\n        run: |\n          sudo apt-get update\n          sudo apt install python3-dbg python3-dev libatlas-base-dev liblapack-dev gfortran ccache libgmp-dev libmpfr-dev libmpc-dev\n          python3-dbg --version # just to check\n          python3-dbg -c 'import sys; print(\"Python debug build:\", hasattr(sys, \"gettotalrefcount\"))'\n      - name: Build SciPy\n        run: |\n          python3-dbg -m pip install build\n          python3-dbg -m build -Csetup-args=-Dbuildtype=debugoptimized -Csetup-args=-Dblas=blas-atlas -Csetup-args=-Dlapack=lapack-atlas -Ccompile-args=-j2\n          python3-dbg -m pip install dist/scipy*.whl\n      - name: Testing SciPy\n        run: |\n          cd doc\n          python3-dbg -m pip install pytest pytest-xdist pytest-timeout mpmath gmpy2 threadpoolctl pooch hypothesis\n          python3-dbg -m pytest --pyargs scipy -n2 --durations=10 -m \"not slow\"\n\n  #################################################################################\n  gcc9:\n    # Purpose is to examine builds with oldest-supported gcc and test with pydata/sparse.\n    name: Oldest GCC & pydata/sparse, fast, py3.10/npMin, pip+pytest\n    needs: get_commit_message\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4.1.1\n        with:\n          submodules: recursive\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Setup system dependencies\n        run: |\n          sudo apt-get -y update\n          sudo apt install -y g++-9 gcc-9 gfortran-9\n          sudo apt install -y libatlas-base-dev liblapack-dev libgmp-dev \\\n            libmpfr-dev libmpc-dev pkg-config libsuitesparse-dev liblapack-dev\n\n      - name: Setup Python build deps\n        run: |\n          pip install build meson-python ninja pythran pybind11 cython \"numpy>=2.0.0b1\"\n\n      - name: Build wheel and install\n        run: |\n          set -euo pipefail\n          export PYTHONOPTIMIZE=2\n\n          # specify which compilers to use using environment variables\n          CC=gcc-9 CXX=g++-9 FC=gfortran-9 python -m build --wheel --no-isolation -Csetup-args=-Dblas=blas-atlas -Csetup-args=-Dlapack=lapack-atlas -Ccompile-args=-j2\n          python -m pip install dist/scipy*.whl\n\n      - name: Install test dependencies\n        run: |\n          # Downgrade numpy to oldest supported version\n          pip install gmpy2 threadpoolctl mpmath pooch pytest pytest-xdist==2.5.0 pytest-timeout hypothesis sparse \"numpy==1.23.5\"\n\n      - name: Run tests\n        run: |\n          # can't be in source directory\n          pushd $RUNNER_TEMP\n          export PYTHONOPTIMIZE=2\n          python -m pytest --pyargs scipy -n2 --durations=10\n          popd\n\n  #################################################################################\n  prerelease_deps_coverage_64bit_blas:\n    # TODO: re-enable ILP64 build.\n    name: Prerelease deps & coverage report, full, py3.10/npMin & py3.11/npPre, dev.py\n    needs: get_commit_message\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # Both use numpy 2.x-dev at build time; 3.10 job then downgrades to\n        # lowest supported NumPy version in order to test ABI compatibility.\n        python-version: ['3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: recursive\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Ubuntu dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libgmp-dev libmpfr-dev libmpc-dev ccache gfortran\n\n    - name: Caching Python dependencies\n      uses: actions/cache@v4\n      id: cache\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-prerelease\n\n    - name: Install Python packages\n      run: |\n        python -m pip install cython pythran ninja meson-python pybind11 click rich_click pydevtool\n        python -m pip install --pre --upgrade pytest pytest-cov pytest-xdist mpmath gmpy2 threadpoolctl pooch hypothesis matplotlib\n        python -m pip install -r requirements/openblas.txt\n        # Install numpy last, to ensure we get nightly (avoid possible <2.0 constraints).\n        python -m pip install --pre --upgrade --timeout=60 -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy\n\n    - name:  Prepare compiler cache\n      id:    prep-ccache\n      shell: bash\n      run: |\n        mkdir -p \"${CCACHE_DIR}\"\n        echo \"dir=$CCACHE_DIR\" >> $GITHUB_OUTPUT\n        NOW=$(date -u +\"%F-%T\")\n        echo \"timestamp=${NOW}\" >> $GITHUB_OUTPUT\n\n    - name: Setup compiler cache\n      uses:  actions/cache@v4\n      id:    cache-ccache\n      with:\n        path: ${{ steps.prep-ccache.outputs.dir }}\n        # Restores ccache from either a previous build on this branch or on main\n        key:  ${{ github.workflow }}-${{ matrix.python-version }}-ccache-linux-prerelease-${{ steps.prep-ccache.outputs.timestamp }}\n        restore-keys: |\n          ${{ github.workflow }}-${{ matrix.python-version }}-ccache-linux-prerelease-\n\n    - name: Build and install SciPy\n      run: |\n        python dev.py build --gcov --with-scipy-openblas\n\n    - name: Ccache performance\n      shell: bash -l {0}\n      run: ccache -s\n\n    - name: Downgrade NumPy from 2.0-dev to lowest supported\n      if: matrix.python-version == '3.10'\n      run: |\n        python -m pip install \"numpy==1.23.5\"\n\n    - name: Test SciPy\n      run: |\n        export OPENBLAS_NUM_THREADS=1\n        python dev.py --no-build test -j2 --mode full -- --cov --cov-report term-missing\n\n  #################################################################################\n  linux_32bit:\n    name: 32-bit, fast, py3.10/npMin, dev.py\n    needs: get_commit_message\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: ubuntu-latest\n    # I tried running directly in a container:, using the image: and options:\n    # entries. Unfortunately at this time options: does not seem to listen to\n    # --platform linux/i386.\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: recursive\n\n    - name: build + test\n      run: |\n        set -exuo pipefail\n        docker pull quay.io/pypa/manylinux2014_i686\n        docker run -v $(pwd):/scipy --platform=linux/i386 quay.io/pypa/manylinux2014_i686 /bin/bash -c \"cd /scipy && \\\n        uname -a && \\\n        python3.10 -m venv test && \\\n        source test/bin/activate && \\\n        python -m pip install doit click rich_click pydevtool meson ninja && \\\n        python -m pip install -r requirements/openblas.txt && \\\n        # Ensure that scipy-openblas is picked up by the numpy<1.26 build\n        cat > \\$HOME/.numpy-site.cfg <<EOL\n        [openblas]\n        libraries = \\$(python -c 'import scipy_openblas32; print(scipy_openblas32.get_library())')\n        library_dirs = \\$(python -c 'import scipy_openblas32; print(scipy_openblas32.get_lib_dir())')\n        include_dirs = \\$(python -c 'import scipy_openblas32; print(scipy_openblas32.get_include_dir())')\n        runtime_library_dirs = \\$(python -c 'import scipy_openblas32; print(scipy_openblas32.get_lib_dir())')\n        symbol_prefix = scipy_\n        EOL\n        python -m pip install numpy==1.23.5 cython pybind11 pytest pytest-timeout pytest-xdist pytest-env 'Pillow<10.0.0' mpmath pythran pooch meson hypothesis && \\\n        python -c 'import numpy as np; np.show_config()' && \\\n        python dev.py build --with-scipy-openblas && \\\n        python dev.py --no-build test\"\n\n  #################################################################################\n  distro_multiple_pythons:\n    # Purpose is to build for a non-default Python interpreter in a Linux distro\n    # For such a build config, `python`/`python3` executables may not have\n    # build dependencies like Cython or NumPy installed.\n    name: non-default Python interpreter, fast, py3.10/npMin, pip+pytest\n    needs: get_commit_message\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4.1.1\n        with:\n          submodules: recursive\n\n      - name: Setup system dependencies\n        run: |\n          sudo apt-get -y update\n          # `python3-dev` yields Python 3.10 on Ubuntu 22.04\n          sudo apt install -y python3-dev python3.11-dev ninja-build pkg-config libatlas-base-dev liblapack-dev\n\n      - name: Setup Python build deps\n        run: |\n          python3.11 -m pip install build pythran pybind11 cython numpy meson-python\n\n      - name: Build wheel and install\n        run: |\n          python3.11 -m build -wnx -Csetup-args=-Dblas=blas-atlas -Csetup-args=-Dlapack=lapack-atlas -Ccompile-args=-j2\n          python3.11 -m pip install dist/*.whl\n\n      - name: Install test dependencies\n        run: |\n          python3.11 -m pip install pytest hypothesis\n          python3.10 -m pip install meson  # ensure compile test work with this\n\n      - name: Run tests\n        run: |\n          # Just a small subset of tests; this will be fine if the build\n          # succeeds (that's the real purpose of this job)\n          pushd $RUNNER_TEMP\n          python3.11 -m pytest --pyargs scipy.cluster\n          python3.11 -m pytest --pyargs scipy.linalg\n          popd\n\n  free-threaded:\n    needs: get_commit_message\n    runs-on: ubuntu-latest\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      with:\n        submodules: recursive\n        fetch-tags: true\n    # TODO: replace with setup-python when there is support\n    - uses: deadsnakes/action@6c8b9b82fe0b4344f4b98f2775fcc395df45e494 # v3.1.0\n      with:\n          python-version: '3.13-dev'\n          nogil: true\n    - name: Install Ubuntu dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libgmp-dev libmpfr-dev libmpc-dev ccache gfortran\n    # TODO: remove pip pre-release install after Python 3.13 release\n    - name: Install pre-release pip\n      run: |\n        pip install -U --pre pip\n    - name: Install nightly NumPy and Cython\n      run: |\n        pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple cython numpy\n    - name: Install Python dependencies\n      run: |\n        pip install git+https://github.com/serge-sans-paille/pythran\n        pip install ninja meson-python pybind11 click rich_click pydevtool\n        pip install --pre --upgrade pytest pytest-xdist gmpy2 threadpoolctl pooch hypothesis\n        pip install -r requirements/openblas.txt\n    - name: Build and run tests\n      env:\n        PYTHON_GIL: 0\n      # TODO: For some reason the Meson installation path points to\n      # python3/site-packages as opposed to python3.13/site-packages,\n      # then the dev.py scripts do not work as expected.\n      run: |\n        # python dev.py build --with-scipy-openblas\n        # python dev.py --no-build test -j2 --mode full\n        python -c \"import scipy_openblas32; print(scipy_openblas32.get_pkg_config())\" > scipy-openblas.pc\n        PKG_CONFIG_PATH=\"$PWD\" pip install . -vv --no-build-isolation\n        pushd $RUNNER_TEMP\n        PYTHON_GIL=0 python -m pytest --pyargs scipy -n2 --durations=10\n  #################################################################################\n  clang-17-build-only:\n    # Purpose is to check for warnings in builds with latest clang.\n    # We do not run the test suite here.\n    name: Clang-17 build-only (-Werror)\n    needs: get_commit_message\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4.1.1\n        with:\n          submodules: recursive\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Setup system dependencies\n        run: |\n          sudo apt-get -y update\n          wget https://apt.llvm.org/llvm.sh\n          chmod u+x llvm.sh\n          sudo ./llvm.sh 17\n          sudo apt install -y libopenblas-dev liblapack-dev\n\n      - name: Setup Python build deps\n        run: |\n          pip install -r requirements/build.txt\n          pip install build\n\n      - name: Build wheel, check for compiler warnings\n        run: |\n          # specify which compilers to use using environment variables\n          CC=clang-17 CXX=clang++-17 FC=gfortran python -m build -wnx -Csetup-args=--werror\n", "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:25.742163", "created_at": "2021-10-12T23:36:09+02:00", "updated_at": "2024-04-24T10:40:47+02:00", "name": "Linux Meson tests", "path": ".github/workflows/linux_meson.yml", "contents": null, "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:26.806371", "created_at": "2021-12-02T21:16:39+01:00", "updated_at": "2024-05-13T00:31:26+02:00", "name": "Windows tests", "path": ".github/workflows/windows.yml", "contents": "name: Windows tests\n\non:\n  push:\n    branches:\n      - maintenance/**\n  pull_request:\n    branches:\n      - main\n      - maintenance/**\n\npermissions:\n   contents: read  # to fetch code (actions/checkout)\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  get_commit_message:\n    name: Get commit message\n    uses: ./.github/workflows/commit_message.yml\n\n  fast_dev_py_fail_slow:\n    name: fail slow, fast, py3.12/npAny, dev.py\n    needs: get_commit_message\n    # Ensure (a) this doesn't run on forks by default, and\n    #        (b) it does run with Act locally (`github` doesn't exist there)\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: windows-2019\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4.1.1\n        with:\n          submodules: recursive\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n          architecture: 'x64'\n          cache: 'pip'\n          cache-dependency-path: 'environment.yml'\n      - name: Install rtools (mingw-w64)\n        run: |\n          choco install rtools -y --no-progress --force --version=4.0.0.20220206\n          echo \"c:\\rtools40\\ucrt64\\bin;\" >> $env:GITHUB_PATH\n\n      - name: pip-packages\n        run: |\n          pip install numpy cython pybind11 pythran meson ninja pytest pytest-xdist pytest-timeout pytest-fail-slow pooch rich_click click doit pydevtool hypothesis\n          python -m pip install -r requirements/openblas.txt\n\n      - name: Build\n        run: |\n          python dev.py build --with-scipy-openblas\n\n      - name: Test\n        run: |\n          # test runner parallel clashes with OpenBLAS multithreading\n          $env:OPENBLAS_NUM_THREADS=1\n          python dev.py test -j2 -- --durations=0 --durations-min=0.25 --fail-slow=1.0\n\n\n  #############################################################################\n  full_dev_py_min_numpy_fail_slow:\n    name: fail slow, full, py3.10/npMin, dev.py\n    needs: get_commit_message\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: windows-2019\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4.1.1\n        with:\n          submodules: recursive\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: 'pip'\n          cache-dependency-path: 'environment.yml'\n\n      - name: Install rtools (mingw-w64)\n        run: |\n          choco install rtools -y --no-progress --force --version=4.0.0.20220206\n          echo \"c:\\rtools40\\ucrt64\\bin;\" >> $env:GITHUB_PATH\n\n      - name: pip-packages\n        run: |\n          # 1.23.5 is currently the oldest numpy usable on cp3.10 according\n          # to pyproject.toml\n          python -m pip install numpy==1.23.5 cython pybind11 pythran meson-python meson ninja pytest pytest-xdist pytest-timeout pytest-fail-slow pooch rich_click click doit pydevtool hypothesis\n          python -m pip install -r requirements/openblas.txt\n\n      - name: Build\n        run: |\n          python dev.py build --with-scipy-openblas\n\n      - name: Test\n        run: |\n          # test runner parallel clashes with OpenBLAS multithreading\n          $env:OPENBLAS_NUM_THREADS=1\n          python dev.py test -j2 --mode full -- --durations=0 --durations-min=1.0 --timeout=60 --fail-slow=5.0\n\n\n  #############################################################################\n  full_build_sdist_wheel:\n    # TODO: enable ILP64 once possible\n    name: no pythran & sdist+wheel, full, py3.11/npPre, pip+pytest\n    needs: get_commit_message\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: windows-2019\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4.1.1\n        with:\n          submodules: recursive\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: 'pip'\n          cache-dependency-path: 'environment.yml'\n\n      - name: Win_amd64 - install rtools\n        run: |\n          # mingw-w64\n          choco install rtools -y --no-progress --force --version=4.0.0.20220206\n          echo \"c:\\rtools40\\ucrt64\\bin;\" >> $env:GITHUB_PATH\n\n      - name: Install OpenBLAS\n        shell: bash\n        run: |\n          set -xe\n          python -m pip install -r requirements/openblas.txt\n          bash tools/wheels/cibw_before_build_win.sh .\n          echo \"PKG_CONFIG_PATH=${{ github.workspace }}\" >> $GITHUB_ENV\n\n      - name: pip-packages\n        run: |\n          python -m pip install build delvewheel cython pybind11 meson-python meson ninja pytest pytest-xdist pytest-timeout pooch hypothesis\n          python -m pip install --pre --upgrade --timeout=60 -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy\n\n      - name: Build\n        shell: bash\n        run: |\n          python -m build --no-isolation -x -Csetup-args=\"-Duse-pythran=false\"\n\n          # Vendor openblas.dll and the DLL's it depends on into the wheel\n          # Ignore `libsf_error_state.dll` for special function error handling;\n          # it will be loaded using ctypes in scipy/special/__init__.py.\n          wheel_name=$(ls dist/*.whl)\n          openblas_dir=$(python -c\"import scipy_openblas32 as sop; print(sop.get_lib_dir())\")\n          delvewheel repair --add-path $openblas_dir --no-dll libsf_error_state.dll -w wheelhouse $wheel_name\n          \n          python -m pip install wheelhouse/*\n\n      - name: Test\n        run: |\n          cd $RUNNER_TEMP\n          # run full test suite\n          # test runner parallel clashes with OpenBLAS multithreading\n          $env:OPENBLAS_NUM_THREADS=1\n          pytest --pyargs scipy\n", "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:27.849246", "created_at": "2022-01-23T23:23:22+01:00", "updated_at": "2024-04-24T10:40:47+02:00", "name": "macOS tests (meson)", "path": ".github/workflows/macos_meson.yml", "contents": null, "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:28.898517", "created_at": "2022-04-25T15:57:24+02:00", "updated_at": "2024-02-12T19:17:01+01:00", "name": "Redirect circleci artifacts", "path": ".github/workflows/circle_artifacts.yml", "contents": "name: Redirect circleci artifacts\n\non: [status]\njobs:\n  circleci_artifacts_redirector_job:\n    runs-on: ubuntu-22.04\n    if: >\n      github.repository == 'scipy/scipy'\n      && github.event.context == 'ci/circleci: build_docs'\n    name: Run CircleCI artifacts redirector\n    steps:\n      - name: GitHub Action step\n        uses: larsoner/circleci-artifacts-redirector-action@master\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          api-token: ${{ secrets.CIRCLE_TOKEN }}\n          artifact-path: 0/html/index.html\n          circleci-jobs: build_docs\n          job-title: Check the rendered docs here!\n", "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:30.154193", "created_at": "2022-08-11T07:44:06+02:00", "updated_at": "2022-10-03T02:51:48+02:00", "name": "Wheel builder", "path": ".github/workflows/wheels.yml", "contents": "# Workflow to build and test wheels.\n# To work on the wheel building infrastructure on a fork, comment out:\n#\n# if: github.repository == 'scipy/scipy'\n#\n# in the get_commit_message job include [wheel build] in your commit\n# message to trigger the build. All files related to wheel building are located\n# at tools/wheels/\nname: Wheel builder\n\non:\n  schedule:\n  #        ┌───────────── minute (0 - 59)\n  #        │  ┌───────────── hour (0 - 23)\n  #        │  │ ┌───────────── day of the month (1 - 31)\n  #        │  │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n  #        │  │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n  #        │  │ │ │ │\n  - cron: \"9  9 * * *\"\n  push:\n    branches:\n      - maintenance/**\n  pull_request:\n    branches:\n      - main\n      - maintenance/**\n  workflow_dispatch:\n\npermissions:\n   contents: read  # to fetch code (actions/checkout)\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  get_commit_message:\n    name: Get commit message\n    runs-on: ubuntu-latest\n    if: github.repository == 'scipy/scipy'\n    outputs:\n      message: ${{ steps.commit_message.outputs.message }}\n    steps:\n      - name: Checkout scipy\n        uses: actions/checkout@v4.1.1\n        # Gets the correct commit message for pull request\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Get commit message\n        id: commit_message\n        run: |\n          set -xe\n          COMMIT_MSG=$(git log --no-merges -1)\n          RUN=\"0\"\n          if [[ \"$COMMIT_MSG\" == *\"[wheel build]\"* ]]; then\n              RUN=\"1\" \n          fi\n          echo \"message=$RUN\" >> $GITHUB_OUTPUT\n          echo github.ref ${{ github.ref }}\n\n  build_wheels:\n    name: Wheel, ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}\n      ${{ matrix.buildplat[2] }} ${{ matrix.buildplat[3] }}\n      ${{ matrix.buildplat[4] }}\n    needs: get_commit_message\n    if: >-\n      contains(needs.get_commit_message.outputs.message, '1') ||\n      github.event_name == 'schedule' ||\n      github.event_name == 'workflow_dispatch'\n    runs-on: ${{ matrix.buildplat[0] }}\n\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        # Github Actions doesn't support pairing matrix values together, let's improvise\n        # https://github.com/github/feedback/discussions/7835#discussioncomment-1769026\n        buildplat:\n        # should also be able to do multi-archs on a single entry, e.g.\n        # [windows-2019, win*, \"AMD64 x86\"]. However, those two require a different compiler setup\n        # so easier to separate out here.\n        - [ubuntu-22.04, manylinux, x86_64, \"\", \"\"]\n        - [ubuntu-22.04, musllinux, x86_64, \"\", \"\"]\n        - [macos-12, macosx, x86_64, openblas, \"10.13\"]\n        - [macos-13, macosx, x86_64, accelerate, \"14.0\"]\n        - [macos-14, macosx, arm64, openblas, \"12.3\"]\n        - [macos-14, macosx, arm64, accelerate, \"14.0\"]\n        - [windows-2019, win, AMD64, \"\", \"\"]\n        python: [[\"cp310\", \"3.10\"], [\"cp311\", \"3.11\"], [\"cp312\", \"3.12\"], [\"cp313\", \"3.13\"]]\n        # python[0] is used to specify the python versions made by cibuildwheel\n\n    env:\n      IS_32_BIT: ${{ matrix.buildplat[2] == 'x86' }}\n      # upload to staging if it's a push to a maintenance branch and the last\n      # commit message contains '[wheel build]'\n      IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/maintenance') && contains(needs.get_commit_message.outputs.message, '1') }}\n      IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}\n\n    steps:\n      - name: Checkout scipy\n        uses: actions/checkout@v4.1.1\n        with:\n          submodules: true\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: win_amd64 - install rtools\n        run: |\n          # mingw-w64\n          choco install rtools -y --no-progress --force --version=4.0.0.20220206\n          echo \"c:\\rtools40\\ucrt64\\bin;\" >> $env:GITHUB_PATH\n        if: ${{ runner.os == 'Windows' && env.IS_32_BIT == 'false' }}\n\n      - name: windows - set PKG_CONFIG_PATH\n        if: ${{ runner.os == 'Windows' }}\n        run: |\n          $env:CIBW = \"${{ github.workspace }}\"\n          # It seems somewhere in the env passing, `\\` is not\n          # passed through, so convert it to '/'\n          $env:CIBW=$env:CIBW.replace(\"\\\",\"/\")\n          echo \"CIBW_ENVIRONMENT=PKG_CONFIG_PATH=$env:CIBW\" >> $env:GITHUB_ENV\n\n      - name: Setup macOS\n        if: startsWith( matrix.buildplat[0], 'macos-' )\n        run: |\n          if [[ ${{ matrix.buildplat[3] }} == 'accelerate' ]]; then\n            echo CIBW_CONFIG_SETTINGS=\\\"setup-args=-Dblas=accelerate\\\" >> \"$GITHUB_ENV\"\n            # Always use preinstalled gfortran for Accelerate builds\n            ln -s $(which gfortran-13) gfortran\n            export PATH=$PWD:$PATH\n            echo \"PATH=$PATH\" >> \"$GITHUB_ENV\"\n            LIB_PATH=$(dirname $(gfortran --print-file-name libgfortran.dylib))\n          fi\n          if [[ ${{ matrix.buildplat[4] }} == '10.13' ]]; then\n            # 20240621 macos-12 images span Xcode 13.1-->14.2\n            XCODE_VER='13.4.1'\n          else\n            XCODE_VER='15.2'\n          fi\n          CIBW=\"sudo xcode-select -s /Applications/Xcode_${XCODE_VER}.app\"\n          echo \"CIBW_BEFORE_ALL=$CIBW\" >> $GITHUB_ENV\n          # setting SDKROOT necessary when using the gfortran compiler\n          # installed in cibw_before_build_macos.sh\n          sudo xcode-select -s /Applications/Xcode_${XCODE_VER}.app\n          CIBW=\"MACOSX_DEPLOYMENT_TARGET=${{ matrix.buildplat[4] }}\\\n            SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\\\n            PKG_CONFIG_PATH=${{ github.workspace }}\"\n          echo \"CIBW_ENVIRONMENT=$CIBW\" >> \"$GITHUB_ENV\"\n\n          echo \"REPAIR_PATH=$LIB_PATH\" >> \"$GITHUB_ENV\"\n          \n          PREFIX=DYLD_LIBRARY_PATH=\"\\$(dirname \\$(gfortran --print-file-name libgfortran.dylib))\"\n          # remove libgfortran from location used for linking (if any), to\n          # check wheel has bundled things correctly and all tests pass without\n          # needing installed gfortran\n          POSTFIX=\" sudo rm -rf /opt/gfortran-darwin-x86_64-native &&\\\n                    sudo rm -rf /usr/local/gfortran/lib\"\n          CIBW=\"$PREFIX delocate-listdeps -d {wheel} && echo \"-----------\" &&\\\n            $PREFIX delocate-wheel -v $EXCLUDE --require-archs \\\n            {delocate_archs} -w {dest_dir} {wheel} && echo \"-----------\" &&\\\n            delocate-listdeps -d {dest_dir}/*.whl && echo \"-----------\" &&\\\n            $POSTFIX\"\n          \n          # Rename x86 Accelerate wheel to test on macOS 13 runner\n          if [[ ${{ matrix.buildplat[0] }} == 'macos-13' && ${{ matrix.buildplat[4] }} == '14.0' ]]; then\n            CIBW+=\" && mv {dest_dir}/\\$(basename {wheel}) \\\n              {dest_dir}/\\$(echo \\$(basename {wheel}) | sed 's/14_0/13_0/')\"\n          fi\n          \n          # macos-arm64-openblas wheels that target macos-12 need a\n          # MACOS_DEPLOYMENT_TARGET of 12.3 otherwise delocate complains.\n          # Unclear of cause, possibly build tool related.\n          # This results in wheels that have 12_3 in their name. Since Python\n          # has no concept of minor OS versions in packaging land rename the\n          # wheel back to 12.\n          if [[ ${{ matrix.buildplat[0] }} == 'macos-14' && ${{ matrix.buildplat[4] }} == '12.3' ]]; then\n            CIBW+=\" && echo \\$(ls {dest_dir}) && \\\n            mv {dest_dir}/*.whl \\$(find {dest_dir} -type f -name '*.whl' | sed 's/12_3/12_0/')\"\n          fi          \n          echo \"CIBW_REPAIR_WHEEL_COMMAND_MACOS=$CIBW\" >> \"$GITHUB_ENV\"\n\n      - name: Inject environment variable for python dev version\n        if: matrix.python[1] == '3.13'\n        shell: bash\n        run: |\n          # For dev versions of python need to use wheels from scientific-python-nightly-wheels\n          # When the python version is released please comment out this section, but do not remove\n          # (there will soon be another dev version to target).\n          DEPS0=\"pip install --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy\"\n          DEPS1=\"pip install ninja meson-python pybind11 pythran cython\"\n          \n          CIBW=\"$DEPS0;$DEPS1;bash {project}/tools/wheels/cibw_before_build_linux.sh {project}\"\n          echo \"CIBW_BEFORE_BUILD_LINUX=$CIBW\" >> \"$GITHUB_ENV\"\n          \n          CIBW=\"$DEPS0 && $DEPS1 && bash {project}/tools/wheels/cibw_before_build_win.sh {project}\"\n          echo \"CIBW_BEFORE_BUILD_WINDOWS=$CIBW\" >> \"$GITHUB_ENV\"\n          \n          CIBW=\"$DEPS0;$DEPS1;bash {project}/tools/wheels/cibw_before_build_macos.sh {project}\"\n          echo \"CIBW_BEFORE_BUILD_MACOS=$CIBW\" >> \"$GITHUB_ENV\"\n\n          echo \"CIBW_BEFORE_TEST=$DEPS0\" >> \"$GITHUB_ENV\"\n          \n          CIBW=\"pip; args: --no-build-isolation\"\n          echo \"CIBW_BUILD_FRONTEND=$CIBW\" >> \"$GITHUB_ENV\" \n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}*\n          CIBW_ARCHS: ${{ matrix.buildplat[2] }}\n          CIBW_PRERELEASE_PYTHONS: True\n\n      - name: Rename macOS wheels\n        if: startsWith( matrix.buildplat[0], 'macos-' )\n        run: |\n          # macos-x86_64-accelerate wheels targeting macos-14 were renamed to 13\n          # so they could be tested. Shift wheel name back to targeting 14.\n          if [[ ${{ matrix.buildplat[0] }} == 'macos-13' && ${{ matrix.buildplat[4] }} == '14.0' ]]; then\n            mv ./wheelhouse/*.whl $(find ./wheelhouse -type f -name '*.whl' | sed 's/13_0/14_0/')\n          fi\n\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./wheelhouse/*.whl\n          name: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}\n            ${{ matrix.buildplat[2] }} ${{ matrix.buildplat[3] }}\n            ${{ matrix.buildplat[4] }}\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          # for installation of anaconda-client, required for upload to\n          # anaconda.org\n          # default (and activated) environment name is test\n          # Note that this step is *after* specific pythons have been used to\n          # build and test the wheel\n          auto-update-conda: true\n          python-version: \"3.10\"\n          miniconda-version: \"latest\"\n\n      - name: Upload wheels\n        if: success()\n        shell: bash -el {0}\n        # see https://github.com/marketplace/actions/setup-miniconda for why\n        # `-el {0}` is required.\n        env:\n          SCIPY_STAGING_UPLOAD_TOKEN: ${{ secrets.SCIPY_STAGING_UPLOAD_TOKEN }}\n          SCIPY_NIGHTLY_UPLOAD_TOKEN: ${{ secrets.SCIPY_NIGHTLY_UPLOAD_TOKEN }}\n        run: |\n          conda install -y anaconda-client\n          source tools/wheels/upload_wheels.sh\n          set_upload_vars\n          # For cron jobs (restricted to main branch) or \"Run workflow\" trigger\n          # an upload to:\n          #\n          # https://anaconda.org/scientific-python-nightly-wheels/scipy\n          # \n          # Pushes to a maintenance branch that contain '[wheel build]' will\n          # cause wheels to be built and uploaded to:\n          #\n          # https://anaconda.org/multibuild-wheels-staging/scipy\n          #\n          # The tokens were originally generated at anaconda.org\n          upload_wheels\n", "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:31.167876", "created_at": "2022-09-05T10:33:31+02:00", "updated_at": "2023-12-23T10:42:08+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/pull-request-labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n  pull_request_target:\n    types: [opened]\n\njobs:\n  label_pull_request:\n    # Permissions needed for labelling Pull Requests automatically\n    # https://docs.github.com/en/actions/security-guides/automatic-token-authentication\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    # label based on changed files\n    - uses: actions/labeler@v5\n      continue-on-error: true\n      if: github.repository == 'scipy/scipy'\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        configuration-path: \".github/label-globs.yml\"\n    # label based on PR title\n    - uses: github/issue-labeler@v3.4\n      if: github.repository == 'scipy/scipy'\n      with:\n        configuration-path: .github/labeler.yml\n        include-title: 1\n        include-body: 0\n        enable-versioned-regex: 0\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:32.240495", "created_at": "2023-04-17T03:01:13+02:00", "updated_at": "2024-06-24T12:06:56+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n    branches:\n      - maintenance/**\n  pull_request:\n    branches:\n      - main\n      - maintenance/**\n\npermissions:\n   contents: read  # to fetch code (actions/checkout)\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  test_lint:\n    name: Lint\n    # If using act to run CI locally the github object does not exist and the usual skipping should not be enforced\n    if: \"github.repository == 'scipy/scipy' || github.repository == ''\"\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['3.11']\n\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        fetch-depth: 0\n        submodules: recursive\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Python packages\n      run: |\n        python -m pip install ruff cython-lint packaging\n\n    - name: Lint\n      run: |\n        set -euo pipefail\n        python tools/lint.py --diff-against origin/$GITHUB_BASE_REF\n        python tools/unicode-check.py\n        python tools/check_test_name.py\n\n    - name: Check that Python.h is first in any file including it.\n      shell: bash\n      run: |\n        python tools/check_python_h_first.py \n", "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:33.319483", "created_at": "2023-06-13T19:41:55+02:00", "updated_at": "2023-07-12T14:22:33+02:00", "name": "Array API", "path": ".github/workflows/array_api.yml", "contents": "name: Array API\n\non:\n  push:\n    branches:\n      - maintenance/**\n  pull_request:\n    branches:\n      - main\n      - maintenance/**\n\npermissions:\n   contents: read  # to fetch code (actions/checkout)\n\nenv:\n  CCACHE_DIR: \"${{ github.workspace }}/.ccache\"\n  INSTALLDIR: \"build-install\"\n  XP_TESTS: >-\n    -t scipy.cluster\n    -t scipy.constants\n    -t scipy.fft\n    -t scipy.special.tests.test_support_alternative_backends\n    -t scipy._lib.tests.test_array_api\n    -t scipy._lib.tests.test__util\n    -t scipy.stats\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  get_commit_message:\n    name: Get commit message\n    uses: ./.github/workflows/commit_message.yml\n\n  pytorch_cpu:\n    name: Linux PyTorch/JAX/xp-strict CPU\n    needs: get_commit_message\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['3.11']\n        maintenance-branch:\n          - ${{ contains(github.ref, 'maintenance/') || contains(github.base_ref, 'maintenance/') }}\n        exclude:\n          - maintenance-branch: true\n\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: recursive\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'  # not using a path to also cache pytorch\n\n    - name: Install Ubuntu dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libopenblas-dev libatlas-base-dev liblapack-dev gfortran libgmp-dev libmpfr-dev libsuitesparse-dev ccache libmpc-dev\n\n    - name: Install Python packages\n      run: |\n        python -m pip install numpy cython pytest pytest-xdist pytest-timeout pybind11 mpmath gmpy2 pythran ninja meson click rich-click doit pydevtool pooch hypothesis array-api-strict\n\n    - name: Install PyTorch CPU\n      run: |\n        python -m pip install \"torch==2.3\" --index-url https://download.pytorch.org/whl/cpu\n\n    - name: Install JAX\n      run: |\n        python -m pip install \"jax[cpu]\"\n\n    - name:  Prepare compiler cache\n      id:    prep-ccache\n      shell: bash\n      run: |\n        mkdir -p \"${CCACHE_DIR}\"\n        echo \"dir=$CCACHE_DIR\" >> $GITHUB_OUTPUT\n        NOW=$(date -u +\"%F-%T\")\n        echo \"timestamp=${NOW}\" >> $GITHUB_OUTPUT\n\n    - name: Setup compiler cache\n      uses:  actions/cache@v4\n      id:    cache-ccache\n      with:\n        path: ${{ steps.prep-ccache.outputs.dir }}\n        key:  ${{ github.workflow }}-${{ matrix.python-version }}-ccache-linux-${{ steps.prep-ccache.outputs.timestamp }}\n        restore-keys: |\n          ${{ github.workflow }}-${{ matrix.python-version }}-ccache-linux-\n\n    - name: Setup build and install scipy\n      run: |\n        python dev.py build\n\n    - name: Test SciPy\n      run: |\n        export OMP_NUM_THREADS=2\n        # expand as more modules are supported by adding to `XP_TESTS` above\n        python dev.py --no-build test -b all $XP_TESTS -- --durations 3 --timeout=60\n", "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:34.364271", "created_at": "2023-07-30T09:00:38+02:00", "updated_at": "2024-04-24T10:40:47+02:00", "name": "Test musllinux_x86_64", "path": ".github/workflows/linux_musl.yml", "contents": null, "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:35.429273", "created_at": "2023-11-26T07:31:30+01:00", "updated_at": "2024-02-12T19:17:01+01:00", "name": "Skip tag checker", "path": ".github/workflows/commit_message.yml", "contents": "name: Skip tag checker\n\non:\n  workflow_call:\n    outputs:\n      message:\n        description: \"Skip tag checker\"\n        value: ${{ jobs.check_skip_tags.outputs.message }}\n\npermissions:\n   contents: read\n\njobs:\n  check_skip_tags:\n    name: Check for skips\n    runs-on: ubuntu-latest\n    outputs:\n      message: ${{ steps.skip_check.outputs.message }}\n    steps:\n      - name: Checkout scipy\n        uses: actions/checkout@v4.1.1\n        # Gets the correct commit message for pull request\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Check for skips\n        id: skip_check\n        # the lint workflow is not currently skipped with [docs only].\n        # this could be changed by adding a new job which uses this workflow to lint.yml\n        # and changing the output here based on the combination of tags (if desired).\n        run: |\n          set -xe\n          COMMIT_MSG=$(git log --no-merges -1)\n          RUN=\"1\"\n          if [[ \"$COMMIT_MSG\" == *\"[lint only]\"* || \"$COMMIT_MSG\" == *\"[docs only]\"* ]]; then\n              RUN=\"0\"\n          fi\n          echo \"message=$RUN\" >> $GITHUB_OUTPUT\n          echo github.ref ${{ github.ref }}\n", "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:36.435732", "created_at": "2023-12-25T11:13:43+01:00", "updated_at": "2023-12-25T11:13:43+01:00", "name": "Issue Labeler", "path": ".github/workflows/issue-labeler.yml", "contents": "name: \"Issue Labeler\"\non:\n  issues:\n    types: [opened]\n\njobs:\n  label_issue:\n    # Permissions needed for labelling issues automatically\n    # https://docs.github.com/en/actions/security-guides/automatic-token-authentication\n    permissions:\n      contents: read\n      issues: write\n    runs-on: ubuntu-latest\n    steps:\n    # label based on issue title\n    - uses: github/issue-labeler@v3.4\n      if: github.repository == 'scipy/scipy'\n      with:\n        configuration-path: .github/labeler.yml\n        include-title: 1\n        include-body: 0\n        enable-versioned-regex: 0\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:37.450890", "created_at": "2024-04-17T19:50:54+02:00", "updated_at": "2024-04-21T11:56:59+02:00", "name": "Test musllinux_x86_64", "path": ".github/workflows/musllinux.yml", "contents": "name: Test musllinux_x86_64\n\non:\n  push:\n    branches:\n      - maintenance/**\n  pull_request:\n    branches:\n      - main\n      - maintenance/**\n\npermissions:\n   contents: read  # to fetch code (actions/checkout)\n\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\n\njobs:\n  get_commit_message:\n    name: Get commit message\n    uses: ./.github/workflows/commit_message.yml\n\n  musllinux_x86_64:\n    name: musl Ubuntu-latest, fast, py3.10/npAny, dev.py\n    needs: get_commit_message\n    runs-on: ubuntu-latest\n    # If using act to run CI locally the github object does not exist and\n    # the usual skipping should not be enforced\n    if: >\n      needs.get_commit_message.outputs.message == 1\n      && (github.repository == 'scipy/scipy' || github.repository == '')\n    container:\n      # Use container used for building musllinux wheels\n      # it has git installed, all the pythons, etc\n      image: quay.io/pypa/musllinux_1_1_x86_64\n\n\n    steps:\n    - name: Get source\n      run: |    \n        apk update --quiet\n\n        apk add build-base gfortran git\n\n        git config --global --add safe.directory $PWD \n        \n        if [ $GITHUB_EVENT_NAME != pull_request ]; then\n            git clone --recursive --branch=$GITHUB_REF_NAME https://github.com/${GITHUB_REPOSITORY}.git $GITHUB_WORKSPACE\n            git reset --hard $GITHUB_SHA\n        else        \n            git clone --recursive https://github.com/${GITHUB_REPOSITORY}.git $GITHUB_WORKSPACE\n            git fetch origin $GITHUB_REF:my_ref_name\n            git checkout $GITHUB_BASE_REF\n            git -c user.email=\"you@example.com\" merge --no-commit my_ref_name\n        fi\n\n        ln -s /usr/local/bin/python3.10 /usr/local/bin/python\n        git submodule update --init\n\n\n    - name: prep build environment\n      run: |    \n        cd $RUNNER_TEMP\n        python -m venv test_env\n        source test_env/bin/activate\n        cd $GITHUB_WORKSPACE\n\n        python -m pip install cython numpy\n        # python -m pip install --upgrade --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy\n        python -m pip install meson ninja pybind11 pythran pytest hypothesis\n        python -m pip install click rich_click doit pydevtool pooch\n        python -m pip install -r requirements/openblas.txt\n        \n        chmod +x tools/wheels/cibw_before_build_linux.sh\n        tools/wheels/cibw_before_build_linux.sh --nightly .     \n\n    - name: test\n      run: |\n        set -xe -o\n        cd $RUNNER_TEMP\n        source test_env/bin/activate\n        cd $GITHUB_WORKSPACE\n        export PKG_CONFIG_PATH=$PWD\n        python dev.py test\n", "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:38.499616", "created_at": "2024-04-20T14:22:59+02:00", "updated_at": "2024-04-20T14:22:59+02:00", "name": "Check Python.h include order", "path": ".github/workflows/python-h-first.yml", "contents": null, "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:39.553984", "created_at": "2024-05-13T17:00:19+02:00", "updated_at": "2024-05-13T17:00:19+02:00", "name": "scipy_on_py3_13", "path": ".github/workflows/scipy_on_py3_13.yml", "contents": null, "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:40.617165", "created_at": "2024-06-04T00:12:06+02:00", "updated_at": "2024-06-05T09:59:45+02:00", "name": "Free-Threaded Wheel Builder", "path": ".github/workflows/free_threaded_wheels.yml", "contents": "# Workflow to build and test wheels for the free-threaded Python build.\n#\n# This should be merged back into wheels.yml when free-threaded wheel\n# builds can be uploaded to pypi along with the rest of scipy's release\n# artifacts.\n#\n# To work on the wheel building infrastructure on a fork, comment out:\n#\n# if: github.repository == 'scipy/scipy'\n#\n# in the get_commit_message job. Be sure to include [wheel build] in your commit\n# message to trigger the build. All files related to wheel building are located\n# at tools/wheels/\nname: Free-Threaded Wheel Builder\n\non:\n    schedule:\n    #        ┌───────────── minute (0 - 59)\n    #        │  ┌───────────── hour (0 - 23)\n    #        │  │ ┌───────────── day of the month (1 - 31)\n    #        │  │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │  │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │  │ │ │ │\n    - cron: \"9  9 * * *\"\n    push:\n      branches:\n        - maintenance/**\n    pull_request:\n      branches:\n        - main\n        - maintenance/**\n    workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  get_commit_message:\n    name: Get commit message\n    runs-on: ubuntu-latest\n    if: github.repository == 'scipy/scipy'\n    outputs:\n      message: ${{ steps.commit_message.outputs.message }}\n    steps:\n      - name: Checkout scipy\n        uses: actions/checkout@v4.1.1\n        # Gets the correct commit message for pull request\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Get commit message\n        id: commit_message\n        run: |\n          set -xe\n          COMMIT_MSG=$(git log --no-merges -1)\n          RUN=\"0\"\n          if [[ \"$COMMIT_MSG\" == *\"[wheel build]\"* ]]; then\n              RUN=\"1\"\n          fi\n          echo \"message=$RUN\" >> $GITHUB_OUTPUT\n          echo github.ref ${{ github.ref }}\n\n  build_wheels:\n    name: Wheel, ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}\n      ${{ matrix.buildplat[2] }} ${{ matrix.buildplat[3] }}\n      ${{ matrix.buildplat[4] }}\n    needs: get_commit_message\n    if: >-\n      contains(needs.get_commit_message.outputs.message, '1') ||\n      github.event_name == 'schedule' ||\n      github.event_name == 'workflow_dispatch'\n    runs-on: ${{ matrix.buildplat[0] }}\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        # Github Actions doesn't support pairing matrix values together, let's improvise\n        # https://github.com/github/feedback/discussions/7835#discussioncomment-1769026\n        buildplat:\n          - [ubuntu-22.04, manylinux, x86_64, \"\", \"\"]\n          - [ubuntu-22.04, musllinux, x86_64, \"\", \"\"]\n          - [macos-12, macosx, x86_64, openblas, \"10.9\"]\n          - [macos-13, macosx, x86_64, accelerate, \"14.0\"]\n          # OpenBLAS builds with deployment target set to 12 are failing due\n          # to relocation issues of gfortran dylibs\n          # - [macos-14, macosx, arm64, openblas, \"12.0\"]\n          - [macos-14, macosx, arm64, accelerate, \"14.0\"]\n          # TODO: build scipy and set up Windows and MacOS\n          # cibuildwheel does not yet support Mac for free-threaded python\n          # windows is supported but numpy doesn't build on the image yet\n        python: [[\"cp313t\", '3.13']]\n    env:\n      IS_32_BIT: ${{ matrix.buildplat[2] == 'x86' }}\n      # upload to staging if it's a push to a maintenance branch and the last\n      # commit message contains '[wheel build]'\n      IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/maintenance') && contains(needs.get_commit_message.outputs.message, '1') }}\n      IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}\n    steps:\n      - name: Checkout scipy\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n        with:\n          submodules: true\n\n      # Used to push the built wheels\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.x\"\n\n      - name: Setup macOS\n        if: startsWith( matrix.buildplat[0], 'macos-' )\n        run: |\n          if [[ ${{ matrix.buildplat[3] }} == 'accelerate' ]]; then\n            echo CIBW_CONFIG_SETTINGS=\\\"setup-args=-Dblas=accelerate\\\" >> \"$GITHUB_ENV\"\n            # Always use preinstalled gfortran for Accelerate builds\n            ln -s $(which gfortran-13) gfortran\n            export PATH=$PWD:$PATH\n            echo \"PATH=$PATH\" >> \"$GITHUB_ENV\"\n            LIB_PATH=$(dirname $(gfortran --print-file-name libgfortran.dylib))\n          fi\n          if [[ ${{ matrix.buildplat[4] }} == '10.9' ]]; then\n            # Newest version of Xcode that supports macOS 10.9\n            XCODE_VER='13.4.1'\n          else\n            XCODE_VER='15.2'\n          fi\n          CIBW=\"sudo xcode-select -s /Applications/Xcode_${XCODE_VER}.app\"\n          echo \"CIBW_BEFORE_ALL=$CIBW\" >> $GITHUB_ENV\n          # setting SDKROOT necessary when using the gfortran compiler\n          # installed in cibw_before_build_macos.sh\n          sudo xcode-select -s /Applications/Xcode_${XCODE_VER}.app\n          CIBW=\"MACOSX_DEPLOYMENT_TARGET=${{ matrix.buildplat[4] }}\\\n            SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\\\n            PKG_CONFIG_PATH=${{ github.workspace }}\"\n          echo \"CIBW_ENVIRONMENT_MACOS=$CIBW\" >> \"$GITHUB_ENV\"\n\n          echo \"REPAIR_PATH=$LIB_PATH\" >> \"$GITHUB_ENV\"\n\n          PREFIX=DYLD_LIBRARY_PATH=\"\\$(dirname \\$(gfortran --print-file-name libgfortran.dylib))\"\n          # remove libgfortran from location used for linking (if any), to\n          # check wheel has bundled things correctly and all tests pass without\n          # needing installed gfortran\n          POSTFIX=\" sudo rm -rf /opt/gfortran-darwin-x86_64-native &&\\\n                    sudo rm -rf /usr/local/gfortran/lib\"\n          CIBW=\"$PREFIX delocate-listdeps -d {wheel} && echo \"-----------\" &&\\\n            $PREFIX delocate-wheel -v $EXCLUDE --require-archs \\\n            {delocate_archs} -w {dest_dir} {wheel} && echo \"-----------\" &&\\\n            delocate-listdeps -d {dest_dir}/*.whl && echo \"-----------\" &&\\\n            $POSTFIX\"\n\n          # Rename x86 Accelerate wheel to test on macOS 13 runner\n          if [[ ${{ matrix.buildplat[0] }} == 'macos-13' && ${{ matrix.buildplat[4] }} == '14.0' ]]; then\n            CIBW+=\" && mv {dest_dir}/\\$(basename {wheel}) \\\n              {dest_dir}/\\$(echo \\$(basename {wheel}) | sed 's/14_0/13_0/')\"\n          fi\n          echo \"CIBW_REPAIR_WHEEL_COMMAND_MACOS=$CIBW\" >> \"$GITHUB_ENV\"\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@a8d190a111314a07eb5116036c4b3fb26a4e3162  # v2.19.0\n        env:\n          CIBW_PRERELEASE_PYTHONS: True\n          CIBW_FREE_THREADED_SUPPORT: True\n          CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}*\n          CIBW_ARCHS: ${{ matrix.buildplat[2] }}\n          # TODO: remove along with installing build deps in\n          # cibw_before_build.sh when a released cython can build numpy\n          CIBW_BUILD_FRONTEND: \"pip; args: --no-build-isolation\"\n\n      - name: Rename after test (macOS x86 Accelerate only)\n        # Rename x86 Accelerate wheel back so it targets macOS >= 14\n        if: matrix.buildplat[0] == 'macos-13' && matrix.buildplat[4] == '14.0'\n        run: |\n          mv ./wheelhouse/*.whl $(find ./wheelhouse -type f -name '*.whl' | sed 's/13_0/14_0/')\n\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./wheelhouse/*.whl\n          name: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}\n            ${{ matrix.buildplat[2] }} ${{ matrix.buildplat[3] }}\n            ${{ matrix.buildplat[4] }}\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          # for installation of anaconda-client, required for upload to\n          # anaconda.org\n          # default (and activated) environment name is test\n          # Note that this step is *after* specific pythons have been used to\n          # build and test the wheel\n          auto-update-conda: true\n          python-version: \"3.10\"\n          miniconda-version: \"latest\"\n\n      - name: Upload wheels\n        if: success()\n        shell: bash -el {0}\n        # see https://github.com/marketplace/actions/setup-miniconda for why\n        # `-el {0}` is required.\n        env:\n          SCIPY_STAGING_UPLOAD_TOKEN: ${{ secrets.SCIPY_STAGING_UPLOAD_TOKEN }}\n          SCIPY_NIGHTLY_UPLOAD_TOKEN: ${{ secrets.SCIPY_NIGHTLY_UPLOAD_TOKEN }}\n        run: |\n          conda install -y anaconda-client\n          source tools/wheels/upload_wheels.sh\n          set_upload_vars\n          # For cron jobs (restricted to main branch) or \"Run workflow\" trigger\n          # an upload to:\n          #\n          # https://anaconda.org/scientific-python-nightly-wheels/scipy\n          #\n          # Pushes to a maintenance branch that contain '[wheel build]' will\n          # cause wheels to be built and uploaded to:\n          #\n          # https://anaconda.org/multibuild-wheels-staging/scipy\n          #\n          # The tokens were originally generated at anaconda.org\n          upload_wheels\n", "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:41.645209", "created_at": "2024-06-12T11:11:18+02:00", "updated_at": "2024-06-12T11:11:18+02:00", "name": "Windows tests (MSVC + ifx + OpenBLAS)", "path": ".github/workflows/windows1.yml", "contents": null, "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:42.695862", "created_at": "2024-06-24T16:42:49+02:00", "updated_at": "2024-07-03T16:52:01+02:00", "name": "Windows tests (MSVC + ifx + OpenBLAS)", "path": ".github/workflows/windows_intel_oneAPI.yml", "contents": null, "state": "active", "repository": "scipy/scipy"}
{"mined_at": "2024-07-15T15:46:44.790839", "created_at": "2020-10-01T18:48:53+02:00", "updated_at": "2024-05-27T15:28:41+02:00", "name": "Code scanning with CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: Code scanning with CodeQL\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 3 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4.1.6\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file. \n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "zulko/moviepy"}
{"mined_at": "2024-07-15T15:46:45.840234", "created_at": "2024-05-27T19:41:51+02:00", "updated_at": "2024-05-27T19:51:49+02:00", "name": "Code formatting and linting", "path": ".github/workflows/formatting_linting.yml", "contents": "# SPDX-FileCopyrightText: 2024 K Kollmann\n# SPDX-License-Identifier: MIT\n\nname: Code formatting and linting\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n      - main\n  workflow_dispatch:\n\nenv:\n  PYTHON_VERSION: \"3.9\"\n\njobs:\n  black:\n    name: Black code formatter\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4.1.6\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Run Black\n        uses: psf/black@24.4.2\n        with:\n          options: \"--version --check --diff --color\" # default: \"--check --diff\"\n\n  flake8:\n    name: Flake8 linter\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4.1.6\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Set up Python environment – ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade wheel pip\n          pip install .[lint]\n      - name: Show Flake8 version\n        run: flake8 --version\n      - name: Run Flake8\n        run: flake8 -v --show-source moviepy setup.py scripts docs/conf.py examples tests\n\n  isort:\n    name: isort import sorter\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4.1.6\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Set up Python environment – ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade wheel pip\n          pip install .[lint]\n      - name: Run isort\n        run: isort --check-only --diff moviepy setup.py scripts docs/conf.py examples tests\n", "state": "active", "repository": "zulko/moviepy"}
{"mined_at": "2024-07-15T15:46:46.890109", "created_at": "2020-08-06T01:17:46+02:00", "updated_at": "2020-08-06T01:17:46+02:00", "name": "Run Test Suite", "path": ".github/workflows/test_suite.yml", "contents": "# This workflow installs Python dependencies, runs tests and lints\n# using a variety of Python versions.\n# For more information see:\n# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Run Test Suite\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  # Uses Python Framework build because on macOS, Matplotlib requires it\n  macos:\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n    - uses: actions/checkout@v4.1.6\n    - uses: s-weigand/setup-conda@v1.2.2\n      with:\n        activate-conda: true\n\n    - name: Install pythonw\n      run: conda install python.app\n\n    - name: Python Version Info\n      run: |\n        pythonw --version\n        which python\n        pythonw -m site --user-site\n        echo $PYTHONPATH\n        echo $PYTHONHOME\n\n    - name: Install dependencies\n      run: |\n        brew install imagemagick\n        # needed for installing matplotlib\n        brew install pkg-config\n        python -m pip install --upgrade wheel setuptools coveralls\n        python -m pip install \".[test, optional]\"\n\n    - name: Test with pytest\n      run: |\n        pythonw -m pytest --doctest-glob \"moviepy/**/**.py\" -v --cov moviepy --cov-report term-missing\n\n    - name: Coveralls\n      run: coveralls\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NAME: github\n\n\n  windows:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Get ImageMagick installer from cache\n        id: imagemagick-installer-cache\n        uses: actions/cache@v4.0.2\n        with:\n          path: |\n            ImageMagick.exe\n          key: ${{ runner.os }}-latest\n\n      - name: Download ImageMagick installer\n        shell: cmd\n        if: steps.imagemagick-installer-cache.outputs.cache-hit != 'true'\n        run: |\n          python3 scripts/get-latest-imagemagick-win.py >im-url.txt\n          set /p IMAGEMAGICK_URL= <im-url.txt\n          rm im-url.txt\n          echo %IMAGEMAGICK_URL%\n          curl %IMAGEMAGICK_URL% -o ImageMagick.exe\n\n      - name: Install ImageMagick\n        id: imagemagick-install\n        shell: cmd\n        run: |\n          set IMAGEMAGICK_INSTALL_DIR=%CD%\\imagemagick\n          mkdir %IMAGEMAGICK_INSTALL_DIR%\n          echo %IMAGEMAGICK_INSTALL_DIR%\n\n          ImageMagick.exe /SILENT /SP /DIR=%IMAGEMAGICK_INSTALL_DIR%\n          dir imagemagick\n\n          move imagemagick\\ffmpeg.exe ffmpeg.exe\n          move imagemagick\\magick.exe convert.exe\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade wheel setuptools coveralls\n          python -m pip install \".[test]\"\n\n      - name: Check third party dependencies\n        run: |\n          python moviepy\\config.py\n\n      - name: PyTest\n        shell: cmd\n        run: |\n          python -m pytest --cov moviepy --cov-report term-missing\n\n      - name: Coveralls\n        run: coveralls\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_SERVICE_NAME: github\n\n  linux:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4.1.6\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Python Version Info\n        run: |\n          python --version\n          which python\n          python -m site --user-site\n\n      - name: Install common requirements\n        run: |\n          python -m pip install --upgrade wheel setuptools\n\n      - name: Install test requirements\n        if: ${{ matrix.python-version == '3.7' }}\n        run: |\n          python -m pip install \".[test, doc]\"\n          python -m pip install python-dotenv\n\n      - name: Install test and optional requirements\n        if: ${{ matrix.python-version != '3.7' }}\n        run: |\n          python -m pip install \".[test, optional, doc]\"\n\n      - name: Configure ImageMagick policy\n        run: |\n          cat /etc/ImageMagick-6/policy.xml \\\n          | sed 's/none/read,write/g' \\\n          | sudo tee /etc/ImageMagick-6/policy.xml\n\n      - name: PyTest\n        run: |\n          python -m pytest --doctest-glob \"moviepy/**/**.py\" --cov moviepy --cov-report term-missing\n\n      - name: Test pip installation\n        run: |\n          pip install -e .\n          pip install -e .[optional]\n          pip install -e .[test]\n          pip install -e .[doc]\n\n      - name: Coveralls\n        run: coveralls\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_SERVICE_NAME: github\n", "state": "active", "repository": "zulko/moviepy"}
{"mined_at": "2024-07-15T15:46:48.986457", "created_at": "2020-01-10T08:21:40+01:00", "updated_at": "2020-01-11T04:52:53+01:00", "name": "Code quality", "path": "", "contents": null, "state": "active", "repository": "pypa/pip"}
{"mined_at": "2024-07-15T15:46:50.161059", "created_at": "2020-11-02T16:10:45+01:00", "updated_at": "2021-04-24T11:05:04+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [main]\n    tags:\n      # Tags for all potential release numbers till 2030.\n      - \"2[0-9].[0-3]\" # 20.0 -> 29.3\n      - \"2[0-9].[0-3].[0-9]+\" # 20.0.0 -> 29.3.[0-9]+\n  pull_request:\n  schedule:\n    - cron: 0 0 * * MON # Run every Monday at 00:00 UTC\n\nenv:\n  # The \"FORCE_COLOR\" variable, when set to 1,\n  # tells Nox to colorize itself.\n  FORCE_COLOR: \"1\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  docs:\n    name: docs\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - run: pip install nox\n      - run: nox -s docs\n\n  determine-changes:\n    runs-on: ubuntu-latest\n    outputs:\n      tests: ${{ steps.filter.outputs.tests }}\n      vendoring: ${{ steps.filter.outputs.vendoring }}\n    steps:\n      # For pull requests it's not necessary to checkout the code\n      - uses: dorny/paths-filter@v2\n        id: filter\n        with:\n          filters: |\n            vendoring:\n              # Anything that's touching \"vendored code\"\n              - \"src/pip/_vendor/**\"\n              - \"pyproject.toml\"\n              - \"noxfile.py\"\n            tests:\n              # Anything that's touching code-related stuff\n              - \".github/workflows/ci.yml\"\n              - \"src/**\"\n              - \"tests/**\"\n              - \"noxfile.py\"\n        if: github.event_name == 'pull_request'\n\n  packaging:\n    name: packaging\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Set up git credentials\n        run: |\n          git config --global user.email \"pypa-dev@googlegroups.com\"\n          git config --global user.name \"pip\"\n\n      - run: pip install nox\n      - run: nox -s prepare-release -- 99.9\n      - run: nox -s build-release -- 99.9\n      - run: pipx run check-manifest\n\n  vendoring:\n    name: vendoring\n    runs-on: ubuntu-latest\n\n    needs: [determine-changes]\n    if: >-\n      needs.determine-changes.outputs.vendoring == 'true' ||\n      github.event_name != 'pull_request'\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - run: pip install nox\n      - run: nox -s vendoring\n      - run: git diff --exit-code\n\n  tests-unix:\n    name: tests / ${{ matrix.python.key || matrix.python }} / ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n\n    needs: [packaging, determine-changes]\n    if: >-\n      needs.determine-changes.outputs.tests == 'true' ||\n      github.event_name != 'pull_request'\n\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [ubuntu-latest, macos-12]\n        python:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          - \"3.13\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n\n      - name: Install Ubuntu dependencies\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo apt-get update\n          sudo apt-get install bzr\n\n      - name: Install MacOS dependencies\n        if: matrix.os == 'macos-12'\n        run: brew install breezy\n\n      - run: pip install nox\n\n      # Main check\n      - name: Run unit tests\n        run: >-\n          nox -s test-${{ matrix.python.key || matrix.python }} --\n          -m unit\n          --verbose --numprocesses auto --showlocals\n      - name: Run integration tests\n        run: >-\n          nox -s test-${{ matrix.python.key || matrix.python }} --\n          -m integration\n          --verbose --numprocesses auto --showlocals\n          --durations=5\n\n  tests-windows:\n    name: tests / ${{ matrix.python }} / ${{ matrix.os }} / ${{ matrix.group }}\n    runs-on: ${{ matrix.os }}-latest\n\n    needs: [packaging, determine-changes]\n    if: >-\n      needs.determine-changes.outputs.tests == 'true' ||\n      github.event_name != 'pull_request'\n\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [Windows]\n        python:\n          - \"3.8\"\n          # Commented out, since Windows tests are expensively slow,\n          # only test the oldest and newest Python supported by pip\n          # - \"3.9\"\n          # - \"3.10\"\n          # - \"3.11\"\n          - \"3.12\"  # Comment out when 3.13 is final\n          - \"3.13\"\n        group: [1, 2]\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n\n      # We use C:\\Temp (which is already available on the worker)\n      # as a temporary directory for all of the tests because the\n      # default value (under the user dir) is more deeply nested\n      # and causes tests to fail with \"path too long\" errors.\n      - run: pip install nox\n        env:\n          TEMP: \"C:\\\\Temp\"\n\n      # Main check\n      - name: Run unit tests\n        if: matrix.group == 1\n        run: >-\n          nox -s test-${{ matrix.python }} --\n          -m unit\n          --verbose --numprocesses auto --showlocals\n        env:\n          TEMP: \"C:\\\\Temp\"\n\n      - name: Run integration tests (group 1)\n        if: matrix.group == 1\n        run: >-\n          nox -s test-${{ matrix.python }} --\n          -m integration -k \"not test_install\"\n          --verbose --numprocesses auto --showlocals\n        env:\n          TEMP: \"C:\\\\Temp\"\n\n      - name: Run integration tests (group 2)\n        if: matrix.group == 2\n        run: >-\n          nox -s test-${{ matrix.python }} --\n          -m integration -k \"test_install\"\n          --verbose --numprocesses auto --showlocals\n        env:\n          TEMP: \"C:\\\\Temp\"\n\n  tests-zipapp:\n    name: tests / zipapp\n    runs-on: ubuntu-latest\n\n    needs: [packaging, determine-changes]\n    if: >-\n      needs.determine-changes.outputs.tests == 'true' ||\n      github.event_name != 'pull_request'\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install Ubuntu dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install bzr\n\n      - run: pip install nox\n\n      # Main check\n      - name: Run integration tests\n        run: >-\n          nox -s test-3.10 --\n          -m integration\n          --verbose --numprocesses auto --showlocals\n          --durations=5\n          --use-zipapp\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n      - determine-changes\n      - docs\n      - packaging\n      - tests-unix\n      - tests-windows\n      - tests-zipapp\n      - vendoring\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          allowed-skips: >-\n            ${{\n              (\n                needs.determine-changes.outputs.vendoring != 'true'\n                && github.event_name == 'pull_request'\n              )\n              && 'vendoring'\n              || ''\n            }}\n            ,\n            ${{\n              (\n                needs.determine-changes.outputs.tests != 'true'\n                && github.event_name == 'pull_request'\n              )\n              && '\n                tests-unix,\n                tests-windows,\n                tests-zipapp,\n                tests-importlib-metadata,\n              '\n              || ''\n            }}\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "pypa/pip"}
{"mined_at": "2024-07-15T15:46:51.176861", "created_at": "2021-08-15T10:15:29+02:00", "updated_at": "2021-08-15T14:22:59+02:00", "name": "Check", "path": ".github/workflows/news-file.yml", "contents": "name: Check\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, reopened, synchronize]\n\njobs:\n  check-news-entry:\n    name: news entry\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # `towncrier check` runs `git diff --name-only origin/main...`, which\n          # needs a non-shallow clone.\n          fetch-depth: 0\n\n      - name: Check news entry\n        if: \"!contains(github.event.pull_request.labels.*.name, 'skip news')\"\n        run: |\n          if ! pipx run towncrier check --compare-with origin/${{ github.base_ref }}; then\n            echo \"Please see https://pip.pypa.io/dev/news-entry-failure for guidance.\"\n            false\n          fi\n", "state": "active", "repository": "pypa/pip"}
{"mined_at": "2024-07-15T15:46:52.210167", "created_at": "2021-09-24T08:59:29+02:00", "updated_at": "2021-09-24T08:59:29+02:00", "name": "Lock Closed Threads", "path": ".github/workflows/lock-threads.yml", "contents": "name: 'Lock Closed Threads'\n\non:\n  schedule:\n    - cron: '0 7 * * *'  # 7am UTC, daily\n  workflow_dispatch:\n\npermissions:\n  issues: write\n  pull-requests: write\n\nconcurrency:\n  group: lock\n\njobs:\n  action:\n    if: github.repository_owner == 'pypa'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v4\n        with:\n          issue-inactive-days: '30'\n          pr-inactive-days: '15'\n", "state": "active", "repository": "pypa/pip"}
{"mined_at": "2024-07-15T15:46:53.298641", "created_at": "2022-12-31T00:06:00+01:00", "updated_at": "2022-12-31T00:06:00+01:00", "name": "Update documentation redirects", "path": ".github/workflows/update-rtd-redirects.yml", "contents": "name: Update documentation redirects\n\non:\n  push:\n    branches: [main]\n  schedule:\n    - cron: 0 0 * * MON # Run every Monday at 00:00 UTC\n\nenv:\n  FORCE_COLOR: \"1\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  update-rtd-redirects:\n    runs-on: ubuntu-latest\n    environment: RTD Deploys\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - run: pip install httpx pyyaml rich\n      - run: python tools/update-rtd-redirects.py\n        env:\n          RTD_API_TOKEN: ${{ secrets.RTD_API_TOKEN }}\n", "state": "active", "repository": "pypa/pip"}
{"mined_at": "2024-07-15T15:46:55.443709", "created_at": "2020-08-26T13:17:28+02:00", "updated_at": "2021-01-29T18:23:40+01:00", "name": "benchmarks", "path": ".github/workflows/benchmarks.yaml", "contents": "name: benchmarks\non:\n  push:\n    branches:\n      - main\njobs:\n  run:\n    runs-on: [ubuntu-latest]\n    container: ghcr.io/iterative/cml\n    steps:\n      - uses: actions/checkout@v4\n      - name: cml_run\n        env:\n          CML_DRIVER_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # See https://github.com/actions/checkout/issues/760\n          git config --global --add safe.directory /__w/datasets/datasets\n\n          # Your ML workflow goes here\n\n          pip install --upgrade pip\n          pip install setuptools wheel\n          pip install -e .[benchmarks]\n\n          # pyarrow==8.0.0\n          pip install pyarrow==8.0.0\n\n          dvc repro --force\n\n          git fetch --prune\n          dvc metrics diff --json main > report.json\n\n          python ./benchmarks/format.py report.json report.md\n\n          echo \"<details>\\n<summary>Show benchmarks</summary>\\n\\nPyArrow==8.0.0\\n\" > final_report.md\n          cat report.md >> final_report.md\n\n          # pyarrow\n          pip install pyarrow --upgrade\n\n          dvc repro --force\n\n          git fetch --prune\n          dvc metrics diff --json main > report.json\n\n          python ./benchmarks/format.py report.json report.md\n\n          echo \"\\nPyArrow==latest\\n\" >> final_report.md\n          cat report.md >> final_report.md\n          echo \"\\n</details>\" >> final_report.md\n\n          cml comment create final_report.md\n", "state": "active", "repository": "huggingface/datasets"}
{"mined_at": "2024-07-15T15:46:56.490673", "created_at": "2022-03-03T21:04:24+01:00", "updated_at": "2023-05-12T15:39:13+02:00", "name": "Build documentation", "path": ".github/workflows/build_documentation.yml", "contents": "name: Build documentation\n\non:\n  push:\n    branches:\n      - main\n      - doc-builder*\n      - v*-release\n      - v*-patch\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main\n    with:\n      commit_sha: ${{ github.sha }}\n      package: datasets\n      notebook_folder: datasets_doc\n    secrets:\n      token: ${{ secrets.HUGGINGFACE_PUSH }}\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n", "state": "active", "repository": "huggingface/datasets"}
{"mined_at": "2024-07-15T15:46:57.534285", "created_at": "2022-03-14T19:53:09+01:00", "updated_at": "2023-05-11T19:30:01+02:00", "name": "Build PR Documentation", "path": ".github/workflows/build_pr_documentation.yml", "contents": "name: Build PR Documentation\n\non:\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main\n    with:\n      commit_sha: ${{ github.event.pull_request.head.sha }}\n      pr_number: ${{ github.event.number }}\n      package: datasets\n", "state": "active", "repository": "huggingface/datasets"}
{"mined_at": "2024-07-15T15:46:58.658968", "created_at": "2022-07-07T18:14:01+02:00", "updated_at": "2023-03-10T19:18:49+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n      - ci-*\n\nenv:\n  HF_ALLOW_CODE_EVAL: 1\n\njobs:\n\n  check_code_quality:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[quality]\n      - name: Check quality\n        run: |\n          ruff check tests src benchmarks metrics utils setup.py # linter\n          ruff format --check tests src benchmarks metrics utils setup.py # formatter\n\n  test:\n    needs: check_code_quality\n    strategy:\n      matrix:\n        test: ['unit', 'integration']\n        os: [ubuntu-latest, windows-latest]\n        deps_versions: [deps-latest, deps-minimum]\n    continue-on-error: ${{ matrix.test == 'integration' }}\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - name: Pin setuptools-scm\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: echo \"installing pinned version of setuptools-scm to fix seqeval installation on 3.7\" && pip install \"setuptools-scm==6.4.2\"\n      - name: Install uv\n        run: pip install --upgrade uv\n      - name: Install dependencies\n        run: uv pip install --system \"datasets[tests,metrics-tests] @ .\"\n      - name: Install dependencies (latest versions)\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: uv pip install --system -r additional-tests-requirements.txt --no-deps\n      - name: Install dependencies (latest versions)\n        if: ${{ matrix.deps_versions == 'deps-latest' }}\n        run: uv pip install --system --upgrade pyarrow huggingface-hub dill\n      - name: Install dependencies (minimum versions)\n        if: ${{ matrix.deps_versions != 'deps-latest' }}\n        run: uv pip install --system pyarrow==15.0.0 huggingface-hub==0.21.2 transformers dill==0.3.1.1\n      - name: Test with pytest\n        run: |\n          python -m pytest -rfExX -m ${{ matrix.test }} -n 2 --dist loadfile -sv ./tests/\n\n  test_py310:\n    needs: check_code_quality\n    strategy:\n      matrix:\n        test: ['unit']\n        os: [ubuntu-latest, windows-latest]\n        deps_versions: [deps-latest]\n    continue-on-error: false\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - name: Install uv\n        run: pip install --upgrade uv\n      - name: Install dependencies\n        run: uv pip install --system \"datasets[tests] @ .\"\n      - name: Test with pytest\n        run: |\n          python -m pytest -rfExX -m ${{ matrix.test }} -n 2 --dist loadfile -sv ./tests/\n", "state": "active", "repository": "huggingface/datasets"}
{"mined_at": "2024-07-15T15:46:59.746593", "created_at": "2021-01-14T13:50:35+01:00", "updated_at": "2022-11-24T11:12:50+01:00", "name": "Release - Conda", "path": ".github/workflows/release-conda.yml", "contents": "name: Release - Conda\n\non:\n  push:\n    tags:\n      - \"[0-9]+.[0-9]+.[0-9]+*\"\n\nenv:\n  ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}\n\njobs:\n  build_and_package:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Install miniconda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          auto-activate-base: false\n          activate-environment: \"build-datasets\"\n          python-version: 3.8\n          channels: huggingface,conda-forge\n\n      - name: Setup conda env\n        run: |\n          conda install -c defaults anaconda-client conda-build\n\n      - name: Extract version\n        run: echo \"DATASETS_VERSION=`python setup.py --version`\" >> $GITHUB_ENV\n\n      - name: Build conda packages\n        run: |\n          conda info\n          conda build .github/conda\n\n      - name: Upload to Anaconda\n        run: |\n          anaconda upload `conda build .github/conda --output -c conda-forge` --force\n", "state": "active", "repository": "huggingface/datasets"}
{"mined_at": "2024-07-15T15:47:00.830383", "created_at": "2021-04-30T20:28:17+02:00", "updated_at": "2021-04-30T20:28:17+02:00", "name": "Self-assign", "path": ".github/workflows/self-assign.yaml", "contents": "name: Self-assign\non:\n  issue_comment:\n    types: created\njobs:\n  one:\n    runs-on: ubuntu-latest\n    if: >-\n      (github.event.comment.body == '#take' ||\n       github.event.comment.body == '#self-assign')\n      && !github.event.issue.assignee\n    steps:\n      - run: |\n          echo \"Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}\"\n          curl -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" -d '{\"assignees\": [\"${{ github.event.comment.user.login }}\"]}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/assignees\n          curl -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" -X \"DELETE\" https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels/help%20wanted\n", "state": "active", "repository": "huggingface/datasets"}
{"mined_at": "2024-07-15T15:47:01.899253", "created_at": "2024-06-07T18:18:11+02:00", "updated_at": "2024-06-08T16:52:20+02:00", "name": "Secret Leaks", "path": ".github/workflows/trufflehog.yml", "contents": "on:\n  push:\n\nname: Secret Leaks\n\npermissions:\n  contents: read\n\njobs:\n  trufflehog:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Secret Scanning\n      uses: trufflesecurity/trufflehog@main\n", "state": "active", "repository": "huggingface/datasets"}
{"mined_at": "2024-07-15T15:47:03.015712", "created_at": "2023-06-09T11:53:19+02:00", "updated_at": "2023-12-01T15:58:07+01:00", "name": "Upload PR Documentation", "path": ".github/workflows/upload_pr_documentation.yml", "contents": "name: Upload PR Documentation\n\non:\n  workflow_run:\n    workflows: [\"Build PR Documentation\"]\n    types:\n      - completed\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main\n    with:\n      package_name: datasets\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n      comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}", "state": "active", "repository": "huggingface/datasets"}
{"mined_at": "2024-07-15T15:47:05.092161", "created_at": "2022-03-06T01:40:25+01:00", "updated_at": "2022-03-06T01:40:25+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  push:\n  pull_request:\n    types: [ opened, reopened, synchronize ]\n\njobs:\n  dists-and-docs:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ '3.8', '3.x' ]\n        language: [ 'en', 'ja' ]\n\n    name: dists & docs (${{ matrix.python-version }}/${{ matrix.language }})\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up CPython ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -U -r requirements.txt\n\n      - name: Build distributions\n        run: |\n          python ./setup.py sdist bdist_wheel\n\n      # - name: Upload artifacts\n      #   uses: actions/upload-artifact@v2\n      #   with:\n      #     name: distributions\n      #     path: dist/*\n\n      - name: Install package\n        run: |\n          pip install -e .[docs,speed,voice]\n\n      - name: Build docs\n        shell: bash\n        run: |\n          cd docs\n          sphinx-build -b html -D language=${DOCS_LANGUAGE} -j auto -a -n -T -W --keep-going . _build/html\n        env:\n          DOCS_LANGUAGE: ${{ matrix.language }}\n\n      # - name: Upload docs\n      #   uses: actions/upload-artifact@v2\n      #   if: always()\n      #   with:\n      #     name: docs-${{ matrix.language }}\n      #     path: docs/_build/html/*\n", "state": "active", "repository": "rapptz/discord.py"}
{"mined_at": "2024-07-15T15:47:06.204507", "created_at": "2022-03-16T02:28:31+01:00", "updated_at": "2022-03-16T02:28:31+01:00", "name": "crowdin download", "path": ".github/workflows/crowdin_download.yml", "contents": "name: crowdin download\n\non:\n  schedule:\n    - cron: '0 18 * * 1'\n  workflow_dispatch:\n\njobs:\n  check-environment:\n    runs-on: ubuntu-latest\n    environment: Crowdin\n    outputs:\n      available: ${{ steps.check.outputs.available }}\n    steps:\n      - id: check\n        if: env.CROWDIN_API_KEY != null\n        run: |\n          echo \"available=true\" >> $GITHUB_OUTPUT\n        env:\n          CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}\n\n  download:\n    runs-on: ubuntu-latest\n    needs: [ check-environment ]\n    # secrets cannot be accessed inside an `if` so this needs to be checked in separate job\n    if: needs.check-environment.outputs.available == 'true'\n    environment: Crowdin\n    name: download\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n          ref: master\n\n      - name: Install system dependencies\n        run: |\n          wget -qO - https://artifacts.crowdin.com/repo/GPG-KEY-crowdin | sudo apt-key add -\n          echo \"deb https://artifacts.crowdin.com/repo/deb/ /\" | sudo tee -a /etc/apt/sources.list.d/crowdin.list\n          sudo apt-get update -qq\n          sudo apt-get install -y crowdin3\n\n      - name: Download translations\n        shell: bash\n        run: |\n          cd docs\n          crowdin download --all\n        env:\n          CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}\n\n      - name: Create pull request\n        id: cpr_crowdin\n        uses: peter-evans/create-pull-request@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          commit-message: Crowdin translations download\n          title: \"[Crowdin] Updated translation files\"\n          body: |\n            Created by the [Crowdin download workflow](.github/workflows/crowdin_download.yml).\n          branch: \"auto/crowdin\"\n          author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n\n      - name: Close and reopen the PR with different token to trigger CI\n        uses: actions/github-script@v3\n        env:\n          PR_NUMBER: ${{ steps.cpr_crowdin.outputs.pull-request-number }}\n          PR_OPERATION: ${{ steps.cpr_crowdin.outputs.pull-request-operation }}\n        with:\n          github-token: ${{ secrets.GH_REPO_SCOPED_TOKEN }}\n          script: |\n            const script = require(\n              `${process.env.GITHUB_WORKSPACE}/.github/workflows/scripts/close_and_reopen_pr.js`\n            );\n            console.log(script({github, context}));\n", "state": "active", "repository": "rapptz/discord.py"}
{"mined_at": "2024-07-15T15:47:07.237777", "created_at": "2022-03-16T02:28:31+01:00", "updated_at": "2022-03-16T02:28:31+01:00", "name": "crowdin upload", "path": ".github/workflows/crowdin_upload.yml", "contents": "name: crowdin upload\n\non:\n  workflow_dispatch:\n\njobs:\n  upload:\n    runs-on: ubuntu-latest\n    environment: Crowdin\n    name: upload\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up CPython 3.x\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n\n      - name: Install system dependencies\n        run: |\n          wget -qO - https://artifacts.crowdin.com/repo/GPG-KEY-crowdin | sudo apt-key add -\n          echo \"deb https://artifacts.crowdin.com/repo/deb/ /\" | sudo tee -a /etc/apt/sources.list.d/crowdin.list\n          sudo apt-get update -qq\n          sudo apt-get install -y crowdin3\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -e .[docs,speed,voice]\n\n      - name: Build gettext\n        run: |\n          cd docs\n          make gettext\n\n      - name: Upload sources\n        shell: bash\n        run: |\n          cd docs\n          crowdin upload\n        env:\n          CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}\n", "state": "active", "repository": "rapptz/discord.py"}
{"mined_at": "2024-07-15T15:47:08.289511", "created_at": "2022-03-06T01:40:25+01:00", "updated_at": "2022-03-06T01:40:25+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non:\n  push:\n  pull_request:\n    types: [ opened, reopened, synchronize ]\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ '3.8', '3.x' ]\n\n    name: check ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up CPython ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        id: install-deps\n        run: |\n          python -m pip install --upgrade pip setuptools wheel black==22.6 requests\n          pip install -U -r requirements.txt\n\n      - name: Setup node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: '16'\n\n      - name: Run Pyright\n        uses: jakebailey/pyright-action@v1\n        with:\n          version: '1.1.351'\n          warnings: false\n          no-comments: ${{ matrix.python-version != '3.x' }}\n\n      - name: Run black\n        if: ${{ always() && steps.install-deps.outcome == 'success' }}\n        run: |\n          black --check discord examples\n", "state": "active", "repository": "rapptz/discord.py"}
{"mined_at": "2024-07-15T15:47:09.480887", "created_at": "2022-03-06T01:40:25+01:00", "updated_at": "2022-03-06T01:40:25+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n  pull_request:\n    types: [ opened, reopened, synchronize ]\n\njobs:\n  pytest:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ '3.8', '3.x' ]\n\n    name: pytest ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up CPython ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -e .[test]\n\n      - name: Run tests\n        shell: bash\n        run: |\n          PYTHONPATH=\"$(pwd)\" pytest -vs --cov=discord --cov-report term-missing:skip-covered\n", "state": "active", "repository": "rapptz/discord.py"}
{"mined_at": "2024-07-15T15:47:11.559902", "created_at": "2020-11-13T20:38:54+01:00", "updated_at": "2023-11-10T16:34:58+01:00", "name": "Lock inactive closed issues", "path": ".github/workflows/lock.yaml", "contents": "name: Lock inactive closed issues\n# Lock closed issues that have not received any further activity for two weeks.\n# This does not close open issues, only humans may do that. It is easier to\n# respond to new issues with fresh examples rather than continuing discussions\n# on old issues.\n\non:\n  schedule:\n    - cron: '0 0 * * *'\npermissions:\n  issues: write\n  pull-requests: write\nconcurrency:\n  group: lock\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1\n        with:\n          issue-inactive-days: 14\n          pr-inactive-days: 14\n          discussion-inactive-days: 14\n", "state": "active", "repository": "pallets/werkzeug"}
{"mined_at": "2024-07-15T15:47:12.609336", "created_at": "2023-01-20T22:44:22+01:00", "updated_at": "2023-01-20T22:44:22+01:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "name: Publish\non:\n  push:\n    tags:\n      - '*'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    outputs:\n      hash: ${{ steps.hash.outputs.hash }}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - run: pip install -r requirements/build.txt\n      # Use the commit date instead of the current date during the build.\n      - run: echo \"SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)\" >> $GITHUB_ENV\n      - run: python -m build\n      # Generate hashes used for provenance.\n      - name: generate hash\n        id: hash\n        run: cd dist && echo \"hash=$(sha256sum * | base64 -w0)\" >> $GITHUB_OUTPUT\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          path: ./dist\n  provenance:\n    needs: [build]\n    permissions:\n      actions: read\n      id-token: write\n      contents: write\n    # Can't pin with hash due to how this workflow works.\n    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0\n    with:\n      base64-subjects: ${{ needs.build.outputs.hash }}\n  create-release:\n    # Upload the sdist, wheels, and provenance to a GitHub release. They remain\n    # available as build artifacts for a while as well.\n    needs: [provenance]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      - name: create release\n        run: >\n          gh release create --draft --repo ${{ github.repository }}\n          ${{ github.ref_name }}\n          *.intoto.jsonl/* artifact/*\n        env:\n          GH_TOKEN: ${{ github.token }}\n  publish-pypi:\n    needs: [provenance]\n    # Wait for approval before attempting to upload to PyPI. This allows reviewing the\n    # files in the draft release.\n    environment:\n      name: publish\n      url: https://pypi.org/project/Werkzeug/${{ github.ref_name }}\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          packages-dir: artifact/\n      - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          packages-dir: artifact/\n", "state": "active", "repository": "pallets/werkzeug"}
{"mined_at": "2024-07-15T15:47:13.638935", "created_at": "2020-05-18T23:49:14+02:00", "updated_at": "2020-05-18T23:49:14+02:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\non:\n  push:\n    branches:\n      - main\n      - '*.x'\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\njobs:\n  tests:\n    name: ${{ matrix.name || matrix.python }}\n    runs-on: ${{ matrix.os || 'ubuntu-latest' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {python: '3.13'}\n          - {python: '3.12'}\n          - {name: Windows, python: '3.12', os: windows-latest}\n          - {name: Mac, python: '3.12', os: macos-latest}\n          - {python: '3.11'}\n          - {python: '3.10'}\n          - {python: '3.9'}\n          - {python: '3.8'}\n          - {name: PyPy, python: 'pypy-3.10', tox: pypy310}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - run: pip install tox\n      - run: tox run -e ${{ matrix.tox || format('py{0}', matrix.python) }}\n  typing:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - name: cache mypy\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: ./.mypy_cache\n          key: mypy|${{ hashFiles('pyproject.toml') }}\n      - run: pip install tox\n      - run: tox run -e typing\n", "state": "active", "repository": "pallets/werkzeug"}
{"mined_at": "2024-07-15T15:47:15.729358", "created_at": "2022-06-23T08:48:52+02:00", "updated_at": "2022-06-24T12:54:00+02:00", "name": "Deploy docs to GitHub pages", "path": ".github/workflows/build-docs.yml", "contents": "name: Deploy docs to GitHub pages\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - master\n\njobs:\n  deploy:\n    if: \"!contains(github.event.commits[0].message, '[skip ci]')\"\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: 'poetry'\n\n      - name: Install dependencies\n        run: |\n          poetry env use \"3.10\"\n          poetry install\n\n      - name: Build and deploy\n        run: |\n          poetry run mkdocs gh-deploy --force\n", "state": "active", "repository": "spotdl/spotify-downloader"}
{"mined_at": "2024-07-15T15:47:16.786286", "created_at": "2022-06-24T12:54:00+02:00", "updated_at": "2023-01-26T21:08:14+01:00", "name": "Publish Docker Image to DockerHub", "path": ".github/workflows/docker-hub-image-publish.yml", "contents": "name: Publish Docker Image to DockerHub\n\non:\n  release:\n    types:\n      - published\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n    inputs:\n      wants_production_build:\n        description: \"Production build instead of nightly?\"\n        required: false\n        default: false\n        type: boolean\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  REGISTRY: docker.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  publish:\n    name: Publish Docker Image to DockerHub\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    steps:\n      - name: Checkout dev branch for nightly build\n        uses: actions/checkout@v3\n        if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && !inputs.wants_production_build) }}\n        with:\n          ref: \"refs/heads/dev\"\n\n      - name: Checkout main branch for production build\n        uses: actions/checkout@v3\n        if: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.wants_production_build) }}\n        with:\n          ref: \"refs/heads/master\"\n\n      - name: Extract metadata (tags, labels) for Docker tags & labels\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n          tags: |\n            type=raw,value=latest,priority=100,enable=${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.wants_production_build) }}\n            type=semver,priority=200,pattern={{raw}},enable=${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.wants_production_build) }}\n            type=raw,value=nightly,priority=300,enable=${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && !inputs.wants_production_build) }}\n\n      - name: Set up QEMU for multi-arch builds\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx for multi-arch builds\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_PASSWORD }}\n\n      - name: Build and push Docker image to DockerHub\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          push: true\n          platforms: linux/amd64, linux/arm64\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "spotdl/spotify-downloader"}
{"mined_at": "2024-07-15T15:47:17.828518", "created_at": "2021-01-08T07:51:45+01:00", "updated_at": "2021-01-08T07:51:45+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: 'poetry'\n\n      - name: Install dependencies\n        run: |\n          poetry env use \"3.10\"\n          poetry install\n\n      - name: Install twine\n        run: pip install twine\n\n      - name: Build\n        run: |\n          poetry build\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  build:\n    strategy:\n      matrix:\n        platform: [ubuntu-latest, macos-latest, windows-latest]\n    runs-on: ${{ matrix.platform }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: 'poetry'\n\n      - name: Install dependencies\n        run: |\n          poetry env use \"3.10\"\n          poetry install\n\n      - name: Build executable\n        run: poetry run python ./scripts/build.py\n\n      - name: Build cross-platform binary\n        run: |\n          chmod u+x ./scripts/make_binzip.sh\n          ./scripts/make_binzip.sh\n\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          files: |\n            dist/*\n            spotDL\n\n  build-arm:\n    runs-on: ubuntu-latest\n    name: Build on ubuntu-latest aarch64\n    steps:\n      - uses: actions/checkout@v3\n      - uses: uraimo/run-on-arch-action@v2\n        name: Run commands\n        id: runcmd\n        with:\n          arch: aarch64\n          distro: ubuntu_latest\n\n          # Mount the artifacts directory as /artifacts in the container\n          dockerRunArgs: |\n            --volume \"${PWD}/:/spotdl\"\n\n          # The shell to run commands with in the container\n          shell: /bin/sh\n\n          run: |\n            cd /spotdl\n            apt update\n            apt install python3 python3-pip -y\n            pip install poetry\n            poetry install\n            rm -rf dist/\n            mkdir dist/\n            poetry run python ./scripts/build.py\n            for file in dist/spotdl*; do cp \"$file\" \"${file}-aarch64\"; done\n\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          files: |\n            dist/spotdl*-aarch64\n", "state": "active", "repository": "spotdl/spotify-downloader"}
{"mined_at": "2024-07-15T15:47:18.875651", "created_at": "2022-06-14T14:01:44+02:00", "updated_at": "2023-04-06T15:11:18+02:00", "name": "Standard code checks (MyPy/Pylint/Black/Isort)", "path": ".github/workflows/standard-checks.yml", "contents": "name: Standard code checks (MyPy/Pylint/Black/Isort)\n\non: [push, pull_request]\n\njobs:\n  checks:\n    if: \"!contains(github.event.commits[0].message, '[skip ci]')\"\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n          cache: 'poetry'\n\n      - name: Install dependencies\n        run: |\n          poetry env use \"3.11\"\n          poetry install\n\n      - name: Check for docstring's\n        run: |\n          poetry run pylint --limit-inference-results 0 --enable missing-function-docstring missing-module-docstring missing-class-docstring empty-docstring --disable=all ./spotdl\n\n      - name: Run Pylint check\n        run: |\n          poetry run pylint --fail-under 10 --limit-inference-results 0 ./spotdl\n\n      - name: Run MyPy check\n        run: |\n          poetry run mypy --ignore-missing-imports --follow-imports silent --install-types --non-interactive ./spotdl\n\n      - name: Run Black check\n        run: |\n          poetry run black --check ./spotdl\n\n      - name: Run isort check\n        run: |\n          poetry run isort --check --diff ./spotdl\n", "state": "active", "repository": "spotdl/spotify-downloader"}
{"mined_at": "2024-07-15T15:47:19.925421", "created_at": "2022-06-14T14:01:44+02:00", "updated_at": "2022-06-24T12:54:00+02:00", "name": "Tests (Pytest)", "path": ".github/workflows/tests.yml", "contents": "name: Tests (Pytest)\n\non: [push, pull_request]\n\njobs:\n  test-vcr:\n    if: \"!contains(github.event.commits[0].message, '[skip ci]')\"\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      max-parallel: 4\n      matrix:\n        platform: [ ubuntu-latest, macos-latest, windows-latest ]\n        python-version: [ \"3.8\", \"3.11\" ]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n\n      - name: Install dependencies\n        run: |\n          poetry env use ${{ matrix.python-version }}\n          pip install -U pip setuptools\n          poetry install\n\n      - uses: FedericoCarboni/setup-ffmpeg@v2\n        id: setup-ffmpeg\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Run tests\n        run: |\n          poetry run pytest -vvv --ignore tests/test_matching.py --ignore tests/utils/test_ffmpeg.py --ignore tests/utils/test_metadata.py --ignore tests/providers/lyrics/test_azlyrics.py --ignore tests/providers/lyrics/test_musixmatch.py \n        env:\n          PLATFORM: ${{ matrix.platform }}\n\n  test:\n    if: \"!contains(github.event.commits[0].message, '[skip ci]')\"\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      max-parallel: 1\n      matrix:\n        platform: [ ubuntu-latest, macos-latest, windows-latest ]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Set up Python \"3.11\"\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n          cache: 'poetry'\n\n      - name: Install dependencies\n        run: |\n          poetry env use \"3.11\"\n          poetry install\n\n      - uses: FedericoCarboni/setup-ffmpeg@v1\n        id: setup-ffmpeg\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Run tests\n        run: |\n          poetry run pytest -vvv --record-mode=none --disable-recording --ignore tests/providers/lyrics --ignore tests/utils/test_github.py --ignore tests/utils/test_ffmpeg.py --ignore tests/utils/test_metadata.py\n        env:\n          PLATFORM: ${{ matrix.platform }}\n", "state": "active", "repository": "spotdl/spotify-downloader"}
{"mined_at": "2024-07-15T15:47:21.053527", "created_at": "2023-01-25T16:11:58+01:00", "updated_at": "2023-01-25T16:11:58+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "spotdl/spotify-downloader"}
{"mined_at": "2024-07-15T15:47:22.065822", "created_at": "2022-06-17T00:11:40+02:00", "updated_at": "2022-06-17T00:11:40+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "spotdl/spotify-downloader"}
{"mined_at": "2024-07-15T15:47:25.166104", "created_at": "2022-02-02T17:05:24+01:00", "updated_at": "2022-02-03T13:24:18+01:00", "name": "Checks", "path": ".github/workflows/checks.yaml", "contents": "name: Checks\n\non:\n  pull_request:\n    types: [assigned, opened, synchronize, reopened, labeled, unlabeled]\n    branches:\n      - master\n      - v[0-9]+.[0-9]+\n\njobs:\n  # Changelog checker will verify if CHANGELOG.rst was updated for every PR\n  # See: https://keepachangelog.com/en/1.0.0/\n  changelog-checker:\n    name: Add CHANGELOG.rst\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: Changelog check\n        # https://github.com/marketplace/actions/changelog-checker\n        uses: Zomzog/changelog-checker@v1.2.0\n        with:\n          fileName: CHANGELOG.rst\n          checkNotification: Simple\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "stackstorm/st2"}
{"mined_at": "2024-07-15T15:47:26.379152", "created_at": "2020-12-10T03:17:56+01:00", "updated_at": "2022-08-21T13:03:12+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      # only on merges to master branch\n      - master\n      # and version branches, which only include minor versions (eg: v3.4)\n      - v[0-9]+.[0-9]+\n    tags:\n      # also version tags, which include bugfix releases (eg: v3.4.0)\n      - v[0-9]+.[0-9]+.[0-9]+\n  pull_request:\n    type: [opened, reopened, edited]\n    branches:\n      # Only for PRs targeting those branches\n      - master\n      - v[0-9]+.[0-9]+\n  schedule:\n    # run every night at midnight\n    - cron:  '0 0 * * *'\n\njobs:\n  # TODO: Fix the required checks!\n  #       When the pre_job triggers and skips builds, it prevents merging the PR because\n  #       the required checks are reported as skipped instead of passed.\n  # Special job which automatically cancels old runs for the same branch, prevents runs for the\n  # same file set which has already passed, etc.\n  pre_job:\n    name: Skip Duplicate Jobs Pre Job\n    runs-on: ubuntu-20.04\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@4c656bbdb6906310fa6213604828008bc28fe55d # v3.3.0\n        with:\n          cancel_others: 'true'\n          github_token: ${{ github.token }}\n\n  # Lint checks which don't depend on any service containes, etc. to be running.\n  lint-checks:\n    needs: pre_job\n    # NOTE: We always want to run job on master since we run some additional checks there (code\n    # coverage, etc)\n    # if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref == 'refs/heads/master' }}\n    name: '${{ matrix.name }} - Python ${{ matrix.python-version-short }}'\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        # NOTE: To speed the CI run, we split unit and integration tests into multiple jobs where\n        # each job runs subset of tests.\n        # NOTE: We need to use full Python version as part of Python deps cache key otherwise\n        # setup virtualenv step will fail.\n        include:\n          - name: 'Lint Checks (black, flake8, etc.)'\n            task: 'ci-checks'\n            python-version-short: '3.8'\n            python-version: '3.8.10'\n          - name: 'Compile (pip deps, pylint, etc.)'\n            task: 'ci-compile'\n            python-version-short: '3.8'\n            python-version: '3.8.10'\n          - name: 'Lint Checks (black, flake8, etc.)'\n            task: 'ci-checks'\n            python-version-short: '3.9'\n            python-version: '3.9.14'\n          - name: 'Compile (pip deps, pylint, etc.)'\n            task: 'ci-compile'\n            python-version-short: '3.9'\n            python-version: '3.9.14'\n\n    env:\n      TASK: '${{ matrix.task }}'\n      COLUMNS: '120'\n      PYLINT_CONCURRENCY: '6'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Custom Environment Setup\n        run: |\n          ./scripts/github/setup-environment.sh\n      - name: 'Set up Python (${{ matrix.python-version }}) and Cache Deps'\n        uses: ./.github/actions/setup-python\n        with:\n          python-version: '${{ matrix.python-version }}'\n      - name: Cache and Install APT Dependencies\n        uses: ./.github/actions/apt-packages\n      - name: Install virtualenv\n        run: |\n          ./scripts/github/install-virtualenv.sh\n      - name: Install requirements\n        run: |\n          ./scripts/ci/install-requirements.sh\n      - name: Print versions\n        run: |\n          ./scripts/ci/print-versions.sh\n      - name: make\n        # use: script -e -c to print colors\n        timeout-minutes: 7\n        run: |\n          script -e -c \"make ${TASK}\"\n      - name: Nightly\n        # Run any additional nightly checks only as part of a nightly (cron) build\n        if: \"${{ env.IS_NIGHTLY_BUILD == 'yes' }}\"\n        run: |\n          ./scripts/ci/run-nightly-make-task-if-exists.sh \"${TASK}\"\n\n  self-check:\n    needs: pre_job\n    name: '${{ matrix.name }} - Python ${{ matrix.python-version-short }}'\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: 'Self-check on Python 3.8'\n            python-version-short: '3.8'\n            python-version: '3.8.14'\n    services:\n      mongo:\n        image: mongo:4.4\n        ports:\n          - 27017:27017\n\n      rabbitmq:\n        image: rabbitmq:3.8-management\n        options: >-\n          --name rabbitmq\n        ports:\n            - 5671:5671/tcp   # AMQP SSL port\n            - 5672:5672/tcp   # AMQP standard port\n            - 15672:15672/tcp # Management: HTTP, CLI\n\n    env:\n      # CI st2.conf (with ST2_CI_USER user instead of stanley)\n      ST2_CONF: 'conf/st2.ci.conf'\n\n      # Name of the user who is running the CI (on GitHub Actions this is 'runner')\n      ST2_CI_USER: 'runner'\n\n      # GitHub is juggling how to set vars for multiple shells. Protect our PATH assumptions.\n      PATH: /home/runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\n\n      # Space separated list of tests to be skipped if the self-check is running in GitHub Actions\n      TESTS_TO_SKIP: \"tests.test_quickstart_rules tests.test_run_pack_tests_tool\"\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Custom Environment Setup\n        run: |\n          ./scripts/github/setup-environment.sh\n      - name: 'Set up Python (${{ matrix.python-version }}) and Cache Deps'\n        uses: ./.github/actions/setup-python\n        with:\n          python-version: '${{ matrix.python-version }}'\n      - name: Cache and Install APT Dependencies\n        uses: ./.github/actions/apt-packages\n      - name: Install virtualenv\n        run: |\n          ./scripts/github/install-virtualenv.sh\n      - name: Install requirements\n        run: |\n          ./scripts/ci/install-requirements.sh\n      - name: Run Redis Service Container\n        timeout-minutes: 2\n        run: |\n          docker run --rm --detach -p 127.0.0.1:6379:6379/tcp --name redis redis:latest\n          until [ \"$(docker inspect -f {{.State.Running}} redis)\" == \"true\" ]; do sleep 0.1; done\n      - name: Setup Tests\n        run: |\n          # prep a ci-specific dev conf file that uses runner instead of stanley\n          # this user is the username of the user in GitHub actions, used for SSH, etc during\n          # integration tests (important)\n          cp conf/st2.dev.conf \"${ST2_CONF}\"\n          sed -i -e \"s,/home/vagrant/.ssh/stanley_rsa,/home/stanley/.ssh/stanley_rsa,\" \"${ST2_CONF}\"\n\n          sudo -E ./scripts/ci/add-itest-user-key.sh\n      - name: Permissions Workaround\n        run: |\n          sudo ST2_CI_REPO_PATH=\"${ST2_CI_REPO_PATH}\" scripts/ci/permissions-workaround.sh\n      - name: Reconfigure RabbitMQ\n        # bitnami image allows (see bitnami/rabbitmq readme):\n        # Here we're copying a rabbitmq.config file which won't do anything.\n        # We need to switch to custom.conf or advanced.config.\n        timeout-minutes: 2  # may die if rabbitmq fails to start\n        run: |\n          ./scripts/github/configure-rabbitmq.sh\n      - name: Print versions\n        run: |\n          ./scripts/ci/print-versions.sh\n      - name: make\n        timeout-minutes: 14  # may die if rabbitmq fails to start\n        # use: script -e -c to print colors\n        run: |\n          script -e -c \"make .ci-prepare-integration\" && exit 0\n      - name: Extend the path for upcoming tasks\n        # pants uses PEP 660 editable wheels to add our code to the virtualenv.\n        # But PEP 660 editable wheels do not include 'scripts'.\n        # https://peps.python.org/pep-0660/#limitations\n        # So, we need to include each bin dir in PATH instead of virtualenv/bin.\n        run: |\n          for component_bin in ${GITHUB_WORKSPACE}/st2*/bin; do\n          echo ${component_bin} | tee -a $GITHUB_PATH\n          done\n          echo ${GITHUB_WORKSPACE}/virtualenv/bin | tee -a $GITHUB_PATH\n      - name: Create symlinks to find the binaries when running st2 actions\n        # st2 is actually a console_script entry point, not just a 'script'\n        # so it IS included in the virtualenv. But, st2-run-pack-tests might not be included.\n        run: |\n          ln -s ${GITHUB_WORKSPACE}/virtualenv/bin/st2 /usr/local/bin/st2\n          ln -s ${GITHUB_WORKSPACE}/st2common/bin/st2-run-pack-tests /usr/local/bin/st2-run-pack-tests\n      - name: Install st2client\n        timeout-minutes: 5\n        run: |\n          cd ./st2client\n          pip3 install --upgrade pip\n          python3 setup.py develop\n      - name: Run self-verification script\n        env:\n          ST2_CONF: /home/runner/work/st2/st2/conf/st2.ci.conf\n        run: |\n          sudo -E ST2_AUTH_TOKEN=$(st2 auth testu -p 'testp' -t) PATH=${PATH} st2common/bin/st2-self-check\n      - name: Compress Service Logs Before upload\n        if: ${{ failure() }}\n        run: |\n          ./tools/launchdev.sh stop # stop st2 before collecting logs\n          tar cvzpf logs.tar.gz logs/*\n      - name: Upload StackStorm services Logs\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: logs-py${{ matrix.python-version }}\n          path: logs.tar.gz\n          retention-days: 7\n      - name: Stop Redis Service Container\n        if: \"${{ always() }}\"\n        run: docker rm --force redis || true\n\n  unit-tests:\n    needs: pre_job\n    # NOTE: We always want to run job on master since we run some additional checks there (code\n    # coverage, etc)\n    # NB: disabled. See TODO above pre_job\n    # if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref == 'refs/heads/master' }}\n    name: '${{ matrix.name }} - Python ${{ matrix.python-version-short }}'\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        # NOTE: To speed the CI run, we split unit and integration tests into multiple jobs where\n        # each job runs subset of tests.\n        include:\n          - name: 'Unit Tests (chunk 1)'\n            task: 'ci-unit'\n            nosetests_node_total: 2\n            nosetests_node_index: 0\n            python-version-short: '3.8'\n            python-version: '3.8.10'\n          - name: 'Unit Tests (chunk 2)'\n            task: 'ci-unit'\n            nosetests_node_total: 2\n            nosetests_node_index: 1\n            python-version-short: '3.8'\n            python-version: '3.8.10'\n          - name: 'Unit Tests (chunk 1)'\n            task: 'ci-unit'\n            nosetests_node_total: 2\n            nosetests_node_index: 0\n            python-version-short: '3.9'\n            python-version: '3.9.14'\n          - name: 'Unit Tests (chunk 2)'\n            task: 'ci-unit'\n            nosetests_node_total: 2\n            nosetests_node_index: 1\n            python-version-short: '3.9'\n            python-version: '3.9.14'\n          # This job is slow so we only run in on a daily basis\n          # - name: 'Micro Benchmarks'\n          #   task: 'micro-benchmarks'\n          #   python-version: '3.6.13'\n          #   nosetests_node_total: 1\n          #  nosetests_node_ index: 0\n    services:\n      mongo:\n        image: mongo:4.4\n        ports:\n          - 27017:27017\n\n      rabbitmq:\n        image: rabbitmq:3.8-management\n        options: >-\n          --name rabbitmq\n        ports:\n          - 5671:5671/tcp   # AMQP SSL port\n          - 5672:5672/tcp   # AMQP standard port\n          - 15672:15672/tcp # Management: HTTP, CLI\n\n    env:\n      TASK: '${{ matrix.task }}'\n      PYTHON_VERSION_SHORT: '${{ matrix.python-version-short }}'\n      NODE_TOTAL: '${{ matrix.nosetests_node_total }}'\n      NODE_INDEX: '${{ matrix.nosetests_node_index }}'\n\n      # We need to explicitly specify terminal width otherwise some CLI tests fail on container\n      # environments where small terminal size is used.\n      COLUMNS: '120'\n\n      # CI st2.conf (with ST2_CI_USER user instead of stanley)\n      ST2_CONF: 'conf/st2.ci.conf'\n\n      # Tell StackStorm that we are indeed in CI mode, previously we hard coded a Travis specific\n      # environment variable in our test code, making it a PITA when we switch CI providers.\n      # Now, we simply set this environment varible here in the CI portion of our testing and\n      # it avoids any CI provider type lock-in.\n      ST2_CI: 'true'\n\n      # Name of the user who is running the CI (on GitHub Actions this is 'runner')\n      ST2_CI_USER: 'runner'\n\n      # GitHub is juggling how to set vars for multiple shells. Protect our PATH assumptions.\n      PATH: /home/runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Custom Environment Setup\n        run: |\n          ./scripts/github/setup-environment.sh\n      - name: 'Set up Python (${{ matrix.python-version }}) and Cache Deps'\n        uses: ./.github/actions/setup-python\n        with:\n          python-version: '${{ matrix.python-version }}'\n      - name: Cache and Install APT Dependencies\n        uses: ./.github/actions/apt-packages\n      - name: Install virtualenv\n        run: |\n          ./scripts/github/install-virtualenv.sh\n      - name: Install requirements\n        run: |\n          ./scripts/ci/install-requirements.sh\n      - name: Setup Tests\n        run: |\n          # prep a ci-specific dev conf file that uses runner instead of stanley\n          # this user is the username of the user in GitHub actions, used for SSH, etc during\n          # integration tests (important)\n          cp conf/st2.dev.conf \"${ST2_CONF}\" ; sed -i -e \"s/stanley/${ST2_CI_USER}/\" \"${ST2_CONF}\"\n\n          sudo -E ./scripts/ci/add-itest-user-key.sh\n      - name: Permissions Workaround\n        run: |\n          echo \"$ST2_CI_REPO_PATH\"\n          sudo ST2_CI_REPO_PATH=\"${ST2_CI_REPO_PATH}\" scripts/ci/permissions-workaround.sh\n      - name: Reconfigure RabbitMQ\n        if: \"${{ env.TASK == 'ci-unit' || env.TASK == 'ci-integration' }}\"\n        # bitnami image allows (see bitnami/rabbitmq readme):\n        # Here we're copying a rabbitmq.config file which won't do anything.\n        # We need to switch to custom.conf or advanced.config.\n        timeout-minutes: 2  # may die if rabbitmq fails to start\n        run: |\n          ./scripts/github/configure-rabbitmq.sh\n      - name: Print versions\n        run: |\n          ./scripts/ci/print-versions.sh\n      - name: make\n        # use: script -e -c to print colors\n        # TODO: Use dynamic timeout value based on the branch - for master we\n        # need to use timeout x2 due to coverage overhead\n        # timeout-minutes: 8\n        timeout-minutes: 19\n        run: |\n          script -e -c \"make ${TASK}\"\n      - name: Nightly\n        # Run any additional nightly checks only as part of a nightly (cron) build\n        if: \"${{ env.IS_NIGHTLY_BUILD == 'yes' }}\"\n        run: |\n          ./scripts/ci/run-nightly-make-task-if-exists.sh \"${TASK}\"\n      - name: Codecov\n        # NOTE: We only generate and submit coverage report for master and version branches and only when the build succeeds (default on GitHub Actions, this was not the case on Travis so we had to explicitly check success)\n        if: \"${{ success() && (env.ENABLE_COVERAGE == 'yes') && (env.PYTHON_VERSION_SHORT == '3.8')}}\"\n        run: |\n          ./scripts/ci/submit-codecov-coverage.sh\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  integration-tests:\n    needs: pre_job\n    # NOTE: We always want to run job on master since we run some additional checks there (code\n    # coverage, etc)\n    # if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref == 'refs/heads/master' }}\n    name: '${{ matrix.name }} - Python ${{ matrix.python-version-short }}'\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        # NOTE: To speed the CI run, we split unit and integration tests into multiple jobs where\n        # each job runs subset of tests.\n        include:\n          # We run pack tests here since they rely on some integration tests set\n          # up (aka stanley user being present, etc.)\n          - name: 'Pack Tests'\n            task: 'ci-packs-tests'\n            nosetests_node_total: 1\n            nosetests_node_index: 0\n            python-version-short: '3.8'\n            python-version: '3.8.10'\n          - name: 'Integration Tests (chunk 1)'\n            task: 'ci-integration'\n            nosetests_node_total: 2\n            nosetests_node_index: 0\n            python-version-short: '3.8'\n            python-version: '3.8.10'\n          - name: 'Integration Tests (chunk 2)'\n            task: 'ci-integration'\n            nosetests_node_total: 2\n            nosetests_node_index: 1\n            python-version-short: '3.8'\n            python-version: '3.8.10'\n          - name: 'Pack Tests'\n            task: 'ci-packs-tests'\n            nosetests_node_total: 1\n            nosetests_node_index: 0\n            python-version-short: '3.9'\n            python-version: '3.9.14'\n          - name: 'Integration Tests (chunk 1)'\n            task: 'ci-integration'\n            nosetests_node_total: 2\n            nosetests_node_index: 0\n            python-version-short: '3.9'\n            python-version: '3.9.14'\n          - name: 'Integration Tests (chunk 2)'\n            task: 'ci-integration'\n            nosetests_node_total: 2\n            nosetests_node_index: 1\n            python-version-short: '3.9'\n            python-version: '3.9.14'\n    services:\n      mongo:\n        image: mongo:4.4\n        ports:\n          - 27017:27017\n\n      # In GHA, these services are started first before the code is checked out.\n      # We use bitnami images to facilitate reconfiguring RabbitMQ during ci-integration tests.\n      # We rely on custom config and SSL certs that are in the repo.\n      # Many images require config in env vars (which we can't change during the test job)\n      # or they require config in entrypoint args (which we can't override for GHA services)\n      # bitnami builds ways to get config files from mounted volumes.\n      rabbitmq:\n        image: bitnami/rabbitmq:3.8\n        volumes:\n          - /home/runner/rabbitmq_conf:/bitnami/conf  # RABBITMQ_MOUNTED_CONF_DIR\n        env:\n          # tell bitnami/rabbitmq to enable this by default\n          RABBITMQ_PLUGINS: rabbitmq_management\n          RABBITMQ_USERNAME: guest\n          RABBITMQ_PASSWORD: guest\n\n        # These are strictly docker options, not entrypoint args (GHA restriction)\n        options: >-\n          --name rabbitmq\n\n        ports:\n          # These 6 ports are exposed by bitnami/rabbitmq (see https://www.rabbitmq.com/networking.html#ports)\n          # host_port:container_port/protocol\n          - 5671:5671/tcp   # AMQP SSL port\n          - 5672:5672/tcp   # AMQP standard port\n          - 15672:15672/tcp # Management: HTTP, CLI\n          #- 15671:15671/tcp # Management: SSL port\n          #- 25672:25672/tcp # inter-node or CLI\n          #- 4369:4369/tcp   # epmd\n          #\n\n      # Used for the coordination backend for integration tests\n      # NOTE: To speed things up, we only start redis for integration tests\n      # where it's needed\n      # redis:\n      #   # Docker Hub image\n      #   image: redis\n      #   # Set health checks to wait until redis has started\n      #   options: >-\n      #     --name \"redis\"\n      #     --health-cmd \"redis-cli ping\"\n      #     --health-interval 10s\n      #     --health-timeout 5s\n      #     --health-retries 5\n      #   ports:\n      #     - 6379:6379/tcp\n\n    env:\n      TASK: '${{ matrix.task }}'\n      PYTHON_VERSION_SHORT: '${{ matrix.python-version-short }}'\n      NODE_TOTAL: '${{ matrix.nosetests_node_total }}'\n      NODE_INDEX: '${{ matrix.nosetests_node_index }}'\n\n      # We need to explicitly specify terminal width otherwise some CLI tests fail on container\n      # environments where small terminal size is used.\n      COLUMNS: '120'\n\n      # CI st2.conf (with ST2_CI_USER user instead of stanley)\n      ST2_CONF: 'conf/st2.ci.conf'\n\n      # Tell StackStorm that we are indeed in CI mode, previously we hard coded a Travis specific\n      # environment variable in our test code, making it a PITA when we switch CI providers.\n      # Now, we simply set this environment varible here in the CI portion of our testing and\n      # it avoids any CI provider type lock-in.\n      ST2_CI: 'true'\n\n      # Name of the user who is running the CI (on GitHub Actions this is 'runner')\n      ST2_CI_USER: 'runner'\n\n      # GitHub is juggling how to set vars for multiple shells. Protect our PATH assumptions.\n      PATH: /home/runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Custom Environment Setup\n        run: |\n          ./scripts/github/setup-environment.sh\n      - name: 'Set up Python (${{ matrix.python-version }}) and Cache Deps'\n        uses: ./.github/actions/setup-python\n        with:\n          python-version: '${{ matrix.python-version }}'\n      - name: Cache and Install APT Dependencies\n        uses: ./.github/actions/apt-packages\n      - name: Install virtualenv\n        run: |\n          ./scripts/github/install-virtualenv.sh\n      - name: Install requirements\n        run: |\n          ./scripts/ci/install-requirements.sh\n      - name: Setup Integration Tests\n        run: |\n          # prep a ci-specific dev conf file that uses runner instead of stanley\n          # this user is the username of the user in GitHub actions, used for SSH, etc during\n          # integration tests (important)\n          cp conf/st2.dev.conf \"${ST2_CONF}\" ; sed -i -e \"s/stanley/${ST2_CI_USER}/\" \"${ST2_CONF}\"\n\n          sudo -E ./scripts/ci/add-itest-user-key.sh\n      - name: Run Redis Service Container\n        timeout-minutes: 2\n        run: |\n          docker run --rm --detach -p 127.0.0.1:6379:6379/tcp --name redis redis:latest\n          until [ \"$(docker inspect -f {{.State.Running}} redis)\" == \"true\" ]; do sleep 0.1; done\n      - name: Permissions Workaround\n        run: |\n          echo \"$ST2_CI_REPO_PATH\"\n          sudo ST2_CI_REPO_PATH=\"${ST2_CI_REPO_PATH}\" scripts/ci/permissions-workaround.sh\n      - name: Reconfigure RabbitMQ\n        # bitnami image allows (see bitnami/rabbitmq readme):\n        # Here we're copying a rabbitmq.config file which won't do anything.\n        # We need to switch to custom.conf or advanced.config.\n        timeout-minutes: 2  # may die if rabbitmq fails to start\n        run: |\n          ./scripts/github/configure-rabbitmq.sh\n      - name: Print versions\n        run: |\n\n          ./scripts/ci/print-versions.sh\n      - name: make\n        #timeout-minutes: 7\n        # TODO: Use dynamic timeout value based on the branch - for master we\n        # need to use timeout x2 due to coverage overhead\n        timeout-minutes: 14  # may die if rabbitmq fails to start\n        # use: script -e -c to print colors\n        run: |\n          script -e -c \"make ${TASK}\" && exit 0\n      - name: Codecov\n        # NOTE: We only generate and submit coverage report for master and version branches and only when the build succeeds (default on GitHub Actions, this was not the case on Travis so we had to explicitly check success)\n        if: \"${{ success() && (env.ENABLE_COVERAGE == 'yes') && (env.TASK == 'ci-integration') && (env.PYTHON_VERSION_SHORT == '3.8')}}\"\n        run: |\n          ./scripts/ci/submit-codecov-coverage.sh\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      - name: Compress Service Logs Before upload\n        if: ${{ failure() && env.TASK == 'ci-integration' }}\n        run: |\n          ./tools/launchdev.sh stop # stop st2 before collecting logs\n          tar cvzpf logs.tar.gz logs/*\n      - name: Upload StackStorm services Logs\n        if: ${{ failure() && env.TASK == 'ci-integration' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: logs-py${{ matrix.python-version }}-nose-${{ matrix.nosetests_node_index }}\n          path: logs.tar.gz\n          retention-days: 7\n      - name: Stop Redis Service Container\n        if: \"${{ always() }}\"\n        run: docker rm --force redis || true\n\n  slack-notification:\n    name: Slack notification for failed master builds\n    if: always()\n    needs:\n      - lint-checks\n      - self-check\n      - unit-tests\n      - integration-tests\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Workflow conclusion\n        # this step creates an environment variable WORKFLOW_CONCLUSION and is the most reliable way to check the status of previous jobs\n        uses: technote-space/workflow-conclusion-action@v2\n      - name: CI Run Failure Slack Notification\n        if: ${{ env.WORKFLOW_CONCLUSION == 'failure' && github.ref == 'refs/heads/master' }}\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n        uses: voxmedia/github-action-slack-notify-build@v1\n        with:\n          channel: development\n          status: FAILED\n          color: danger\n\n      # HELPER FOR FUTURE DEVELOPERS:\n      #  If your GitHub Actions job is failing and you need to debug it, by default there is\n      #  no way to SSH into the container.\n      #  The step below can be uncommeted and will stop here and allow you to SSH in.\n      #  When this step is reached, simply refresh the GitHub Actions output for this build\n      #  and this SSH command will be printed every 5 seconds to the output.\n      #  Once you are done debugging in your SSH session, simply: touch /continue\n      #  and this will continue the build.\n      #\n      # - name: Setup tmate session for debugging failed jobs (allows SSH into the container)\n      #   uses: mxschmitt/action-tmate@v3\n      #   if: \"${{ failure() }}\"\n      #\n", "state": "active", "repository": "stackstorm/st2"}
{"mined_at": "2024-07-15T15:47:27.476553", "created_at": "2022-10-05T05:50:54+02:00", "updated_at": "2022-10-08T07:41:10+02:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": "---\n# This Lint workflow uses pants\nname: Lint\n\non:\n  push:\n    branches:\n      # only on merges to master branch\n      - master\n      # and version branches, which only include minor versions (eg: v3.4)\n      - v[0-9]+.[0-9]+\n    tags:\n      # also version tags, which include bugfix releases (eg: v3.4.0)\n      - v[0-9]+.[0-9]+.[0-9]+\n  pull_request:\n    type: [opened, reopened, edited]\n    branches:\n      # Only for PRs targeting those branches\n      - master\n      - v[0-9]+.[0-9]+\n  #schedule:\n  #  # run every night at midnight\n  #  - cron:  '0 0 * * *'\n\njobs:\n  # Lint checks which don't depend on any service containes, etc. to be running.\n  lint-checks:\n    name: 'Lint Checks (pants runs: shellcheck, bandit, black, flake8, pylint)'\n    runs-on: ubuntu-20.04\n\n    env:\n      COLUMNS: '120'\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          # a test uses a submodule, and pants needs access to it to calculate deps.\n          submodules: 'true'\n\n      - name: Cache and Install APT Dependencies\n        uses: ./.github/actions/apt-packages\n\n      - name: Initialize Pants and its GHA caches\n        uses: ./.github/actions/init-pants\n        with:\n          # To ignore a bad cache, bump the cache* integer.\n          gha-cache-key: cache0\n\n      - name: Lint\n        run: |\n          pants lint ::\n\n      - name: Upload pants log\n        uses: actions/upload-artifact@v4\n        with:\n          name: pants-log-py${{ matrix.python-version }}\n          path: .pants.d/pants.log\n        if: always()  # We want the log even on failures.\n", "state": "active", "repository": "stackstorm/st2"}
{"mined_at": "2024-07-15T15:47:28.652295", "created_at": "2021-04-20T23:56:42+02:00", "updated_at": "2021-04-22T13:05:53+02:00", "name": "Micro Benchmarks", "path": ".github/workflows/microbenchmarks.yaml", "contents": "# Workflow which runs micro benchmarks on nightly basis\n# We run it nightly instead on every PR / merge to master since some of those benchmarks take quite a while.\nname: Micro Benchmarks\n\non:\n  schedule:\n    - cron:  '30 3 * * *'\n\njobs:\n  # Special job which automatically cancels old runs for the same branch, prevents runs for the\n  # same file set which has already passed, etc.\n  pre_job:\n    name: Skip Duplicate Jobs Pre Job\n    runs-on: ubuntu-20.04\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@4c656bbdb6906310fa6213604828008bc28fe55d # v3.3.0\n        with:\n          cancel_others: 'true'\n          github_token: ${{ github.token }}\n\n  micro-benchmarks:\n    needs: pre_job\n    # NOTE: We always want to run job on master since we run some additional checks there (code\n    # coverage, etc)\n    if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref == 'refs/heads/master' }}\n    name: '${{ matrix.name }} - Python ${{ matrix.python-version-short }}'\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        # NOTE: We need to use full Python version as part of Python deps cache key otherwise\n        # setup virtualenv step will fail.\n        include:\n          - name: 'Microbenchmarks'\n            task: 'micro-benchmarks'\n            nosetests_node_total: 1\n            nosetests_node_index: 0\n            python-version-short: '3.8'\n            python-version: '3.8.10'\n          - name: 'Microbenchmarks'\n            task: 'micro-benchmarks'\n            nosetests_node_total: 1\n            nosetests_node_index: 0\n            python-version-short: '3.9'\n            python-version: '3.9.14'\n    services:\n      mongo:\n        image: mongo:4.4\n        ports:\n          - 27017:27017\n\n      rabbitmq:\n        image: rabbitmq:3.8-management\n        options: >-\n          --name rabbitmq\n        ports:\n          - 5671:5671/tcp   # AMQP SSL port\n          - 5672:5672/tcp   # AMQP standard port\n          - 15672:15672/tcp # Management: HTTP, CLI\n\n    env:\n      TASK: '${{ matrix.task }}'\n\n      NODE_TOTAL: '${{ matrix.nosetests_node_total }}'\n      NODE_INDEX: '${{ matrix.nosetests_node_index }}'\n\n      COLUMNS: '120'\n      ST2_CI: 'true'\n\n      # GitHub is juggling how to set vars for multiple shells. Protect our PATH assumptions.\n      PATH: /home/runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: 'Set up Python (${{ matrix.python-version }}) and Cache Deps'\n        uses: ./.github/actions/setup-python\n        with:\n          python-version: '${{ matrix.python-version }}'\n      - name: Cache and Install APT Dependencies\n        uses: ./.github/actions/apt-packages\n      - name: Install virtualenv\n        run: |\n          ./scripts/github/install-virtualenv.sh\n      - name: Install requirements\n        run: |\n          ./scripts/ci/install-requirements.sh\n      - name: Print versions\n        run: |\n          ./scripts/ci/print-versions.sh\n      - name: Run Micro Benchmarks\n        timeout-minutes: 30\n        # use: script -e -c to print colors\n        run: |\n          script -e -c \"make ${TASK}\" && exit 0\n      - name: Upload Histograms\n        uses: actions/upload-artifact@v4\n        with:\n          name: benchmark_histograms-py${{ matrix.python-version }}\n          path: benchmark_histograms/\n          retention-days: 30\n\n  slack-notification:\n    name: Slack notification for failed builds\n    if: always()\n    needs:\n      - micro-benchmarks\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Workflow conclusion\n        # this step creates an environment variable WORKFLOW_CONCLUSION and is the most reliable way to check the status of previous jobs\n        uses: technote-space/workflow-conclusion-action@v2\n      - name: CI Run Failure Slack Notification\n        if: ${{ env.WORKFLOW_CONCLUSION == 'failure' }}\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n        uses: voxmedia/github-action-slack-notify-build@v1\n        with:\n          channel: development\n          status: FAILED\n          color: danger\n", "state": "active", "repository": "stackstorm/st2"}
{"mined_at": "2024-07-15T15:47:29.661107", "created_at": "2021-04-11T16:41:24+02:00", "updated_at": "2021-04-21T23:40:50+02:00", "name": "Orquesta CI", "path": ".github/workflows/orquesta-integration-tests.yaml", "contents": "# We run orquesta integration tests as part of a separate workflow.\n# Orquesta tests have a lot of race conditions which result in intermediate failures and timeouts.\n# Utilizing separate workflow allows us to re-run just this workflow / job on failure instead of\n# wasting time and resources by needing to re-run all the jobs.\nname: Orquesta CI\n\non:\n  push:\n    branches:\n      # only on merges to master branch\n      - master\n      # and version branches, which only include minor versions (eg: v3.4)\n      - v[0-9]+.[0-9]+\n    tags:\n      # also version tags, which include bugfix releases (eg: v3.4.0)\n      - v[0-9]+.[0-9]+.[0-9]+\n  pull_request:\n    type: [opened, reopened, edited]\n    branches:\n      # Only for PRs targeting those branches\n      - master\n      - v[0-9]+.[0-9]+\n  schedule:\n    # run every night at midnight\n    - cron:  '0 0 * * *'\n\njobs:\n  # TODO: Fix the required checks!\n  #       When the pre_job triggers and skips builds, it prevents merging the PR because\n  #       the required checks are reported as skipped instead of passed.\n  # Special job which automatically cancels old runs for the same branch, prevents runs for the\n  # same file set which has already passed, etc.\n  pre_job:\n    name: Skip Duplicate Jobs Pre Job\n    runs-on: ubuntu-20.04\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@4c656bbdb6906310fa6213604828008bc28fe55d # v3.3.0\n        with:\n          cancel_others: 'true'\n          github_token: ${{ github.token }}\n\n  integration-tests:\n    needs: pre_job\n    # NOTE: We always want to run job on master since we run some additional checks there (code\n    # coverage, etc)\n    # if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref == 'refs/heads/master' }}\n    name: '${{ matrix.name }} - Python ${{ matrix.python-version-short }}'\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        # NOTE: We need to use full Python version as part of Python deps cache key otherwise\n        # setup virtualenv step will fail.\n        include:\n          - name: 'Integration Tests (Orquesta)'\n            task: 'ci-orquesta'\n            nosetests_node_total: 1\n            nosetests_node_index: 0\n            python-version-short: '3.8'\n            python-version: '3.8.10'\n          - name: 'Integration Tests (Orquesta)'\n            task: 'ci-orquesta'\n            nosetests_node_total: 1\n            nosetests_node_index: 0\n            python-version-short: '3.9'\n            python-version: '3.9.14'\n    services:\n      mongo:\n        image: mongo:4.4\n        ports:\n          - 27017:27017\n\n      rabbitmq:\n        image: rabbitmq:3.8-management\n        options: >-\n          --name rabbitmq\n        ports:\n          - 5671:5671/tcp   # AMQP SSL port\n          - 5672:5672/tcp   # AMQP standard port\n          - 15672:15672/tcp # Management: HTTP, CLI\n\n      # Used for the coordination backend for integration tests\n      # NOTE: To speed things up, we only start redis for integration tests\n      # where it's needed\n      # redis:\n      #   # Docker Hub image\n      #   image: redis\n      #   # Set health checks to wait until redis has started\n      #   options: >-\n      #     --name \"redis\"\n      #     --health-cmd \"redis-cli ping\"\n      #     --health-interval 10s\n      #     --health-timeout 5s\n      #     --health-retries 5\n      #   ports:\n      #     - 6379:6379/tcp\n\n    env:\n      TASK: '${{ matrix.task }}'\n      NODE_TOTAL: '${{ matrix.nosetests_node_total }}'\n      NODE_INDEX: '${{ matrix.nosetests_node_index }}'\n\n      # We need to explicitly specify terminal width otherwise some CLI tests fail on container\n      # environments where small terminal size is used.\n      COLUMNS: '120'\n\n      # CI st2.conf (with ST2_CI_USER user instead of stanley)\n      ST2_CONF: 'conf/st2.ci.conf'\n\n      # Tell StackStorm that we are indeed in CI mode, previously we hard coded a Travis specific\n      # environment variable in our test code, making it a PITA when we switch CI providers.\n      # Now, we simply set this environment varible here in the CI portion of our testing and\n      # it avoids any CI provider type lock-in.\n      ST2_CI: 'true'\n\n      # Name of the user who is running the CI (on GitHub Actions this is 'runner')\n      ST2_CI_USER: 'runner'\n\n      # GitHub is juggling how to set vars for multiple shells. Protect our PATH assumptions.\n      PATH: /home/runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Custom Environment Setup\n        run: |\n          ./scripts/github/setup-environment.sh\n      - name: 'Set up Python (${{ matrix.python-version }}) and Cache Deps'\n        uses: ./.github/actions/setup-python\n        with:\n          python-version: '${{ matrix.python-version }}'\n      - name: Cache and Install APT Dependencies\n        uses: ./.github/actions/apt-packages\n      - name: Install virtualenv\n        run: |\n          ./scripts/github/install-virtualenv.sh\n      - name: Install requirements\n        run: |\n          ./scripts/ci/install-requirements.sh\n      - name: Setup Integration Tests\n        run: |\n          # prep a ci-specific dev conf file that uses runner instead of stanley\n          # this user is the username of the user in GitHub actions, used for SSH, etc during\n          # integration tests (important)\n          cp conf/st2.dev.conf \"${ST2_CONF}\" ; sed -i -e \"s/stanley/${ST2_CI_USER}/\" \"${ST2_CONF}\"\n\n          sudo -E ./scripts/ci/add-itest-user-key.sh\n      - name: Run Redis Service Container\n        timeout-minutes: 2\n        run: |\n          docker run --rm --detach -p 127.0.0.1:6379:6379/tcp --name redis redis:latest\n          until [ \"$(docker inspect -f {{.State.Running}} redis)\" == \"true\" ]; do sleep 0.1; done\n      - name: Permissions Workaround\n        run: |\n          echo \"$ST2_CI_REPO_PATH\"\n          sudo ST2_CI_REPO_PATH=\"${ST2_CI_REPO_PATH}\" scripts/ci/permissions-workaround.sh\n      - name: Print versions\n        run: |\n          ./scripts/ci/print-versions.sh\n      - name: make\n        timeout-minutes: 41\n        env:\n          MAX_ATTEMPTS: 3\n          RETRY_DELAY: 5\n        # use: script -e -c to print colors\n        run: |\n          # There is a race in some orequesta integration tests so they tend to fail quite often.\n          # To avoid needed to re-run whole workflow in such case, we should try to retry this\n          # specific step. This saves us a bunch of time manually re-running the whole workflow.\n          # TODO: Try to identify problematic tests (iirc mostly orquesta ones) and only retry /\n          # re-run those.\n          set +e\n          for i in $(seq 1 ${MAX_ATTEMPTS}); do\n            echo \"Attempt: ${i}/${MAX_ATTEMPTS}\"\n            script -e -c \"timeout 10m make ${TASK}\" && exit 0\n            exit_code=$?\n            echo \"Command failed / timed out (exit_code=${exit_code}), will retry in ${RETRY_DELAY} seconds...\"\n            sleep ${RETRY_DELAY}\n          done\n          set -e\n          echo \"Failed after ${MAX_ATTEMPTS} attempts, failing the job.\"\n          exit 1\n      - name: Compress Service Logs Before upload\n        if: ${{ failure() }}\n        run: |\n          ./tools/launchdev.sh stop # stop st2 before collecting logs\n          tar cvzpf logs.tar.gz logs/*\n      - name: Upload StackStorm services Logs\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: logs-py${{ matrix.python-version }}\n          path: logs.tar.gz\n          retention-days: 7\n      - name: Stop Redis Service Container\n        if: \"${{ always() }}\"\n        run: docker rm --force redis || true\n\n  slack-notification:\n    name: Slack notification for failed master builds\n    if: always()\n    needs:\n      - integration-tests\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Workflow conclusion\n        # this step creates an environment variable WORKFLOW_CONCLUSION and is the most reliable way to check the status of previous jobs\n        uses: technote-space/workflow-conclusion-action@v2\n      - name: CI Run Failure Slack Notification\n        if: ${{ env.WORKFLOW_CONCLUSION == 'failure' && github.ref == 'refs/heads/master' }}\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n        uses: voxmedia/github-action-slack-notify-build@v1\n        with:\n          channel: development\n          status: FAILED\n          color: danger\n\n      # HELPER FOR FUTURE DEVELOPERS:\n      #  If your GitHub Actions job is failing and you need to debug it, by default there is\n      #  no way to SSH into the container.\n      #  The step below can be uncommeted and will stop here and allow you to SSH in.\n      #  When this step is reached, simply refresh the GitHub Actions output for this build\n      #  and this SSH command will be printed every 5 seconds to the output.\n      #  Once you are done debugging in your SSH session, simply: touch /continue\n      #  and this will continue the build.\n      #\n      # - name: Setup tmate session for debugging failed jobs (allows SSH into the container)\n      #   uses: mxschmitt/action-tmate@v3\n      #   if: \"${{ failure() }}\"\n      #\n", "state": "active", "repository": "stackstorm/st2"}
{"mined_at": "2024-07-15T15:47:30.654226", "created_at": "2022-09-20T14:52:08+02:00", "updated_at": "2022-09-20T14:52:08+02:00", "name": "Validate Pants Metadata", "path": ".github/workflows/pants.yaml", "contents": "---\nname: Validate Pants Metadata\n\non:\n  push:\n    branches:\n      # only on merges to master branch\n      - master\n      # and version branches, which only include minor versions (eg: v3.4)\n      - v[0-9]+.[0-9]+\n    tags:\n      # also version tags, which include bugfix releases (eg: v3.4.0)\n      - v[0-9]+.[0-9]+.[0-9]+\n  pull_request:\n    type: [opened, reopened, edited]\n    branches:\n      # Only for PRs targeting those branches\n      - master\n      - v[0-9]+.[0-9]+\n\njobs:\n  pants-tailor:\n    name: Make sure pants BUILD files are up-to-date\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          # a test uses a submodule, and pants needs access to it to calculate deps.\n          submodules: 'true'\n\n      - name: Initialize Pants and its GHA caches\n        uses: ./.github/actions/init-pants\n        with:\n          # To ignore a bad cache, bump the cache* integer.\n          gha-cache-key: cache0-BUILD\n\n      - name: Check BUILD files\n        run: |\n          pants tailor --check update-build-files --check ::\n\n      - name: Upload pants log\n        uses: actions/upload-artifact@v4\n        with:\n          name: pants-log-py${{ matrix.python-version }}\n          path: .pants.d/pants.log\n        if: always()  # We want the log even on failures.\n", "state": "active", "repository": "stackstorm/st2"}
{"mined_at": "2024-07-15T15:47:31.704233", "created_at": "2022-12-14T22:22:38+01:00", "updated_at": "2023-01-03T20:17:04+01:00", "name": "Test", "path": ".github/workflows/test.yaml", "contents": "---\n# This Test workflow uses pants\nname: Test\n\non:\n  push:\n    branches:\n      # only on merges to master branch\n      - master\n      # and version branches, which only include minor versions (eg: v3.4)\n      - v[0-9]+.[0-9]+\n    tags:\n      # also version tags, which include bugfix releases (eg: v3.4.0)\n      - v[0-9]+.[0-9]+.[0-9]+\n  pull_request:\n    type: [opened, reopened, edited]\n    branches:\n      # Only for PRs targeting those branches\n      - master\n      - v[0-9]+.[0-9]+\n  #schedule:\n  #  # run every night at midnight\n  #  - cron:  '0 0 * * *'\n\njobs:\n  test:\n    name: '${{ matrix.name }} - Python ${{ matrix.python-version-short }}'\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        # NOTE: We need to use full Python version as part of Python deps cache key otherwise\n        # setup virtualenv step will fail.\n        include:\n          - name: 'Test (pants runs: pytest)'\n            python-version-short: '3.8'\n            python-version: '3.8.10'\n          - name: 'Test (pants runs: pytest)'\n            python-version-short: '3.9'\n            python-version: '3.9.14'\n\n    services:\n      mongo:\n        image: mongo:4.4\n        ports:\n          - 27017:27017\n\n      rabbitmq:\n        image: rabbitmq:3.8-management\n        options: >-\n          --name rabbitmq\n        ports:\n          - 5671:5671/tcp   # AMQP SSL port\n          - 5672:5672/tcp   # AMQP standard port\n          - 15672:15672/tcp # Management: HTTP, CLI\n\n      redis:\n         # Docker Hub image\n         image: redis\n         # Set health checks to wait until redis has started\n         options: >-\n           --name \"redis\"\n           --health-cmd \"redis-cli ping\"\n           --health-interval 10s\n           --health-timeout 5s\n           --health-retries 5\n         ports:\n           - 6379:6379/tcp\n\n    env:\n      COLUMNS: '120'\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          # a test uses a submodule, and pants needs access to it to calculate deps.\n          submodules: 'true'\n\n      - name: 'Set up Python (${{ matrix.python-version }})'\n        uses: actions/setup-python@v5\n        with:\n          python-version: '${{ matrix.python-version }}'\n\n\n      - name: Cache and Install APT Dependencies\n        uses: ./.github/actions/apt-packages\n\n      - name: Initialize Pants and its GHA caches\n        uses: ./.github/actions/init-pants\n        with:\n          # To ignore a bad cache, bump the cache* integer.\n          gha-cache-key: cache0-py${{ matrix.python-version }}\n\n      - name: Test\n        # We do not support running pytest everywhere yet. When we do it will be simply:\n        #   pants test ::\n        # Until then, we need to manually adjust this command line to test what we can.\n        run: |\n          pants test pylint_plugins/:: pants-plugins/::\n\n      - name: Upload pants log\n        uses: actions/upload-artifact@v4\n        with:\n          name: pants-log-py${{ matrix.python-version }}\n          path: .pants.d/pants.log\n        if: always()  # We want the log even on failures.\n", "state": "active", "repository": "stackstorm/st2"}
{"mined_at": "2024-07-15T15:47:33.849147", "created_at": "2022-11-25T07:10:29+01:00", "updated_at": "2022-11-28T21:02:20+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n\njobs:\n  analyze:\n    # lgtm.com does not run in forks, for good reason\n    if: github.repository == 'mesonbuild/meson'\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      security-events: write\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        # bypass cache: https://github.com/github/codeql-action/issues/1445\n        tools: latest\n        config-file: .github/codeql/codeql-config.yml\n        languages: python\n        # we have none\n        setup-python-dependencies: false\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "mesonbuild/meson"}
{"mined_at": "2024-07-15T15:47:34.978735", "created_at": "2021-06-03T15:01:45+02:00", "updated_at": "2021-12-03T18:54:42+01:00", "name": "cygwin", "path": ".github/workflows/cygwin.yml", "contents": "name: cygwin\n\nconcurrency:\n  group: cygwin-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - master\n      # Stable branches such as 0.56 or 1.0\n      - '[0-9]+.[0-9]+'\n    paths:\n      - \"mesonbuild/**\"\n      - \"test cases/**\"\n      - \".github/workflows/cygwin.yml\"\n      - \"run*tests.py\"\n  pull_request:\n    paths:\n      - \"mesonbuild/**\"\n      - \"test cases/**\"\n      - \".github/workflows/cygwin.yml\"\n      - \"run*tests.py\"\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: windows-latest\n    name: ${{ matrix.NAME }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - NAME: gccx64ninja\n            ARCH: x86_64\n    env:\n      MESON_CI_JOBNAME: cygwin-${{ matrix.NAME }}\n\n    steps:\n      - uses: actions/cache/restore@v3\n        id: restore-cache\n        with:\n          # should use 'pip3 cache dir' to discover this path\n          path: C:\\cygwin\\home\\runneradmin\\.cache\\pip\n          key: cygwin-pip-${{ github.run_number }}\n          restore-keys: cygwin-pip-\n\n      - run: git config --global core.autocrlf input\n\n      - uses: actions/checkout@v3\n\n      - uses: cygwin/cygwin-install-action@master\n        with:\n          platform: ${{ matrix.ARCH }}\n          packages: |\n            cmake\n            gcc-fortran\n            gcc-objc++\n            gcc-objc\n            git\n            gobject-introspection\n            gtk-doc\n            libboost-devel\n            libglib2.0-devel\n            libgtk3-devel\n            libxml2-devel\n            libxslt-devel\n            ninja\n            python2-devel\n            python3-devel\n            python3-libxml2\n            python3-libxslt\n            python39-pip\n            python39-wheel\n            vala\n            zlib-devel\n\n      - name: Run pip\n        run: |\n          export PATH=/usr/bin:/usr/local/bin:$(cygpath ${SYSTEMROOT})/system32\n          python3 -m pip --disable-pip-version-check install gcovr fastjsonschema pefile pytest pytest-subtests pytest-xdist coverage\n        shell: C:\\cygwin\\bin\\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}'\n\n      - uses: actions/cache/save@v3\n        with:\n          # should use 'pip3 cache dir' to discover this path\n          path: C:\\cygwin\\home\\runneradmin\\.cache\\pip\n          key: cygwin-pip-${{ github.run_number }}\n\n      - name: Run tests\n        run: |\n          export PATH=/usr/bin:/usr/local/bin:$(cygpath ${SYSTEMROOT})/system32\n          python3 ./tools/run_with_cov.py run_tests.py --backend=ninja\n        env:\n          # Cygwin's static boost installation is broken (some static library\n          # variants such as boost_thread are not present)\n          SKIP_STATIC_BOOST: 1\n        shell: C:\\cygwin\\bin\\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}'\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: ${{ matrix.NAME }}\n          path: meson-test-run.*\n        # test log should be saved on failure\n        if: ${{ !cancelled() }}\n\n      - name: Aggregate coverage reports\n        run: |\n          export PATH=/usr/bin:/usr/local/bin:$(cygpath ${SYSTEMROOT})/system32\n          ./ci/combine_cov.sh\n        shell: C:\\cygwin\\bin\\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}'\n\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v3\n        with:\n          files: .coverage/coverage.xml\n          name: \"${{ matrix.NAME }}\"\n          fail_ci_if_error: false\n          verbose: true\n", "state": "active", "repository": "mesonbuild/meson"}
{"mined_at": "2024-07-15T15:47:36.004396", "created_at": "2021-06-11T13:37:40+02:00", "updated_at": "2021-12-03T18:54:42+01:00", "name": "File format check", "path": ".github/workflows/file_format.yml", "contents": "name: File format check\n\non: [push, pull_request]\n\nconcurrency:\n  group: file_fmt-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  format:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - run: python3 ./run_format_tests.py\n", "state": "active", "repository": "mesonbuild/meson"}
{"mined_at": "2024-07-15T15:47:37.247042", "created_at": "2020-03-25T16:45:26+01:00", "updated_at": "2022-07-18T12:23:46+02:00", "name": "CI image builder", "path": ".github/workflows/images.yml", "contents": "name: CI image builder\n\nconcurrency:\n  group: img_builder-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n    paths:\n      - 'ci/ciimage/**'\n      - '.github/workflows/images.yml'\n\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'ci/ciimage/**'\n      - '.github/workflows/images.yml'\n\n  # Rebuild the images every week (Sunday)\n  schedule:\n    - cron: '0 0 * * 0'\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    # do not run the weekly scheduled job in a fork\n    if: github.event_name != 'schedule' || github.repository == 'mesonbuild/meson'\n    env:\n      HAS_DOCKER_CREDENTIALS: ${{ secrets.DOCKER_PASSWORD != '' }}\n    name: ${{ matrix.cfg.name }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        cfg:\n          - { name: Arch Linux,       id: arch     }\n          - { name: CUDA (on Arch),   id: cuda     }\n          - { name: Fedora,           id: fedora   }\n          - { name: Gentoo,           id: gentoo   }\n          - { name: OpenSUSE,         id: opensuse }\n          - { name: Ubuntu Bionic,    id: bionic   }\n          - { name: Ubuntu Rolling,   id: ubuntu-rolling  }\n    steps:\n      - uses: actions/checkout@v3\n\n      # Login to dockerhub\n      - name: Docker login\n        if:   (github.event_name == 'push' || github.event_name == 'schedule') && env.HAS_DOCKER_CREDENTIALS == 'true'\n        uses: azure/docker-login@v1\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      # Build and test\n      - name: Building the ${{ matrix.cfg.id }} image\n        run:  ./ci/ciimage/build.py -t build ${{ matrix.cfg.id }}\n      - name: Testing the ${{ matrix.cfg.id }} image\n        run:  ./ci/ciimage/build.py -t test  ${{ matrix.cfg.id }}\n\n      # Publish\n      - name: Push the ${{ matrix.cfg.id }} image\n        run:  docker push mesonbuild/${{ matrix.cfg.id }}\n        if:   (github.event_name == 'push' || github.event_name == 'schedule') && env.HAS_DOCKER_CREDENTIALS == 'true'\n", "state": "active", "repository": "mesonbuild/meson"}
{"mined_at": "2024-07-15T15:47:38.268450", "created_at": "2021-12-30T21:02:58+01:00", "updated_at": "2021-12-31T11:01:38+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\nconcurrency:\n  group: lint-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    paths:\n    - \"**.py\"\n    - \".github/workflows/lint.yml\"\n  pull_request:\n    paths:\n    - \"**.py\"\n    - \".github/workflows/lint.yml\"\n\npermissions:\n  contents: read\n\njobs:\n\n  pylint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - run: python -m pip install pylint\n    - run: pylint --output-format colorized mesonbuild\n\n  flake8:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.x'\n      - run: python -m pip install flake8\n      - run: flake8 --color always mesonbuild/\n\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    # Pin mypy to version 1.8, so we retain the ability to lint for Python 3.7\n    - run: python -m pip install \"mypy==1.8\" coverage strictyaml types-PyYAML types-tqdm types-chevron\n    - run: python run_mypy.py --allver\n      env:\n        PYTHONUNBUFFERED: 1\n        TERM: xterm-color\n        MYPY_FORCE_COLOR: 1\n", "state": "active", "repository": "mesonbuild/meson"}
{"mined_at": "2024-07-15T15:47:39.332382", "created_at": "2020-11-11T03:24:56+01:00", "updated_at": "2024-01-02T08:37:38+01:00", "name": "macos", "path": ".github/workflows/macos.yml", "contents": "name: macos\n\nconcurrency:\n  group: macos-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - master\n      # Stable branches such as 0.56 or 1.0\n      - '[0-9]+.[0-9]+'\n    paths:\n      - \"mesonbuild/**\"\n      - \"test cases/**\"\n      - \"unittests/**\"\n      - \".github/workflows/macos.yml\"\n      - \"run*tests.py\"\n  pull_request:\n    paths:\n      - \"mesonbuild/**\"\n      - \"test cases/**\"\n      - \"unittests/**\"\n      - \".github/workflows/macos.yml\"\n      - \"run*tests.py\"\n\npermissions:\n  contents: read\n\njobs:\n  unittests-appleclang:\n    runs-on: macos-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - run: |\n        python -m pip install --upgrade pip\n        python -m pip install pytest pytest-xdist pytest-subtests fastjsonschema coverage\n    - run: brew install pkg-config ninja llvm qt@5\n    - env:\n        CPPFLAGS: \"-I/opt/homebrew/include\"\n        LDFLAGS: \"-L/opt/homebrew/lib\"\n        MESON_CI_JOBNAME: unittests-appleclang\n        MESON_UNIT_TEST_BACKEND: ninja\n        HOMEBREW_NO_AUTO_UPDATE: 1\n        # These cannot evaluate anything, so we cannot set PATH or SDKROOT here\n      run: |\n        export SDKROOT=\"$(xcodebuild -version -sdk macosx Path)\"\n        export PATH=\"$HOME/tools:/opt/homebrew/opt/qt@5/bin:/opt/homebrew/opt/llvm/bin:$PATH\"\n        export PKG_CONFIG_PATH=\"/opt/homebrew/opt/qt@5/lib/pkgconfig:$PKG_CONFIG_PATH\"\n        ./tools/run_with_cov.py ./run_unittests.py\n\n    - name: Aggregate coverage reports\n      run: ./ci/combine_cov.sh\n\n    - name: Upload coverage report\n      uses: codecov/codecov-action@v3\n      with:\n        files: .coverage/coverage.xml\n        name: \"appleclang [unit tests]\"\n        fail_ci_if_error: false\n        verbose: true\n\n\n  project-tests-appleclang:\n    runs-on: macos-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - NAME: macos-clang\n          unity: off\n        - NAME: macos-clang-unity\n          unity: on\n\n    name: ${{ matrix.NAME }}\n    env:\n      MESON_CI_JOBNAME: ${{ matrix.NAME }}\n      HOMEBREW_NO_AUTO_UPDATE: 1\n\n    steps:\n    - uses: actions/checkout@v3\n    # Avoid picking up an older version of LLVM that does not work.\n    - run: brew update\n    # github actions overwrites brew's python. Force it to reassert itself, by running in a separate step.\n    - name: unbreak python in github actions\n      run: |\n        find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete\n        sudo rm -rf /Library/Frameworks/Python.framework/\n        brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3\n        # Delete nonsensical PEP 668 breakage. It is the wrong solution to the problem and isn't designed to be\n        # productive -- only victim blaming -- however it bites particularly badly because this is a container/VM\n        # See commit 5c479d7a13a518c18ccb4dc3b6bdd7bfc2a9bdb5 for a more thorough analysis.\n        find /opt/homebrew/Cellar/python* -name EXTERNALLY-MANAGED -print0 | xargs -0 rm -vf\n    # use python3 from homebrew because it is a valid framework, unlike the actions one:\n    # https://github.com/actions/setup-python/issues/58\n    - run: brew install pkg-config ninja llvm qt@5 boost ldc hdf5 openmpi lapack scalapack sdl2 boost-python3 gtk-doc zstd ncurses objfw\n    - run: |\n        python3 -m pip install --upgrade setuptools\n        python3 -m pip install --upgrade pip\n        python3 -m pip install cython coverage\n    - env:\n        CPPFLAGS: \"-I/opt/homebrew/include\"\n        LDFLAGS: \"-L/opt/homebrew/lib\"\n        MESON_ARGS: --unity=${{ matrix.unity }}\n        XML_CATALOG_FILES: \"/opt/homebrew/etc/xml/catalog\"\n        CI: 1\n        # These cannot evaluate anything, so we cannot set PATH or SDKROOT here\n      run: |\n        export SDKROOT=\"$(xcodebuild -version -sdk macosx Path)\"\n        export PATH=\"$HOME/tools:/opt/homebrew/opt/qt@5/bin:/opt/homebrew/opt/llvm/bin:/opt/homebrew/opt/ncurses/bin:$PATH\"\n        export PKG_CONFIG_PATH=\"/opt/homebrew/opt/qt@5/lib/pkgconfig:/opt/homebrew/opt/lapack/lib/pkgconfig:/opt/homebrew/opt/ncurses/lib/pkgconfig:$PKG_CONFIG_PATH\"\n        ./tools/run_with_cov.py ./run_project_tests.py --backend=ninja\n\n    - name: Aggregate coverage reports\n      run: ./ci/combine_cov.sh\n\n    - name: Upload coverage report\n      uses: codecov/codecov-action@v3\n      with:\n        files: .coverage/coverage.xml\n        name: \"appleclang [project tests; unity=${{ matrix.unity }}]\"\n        fail_ci_if_error: false\n        verbose: true\n\n  Qt4macos:\n    # This job only works on Intel Macs, because OpenSSL 1.0 doesn't build on\n    # Apple ARM\n    runs-on: macos-13\n    env:\n      HOMEBREW_NO_AUTO_UPDATE: 1\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - run: python -m pip install -e .\n    - run: brew install pkg-config ninja gcc\n    - run: brew tap cartr/qt4\n    - run: brew install qt@4\n    - run: brew link qt@4\n      # qt4 tap seems to be broken\n    - run: ln -sfn /usr/local/Cellar/qt@4/4.8.7_6.reinstall /usr/local/Cellar/qt@4/4.8.7_6\n    - run: meson setup \"test cases/frameworks/4 qt\" build -Drequired=qt4\n    - run: meson compile -C build\n    - uses: actions/upload-artifact@v3\n      if: failure()\n      with:\n        name: Qt4_Mac_build\n        path: build/meson-logs/meson-log.txt\n    - run: meson test -C build -v\n    - uses: actions/upload-artifact@v3\n      if: failure()\n      with:\n        name: Qt4_Mac_test\n        path: build/meson-logs/testlog.txt\n", "state": "active", "repository": "mesonbuild/meson"}
{"mined_at": "2024-07-15T15:47:40.367082", "created_at": "2020-07-12T22:22:53+02:00", "updated_at": "2022-04-11T22:48:34+02:00", "name": "msys2", "path": ".github/workflows/msys2.yml", "contents": "name: msys2\n\nconcurrency:\n  group: msys2-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - master\n      # Stable branches such as 0.56 or 1.0\n      - '[0-9]+.[0-9]+'\n    paths:\n      - \"mesonbuild/**\"\n      - \"test cases/**\"\n      - \"unittests/**\"\n      - \".github/workflows/msys2.yml\"\n      - \"run*tests.py\"\n  pull_request:\n    paths:\n      - \"mesonbuild/**\"\n      - \"test cases/**\"\n      - \"unittests/**\"\n      - \".github/workflows/msys2.yml\"\n      - \"run*tests.py\"\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: windows-2019\n    name: ${{ matrix.NAME }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - NAME: gccx86ninja\n            MSYSTEM: MINGW32\n            MSYS2_ARCH: i686\n            MSYS2_CURSES: ncurses\n            COMPILER: gcc\n            TOOLCHAIN: toolchain\n          - NAME: gccx64ninja\n            MSYSTEM: MINGW64\n            MSYS2_ARCH: x86_64\n            MSYS2_CURSES: pdcurses\n            COMPILER: gcc\n            TOOLCHAIN: toolchain\n          - NAME: clangx64ninja\n            MSYSTEM: MINGW64\n            MSYS2_ARCH: x86_64\n            MSYS2_CURSES:\n            COMPILER: clang\n            TOOLCHAIN: clang\n    env:\n      MESON_CI_JOBNAME: msys2-${{ matrix.NAME }}\n\n    defaults:\n      run:\n        shell: msys2 {0}\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: msys2/setup-msys2@v2\n        with:\n          msystem: ${{ matrix.MSYSTEM }}\n          update: true\n          install: >-\n            base-devel\n            git\n            mercurial\n            lcov\n            wget\n            unzip\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-cmake\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-glib2\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-libxml2\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-ninja\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-pkg-config\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-python2\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-python\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-python-lxml\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-python-setuptools\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-python-pip\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-python-fastjsonschema\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-objfw\n            mingw-w64-${{ matrix.MSYS2_ARCH }}-${{ matrix.TOOLCHAIN }}\n\n      - name: Install dependencies\n        run: |\n          python3 -m pip --disable-pip-version-check install gcovr pefile pytest pytest-subtests pytest-xdist coverage\n\n      - name: Install pypy3 on x86_64\n        run: |\n          mkdir pypy3local\n          pushd pypy3local\n          wget -nv https://downloads.python.org/pypy/pypy3.8-v7.3.9-win64.zip\n          unzip pypy3.8-v7.3.9-win64.zip\n          mv pypy3.8-v7.3.9-win64/* ./\n          popd\n        if: ${{ matrix.MSYS2_ARCH == 'x86_64' }}\n\n      - name: Run Tests\n        run: |\n          if [[ \"${{ matrix.MSYS2_ARCH }}\" == \"x86_64\" ]]; then\n            # There apparently is no clean way to add to the PATH in the\n            # previous step?\n            # See for instance https://github.com/msys2/setup-msys2/issues/171\n            export PATH=$PATH:$PWD/pypy3local\n            # Make sure it is on the PATH\n            pypy3 -c \"import sys; print(sys.version)\"\n          fi\n          export PATHEXT=\"$PATHEXT;.py\"\n\n          if [[ '${{ matrix.COMPILER }}' == 'clang' ]]; then\n            export CC=clang\n            export CXX=clang++\n            export OBJC=clang\n            export OBJCXX=clang++\n          fi\n\n          if [[ \"${{ matrix.MSYS2_CURSES }}\" != \"\" ]]; then\n            pacman --noconfirm --needed -S mingw-w64-${{ matrix.MSYS2_ARCH }}-${{ matrix.MSYS2_CURSES }}\n          fi\n\n          MSYSTEM= python3 ./tools/run_with_cov.py run_tests.py --backend=ninja\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: ${{ matrix.NAME }}\n          path: meson-test-run.*\n\n      - name: Aggregate coverage reports\n        run: ./ci/combine_cov.sh\n\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v3\n        with:\n          files: .coverage/coverage.xml\n          name: \"${{ matrix.NAME }}\"\n          fail_ci_if_error: false\n          verbose: true\n", "state": "active", "repository": "mesonbuild/meson"}
{"mined_at": "2024-07-15T15:47:41.447476", "created_at": "2023-04-11T16:31:37+02:00", "updated_at": "2023-04-12T01:21:10+02:00", "name": "Cross-only compilation environment", "path": ".github/workflows/nonnative.yml", "contents": "name: Cross-only compilation environment\n\nconcurrency:\n  group: nonnative-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - master\n      # Stable branches such as 0.56 or 1.0\n      - '[0-9]+.[0-9]+'\n    paths:\n      - \"mesonbuild/**\"\n      - \"test cases/**\"\n      - \".github/workflows/nonnative.yml\"\n      - \"run*tests.py\"\n  pull_request:\n    paths:\n      - \"mesonbuild/**\"\n      - \"test cases/**\"\n      - \".github/workflows/nonnative.yml\"\n      - \"run*tests.py\"\n\npermissions:\n  contents: read\n\njobs:\n  cross-only-armhf:\n    runs-on: ubuntu-latest\n    container: mesonbuild/eoan:latest\n    env:\n      MESON_CI_JOBNAME: ubuntu-${{ github.job }}\n\n    steps:\n    - run: |\n        apt-get -y purge clang gcc gdc\n        apt-get -y autoremove\n        python3 -m pip install coverage\n    - uses: actions/checkout@v3\n    - name: Run tests\n      run: bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./tools/run_with_cov.py ./run_tests.py $CI_ARGS --cross ubuntu-armhf.json --cross-only'\n\n    - name: Aggregate coverage reports\n      run: ./ci/combine_cov.sh\n\n    - name: Upload coverage report\n      uses: codecov/codecov-action@v3\n      with:\n        files: .coverage/coverage.xml\n        name: \"Ubuntu nonnative\"\n        fail_ci_if_error: false\n        verbose: true\n", "state": "active", "repository": "mesonbuild/meson"}
{"mined_at": "2024-07-15T15:47:42.661000", "created_at": "2020-01-23T11:39:55+01:00", "updated_at": "2021-12-03T18:54:42+01:00", "name": "linux", "path": ".github/workflows/os_comp.yml", "contents": "name: linux\n\nconcurrency:\n  group: linux-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - master\n      # Stable branches such as 0.56 or 1.0\n      - '[0-9]+.[0-9]+'\n    paths:\n      - \"mesonbuild/**\"\n      - \"test cases/**\"\n      - \"unittests/**\"\n      - \".github/workflows/images.yml\"\n      - \".github/workflows/os_comp.yml\"\n      - \"run*tests.py\"\n  pull_request:\n    paths:\n      - \"mesonbuild/**\"\n      - \"test cases/**\"\n      - \"unittests/**\"\n      - \".github/workflows/images.yml\"\n      - \".github/workflows/os_comp.yml\"\n      - \"run*tests.py\"\n\npermissions:\n  contents: read\n\njobs:\n  arch:\n    name: ${{ matrix.cfg.name }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        cfg:\n          - { name: Arch Linux,       id: arch     }\n          - { name: CUDA (on Arch),   id: cuda     }\n          - { name: Fedora,           id: fedora   }\n          - { name: Gentoo,           id: gentoo   }\n          - { name: OpenSUSE,         id: opensuse }\n          - { name: Ubuntu Bionic,    id: bionic   }\n    container: mesonbuild/${{ matrix.cfg.id }}:latest\n    env:\n      MESON_CI_JOBNAME: linux-${{ matrix.cfg.id }}-gcc\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Run tests\n      # All environment variables are stored inside the docker image in /ci/env_vars.sh\n      # They are defined in the `env` section in each image.json. CI_ARGS should be set\n      # via the `args` array ub the image.json\n      run: bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./tools/run_with_cov.py ./run_tests.py $CI_ARGS'\n\n    - name: Aggregate coverage reports\n      run: ./ci/combine_cov.sh\n\n    - name: Upload coverage report\n      uses: codecov/codecov-action@v3\n      with:\n        files: .coverage/coverage.xml\n        name: \"OS Comp [${{ matrix.cfg.name }}]\"\n        fail_ci_if_error: false\n        verbose: true\n\n  pypy:\n    name: 'Arch / PyPy'\n    runs-on: ubuntu-latest\n    container: mesonbuild/arch:latest\n    env:\n      MESON_CI_JOBNAME_UPDATE: linux-arch-gcc-pypy\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Run tests\n      run: |\n        source /ci/env_vars.sh\n        export MESON_CI_JOBNAME=$MESON_CI_JOBNAME_UPDATE\n        pypy3 run_tests.py\n\n  ubuntu-rolling:\n    name: 'Ubuntu Rolling'\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        cfg:\n          - CC: 'gcc'\n            CXX: 'g++'\n          - MESON_ARGS: '--unity=on -Ddefault_library=static'\n            RUN_TESTS_ARGS: '--no-unittests'\n            CC: 'gcc'\n            CXX: 'g++'\n          - MESON_ARGS: '-Ddefault_library=both'\n            RUN_TESTS_ARGS: '--no-unittests'\n            CC: 'gcc'\n            CXX: 'g++'\n          - CC: 'clang'\n            CXX: 'clang++'\n          - MESON_ARGS: '--unity=on'\n            RUN_TESTS_ARGS: '--no-unittests'\n            CC: 'clang'\n            CXX: 'clang++'\n          - RUN_TESTS_ARGS: '--cross ubuntu-armhf.json --cross linux-mingw-w64-64bit.json'\n            MESON_RSP_THRESHOLD: '0'\n            CC: 'gcc'\n            CXX: 'g++'\n          - RUN_TESTS_ARGS: '--cross ubuntu-armhf.json --cross linux-mingw-w64-64bit.json'\n            MESON_ARGS: '--unity=on'\n            CC: 'gcc'\n            CXX: 'g++'\n\n    env:\n      MESON_CI_JOBNAME_UPDATE: linux-${{ github.job }}-${{ matrix.cfg.CC }}\n\n    container:\n      image: mesonbuild/ubuntu-rolling\n      env:\n        MESON_RSP_THRESHOLD: ${{ matrix.cfg.MESON_RSP_THRESHOLD }}\n        MESON_ARGS: ${{ matrix.cfg.MESON_ARGS }}\n        RUN_TESTS_ARGS: ${{ matrix.cfg.RUN_TESTS_ARGS }}\n        CC: ${{ matrix.cfg.CC }}\n        CXX: ${{ matrix.cfg.CXX }}\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Run tests\n        shell: bash\n        run: |\n          export HOME=/root\n\n          export CC=$CC\n          export CXX=$CXX\n          export OBJC=$CC\n          export OBJCXX=$CXX\n          export PATH=$(pwd)/tools:$PATH\n          if test \"$MESON_RSP_THRESHOLD\" != \"\"\n          then\n            export MESON_RSP_THRESHOLD=$MESON_RSP_THRESHOLD\n          fi\n\n          source /ci/env_vars.sh\n          export MESON_CI_JOBNAME=$MESON_CI_JOBNAME_UPDATE\n\n          update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix\n          update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix\n          update-alternatives --set i686-w64-mingw32-gcc   /usr/bin/i686-w64-mingw32-gcc-posix\n          update-alternatives --set i686-w64-mingw32-g++   /usr/bin/i686-w64-mingw32-g++-posix\n\n          ./tools/run_with_cov.py ./run_tests.py $RUN_TESTS_ARGS -- $MESON_ARGS\n\n      - name: Aggregate coverage reports\n        run: ./ci/combine_cov.sh\n\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v3\n        with:\n          files: .coverage/coverage.xml\n          name: \"Ubuntu [${{ matrix.cfg.CC }} ${{ matrix.cfg.RUN_TESTS_ARGS }} ${{ matrix.cfg.MESON_ARGS }}]\"\n          fail_ci_if_error: false\n          verbose: true\n", "state": "active", "repository": "mesonbuild/meson"}
{"mined_at": "2024-07-15T15:47:44.289070", "created_at": "2022-10-02T20:28:06+02:00", "updated_at": "2022-10-02T22:08:12+02:00", "name": "stable build directories", "path": ".github/workflows/stable_builddir.yml", "contents": "name: stable build directories\n\non:\n  push:\n    branches:\n      - '[0-9]+.[0-9]+'\n\npermissions:\n  contents: read\n\njobs:\n  regression:\n    runs-on: ubuntu-latest\n    env:\n      TESTDIR: \"manual tests/13 builddir upgrade\"\n    steps:\n      - uses: actions/checkout@v3\n      - name: install ninja\n        run: sudo apt-get -y install build-essential ninja-build\n      - name: Fetch tags and unshallow\n        run: git fetch --unshallow --tags\n      - name: Checkout latest release on this branch\n        run: |\n          cp -r \"$TESTDIR\" \"$TESTDIR\"-temp\n          git checkout \"$(git describe --abbrev=0)\"\n      - name: Configure with most recent tag\n        run: ./meson.py setup \"$TESTDIR\"-temp builddir\n      - name: Return to testing commit\n        run: git checkout $GITHUB_SHA\n      - name: check that everything still works\n        run: |\n          ./meson.py compile -C builddir\n          ninja -C builddir test\n          DESTDIR=pkg ninja -C builddir install\n          ./meson.py introspect builddir --all\n", "state": "active", "repository": "mesonbuild/meson"}
{"mined_at": "2024-07-15T15:47:45.378609", "created_at": "2019-12-19T04:54:06+01:00", "updated_at": "2021-12-06T22:27:17+01:00", "name": "UnusedMissingReturn", "path": ".github/workflows/unusedargs_missingreturn.yml", "contents": "name: UnusedMissingReturn\n# this workflow checks for\n# * unused input arguments\n# * missing return values\n# * strict prototypes\n# some users have default configs that will needlessly fail Meson self-tests due to these syntax.\nenv:\n  CFLAGS: \"-Werror=unused-parameter -Werror=return-type -Werror=strict-prototypes\"\n  CPPFLAGS: \"-Werror=unused-parameter -Werror=return-type\"\n  FFLAGS: \"-fimplicit-none\"\n\nconcurrency:\n  group: unusedargs-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    paths:\n    - \".github/workflows/unusedargs_missingreturn.yml\"\n    - \"test cases/cmake/**\"\n    - \"test cases/common/**\"\n    - \"test cases/fortran/**\"\n    - \"test cases/linuxlike/**\"\n    - \"test cases/objc/**\"\n    - \"test cases/objcpp/**\"\n    - \"test cases/windows/**\"\n\n  pull_request:\n    paths:\n    - \".github/workflows/unusedargs_missingreturn.yml\"\n    - \"test cases/cmake/**\"\n    - \"test cases/common/**\"\n    - \"test cases/fortran/**\"\n    - \"test cases/linuxlike/**\"\n    - \"test cases/objc/**\"\n    - \"test cases/objcpp/**\"\n    - \"test cases/windows/**\"\n\npermissions:\n  contents: read\n\njobs:\n\n  linux:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install Compilers\n      run: |\n        sudo apt update -yq\n        sudo apt install -yq --no-install-recommends g++ gfortran ninja-build gobjc gobjc++\n        python -m pip install coverage\n    - run: ./tools/run_with_cov.py run_project_tests.py --only cmake common fortran platform-linux \"objective c\" \"objective c++\"\n      env:\n        MESON_CI_JOBNAME: linux-ubuntu-gcc-werror\n\n    - name: Aggregate coverage reports\n      run: ./ci/combine_cov.sh\n\n    - name: Upload coverage report\n      uses: codecov/codecov-action@v3\n      with:\n        files: .coverage/coverage.xml\n        name: \"UnusedMissingReturn\"\n        fail_ci_if_error: false\n        verbose: true\n\n  windows:\n    runs-on: windows-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n\n    - run: pip install ninja pefile coverage\n\n    - run: python ./tools/run_with_cov.py run_project_tests.py --only platform-windows\n      env:\n        CC: gcc\n        CXX: g++\n        FC: gfortran\n        MESON_CI_JOBNAME: msys2-gcc-werror\n\n    - name: Aggregate coverage reports\n      run: ./ci/combine_cov.sh\n      shell: C:\\msys64\\usr\\bin\\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}'\n\n    - name: Upload coverage report\n      uses: codecov/codecov-action@v3\n      with:\n        files: .coverage/coverage.xml\n        name: \"UnusedMissingReturn Windows\"\n        fail_ci_if_error: false\n        verbose: true\n", "state": "active", "repository": "mesonbuild/meson"}
{"mined_at": "2024-07-15T15:47:46.421173", "created_at": "2021-06-02T16:39:36+02:00", "updated_at": "2021-12-03T18:54:42+01:00", "name": "Update website", "path": ".github/workflows/website.yml", "contents": "name: Update website\n\nconcurrency:\n  group: mesonbuild.com\n  # We do NOT want `cancel-in-progress` here since only one website job\n  # should run at a time to avoid upload race conditions.\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - .github/workflows/website.yml\n      - docs/**\n  pull_request:\n    paths:\n      - .github/workflows/website.yml\n      - docs/**\n  workflow_dispatch:\n  release:\n    types:\n      - published\n\npermissions:\n  contents: write # for release creation (svenstaro/upload-release-action)\n\n# This job is copy/paster into wrapdb CI, please update it there when doing any\n# change here.\njobs:\n  update_website:\n    env:\n      HAS_SSH_KEY: ${{ secrets.WEBSITE_PRIV_KEY != '' }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/cache/restore@v3\n        id: restore-cache\n        with:\n          # should use 'pip3 cache dir' to discover this path\n          path: ~/.cache/pip\n          key: website-pip-${{ github.run_number }}\n          restore-keys: website-pip-\n\n      - name: Install package\n        run: |\n          sudo apt-get -y install python3-pip ninja-build libjson-glib-dev\n          pip install hotdoc chevron strictyaml\n\n      - uses: actions/cache/save@v3\n        with:\n          # should use 'pip3 cache dir' to discover this path\n          path: ~/.cache/pip\n          key: website-pip-${{ github.run_number }}\n\n      - name: Setup SSH Keys and known_hosts\n        env:\n          SSH_AUTH_SOCK: /tmp/ssh_agent.sock\n        run: |\n          ssh-agent -a $SSH_AUTH_SOCK > /dev/null\n          ssh-add - <<< \"${{ secrets.WEBSITE_PRIV_KEY }}\"\n        if: github.ref == 'refs/heads/master' && env.HAS_SSH_KEY == 'true'\n      - name: Build website\n        run: |\n          git config --global user.name \"github-actions\"\n          git config --global user.email \"github-actions@github.com\"\n          cd docs\n          ../meson.py setup _build\n          ninja -C _build\n          ninja -C _build test\n      - name: Update website\n        env:\n          SSH_AUTH_SOCK: /tmp/ssh_agent.sock\n        run: |\n          cd docs\n          ninja -C _build upload\n        if: github.ref == 'refs/heads/master' && env.HAS_SSH_KEY == 'true'\n      - name: Release the current JSON docs\n        uses: svenstaro/upload-release-action@v2\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: docs/_build/reference_manual.json\n          tag: ${{ github.ref }}\n        if: ${{ github.event_name == 'release' }}\n      - name: Release the current man docs\n        uses: svenstaro/upload-release-action@v2\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: docs/_build/meson-reference.3\n          tag: ${{ github.ref }}\n        if: ${{ github.event_name == 'release' }}\n", "state": "active", "repository": "mesonbuild/meson"}
{"mined_at": "2024-07-15T15:47:48.805407", "created_at": "2020-11-22T03:37:16+01:00", "updated_at": "2022-10-25T15:44:11+02:00", "name": "CI Upstream", "path": ".github/workflows/upstream-dev-ci.yaml", "contents": "name: CI Upstream\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n    types: [opened, reopened, synchronize, labeled]\n  schedule:\n    - cron: \"0 0 * * *\" # Daily “At 00:00” UTC\n  workflow_dispatch: # allows you to trigger the workflow run manually\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: 3\n\njobs:\n  detect-ci-trigger:\n    name: detect upstream-dev ci trigger\n    runs-on: ubuntu-latest\n    if: |\n      github.repository == 'pydata/xarray'\n      && (github.event_name == 'push' || github.event_name == 'pull_request')\n    outputs:\n      triggered: ${{ steps.detect-trigger.outputs.trigger-found }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - uses: xarray-contrib/ci-trigger@v1\n        id: detect-trigger\n        with:\n          keyword: \"[test-upstream]\"\n\n  upstream-dev:\n    name: upstream-dev\n    runs-on: ubuntu-latest\n    needs: detect-ci-trigger\n    env:\n      ZARR_V3_EXPERIMENTAL_API: 1\n    if: |\n        always()\n        && (\n            (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')\n            || needs.detect-ci-trigger.outputs.triggered == 'true'\n            || contains( github.event.pull_request.labels.*.name, 'run-upstream')\n        )\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n      - name: Set up conda environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/requirements/environment.yml\n          environment-name: xarray-tests\n          create-args: >-\n            python=${{ matrix.python-version }}\n            pytest-reportlog\n            conda\n      - name: Install upstream versions\n        run: |\n          bash ci/install-upstream-wheels.sh\n      - name: Install xarray\n        run: |\n          python -m pip install --no-deps -e .\n      - name: Version info\n        run: |\n          conda info -a\n          conda list\n          python xarray/util/print_versions.py\n      - name: Import xarray\n        run: |\n          python -c 'import xarray'\n      - name: Run Tests\n        if: success()\n        id: status\n        run: |\n          python -m pytest --timeout=60 -rf \\\n            --report-log output-${{ matrix.python-version }}-log.jsonl\n      - name: Generate and publish the report\n        if: |\n          failure()\n          && steps.status.outcome == 'failure'\n          && github.event_name == 'schedule'\n          && github.repository_owner == 'pydata'\n        uses: xarray-contrib/issue-from-pytest-log@v1\n        with:\n          log-path: output-${{ matrix.python-version }}-log.jsonl\n\n  mypy-upstream-dev:\n    name: mypy-upstream-dev\n    runs-on: ubuntu-latest\n    needs: detect-ci-trigger\n    if: |\n        always()\n        && (\n            contains( github.event.pull_request.labels.*.name, 'run-upstream')\n        )\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n      - name: Set up conda environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/requirements/environment.yml\n          environment-name: xarray-tests\n          create-args: >-\n            python=${{ matrix.python-version }}\n            pytest-reportlog\n            conda\n      - name: Install upstream versions\n        run: |\n          bash ci/install-upstream-wheels.sh\n      - name: Install xarray\n        run: |\n          python -m pip install --no-deps -e .\n      - name: Version info\n        run: |\n          conda info -a\n          conda list\n          python xarray/util/print_versions.py\n      - name: Install mypy\n        run: |\n          python -m pip install mypy --force-reinstall\n      - name: Run mypy\n        run: |\n          python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report\n      - name: Upload mypy coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          file: mypy_report/cobertura.xml\n          flags: mypy\n          env_vars: PYTHON_VERSION\n          name: codecov-umbrella\n          fail_ci_if_error: false\n", "state": "active", "repository": "pydata/xarray"}
{"mined_at": "2024-07-15T15:47:50.082412", "created_at": "2020-12-24T02:50:24+01:00", "updated_at": "2024-05-12T03:17:00+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - \"main\"\n  workflow_dispatch: # allows you to trigger manually\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: 3\n\njobs:\n  detect-ci-trigger:\n    name: detect ci trigger\n    runs-on: ubuntu-latest\n    if: |\n      github.repository == 'pydata/xarray'\n      && (github.event_name == 'push' || github.event_name == 'pull_request')\n    outputs:\n      triggered: ${{ steps.detect-trigger.outputs.trigger-found }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - uses: xarray-contrib/ci-trigger@v1\n        id: detect-trigger\n        with:\n          keyword: \"[skip-ci]\"\n  test:\n    name: ${{ matrix.os }} py${{ matrix.python-version }} ${{ matrix.env }}\n    runs-on: ${{ matrix.os }}\n    needs: detect-ci-trigger\n    if: needs.detect-ci-trigger.outputs.triggered == 'false'\n    env:\n      ZARR_V3_EXPERIMENTAL_API: 1\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        # Bookend python versions\n        python-version: [\"3.9\",  \"3.12\"]\n        env: [\"\"]\n        include:\n          # Minimum python version:\n          - env: \"bare-minimum\"\n            python-version: \"3.9\"\n            os: ubuntu-latest\n          - env: \"min-all-deps\"\n            python-version: \"3.9\"\n            os: ubuntu-latest\n          # Latest python version:\n          - env: \"all-but-dask\"\n            # Not 3.12 because of pint\n            python-version: \"3.11\"\n            os: ubuntu-latest\n          - env: \"flaky\"\n            python-version: \"3.12\"\n            os: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n      - name: Set environment variables\n        run: |\n          echo \"TODAY=$(date +'%Y-%m-%d')\" >> $GITHUB_ENV\n\n          if [[ ${{ matrix.os }} == windows* ]] ;\n          then\n            if [[ ${{ matrix.python-version }} != \"3.13\" ]]; then\n              echo \"CONDA_ENV_FILE=ci/requirements/environment-windows.yml\" >> $GITHUB_ENV\n            else\n              echo \"CONDA_ENV_FILE=ci/requirements/environment-windows-3.13.yml\" >> $GITHUB_ENV\n            fi\n          elif [[ \"${{ matrix.env }}\" != \"\" ]] ;\n          then\n            if [[ \"${{ matrix.env }}\" == \"flaky\" ]] ;\n            then\n              echo \"CONDA_ENV_FILE=ci/requirements/environment.yml\" >> $GITHUB_ENV\n              echo \"PYTEST_ADDOPTS=-m 'flaky or network' --run-flaky --run-network-tests -W default\" >> $GITHUB_ENV\n            else\n              echo \"CONDA_ENV_FILE=ci/requirements/${{ matrix.env }}.yml\" >> $GITHUB_ENV\n            fi\n            if [[ \"${{ matrix.env }}\" == \"min-all-deps\" ]] ;\n            then\n              # Don't raise on warnings\n              echo \"PYTEST_ADDOPTS=-W default\" >> $GITHUB_ENV\n            fi\n          else\n            if [[ ${{ matrix.python-version }} != \"3.13\" ]]; then\n              echo \"CONDA_ENV_FILE=ci/requirements/environment.yml\" >> $GITHUB_ENV\n            else\n              echo \"CONDA_ENV_FILE=ci/requirements/environment-3.13.yml\" >> $GITHUB_ENV\n            fi\n          fi\n\n          echo \"PYTHON_VERSION=${{ matrix.python-version }}\" >> $GITHUB_ENV\n\n      - name: Setup micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{ env.CONDA_ENV_FILE }}\n          environment-name: xarray-tests\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n          create-args: >-\n            python=${{matrix.python-version}}\n            conda\n\n      # We only want to install this on one run, because otherwise we'll have\n      # duplicate annotations.\n      - name: Install error reporter\n        if: ${{ matrix.os }} == 'ubuntu-latest' and ${{ matrix.python-version }} == '3.12'\n        run: |\n          python -m pip install pytest-github-actions-annotate-failures\n\n      - name: Install xarray\n        run: |\n          python -m pip install --no-deps -e .\n\n      - name: Version info\n        run: |\n          conda info -a\n          conda list\n          python xarray/util/print_versions.py\n\n      - name: Import xarray\n        run: |\n          python -c \"import xarray\"\n\n      - name: Restore cached hypothesis directory\n        uses: actions/cache@v4\n        with:\n          path: .hypothesis/\n          key: cache-hypothesis\n          enableCrossOsArchive: true\n          save-always: true\n\n      - name: Run tests\n        run: python -m pytest -n 4\n          --timeout 180\n          --cov=xarray\n          --cov-report=xml\n          --junitxml=pytest.xml\n\n      - name: Upload test results\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: Test results for ${{ runner.os }}-${{ matrix.python-version }} ${{ matrix.env }}\n          path: pytest.xml\n\n      - name: Upload code coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: RUNNER_OS,PYTHON_VERSION\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n  event_file:\n    name: \"Event File\"\n    runs-on: ubuntu-latest\n    if: github.repository == 'pydata/xarray'\n    steps:\n      - name: Upload\n        uses: actions/upload-artifact@v4\n        with:\n          name: Event File\n          path: ${{ github.event_path }}\n", "state": "active", "repository": "pydata/xarray"}
{"mined_at": "2024-07-15T15:47:51.089087", "created_at": "2020-12-24T03:06:36+01:00", "updated_at": "2024-05-12T03:17:00+02:00", "name": "CI Additional", "path": ".github/workflows/ci-additional.yaml", "contents": "name: CI Additional\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - \"main\"\n  workflow_dispatch: # allows you to trigger manually\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: 3\n\njobs:\n  detect-ci-trigger:\n    name: detect ci trigger\n    runs-on: ubuntu-latest\n    if: |\n      github.repository == 'pydata/xarray'\n      && (github.event_name == 'push' || github.event_name == 'pull_request')\n    outputs:\n      triggered: ${{ steps.detect-trigger.outputs.trigger-found }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - uses: xarray-contrib/ci-trigger@v1\n        id: detect-trigger\n        with:\n          keyword: \"[skip-ci]\"\n\n  doctest:\n    name: Doctests\n    runs-on: \"ubuntu-latest\"\n    needs: detect-ci-trigger\n    if: needs.detect-ci-trigger.outputs.triggered == 'false'\n\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      CONDA_ENV_FILE: ci/requirements/environment.yml\n      PYTHON_VERSION: \"3.12\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n\n      - name: set environment variables\n        run: |\n          echo \"TODAY=$(date  +'%Y-%m-%d')\" >> $GITHUB_ENV\n\n      - name: Setup micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{env.CONDA_ENV_FILE}}\n          environment-name: xarray-tests\n          create-args: >-\n            python=${{env.PYTHON_VERSION}}\n            conda\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n\n      - name: Install xarray\n        run: |\n          python -m pip install --no-deps -e .\n      - name: Version info\n        run: |\n          conda info -a\n          conda list\n          python xarray/util/print_versions.py\n      - name: Run doctests\n        run: |\n          # Raise an error if there are warnings in the doctests, with `-Werror`.\n          # This is a trial; if it presents an problem, feel free to remove.\n          # See https://github.com/pydata/xarray/issues/7164 for more info.\n          #\n          # If dependencies emit warnings we can't do anything about, add ignores to\n          # `xarray/tests/__init__.py`.\n          # [MHS, 01/25/2024] Skip datatree_ documentation remove after #8572\n          python -m pytest --doctest-modules xarray --ignore xarray/tests --ignore xarray/datatree_ -Werror\n\n  mypy:\n    name: Mypy\n    runs-on: \"ubuntu-latest\"\n    needs: detect-ci-trigger\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      CONDA_ENV_FILE: ci/requirements/environment.yml\n      PYTHON_VERSION: \"3.11\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n\n      - name: set environment variables\n        run: |\n          echo \"TODAY=$(date +'%Y-%m-%d')\" >> $GITHUB_ENV\n      - name: Setup micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{env.CONDA_ENV_FILE}}\n          environment-name: xarray-tests\n          create-args: >-\n            python=${{env.PYTHON_VERSION}}\n            conda\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n      - name: Install xarray\n        run: |\n          python -m pip install --no-deps -e .\n      - name: Version info\n        run: |\n          conda info -a\n          conda list\n          python xarray/util/print_versions.py\n      - name: Install mypy\n        run: |\n          python -m pip install \"mypy<1.9\" --force-reinstall\n\n      - name: Run mypy\n        run: |\n          python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report xarray/\n\n      - name: Upload mypy coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          file: mypy_report/cobertura.xml\n          flags: mypy\n          env_vars: PYTHON_VERSION\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n  mypy39:\n    name: Mypy 3.9\n    runs-on: \"ubuntu-latest\"\n    needs: detect-ci-trigger\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      CONDA_ENV_FILE: ci/requirements/environment.yml\n      PYTHON_VERSION: \"3.9\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n\n      - name: set environment variables\n        run: |\n          echo \"TODAY=$(date +'%Y-%m-%d')\" >> $GITHUB_ENV\n      - name: Setup micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{env.CONDA_ENV_FILE}}\n          environment-name: xarray-tests\n          create-args: >-\n            python=${{env.PYTHON_VERSION}}\n            conda\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n      - name: Install xarray\n        run: |\n          python -m pip install --no-deps -e .\n      - name: Version info\n        run: |\n          conda info -a\n          conda list\n          python xarray/util/print_versions.py\n      - name: Install mypy\n        run: |\n          python -m pip install \"mypy<1.9\" --force-reinstall\n\n      - name: Run mypy\n        run: |\n          python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report xarray/\n\n      - name: Upload mypy coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          file: mypy_report/cobertura.xml\n          flags: mypy39\n          env_vars: PYTHON_VERSION\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n\n\n  pyright:\n    name: Pyright\n    runs-on: \"ubuntu-latest\"\n    needs: detect-ci-trigger\n    if: |\n        always()\n        && (\n            contains( github.event.pull_request.labels.*.name, 'run-pyright')\n        )\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      CONDA_ENV_FILE: ci/requirements/environment.yml\n      PYTHON_VERSION: \"3.12\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n\n      - name: set environment variables\n        run: |\n          echo \"TODAY=$(date +'%Y-%m-%d')\" >> $GITHUB_ENV\n      - name: Setup micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{env.CONDA_ENV_FILE}}\n          environment-name: xarray-tests\n          create-args: >-\n            python=${{env.PYTHON_VERSION}}\n            conda\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n      - name: Install xarray\n        run: |\n          python -m pip install --no-deps -e .\n      - name: Version info\n        run: |\n          conda info -a\n          conda list\n          python xarray/util/print_versions.py\n      - name: Install pyright\n        run: |\n          python -m pip install pyright --force-reinstall\n\n      - name: Run pyright\n        run: |\n          python -m pyright xarray/\n\n      - name: Upload pyright coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          file: pyright_report/cobertura.xml\n          flags: pyright\n          env_vars: PYTHON_VERSION\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n  pyright39:\n    name: Pyright 3.9\n    runs-on: \"ubuntu-latest\"\n    needs: detect-ci-trigger\n    if: |\n        always()\n        && (\n            contains( github.event.pull_request.labels.*.name, 'run-pyright')\n        )\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      CONDA_ENV_FILE: ci/requirements/environment.yml\n      PYTHON_VERSION: \"3.9\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n\n      - name: set environment variables\n        run: |\n          echo \"TODAY=$(date +'%Y-%m-%d')\" >> $GITHUB_ENV\n      - name: Setup micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{env.CONDA_ENV_FILE}}\n          environment-name: xarray-tests\n          create-args: >-\n            python=${{env.PYTHON_VERSION}}\n            conda\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n      - name: Install xarray\n        run: |\n          python -m pip install --no-deps -e .\n      - name: Version info\n        run: |\n          conda info -a\n          conda list\n          python xarray/util/print_versions.py\n      - name: Install pyright\n        run: |\n          python -m pip install pyright --force-reinstall\n\n      - name: Run pyright\n        run: |\n          python -m pyright xarray/\n\n      - name: Upload pyright coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          file: pyright_report/cobertura.xml\n          flags: pyright39\n          env_vars: PYTHON_VERSION\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n\n\n  min-version-policy:\n    name: Minimum Version Policy\n    runs-on: \"ubuntu-latest\"\n    needs: detect-ci-trigger\n    if: needs.detect-ci-trigger.outputs.triggered == 'false'\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n\n      - name: Setup micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: xarray-tests\n          create-args: >-\n            python=3.12\n            pyyaml\n            conda\n            python-dateutil\n\n      - name: All-deps minimum versions policy\n        run: |\n          python ci/min_deps_check.py ci/requirements/min-all-deps.yml\n\n      - name: Bare minimum versions policy\n        run: |\n          python ci/min_deps_check.py ci/requirements/bare-minimum.yml\n", "state": "active", "repository": "pydata/xarray"}
{"mined_at": "2024-07-15T15:47:52.693899", "created_at": "2021-05-06T16:46:11+02:00", "updated_at": "2021-05-06T16:46:11+02:00", "name": "Build and Upload xarray to PyPI", "path": ".github/workflows/pypi-release.yaml", "contents": "name: Build and Upload xarray to PyPI\non:\n  release:\n    types:\n      - published\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  build-artifacts:\n    runs-on: ubuntu-latest\n    if: github.repository == 'pydata/xarray'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.12\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install build twine\n\n      - name: Build tarball and wheels\n        run: |\n          git clean -xdf\n          git restore -SW .\n          python -m build\n\n      - name: Check built artifacts\n        run: |\n          python -m twine check --strict dist/*\n          pwd\n          if [ -f dist/xarray-0.0.0.tar.gz ]; then\n            echo \"❌ INVALID VERSION NUMBER\"\n            exit 1\n          else\n            echo \"✅ Looks good\"\n          fi\n      - uses: actions/upload-artifact@v4\n        with:\n          name: releases\n          path: dist\n\n  test-built-dist:\n    needs: build-artifacts\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: \"3.12\"\n      - uses: actions/download-artifact@v4\n        with:\n          name: releases\n          path: dist\n      - name: List contents of built dist\n        run: |\n          ls -ltrh\n          ls -ltrh dist\n\n      - name: Verify the built dist/wheel is valid\n        if: github.event_name == 'push'\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install dist/xarray*.whl\n          python -m xarray.util.print_versions\n\n  upload-to-test-pypi:\n    needs: test-built-dist\n    if: github.event_name == 'push'\n    runs-on: ubuntu-latest\n\n    environment:\n      name: pypi\n      url: https://test.pypi.org/p/xarray\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: releases\n          path: dist\n      - name: Publish package to TestPyPI\n        if: github.event_name == 'push'\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          repository_url: https://test.pypi.org/legacy/\n          verbose: true\n\n\n  upload-to-pypi:\n    needs: test-built-dist\n    if: github.event_name == 'release'\n    runs-on: ubuntu-latest\n\n    environment:\n      name: pypi\n      url: https://pypi.org/p/xarray\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: releases\n          path: dist\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          verbose: true\n", "state": "active", "repository": "pydata/xarray"}
{"mined_at": "2024-07-15T15:47:53.721533", "created_at": "2021-06-26T00:21:42+02:00", "updated_at": "2021-06-26T00:21:42+02:00", "name": "Publish test results", "path": ".github/workflows/publish-test-results.yaml", "contents": "# Copied from https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.23/README.md#support-fork-repositories-and-dependabot-branches\n\nname: Publish test results\n\non:\n  workflow_run:\n    workflows: [\"CI\"]\n    types:\n      - completed\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  publish-test-results:\n    name: Publish test results\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.conclusion != 'skipped'\n\n    steps:\n      - name: Download and extract artifacts\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        run: |\n          mkdir artifacts && cd artifacts\n\n          artifacts_url=${{ github.event.workflow_run.artifacts_url }}\n\n          gh api \"$artifacts_url\" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact\n          do\n            IFS=$'\\t' read name url <<< \"$artifact\"\n            gh api $url > \"$name.zip\"\n            unzip -d \"$name\" \"$name.zip\"\n          done\n\n      - name: Publish Unit Test Results\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          commit: ${{ github.event.workflow_run.head_sha }}\n          event_file: artifacts/Event File/event.json\n          event_name: ${{ github.event.workflow_run.event }}\n          files: \"artifacts/**/*.xml\"\n          comment_mode: off\n", "state": "active", "repository": "pydata/xarray"}
{"mined_at": "2024-07-15T15:47:54.771954", "created_at": "2021-09-15T00:00:52+02:00", "updated_at": "2021-10-24T12:08:03+02:00", "name": "Benchmark", "path": ".github/workflows/benchmarks.yml", "contents": "name: Benchmark\n\non:\n  pull_request:\n    types: [opened, reopened, synchronize, labeled]\n  workflow_dispatch:\n\njobs:\n  benchmark:\n    if: ${{ contains( github.event.pull_request.labels.*.name, 'run-benchmark') && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}\n    name: Linux\n    runs-on: ubuntu-20.04\n    env:\n      ASV_DIR: \"./asv_bench\"\n      CONDA_ENV_FILE: ci/requirements/environment.yml\n\n    steps:\n      # We need the full repo to avoid this issue\n      # https://github.com/actions/checkout/issues/23\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up conda environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{env.CONDA_ENV_FILE}}\n          environment-name: xarray-tests\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}-benchmark\"\n          # add \"build\" because of https://github.com/airspeed-velocity/asv/issues/1385\n          create-args: >-\n            asv\n            build\n            mamba\n\n\n      - name: Run benchmarks\n        shell: bash -l {0}\n        id: benchmark\n        env:\n          OPENBLAS_NUM_THREADS: 1\n          MKL_NUM_THREADS: 1\n          OMP_NUM_THREADS: 1\n          ASV_FACTOR: 1.5\n          ASV_SKIP_SLOW: 1\n        run: |\n          set -x\n          # ID this runner\n          asv machine --yes\n          echo \"Baseline:  ${{ github.event.pull_request.base.sha }} (${{ github.event.pull_request.base.label }})\"\n          echo \"Contender: ${GITHUB_SHA} (${{ github.event.pull_request.head.label }})\"\n          # Run benchmarks for current commit against base\n          ASV_OPTIONS=\"--split --show-stderr --factor $ASV_FACTOR\"\n          asv continuous $ASV_OPTIONS ${{ github.event.pull_request.base.sha }} ${GITHUB_SHA} \\\n              | sed \"/Traceback \\|failed$\\|PERFORMANCE DECREASED/ s/^/::error::/\" \\\n              | tee benchmarks.log\n          # Report and export results for subsequent steps\n          if grep \"Traceback \\|failed\\|PERFORMANCE DECREASED\" benchmarks.log > /dev/null ; then\n              exit 1\n          fi\n        working-directory: ${{ env.ASV_DIR }}\n\n      - name: Add instructions to artifact\n        if: always()\n        run: |\n          cp benchmarks/README_CI.md benchmarks.log .asv/results/\n        working-directory: ${{ env.ASV_DIR }}\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: asv-benchmark-results-${{ runner.os }}\n          path: ${{ env.ASV_DIR }}/.asv/results\n", "state": "active", "repository": "pydata/xarray"}
{"mined_at": "2024-07-15T15:47:55.843361", "created_at": "2023-04-13T19:35:50+02:00", "updated_at": "2023-04-19T00:08:58+02:00", "name": "Benchmark compare last release", "path": ".github/workflows/benchmarks-last-release.yml", "contents": "name: Benchmark compare last release\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  benchmark:\n    name: Linux\n    runs-on: ubuntu-20.04\n    env:\n      ASV_DIR: \"./asv_bench\"\n      CONDA_ENV_FILE: ci/requirements/environment.yml\n\n    steps:\n      # We need the full repo to avoid this issue\n      # https://github.com/actions/checkout/issues/23\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up conda environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{env.CONDA_ENV_FILE}}\n          environment-name: xarray-tests\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}-benchmark\"\n          create-args: >-\n            asv\n\n      - name: 'Get Previous tag'\n        id: previoustag\n        uses: \"WyriHaximus/github-action-get-previous-tag@v1\"\n        # with:\n        #   fallback: 1.0.0 # Optional fallback tag to use when no tag can be found\n\n      - name: Run benchmarks\n        shell: bash -l {0}\n        id: benchmark\n        env:\n          OPENBLAS_NUM_THREADS: 1\n          MKL_NUM_THREADS: 1\n          OMP_NUM_THREADS: 1\n          ASV_FACTOR: 1.5\n          ASV_SKIP_SLOW: 1\n        run: |\n          set -x\n          # ID this runner\n          asv machine --yes\n          echo \"Baseline: ${{ steps.previoustag.outputs.tag }} \"\n          echo \"Contender: ${{ github.sha }}\"\n          # Use mamba for env creation\n          # export CONDA_EXE=$(which mamba)\n          export CONDA_EXE=$(which conda)\n          # Run benchmarks for current commit against base\n          ASV_OPTIONS=\"--split --show-stderr --factor $ASV_FACTOR\"\n          asv continuous $ASV_OPTIONS ${{ steps.previoustag.outputs.tag }}  ${{ github.sha }} \\\n              | sed \"/Traceback \\|failed$\\|PERFORMANCE DECREASED/ s/^/::error::/\" \\\n              | tee benchmarks.log\n          # Report and export results for subsequent steps\n          if grep \"Traceback \\|failed\\|PERFORMANCE DECREASED\" benchmarks.log > /dev/null ; then\n              exit 1\n          fi\n        working-directory: ${{ env.ASV_DIR }}\n\n      - name: Add instructions to artifact\n        if: always()\n        run: |\n          cp benchmarks/README_CI.md benchmarks.log .asv/results/\n        working-directory: ${{ env.ASV_DIR }}\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: asv-benchmark-results-${{ runner.os }}\n          path: ${{ env.ASV_DIR }}/.asv/results\n", "state": "active", "repository": "pydata/xarray"}
{"mined_at": "2024-07-15T15:47:56.872562", "created_at": "2023-05-23T22:02:14+02:00", "updated_at": "2023-05-23T22:02:14+02:00", "name": "Upload nightly wheels", "path": ".github/workflows/nightly-wheels.yml", "contents": "name: Upload nightly wheels\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\njobs:\n  cron:\n    runs-on: ubuntu-latest\n    if: github.repository == 'pydata/xarray'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install build twine\n\n      - name: Build tarball and wheels\n        run: |\n          git clean -xdf\n          git restore -SW .\n          python -m build\n\n      - name: Check built artifacts\n        run: |\n          python -m twine check --strict dist/*\n          pwd\n          if [ -f dist/xarray-0.0.0.tar.gz ]; then\n              echo \"❌ INVALID VERSION NUMBER\"\n              exit 1\n          else\n              echo \"✅ Looks good\"\n          fi\n\n      - name: Upload wheel\n        uses: scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # 0.5.0\n        with:\n          anaconda_nightly_upload_token: ${{ secrets.ANACONDA_NIGHTLY }}\n          artifacts_path: dist\n", "state": "active", "repository": "pydata/xarray"}
{"mined_at": "2024-07-15T15:47:57.909773", "created_at": "2024-04-02T02:07:13+02:00", "updated_at": "2024-04-03T23:29:37+02:00", "name": "Slow Hypothesis CI", "path": ".github/workflows/hypothesis.yaml", "contents": "name: Slow Hypothesis CI\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - \"main\"\n    types: [opened, reopened, synchronize, labeled]\n  schedule:\n    - cron: \"0 0 * * *\" # Daily “At 00:00” UTC\n  workflow_dispatch: # allows you to trigger manually\n\nenv:\n  FORCE_COLOR: 3\n\njobs:\n  detect-ci-trigger:\n    name: detect ci trigger\n    runs-on: ubuntu-latest\n    if: |\n      github.repository == 'pydata/xarray'\n      && (github.event_name == 'push' || github.event_name == 'pull_request')\n    outputs:\n      triggered: ${{ steps.detect-trigger.outputs.trigger-found }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - uses: xarray-contrib/ci-trigger@v1\n        id: detect-trigger\n        with:\n          keyword: \"[skip-ci]\"\n\n  hypothesis:\n    name: Slow Hypothesis Tests\n    runs-on: \"ubuntu-latest\"\n    needs: detect-ci-trigger\n    if: |\n        always()\n        && (\n            needs.detect-ci-trigger.outputs.triggered == 'false'\n            && ( (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')\n                || contains( github.event.pull_request.labels.*.name, 'run-slow-hypothesis'))\n        )\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    env:\n      CONDA_ENV_FILE: ci/requirements/environment.yml\n      PYTHON_VERSION: \"3.12\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n\n      - name: set environment variables\n        run: |\n          echo \"TODAY=$(date  +'%Y-%m-%d')\" >> $GITHUB_ENV\n\n      - name: Setup micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/requirements/environment.yml\n          environment-name: xarray-tests\n          create-args: >-\n            python=${{env.PYTHON_VERSION}}\n            pytest-reportlog\n          cache-environment: true\n          cache-environment-key: \"${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}\"\n\n      - name: Install xarray\n        run: |\n          python -m pip install --no-deps -e .\n      - name: Version info\n        run: |\n          conda info -a\n          conda list\n          python xarray/util/print_versions.py\n\n      # https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache\n      - name: Restore cached hypothesis directory\n        id: restore-hypothesis-cache\n        uses: actions/cache/restore@v4\n        with:\n          path: .hypothesis/\n          key: cache-hypothesis-${{ runner.os }}-${{ github.run_id }}\n          restore-keys: |\n            cache-hypothesis-\n\n      - name: Run slow Hypothesis tests\n        if: success()\n        id: status\n        run: |\n           python -m pytest --hypothesis-show-statistics --run-slow-hypothesis properties/*.py \\\n             --report-log output-${{ matrix.python-version }}-log.jsonl\n\n      # explicitly save the cache so it gets updated, also do this even if it fails.\n      - name: Save cached hypothesis directory\n        id: save-hypothesis-cache\n        if: always() && steps.status.outcome != 'skipped'\n        uses: actions/cache/save@v4\n        with:\n          path: .hypothesis/\n          key: cache-hypothesis-${{ runner.os }}-${{ github.run_id }}\n\n      - name: Generate and publish the report\n        if: |\n          failure()\n          && steps.status.outcome == 'failure'\n          && github.event_name == 'schedule'\n          && github.repository_owner == 'pydata'\n        uses: xarray-contrib/issue-from-pytest-log@v1\n        with:\n          log-path: output-${{ matrix.python-version }}-log.jsonl\n          issue-title: \"Nightly Hypothesis tests failed\"\n          issue-label: \"topic-hypothesis\"\n", "state": "active", "repository": "pydata/xarray"}
{"mined_at": "2024-07-15T15:48:00.107252", "created_at": "2020-03-24T01:09:27+01:00", "updated_at": "2020-03-24T01:09:27+01:00", "name": "Close stale issues", "path": ".github/workflows/stale.yml", "contents": "name: Close stale issues\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v1\n        with:\n          repo-token: ${{ secrets.JINA_DEV_BOT }}\n          stale-issue-message: '@jina-ai/product This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days'\n          days-before-stale: 90\n          days-before-close: 14", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:01.343392", "created_at": "2020-03-26T18:04:04+01:00", "updated_at": "2021-08-22T17:50:43+02:00", "name": "CD", "path": ".github/workflows/cd.yml", "contents": "name: CD\n\non:\n  push:\n    branches:\n      - master\n\n#on:\n#  push:\n#    branches-ignore:\n#      - '**'  # temporally ignore all\n\n\njobs:\n  update-schema:\n    if: |\n      !startsWith(github.event.head_commit.message, 'chore') &&\n      !startsWith(github.event.head_commit.message, 'build: hotfix') &&\n      !endsWith(github.event.head_commit.message, 'reformatted by jina-dev-bot')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n#          submodules: true\n          fetch-depth: 100\n      - run: |\n          truncate --size=24KB README.md > README-trunc.md\n      - uses: peter-evans/dockerhub-description@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_DEVBOT_USER  }}\n          password: ${{ secrets.DOCKERHUB_DEVBOT_PWD }}\n          repository: jinaai/jina\n          readme-filepath: ./README-trunc.md\n      - uses: actions/checkout@v2.5.0\n        with:\n          repository: jina-ai/api\n          path: schema\n          token: ${{ secrets.JINA_DEV_BOT }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - uses: actions/setup-node@v2\n        with:\n          node-version: '14'\n      - run: |\n          pip install . --no-cache-dir\n          pip install docarray==0.21.0 # only valid for this version. I think we should remove this schema loading\n          JINA_VERSION=$(sed -n '/^__version__/p' ./jina/__init__.py | cut -d \\' -f2)-master\n          echo \"JINA_VERSION=${JINA_VERSION}\" >> $GITHUB_ENV\n          cd schema\n          mkdir -p schemas\n          jina export schema --schema-path schemas/\"$JINA_VERSION.json\" schemas/master.json schemas/master --yaml-path \"$JINA_VERSION.yml\" master.yml --json-path \"$JINA_VERSION.json\" master.json master\n          python ../scripts/get-openapi-schemas.py\n          npm install --prefix ~ snippet-enricher-cli\n          ~/node_modules/.bin/snippet-enricher-cli --input=gateway.json --targets=shell_curl > gateway-with-code.json\n          cd -\n      - name: redoc-cli-gateway\n        uses: seeebiii/redoc-cli-github-action@v10\n        with:\n          args: 'bundle schema/gateway-with-code.json -o rest.html'\n      - name: push-to-api-repo\n        run: |\n          mkdir -p schema/rest/\n          cp rest.html schema/rest/master.html\n          cp schema/gateway.json schema/rest/master.json\n          rm schema/gateway.json schema/gateway-with-code.json\n          cd schema\n          git config --local user.email \"dev-bot@jina.ai\"\n          git config --local user.name \"Jina Dev Bot\"\n          if [[ `git status --porcelain` ]]; then\n            git pull && git add . && git commit -m \"update ${{env.JINA_VERSION}} due to ${{github.event_name}} on ${{github.repository}}\" && git push\n          fi\n\n  update-docker:\n    needs: update-schema\n    runs-on: ubuntu-latest\n    steps:\n      - uses: benc-uk/workflow-dispatch@v1\n        with:\n          workflow: Manual Docker Build\n          inputs: '{ \"release_token\": \"${{ env.release_token }}\", \"triggered_by\": \"CD\"}'\n          token: ${{ secrets.JINA_DEV_BOT }}\n        env:\n          release_token: ${{ secrets.JINA_CORE_RELEASE_TOKEN }}\n\n  prep-testbed:\n    runs-on: ubuntu-latest\n    needs: update-schema\n    env:\n      release_token: ${{ secrets.JINA_CORE_RELEASE_TOKEN }}\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - id: set-matrix\n        run: |\n          sudo apt-get install jq\n          export value=$(bash scripts/get-all-test-paths.sh)\n          echo \"matrix=$value\" >> $GITHUB_OUTPUT\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n\n  docarray-v-two-test:\n    needs: prep-testbed\n    runs-on: ubuntu-latest\n    env:\n      JINA_RANDOM_PORT_MIN: 16384\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        protobuf-version: ['==3.19.6', '']\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set up Golang\n        uses: actions/setup-go@v2\n        with:\n          go-version: 1.19.5\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          pip install git+https://github.com/jina-ai/setuptools-golang.git@feat-align-with-alaeddine-code\n          pip install cibuildwheel\n\n      - name: Build wheels with setuptools-golang-build-manylinux-wheel\n        run: |\n          setuptools-golang-build-manylinux-wheels --pythons cp38-cp38\n      - name: Prepare environment\n        run: |\n          docker build -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          WHEEL_FILE=$(ls dist/*whl)\n          pip install \"$WHEEL_FILE[common,devel,test]\" --no-cache-dir\n          if [[ \"${{ matrix.protobuf-version }}\" == \"==3.19.6\" ]]; then\n            pip install -U protobuf${{ matrix.protobuf-version }} grpcio==1.47.5 grpcio-reflection==1.47.5 grpcio-health-checking==1.47.5\n          else\n            pip install -U protobuf${{ matrix.protobuf-version }}\n          fi\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n      - name: Test\n        id: test\n        run: |\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/unit/serve/runtimes/test_helper.py\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/docarray_v2/test_v2.py\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/deployment_http_composite\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/docarray_v2/test_singleton.py\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/docarray_v2/test_parameters_as_pydantic.py\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/docarray_v2/test_streaming.py\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/docarray_v2/csp\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/docarray_v2/docker\n          echo \"flag it as jina for codeoverage\"\n          echo \"codecov_flag=jina\" >> $GITHUB_OUTPUT\n        timeout-minutes: 45\n        env:\n          JINA_AUTH_TOKEN: \"${{ secrets.JINA_AUTH_TOKEN }}\"\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  stateful-docarray-v-two-test:\n    needs: prep-testbed\n    runs-on: ubuntu-latest\n    env:\n      JINA_RANDOM_PORT_MIN: 16384\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        protobuf-version: ['==3.19.6', '']\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set up Golang\n        uses: actions/setup-go@v2\n        with:\n          go-version: 1.19.5\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          pip install git+https://github.com/jina-ai/setuptools-golang.git@feat-align-with-alaeddine-code\n          pip install cibuildwheel\n\n      - name: Build wheels with setuptools-golang-build-manylinux-wheel\n        run: |\n          setuptools-golang-build-manylinux-wheels --pythons cp38-cp38\n      - name: Prepare environment\n        run: |\n          docker build -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          WHEEL_FILE=$(ls dist/*whl)\n          pip install \"$WHEEL_FILE[common,devel,test]\" --no-cache-dir\n          if [[ \"${{ matrix.protobuf-version }}\" == \"==3.19.6\" ]]; then\n            pip install -U protobuf${{ matrix.protobuf-version }} grpcio==1.47.5 grpcio-reflection==1.47.5 grpcio-health-checking==1.47.5\n          else\n            pip install -U protobuf${{ matrix.protobuf-version }}\n          fi\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n      - name: Test stateful\n        id: test_stateful\n        run: |\n          JINA_LOG_LEVEL=DEBUG JINA_RANDOM_PORT_MAX=\"60535\" pytest --suppress-no-test-exit-code --maxfail 1 --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/stateful\n          echo \"flag it as jina for codeoverage\"\n          echo \"codecov_flag=jina\" >> $GITHUB_OUTPUT\n        timeout-minutes: 30\n        env:\n          JINA_AUTH_TOKEN: \"${{ secrets.JINA_AUTH_TOKEN }}\"\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n\n  mark-dev-N:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 200\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n\n      - id: computedevdelta\n        run: |\n          git fetch --depth=200\n          LAST_VER=$(git tag -l | sort -V | tail -n1)\n          COMMITS_SINCE_LAST_VER=$(git rev-list $LAST_VER..HEAD --count)\n          echo \"devdelta=$COMMITS_SINCE_LAST_VER\" >> $GITHUB_OUTPUT\n          INIT_FILE='jina/__init__.py'\n          RELEASE_VER=$(sed -n '/^__version__/p' $INIT_FILE | cut -d \\' -f2)\n          echo \"LAST_VER $LAST_VER\"\n          echo \"COMMITS_SINCE_LAST_VER $COMMITS_SINCE_LAST_VER\"\n          echo \"RELEASE_VER $RELEASE_VER\"\n          echo \"devdelta=$COMMITS_SINCE_LAST_VER\" >> $GITHUB_OUTPUT\n          echo \"releasever=$RELEASE_VER\" >> $GITHUB_OUTPUT\n    outputs:\n      devdelta: ${{ steps.computedevdelta.outputs.devdelta }}\n      releasever: ${{ steps.computedevdelta.outputs.releasever }}\n\n  # Build the wheels for Linux and macOS for Python 3.8 and newer\n  build-wheels:\n    runs-on: ${{ matrix.os }}\n    needs: [mark-dev-N]\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        include:\n          # linux\n          - os: ubuntu-latest\n            python: '3.7'\n            python-manylinux-tag: \"cp37-cp37m\"\n          - os: ubuntu-latest\n            python: '3.8'\n            python-manylinux-tag: \"cp38-cp38\"\n          - os: ubuntu-latest\n            python: '3.9'\n            python-manylinux-tag: \"cp39-cp39\"\n          - os: ubuntu-latest\n            python: '3.10'\n            python-manylinux-tag: \"cp310-cp310\"\n          - os: ubuntu-latest\n            python: '3.11'\n            python-manylinux-tag: \"cp311-cp311\"\n\n          # MacOS emulated\n          - os: macos-latest\n            python: '3.8'\n            python-cibuildwheels: '38'\n            platform_id: macosx_x86_64\n            arch: x86_64\n            goarch: amd64\n          - os: macos-latest\n            python: '3.9'\n            python-cibuildwheels: '39'\n            platform_id: macosx_x86_64\n            arch: x86_64\n            goarch: amd64\n          - os: macos-latest\n            python: '3.10'\n            python-cibuildwheels: '310'\n            platform_id: macosx_x86_64\n            arch: x86_64\n            goarch: amd64\n          - os: macos-latest\n            python: '3.11'\n            python-cibuildwheels: '311'\n            platform_id: macosx_x86_64\n            arch: x86_64\n            goarch: amd64\n\n          # MacOS native\n          - os: macos-latest\n            python: '3.8'\n            python-cibuildwheels: '38'\n            platform_id: macosx_arm64\n            arch: arm64\n            goarch: arm64\n          - os: macos-latest\n            python: '3.9'\n            python-cibuildwheels: '39'\n            platform_id: macosx_arm64\n            arch: arm64\n            goarch: arm64\n          - os: macos-latest\n            python: '3.10'\n            python-cibuildwheels: '310'\n            platform_id: macosx_arm64\n            arch: arm64\n            goarch: arm64\n          - os: macos-latest\n            python: '3.11'\n            python-cibuildwheels: '311'\n            platform_id: macosx_arm64\n            arch: arm64\n            goarch: arm64\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Set up Golang\n        uses: actions/setup-go@v2\n        with:\n          go-version: 1.19.5\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          pip install git+https://github.com/jina-ai/setuptools-golang.git@feat-align-with-alaeddine-code\n          pip install cibuildwheel\n\n      - name: Update version\n        run: |\n          DEVDELTA=${{needs.mark-dev-N.outputs.devdelta}}\n          RELEASE_VER=${{needs.mark-dev-N.outputs.releasever}}\n          INIT_FILE='jina/__init__.py'\n          DEV_VER=$RELEASE_VER\".dev\"$DEVDELTA\n          echo \"DEVDELTA $DEVDELTA\"\n          echo \"RELEASE_VER $RELEASE_VER\"\n          echo \"DEV_VER $DEV_VER\"\n          if [[ \"${{ matrix.os }}\" == \"macos-latest\" ]]; then\n            sed -i '' '/'\"${RELEASE_VER}\"'/s/.*/'\"__version__ = '${DEV_VER}'\"'/' \"${INIT_FILE}\"\n          else\n            sed -i '/'\"${RELEASE_VER}\"'/s/.*/'\"__version__ = '${DEV_VER}'\"'/' \"${INIT_FILE}\"\n          fi\n\n      - name: Build wheels with setuptools-golang-build-manylinux-wheel\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          setuptools-golang-build-manylinux-wheels --pythons ${{ matrix.python-manylinux-tag }}\n\n      - name: Build wheels with cibuildwheels on macos\n        env:\n          CIBW_BUILD: cp${{ matrix.python-cibuildwheels }}-${{ matrix.platform_id }}\n          CIBW_ARCHS: ${{ matrix.arch }}\n          CIBW_TEST_COMMAND: python -c \"import jina; import jraft\"\n          CIBW_BUILD_VERBOSITY: 1\n          GOARCH: ${{ matrix.goarch }}\n          CGO_ENABLED: 1\n        if: ${{ matrix.os == 'macos-latest' }}\n        run: |\n          python -m cibuildwheel --output-dir dist\n\n      - name: Upload wheels as artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          path: dist/*.whl\n\n# comment for now, do it manually if needed\n  # pre-release:\n  #   if: |\n  #     !startsWith(github.event.head_commit.message, 'chore') &&\n  #     !startsWith(github.event.head_commit.message, 'build: hotfix') &&\n  #     !endsWith(github.event.head_commit.message, 'reformatted by jina-dev-bot')\n  #   needs: [build-wheels, mark-dev-N]\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - uses: actions/checkout@v2.5.0\n  #       with:\n  #         #          submodules: true\n  #         fetch-depth: 100\n  #     - run: |\n  #         truncate --size=24KB README.md > README-trunc.md\n  #     - uses: actions/download-artifact@v3\n  #       with:\n  #         name: artifact\n  #         path: dist\n\n  #     - name: Update version\n  #       run: |\n  #         DEVDELTA=${{needs.mark-dev-N.outputs.devdelta}}\n  #         RELEASE_VER=${{needs.mark-dev-N.outputs.releasever}}\n  #         INIT_FILE='jina/__init__.py'\n  #         DEV_VER=$RELEASE_VER\".dev\"$DEVDELTA\n  #         echo \"DEVDELTA $DEVDELTA\"\n  #         echo \"RELEASE_VER $RELEASE_VER\"\n  #         echo \"DEV_VER $DEV_VER\"\n  #         sed -i '/'\"${RELEASE_VER}\"'/s/.*/'\"__version__ = '${DEV_VER}'\"'/' \"${INIT_FILE}\"\n  #     - name: Pre-release (.devN)\n  #       run: |\n  #         pip install twine wheel\n  #         ./scripts/release.sh\n  #       env:\n  #         TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n  #         TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n  #         JINA_SLACK_WEBHOOK: ${{ secrets.JINA_SLACK_WEBHOOK }}\n\n  core-test:\n    needs: prep-testbed\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        test-path: ${{fromJson(needs.prep-testbed.outputs.matrix)}}\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set up Golang\n        uses: actions/setup-go@v2\n        with:\n          go-version: 1.19.5\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          pip install git+https://github.com/jina-ai/setuptools-golang.git@feat-align-with-alaeddine-code\n          pip install cibuildwheel\n\n      - name: Build wheels with setuptools-golang-build-manylinux-wheel\n        run: |\n          setuptools-golang-build-manylinux-wheels --pythons cp38-cp38\n      - name: Prepare environment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          WHEEL_FILE=$(ls dist/*whl)\n          pip install \"$WHEEL_FILE[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n      - name: Test\n        id: test\n        run: |\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/docarray_v2/*' --ignore-glob='tests/integration/stateful/*' --ignore-glob='tests/integration/hub_usage/dummyhub*' ${{ matrix.test-path }}\n          echo \"flag it as jina for codeoverage\"\n          echo \"codecov_flag=jina\" >> $GITHUB_OUTPUT\n        timeout-minutes: 30\n        env:\n          JINAHUB_USERNAME: ${{ secrets.JINAHUB_USERNAME }}\n          JINAHUB_PASSWORD: ${{ secrets.JINAHUB_PASSWORD }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          JINA_AUTH_TOKEN: \"${{ secrets.JINA_AUTH_TOKEN }}\"\n      - name: Check file existence\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  import-test:\n    runs-on: ubuntu-latest\n    needs: update-schema\n    strategy:\n      fail-fast: false\n      matrix:\n        core: ['', 'true']\n        perf: ['', 'true']\n        python-env: ['3.7', '3.8', '3.9', '3.10', '3.11']\n        exclude: \n          - core: 'true'\n            perf: 'true'\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-env }}\n      - name: Prepare enviroment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install --no-cache-dir .\n        env:\n          JINA_PIP_INSTALL_CORE: ${{ matrix.core }}\n          JINA_PIP_INSTALL_PERF: ${{ matrix.perf }}\n      - name: Test basic import\n        run: python -c 'from jina import Executor,requests,Client,Flow,dynamic_batching,Document,DocumentArray'\n  docker-image-test:\n    needs: update-schema\n    runs-on: ubuntu-latest\n    services:\n      registry:\n        image: registry:2\n        ports:\n          - 5000:5000\n    strategy:\n      fail-fast: false\n      matrix:\n        test-arch: [\"linux/amd64\", \"linux/arm64\"]\n    steps:\n      #      - name: Cancel Previous Runs\n      #        uses: styfle/cancel-workflow-action@0.9.0\n      #        with:\n      #          access_token: ${{ github.token }}\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n        with:\n          install: true\n          driver-opts: network=host\n      - run: |\n          docker run --privileged --rm tonistiigi/binfmt --uninstall qemu-aarch64\n          docker run --rm --privileged tonistiigi/binfmt --install all\n      - name: Build and test\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          file: Dockerfiles/debianx.Dockerfile\n          platforms: ${{ matrix.test-arch }}\n          push: true\n          tags: localhost:5000/jina/multiarch:latest\n          target: jina\n      - run: |\n          docker run --platform ${{ matrix.test-arch }} localhost:5000/jina/multiarch:latest -v\n\n  hub-test:\n    needs: update-schema\n    runs-on: ubuntu-latest\n    if: ${{ !github.event.pull_request.head.repo.fork }}\n    steps:\n      #      - name: Cancel Previous Runs\n      #        uses: styfle/cancel-workflow-action@0.9.0\n      #        with:\n      #          access_token: ${{ github.token }}\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Test hubapp with hubpods\n        run: |\n          ./tests/jinahub/test_integration.sh\n        timeout-minutes: 30\n        env:\n          JINAHUB_USERNAME: ${{ secrets.JINAHUB_USERNAME }}\n          JINAHUB_PASSWORD: ${{ secrets.JINAHUB_PASSWORD }}\n\n  k8s-flow-test:\n    needs: update-schema\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n          curl -LO https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl\n          sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test k8s Flow\n        run: |\n          export LINKERD2_VERSION=stable-2.11.4\n          curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install | sh\n          pytest -v -s --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml ./tests/k8s/test_k8s_flow.py\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  k8s-deployment-test:\n    needs: update-schema\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n          curl -LO https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl\n          sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test k8s Deployment\n        run: |\n          export LINKERD2_VERSION=stable-2.11.4\n          curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install | sh\n          pytest -v -s --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml ./tests/k8s/test_k8s_deployment.py\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  k8s-graceful-test:\n    needs: update-schema\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n          curl -LO https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl\n          sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test graceful request handling on k8s\n        run: |\n          export LINKERD2_VERSION=stable-2.11.4\n          curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install | sh\n          pytest -v -s --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml ./tests/k8s/test_k8s_graceful_request_handling.py\n        timeout-minutes: 45\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  k8s-failures-test:\n    needs: update-schema\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n          curl -LO https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl\n          sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test k8s failures\n        run: |\n          export LINKERD2_VERSION=stable-2.11.4\n          curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install | sh\n          curl --proto '=https' --tlsv1.2 -sSfL https://linkerd.github.io/linkerd-smi/install | sh\n          pytest -v -s --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml ./tests/k8s/test_k8s_failures.py\n        timeout-minutes: 45\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  k8s-otel-test:\n    needs: update-schema\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n          curl -LO https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl\n          sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test K8s with OpenTelemetry\n        run: |\n          pytest -v -s --cov=jina --cov-report=xml ./tests/k8s_otel\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  docker-compose-test:\n    needs: update-schema\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test docker compose\n        run: |\n          pytest -v -s --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml ./tests/docker_compose/test_*.py\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  benchmark-pre-release:\n    runs-on: ubuntu-latest\n    needs: [update-schema, mark-dev-N]\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n          fetch-depth: 200\n      - run: |\n          DEVDELTA=${{needs.mark-dev-N.outputs.devdelta}}\n          RELEASE_VER=${{needs.mark-dev-N.outputs.releasever}}\n          NEXT_VER=$RELEASE_VER\".dev\"$COMMITS_SINCE_LAST_VER\n          echo \"NEXT_VER=$NEXT_VER\" >> $GITHUB_ENV\n      - uses: benc-uk/workflow-dispatch@v1\n        with:\n          token: ${{ secrets.JINA_DEV_BOT }}\n          workflow: Benchmark Jina\n          repo: jina-ai/jina-terraform\n          ref: \"main\"\n          inputs: '{ \"pypi_releases\": \"[\\\"${{ env.NEXT_VER }}\\\"]\"}'\n  # just for blocking the merge until all parallel core-test are successful\n  success-all-steps:\n    runs-on: ubuntu-latest\n    needs: [core-test, docarray-v-two-test, stateful-docarray-v-two-test, import-test, hub-test, k8s-flow-test, k8s-deployment-test, k8s-graceful-test, k8s-failures-test, k8s-otel-test, docker-compose-test, docker-image-test, benchmark-pre-release, update-schema, update-docker] #, pre-release]\n    if: always()\n    steps:\n      - uses: technote-space/workflow-conclusion-action@v2\n      - name: Check Failure\n        if: env.WORKFLOW_CONCLUSION == 'failure'\n        run: exit 1\n      - name: Success\n        if: ${{ success() }}\n        run: echo \"All Done\"\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:02.393501", "created_at": "2020-03-26T22:31:28+01:00", "updated_at": "2023-07-24T17:59:33+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - 'README.md'\n\n#on:\n#  push:\n#    branches-ignore:\n#      - '**'  # temporally ignore all\njobs:\n  commit-lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n          fetch-depth: 0\n      - uses: wagoid/commitlint-github-action@v4\n\n  lint-flake-8:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Lint with flake8\n        run: |\n          pip install flake8\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude .git,__pycache__,docs/source/conf.py,old,build,dist,tests/,jina/resources/,jina/proto/docarray_v1,jina/proto/docarray_v2,jina/serve/consensus/add_voter/pb,jina/serve/consensus/add_voter/pb2\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude .git,__pycache__,docs/source/conf.py,old,build,dist,tests/,jina/proto/docarray_v1,jina/proto/docarray_v2,jina/serve/consensus/add_voter/pb,jina/serve/consensus/add_voter/pb2\n\n  check-docstring:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n      - id: file_changes\n        uses: Ana06/get-changed-files@v1.2\n      - name: docstring check with darglint and pydocstyle\n        run: ./scripts/docstrings_lint.sh\n        env:\n          CHANGED_FILES: ${{ steps.file_changes.outputs.added_modified }}\n\n  check-black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - id: file_changes\n        uses: Ana06/get-changed-files@v1.2\n      - name: check black\n        run: ./scripts/black.sh\n        env:\n          CHANGED_FILES: ${{ steps.file_changes.outputs.added_modified }}\n\n  code-injection:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n        if: ${{ !github.event.pull_request.head.repo.fork }}\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        if: ${{ !github.event.pull_request.head.repo.fork }}\n        with:\n          python-version: 3.8\n      - name: Styling\n        id: styling\n        if: ${{ !github.event.pull_request.head.repo.fork }}\n        run: |\n          git config --local user.email \"dev-bot@jina.ai\"\n          git config --local user.name \"Jina Dev Bot\"\n          pip install \".[devel,black]\"\n          pip install setuptools\n          cd scripts && bash ./devbot.sh && cd -\n          if [[ -z $(git status -s) ]]\n          then\n            echo \"tree is clean\"\n          else\n            git add -u\n            git commit -m \"style: fix overload and cli autocomplete\"\n            echo \"IS_CHANGED=YES\" >> $GITHUB_OUTPUT\n          fi\n      - name: Push changes to head ref\n        uses: ad-m/github-push-action@v0.6.0\n        if: ${{ !github.event.pull_request.head.repo.fork }}\n        with:\n          github_token: ${{ secrets.JINA_DEV_BOT }}\n          branch: ${{ github.head_ref }}\n      - name: Fail this pipelint\n        if: ${{ steps.styling.outputs.IS_CHANGED == 'YES' && !github.event.pull_request.head.repo.fork }}\n        run: exit 1\n\n  docker-image-test:\n    needs: [code-injection]\n    runs-on: ubuntu-latest\n    services:\n      registry:\n        image: registry:2\n        ports:\n          - 5000:5000\n    strategy:\n      fail-fast: false\n      matrix:\n        test-arch: [\"linux/amd64\", \"linux/arm64\"]\n    steps:\n#      - name: Cancel Previous Runs\n#        uses: styfle/cancel-workflow-action@0.9.0\n#        with:\n#          access_token: ${{ github.token }}\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n        with:\n          install: true\n          driver-opts: network=host\n      - run: |\n          docker run --privileged --rm tonistiigi/binfmt --uninstall qemu-aarch64\n          docker run --rm --privileged tonistiigi/binfmt --install all\n      - name: Build and test\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          file: Dockerfiles/debianx.Dockerfile\n          platforms: ${{ matrix.test-arch }}\n          push: true\n          tags: localhost:5000/jina/multiarch:latest\n          target: jina\n      - run: |\n          docker run --platform ${{ matrix.test-arch }} localhost:5000/jina/multiarch:latest -v\n\n  hub-test:\n    runs-on: ubuntu-latest\n    needs: [lint-flake-8, code-injection]\n    if: ${{ !github.event.pull_request.head.repo.fork }}\n    steps:\n#      - name: Cancel Previous Runs\n#        uses: styfle/cancel-workflow-action@0.9.0\n#        with:\n#          access_token: ${{ github.token }}\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Test hubapp with hubpods\n        run: |\n          ./tests/jinahub/test_integration.sh\n        timeout-minutes: 30\n        env:\n          JINAHUB_USERNAME: ${{ secrets.JINAHUB_USERNAME }}\n          JINAHUB_PASSWORD: ${{ secrets.JINAHUB_PASSWORD }}\n\n  k8s-flow-test:\n    needs: [lint-flake-8, code-injection]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n          curl -LO https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl\n          sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test k8s Flow\n        run: |\n          export LINKERD2_VERSION=stable-2.11.4\n          curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install | sh\n          pytest -v -s --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml ./tests/k8s/test_k8s_flow.py\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  k8s-deployment-test:\n    needs: [lint-flake-8, code-injection]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n          curl -LO https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl\n          sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test k8s Deployment\n        run: |\n          export LINKERD2_VERSION=stable-2.11.4\n          curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install | sh\n          pytest -v -s --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml ./tests/k8s/test_k8s_deployment.py\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  k8s-graceful-test:\n    needs: [lint-flake-8, code-injection]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n          curl -LO https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl\n          sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test graceful request handling on k8s\n        run: |\n          export LINKERD2_VERSION=stable-2.11.4\n          curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install | sh\n          pytest -v -s --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml ./tests/k8s/test_k8s_graceful_request_handling.py\n        timeout-minutes: 45\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  k8s-failures-test:\n    needs: [ lint-flake-8, code-injection ]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n          curl -LO https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl\n          sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test k8s failures\n        run: |\n          export LINKERD2_VERSION=stable-2.11.4\n          curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install | sh\n          curl --proto '=https' --tlsv1.2 -sSfL https://linkerd.github.io/linkerd-smi/install | sh\n          pytest -v -s --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml ./tests/k8s/test_k8s_failures.py\n        timeout-minutes: 45\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  k8s-otel-test:\n    needs: [lint-flake-8, code-injection]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n          curl -LO https://dl.k8s.io/release/v1.21.1/bin/linux/amd64/kubectl\n          sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test K8s with OpenTelemetry\n        run: |\n          pytest -v -s --cov=jina --cov-report=xml ./tests/k8s_otel\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n\n  docker-compose-test:\n    needs: [lint-flake-8, code-injection]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test docker compose\n        run: |\n          pytest -v -s --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml ./tests/docker_compose/test_*.py\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  prep-testbed:\n    runs-on: ubuntu-latest\n    needs: [ lint-flake-8, code-injection]\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - id: set-matrix\n        run: |\n          sudo apt-get install jq\n          export value=$(bash scripts/get-all-test-paths.sh)\n          echo \"matrix=$value\" >> $GITHUB_OUTPUT\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n\n  docarray-v-two-test:\n    needs: prep-testbed\n    runs-on: ubuntu-latest\n    env:\n      JINA_RANDOM_PORT_MIN: 16384\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        protobuf-version: ['==3.19.6', '']\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set up Golang\n        uses: actions/setup-go@v2\n        with:\n          go-version: 1.19.5\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          pip install git+https://github.com/jina-ai/setuptools-golang.git@feat-align-with-alaeddine-code\n          pip install cibuildwheel\n\n      - name: Build wheels with setuptools-golang-build-manylinux-wheel\n        run: |\n          setuptools-golang-build-manylinux-wheels --pythons cp38-cp38\n      - name: Prepare environment\n        run: |\n          docker build -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          WHEEL_FILE=$(ls dist/*whl)\n          pip install \"$WHEEL_FILE[common,devel,test]\" --no-cache-dir\n          if [[ \"${{ matrix.protobuf-version }}\" == \"==3.19.6\" ]]; then\n            pip install -U protobuf${{ matrix.protobuf-version }} grpcio==1.47.5 grpcio-reflection==1.47.5 grpcio-health-checking==1.47.5\n          else\n            pip install -U protobuf${{ matrix.protobuf-version }}\n          fi\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n      - name: Test\n        id: test\n        run: |\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/unit/serve/runtimes/test_helper.py\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/docarray_v2/test_v2.py\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/deployment_http_composite\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/docarray_v2/test_singleton.py\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/docarray_v2/test_parameters_as_pydantic.py\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/docarray_v2/test_streaming.py\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/docarray_v2/csp\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/docarray_v2/docker\n          echo \"flag it as jina for codeoverage\"\n          echo \"codecov_flag=jina\" >> $GITHUB_OUTPUT\n        timeout-minutes: 45\n        env:\n          JINA_AUTH_TOKEN: \"${{ secrets.JINA_AUTH_TOKEN }}\"\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n\n  stateful-docarray-v-two-test:\n    needs: prep-testbed\n    runs-on: ubuntu-latest\n    env:\n      JINA_RANDOM_PORT_MIN: 16384\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        protobuf-version: ['==3.19.6', '']\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set up Golang\n        uses: actions/setup-go@v2\n        with:\n          go-version: 1.19.5\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          pip install git+https://github.com/jina-ai/setuptools-golang.git@feat-align-with-alaeddine-code\n          pip install cibuildwheel\n\n      - name: Build wheels with setuptools-golang-build-manylinux-wheel\n        run: |\n          setuptools-golang-build-manylinux-wheels --pythons cp38-cp38\n      - name: Prepare environment\n        run: |\n          docker build -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          WHEEL_FILE=$(ls dist/*whl)\n          pip install \"$WHEEL_FILE[common,devel,test]\" --no-cache-dir\n          if [[ \"${{ matrix.protobuf-version }}\" == \"==3.19.6\" ]]; then\n            pip install -U protobuf${{ matrix.protobuf-version }} grpcio==1.47.5 grpcio-reflection==1.47.5 grpcio-health-checking==1.47.5\n          else\n            pip install -U protobuf${{ matrix.protobuf-version }}\n          fi\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n      - name: Test stateful\n        id: test_stateful\n        run: |\n          JINA_LOG_LEVEL=DEBUG JINA_RANDOM_PORT_MAX=\"60535\" pytest --suppress-no-test-exit-code --maxfail 1 --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' tests/integration/stateful\n          echo \"flag it as jina for codeoverage\"\n          echo \"codecov_flag=jina\" >> $GITHUB_OUTPUT\n        timeout-minutes: 30\n        env:\n          JINA_AUTH_TOKEN: \"${{ secrets.JINA_AUTH_TOKEN }}\"\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  # Build the wheels for Linux and macOS for Python 3.8 and newer\n  build-wheels:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        include:\n          # linux\n          - os: ubuntu-latest\n            python: '3.7'\n            python-manylinux-tag: \"cp37-cp37m\"\n          - os: ubuntu-latest\n            python: '3.8'\n            python-manylinux-tag: \"cp38-cp38\"\n          - os: ubuntu-latest\n            python: '3.9'\n            python-manylinux-tag: \"cp39-cp39\"\n          - os: ubuntu-latest\n            python: '3.10'\n            python-manylinux-tag: \"cp310-cp310\"\n          - os: ubuntu-latest\n            python: '3.11'\n            python-manylinux-tag: \"cp311-cp311\"\n\n          # MacOS emulated\n          - os: macos-latest\n            python: '3.8'\n            python-cibuildwheels: '38'\n            platform_id: macosx_x86_64\n            arch: x86_64\n            goarch: amd64\n          - os: macos-latest\n            python: '3.9'\n            python-cibuildwheels: '39'\n            platform_id: macosx_x86_64\n            arch: x86_64\n            goarch: amd64\n          - os: macos-latest\n            python: '3.10'\n            python-cibuildwheels: '310'\n            platform_id: macosx_x86_64\n            arch: x86_64\n            goarch: amd64\n          - os: macos-latest\n            python: '3.11'\n            python-cibuildwheels: '311'\n            platform_id: macosx_x86_64\n            arch: x86_64\n            goarch: amd64\n\n          # MacOS native\n          - os: macos-latest\n            python: '3.8'\n            python-cibuildwheels: '38'\n            platform_id: macosx_arm64\n            arch: arm64\n            goarch: arm64\n          - os: macos-latest\n            python: '3.9'\n            python-cibuildwheels: '39'\n            platform_id: macosx_arm64\n            arch: arm64\n            goarch: arm64\n          - os: macos-latest\n            python: '3.10'\n            python-cibuildwheels: '310'\n            platform_id: macosx_arm64\n            arch: arm64\n            goarch: arm64\n          - os: macos-latest\n            python: '3.11'\n            python-cibuildwheels: '311'\n            platform_id: macosx_arm64\n            arch: arm64\n            goarch: arm64\n\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Set up Golang\n        uses: actions/setup-go@v2\n        with:\n          go-version: 1.19.5\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          pip install git+https://github.com/jina-ai/setuptools-golang.git@feat-align-with-alaeddine-code\n          pip install cibuildwheel\n\n      - name: Build wheels with setuptools-golang-build-manylinux-wheel\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          setuptools-golang-build-manylinux-wheels --pythons ${{ matrix.python-manylinux-tag }}\n\n      - name: Build wheels with cibuildwheels on macos\n        env:\n          CIBW_BUILD: cp${{ matrix.python-cibuildwheels }}-${{ matrix.platform_id }}\n          CIBW_ARCHS: ${{ matrix.arch }}\n          CIBW_TEST_COMMAND: python -c \"import jina; import jraft\"\n          CIBW_BUILD_VERBOSITY: 1\n          GOARCH: ${{ matrix.goarch }}\n          CGO_ENABLED: 1\n        if: ${{ matrix.os == 'macos-latest' }}\n        run: |\n          python -m cibuildwheel --output-dir dist\n\n      - name: Upload wheels as artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          path: dist/*.whl\n\n  core-test:\n    needs: [prep-testbed]\n    runs-on: ubuntu-latest\n    env:\n      JINA_RANDOM_PORT_MIN: 16384\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        test-path: ${{fromJson(needs.prep-testbed.outputs.matrix)}}\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set up Golang\n        uses: actions/setup-go@v2\n        with:\n          go-version: 1.19.5\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          pip install git+https://github.com/jina-ai/setuptools-golang.git@feat-align-with-alaeddine-code\n          pip install cibuildwheel\n\n      - name: Build wheels with setuptools-golang-build-manylinux-wheel\n        run: |\n          setuptools-golang-build-manylinux-wheels --pythons cp38-cp38\n      - name: Prepare environment\n        run: |\n          docker build --build-arg DOCARRAY_VERSION=\"0.21.0\" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          WHEEL_FILE=$(ls dist/*whl)\n          pip install \"$WHEEL_FILE[all]\" --no-cache-dir\n          pip install docarray==0.21.0\n          jina\n          export JINA_LOG_LEVEL=\"ERROR\"\n      - name: Test\n        id: test\n        run: |\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --cov=jina --cov-report=xml --timeout=600 -v -s --ignore-glob='tests/integration/docarray_v2/*' --ignore-glob='tests/integration/stateful/*' --ignore-glob='tests/integration/hub_usage/dummyhub*' ${{ matrix.test-path }}\n          if [[ \"${{ matrix.test-path }}\" == *\"tests/integration/instrumentation/\" ]]\n          then\n            echo \"sleeping to let open telemetry export daemon thread expire by itself\"\n            sleep 2\n          fi\n          echo \"flag it as jina for codeoverage\"\n          echo \"codecov_flag=jina\" >> $GITHUB_OUTPUT\n        timeout-minutes: 30\n        env:\n          JINA_AUTH_TOKEN: \"${{ secrets.JINA_AUTH_TOKEN }}\"\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: ${{ matrix.test-path }}-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  import-test:\n    runs-on: ubuntu-latest\n    needs: [lint-flake-8, code-injection ]\n    strategy:\n      fail-fast: false\n      matrix:\n        core: ['', 'true']\n        perf: ['', 'true']\n        python-env: ['3.7', '3.8', '3.9', '3.10', '3.11']\n        exclude:\n          - core: 'true'\n            perf: 'true'\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Prepare enviroment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install --no-cache-dir .\n        env:\n          JINA_PIP_INSTALL_CORE: ${{ matrix.core }}\n          JINA_PIP_INSTALL_PERF: ${{ matrix.perf }}\n      - name: Test basic import\n        run: python -c 'from jina import Executor,requests,Client,Flow,dynamic_batching,Document,DocumentArray'\n      - name: Test import all\n        run: python -c 'from jina import *'\n\n  install-jina-ecosystem-test:\n    runs-on: ubuntu-latest\n    needs: [lint-flake-8, code-injection ]\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare enviroment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n\n          HUBBLE_VERSION=$(curl -L -s \"https://pypi.org/pypi/jina-hubble-sdk/json\" |  jq  -r '.releases | keys | .[]| select(startswith(\"0.\"))'  | sort -V | tail -1)\n          DOCARRAY_VERSION=$(curl -L -s \"https://pypi.org/pypi/docarray/json\" |  jq  -r '.releases | keys | .[]| select(startswith(\"0.\"))'  | sort -V | tail -1)\n          JCLOUD_VERSION=$(curl -L -s \"https://pypi.org/pypi/jcloud/json\" |  jq  -r '.releases | keys | .[]| select(startswith(\"0.\"))'  | sort -V | tail -1)\n\n          pip install . jcloud==$JCLOUD_VERSION docarray==$DOCARRAY_VERSION jina-hubble-sdk==$HUBBLE_VERSION\n        env:\n          JINA_PIP_INSTALL_CORE: ${{ matrix.core }}\n          JINA_PIP_INSTALL_PERF: ${{ matrix.perf }}\n\n      - name: Test basic import\n        run: python -c 'from jina import Executor,requests'\n      - name: Test import all\n        run: python -c 'from jina import *'\n\n\n  # just for blocking the merge until all parallel core-test are successful\n  success-all-test:\n    runs-on: ubuntu-latest\n    needs: [commit-lint, core-test, docarray-v-two-test, stateful-docarray-v-two-test, import-test, hub-test, k8s-flow-test, k8s-deployment-test, k8s-graceful-test, k8s-failures-test, k8s-otel-test, docker-compose-test, docker-image-test, check-docstring, check-black, code-injection, build-wheels]\n\n    if: always()\n    steps:\n      - uses: technote-space/workflow-conclusion-action@v2\n      - name: Check Failure\n        if: env.WORKFLOW_CONCLUSION == 'failure'\n        run: exit 1\n      - name: Success\n        if: ${{ success() }}\n        run: echo \"All Done\"\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:03.513606", "created_at": "2020-04-10T17:59:25+02:00", "updated_at": "2020-04-11T13:16:58+02:00", "name": "Release CD", "path": ".github/workflows/tag.yml", "contents": "name: Release CD\n\non:\n  push:\n    tags:\n      - \"v*\"  # push to version tags trigger the build\n\n#on:\n#  push:\n#    branches-ignore:\n#      - '**'  # temporally disable this action\n\njobs:\n  update-schema:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - uses: actions/checkout@v2.5.0\n        with:\n          repository: jina-ai/api\n          path: schema\n          token: ${{ secrets.JINA_DEV_BOT }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n      - uses: actions/setup-node@v2\n        with:\n          node-version: '14'\n      - run: |\n          JINA_VERSION=${GITHUB_REF/refs\\/tags\\/v/}\n          JINA_MINOR_VERSION=${JINA_VERSION%.*}\n          V_JINA_VERSION=${GITHUB_REF/refs\\/tags\\//}\n          echo \"JINA_VERSION=${JINA_VERSION}\" >> $GITHUB_ENV\n          echo \"V_JINA_VERSION=${V_JINA_VERSION}\" >> $GITHUB_ENV\n          echo \"JINA_MINOR_VERSION=${JINA_MINOR_VERSION}\" >> $GITHUB_ENV\n          pip install . --no-cache-dir\n          cd schema\n          mkdir -p schemas\n          jina export schema --schema-path schemas/\"$JINA_VERSION.json\" schemas/latest.json schemas/latest --yaml-path \"$JINA_VERSION.yml\" latest.yml --json-path \"$JINA_VERSION.json\" latest.json latest\n          python ../scripts/get-openapi-schemas.py\n          npm install --prefix ~ snippet-enricher-cli\n          ~/node_modules/.bin/snippet-enricher-cli --input=gateway.json --targets=shell_curl > gateway-with-code.json\n          cd -\n      - name: redoc-cli-gateway\n        uses: seeebiii/redoc-cli-github-action@v10\n        with:\n          args: 'bundle schema/gateway-with-code.json -o rest.html'\n      - name: push-to-api-repo\n        run: |\n          mkdir -p schema/rest/\n          cp rest.html schema/rest/index.html\n          cp rest.html schema/rest/${{env.JINA_VERSION}}.html\n          cp rest.html schema/rest/latest.html\n          cp schema/gateway.json schema/rest/${{env.JINA_VERSION}}.json\n          cp schema/gateway.json schema/rest/latest.json\n          rm schema/gateway.json schema/gateway-with-code.json\n          cd schema\n          git config --local user.email \"dev-bot@jina.ai\"\n          git config --local user.name \"Jina Dev Bot\"\n          git add . && git commit -m \"update ${{env.JINA_VERSION}} due to ${{github.event_name}} on ${{github.repository}}\" && git push\n\n  update-doc:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: benc-uk/workflow-dispatch@v1\n        with:\n          workflow: Manual Docs Build\n          token: ${{ secrets.JINA_DEV_BOT }}\n          inputs: '{ \"release_token\": \"${{ env.release_token }}\", \"triggered_by\": \"TAG\", \"build_old_docs\": \"TRUE\"}'\n        env:\n          release_token: ${{ secrets.JINA_CORE_RELEASE_TOKEN }}\n\n  update-docker:\n    needs: update-doc\n    runs-on: ubuntu-latest\n    steps:\n      - uses: benc-uk/workflow-dispatch@v1\n        with:\n          workflow: Manual Docker Build\n          token: ${{ secrets.JINA_DEV_BOT }}\n          inputs: '{ \"release_token\": \"${{ env.release_token }}\", \"triggered_by\": \"TAG\"}'\n        env:\n          release_token: ${{ secrets.JINA_CORE_RELEASE_TOKEN }}\n\n  create-release:\n    needs: update-doc\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2.5.0\n        with:\n          ref: 'master'\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n      - run: |\n          python scripts/get-last-release-note.py\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: 💫 Patch ${{ github.ref }}\n          body_path: 'tmp.md'\n          draft: false\n          prerelease: false\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:04.599057", "created_at": "2020-04-25T11:27:29+02:00", "updated_at": "2020-04-25T12:46:17+02:00", "name": "CLA", "path": ".github/workflows/cla.yml", "contents": "name: CLA\n\non:\n  push:\n    branches-ignore:\n      - '**'  # temporally ignore all\n\njobs:\n  cla-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"CLA Assistant\"\n        if: (github.event.comment.body == 'recheckcla' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'\n        # Alpha Release\n        uses: cla-assistant/github-action@v2.1.3-beta\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # the below token should have repo scope and must be manually added by you in the repository's secret\n          PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_TOKEN }}\n        with:\n          path-to-signatures: '.github/signatures/v1/cla.json'\n          path-to-document: 'https://github.com/jina-ai/jina/blob/master/.github/CLA.md'\n          branch: 'cla'\n          allowlist: jina-bot\n          signed-commit-message: '$contributorName has signed the CLA in #$pullRequestNo'\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:05.698701", "created_at": "2020-04-28T16:07:16+02:00", "updated_at": "2024-06-13T18:03:11+02:00", "name": "Manual Release", "path": ".github/workflows/force-release.yml", "contents": "name: Manual Release\n\non:\n  workflow_dispatch:\n    inputs:\n      release_token:\n        description: 'Your release token'\n        required: true\n      release_reason:\n        description: 'Short reason for this manual release'\n        required: true\n\njobs:\n  token-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check release token\n        id: token-check\n        run: | \n          touch SUCCESS\n        if: inputs.release_token == env.release_token\n        env:\n          release_token: ${{ secrets.JINA_CORE_RELEASE_TOKEN }}\n      - name: Fail release token\n        run: |\n          [[ -f SUCCESS ]]\n\n  # Build the wheels for Linux, Windows and macOS for Python 3.8 and newer\n  build-wheels:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        include:\n          # linux\n          - os: ubuntu-latest\n            python: '3.7'\n            python-manylinux-tag: \"cp37-cp37m\"\n          - os: ubuntu-latest\n            python: '3.8'\n            python-manylinux-tag: \"cp38-cp38\"\n          - os: ubuntu-latest\n            python: '3.9'\n            python-manylinux-tag: \"cp39-cp39\"\n          - os: ubuntu-latest\n            python: '3.10'\n            python-manylinux-tag: \"cp310-cp310\"\n          - os: ubuntu-latest\n            python: '3.11'\n            python-manylinux-tag: \"cp311-cp311\"\n\n          # MacOS emulated\n          - os: macos-latest\n            python: '3.8'\n            python-cibuildwheels: '38'\n            platform_id: macosx_x86_64\n            arch: x86_64\n            goarch: amd64\n          - os: macos-latest\n            python: '3.9'\n            python-cibuildwheels: '39'\n            platform_id: macosx_x86_64\n            arch: x86_64\n            goarch: amd64\n          - os: macos-latest\n            python: '3.10'\n            python-cibuildwheels: '310'\n            platform_id: macosx_x86_64\n            arch: x86_64\n            goarch: amd64\n          - os: macos-latest\n            python: '3.11'\n            python-cibuildwheels: '311'\n            platform_id: macosx_x86_64\n            arch: x86_64\n            goarch: amd64\n\n          # MacOS native\n          - os: macos-latest\n            python: '3.8'\n            python-cibuildwheels: '38'\n            platform_id: macosx_arm64\n            arch: arm64\n            goarch: arm64\n          - os: macos-latest\n            python: '3.9'\n            python-cibuildwheels: '39'\n            platform_id: macosx_arm64\n            arch: arm64\n            goarch: arm64\n          - os: macos-latest\n            python: '3.10'\n            python-cibuildwheels: '310'\n            platform_id: macosx_arm64\n            arch: arm64\n            goarch: arm64\n          - os: macos-latest\n            python: '3.11'\n            python-cibuildwheels: '311'\n            platform_id: macosx_arm64\n            arch: arm64\n            goarch: arm64\n\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 200\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Set up Golang\n        uses: actions/setup-go@v2\n        with:\n          go-version: 1.19.5\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n          pip install git+https://github.com/jina-ai/setuptools-golang.git@feat-align-with-alaeddine-code\n          pip install cibuildwheel\n\n      - name: Build wheels with setuptools-golang-build-manylinux-wheel\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          setuptools-golang-build-manylinux-wheels --pythons ${{ matrix.python-manylinux-tag }}\n      - name: Build wheels with cibuildwheels on macos\n        env:\n          CIBW_BUILD: cp${{ matrix.python-cibuildwheels }}-${{ matrix.platform_id }}\n          CIBW_ARCHS: ${{ matrix.arch }}\n          CIBW_TEST_COMMAND: python -c \"import jina; import jraft\"\n          CIBW_BUILD_VERBOSITY: 1\n          GOARCH: ${{ matrix.goarch }}\n          CGO_ENABLED: 1\n        if: ${{ matrix.os == 'macos-latest' }}\n        run: |\n          python -m cibuildwheel --output-dir dist\n          \n      - name: Upload wheels as artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          path: dist/*.whl\n\n  regular-release:\n    needs: [token-check, build-wheels]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n          token: ${{ secrets.JINA_DEV_BOT }}\n          fetch-depth: 100  # means max contribute history is limited to 100 lines\n#          submodules: true\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n        # https://github.com/actions/checkout#fetch-all-tags\n      - uses: actions/download-artifact@v3\n        with:\n          name: artifact\n          path: dist\n      - run: |\n          git fetch --depth=200\n          npm install git-release-notes\n          pip install twine wheel\n          ./scripts/release.sh final \"${{ github.event.inputs.release_reason }}\" \"${{github.actor}}\"\n        env:\n          env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n          JINA_SLACK_WEBHOOK: ${{ secrets.JINA_SLACK_WEBHOOK }}\n      - if: failure()\n        run: echo \"nothing to release\"\n      - name: bumping master version\n        uses: ad-m/github-push-action@v0.6.0\n        with:\n          github_token: ${{ secrets.JINA_DEV_BOT }}\n          tags: true\n          branch: ${{ github.ref }}\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:06.710988", "created_at": "2020-08-09T18:09:44+02:00", "updated_at": "2020-12-14T09:32:10+01:00", "name": "PR", "path": ".github/workflows/label-pr.yml", "contents": "name: PR\n\non:\n  pull_request:\n\njobs:\n  assign-label-to-pr:\n    runs-on: ubuntu-latest\n    if: ${{ !github.event.pull_request.head.repo.fork }}\n    steps:\n      - uses: codelytv/pr-size-labeler@v1\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          xs_max_size: '10'\n          s_max_size: '100'\n          m_max_size: '500'\n          l_max_size: '1000'\n          fail_if_xl: 'false'\n      - uses: actions/labeler@v3\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - id: docs_updated\n        if: contains( github.event.pull_request.labels.*.name, 'area/docs')\n        run: echo \"docs=true\" >> $GITHUB_OUTPUT\n    outputs:\n      docs: ${{ steps.docs_updated.outputs.docs }}\n\n  deploy-to-netlify:\n    runs-on: ubuntu-latest\n    needs: [assign-label-to-pr]\n    if: ${{ needs.assign-label-to-pr.outputs.docs == 'true' }}\n    steps:\n      - run: |\n          echo \"BRANCH_NAME=${{ github.head_ref }}\" >> $GITHUB_ENV\n      - uses: actions/checkout@v2.5.0\n        with:\n          repository: jina-ai/jina\n          ref: ${{ env.BRANCH_NAME }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n      - uses: actions/setup-node@v2\n        with:\n          node-version: '14'\n      - name: Build and Deploy\n        timeout-minutes: 30\n        run: |\n          npm i -g netlify-cli\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          git fetch origin\n          export NUM_RELEASES=2 # only 2 last tags to save build time \n          bash makedoc.sh local-only\n          netlify deploy --dir=./_build/dirhtml --alias=${{ env.BRANCH_NAME }} --message=\"Deploying docs to ${{ env.BRANCH_NAME }} branch\"\n        env:\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n        working-directory: docs\n      - name: Find the prev comment if exists\n        uses: peter-evans/find-comment@v1\n        id: fc\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-author: 'github-actions[bot]'\n          body-includes: 'Docs are deployed'\n      - name: Delete comment if exists\n        if: ${{ steps.fc.outputs.comment-id != 0 && !github.event.pull_request.head.repo.fork }}\n        uses: actions/github-script@v3\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            github.issues.deleteComment({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              comment_id: ${{ steps.fc.outputs.comment-id }},\n            })\n      - name: Add or update comment\n        uses: peter-evans/create-or-update-comment@v1\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            :memo: Docs are deployed on https://${{ env.BRANCH_NAME }}--jina-docs.netlify.app :tada: \n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:07.941280", "created_at": "2020-09-28T09:18:42+02:00", "updated_at": "2020-09-28T09:18:42+02:00", "name": "issue-hf2020", "path": ".github/workflows/hacktoberfest.yml", "contents": "name: issue-hf2020\n\n#on:\n#  issues:\n#    types: [opened]\n#  pull_request_target:\n#    types: [opened]\n\non:\n  push:\n    branches-ignore:\n      - '**'  # temporally ignore all\n\n\njobs:\n  automate-issues-labels:\n    runs-on: ubuntu-latest\n    steps:\n      - name: hacktoberfest\n        uses: andymckay/labeler@master\n        with:\n          add-labels: \"hacktoberfest, hacktoberfest2020\"\n          repo-token: \"${{ secrets.JINA_DEV_BOT }}\"\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:08.992133", "created_at": "2020-11-06T16:00:15+01:00", "updated_at": "2020-11-06T16:00:15+01:00", "name": "Autocommit", "path": ".github/workflows/autocommit.yml", "contents": "name: Autocommit\n\non:\n  schedule:\n    - cron: \"0 23 * * *\"\n  workflow_dispatch:\n\n\njobs:\n  autocommit:\n    if: |\n      !startsWith(github.event.head_commit.message, 'chore') &&\n      !startsWith(github.event.head_commit.message, 'build: hotfix') &&\n      !endsWith(github.event.head_commit.message, 'reformatted by jina-dev-bot')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n          token: ${{ secrets.JINA_DEV_BOT }}\n          ref: ${{ github.event.pull_request.head.sha }}\n      - run: |\n          git config --local user.email \"dev-bot@jina.ai\"\n          git config --local user.name \"Jina Dev Bot\"\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n      - name: Generate TOC\n        uses: technote-space/toc-generator@v3\n        with:\n          MAX_HEADER_LEVEL: 2\n          GITHUB_TOKEN: ${{ secrets.JINA_DEV_BOT }}\n          COMMIT_NAME: Jina Dev Bot\n          COMMIT_EMAIL: dev-bot@jina.ai\n          TOC_TITLE: ''\n          TARGET_PATHS: 'CHANGELOG.md,CONTRIBUTING.md,RELEASE.md'\n          CHECK_ONLY_DEFAULT_BRANCH: true\n      - uses: ad-m/github-push-action@v0.6.0\n        with:\n          github_token: ${{ secrets.JINA_DEV_BOT }}\n          branch: master\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:10.047757", "created_at": "2020-12-20T11:25:15+01:00", "updated_at": "2020-12-21T13:34:35+01:00", "name": "PR", "path": ".github/workflows/commit-lint.yml", "contents": "# commit-lint needs \"pull_request_target\" access,\n# therefore separate from main ci.yml\nname: PR\n\non:\n  push:\n    branches-ignore:\n      - '**'  # temporally ignore all, as https://github.com/wagoid/commitlint-github-action/issues/66\n\njobs:\n  commit-lint-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: find the prev warning if exist\n        uses: peter-evans/find-comment@v1\n        id: fc\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-author: 'github-actions[bot]'\n          body-includes: 'bad commit message'\n      - name: Delete comment if exist\n        if: ${{ steps.fc.outputs.comment-id != 0 }}\n        uses: actions/github-script@v3\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            github.issues.deleteComment({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              comment_id: ${{ steps.fc.outputs.comment-id }},\n            })\n      - uses: actions/checkout@v2.5.0\n        with:\n          fetch-depth: 0\n      - run: \"echo \\\"module.exports = {extends: ['@commitlint/config-conventional']}\\\" > commitlint.config.js\"\n      - uses: wagoid/commitlint-github-action@v1\n        env:\n          GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: if lint failed\n        if: ${{ failure() }}\n        uses: peter-evans/create-or-update-comment@v1\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            Thanks for your contribution :heart:\n            :broken_heart: Unfortunately, this PR has one ore more **bad commit messages**, it can not be merged. To fix this problem, please refer to:\n            - [Commit Message Guideline for the First Time Contributor](https://github.com/jina-ai/jina/issues/553)\n            - [Contributing Guideline](https://github.com/jina-ai/jina/blob/master/CONTRIBUTING.md)\n\n            Note, other CI tests will *not* *start* until the commit messages get fixed.\n\n            This message will be deleted automatically when the commit messages get fixed.\n          reaction-type: \"eyes\"", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:11.117393", "created_at": "2021-01-16T12:42:41+01:00", "updated_at": "2021-01-16T12:42:41+01:00", "name": "Manual Docker Build", "path": ".github/workflows/force-docker-build.yml", "contents": "name: Manual Docker Build\n\non:\n  workflow_dispatch:\n    inputs:\n      release_token:\n        description: 'Your release token'\n        required: true\n      triggered_by:\n        description: 'CD | TAG | MANUAL'\n        required: false\n        default: MANUAL\n\njobs:\n  token-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check release token\n        id: token-check\n        run: | \n          touch SUCCESS\n        if: inputs.release_token == env.release_token\n        env:\n          release_token: ${{ secrets.JINA_CORE_RELEASE_TOKEN }}\n      - name: Fail release token\n        run: |\n          [[ -f SUCCESS ]]\n\n\n  regular-release:\n    needs: token-check\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        pip_tag: [ \"\", \"perf\", \"standard\", \"devel\"]  # default: \"\" = core\n        py_version: [ \"3.7\", \"3.8\", \"3.9\" , \"3.10\", \"3.11\"]  # default \"\" = 3.7\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n          fetch-depth: 100\n      - name: Set envs and versions\n        run: |\n          DEFAULT_PY_VERSION=\"3.8\"\n          VCS_REF=${{ github.ref }}\n          echo \"VCS_REF=$VCS_REF\" >> $GITHUB_ENV\n          echo \"Will build $VCS_REF\"\n          echo \"BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')\" >> $GITHUB_ENV\n          echo \"BUILD_TARGET=jina\" >> $GITHUB_ENV\n\n          if [[ \"${{ matrix.pip_tag }}\" == \"perf\" ]]; then\n            echo \"JINA_PIP_INSTALL_PERF=1\" >> $GITHUB_ENV\n          fi\n\n          if [[ \"${{ matrix.pip_tag }}\" == \"\" ]]; then\n            echo \"JINA_PIP_INSTALL_CORE=1\" >> $GITHUB_ENV\n          fi\n\n          JINA_VERSION=$(sed -n '/^__version__/p' ./jina/__init__.py | cut -d \\' -f2)\n          V_JINA_VERSION=v${JINA_VERSION}\n          JINA_MINOR_VERSION=${JINA_VERSION%.*}\n          JINA_MAJOR_VERSION=${JINA_MINOR_VERSION%.*}\n\n          PY_TAG=${{matrix.py_version}}\n          if [ -n \"${PY_TAG}\" ]; then\n            PY_TAG=-py${PY_TAG//./}\n          fi\n\n          PIP_TAG=${{ matrix.pip_tag }}\n          if [ -n \"${PIP_TAG}\" ]; then\n              PIP_TAG=-${PIP_TAG}\n          fi\n          \n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n          LAST_VER_TAG=$(git tag -l | sort -V | tail -n1)\n          PRE_VERSION=-dev$(git rev-list $LAST_VER_TAG..HEAD --count)\n\n          if [[ \"${{ github.event.inputs.triggered_by }}\" == \"CD\" ]]; then\n\n            if [[ \"${{ matrix.py_version }}\" == \"$DEFAULT_PY_VERSION\" ]]; then\n              echo \"TAG_ALIAS=\\\n                              jinaai/jina:master${PY_TAG}${PIP_TAG}, \\\n                              jinaai/jina:master${PIP_TAG}, \\\n                              jinaai/jina:${JINA_VERSION}${PRE_VERSION}${PIP_TAG}, \\\n                              jinaai/jina:${JINA_VERSION}${PRE_VERSION}${PY_TAG}${PIP_TAG}\" \\\n                              >> $GITHUB_ENV\n            else\n              # on every CD\n              echo \"TAG_ALIAS=\\\n                              jinaai/jina:master${PY_TAG}${PIP_TAG}, \\\n                              jinaai/jina:${JINA_VERSION}${PRE_VERSION}${PY_TAG}${PIP_TAG}\" \\\n                              >> $GITHUB_ENV\n            fi\n\n          elif [[ \"${{ github.event.inputs.triggered_by }}\" == \"TAG\" ]]; then\n            # on every tag release\n\n            if [[ \"${{ matrix.py_version }}\" == \"$DEFAULT_PY_VERSION\" ]]; then\n              echo \"TAG_ALIAS=\\\n                              jinaai/jina:latest${PY_TAG}${PIP_TAG}, \\\n                              jinaai/jina:${JINA_VERSION}${PY_TAG}${PIP_TAG}, \\\n                              jinaai/jina:${JINA_MINOR_VERSION}${PY_TAG}${PIP_TAG}, \\\n                              jinaai/jina:${JINA_MAJOR_VERSION}${PY_TAG}${PIP_TAG}, \\\n                              jinaai/jina:latest${PIP_TAG}, \\\n                              jinaai/jina:${JINA_VERSION}${PIP_TAG}, \\\n                              jinaai/jina:${JINA_MINOR_VERSION}${PIP_TAG}, \\\n                              jinaai/jina:${JINA_MAJOR_VERSION}${PIP_TAG} \\\n                              \" >> $GITHUB_ENV\n            else\n              echo \"TAG_ALIAS=\\\n                              jinaai/jina:latest${PY_TAG}${PIP_TAG}, \\\n                              jinaai/jina:${JINA_VERSION}${PY_TAG}${PIP_TAG}, \\\n                              jinaai/jina:${JINA_MINOR_VERSION}${PY_TAG}${PIP_TAG}, \\\n                              jinaai/jina:${JINA_MAJOR_VERSION}${PY_TAG}${PIP_TAG} \\\n                              \" >> $GITHUB_ENV\n            fi\n          elif [[ \"${{ github.event.inputs.triggered_by }}\" == \"MANUAL\" ]]; then\n            # on every manual release\n            if [[ \"${{ matrix.py_version }}\" == \"$DEFAULT_PY_VERSION\" ]]; then\n              echo \"TAG_ALIAS=\\\n                              jinaai/jina:${JINA_VERSION}${PIP_TAG}, \\\n                              jinaai/jina:${JINA_VERSION}${PY_TAG}${PIP_TAG} \\\n                              \" >> $GITHUB_ENV\n            else\n              echo \"TAG_ALIAS=\\\n                              jinaai/jina:${JINA_VERSION}${PY_TAG}${PIP_TAG} \\\n                              \" >> $GITHUB_ENV\n            fi\n          else\n            echo \"Bad triggered_by: ${{ github.event.inputs.triggered_by }}!\"\n            exit 1\n          fi\n\n          echo \"JINA_VERSION=${JINA_VERSION}\" >> $GITHUB_ENV\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n        with:\n          install: true\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_DEVBOT_USER }}\n          password: ${{ secrets.DOCKERHUB_DEVBOT_TOKEN }}\n      - run: |\n          # https://github.com/docker/buildx/issues/464#issuecomment-741507760\n          # https://github.com/kubernetes-sigs/azuredisk-csi-driver/pull/808/files\n          docker run --privileged --rm tonistiigi/binfmt --uninstall qemu-aarch64\n          docker run --rm --privileged tonistiigi/binfmt --install all\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          file: Dockerfiles/debianx.Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{env.TAG_ALIAS}}\n          build-args: |\n            BUILD_DATE=${{env.BUILD_DATE}}\n            JINA_VERSION=${{env.JINA_VERSION}}\n            VCS_REF=${{env.VCS_REF}}\n            PIP_INSTALL_CORE=${{env.JINA_PIP_INSTALL_CORE}}\n            PIP_INSTALL_PERF=${{env.JINA_PIP_INSTALL_PERF}}\n            PY_VERSION=${{matrix.py_version}}\n            PIP_TAG=${{matrix.pip_tag}}\n          target: ${{env.BUILD_TARGET}}\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:12.123768", "created_at": "2021-08-22T17:46:03+02:00", "updated_at": "2021-08-22T17:46:03+02:00", "name": "Manual Docs Build", "path": ".github/workflows/force-docs-build.yml", "contents": "name: Manual Docs Build\n\non:\n  workflow_dispatch:\n    inputs:\n      release_token:\n        description: 'Your release token'\n        required: true\n      triggered_by:\n        description: 'CD | TAG | MANUAL'\n        required: false\n        default: MANUAL\n      build_old_docs:\n        description: 'Whether to build old docs (TRUE | FALSE)'\n        type: string\n        default: 'FALSE'\n      package:\n        description: The name of the repo to build documentation for.\n        type: string\n        default: jina\n      repo_owner:\n        description: The owner of the repo to build documentation for. Defaults to 'jina-ai'.\n        type: string\n        default: jina-ai\n      pages_branch:\n        description: Branch that Github Pages observes\n        type: string\n        default: gh-pages\n      git_config_name:\n        type: string\n        default: Jina Dev Bot\n      git_config_email:\n        type: string\n        default: dev-bot@jina.ai\n\njobs:\n  token-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check release token\n        id: token-check\n        run: | \n          touch SUCCESS\n        if: inputs.release_token == env.release_token\n        env:\n          release_token: ${{ secrets.JINA_CORE_RELEASE_TOKEN }}\n      - name: Fail release token\n        run: |\n          [[ -f SUCCESS ]]\n\n  build-and-push-latest-docs:\n    needs: token-check\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n      - name: Install Dependencies\n        run: |\n          pip install .[devel]\n          cd docs\n          pip install -r requirements.txt\n          pip install --pre -U furo\n          pip install sphinx-markdown-tables==0.0.17\n      - name: Sphinx Build\n        run: |\n          cd docs\n          bash makedoc.sh local-only\n          mv ./_build/dirhtml /tmp/gen-html\n          cd ..\n      - name: Checkout to GH pages branch (${{ inputs.pages_branch }})\n        run: |\n          git fetch origin ${{ inputs.pages_branch }}:${{ inputs.pages_branch }} --depth 1\n          git checkout -f ${{ inputs.pages_branch }}\n          git reset --hard HEAD\n      - name: Small config stuff\n        run: |\n          touch /tmp/gen-html/.nojekyll\n          cp ./docs/_versions.json /tmp/gen-html/_versions.json\n          cp ./docs/CNAME /tmp/gen-html/CNAME\n          cp /tmp/gen-html/404/index.html /tmp/gen-html/404.html\n          sed -i 's/href=\"\\.\\./href=\"/' /tmp/gen-html/404.html # fix asset urls that needs to be updated in 404.html\n      - name: Moving old doc versions\n        run: |\n          cd docs\n          for i in $(cat _versions.json | jq '.[].version' | tr -d '\"'); do if [ -d \"$i\" ]; then mv \"$i\" /tmp/gen-html; fi; done\n      - name: Swap in new docs\n        run: |\n          rm -rf ./docs\n          mv /tmp/gen-html ./docs\n      - name: Push it up!\n        run: |\n          git config --local user.email \"${{ inputs.git_config_email }}\"\n          git config --local user.name \"${{ inputs.git_config_name }}\"\n          git show --summary\n          git add ./docs && git commit -m \"chore(docs): update docs due to ${{github.event_name}} on ${{github.repository}}\"\n          git push origin ${{ inputs.pages_branch }}\n\n  build-old-docs:\n    needs: build-and-push-latest-docs\n    runs-on: ubuntu-latest\n    if: inputs.build_old_docs == 'TRUE'\n    steps:\n      - uses: benc-uk/workflow-dispatch@v1\n        with:\n          workflow: Build old docs\n          token: ${{ secrets.JINA_DEV_BOT }}\n          inputs: '{ \"release_token\": \"${{ env.release_token }}\", \"triggered_by\": \"TAG\"}'\n        env:\n          release_token: ${{ secrets.JINA_CORE_RELEASE_TOKEN }}\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:13.128593", "created_at": "2021-08-24T14:41:14+02:00", "updated_at": "2021-08-25T11:59:48+02:00", "name": "Benchmark", "path": ".github/workflows/benchmark.yml", "contents": "name: Benchmark\n\non:\n  push:\n    tags: \n      - \"v*\"\n\njobs:\n  benchmark-release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - run: |\n          TAG=$(echo $GITHUB_REF | cut -d '/' -f 3)\n          echo \"TAG=$TAG\" >> $GITHUB_ENV\n      - uses: benc-uk/workflow-dispatch@v1\n        with:\n          token: ${{ secrets.JINA_DEV_BOT }}\n          workflow: Benchmark Jina\n          repo: jina-ai/jina-terraform\n          ref: \"main\"\n          inputs: '{ \"git_tags\": \"[\\\"${{ env.TAG }}\\\"]\"}'", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:14.248137", "created_at": "2021-09-21T08:36:42+02:00", "updated_at": "2021-09-26T09:52:45+02:00", "name": "Nightly Tests", "path": ".github/workflows/nightly-tests.yml", "contents": "name: Nightly Tests\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        default: master\n  schedule:\n    - cron: \"0 6 * * 1-5\"   # runs at 6AM UTC (mon-fri)\n  # pull_request:             # uncomment this if you want to run nightly tests in your PR\n\njobs:\n  prep-testbed:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - id: set-matrix\n        run: |\n          sudo apt-get install jq\n          export value=$(bash scripts/get-all-test-paths.sh windows)\n          echo \"windows=$value\" >> $GITHUB_OUTPUT\n    outputs:\n      windows: ${{ steps.set-matrix.outputs.windows }}\n\n  windows-test:\n    needs: prep-testbed\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.7, 3.8]\n        test-path: ${{fromJson(needs.prep-testbed.outputs.windows)}}\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n          ref: ${{ github.event.inputs.branch }}\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Prepare envionment\n        run: |\n          docker build -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n          pip install \".[all]\" --no-cache-dir\n          $env:PYTHONIOENCODING='utf-8'\n          jina\n          $env:JINA_LOG_LEVEL='ERROR'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Test\n        id: test\n        run: |\n          $env:PYTHONIOENCODING='utf-8'\n          pytest --suppress-no-test-exit-code --force-flaky --min-passes 1 --max-runs 5 --timeout=360 -v -s --ignore-glob='tests/integration/hub_usage/dummyhub*' ${{ matrix.test-path }}\n        timeout-minutes: 20\n        env:\n          JINAHUB_USERNAME: ${{ secrets.JINAHUB_USERNAME }}\n          JINAHUB_PASSWORD: ${{ secrets.JINAHUB_PASSWORD }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - if: failure()\n        uses: 8398a7/action-slack@v3\n        with:\n          status: ${{ job.status }}\n          fields: eventName,job\n          text: |\n            :no_entry: pytest run for `${{ matrix.test-path }}` failed on :windows:\n          author_name: Nightly tests\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NIGHTLY_TESTS_WEBHOOK }}\n          MATRIX_CONTEXT: ${{ toJson(matrix) }}\n\n  install-jina-ecosystem-test:\n    runs-on: ubuntu-latest\n    needs: [lint-flake-8, code-injection ]\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n      - name: Prepare enviroment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install wheel\n\n          HUBBLE_VERSION=$(curl -L -s \"https://pypi.org/pypi/jina-hubble-sdk/json\" |  jq  -r '.releases | keys | .[]| select(startswith(\"0.\"))'  | sort -V | tail -1)\n          DOCARRAY_VERSION=$(curl -L -s \"https://pypi.org/pypi/docarray/json\" |  jq  -r '.releases | keys | .[]| select(startswith(\"0.\"))'  | sort -V | tail -1)\n          JCLOUD_VERSION=$(curl -L -s \"https://pypi.org/pypi/jcloud/json\" |  jq  -r '.releases | keys | .[]| select(startswith(\"0.\"))'  | sort -V | tail -1)\n\n          pip install . jcloud==$JCLOUD_VERSION docarray==$DOCARRAY_VERSION jina-hubble-sdk==$HUBBLE_VERSION\n        env:\n          JINA_PIP_INSTALL_CORE: ${{ matrix.core }}\n          JINA_PIP_INSTALL_PERF: ${{ matrix.perf }}\n\n      - name: Test basic import\n        run: python -c 'from jina import Executor,requests'\n      - name: Test import all\n        run: python -c 'from jina import *'\n\n  success-all-test:\n    needs: [prep-testbed, windows-test, install-jina-ecosystem-test]\n    if: always()\n    runs-on: ubuntu-latest\n    steps:\n      - uses: technote-space/workflow-conclusion-action@v2\n      - name: Check Failure\n        if: env.WORKFLOW_CONCLUSION == 'failure'\n        run: exit 1\n      - name: Success\n        if: ${{ success() }}\n        run: echo \"All Done\"\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:15.529533", "created_at": "2021-09-25T22:33:06+02:00", "updated_at": "2021-09-25T22:33:06+02:00", "name": "Update Announcement", "path": ".github/workflows/update-announcement.yml", "contents": "name: Update Announcement\n\non:\n  workflow_dispatch:\n    inputs:\n      announce_text:\n        description: 'Announcement text (to delete current, leave it empty)'\n        required: false\n      announce_url:\n        description: 'Announcement URL (to delete current, leave it empty)'\n        required: false\n      release_token:\n        description: 'Your token'\n        required: true\n\njobs:\n  token-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check release token\n        id: token-check\n        run: | \n          touch SUCCESS\n        if: inputs.release_token == env.release_token\n        env:\n          release_token: ${{ secrets.JINA_CORE_RELEASE_TOKEN }}\n      - name: Fail release token\n        run: |\n          [[ -f SUCCESS ]]\n\n\n  update-announcement:\n    needs: token-check\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n          token: ${{ secrets.JINA_DEV_BOT }}\n          fetch-depth: 0\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n      - run: |\n          git config --local user.email \"dev-bot@jina.ai\"\n          git config --local user.name \"Jina Dev Bot\"\n          python scripts/announcement.py \"${{ github.event.inputs.announce_text }}\" \"${{ github.event.inputs.announce_url }}\"\n          git add -u\n          git commit -m \"chore: update announcement in readme and docs\"\n      - name: push to master\n        uses: ad-m/github-push-action@v0.6.0\n        with:\n          github_token: ${{ secrets.JINA_DEV_BOT }}\n          branch: master\n      - uses: benc-uk/workflow-dispatch@v1\n        with:\n          workflow: Manual Docs Build\n          inputs: '{ \"release_token\": \"${{ env.release_token }}\", \"triggered_by\": \"CD\"}'\n          token: ${{ secrets.JINA_DEV_BOT }}\n        env:\n          release_token: ${{ secrets.JINA_CORE_RELEASE_TOKEN }}\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:16.552408", "created_at": "2021-11-04T11:59:45+01:00", "updated_at": "2021-11-09T09:19:33+01:00", "name": "CI for Code Un-related Changes", "path": ".github/workflows/ci-no-code-related.yml", "contents": "name: CI for Code Un-related Changes\n\non:\n  pull_request:\n    paths:\n      - 'docs/**'\n      - 'README.md'\n\njobs:\n  commit-lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n          fetch-depth: 0\n      - uses: wagoid/commitlint-github-action@v4", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:17.598384", "created_at": "2021-12-17T16:31:52+01:00", "updated_at": "2021-12-17T16:31:52+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:18.686974", "created_at": "2022-05-23T19:31:15+02:00", "updated_at": "2022-05-23T19:31:15+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '26 16 * * 0'\n\njobs:\n  analyze:\n    if: |\n      !startsWith(github.event.head_commit.message, 'chore') &&\n      !startsWith(github.event.head_commit.message, 'build: hotfix') &&\n      !endsWith(github.event.head_commit.message, 'reformatted by jina-dev-bot')\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2.5.0\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:19.746004", "created_at": "2022-10-25T17:48:28+02:00", "updated_at": "2022-10-25T17:48:28+02:00", "name": "Build old docs", "path": ".github/workflows/build-old-docs.yml", "contents": "name: Build old docs\n\non:\n  workflow_dispatch:\n    inputs:\n      release_token:\n        description: 'Your release token'\n        required: true\n      triggered_by:\n        description: 'CD | TAG | MANUAL'\n        required: false\n        default: MANUAL\n      package:\n        description: The name of the repo to build documentation for.\n        type: string\n        default: jina\n      repo_owner:\n        description: The owner of the repo to build documentation for. Defaults to 'jina-ai'.\n        type: string\n        default: jina-ai\n      pages_branch:\n        description: Branch that Github Pages observes\n        type: string\n        default: gh-pages\n      git_config_name:\n        type: string\n        default: Jina Dev Bot\n      git_config_email:\n        type: string\n        default: dev-bot@jina.ai\n\njobs:\n  token-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check release token\n        id: token-check\n        run: | \n          touch SUCCESS\n        if: inputs.release_token == env.release_token\n        env:\n          release_token: ${{ secrets.JINA_CORE_RELEASE_TOKEN }}\n      - name: Fail release token\n        run: |\n          [[ -f SUCCESS ]]\n      - name: Get versions\n        id: get_versions\n        run: |\n          printf \"versions=\" >> $GITHUB_OUTPUT\n          curl https://raw.githubusercontent.com/${{ inputs.repo_owner }}/${{ inputs.package }}/master/docs/_versions.json >> $GITHUB_OUTPUT\n    outputs:\n      versions: ${{ steps.get_versions.outputs.versions }}\n\n  build-doc:\n    needs: token-check\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{ fromJson(needs.token-check.outputs.versions) }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n          ref: ${{ matrix.version }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n      - name: Get latest templates\n        run: |\n          git show --summary\n          echo \"Get latest sidebar brand template\"\n          wget https://raw.githubusercontent.com/${{ inputs.repo_owner }}/${{ inputs.package }}/master/docs/_templates/sidebar/brand.html\n          mv ./brand.html ./docs/_templates/sidebar/brand.html\n      - name: Install dependencies\n        run: |\n          wget https://raw.githubusercontent.com/${{ inputs.repo_owner }}/${{ inputs.package }}/master/docs/pin_requirements.py\n          wget https://raw.githubusercontent.com/${{ inputs.repo_owner }}/${{ inputs.package }}/master/docs/correct_some_requirements.sh\n          python pin_requirements.py extra-requirements.txt\n          bash correct_some_requirements.sh\n          pip install .[devel]\n          cd docs\n          pip install -r requirements.txt\n          pip install --pre -U furo\n          pip install sphinx-markdown-tables==0.0.17\n      - name: Sphinx Build\n        run: |\n          cd docs\n          bash makedoc.sh local-only\n      - name: Package build into artifact\n        run: |\n          mv ./docs/_build/dirhtml ./${{ matrix.version }}\n          zip -r /tmp/build.zip ./${{ matrix.version }}/*\n      - name: Upload built html\n        uses: actions/upload-artifact@v3\n        with:\n            name: ${{ matrix.version }}\n            path: /tmp/build.zip\n            retention-days: 1\n  \n  push-docs:\n    runs-on: ubuntu-latest\n    needs: build-doc\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n          ref: ${{ inputs.pages_branch }}\n      - uses: actions/download-artifact@v3\n        with:\n          path: /tmp/artifacts\n      - name: Clear old builds\n        run: |\n          cd docs\n          for i in $(ls /tmp/artifacts); do git rm -rf \"$i\" || true; done\n      - name: In with new builds\n        run: |\n          cd docs\n          for i in $(ls /tmp/artifacts); do unzip \"/tmp/artifacts/$i/build.zip\"; done\n          rm _versions.json || true\n          wget https://raw.githubusercontent.com/${{ inputs.repo_owner }}/${{ inputs.package }}/master/docs/_versions.json\n      - name: Push it up!\n        run: |\n          git config --local user.email \"${{ inputs.git_config_email }}\"\n          git config --local user.name \"${{ inputs.git_config_name }}\"\n          git show --summary\n          git add . && git commit -m \"chore(docs): update old docs due to ${{github.event_name}} on ${{github.repository}}\"\n          git push origin\n", "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:20.767643", "created_at": "2023-04-03T17:13:35+02:00", "updated_at": "2023-04-04T16:52:12+02:00", "name": "Jina StatefulExecutor build and release wheels Workflow", "path": ".github/workflows/stateful-build-wheels.yml", "contents": null, "state": "active", "repository": "jina-ai/jina"}
{"mined_at": "2024-07-15T15:48:22.840869", "created_at": "2024-07-11T20:11:51+02:00", "updated_at": "2024-07-11T20:11:51+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "googlecloudplatform/professional-services"}
{"mined_at": "2024-07-15T15:48:23.889524", "created_at": "2023-08-10T00:07:41+02:00", "updated_at": "2023-08-10T00:07:41+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googlecloudplatform/professional-services"}
{"mined_at": "2024-07-15T15:48:25.999525", "created_at": "2022-08-02T16:57:32+02:00", "updated_at": "2022-08-02T16:57:32+02:00", "name": "Read the Docs Pull Request Preview", "path": ".github/workflows/rtd_link_description.yaml", "contents": "name: Read the Docs Pull Request Preview\non:\n  pull_request_target:\n    types:\n      - opened\n\npermissions:\n  pull-requests: write\n\njobs:\n  documentation-links:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: readthedocs/actions/preview@v1\n        with:\n          project-slug: \"arviz\"\n", "state": "active", "repository": "arviz-devs/arviz"}
{"mined_at": "2024-07-15T15:48:28.329273", "created_at": "2020-12-03T16:20:09+01:00", "updated_at": "2024-03-17T17:56:25+01:00", "name": "packages", "path": ".github/workflows/build.yaml", "contents": "name: packages\non:\n  push:\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+a[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+b[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+rc[0-9]+\"\n  # Dry-run only\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 19 * * SUN\"\n\ndefaults:\n  run:\n    shell: bash -el {0}\n\nenv:\n  PACKAGE: \"panel\"\n  PYTHON_VERSION: \"3.11\"\n  NODE_VERSION: \"20\"\n\njobs:\n  waiting_room:\n    name: Waiting Room\n    runs-on: ubuntu-latest\n    needs: [conda_build, pip_install, npm_build, cdn_build]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    environment:\n      name: publish\n    steps:\n      - run: echo \"All builds have finished, have been approved, and ready to publish\"\n\n  pixi_lock:\n    name: Pixi lock\n    runs-on: ubuntu-latest\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi\n\n  conda_build:\n    name: Build Conda\n    needs: [pixi_lock]\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        with:\n          environments: \"build\"\n          install: false\n          download-data: false\n      - name: conda build\n        run: pixi run -e build build-conda\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: conda\n          path: dist/*tar.bz2\n          if-no-files-found: error\n\n  conda_publish:\n    name: Publish Conda\n    runs-on: ubuntu-latest\n    needs: [conda_build, waiting_room]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: conda\n          path: dist/\n      - name: Set environment variables\n        run: |\n          echo \"TAG=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n          echo \"CONDA_FILE=$(ls dist/*.tar.bz2)\" >> $GITHUB_ENV\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniconda-version: \"latest\"\n      - name: conda setup\n        run: |\n          conda install -y anaconda-client\n      - name: conda dev upload\n        if: contains(env.TAG, 'a') || contains(env.TAG, 'b') || contains(env.TAG, 'rc')\n        run: |\n          anaconda --token ${{ secrets.CONDA_UPLOAD_TOKEN }} upload --user pyviz --label=dev $CONDA_FILE\n      - name: conda main upload\n        if: (!(contains(env.TAG, 'a') || contains(env.TAG, 'b') || contains(env.TAG, 'rc')))\n        run: |\n          anaconda --token ${{ secrets.CONDA_UPLOAD_TOKEN }} upload --user pyviz --label=dev --label=main $CONDA_FILE\n\n  pip_build:\n    name: Build PyPI\n    needs: [pixi_lock]\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        with:\n          environments: \"build\"\n          install: false\n          download-data: false\n      - name: Build package\n        run: pixi run -e build build-pip\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: pip\n          path: dist/\n          if-no-files-found: error\n\n  pip_install:\n    name: Install PyPI\n    runs-on: \"ubuntu-latest\"\n    needs: [pip_build]\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - uses: actions/download-artifact@v4\n        with:\n          name: pip\n          path: dist/\n      - name: Install package\n        run: python -m pip install dist/*.whl\n      - name: Test package\n        run: python -c \"import $PACKAGE; print($PACKAGE.__version__)\"\n\n  pip_publish:\n    name: Publish PyPI\n    runs-on: ubuntu-latest\n    needs: [pip_build, waiting_room]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: pip\n          path: dist/\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: ${{ secrets.PPU }}\n          password: ${{ secrets.PPP }}\n          repository-url: \"https://upload.pypi.org/legacy/\"\n\n  npm_build:\n    name: Build NPM\n    needs: [pixi_lock]\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        with:\n          environments: \"build\"\n          download-data: false\n      - name: npm build\n        run: |\n          TARBALL=$(pixi run build-npm)\n          echo \"TARBALL=$TARBALL\" >> $GITHUB_ENV\n      - name: npm publish dry-run\n        run: |\n          cd $PACKAGE\n          npm publish --dry-run $TARBALL\n          cd ..\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: npm\n          if-no-files-found: error\n          path: ./${{ env.PACKAGE }}/${{ env.TARBALL }}\n\n  npm_publish:\n    name: Publish NPM\n    runs-on: \"ubuntu-latest\"\n    needs: [npm_build, waiting_room]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: npm\n      - uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n      - name: Set environment variables\n        run: |\n          echo \"TAG=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n          echo \"TARBALL=$(ls *.tgz)\" >> $GITHUB_ENV\n      - name: npm setup\n        run: |\n          echo \"//registry.npmjs.org/:_authToken=${{ secrets.NPM_API_TOKEN }}\" > $HOME/.npmrc\n          npm whoami\n          npm -v\n      - name: npm dev deploy\n        if: contains(env.TAG, 'a') || contains(env.TAG, 'b') || contains(env.TAG, 'rc')\n        run: |\n          npm publish --tag dev $TARBALL\n      - name: npm main deploy\n        if: (!(contains(env.TAG, 'a') || contains(env.TAG, 'b') || contains(env.TAG, 'rc')))\n        run: |\n          npm publish --tag latest $TARBALL\n\n  cdn_build:\n    name: Build CDN\n    needs: [pixi_lock]\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        with:\n          environments: \"build\"\n          install: false\n          download-data: false\n      - name: build pyodide wheels\n        run: |\n          pixi run build-pyodide --verify-clean\n      - name: build CDN\n        run: |\n          pixi run build-pip\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: cdn\n          if-no-files-found: error\n          path: |\n            ./panel/dist/\n            ./panel/package.json\n\n  cdn_publish:\n    name: Publish CDN\n    runs-on: \"ubuntu-latest\"\n    needs: [cdn_build, waiting_room]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: \"1\"\n      - uses: actions/download-artifact@v4\n        with:\n          name: cdn\n          path: panel/\n      - name: Deploy to cdn.holoviz.org\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: \"us-east-1\"\n        run: python scripts/cdn_upload.py\n", "state": "active", "repository": "holoviz/panel"}
{"mined_at": "2024-07-15T15:48:29.368887", "created_at": "2020-12-04T14:41:28+01:00", "updated_at": "2023-03-20T13:58:17+01:00", "name": "docs", "path": ".github/workflows/docs.yaml", "contents": "name: docs\n\non:\n  push:\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+a[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+b[0-9]+\"\n      - \"v[0-9]+.[0-9]+.[0-9]+rc[0-9]+\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"Site to build and deploy\"\n        type: choice\n        options:\n          - dev\n          - main\n          - dryrun\n        required: true\n        default: dryrun\n  schedule:\n    - cron: \"0 19 * * SUN\"\n\ndefaults:\n  run:\n    shell: bash -el {0}\n\nenv:\n  DISPLAY: \":99.0\"\n\njobs:\n  pixi_lock:\n    name: Pixi lock\n    runs-on: ubuntu-latest\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi\n\n  docs_build:\n    name: Build Documentation\n    needs: [pixi_lock]\n    runs-on: \"macos-latest\"\n    timeout-minutes: 180\n    outputs:\n      tag: ${{ steps.vars.outputs.tag }}\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        with:\n          environments: docs\n          opengl: true\n      - name: Build documentation\n        run: pixi run -e docs docs-build\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: docs\n          if-no-files-found: error\n          path: builtdocs\n      - name: Set output\n        id: vars\n        run: echo \"tag=${GITHUB_REF#refs/*/}\" >> $GITHUB_OUTPUT\n\n  docs_publish:\n    name: Publish Documentation\n    runs-on: \"ubuntu-latest\"\n    needs: [docs_build]\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: docs\n          path: builtdocs/\n      - name: Set output\n        id: vars\n        run: echo \"tag=${{ needs.docs_build.outputs.tag }}\" >> $GITHUB_OUTPUT\n      - name: Deploy dev\n        uses: peaceiris/actions-gh-pages@v4\n        if: |\n          (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'dev') ||\n          (github.event_name == 'push' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))\n        with:\n          personal_token: ${{ secrets.ACCESS_TOKEN }}\n          external_repository: holoviz-dev/panel\n          publish_dir: ./builtdocs\n          force_orphan: true\n      - name: Deploy main\n        if: |\n          (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||\n          (github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./builtdocs\n          cname: panel.holoviz.org\n          force_orphan: true\n", "state": "active", "repository": "holoviz/panel"}
{"mined_at": "2024-07-15T15:48:30.415523", "created_at": "2022-04-15T09:55:19+02:00", "updated_at": "2022-04-15T09:55:19+02:00", "name": "downstream_tests", "path": ".github/workflows/downstream_tests.yaml", "contents": "name: downstream_tests\n\non:\n  # Run this workflow after the build workflow has completed.\n  workflow_run:\n    workflows: [packages]\n    types: [completed]\n  # Or by triggering it manually via Github's UI\n  workflow_dispatch:\n    inputs:\n      manual:\n        description: don't change me!\n        type: boolean\n        required: true\n        default: true\n\njobs:\n  downstream_tests:\n    uses: holoviz-dev/holoviz_tasks/.github/workflows/run_downstream_tests.yaml@main\n    with:\n      downstream_repos_as_json: \"{\\\"downstream_repo\\\":[\\\"holoviews\\\", \\\"lumen\\\"]}\"\n    secrets:\n      ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}\n", "state": "active", "repository": "holoviz/panel"}
{"mined_at": "2024-07-15T15:48:31.466230", "created_at": "2023-04-17T14:31:04+02:00", "updated_at": "2023-04-17T14:31:04+02:00", "name": "gallery", "path": ".github/workflows/gallery.yaml", "contents": "name: gallery\n\non:\n  workflow_run:\n    workflows: [packages]\n    types:\n      - completed\n  workflow_dispatch:\n    inputs:\n      target:\n        description: 'Build and deploy gallery'\n        type: choice\n        options:\n        - dev\n        - main\n        - dryrun\n        required: true\n        default: dryrun\n\njobs:\n  deploy_gallery:\n    name: Gallery\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Set and echo git ref\n        id: vars\n        run: |\n          echo 'Deploying from ref ${{ github.event.workflow_run.head_branch }}'\n          echo 'tag=${{ github.event.workflow_run.head_branch }}' >> $GITHUB_OUTPUT\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniconda-version: \"latest\"\n          auto-update-conda: true\n      - name: Install dependencies\n        run: |\n          conda activate test\n          conda install -c ae5-admin anaconda-project ae5-tools\n      - name: Fetch thumbnails\n        run: |\n          conda activate test\n          python scripts/gallery/collect_thumbnails.py\n      - name: Upload and deploy dev gallery\n        if: |\n          (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'dev') ||\n          (github.event_name == 'workflow_run' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))\n        run: |\n          conda activate test\n          ae5 login --hostname holoviz-demo.anaconda.com --username ${{ secrets.AE5_USERNAME }} --password ${{ secrets.AE5_PASSWORD }}\n          ae5 deployment stop panel-gallery-dev --yes || :\n          ae5 project delete panel-gallery-dev --yes || :\n          ae5 project upload examples/gallery --name panel-gallery-dev --tag ${{ steps.vars.outputs.tag || '0.0.1dev' }}\n          ae5 deployment start panel-gallery-dev --endpoint panel-gallery-dev --command dev --public --resource-profile large --wait\n      - name: Upload and deploy prod gallery\n        if: |\n          (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||\n          (github.event_name == 'workflow_run' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')) && contains(steps.vars.outputs.tag, 'v'))\n        run: |\n          conda activate test\n          ae5 login --hostname holoviz-demo.anaconda.com --username ${{ secrets.AE5_USERNAME }} --password ${{ secrets.AE5_PASSWORD }}\n          ae5 deployment stop panel-gallery --yes || :\n          ae5 project delete panel-gallery --yes || :\n          ae5 project upload examples/gallery --name panel-gallery --tag ${{ steps.vars.outputs.tag }}\n          ae5 deployment start panel-gallery --endpoint panel-gallery --command prod --public --resource-profile extra_large --wait\n", "state": "active", "repository": "holoviz/panel"}
{"mined_at": "2024-07-15T15:48:32.834420", "created_at": "2023-04-20T00:29:48+02:00", "updated_at": "2023-04-20T00:29:48+02:00", "name": "jupyterlite", "path": ".github/workflows/jupyterlite.yaml", "contents": "name: jupyterlite\n\non:\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n      - 'v[0-9]+.[0-9]+.[0-9]+a[0-9]+'\n      - 'v[0-9]+.[0-9]+.[0-9]+b[0-9]+'\n      - 'v[0-9]+.[0-9]+.[0-9]+rc[0-9]+'\n  workflow_dispatch:\n    inputs:\n      target:\n        description: 'Site to build and deploy'\n        type: choice\n        options:\n        - dev\n        - main\n        - dryrun\n        required: true\n        default: dryrun\n  schedule:\n    - cron: '0 19 * * SUN'\n\njobs:\n  deploy_jupyterlite:\n    name: JupyterLite\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Set and echo git ref\n        id: vars\n        run: |\n          echo 'Deploying from ref ${GITHUB_REF#refs/*/}'\n          echo 'tag=${GITHUB_REF#refs/*/}' >> $GITHUB_OUTPUT\n      - name: Install the dependencies\n        run: |\n          python -m pip install -r ./lite/requirements.txt\n      - name: Build pyodide wheels for JupyterLite\n        run: |\n          python ./scripts/build_pyodide_wheels.py lite/pypi\n      - name: Convert content\n        run: |\n          python ./scripts/panelite/generate_panelite_content.py\n      - name: Build the JupyterLite site\n        run: |\n          jupyter lite build --lite-dir lite --output-dir lite/dist\n      - name: Upload dev\n        if: |\n          (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'dev') ||\n          (github.event_name == 'workflow_run' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          personal_token: ${{ secrets.ACCESS_TOKEN }}\n          external_repository: holoviz-dev/panelite-dev\n          publish_dir: ./lite/dist\n          force_orphan: true\n      - name: Upload prod\n        if: |\n          (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||\n          (github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          personal_token: ${{ secrets.ACCESS_TOKEN }}\n          external_repository: holoviz-dev/panelite\n          publish_dir: ./lite/dist\n          cname: panelite.holoviz.org\n          force_orphan: true\n", "state": "active", "repository": "holoviz/panel"}
{"mined_at": "2024-07-15T15:48:33.894095", "created_at": "2024-05-14T11:34:36+02:00", "updated_at": "2024-05-14T11:34:36+02:00", "name": "nightly_lock", "path": ".github/workflows/nightly_lock.yaml", "contents": "name: nightly_lock\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nenv:\n  PACKAGE: \"panel\"\n\njobs:\n  pixi_lock:\n    name: Pixi lock\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi\n      - name: Upload lock-file to S3\n        if: '!github.event.pull_request.head.repo.fork'\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: \"eu-west-1\"\n        run: |\n          zip $(date +%Y-%m-%d).zip pixi.lock pixi.toml\n          aws s3 cp ./$(date +%Y-%m-%d).zip s3://assets.holoviz.org/lock/$PACKAGE/\n", "state": "active", "repository": "holoviz/panel"}
{"mined_at": "2024-07-15T15:48:35.008036", "created_at": "2020-11-03T13:05:22+01:00", "updated_at": "2023-04-29T13:53:59+02:00", "name": "tests", "path": ".github/workflows/test.yaml", "contents": "name: tests\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - \"*\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"How much of the test suite to run\"\n        type: choice\n        default: default\n        options:\n          - default\n          - full\n          - downstream\n      cache:\n        description: \"Use cache\"\n        type: boolean\n        default: true\n  schedule:\n    - cron: \"0 19 * * SUN\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash -el {0}\n\nenv:\n  DISPLAY: \":99.0\"\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  COV: \"--cov=./panel --cov-report=xml --cov-append\"\n\njobs:\n  pre_commit:\n    name: Run pre-commit\n    needs: [setup]\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pre-commit@v0\n      - uses: pre-commit/action@v3.0.1\n        if: needs.setup.outputs.img_change == 'true'\n        with:\n          extra_args: -a --hook-stage manual oxipng || true --\n      - uses: stefanzweifel/git-auto-commit-action@v4\n        if: needs.setup.outputs.img_change == 'true'\n        with:\n          commit_message: \"Optimize PNG images (lossless)\"\n          file_pattern: \"*.png\"\n\n  setup:\n    name: Setup workflow\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n    outputs:\n      code_change: ${{ steps.filter.outputs.code }}\n      doc_change: ${{ steps.filter.outputs.doc }}\n      img_change: ${{ steps.filter.outputs.img }}\n      matrix: ${{ env.MATRIX }}\n    steps:\n      - uses: actions/checkout@v4\n        if: github.event_name != 'pull_request'\n      - name: Check for code changes\n        uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            code:\n              - 'panel/**'\n              - 'examples/**'\n              - 'pixi.toml'\n              - 'pyproject.toml'\n              - '.github/workflows/test.yaml'\n            doc:\n              - 'doc/getting_started/**'\n              - 'doc/how_to/**'\n              - 'scripts/**'\n              - 'lite/**'\n            img:\n              - '**/*.png'\n      - name: Set matrix option\n        run: |\n          if [[ '${{ github.event_name }}' == 'workflow_dispatch' ]]; then\n            OPTION=${{ github.event.inputs.target }}\n          elif [[ '${{ github.event_name }}' == 'schedule' ]]; then\n            OPTION=\"full\"\n          elif [[ '${{ github.event_name }}' == 'push' && '${{ github.ref_type }}' == 'tag' ]]; then\n            OPTION=\"full\"\n          else\n            OPTION=\"default\"\n          fi\n          echo \"MATRIX_OPTION=$OPTION\" >> $GITHUB_ENV\n      - name: Set test matrix with 'default' option\n        if: env.MATRIX_OPTION == 'default'\n        run: |\n          MATRIX=$(jq -nsc '{\n              \"os\": [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"],\n              \"environment\": [\"test-310\", \"test-312\"]\n          }')\n          echo \"MATRIX=$MATRIX\" >> $GITHUB_ENV\n      - name: Set test matrix with 'full' option\n        if: env.MATRIX_OPTION == 'full'\n        run: |\n          MATRIX=$(jq -nsc '{\n              \"os\": [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"],\n              \"environment\": [\"test-310\", \"test-311\", \"test-312\"]\n          }')\n          echo \"MATRIX=$MATRIX\" >> $GITHUB_ENV\n      - name: Set test matrix with 'downstream' option\n        if: env.MATRIX_OPTION == 'downstream'\n        run: |\n          MATRIX=$(jq -nsc '{\n              \"os\": [\"ubuntu-latest\"],\n              \"environment\": [\"test-312\"]\n          }')\n          echo \"MATRIX=$MATRIX\" >> $GITHUB_ENV\n\n  pixi_lock:\n    name: Pixi lock\n    runs-on: ubuntu-latest\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi\n        with:\n          cache: ${{ github.event.inputs.cache == 'true' || github.event.inputs.cache == '' }}\n\n  unit_test_suite:\n    name: unit:${{ matrix.environment }}:${{ matrix.os }}\n    needs: [pre_commit, setup, pixi_lock]\n    runs-on: ${{ matrix.os }}\n    if: needs.setup.outputs.code_change == 'true'\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.setup.outputs.matrix) }}\n    timeout-minutes: 90\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        with:\n          environments: ${{ matrix.environment }}\n          opengl: true\n      - name: Test unit\n        run: |\n          pixi run -e ${{ matrix.environment }} test-unit $COV\n      - name: Test subprocess\n        if: contains(matrix.os, 'ubuntu')\n        run: |\n          pixi run -e ${{ matrix.environment }} test-subprocess $COV\n      - name: Test docs\n        run: |\n          pixi run -e ${{ matrix.environment }} test-docs $COV\n      - name: Test Examples\n        run: |\n          pixi run -e ${{ matrix.environment }} test-example\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  ui_test_suite:\n    name: ui:${{ matrix.environment }}:${{ matrix.os }}\n    needs: [pre_commit, setup, pixi_lock]\n    runs-on: ${{ matrix.os }}\n    if: needs.setup.outputs.code_change == 'true' || needs.setup.outputs.doc_change == 'true'\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        environment: [\"test-ui\"]\n    timeout-minutes: 120\n    env:\n      PANEL_LOG_LEVEL: info\n      OAUTH_COOKIE_SECRET: ${{ secrets.OAUTH_COOKIE_SECRET }}\n      OAUTH_ENCRYPTION_KEY: ${{ secrets.OAUTH_ENCRYPTION_KEY }}\n      AUTH0_PORT: \"5701\"\n      AUTH0_OAUTH_KEY: ${{ secrets.AUTH0_OAUTH_KEY }}\n      AUTH0_OAUTH_SECRET: ${{ secrets.AUTH0_OAUTH_SECRET }}\n      AUTH0_OAUTH_EXTRA_PARAMS: ${{ secrets.AUTH0_OAUTH_EXTRA_PARAMS }}\n      AUTH0_OAUTH_USER: ${{ secrets.AUTH0_OAUTH_USER }}\n      AUTH0_OAUTH_PASSWORD: ${{ secrets.AUTH0_OAUTH_PASSWORD }}\n      AZURE_PORT: \"5702\"\n      AZURE_OAUTH_KEY: ${{ secrets.AZURE_OAUTH_KEY }}\n      AZURE_OAUTH_SECRET: ${{ secrets.AZURE_OAUTH_SECRET }}\n      AZURE_OAUTH_USER: ${{ secrets.AZURE_OAUTH_USER }}\n      AZURE_OAUTH_PASSWORD: ${{ secrets.AZURE_OAUTH_PASSWORD }}\n      OKTA_PORT: \"5703\"\n      OKTA_OAUTH_KEY: ${{ secrets.OKTA_OAUTH_KEY }}\n      OKTA_OAUTH_SECRET: ${{ secrets.OKTA_OAUTH_SECRET }}\n      OKTA_OAUTH_EXTRA_PARAMS: ${{ secrets.OKTA_OAUTH_EXTRA_PARAMS }}\n      OKTA_OAUTH_USER: ${{ secrets.OKTA_OAUTH_USER }}\n      OKTA_OAUTH_PASSWORD: ${{ secrets.OKTA_OAUTH_PASSWORD }}\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        with:\n          environments: ${{ matrix.environment }}\n        id: install\n      - name: Launch JupyterLab\n        shell: pixi run -e test-ui bash -el {0}\n        run: |\n          jupyter server extension enable panel.io.jupyter_server_extension --sys-prefix\n          (jupyter lab --config panel/tests/ui/jupyter_server_test_config.py --port 8887 > /tmp/jupyterlab_server.log 2>&1) &\n      - name: Build JupyterLite\n        shell: pixi run -e test-ui bash -el {0}\n        run: |\n          # TODO: Make this a pixi feature/environment\n          python -m pip install -r ./lite/requirements.txt\n          python ./scripts/build_pyodide_wheels.py lite/pypi\n          python ./scripts/panelite/generate_panelite_content.py\n          jupyter lite build --lite-dir lite --output-dir lite/dist\n      - name: Wait for JupyterLab\n        uses: ifaxity/wait-on-action@v1.2.1\n        with:\n          resource: http-get://localhost:8887/lab\n          timeout: 180000\n      - name: Test UI\n        run: |\n          # Create a .uicoveragerc file to set the concurrency library to greenlet\n          # https://github.com/microsoft/playwright-python/issues/313\n          echo \"[run]\\nconcurrency = greenlet\" > .uicoveragerc\n          FAIL=\"--screenshot only-on-failure --full-page-screenshot --output ui_screenshots --tracing retain-on-failure\"\n          pixi run -e ${{ matrix.environment }} test-ui --jupyter $COV --cov-config=.uicoveragerc $FAIL\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: ui_screenshots_${{ runner.os }}\n          path: ./ui_screenshots\n          if-no-files-found: ignore\n      - name: Stop JupyterLab\n        if: always()\n        shell: pixi run -e test-ui bash -el {0}\n        run: |\n          jupyter lab stop 8887 || true\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  core_test_suite:\n    name: core:${{ matrix.environment }}:${{ matrix.os }}\n    needs: [pre_commit, setup, pixi_lock]\n    runs-on: ${{ matrix.os }}\n    if: needs.setup.outputs.code_change == 'true'\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        environment: [\"test-core\"]\n    timeout-minutes: 120\n    steps:\n      - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi\n        with:\n          environments: ${{ matrix.environment }}\n      - name: Test Unit\n        run: |\n          pixi run -e ${{ matrix.environment }} test-unit\n", "state": "active", "repository": "holoviz/panel"}
{"mined_at": "2024-07-15T15:48:36.156822", "created_at": "2022-04-15T17:55:23+02:00", "updated_at": "2022-04-15T17:55:23+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "holoviz/panel"}
{"mined_at": "2024-07-15T15:48:38.364279", "created_at": "2020-06-16T03:23:20+02:00", "updated_at": "2021-04-22T21:26:37+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "# adapted from https://github.com/actions/starter-workflows/blob/master/ci/python-package.yml\n\nname: CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  lint:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo apt install -y pandoc gsfonts\n        python -m pip install --upgrade pip\n        pip install jaxlib\n        pip install jax\n        pip install .[doc,test]\n        pip install https://github.com/pyro-ppl/funsor/archive/master.zip\n        pip install -r docs/requirements.txt\n        pip freeze\n    - name: Lint with ruff\n      run: |\n        make lint\n    - name: Build documentation\n      run: |\n        make docs\n    - name: Test documentation\n      run: |\n        make doctest\n        python -m doctest -v README.md\n\n\n  test-modeling:\n\n    runs-on: ubuntu-latest\n    needs: lint\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo apt install -y graphviz\n        python -m pip install --upgrade pip\n        # Keep track of pyro-api master branch\n        pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip\n        pip install jaxlib\n        pip install jax\n        pip install https://github.com/pyro-ppl/funsor/archive/master.zip\n        pip install .[dev,test]\n        pip freeze\n    - name: Test with pytest\n      run: |\n        CI=1 pytest -vs -k \"not test_example\" --durations=100 --ignore=test/infer/ --ignore=test/contrib/\n\n\n  test-inference:\n\n    runs-on: ubuntu-latest\n    needs: lint\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        # Keep track of pyro-api master branch\n        pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip\n        pip install jaxlib\n        pip install jax\n        pip install https://github.com/pyro-ppl/funsor/archive/master.zip\n        pip install .[dev,test]\n        pip freeze\n    - name: Test with pytest\n      run: |\n        pytest -vs --durations=20 test/infer/test_mcmc.py\n        pytest -vs --durations=20 test/infer --ignore=test/infer/test_mcmc.py\n        pytest -vs --durations=20 test/contrib --ignore=test/contrib/stochastic_support/test_dcc.py\n    - name: Test x64\n      run: |\n        JAX_ENABLE_X64=1 pytest -vs test/infer/test_mcmc.py -k x64\n    - name: Test chains\n      run: |\n        XLA_FLAGS=\"--xla_force_host_platform_device_count=2\" pytest -vs test/infer/test_mcmc.py -k \"chain or pmap or vmap\"\n        XLA_FLAGS=\"--xla_force_host_platform_device_count=2\" pytest -vs test/contrib/test_tfp.py -k \"chain\"\n        XLA_FLAGS=\"--xla_force_host_platform_device_count=2\" pytest -vs test/contrib/stochastic_support/test_dcc.py\n        XLA_FLAGS=\"--xla_force_host_platform_device_count=2\" pytest -vs test/infer/test_hmc_gibbs.py -k \"chain\"\n    - name: Test custom prng\n      run: |\n        JAX_ENABLE_CUSTOM_PRNG=1 pytest -vs test/infer/test_mcmc.py\n\n\n  examples:\n\n    runs-on: ubuntu-latest\n    needs: lint\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install jaxlib\n        pip install jax\n        pip install https://github.com/pyro-ppl/funsor/archive/master.zip\n        pip install .[dev,examples,test]\n        pip freeze\n    - name: Test with pytest\n      run: |\n        CI=1 XLA_FLAGS=\"--xla_force_host_platform_device_count=2\" pytest -vs -k test_example\n", "state": "active", "repository": "pyro-ppl/numpyro"}
{"mined_at": "2024-07-15T15:48:39.397240", "created_at": "2024-02-16T21:32:31+01:00", "updated_at": "2024-03-02T14:14:40+01:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# GitHub recommends pinning actions to a commit SHA.\n# To get a newer version, you will need to update the SHA.\n# You can also reference a tag or branch, but the action may change without warning.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [ published ]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: python -m build\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n", "state": "active", "repository": "pyro-ppl/numpyro"}
{"mined_at": "2024-07-15T15:48:41.531937", "created_at": "2022-03-04T14:04:29+01:00", "updated_at": "2022-03-04T14:04:29+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '22 20 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "custom-components/ble_monitor"}
{"mined_at": "2024-07-15T15:48:42.764402", "created_at": "2023-05-28T22:43:07+02:00", "updated_at": "2023-06-05T17:57:15+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [master]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n    - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "custom-components/ble_monitor"}
{"mined_at": "2024-07-15T15:48:43.870061", "created_at": "2021-07-17T15:23:09+02:00", "updated_at": "2021-07-23T17:08:01+02:00", "name": "Test BLE monitor", "path": ".github/workflows/test_commit.yml", "contents": "name: Test BLE monitor\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  validate:\n    runs-on: \"ubuntu-latest\"\n    name: Validate HACS and Hassfest\n    steps:\n        - uses: \"actions/checkout@v4\"\n\n        - name: HACS validation\n          uses: \"hacs/action@main\"\n          with:\n            category: \"integration\"\n\n        - name: Hassfest validation\n          uses: \"home-assistant/actions/hassfest@master\"\n\n  tests:\n    runs-on: \"ubuntu-latest\"\n    name: Run tests\n    steps:\n      - name: Check out code from GitHub\n        uses: \"actions/checkout@v4\"\n      - name: Setup Python\n        uses: \"actions/setup-python@v5\"\n        with:\n          python-version: \"3.12\"\n      - name: Install requirements\n        run: python3 -m pip install -r requirements_test.txt\n      - name: Run pytest\n        run: |\n          pytest\n", "state": "active", "repository": "custom-components/ble_monitor"}
{"mined_at": "2024-07-15T15:48:44.874636", "created_at": "2021-12-26T16:01:52+01:00", "updated_at": "2021-12-26T16:01:52+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "custom-components/ble_monitor"}
{"mined_at": "2024-07-15T15:48:46.968188", "created_at": "2022-09-18T01:05:49+02:00", "updated_at": "2022-09-18T01:05:49+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  # Trigger the workflow on push to main or any pull request\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  build-and-test:\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        python-version: [3.8]\n        torchaudio-version: [0.8.1, 0.9.1, 0.10.2, 0.11.0, 0.12.1, 0.13.1, 2.0.2, 2.1.0]\n        include:\n          - os: ubuntu-20.04\n            python-version: 3.7\n            torchaudio-version: 0.11.0\n          - os: ubuntu-20.04\n            python-version: 3.9\n            torchaudio-version: 0.8.1\n          - os: ubuntu-20.04\n            python-version: \"3.10\"  # if not quoted, will be interpreted as 3.1\n            torchaudio-version: 0.11.0\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Linux dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libsndfile1-dev sox git git-lfs\n\n    - name: Upgrade pip and wheel\n      run: pip3 install --upgrade pip wheel setuptools\n\n    - name: Install dependencies for tests\n      run: pip3 install -r requirements/dev.txt\n\n    - name: Check coding style by ci/format.py\n      run: |\n        ./ci/format.py --check\n\n    # This can be very helpful for debugging\n    # The action can create a SSH server for you to connect. After you\n    # log into the machine hosted by GitHub, it becomes easy to debug\n    # why the CI fails on a specific machine.\n\n    # - name: Setup upterm session\n    #   uses: lhotari/action-upterm@v1\n\n    - name: Run tox for common upstream\n      run: |\n        tox -e common_upstream-audio${{ matrix.torchaudio-version }} -- -k test_common_upstream\n\n    # Not all upstreams will be tested on CI since this will take too much time\n    # To test all upstreams, run tox locally with '-e all_upstream'\n\n    # - name: Run tox for all other functionalities\n    #   run: |\n    #     tox -e all_others-deps_all-audio${{ matrix.torchaudio-version }}\n", "state": "active", "repository": "s3prl/s3prl"}
{"mined_at": "2024-07-15T15:48:48.005924", "created_at": "2022-08-14T14:00:16+02:00", "updated_at": "2022-08-14T15:03:36+02:00", "name": "Deploy documentation", "path": ".github/workflows/doc.yml", "contents": "name: Deploy documentation\n\non:\n  push:\n    branches:\n      - main\n      - debug\n\njobs:\n  deploy-doc:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Create virtual environment\n        run: |\n          python3 -m venv \"$HOME/s3prl_env\"\n          echo \"$HOME/s3prl_env/bin\" >> $GITHUB_PATH\n\n      - name: Install Linux dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y libsndfile1-dev sox\n\n      - name: Upgrade pip and wheel\n        run: pip3 install --upgrade pip wheel setuptools\n\n      # - name: Setup upterm sessions\n      #   uses: lhotari/action-upterm@v1\n\n      - name: install S3PRL\n        run: |\n          pip install -e \".[dev]\"\n\n      - name: Build doc\n        run: |\n          cd docs/\n          ./rebuild_docs.sh\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        if: ${{ github.ref == 'refs/heads/main' }}\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs/build/html\n\n", "state": "active", "repository": "s3prl/s3prl"}
{"mined_at": "2024-07-15T15:48:49.059529", "created_at": "2023-10-25T20:33:24+02:00", "updated_at": "2023-10-28T09:50:19+02:00", "name": "CI", "path": ".github/workflows/espnet.yml", "contents": "name: CI\n\non:\n  # Trigger the workflow on push to main or any pull request\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  build-and-test:\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        python-version: [3.8]\n        torchaudio-version: [0.12.1, 0.13.1, 2.0.2, 2.1.0]\n          # espnet use 'torchaudio.models.hubert_pretrain_model' with 'feature_grad_mult' option\n          # which is available after torchaudio==0.12.0\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Linux dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libsndfile1-dev sox git git-lfs\n\n    - name: Upgrade pip and wheel\n      run: pip3 install --upgrade pip wheel setuptools\n\n    - name: Install dependencies for tests\n      run: pip3 install -r requirements/dev.txt\n\n    # This can be very helpful for debugging\n    # The action can create a SSH server for you to connect. After you\n    # log into the machine hosted by GitHub, it becomes easy to debug\n    # why the CI fails on a specific machine.\n\n    # - name: Setup upterm session\n    #   uses: lhotari/action-upterm@v1\n\n    - name: Run tox for common upstream\n      run: |\n        tox -e common_upstream-audio${{ matrix.torchaudio-version }}-espnet -- -k test_specific_upstream --upstream_names espnet_hubert_base_iter1\n\n    # Not all upstreams will be tested on CI since this will take too much time\n    # To test all upstreams, run tox locally with '-e all_upstream'\n\n    # - name: Run tox for all other functionalities\n    #   run: |\n    #     tox -e all_others-deps_all-audio${{ matrix.torchaudio-version }}\n", "state": "active", "repository": "s3prl/s3prl"}
{"mined_at": "2024-07-15T15:48:50.103384", "created_at": "2022-08-14T00:55:41+02:00", "updated_at": "2022-08-14T00:55:41+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "s3prl/s3prl"}
{"mined_at": "2024-07-15T15:48:52.288707", "created_at": "2022-07-25T21:57:10+02:00", "updated_at": "2022-07-26T17:45:15+02:00", "name": "Add Issue Labels", "path": ".github/workflows/add-issue-labels.yaml", "contents": "name: \"Add Issue Labels\"\non:\n  issues:\n    types: [opened]\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n      # Update .github/labeler.yml for new dialects\n      - uses: github/issue-labeler@v3.2\n        with:\n          configuration-path: .github/labeler.yml\n          include-title: 1\n          include-body: 0\n          not-before: 2023-07-06T02:54:32Z\n          enable-versioned-regex: 0\n          repo-token: ${{ github.token }}\n", "state": "active", "repository": "sqlfluff/sqlfluff"}
{"mined_at": "2024-07-15T15:48:53.340738", "created_at": "2021-08-18T00:12:12+02:00", "updated_at": "2021-08-18T00:12:12+02:00", "name": "Add to Release Notes", "path": ".github/workflows/add-to-release-notes.yml", "contents": "#\n# This updates the current draft release notes when a PR is merged\n#\nname: Add to Release Notes\non:\n  push:\n    branches:\n      - main\njobs:\n  draft-release:\n    runs-on: ubuntu-20.04\n    if: github.repository == 'sqlfluff/sqlfluff'\n    steps:\n    - name: Update release notes\n      uses: release-drafter/release-drafter@v5\n      # If it's a release PR, then we should also update\n      # the header and title here too.\n      # with:\n      #   name: ${{    }}\n      #   header: ${{    }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "sqlfluff/sqlfluff"}
{"mined_at": "2024-07-15T15:48:54.425284", "created_at": "2023-09-12T18:25:21+02:00", "updated_at": "2023-09-12T18:25:21+02:00", "name": "Comment on the pull request", "path": ".github/workflows/ci-pr-comments.yml", "contents": "# This Workflow runs in a more secure context and comments\n# on pull requests.\n# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\nname: Comment on the pull request\n\n# Run on completion of the CI job.\n# This workflow has access to write comments on PRs event when\n# that PR is triggered by a forked repo.\non:\n  workflow_run:\n    workflows:\n      - CI\n    types:\n      - completed\n\njobs:\n  comment-on-pr:\n    runs-on: ubuntu-latest\n    if: >\n      github.event.workflow_run.event == 'pull_request'\n    steps:\n      - name: 'Download txt artifact'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const artifacts = await github.rest.actions.listWorkflowRunArtifacts({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               run_id: ${{github.event.workflow_run.id }},\n            });\n            const matchArtifact = artifacts.data.artifacts.filter((artifact) => {\n              return artifact.name == \"txt-report\"\n            })[0];\n            const download = await github.rest.actions.downloadArtifact({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               artifact_id: matchArtifact.id,\n               archive_format: 'zip',\n            });\n            var fs = require('fs');\n            fs.writeFileSync('${{github.workspace}}/cov-report.zip', Buffer.from(download.data));\n\n      - name: Unzip Downloaded Artifact\n        run: unzip cov-report.zip\n\n      - name: Update PR comment with coverage report.\n        uses: actions/github-script@v6\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            // First list the existing comments\n            const trigger_str = 'Coverage Results';\n            console.log(\"Getting existing comments...\");\n\n            const { promises: fs } = require('fs');\n            const issue_number = await fs.readFile('pr-number.txt', 'utf8');\n            console.log(\"Issue number: \" + issue_number);\n\n            const comments = await github.paginate(\n              github.rest.issues.listComments,\n              {\n                owner: 'sqlfluff',\n                repo: 'sqlfluff',\n                issue_number: Number(issue_number)\n              }\n            );\n\n            let comment_id = null;\n            console.log(\"Got %d comments\", comments.length);\n\n            comments.forEach(comment => {\n              if (comment.body.indexOf(trigger_str) >= 0) {\n                console.log(\"Found target comment ID: %d\", comment.id);\n                comment_id = comment.id;\n              } else {\n                console.log(\"Comment ID %d not valid with body:\\n%s.\", comment.id, comment.body);\n              }\n            });\n\n            const previous_outcome = await fs.readFile('outcome.txt', 'utf8');\n            console.log(\"Previous coverage step outcome: %s\", previous_outcome);\n            if (previous_outcome == \"success\\n\") {\n              status_emoji = \"✅\";\n            } else {\n              status_emoji = \"⚠️\";\n            }\n\n            const content = await fs.readFile('coverage-report.txt', 'utf8');\n            body = \"# \" + trigger_str + \" \" + status_emoji + \"\\n```\\n\" + content + \"\\n```\\n\";\n\n            if (comment_id > 0) {\n              console.log(\"Updating comment id: %d\", comment_id);\n              await github.rest.issues.updateComment({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                comment_id: comment_id,\n                body: body\n              });\n            } else {\n              console.log(\"No existing comment matched, creating a new one...\");\n              await github.rest.issues.createComment({\n                issue_number: Number(issue_number),\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                body: body\n              });\n            }\n", "state": "active", "repository": "sqlfluff/sqlfluff"}
{"mined_at": "2024-07-15T15:48:55.430871", "created_at": "2023-03-16T00:05:36+01:00", "updated_at": "2023-03-16T00:05:36+01:00", "name": "Modular SQLFluff dbt test workflow", "path": ".github/workflows/ci-test-dbt.yml", "contents": "#############################\n## GitHub Actions CI Tests ##\n#############################\n#\n# This is a reusable workflow to make CI tests more modular.\n# See: https://docs.github.com/en/actions/using-workflows/reusing-workflows\n#\n# Called by ci-tests.yml\n# This one does the dbt tests\n#\n\nname: Modular SQLFluff dbt test workflow\n\non:\n  workflow_call:\n    inputs:\n      python-version:\n        required: true\n        type: string\n      dbt-version:\n        required: true\n        type: string\n      coverage:\n        required: false\n        type: boolean\n        default: false\n    secrets:\n      gh_token:\n        required: true\n\njobs:\n  modular-python-test:\n    name: py${{ inputs.python-version }}-${{ inputs.dbt-version }}\n    runs-on: ubuntu-latest\n\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgres\n        # Provide the password for postgres\n        env:\n          POSTGRES_PASSWORD: password\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ inputs.python-version }}\n        cache: 'pip'\n        cache-dependency-path: |\n          setup.cfg\n          requirements_dev.txt\n\n    - name: Install dependencies\n      run: pip install tox\n\n    - name: Run the tests (with coverage)\n      if: ${{ inputs.coverage }}\n      run: tox -e ${{ inputs.dbt-version }} -- --cov=sqlfluff_templater_dbt plugins/sqlfluff-templater-dbt\n\n    - name: Run the tests (without coverage)\n      if: ${{ !inputs.coverage }}\n      run: tox -e ${{ inputs.dbt-version }} -- plugins/sqlfluff-templater-dbt\n\n    - name: Coveralls Parallel (coveralls)\n      uses: coverallsapp/github-action@v2\n      if: ${{ inputs.coverage }}\n      with:\n        path-to-lcov: coverage.lcov\n        github-token: ${{ secrets.gh_token }}\n        flag-name: run-${{ inputs.dbt-version }}\n        parallel: true\n\n    - name: Upload coverage data (github)\n      uses: actions/upload-artifact@v4\n      if: ${{ inputs.coverage }}\n      with:\n        name: coverage-data-py${{ inputs.python-version }}-${{ inputs.dbt-version }}\n        path: \".coverage.*\"\n        if-no-files-found: ignore\n", "state": "active", "repository": "sqlfluff/sqlfluff"}
{"mined_at": "2024-07-15T15:48:56.447161", "created_at": "2023-03-16T00:05:36+01:00", "updated_at": "2023-03-16T00:05:36+01:00", "name": "Modular SQLFluff python test workflow", "path": ".github/workflows/ci-test-python.yml", "contents": "#############################\n## GitHub Actions CI Tests ##\n#############################\n#\n# This is a reusable workflow to make CI tests more modular.\n# See: https://docs.github.com/en/actions/using-workflows/reusing-workflows\n#\n# Called by ci-tests.yml\n# This one does the python tests\n#\n\nname: Modular SQLFluff python test workflow\n\non:\n  workflow_call:\n    inputs:\n      python-version:\n        required: true\n        type: string\n      marks:\n        required: false\n        type: string\n        default: \"not integration\"\n      coverage:\n        required: false\n        type: boolean\n        default: false\n    secrets:\n      gh_token:\n        required: true\n\njobs:\n  modular-python-test:\n    runs-on: ubuntu-latest\n    name: py${{ inputs.python-version }}\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ inputs.python-version }}\n        cache: 'pip'\n        cache-dependency-path: |\n          setup.cfg\n          requirements_dev.txt\n\n    - name: Install dependencies\n      run: pip install tox\n\n    - name: Parse Python Version\n      id: py_version\n      run: |\n        PYVERSION=$(echo \"${{ inputs.python-version }}\" | sed -e 's/\\.//g')\n        echo \"PYVERSION=$PYVERSION\" >> $GITHUB_OUTPUT\n\n    # Run test process (with or without coverage).\n    # Arguments after the \"--\" are passed through to pytest:\n    #   --cov=...       The library to include in coverage reporting.\n    #   -n 2            Runs with two parallel processes.\n    #   test            The path to detect tests within.\n    #   -m ...          The pytest marks to filter tests.\n    #   --durations=16  Displays the 16 slowest runs to help with performance debugging.\n    - name: Run the tests (with coverage)\n      # NOTE: We have a separate job for coverage reporting because\n      # it impacts performance and slows the test suite significantly.\n      if: ${{ inputs.coverage }}\n      run: tox -e py${{ steps.py_version.outputs.PYVERSION }} -- --cov=sqlfluff -n 2 test -m \"${{ inputs.marks }}\" --durations=16\n    - name: Run the tests (without coverage)\n      if: ${{ !inputs.coverage }}\n      run: tox -e py${{ steps.py_version.outputs.PYVERSION }} -- -n 2 test -m \"${{ inputs.marks }}\" --durations=16\n\n    - name: Rename coverage files with suffix\n      # NOTE: We do this because we're using the same tox environment for multiple\n      # test jobs and we need to make sure that their coverage files don't collide.s\n      id: cov_suffix\n      if: ${{ inputs.coverage }}\n      run: |\n        COVSUFFIX=$(echo \"${{ inputs.marks }}\" | sed -e 's/ /-/g')\n        echo \"COVSUFFIX=$COVSUFFIX\" >> $GITHUB_OUTPUT\n        for file in .coverage.*; do mv \"$file\" \"$file.$COVSUFFIX\"; done;\n\n    - name: Coveralls Parallel (coveralls)\n      uses: coverallsapp/github-action@v2\n      if: ${{ inputs.coverage }}\n      with:\n        path-to-lcov: coverage.lcov\n        github-token: ${{ secrets.gh_token }}\n        flag-name: run-${{ inputs.python-version }}-${{ steps.cov_suffix.outputs.COVSUFFIX }}\n        parallel: true\n\n    - name: Upload coverage data (github)\n      uses: actions/upload-artifact@v4\n      if: ${{ inputs.coverage }}\n      with:\n        name: coverage-data-py${{ inputs.python-version }}-${{ inputs.marks }}\n        path: \".coverage.*\"\n        if-no-files-found: ignore\n", "state": "active", "repository": "sqlfluff/sqlfluff"}
{"mined_at": "2024-07-15T15:48:57.467159", "created_at": "2021-09-06T16:57:31+02:00", "updated_at": "2023-05-10T21:26:40+02:00", "name": "CI", "path": ".github/workflows/ci-tests.yml", "contents": "#############################\n## GitHub Actions CI Tests ##\n#############################\n#\n# This can be kicked off manually in the Actions tab of GitHub\n# It will also run nightly at 2pm\n# It will run on any pull request, except non-code changes\n# (images, markdown files, )\n#\nname: CI\n\non:\n  workflow_dispatch:\n  schedule:\n    # 2am each night\n    - cron: '00 2 * * *'\n  # Don't use pull_request_target here. See:\n  # https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n  pull_request:\n  push:\n    branches:\n      - main\n  merge_group:\n    # Merge Queue checks requested. This feature is still in beta\n    # from Github and so may need updating later.\n    # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#merge_group\n    types: [checks_requested]\n\njobs:\n\n  linting:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        jobs: [ 'linting', 'doclinting', 'docbuild', 'yamllint', 'mypy', 'doctests' ]\n    name: ${{ matrix.jobs }} tests\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: pip install tox\n    - name: Run the tests\n      run: tox -e ${{ matrix.jobs }}\n\n  # Test with coverage tracking on most recent python (py12).\n  python-version-tests:\n    name: Python Tests\n    strategy:\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n        include:\n          # Default to test without coverage tracking on older python versions.\n          # This saves time, as testing without coverage tracking is faster.\n          - coverage: false\n          # Override coverage to be true for most recent python version.\n          - python-version: \"3.12\"\n            coverage: true\n    permissions:\n      contents: read\n      pull-requests: write\n    uses: ./.github/workflows/ci-test-python.yml\n    with:\n      python-version: ${{ matrix.python-version }}\n      coverage: ${{ matrix.coverage }}\n    secrets:\n      gh_token: ${{ secrets.github_token }}\n\n  dbt-tests:\n    name: dbt Plugin Tests\n    strategy:\n      matrix:\n        dbt-version: [ dbt110, dbt120, dbt130, dbt140, dbt150, dbt160, dbt170, dbt180 ]\n        include:\n          # Default to python 3.11 for dbt tests. dbt doesn't support py 3.12 yet.\n          - python-version: \"3.11\"\n          # For the two oldest dbt versions, override to python 3.9.\n          - dbt-version: dbt110\n            python-version: \"3.9\"\n          - dbt-version: dbt120\n            python-version: \"3.9\"\n          # For dbt 1.3 override to python 3.10\n          - dbt-version: dbt130\n            python-version: \"3.10\"\n    permissions:\n      contents: read\n      pull-requests: write\n    uses: ./.github/workflows/ci-test-dbt.yml\n    with:\n      python-version: ${{ matrix.python-version }}\n      dbt-version: ${{ matrix.dbt-version }}\n      coverage: true\n    secrets:\n      gh_token: ${{ secrets.github_token }}\n\n  dialect-tests:\n    name: Dialect ${{ matrix.marks }}\n    strategy:\n      matrix:\n        include:\n          # This runs the bulk of the dialect _parsing_ tests.\n          #\n          # It's run as a separate job as takes longer than the CI jobs and allows\n          # them to be rerun separately if GitHub Actions or Coverage is experiencing\n          # issues.\n          - marks: \"parse_suite\"\n            # We test coverage here for some parsing routines.\n            coverage: true\n          # This lints all our dialect fixtures to check rules can handle a variety\n          # of SQL and don't error out badly.\n          #\n          # It's run as a separate job as takes longer than the CI jobs and allows\n          # them to be rerun separately if GitHub Actions or Coverage is experiencing\n          # issues.\n          - marks: \"fix_suite\"\n            coverage: false\n          # This lints all our rules fixtures to check rules.\n          #\n          # It's run as a separate job as takes longer than the CI jobs and allows\n          # them to be rerun separately if GitHub Actions or Coverage is experiencing\n          # issues.\n          - marks: \"rules_suite\"\n            coverage: true\n    permissions:\n      contents: read\n      pull-requests: write\n    uses: ./.github/workflows/ci-test-python.yml\n    with:\n      python-version: \"3.12\"\n      marks: ${{ matrix.marks }}\n      coverage: ${{ matrix.coverage }}\n    secrets:\n      gh_token: ${{ secrets.github_token }}\n\n  ymlchecks:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: |\n        pip install -r requirements_dev.txt\n        pip install -e .\n    - name: Generate the YAML files\n      run: |\n        python test/generate_parse_fixture_yml.py\n    - name: Test the generated YAML files\n      run: |\n        if [ -n \"$(git status --porcelain)\" ]; then\n          git diff\n          echo \"Generated YAML files do not match branch.\"\n          echo \"Please run the following command to generate these:\"\n          echo \"  python test/generate_parse_fixture_yml.py\"\n          exit 1\n        fi\n\n  examples:\n    runs-on: ubuntu-latest\n    name: example tests\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: |\n        pip install -e .\n        pip install tqdm\n    - name: Test the example files\n      run: |\n        for file in examples/*\n        do\n          echo \"Running $file\"\n          python \"$file\"\n        done\n\n  python-windows-tests:\n    runs-on: windows-latest\n    name: Python 3.12 Windows tests\n    steps:\n    - name: Set git to use LF\n      run: |\n        git config --global core.autocrlf false\n        git config --global core.eol lf\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n    - name: List Env\n      shell: bash\n      run: |\n        env | sort\n    - name: Install dependencies\n      shell: bash\n      run: pip install tox\n    - name: Run the tests\n      shell: bash\n      # Set python temp dir in working dir as on GitHub Actions Windows\n      # machine often has system temp dir (which tox uses) on C drive and\n      # working dir on D drive which causes problems.\n      run: |\n        mkdir temp_pytest\n        python -m tox -e winpy -- --cov=sqlfluff -n 2 test -m \"not integration\"\n    - name: Upload coverage data (github)\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage-data-winpy3.12\n        path: \".coverage.*\"\n        if-no-files-found: ignore\n\n  python-windows-dbt-tests:\n    runs-on: windows-latest\n    name: dbt Plugin Python 3.11 Windows tests\n    steps:\n    - name: Start PostgreSQL on Windows\n      run: |\n        $pgService = Get-Service -Name postgresql*\n        Set-Service -InputObject $pgService -Status running -StartupType automatic\n        Start-Process -FilePath \"$env:PGBIN\\pg_isready\" -Wait -PassThru\n    - name: Set postgres user password\n      run: |\n        & $env:PGBIN\\psql --command=\"ALTER USER postgres PASSWORD 'password';\" --command=\"\\du\"\n    - name: Set git to use LF\n      run: |\n        git config --global core.autocrlf false\n        git config --global core.eol lf\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        # dbt doesn't support py 3.12 yet.\n        python-version: \"3.11\"\n    - name: Install dependencies\n      shell: bash\n      run: pip install tox\n    - name: Run the tests\n      shell: bash\n      # Do not set explicitly temp dir for dbt as causes problems\n      # None of these test need temp dir set\n      run: |\n        python -m tox -e dbt150-winpy -- plugins/sqlfluff-templater-dbt\n\n  pip-test-pull-request:\n    # Test that using pip install works as we've missed\n    # some dependencies in the past - see #1842\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request'\n    name: pip install tests\n    steps:\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n    - uses: actions/checkout@v4\n    - name: Install dependencies\n      run: |\n        pip install .\n    - name: Run the version test\n      run: |\n        sqlfluff --version\n    - name: Run a simple select parse test via stdin\n      run: |\n        echo \"select 1\" | sqlfluff parse --dialect=ansi -\n    - name: Run a simple select lint test via stdin\n      run: |\n        echo \"select 1\" | sqlfluff lint --dialect=ansi -\n    - name: Run a simple select parse test via file\n      run: |\n        sqlfluff parse --dialect=ansi <(echo \"select 1\")\n    - name: Run a simple select lint test via file\n      run: |\n        sqlfluff lint --dialect=ansi <(echo \"select 1\")\n\n  coveralls_finish:\n    name: Finalise coveralls.\n    needs: [python-version-tests, dbt-tests, python-windows-tests, dialect-tests]\n    runs-on: ubuntu-latest\n    steps:\n    - name: Coveralls Finished\n      uses: coverallsapp/github-action@v2\n      with:\n        github-token: ${{ secrets.github_token }}\n        parallel-finished: true\n\n  coverage_check:\n    name: Combine & check 100% coverage.\n    runs-on: ubuntu-latest\n    needs: [python-version-tests, dbt-tests, python-windows-tests, dialect-tests]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - run: python -m pip install --upgrade coverage[toml]\n\n      - name: Download coverage data.\n        uses: actions/download-artifact@v4\n        with:\n          pattern: coverage-data-*\n          merge-multiple: true\n\n      - name: Combine coverage & fail if it's <100%.\n        id: report_coverage\n        # NOTE: Setting the pipefail option here means that even when\n        # piping the output to `tee`, we still get the exit code of the\n        # `coverage report` command.\n        run: |\n          set -o pipefail\n          python -m coverage combine\n          python -m coverage html --skip-covered --skip-empty\n          python -m coverage report --fail-under=100 --skip-covered --skip-empty -m | tee coverage-report.txt\n\n      - name: Upload HTML report if check failed.\n        uses: actions/upload-artifact@v4\n        with:\n          name: html-report\n          path: htmlcov\n        if: failure() && github.event_name == 'pull_request'\n\n      - name: Stash PR Number.\n        if: always() && github.event_name == 'pull_request'\n        # NOTE: We do this so we know what PR to comment on when we pick up the report.\n        run: |\n          echo ${{ github.event.number }} > ./pr-number.txt\n          echo ${{ steps.report_coverage.outcome }} > ./outcome.txt\n\n      - name: Upload TXT report always (to add as comment to PR).\n        # NOTE: We don't actually comment on the PR from here, we'll do that in\n        # a more secure way by triggering a more secure workflow.\n        # https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n        uses: actions/upload-artifact@v4\n        with:\n          name: txt-report\n          path: |\n            coverage-report.txt\n            pr-number.txt\n            outcome.txt\n        if: always() && github.event_name == 'pull_request'\n", "state": "active", "repository": "sqlfluff/sqlfluff"}
{"mined_at": "2024-07-15T15:48:58.499594", "created_at": "2022-05-17T20:52:37+02:00", "updated_at": "2024-04-15T20:24:44+02:00", "name": "Create release pull request", "path": ".github/workflows/create-release-pull-request.yaml", "contents": "name: Create release pull request\n\non:\n  workflow_dispatch:\n    inputs:\n      newVersionNumber:\n        description: 'New version number'\n        required: true\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Abort if branch already exists\n        run: |\n            _check_branch=$(git ls-remote --heads origin prep-${{ github.event.inputs.newVersionNumber }})\n            if [[ -z ${_check_branch} ]]; then\n                echo \"Release branch doesn't exist yet, continuing\"\n            else\n                echo \"Release branch already exists, aborting. Run the Python release script locally.\"\n                exit 1\n            fi\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Install dependencies\n        run: |\n          pip install requests click pyyaml ghapi\n\n      - name: Prepare release\n        run: |\n          python util.py release ${{ github.event.inputs.newVersionNumber }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITHUB_REPOSITORY_OWNER: ${{ secrets.GITHUB_REPOSITORY_OWNER }}\n\n      - name: Create pull request\n        uses: peter-evans/create-pull-request@v4\n        with:\n          delete-branch: true\n          branch: prep-${{ github.event.inputs.newVersionNumber }}\n          commit-message: \"Bump to version ${{ github.event.inputs.newVersionNumber }}\"\n          title: Prep version ${{ github.event.inputs.newVersionNumber }}\n          body: |\n            Prepare version ${{ github.event.inputs.newVersionNumber }}\n\n            Please add all merged changes from [Release Draft][1] to\n            the CHANGELOG.md file\n\n            - Auto-generated by [create-pull-request][2] GitHub Action\n\n            [1]: https://github.com/sqlfluff/sqlfluff/releases\n            [2]: https://github.com/peter-evans/create-pull-request\n          labels: |\n            release\n            skip-changelog\n\n      - name: Update release title and tag\n        uses: release-drafter/release-drafter@v5\n        with:\n          # NOTE: We should eventually actually populate the date here, but that\n          # will most likely change before the new pull request actually gets\n          # merged, so we just add \"YYYY-MM-DD\" for now as a placeholder.\n          name: \"[${{ github.event.inputs.newVersionNumber }}] - YYYY-MM-DD\"\n          tag: ${{ github.event.inputs.newVersionNumber }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "sqlfluff/sqlfluff"}
{"mined_at": "2024-07-15T15:48:59.551119", "created_at": "2024-03-29T16:42:35+01:00", "updated_at": "2024-04-01T23:27:08+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "---\nname: pre-commit\non:\n  pull_request:\n  push:\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    env:\n      RAW_LOG: pre-commit.log\n      CS_XML: pre-commit.xml\n      SKIP: no-commit-to-branch\n    steps:\n      - run: sudo apt-get update && sudo apt-get install cppcheck\n        if: false\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        if: false\n        with:\n          cache: pip\n          python-version: 3.12.1\n      - run: python -m pip install pre-commit\n      - uses: actions/cache/restore@v4\n        with:\n          path: ~/.cache/pre-commit/\n          key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml')\n            }}\n      - name: Run pre-commit hooks\n        run: |\n          set -o pipefail\n          pre-commit gc\n          pre-commit run --show-diff-on-failure --color=always --all-files | tee ${RAW_LOG}\n      - name: Convert Raw Log to Checkstyle format (launch action)\n        uses: mdeweerd/logToCheckStyle@v2024.3.5\n        if: ${{ failure() }}\n        with:\n          in: ${{ env.RAW_LOG }}\n          out: ${{ env.CS_XML }}\n      - uses: actions/cache/save@v4\n        if: ${{ ! cancelled() }}\n        with:\n          path: ~/.cache/pre-commit/\n          key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml')\n            }}\n      - name: Provide log as artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ ! cancelled() }}\n        with:\n          name: precommit-logs\n          path: |\n            ${{ env.RAW_LOG }}\n            ${{ env.CS_XML }}\n          retention-days: 2\n", "state": "active", "repository": "sqlfluff/sqlfluff"}
{"mined_at": "2024-07-15T15:49:00.599846", "created_at": "2021-10-10T12:11:31+02:00", "updated_at": "2021-10-10T12:11:31+02:00", "name": "Publish dbt templater PyPI Version", "path": ".github/workflows/publish-dbt-templater-release-to-pypi.yaml", "contents": "name: Publish dbt templater PyPI Version\n\non:\n  release:\n    types:\n      - published\n  workflow_dispatch:\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install Dependencies\n        run: |\n          pip install --upgrade pip tox\n\n      - name: Build Distribution (dbt plugin)\n        # tox commands run relative to the repo root.\n        run: tox -e build-dist -- plugins/sqlfluff-templater-dbt\n\n      - name: Copy builds to main dist folder\n        # We move them here so that the github action can still access them\n        run: cp -r plugins/sqlfluff-templater-dbt/dist/. dist/\n\n      - name: Publish Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_DBT_TEMPLATER_TOKEN }}\n          skip-existing: true\n", "state": "active", "repository": "sqlfluff/sqlfluff"}
{"mined_at": "2024-07-15T15:49:01.639613", "created_at": "2021-11-23T01:03:11+01:00", "updated_at": "2021-11-23T15:42:26+01:00", "name": "Publish SQLFluff DockerHub Version", "path": ".github/workflows/publish-sqlfluff-docker-image-to-dockerhub.yaml", "contents": "# Create and push Docker image of latest release to DockerHub.\nname: Publish SQLFluff DockerHub Version\non:\n  release:\n    types:\n      - published\n  workflow_dispatch:\n\n# Create tag for integration test.\nenv:\n  TEST_TAG: ${{ secrets.DOCKERHUB_USERNAME }}/sqlfluff:test\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      # Get the version of latest release in\n      # order to tag published Docker image.\n      - name: Get latest release name\n        id: latest_release\n        uses: pozetroninc/github-action-get-latest-release@master\n        with:\n          repository: ${{ github.repository }}\n\n      # Setup QEMU and Buildx to allow for multi-platform builds.\n      - name: Set up QEMU\n        id: docker_qemu\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        id: docker_buildx\n        uses: docker/setup-buildx-action@v3\n\n      # Authenticate with DockerHub.\n      - name: Login to DockerHub\n        id: docker_login\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      # Build amd64 image to use in the integration test.\n      - name: Build and export to Docker\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          load: true\n          tags: ${{ env.TEST_TAG }}\n          cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/sqlfluff:latest\n          cache-to: type=inline\n\n      # Integration test to validate newly created image is working.\n      - name: Test Docker image\n        id: docker_test\n        run: |\n          echo \"SELECT 1\" > test.sql\n          docker run --rm -i -v $PWD:/sql ${{ env.TEST_TAG }} lint --dialect ansi /sql/test.sql\n\n      # Build arm64 image (amd64 is cached from docker_build step) and export to DockerHub.\n      # N.B. We tag this image as both latest and with its version number.\n      - name: Build and push\n        id: docker_build_push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          platforms: linux/amd64,linux/arm64\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/sqlfluff:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/sqlfluff:${{ steps.latest_release.outputs.release }}\n          cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/sqlfluff:latest\n          cache-to: type=inline\n", "state": "active", "repository": "sqlfluff/sqlfluff"}
{"mined_at": "2024-07-15T15:49:02.687285", "created_at": "2021-10-10T12:11:31+02:00", "updated_at": "2021-10-10T12:11:31+02:00", "name": "Publish SQFluff PyPI Version", "path": ".github/workflows/publish-sqlfluff-release-to-pypi.yaml", "contents": "name: Publish SQFluff PyPI Version\n\non:\n  release:\n    types:\n      - published\n  workflow_dispatch:\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install Dependencies\n        run: |\n          pip install --upgrade pip tox\n\n      - name: Build Distribution (Core)\n        run: tox -e build-dist\n\n      - name: Publish Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n          skip-existing: true\n", "state": "active", "repository": "sqlfluff/sqlfluff"}
{"mined_at": "2024-07-15T15:49:04.811132", "created_at": "2020-03-20T17:40:27+01:00", "updated_at": "2023-08-30T20:29:20+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  FLWR_TELEMETRY_ENABLED: 0\n\njobs:\n  build_and_deploy:\n    runs-on: ubuntu-22.04\n    name: Build and deploy\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Check copyright line\n        run: ./dev/test-copyright.sh\n      - name: Bootstrap\n        uses: ./.github/actions/bootstrap\n      - name: Install pandoc\n        run: sudo apt install pandoc\n      - name: Install Flower dependencies (mandatory only)\n        run: python -m poetry install --extras \"simulation\"\n      - name: Install Flower Datasets\n        run: |\n          cd datasets\n          python -m poetry install\n      - name: Build docs\n        run: ./dev/build-docs.sh ${{ github.ref == 'refs/heads/main' && github.repository == 'adap/flower' && !github.event.pull_request.head.repo.fork }}\n      - name: Deploy docs\n        if: ${{ github.ref == 'refs/heads/main' && github.repository == 'adap/flower' && !github.event.pull_request.head.repo.fork }}\n        env:\n          AWS_DEFAULT_REGION: ${{ secrets. AWS_DEFAULT_REGION }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets. AWS_SECRET_ACCESS_KEY }}\n          DOCS_BUCKET: flower.ai\n        run: |\n          aws s3 sync --delete --exclude \".*\" --exclude \"v/*\" --cache-control \"no-cache\" ./doc/build/html/ s3://${{ env.DOCS_BUCKET }}/docs/framework\n          aws s3 sync --delete --exclude \".*\" --exclude \"v/*\" --cache-control \"no-cache\" ./baselines/doc/build/html/ s3://${{ env.DOCS_BUCKET }}/docs/baselines\n          aws s3 sync --delete --exclude \".*\" --exclude \"v/*\" --cache-control \"no-cache\" ./examples/doc/build/html/ s3://${{ env.DOCS_BUCKET }}/docs/examples\n          aws s3 sync --delete --exclude \".*\" --exclude \"v/*\" --cache-control \"no-cache\" ./datasets/doc/build/html/ s3://${{ env.DOCS_BUCKET }}/docs/datasets\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:05.899660", "created_at": "2021-03-08T10:00:00+01:00", "updated_at": "2024-02-15T13:32:22+01:00", "name": "Baselines", "path": ".github/workflows/baselines.yml", "contents": "name: Baselines\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  FLWR_TELEMETRY_ENABLED: 0\n\njobs:\n  changes:\n    runs-on: ubuntu-22.04\n    permissions:\n      pull-requests: read\n    outputs:\n      baselines: ${{ steps.filter.outputs.changes }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - shell: bash\n        run: |\n          # create a list of all directories in baselines\n          {\n            echo 'FILTER_PATHS<<EOF'\n            FILTER=\"\"\n            while read -d $'\\0' BASELINES_PATH; do\n                DIR=$(basename $BASELINES_PATH)\n                FILTER+=$(echo \"$DIR: ${BASELINES_PATH}/**\\n\")\n            done < <(find baselines -maxdepth 1 \\\n                -name \".*\" -prune -o \\\n                -path \"baselines/doc\" -prune -o \\\n                -path \"baselines/dev\" -prune -o \\\n                -path \"baselines/baseline_template\" -prune -o \\\n                -path \"baselines/flwr_baselines\" -prune -o \\\n                -type d -print0)\n            FILTER=$(echo -e \"$FILTER\")\n            # remove first line\n            FILTER=${FILTER#*$'\\n'}\n            echo \"$FILTER\"\n            echo EOF\n          } >> \"$GITHUB_ENV\"\n\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: ${{ env.FILTER_PATHS }}\n\n      - if: ${{ github.event.pull_request.head.repo.fork }}\n        run: |\n          CHANGES=$(echo \"${{ toJson(steps.filter.outputs.changes) }}\" | jq '. | length')\n          if [ \"$CHANGES\" -gt 1 ]; then\n            echo \"::error ::The changes should only apply to a single baseline.\"\n            exit 1\n          fi\n\n  test:\n    runs-on: ubuntu-22.04\n    needs: changes\n    if: ${{ needs.changes.outputs.baselines != '' && toJson(fromJson(needs.changes.outputs.baselines)) != '[]' }}\n    strategy:\n      matrix:\n        baseline: ${{ fromJSON(needs.changes.outputs.baselines) }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Bootstrap\n        uses: ./.github/actions/bootstrap\n        with:\n          python-version: '3.10'\n\n      - name: Install dependencies\n        working-directory: baselines/${{ matrix.baseline }}\n        run: python -m poetry install\n\n      - name: Testing ${{ matrix.baseline }}\n        working-directory: baselines\n        run: ./dev/test-baseline.sh ${{ matrix.baseline }}\n\n      - name: Test Structure of ${{ matrix.baseline }}\n        working-directory: baselines\n        run: ./dev/test-baseline-structure.sh ${{ matrix.baseline }}\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:06.937313", "created_at": "2023-02-10T19:59:09+01:00", "updated_at": "2023-03-27T17:55:56+02:00", "name": "Swift", "path": ".github/workflows/swift.yml", "contents": "name: Swift\n\non:\n  push:\n    branches: ['main']\n    paths: ['src/swift/**']\n  pull_request:\n    branches: ['main']\n    paths: ['src/swift/**']\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    defaults:\n        run:\n            working-directory: src/swift/flwr\n    name: Test\n    runs-on: macos-14\n    steps:\n      - uses: fwal/setup-swift@v2\n        with:\n          swift-version: 5.10\n      - uses: actions/checkout@v4\n      - name: Run tests\n        run: arch -x86_64 xcodebuild test -scheme flwr -destination 'platform=iOS Simulator,name=iPhone 15 Pro Max,OS=17.2'\n\n  build_docs:\n    runs-on: macos-14\n    name: Build docs\n    steps:\n      - uses: fwal/setup-swift@v2\n        with:\n          swift-version: 5.10\n      - uses: actions/checkout@v4\n      - name: Build docs\n        run: ./dev/build-swift-api-ref.sh\n\n  deploy_docs:\n    needs: \"build_docs\"\n    if: ${{ github.ref == 'refs/heads/main' && github.repository == 'adap/flower' && !github.event.pull_request.head.repo.fork }}\n    runs-on: macos-14\n    name: Deploy docs \n    steps:\n      - uses: fwal/setup-swift@v2\n        with:\n          swift-version: 5.10\n      - uses: actions/checkout@v4\n      - name: Build and deploy docs\n        env:\n          AWS_DEFAULT_REGION: ${{ secrets. AWS_DEFAULT_REGION }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets. AWS_SECRET_ACCESS_KEY }}\n        run: ./dev/deploy-swift-docs.sh\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:07.962348", "created_at": "2023-05-08T17:52:40+02:00", "updated_at": "2024-06-12T17:01:15+02:00", "name": "E2E", "path": ".github/workflows/e2e.yml", "contents": "name: E2E\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  FLWR_TELEMETRY_ENABLED: 0\n  ARTIFACT_BUCKET: artifact.flower.ai\n\njobs:\n  wheel:\n    runs-on: ubuntu-22.04\n    name: Build, test and upload wheel\n    steps:\n      - uses: actions/checkout@v4\n      - name: Bootstrap\n        uses: ./.github/actions/bootstrap\n      - name: Install dependencies (mandatory only)\n        run: python -m poetry install\n      - name: Build wheel\n        run: ./dev/build.sh\n      - name: Test wheel\n        run: ./dev/test-wheel.sh\n      - name: Upload wheel\n        if: ${{ github.repository == 'adap/flower' && !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}\n        id: upload\n        env:\n          AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        run: |\n          cd ./dist\n          echo \"WHL_PATH=$(ls *.whl)\" >> \"$GITHUB_OUTPUT\"\n          sha_short=$(git rev-parse --short HEAD)\n          echo \"SHORT_SHA=$sha_short\" >> \"$GITHUB_OUTPUT\"\n          [ -z \"${{ github.head_ref }}\" ] && dir=\"${{ github.ref_name }}\" || dir=\"pr/${{ github.head_ref }}\"\n          echo \"DIR=$dir\" >> \"$GITHUB_OUTPUT\"\n          aws s3 cp --content-disposition \"attachment\" --cache-control \"no-cache\" ./ s3://${{ env.ARTIFACT_BUCKET }}/py/$dir/$sha_short --recursive\n          aws s3 cp --content-disposition \"attachment\" --cache-control \"no-cache\" ./ s3://${{ env.ARTIFACT_BUCKET }}/py/$dir/latest --recursive\n    outputs:\n      whl_path: ${{ steps.upload.outputs.WHL_PATH }}\n      short_sha: ${{ steps.upload.outputs.SHORT_SHA }}\n      dir: ${{ steps.upload.outputs.DIR }}\n\n  frameworks:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n    needs: wheel\n    # Using approach described here:\n    # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs\n    strategy:\n      matrix:\n        include:\n          - directory: bare\n\n          - directory: bare-https\n\n          - directory: bare-client-auth\n\n          - directory: jax\n\n          - directory: pytorch\n            dataset: |\n              from torchvision.datasets import CIFAR10\n              CIFAR10('./data', download=True)\n\n          - directory: tensorflow\n            dataset: |\n              import tensorflow as tf\n              tf.keras.datasets.cifar10.load_data()\n\n          - directory: tabnet\n            dataset: |\n              import tensorflow_datasets as tfds\n              tfds.load(name='iris', split=tfds.Split.TRAIN)\n\n          - directory: opacus\n            dataset: |\n              from torchvision.datasets import CIFAR10\n              CIFAR10('./data', download=True)\n\n          - directory: pytorch-lightning\n            dataset: |\n              from torchvision.datasets import MNIST\n              MNIST('./data', download=True)\n\n          - directory: scikit-learn\n            dataset: |\n              import openml\n              openml.datasets.get_dataset(554)\n\n          - directory: fastai\n            dataset: |\n              from fastai.vision.all import untar_data, URLs\n              untar_data(URLs.MNIST)\n\n          - directory: pandas\n            dataset: |\n              from pathlib import Path\n              from sklearn.datasets import load_iris\n              Path('data').mkdir(exist_ok=True)\n              load_iris(as_frame=True)['data'].to_csv('./data/client.csv')\n\n    name: Framework / ${{matrix.directory}}\n\n    defaults:\n      run:\n        working-directory: e2e/${{ matrix.directory }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install build tools\n        run: |\n            python -m pip install -U pip==23.3.1\n        shell: bash\n      # Using approach described here for Python location caching:\n      # https://blog.allenai.org/python-caching-in-github-actions-e9452698e98d\n      - name: Cache Python location\n        id: cache-restore-python\n        uses: actions/cache/restore@v4\n        with:\n          path: ${{ env.pythonLocation }}\n          key: pythonloc-${{ runner.os }}-${{ matrix.directory }}-${{ env.pythonLocation }}-${{ hashFiles(format('./e2e/{0}/pyproject.toml', matrix.directory)) }}\n      - name: Install dependencies\n        run: python -m pip install --upgrade .\n      - name: Install Flower wheel from artifact store\n        if: ${{ github.repository == 'adap/flower' && !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}\n        run: |\n          python -m pip install https://${{ env.ARTIFACT_BUCKET }}/py/${{ needs.wheel.outputs.dir }}/${{ needs.wheel.outputs.short_sha }}/${{ needs.wheel.outputs.whl_path }}\n      - name: Download dataset\n        if: ${{ matrix.dataset }}\n        run: python -c \"${{ matrix.dataset }}\"\n      - name: Run edge client test\n        if: ${{ matrix.directory != 'bare-client-auth' }}\n        run: ./../test.sh \"${{ matrix.directory }}\"\n      - name: Run virtual client test\n        if: ${{ matrix.directory != 'bare-client-auth' }}\n        run: python simulation.py\n      - name: Run simulation engine test\n        if: ${{ matrix.directory == 'pytorch' || matrix.directory == 'tensorflow'}}\n        run: python simulation_next.py\n      - name: Run driver test\n        if: ${{ matrix.directory != 'bare-client-auth' }}\n        run: ./../test_driver.sh \"${{ matrix.directory }}\"\n      - name: Run driver test with REST\n        if: ${{ matrix.directory == 'bare' }}\n        run: ./../test_driver.sh bare rest\n      - name: Run driver test with SQLite database\n        if: ${{ matrix.directory == 'bare' }}\n        run: ./../test_driver.sh bare sqlite\n      - name: Run driver test with client authentication\n        if: ${{ matrix.directory == 'bare-client-auth' }}\n        run: ./../test_driver.sh bare client-auth\n      - name: Cache save Python location\n        id: cache-save-python\n        uses: actions/cache/save@v4\n        if: ${{ github.ref_name == 'main' &&  !steps.cache-restore-python.outputs.cache-hit }}\n        with:\n          path: ${{ env.pythonLocation }}\n          key: pythonloc-${{ runner.os }}-${{ matrix.directory }}-${{ env.pythonLocation }}-${{ hashFiles(format('./e2e/{0}/pyproject.toml', matrix.directory)) }}\n\n  strategies:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n    needs: wheel\n    strategy:\n      matrix:\n        strat: [\"FedMedian\", \"FedTrimmedAvg\", \"QFedAvg\", \"FaultTolerantFedAvg\", \"FedAvgM\", \"FedAdam\", \"FedAdagrad\", \"FedYogi\"]\n\n    name: Strategy / ${{ matrix.strat }}\n\n    defaults:\n      run:\n        working-directory: e2e/strategies\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Bootstrap\n        uses: ./.github/actions/bootstrap\n      - name: Install dependencies\n        run: |\n          python -m poetry install\n      - name: Install Flower wheel from artifact store\n        if: ${{ github.repository == 'adap/flower' && !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}\n        run: |\n          python -m pip install https://${{ env.ARTIFACT_BUCKET }}/py/${{ needs.wheel.outputs.dir }}/${{ needs.wheel.outputs.short_sha }}/${{ needs.wheel.outputs.whl_path }}\n      - name: Cache Datasets\n        uses: actions/cache@v4\n        with:\n          path: \"~/.keras\"\n          key: keras-datasets\n      - name: Download Datasets\n        run: |\n          python -c \"import tensorflow as tf; tf.keras.datasets.mnist.load_data()\"\n      - name: Test strategies\n        run: |\n          python test.py \"${{ matrix.strat }}\"\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:09.083470", "created_at": "2023-05-10T09:37:02+02:00", "updated_at": "2023-05-16T12:08:58+02:00", "name": "Sync flower-swift", "path": ".github/workflows/flower-swift_sync.yml", "contents": "name: Sync flower-swift\n\non:\n  push:\n    branches: ['main']\n    paths: ['src/swift/flwr/**']\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: github.repository == 'adap/flower'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Pushes src/swift to flower-swift repository\n        uses: cpina/github-action-push-to-another-repository@cbe757f8d8b380dd2b3ceec5a80fbcd61f1f3107\n        env:\n          SSH_DEPLOY_KEY: ${{ secrets.FLOWER_SWIFT_SSH }}\n        with:\n          source-directory: 'src/swift/flwr'\n          destination-github-username: 'adap'\n          destination-repository-name: 'flower-swift'\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:10.141849", "created_at": "2023-07-06T14:37:36+02:00", "updated_at": "2023-07-06T14:37:36+02:00", "name": "Old-Baselines", "path": ".github/workflows/old_baselines.yml", "contents": null, "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:11.175342", "created_at": "2023-07-11T14:23:26+02:00", "updated_at": "2023-07-11T14:33:47+02:00", "name": "Deprecated-Baselines", "path": ".github/workflows/deprecated_baselines.yml", "contents": "name: Deprecated-Baselines\n\non:\n  push:\n    branches: ['main']\n    paths: ['baselines/flwr_baselines/**']\n  pull_request:\n    branches: ['main']\n    paths: ['baselines/flwr_baselines/**']\n    \nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  FLWR_TELEMETRY_ENABLED: 0\n\ndefaults:\n  run:\n    working-directory: baselines/flwr_baselines\n\njobs:\n  test_deprecated_baselines:\n    name: Test\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: Bootstrap\n        uses: ./.github/actions/bootstrap\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python -m poetry install\n      - name: Lint + Test (isort/black/mypy/pylint/pytest)\n        run: ./dev/test.sh\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:12.202176", "created_at": "2023-07-12T10:55:55+02:00", "updated_at": "2023-07-12T10:55:55+02:00", "name": "CI Cache", "path": ".github/workflows/ci-cache.yml", "contents": null, "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:13.211092", "created_at": "2023-07-12T17:27:55+02:00", "updated_at": "2023-07-12T17:27:55+02:00", "name": "Core", "path": ".github/workflows/python_version_demo.yml", "contents": null, "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:14.253760", "created_at": "2023-07-13T15:25:07+02:00", "updated_at": "2023-07-13T16:57:21+02:00", "name": "Framework", "path": ".github/workflows/framework.yml", "contents": "name: Framework\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  FLWR_TELEMETRY_ENABLED: 0\n\njobs:\n  test_core:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        # Latest version which comes cached in the host image can be found here:\n        # https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#python\n        # In case of a mismatch, the job has to download Python to install it.\n        # Note: Due to a bug in actions/setup-python we have to put 3.10 in\n        # qoutes as it will otherwise will assume 3.1\n        python: [3.8, 3.9, '3.10', '3.11']\n\n    name: Python ${{ matrix.python }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Bootstrap\n        uses: ./.github/actions/bootstrap\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install dependencies (mandatory only)\n        run: python -m poetry install --all-extras\n      - name: Check if protos need recompilation\n        run: ./dev/check-protos.sh\n      - name: Lint + Test (isort/black/docformatter/mypy/pylint/flake8/pytest)\n        run: ./dev/test.sh\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:15.299269", "created_at": "2023-07-13T16:57:21+02:00", "updated_at": "2023-07-13T16:57:21+02:00", "name": "DevTools", "path": ".github/workflows/devtools.yml", "contents": "name: DevTools\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"src/py/flwr_tool/**\"\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"src/py/flwr_tool/**\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  FLWR_TELEMETRY_ENABLED: 0\n\njobs:\n  test_tools:\n    runs-on: ubuntu-22.04\n    name: Test\n    steps:\n      - uses: actions/checkout@v4\n      - name: Bootstrap\n        uses: ./.github/actions/bootstrap\n      - name: Install dependencies (mandatory + optional)\n        run: |\n          python -m poetry install\n      - name: Lint + Test (isort/black/mypy/pylint/pytest)\n        run: ./dev/test-tool.sh\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:16.321216", "created_at": "2023-07-14T15:46:23+02:00", "updated_at": "2023-07-14T15:46:23+02:00", "name": "Requirements", "path": ".github/workflows/requirements.yml", "contents": null, "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:17.369116", "created_at": "2023-08-10T15:03:36+02:00", "updated_at": "2023-09-05T22:25:31+02:00", "name": "Wheel", "path": ".github/workflows/wheel.yml", "contents": null, "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:18.450989", "created_at": "2023-08-31T15:19:04+02:00", "updated_at": "2023-09-01T16:56:27+02:00", "name": "Android Client Publish", "path": ".github/workflows/android-release.yml", "contents": "name: Android Client Publish\n\non:\n  release:\n    # We'll run this workflow when a new GitHub release is created\n    types: [released]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  publish:\n    defaults:\n        run:\n            working-directory: src/kotlin\n    name: Release build and publish\n    if: github.repository == 'adap/flower'\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      - name: Set up JDK 11\n        uses: actions/setup-java@v3\n        with:\n          distribution: adopt\n          java-version: 11\n\n        # Runs upload, and then closes & releases the repository\n      - name: Publish to MavenCentral\n        run: ./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache\n        env:\n          ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.GRADLE_OSSRH_USERNAME }}\n          ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.GRADLE_OSSRH_PASSWORD }}\n          ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.GRADLE_SIGNING_KEY_ID }}\n          ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GRADLE_SIGNING_PASSWORD }}\n          ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GRADLE_SIGNING_KEY }}\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:19.493997", "created_at": "2023-09-07T10:12:02+02:00", "updated_at": "2023-09-07T10:12:02+02:00", "name": "Repository", "path": ".github/workflows/repository.yml", "contents": null, "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:20.517490", "created_at": "2023-09-13T13:47:38+02:00", "updated_at": "2023-09-20T11:42:20+02:00", "name": "Datasets", "path": ".github/workflows/datasets.yml", "contents": "name: Datasets\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"datasets/**\"\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"datasets/**\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  FLWR_TELEMETRY_ENABLED: 0\n\ndefaults:\n  run:\n    working-directory: datasets\n\njobs:\n  test_core:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        # Latest version which comes cached in the host image can be found here:\n        # https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#python\n        # In case of a mismatch, the job has to download Python to install it.\n        # Note: Due to a bug in actions/setup-python we have to put 3.10 in\n        # qoutes as it will otherwise will assume 3.1\n        python: [3.8, 3.9, '3.10']\n\n    name: Python ${{ matrix.python }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Bootstrap\n        uses: ./.github/actions/bootstrap\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install dependencies (mandatory only)\n        run: python -m poetry install --all-extras\n      - name: Test (formatting + unit tests)\n        run: ./dev/test.sh\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:21.636991", "created_at": "2023-09-17T19:29:20+02:00", "updated_at": "2023-09-17T19:29:20+02:00", "name": "Release nightly", "path": ".github/workflows/release-nightly.yml", "contents": "name: Release nightly\n\non:\n  schedule:\n    - cron: \"0 23 * * *\"\n\nenv:\n  FLWR_TELEMETRY_ENABLED: 0\n\njobs:\n  release-nightly:\n    runs-on: ubuntu-22.04\n    name: Relase nightly on PyPI\n    if: github.repository == 'adap/flower'\n    outputs:\n      name: ${{ steps.release.outputs.name }}\n      version: ${{ steps.release.outputs.version }}\n      skip: ${{ steps.release.outputs.skip }}\n      pip-version: ${{ steps.release.outputs.pip-version }}\n      setuptools-version: ${{ steps.release.outputs.setuptools-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Bootstrap\n        id: bootstrap\n        uses: ./.github/actions/bootstrap\n      - name: Release nightly\n        id: release\n        env:\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          RESULT=$(./dev/publish-nightly.sh)\n          if [ \"$RESULT\" == \"There were no commits in the last 24 hours.\" ]; then\n            echo \"skip=true\" >> $GITHUB_OUTPUT\n          fi\n\n          echo \"name=$(poetry version | awk {'print $1'})\" >> $GITHUB_OUTPUT\n          echo \"version=$(poetry version -s)\" >> $GITHUB_OUTPUT\n          echo \"pip-version=${{ steps.bootstrap.outputs.pip-version }}\" >> \"$GITHUB_OUTPUT\"\n          echo \"setuptools-version=${{ steps.bootstrap.outputs.setuptools-version }}\" >> \"$GITHUB_OUTPUT\"\n\n  build-docker-base-images:\n    name: Build nightly base images\n    if: github.repository == 'adap/flower' && needs.release-nightly.outputs.skip != 'true'\n    uses: ./.github/workflows/_docker-build.yml\n    needs: release-nightly\n    with:\n      namespace-repository: flwr/base\n      file-dir: src/docker/base/ubuntu\n      build-args: |\n        PIP_VERSION=${{ needs.release-nightly.outputs.pip-version }}\n        SETUPTOOLS_VERSION=${{ needs.release-nightly.outputs.setuptools-version }}\n        FLWR_VERSION=${{ needs.release-nightly.outputs.version }}\n        FLWR_PACKAGE=${{ needs.release-nightly.outputs.name }}\n      tags: |\n        ${{ needs.release-nightly.outputs.version }}\n        nightly\n    secrets:\n      dockerhub-user: ${{ secrets.DOCKERHUB_USERNAME }}\n      dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}\n\n  build-docker-binary-images:\n    name: Build nightly binary images\n    if: github.repository == 'adap/flower' && needs.release-nightly.outputs.skip != 'true'\n    uses: ./.github/workflows/_docker-build.yml\n    needs: [release-nightly, build-docker-base-images]\n    strategy:\n      fail-fast: false\n      matrix:\n        images: [\n          { repository: \"flwr/superlink\", file_dir: \"src/docker/superlink\" },\n          { repository: \"flwr/supernode\", file_dir: \"src/docker/supernode\" },\n          { repository: \"flwr/serverapp\", file_dir: \"src/docker/serverapp\" }\n        ]\n    with:\n      namespace-repository: ${{ matrix.images.repository }}\n      file-dir: ${{ matrix.images.file_dir }}\n      build-args: BASE_IMAGE=${{ needs.release-nightly.outputs.version }}\n      tags: |\n        ${{ needs.release-nightly.outputs.version }}\n        nightly\n    secrets:\n      dockerhub-user: ${{ secrets.DOCKERHUB_USERNAME }}\n      dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:22.657517", "created_at": "2023-09-26T09:45:04+02:00", "updated_at": "2023-09-26T09:45:04+02:00", "name": "Flower Datasets Docs", "path": ".github/workflows/datasets-docs.yml", "contents": null, "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:23.689608", "created_at": "2023-10-11T18:32:37+02:00", "updated_at": "2023-12-25T12:44:32+01:00", "name": "Publish `flwr` release on PyPI", "path": ".github/workflows/framework-release.yml", "contents": "name: Publish `flwr` release on PyPI\n\non:\n  release:\n    types: [released]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  ARTIFACT_BUCKET: artifact.flower.ai\n\njobs:\n  publish:\n    if: ${{ github.repository == 'adap/flower' }}\n    name: Publish release\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Bootstrap\n      uses: ./.github/actions/bootstrap\n\n    - name: Get artifacts and publish\n      env:\n        GITHUB_REF: ${{ github.ref }}\n      run: |\n        TAG_NAME=$(echo \"${GITHUB_REF_NAME}\" | cut -c2-)\n\n        wheel_name=\"flwr-${TAG_NAME}-py3-none-any.whl\"\n        tar_name=\"flwr-${TAG_NAME}.tar.gz\"\n\n        wheel_url=\"https://${{ env.ARTIFACT_BUCKET }}/py/release/v${TAG_NAME}/${wheel_name}\"\n        tar_url=\"https://${{ env.ARTIFACT_BUCKET }}/py/release/v${TAG_NAME}/${tar_name}\"\n\n        mkdir -p dist\n\n        curl $wheel_url --output dist/$wheel_name\n        curl $tar_url --output dist/$tar_name\n\n        python -m poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN_RELEASE_FLWR }}\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:25.058904", "created_at": "2023-10-12T08:21:15+02:00", "updated_at": "2023-10-23T14:19:09+02:00", "name": "C++ SDK", "path": ".github/workflows/cpp.yml", "contents": "name: C++ SDK\n\non:\n  push:\n    branches: ['main']\n    paths: ['src/cc/flwr/**']\n  pull_request:\n    branches: ['main']\n    paths: ['src/cc/flwr/**']\n\njobs:\n  build_and_test:\n    name: Build and test\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Bootstrap\n      uses: ./.github/actions/bootstrap\n\n    - name: Cache restore SDK build\n      uses: actions/cache/restore@v4\n      with:\n        path: build/\n        key: ${{ runner.os }}-sdk-build\n\n    - name: Cache restore example build\n      uses: actions/cache/restore@v4\n      with:\n        path: examples/quickstart-cpp/build/\n        key: ${{ runner.os }}-example-build\n\n    - name: Install Dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y clang-format cmake g++ clang-tidy cppcheck\n\n    - name: Check source Formatting\n      run: |\n        find src/cc/flwr/src -name '*.cc' | xargs clang-format -i\n        git diff --exit-code\n\n    - name: Check header Formatting\n      run: |\n        find src/cc/flwr/include -name '*.h' -not -path \"src/cc/flwr/include/flwr/*\" | xargs clang-format -i\n        git diff --exit-code\n\n    - name: Build\n      run: |\n        mkdir -p build\n        cd build\n        cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ../src/cc/flwr\n        make\n\n    - name: Run clang-tidy\n      run: |\n        cd build\n        find ../src/cc/flwr/src -name '*.cc' | xargs clang-tidy\n\n    - name: Run cppcheck\n      run: |\n        cd build\n        cppcheck --enable=all -I../src/cc/flwr/include ../src/cc/flwr/src\n\n    - name: End-to-end test\n      run: |\n        cd examples/quickstart-cpp\n        cmake -DUSE_LOCAL_FLWR=ON -S . -B build\n        cmake --build build\n        pip install ../..\n        timeout 3m flower-superlink --insecure &\n        sleep 10\n        timeout 2m build/flwr_client 0 127.0.0.1:9092 &\n        sleep 3\n        timeout 2m build/flwr_client 1 127.0.0.1:9092 &\n        sleep 3\n        flower-server-app server:app --insecure &\n        pid=$!\n        wait $pid\n        res=$?\n        if [[ \"$res\" = \"0\" ]];\n          then echo \"Training worked correctly\" && exit 0;\n          else echo \"Training had an issue\" && exit 1;\n        fi\n\n    - name: Cache save SDK build\n      uses: actions/cache/save@v4\n      if: github.ref_name == 'main'\n      with:\n        path: build/\n        key: ${{ runner.os }}-sdk-build\n\n    - name: Cache save example build\n      uses: actions/cache/save@v4\n      if: github.ref_name == 'main'\n      with:\n        path: examples/quickstart-cpp/build/\n        key: ${{ runner.os }}-example-build\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:26.069633", "created_at": "2023-10-16T20:12:52+02:00", "updated_at": "2023-10-16T20:12:52+02:00", "name": "PR update", "path": ".github/workflows/update-pr.yml", "contents": "name: PR update\n\non:\n  push:\n    branches:\n      - 'main'\njobs:\n  autoupdate:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Automatically update mergeable PRs\n        uses: adRise/update-pr-branch@cd305ecbd76bf63056c9400ce2c725293fc3e0c0 # v0.7.0\n        with:\n          token: ${{ secrets.FLWRMACHINE_TOKEN }}\n          base: 'main'\n          required_approval_count: 1\n          require_passed_checks: true\n          sort: 'created'\n          direction: 'desc'\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:27.080792", "created_at": "2023-12-07T00:54:45+01:00", "updated_at": "2024-01-03T12:38:50+01:00", "name": "Reusable docker image build workflow", "path": ".github/workflows/_docker-build.yml", "contents": "name: Reusable docker image build workflow\n\non:\n  workflow_call:\n    inputs:\n      namespace-repository:\n        description: \"The namespace and repository in the following format `namespace/repository` e.g. (flwr/base).\"\n        required: true\n        type: string\n      file-dir:\n        description: \"Path of the directory that contains the Dockerfile.\"\n        required: true\n        type: string\n      build-args:\n        description: \"List of build-time variables.\"\n        required: false\n        type: string\n      tags:\n        description: \"List of tags.\"\n        required: true\n        type: string\n    secrets:\n      dockerhub-user:\n        required: true\n      dockerhub-token:\n        required: true\n    outputs:\n      metadata:\n        description: \"Metadata of the docker image.\"\n        value: ${{ jobs.build-manifest.outputs.metadata }}\n\npermissions:\n  contents: read\n\n# based on https://docs.docker.com/build/ci/github-actions/multi-platform/#distribute-build-across-multiple-runners\njobs:\n  build:\n    name: Build image\n    runs-on: ubuntu-22.04\n    timeout-minutes: 180\n    outputs:\n      build-id: ${{ steps.build-id.outputs.id }}\n    strategy:\n      fail-fast: true\n      matrix:\n        platform: [\n            # build-push action and qemu use different platform names\n            # therefore we create a map\n            { name: \"amd64\", qemu: \"\", docker: \"linux/amd64\" },\n            { name: \"arm64\", qemu: \"arm64\", docker: \"linux/arm64\" },\n          ]\n    steps:\n      - name: Create build id\n        id: build-id\n        shell: python\n        run: |\n          import hashlib\n          import os\n\n          hash = hashlib.sha256('''${{ inputs.namespace-repository }}\n          ${{ inputs.file-dir }}\n          ${{ inputs.build-args }}'''.encode())\n          # Adds two spaces to the line breaks to ensure proper indentation\n          # when passing the multi-line string to the wretry.action.\n          # Without it, the multi-line string is passed like this:\n          #\n          # build-args: |\n          #   ARG1=\n          # ARG2=\n          # ARG3=\n          #\n          # This causes the Docker action to interpret ARG2 and ARG3 as keys instead\n          # of values ​​of the multi-line string.\n          build_args = '''${{ inputs.build-args }}'''.replace(\"\\n\", \"\\n  \")\n\n          with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:\n              print(f\"id={hash.hexdigest()}\", file=fh)\n              print(\"build-args<<EOF\", file=fh)\n              print(build_args, file=fh)\n              print(\"EOF\", file=fh)\n\n      - name: Set up QEMU\n        if: matrix.platform.qemu != ''\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0\n        with:\n          platforms: ${{ matrix.platform.qemu }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1\n        with:\n          images: ${{ inputs.namespace-repository }}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0\n        with:\n          username: ${{ secrets.dockerhub-user }}\n          password: ${{ secrets.dockerhub-token }}\n\n      - name: Build and push\n        uses: Wandalen/wretry.action@6feedb7dedadeb826de0f45ff482b53b379a7844 # v3.5.0\n        id: build\n        with:\n          action: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0\n          attempt_limit: 60 # 60 attempts * (9 secs delay + 1 sec retry) = ~10 mins\n          attempt_delay: 9000 # 9 secs\n          with: |\n            pull: true\n            platforms: ${{ matrix.platform.docker }}\n            context: \"{{defaultContext}}:${{ inputs.file-dir }}\"\n            outputs: type=image,name=${{ inputs.namespace-repository }},push-by-digest=true,name-canonical=true,push=true\n            build-args: |\n              ${{ steps.build-id.outputs.build-args }}\n\n      - name: Export digest\n        run: |\n          mkdir -p /tmp/digests\n          digest=\"${{ fromJSON(steps.build.outputs.outputs).digest }}\"\n          touch \"/tmp/digests/${digest#sha256:}\"\n\n      - name: Upload digest\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: digests-${{ steps.build-id.outputs.id }}-${{ matrix.platform.name }}\n          path: /tmp/digests/*\n          if-no-files-found: error\n          retention-days: 1\n\n  build-manifest:\n    name: Build and push docker manifest for all platforms\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n    needs: build\n    outputs:\n      metadata: ${{ steps.meta.outputs.json }}\n    steps:\n      - name: Download digests\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          pattern: digests-${{ needs.build.outputs.build-id }}-*\n          path: /tmp/digests\n          merge-multiple: true\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1\n        with:\n          images: ${{ inputs.namespace-repository }}\n          tags: ${{ inputs.tags }}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0\n        with:\n          username: ${{ secrets.dockerhub-user }}\n          password: ${{ secrets.dockerhub-token }}\n\n      - name: Create manifest list and push\n        working-directory: /tmp/digests\n        run: |\n          docker buildx imagetools create $(jq -cr '.tags | map(\"-t \" + .) | join(\" \")' <<< \"$DOCKER_METADATA_OUTPUT_JSON\") \\\n              $(printf '${{ inputs.namespace-repository }}@sha256:%s ' *)\n      - name: Inspect image\n        run: docker buildx imagetools inspect ${{ inputs.namespace-repository }}:${{ steps.meta.outputs.version }}\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:28.437448", "created_at": "2023-12-21T00:12:45+01:00", "updated_at": "2023-12-21T00:12:45+01:00", "name": "Datasets-E2E", "path": ".github/workflows/datasets-e2e.yml", "contents": "name: Datasets-E2E\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"datasets/flwr_datasets/**\"\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"datasets/flwr_datasets/**\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  FLWR_TELEMETRY_ENABLED: 0\n\njobs:\n  frameworks:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n    # Using approach described here:\n    # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs\n    strategy:\n      matrix:\n        include:\n          - directory: pytorch\n\n          - directory: tensorflow\n\n          - directory: scikit-learn\n\n    name: Framework / ${{matrix.directory}}\n\n    defaults:\n      run:\n        working-directory: datasets/e2e/${{ matrix.directory }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Bootstrap\n        uses: ./.github/actions/bootstrap\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: python -m poetry install\n      - name: Run tests\n        run: python -m unittest discover -p '*_test.py'\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:29.494341", "created_at": "2023-12-25T12:44:32+01:00", "updated_at": "2023-12-25T12:44:32+01:00", "name": "Draft release", "path": ".github/workflows/framework-draft-release.yml", "contents": "name: Draft release\n\non:\n  push:\n    tags:\n      - \"v*.*.*\"\n\nenv:\n  ARTIFACT_BUCKET: artifact.flower.ai\n\njobs:\n  publish:\n    if: ${{ github.repository == 'adap/flower' }}\n    name: Publish draft\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Wait for wheel to be built\n        uses: lewagon/wait-on-check-action@v1.3.4\n        with:\n          ref: ${{ github.ref }}\n          check-name: 'Build, test and upload wheel'\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          wait-interval: 10\n      - name: Download wheel\n        run: |\n          tag_name=$(echo \"${GITHUB_REF_NAME}\" | cut -c2-)\n          echo \"TAG_NAME=$tag_name\" >> \"$GITHUB_ENV\"\n\n          wheel_name=\"flwr-${tag_name}-py3-none-any.whl\"\n          echo \"WHEEL_NAME=$wheel_name\" >> \"$GITHUB_ENV\"\n\n          tar_name=\"flwr-${tag_name}.tar.gz\"\n          echo \"TAR_NAME=$tar_name\" >> \"$GITHUB_ENV\"\n\n          wheel_url=\"https://${{ env.ARTIFACT_BUCKET }}/py/main/${GITHUB_SHA::7}/${wheel_name}\"\n          tar_url=\"https://${{ env.ARTIFACT_BUCKET }}/py/main/${GITHUB_SHA::7}/${tar_name}\"\n\n          curl $wheel_url --output $wheel_name\n          curl $tar_url --output $tar_name\n      - name: Upload wheel\n        env:\n          AWS_DEFAULT_REGION: ${{ secrets. AWS_DEFAULT_REGION }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets. AWS_SECRET_ACCESS_KEY }}\n        run: |\n          aws s3 cp --content-disposition \"attachment\" --cache-control \"no-cache\" ./${{ env.WHEEL_NAME }} s3://${{ env.ARTIFACT_BUCKET }}/py/release/v${{ env.TAG_NAME }}/${{ env.WHEEL_NAME }}\n          aws s3 cp --content-disposition \"attachment\" --cache-control \"no-cache\" ./${{ env.TAR_NAME }} s3://${{ env.ARTIFACT_BUCKET }}/py/release/v${{ env.TAG_NAME }}/${{ env.TAR_NAME }}\n\n      - name: Generate body\n        run: |\n          ./dev/get-latest-changelog.sh > body.md\n          cat body.md\n\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          body_path: ./body.md\n          draft: true\n          name: Flower ${{ env.TAG_NAME }}\n          files: |\n            ${{ env.WHEEL_NAME }}\n            ${{ env.TAR_NAME }}\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:30.507447", "created_at": "2024-05-14T17:40:56+02:00", "updated_at": "2024-07-09T14:26:51+02:00", "name": "PR Check", "path": ".github/workflows/pr_check.yml", "contents": "name: PR Check\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened, edited]\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pr_title_check:\n    runs-on: ubuntu-22.04\n    name: Title format\n    steps:\n      - uses: actions/checkout@v4\n      - name: Bootstrap\n        uses: ./.github/actions/bootstrap\n        with:\n          python-version: 3.11\n          poetry-skip: 'true'\n      - name: Check PR title format \n        run: python ./dev/check_pr_title.py \"${{ github.event.pull_request.title }}\"\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:31.518848", "created_at": "2024-05-20T15:43:06+02:00", "updated_at": "2024-05-20T15:43:06+02:00", "name": "PR Management", "path": ".github/workflows/pr_maintenance.yml", "contents": null, "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:32.567452", "created_at": "2024-05-27T16:00:38+02:00", "updated_at": "2024-05-27T16:00:38+02:00", "name": "PR management", "path": ".github/workflows/assign_reviewer.yml", "contents": null, "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:33.617248", "created_at": "2024-05-28T16:45:42+02:00", "updated_at": "2024-05-28T16:45:42+02:00", "name": "Cache cleanup", "path": ".github/workflows/cache-cleanup.yml", "contents": "name: Cache cleanup\n\non:\n  workflow_dispatch\n\njobs:\n  e2e-cleanup:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n    # Using approach described here:\n    # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs\n    strategy:\n      matrix:\n        include:\n          - directory: bare\n          - directory: bare-https\n          - directory: bare-client-auth\n          - directory: jax\n          - directory: pytorch\n          - directory: tensorflow\n          - directory: tabnet\n          - directory: opacus\n          - directory: pytorch-lightning\n          - directory: scikit-learn\n          - directory: fastai\n          - directory: pandas\n\n    name: Framework / ${{ matrix.directory }}\n\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Cleanup caches by directories\n        # Only keep caches that match the latest keys for each directory\n        run: |\n          gh extension install actions/gh-actions-cache\n          \n          REPO=${{ github.repository }}\n          LATEST_KEY=pythonloc-${{ matrix.directory }}-${{ env.pythonLocation }}-${{ hashFiles(format('./e2e/{0}/pyproject.toml', matrix.directory)) }}\n\n          echo \"Fetching list of cache keys\"\n          cacheKeys=$(gh actions-cache list -R $REPO | grep \"${{ matrix.directory }}\" | cut -f 1 )\n\n          ## Setting this to not fail the workflow while deleting cache keys. \n          set +e\n          echo \"Deleting caches...\"\n          for cacheKey in $cacheKeys\n          do\n            if [ \"$cacheKey\" != \"$LATEST_KEY\" ]; then\n              echo -e \"\\tOld key found -> $cacheKey\"\n              gh actions-cache delete \"$cacheKey\" --confirm\n            fi\n          done\n\n          echo \"Done\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "adap/flower"}
{"mined_at": "2024-07-15T15:49:35.714711", "created_at": "2020-06-03T10:28:47+02:00", "updated_at": "2020-06-03T10:28:47+02:00", "name": "format check", "path": ".github/workflows/format_check.yml", "contents": "name: format check\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python.3.9.x\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.9.x\n      - name: Cache pip\n        uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n      - name: Install packages\n        run: |\n          python -m pip install --upgrade pip\n          pip install Cython numpy\n          pip install -e .\n          pip install -r dev.requirements.txt\n      - name: Check format\n        run: |\n          ./scripts/format\n      - name: Linter\n        run: |\n          ./scripts/lint\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "takuseno/d3rlpy"}
{"mined_at": "2024-07-15T15:49:36.763259", "created_at": "2020-06-06T10:22:46+02:00", "updated_at": "2020-06-06T10:23:36+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # temporary drop windows test\n        # os: [ubuntu-22.04, macos-latest, windows-latest]\n        os: [ubuntu-22.04, macos-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python.3.10.x\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Cache pip\n        uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n      - name: Install dependencies for Windows\n        if: ${{ matrix.os == 'windows-latest' }}\n        run: |\n          pip install torch==1.13.1+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install dependencies for macOS\n        if: ${{ matrix.os == 'macos-latest' }}\n        run: |\n          brew install libomp\n      - name: Install packages\n        run: |\n          python -m pip install --upgrade pip\n          pip install Cython numpy\n          pip install -e .\n          pip install -r dev.requirements.txt\n      - name: Unit tests\n        run: |\n          mkdir -p test_data\n          pytest --cov-report=xml --cov=d3rlpy --cov-config=.coveragerc tests -p no:warnings -v\n      - name: Upload coverage\n        if: ${{ matrix.os == 'ubuntu-22.04' }}\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        run: |\n          bash <(curl -s https://codecov.io/bash)\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "takuseno/d3rlpy"}
{"mined_at": "2024-07-15T15:49:38.885407", "created_at": "2021-02-14T00:12:21+01:00", "updated_at": "2021-02-14T00:12:21+01:00", "name": "docker_build", "path": ".github/workflows/docker_build.yml", "contents": "name: docker_build\n\non:\n  push:\n    branches:\n      - '**'\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v2\n\n      -\n        name: Docker meta\n        id: docker_meta\n        uses: crazy-max/ghaction-docker-meta@v1\n        with:\n          images: leogao2/gpt-neox # list of Docker images to use as base name for tags\n          tag-sha: true # add git short SHA as Docker tag\n\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      -\n        name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v2\n        with:\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.docker_meta.outputs.tags }}\n          labels: ${{ steps.docker_meta.outputs.labels }}\n\n      -\n        name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "eleutherai/gpt-neox"}
{"mined_at": "2024-07-15T15:49:39.956242", "created_at": "2022-02-09T22:48:55+01:00", "updated_at": "2024-06-17T21:33:25+02:00", "name": "Pull Request", "path": ".github/workflows/pull_request.yml", "contents": "name: Pull Request\n\non: [pull_request, workflow_dispatch]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.14\"\n          cache: \"pip\"\n          cache-dependency-path: \"**/requirements*.txt\"\n      # Need the right version of clang-format\n      - run: pip install -r requirements/requirements-dev.txt\n      - uses: pre-commit/action@v2.0.3\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      -\n        name: Docker build\n        id: docker_build\n        uses: docker/build-push-action@v2\n\n  update-documentation:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref}}\n      - run: |\n          rm megatron/__init__.py\n          pip install shortuuid\n          rm megatron/neox_arguments/__init__.py\n          python configs/gen_docs.py\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git add configs/neox_arguments.md\n          git commit -m \"Update NeoXArgs docs automatically\"\n          git push\n  run-tests:\n    runs-on: self-hosted\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.13\"\n          cache-dependency-path: \"**/requirements*.txt\"\n      - name: prepare data\n        run: python3 prepare_data.py\n      - name: install pytest\n        run: python3 -m pip install pytest pytest-forked pyyaml requests wandb\n      - name: install torch\n        run: python3 -m pip install torch \n      - name: install requirements\n        run: pip install -r requirements/requirements.txt\n      - name: Run Tests\n        run: pytest --forked tests\n", "state": "active", "repository": "eleutherai/gpt-neox"}
{"mined_at": "2024-07-15T15:49:41.016927", "created_at": "2022-10-27T10:11:46+02:00", "updated_at": "2024-03-12T21:45:34+01:00", "name": "Run CPU Tests", "path": ".github/workflows/cpu_ci.yml", "contents": "name: \"Run CPU Tests\"\n\non: \"push\"\n\njobs:\n  run-tests:\n    #runs-on: ubuntu-latest\n    runs-on: [ 'test', 'self-hosted' ]\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          cache-dependency-path: \"**/requirements*.txt\"\n\n      - name: Upgrade Pip\n        run: python -m pip install --upgrade pip\n\n      - name: Install Dependencies\n        run: |\n          sudo apt-get install libopenmpi-dev -y\n          pip install torch==1.8.2 torchvision==0.9.2 torchaudio==0.8.2 --extra-index-url https://download.pytorch.org/whl/lts/1.8/cpu\n          pip install -r requirements/requirements.txt\n          pip install -r requirements/requirements-dev.txt\n          pip install -r requirements/requirements-wandb.txt\n\n      - name: Prepare Data\n        run: python prepare_data.py\n\n      - name: Run CPU Tests\n        run: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python pytest tests -m cpu\n", "state": "active", "repository": "eleutherai/gpt-neox"}
{"mined_at": "2024-07-15T15:49:42.052063", "created_at": "2023-09-29T01:36:08+02:00", "updated_at": "2023-09-29T01:36:08+02:00", "name": "Coverity", "path": ".github/workflows/coverity_scan.yml", "contents": "name: Coverity\non:\n  workflow_dispatch:\n    inputs:\n      build_version:\n        description: \"Version of GPT-NeoX being submitted for scan\"\n        required: false\n        default: \"GPT-NeoX build version\"\n      build_description:\n        description: \"Description of the current build\"\n        required: false\n        default: \"Current build of GPT-NeoX\"\n\njobs:\n  coverity:\n\n    runs-on: ubuntu-latest\n\n    env:\n      COV_USER: ${{ secrets.COV_USER }}\n      COVERITY_PROJECT: ${{ secrets.COVERITY_PROJECT }}\n      COVERITY_TOKEN: ${{ secrets.COVERITY_TOKEN }}\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        path: gpt-neox\n\n    - name: Install utils\n      run: |\n        sudo apt update -y && sudo apt upgrade -y\n        sudo apt install curl jq wget -y\n\n    - name: Coverity Download\n      run: |\n        wget https://scan.coverity.com/download/linux64 --post-data \"token=$COVERITY_TOKEN&project=$COVERITY_PROJECT\" -O coverity_tool.tgz --no-verbose\n        mkdir $GITHUB_WORKSPACE/coverity && tar xvf coverity_tool.tgz -C $GITHUB_WORKSPACE/coverity --strip-components=1\n        $GITHUB_WORKSPACE/coverity/bin/cov-configure --python\n        $GITHUB_WORKSPACE/coverity/bin/cov-configure --gcc\n\n    - name: Coverity Scan and Upload\n      run: |\n        set -x\n        pushd $GITHUB_WORKSPACE\n        cd $GITHUB_WORKSPACE/gpt-neox\n        $GITHUB_WORKSPACE/coverity/bin/cov-build --dir $GITHUB_WORKSPACE/cov-int --no-command --fs-capture-search ./\n        popd\n        tar caf build-results.bz2 cov-int\n        curl --form token=$COVERITY_TOKEN \\\n          --form email=$COV_USER \\\n          --form file=@build-results.bz2 \\\n          --form version=\"${{ inputs.build_version }}\" \\\n          --form description=\"${{ inputs.build_description }}\" \\\n          https://scan.coverity.com/builds?project=$COVERITY_PROJECT\n\n    - name: Upload Scan Build as Artifact\n      uses: actions/upload-artifact@v3\n      with:\n        name: coverity-build-${{ github.sha }}\n        path: build-results.bz2\n", "state": "active", "repository": "eleutherai/gpt-neox"}
{"mined_at": "2024-07-15T15:49:43.098928", "created_at": "2024-04-01T18:21:46+02:00", "updated_at": "2024-04-01T18:21:46+02:00", "name": "Pull Request CPU Tests", "path": ".github/workflows/cpu_ci_on_pr.yml", "contents": "name: \"Pull Request CPU Tests\"\n\non:\n  pull_request:\n    paths: # job only triggers when the PR changes files under megatron directory\n      - \"megatron/**\"\n\njobs:\n  run-tests:\n    runs-on: [ 'test', 'self-hosted' ]\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n    - name: Run CPU tests\n      uses: ./tests/cpu_tests\n      with:\n        target_test_ref: ${{ github.event.pull_request.base.sha }}\n", "state": "active", "repository": "eleutherai/gpt-neox"}
{"mined_at": "2024-07-15T15:49:44.123489", "created_at": "2024-05-04T19:14:28+02:00", "updated_at": "2024-05-04T19:14:28+02:00", "name": "Workflow Dispatch CPU Tests", "path": ".github/workflows/cpu_ci_dispatch.yml", "contents": "name: \"Workflow Dispatch CPU Tests\"\n\non:\n  workflow_dispatch:\n    inputs:\n      ref:\n        description: 'Target ref / SHA to run tests against'\n        required: true\n        default: 'main'\n\njobs:\n  run-tests:\n    runs-on: [ 'test', 'self-hosted' ]\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n    - name: Run CPU tests\n      uses: ./tests/cpu_tests\n      with:\n        target_test_ref: ${{ inputs.ref }}\n", "state": "active", "repository": "eleutherai/gpt-neox"}
{"mined_at": "2024-07-15T15:49:48.302176", "created_at": "2023-04-26T21:10:23+02:00", "updated_at": "2023-04-26T21:10:23+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v4\n", "state": "active", "repository": "berkeley-dsep-infra/datahub"}
{"mined_at": "2024-07-15T15:49:49.350098", "created_at": "2020-08-30T09:04:02+02:00", "updated_at": "2020-08-30T16:14:04+02:00", "name": "Only allow staging -> prod & !prod -> staging merges", "path": ".github/workflows/prevent-prod-merges.yml", "contents": "name: Only allow staging -> prod & !prod -> staging merges\n\non:\n  pull_request:\n    branches: \n    - staging\n    - prod\n\njobs:\n  check-branch:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Only allow staging -> prod merges\n      run: |\n        # All branches *except* prod can be merged into staging\n        # *Only* staging can be merged into prod\n        echo \"Merging ${GITHUB_HEAD_REF} into ${GITHUB_BASE_REF}\"\n        python3 -c 'import os, sys; sys.exit(not(os.environ[\"GITHUB_HEAD_REF\"] == \"staging\" if os.environ[\"GITHUB_BASE_REF\"] == \"prod\" else os.environ[\"GITHUB_HEAD_REF\"] != \"prod\"))'", "state": "active", "repository": "berkeley-dsep-infra/datahub"}
{"mined_at": "2024-07-15T15:49:50.393668", "created_at": "2024-06-21T20:39:52+02:00", "updated_at": "2024-06-21T20:39:52+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "berkeley-dsep-infra/datahub"}
{"mined_at": "2024-07-15T15:49:52.493108", "created_at": "2021-12-23T21:15:41+01:00", "updated_at": "2021-12-23T21:15:41+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ master, \"ci/*\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '16 16 * * 5'\n\npermissions:\n  actions: read\n  contents: read\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "matthiasvalvekens/pyhanko"}
{"mined_at": "2024-07-15T15:49:53.543032", "created_at": "2023-04-21T21:51:10+02:00", "updated_at": "2023-08-09T16:21:02+02:00", "name": "CI pipeline", "path": ".github/workflows/build-pipeline.yml", "contents": "name: CI pipeline\n\non:\n  push:\n    branches: [ master, \"release/*\", \"maintenance/*\", \"ci/*\" ]\n  pull_request:\n    branches: [ master ]\n  workflow_call:\n    secrets:\n      CODECOV_TOKEN:\n        required: true\n    outputs:\n      hashes:\n        description: \"Hashes of the artifacts that were built\"\n        value: ${{ jobs.build.outputs.hashes }}\n  workflow_dispatch: {}\npermissions:\n  actions: read\n  contents: read\nenv:\n  MAIN_PYTHON_VERSION: \"3.10\"\n  PDFTOPPM_PATH: /usr/bin/pdftoppm\n  IM_COMPARE_PATH: /usr/bin/compare\n  SOFTHSM2_CONF: /tmp/softhsm2.conf\n  SOFTHSM2_MODULE_PATH: /usr/lib/softhsm/libsofthsm2.so\n  CERTOMANCER_CONFIG_PATH: pyhanko_tests/data/crypto/certomancer.yml\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    outputs:\n      hashes: ${{ steps.artifact-hashes.outputs.hashes }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n      - name: Install build tools\n        run: pip install --upgrade build setuptools pip wheel\n      - name: Build release artifacts\n        run: python -m build\n      - name: Record release artifact hashes\n        id: artifact-hashes\n        run: cd dist && echo \"hashes=$(sha256sum * | base64 -w0)\" >> \"$GITHUB_OUTPUT\"\n      - name: Upload dist artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: pyhanko-dist\n          path: dist/\n  pytest-coverage:\n    runs-on: ubuntu-latest\n    needs: build\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Download dist artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: pyhanko-dist\n          path: dist/\n      - uses: ./.github/actions/test-job-setup\n      - name: Test with pytest\n        run: python -m pytest --cov=./ --cov-report=xml:python-${{ matrix.python-version }}-coverage.xml\n        env:\n          PKCS11_TEST_MODULE: ${{ env.SOFTHSM2_MODULE_PATH }}\n      - name: Stash coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-${{ strategy.job-index }}\n          path: \"*-coverage.xml\"\n  live-integration-tests:\n    runs-on: ubuntu-latest\n    needs: build\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Download dist artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: pyhanko-dist\n          path: dist/\n      - uses: ./.github/actions/test-job-setup\n        with:\n          dependency-group: live-test\n      - name: Start Certomancer Animator daemon\n        run: |\n          certomancer --service-url-prefix http://localhost:9000 \\\n            --config \"$CERTOMANCER_CONFIG_PATH\" animate &\n      - name: Start CSC dummy server\n        run: |\n          certomancer-csc \"$CERTOMANCER_CONFIG_PATH\" 8999 2 &\n      - name: Test with pytest\n        run: |\n          python -m pytest --cov=./ --cov-report=xml:python-${{ matrix.python-version }}-live-coverage.xml \\\n                pyhanko_tests/with_live_certomancer.py \\\n                pyhanko_tests/with_live_csc_dummy.py\n        env:\n          LIVE_CERTOMANCER_HOST_URL: http://localhost:9000\n          LIVE_CSC_SCAL2_HOST_URL: http://localhost:8999\n      - name: Stash coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-live-${{ strategy.job-index }}\n          path: \"*-coverage.xml\"\n  smoke-tests:\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n      - name: Download dist artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: pyhanko-dist\n          path: dist/\n      - uses: ./.github/actions/test-job-setup\n        with:\n          dependency-group: testing-basic\n      - name: Run smoke tests that should pass without optional dependencies\n        # We run a couple of the \"bread and butter\" test modules, and the full CLI test suite except for\n        # the PKCS#11 parts\n        run: |\n          python -m pytest \\\n            pyhanko_tests/test_signing.py pyhanko_tests/test_diff_analysis.py pyhanko_tests/test_crypt.py \\\n            pyhanko_tests/test_cms.py pyhanko_tests/cli_tests/*.py\n  codecov-upload:\n    permissions:\n      actions: write\n      contents: read\n    runs-on: ubuntu-latest\n    needs: [pytest-coverage,live-integration-tests]\n    steps:\n      # checkout necessary to ensure the uploaded report contains the correct paths\n      - uses: actions/checkout@v4\n      - name: Retrieve coverage reports\n        uses: actions/download-artifact@v4\n        with:\n          pattern: coverage-*\n          path: ./reports/\n      - name: Upload all coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          directory: ./reports/\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n      - name: Clean up coverage reports\n        continue-on-error: true\n        uses: GeekyEggo/delete-artifact@v5\n        with:\n          name: coverage-*\n", "state": "active", "repository": "matthiasvalvekens/pyhanko"}
{"mined_at": "2024-07-15T15:49:54.589643", "created_at": "2023-04-22T21:05:33+02:00", "updated_at": "2023-08-09T16:21:02+02:00", "name": "Publish release", "path": ".github/workflows/release.yml", "contents": "name: Publish release\n\non:\n  workflow_dispatch:\n    inputs:\n      environment:\n        type: environment\n        description: \"Environment in which to execute the release process\"\n  push:\n    branches: [ \"ci/*\", \"ci-*\" ]\njobs:\n  ci:\n    name: Run CI pipeline\n    uses: MatthiasValvekens/pyHanko/.github/workflows/build-pipeline.yml@master\n    permissions:\n      actions: write\n      contents: read\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n  extract-params:\n    name: Determine release parameters\n    runs-on: ubuntu-latest\n    permissions: {}\n    outputs:\n      publish-env: ${{ steps.setenv.outputs.envname }}\n      release-version: ${{ steps.getversion.outputs.version }}\n    steps:\n      - id: setenv\n        run: |\n          if [[ $GITHUB_EVENT_NAME == 'release' ]]; then\n              echo envname=release >> \"$GITHUB_OUTPUT\"\n          elif [[ $GITHUB_EVENT_NAME == 'push' ]]; then\n              # at times it may be convenient to temporarily turn on release-on-push\n              # for testing purposes, so leaving this line in helps make that smoother\n              echo envname=test-release >> \"$GITHUB_OUTPUT\"\n          elif [[ $GITHUB_EVENT_NAME == 'workflow_dispatch' ]]; then\n              echo \"envname=${{ inputs.environment }}\" >> \"$GITHUB_OUTPUT\"\n          else\n              echo \"Cannot run release workflow for trigger event $GITHUB_EVENT_NAME\"\n              exit 1\n          fi\n          cat \"$GITHUB_OUTPUT\"\n      - uses: actions/checkout@v4\n      - name: Get version information\n        id: getversion\n        run: |\n          set -eo pipefail\n          grep __version__ < pyhanko/version.py \\\n            | sed \"s/__version__ = '\\(.*\\)'/version=\\1/\" >> \"$GITHUB_OUTPUT\"\n      - name: Generate release body\n        run: |\n          sed \"s/:VERSION/$VERSION/g\" < .github/gh-release-template.md > release.md\n          cat release.md\n        env:\n          VERSION: ${{ steps.getversion.outputs.version }}\n      - name: Upload release body\n        uses: actions/upload-artifact@v4\n        with:\n          name: release-body\n          path: release.md\n  provenance:\n    name: Generate SLSA provenance data\n    needs: [ci]\n    permissions:\n      actions: read\n      id-token: write\n      contents: write  # https://github.com/slsa-framework/slsa-github-generator/issues/2044 :(\n    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0\n    with:\n      base64-subjects: \"${{ needs.ci.outputs.hashes }}\"\n      upload-assets: false\n      provenance-name: multiple.intoto.jsonl\n  publish:\n    name: Publish release artifacts\n    needs: [extract-params, provenance]\n    runs-on: ubuntu-latest\n    environment: ${{ needs.extract-params.outputs.publish-env }}\n    permissions:\n      # we use PyPI's trusted publisher model -> expose identity token\n      id-token: write\n      # we want to add sigstore's artifacts to the release on GitHub\n      contents: write\n      discussions: write\n    steps:\n    - name: Download dist artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: pyhanko-dist\n        path: dist/\n    - name: Download provenance data\n      uses: actions/download-artifact@v4\n      with:\n        name: multiple.intoto.jsonl\n        path: provenance/\n    - name: Download release body\n      uses: actions/download-artifact@v4\n      with:\n        name: release-body\n        path: release-body\n    - name: Upload to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: ${{ vars.REPOSITORY_URL }}\n    - name: Sign with sigstore\n      uses: sigstore/gh-action-sigstore-python@v2.1.1\n      with:\n        inputs: ./dist/*\n        # useful to inspect workflow artifacts in test runs\n        upload-signing-artifacts: true\n    - name: Create GitHub release\n      if: needs.extract-params.outputs.publish-env == 'release' && startsWith(github.ref, 'refs/tags/')\n      uses: softprops/action-gh-release@v2\n      with:\n        files: |\n          dist/*.whl\n          dist/*.tar.gz\n          dist/*.sigstore\n          provenance/multiple.intoto.jsonl\n        body_path: release-body/release.md\n        fail_on_unmatched_files: true\n        discussion_category_name: Announcements\n        prerelease: true\n        name: pyHanko ${{ needs.extract-params.outputs.release-version }} beta\n", "state": "active", "repository": "matthiasvalvekens/pyhanko"}
{"mined_at": "2024-07-15T15:49:55.745176", "created_at": "2023-04-23T08:34:15+02:00", "updated_at": "2023-04-23T08:34:15+02:00", "name": "Static analysis", "path": ".github/workflows/static-analysis.yml", "contents": "name: Static analysis\n\non: [\"push\", \"pull_request\"]\n\npermissions:\n  actions: read\n  contents: read\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - run: pip install --upgrade pip isort black\n      - name: Check import order\n        run: isort --profile black --line-length 80 --check pyhanko pyhanko_tests\n      - name: Run Black\n        run: black -S --line-length 80 --check pyhanko pyhanko_tests\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jpetrucciani/mypy-check@0.991\n        with:\n          path: pyhanko\n          requirements: \"-e .[mypy] --config-settings editable_mode=strict\"\n", "state": "active", "repository": "matthiasvalvekens/pyhanko"}
{"mined_at": "2024-07-15T15:49:57.734004", "created_at": "2021-12-30T19:31:32+01:00", "updated_at": "2021-12-30T19:31:32+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "revoxhere/duino-coin"}
{"mined_at": "2024-07-15T15:49:59.834710", "created_at": "2021-08-17T05:31:15+02:00", "updated_at": "2021-08-17T05:32:59+02:00", "name": "Add issues to project", "path": ".github/workflows/add-issues-to-project.yml", "contents": "# A workflow for automatically adding all new issues to a project\nname: Add issues to project\non:\n  issues:\n    types: [ opened ]\njobs:\n  createCard:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create project card\n        uses: peter-evans/create-or-update-project-card@v1\n        with:\n          project-name: Otter-Grader Issues and Tasks\n          column-name: Icebox\n", "state": "active", "repository": "ucbds-infra/otter-grader"}
{"mined_at": "2024-07-15T15:50:00.885524", "created_at": "2021-11-11T06:12:51+01:00", "updated_at": "2021-11-11T06:12:51+01:00", "name": "Publish release", "path": ".github/workflows/release.yml", "contents": "name: Publish release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'New version number'\n        required: true\n\njobs:\n  build:\n    if: contains('[\"chrispyles\"]', github.actor)\n\n    runs-on: ubuntu-latest\n\n    env:\n      TAR: /bin/tar\n\n    steps:\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Only allow releases off of master (or temp for patches)\n        run: |\n          python3 -c 'import os, sys; sys.exit(os.environ[\"GITHUB_REF\"] != \"refs/heads/master\" and os.environ[\"GITHUB_REF\"] != \"refs/heads/temp\")'\n\n      - uses: actions/checkout@v2\n\n      - name: Install dependencies\n        run: |\n          python3 -m pip install -r requirements.txt twine wheel setuptools\n\n      - name: Update versions\n        run: |\n          python3 release.py ${{ github.event.inputs.version }}\n\n      - name: Build tutorial\n        run: |\n          make tutorial\n\n      - name: Commit and push\n        run: |\n          git config --global user.name \"github-actions\"\n          git config --global user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git checkout -b release\n          git commit -am 'release v${{ github.event.inputs.version }}'\n          git push --set-upstream origin release\n\n      - name: Create dist and push to PyPI\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        run: |\n          python3 setup.py sdist bdist_wheel\n          python3 -m twine upload dist/*\n\n      - name: Create a release on GitHub\n        env:\n          GITHUB_USER: ${{ secrets.GITHUB_USER }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n            gh release create \\\n              --title 'v${{ github.event.inputs.version }}' \\\n              --target release \\\n              'v${{ github.event.inputs.version }}' \\\n              dist/*.tar.gz \\\n              dist/*.whl\n\n      - name: Create a latest tag\n        run: |\n          git tag -f latest\n          git push --force origin latest\n\n      - name: PR release -> main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh pr create \\\n            --repo ucbds-infra/otter-grader \\\n            --base master \\\n            --head ucbds-infra:release \\\n            --label \"release\" \\\n            --reviewer chrispyles \\\n            --milestone \"v${{ github.event.inputs.version }}\" \\\n            --title \"Release v${{ github.event.inputs.version }}\" \\\n            --body \"Updates from the release of version ${{ github.event.inputs.version }}\"\n", "state": "active", "repository": "ucbds-infra/otter-grader"}
{"mined_at": "2024-07-15T15:50:01.969677", "created_at": "2021-06-16T08:28:57+02:00", "updated_at": "2021-06-16T08:28:57+02:00", "name": "Run tests", "path": ".github/workflows/run-tests.yml", "contents": "# Workflow for running the test suite\n\nname: Run tests\n\non:\n  push:\n    branches:\n      - master\n      - beta\n      - release\n  pull_request:\n    branches:\n      - master\n      - beta\n      - release\n      - temp\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Test suite\n    runs-on: ubuntu-latest\n\n    env:\n      TAR: /bin/tar\n      DOCKER_BUILDKIT: 1\n      DOCKER_CLI_EXPERIMENTAL: enabled\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: docker/setup-buildx-action@v2\n        with:\n          install: true\n\n      - uses: r-lib/actions/setup-tinytex@v2\n\n      - uses: r-lib/actions/setup-pandoc@v2\n\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment.yml\n          init-shell: >-\n            bash\n          cache-environment: true\n          cache-environment-key: requirements-${{ hashFiles('requirements*.txt') }}\n\n      - name: Install ottr\n        run: |\n          micromamba run -n otter-grader Rscript -e 'install.packages(\"ottr\", dependencies=TRUE, repos=\"https://cran.r-project.org/\")'\n\n      - name: Run tests\n        run: |\n          micromamba activate otter-grader\n          make testcov PYTESTOPTS=\"-vv\" && coverage lcov -i\n\n      - name: Coveralls\n        uses: coverallsapp/github-action@v2\n", "state": "active", "repository": "ucbds-infra/otter-grader"}
{"mined_at": "2024-07-15T15:50:05.506630", "created_at": "2020-11-27T22:10:35+01:00", "updated_at": "2021-04-25T09:05:55+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches-ignore:\n      - \"dependabot/**\"\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    strategy:\n      # Allows for matrix sub-jobs to fail without cancelling the rest\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Test Installation\n        shell: bash\n        run: |\n          pip install -r dev-requirements/build.txt\n\n          pip install .\n          pip uninstall -y hikari\n\n          pip install .[speedups]\n          pip uninstall -y hikari\n\n      - name: Run tests\n        shell: bash\n        run: |\n          pip install -r dev-requirements.txt\n          nox -s pytest\n          nox -s pytest-all-features -- --cov-append\n\n          python scripts/ci/normalize_coverage.py\n\n      - name: Upload coverage\n        uses: actions/upload-artifact@v4\n        with:\n          name: .coverage.${{ matrix.os }}.${{ matrix.python-version }}\n          path: .coverage\n          retention-days: 1\n          if-no-files-found: error\n\n  upload-coverage:\n    needs: [test]\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Download coverage\n        uses: actions/download-artifact@v4\n        with:\n          path: coverages/\n          # Not specifying any name will lead to the download of all available artifacts\n\n      # Since artifacts v2, we can no longer upload multiple artifacts\n      # with the same name and have them re-download as if it were a directory.\n      # For this reason, we need to download all available artifacts, filter\n      # out for only coverage files and then place them in the root directory\n      # with the name of the artifact\n      - name: Extract individual coverage files\n        run: |\n          cd coverages\n\n          for coverage_dir in ./.coverage.*; do\n              mv \"$coverage_dir/.coverage\" \"../$coverage_dir\"\n              rmdir \"$coverage_dir\"\n          done\n\n          cd ..\n\n      - name: Combine coverage\n        run: |\n          pip install -r dev-requirements/coverage.txt\n          coverage combine\n          coverage xml\n          coverage report\n\n      - name: Upload coverage to codeclimate\n        uses: paambaati/codeclimate-action@v8.0.0\n        env:\n          CC_TEST_REPORTER_ID: d40e64ea0ff74713f79365fea4378ab51a2141ad4fcf0fb118496bbf560d4192\n        with:\n          coverageLocations: .coverage.xml:coverage.py\n\n  linting:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Check stubs\n        if: always()\n        run: |\n          pip install -r dev-requirements.txt\n          nox -s generate-stubs\n          if [ \"$(git status --short)\" ]; then\n            echo \"Stubs were not updated accordingly to the changes. Please run 'nox -s generate-stubs' and commit the changes to fix this.\"\n            exit 1\n          fi\n\n      - name: Audit\n        if: always()\n        run: |\n          nox -s audit\n\n      - name: Mypy\n        if: always()\n        run: |\n          nox -s mypy\n\n      - name: Verify types\n        if: always()\n        run: |\n          nox -s verify-types\n\n      - name: Flake8\n        if: always()\n        run: |\n          nox -s flake8\n\n      - name: Slotscheck\n        if: always()\n        run: |\n          nox -s slotscheck\n\n      - name: Codespell\n        if: always()\n        run: |\n          nox -s codespell\n\n      - name: Check trailing whitespaces\n        if: always()\n        run: |\n          nox -s check-trailing-whitespaces\n\n  twemoji:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Test twemoji mapping\n        run: |\n          pip install -r dev-requirements.txt\n          nox -s twemoji-test\n\n  docs:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          # NOTE: This should be kept up to date with .readthedocs.yaml\n          python-version: 3.11\n\n      - name: Build documentation\n        run: |\n          pip install -r dev-requirements.txt\n          nox -s mkdocs\n\n      - name: Upload artifacts\n        if: github.event_name == 'pull_request'\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs\n          path: public/docs\n          retention-days: 2\n          if-no-files-found: error\n\n  # Allows us to add this as a required check in Github branch rules, as all the other jobs are subject to change\n  ci-done:\n    needs: [upload-coverage, linting, twemoji, docs]\n    if: always() && !cancelled()\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Set status based on required jobs\n        env:\n          RESULTS: ${{ join(needs.*.result, ' ') }}\n        run: |\n          for result in $RESULTS; do\n            if [ \"$result\" != \"success\" ]; then\n              exit 1\n            fi\n          done\n", "state": "active", "repository": "hikari-py/hikari"}
{"mined_at": "2024-07-15T15:50:06.658756", "created_at": "2021-03-22T20:30:11+01:00", "updated_at": "2021-03-22T20:30:11+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: CodeQL\n\non:\n  push:\n    branches-ignore:\n      - \"dependabot/**\"\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\" # Every day at 00:00\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: python\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "hikari-py/hikari"}
{"mined_at": "2024-07-15T15:50:07.705312", "created_at": "2021-09-07T20:19:41+02:00", "updated_at": "2021-09-08T14:03:11+02:00", "name": "Fragments check", "path": ".github/workflows/fragments-check.yml", "contents": "name: Fragments check\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, reopened, synchronize]\n    branches:\n      - master\n\njobs:\n  check-fragment-added:\n    if: github.event.pull_request.user.type != 'Bot' && !contains(github.event.pull_request.labels.*.name, 'skip-fragment-check')\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          # `towncrier check` runs `git diff --name-only origin/main...`, which\n          # needs a non-shallow clone.\n          fetch-depth: 0\n\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Check if changelog fragment was added\n        run: |\n          pip install -r dev-requirements/towncrier.txt\n\n          if ! towncrier check --compare-with origin/${{ github.base_ref }}; then\n            exit 1\n          fi\n\n      - name: Check if linked to the correct pull request\n        run: |\n          diff=$(git diff origin/${{ github.base_ref }} HEAD --name-only)\n\n          changelog_fragments=$(echo \"$diff\" | grep \"^changes/\")\n          valid_changelog_fragments=$(echo \"$diff\" | grep \"^changes/${{ github.event.number }}\\.\")\n\n          if [ \"$changelog_fragments\" != \"$valid_changelog_fragments\" ]; then\n            exit 1\n          fi\n", "state": "active", "repository": "hikari-py/hikari"}
{"mined_at": "2024-07-15T15:50:08.795666", "created_at": "2021-09-08T14:03:11+02:00", "updated_at": "2021-09-08T14:03:11+02:00", "name": "Prepare Release", "path": ".github/workflows/prepare-release.yml", "contents": "name: Prepare Release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'The version to prepare the release for'\n        required: true\n\njobs:\n  prepare-release:\n    runs-on: ubuntu-latest\n\n    if: github.ref == 'refs/heads/master'\n\n    steps:\n      - name: Generate token\n        id: generate_token\n        uses: tibdex/github-app-token@v2\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.PRIVATE_KEY }}\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n\n      - name: Setup git config\n        run: |\n          git config --global user.name \"hikari-bot\"\n          git config --global user.email \"90276125+hikari-bot[bot]@users.noreply.github.com\"\n\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Run prepare script\n        env:\n          VERSION: ${{ inputs.version }}\n        run: bash scripts/ci/prepare-release.sh\n\n      - name: Create pull request\n        uses: repo-sync/pull-request@v2\n        with:\n          # We need to use a bot token to be able to trigger workflows that listen to pull_request calls\n          github_token: ${{ steps.generate_token.outputs.token }}\n          source_branch: task/prepare-release-${{ github.event.inputs.version }}\n          destination_branch: master\n          pr_assignee: ${{ github.event.sender.login }}\n          pr_title: Prepare for release of ${{ github.event.inputs.version }}\n          pr_body: |\n            Release preparation triggered by @${{ github.event.sender.login }}.\n\n            Once the pull request is merged, you can trigger a PyPI release by creating a GitHub release for \\`${{ github.event.inputs.version }}\\` in the repository.\n", "state": "active", "repository": "hikari-py/hikari"}
{"mined_at": "2024-07-15T15:50:09.842405", "created_at": "2021-09-30T21:06:59+02:00", "updated_at": "2021-09-30T21:06:59+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Generate token\n        id: generate_token\n        uses: tibdex/github-app-token@v2\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.PRIVATE_KEY }}\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n\n      - name: Setup git config\n        run: |\n          git config --global user.name \"hikari-bot\"\n          git config --global user.email \"90276125+hikari-bot[bot]@users.noreply.github.com\"\n\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Temporarily disable \"include administrators\" branch protection\n        uses: benjefferies/branch-protection-bot@v1.1.2\n        with:\n          access_token: ${{ steps.generate_token.outputs.token }}\n          enforce_admins: false\n\n      - name: Release\n        env:\n          VERSION: ${{ github.event.release.tag_name }}\n          DEPLOY_WEBHOOK_URL: ${{ secrets.DEPLOY_WEBHOOK_URL }}\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n        run: bash scripts/ci/release.sh\n\n      - name: Re-enable \"include administrators\" branch protection\n        uses: benjefferies/branch-protection-bot@v1.1.2\n        if: always()\n        with:\n          access_token: ${{ steps.generate_token.outputs.token }}\n          enforce_admins: true\n", "state": "active", "repository": "hikari-py/hikari"}
{"mined_at": "2024-07-15T15:50:10.847966", "created_at": "2022-01-01T12:07:17+01:00", "updated_at": "2022-01-01T12:07:17+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "hikari-py/hikari"}
{"mined_at": "2024-07-15T15:50:12.945923", "created_at": "2023-11-07T20:48:23+01:00", "updated_at": "2024-02-23T09:33:02+01:00", "name": "documentation_dev", "path": ".github/workflows/doc_dev.yml", "contents": "name: documentation_dev\non:\n  pull_request_target:\n    branches:\n      - main\n    types: [closed]\n  push:\n    branches:\n      - main\n\n\npermissions:\n  contents: write\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Wait for version update\n        run: |\n          sleep 60\n      - name: Checkout\n        uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Install and configure Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Install dependencies\n        run: |\n          curl -C - https://raw.githubusercontent.com/rlberry-py/rlberry/main/pyproject.toml > pyproject.toml\n          poetry install --all-extras --with dev --sync\n      - name: Sphinx build\n        run: |\n          poetry run sphinx-build docs _build\n      - uses: actions/checkout@v4\n        with:\n          # This is necessary so that we have the tags.\n          fetch-depth: 0\n          ref: gh-pages\n          path: gh_pages\n      - name: copy stable and preview version changes\n        run: |\n          cp -rv  gh_pages/stable _build/stable || echo \"Ignoring exit status\"\n          cp -rv  gh_pages/preview_pr _build/preview_pr || echo \"Ignoring exit status\"\n      - name: Deploy to GitHub Pages\n        uses: peaceiris/actions-gh-pages@v3\n        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}\n        with:\n          publish_branch: gh-pages\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: _build/\n          force_orphan: true\n", "state": "active", "repository": "rlberry-py/rlberry"}
{"mined_at": "2024-07-15T15:50:13.992870", "created_at": "2023-11-07T20:48:23+01:00", "updated_at": "2023-11-07T20:48:23+01:00", "name": "documentation_stable", "path": ".github/workflows/doc_stable.yml", "contents": "name: documentation_stable\non:\n  push:\n    # Pattern matched against refs/tags\n    tags:\n      - '*'           # Push events to every tag not containing /\n\npermissions:\n  contents: write\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n          path: main\n      - name: checkout latest\n        run: |\n          cd main\n          git checkout $(git describe --tags $(git rev-list --tags --max-count=1))\n          cd ..\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Install and configure Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Install dependencies\n        run: |\n          cd main\n          poetry install --all-extras --with dev --sync\n      - name: Sphinx build\n        run: |\n          poetry run sphinx-build docs ../_build\n          cd ..\n      - uses: actions/checkout@v4\n        with:\n          # This is necessary so that we have the tags.\n          fetch-depth: 0\n          ref: gh-pages\n          path: gh_pages\n      - name: Commit documentation changes\n        run: |\n          cd gh_pages\n          rm -r stable || echo \"Ignoring exit status\"\n          mkdir stable\n          cp -rv  ../_build/* stable\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git add .\n          git commit -m \"Documentation Stable\"\n          git push\n", "state": "active", "repository": "rlberry-py/rlberry"}
{"mined_at": "2024-07-15T15:50:15.040516", "created_at": "2022-03-01T16:04:30+01:00", "updated_at": "2022-03-01T19:31:15+01:00", "name": "Version Control", "path": ".github/workflows/dunamai.yml", "contents": "name: Version Control\non:\n  pull_request_target:\n    branches:\n      - main\n    types: [closed]\n\njobs:\n  versionjob:\n    if: github.event.pull_request.merged == true\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - uses: actions/checkout@v4\n        with:\n          # This is necessary so that we have the tags.\n          fetch-depth: 0\n          ref: main\n      - uses: mtkennerly/dunamai-action@v1\n        with:\n          env-var: MY_VERSION\n      - run: echo $MY_VERSION\n      - uses: snok/install-poetry@v1\n      - run: poetry version \"v$MY_VERSION \"\n      - uses: EndBug/add-and-commit@v8\n        with:\n          add: 'pyproject.toml'\n          default_author: github_actor\n          message: 'Writing version with github action [skip ci]'\n", "state": "active", "repository": "rlberry-py/rlberry"}
{"mined_at": "2024-07-15T15:50:16.096057", "created_at": "2023-11-07T16:01:06+01:00", "updated_at": "2023-11-08T09:10:38+01:00", "name": "preview", "path": ".github/workflows/preview.yml", "contents": "name: \"preview\"\n\non:\n  workflow_run:\n    workflows: [\"ready_for_review\"]\n    types:\n      - completed\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    steps:\n      - name: Download workflow artifact\n        uses: dawidd6/action-download-artifact@v2.11.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          workflow: peek_icons.yml\n          run_id: ${{ github.event.workflow_run.id }}\n\n      - name: Read the pr_num file\n        id: pr_num_reader\n        uses: juliangruber/read-file-action@v1.0.0\n        with:\n          path: ./pr_num/pr_num.txt\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          path: main\n      - name: Checkout Pull Request\n        env:\n          GITHUB_USER: ${{ secrets.GITHUB_USER }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          cd main\n          gh pr checkout ${{ steps.pr_num_reader.outputs.content }}\n          cd ..\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Install and configure Poetry\n        uses: snok/install-poetry@v1\n      - name: Install dependencies and build doc\n        run: |\n          set +e\n          cd main\n          curl -C - https://raw.githubusercontent.com/rlberry-py/rlberry/main/pyproject.toml > pyproject.toml\n          poetry install --all-extras --with dev --sync\n          poetry run sphinx-build docs ../_build\n          echo \"exitcode=$?\" >> $GITHUB_ENV\n          cd ..\n\n      - uses: actions/checkout@v4\n        with:\n          # This is necessary so that we have the tags.\n          fetch-depth: 0\n          ref: gh-pages\n          path: gh_pages\n\n      - name: Commit documentation changes\n        if: ${{ env.exitcode == 0 }}\n        run: |\n          cd gh_pages\n          rm -r preview_pr || echo \"Ignoring exit status\"\n          mkdir preview_pr\n          cp -rv  ../_build/* preview_pr\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git add .\n          git commit -m \"Preview documentation\"\n          git push\n      - name: Comment on the PR about the result\n        uses: jungwinter/comment@v1 # let us comment on a specific PR\n        if:  ${{ env.exitcode == 0 }}\n        env:\n          MESSAGE: |\n            Hello,\n            The build of the doc succeeded. The documentation preview is available here:\n            https://rlberry-py.github.io/rlberry/preview_pr\n\n        with:\n          type: create\n          issue_number: ${{ steps.pr_num_reader.outputs.content }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          body: >\n            ${{ format(env.MESSAGE,\n            fromJSON(steps.icons_overview_img_step.outputs.markdown_urls)[0],\n            join(fromJSON(steps.icons_detailed_img_step.outputs.markdown_urls), '')) }}\n\n      - name: Comment on the PR about the result, fail\n        uses: jungwinter/comment@v1 # let us comment on a specific PR\n        if: ${{ env.exitcode != 0 }}\n        env:\n          MESSAGE: |\n            Hello,\n            The build of the doc failed. Look up the reason here:\n            https://github.com/rlberry-py/rlberry/actions/workflows/preview.yml\n\n        with:\n          type: create\n          issue_number: ${{ steps.pr_num_reader.outputs.content }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          body: >\n            ${{ format(env.MESSAGE,\n            fromJSON(steps.icons_overview_img_step.outputs.markdown_urls)[0],\n            join(fromJSON(steps.icons_detailed_img_step.outputs.markdown_urls), '')) }}\n      - name: Exit\n        run: exit \"$exitcode\"\n", "state": "active", "repository": "rlberry-py/rlberry"}
{"mined_at": "2024-07-15T15:50:17.138242", "created_at": "2023-11-07T16:33:35+01:00", "updated_at": "2023-11-07T17:36:49+01:00", "name": "ready_for_review", "path": ".github/workflows/ready_for_review.yml", "contents": "name: ready_for_review\n\non:\n  pull_request:\n    types: [labeled, opened, reopened, synchronize]\n\njobs:\n  build:\n    if: contains( github.event.pull_request.labels.*.name, 'ready for review')\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Run a one-line script\n      run: echo ready for review!\n    - name: Save the PR number in an artifact\n      shell: bash\n      env:\n        PR_NUM: ${{ github.event.number }}\n      run: echo $PR_NUM > pr_num.txt\n\n    - name: Upload the PR number\n      uses: actions/upload-artifact@v2\n      with:\n        name: pr_num\n        path: ./pr_num.txt\n", "state": "active", "repository": "rlberry-py/rlberry"}
{"mined_at": "2024-07-15T15:50:18.186182", "created_at": "2023-11-07T14:51:33+01:00", "updated_at": "2023-11-07T14:51:33+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "rlberry-py/rlberry"}
{"mined_at": "2024-07-15T15:50:20.282796", "created_at": "2020-09-15T04:04:49+02:00", "updated_at": "2020-09-15T04:04:49+02:00", "name": "Stale PRs", "path": ".github/workflows/stale-pr.yml", "contents": "name: \"Stale PRs\"\non:\n  schedule:\n  # * is a special character in YAML so you have to quote this string\n  - cron: \"0 0 * * *\"\n\npermissions:\n  contents: read\n\njobs:\n  stale:\n    permissions:\n      pull-requests: write\n    if: github.repository_owner == 'pandas-dev'\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-pr-message: \"This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this.\"\n        stale-pr-label: \"Stale\"\n        exempt-pr-labels: \"Needs Review,Blocked,Needs Discussion\"\n        days-before-issue-stale: -1\n        days-before-pr-stale: 30\n        days-before-close: -1\n        remove-stale-when-updated: false\n        debug-only: false\n", "state": "active", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:21.383626", "created_at": "2021-12-28T21:03:36+01:00", "updated_at": "2023-04-01T20:41:03+02:00", "name": "Code Checks", "path": ".github/workflows/code-checks.yml", "contents": "name: Code Checks\n\non:\n  push:\n    branches:\n      - main\n      - 2.2.x\n  pull_request:\n    branches:\n      - main\n      - 2.2.x\n\nenv:\n  ENV_FILE: environment.yml\n  PANDAS_CI: 1\n\npermissions:\n  contents: read\n\n# pre-commit run by https://pre-commit.ci/\njobs:\n  docstring_typing_manual_hooks:\n    name: Docstring validation, typing, and other manual pre-commit hooks\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-code-checks\n      cancel-in-progress: true\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Conda\n      uses: ./.github/actions/setup-conda\n\n    - name: Build Pandas\n      id: build\n      uses: ./.github/actions/build_pandas\n      with:\n        editable: false\n\n    # The following checks are independent of each other and should still be run if one fails\n\n    # TODO: The doctests have to be run first right now, since the Cython doctests only work\n    # with pandas installed in non-editable mode\n    # This can be removed once pytest-cython doesn't require C extensions to be installed inplace\n    - name: Run doctests\n      run: cd ci && ./code_checks.sh doctests\n      if: ${{ steps.build.outcome == 'success' && always() }}\n\n    - name: Install pandas in editable mode\n      id: build-editable\n      if: ${{ steps.build.outcome == 'success' && always() }}\n      uses: ./.github/actions/build_pandas\n      with:\n        editable: true\n\n    - name: Check for no warnings when building single-page docs\n      run: ci/code_checks.sh single-docs\n      if: ${{ steps.build.outcome == 'success' && always() }}\n\n    - name: Run checks on imported code\n      run: ci/code_checks.sh code\n      if: ${{ steps.build.outcome == 'success' && always() }}\n\n    - name: Run docstring validation\n      run: ci/code_checks.sh docstrings\n      if: ${{ steps.build.outcome == 'success' && always() }}\n\n    - name: Run check of documentation notebooks\n      run: ci/code_checks.sh notebooks\n      if: ${{ steps.build.outcome == 'success' && always() }}\n\n    - name: Use existing environment for type checking\n      run: |\n        echo $PATH >> $GITHUB_PATH\n        echo \"PYTHONHOME=$PYTHONHOME\" >> $GITHUB_ENV\n        echo \"PYTHONPATH=$PYTHONPATH\" >> $GITHUB_ENV\n      if: ${{ steps.build.outcome == 'success' && always() }}\n\n    - name: Typing\n      uses: pre-commit/action@v3.0.1\n      with:\n        extra_args: --verbose --hook-stage manual --all-files\n      if: ${{ steps.build.outcome == 'success' && always() }}\n\n    - name: Run docstring validation script tests\n      run: pytest scripts\n      if: ${{ steps.build.outcome == 'success' && always() }}\n\n  asv-benchmarks:\n    name: ASV Benchmarks\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-asv-benchmarks\n      cancel-in-progress: true\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Conda\n      uses: ./.github/actions/setup-conda\n\n    - name: Build Pandas\n      id: build\n      uses: ./.github/actions/build_pandas\n\n    - name: Run ASV benchmarks\n      run: |\n        cd asv_bench\n        asv machine --yes\n        asv run --quick --dry-run --durations=30 --python=same --show-stderr\n\n  build_docker_dev_environment:\n    name: Build Docker Dev Environment\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-build_docker_dev_environment\n      cancel-in-progress: true\n\n    steps:\n      - name: Clean up dangling images\n        run: docker image prune -f\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Build image\n        run: docker build --pull --no-cache --tag pandas-dev-env .\n\n      - name: Show environment\n        run: docker run --rm pandas-dev-env python -c \"import pandas as pd; print(pd.show_versions())\"\n\n  requirements-dev-text-installable:\n    name: Test install requirements-dev.txt\n    runs-on: ubuntu-22.04\n\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-requirements-dev-text-installable\n      cancel-in-progress: true\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python\n        id: setup_python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: 'pip'\n          cache-dependency-path: 'requirements-dev.txt'\n\n      - name: Install requirements-dev.txt\n        run: pip install -r requirements-dev.txt\n\n      - name: Check Pip Cache Hit\n        run: echo ${{ steps.setup_python.outputs.cache-hit }}\n", "state": "active", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:22.438593", "created_at": "2021-12-28T21:03:36+01:00", "updated_at": "2021-12-29T15:23:38+01:00", "name": "Doc Build and Upload", "path": ".github/workflows/docbuild-and-upload.yml", "contents": "name: Doc Build and Upload\n\non:\n  push:\n    branches:\n      - main\n      - 2.2.x\n    tags:\n      - '*'\n  pull_request:\n    branches:\n      - main\n      - 2.2.x\n\nenv:\n  ENV_FILE: environment.yml\n  PANDAS_CI: 1\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\npermissions:\n  contents: read\n\njobs:\n  web_and_docs:\n    name: Doc Build and Upload\n    runs-on: ubuntu-22.04\n\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-web-docs\n      cancel-in-progress: true\n\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Conda\n      uses: ./.github/actions/setup-conda\n\n    - name: Build Pandas\n      uses: ./.github/actions/build_pandas\n\n    - name: Test website\n      run: python -m pytest web/\n\n    - name: Build website\n      run: python web/pandas_web.py web/pandas --target-path=web/build\n\n    - name: Build documentation\n      run: doc/make.py --warnings-are-errors\n\n    - name: Build documentation zip\n      run: doc/make.py zip_html\n\n    - name: Install ssh key\n      run: |\n        mkdir -m 700 -p ~/.ssh\n        echo \"${{ secrets.server_ssh_key }}\" > ~/.ssh/id_rsa\n        chmod 600 ~/.ssh/id_rsa\n        echo \"${{ secrets.server_ip }} ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFjYkJBk7sos+r7yATODogQc3jUdW1aascGpyOD4bohj8dWjzwLJv/OJ/fyOQ5lmj81WKDk67tGtqNJYGL9acII=\" > ~/.ssh/known_hosts\n      if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))\n\n    - name: Copy cheatsheets into site directory\n      run: cp doc/cheatsheet/Pandas_Cheat_Sheet* web/build/\n\n    - name: Upload web\n      run: rsync -az --delete --exclude='pandas-docs' --exclude='docs' --exclude='benchmarks' web/build/ web@${{ secrets.server_ip }}:/var/www/html\n      if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n\n    - name: Upload dev docs\n      run: rsync -az --delete doc/build/html/ web@${{ secrets.server_ip }}:/var/www/html/pandas-docs/dev\n      if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n\n    - name: Upload prod docs\n      run: rsync -az --delete doc/build/html/ web@${{ secrets.server_ip }}:/var/www/html/pandas-docs/version/${GITHUB_REF_NAME:1}\n      if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n\n    - name: Move docs into site directory\n      run: mv doc/build/html web/build/docs\n\n    - name: Save website as an artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: website\n        path: web/build\n        retention-days: 14\n", "state": "active", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:23.466303", "created_at": "2022-07-30T02:46:02+02:00", "updated_at": "2022-07-30T02:46:02+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: CodeQL\non:\n  schedule:\n    # every day at midnight\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    runs-on: ubuntu-22.04\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    if: github.repository_owner == 'pandas-dev'\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n          - python\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n      - uses: github/codeql-action/autobuild@v3\n      - uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:24.543379", "created_at": "2022-08-27T21:28:20+02:00", "updated_at": "2023-05-07T03:18:50+02:00", "name": "Wheel builder", "path": ".github/workflows/wheels.yml", "contents": "# Workflow to build wheels for upload to PyPI.\r\n# Inspired by numpy's cibuildwheel config https://github.com/numpy/numpy/blob/main/.github/workflows/wheels.yml\r\n#\r\n# In an attempt to save CI resources, wheel builds do\r\n# not run on each push but only weekly and for releases.\r\n# Wheel builds can be triggered from the Actions page\r\n# (if you have the permissions) on a commit to main.\r\n#\r\n# Alternatively, you can add labels to the pull request in order to trigger wheel\r\n# builds.\r\n# The label(s) that trigger builds are:\r\n# - Build\r\nname: Wheel builder\r\n\r\non:\r\n  schedule:\r\n  # 3:27 UTC every day\r\n  - cron: \"27 3 * * *\"\r\n  push:\r\n  pull_request:\r\n    types: [labeled, opened, synchronize, reopened]\r\n    paths-ignore:\r\n      - \"doc/**\"\r\n      - \"web/**\"\r\n  workflow_dispatch:\r\n\r\nconcurrency:\r\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\r\n  cancel-in-progress: true\r\n\r\npermissions:\r\n  contents: read\r\n\r\njobs:\r\n  build_sdist:\r\n    name: Build sdist\r\n    if: >-\r\n      (github.event_name == 'schedule') ||\r\n      github.event_name == 'workflow_dispatch' ||\r\n      (github.event_name == 'pull_request' &&\r\n      contains(github.event.pull_request.labels.*.name, 'Build')) ||\r\n      (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && ( ! endsWith(github.ref, 'dev0')))\r\n    runs-on: ubuntu-22.04\r\n    env:\r\n      IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}\r\n      IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}\r\n    outputs:\r\n      sdist_file: ${{ steps.save-path.outputs.sdist_name }}\r\n    steps:\r\n      - name: Checkout pandas\r\n        uses: actions/checkout@v4\r\n        with:\r\n          fetch-depth: 0\r\n\r\n      - name: Set up Python\r\n        uses: actions/setup-python@v5\r\n        with:\r\n          python-version: '3.11'\r\n\r\n      - name: Build sdist\r\n        run: |\r\n          python -m pip install build\r\n          python -m build --sdist\r\n\r\n      - uses: actions/upload-artifact@v4\r\n        with:\r\n          name: sdist\r\n          path: ./dist/*\r\n\r\n      - name: Sanity check sdist files\r\n        run: |\r\n          ls ./dist\r\n\r\n      - name: Output sdist name\r\n        id: save-path\r\n        shell: bash -el {0}\r\n        run: echo \"sdist_name=$(ls ./dist)\" >> \"$GITHUB_OUTPUT\"\r\n\r\n  build_wheels:\r\n    needs: build_sdist\r\n    name: Build wheel for ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}\r\n    if: >-\r\n      (github.event_name == 'schedule') ||\r\n      github.event_name == 'workflow_dispatch' ||\r\n      (github.event_name == 'pull_request' &&\r\n      contains(github.event.pull_request.labels.*.name, 'Build')) ||\r\n      (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && ( ! endsWith(github.ref, 'dev0')))\r\n    runs-on: ${{ matrix.buildplat[0] }}\r\n    strategy:\r\n      fail-fast: false\r\n      matrix:\r\n        # GitHub Actions doesn't support pairing matrix values together, let's improvise\r\n        # https://github.com/github/feedback/discussions/7835#discussioncomment-1769026\r\n        buildplat:\r\n        - [ubuntu-22.04, manylinux_x86_64]\r\n        - [ubuntu-22.04, musllinux_x86_64]\r\n        - [macos-12, macosx_x86_64]\r\n        # Note: M1 images on Github Actions start from macOS 14\r\n        - [macos-14, macosx_arm64]\r\n        - [windows-2022, win_amd64]\r\n        # TODO: support PyPy?\r\n        python: [[\"cp310\", \"3.10\"], [\"cp311\", \"3.11\"], [\"cp312\", \"3.12\"]]\r\n    env:\r\n      IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}\r\n      IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}\r\n    steps:\r\n      - name: Checkout pandas\r\n        uses: actions/checkout@v4\r\n        with:\r\n          fetch-depth: 0\r\n\r\n      # TODO: Build wheels from sdist again\r\n      # There's some sort of weird race condition?\r\n      # within Github that makes the sdist be missing files\r\n\r\n      # We need to build wheels from the sdist since the sdist\r\n      # removes unnecessary files from the release\r\n      - name: Download sdist (not macOS)\r\n        #if: ${{ matrix.buildplat[1] != 'macosx_*' }}\r\n        uses: actions/download-artifact@v4\r\n        with:\r\n          name: sdist\r\n          path: ./dist\r\n\r\n      - name: Output sdist name (macOS)\r\n        id: save-path\r\n        shell: bash -el {0}\r\n        run: echo \"sdist_name=$(ls ./dist)\" >> \"$GITHUB_ENV\"\r\n\r\n      # Python version used to build sdist doesn't matter\r\n      # wheel will be built from sdist with the correct version\r\n      - name: Unzip sdist (macOS)\r\n        if: ${{ startsWith(matrix.buildplat[1], 'macosx') }}\r\n        run: |\r\n          tar -xzf ./dist/${{ env.sdist_name }} -C ./dist\r\n\r\n      - name: Output sdist name (macOS)\r\n        id: save-path2\r\n        shell: bash -el {0}\r\n        run: echo \"sdist_name=$(cd ./dist && ls -d */)\" >> \"$GITHUB_ENV\"\r\n\r\n      - name: Build wheels\r\n        uses: pypa/cibuildwheel@v2.19.1\r\n        with:\r\n         package-dir: ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }}\r\n        env:\r\n          CIBW_PRERELEASE_PYTHONS: True\r\n          CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}\r\n\r\n      - name: Set up Python\r\n        uses: mamba-org/setup-micromamba@v1\r\n        with:\r\n          environment-name: wheel-env\r\n          # Use a fixed Python, since we might have an unreleased Python not\r\n          # yet present on conda-forge\r\n          create-args: >-\r\n            python=3.11\r\n            anaconda-client\r\n            wheel\r\n          cache-downloads: true\r\n          cache-environment: true\r\n\r\n      - name: Validate wheel RECORD\r\n        shell: bash -el {0}\r\n        run: for whl in $(ls wheelhouse); do wheel unpack wheelhouse/$whl -d /tmp; done\r\n\r\n      # Testing on windowsservercore instead of GHA runner to fail on missing DLLs\r\n      - name: Test Windows Wheels\r\n        if: ${{ matrix.buildplat[1] == 'win_amd64' }}\r\n        shell: pwsh\r\n        run: |\r\n          $TST_CMD = @\"\r\n          python -m pip install hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0;\r\n          python -m pip install `$(Get-Item pandas\\wheelhouse\\*.whl);\r\n          python -c `'import pandas as pd; pd.test(extra_args=[`\\\"--no-strict-data-files`\\\", `\\\"-m not clipboard and not single_cpu and not slow and not network and not db`\\\"])`';\r\n          \"@\r\n          # add rc to the end of the image name if the Python version is unreleased\r\n          docker pull python:${{ matrix.python[1] == '3.12' && '3.12-rc' || format('{0}-windowsservercore', matrix.python[1]) }}\r\n          docker run --env PANDAS_CI='1' -v ${PWD}:C:\\pandas python:${{ matrix.python[1] == '3.12' && '3.12-rc' || format('{0}-windowsservercore', matrix.python[1]) }} powershell -Command $TST_CMD\r\n\r\n      - uses: actions/upload-artifact@v4\r\n        with:\r\n          name: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}\r\n          path: ./wheelhouse/*.whl\r\n\r\n      - name: Upload wheels & sdist\r\n        if: ${{ success() && (env.IS_SCHEDULE_DISPATCH == 'true' || env.IS_PUSH == 'true') }}\r\n        shell: bash -el {0}\r\n        env:\r\n          PANDAS_STAGING_UPLOAD_TOKEN: ${{ secrets.PANDAS_STAGING_UPLOAD_TOKEN }}\r\n          PANDAS_NIGHTLY_UPLOAD_TOKEN: ${{ secrets.PANDAS_NIGHTLY_UPLOAD_TOKEN }}\r\n        # trigger an upload to\r\n        # https://anaconda.org/scientific-python-nightly-wheels/pandas\r\n        # for cron jobs or \"Run workflow\" (restricted to main branch).\r\n        # Tags will upload to\r\n        # https://anaconda.org/multibuild-wheels-staging/pandas\r\n        # The tokens were originally generated at anaconda.org\r\n        run: |\r\n          source ci/upload_wheels.sh\r\n          set_upload_vars\r\n          upload_wheels\r\n", "state": "active", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:25.581236", "created_at": "2022-10-22T00:51:19+02:00", "updated_at": "2023-05-02T01:28:14+02:00", "name": "Package Checks", "path": ".github/workflows/package-checks.yml", "contents": "name: Package Checks\n\non:\n  push:\n    branches:\n      - main\n      - 2.2.x\n  pull_request:\n    branches:\n      - main\n      - 2.2.x\n    types: [ labeled, opened, synchronize, reopened ]\n\npermissions:\n  contents: read\n\ndefaults:\n  run:\n    shell: bash -el {0}\n\njobs:\n  pip:\n    if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}}\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        extra: [\"test\", \"pyarrow\", \"performance\", \"computation\", \"fss\", \"aws\", \"gcp\", \"excel\", \"parquet\", \"feather\", \"hdf5\", \"spss\", \"postgresql\", \"mysql\", \"sql-other\", \"html\", \"xml\", \"plot\", \"output-formatting\", \"clipboard\", \"compression\", \"all\"]\n      fail-fast: false\n    name: Install Extras - ${{ matrix.extra }}\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-pip-extras-${{ matrix.extra }}\n      cancel-in-progress: true\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python\n        id: setup_python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Pip install with extra\n        run: |\n          python -m pip install .[${{ matrix.extra }}] -v\n        shell: bash -el {0}\n  conda_forge_recipe:\n    if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}}\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11']\n      fail-fast: false\n    name: Test Conda Forge Recipe - Python ${{ matrix.python-version }}\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-conda-forge-recipe-${{ matrix.python-version }}\n      cancel-in-progress: true\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: recipe-test\n          create-args: >-\n            python=${{ matrix.python-version }}\n            boa\n            conda-verify\n          cache-downloads: true\n          cache-environment: true\n\n      - name: Build conda package\n        run: conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder .\n", "state": "active", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:26.624711", "created_at": "2023-03-03T20:07:55+01:00", "updated_at": "2023-03-03T20:07:55+01:00", "name": "Deprecations Bot", "path": ".github/workflows/deprecation-tracking-bot.yml", "contents": "# This bot updates the issue with number DEPRECATION_TRACKER_ISSUE\n# with the PR number that issued the deprecation.\n\n# It runs on commits to main, and will trigger if the PR linked to a merged commit has the \"Deprecate\" label\nname: Deprecations Bot\n\non:\n  push:\n    branches:\n      - main\n\n\npermissions:\n  contents: read\n\njobs:\n  deprecation_update:\n    permissions:\n      issues: write\n    runs-on: ubuntu-22.04\n    env:\n      DEPRECATION_TRACKER_ISSUE: 56596\n    steps:\n    - uses: actions/github-script@v7\n      id: update-deprecation-issue\n      with:\n        script: |\n          body = await github.rest.issues.get({\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            issue_number: ${{ env.DEPRECATION_TRACKER_ISSUE }},\n          })\n          body = body[\"data\"][\"body\"];\n          linkedPRs = await github.rest.repos.listPullRequestsAssociatedWithCommit({\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            commit_sha: '${{ github.sha }}'\n          })\n          linkedPRs = linkedPRs[\"data\"];\n          console.log(linkedPRs);\n          if (linkedPRs.length > 0) {\n            console.log(\"Found linked PR\");\n            linkedPR = linkedPRs[0]\n            isDeprecation = false\n            for (label of linkedPR[\"labels\"]) {\n              if (label[\"name\"] == \"Deprecate\") {\n                isDeprecation = true;\n                break;\n              }\n            }\n\n            PR_NUMBER = linkedPR[\"number\"];\n\n            body += (\"\\n- [ ] #\" + PR_NUMBER);\n            if (isDeprecation) {\n              console.log(\"PR is a deprecation PR. Printing new body of issue\");\n              console.log(body);\n              github.rest.issues.update({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                issue_number: ${{ env.DEPRECATION_TRACKER_ISSUE }},\n                body: body\n              })\n            }\n          }\n", "state": "active", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:27.662198", "created_at": "2023-04-11T23:43:14+02:00", "updated_at": "2023-04-21T21:07:01+02:00", "name": "Comment Commands", "path": ".github/workflows/comment-commands.yml", "contents": "name: Comment Commands\non:\n  issue_comment:\n    types: created\n\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n\njobs:\n  issue_assign:\n    runs-on: ubuntu-22.04\n    if: (!github.event.issue.pull_request) && github.event.comment.body == 'take'\n    concurrency:\n      group: ${{ github.actor }}-issue-assign\n    steps:\n      - run: |\n          echo \"Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}\"\n          curl -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" -d '{\"assignees\": [\"${{ github.event.comment.user.login }}\"]}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/assignees\n  preview_docs:\n    runs-on: ubuntu-22.04\n    if: github.event.issue.pull_request && github.event.comment.body == '/preview'\n    concurrency:\n      group: ${{ github.actor }}-preview-docs\n    steps:\n      - uses: pandas-dev/github-doc-previewer@v0.3.2\n        with:\n          previewer-server: \"https://pandas.pydata.org/preview\"\n          artifact-job: \"Doc Build and Upload\"\n  asv_run:\n    runs-on: ubuntu-22.04\n    # TODO: Support more benchmarking options later, against different branches, against self, etc\n    if: github.event.issue.pull_request && startsWith(github.event.comment.body, '@github-actions benchmark')\n    defaults:\n      run:\n        shell: bash -el {0}\n    env:\n      ENV_FILE: environment.yml\n      COMMENT: ${{github.event.comment.body}}\n\n    concurrency:\n      # Set concurrency to prevent abuse(full runs are ~5.5 hours !!!)\n      # each user can only run one concurrent benchmark bot at a time\n      # We don't cancel in progress jobs, but if you want to benchmark multiple PRs, you're gonna have\n      # to wait\n      group: ${{ github.actor }}-asv\n      cancel-in-progress: false\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n        # Although asv sets up its own env, deps are still needed\n        # during discovery process\n      - name: Set up Conda\n        uses: ./.github/actions/setup-conda\n\n      - name: Run benchmarks\n        id: bench\n        continue-on-error: true # asv will exit code 1 for regressions\n        run: |\n          # extracting the regex, see https://stackoverflow.com/a/36798723\n          REGEX=$(echo \"$COMMENT\" | sed -n \"s/^.*-b\\s*\\(\\S*\\).*$/\\1/p\")\n          cd asv_bench\n          asv check -E existing\n          git remote add upstream https://github.com/pandas-dev/pandas.git\n          git fetch upstream\n          asv machine --yes\n          asv continuous -f 1.1 -b $REGEX upstream/main HEAD\n          echo 'BENCH_OUTPUT<<EOF' >> $GITHUB_ENV\n          asv compare -f 1.1 upstream/main HEAD >> $GITHUB_ENV\n          echo 'EOF' >> $GITHUB_ENV\n          echo \"REGEX=$REGEX\" >> $GITHUB_ENV\n\n      - uses: actions/github-script@v7\n        env:\n          BENCH_OUTPUT: ${{env.BENCH_OUTPUT}}\n          REGEX: ${{env.REGEX}}\n        with:\n          script: |\n            const ENV_VARS = process.env\n            const run_url = `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: '\\nBenchmarks completed. View runner logs here.' + run_url + '\\nRegex used: '+ 'regex ' + ENV_VARS[\"REGEX\"] + '\\n' + ENV_VARS[\"BENCH_OUTPUT\"]\n            })\n", "state": "active", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:28.674351", "created_at": "2023-04-17T06:14:21+02:00", "updated_at": "2023-12-15T23:35:32+01:00", "name": "Unit Tests", "path": ".github/workflows/unit-tests.yml", "contents": "name: Unit Tests\n\non:\n  push:\n    branches:\n      - main\n      - 2.2.x\n  pull_request:\n    branches:\n      - main\n      - 2.2.x\n    paths-ignore:\n      - \"doc/**\"\n      - \"web/**\"\n\npermissions:\n  contents: read\n\ndefaults:\n  run:\n    shell: bash -el {0}\n\njobs:\n  ubuntu:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 90\n    strategy:\n      matrix:\n        env_file: [actions-310.yaml, actions-311.yaml, actions-312.yaml]\n        # Prevent the include jobs from overriding other jobs\n        pattern: [\"\"]\n        include:\n          - name: \"Downstream Compat\"\n            env_file: actions-311-downstream_compat.yaml\n            pattern: \"not slow and not network and not single_cpu\"\n            pytest_target: \"pandas/tests/test_downstream.py\"\n          - name: \"Minimum Versions\"\n            env_file: actions-310-minimum_versions.yaml\n            pattern: \"not slow and not network and not single_cpu\"\n          - name: \"Locale: it_IT\"\n            env_file: actions-311.yaml\n            pattern: \"not slow and not network and not single_cpu\"\n            extra_apt: \"language-pack-it\"\n            # Use the utf8 version as the default, it has no bad side-effect.\n            lang: \"it_IT.utf8\"\n            lc_all: \"it_IT.utf8\"\n            # Also install it_IT (its encoding is ISO8859-1) but do not activate it.\n            # It will be temporarily activated during tests with locale.setlocale\n            extra_loc: \"it_IT\"\n          - name: \"Locale: zh_CN\"\n            env_file: actions-311.yaml\n            pattern: \"not slow and not network and not single_cpu\"\n            extra_apt: \"language-pack-zh-hans\"\n            # Use the utf8 version as the default, it has no bad side-effect.\n            lang: \"zh_CN.utf8\"\n            lc_all: \"zh_CN.utf8\"\n            # Also install zh_CN (its encoding is gb2312) but do not activate it.\n            # It will be temporarily activated during tests with locale.setlocale\n            extra_loc: \"zh_CN\"\n          - name: \"Pypy\"\n            env_file: actions-pypy-39.yaml\n            pattern: \"not slow and not network and not single_cpu\"\n            test_args: \"--max-worker-restart 0\"\n          - name: \"Numpy Dev\"\n            env_file: actions-311-numpydev.yaml\n            pattern: \"not slow and not network and not single_cpu\"\n            test_args: \"-W error::DeprecationWarning -W error::FutureWarning\"\n          - name: \"Pyarrow Nightly\"\n            env_file: actions-311-pyarrownightly.yaml\n            pattern: \"not slow and not network and not single_cpu\"\n      fail-fast: false\n    name: ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }}\n    env:\n      PATTERN: ${{ matrix.pattern }}\n      LANG: ${{ matrix.lang || 'C.UTF-8' }}\n      LC_ALL: ${{ matrix.lc_all || '' }}\n      PANDAS_CI: ${{ matrix.pandas_ci || '1' }}\n      TEST_ARGS: ${{ matrix.test_args || '' }}\n      PYTEST_WORKERS: ${{ matrix.pytest_workers || 'auto' }}\n      PYTEST_TARGET: ${{ matrix.pytest_target || 'pandas' }}\n      NPY_PROMOTION_STATE: ${{ matrix.env_file == 'actions-311-numpydev.yaml' && 'weak' || 'legacy' }}\n      # Clipboard tests\n      QT_QPA_PLATFORM: offscreen\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.pattern }}-${{ matrix.extra_apt || '' }}}\n      cancel-in-progress: true\n\n    services:\n      mysql:\n        image: mysql:8.0.33\n        env:\n          MYSQL_ALLOW_EMPTY_PASSWORD: yes\n          MYSQL_DATABASE: pandas\n        options: >-\n          --health-cmd \"mysqladmin ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 3306:3306\n\n      postgres:\n        image: postgres:13\n        env:\n          PGUSER: postgres\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: pandas\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n\n      moto:\n        image: motoserver/moto:4.1.13\n        env:\n          AWS_ACCESS_KEY_ID: foobar_key\n          AWS_SECRET_ACCESS_KEY: foobar_secret\n        ports:\n          - 5000:5000\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Extra installs\n      run: sudo apt-get update && sudo apt-get install -y ${{ matrix.extra_apt }}\n      if: ${{ matrix.extra_apt }}\n\n    - name: Generate extra locales\n      # These extra locales will be available for locale.setlocale() calls in tests\n      run: sudo locale-gen ${{ matrix.extra_loc }}\n      if: ${{ matrix.extra_loc }}\n\n    - name: Set up Conda\n      uses: ./.github/actions/setup-conda\n      with:\n        environment-file: ci/deps/${{ matrix.env_file }}\n\n    - name: Build Pandas\n      id: build\n      uses: ./.github/actions/build_pandas\n      # TODO: Re-enable once Pypy has Pypy 3.10 on conda-forge\n      if: ${{ matrix.name != 'Pypy' }}\n      with:\n        meson_args: ${{ matrix.meson_args }}\n        cflags_adds: ${{ matrix.cflags_adds }}\n\n    - name: Test (not single_cpu)\n      uses: ./.github/actions/run-tests\n      if: ${{ matrix.name != 'Pypy' }}\n      env:\n        # Set pattern to not single_cpu if not already set\n        PATTERN: ${{ env.PATTERN == '' && 'not single_cpu' || matrix.pattern }}\n\n    - name: Test (single_cpu)\n      uses: ./.github/actions/run-tests\n      env:\n        PATTERN: 'single_cpu'\n        PYTEST_WORKERS: 0\n      if: ${{ matrix.pattern == '' && (always() && steps.build.outcome == 'success')}}\n\n  macos-windows:\n    timeout-minutes: 90\n    strategy:\n      matrix:\n        # Note: Don't use macOS latest since macos 14 appears to be arm64 only\n        os: [macos-13, macos-14, windows-latest]\n        env_file: [actions-310.yaml, actions-311.yaml, actions-312.yaml]\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n    name: ${{ format('{0} {1}', matrix.os, matrix.env_file) }}\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.os }}\n      cancel-in-progress: true\n    env:\n      PANDAS_CI: 1\n      PYTEST_TARGET: pandas\n      PATTERN: \"not slow and not db and not network and not single_cpu\"\n      PYTEST_WORKERS: 'auto'\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Conda\n        uses: ./.github/actions/setup-conda\n        with:\n          environment-file: ci/deps/${{ matrix.env_file }}\n\n      - name: Build Pandas\n        uses: ./.github/actions/build_pandas\n\n      - name: Test\n        uses: ./.github/actions/run-tests\n\n  Linux-32-bit:\n    runs-on: ubuntu-22.04\n    container:\n      image: quay.io/pypa/manylinux2014_i686\n      options: --platform linux/386\n    steps:\n      - name: Checkout pandas Repo\n        # actions/checkout does not work since it requires node\n        run: |\n          git config --global --add safe.directory $PWD\n\n          if [ $GITHUB_EVENT_NAME != pull_request ]; then\n              git clone --recursive --branch=$GITHUB_REF_NAME https://github.com/${GITHUB_REPOSITORY}.git $GITHUB_WORKSPACE\n              git reset --hard $GITHUB_SHA\n          else\n              git clone --recursive https://github.com/${GITHUB_REPOSITORY}.git $GITHUB_WORKSPACE\n              git fetch origin $GITHUB_REF:my_ref_name\n              git checkout $GITHUB_BASE_REF\n              git -c user.email=\"you@example.com\" merge --no-commit my_ref_name\n          fi\n      - name: Build environment and Run Tests\n        # https://github.com/numpy/numpy/issues/24703#issuecomment-1722379388\n        run: |\n          /opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev\n          . ~/virtualenvs/pandas-dev/bin/activate\n          python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.2.1 meson-python==0.13.1\n          python -m pip install numpy --config-settings=setup-args=\"-Dallow-noblas=true\"\n          python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1\n          python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args=\"--werror\"\n          python -m pip list --no-cache-dir\n          export PANDAS_CI=1\n          python -m pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-32bit\n      cancel-in-progress: true\n\n  Linux-Musl:\n    runs-on: ubuntu-22.04\n    container:\n      image: quay.io/pypa/musllinux_1_1_x86_64\n    steps:\n      - name: Checkout pandas Repo\n        # actions/checkout does not work since it requires node\n        run: |\n          git config --global --add safe.directory $PWD\n\n          if [ $GITHUB_EVENT_NAME != pull_request ]; then\n              git clone --recursive --branch=$GITHUB_REF_NAME https://github.com/${GITHUB_REPOSITORY}.git $GITHUB_WORKSPACE\n              git reset --hard $GITHUB_SHA\n          else\n              git clone --recursive https://github.com/${GITHUB_REPOSITORY}.git $GITHUB_WORKSPACE\n              git fetch origin $GITHUB_REF:my_ref_name\n              git checkout $GITHUB_BASE_REF\n              git -c user.email=\"you@example.com\" merge --no-commit my_ref_name\n          fi\n      - name: Configure System Packages\n        run: |\n          apk update\n          apk add musl-locales\n      - name: Build environment\n        run: |\n          /opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev\n          . ~/virtualenvs/pandas-dev/bin/activate\n          python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1\n          python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1\n          python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args=\"--werror\"\n          python -m pip list --no-cache-dir\n\n      - name: Run Tests\n        run: |\n          . ~/virtualenvs/pandas-dev/bin/activate\n          export PANDAS_CI=1\n          python -m pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-musl\n      cancel-in-progress: true\n\n  python-dev:\n    # This job may or may not run depending on the state of the next\n    # unreleased Python version. DO NOT DELETE IT.\n    #\n    # In general, this will remain frozen(present, but not running) until:\n    #    - The next unreleased Python version has released beta 1\n    #      - This version should be available on GitHub Actions.\n    #    - Our required build/runtime dependencies(numpy, pytz, Cython, python-dateutil)\n    #      support that unreleased Python version.\n    #    To unfreeze, comment out the ``if: false`` condition, and make sure you update\n    #    the name of the workflow and Python version in actions/setup-python ``python-version:``\n    #\n    # After it has been unfrozen, this file should remain unfrozen(present, and running) until:\n    #    - The next Python version has been officially released.\n    #    OR\n    #    - Most/All of our optional dependencies support the next Python version AND\n    #    - The next Python version has released a rc(we are guaranteed a stable ABI).\n    #    To freeze this file, uncomment out the ``if: false`` condition, and migrate the jobs\n    #    to the corresponding posix/windows-macos/sdist etc. workflows.\n    # Feel free to modify this comment as necessary.\n    if: false # Uncomment this to freeze the workflow, comment it to unfreeze\n    defaults:\n      run:\n        shell: bash -eou pipefail {0}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        # Separate out macOS 13 and 14, since macOS 14 is arm64 only\n        os: [ubuntu-22.04, macOS-13, macOS-14, windows-latest]\n\n    timeout-minutes: 90\n\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.os }}-${{ matrix.pytest_target }}-dev\n      cancel-in-progress: true\n\n    env:\n      PYTEST_WORKERS: \"auto\"\n      PANDAS_CI: 1\n      PATTERN: \"not slow and not network and not clipboard and not single_cpu\"\n      PYTEST_TARGET: pandas\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python Dev Version\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12-dev'\n\n      - name: Build Environment\n        run: |\n          python --version\n          python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1\n          python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy\n          python -m pip install versioneer[toml]\n          python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov\n          python -m pip install -ve . --no-build-isolation --no-index --no-deps --config-settings=setup-args=\"--werror\"\n          python -m pip list\n\n      - name: Run Tests\n        uses: ./.github/actions/run-tests\n\n  emscripten:\n    # Note: the Python version, Emscripten toolchain version are determined\n    # by the Pyodide version. The appropriate versions can be found in the\n    # Pyodide repodata.json \"info\" field, or in the Makefile.envs file:\n    # https://github.com/pyodide/pyodide/blob/stable/Makefile.envs#L2\n    # The Node.js version can be determined via Pyodide:\n    # https://pyodide.org/en/stable/usage/index.html#node-js\n    name: Pyodide build\n    runs-on: ubuntu-22.04\n    concurrency:\n      # https://github.community/t/concurrecy-not-work-for-push/183068/7\n      group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-wasm\n      cancel-in-progress: true\n    steps:\n      - name: Checkout pandas Repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python for Pyodide\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11.3'\n\n      - name: Set up Emscripten toolchain\n        uses: mymindstorm/setup-emsdk@v14\n        with:\n          version: '3.1.46'\n          actions-cache-folder: emsdk-cache\n\n      - name: Install pyodide-build\n        run: pip install \"pyodide-build==0.25.1\"\n\n      - name: Build pandas for Pyodide\n        run: |\n          pyodide build\n\n      - name: Set up Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: '18'\n\n      - name: Set up Pyodide virtual environment\n        run: |\n          pyodide venv .venv-pyodide\n          source .venv-pyodide/bin/activate\n          pip install dist/*.whl\n\n      - name: Test pandas for Pyodide\n        env:\n          PANDAS_CI: 1\n        run: |\n          source .venv-pyodide/bin/activate\n          pip install pytest hypothesis\n          # do not import pandas from the checked out repo\n          cd ..\n          python -c 'import pandas as pd; pd.test(extra_args=[\"-m not clipboard and not single_cpu and not slow and not network and not db\"])'\n", "state": "active", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:29.810932", "created_at": "2023-05-15T22:27:22+02:00", "updated_at": "2023-05-15T22:27:22+02:00", "name": "Clean closed branch caches", "path": ".github/workflows/cache-cleanup.yml", "contents": "name: Clean closed branch caches\non:\n  pull_request:\n    types:\n      - closed\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clean Cache\n        run: |\n          gh extension install actions/gh-actions-cache\n\n          REPO=${{ github.repository }}\n          BRANCH=\"refs/pull/${{ github.event.pull_request.number }}/merge\"\n\n          echo \"Fetching list of cache key\"\n          cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )\n\n          ## Setting this to not fail the workflow while deleting cache keys.\n          set +e\n          echo \"Deleting caches...\"\n          for cacheKey in $cacheKeysForPR\n          do\n              gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm\n          done\n          echo \"Done\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:30.832652", "created_at": "2023-09-25T12:30:32+02:00", "updated_at": "2023-11-07T22:45:34+01:00", "name": "Linkcheck", "path": ".github/workflows/broken-linkcheck.yml", "contents": "name: Linkcheck\non:\n  schedule:\n  # Run monthly on the 1st day of the month\n    - cron: '0 0 1 * *'\n  pull_request:\n    paths:\n      - \".github/workflows/broken-linkcheck.yml\"\n      - \"doc/make.py\"\njobs:\n  linkcheck:\n    if: false\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Conda\n        uses: ./.github/actions/setup-conda\n\n      - name: Build Pandas\n        uses: ./.github/actions/build_pandas\n\n      - name: Run linkcheck script\n        working-directory: ./doc\n        run: |\n          set -o pipefail\n          python make.py linkcheck | tee linkcheck.txt\n\n      - name: Display broken links\n        if: failure()\n        working-directory: ./doc\n        run: grep broken linkcheck.txt\n", "state": "active", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:31.860053", "created_at": "2024-05-16T19:18:03+02:00", "updated_at": "2024-05-16T19:18:03+02:00", "name": "Purge caches daily", "path": ".github/workflows/cache-cleanup-daily.yml", "contents": "name: Purge caches daily\non:\n  schedule:\n    # 4:10 UTC daily\n    - cron: \"10 4 * * *\"\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    if: github.repository_owner == 'pandas-dev'\n    permissions:\n      actions: write\n    steps:\n      - name: Clean Cache\n        run: |\n          gh extension install actions/gh-actions-cache\n\n          REPO=${{ github.repository }}\n\n          echo \"Fetching list of cache key\"\n          allCaches=$(gh actions-cache list -L 100 -R $REPO | cut -f 1 )\n\n          ## Setting this to not fail the workflow while deleting cache keys.\n          set +e\n          echo \"Deleting caches...\"\n          for cacheKey in $allCaches\n          do\n              gh actions-cache delete $cacheKey -R $REPO --confirm\n          done\n          echo \"Done\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:32.865918", "created_at": "2021-05-26T23:51:41+02:00", "updated_at": "2023-05-11T04:45:05+02:00", "name": "sdist", "path": ".github/workflows/sdist.yml", "contents": null, "state": "disabled_manually", "repository": "pandas-dev/pandas"}
{"mined_at": "2024-07-15T15:50:36.530673", "created_at": "2022-11-16T16:17:06+01:00", "updated_at": "2022-12-02T23:31:42+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\", \"0.11_branch\", \"1.0_branch\", \"1.1_branch\", \"1.2_branch\", \"gh-pages\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: \"33 9 * * 0\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ javascript, python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          config-file: ./.github/codeql.yml\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n        if: ${{ matrix.language == 'javascript' || matrix.language == 'python' }}\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "facebookresearch/hydra"}
{"mined_at": "2024-07-15T15:50:37.580386", "created_at": "2020-09-16T23:25:56+02:00", "updated_at": "2022-12-17T22:44:08+01:00", "name": "Deploy website", "path": ".github/workflows/deploy_website.yml", "contents": "name: Deploy website\n\non:\n   push:\n    branches:\n      - main\n      - deploy_website_hydra\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Deploy website\n      env:\n        WEBSITE_GITHUB_TOKEN: ${{ secrets.WEBSITE_GITHUB_TOKEN }}\n      run: |\n        SUBDIR=website\n        git fetch\n        REV=$(git log -5 --pretty=oneline origin/gh-pages | grep \"Deploy website\" |  awk 'NF>1{print $NF}'  | head -1)\n        # This condition passes in 2 conditions:\n        # 1. The revision does not exist (squash/force push happened)\n        # 2. There are changes between last deployed revision and HEAD\n        if [[ ! $(git rev-parse --verify -q \"$REV^{commit}\") ||  $(git diff-index $REV -- $SUBDIR) ]]; then\n          echo \"Changes detected in directory $SUBDIR between origin/main and this diff\"\n          cd $SUBDIR\n          yarn --no-progress\n          git config --global user.email omry@users.noreply.github.com\n          git config --global user.name omry\n          echo \"machine github.com login docusaurus-bot password $WEBSITE_GITHUB_TOKEN\" > ~/.netrc\n          yarn install && GIT_USER=docusaurus-bot yarn deploy\n        else\n          echo \"No changes detected in directory $SUBDIR between origin/main and this diff\"\n        fi\n", "state": "active", "repository": "facebookresearch/hydra"}
{"mined_at": "2024-07-15T15:50:38.627504", "created_at": "2022-01-07T02:27:44+01:00", "updated_at": "2022-01-07T02:27:44+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "facebookresearch/hydra"}
{"mined_at": "2024-07-15T15:50:40.727166", "created_at": "2020-04-19T16:31:58+02:00", "updated_at": "2020-04-19T16:31:58+02:00", "name": "Close stale issues", "path": ".github/workflows/stale.yml", "contents": "name: \"Close stale issues\"\non:\n  schedule:\n  - cron: \"0 */4 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove the `status: stale` label or comment, or this will be closed in 30 days.'\n        stale-issue-label: 'status: stale'\n        exempt-issue-labels: 'kind: task,kind: bug,kind: enhancement'\n        stale-pr-message: 'This PR is stale because it has been open 90 days with no activity. Remove the `status: stale` label or comment, or this will be closed in 30 days.'\n        stale-pr-label: 'status: stale'\n        days-before-stale: 90\n        days-before-close: 30\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove `status: stale` label or comment, or this will be closed in 30 days.'\n        stale-issue-label: 'status: stale'\n        stale-pr-message: 'This PR is stale because it has been open 90 days with no activity. Remove `status: stale` label or comment, or this will be closed in 30 days.'\n        stale-pr-label: 'status: stale'\n        only-labels: 'status: unconfirmed'\n        days-before-stale: 90\n        days-before-close: 30\n", "state": "active", "repository": "qtile/qtile"}
{"mined_at": "2024-07-15T15:50:41.809180", "created_at": "2020-11-18T23:50:40+01:00", "updated_at": "2021-11-03T20:27:52+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n    push:\n    pull_request:\n\njobs:\n    build:\n        runs-on: ubuntu-22.04\n        name: \"python ${{ matrix.python-version }} on ${{ matrix.backend }}\"\n        strategy:\n            matrix:\n                # If you change one of these, be sure to update:\n                # - /tox.ini:[gh-actions]\n                # - /setup.cfg:[mypy]\n                # If adding new python versions, consider also updating\n                # python version in .readthedocs.yaml\n                # TODO: Add back pypy here and in release.yml once:\n                # https://github.com/pypy/pypy/issues/4956 is resolved\n                python-version: ['3.10', '3.11', '3.12']\n                backend: ['x11', 'wayland']\n        steps:\n            - uses: actions/checkout@v4\n            - name: Set up python ${{ matrix.python-version }}\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies\n              run: |\n                sudo apt update\n                # Any Wayland-specific Ubuntu system dependencies should be installed from ./scripts/ubuntu_wayland_setup\n                sudo apt install --no-install-recommends \\\n                  libdbus-1-dev libgirepository1.0-dev gir1.2-gtk-3.0 gir1.2-notify-0.7 gir1.2-gudev-1.0 graphviz \\\n                  imagemagick git xserver-xephyr xterm xvfb dbus-x11 libnotify-bin \\\n                  libxcb-composite0-dev libxcb-icccm4-dev libxcb-res0-dev libxcb-render0-dev libxcb-res0-dev \\\n                  libxcb-xfixes0-dev vlc volumeicon-alsa libxkbcommon-dev\n                sudo pip -q install meson PyGObject\n                pip -q install tox tox-gh-actions\n            - name: Install wayland\n              if: ${{ matrix.backend == 'wayland' }}\n              run: bash -x ./scripts/ubuntu_wayland_setup\n            - name: Run Tests\n              run: |\n                [ \"$(grep -c -P '\\t' CHANGELOG)\" = \"0\" ]\n                tox\n              env:\n                BACKEND: ${{ matrix.backend }}\n            - name: Upload coverage data to coveralls.io\n              continue-on-error: true\n              run: |\n                pip -q install coveralls >=3.3.0\n                coveralls --service=github\n              env:\n                GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n                COVERALLS_FLAG_NAME: ${{ format('{0}-{1}', matrix.python-version, matrix.backend) }}\n                COVERALLS_PARALLEL: true\n                COVERALLS_SERVICE_JOB_ID: ${{ github.run_id }}\n\n    coverage:\n        name: Finalize Coverage\n        needs: build\n        runs-on: ubuntu-20.04\n        steps:\n            - name: Coveralls Finished\n              uses: coverallsapp/github-action@main\n              with:\n                github-token: ${{ secrets.GITHUB_TOKEN }}\n                parallel-finished: true\n", "state": "active", "repository": "qtile/qtile"}
{"mined_at": "2024-07-15T15:50:42.895738", "created_at": "2021-06-11T15:21:56+02:00", "updated_at": "2021-06-11T15:21:56+02:00", "name": "Publish to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Publish to PyPI\non:\n  push:\n    branches-ignore: ['*']\n    tags: ['*']\n  release:\n    types: [published]\njobs:\n  build-wayland:\n    name: Build Wayland libraries\n    runs-on: ubuntu-latest\n    container: quay.io/pypa/manylinux_2_28_x86_64\n    env:\n      libdrm-version: \"2.4.114\"\n      seatd-version: \"0.6.3\"\n      pixman-version: \"0.42.0\"\n      xkbcommon-version: \"1.7.0\"\n      xwayland-version: \"22.1.9\"\n      xcvt-version: \"0.1.2\"\n      inputproto-version: \"2021.5\"\n      wayland-protocols-version: \"1.32\"\n      wayland-version: \"1.22.0\"\n      wlroots-version: \"0.17.3\"\n    steps:\n      - name: Install dependencies\n        run: |\n          yum -y install \\\n            hwdata \\\n            python3-pip \\\n            libepoxy-devel \\\n            libffi-devel \\\n            libinput-devel \\\n            libpciaccess-devel \\\n            libtirpc-devel \\\n            libudev-devel \\\n            libXdmcp-devel \\\n            libXfont2-devel \\\n            libxkbcommon-x11-devel \\\n            libxkbfile-devel \\\n            libxml2-devel \\\n            libxshmfence-devel \\\n            mesa-libEGL-devel \\\n            mesa-libgbm-devel \\\n            openssl-devel \\\n            xcb-util-devel \\\n            xcb-util-image-devel \\\n            xcb-util-keysyms-devel \\\n            xcb-util-renderutil-devel \\\n            xcb-util-wm-devel \\\n            xorg-x11-font-utils \\\n            xorg-x11-xtrans-devel \\\n            ninja-build \\\n            wget\n      - name: Set environment variables\n        run: |\n          echo \"CPATH=${HOME}/wayland/usr/include\" >> $GITHUB_ENV\n          echo \"LD_LIBRARY_PATH=${HOME}/wayland/usr/lib\" >> $GITHUB_ENV\n          echo \"LIBRARY_PATH=${HOME}/wayland/usr/lib\" >> $GITHUB_ENV\n          echo \"PKG_CONFIG_PATH=${HOME}/wayland/usr/share/pkgconfig:${HOME}/wayland/usr/lib/pkgconfig\" >> $GITHUB_ENV\n      - name: Download and unpack Wayland source\n        run: |\n          wget $WAYLAND_URL\n          wget $WAYLAND_PROTOCOLS_URL\n          wget $XKBCOMMON_URL\n          wget $XCVT_URL\n          wget $INPUTPROTO_URL\n          wget $XWAYLAND_URL\n          wget $LIBDRM_URL\n          wget -O seatd.tar.gz $SEATD_URL\n          wget $PIXMAN_URL\n          wget -O wlroots.tar.gz $WLROOTS_URL\n          tar -xJf wayland-${{ env.wayland-version }}.tar.xz\n          tar -xJf wayland-protocols-${{ env.wayland-protocols-version }}.tar.xz\n          tar -xzf xkbcommon-${{ env.xkbcommon-version }}.tar.gz\n          tar -xzf xorgproto-xorgproto-${{ env.inputproto-version }}.tar.gz\n          tar -xzf libxcvt-libxcvt-${{ env.xcvt-version }}.tar.gz\n          tar -xzf xserver-xwayland-${{ env.xwayland-version }}.tar.gz\n          tar -xzf drm-libdrm-${{ env.libdrm-version }}.tar.gz\n          tar -xjf pixman-pixman-${{ env.pixman-version }}.tar.bz2\n          tar -xzf seatd.tar.gz\n          tar -xzf wlroots.tar.gz\n        env:\n          WAYLAND_URL: https://gitlab.freedesktop.org/wayland/wayland/-/releases/${{ env.wayland-version }}/downloads/wayland-${{ env.wayland-version }}.tar.xz\n          WAYLAND_PROTOCOLS_URL: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/${{ env.wayland-protocols-version }}/downloads/wayland-protocols-${{ env.wayland-protocols-version }}.tar.xz\n          XKBCOMMON_URL: https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-${{ env.xkbcommon-version }}.tar.gz\n          XWAYLAND_URL: https://gitlab.freedesktop.org/xorg/xserver/-/archive/xwayland-${{ env.xwayland-version }}/xserver-xwayland-${{ env.xwayland-version }}.tar.gz\n          XCVT_URL: https://gitlab.freedesktop.org/xorg/lib/libxcvt/-/archive/libxcvt-${{ env.xcvt-version }}/libxcvt-libxcvt-${{ env.xcvt-version }}.tar.gz\n          INPUTPROTO_URL: https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/archive/xorgproto-${{ env.inputproto-version}}/xorgproto-xorgproto-${{ env.inputproto-version}}.tar.gz\n          LIBDRM_URL: https://gitlab.freedesktop.org/mesa/drm/-/archive/libdrm-${{ env.libdrm-version }}/drm-libdrm-${{ env.libdrm-version }}.tar.gz\n          SEATD_URL: https://git.sr.ht/~kennylevinsen/seatd/archive/${{ env.seatd-version }}.tar.gz\n          PIXMAN_URL: https://gitlab.freedesktop.org/pixman/pixman/-/archive/pixman-${{ env.pixman-version }}/pixman-pixman-${{ env.pixman-version }}.tar.bz2\n          WLROOTS_URL: https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/${{ env.wlroots-version }}/wlroots-${{ env.wlroots-version }}.tar.gz\n      - name: Install meson\n        run: |\n          pip3 install meson\n      - name: Build wayland\n        working-directory: wayland-${{ env.wayland-version }}\n        run: |\n          meson build --prefix=/usr -Ddocumentation=false\n          ninja -C build\n          DESTDIR=~/wayland ninja -C build install\n          ninja -C build install\n      - name: Build wayland-protocols\n        working-directory: wayland-protocols-${{ env.wayland-protocols-version }}\n        run: |\n          meson build --prefix=/usr\n          ninja -C build\n          DESTDIR=~/wayland ninja -C build install\n          ninja -C build install\n      - name: Build xkbcommon\n        working-directory: libxkbcommon-xkbcommon-${{ env.xkbcommon-version }}\n        run: |\n          meson build --prefix=/usr -Denable-x11=false -Dxkb-config-root=/usr/share/X11/xkb -Dx-locale-root=/usr/share/X11/locale\n          ninja -C build\n          DESTDIR=~/wayland ninja -C build install\n          ninja -C build install\n      - name: Build libdrm\n        working-directory: drm-libdrm-${{ env.libdrm-version }}\n        run: |\n          meson build --prefix=/usr\n          ninja -C build\n          DESTDIR=~/wayland ninja -C build install\n          ninja -C build install\n      - name: Build seatd\n        working-directory: seatd-${{ env.seatd-version }}\n        run: |\n          meson build --prefix=/usr\n          ninja -C build\n          DESTDIR=~/wayland ninja -C build install\n          ninja -C build install\n      - name: Build pixman\n        working-directory: pixman-pixman-${{ env.pixman-version }}\n        run: |\n          meson build --prefix=/usr\n          ninja -C build\n          DESTDIR=~/wayland ninja -C build install\n          ninja -C build install\n      - name: Build inputproto\n        working-directory: xorgproto-xorgproto-${{ env.inputproto-version }}\n        run: |\n          meson build --prefix=/usr\n          ninja -C build\n          DESTDIR=~/wayland ninja -C build install\n          ninja -C build install\n      - name: Build libxcvt\n        working-directory: libxcvt-libxcvt-${{ env.xcvt-version }}\n        run: |\n          meson build --prefix=/usr\n          ninja -C build\n          DESTDIR=~/wayland ninja -C build install\n          ninja -C build install\n      - name: Build xwayland\n        working-directory: xserver-xwayland-${{ env.xwayland-version }}\n        run: |\n          meson build --prefix=/usr\n          ninja -C build\n          DESTDIR=~/wayland ninja -C build install\n          ninja -C build install\n      - name: Build wlroots\n        working-directory: wlroots-${{ env.wlroots-version }}\n        run: |\n          meson build --prefix=/usr -Dxwayland=enabled\n          ninja -C build\n          DESTDIR=~/wayland ninja -C build install\n      - name: Create artifact\n        run: tar czf ~/wayland.tar.gz -C ${HOME}/wayland/ .\n      - name: Upload built libraries\n        uses: actions/upload-artifact@v4\n        with:\n          name: wayland\n          path: ~/wayland.tar.gz\n          if-no-files-found: error\n  build-wheel:\n    name: Build wheels\n    runs-on: ubuntu-latest\n    needs: build-wayland\n    container: quay.io/pypa/manylinux_2_28_x86_64\n    strategy:\n      matrix:\n        python-version: [\"cp3.10\", \"cp3.11\", \"cp3.12\"]\n    steps:\n      - name: Install dependencies\n        run: |\n          dnf install -y \\\n          cairo-devel \\\n          libffi-devel \\\n          libudev-devel \\\n          libinput-devel \\\n          libpciaccess \\\n          mesa-libEGL \\\n          mesa-libgbm \\\n          xcb-util \\\n          xcb-util-image \\\n          xcb-util-keysyms \\\n          xcb-util-renderutil \\\n          xcb-util-wm-devel\n      - name: Download wayland libraries\n        uses: actions/download-artifact@v4\n        with:\n          name: wayland\n      - name: Unpack wayland artifact\n        run: tar xf wayland.tar.gz -C /\n      - uses: actions/checkout@v4\n      - name: Set environment variables\n        run: |\n          PYTHON_ROOT=$(find /opt/python -name ${PYTHON_VERSION/./}-*)\n          echo \"${PYTHON_ROOT}/bin\" >> $GITHUB_PATH\n        shell: bash\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n      - name: Build wheels\n        run: |\n          python -m pip install cffi build auditwheel\n          python -m build --config-setting backend=wayland --wheel .\n          ls dist/\n          auditwheel show dist/qtile-*.whl\n          auditwheel repair --plat manylinux_2_28_x86_64 -w output_wheels dist/qtile-*.whl\n      - name: Upload wheels\n        uses: actions/upload-artifact@v4\n        with:\n          name: wheels-${{ matrix.python-version }}\n          path: output_wheels/qtile*.whl\n  test-wheel:\n    name: Test wheels\n    runs-on: ubuntu-latest\n    needs: build-wheel\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Download wheels\n        if: ${{ matrix.manual-version == '' }}\n        uses: actions/download-artifact@v4\n        with:\n          name: wheels-cp${{ matrix.python-version }}\n      - name: Download wheels (manual)\n        if: ${{ matrix.manual-version != '' }}\n        uses: actions/download-artifact@v4\n        with:\n          name: wheels-${{ matrix.manual-version }}\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install wheel\n        run: pip install qtile-*.whl\n      - name: Check installation\n        run: qtile -h\n  build-source:\n    name: Build source\n    runs-on: ubuntu-latest\n    container: quay.io/pypa/manylinux_2_28_x86_64\n    env:\n      python-version: \"cp3.12\"\n    steps:\n      - name: Install dependencies\n        run: dnf install -y cairo-devel libffi-devel\n      - uses: actions/checkout@v4\n      - name: Set environment variables\n        run: |\n          PYTHON_ROOT=$(find /opt/python -name ${PYTHON_VERSION/./}-*)\n          echo \"${PYTHON_ROOT}/bin\" >> $GITHUB_PATH\n        shell: bash\n        env:\n          PYTHON_VERSION: ${{ env.python-version }}\n      - name: Build source\n        run: |\n          python -m pip install build\n          python -m build --sdist .\n      - name: Upload source\n        uses: actions/upload-artifact@v4\n        with:\n          name: source\n          path: dist/*.tar.gz\n  upload-wheel:\n    name: Upload wheels\n    runs-on: ubuntu-latest\n    needs: [test-wheel, build-source]\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Download wheels\n        if: ${{ matrix.manual-version == '' }}\n        uses: actions/download-artifact@v4\n        with:\n          name: wheels-cp${{ matrix.python-version }}\n          path: dist/\n      - name: Download wheels (manual)\n        if: ${{ matrix.manual-version != '' }}\n        uses: actions/download-artifact@v4\n        with:\n          name: wheels-${{ matrix.manual-version }}\n          path: dist/\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        if: github.event_name == 'release'\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n      - name: Publish package to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        if: github.event_name == 'push'\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n  upload-source:\n    name: Upload source\n    runs-on: ubuntu-latest\n    needs: [test-wheel, build-source]\n    env:\n      python-version: \"cp3.12\"\n    steps:\n      - name: Download source\n        uses: actions/download-artifact@v4\n        with:\n          name: source\n          path: dist/\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        if: github.event_name == 'release'\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n      - name: Publish package to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        if: github.event_name == 'push'\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n", "state": "active", "repository": "qtile/qtile"}
{"mined_at": "2024-07-15T15:50:43.908162", "created_at": "2022-11-08T22:16:10+01:00", "updated_at": "2022-11-08T22:16:10+01:00", "name": "PR Greetings", "path": ".github/workflows/pr_welcome.yml", "contents": "name: PR Greetings\n\non: [pull_request_target]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/first-interaction@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          pr-message: >+\n            Thank you for opening your first PR into Qtile!\n\n            If you have not heard from us in a while, please feel free to ping\n            one of the devs or anyone who has commented on the PR, as sometimes\n            things fall through the cracks.\n\n            You can also join the chat room for real-time discussion, see the\n            [community links](https://github.com/qtile/qtile#community).\n\n            For details on what PRs might need to include before we will merge them please see [the\n            docs](http://docs.qtile.org/en/stable/manual/contributing.html#submit-a-pull-request).\n", "state": "active", "repository": "qtile/qtile"}
{"mined_at": "2024-07-15T15:50:44.981042", "created_at": "2023-11-04T19:04:16+01:00", "updated_at": "2023-11-05T23:46:05+01:00", "name": "Run pre-commit", "path": ".github/workflows/pre_commit.yml", "contents": "name: Run pre-commit\n\non:\n    push:\n    pull_request:\n\njobs:\n    check:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v4\n            - name: Install dependencies\n              run: |\n                sudo apt update\n                sudo apt install --no-install-recommends libxkbcommon-dev\n            - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "qtile/qtile"}
{"mined_at": "2024-07-15T15:50:47.113720", "created_at": "2020-07-08T07:24:56+02:00", "updated_at": "2022-12-18T15:19:13+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    env:\n      DISPLAY: :0\n      PYTEST_ADDOPTS: \"--color=yes\" # colors in pytest\n      PYTHONIOENCODING: \"utf8\"\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-22.04, macos-13, windows-latest]\n        python: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4\n\n      - name: Install Poetry\n        run: |\n          pipx install \"poetry==1.7.*\"\n          poetry config virtualenvs.prefer-active-python true\n\n      - name: Setup Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"poetry\"\n\n      - name: Setup macOS PATH\n        if: runner.os == 'macOS'\n        run: |\n          echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n\n      - name: Setup cache variables\n        shell: bash\n        id: cache-vars\n        run: |\n          echo \"date=$(/bin/date -u \"+%m%w%Y\")\" >> $GITHUB_OUTPUT\n\n      - name: Install system dependencies (Linux)\n        if: runner.os == 'Linux'\n        uses: awalsh128/cache-apt-pkgs-action@latest\n        with:\n          packages: python3-opengl libpango1.0-dev xvfb freeglut3-dev\n          version: 1.0\n\n      - name: Install Texlive (Linux)\n        if: runner.os == 'Linux'\n        uses: teatimeguest/setup-texlive-action@v3\n        with:\n          cache: true\n          packages: scheme-basic fontspec inputenc fontenc tipa mathrsfs calligra xcolor standalone preview doublestroke ms everysel setspace rsfs relsize ragged2e fundus-calligra microtype wasysym physics dvisvgm jknapltx wasy cm-super babel-english gnu-freefont mathastext cbfonts-fd xetex\n\n      - name: Start virtual display (Linux)\n        if: runner.os == 'Linux'\n        run: |\n          # start xvfb in background\n          sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &\n\n      - name: Setup Cairo Cache\n        uses: actions/cache@v4\n        id: cache-cairo\n        if: runner.os == 'Linux' || runner.os == 'macOS'\n        with:\n          path: ${{ github.workspace }}/third_party\n          key: ${{ runner.os }}-dependencies-cairo-${{ hashFiles('.github/scripts/ci_build_cairo.py') }}\n\n      - name: Build and install Cairo (Linux and macOS)\n        if: (runner.os == 'Linux' || runner.os == 'macOS') && steps.cache-cairo.outputs.cache-hit != 'true'\n        run: python .github/scripts/ci_build_cairo.py\n\n      - name: Set env vars for Cairo (Linux and macOS)\n        if: runner.os == 'Linux' || runner.os == 'macOS'\n        run: python .github/scripts/ci_build_cairo.py --set-env-vars\n\n      - name: Setup macOS cache\n        uses: actions/cache@v4\n        id: cache-macos\n        if: runner.os == 'macOS'\n        with:\n          path: ${{ github.workspace }}/macos-cache\n          key: ${{ runner.os }}-dependencies-tinytex-${{ hashFiles('.github/manimdependency.json') }}-${{ steps.cache-vars.outputs.date }}-1\n\n      - name: Install system dependencies (MacOS)\n        if: runner.os == 'macOS' && steps.cache-macos.outputs.cache-hit != 'true'\n        run: |\n          tinyTexPackages=$(python -c \"import json;print(' '.join(json.load(open('.github/manimdependency.json'))['macos']['tinytex']))\")\n          IFS=' '\n          read -a ttp <<< \"$tinyTexPackages\"\n          oriPath=$PATH\n          sudo mkdir -p $PWD/macos-cache\n          echo \"Install TinyTeX\"\n          sudo curl -L -o \"/tmp/TinyTeX.tgz\" \"https://github.com/yihui/tinytex-releases/releases/download/daily/TinyTeX-1.tgz\"\n          sudo tar zxf \"/tmp/TinyTeX.tgz\" -C \"$PWD/macos-cache\"\n          export PATH=\"$PWD/macos-cache/TinyTeX/bin/universal-darwin:$PATH\"\n          sudo tlmgr update --self\n          for i in \"${ttp[@]}\"; do\n            sudo tlmgr install \"$i\"\n          done\n          export PATH=\"$oriPath\"\n          echo \"Completed TinyTeX\"\n\n      - name: Add macOS dependencies to PATH\n        if: runner.os == 'macOS'\n        shell: bash\n        run: |\n          echo \"/Library/TeX/texbin\" >> $GITHUB_PATH\n          echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n          echo \"$PWD/macos-cache/TinyTeX/bin/universal-darwin\" >> $GITHUB_PATH\n\n      - name: Setup Windows cache\n        id: cache-windows\n        if: runner.os == 'Windows'\n        uses: actions/cache@v4\n        with:\n          path: ${{ github.workspace }}\\ManimCache\n          key: ${{ runner.os }}-dependencies-tinytex-${{ hashFiles('.github/manimdependency.json') }}-${{ steps.cache-vars.outputs.date }}-1\n\n      - uses: ssciwr/setup-mesa-dist-win@v2\n\n      - name: Install system dependencies (Windows)\n        if: runner.os == 'Windows' && steps.cache-windows.outputs.cache-hit != 'true'\n        run: |\n          $tinyTexPackages = $(python -c \"import json;print(' '.join(json.load(open('.github/manimdependency.json'))['windows']['tinytex']))\") -Split ' '\n          $OriPath = $env:PATH\n          echo \"Install Tinytex\"\n          Invoke-WebRequest \"https://github.com/yihui/tinytex-releases/releases/download/daily/TinyTeX-1.zip\" -OutFile \"$($env:TMP)\\TinyTex.zip\"\n          Expand-Archive -LiteralPath \"$($env:TMP)\\TinyTex.zip\" -DestinationPath \"$($PWD)\\ManimCache\\LatexWindows\"\n          $env:Path = \"$($PWD)\\ManimCache\\LatexWindows\\TinyTeX\\bin\\windows;$($env:PATH)\"\n          tlmgr update --self\n          foreach ($c in $tinyTexPackages){\n            $c=$c.Trim()\n            tlmgr install $c\n          }\n          $env:PATH=$OriPath\n          echo \"Completed Latex\"\n\n      - name: Add Windows dependencies to PATH\n        if: runner.os == 'Windows'\n        run: |\n          $env:Path += \";\" + \"$($PWD)\\ManimCache\\LatexWindows\\TinyTeX\\bin\\windows\"\n          $env:Path = \"$env:USERPROFILE\\.poetry\\bin;$($env:PATH)\"\n          echo \"$env:Path\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append\n\n      - name: Install manim\n        run: |\n          poetry config installer.modern-installation false\n          poetry install\n\n      - name: Run tests\n        run: |\n          poetry run python -m pytest\n\n      - name: Run module doctests\n        run: |\n          poetry run python -m pytest -v --cov-append --ignore-glob=\"*opengl*\" --doctest-modules manim\n\n      - name: Run doctests in rst files\n        run: |\n          cd docs && poetry run make doctest O=-tskip-manim\n", "state": "active", "repository": "manimcommunity/manim"}
{"mined_at": "2024-07-15T15:50:48.208741", "created_at": "2020-09-10T14:59:41+02:00", "updated_at": "2020-10-03T12:20:16+02:00", "name": "Publish Release", "path": ".github/workflows/python-publish.yml", "contents": "name: Publish Release\n\non:\n  release:\n    types: [released]\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n\n    - name: Install dependencies\n      run: python -m pip install --upgrade poetry\n\n    # TODO: Set PYPI_API_TOKEN to api token from pip in secrets\n    - name: Configure pypi credentials\n      env:\n        PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n      run: poetry config http-basic.pypi __token__ \"$PYPI_API_TOKEN\"\n\n    - name: Publish release to pypi\n      run: |\n        poetry publish --build\n        poetry build\n\n    - name: Store artifacts\n      uses: actions/upload-artifact@v4\n      with:\n          path: dist/*.tar.gz\n          name: manim.tar.gz\n    - name: Install Dependency\n      run: pip install requests\n    - name: Get Upload URL\n      id: create_release\n      shell: python\n      env:\n          access_token: ${{ secrets.GITHUB_TOKEN }}\n          tag_act: ${{ github.ref }}\n      run: |\n          import requests\n          import os\n          ref_tag = os.getenv('tag_act').split('/')[-1]\n          access_token = os.getenv('access_token')\n          headers = {\n              \"Accept\":\"application/vnd.github.v3+json\",\n              \"Authorization\": f\"token {access_token}\"\n          }\n          url = f\"https://api.github.com/repos/ManimCommunity/manim/releases/tags/{ref_tag}\"\n          c = requests.get(url,headers=headers)\n          upload_url=c.json()['upload_url']\n          with open(os.getenv('GITHUB_OUTPUT'), 'w') as f:\n            print(f\"upload_url={upload_url}\", file=f)\n            print(f\"tag_name={ref_tag[1:]}\", file=f)\n\n    - name: Upload Release Asset\n      id: upload-release\n      uses: actions/upload-release-asset@v1\n      env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_path: dist/manim-${{ steps.create_release.outputs.tag_name }}.tar.gz\n          asset_name: manim-${{ steps.create_release.outputs.tag_name }}.tar.gz\n          asset_content_type: application/gzip\n", "state": "active", "repository": "manimcommunity/manim"}
{"mined_at": "2024-07-15T15:50:49.284698", "created_at": "2020-11-26T18:53:59+01:00", "updated_at": "2020-11-26T18:53:59+01:00", "name": "Dependent Issues", "path": ".github/workflows/dependent-issues.yml", "contents": "name: Dependent Issues\n\non:\n  issues:\n    types:\n      - opened\n      - edited\n      - reopened\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - reopened\n      - synchronize\n  schedule:\n    - cron: '0 0 * * *' # schedule daily check\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: z0al/dependent-issues@v1\n        env:\n          # (Required) The token to use to make API calls to GitHub.\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          # (Optional) The label to use to mark dependent issues\n          label: dependent\n\n          # (Optional) Enable checking for dependencies in issues. Enable by\n          # setting the value to \"on\". Default \"off\"\n          check_issues: on\n\n          # (Optional) A comma-separated list of keywords. Default\n          # \"depends on, blocked by\"\n          keywords: depends on, blocked by\n", "state": "active", "repository": "manimcommunity/manim"}
{"mined_at": "2024-07-15T15:50:50.328345", "created_at": "2022-02-12T11:05:16+01:00", "updated_at": "2022-02-12T11:05:16+01:00", "name": "cffconvert", "path": ".github/workflows/cffconvert.yml", "contents": "name: cffconvert\n\non:\n  push:\n    paths:\n      - CITATION.cff\n\njobs:\n  validate:\n    name: \"validate\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out a copy of the repository\n        uses: actions/checkout@v4\n\n      - name: Check whether the citation metadata from CITATION.cff is valid\n        uses: citation-file-format/cffconvert-github-action@2.0.0\n        with:\n          args: \"--validate\"\n", "state": "active", "repository": "manimcommunity/manim"}
{"mined_at": "2024-07-15T15:50:51.463625", "created_at": "2022-06-07T03:08:04+02:00", "updated_at": "2023-07-31T10:40:21+02:00", "name": "Publish Docker Image", "path": ".github/workflows/publish-docker.yml", "contents": "name: Publish Docker Image\n\non:\n  push:\n    branches:\n      - main\n  release:\n    types: [released]\n\njobs:\n  docker-latest:\n    runs-on: ubuntu-latest\n    if: github.event_name != 'release'\n    steps:\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/arm64,linux/amd64\n          push: true\n          file: docker/Dockerfile\n          tags: |\n            manimcommunity/manim:latest\n\n  docker-release:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release'\n    steps:\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Get Version\n        id: create_release\n        shell: python\n        env:\n          tag_act: ${{ github.ref }}\n        run: |\n          import os\n          ref_tag = os.getenv('tag_act').split('/')[-1]\n          with open(os.getenv('GITHUB_OUTPUT'), 'w') as f:\n            print(f\"tag_name={ref_tag}\", file=f)\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/arm64,linux/amd64\n          push: true\n          file: docker/Dockerfile\n          tags: |\n            manimcommunity/manim:stable\n            manimcommunity/manim:latest\n            manimcommunity/manim:${{ steps.create_release.outputs.tag_name }}\n", "state": "active", "repository": "manimcommunity/manim"}
{"mined_at": "2024-07-15T15:50:52.512971", "created_at": "2022-11-16T16:15:27+01:00", "updated_at": "2023-07-31T10:40:21+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: \"21 16 * * 3\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          config-file: ./.github/codeql.yml\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "manimcommunity/manim"}
{"mined_at": "2024-07-15T15:50:53.617282", "created_at": "2023-10-24T22:23:44+02:00", "updated_at": "2023-10-26T14:29:25+02:00", "name": "Publish downloadable documentation", "path": ".github/workflows/release-publish-documentation.yml", "contents": "name: Publish downloadable documentation\n\non:\n  release:\n    types: [released]\n  workflow_dispatch:\n\njobs:\n  build-and-publish-htmldocs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n\n    - name: Install system dependencies\n      run: |\n        sudo apt update && sudo apt install -y \\\n          pkg-config libcairo-dev libpango1.0-dev wget fonts-roboto\n        wget -qO- \"https://yihui.org/tinytex/install-bin-unix.sh\" | sh\n        echo ${HOME}/.TinyTeX/bin/x86_64-linux >> $GITHUB_PATH\n\n    - name: Install LaTeX and Python dependencies\n      run: |\n        tlmgr update --self\n        tlmgr install \\\n          babel-english ctex doublestroke dvisvgm frcursive fundus-calligra jknapltx \\\n          mathastext microtype physics preview ragged2e relsize rsfs setspace standalone \\\n          wasy wasysym\n        python -m pip install --upgrade poetry\n        poetry install\n\n    - name: Build and package documentation\n      run: |\n        cd docs/\n        poetry run make html\n        cd build/html/\n        tar -czvf ../html-docs.tar.gz *\n\n    - name: Store artifacts\n      uses: actions/upload-artifact@v4\n      with:\n          path: ${{ github.workspace }}/docs/build/html-docs.tar.gz\n          name: html-docs.tar.gz\n\n    - name: Install Dependency\n      run: pip install requests\n\n    - name: Get Upload URL\n      if: github.event == 'release'\n      id: create_release\n      shell: python\n      env:\n          access_token: ${{ secrets.GITHUB_TOKEN }}\n          tag_act: ${{ github.ref }}\n      run: |\n          import requests\n          import os\n          ref_tag = os.getenv('tag_act').split('/')[-1]\n          access_token = os.getenv('access_token')\n          headers = {\n              \"Accept\":\"application/vnd.github.v3+json\",\n              \"Authorization\": f\"token {access_token}\"\n          }\n          url = f\"https://api.github.com/repos/ManimCommunity/manim/releases/tags/{ref_tag}\"\n          c = requests.get(url,headers=headers)\n          upload_url=c.json()['upload_url']\n          with open(os.getenv('GITHUB_OUTPUT'), 'w') as f:\n            print(f\"upload_url={upload_url}\", file=f)\n            print(f\"tag_name={ref_tag[1:]}\", file=f)\n\n    - name: Upload Release Asset\n      if: github.event == 'release'\n      id: upload-release\n      uses: actions/upload-release-asset@v1\n      env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_path: ${{ github.workspace }}/docs/build/html-docs.tar.gz\n          asset_name: manim-htmldocs-${{ steps.create_release.outputs.tag_name }}.tar.gz\n          asset_content_type: application/gzip\n", "state": "active", "repository": "manimcommunity/manim"}
{"mined_at": "2024-07-15T15:50:55.786893", "created_at": "2020-01-10T13:38:57+01:00", "updated_at": "2020-01-10T13:38:57+01:00", "name": "Pygments", "path": "", "contents": null, "state": "active", "repository": "pygments/pygments"}
{"mined_at": "2024-07-15T15:50:57.014123", "created_at": "2019-12-19T07:22:41+01:00", "updated_at": "2023-11-21T16:06:59+01:00", "name": "Pygments", "path": ".github/workflows/build.yaml", "contents": "name: Pygments\n\non:\n  push:\n    branches: [master]\n    tags: ['*']\n  pull_request:\n\nenv:\n  FORCE_COLOR: 1\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, ubuntu-latest, macos-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        # Run macOS CI only when pushing tags, not on every push/PR.\n        # There seems not to be a prettier solution than this trick ...\n        exclude:\n          - os: ${{ !(github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')) && 'macos-latest' || 'dummy' }}\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install tox\n      run: pip install -r requirements.txt\n    - name: Test package\n      run: tox -- -W error\n\n  check:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n    - name: Install tox\n      run: pip install -r requirements.txt\n    - name: Perform basic checks\n      run: tox -e check\n      if: runner.os == 'Linux'\n\n  check-mapfiles:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n    - name: Install tox\n      run: pip install -r requirements.txt\n    - name: Regenerate mapfiles\n      run: tox -e mapfiles\n    - name: Fail if mapfiles changed\n      run: |\n        if git ls-files -m | grep mapping; then\n          echo 'Please run \"tox -e mapfiles\" and add the changes to a commit.'\n          exit 1\n        fi\n\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n    - name: Install tox\n      run: pip install -r requirements.txt\n    - name: Run regexlint\n      run: tox -e regexlint\n", "state": "active", "repository": "pygments/pygments"}
{"mined_at": "2024-07-15T15:50:58.067046", "created_at": "2019-12-19T07:22:40+01:00", "updated_at": "2019-12-19T07:22:40+01:00", "name": "Docs", "path": ".github/workflows/docs.yaml", "contents": "name: Docs\n\non:\n  push:\n    branches:\n      - master\n\n\nenv:\n  FORCE_COLOR: 1\n\npermissions: {}\njobs:\n  build:\n    permissions:\n      contents: write # to push pages branch (peaceiris/actions-gh-pages)\n\n    runs-on: ubuntu-latest\n    steps:\n    - name: Setup Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n    - name: Checkout Pygments\n      uses: actions/checkout@v4\n    - name: Install tox\n      run: pip install -r requirements.txt\n    - name: Sphinx build\n      run: |\n        tox -e web-doc -- dirhtml\n        touch doc/_build/dirhtml/.nojekyll\n        echo -e 'pygments.org\\nwww.pygments.org' > doc/_build/dirhtml/CNAME\n        echo 'Automated deployment of docs for GitHub pages.' > doc/_build/dirhtml/README\n    - name: Deploy to repo\n      if: github.repository_owner == 'pygments'\n      uses: peaceiris/actions-gh-pages@v3\n      with:\n        deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}\n        external_repository: pygments/pygments.github.io\n        publish_branch: master\n        publish_dir: ./doc/_build/dirhtml\n", "state": "active", "repository": "pygments/pygments"}
{"mined_at": "2024-07-15T15:50:59.085246", "created_at": "2024-01-14T17:14:45+01:00", "updated_at": "2024-01-14T17:14:45+01:00", "name": ".github/workflows/publish.yaml", "path": ".github/workflows/publish.yaml", "contents": null, "state": "active", "repository": "pygments/pygments"}
{"mined_at": "2024-07-15T15:51:01.180648", "created_at": "2022-03-11T18:09:13+01:00", "updated_at": "2022-04-11T19:08:37+02:00", "name": "Automated review labels", "path": ".github/workflows/automate-review-labels.yml", "contents": "name: 'Automated review labels'\n\non:\n  issue_comment:\n    types: [ created ]\n  issues:\n    types: [ unlabeled, labeled ]\n  pull_request_target:\n    types: [ unlabeled, labeled ]\n\npermissions:\n  issues: write # for adding label to an issue\n  pull-requests: write # for adding label to a pr\n\njobs:\n\n  add-review-team-label:\n    name: 'When pinged, label a PR with review team'\n    if: >\n      github.event.issue && github.event.issue.pull_request\n    runs-on: ubuntu-latest\n    steps:\n      - name: check-teams\n        id: check_teams\n        uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6\n        with:\n          script: |\n            const teams = [\n              '@conda-forge/staged-recipes',\n              '@conda-forge/help-c-cpp',\n              '@conda-forge/help-cdts',\n              '@conda-forge/help-go',\n              '@conda-forge/help-java',\n              '@conda-forge/help-julia',\n              '@conda-forge/help-nodejs',\n              '@conda-forge/help-perl',\n              '@conda-forge/help-python',\n              '@conda-forge/help-python-c',\n              '@conda-forge/help-r',\n              '@conda-forge/help-ruby',\n              '@conda-forge/help-rust'\n            ];\n            let found_label = false;\n            for (const team of teams) {\n                let text = context.payload.comment.body;\n                const regex = new RegExp(team + '[^\\w-]|' + team + '$');\n                let result = regex.test(text);\n                if (result) {\n                    const slug = team.replace(\"@conda-forge/\", \"\");\n                    const label = slug.replace(\"help-\", \"\");\n                    found_label = true;\n                    github.rest.issues.addLabels({\n                        issue_number: context.issue.number,\n                        owner: context.repo.owner,\n                        repo: context.repo.repo,\n                        labels: [label, 'review-requested']\n                    });\n                    // NOTE: GitHub Actions default token lacks permission to\n                    // assign teams for review; external bot required for\n                    // that feature.\n                    //\n                    https://github.com/conda-forge/staged-recipes/issues/18023#issuecomment-1080451231\n                    console.log(`Somebody mentioned ${slug}.`);\n                    if (label == \"staged-recipes\") {\n                      github.rest.issues.createComment({\n                        issue_number: context.issue.number,\n                        owner: context.repo.owner,\n                        repo: context.repo.repo,\n                        body: 'To help direct your pull request to the best reviewers, ' +\n                              'please mention a topic-specifc team if your recipe matches any of the following: ' +\n                              'conda-forge/help-c-cpp, ' +\n                              'conda-forge/help-cdts, ' +\n                              'conda-forge/help-go, ' +\n                              'conda-forge/help-java, ' +\n                              'conda-forge/help-julia, ' +\n                              'conda-forge/help-nodejs, ' +\n                              'conda-forge/help-perl, ' +\n                              'conda-forge/help-python, ' +\n                              'conda-forge/help-python-c, ' +\n                              'conda-forge/help-r, ' +\n                              'conda-forge/help-ruby,' +\n                              'or ' +\n                              'conda-forge/help-rust' +\n                              '. ' +\n                              'Thanks!'\n                      });\n                    }\n                }\n            }\n            return found_label;\n      - name: remove-labels\n        if: >\n          (steps.check_teams.outputs.result == 'true') && contains(github.event.issue.labels.*.name, 'Awaiting author contribution')\n        uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6\n        with:\n          script: |\n            github.rest.issues.removeLabel({\n                issue_number: context.issue.number,\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                name: ['Awaiting author contribution']\n            })\n\n  add-await-when-review-removed:\n    name: 'Add awaiting-author when review-requested removed'\n    if: >\n      github.event.action == 'unlabeled' && github.event.label.name == 'review-requested'\n    runs-on: ubuntu-latest\n    steps:\n      - name: add-labels\n        uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6\n        with:\n          script: |\n            github.rest.issues.addLabels({\n                issue_number: context.issue.number,\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                labels: ['Awaiting author contribution']\n            });\n\n  remove-review-when-await-added:\n    name: 'Removed review-requested when awaiting-author added'\n    if: >\n      github.event.action == 'labeled' && github.event.label.name == 'Awaiting author contribution'\n    runs-on: ubuntu-latest\n    steps:\n      - name: remove-labels\n        uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6\n        with:\n          script: |\n            github.rest.issues.removeLabel({\n                issue_number: context.issue.number,\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                name: ['review-requested']\n            })\n", "state": "active", "repository": "conda-forge/staged-recipes"}
{"mined_at": "2024-07-15T15:51:02.236120", "created_at": "2022-12-07T02:15:03+01:00", "updated_at": "2022-12-08T00:15:54+01:00", "name": "directory_linter", "path": ".github/workflows/correct_directory.yml", "contents": "name: directory_linter\n\non:\n  pull_request_target:\n    paths:\n      - 'recipes/*.yml'\n      - 'recipes/*.yaml'\n\njobs:\n  comment:\n    name: Notify user about wrong dir\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2\n\n      - name: Comment on PR\n        uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Hi! Thanks for your contribution to conda-forge.' +\n                    '\\nUnfortunately, the recipe was added directly in the `recipes` folder without its own subfolder.\\n' +\n                    'Please move the recipe file into a folder with the name of the package you want to submit.\\n\\n' +\n                    'For example: if your recipe is currently under `recipes/<your_package>.yaml`, ' +\n                    'it should be moved to `recipes/<your_package>/meta.yaml`.\\n' +\n                    'Thanks!'\n            })\n", "state": "active", "repository": "conda-forge/staged-recipes"}
{"mined_at": "2024-07-15T15:51:03.275703", "created_at": "2022-12-07T02:15:04+01:00", "updated_at": "2022-12-08T00:14:49+01:00", "name": "do_not_edit_example", "path": ".github/workflows/do_not_edit_example.yml", "contents": "name: do_not_edit_example\n\non:\n  pull_request_target:\n    paths:\n      - 'recipes/example/meta.yaml'\n\njobs:\n  comment:\n    name: Notify user about not editing example recipe\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2\n\n      - name: Comment on PR\n        uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Hi! Thanks for your contribution to conda-forge.' +\n                    '\\nWhen submitting a pull request, please do not change anything in the example recipe.\\n' +\n                    'Please make sure that any changes are reverted before you submit it for review.\\n' +\n                    'Thanks!'\n            })\n", "state": "active", "repository": "conda-forge/staged-recipes"}
{"mined_at": "2024-07-15T15:51:04.323327", "created_at": "2024-07-01T20:12:46+02:00", "updated_at": "2024-07-01T20:12:46+02:00", "name": "do_not_edit_other_files", "path": ".github/workflows/only_edit_in_recipes.yaml", "contents": null, "state": "active", "repository": "conda-forge/staged-recipes"}
{"mined_at": "2024-07-15T15:51:05.446955", "created_at": "2020-11-04T14:43:31+01:00", "updated_at": "2023-01-08T21:17:59+01:00", "name": "Create feedstocks", "path": ".github/workflows/create_feedstocks.yml", "contents": "name: Create feedstocks\n\non:\n  push:\n    branches:\n      - main\n  schedule:\n    - cron: '*/10 * * * *'\n  workflow_dispatch: null\n\npermissions: {}\njobs:\n  create-feedstocks:\n    permissions:\n      contents: write # for git push\n      actions: read # to read runs\n\n    if: github.repository == 'conda-forge/staged-recipes'\n    name: Create feedstocks\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2\n        with:\n          token: ${{ github.token }}\n\n      - name: Prevent multiple jobs running in parallel\n        id: conversion_lock\n        uses: beckermr/turnstyle-python@e997c7ea75032a98f3b515ef8ee0ca89cf172713 # v1\n        with:\n          abort-after-seconds: 3\n          poll-interval-seconds: 2\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n        continue-on-error: true\n\n      - name: commit any changes upon checkout\n        run: |\n          git config --global user.email \"pelson.pub+conda-forge@gmail.com\"\n          git config --global user.name \"conda-forge-admin\"\n          git add *\n          git commit -am \"make sure we have no windows line endings\" || exit 0\n          for i in `seq 1 5`; do\n            git pull\n            git push\n          done\n\n      - name: Run feedstock creation\n        # outcome is evaluated before continue-on-error above\n        if: ${{ steps.conversion_lock.outcome == 'success' }}\n        run: |\n          # Avoid wasting CI time if there are no recipes ready for conversion\n          if [ \"$(ls recipes/*/meta.yaml | grep -v recipes/example/meta.yaml --count)\" -eq 0 ]; then\n            echo \"No new recipes found, exiting...\"\n            exit 0\n          fi\n\n          echo \"Creating feedstocks from the recipe(s).\"\n\n          source ./.github/workflows/scripts/create_feedstocks\n        env:\n          STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}\n          GH_TOKEN: ${{ secrets.CF_ADMIN_GITHUB_TOKEN }}\n          TRAVIS_TOKEN: ${{ secrets.ORGWIDE_TRAVIS_TOKEN }}\n          AZURE_TOKEN: ${{ secrets.AZURE_TOKEN }}\n", "state": "disabled_manually", "repository": "conda-forge/staged-recipes"}
{"mined_at": "2024-07-15T15:51:08.648692", "created_at": "2020-11-03T14:52:28+01:00", "updated_at": "2023-08-01T22:20:29+02:00", "name": "Build Sphinx", "path": ".github/workflows/build-sphinx.yml", "contents": "name: Build Sphinx\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [opened, synchronize, reopened, closed]\n\npermissions: read-all\n\nenv:\n  GH_BOT_NAME: 'github-actions[bot]'\n  GH_BOT_EMAIL: 'github-actions[bot]@users.noreply.github.com'\n  GH_EVENT_OPEN_PR_UPSTREAM: ${{ github.event_name == 'pull_request' && github.event.action != 'closed' &&\n                                 github.event.pull_request && !github.event.pull_request.head.repo.fork }}\n  GH_EVENT_PUSH_UPSTREAM: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' &&\n                              github.event.ref == 'refs/heads/master' && github.event.repository && !github.event.repository.fork }}\n  PUBLISH_DIR: doc/_build/html/\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  build-and-deploy:\n    name: Build and Deploy Docs\n\n    runs-on: ubuntu-20.04\n\n    permissions:\n      # Needed to cancel any previous runs that are not completed for a given workflow\n      actions: write\n      # Needed to deploy static files to GitHub Pages\n      contents: write\n      # Needed to add a comment to a pull request's issue\n      pull-requests: write\n\n    env:\n      python-ver: '3.9'\n      CHANNELS: '-c dppy/label/dev -c intel -c conda-forge --override-channels'\n\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1\n        with:\n          access_token: ${{ github.token }}\n\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: |\n          echo \"$GITHUB_CONTEXT\"\n\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1\n        with:\n          docker-images: false\n\n      - name: Install Intel repository\n        run: |\n          wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB\n          sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB\n          rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB\n          sudo add-apt-repository \"deb https://apt.repos.intel.com/oneapi all main\"\n          sudo apt-get update\n\n      - name: Update libstdc++-dev\n        run: |\n          sudo apt remove -y gcc-7 g++-7 gcc-8 g++-8 gcc-10 g++-10\n          sudo apt remove -y libstdc++-10-dev\n          sudo apt autoremove\n          sudo apt install --reinstall -y gcc-9 g++-9 libstdc++-9-dev\n\n      - name: Install Intel OneAPI\n        run: |\n          sudo apt-get install intel-oneapi-mkl                \\\n                               intel-oneapi-mkl-devel          \\\n                               intel-oneapi-compiler-dpcpp-cpp\n\n      # required by sphinxcontrib-spelling extension\n      - name: Install enchant package\n        run: |\n          sudo apt-get install enchant-2\n\n      # https://github.com/marketplace/actions/checkout\n      - name: Install nvidia-cuda support drivers\n        run: |\n          sudo add-apt-repository ppa:graphics-drivers/ppa\n          sudo apt-get update\n          sudo apt-get install -y libnvidia-gl-450\n          sudo apt-get install -y nvidia-cuda-toolkit clinfo\n\n      - name: Checkout repo\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n\n      # https://github.com/marketplace/actions/setup-miniconda\n      - name: Setup miniconda\n        uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          channels: conda-forge\n          python-version: ${{ env.python-ver }}\n          activate-environment: 'docs'\n\n      # Here is an issue in conda gh-12356 causing adding defaults to the list of channels\n      # upon running `conda config --append channels conda-forge`, while mamba requires to have only conda-forge channel\n      - name: Remove defaults channel\n        run: |\n          conda config --remove channels defaults\n          conda config --show\n\n      # Sometimes `mamba install ...` fails due to slow download speed rate, so disable the check in mamba\n      - name: Disable speed limit check in mamba\n        run: echo \"MAMBA_NO_LOW_SPEED_LIMIT=1\" >> $GITHUB_ENV\n\n      - name: Install sphinx dependencies\n        run: |\n          mamba install sphinx sphinx_rtd_theme\n          pip install sphinxcontrib-googleanalytics==0.4 \\\n            pyenchant sphinxcontrib-spelling\n\n      - name: Install dpnp dependencies\n        run: |\n          mamba install numpy\"<1.24\" dpctl\">=0.18.0dev0\" mkl-devel-dpcpp onedpl-devel tbb-devel dpcpp_linux-64 \\\n              cmake cython pytest ninja scikit-build ${{ env.CHANNELS }}\n\n      - name: Install cuPy dependencies\n        run: mamba install cupy cudatoolkit=10.0\n\n      - name: Conda info\n        run: mamba info\n\n      - name: Conda list\n        run: mamba list\n\n      - name: Build library\n        run: python scripts/build_locally.py\n\n      - name: Run a spelling checker for docs\n        run: make spelling\n        working-directory: doc\n\n      - name: Build docs\n        run: make html\n        working-directory: doc\n\n      - name: Set a project number to current release\n        run: |\n          export PROJECT_NUMBER=$(git describe --tags --abbrev=0)\n\n          echo PROJECT_NUMBER=${PROJECT_NUMBER}\n          echo \"PROJECT_NUMBER=$PROJECT_NUMBER\" >> $GITHUB_ENV\n\n      # https://github.com/marketplace/actions/doxygen-action\n      - name: Build backend docs\n        uses: mattnotmitt/doxygen-action@cbe72c8e402e8a3faa1f0b247ef90aa6c8e4ce74 # v1.9.8\n        with:\n            working-directory: 'dpnp/backend/doc'\n\n      - name: Copy backend docs\n        run: cp -r dpnp/backend/doc/html ${{ env.PUBLISH_DIR }}/backend_doc\n\n      # https://github.com/marketplace/actions/github-pages-action\n      # The step is only used to build docs while pushing a PR to \"master\"\n      - name: Deploy docs\n        if: env.GH_EVENT_PUSH_UPSTREAM == 'true'\n        uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ${{ env.PUBLISH_DIR }}\n          keep_files: true\n          commit_message: ${{ github.event.head_commit.message }}\n          publish_branch: gh-pages\n          user_name: ${{ env.GH_BOT_NAME }}\n          user_email: ${{ env.GH_BOT_EMAIL }}\n\n      # The step is only used to build docs while pushing to PR branch\n      - name: Publish pull-request docs\n        if: env.GH_EVENT_OPEN_PR_UPSTREAM == 'true'\n        uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ${{ env.PUBLISH_DIR }}\n          destination_dir: ./pull/${{ github.event.number }}\n          allow_empty_commit : true\n          keep_files: true\n          commit_message: ${{ github.event.pull_request.title }}\n          publish_branch: gh-pages\n          user_name: ${{ env.GH_BOT_NAME }}\n          user_email: ${{ env.GH_BOT_EMAIL }}\n\n      # The step is only used to build docs while pushing to PR branch\n      - name: Comment with URL to published pull-request docs\n        if: env.GH_EVENT_OPEN_PR_UPSTREAM == 'true'\n        env:\n          PR_NUM: ${{ github.event.number }}\n        uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2\n        with:\n          message: |\n            View rendered docs @ https://intelpython.github.io/dpnp/pull/${{ env.PR_NUM }}/index.html\n          allow-repeats: false\n\n  # The job is only used to build docs when PR is closed (action from PR branch)\n  clean:\n    if: |\n      github.event_name == 'pull_request' && github.event.action == 'closed' &&\n      github.event.pull_request && !github.event.pull_request.head.repo.fork\n\n    needs: build-and-deploy\n\n    permissions:\n      # Needed to remove docs for closed pull request from the repo\n      contents: write\n      # Needed to modify a comment in the pull request's issue\n      pull-requests: write\n\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n\n      - name: Remove docs [PR closed]\n        env:\n          PR_NUM: ${{ github.event.number }}\n        run: |\n          git remote add tokened_docs https://IntelPython:${{ secrets.GITHUB_TOKEN }}@github.com/IntelPython/dpnp.git\n          git fetch tokened_docs\n          git checkout --track tokened_docs/gh-pages\n          echo `pwd`\n          [ -d pull/${PR_NUM} ] && git rm -rf pull/${PR_NUM}\n          git config --global user.name ${{ env.GH_BOT_NAME }}\n          git config --global user.email ${{ env.GH_BOT_EMAIL }}\n          git commit -m \"Removing docs for closed pull request ${PR_NUM}\"\n          git push tokened_docs gh-pages\n\n      - name: Modify the comment with URL to official documentation\n        uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2\n        with:\n          find: |\n            View rendered docs @.+\n          replace: |\n            View rendered docs @ https://intelpython.github.io/dpnp/index.html\n", "state": "active", "repository": "intelpython/dpnp"}
{"mined_at": "2024-07-15T15:51:09.715003", "created_at": "2021-08-04T19:16:00+02:00", "updated_at": "2024-05-27T14:11:56+02:00", "name": "Conda package", "path": ".github/workflows/conda-package.yml", "contents": "name: Conda package\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\npermissions: read-all\n\nenv:\n  PACKAGE_NAME: dpnp\n  MODULE_NAME: dpnp\n  CHANNELS: '-c dppy/label/dev -c intel -c conda-forge --override-channels'\n  CONDA_BUILD_VERSION: '24.5.1'\n  CONDA_INDEX_VERSION: '0.4.0'\n  RUN_TESTS_MAX_ATTEMPTS: 2\n  TEST_ENV_NAME: 'test'\n  TEST_SCOPE: >-\n      test_absolute.py\n      test_amin_amax.py\n      test_arithmetic.py\n      test_arraycreation.py\n      test_arraymanipulation.py\n      test_bitwise.py\n      test_copy.py\n      test_counting.py\n      test_dparray.py\n      test_extensions.py\n      test_fft.py\n      test_flat.py\n      test_histogram.py\n      test_indexing.py\n      test_linalg.py\n      test_logic.py\n      test_manipulation.py\n      test_mathematical.py\n      test_mixins.py\n      test_nanfunctions.py\n      test_outer.py\n      test_product.py\n      test_random_state.py\n      test_search.py\n      test_sort.py\n      test_special.py\n      test_statistics.py\n      test_sum.py\n      test_sycl_queue.py\n      test_umath.py\n      test_usm_type.py\n      third_party/cupy/core_tests\n      third_party/cupy/indexing_tests/test_indexing.py\n      third_party/cupy/lib_tests\n      third_party/cupy/linalg_tests\n      third_party/cupy/logic_tests\n      third_party/cupy/manipulation_tests\n      third_party/cupy/math_tests\n      third_party/cupy/sorting_tests\n      third_party/cupy/statistics_tests/test_histogram.py\n      third_party/cupy/statistics_tests/test_meanvar.py\n  VER_JSON_NAME: 'version.json'\n  VER_SCRIPT1: \"import json; f = open('version.json', 'r'); j = json.load(f); f.close(); \"\n  VER_SCRIPT2: \"d = j['dpnp'][0]; print('='.join((d[s] for s in ('version', 'build'))))\"\n\njobs:\n  build:\n    name: Build ['${{ matrix.os }}', python='${{ matrix.python }}']\n\n    strategy:\n      matrix:\n        python: ['3.9', '3.10', '3.11']\n        os: [ubuntu-20.04, windows-2019]\n\n    permissions:\n      # Needed to cancel any previous runs that are not completed for a given workflow\n      actions: write\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: ${{ matrix.os == 'windows-2019' && 'cmd /C CALL {0}' || 'bash -l {0}' }}\n\n    continue-on-error: true\n\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1\n        with:\n          access_token: ${{ github.token }}\n\n      - name: Checkout DPNP repo\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n\n      - name: Setup miniconda\n        uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          channels: conda-forge\n          python-version: ${{ matrix.python }}\n          activate-environment: 'build'\n\n      # Here is an issue in conda gh-12356 causing adding defaults to the list of channels\n      # upon running `conda config --append channels conda-forge`, while mamba requires to have only conda-forge channel\n      - name: Remove defaults channel\n        run: |\n          conda config --remove channels defaults\n          conda config --show\n\n      # Sometimes `mamba install ...` fails due to slow download speed rate, so disable the check in mamba\n      - name: Disable speed limit check in mamba\n        run: echo \"MAMBA_NO_LOW_SPEED_LIMIT=1\" >> $GITHUB_ENV\n\n      - name: Store conda paths as envs\n        shell: bash -l {0}\n        run: |\n          echo \"CONDA_BLD=$CONDA_PREFIX/conda-bld/${{ runner.os == 'Linux' && 'linux' || 'win' }}-64/\" | tr \"\\\\\\\\\" '/' >> $GITHUB_ENV\n          echo \"WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE${{ runner.os == 'Linux' && '/' || '\\\\' }}\" >> $GITHUB_ENV\n\n      - name: Install conda-build\n        run: mamba install conda-build=${{ env.CONDA_BUILD_VERSION}}\n\n      - name: Cache conda packages\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        env:\n          CACHE_NUMBER: 1  # Increase to reset cache\n        with:\n          path: ${{ env.CONDA_PKGS_DIR }}\n          key:\n            ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-${{hashFiles('**/meta.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-\n            ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-\n\n      - name: Build conda package\n        run: conda build --no-test --python ${{ matrix.python }} --numpy 1.24 ${{ env.CHANNELS }} conda-recipe\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}\n          path: ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.tar.bz2\n\n      - name: Upload wheels artifact\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}\n          path: ${{ env.WHEELS_OUTPUT_FOLDER }}${{ env.PACKAGE_NAME }}-*.whl\n\n  test_linux:\n    name: Test ['${{ matrix.os }}', python='${{ matrix.python }}']\n\n    needs: build\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    strategy:\n      matrix:\n        python: ['3.9', '3.10', '3.11']\n        os: [ubuntu-20.04, ubuntu-latest]\n\n    continue-on-error: true\n\n    env:\n      conda-pkgs: '/home/runner/conda_pkgs_dir/'\n      channel-path: '${{ github.workspace }}/channel/'\n      pkg-path-in-channel: '${{ github.workspace }}/channel/linux-64/'\n      extracted-pkg-path: '${{ github.workspace }}/pkg/'\n      tests-path: '${{ github.workspace }}/pkg/info/test/tests/'\n      ver-json-path: '${{ github.workspace }}/version.json'\n\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}\n          path: ${{ env.pkg-path-in-channel }}\n\n      - name: Extract package archive\n        run: |\n          mkdir -p ${{ env.extracted-pkg-path }}\n          tar -xvf ${{ env.pkg-path-in-channel }}/${{ env.PACKAGE_NAME }}-*.tar.bz2 -C ${{ env.extracted-pkg-path }}\n\n      - name: Setup miniconda\n        uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          channels: conda-forge\n          python-version: ${{ matrix.python }}\n          activate-environment: ${{ env.TEST_ENV_NAME }}\n\n      - name: Remove defaults channel\n        run: conda config --remove channels defaults\n\n      - name: Install conda-index\n        run: mamba install conda-index=${{ env.CONDA_INDEX_VERSION }}\n\n      - name: Create conda channel\n        run: |\n          python -m conda_index ${{ env.channel-path }}\n\n      - name: Test conda channel\n        run: |\n          mamba search ${{ env.PACKAGE_NAME }} -c ${{ env.channel-path }} --override-channels --info --json > ${{ env.ver-json-path }}\n          cat ${{ env.ver-json-path }}\n\n      - name: Collect dependencies\n        run: |\n          export PACKAGE_VERSION=$(python -c \"${{ env.VER_SCRIPT1 }} ${{ env.VER_SCRIPT2 }}\")\n\n          echo PACKAGE_VERSION=${PACKAGE_VERSION}\n          echo \"PACKAGE_VERSION=$PACKAGE_VERSION\" >> $GITHUB_ENV\n\n          mamba install ${{ env.PACKAGE_NAME }}=${PACKAGE_VERSION} python=${{ matrix.python }} ${{ env.TEST_CHANNELS }} --only-deps --dry-run > lockfile\n          cat lockfile\n        env:\n          TEST_CHANNELS: '-c ${{ env.channel-path }} ${{ env.CHANNELS }}'\n\n      - name: Cache conda packages\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        env:\n          CACHE_NUMBER: 1 # Increase to reset cache\n        with:\n          path: ${{ env.conda-pkgs }}\n          key:\n            ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-${{hashFiles('lockfile') }}\n          restore-keys: |\n            ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-\n            ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-\n\n      - name: Install dpnp\n        run: mamba install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} pytest python=${{ matrix.python }} ${{ env.TEST_CHANNELS }}\n        env:\n          TEST_CHANNELS: '-c ${{ env.channel-path }} ${{ env.CHANNELS }}'\n          MAMBA_NO_LOW_SPEED_LIMIT: 1\n\n      - name: List installed packages\n        run: mamba list\n\n      - name: Smoke test\n        run: |\n          python -c \"import dpnp, dpctl; dpctl.lsplatform()\"\n          python -c \"import dpnp; print(dpnp.__version__)\"\n\n      # TODO: run the whole scope once the issues on CPU are resolved\n      # - name: Run tests\n        # run: |\n        #   python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}\n        # working-directory: ${{ env.tests-path }}\n\n      # TODO: remove once 2024.2 release is published\n      - name: Run tests\n        id: run_tests_linux\n        uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0\n        with:\n          shell: bash\n          timeout_minutes: 10\n          max_attempts: ${{ env.RUN_TESTS_MAX_ATTEMPTS }}\n          retry_on: any\n          command: |\n            . $CONDA/etc/profile.d/conda.sh\n            conda activate ${{ env.TEST_ENV_NAME }}\n            cd ${{ env.tests-path }}\n            python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}\n\n  test_windows:\n    name: Test ['windows-2019', python='${{ matrix.python }}']\n\n    needs: build\n\n    runs-on: windows-2019\n\n    defaults:\n      run:\n        shell: cmd /C CALL {0}\n\n    strategy:\n      matrix:\n        python: ['3.9', '3.10', '3.11']\n\n    continue-on-error: true\n\n    env:\n      conda-pkgs: 'C:\\Users\\runneradmin\\conda_pkgs_dir\\'\n      channel-path: '${{ github.workspace }}\\channel\\'\n      pkg-path-in-channel: '${{ github.workspace }}\\channel\\win-64\\'\n      extracted-pkg-path: '${{ github.workspace }}\\pkg'\n      tests-path: '${{ github.workspace }}\\pkg\\info\\test\\tests\\'\n      ver-json-path: '${{ github.workspace }}\\version.json'\n\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}\n          path: ${{ env.pkg-path-in-channel }}\n\n      - name: Extract package archive\n        run: |\n          @echo on\n          mkdir -p ${{ env.extracted-pkg-path }}\n\n          set SEARCH_SCRIPT=\"DIR ${{ env.pkg-path-in-channel }} /s/b | FINDSTR /r \"dpnp-.*\\.tar\\.bz2\"\"\n          FOR /F \"tokens=* USEBACKQ\" %%F IN (`%SEARCH_SCRIPT%`) DO (\n            SET FULL_PACKAGE_PATH=%%F\n          )\n          echo FULL_PACKAGE_PATH: %FULL_PACKAGE_PATH%\n\n          python -c \"import shutil; shutil.unpack_archive(r\\\"%FULL_PACKAGE_PATH%\\\", extract_dir=r\\\"${{ env.extracted-pkg-path }}\\\")\"\n          dir ${{ env.extracted-pkg-path }}\n\n      - name: Setup miniconda\n        uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          channels: conda-forge\n          python-version: ${{ matrix.python }}\n          activate-environment: ${{ env.TEST_ENV_NAME }}\n\n      - name: Remove defaults channel\n        run: conda config --remove channels defaults\n\n      - name: Store conda paths as envs\n        run: |\n          @echo on\n          (echo CONDA_LIB_PATH=%CONDA_PREFIX%\\Library\\lib\\) >> %GITHUB_ENV%\n          (echo CONDA_LIB_BIN_PATH=%CONDA_PREFIX%\\Library\\bin\\) >> %GITHUB_ENV%\n\n      - name: Install conda-index\n        run: mamba install conda-index=${{ env.CONDA_INDEX_VERSION }}\n\n      - name: Create conda channel\n        run: |\n          @echo on\n          python -m conda_index ${{ env.channel-path }}\n\n      - name: Test conda channel\n        run: |\n          @echo on\n          mamba search ${{ env.PACKAGE_NAME }} -c ${{ env.channel-path }} --override-channels --info --json > ${{ env.ver-json-path }}\n\n      - name: Dump version.json\n        run: more ${{ env.ver-json-path }}\n\n      - name: Collect dependencies\n        run: |\n          @echo on\n          set \"SCRIPT=${{ env.VER_SCRIPT1 }} ${{ env.VER_SCRIPT2 }}\"\n          FOR /F \"tokens=* USEBACKQ\" %%F IN (`python -c \"%SCRIPT%\"`) DO (\n             SET PACKAGE_VERSION=%%F\n          )\n          echo PACKAGE_VERSION: %PACKAGE_VERSION%\n          (echo PACKAGE_VERSION=%PACKAGE_VERSION%) >> %GITHUB_ENV%\n\n          mamba install ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% python=${{ matrix.python }} ${{ env.TEST_CHANNELS }} --only-deps --dry-run > lockfile\n        env:\n          TEST_CHANNELS: '-c ${{ env.channel-path }} ${{ env.CHANNELS }}'\n\n      - name: Dump lockfile\n        run: more lockfile\n\n      - name: Cache conda packages\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        env:\n          CACHE_NUMBER: 1  # Increase to reset cache\n        with:\n          path: ${{ env.conda-pkgs }}\n          key:\n            ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-${{hashFiles('lockfile') }}\n          restore-keys: |\n            ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-\n            ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-\n\n      - name: Install dpnp\n        run: |\n          @echo on\n          mamba install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} pytest python=${{ matrix.python }} ${{ env.TEST_CHANNELS }}\n        env:\n          TEST_CHANNELS: '-c ${{ env.channel-path }} ${{ env.CHANNELS }}'\n          MAMBA_NO_LOW_SPEED_LIMIT: 1\n\n      - name: List installed packages\n        run: mamba list\n\n      - name: Activate OCL CPU RT\n        shell: pwsh\n        run: |\n          $script_path=\"$env:CONDA_PREFIX\\Scripts\\set-intel-ocl-icd-registry.ps1\"\n          &$script_path\n          # Check the variable assisting OpenCL CPU driver to find TBB DLLs which are not located where it expects them by default\n          $cl_cfg=\"$env:CONDA_PREFIX\\Library\\lib\\cl.cfg\"\n          Get-Content -Tail 5 -Path $cl_cfg\n\n      - name: Smoke test\n        run: |\n          python -c \"import dpnp, dpctl; dpctl.lsplatform()\"\n          python -c \"import dpnp; print(dpnp.__version__)\"\n\n      # TODO: run the whole scope once the issues on CPU are resolved\n      # - name: Run tests\n      #   run: |\n      #     python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}\n      #   working-directory: ${{ env.tests-path }}\n\n      # TODO: remove once 2024.2 release is published\n      - name: Run tests\n        id: run_tests_win\n        uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0\n        with:\n          shell: cmd\n          timeout_minutes: 15\n          max_attempts: ${{ env.RUN_TESTS_MAX_ATTEMPTS }}\n          retry_on: any\n          command: >-\n            mamba activate ${{ env.TEST_ENV_NAME }}\n            & cd ${{ env.tests-path }}\n            & python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}\n\n  upload:\n    name: Upload ['${{ matrix.os }}', python='${{ matrix.python }}']\n\n    needs: [test_linux, test_windows]\n\n    strategy:\n      matrix:\n        python: ['3.9', '3.10', '3.11']\n        os: [ubuntu-20.04, windows-2019]\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    continue-on-error: true\n\n    if: |\n      (github.repository == 'IntelPython/dpnp') &&\n      (github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/'))\n\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}\n\n      - name: Download wheels artifact\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}\n\n      - name: Setup miniconda\n        uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          channels: conda-forge\n          python-version: ${{ matrix.python }}\n          activate-environment: 'upload'\n\n      - name: Remove defaults channel\n        run: conda config --remove channels defaults\n\n      - name: Install anaconda-client\n        run: mamba install anaconda-client\n\n      - name: Package version\n        run: echo \"PACKAGE_VERSION=$(basename ${{ env.PACKAGE_NAME }}-*.tar.bz2 | sed 's/^${{ env.PACKAGE_NAME }}-\\([^-]*\\).*/\\1/')\" >> $GITHUB_ENV\n\n      - name: Upload\n        run: anaconda --token ${{ env.ANACONDA_TOKEN }} upload --user dppy --label dev ${{ env.PACKAGE_NAME }}-*.tar.bz2\n        env:\n          ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}\n\n      - name: Upload wheels\n        run: anaconda --token ${{ env.ANACONDA_TOKEN }} upload --user dppy --label dev ${{ env.PACKAGE_NAME }}-*.whl --version ${{ env.PACKAGE_VERSION }}\n        env:\n          ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}\n\n  cleanup_packages:\n    name: Clean up anaconda packages\n    needs: [upload]\n    runs-on: 'ubuntu-latest'\n    defaults:\n      run:\n        shell: bash -el {0}\n    steps:\n      - uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          channels: conda-forge\n          run-post: false\n          python-version: '3.11'\n          activate-environment: 'cleanup'\n\n      - name: Remove defaults channel\n        run: conda config --remove channels defaults\n\n      - name: Install anaconda-client\n        run: mamba install anaconda-client\n\n      - name: Checkout repo\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          repository: IntelPython/devops-tools\n          fetch-depth: 0\n\n      - name: Cleanup old packages\n        run: |\n          python scripts/cleanup-old-packages.py \\\n          --verbose --force --token ${{ secrets.ANACONDA_TOKEN }} \\\n          --package dppy/${{ env.PACKAGE_NAME }} --label dev\n", "state": "active", "repository": "intelpython/dpnp"}
{"mined_at": "2024-07-15T15:51:10.757729", "created_at": "2023-04-06T16:55:52+02:00", "updated_at": "2023-05-30T14:15:34+02:00", "name": "Generate coverage data for dpnp", "path": ".github/workflows/generate_coverage.yaml", "contents": "name: Generate coverage data for dpnp\non:\n  pull_request:\n  push:\n    branches: [master]\n\npermissions: read-all\n\njobs:\n  generate-coverage:\n    name: Generate coverage and push to Coveralls.io\n    runs-on: ubuntu-20.04\n\n    permissions:\n      # Needed to cancel any previous runs that are not completed for a given workflow\n      actions: write\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    env:\n      python-ver: '3.10'\n      CHANNELS: '-c dppy/label/coverage -c intel -c conda-forge --override-channels'\n      # Install the latest oneAPI compiler to work around an issue\n      INSTALL_ONE_API: 'yes'\n\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1\n        with:\n          access_token: ${{ github.token }}\n\n      - name: Checkout repo\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n\n      - name: Add Intel repository\n        if: env.INSTALL_ONE_API == 'yes'\n        run: |\n          wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB\n          sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB\n          rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB\n          sudo add-apt-repository \"deb https://apt.repos.intel.com/oneapi all main\"\n          sudo apt-get update\n\n      - name: Install latest Intel OneAPI\n        if: env.INSTALL_ONE_API == 'yes'\n        run: |\n          sudo apt-get install intel-oneapi-compiler-dpcpp-cpp\n          sudo apt-get install intel-oneapi-mkl-devel\n          sudo apt-get install intel-oneapi-tbb-devel\n\n      - name: Install Lcov\n        run: |\n          sudo apt-get install lcov\n\n      - name: Setup miniconda\n        uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          channels: conda-forge\n          python-version: ${{ env.python-ver }}\n          activate-environment: 'coverage'\n\n      # Here is an issue in conda gh-12356 causing adding defaults to the list of channels\n      # upon running `conda config --append channels conda-forge`, while mamba requires to have only conda-forge channel\n      - name: Remove defaults channel\n        run: |\n          conda config --remove channels defaults\n          conda config --show\n\n      # Sometimes `mamba install ...` fails due to slow download speed rate, so disable the check in mamba\n      - name: Disable speed limit check in mamba\n        run: echo \"MAMBA_NO_LOW_SPEED_LIMIT=1\" >> $GITHUB_ENV\n\n      - name: Install dpnp dependencies\n        if: env.INSTALL_ONE_API == 'yes'\n        run: |\n          mamba install cython llvm cmake\">=3.21\" scikit-build ninja pytest pytest-cov coverage[toml] \\\n              dpctl\">=0.18.0dev0\" onedpl-devel ${{ env.CHANNELS }}\n\n      - name: Install dpnp dependencies\n        if: env.INSTALL_ONE_API != 'yes'\n        run: |\n          mamba install cython llvm cmake\">=3.21\" scikit-build ninja pytest pytest-cov coverage[toml] \\\n              dpctl\">=0.18.0dev0\" dpcpp_linux-64 mkl-devel-dpcpp tbb-devel onedpl-devel ${{ env.CHANNELS }}\n\n      - name: Conda info\n        run: |\n          mamba info\n          mamba list\n\n      - name: Build dpnp with coverage\n        id: build_coverage\n        uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0\n        with:\n          shell: bash\n          timeout_minutes: 60\n          max_attempts: 5\n          retry_on: error\n          command: |\n            . $CONDA/etc/profile.d/conda.sh\n            conda activate coverage\n            [ -f /opt/intel/oneapi/setvars.sh ] && source /opt/intel/oneapi/setvars.sh\n            git clean -fxd\n            python scripts/gen_coverage.py --pytest-opts=\"--ignore tests/test_random.py\" --verbose\n\n      - name: Total number of coverage attempts\n        run: |\n          echo \"Total number of coverage attempts made: ${{ steps.build_coverage.outputs.total_attempts }}\"\n\n      - name: Install coverall dependencies\n        run: |\n          sudo gem install coveralls-lcov\n          pip install coveralls==3.3.1\n\n      - name: Upload coverage data to coveralls.io\n        run: |\n          echo \"Processing pytest-coverage\"\n          export DPNP_PYTEST_LCOV=$(find . -name dpnp_pytest.lcov)\n          coveralls-lcov -v -n $DPNP_PYTEST_LCOV > pytest-dpnp-c-api-coverage.json\n\n          # merge file with coverage data and upload\n          echo \"Merging files with coverage data\"\n          coveralls --service=github --merge=pytest-dpnp-c-api-coverage.json\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_PARALLEL: true\n\n  coveralls:\n    name: Indicate completion to coveralls.io\n    needs: generate-coverage\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n    - name: Finished\n      run: |\n        pip3 install --upgrade coveralls==3.3.1\n        coveralls --service=github --finish\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "intelpython/dpnp"}
{"mined_at": "2024-07-15T15:51:11.773143", "created_at": "2024-02-03T23:01:22+01:00", "updated_at": "2024-02-03T23:01:22+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/openssf-scorecard.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '28 2 * * 1'\n    - cron: '28 2 * * 4'\n  push:\n    branches: [ \"master\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 14\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "intelpython/dpnp"}
{"mined_at": "2024-07-15T15:51:12.826505", "created_at": "2021-11-08T13:29:59+01:00", "updated_at": "2024-02-17T16:41:15+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [master]\n\npermissions: read-all\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up clang-format\n        run: |\n          sudo apt-get install -y clang-format-12\n          sudo unlink /usr/bin/clang-format\n          sudo ln -s /usr/bin/clang-format-12 /usr/bin/clang-format\n          clang-format --version\n\n      - name: Set up pip packages\n        uses: BSFishy/pip-action@8f2d471d809dc20b6ada98c91910b6ae6243f318 # v1\n        with:\n          packages: |\n            codespell\n            pylint\n\n      - name: Checkout DPNP repo\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: Set up python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.11'\n\n      - name: Run pre-commit checks\n        uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1\n", "state": "active", "repository": "intelpython/dpnp"}
{"mined_at": "2024-07-15T15:51:13.913972", "created_at": "2021-12-21T11:29:26+01:00", "updated_at": "2021-12-21T11:29:26+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "intelpython/dpnp"}
{"mined_at": "2024-07-15T15:51:16.111305", "created_at": "2019-12-19T03:09:54+01:00", "updated_at": "2022-09-15T15:07:33+02:00", "name": "Bokeh-CI", "path": ".github/workflows/bokeh-ci.yml", "contents": "name: Bokeh-CI\n\non:\n  push:\n    branches:\n      - main\n      - branch-*\n  pull_request:\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\nenv:\n  CHROME_VER: \"118.0.5993.88\"\n  CHROME_REV: \"chromium_2670\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # full history to get proper build version\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniconda-version: 'latest'\n          activate-environment: bk-test\n          run-post: ${{ runner.os != 'Windows' }}\n\n      - name: Install libmamba solver\n        shell: bash -l {0}\n        run: |\n          conda install -q -n base conda-libmamba-solver\n          conda config --set solver libmamba\n\n      - name: Update bk-test environment\n        shell: bash -l {0}\n        run: |\n          conda env update -q -n bk-test -f conda/environment-build.yml\n\n      - name: Install node modules\n        run: bash scripts/ci/install_node_modules.sh\n\n      - name: Build BokehJS\n        working-directory: ./bokehjs\n        run: node make build\n\n      - name: Build pip packages\n        env:\n          BOKEHJS_ACTION: 'install'\n        run: python -m build .\n\n      - name: Verify pip install from sdist\n        run: bash scripts/ci/verify_pip_install_from_sdist.sh\n\n      - name: Verify pip install using sdist\n        run: bash scripts/ci/verify_pip_install_using_sdist.sh\n\n      - name: Verify pip install using wheel\n        run: bash scripts/ci/verify_pip_install_using_wheel.sh\n\n      - name: Build conda package\n        run: bash scripts/ci/build_conda_package.sh\n\n      - name: Verify conda install\n        run: bash scripts/ci/verify_conda_install.sh\n\n      - name: Upload wheel package\n        uses: actions/upload-artifact@v4\n        with:\n          name: wheel-package\n          path: dist/bokeh-*-py3-none-any.whl\n\n      - name: Upload bokehjs package\n        uses: actions/upload-artifact@v4\n        with:\n          name: bokehjs-package\n          path: bokehjs/build/dist/bokeh-bokehjs-*.tgz\n\n  codebase:\n    needs: build\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n\n    steps:\n      - name: Configure line endings in git\n        if: runner.os == 'Windows'\n        run: git config --global core.autocrlf false\n\n      - uses: actions/checkout@v4\n\n      - name: Prepare Environment\n        uses: ./.github/workflows/composite/test-setup\n        with:\n          test-env: '3.10'\n          source-tree: 'keep'\n\n      - name: List installed software\n        run: |\n          conda info\n          conda list\n          echo \"node $(node --version)\"\n          echo \"npm $(npm --version)\"\n\n      - name: Run codebase checks\n        run: pytest --color=yes tests/codebase\n\n      - name: MyPy\n        if: success() || failure()\n        run: mypy --version && mypy\n\n  examples:\n    needs: build\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Prepare Environment\n        uses: ./.github/workflows/composite/test-setup\n        with:\n          test-env: '3.10'\n          source-tree: 'delete'\n\n      - name: Install chromium\n        run: |\n          INSTALLED=$(chromium --version | cut -d' ' -f2 | cut -d'.' -f1-3)\n          EXPECTED=$(echo \"$CHROME_VER\" | cut -d'.' -f1-3)\n\n          echo \"Currently installed Chromium $INSTALLED; expected $EXPECTED\"\n\n          if [[ \"$INSTALLED\" = \"$EXPECTED\" ]]; then\n            echo \"Using pre-installed version of chromium\"\n          else\n            URL=https://github.com/bokeh/chromium/raw/main/linux/$CHROME_VER\n            wget --no-verbose $URL/$CHROME_REV.assert\n            wget --no-verbose $URL/$CHROME_REV.snap\n\n            sudo snap ack $CHROME_REV.assert\n            sudo snap install $CHROME_REV.snap\n          fi\n\n      - name: List installed software\n        run: |\n          conda info\n          conda list\n          echo \"node $(node --version)\"\n          echo \"npm $(npm --version)\"\n          chromium --version\n\n      - name: Start chrome headless\n        working-directory: ./bokehjs\n        run: node make test:spawn:headless # starts chrome in the background on port 9222\n\n      - name: Run tests\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        run: pytest -s -v --color=yes --tb line tests/test_examples.py\n\n      - name: Collect results\n        if: always()\n        env:\n          DST: \"examples-report\"\n        run: |\n          mkdir -p ${DST}\n          cp --parents examples-report.html $(cat .images-list) ${DST}\n\n      - name: Upload report\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: examples-report\n          path: examples-report\n\n  integration-tests:\n    if: ${{ false }}  # disable for now\n    needs: build\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Prepare Environment\n        uses: ./.github/workflows/composite/test-setup\n        with:\n          test-env: '3.11'\n          source-tree: 'delete'\n\n      - name: List installed software\n        run: |\n          conda info\n          conda list\n          echo \"node $(node --version)\"\n          echo \"npm $(npm --version)\"\n\n      - name: Run tests\n        run: pytest -v --cov=bokeh --cov-report=xml --tb=short --driver chrome --color=yes tests/integration\n\n      - name: Upload code coverage\n        uses: codecov/codecov-action@v4\n        with:\n          flags: integration\n          verbose: true\n\n  unit-test:\n    needs: build\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      max-parallel: 6\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.10', '3.11', '3.12']\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Prepare Environment\n        uses: ./.github/workflows/composite/test-setup\n        with:\n          test-env: ${{ matrix.python-version }}\n          source-tree: 'delete'\n\n      - name: Ensure Python version\n        run: if [[ ! \"$(python --version | cut -d' ' -f2)\" == \"${{ matrix.python-version }}\"* ]]; then exit 1; fi\n\n      - name: List installed software\n        run: |\n          conda info\n          conda list\n          echo \"node $(node --version)\"\n          echo \"npm $(npm --version)\"\n\n      - name: Test defaults\n        run: pytest tests/test_defaults.py\n\n      - name: Test cross\n        run: pytest tests/test_cross.py\n\n      - name: Run tests\n        if: success() || failure()\n        run: pytest --cov=bokeh --cov-report=xml --color=yes tests/unit\n\n      - name: Upload code coverage\n        uses: codecov/codecov-action@v4\n        if: success() || failure()\n        with:\n          env_vars: OS,PYTHON\n          flags: unit\n          verbose: true\n\n  minimal-deps:\n    needs: build\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n    env:\n      OS: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Prepare Environment\n        uses: ./.github/workflows/composite/test-setup\n        with:\n          test-env: 'minimal-deps'\n          source-tree: 'delete'\n\n      - name: List installed software\n        run: |\n          conda info\n          conda list\n          echo \"node $(node --version)\"\n          echo \"npm $(npm --version)\"\n\n      - name: Run tests\n        run: pytest -m \"not sampledata\" --cov=bokeh --cov-report=xml --color=yes tests/unit\n\n      - name: Upload code coverage\n        uses: codecov/codecov-action@v4\n        with:\n          env_vars: OS\n          flags: unit,minimal\n          verbose: true\n\n  documentation:\n    needs: build\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Prepare Environment\n        uses: ./.github/workflows/composite/test-setup\n        with:\n          test-env: '3.10'\n          source-tree: 'delete'\n\n      - name: List installed software\n        run: |\n          conda info\n          conda list\n          echo \"node $(node --version)\"\n          echo \"npm $(npm --version)\"\n\n      - name: Build docs\n        run: bash scripts/ci/build_docs.sh\n\n      - name: Upload docs\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs-html\n          path: docs/bokeh/docs-html.tgz\n\n  downstream:\n    needs: build\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Prepare Environment\n        uses: ./.github/workflows/composite/test-setup\n        with:\n          test-env: 'downstream'\n          source-tree: 'delete'\n\n      - name: Install downstream packages\n        run: bash scripts/ci/install_downstream_packages.sh\n\n      - name: List installed software\n        run: |\n          conda info\n          conda list\n          echo \"node $(node --version)\"\n          echo \"npm $(npm --version)\"\n\n      - name: Run tests\n        run: bash scripts/ci/run_downstream_tests.sh\n\n  docker_from_wheel:\n    if: ${{ false }}  # temporarily disable\n    needs: build\n    runs-on: ubuntu-latest\n    env:\n      IMAGE_TAG: bokeh/bokeh-dev:branch-3.1\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download wheel package\n        id: download\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel-package\n          path: dist/\n\n      - name: Start Docker container, install Bokeh from wheel and run Python tests.\n        env:\n          BOKEH_DOCKER_FROM_WHEEL: 1\n          BOKEH_DOCKER_INTERACTIVE: 0\n        run: |\n          scripts/docker/docker_run.sh $IMAGE_TAG\n", "state": "active", "repository": "bokeh/bokeh"}
{"mined_at": "2024-07-15T15:51:17.197560", "created_at": "2021-11-10T17:21:42+01:00", "updated_at": "2022-11-21T20:52:03+01:00", "name": "Bokeh-Docker-Build", "path": ".github/workflows/bokeh-docker-build.yml", "contents": "name: Bokeh-Docker-Build\n\non:\n  workflow_dispatch:\n    inputs:\n      push_or_save_image:\n        type: choice\n        description: What to do with image?\n        options:\n        - \"Push to Docker Hub\"\n        - \"Save as artifact\"\n        required: true\n        default: \"Push to Docker Hub\"\n\njobs:\n  docker-build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set date environment variable\n        run: |\n          echo \"iso_date=$(date -u --iso-8601)\" >> $GITHUB_ENV\n          echo \"branch_name=$(echo ${{ github.ref_name }} | tr / -)\" >> $GITHUB_ENV\n\n      - name: Checkout source\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: bokehservice\n          password: ${{ secrets.DOCKER_TOKEN }}\n\n      - name: Build image\n        uses: docker/build-push-action@v5\n        with:\n          context: scripts/docker\n          load: true\n          tags: |\n            bokeh/bokeh-dev:latest\n            bokeh/bokeh-dev:${{ env.iso_date }}\n            bokeh/bokeh-dev:${{ env.branch_name }}\n\n      - name: Push image to Docker Hub\n        if: ${{ inputs.push_or_save_image }} == \"Push to Docker Hub\"\n        uses: docker/build-push-action@v5\n        with:\n          context: scripts/docker\n          push: true\n          tags: |\n            bokeh/bokeh-dev:latest\n            bokeh/bokeh-dev:${{ env.iso_date }}\n            bokeh/bokeh-dev:${{ env.branch_name }}\n\n      - name: Save image to tar file\n        if: ${{ inputs.push_to_docker_hub }} == \"Save as artifact\"\n        run: |\n          docker save -o bokeh-dev.tar bokeh/bokeh-dev\n\n      - name: Upload artifact\n        if: ${{ inputs.push_to_docker_hub }} == \"Save as artifact\"\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: bokeh-dev.tar\n", "state": "active", "repository": "bokeh/bokeh"}
{"mined_at": "2024-07-15T15:51:18.253240", "created_at": "2022-11-17T16:24:43+01:00", "updated_at": "2022-11-21T20:52:03+01:00", "name": "Bokeh-Docker-Test", "path": ".github/workflows/bokeh-docker-test.yml", "contents": "name: Bokeh-Docker-Test\n\non:\n  push:\n    branches:\n      - main\n      - branch-*\n  pull_request:\n\njobs:\n  docker-test:\n    if: ${{ false }} # disable for now\n\n    runs-on: ubuntu-latest\n    env:\n      IMAGE_TAG: bokeh/bokeh-dev:branch-3.1\n\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # full history to get proper build version\n\n      - name: Start Docker container, build Bokeh and run tests.\n        env:\n          BOKEH_DOCKER_BUILD: 1\n          BOKEH_DOCKER_TEST: 1\n          BOKEH_DOCKER_INTERACTIVE: 0\n        run: |\n          scripts/docker/docker_run.sh $IMAGE_TAG\n\n      - name: Collect results\n        shell: bash\n        run: |\n          SRC=\"bokehjs/test/baselines/linux\"\n          DST=\"bokeh-report-docker/${SRC}\"\n          mkdir -p ${DST}\n          if [[ -e ${SRC}/report.json ]];\n          then\n            CHANGED=$(git status --short ${SRC}/\\*.blf ${SRC}/\\*.png | cut -c4-)\n            cp ${SRC}/report.json ${CHANGED} ${DST}\n          fi\n\n      - name: Upload report\n        uses: actions/upload-artifact@v4\n        with:\n          name: bokeh-report-docker\n          path: bokeh-report-docker\n", "state": "active", "repository": "bokeh/bokeh"}
{"mined_at": "2024-07-15T15:51:19.308794", "created_at": "2020-04-20T03:24:34+02:00", "updated_at": "2022-08-22T04:09:40+02:00", "name": "Release - Build", "path": ".github/workflows/bokeh-release-build.yml", "contents": "name: Release - Build\nrun-name: Release - Build ${{ github.event.inputs.version }}\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"Version to build a release for (e.g. 3.0.0, 2.4.0.dev8)\"\n        required: true\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n\n  build:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Check Maintainer\n        env:\n          BOKEH_VERSION: ${{ github.event.inputs.version }}\n        uses: tspascoal/get-user-teams-membership@v3\n        id: checkUserMember\n        with:\n          username: ${{ github.actor }}\n          team: 'release-manager'\n          GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}\n      - name: Maintainer confirmed\n        if: ${{ steps.checkUserMember.outputs.isTeamMember == 'true' }}\n        run: |\n          echo\n          echo \"User is authorized to build releases, proceeding with release build for $BOKEH_VERSION\"\n          git config --global user.email \"info@bokeh.org\"\n          git config --global user.name \"${{github.actor}}\"\n          exit 0\n      - name: Maintainer not detected\n        if: ${{ steps.checkUserMember.outputs.isTeamMember == 'false' }}\n        run: |\n          echo\n          echo \"User is NOT authorized to build releases, aborting...\"\n          echo\n          echo \"Please contact @bokeh/core about conducting releases.\"\n          exit 1\n\n      - uses: actions/checkout@v4\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniconda-version: 'latest'\n          activate-environment: bk-release-build\n          environment-file: conda/environment-release-build.yml\n\n      - name: List installed software\n        run: |\n          echo \"node $(node --version)\"\n          echo \"npm $(npm --version)\"\n          conda info\n          conda list\n\n      - name: Build Release Tarball\n        env:\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          BOKEH_VERSION: ${{ github.event.inputs.version }}\n          GH_TOKEN: ${{ secrets.GH_TOKEN }}\n          GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}\n          SLACK_TOKEN: ${{ secrets.SLACK_BUILD_RELEASE_TOKEN }}\n        run: python -m release build $BOKEH_VERSION\n", "state": "active", "repository": "bokeh/bokeh"}
{"mined_at": "2024-07-15T15:51:20.398662", "created_at": "2020-10-18T02:35:19+02:00", "updated_at": "2022-08-22T04:09:40+02:00", "name": "Release - Deploy", "path": ".github/workflows/bokeh-release-deploy.yml", "contents": "name: Release - Deploy\nrun-name: Release - Deploy ${{ github.event.inputs.version }}\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"Version to deploy a release for (e.g. 3.0.0, 2.4.0.dev8)\"\n        required: true\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n\n  deploy:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Check Maintainer\n        env:\n          BOKEH_VERSION: ${{ github.event.inputs.version }}\n        uses: tspascoal/get-user-teams-membership@v3\n        id: checkUserMember\n        with:\n          username: ${{ github.actor }}\n          team: 'release-manager'\n          GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}\n      - name: Maintainer confirmed\n        if: ${{ steps.checkUserMember.outputs.isTeamMember == 'true' }}\n        run: |\n          echo\n          echo \"User is authorized to deploy releases, proceeding with release deploy for $BOKEH_VERSION\"\n          exit 0\n      - name: Maintainer not detected\n        if: ${{ steps.checkUserMember.outputs.isTeamMember == 'false' }}\n        run: |\n          echo\n          echo \"User is NOT authorized to deploy releases, aborting...\"\n          echo\n          echo \"Please contact @bokeh/core about conducting releases.\"\n          exit 1\n\n      - uses: actions/checkout@v4\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniconda-version: 'latest'\n          activate-environment: bk-release-deploy\n          environment-file: conda/environment-release-deploy.yml\n\n      - name: Deploy Release Tarball\n        env:\n          ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          BOKEH_VERSION: ${{ github.event.inputs.version }}\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n          SLACK_TOKEN: ${{ secrets.SLACK_BUILD_RELEASE_TOKEN }}\n        run: python -m release deploy $BOKEH_VERSION\n", "state": "active", "repository": "bokeh/bokeh"}
{"mined_at": "2024-07-15T15:51:21.497004", "created_at": "2020-04-25T18:51:06+02:00", "updated_at": "2020-04-25T18:51:06+02:00", "name": "BokehJS-CI", "path": ".github/workflows/bokehjs-ci.yml", "contents": "name: BokehJS-CI\n\non:\n  push:\n    branches:\n      - main\n      - branch-*\n  pull_request:\n\nenv:\n  CHROME_VER: \"118.0.5993.88\"\n  CHROME_REV: \"chromium_2670\"\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      max-parallel: 3\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        node-version: [20.x]\n\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4\n\n      - name: Install node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n\n      - name: Upgrade npm\n        shell: bash\n        run: |\n          npm install --location=global npm\n\n      - name: Install chromium\n        if: runner.os == 'Linux'\n        shell: bash\n        run: |\n          INSTALLED=$(chromium --version | cut -d' ' -f2 | cut -d'.' -f1-3)\n          EXPECTED=$(echo \"$CHROME_VER\" | cut -d'.' -f1-3)\n\n          echo \"Currently installed Chromium ${INSTALLED}.*; expected ${EXPECTED}.*\"\n\n          if [[ \"$INSTALLED\" = \"$EXPECTED\" ]]; then\n            echo \"Using pre-installed version of chromium\"\n          else\n            URL=https://github.com/bokeh/chromium/raw/main/linux/$CHROME_VER\n            wget --no-verbose $URL/$CHROME_REV.assert\n            wget --no-verbose $URL/$CHROME_REV.snap\n\n            sudo snap ack $CHROME_REV.assert\n            sudo snap install $CHROME_REV.snap\n          fi\n\n      - name: Install dependencies\n        working-directory: ./bokehjs\n        shell: bash\n        run: |\n          npm ci --no-progress\n\n      - name: List installed software\n        working-directory: ./bokehjs\n        shell: bash\n        run: |\n          echo \"node $(node --version)\"\n          echo \"npm $(npm --version)\"\n          if [ \"$RUNNER_OS\" == \"Linux\" ]; then\n            chromium --version\n          elif [ \"$RUNNER_OS\" == \"Windows\" ]; then\n            # TODO: this hangs; version is reported in tests\n            # c:/Program\\ Files/Google/Chrome/Application/chrome.EXE --version\n            echo \"Chromium ??? (see tests)\"\n          elif [ \"$RUNNER_OS\" == \"macOS\" ]; then\n            /Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --version\n          fi\n          npm list\n\n      - name: Build bokehjs\n        working-directory: ./bokehjs\n        shell: bash\n        run: |\n          node make build\n\n      - name: Run tests\n        if: success() || failure()\n        working-directory: ./bokehjs\n        shell: bash\n        run: |\n          node make test\n\n      - name: Lint codebase\n        if: success() || failure()\n        working-directory: ./bokehjs\n        shell: bash\n        run: |\n          node make lint\n\n      - name: Check repository status\n        if: success() || failure()\n        shell: bash\n        run: |\n          OUTPUT=$(git status --short bokehjs -- ':!bokehjs/test/baselines')\n          if [[ ! -z \"$OUTPUT\" ]]; then echo $OUTPUT; exit 1; fi\n\n      - name: Collect results\n        if: runner.os == 'Linux' && (success() || failure())\n        shell: bash\n        run: |\n          SRC=\"bokehjs/test/baselines/linux\"\n          DST=\"bokehjs-report/${SRC}\"\n          mkdir -p ${DST}\n          if [[ -e ${SRC}/report.json ]];\n          then\n            CHANGED=$(git status --short ${SRC}/\\*.blf ${SRC}/\\*.png | cut -c4-)\n            cp ${SRC}/report.{json,out} ${CHANGED} ${DST}\n          fi\n\n      - name: Upload package\n        if: runner.os == 'Linux' && (success() || failure())\n        uses: actions/upload-artifact@v4\n        with:\n          name: bokehjs-package\n          path: bokehjs/build/dist/bokeh-bokehjs-*.tgz\n\n      - name: Upload report\n        if: runner.os == 'Linux' && (success() || failure())\n        uses: actions/upload-artifact@v4\n        with:\n          name: bokehjs-report\n          path: bokehjs-report\n", "state": "active", "repository": "bokeh/bokeh"}
{"mined_at": "2024-07-15T15:51:22.970833", "created_at": "2021-09-21T18:36:56+02:00", "updated_at": "2021-09-21T19:07:08+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ branch-*, future, main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ branch-* ]\n    paths:\n      - bokehjs\n      - examples\n      - release\n      - src/bokeh\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        config-file: ./.github/codeql/codeql-config.yml\n        languages: ${{ matrix.language }}\n        queries: +security-and-quality\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n      if: ${{ matrix.language == 'javascript' || matrix.language == 'python' }}\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "bokeh/bokeh"}
{"mined_at": "2024-07-15T15:51:25.158367", "created_at": "2020-11-29T17:28:33+01:00", "updated_at": "2020-11-29T17:28:33+01:00", "name": "Test", "path": ".github/workflows/pr.yml", "contents": "name: \"Test\"\non:\n  pull_request:\n  # For bors\n  push:\n    branches:\n     - staging\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: cachix/install-nix-action@V27\n      with:\n        nix_path: nixpkgs=channel:nixos-unstable\n        extra_nix_config: |\n          experimental-features = nix-command flakes\n    - run: ./ci/test.sh\n", "state": "active", "repository": "nix-community/nur"}
{"mined_at": "2024-07-15T15:51:26.208821", "created_at": "2020-11-29T17:41:05+01:00", "updated_at": "2022-12-18T10:29:01+01:00", "name": "Update", "path": ".github/workflows/update.yml", "contents": "name: \"Update\"\non:\n  workflow_dispatch:\n  schedule:\n    # chosen by fair dice rolling\n    - cron:  '40 * * * *'\n  push:\n    branches:\n      - master\njobs:\n  update_nur:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: '0'\n    - uses: cachix/install-nix-action@V27\n      with:\n        nix_path: nixpkgs=channel:nixos-unstable\n        extra_nix_config: |\n          experimental-features = nix-command flakes\n    - name: update nur / nur-combined\n      run: ./ci/update-nur.sh\n      env:\n        API_TOKEN_GITHUB: '${{ secrets.API_TOKEN_GITHUB }}'\n  update_search:\n    runs-on: ubuntu-latest\n    needs: update_nur\n    steps:\n    - uses: actions/checkout@v4\n    - uses: cachix/install-nix-action@V27\n      with:\n        nix_path: nixpkgs=channel:nixos-unstable\n        extra_nix_config: |\n          experimental-features = nix-command flakes\n    - name: update nur-search/data/packages.json\n      run: ./ci/update-nur-search.sh\n      env:\n        API_TOKEN_GITHUB: '${{ secrets.API_TOKEN_GITHUB }}'\n", "state": "active", "repository": "nix-community/nur"}
{"mined_at": "2024-07-15T15:51:28.226739", "created_at": "2023-08-10T13:08:22+02:00", "updated_at": "2023-08-10T13:08:22+02:00", "name": "Block \"fixup\" commit merges", "path": ".github/workflows/block-fixup-commits.yaml", "contents": null, "state": "active", "repository": "python-discord/bot"}
{"mined_at": "2024-07-15T15:51:29.398576", "created_at": "2023-03-03T14:59:18+01:00", "updated_at": "2023-03-03T14:59:18+01:00", "name": "Build & Deploy", "path": ".github/workflows/build-deploy.yml", "contents": "name: Build & Deploy\n\non:\n  workflow_call:\n    inputs:\n      sha-tag:\n        description: \"A short-form SHA tag for the commit that triggered this workflow\"\n        required: true\n        type: string\n\n\njobs:\n  build:\n    name: Build & Push\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      # The current version (v2) of Docker's build-push action uses\n      # buildx, which comes with BuildKit features that help us speed\n      # up our builds using additional cache features. Buildx also\n      # has a lot of other features that are not as relevant to us.\n      #\n      # See https://github.com/docker/build-push-action\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Github Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      # Build and push the container to the GitHub Container\n      # Repository. The container will be tagged as \"latest\"\n      # and with the short SHA of the commit.\n\n      - name: Build and push\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: ./Dockerfile\n          push: ${{ github.ref == 'refs/heads/main' }}\n          cache-from: type=registry,ref=ghcr.io/python-discord/bot:latest\n          cache-to: type=inline\n          tags: |\n            ghcr.io/python-discord/bot:latest\n            ghcr.io/python-discord/bot:${{ inputs.sha-tag }}\n          build-args: |\n            git_sha=${{ github.sha }}\n\n  deploy:\n    name: Deploy\n    needs: build\n    runs-on: ubuntu-latest\n    if: ${{ github.ref == 'refs/heads/main' }}\n    environment: production\n    steps:\n      - name: Checkout Kubernetes repository\n        uses: actions/checkout@v4\n        with:\n          repository: python-discord/infra\n          path: infra\n\n      - uses: azure/setup-kubectl@v4\n\n      - name: Authenticate with Kubernetes\n        uses: azure/k8s-set-context@v4\n        with:\n          method: kubeconfig\n          kubeconfig: ${{ secrets.KUBECONFIG }}\n\n      - name: Deploy to Kubernetes\n        uses: azure/k8s-deploy@v5\n        with:\n          namespace: bots\n          manifests: |\n            infra/kubernetes/namespaces/bots/bot/deployment.yaml\n          images: 'ghcr.io/python-discord/bot:${{ inputs.sha-tag }}'\n", "state": "active", "repository": "python-discord/bot"}
{"mined_at": "2024-07-15T15:51:30.391354", "created_at": "2020-11-18T21:29:52+01:00", "updated_at": "2023-02-13T16:16:25+01:00", "name": "Lint & Test", "path": ".github/workflows/lint-test.yml", "contents": "name: Lint & Test\n\non:\n  workflow_call\n\njobs:\n  lint-test:\n    runs-on: ubuntu-latest\n    env:\n      # List of licenses that are compatible with the MIT License and\n      # can be used in our project\n      ALLOWED_LICENSE: Apache Software License;\n        BSD License;\n        GNU Library or Lesser General Public License (LGPL);\n        ISC License (ISCL);\n        MIT License;\n        Mozilla Public License 2.0 (MPL 2.0);\n        Public Domain;\n        Python Software Foundation License;\n        The Unlicense (Unlicense)\n\n      # Dummy values for required bot environment variables\n      BOT_API_KEY: foo\n      BOT_SENTRY_DSN: blah\n      BOT_TOKEN: bar\n      REDDIT_CLIENT_ID: spam\n      REDDIT_SECRET: ham\n      REDIS_PASSWORD: ''\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Install Python Dependencies\n        uses: HassanAbouelela/actions/setup-python@setup-python_v1.6.0\n        with:\n          python_version: '3.12'\n\n      # Check all of our non-dev dependencies are compatible with the MIT license.\n      # If you added a new dependencies that is being rejected,\n      # please make sure it is compatible with the license for this project,\n      # and add it to the ALLOWED_LICENSE variable\n      - name: Check Dependencies License\n        run: |\n          poetry self add poetry-plugin-export\n          pip-licenses --allow-only=\"$ALLOWED_LICENSE\" \\\n            --package $(poetry export -f requirements.txt --without-hashes | sed \"s/==.*//g\" | tr \"\\n\" \" \")\n\n      - name: Run pre-commit hooks\n        run: SKIP=ruff pre-commit run --all-files\n\n      # Run `ruff` using github formatting to enable automatic inline annotations.\n      - name: Run ruff\n        run: \"ruff check --output-format=github .\"\n\n      - name: Run tests and generate coverage report\n        run: pytest -n auto --cov -q\n        env:\n          # Use \"sys.monitoring\" based coverage backend for better speed (see #3075)\n          COVERAGE_CORE: sysmon\n\n      # Prepare the Pull Request Payload artifact. If this fails, we\n      # we fail silently using the `continue-on-error` option. It's\n      # nice if this succeeds, but if it fails for any reason, it\n      # does not mean that our lint-test checks failed.\n      - name: Prepare Pull Request Payload artifact\n        id: prepare-artifact\n        if: always() && github.event_name == 'pull_request'\n        continue-on-error: true\n        run: cat $GITHUB_EVENT_PATH | jq '.pull_request' > pull_request_payload.json\n\n      # This only makes sense if the previous step succeeded. To\n      # get the original outcome of the previous step before the\n      # `continue-on-error` conclusion is applied, we use the\n      # `.outcome` value. This step also fails silently.\n      - name: Upload a Build Artifact\n        if: always() && steps.prepare-artifact.outcome == 'success'\n        continue-on-error: true\n        uses: actions/upload-artifact@v4\n        with:\n          name: pull-request-payload\n          path: pull_request_payload.json\n", "state": "active", "repository": "python-discord/bot"}
{"mined_at": "2024-07-15T15:51:31.680382", "created_at": "2023-03-03T00:20:56+01:00", "updated_at": "2023-03-03T14:59:18+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\n\njobs:\n\n  lint-test:\n    uses: ./.github/workflows/lint-test.yml\n\n  generate-sha-tag:\n    if: github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    outputs:\n      sha-tag: ${{ steps.sha-tag.outputs.sha-tag }}\n    steps:\n      - name: Create SHA Container tag\n        id: sha-tag\n        run: |\n          tag=$(cut -c 1-7 <<< $GITHUB_SHA)\n          echo \"sha-tag=$tag\" >> $GITHUB_OUTPUT\n\n\n  build-deploy:\n    uses: ./.github/workflows/build-deploy.yml\n    needs:\n      - lint-test\n      - generate-sha-tag\n    with:\n      sha-tag: ${{ needs.generate-sha-tag.outputs.sha-tag }}\n    secrets: inherit\n\n  sentry-release:\n    if: github.ref == 'refs/heads/main'\n    uses: ./.github/workflows/sentry_release.yml\n    needs: build-deploy\n    secrets: inherit\n", "state": "active", "repository": "python-discord/bot"}
{"mined_at": "2024-07-15T15:51:32.707995", "created_at": "2020-12-21T15:43:06+01:00", "updated_at": "2020-12-21T15:43:06+01:00", "name": "Create Sentry release", "path": ".github/workflows/sentry_release.yml", "contents": "name: Create Sentry release\n\non:\n  workflow_call\n\n\njobs:\n  create_sentry_release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Create a Sentry.io release\n        uses: tclindner/sentry-releases-action@v1.3.0\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: python-discord\n          SENTRY_PROJECT: bot\n        with:\n          tagName: ${{ github.sha }}\n          environment: production\n          releaseNamePrefix: bot@\n", "state": "active", "repository": "python-discord/bot"}
{"mined_at": "2024-07-15T15:51:33.868757", "created_at": "2020-12-10T21:31:23+01:00", "updated_at": "2023-03-03T11:45:06+01:00", "name": "Status Embed", "path": ".github/workflows/status_embed.yaml", "contents": "name: Status Embed\n\non:\n  workflow_run:\n    workflows:\n      - CI\n    types:\n      - completed\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  status_embed:\n    name:  Send Status Embed to Discord\n    runs-on: ubuntu-latest\n\n    steps:\n      # A workflow_run event does not contain all the information\n      # we need for a PR embed. That's why we upload an artifact\n      # with that information in the Lint workflow.\n      - name: Get Pull Request Information\n        id: pr_info\n        if: github.event.workflow_run.event == 'pull_request'\n        run: |\n          curl -s -H \"Authorization: token $GITHUB_TOKEN\" ${{ github.event.workflow_run.artifacts_url }} > artifacts.json\n          DOWNLOAD_URL=$(cat artifacts.json | jq -r '.artifacts[] | select(.name == \"pull-request-payload\") | .archive_download_url')\n          [ -z \"$DOWNLOAD_URL\" ] && exit 1\n          curl -sSL -H \"Authorization: token $GITHUB_TOKEN\" -o pull_request_payload.zip $DOWNLOAD_URL || exit 2\n          unzip -p pull_request_payload.zip > pull_request_payload.json\n          [ -s pull_request_payload.json ] || exit 3\n          echo \"pr_author_login=$(jq -r '.user.login // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n          echo \"pr_number=$(jq -r '.number // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n          echo \"pr_title=$(jq -r '.title // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n          echo \"pr_source=$(jq -r '.head.label // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      # Send an informational status embed to Discord instead of the\n      # standard embeds that Discord sends. This embed will contain\n      # more information and we can fine tune when we actually want\n      # to send an embed.\n      - name: GitHub Actions Status Embed for Discord\n        uses: SebastiaanZ/github-status-embed-for-discord@v0.3.0\n        with:\n          # Our GitHub Actions webhook\n          webhook_id: '784184528997842985'\n          webhook_token: ${{ secrets.GHA_WEBHOOK_TOKEN }}\n\n          # We need to provide the information of the workflow that\n          # triggered this workflow instead of this workflow.\n          workflow_name: ${{ github.event.workflow_run.name }}\n          run_id: ${{ github.event.workflow_run.id }}\n          run_number: ${{ github.event.workflow_run.run_number }}\n          status: ${{ github.event.workflow_run.conclusion }}\n          sha: ${{ github.event.workflow_run.head_sha }}\n\n          pr_author_login: ${{ steps.pr_info.outputs.pr_author_login }}\n          pr_number: ${{ steps.pr_info.outputs.pr_number }}\n          pr_title: ${{ steps.pr_info.outputs.pr_title }}\n          pr_source: ${{ steps.pr_info.outputs.pr_source }}\n", "state": "active", "repository": "python-discord/bot"}
{"mined_at": "2024-07-15T15:51:36.143706", "created_at": "2019-12-19T10:40:49+01:00", "updated_at": "2023-10-15T07:04:25+02:00", "name": "directory_writer", "path": ".github/workflows/directory_writer.yml", "contents": "# The objective of this GitHub Action is to update the DIRECTORY.md file (if needed)\n# when doing a git push\nname: directory_writer\non: [push]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Write DIRECTORY.md\n        run: |\n          scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md\n          git config --global user.name \"$GITHUB_ACTOR\"\n          git config --global user.email \"$GITHUB_ACTOR@users.noreply.github.com\"\n          git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY\n      - name: Update DIRECTORY.md\n        run: |\n          git add DIRECTORY.md\n          git commit -am \"updating DIRECTORY.md\" ||  true\n          git push --force origin HEAD:$GITHUB_REF || true\n", "state": "active", "repository": "thealgorithms/python"}
{"mined_at": "2024-07-15T15:51:37.403867", "created_at": "2020-10-16T13:51:01+02:00", "updated_at": "2020-10-16T13:51:01+02:00", "name": "Project Euler", "path": ".github/workflows/project_euler.yml", "contents": "on:\n  pull_request:\n    # Run only if a file is changed within the project_euler directory and related files\n    paths:\n      - \"project_euler/**\"\n      - \".github/workflows/project_euler.yml\"\n      - \"scripts/validate_solutions.py\"\n  schedule:\n    - cron: \"0 0 * * *\" # Run everyday\n\nname: \"Project Euler\"\n\njobs:\n  project-euler:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Install pytest and pytest-cov\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade numpy pytest pytest-cov\n      - run: pytest --doctest-modules --cov-report=term-missing:skip-covered --cov=project_euler/ project_euler/\n  validate-solutions:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Install pytest and requests\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade numpy pytest requests\n      - run: pytest scripts/validate_solutions.py\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "thealgorithms/python"}
{"mined_at": "2024-07-15T15:51:38.458539", "created_at": "2020-11-19T12:04:23+01:00", "updated_at": "2020-11-19T12:15:07+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: \"build\"\n\non:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\" # Run everyday\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          allow-prereleases: true\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools six wheel\n          python -m pip install pytest-cov -r requirements.txt\n      - name: Run tests\n        # TODO: #8818 Re-enable quantum tests\n        run: pytest\n          --ignore=quantum/q_fourier_transform.py\n          --ignore=project_euler/\n          --ignore=scripts/validate_solutions.py\n          --cov-report=term-missing:skip-covered\n          --cov=. .\n      - if: ${{ success() }}\n        run: scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md\n", "state": "active", "repository": "thealgorithms/python"}
{"mined_at": "2024-07-15T15:51:39.477203", "created_at": "2023-03-14T01:18:03+01:00", "updated_at": "2023-03-15T13:58:33+01:00", "name": "ruff", "path": ".github/workflows/ruff.yml", "contents": "# https://beta.ruff.rs\nname: ruff\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - run: pip install --user ruff\n      - run: ruff check --output-format=github .\n", "state": "active", "repository": "thealgorithms/python"}
{"mined_at": "2024-07-15T15:51:41.576992", "created_at": "2020-05-04T08:03:14+02:00", "updated_at": "2021-01-26T21:51:03+01:00", "name": "tfx-ci-test", "path": ".github/workflows/ci-test.yml", "contents": "# Github action definitions for ci-test with PRs.\n\nname: tfx-ci-test\non:\n  pull_request:\n    branches: [ master ]\n    paths-ignore:\n      - '**.md'\n      - 'docs/**'\n\njobs:\n  build:\n    if: github.actor != 'copybara-service[bot]'\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Get Changed Files\n      id: changed_files\n      uses: trilom/file-changes-action@v1.2.4\n      with:\n        fileOutput: ' '\n    - name: Select files to check\n      run: |\n        # Filter out non-python files.\n        (cat $HOME/files_added.txt; echo; cat $HOME/files_modified.txt) | tr ' ' '\\n' | grep '\\.py$' > py_files.txt || true\n        # Filter out non-test python files and e2e or integration tests.\n        cat py_files.txt | grep '_test\\.py$' | grep -v _e2e_ | grep -v integration | grep -v 'examples/' > py_test_files.txt || true\n        # Select proto files.\n        (cat $HOME/files_added.txt; echo; cat $HOME/files_modified.txt) | tr ' ' '\\n' | grep '\\.proto$' > proto_files.txt || true\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.9\n\n    - name: Set up Bazel 5.3.0\n      run: |\n        # Instruction from https://docs.bazel.build/versions/master/install-ubuntu.html\n        curl -sSL https://github.com/bazelbuild/bazel/releases/download/5.3.0/bazel-5.3.0-installer-linux-x86_64.sh -o bazel_installer.sh\n        chmod +x bazel_installer.sh\n        sudo ./bazel_installer.sh\n\n    - name: Cache pip\n      uses: actions/cache@v2\n      with:\n        # This path is specific to Ubuntu\n        path: ~/.cache/pip\n        # Look to see if there is a cache hit for the corresponding setup.py + TFX version \n        key: ${{ runner.os }}-pip-${{ hashFiles('tfx/dependencies.py') }}-\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel\n        # TODO(b/232490018): Cython need to be installed separately to build pycocotools.\n        python -m pip install Cython -c ./test_constraints.txt\n        TFX_DEPENDENCY_SELECTOR=NIGHTLY pip install -c ./test_constraints.txt --extra-index-url https://pypi-nightly.tensorflow.org/simple --pre --editable .[all]\n\n    - name: Run unit tests\n      shell: bash\n      run: |\n        [ ! -s \"py_test_files.txt\" ] || cat py_test_files.txt | xargs -I {} python {}\n\n    - name: Lint with protolint\n      continue-on-error: true\n      env:\n        PROTOLINT_VERSION: 0.25.1\n      shell: bash\n      run: |\n        curl -sSOL https://github.com/yoheimuta/protolint/releases/download/v${PROTOLINT_VERSION}/protolint_${PROTOLINT_VERSION}_Linux_x86_64.tar.gz\n        tar zxf protolint_${PROTOLINT_VERSION}_Linux_x86_64.tar.gz\n        echo \"[NOTE] This linter is currently EXPERIMENTAL.=======================================\"\n        echo \"Please contact reviewers for existing lint errors or false negative errors.\"\n        echo \"====================================================================================\"\n        [ ! -s \"proto_files.txt\" ] || cat proto_files.txt | xargs -I {} ./protolint {}\n\n    - name: Lint with pylint\n      continue-on-error: true\n      shell: bash\n      run: |\n        pip install pylint\n        echo \"[NOTE] This linter is currently EXPERIMENTAL.=======================================\"\n        echo \"Please contact reviewers for existing lint errors or false negative errors.\"\n        echo \"Feel free to send PRs for pylintrc in the root directory of the repository if needed.\"\n        echo \"====================================================================================\"\n        [ ! -s \"py_files.txt\" ] || pylint $(cat py_files.txt | tr '\\n' ' ')\n", "state": "active", "repository": "tensorflow/tfx"}
{"mined_at": "2024-07-15T15:51:42.624665", "created_at": "2023-07-10T13:18:46+02:00", "updated_at": "2023-07-10T13:18:46+02:00", "name": "CSAT survey", "path": ".github/workflows/csat.yml", "contents": "# Copyright 2023 Google LLC. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: 'CSAT survey'\non:\n  issues:\n    types:\n      - closed\n\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n\njobs:\n  welcome:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/github-script@v6\n        with:\n          script: |\n            const script = require('./\\.github/workflows/scripts/csat.js')\n            script({github, context})", "state": "active", "repository": "tensorflow/tfx"}
{"mined_at": "2024-07-15T15:51:43.733184", "created_at": "2020-07-28T09:04:15+02:00", "updated_at": "2023-03-21T06:46:20+01:00", "name": "Mark and close stale PRs/issues", "path": ".github/workflows/stale.yml", "contents": "# Copyright 2023 Google LLC. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# This workflow alerts and then closes the stale issues/PRs after specific time\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\n\nname: Mark and close stale PRs/issues\n\non:\n  schedule:\n  - cron: \"30 1 * * *\"\n  \n\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v7\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        #Comma separated list of labels that can be assigned to issues to exclude them from being marked as stale \n        exempt-issue-labels: 'override-stale' \n        #Comma separated list of labels that can be assigned to PRs to exclude them from being marked as stale \n        exempt-pr-labels: \"override-stale\" \n        #Limit the No. of API calls in one run default value is 30. \n        operations-per-run: 1000 \n        # Prevent to remove stale label when PRs or issues are updated.\n        remove-stale-when-updated: true\n        # List of labels to remove when issues/PRs unstale.\n        labels-to-remove-when-unstale: 'stat:awaiting response'\n        stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'\n        days-before-stale: 30\n        days-before-close: 5\n        \n        #comment on PR if stale for more then 30 days. \n        close-pr-message: This PR was closed due to lack of activity after being marked stale for past 30 days.\n        \n        # comment on issues if not active for more then 7 days.\n        stale-issue-message: 'This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.'\n        \n        #comment on issues if stale for more then 7 days. \n        close-issue-message: 'This issue was closed due to lack of activity after being marked stale for past 7 days.'\n              \n        # reason for closed the issue default value is not_planned \n        close-issue-reason: completed\n        \n        # Number of days of inactivity before a stale issue is closed\n        days-before-issue-close: 7\n        \n        # Number of days of inactivity before an issue Request becomes stale\n        days-before-issue-stale: 7\n                \n        #Check for label to stale or close the issue/PR\n        any-of-labels: 'stat:awaiting response'\n         \n        #stale label for PRs\n        stale-pr-label: 'stale'\n\n        #stale label for issues\n        stale-issue-label: 'stale'\n    - uses: actions/checkout@v3\n    - uses: actions/github-script@v6\n      with:\n        script: |\n          const script = require('./\\.github/workflows/scripts/stale_csat.js')\n          script({github, context})\n", "state": "active", "repository": "tensorflow/tfx"}
{"mined_at": "2024-07-15T15:51:44.771737", "created_at": "2023-08-10T00:23:31+02:00", "updated_at": "2023-08-10T00:23:31+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tensorflow/tfx"}
{"mined_at": "2024-07-15T15:51:46.883399", "created_at": "2023-05-11T19:31:28+02:00", "updated_at": "2024-07-08T22:06:26+02:00", "name": "External code check", "path": ".github/workflows/external-code-affected.yml", "contents": "# Check if code checked into external resources (blogs, tutorials)\n# that we also track in our CI is affected by a PR.\n# In that case, we add a label to the PR (`external-code-affected`) and\n# add a comment to make sure that the external code still works and is\n# eventually updated.\nname: External code check\n\non: pull_request_target\n\njobs:\n  check-changes:\n    permissions: write-all\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n        fetch-depth: 0\n      \n    - name: Check for changes in tracked files\n      run: |\n        set -xe\n        git clone https://github.com/ray-project/rayci.git ./rayci\n\n        # Find changed files\n        GIT_DIFF=$(git diff --name-only ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }})\n        \n        echo \"All changed files:\"\n        echo \"$GIT_DIFF\"\n        \n        GIT_DIFF_SERIALIZED=$(echo \"$GIT_DIFF\" | tr '\\n' '|')\n        echo \"GIT_DIFF_SERIALIZED=$GIT_DIFF_SERIALIZED\" >> $GITHUB_ENV\n\n    - name: Add label and comment if a tracked file changed\n      uses: actions/github-script@v5\n      with:\n        github-token: ${{secrets.GITHUB_TOKEN}}\n        script: |\n          const {\n            deserializeIntoArray,\n            filterFilesByNames,\n            getCommentContentChanged,\n            getCommentContentNotChanged,\n            parseTrackedFilesToURIs,\n            readFileContent\n          } = require('./rayci/external_code_tracker/track_code');\n          \n          const fs = require(\"fs\");\n          \n          const commentHeader = `## Attention: External code changed`\n          const externalCodeFile = \"doc/external/external_code.txt\" \n          \n          // Get existing comments\n          const existingComments = await github.rest.issues.listComments({\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            issue_number: context.issue.number\n          });\n          \n          // Find comment by the bot that starts with the header\n          let commentToUpdate = existingComments.data.find(comment =>\n            comment.user.login === 'github-actions[bot]' && comment.body.startsWith(commentHeader)\n          );\n          \n          let externCodeFileContent;\n          let trackedFilesToURIs;\n          \n          // Read and parse external_code.txt file\n          try {\n            externCodeFileContent = fs.readFileSync(externalCodeFile, \"utf8\");\n            trackedFilesToURIs = parseTrackedFilesToURIs(externCodeFileContent);\n          } catch (error) {\n            console.error(\"An error occurred reading the external code file:\", error);\n            trackedFilesToURIs = {};\n          }\n          \n          console.log(\"trackedFileToURIs\");\n          console.log(trackedFilesToURIs);\n          \n          // Get changed files from environment variable\n          let changedFiles = await deserializeIntoArray(process.env.GIT_DIFF_SERIALIZED)\n          \n          console.log(\"changedFiles\");\n          console.log(changedFiles);\n          \n          // Filter associative array\n          let changedFileToURIs = filterFilesByNames(trackedFilesToURIs, changedFiles);\n          \n          console.log(\"changedFileToURIs\");\n          console.log(changedFileToURIs);\n          console.log(changedFileToURIs.length);\n          \n          if (Object.keys(changedFileToURIs).length === 0) {\n            console.log(\"No changes to tracked files detected\");\n            commentBody = getCommentContentNotChanged(commentHeader);\n            if (commentToUpdate && commentBody !== commentToUpdate.body) {\n                await github.rest.issues.updateComment({\n                  owner: context.repo.owner,\n                  repo: context.repo.repo,\n                  comment_id: commentToUpdate.id,\n                  body: commentBody\n                });\n            }\n          } else {\n              console.log(\"Changes to tracked files detected\");\n              commentBody = getCommentContentChanged(commentHeader, changedFileToURIs);\n          \n              if (commentToUpdate) {\n              // Only update if content changed\n                if (commentBody !== commentToUpdate.body) {\n                  await github.rest.issues.updateComment({\n                    owner: context.repo.owner,\n                    repo: context.repo.repo,\n                    comment_id: commentToUpdate.id,\n                    body: commentBody\n                  });\n                }\n            } else {\n              await github.rest.issues.createComment({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                issue_number: context.issue.number,\n                body: commentBody\n              });\n            }\n            await github.rest.issues.addLabels({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: context.issue.number,\n              labels: ['external-code-affected']\n            });\n          \n          }\n\n", "state": "active", "repository": "ray-project/ray"}
{"mined_at": "2024-07-15T15:51:47.970772", "created_at": "2023-05-31T03:01:09+02:00", "updated_at": "2023-05-31T03:01:09+02:00", "name": "reviewdog", "path": ".github/workflows/vale.yml", "contents": null, "state": "active", "repository": "ray-project/ray"}
{"mined_at": "2024-07-15T15:51:49.035046", "created_at": "2024-05-08T17:51:13+02:00", "updated_at": "2024-05-13T19:28:48+02:00", "name": "Pull request synchronized", "path": ".github/workflows/on_pull_request_synchronized.yml", "contents": "name: Pull request synchronized\non:\n  pull_request_target:\n    types:\n      - synchronize\njobs:\n  disable-automerge:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v7\n        with:\n          script: |\n            const prQuery = `query PullRequest($owner: String!, $repo: String!, $pullRequestNumber: Int!) {\n              repository(owner: $owner, name: $repo) {\n                pullRequest(number: $pullRequestNumber) {\n                  id\n                  autoMergeRequest {\n                    enabledAt\n                  }\n                }\n              }\n            }`;\n            const prVariables = {\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              pullRequestNumber: context.issue.number\n            }\n            const prResult = await github.graphql(prQuery, prVariables)\n            if (!prResult.repository.pullRequest.autoMergeRequest) {\n              console.log('Auto merge is not enabled')\n              return\n            }\n            const automergeQuery = `mutation DisablePullRequestAutoMerge($pullRequestId: ID!) {\n              disablePullRequestAutoMerge(input: {pullRequestId: $pullRequestId}) {\n                pullRequest {\n                  id\n                }\n              }\n            }`;\n            const automergeVariables = {\n              pullRequestId: prResult.repository.pullRequest.id\n            }\n            const result = await github.graphql(automergeQuery, automergeVariables)\n            console.log(result)\n", "state": "active", "repository": "ray-project/ray"}
{"mined_at": "2024-07-15T15:51:50.072903", "created_at": "2024-05-11T16:20:50+02:00", "updated_at": "2024-05-12T00:30:06+02:00", "name": "Auto merge enabled", "path": ".github/workflows/on_auto_merge.yaml", "contents": "name: Auto merge enabled\non:\n  pull_request_target:\n    types:\n      - auto_merge_enabled\njobs:\n  add-go-label:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Add go label\n        uses: actions/github-script@v5\n        with:\n          script: |\n            github.rest.issues.addLabels({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: context.issue.number,\n              labels: ['go']\n            })\n", "state": "active", "repository": "ray-project/ray"}
{"mined_at": "2024-07-15T15:51:52.217561", "created_at": "2020-06-25T20:29:33+02:00", "updated_at": "2021-08-04T21:52:29+02:00", "name": "Code scanning", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"Code scanning\"\n\non:\n  push:\n    branches: [\"*.x\", chat.zulip.org, main]\n    tags: [\"*\"]\n  pull_request:\n    branches: [\"*.x\", chat.zulip.org, main]\n  workflow_dispatch:\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.head_ref || github.run_id }}\"\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  CodeQL:\n    permissions:\n      actions: read # for github/codeql-action/init to get workflow details\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/analyze to upload SARIF results\n    if: ${{!github.event.repository.private}}\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n\n        # Override language selection by uncommenting this and choosing your languages\n        # with:\n        #   languages: go, javascript, csharp, python, cpp, java\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "zulip/zulip"}
{"mined_at": "2024-07-15T15:51:53.266261", "created_at": "2020-07-17T21:13:04+02:00", "updated_at": "2020-10-23T20:46:59+02:00", "name": "Zulip production suite", "path": ".github/workflows/production-suite.yml", "contents": "name: Zulip production suite\n\non:\n  push:\n    branches: [\"*.x\", chat.zulip.org, main]\n    tags: [\"*\"]\n  pull_request:\n    paths:\n      - .github/workflows/production-suite.yml\n      - \"**/migrations/**\"\n      - manage.py\n      - pnpm-lock.yaml\n      - puppet/**\n      - requirements/**\n      - scripts/**\n      - tools/**\n      - web/babel.config.js\n      - web/postcss.config.js\n      - web/third/**\n      - web/webpack.config.ts\n      - zerver/worker/queue_processors.py\n      - zerver/lib/push_notifications.py\n      - zerver/decorator.py\n      - zproject/**\n  workflow_dispatch:\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.head_ref || github.run_id }}\"\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: read\n\njobs:\n  production_build:\n    # This job builds a release tarball from the current commit, which\n    # will be used for all of the following install/upgrade tests.\n    name: Ubuntu 22.04 production build\n    runs-on: ubuntu-latest\n\n    # Docker images are built from 'tools/ci/Dockerfile'; the comments at\n    # the top explain how to build and upload these images.\n    # Ubuntu 22.04 ships with Python 3.10.12.\n    container: zulip/ci:jammy\n\n    steps:\n      - name: Add required permissions\n        run: |\n          # The checkout actions doesn't clone to ~/zulip or allow\n          # us to use the path option to clone outside the current\n          # /__w/zulip/zulip directory. Since this directory is owned\n          # by root we need to change it's ownership to allow the\n          # github user to clone the code here.\n          # Note: /__w/ is a docker volume mounted to $GITHUB_WORKSPACE\n          # which is /home/runner/work/.\n          sudo chown -R github .\n\n          # This is the GitHub Actions specific cache directory the\n          # the current github user must be able to access for the\n          # cache action to work. It is owned by root currently.\n          sudo chmod -R 0777 /__w/_temp/\n\n      - uses: actions/checkout@v4\n\n      - name: Create cache directories\n        run: |\n          dirs=(/srv/zulip-{venv,emoji}-cache)\n          sudo mkdir -p \"${dirs[@]}\"\n          sudo chown -R github \"${dirs[@]}\"\n\n      - name: Restore pnpm store\n        uses: actions/cache@v4\n        with:\n          path: /__w/.pnpm-store\n          key: v1-pnpm-store-jammy-${{ hashFiles('pnpm-lock.yaml') }}\n\n      - name: Restore python cache\n        uses: actions/cache@v4\n        with:\n          path: /srv/zulip-venv-cache\n          key: v1-venv-jammy-${{ hashFiles('requirements/dev.txt') }}\n          restore-keys: v1-venv-jammy\n\n      - name: Restore emoji cache\n        uses: actions/cache@v4\n        with:\n          path: /srv/zulip-emoji-cache\n          key: v1-emoji-jammy-${{ hashFiles('tools/setup/emoji/emoji_map.json') }}-${{ hashFiles('tools/setup/emoji/build_emoji') }}-${{ hashFiles('tools/setup/emoji/emoji_setup_utils.py') }}-${{ hashFiles('tools/setup/emoji/emoji_names.py') }}-${{ hashFiles('package.json') }}\n          restore-keys: v1-emoji-jammy\n\n      - name: Build production tarball\n        run: ./tools/ci/production-build\n\n      - name: Upload production build artifacts for install jobs\n        uses: actions/upload-artifact@v4\n        with:\n          name: production-tarball\n          path: /tmp/production-build\n          retention-days: 1\n\n      - name: Verify pnpm store path\n        run: |\n          set -x\n          path=\"$(pnpm store path)\"\n          [[ \"$path\" == /__w/.pnpm-store/* ]]\n\n      - name: Generate failure report string\n        id: failure_report_string\n        if: ${{ failure() && github.repository == 'zulip/zulip' && github.event_name == 'push' }}\n        run: tools/ci/generate-failure-message >> $GITHUB_OUTPUT\n\n      - name: Report status to CZO\n        if: ${{ failure() && github.repository == 'zulip/zulip' && github.event_name == 'push' }}\n        uses: zulip/github-actions-zulip/send-message@v1\n        with:\n          api-key: ${{ secrets.ZULIP_BOT_KEY }}\n          email: \"github-actions-bot@chat.zulip.org\"\n          organization-url: \"https://chat.zulip.org\"\n          to: \"automated testing\"\n          topic: ${{ steps.failure_report_string.outputs.topic }}\n          type: \"stream\"\n          content: ${{ steps.failure_report_string.outputs.content }}\n\n  production_install:\n    # This job installs the server release tarball built above on a\n    # range of platforms, and does some basic health checks on the\n    # resulting installer Zulip server.\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # Docker images are built from 'tools/ci/Dockerfile'; the comments at\n          # the top explain how to build and upload these images.\n          - docker_image: zulip/ci:jammy\n            name: Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga\n            os: jammy\n            extra-args: \"\"\n\n          - docker_image: zulip/ci:noble\n            name: Ubuntu 24.04 production install\n            os: noble\n            extra-args: \"\"\n\n          - docker_image: zulip/ci:bookworm\n            name: Debian 12 production install with custom db name and user\n            os: bookworm\n            extra-args: --test-custom-db\n\n    name: ${{ matrix.name  }}\n    container:\n      image: ${{ matrix.docker_image }}\n      options: --init\n    runs-on: ubuntu-latest\n    needs: production_build\n\n    steps:\n      - name: Download built production tarball\n        uses: actions/download-artifact@v4\n        with:\n          name: production-tarball\n          path: /tmp\n\n      - name: Add required permissions and setup\n        run: |\n          # This is the GitHub Actions specific cache directory the\n          # the current github user must be able to access for the\n          # cache action to work. It is owned by root currently.\n          sudo chmod -R 0777 /__w/_temp/\n\n          # Since actions/download-artifact@v4 loses all the permissions\n          # of the tarball uploaded by the upload artifact fix those.\n          chmod +x /tmp/production-upgrade-pg\n          chmod +x /tmp/production-pgroonga\n          chmod +x /tmp/production-install\n          chmod +x /tmp/production-verify\n          chmod +x /tmp/generate-failure-message\n\n      - name: Create cache directories\n        run: |\n          dirs=(/srv/zulip-{venv,emoji}-cache)\n          sudo mkdir -p \"${dirs[@]}\"\n          sudo chown -R github \"${dirs[@]}\"\n\n      - name: Install production\n        run: sudo /tmp/production-install ${{ matrix.extra-args }}\n\n      - name: Verify install\n        run: sudo /tmp/production-verify ${{ matrix.extra-args }}\n\n      - name: Install pgroonga\n        if: ${{ matrix.os == 'jammy' }}\n        run: sudo /tmp/production-pgroonga\n\n      - name: Verify install after installing pgroonga\n        if: ${{ matrix.os == 'jammy' }}\n        run: sudo /tmp/production-verify ${{ matrix.extra-args }}\n\n      - name: Upgrade postgresql\n        if: ${{ matrix.os == 'jammy' }}\n        run: sudo /tmp/production-upgrade-pg\n\n      - name: Verify install after upgrading postgresql\n        if: ${{ matrix.os == 'jammy' }}\n        run: sudo /tmp/production-verify ${{ matrix.extra-args }}\n\n      - name: Generate failure report string\n        id: failure_report_string\n        if: ${{ failure() && github.repository == 'zulip/zulip' && github.event_name == 'push' }}\n        run: /tmp/generate-failure-message >> $GITHUB_OUTPUT\n\n      - name: Report status to CZO\n        if: ${{ failure() && github.repository == 'zulip/zulip' && github.event_name == 'push' }}\n        uses: zulip/github-actions-zulip/send-message@v1\n        with:\n          api-key: ${{ secrets.ZULIP_BOT_KEY }}\n          email: \"github-actions-bot@chat.zulip.org\"\n          organization-url: \"https://chat.zulip.org\"\n          to: \"automated testing\"\n          topic: ${{ steps.failure_report_string.outputs.topic }}\n          type: \"stream\"\n          content: ${{ steps.failure_report_string.outputs.content }}\n\n  production_upgrade:\n    # The production upgrade job starts with a container with a\n    # previous Zulip release installed, and attempts to upgrade it to\n    # the release tarball built for the current commit being tested.\n    #\n    # This is intended to catch bugs that result in the upgrade\n    # process failing.\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # Docker images are built from 'tools/ci/Dockerfile.prod'; the comments at\n          # the top explain how to build and upload these images.\n          - docker_image: zulip/ci:jammy-6.0\n            name: 6.0 Version Upgrade\n            os: jammy\n          - docker_image: zulip/ci:bookworm-7.0\n            name: 7.0 Version Upgrade\n            os: bookworm\n          - docker_image: zulip/ci:bookworm-8.0\n            name: 8.0 Version Upgrade\n            os: bookworm\n\n    name: ${{ matrix.name  }}\n    container:\n      image: ${{ matrix.docker_image }}\n      options: --init\n    runs-on: ubuntu-latest\n    needs: production_build\n\n    steps:\n      - name: Download built production tarball\n        uses: actions/download-artifact@v4\n        with:\n          name: production-tarball\n          path: /tmp\n\n      - name: Add required permissions and setup\n        run: |\n          # This is the GitHub Actions specific cache directory the\n          # the current github user must be able to access for the\n          # cache action to work. It is owned by root currently.\n          sudo chmod -R 0777 /__w/_temp/\n\n          # Since actions/download-artifact@v4 loses all the permissions\n          # of the tarball uploaded by the upload artifact fix those.\n          chmod +x /tmp/production-upgrade\n          chmod +x /tmp/production-verify\n          chmod +x /tmp/generate-failure-message\n\n      - name: Create cache directories\n        run: |\n          dirs=(/srv/zulip-{venv,emoji}-cache)\n          sudo mkdir -p \"${dirs[@]}\"\n          sudo chown -R github \"${dirs[@]}\"\n\n      - name: Upgrade production\n        run: sudo /tmp/production-upgrade\n\n        # TODO: We should be running production-verify here, but it\n        # doesn't pass yet.\n        #\n        # - name: Verify install\n        #   run: sudo /tmp/production-verify\n\n      - name: Generate failure report string\n        id: failure_report_string\n        if: ${{ failure() && github.repository == 'zulip/zulip' && github.event_name == 'push' }}\n        run: /tmp/generate-failure-message >> $GITHUB_OUTPUT\n\n      - name: Report status to CZO\n        if: ${{ failure() && github.repository == 'zulip/zulip' && github.event_name == 'push' }}\n        uses: zulip/github-actions-zulip/send-message@v1\n        with:\n          api-key: ${{ secrets.ZULIP_BOT_KEY }}\n          email: \"github-actions-bot@chat.zulip.org\"\n          organization-url: \"https://chat.zulip.org\"\n          to: \"automated testing\"\n          topic: ${{ steps.failure_report_string.outputs.topic }}\n          type: \"stream\"\n          content: ${{ steps.failure_report_string.outputs.content }}\n", "state": "active", "repository": "zulip/zulip"}
{"mined_at": "2024-07-15T15:51:54.347669", "created_at": "2021-03-27T00:01:19+01:00", "updated_at": "2021-03-27T00:01:19+01:00", "name": "Update one click apps", "path": ".github/workflows/update-oneclick-apps.yml", "contents": "name: Update one click apps\non:\n  release:\n    types: [published]\npermissions:\n  contents: read\n\njobs:\n  update-digitalocean-oneclick-app:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Update DigitalOcean one click app\n        env:\n          DIGITALOCEAN_API_KEY: ${{ secrets.ONE_CLICK_ACTION_DIGITALOCEAN_API_KEY }}\n          ZULIP_API_KEY: ${{ secrets.ONE_CLICK_ACTION_ZULIP_BOT_API_KEY }}\n          ZULIP_EMAIL: ${{ secrets.ONE_CLICK_ACTION_ZULIP_BOT_EMAIL }}\n          ZULIP_SITE: https://chat.zulip.org\n          ONE_CLICK_ACTION_STREAM: kandra ops\n          PYTHON_DIGITALOCEAN_REQUEST_TIMEOUT_SEC: 30\n          RELEASE_VERSION: ${{ github.event.release.tag_name }}\n        run: |\n          export PATH=\"$HOME/.local/bin:$PATH\"\n          git clone https://github.com/zulip/marketplace-partners\n          pip3 install python-digitalocean zulip fab-classic PyNaCl\n          echo $PATH\n          python3 tools/oneclickapps/prepare_digital_ocean_one_click_app_release.py\n", "state": "active", "repository": "zulip/zulip"}
{"mined_at": "2024-07-15T15:51:55.456846", "created_at": "2020-06-25T22:22:06+02:00", "updated_at": "2020-06-25T22:22:06+02:00", "name": "Zulip CI", "path": ".github/workflows/zulip-ci.yml", "contents": "# NOTE: Everything test in this file should be in `tools/test-all`.  If there's a\n# reason not to run it there, it should be there as a comment\n# explaining why.\n\nname: Zulip CI\n\non:\n  push:\n    branches: [\"*.x\", chat.zulip.org, main]\n    tags: [\"*\"]\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.head_ref || github.run_id }}\"\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # Base images are built using `tools/ci/Dockerfile.prod.template`.\n          # The comments at the top explain how to build and upload these images.\n          # Ubuntu 22.04 ships with Python 3.10.12.\n          - docker_image: zulip/ci:jammy\n            name: Ubuntu 22.04 (Python 3.10, backend + frontend)\n            os: jammy\n            include_documentation_tests: false\n            include_frontend_tests: true\n          # Debian 12 ships with Python 3.11.2.\n          - docker_image: zulip/ci:bookworm\n            name: Debian 12 (Python 3.11, backend + documentation)\n            os: bookworm\n            include_documentation_tests: true\n            include_frontend_tests: false\n          # Ubuntu 24.04 ships with Python 3.12.2.\n          - docker_image: zulip/ci:noble\n            name: Ubuntu 24.04 (Python 3.12, backend)\n            os: noble\n            include_documentation_tests: false\n            include_frontend_tests: false\n\n    runs-on: ubuntu-latest\n    name: ${{ matrix.name }}\n    container: ${{ matrix.docker_image }}\n    env:\n      # GitHub Actions sets HOME to /github/home which causes\n      # problem later in provision and frontend test that runs\n      # tools/setup/postgresql-init-dev-db because of the .pgpass\n      # location. PostgreSQL (psql) expects .pgpass to be at\n      # /home/github/.pgpass and setting home to `/home/github/`\n      # ensures it written there because we write it to ~/.pgpass.\n      HOME: /home/github/\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Create cache directories\n        run: |\n          dirs=(/srv/zulip-{venv,emoji}-cache)\n          sudo mkdir -p \"${dirs[@]}\"\n          sudo chown -R github \"${dirs[@]}\"\n\n      - name: Restore pnpm store\n        uses: actions/cache@v4\n        with:\n          path: /__w/.pnpm-store\n          key: v1-pnpm-store-${{ matrix.os }}-${{ hashFiles('pnpm-lock.yaml') }}\n\n      - name: Restore python cache\n        uses: actions/cache@v4\n        with:\n          path: /srv/zulip-venv-cache\n          key: v1-venv-${{ matrix.os }}-${{ hashFiles('requirements/dev.txt') }}\n          restore-keys: v1-venv-${{ matrix.os }}\n\n      - name: Restore emoji cache\n        uses: actions/cache@v4\n        with:\n          path: /srv/zulip-emoji-cache\n          key: v1-emoji-${{ matrix.os }}-${{ hashFiles('tools/setup/emoji/emoji_map.json', 'tools/setup/emoji/build_emoji', 'tools/setup/emoji/emoji_setup_utils.py', 'tools/setup/emoji/emoji_names.py', 'package.json') }}\n          restore-keys: v1-emoji-${{ matrix.os }}\n\n      - name: Install dependencies\n        run: |\n          # This is the main setup job for the test suite\n          ./tools/ci/setup-backend --skip-dev-db-build\n          scripts/lib/clean_unused_caches.py --verbose --threshold=0\n\n      - name: Run tools test\n        run: |\n          source tools/ci/activate-venv\n          ./tools/test-tools\n\n      - name: Run Codespell lint\n        run: |\n          source tools/ci/activate-venv\n          ./tools/run-codespell\n\n      # We run the tests that are only run in a specific job early, so\n      # that we get feedback to the developer about likely failures as\n      # quickly as possible. Backend/mypy failures that aren't\n      # identical across different versions are much more rare than\n      # frontend linter or node test failures.\n      - name: Run documentation and api tests\n        if: ${{ matrix.include_documentation_tests }}\n        run: |\n          source tools/ci/activate-venv\n          # In CI, we only test links we control in test-documentation to avoid flakes\n          ./tools/test-documentation --skip-external-links\n          ./tools/test-help-documentation --skip-external-links\n          ./tools/test-api\n\n      - name: Run node tests\n        if: ${{ matrix.include_frontend_tests }}\n        run: |\n          source tools/ci/activate-venv\n          # Run the node tests first, since they're fast and deterministic\n          ./tools/test-js-with-node --coverage --parallel=1\n\n      - name: Run frontend lint\n        if: ${{ matrix.include_frontend_tests }}\n        run: |\n          source tools/ci/activate-venv\n          ./tools/lint --groups=frontend --skip=gitlint # gitlint disabled because flaky\n\n      - name: Check schemas\n        if: ${{ matrix.include_frontend_tests }}\n        run: |\n          source tools/ci/activate-venv\n          # Check that various schemas are consistent. (is fast)\n          ./tools/check-schemas\n\n      - name: Check capitalization of strings\n        if: ${{ matrix.include_frontend_tests }}\n        run: |\n          source tools/ci/activate-venv\n          ./manage.py makemessages --locale en\n          PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate\n          PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate\n\n      - name: Run puppeteer tests\n        if: ${{ matrix.include_frontend_tests }}\n        run: |\n          source tools/ci/activate-venv\n          ./tools/test-js-with-puppeteer\n\n      - name: Check pnpm dedupe\n        if: ${{ matrix.include_frontend_tests }}\n        run: pnpm dedupe --check\n\n      - name: Run backend lint\n        run: |\n          source tools/ci/activate-venv\n          echo \"Test suite is running under $(python --version).\"\n          ./tools/lint --groups=backend --skip=gitlint,mypy # gitlint disabled because flaky\n\n      - name: Run backend tests\n        run: |\n          source tools/ci/activate-venv\n          ./tools/test-backend ${{ matrix.os != 'bookworm' && '--coverage' || '' }} --xml-report --no-html-report --include-webhooks --include-transaction-tests --no-cov-cleanup --ban-console-output\n\n      - name: Run mypy\n        run: |\n          source tools/ci/activate-venv\n          # We run mypy after the backend tests so we get output from the\n          # backend tests, which tend to uncover more serious problems, first.\n          ./tools/run-mypy --version\n          ./tools/run-mypy\n\n      - name: Run miscellaneous tests\n        run: |\n          source tools/ci/activate-venv\n\n          # Currently our compiled requirements files will differ for different\n          # Python versions, so we will run test-locked-requirements only on the\n          # platform with the oldest one.\n          # ./tools/test-locked-requirements\n          # ./tools/test-run-dev  # https://github.com/zulip/zulip/pull/14233\n          #\n          # This test has been persistently flaky at like 1% frequency, is slow,\n          # and is for a very specific single feature, so we don't run it by default:\n          # ./tools/test-queue-worker-reload\n\n          ./tools/test-migrations\n          ./tools/setup/optimize-svg --check\n          ./tools/setup/generate_integration_bots_avatars.py --check-missing\n          ./tools/ci/check-executables\n\n          # Ban check-database-compatibility from transitively\n          # relying on static/generated, because it might not be\n          # up-to-date at that point in upgrade-zulip-stage-2.\n          chmod 000 static/generated web/generated\n          ./scripts/lib/check-database-compatibility\n          chmod 755 static/generated web/generated\n\n      - name: Check for untracked files\n        run: |\n          source tools/ci/activate-venv\n          # This final check looks for untracked files that may have been\n          # created by test-backend or provision.\n          untracked=\"$(git ls-files --exclude-standard --others)\"\n          if [ -n \"$untracked\" ]; then\n              printf >&2 \"Error: untracked files:\\n%s\\n\" \"$untracked\"\n              exit 1\n          fi\n\n      - name: Test locked requirements\n        if: ${{ matrix.os == 'jammy' }}\n        run: |\n          . /srv/zulip-py3-venv/bin/activate && \\\n          ./tools/test-locked-requirements\n\n      - name: Upload coverage reports\n\n        # Only upload coverage when both frontend and backend\n        # tests are run.\n        if: ${{ matrix.include_frontend_tests }}\n        uses: codecov/codecov-action@v4\n        with:\n          files: var/coverage.xml,var/node-coverage/lcov.info\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n      - name: Store Puppeteer artifacts\n        # Upload these on failure, as well\n        if: ${{ always() && matrix.include_frontend_tests }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: puppeteer\n          path: ./var/puppeteer\n          retention-days: 60\n\n      - name: Check development database build\n        run: ./tools/ci/setup-backend\n\n      - name: Verify pnpm store path\n        run: |\n          set -x\n          path=\"$(pnpm store path)\"\n          [[ \"$path\" == /__w/.pnpm-store/* ]]\n\n      - name: Generate failure report string\n        id: failure_report_string\n        if: ${{ failure() && github.repository == 'zulip/zulip' && github.event_name == 'push' }}\n        run: tools/ci/generate-failure-message >> $GITHUB_OUTPUT\n\n      - name: Report status to CZO\n        if: ${{ failure() && github.repository == 'zulip/zulip' && github.event_name == 'push' }}\n        uses: zulip/github-actions-zulip/send-message@v1\n        with:\n          api-key: ${{ secrets.ZULIP_BOT_KEY }}\n          email: \"github-actions-bot@chat.zulip.org\"\n          organization-url: \"https://chat.zulip.org\"\n          to: \"automated testing\"\n          topic: ${{ steps.failure_report_string.outputs.topic }}\n          type: \"stream\"\n          content: ${{ steps.failure_report_string.outputs.content }}\n", "state": "active", "repository": "zulip/zulip"}
{"mined_at": "2024-07-15T15:51:57.565447", "created_at": "2022-09-19T16:16:20+02:00", "updated_at": "2022-09-19T16:16:20+02:00", "name": "is your code linted with black?", "path": ".github/workflows/isblacked.yml", "contents": "#Checks if the code is formatted with black.\n\nname: is your code linted with black?\non: [pull_request]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.10'\n      - name: Install Black\n        run: pip install black\n      - name: Run black --check .\n        run: black . --exclude \"external/*\" --check -l120", "state": "active", "repository": "pyomeca/bioptim"}
{"mined_at": "2024-07-15T15:51:58.696366", "created_at": "2023-08-02T10:14:50+02:00", "updated_at": "2023-08-03T17:09:39+02:00", "name": "Run the tests", "path": ".github/workflows/run_tests_linux.yml", "contents": "name: Run the tests\n\non: [pull_request]\n\nenv:\n  PREFIX_LINUX: /usr/share/miniconda3/envs/bioptim\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        shard: [1, 2, 3, 4, 5, 6]\n    name: Tests on ${{ matrix.os }}-shard ${{ matrix.shard }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Set prefix Linux\n        run: echo \"PREFIX=${{ env.PREFIX_LINUX }}\" >> $GITHUB_ENV\n\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Setup environment\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          activate-environment: bioptim\n          environment-file: environment.yml\n\n      - name: Print mamba info\n        run: |\n          mamba info\n          mamba list\n\n      - name: Install extra dependencies\n        run: | \n          mamba install pytest-cov black pytest pytest-cov codecov packaging -cconda-forge\n          sudo apt install -y librhash-dev\n\n      - name: Install ACADOS on Linux\n        run: |\n          pwd\n          cd external\n          ./acados_install_linux.sh 4 ${{ env.PREFIX_LINUX }}\n          cd ..\n        if: matrix.shard == 1\n\n      - name: Test installed version of bioptim\n        run: |\n          python setup.py install\n          cd\n          python -c \"import bioptim\"\n        if: matrix.shard == 1\n\n      - name: Run tests with code coverage\n        run: pytest -v --color=yes --cov-report term-missing --cov=bioptim --cov-report=xml:coverage.xml tests/shard${{ matrix.shard }}\n        if: matrix.os == 'ubuntu-latest'\n\n      - name: Archive coverage report\n        id: archive\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage${{ matrix.shard }}\n          path: |\n            coverage.xml\n            .coverage\n\n\n  merge-coverage:\n    needs: build\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Set prefix Linux\n        run:\n            echo \"PREFIX=${{ env.PREFIX_LINUX }}\" >> $GITHUB_ENV\n\n\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Setup environment\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          activate-environment: bioptim\n          environment-file: environment.yml\n\n      - name: Print mamba info\n        run: |\n          mamba info\n#          mamba list\n\n      - name: Install extra dependencies\n        run: |\n          sudo apt-get install -y python3-pip\n          pip3 install coverage\n\n      - name: Download all workflow run artifacts\n        id: download\n        uses: actions/download-artifact@v3\n\n      - name: Rename coverage files\n        run: |\n          for shard in {1,2,3,4,5,6}; do\n            mv coverage${shard}/coverage.xml coverage${shard}.xml\n            mv coverage${shard}/.coverage* .coverage${shard}\n          done\n\n      - name: Show current dir content\n        run: pwd; ls -a -l\n\n      - name: Merge coverage reports\n        run: coverage combine .coverage1 .coverage2 .coverage3 .coverage4\n\n      - name: Show current dir content with new .coverage file\n        run: pwd; ls -a\n\n      - name: Generate XML report\n        run: |\n          coverage xml\n          coverage report -m\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v2\n        with:\n          #token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          #files: ./coverage1.xml, ./coverage2.xml, ./coverage3.xml, ./coverage4.xml\n          flags: unittests\n          fail_ci_if_error: true\n          verbose: true", "state": "active", "repository": "pyomeca/bioptim"}
{"mined_at": "2024-07-15T15:51:59.822482", "created_at": "2023-08-02T10:14:50+02:00", "updated_at": "2023-08-03T17:09:39+02:00", "name": "Run the tests", "path": ".github/workflows/run_tests_osx_win.yml", "contents": "name: Run the tests\n\non: [pull_request]\n\nenv:\n  PREFIX_MACOS: /Users/runner/miniconda3/envs/bioptim\n  PREFIX_WINDOWS: C:\\Miniconda3\\envs\\bioptim\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest]\n        shard: [1, 2, 3, 4, 5, 6]\n    name: Tests on ${{ matrix.os }}-shard ${{ matrix.shard }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Set prefix osx\n        run: |\n          echo \"PREFIX=${{ env.PREFIX_MACOS }}\" >> $GITHUB_ENV\n        if: matrix.os == 'macos-latest'\n\n      - name: Set prefix windows\n        run: |\n          echo \"PREFIX=${{ env.PREFIX_WINDOWS }}\" >> $GITHUB_ENV\n        if: matrix.os == 'windows-latest'\n\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Setup environment\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          activate-environment: bioptim\n          environment-file: environment.yml\n\n      - name: Print mamba info\n        run: |\n          mamba info\n          mamba list\n\n      - name: Install extra dependencies\n        run: mamba install pytest-cov black pytest pytest-cov codecov packaging -cconda-forge\n\n      - name: Install ACADOS on Mac\n        run: |\n          pwd\n          cd external\n          ./acados_install_mac.sh 4 ${{ env.PREFIX_MACOS }}\n          cd ..\n        if: matrix.os == 'macos-latest' && matrix.shard == 1\n\n      - name: Test installed version of bioptim\n        run: |\n          python setup.py install\n          cd\n          python -c \"import bioptim\"\n        if: matrix.shard == 1\n\n      - name: Run tests without code coverage\n        run: pytest -v --color=yes tests/shard${{ matrix.shard }}\n", "state": "active", "repository": "pyomeca/bioptim"}
{"mined_at": "2024-07-15T15:52:02.071185", "created_at": "2022-08-15T11:40:02+02:00", "updated_at": "2022-08-15T11:41:20+02:00", "name": "Publish python package", "path": ".github/workflows/publish.yaml", "contents": "name: Publish python package\non:\n  release:\n    types: [published]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build and publish to pypi\n        uses: JRubics/poetry-publish@v2.0\n        with:\n          python_version: 3.8\n          pypi_token: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "mause/duckdb_engine"}
{"mined_at": "2024-07-15T15:52:03.096817", "created_at": "2020-10-24T09:08:12+02:00", "updated_at": "2020-10-24T09:08:12+02:00", "name": "Python application", "path": ".github/workflows/pythonapp.yaml", "contents": "name: Python application\n\non: [pull_request, workflow_dispatch]\npermissions:\n  checks: write\n\njobs:\n  build_backend:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [3.8, 3.9, \"3.10\"]\n\n    env:\n      FORCE_COLOR: 1\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Remove cached duckdb extensions\n        run: rm -rf ~/.duckdb\n      - uses: fjwillemsen/setup-nox2@v3.0.0\n      - run: python -m pip install github-action-utils uv -U\n      - name: Lint with flake8\n        run: |\n          pip install flake8\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n      - name: List nox envs\n        run: nox -l\n      - run: nox --pythons '${{ matrix.python }}'\n      - name: Publish Unit Test Results\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        if: always()\n        with:\n          junit_files: results.xml\n          comment_mode: off\n          check_name:  \"Test Results - ${{ join(matrix.*, ', ') }}\"\n      - uses: codecov/codecov-action@v4\n        env:\n          PYTHON: ${{matrix.python}}\n          BLEEDING_EDGE: ${{matrix.bleeding_edge}}\n        with:\n          files: ./coverage.xml\n          token: ${{ secrets.CODECOV_TOKEN }}\n          env_vars: PYTHON,BLEEDING_EDGE  # set from matrix\n          fail_ci_if_error: true\n          verbose: true\n", "state": "active", "repository": "mause/duckdb_engine"}
{"mined_at": "2024-07-15T15:52:04.160783", "created_at": "2022-06-29T14:17:30+02:00", "updated_at": "2022-06-29T14:17:30+02:00", "name": "release-please", "path": ".github/workflows/release-please.yml", "contents": "on:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\nname: release-please\njobs:\n  release-please:\n    runs-on: ubuntu-latest\n    steps:\n      - run: npx release-please debug-config --repo-url https://github.com/Mause/duckdb_engine\n      - uses: google-github-actions/release-please-action@v4\n        with:\n          release-type: python\n          token: ${{ secrets.ACCESS_TOKEN }}\n", "state": "active", "repository": "mause/duckdb_engine"}
{"mined_at": "2024-07-15T15:52:05.230161", "created_at": "2023-01-17T07:19:45+01:00", "updated_at": "2023-01-17T07:19:45+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mause/duckdb_engine"}
{"mined_at": "2024-07-15T15:52:07.330654", "created_at": "2020-05-22T00:20:47+02:00", "updated_at": "2020-09-01T23:05:10+02:00", "name": "Testing", "path": ".github/workflows/testing.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Testing\n\non: push\n\njobs:\n  lint:\n    name: Lint code\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        name: Install Python\n        with:\n          python-version: '3.8'\n\n      # Lint things before going any further\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8\n\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --show-source --statistics\n          # exit-zero treats all errors as warnings.\n          flake8 . --count --exit-zero --max-complexity=10 --statistics\n\n  test:\n    name: Test on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 2\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        # os: [ubuntu-latest, macos-latest]\n        python-version: [3.7, 3.8, 3.9]\n\n    steps:\n      # Checkout and env setup\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies (Linux)\n        if: ${{ runner.os == 'Linux' }}\n        run: |\n          sudo apt-get update\n          sudo bash scripts/ci_prepare_linux_for_build.sh\n\n      - name: Install dependencies (macOS)\n        if: ${{ runner.os == 'macOS' }}\n        run: |\n          bash scripts/ci_prepare_macos_for_build.sh\n\n      - name: Build project\n        run: |\n          bash run_developer_setup.sh\n\n      # Install and test\n      - name: Install project\n        run: |\n          pip install --upgrade pip\n          pip install -e .[tests,problematic]\n          mkdir -p /tmp/work\n          export PYTHONFAULTHANDLER=1\n          python -X faulthandler -m wbia --set-workdir /tmp/work --preload-exit\n\n      - name: gdb backtrace (if failed)\n        if: failure()\n        run: |\n          set -x\n          sudo apt-get install -y gdb\n          echo -e \"r\\nbt\\nq\" | gdb --args python -m wbia --set-workdir /tmp/work --preload-exit\n\n      - name: Test project\n        run: |\n          pytest --slow --web-tests\n\n      - name: Ensure web loads\n        run: |\n          timeout 30 python -m wbia.dev --dbdir /tmp/work/db --web || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi\n\n  test_postgres:\n    name: Test on ${{ matrix.os }} (PostGRES)\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 2\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.7, 3.8, 3.9]\n\n    services:\n      db:\n        image: postgres:10\n        env:\n          POSTGRES_PASSWORD: wbia\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n\n    steps:\n      # Checkout and env setup\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies (Linux)\n        if: ${{ runner.os == 'Linux' }}\n        run: |\n          sudo apt-get update\n          sudo bash scripts/ci_prepare_linux_for_build.sh\n\n      - name: Install dependencies (macOS)\n        if: ${{ runner.os == 'macOS' }}\n        run: |\n          bash scripts/ci_prepare_macos_for_build.sh\n\n      - name: Build project\n        run: |\n          bash run_developer_setup.sh\n\n      # Install and test\n      - name: Install project\n        run: |\n          pip install --upgrade pip\n          pip install -e .[tests,problematic,postgres]\n          mkdir -p /tmp/work\n          python -m wbia --set-workdir /tmp/work --preload-exit\n\n      - name: Test project\n        run: |\n          pytest --slow --web-tests --with-postgres-uri='postgresql://postgres:wbia@localhost:5432/postgres'\n\n      - name: Ensure web loads\n        run: |\n          timeout 30 python -m wbia.dev --dbdir /tmp/work/db --web || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi\n", "state": "active", "repository": "wildmeorg/wildbook-ia"}
{"mined_at": "2024-07-15T15:52:08.348468", "created_at": "2020-07-14T22:08:00+02:00", "updated_at": "2020-07-27T20:07:45+02:00", "name": "Build and upload to PyPI", "path": ".github/workflows/python-publish.yml", "contents": "name: Build and upload to PyPI\n\n# Build on every branch push, tag push, and pull request change:\non: push\n\njobs:\n\n  build_wheels:\n    name: Build on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          # This allows the setuptools_scm library to discover the tag version from git\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v2\n        name: Install Python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Build wheel\n        run: |\n          pip install --upgrade pip\n          pip install build\n          python -m build --wheel --outdir dist/ .\n\n      - uses: actions/upload-artifact@v2\n        with:\n          path: ./dist/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        name: Install Python\n        with:\n          python-version: '3.8'\n\n      - name: Build sdist\n        run: |\n          pip install --upgrade pip\n          pip install build\n          python -m build --sdist --outdir dist/ .\n\n      - uses: actions/upload-artifact@v2\n        with:\n          path: ./dist/*.tar.gz\n\n  upload_pypi:\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    # upload to PyPI on every tag starting with 'v'\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')\n    steps:\n      - uses: actions/download-artifact@v2\n        with:\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_PASSWORD }}\n          # To test: repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "wildmeorg/wildbook-ia"}
{"mined_at": "2024-07-15T15:52:09.758351", "created_at": "2020-09-24T06:46:31+02:00", "updated_at": "2021-12-07T06:05:33+01:00", "name": "Build and upload Docker", "path": ".github/workflows/docker-publish.yaml", "contents": "name: Build and upload Docker\n\non:\n  push:\n     branches:\n      - main\n     tags:\n      - v*\n  schedule:\n    - cron: '0 0 * * *' # Every day at midnight\n\njobs:\n  devops:\n    name: Docker image build\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n    strategy:\n      matrix:\n        images:\n          - wbia-base wbia-provision wbia\n\n    steps:\n      - uses: actions/checkout@v2\n        if: github.event_name == 'schedule'\n        with:\n          ref: main\n\n      - uses: actions/checkout@v2\n        if: github.event_name != 'schedule'\n\n      - uses: actions/setup-python@v2\n        name: Install Python\n        with:\n          python-version: 3.8\n          \n      - name: Free Disk space\n        run: |\n             sudo swapoff -a\n             sudo rm -f /swapfile\n             sudo rm -rf /opt/hostedtoolcache\n             sudo apt clean\n             docker rmi $(docker image ls -aq)\n             df -h\n            \n      # Build images\n      - name: Build images\n        run: |\n          # Build Image\n          cd devops/\n          bash build.sh ${{ matrix.images }}\n        env:\n          # The wildbook-ia image is built at the same time as wbia, it is an alias\n          BUILD_IMAGES: ${{ matrix.images }}\n\n      # Log into image registries\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: wildmeorg\n          password: ${{ secrets.WBIA_WILDMEBOT_DOCKER_HUB_TOKEN }}\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GHCR_PAT }}\n\n      - name: Push to Docker Hub (Nightly)\n        if: github.event_name == 'push'\n        run: bash devops/publish.sh -t nightly ${PUBLISH_IMAGES}\n        env:\n          PUBLISH_IMAGES: ${{ matrix.images }} wildbook-ia\n\n      - name: Push to GitHub Packages (Nightly)\n        if: github.event_name == 'push'\n        run: bash devops/publish.sh -t nightly -r ghcr.io/wildmeorg/wildbook-ia ${PUBLISH_IMAGES}\n        env:\n          PUBLISH_IMAGES: ${{ matrix.images }} wildbook-ia\n\n      - name: Push to Docker Hub (Latest)\n        if: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') }}\n        run: |\n          VERSION=$(echo ${GITHUB_REF} | sed 's#.*/v##')\n          bash devops/publish.sh -t ${VERSION} ${PUBLISH_IMAGES}\n          bash devops/publish.sh -t latest ${PUBLISH_IMAGES}\n        env:\n          PUBLISH_IMAGES: ${{ matrix.images }} wildbook-ia\n\n      # Push containers out to container registries\n      - name: Push to GitHub Packages (Latest)\n        if: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') }}\n        run: |\n          VERSION=$(echo ${GITHUB_REF} | sed 's#.*/v##')\n          bash devops/publish.sh -t ${VERSION} -r ghcr.io/wildmeorg/wildbook-ia ${PUBLISH_IMAGES}\n          bash devops/publish.sh -t latest -r ghcr.io/wildmeorg/wildbook-ia ${PUBLISH_IMAGES}\n        env:\n          PUBLISH_IMAGES: ${{ matrix.images }} wildbook-ia\n\n      # Notify status in Slack\n      - name: Slack Notification\n        if: ${{ failure() && github.event_name == 'schedule' }}\n        uses: rtCamp/action-slack-notify@master\n        env:\n          SLACK_CHANNEL: ia-development\n          SLACK_COLOR: '#FF0000'\n          SLACK_ICON: https://avatars.slack-edge.com/2020-03-02/965719891842_db87aa21ccb61076f236_44.png\n          SLACK_MESSAGE: 'Nightly Docker build failed :sob:'\n          SLACK_USERNAME: \"Nightly\"\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n\n      # Notify status in Slack\n      - name: Slack Notification\n        if: ${{ failure() && github.event_name != 'schedule' }}\n        uses: rtCamp/action-slack-notify@master\n        env:\n          SLACK_CHANNEL: ia-development\n          SLACK_COLOR: '#FF0000'\n          SLACK_ICON: https://avatars.slack-edge.com/2020-03-02/965719891842_db87aa21ccb61076f236_44.png\n          SLACK_MESSAGE: 'Latest Docker build failed :sob:'\n          SLACK_USERNAME: \"Latest\"\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n", "state": "active", "repository": "wildmeorg/wildbook-ia"}
{"mined_at": "2024-07-15T15:52:10.748574", "created_at": "2021-12-21T02:59:18+01:00", "updated_at": "2021-12-21T02:59:18+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "wildmeorg/wildbook-ia"}
{"mined_at": "2024-07-15T15:52:11.813259", "created_at": "2021-12-17T07:13:51+01:00", "updated_at": "2023-05-17T19:20:37+02:00", "name": "Build and upload Docker (ARM64)", "path": ".github/workflows/docker-publish-arm64.yaml", "contents": "name: Build and upload Docker (ARM64)\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  devops:\n    name: Docker image build\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n    strategy:\n      matrix:\n        images:\n          - wbia-base wbia-provision wbia\n\n    steps:\n      - uses: actions/checkout@v2\n        if: github.event_name == 'schedule'\n        with:\n          ref: main\n\n      - uses: actions/checkout@v2\n        if: github.event_name != 'schedule'\n\n      - uses: docker/setup-qemu-action@v1\n        name: Set up QEMU\n        id: qemu\n        with:\n          image: tonistiigi/binfmt:latest\n          platforms: all\n\n      - uses: docker/setup-buildx-action@v1\n        name: Set up Docker Buildx\n        id: buildx\n\n      - name: Available platforms\n        run: echo ${{ steps.buildx.outputs.platforms }}\n\n      - uses: actions/setup-python@v2\n        name: Install Python\n        with:\n          python-version: 3.8\n\n      # Build images\n      - name: Build images\n        run: |\n          # Build Image\n          cd devops/\n          bash buildx.arm64.sh ${{ matrix.images }}\n        env:\n          # The wildbook-ia image is built at the same time as wbia, it is an alias\n          BUILD_IMAGES: ${{ matrix.images }}\n\n      # Log into image registries\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: wildmebot\n          password: ${{ secrets.WBIA_WILDMEBOT_DOCKER_HUB_TOKEN }}\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GHCR_PAT }}\n\n      - name: Push to Docker Hub (ARM64)\n        if: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') }}\n        run: |\n          VERSION=$(echo ${GITHUB_REF} | sed 's#.*/v##')\n          bash devops/publish.sh -t ${VERSION} ${PUBLISH_IMAGES}\n          bash devops/publish.sh -t arm64 ${PUBLISH_IMAGES}\n        env:\n          PUBLISH_IMAGES: ${{ matrix.images }} wildbook-ia\n\n      # Push containers out to container registries\n      - name: Push to GitHub Packages (ARM64)\n        if: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') }}\n        run: |\n          VERSION=$(echo ${GITHUB_REF} | sed 's#.*/v##')\n          bash devops/publish.sh -t ${VERSION} -r ghcr.io/wildmeorg/wildbook-ia ${PUBLISH_IMAGES}\n          bash devops/publish.sh -t arm64 -r ghcr.io/wildmeorg/wildbook-ia ${PUBLISH_IMAGES}\n        env:\n          PUBLISH_IMAGES: ${{ matrix.images }} wildbook-ia\n\n      # Notify status in Slack\n      - name: Slack Notification\n        if: ${{ failure() && github.event_name == 'schedule' }}\n        uses: rtCamp/action-slack-notify@master\n        env:\n          SLACK_CHANNEL: ia-development\n          SLACK_COLOR: '#FF0000'\n          SLACK_ICON: https://avatars.slack-edge.com/2020-03-02/965719891842_db87aa21ccb61076f236_44.png\n          SLACK_MESSAGE: 'Nightly Docker build failed :sob:'\n          SLACK_USERNAME: \"Nightly\"\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n\n      # Notify status in Slack\n      - name: Slack Notification\n        if: ${{ failure() && github.event_name != 'schedule' }}\n        uses: rtCamp/action-slack-notify@master\n        env:\n          SLACK_CHANNEL: ia-development\n          SLACK_COLOR: '#FF0000'\n          SLACK_ICON: https://avatars.slack-edge.com/2020-03-02/965719891842_db87aa21ccb61076f236_44.png\n          SLACK_MESSAGE: 'ARM64 Docker build failed :sob:'\n          SLACK_USERNAME: \"ARM64\"\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n", "state": "disabled_manually", "repository": "wildmeorg/wildbook-ia"}
{"mined_at": "2024-07-15T15:52:14.911585", "created_at": "2021-01-11T15:31:23+01:00", "updated_at": "2023-06-04T20:14:37+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI and TestPyPI", "path": ".github/workflows/release.yml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n\non:\n  release:\n    types: [prereleased,released]\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.8\"\n    - name: Upgrade pip\n      run: >-\n        python -m\n        pip install\n        pip --upgrade\n        --user\n    - name: Install pypi/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish distribution 📦 to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.pypi_password }}\n        verbose: true\n", "state": "active", "repository": "superannotateai/superannotate-python-sdk"}
{"mined_at": "2024-07-15T15:52:16.942731", "created_at": "2022-06-24T23:15:05+02:00", "updated_at": "2022-06-24T23:15:05+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mitogen-hq/mitogen"}
{"mined_at": "2024-07-15T15:52:19.383983", "created_at": "2020-06-09T18:08:03+02:00", "updated_at": "2020-06-09T18:08:03+02:00", "name": "Code scanning - action", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"Code scanning - action\"\n\non: \n  push:\n    branches: [main]\n  \n  pull_request: \n    branches: [main]\n\npermissions:\n  contents: read\n\njobs:\n  CodeQL-Build:\n\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: read\n      security-events: write\n      pull-requests: read\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      \n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8\n      # Override language selection by uncommenting this and choosing your languages\n      with:\n        languages: python\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8\n", "state": "active", "repository": "morganstanley/testplan"}
{"mined_at": "2024-07-15T15:52:20.500143", "created_at": "2021-11-03T10:17:58+01:00", "updated_at": "2021-11-03T10:17:58+01:00", "name": "Cut new version", "path": ".github/workflows/cut_version.yml", "contents": "name: Cut new version\n\non:\n  workflow_dispatch:\n\njobs:\n\n  cut-new-version:\n    runs-on: ubuntu-latest\n    permissions: write-all\n\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.11'\n\n      - run: pip install --upgrade bumpver\n      - run: pip install ./releaseherald\n      \n      - name: git setup\n        run: |\n          git config user.name \"Github Version Updater\" \n          git config user.email \"<>\"\n      - run: bumpver update\n      - run: bumpver show --env > new-version.txt\n      - run: releaseherald generate --latest --no-update -t news.rst\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: new-version\n          path: |\n            new-version.txt\n            news.rst\n\n  build:\n    runs-on: ubuntu-latest\n    needs: cut-new-version\n\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - run: git pull origin\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: new-version\n      - name: Get Version\n        id: get_version\n        run: |\n          eval $(cat new-version.txt)\n          echo \"new_version=${CURRENT_VERSION}\" >> $GITHUB_OUTPUT\n      - uses: ./.github/actions/build-package\n      - uses: ./.github/actions/create-release\n        with:\n          tag_name: ${{ steps.get_version.outputs.new_version }}\n          package: dist/testplan-${{ steps.get_version.outputs.new_version }}-py3-none-any.whl\n          news: news.rst\n", "state": "active", "repository": "morganstanley/testplan"}
{"mined_at": "2024-07-15T15:52:21.524847", "created_at": "2021-05-18T22:05:01+02:00", "updated_at": "2021-05-18T22:05:01+02:00", "name": "Build Package", "path": ".github/workflows/package.yml", "contents": "name: \"Build Package\"\n\non:\n  # Trigger the workflow on push only for the main branch\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  build-package:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      packages: write\n      security-events: write\n      pull-requests: read\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - run: pip install --upgrade bumpver\n      - run: bumpver update --no-commit\n      - uses: ./.github/actions/build-package\n        with:\n          is_dev_build: true\n      - uses: \"marvinpinto/action-automatic-releases@latest\"\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          automatic_release_tag: \"latest\"\n          prerelease: true\n          title: \"Development Build\"\n          files: |\n            dist/testplan-*-py3-none-any.whl\n", "state": "active", "repository": "morganstanley/testplan"}
{"mined_at": "2024-07-15T15:52:22.575103", "created_at": "2024-05-01T13:14:35+02:00", "updated_at": "2024-05-01T13:14:35+02:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecards.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '20 13 * * 3'\n  push:\n    branches: [ \"main\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@1500a131381b66de0c52ac28abb13cd79f4b7ecc # v2.22.12\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "morganstanley/testplan"}
{"mined_at": "2024-07-15T15:52:23.624611", "created_at": "2021-06-10T10:52:27+02:00", "updated_at": "2021-06-10T12:14:44+02:00", "name": "PR Tests", "path": ".github/workflows/test_pr.yml", "contents": "name: PR Tests\n\non: [pull_request]\n\njobs:\n  is_source_changed:\n    name: Check if sources has changed\n    runs-on: ubuntu-latest\n    outputs:\n      is_source_changed: ${{steps.check_source_change.outputs.changed}}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          fetch-depth: 0\n      - name: Check if any source changed\n        id: check_source_change\n        uses: ./.github/actions/files-changed\n        with:\n          paths: |\n            .github/*\n            examples/*\n            testplan/*\n            tests/*\n            scripts/*\n            releaseherald/releaseherald/*\n            pytest.ini\n            pyproject.toml\n            setup.py\n            requirements.txt\n\n  success:\n    name: PR Tets Completed\n    needs: [is_source_changed, test]\n    runs-on: ubuntu-latest\n    if: always() && needs.is_source_changed.result == 'success' && (needs.is_source_changed.outputs.is_source_changed == 'false' || needs.Test.result == 'success')\n    steps:\n      - run: echo ${{needs.is_source_changed.result}} ${{needs.is_source_changed.outputs.is_source_changed}} ${{needs.Test.result}}\n      - run: true\n\n  lint_python:\n    name: Run lint on python code\n    needs: [is_source_changed]\n    runs-on: ubuntu-latest\n    if: needs.is_source_changed.outputs.is_source_changed == 'true'\n    env:\n      BLACK_VERSION: \"22.10.0\"\n      LINT_PYTHON_VERSION: \"3.7\"\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Set up Python ${{ env.LINT_PYTHON_VERSION }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ env.LINT_PYTHON_VERSION }}\n      - name: Restore pip cache\n        uses: ./.github/actions/pip-cache\n      - name: Setup\n        run: |\n          pip install -r requirements.txt -U\n      - name: Lint\n        run: doit lint\n\n  build_ui:\n    name: Build UI (with test and lint)\n    needs: [is_source_changed]\n    runs-on: ubuntu-latest\n    if: needs.is_source_changed.outputs.is_source_changed == 'true'\n    env:\n      REACT_APP_API_BASE_URL: \"/fake/api/endpoint\"\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: 3.11\n      - name: Set up Node\n        uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2\n        with:\n          node-version: \"16.x\"\n      - name: Restore pip cache\n        uses: ./.github/actions/pip-cache\n      - name: Set up PNPM\n        uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0\n        with:\n          version: 8.10.4\n      - name: Setup\n        run: |\n          pip install -r requirements-build.txt -U\n      - name: Build\n        run: |\n            doit lint_ui\n            CI=false doit build_ui            \n            doit test_ui\n      - name: Archive ui artifacts\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: ui_bundle\n          path: testplan/web_ui/testing/build\n          retention-days: 1\n\n  test:\n    name: Test\n    needs: [lint_python, build_ui]\n    runs-on: ${{ matrix.os }}\n    env:\n      CI: \"\"\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [3.7, 3.8, '3.10', 3.11]\n      fail-fast: false\n\n    steps:\n      - run: echo \"BUILD ${{ matrix.os }} ${{ matrix.python-version }} ${{needs.is_source_changed.outputs.is_source_changed}}\"\n      - name: Checkout repository\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Restore pip cache\n        uses: ./.github/actions/pip-cache\n      - name: Download ui bundle\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: ui_bundle\n          path: testplan/web_ui/testing/build\n      - name: Set up Zookeeper for tests\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: sudo apt-get -y install zookeeper zookeeper-bin zookeeperd\n      - name: Set up Kafka for tests\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          wget https://downloads.apache.org/kafka/3.5.2/kafka_2.13-3.5.2.tgz -O kafka.tgz\n          sudo mkdir /opt/kafka\n          sudo chown -R $USER:$USER /opt/kafka\n          tar zxf kafka.tgz -C /opt/kafka --strip-components 1\n      - name: Install dependencies\n        run: pip install -r requirements.txt -U\n      - name: Test Python\n        run: doit test\n", "state": "active", "repository": "morganstanley/testplan"}
{"mined_at": "2024-07-15T15:52:24.618614", "created_at": "2024-05-06T16:22:51+02:00", "updated_at": "2024-05-06T16:22:51+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "morganstanley/testplan"}
{"mined_at": "2024-07-15T15:52:27.014341", "created_at": "2021-08-26T17:43:19+02:00", "updated_at": "2021-08-26T17:54:50+02:00", "name": "Data Tests", "path": ".github/workflows/data_tests.yml", "contents": "name: Data Tests\n\non: [push, pull_request]\n\njobs:\n  data_tests:\n    name: Data tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        test: [duplicate_entries, file_format, missing_values, vote_breakdown_totals]\n\n    env:\n      LOG_FILE: ${{ github.workspace }}/${{ matrix.test }}.txt\n\n    steps:\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n\n    - name: Check out data\n      uses: actions/checkout@v4\n      with:\n        path: data\n\n    - name: Check out data tests\n      uses: actions/checkout@v4\n      with:\n        repository: openelections/openelections-data-tests\n        ref: v2.2.0\n        path: data_tests\n\n    - name: Run data tests\n      run: python3 ${{ github.workspace }}/data_tests/run_tests.py --group-failures --log-file=${{ env.LOG_FILE }} ${{ matrix.test }} ${{ github.workspace }}/data\n\n    - name: Upload artifacts\n      uses: actions/upload-artifact@v4\n      if: failure()\n      with:\n        name: ${{ matrix.test }}_full_logs\n        path: ${{ env.LOG_FILE }}\n", "state": "active", "repository": "openelections/openelections-data-or"}
{"mined_at": "2024-07-15T15:52:28.061476", "created_at": "2023-04-23T18:33:44+02:00", "updated_at": "2023-04-23T19:27:06+02:00", "name": "Data Tests (Changed Files)", "path": ".github/workflows/data_tests_changed_files.yml", "contents": "name: Data Tests (Changed Files)\n\non:\n  pull_request:\n\njobs:\n  data_tests:\n    name: Data tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        test: [duplicate_entries, file_format, missing_values, vote_breakdown_totals]\n\n    env:\n      LOG_FILE: ${{ github.workspace }}/${{ matrix.test }}.txt\n\n    steps:\n    - name: Save the pull request number in an artifact\n      shell: bash\n      run: echo ${{ github.event.number }} > pull_request_number.txt\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n\n    - name: Check out data\n      uses: actions/checkout@v4\n      with:\n        path: data\n        fetch-depth: 0\n\n    - name: Check out data tests\n      uses: actions/checkout@v4\n      with:\n        repository: openelections/openelections-data-tests\n        ref: v2.2.0\n        path: data_tests\n\n    - name: Get changed *.csv files\n      id: changed-files\n      uses: tj-actions/changed-files@v44\n      with:\n        path: data\n        files: |\n          **/*.csv\n\n    - name: Run data tests\n      if: \"${{ steps.changed-files.outputs.added_files != '' }}\"\n      run: python3 ${{ github.workspace }}/data_tests/run_tests.py --files ${{ steps.changed-files.outputs.added_files }} --group-failures --log-file=${{ env.LOG_FILE }} --truncate-log-file ${{ matrix.test }} ${{ github.workspace }}/data\n\n    - name: Upload the pull request number\n      uses: actions/upload-artifact@v4\n      if: failure()\n      with:\n        name: pull_request_number\n        path: ./pull_request_number.txt\n\n    - name: Upload error logs\n      uses: actions/upload-artifact@v4\n      if: failure()\n      with:\n        name: ${{ matrix.test }}\n        path: ${{ env.LOG_FILE }}\n", "state": "active", "repository": "openelections/openelections-data-or"}
{"mined_at": "2024-07-15T15:52:29.303070", "created_at": "2023-04-23T19:27:06+02:00", "updated_at": "2023-04-23T19:27:06+02:00", "name": "Comment on Pull Request", "path": ".github/workflows/pull_request_comment.yml", "contents": "name: Comment on Pull Request\n\non:\n  workflow_run:\n    workflows: [Data Tests (Changed Files)]\n    types:\n      - completed\n\njobs:\n  comment:\n    name: Comment on pull request\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'failure'\n    strategy:\n      fail-fast: false\n      matrix:\n        test: [duplicate_entries, file_format, missing_values, vote_breakdown_totals]\n\n    steps:\n      - name: Download artifacts\n        uses: dawidd6/action-download-artifact@v3\n        with:\n          run_id: ${{ github.event.workflow_run.id }}\n\n      - name: Read pull request number\n        id: pull_request_number_reader\n        uses: juliangruber/read-file-action@v1\n        with:\n          path: ./pull_request_number/pull_request_number.txt\n\n      - name: Check for failures\n        id: check_failures\n        uses: andstor/file-existence-action@v3\n        with:\n          files: ./${{ matrix.test }}/${{ matrix.test }}.txt\n\n      - name: Read failure logs\n        if: steps.check_failures.outputs.files_exists == 'true'\n        id: failure_reader\n        uses: juliangruber/read-file-action@v1\n        with:\n          path: ./${{ matrix.test }}/${{ matrix.test }}.txt\n\n      - name: Comment on pull request\n        if: steps.check_failures.outputs.files_exists == 'true'\n        uses: actions/github-script@v7\n        with:\n          script: |\n            await github.rest.issues.createComment({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: ${{ steps.pull_request_number_reader.outputs.content }},\n              body: `Thank you for your contribution!  Our <code>${{ matrix.test }}</code> `+\n                `test detected some potential issues in the files you added.\\n\\n`+\n                `<pre><code>${{ steps.failure_reader.outputs.content }}</code></pre>`\n            });\n", "state": "active", "repository": "openelections/openelections-data-or"}
{"mined_at": "2024-07-15T15:52:31.410814", "created_at": "2020-06-19T19:36:35+02:00", "updated_at": "2020-06-19T19:36:35+02:00", "name": "Presubmit", "path": ".github/workflows/presubmit.yaml", "contents": "name: Presubmit\non:\n  pull_request:\n    branches:\n      - \"*\"\njobs:\n  test_matrix:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses:  actions/setup-python@v2\n        with:\n          python-version: \"3.11\"\n      - name: Upgrade pip\n        run: |\n          python -m pip install --upgrade pip\n      - name: Install pytest\n        run: |\n          python -m pip install pytest\n      - name: Install dependencies\n        run: |\n          python -m pip install ipykernel jupyter_server pytest-jupyter traitlets\n      - name: Set up Cloud SDK\n        uses: 'google-github-actions/setup-gcloud@v1'\n      - name: Install google-cloud-jupyter-config\n        run: |\n          python -m pip install ./google-cloud-jupyter-config\n      - name: Test gcloud config\n        run: |\n          pytest ./google-cloud-jupyter-config\n      - name: Install kernels-mixer\n        run: |\n          python -m pip install ./kernels-mixer\n\n      - name: Setup the `python3` Jupyter kernel\n        run: |\n          python3 -m ipykernel install --user\n\n      - name: Test kernels-mixer\n        run: |\n          pytest ./kernels-mixer\n", "state": "active", "repository": "googlecloudplatform/jupyter-extensions"}
{"mined_at": "2024-07-15T15:52:32.446022", "created_at": "2023-08-10T00:12:13+02:00", "updated_at": "2023-08-10T00:12:13+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googlecloudplatform/jupyter-extensions"}
{"mined_at": "2024-07-15T15:52:34.543666", "created_at": "2020-07-01T16:18:37+02:00", "updated_at": "2020-12-05T17:32:03+01:00", "name": "Linting", "path": ".github/workflows/lint.yml", "contents": "name: Linting\n\non:\n  pull_request:\n  push:\n    branches: [master]\n  workflow_dispatch:\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5.1.0\n      with:\n        python-version: '3.x'\n    - run:  |\n        python -m pip install --upgrade pip\n        python -m pip install -U .[lint]\n    - name: black\n      run: |\n        black --check --diff src tests\n    - name: flake8\n      run: |\n        flake8 src tests\n    - name: mypy\n      run: |\n        mypy src\n", "state": "active", "repository": "samschott/maestral"}
{"mined_at": "2024-07-15T15:52:35.592206", "created_at": "2020-07-01T16:18:38+02:00", "updated_at": "2022-01-13T16:45:26+01:00", "name": "Publish to PyPI and Docker", "path": ".github/workflows/publish.yml", "contents": "name: Publish to PyPI and Docker\n\non:\n  push:\n    tags:\n      - 'v*.*.*'\n  workflow_dispatch:\n\njobs:\n  pypi:\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/maestral\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.x'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n\n      - name: Build\n        run: |\n          python -m build\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  docker-hub:\n    runs-on: ubuntu-latest\n    needs: pypi\n    steps:\n      - name: Checkout project\n        uses: actions/checkout@v4\n\n      - name: Fetching tags\n        run: git fetch --prune --unshallow --force --tags\n\n      - name: Prepare\n        id: prep\n        run: |\n          DOCKER_IMAGE=maestraldbx/maestral\n          LAST_GIT_TAG=$(git describe --tags --abbrev=0)\n          MAESTRAL_VERSION=${LAST_GIT_TAG:1}\n          VERSION=noop\n          GIT_BRANCH=${GITHUB_REF##*/}\n          if [ \"${{ github.event_name }}\" = \"schedule\" ]; then\n            VERSION=nightly\n          elif [ \"${{ github.event_name }}\" = \"pull_request_target\" ]; then\n            VERSION=pr-${{ github.event.number }}\n          elif [[ $GITHUB_REF == refs/tags/* ]]; then\n            VERSION=${GITHUB_REF#refs/tags/}\n          elif [[ $GITHUB_REF == refs/heads/* ]]; then\n            VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')\n            if [ \"${{ github.event.repository.default_branch }}\" = \"$VERSION\" ]; then\n              VERSION=edge\n            fi\n          fi\n          TAGS=\"${DOCKER_IMAGE}:${VERSION}\"\n          if [[ $VERSION =~ ^v[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}$ ]]; then\n            MAESTRAL_VERSION=${VERSION:1}\n            MINOR=${MAESTRAL_VERSION%.*}\n            MAJOR=${MINOR%.*}\n            TAGS=\"${DOCKER_IMAGE}:${MAESTRAL_VERSION},${DOCKER_IMAGE}:${MINOR},${DOCKER_IMAGE}:${MAJOR},${DOCKER_IMAGE}:latest\"\n          fi\n\n          echo \"version=${VERSION}\" >> $GITHUB_OUTPUT\n          echo \"maestral_version=${MAESTRAL_VERSION}\" >> $GITHUB_OUTPUT\n          echo \"docker_image=${DOCKER_IMAGE}\" >> $GITHUB_OUTPUT\n          echo \"git_branch=${GIT_BRANCH}\" >> $GITHUB_OUTPUT\n          echo \"tags=${TAGS}\" >> $GITHUB_OUTPUT\n          echo \"created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')\" >> $GITHUB_OUTPUT\n\n      - name: Wait for PyPI release\n        run: |\n          echo \"Waiting for PyPI release ${{ steps.prep.outputs.maestral_version }}\"\n          while [[ $(curl -s \"https://pypi.org/pypi/maestral/${{ steps.prep.outputs.maestral_version }}/json\") == *\"Not Found\"* ]]\n          do\n            sleep 2\n          done\n          \n          # There is delay until packages actually can be downloaded for all platforms.\n          sleep 10\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Cache Docker layers\n        uses: actions/cache@v4\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          build-args: |\n            VERSION=${{ steps.prep.outputs.maestral_version }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache-new\n          context: .\n          file: ./Dockerfile\n          # See https://github.com/opencontainers/image-spec/blob/master/annotations.md\n          labels: |\n            org.opencontainers.image.created=${{ steps.prep.outputs.created }}\n            org.opencontainers.image.description=${{ github.event.repository.description }}\n            org.opencontainers.image.docker.cmd=docker run -d --rm --name maestral -v /home/dropbox:/dropbox maestral\n            org.opencontainers.image.documentation=https://maestral.readthedocs.io/en/latest\n            org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }}\n            org.opencontainers.image.ref.name=${{ steps.prep.outputs.git_branch }}\n            org.opencontainers.image.revision=${{ github.sha }}\n            org.opencontainers.image.source=${{ github.event.repository.clone_url }}\n            org.opencontainers.image.title=Maestral\n            org.opencontainers.image.url=${{ github.event.repository.html_url }}\n            org.opencontainers.image.version=${{ steps.prep.outputs.version }}\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.prep.outputs.tags }}\n      - name: Move cache\n        # Temp fix\n        # https://github.com/docker/build-push-action/issues/252\n        # https://github.com/moby/buildkit/issues/1896\n        if: ${{ always() }}\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n", "state": "active", "repository": "samschott/maestral"}
{"mined_at": "2024-07-15T15:52:36.640646", "created_at": "2020-07-01T16:18:38+02:00", "updated_at": "2020-08-20T18:32:01+02:00", "name": "Run tests", "path": ".github/workflows/test.yml", "contents": "name: Run tests\n\non:\n  schedule:\n    - cron: '30 3 * * SUN'\n  pull_request_target:\n    paths:\n      # run tests only when the python code has changed\n      - 'src/**.py'\n      - 'tests/**.py'\n  workflow_dispatch:\n\njobs:\n  offline-tests:\n    name: offline\n    strategy:\n      matrix:\n        platform: [ubuntu-latest, macos-latest]\n        python-version: ['3.8', '3.12']\n\n    runs-on: ${{ matrix.platform }}\n    steps:\n\n      - name: Checkout merge commit\n        uses: actions/checkout@v4\n        if: github.event_name == 'pull_request_target'\n        with:\n          ref: 'refs/pull/${{ github.event.number }}/merge'\n          persist-credentials: false\n\n      - name: Checkout head commit\n        uses: actions/checkout@v4\n        if: github.event_name != 'pull_request_target'\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -U .[test]\n\n      - name: Test with pytest\n        run: |\n          python -m pytest --cov=maestral --cov-report=xml tests/offline\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          flags: pytest\n          env_vars: OS,PYTHON,TYPE\n          name: pytests -v\n          token: ${{ secrets.CODECOV_TOKEN }}\n        env:\n          OS: ${{ matrix.platform }}\n          PYTHON: ${{ matrix.python-version }}\n          TYPE: 'offline'\n\n  linked-unit-tests:\n    name: Linked unit tests\n    needs: offline-tests\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest, macos-latest]\n        include:\n          - platform: ubuntu-latest\n            token: DROPBOX_REFRESH_TOKEN_1\n\n          - platform: macos-latest\n            token: DROPBOX_REFRESH_TOKEN_2\n\n    runs-on: ${{ matrix.platform }}\n    steps:\n      - name: Checkout merge commit\n        uses: actions/checkout@v4\n        if: github.event_name == 'pull_request_target'\n        with:\n          ref: 'refs/pull/${{ github.event.number }}/merge'\n          persist-credentials: false\n\n      - name: Checkout head commit\n        uses: actions/checkout@v4\n        if: github.event_name != 'pull_request_target'\n\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.12'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -U .[test]\n\n      - name: Get short-lived Oauth2 access token\n        # We generate a short-lived auth token which is passed to the test runner as\n        # an environment variable. At no point does the test code, potentially from an\n        # untrusted 3rd party, get access to a long-lived token.\n        run: |\n          auth_result=$(curl https://api.dropbox.com/oauth2/token \\\n              -d grant_type=refresh_token \\\n              -d refresh_token=${{ secrets[matrix.token] }} \\\n              -d client_id=2jmbq42w7vof78h)\n          token=$(echo $auth_result | python -c \"import sys, json; print(json.load(sys.stdin)['access_token'])\")\n          echo \"::add-mask::$token\"\n          echo \"DROPBOX_ACCESS_TOKEN=$token\" >> $GITHUB_ENV\n\n      - name: Test with pytest\n        run: |\n          pytest -v --cov=maestral --cov-report=xml tests/linked/unit\n\n      - name: Upload Code Coverage\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          flags: pytest\n          env_vars: OS,PYTHON,TYPE\n          name: pytests\n          token: ${{ secrets.CODECOV_TOKEN }}\n        env:\n          OS: ${{ matrix.platform }}\n          PYTHON: ${{ matrix.python-version }}\n          TYPE: 'linked-unit-tests'\n\n  linked-integration-tests:\n    name: Linked integration tests\n    needs: linked-unit-tests\n    strategy:\n      fail-fast: false\n      matrix:\n        observer: [inotify, fsevents]\n        include:\n          - observer: inotify\n            platform: ubuntu-latest\n            token: DROPBOX_REFRESH_TOKEN_1\n\n          - observer: fsevents\n            platform: macos-latest\n            token: DROPBOX_REFRESH_TOKEN_2\n\n#          - observer: kqueue\n#            platform: macos-latest\n#            token: DROPBOX_REFRESH_TOKEN_3\n\n\n    runs-on: ${{ matrix.platform }}\n    steps:\n      - name: Checkout merge commit\n        uses: actions/checkout@v4\n        if: github.event_name == 'pull_request_target'\n        with:\n          ref: 'refs/pull/${{ github.event.number }}/merge'\n          persist-credentials: false\n\n      - name: Checkout head commit\n        uses: actions/checkout@v4\n        if: github.event_name != 'pull_request_target'\n\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.12'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -U .[test]\n\n      - name: Get short-lived Dropbox token\n        # We generate a short-lived auth token which is passed to the test runner as\n        # an environment variable. At no point does the test code, potentially from a\n        # malicious PR, get access to a long-lived token.\n        run: |\n          auth_result=$(curl https://api.dropbox.com/oauth2/token \\\n              -d grant_type=refresh_token \\\n              -d refresh_token=${{ secrets[matrix.token] }} \\\n              -d client_id=2jmbq42w7vof78h)\n          token=$(echo $auth_result | python -c \"import sys, json; print(json.load(sys.stdin)['access_token'])\")\n          echo \"::add-mask::$token\"\n          echo \"DROPBOX_ACCESS_TOKEN=$token\" >> $GITHUB_ENV\n\n      - name: Test with pytest\n        run: |\n          pytest --verbose --cov=maestral --cov-report=xml tests/linked/integration --fs-observer ${{ matrix.observer }}\n\n      - name: Upload Code Coverage\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./coverage.xml\n          flags: pytest\n          env_vars: OS,PYTHON,TYPE\n          name: pytests\n          token: ${{ secrets.CODECOV_TOKEN }}\n        env:\n          OS: ${{ matrix.platform }}\n          PYTHON: ${{ matrix.python-version }}\n          TYPE: 'linked-integration-tests'\n", "state": "active", "repository": "samschott/maestral"}
{"mined_at": "2024-07-15T15:52:37.742503", "created_at": "2020-10-05T14:01:57+02:00", "updated_at": "2020-10-05T15:46:24+02:00", "name": "Uploads Maestral repo description to hub.docker.com", "path": ".github/workflows/dockerhub-repo-description.yml", "contents": "name: Uploads Maestral repo description to hub.docker.com\n\non:\n  push:\n    tags:\n      - 'v*.*.*'\n  workflow_dispatch:\n\njobs:\n  dockerhub-repo-description:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Update repo description\n        uses: peter-evans/dockerhub-description@v4\n        env:\n          DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}\n          DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}\n          DOCKERHUB_REPOSITORY: maestraldbx/maestral\n", "state": "active", "repository": "samschott/maestral"}
{"mined_at": "2024-07-15T15:52:38.750903", "created_at": "2021-07-10T16:39:09+02:00", "updated_at": "2021-07-10T16:48:47+02:00", "name": "Update Sparkle appcast", "path": ".github/workflows/appcast.yml", "contents": "name: Update Sparkle appcast\n\non:\n  release:\n  workflow_dispatch:\n\njobs:\n  generate_appcast:\n    runs-on: macos-latest\n    steps:\n      - name: Checkout website\n        uses: actions/checkout@v4\n        with:\n          ref: website\n\n      - uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.x'\n\n      - name: Install requirements\n        run: |\n          brew install pandoc\n          python3 -m pip install requests\n\n      - name: Generate appcast\n        run: |\n          python3 _scripts/generate_appcast.py\n        env:\n          SPARKLE_PRIVATE_KEY: ${{ secrets.SPARKLE_PRIVATE }}\n\n      - name: Push back appcast updates\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: Auto-commit appcast updates\n", "state": "active", "repository": "samschott/maestral"}
{"mined_at": "2024-07-15T15:52:39.787461", "created_at": "2021-12-18T14:45:10+01:00", "updated_at": "2021-12-18T14:45:10+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "samschott/maestral"}
{"mined_at": "2024-07-15T15:52:41.883328", "created_at": "2021-05-06T23:33:26+02:00", "updated_at": "2021-05-06T23:33:26+02:00", "name": "Run Tests", "path": ".github/workflows/Pytests.yml", "contents": "name: Run Tests\n\non:\n  push:\n  pull_request:\n    branches: [\"master\"]   \n\nenv:\n  PY_COLORS: 1\n\n  \njobs:\n  build:\n    name: Python ${{ matrix.python-version }}  ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:        \n        os: [ \"ubuntu-latest\", \"macOS-latest\" ]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n\n    steps:\n      - name: Checkout  🛎️\n        uses: \"actions/checkout@v2\"    \n\n      - name: Set up Python ${{ matrix.python-version }}  🐍\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Setup System & Info  💻\n        run: |\n          python -c \"from multiprocessing import cpu_count ; print('cpu_count={}'.format(cpu_count()))\"\n\n          if [ \"$RUNNER_OS\" == \"macOS\" ]; then\n              echo \"***************************\"\n              system_profiler SPHardwareDataType\n              echo \"***************************\"\n          elif [ \"$RUNNER_OS\" == \"Linux\" ]; then\n              echo \"***************************\"          \n              lscpu | egrep 'Model name|Socket|Thread|NUMA|CPU\\(s\\)'\n              lshw -short -C memory\n              echo \"***************************\"\n          fi\n\n          if [ \"$RUNNER_OS\" == \"macOS\" ]; then\n              echo \"export PATH=$PATH:/Users/runner/Library/Python/${{ matrix.python-version }}/bin\" >> ~/.bash_profile\n              echo \"export PATH=$PATH:/Users/runner/.local/bin >>\" ~/.bash_profile\n              echo \"sw_vers\" >> ~/.bash_profile\n              source ~/.bash_profile\n              which ssh-copy-id\n          fi\n          echo \"export PATH=$PATH:~/.local/bin/\" >> ~/.bash_profile\n          source ~/.bash_profile\n          python3 --version\n          python --version\n          ls -la ~/\n\n      - name: Setup SSH  🔐\n        run: |\n          mkdir -p ~/.ssh\n          rm -f ~/.ssh/id_rsa || true\n\n          if [ \"$RUNNER_OS\" == \"macOS\" ]; then\n            chmod g-w ~/.ssh\n            chmod o-w ~/.ssh\n          elif [ \"$RUNNER_OS\" == \"Linux\" ]; then\n            chmod g-w $HOME\n            chmod o-w $HOME          \n          fi\n\n          # ssh-keygen -t rsa -b 4096 -C \"$(whoami)@localhost\" -f ~/.ssh/id_rsa\n          # cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys\n          # chmod og-wx ~/.ssh/authorized_keys\n          # ssh-keyscan -H localhost >> ~/.ssh/known_hosts\n          # cat ~/.ssh/authorized_keys\n\n      - name: Install Python Dependencies  📥\n        run: |\n          python3 -m pip install --upgrade pip      \n          python3 -m pip install --upgrade ruamel.yaml pytest pycodestyle pep8 pytest-timeout rich\n          python3 -m pip install isort\n\n      - name: Setup FabSim  🚦🚦🚦\n        run: |\n          python3 configure_fabsim.py\n\n          echo \"export PATH=$(pwd)/fabsim/bin:$PATH\" >> ~/.bash_profile\n          echo \"export PYTHONPATH=$(pwd):$PYTHONPATH\" >> ~/.bash_profile\n          source ~/.bash_profile\n          fabsim localhost install_plugin:FabDummy\n          fabsim localhost install_plugin:FabDummy\n          pip freeze\n\n      - name: Test with pytest 🚀\n        run: |\n          source ~/.bash_profile\n          python3 -m pytest --timeout=60 -vv --log-cli-level=10 tests/\n          pycodestyle fabsim/base/ fabsim/deploy/ fabsim/lib/ fabsim/UQP/ fabsim/VVP/\n\n      - name: Run isort 🚀\n        run: |\n          isort --profile hug --check --diff -l 80 fabsim/\n", "state": "active", "repository": "djgroen/fabsim3"}
{"mined_at": "2024-07-15T15:52:42.931363", "created_at": "2023-11-08T15:59:09+01:00", "updated_at": "2023-11-08T15:59:09+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "djgroen/fabsim3"}
{"mined_at": "2024-07-15T15:52:45.030221", "created_at": "2020-01-24T18:03:03+01:00", "updated_at": "2020-01-24T18:03:03+01:00", "name": "", "path": "", "contents": null, "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:46.115965", "created_at": "2021-01-11T14:52:20+01:00", "updated_at": "2021-01-11T14:52:20+01:00", "name": "Set Bug Issue Label and Assignee", "path": ".github/workflows/assign_bugs.yml", "contents": "name: \"Set Bug Issue Label and Assignee\"\non:\n  issues:\n    types: [opened]\n\njobs:\n  autoassign:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: Naturalclar/issue-action@v2.0.2\n        with:\n          title-or-body: \"title\"\n          parameters: '[\n                         {\"keywords\": [\"[BUG]\", \"bug\"], \"labels\": [\"bug :bug:\"], \"assignees\": []}\n                        ]'\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:47.211331", "created_at": "2023-10-23T19:10:58+02:00", "updated_at": "2023-11-22T15:49:40+01:00", "name": "Benchmarks", "path": ".github/workflows/benchmarks.yml", "contents": "name: Benchmarks\r\non:\r\n  pull_request:\r\n  workflow_call:\r\n    inputs:\r\n      ref_branch:\r\n        description: The PennyLane reference branch for benchmarks\r\n        required: false\r\n        type: string\r\n        default: 'add-pytest-benchmarks'\r\n      branch:\r\n        description: The PennyLane branch to run benchmarks with\r\n        required: false\r\n        type: string\r\n        default: 'master'\r\n\r\nconcurrency:\r\n  group: benchmarks-${{ github.ref }}\r\n  cancel-in-progress: true\r\n\r\njobs:\r\n    # If needed, this workflow will create a cached benchmark reference.\r\n    # This reference will be used for comparative analyses with all PRs benchmarks.\r\n    reference-benchmarks:\r\n      if: github.event_name == 'schedule' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:run-benchmarks'))\r\n\r\n      uses: ./.github/workflows/interface-unit-tests.yml\r\n      secrets:\r\n        codecov_token: ${{ secrets.CODECOV_TOKEN }}\r\n      with:\r\n        # If running by workflow call, will check by provided ref_branch, if not will default to 'add-pytest-benchmarks'.\r\n        branch: ${{ inputs.ref_branch || 'add-pytest-benchmarks' }}\r\n\r\n        pipeline_mode: 'reference-benchmarks'\r\n\r\n        # Run a 'lightened' version of the CI on Pull Requests by default\r\n        # Unless the label `ci:run-full-test-suite` is attached to the PR.\r\n        # Always runs the full suite for push events.\r\n        run_lightened_ci: >-\r\n          ${{\r\n            github.event_name == 'pull_request'\r\n            && !contains(github.event.pull_request.labels.*.name, 'ci:run-full-test-suite')\r\n            || false\r\n          }}\r\n\r\n        skip_ci_test_jobs: torch-tests, autograd-tests, tf-tests, core-tests, all-interfaces-tests, external-libraries-tests, qcut-tests, qchem-tests, gradients-tests, data-tests\r\n\r\n    benchmarks:\r\n      if: github.event_name == 'schedule' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:run-benchmarks'))\r\n\r\n      uses: ./.github/workflows/interface-unit-tests.yml\r\n      secrets:\r\n        codecov_token: ${{ secrets.CODECOV_TOKEN }}\r\n      needs: reference-benchmarks\r\n      with:\r\n        # If running by workflow call, will check by provided branch, if not will default to github.ref.\r\n        branch: ${{ inputs.branch || github.ref }}\r\n\r\n\r\n        pipeline_mode: 'benchmarks'\r\n\r\n        # Run a 'lightened' version of the CI on Pull Requests by default\r\n        # Unless the label `ci:run-full-test-suite` is attached to the PR.\r\n        # Always runs the full suite for push events.\r\n        run_lightened_ci: >-\r\n          ${{\r\n            github.event_name == 'pull_request'\r\n            && !contains(github.event.pull_request.labels.*.name, 'ci:run-full-test-suite')\r\n            || false\r\n          }}\r\n\r\n        skip_ci_test_jobs: torch-tests, autograd-tests, tf-tests, core-tests, all-interfaces-tests, external-libraries-tests, qcut-tests, qchem-tests, gradients-tests, data-tests\r\n\r\n", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:48.251732", "created_at": "2020-12-14T17:28:11+01:00", "updated_at": "2020-12-14T19:03:55+01:00", "name": "Changelog Reminder", "path": ".github/workflows/changelog_reminder.yml", "contents": "on:\n  pull_request:\n    types: [opened, ready_for_review]\n\nname: Changelog Reminder\n\njobs:\n  remind:\n    name: Changelog Reminder\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Changelog Reminder\n      uses: peterjgrainger/action-changelog-reminder@v1.3.0\n      with:\n        changelog_regex: 'doc/releases/changelog-dev.md'\n        customPrMessage: |\n          Hello. You may have forgotten to update the changelog!\n          Please edit [`doc/releases/changelog-dev.md`](/PennyLaneAI/pennylane/blob/master/doc/releases/changelog-dev.md) with:\n          * A one-to-two sentence description of the change. You may include a small working example for new features.\n          * A link back to this PR.\n          * Your name (or GitHub username) in the contributors section.\n      env:\n        GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:49.260739", "created_at": "2022-04-05T00:07:00+02:00", "updated_at": "2022-04-05T21:38:27+02:00", "name": "Docker builds", "path": ".github/workflows/docker.yml", "contents": "name: Docker builds\non: workflow_dispatch\n\njobs:\n  base-tests:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.11.0\n        with:\n          access_token: ${{ github.token }}\n\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 2\n\n      - name: Build & test PennyLane\n        run: make -f docker/Makefile build-base", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:50.388974", "created_at": "2020-02-16T02:35:47+01:00", "updated_at": "2020-02-16T03:06:04+01:00", "name": "Documentation check", "path": ".github/workflows/docs.yml", "contents": "# Sphinx docs check\n# -----------------\n#\n# There are 2 main reasons for having this dedicated Sphinx docs check in\n# addition to the Read the Docs (RTD) builder:\n#\n# 1. This action is set up to fail on Sphinx warnings, whereas RTD's will show\n# a passing sign for warnings, and only fail for errors. So this is a stricter\n# check.\n#\n# 2. When this action detects warnings, it produces GitHub annotations on the\n# Files Changed tab in the pull request. Such annotations can be convenient for\n# developers/code reviewers (e.g., the same way CodeCov and CodeFactor\n# annotate).\n# -----------------\n\nname: \"Documentation check\"\non:\n- pull_request\n\njobs:\n  sphinx:\n    env:\n      DEPS_BRANCH: bot/stable-deps-update\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: PennyLaneAI/sphinx-action@master\n      with:\n        docs-folder: \"doc/\"\n        pre-build-command: >\n            apt install -y graphviz\n            && pip3 install -r doc/requirements.txt\n            && pip3 install .\n            && pip3 install openfermionpyscf\n            && pip3 install aiohttp fsspec h5py\n            && pip freeze | grep -v 'file:///' > .github/stable/doc.txt.tmp\n        build-command: \"sphinx-build -b html . _build -W --keep-going\"\n\n    - name: Prepare local repo\n      if: github.event.pull_request.head.repo.full_name == 'PennyLaneAI/pennylane'\n      run: |\n        git fetch\n        git config user.name \"GitHub Actions Bot\"\n        git config user.email \"<>\"\n        if git ls-remote --exit-code origin \"refs/heads/${{ env.DEPS_BRANCH }}\"; then\n          git checkout \"${{ env.DEPS_BRANCH }}\"\n        else\n          git checkout master\n          git pull\n          git checkout -b \"${{ env.DEPS_BRANCH }}\"\n        fi\n        mv -f .github/stable/doc.txt.tmp .github/stable/doc.txt\n\n    - name: Determine if changes have been made\n      if: github.event.pull_request.head.repo.full_name == 'PennyLaneAI/pennylane'\n      id: changed\n      run: |\n        echo \"has_changes=$(git status --porcelain | wc -l | awk '{print $1}')\" >> $GITHUB_OUTPUT\n\n    - name: Stage changes\n      if: github.event.pull_request.head.repo.full_name == 'PennyLaneAI/pennylane' && steps.changed.outputs.has_changes != '0'\n      run: |\n        git add .github/stable/doc.txt\n        git commit -m \"Update stable docs dependencies\"\n        git push -f --set-upstream origin \"${{ env.DEPS_BRANCH }}\"\n\n    # Create PR to master\n    - name: Create pull request\n      if: github.event.pull_request.head.repo.full_name == 'PennyLaneAI/pennylane' && steps.changed.outputs.has_changes != '0'\n      uses: repo-sync/pull-request@v2\n      with:\n        source_branch: \"${{ env.DEPS_BRANCH }}\"\n        destination_branch: \"master\"\n        github_token: \"${{ secrets.GITHUB_TOKEN }}\"\n        pr_title: \"Update stable dependency files\"\n        # if updating the pr_body, please also update the same text in the tests.yml file\n        pr_body: |\n          Automatic update of stable requirement files to snapshot valid python environments.\n\n          Because bots are not able to trigger CI on their own, please do so by pushing an empty commit to this branch using the following command:\n\n          ```\n          git commit --allow-empty -m 'trigger ci'\n          ```\n\n          Alternatively, wait for this branch to be out-of-date with master, then just use the \"Update branch\" button!\n          \n          Note that it is expected that the PennyLane-Lightning repo is a version ahead of the release, because the \n          version number is taken from the dev branch. Trying to `pip install` from the files will fail until that \n          major version of Lightning is released. \n          \n          If pip install fails with a not found error when installing because of this, it can be fixed by manually \n          downgrading the PennyLane-Lightning version number in the file by 1 version and trying again.\n        pr_allow_empty: false\n        pr_draft: false\n", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:51.413935", "created_at": "2020-02-16T02:35:48+01:00", "updated_at": "2020-02-16T02:35:48+01:00", "name": "Formatting check", "path": ".github/workflows/format.yml", "contents": "name: Formatting check\r\non:\r\n- pull_request\r\n\r\njobs:\r\n  black-pylint:\r\n    runs-on: ubuntu-latest\r\n\r\n    steps:\r\n      - name: Cancel Previous Runs\r\n        uses: styfle/cancel-workflow-action@0.11.0\r\n        with:\r\n          access_token: ${{ github.token }}\r\n\r\n      - name: Set up Python\r\n        uses: actions/setup-python@v2\r\n        with:\r\n          python-version: 3.9\r\n\r\n      - name: Install dependencies\r\n        run: pip install black pylint==2.7.4 isort==5.13.2\r\n\r\n      - uses: actions/checkout@v2\r\n\r\n      - name: Run Black\r\n        run: |\r\n          black -t py39 -t py310 -t py311 -l 100 pennylane/ --check\r\n          black -t py39 -t py310 -t py311 -l 100 tests/ --check\r\n\r\n      - name: Run isort\r\n        run: |\r\n          isort --py 311 --profile black -l 100 -o autoray -p ./pennylane --skip __init__.py --filter-files ./pennylane --check\r\n          isort --py 311 --profile black -l 100 -o autoray -p ./pennylane --skip __init__.py --filter-files ./tests --check\r\n\r\n      - name: Run Pylint (source files)\r\n        if: always()\r\n        run: pylint --rcfile .pylintrc $(find pennylane -name \"*.py\")\r\n\r\n      - name: Run Pylint (test files)\r\n        if: always()\r\n        run: pylint --rcfile tests/.pylintrc $(find tests -name \"*.py\")\r\n", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:52.479942", "created_at": "2024-02-06T15:07:49+01:00", "updated_at": "2024-02-06T15:07:49+01:00", "name": "Freeze stable dependencies", "path": ".github/workflows/freeze-deps.yml", "contents": null, "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:53.512975", "created_at": "2023-06-06T14:46:46+02:00", "updated_at": "2023-10-17T23:47:12+02:00", "name": "Unit Test - All Interfaces", "path": ".github/workflows/interface-unit-tests.yml", "contents": "name: Unit Test - All Interfaces\non:\n  workflow_call:\n    secrets:\n      codecov_token:\n        description: The codecov token to use when uploading coverage files\n        required: true\n    inputs:\n      branch:\n        description: The PennyLane branch to checkout and run unit tests for\n        required: true\n        type: string\n      pipeline_mode:\n          description: The pipeline mode can be unit-tests, benchmarks, or reference-benchmarks\n          required: false\n          type: string\n          default: 'unit-tests'\n      pytest_coverage_flags:\n        description: PyTest Coverage flags to pass to all jobs\n        required: false\n        type: string\n        default: --cov=pennylane --cov-append --cov-report=term-missing --cov-report=xml --no-flaky-report --tb=native\n      run_lightened_ci:\n        description: |\n          Indicate if a lightened version of the CI should be run instead of the entire suite.\n\n          The lightened version of the CI includes the following changes:\n          - Only Python 3.9 is tested against, instead of 3.9, 3.10, 3.11, 3.12\n        required: false\n        type: boolean\n        default: false\n      skip_ci_test_jobs:\n        description: |\n          Names of jobs (comma separated) that should be skipped on a lightened CI run.\n          The value of this variable is only used IF 'run_lightened_ci' is `true`.\n          For a full test-suite run, all jobs are triggered.\n        required: false\n        type: string\n        default: ''\n      disable_new_opmath:\n        description: Whether to disable the new op_math or not when running the tests\n        required: false\n        type: string\n        default: \"False\"\n\njobs:\n  setup-ci-load:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Setup Python Versions\n        id: python_versions\n\n        # All jobs will use the 'default' python versions listed in the dictionary below.\n        # Unless the job name exists as a key as well, in which case the python versions listed for the job itself will be used instead.\n        run: |\n          if [ \"${{ inputs.run_lightened_ci }}\" == \"true\" ];\n          then\n            cat >python_versions.json <<-EOF\n          {\n            \"default\": [\"3.9\"]\n          }\n          EOF\n          else\n            cat >python_versions.json <<-EOF\n          {\n            \"default\": [\"3.9\", \"3.10\", \"3.11\", \"3.12\"],\n            \"torch-tests\": [\"3.9\", \"3.11\"],\n            \"tf-tests\": [\"3.9\", \"3.11\"],\n            \"jax-tests\": [\"3.9\", \"3.12\"],\n            \"all-interfaces-tests\": [\"3.9\"],\n            \"external-libraries-tests\": [\"3.9\"],\n            \"qcut-tests\": [\"3.9\"],\n            \"qchem-tests\": [\"3.9\"],\n            \"gradients-tests\": [\"3.9\"],\n            \"data-tests\": [\"3.9\", \"3.10\"],\n            \"device-tests\": [\"3.9\"]\n          }\n          EOF\n          fi\n\n          jq . python_versions.json\n          echo \"python_versions=$(jq -r tostring python_versions.json)\" >> $GITHUB_OUTPUT\n\n      - name: Setup Matrix Max Parallel\n        id: max_parallel\n        run: |\n          if [ \"${{ inputs.run_lightened_ci }}\" == \"true\" ];\n          then\n            cat >matrix_max_parallel.json <<-EOF\n          {\n            \"default\": 1,\n            \"core-tests\": 5,\n            \"gradients-tests\": 2,\n            \"jax-tests\": 5,\n            \"tf-tests\": 3\n          }\n          EOF\n          else\n            cat >matrix_max_parallel.json <<-EOF\n          {\n            \"default\": 1,\n            \"core-tests\": 5,\n            \"jax-tests\": 10,\n            \"tf-tests\": 6,\n            \"torch-tests\": 2\n          }\n          EOF\n          fi\n\n          jq . matrix_max_parallel.json\n          echo \"matrix_max_parallel=$(jq -r tostring matrix_max_parallel.json)\" >> $GITHUB_OUTPUT\n\n      - name: Setup Job to Skip\n        id: jobs_to_skip\n        env:\n          JOBS_TO_SKIP: ${{ inputs.skip_ci_test_jobs }}\n        run: |\n          if [ \"${{ inputs.run_lightened_ci }}\" == \"true\" ];\n          then\n            skipped_jobs=$(echo -n \"$JOBS_TO_SKIP\" | python -c 'import json, sys; print(json.dumps(list(map(lambda job: job.strip(), filter(None, sys.stdin.read().split(\",\"))))))')\n            echo \"The following jobs will be skipped: $skipped_jobs\"\n            echo \"jobs_to_skip=$skipped_jobs\" >> $GITHUB_OUTPUT\n          else\n            echo 'jobs_to_skip=[]' >> $GITHUB_OUTPUT\n          fi\n\n    outputs:\n      matrix-max-parallel: ${{ steps.max_parallel.outputs.matrix_max_parallel }}\n      python-version: ${{ steps.python_versions.outputs.python_versions }}\n      jobs-to-skip: ${{ steps.jobs_to_skip.outputs.jobs_to_skip }}\n\n  torch-tests:\n    needs:\n      - setup-ci-load\n    strategy:\n      max-parallel: >-\n        ${{\n           fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).torch-tests\n           || fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).default\n         }}\n      matrix:\n        python-version: >-\n          ${{\n            fromJSON(needs.setup-ci-load.outputs.python-version).torch-tests\n            || fromJSON(needs.setup-ci-load.outputs.python-version).default\n           }}\n    if: ${{ !contains(fromJSON(needs.setup-ci-load.outputs.jobs-to-skip), 'torch-tests') }}\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      job_name: torch-tests (${{ matrix.python-version }})\n      branch: ${{ inputs.branch }}\n      coverage_artifact_name: core-interfaces-coverage-torch-${{ matrix.python-version }}\n      python_version: ${{ matrix.python-version }}\n      pipeline_mode: ${{ inputs.pipeline_mode }}\n      install_jax: false\n      install_tensorflow: false\n      install_pytorch: true\n      install_pennylane_lightning_master: true\n      pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}\n      pytest_markers: torch and not qcut and not finite-diff and not param-shift\n      requirements_file: ${{ strategy.job-index == 0 && 'torch.txt' || '' }}\n      disable_new_opmath: ${{ inputs.disable_new_opmath }}\n\n\n  autograd-tests:\n    needs:\n      - setup-ci-load\n    strategy:\n      max-parallel: >-\n        ${{\n           fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).autograd-tests\n           || fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).default\n         }}\n      matrix:\n        python-version: >-\n          ${{\n            fromJSON(needs.setup-ci-load.outputs.python-version).autograd-tests\n            || fromJSON(needs.setup-ci-load.outputs.python-version).default\n           }}\n    if: ${{ !contains(fromJSON(needs.setup-ci-load.outputs.jobs-to-skip), 'autograd-tests') }}\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      job_name: autograd-tests (${{ matrix.python-version }})\n      branch: ${{ inputs.branch }}\n      coverage_artifact_name: core-interfaces-coverage-autograd-${{ matrix.python-version }}\n      python_version: ${{ matrix.python-version }}\n      pipeline_mode: ${{ inputs.pipeline_mode }}\n      install_jax: false\n      install_tensorflow: false\n      install_pytorch: false\n      install_pennylane_lightning_master: true\n      pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}\n      pytest_markers: autograd and not qcut and not finite-diff and not param-shift\n      disable_new_opmath: ${{ inputs.disable_new_opmath }}\n\n\n  tf-tests:\n    needs:\n      - setup-ci-load\n    strategy:\n      max-parallel: >-\n        ${{\n           fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).tf-tests\n           || fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).default\n         }}\n      matrix:\n        group: [1, 2, 3]\n        python-version: >-\n          ${{\n            fromJSON(needs.setup-ci-load.outputs.python-version).tf-tests\n            || fromJSON(needs.setup-ci-load.outputs.python-version).default\n           }}\n    if: ${{ !contains(fromJSON(needs.setup-ci-load.outputs.jobs-to-skip), 'tf-tests') }}\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      job_name: tf-tests (${{ matrix.group }}, ${{ matrix.python-version }})\n      branch: ${{ inputs.branch }}\n      coverage_artifact_name: core-interfaces-coverage-tf-${{ matrix.python-version }}-${{ matrix.group }}\n      python_version: ${{ matrix.python-version }}\n      pipeline_mode: ${{ inputs.pipeline_mode }}\n      install_jax: false\n      install_tensorflow: true\n      install_pytorch: false\n      install_pennylane_lightning_master: true\n      pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}\n      pytest_markers: tf and not qcut and not finite-diff and not param-shift\n      pytest_additional_args: --splits 3 --group ${{ matrix.group }} --durations-path='.github/workflows/tf_tests_durations.json'\n      additional_pip_packages: pytest-split\n      requirements_file: ${{ strategy.job-index == 0 && 'tf.txt' || '' }}\n      disable_new_opmath: ${{ inputs.disable_new_opmath }}\n\n\n  jax-tests:\n    needs:\n      - setup-ci-load\n    strategy:\n      max-parallel: >-\n        ${{\n           fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).jax-tests\n           || fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).default\n         }}\n      matrix:\n        group: [1, 2, 3, 4, 5]\n        python-version: >-\n          ${{\n            fromJSON(needs.setup-ci-load.outputs.python-version).jax-tests\n            || fromJSON(needs.setup-ci-load.outputs.python-version).default\n           }}\n    if: ${{ !contains(fromJSON(needs.setup-ci-load.outputs.jobs-to-skip), 'jax-tests') }}\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      job_name: jax-tests (${{ matrix.group }}, ${{ matrix.python-version }})\n      branch: ${{ inputs.branch }}\n      coverage_artifact_name: core-interfaces-coverage-jax-${{ matrix.python-version }}-${{ matrix.group }}\n      python_version: ${{ matrix.python-version }}\n      pipeline_mode: ${{ inputs.pipeline_mode }}\n      install_jax: true\n      install_tensorflow: false\n      install_pytorch: false\n      install_pennylane_lightning_master: true\n      pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}\n      pytest_markers: jax and not qcut and not finite-diff and not param-shift\n      pytest_additional_args: --splits 5 --group ${{ matrix.group }} --durations-path='.github/workflows/jax_tests_durations.json'\n      additional_pip_packages: pytest-split\n      requirements_file: ${{ strategy.job-index == 0 && 'jax.txt' || '' }}\n      disable_new_opmath: ${{ inputs.disable_new_opmath }}\n\n\n  core-tests:\n    needs:\n      - setup-ci-load\n    strategy:\n      max-parallel: >-\n        ${{\n           fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).core-tests\n           || fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).default\n         }}\n      matrix:\n        group: [1, 2, 3, 4, 5]\n        python-version: >-\n          ${{\n            fromJSON(needs.setup-ci-load.outputs.python-version).core-tests\n            || fromJSON(needs.setup-ci-load.outputs.python-version).default\n           }}\n    if: ${{ !contains(fromJSON(needs.setup-ci-load.outputs.jobs-to-skip), 'core-tests') }}\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      job_name: core-tests (${{ matrix.group }}, ${{ matrix.python-version }})\n      branch: ${{ inputs.branch }}\n      coverage_artifact_name: core-interfaces-coverage-core-${{ matrix.python-version }}-${{ matrix.group }}\n      python_version: ${{ matrix.python-version }}\n      pipeline_mode: ${{ inputs.pipeline_mode }}\n      install_jax: false\n      install_tensorflow: false\n      install_pytorch: false\n      install_pennylane_lightning_master: true\n      pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}\n      pytest_markers: core and not qcut and not finite-diff and not param-shift\n      pytest_additional_args: --splits 5 --group ${{ matrix.group }} --durations-path='.github/workflows/core_tests_durations.json'\n      additional_pip_packages: pytest-split\n      requirements_file: ${{ strategy.job-index == 0 && 'core.txt' || '' }}\n      disable_new_opmath: ${{ inputs.disable_new_opmath }}\n\n\n  all-interfaces-tests:\n    needs:\n      - setup-ci-load\n    strategy:\n      max-parallel: >-\n        ${{\n           fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).all-interfaces-tests\n           || fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).default\n         }}\n      matrix:\n        python-version: >-\n          ${{\n            fromJSON(needs.setup-ci-load.outputs.python-version).all-interfaces-tests\n            || fromJSON(needs.setup-ci-load.outputs.python-version).default\n           }}\n    if: ${{ !contains(fromJSON(needs.setup-ci-load.outputs.jobs-to-skip), 'all-interfaces-tests') }}\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      job_name: all-interfaces-tests (${{ matrix.python-version }})\n      branch: ${{ inputs.branch }}\n      coverage_artifact_name: all-interfaces-coverage\n      python_version: ${{ matrix.python-version }}\n      pipeline_mode: ${{ inputs.pipeline_mode }}\n      install_jax: true\n      install_tensorflow: true\n      install_pytorch: true\n      install_pennylane_lightning_master: true\n      pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}\n      pytest_markers: all_interfaces\n      requirements_file: ${{ strategy.job-index == 0 && 'all_interfaces.txt' || '' }}\n      disable_new_opmath: ${{ inputs.disable_new_opmath }}\n\n\n  external-libraries-tests:\n    needs:\n      - setup-ci-load\n    strategy:\n      max-parallel: >-\n        ${{\n           fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).external-libraries-tests\n           || fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).default\n         }}\n      matrix:\n        python-version: >-\n          ${{\n            fromJSON(needs.setup-ci-load.outputs.python-version).external-libraries-tests\n            || fromJSON(needs.setup-ci-load.outputs.python-version).default\n           }}\n    if: ${{ !contains(fromJSON(needs.setup-ci-load.outputs.jobs-to-skip), 'external-libraries-tests') }}\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      job_name: external-libraries-tests (${{ matrix.python-version }})\n      branch: ${{ inputs.branch }}\n      coverage_artifact_name: external-libraries-tests-coverage\n      python_version: ${{ matrix.python-version }}\n      pipeline_mode: ${{ inputs.pipeline_mode }}\n      install_jax: true\n      install_tensorflow: true\n      install_pytorch: false\n      # using lightning master does not work for the tests with external libraries\n      install_pennylane_lightning_master: false\n      pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}\n      pytest_markers: external\n      additional_pip_packages: pyzx pennylane-catalyst matplotlib stim quimb\n      requirements_file: ${{ strategy.job-index == 0 && 'external.txt' || '' }}\n      disable_new_opmath: ${{ inputs.disable_new_opmath }}\n\n\n  qcut-tests:\n    needs:\n      - setup-ci-load\n    strategy:\n      max-parallel: >-\n        ${{\n           fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).qcut-tests\n           || fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).default\n         }}\n      matrix:\n        python-version: >-\n          ${{\n            fromJSON(needs.setup-ci-load.outputs.python-version).qcut-tests\n            || fromJSON(needs.setup-ci-load.outputs.python-version).default\n           }}\n    if: ${{ !contains(fromJSON(needs.setup-ci-load.outputs.jobs-to-skip), 'qcut-tests') }}\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      job_name: qcut-tests (${{ matrix.python-version }})\n      branch: ${{ inputs.branch }}\n      coverage_artifact_name: qcut-coverage\n      python_version: ${{ matrix.python-version }}\n      pipeline_mode: ${{ inputs.pipeline_mode }}\n      install_jax: true\n      install_tensorflow: true\n      install_pytorch: true\n      install_pennylane_lightning_master: true\n      pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}\n      pytest_markers: qcut\n      additional_pip_packages: kahypar==1.1.7 opt_einsum\n      disable_new_opmath: ${{ inputs.disable_new_opmath }}\n\n\n  qchem-tests:\n    needs:\n      - setup-ci-load\n    strategy:\n      max-parallel: >-\n        ${{\n           fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).qchem-tests\n           || fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).default\n         }}\n      matrix:\n        python-version: >-\n          ${{\n            fromJSON(needs.setup-ci-load.outputs.python-version).qchem-tests\n            || fromJSON(needs.setup-ci-load.outputs.python-version).default\n           }}\n    if: ${{ !contains(fromJSON(needs.setup-ci-load.outputs.jobs-to-skip), 'qchem-tests') }}\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      job_name: qchem-tests (${{ matrix.python-version }})\n      branch: ${{ inputs.branch }}\n      coverage_artifact_name: qchem-coverage\n      python_version: ${{ matrix.python-version }}\n      pipeline_mode: ${{ inputs.pipeline_mode }}\n      install_jax: false\n      install_tensorflow: false\n      install_pytorch: false\n      install_pennylane_lightning_master: true\n      pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}\n      pytest_markers: qchem\n      additional_pip_packages: openfermionpyscf basis-set-exchange\n      disable_new_opmath: ${{ inputs.disable_new_opmath }}\n\n  gradients-tests:\n    needs:\n      - setup-ci-load\n    strategy:\n      max-parallel: >-\n        ${{\n           fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).gradients-tests\n           || fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).default\n         }}\n      matrix:\n        config:\n          - suite: finite-diff\n          - suite: param-shift\n        python-version: >-\n          ${{\n            fromJSON(needs.setup-ci-load.outputs.python-version).gradients-tests\n            || fromJSON(needs.setup-ci-load.outputs.python-version).default\n           }}\n    if: ${{ !contains(fromJSON(needs.setup-ci-load.outputs.jobs-to-skip), 'gradients-tests') }}\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      job_name: gradients-tests (${{ matrix.config.suite }}, ${{ matrix.python-version }})\n      branch: ${{ inputs.branch }}\n      coverage_artifact_name: gradients-${{ matrix.config.suite }}-coverage\n      python_version: ${{ matrix.python-version }}\n      pipeline_mode: ${{ inputs.pipeline_mode }}\n      install_jax: true\n      install_tensorflow: true\n      install_pytorch: true\n      install_pennylane_lightning_master: true\n      pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}\n      pytest_markers: ${{ matrix.config.suite }}\n      disable_new_opmath: ${{ inputs.disable_new_opmath }}\n\n\n  data-tests:\n    needs:\n      - setup-ci-load\n    strategy:\n      max-parallel: >-\n        ${{\n           fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).data-tests\n           || fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).default\n         }}\n      matrix:\n        python-version: >-\n          ${{\n            fromJSON(needs.setup-ci-load.outputs.python-version).data-tests\n            || fromJSON(needs.setup-ci-load.outputs.python-version).default\n           }}\n    if: ${{ !contains(fromJSON(needs.setup-ci-load.outputs.jobs-to-skip), 'data-tests') }}\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      job_name: data-tests (${{ matrix.python-version }})\n      branch: ${{ inputs.branch }}\n      coverage_artifact_name: data-coverage\n      python_version: ${{ matrix.python-version }}\n      pipeline_mode: ${{ inputs.pipeline_mode }}\n      install_jax: false\n      install_tensorflow: false\n      install_pytorch: false\n      install_pennylane_lightning_master: true\n      pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}\n      pytest_markers: data\n      additional_pip_packages: h5py\n      disable_new_opmath: ${{ inputs.disable_new_opmath }}\n\n\n  device-tests:\n    needs:\n      - setup-ci-load\n    strategy:\n      max-parallel: >-\n        ${{\n           fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).device-tests\n           || fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).default\n         }}\n      matrix:\n        config:\n          - device: default.qubit.legacy\n            shots: None\n          - device: default.qubit\n            shots: None\n          - device: default.qubit\n            shots: 10000\n          - device: default.qubit.legacy\n            shots: 10000\n          # - device: default.qubit.tf\n          #   shots: None\n          - device: default.qubit.autograd\n            shots: None\n            skip_interface: jax,tf,torch\n          - device: default.mixed\n            shots: None\n        python-version: >-\n          ${{\n            fromJSON(needs.setup-ci-load.outputs.python-version).device-tests\n            || fromJSON(needs.setup-ci-load.outputs.python-version).default\n           }}\n    if: ${{ !contains(fromJSON(needs.setup-ci-load.outputs.jobs-to-skip), 'device-tests') }}\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      job_name: device-tests (${{ matrix.config.device }}, ${{ matrix.config.shots }}, ${{ matrix.python-version }})\n      branch: ${{ inputs.branch }}\n      coverage_artifact_name: devices-coverage-${{ matrix.config.device }}-${{ matrix.config.shots }}\n      python_version: ${{ matrix.python-version }}\n      pipeline_mode: ${{ inputs.pipeline_mode }}\n      install_jax: ${{ !contains(matrix.config.skip_interface, 'jax') }}\n      install_tensorflow: ${{ !contains(matrix.config.skip_interface, 'tf') }}\n      install_pytorch: ${{ !contains(matrix.config.skip_interface, 'torch') }}\n      install_pennylane_lightning_master: true\n      pytest_test_directory: pennylane/devices/tests\n      pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}\n      pytest_additional_args: --device=${{ matrix.config.device }} --shots=${{ matrix.config.shots }}\n      disable_new_opmath: ${{ inputs.disable_new_opmath }}\n\n\n  upload-to-codecov:\n    runs-on: ubuntu-latest\n\n    needs:\n      - torch-tests\n      - autograd-tests\n      - tf-tests\n      - jax-tests\n      - core-tests\n      - all-interfaces-tests\n      - external-libraries-tests\n      - qcut-tests\n      - qchem-tests\n      - gradients-tests\n      - data-tests\n      - device-tests\n\n    # Run this even if any of the above jobs are skipped but not if any of the jobs failed\n    if: >-\n      ${{\n        always() &&\n        !contains(needs.*.result, 'failure') &&\n        !contains(needs.*.result, 'cancelled') &&\n        inputs.pipeline_mode == 'unit-tests'\n       }}\n\n    steps:\n      # Checkout repo so Codecov action is able to resolve git HEAD reference\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ inputs.branch }}\n\n      - name: Down Coverage Artifacts\n        uses: actions/download-artifact@v3\n\n      - name: Upload to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.codecov_token }}\n          fail_ci_if_error: true  # upload errors should be caught early\n", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:54.581662", "created_at": "2024-04-03T21:59:11+02:00", "updated_at": "2024-04-17T17:23:29+02:00", "name": "Legacy opmath tests", "path": ".github/workflows/legacy_op_math.yml", "contents": "name: Legacy opmath tests\r\n\r\non:\r\n  schedule:\r\n    - cron: \"0 2 * * *\"\r\n  workflow_dispatch:\r\n\r\njobs:\r\n  tests:\r\n    uses: ./.github/workflows/interface-unit-tests.yml\r\n    secrets:\r\n      codecov_token: ${{ secrets.CODECOV_TOKEN }}\r\n    with:\r\n      branch: 'master'\r\n      run_lightened_ci: false\r\n      disable_new_opmath: \"True\"\r\n", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:55.582371", "created_at": "2022-03-18T14:27:55+01:00", "updated_at": "2022-04-20T17:22:39+02:00", "name": "Sync release candidate with master", "path": ".github/workflows/rc_sync.yml", "contents": "# This workflow will sync changes in the release candidate branch to master during a\n# feature freeze. The action is run daily and will only create a pull request when\n# there exists a release candidate branch corresponding to the current package version\n# as declared in pennylane/_version.py, that is if the branch \"v0.23.0-rc0\" exists while\n# the package version is \"v0.24.0-dev\".\n\nname: Sync release candidate with master\n\n# Controls when the workflow will run\non:\n  # Scheduled trigger every weekday at 2:47am UTC\n  schedule:\n  - cron:  '47 2 * * 1-5'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job to sync the master branch with changes from the rc\n  sync:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out the PennyLane repository\n      - uses: actions/checkout@v3\n\n      # Check for the existence of an rc branch for the current PennyLane version\n      - name: Check for rc branch\n        run: |\n          VERSION=$(python setup.py --version)\n          IFS=. read MAJ MIN PAT <<< \"${VERSION%.dev0}\"\n          RC_BRANCH=\"v${MAJ}.$((MIN-1)).${PAT}-rc0\"\n          if git ls-remote --exit-code origin \"refs/heads/$RC_BRANCH\"; then\n            echo \"branch_exists=true\" >> $GITHUB_ENV\n            echo \"rc_branch=$RC_BRANCH\" >> $GITHUB_ENV\n          else\n            echo \"branch_exists=false\" >> $GITHUB_ENV\n          fi\n          echo \"new_changes=false\" >> $GITHUB_ENV\n\n      # Create a new branch at from the current rc to be used in the PR\n      - name: Create temp branch\n        if: ${{ env.branch_exists == 'true' }}\n        run: |\n          git fetch\n          git checkout \"${{ env.rc_branch }}\"\n          BRANCH=\"rc_$(date +'%Y-%m-%d-%H-%M-%S')\"\n          echo \"tmp_branch=$BRANCH\" >> $GITHUB_ENV\n          git checkout -b \"$BRANCH\"\n          # Exclude some files known to be divergent during the release process from the PR\n          git checkout master -- pennylane/_version.py\n          git checkout master -- doc/development/release_notes.md\n          git config user.name \"GitHub Actions Bot\"\n          git config user.email \"<>\"\n          git commit -m \"exclude files from pr\"\n          # check for new changes on the rc branch only, based on the diff between master and rc\n          if ! git diff master HEAD --quiet -- $(git diff --name-only master...HEAD); then\n            echo \"new_changes=true\" >> $GITHUB_ENV\n            git push --set-upstream origin \"$BRANCH\"\n          fi\n\n      # Create PR to master\n      - name: Create pull request\n        if: ${{ env.new_changes == 'true' }}\n        uses: repo-sync/pull-request@v2\n        with:\n          source_branch: \"${{ env.tmp_branch }}\"\n          destination_branch: \"master\"\n          github_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          pr_title: \"Daily rc sync to master\"\n          pr_body: \"Automatic sync from the release candidate to master during a feature freeze.\"\n          pr_allow_empty: false\n          pr_draft: false\n          pr_reviewer: \"astralcai,albi3ro\"\n", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:56.608260", "created_at": "2024-04-09T20:02:07+02:00", "updated_at": "2024-04-09T20:07:56+02:00", "name": "Scorecard", "path": ".github/workflows/scorecard.yml", "contents": null, "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:57.689980", "created_at": "2024-03-26T19:52:31+01:00", "updated_at": "2024-03-26T19:52:31+01:00", "name": "Update Stable Deps", "path": ".github/workflows/stable_deps.yml", "contents": null, "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:58.690671", "created_at": "2024-03-14T15:55:34+01:00", "updated_at": "2024-03-14T15:55:34+01:00", "name": "Test Benchmark Runner Cleanup Hook", "path": ".github/workflows/test_cleanup_hook.yml", "contents": null, "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:52:59.726403", "created_at": "2022-07-26T06:16:18+02:00", "updated_at": "2022-08-17T20:05:47+02:00", "name": "GPU Tests", "path": ".github/workflows/tests-gpu.yml", "contents": "name: GPU Tests\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - labeled\n      - synchronize\n\nconcurrency:\n  group: gpu-test-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  TORCH_VERSION: 2.2.0\n\njobs:\n  gpu-tests:\n    runs-on:\n      - self-hosted\n      - ubuntu-22.04\n      - gpu\n\n    if: >-\n      ${{\n        github.event_name == 'push' ||\n        (\n          github.event_name == 'pull_request' &&\n          contains(github.event.pull_request.labels.*.name, 'gpu') &&\n          github.event.pull_request.state == 'open'\n        )\n      }}\n\n    strategy:\n      max-parallel: 2\n      matrix:\n        python-version:\n          - 3.9\n          - '3.10'\n          - '3.11'\n\n    env:\n      SUITE: gpu\n\n    steps:\n      - name: Update PATH and LD_LIBRARY_PATH\n        run: |\n          echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n          echo \"/usr/local/cuda/bin\" >> $GITHUB_PATH\n          echo \"LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}\" >> $GITHUB_ENV\n\n      - name: Checkout Repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n\n      - name: Setup Python\n        id: setup_python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Since the self-hosted runner can be re-used. It is best to set up all package\n      # installations in a virtual environment that gets cleaned at the end of each workflow run\n      - name: Setup Python virtual environment\n        id: setup_venv\n        env:\n          VENV_NAME: ${{ github.workspace }}/venv_${{ steps.setup_python.outputs.python-version }}_${{ github.sha }}\n        run: |\n          # Clear any pre-existing venvs\n          rm -rf venv_*\n\n          # Create new venv for this workflow_run\n          python --version\n          python -m venv ${{ env.VENV_NAME }}\n\n          # Add the venv to PATH for subsequent steps\n          echo ${{ env.VENV_NAME }}/bin >> $GITHUB_PATH\n\n          # Adding venv name as an output for subsequent steps to reference if needed\n          echo \"venv_name=${{ env.VENV_NAME }}\" >> $GITHUB_OUTPUT\n\n      - name: Display Python-Path\n        run: |\n          which python\n          which pip\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip && pip install wheel --upgrade\n          pip install -r requirements-ci.txt --upgrade\n          pip install -r requirements-dev.txt --upgrade\n\n      - name: Install Torch\n        run: |\n          python -m pip install --no-cache-dir torch==${{ env.TORCH_VERSION }} -f https://download.pytorch.org/whl/cu118/torch_stable.html\n\n      - name: Install PennyLane\n        run: |\n          python setup.py bdist_wheel\n          pip install dist/PennyLane*.whl\n\n      - name: Install Lightning-master\n        run: python -m pip install -i https://test.pypi.org/simple/ PennyLane-Lightning --pre --upgrade\n\n      - name: Run tests\n        run: python -m pytest -m \"${{ env.SUITE }}\" tests\n\n      # Cleans up the working directory so subsequent jobs on same runner get a clean working directory\n      # This step runs even if any of the previous steps fail\n      - name: Cleanup\n        if: always()\n        run: |\n          rm -rf ${{ steps.setup_venv.outputs.venv_name }}\n          rm -rf *\n          rm -rf .git\n          rm -rf .gitignore\n          rm -rf .github\n          pip cache purge\n", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:53:00.828597", "created_at": "2020-07-21T08:56:36+02:00", "updated_at": "2024-03-20T16:39:29+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\r\non:\r\n  push:\r\n    branches:\r\n      - master\r\n  pull_request:\r\n\r\nconcurrency:\r\n  group: unit-tests-${{ github.ref }}\r\n  cancel-in-progress: true\r\n\r\nenv:\r\n  DEPS_BRANCH: bot/stable-deps-update\r\n\r\njobs:\r\n  tests:\r\n    uses: ./.github/workflows/interface-unit-tests.yml\r\n    secrets:\r\n      codecov_token: ${{ secrets.CODECOV_TOKEN }}\r\n    with:\r\n      branch: ${{ github.ref }}\r\n\r\n      # Run a 'lightened' version of the CI on Pull Requests by default\r\n      # Unless the label `ci:run-full-test-suite` is attached to the PR.\r\n      # Always runs the full suite for push events.\r\n      run_lightened_ci: >-\r\n        ${{\r\n          github.event_name == 'pull_request'\r\n          && !contains(github.event.pull_request.labels.*.name, 'ci:run-full-test-suite')\r\n          || false\r\n         }}\r\n\r\n  upload-stable-deps:\r\n    needs: tests\r\n    runs-on: ubuntu-latest\r\n    if: ${{ github.event_name == 'push' }}\r\n    steps:\r\n      - name: Checkout\r\n        uses: actions/checkout@v3\r\n        with:\r\n          fetch-depth: 0\r\n          ref: master\r\n\r\n      - name: Prepare local repo\r\n        run: |\r\n          git config user.name \"GitHub Actions Bot\"\r\n          git config user.email \"<>\"\r\n          if git ls-remote --exit-code origin \"refs/heads/${{ env.DEPS_BRANCH }}\"; then\r\n            git checkout \"${{ env.DEPS_BRANCH }}\"\r\n          else\r\n            git checkout -b \"${{ env.DEPS_BRANCH }}\"\r\n          fi\r\n\r\n      - name: Download artifacts\r\n        uses: actions/download-artifact@v4\r\n        with:\r\n          pattern: frozen-*\r\n          path: .github/stable/\r\n          merge-multiple: true\r\n\r\n      - name: Determine if changes have been made\r\n        id: changed\r\n        run: |\r\n          echo \"has_changes=$(git status --porcelain | wc -l | awk '{print $1}')\" >> $GITHUB_OUTPUT\r\n\r\n      - name: Stage changes\r\n        if: steps.changed.outputs.has_changes != '0'\r\n        run: |\r\n          git add .github/stable/\r\n          git commit -m \"Update changed dependencies\"\r\n          git push -f --set-upstream origin \"${{ env.DEPS_BRANCH }}\"\r\n\r\n      # Create PR to master\r\n      - name: Create pull request\r\n        if: steps.changed.outputs.has_changes != '0'\r\n        uses: repo-sync/pull-request@v2\r\n        with:\r\n          source_branch: \"${{ env.DEPS_BRANCH }}\"\r\n          destination_branch: \"master\"\r\n          github_token: \"${{ secrets.GITHUB_TOKEN }}\"\r\n          pr_title: \"Update stable dependency files\"\r\n          # if updating the pr_body, please also update the same text in the docs.yml file\r\n          pr_body: |\r\n            Automatic update of stable requirement files to snapshot valid python environments.\r\n\r\n            Because bots are not able to trigger CI on their own, please do so by pushing an empty commit to this branch using the following command:\r\n\r\n            ```\r\n            git commit --allow-empty -m 'trigger ci'\r\n            ```\r\n\r\n            Alternatively, wait for this branch to be out-of-date with master, then just use the \"Update branch\" button!\r\n            \r\n            Note that it is expected that the PennyLane-Lightning repo is a version ahead of the release, because the \r\n            version number is taken from the dev branch. Trying to `pip install` from the files will fail until that \r\n            major version of Lightning is released.\r\n            \r\n            If pip install fails with a not found error when installing because of this, it can be fixed by manually \r\n            downgrading the PennyLane-Lightning version number in the file by 1 version and trying again.\r\n          pr_allow_empty: false\r\n          pr_draft: false\r\n", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:53:01.881972", "created_at": "2023-06-06T14:46:46+02:00", "updated_at": "2023-11-22T15:49:40+01:00", "name": "Unit Test", "path": ".github/workflows/unit-test.yml", "contents": "name: Unit Test\non:\n  workflow_call:\n    inputs:\n      job_name:\n        description: The name of the Job as it would appear on GitHub Actions UI\n        required: true\n        type: string\n      branch:\n        description: The PennyLane branch to checkout and run unit tests for\n        required: true\n        type: string\n      coverage_artifact_name:\n        description: Name of the artifact file that will contain the coverage file for codevoc\n        required: true\n        type: string\n      checkout_fetch_depth:\n        description: How many commits to checkout from HEAD of branch passed\n        required: false\n        type: number\n        default: 1\n      python_version:\n        description: The version of Python to use in order to run unit tests\n        required: false\n        type: string\n        default: '3.9'\n      pipeline_mode:\n        description: The pipeline mode can be unit-tests, benchmarks, or reference-benchmark\n        required: false\n        type: string\n        default: 'unit-tests'\n      install_jax:\n        description: Indicate if JAX should be installed or not\n        required: false\n        type: boolean\n        default: true\n      jax_version:\n        description: The version of JAX to install. Leave empty to install latest version.\n        required: false\n        type: string\n        default: ''\n      install_tensorflow:\n        description: Indicate if TensorFlow should be installed or not\n        required: false\n        type: boolean\n        default: true\n      tensorflow_version:\n        description: The version of TensorFlow to install. Leave empty to install latest version.\n        required: false\n        type: string\n        default: ''\n      install_pytorch:\n        description: Indicate if PyTorch should be installed or not\n        required: false\n        type: boolean\n        default: true\n      pytorch_version:\n        description: The version of PyTorch to install. Leave empty to install latest version.\n        required: false\n        type: string\n        default: ''\n      install_pennylane_lightning_master:\n        description: Indicate if PennyLane-Lightning should be installed from the master branch\n        required: false\n        type: boolean\n        default: true\n      pytest_test_directory:\n        description: The directory where the PennyLane tests are that should be run by PyTest\n        required: false\n        type: string\n        default: tests\n      pytest_coverage_flags:\n        description: Coverage flags for PyTest\n        required: false\n        type: string\n        default: ''\n      pytest_markers:\n        description: Custom mark string to pass to PyTest\n        required: false\n        type: string\n        default: ''\n      pytest_additional_args:\n        description: Additional arguments to pass to PyTest\n        required: false\n        type: string\n        default: ''\n      additional_pip_packages:\n        description: Additional packages to install. Values will be passed to pip install {value}\n        required: false\n        type: string\n        default: ''\n      requirements_file:\n        description: File name to store stable version of requirements for a test group\n        required: false\n        type: string\n        default: ''\n      disable_new_opmath:\n        description: Whether to disable the new op_math or not when running the tests\n        required: false\n        type: string\n        default: \"False\"\n\njobs:\n  test:\n    name: ${{ inputs.job_name }}\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ inputs.branch }}\n          fetch-depth: ${{ inputs.checkout_fetch_depth }}\n          repository: PennyLaneAI/pennylane\n\n      - name: Determine benchmark name\n        if: ${{ inputs.pipeline_mode != 'unit-tests' }}\n        id: benchmark_name\n        run: |\n          job_name=\"${{ inputs.job_name }}\"\n          _benchmark_name=${job_name//[(,)]/\"\"}\n          _benchmark_name=${_benchmark_name//[(\" \")]/\"-\"}\n          echo \"benchmark_name=$_benchmark_name\" >> $GITHUB_OUTPUT\n\n      - name: Cache reference benchmarks\n        if: ${{ inputs.pipeline_mode != 'unit-tests' }}\n        id: benchmark-cache\n        uses: actions/cache@v3\n        with:\n          path: benchmark_reference\n          key: ${{ steps.benchmark_name.outputs.benchmark_name }}-benchmarks_references\n\n      - name: Check if the shared part of the job will continue\n        id: continue\n        run: >-\n          echo \"confirm=${{\n            contains(fromJSON('[\"unit-tests\", \"benchmarks\"]'), inputs.pipeline_mode)\n            || (inputs.pipeline_mode == 'reference-benchmarks'\n            && steps.benchmark-cache.outputs.cache-hit != 'true' )}}\" >> $GITHUB_OUTPUT\n\n      - name: Install PennyLane and dependencies\n        if: steps.continue.outputs.confirm == 'true'\n        uses: ./.github/workflows/install_deps\n        with:\n          python_version: ${{ inputs.python_version }}\n          install_pytorch: ${{ inputs.install_pytorch }}\n          install_tensorflow: ${{ inputs.install_tensorflow }}\n          install_jax: ${{ inputs.install_jax }}\n          additional_pip_packages: ${{ inputs.additional_pip_packages }}\n          install_pennylane_lightning_master: ${{ inputs.install_pennylane_lightning_master }}\n          requirements_file: ${{ inputs.requirements_file }}\n\n      - name: Set PyTest Args\n        if: steps.continue.outputs.confirm == 'true'\n        id: pytest_args\n        env:\n          PIPELINE_MODE: ${{ inputs.pipeline_mode }}\n          PYTEST_COVERAGE_ARGS: ${{ inputs.pytest_coverage_flags }}\n          PYTEST_PARALLELISE_ARGS: -n auto\n          PYTEST_BENCHMARKS_ARGS: --benchmark-enable --benchmark-only --benchmark-json=benchmarks.json\n          PYTEST_ADDITIONAL_ARGS: ${{ inputs.pytest_additional_args }}\n        run: |\n          if [[ \"$PIPELINE_MODE\" =~ .*\"benchmarks\".* ]]; then\n            echo \"args=$PYTEST_BENCHMARKS_ARGS $PYTEST_ADDITIONAL_ARGS\" >> $GITHUB_OUTPUT\n          else\n            echo \"args=$PYTEST_COVERAGE_ARGS $PYTEST_PARALLELISE_ARGS $PYTEST_ADDITIONAL_ARGS\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Run PennyLane Unit Tests\n        if: steps.continue.outputs.confirm == 'true'\n        env:\n          PYTEST_MARKER: ${{ inputs.pytest_markers != '' && format('-m \"{0}\"', inputs.pytest_markers) || '' }}\n          COV_CORE_SOURCE: pennylane\n          COV_CORE_CONFIG: .coveragerc\n          COV_CORE_DATAFILE: .coverage.eager\n          TF_USE_LEGACY_KERAS: \"1\"  # sets to use tf-keras (Keras2) instead of keras (Keras3) when running TF tests\n        # Calling PyTest by invoking Python first as that adds the current directory to sys.path\n        run: python -m pytest ${{ inputs.pytest_test_directory }} ${{ steps.pytest_args.outputs.args }} ${{ env.PYTEST_MARKER }} --disable-opmath=${{ inputs.disable_new_opmath }}\n\n      - name: Adjust coverage file for Codecov\n        if: inputs.pipeline_mode == 'unit-tests'\n        run: bash <(sed -i 's/filename=\\\"/filename=\\\"pennylane\\//g' coverage.xml)\n\n      - name: Upload Coverage File\n        if: inputs.pipeline_mode == 'unit-tests'\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ inputs.coverage_artifact_name }}\n          path: coverage.xml\n\n      # If this is a reference benchmark move file to the cached directory, and we have a non-empty reference benchmark file.\n      - name: Move reference pytest benchmark file to cache\n        if: inputs.pipeline_mode == 'reference-benchmarks' && hashFiles('benchmarks.json') != ''\n        run: mkdir -p ${{ github.workspace }}/benchmark_reference && cp benchmarks.json \"$_\"\n\n      - name: Convert pytest benchmark JSON files to XUBM-JSON\n        if: inputs.pipeline_mode == 'benchmarks' && hashFiles('benchmarks.json') != '' && hashFiles('benchmark_reference/benchmarks.json') != ''\n        run: |\n          mkdir ${{ github.workspace }}/benchmark_results\n          python .github/workflows/scripts/benchmarks/convert_pytest_JSON_to_XUBM.py --filename_XUBM benchmark_results/benchmarks_xubm.json --author ${{ github.event.pull_request.user.login }} --github_reference ${{ github.ref }}\n          python .github/workflows/scripts/benchmarks/convert_pytest_JSON_to_XUBM.py --filename benchmark_reference/benchmarks.json --filename_XUBM benchmark_reference/benchmarks_xubm.json --author ${{ github.event.pull_request.user.login }}\n\n      - name: Plotting benchmark graphs\n        if: inputs.pipeline_mode == 'benchmarks' && hashFiles('benchmark_results/benchmarks_xubm.json') != '' && hashFiles('benchmark_reference/benchmarks_xubm.json') != ''\n        run: |\n          python .github/workflows/scripts/benchmarks/plot_benchmarks.py --graph_name ${{ steps.benchmark_name.outputs.benchmark_name }}\n\n      # Merge benchmarks data in a single JSON. Create a CSV file with runtimes. Move data to the artifact directory.\n      - name: Post-process benchmark data\n        if: inputs.pipeline_mode == 'benchmarks' && hashFiles('benchmark_results/benchmarks_xubm.json') != '' && hashFiles('benchmark_reference/benchmarks_xubm.json') != ''\n        run: |\n          python .github/workflows/scripts/benchmarks/export_benchmarks_data.py\n\n      # If this is an assessment benchmark, upload the data as an artifact.\n      - name: Upload pytest benchmark results\n        if: inputs.pipeline_mode == 'benchmarks'\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ steps.benchmark_name.outputs.benchmark_name }}-benchmarks\n          path: ${{ github.workspace }}/benchmark_results\n", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:53:02.900016", "created_at": "2022-04-22T22:09:21+02:00", "updated_at": "2023-05-01T20:41:19+02:00", "name": "Upload", "path": ".github/workflows/upload.yml", "contents": "name: Upload\non:\n  release:\n    types: [published]\n\njobs:\n  tests:\n    uses: ./.github/workflows/interface-unit-tests.yml\n    secrets:\n      codecov_token: ${{ secrets.CODECOV_TOKEN }}\n    with:\n      branch: ${{ github.ref }}\n\n  upload:\n    runs-on: ubuntu-latest\n    # Make sure that the PennyLane is not released unless the tests are passing.\n    needs:\n      - tests\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 1\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Build PennyLane wheel\n        run: |\n          python -m pip install --upgrade pip wheel\n          pip install -r requirements-ci.txt --upgrade\n          python setup.py bdist_wheel\n\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI }}\n", "state": "active", "repository": "pennylaneai/pennylane"}
{"mined_at": "2024-07-15T15:53:04.951430", "created_at": "2021-03-30T22:22:47+02:00", "updated_at": "2021-06-02T23:04:51+02:00", "name": "Auto Update README", "path": ".github/workflows/auto_update.yml", "contents": "name: Auto Update README\n\non:\n  schedule:\n    - cron: '30 19 * * *'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: main\n    - name: Setup Python\n      uses: actions/setup-python@v1\n      with:\n          python-version: '3.x'\n          architecture: 'x64'\n    - name: Setup pip\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytz\n    - name: Run assemble.py\n      run: |\n         python scripts/auto_update.py --all\n    - name: Commits\n      run: |\n        git config --local user.email \"tony9402@naver.com\"\n        git config --local user.name \"tony9402\"\n        git add .\n        git commit -m \"Auto UPDATE (ALL)\"\n    - name: Push\n      uses: ad-m/github-push-action@master\n      with:\n         branch: 'main'\n         github_token: $\n", "state": "active", "repository": "tony9402/baekjoon"}
{"mined_at": "2024-07-15T15:53:06.000319", "created_at": "2024-06-30T18:37:18+02:00", "updated_at": "2024-06-30T18:37:18+02:00", "name": "Auto Update README", "path": ".github/workflows/auto_update_problems.yml", "contents": null, "state": "active", "repository": "tony9402/baekjoon"}
{"mined_at": "2024-07-15T15:53:08.176021", "created_at": "2021-02-03T16:58:39+01:00", "updated_at": "2023-06-12T18:03:08+02:00", "name": "Tests", "path": ".github/workflows/main.yml", "contents": "name: Tests\n\non: [push]\n\njobs:\n  unittest:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', '3.11']\n    steps:\n    - name: Checkout PyAutoConf\n      uses: actions/checkout@v2\n      with:\n        repository: rhayes777/PyAutoConf\n        path: PyAutoConf\n    - name: Checkout PyAutoFit\n      uses: actions/checkout@v2\n      with:\n        path: PyAutoFit\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/cache@v2\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Extract branch name\n      shell: bash\n      run: |\n        cd PyAutoFit\n        echo \"##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})\"\n      id: extract_branch\n    - name: Change to same branch if exists in deps\n      shell: bash\n      run: |\n        export PACKAGES=(\"PyAutoConf\")\n        export BRANCH=\"${{ steps.extract_branch.outputs.branch }}\"\n        for PACKAGE in ${PACKAGES[@]}; do\n          pushd $PACKAGE\n          export existed_in_remote=$(git ls-remote --heads origin ${BRANCH})\n          if [[ -z ${existed_in_remote} ]]; then\n            echo \"Branch $BRANCH did not exist in $PACKAGE\"\n          else\n            echo \"Branch $BRANCH did exist in $PACKAGE\"\n            git fetch\n            git checkout $BRANCH\n          fi\n          popd\n        done\n    - name: Install dependencies\n #     if: steps.cache-pip.outputs.cache-hit != 'true'\n      run: |\n        pip3 install --upgrade pip\n        pip3 install setuptools\n        pip3 install wheel\n        pip3 install pytest coverage pytest-cov\n        pip3 install -r PyAutoConf/requirements.txt\n        pip3 install -r PyAutoFit/requirements.txt\n        pip3 install -r PyAutoFit/optional_requirements.txt\n        pip3 install -r PyAutoFit/build_requirements.txt\n    - name: Run tests\n      run: |\n        export ROOT_DIR=`pwd`\n        export PYTHONPATH=$PYTHONPATH:$ROOT_DIR/PyAutoConf\n        export PYTHONPATH=$PYTHONPATH:$ROOT_DIR/PyAutoFit\n        pushd PyAutoFit\n        pytest --cov autofit --cov-report xml:coverage.xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n    - name: Slack send\n      if: ${{ failure() }}\n      id: slack\n      uses: slackapi/slack-github-action@v1.21.0\n      env:\n        SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n      with:\n        channel-id: C03S98FEDK2\n        payload: |\n                {\n                  \"text\": \"${{ github.repository }}/${{ github.ref_name }} (Python ${{ matrix.python-version }}) build result: ${{ job.status }}\\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n                }", "state": "active", "repository": "rhayes777/pyautofit"}
{"mined_at": "2024-07-15T15:53:10.198034", "created_at": "2020-12-25T17:01:16+01:00", "updated_at": "2020-12-25T17:01:16+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "saleweaver/python-amazon-sp-api"}
{"mined_at": "2024-07-15T15:53:11.244645", "created_at": "2021-10-19T13:19:31+02:00", "updated_at": "2021-10-19T13:19:31+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/manual.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v4\n", "state": "active", "repository": "saleweaver/python-amazon-sp-api"}
{"mined_at": "2024-07-15T15:53:12.300247", "created_at": "2022-01-28T11:29:16+01:00", "updated_at": "2022-01-28T11:29:16+01:00", "name": "auto-merge", "path": ".github/workflows/dependabot-automerge.yml", "contents": "name: auto-merge\n\non:\n  pull_request:\n\njobs:\n  auto-merge:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: ahmadnassri/action-dependabot-auto-merge@v2\n        with:\n          target: minor\n          github-token: ${{ secrets.mytoken }}\n", "state": "active", "repository": "saleweaver/python-amazon-sp-api"}
{"mined_at": "2024-07-15T15:53:15.563734", "created_at": "2021-01-29T17:03:55+01:00", "updated_at": "2023-08-16T17:41:07+02:00", "name": "Build and Deploy Clubs", "path": ".github/workflows/build-and-deploy.yaml", "contents": "# ========================================\n# Note:  If you make changes to this CI/CD, please include someone from DevOps in the list of reviewers for the PR.\n# ========================================\nname: Build and Deploy Clubs\n\non: push\n\njobs:\n  backend-check:\n    name: \"Backend Check\"\n    uses: pennlabs/shared-actions/.github/workflows/django.yaml@507f4cf1cc88259fc8625fb3a35bd3f18fc91cd5\n    secrets: inherit\n    with:\n      projectName: pennclubs\n      path: backend\n      pythonVersion: 3.11-bookworm\n      flake: false\n      black: false\n      ruff: true\n\n  frontend-check:\n    name: \"Frontend Check\"\n    uses: pennlabs/shared-actions/.github/workflows/react-check.yaml@v0.1\n    with:\n      path: frontend\n      nodeVersion: 20.11.1\n\n  build-backend:\n    name: Build backend\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: docker/setup-qemu-action@v1\n      - uses: docker/setup-buildx-action@v1\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: buildx-build-backend\n      - name: Build/Publish\n        uses: docker/build-push-action@v2\n        with:\n          context: backend\n          file: backend/Dockerfile\n          push: false\n          cache-from: type=local,src=/tmp/.buildx-cache,type=registry,ref=pennlabs/penn-clubs-backend:latest\n          cache-to: type=local,dest=/tmp/.buildx-cache\n          tags: pennlabs/penn-clubs-backend:latest,pennlabs/penn-clubs-backend:${{ github.sha }}\n          outputs: type=docker,dest=/tmp/image.tar\n      - uses: actions/upload-artifact@v2\n        with:\n          name: build-backend\n          path: /tmp/image.tar\n    needs: backend-check\n\n  build-frontend:\n    name: Build frontend\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: docker/setup-qemu-action@v1\n      - uses: docker/setup-buildx-action@v1\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: buildx-build-frontend\n      - name: Build/Publish\n        uses: docker/build-push-action@v2\n        with:\n          context: frontend\n          file: frontend/Dockerfile\n          push: false\n          cache-from: type=local,src=/tmp/.buildx-cache,type=registry,ref=pennlabs/penn-clubs-frontend:latest\n          cache-to: type=local,dest=/tmp/.buildx-cache\n          tags: pennlabs/penn-clubs-frontend:latest,pennlabs/penn-clubs-frontend:${{ github.sha }}\n          outputs: type=docker,dest=/tmp/image.tar\n      - uses: actions/upload-artifact@v2\n        with:\n          name: build-frontend\n          path: /tmp/image.tar\n    needs: frontend-check\n\n  publish:\n    name: Publish Images\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/master'\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/download-artifact@v2\n      - uses: geekyeggo/delete-artifact@v1\n        with:\n          name: |-\n            build-backend\n            build-frontend\n      - name: Load docker images\n        run: |-\n          docker load --input build-backend/image.tar\n          docker load --input build-frontend/image.tar\n      - uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Push docker images\n        run: |-\n          docker push -a pennlabs/penn-clubs-backend\n          docker push -a pennlabs/penn-clubs-frontend\n    needs:\n      - build-backend\n      - build-frontend\n\n  deploy:\n    name: \"Deploy\"\n    uses: pennlabs/shared-actions/.github/workflows/deployment.yaml@v0.1\n\n    with:\n      githubRef: ${{ github.ref }}\n      gitSha: ${{ github.sha }}\n\n    secrets:\n      AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}\n      GH_AWS_ACCESS_KEY_ID: ${{ secrets.GH_AWS_ACCESS_KEY_ID }}\n      GH_AWS_SECRET_ACCESS_KEY: ${{ secrets.GH_AWS_SECRET_ACCESS_KEY }}\n\n    needs:\n      - publish\n", "state": "active", "repository": "pennlabs/penn-clubs"}
{"mined_at": "2024-07-15T15:53:16.578371", "created_at": "2021-01-09T21:28:14+01:00", "updated_at": "2023-02-05T18:57:47+01:00", "name": "Build and Deploy", "path": ".github/workflows/cdkactions_build-and-deploy.yaml", "contents": null, "state": "active", "repository": "pennlabs/penn-clubs"}
{"mined_at": "2024-07-15T15:53:17.620261", "created_at": "2021-01-09T21:28:14+01:00", "updated_at": "2023-02-05T18:57:47+01:00", "name": "Validate cdkactions manifests", "path": ".github/workflows/cdkactions_validate.yaml", "contents": null, "state": "active", "repository": "pennlabs/penn-clubs"}
{"mined_at": "2024-07-15T15:53:19.652784", "created_at": "2021-07-12T08:47:40+02:00", "updated_at": "2021-07-12T08:47:40+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  release-zip:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: ZIP Component Dir\n        run: |\n          cd ${{ github.workspace }}/custom_components/xiaomi_miot\n          zip -r xiaomi_miot.zip ./\n\n      - name: Upload zip to release\n        uses: svenstaro/upload-release-action@v2\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: ${{ github.workspace }}/custom_components/xiaomi_miot/xiaomi_miot.zip\n          asset_name: xiaomi_miot.zip\n          tag: ${{ github.ref }}\n          overwrite: true\n", "state": "active", "repository": "al-one/hass-xiaomi-miot"}
{"mined_at": "2024-07-15T15:53:20.682459", "created_at": "2021-07-10T08:09:48+02:00", "updated_at": "2021-07-10T08:09:48+02:00", "name": "Validate", "path": ".github/workflows/validate.yaml", "contents": "name: Validate\n\non:\n  push:\n  pull_request:\n\njobs:\n  validate-hassfest:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 📥 Checkout the repository\n        uses: actions/checkout@v3.5.3\n\n      - name: 🏃 Hassfest validation\n        uses: home-assistant/actions/hassfest@master\n\n  validate-hacs:\n    runs-on: ubuntu-latest\n    name: With HACS Action\n    steps:\n      - name: 📥 Checkout the repository\n        uses: actions/checkout@v3.5.3\n\n      - name: 🏃 HACS validation\n        uses: hacs/action@main\n        with:\n          category: integration\n          ignore: hacs\n\n  validate-homeassistant:\n    name: With Home Assistant\n    strategy:\n      matrix:\n        channel: [stable, dev, \"2023.1.0\"]\n    runs-on: ubuntu-latest\n    steps:\n      - name: 📥 Checkout the repository\n        uses: actions/checkout@v3.5.3\n\n      - name: 🛠️ Home Assistant configuration\n        run: |\n          mkdir ./test_configuration\n          cp -r ./custom_components ./test_configuration\n          echo \"default_config:\" >> ./test_configuration/configuration.yaml\n          echo \"xiaomi_miot:\" >> ./test_configuration/configuration.yaml\n          echo \"  language: zh\" >> ./test_configuration/configuration.yaml\n          echo \"  device_customizes:\" >> ./test_configuration/configuration.yaml\n          echo \"    brand.device.model:\" >> ./test_configuration/configuration.yaml\n          echo \"      miot_local: true\" >> ./test_configuration/configuration.yaml\n\n      - name: 🏡 Home Assistant validation\n        id: homeassistant\n        uses: ludeeus/setup-homeassistant@main\n        with:\n          tag: ${{ matrix.channel }}\n          config-dir: test_configuration\n", "state": "active", "repository": "al-one/hass-xiaomi-miot"}
{"mined_at": "2024-07-15T15:53:22.777775", "created_at": "2020-01-28T22:26:59+01:00", "updated_at": "2020-01-28T22:26:59+01:00", "name": "Assign", "path": ".github/workflows/assign.yml", "contents": "\nname: Assign\non:\n  issue_comment:\n    types: created\n\n# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this\n# github actions workflow:\n# https://docs.github.com/en/actions/security-guides/automatic-token-authentication\npermissions:\n  issues: write\n\njobs:\n  one:\n    runs-on: ubuntu-latest\n    # Note that string comparisons is not case sensitive.\n    if: >-\n       startsWith(github.event.comment.body, '/take')\n       && !github.event.issue.assignee\n    steps:\n      - run: |\n          echo \"Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}\"\n          gh issue edit $ISSUE --add-assignee ${{ github.event.comment.user.login }}\n          gh issue edit $ISSUE --remove-label \"help wanted\"\n        env:\n          GH_TOKEN: ${{ github.token }}\n          ISSUE: ${{ github.event.issue.html_url }}\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:23.827759", "created_at": "2020-02-06T23:18:28+01:00", "updated_at": "2020-02-06T23:18:28+01:00", "name": "Unassign", "path": ".github/workflows/unassign.yml", "contents": "name: Unassign\n#Runs when a contributor has unassigned themselves from the issue and adds 'help wanted'\non:\n  issues:\n    types: unassigned\n\n# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this\n# github actions workflow:\n# https://docs.github.com/en/actions/security-guides/automatic-token-authentication\npermissions:\n  issues: write\n\njobs:\n  one:\n    runs-on: ubuntu-latest\n    steps:\n      - name:\n        if: github.event.issue.state == 'open'\n        run: |\n          echo \"Marking issue ${{ github.event.issue.number }} as help wanted\"\n          gh issue edit $ISSUE --add-label \"help wanted\"\n        env:\n          GH_TOKEN: ${{ github.token }}\n          ISSUE: ${{ github.event.issue.html_url }}\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:24.929153", "created_at": "2020-07-14T11:25:35+02:00", "updated_at": "2023-05-10T22:38:45+02:00", "name": "Wheel builder", "path": ".github/workflows/wheels.yml", "contents": "# Workflow to build and test wheels\nname: Wheel builder\n\non:\n  schedule:\n    # Nightly build at 3:42 A.M.\n    - cron: \"42 3 */1 * *\"\n  push:\n    branches:\n      - main\n      # Release branches\n      - \"[0-9]+.[0-9]+.X\"\n  pull_request:\n    branches:\n      - main\n      - \"[0-9]+.[0-9]+.X\"\n  # Manual run\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  # Check whether to build the wheels and the source tarball\n  check_build_trigger:\n    name: Check build trigger\n    runs-on: ubuntu-latest\n    if: github.repository == 'scikit-learn/scikit-learn'\n    outputs:\n      build: ${{ steps.check_build_trigger.outputs.build }}\n\n    steps:\n      - name: Checkout scikit-learn\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - id: check_build_trigger\n        name: Check build trigger\n        run: bash build_tools/github/check_build_trigger.sh\n\n  # Build the wheels for Linux, Windows and macOS for Python 3.9 and newer\n  build_wheels:\n    name: Build wheel for cp${{ matrix.python }}-${{ matrix.platform_id }}-${{ matrix.manylinux_image }}\n    runs-on: ${{ matrix.os }}\n    needs: check_build_trigger\n    if: needs.check_build_trigger.outputs.build\n\n    strategy:\n      # Ensure that a wheel builder finishes even if another fails\n      fail-fast: false\n      matrix:\n        include:\n          # Window 64 bit\n          - os: windows-latest\n            python: 39\n            platform_id: win_amd64\n          - os: windows-latest\n            python: 310\n            platform_id: win_amd64\n          - os: windows-latest\n            python: 311\n            platform_id: win_amd64\n          - os: windows-latest\n            python: 312\n            platform_id: win_amd64\n\n          # Linux 64 bit manylinux2014\n          - os: ubuntu-latest\n            python: 39\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n\n          # NumPy on Python 3.10 only supports 64bit and is only available with manylinux2014\n          - os: ubuntu-latest\n            python: 310\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n\n          - os: ubuntu-latest\n            python: 311\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n          - os: ubuntu-latest\n            python: 312\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n          - os: ubuntu-latest\n            python: 313t\n            platform_id: manylinux_x86_64\n            manylinux_image: manylinux2014\n            # TODO: remove next line when Python 3.13 is released\n            prerelease_pythons: True\n            free_threaded_support: True\n\n          # MacOS x86_64\n          - os: macos-12\n            python: 39\n            platform_id: macosx_x86_64\n          - os: macos-12\n            python: 310\n            platform_id: macosx_x86_64\n          - os: macos-12\n            python: 311\n            platform_id: macosx_x86_64\n          - os: macos-12\n            python: 312\n            platform_id: macosx_x86_64\n\n          # MacOS arm64\n          - os: macos-14\n            python: 39\n            platform_id: macosx_arm64\n          - os: macos-14\n            python: 310\n            platform_id: macosx_arm64\n          - os: macos-14\n            python: 311\n            platform_id: macosx_arm64\n          - os: macos-14\n            python: 312\n            platform_id: macosx_arm64\n\n    steps:\n      - name: Checkout scikit-learn\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\" # update once build dependencies are available\n\n      - name: Install conda for macos arm64\n        if: ${{ matrix.platform_id == 'macosx_arm64' }}\n        run: |\n          set -ex\n          # macos arm64 runners do not have conda installed. Thus we much install conda manually\n          EXPECTED_SHA=\"dd832d8a65a861b5592b2cf1d55f26031f7c1491b30321754443931e7b1e6832\"\n          MINIFORGE_URL=\"https://github.com/conda-forge/miniforge/releases/download/23.11.0-0/Mambaforge-23.11.0-0-MacOSX-arm64.sh\"\n          curl -L --retry 10 $MINIFORGE_URL -o miniforge.sh\n\n          # Check SHA\n          file_sha=$(shasum -a 256 miniforge.sh | awk '{print $1}')\n          if [ \"$EXPECTED_SHA\" != \"$file_sha\" ]; then\n              echo \"SHA values did not match!\"\n              exit 1\n          fi\n\n          # Install miniforge\n          MINIFORGE_PATH=$HOME/miniforge\n          bash ./miniforge.sh -b -p $MINIFORGE_PATH\n          echo \"$MINIFORGE_PATH/bin\" >> $GITHUB_PATH\n          echo \"CONDA_HOME=$MINIFORGE_PATH\" >> $GITHUB_ENV\n\n      - name: Set conda environment for non-macos arm64 environments\n        if: ${{ matrix.platform_id != 'macosx_arm64' }}\n        run: |\n          # Non-macos arm64 envrionments already have conda installed\n          echo \"CONDA_HOME=/usr/local/miniconda\" >> $GITHUB_ENV\n\n      - name: Build and test wheels\n        env:\n          CIBW_PRERELEASE_PYTHONS: ${{ matrix.prerelease_pythons }}\n          CIBW_FREE_THREADED_SUPPORT: ${{ matrix.free_threaded_support }}\n          CIBW_ENVIRONMENT: SKLEARN_SKIP_NETWORK_TESTS=1\n            SKLEARN_BUILD_PARALLEL=3\n          CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}\n          CIBW_ARCHS: all\n          CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_image }}\n          CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.manylinux_image }}\n          # Needed on Windows CI to compile with Visual Studio compiler\n          # otherwise Meson detects a MINGW64 platform and use MINGW64\n          # toolchain\n          CIBW_CONFIG_SETTINGS_WINDOWS: \"setup-args=--vsenv\"\n          CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: bash build_tools/github/repair_windows_wheels.sh {wheel} {dest_dir}\n          CIBW_BEFORE_TEST_WINDOWS: bash build_tools/github/build_minimal_windows_image.sh ${{ matrix.python }}\n          CIBW_TEST_REQUIRES: pytest\n          CIBW_BEFORE_TEST: bash {project}/build_tools/wheels/cibw_before_test.sh\n          CIBW_TEST_COMMAND: bash {project}/build_tools/wheels/test_wheels.sh\n          CIBW_TEST_COMMAND_WINDOWS: bash {project}/build_tools/github/test_windows_wheels.sh ${{ matrix.python }}\n          CIBW_BUILD_VERBOSITY: 1\n\n        run: bash build_tools/wheels/build_wheels.sh\n\n      - name: Store artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: cibw-wheels-cp${{ matrix.python }}-${{ matrix.platform_id }}\n          path: wheelhouse/*.whl\n\n  update-tracker:\n    uses: ./.github/workflows/update_tracking_issue.yml\n    if: ${{ always() }}\n    needs: [build_wheels]\n    with:\n      job_status: ${{ needs.build_wheels.result }}\n    secrets:\n      BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}\n\n  # Build the source distribution under Linux\n  build_sdist:\n    name: Source distribution\n    runs-on: ubuntu-latest\n    needs: check_build_trigger\n    if: needs.check_build_trigger.outputs.build\n\n    steps:\n      - name: Checkout scikit-learn\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\" # update once build dependencies are available\n\n      - name: Build source distribution\n        run: bash build_tools/github/build_source.sh\n        env:\n          SKLEARN_BUILD_PARALLEL: 3\n\n      - name: Test source distribution\n        run: bash build_tools/github/test_source.sh\n        env:\n          SKLEARN_SKIP_NETWORK_TESTS: 1\n\n      - name: Store artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: cibw-sdist\n          path: dist/*.tar.gz\n\n  # Upload the wheels and the source distribution\n  upload_anaconda:\n    name: Upload to Anaconda\n    runs-on: ubuntu-latest\n    environment: upload_anaconda\n    needs: [build_wheels, build_sdist]\n    # The artifacts cannot be uploaded on PRs\n    if: github.event_name != 'pull_request'\n\n    steps:\n      - name: Checkout scikit-learn\n        uses: actions/checkout@v4\n\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n        with:\n          pattern: cibw-*\n          path: dist\n          merge-multiple: true\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n\n      - name: Upload artifacts\n        env:\n          # Secret variables need to be mapped to environment variables explicitly\n          SCIKIT_LEARN_NIGHTLY_UPLOAD_TOKEN: ${{ secrets.SCIKIT_LEARN_NIGHTLY_UPLOAD_TOKEN }}\n          SCIKIT_LEARN_STAGING_UPLOAD_TOKEN: ${{ secrets.SCIKIT_LEARN_STAGING_UPLOAD_TOKEN }}\n          ARTIFACTS_PATH: dist\n        # Force a replacement if the remote file already exists\n        run: bash build_tools/github/upload_anaconda.sh\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:25.985038", "created_at": "2020-08-18T08:56:28+02:00", "updated_at": "2020-08-18T08:56:28+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler-module.yml", "contents": "name: \"Pull Request Labeler\"\non:\n  pull_request_target:\n    types: [opened]\n\n# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this\n# github actions workflow:\n# https://docs.github.com/en/actions/security-guides/automatic-token-authentication\npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: thomasjpfan/labeler@v2.5.1\n      continue-on-error: true\n      if: github.repository == 'scikit-learn/scikit-learn'\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        max-labels: \"3\"\n        configuration-path: \".github/labeler-module.yml\"\n\n  triage_file_extensions:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: thomasjpfan/labeler@v2.5.1\n      continue-on-error: true\n      if: github.repository == 'scikit-learn/scikit-learn'\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        configuration-path: \".github/labeler-file-extensions.yml\"\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:27.173142", "created_at": "2020-08-18T08:56:28+02:00", "updated_at": "2020-08-18T08:56:28+02:00", "name": "Pull Request Regex Title Labeler", "path": ".github/workflows/labeler-title-regex.yml", "contents": "name: Pull Request Regex Title Labeler\non:\n  pull_request_target:\n    types: [opened, edited]\n\n# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this\n# github actions workflow:\n# https://docs.github.com/en/actions/security-guides/automatic-token-authentication\npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n\n  labeler:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Install PyGithub\n      run: pip install -Uq PyGithub\n    - name: Label pull request\n      run: python .github/scripts/label_title_regex.py\n      env:\n        CONTEXT_GITHUB: ${{ toJson(github) }}\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:28.298956", "created_at": "2020-12-02T09:16:29+01:00", "updated_at": "2020-12-02T09:16:29+01:00", "name": "Publish to Pypi", "path": ".github/workflows/publish_pypi.yml", "contents": "name: Publish to Pypi\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version upload to pypi'\n        required: true\n      pypi_repo:\n        description: 'Repo to upload to (testpypi or pypi)'\n        default: 'testpypi'\n        required: true\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    environment: publish_pypi\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        pip install -U wheelhouse_uploader pyyaml\n    - name: Downloading wheels and sdist from staging\n      env:\n        SKLEARN_VERSION: ${{ github.event.inputs.version }}\n      run: |\n        echo \"Download $SKLEARN_VERSION wheels and sdist\"\n        python -m wheelhouse_uploader fetch \\\n          --version $SKLEARN_VERSION \\\n          --local-folder dist/ \\\n          scikit-learn \\\n          https://pypi.anaconda.org/scikit-learn-wheels-staging/simple/scikit-learn/\n    - name: Check dist has the correct number of artifacts\n      run: |\n        python build_tools/github/check_wheels.py\n    - name: Publish package to TestPyPI\n      uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n      with:\n        repository-url: https://test.pypi.org/legacy/\n        print-hash: true\n      if: ${{ github.event.inputs.pypi_repo == 'testpypi' }}\n    - name: Publish package to PyPI\n      uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n      if: ${{ github.event.inputs.pypi_repo == 'pypi' }}\n      with:\n        print-hash: true\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:29.368822", "created_at": "2021-01-15T15:05:55+01:00", "updated_at": "2021-01-15T15:05:55+01:00", "name": "Check Changelog", "path": ".github/workflows/check-changelog.yml", "contents": "name: Check Changelog\n# This check makes sure that the changelog is properly updated\n# when a PR introduces a change in a test file.\n# To bypass this check, label the PR with \"No Changelog Needed\".\non:\n  pull_request:\n    types: [opened, edited, labeled, unlabeled, synchronize]\n\njobs:\n  check:\n    name: A reviewer will let you know if it is required or can be bypassed\n    runs-on: ubuntu-latest\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'No Changelog Needed') == 0 }}\n    steps:\n      - name: Get PR number and milestone\n        run: |\n          echo \"PR_NUMBER=${{ github.event.pull_request.number }}\" >> $GITHUB_ENV\n          echo \"TAGGED_MILESTONE=${{ github.event.pull_request.milestone.title }}\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: '0'\n      - name: Check the changelog entry\n        run: |\n          set -xe\n          changed_files=$(git diff --name-only origin/main)\n          # Changelog should be updated only if tests have been modified\n          if [[ ! \"$changed_files\" =~ tests ]]\n          then\n            exit 0\n          fi\n          all_changelogs=$(cat ./doc/whats_new/v*.rst)\n          if [[ \"$all_changelogs\" =~ :pr:\\`$PR_NUMBER\\` ]]\n          then\n            echo \"Changelog has been updated.\"\n            # If the pull request is milestoned check the correspondent changelog\n            if exist -f ./doc/whats_new/v${TAGGED_MILESTONE:0:4}.rst\n            then\n              expected_changelog=$(cat ./doc/whats_new/v${TAGGED_MILESTONE:0:4}.rst)\n              if [[ \"$expected_changelog\" =~ :pr:\\`$PR_NUMBER\\` ]]\n              then\n                echo \"Changelog and milestone correspond.\"\n              else\n                echo \"Changelog and milestone do not correspond.\"\n                echo \"If you see this error make sure that the tagged milestone for the PR\"\n                echo \"and the edited changelog filename properly match.\"\n                exit 1\n              fi\n            fi\n          else\n            echo \"A Changelog entry is missing.\"\n            echo \"\"\n            echo \"Please add an entry to the changelog at 'doc/whats_new/v*.rst'\"\n            echo \"to document your change assuming that the PR will be merged\"\n            echo \"in time for the next release of scikit-learn.\"\n            echo \"\"\n            echo \"Look at other entries in that file for inspiration and please\"\n            echo \"reference this pull request using the ':pr:' directive and\"\n            echo \"credit yourself (and other contributors if applicable) with\"\n            echo \"the ':user:' directive.\"\n            echo \"\"\n            echo \"If you see this error and there is already a changelog entry,\"\n            echo \"check that the PR number is correct.\"\n            echo \"\"\n            echo \"If you believe that this PR does not warrant a changelog\"\n            echo \"entry, say so in a comment so that a maintainer will label\"\n            echo \"the PR with 'No Changelog Needed' to bypass this check.\"\n            exit 1\n          fi\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:30.461197", "created_at": "2021-12-16T21:01:54+01:00", "updated_at": "2021-12-16T21:01:54+01:00", "name": "Labels Blank issues", "path": ".github/workflows/label-blank-issue.yml", "contents": "name: Labels Blank issues\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  label-blank-issues:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: andymckay/labeler@1.0.4\n        with:\n          add-labels: \"Needs Triage\"\n          ignore-if-labeled: true\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:31.580136", "created_at": "2022-03-02T14:02:52+01:00", "updated_at": "2022-03-02T14:02:52+01:00", "name": "Update tracking issue", "path": ".github/workflows/update_tracking_issue.yml", "contents": "# For workflows to use this workflow include the following:\n#\n# update-tracker:\n#   uses: ./.github/workflows/update_tracking_issue.yml\n#   if: ${{ always() }}\n#   needs: [JOB_NAME]\n#   with:\n#     job_status: ${{ needs.JOB_NAME.result }}\n#   secrets:\n#     BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}\n# Where JOB_NAME is contains the status of the job you are interested in\n\nname: \"Update tracking issue\"\non:\n  workflow_call:\n    inputs:\n      job_status:\n        required: true\n        type: string\n    secrets:\n      BOT_GITHUB_TOKEN:\n        required: true\n\njobs:\n  update_tracking_issue:\n    runs-on: ubuntu-latest\n    if: github.repository == 'scikit-learn/scikit-learn' && github.event_name == 'schedule'\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Update tracking issue on GitHub\n        run: |\n          set -ex\n          if [[ ${{ inputs.job_status }} == \"success\" ]]; then\n            TESTS_PASSED=true\n          else\n            TESTS_PASSED=false\n          fi\n\n          pip install defusedxml PyGithub\n          python maint_tools/update_tracking_issue.py \\\n            ${{ secrets.BOT_GITHUB_TOKEN }} \\\n            \"$GITHUB_WORKFLOW\" \\\n            \"$GITHUB_REPOSITORY\" \\\n            https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID \\\n            --tests-passed $TESTS_PASSED\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:32.811495", "created_at": "2022-04-01T11:07:55+02:00", "updated_at": "2023-01-18T17:34:35+01:00", "name": "CircleCI artifacts redirector", "path": ".github/workflows/artifact-redirector.yml", "contents": "name: CircleCI artifacts redirector\non: [status]\n\n# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this\n# github actions workflow:\n# https://docs.github.com/en/actions/security-guides/automatic-token-authentication\npermissions:\n  statuses: write\n\njobs:\n  circleci_artifacts_redirector_job:\n    runs-on: ubuntu-latest\n    # For testing this action on a fork, remove the \"github.repository ==\"\" condition.\n    if: \"github.repository == 'scikit-learn/scikit-learn' && github.event.context == 'ci/circleci: doc'\"\n    name: Run CircleCI artifacts redirector\n    steps:\n      - name: GitHub Action step\n        uses: scientific-python/circleci-artifacts-redirector-action@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          api-token: ${{ secrets.CIRCLECI_TOKEN }}\n          artifact-path: 0/doc/_changed.html\n          circleci-jobs: doc\n          job-title: Check the rendered docs here!\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:33.873993", "created_at": "2022-04-28T18:37:30+02:00", "updated_at": "2023-09-08T10:46:11+02:00", "name": "Documentation builder", "path": ".github/workflows/build-docs.yml", "contents": null, "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:34.883622", "created_at": "2023-06-15T16:14:57+02:00", "updated_at": "2023-06-19T19:24:41+02:00", "name": "linter", "path": ".github/workflows/lint.yml", "contents": "# This linter job on GH actions is used to trigger the commenter bot\n# in bot-lint-comment.yml file. It stores the output of the linter to be used\n# by the commenter bot.\nname: linter\n\non:\n  - pull_request_target\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    # setting any permission will set everything else to none for GITHUB_TOKEN\n    permissions:\n      pull-requests: none\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Install dependencies\n        run: |\n          source build_tools/shared.sh\n          # Include pytest compatibility with mypy\n          pip install pytest ruff $(get_dep mypy min) $(get_dep black min) cython-lint\n          # we save the versions of the linters to be used in the error message later.\n          python -c \"from importlib.metadata import version; print(f\\\"ruff={version('ruff')}\\\")\" >> /tmp/versions.txt\n          python -c \"from importlib.metadata import version; print(f\\\"mypy={version('mypy')}\\\")\" >> /tmp/versions.txt\n          python -c \"from importlib.metadata import version; print(f\\\"black={version('black')}\\\")\" >> /tmp/versions.txt\n          python -c \"from importlib.metadata import version; print(f\\\"cython-lint={version('cython-lint')}\\\")\" >> /tmp/versions.txt\n\n      - name: Run linting\n        id: lint-script\n        # We download the linting script from main, since this workflow is run\n        # from main itself.\n        run: |\n          curl https://raw.githubusercontent.com/${{ github.repository }}/main/build_tools/linting.sh --retry 5 -o ./build_tools/linting.sh\n          set +e\n          ./build_tools/linting.sh &> /tmp/linting_output.txt\n          cat /tmp/linting_output.txt\n\n      - name: Upload Artifact\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: lint-log\n          path: |\n            /tmp/linting_output.txt\n            /tmp/versions.txt\n          retention-days: 1\n\n  comment:\n    needs: lint\n    if: ${{ !cancelled() }}\n    runs-on: ubuntu-latest\n\n    # We need these permissions to be able to post / update comments\n    permissions:\n      pull-requests: write\n      issues: write\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Install dependencies\n        run: python -m pip install requests\n\n      - name: Download artifact\n        id: download-artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: lint-log\n\n      - name: Print log\n        run: cat linting_output.txt\n\n      - name: Process Comments\n        id: process-comments\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PR_NUMBER: ${{ github.event.pull_request.number }}\n          BRANCH_SHA: ${{ github.event.pull_request.head.sha }}\n          RUN_ID: ${{ github.run_id }}\n          LOG_FILE: linting_output.txt\n          VERSIONS_FILE: versions.txt\n        run: python ./build_tools/get_comment.py\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:35.985874", "created_at": "2023-10-27T06:46:31+02:00", "updated_at": "2023-10-27T06:46:31+02:00", "name": "Fork scikit-learn", "path": ".github/workflows/scikit-learn-bot-fork.yml", "contents": null, "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:37.007027", "created_at": "2023-10-27T14:06:06+02:00", "updated_at": "2023-10-27T14:06:06+02:00", "name": "Update lock files", "path": ".github/workflows/update-lock-files.yml", "contents": "# Workflow to update lock files\nname: Update lock files\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 5 * * 1'\n\n# XXX Set the right permissions, per step??\n# Can we set read only at the global level here and then elevate to write for some steps?\n#permissions: read-all\n\njobs:\n  update_lock_files:\n    if: github.repository == 'scikit-learn/scikit-learn'\n    runs-on: ubuntu-latest\n\n    strategy:\n      # Ensure that each build will continue even if one build in the matrix fails\n      fail-fast: false\n      matrix:\n        include:\n          - name: main\n            update_script_args: \"--select-tag main-ci\"\n            additional_commit_message: \"[doc build]\"\n          - name: scipy-dev\n            update_script_args: \"--select-tag scipy-dev\"\n            additional_commit_message: \"[scipy-dev]\"\n          - name: cirrus-arm\n            update_script_args: \"--select-tag arm\"\n            additional_commit_message: \"[cirrus arm]\"\n          - name: array-api\n            update_script_args: \"--select-tag cuda\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Generate lock files\n        run: |\n          source build_tools/shared.sh\n          source $CONDA/bin/activate\n          conda install -n base conda conda-libmamba-solver -y\n          conda config --set solver libmamba\n          conda install -c conda-forge \"$(get_dep conda-lock min)\" -y\n\n          python build_tools/update_environments_and_lock_files.py ${{ matrix.update_script_args }}\n\n      - name: Create Pull Request\n        id: cpr\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.BOT_GITHUB_TOKEN }}\n          push-to-fork: scikit-learn-bot/scikit-learn\n          commit-message: Update CI lock files ${{ matrix.additional_commit_message }}\n          committer: \"Lock file bot <noreply@github.com>\"\n          author: \"Lock file bot <noreply@github.com>\"\n          delete-branch: true\n          branch: auto-update-lock-files-${{ matrix.name }}\n          title: \":lock: :robot: CI Update lock files for ${{ matrix.name }} CI build(s) :lock: :robot:\"\n          body: |\n            Update lock files.\n\n            ### Note\n            If the CI tasks fail, create a new branch based on this PR and add the required fixes to that branch.\n\n      # The CUDA workflow needs to be triggered explicitly as it uses an expensive runner\n      - name: Trigger additional tests\n        if: steps.cpr.outputs.pull-request-number != '' && matrix.name == 'array-api'\n        env:\n          GH_TOKEN: ${{ github.token }}\n        run: |\n          gh workflow run .github/workflows/cuda-gpu-ci.yml -f commit_hash=`git rev-parse HEAD`\n\n      - name: Check Pull Request\n        if: steps.cpr.outputs.pull-request-number != ''\n        run: |\n          echo \"### :rocket: Pull-Request Summary\" >> ${GITHUB_STEP_SUMMARY}\n          echo \"\" >> ${GITHUB_STEP_SUMMARY}\n          echo \"The following lock files pull-request has been auto-generated:\"\n          echo \"- **PR** #${{ steps.cpr.outputs.pull-request-number }}\" >> ${GITHUB_STEP_SUMMARY}\n          echo \"- **URL** ${{ steps.cpr.outputs.pull-request-url }}\" >> ${GITHUB_STEP_SUMMARY}\n          echo \"- **Operation** [${{ steps.cpr.outputs.pull-request-operation }}]\" >> ${GITHUB_STEP_SUMMARY}\n          echo \"- **SHA** ${{ steps.cpr.outputs.pull-request-head-sha }}\" >> ${GITHUB_STEP_SUMMARY}\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:38.056842", "created_at": "2024-01-25T07:05:03+01:00", "updated_at": "2024-01-25T12:46:58+01:00", "name": ".github/workflows/test-workflow.yml", "path": ".github/workflows/test-workflow.yml", "contents": null, "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:39.107298", "created_at": "2024-01-30T16:19:08+01:00", "updated_at": "2024-02-02T11:52:50+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\", \"*.X\" ]\n  pull_request:\n    branches: [ \"main\", \"*.X\" ]\n  schedule:\n    - cron: '0 6 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: 'ubuntu-latest'\n    timeout-minutes: 360\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript-typescript', 'python' ]\n        # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]\n        # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:40.673992", "created_at": "2024-04-09T15:00:03+02:00", "updated_at": "2024-04-09T15:00:03+02:00", "name": "Check sdist", "path": ".github/workflows/check-sdist.yml", "contents": "name: \"Check sdist\"\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  check-sdist:\n    # Don't run on forks\n    if: github.repository == 'scikit-learn/scikit-learn'\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Install dependencies\n        # scipy and cython are required to build sdist\n        run: |\n          python -m pip install --upgrade pip\n          pip install check-sdist\n      - run: |\n          check-sdist --inject-junk\n\n  update-tracker:\n    uses: ./.github/workflows/update_tracking_issue.yml\n    if: ${{ always() }}\n    needs: [check-sdist]\n    with:\n      job_status: ${{ needs.check-sdist.result }}\n    secrets:\n      BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}\n", "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:41.745163", "created_at": "2024-05-29T14:36:09+02:00", "updated_at": "2024-05-30T11:24:24+02:00", "name": "Array API", "path": ".github/workflows/gpu-ci.yml", "contents": null, "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:42.760920", "created_at": "2024-07-12T11:52:19+02:00", "updated_at": "2024-07-12T11:52:19+02:00", "name": "CUDA GPU", "path": ".github/workflows/cuda-ci.yml", "contents": null, "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:43.796047", "created_at": "2024-07-12T11:52:19+02:00", "updated_at": "2024-07-12T11:52:19+02:00", "name": "Remove \"CUDA CI\" Label", "path": ".github/workflows/cuda-label-remover.yml", "contents": null, "state": "active", "repository": "scikit-learn/scikit-learn"}
{"mined_at": "2024-07-15T15:53:45.847597", "created_at": "2024-02-20T21:10:53+01:00", "updated_at": "2024-02-22T19:45:28+01:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": "name: Lint\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n        with:\n          options: \"--check --verbose --include '(\\\\.pyi?|\\\\.ipynb|workbench)$'\"\n", "state": "active", "repository": "mjordan/islandora_workbench"}
{"mined_at": "2024-07-15T15:53:46.919689", "created_at": "2023-08-01T04:34:40+02:00", "updated_at": "2023-08-01T04:38:03+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\non:\n  release:\n    types: [published]\njobs:\n  build:\n    name: Build\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          - os: macos-11\n            TARGET: macos\n            CMD_BUILD: pyinstaller workbench --onefile --name workbench-macos\n            OUT_FILE_NAME: workbench-macos\n            ASSET_MIME: application/zip\n          - os: ubuntu-latest\n            TARGET: linux\n            CMD_BUILD: pyinstaller workbench --onefile --name workbench-linux\n            OUT_FILE_NAME: workbench-linux\n            ASSET_MIME: application/zip\n          - os: windows-latest\n            TARGET: windows\n            CMD_BUILD: pyinstaller workbench --onefile --name workbench \n            OUT_FILE_NAME: workbench.exe\n            ASSET_MIME: application/vnd.microsoft.portable-executable\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install \"pyinstaller\" \"requests>=2.22,<3\" \"requests_cache\" \"ruamel.yaml<=0.17.21\" \"progress_bar\" \"openpyxl\" \"unidecode\" \"edtf_validate\" \"typing-extensions\" \"rich\"        \n    - name: Build for ${{matrix.TARGET}}\n      run: ${{matrix.CMD_BUILD}}    \n    - name: Upload Release Asset\n      id: upload-release-asset\n      uses: actions/upload-release-asset@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        upload_url: ${{ github.event.release.upload_url }}\n        asset_path: ./dist/${{ matrix.OUT_FILE_NAME}}\n        asset_name: ${{ matrix.OUT_FILE_NAME}}\n        asset_content_type: ${{ matrix.ASSET_MIME}}\n", "state": "active", "repository": "mjordan/islandora_workbench"}
{"mined_at": "2024-07-15T15:53:47.944540", "created_at": "2024-03-05T04:43:31+01:00", "updated_at": "2024-03-05T04:43:31+01:00", "name": "Run unittests", "path": ".github/workflows/unittests.yml", "contents": "name: Run unittests\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:  \n      matrix:  \n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"] \n\n    steps:  \n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}  \n        uses: actions/setup-python@v5  \n        with:  \n          python-version: ${{ matrix.python-version }}  \n      - name: Install dependencies  \n        run: |  \n          python -m pip install --upgrade pip  \n          python setup.py install\n      - name: Run unittests  \n        run: |  \n          python tests/unit_tests.py\n          python tests/field_tests.py\n          python tests/csv_id_to_node_id_map_tests.py\n", "state": "active", "repository": "mjordan/islandora_workbench"}
{"mined_at": "2024-07-15T15:53:50.040386", "created_at": "2020-01-29T04:24:28+01:00", "updated_at": "2021-09-03T21:20:09+02:00", "name": "Auto approve PRs by dependabot", "path": ".github/workflows/auto-approve.yml", "contents": "name: Auto approve PRs by dependabot\n\n# Trigger the workflow on pull request\non: pull_request_target\n\njobs:\n  autoapprove:\n    name: Auto-Approve a PR by dependabot\n    runs-on: ubuntu-latest\n    steps:\n      - name: Auto approve\n        uses: cognitedata/auto-approve-dependabot-action@v3.0.1\n        if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "splunk/security_content"}
{"mined_at": "2024-07-15T15:53:51.096594", "created_at": "2020-11-03T03:20:42+01:00", "updated_at": "2021-09-09T02:26:36+02:00", "name": "auto-merge", "path": ".github/workflows/auto-merge.yml", "contents": "name: auto-merge\non:\n  pull_request_target:\n\njobs:\n  auto-merge:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: ahmadnassri/action-dependabot-auto-merge@v2\n        with:\n          target: minor\n          github-token: ${{ secrets.SECURITY_CONTENT_ADMIN_TASKS }}\n", "state": "active", "repository": "splunk/security_content"}
{"mined_at": "2024-07-15T15:53:52.160327", "created_at": "2021-01-04T19:25:01+01:00", "updated_at": "2024-07-02T20:55:49+02:00", "name": "auto-update", "path": ".github/workflows/auto-update.yml", "contents": "name: auto-update\non:\n  push: {}\njobs:\n  \n  validate-tag-if-present:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: TAGGED, Validate that the tag is in the correct format\n        \n        run: |\n          echo \"The GITHUB_REF: $GITHUB_REF\"\n          #First check to see if the release is a tag\n          if [[ $GITHUB_REF =~ refs/tags/* ]]; then\n            #Yes, this is a tag, so we need to test to make sure that the tag\n            #is in the correct format (like v1.10.20)\n            if [[ $GITHUB_REF =~ refs/tags/v[0-9]+.[0-9]+.[0-9]+ ]]; then\n              echo \"PASS: Tagged release with good format\"\n              exit 0\n            else\n              echo \"FAIL: Tagged release with bad format\"\n              exit 1\n            fi\n          else\n          echo \"PASS: Not a tagged release\"\n          exit 0\n          fi                          \n  autoupdate:\n    name: autoupdate\n    runs-on: ubuntu-latest\n    steps:\n      - uses: docker://chinthakagodawita/autoupdate-action:v1\n        env:\n          GITHUB_TOKEN: \"${{ secrets.SECURITY_CONTENT_ADMIN_TASKS }}\"\n          DRY_RUN: \"false\"\n          MERGE_MSG: \"Branch was auto-updated.\"\n", "state": "active", "repository": "splunk/security_content"}
{"mined_at": "2024-07-15T15:53:53.266925", "created_at": "2021-08-17T20:32:00+02:00", "updated_at": "2023-04-12T21:23:00+02:00", "name": "Semgrep", "path": ".github/workflows/semgrep-analysis.yml", "contents": null, "state": "active", "repository": "splunk/security_content"}
{"mined_at": "2024-07-15T15:53:54.325272", "created_at": "2021-08-17T20:32:00+02:00", "updated_at": "2024-07-11T23:46:42+02:00", "name": "detection-testing", "path": ".github/workflows/detection-testing.yml", "contents": "# name: detection-testing\n# on:\n#   push:\n#   pull_request:\n#     types: [opened, reopened]\n#   schedule:\n#     - cron: \"44 4 * * *\"\n# jobs:\n\n#   validate-tag-if-present:\n#     runs-on: ubuntu-latest\n\n#     steps:\n#       - name: TAGGED, Validate that the tag is in the correct format\n        \n#         run: |\n#           echo \"The GITHUB_REF: $GITHUB_REF\"\n#           #First check to see if the release is a tag\n#           if [[ $GITHUB_REF =~ refs/tags/* ]]; then\n#             #Yes, this is a tag, so we need to test to make sure that the tag\n#             #is in the correct format (like v1.10.20)\n#             if [[ $GITHUB_REF =~ refs/tags/v[0-9]+.[0-9]+.[0-9]+ ]]; then\n#               echo \"PASS: Tagged release with good format\"\n#               exit 0\n#             else\n#               echo \"FAIL: Tagged release with bad format\"\n#               exit 1\n#             fi\n#           else\n#           echo \"PASS: Not a tagged release\"\n#           exit 0\n#           fi                    \n  \n#   quit-for-dependabot:\n#     runs-on: ubuntu-latest\n#     if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'\n#     steps:\n#       - name: \"Placeholder\"\n#         run: |\n#           echo \"yes it ran\"\n\n#   docker-detection-testing-setup:\n#     runs-on: ubuntu-latest\n#     if: \"!contains(github.ref, 'refs/tags/')\" #don't run on tags - future steps won't run either since they depend on this job\n#     needs: [validate-tag-if-present, quit-for-dependabot]\n#     steps:  \n#         - name: Get branch and PR required for detection testing main.py\n#           id: vars\n#           run: |\n#             echo \"::set-output name=branch::${GITHUB_REF#refs/heads/}\"\n\n#         - name: Checkout Repo\n#           uses: actions/checkout@v2\n#           #with:\n#           #  ref: develop\n        \n      \n\n#         - uses: actions/setup-python@v2\n#           with:\n#             python-version: '3.9' #Available versions here - https://github.com/actions/python-versions/releases  easy to change/make a matrix/use pypy\n#             architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified\n#             cache: 'pip'\n        \n#         - name: Install Python Dependencies\n#           run: |\n#             python -m venv .venv\n#             source .venv/bin/activate\n#             python -m pip install wheel\n#             python -m pip install -r requirements.txt\n        \n#         - name: Run the CI\n#           run: |\n#             source .venv/bin/activate\n#             cd bin/docker_detection_tester\n#             echo \"github.event.issue.pull_request    : [${{ github.event.issue.pull_request }}]\"\n#             echo \"github.event.pull_request.number   : [${{ github.event.pull_request.number }}]\"\n#             echo \"steps.vars.outputs.branch          : [${{ steps.vars.outputs.branch }}]\"\n#             echo \"github.event.pull_request.head.ref : [${{ github.event.pull_request.head.ref }}]\"\n#             echo \"github.event_name                  : [${{ github.event_name }}]\"\n            \n            \n#             if [[ ${{ github.event_name }} == schedule ]]; then\n#               # Note that scheduled actions ONLY run on the default branch, so it won't run on all other branches!\n#               echo \"Running a nightly test on all detections OR a commit was made directly to develop\"\n#               python detection_testing_execution.py run --branch develop --mode all --mock --config_file test_config_github_actions.json  \n#             elif [[ ! -z \"${{  github.event.pull_request.head.ref }}\" &&  ! -z \"${{ github.event.pull_request.number }}\" ]]; then\n#               echo \"Pull request from source branch [${{ github.event.pull_request.head.ref }}] for PR number [${{ github.event.issue.number }}]\"\n#               python detection_testing_execution.py run --branch ${{ github.event.pull_request.head.ref }} --pr_number ${{ github.event.pull_request.number }}  --mode changes --mock --config_file test_config_github_actions.json  \n#             else\n#               echo \"Push from branch [${{ steps.vars.outputs.branch }}]\"\n#               python detection_testing_execution.py run --branch  ${{ steps.vars.outputs.branch }}  --mode changes --mock --config_file test_config_github_actions.json\n#             fi\n\n#             mv *-test-run.json replicate_test.json\n#         - name: Upload Test Results Files\n#           uses: actions/upload-artifact@v2\n#           with:\n#             name: testing-results-config\n#             path: |\n#               bin/docker_detection_tester/prior_config/apps/DA-ESS-ContentUpdate-latest.tar.gz\n#               bin/docker_detection_tester/prior_config/config_tests_0.json\n#               bin/docker_detection_tester/prior_config/config_tests_1.json\n#               bin/docker_detection_tester/prior_config/config_tests_2.json\n#               bin/docker_detection_tester/prior_config/config_tests_3.json\n#               bin/docker_detection_tester/prior_config/config_tests_4.json\n#               bin/docker_detection_tester/prior_config/config_tests_5.json\n#               bin/docker_detection_tester/prior_config/config_tests_6.json\n#               bin/docker_detection_tester/prior_config/config_tests_7.json\n#               bin/docker_detection_tester/prior_config/config_tests_8.json\n#               bin/docker_detection_tester/prior_config/config_tests_9.json\n\n#         - name: Upload File to Enable Replication of the Test at a Different Time or Place\n#           uses: actions/upload-artifact@v2\n#           with:\n#             name: replicate_test\n#             path: |\n#               bin/docker_detection_tester/replicate_test.json\n\n#   docker-detection-testing-execution:\n#     runs-on: ubuntu-latest\n#     if: \"!contains(github.ref, 'refs/tags/')\" #don't run on tags - future steps won't run either since they depend on this job\n#     needs: [docker-detection-testing-setup]\n#     strategy:\n#       matrix:\n#         manifest_filename: [\"config_tests_0.json\", \n#                         \"config_tests_1.json\",\n#                         \"config_tests_2.json\",\n#                         \"config_tests_3.json\",\n#                         \"config_tests_4.json\",\n#                         \"config_tests_5.json\",\n#                         \"config_tests_6.json\",\n#                         \"config_tests_7.json\",\n#                         \"config_tests_8.json\",\n#                         \"config_tests_9.json\"]\n#     steps:  \n#         - name: Get branch and PR required for detection testing main.py\n#           id: vars\n#           run: |\n#             echo \"::set-output name=branch::${GITHUB_REF#refs/heads/}\"\n\n#         - name: Checkout Repo\n#           uses: actions/checkout@v2\n#           #with:\n#           #  ref: develop\n        \n#         - name: Download artifacts\n#           uses: actions/download-artifact@v2\n#           with:\n#             name: testing-results-config\n#             path: bin/docker_detection_tester/prior_config\n        \n\n#         - uses: actions/setup-python@v2\n#           with:\n#             python-version: '3.9' #Available versions here - https://github.com/actions/python-versions/releases  easy to change/make a matrix/use pypy\n#             architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified\n#             cache: 'pip'\n        \n#         - name: Install Python Dependencies\n#           run: |\n#             python -m venv .venv\n#             source .venv/bin/activate\n#             python -m pip install wheel\n#             python -m pip install -r requirements.txt\n        \n#         - name: Run the CI\n#           run: |\n#             source .venv/bin/activate\n#             cd bin/docker_detection_tester\n            \n            \n#             python detection_testing_execution.py run -c prior_config/${{ matrix.manifest_filename}} \n                    \n        \n#         - name: Upload Test Results Files\n#           uses: actions/upload-artifact@v2\n#           with:\n#             name: ${{ matrix.manifest_filename}}.results\n#             path: |\n#               bin/docker_detection_tester/test_results/success.csv\n#               bin/docker_detection_tester/test_results/error.csv\n#               bin/docker_detection_tester/test_results/failure.csv\n#               bin/docker_detection_tester/test_results/combined.csv\n#               bin/docker_detection_tester/test_results/success.json\n#               bin/docker_detection_tester/test_results/error.json\n#               bin/docker_detection_tester/test_results/failure.json\n#               bin/docker_detection_tester/test_results/combined.json\n\n#               bin/docker_detection_tester/test_results/summary.json\n          \n#   docker-detection-testing-execution-merge-results:\n#     runs-on: ubuntu-latest\n#     if: \"!contains(github.ref, 'refs/tags/')\" #don't run on tags - future steps won't run either since they depend on this job\n#     needs: [docker-detection-testing-setup, docker-detection-testing-execution]\n \n#     steps:  \n#         - name: Get branch and PR required for detection testing main.py\n#           id: vars\n#           run: |\n#             echo \"::set-output name=branch::${GITHUB_REF#refs/heads/}\"\n\n#         - name: Checkout Repo\n#           uses: actions/checkout@v2\n#           #with:\n#           #  ref: develop\n        \n#         - name: Download artifacts\n#           uses: actions/download-artifact@v2\n#           with:\n#             name: config_tests_0.json.results\n#             path: bin/docker_detection_tester/results_0\n#         - name: Download artifacts\n#           uses: actions/download-artifact@v2\n#           with:\n#             name: config_tests_1.json.results\n#             path: bin/docker_detection_tester/results_1\n#         - name: Download artifacts\n#           uses: actions/download-artifact@v2\n#           with:\n#             name: config_tests_2.json.results\n#             path: bin/docker_detection_tester/results_2\n#         - name: Download artifacts\n#           uses: actions/download-artifact@v2\n#           with:\n#             name: config_tests_3.json.results\n#             path: bin/docker_detection_tester/results_3\n#         - name: Download artifacts\n#           uses: actions/download-artifact@v2\n#           with:\n#             name: config_tests_4.json.results\n#             path: bin/docker_detection_tester/results_4\n#         - name: Download artifacts\n#           uses: actions/download-artifact@v2\n#           with:\n#             name: config_tests_5.json.results\n#             path: bin/docker_detection_tester/results_5\n#         - name: Download artifacts\n#           uses: actions/download-artifact@v2\n#           with:\n#             name: config_tests_6.json.results\n#             path: bin/docker_detection_tester/results_6\n#         - name: Download artifacts\n#           uses: actions/download-artifact@v2\n#           with:\n#             name: config_tests_7.json.results\n#             path: bin/docker_detection_tester/results_7\n#         - name: Download artifacts\n#           uses: actions/download-artifact@v2\n#           with:\n#             name: config_tests_8.json.results\n#             path: bin/docker_detection_tester/results_8\n#         - name: Download artifacts\n#           uses: actions/download-artifact@v2\n#           with:\n#             name: config_tests_9.json.results\n#             path: bin/docker_detection_tester/results_9\n        \n#         - uses: actions/setup-python@v2\n#           with:\n#             python-version: '3.9' #Available versions here - https://github.com/actions/python-versions/releases  easy to change/make a matrix/use pypy\n#             architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified\n#             cache: 'pip'\n        \n#         - name: Install Python Dependencies\n#           run: |\n#             python -m venv .venv\n#             source .venv/bin/activate\n#             python -m pip install wheel\n#             python -m pip install -r requirements.txt\n\n#         - name: Merge Detections into single File\n#           run: |\n#             source .venv/bin/activate\n#             cd bin/docker_detection_tester\n#             python summarize_json.py --files results_*/summary.json --output_filename summary_test_results.json\n            \n            \n#         - name: Upload Summary Test Results JSON\n#           uses: actions/upload-artifact@v2\n#           if: always()\n#           with:\n#             name: SummaryTestResults\n#             path: |\n#               bin/docker_detection_tester/summary_test_results.json\n\n#         - name: Upload Failures Manifest on Failure\n#           uses: actions/upload-artifact@v2\n#           if: failure()\n#           with:\n#             name: DetectionFailureManifest\n#             path: |\n#               bin/docker_detection_tester/detection_failure_manifest.json\n        \n          \n#         #Always clean these up, they make the output messy\n#         - name: Clean up intermediate Files\n#           uses: geekyeggo/delete-artifact@v1\n#           if: always()\n#           with:\n#               name: |\n#                 config_tests_0.json.results\n#                 config_tests_1.json.results\n#                 config_tests_2.json.results\n#                 config_tests_3.json.results\n#                 config_tests_4.json.results\n#                 config_tests_5.json.results\n#                 config_tests_6.json.results\n#                 config_tests_7.json.results\n#                 config_tests_8.json.results\n#                 config_tests_9.json.results\n        \n#         - name: Log in to S3 for Artifact Uploads\n#           if: ${{ github.event_name == 'schedule' }}\n#           uses: aws-actions/configure-aws-credentials@v1\n#           with:\n#             aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n#             aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n            \n#             aws-region: us-west-2\n\n#         - name: Upload S3 Badge and Summary Artifacts for Nightly Scheduled Run\n#           if: ${{ github.event_name == 'schedule' }}\n#           run: |\n#             cd bin/docker_detection_tester\n#             python generate_detection_coverage_badge.py --input_summary_file summary_test_results.json --output_badge_file detection_coverage.svg --badge_string \"Pass Rate\"\n            \n\n#             #Upload artifact (summary test results)\n#             aws s3 cp summary_test_results.json s3://security-content/reporting/summary_test_results.json\n\n#             #Since these reside in a public bucket, no need to explicitly mark as public\n#             # make the file public since it is not by default\n#             #aws s3api put-object-acl --bucket security-content --key reporting/summary_test_results.json --acl public-read\n            \n            \n#             #Upload artifact (test results coverage badge)\n#             aws s3 cp detection_coverage.svg s3://security-content/reporting/detection_coverage.svg\n            \n#             #Since these reside in a public bucket, no need to explicitly mark as public\n#             # make the file public since it is not by default\n#             #aws s3api put-object-acl --bucket security-content --key reporting/detection_coverage.svg --acl public-read\n\n\n\n\n      \n", "state": "active", "repository": "splunk/security_content"}
{"mined_at": "2024-07-15T15:53:55.348329", "created_at": "2021-08-27T10:29:09+02:00", "updated_at": "2023-11-17T01:37:02+01:00", "name": "build-and-validate", "path": ".github/workflows/build-and-validate.yml", "contents": null, "state": "active", "repository": "splunk/security_content"}
{"mined_at": "2024-07-15T15:53:56.393881", "created_at": "2021-12-20T21:42:27+01:00", "updated_at": "2021-12-20T21:42:27+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "splunk/security_content"}
{"mined_at": "2024-07-15T15:53:57.380273", "created_at": "2023-11-08T22:36:40+01:00", "updated_at": "2023-11-08T22:43:28+01:00", "name": "Initial contentctl test workflow", "path": ".github/workflows/contentctl_test.yml", "contents": null, "state": "active", "repository": "splunk/security_content"}
{"mined_at": "2024-07-15T15:53:58.429336", "created_at": "2024-07-02T20:47:13+02:00", "updated_at": "2024-07-10T19:03:00+02:00", "name": "unit-testing", "path": ".github/workflows/unit-testing.yml", "contents": null, "state": "active", "repository": "splunk/security_content"}
{"mined_at": "2024-07-15T15:53:59.480874", "created_at": "2024-07-09T23:28:22+02:00", "updated_at": "2024-07-10T19:03:00+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "splunk/security_content"}
{"mined_at": "2024-07-15T15:54:01.576310", "created_at": "2021-04-09T19:11:31+02:00", "updated_at": "2023-01-07T23:01:49+01:00", "name": "Container", "path": ".github/workflows/container.yml", "contents": "name: Container\n\n# on:\n#   release:\n#     types: [published]\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - '**'\n\nenv:\n  IMAGE_NAME: pycryptobot\n  DOCKER_FILE: Dockerfile\n  DOCKER_BUILDKIT: 1\n  # PLATFORM: linux/arm/v6,linux/arm/v7,linux/arm64,linux/amd64  <--  build fails with: docker build . --platform \"linux/arm/v7\"\n  PLATFORM: linux/arm64,linux/amd64\n\njobs:\n  # Build and push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n      - name: Log into registry\n        run: echo \"${{ secrets.PACKAGE_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n\n      - name: Create Tags\n        id: tags\n        run: |\n          IMAGE_ID=ghcr.io/${{ github.repository }}/$IMAGE_NAME\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"main\" ] && VERSION=latest\n          echo IMAGE_ID=$IMAGE_ID\n          echo VERSION=$VERSION\n          echo \"::set-output name=IMAGE_ID::$IMAGE_ID\"\n          echo \"::set-output name=VERSION::$VERSION\"\n      - name: Generate Docker Metadata\n        id: meta\n        uses: docker/metadata-action@v3\n        with:\n          images: ${{ steps.tags.outputs.IMAGE_ID }}\n\n      - name: Build and Push Image\n        uses: docker/build-push-action@v2\n        with:\n          build-args: REPO=${{ github.repository }}\n          context: .\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max\n          file: ${{ env.DOCKER_FILE }}\n          platforms: ${{ env.PLATFORM }}\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n\n      - name: Inspect Image\n        run: |\n          # Inspect Image\n          docker buildx imagetools inspect ${{ steps.tags.outputs.IMAGE_ID }}:${{ steps.tags.outputs.VERSION }}\n      # Temp fix stops cache growing too big\n      # https://github.com/docker/build-push-action/issues/252\n      # https://github.com/moby/buildkit/issues/1896\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n      - name: Run Trivy vulnerability scanner\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: \"${{ steps.tags.outputs.IMAGE_ID }}:${{ steps.tags.outputs.VERSION }}\"\n          format: \"sarif\"\n          output: \"trivy-results.sarif\"\n          ignore-unfixed: true\n          exit-code: 0\n          scan-type: \"image\"\n          vuln-type: \"os,library\"\n          severity: \"CRITICAL,HIGH\"\n\n      - name: Upload Trivy scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v1\n        with:\n          sarif_file: 'trivy-results.sarif'\n", "state": "active", "repository": "whittlem/pycryptobot"}
{"mined_at": "2024-07-15T15:54:02.624630", "created_at": "2021-05-13T14:23:05+02:00", "updated_at": "2021-05-13T17:13:50+02:00", "name": "Unit Tests", "path": ".github/workflows/unit-tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Unit Tests\n\non:\n  push:\n    branches: [ beta ]\n  pull_request:\n    branches: [ beta ]\n  workflow_dispatch:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.11\n    - name: Find typos with codespell\n      uses: codespell-project/actions-codespell@master\n      with:\n        ignore_words_list: vai,zar,hist\n        skip: \".venv,.git,*.json,./tests/unit_tests/responses\"\n    - uses: actions/cache@v2\n      with:\n        path: ${{ env.pythonLocation }}\n        key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest mock pytest-mock\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E203,E266,E501,W503,F403,F401,C901 --max-line-length=160 --show-source --statistics\n        # exit-zero treats all errors as warnings.\n        flake8 . --count --exit-zero --max-complexity=10 --statistics\n    - name: Test with pytest\n      run: |\n        pytest tests/unit_tests\n", "state": "active", "repository": "whittlem/pycryptobot"}
{"mined_at": "2024-07-15T15:54:04.801007", "created_at": "2021-07-12T22:23:56+02:00", "updated_at": "2021-07-12T22:23:56+02:00", "name": "Build and deploy documentation on merge to master", "path": ".github/workflows/documentation.yml", "contents": "---\nname: Build and deploy documentation on merge to master\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\non:\n  pull_request:\n    paths:\n      - 'docs/**'\n      - '.github/worklows/documentation.yml'\n      - 'requirements.docs.txt'\n      - 'Dockerfile.docs'\n      - 'mkdocs.yml'\n      - 'CNAME' \n  push:\n    branches:\n      - master\n    paths:\n      - 'docs/**'\n      - '.github/worklows/documentation.yml'\n      - 'requirements.docs.txt'\n      - 'Dockerfile.docs'\n      - 'mkdocs.yml'\n      - 'CNAME'\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout kapitan recursively\n        uses: actions/checkout@v4\n      - uses: actions/setup-python@v2\n      - run: pip install --upgrade pip && pip install -r requirements.docs.txt\n      - run: mkdocs build\n      - name: Deploy docs\n        if: github.event_name != 'pull_request' && github.ref_name == github.event.repository.default_branch\n        uses: mhausenblas/mkdocs-deploy-gh-pages@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          CONFIG_FILE: ./mkdocs.yml\n          REQUIREMENTS: requirements.docs.txt\n", "state": "active", "repository": "kapicorp/kapitan"}
{"mined_at": "2024-07-15T15:54:05.825097", "created_at": "2023-10-01T11:16:14+02:00", "updated_at": "2023-10-01T11:16:14+02:00", "name": "Housekeeping", "path": ".github/workflows/housekeeping.yml", "contents": "name: 'Housekeeping'\non:\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v8\n        with:\n          stale-issue-message: |\n            This issue is stale because it has been open for 1 year with no activity.\n            Remove the stale label or comment if this issue is still relevant for you. \n            If not, please close it yourself.\n          days-before-issue-stale: 365\n          day-before-pr-stale: -1\n          days-before-close: -1\n          days-before-pr-close: -1", "state": "active", "repository": "kapicorp/kapitan"}
{"mined_at": "2024-07-15T15:54:07.006640", "created_at": "2022-01-13T23:46:08+01:00", "updated_at": "2022-01-13T23:46:08+01:00", "name": "PEX Build and Upload", "path": ".github/workflows/pex-build-upload.yml", "contents": "---\nname: PEX Build and Upload\n\non:\n  workflow_run:\n    workflows:\n      - Upload Python Package\n    types:\n      - completed\n\njobs:\n  pex_build_publish:\n    if: false  # disable as this is not working with multiple python versions\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Set up Go\n        uses: actions/setup-go@v4\n        with:\n          go-version: 1.17\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pex\n      - name: Build Pex\n        run: |-\n          mkdir -p dist\n          pex .[gojsonnet] -r requirements.txt --python-shebang='#!/usr/bin/env python3' --python=python3.7 --python=python3.8 --python=python3.9 -m kapitan -o dist/kapitan.linux-x86_64.pex\n      - name: Add linux-x86_64 pex to assets\n        uses: softprops/action-gh-release@v1\n        if: startsWith(github.ref, 'refs/tags/')\n        with:\n          files: dist/kapitan.linux-x86_64.pex\n", "state": "active", "repository": "kapicorp/kapitan"}
{"mined_at": "2024-07-15T15:54:08.106930", "created_at": "2020-07-17T17:29:28+02:00", "updated_at": "2023-09-19T12:43:05+02:00", "name": "Python Lint", "path": ".github/workflows/python-black.yml", "contents": null, "state": "active", "repository": "kapicorp/kapitan"}
{"mined_at": "2024-07-15T15:54:09.232300", "created_at": "2023-08-15T11:08:35+02:00", "updated_at": "2023-08-15T11:08:35+02:00", "name": "Python Lint", "path": ".github/workflows/python-lint.yml", "contents": null, "state": "active", "repository": "kapicorp/kapitan"}
{"mined_at": "2024-07-15T15:54:10.380997", "created_at": "2021-08-09T23:46:18+02:00", "updated_at": "2021-08-09T23:46:18+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-pip-publish.yml", "contents": "---\nname: Upload Python Package\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n  \non:\n  workflow_dispatch:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine build\n      - name: Build and check\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n        run: |-\n          python -m build\n          twine check dist/*\n      - name: Test package upload\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TEST_TOKEN }}\n        run: |-\n          twine upload --repository testpypi dist/*\n      - name: Package upload\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n        run: |-\n          twine upload dist/*\n", "state": "active", "repository": "kapicorp/kapitan"}
{"mined_at": "2024-07-15T15:54:11.387600", "created_at": "2023-09-09T13:45:36+02:00", "updated_at": "2023-09-09T13:45:36+02:00", "name": "Python Tests", "path": ".github/workflows/python-tests.yml", "contents": null, "state": "active", "repository": "kapicorp/kapitan"}
{"mined_at": "2024-07-15T15:54:12.385201", "created_at": "2023-09-10T13:53:20+02:00", "updated_at": "2023-09-15T10:54:36+02:00", "name": "Test, Build and Publish docker image", "path": ".github/workflows/test-build-publish.yml", "contents": "---\nname: Test, Build and Publish docker image\nrun-name: Docker Build for ${{ github.actor }} on branch ${{ github.ref_name }}\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\non: \n  push:\n    branches:\n      - master\n      - main\n      - test/*\n    paths-ignore:\n      - 'docs/**'\n      - '.github/worklows/documentation.yml'\n      - 'requirements.docs.txt'\n      - 'mkdocs.yml'\n      - 'CNAME'\n      - 'Dockerfile.docs'\n\n  release:\n    types: [created]\n\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '.github/worklows/documentation.yml'\n      - 'requirements.docs.txt'\n      - 'mkdocs.yml'\n      - 'CNAME'\n      - 'Dockerfile.docs'\n\njobs:\n  lint:\n    name: linter\n    runs-on: ubuntu-latest\n    if: success() || failure()  # Continue running if other jobs fail\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n      - uses: psf/black@main\n  \n  test:\n    name: python ${{ matrix.python-version }} tests\n    runs-on: ubuntu-latest\n    if: success() || failure()   # Continue running if other jobs fail\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10', '3.11']\n    steps:\n      - name: Checkout kapitan recursively\n        uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          cache: 'poetry'\n          python-version: ${{ matrix.python-version }}\n      - name: Install libraries dependencies\n        run: |\n          poetry install --no-root \n      - name: Install testing dependencies (Helm)\n        run: |\n          sudo apt-get -qq update\n          sudo apt-get install -y gnupg2 git curl\n          curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash\n      - name: Run pytest\n        uses: pavelzw/pytest-action@v2\n        with:\n          verbose: true\n          emoji: false\n          job-summary: true\n          custom-pytest: poetry run pytest\n          custom-arguments: '-q'\n          click-to-expand: true\n          report-title: 'Kapitan tests'\n\n  build:\n    name: build ${{ matrix.platform }} image\n    if: success() || failure()   # Continue running if other jobs fail\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        platform:\n          - linux/amd64\n          - linux/arm64\n    steps:\n      - name: Checkout kapitan recursively\n        uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      \n      # Setup QEMU and Buildx to build multi-platform image\n      # This was inspired by this example : https://docs.docker.com/build/ci/github-actions/examples/#multi-platform-images\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      # Builds docker image and allow scoped caching\n      - name: build Kapitan Image\n        uses: docker/build-push-action@v5\n        with:\n          push: False \n          platforms: ${{ matrix.platform }}\n          load: True\n          file: Dockerfile\n          tags: local-test-${{ matrix.platform }}\n          cache-from: type=gha,scope=$GITHUB_REF_NAME-${{ matrix.platform }}\n          cache-to: type=gha,mode=max,scope=$GITHUB_REF_NAME-${{ matrix.platform }}\n\n      - name: Test Kapitan for ${{ matrix.platform }}\n        run: |\n          docker run -t --rm local-test-${{ matrix.platform }} --version\n\n\n  publish:\n    name: publish platform images\n    # Only starts if everything else is successful\n    needs: [lint, test, build]\n    if: github.event_name != 'pull_request'\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        platform:\n          - linux/amd64\n          - linux/arm64\n    steps:\n      - name: Checkout kapitan recursively\n        uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      \n      # Setup QEMU and Buildx to build multi-platform image\n      # This was inspired by this example : https://docs.docker.com/build/ci/github-actions/examples/#multi-platform-images\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        env:\n          DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME}}\n        if: env.DOCKERHUB_USERNAME != null\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        env:\n          DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME}}\n        with:\n          # list of Docker images to use as base name for tags\n          images: |\n            name=${{ vars.DOCKERHUB_REPOSITORY }}/kapitan\n          # generate Docker tags based on the following events/attributes\n          tags: |\n            type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{major}}\n          flavor: |\n            suffix=-${{ matrix.platform }}\n\n      - name: Build and push by digest\n        id: push-digest\n        env:\n          DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME}}\n        if: env.DOCKERHUB_USERNAME != null\n        uses: docker/build-push-action@v5\n        with:\n          platforms: ${{ matrix.platform }}\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{steps.meta.output.labels}}\n          cache-from: type=gha,scope=$GITHUB_REF_NAME-${{ matrix.platform }}\n          cache-to: type=gha,mode=max,scope=$GITHUB_REF_NAME-${{ matrix.platform }}\n\n  build-multi-architecture:\n    name: combine platform images\n    needs:\n      - publish\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      # Setup QEMU and Buildx to build multi-platform image\n      # This was inspired by this example : https://docs.docker.com/build/ci/github-actions/examples/#multi-platform-images\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        env:\n          DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME}}\n        if: env.DOCKERHUB_USERNAME != null\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        env:\n          DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME}}\n        with:\n          # list of Docker images to use as base name for tags\n          images: |\n            name=${{ vars.DOCKERHUB_REPOSITORY }}/kapitan\n          # generate Docker tags based on the following events/attributes\n          tags: |\n            type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{major}}\n            \n      - uses: int128/docker-manifest-create-action@v1\n        env:\n          DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME}}\n        if: env.DOCKERHUB_USERNAME != null\n        with:\n          tags: ${{ steps.meta.outputs.tags }}\n          builder: buildx\n          suffixes: |\n            -linux-amd64\n            -linux-arm64", "state": "active", "repository": "kapicorp/kapitan"}
{"mined_at": "2024-07-15T15:54:13.629201", "created_at": "2022-01-02T18:23:07+01:00", "updated_at": "2022-01-02T18:23:07+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "kapicorp/kapitan"}
{"mined_at": "2024-07-15T15:54:15.725570", "created_at": "2020-10-01T16:27:18+02:00", "updated_at": "2020-10-01T16:32:37+02:00", "name": "Codecov upload", "path": ".github/workflows/codecov.yml", "contents": "name: Codecov upload\non:\n  push:\n    branches:\n      - 'master'\njobs:\n  codecov:\n    name: Codecov Workflow\n    runs-on: ubuntu-20.04\n    \n    steps:\n      - uses: actions/checkout@v1\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Generate coverage report\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install pytest pytest-cov\n          pip install -r requirements_testing.txt\n          pip install -e .\n          pytest --cov=./ --cov-report=xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          flags: unittests\n", "state": "active", "repository": "oegedijk/explainerdashboard"}
{"mined_at": "2024-07-15T15:54:16.774959", "created_at": "2020-05-22T12:34:35+02:00", "updated_at": "2020-05-22T12:34:35+02:00", "name": "explainerdashboard", "path": ".github/workflows/explainerdashboard.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: explainerdashboard\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n  schedule:\n    - cron:  '0 0 * * *'\n  workflow_dispatch:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        pip install flake8 pytest\n        pip install --upgrade --upgrade-strategy eager -r requirements_testing.txt\n        pip install --upgrade --upgrade-strategy eager -e .\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pytest -k \"not selenium\"\n", "state": "active", "repository": "oegedijk/explainerdashboard"}
{"mined_at": "2024-07-15T15:54:17.823556", "created_at": "2020-05-25T17:17:40+02:00", "updated_at": "2024-03-12T21:03:38+01:00", "name": "Publish to PyPI.org", "path": ".github/workflows/upload_to_pypi.yml", "contents": "name: Publish to PyPI.org\non:\n  release:\n    types: [published]\njobs:\n  pypi:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - run: python3 -m pip install --upgrade build && python3 -m build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "oegedijk/explainerdashboard"}
{"mined_at": "2024-07-15T15:54:19.960149", "created_at": "2023-01-07T00:56:50+01:00", "updated_at": "2023-03-24T06:00:57+01:00", "name": "build", "path": ".github/workflows/build.yaml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - \"branch-*\"\n    tags:\n      - v[0-9].[0-9][0-9].[0-9][0-9]\n  workflow_dispatch:\n    inputs:\n      branch:\n        required: true\n        type: string\n      date:\n        required: true\n        type: string\n      sha:\n        required: true\n        type: string\n      build_type:\n        type: string\n        default: nightly\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}\n  cancel-in-progress: true\n\njobs:\n  conda-python-build:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-24.08\n    with:\n      build_type: ${{ inputs.build_type || 'branch' }}\n      branch: ${{ inputs.branch }}\n      date: ${{ inputs.date }}\n      sha: ${{ inputs.sha }}\n  upload-conda:\n    needs: [conda-python-build]\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-upload-packages.yaml@branch-24.08\n    with:\n      build_type: ${{ inputs.build_type || 'branch' }}\n      branch: ${{ inputs.branch }}\n      date: ${{ inputs.date }}\n      sha: ${{ inputs.sha }}\n  wheel-build:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.08\n    with:\n      build_type: ${{ inputs.build_type || 'branch' }}\n      branch: ${{ inputs.branch }}\n      sha: ${{ inputs.sha }}\n      date: ${{ inputs.date }}\n      script: ci/build_wheel.sh\n  wheel-publish:\n    needs: wheel-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-24.08\n    with:\n      build_type: ${{ inputs.build_type || 'branch' }}\n      branch: ${{ inputs.branch }}\n      sha: ${{ inputs.sha }}\n      date: ${{ inputs.date }}\n      package-name: ucx_py\n", "state": "active", "repository": "rapidsai/ucx-py"}
{"mined_at": "2024-07-15T15:54:21.054835", "created_at": "2022-12-30T19:29:05+01:00", "updated_at": "2023-10-30T18:52:16+01:00", "name": "pr", "path": ".github/workflows/pr.yaml", "contents": "name: pr\n\non:\n  push:\n    branches:\n      - \"pull-request/[0-9]+\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pr-builder:\n    needs:\n      - checks\n      - conda-python-build\n      - conda-python-tests\n      - wheel-build\n      - wheel-tests\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-24.08\n  checks:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@branch-24.08\n  conda-python-build:\n    needs: checks\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-24.08\n    with:\n      build_type: pull-request\n  conda-python-tests:\n    needs: conda-python-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@branch-24.08\n    with:\n      build_type: pull-request\n      container-options: \"--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000\"\n  wheel-build:\n    needs: checks\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.08\n    with:\n      build_type: pull-request\n      script: ci/build_wheel.sh\n  wheel-tests:\n    needs: wheel-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-24.08\n    with:\n      build_type: pull-request\n      script: ci/test_wheel.sh\n      container-options: \"--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000\"\n", "state": "active", "repository": "rapidsai/ucx-py"}
{"mined_at": "2024-07-15T15:54:22.150571", "created_at": "2023-01-07T00:56:50+01:00", "updated_at": "2023-01-07T00:56:50+01:00", "name": "test", "path": ".github/workflows/test.yaml", "contents": "name: test\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        required: true\n        type: string\n      date:\n        required: true\n        type: string\n      sha:\n        required: true\n        type: string\n\njobs:\n  conda-python-tests:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@branch-24.08\n    with:\n      build_type: nightly\n      branch: ${{ inputs.branch }}\n      date: ${{ inputs.date }}\n      sha: ${{ inputs.sha }}\n      container-options: \"--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000\"\n  wheel-tests:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-24.08\n    with:\n      build_type: nightly\n      branch: ${{ inputs.branch }}\n      date: ${{ inputs.date }}\n      sha: ${{ inputs.sha }}\n      script: ci/test_wheel.sh\n      container-options: \"--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000\"\n", "state": "active", "repository": "rapidsai/ucx-py"}
{"mined_at": "2024-07-15T15:54:25.214446", "created_at": "2023-04-06T11:26:02+02:00", "updated_at": "2023-04-06T11:26:02+02:00", "name": "Continuous delivery - Linux", "path": ".github/workflows/cd-linux.yaml", "contents": "name: Continuous delivery - Linux\n\non:\n  release:\n    types: [prereleased, released]\n\nenv:\n  FLIT_ROOT_INSTALL: 1\n\njobs:\n  version-check:\n    name: Check versioning\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Check version tag format\n        run: |\n          TAG_VERSION=\"${{ github.event.release.tag_name }}\"\n          if [[ $TAG_VERSION =~ ^v[0-9]+.[0-9]+.[0-9]+$ ]]; then exit 0; else exit 1; fi\n      - name: Check if version tag and package version are equal\n        run: |\n          TAG_VERSION=\"${{ github.event.release.tag_name }}\"\n          if [ ${TAG_VERSION:1} == $(cat pynitrokey/VERSION) ]; then exit 0; else exit 1; fi\n  build-onefile:\n    name: Build onefile\n    runs-on: ubuntu-latest\n    container: python:3.9-slim\n    needs: version-check\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Install required packages\n        run: |\n          apt update\n          apt install -y binutils gcc git libpcsclite-dev libusb-1.0-0 make swig\n      - name: Create virtual environment\n        run: |\n          python -m venv venv\n          . venv/bin/activate\n          pip install flit\n          flit install --symlink\n      - name: Patch oscrypto\n        run: |\n          . venv/bin/activate\n          pip uninstall -y oscrypto\n          : # This uses an oscrypto version to avoid issue #431\n          pip install \"oscrypto @ git+https://github.com/wbond/oscrypto.git@1547f535001ba568b239b8797465536759c742a3\"\n      - name: Build\n        run: |\n          . venv/bin/activate\n          pyinstaller \\\n            ci-scripts/linux/pyinstaller/pynitrokey-onefile.spec\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: nitropy-onefile\n          path: dist/nitropy\n  publish-binary:\n    name: Publish binary\n    runs-on: ubuntu-latest\n    container: python:3.9-slim\n    needs: build-onefile\n    permissions:\n      contents: write\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: nitropy-onefile\n      - name: Rename binary\n        run: |\n          mv \\\n            nitropy \\\n            nitropy-${{ github.event.release.tag_name }}-x64-linux-binary\n      - name: Create archive\n        run: |\n          tar \\\n          -czvf \\\n          nitropy-${{ github.event.release.tag_name }}-x64-linux-binary.tar.gz \\\n          nitropy-${{ github.event.release.tag_name }}-x64-linux-binary\n      - name: Publish release\n        uses: softprops/action-gh-release@v2\n        with:\n          files: nitropy-${{ github.event.release.tag_name }}-x64-linux-binary.tar.gz", "state": "active", "repository": "nitrokey/pynitrokey"}
{"mined_at": "2024-07-15T15:54:26.443901", "created_at": "2023-04-19T12:58:50+02:00", "updated_at": "2023-04-19T12:58:50+02:00", "name": "Continuous delivery - Pypi", "path": ".github/workflows/cd-pypi.yaml", "contents": "name: Continuous delivery - Pypi\n\non:\n  release:\n    types: [released]\n\nenv:\n  FLIT_ROOT_INSTALL: 1\n\njobs:\n  version-check:\n    name: Check versioning\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Check version tag format\n        run: |\n          TAG_VERSION=\"${{ github.event.release.tag_name }}\"\n          if [[ $TAG_VERSION =~ ^v[0-9]+.[0-9]+.[0-9]+$ ]]; then exit 0; else exit 1; fi\n      - name: Check if version tag and package version are equal\n        run: |\n          TAG_VERSION=\"${{ github.event.release.tag_name }}\"\n          if [ ${TAG_VERSION:1} == $(cat pynitrokey/VERSION) ]; then exit 0; else exit 1; fi\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    container: python:3.9-slim\n    needs: version-check\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Install required packages\n        run: |\n          apt update\n          apt install -y binutils gcc libpcsclite-dev libusb-1.0-0 make swig\n      - name: Create virtual environment\n        run: |\n          python -m venv venv\n          . venv/bin/activate\n          pip install flit\n          flit install --symlink\n      - name: Build\n        run: |\n          . venv/bin/activate\n          flit build\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: nitropy-pypi\n          path: dist\n  publish-binary:\n    name: Publish\n    runs-on: ubuntu-latest\n    container: python:3.9-slim\n    needs: build\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: nitropy-pypi\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Install required packages\n        run: |\n          apt update\n          apt install -y binutils gcc libpcsclite-dev libusb-1.0-0 make swig\n      - name: Create virtual environment\n        run: |\n          python -m venv venv\n          . venv/bin/activate\n          pip install flit\n          flit install --symlink\n      - name: Prepare pypi configuration file\n        run: sed -e \"s|\\${passw}|${{ secrets.PYPI_TOKEN }}|\" ci-scripts/pypi/.pypirc_template > ~/.pypirc\n      - name: Publish release\n        run: |\n          . venv/bin/activate\n          flit --repository pypi publish", "state": "active", "repository": "nitrokey/pynitrokey"}
{"mined_at": "2024-07-15T15:54:27.524189", "created_at": "2023-04-06T11:26:02+02:00", "updated_at": "2023-04-06T11:26:02+02:00", "name": "Continuous delivery - Windows", "path": ".github/workflows/cd-windows.yaml", "contents": "name: Continuous delivery - Windows\n\non:\n  release:\n    types: [prereleased, released]\n\nenv:\n  FLIT_ROOT_INSTALL: 1\n\njobs:\n  version-check:\n    name: Check versioning\n    runs-on: windows-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Check version tag format\n        run: |\n          $VERSION_TAG=\"${{ github.event.release.tag_name }}\"\n          if ($VERSION_TAG -match \"^v[0-9]+.[0-9]+.[0-9]+$\") {exit 0} else {exit 1}\n      - name: Check if version tag and package version are equal\n        run: |\n          $VERSION_TAG=\"${{ github.event.release.tag_name }}\"\n          $VERSION_FILE=Get-Content .\\pynitrokey\\VERSION\n          if ($VERSION_TAG.Substring(1) -eq $VERSION_FILE) {exit 0} else {exit 1}\n  build-onedir:\n    name: Build onedir\n    runs-on: windows-latest\n    needs: version-check\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Create virtual environment\n        run: |\n          python -m venv venv\n          .\\venv\\Scripts\\Activate.ps1\n          .\\venv\\Scripts\\pip install pip\n          .\\venv\\Scripts\\pip install flit\n          .\\venv\\Scripts\\flit install --symlink\n      - name: Create Windows version info file\n        run: |\n          .\\venv\\Scripts\\Activate.ps1\n          create-version-file `\n            --outfile .\\ci-scripts\\windows\\pyinstaller\\file_version_info.txt `\n            --version \"$(Get-Content .\\pynitrokey\\VERSION)\" `\n            .\\ci-scripts\\windows\\pyinstaller\\file_version_info_metadata.yaml\n      - name: Build onedir\n        run: |\n          .\\venv\\Scripts\\Activate.ps1\n          pyinstaller ci-scripts/windows/pyinstaller/pynitrokey-onedir.spec\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: pynitrokey-onedir\n          path: dist/nitropy\n  build-onefile:\n    name: Build onefile\n    runs-on: windows-latest\n    needs: version-check\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Create virtual environment\n        run: |\n          python -m venv venv\n          .\\venv\\Scripts\\Activate.ps1\n          .\\venv\\Scripts\\pip install pip\n          .\\venv\\Scripts\\pip install flit\n          .\\venv\\Scripts\\flit install --symlink\n      - name: Create Windows version info file\n        run: |\n          .\\venv\\Scripts\\Activate.ps1\n          create-version-file `\n            --outfile .\\ci-scripts\\windows\\pyinstaller\\file_version_info.txt `\n            --version \"$(Get-Content .\\pynitrokey\\VERSION)\" `\n            .\\ci-scripts\\windows\\pyinstaller\\file_version_info_metadata.yaml\n      - name: Build onefile\n        run: |\n          .\\venv\\Scripts\\Activate.ps1\n          pyinstaller ci-scripts/windows/pyinstaller/pynitrokey-onefile.spec\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: pynitrokey-onefile\n          path: dist/nitropy.exe\n  build-msi-installer:\n    name: Build MSI installer\n    runs-on: windows-latest\n    needs: build-onedir\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: pynitrokey-onedir\n          path: dist/nitropy\n      - name: Create sources file\n        run: |\n          $Env:Path += \";\" + \"$Env:WIX\" + \"bin\"\n          heat `\n            dir .\\dist\\nitropy\\ `\n            -dr INSTALLFOLDER `\n            -ag `\n            -cg ApplicationFilesDynamic `\n            -ke `\n            -srd -sfrag -suid -sreg `\n            -nologo `\n            -pog:Binaries `\n            -pog:Documents `\n            -pog:Satellites `\n            -pog:Sources `\n            -pog:Content `\n            -o Sources.wxs\n      - name: Build object files\n        run: |\n          $Env:Path += \";\" + \"$Env:WIX\" + \"bin\"\n          candle .\\ci-scripts\\windows\\wix\\Product.wxs -o Product.wixobj\n          candle .\\Sources.wxs -o .\\Sources.wixobj\n      - name: Build installer package\n        run: |\n          $Env:Path += \";\" + \"$Env:WIX\" + \"bin\"\n          light `\n            -b .\\dist\\nitropy\\ `\n            -sice:ICE80 `\n            .\\Product.wixobj `\n            .\\Sources.wixobj `\n            -o nitropy.msi\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: nitropy-installer\n          path: nitropy.msi\n  publish-binary:\n    name: Publish binary\n    runs-on: windows-latest\n    needs: build-onefile\n    permissions:\n      contents: write\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: pynitrokey-onefile\n      - name: Rename binary\n        run: |\n          mv `\n            nitropy.exe `\n            nitropy-${{ github.event.release.tag_name }}-x64-windows-binary.exe\n      - name: Create archive\n        run: |\n          7z a -tzip -mx9 `\n            nitropy-${{ github.event.release.tag_name }}-x64-windows-binary.zip `\n            nitropy-${{ github.event.release.tag_name }}-x64-windows-binary.exe\n      - name: Publish release\n        uses: softprops/action-gh-release@v2\n        with:\n          files: nitropy-${{ github.event.release.tag_name }}-x64-windows-binary.zip\n  publish-msi-installer:\n    name: Publish MSI installer\n    runs-on: windows-latest\n    needs: build-msi-installer\n    permissions:\n      contents: write\n    steps:\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: nitropy-installer\n      - name: Rename installer\n        run: |\n          mv `\n            nitropy.msi `\n            nitropy-${{ github.event.release.tag_name }}-x64-windows-installer.msi\n      - name: Publish release\n        uses: softprops/action-gh-release@v2\n        with:\n          files: nitropy-${{ github.event.release.tag_name }}-x64-windows-installer.msi", "state": "active", "repository": "nitrokey/pynitrokey"}
{"mined_at": "2024-07-15T15:54:28.596188", "created_at": "2023-04-05T12:11:26+02:00", "updated_at": "2024-06-19T10:05:38+02:00", "name": "Continuous integration", "path": ".github/workflows/ci.yaml", "contents": "name: Continuous integration\non:\n  push:\n    branches-ignore:\n      - \"master\"\n  pull_request:\n\nenv:\n  FLIT_ROOT_INSTALL: 1\n\njobs:\n  format-code:\n    name: Check code format\n    runs-on: ubuntu-latest\n    container: python:3.9-slim\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Install required packages\n        run: |\n          apt update\n          apt install -y gcc libpcsclite-dev make swig git\n      - name: Create virtual environment\n        run: make init\n      - name: Check code format\n        run: |\n          . venv/bin/activate\n          make check-format\n  format-import:\n    name: Check imports format\n    runs-on: ubuntu-latest\n    container: python:3.9-slim\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Install required packages\n        run: |\n          apt update\n          apt install -y gcc libpcsclite-dev make swig git\n      - name: Create virtual environment\n        run: make init\n      - name: Check code import format\n        run: |\n          . venv/bin/activate\n          make check-import-sorting\n  lint-style:\n    name: Check code style\n    runs-on: ubuntu-latest\n    container: python:3.9-slim\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Install required packages\n        run: |\n          apt update\n          apt install -y gcc libpcsclite-dev make swig git\n      - name: Create virtual environment\n        run: make init\n      - name: Check code style\n        run: |\n          . venv/bin/activate\n          make check-style\n  lint-typing:\n    name: Check static typing\n    runs-on: ubuntu-latest\n    container: python:3.9-slim\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Install required packages\n        run: |\n          apt update\n          apt install -y gcc libpcsclite-dev make swig git\n      - name: Create virtual environment\n        run: make init\n      - name: Check code static typing\n        run: |\n          . venv/bin/activate\n          make check-typing\n", "state": "active", "repository": "nitrokey/pynitrokey"}
{"mined_at": "2024-07-15T15:54:31.787259", "created_at": "2023-02-06T09:07:54+01:00", "updated_at": "2023-09-01T08:47:28+02:00", "name": "Add new issues to the backlog", "path": ".github/workflows/add-to-bl.yml", "contents": "name: Add new issues to the backlog\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  add-to-project:\n    name: Add issue to project\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/add-to-project@v0.4.0\n        with:\n          project-url: https://github.com/orgs/Clinical-Genomics/projects/46\n          github-token: ${{ secrets.REPO_AND_PROJECT_PAT }}\n", "state": "disabled_manually", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:32.913603", "created_at": "2021-08-24T16:21:26+02:00", "updated_at": "2021-08-26T09:55:14+02:00", "name": "Black linter and code formatter", "path": ".github/workflows/black_linter.yml", "contents": "name: Black linter and code formatter\non: [pull_request]\njobs:\n  lint:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - uses: psf/black@stable\n        with:\n          options: \"--check --verbose\"\n          version: \"22.3.0\"\n", "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:34.142571", "created_at": "2023-08-07T15:28:22+02:00", "updated_at": "2023-08-08T16:20:31+02:00", "name": "Check URLs", "path": ".github/workflows/check_urls.yml", "contents": null, "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:35.274646", "created_at": "2021-08-27T11:56:00+02:00", "updated_at": "2021-09-13T09:23:13+02:00", "name": "Conventional PRs", "path": ".github/workflows/conventional_pr.yml", "contents": "name: Conventional PRs\non: [\"pull_request\"]\n\njobs:\n  title-format:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:36.315105", "created_at": "2021-11-09T16:26:55+01:00", "updated_at": "2021-11-09T16:26:55+01:00", "name": "create_release_zenodo", "path": ".github/workflows/create_release_from_tag.yml", "contents": "name: create_release_zenodo\n\non:\n  push:\n    tags:\n      - \"**\"\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        if: startsWith(github.ref, 'refs/tags/')\n        with:\n          token: ${{ secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:37.321842", "created_at": "2023-08-09T17:22:38+02:00", "updated_at": "2023-08-09T17:22:38+02:00", "name": "Build, push, and test develop containers", "path": ".github/workflows/docker_build_publish.yml", "contents": null, "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:38.340858", "created_at": "2023-08-11T15:57:48+02:00", "updated_at": "2023-08-16T09:17:04+02:00", "name": "Docker develop containers", "path": ".github/workflows/docker_build_publish_develop.yml", "contents": "name: Docker develop containers\non:\n  push:\n    branches:\n      - \"develop\"\n  pull_request:\n    branches-ignore:\n      - \"master\"\n    paths:\n      - \"BALSAMIC/containers/**\"\njobs:\n  main:\n    name: Build and publish\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: true\n      matrix:\n        container-name: [align_qc, annotate, ascatNgs, cadd, cnvkit, cnvpytor, coverage_qc, delly, gatk, htslib, purecn, somalier, varcall_py3, varcall_py27, vcf2cytosure]\n    steps:\n      - name: Git checkout\n        id: git_checkout\n        uses: actions/checkout@v3\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Login to Docker Hub\n        id: docker_login\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Build and push\n        id: docker_build_push\n        uses: docker/build-push-action@v3\n        with:\n          file: BALSAMIC/containers/${{ matrix.container-name }}/Dockerfile\n          push: true\n          tags: clinicalgenomics/balsamic:develop-${{ matrix.container-name }}\n          build-args: CONTAINER_NAME=${{ matrix.container-name }}\n          provenance: false\n      - name: Prune containers\n        id: docker_prune_containers\n        shell: bash\n        run: |\n          docker system prune -a -f\n      - name: Test container\n        id: docker_test_container\n        shell: bash\n        run: |\n          docker run \\\n          -v $(readlink -f container_tests):/container_tests \\\n          clinicalgenomics/balsamic:develop-${{ matrix.container-name }} \\\n          bash /container_tests/${{ matrix.container-name }}/${{ matrix.container-name }}.sh\n", "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:39.370147", "created_at": "2023-08-11T15:17:05+02:00", "updated_at": "2023-08-16T09:17:04+02:00", "name": "Docker release containers", "path": ".github/workflows/docker_build_publish_release.yml", "contents": "name: Docker release containers\non:\n  pull_request:\n    branches:\n      - \"master\"\njobs:\n  main:\n    name: Build and publish\n    if:  startsWith(github.head_ref, 'release_v')\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: true\n      matrix:\n        container-name: [align_qc, annotate, ascatNgs, cadd, cnvkit, cnvpytor, coverage_qc, delly, gatk, htslib, purecn, somalier, varcall_py3, varcall_py27, vcf2cytosure]\n    steps:\n      - name: Git checkout\n        id: git_checkout\n        uses: actions/checkout@v3\n      - name: Get branch name\n        id: get_branch_name\n        shell: bash\n        run: echo \"branch=${GITHUB_HEAD_REF:-${GITHUB_REF##*/}}\" >> $GITHUB_OUTPUT\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Login to Docker Hub\n        id: docker_login\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Build and push\n        id: docker_build_push\n        uses: docker/build-push-action@v3\n        with:\n          file: BALSAMIC/containers/${{ matrix.container-name }}/Dockerfile\n          push: true\n          tags: clinicalgenomics/balsamic:${{ steps.get_branch_name.outputs.branch }}-${{ matrix.container-name }}\n          build-args: CONTAINER_NAME=${{ matrix.container-name }}\n          provenance: false\n      - name: Prune containers\n        id: docker_prune_containers\n        shell: bash\n        run: |\n          docker system prune -a -f\n      - name: Test container\n        id: docker_test_container\n        shell: bash\n        run: |\n          docker run \\\n          -v $(readlink -f container_tests):/container_tests \\\n          clinicalgenomics/balsamic:${{ steps.get_branch_name.outputs.branch }}-${{ matrix.container-name }} \\\n          bash /container_tests/${{ matrix.container-name }}/${{ matrix.container-name }}.sh\n", "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:40.374134", "created_at": "2020-11-21T10:43:25+01:00", "updated_at": "2023-08-16T15:01:14+02:00", "name": "Build and push master and develop container", "path": ".github/workflows/docker_build_push.yml", "contents": null, "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:41.422023", "created_at": "2021-05-18T16:26:34+02:00", "updated_at": "2023-08-16T09:32:38+02:00", "name": "Build and test container", "path": ".github/workflows/docker_build_test_pull_request.yml", "contents": null, "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:42.469939", "created_at": "2021-08-26T11:12:15+02:00", "updated_at": "2023-05-11T11:02:31+02:00", "name": "build test container submodule", "path": ".github/workflows/docker_build_test_pull_request_submodules.yml", "contents": null, "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:43.665908", "created_at": "2021-04-08T13:32:50+02:00", "updated_at": "2021-05-11T17:13:32+02:00", "name": "Check changelog", "path": ".github/workflows/dont_forget_changelog.yml", "contents": "name: \"Check changelog\"\non:\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]\njobs:\n  # Enforces the update of a changelog file on every pull request\n  changelog:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: dangoslen/changelog-enforcer@v3\n        with:\n          changeLogPath: 'CHANGELOG.rst'\n          skipLabels: 'Skip-Changelog'\n", "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:44.681156", "created_at": "2020-11-21T12:28:22+01:00", "updated_at": "2022-05-23T13:40:24+02:00", "name": "pytests", "path": ".github/workflows/pytest_and_coveralls.yml", "contents": "name: pytests\non:\n  pull_request:\n    paths-ignore:\n      - \"CHANGELOG.rst\"\n      - \"docs/**\"\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - \"CHANGELOG.rst\"\n      - \"docs/**\"\n\njobs:\n  pytest_coveralls:\n    name: run PyTest\n    runs-on: ubuntu-22.04\n    steps:\n      # Checkout BALSAMIC\n      - name: Git checkout\n        id: git_checkout\n        uses: actions/checkout@v3\n      # Conda env create\n      - name: setup conda\n        id: setup_conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          activate-environment: balsamic\n          environment-file: BALSAMIC/conda/balsamic.yaml\n      - name: Install the HTML to PDF renderer\n        run: sudo apt-get update && sudo apt-get install -y wkhtmltopdf\n      # Install BALSAMIC\n      - name: Install BALSAMIC\n        id: install_balsamic\n        shell: bash -l {0}\n        run: |\n          conda activate balsamic\n          pip install --no-cache-dir .\n      # Install pytest coveralls dependencies\n      - name: Install PyTest and Coveralls\n        id: install_pytest\n        shell: bash -l {0}\n        run: |\n          conda activate balsamic\n          pip install --no-cache-dir -r requirements-dev.txt\n      # Run PyTest\n      - name: Run PyTest\n        id: pytest\n        shell: bash -l {0}\n        run: |\n          conda activate balsamic\n          py.test --cov-report=xml --cov=BALSAMIC -rsxv tests/*\n        env:\n          SENTIEON_LICENSE: dummy_license\n          SENTIEON_INSTALL_DIR: dummy_install_dir\n      # Run Codecov\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          flags: unittests\n          fail_ci_if_error: true\n          verbose: true\n", "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:45.668900", "created_at": "2024-07-08T16:50:32+02:00", "updated_at": "2024-07-08T16:50:32+02:00", "name": "Lint Snakemake Code Base", "path": ".github/workflows/snakefmt_linter.yml", "contents": null, "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:46.720798", "created_at": "2021-11-04T15:28:24+01:00", "updated_at": "2021-11-09T16:26:55+01:00", "name": "Pull Request Docs Check", "path": ".github/workflows/sphinx_docs.yml", "contents": "name: \"Pull Request Docs Check\"\non:\n  pull_request:\n    paths:\n      - \"docs/**\"\n    branches:\n      - master\njobs:\n  docs:\n    runs-on: ubuntu-22.04\n    steps:\n      # Checkout BALSAMIC\n      - name: Git checkout\n        id: git_checkout\n        uses: actions/checkout@v3\n      - name: Sphinx build action\n        id: sphinx_docs\n        uses: ammaraskar/sphinx-action@master\n        with:\n          docs-folder: \"docs/\"\n          pre-build-command: \"pip install -r requirements-dev.txt && python setup.py install\"\n          build-command: \"sphinx-build -T -E -b html -d _build/doctrees-readthedocs -D language=en . _build/html\"\n", "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:47.816279", "created_at": "2023-08-14T11:57:01+02:00", "updated_at": "2023-08-17T12:12:47+02:00", "name": "Check URLs", "path": ".github/workflows/urls_check.yml", "contents": "name: Check URLs\non:\n  push:\n    branches:\n      - master\n      - develop\njobs:\n  main:\n    name: Find broken cache and documentation links\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Git checkout\n        id: git_checkout\n        uses: actions/checkout@v3\n      - name: Link Checker\n        uses: lycheeverse/lychee-action@v1.8.0\n        with:\n          args: --verbose './BALSAMIC/constants/cache.py' './docs/*.rst'\n          fail: true\n", "state": "active", "repository": "clinical-genomics/balsamic"}
{"mined_at": "2024-07-15T15:54:49.834076", "created_at": "2023-07-20T12:10:53+02:00", "updated_at": "2023-07-20T12:10:53+02:00", "name": "Deploy static content to Pages", "path": ".github/workflows/build_deploy_docs.yml", "contents": "# Simple workflow for deploying static content to GitHub Pages generated by Github\n# except for added job steps \"Copy Static Files\" through \"Build MkDocs Pages\".\nname: Deploy static content to Pages\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches: [\"master\"]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  # Single deploy job since we're just deploying\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Pages\n        uses: actions/configure-pages@v3\n      - name: Copy Static Files\n        run: |\n          cp -R docs/website site/\n      - name: Replace GITHUB token\n        # Use different sed delimiter to avoid clashing with forward slash in URL\n        run: |\n          find docs/ -type f -exec sed -i \"s@GITHUB@${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}\\/blob\\/master@g\" {} \\;\n      - name: Replace WEBSITE token\n        # Use different sed delimiter to avoid clashing with forward slash in URL\n        run: |\n          WEBSITE_URL=\"https://${GITHUB_REPOSITORY_OWNER}.github.io/automlbenchmark\"\n          find docs/ -type f -exec sed -i \"s@WEBSITE@${WEBSITE_URL}@g\" {} \\;\n          sed -i \"s@WEBSITE@${WEBSITE_URL}@g\" mkdocs.yml\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.11' \n      - name: Install MkDocs\n        run: |\n           python -m pip install mkdocs-material\n      - name: Build MkDocs Pages\n        run: |\n          mkdocs build --site-dir site/docs\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v2\n        with:\n          # Upload entire repository\n          path: './site/'\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "openml/automlbenchmark"}
{"mined_at": "2024-07-15T15:54:50.887958", "created_at": "2021-01-22T15:31:14+01:00", "updated_at": "2021-05-14T11:07:55+02:00", "name": "Run All Frameworks", "path": ".github/workflows/run_all_frameworks.yml", "contents": "name: Run All Frameworks\n\non: pull_request\n\n\njobs:\n\n  detect_changes:  # Figure out which frameworks need to be evaluated based on which files are changed.\n    name: Detect Changes\n    runs-on: ubuntu-latest\n    outputs:\n      frameworks: ${{ steps.find-required-tests.outputs.frameworks }}\n      tasks: ${{ steps.find-required-tests.outputs.tasks }}\n      benchmark: ${{ steps.find-required-tests.outputs.benchmark }}\n      skip_baseline: ${{ steps.find-required-tests.outputs.skip_baseline }}\n      skip_evaluation: ${{ steps.find-required-tests.outputs.skip_evaluation }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: pull base branch\n        run: |\n          git fetch --unshallow origin $GITHUB_BASE_REF\n          git branch --track $GITHUB_BASE_REF origin/$GITHUB_BASE_REF\n      - id: find-required-tests\n        name: Detect Common Changes  # detect if any changes occurred that should trigger all frameworks.\n        run: |\n          changed_files=$(git diff --name-only $GITHUB_BASE_REF...HEAD)\n\n          shopt -s globstar\n          common_files=\"amlb/** \"\\\n          \"resources/** \"\\\n          \"frameworks/shared/** \"\\\n          \".github/workflows/run_all_frameworks.yml \"\\\n          \".github/runbenchmark/action.yml \"\\\n          \"runbenchmark.py \"\\\n          \"requirements.txt\"\n          \n          echo Common files: $common_files\n          echo Changed files: $changed_files\n\n          is_common=1\n          for f in $changed_files\n          do\n            if echo $common_files | grep -e $f >> /dev/null;\n            then\n                echo \"File $f detected as common file\"\n                is_common=0\n                break\n            fi\n          done\n\n          # Indicates which jobs should be executed (0) or not (1)\n          skip_evaluation=0\n          if [[ $is_common -eq 0 ]];\n          then\n            FRAMEWORKS='[\"autogluon\", \"autosklearn\", \"gama\", \"h2oautoml\", \"mlplanweka\", \"mlr3automl\", \"naiveautoml\", \"tpot\", \"tunedrandomforest\"]'\n            TASKS='[\"iris\", \"kc2\", \"cholesterol\"]'\n            BENCHMARK='[\"test\"]'\n          else\n            TASKS='[\"APSFailure\", \"bioresponse\", \"dresses-sales\", \"eucalyptus\", \"internet-advertisements\", \"kc1\", \"micro-mass\"]'\n            BENCHMARK='[\"validation\"]'\n            changed_frameworks=$(git diff --name-only HEAD..$GITHUB_BASE_REF | grep -o -i -P 'frameworks/(?!shared).*/' | uniq | sed -e 's/frameworks//' -e 's/\\///g')\n            if [ ! -z \"$changed_frameworks\" ];\n            then\n              json_array=[\n              for framework in $changed_frameworks; do json_array=$json_array\\\"$framework\\\",; done\n              FRAMEWORKS=${json_array::-1}]  #remove trailing comma and add closing bracket\n            else\n              # No changes to common files or frameworks - must be e.g. docs. No need to run tests.\n              skip_evaluation=1\n              FRAMEWORKS=[]\n            fi\n          fi\n\n          echo Building matrix for frameworks: $FRAMEWORKS\n\n          echo \"::set-output name=frameworks::$FRAMEWORKS\"\n          echo \"::set-output name=tasks::$TASKS\"\n          echo \"::set-output name=benchmark::$BENCHMARK\"\n          echo \"::set-output name=skip_baseline::$is_common\"\n          echo \"::set-output name=skip_evaluations::$skip_evaluation\"\n\n  baseline:\n    name: ${{ matrix.framework }}/${{ matrix.task }}\n    runs-on: ubuntu-latest\n    needs: detect_changes\n    if: needs.detect_changes.outputs.skip_baseline == 0\n    strategy:\n      matrix:\n        framework: [constantpredictor, randomforest]\n        task: [iris, kc2, cholesterol]\n      fail-fast:  false\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Create venv\n        run: python -m venv venv\n      - uses: actions/cache@v3\n        id: cache\n        with:\n          path: /home/runner/work/automlbenchmark/automlbenchmark/venv/lib/python3.9/site-packages\n          key: pip-v3-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            pip-v3-\n      - name: Install Requirements\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          source venv/bin/activate\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip show openml\n      - name: Run constantpredictor on openml iris\n        run: |\n          source venv/bin/activate\n          python runbenchmark.py ${{ matrix.framework }} -t ${{ matrix.task }} -f 0 -e\n\n  run_frameworks:\n    name: ${{ matrix.framework }}/${{ matrix.task }}\n    runs-on: ubuntu-latest\n    needs:\n     - baseline\n     - detect_changes\n    if: ${{ success() }} || ${{ cancelled() }}\n\n    strategy:\n      matrix:\n        python-version: [3.9]\n        framework: ${{ fromJson(needs.detect_changes.outputs.frameworks) }}\n        task: ${{ fromJson(needs.detect_changes.outputs.tasks) }}\n        benchmark: ${{ fromJson(needs.detect_changes.outputs.benchmark) }}\n      fail-fast:  true  # not sure about this one, but considering the big workload it might be nicer\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Create venv\n      run: python -m venv venv\n    - uses: actions/cache@v3\n      id: cache\n      with:\n        path: /home/runner/work/automlbenchmark/automlbenchmark/venv/lib/python3.9/site-packages\n        key: pip-v3-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          pip-v3-\n    - name: Install Requirements\n      if: steps.cache.outputs.cache-hit != 'true'\n      run: |\n        source venv/bin/activate\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n    - name: Run ${{ matrix.framework }} on ${{ matrix.task }}\n      run: |\n        source venv/bin/activate\n        python runbenchmark.py ${{ matrix.framework }} ${{ matrix.benchmark }} test -f 0 -t ${{ matrix.task }} -e\n      env:\n        GITHUB_PAT: ${{ secrets.PUBLIC_ACCESS_GITHUB_PAT }}\n", "state": "active", "repository": "openml/automlbenchmark"}
{"mined_at": "2024-07-15T15:54:51.913988", "created_at": "2023-06-02T11:27:35+02:00", "updated_at": "2023-06-09T14:58:34+02:00", "name": "Light-weight Unit Tests", "path": ".github/workflows/run_pytest.yaml", "contents": "name: Light-weight Unit Tests\n\non: pull_request\n\n\njobs:\n  pytest_not_stress:\n    name: pytest\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Create venv\n        run: python -m venv venv\n      - uses: actions/cache@v3\n        id: cache\n        with:\n          path: /home/runner/work/automlbenchmark/automlbenchmark/venv/lib/python3.9/site-packages\n          key: pip-v3-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/requirements-dev.txt') }}\n          restore-keys: |\n            pip-v3-\n      - name: Install Requirements\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          source venv/bin/activate\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n      - name: Run unit tests\n        run: |\n          source venv/bin/activate\n          python -m pytest -vv -m \"not stress and not openml_upload\"\n", "state": "active", "repository": "openml/automlbenchmark"}
{"mined_at": "2024-07-15T15:54:52.955644", "created_at": "2023-03-22T12:05:52+01:00", "updated_at": "2023-03-22T12:05:52+01:00", "name": "Run `runbenchmark.py`", "path": ".github/workflows/runbenchmark.yml", "contents": "name: Run `runbenchmark.py`\n\non:\n  workflow_dispatch:\n    inputs:\n      python_version:\n        default: '3.9'\n      os:\n        default: 'ubuntu-latest'\n      framework:\n        default: 'randomforest'\n      options:\n        default: ''\n\njobs:\n  run_benchmark:\n    runs-on: ${{ inputs.os }}\n    steps:\n      - name: Runs on ${{ inputs.os }}\n        run: echo Preparing to benchmark ${{ inputs.framework }} ${{ inputs.options }}\n      - name: Checkout ${{ github.ref_name }}\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.ref_name }}\n      - name: Install Py${{ inputs.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ inputs.python_version }}\n      - name: Install benchmark dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r requirements.txt\n      - name: Install ${{ inputs.framework }}\n        run: python runbenchmark.py ${{ inputs.framework }} -s only\n        env:\n          GITHUB_PAT: ${{ secrets.PUBLIC_ACCESS_GITHUB_PAT }}\n      - name: Benchmark ${{ inputs.framework }}\n        run: python runbenchmark.py ${{ inputs.framework }} ${{ inputs.options }}\n", "state": "active", "repository": "openml/automlbenchmark"}
{"mined_at": "2024-07-15T15:54:54.043384", "created_at": "2022-07-12T16:33:17+02:00", "updated_at": "2022-07-12T16:33:17+02:00", "name": "Version reset to dev", "path": ".github/workflows/versioning-reset.yml", "contents": "name: Version reset to dev\n# reset the version if merging a release branch into main\n\non:\n  push:\n    branches:\n      - main\n      - master\n    paths:\n      - 'amlb/__version__.py'\n\n  workflow_dispatch:\n\nenv:\n  BRANCH: ${{ github.event.release.target_commitish }}\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ env.BRANCH }}\n          fetch-depth: 2  # we need the previous commit as we amend the last one\n      - name: Reset version to dev\n        run: ./.github/scripts/version-set.sh \"\" push no-add-commit\n", "state": "active", "repository": "openml/automlbenchmark"}
{"mined_at": "2024-07-15T15:54:55.098705", "created_at": "2020-12-07T22:00:28+01:00", "updated_at": "2020-12-08T18:43:56+01:00", "name": "Version Bump", "path": ".github/workflows/versioning.yml", "contents": "name: Version Bump\n\non:\n  release:\n    types:\n      - published\n\n  workflow_dispatch:\n\nenv:\n  BRANCH: ${{ github.event.release.target_commitish }}\n  TAG: ${{ github.event.release.tag_name }}\n\njobs:\n  validation:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Release only from stable-v* branch\n        if: ${{ !startsWith(env.BRANCH, 'stable-v') }}\n        uses: actions/github-script@v6\n        with:\n          script: core.setFailed(\"Releases can only be made from 'stable-v*' branches\")\n  rollback:\n    needs: validation\n    if: ${{ failure() }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Rollback if invalid release\n        uses: author/action-rollback@stable\n        with:\n          tag: ${{ env.TAG }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  versioning:\n    needs: validation\n    if: ${{ success() }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ env.BRANCH }}\n      - name: Bump version from tag\n        run: ./.github/scripts/version-set.sh $TAG push\n      - name: Update tag\n        run: ./.github/scripts/tag-set.sh $TAG push\n      - name: Restore dev version\n        run: ./.github/scripts/version-set.sh \"\" push\n", "state": "active", "repository": "openml/automlbenchmark"}
{"mined_at": "2024-07-15T15:54:56.102121", "created_at": "2022-01-07T18:17:00+01:00", "updated_at": "2022-01-07T18:17:00+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "openml/automlbenchmark"}
{"mined_at": "2024-07-15T15:54:58.250659", "created_at": "2021-02-06T17:14:19+01:00", "updated_at": "2022-01-27T16:26:27+01:00", "name": "Linux", "path": ".github/workflows/CI.yml", "contents": "name: Linux\n\non:\n  push:\n    branches:\n      - '**'\n    paths:\n      - '**'\n    tags:\n      - 'v*.*.*'\n  pull_request:\n    branches:\n      - 'master'\n    paths:\n      - '**'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    env:\n      COVERAGE_PROCESS_START: \"${{ github.workspace }}/.coveragerc\"\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        julia-version: ['1']\n        python-version: ['3.12']\n        os: [ubuntu-latest]\n        test-id: [main]\n        include:\n          - julia-version: '1.6'\n            python-version: '3.8'\n            os: ubuntu-latest\n            test-id: include\n          - julia-version: '1'\n            python-version: '3.12'\n            os: ubuntu-latest\n            test-id: include\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: \"Set up Julia\"\n        uses: julia-actions/setup-julia@v2\n        with:\n          version: ${{ matrix.julia-version }}\n      - name: \"Cache Julia\"\n        uses: julia-actions/cache@v2\n        with:\n          cache-name: ${{ matrix.os }}-test-${{ matrix.julia-version }}-${{ matrix.python-version }}\n          cache-packages: false\n      - name: \"Set up Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: \"Install PySR\"\n        run: |\n            python -m pip install --upgrade pip\n            pip install .\n            python -c 'import pysr'\n      - name: \"Assert Julia version\"\n        if: ${{ matrix.julia-version != '1'}}\n        run: python3 -c \"from pysr import jl; assert jl.VERSION.major == jl.seval('v\\\"${{ matrix.julia-version }}\\\"').major; assert jl.VERSION.minor == jl.seval('v\\\"${{ matrix.julia-version }}\\\"').minor\"\n      - name: \"Install test dependencies\"\n        run: pip install coverage coveralls pytest nbval\n      - name: \"Set up coverage for subprocesses\"\n        run: echo 'import coverage; coverage.process_startup()' > \"${{ github.workspace }}/sitecustomize.py\"\n      - name: \"Run tests\"\n        run: coverage run -m pysr test main,cli,startup\n      - name: \"Install JAX\"\n        run: pip install jax jaxlib # (optional import)\n        if: ${{ matrix.test-id == 'main' }}\n      - name: \"Run JAX tests\"\n        run: coverage run --append -m pysr test jax\n        if: ${{ matrix.test-id == 'main' }}\n      - name: \"Install Torch\"\n        run: pip install torch # (optional import)\n        if: ${{ matrix.test-id == 'main' }}\n      - name: \"Run Torch tests\"\n        run: coverage run --append -m pysr test torch\n        if: ${{ matrix.test-id == 'main' }}\n      - name: \"Coveralls\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: test-${{ matrix.julia-version }}-${{ matrix.python-version }}-${{ matrix.test-id }}\n          COVERALLS_PARALLEL: true\n        run: coveralls --service=github\n\n  dev_install:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: ['ubuntu-latest']\n        python-version: ['3.12']\n        julia-version: ['1']\n        include:\n          - os: ubuntu-latest\n            python-version: '3.8'\n            julia-version: '1.6'\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - name: \"Install PySR\"\n        run: |\n            python -m pip install --upgrade pip\n            pip install .\n      - name: \"Run development test\"\n        run: PYSR_TEST_JULIA_VERSION=${{ matrix.julia-version }} PYSR_TEST_PYTHON_VERSION=${{ matrix.python-version }} python -m pysr test dev\n\n  conda_test:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version: ['3.12']\n        os: ['ubuntu-latest']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: \"Cache conda\"\n        uses: actions/cache@v4\n        env:\n          CACHE_NUMBER: 0\n        with:\n          path: ~/conda_pkgs_dir\n          key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}\n      - name: \"Set up Conda\"\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          auto-activate-base: true\n          python-version: ${{ matrix.python-version }}\n          activate-environment: pysr-test\n          environment-file: environment.yml\n      - name: \"Cache Julia\"\n        uses: julia-actions/cache@v2\n        with:\n          cache-name: ${{ matrix.os }}-conda-${{ matrix.python-version }}\n          cache-packages: false\n      - name: \"Install PySR\"\n        run: |\n            python3 -m pip install .\n            python3 -c 'import pysr'\n      - name: \"Run tests\"\n        run: cd /tmp && python -m pysr test main\n\n  coveralls:\n    name: Indicate completion to coveralls.io\n    needs:\n      - test\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    container: python:3-slim\n    steps:\n      - name: Finished\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n            pip install coveralls\n            coveralls --finish\n\n  types:\n    name: Check types\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version:\n          - '3.12'\n          - '3.8'\n        os: ['ubuntu-latest']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: \"Set up Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: \"Install PySR and all dependencies\"\n        run: |\n            python -m pip install --upgrade pip\n            pip install .\n            pip install mypy\n      - name: \"Install additional dependencies\"\n        run: python -m pip install jax jaxlib torch\n        if: ${{ matrix.python-version != '3.8' }}\n      - name: \"Run mypy\"\n        run: python -m mypy --install-types --non-interactive pysr\n        if: ${{ matrix.python-version != '3.8' }}\n      - name: \"Run compatible mypy\"\n        run: python -m mypy --ignore-missing-imports pysr\n        if: ${{ matrix.python-version == '3.8' }}\n", "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:54:59.435953", "created_at": "2021-05-31T22:21:30+02:00", "updated_at": "2022-01-27T16:26:27+01:00", "name": "Windows", "path": ".github/workflows/CI_Windows.yml", "contents": "name: Windows\n\non:\n  push:\n    branches:\n      - 'master'\n    paths:\n      - '**'\n    tags:\n      - 'v*.*.*'\n  pull_request:\n    branches:\n      - 'master'\n    paths:\n      - '**'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        julia-version: ['1']\n        python-version: ['3.12']\n        os: [windows-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: \"Set up Julia\"\n        uses: julia-actions/setup-julia@v2\n        with:\n          version: ${{ matrix.julia-version }}\n      - name: \"Cache Julia\"\n        uses: julia-actions/cache@v2\n        with:\n          cache-name: ${{ matrix.os }}-test-${{ matrix.julia-version }}-${{ matrix.python-version }}\n          cache-packages: false\n      - name: \"Set up Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: \"Install PySR\"\n        run: |\n            python -m pip install --upgrade pip\n            pip install pytest nbval \"numpy<2.0.0\"\n            pip install .\n            python -c 'import pysr'\n      - name: \"Run tests\"\n        run: |\n            python -m pysr test main,cli,startup\n      - name: \"Install Torch\"\n        run: pip install torch # (optional import)\n      - name: \"Run Torch tests\"\n        run: python -m pysr test torch\n", "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:55:00.664818", "created_at": "2022-02-11T15:47:26+01:00", "updated_at": "2022-02-11T15:48:13+01:00", "name": "conda-forge", "path": ".github/workflows/CI_conda_forge.yml", "contents": "name: conda-forge\n\n# This CI tries the conda-forge version of PySR\n\non:\n  schedule:\n    # Run at the 0th minute of the 10th hour (UTC).\n    # This means the job will run at 5am EST.\n    - cron: \"0 10 * * *\"\n    # This will automatically run on master branch only.\n  workflow_dispatch:\n\njobs:\n  conda_test:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n        os: ['ubuntu-latest']\n        use-mamba: [true, false]\n        include:\n          - python-version: 3.9\n            os: 'windows-latest'\n            use-mamba: true\n          - python-version: 3.12\n            os: 'windows-latest'\n            use-mamba: true\n          - python-version: 3.9\n            os: 'macos-latest'\n            use-mamba: true\n          - python-version: 3.12\n            os: 'macos-latest'\n            use-mamba: true\n\n    steps:\n      - name: \"Set up Conda\"\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          auto-activate-base: true\n          python-version: ${{ matrix.python-version }}\n          activate-environment: pysr-test\n      - name: \"Install pysr with mamba\"\n        run: conda activate pysr-test && mamba install pysr\n        if: ${{ matrix.use-mamba }}\n      - name: \"Install pysr with conda\"\n        run: conda activate pysr-test && conda install pysr\n        if: ${{ !matrix.use-mamba }}\n      - name: \"Run tests\"\n        run: |\n          pip install pytest nbval\n          python -m pysr test main,startup\n", "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:55:01.655033", "created_at": "2022-01-27T16:16:09+01:00", "updated_at": "2022-01-27T16:26:27+01:00", "name": "Docker", "path": ".github/workflows/CI_docker.yml", "contents": "name: Docker\n\non:\n  push:\n    branches:\n      - 'master'\n    paths:\n      - '**'\n    tags:\n      - 'v*.*.*'\n  pull_request:\n    branches:\n      - 'master'\n    paths:\n      - '**'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        arch: ['linux/amd64']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Build docker\n        run: docker build --platform=${{ matrix.arch }} -t pysr .\n      - name: Test docker\n        run: docker run --platform=${{ matrix.arch }} --rm pysr /bin/bash -c 'pip install pytest nbval && python3 -m pysr test main,cli,startup'\n", "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:55:02.672333", "created_at": "2022-01-31T01:50:08+01:00", "updated_at": "2022-01-31T01:50:08+01:00", "name": "Docker_Large_Nightly", "path": ".github/workflows/CI_docker_large_nightly.yml", "contents": "name: Docker_Large_Nightly\n\non:\n  schedule:\n    # Run at the 0th minute of the 10th hour (UTC).\n    # This means the job will run at 5am EST.\n    - cron: \"0 10 * * *\"\n    # This will automatically run on master branch only.\n  workflow_dispatch:\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.arch == 'linux/arm64' }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        julia-version: ['1.6', '1']\n        python-version: ['3.8', '3.12']\n        os: [ubuntu-latest]\n        arch: ['linux/amd64', 'linux/arm64']\n\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n        with:\n          platforms: all\n      - name: Build docker\n        run: docker build --platform=${{ matrix.arch }} -t pysr --build-arg JLVERSION=${{ matrix.julia-version }} --build-arg PYVERSION=${{ matrix.python-version }} .\n      - name: Test docker\n        run: docker run --platform=${{ matrix.arch }} --rm pysr /bin/bash -c 'pip install pytest nbval && python3 -m pysr test main,cli,startup'\n", "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:55:03.685530", "created_at": "2022-01-23T20:55:21+01:00", "updated_at": "2022-01-27T16:26:27+01:00", "name": "large_nightly", "path": ".github/workflows/CI_large_nightly.yml", "contents": "name: large_nightly\n\n# This CI only runs once per day, but tries\n# many different configurations.\n\non:\n  schedule:\n    # Run at the 0th minute of the 10th hour (UTC).\n    # This means the job will run at 5am EST.\n    - cron: \"0 10 * * *\"\n    # This will automatically run on master branch only.\n  workflow_dispatch:\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    # Windows jobs are flaky:\n    continue-on-error: ${{ matrix.os == 'windows-latest' }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        julia-version: ['1.6', '1.8', '1.10']\n        python-version: ['3.8', '3.10', '3.12']\n        os: [ubuntu-latest, macos-latest, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: \"Set up Julia\"\n        uses: julia-actions/setup-julia@v2\n        with:\n          version: ${{ matrix.julia-version }}\n      - name: \"Set up Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: \"Install PySR\"\n        run: |\n            python -m pip install --upgrade pip\n            pip install pytest nbval\n            pip install .\n            python -c 'import pysr'\n      - name: \"Assert Julia version\"\n        if: ${{ matrix.julia-version != '1'}}\n        run: python3 -c \"from pysr import jl; assert jl.VERSION.major == jl.seval('v\\\"${{ matrix.julia-version }}\\\"').major; assert jl.VERSION.minor == jl.seval('v\\\"${{ matrix.julia-version }}\\\"').minor\"\n      - name: \"Run tests\"\n        run: python -m pysr test main,cli,startup\n", "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:55:04.760411", "created_at": "2021-05-31T22:37:13+02:00", "updated_at": "2022-01-27T16:26:27+01:00", "name": "macOS", "path": ".github/workflows/CI_mac.yml", "contents": "name: macOS\n\non:\n  push:\n    branches:\n      - 'master'\n    paths:\n      - '**'\n    tags:\n      - 'v*.*.*'\n  pull_request:\n    branches:\n      - 'master'\n    paths:\n      - '**'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        julia-version: ['1']\n        python-version: ['3.12']\n        os: [macos-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: \"Set up Julia\"\n        uses: julia-actions/setup-julia@v2\n        with:\n          version: ${{ matrix.julia-version }}\n      - name: \"Cache Julia\"\n        uses: julia-actions/cache@v2\n        with:\n          cache-name: ${{ matrix.os }}-test-${{ matrix.julia-version }}-${{ matrix.python-version }}\n          cache-packages: false\n      - name: \"Set up Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: \"Install PySR\"\n        run: |\n            python -m pip install --upgrade pip\n            pip install pytest nbval\n            pip install .\n            python -c 'import pysr'\n      - name: \"Run tests\"\n        run: |\n            python -m pysr test main,cli,startup\n      - name: \"Install JAX\"\n        run: pip install jax jaxlib # (optional import)\n      - name: \"Run JAX tests\"\n        run: python -m pysr test jax\n      - name: \"Install Torch\"\n        run: pip install torch # (optional import)\n      - name: \"Run Torch tests\"\n        run: python -m pysr test torch\n", "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:55:05.873992", "created_at": "2022-06-23T06:08:38+02:00", "updated_at": "2022-06-23T06:08:38+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '28 17 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:55:06.871013", "created_at": "2022-11-15T21:07:38+01:00", "updated_at": "2022-11-17T11:05:21+01:00", "name": "Deploy Docker", "path": ".github/workflows/docker_deploy.yml", "contents": "name: Deploy Docker\n\non:\n  schedule:\n    - cron: \"0 10 * * *\"\n  push:\n    branches:\n      - \"**\"\n    tags:\n      - \"v*.*.*\"\n  workflow_dispatch:\n\n\njobs:\n  docker:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        arch: [linux/amd64]\n        python-version: [3.12.3]\n        julia-version: [1.10.3]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        if: github.event_name != 'pull_request'\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Login to GitHub registry\n        uses: docker/login-action@v3\n        if: github.event_name != 'pull_request'\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          #  List of Docker images to use as base name for tags\n          images: |\n            mcranmer/pysr\n            ghcr.io/${{ github.repository }}\n          # generate Docker tags based on the following events/attributes\n          tags: |\n            type=schedule\n            type=ref,event=branch\n            type=ref,event=pr\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{major}}\n            type=sha\n            type=raw,value=latest,enable={{is_default_branch}}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Build and push\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          platforms: ${{ matrix.arch }}\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=registry,ref=mcranmer/pysr:buildcache\n          cache-to: type=registry,ref=mcranmer/pysr:buildcache,mode=max\n          build-args: |\n            PYVERSION=${{ matrix.python-version }}\n            JLVERSION=${{ matrix.julia-version }}\n", "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:55:07.917762", "created_at": "2022-02-01T23:53:42+01:00", "updated_at": "2022-02-01T23:53:42+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - 'master'\n    paths:\n      - 'pysr/**'\n      - '.github/workflows/docs.yml'\n      - 'docs/**'\n      - 'setup.py'\n      - 'README.md'\n      - 'mkdocs.yml'\n  workflow_dispatch:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: \"Set up Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n          cache: pip\n      - name: \"Install packages for docs building\"\n        run: pip install -r docs/requirements.txt\n      - name: \"Install PySR\"\n        run: pip install . && python -c 'import pysr'\n      - name: \"Build API docs\"\n        run: cd docs && ./gen_docs.sh\n      - name: \"Deploy documentation\"\n        run: mkdocs gh-deploy --force\n", "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:55:08.961058", "created_at": "2022-11-21T04:13:13+01:00", "updated_at": "2022-11-21T05:03:31+01:00", "name": "Deploy PyPI", "path": ".github/workflows/pypi_deploy.yml", "contents": "name: Deploy PyPI\non:\n  push:\n    tags:\n      - 'v*.*.*'\n  workflow_dispatch:\n\njobs:\n  pypi:\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/pysr\n    permissions:\n      id-token: write\n    steps:\n      - name: \"Checkout\"\n        uses: actions/checkout@v4\n      - name: \"Set up Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.10.8\n      - name: \"Install building tools\"\n        run: pip install build\n      - name: \"Build package\"\n        run: python -m build\n      - name: \"Publish distribution 📦 to Test PyPI\"\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n          verbose: true\n      - name: \"Publish distribution 📦 to PyPI\"\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          verbose: true\n", "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:55:09.970147", "created_at": "2023-04-26T21:07:26+02:00", "updated_at": "2023-04-26T21:07:26+02:00", "name": "PySR backend update", "path": ".github/workflows/update_backend.yml", "contents": "name: PySR backend update\non:\n  schedule:\n    - cron: '00 00 * * *'\n  workflow_dispatch:\njobs:\n  update_compat:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          cache: pip\n\n      - name: \"Install dependencies\"\n        run: |\n          python -m pip install --upgrade pip\n          pip install tomlkit\n\n      - name: \"Get SymbolicRegression.jl latest version\"\n        id: get-latest\n        run: |\n          cd $(mktemp -d)\n          git clone https://github.com/MilesCranmer/SymbolicRegression.jl\n          cd SymbolicRegression.jl\n          echo \"version=$(git describe --tags --match='v*' --abbrev=0 | sed 's/^v//')\" >> $GITHUB_OUTPUT\n\n      - name: \"Update SymbolicRegression.jl version in PySR\"\n        run: |\n          python .github/workflows/update_backend_version.py ${{ steps.get-latest.outputs.version }}\n\n      - name: \"Restore changes if no diff to `pysr/juliapkg.json`\"\n        run: |\n          if git diff --quiet pysr/juliapkg.json; then\n            echo \"No changes to pysr/juliapkg.json. Restoring changes.\"\n            git restore pyproject.toml\n          fi\n\n      - name: \"Create PR if necessary\"\n        uses: peter-evans/create-pull-request@v6\n        with:\n          title: \"Automated update to backend: v${{ steps.get-latest.outputs.version }}\"\n          body: |\n            This PR was automatically generated by the GitHub Action `.github/workflows/update-backend.yml`\n\n            It updates the backend version to v${{ steps.get-latest.outputs.version }}. For a full description of the changes, see the backend changelog: [v${{ steps.get-latest.outputs.version }}](https://github.com/MilesCranmer/SymbolicRegression.jl/releases/tag/v${{ steps.get-latest.outputs.version }}).\n          delete-branch: true\n          commit-message: \"Update backend version to v${{ steps.get-latest.outputs.version }}\"\n          add-paths: |\n            pyproject.toml\n            pysr/juliapkg.json\n", "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:55:11.001364", "created_at": "2022-02-02T00:17:47+01:00", "updated_at": "2022-02-02T00:17:47+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "milescranmer/pysr"}
{"mined_at": "2024-07-15T15:55:13.260215", "created_at": "2021-07-24T15:20:45+02:00", "updated_at": "2021-07-24T15:20:45+02:00", "name": "Build from repos", "path": ".github/workflows/build-from-repos.yml", "contents": "name: Build from repos\n\non: \n    schedule:\n        - cron: '0 4 * * *' # 04:00 each day\n\njobs:\n    build:\n        name: Build\n        runs-on: ubuntu-20.04\n        if: github.repository_owner == 'managarm' && github.ref == 'refs/heads/master'\n        steps:\n            - name: Checkout repository\n              uses: actions/checkout@v2\n              with:\n                path: src\n            - name: Install prerequisites\n              run: |\n                  pip3 install xbstrap\n                  xbstrap prereqs cbuildrt xbps\n            - name: Download and unpack rootfs\n              run: |\n                  curl https://repos.managarm.org/buildenv/managarm-buildenv.tar.gz -o managarm-rootfs.tar.gz\n                  tar xvf managarm-rootfs.tar.gz\n            - name: Prepare build directory\n              run: |\n                  mkdir build\n                  cd build\n                  cat << EOF > bootstrap-site.yml\n                  define_options:\n                    mount-using: 'loopback'\n                  pkg_management:\n                    format: xbps\n                  container:\n                    runtime: cbuildrt\n                    rootfs:  $GITHUB_WORKSPACE/rootfs\n                    uid: 1000\n                    gid: 1000\n                    src_mount: /var/lib/managarm-buildenv/src\n                    build_mount: /var/lib/managarm-buildenv/build\n                    allow_containerless: true\n                  EOF\n                  xbstrap init ../src\n            - name: Pull packages\n              run: |\n                  xbstrap pull-pack --deps-of weston-desktop mlibc mlibc-headers\n                  xbstrap install --deps-of weston-desktop\n              working-directory: ./build\n            - name: Download tool archives\n              run: |\n                  xbstrap download-tool-archive --build-deps-of managarm-system --build-deps-of managarm-kernel --build-deps-of mlibc\n              working-directory: ./build\n            - name: Build mlibc from source\n              run: |\n                  xbstrap install --rebuild mlibc mlibc-headers\n              working-directory: ./build\n            - name: Build managarm-kernel from source\n              run: |\n                  xbstrap install --rebuild managarm-kernel\n              working-directory: ./build\n            - name: Build managarm-system from source\n              run: |\n                  xbstrap install --rebuild managarm-system\n              working-directory: ./build\n            - name: Create image\n              run: |\n                  xbstrap run initialize-empty-image make-image\n              working-directory: ./build\n", "state": "active", "repository": "managarm/bootstrap-managarm"}
{"mined_at": "2024-07-15T15:55:14.488545", "created_at": "2021-05-29T17:20:30+02:00", "updated_at": "2021-05-29T17:20:30+02:00", "name": "Container", "path": ".github/workflows/container.yml", "contents": "name: Container\n\non: [push, pull_request, workflow_dispatch]\n\njobs:\n    build-rootfs:\n        name: Build cbuildrt rootfs\n        runs-on: ubuntu-24.04\n        container: fedora:40\n        steps:\n          - name: Install prerequisites\n            run: |\n                dnf -y install dnf-plugins-core wget docker skopeo rsync openssl stunnel\n                dnf -y copr enable ganto/umoci\n                dnf -y install umoci\n          - name: Install rsync-ssl\n            run: |\n                wget https://raw.githubusercontent.com/WayneD/rsync/c3f7414c450faaf6a8281cc4a4403529aeb7d859/rsync-ssl\n                sudo install -D rsync-ssl /usr/local/bin/rsync-ssl\n          - name: Checkout\n            uses: actions/checkout@v2\n          - name: Build container\n            run: |\n                docker build -t managarm-buildenv docker/\n          - name: Build OCI runtime bundle\n            run: |\n                set -x\n\n                skopeo copy docker-daemon:managarm-buildenv:latest oci:buildenv-image:latest\n                umoci unpack --rootless --image buildenv-image:latest buildenv-bundle/\n                rm -rf buildenv-image/\n          - name: Finalize cbuildrt rootfs\n            run: |\n                set -x\n\n                # Perform some post-processing.\n                mkdir buildenv-bundle/rootfs/dev/pts\n                mkdir buildenv-bundle/rootfs/dev/shm\n                ln -s /proc/self/fd/0 buildenv-bundle/rootfs/dev/stdin\n                ln -s /proc/self/fd/1 buildenv-bundle/rootfs/dev/stdout\n                ln -s /proc/self/fd/2 buildenv-bundle/rootfs/dev/stderr\n                ln -s /proc/self/fd buildenv-bundle/rootfs/dev/fd\n                touch buildenv-bundle/rootfs/dev/{full,null,zero}\n                touch buildenv-bundle/rootfs/dev/tty\n                touch buildenv-bundle/rootfs/dev/{random,urandom}\n\n                # Make directories for bind mounts.\n                mkdir -p buildenv-bundle/rootfs/var/lib/managarm-buildenv/{src,build}\n\n                # Pack the resulting rootfs.\n                tar -czf managarm-buildenv.tar.gz -C buildenv-bundle/ rootfs\n          - name: Upload rootfs to mirrors.managarm.org\n            if: github.repository_owner == 'managarm' && github.ref == 'refs/heads/master'\n            env:\n                RSYNC_PASSWORD: ${{ secrets.RSYNC_CBUILDRT_ROOTFS_PASSWD }}\n            run: |\n                sha256sum managarm-buildenv.tar.gz > managarm-buildenv.sum\n                rsync-ssl -a --delete managarm-buildenv.{sum,tar.gz} buildenv@rsync.managarm.org::wbuildenv/\n", "state": "active", "repository": "managarm/bootstrap-managarm"}
{"mined_at": "2024-07-15T15:55:15.514502", "created_at": "2023-10-24T00:20:22+02:00", "updated_at": "2023-10-24T00:30:44+02:00", "name": "Check if PR has fixups", "path": ".github/workflows/fixups.yml", "contents": "name: Check if PR has fixups\n\non:\n  pull_request:\n\njobs:\n  find-fixups:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - run: |\n          set -e -o pipefail\n\n          git rev-list 'HEAD^..HEAD' \\\n            | while read -r COMMIT; do\n            printf 'pondering commit %s\\n' \"$COMMIT\"\n            git show -s \"$COMMIT\"\n            if git show -s --format='%s' \"$COMMIT\" | grep -q '^fixup! '; then\n              exit 1\n            fi\n          done\n          printf 'ready to merge!\\n'\n", "state": "active", "repository": "managarm/bootstrap-managarm"}
{"mined_at": "2024-07-15T15:55:16.583498", "created_at": "2020-08-30T12:32:13+02:00", "updated_at": "2020-08-30T12:32:13+02:00", "name": "Sanity Checks", "path": ".github/workflows/sanity-check.yml", "contents": "name: Sanity Checks\n\non: [push, pull_request]\n\njobs:\n    compute-graph:\n        name: Compute graph\n        runs-on: ubuntu-20.04\n        steps:\n          - name: Install prerequisites\n            # Note: the default jsonschema is too old.\n            #       xbstrap should fix this by demanding a recent version.\n            run: |\n                sudo apt-get install jq\n                sudo pip3 install setuptools\n                sudo pip3 install -U jsonschema\n                sudo pip3 install xbstrap\n          - name: Prepare directories\n            run: |\n                mkdir src/\n                mkdir build/\n          - name: Checkout\n            uses: actions/checkout@v2\n            with:\n              path: src/\n          - name: Compute xbstrap-pipeline graph\n            run: |\n                set -x\n                cp ../src/ci/pipeline.yml .\n                echo '{\"pkg_management\": {\"format\": \"xbps\"}}' > bootstrap-site.yml\n                xbstrap init ../src\n                xbstrap rolling-versions fetch\n                xbstrap rolling-versions determine --json | jq '{\"commits\":map_values({\"rolling_id\":.})}' > new-bootstrap-commits.yml\n                # Ensure that the previs xbstrap command does not see bootstrap-commits.yml\n                # until the file is fully written.\n                mv new-bootstrap-commits.yml ../src/bootstrap-commits.yml\n                xbstrap-pipeline compute-graph --artifact\n            working-directory: build/\n", "state": "active", "repository": "managarm/bootstrap-managarm"}
{"mined_at": "2024-07-15T15:55:18.663346", "created_at": "2024-03-28T00:42:22+01:00", "updated_at": "2024-03-28T00:42:22+01:00", "name": "publish-docs", "path": ".github/workflows/publish-site.yml", "contents": "name: publish-docs \n\non:\n  push:\n    # Publish `main` as latest, and when pushes are done to branches with \"v-doc\" prefix\n    branches:\n      - main\n\npermissions:\n  contents: write\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # fetch all commits/branches\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - uses: actions/cache@v4\n        with:\n          key: ${{ github.ref }}\n          path: .cache\n      - name: Install Python dependencies\n        run: pip install -r ./mkdocs-requirements.txt\n      - name: Configure git user\n        run: |\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n\n      - name: Deploy docs\n        run: |\n          python --version\n          # Generate the content into the docs folder\n          code/genSite.sh\n          mike deploy --push --update-aliases main latest\n          mike set-default latest\n", "state": "active", "repository": "hyperledger/aries-rfcs"}
{"mined_at": "2024-07-15T15:55:19.712106", "created_at": "2024-03-28T00:50:42+01:00", "updated_at": "2024-03-28T00:50:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "hyperledger/aries-rfcs"}
{"mined_at": "2024-07-15T15:55:22.315591", "created_at": "2024-04-22T19:43:54+02:00", "updated_at": "2024-04-22T19:43:54+02:00", "name": "Update Copyright Year", "path": ".github/workflows/copyright.yml", "contents": null, "state": "active", "repository": "meisnate12/plex-meta-manager"}
{"mined_at": "2024-07-15T15:55:23.665954", "created_at": "2024-05-29T22:45:45+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Docker Version Build", "path": ".github/workflows/docker-version.yml", "contents": null, "state": "active", "repository": "meisnate12/plex-meta-manager"}
{"mined_at": "2024-07-15T15:55:24.959231", "created_at": "2024-05-29T22:56:59+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Docker Nightly Build", "path": ".github/workflows/docker-nightly.yml", "contents": null, "state": "active", "repository": "meisnate12/plex-meta-manager"}
{"mined_at": "2024-07-15T15:55:26.353133", "created_at": "2024-05-31T14:59:08+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Validate Pull Request", "path": ".github/workflows/validate-pull.yml", "contents": null, "state": "active", "repository": "meisnate12/plex-meta-manager"}
{"mined_at": "2024-07-15T15:55:27.643051", "created_at": "2024-05-31T15:59:17+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Increment Build", "path": ".github/workflows/increment-build.yml", "contents": null, "state": "active", "repository": "meisnate12/plex-meta-manager"}
{"mined_at": "2024-07-15T15:55:28.875348", "created_at": "2024-05-31T21:53:55+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Docker Develop Build", "path": ".github/workflows/docker-develop.yml", "contents": null, "state": "active", "repository": "meisnate12/plex-meta-manager"}
{"mined_at": "2024-07-15T15:55:30.173923", "created_at": "2024-05-31T21:54:03+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Docker Latest Build", "path": ".github/workflows/docker-latest.yml", "contents": null, "state": "active", "repository": "meisnate12/plex-meta-manager"}
{"mined_at": "2024-07-15T15:55:31.459404", "created_at": "2024-05-31T21:54:03+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Develop Release", "path": ".github/workflows/release-develop.yml", "contents": null, "state": "active", "repository": "meisnate12/plex-meta-manager"}
{"mined_at": "2024-07-15T15:55:32.804093", "created_at": "2024-05-31T21:54:03+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Master Release", "path": ".github/workflows/release-master.yml", "contents": null, "state": "active", "repository": "meisnate12/plex-meta-manager"}
{"mined_at": "2024-07-15T15:55:34.136302", "created_at": "2024-05-31T21:54:03+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Release Notification", "path": ".github/workflows/release-notification.yml", "contents": null, "state": "active", "repository": "meisnate12/plex-meta-manager"}
{"mined_at": "2024-07-15T15:55:35.417184", "created_at": "2024-05-31T21:54:03+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Tag New Version", "path": ".github/workflows/tag-new-version.yml", "contents": null, "state": "active", "repository": "meisnate12/plex-meta-manager"}
{"mined_at": "2024-07-15T15:55:37.836268", "created_at": "2020-12-28T15:36:48+01:00", "updated_at": "2020-12-28T15:36:48+01:00", "name": "release apps", "path": ".github/workflows/release-apps.yaml", "contents": "name: \"release apps\"\n\non:\n  # TODO change to pull request \n  push:\n    branches:\n    - main\n    paths:\n    - 'edge/publish-apps.json'   \n\njobs:\n  set-tag:\n    runs-on: ubuntu-latest \n    outputs:\n      tag_value: ${{ steps.read_tag.outputs.tag_value }}    \n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2  \n    - name: read input tag\n      id: read_tag\n      run: |\n        echo \"tag_value=`./scripts/read-input-tag.sh`\" >> \"$GITHUB_OUTPUT\"\n    - name: check tag existing \n      uses: mukunku/tag-exists-action@v1.0.0\n      id: checkTag\n      with: \n        tag: ${{steps.read_tag.outputs.tag_value}}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    - name: create tag\n      if: ${{ steps.checkTag.outputs.exists != 'true' }}\n      run: ./scripts/create-tag.sh\n\n  publish-apps:\n    needs: set-tag\n    runs-on: ubuntu-latest \n    steps:\n    - name: checkout specific tag version\n      uses: actions/checkout@v2\n      with:\n        ref: ${{needs.set-tag.outputs.tag_value}} \n    - name: install jq\n      run: sudo apt-get install jq       \n    - name: Install Node\n      uses: actions/setup-node@v1\n      with: \n        node-version: '16'  \n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'        \n    - name: Configure AWS credentials\n      uses: aws-actions/configure-aws-credentials@v1\n      with:\n        aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_SAR }}\n        aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_SAR }}\n        aws-region: us-east-1\n    - name: SAM Package \n      run: ./scripts/sam-package.sh\n    - name: SAM Publish \n      run: ./scripts/sam-publish.sh\n\n", "state": "active", "repository": "awslabs/aws-cloudfront-extensions"}
{"mined_at": "2024-07-15T15:55:39.167422", "created_at": "2020-12-28T15:36:48+01:00", "updated_at": "2020-12-28T15:36:48+01:00", "name": "website", "path": ".github/workflows/website.yml", "contents": "name: website\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - docs/**/*\n      - docs-ig/**/*\n      - website/**/*\n\njobs:\n  deploy:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout repository and submodules\n        uses: actions/checkout@v2\n        with:\n          submodules: recursive\n      \n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n\n      - name: Install dependencies\n        run: |\n          python3 -m pip install mkdocs            # install mkdocs \n          python3 -m pip install mkdocs-material   # install material theme\n\n      - name: Build mkdocs\n        run: |\n          mkdocs build -f ./docs-ig/mkdocs.en.yml\n          mkdocs build -f ./docs-ig/mkdocs.zh.yml\n          cp -av ./docs-ig/index.html ./docs-ig/site\n\n      - name: Deploy IG\n        uses: peaceiris/actions-gh-pages@v3.7.3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs-ig/site\n\n      - name: Setup Hugo\n        uses: peaceiris/actions-hugo@v2\n        with:\n          hugo-version: '0.79.1'\n          extended: true\n\n      - name: Build Hugo\n        run: |\n          cd website\n          hugo --minify\n\n      - name: Deploy workshop\n        uses: peaceiris/actions-gh-pages@v3.7.3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./website/public\n          destination_dir: workshop\n", "state": "active", "repository": "awslabs/aws-cloudfront-extensions"}
{"mined_at": "2024-07-15T15:55:40.229123", "created_at": "2021-01-08T04:13:01+01:00", "updated_at": "2021-01-08T04:13:01+01:00", "name": "Update Dependabot config", "path": ".github/workflows/update-dependabot-config.yaml", "contents": "name: \"Update Dependabot config\"\non:\n  push:\n    branches:\n    - main\n    paths:\n    - 'edge/**'\n\njobs:\n  update-dependabot-config:\n    name: update-dependabot-config\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n    - name: install python      \n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x' \n    - name: update-dependabot-config\n      run: ./scripts/update-dependabot-config.sh\n    - name: Create Pull Request\n      id: cpr\n      uses: peter-evans/create-pull-request@v3\n      with:\n        delete-branch: true\n        title: 'Update dependabot config'\n", "state": "active", "repository": "awslabs/aws-cloudfront-extensions"}
{"mined_at": "2024-07-15T15:55:41.406185", "created_at": "2021-12-17T10:14:20+01:00", "updated_at": "2021-12-17T10:14:20+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "awslabs/aws-cloudfront-extensions"}
{"mined_at": "2024-07-15T15:55:42.648743", "created_at": "2023-03-08T04:12:25+01:00", "updated_at": "2023-03-10T02:43:35+01:00", "name": "pull request check", "path": ".github/workflows/pull-request-check.yaml", "contents": "name: \"pull request check\"\n\non:\n  pull_request:\n    types: [opened, reopened, edited, synchronize]\npermissions:\n  contents: write\n  id-token: write # required to use OIDC authentication\n\njobs:\n  git-secrets:\n    runs-on: ubuntu-18.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: recursive\n      - name: Checkout awslabs/git-secrets\n        uses: actions/checkout@v2\n        with:\n          repository: awslabs/git-secrets\n          ref: master\n          path: git-secrets\n      - name: Install git-secrets\n        run: cd git-secrets && sudo make install && cd ..\n      - name: Run git-secrets\n        run: |\n          git-secrets --register-aws\n          git-secrets --scan\n\n  opensource-license-review:\n    needs: git-secrets\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v3\n      - name: Dependency Review\n        uses: actions/dependency-review-action@v3\n        with:\n          fail-on-severity: moderate\n          # Use comma-separated names to pass list arguments: LGPL-2.0,\n          deny-licenses: BSD-2-Clause\n\n  build:\n    needs: opensource-license-review\n    runs-on: ubuntu-latest\n    env:\n      CI: \"false\"\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Use Node.js 18.x\n        uses: actions/setup-node@v3\n        with:\n          node-version: '18.x'\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Pre Build\n        run: |\n          npm install -g aws-cdk\n          cdk --version\n      - name: build\n        run: |\n          cd ${{ github.workspace }}/portal\n          npm install --legacy-peer-deps \n          npm run build\n          cd ${{ github.workspace }}/templates/console/deployment\n          ./pre-build.sh\n          cd ${{ github.workspace }}/templates/console/source\n          npm install --legacy-peer-deps\n          cdk synth\n          ls -LR ${{ github.workspace }}/templates/console/deployment/\n      - name: archive production artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: build-artifacts\n          path: |\n              .git/**/*\n              deployment/**/*\n              docs/**/*\n              templates/console/deployment/**/*              \n              deploy_vtag.yml\n              CHANGELOG.md\n              .cfnnagignore\n              .cfnnag_global_suppress_list\n              .cfnnag_*\n\n  cfn-nag-scan:\n    needs: build\n    runs-on: ubuntu-latest\n    env:\n      CI: \"false\"\n    steps:\n      - name: Download all workflow run artifacts\n        uses: actions/download-artifact@v3\n      - name: Setup Ruby 2.6\n        uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6\n        with:\n          ruby-version: 2.6\n      - name: cfn_nag\n        run: |\n          # install Ruby\n          # sudo apt-get install ruby-full\n          # ls -R\n          gem install cfn-nag\n          cfn_nag -v\n          echo \"CloudFormation template scanning utility installation complete `date`\"\n          echo \"Starting CloudFormation template scanning `date` in `pwd`\"\n          cd build-artifacts/\n          export CFN_NAG_OPTS=\"--template-pattern ..*.template.json --print-suppression --fail-on-warnings\"\n          if [ -f \".cfnnag_global_suppress_list\" ]; then export CFN_NAG_OPTS=\"$CFN_NAG_OPTS -b .cfnnag_global_suppress_list\"; fi\n          set -x; cfn_nag_scan $CFN_NAG_OPTS --input-path templates/console/deployment/global-s3-assets/\n          # cfn_nag_scan --input-path .\n          # echo \"Completed CloudFormation template scanning `date`\"\n\n\n  semgrep-scan:\n    needs: opensource-license-review\n    runs-on: ubuntu-latest\n    container:\n      # A Docker image with Semgrep installed. Do not change this.\n      image: returntocorp/semgrep\n    # Skip any PR created by dependabot to avoid permission issues:\n    if: (github.actor != 'dependabot[bot]')\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    steps:\n      # Fetch project source with GitHub Actions Checkout.\n      - uses: actions/checkout@v3\n      # Run the \"semgrep ci\" command on the command line of the docker image.\n      - run: semgrep ci --config auto --sarif --output=semgrep.sarif\n      - name: Upload SARIF file for GitHub Advanced Security Dashboard\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: semgrep.sarif\n        if: always()\n\n  viperlight:\n    runs-on: ubuntu-latest\n    needs: opensource-license-review\n    env:\n      CI: \"false\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Viperlight Scan\n        run: |\n          wget -q https://viperlight-scanner.s3.amazonaws.com/latest/.viperlightrc\n          wget -q https://viperlight-scanner.s3.amazonaws.com/latest/viperlight.zip\n          unzip -q viperlight.zip -d viperlight\n          rm -r ./viperlight.zip\n          cd viperlight  \n          ./install.sh\n          viperlight --version\n          echo \"Content scanning utility installation complete `date`\"\n          echo \"Starting content scanning `date` in `pwd`\"\n          cd ${{ github.workspace }}/templates/console/source\n          viperlight scan -m files-contents -m files-aws -m files-binary -m files-entropy -m files-secrets\n          echo \"Completed content scanning `date`\"\n\n  cdk-unit-test:\n    runs-on: ubuntu-latest\n    needs: opensource-license-review\n    env:\n      CI: \"false\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Use Node.js 18.x\n        uses: actions/setup-node@v3\n        with:\n          node-version: '18.x'\n      - name: Run Typescript Unit Test\n        run: |\n          cd ${{ github.workspace }}/templates/console/source\n          npm install --legacy-peer-deps\n          npm run test\n      - name: Sed lcov report\n        if: always()\n        run: |\n          cd ${{ github.workspace }}/templates/console/source/coverage\n          sed -i 's/source\\/lib\\//\\/github\\/workspace\\/templates\\/console\\/source\\/lib\\//g' lcov.info\n          sed -i 's/source\\/test\\//\\/github\\/workspace\\/templates\\/console\\/source\\/test\\//g' lcov.info\n      - name: archive coverage report\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: cdk-coverage-report\n          path: |\n            templates/console/source/coverage/lcov.info\n\n  ssl-lambda-unit-test:\n    runs-on: ubuntu-latest\n    needs: opensource-license-review\n    env:\n      CI: \"false\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Run Saas Lambda Python Test\n        env:\n          AWS_DEFAULT_REGION: us-east-1\n        run: |\n          cd ${{ github.workspace }}/templates/console/source/lambda/ssl_for_saas/\n          # pip install pytest\n          pip install poetry          \n          poetry install          \n          export PYTHONPATH=../ssl_for_saas\n          echo \"PYTHONPATH=../ssl_for_saas\" >> $GITHUB_ENV\n          poetry run pytest --cov --cov-config=.coveragerc -cov-report=term-missing --cov-report=\"xml:./ssl-for-saas.coverage.xml\" test\n\n  config-deployer-unit-test:\n    runs-on: ubuntu-latest\n    needs: opensource-license-review\n    env:\n      CI: \"false\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Run Config and Deployer Lambda Python Test\n        env:\n          AWS_DEFAULT_REGION: us-east-1\n        run: |\n          cd ${{ github.workspace }}/templates/console/deployment\n          ./run-lambda-ut.sh\n      - name: Sed coverage report files\n        if: always()\n        run: |\n          cd ${{ github.workspace }}/templates/console/source/all-coverages\n\n  monitoring-unit-test:\n    runs-on: ubuntu-latest\n    needs: opensource-license-review\n    env:\n      CI: \"false\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Run Monitoring Lambda Python Test\n        env:\n          AWS_DEFAULT_REGION: us-east-1\n        run: |\n          cd ${{ github.workspace }}/templates/console/deployment\n          ./run-unit-tests.sh\n      - name: Sed coverage report files\n        if: always()\n        run: |\n          cd ${{ github.workspace }}/templates/console/deployment/monitoring-coverages\n", "state": "active", "repository": "awslabs/aws-cloudfront-extensions"}
{"mined_at": "2024-07-15T15:55:43.885501", "created_at": "2023-03-10T02:43:35+01:00", "updated_at": "2023-03-10T02:43:35+01:00", "name": "pull request merge/push check", "path": ".github/workflows/pr-push-ci.yaml", "contents": "name: \"pull request merge/push check\"\n\non:\n  push:\n    branches:\n      - 'main'\npermissions:\n  contents: write\n  id-token: write # required to use OIDC authentication\n\njobs:\n  git-secrets:\n    runs-on: ubuntu-18.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: recursive\n      - name: Checkout awslabs/git-secrets\n        uses: actions/checkout@v2\n        with:\n          repository: awslabs/git-secrets\n          ref: master\n          path: git-secrets\n      - name: Install git-secrets\n        run: cd git-secrets && sudo make install && cd ..\n      - name: Run git-secrets\n        run: |\n          git-secrets --register-aws\n          git-secrets --scan\n\n  build:\n    needs: git-secrets\n    runs-on: ubuntu-latest\n    env:\n      CI: \"false\"\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Use Node.js 18.x\n        uses: actions/setup-node@v3\n        with:\n          node-version: '18.x'\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Pre Build\n        run: |\n          npm install -g aws-cdk\n          cdk --version\n          BSS_IMAGE_ASSET_REPOSITORY_NAME=$(echo \"${{ vars.SOLUTION_NAME }}\" | tr '[:upper:]' '[:lower:]' | tr ' ' '-')\n          echo \"BSS_IMAGE_ASSET_REPOSITORY_NAME=${BSS_IMAGE_ASSET_REPOSITORY_NAME}\" >> $GITHUB_ENV\n          BUILD_VERSION=v2.0.0_${{ github.run_number }}\n          echo \"BUILD_VERSION=${BUILD_VERSION}\" >> $GITHUB_ENV\n          if [ $(git tag -l \"$BUILD_VERSION\") ]; then\n            git tag -d ${BUILD_VERSION}\n          fi\n          echo \"CN_ASSETS=cn/\" >> $GITHUB_ENV\n          echo \"GLOBAL_ASSETS=custom-domain/\" >> $GITHUB_ENV\n      - name: build\n        run: |\n          chmod +x ./templates/console/deployment/build-s3-dist.sh\n          ${{ github.workspace }}/templates/console/deployment/build-s3-dist.sh ${{ secrets.DIST_OUTPUT_BUCKET }} ${{ vars.SOLUTION_NAME }} $BUILD_VERSION ${{ secrets.ECR }} ${{ secrets.ECR_CN }} ${{ vars.AWS_ASSET_ACCOUNT_ID }} ${{ vars.REGIONS }} ${{ secrets.AWS_ASSET_PUBLISH_ROLE }}\n          mkdir -p ${{ github.workspace }}/templates/console/deployment/open-source/ && touch ./templates/console/deployment/open-source/.empty\n          # cd edges/cdk/deployment\n          # ./build-s3-dist.sh ${{ secrets.DIST_OUTPUT_BUCKET }} ${{ vars.SOLUTION_NAME }} $BUILD_VERSION\n          # cp -r ${{ github.workspace }}/edges/cdk/deployment/global-s3-assets/* $${{ github.workspace }}/templates/console/deployment/global-s3-assets/custom-domain/\n          ls -LR ${{ github.workspace }}/templates/console/deployment/\n\n      - name: post_build\n        run: |\n          # aws s3 cp s3://solutions-build-assets/changelog-spec.yml buildspec_2.yml || true\n          set -euxo pipefail\n          __dir=\"${{ github.workspace }}/templates/console/deployment\"\n          function join_by { local IFS=\"$1\"; shift; echo \"$*\"; }\n          export ECR_REPOS=$(join_by , `cat \"${__dir}/ecr-repos\"`)\n          echo \"ECR_REPOS=${ECR_REPOS}\" >> $GITHUB_ENV\n          export CN_ECR_REPOS=$(join_by , `cat \"${__dir}/cn-ecr-repos\"`)\n          echo \"CN_ECR_REPOS=${CN_ECR_REPOS}\" >> $GITHUB_ENV\n          git config --global user.email \"cloudfront-extns-helper@example.com\"\n          git config --global user.name \"cloudfront-extns-helper\"\n          git tag -a $BUILD_VERSION -m \"${{ github.run_number }} ${{ github.job_workflow_sha }}\"\n      - name: archive production artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: build-artifacts\n          path: |\n              .git/**/*\n              deployment/**/*\n              docs/**/*\n              templates/console/deployment/**/*\n              buildspec_2.yml\n              deploy_vtag.yml\n              CHANGELOG.md\n              .cfnnagignore\n              .cfnnag_global_suppress_list\n              .cfnnag_*\n\n  cfn-nag-scan:\n    needs: build\n    runs-on: ubuntu-latest\n    env:\n      CI: \"false\"\n    steps:\n      - name: Download all workflow run artifacts\n        uses: actions/download-artifact@v3\n      - name: Setup Ruby 2.6\n        uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6\n        with:\n          ruby-version: 2.6\n      - name: cfn_nag\n        run: |\n          # install Ruby\n          # sudo apt-get install ruby-full\n          # ls -R\n          gem install cfn-nag\n          cfn_nag -v\n          echo \"CloudFormation template scanning utility installation complete `date`\"\n          echo \"Starting CloudFormation template scanning `date` in `pwd`\"\n          cd build-artifacts/\n          export CFN_NAG_OPTS=\"--template-pattern ..*.template.json --print-suppression --fail-on-warnings\"\n          if [ -f \".cfnnag_global_suppress_list\" ]; then export CFN_NAG_OPTS=\"$CFN_NAG_OPTS -b .cfnnag_global_suppress_list\"; fi\n          set -x; cfn_nag_scan $CFN_NAG_OPTS --input-path templates/console/deployment/global-s3-assets/\n          # cfn_nag_scan --input-path .\n          # echo \"Completed CloudFormation template scanning `date`\"\n\n#  sematic_validate:\n#    name: Validate PR title\n#    runs-on: ubuntu-latest\n#    needs: opensource-license-review\n#    permissions:\n#      pull-requests: write\n#    steps:\n#      - uses: amannn/action-semantic-pull-request@v5.0.2\n#        env:\n#          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n#        with :\n#          types: |\n#            feat\n#            fix\n#            docs\n#            style\n#            refactor\n#            perf\n#            test\n#            build\n#            ci\n#            chore\n#            revert\n\n  semgrep-scan:\n    needs: git-secrets\n    runs-on: ubuntu-latest\n    container:\n      # A Docker image with Semgrep installed. Do not change this.\n      image: returntocorp/semgrep\n    # Skip any PR created by dependabot to avoid permission issues:\n    if: (github.actor != 'dependabot[bot]')\n    permissions:\n      security-events: write\n    steps:\n      # Fetch project source with GitHub Actions Checkout.\n      - uses: actions/checkout@v3\n      # Run the \"semgrep ci\" command on the command line of the docker image.\n      - run: semgrep ci --config auto --sarif --output=semgrep.sarif\n      - name: Upload SARIF file for GitHub Advanced Security Dashboard\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: semgrep.sarif\n        if: always()\n\n  viperlight:\n    runs-on: ubuntu-latest\n    needs: git-secrets\n    env:\n      CI: \"false\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Viperlight Scan\n        run: |\n          wget -q https://viperlight-scanner.s3.amazonaws.com/latest/.viperlightrc\n          wget -q https://viperlight-scanner.s3.amazonaws.com/latest/viperlight.zip\n          unzip -q viperlight.zip -d viperlight\n          rm -r ./viperlight.zip\n          cd viperlight  \n          ./install.sh\n          viperlight --version\n          echo \"Content scanning utility installation complete `date`\"\n          echo \"Starting content scanning `date` in `pwd`\"\n          cd ${{ github.workspace }}/templates/console/source\n          viperlight scan -m files-contents -m files-aws -m files-binary -m files-entropy -m files-secrets\n          echo \"Completed content scanning `date`\"\n\n  cdk-unit-test:\n    runs-on: ubuntu-latest\n    needs: git-secrets\n    env:\n      CI: \"false\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Use Node.js 18.x\n        uses: actions/setup-node@v3\n        with:\n          node-version: '18.x'\n      - name: Run Typescript Unit Test\n        run: |\n          cd ${{ github.workspace }}/templates/console/source\n          npm install --legacy-peer-deps\n          npm run test\n      - name: Sed lcov report\n        if: always()\n        run: |\n          cd ${{ github.workspace }}/templates/console/source/coverage\n          sed -i 's/source\\/lib\\//\\/github\\/workspace\\/templates\\/console\\/source\\/lib\\//g' lcov.info\n          sed -i 's/source\\/test\\//\\/github\\/workspace\\/templates\\/console\\/source\\/test\\//g' lcov.info\n      - name: archive coverage report\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: cdk-coverage-report\n          path: |\n            templates/console/source/coverage/lcov.info\n\n  ssl-lambda-unit-test:\n    runs-on: ubuntu-latest\n    needs: git-secrets\n    env:\n      CI: \"false\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Run Saas Lambda Python Test\n        env:\n          AWS_DEFAULT_REGION: us-east-1\n        run: |\n          cd ${{ github.workspace }}/templates/console/source/lambda/ssl_for_saas/\n          # pip install pytest\n          pip install poetry          \n          poetry install          \n          export PYTHONPATH=../ssl_for_saas\n          echo \"PYTHONPATH=../ssl_for_saas\" >> $GITHUB_ENV\n          poetry run pytest --cov --cov-config=.coveragerc -cov-report=term-missing --cov-report=\"xml:./ssl-for-saas.coverage.xml\" test\n          sed -i 's/\\/home\\/runner\\/work\\/aws-cloudfront-extensions\\/aws-cloudfront-extensions\\//\\/github\\/workspace\\//g' ssl-for-saas.coverage.xml\n      - name: archive coverage report\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: python-coverage-report\n          path: |\n            templates/console/source/lambda/ssl_for_saas/*.coverage.xml\n\n  config-deployer-unit-test:\n    runs-on: ubuntu-latest\n    needs: git-secrets\n    env:\n      CI: \"false\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Run Config and Deployer Lambda Python Test\n        env:\n          AWS_DEFAULT_REGION: us-east-1\n        run: |\n          cd ${{ github.workspace }}/templates/console/deployment\n          ./run-lambda-ut.sh\n      - name: Sed coverage report files\n        if: always()\n        run: |\n          cd ${{ github.workspace }}/templates/console/source/all-coverages\n          sed -i 's/\\/home\\/runner\\/work\\/aws-cloudfront-extensions\\/aws-cloudfront-extensions\\//\\/github\\/workspace\\//g' *.coverage.xml\n      - name: archive coverage report\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: config-coverage-report\n          path: |\n            templates/console/source/all-coverages/*.coverage.xml\n\n  monitoring-unit-test:\n    runs-on: ubuntu-latest\n    needs: git-secrets\n    env:\n      CI: \"false\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Run Monitoring Lambda Python Test\n        env:\n          AWS_DEFAULT_REGION: us-east-1\n        run: |\n          cd ${{ github.workspace }}/templates/console/deployment\n          ./run-unit-tests.sh\n      - name: Sed coverage report files\n        if: always()\n        run: |\n          cd ${{ github.workspace }}/templates/console/deployment/monitoring-coverages\n          sed -i 's/\\/home\\/runner\\/work\\/aws-cloudfront-extensions\\/aws-cloudfront-extensions\\//\\/github\\/workspace\\//g' *.coverage.xml\n      - name: archive coverage report\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: monitoring-coverage-report\n          path: |\n            templates/console/deployment/monitoring-coverages/*.coverage.xml\n\n  sonarqube:\n    needs: [ssl-lambda-unit-test, config-deployer-unit-test, monitoring-unit-test, cdk-unit-test]\n    runs-on: ubuntu-latest\n    if: always()\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          # Disabling shallow clone is recommended for improving relevancy of reporting\n          fetch-depth: 0\n      - name: Download python coverage report\n        uses: actions/download-artifact@v3\n        with:\n          name: python-coverage-report\n          path: ${{ github.workspace }}/templates/console/source/lambda/ssl_for_saas/\n      - name: Download cdk coverage report\n        uses: actions/download-artifact@v3\n        with:\n          name: cdk-coverage-report\n          path: ${{ github.workspace }}/templates/console/source/coverage\n      - name: Download config and deployer coverage report\n        uses: actions/download-artifact@v3\n        with:\n          name: config-coverage-report\n          path: ${{ github.workspace }}/templates/console/source/all-coverages\n      - name: Download monitoring coverage report\n        uses: actions/download-artifact@v3\n        with:\n          name: monitoring-coverage-report\n          path: ${{ github.workspace }}/templates/console/source/monitoring-coverages\n      - name: SonarQube Scan\n        uses: sonarsource/sonarqube-scan-action@master\n        env:\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n          SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}\n\n  codeguru:\n    needs: git-secrets\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0   # Required\n      - name: configure aws credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::261557372226:role/CodguruGithubRole\n          role-duration-seconds: 900 # the ttl of the session, in seconds.\n          aws-region: us-west-2\n      - name: CodeGuru Reviewer\n        uses: aws-actions/codeguru-reviewer@v1.1\n        with:\n  #        build_path: target # build artifact(s) directory\n          s3_bucket: codeguru-reviewer-cloudfront-extn-bucket2\n      - name: Upload review result\n        if: ${{ github.event_name != 'push' }}\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: codeguru-results.sarif.json", "state": "active", "repository": "awslabs/aws-cloudfront-extensions"}
{"mined_at": "2024-07-15T15:55:46.953336", "created_at": "2019-12-29T20:53:29+01:00", "updated_at": "2019-12-29T20:53:29+01:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/first-interaction@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: 'Hi there! 👋  Thank you for opening your first Lightkurve issue! 🙏  One of our maintainers will get back to you as soon as possible. 👩‍🚀  You can expect a response within 7 days. 📅  If you haven’t heard anything by then, feel free to ping this thread. 🛎️  We love that you are using Lightkurve and appreciate your feedback. 👍'\n        pr-message: 'Hi there! 👋  Thank you for opening your first Lightkurve pull request! 🙏  One of our maintainers will get back to you as soon as possible. 👩‍🚀  You can expect a response within 7 days. 📅  If you haven’t heard anything by then, feel free to ping this thread. 🛎️  We love that you are using Lightkurve and appreciate your input. 👍'\n", "state": "active", "repository": "lightkurve/lightkurve"}
{"mined_at": "2024-07-15T15:55:48.101758", "created_at": "2019-12-29T20:55:47+01:00", "updated_at": "2020-01-12T12:29:10+01:00", "name": "Lightkurve-tests", "path": ".github/workflows/lightkurve-tests.yml", "contents": "# GitHub Actions workflow for Lightkurve's continuous integration.\n#\n# This file configures seven different jobs:\n# 1) pytest on Linux, Python 3.8, with -m memtest (i.e. stress memory)\n# 2) pytest on Linux, Python 3.8, with --remote-data enabled (i.e. get data from MAST).\n# 3) pytest on Linux, Python 3.9.\n# 4) pytest on Linux, Python 3.10.\n# 5) pytest on Windows, Python 3.8.\n# 6) pytest on OSX, Python 3.8.\n# 7) flake8 syntax check.\n\nname: Lightkurve-tests\n\non:\n  # We always want to run tests on main\n  push:\n    branches:\n      - main\n  # And we'll also run tests on pull requests\n  pull_request:\n\njobs:\n\n  # Run unit tests on Linux\n  pytest-linux:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        name: [3.8-remote-data, 3.8-memtest, 3.9, '3.10']\n        include:\n          - name: 3.8-remote-data\n            python-version: 3.8\n            pytest-command: poetry run pytest --remote-data --doctest-modules\n          - name: 3.8-memtest\n            python-version: 3.8\n            pytest-command: poetry run pytest -m memtest --remote-data\n          - name: 3.9\n            python-version: 3.9\n            pytest-command: poetry run pytest\n          - name: '3.10'\n            python-version: '3.10'\n            pytest-command: poetry run pytest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip 'poetry>=1.4.0'\n        poetry config installer.modern-installation false\n        poetry install\n    - name: Test with ${{ matrix.pytest-command }}\n      run: |\n        ${{ matrix.pytest-command }}\n\n  # Run unit tests on Windows\n  pytest-windows:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        name: [3.8]\n        python-version: [3.8]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip 'poetry>=1.4.0'\n        poetry config installer.modern-installation false\n        poetry install\n    - name: Test with pytest\n      run: |\n        poetry run pytest\n\n  # Run unit tests on Mac OSX\n  pytest-osx:\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip 'poetry>=1.4.0'\n        poetry config installer.modern-installation false\n        poetry install\n    - name: Test with pytest\n      run: |\n        poetry run pytest\n\n  # Use the `flake8` tool to check for syntax errors\n  flake8-linter:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install flake8\n      run: |\n        python -m pip install --upgrade pip 'poetry>=1.4.0'\n        poetry config installer.modern-installation false\n        poetry install\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=\"setup.py,test_*\"\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=\"setup.py,test_*\"\n", "state": "active", "repository": "lightkurve/lightkurve"}
{"mined_at": "2024-07-15T15:55:49.128137", "created_at": "2022-03-15T21:18:07+01:00", "updated_at": "2022-03-15T21:18:07+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "lightkurve/lightkurve"}
{"mined_at": "2024-07-15T15:55:51.158673", "created_at": "2023-11-26T10:15:24+01:00", "updated_at": "2023-11-26T10:15:24+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n      - dev/*\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  test:\n    # Based on pytest-blender workflow: https://github.com/mondeja/pytest-blender/blob/master/.github/workflows/ci.yml\n    name: Test\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - blender-version: '4.0.2'\n            python-version: '3.10'\n            pytest-version: '7.2.0'\n            pytest-blender-version: '3.0.5'\n\n          - blender-version: '4.1.0'\n            python-version: '3.11'\n            pytest-version: '7.2.0'\n            pytest-blender-version: '3.0.5'\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade PIP\n        run: python -m pip install --upgrade pip\n\n      - name: Cache Blender ${{ matrix.blender-version }}\n        uses: actions/cache@v3\n        id: cache-blender\n        with:\n          path: |\n            _blender/blender-*\n            _blender-executable-path.txt\n          key: ${{ runner.os }}-${{ matrix.blender-version }}\n\n      - name: Download Blender ${{ matrix.blender-version }}\n        if: steps.cache-blender.outputs.cache-hit != 'true'\n        run: |\n          Set-PSDebug -Trace 2\n          # Use blender-downloader fork with specifes a Sollumz User-Agent since the default python User-Agent is currently blocked\n          # python -m pip install --upgrade blender-downloader\n          python -m pip install git+https://github.com/Sollumz/blender-downloader.git\n          python -m pip list\n          mkdir _blender\n          blender-downloader ${{ matrix.blender-version }} -d _blender --extract --remove-compressed --print-blender-executable --quiet | Out-File -FilePath _blender-executable-path.txt\n          get-content _blender-executable-path.txt\n\n      - name: Install Dependencies\n        run: |\n          Set-PSDebug -Trace 2\n          python -m pip install pytest-blender==${{ matrix.pytest-blender-version }} pytest==${{ matrix.pytest-version }}\n          $BLENDER = get-content _blender-executable-path.txt\n          pytest-blender --blender-executable \"$BLENDER\" | Out-File -FilePath _blender-python-executable-path.txt\n          $BLENDER_PYTHON = get-content _blender-python-executable-path.txt\n          echo \"$BLENDER_PYTHON\"\n          & \"$BLENDER_PYTHON\" -m pip install pytest-blender==${{ matrix.pytest-blender-version }} pytest==${{ matrix.pytest-version }}\n\n      - name: Install Sollumz\n        run: |\n          $BLENDER = get-content _blender-executable-path.txt\n          $BLENDER_RELEASE_VERSION = python -c \"print('.'.join('${{ matrix.blender-version }}'.split('.')[:2]))\" # extract first two version numbers\n          New-Item -ItemType Directory -Path \"$env:APPDATA\\Blender Foundation\\Blender\\$BLENDER_RELEASE_VERSION\\scripts\\addons\" -Force\n          New-Item -ItemType SymbolicLink -Path \"$env:APPDATA\\Blender Foundation\\Blender\\$BLENDER_RELEASE_VERSION\\scripts\\addons\" -Name Sollumz -Target $(Get-Location)\n          & \"$BLENDER\" -b --python-expr \"import bpy; bpy.ops.preferences.addon_enable(module='Sollumz'); bpy.ops.wm.save_userpref()\"\n\n      - name: Run Tests\n        run: |\n          $BLENDER = get-content _blender-executable-path.txt\n          $BLENDER_PYTHON = get-content _blender-python-executable-path.txt\n          $env:SOLLUMZ_TEST_TMP_DIR = $(mkdir _test_tmp)\n          & \"$BLENDER_PYTHON\" -m pytest -svv --ignore _blender --ignore _test_tmp --blender-executable \"$BLENDER\"\n", "state": "active", "repository": "skylumz/sollumz"}
{"mined_at": "2024-07-15T15:55:53.322200", "created_at": "2020-11-15T17:50:26+01:00", "updated_at": "2023-04-05T22:09:28+02:00", "name": "build", "path": ".github/workflows/ci.yml", "contents": "name: build\non:\n  workflow_dispatch:\n  schedule:\n  - cron: 0 0 * * 0     # weekly\n  pull_request:\n    branches:\n    - main\n# want pooch to raise an error if I've updated the file and forgot to update the\n# hash.\nenv:\n  POOCH_ALLOW_UPDATES: false\n\njobs:\n  # based on https://slashgear.github.io/how-to-split-test-by-folder-with-github-action/\n  notebooks:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n      fail-fast: false\n    name: Execute notebooks\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: setup.py\n    - name: Setup FFmpeg\n      uses: FedericoCarboni/setup-ffmpeg@v3.1\n    - name: Install dependencies\n      run: |\n        pip install --upgrade --upgrade-strategy eager .[dev,nb] papermill\n    - name: Run notebooks\n      run: |\n        for file in examples/*ipynb; do\n           # these first two notebooks take much longer than the rest to run (2\n           # and 1 hours on laptop, respectively, longer on runners). So we use\n           # papermill's parameters to reduce the max number of steps for\n           # synthesis in them (we want to test that each cell runs, but we\n           # don't need synthesis to go to completion).\n           if [[ \"$file\" =~ \"Metamer-Portilla-Simoncelli\" ]]; then\n              papermill $file $file_output.ipynb -p short_synth_max_iter 10 -p long_synth_max_iter 10 -p longest_synth_max_iter 10 -k python3 --cwd examples/\n           elif [[ \"$file\" =~ \"Demo_Eigendistortion\" ]]; then\n              papermill $file $file_output.ipynb -p max_iter_frontend 10 -p max_iter_vgg 10 -k python3 --cwd examples/\n           else\n              jupyter execute $file --kernel_name=python3\n            fi\n        done\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n      fail-fast: false\n    name: Run pytest scripts\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install Python 3\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: setup.py\n    - name: Install dependencies\n      run: |\n        # using the --upgrade and --upgrade-strategy eager flags ensures that\n        # pip will always install the latest allowed version of all\n        # dependencies, to make sure the cache doesn't go stale\n        pip install --upgrade --upgrade-strategy eager .[dev]\n    - name: Run tests with pytest\n      run: |\n        pytest -n auto --cov-report xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@7598e39340e1dff4d6ebf7cf07a5e8184bde67e7 # v4.0.1\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n  all_tutorials_in_docs:\n    runs-on: ubuntu-latest\n    name: Check that all tutorial notebooks are included in docs\n    steps:\n    - uses: actions/checkout@v4\n    - name: Check for file\n      shell: bash\n      # there are two levels that the notebooks can be in\n      run: |\n        for file in examples/*ipynb; do\n           if [[ -z \"$(grep $file docs/tutorials/*nblink)\" && -z \"$(grep $file docs/tutorials/*/*nblink)\" ]] ; then\n              exit 1\n           fi\n        done\n  no_extra_nblinks:\n    runs-on: ubuntu-latest\n    name: Check that we don't have any extra nblink files\n    steps:\n    - uses: actions/checkout@v4\n    - name: Check same number of nblink and notebooks\n      shell: bash\n      run: |\n        n_nblink=0; for file in docs/tutorials/*nblink; do let \"n_nblink+=1\"; done;\n        for file in docs/tutorials/*/*nblink; do let \"n_nblink+=1\"; done;\n        n_ipynb=0; for file in examples/*ipynb; do let \"n_ipynb+=1\"; done;\n        if [[ $n_nblink != $n_ipynb ]]; then exit 1; fi;\n  check_urls:\n    runs-on: ubuntu-latest\n    name: Check all urls are valid\n    steps:\n    - uses: actions/checkout@v4\n      # there are several cells in the notebook whose output includes links that\n      # urlchecker htinks are invalid (though when I check them manually, they\n      # look fine). Regardless, they're unimportant -- they're part of warning\n      # messages and similar, so we don't want to check them.\n    - name: strip notebook output\n      run: |\n        pip install nbstripout\n        nbstripout examples/*ipynb\n    - uses: urlstechie/urlchecker-action@b643b43e2ac605e1475331c7b67247d242b7dce4 # 0.0.34\n      with:\n        file_types: .md,.py,.rst,.ipynb\n        print_all: false\n        timeout: 5\n        retry_count: 3\n\n  check:\n    if: always()\n    needs:\n    - notebooks\n    - tests\n    - all_tutorials_in_docs\n    - no_extra_nblinks\n    - check_urls\n    runs-on: ubuntu-latest\n    steps:\n    - name: Decide whether all tests and notebooks succeeded\n      uses: re-actors/alls-green@afee1c1eac2a506084c274e9c02c8e0687b48d9e # v1.2.2\n      with:\n        jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "labforcomputationalvision/plenoptic"}
{"mined_at": "2024-07-15T15:55:54.360072", "created_at": "2023-05-19T19:42:44+02:00", "updated_at": "2024-02-28T21:46:24+01:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        # this is necessary for setuptools_scm to work properly with github\n        # actions, see https://github.com/pypa/setuptools_scm/issues/480 and\n        # https://stackoverflow.com/a/68959339\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: python -m build --outdir dist/ --sdist --wheel\n      - name: Check there's only one sdist and one whl file created\n        shell: bash\n        # because the following two tests will be weird otherwise. see\n        # https://askubuntu.com/a/454568 for why this is the right way to handle\n        # it. using [[ BOOLEAN ]] || EXPR is a compact way of writing IF NOT\n        # BOOLEAN THEN EXPR in bash\n        run: |\n          [[ $(find dist/ -type f -name \"*whl\" -printf x | wc -c) == 1 ]] || exit 1\n          [[ $(find dist/ -type f -name \"*tar.gz\" -printf x | wc -c) == 1 ]] || exit 1\n      - name: Check setuptools_scm version against git tag\n        shell: bash\n        # this won't work if we use workflow dispatch, so no sense in running\n        # it.\n        if: github.event_name == 'release' && github.event.action == 'published'\n        run: |\n          # we use the error code of this comparison: =~ is bash's regex\n          # operator, so it checks whether the right side is contained in the\n          # left side. In particular, we succeed if the path of the source code\n          # ends in the most recent git tag, fail if it does not.\n          [[ \"$(ls dist/*tar.gz)\" =~ \"-$(git describe --tags).tar.gz\" ]]\n      - name: Check we can install from wheel\n        # note that this is how this works in bash (different shells might be\n        # slightly different). we've checked there's only one .whl file in an\n        # earlier step, so the bit in `$()` will expand to that single file,\n        # then we pass [dev] to get specify the optional dev dependencies, and\n        # we wrap the whole thing in quotes so bash doesn't try to interpret the\n        # square brackets but passes them directly to pip install\n        shell: bash\n        run: |\n          pip install \"$(ls dist/*whl)[dev,nb]\" papermill\n      - name: Run tests\n        run: |\n          pytest -n auto\n      - name: Setup FFmpeg\n        uses: FedericoCarboni/setup-ffmpeg@v3.1\n      - name: Run notebooks\n        run: |\n          for file in examples/*ipynb; do\n             # these first two notebooks take much longer than the rest to run (2\n             # and 1 hours on laptop, respectively, longer on runners). So we use\n             # papermill's parameters to reduce the max number of steps for\n             # synthesis in them (we want to test that each cell runs, but we\n             # don't need synthesis to go to completion).\n             if [[ \"$file\" =~ \"Metamer-Portilla-Simoncelli\" ]]; then\n                papermill $file $file_output.ipynb -p short_synth_max_iter 10 -p long_synth_max_iter 10 -p longest_synth_max_iter 10 -k python3 --cwd examples/\n             elif [[ \"$file\" =~ \"Demo_Eigendistortion\" ]]; then\n                papermill $file $file_output.ipynb -p max_iter_frontend 10 -p max_iter_vgg 10 -k python3 --cwd examples/\n             else\n                jupyter execute $file --kernel_name=python3\n              fi\n          done\n      - uses: actions/upload-artifact@v4\n        with:\n          path: dist/*\n\n  publish:\n    name: Upload release to Test PyPI\n    needs: [build]\n    environment: pypi\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: artifact\n          path: dist\n      - name: Publish package to test pypi\n        if: github.event_name != 'release'\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n      - name: Publish package to real pypi\n        if: github.event_name == 'release' && github.event.action == 'published'\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "labforcomputationalvision/plenoptic"}
{"mined_at": "2024-07-15T15:55:56.482841", "created_at": "2021-03-21T08:01:57+01:00", "updated_at": "2021-03-21T08:01:57+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  push:\n    # branches: [master, develop]\n    branches: [master]\n  pull_request:\n    # branches: [master, develop]\n    branches: [master]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Use Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n\n      - name: Use Node.js\n        uses: actions/setup-node@v2\n        with:\n          node-version: 16.x\n          cache: npm\n\n      - name: Install Pipenv\n        run: pip install --upgrade pip && pip install pipenv\n\n      - name: Install\n        run: npm install\n\n      - name: Check setup\n        run: npm run check\n\n      - name: Build\n        run: npm run build\n", "state": "active", "repository": "leon-ai/leon"}
{"mined_at": "2024-07-15T15:55:57.532891", "created_at": "2021-03-17T07:33:16+01:00", "updated_at": "2021-03-17T07:33:16+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n    # branches: [master, develop]\n    branches: [master]\n  pull_request:\n    # branches: [master, develop]\n    branches: [master]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Use Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n\n      - name: Use Node.js\n        uses: actions/setup-node@v2\n        with:\n          node-version: 16.x\n          cache: npm\n\n      - name: Install Pipenv\n        run: pip install --upgrade pip && pip install pipenv\n\n      - name: Install\n        run: npm install\n\n      - name: Run linter\n        run: npm run lint\n", "state": "active", "repository": "leon-ai/leon"}
{"mined_at": "2024-07-15T15:55:58.553268", "created_at": "2023-04-30T17:39:45+02:00", "updated_at": "2023-04-30T17:39:45+02:00", "name": "Pre-release Node.js bridge", "path": ".github/workflows/pre-release-nodejs-bridge.yml", "contents": "name: Pre-release Node.js bridge\n\non: workflow_dispatch\n\njobs:\n  build:\n    name: Build\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v3\n\n      - name: Install Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: lts/*\n\n      - name: Set Node.js bridge version\n        working-directory: bridges/nodejs/src\n        run: |\n          echo \"NODEJS_BRIDGE_VERSION=$(node --require fs --eval \"const fs = require('node:fs'); const [, VERSION] = fs.readFileSync('version.ts', 'utf8').split(\\\"'\\\"); console.log(VERSION)\")\" >> $GITHUB_ENV\n\n      - name: Display Node.js bridge version\n        run: |\n          echo \"Node.js bridge version: ${{ env.NODEJS_BRIDGE_VERSION }}\"\n\n      - name: Install core\n        run: npm install\n\n      - name: Build Node.js bridge\n        run: npm run build:nodejs-bridge\n\n      - name: Upload Node.js bridge\n        uses: actions/upload-artifact@v3\n        with:\n          path: bridges/nodejs/dist/*.zip\n\n  draft-release:\n    name: Draft-release\n    needs: [build]\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v3\n\n      - name: Install Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: lts/*\n\n      - name: Set Node.js bridge version\n        working-directory: bridges/nodejs/src\n        run: |\n          echo \"NODEJS_BRIDGE_VERSION=$(node --require fs --eval \"const fs = require('node:fs'); const [, VERSION] = fs.readFileSync('version.ts', 'utf8').split(\\\"'\\\"); console.log(VERSION)\")\" >> $GITHUB_ENV\n\n      - name: Download Node.js bridge\n        uses: actions/download-artifact@v3\n        with:\n          path: bridges/nodejs/dist\n\n      - uses: marvinpinto/action-automatic-releases@latest\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          automatic_release_tag: nodejs-bridge_v${{ env.NODEJS_BRIDGE_VERSION }}\n          draft: true\n          prerelease: false\n          title: Node.js Bridge ${{ env.NODEJS_BRIDGE_VERSION }}\n          files: bridges/nodejs/dist/artifact/*.zip\n", "state": "active", "repository": "leon-ai/leon"}
{"mined_at": "2024-07-15T15:55:59.538737", "created_at": "2022-10-09T17:51:24+02:00", "updated_at": "2022-10-09T17:51:24+02:00", "name": "Pre-release Python bridge", "path": ".github/workflows/pre-release-python-bridge.yml", "contents": "name: Pre-release Python bridge\n\non: workflow_dispatch\n\nenv:\n  PIPENV_PIPFILE: bridges/python/src\n  PIPENV_VENV_IN_PROJECT: true\n\njobs:\n  build:\n    name: Build\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # @see https://github.com/actions/runner-images/tree/main/images/macos\n        # Use macos-12 instead of macos-latest because the latter use ARM64 (M1) architecture\n        os: [ubuntu-20.04, macos-12]\n        # Temporarily disable Windows release\n        # os: [ubuntu-20.04, macos-12, windows-latest]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v3\n\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11.9\n\n      - name: Install Pipenv\n        run: pip install --upgrade pip && pip install pipenv==2024.0.1\n\n      - name: Install Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: lts/*\n\n      - name: Set Python bridge version\n        working-directory: bridges/python/src\n        run: |\n          echo \"PYTHON_BRIDGE_VERSION=$(python -c \"from version import __version__; print(__version__)\")\" >> $GITHUB_ENV\n\n      - name: Display Python bridge version\n        run: |\n          echo \"Python bridge version: ${{ env.PYTHON_BRIDGE_VERSION }}\"\n\n      - name: Install core\n        run: npm install\n\n      - name: Set up Python bridge\n        run: npm run setup:python-bridge\n\n      - name: Build Python bridge\n        run: npm run build:python-bridge\n\n      - name: Upload Python bridge\n        uses: actions/upload-artifact@v3\n        with:\n          path: bridges/python/dist/*.zip\n\n  draft-release:\n    name: Draft-release\n    needs: [build]\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v3\n\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11.9\n\n      - name: Set Python bridge version\n        working-directory: bridges/python/src\n        run: |\n          echo \"PYTHON_BRIDGE_VERSION=$(python -c \"from version import __version__; print(__version__)\")\" >> $GITHUB_ENV\n\n      - name: Download Python bridge\n        uses: actions/download-artifact@v3\n        with:\n          path: bridges/python/dist\n\n      - uses: marvinpinto/action-automatic-releases@latest\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          automatic_release_tag: python-bridge_v${{ env.PYTHON_BRIDGE_VERSION }}\n          draft: true\n          prerelease: false\n          title: Python Bridge ${{ env.PYTHON_BRIDGE_VERSION }}\n          files: bridges/python/dist/artifact/*.zip\n", "state": "active", "repository": "leon-ai/leon"}
{"mined_at": "2024-07-15T15:56:00.586813", "created_at": "2022-10-09T17:52:38+02:00", "updated_at": "2022-10-09T17:52:38+02:00", "name": "Pre-release TCP server", "path": ".github/workflows/pre-release-tcp-server.yml", "contents": "name: Pre-release TCP server\n\non: workflow_dispatch\n\nenv:\n  PIPENV_PIPFILE: tcp_server/src\n  PIPENV_VENV_IN_PROJECT: true\n\njobs:\n  build:\n    name: Build\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # @see https://github.com/actions/runner-images/tree/main/images/macos\n        # Use macos-12 instead of macos-latest because the latter use ARM64 (M1) architecture\n        os: [ubuntu-20.04, macos-12, windows-latest]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v3\n\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11.9\n\n      - name: Install Pipenv\n        run: pip install --upgrade pip && pip install pipenv==2024.0.1\n\n      - name: Install Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: lts/*\n\n      - name: Set TCP server version\n        working-directory: tcp_server/src\n        run: |\n          echo \"TCP_SERVER_VERSION=$(python -c \"from version import __version__; print(__version__)\")\" >> $GITHUB_ENV\n\n      - name: Display TCP server version\n        run: |\n          echo \"TCP server version: ${{ env.TCP_SERVER_VERSION }}\"\n\n      - name: Install core\n        run: npm install\n\n      - name: Set up TCP server\n        run: npm run setup:tcp-server\n\n      - name: Build TCP server\n        run: npm run build:tcp-server\n\n      - name: Upload TCP server\n        uses: actions/upload-artifact@v3\n        with:\n          path: tcp_server/dist/*.zip\n\n  draft-release:\n    name: Draft-release\n    needs: [build]\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v3\n\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11.9\n\n      - name: Set TCP server version\n        working-directory: tcp_server/src\n        run: |\n          echo \"TCP_SERVER_VERSION=$(python -c \"from version import __version__; print(__version__)\")\" >> $GITHUB_ENV\n\n      - name: Download TCP server\n        uses: actions/download-artifact@v3\n        with:\n          path: tcp_server/dist\n\n      - uses: marvinpinto/action-automatic-releases@latest\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          automatic_release_tag: tcp-server_v${{ env.TCP_SERVER_VERSION }}\n          draft: true\n          prerelease: false\n          title: TCP Server ${{ env.TCP_SERVER_VERSION }}\n          files: tcp_server/dist/artifact/*.zip\n", "state": "active", "repository": "leon-ai/leon"}
{"mined_at": "2024-07-15T15:56:01.656864", "created_at": "2021-03-17T08:25:53+01:00", "updated_at": "2021-03-21T07:32:41+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    # branches: [master, develop]\n    branches: [master]\n  pull_request:\n    # branches: [master, develop]\n    branches: [master]\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Use Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n\n      - name: Use Node.js\n        uses: actions/setup-node@v2\n        with:\n          node-version: 16.x\n          cache: npm\n\n      - name: Install Pipenv\n        run: pip install --upgrade pip && pip install pipenv\n\n      - name: Install\n        run: npm install\n\n      - name: Run JSON tests\n        run: npm run test:json\n\n      - name: Run over HTTP tests\n        run: npm run test:over-http\n\n      - name: Run E2E tests\n        run: npm run test:e2e\n\n      - name: Install offline STT\n        run: npm run setup:offline-stt\n\n      - name: Install offline TTS\n        run: npm run setup:offline-tts\n\n      - name: Run unit tests\n        run: npm run test:unit\n", "state": "active", "repository": "leon-ai/leon"}
{"mined_at": "2024-07-15T15:56:03.754073", "created_at": "2022-11-22T16:17:18+01:00", "updated_at": "2024-07-15T03:34:18+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n    paths-ignore:\n      - '.cookiecutter/*'\n      - '.github/dependabot.yml'\n      - '.github/workflows/deploy.yml'\n      - '.github/workflows/redeploy.yml'\n      - 'bin/logger'\n      - 'bin/make_python'\n      - 'bin/make_template'\n      - 'conf/development.ini'\n      - 'conf/production.ini'\n      - 'conf/supervisord*.conf'\n      - 'docs/*'\n      - 'requirements/*.in'\n      - 'requirements/dev.txt'\n      - '.docker.env'\n      - '**/.gitignore'\n      - 'Dockerfile'\n      - 'LICENSE'\n      - '*.md'\n      - 'docker-compose.yml'\n  workflow_dispatch:\n  workflow_call:\n  schedule:\n  - cron: '0 1 * * *'\njobs:\n  Format:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: format-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            format-${{ runner.os }}-tox-\n      - run: python -m pip install 'tox<4'\n      - run: tox -e checkformatting\n  Lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: lint-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            lint-${{ runner.os }}-tox-\n      - run: python -m pip install 'tox<4'\n      - run: tox -e lint\n  Typecheck:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: typecheck-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            typecheck-${{ runner.os }}-tox-\n      - run: python -m pip install 'tox<4'\n      - run: tox -e typecheck\n  Tests:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:15.3-alpine\n        ports:\n        - 4433:5432\n        env:\n          POSTGRES_HOST_AUTH_METHOD: trust\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: tests-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            tests-${{ runner.os }}-tox-\n      - name: Create test database\n        run: psql -U postgres -h localhost -p 4433 -c 'CREATE DATABASE via_tests'\n      - run: yarn install --frozen-lockfile\n      - run: yarn build\n      - run: python -m pip install 'tox<4'\n      - run: tox -e tests\n        env:\n          COVERAGE_FILE: .coverage.${{ matrix.python-version }}\n      - name: Upload coverage file\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage\n          path: .coverage.*\n  Coverage:\n    needs: tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: coverage-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            coverage-${{ runner.os }}-tox-\n      - name: Download coverage files\n        uses: actions/download-artifact@v3\n        with:\n          name: coverage\n      - run: python -m pip install 'tox<4'\n      - run: tox -e coverage\n  Functests:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:15.3-alpine\n        ports:\n        - 4433:5432\n        env:\n          POSTGRES_HOST_AUTH_METHOD: trust\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Cache the .tox dir\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: functests-${{ runner.os }}-tox-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements/*') }}\n          restore-keys: |\n            functests-${{ runner.os }}-tox-\n      - name: Create test database\n        run: psql -U postgres -h localhost -p 4433 -c 'CREATE DATABASE via_functests'\n      - run: yarn install --frozen-lockfile\n      - run: yarn build\n      - run: python -m pip install 'tox<4'\n      - run: tox -e functests\n  Frontend:\n    uses: ./.github/workflows/frontend.yml\n", "state": "active", "repository": "hypothesis/via"}
{"mined_at": "2024-07-15T15:56:04.800276", "created_at": "2022-09-01T12:12:19+02:00", "updated_at": "2024-03-19T13:59:19+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\nconcurrency:\n  group: deploy\n  cancel-in-progress: true\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - '.cookiecutter/*'\n      - '.github/*'\n      - 'bin/create-db'\n      - 'bin/make_python'\n      - 'bin/make_template'\n      - 'conf/development.ini'\n      - 'conf/supervisord-dev.conf'\n      - 'docs/*'\n      - 'requirements/*'\n      - '!requirements/prod.txt'\n      - 'tests/*'\n      - '**/.gitignore'\n      - '.python-version'\n      - 'LICENSE'\n      - '*.md'\n      - 'docker-compose.yml'\n      - 'tox.ini'\njobs:\n  docker_hub:\n    name: Docker Hub\n    uses: hypothesis/workflows/.github/workflows/dockerhub.yml@main\n    with:\n      Application: ${{ github.event.repository.name }}\n    secrets: inherit\n  staging:\n    name: Staging\n    needs: [docker_hub]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Staging\n      github_environment_url: https://via.staging.hypothes.is/https://en.wikipedia.org/api/rest_v1/page/pdf/Comet_Kohoutek\n      aws_region: us-west-1\n      elasticbeanstalk_application: via\n      elasticbeanstalk_environment: staging\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n  staging_edu:\n    name: Staging (Edu)\n    needs: [docker_hub]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Staging (Edu)\n      github_environment_url: https://hypothesis.instructure.com/courses/125/assignments/878\n      aws_region: us-west-1\n      elasticbeanstalk_application: edu-via\n      elasticbeanstalk_environment: staging\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n  production:\n    name: Production\n    needs: [docker_hub, staging]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Production\n      github_environment_url: https://via.hypothes.is/https://en.wikipedia.org/api/rest_v1/page/pdf/Comet_Kohoutek\n      aws_region: us-west-1\n      elasticbeanstalk_application: via\n      elasticbeanstalk_environment: prod\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n  production_edu:\n    name: Production (Edu)\n    needs: [docker_hub, staging_edu]\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: deploy\n      github_environment_name: Production (Edu)\n      github_environment_url: https://hypothesis.instructure.com/courses/125/assignments/882\n      aws_region: us-west-1\n      elasticbeanstalk_application: lms-via\n      elasticbeanstalk_environment: prod\n      docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/via"}
{"mined_at": "2024-07-15T15:56:05.852261", "created_at": "2023-06-06T09:23:28+02:00", "updated_at": "2023-06-06T09:23:28+02:00", "name": "Frontend", "path": ".github/workflows/frontend.yml", "contents": "name: Frontend\non:\n  workflow_dispatch:\n  workflow_call:\njobs:\n  Frontend:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n\n    - name: Cache the node_modules dir\n      uses: actions/cache@v3\n      with:\n        path: node_modules\n        key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}\n\n    - name: Install\n      run: yarn install --frozen-lockfile\n\n    - name: Format\n      run: yarn checkformatting\n\n    - name: Lint\n      run: yarn lint\n\n    - name: Typecheck\n      run: yarn typecheck\n\n    - name: Test\n      run: yarn test\n", "state": "active", "repository": "hypothesis/via"}
{"mined_at": "2024-07-15T15:56:06.894949", "created_at": "2024-06-19T19:28:31+02:00", "updated_at": "2024-06-19T19:28:31+02:00", "name": "Keepalive", "path": ".github/workflows/keepalive.yml", "contents": "# Prevent scheduled workflows from being disabled due to inactivity.\n#\n# GitHub disables scheduled workflows after 60 days of repo inactivity:\n#\n# > Warning: To prevent unnecessary workflow runs, scheduled workflows may be\n# > disabled automatically.\n# > ... In a public repository, scheduled workflows are automatically disabled\n# > when no repository activity has occurred in 60 days.\n#\n# https://docs.github.com/en/actions/using-workflows/disabling-and-enabling-a-workflow\n#\n# This keep-alive workflow triggers whenever one of the scheduled workflows\n# listed below completes and prevents that scheduled workflow from being\n# disabled.\nname: Keepalive\non:\n  workflow_run:\n    workflows: [CI]\n    types: [completed]\n    branches: [main]\njobs:\n  Keepalive:\n    uses: hypothesis/workflows/.github/workflows/keepalive.yml@main\n", "state": "active", "repository": "hypothesis/via"}
{"mined_at": "2024-07-15T15:56:07.933218", "created_at": "2022-11-02T18:37:10+01:00", "updated_at": "2022-11-16T17:39:32+01:00", "name": "Redeploy", "path": ".github/workflows/redeploy.yml", "contents": "name: Redeploy\nconcurrency:\n  group: deploy\n  cancel-in-progress: true\non:\n  workflow_dispatch:\n    inputs:\n      staging:\n        type: boolean\n        description: Redeploy Staging\n      staging_edu:\n        type: boolean\n        description: Redeploy Staging (Edu)\n      production:\n        type: boolean\n        description: Redeploy Production\n      production_edu:\n        type: boolean\n        description: Redeploy Production (Edu)\njobs:\n  staging:\n    name: Staging\n    if: inputs.staging\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Staging\n      github_environment_url: https://via.staging.hypothes.is/https://en.wikipedia.org/api/rest_v1/page/pdf/Comet_Kohoutek\n      aws_region: us-west-1\n      elasticbeanstalk_application: via\n      elasticbeanstalk_environment: staging\n    secrets: inherit\n  staging_edu:\n    name: Staging (Edu)\n    if: inputs.staging_edu\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Staging (Edu)\n      github_environment_url: https://hypothesis.instructure.com/courses/125/assignments/878\n      aws_region: us-west-1\n      elasticbeanstalk_application: edu-via\n      elasticbeanstalk_environment: staging\n    secrets: inherit\n  production:\n    name: Production\n    if: inputs.production\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Production\n      github_environment_url: https://via.hypothes.is/https://en.wikipedia.org/api/rest_v1/page/pdf/Comet_Kohoutek\n      aws_region: us-west-1\n      elasticbeanstalk_application: via\n      elasticbeanstalk_environment: prod\n    secrets: inherit\n  production_edu:\n    name: Production (Edu)\n    if: inputs.production_edu\n    uses: hypothesis/workflows/.github/workflows/deploy.yml@main\n    with:\n      operation: redeploy\n      github_environment_name: Production (Edu)\n      github_environment_url: https://hypothesis.instructure.com/courses/125/assignments/882\n      aws_region: us-west-1\n      elasticbeanstalk_application: lms-via\n      elasticbeanstalk_environment: prod\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/via"}
{"mined_at": "2024-07-15T15:56:08.983610", "created_at": "2023-09-19T11:43:22+02:00", "updated_at": "2023-09-19T12:11:40+02:00", "name": "Slack", "path": ".github/workflows/slack.yml", "contents": "name: Slack\non:\n  workflow_run:\n    workflows: [CI, Deploy]\n    types: [completed]\n    branches: [main]\njobs:\n  on-failure:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'failure' }}\n    steps:\n      - name: Post to Slack\n        uses: slackapi/slack-github-action@v1.24.0\n        with:\n          channel-id: 'C4K6M7P5E'\n          slack-message: \"A workflow run failed\\n*Repo:* `${{ github.event.repository.full_name }}` (${{ github.event.repository.html_url }})\\n*Workflow:* ${{ github.event.workflow.name }} (${{ github.event.workflow.html_url }})\\n*Branch:* `${{ github.event.workflow_run.head_branch }}`\\n*Commit:* `${{ github.event.workflow_run.head_commit.id }}`\\n*Run:* ${{ github.event.workflow_run.html_url }}\\n*Conclusion:* ${{ github.event.workflow_run.conclusion }}\"\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n", "state": "active", "repository": "hypothesis/via"}
{"mined_at": "2024-07-15T15:56:10.030954", "created_at": "2023-07-11T10:06:23+02:00", "updated_at": "2023-07-11T10:06:23+02:00", "name": "Tasks", "path": ".github/workflows/tasks.yml", "contents": "name: Tasks\n\non:\n  workflow_dispatch:\n    inputs:\n      Task:\n        type: choice\n        description: \"The task to perform\"\n        required: true\n        options:\n          - 'db current revision'\n          - 'db upgrade to head'\n          - 'db upgrade to next'\n          - 'db downgrade to previous'\n      Application:\n        type: choice\n        description: \"The via application to target\"\n        required: true\n        default: 'via'\n        options:\n          - 'via'\n          - 'edu-via'\n          - 'lms-via'\n      Environment:\n        type: choice\n        description: \"The environment to target\"\n        required: true\n        default: 'staging'\n        options:\n          - 'staging'\n          - 'prod'\n      Timeout:\n        type: string\n        description: \"The timeout in seconds\"\n        default: '900'\n      Region:\n        type: choice\n        description: \"The AWS region to target\"\n        required: true\n        default: 'us-west-1'\n        options:\n          - 'us-west-1'\n      Destructive:\n        description: Check to confirm you are happy to proceed with a destructive operation\n        type: boolean\n        required: false\n        default: false\n\njobs:\n\n  preflight:\n    runs-on: ubuntu-latest\n    steps:\n    - name: catch unauthorised destructive operations\n      run: |\n        if [[ \"${{ inputs.Task }}\" = 'db upgrade to head' ]] &&\n           [[ \"${{ github.event.inputs.Destructive }}\" = 'false' ]] ||\n           [[ \"${{ inputs.Task }}\" = 'db upgrade to next' ]] &&\n           [[ \"${{ github.event.inputs.Destructive }}\" = 'false' ]] ||\n           [[ \"${{ inputs.Task }}\" = 'db downgrade to previous' ]] &&\n           [[ \"${{ github.event.inputs.Destructive }}\" = 'false' ]] ; then\n             echo \"::error::'${{ inputs.Task }}' needs destructive option\"\n             exit 1\n        else\n             echo \"::notice::Preparing '${{ inputs.Task }}' update in ${{ inputs.Environment }}\"\n             echo \"::notice::Targeting regions - '${{ inputs.region }}'\"\n             echo \"::notice::Timeout - '${{ inputs.Timeout }}'\"\n             exit 0\n        fi\n\n  current:\n    if: inputs.Task == 'db current revision'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ inputs.Application }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'alembic -c conf/alembic.ini current'\n    secrets: inherit\n\n  head:\n    if: inputs.Task == 'db upgrade to head' && github.event.inputs.Destructive == 'true'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ inputs.Application }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'alembic -c conf/alembic.ini upgrade head'\n    secrets: inherit\n\n  next:\n    if: inputs.Task == 'db upgrade to next' && github.event.inputs.Destructive == 'true'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ inputs.Application }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'alembic -c conf/alembic.ini upgrade +1'\n    secrets: inherit\n\n  downgrade:\n    if: inputs.Task == 'db downgrade to previous' && github.event.inputs.Destructive == 'true'\n    needs: preflight\n    uses: hypothesis/workflows/.github/workflows/eb-task.yml@main\n    with:\n      App: ${{ inputs.Application }}\n      Env: ${{ inputs.Environment }}\n      Timeout: ${{ inputs.Timeout }}\n      Region: ${{ inputs.Region }}\n      Command: 'alembic -c conf/alembic.ini downgrade -1'\n    secrets: inherit\n", "state": "active", "repository": "hypothesis/via"}
{"mined_at": "2024-07-15T15:56:12.168650", "created_at": "2020-01-12T06:39:38+01:00", "updated_at": "2020-01-12T06:41:49+01:00", "name": "Deploy to Server", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy to Server\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Deploy\n    runs-on: ubuntu-latest\n    steps:\n      - name: executing remote ssh commands using key\n        uses: appleboy/ssh-action@v1.0.3\n        with:\n          host: ${{ secrets.host }}\n          username: ${{ secrets.user }}\n          key: ${{ secrets.id }}\n          port: ${{ secrets.port }}\n          script: |\n            cd ${{ secrets.deploy_dir }}\n            . venv-prod/bin/activate\n            cd website\n            git pull\n            python -m pip install --upgrade pip\n            pip install --upgrade --force-reinstall -r prod_requirements.txt\n            python manage.py migrate\n            python manage.py collectstatic --noinput\n            python manage.py compilemessages\n            echo \"${{ secrets.dingseboms_password }}\" | sudo -S systemctl restart gunicorn\n", "state": "active", "repository": "hackerspace-ntnu/website"}
{"mined_at": "2024-07-15T15:56:13.210970", "created_at": "2020-01-12T06:39:07+01:00", "updated_at": "2020-01-12T06:39:07+01:00", "name": "Python Integration", "path": ".github/workflows/integration.yml", "contents": "name: Python Integration\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade --force-reinstall -r prod_requirements.txt\n      - name:\n          Initialize Django\n          # Stop the build if migrations are not committed to repo. If action stops here,\n          # run `pt manage.py makemigrations` and commit the generated files.\n        run: |\n          python manage.py makemigrations --check\n          python manage.py migrate\n      - name: Run pre-commit hooks\n        run: |\n          pre-commit run --all-files\n      - name: Run Django tests\n        run: |\n          python manage.py test\n", "state": "active", "repository": "hackerspace-ntnu/website"}
{"mined_at": "2024-07-15T15:56:15.263840", "created_at": "2022-06-04T07:22:03+02:00", "updated_at": "2022-06-04T07:22:03+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\", \"dev\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\", \"dev\" ]\n  schedule:\n    - cron: '42 18 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "sabeechen/hassio-google-drive-backup"}
{"mined_at": "2024-07-15T15:56:16.313281", "created_at": "2021-04-29T20:26:04+02:00", "updated_at": "2021-04-29T20:33:40+02:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": "name: Lint\non: [push, pull_request]\njobs:\n  build:\n    name: Lint add-on configuration\n    runs-on: ubuntu-latest\n    steps:\n      - name: ⤵️ Check out code from GitHub\n        uses: actions/checkout@v4\n      - name: 🚀 Run Home Assistant Add-on Linter\n        uses: frenck/action-addon-linter@v2.15\n        with:\n          path: \"./hassio-google-drive-backup\"\n", "state": "active", "repository": "sabeechen/hassio-google-drive-backup"}
{"mined_at": "2024-07-15T15:56:17.360671", "created_at": "2021-04-21T22:48:25+02:00", "updated_at": "2021-04-22T08:28:19+02:00", "name": "push_to_prod", "path": ".github/workflows/prod_push.yaml", "contents": "name: push_to_prod\non: \n  workflow_dispatch:\n\njobs:\n  deploy_to_staging:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n  \n    - name: Check out dev repo\n      uses: actions/checkout@v4\n      with:\n        path: dev\n        persist-credentials: false\n\n    - name: Log in to the Container registry\n      uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Publish Addon Image\n      uses: home-assistant/builder@master\n      with:\n        args: |\n          --all \\\n          --target dev/hassio-google-drive-backup \\\n          --docker-hub \"ghcr.io/sabeechen\"\n", "state": "active", "repository": "sabeechen/hassio-google-drive-backup"}
{"mined_at": "2024-07-15T15:56:18.409067", "created_at": "2021-03-01T05:36:43+01:00", "updated_at": "2021-04-22T01:56:33+02:00", "name": "run-pytest", "path": ".github/workflows/pytest.yml", "contents": "name: run-pytest\non: \n  push:\n  pull_request:\n  workflow_dispatch:\njobs:\n  run-pytest:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r .devcontainer/requirements-dev.txt\n    - name: Install fping\n      run: sudo apt-get install fping\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-line-length=300 --statistics\n    - name: Test with pytest\n      run: |\n        pip install pytest\n        pip install pytest-cov\n        pytest hassio-google-drive-backup/tests --junitxml=junit/test-results.xml --cov=hassio-google-drive-backup/backup --cov-report=xml --cov-report=html\n    - name: Upload pytest test results\n      uses: actions/upload-artifact@v4\n      with:\n        name: pytest-results\n        path: junit/test-results.xml\n      if: ${{ always() }}\n    - name: Publish Unit Test Results\n      uses: EnricoMi/publish-unit-test-result-action@v2\n      if: always()\n      with:\n        files: junit/**/*.xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3.1.4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        files: ./coverage.xml\n        directory: ./coverage/reports/\n        flags: unittests\n        env_vars: OS,PYTHON\n        name: codecov-umbrella\n        fail_ci_if_error: true\n        path_to_write_report: ./coverage/codecov_report.txt\n        verbose: true\n", "state": "active", "repository": "sabeechen/hassio-google-drive-backup"}
{"mined_at": "2024-07-15T15:56:19.511098", "created_at": "2021-08-24T08:32:52+02:00", "updated_at": "2021-08-24T08:32:52+02:00", "name": "Server Image Push", "path": ".github/workflows/server_image_push.yml", "contents": "name: Server Image Push\n\non: \n  workflow_dispatch:\n\nenv:\n  IMAGE_NAME: addon-server\n\njobs:\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n      contents: read\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Build image\n        run: docker build -f hassio-google-drive-backup/Dockerfile-server --tag $IMAGE_NAME --label \"runnumber=${GITHUB_RUN_ID}\" hassio-google-drive-backup/.\n\n      - name: Log in to registry\n        # This is where you will update the PAT to GITHUB_TOKEN\n        run: echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n\n      - name: Push image\n        run: |\n          IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n          # Strip \"v\" prefix from tag name\n          [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n          echo IMAGE_ID=$IMAGE_ID\n          echo VERSION=$VERSION\n          docker tag $IMAGE_NAME $IMAGE_ID:run-$GITHUB_RUN_NUMBER\n          docker push $IMAGE_ID:run-$GITHUB_RUN_NUMBER\n", "state": "active", "repository": "sabeechen/hassio-google-drive-backup"}
{"mined_at": "2024-07-15T15:56:20.521020", "created_at": "2021-04-22T01:56:33+02:00", "updated_at": "2021-04-22T01:56:33+02:00", "name": "push_to_staging", "path": ".github/workflows/staging_push.yml", "contents": "name: push_to_staging\nconcurrency:\n  # Only run this workflow one at a time, and cancel any in progress\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non: \n  workflow_dispatch:\n    branches:\n      - dev\n    inputs:\n      name:\n        # Friendly description to be shown in the UI instead of 'name'\n        description: 'Staging Verison Override'\n        # Default value if no value is explicitly provided\n        default: 'increment'\n\njobs:\n  run-pytest:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    # Check out the current branch\n    - uses: actions/checkout@v4\n      with:\n        path: dev\n    # Check out the staging barnch\n    - uses: actions/checkout@v4\n      with:\n        path: staging\n        repository: sabeechen/hgdb-dev-staging\n    - run: |\n          python3 staging/update.py dev staging\n", "state": "active", "repository": "sabeechen/hassio-google-drive-backup"}
{"mined_at": "2024-07-15T15:56:21.554792", "created_at": "2021-03-14T23:38:22+01:00", "updated_at": "2021-04-22T01:56:33+02:00", "name": "push_to_staging", "path": ".github/workflows/test_staging_push.yml", "contents": "name: push_to_staging\non: \n  workflow_dispatch:\n  push:\n    branches:\n      - dev\n\njobs:\n  deploy_to_staging:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n  \n    - name: Check out dev repo\n      uses: actions/checkout@v4\n      with:\n        path: dev\n        persist-credentials: false\n    \n    - name: Checkout Staging Repo\n      uses: actions/checkout@v4\n      with:\n        path: staging\n        repository: sabeechen/hgdb-dev-staging\n        persist-credentials: true\n        token: ${{ secrets.STAGING_REPO_TOKEN }}\n\n    - name: Update addon verison number\n      run: |\n          python3 staging/update.py dev staging\n\n    - name: Log in to the Container registry\n      uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Publish Staging Addon image\n      uses: home-assistant/builder@master\n      with:\n        args: |\n          --all \\\n          --target dev/hassio-google-drive-backup \\\n          --docker-hub \"ghcr.io/sabeechen\"\n\n    - name: Publish Staging Addon Version\n      run: |\n          cd staging\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git add .\n          git commit -m \"Updating staging addon config\"\n          git push\n", "state": "active", "repository": "sabeechen/hassio-google-drive-backup"}
{"mined_at": "2024-07-15T15:56:25.748399", "created_at": "2021-04-02T02:57:49+02:00", "updated_at": "2024-06-16T16:05:35+02:00", "name": "ChangeDetection.io App Test", "path": ".github/workflows/test-only.yml", "contents": "name: ChangeDetection.io App Test\n\n# Triggers the workflow on push or pull request events\non: [push, pull_request]\n\njobs:\n  lint-code:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Lint with flake8\n        run: |\n          pip3 install flake8\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n  test-application-3-10:\n    needs: lint-code\n    uses: ./.github/workflows/test-stack-reusable-workflow.yml\n    with:\n      python-version: '3.10'\n\n\n  test-application-3-11:\n    needs: lint-code\n    uses: ./.github/workflows/test-stack-reusable-workflow.yml\n    with:\n      python-version: '3.11'\n      skip-pypuppeteer: true\n\n  test-application-3-12:\n    needs: lint-code\n    uses: ./.github/workflows/test-stack-reusable-workflow.yml\n    with:\n      python-version: '3.12'\n      skip-pypuppeteer: true\n\n", "state": "active", "repository": "dgtlmoon/changedetection.io"}
{"mined_at": "2024-07-15T15:56:26.799345", "created_at": "2021-04-04T06:27:32+02:00", "updated_at": "2021-04-04T06:27:32+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  schedule:\n    - cron: '27 9 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "dgtlmoon/changedetection.io"}
{"mined_at": "2024-07-15T15:56:27.912068", "created_at": "2021-10-05T10:40:51+02:00", "updated_at": "2021-10-05T10:48:05+02:00", "name": "Build and push containers", "path": ".github/workflows/containers.yml", "contents": "name: Build and push containers\n\non:\n  # Automatically triggered by a testing workflow passing, but this is only checked when it lands in the `master`/default branch\n#  workflow_run:\n#    workflows: [\"ChangeDetection.io Test\"]\n#    branches: [master]\n#    tags: ['0.*']\n#    types: [completed]\n\n  # Or a new tagged release\n  release:\n    types: [published, edited]\n\n  push:\n    branches:\n      - master\n\njobs:\n  metadata:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Show metadata\n      run: |\n        echo SHA ${{ github.sha }}\n        echo github.ref:  ${{ github.ref }}\n        echo github_ref: $GITHUB_REF\n        echo Event name: ${{ github.event_name }}\n        echo Ref ${{ github.ref }}\n        echo c: ${{ github.event.workflow_run.conclusion }}\n        echo r: ${{ github.event.workflow_run }}\n        echo tname: \"${{ github.event.release.tag_name }}\"\n        echo headbranch: -${{ github.event.workflow_run.head_branch }}-\n        set\n\n  build-push-containers:\n    runs-on: ubuntu-latest\n    # If the testing workflow has a success, then we build to :latest\n    # Or if we are in a tagged release scenario.\n    if: ${{ github.event.workflow_run.conclusion == 'success' }} || ${{ github.event.release.tag_name }} != ''\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n      - name: Create release metadata\n        run: |\n          # COPY'ed by Dockerfile into changedetectionio/ of the image, then read by the server in store.py\n          echo ${{ github.sha }} > changedetectionio/source.txt\n          echo ${{ github.ref }} > changedetectionio/tag.txt\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          image: tonistiigi/binfmt:latest\n          platforms: all\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Login to Docker Hub Container Registry\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          install: true\n          version: latest\n          driver-opts: image=moby/buildkit:master\n\n      # master branch -> :dev container tag\n      - name: Build and push :dev\n        id: docker_build\n        if: ${{ github.ref }} == \"refs/heads/master\"\n        uses: docker/build-push-action@v5\n        with:\n          context: ./\n          file: ./Dockerfile\n          push: true\n          tags: |\n            ${{ secrets.DOCKER_HUB_USERNAME }}/changedetection.io:dev,ghcr.io/${{ github.repository }}:dev\n          platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/arm/v8\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n# Looks like this was disabled\n#          provenance: false\n\n      # A new tagged release is required, which builds :tag and :latest\n      - name: Build and push :tag\n        id: docker_build_tag_release\n        if: github.event_name == 'release' && startsWith(github.event.release.tag_name, '0.')\n        uses: docker/build-push-action@v5\n        with:\n          context: ./\n          file: ./Dockerfile\n          push: true\n          tags: |\n            ${{ secrets.DOCKER_HUB_USERNAME }}/changedetection.io:${{ github.event.release.tag_name }}\n            ghcr.io/dgtlmoon/changedetection.io:${{ github.event.release.tag_name }}\n            ${{ secrets.DOCKER_HUB_USERNAME }}/changedetection.io:latest\n            ghcr.io/dgtlmoon/changedetection.io:latest\n          platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/arm/v8\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n# Looks like this was disabled\n#          provenance: false\n\n      - name: Image digest\n        run: echo step SHA ${{ steps.vars.outputs.sha_short }} tag ${{steps.vars.outputs.tag}} branch ${{steps.vars.outputs.branch}} digest ${{ steps.docker_build.outputs.digest }}\n\n", "state": "active", "repository": "dgtlmoon/changedetection.io"}
{"mined_at": "2024-07-15T15:56:28.919594", "created_at": "2022-10-09T22:37:21+02:00", "updated_at": "2022-10-23T18:24:19+02:00", "name": "ChangeDetection.io Container Build Test", "path": ".github/workflows/test-container-build.yml", "contents": "name: ChangeDetection.io Container Build Test\n\n# Triggers the workflow on push or pull request events\n\n# This line doesnt work, even tho it is the documented one\n#on: [push, pull_request]\n\non:\n  push:\n    paths:\n      - requirements.txt\n      - Dockerfile\n      - .github/workflows/*\n      - .github/test/Dockerfile*\n\n  pull_request:\n    paths:\n      - requirements.txt\n      - Dockerfile\n      - .github/workflows/*\n      - .github/test/Dockerfile*\n\n  # Changes to requirements.txt packages and Dockerfile may or may not always be compatible with arm etc, so worth testing\n  # @todo: some kind of path filter for requirements.txt and Dockerfile\njobs:\n  test-container-build:\n    runs-on: ubuntu-latest\n    steps:\n        - uses: actions/checkout@v4\n        - name: Set up Python 3.11\n          uses: actions/setup-python@v5\n          with:\n            python-version: 3.11\n\n        # Just test that the build works, some libraries won't compile on ARM/rPi etc\n        - name: Set up QEMU\n          uses: docker/setup-qemu-action@v3\n          with:\n            image: tonistiigi/binfmt:latest\n            platforms: all\n\n        - name: Set up Docker Buildx\n          id: buildx\n          uses: docker/setup-buildx-action@v3\n          with:\n            install: true\n            version: latest\n            driver-opts: image=moby/buildkit:master\n\n        # https://github.com/dgtlmoon/changedetection.io/pull/1067\n        # Check we can still build under alpine/musl\n        - name: Test that the docker containers can build (musl via alpine check)\n          id: docker_build_musl\n          uses: docker/build-push-action@v5\n          with:\n            context: ./\n            file: ./.github/test/Dockerfile-alpine\n            platforms: linux/amd64,linux/arm64\n\n        - name: Test that the docker containers can build\n          id: docker_build\n          uses: docker/build-push-action@v5\n          # https://github.com/docker/build-push-action#customizing\n          with:\n            context: ./\n            file: ./Dockerfile\n            platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/arm/v8\n            cache-from: type=local,src=/tmp/.buildx-cache\n            cache-to: type=local,dest=/tmp/.buildx-cache\n\n", "state": "active", "repository": "dgtlmoon/changedetection.io"}
{"mined_at": "2024-07-15T15:56:29.943248", "created_at": "2024-01-05T17:27:55+01:00", "updated_at": "2024-01-05T17:27:55+01:00", "name": "Publish Python 🐍distribution 📦 to PyPI and TestPyPI", "path": ".github/workflows/pypi-release.yml", "contents": "name: Publish Python 🐍distribution 📦 to PyPI and TestPyPI\n\non: push\njobs:\n  build:\n    name: Build distribution 📦\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - name: Install pypa/build\n      run: >-\n        python3 -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: python3 -m build\n    - name: Store the distribution packages\n      uses: actions/upload-artifact@v4\n      with:\n        name: python-package-distributions\n        path: dist/\n\n\n  test-pypi-package:\n    name: Test the built 📦 package works basically.\n    runs-on: ubuntu-latest\n    needs:\n    - build\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v4\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Test that the basic pip built package runs without error\n      run: |\n        set -ex\n        sudo pip3 install --upgrade pip \n        pip3 install dist/changedetection.io*.whl\n        changedetection.io -d /tmp -p 10000 &\n        sleep 3\n        curl --retry-connrefused --retry 6 http://127.0.0.1:10000/static/styles/pure-min.css >/dev/null\n        curl --retry-connrefused --retry 6 http://127.0.0.1:10000/ >/dev/null\n        killall changedetection.io\n\n\n  publish-to-pypi:\n    name: >-\n      Publish Python 🐍 distribution 📦 to PyPI\n    if: startsWith(github.ref, 'refs/tags/')  # only publish to PyPI on tag pushes\n    needs:\n    - test-pypi-package\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n      url: https://pypi.org/p/changedetection.io\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v4\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "dgtlmoon/changedetection.io"}
{"mined_at": "2024-07-15T15:56:31.013724", "created_at": "2024-06-17T09:46:55+02:00", "updated_at": "2024-06-17T09:46:55+02:00", "name": "ChangeDetection.io App Test", "path": ".github/workflows/test-stack-reusable-workflow.yml", "contents": "name: ChangeDetection.io App Test\n\non:\n  workflow_call:\n    inputs:\n      python-version:\n        description: 'Python version to use'\n        required: true\n        type: string\n        default: '3.10'\n      skip-pypuppeteer:\n        description: 'Skip PyPuppeteer (not supported in 3.11/3.12)'\n        required: false\n        type: boolean\n        default: false\n\njobs:\n  test-application:\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: ${{ inputs.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n\n      # Mainly just for link/flake8\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Build changedetection.io container for testing under Python ${{ env.PYTHON_VERSION }}\n        run: |\n          echo \"---- Building for Python ${{ env.PYTHON_VERSION }} -----\"\n          # Build a changedetection.io container and start testing inside\n          docker build --build-arg PYTHON_VERSION=${{ env.PYTHON_VERSION }} --build-arg LOGGER_LEVEL=TRACE -t test-changedetectionio .\n          # Debug info\n          docker run test-changedetectionio  bash -c 'pip list'         \n\n      - name: We should be Python ${{ env.PYTHON_VERSION }} ...\n        run: |         \n          docker run test-changedetectionio  bash -c 'python3 --version'\n\n      - name: Spin up ancillary testable services\n        run: |\n          \n          docker network create changedet-network\n          \n          # Selenium\n          docker run --network changedet-network -d --hostname selenium  -p 4444:4444 --rm --shm-size=\"2g\"  selenium/standalone-chrome:4\n          \n          # SocketPuppetBrowser + Extra for custom browser test\n          docker run --network changedet-network -d -e \"LOG_LEVEL=TRACE\" --cap-add=SYS_ADMIN --name sockpuppetbrowser --hostname sockpuppetbrowser --rm -p 3000:3000 dgtlmoon/sockpuppetbrowser:latest                    \n          docker run --network changedet-network -d -e \"LOG_LEVEL=TRACE\" --cap-add=SYS_ADMIN --name sockpuppetbrowser-custom-url --hostname sockpuppetbrowser-custom-url  -p 3001:3000 --rm dgtlmoon/sockpuppetbrowser:latest\n\n      - name: Spin up ancillary SMTP+Echo message test server\n        run: |\n          # Debug SMTP server/echo message back server\n          docker run --network changedet-network -d -p 11025:11025 -p 11080:11080  --hostname mailserver test-changedetectionio  bash -c 'pip3 install aiosmtpd && python changedetectionio/tests/smtp/smtp-test-server.py'\n          docker ps\n\n      - name: Show docker container state and other debug info\n        run: |\n          set -x\n          echo \"Running processes in docker...\"\n          docker ps\n\n      - name: Test built container with Pytest (generally as requests/plaintext fetching)\n        run: |\n          # Unit tests\n          echo \"run test with unittest\"\n          docker run test-changedetectionio  bash -c 'python3 -m unittest changedetectionio.tests.unit.test_notification_diff'\n          docker run test-changedetectionio  bash -c 'python3 -m unittest changedetectionio.tests.unit.test_watch_model'\n          docker run test-changedetectionio  bash -c 'python3 -m unittest changedetectionio.tests.unit.test_jinja2_security'\n          \n          # All tests\n          echo \"run test with pytest\"\n          # The default pytest logger_level is TRACE\n          # To change logger_level for pytest(test/conftest.py),\n          # append the docker option. e.g. '-e LOGGER_LEVEL=DEBUG'\n          docker run --name test-cdio-basic-tests --network changedet-network  test-changedetectionio  bash -c 'cd changedetectionio && ./run_basic_tests.sh'\n\n# PLAYWRIGHT/NODE-> CDP\n      - name: Playwright and SocketPuppetBrowser - Specific tests in built container\n        run: |\n          # Playwright via Sockpuppetbrowser fetch\n          # tests/visualselector/test_fetch_data.py will do browser steps  \n          docker run --rm -e \"FLASK_SERVER_NAME=cdio\" -e \"PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000\" --network changedet-network --hostname=cdio test-changedetectionio  bash -c 'cd changedetectionio;pytest --live-server-host=0.0.0.0 --live-server-port=5004 tests/fetchers/test_content.py'\n          docker run --rm -e \"FLASK_SERVER_NAME=cdio\" -e \"PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000\" --network changedet-network --hostname=cdio test-changedetectionio  bash -c 'cd changedetectionio;pytest --live-server-host=0.0.0.0 --live-server-port=5004 tests/test_errorhandling.py'\n          docker run --rm -e \"FLASK_SERVER_NAME=cdio\" -e \"PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000\" --network changedet-network --hostname=cdio test-changedetectionio  bash -c 'cd changedetectionio;pytest --live-server-host=0.0.0.0 --live-server-port=5004 tests/visualselector/test_fetch_data.py'\n          docker run --rm -e \"FLASK_SERVER_NAME=cdio\" -e \"PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000\" --network changedet-network --hostname=cdio test-changedetectionio  bash -c 'cd changedetectionio;pytest --live-server-host=0.0.0.0 --live-server-port=5004 tests/fetchers/test_custom_js_before_content.py'\n\n\n      - name: Playwright and SocketPuppetBrowser - Headers and requests\n        run: |       \n          # Settings headers playwright tests - Call back in from Sockpuppetbrowser, check headers\n          docker run --name \"changedet\" --hostname changedet --rm -e \"FLASK_SERVER_NAME=changedet\" -e \"PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000?dumpio=true\" --network changedet-network test-changedetectionio  bash -c 'cd changedetectionio; pytest --live-server-host=0.0.0.0  --live-server-port=5004 tests/test_request.py'\n\n      - name: Playwright and SocketPuppetBrowser - Restock detection\n        run: |                            \n          # restock detection via playwright - added name=changedet here so that playwright and sockpuppetbrowser can connect to it\n          docker run --rm --name \"changedet\" -e \"FLASK_SERVER_NAME=changedet\" -e \"PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000\" --network changedet-network test-changedetectionio  bash -c 'cd changedetectionio;pytest --live-server-port=5004 --live-server-host=0.0.0.0 tests/restock/test_restock.py'\n\n# STRAIGHT TO CDP\n      - name: Pyppeteer and SocketPuppetBrowser - Specific tests in built container\n        if: ${{ inputs.skip-pypuppeteer == false }}\n        run: |\n          # Playwright via Sockpuppetbrowser fetch \n          docker run --rm -e \"FLASK_SERVER_NAME=cdio\" -e \"FAST_PUPPETEER_CHROME_FETCHER=True\" -e \"PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000\" --network changedet-network --hostname=cdio test-changedetectionio  bash -c 'cd changedetectionio;pytest --live-server-host=0.0.0.0 --live-server-port=5004 tests/fetchers/test_content.py'\n          docker run --rm -e \"FLASK_SERVER_NAME=cdio\" -e \"FAST_PUPPETEER_CHROME_FETCHER=True\" -e \"PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000\" --network changedet-network --hostname=cdio test-changedetectionio  bash -c 'cd changedetectionio;pytest --live-server-host=0.0.0.0 --live-server-port=5004 tests/test_errorhandling.py'\n          docker run --rm -e \"FLASK_SERVER_NAME=cdio\" -e \"FAST_PUPPETEER_CHROME_FETCHER=True\" -e \"PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000\" --network changedet-network --hostname=cdio test-changedetectionio  bash -c 'cd changedetectionio;pytest --live-server-host=0.0.0.0 --live-server-port=5004 tests/visualselector/test_fetch_data.py'\n          docker run --rm -e \"FLASK_SERVER_NAME=cdio\" -e \"FAST_PUPPETEER_CHROME_FETCHER=True\" -e \"PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000\" --network changedet-network --hostname=cdio test-changedetectionio  bash -c 'cd changedetectionio;pytest --live-server-host=0.0.0.0 --live-server-port=5004 tests/fetchers/test_custom_js_before_content.py'\n\n      - name: Pyppeteer and SocketPuppetBrowser - Headers and requests checks\n        if: ${{ inputs.skip-pypuppeteer == false }}\n        run: |\n          # Settings headers playwright tests - Call back in from Sockpuppetbrowser, check headers\n          docker run --name \"changedet\" --hostname changedet --rm  -e \"FAST_PUPPETEER_CHROME_FETCHER=True\" -e \"FLASK_SERVER_NAME=changedet\" -e \"PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000?dumpio=true\" --network changedet-network test-changedetectionio  bash -c 'cd changedetectionio; pytest --live-server-host=0.0.0.0  --live-server-port=5004 tests/test_request.py'\n\n      - name: Pyppeteer and SocketPuppetBrowser - Restock detection\n        if: ${{ inputs.skip-pypuppeteer == false }}\n        run: |                            \n          # restock detection via playwright - added name=changedet here so that playwright and sockpuppetbrowser can connect to it\n          docker run --rm --name \"changedet\" -e \"FLASK_SERVER_NAME=changedet\"  -e \"FAST_PUPPETEER_CHROME_FETCHER=True\"  -e \"PLAYWRIGHT_DRIVER_URL=ws://sockpuppetbrowser:3000\" --network changedet-network test-changedetectionio  bash -c 'cd changedetectionio;pytest --live-server-port=5004 --live-server-host=0.0.0.0 tests/restock/test_restock.py'\n\n# SELENIUM\n      - name: Specific tests in built container for Selenium\n        run: |\n          # Selenium fetch\n          docker run --rm -e \"WEBDRIVER_URL=http://selenium:4444/wd/hub\" --network changedet-network test-changedetectionio  bash -c 'cd changedetectionio;pytest tests/fetchers/test_content.py && pytest tests/test_errorhandling.py'\n\n      - name: Specific tests in built container for headers and requests checks with Selenium\n        run: |\n          docker run --name \"changedet\" --hostname changedet --rm -e \"FLASK_SERVER_NAME=changedet\" -e \"WEBDRIVER_URL=http://selenium:4444/wd/hub\" --network changedet-network test-changedetectionio  bash -c 'cd changedetectionio; pytest --live-server-host=0.0.0.0  --live-server-port=5004 tests/test_request.py'\n\n# OTHER STUFF\n      - name: Test SMTP notification mime types\n        run: |\n          # SMTP content types - needs the 'Debug SMTP server/echo message back server' container from above\n          # \"mailserver\" hostname defined above\n          docker run --rm --network changedet-network test-changedetectionio bash -c 'cd changedetectionio;pytest tests/smtp/test_notification_smtp.py'\n\n      # @todo Add a test via playwright/puppeteer\n      # squid with auth is tested in run_proxy_tests.sh -> tests/proxy_list/test_select_custom_proxy.py\n      - name: Test proxy squid style interaction\n        run: |\n          cd changedetectionio\n          ./run_proxy_tests.sh\n          cd ..\n\n      - name: Test proxy SOCKS5 style interaction\n        run: |\n          cd changedetectionio\n          ./run_socks_proxy_tests.sh\n          cd ..\n\n      - name: Test custom browser URL\n        run: |\n          cd changedetectionio\n          ./run_custom_browser_url_tests.sh\n          cd ..\n\n      - name: Test changedetection.io container starts+runs basically without error\n        run: |\n          docker run --name test-changedetectionio -p 5556:5000  -d test-changedetectionio\n          sleep 3\n          # Should return 0 (no error) when grep finds it\n          curl --retry-connrefused --retry 6  -s http://localhost:5556 |grep -q checkbox-uuid\n          \n          # and IPv6\n          curl --retry-connrefused --retry 6  -s -g -6 \"http://[::1]:5556\"|grep -q checkbox-uuid\n\n          # Check whether TRACE log is enabled.\n          # Also, check whether TRACE is came from STDERR\n          docker logs test-changedetectionio 2>&1 1>/dev/null | grep 'TRACE log is enabled' || exit 1\n          # Check whether DEBUG is came from STDOUT\n          docker logs test-changedetectionio 2>/dev/null | grep 'DEBUG' || exit 1\n\n          docker kill test-changedetectionio\n\n      - name: Test changedetection.io SIGTERM and SIGINT signal shutdown\n        run: |\n          \n          echo SIGINT Shutdown request test\n          docker run --name sig-test -d test-changedetectionio\n          sleep 3\n          echo \">>> Sending SIGINT to sig-test container\"\n          docker kill --signal=SIGINT sig-test\n          sleep 3\n          # invert the check (it should be not 0/not running)\n          docker ps\n          # check signal catch(STDERR) log. Because of\n          # changedetectionio/__init__.py: logger.add(sys.stderr, level=logger_level)\n          docker logs sig-test 2>&1 | grep 'Shutdown: Got Signal - SIGINT' || exit 1\n          test -z \"`docker ps|grep sig-test`\"\n          if [ $? -ne 0 ]\n          then\n            echo \"Looks like container was running when it shouldnt be\"\n            docker ps\n            exit 1\n          fi\n          \n          # @todo - scan the container log to see the right \"graceful shutdown\" text exists \n          docker rm sig-test\n          \n          echo SIGTERM Shutdown request test\n          docker run --name sig-test -d test-changedetectionio\n          sleep 3\n          echo \">>> Sending SIGTERM to sig-test container\"\n          docker kill --signal=SIGTERM sig-test\n          sleep 3\n          # invert the check (it should be not 0/not running)\n          docker ps\n          # check signal catch(STDERR) log. Because of\n          # changedetectionio/__init__.py: logger.add(sys.stderr, level=logger_level)\n          docker logs sig-test 2>&1 | grep 'Shutdown: Got Signal - SIGTERM' || exit 1\n          test -z \"`docker ps|grep sig-test`\"\n          if [ $? -ne 0 ]\n          then\n            echo \"Looks like container was running when it shouldnt be\"\n            docker ps\n            exit 1\n          fi\n          \n          # @todo - scan the container log to see the right \"graceful shutdown\" text exists           \n          docker rm sig-test\n\n      - name: Dump container log\n        if: always()\n        run: |\n          mkdir output-logs\n          docker logs test-cdio-basic-tests > output-logs/test-cdio-basic-tests-stdout-${{ env.PYTHON_VERSION }}.txt\n          docker logs test-cdio-basic-tests 2> output-logs/test-cdio-basic-tests-stderr-${{ env.PYTHON_VERSION }}.txt\n\n      - name: Store container log\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-cdio-basic-tests-output-py${{ env.PYTHON_VERSION }}\n          path: output-logs\n", "state": "active", "repository": "dgtlmoon/changedetection.io"}
{"mined_at": "2024-07-15T15:56:33.145079", "created_at": "2021-05-20T05:31:20+02:00", "updated_at": "2022-06-03T05:14:22+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup\n        with:\n          python-version: ${{ matrix.python-version }}\n      - run: npm install --location=global gulp-cli\n      - run: npm install\n      - run: gulp lint\n      - run: gulp coverage\n      - name: Submit results to Coveralls\n        uses: AndreMiras/coveralls-python-action@develop\n        with:\n          github-token: ${{ secrets.github_token }}\n          flag-name: test-python-${{ matrix.python-version }}\n          parallel: true\n  coveralls-finish:\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - name: Coveralls Finished\n        uses: AndreMiras/coveralls-python-action@develop\n        with:\n          github-token: ${{ secrets.github_token }}\n          parallel-finished: true\n  deploy-docs:\n    needs: test\n    runs-on: ubuntu-latest\n    environment:\n      name: documentation\n      url: https://docs.baby-buddy.net\n    if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v42\n        with:\n          files: |\n            docs/**\n      - name: Deploy docs\n        if: steps.changed-files.outputs.any_changed == 'true'\n        uses: mhausenblas/mkdocs-deploy-gh-pages@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.github_token }}\n          REQUIREMENTS: docs/requirements.txt\n", "state": "active", "repository": "babybuddy/babybuddy"}
{"mined_at": "2024-07-15T15:56:34.176001", "created_at": "2021-09-25T21:14:01+02:00", "updated_at": "2021-09-25T21:14:01+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: \"33 0 * * 3\"\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"javascript\", \"python\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: github/codeql-action/init@v3\n        with:\n          config-file: ./.github/codeql/codeql-config.yml\n          languages: ${{ matrix.language }}\n      - uses: ./.github/actions/setup\n      - uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "babybuddy/babybuddy"}
{"mined_at": "2024-07-15T15:56:35.189685", "created_at": "2021-12-21T22:46:23+01:00", "updated_at": "2021-12-21T22:46:23+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "babybuddy/babybuddy"}
{"mined_at": "2024-07-15T15:56:37.312163", "created_at": "2021-02-24T19:18:31+01:00", "updated_at": "2021-02-25T12:05:12+01:00", "name": "Tests", "path": ".github/workflows/unit-tests.yml", "contents": "name: Tests\n\non: [push, workflow_dispatch]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.11']\n\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v2\n\n#      - name: Setup ffmpeg\n#        uses: FedericoCarboni/setup-ffmpeg@v1\n#        id: setup-ffmpeg\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --quiet tensorflow tensorflow-probability torch jax jaxlib scikit-learn plotly nbformat ipython pylint coverage pytest\n          pip install .\n\n      - name: Test with pytest\n        run: |\n          coverage run -m pytest tests/commit\n", "state": "active", "repository": "tum-pbs/phiflow"}
{"mined_at": "2024-07-15T15:56:38.334111", "created_at": "2021-07-03T16:56:35+02:00", "updated_at": "2022-04-26T14:55:20+02:00", "name": "Update Documentation", "path": ".github/workflows/update-gh-pages.yml", "contents": "name: Update Documentation\n\non:\n  push:\n    branches:\n      - develop\n\njobs:\n  build-and-deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout 🛎️\n        uses: actions/checkout@v2.3.1\n\n      - name: Setup ffmpeg\n        uses: FedericoCarboni/setup-ffmpeg@v1\n        id: setup-ffmpeg\n        \n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n        \n      - name: Install dependencies 🔧\n        run: |\n          python --version\n          python -m pip install --upgrade pip\n          pip install --quiet pdoc3 tensorflow torch jax jaxlib plotly \"nbformat==5.4.0\" ipython notebook ipywidgets tqdm\n          pip install .\n          pip list\n        \n      - name: Build API with pdoc3\n        run: pdoc --html --output-dir docs --force phi\n        \n      - name: Build static HTML for Jupyter Notebooks\n        run: |\n          jupyter nbconvert --to html --execute --allow-errors docs/*.ipynb\n          jupyter nbconvert --to html --output-dir docs/ docs/prerendered/*.ipynb\n\n      - name: Deploy 🚀\n        uses: JamesIves/github-pages-deploy-action@4.1.4  # See https://github.com/marketplace/actions/deploy-to-github-pages\n        with:\n          branch: gh-pages # The branch the action should deploy to.\n          folder: docs # The folder the action should deploy.\n", "state": "active", "repository": "tum-pbs/phiflow"}
{"mined_at": "2024-07-15T15:56:39.379581", "created_at": "2021-12-23T20:13:31+01:00", "updated_at": "2021-12-23T20:13:31+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tum-pbs/phiflow"}
{"mined_at": "2024-07-15T15:56:41.505106", "created_at": "2021-05-01T11:14:16+02:00", "updated_at": "2021-05-01T11:14:16+02:00", "name": "BI Refresh", "path": ".github/workflows/bi-refresh.yml", "contents": "---\nname: BI Refresh\non:\n  schedule:\n    - cron: '28 0 * * 1'\n  workflow_dispatch:\n\nenv:\n  GITHUB_REPOSITORY: ${{ github.repository }}\n  GITHUB_ORGANIZATION: ${{ github.repository_owner }}\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n\njobs:\n  deploy-bi:\n    strategy:\n      fail-fast: false\n      matrix:\n        environment: [prod, staging]\n    name: \"Refresh BI (${{ matrix.environment }})\"\n    runs-on: ubuntu-latest\n    env:\n      HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}\n      COMPOSE_FILE: \"docker-compose.dbt.yaml\"\n    steps:\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: \"Login to Github Docker Registry\"\n        run: ./scripts/docker_login_github.py\n      - name: \"Build BI image\"\n        run: |\n          # Build BI image\n          ./scripts/bi-docker-image/build_image.sh\n          # Verify BI image\n          ./scripts/bi-docker-image/verify_image.sh\n      - name: \"Set environment env variable\"\n        run: |-\n          pip install django-environ\n          source <(python ./pola-bi/dev.py --environment \"${TARGET_ENV}\")\n          printenv | grep POLA_APP | cut -d \"=\" -f 2- | xargs -n 1 -I {} echo \"::add-mask::{}\"\n          printenv | grep POLA_APP >> $GITHUB_ENV;\n        env:\n          TARGET_ENV: ${{ matrix.environment }}\n      - run: ./run_dbt.sh dbt deps\n      - run: ./run_dbt.sh dbt build\n", "state": "active", "repository": "klubjagiellonski/pola-backend"}
{"mined_at": "2024-07-15T15:56:42.574779", "created_at": "2024-04-18T17:26:24+02:00", "updated_at": "2024-04-22T17:54:15+02:00", "name": "Transfer PostgresSQL to BigQuery", "path": ".github/workflows/bi-transfer_pola_backend_to_bq.yml", "contents": "---\nname: Transfer PostgresSQL to BigQuery\n\non:\n  workflow_dispatch:\n    inputs:\n      heroku_app:\n        description: 'Heroku app [pola-app/pola-staging]'\n        required: true\n        default: 'pola-staging'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'pola-bi/**'\n      - '.github/workflows/bi-transfer_pola_backend_to_bq.yml'\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    # This workflow will be run at 5:12 on the first day of every month.\n    - cron: '12 5 1 * *'\n\npermissions:\n  id-token: write # This is required for requesting the JWT\n  contents: read  # This is required for actions/checkout\n\nenv:\n  GITHUB_REPOSITORY: ${{ github.repository }}\n  GITHUB_ORGANIZATION: ${{ github.repository_owner }}\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  GCP_PROJECT_ID: pola-bi-looker\n  GCP_PROJECT_NUMBER: 354540873199\n  GCP_REGION: europe-west3\n  GCP_BUCKET_NAME: pola-app_pola-backend_postgres_csv-files\n  GCP_IDENTITY_POOL: github\n  GCP_IDENTITY_PROVIDER: pola-backend-repo\n\njobs:\n  deploy-bi:\n    name: \"Transfer PostgresSQL to BQ\"\n    runs-on: ubuntu-latest\n    env:\n      HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}\n    steps:\n      - name: Set dynamic job variable\n        shell: python\n        run: |\n          import os\n          from pathlib import Path\n\n          event_name = os.environ[\"GITHUB_EVENT_NAME\"]\n          github_env_file_path = Path(os.environ[\"GITHUB_ENV\"])\n          if event_name == \"schedule\":\n              heroku_app = \"pola-staging\"\n          elif event_name == \"workflow_dispatch\":\n              heroku_app = os.environ[\"INPUT_HEROKU_APP\"]\n          elif event_name == \"pull_request\":\n              heroku_app = \"pola-staging\"\n          else:\n              raise Exception(f\"Unknown event: {event_name}\")\n          if heroku_app == \"pola-app\":\n              env_name = \"prod\"\n          elif heroku_app == \"pola-staging\":\n              env_name = \"staging\"\n          else:\n              raise Exception(f\"Unknown app: {heroku_app}\")\n          with github_env_file_path.open(\"a\") as file:\n              file.write(f\"ENV_NAME={env_name}\\n\")\n              file.write(f\"HEROKU_APP={heroku_app}\\n\")\n              file.write(f\"GCP_BIGQUERY_DATASET=pola_backend__{env_name}\\n\")\n        env:\n          INPUT_HEROKU_APP: ${{ github.event.inputs.heroku_app }}\n          GITHUB_EVENT_NAME: ${{ github.event_name }}\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      # Use Open ID Connect to authenticate to GCP\n      # For details, see:\n      # https://cloud.google.com/blog/products/identity-security/enabling-keyless-authentication-from-github-actions\n      - id: 'auth'\n        name: 'Authenticate to GCP'\n        uses: 'google-github-actions/auth@v2'\n        with:\n          project_id: '${{ env.GCP_PROJECT_ID }}'\n          # yamllint disable-line rule:line-length\n          workload_identity_provider: 'projects/${{ env.GCP_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/${{ env.GCP_IDENTITY_POOL }}/providers/${{ env.GCP_IDENTITY_PROVIDER }}'\n          export_environment_variables: true\n          create_credentials_file: true\n      - name: 'Set up Cloud SDK'\n        uses: 'google-github-actions/setup-gcloud@v2'\n      - name: Install Heroku CLI\n        run: |\n          curl https://cli-assets.heroku.com/install.sh | sh\n        env:\n          HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}\n      - name: Retrieve PostgreSQL credentials\n        run: |\n          DATABASE_URL=$(heroku config:get DATABASE_URL --app \"${HEROKU_APP}\")\n          echo \"::add-mask::$DATABASE_URL\"\n          echo \"DATABASE_URL=$DATABASE_URL\" >> $GITHUB_ENV\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: \"Install dependencies\"\n        run: pip install google-cloud-bigquery google-cloud-storage psycopg2-binary\n      - name: Run transfer script\n        env:\n          TABLE_NAMES: |\n             ai_pics_aiattachment,\n             ai_pics_aipics,\n             bi_companies_by_query_group,\n             bi_companies_with_count_group,\n             bi_new_product_by_hour,\n             bi_popular_not_verified_products,\n             bi_product_by_time,\n             bi_queries_by_time,\n             bi_queries_stats_intervals,\n             bi_stats_queries_uq_users_by_week,\n             company_brand,\n             company_company,\n             gpc_brick,\n             gpc_class,\n             gpc_family,\n             gpc_segment,\n             pola_query,\n             pola_searchquery,\n             pola_stats,\n             product_product,\n             report_attachment,\n             report_report,\n             users_user\n        run: |\n          python ./pola-bi/postgres_to_bigquery.py --verbose all \\\n            --database-url \"${DATABASE_URL}\" \\\n            --table-names \"${TABLE_NAMES}\" \\\n            --staging-url \"gs://${GCP_BUCKET_NAME}/\" \\\n            --dataset-id \"${GCP_BIGQUERY_DATASET}\" \\\n", "state": "active", "repository": "klubjagiellonski/pola-backend"}
{"mined_at": "2024-07-15T15:56:43.595507", "created_at": "2024-04-18T02:27:51+02:00", "updated_at": "2024-04-18T02:27:51+02:00", "name": "Transfer PostgresSQL to BigQuery", "path": ".github/workflows/bi_transfer_pola_backend_to_bq.yml", "contents": null, "state": "active", "repository": "klubjagiellonski/pola-backend"}
{"mined_at": "2024-07-15T15:56:44.637539", "created_at": "2024-04-17T22:55:23+02:00", "updated_at": "2024-04-18T00:32:25+02:00", "name": "Transfer PostgresSQL to GCS", "path": ".github/workflows/bi_transfer_pola_backend_to_gcs.yml", "contents": null, "state": "active", "repository": "klubjagiellonski/pola-backend"}
{"mined_at": "2024-07-15T15:56:45.672273", "created_at": "2020-09-28T00:24:14+02:00", "updated_at": "2021-04-26T01:28:57+02:00", "name": "CI Build", "path": ".github/workflows/ci.yml", "contents": "---\nname: CI Build\non:\n  push:\n    branches: ['master', 'prod']\n  pull_request:\n    branches: ['master']\n\nenv:\n  GITHUB_REPOSITORY: ${{ github.repository }}\n  GITHUB_ORGANIZATION: ${{ github.repository_owner }}\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n  django-tests:\n    name: \"Django tests\"\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [\"3.11\"]\n        django_version: ['current', \"4.2.11\", \"latest\"]\n    env:\n      PYTHON_VERSION: ${{ matrix.python_version }}\n    steps:\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - name: \"Login to Githhub Container Registry\"\n        run: ./scripts/docker_login_github.py\n      - if: matrix.django_version != 'latest' && matrix.django_version != 'current'\n        run: |\n          echo \"DJANGO_VERSION=${DJANGO_VERSION}\" | tee \"${GITHUB_ENV}\";\n        env:\n          DJANGO_VERSION: ${{ matrix.django_version }}\n      - if: matrix.django_version == 'latest'\n        run: |\n          latest_version=$(curl 'https://pypi.org/pypi/django/json' | jq .info.version -r)\n          echo \"DJANGO_VERSION=${latest_version}\" | tee \"${GITHUB_ENV}\";\n      - name: \"Copy .env.example to .env\"\n        run: cp .env.example .env\n      - name: \"Build CI image\"\n        run: |\n          ./scripts/ci-docker-image/build_image.sh\n          ./scripts/ci-docker-image/verify_image.sh\n      - name: Pull images\n        run: ./scripts/pull_images.py\n      - name: \"Run tests\"\n        run: ./run_test.sh\n      - name: \"Check missing migrations\"\n        run: docker-compose run web makemigrations --check -v 3\n      - name: \"Checks the entire Django project for potential problems\"\n        run: docker-compose run web check --fail-level DEBUG -v 3\n      - name: \"Upload coverage\"\n        uses: codecov/codecov-action@v4.3.1\n        with:\n          fail_ci_if_error: false\n          verbose: true\n      - name: \"Push image (push)\"\n        if: github.event_name == 'push'\n        env:\n          PREPARE_BUILDX_CACHE: true\n        run: |\n          ./scripts/ci-docker-image/push_image.sh\n          # Push cache\n          ./scripts/ci-docker-image/build_image.sh\n      - name: Show logs on fail\n        if: ${{ failure() }}\n        run: docker-compose logs\n\n  static-checks:\n    name: \"Static checks\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: '.python-version'\n      - name: \"Setup Python dependencies\"\n        run: pip install -U pip wheel setuptools virtualenv\n      - name: \"Run static checks\"\n        uses: pre-commit/action@v3.0.1\n\n  bi-validate:\n    name: \"BI Validate\"\n    runs-on: ubuntu-latest\n    needs: [django-tests, static-checks]\n    env:\n      COMPOSE_FILE: \"docker-compose.yaml:docker-compose.dbt.yaml:docker-compose.dbt-local.yaml\"\n    steps:\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: '.python-version'\n      - name: \"Login to Githhub Container Registry\"\n        run: ./scripts/docker_login_github.py\n      - name: \"Copy .env.example to .env\"\n        run: cp .env.example .env\n      - name: \"Build CI image\"\n        run: |\n          ./scripts/ci-docker-image/build_image.sh\n          ./scripts/ci-docker-image/verify_image.sh\n      - name: \"Build BI image\"\n        run: |\n          # Build BI image\n          ./scripts/bi-docker-image/build_image.sh\n          # Verify BI image\n          ./scripts/bi-docker-image/verify_image.sh\n      - name: Pull images\n        run: ./scripts/pull_images.py\n      - run: docker-compose config\n      - run: docker-compose up -d\n      - run: ./run_manage.sh migrate\n      - run: ./run_manage.sh populate_db\n      - run: ./run_dbt.sh dbt deps\n      - run: ./run_dbt.sh dbt build\n      - name: \"Push image (push)\"\n        if: github.event_name == 'push'\n        run: ./scripts/bi-docker-image/push_image.sh\n\n  prod-image:\n    name: \"Build Prod Image\"\n    runs-on: ubuntu-latest\n    needs: [django-tests, static-checks]\n    steps:\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n      - name: \"Login to Githhub Container Registry\"\n        run: ./scripts/docker_login_github.py\n      - name: \"Set image tag\"\n        if: |\n          github.event_name == 'push' &&\n          (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/prod')\n        run: |\n          set -x;\n          APP_NAME=\"$(./scripts/detect_app_name.py)\";\n          echo \"APP_NAME=${APP_NAME}\"\n          echo \"IMAGE_TAG=${APP_NAME}\" >> $GITHUB_ENV;\n          echo \"HEROKU_APP=${APP_NAME}\" >> $GITHUB_ENV;\n      - name: \"Build image\"\n        run: ./scripts/prod-docker-image/build_image.sh\n      - name: \"Verify image\"\n        run: ./scripts/prod-docker-image/verify_image.sh\n      - name: \"Push image (push)\"\n        if: github.event_name == 'push'\n        env:\n          PREPARE_BUILDX_CACHE: true\n        run: |\n          # Build cache\n          ./scripts/prod-docker-image/build_image.sh\n          ./scripts/prod-docker-image/push_image.sh\n\n  deploy-app:\n    name: \"Deploy app (push) - ${{ github.ref }}\"\n    runs-on: ubuntu-latest\n    needs: [prod-image, bi-validate]\n    if: >-\n      github.event_name == 'push' &&\n      (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/prod')\n    env:\n      HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}\n    steps:\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n      - name: \"Login to Githhub Container Registry\"\n        run: ./scripts/docker_login_github.py\n      - name: \"Login to Heroku Docker Registry\"\n        run: ./scripts/docker_login_heroku.py\n      - name: \"Install Heroku CLI\"\n        run: \"curl https://cli-assets.heroku.com/install.sh | sh\"\n      - name: \"Set environment env variable\"\n        run: |\n          APP_NAME=\"$(./scripts/detect_app_name.py)\";\n          echo \"APP_NAME=${APP_NAME}\"\n          echo \"IMAGE_TAG=${APP_NAME}\" >> $GITHUB_ENV;\n          echo \"HEROKU_APP=${APP_NAME}\" >> $GITHUB_ENV;\n          echo \"HEROKU_DOMAIN=$(./scripts/fetch_domain.py \"${APP_NAME}\")\" >> $GITHUB_ENV;\n      - uses: chrnorm/deployment-action@releases/v1\n        name: Create GitHub deployment\n        id: deployment\n        with:\n          token: \"${{ github.token }}\"\n          target_url: \"https://${{ env.HEROKU_DOMAIN }}\"\n          state: in_progress\n          environment: \"${{ env.HEROKU_APP }}\"\n      - name: \"Pull image\"\n        run: ./scripts/prod-docker-image/pull_image.sh\n      - name: \"Deploy\"\n        run: './scripts/deploy.sh \"${HEROKU_APP}\"'\n      - name: Update deployment status (success)\n        if: success()\n        uses: chrnorm/deployment-status@releases/v1\n        with:\n          token: \"${{ github.token }}\"\n          state: \"success\"\n          deployment_id: ${{ steps.deployment.outputs.deployment_id }}\n      - name: Update deployment status (failure)\n        if: failure()\n        uses: chrnorm/deployment-status@releases/v1\n        with:\n          token: \"${{ github.token }}\"\n          state: \"failure\"\n          deployment_id: ${{ steps.deployment.outputs.deployment_id }}\n\n  deploy-bi:\n    name: \"Deploy BI (push) - ${{ github.ref }}\"\n    runs-on: ubuntu-latest\n    needs: [prod-image, bi-validate]\n    if: >-\n      github.event_name == 'push' &&\n      (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/prod')\n    env:\n      HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}\n      COMPOSE_FILE: \"docker-compose.dbt.yaml\"\n    steps:\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: '.python-version'\n      - name: \"Login to Githhub Container Registry\"\n        run: ./scripts/docker_login_github.py\n      - name: \"Build BI image\"\n        run: |\n          # Build BI image\n          ./scripts/bi-docker-image/build_image.sh\n          # Verify BI image\n          ./scripts/bi-docker-image/verify_image.sh\n      - run: pip install django-environ\n      - name: \"Set environment env variable\"\n        if: github.ref == 'refs/heads/prod'\n        run: |\n          source <(python ./pola-bi/dev.py --environment prod)\n          printenv | grep POLA_APP | cut -d \"=\" -f 2- | xargs -n 1 -I {} echo \"::add-mask::{}\"\n          printenv | grep POLA_APP >> $GITHUB_ENV;\n      - name: \"Set environment env variable\"\n        if: github.ref == 'refs/heads/master'\n        run: |\n          source <(python ./pola-bi/dev.py --environment staging)\n          printenv | grep POLA_APP | cut -d \"=\" -f 2- | xargs -n 1 -I {} echo \"::add-mask::{}\"\n          printenv | grep POLA_APP >> $GITHUB_ENV;\n      - run: ./run_dbt.sh dbt deps\n      - run: ./run_dbt.sh dbt build\n      - name: \"Push image (push)\"\n        if: github.event_name == 'push'\n        env:\n          PREPARE_BUILDX_CACHE: true\n        run: |\n          # Build cache\n          ./scripts/bi-docker-image/build_image.sh\n          ./scripts/bi-docker-image/push_image.sh\n", "state": "active", "repository": "klubjagiellonski/pola-backend"}
{"mined_at": "2024-07-15T15:56:46.720658", "created_at": "2021-02-15T18:50:42+01:00", "updated_at": "2021-02-17T17:56:24+01:00", "name": "Migration validation", "path": ".github/workflows/migration_check.yml", "contents": "---\nname: Migration validation\n\non:\n  workflow_dispatch:\n    inputs:\n      heroku_app:\n        description: 'Heroku app name[pola-app/pola-staging]'\n        required: true\n        default: 'pola-app'\n\nenv:\n  GITHUB_REPOSITORY: ${{ github.repository }}\n  GITHUB_ORGANIZATION: ${{ github.repository_owner }}\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  HEROKU_APP: ${{ github.event.inputs.heroku_app }}\n\njobs:\n  say_hello:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout ${{ github.ref }} ( ${{ github.sha }} )\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n      - name: Login to Github Docker Registry\n        run: ./scripts/docker_login_github.py\n      - name: Copy .env.example to .env\n        run: cp .env.example .env\n      - name: Build image\n        run: ./scripts/ci-docker-image/build_image.sh\n      - name: Clear volumes\n        run: docker-compose down --volumes\n      - name: Start PostgresSQL\n        run: docker-compose up --detach --no-deps postgres\n      - name: Download database backup\n        run: heroku pg:backups:download --app \"${HEROKU_APP}\" --output /tmp/latest.dump\n        env:\n          HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}\n      - name: Load production dump\n        run: |\n          set -x;\n          docker cp /tmp/latest.dump pola-backend_postgres_1:/tmp/latest.dump;\n          docker exec \\\n            -i \\\n            pola-backend_postgres_1 \\\n            pg_restore \\\n              --verbose \\\n              --clean \\\n              --no-acl \\\n              --no-owner \\\n              -h localhost \\\n              -U pola_app \\\n              -d pola_app /tmp/latest.dump || \\\n          docker exec \\\n            -i \\\n            pola-backend_postgres_1 \\\n            pg_restore \\\n              --verbose \\\n              --clean \\\n              --no-acl \\\n              --no-owner \\\n              -h localhost \\\n              -U pola_app \\\n              -d pola_app /tmp/latest.dump\n      - name: Migrate database\n        run: docker-compose run --no-deps --rm web /app/manage.py migrate\n      - name: Remove all data\n        run: |\n          set -x;\n          rm /tmp/latest.dump;\n          docker-compose down --volumes\n", "state": "active", "repository": "klubjagiellonski/pola-backend"}
{"mined_at": "2024-07-15T15:56:48.002312", "created_at": "2024-04-26T09:54:41+02:00", "updated_at": "2024-04-26T09:59:53+02:00", "name": "Generate constraint file on comment", "path": ".github/workflows/update_constraints.yml", "contents": "name: Generate constraint file on comment\n\non:\n  issue_comment:\n    types: [created]\n\nenv:\n  GITHUB_REPOSITORY: ${{ github.repository }}\n  GITHUB_ORGANIZATION: ${{ github.repository_owner }}\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  ISSUE_NUMBER: ${{ github.event.issue.number }}\n\njobs:\n  check-comment:\n    if: github.event.issue.pull_request && contains(github.event.comment.body, '/update_constraints')\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - name: Dump job context\n        env:\n          JOB_CONTEXT: ${{ toJson(job) }}\n        run: echo \"$JOB_CONTEXT\"\n      - name: Dump steps context\n        env:\n          STEPS_CONTEXT: ${{ toJson(steps) }}\n        run: echo \"$STEPS_CONTEXT\"\n      - name: Dump runner context\n        env:\n          RUNNER_CONTEXT: ${{ toJson(runner) }}\n        run: echo \"$RUNNER_CONTEXT\"\n      - name: Dump strategy context\n        env:\n          STRATEGY_CONTEXT: ${{ toJson(strategy) }}\n        run: echo \"$STRATEGY_CONTEXT\"\n      - name: Dump matrix context\n        env:\n          MATRIX_CONTEXT: ${{ toJson(matrix) }}\n        run: echo \"$MATRIX_CONTEXT\"\n      - name: \"Add reaction to comment\"\n        uses: actions/github-script@v7\n        with:\n          script: |\n            console.log(context)\n            console.log(context.payload)\n            github.rest.reactions.createForIssueComment({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              comment_id: context.payload.comment.id,\n              content: '+1',\n            });\n      - name: \"Checkout repo\"\n        uses: actions/checkout@v4\n      - name: \"Checkout Pull Request\"\n        run: gh pr checkout \"${ISSUE_NUMBER}\"\n      - name: \"Login to Githhub Container Registry\"\n        run: ./scripts/docker_login_github.py\n      - name: \"Copy .env.example to .env\"\n        run: cp .env.example .env\n      - name: \"Build CI image\"\n        run: |\n          ./scripts/ci-docker-image/build_image.sh\n\n      - name: \"Generate constraint file\"\n        run: >\n          docker-compose run --no-deps --entrypoint /bin/bash web -c \"pip freeze\" |\n          grep -v -i \"Django==\" > ./dependencies/constraints-ci.txt\n\n      - name: \"Setup Python dependencies\"\n        run: pip install -U pip wheel setuptools virtualenv pre-commit\n      - name: \"Run static checks\"\n        run: pre-commit run requirements-txt-fixer --all-files --color=always\n      - name: \"Commit and push\"\n        run: |\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git add ./dependencies/constraints-ci.txt\n          git commit -m \"Update constraints file\"\n          git push origin\n\n      - name: \"Create a comment in PR\"\n        uses: peter-evans/create-or-update-comment@v1\n        with:\n          issue-number: ${{ github.event.issue.number }}\n          body: '@Mergifyio rebase'\n", "state": "active", "repository": "klubjagiellonski/pola-backend"}
{"mined_at": "2024-07-15T15:56:49.085411", "created_at": "2024-05-03T12:31:58+02:00", "updated_at": "2024-05-03T12:31:58+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "klubjagiellonski/pola-backend"}
{"mined_at": "2024-07-15T15:56:51.989545", "created_at": "2021-03-31T13:45:49+02:00", "updated_at": "2022-05-29T01:40:40+02:00", "name": "Docker", "path": ".github/workflows/docker.yaml", "contents": "# Build, test and push InvenTree docker image\n# This workflow runs under any of the following conditions:\n#\n# - Push to the master branch\n# - Publish release\n#\n# The following actions are performed:\n#\n# - Check that the version number matches the current branch or tag\n# - Build the InvenTree docker image\n# - Run suite of unit tests against the build image\n# - Push the compiled, tested image to dockerhub\n\nname: Docker\n\non:\n  release:\n    types: [published]\n\n  push:\n    branches:\n      - \"master\"\n  pull_request:\n    branches:\n      - \"master\"\n\npermissions:\n  contents: read\n\njobs:\n  paths-filter:\n    permissions:\n      contents: read # for dorny/paths-filter to fetch a list of changed files\n      pull-requests: read # for dorny/paths-filter to read pull requests\n    name: Filter\n    runs-on: ubuntu-latest\n\n    outputs:\n      docker: ${{ steps.filter.outputs.docker }}\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # pin@v3.0.2\n        id: filter\n        with:\n          filters: |\n            docker:\n              - .github/workflows/docker.yaml\n              - contrib/container/**\n              - src/backend/InvenTree/InvenTree/settings.py\n              - src/backend/requirements.txt\n              - tasks.py\n\n  # Build the docker image\n  build:\n    needs: paths-filter\n    if: needs.paths-filter.outputs.docker == 'true' || github.event_name == 'release' || github.event_name == 'push'\n    permissions:\n      contents: read\n      packages: write\n      id-token: write\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      python_version: \"3.11\"\n    runs-on: ubuntu-latest # in the future we can try to use alternative runners here\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Set Up Python ${{ env.python_version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # pin@v5.1.0\n        with:\n          python-version: ${{ env.python_version }}\n      - name: Version Check\n        run: |\n          pip install --require-hashes -r contrib/dev_reqs/requirements.txt\n          python3 .github/scripts/version_check.py\n          echo \"git_commit_hash=$(git rev-parse --short HEAD)\" >> $GITHUB_ENV\n          echo \"git_commit_date=$(git show -s --format=%ci)\" >> $GITHUB_ENV\n      - name: Test Docker Image\n        id: test-docker\n        run: |\n          docker build . --target production --tag inventree-test -f contrib/container/Dockerfile\n          docker run --rm inventree-test invoke --version\n          docker run --rm inventree-test invoke --list\n          docker run --rm inventree-test gunicorn --version\n          docker run --rm inventree-test pg_dump --version\n          docker run --rm inventree-test test -f /home/inventree/init.sh\n          docker run --rm inventree-test test -f /home/inventree/tasks.py\n          docker run --rm inventree-test test -f /home/inventree/gunicorn.conf.py\n          docker run --rm inventree-test test -f /home/inventree/src/backend/requirements.txt\n          docker run --rm inventree-test test -f /home/inventree/src/backend/InvenTree/manage.py\n      - name: Build Docker Image\n        # Build the development docker image (using docker-compose.yml)\n        run: docker compose --project-directory . -f contrib/container/dev-docker-compose.yml build --no-cache\n      - name: Update Docker Image\n        run: |\n          docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke install\n          docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke update\n          docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke setup-dev\n          docker compose --project-directory . -f contrib/container/dev-docker-compose.yml up -d\n          docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke wait\n      - name: Check Data Directory\n        # The following file structure should have been created by the docker image\n        run: |\n          test -d data\n          test -d data/env\n          test -d data/pgdb\n          test -d data/media\n          test -d data/static\n          test -d data/plugins\n          test -f data/config.yaml\n          test -f data/plugins.txt\n          test -f data/secret_key.txt\n      - name: Run Unit Tests\n        run: |\n          echo \"GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}\" >> contrib/container/docker.dev.env\n          docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run --rm inventree-dev-server invoke test --disable-pty\n      - name: Run Migration Tests\n        run: |\n          docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run --rm inventree-dev-server invoke test --migrations\n      - name: Clean up test folder\n        run: |\n          rm -rf InvenTree/_testfolder\n      - name: Set up QEMU\n        if: github.event_name != 'pull_request'\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # pin@v3.0.0\n      - name: Set up Docker Buildx\n        if: github.event_name != 'pull_request'\n        uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # pin@v3.3.0\n      - name: Set up cosign\n        if: github.event_name != 'pull_request'\n        uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # pin@v3.5.0\n      - name: Check if Dockerhub login is required\n        id: docker_login\n        run: |\n          if [ -z \"${{ secrets.DOCKER_USERNAME }}\" ]; then\n            echo \"skip_dockerhub_login=true\" >> $GITHUB_ENV\n          else\n            echo \"skip_dockerhub_login=false\" >> $GITHUB_ENV\n          fi\n      - name: Login to Dockerhub\n        if: github.event_name != 'pull_request' && steps.docker_login.outputs.skip_dockerhub_login != 'true'\n        uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # pin@v3.2.0\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Log into registry ghcr.io\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # pin@v3.2.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract Docker metadata\n        if: github.event_name != 'pull_request'\n        id: meta\n        uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # pin@v5.5.1\n        with:\n          images: |\n            inventree/inventree\n            ghcr.io/${{ github.repository }}\n\n      - name: Push Docker Images\n        id: push-docker\n        if: github.event_name != 'pull_request'\n        uses: docker/build-push-action@c382f710d39a5bb4e430307530a720f50c2d3318 # pin@v6.0.0\n        with:\n          context: .\n          file: ./contrib/container/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          sbom: true\n          provenance: false\n          target: production\n          tags: ${{ env.docker_tags }}\n          build-args: |\n            commit_hash=${{ env.git_commit_hash }}\n            commit_date=${{ env.git_commit_date }}\n", "state": "active", "repository": "inventree/inventree"}
{"mined_at": "2024-07-15T15:56:53.034486", "created_at": "2021-11-21T12:46:09+01:00", "updated_at": "2021-11-25T11:10:00+01:00", "name": "Check Translations", "path": ".github/workflows/check_translations.yaml", "contents": "name: Check Translations\n\non:\n  push:\n    branches:\n      - l10\n  pull_request:\n    branches:\n      - l10\n\nenv:\n  python_version: 3.9\n\npermissions:\n  contents: read\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      INVENTREE_DB_NAME: \"./test_db.sqlite\"\n      INVENTREE_DB_ENGINE: django.db.backends.sqlite3\n      INVENTREE_DEBUG: info\n      INVENTREE_MEDIA_ROOT: ./media\n      INVENTREE_STATIC_ROOT: ./static\n      INVENTREE_BACKUP_DIR: ./backup\n      INVENTREE_SITE_URL: http://localhost:8000\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          install: true\n          apt-dependency: gettext\n      - name: Test Translations\n        run: invoke translate\n      - name: Check Migration Files\n        run: python3 .github/scripts/check_migration_files.py\n", "state": "active", "repository": "inventree/inventree"}
{"mined_at": "2024-07-15T15:56:54.063305", "created_at": "2021-12-03T01:27:42+01:00", "updated_at": "2024-04-11T19:09:01+02:00", "name": "QC", "path": ".github/workflows/qc_checks.yaml", "contents": "# Checks for each PR / push\n\nname: QC\n\non:\n  push:\n    branches-ignore: [\"l10*\"]\n  pull_request:\n    branches-ignore: [\"l10*\"]\n\nenv:\n  python_version: 3.9\n  node_version: 18\n  # The OS version must be set per job\n  server_start_sleep: 60\n  requests_version: 2.31.0\n  pyyaml_version: 6.0.1\n\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  INVENTREE_DB_ENGINE: sqlite3\n  INVENTREE_DB_NAME: inventree\n  INVENTREE_MEDIA_ROOT: ../test_inventree_media\n  INVENTREE_STATIC_ROOT: ../test_inventree_static\n  INVENTREE_BACKUP_DIR: ../test_inventree_backup\n  INVENTREE_SITE_URL: http://localhost:8000\n\npermissions:\n  contents: read\n\njobs:\n  paths-filter:\n    name: Filter\n    runs-on: ubuntu-latest\n\n    outputs:\n      server: ${{ steps.filter.outputs.server }}\n      migrations: ${{ steps.filter.outputs.migrations }}\n      frontend: ${{ steps.filter.outputs.frontend }}\n      api: ${{ steps.filter.outputs.api }}\n      force: ${{ steps.force.outputs.force }}\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # pin@v3.0.2\n        id: filter\n        with:\n          filters: |\n            server:\n              - 'src/backend/InvenTree/**'\n              - 'src/backend/requirements.txt'\n              - 'src/backend/requirements-dev.txt'\n            migrations:\n              - '**/test_migrations.py'\n              - '**/migrations/**'\n              - '.github/workflows**'\n              - 'src/backend/requirements.txt'\n            api:\n              - 'src/backend/InvenTree/InvenTree/api_version.py'\n            frontend:\n              - 'src/frontend/**'\n      - name: Is CI being forced?\n        run: echo \"force=true\" >> $GITHUB_OUTPUT\n        id: force\n        if: |\n          contains(github.event.pull_request.labels.*.name, 'dependency') ||\n          contains(github.event.pull_request.labels.*.name, 'full-run')\n\n  javascript:\n    name: Style - Classic UI [JS]\n    runs-on: ubuntu-20.04\n\n    needs: [\"pre-commit\"]\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          npm: true\n          install: true\n      - name: Check Templated JS Files\n        run: |\n          cd .github/scripts\n          python3 check_js_templates.py\n      - name: Lint Javascript Files\n        run: |\n          python src/backend/InvenTree/manage.py prerender\n          cd src/backend && npx eslint InvenTree/InvenTree/static_i18n/i18n/*.js\n\n  pre-commit:\n    name: Style [pre-commit]\n    runs-on: ubuntu-20.04\n    needs: paths-filter\n    if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.frontend == 'true' || needs.paths-filter.outputs.force == 'true'\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Set up Python ${{ env.python_version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # pin@v5.1.0\n        with:\n          python-version: ${{ env.python_version }}\n          cache: \"pip\"\n      - name: Run pre-commit Checks\n        uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # pin@v3.0.1\n      - name: Check Version\n        run: |\n          pip install --require-hashes -r contrib/dev_reqs/requirements.txt\n          python3 .github/scripts/version_check.py\n\n  mkdocs:\n    name: Style [Documentation]\n    runs-on: ubuntu-20.04\n\n    needs: paths-filter\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Set up Python ${{ env.python_version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # pin@v5.1.0\n        with:\n          python-version: ${{ env.python_version }}\n      - name: Check Config\n        run: |\n          pip install --require-hashes -r contrib/dev_reqs/requirements.txt\n          pip install --require-hashes -r docs/requirements.txt\n          python docs/ci/check_mkdocs_config.py\n      - name: Check Links\n        uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1\n        with:\n          folder-path: docs\n          config-file: docs/mlc_config.json\n          check-modified-files-only: \"yes\"\n          use-quiet-mode: \"yes\"\n\n  schema:\n    name: Tests - API Schema Documentation\n    runs-on: ubuntu-20.04\n    needs: paths-filter\n    if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.force == 'true'\n    env:\n      INVENTREE_DB_ENGINE: django.db.backends.sqlite3\n      INVENTREE_DB_NAME: ../inventree_unit_test_db.sqlite3\n      INVENTREE_ADMIN_USER: testuser\n      INVENTREE_ADMIN_PASSWORD: testpassword\n      INVENTREE_ADMIN_EMAIL: test@test.com\n      INVENTREE_PYTHON_TEST_SERVER: http://localhost:12345\n      INVENTREE_PYTHON_TEST_USERNAME: testuser\n      INVENTREE_PYTHON_TEST_PASSWORD: testpassword\n    outputs:\n      version: ${{ steps.version.outputs.version }}\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          apt-dependency: gettext poppler-utils\n          dev-install: true\n          update: true\n      - name: Export API Documentation\n        run: invoke schema --ignore-warnings --filename src/backend/InvenTree/schema.yml\n      - name: Upload schema\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # pin@v4.3.3\n        with:\n          name: schema.yml\n          path: src/backend/InvenTree/schema.yml\n      - name: Download public schema\n        if: needs.paths-filter.outputs.api == 'false'\n        run: |\n          pip install --require-hashes -r contrib/dev_reqs/requirements.txt >/dev/null 2>&1\n          version=\"$(python3 .github/scripts/version_check.py only_version 2>&1)\"\n          echo \"Version: $version\"\n          url=\"https://raw.githubusercontent.com/inventree/schema/main/export/${version}/api.yaml\"\n          echo \"URL: $url\"\n          curl -s -o api.yaml $url\n          echo \"Downloaded api.yaml\"\n      - name: Check for differences in API Schema\n        if: needs.paths-filter.outputs.api == 'false'\n        run: |\n          diff --color -u src/backend/InvenTree/schema.yml api.yaml\n          diff -u src/backend/InvenTree/schema.yml api.yaml && echo \"no difference in API schema \" || exit 2\n      - name: Check schema - including warnings\n        run: invoke schema\n        continue-on-error: true\n      - name: Extract version for publishing\n        id: version\n        if: github.ref == 'refs/heads/master' && needs.paths-filter.outputs.api == 'true'\n        run: |\n          pip install --require-hashes -r contrib/dev_reqs/requirements.txt >/dev/null 2>&1\n          version=\"$(python3 .github/scripts/version_check.py only_version 2>&1)\"\n          echo \"Version: $version\"\n          echo \"version=$version\" >> \"$GITHUB_OUTPUT\"\n\n  schema-push:\n    name: Push new schema\n    runs-on: ubuntu-20.04\n    needs: [paths-filter, schema]\n    if: needs.schema.result == 'success' && github.ref == 'refs/heads/master' && needs.paths-filter.outputs.api == 'true' && github.repository_owner == 'inventree'\n    env:\n      version: ${{ needs.schema.outputs.version }}\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          repository: inventree/schema\n          token: ${{ secrets.SCHEMA_PAT }}\n      - name: Download schema artifact\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: schema.yml\n      - name: Move schema to correct location\n        run: |\n          echo \"Version: $version\"\n          mkdir export/${version}\n          mv schema.yml export/${version}/api.yaml\n      - uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1\n        with:\n          commit_message: \"Update API schema for ${version}\"\n\n  python:\n    name: Tests - inventree-python\n    runs-on: ubuntu-20.04\n\n    needs: [\"pre-commit\", \"paths-filter\"]\n    if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.force == 'true'\n\n    env:\n      wrapper_name: inventree-python\n      INVENTREE_DB_ENGINE: django.db.backends.sqlite3\n      INVENTREE_DB_NAME: ../inventree_unit_test_db.sqlite3\n      INVENTREE_ADMIN_USER: testuser\n      INVENTREE_ADMIN_PASSWORD: testpassword\n      INVENTREE_ADMIN_EMAIL: test@test.com\n      INVENTREE_PYTHON_TEST_SERVER: http://127.0.0.1:12345\n      INVENTREE_PYTHON_TEST_USERNAME: testuser\n      INVENTREE_PYTHON_TEST_PASSWORD: testpassword\n      INVENTREE_SITE_URL: http://127.0.0.1:12345\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          apt-dependency: gettext poppler-utils\n          dev-install: true\n          update: true\n          npm: true\n      - name: Download Python Code For `${{ env.wrapper_name }}`\n        run: git clone --depth 1 https://github.com/inventree/${{ env.wrapper_name }} ./${{ env.wrapper_name }}\n      - name: Start InvenTree Server\n        run: |\n          invoke delete-data -f\n          invoke import-fixtures\n          invoke server -a 127.0.0.1:12345 &\n          invoke wait\n      - name: Run Tests For `${{ env.wrapper_name }}`\n        run: |\n          cd ${{ env.wrapper_name }}\n          invoke check-server\n          coverage run -m unittest discover -s test/\n\n  coverage:\n    name: Tests - DB [SQLite] + Coverage ${{ matrix.python_version }}\n    runs-on: ubuntu-20.04\n\n    needs: [\"pre-commit\", \"paths-filter\"]\n    if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.force == 'true'\n    continue-on-error: true # continue if a step fails so that coverage gets pushed\n    strategy:\n      matrix:\n        python_version: [3.9, 3.12]\n\n    env:\n      INVENTREE_DB_NAME: ./inventree.sqlite\n      INVENTREE_DB_ENGINE: sqlite3\n      INVENTREE_PLUGINS_ENABLED: true\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      python_version: ${{ matrix.python_version }}\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          apt-dependency: gettext poppler-utils\n          dev-install: true\n          update: true\n      - name: Data Export Test\n        uses: ./.github/actions/migration\n      - name: Test Translations\n        run: invoke translate\n      - name: Check Migration Files\n        run: python3 .github/scripts/check_migration_files.py\n      - name: Coverage Tests\n        run: invoke test --coverage\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # pin@v4.5.0\n        if: always()\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          slug: inventree/InvenTree\n          flags: backend\n\n  postgres:\n    name: Tests - DB [PostgreSQL]\n    runs-on: ubuntu-20.04\n    needs: [\"pre-commit\", \"paths-filter\"]\n    if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.force == 'true'\n\n    env:\n      INVENTREE_DB_ENGINE: django.db.backends.postgresql\n      INVENTREE_DB_USER: inventree\n      INVENTREE_DB_PASSWORD: password\n      INVENTREE_DB_HOST: \"127.0.0.1\"\n      INVENTREE_DB_PORT: 5432\n      INVENTREE_DEBUG: info\n      INVENTREE_CACHE_HOST: localhost\n      INVENTREE_PLUGINS_ENABLED: true\n\n    services:\n      postgres:\n        image: postgres:14\n        env:\n          POSTGRES_USER: inventree\n          POSTGRES_PASSWORD: password\n        ports:\n          - 5432:5432\n\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          apt-dependency: gettext poppler-utils libpq-dev\n          pip-dependency: psycopg django-redis>=5.0.0\n          dev-install: true\n          update: true\n      - name: Run Tests\n        run: invoke test\n      - name: Data Export Test\n        uses: ./.github/actions/migration\n\n  mysql:\n    name: Tests - DB [MySQL]\n    runs-on: ubuntu-20.04\n\n    needs: [\"pre-commit\", \"paths-filter\"]\n    if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.force == 'true'\n\n    env:\n      # Database backend configuration\n      INVENTREE_DB_ENGINE: django.db.backends.mysql\n      INVENTREE_DB_USER: root\n      INVENTREE_DB_PASSWORD: password\n      INVENTREE_DB_HOST: \"127.0.0.1\"\n      INVENTREE_DB_PORT: 3306\n      INVENTREE_DEBUG: info\n      INVENTREE_PLUGINS_ENABLED: true\n\n    services:\n      mysql:\n        image: mysql:latest\n        env:\n          MYSQL_ALLOW_EMPTY_PASSWORD: yes\n          MYSQL_DATABASE: ${{ env.INVENTREE_DB_NAME }}\n          MYSQL_USER: inventree\n          MYSQL_PASSWORD: password\n          MYSQL_ROOT_PASSWORD: password\n        options: --health-cmd=\"mysqladmin ping\" --health-interval=5s --health-timeout=2s --health-retries=3\n        ports:\n          - 3306:3306\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          apt-dependency: gettext poppler-utils libmysqlclient-dev\n          pip-dependency: mysqlclient\n          dev-install: true\n          update: true\n      - name: Run Tests\n        run: invoke test\n      - name: Data Export Test\n        uses: ./.github/actions/migration\n\n  migration-tests:\n    name: Tests - Migrations [PostgreSQL]\n    runs-on: ubuntu-latest\n    needs: paths-filter\n    if: ${{ (needs.paths-filter.outputs.force == 'true') || (github.ref == 'refs/heads/master' && needs.paths-filter.outputs.migrations == 'true') }}\n\n    env:\n      INVENTREE_DB_ENGINE: django.db.backends.postgresql\n      INVENTREE_DB_NAME: inventree\n      INVENTREE_DB_USER: inventree\n      INVENTREE_DB_PASSWORD: password\n      INVENTREE_DB_HOST: \"127.0.0.1\"\n      INVENTREE_DB_PORT: 5432\n      INVENTREE_DEBUG: info\n      INVENTREE_PLUGINS_ENABLED: false\n\n    services:\n      postgres:\n        image: postgres:14\n        env:\n          POSTGRES_USER: inventree\n          POSTGRES_PASSWORD: password\n        ports:\n          - 5432:5432\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          apt-dependency: gettext poppler-utils libpq-dev\n          pip-dependency: psycopg\n          dev-install: true\n          update: true\n      - name: Run Tests\n        run: invoke test --migrations --report --coverage\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # pin@v4.5.0\n        if: always()\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          slug: inventree/InvenTree\n          flags: migrations\n\n  migrations-checks:\n    name: Tests - Full Migration [SQLite]\n    runs-on: ubuntu-latest\n    needs: paths-filter\n    if: ${{ (needs.paths-filter.outputs.force == 'true') || (github.ref == 'refs/heads/master' && needs.paths-filter.outputs.migrations == 'true') }}\n\n    env:\n      INVENTREE_DB_ENGINE: sqlite3\n      INVENTREE_DB_NAME: /home/runner/work/InvenTree/db.sqlite3\n      INVENTREE_DEBUG: info\n      INVENTREE_PLUGINS_ENABLED: false\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n        name: Checkout Code\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          install: true\n      - name: Fetch Database\n        run: git clone --depth 1 https://github.com/inventree/test-db ./test-db\n\n      - name: Latest Database\n        run: |\n          cp test-db/latest.sqlite3 /home/runner/work/InvenTree/db.sqlite3\n          chmod +rw /home/runner/work/InvenTree/db.sqlite3\n          invoke migrate\n\n      - name: 0.10.0 Database\n        run: |\n          rm /home/runner/work/InvenTree/db.sqlite3\n          cp test-db/stable_0.10.0.sqlite3 /home/runner/work/InvenTree/db.sqlite3\n          chmod +rw /home/runner/work/InvenTree/db.sqlite3\n          invoke migrate\n\n      - name: 0.11.0 Database\n        run: |\n          rm /home/runner/work/InvenTree/db.sqlite3\n          cp test-db/stable_0.11.0.sqlite3 /home/runner/work/InvenTree/db.sqlite3\n          chmod +rw /home/runner/work/InvenTree/db.sqlite3\n          invoke migrate\n\n      - name: 0.12.0 Database\n        run: |\n          rm /home/runner/work/InvenTree/db.sqlite3\n          cp test-db/stable_0.12.0.sqlite3 /home/runner/work/InvenTree/db.sqlite3\n          chmod +rw /home/runner/work/InvenTree/db.sqlite3\n          invoke migrate\n\n      - name: 0.13.5 Database\n        run: |\n          rm /home/runner/work/InvenTree/db.sqlite3\n          cp test-db/stable_0.13.5.sqlite3 /home/runner/work/InvenTree/db.sqlite3\n          chmod +rw /home/runner/work/InvenTree/db.sqlite3\n          invoke migrate\n\n  platform_ui:\n    name: Tests - Platform UI\n    runs-on: ubuntu-20.04\n    timeout-minutes: 60\n    needs: [\"pre-commit\", \"paths-filter\"]\n    if: needs.paths-filter.outputs.frontend == 'true' || needs.paths-filter.outputs.force == 'true'\n    env:\n      INVENTREE_DB_ENGINE: sqlite3\n      INVENTREE_DB_NAME: /home/runner/work/InvenTree/db.sqlite3\n      INVENTREE_DEBUG: True\n      INVENTREE_PLUGINS_ENABLED: false\n      VITE_COVERAGE: true\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          npm: true\n          install: true\n          update: true\n      - name: Set up test data\n        run: invoke setup-test -i\n      - name: Rebuild thumbnails\n        run: invoke rebuild-thumbnails\n      - name: Install dependencies\n        run: inv frontend-compile\n      - name: Install Playwright Browsers\n        run: cd src/frontend && npx playwright install --with-deps\n      - name: Run Playwright tests\n        id: tests\n        run: cd src/frontend && npx nyc playwright test\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # pin@v4\n        if: ${{ !cancelled() && steps.tests.outcome == 'failure' }}\n        with:\n          name: playwright-report\n          path: src/frontend/playwright-report/\n          retention-days: 14\n      - name: Report coverage\n        if: always()\n        run: cd src/frontend && npx nyc report --report-dir ./coverage --temp-dir .nyc_output --reporter=lcov --exclude-after-remap false\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # pin@v4.5.0\n        if: always()\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          slug: inventree/InvenTree\n          flags: pui\n\n  platform_ui_build:\n    name: Build - UI Platform\n    runs-on: ubuntu-20.04\n    timeout-minutes: 60\n\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          npm: true\n      - name: Install dependencies\n        run: cd src/frontend && yarn install\n      - name: Build frontend\n        run: cd src/frontend && yarn run compile && yarn run build\n      - name: Zip frontend\n        run: |\n          cd src/backend/InvenTree/web/static\n          zip -r frontend-build.zip web/ web/.vite\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # pin@v4.3.3\n        with:\n          name: frontend-build\n          path: src/backend/InvenTree/web/static/web\n", "state": "active", "repository": "inventree/inventree"}
{"mined_at": "2024-07-15T15:56:55.118505", "created_at": "2022-08-06T01:26:29+02:00", "updated_at": "2022-08-06T01:26:29+02:00", "name": "Update dependency files regularly", "path": ".github/workflows/update.yml", "contents": null, "state": "active", "repository": "inventree/inventree"}
{"mined_at": "2024-07-15T15:56:56.164061", "created_at": "2023-05-28T10:55:09+02:00", "updated_at": "2024-04-22T05:58:46+02:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": null, "state": "active", "repository": "inventree/inventree"}
{"mined_at": "2024-07-15T15:56:57.205823", "created_at": "2023-06-12T08:00:48+02:00", "updated_at": "2023-06-12T08:00:48+02:00", "name": "Playwright Tests", "path": ".github/workflows/playwright.yml", "contents": null, "state": "active", "repository": "inventree/inventree"}
{"mined_at": "2024-07-15T15:56:58.289805", "created_at": "2024-04-21T14:20:15+02:00", "updated_at": "2024-04-21T14:20:15+02:00", "name": "Backport", "path": ".github/workflows/backport.yaml", "contents": "# Backport tagged issues to a stable branch.\n#\n# To enable backporting for a pullrequest, add the label \"backport\" to the PR.\n# Additionally, add a label with the prefix \"backport-to-\" and the target branch\n\nname: Backport\n\non:\n  pull_request_target:\n    types: [\"labeled\", \"closed\"]\n\njobs:\n  backport:\n    name: Backport PR\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    if: |\n      github.event.pull_request.merged == true\n      && contains(github.event.pull_request.labels.*.name, 'backport')\n      && (\n        (github.event.action == 'labeled' && github.event.label.name == 'backport')\n        || (github.event.action == 'closed')\n      )\n    steps:\n      - name: Backport Action\n        uses: sqren/backport-github-action@f54e19901f2a57f8b82360f2490d47ee82ec82c6 # pin@v9.2.2\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          auto_backport_label_prefix: backport-to-\n\n      - name: Info log\n        if: ${{ success() }}\n        run: cat ~/.backport/backport.info.log\n\n      - name: Debug log\n        if: ${{ failure() }}\n        run: cat ~/.backport/backport.debug.log\n", "state": "active", "repository": "inventree/inventree"}
{"mined_at": "2024-07-15T15:56:59.351465", "created_at": "2024-04-21T14:20:15+02:00", "updated_at": "2024-04-21T14:20:15+02:00", "name": "Publish release notes", "path": ".github/workflows/release.yaml", "contents": "# Runs on releases\n\nname: Publish release notes\non:\n  release:\n    types: [published]\n\njobs:\n  stable:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Version Check\n        run: |\n          pip install --require-hashes -r contrib/dev_reqs/requirements.txt\n          python3 .github/scripts/version_check.py\n      - name: Push to Stable Branch\n        uses: ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df # pin@v0.8.0\n        if: env.stable_release == 'true'\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: stable\n          force: true\n\n  publish-build:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          npm: true\n      - name: Install dependencies\n        run: cd src/frontend && yarn install\n      - name: Build frontend\n        run: cd src/frontend && npm run compile && npm run build\n      - name: Zip frontend\n        run: |\n          cd src/backend/InvenTree/web/static/web\n          zip -r ../frontend-build.zip * .vite\n      - uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd # pin@2.9.0\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: src/backend/InvenTree/web/static/frontend-build.zip\n          asset_name: frontend-build.zip\n          tag: ${{ github.ref }}\n          overwrite: true\n", "state": "active", "repository": "inventree/inventree"}
{"mined_at": "2024-07-15T15:57:00.372360", "created_at": "2024-04-21T14:20:15+02:00", "updated_at": "2024-04-21T14:20:15+02:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yaml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: \"32 0 * * 0\"\n  push:\n    branches: [\"master\"]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "inventree/inventree"}
{"mined_at": "2024-07-15T15:57:01.437784", "created_at": "2024-04-21T14:20:15+02:00", "updated_at": "2024-04-21T14:20:15+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yaml", "contents": "# Marks all issues that do not receive activity stale starting 2022\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n    - cron: \"24 11 * * *\"\n\npermissions:\n  contents: read\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n      - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # pin@v9.0.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          stale-issue-message: \"This issue seems stale. Please react to show this is still important.\"\n          stale-pr-message: \"This PR seems stale. Please react to show this is still important.\"\n          stale-issue-label: \"inactive\"\n          stale-pr-label: \"inactive\"\n          start-date: \"2022-01-01\"\n          exempt-all-milestones: true\n", "state": "active", "repository": "inventree/inventree"}
{"mined_at": "2024-07-15T15:57:02.472739", "created_at": "2024-04-21T14:20:15+02:00", "updated_at": "2024-04-21T14:20:15+02:00", "name": "Update Translation Files", "path": ".github/workflows/translations.yaml", "contents": "name: Update Translation Files\n\non:\n  push:\n    branches:\n      - master\n\nenv:\n  python_version: 3.9\n  node_version: 18\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      INVENTREE_DB_NAME: \"./test_db.sqlite\"\n      INVENTREE_DB_ENGINE: django.db.backends.sqlite3\n      INVENTREE_DEBUG: info\n      INVENTREE_MEDIA_ROOT: ./media\n      INVENTREE_STATIC_ROOT: ./static\n      INVENTREE_BACKUP_DIR: ./backup\n      INVENTREE_SITE_URL: http://localhost:8000\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7\n      - name: Environment Setup\n        uses: ./.github/actions/setup\n        with:\n          install: true\n          npm: true\n          apt-dependency: gettext\n      - name: Make Translations\n        run: invoke translate\n      - name: Commit files\n        run: |\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git checkout -b l10_local\n          git add \"*.po\"\n          git commit -m \"updated translation base\"\n      - name: Push changes\n        uses: ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df # pin@v0.8.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: l10\n          force: true\n", "state": "active", "repository": "inventree/inventree"}
{"mined_at": "2024-07-15T15:57:04.546372", "created_at": "2020-11-15T22:15:16+01:00", "updated_at": "2020-11-15T22:15:16+01:00", "name": "Docker CI", "path": ".github/workflows/docker.yml", "contents": "name: Docker CI\n\non: [push, pull_request]\n\njobs:\n\n  build-test:\n    name: Build docker and run tests\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: true\n\n      - name: Build the Docker image\n        run: docker build . --file Dockerfile --tag mapillary/opensfm:$GITHUB_SHA\n\n      - name: Run C++ tests\n        run: docker run mapillary/opensfm:$GITHUB_SHA /bin/sh -c \"cd cmake_build && ctest\"\n\n      - name: Run Python tests\n        run: docker run mapillary/opensfm:$GITHUB_SHA python3 -m pytest\n", "state": "active", "repository": "mapillary/opensfm"}
{"mined_at": "2024-07-15T15:57:05.594889", "created_at": "2021-02-03T08:42:26+01:00", "updated_at": "2021-02-03T08:42:26+01:00", "name": "Docker CI", "path": ".github/workflows/docker_ceres2.yml", "contents": "name: Docker CI\n\non: [push, pull_request]\n\njobs:\n\n  build-test:\n    name: Build docker installing CeresSolver 2 and run tests\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: true\n\n      - name: Build the Docker image\n        run: docker build . --file Dockerfile.ceres2 --tag mapillary/opensfm.ceres2:$GITHUB_SHA\n\n      - name: Run C++ tests\n        run: docker run mapillary/opensfm.ceres2:$GITHUB_SHA /bin/sh -c \"cd cmake_build && ctest\"\n\n      - name: Run Python tests\n        run: docker run mapillary/opensfm.ceres2:$GITHUB_SHA python3 -m pytest\n", "state": "active", "repository": "mapillary/opensfm"}
{"mined_at": "2024-07-15T15:57:07.881566", "created_at": "2020-12-21T16:47:12+01:00", "updated_at": "2021-03-15T17:29:25+01:00", "name": "Frontend", "path": ".github/workflows/frontend.yml", "contents": "name: Frontend\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - translate/**\n      - .github/workflows/frontend.yml\n  pull_request:\n    branches:\n      - main\n    paths:\n      - translate/**\n      - .github/workflows/frontend.yml\n  workflow_dispatch:\n\njobs:\n  typescript:\n    name: TypeScript\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with: { node-version: '18' }\n      - name: Install dependencies\n        run: npm ci\n      - name: Check TypeScript\n        run: npm run types -- --pretty\n        working-directory: translate\n      - name: build\n        run: npm run build\n        working-directory: translate\n\n  jest:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with: { node-version: '18' }\n      - name: Install globals\n        run: npm install --global npm@8\n      - name: Install dependencies\n        run: npm ci\n      - name: Test\n        run: npm test --coverage\n        working-directory: translate\n      - uses: codecov/codecov-action@v4\n        with:\n          flags: frontend\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "mozilla/pontoon"}
{"mined_at": "2024-07-15T15:57:09.177659", "created_at": "2020-12-21T17:55:31+01:00", "updated_at": "2020-12-22T11:51:52+01:00", "name": "Heroku", "path": ".github/workflows/heroku.yml", "contents": "name: Heroku\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - app.json\n      - .github/workflows/heroku.yml\n  pull_request:\n    branches:\n      - main\n    paths:\n      - app.json\n      - .github/workflows/heroku.yml\n  workflow_dispatch:\n\njobs:\n  app-json:\n    name: Validating app.json\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Validate\n        run: python3 -m json.tool < app.json > /dev/null\n", "state": "active", "repository": "mozilla/pontoon"}
{"mined_at": "2024-07-15T15:57:10.349302", "created_at": "2020-12-22T11:51:52+01:00", "updated_at": "2020-12-22T11:51:52+01:00", "name": "Backend", "path": ".github/workflows/backend.yml", "contents": "name: Backend\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - requirements/**\n      - docker/config/server.env.template\n      - pontoon/**\n      - .github/workflows/backend.yml\n  pull_request:\n    branches:\n      - main\n    paths:\n      - requirements/**\n      - docker/config/server.env.template\n      - pontoon/**\n      - .github/workflows/backend.yml\n  workflow_dispatch:\n\njobs:\n  test:\n    name: pytest\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:15\n        env:\n          POSTGRES_USER: pontoon\n          POSTGRES_PASSWORD: pontoon\n          POSTGRES_DB: pontoon\n        ports:\n          - 5432:5432\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: pip\n          cache-dependency-path: |\n            requirements/default.txt\n            requirements/dev.txt\n            requirements/lint.txt\n            requirements/test.txt\n      - run: >\n          pip install\n          -r requirements/default.txt\n          -r requirements/dev.txt\n          -r requirements/test.txt\n          -r requirements/lint.txt\n\n      # Set environment variables\n      - run: pip install pytest-dotenv\n      - run: >\n          sed\n          -e 's#^DATABASE_URL=.*#DATABASE_URL=postgres://pontoon:pontoon@localhost/pontoon#'\n          -e '/^SITE_URL=/d'\n          docker/config/server.env.template > .env\n\n      # Run collectstatic with minimal dependencies, skipping the actual front-end build\n      - run: npm install\n        working-directory: pontoon\n      - run: mkdir -p tag-admin/dist translate/dist translate/public\n      - run: python manage.py collectstatic\n\n      - run: pytest\n      - uses: codecov/codecov-action@v4\n        with:\n          flags: backend\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "mozilla/pontoon"}
{"mined_at": "2024-07-15T15:57:11.449449", "created_at": "2020-12-22T11:51:52+01:00", "updated_at": "2020-12-22T11:51:52+01:00", "name": "Python linting", "path": ".github/workflows/py-lint.yml", "contents": "name: Python linting\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - pontoon/**.py\n      - .github/workflows/py-lint.yml\n      - requirements/lint.txt\n  pull_request:\n    branches:\n      - main\n    paths:\n      - pontoon/**.py\n      - .github/workflows/py-lint.yml\n      - requirements/lint.txt\n  workflow_dispatch:\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Install Dependencies\n        run: |\n          pip install -U pip\n          pip install -r requirements/lint.txt\n      - name: ruff lint\n        run: ruff check pontoon\n      - name: ruff format\n        run: ruff format --check pontoon\n", "state": "active", "repository": "mozilla/pontoon"}
{"mined_at": "2024-07-15T15:57:12.556981", "created_at": "2020-12-22T12:57:38+01:00", "updated_at": "2020-12-22T12:57:38+01:00", "name": "JavaScript linting", "path": ".github/workflows/js-lint.yml", "contents": "name: JavaScript linting\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - '**.js'\n      - '**.ts'\n      - '**.tsx'\n      - '**.css'\n      - package.json\n      - '.*eslint*'\n      - '.*prettier*'\n      - .github/workflows/js-lint.yml\n  pull_request:\n    branches:\n      - main\n    paths:\n      - '**.js'\n      - '**.ts'\n      - '**.tsx'\n      - '**.css'\n      - package.json\n      - '.*eslint*'\n      - '.*prettier*'\n      - .github/workflows/js-lint.yml\n  workflow_dispatch:\n\njobs:\n  eslint:\n    name: eslint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with: { node-version: '18' }\n      - name: Install dependencies\n        run: npm ci\n      - name: eslint\n        run: npm run eslint\n\n  prettier:\n    name: prettier\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with: { node-version: '18' }\n      - name: Install dependencies\n        run: npm ci\n      - name: prettier\n        run: npm run check-prettier\n", "state": "active", "repository": "mozilla/pontoon"}
{"mined_at": "2024-07-15T15:57:13.552873", "created_at": "2022-02-16T15:18:33+01:00", "updated_at": "2022-02-16T15:47:34+01:00", "name": "Non-frontend JavaScript", "path": ".github/workflows/tag-admin.yml", "contents": "name: Non-frontend JavaScript\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - tag-admin/**\n      - package.json\n      - .github/workflows/tag-admin.yml\n  pull_request:\n    branches:\n      - main\n    paths:\n      - tag-admin/**\n      - package.json\n      - .github/workflows/tag-admin.yml\n  workflow_dispatch:\n\njobs:\n  test:\n    name: Test & build\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with: { node-version: '18' }\n      - name: Install globals\n        run: npm install --global npm@8\n      - name: Install dependencies\n        run: npm ci\n      - name: Test\n        run: npm test\n        working-directory: tag-admin\n      - uses: codecov/codecov-action@v4\n        with:\n          flags: non-frontend-js\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      - name: Build\n        run: npm run build\n", "state": "active", "repository": "mozilla/pontoon"}
{"mined_at": "2024-07-15T15:57:15.562201", "created_at": "2022-06-17T19:07:49+02:00", "updated_at": "2022-06-24T13:43:44+02:00", "name": "Integrations Testing Post-Merge", "path": ".github/workflows/Integrations-post-merge-check.yaml", "contents": "name: Integrations Testing Post-Merge\non: \n  push:\n    branches:\n      - main\n      - 'release/*'\n\njobs:\n  test-setup:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - run: git branch --show-current\n      - name: Get current branch\n        id: get-branch\n        run: >\n          (git branch --show-current | grep -E \"release/\")\n          && echo \"::set-output name=branch::$(git branch --show-current)\"\n          || echo \"::set-output name=branch::main\"\n\n  integrations-tests:\n    runs-on: ubuntu-22.04\n    needs: test-setup\n    env:\n      SPARSEZOO_TEST_MODE: \"true\"\n      SPARSEML_TEST_CADENCE: \"commit\"\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/sparsezoo\"\n          path: \"sparsezoo\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: \"⚙️ Install sparsezoo dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools sparsezoo/\n      - name: \"Clean sparsezoo directory\"\n        run: rm -r sparsezoo/\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/compressed-tensors\"\n          path: \"compressed-tensors\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install compressed-tensors dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools compressed-tensors/\n      - name: \"Clean compressed-tensors directory\"\n        run: rm -r compressed-tensors/\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev,torchvision,deepsparse,onnxruntime,transformers,yolov5]\n      - name: \"🔬 Running integrations tests (cadence: commit}})\"\n        run: make testinteg TARGETS=yolov5,transformers,image_classification\n", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:16.612675", "created_at": "2023-04-09T19:21:44+02:00", "updated_at": "2023-04-09T19:21:44+02:00", "name": "Build and Publish Docker Images", "path": ".github/workflows/build-and-publish-release-images.yaml", "contents": "name: Build and Publish Docker Images\n\non:\n  release:\n    types: [published]\n\njobs:\n  build-and-push-docker-image:\n    name: Build and Push Version Tagged Docker Images to GitHub Container Registry\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Set up Docker Buildx\n        if: ${{ startsWith(github.ref, 'refs/tags/v') }}\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n        with:\n          buildkitd-flags: --debug\n\n      - name: Login to Github Packages\n        if: ${{ startsWith(github.ref, 'refs/tags/v') }}\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Checkout code\n        if: ${{ startsWith(github.ref, 'refs/tags/v') }}\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n\n      - name: Get Tag\n        id: extract_tag\n        run: echo \"##[set-output name=tag;]$(echo ${GITHUB_REF_NAME#*/})\"\n\n      - name: Current Version Name\n        if: ${{ startsWith(github.ref, 'refs/tags/v') }}\n        run: |\n          echo ${{ steps.extract_tag.outputs.tag }}\n\n      - name: Build and push sparseml latest using default cuda 11.1.1\n        if: ${{ startsWith(github.ref, 'refs/tags/v') }}\n        uses: docker/build-push-action@v2\n        with:\n          context: ./docker\n          build-args: |\n            DEPS=all\n            VERSION=${{ steps.extract_tag.outputs.tag }}\n          push: true\n          tags: |\n            ghcr.io/neuralmagic/sparseml:latest\n\n      - name: Build and push sparseml with all dependencies and default cuda 11.1.1\n        if: ${{ startsWith(github.ref, 'refs/tags/v') }}\n        uses: docker/build-push-action@v2\n        with:\n          context: ./docker\n          build-args: |\n            DEPS=all\n            VERSION=${{ steps.extract_tag.outputs.tag }}\n          push: true\n          tags: |\n            ghcr.io/neuralmagic/sparseml:${{ steps.extract_tag.outputs.tag }}\n\n      - name: Build and push sparseml with all dependencies and cuda 10.2\n        if: ${{ startsWith(github.ref, 'refs/tags/v') }}\n        uses: docker/build-push-action@v2\n        with:\n          context: ./docker\n          build-args: |\n            DEPS=all\n            VERSION=${{ steps.extract_tag.outputs.tag }}\n            CUDA=10.2\n          push: true\n          tags: |\n            ghcr.io/neuralmagic/sparseml:${{ steps.extract_tag.outputs.tag }}-cu102\n\n      - name: Build and push sparseml-base cu11.1.1\n        if: ${{ startsWith(github.ref, 'refs/tags/v') }}\n        uses: docker/build-push-action@v2\n        with:\n          context: ./docker\n          build-args: |\n            DEPS=base\n            VERSION=${{ steps.extract_tag.outputs.tag }}\n          push: true\n          tags: |\n            ghcr.io/neuralmagic/sparseml-base:${{ steps.extract_tag.outputs.tag }}\n\n      - name: Build and push sparseml-base cu10.2\n        if: ${{ startsWith(github.ref, 'refs/tags/v') }}\n        uses: docker/build-push-action@v2\n        with:\n          context: ./docker\n          build-args: |\n            DEPS=base\n            VERSION=${{ steps.extract_tag.outputs.tag }}\n            CUDA=10.2\n          push: true\n          tags: |\n            ghcr.io/neuralmagic/sparseml-base:${{ steps.extract_tag.outputs.tag }}-cu10.2\n\n\n      - name: Image digest\n        if: ${{ startsWith(github.ref, 'refs/tags/v') }}\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:17.658958", "created_at": "2023-03-13T10:24:42+01:00", "updated_at": "2023-04-10T11:44:21+02:00", "name": "Build and Publish", "path": ".github/workflows/build-and-publish.yaml", "contents": null, "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:18.741402", "created_at": "2024-02-28T16:54:52+01:00", "updated_at": "2024-06-12T18:01:55+02:00", "name": "Build Container with wheel and push to GCR", "path": ".github/workflows/build-container.yml", "contents": "name: Build Container with wheel and push to GCR\non:\n  workflow_call:\n    inputs:\n      build-label:\n        description: \"requested runner label\"\n        type: string\n      dev:\n        type: string\n        required: true \n      release:\n        type: string\n        required: true\n      name:\n        type: string\n\njobs:\n  build-container:\n    runs-on: ${{ inputs.build-label }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n        with:\n          buildkitd-flags: --debug\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y%m%d')\" >> $GITHUB_OUTPUT\n\n      - name: Get the current version\n        if: ${{ inputs.release == 'true' }}\n        id: version\n        run: echo \"version=$(echo ${{ github.base_ref }} | cut -c 9-15)\" >> $GITHUB_OUTPUT\n\n      - name: Login to Github Packages\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build Dev Docker Container\n        if: ${{ inputs.dev == 'true' }}\n        uses: docker/build-push-action@v4\n        with: \n          context: ./docker/containers/docker_dev\n          build-args: |\n            BRANCH=${{github.head_ref}}\n          push: true\n          tags: ghcr.io/neuralmagic/sparseml-dev:${{ inputs.name }}\n      \n      - name: Build Nightly Docker Container\n        if: ${{ inputs.dev == 'false' && inputs.release == 'false'}}\n        uses: docker/build-push-action@v4\n        with:\n          context: ./docker/containers/docker_nightly\n          push: true\n          tags: ghcr.io/neuralmagic/sparseml-nightly:latest, ghcr.io/neuralmagic/sparseml-nightly:${{ steps.date.outputs.date }}", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:19.756193", "created_at": "2024-02-27T03:31:23+01:00", "updated_at": "2024-02-27T03:31:23+01:00", "name": "Run nightly docker container", "path": ".github/workflows/build-nightly-new.yml", "contents": null, "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:20.818460", "created_at": "2024-06-17T20:14:05+02:00", "updated_at": "2024-06-18T15:14:14+02:00", "name": "Build release wheel", "path": ".github/workflows/build-release-wheel.yaml", "contents": "name: Build release wheel\n\non:\n  push:\n    branches:\n      - 'release/*'\n\n  workflow_dispatch:\n    inputs:\n      gitref:\n        description: \"git tag, commit or branch name for the release\"\n        type: string\n        required: true\n        default: 'release/1.8'\n\njobs:\n  build-release-wheel:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n          \n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.gitref }}\n      \n      - name: Build PyPi Wheel\n        id: build\n        uses: neuralmagic/nm-actions/actions/pypi_build@main\n        with:\n          dev: false\n          release: true\n\n      - name: Set Env\n        run: |\n          pip3 install --upgrade pip && pip3 install --upgrade setuptools\n          pip3 install virtualenv\n          virtualenv venv\n          source venv/bin/activate\n\n      - name: upload whl\n        uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: \"wheel-sparseml\"\n          path: ${{ steps.build.outputs.whlname }}\n          retention-days: 7\n\n      - name: upload tar.gz\n        uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: \"tar-sparseml\"\n          path: ${{ steps.build.outputs.tarname }}\n          retention-days: 7\n", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:21.854207", "created_at": "2024-03-29T16:16:26+01:00", "updated_at": "2024-05-28T22:46:03+02:00", "name": "Build PyPi Wheel and Docker Container", "path": ".github/workflows/build-wheel-and-container.yml", "contents": "name: Build PyPi Wheel and Docker Container\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n    branches:\n      - main\n  schedule:\n    - cron: '0 20 * * *'\n\npermissions:\n  id-token: write\n  contents: read\n  packages: write\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\n# TODO: do we want to push to nightly everytime we push to main?\n# if not dev or release, will create a nightly build; turning off release for now\nenv:\n  RELEASE: 'false'\n  DEV: ${{ github.base_ref == 'main' && github.event_name == 'pull_request'}}\n\njobs:\n  set-outputs:\n    runs-on: ubuntu-latest\n    outputs:\n      dev: ${{ steps.set-outputs.outputs.dev }}\n      release: ${{ steps.set-outputs.outputs.release }}\n    steps:\n      - name: Set variables for workflows\n        id: set-outputs\n        run: |\n          echo \"dev=$DEV\" >> $GITHUB_OUTPUT\n          echo \"release=$RELEASE\" >> $GITHUB_OUTPUT\n\n  test-nightly:\n    needs: set-outputs\n    if: ${{ needs.set-outputs.outputs.dev  == 'false' && needs.set-outputs.outputs.release  == 'false'}}\n    uses: ./.github/workflows/test-nightly.yml\n\n  build-wheel-and-push:\n    needs: [set-outputs, test-nightly]\n    if: ${{ always() && needs.set-outputs.outputs.dev == 'false' && needs.test-nightly.result == 'success' || always() && needs.set-outputs.outputs.dev  == 'true' && needs.set-outputs.result == 'success' }}\n    uses: ./.github/workflows/build-wheel.yml\n    with:\n      build-label: ubuntu-20.04\n      dev: ${{ needs.set-outputs.outputs.dev }}\n      release: ${{ needs.set-outputs.outputs.release  }}\n      name: ${{ github.event.number }} \n      filename: dist/*.whl\n      bucket_name: nm-actions-test\n      python: '3.10'\n    secrets: inherit\n\n  test-wheel-and-publish:\n    needs: [set-outputs, build-wheel-and-push]\n    if: ${{ always() && !cancelled() && needs.build-wheel-and-push.result == 'success' }}\n    uses: ./.github/workflows/test-wheel-and-publish.yml\n    with:\n      build-label: ubuntu-20.04\n      whl: ${{ needs.build-wheel-and-push.outputs.wheel }}\n      python: '3.10'\n      dev: ${{ needs.set-outputs.outputs.dev }}\n      release: ${{ needs.set-outputs.outputs.release  }}\n    secrets: inherit\n\n  build-container-and-push:\n    needs: [test-wheel-and-publish, set-outputs]\n    if: ${{ always() && !cancelled() && needs.test-wheel-and-publish.result == 'success' }}\n    uses: ./.github/workflows/build-container.yml\n    with:\n      build-label: k8s-eng-gpu-16G-t4-32G\n      dev: ${{ needs.set-outputs.outputs.dev }}\n      release: ${{ needs.set-outputs.outputs.release  }}\n      name: ${{ github.event.number }}\n    secrets: inherit", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:22.903178", "created_at": "2024-03-14T17:10:21+01:00", "updated_at": "2024-04-09T20:15:15+02:00", "name": "Build Wheel and Push to s3", "path": ".github/workflows/build-wheel.yml", "contents": "name: Build Wheel and Push to s3\non:\n  workflow_call:\n    inputs:\n      build-label:\n        description: \"requested runner label\"\n        type: string\n        required: true\n      dev:\n        type: string\n        required: true \n      release:\n        type: string\n        required: true\n      name:\n        type: string\n      filename:\n        type: string\n        required: true\n      bucket_name:\n        type: string\n        required: true\n      python:\n        type: string\n    outputs:\n      wheel:\n        value: ${{ jobs.build-wheel-and-push.outputs.wheel }}\n\njobs:\n  build-wheel-and-push:\n    runs-on: ${{ inputs.build-label }}\n    outputs:\n      wheel: ${{ steps.push-wheel.outputs.wheel }}\n    steps:\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ inputs.python }}\n\n    - name: Checkout code\n      uses: actions/checkout@v3\n\n    - name: Login to s3\n      uses: aws-actions/configure-aws-credentials@v2\n      with:\n        role-to-assume: ${{ secrets.AWS_WEBIDENTITY_FOR_GITHUB_ACTIONS }}\n        aws-region: us-east-1 \n    \n    - name: Set Env\n      run: |\n        pip3 install virtualenv\n        virtualenv venv\n        source venv/bin/activate\n\n    - name: Build PyPi Wheel\n      id: build-wheel\n      uses: neuralmagic/nm-actions/actions/pypi_build@main\n      with:\n        dev: ${{ inputs.dev }}\n        release: ${{ inputs.release }}\n        name: ${{ inputs.name }}\n    \n    - name: Push to s3 bucket\n      id: push-wheel\n      uses: neuralmagic/nm-actions/actions/s3_push@main\n      with:\n        filename: ${{ inputs.filename }}\n        bucket_name: ${{ inputs.bucket_name }}", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:23.950544", "created_at": "2024-04-03T16:31:54+02:00", "updated_at": "2024-04-03T16:31:54+02:00", "name": ".github/workflows/build-whl.yml", "path": ".github/workflows/build-whl.yml", "contents": null, "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:24.999948", "created_at": "2023-09-14T17:04:39+02:00", "updated_at": "2023-09-14T17:08:52+02:00", "name": "Wily on PR", "path": ".github/workflows/check-complexity.yaml", "contents": null, "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:26.049048", "created_at": "2023-09-29T17:43:30+02:00", "updated_at": "2023-09-29T17:43:30+02:00", "name": "coverage", "path": ".github/workflows/code-coverage.yaml", "contents": null, "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:27.097474", "created_at": "2022-06-06T18:06:25+02:00", "updated_at": "2022-06-17T19:07:50+02:00", "name": "Integrations Testing", "path": ".github/workflows/integrations-check.yaml", "contents": "name: Integrations Testing\non: \n  pull_request:\n    branches:\n      - main\n      - 'release/*'\n\njobs:\n  test-setup:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - run: git branch --show-current\n      - name: Get current branch\n        id: get-branch\n        run: >\n          (git branch --show-current | grep -E \"release/\")\n          && echo \"::set-output name=branch::$(git branch --show-current)\"\n          || echo \"::set-output name=branch::main\"\n      - name: \"Checking if sparseml.transformers was changed\"\n        id: transformers-check\n        run: >\n          ((git diff --name-only origin/main HEAD | grep -E \"[src/sparseml|tests/integrations]/transformers|setup.py\")\n          || (echo $GITHUB_REF | grep -E \"refs/heads/[release/|main]\"))\n          && echo \"::set-output name=output::transformers\" || echo \"::set-output name=output::\"\n      - name: \"Checking if sparseml.yolov5 was changed\" \n        id: yolov5-check\n        run: >\n          ((git diff --name-only origin/main HEAD | grep -E \"[src/sparseml|tests/integrations]/yolov5|setup.py\")\n          || (echo $GITHUB_REF | grep -E \"refs/heads/[release/|main]\"))\n          && echo \"::set-output name=output::yolov5\" || echo \"::set-output name=output::\"\n      - name: \"Checking if sparseml.pytorch.image_classification was changed\" \n        id: image-classification-check\n        run: >\n          ((git diff --name-only origin/main HEAD | grep -E \"[src/sparseml/pytorch|tests/integrations]/image_classification|setup.py\")\n          || (echo $GITHUB_REF | grep -E \"refs/heads/[release/|main]\"))\n          && echo \"::set-output name=output::image_classification\" || echo \"::set-output name=output::\"\n\n  integrations-tests:\n    runs-on: ubuntu-22.04\n    needs: test-setup\n    env:\n      SPARSEZOO_TEST_MODE: \"true\"\n      SPARSEML_TEST_CADENCE: \"pre-commit\"\n      TRANSFORMERS: needs.test-setup.outputs.transformers\n      YOLOV5: needs.test-setup.outputs.yolov5\n      IMAGE_CLASSIFICATION: needs.test-setup.outputs.image_classification\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/sparsezoo\"\n          path: \"sparsezoo\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: \"⚙️ Install sparsezoo dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools sparsezoo/\n      - name: \"Clean sparsezoo directory\"\n        run: rm -r sparsezoo/\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/compressed-tensors\"\n          path: \"compressed-tensors\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install compressed-tensors dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools compressed-tensors/\n      - name: \"Clean compressed-tensors directory\"\n        run: rm -r compressed-tensors/\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev,torchvision,deepsparse,onnxruntime,transformers,yolov5]\n      - name: \"🔬 Running integrations tests (cadence: pre-commit}})\"\n        run: make testinteg TARGETS=$TRANSFORMERS,$YOLOV5,$IMAGE_CLASSIFICATION\n\n", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:28.147991", "created_at": "2023-04-19T22:28:11+02:00", "updated_at": "2023-09-05T22:15:10+02:00", "name": "Check Markdown links", "path": ".github/workflows/linkcheck.yml", "contents": "name: Check Markdown links\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  markdown-link-check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: gaurav-nelson/github-action-markdown-link-check@v1\n      with:\n        use-quiet-mode: 'yes'\n        config-file: '.github/workflows/mlc_config.json'\n", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:29.210991", "created_at": "2021-04-09T18:17:18+02:00", "updated_at": "2021-04-26T17:16:16+02:00", "name": "Quality Checks", "path": ".github/workflows/quality-check.yaml", "contents": "name: Quality Checks\non: \n  push:\n    branches:\n      - main\n      - 'release/*'\n  pull_request:\n    branches:\n      - main\n      - 'release/*'\njobs:\n  quality-check:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/sparsezoo\"\n          path: \"sparsezoo\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install sparsezoo dependencies\"\n        run: pip3 install sparsezoo/\n      - name: \"Clean sparsezoo directory\"\n        run: rm -r sparsezoo/\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev]\n      - name: \"🧹 Running quality checks\"\n        run: make quality\n", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:30.242134", "created_at": "2024-05-08T19:19:46+02:00", "updated_at": "2024-05-08T19:19:46+02:00", "name": ".github/workflows/test-basic.yml", "path": ".github/workflows/test-basic.yml", "contents": null, "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:31.304384", "created_at": "2021-04-23T18:22:32+02:00", "updated_at": "2024-04-03T00:46:42+02:00", "name": "Test Checks", "path": ".github/workflows/test-check.yaml", "contents": "name: Test Checks\non: \n  push:\n    branches:\n      - main\n      - 'release/*'\n  pull_request:\n    branches:\n      - main\n      - 'release/*'\n\njobs:\n  test-setup:\n    runs-on: ubuntu-22.04\n    outputs:\n      branch: ${{ steps.get-branch.outputs.branch }}\n      base: ${{ steps.base-check.outputs.output }}\n      deepsparse: ${{ steps.deepsparse-check.outputs.output }}\n      onnx: ${{ steps.onnx-check.outputs.output }}\n      pytorch: ${{ steps.pytorch-check.outputs.output }}\n      export: ${{ steps.export-check.outputs.output }}\n      transformers: ${{ steps.transformers-check.outputs.output }}\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - run: git branch --show-current\n      - name: Get current branch\n        id: get-branch\n        run: >\n          (git branch --show-current | grep -E \"release/\")\n          && echo \"::set-output name=branch::$(git branch --show-current)\"\n          || echo \"::set-output name=branch::main\"\n      - name: \"Checking if sparseml was changed\"\n        id: base-check\n        run: >\n          ((git diff --name-only origin/main HEAD | grep -E \"[src|tests]/sparseml|setup.py|.github\")\n          || (echo $GITHUB_REF | grep -E \"refs/heads/[release/|main]\"))\n          && echo \"::set-output name=output::1\" || echo \"::set-output name=output::0\"\n      - name: \"Checking if sparseml.deepsparse was changed\"\n        id: deepsparse-check\n        run: >\n          ((git diff --name-only origin/main HEAD | grep -E \"[src|tests]/sparseml/deepsparse|setup.py|.github\")\n          || (echo $GITHUB_REF | grep -E \"refs/heads/[release/|main]\"))\n          && echo \"::set-output name=output::1\" || echo \"::set-output name=output::0\"\n      - name: \"Checking if sparseml.onnx was changed\"\n        id: onnx-check\n        run: >\n          ((git diff --name-only origin/main HEAD | grep -E \"[src|tests]/sparseml/onnx|setup.py|.github\")\n          || (echo $GITHUB_REF | grep -E \"refs/heads/[release/|main]\"))\n          && echo \"::set-output name=output::1\" || echo \"::set-output name=output::0\"\n      - name: \"Checking if sparseml.pytorch was changed\"\n        id: pytorch-check\n        run: >\n          ((git diff --name-only origin/main HEAD | grep -E \"[src|tests]/sparseml/modifiers|pytorch|setup.py|.github\")\n          || (echo $GITHUB_REF | grep -E \"refs/heads/[release/|main]\"))\n          && echo \"::set-output name=output::1\" || echo \"::set-output name=output::0\"\n      - name: \"Checking if sparseml.export was changed\"\n        id: export-check\n        run: >\n          ((git diff --name-only origin/main HEAD | grep -E \"[src|tests]/sparseml/export|setup.py|.github\")\n          || (echo $GITHUB_REF | grep -E \"refs/heads/[release/|main]\"))\n          && echo \"::set-output name=output::1\" || echo \"::set-output name=output::0\"\n      - name: \"Checking if sparseml.transformers was changed\"\n        id: transformers-check\n        run: >\n          ((git diff --name-only origin/main HEAD | grep -E \"[src|tests]/sparseml/transformers|setup.py|.github\")\n          || (echo $GITHUB_REF | grep -E \"refs/heads/[release/|main]\"))\n          && echo \"::set-output name=output::1\" || echo \"::set-output name=output::0\"\n  base-tests:\n    runs-on: ubuntu-22.04\n    env:\n      SPARSEZOO_TEST_MODE: \"true\"\n    needs: test-setup\n    if: ${{needs.test-setup.outputs.base == 1}}\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/sparsezoo\"\n          path: \"sparsezoo\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install sparsezoo dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools sparsezoo/\n      - name: \"Clean sparsezoo directory\"\n        run: rm -r sparsezoo/\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev,onnxruntime]\n      - name: \"🔬 Running base tests\"\n        run: make test\n  deepsparse-tests:\n    runs-on: ubuntu-22.04\n    env:\n      SPARSEZOO_TEST_MODE: \"true\"\n    needs: test-setup\n    if: ${{needs.test-setup.outputs.deepsparse == 1}}\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/sparsezoo\"\n          path: \"sparsezoo\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install sparsezoo dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools sparsezoo/\n      - name: \"Clean sparsezoo directory\"\n        run: rm -r sparsezoo/\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev,deepsparse,onnxruntime]\n      - name: \"🔬 Running deepsparse tests\"\n        run: make test TARGETS=deepsparse\n  onnx-tests:\n    runs-on: ubuntu-22.04\n    env:\n      SPARSEZOO_TEST_MODE: \"true\"\n    needs: test-setup\n    if: ${{needs.test-setup.outputs.onnx == 1}}\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/sparsezoo\"\n          path: \"sparsezoo\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install sparsezoo dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools sparsezoo/\n      - name: \"Clean sparsezoo directory\"\n        run: rm -r sparsezoo/\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev,torchvision,onnxruntime]\n      - name: \"🔬 Running onnx tests\"\n        run: make test TARGETS=onnx\n  pytorch-tests:\n    runs-on: k8s-eng-gpu-64G-v100-32G\n    env:\n      SPARSEZOO_TEST_MODE: \"true\"\n      CLEARML_WEB_HOST: ${{ secrets.CLEARML_WEB_HOST }}\n      CLEARML_API_HOST: ${{ secrets.CLEARML_API_HOST }}\n      CLEARML_API_ACCESS_KEY: ${{ secrets.CLEARML_API_ACCESS_KEY }}\n      CLEARML_FILES_HOST:  ${{ secrets.CLEARML_FILES_HOST }}\n      CLEARML_API_SECRET_KEY:  ${{ secrets.CLEARML_API_SECRET_KEY }}\n    needs: test-setup\n    if: ${{needs.test-setup.outputs.pytorch == 1}}\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/sparsezoo\"\n          path: \"sparsezoo\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install sparsezoo dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools sparsezoo/\n      - name: \"Clean sparsezoo directory\"\n        run: rm -r sparsezoo/\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/compressed-tensors\"\n          path: \"compressed-tensors\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install compressed-tensors dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools compressed-tensors/\n      - name: \"Clean compressed-tensors directory\"\n        run: rm -r compressed-tensors/\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev,torchvision,onnxruntime,transformers]\n      - name: \"🔬 Running pytorch tests\"\n        run: make test TARGETS=pytorch\n  compat-pytorch-1_9-pytorch-tests:\n    runs-on: k8s-eng-gpu-64G-v100-32G\n    env:\n      SPARSEZOO_TEST_MODE: \"true\"\n      CLEARML_WEB_HOST: ${{ secrets.CLEARML_WEB_HOST }}\n      CLEARML_API_HOST: ${{ secrets.CLEARML_API_HOST }}\n      CLEARML_API_ACCESS_KEY: ${{ secrets.CLEARML_API_ACCESS_KEY }}\n      CLEARML_FILES_HOST:  ${{ secrets.CLEARML_FILES_HOST }}\n      CLEARML_API_SECRET_KEY:  ${{ secrets.CLEARML_API_SECRET_KEY }}\n    needs: test-setup\n    if: ${{needs.test-setup.outputs.pytorch == 1}}\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/sparsezoo\"\n          path: \"sparsezoo\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install sparsezoo dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools sparsezoo/\n      - name: \"Clean sparsezoo directory\"\n        run: rm -r sparsezoo/\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/compressed-tensors\"\n          path: \"compressed-tensors\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install compressed-tensors dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools compressed-tensors/\n      - name: \"Clean compressed-tensors directory\"\n        run: rm -r compressed-tensors/\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev,torchvision,onnxruntime,transformers]\n      - name: \"🔬 Running pytorch tests\"\n        run: make test TARGETS=pytorch\n  compat-pytorch-1_9-onnx-tests:\n    runs-on: ubuntu-22.04\n    env:\n      SPARSEZOO_TEST_MODE: \"true\"\n    needs: test-setup\n    if: ${{needs.test-setup.outputs.onnx == 1}}\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/sparsezoo\"\n          path: \"sparsezoo\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install sparsezoo dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools sparsezoo/\n      - name: \"Clean sparsezoo directory\"\n        run: rm -r sparsezoo/\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev,torchvision,onnxruntime] torch==1.9.1\n      - name: \"🔬 Running onnx tests\"\n        run: make test TARGETS=onnx\n  transformers-tests:\n    runs-on: k8s-eng-gpu-64G-v100-32G\n    env:\n      SPARSEZOO_TEST_MODE: \"true\"\n      CLEARML_WEB_HOST: ${{ secrets.CLEARML_WEB_HOST }}\n      CLEARML_API_HOST: ${{ secrets.CLEARML_API_HOST }}\n      CLEARML_API_ACCESS_KEY: ${{ secrets.CLEARML_API_ACCESS_KEY }}\n      CLEARML_FILES_HOST:  ${{ secrets.CLEARML_FILES_HOST }}\n      CLEARML_API_SECRET_KEY:  ${{ secrets.CLEARML_API_SECRET_KEY }}\n    needs: test-setup\n    if: ${{needs.test-setup.outputs.transformers == 1}}\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/sparsezoo\"\n          path: \"sparsezoo\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install sparsezoo dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools sparsezoo/\n      - name: \"Clean sparsezoo directory\"\n        run: rm -r sparsezoo/\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/compressed-tensors\"\n          path: \"compressed-tensors\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install compressed-tensors dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools compressed-tensors/\n      - name: \"Clean compressed-tensors directory\"\n        run: rm -r compressed-tensors/\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev,torch,transformers,onnxruntime]\n      - name: \"🔬 Running transformers tests\"\n        run: make test TARGETS=transformers\n  export-tests:\n    runs-on: ubuntu-22.04\n    env:\n      SPARSEZOO_TEST_MODE: \"true\"\n    needs: test-setup\n    if: ${{needs.test-setup.outputs.export == 1}}\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - uses: actions/checkout@v2\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/sparsezoo\"\n          path: \"sparsezoo\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install sparsezoo dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools sparsezoo/\n      - name: \"Clean sparsezoo directory\"\n        run: rm -r sparsezoo/\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/compressed-tensors\"\n          path: \"compressed-tensors\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install compressed-tensors dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools compressed-tensors/\n      - name: \"Clean compressed-tensors directory\"\n        run: rm -r compressed-tensors/\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev,torch,transformers,torchvision,onnxruntime]\n      - name: \"🔬 Running export tests\"\n        run: make test TARGETS=export\n\n", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:32.339655", "created_at": "2024-05-07T18:24:42+02:00", "updated_at": "2024-05-24T18:38:54+02:00", "name": "Run Nightly Tests", "path": ".github/workflows/test-nightly.yml", "contents": "name: Run Nightly Tests\non:\n  workflow_dispatch:\n  workflow_call:\njobs:\n  test-nightly-tests:\n    runs-on: k8s-mle-gpu-12-vcpu-225GB-ram-2-a6000-48G\n    env:\n      CADENCE: \"nightly\"\n      CLEARML_WEB_HOST: ${{ secrets.CLEARML_WEB_HOST }}\n      CLEARML_API_HOST: ${{ secrets.CLEARML_API_HOST }}\n      CLEARML_API_ACCESS_KEY: ${{ secrets.CLEARML_API_ACCESS_KEY }}\n      CLEARML_FILES_HOST:  ${{ secrets.CLEARML_FILES_HOST }}\n      CLEARML_API_SECRET_KEY:  ${{ secrets.CLEARML_API_SECRET_KEY }}\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/compressed-tensors\"\n          path: \"compressed-tensors\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install compressed-tensors dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools compressed-tensors/\n      - name: \"Clean compressed-tensors directory\"\n        run: rm -r compressed-tensors/\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev,onnxruntime,torch,torchvision,transformers]\n      - name: Run oneshot tests\n        run: |\n          pytest tests/sparseml/transformers/obcq -m integration\n      - name: Run finetune tests\n        run: |\n          pytest tests/sparseml/transformers/finetune -m integration", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:33.387888", "created_at": "2024-05-20T23:04:15+02:00", "updated_at": "2024-05-24T18:38:54+02:00", "name": "Run Weekly tests", "path": ".github/workflows/test-weekly.yml", "contents": "name: Run Weekly tests\non:\n  schedule:\n    - cron: '0 20 * * 0'\n  workflow_dispatch:\njobs:\n  run-weekly-tests:\n    runs-on: k8s-mle-gpu-12-vcpu-225GB-ram-2-a6000-48G\n    env:\n      CADENCE: \"weekly\"\n      CLEARML_WEB_HOST: ${{ secrets.CLEARML_WEB_HOST }}\n      CLEARML_API_HOST: ${{ secrets.CLEARML_API_HOST }}\n      CLEARML_API_ACCESS_KEY: ${{ secrets.CLEARML_API_ACCESS_KEY }}\n      CLEARML_FILES_HOST:  ${{ secrets.CLEARML_FILES_HOST }}\n      CLEARML_API_SECRET_KEY:  ${{ secrets.CLEARML_API_SECRET_KEY }}\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          repository: \"neuralmagic/compressed-tensors\"\n          path: \"compressed-tensors\"\n          ref: ${{needs.test-setup.outputs.branch}}\n      - name: \"⚙️ Install compressed-tensors dependencies\"\n        run: pip3 install -U pip && pip3 install setuptools compressed-tensors/\n      - name: \"Clean compressed-tensors directory\"\n        run: rm -r compressed-tensors/\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n      - name: \"⚙️ Install dependencies\"\n        run: pip3 install .[dev,onnxruntime,torch,torchvision,transformers]\n      - name: Run oneshot tests\n        run: |\n          pytest tests/sparseml/transformers/obcq -m integration\n      - name: Run finetune tests\n        if: always()\n        run: |\n          pytest tests/sparseml/transformers/finetune -m integration", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:34.436371", "created_at": "2024-06-12T18:01:55+02:00", "updated_at": "2024-06-12T18:01:55+02:00", "name": "Test Wheel and Publish", "path": ".github/workflows/test-wheel-and-publish.yml", "contents": "name: Test Wheel and Publish\non:\n  workflow_call:\n    inputs:\n      build-label:\n        description: \"requested runner label\"\n        type: string\n        required: true\n      whl:\n        type: string\n        required: true\n      python:\n        type: string\n      dev:\n        type: string\n        required: true \n      release:\n        type: string\n        required: true\n\njobs:\n  test-wheel-and-publish:\n    runs-on: ${{ inputs.build-label }}\n    steps:\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ inputs.python }}\n\n    - name: Login to s3\n      uses: aws-actions/configure-aws-credentials@v2\n      with:\n        role-to-assume: ${{ secrets.AWS_WEBIDENTITY_FOR_GITHUB_ACTIONS }}\n        aws-region: us-east-1 \n\n    - name: Make directory for wheel\n      run: |\n          mkdir dist_s3\n          \n    - name: Pull from s3\n      uses: neuralmagic/nm-actions/actions/s3_pull@main\n      with:\n        filename: ${{ inputs.whl }}\n        dst: dist_s3\n\n    - name: Fetch name of whl\n      run: |\n          echo \"FILENAME=$(echo dist_s3/*.whl)\" >> $GITHUB_ENV\n\n    - name: Install whl\n      run: |\n          pip3 install $FILENAME[dev,onnxruntime,torch,torchvision,transformers]\n\n    - name: Checkout code\n      uses: actions/checkout@v3\n\n    - name: Remove src files and run tests\n      run: |\n            pwd\n            rm -rf src\n            make test\n\n    - name: Make directory for wheel\n      run: |\n          mkdir dist_s3\n          \n    - name: Pull from s3\n      uses: neuralmagic/nm-actions/actions/s3_pull@main\n      with:\n        filename: ${{ inputs.whl }}\n        dst: dist_s3\n\n    - name: Publish Nightly Wheel\n      if: ${{ inputs.DEV == 'false' && inputs.RELEASE == 'false'}}\n      uses: neuralmagic/nm-actions/actions/publish-whl@main\n      with:\n        username: ${{ secrets.PYPI_PUBLIC_USER }}\n        password: ${{ secrets.PYPI_PUBLIC_AUTH }}\n        whl: ./$FILENAME", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:35.491731", "created_at": "2023-08-22T17:25:14+02:00", "updated_at": "2023-08-22T17:25:14+02:00", "name": "report-to-testmo", "path": ".github/workflows/util.yml", "contents": "name: report-to-testmo\non:\n  workflow_call:\n    inputs:\n      runs_on:\n        description: \"runner label specifying instance running the job\"\n        type: string\n        required: true \n      run_id:\n        description: \"run id provided by GHA\"\n        required: true\n        type: string\n      build_type:\n        description: \"build type: nightly or release\"\n        type: string\n        required: true\n      testmo_project_id:\n        description: \"testmo project id\"\n        type: string\n        required: true\n\njobs:\n\n  BUILDA_AND_REPORT:\n    runs-on: ${{ inputs.runs_on }}\n    outputs:\n      status: ${{ steps.build.outputs.status }}\n      commitid: ${{ steps.build.outputs.commitid }}\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n\n      - name: repo checkout\n        uses: actions/checkout@v3\n\n      - name: s3\n        uses: aws-actions/configure-aws-credentials@v2\n        with:\n          role-to-assume: ${{ secrets.AWS_WEBIDENTITY_FOR_GITHUB_ACTIONS }}\n          aws-region: us-east-1\n\n      - name: build\n        id: build\n        run: |\n             pwd\n             sudo apt-get -y install python3-pip\n             pip3 --version\n             sudo pip3 install virtualenv\n             virtualenv venv\n             source venv/bin/activate\n             pip install -e .\n             if [[ \"${{ inputs.build_type }}\" = release ]]; then\n                 sed -i 's/is_release = False/is_release = True/g' src/${{ github.event.repository.name }}/version.py\n             fi\n             status=$(make -B build || echo 'FAILED')\n             deactivate\n             echo \"=========== Build log ===========\"\n             echo \"${status}\"\n             echo \"commitid=${GITHUB_SHA:0:7}\" >> \"$GITHUB_OUTPUT\"\n             echo \"=========== Build status ===========\"\n             if [[ \"${status}\" = \"FAILED\" ]]; then\n                 echo \"${{ github.event.repository.name }} build failed\"\n                 exitCode=1\n             else\n                 echo \"${{ github.event.repository.name }} build success\"\n                 exitCode=0\n             fi\n             echo \"=========== Generated build ===========\"\n             ls dist/\n             echo \"=========== Copy build to S3 ===========\"\n             aws s3 cp dist/*.whl s3://nm-github-actions/${{ github.event.repository.name }}/\n             if [ $? -eq 0 ]; then\n                 echo \"ok: copied to s3://nm-github-actions/${{ github.event.repository.name }}/\"\n             else\n                 echo \"failed: copied to s3://nm-github-actions/${{ github.event.repository.name }}/\"\n                 exitCode=1\n             fi\n             if [ ${exitCode} -eq 1 ]; then\n                 echo \"status=failed\" >> \"$GITHUB_OUTPUT\"\n                 cp .github/workflows/result.xml.fail result.xml\n             else\n                 echo \"status=success\" >> \"$GITHUB_OUTPUT\"\n                 cp .github/workflows/result.xml.success result.xml\n             fi\n             oldDate=`date --date='-2 month' +%Y%m%d`\n             oldWhl=`(aws s3 ls s3://nm-github-actions/${{ github.event.repository.name }}/ | grep nightly | grep \"${oldDate}\") || echo \"notfound\"`\n             if [[ \"${oldWhl}\" != 'notfound' ]]; then\n                 for oldwhl in $(echo \"${oldWhl}\" | awk '{print $4}')\n                 do\n                     echo \"Remove old build ${oldwhl} in S3\"\n                     aws s3 rm s3://nm-github-actions/${{ github.event.repository.name }}/${oldwhl}\n                 done\n             fi\n             # TESTMO\n             echo \"node: $(node -v)\"\n             echo \"npm: $(npm -v)\"\n             echo \"Installing testmo cli...\"\n             sudo npm install -g @testmo/testmo-cli\n             export TESTMO_TOKEN=${{ secrets.TESTMO_TEST_TOKEN }}\n             TESTMO_URL=\"https://neuralmagic.testmo.net\"\n             todaytime=`date +%Y%m%d`\n             name=\"${{ github.event.repository.name }} ${{ inputs.build_type }} ${todaytime} ${GITHUB_SHA:0:7} RunID:${{ inputs.run_id }}\"\n             echo \"========== Build info ===========\"\n             echo \"name: ${name}\"\n             echo \"build: $GITHUB_OUTPUT\"\n             echo \"echo \\\"GHA job $GITHUB_OUTPUT: https://github.com/neuralmagic/${{ github.event.repository.name }}/actions/runs/${{ inputs.run_id }}\\\"; exit ${exitCode}\" > result.sh\n             echo \"========== Report to testmo ===========\"\n             echo \"testmo automation:run:submit \\\\\"\n             echo \"  --instance ${TESTMO_URL} \\\\\"\n             echo \"  --project-id ${{ inputs.testmo_project_id }} \\\\\"\n             echo \"  --name ${name} \\\\\"\n             echo \"  --source ${{ github.event.repository.name }} \\\\\"\n             echo \"  --results result.xml\"\n             testmo automation:run:submit \\\n                         --instance \"${TESTMO_URL}\" \\\n                         --project-id ${{ inputs.testmo_project_id }} \\\n                         --name \"${name}\" \\\n                         --source \"${{ github.event.repository.name }}\" \\\n                         --results result.xml \\\n                         -- bash result.sh\n", "state": "active", "repository": "neuralmagic/sparseml"}
{"mined_at": "2024-07-15T15:57:37.678172", "created_at": "2020-09-14T20:58:48+02:00", "updated_at": "2024-01-30T20:45:09+01:00", "name": "Robot server lint/test", "path": ".github/workflows/robot-server-lint-test.yaml", "contents": "# This workflow runs test and lint on branch pushes that touch the\n# robot-server project or its dependencies\n\nname: 'Robot server lint/test'\n\non:\n  # Most of the time, we run on pull requests, which lets us handle external PRs\n  push:\n    paths:\n      - 'api/**/*'\n      - 'hardware/**/*'\n      - 'Makefile'\n      - 'shared-data/**/*'\n      - 'server-utils/**/*'\n      - '!shared-data/js/**/*'\n      - 'robot-server/**/*'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/robot-server-lint-test.yaml'\n      - '.github/actions/python/**'\n    branches:\n      - 'edge'\n      - 'release'\n      - '*hotfix*'\n    tags-ignore:\n      - '*'\n  pull_request:\n    paths:\n      - 'api/**/*'\n      - 'hardware/**/*'\n      - 'Makefile'\n      - 'shared-data/**/*'\n      - 'server-utils/**/*'\n      - '!shared-data/js/**/*'\n      - 'robot-server/**/*'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/robot-server-lint-test.yaml'\n      - '.github/actions/python/**'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint-test:\n    name: 'robot server package linting and tests'\n    timeout-minutes: 40\n    runs-on: 'ubuntu-22.04'\n    strategy:\n      matrix:\n        with-ot-hardware: ['true', 'false']\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'robot-server'\n      - if: ${{ matrix.with-ot-hardware == 'false' }}\n        name: Remove OT-3 hardware package\n        run: make -C robot-server setup-ot2\n      - name: Lint\n        run: make -C robot-server lint\n      - if: ${{ matrix.with-ot-hardware == 'false' }}\n        name: Test without opentrons_hardware\n        run: make -C robot-server test-cov test_opts=\"-m 'not ot3_only'\"\n      - if: ${{ matrix.with-ot-hardware == 'true' }}\n        name: Test with opentrons_hardware\n        run: make -C robot-server test-cov\n      - name: Ensure assets build\n        run: make -C robot-server sdist wheel\n      - name: Upload coverage report\n        uses: 'codecov/codecov-action@v3'\n        with:\n          files: ./robot-server/coverage.xml\n          flags: robot-server\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:38.769042", "created_at": "2020-09-14T20:58:48+02:00", "updated_at": "2024-01-30T22:18:43+01:00", "name": "Update Server test/lint", "path": ".github/workflows/update-server-lint-test.yaml", "contents": "# This workflow runs tests and lint on non-release branches pushed that alter\n# the update-server subpackage\n\nname: 'Update Server test/lint'\n\non:\n  push:\n    paths:\n      - 'update-server/**/*'\n      - 'Makefile'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/update-server-lint-test.yaml'\n      - '.github/actions/python/**'\n    branches: # ignore any release-related thing (handled elsewhere)\n      - 'edge'\n    tags-ignore:\n      - '*'\n  pull_request:\n    types: [opened, reopened, synchronize, ready_for_review]\n    paths:\n      - 'update-server/**/*'\n      - 'Makefile'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/update-server-lint-test.yaml'\n      - '.github/actions/python/**'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint:\n    name: 'update server linting'\n    timeout-minutes: 10\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'update-server'\n      - name: Lint\n        run: make -C update-server lint\n  test:\n    name: 'update server package tests'\n    timeout-minutes: 10\n    needs: [lint]\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'update-server'\n      - name: Test\n        run: make -C update-server test\n      - uses: 'codecov/codecov-action@v3'\n        with:\n          files: ./update-server/coverage.xml\n          flags: update-server\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:39.944538", "created_at": "2020-09-14T20:58:48+02:00", "updated_at": "2024-01-30T20:44:08+01:00", "name": "API docs build", "path": ".github/workflows/docs-build.yaml", "contents": "# This workflow builds API docs when either:\n#\n# * A commit is tagged like \"docs@foo\".\n#\n# * Someone pushes, to any branch, a commit that touches any of:\n#   * The parts of the api/ project that are used by the docs.\n#   * The docs source themselves;\n#   * The CI/makefile tooling used to build the docs.\n\nname: 'API docs build'\n\non:\n  push:\n    tags:\n      - 'docs@*'\n    branches:\n      # We don't want to do any filtering based on branch name.\n      # But because we specified `tags`, we need to specify `branches` too,\n      # or else GitHub will only run this workflow for tag matches\n      # and not for path matches.\n      - '**'\n    paths:\n      - 'api/**'\n      - '.github/workflows/docs-build.yaml'\n      - '.github/actions/python/**'\n      - '.github/actions/webstack/deploy-to-sandbox/**'\n      - '.github/workflows/utils.js'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  build:\n    name: opentrons documentation build\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v3'\n        with:\n          python-version: '3.10'\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'api'\n      - name: 'set complex environment variables'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars, } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'Build docs'\n        run: |\n          make -C api docs\n      - name: 'Deploy docs to sandbox'\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.S3_SANDBOX_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SANDBOX_SECRET }}\n          AWS_DEFAULT_REGION: us-east-2\n        uses: './.github/actions/webstack/deploy-to-sandbox'\n        with:\n          domain: 'docs.opentrons.com'\n          distPath: './api/docs/dist'\n          destPrefix: ${{ env.OT_BRANCH }}\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:40.968925", "created_at": "2020-09-17T23:28:57+02:00", "updated_at": "2024-01-30T20:44:08+01:00", "name": "JS checks", "path": ".github/workflows/js-check.yaml", "contents": "# This workflow runs checks (types, formatting, style) for our js projects\n# which cannot be meaningfully separated\n\nname: 'JS checks'\n\non:\n  pull_request:\n    paths:\n      - '**/*.js'\n      - './.*.js'\n      - '**/*.ts'\n      - '**/*.tsx'\n      - '**/*.json'\n      - '**/*.css'\n      - '**/*.md'\n  push:\n    paths:\n      - '**/*.js'\n      - './.*.js'\n      - '**/*.ts'\n      - '**/*.tsx'\n      - '**/*.json'\n      - '**/*.md'\n      - '.github/workflows/js-check.yaml'\n      - '**/*.css'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  CI: true\n\njobs:\n  checks:\n    name: 'js checks'\n    runs-on: 'ubuntu-22.04'\n    timeout-minutes: 20\n    steps:\n      - uses: 'actions/checkout@v3'\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'set complex environment variables'\n        id: 'set-vars'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'install libudev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-\n      - name: 'setup-js'\n        id: 'setup-js'\n        run: |\n          npm config set cache ${{ github.workspace }}/.npm-cache\n          yarn config set cache-folder ${{ github.workspace }}/.yarn-cache\n          make setup-js\n        # Use the if to run all the lint checks even of some fail\n        shell: bash\n      - name: 'typechecks'\n        if: always() && steps.setup-js.outcome == 'success'\n        run: make check-js\n      - name: 'lint js'\n        if: always() && steps.setup-js.outcome == 'success'\n        run: make lint-js\n      - name: 'circular deps'\n        if: always() && steps.setup-js.outcome == 'success'\n        run: make circular-dependencies-js\n      - name: 'lint json'\n        if: always() && steps.setup-js.outcome == 'success'\n        run: make lint-json\n      - name: 'lint css'\n        if: always() && steps.setup-js.outcome == 'success'\n        run: make lint-css\n      - name: 'test scripts'\n        run: yarn vitest scripts\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:42.048176", "created_at": "2020-10-02T22:38:48+02:00", "updated_at": "2024-01-30T20:45:09+01:00", "name": "API test/lint/deploy", "path": ".github/workflows/api-test-lint-deploy.yaml", "contents": "# This workflow runs tests and lint on pull requests that touch the api/\n# project or its CI configuration.\n\nname: 'API test/lint/deploy'\n\non:\n  # Most of the time, we run on pull requests, which lets us handle external PRs\n  pull_request:\n    paths:\n      - 'api/**/*'\n      - 'Makefile'\n      - 'shared-data/**/*'\n      - '!shared-data/js/**'\n      - 'hardware/**/*'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/api-test-lint-deploy.yaml'\n      - '.github/actions/python/**/*'\n      - '.github/workflows/utils.js'\n  push:\n    paths:\n      - 'api/**'\n      - 'Makefile'\n      - 'shared-data/**/*'\n      - '!shared-data/js/**/*'\n      - 'hardware/**/*'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/api-test-lint-deploy.yaml'\n      - '.github/actions/python/**/*'\n      - '.github/workflows/utils.js'\n    branches:\n      - 'edge'\n      - 'release'\n      - '*hotfix*'\n    tags:\n      - 'v*'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint:\n    name: 'opentrons package linting'\n    timeout-minutes: 10\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'api'\n      - name: Lint with opentrons_hardware\n        run: make -C api lint\n  test:\n    name: 'opentrons package tests on ${{ matrix.os }}, python ${{ matrix.python }}'\n    timeout-minutes: 30\n    needs: [lint]\n    strategy:\n      matrix:\n        os: ['windows-2022', 'ubuntu-22.04', 'macos-latest']\n        # TODO(mc, 2022-02-24): expand this matrix to 3.8 and 3.9,\n        # preferably in a nightly cronjob on edge or something\n        python: ['3.10']\n        with-ot-hardware: ['true', 'false']\n        exclude:\n          - os: 'windows-2022'\n            with-ot-hardware: 'true'\n          - os: 'macos-latest'\n            with-ot-hardware: 'true'\n    runs-on: '${{ matrix.os }}'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: ${{ matrix.python }}\n      - name: 'set complex environment variables'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars, } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'api'\n          python-version: ${{ matrix.python }}\n      - if: ${{ matrix.with-ot-hardware == 'false' }}\n        name: Remove OT-3 hardware package\n        run: make -C api setup-ot2\n        env:\n          OT_VIRTUALENV_VERSION: ${{ matrix.python }}\n      - if: ${{ matrix.with-ot-hardware == 'false' }}\n        name: Test without opentrons_hardware\n        run: make -C api test-ot2\n      - if: ${{ matrix.with-ot-hardware == 'true' }}\n        name: Test with opentrons_hardware\n        run: make -C api test-cov\n      - name: Ensure assets build\n        run: make -C api sdist wheel\n      - name: Upload coverage report\n        uses: 'codecov/codecov-action@v3'\n        with:\n          files: ./api/coverage.xml\n          flags: api\n\n  deploy:\n    name: 'deploy opentrons package'\n    needs: [test]\n    runs-on: 'ubuntu-22.04'\n    if: github.event_name == 'push'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n      - name: 'set complex environment variables'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars, } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'api'\n      # creds and repository configuration for deploying python wheels\n      - if: ${{ !env.OT_TAG }}\n        name: 'upload to test pypi'\n        uses: './.github/actions/python/pypi-deploy'\n        with:\n          project: 'api'\n          repository_url: 'https://test.pypi.org/legacy/'\n          password: '${{ secrets.TEST_PYPI_DEPLOY_TOKEN_OPENTRONS }}'\n      - if: startsWith(env.OT_TAG, 'v')\n        name: 'upload to real pypi'\n        uses: './.github/actions/python/pypi-deploy'\n        with:\n          project: 'api'\n          repository_url: 'https://upload.pypi.org/legacy/'\n          password: '${{ secrets.PYPI_DEPLOY_TOKEN_OPENTRONS }}'\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:43.381245", "created_at": "2020-10-02T22:38:48+02:00", "updated_at": "2024-01-30T22:18:43+01:00", "name": "shared-data test/lint/deploy", "path": ".github/workflows/shared-data-test-lint-deploy.yaml", "contents": "# This workflow runs tests and lint on branch pushes that touch the\n# shared-data project or its CI configuration.\n\nname: 'shared-data test/lint/deploy'\n\non:\n  push:\n    paths:\n      - 'Makefile'\n      - 'shared-data/*/**'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/shared-data-test-lint-deploy.yaml'\n      - '.github/actions/python/**/*'\n      - '.github/workflows/utils.js'\n    branches:\n      - 'edge'\n      - 'release'\n      - '*hotfix*'\n    tags:\n      - 'v*'\n      - 'shared-data*'\n      - 'components*'\n  pull_request:\n    paths:\n      - 'Makefile'\n      - 'shared-data/*/**'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/shared-data-test-lint-deploy.yaml'\n      - '.github/actions/python/**/*'\n      - '.github/workflows/utils.js'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  python-lint:\n    name: 'shared-data package python lint'\n    timeout-minutes: 10\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v3'\n        with:\n          python-version: '3.10'\n\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'shared-data/python'\n      - name: Lint\n        run: make -C shared-data/python lint\n\n  python-test:\n    name: 'shared-data package python ${{ matrix.python }} tests on ${{ matrix.os }}'\n    timeout-minutes: 20\n    needs: [python-lint]\n    strategy:\n      matrix:\n        os: ['windows-2022', 'ubuntu-22.04', 'macos-latest']\n        # TODO(mc, 2022-02-24): expand this matrix to 3.8 and 3.9,\n        # preferably in a nightly cronjob on edge or something\n        python: ['3.10']\n\n    runs-on: '${{ matrix.os }}'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - name: 'install udev for usb-detection'\n        if: startsWith(matrix.os, 'ubuntu')\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - uses: 'actions/setup-node@v1'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: ${{ matrix.python }}\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'shared-data/python'\n          python-version: ${{ matrix.python }}\n      - name: 'set complex environment variables'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars, } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: Test\n        run: make -C shared-data/python test\n      - name: Ensure assets build\n        run: make -C shared-data/python sdist wheel\n      - name: 'Upload coverage report'\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./shared-data/python/coverage.xml\n          flags: shared-data\n\n  js-test:\n    name: 'shared-data JS tests'\n    runs-on: 'ubuntu-22.04'\n    timeout-minutes: 30\n    steps:\n      - uses: 'actions/checkout@v3'\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-\n      - name: 'js deps'\n        run: |\n          npm config set cache ./.npm-cache\n          yarn config set cache-folder ./.yarn-cache\n          make setup-js\n      - name: 'run shared-data JS unit tests'\n        run: make -C shared-data test-cov\n      - name: 'Upload coverage report'\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage/lcov.info\n          flags: shared-data\n\n  python-deploy:\n    name: 'shared-data package deploy'\n    needs: [python-test]\n    runs-on: 'ubuntu-22.04'\n    if: github.event_name == 'push'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'shared-data/python'\n      - name: 'set complex environment variables'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars, } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      # creds and repository configuration for deploying python wheels\n      - if: ${{ !env.OT_TAG }}\n        name: 'upload to test pypi'\n        uses: './.github/actions/python/pypi-deploy'\n        with:\n          project: 'shared-data/python'\n          repository_url: 'https://test.pypi.org/legacy/'\n          password: '${{ secrets.TEST_PYPI_DEPLOY_TOKEN_OPENTRONS_SHARED_DATA }}'\n      - if: startsWith(env.OT_TAG, 'v')\n        name: 'upload to pypi'\n        uses: './.github/actions/python/pypi-deploy'\n        with:\n          project: 'shared-data/python'\n          repository_url: 'https://upload.pypi.org/legacy/'\n          password: '${{ secrets.PYPI_DEPLOY_TOKEN_OPENTRONS_SHARED_DATA }}'\n\n  publish-switch:\n    runs-on: 'ubuntu-latest'\n    name: 'Determine whether or not to publish artifacts'\n    outputs:\n      should_publish: ${{steps.publish-switch.outputs.should_publish}}\n    steps:\n      - id: publish-switch\n        run: |\n          echo \"Determining whether to publish artifacts for event ${{github.event_type}} and ref ${{github.ref}}\"\n          if [ \"${{ format('{0}', startsWith(github.ref, 'refs/tags/shared-data')) }}\" = \"true\" ] ; then\n            echo \"Publishing builds for shared-data@ tags\"\n            echo 'should_publish=true' >> $GITHUB_OUTPUT\n          elif [ \"${{ format('{0}', startsWith(github.ref, 'refs/tags/components')) }}\" = \"true\" ] ; then\n            echo \"Publishing builds for components@ tags\"\n            echo 'should_publish=true' >> $GITHUB_OUTPUT\n          else \n            echo \"No publish for ref ${{github.ref}} and event ${{github.event_type}}\"\n            echo 'should_publish=false' >> $GITHUB_OUTPUT\n          fi\n\n  publish-to-npm:\n    name: 'publish shared-data package to npm'\n    runs-on: 'ubuntu-latest'\n    needs: ['js-test', 'publish-switch']\n    if: needs.publish-switch.outputs.should_publish == 'true'\n    steps:\n      - uses: 'actions/checkout@v3'\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n          registry-url: 'https://registry.npmjs.org'\n      - name: 'install udev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-\n      - name: 'js deps'\n        run: |\n          npm config set cache ./.npm-cache\n          yarn config set cache-folder ./.yarn-cache\n          make setup-js \n      - name: 'build typescript'\n        run: make build-ts\n      - name: 'build library'\n        run: |\n          make -C shared-data lib-js\n      # replace package.json stub version number with version from tag\n      - name: 'set version number'\n        run: |\n          npm install -g json\n          VERSION_STRING=$(echo ${{ github.ref }} | sed -E 's/refs\\/tags\\/(components|shared-data)@//')\n          json -I -f ./shared-data/package.json -e \"this.version=\\\"$VERSION_STRING\\\"\"\n          cd ./shared-data\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n          registry-url: 'https://registry.npmjs.org'\n      - name: 'publish to npm registry'\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n        run: |\n          cd ./shared-data && echo \"//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}\" > ./.npmrc && npm publish --access public\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:45.120881", "created_at": "2020-10-02T22:42:11+02:00", "updated_at": "2024-03-08T18:17:31+01:00", "name": "App test, build, and deploy", "path": ".github/workflows/app-test-build-deploy.yaml", "contents": "# Run tests, build the app, and deploy it cross platform\n\nname: 'App test, build, and deploy'\n\non:\n  push:\n    paths:\n      - 'Makefile'\n      - 'app/**/*'\n      - 'app-shell/**/*'\n      - 'app-shell-odd/**/*'\n      - 'components/**/*'\n      - 'shared-data/**/*'\n      - 'discovery-client/**/*'\n      - '*.js'\n      - 'scripts/**/*'\n      - '*.json'\n      - 'yarn.lock'\n      - '.github/workflows/app-test-build-deploy.yaml'\n      - '.github/workflows/utils.js'\n    branches:\n      - '**'\n    tags:\n      - 'v*'\n      - 'ot3@*'\n  pull_request:\n    paths:\n      - 'Makefile'\n      - 'app/**/*'\n      - 'app-shell/**/*'\n      - 'app-shell-odd/**/*'\n      - 'components/**/*'\n      - 'shared-data/**/*'\n      - 'discovery-client/**/*'\n      - '*.js'\n      - '*.json'\n      - 'yarn.lock'\n      - 'scripts/**/*'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  CI: true\n  _APP_DEPLOY_BUCKET_ROBOTSTACK: builds.opentrons.com\n  _APP_DEPLOY_FOLDER_ROBOTSTACK: app\n  _APP_DEPLOY_BUCKET_OT3: ot3-development.builds.opentrons.com\n  _APP_DEPLOY_FOLDER_OT3: app\n\njobs:\n  js-unit-test:\n    # unit tests for the app's view layer (not the node layer)\n    runs-on: 'ubuntu-22.04'\n    name: 'opentrons app frontend unit tests'\n    timeout-minutes: 60\n    steps:\n      - uses: 'actions/checkout@v3'\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'set complex environment variables'\n        id: 'set-vars'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.npm-cache/_prebuild\n            ${{ github.workspace }}/.yarn-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n      - name: 'setup-js'\n        run: |\n          npm config set cache ${{ github.workspace }}/.npm-cache\n          yarn config set cache-folder ${{ github.workspace }}/.yarn-cache\n          make setup-js\n      - name: 'test frontend packages'\n        run: |\n          make -C app test-cov\n      - name: 'Upload coverage report'\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage/lcov.info\n          flags: app\n\n  backend-unit-test:\n    strategy:\n      matrix:\n        os: ['windows-2022', 'ubuntu-22.04', 'macos-11']\n    name: 'opentrons app backend unit tests on ${{matrix.os}}'\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: check make version\n        run: make --version\n      - name: 'install libudev and libsystemd'\n        if: startsWith(matrix.os, 'ubuntu')\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'set complex environment variables'\n        id: 'set-vars'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.npm-cache/_prebuild\n            ${{ github.workspace }}/.yarn-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n      - name: setup-js\n        run: |\n          npm config set cache ${{ github.workspace }}/.npm-cache\n          yarn config set cache-folder ${{ github.workspace }}/.yarn-cache\n          make setup-js\n      - name: 'test native(er) packages'\n        run: make test-js-internal tests=\"app-shell/src app-shell-odd/src discovery-client/src\" cov_opts=\"--coverage=true\"\n      - name: 'Upload coverage report'\n        uses: 'codecov/codecov-action@v3'\n        with:\n          files: ./coverage/lcov.info\n          flags: app\n\n  determine-build-type:\n    runs-on: 'ubuntu-latest'\n    name: 'Determine build variant and type'\n    outputs:\n      variants: ${{steps.determine-build-type.outputs.variants}}\n      type: ${{steps.determine-build-type.outputs.type}}\n    steps:\n      - id: determine-build-type\n        run: |\n          echo \"Determining build type for event ${{github.event_type}} and ref ${{github.ref}}\"\n          if [ \"${{ format('{0}', github.event_name == 'pull_request') }}\" = \"true\" ] ; then\n            echo \"No builds for pull requests\"\n            echo 'variants=[]' >> $GITHUB_OUTPUT\n            echo 'type=develop' >> $GITHUB_OUTPUT\n          elif [ \"${{ format('{0}', startsWith(github.ref, 'refs/tags/ot3')) }}\" = \"true\" ] ; then\n            echo \"internal-release release builds for ot3 tags\"\n            echo 'variants=[\"internal-release\"]' >> $GITHUB_OUTPUT\n            echo 'type=release' >> $GITHUB_OUTPUT\n          elif [ \"${{ format('{0}', startsWith(github.ref, 'refs/tags/v')) }}\" = \"true\" ] ; then\n            echo \"release release builds for v tags\"\n            echo 'variants=[\"release\"]' >> $GITHUB_OUTPUT\n            echo 'type=release' >> $GITHUB_OUTPUT\n          elif [ \"${{ format('{0}', startsWith(github.ref, 'refs/heads/internal-release')) }}\" = \"true\" ] ; then\n            echo \"internal-release develop builds for internal-release branches\"\n            echo 'variants=[\"internal-release\"]' >> $GITHUB_OUTPUT\n            echo 'type=develop' >> $GITHUB_OUTPUT\n          elif [ \"${{ format('{0}', startsWith(github.ref, 'refs/heads/release') || startsWith(github.ref, 'refs/heads/chore_release')) }}\" = \"true\" ] ; then\n            echo \"Release develop builds for release branches\"\n            echo 'variants=[\"release\"]' >> $GITHUB_OUTPUT\n            echo 'type=develop' >> $GITHUB_OUTPUT\n          elif [ \"${{ format('{0}', github.ref == 'refs/heads/edge') }}\" = \"true\" ] ; then\n            echo \"both develop builds for edge\"\n            echo 'variants=[\"release\", \"internal-release\"]' >> $GITHUB_OUTPUT\n            echo 'type=develop' >> $GITHUB_OUTPUT\n          elif [ \"${{ format('{0}', endsWith(github.ref, 'app-build-internal')) }}\" = \"true\" ] ; then\n            echo \"internal-release builds for app-build-internal suffixes\"\n            echo 'variants=[\"internal-release\"]' >> $GITHUB_OUTPUT\n            echo 'type=develop' >> $GITHUB_OUTPUT\n          elif [ \"${{ format('{0}', endsWith(github.ref, 'app-build')) }}\" = \"true\" ] ; then\n            echo \"release develop builds for app-build suffixes\"\n            echo 'variants=[\"release\"]' >> $GITHUB_OUTPUT\n            echo 'type=develop' >> $GITHUB_OUTPUT\n          elif [ \"${{ format('{0}', endsWith(github.ref, 'app-build-both')) }}\" = \"true\" ] ; then\n            echo \"Both develop builds for app-build-both suffixes\"\n            echo 'variants=[\"release\", \"internal-release\"]' >> $GITHUB_OUTPUT\n            echo 'type=develop' >> $GITHUB_OUTPUT\n          else\n            echo \"No build for ref ${{github.ref}} and event ${{github.event_type}}\"\n            echo 'variants=[]' >> $GITHUB_OUTPUT\n            echo 'type=develop' >> $GITHUB_OUTPUT\n          fi\n\n  build-app:\n    needs: [determine-build-type]\n    if: needs.determine-build-type.outputs.variants != '[]'\n    strategy:\n      matrix:\n        os: ['windows-2022', 'ubuntu-22.04', 'macos-11']\n        variant: ${{fromJSON(needs.determine-build-type.outputs.variants)}}\n        target: ['desktop', 'odd']\n        exclude:\n          - os: 'windows-2022'\n            target: 'odd'\n          - os: 'macos-11'\n            target: 'odd'\n\n    runs-on: ${{ matrix.os }}\n    name: 'Build ${{matrix.variant}} ${{matrix.target}} app on ${{matrix.os}}'\n    steps:\n      - name: 'Get project name for variant'\n        id: project\n        shell: bash\n        run: |\n          if [ \"${{matrix.variant}}\" = \"release\" ] ; then\n             echo \"Configuring project, bucket, and folder for robot-stack\"\n             echo \"project=robot-stack\" >> $GITHUB_OUTPUT\n             echo \"bucket=${{env._APP_DEPLOY_BUCKET_ROBOTSTACK}}\" >> $GITHUB_OUTPUT\n             echo \"folder=${{env._APP_DEPLOY_FOLDER_ROBOTSTACK}}\" >> $GITHUB_OUTPUT\n          else\n             echo \"Configuring project, bucket, and folder for ot3\"\n             echo \"project=ot3\" >> $GITHUB_OUTPUT\n             echo \"bucket=${{env._APP_DEPLOY_BUCKET_OT3}}\" >> $GITHUB_OUTPUT\n             echo \"folder=${{env._APP_DEPLOY_FOLDER_OT3}}\" >> $GITHUB_OUTPUT\n          fi\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: check make version\n        run: make --version\n      - name: 'install libudev and libsystemd'\n        if: startsWith(matrix.os, 'ubuntu')\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'set complex environment variables'\n        id: 'set-vars'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.npm-cache/_prebuild\n            ${{ github.workspace }}/.yarn-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n      - name: setup-js\n        run: |\n          npm config set cache ${{ github.workspace }}/.npm-cache\n          yarn config set cache-folder ${{ github.workspace }}/.yarn-cache\n          make setup-js\n      # build the desktop app and deploy it\n      - name: 'build ${{matrix.variant}} app for ${{ matrix.os }}'\n        if: matrix.target == 'desktop'\n        timeout-minutes: 60\n        env:\n          OT_APP_MIXPANEL_ID: ${{ secrets.OT_APP_MIXPANEL_ID }}\n          OT_APP_INTERCOM_ID: ${{ secrets.OT_APP_INTERCOM_ID }}\n          WIN_CSC_LINK: ${{ secrets.OT_APP_CSC_WINDOWS }}\n          WIN_CSC_KEY_PASSWORD: ${{ secrets.OT_APP_CSC_KEY_WINDOWS }}\n          CSC_LINK: ${{ secrets.OT_APP_CSC_MACOS }}\n          CSC_KEY_PASSWORD: ${{ secrets.OT_APP_CSC_KEY_MACOS }}\n          APPLE_ID: ${{ secrets.OT_APP_APPLE_ID }}\n          APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.OT_APP_APPLE_ID_PASSWORD }}\n          APPLE_TEAM_ID: ${{ secrets.OT_APP_APPLE_TEAM_ID }}\n          HOST_PYTHON: python\n          OPENTRONS_PROJECT: ${{ steps.project.outputs.project }}\n          OT_APP_DEPLOY_BUCKET: ${{ steps.project.outputs.bucket }}\n          OT_APP_DEPLOY_FOLDER: ${{ steps.project.outputs.folder }}\n\n        run: |\n          make -C app-shell dist-${{ matrix.os }} USE_HARD_LINKS=false\n\n      - name: 'upload github artifact'\n        if: matrix.target == 'desktop'\n        uses: actions/upload-artifact@v3\n        with:\n          name: 'opentrons-${{matrix.variant}}-${{ matrix.os }}'\n          path: app-shell/dist/publish\n\n      # build the ODD app\n      - if: matrix.target == 'odd'\n        name: 'build ${{matrix.variant}} ODD app'\n        timeout-minutes: 60\n        env:\n          OPENTRONS_PROJECT: ${{ steps.project.outputs.project }}\n        run: |\n          make -C app-shell-odd dist-ot3\n\n  deploy-release-app:\n    name: 'Deploy built app artifacts to S3'\n    runs-on: 'ubuntu-22.04'\n    needs:\n      ['js-unit-test', 'backend-unit-test', 'build-app', 'determine-build-type']\n    if: contains(fromJSON(needs.determine-build-type.outputs.variants), 'release') || contains(fromJSON(needs.determine-build-type.outputs.variants), 'internal-release')\n    steps:\n      - name: 'download run app builds'\n        uses: 'actions/download-artifact@v3'\n        with:\n          path: ./artifacts\n      - name: 'separate release and internal-release artifacts'\n        run: |\n          for variant in release internal-release ; do\n              mkdir to_upload_${variant}\n              variant_pattern=\"./artifacts/opentrons-${variant}-*\"\n              ls ${variant_pattern}/ 2>/dev/null 1>/dev/null || continue\n              echo \"Moving ${variant} builds ${variant_pattern}/* to to_upload_${variant}\"\n              cp ${variant_pattern}/* ./to_upload_${variant}/\n              echo \"Moved $(ls ./to_upload_${variant})\"\n          done\n      - name: 'configure s3 deploy creds'\n        run: |\n          aws configure set aws_access_key_id ${{ secrets.S3_OT3_APP_DEPLOY_KEY_ID }} --profile identity\n          aws configure set aws_secret_access_key ${{ secrets.S3_OT3_APP_DEPLOY_SECRET }} --profile identity\n          aws configure set region us-east-2 --profile identity\n          aws configure set output json --profile identity\n          aws configure set region us-east-2 --profile deploy\n          aws configure set role_arn ${{ secrets.OT_APP_OT3_DEPLOY_ROLE }} --profile deploy\n          aws configure set source_profile identity --profile deploy\n        shell: bash\n      - name: 'deploy release builds to s3'\n        run: |\n          aws --profile=deploy s3 sync --acl=public-read to_upload_release/ s3://${{ env._APP_DEPLOY_BUCKET_ROBOTSTACK }}/${{ env._APP_DEPLOY_FOLDER_ROBOTSTACK }}\n      - name: 'deploy internal-release release builds to s3'\n        run: |\n          aws s3 --profile=deploy sync --acl=public-read to_upload_internal-release/ s3://${{ env._APP_DEPLOY_BUCKET_OT3 }}/${{ env._APP_DEPLOY_FOLDER_OT3 }}\n\n      - name: 'upload windows artifacts to GH release'\n        uses: 'ncipollo/release-action@v1.12.0'\n        if: needs.determine-build-type.outputs.type == 'release'\n        with:\n          allowUpdates: true\n          omitBodyDuringUpdate: true\n          omitDraftDuringUpdate: true\n          omitNameDuringUpdate: true\n          omitPrereleaseDuringUpdate: true\n          artifacts: ./artifacts/*/*.exe\n          artifactContentType: application/vnd.microsoft.portable-executable\n      - name: 'upload macos artifacts to GH release'\n        uses: 'ncipollo/release-action@v1.12.0'\n        if: needs.determine-build-type.outputs.type == 'release'\n        with:\n          allowUpdates: true\n          omitBodyDuringUpdate: true\n          omitDraftDuringUpdate: true\n          omitNameDuringUpdate: true\n          omitPrereleaseDuringUpdate: true\n          artifacts: ./artifacts/*/*.dmg\n          artifactContentType: application/octet-stream\n      - name: 'upload linux artifacts to GH release'\n        uses: 'ncipollo/release-action@v1.12.0'\n        if: needs.determine-build-type.outputs.type == 'release'\n        with:\n          allowUpdates: true\n          omitBodyDuringUpdate: true\n          omitDraftDuringUpdate: true\n          omitNameDuringUpdate: true\n          omitPrereleaseDuringUpdate: true\n          artifacts: ./artifacts/*/*.AppImage\n          artifactContentType: application/octet-stream\n      - name: 'detect build data for notification'\n        id: names\n        shell: bash\n        run: |\n          for variant in release internal-release ; do\n              dir=./to_upload_${variant}\n              echo \"Checking for ${variant} builds in ${dir}\"\n              ls ${dir}/Opentrons* || continue\n              _windows_build=$(basename $(ls ./to_upload_${variant}/Opentrons*.exe))\n              _mac_build=$(basename $(ls ./to_upload_${variant}/Opentrons*.dmg))\n              _linux_build=$(basename $(ls ./to_upload_${variant}/Opentrons*.AppImage))\n              echo \"windows-${variant}=$_windows_build\">>$GITHUB_OUTPUT\n              echo \"mac-${variant}=$_mac_build\">>$GITHUB_OUTPUT\n              echo \"linux-${variant}=$_linux_build\">>$GITHUB_OUTPUT\n          done\n      - name: 'slack notify internal-release'\n        uses: slackapi/slack-github-action@v1.14.0\n        if: contains(fromJSON(needs.determine-build-type.outputs.variants), 'internal-release')\n        with:\n          payload: '{\"branch_or_tag\":\"${{ github.ref_name }}\",\"build_type\":\"${{ needs.determine-build-type.outputs.type }}\", \"gh_linkback\":\"https://github.com/Opentrons/opentrons/tree/${{ github.ref_name }}\", \"windows_build\":\"${{ env._ACCESS_URL }}/${{steps.names.outputs.windows-internal-release}}\", \"mac_build\":\"${{ env._ACCESS_URL }}/${{steps.names.outputs.mac-internal-release}}\", \"linux_build\":\"${{ env._ACCESS_URL }}/${{steps.names.outputs.linux-internal-release}}\"}'\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.OT_APP_OT3_SLACK_NOTIFICATION_WEBHOOK_URL }}\n          _ACCESS_URL: https://${{env._APP_DEPLOY_BUCKET_OT3}}/${{env._APP_DEPLOY_FOLDER_OT3}}\n      - name: 'slack notify release'\n        uses: slackapi/slack-github-action@v1.14.0\n        if: contains(fromJSON(needs.determine-build-type.outputs.variants), 'release')\n        with:\n          payload: '{\"branch_or_tag\":\"${{ github.ref_name }}\",\"build_type\":\"${{ needs.determine-build-type.outputs.type }}\", \"gh_linkback\":\"https://github.com/Opentrons/opentrons/tree/${{ github.ref_name }}\", \"windows_build\":\"${{ env._ACCESS_URL }}/${{steps.names.outputs.windows-release}}\", \"mac_build\":\"${{ env._ACCESS_URL }}/${{steps.names.outputs.mac-release}}\", \"linux_build\":\"${{ env._ACCESS_URL }}/${{steps.names.outputs.linux-release}}\"}'\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.OT_APP_ROBOTSTACK_SLACK_NOTIFICATION_WEBHOOK_URL }}\n          _ACCESS_URL: https://${{env._APP_DEPLOY_BUCKET_ROBOTSTACK}}/${{env._APP_DEPLOY_FOLDER_ROBOTSTACK}}\n\n      - name: 'pull repo for scripts'\n        uses: 'actions/checkout@v3'\n        with:\n          path: ./monorepo\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          cd ./monorepo\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'set complex environment variables'\n        id: 'set-vars'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/monorepo/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.npm-cache/_prebuild\n            ${{ github.workspace }}/.yarn-cache\n      - name: 'setup-js'\n        run: |\n          npm config set cache ${{ github.workspace }}/.npm-cache\n          yarn config set cache-folder ${{ github.workspace }}/.yarn-cache\n          cd monorepo\n          make setup-js\n      - name: 'update internal-releases releases.json'\n        if: needs.determine-build-type.outputs.type == 'release' && contains(fromJSON(needs.determine-build-type.outputs.variants), 'internal-release')\n        run: |\n          aws --profile=deploy s3 cp s3://${{ env._APP_DEPLOY_BUCKET_OT3 }}/${{ env._APP_DEPLOY_FOLDER_OT3 }}/releases.json ./to_upload_internal-release/releases.json\n          node ./monorepo/scripts/update-releases-json ./to_upload_internal-release/releases.json ot3 ./to_upload_internal-release https://ot3-development.builds.opentrons.com/app/\n          aws --profile=deploy s3 cp ./to_upload_internal-release/releases.json s3://${{ env._APP_DEPLOY_BUCKET_OT3 }}/${{ env._APP_DEPLOY_FOLDER_OT3 }}/releases.json\n\n      - name: 'update release releases.json'\n        if: needs.determine-build-type.outputs.type == 'release' && contains(fromJSON(needs.determine-build-type.outputs.variants), 'release')\n        run: |\n          aws --profile=deploy s3 cp s3://${{ env._APP_DEPLOY_BUCKET_ROBOTSTACK }}/${{ env._APP_DEPLOY_FOLDER_ROBOTSTACK }}/releases.json ./to_upload_release/releases.json\n          node ./monorepo/scripts/update-releases-json ./to_upload_release/releases.json robot-stack ./to_upload_release https://builds.opentrons.com/app/\n          aws --profile=deploy s3 cp ./to_upload_release/releases.json s3://${{ env._APP_DEPLOY_BUCKET_ROBOTSTACK }}/${{ env._APP_DEPLOY_FOLDER_ROBOTSTACK }}/releases.json\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:46.198451", "created_at": "2020-10-13T19:55:56+02:00", "updated_at": "2024-02-20T15:55:26+01:00", "name": ".github/workflows/notify-server-lint-test.yaml", "path": ".github/workflows/notify-server-lint-test.yaml", "contents": null, "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:47.286184", "created_at": "2020-12-01T16:59:17+01:00", "updated_at": "2024-01-30T20:44:08+01:00", "name": "PD test, build, and deploy", "path": ".github/workflows/pd-test-build-deploy.yaml", "contents": "# Run tests, build PD, and deploy it to sandbox\n\nname: 'PD test, build, and deploy'\n\non:\n  pull_request:\n    paths:\n      - 'protocol-designer/**'\n      - 'step-generation/**'\n      - 'shared-data/**'\n      - 'components/**'\n      - 'package.json'\n      - '.github/workflows/pd-test-build-deploy.yaml'\n  push:\n    paths:\n      - 'protocol-designer/**'\n      - 'step-generation/**'\n      - 'shared-data/**'\n      - 'components/**'\n      - 'package.json'\n      - '.github/workflows/pd-test-build-deploy.yaml'\n    branches:\n      - '**'\n    tags:\n      - 'protocol-designer*'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  CI: true\n\njobs:\n  js-unit-test:\n    name: 'protocol designer unit tests'\n    runs-on: 'ubuntu-22.04'\n    timeout-minutes: 30\n    steps:\n      - uses: 'actions/checkout@v3'\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v2\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-\n      - name: 'setup-js'\n        run: |\n          npm config set cache ./.npm-cache\n          yarn config set cache-folder ./.yarn-cache\n          make setup-js\n      - name: 'run PD unit tests'\n        run: make -C protocol-designer test-cov\n      - name: 'Upload coverage report'\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage/lcov.info\n          flags: protocol-designer\n\n  e2e-test:\n    name: 'pd e2e tests'\n    needs: ['js-unit-test']\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        os: ['ubuntu-22.04']\n    runs-on: '${{ matrix.os }}'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev for usb-detection'\n        if: startsWith(matrix.os, 'ubuntu')\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-\n      - name: 'setup-js'\n        run: |\n          npm config set cache ./.npm-cache\n          yarn config set cache-folder ./.yarn-cache\n          make setup-js\n      - name: 'test-e2e'\n        run: make -C protocol-designer test-e2e\n  build-pd:\n    name: 'build protocol designer artifact'\n    needs: ['js-unit-test']\n    runs-on: 'ubuntu-22.04'\n    if: github.event_name != 'pull_request'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n      - name: 'setup-js'\n        run: |\n          npm config set cache ./.npm-cache\n          yarn config set cache-folder ./.yarn-cache\n          make setup-js\n      - name: 'build PD'\n        env:\n          OT_PD_MIXPANEL_ID: ${{ secrets.OT_PD_MIXPANEL_ID }}\n          OT_PD_MIXPANEL_DEV_ID: ${{ secrets.OT_PD_MIXPANEL_DEV_ID }}\n        run: |\n          make -C protocol-designer\n      - name: 'upload github artifact'\n        uses: actions/upload-artifact@v3\n        with:\n          name: 'pd-artifact'\n          path: protocol-designer/dist\n  deploy-pd:\n    name: 'deploy PD artifact to S3'\n    runs-on: 'ubuntu-22.04'\n    needs: ['js-unit-test', 'build-pd']\n    if: github.event_name != 'pull_request'\n    steps:\n      - uses: 'actions/checkout@v3'\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'set complex environment variables'\n        id: 'set-vars'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'download PD build'\n        uses: 'actions/download-artifact@v3'\n        with:\n          name: pd-artifact\n          path: ./dist\n      - name: 'configure ot3 s3 deploy creds and deploy'\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.PD_S3_SANDBOX_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.PD_S3_SANDBOX_SECRET }}\n          AWS_DEFAULT_REGION: us-east-1\n        run: |\n          aws configure set aws_access_key_id ${{ secrets.PD_S3_SANDBOX_KEY_ID }} --profile identity\n          aws configure set aws_secret_access_key ${{ secrets.PD_S3_SANDBOX_SECRET }} --profile identity\n          aws configure set region us-east-2 --profile identity\n          aws configure set output json --profile identity\n          aws configure set region us-east-2 --profile deploy\n          aws configure set role_arn ${{ secrets.OT_PD_DEPLOY_ROLE }} --profile deploy\n          aws configure set source_profile identity --profile deploy\n          aws s3 sync ./dist s3://sandbox.designer.opentrons.com/${{ env.OT_BRANCH }} --acl=public-read --profile=deploy\n        shell: bash\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:48.505402", "created_at": "2021-01-06T15:19:39+01:00", "updated_at": "2024-01-30T20:44:08+01:00", "name": "Labware Library test, build, and deploy", "path": ".github/workflows/ll-test-build-deploy.yaml", "contents": "# Run tests, build labware library, and deploy it to sandbox\n\nname: 'Labware Library test, build, and deploy'\n\non:\n  pull_request:\n    paths:\n      - 'labware-library/**'\n      - 'shared-data/labware/**'\n      - 'components/**'\n      - 'package.json'\n      - '.github/workflows/ll-test-build-deploy.yaml'\n      - '.github/actions/webstack/deploy-to-sandbox/**'\n      - '.github/workflows/utils.js'\n  push:\n    paths:\n      - 'labware-library/**'\n      - 'shared-data/labware/**'\n      - 'components/**'\n      - 'package.json'\n      - '.github/workflows/ll-test-build-deploy.yaml'\n    branches:\n      - '**'\n    tags:\n      - 'labware-library*'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  CI: true\n\njobs:\n  js-unit-test:\n    name: 'labware library unit tests'\n    timeout-minutes: 20\n    runs-on: 'ubuntu-20.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - name: 'install libudev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-\n      - name: 'setup-js'\n        run: |\n          npm config set cache ./.npm-cache\n          yarn config set cache-folder ./.yarn-cache\n          make setup-js\n      - name: 'run labware library unit tests'\n        run: make -C labware-library test-cov\n      - name: 'Upload coverage report'\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage/lcov.info\n          flags: labware-library\n\n  e2e-test:\n    name: 'labware library e2e tests'\n    needs: ['js-unit-test']\n    timeout-minutes: 30\n    runs-on: 'ubuntu-20.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install libudev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-\n      - name: 'setup-js'\n        run: |\n          npm config set cache ./.npm-cache\n          yarn config set cache-folder ./.yarn-cache\n          make setup-js\n      - name: 'test-e2e'\n        env:\n          OT_LL_MIXPANEL_ID: ${{ secrets.OT_LL_MIXPANEL_ID }}\n          OT_LL_MIXPANEL_DEV_ID: ${{ secrets.OT_LL_MIXPANEL_DEV_ID }}\n        run: make -C labware-library test-e2e\n  build-ll:\n    name: 'build labware library artifact'\n    needs: ['js-unit-test']\n    timeout-minutes: 30\n    runs-on: 'ubuntu-20.04'\n    if: github.event_name != 'pull_request'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install libudev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-\n      - name: 'setup-js'\n        run: |\n          npm config set cache ./.npm-cache\n          yarn config set cache-folder ./.yarn-cache\n          make setup-js\n      - name: 'build LL'\n        env:\n          OT_LL_MIXPANEL_ID: ${{ secrets.OT_LL_MIXPANEL_ID }}\n          OT_LL_MIXPANEL_DEV_ID: ${{ secrets.OT_LL_MIXPANEL_DEV_ID }}\n        run: |\n          make -C labware-library\n      - name: 'upload github artifact'\n        uses: actions/upload-artifact@v3\n        with:\n          name: 'll-artifact'\n          path: labware-library/dist\n  deploy-ll:\n    name: 'deploy LL artifact to S3'\n    runs-on: 'ubuntu-20.04'\n    needs: ['js-unit-test', 'e2e-test', 'build-ll']\n    if: github.event_name != 'pull_request'\n    steps:\n      - uses: 'actions/checkout@v3'\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'set complex environment variables'\n        id: 'set-vars'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'download LL build'\n        uses: 'actions/download-artifact@v3'\n        with:\n          name: ll-artifact\n          path: ./dist\n      - name: 'deploy builds to s3'\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.S3_SANDBOX_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SANDBOX_SECRET }}\n          AWS_DEFAULT_REGION: us-east-2\n        uses: './.github/actions/webstack/deploy-to-sandbox'\n        with:\n          domain: 'labware.opentrons.com'\n          distPath: './dist'\n          destPrefix: ${{ env.OT_BRANCH }}\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:49.497726", "created_at": "2021-01-06T16:32:32+01:00", "updated_at": "2024-01-30T20:44:08+01:00", "name": "Components test, build, and deploy", "path": ".github/workflows/components-test-build-deploy.yaml", "contents": "# Run tests, build components bundle, and deploy it to sandbox\n\nname: 'Components test, build, and deploy'\n\non:\n  pull_request:\n    paths:\n      - 'Makefile'\n      - 'components/**'\n      - 'app/**/*.stories.*'\n      - 'app/src/atoms/**/*'\n      - 'app/src/molecules/**/*'\n      - 'package.json'\n      - '.github/workflows/components-test-build-deploy.yaml'\n  push:\n    paths:\n      - 'components/**'\n      - 'app/**/*.stories.*'\n      - 'app/src/atoms/**/*'\n      - 'app/src/molecules/**/*'\n      - 'package.json'\n      - '.github/workflows/components-test-build-deploy.yaml'\n    branches:\n      - '**'\n    tags:\n      - 'components*'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  CI: true\n\njobs:\n  js-unit-test:\n    name: 'components unit tests'\n    timeout-minutes: 30\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-\n      - name: 'setup-js'\n        run: |\n          npm config set cache ./.npm-cache\n          make setup-js\n      - name: 'run components unit tests'\n        run: make -C components test-cov\n      - name: 'Upload coverage report'\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage/lcov.info\n          flags: components\n\n  build-components-storybook:\n    name: 'build components artifact'\n    runs-on: 'ubuntu-22.04'\n    if: github.event_name != 'pull_request'\n    needs: ['js-unit-test']\n    steps:\n      - uses: 'actions/checkout@v3'\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-\n      - name: 'setup-js'\n        run: |\n          npm config set cache ./.npm-cache\n          yarn config set cache-folder ./.yarn-cache\n          make setup-js\n      - name: 'build components'\n        run: make -C components\n      - name: 'upload github artifact'\n        uses: actions/upload-artifact@v3\n        with:\n          name: 'components-artifact'\n          path: storybook-static\n\n  determine-build-type:\n    runs-on: 'ubuntu-latest'\n    name: 'Determine build type'\n    outputs:\n      type: ${{steps.determine-build-type.outputs.type}}\n    steps:\n      - id: determine-build-type\n        run: |\n          echo \"Determining build type for event ${{github.event_name}} and ref ${{github.ref}}\"\n          if [ \"${{ format('{0}', github.event_name == 'pull_request') }}\" = \"true\" ] ; then\n            echo \"No builds for pull requests\"\n            echo 'type=none' >> $GITHUB_OUTPUT\n          elif [ \"${{ format('{0}', startsWith(github.ref, 'refs/heads/')) }}\" = \"true\" ] ; then\n            echo \"storybook s3 builds for branch ${{ github.ref_name }}\"\n            echo 'type=storybook' >> $GITHUB_OUTPUT\n          elif [ \"${{ format('{0}', startsWith(github.ref, 'refs/tags/components')) }}\" = \"true\" ] ; then\n            echo \"publish builds for components tags\"\n            echo 'type=publish' >> $GITHUB_OUTPUT\n          else\n            echo \"No build for ref ${{github.ref}} and event ${{github.event_name}}\"\n            echo 'type=none' >> $GITHUB_OUTPUT\n          fi\n\n  deploy-components:\n    name: 'deploy components storybook artifact to S3'\n    runs-on: 'ubuntu-22.04'\n    needs:\n      ['js-unit-test', 'build-components-storybook', 'determine-build-type']\n    if: needs.determine-build-type.outputs.type != 'none'\n    steps:\n      - uses: 'actions/checkout@v3'\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'set complex environment variables'\n        id: 'set-vars'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'download components build'\n        uses: 'actions/download-artifact@v3'\n        with:\n          name: components-artifact\n          path: ./dist\n      - name: 'deploy builds to s3'\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.S3_SANDBOX_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SANDBOX_SECRET }}\n          AWS_DEFAULT_REGION: us-east-2\n        run: |\n          aws s3 sync ./dist s3://opentrons-components/${{ env.OT_BRANCH}} --acl public-read\n      - name: 'Set generated URL'\n        run: |\n          echo 'Created component storybook for [${{ env.OT_BRANCH }}](https://s3-us-west-2.amazonaws.com/opentrons-components/${{ env.OT_BRANCH }}/index.html?path=/)' >> $GITHUB_STEP_SUMMARY\n          echo 'Created component storybook for https://s3-us-west-2.amazonaws.com/opentrons-components/${{ env.OT_BRANCH }}/index.html?path=/'\n\n  publish-components:\n    name: 'publish components package to npm'\n    runs-on: 'ubuntu-latest'\n    needs: ['js-unit-test', 'determine-build-type']\n    if: needs.determine-build-type.outputs.type == 'publish'\n    steps:\n      - uses: 'actions/checkout@v3'\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n          registry-url: 'https://registry.npmjs.org'\n      - name: 'install udev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'setup-js'\n        run: |\n          npm config set cache ./.npm-cache\n          yarn config set cache-folder ./.yarn-cache\n          make setup-js\n      - name: 'build typescript types'\n        run: make -C components build-ts\n      - name: 'build js bundle'\n        run: |\n          make -C components lib\n      # replace package.json stub version number with version from tag\n      - name: 'set version number'\n        run: |\n          npm install -g json\n          VERSION_STRING=$(echo ${{ github.ref }} | sed 's/refs\\/tags\\/components@//')\n          json -I -f ./components/package.json -e \"this.version=\\\"$VERSION_STRING\\\"\"\n          json -I -f ./components/package.json -e \"this.dependencies['@opentrons/shared-data']=\\\"$VERSION_STRING\\\"\"\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n          registry-url: 'https://registry.npmjs.org'\n      - name: 'publish to npm registry'\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n        run: |\n          cd ./components && echo \"//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}\" > ./.npmrc && npm publish --access public\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:50.524631", "created_at": "2021-05-11T16:18:40+02:00", "updated_at": "2024-01-30T20:44:08+01:00", "name": "Step generation test", "path": ".github/workflows/step-generation-test.yaml", "contents": "# Run tests for step generation\n\nname: 'Step generation test'\n\non:\n  pull_request:\n    paths:\n      - 'step-generation/**'\n      - 'shared-data/**'\n      - 'package.json'\n      - '.github/workflows/step-generation-test.yaml'\n  push:\n    paths:\n      - 'step-generation/**'\n      - 'shared-data/**'\n      - 'package.json'\n      - '.github/workflows/step-generation-test.yaml'\n    branches:\n      - '*'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  CI: true\n\njobs:\n  js-unit-test:\n    name: 'step generation unit tests'\n    runs-on: 'ubuntu-22.04'\n    timeout-minutes: 30\n    steps:\n      - uses: 'actions/checkout@v3'\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-\n      - name: 'setup-js'\n        run: |\n          npm config set cache ./.npm-cache\n          yarn config set cache-folder ./.yarn-cache\n          make setup-js\n      - name: 'run step generation unit tests'\n        run: make -C step-generation test-cov\n      - name: 'Upload coverage report'\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage/lcov.info\n          flags: step-generation\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:51.534140", "created_at": "2021-09-10T19:26:36+02:00", "updated_at": "2024-01-30T20:45:09+01:00", "name": "G-Code Testing Lint & Test", "path": ".github/workflows/g-code-testing-lint-test.yaml", "contents": "# This workflow runs test and lint on branch pushes that touch the\n# g-code-testing project or its dependencies\n\nname: 'G-Code Testing Lint & Test'\n\non:\n  # Most of the time, we run on pull requests, which lets us handle external PRs\n  push:\n    paths:\n      - 'Makefile'\n      - 'api/**'\n      - 'g-code-testing/**'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/g-code-testing-lint-test.yaml'\n      - '.github/actions/python/**'\n    branches:\n      - 'edge'\n      - 'release'\n      - '*hotfix*'\n  pull_request:\n    paths:\n      - 'Makefile'\n      - 'g-code-testing/**'\n      - 'api/**'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/g-code-testing-lint-test.yaml'\n      - '.github/actions/python/**'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint-test:\n    name: 'g-code-testing package linting and tests'\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - name: 'install udev'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'set complex environment variables'\n        id: 'set-vars'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'g-code-testing'\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.npm-cache/_prebuild\n            ${{ github.workspace }}/.yarn-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n      - name: 'setup-js'\n        run: |\n          npm config set cache ${{ github.workspace }}/.npm-cache\n          yarn config set cache-folder ${{ github.workspace }}/.yarn-cache\n          make setup-js\n      - name: Lint\n        run: make -C g-code-testing lint\n      - name: Test\n        run: make -C g-code-testing test\n      - name: 'Upload coverage report'\n        uses: 'codecov/codecov-action@v3'\n        with:\n          files: ./g-code-testing/coverage.xml\n          flags: g-code-testing\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:52.581056", "created_at": "2021-09-15T18:39:44+02:00", "updated_at": "2021-09-22T17:22:45+02:00", "name": "hardware lint/test", "path": ".github/workflows/hardware-lint-test.yaml", "contents": "# This workflow runs test and lint on branch pushes that touch the\n# hardware project or its dependencies\n\nname: 'hardware lint/test'\n\non:\n  # Most of the time, we run on pull requests, which lets us handle external PRs\n  push:\n    paths:\n      - 'Makefile'\n      - 'hardware/**'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/hardware-lint-test.yaml'\n      - '.github/actions/python/**'\n    branches:\n      - 'edge'\n      - 'release'\n    tags-ignore:\n      - '*'\n  pull_request:\n    paths:\n      - 'Makefile'\n      - 'hardware/**'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/hardware-lint-test.yaml'\n      - '.github/actions/python/**'\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint-test:\n    name: 'hardware package linting and tests'\n    timeout-minutes: 20\n    runs-on: 'ubuntu-20.04'\n    steps:\n      - name: Checkout opentrons repo\n        uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - name: Setup Node\n        uses: 'actions/setup-node@v3'\n        with:\n          node-version: '12'\n\n      - name: Setup Python\n        uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n\n      - name: Setup Hardware Project\n        uses: './.github/actions/python/setup'\n        with:\n          project: 'hardware'\n\n      # TODO(amit, 2022-03-08): Enable once ot3 emulation is ready\n      #      - name: Setup SocketCan\n      #        run: |\n      #          sudo apt-get update\n      #          sudo apt-get install linux-modules-extra-$(uname -r)\n      #          sudo modprobe vcan\n      #\n      #      - name: Run OT-3 Emulator\n      #        uses: Opentrons/opentrons-emulation@v1.3\n      #        with:\n      #          ot3-firmware-commit-id: latest\n      #          modules-commit-id: latest\n\n      - name: Lint\n        run: make -C hardware lint\n\n      - name: Test\n        run: make -C hardware test-cov\n      # TODO(amit, 2022-03-08): Enable once ot3 emulation is ready\n      #        env:\n      #          CAN_CHANNEL: vcan0\n      #        run: make -C hardware test-with-emulator\n\n      - name: Code Coverage\n        uses: 'codecov/codecov-action@v3'\n        with:\n          files: ./hardware/coverage.xml\n          flags: hardware\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:53.722398", "created_at": "2021-09-15T18:41:35+02:00", "updated_at": "2021-09-16T21:32:14+02:00", "name": "G-Code-Confirm", "path": ".github/workflows/g-code-confirm-tests.yaml", "contents": "name: \"G-Code-Confirm\"\n\non:\n  # Run on any change to the api directory\n  pull_request:\n    paths:\n      - 'api/**'\n      - 'g-code-testing/**'\n      - 'Makefile'\n  push:\n    paths:\n      - 'api/**'\n      - 'g-code-testing/**'\n      - 'Makefile'\n      - '.github/workflows/g-code-confirm-tests.yaml'\n    branches:\n      - 'edge'\n      - 'release'\n      - '*hotfix*'\n  create:\n    tags:\n      - 'v*'\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  confirm-g-code:\n    strategy:\n      matrix:\n        command: [\n          '2-modules',\n          'swift-smoke',\n          'swift-turbo',\n          'omega',\n          'fast'\n        ]\n    name: 'Confirm G-Code (${{ matrix.command }})'\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '12'\n      - uses: 'actions/setup-python@v3'\n        with:\n          python-version: '3.10'\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'g-code-testing'\n\n      - name: \"Verify no missing comparison files\"\n        run: make -C g-code-testing check-for-missing-comparison-files\n\n      - name: 'Run & Compare to comparison files'\n        run: make -C g-code-testing test-g-code-${{ matrix.command }}\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:54.739515", "created_at": "2021-10-14T00:31:11+02:00", "updated_at": "2024-01-30T20:44:08+01:00", "name": "JS API Clients test", "path": ".github/workflows/react-api-client-test.yaml", "contents": "# Run tests, build components bundle, and deploy it to sandbox\n\nname: 'JS API Clients test'\n\non:\n  pull_request:\n    paths:\n      - 'react-api-client/**'\n      - 'api-client/**'\n      - 'package.json'\n      - '.github/workflows/react-api-client-test.yaml'\n  push:\n    paths:\n      - 'react-api-client/**'\n      - 'api-client/**'\n      - 'package.json'\n      - '.github/workflows/react-api-client-test.yaml'\n    branches:\n      - '*'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  CI: true\n\njobs:\n  js-unit-test:\n    name: 'react-api-client unit tests'\n    timeout-minutes: 30\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install libudev for usb-detection'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.yarn-cache\n            ${{ github.workspace }}/.npm-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n          restore-keys: |\n            js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-\n      - name: 'setup-js'\n        run: |\n          npm config set cache ./.npm-cache\n          yarn config set cache-folder ./.yarn-cache\n          make setup-js\n      - name: 'run react-api-client unit tests'\n        run: make -C react-api-client test-cov\n      - name: 'Upload coverage report'\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage/lcov.info\n          flags: react-api-client\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:55.764441", "created_at": "2022-05-23T17:42:49+02:00", "updated_at": "2022-05-23T20:01:49+02:00", "name": "hardware-testing testing lint/test", "path": ".github/workflows/hardware-testing.yaml", "contents": "# This workflow runs test and lint on branch pushes that touch the\n# hardware-testing project or its dependencies\n\nname: 'hardware-testing testing lint/test'\n\non:\n  # Most of the time, we run on pull requests, which lets us handle external PRs\n  push:\n    paths:\n      - 'Makefile'\n      - 'hardware-testing/**'\n      - 'api/**'\n      - 'shared-data/**'\n      - 'hardware/**'\n      - '.github/workflows/hardware-testing.yaml'\n      - '.github/actions/python/**'\n    branches:\n      - 'edge'\n      - 'release'\n    tags-ignore:\n      - '*'\n  pull_request:\n    paths:\n      - 'Makefile'\n      - 'hardware-testing/**'\n      - '.github/workflows/hardware-testing.yaml'\n      - '.github/actions/python/**'\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint-test:\n    name: 'hardware--testing package linting and tests'\n    timeout-minutes: 20\n    runs-on: 'ubuntu-20.04'\n    steps:\n      - name: Checkout opentrons repo\n        uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n\n      - name: Setup Node\n        uses: 'actions/setup-node@v3'\n        with:\n          node-version: '12'\n\n      - name: Setup Python\n        uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n\n      - name: Setup Project\n        uses: './.github/actions/python/setup'\n        with:\n          project: 'hardware-testing'\n\n      - name: Lint\n        run: make -C hardware-testing lint\n\n      - name: Test\n        run: make -C hardware-testing test-cov\n\n      - name: Coverage\n        uses: 'codecov/codecov-action@v3'\n        with:\n          files: ./hardware-testing/coverage.xml\n          flags: hardware-testing\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:56.801510", "created_at": "2022-09-07T20:30:47+02:00", "updated_at": "2022-09-14T23:25:50+02:00", "name": "hardware-testing testing protocols", "path": ".github/workflows/hardware-testing-protocols.yaml", "contents": "name: 'hardware-testing testing protocols'\n\non:\n  # Run on any change to the api directory\n  pull_request:\n    paths:\n      - 'api/**'\n      - 'hardware-testing/**'\n      - 'Makefile'\n  push:\n    paths:\n      - 'api/**'\n      - 'hardware-testing/**'\n      - 'Makefile'\n      - '.github/workflows/hardware-testing-protocols.yaml'\n    branches:\n      - 'edge'\n      - 'release'\n      - '*hotfix*'\n  create:\n    tags:\n      - 'v*'\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint-test:\n    name: 'hardware-testing protocols'\n    timeout-minutes: 20\n    runs-on: 'ubuntu-20.04'\n    steps:\n      - name: Checkout opentrons repo\n        uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n\n      - name: Setup Node\n        uses: 'actions/setup-node@v3'\n        with:\n          node-version: '12'\n\n      - name: Setup Python\n        uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n\n      - name: Setup Project\n        uses: './.github/actions/python/setup'\n        with:\n          project: 'hardware-testing'\n\n      - name: Test-Integration\n        run: make -C hardware-testing test-integration\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:57.799084", "created_at": "2022-09-15T22:53:38+02:00", "updated_at": "2024-01-30T22:18:43+01:00", "name": "USB-Bridge test/lint", "path": ".github/workflows/usb-bridge-lint-test.yaml", "contents": "# This workflow runs tests and lint on non-release branches pushed that alter\n# the usb-bridge subpackage\n\nname: 'USB-Bridge test/lint'\n\non:\n  push:\n    paths:\n      - 'usb-bridge/**/*'\n      - 'Makefile'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/usb-bridge-lint-test.yaml'\n      - '.github/actions/python/**'\n    branches: # ignore any release-related thing (handled elsewhere)\n      - 'edge'\n    tags-ignore:\n      - '*'\n  pull_request:\n    types: [opened, reopened, synchronize, ready_for_review]\n    paths:\n      - 'usb-bridge/**/*'\n      - 'Makefile'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/usb-bridge-lint-test.yaml'\n      - '.github/actions/python/**'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint:\n    name: 'usb-bridge linting'\n    timeout-minutes: 10\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'usb-bridge'\n      - name: Lint\n        run: make -C usb-bridge lint\n  test:\n    name: 'usb-bridge package tests'\n    timeout-minutes: 10\n    needs: [lint]\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'usb-bridge'\n      - name: Test\n        run: make -C usb-bridge test\n      - uses: 'codecov/codecov-action@v3'\n        with:\n          files: ./usb-bridge/coverage.xml\n          flags: usb-bridge\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:58.929178", "created_at": "2022-11-17T19:41:28+01:00", "updated_at": "2023-07-24T16:56:51+02:00", "name": "Start OT-3 build", "path": ".github/workflows/start-ot3-build.yaml", "contents": null, "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:57:59.951052", "created_at": "2022-12-02T15:45:45+01:00", "updated_at": "2024-01-30T23:52:33+01:00", "name": "Create github release for tag", "path": ".github/workflows/tag-releases.yaml", "contents": "# A workflow to create github releases with changelogs from tags\n\nname: 'Create github release for tag'\n\non:\n  push:\n    tags:\n      - '*'\n  workflow_dispatch:\n\njobs:\n  create-release:\n    runs-on: 'ubuntu-22.04'\n    name: 'Create changelogs and release'\n    steps:\n      # this could be improved by replacing this checkout with something like\n      # mkdir opentrons ; git init . ;\n      # git remote add origin  https://github.com/opentrons/opentrons\n      # git fetch origin ${{ github.ref_name }}:${{ github.ref_name }}\n      # git checkout ${{ github.ref_name }}\n      # This would pull history for only the tag in question.\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.npm-cache/_prebuild\n            ${{ github.workspace }}/.yarn-cache\n          key: js-${{ hashFiles('yarn.lock') }}\n      - name: 'setup-js'\n        run: |\n          npm config set cache ${{ github.workspace }}/.npm-cache\n          yarn config set cache-folder ${{ github.workspace }}/.yarn-cache\n          yarn install\n\n      - name: 'create release'\n        run: |\n          node ./scripts/deploy/create-release.js ${{ github.token }} ${{ github.ref_name }} --deploy\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:00.977580", "created_at": "2023-01-12T20:38:55+01:00", "updated_at": "2024-01-30T22:18:43+01:00", "name": "system-server test/lint", "path": ".github/workflows/system-server-lint-test.yaml", "contents": "# This workflow runs tests and lint on non-release branches pushed that alter\n# the system-server subpackage\n\nname: 'system-server test/lint'\n\non:\n  push:\n    paths:\n      - 'system-server/**/*'\n      - 'Makefile'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/system-server-lint-test.yaml'\n      - '.github/actions/python/**'\n      - 'server-utils/**/*'\n    branches: # ignore any release-related thing (handled elsewhere)\n      - 'edge'\n    tags-ignore:\n      - '*'\n  pull_request:\n    types: [opened, reopened, synchronize, ready_for_review]\n    paths:\n      - 'system-server/**/*'\n      - 'Makefile'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/system-server-lint-test.yaml'\n      - '.github/actions/python/**'\n      - 'server-utils/**/*'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint:\n    name: 'system-server linting'\n    timeout-minutes: 10\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'system-server'\n      - name: Lint\n        run: make -C system-server lint\n  test:\n    name: 'system-server package tests'\n    timeout-minutes: 10\n    needs: [lint]\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'system-server'\n      - name: Test\n        run: make -C system-server test\n      - uses: 'codecov/codecov-action@v3'\n        with:\n          files: ./system-server/coverage.xml\n          flags: system-server\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:02.003758", "created_at": "2023-02-07T20:13:50+01:00", "updated_at": "2024-01-30T22:18:43+01:00", "name": "server-utils test/lint", "path": ".github/workflows/server-utils-lint-test.yaml", "contents": "# This workflow runs tests and lint on non-release branches pushed that alter\n# the server-utils subpackage\n\nname: 'server-utils test/lint'\n\non:\n  push:\n    paths:\n      - 'server-utils/**/*'\n      - 'Makefile'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/server-utils-lint-test.yaml'\n      - '.github/actions/python/**'\n    branches: # ignore any release-related thing (handled elsewhere)\n      - 'edge'\n    tags-ignore:\n      - '*'\n  pull_request:\n    types: [opened, reopened, synchronize, ready_for_review]\n    paths:\n      - 'server-utils/**/*'\n      - 'Makefile'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/server-utils-lint-test.yaml'\n      - '.github/actions/python/**'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint:\n    name: 'server-utils linting'\n    timeout-minutes: 10\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'server-utils'\n      - name: Lint\n        run: make -C server-utils lint\n  test:\n    name: 'server-utils package tests'\n    timeout-minutes: 10\n    needs: [lint]\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'server-utils'\n      - name: Test\n        run: make -C server-utils test\n      - uses: 'codecov/codecov-action@v3'\n        with:\n          files: ./server-utils/coverage.xml\n          flags: server-utils\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:03.029070", "created_at": "2023-04-12T20:49:14+02:00", "updated_at": "2024-01-30T20:44:08+01:00", "name": "HTTP API docs build", "path": ".github/workflows/http-docs-build.yaml", "contents": "# This workflow builds HTTP API docs when either:\n#\n# * A commit is tagged like \"docs@foo\".\n#\n# * Someone pushes, to any branch, a commit that touches any of:\n#   * The parts of the robot-server/ project that are used by the docs.\n#   * The docs source themselves (none yet).\n#   * The CI/makefile tooling used to build the docs.\n\nname: 'HTTP API docs build'\n\non:\n  push:\n    tags:\n      - 'docs@*'\n    branches:\n      # We don't want to do any filtering based on branch name.\n      # But because we specified `tags`, we need to specify `branches` too,\n      # or else GitHub will only run this workflow for tag matches\n      # and not for path matches.\n      - '**'\n    paths:\n      - 'robot-server/**'\n      - '.github/workflows/http-docs-build.yaml'\n      - '.github/actions/python/**'\n      - '.github/actions/webstack/deploy-to-sandbox/**'\n      - '.github/workflows/utils.js'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  build:\n    name: HTTP API reference build\n    runs-on: 'ubuntu-22.04'\n    steps:\n      - uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      # https://github.com/actions/checkout/issues/290\n      - name: 'Fix actions/checkout odd handling of tags'\n        if: startsWith(github.ref, 'refs/tags')\n        run: |\n          git fetch -f origin ${{ github.ref }}:${{ github.ref }}\n          git checkout ${{ github.ref }}\n      - uses: 'actions/setup-python@v3'\n        with:\n          python-version: '3.10'\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - uses: './.github/actions/python/setup'\n        with:\n          project: 'robot-server'\n      - name: 'set complex environment variables'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars, } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'Build docs'\n        run: |\n          make -C robot-server docs\n      - name: 'Deploy docs to sandbox'\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.S3_SANDBOX_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SANDBOX_SECRET }}\n          AWS_DEFAULT_REGION: us-east-2\n        uses: './.github/actions/webstack/deploy-to-sandbox'\n        with:\n          domain: 'docs.opentrons.com'\n          distPath: './robot-server/docs/dist'\n          destPrefix: ${{ env.OT_BRANCH }}\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:04.271005", "created_at": "2023-08-03T17:06:17+02:00", "updated_at": "2023-08-03T17:06:17+02:00", "name": "Nightly Protocol Analysis Testing", "path": ".github/workflows/nightly-protocol-analysis-testing.yaml", "contents": null, "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:05.398754", "created_at": "2023-08-15T16:06:36+02:00", "updated_at": "2023-08-22T22:27:06+02:00", "name": "Start Flex build", "path": ".github/workflows/start-flex-build.yaml", "contents": "name: 'Start Flex build'\non:\n  push:\n    branches:\n      - edge\n      - '*internal-release*'\n      - 'release*'\n      - 'chore_release*'\n    tags:\n      - ot3@*\n      - v*\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - labeled\n\njobs:\n  handle-push:\n    runs-on: 'ubuntu-latest'\n    if: github.event_name == 'push'\n    name: \"Start a Flex build for a branch/tag push\"\n    steps:\n      - name: 'start build'\n        uses: octokit/request-action@v2.x\n        env:\n          GITHUB_TOKEN: ${{ secrets.OT3_BUILD_CROSSREPO_ACCESS }}\n        with:\n          route: POST /repos/{owner}/{repo}/actions/workflows/{workflow-id}/dispatches\n          owner: opentrons\n          repo: oe-core\n          workflow-id: build-ot3-actions.yml\n          ref: main\n          inputs: |\n            {\n              \"oe-core-ref\": \"-\",\n              \"monorepo-ref\": \"${{ github.ref }}\",\n              \"infra-stage\": \"stage-prod\"\n            }\n\n\n  handle-pr:\n    runs-on: 'ubuntu-latest'\n    if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'Opentrons/opentrons' && contains(github.event.pull_request.labels.*.name, 'ot3-build')\n    name: \"Start a Flex build for a requested PR\"\n    steps:\n      - name: 'start build'\n        uses: octokit/request-action@v2.x\n        env:\n          GITHUB_TOKEN: ${{ secrets.OT3_BUILD_CROSSREPO_ACCESS }}\n        with:\n          route: POST /repos/{owner}/{repo}/actions/workflows/{workflow-id}/dispatches\n          owner: opentrons\n          repo: oe-core\n          workflow-id: build-ot3-actions.yml\n          ref: main\n          inputs: |\n            {\n              \"oe-core-ref\": \"-\",\n              \"monorepo-ref\": \"refs/heads/${{ github.head_ref }}\",\n              \"infra-stage\": \"stage-prod\"\n            }\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:06.624824", "created_at": "2023-08-15T16:06:36+02:00", "updated_at": "2023-08-22T22:27:06+02:00", "name": "Start OT-2 build", "path": ".github/workflows/start-ot2-build.yaml", "contents": "name: 'Start OT-2 build'\non:\n  push:\n    branches:\n      - edge\n      - '*internal-release*'\n      - 'release*'\n      - 'chore_release*'\n    tags:\n      - ot3@*\n      - v*\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - labeled\n\njobs:\n  handle-push:\n    runs-on: 'ubuntu-latest'\n    if: github.event_name == 'push'\n    name: \"Start an OT-2 build for a branch/tag push\"\n    steps:\n      - name: 'start build'\n        uses: octokit/request-action@v2.x\n        env:\n          GITHUB_TOKEN: ${{ secrets.OT2_BUILD_CROSSREPO_ACCESS }}\n        with:\n          route: POST /repos/{owner}/{repo}/actions/workflows/{workflow-id}/dispatches\n          owner: opentrons\n          repo: buildroot\n          workflow-id: build.yml\n          ref: opentrons-develop\n          inputs: |\n            {\n              \"buildroot-ref\": \"-\",\n              \"monorepo-ref\": \"${{ github.ref }}\",\n              \"infra-stage\": \"stage-prod\"\n            }\n\n\n  handle-pr:\n    runs-on: 'ubuntu-latest'\n    if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'Opentrons/opentrons' && contains(github.event.pull_request.labels.*.name, 'ot2-build')\n    name: \"Start an OT-2 build for a requested PR\"\n    steps:\n      - name: 'start build'\n        uses: octokit/request-action@v2.x\n        env:\n          GITHUB_TOKEN: ${{ secrets.OT2_BUILD_CROSSREPO_ACCESS }}\n        with:\n          route: POST /repos/{owner}/{repo}/actions/workflows/{workflow-id}/dispatches\n          owner: opentrons\n          repo: buildroot\n          workflow-id: build.yml\n          ref: opentrons-develop\n          inputs: |\n            {\n              \"buildroot-ref\": \"-\",\n              \"monorepo-ref\": \"refs/heads/${{ github.head_ref }}\",\n              \"infra-stage\": \"stage-prod\"\n            }\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:07.853504", "created_at": "2023-12-15T23:43:34+01:00", "updated_at": "2024-01-09T00:17:37+01:00", "name": "Analyses Snapshot Test", "path": ".github/workflows/analyses-snapshot-test.yaml", "contents": "name: Analyses Snapshot Test\n\non:\n  workflow_dispatch:\n    inputs:\n      TARGET:\n        description: 'Target branch or tag'\n        required: true\n        default: 'edge'\n      TEST_SOURCE:\n        description: 'Target for the test code'\n        required: true\n        default: 'edge'\n  schedule:\n    - cron:  '26 7 * * *' # 7:26 AM UTC\n  pull_request:\n    paths:\n      - 'api/**'\n      - 'shared-data/**/*'\n      - '!shared-data/js/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-and-test:\n    timeout-minutes: 15\n    runs-on: ubuntu-latest\n    env:\n      TARGET: ${{ github.event.inputs.TARGET || github.head_ref || 'edge' }}\n      TEST_SOURCE: ${{ github.event.inputs.TEST_SOURCE || github.head_ref || 'edge' }}\n\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ env.TEST_SOURCE }}\n\n    - name: Docker Build\n      working-directory: app-testing\n      run: make build-opentrons-analysis\n\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n        cache: 'pipenv'\n        cache-dependency-path: app-testing/Pipfile.lock\n\n    - name: Setup Python Dependencies\n      working-directory: app-testing\n      run: make setup\n\n    - name: Run Test\n      id: run_test\n      working-directory: app-testing\n      run: make snapshot-test\n\n    - name: Upload Report\n      if: '!cancelled()'\n      uses: actions/upload-artifact@v4\n      with:\n        name: test-report\n        path: app-testing/results/\n\n    - name: Handle Test Failure\n      if: failure()\n      working-directory: app-testing\n      run: make snapshot-test-update\n\n    - name: Create Snapshot update Request\n      id: create-pull-request\n      if: failure()\n      uses: peter-evans/create-pull-request@v5\n      with:\n          commit-message: 'fix(app-testing): snapshot failure capture'\n          title: 'fix(app-testing): snapshot failure capture'\n          body: 'This PR is an automated snapshot update request. Please review the changes and merge if they are acceptable or find you bug and fix it.'\n          branch: 'app-testing/${{ env.TARGET }}-from-${{ env.TEST_SOURCE}}'\n          base: ${{ env.TEST_SOURCE}}\n\n    - name: Comment on PR\n      if: failure() && github.event_name == 'pull_request'\n      uses: actions/github-script@v7\n      with:\n        script: |\n          const message = 'A PR has been opened to address analyses snapshot changes. Please review the changes here: https://github.com/${{ github.repository }}/pull/${{ steps.create-pull-request.outputs.pull-request-number }}';\n          github.rest.issues.createComment({\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            issue_number: context.issue.number,\n            body: message\n          });\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:08.939285", "created_at": "2024-03-20T21:45:38+01:00", "updated_at": "2024-03-21T19:42:06+01:00", "name": "abr-testing lint/test", "path": ".github/workflows/abr-testing-lint-test.yaml", "contents": "# This workflow runs test and lint on branch pushes that touch the abr-testing\n# project or its dependencies.\n\nname: 'abr-testing lint/test'\non:\n  push:\n    paths:\n      - 'Makefile'\n      - 'abr-testing/**'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/abr-testing-lint-test.yaml'\n      - '.github/actions/python/**'\n    branches:\n      - 'edge'\n    tags-ignore:\n      - '*'\n  pull_request:\n    paths:\n      - 'abr-testing/**'\n      - 'scripts/**/*.mk'\n      - 'scripts/**/*.py'\n      - '.github/workflows/abr-testing-lint-test.yaml'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint-test:\n    runs-on: 'windows-latest'\n    steps:\n      - name: Checkout opentrons repo\n        uses: 'actions/checkout@v3'\n        with:\n          fetch-depth: 0\n      - name: Setup Node\n        uses: 'actions/setup-node@v3'\n        with:\n          node-version: '12'\n      - name: Setup Python\n        uses: 'actions/setup-python@v4'\n        with:\n          python-version: '3.10'\n      - name: Set up abr-testing project\n        uses: './.github/actions/python/setup'\n        with:\n          project: 'abr-testing'\n      - name: lint\n        run:\n          make -C abr-testing lint\n      - name: test\n        run:\n          make -C abr-testing test\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:10.003833", "created_at": "2024-04-11T20:00:16+02:00", "updated_at": "2024-04-15T17:09:33+02:00", "name": "performance-metrics test & lint", "path": ".github/workflows/performance-metrics-test-lint.yaml", "contents": "# This workflow runs lint on pull requests that touch anything in the performance-metrics directory\n\nname: 'performance-metrics test & lint'\n\non:\n  pull_request:\n    paths:\n      - 'performance-metrics/**'\n      - '.github/workflows/performance-metrics-test-lint.yaml'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint:\n    name: 'performance-metrics test & lint'\n    timeout-minutes: 5\n    runs-on: 'ubuntu-latest'\n    steps:\n      - name: Checkout opentrons repo\n        uses: 'actions/checkout@v4'\n\n      - name: Setup Python\n        uses: 'actions/setup-python@v5'\n        with:\n          python-version: '3.10'\n          cache: 'pipenv'\n          cache-dependency-path: performance-metrics/Pipfile.lock\n\n      - name: \"Install Python deps\"\n        uses: './.github/actions/python/setup'\n        with:\n          project: 'performance-metrics'\n\n      - name: Setup\n        id: install\n        working-directory: ./performance-metrics\n        run: make setup\n\n      - name: Test\n        if: always() && steps.install.outcome == 'success' || steps.install.outcome == 'skipped'\n        working-directory: ./performance-metrics\n        run: make test\n\n      - name: Lint\n        if: always() && steps.install.outcome == 'success' || steps.install.outcome == 'skipped'\n        working-directory: ./performance-metrics\n        run: make lint\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:11.642632", "created_at": "2024-04-16T20:51:57+02:00", "updated_at": "2024-04-17T17:21:39+02:00", "name": "OpentronsAI client test, build, and deploy", "path": ".github/workflows/opentrons-ai-client-test-build-deploy.yaml", "contents": "# Run tests, build the app, and deploy it cross platform\n\nname: 'OpentronsAI client test, build, and deploy'\n\n# ToDo (kk:04/16/2024) Add build and deploy task\n\non:\n  push:\n    paths:\n      - 'Makefile'\n      - 'opentrons-ai-client/**/*'\n      - 'components/**/*'\n      - '*.js'\n      - '*.json'\n      - 'yarn.lock'\n      - '.github/workflows/app-test-build-deploy.yaml'\n      - '.github/workflows/utils.js'\n    branches:\n      - '**'\n    tags:\n      - 'v*'\n      - 'ot3@*'\n  pull_request:\n    paths:\n      - 'Makefile'\n      - 'opentrons-ai-client/**/*'\n      - 'components/**/*'\n      - '*.js'\n      - '*.json'\n      - 'yarn.lock'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  CI: true\n\njobs:\n  js-unit-test:\n    runs-on: 'ubuntu-22.04'\n    name: 'opentrons ai frontend unit tests'\n    timeout-minutes: 60\n    steps:\n      - uses: 'actions/checkout@v3'\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'set complex environment variables'\n        id: 'set-vars'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.npm-cache/_prebuild\n            ${{ github.workspace }}/.yarn-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n      - name: 'setup-js'\n        run: |\n          npm config set cache ${{ github.workspace }}/.npm-cache\n          yarn config set cache-folder ${{ github.workspace }}/.yarn-cache\n          make setup-js\n      - name: 'test frontend packages'\n        run: |\n          make -C opentrons-ai-client test-cov\n      - name: 'Upload coverage report'\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage/lcov.info\n          flags: opentrons-ai-client\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:12.768163", "created_at": "2024-05-31T16:42:56+02:00", "updated_at": "2024-05-31T21:54:47+02:00", "name": "Testing Edge with Hypothesis", "path": ".github/workflows/test-edge-with-hypothesis.yaml", "contents": "name: 'Testing Edge with Hypothesis'\n\non:\n  schedule:\n  - cron: '45 22 * * 1-5'\n  \n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.actor_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint-test:\n    name: 'edge testing'\n    timeout-minutes: 120\n    runs-on: 'ubuntu-latest'\n    steps:\n    - name: 'Checkout opentrons repo'\n      uses: 'actions/checkout@v3'\n      with:\n        ref: 'edge'\n        fetch-depth: 0\n\n    - name: 'Setup Python'\n      uses: 'actions/setup-python@v5'\n      with:\n        python-version: '3.10'\n        cache: 'pipenv'\n        cache-dependency-path: 'test-data-generation/Pipfile.lock'\n\n    - name: 'Install Python deps'\n      uses: './.github/actions/python/setup'\n      with:\n        project: 'test-data-generation'\n\n    - name: 'Run Hypothesis tests'\n      run: 'make -C test-data-generation test'\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:14.000754", "created_at": "2024-05-31T22:38:38+02:00", "updated_at": "2024-05-31T22:38:38+02:00", "name": "OpentronsAI client edge continuous deployment to staging", "path": ".github/workflows/opentrons-ai-client-staging-continuous-deploy.yaml", "contents": "name: 'OpentronsAI client edge continuous deployment to staging'\n\non:\n  push:\n    branches:\n      - edge\n    paths:\n      - 'opentrons-ai-client/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  CI: true\n\njobs:\n  js-unit-test:\n    runs-on: 'ubuntu-22.04'\n    permissions:\n      id-token: write\n      contents: read\n    name: 'OpentronsAI client edge continuous deployment to staging'\n    timeout-minutes: 10\n    steps:\n      - uses: 'actions/checkout@v3'\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'set complex environment variables'\n        id: 'set-vars'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.npm-cache/_prebuild\n            ${{ github.workspace }}/.yarn-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n      - name: 'setup-js'\n        run: |\n          npm config set cache ${{ github.workspace }}/.npm-cache\n          yarn config set cache-folder ${{ github.workspace }}/.yarn-cache\n          make setup-js\n      - name: 'build'\n        run: |\n          make -C opentrons-ai-client build-staging\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.STAGING_AI_ROLE_ARN }}\n          aws-region: ${{ secrets.STAGING_AI_REGION }}\n      - name: 'deploy to staging'\n        run: |\n          make -C opentrons-ai-client staging-deploy\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:15.329002", "created_at": "2024-05-31T22:38:38+02:00", "updated_at": "2024-05-31T22:38:38+02:00", "name": "Opentrons ai-server lint", "path": ".github/workflows/opentrons-ai-server-lint-test.yaml", "contents": "# This workflow runs lint on pull requests that touch anything in the opentrons-ai-server directory\n\nname: 'Opentrons ai-server lint'\n\non:\n  pull_request:\n    paths:\n      - 'opentrons-ai-server/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint:\n    name: 'ai-server lint'\n    timeout-minutes: 5\n    runs-on: 'ubuntu-latest'\n    steps:\n      - name: Checkout opentrons repo\n        uses: 'actions/checkout@v4'\n\n      - name: Setup Python\n        uses: 'actions/setup-python@v5'\n        with:\n          python-version: '3.12'\n          cache: 'pipenv'\n          cache-dependency-path: opentrons-ai-server/Pipfile.lock\n      - name: Setup\n        id: install\n        working-directory: ./opentrons-ai-server\n        run: make setup\n      - name: black-check\n        if: always() && steps.install.outcome == 'success' || steps.install.outcome == 'skipped'\n        working-directory: ./opentrons-ai-server\n        run: make black-check\n      - name: ruff\n        if: always() && steps.install.outcome == 'success' || steps.install.outcome == 'skipped'\n        working-directory: ./opentrons-ai-server\n        run: make ruff-check\n      - name: mypy\n        if: always() && steps.install.outcome == 'success' || steps.install.outcome == 'skipped'\n        working-directory: ./opentrons-ai-server\n        run: make mypy\n      - name: unit tests\n        if: always() && steps.install.outcome == 'success' || steps.install.outcome == 'skipped'\n        working-directory: ./opentrons-ai-server\n        run: make unit-test\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:16.443480", "created_at": "2024-05-31T22:38:38+02:00", "updated_at": "2024-05-31T22:38:38+02:00", "name": "OpentronsAI edge continuous deployment to dev", "path": ".github/workflows/opentrons-ai-server-staging-continuous-deploy.yaml", "contents": "name: 'OpentronsAI edge continuous deployment to dev'\n\non:\n  push:\n    branches:\n      - edge\n    paths:\n      - 'opentrons-ai-server/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  CI: true\n\njobs:\n  js-unit-test:\n    runs-on: 'ubuntu-latest'\n    permissions:\n      id-token: write\n      contents: read\n    name: 'OpentronsAI server edge continuous deployment to staging'\n    timeout-minutes: 10\n    steps:\n      - name: Checkout opentrons repo\n        uses: 'actions/checkout@v4'\n\n      - name: Setup Python\n        uses: 'actions/setup-python@v5'\n        with:\n          python-version: '3.12'\n          cache: 'pipenv'\n          cache-dependency-path: opentrons-ai-server/Pipfile.lock\n      - name: Setup\n        id: install\n        working-directory: ./opentrons-ai-server\n        run: make setup\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.STAGING_AI_ROLE_ARN }}\n          aws-region: ${{ secrets.STAGING_AI_REGION }}\n      - name: 'deploy api to staging'\n        run: |\n          make -C opentrons-ai-server deploy ENV=staging\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:17.670117", "created_at": "2024-06-04T21:15:01+02:00", "updated_at": "2024-06-04T21:15:01+02:00", "name": "OpentronsAI production deployment", "path": ".github/workflows/opentrons-ai-production-deploy.yaml", "contents": "name: 'OpentronsAI production deployment'\n\non:\n  push:\n    tags:\n      - 'ai-client@*'\n      - 'ai-server@*'\n\nenv:\n  CI: true\n\njobs:\n  deploy-client:\n    if: startsWith(github.ref, 'refs/tags/ai-client@')\n    # if there is a deployment (this workflow) in progress for the ai-client@ tag, cancel it\n    concurrency:\n      group: ${{ github.workflow }}-ai-client@\n      cancel-in-progress: true\n    runs-on: 'ubuntu-22.04'\n    permissions:\n      id-token: write\n      contents: read\n    name: 'OpentronsAI client prod deploy'\n    timeout-minutes: 10\n    steps:\n      - uses: 'actions/checkout@v3'\n      - uses: 'actions/setup-node@v3'\n        with:\n          node-version: '18.19.0'\n      - name: 'install udev'\n        run: |\n          # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update && sudo apt-get install libudev-dev\n      - name: 'set complex environment variables'\n        id: 'set-vars'\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)\n            buildComplexEnvVars(core, context)\n      - name: 'cache yarn cache'\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ github.workspace }}/.npm-cache/_prebuild\n            ${{ github.workspace }}/.yarn-cache\n          key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}\n      - name: 'setup-js'\n        run: |\n          npm config set cache ${{ github.workspace }}/.npm-cache\n          yarn config set cache-folder ${{ github.workspace }}/.yarn-cache\n          make setup-js\n      - name: 'build'\n        run: |\n          make -C opentrons-ai-client build-production\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.PROD_AI_ROLE_ARN }}\n          aws-region: ${{ secrets.PROD_AI_REGION }}\n      - name: 'deploy client to prod'\n        run: |\n          make -C opentrons-ai-client prod-deploy\n\n  deploy-server:\n    if: startsWith(github.ref, 'refs/tags/ai-server@')\n    # if there is a deployment (this workflow) in progress for the ai-server@ tag, cancel it\n    concurrency:\n      group: ${{ github.workflow }}-ai-server@\n      cancel-in-progress: true\n    runs-on: 'ubuntu-latest'\n    permissions:\n      id-token: write\n      contents: read\n    name: 'OpentronsAI server prod deploy'\n    timeout-minutes: 10\n    steps:\n      - name: Extract Version\n        id: extract_version\n        run: |\n          TAG_REF=${{ github.ref }}\n          SERVER_VERSION=${TAG_REF#refs/tags/ai-server@}\n          echo \"SERVER_VERSION=$SERVER_VERSION\" >> \"$GITHUB_OUTPUT\"\n      - name: Checkout opentrons repo\n        uses: 'actions/checkout@v4'\n      - name: Setup Python\n        uses: 'actions/setup-python@v5'\n        with:\n          python-version: '3.12'\n          cache: 'pipenv'\n          cache-dependency-path: opentrons-ai-server/Pipfile.lock\n      - name: Setup\n        id: install\n        working-directory: ./opentrons-ai-server\n        run: make setup\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.PROD_AI_ROLE_ARN }}\n          aws-region: ${{ secrets.PROD_AI_REGION }}\n      - name: 'deploy api to prod'\n        working-directory: ./opentrons-ai-server\n        run: |\n          make deploy ENV=prod TAG=${{ steps.extract_version.outputs.SERVER_VERSION }}\n", "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:18.685560", "created_at": "2024-06-28T00:25:17+02:00", "updated_at": "2024-06-28T18:34:01+02:00", "name": "analyses-snapshot-testing lint", "path": ".github/workflows/analyses-snapshot-lint.yaml", "contents": null, "state": "active", "repository": "opentrons/opentrons"}
{"mined_at": "2024-07-15T15:58:20.896268", "created_at": "2022-05-04T10:23:37+02:00", "updated_at": "2022-05-04T10:23:37+02:00", "name": "Build Docker container on push", "path": ".github/workflows/docker-push.yml", "contents": "name: Build Docker container on push\n\non:\n    push:\n        branches:\n            - \"*\"\n\njobs:\n  build:\n    name: Build image\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout project\n        uses: actions/checkout@v3\n\n      - name: Set env variables\n        run: |\n          echo \"BRANCH=$(echo ${GITHUB_REF#refs/heads/} | sed 's/\\//-/g')\" >> $GITHUB_ENV\n          REPO_OWNER=${{ github.repository_owner }}\n          echo \"IMAGE_NAME=${REPO_OWNER,,}/${GITHUB_REPOSITORY#*/}\" >> $GITHUB_ENV\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n        id: qemu\n\n      - name: Setup Docker buildx action\n        uses: docker/setup-buildx-action@v2\n        id: buildx\n\n      - name: Run Docker buildx\n        run: |\n                docker buildx build \\\n                --platform linux/amd64,linux/arm64 \\\n                --tag ghcr.io/$IMAGE_NAME:$BRANCH \\\n                --output \"type=registry\" ./\n", "state": "active", "repository": "cryptoadvance/specter-desktop"}
{"mined_at": "2024-07-15T15:58:21.988964", "created_at": "2022-05-04T10:23:37+02:00", "updated_at": "2022-05-04T10:23:37+02:00", "name": "Build Docker container on tag", "path": ".github/workflows/docker-tag.yml", "contents": "name: Build Docker container on tag\n\non:\n  push:\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]+\n      - v[0-9]+.[0-9]+.[0-9]+-*\n\njobs:\n  build:\n    name: Build image\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout project\n        uses: actions/checkout@v2\n\n      - name: Set env variables\n        run: |\n          echo \"TAG=${GITHUB_REF/refs\\/tags\\//}\" >> $GITHUB_ENV\n          REPO_OWNER=${{ github.repository_owner }}\n          echo \"IMAGE_NAME=${REPO_OWNER,,}/${GITHUB_REPOSITORY#*/}\" >> $GITHUB_ENV\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: Setup Docker buildx action\n        uses: docker/setup-buildx-action@v1\n\n      - name: Run Docker buildx\n        run: |\n                docker buildx build \\\n                --platform linux/amd64,linux/arm64 \\\n                --tag ghcr.io/$IMAGE_NAME:$TAG \\\n                --output \"type=registry\" ./\n", "state": "active", "repository": "cryptoadvance/specter-desktop"}
{"mined_at": "2024-07-15T15:58:23.088505", "created_at": "2020-06-18T13:27:13+02:00", "updated_at": "2020-06-18T13:27:13+02:00", "name": "TOC Generator", "path": ".github/workflows/toc.yml", "contents": "on: push\nname: TOC Generator\njobs:\n  generateTOC:\n    name: TOC Generator\n    runs-on: ubuntu-latest\n    steps:\n      - uses: technote-space/toc-generator@v2\n        with:\n          TARGET_PATHS: README.md, docs/faq.md, docs/development.md", "state": "active", "repository": "cryptoadvance/specter-desktop"}
{"mined_at": "2024-07-15T15:58:24.098590", "created_at": "2020-09-20T23:50:36+02:00", "updated_at": "2021-04-26T14:09:43+02:00", "name": "Black Python Linter", "path": ".github/workflows/zblack.yml", "contents": "name: Black Python Linter\n\non: [push,pull_request]\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n      # This version should match what you can find in .pre-commit-config.yaml\n      - uses: psf/black@22.3.0 # https://black.readthedocs.io/en/stable/integrations/github_actions.html\n        with:\n            options: \"--check --verbose\"\n            src: \"./src\"\n            version: \"22.3.0\"\n", "state": "active", "repository": "cryptoadvance/specter-desktop"}
{"mined_at": "2024-07-15T15:58:26.113518", "created_at": "2020-07-18T20:16:43+02:00", "updated_at": "2020-07-18T20:16:43+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  push:\n    branches-ignore:\n      - deploy\n  pull_request:\n    branches-ignore:\n      - deploy\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - '3.8'\n          - '3.12'\n    steps:\n    - uses: actions/checkout@v3\n    - name: Fetch branches\n      run: |\n        git remote set-branches --add origin deploy\n        git fetch --depth=5 origin master deploy\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Setup cache\n      id: cache\n      uses: actions/cache@v3\n      with:\n        key: ${{ runner.os }}-${{ env.pythonLocation }}-pip-cache-version-1-${{ hashFiles('**/requirements.txt') }}}-${{ hashFiles('**/user_requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ env.pythonLocation }}-pip-cache-version-1-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/user_requirements.txt') }}\n          ${{ runner.os }}-${{ env.pythonLocation }}-pip-cache-version-1-\n        path: |\n          ~/.cache/pip\n    - name: Install Python dependencies\n      run: |\n        pip3 install -U wheel --upgrade-strategy eager\n        pip3 install -U -r requirements.txt -r user_requirements.txt pytest-cov coveralls --upgrade-strategy eager\n    - name: Lint ./tests\n      run: python3 -m flake8 --config=tox_tests.ini ./test/\n    - name: Lint ./classes\n      run: python3 -m flake8 --config=tox_classes.ini ./classes/\n    - name: Lint code\n      run: python3 -m flake8 ./\n    - name: Pytest\n      run: |\n        python3 -W default::Warning -m pytest \\\n          --cov=chatcommunicate \\\n          --cov=findspam \\\n          --cov=globalvars \\\n          --cov=spamhandling \\\n          --cov=datahandling \\\n          --cov=chatcommands \\\n          --cov=helpers \\\n          -n 3 \\\n          --dist loadgroup \\\n          --timeout=300 \\\n          test\n", "state": "active", "repository": "charcoal-se/smokedetector"}
{"mined_at": "2024-07-15T15:58:28.436207", "created_at": "2022-08-08T00:45:58+02:00", "updated_at": "2022-08-09T19:52:45+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [ push, pull_request, workflow_dispatch ]\n\njobs:\n  ci:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: set up python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: install poetry\n        run: curl -sSL https://install.python-poetry.org | python3 -\n\n      - name: configure poetry\n        run: poetry config virtualenvs.in-project true\n\n      - name: load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: install dependencies\n        run: poetry install\n\n      - name: ruff formatter & linter\n        run: poetry run format_and_lint\n      \n      - name: mypy\n        run: poetry run mypy\n\n      - name: pytest\n        run: poetry run pytest\n\n      - name: json check\n        run: \"find bot karen common -name \\\"*.json\\\" | while read file; do { echo \\\"Checking file: $file\\\"; jq . $file -c > /dev/null; }; done\"\n\n      - name: text check\n        run: poetry run check_text\n", "state": "active", "repository": "iapetus-11/villager-bot"}
{"mined_at": "2024-07-15T15:58:30.578594", "created_at": "2024-07-13T15:08:24+02:00", "updated_at": "2024-07-13T15:08:24+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "ccxt/ccxt"}
{"mined_at": "2024-07-15T15:58:32.659678", "created_at": "2020-07-29T18:33:31+02:00", "updated_at": "2020-07-29T18:33:31+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\"]\n\njobs:\n  tox:\n    runs-on: ubuntu-20.04 # bump to -latest or -22.04 once we drop py36\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version:\n        - \"3.6\"\n        - \"3.7\"\n        - \"3.8\"\n        - \"3.9\"\n        - \"3.10\"\n        - \"3.11\"\n        - \"pypy3.9\"\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install tox\n      run: |\n        python -m pip install --upgrade pip setuptools\n        pip install --upgrade tox tox-gh-actions\n    - name: Install h2spec\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        .github/workflows/install_h2spec.sh\n    - name: Initialize tox envs\n      run: |\n        tox --parallel auto --notest\n    - name: Test with tox\n      run: |\n        tox --parallel 0\n    - uses: codecov/codecov-action@v1\n      with:\n        file: ./coverage.xml\n", "state": "active", "repository": "python-hyper/h2"}
{"mined_at": "2024-07-15T15:58:34.784928", "created_at": "2020-01-30T19:30:17+01:00", "updated_at": "2020-01-30T19:30:17+01:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request, issues]\n\n# cancel the current workflow if another commit was pushed on the same PR or reference\n# uses the GitHub workflow name to avoid collision with other workflows running on the same PR/reference\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/first-interaction@v1\n      continue-on-error: true\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: >\n          Thanks for submitting an issue.\n\n          Make sure you have checked through existing/resolved issues to avoid duplicates.\n          Also, make sure you provide enough details for us to be able to replicate and understand the problem.\n        pr-message: >\n          Thanks for submitting a PR.\n\n          Make sure that you have added tests to validates new features or bugfixes.\n          Also, ensure that existing test suites are still working with the change using the commit test statuses.\n", "state": "active", "repository": "crim-ca/weaver"}
{"mined_at": "2024-07-15T15:58:35.901472", "created_at": "2020-05-13T23:27:56+02:00", "updated_at": "2023-10-27T03:14:08+02:00", "name": "Issue Labeler", "path": ".github/workflows/issue-labeler.yml", "contents": "# reference: https://github.com/github/issue-labeler\n\nname: \"Issue Labeler\"\non:\n  issues:\n    types: [opened, edited]\n\n# cancel the current workflow if another commit was pushed on the same PR or reference\n# uses the GitHub workflow name to avoid collision with other workflows running on the same PR/reference\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  issues: write\n  contents: read\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: github/issue-labeler@v3.2\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        configuration-path: .github/labeler-words.yml\n        enable-versioned-regex: 0\n        include-title: 1\n        include-body: 1\n        sync-labels: 0\n", "state": "active", "repository": "crim-ca/weaver"}
{"mined_at": "2024-07-15T15:58:37.041012", "created_at": "2020-05-13T21:53:45+02:00", "updated_at": "2021-04-27T16:48:06+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/pr-labeler.yml", "contents": "# This workflow will triage pull requests and apply a label based on the\n# paths that are modified in the pull request.\n#\n# To use this workflow, you will need to set up a .github/labeler.yml\n# file with configuration.  For more information, see:\n# https://github.com/actions/labeler/blob/master/README.md\n\nname: Pull Request Labeler\non:\n  pull_request:\n    types: [opened, edited, synchronize, reopened]\n  schedule:\n    - cron: '0 */12 * * *'\n\n# cancel the current workflow if another commit was pushed on the same PR or reference\n# uses the GitHub workflow name to avoid collision with other workflows running on the same PR/reference\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  original-labeler:\n    # reference: https://github.com/actions/labeler\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v2\n      with:\n        configuration-path: .github/labeler-files.yml\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n  extended-labeler:\n    # reference: https://github.com/ilyam8/periodic-pr-labeler\n    runs-on: ubuntu-latest\n    steps:\n      - uses: docker://docker.io/ilyam8/periodic-pr-labeler:latest\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITHUB_REPOSITORY: ${{ github.repository }}\n          LABEL_MAPPINGS_FILE: .github/labeler-files.yml\n  wip:\n    # reference: https://github.com/wip/action\n    # mark PRs with following keywords in the title: wip, work in progress, :construction:\n    # blocks merge of these branches using requirement:\n    #   [Settings > Branch > master > Protect matching branches > Require > check status with \"WIP (action)\"]\n    if: ${{ github.event_name == 'pull_request' }}  # WIP only works during PRs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: wip/action@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "crim-ca/weaver"}
{"mined_at": "2024-07-15T15:58:38.146078", "created_at": "2020-01-30T18:37:03+01:00", "updated_at": "2020-01-30T18:37:03+01:00", "name": "Secret Scan", "path": ".github/workflows/secret-scan.yml", "contents": "# look for secrets pushed by mistake\n\n# NOTE: To fix problematic commits that got references to detected secrets, execute the following:\n# 1. Assuming the branch is built on top of master for a PR\n#     >> git rebase -i master\n# 2. Then, replace \"pick\" by \"squash\" for matched problematic commits\n#\t If this didn't work, more advanced edit of history commits needs to be applied.\n#\t Please refer to git interactive rebase documentation to do so.\n# 3. Finally re-run secrets analysis to validate that problems where fixed\n\n\nname: Secret Scan\non:\n  - pull_request\n  - push\n\n# cancel the current workflow if another commit was pushed on the same PR or reference\n# uses the GitHub workflow name to avoid collision with other workflows running on the same PR/reference\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  #trufflehog:\n  #  runs-on: ubuntu-latest\n  #  steps:\n  #  - uses: actions/checkout@master\n  #  - name: trufflehog-actions-scan\n  #    uses: edplato/trufflehog-actions-scan@master\n    #- uses: max/secret-scan@master\n    #  with:\n    #    repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n  # ref: https://github.com/svdarren/secrets-workflow/blob/9633bc1195a1ca1d4d70415aa4eff6cf55d706de/.github/workflows/secrets.yml\n  gitleak:\n    name: gitleaks\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: '0'\n      - name: Install dependencies\n        run: docker pull zricethezav/gitleaks\n      #- run: |\n      #    docker run --name=gitleaks --volume $GITHUB_WORKSPACE:/workspace/ \\\n      #    -v --exclude-forks --redact --threads=1 --branch=$GITHUB_REF --repo-path=/workspace/\n      #- run: docker run --rm --name=gitleaks -v /tmp/:/code/ zricethezav/gitleaks -v --repo-path=/code/gitleaks\n      # @todo command is failing\n      #- run: gitleaks -v --exclude-forks --redact --threads=1 --branch=$GITHUB_REF --repo-path=$GITHUB_WORKSPACE\n\n      # FIXME: revert to original repo when (if) they ever consider the fix\n      #     https://github.com/eshork/gitleaks-action/pull/4\n      #     https://github.com/eshork/gitleaks-action/issues/3\n      #- uses: fmigneault/gitleaks-action@master\n      #- uses: zricethezav/gitleaks-action@master\n      - uses: gitleaks/gitleaks-action@v1.6.0  # see: https://github.com/gitleaks/gitleaks-action/issues/57\n      #- uses: eshork/gitleaks-action@v1.0.0\n      #- uses: CySeq/gitcret@v2\n      #  env:\n      #    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "crim-ca/weaver"}
{"mined_at": "2024-07-15T15:58:39.183345", "created_at": "2021-02-11T01:00:15+01:00", "updated_at": "2021-02-24T21:13:36+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "# run test suites\n\nname: Tests\non:\n  - pull_request\n  - push\n  - release\n  - workflow_dispatch\n\n# cancel the current workflow if another commit was pushed on the same PR or reference\n# uses the GitHub workflow name to avoid collision with other workflows running on the same PR/reference\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # see: https://github.com/fkirc/skip-duplicate-actions\n  skip_duplicate:\n    continue-on-error: true\n    runs-on: ubuntu-latest\n    outputs:\n      should_skip: ${{ steps.skip_duplicate.outputs.should_skip && ! contains(github.ref, 'refs/tags') }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@master\n        with:\n          concurrent_skipping: \"same_content\"\n          skip_after_successful_duplicate: \"true\"\n          do_not_skip: '[\"pull_request\", \"workflow_dispatch\", \"schedule\", \"release\"]'\n\n  # see: https://github.com/actions/setup-python\n  tests:\n    needs: skip_duplicate\n    if: ${{ needs.skip_duplicate.outputs.should_skip != 'true' }}\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.allow-failure }}\n    env:\n      # override make command to install directly in active python\n      CONDA_CMD: \"\"\n      DOCKER_TEST_EXEC_ARGS: \"-T\"\n    services:\n      # Label used to access the service container\n      mongodb:\n        image: mongo:5.0  # DockerHub\n        ports:\n          - \"27017:27017\"\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        allow-failure: [false]\n        test-case: [test-unit-only, test-func-only]\n        include:\n          # experimental python\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            allow-failure: true\n            test-case: test-unit-only\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            allow-failure: true\n            test-case: test-func-only\n          # linter tests\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            allow-failure: false\n            test-case: check-all\n          # documentation build\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            allow-failure: false\n            test-case: docs\n          # coverage test\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            allow-failure: false\n            test-case: test-coverage-only\n          # smoke test of Docker image\n          - os: ubuntu-latest\n            python-version: \"3.10\"  # doesn't matter which one (in docker), but match default of repo\n            allow-failure: false\n            test-case: test-docker\n          # EMS end-2-end Workflow tests\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            allow-failure: true\n            test-case: test-workflow-only\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: \"0\"\n      - name: Setup Python\n        # skip python setup if running with docker\n        if: ${{ matrix.test-case != 'test-docker' }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n          cache: 'pip'\n      - name: Parse Python Version\n        id: python-semver\n        run: |\n          echo \"::set-output name=major:$(echo ${{ matrix.python-version }} | cut -d '.' -f 1)\"\n          echo \"::set-output name=minor:$(echo ${{ matrix.python-version }} | cut -d '.' -f 2)\"\n      - uses: actions/cache@v3\n        name: Check Proj Lib Pre-Built in Cache\n        id: cache-proj\n        with:\n          # note: '22' is v8, '21' is v7\n          path: /tmp/proj-8.2.1/install\n          key: ${{ runner.os }}-python${{ matrix.python-version }}-proj\n      - name: Install Dependencies\n        # skip python setup if running with docker\n        if: ${{ matrix.test-case != 'test-docker' }}\n        # install package and dependencies directly,\n        # skip sys/conda setup to use active python\n        run: make install-sys install-pkg install-pip install-raw install-dev install-dev-npm\n      - name: Display Packages\n        # skip python setup if running with docker\n        if: ${{ matrix.test-case != 'test-docker' }}\n        run: |\n          pip freeze\n          npm list\n          make version\n      #- name: Setup Environment Variables\n      #  uses: c-py/action-dotenv-to-setenv@v2\n      #  with:\n      #    env-file: ./ci/weaver.env\n      - name: Display Environment Variables\n        run: |\n          hash -r\n          env | sort\n      - name: Run Tests\n        run: make stop ${{ matrix.test-case }}\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v2\n        if: ${{ success() && matrix.test-case == 'test-coverage-only' }}\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./reports/coverage.xml\n          fail_ci_if_error: true\n          verbose: true\n\n  deploy-docker:\n    needs: tests\n    if: ${{ success() && (contains(github.ref, 'refs/tags') || github.ref == 'refs/heads/master') }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: \"0\"\n      - name: Get Tag Version\n        id: version\n        shell: bash\n        run: |\n          if [[ \"${GITHUB_REF}\" == \"refs/heads/master\" ]]; then\n            echo \"::set-output name=TAG_VERSION::latest\"\n          else\n            echo \"::set-output name=TAG_VERSION::${GITHUB_REF##*/}\"\n          fi\n      - name: Build Docker\n        run: |\n          make DOCKER_REPO=pavics/weaver APP_VERSION=${{ steps.version.outputs.TAG_VERSION }} docker-info docker-build\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Push to DockerHub\n        run: |\n          make DOCKER_REPO=pavics/weaver APP_VERSION=${{ steps.version.outputs.TAG_VERSION }} docker-push\n", "state": "active", "repository": "crim-ca/weaver"}
{"mined_at": "2024-07-15T15:58:41.206312", "created_at": "2021-03-23T12:19:10+01:00", "updated_at": "2021-03-23T12:19:10+01:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non:\n  workflow_dispatch:\n  push:\n    branches: [main]\n    paths:\n      - \"docs/**\"\n      - \"README.md\"\n      - \"pyproject.toml\"\n\nenv:\n  PYTHON_VERSION: \"3.10\"\n  POETRY_VERSION: \"1.5.1\"\n\njobs:\n  main:\n    name: Build and deploy\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Cache poetry\n        id: cache-poetry\n        uses: actions/cache@v3\n        with:\n          path: ~/.local\n          key: poetry-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ env.POETRY_VERSION }}\n      - name: Install poetry\n        if: steps.cache-poetry.outputs.cache-hit != 'true'\n        uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-in-project: true\n      - name: Cache venv\n        id: cache-venv\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ env.POETRY_VERSION }}-${{ hashFiles('poetry.lock') }}\n          restore-keys: |\n            venv-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ env.POETRY_VERSION }}-\n      - name: Install dependencies\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: poetry install -E image\n      - name: Build and deploy documentation\n        run: |\n          git config --global user.name \"github-actions\"\n          git config --global user.email \"action@github.com\"\n          poetry run mudkip build --check --skip-broken-links --update-gh-pages --repository https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\n", "state": "active", "repository": "mcbeet/beet"}
{"mined_at": "2024-07-15T15:58:42.362623", "created_at": "2020-12-21T01:08:21+01:00", "updated_at": "2020-12-21T04:00:59+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [main]\n    paths-ignore:\n      - \"docs/**\"\n  pull_request:\n    branches: [main]\n    paths-ignore:\n      - \"docs/**\"\n\nenv:\n  PYTHON_VERSION: \"3.10\"\n  POETRY_VERSION: \"1.5.1\"\n\njobs:\n  main:\n    name: Test and release\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Cache poetry\n        id: cache-poetry\n        uses: actions/cache@v3\n        with:\n          path: ~/.local\n          key: poetry-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ env.POETRY_VERSION }}\n      - name: Install poetry\n        if: steps.cache-poetry.outputs.cache-hit != 'true'\n        uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-in-project: true\n      - name: Cache venv\n        id: cache-venv\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ env.POETRY_VERSION }}-${{ hashFiles('poetry.lock') }}\n          restore-keys: |\n            venv-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ env.POETRY_VERSION }}-\n      - name: Install dependencies\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: poetry install -E image\n      - name: Setup npm cache\n        id: cache-npm\n        uses: actions/cache@v3\n        with:\n          path: node_modules\n          key: npm-${{ runner.os }}-${{ hashFiles('package-lock.json') }}\n      - name: Install Pyright\n        if: steps.cache-npm.outputs.cache-hit != 'true'\n        run: npm install\n      - name: Run tests\n        run: poetry run pytest -v\n      - name: Run type-checking\n        run: npm run check\n      - name: Check formatting\n        run: poetry run black --check beet tests\n      - name: Release\n        if: |\n          github.repository == 'mcbeet/beet'\n          && github.event_name == 'push'\n          && github.ref == 'refs/heads/main'\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          git config --global user.name \"github-actions\"\n          git config --global user.email \"action@github.com\"\n          poetry run semantic-release publish -v DEBUG -D commit_author=\"github-actions <action@github.com>\"\n", "state": "active", "repository": "mcbeet/beet"}
{"mined_at": "2024-07-15T15:58:43.474515", "created_at": "2022-01-03T05:13:10+01:00", "updated_at": "2022-01-03T05:13:10+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mcbeet/beet"}
{"mined_at": "2024-07-15T15:58:45.743614", "created_at": "2022-02-18T13:55:16+01:00", "updated_at": "2022-05-23T19:49:48+02:00", "name": "Run tests for new-ara-api", "path": ".github/workflows/github-actions.yml", "contents": "name: Run tests for new-ara-api\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n      - develop\n  pull_request:\n  release:\n    types: [created]\nenv:\n  ECR: 666583083672.dkr.ecr.ap-northeast-2.amazonaws.com\n  PROJECT_NAME: newara\n  SECRET_KEY: ${{ secrets.SECRET_KEY }}\n  AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n  AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n  SSO_CLIENT_ID: ${{ secrets.SSO_CLIENT_ID }}\n  SSO_SECRET_KEY: ${{ secrets.SSO_SECRET_KEY }}\n  PORTAL_2FA_KEY: ${{ secrets.PORTAL_2FA_KEY }}\n  FIREBASE_SERVICE_ACCOUNT_KEY_DEV: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY_DEV }}\n  FIREBASE_SERVICE_ACCOUNT_KEY_PROD: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY_PROD }}\n  AWS_REGION: ap-northeast-2\n\njobs:\n  deploy:\n    name: Run Tests\n    runs-on: ubuntu-22.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{env.AWS_REGION}}\n\n      - name: Login to Amazon ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@v1\n\n      - name: Install\n        run: |\n          chmod +x .github/workflows/generate-docker-tag.sh\n          touch firebaseServiceAccountKey.json\n          . .github/workflows/generate-docker-tag.sh\n          echo \"PUSH=$PUSH\" >> $GITHUB_ENV\n          echo \"DOCKER_TAG=$DOCKER_TAG\" >> $GITHUB_ENV\n          echo \"DJANGO_ENV=$DJANGO_ENV\" >> $GITHUB_ENV\n          docker pull $ECR/$PROJECT_NAME:$DJANGO_ENV || true\n      - name: Build\n        run: |\n          docker build --build-arg AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID --build-arg AWS_SECRET_ACCESS_KEY=$(echo $AWS_SECRET_ACCESS_KEY) --cache-from $ECR/$PROJECT_NAME:$DJANGO_ENV  -t $PROJECT_NAME .\n\n      - name: Run test\n        run: |\n          docker-compose -f docker-compose.test.yml run api test\n          docker-compose -f docker-compose.test.yml down\n      - if: env.PUSH == 'true'\n        name: Push docker image\n        run: |\n          echo \"Start docker image push\"\n          docker tag $PROJECT_NAME $ECR/$PROJECT_NAME:$DOCKER_TAG && docker push $ECR/$PROJECT_NAME:$DOCKER_TAG\n          echo \"Finish docker image push\"\n", "state": "active", "repository": "sparcs-kaist/new-ara-api"}
{"mined_at": "2024-07-15T15:58:47.774494", "created_at": "2020-10-23T15:33:34+02:00", "updated_at": "2022-01-27T15:48:17+01:00", "name": "tests", "path": ".github/workflows/main.yml", "contents": "name: tests\n\non:\n  merge_group:\n  push:\n    branches-ignore:\n    # temporary GH branches relating to merge queues (jaraco/skeleton#93)\n    - gh-readonly-queue/**\n    tags:\n    # required if branches-ignore is supplied (jaraco/skeleton#103)\n    - '**'\n  pull_request:\n\npermissions:\n  contents: read\n\nenv:\n  # Environment variable to support color support (jaraco/skeleton#66)\n  FORCE_COLOR: 1\n\n  # Suppress noisy pip warnings\n  PIP_DISABLE_PIP_VERSION_CHECK: 'true'\n  PIP_NO_PYTHON_VERSION_WARNING: 'true'\n  PIP_NO_WARN_SCRIPT_LOCATION: 'true'\n\n  # Ensure tests can sense settings about the environment\n  TOX_OVERRIDE: >-\n    testenv.pass_env+=GITHUB_*,FORCE_COLOR\n\n\njobs:\n  test:\n    strategy:\n      # https://blog.jaraco.com/efficient-use-of-ci-resources/\n      matrix:\n        python:\n        - \"3.8\"\n        - \"3.12\"\n        platform:\n        - ubuntu-latest\n        - macos-latest\n        - windows-latest\n        include:\n        - python: \"3.9\"\n          platform: ubuntu-latest\n        - python: \"3.10\"\n          platform: ubuntu-latest\n        - python: \"3.11\"\n          platform: ubuntu-latest\n        - python: pypy3.10\n          platform: ubuntu-latest\n    runs-on: ${{ matrix.platform }}\n    continue-on-error: ${{ matrix.python == '3.13' }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox\n\n  collateral:\n    strategy:\n      fail-fast: false\n      matrix:\n        job:\n        - diffcov\n        - docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Eval ${{ matrix.job }}\n        run: tox -e ${{ matrix.job }}\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n    - test\n    - collateral\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n\n  release:\n    permissions:\n      contents: write\n    needs:\n    - check\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox -e release\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "python/importlib_metadata"}
{"mined_at": "2024-07-15T15:58:50.045166", "created_at": "2021-11-24T01:25:59+01:00", "updated_at": "2022-01-04T23:50:03+01:00", "name": "lint", "path": ".github/workflows/black.yml", "contents": "name: lint\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main and develop branches\n  push:\n    branches:\n      - main\n      - develop\n  pull_request:\n    branches:\n      - main\n      - develop\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: psf/black@stable\n", "state": "active", "repository": "blue-marble/gridpath"}
{"mined_at": "2024-07-15T15:58:51.084329", "created_at": "2022-01-04T21:20:44+01:00", "updated_at": "2022-06-03T23:30:12+02:00", "name": "test-suite", "path": ".github/workflows/test_gridpath.yml", "contents": "# This the main GridPath CI workflow\n# It installs Cbc and Python dependencies, runs the GridPath test suite with coverage,\n# and sends coverage results to coveralls\n\nname: test-suite\n\non:\n  push:\n    branches: [ main, develop ]\n  pull_request:\n    branches: [ main, develop ]\n  schedule:\n    - cron: \"0 17 * * *\"\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.9\", \"3.10\", \"3.11\" ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Cbc and check version\n      run: |\n        sudo apt-get install coinor-cbc\n        sudo apt-get install -y apt-show-versions\n        apt-show-versions coinor-cbc\n    - name: Install Python dependencies\n      run: |\n        python -m pip install .[coverage] --upgrade pip\n    - name: Test GridPath with coverage\n      run: |\n        coverage run -m unittest discover tests\n    - name: Send coverage results to Coveralls\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        coveralls --service=github\n", "state": "active", "repository": "blue-marble/gridpath"}
{"mined_at": "2024-07-15T15:58:52.089587", "created_at": "2023-12-14T19:30:44+01:00", "updated_at": "2023-12-14T19:30:44+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "blue-marble/gridpath"}
{"mined_at": "2024-07-15T15:58:54.092790", "created_at": "2021-02-12T15:38:29+01:00", "updated_at": "2021-02-12T15:38:29+01:00", "name": "Build RPM packages", "path": ".github/workflows/build.yml", "contents": "---\nname: Build RPM packages\n\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  build_packages:\n    strategy:\n      matrix:\n        build_type:\n          - auto\n          - manual\n        version:\n          - 9\n          - 8\n          - 7\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup Python environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Python dependencies\n        run: |\n          pip install -r requirements.txt\n\n      - name: Build packages\n        run: make ${{ matrix.build_type }}${{ matrix.version }}\n\n      - name: Cache built packages\n        uses: actions/cache@v3\n        id: restore-build\n        with:\n          path: _dist${{ matrix.version }}/*\n          key: ${{ github.sha }}-${{ matrix.build_type }}${{ matrix.version }}\n\n  publish_packages:\n    needs: build_packages\n    if: github.ref == 'refs/heads/master' && github.repository == 'lest/prometheus-rpm'\n    strategy:\n      matrix:\n        version:\n          - 9\n          - 8\n          - 7\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup Ruby environment\n        uses: ruby/setup-ruby@v1\n        with:\n          ruby-version: 2.7\n\n      - name: Install PackageCloud CLI\n        run: gem install package_cloud\n\n      - name: Create GPG key secret\n        if: env.RPM_GPG_KEY_SECRET != null\n        run: openssl aes-256-cbc -k \"${RPM_GPG_KEY_SECRET}\" -in secret.asc.enc -out secret.asc -d -md md5\n        env:\n          RPM_GPG_KEY_SECRET: ${{ secrets.RPM_GPG_KEY_SECRET }}\n\n      - name: Save GPG key passphrase\n        if: env.RPM_GPG_KEY_PASSPHRASE != null\n        run: echo \"${RPM_GPG_KEY_PASSPHRASE}\" > .passphrase\n        env:\n          RPM_GPG_KEY_PASSPHRASE: ${{ secrets.RPM_GPG_KEY_PASSPHRASE }}\n\n      - name: Restore auto RPM package cache\n        uses: actions/cache@v3\n        with:\n          path: _dist${{ matrix.version }}/*\n          key: ${{ github.sha }}-auto${{ matrix.version }}\n\n      - name: Restore manual RPM package cache\n        uses: actions/cache@v3\n        with:\n          path: _dist${{ matrix.version }}/*\n          key: ${{ github.sha }}-manual${{ matrix.version }}\n\n      - name: Publish\n        run: make publish${{ matrix.version }}\n        env:\n          PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}\n", "state": "active", "repository": "lest/prometheus-rpm"}
{"mined_at": "2024-07-15T15:58:55.163456", "created_at": "2021-03-05T19:52:52+01:00", "updated_at": "2021-03-05T19:52:52+01:00", "name": "Check new exporter releases", "path": ".github/workflows/check_new_versions.yml", "contents": "---\nname: Check new exporter releases\n\non:\n  schedule:\n    - cron: \"15 8,16 * * *\"\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  check_new_releases:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup python environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Python dependencies\n        run: pip install ruamel.yaml PyGithub packaging\n\n      - name: Run script to update auto package versions\n        run: python update_templating_versions.py\n        env:\n          GH_TOKEN: ${{ secrets.GH_TOKEN }}\n", "state": "active", "repository": "lest/prometheus-rpm"}
{"mined_at": "2024-07-15T15:58:56.290792", "created_at": "2020-08-21T11:50:22+02:00", "updated_at": "2020-08-21T11:50:22+02:00", "name": "Lint Code Base", "path": ".github/workflows/linter.yml", "contents": "---\n###########################\n###########################\n## Linter GitHub Actions ##\n###########################\n###########################\nname: Lint Code Base\n\n#\n# Documentation:\n# https://help.github.com/en/articles/workflow-syntax-for-github-actions\n#\n\n#############################\n# Start the job on all push #\n#############################\non:\n  push:\n  pull_request:\n    branches: [master]\n\n###############\n# Set the Job #\n###############\njobs:\n  build:\n    # Name the Job\n    name: Lint Code Base\n    # Set the agent to run on\n    runs-on: ubuntu-latest\n\n    ##################\n    # Load all steps #\n    ##################\n    steps:\n      ##########################\n      # Checkout the code base #\n      ##########################\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          # Full git history is needed to get a proper list of changed files within `super-linter`\n          fetch-depth: 0\n\n      ################################\n      # Run Linter against code base #\n      ################################\n      - name: Lint Code Base\n        uses: github/super-linter/slim@v4\n        env:\n          VALIDATE_ALL_CODEBASE: false\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VALIDATE_ANSIBLE: false\n          VALIDATE_PYTHON_PYLINT: false\n", "state": "active", "repository": "lest/prometheus-rpm"}
{"mined_at": "2024-07-15T15:58:58.544679", "created_at": "2021-03-25T22:46:08+01:00", "updated_at": "2021-03-25T22:47:30+01:00", "name": "Quality Check", "path": ".github/workflows/quality.yml", "contents": "name: Quality Check\n\non: [pull_request]\n\njobs:\n  quality:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3.1.0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v3\n      with:\n        python-version: 3.8\n    - name: Install Python dependencies\n      run: pip install -e .[quality]\n    - name: Run Quality check\n      run: make quality\n    - name: Check if failure\n      if: ${{ failure() }}\n      run: |\n        echo \"Quality check failed. Please ensure the right dependency versions are installed with 'pip install -e .[quality]' and rerun 'make style; make quality;'\" >> $GITHUB_STEP_SUMMARY\n\n", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:58:59.562251", "created_at": "2021-03-25T22:46:08+01:00", "updated_at": "2024-02-29T00:46:48+01:00", "name": "Run Tests", "path": ".github/workflows/test.yml", "contents": "name: Run Tests\n\non:\n  pull_request:\n    paths:\n      - \"src/**\"\n      - \"tests/**\"\n      - \".github/**\"\n      - \"examples/**\"\n      - \"setup.py\"\n    types: [opened, synchronize, reopened]\n\nenv:\n  HF_HOME: ~/hf_cache\n  TESTING_MOCKED_DATALOADERS: \"1\"\n  IS_GITHUB_CI: \"1\"\n\njobs:\n  run-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        pytorch-version: [\n          latest,\n          minimum,\n        ]\n        test-kind: [\n          test_prod,\n          test_core,\n          test_cli,\n          test_big_modeling,\n          test_deepspeed,\n          test_fsdp,\n          test_example_differences,\n          test_checkpoint_step,\n          test_checkpoint_epoch,\n          test_rest\n        ]\n    steps:\n    - uses: actions/checkout@v3.1.0\n    - name: Set up python 3.8\n      uses: actions/setup-python@v3\n      with:\n        python-version: 3.8\n    \n    - name: Install the library\n      run: |\n        if [[ ${{ matrix.test-kind }} = test_prod ]]; then pip install -e .[test_prod]; fi\n        if [[ ${{ matrix.test-kind }} != test_prod ]]; then pip install -e .[testing,test_trackers]; fi\n        if [[ ${{ matrix.test-kind }} = test_rest ]]; then pip uninstall comet_ml -y; fi\n        if [[ ${{ matrix.test-kind }} = minimum ]]; then pip install torch==1.10.0; fi\n        pip install pytest-reportlog tabulate setuptools\n\n    - name: Show installed libraries\n      run: |\n        pip freeze\n    \n    - name: Run Tests\n      env: \n        PYTORCH_VERSION: ${{ matrix.pytorch-version }}\n      run: |\n        make ${{ matrix.test-kind }}\n\n    - name: Generate Report\n      if: always()\n      run: |\n        python utils/log_reports.py >> $GITHUB_STEP_SUMMARY", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:00.594457", "created_at": "2022-03-10T17:13:42+01:00", "updated_at": "2022-03-10T17:13:42+01:00", "name": "Build documentation", "path": ".github/workflows/build_documentation.yml", "contents": "name: Build documentation\n\non:\n  push:\n    branches:\n      - main\n      - doc-builder*\n      - v*-release\n\njobs:\n   build:\n    uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main\n    with:\n      commit_sha: ${{ github.sha }}\n      package: accelerate\n      custom_container: huggingface/transformers-doc-builder\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:01.818457", "created_at": "2022-03-11T19:39:21+01:00", "updated_at": "2023-05-11T04:25:47+02:00", "name": "Build PR Documentation", "path": ".github/workflows/build_pr_documentation.yml", "contents": "name: Build PR Documentation\n\non:\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main\n    with:\n      commit_sha: ${{ github.event.pull_request.head.sha }}\n      pr_number: ${{ github.event.number }}\n      package: accelerate\n      custom_container: huggingface/transformers-doc-builder\n", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:02.934593", "created_at": "2022-05-23T23:10:15+02:00", "updated_at": "2022-05-23T23:10:15+02:00", "name": "Stale Bot", "path": ".github/workflows/stale.yml", "contents": "name: Stale Bot\n\non:\n  schedule:\n    - cron: \"0 15 * * *\"\n  workflow_dispatch:\n\njobs:\n  close_stale_issues:\n    name: Close Stale Issues\n    if: github.repository == 'huggingface/accelerate'\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n    - uses: actions/checkout@v3.1.0\n    \n    - name: Setup Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: 3.8\n    \n    - name: Install requirements\n      run: |\n        pip install PyGithub\n    - name: Close stale issues\n      run: |\n        python utils/stale.py", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:04.176831", "created_at": "2022-05-25T20:36:16+02:00", "updated_at": "2023-06-22T04:24:12+02:00", "name": "Self-hosted runner with slow tests (scheduled)", "path": ".github/workflows/nightly.yml", "contents": "name: Self-hosted runner with slow tests (scheduled)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 2 * * *\"\n\nenv:\n  RUN_SLOW: \"yes\"\n  IS_GITHUB_CI: \"1\"\n  SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }}\n\n\njobs:\n  run_core_tests_single_gpu:\n    runs-on: [self-hosted, single-gpu, nvidia-gpu, t4, ci]\n    env:\n      CUDA_VISIBLE_DEVICES: \"0\"\n      TEST_TYPE: \"single_gpu\"\n    container:\n      image: huggingface/accelerate:gpu-nightly\n      options: --gpus all --shm-size \"16gb\"\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Update clone & pip install\n        run: |\n          source activate accelerate\n          git clone https://github.com/huggingface/accelerate;\n          cd accelerate;\n          git checkout ${{ github.sha }};\n          pip install -e . --no-deps\n          pip install pytest-reportlog tabulate\n\n      - name: Show installed libraries\n        run: |\n          source activate accelerate;\n          pip freeze\n\n      - name: Run test on GPUs\n        working-directory: accelerate\n        run: |\n          source activate accelerate\n          make test\n          \n      - name: Run examples on GPUs\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate\n          pip uninstall comet_ml -y\n          make test_examples\n          \n      - name: Generate Report\n        working-directory: accelerate\n        if: always()\n        run: |\n          pip install slack_sdk tabulate\n          python utils/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  run_deepspeed_tests_single_gpu:\n    runs-on: [self-hosted, single-gpu, nvidia-gpu, t4, ci]\n    env:\n      CUDA_VISIBLE_DEVICES: \"0\"\n      TEST_TYPE: \"single_gpu_deepspeed\"\n    container:\n      image: huggingface/accelerate:gpu-deepspeed-nightly\n      options: --gpus all --shm-size \"16gb\"\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Update clone & pip install\n        run: |\n          source activate accelerate\n          git clone https://github.com/huggingface/accelerate;\n          cd accelerate;\n          git checkout ${{ github.sha }};\n          pip install -e . --no-deps\n          pip install pytest-reportlog tabulate\n\n      - name: Show installed libraries\n        run: |\n          source activate accelerate;\n          pip freeze\n\n      - name: Run test on GPUs\n        working-directory: accelerate\n        run: |\n          source activate accelerate\n          make test_deepspeed\n\n      - name: Run Integration tests on GPUs\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate\n          make test_integrations\n\n      - name: Run examples on GPUs\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate\n          pip uninstall comet_ml -y\n          make test_examples\n          \n      - name: Generate Report\n        working-directory: accelerate\n        if: always()\n        run: |\n          pip install slack_sdk tabulate\n          python utils/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  run_core_tests_multi_gpu:\n    runs-on: [self-hosted, multi-gpu, nvidia-gpu, t4, ci]\n    env:\n      CUDA_VISIBLE_DEVICES: \"0,1\"\n      TEST_TYPE: \"multi_gpu\"\n    container:\n      image: huggingface/accelerate:gpu-nightly\n      options: --gpus all --shm-size \"16gb\"\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Update clone\n        run: |\n          source activate accelerate\n          git clone https://github.com/huggingface/accelerate;\n          cd accelerate;\n          git checkout ${{ github.sha }};\n          pip install -e . --no-deps\n          pip install pytest-reportlog tabulate\n\n      - name: Show installed libraries\n        run: |\n          source activate accelerate;\n          pip freeze\n\n      - name: Run core and big modeling tests on GPUs\n        working-directory: accelerate\n        run: |\n          source activate accelerate\n          make test_core\n          make test_big_modeling\n          make test_cli\n\n      - name: Run Integration tests on GPUs\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate\n          make test_integrations\n\n      - name: Run examples on GPUs\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate\n          pip uninstall comet_ml -y\n          make test_examples\n\n      - name: Generate Report\n        working-directory: accelerate\n        if: always()\n        run: |\n          pip install slack_sdk tabulate\n          python utils/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  run_deepspeed_tests_multi_gpu:\n    runs-on: [self-hosted, multi-gpu, nvidia-gpu, t4, ci]\n    env:\n      CUDA_VISIBLE_DEVICES: \"0,1\"\n      TEST_TYPE: \"multi_gpu_deepspeed\"\n    container:\n      image: huggingface/accelerate:gpu-deepspeed-nightly\n      options: --gpus all --shm-size \"16gb\"\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Update clone\n        run: |\n          source activate accelerate\n          git clone https://github.com/huggingface/accelerate;\n          cd accelerate;\n          git checkout ${{ github.sha }};\n          pip install -e . --no-deps\n          pip install pytest-reportlog tabulate\n\n      - name: Show installed libraries\n        run: |\n          source activate accelerate;\n          pip freeze\n\n      - name: Run DeepSpeed tests\n        working-directory: accelerate\n        run: |\n          source activate accelerate\n          make test_deepspeed\n\n      - name: Run Integration tests on GPUs\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate\n          make test_integrations\n\n      - name: Run examples on GPUs\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate\n          pip uninstall comet_ml -y\n          make test_examples\n\n      - name: Generate Report\n        working-directory: accelerate\n        if: always()\n        run: |\n          pip install slack_sdk tabulate\n          python utils/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  \n  run-integration-tests:\n    if: always()\n    uses: ./.github/workflows/self_hosted_integration_tests.yml", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:05.402910", "created_at": "2022-08-08T19:09:34+02:00", "updated_at": "2023-06-21T20:00:52+02:00", "name": "Trigger docker images and run tests", "path": ".github/workflows/build_and_run_tests.yml", "contents": "name: Trigger docker images and run tests\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n  check-for-source:\n    runs-on: ubuntu-latest\n    name: Check if setup was changed\n    outputs:\n      changed: ${{ steps.was_changed.outputs.changed }}\n    steps:\n      - uses: actions/checkout@v3.1.0\n        with: \n          fetch-depth: \"2\"\n      \n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v41\n      \n      - name: Was setup changed \n        id: was_changed\n        run: |\n          for file in ${{ steps.changed-files.outputs.all_changed_files }}; do\n            if [ `basename \"${file}\"` == \"setup.py\" ]; then\n              echo \"changed=1\" >> $GITHUB_OUTPUT\n            fi\n          done\n          \n  build-docker-containers:\n    needs: check-for-source\n    if: (github.event_name == 'push') && (needs.check-for-source.outputs.changed == '1')\n    uses: ./.github/workflows/build_docker_images.yml\n    secrets: inherit\n\n  run-merge-tests:\n    needs: build-docker-containers\n    if: always()\n    uses: ./.github/workflows/run_merge_tests.yml\n\n  run-integration-tests:\n    needs: build-docker-containers\n    if: always()\n    uses: ./.github/workflows/self_hosted_integration_tests.yml", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:06.430724", "created_at": "2022-09-28T12:58:03+02:00", "updated_at": "2022-09-28T12:58:03+02:00", "name": "Build Docker images (releases)", "path": ".github/workflows/build-docker-images-release.yml", "contents": "name: Build Docker images (releases)\n\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\nconcurrency:\n  group: docker-image-builds\n  cancel-in-progress: false\n\njobs:\n  get-version:\n    runs-on: ubuntu-latest\n    outputs:\n      version: ${{ steps.step1.outputs.version }}\n    steps:\n      - uses: actions/checkout@v3.1.0\n      - id: step1\n        run: echo \"version=$(python setup.py --version)\" >> $GITHUB_OUTPUT\n\n  version-cpu:\n    name: \"Latest Accelerate CPU [version]\"\n    runs-on: [self-hosted, intel-cpu, 8-cpu, ci]\n    needs: get-version\n    steps:\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Build and Push CPU\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/accelerate-cpu/Dockerfile\n          push: true\n          tags: huggingface/accelerate:cpu-release-${{ needs.get-version.outputs.version }}\n\n  version-cuda:\n    name: \"Latest Accelerate GPU [version]\"\n    runs-on: [self-hosted, single-gpu, nvidia-gpu, t4, ci]\n    needs: get-version\n    steps:\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Build and Push GPU\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/accelerate-gpu/Dockerfile\n          push: true\n          tags: huggingface/accelerate:gpu-release-${{needs.get-version.outputs.version}}\n\n  version-cuda-deepspeed:\n    name: \"Latest Accelerate GPU DeepSpeed [version]\"\n    runs-on: [self-hosted, single-gpu, nvidia-gpu, t4, ci]\n    needs: get-version\n    steps:\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Build and Push GPU\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/accelerate-gpu-deepspeed/Dockerfile\n          push: true\n          tags: huggingface/accelerate:gpu-deepspeed-release-${{needs.get-version.outputs.version}}\n\n", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:07.440553", "created_at": "2022-09-28T17:53:16+02:00", "updated_at": "2024-03-14T19:07:08+01:00", "name": "Build Docker images (scheduled)", "path": ".github/workflows/build_docker_images.yml", "contents": "name: Build Docker images (scheduled)\n\non:\n  workflow_dispatch:\n  workflow_call:\n  schedule:\n    - cron: \"0 1 * * *\"\n\nconcurrency:\n  group: docker-image-builds\n  cancel-in-progress: false\n\njobs:\n  latest-cpu:\n    name: \"Latest Accelerate CPU [dev]\"\n    runs-on: [self-hosted, intel-cpu, 8-cpu, ci]\n    steps:\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      - name: Get current date\n        id: date\n        run: |\n          echo \"date=$(date '+%Y-%m-%d')\" >> $GITHUB_ENV\n      - name: Build and Push CPU\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/accelerate-cpu/Dockerfile          \n          push: true\n          tags: |\n            huggingface/accelerate:cpu-nightly\n            huggingface/accelerate:cpu-nightly-${{ env.date }}\n\n  latest-cuda:\n    name: \"Latest Accelerate GPU [dev]\"\n    runs-on: [self-hosted, nvidia-gpu, t4, ci]\n    steps:\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      - name: Get current date\n        id: date\n        run: |\n          echo \"date=$(date '+%Y-%m-%d')\" >> $GITHUB_ENV\n      - name: Build and Push GPU\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/accelerate-gpu/Dockerfile          \n          push: true\n          tags: |\n            huggingface/accelerate:gpu-nightly\n            huggingface/accelerate:gpu-nightly-${{ env.date }}\n\n  latest-cuda-deepspeed:\n    name: \"Latest Accelerate GPU DeepSpeed [dev]\"\n    runs-on: [self-hosted, nvidia-gpu, t4, ci]\n    steps:\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      - name: Get current date\n        id: date\n        run: |\n          echo \"date=$(date '+%Y-%m-%d')\" >> $GITHUB_ENV\n      - name: Build and Push GPU\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/accelerate-gpu-deepspeed/Dockerfile          \n          push: true\n          tags: |\n            huggingface/accelerate:gpu-deepspeed-nightly\n            huggingface/accelerate:gpu-deepspeed-nightly-${{ env.date }}\n\n", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:08.578743", "created_at": "2022-09-28T17:53:16+02:00", "updated_at": "2022-09-28T17:53:16+02:00", "name": "Self-hosted runner tests (push to \"main\")", "path": ".github/workflows/run_merge_tests.yml", "contents": "name: Self-hosted runner tests (push to \"main\")\n\non:\n  workflow_call:\n  workflow_dispatch:\n\nenv:\n  TESTING_MOCKED_DATALOADERS: \"1\"\n  IS_GITHUB_CI: \"1\"\n\njobs:\n  run_core_tests_single_gpu:\n    runs-on: [self-hosted, single-gpu, nvidia-gpu, t4, ci]\n    env:\n      CUDA_VISIBLE_DEVICES: \"0\"\n    container:\n      image: huggingface/accelerate:gpu-nightly\n      options: --gpus all --shm-size \"16gb\"\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Install accelerate\n        run: |\n          source activate accelerate;\n          git clone https://github.com/huggingface/accelerate;\n          cd accelerate;\n          git checkout ${{ github.sha }};\n          pip install -e .[testing,test_trackers] -U;\n          pip install pytest-reportlog tabulate  ;\n\n      - name: Show installed libraries\n        run: |\n          source activate accelerate;\n          pip freeze\n\n      - name: Run CLI tests (use make cli)\n        working-directory: accelerate\n        run: |\n          source activate accelerate;\n          make test_cli\n          \n      - name: Run test on GPUs\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate;\n          make test\n      - name: Run examples on GPUs\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate;\n          pip uninstall comet_ml -y;\n          make test_examples\n\n      - name: Generate Report\n        working-directory: accelerate\n        if: always()\n        run: |\n          pip install tabulate;\n          python utils/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  run_deepspeed_tests_single_gpu:\n    runs-on: [self-hosted, single-gpu, nvidia-gpu, t4, ci]\n    env:\n      CUDA_VISIBLE_DEVICES: \"0\"\n    container:\n      image: huggingface/accelerate:gpu-deepspeed-nightly\n      options: --gpus all --shm-size \"16gb\"\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Install accelerate\n        run: |\n          source activate accelerate;\n          git clone https://github.com/huggingface/accelerate;\n          cd accelerate;\n          git checkout ${{ github.sha }};\n          pip install -e .[testing,test_trackers] -U;\n          pip install pytest-reportlog tabulate  ;\n\n      - name: Show installed libraries\n        run: |\n          source activate accelerate;\n          pip freeze\n          \n      - name: Run test on GPUs\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate;\n          make test_deepspeed\n\n      - name: Generate Report\n        working-directory: accelerate\n        if: always()\n        run: |\n          pip install tabulate;\n          python utils/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  run_core_tests_multi_gpu:\n    runs-on: [self-hosted, multi-gpu, nvidia-gpu, t4, ci]\n    env:\n      CUDA_VISIBLE_DEVICES: 0,1\n    container:\n      image: huggingface/accelerate:gpu-nightly\n      options: --gpus all --shm-size \"16gb\"\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Update clone\n        run: |\n          source activate accelerate;\n          git clone https://github.com/huggingface/accelerate;\n          cd accelerate;\n          git checkout ${{ github.sha }};\n          pip install -e .[testing,test_trackers] -U;\n          pip install pytest-reportlog tabulate\n\n      - name: Show installed libraries\n        run: |\n          source activate accelerate;\n          pip freeze\n\n      - name: Run test on GPUs\n        working-directory: accelerate\n        run: |\n          source activate accelerate;\n          make test\n\n      - name: Run examples on GPUs\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate;\n          pip uninstall comet_ml -y;\n          make test_examples\n\n      - name: Generate Report\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate;\n          python utils/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  run_deepspeed_tests_multi_gpu:\n    runs-on: [self-hosted, multi-gpu, nvidia-gpu, t4, ci]\n    container:\n      image: huggingface/accelerate:gpu-deepspeed-nightly\n      options: --gpus all --shm-size \"16gb\"\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Install accelerate\n        run: |\n          source activate accelerate;\n          git clone https://github.com/huggingface/accelerate;\n          cd accelerate;\n          git checkout ${{ github.sha }};\n          pip install -e .[testing,test_trackers] -U;\n          pip install pytest-reportlog tabulate  ;\n\n      - name: Show installed libraries\n        run: |\n          source activate accelerate;\n          pip freeze\n\n      - name: Run test on GPUs\n        working-directory: accelerate\n        if: always()\n        run: |\n          source activate accelerate;\n          make test_deepspeed\n\n      - name: Generate Report\n        working-directory: accelerate\n        if: always()\n        run: |\n          pip install tabulate;\n          python utils/log_reports.py >> $GITHUB_STEP_SUMMARY", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:09.593054", "created_at": "2023-02-06T17:26:11+01:00", "updated_at": "2023-02-06T17:26:11+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:10.682791", "created_at": "2023-06-07T18:56:43+02:00", "updated_at": "2024-02-29T14:52:11+01:00", "name": "Upload PR Documentation", "path": ".github/workflows/upload_pr_documentation.yml", "contents": "name: Upload PR Documentation\n\non:\n  workflow_run:\n    workflows: [\"Build PR Documentation\"]\n    types:\n      - completed\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main\n    with:\n      package_name: accelerate\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n      comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:11.857267", "created_at": "2023-06-14T16:30:52+02:00", "updated_at": "2023-06-21T22:04:58+02:00", "name": "Integration Tests (push to \"main\")", "path": ".github/workflows/self_hosted_integration_tests.yml", "contents": "# CI for specifically ensuring integrations work fine (`transformers` mainly) on GPUs\n# Useful tips:\n#  - `working-directory` should be set to the root of the repo, which is cloned on the actual CI runner.\n#    It follows the directory structure of `actions-runner/_work/{repo_name}/{repo_name}/{cloned_repo} on \n#    prem, but in Actions setting `working-directory` looks just in the `{repo_name}` level.\n#  - New integrations to test should have its own job, and follow a strategy method where we check both\n#    the pypi and github versions.\n#  - Workflow call lets this be called from `build_and_run_tests.yml`\n#  - When using a docker container, it's recommended to set `--shm-size`, we use 16gb.\nname: Integration Tests (push to \"main\")\n\non:\n  workflow_call:\n  workflow_dispatch:\n\nenv:\n  HF_HOME: ~/hf_cache\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  run-trainer-tests:\n    container:\n      image: huggingface/accelerate:gpu-deepspeed-nightly\n      options: --gpus all --shm-size \"16gb\"\n    runs-on: [self-hosted, multi-gpu, nvidia-gpu, t4, ci]\n    strategy:\n      fail-fast: false\n      matrix:\n        cuda_visible_devices: [\n          \"0\", \n          \"0,1\"\n        ]\n    steps:\n      - name: Install transformers\n        run: |\n          source activate accelerate;\n          git clone https://github.com/huggingface/transformers --depth 1;\n          cd transformers;\n          pip install .[torch,deepspeed-testing];\n          cd ..;\n\n      - name: Install accelerate\n        run: |\n          source activate accelerate;\n          git clone https://github.com/huggingface/accelerate;\n          cd accelerate;\n          git checkout ${{ github.sha }} ;\n          pip install -e .[testing];\n          pip uninstall comet_ml wandb dvclive -y\n          cd ..;\n      \n      - name: Show installed libraries\n        run: |\n          source activate accelerate;\n          pip freeze\n\n      - name: Run trainer tests\n        working-directory: transformers/\n        env:\n          CUDA_VISIBLE_DEVICES: ${{ matrix.cuda_visible_devices }}\n          WANDB_DISABLED: true\n        run: |\n          source activate accelerate;\n          pytest -sv tests/trainer\n\n      - name: Run deepspeed tests\n        working-directory: transformers/\n        env:\n          CUDA_VISIBLE_DEVICES: ${{ matrix.cuda_visible_devices }}\n          WANDB_DISABLED: true\n        if: always()\n        run: |\n          source activate accelerate;\n          pytest -sv tests/deepspeed\n\n      - name: Run transformers examples tests\n        working-directory: transformers/\n        env:\n          CUDA_VISIBLE_DEVICES: ${{ matrix.cuda_visible_devices }}\n          WANDB_DISABLED: true\n        run: |\n          source activate accelerate\n          pip install -r examples/pytorch/_tests_requirements.txt\n          pytest -sv examples/pytorch/test_accelerate_examples.py examples/pytorch/test_pytorch_examples.py\n\n  run-skorch-tests:\n    container:\n      image: huggingface/accelerate:gpu-nightly\n      options: --gpus all --shm-size \"16gb\"\n    runs-on: [self-hosted, multi-gpu, nvidia-gpu, t4, ci]\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Install accelerate\n        run: \n          source activate accelerate;\n          git clone https://github.com/huggingface/accelerate;\n          cd accelerate;\n          git checkout ${{ github.sha }};\n          pip install -e .[testing];\n          cd ..\n\n      - name: Install skorch\n        run: |\n          source activate accelerate\n          git clone https://github.com/skorch-dev/skorch;\n          cd skorch;\n          git config --global --add safe.directory '*'\n          git checkout master && git pull\n          pip install .[testing]\n          pip install flaky\n\n      - name: Show installed libraries\n        run: |\n          source activate accelerate;\n          pip freeze\n\n      - name: Run skorch tests\n        working-directory: skorch/\n        run: |\n          source activate accelerate;\n          pytest -sv -k TestAccelerate", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:12.882590", "created_at": "2023-06-14T16:36:52+02:00", "updated_at": "2023-06-27T14:48:31+02:00", "name": "Integration Tests", "path": ".github/workflows/integration_tests.yml", "contents": "# CI for specifically ensuring integrations work fine (`transformers` mainly)\n# Useful tips:\n#  - New integrations to test should have its own job, and follow a strategy method where we check both\n#    the pypi and github versions.\n#  - When checking the latest release of the integration, use\n#    git checkout $(git describe --tags `git rev-list --tags --max-count=1`) to get the latest release.\n\nname: Integration Tests\n\non:\n  pull_request:\n    paths:\n      - \"src/**\"\n      - \"tests/**\"\n      - \".github/**\"\n      - \"examples/**\"\n      - \"setup.py\"\n    types: [opened, synchronize, reopened]\n\nenv:\n  HF_HOME: ~/hf_cache\n\njobs:\n  run-trainer-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n    - uses: actions/checkout@v3.1.0\n    - name: Set up python 3.8\n      uses: actions/setup-python@v3\n      with:\n        python-version: 3.8\n\n    - name: Install Accelerate from source\n      run: |\n        pip install --upgrade pip\n        pip install -e .\n    \n    - name: Clone and install transformers\n      run: |\n        cd ..\n        git clone https://github.com/huggingface/transformers\n        cd transformers\n        pip install .[torch,testing]\n\n    - name: Show installed libraries\n      run: |\n        pip freeze\n\n    - name: Run Trainer tests\n      env:\n        WANDB_DISABLED: true\n      run: |\n        cd ../transformers\n        pytest -sv tests/trainer\n", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:13.892033", "created_at": "2024-06-07T17:50:59+02:00", "updated_at": "2024-06-07T18:29:15+02:00", "name": "Secret Leaks", "path": ".github/workflows/trufflehog.yml", "contents": "on:\n  push:\n\nname: Secret Leaks\n\njobs:\n  trufflehog:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Secret Scanning\n      uses: trufflesecurity/trufflehog@main\n", "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:15.018745", "created_at": "2024-06-11T16:08:12+02:00", "updated_at": "2024-07-02T00:50:19+02:00", "name": "Run Import Tests", "path": ".github/workflows/test_imports.yml", "contents": null, "state": "active", "repository": "huggingface/accelerate"}
{"mined_at": "2024-07-15T15:59:17.180049", "created_at": "2020-10-28T05:50:11+01:00", "updated_at": "2020-10-28T05:50:11+01:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Docker Image CI\n\non:\n  push:\n    branches: [ master ]\n    path:\n      - 'dev/services/wms/**'\n      - 'prod/services/wms/**'\n  release:\n    types: [created, edited, published]\n\n\npermissions:\n  id-token: write   # This is required for requesting the JWT\n  contents: read    # This is required for actions/checkout\n\nenv:\n  IMAGE_NAME: geoscienceaustralia/dea-datakube-config\n\njobs:\n\n  publish_config_image:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n\n    - name: Install dependencies\n      run: python -m pip install pylint datacube-ows\n\n    - name: Run linting and tests\n      run: ./check-code.sh\n\n    # If action is triggered by a release, push image to\n    # AWS ECR using custom image tag extracted from the release\n    - name: Get current version tag from release to use as image tag\n      if: github.event_name == 'release'\n      run: |\n        echo \"RELEASE=${GITHUB_REF/refs\\/tags\\/}\" >> $GITHUB_ENV\n\n    # If action is trigged by a push (not release), push a\n    # latest/unstable image to AWS ECR using image tag based\n    # on the most recent Github tag and commit hash\n    - name: Get git commit hash for push to branch to use as image tag\n      if: github.event_name != 'release'\n      run: |\n        git fetch --prune --unshallow 2> /dev/null || true\n        echo \"RELEASE=$(git describe --tags)\" >> $GITHUB_ENV\n\n    - name: Configure AWS credentials\n      uses: aws-actions/configure-aws-credentials@v4\n      with:\n        role-to-assume: arn:aws:iam::538673716275:role/github-actions-role\n        aws-region: ap-southeast-2\n\n    - name: Push image to ECR\n      uses: whoan/docker-build-with-cache-action@master\n      with:\n        context: ./\n        registry: 538673716275.dkr.ecr.ap-southeast-2.amazonaws.com\n        image_name: ${{ env.IMAGE_NAME }}\n        image_tag: latest,${{ env.RELEASE }}\n", "state": "active", "repository": "geoscienceaustralia/dea-config"}
{"mined_at": "2024-07-15T15:59:18.408120", "created_at": "2021-09-30T03:35:46+02:00", "updated_at": "2021-10-01T04:24:09+02:00", "name": "PRODUCT DEFINITION Test", "path": ".github/workflows/odc_product_testing.yaml", "contents": "name: PRODUCT DEFINITION Test\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'products/**'\n      - '.github/workflows/odc_product_testing.yaml'\n      - 'docker-compose.productscsv.yaml'\n      - 'check-product-definitions.sh'\n\n  pull_request:\n    branches: [ master ]\n    paths:\n      - 'products/**'\n      - '.github/workflows/odc_product_testing.yaml'\n      - 'docker-compose.productscsv.yaml'\n      - 'check-product-definitions.sh'\n\njobs:\n  odc-indexing:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Run product definition testing\n      run: |\n        docker-compose -f docker-compose.productscsv.yaml up -d\n        docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c \"datacube system init\"\n        docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c \"cd /env/config; ./datacube_init_metadata.sh\"\n        docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c \"cd /env/config; ./check-product-definitions.sh\"\n        docker-compose -f docker-compose.productscsv.yaml down\n\n  eo3-validate:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Run eo3-validate for product\n      run: |\n        docker run -v $PWD/:/code/dea-config opendatacube/eo-datasets:latest eo3-validate \\\n          ./dea-config/product_metadata \\\n          ./dea-config/products/baseline_satellite_data \\\n          ./dea-config/products/hazards \\\n          ./dea-config/products/inland_water \\\n          ./dea-config/products/land_and_vegetation \\\n          ./dea-config/products/sea_ocean_coast\n", "state": "active", "repository": "geoscienceaustralia/dea-config"}
{"mined_at": "2024-07-15T15:59:19.695254", "created_at": "2021-06-07T06:12:56+02:00", "updated_at": "2021-06-07T07:25:15+02:00", "name": "OWS DEV CFG Test", "path": ".github/workflows/ows_cfg_testing_dev.yaml", "contents": "name: OWS DEV CFG Test\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'dev/services/wms/**'\n      - .github/workflows/ows_cfg_testing_dev.yaml\n      - 'docker/database/**'\n      - 'docker-compose.ows.yaml'\n  pull_request:\n    branches: [ master ]\n    paths:\n      - 'dev/services/wms/**'\n      - .github/workflows/ows_cfg_testing_dev.yaml\n      - 'docker/database/**'\n      - 'docker-compose.ows.yaml'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Run ows_refactored_cfg test (dev)\n      run: |\n        docker-compose -f docker-compose.ows.yaml up -d\n        docker-compose -f docker-compose.ows.yaml exec -T ows /bin/sh -c \"datacube system init\"\n        docker-compose -f docker-compose.ows.yaml exec -T ows /bin/sh -c \"cd /dea-config; ./compare-cfg.sh\"\n        docker-compose -f docker-compose.ows.yaml down\n      env:\n        OWS_CFG_PATH: dev/services/wms/ows_refactored\n        PYTHON_PATH: dev/services/wms/\n        DATACUBE_OWS_CFG: ows_refactored.ows_root_cfg.ows_cfg", "state": "active", "repository": "geoscienceaustralia/dea-config"}
{"mined_at": "2024-07-15T15:59:20.762959", "created_at": "2021-06-07T06:12:56+02:00", "updated_at": "2021-06-07T07:25:15+02:00", "name": "OWS PROD CFG Test", "path": ".github/workflows/ows_cfg_testing_prod.yaml", "contents": "name: OWS PROD CFG Test\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'prod/services/wms/**'\n      - .github/workflows/ows_cfg_testing_prod.yaml\n      - 'docker/database/**'\n      - 'docker-compose.ows.yaml'\n\n  pull_request:\n    branches: [ master ]\n    paths:\n      - 'prod/services/wms/**'\n      - .github/workflows/ows_cfg_testing_prod.yaml\n      - 'docker/database/**'\n      - 'docker-compose.ows.yaml'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Run ows_refactored_cfg test (Prod)\n      run: |\n        docker-compose -f docker-compose.ows.yaml up -d\n        docker-compose -f docker-compose.ows.yaml exec -T ows /bin/sh -c \"datacube system init\"\n        docker-compose -f docker-compose.ows.yaml exec -T ows /bin/sh -c \"cd /dea-config; ./compare-cfg.sh\"\n        docker-compose -f docker-compose.ows.yaml down\n      env:\n        OWS_CFG_PATH: prod/services/wms/ows_refactored\n        PYTHON_PATH: prod/services/wms/\n        DATACUBE_OWS_CFG: ows_refactored.ows_root_cfg.ows_cfg\n", "state": "active", "repository": "geoscienceaustralia/dea-config"}
{"mined_at": "2024-07-15T15:59:21.810709", "created_at": "2021-03-02T07:23:19+01:00", "updated_at": "2021-03-02T07:41:49+01:00", "name": "OWS CFG Lint Check", "path": ".github/workflows/ows_linting.yaml", "contents": "name: OWS CFG Lint Check\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'dev/services/wms/**'\n      - 'prod/services/wms/**'\n      - .github/workflows/ows_linting.yaml\n  pull_request:\n    branches: [ master ]\n    paths:\n      - 'dev/services/wms/**'\n      - 'prod/services/wms/**'\n      - .github/workflows/ows_linting.yaml\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n\n    - name: Run Python Linter\n      run: |\n        python -m pip install pylint datacube-ows\n        ./check-code.sh\n\n  flake8:\n    name: flake8\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - run: python -m pip install flake8\n      - name: flake8 - dev ows_cfg\n        uses: liskin/gh-problem-matcher-wrap@v3\n        with:\n          linters: flake8\n          run: |\n            flake8 dev/services/wms/ows_refactored/ --ignore=E501\n      - name: flake8 - prod ows_cfg\n        uses: liskin/gh-problem-matcher-wrap@v3\n        with:\n          linters: flake8\n          run: |\n            flake8 prod/services/wms/ows_refactored/ --ignore=E501\n\n  isort:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - run: python -m pip install isort\n      - name: isort - dev ows_cfg\n        uses: liskin/gh-problem-matcher-wrap@v3\n        with:\n          linters: isort\n          run: |\n            isort --check --diff dev/services/wms/ows_refactored/\n      - name: isort - prod ows_cfg\n        uses: liskin/gh-problem-matcher-wrap@v3\n        with:\n          linters: isort\n          run: |\n            isort --check --diff prod/services/wms/ows_refactored/\n", "state": "active", "repository": "geoscienceaustralia/dea-config"}
{"mined_at": "2024-07-15T15:59:23.015392", "created_at": "2021-03-03T02:23:22+01:00", "updated_at": "2021-03-03T02:23:22+01:00", "name": "Terria catalog Linting", "path": ".github/workflows/terria_linting.yaml", "contents": "name : Terria catalog Linting\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'dev/terria/**'\n      - 'prod/terria/**'\n      - .github/workflows/terria_linting.yaml\n  pull_request:\n    branches: [ master ]\n    paths:\n      - 'dev/terria/**'\n      - 'prod/terria/**'\n      - .github/workflows/terria_linting.yaml\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Setup Node\n      uses: actions/setup-node@v4\n\n    - name: Run tab detector for Terria Cube\n      run: |\n        if grep -Pn \"\\t\" dev/terria/*.json; then\n            echo 'Please replace tab with white spaces as per the lines indicated'\n            exit 1\n        fi\n\n    - name: Run Json Linter for Terria Cube\n      run: |\n        npm install jsonlint -g\n        cd dev/terria\n        find . -name \\*.json -exec jsonlint {} \\;\n\n    - name: Run tab detector for DEA Maps\n      run: |\n        if grep -Pn \"\\t\" prod/terria/*.json; then\n            echo 'Please replace tab with white spaces as per the lines indicated'\n            exit 1\n        fi\n\n    - name: Run Json Linter for DEA Maps\n      run: |\n        npm install jsonlint -g\n        cd prod/terria\n        find . -name \\*.json -exec jsonlint {} \\;\n", "state": "active", "repository": "geoscienceaustralia/dea-config"}
{"mined_at": "2024-07-15T15:59:24.175083", "created_at": "2023-02-14T01:17:33+01:00", "updated_at": "2023-02-20T00:08:56+01:00", "name": "Terria catalog preview", "path": ".github/workflows/terria_preview.yaml", "contents": "name: Terria catalog preview\n\non:\n  pull_request:\n    branches: [ master ]\n    paths:\n      - 'dev/terria/**'\n      - 'prod/terria/**'\n      - .github/workflows/terria_preview.yaml\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n\n    steps:\n\n      # Create a Terria URL that points to the modified Terria config \n      # directly from Github itself, and post as a comment on the PR\n      - uses: mshick/add-pr-comment@v2\n        with:\n          message: |\n            <img align=\"left\" width=\"128\" height=\"80\" src=\"https://raw.githubusercontent.com/TerriaJS/terriajs/main/terria-logo.png\" alt=\"Terria Cube\">\n\n            **Terria Cube preview:**\n            https://terria-cube.terria.io/#clean&https://raw.githubusercontent.com/GeoscienceAustralia/dea-config/${{ github.head_ref }}/dev/terria/terria-cube-v8.json\n            \n            <img align=\"left\" width=\"128\" height=\"48\" src=\"https://knowledge.dea.ga.gov.au/_images/dea-logo-inline.svg\" alt=\"DEA Maps\">\n            \n            **DEA Maps preview:**\n            https://maps.dea.ga.gov.au/#clean&https://raw.githubusercontent.com/GeoscienceAustralia/dea-config/${{ github.head_ref }}/prod/terria/dea-maps-v8.json\n", "state": "active", "repository": "geoscienceaustralia/dea-config"}
{"mined_at": "2024-07-15T15:59:25.243556", "created_at": "2021-10-13T06:51:26+02:00", "updated_at": "2021-10-15T00:46:51+02:00", "name": "WORKSPACE CSV Test (dev)", "path": ".github/workflows/workspace_dev_csv_testing.yaml", "contents": "name: WORKSPACE CSV Test (dev)\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'workspaces/dev-products.csv'\n      - '.github/workflows/workspace_dev_csv_testing.yaml'\n      - 'docker-compose.productscsv.yaml'\n      - 'check-product-csv.sh'\n\n  pull_request:\n    branches: [ master ]\n    paths:\n      - 'workspaces/dev-products.csv'\n      - '.github/workflows/workspace_dev_csv_testing.yaml'\n      - 'docker-compose.productscsv.yaml'\n      - 'check-product-csv.sh'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Run csv testing (Dev)\n      run: |\n        docker-compose -f docker-compose.productscsv.yaml up -d\n        docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c \"datacube system init\"\n        docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c \"cd /env/config; ./datacube_init_metadata.sh\"\n        docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c \"cd /env/config; ./check-product-csv.sh\"\n        docker-compose -f docker-compose.productscsv.yaml down\n      env:\n        ENV: dev\n        EXPLORER_ENDPOINT: explorer.dev.dea.ga.gov.au", "state": "active", "repository": "geoscienceaustralia/dea-config"}
{"mined_at": "2024-07-15T15:59:26.278977", "created_at": "2021-10-13T06:51:26+02:00", "updated_at": "2021-10-15T00:46:50+02:00", "name": "WORKSPACE CSV Test (prod)", "path": ".github/workflows/workspace_prod_csv_testing.yaml", "contents": "name: WORKSPACE CSV Test (prod)\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'workspaces/prod-products.csv'\n      - '.github/workflows/workspace_prod_csv_testing.yaml'\n      - 'docker-compose.productscsv.yaml'\n      - 'check-product-csv.sh'\n\n  pull_request:\n    branches: [ master ]\n    paths:\n      - 'workspaces/prod-products.csv'\n      - '.github/workflows/workspace_prod_csv_testing.yaml'\n      - 'docker-compose.productscsv.yaml'\n      - 'check-product-csv.sh'\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Run csv testing (Prod)\n      run: |\n        docker-compose -f docker-compose.productscsv.yaml up -d\n        docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c \"datacube system init\"\n        docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c \"cd /env/config; ./datacube_init_metadata.sh\"\n        docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c \"cd /env/config; ./check-product-csv.sh\"\n        docker-compose -f docker-compose.productscsv.yaml down\n      env:\n        ENV: prod\n        EXPLORER_ENDPOINT: explorer.sandbox.dea.ga.gov.au", "state": "active", "repository": "geoscienceaustralia/dea-config"}
{"mined_at": "2024-07-15T15:59:27.320171", "created_at": "2021-06-07T06:15:12+02:00", "updated_at": "2021-06-10T04:30:55+02:00", "name": "Lint YAML files", "path": ".github/workflows/yaml_linting.yaml", "contents": "name: Lint YAML files\n\non:\n  push:\n    branches: [master]\n    paths:\n      - \"products/**\"\n      - .github/workflows/yaml_linting.yaml\n  pull_request:\n    branches: [master]\n    paths:\n      - \"products/**\"\n      - .github/workflows/yaml_linting.yaml\n\njobs:\n  yamllint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Check file naming\n        run: |\n          files=$(find products/**/**/*.yml | wc -l)\n          if [ $files -gt 0 ]; then echo \"File found with .yml extension, please rename with .yaml\" && exit 1; fi\n\n      - name: 'Yamllint'\n        uses: karancode/yamllint-github-action@master\n        with:\n          yamllint_file_or_dir: products/**/**/*.yaml\n          yamllint_strict: false\n          yamllint_config_filepath: yamllint_cfg.yml\n          yamllint_comment: true\n        env:\n          GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "geoscienceaustralia/dea-config"}
{"mined_at": "2024-07-15T15:59:29.375959", "created_at": "2021-06-29T16:31:14+02:00", "updated_at": "2024-03-25T01:26:57+01:00", "name": "smoketests", "path": ".github/workflows/test-smoketests.yml", "contents": "name: smoketests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n  workflow_dispatch: # manual execution\n\njobs:\n  smoketests:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 15\n    strategy:\n      matrix:\n        os: [ ubuntu-latest, macos-13 ] # disabling windows-latest for now\n        python: [ '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Work around arm64 support on MacOS\n      # https://github.com/actions/virtual-environments/issues/2557\n      if: matrix.os == 'macos-latest'\n      run: sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install numpy\n\n    - name: Build scalene\n      run: pip -v install -e .\n\n    - name: cpu-only smoke test\n      run: python test/smoketest.py test/testme.py --cpu-only\n\n    - name: multiprocessing smoke test\n      run: python test/smoketest.py test/multiprocessing_test.py\n\n      # Note: test/smoketest.py only handles single JSON, rather than multiple in sequence.\n    - name: profile-interval smoke test\n      run: python -m scalene --cli --profile-interval=2 test/testme.py\n\n    - name: decorator smoke test\n      run: python test/smoketest_profile_decorator.py\n\n    # Note: This test doesn't need to read an output,\n    # it is meant to determine if there is an ImportError\n    # or anything related if relative imports are used.\n    - name: -m invocation smoketest\n      run: |\n        python -m pip install git+https://github.com/sternj/import_stress_test\n        python -m scalene --cli --- -m import_stress_test\n", "state": "active", "repository": "plasma-umass/scalene"}
{"mined_at": "2024-07-15T15:59:30.397030", "created_at": "2022-04-28T16:22:07+02:00", "updated_at": "2024-01-11T18:37:59+01:00", "name": "build & upload", "path": ".github/workflows/build-and-upload.yml", "contents": "# https://docs.github.com/en/actions/guides/building-and-testing-python#publishing-to-package-registries\n\n# When executed manually, this will upload a \".devNNN\" build to testpypi;\n# when executed upon a release, it will upload a regular build to pypi.\n#\n# For pypi, you need to have the PYPI_USERNAME and PYPI_PASSWORD secrets configured.\n# For testpypi, you'll need TESTPYPI_USERNAME and TESTPYPI_PASSWORD.\n\nname: build & upload\n\non:\n  release:\n    types: [ published ]\n  workflow_dispatch: # manual execution\n\njobs:\n  pick-devN:\n    name: create .devN build date coordinated across all matrix jobs\n    runs-on: ubuntu-latest\n    steps:\n      - run: TZ='America/New_York' date '+%Y%m%d%H%M' > devN.txt\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: devN\n          path: devN.txt\n\n  build-and-upload:\n    needs: pick-devN\n    strategy:\n      matrix:\n        python_version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        plat: ['manylinux2014', 'manylinux_2_28', 'macos-13', 'macos-latest', 'windows-latest']\n        include:\n          - plat: manylinux2014\n            os: ubuntu-latest\n            container: quay.io/pypa/manylinux2014_x86_64  # https://github.com/pypa/manylinux\n\n          - plat: manylinux_2_28\n            os: ubuntu-latest\n            container: quay.io/pypa/manylinux_2_28_x86_64  # https://github.com/pypa/manylinux\n\n          - plat: macos-13\n            os: macos-13\n\n          - plat: macos-latest\n            os: macos-latest\n\n          - plat: macos-latest\n            os: macos-latest\n            python_version: 3.11\n            upload_source: true   # just need ONE of them to do it\n\n          - plat: windows-latest\n            os: windows-latest\n\n        exclude:\n          - plat: windows-latest\n            python_version: 3.11\n\n    runs-on: ${{ matrix.os }}\n    container: ${{ matrix.container }}\n\n    steps:\n      - name: get coordinated .devN\n        uses: actions/download-artifact@v3\n        with:\n          name: devN\n\n      - name: make dev build if not a release (non-Windows version)\n        if: github.event_name != 'release' && matrix.os != 'windows-latest'\n        run: echo \"DEV_BUILD=$(cat devN.txt)\" >> $GITHUB_ENV  # for setup.py\n\n      - name: make dev build if not a release (Windows version)\n        if: github.event_name != 'release' && matrix.os == 'windows-latest'\n        run: (\"DEV_BUILD=\" + (get-content devN.txt)) >> $env:GITHUB_ENV  # for setup.py\n\n      # downgraded to @v3 if using container: https://github.com/actions/checkout/issues/1487\n      - uses: actions/checkout@v3\n        if: matrix.container != ''\n\n      - uses: actions/checkout@v4\n        if: matrix.container == ''\n\n      - name: Mark workspace safe for git\n        # needed for container and self-hosted runners; see https://github.com/actions/checkout/issues/766\n        if: matrix.container != ''\n        run: |\n          git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n          # setuptool's bdist uses 'git archive' to find files, and fails silently if it can't,\n          # leading to missing files in the archive.  Run it separately to force a failure in that case.\n          (cd scalene; git archive --prefix scalene/ HEAD | tar -t > /dev/null)\n  \n      - name: select Xcode version\n        # MacOS > 14.2 requires Xcode >= 15.3; otherwise loading native extension modules fails with e.g.:\n        # dlopen(/opt/homebrew/lib/python3.11/site-packages/slipcover/probe.abi3.so, 0x0002): bad bind opcode 0x00 \n        if: startsWith(matrix.os, 'macos-')\n        run: |\n          if [ -d /Applications/Xcode_15.3.app/Contents/Developer ]; then sudo xcode-select --switch /Applications/Xcode_15.3.app/Contents/Developer; fi\n          clang++ --version\n          g++ --version\n\n      - name: Set up python (script version)\n        if: matrix.container == ''\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n  \n      - name: Set up python (container version)\n        if: matrix.container != ''\n        run: |\n          PYV=`echo \"${{ matrix.python_version }}\" | tr -d \".\"`; ls -d -1 /opt/python/cp$PYV*/bin | head -n 1 >> $GITHUB_PATH\n          cat $GITHUB_PATH\n  \n      - name: Install dependencies\n        run: |\n          pip3 install --upgrade setuptools wheel twine build virtualenv\n  \n      - name: Work around arm64 support on MacOS\n        # https://github.com/actions/virtual-environments/issues/2557\n        if: matrix.os == 'macos-latest'\n        run: sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*\n\n      - name: Build source dist\n        if: matrix.upload_source\n        run: make sdist\n  \n      - name: Build binary dist\n        # Invoking with \"bash -c\" works around the \"bash.exe: ... could not find /tmp\" issue on Windows.\n        # The issue is somehow related to git providing a sh.exe (the \"git shell\")\n        # See eg https://help.appveyor.com/discussions/problems/1531-having-issues-with-configured-git-bash\n        run: bash -c \"make bdist\"\n\n      - name: Check that all required platforms are included\n        if: matrix.os == 'macos-latest'\n        run: |\n          for P in x86_64 arm64 arm64e; do\n            for F in build/lib.*/scalene/*.so ; do\n              file $F | grep -q \"\\\\b$P\\\\b\"\n              if [ $? != 0 ]; then\n                echo \"$P missing\"\n                exit 1\n              fi\n            done\n          done\n  \n      - name: Non-release (dev) upload\n        if: github.event_name != 'release'\n        env:\n          TWINE_REPOSITORY: testpypi\n          TWINE_USERNAME: ${{ secrets.TESTPYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TESTPYPI_PASSWORD }}\n        run: twine upload --verbose dist/*\n\n      - name: Release upload\n        if: github.event_name == 'release'\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: twine upload --verbose dist/*\n", "state": "active", "repository": "plasma-umass/scalene"}
{"mined_at": "2024-07-15T15:59:31.515010", "created_at": "2022-11-11T02:23:40+01:00", "updated_at": "2022-11-12T00:52:46+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"28 9 * * 3\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ cpp, python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n        if: ${{ matrix.language == 'cpp' || matrix.language == 'python' }}\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "plasma-umass/scalene"}
{"mined_at": "2024-07-15T15:59:32.744032", "created_at": "2024-03-25T01:26:57+01:00", "updated_at": "2024-03-25T01:26:57+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    branches: [ master ]\n\n  pull_request:\n    branches: [ master ]\n\n  workflow_dispatch:\n\n\njobs:\n  run-tests:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 15\n    strategy:\n      matrix:\n        os: [ ubuntu-latest, macos-13 ]\n        python: [ '3.9', '3.10', '3.11', '3.12' ]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: select Xcode version\n      # MacOS > 14.2 requires Xcode >= 15.3; otherwise loading native extension modules fails with e.g.:\n      # dlopen(/opt/homebrew/lib/python3.11/site-packages/slipcover/probe.abi3.so, 0x0002): bad bind opcode 0x00 \n      if: startsWith(matrix.os, 'macos-')\n      run: |\n        if [ -d /Applications/Xcode_15.3.app/Contents/Developer ]; then sudo xcode-select --switch /Applications/Xcode_15.3.app/Contents/Developer; fi\n        clang++ --version\n        g++ --version\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Work around arm64 support on MacOS\n      # https://github.com/actions/virtual-environments/issues/2557\n      if: matrix.os == 'macos-latest'\n      run: sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install numpy\n\n    - name: Build scalene\n      run: pip -v install -e .\n\n    - name: install test dependencies\n      run: |\n        python3 -m pip install pytest pytest-asyncio hypothesis\n        python3 -m pip install .\n\n    - name: run tests\n      run: |\n        python3 -m pytest\n", "state": "active", "repository": "plasma-umass/scalene"}
{"mined_at": "2024-07-15T15:59:34.818790", "created_at": "2022-05-30T11:41:27+02:00", "updated_at": "2022-05-30T19:20:11+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '38 19 * * 1'\n    \npermissions: read-all\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "microsoft/presidio"}
{"mined_at": "2024-07-15T15:59:35.918347", "created_at": "2024-02-08T07:44:16+01:00", "updated_at": "2024-02-08T08:25:33+01:00", "name": "Microsoft Defender For Devops", "path": ".github/workflows/defender-for-devops.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n#\n# Microsoft Security DevOps (MSDO) is a command line application which integrates static analysis tools into the development cycle.\n# MSDO installs, configures and runs the latest versions of static analysis tools\n# (including, but not limited to, SDL/security and compliance tools).\n#\n# The Microsoft Security DevOps action is currently in beta and runs on the windows-latest queue,\n# as well as Windows self hosted agents. ubuntu-latest support coming soon.\n#\n# For more information about the action , check out https://github.com/microsoft/security-devops-action\n#\n# Please note this workflow do not integrate your GitHub Org with Microsoft Defender For DevOps. You have to create an integration\n# and provide permission before this can report data back to azure.\n# Read the official documentation here : https://learn.microsoft.com/en-us/azure/defender-for-cloud/quickstart-onboard-github\n\nname: \"Microsoft Defender For Devops\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '30 2 * * 4'\n\npermissions: read-all\n\njobs:\n  MSDO:\n    # currently only windows latest is supported\n    runs-on: windows-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-dotnet@v3\n      with:\n        dotnet-version: |\n          5.0.x\n          6.0.x\n    - name: Run Microsoft Security DevOps\n      uses: microsoft/security-devops-action@v1.6.0\n      id: msdo\n    - name: Upload results to Security tab\n      uses: github/codeql-action/upload-sarif@v2\n      with:\n        sarif_file: ${{ steps.msdo.outputs.sarifFile }}\n", "state": "active", "repository": "microsoft/presidio"}
{"mined_at": "2024-07-15T15:59:36.983898", "created_at": "2022-01-26T11:37:53+01:00", "updated_at": "2022-01-26T11:37:53+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "microsoft/presidio"}
{"mined_at": "2024-07-15T15:59:39.143823", "created_at": "2021-09-09T15:56:23+02:00", "updated_at": "2023-01-31T14:21:54+01:00", "name": "Build Packages", "path": ".github/workflows/build-pkgs.yml", "contents": "name: Build Packages\non:\n  push:\n    tags: '[0-9]+.[0-9]+.[0-9]+-*'\n  schedule:\n    # If this workflow changes in the future to uploading RPMs directly to a\n    # release on tag push, then a conditional check should be added for the\n    # cron to continue uploading as an artifact on the workflow build.\n    - cron: '57 21 * * SUN'\n\njobs:\n  build-rpm:\n    runs-on: ubuntu-latest\n    env:\n      # _github_home is the dir used as a volume by the container\n      RPMDIR: /home/runner/work/_temp/_github_home/rpmbuild\n    steps:\n    - name: Install rpmlint\n      run: |\n        sudo apt-get update\n        sudo apt-get install rpmlint\n    - uses: actions/checkout@v4\n      with:\n        # Get all branches and tags so the latest tag can be found for VERSION\n        fetch-depth: 0\n    - name: Set VERSION\n      run: echo \"VERSION=`echo $(git describe --tags $(git rev-list --tags --max-count=1))`\" >> $GITHUB_ENV\n    - name: Set APELDIR\n      run: echo \"APELDIR=apel-$VERSION\" >> $GITHUB_ENV\n\n    # Based on the apel-build-rpm.sh script\n    - name: Download and rename archive\n      run: |\n        wget --no-check-certificate https://github.com/apel/apel/archive/$VERSION.tar.gz -O $VERSION\n        tar xzvf $VERSION\n        tar czvf $APELDIR.tar.gz $APELDIR\n        sudo mkdir -p $RPMDIR/SOURCES\n        sudo cp $APELDIR.tar.gz $RPMDIR/SOURCES\n\n    - name: Build RPM packages\n      id: rpm\n      uses: naveenrajm7/rpmbuild@v1.0.0\n      with:\n        spec_file: \"apel.spec\"\n\n    - name: Lint RPMs\n      continue-on-error: true\n      run: rpmlint ${{ steps.rpm.outputs.rpm_dir_path }}\n\n    - name: Upload artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: Binary and Source RPMs\n        path: |\n          ${{ steps.rpm.outputs.rpm_dir_path }}\n          ${{ steps.rpm.outputs.source_rpm_dir_path }}\n", "state": "active", "repository": "apel/apel"}
{"mined_at": "2024-07-15T15:59:40.182278", "created_at": "2022-07-20T16:59:59+02:00", "updated_at": "2023-05-17T15:58:09+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"dev\" ]\n    # Can't use the paths-ignore with 'push' as this would cause missing analyses.\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"dev\" ]\n    paths-ignore:\n      - '**/*.md'\n      - '**/*.txt'\n      - '**/*.ya?ml'\n      - '**/*.sh'\n  schedule:\n    - cron: '31 10 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        queries: security-extended,security-and-quality\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "apel/apel"}
{"mined_at": "2024-07-15T15:59:41.348252", "created_at": "2024-03-11T11:04:02+01:00", "updated_at": "2024-04-04T16:43:46+02:00", "name": "Run Unit Tests", "path": ".github/workflows/unit-test.yml", "contents": "name: Run Unit Tests\n\non: [push, pull_request]\n\njobs:\n  unit-test:\n    runs-on: ubuntu-20.04  # 20.04 to allow for Py 3.6\n    services:\n      mariadb:\n        image: mariadb:10.4\n        env:\n          MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: 'yes'\n          MARIADB_DATABASE: apel_unittest\n        ports:\n          - 3306:3306\n        ################\n        # Options are docker container options to see the container health status\n        # Reference: https://docs.docker.com/engine/reference/run/#healthchecks\n        #\n        # --health-cmd         Command to run to check health\n        # --health-interval    Time between running the check\n        # --health-retries     Consecutive failures needed to report unhealthy\n        # --health-timeout     Maximum time to allow one check to run\n        ################\n        options: >-\n          --health-cmd=\"mysqladmin ping -h localhost\"\n          --health-interval=10s\n          --health-timeout=5s\n          --health-retries=3\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Python versions on Rocky 8 and 9 respectively\n        python-version: ['3.6', '3.9']\n    name: Python ${{ matrix.python-version }} test\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n\n    - name: Set up dependencies for python-ldap\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y build-essential python3-dev libldap2-dev libsasl2-dev\n\n    - name: Set up dependencies for mysqlclient\n      run: sudo apt-get install default-libmysqlclient-dev pkg-config\n\n    - name: Base requirements for APEL\n      run: pip install -r requirements.txt\n\n    - name: Additional requirements for the unit and coverage tests\n      run: pip install -r requirements-test.txt\n\n    - name: Pre-test setup\n      run: |\n        export TMPDIR=$PWD/tmp\n        mkdir $TMPDIR\n        export PYTHONPATH=$PYTHONPATH:`pwd -P`\n        cd test\n\n    - name: Run unit tests\n      run: coverage run --branch --source=apel,bin -m unittest discover -s test --buffer\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n", "state": "active", "repository": "apel/apel"}
{"mined_at": "2024-07-15T15:59:42.459595", "created_at": "2024-07-15T14:13:22+02:00", "updated_at": "2024-07-15T14:13:22+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "apel/apel"}
{"mined_at": "2024-07-15T15:59:44.603632", "created_at": "2022-11-02T17:34:43+01:00", "updated_at": "2022-12-09T19:31:06+01:00", "name": "PEP8 linter", "path": ".github/workflows/pep8.yaml", "contents": "name: PEP8 linter\n\non:\n  push:\n    branches:\n      - '**'\n  pull_request:\n    branches:\n      - '**'\n\njobs:\n  linter:\n    strategy:\n      matrix:\n        python: [ \"3.12\" ]\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: \"0\"\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pycodestyle\n\n      - name: run pep8check @pull_request\n        if: ${{ github.event_name == 'pull_request' }}\n        run: |\n          git diff -U0 origin/${GITHUB_BASE_REF}..${GITHUB_SHA} | pycodestyle --diff --format='::error file=%(path)s,line=%(row)d,col=%(col)d::%(code)s: %(text)s'\n\n      - name: run pep8check @push\n        if: ${{ github.event_name == 'push' }}\n        run: |\n          git show -U0 ${GITHUB_SHA} | pycodestyle --diff --format='::error file=%(path)s,line=%(row)d,col=%(col)d::%(code)s: %(text)s'\n", "state": "active", "repository": "viur-framework/viur-core"}
{"mined_at": "2024-07-15T15:59:45.727661", "created_at": "2023-06-22T19:26:24+02:00", "updated_at": "2023-07-04T17:31:10+02:00", "name": "Python", "path": ".github/workflows/pep8.yml", "contents": null, "state": "disabled_manually", "repository": "viur-framework/viur-core"}
{"mined_at": "2024-07-15T15:59:46.874140", "created_at": "2022-04-15T11:47:09+02:00", "updated_at": "2022-12-09T19:31:06+01:00", "name": "🏗️Build and 📦publish ☀️release", "path": ".github/workflows/publish.yml", "contents": "name: 🏗️Build and 📦publish ☀️release\n\non: push\n\njobs:\n  build:\n    name: 🏗️ build package\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@master\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.10'\n\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n          .\n\n      - uses: actions/upload-artifact@master\n        with:\n          name: buildfiles\n          path: .\n\n  release:\n    name: ☀️create release\n    runs-on: ubuntu-latest\n    needs: [build]\n    if: \"startsWith(github.ref, 'refs/tags/v')\"\n\n    steps:\n      - uses: actions/download-artifact@master\n        with:\n          name: buildfiles\n          path: .\n\n      - name: Get version from tag\n        id: tag_name\n        run: |\n          echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}\n\n      - name: create release\n        uses: softprops/action-gh-release@v1\n        with:\n          files: dist/*\n          body: ${{ steps.changelog_reader.outputs.changes }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "disabled_manually", "repository": "viur-framework/viur-core"}
{"mined_at": "2024-07-15T15:59:47.987565", "created_at": "2022-05-11T18:28:25+02:00", "updated_at": "2022-08-31T14:18:29+02:00", "name": "Python", "path": ".github/workflows/python-test.yaml", "contents": "name: Python\n\non:\n  push:\n    branches:\n      - '**'\n  pull_request:\n    branches:\n      - '**'\n\njobs:\n  test:\n    strategy:\n      matrix:\n        python: [ \"3.10\", \"3.11\", \"3.12\" ]\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          path: viur\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install dependencies\n        run: |\n          cd viur\n          python -m pip install -U pip\n          if [ -f tests/requirements.txt ]; then python -m pip install -r tests/requirements.txt; fi\n          python -m pip install -U coverage coverage-badge\n\n      - name: Run the tests\n        run: |\n          pwd\n          python ./viur/tests/main.py\n          echo $?\n          pwd\n\n      - name: Build Coverage\n        if: ${{ matrix.python == '3.12' && github.event_name == 'push' && github.ref_name == 'main' }}\n        working-directory: viur/tests/\n        run: |\n          # generate coverage\n          coverage run -m unittest discover\n          coverage report\n          coverage html\n          coverage-badge -fo ./htmlcov/coverage.svg\n          # use relative paths\n          find ./htmlcov/ -type f -exec \\\n            sed -i 's:'$(dirname $(pwd))'/core/::g' {} +\n          # Remove .gitignore, otherwise nothing would be committed to the gh-pages branch\n          rm htmlcov/.gitignore\n\n      - name: Deploy Coverage\n        uses: peaceiris/actions-gh-pages@v3\n        if: ${{ matrix.python == '3.12' && github.event_name == 'push' && github.ref_name == 'main' }}\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./viur/tests/htmlcov\n          publish_branch: coverage-html\n          allow_empty_commit: true\n", "state": "active", "repository": "viur-framework/viur-core"}
{"mined_at": "2024-07-15T15:59:49.012623", "created_at": "2023-07-07T12:10:53+02:00", "updated_at": "2023-07-07T12:10:53+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "viur-framework/viur-core"}
{"mined_at": "2024-07-15T15:59:50.013353", "created_at": "2022-07-22T18:13:15+02:00", "updated_at": "2022-07-22T18:13:15+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "viur-framework/viur-core"}
{"mined_at": "2024-07-15T15:59:52.302487", "created_at": "2021-04-11T01:30:39+02:00", "updated_at": "2021-05-18T18:52:02+02:00", "name": "generate BIG-Bench task summaries", "path": ".github/workflows/generate_task_summaries.yml", "contents": "name: generate BIG-Bench task summaries\n\non:\n  push:\n    branches: [ main ]\n\njobs:\n  push_summary:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n          lfs: 'true'\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install BIG-bench and dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install ./\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n      - name: Diagnostic information\n        run: |\n          pwd\n          ls -ltar\n      - name: Generate summaries\n        run: |\n          sudo fallocate -l 10G /swapfile\n          sudo chmod 600 /swapfile\n          sudo mkswap /swapfile\n          sudo swapon /swapfile\n          sudo swapon -s\n          python bigbench/task_postprocessing_scripts/generate_task_summaries.py\n      - name: Re-install BIG-bench\n        run: |\n          # reinstall to make sure task_metadata.json is updated in the installed code\n          pip install ./\n      - name: Generate task headers\n        run: |\n          python bigbench/task_postprocessing_scripts/generate_task_headers.py\n      - name: Parse author emails\n        run: |\n          python bigbench/task_postprocessing_scripts/parse_author_emails.py\n      - name: Generate seqio task catalog\n        run: |\n          python bigbench/task_postprocessing_scripts/generate_seqio_task_catalog.py\n      - name: Generate BIG-bench Lite leaderboard\n        run: |\n          python bigbench/task_postprocessing_scripts/generate_bbl_plots.py\n      - name: Commit and push all modified files\n        run: |\n          git config --global user.name 'BIG-bench-actions-robot'\n          git config --global user.email 'BIG-bench-actions-robot@google.com'\n          git add bigbench/benchmark_tasks/README.md bigbench/benchmark_tasks/keywords_to_tasks.md\n          git add bigbench/benchmark_tasks/task_metadata.json\n          git add bigbench/benchmark_tasks/task_authors.tsv\n          git add bigbench/benchmark_tasks/*/README.md\n          git add bigbench/benchmark_tasks/*/results/README.md\n          git add bigbench/benchmark_tasks/*/results/dummy_model.transcript.md\n          git add bigbench/benchmark_tasks/*/results/plot__*.png\n          git add bigbench/benchmark_tasks/*/results/plot__*.pdf\n          git add bigbench/benchmark_tasks/seqio_task_catalog.md\n          git add bigbench/benchmark_tasks/results/plot_*.pdf\n          git add bigbench/benchmark_tasks/results/plot_*.png\n          # -a so that it will also commit any deleted files -- eg, if plots were deleted\n          git commit -a -m \"auto-generate task summary tables, analysis, SeqIO task catalog, and README.md headers\" || echo \"No changes to commit\"\n          git pull --rebase\n          git push\n", "state": "active", "repository": "google/big-bench"}
{"mined_at": "2024-07-15T15:59:53.531457", "created_at": "2022-04-15T03:21:53+02:00", "updated_at": "2022-04-16T02:36:45+02:00", "name": "BIG-Bench tests", "path": ".github/workflows/run-tests.yml", "contents": "# This workflow will install Python dependencies, and run tests\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: BIG-Bench tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        lfs: 'true'\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Check space on device\n      run: |\n        df -hT\n        du -sh /usr/*\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        pip install ./\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Enable swap file\n      run: |\n        sudo fallocate -l 8G /swapfile\n        sudo chmod 600 /swapfile\n        sudo mkswap /swapfile\n        sudo swapon /swapfile\n        sudo swapon -s\n    - name: Test with pytest\n      run: |\n        pytest \n", "state": "active", "repository": "google/big-bench"}
{"mined_at": "2024-07-15T15:59:54.542003", "created_at": "2023-08-01T22:06:31+02:00", "updated_at": "2023-08-01T22:06:31+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/big-bench"}
{"mined_at": "2024-07-15T15:59:56.718048", "created_at": "2022-09-19T20:54:48+02:00", "updated_at": "2022-09-19T20:54:48+02:00", "name": "Build Dependencies Image", "path": ".github/workflows/build_dependency_image.yml", "contents": "---\n# This reusable workflow always builds & tags a Docker image for the Nautobot dependencies stage\n# Published as ghcr.io/nautobot/nautobot-dependencies\n#\n# This allows the same steps to be followed in CI on push as well as a manual trigger if so desired\nname: \"Build Dependencies Image\"\non:  # yamllint disable\n  workflow_call:\n  workflow_dispatch:\n\njobs:\n  container-build:\n    runs-on: \"ubuntu-20.04\"\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n    env:\n      INVOKE_NAUTOBOT_PYTHON_VER: \"${{ matrix.python-version }}\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v3\"\n      - name: \"Get Git Branch/Tag Name\" # For tagging dependencies image, supports branch or tag reference\n        run: echo \"branch=$(echo $GITHUB_REF | awk -F '/' '{print $NF}')\" >> $GITHUB_OUTPUT\n        id: \"gitbranch\"\n      - name: \"Set up QEMU\"\n        uses: \"docker/setup-qemu-action@v1\"\n      - name: \"Set up Docker Buildx\"\n        uses: \"docker/setup-buildx-action@v1\"\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: \"Docker Dependencies Metadata\"\n        id: \"dockerdepmeta\"\n        uses: \"docker/metadata-action@v3\"\n        with:\n          images: \"ghcr.io/nautobot/nautobot-dependencies\"\n          flavor: |\n            latest=false\n          tags: |\n            type=raw,value=${{ steps.gitbranch.outputs.branch }}-py${{ matrix.python-version }}\n          labels: |\n            org.opencontainers.image.title=Nautobot Dependencies Base Image\n      - name: \"Build Dependencies Containers\"\n        uses: \"docker/build-push-action@v2\"\n        with:\n          push: true\n          target: dependencies\n          file: \"docker/Dockerfile\"\n          platforms: \"linux/amd64,linux/arm64\"\n          tags: \"${{ steps.dockerdepmeta.outputs.tags }}\"\n          labels: \"${{ steps.dockerdepmeta.outputs.labels }}\"\n          context: \".\"\n          build-args: |\n            PYTHON_VER=${{ matrix.python-version }}\n            DEPENDENCIES_BASE_BRANCH=${{ steps.gitbranch.outputs.branch }}\n", "state": "active", "repository": "nautobot/nautobot"}
{"mined_at": "2024-07-15T15:59:57.832069", "created_at": "2022-09-15T04:17:43+02:00", "updated_at": "2022-09-19T20:54:48+02:00", "name": "Build Dependencies Image - Conditional Change Detection", "path": ".github/workflows/build_dependency_image_conditional.yml", "contents": "---\n# To ensure we aren't always rebuilding the dependencies container,\n# this checks the last commit to evaluate if changes were made in the previous commit\n# that would result in a different image being built\n#\n# Files checked:\n# - pyproject.toml\n# - poetry.lock\n# - examples/*\n# - docker/docker-entrypoint.sh\n# - README.md\n\nname: \"Build Dependencies Image - Conditional Change Detection\"\non:  # yamllint disable\n  workflow_call:\n\njobs:\n  dep-container-build:\n    runs-on: \"ubuntu-20.04\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n        with:\n          fetch-depth: 2\n      - name: \"Check if Dependency Files Changed\"\n        id: fileschanged\n        continue-on-error: true\n        run: |\n          git diff HEAD~1 --name-only | grep \"^README\\.md\\|^docker/docker-entrypoint\\.sh\\|^examples/\\|^poetry\\.lock\\|^pyproject\\.toml\"\n      - name: \"Skip Dependencies Image Build\"\n        if: ${{ steps.fileschanged.outcome == 'failure' }}\n        run: |\n          echo \"::notice::No dependency files changed\"\n      - name: \"Rebuild Dependencies Image\"\n        if: ${{ steps.fileschanged.outcome == 'success' }}\n        uses: \"./.github/workflows/build_dependency_image.yml\"\n", "state": "active", "repository": "nautobot/nautobot"}
{"mined_at": "2024-07-15T15:59:58.963352", "created_at": "2022-04-11T20:31:36+02:00", "updated_at": "2023-08-30T15:42:22+02:00", "name": "CI - Integration Branch", "path": ".github/workflows/ci_integration.yml", "contents": "---\n# Full CI for commits to the integration branches (main, develop, next)\nname: \"CI - Integration Branch\"\non:  # yamllint disable\n  push:\n    branches:\n      - \"main\"\n      - \"develop\"\n      - \"next\"\n  workflow_call:\n  workflow_dispatch:\n\njobs:\n  check-schema:\n    name: \"Run REST API schema checks\"\n    runs-on: \"ubuntu-22.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_DB_USER: \"nautobot\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.postgresql\"\n      NAUTOBOT_CONFIG: \"nautobot/core/tests/nautobot_config.py\"\n    services:\n      postgres:\n        image: \"postgres:13-alpine\"\n        env:\n          POSTGRES_USER: \"nautobot\"\n          POSTGRES_PASSWORD: \"decinablesprewad\"\n          POSTGRES_DB: \"nautobot\"\n        ports:\n          - \"5432:5432\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v3\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n      - name: \"Run check-schema\"\n        # REST API schema generation currently includes GraphQL schema generation, which is dependent on the DB :-(\n        run: \"poetry run invoke migrate check-schema\"\n  tests-postgres:\n    name: \"Unit tests (PostgreSQL and Python 3.11)\"\n    runs-on: \"ubuntu-22.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_DB_USER: \"nautobot\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.postgresql\"\n    services:\n      postgres:\n        image: \"postgres:13-alpine\"\n        env:\n          POSTGRES_USER: \"nautobot\"\n          POSTGRES_PASSWORD: \"decinablesprewad\"\n          POSTGRES_DB: \"nautobot\"\n        ports:\n          - \"5432:5432\"\n      redis:\n        image: \"redis:6-alpine\"\n        ports:\n          - \"6379:6379\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v3\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n        with:\n          python-version: \"3.11\"\n      - name: \"Remove Installed Nautobots (Poetry Workaround)\" # Workaround for https://github.com/python-poetry/poetry/issues/2918\n        run: \"for i in $(ls -d1 ~/.cache/pypoetry/virtualenvs/*/lib/*/site-packages/nautobot-*.dist-info); do poetry run pip uninstall -y nautobot; done\"\n      - name: \"Reinstall Nautobot Local\"\n        run: \"poetry install\"\n      - name: \"Run unittest\"\n        run: \"poetry run invoke unittest --failfast --keepdb --parallel\"\n  tests-mysql:\n    name: \"Unit tests (MySQL and Python 3.8)\"\n    runs-on: \"ubuntu-22.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_DB_USER: \"root\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_HOST: \"127.0.0.1\"\n      NAUTOBOT_DB_PORT: \"3306\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.mysql\"\n    services:\n      mysql:\n        image: \"mysql:8\"\n        env:\n          MYSQL_ROOT_PASSWORD: \"decinablesprewad\"\n          MYSQL_PASSWORD: \"decinablesprewad\"\n          MYSQL_DATABASE: \"nautobot\"\n        ports:\n          - \"3306:3306\"\n      redis:\n        image: \"redis:6-alpine\"\n        ports:\n          - \"6379:6379\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v3\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n        with:\n          python-version: \"3.8\"\n      - name: \"Remove Installed Nautobots (Poetry Workaround)\" # Workaround for https://github.com/python-poetry/poetry/issues/2918\n        run: \"for i in $(ls -d1 ~/.cache/pypoetry/virtualenvs/*/lib/*/site-packages/nautobot-*.dist-info); do poetry run pip uninstall -y nautobot; done\"\n      - name: \"Reinstall Nautobot Local\"\n        run: \"poetry install\"\n      - name: \"Install Required Dependencies for MySql Client\"\n        run: \"sudo apt-get update && sudo apt-get install --no-install-recommends -y default-libmysqlclient-dev gcc\"\n      - name: \"Install MySql Dependencies\"\n        run: \"poetry install --no-interaction --no-root --extras mysql\"\n      - name: \"Run unittest\"\n        run: \"poetry run invoke unittest --failfast --keepdb --parallel\"\n  migration-tests-mysql:\n    name: \"Run migrations against test dataset (MySQL and Python 3.8)\"\n    runs-on: \"ubuntu-20.04\"\n    env:\n      MIGRATION_TEST_DATASET: \"development/datasets/nautobot_1.5.16_mysql.tar.gz\"\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_CONFIG: \"nautobot/core/tests/nautobot_config.py\"\n      NAUTOBOT_DB_USER: \"root\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_HOST: \"127.0.0.1\"\n      NAUTOBOT_DB_PORT: \"3306\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.mysql\"\n    services:\n      mysql:\n        image: \"mysql:8\"\n        env:\n          MYSQL_ROOT_PASSWORD: \"decinablesprewad\"\n          MYSQL_PASSWORD: \"decinablesprewad\"\n          MYSQL_DATABASE: \"nautobot\"\n        ports:\n          - \"3306:3306\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n        with:\n          python-version: \"3.8\"\n      - name: \"Remove Installed Nautobots (Poetry Workaround)\" # Workaround for https://github.com/python-poetry/poetry/issues/2918\n        run: \"for i in $(ls -d1 ~/.cache/pypoetry/virtualenvs/*/lib/*/site-packages/nautobot-*.dist-info); do poetry run pip uninstall -y nautobot; done\"\n      - name: \"Reinstall Nautobot Local\"\n        run: \"poetry install\"\n      - name: \"Install Required Dependencies for MySql Client\"\n        run: \"sudo apt-get update && sudo apt-get install --no-install-recommends -y default-libmysqlclient-dev gcc\"\n      - name: \"Install MySql Dependencies\"\n        run: \"poetry install --no-interaction --no-root --extras mysql\"\n      - name: \"Run migration test\"\n        run: \"poetry run invoke migration-test --db-engine mysql --dataset $MIGRATION_TEST_DATASET\"\n  migration-tests-postgres:\n    name: \"Run migrations against test dataset (PostgreSQL and Python 3.11)\"\n    runs-on: \"ubuntu-20.04\"\n    env:\n      MIGRATION_TEST_DATASET: \"development/datasets/nautobot_1.5.16_postgres.tar.gz\"\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_CONFIG: \"nautobot/core/tests/nautobot_config.py\"\n      NAUTOBOT_DB_USER: \"nautobot\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.postgresql\"\n      PGPASSWORD: \"decinablesprewad\"\n    services:\n      postgres:\n        image: \"postgres:13-alpine\"\n        env:\n          POSTGRES_USER: \"nautobot\"\n          POSTGRES_PASSWORD: \"decinablesprewad\"\n          POSTGRES_DB: \"nautobot\"\n        ports:\n          - \"5432:5432\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n        with:\n          python-version: \"3.11\"\n      - name: \"Remove Installed Nautobots (Poetry Workaround)\" # Workaround for https://github.com/python-poetry/poetry/issues/2918\n        run: \"for i in $(ls -d1 ~/.cache/pypoetry/virtualenvs/*/lib/*/site-packages/nautobot-*.dist-info); do poetry run pip uninstall -y nautobot; done\"\n      - name: \"Reinstall Nautobot Local\"\n        run: \"poetry install\"\n      - name: \"Run migration test\"\n        run: \"poetry run invoke migration-test --db-engine postgres --dataset $MIGRATION_TEST_DATASET\"\n  integration-test:\n    runs-on: \"ubuntu-22.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_DB_USER: \"nautobot\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.postgresql\"\n      NAUTOBOT_SELENIUM_URL: \"http://localhost:4444/wd/hub\"\n    services:\n      postgres:\n        image: \"postgres:13-alpine\"\n        env:\n          POSTGRES_USER: \"nautobot\"\n          POSTGRES_PASSWORD: \"decinablesprewad\"\n          POSTGRES_DB: \"nautobot\"\n        ports:\n          - \"5432:5432\"\n      redis:\n        image: \"redis:6-alpine\"\n        ports:\n          - \"6379:6379\"\n      selenium:\n        image: \"selenium/standalone-firefox:4.19\"\n        ports:\n          - \"4444:4444\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v3\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n      - name: \"Remove Installed Nautobots (Poetry Workaround)\" # Workaround for https://github.com/python-poetry/poetry/issues/2918\n        run: \"for i in $(ls -d1 ~/.cache/pypoetry/virtualenvs/*/lib/*/site-packages/nautobot-*.dist-info); do poetry run pip uninstall -y nautobot; done\"\n      - name: \"Reinstall Nautobot Local\"\n        run: \"poetry install\"\n      - name: \"Run Integration Tests\"\n        # If NAUTOBOT_SELENIUM_HOST is set to 'localhost' or '127.0.0.1' the connection does not work\n        run: \"NAUTOBOT_SELENIUM_HOST=`hostname -f` poetry run invoke integration-test --keepdb\"\n  container-build:\n    name: \"Build Container Images (amd64 on GHCR Only)\"\n    runs-on: \"ubuntu-22.04\"\n    if: |\n      github.event_name == 'push' &&\n      (github.ref_name == 'develop' || github.ref_name == 'next' || github.ref_name == 'ltm-1.6')\n    needs:\n      - \"check-schema\"\n      - \"integration-test\"\n      - \"migration-tests-mysql\"\n      - \"migration-tests-postgres\"\n      - \"tests-mysql\"\n      - \"tests-postgres\"\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n    steps:\n      - name: \"Configuration\"\n        id: \"config\"\n        shell: \"bash\"\n        run: |\n          export BRANCH=\"${{ github.ref_name }}\"\n          export TAG_LATEST=\"false\"\n          export TAG_LATEST_FOR_BRANCH=\"false\"\n          export TAG_LATEST_FOR_PY=\"false\"\n\n          if [[ \"${{ matrix.python-version }}\" == \"3.11\" ]]; then\n            export TAG_LATEST_FOR_BRANCH=\"true\"\n          fi\n\n          echo \"branch=$BRANCH\" >> $GITHUB_OUTPUT\n          echo \"tag-latest=$TAG_LATEST\" >> $GITHUB_OUTPUT\n          echo \"tag-latest-for-branch=$TAG_LATEST_FOR_BRANCH\" >> $GITHUB_OUTPUT\n          echo \"tag-latest-for-py=$TAG_LATEST_FOR_PY\" >> $GITHUB_OUTPUT\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v3\"\n      - name: \"Set up QEMU\"\n        uses: \"docker/setup-qemu-action@v2\"\n      - name: \"Set up Docker Buildx\"\n        uses: \"docker/setup-buildx-action@v2\"\n      - name: \"Login to GitHub Container Registry\"\n        uses: \"docker/login-action@v2\"\n        with:\n          registry: \"ghcr.io\"\n          username: \"${{ github.actor }}\"\n          password: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: \"Build `final`\"\n        if: |\n          steps.config.outputs.tag-latest-for-branch == 'true'\n        uses: \"./.github/actions/build-nautobot-image\"\n        with:\n          branch: \"${{ steps.config.outputs.branch }}\"\n          image: \"ghcr.io/nautobot/nautobot\"\n          platforms: \"linux/amd64\"\n          push: \"false\"\n          python-version: \"${{ matrix.python-version }}\"\n          tag-latest: \"${{ steps.config.outputs.tag-latest }}\"\n          tag-latest-for-branch: \"${{ steps.config.outputs.tag-latest-for-branch }}\"\n          tag-latest-for-py: \"${{ steps.config.outputs.tag-latest-for-py }}\"\n          target: \"final\"\n      - name: \"Build and Push `final-dev`\"\n        uses: \"./.github/actions/build-nautobot-image\"\n        with:\n          branch: \"${{ steps.config.outputs.branch }}\"\n          image: \"ghcr.io/nautobot/nautobot-dev\"\n          platforms: \"linux/amd64\"\n          push: \"true\"\n          python-version: \"${{ matrix.python-version }}\"\n          tag-latest: \"${{ steps.config.outputs.tag-latest }}\"\n          tag-latest-for-branch: \"${{ steps.config.outputs.tag-latest-for-branch }}\"\n          tag-latest-for-py: \"${{ steps.config.outputs.tag-latest-for-py }}\"\n          target: \"final-dev\"\n", "state": "active", "repository": "nautobot/nautobot"}
{"mined_at": "2024-07-15T16:00:00.188901", "created_at": "2022-04-11T20:31:36+02:00", "updated_at": "2023-08-29T16:39:22+02:00", "name": "CI - Pull Request", "path": ".github/workflows/ci_pullrequest.yml", "contents": "---\n# A lighter-weight version of CI specifically for pull requests\nname: \"CI - Pull Request\"\nconcurrency:  # Cancel any existing runs of this workflow for this same PR\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\non:  # yamllint disable\n  pull_request:\n  workflow_call:\n\njobs:\n  ruff:\n    runs-on: \"ubuntu-20.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n      - name: \"Linting: ruff\"\n        run: \"poetry run invoke ruff --output-format github\"\n  yamllint:\n    runs-on: \"ubuntu-20.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n      - name: \"Linting: yamllint\"\n        run: \"poetry run invoke yamllint\"\n  markdownlint:\n    runs-on: \"ubuntu-20.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n      - name: \"Install markdownlint\"\n        run: \"npm install markdownlint-cli@0.38.0\"\n      - name: \"Linting: markdownlint\"\n        run: \"poetry run invoke markdownlint\"\n  hadolint:\n    runs-on: \"ubuntu-20.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Run Hadolint\"\n        uses: \"hadolint/hadolint-action@v1.6.0\"\n        with:\n          dockerfile: \"docker/Dockerfile\"\n  check-migrations:\n    name: \"Run 'nautobot-server makemigrations --dry-run --check'\"\n    runs-on: \"ubuntu-20.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_DB_USER: \"nautobot\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.postgresql\"\n    services:\n      postgres:\n        image: \"postgres:13-alpine\"\n        env:\n          POSTGRES_USER: \"nautobot\"\n          POSTGRES_PASSWORD: \"decinablesprewad\"\n          POSTGRES_DB: \"nautobot\"\n        ports:\n          - \"5432:5432\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n      - name: \"Run check migrations\"\n        run: \"poetry run invoke check-migrations\"\n  check-schema:\n    name: \"Run REST API schema checks\"\n    runs-on: \"ubuntu-20.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_DB_USER: \"nautobot\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.postgresql\"\n      NAUTOBOT_CONFIG: \"nautobot/core/tests/nautobot_config.py\"\n    services:\n      postgres:\n        image: \"postgres:13-alpine\"\n        env:\n          POSTGRES_USER: \"nautobot\"\n          POSTGRES_PASSWORD: \"decinablesprewad\"\n          POSTGRES_DB: \"nautobot\"\n        ports:\n          - \"5432:5432\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n      - name: \"Run check-schema\"\n        # REST API schema generation currently includes GraphQL schema generation, which is dependent on the DB :-(\n        run: \"poetry run invoke migrate check-schema\"\n  pylint:\n    runs-on: \"ubuntu-20.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_DB_USER: \"nautobot\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.postgresql\"\n      NAUTOBOT_CONFIG: \"nautobot/core/tests/nautobot_config.py\"\n    services:\n      postgres:\n        image: \"postgres:13-alpine\"\n        env:\n          POSTGRES_USER: \"nautobot\"\n          POSTGRES_PASSWORD: \"decinablesprewad\"\n          POSTGRES_DB: \"nautobot\"\n        ports:\n          - \"5432:5432\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n      - name: \"Run pylint\"\n        run: \"poetry run invoke pylint\"\n  tests-postgres:\n    name: \"Unit tests (PostgreSQL and Python 3.8)\"\n    runs-on: \"ubuntu-20.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_DB_USER: \"nautobot\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.postgresql\"\n    services:\n      postgres:\n        image: \"postgres:13-alpine\"\n        env:\n          POSTGRES_USER: \"nautobot\"\n          POSTGRES_PASSWORD: \"decinablesprewad\"\n          POSTGRES_DB: \"nautobot\"\n        ports:\n          - \"5432:5432\"\n      redis:\n        image: \"redis:6-alpine\"\n        ports:\n          - \"6379:6379\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n        with:\n          python-version: \"3.8\"\n      - name: \"Remove Installed Nautobots (Poetry Workaround)\" # Workaround for https://github.com/python-poetry/poetry/issues/2918\n        run: \"for i in $(ls -d1 ~/.cache/pypoetry/virtualenvs/*/lib/*/site-packages/nautobot-*.dist-info); do poetry run pip uninstall -y nautobot; done\"\n      - name: \"Reinstall Nautobot Local\"\n        run: \"poetry install\"\n      - name: \"Run unittest\"\n        run: \"poetry run invoke unittest --failfast --keepdb --parallel\"\n    needs:\n      - \"check-migrations\"\n      - \"check-schema\"\n      - \"hadolint\"\n      - \"markdownlint\"\n      - \"ruff\"\n      - \"yamllint\"\n  tests-mysql:\n    name: \"Unit tests (MySQL and Python 3.11)\"\n    runs-on: \"ubuntu-20.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_DB_USER: \"root\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_HOST: \"127.0.0.1\"\n      NAUTOBOT_DB_PORT: \"3306\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.mysql\"\n    services:\n      mysql:\n        image: \"mysql:8\"\n        env:\n          MYSQL_ROOT_PASSWORD: \"decinablesprewad\"\n          MYSQL_PASSWORD: \"decinablesprewad\"\n          MYSQL_DATABASE: \"nautobot\"\n        ports:\n          - \"3306:3306\"\n      redis:\n        image: \"redis:6-alpine\"\n        ports:\n          - \"6379:6379\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n        with:\n          python-version: \"3.11\"\n      - name: \"Remove Installed Nautobots (Poetry Workaround)\" # Workaround for https://github.com/python-poetry/poetry/issues/2918\n        run: \"for i in $(ls -d1 ~/.cache/pypoetry/virtualenvs/*/lib/*/site-packages/nautobot-*.dist-info); do poetry run pip uninstall -y nautobot; done\"\n      - name: \"Reinstall Nautobot Local\"\n        run: \"poetry install\"\n      - name: \"Install Required Dependencies for MySql Client\"\n        run: \"sudo apt-get update && sudo apt-get install --no-install-recommends -y default-libmysqlclient-dev gcc\"\n      - name: \"Install MySql Dependencies\"\n        run: \"poetry install --no-interaction --no-root --extras mysql\"\n      - name: \"Run unittest\"\n        run: \"poetry run invoke unittest --failfast --keepdb --parallel\"\n    needs:\n      - \"check-migrations\"\n      - \"check-schema\"\n      - \"hadolint\"\n      - \"markdownlint\"\n      - \"ruff\"\n      - \"yamllint\"\n  migration-tests-mysql:\n    name: \"Run migrations against test dataset (MySQL and Python 3.8)\"\n    runs-on: \"ubuntu-20.04\"\n    env:\n      MIGRATION_TEST_DATASET: \"development/datasets/nautobot_1.5.16_mysql.tar.gz\"\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_CONFIG: \"nautobot/core/tests/nautobot_config.py\"\n      NAUTOBOT_DB_USER: \"root\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_HOST: \"127.0.0.1\"\n      NAUTOBOT_DB_PORT: \"3306\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.mysql\"\n    services:\n      mysql:\n        image: \"mysql:8\"\n        env:\n          MYSQL_ROOT_PASSWORD: \"decinablesprewad\"\n          MYSQL_PASSWORD: \"decinablesprewad\"\n          MYSQL_DATABASE: \"nautobot\"\n        ports:\n          - \"3306:3306\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n        with:\n          python-version: \"3.8\"\n      - name: \"Remove Installed Nautobots (Poetry Workaround)\" # Workaround for https://github.com/python-poetry/poetry/issues/2918\n        run: \"for i in $(ls -d1 ~/.cache/pypoetry/virtualenvs/*/lib/*/site-packages/nautobot-*.dist-info); do poetry run pip uninstall -y nautobot; done\"\n      - name: \"Reinstall Nautobot Local\"\n        run: \"poetry install\"\n      - name: \"Install Required Dependencies for MySql Client\"\n        run: \"sudo apt-get update && sudo apt-get install --no-install-recommends -y default-libmysqlclient-dev gcc\"\n      - name: \"Install MySql Dependencies\"\n        run: \"poetry install --no-interaction --no-root --extras mysql\"\n      - name: \"Run migration test\"\n        run: \"poetry run invoke migration-test --db-engine mysql --dataset $MIGRATION_TEST_DATASET\"\n    needs:\n      - \"check-migrations\"\n      - \"check-schema\"\n      - \"hadolint\"\n      - \"markdownlint\"\n      - \"ruff\"\n      - \"yamllint\"\n  migration-tests-postgres:\n    name: \"Run migrations against test dataset (PostgreSQL and Python 3.11)\"\n    runs-on: \"ubuntu-20.04\"\n    env:\n      MIGRATION_TEST_DATASET: \"development/datasets/nautobot_1.5.16_postgres.tar.gz\"\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_CONFIG: \"nautobot/core/tests/nautobot_config.py\"\n      NAUTOBOT_DB_USER: \"nautobot\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.postgresql\"\n      PGPASSWORD: \"decinablesprewad\"\n    services:\n      postgres:\n        image: \"postgres:13-alpine\"\n        env:\n          POSTGRES_USER: \"nautobot\"\n          POSTGRES_PASSWORD: \"decinablesprewad\"\n          POSTGRES_DB: \"nautobot\"\n        ports:\n          - \"5432:5432\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n        with:\n          python-version: \"3.11\"\n      - name: \"Remove Installed Nautobots (Poetry Workaround)\" # Workaround for https://github.com/python-poetry/poetry/issues/2918\n        run: \"for i in $(ls -d1 ~/.cache/pypoetry/virtualenvs/*/lib/*/site-packages/nautobot-*.dist-info); do poetry run pip uninstall -y nautobot; done\"\n      - name: \"Reinstall Nautobot Local\"\n        run: \"poetry install\"\n      - name: \"Run migration test\"\n        run: \"poetry run invoke migration-test --db-engine postgres --dataset $MIGRATION_TEST_DATASET\"\n    needs:\n      - \"check-migrations\"\n      - \"check-schema\"\n      - \"hadolint\"\n      - \"markdownlint\"\n      - \"ruff\"\n      - \"yamllint\"\n  integration-test:\n    runs-on: \"ubuntu-20.04\"\n    env:\n      INVOKE_NAUTOBOT_LOCAL: \"True\"\n      NAUTOBOT_DB_USER: \"nautobot\"\n      NAUTOBOT_DB_PASSWORD: \"decinablesprewad\"\n      NAUTOBOT_DB_ENGINE: \"django_prometheus.db.backends.postgresql\"\n      NAUTOBOT_SELENIUM_URL: \"http://localhost:4444/wd/hub\"\n    services:\n      postgres:\n        image: \"postgres:13-alpine\"\n        env:\n          POSTGRES_USER: \"nautobot\"\n          POSTGRES_PASSWORD: \"decinablesprewad\"\n          POSTGRES_DB: \"nautobot\"\n        ports:\n          - \"5432:5432\"\n      redis:\n        image: \"redis:6-alpine\"\n        ports:\n          - \"6379:6379\"\n      selenium:\n        image: \"selenium/standalone-firefox:4.19\"\n        ports:\n          - \"4444:4444\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n      - name: \"Remove Installed Nautobots (Poetry Workaround)\" # Workaround for https://github.com/python-poetry/poetry/issues/2918\n        run: \"for i in $(ls -d1 ~/.cache/pypoetry/virtualenvs/*/lib/*/site-packages/nautobot-*.dist-info); do poetry run pip uninstall -y nautobot; done\"\n      - name: \"Reinstall Nautobot Local\"\n        run: \"poetry install\"\n      - name: \"Run Integration Tests\"\n        # If NAUTOBOT_SELENIUM_HOST is set to 'localhost' or '127.0.0.1' the connection does not work\n        run: \"NAUTOBOT_SELENIUM_HOST=`hostname -f` poetry run invoke integration-test --keepdb\"\n    needs:\n      - \"check-migrations\"\n      - \"check-schema\"\n      - \"hadolint\"\n      - \"markdownlint\"\n      - \"ruff\"\n      - \"yamllint\"\n  changelog:\n    if: ${{ (contains(fromJson('[\"develop\",\"next\"]'), github.base_ref)) || (startsWith(github.base_ref, 'ltm')) }}\n    runs-on: \"ubuntu-20.04\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n        with:\n          fetch-depth: \"0\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n      - name: \"Check for changelog entry\"\n        run: |\n          git fetch --no-tags origin +refs/heads/${{ github.base_ref }}:refs/remotes/origin/${{ github.base_ref }}\n          poetry run towncrier check --compare-with origin/${{ github.base_ref }}\n  container-build-test:\n    name: \"Test Container Build (amd64 only on Python 3.11)\"\n    runs-on: \"ubuntu-22.04\"\n    needs:\n      - \"check-migrations\"\n      - \"check-schema\"\n      - \"hadolint\"\n      - \"markdownlint\"\n      - \"ruff\"\n      - \"yamllint\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v3\"\n      - name: \"Set up QEMU\"\n        uses: \"docker/setup-qemu-action@v2\"\n      - name: \"Set up Docker Buildx\"\n        uses: \"docker/setup-buildx-action@v2\"\n      - name: \"Login to GitHub Container Registry\"\n        uses: \"docker/login-action@v2\"\n        with:\n          registry: \"ghcr.io\"\n          username: \"${{ github.actor }}\"\n          password: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: \"Build `final`\"\n        uses: \"./.github/actions/build-nautobot-image\"\n        with:\n          branch: \"${{ github.head_ref }}\"\n          image: \"ghcr.io/nautobot/nautobot\"\n          platforms: \"linux/amd64\"\n          push: \"false\"\n          python-version: \"3.11\"\n          tag-latest: \"false\"\n          tag-latest-for-branch: \"false\"\n          tag-latest-for-py: \"false\"\n          target: \"final\"\n  all-tests-passed:\n    runs-on: \"ubuntu-20.04\"\n    steps:\n      - run: \"echo 'All tests succeeded'\"\n    needs:\n      - \"container-build-test\"\n      - \"integration-test\"\n      - \"migration-tests-mysql\"\n      - \"migration-tests-postgres\"\n      - \"pylint\"\n      - \"tests-mysql\"\n      - \"tests-postgres\"\n", "state": "active", "repository": "nautobot/nautobot"}
{"mined_at": "2024-07-15T16:00:01.314436", "created_at": "2021-02-24T01:43:27+01:00", "updated_at": "2021-02-24T01:43:27+01:00", "name": "Lock threads", "path": ".github/workflows/lock.yml", "contents": "# lock-threads (https://github.com/marketplace/actions/lock-threads)\nname: 'Lock threads'\n\non:\n  schedule:\n    - cron: '0 3 * * *'\n\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v2\n        with:\n          github-token: ${{ github.token }}\n          issue-lock-inactive-days: '90'\n          issue-exclude-created-before: ''\n          issue-exclude-labels: ''\n          issue-lock-labels: ''\n          issue-lock-comment: ''\n          issue-lock-reason: 'resolved'\n          process-only: 'issues'\n", "state": "active", "repository": "nautobot/nautobot"}
{"mined_at": "2024-07-15T16:00:02.350203", "created_at": "2022-09-26T21:28:41+02:00", "updated_at": "2022-09-26T21:28:41+02:00", "name": "Nautobot Plugin Upstream Testing - Base", "path": ".github/workflows/plugin_upstream_testing_base.yml", "contents": "---\nname: \"Nautobot Plugin Upstream Testing - Base\"\n\non:\n  workflow_call:\n    inputs:\n      invoke_context_name:\n        required: true\n        type: string\n      plugin_name:\n        required: true\n        type: string\n\nenv:\n  PYTHON_VERSION: \"3.8\"\n\njobs:\n  unittest:\n    strategy:\n      fail-fast: false\n      matrix:\n        nautobot-version: [\"develop\", \"ltm-1.6\"]\n    runs-on: \"ubuntu-20.04\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n        with:\n          ref: \"${{ matrix.nautobot-version == 'develop' && 'develop' || matrix.nautobot-version == 'ltm-1.6' && 'ltm-1.6' || env.GITHUB_REF_NAME || 'develop' }}\"\n      - name: \"Setup environment\"\n        uses: \"networktocode/gh-action-setup-poetry-environment@v2\"\n      - name: \"Set up Docker Buildx\"\n        id: \"buildx\"\n        uses: \"docker/setup-buildx-action@v1\"\n      - name: \"Build\"\n        uses: \"docker/build-push-action@v2\"\n        with:\n          builder: \"${{ steps.buildx.outputs.name }}\"\n          context: \"./\"\n          push: false\n          load: true\n          tags: \"${{ inputs.plugin_name }}/nautobot:${{ matrix.nautobot-version }}-py${{ env.PYTHON_VERSION }}\"\n          file: \"./development/Dockerfile\"\n          cache-from: \"type=gha,scope=nautobot-${{ matrix.nautobot-version }}\"\n          build-args: |\n            NAUTOBOT_VER=${{ matrix.nautobot-version }}\n            PYTHON_VER=${{ env.PYTHON_VERSION }}\n      - name: \"Copy credentials\"\n        run: \"cp development/creds.example.env development/creds.env\"\n      - name: \"Run Tests\"\n        run: \"INVOKE_${{ inputs.invoke_context_name }}_NAUTOBOT_VER=${{ matrix.nautobot-version }} INVOKE_${{ inputs.invoke_context_name }}_PYTHON_VER=${{ env.PYTHON_VERSION }} poetry run invoke unittest --failfast --keepdb\"\n", "state": "active", "repository": "nautobot/nautobot"}
{"mined_at": "2024-07-15T16:00:03.351708", "created_at": "2023-09-18T15:08:17+02:00", "updated_at": "2023-09-18T15:08:17+02:00", "name": "Pre-Release", "path": ".github/workflows/prerelease-manual.yml", "contents": null, "state": "active", "repository": "nautobot/nautobot"}
{"mined_at": "2024-07-15T16:00:04.594183", "created_at": "2022-03-14T20:52:17+01:00", "updated_at": "2023-07-08T13:41:29+02:00", "name": "Pre-Release", "path": ".github/workflows/prerelease.yml", "contents": "---\nname: \"Pre-Release\"\non:\n  release:\n    types: [\"prereleased\"]\n\njobs:\n  # Ensure CI has passed\n  ci:\n    uses: ./.github/workflows/ci_integration.yml\n\n  # Publish to GitHub followed by pypi\n  publish_python:\n    needs:\n      - \"ci\"\n    name: \"Publish Python Packages\"\n    runs-on: \"ubuntu-20.04\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Set up Python\"\n        uses: \"actions/setup-python@v2\"\n        with:\n          python-version: \"3.11\"\n      - name: \"Install Python Packages\"\n        run: \"pip install poetry\"\n      - name: \"Configure Poetry\"\n        run: \"poetry config virtualenvs.create false && poetry config installer.parallel false\"\n      - name: \"Install Dependencies (needed for mkdocs)\"\n        run: \"poetry install --no-root\"\n      - name: \"Build Documentation\"\n        run: \"poetry run mkdocs build --no-directory-urls --strict\"\n      - name: \"Run Poetry Build\"\n        run: \"poetry build\"\n      - name: \"Upload binaries to release\"\n        uses: \"svenstaro/upload-release-action@v2\"\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          file: \"dist/*\"\n          tag: \"${{ github.ref }}\"\n          overwrite: true\n          file_glob: true\n      - name: \"Push to PyPI\"\n        uses: \"pypa/gh-action-pypi-publish@release/v1\"\n        with:\n          user: \"__token__\"\n          password: \"${{ secrets.PYPI_API_TOKEN }}\"\n\n  publish_containers:\n    name: \"Build & Publish Container Images\"\n    runs-on: \"ubuntu-20.04\"\n    needs:\n      - \"ci\"\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n    env:\n      INVOKE_NAUTOBOT_PYTHON_VER: \"${{ matrix.python-version }}\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >> $GITHUB_OUTPUT\n        id: \"gitbranch\"\n      - name: \"Set up QEMU\"\n        uses: \"docker/setup-qemu-action@v1\"\n      - name: \"Set up Docker Buildx\"\n        uses: \"docker/setup-buildx-action@v1\"\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Login to Docker\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: \"Docker Metadata\"\n        id: \"dockermeta\"\n        uses: \"docker/metadata-action@v3\"\n        with:\n          images: \"networktocode/nautobot,ghcr.io/nautobot/nautobot\"\n          flavor: |\n            latest=false\n          tags: |\n            type=match,pattern=v(.*),group=1,suffix=-py${{ matrix.python-version }}\n            type=semver,pattern={{version}},enable=${{ matrix.python-version == 3.11 }}\n          labels: |\n            org.opencontainers.image.title=Nautobot\n      - name: \"Build\"\n        uses: \"docker/build-push-action@v2\"\n        with:\n          push: true\n          target: final\n          file: \"docker/Dockerfile\"\n          platforms: \"linux/amd64,linux/arm64\"\n          tags: \"${{ steps.dockermeta.outputs.tags }}\"\n          labels: \"${{ steps.dockermeta.outputs.labels }}\"\n          cache-from: \"type=gha,scope=nautobot-${{ steps.gitbranch.outputs.branch }}-${{ matrix.python-version }}\"\n          cache-to: \"type=gha,mode=max,scope=nautobot-${{ steps.gitbranch.outputs.branch }}-${{ matrix.python-version }}\"\n          context: \".\"\n          build-args: |\n            PYTHON_VER=${{ matrix.python-version }}\n            POETRY_INSTALLER_PARALLEL=true\n      - name: \"Docker Dev Metadata\"\n        id: \"dockerdevmeta\"\n        uses: \"docker/metadata-action@v3\"\n        with:\n          images: \"networktocode/nautobot-dev,ghcr.io/nautobot/nautobot-dev\"\n          flavor: |\n            latest=false\n          tags: |\n            type=match,pattern=v(.*),group=1,suffix=-py${{ matrix.python-version }}\n            type=semver,pattern={{version}},enable=${{ matrix.python-version == 3.11 }}\n          labels: |\n            org.opencontainers.image.title=Nautobot\n      - name: \"Build Dev Containers\"\n        uses: \"docker/build-push-action@v2\"\n        with:\n          push: true\n          target: final-dev\n          file: \"docker/Dockerfile\"\n          platforms: \"linux/amd64,linux/arm64\"\n          tags: \"${{ steps.dockerdevmeta.outputs.tags }}\"\n          labels: \"${{ steps.dockerdevmeta.outputs.labels }}\"\n          cache-from: \"type=gha,scope=nautobot-${{ steps.gitbranch.outputs.branch }}-${{ matrix.python-version }}\"\n          cache-to: \"type=gha,mode=max,scope=nautobot-${{ steps.gitbranch.outputs.branch }}-${{ matrix.python-version }}\"\n          context: \".\"\n          build-args: |\n            PYTHON_VER=${{ matrix.python-version }}\n            POETRY_INSTALLER_PARALLEL=true\n\n  slack-notify:\n    needs:\n      - \"publish_python\"\n      - \"publish_containers\"\n    runs-on: \"ubuntu-20.04\"\n    env:\n      SLACK_WEBHOOK_URL: \"${{ secrets.SLACK_WEBHOOK_URL }}\"\n      SLACK_MESSAGE: >-\n        *NOTIFICATION: NEW-RELEASE-PUBLISHED*\\n\n        Repository: <${{ github.server_url }}/${{ github.repository }}|${{ github.repository }}>\\n\n        Release: <${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.ref_name }}|${{ github.ref_name }}>\\n\n        Published by: <${{ github.server_url }}/${{ github.actor }}|${{ github.actor }}>\n    steps:\n      - name: \"Send a notification to Slack\"\n        # ENVs cannot be used directly in job.if. This is a workaround to check\n        # if SLACK_WEBHOOK_URL is present.\n        if: \"${{ env.SLACK_WEBHOOK_URL != '' }}\"\n        uses: \"slackapi/slack-github-action@v1.17.0\"\n        with:\n          payload: |\n            {\n              \"text\": \"${{ env.SLACK_MESSAGE }}\",\n              \"blocks\": [\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"${{ env.SLACK_MESSAGE }}\"\n                  }\n                }\n              ]\n            }\n        env:\n          SLACK_WEBHOOK_URL: \"${{ secrets.SLACK_WEBHOOK_URL }}\"\n          SLACK_WEBHOOK_TYPE: \"INCOMING_WEBHOOK\"\n\n  deploy-sandbox:\n    if: startsWith(github.event.release.tag_name, 'v2.')\n    needs:\n      - \"publish_python\"\n      - \"publish_containers\"\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Call deploy sandbox workflow for next.demo.nautobot.com\n        run: gh workflow run deploy_sandbox.yml -R nautobot/sandboxes -f sandbox_environment=next.demo\n        env:\n          GH_TOKEN: ${{ secrets.GH_NAUTOBOT_BOT_TOKEN }}\n", "state": "active", "repository": "nautobot/nautobot"}
{"mined_at": "2024-07-15T16:00:05.591852", "created_at": "2023-09-29T17:33:29+02:00", "updated_at": "2023-09-29T17:33:29+02:00", "name": "Release", "path": ".github/workflows/release-manual.yml", "contents": null, "state": "active", "repository": "nautobot/nautobot"}
{"mined_at": "2024-07-15T16:00:06.608537", "created_at": "2022-01-07T21:44:20+01:00", "updated_at": "2022-04-18T20:36:36+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "---\nname: \"Release\"\non:\n  release:\n    types: [\"released\"]\n\njobs:\n  # Ensure CI has passed\n  ci:\n    uses: nautobot/nautobot/.github/workflows/ci_integration.yml@main\n\n  # Publish to GitHub followed by pypi\n  publish_python:\n    needs:\n      - \"ci\"\n    name: \"Publish Python Packages\"\n    runs-on: \"ubuntu-20.04\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v2\"\n      - name: \"Set up Python\"\n        uses: \"actions/setup-python@v2\"\n        with:\n          python-version: \"3.11\"\n      - name: \"Install Python Packages\"\n        run: \"pip install poetry\"\n      - name: \"Configure Poetry\"\n        run: \"poetry config virtualenvs.create false && poetry config installer.parallel false\"\n      - name: \"Install Dependencies (needed for mkdocs)\"\n        run: \"poetry install --no-root\"\n      - name: \"Build Documentation\"\n        run: \"poetry run mkdocs build --no-directory-urls --strict\"\n      - name: \"Run Poetry Build\"\n        run: \"poetry build\"\n      - name: \"Upload binaries to release\"\n        uses: \"svenstaro/upload-release-action@v2\"\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          file: \"dist/*\"\n          tag: \"${{ github.ref }}\"\n          overwrite: true\n          file_glob: true\n      - name: \"Push to PyPI\"\n        uses: \"pypa/gh-action-pypi-publish@release/v1\"\n        with:\n          user: \"__token__\"\n          password: \"${{ secrets.PYPI_API_TOKEN }}\"\n\n  publish_containers:\n    name: \"Build & Publish Container Images\"\n    runs-on: \"ubuntu-22.04\"\n    needs:\n      - \"ci\"\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n    env:\n      INVOKE_NAUTOBOT_PYTHON_VER: \"${{ matrix.python-version }}\"\n    steps:\n      - name: \"Check out repository code\"\n        uses: \"actions/checkout@v3\"\n      - run: echo \"branch=$(echo ${GITHUB_REF#refs/heads/})\" >> $GITHUB_OUTPUT\n        id: \"gitbranch\"\n      - name: \"Set up QEMU\"\n        uses: \"docker/setup-qemu-action@v2\"\n      - name: \"Set up Docker Buildx\"\n        uses: \"docker/setup-buildx-action@v2\"\n      - name: \"Login to GitHub Container Registry\"\n        uses: \"docker/login-action@v2\"\n        with:\n          registry: \"ghcr.io\"\n          username: \"${{ github.actor }}\"\n          password: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: \"Login to Docker\"\n        uses: \"docker/login-action@v2\"\n        with:\n          username: \"${{ secrets.DOCKERHUB_USERNAME }}\"\n          password: \"${{ secrets.DOCKERHUB_TOKEN }}\"\n      - name: \"Docker Metadata\"\n        id: \"dockermeta\"\n        uses: \"docker/metadata-action@v4\"\n        with:\n          images: \"networktocode/nautobot,ghcr.io/nautobot/nautobot\"\n          flavor: |\n            latest=${{ matrix.python-version == 3.11 }}\n          tags: |\n            type=semver,pattern={{version}}-py${{ matrix.python-version }}\n            type=semver,pattern={{version}},enable=${{ matrix.python-version == 3.11 }}\n            type=semver,pattern={{major}}.{{minor}}-py${{ matrix.python-version }}\n            type=semver,pattern={{major}}.{{minor}},enable=${{ matrix.python-version == 3.11 }}\n            type=raw,value=latest-py${{ matrix.python-version }}\n            type=raw,value=stable,enable=${{ matrix.python-version == 3.11 }}\n            type=raw,value=stable-py${{ matrix.python-version }}\n          labels: |\n            org.opencontainers.image.title=Nautobot\n      - name: \"Build\"\n        uses: \"docker/build-push-action@v4\"\n        with:\n          push: true\n          target: final\n          file: \"docker/Dockerfile\"\n          platforms: \"linux/amd64,linux/arm64\"\n          tags: \"${{ steps.dockermeta.outputs.tags }}\"\n          labels: \"${{ steps.dockermeta.outputs.labels }}\"\n          cache-from: \"type=gha,scope=nautobot-${{ steps.gitbranch.outputs.branch }}-${{ matrix.python-version }}\"\n          cache-to: \"type=gha,mode=max,scope=nautobot-${{ steps.gitbranch.outputs.branch }}-${{ matrix.python-version }}\"\n          context: \".\"\n          build-args: |\n            PYTHON_VER=${{ matrix.python-version }}\n            POETRY_INSTALLER_PARALLEL=true\n      - name: \"Docker Dev Metadata\"\n        id: \"dockerdevmeta\"\n        uses: \"docker/metadata-action@v4\"\n        with:\n          images: \"networktocode/nautobot-dev,ghcr.io/nautobot/nautobot-dev\"\n          flavor: |\n            latest=${{ matrix.python-version == 3.11 }}\n          tags: |\n            type=semver,pattern={{version}}-py${{ matrix.python-version }}\n            type=semver,pattern={{version}},enable=${{ matrix.python-version == 3.11 }}\n            type=semver,pattern={{major}}.{{minor}}-py${{ matrix.python-version }}\n            type=semver,pattern={{major}}.{{minor}},enable=${{ matrix.python-version == 3.11 }}\n            type=raw,value=latest-py${{ matrix.python-version }}\n            type=raw,value=stable,enable=${{ matrix.python-version == 3.11 }}\n            type=raw,value=stable-py${{ matrix.python-version }}\n          labels: |\n            org.opencontainers.image.title=Nautobot\n      - name: \"Build Dev Containers\"\n        uses: \"docker/build-push-action@v4\"\n        with:\n          push: true\n          target: final-dev\n          file: \"docker/Dockerfile\"\n          platforms: \"linux/amd64,linux/arm64\"\n          tags: \"${{ steps.dockerdevmeta.outputs.tags }}\"\n          labels: \"${{ steps.dockerdevmeta.outputs.labels }}\"\n          cache-from: \"type=gha,scope=nautobot-${{ steps.gitbranch.outputs.branch }}-${{ matrix.python-version }}\"\n          cache-to: \"type=gha,mode=max,scope=nautobot-${{ steps.gitbranch.outputs.branch }}-${{ matrix.python-version }}\"\n          context: \".\"\n          build-args: |\n            PYTHON_VER=${{ matrix.python-version }}\n            POETRY_INSTALLER_PARALLEL=true\n\n  slack-notify:\n    needs:\n      - \"publish_python\"\n      - \"publish_containers\"\n    runs-on: \"ubuntu-20.04\"\n    env:\n      SLACK_WEBHOOK_URL: \"${{ secrets.SLACK_WEBHOOK_URL }}\"\n      SLACK_MESSAGE: >-\n        *NOTIFICATION: NEW-RELEASE-PUBLISHED*\\n\n        Repository: <${{ github.server_url }}/${{ github.repository }}|${{ github.repository }}>\\n\n        Release: <${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.ref_name }}|${{ github.ref_name }}>\\n\n        Published by: <${{ github.server_url }}/${{ github.actor }}|${{ github.actor }}>\n    steps:\n      - name: \"Send a notification to Slack\"\n        # ENVs cannot be used directly in job.if. This is a workaround to check\n        # if SLACK_WEBHOOK_URL is present.\n        if: \"${{ env.SLACK_WEBHOOK_URL != '' }}\"\n        uses: \"slackapi/slack-github-action@v1.17.0\"\n        with:\n          payload: |\n            {\n              \"text\": \"${{ env.SLACK_MESSAGE }}\",\n              \"blocks\": [\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"${{ env.SLACK_MESSAGE }}\"\n                  }\n                }\n              ]\n            }\n        env:\n          SLACK_WEBHOOK_URL: \"${{ secrets.SLACK_WEBHOOK_URL }}\"\n          SLACK_WEBHOOK_TYPE: \"INCOMING_WEBHOOK\"\n\n  deploy-sandbox:\n    if: startsWith(github.event.release.tag_name, 'v2.')\n    needs:\n      - \"publish_python\"\n      - \"publish_containers\"\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Call deploy sandbox workflow for demo.nautobot.com\n        run: gh workflow run deploy_sandbox.yml -R nautobot/sandboxes -f sandbox_environment=demo\n        env:\n          GH_TOKEN: ${{ secrets.GH_NAUTOBOT_BOT_TOKEN }}\n", "state": "active", "repository": "nautobot/nautobot"}
{"mined_at": "2024-07-15T16:00:07.867332", "created_at": "2021-10-25T19:46:29+02:00", "updated_at": "2021-10-25T19:46:29+02:00", "name": "Update Nautobot Sandbox", "path": ".github/workflows/sandbox.yml", "contents": "---\nname: \"Update Nautobot Sandbox\"\non:\n  push:\n    branches:\n      - \"develop\"\n      - \"next\"\n      - \"main\"\n\njobs:\n  webhook:\n    runs-on: \"ubuntu-20.04\"\n    steps:\n      - run: \"echo branch_name=$(echo ${{ github.ref }} | sed 's@refs/heads/@@') >> $GITHUB_OUTPUT\"\n        id: \"git\"\n      - name: \"Call Webhook\"\n        run: |\n          curl --location --request POST --user \"${{ secrets.SANDBOX_GITHUB_USERNAME }}:${{ secrets.SANDBOX_GITHUB_TOKEN }}\"\\\n            --header 'Content-Type: application/json' \\\n            --header 'Accept: application/vnd.github.everest-preview+json' \\\n            --data '{\n              \"ref\": \"${{ secrets.SANDBOX_BRANCH }}\",\n              \"inputs\": {\n                \"hash\": \"${{ github.sha }}\",\n                \"environment\": \"${{ steps.git.outputs.branch_name }}\"\n              }\n            }' \\\n            'https://api.github.com/repos/networktocode-llc/sandbox-nautobot/actions/workflows/webhook.yml/dispatches'\n", "state": "active", "repository": "nautobot/nautobot"}
{"mined_at": "2024-07-15T16:00:08.976371", "created_at": "2023-07-31T14:55:50+02:00", "updated_at": "2023-07-31T14:58:17+02:00", "name": "Testing workflow", "path": ".github/workflows/test-build-nautobot-action.yaml", "contents": null, "state": "active", "repository": "nautobot/nautobot"}
{"mined_at": "2024-07-15T16:00:11.204512", "created_at": "2020-08-18T20:03:15+02:00", "updated_at": "2021-08-13T19:20:08+02:00", "name": "Cleanup", "path": ".github/workflows/cleanup.yml", "contents": "name: Cleanup\n\non:\n  pull_request:\n    types: [closed]\n    branches:\n      - main\n\njobs:\n  cleanup-non-db:\n    name: Delete non-DB resources associated with pr\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: |\n          echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Clean up - dev (OCP4)\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_TARGET=e1e498-dev bash openshift/scripts/oc_cleanup.sh ${SUFFIX} apply\n\n      - name: Clean up - tools (OCP4)\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_TOOL_TOKEN }}\"\n          bash openshift/scripts/oc_cleanup_tools.sh ${SUFFIX} apply\n\n      - name: Clean up - test (OCP4)\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_TEST_TOKEN }}\"\n          PROJ_TARGET=e1e498-test bash openshift/scripts/oc_cleanup.sh ${SUFFIX} apply\n\n  cleanup-db:\n    name: Delete DB resources associated with PR\n    needs: cleanup-non-db\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: |\n          echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Clean up dev database\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_TARGET=e1e498-dev bash openshift/scripts/oc_cleanup_db.sh ${SUFFIX} apply\n\n      - name: Clean up test database\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_TEST_TOKEN }}\"\n          PROJ_TARGET=e1e498-test bash openshift/scripts/oc_cleanup_db.sh ${SUFFIX} apply\n\n      - name: Clean up s3 backups in object store\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_TARGET=e1e498-dev bash openshift/scripts/oc_provision_backup_s3_cleanup.sh ${SUFFIX}\n", "state": "active", "repository": "bcgov/wps"}
{"mined_at": "2024-07-15T16:00:12.250285", "created_at": "2020-08-13T23:32:24+02:00", "updated_at": "2022-11-29T01:26:59+01:00", "name": "Deployment", "path": ".github/workflows/deployment.yml", "contents": "name: Deployment\n\non:\n  pull_request:\n    branches:\n      - main\n\njobs:\n  prepare-dev-database:\n    name: Prepare Dev Database\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: |\n          echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Deploy PostGIS instance\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          EPHEMERAL_STORAGE=True BUCKET=gpdqha DATA_SIZE=1Gi WAL_SIZE=1Gi bash openshift/scripts/oc_provision_crunchy.sh ${SUFFIX} apply\n\n  build-web-image:\n    # Declared ahead of build-api-image ; it runs slightly slower than the api build, and putting\n    # it here increases the odds that it get's started 1st, so api and web are slightly more likely\n    # to finish building at the same time.\n    name: Build Web Image\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: |\n          echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Build wps-web Image\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_TOOL_TOKEN }}\"\n          GIT_BRANCH=${GITHUB_HEAD_REF} MODULE_NAME=web DOCKER_FILE=Dockerfile.web PATH_BC=openshift/templates/build.web.bc.yaml SENTRY_AUTH_TOKEN=\"${{ secrets.SENTRY_AUTH_TOKEN }}\" ARTIFACTORY_SVCACCT_TOKEN=\"${{ secrets.ARTIFACTORY_SVCACCT_TOKEN}}\" bash openshift/scripts/oc_build.sh ${SUFFIX} apply\n\n  build-api-image:\n    name: Build API Image\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: |\n          echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Build wps-api Image\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_TOOL_TOKEN }}\"\n          GIT_BRANCH=${GITHUB_HEAD_REF} MODULE_NAME=api ARTIFACTORY_PYPI_USERNAME=${{ secrets.ARTIFACTORY_PYPI_USERNAME }} ARTIFACTORY_PYPI_PASSWORD=${{ secrets.ARTIFACTORY_PYPI_PASSWORD }} bash openshift/scripts/oc_build.sh ${SUFFIX} apply\n  # TODO: Delete once pmtiles has run for some time\n  # build-tileserv-image:\n  #   name: Build tileserv Image\n  #   runs-on: ubuntu-22.04\n  #   steps:\n  #     - name: Set Variables\n  #       shell: bash\n  #       run: |\n  #         echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n  #     - name: Checkout\n  #       uses: actions/checkout@v4\n\n  #     - name: Build wps-tileserv Image\n  #       shell: bash\n  #       run: |\n  #         oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_TOOL_TOKEN }}\"\n  #           GIT_BRANCH=${GITHUB_HEAD_REF} MODULE_NAME=tileserv DOCKER_FILE=Dockerfile.tileserv PATH_BC=openshift/templates/tileserv/tileserv_build.yaml bash openshift/scripts/oc_build.sh ${SUFFIX} apply\n\n  configure-nats-server-name:\n    name: Configure nats server name\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: |\n          echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Configure\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          bash openshift/scripts/oc_provision_nats_server_config.sh ${SUFFIX} apply\n\n  deploy-sfms-dev:\n    name: Deploy SFMS API to dev\n    if: github.triggering_actor != 'renovate'\n    needs: [build-api-image, deploy-dev-queue, configure-nats-server-name]\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: |\n          echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Configure\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          MODULE_NAME=api SECOND_LEVEL_DOMAIN=\"apps.silver.devops.gov.bc.ca\" VANITY_DOMAIN=\"${SUFFIX}-dev-psu.apps.silver.devops.gov.bc.ca\" ENVIRONMENT=\"development\" bash openshift/scripts/oc_deploy_sfms.sh ${SUFFIX} apply\n\n  deploy-dev:\n    name: Deploy to Dev\n    if: github.triggering_actor != 'renovate'\n    needs:\n      [\n        build-api-image,\n        build-web-image,\n        prepare-dev-database,\n        deploy-dev-queue,\n        configure-nats-server-name,\n      ]\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: |\n          echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Deploy API to Dev\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          MODULE_NAME=api SECOND_LEVEL_DOMAIN=\"apps.silver.devops.gov.bc.ca\" VANITY_DOMAIN=\"${SUFFIX}-dev-psu.apps.silver.devops.gov.bc.ca\" USE_WFWX=\"True\" ENVIRONMENT=\"development\" bash openshift/scripts/oc_deploy.sh ${SUFFIX} apply\n\n      ## TODO: re-enable once crunchy is deployed: https://app.zenhub.com/workspaces/bcws---agile-psu-5e321393e038fba5bbe203b8/issues/gh/bcgov/wps/2340\n      - name: Hourly actuals cronjob\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          bash openshift/scripts/oc_provision_wfwx_hourly_actuals_cronjob.sh ${SUFFIX} apply\n\n      # - name: Noon forecasts cronjob\n      #   shell: bash\n      #   run: |\n      #     oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n      #     bash openshift/scripts/oc_provision_wfwx_noon_forecasts_cronjob.sh ${SUFFIX} apply\n\n      - name: Environment Canada GDPS cronjob\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_DEV=\"e1e498-dev\" bash openshift/scripts/oc_provision_ec_gdps_cronjob.sh ${SUFFIX} apply\n\n      - name: Environment Canada HRDPS cronjob\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_DEV=\"e1e498-dev\" bash openshift/scripts/oc_provision_ec_hrdps_cronjob.sh ${SUFFIX} apply\n\n      # - name: Environment Canada RDPS cronjob\n      #   shell: bash\n      #   run: |\n      #     oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n      #     PROJ_DEV=\"e1e498-dev\" bash openshift/scripts/oc_provision_ec_rdps_cronjob.sh ${SUFFIX} apply\n\n      - name: NOAA GFS cronjob\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_DEV=\"e1e498-dev\" bash openshift/scripts/oc_provision_noaa_gfs_cronjob.sh ${SUFFIX} apply\n\n      - name: NOAA NAM cronjob\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_DEV=\"e1e498-dev\" bash openshift/scripts/oc_provision_noaa_nam_cronjob.sh ${SUFFIX} apply\n\n      - name: VIIRS SNOW cronjob\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_DEV=\"e1e498-dev\" bash openshift/scripts/oc_provision_viirs_snow_cronjob.sh ${SUFFIX} apply\n\n      - name: GRASS CURING cronjob\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_DEV=\"e1e498-dev\" bash openshift/scripts/oc_provision_grass_curing_cronjob.sh ${SUFFIX} apply\n      \n      - name: RDPS SFMS cronjob\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_DEV=\"e1e498-dev\" bash openshift/scripts/oc_provision_rdps_sfms_cronjob.sh ${SUFFIX} apply\n\n      - name: Hourly pruner nightly cronjob\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_DEV=\"e1e498-dev\" bash openshift/scripts/oc_provision_hourly_prune_cronjob.sh ${SUFFIX} apply\n\n  # TODO: Delete once pmtiles has run for some time\n  # deploy-tileserv:\n  #   name: Deploy tileserv to Dev\n  #   if: github.triggering_actor != 'renovate'\n  #   runs-on: ubuntu-22.04\n  #   # We need\n  #   # - the image to be built before we can deploy.\n  #   needs: [build-tileserv-image]\n  #   steps:\n  #     - name: Set Variables\n  #       shell: bash\n  #       run: |\n  #         echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n  #     - name: Checkout\n  #       uses: actions/checkout@v3\n\n  #     - name: Tileserv\n  #       shell: bash\n  #       run: |\n  #         oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n  #         PROJ_DEV=\"e1e498-dev\" bash openshift/scripts/oc_provision_tileserv.sh ${SUFFIX} apply\n\n  deploy-dev-queue:\n    name: Deploy Message Queue to Dev\n    if: github.triggering_actor != 'renovate'\n    runs-on: ubuntu-22.04\n    # We need\n    # - the image to be built before we can deploy.\n    # - we need the tileserv database up so we can write to it\n    needs: [build-api-image, configure-nats-server-name]\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: |\n          echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: NATS Message Queue\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_DEV=\"e1e498-dev\" bash openshift/scripts/oc_provision_nats.sh ${SUFFIX} apply\n\n  scan-dev:\n    name: ZAP Baseline Scan Dev\n    needs: [deploy-dev]\n    runs-on: ubuntu-22.04\n\n    steps:\n      # f.y.i.: ZAP Scan must be able to log an issue or it will fail.\n      - name: ZAP Scan\n        uses: zaproxy/action-baseline@v0.12.0\n        with:\n          target: \"https://wps-pr-${{ github.event.number }}.apps.silver.devops.gov.bc.ca\"\n          rules_file_name: \".zap/rules.tsv\"\n          # Do not return failure on warnings - TODO: this has to be resolved!\n          cmd_options: \"-I\"\n\n  run-schemathesis:\n    name: Schemathesis Fuzzing\n    if: github.triggering_actor != 'renovate'\n    runs-on: ubuntu-22.04\n    needs: [deploy-dev]\n\n    steps:\n      - name: Run Schemathesis\n        continue-on-error: true\n        uses: schemathesis/action@v1\n        with:\n          # Your API schema location\n          schema: \"https://wps-pr-${{ github.event.number }}.apps.silver.devops.gov.bc.ca/api/openapi.json\"\n          args: \"--experimental=openapi-3.1\"\n          # Set your token from secrets\n          token: ${{ secrets.SCHEMATHESIS_TOKEN }}\n\n  deploy-c-haines:\n    name: Deploy c-haines cronjob\n    if: github.triggering_actor != 'renovate'\n    runs-on: ubuntu-22.04\n    # We need\n    # - the image to be built before we can deploy.\n    # - the database to be there (so we can write to it).\n    # - wait for the api deployment, as it's responsible for upgrading the database.\n    needs: [build-api-image, prepare-dev-database, deploy-dev]\n\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: C-Haines Cronjob\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_DEV_TOKEN }}\"\n          PROJ_TARGET=\"e1e498-dev\" PROJ_TOOLS=\"e1e498-tools\" PROJ_DEV=\"e1e498-dev\" bash openshift/scripts/oc_provision_c_haines_cronjob.sh ${SUFFIX} apply\n\n  prepare-test-database:\n    name: Prepare Test Database\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: |\n          echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Deploy PostGIS instance\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_TEST_TOKEN }}\"\n          EPHEMERAL_STORAGE=True PROJ_TARGET=e1e498-test APP_USER=\"wps\" IMAGE_STREAM_NAMESPACE=e1e498-tools bash openshift/scripts/oc_provision_db.sh ${SUFFIX} apply\n\n  deploy-test:\n    name: Deploy to Test\n    if: github.triggering_actor != 'renovate'\n    needs: [build-api-image, build-web-image, prepare-test-database]\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: |\n          echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Deploy API to Test\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_TEST_TOKEN }}\"\n          MODULE_NAME=api PROJ_TARGET=\"e1e498-test\" ENVIRONMENT=\"-test\" VANITY_DOMAIN=\"${SUFFIX}-test-psu.apps.silver.devops.gov.bc.ca\" SECOND_LEVEL_DOMAIN=\"apps.silver.devops.gov.bc.ca\" USE_WFWX=\"True\" bash openshift/scripts/oc_deploy.sh ${SUFFIX} apply\n\n      # Just run 1/3 EnvCan cronjobs so there's some model data in DB for comparison against P3 actuals and forecasts\n      # Don't need all model data\n      - name: Environment Canada RDPS cronjob (Donald)\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_TEST_TOKEN }}\"\n          PROJ_TARGET=\"e1e498-test\" bash openshift/scripts/oc_provision_ec_rdps_cronjob.sh ${SUFFIX} apply\n\n  test-configure-nats-server-name:\n    name: Configure nats server name in test\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Set Variables\n        shell: bash\n        run: |\n          echo \"SUFFIX=pr-${{ github.event.number }}\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Configure\n        shell: bash\n        run: |\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_TEST_TOKEN }}\"\n          PROJ_TARGET=\"e1e498-test\" bash openshift/scripts/oc_provision_nats_server_config.sh ${SUFFIX} apply\n", "state": "active", "repository": "bcgov/wps"}
{"mined_at": "2024-07-15T16:00:13.499608", "created_at": "2020-08-13T23:32:24+02:00", "updated_at": "2021-08-13T01:43:00+02:00", "name": "Integration", "path": ".github/workflows/integration.yml", "contents": "name: Integration\n\non:\n  pull_request:\n    branches:\n      - main\njobs:\n  lint-api:\n    name: Python - Lint\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.10.4]\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Install ubuntu pre-requisites (api)\n        # The python gdal and R component relies on libgdal-dev being installed.\n        # cffdrs requires libudunits2-dev\n        run: |\n          sudo apt-get update\n          sudo apt-get -y install libgdal-dev libudunits2-dev\n      - name: Setup Python ${{ matrix.python-version }} (api)\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache poetry installer\n        uses: actions/cache@v4\n        id: cache-poetry-installer\n        env:\n          cache-name: cache-poetry-installer\n        with:\n          path: \"~/poetry_installer\"\n          key: \"poetry-installer-1.6.1\"\n      - name: Download poetry installer\n        if: steps.cache-poetry-installer.outputs.cache-hit != 'true'\n        run: |\n          echo\n          mkdir ~/poetry_installer\n          curl -sSL https://install.python-poetry.org > ~/poetry_installer/install-poetry.py\n      - name: Install poetry (api)\n        run: |\n          cd ~/poetry_installer\n          python install-poetry.py --version 1.6.1\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project false\n      - name: Cache poetry\n        uses: actions/cache@v4\n        env:\n          cache-name: cache-poetry\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-1.6.1-cache-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-poetry-1.6.1-cache-\n      - name: Cache .venv\n        id: cache-venv\n        uses: actions/cache@v4\n        with:\n          path: ~/work/wps/wps/api/.venv\n          key: ${{ runner.os }}-venv-poetry-1.6.1-${{ hashFiles('**/poetry.lock') }}\n      - name: Install python dependencies using poetry (api)\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        working-directory: ./api\n        run: |\n          poetry config http-basic.psu ${{ secrets.ARTIFACTORY_PYPI_USERNAME }} ${{ secrets.ARTIFACTORY_PYPI_PASSWORD }}\n          poetry run python -m pip install --upgrade pip\n          poetry install\n          poetry run python -m pip install gdal==$(gdal-config --version)\n      - name: Lint (api)\n        # We used to be able to do linting before installing gdal, but it's not possible anymore.\n        # We can however place it ahead of the R installs.\n        working-directory: ./api\n        run: |\n          poetry run ruff app/*.py app/**/*.py\n\n  test-api:\n    name: Python - Test with coverage\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        # Match versions for python + R to Ubuntu 22.04 LTS at the time of writing.\n        python-version: [3.10.4]\n        R: [\"4.1.2\"]\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          # For sonar-scanner to work properly we can't use a shallow fetch.\n          fetch-depth: 0\n      - name: Install ubuntu pre-requisites (api)\n        # The python gdal and R component relies on libgdal-dev being installed.\n        # cffdrs requires libudunits2-dev\n        # The api uses wkhtmltopdf to generate pdf's.\n        run: |\n          sudo apt-get update\n          sudo apt-get -y install libgdal-dev wkhtmltopdf libudunits2-dev\n      - name: Setup Python ${{ matrix.python-version }} (api)\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache poetry installer\n        uses: actions/cache@v4\n        id: cache-poetry-installer\n        env:\n          cache-name: cache-poetry-installer\n        with:\n          path: \"~/poetry_installer\"\n          key: \"poetry-installer-1.6.1\"\n      - name: Download poetry installer\n        if: steps.cache-poetry-installer.outputs.cache-hit != 'true'\n        run: |\n          echo\n          mkdir ~/poetry_installer\n          curl -sSL https://install.python-poetry.org > ~/poetry_installer/install-poetry.py\n      - name: Install poetry (api)\n        run: |\n          cd ~/poetry_installer\n          python install-poetry.py --version 1.6.1\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project false\n      # poetry cache folder: /home/runner/.cache/pypoetry\n      - name: Cache poetry\n        uses: actions/cache@v4\n        env:\n          cache-name: cache-poetry\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-1.6.1-cache-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-poetry-1.6.1-cache-\n      - name: Cache .venv\n        id: cache-venv\n        uses: actions/cache@v4\n        with:\n          path: ~/work/wps/wps/api/.venv\n          key: ${{ runner.os }}-venv-poetry-1.6.1-${{ hashFiles('**/poetry.lock') }}\n      - name: Install python dependencies using poetry (api)\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        working-directory: ./api\n        run: |\n          poetry config http-basic.psu ${{ secrets.ARTIFACTORY_PYPI_USERNAME }} ${{ secrets.ARTIFACTORY_PYPI_PASSWORD }}\n          poetry run python -m pip install --upgrade pip\n          poetry install\n          poetry run python -m pip install gdal==$(gdal-config --version)\n      - uses: r-lib/actions/setup-r@v2\n        # r-lib/actions/setup-r@v2 is supposed to install version ${{ matrix.R }}, BUT, it doesn't.\n        # When asking for 4.1.2 - it's installing a new version! Or at least reporting a newer\n        # version.\n        with:\n          r-version: ${{ matrix.R }}\n      - name: Cache /home/runner/work/_temp/Library\n        # When installing cffdrs, a bunch of stuff is downloaded and compiled and placed in\n        # /home/runner/work/_temp/Library ; By caching this folder, subsequent calls to\n        # install cffdrs run much faster.\n        id: cache-r-cffdrs\n        uses: actions/cache@v4\n        with:\n          path: /home/runner/work/_temp/Library\n          key: ${{ runner.os }}-r-${{ matrix.R }}-cffdrs\n      - name: Install R dependencies (api)\n        run: R -e \"install.packages('cffdrs')\"\n      - name: Unit Test with coverage (api)\n        working-directory: ./api\n        run: |\n          export LD_LIBRARY_PATH=$(poetry run python -m rpy2.situation LD_LIBRARY_PATH):${LD_LIBRARY_PATH}\n          export CLASSPATH=./libs/REDapp_Lib.jar:./libs/WTime.jar:./libs/hss-java.jar:$CLASSPATH\n          export ORIGINS=testorigin\n          export SFMS_SECRET=secret\n          poetry run coverage run --source=app -m pytest app/tests -x -o log_cli=true --disable-warnings -vvv\n      - name: Create coverage report (api)\n        working-directory: ./api\n        shell: bash\n        run: |\n          poetry run coverage report\n          poetry run coverage xml -o coverage-reports/coverage-report.xml\n      - name: Archive coverage report (api)\n        uses: actions/upload-artifact@v3\n        with:\n          name: api-coverage-report\n          path: ./api/coverage-reports/coverage-report.xml\n  lint-and-test-web:\n    name: Web - Lint, Test with coverage\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        node-version: [18.x]\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          # For sonar-scanner to work properly we can't use a shallow fetch.\n          fetch-depth: 0\n      - name: Setup kernel for react, increase watchers\n        run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n      - uses: actions/cache@v4\n        with:\n          path: |\n            **/node_modules\n            ~/.cache/Cypress\n          key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}\n      - name: Setup .nmprc for scoped artifactory packages\n        working-directory: ./web\n        run: npm config set @psu:registry https://artifacts.developer.gov.bc.ca/artifactory/api/npm/pe1e-psu-npm-local/ && npm config set //artifacts.developer.gov.bc.ca/artifactory/api/npm/pe1e-psu-npm-local/:_authToken ${{ secrets.ARTIFACTORY_SVCACCT_TOKEN }}\n      - name: Install node dependencies (web)\n        working-directory: ./web\n        if: steps.yarn-cache.outputs.cache-hit != 'true'\n        run: yarn install\n      - name: Lint (web)\n        working-directory: ./web\n        run: yarn run lint\n      # \"Error: ENOSPC: System limit for number of file watchers reached\" can be addressed\n      # with this: https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers#the-technical-details\n      # It seems unnecessary at the moment because tests pass anyway\n      - name: Cypress tests with coverage (web)\n        working-directory: ./web\n        run: yarn run cypress:ci\n      - name: Unit tests (web)\n        working-directory: ./web\n        run: yarn run coverage:ci\n      - name: Merge and finalize test coverage (web)\n        working-directory: ./web\n        run: yarn run finalizeCoverage\n\n      - name: Archive coverage report\n        uses: actions/upload-artifact@v3\n        with:\n          name: web-coverage-report\n          path: ./web/finalCoverage\n  upload-code-coverage:\n    name: Coverage with CodeCov\n    runs-on: ubuntu-22.04\n    needs: [lint-and-test-web, test-api]\n    steps:\n      # we need to checkout, so that we have codecov.yml\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Download all workflow run artifacts\n        uses: actions/download-artifact@v3\n      - name: Upload test coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{secrets.CODECOV_TOKEN}}\n          # we want to ensure code coverage is good, so we fail on error. (default is false)\n          fail_ci_if_error: true\n  lint-and-test-prune:\n    name: Backup Prune - Lint and Test\n    # We have to use an older ubuntu version, because of the older version of python that the\n    # backup script uses.\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [3.11.2]\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          # For sonar-scanner to work properly we can't use a shallow fetch.\n          fetch-depth: 0\n      - name: Setup Python ${{ matrix.python-version }} (api)\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache poetry installer\n        uses: actions/cache@v4\n        id: cache-poetry-installer\n        env:\n          cache-name: cache-poetry-installer\n        with:\n          path: \"~/poetry_installer\"\n          key: \"poetry-installer-1.7.1\"\n      - name: Download poetry installer\n        if: steps.cache-poetry-installer.outputs.cache-hit != 'true'\n        run: |\n          echo\n          mkdir ~/poetry_installer\n          curl -sSL https://install.python-poetry.org > ~/poetry_installer/install-poetry.py\n      - name: Install poetry (api)\n        run: |\n          cd ~/poetry_installer\n          python install-poetry.py --version 1.7.1\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project false\n      # poetry cache folder: /home/runner/.cache/pypoetry\n      - name: Cache poetry\n        uses: actions/cache@v4\n        env:\n          cache-name: cache-poetry\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-prune-cache-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-poetry-prune-cache-\n      - name: Install python dependencies using poetry (s3-backup)\n        working-directory: ./openshift/s3-backup/docker\n        run: |\n          poetry install\n      - name: Lint (s3-backup)\n        working-directory: ./openshift/s3-backup/docker\n        run: poetry run pylint *.py\n      - name: Unit tests (s3-backup)\n        working-directory: ./openshift/s3-backup/docker\n        run: |\n          poetry run pytest -v\n", "state": "active", "repository": "bcgov/wps"}
{"mined_at": "2024-07-15T16:00:14.833839", "created_at": "2021-10-22T01:01:16+02:00", "updated_at": "2021-10-22T01:01:16+02:00", "name": "Post Merge Integration", "path": ".github/workflows/post_merge_integration.yml", "contents": "name: Post Merge Integration\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  lint-api:\n    name: Python - Lint\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.10.4]\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Install ubuntu pre-requisites (api)\n        # The python gdal and R component relies on libgdal-dev being installed.\n        # cffdrs requires libudunits2-dev\n        run: |\n          sudo apt-get update\n          sudo apt-get -y install libgdal-dev libudunits2-dev\n      - name: Setup Python ${{ matrix.python-version }} (api)\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache poetry installer\n        uses: actions/cache@v4\n        id: cache-poetry-installer\n        env:\n          cache-name: cache-poetry-installer\n        with:\n          path: \"~/poetry_installer\"\n          key: \"poetry-installer-1.6.1\"\n      - name: Download poetry installer\n        if: steps.cache-poetry-installer.outputs.cache-hit != 'true'\n        run: |\n          echo\n          mkdir ~/poetry_installer\n          curl -sSL https://install.python-poetry.org > ~/poetry_installer/install-poetry.py\n      - name: Install poetry (api)\n        run: |\n          cd ~/poetry_installer\n          python install-poetry.py --version 1.6.1\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project false\n      - name: Cache poetry\n        uses: actions/cache@v4\n        env:\n          cache-name: cache-poetry\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-1.6.1-cache-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-poetry-1.6.1-cache-\n      - name: Cache .venv\n        id: cache-venv\n        uses: actions/cache@v4\n        with:\n          path: ~/work/wps/wps/api/.venv\n          key: ${{ runner.os }}-venv-poetry-1.6.1-${{ hashFiles('**/poetry.lock') }}\n      - name: Configure artifactory creds for poetry\n        working-directory: ./api\n        run: poetry config http-basic.psu ${{ secrets.ARTIFACTORY_PYPI_USERNAME }}  ${{ secrets.ARTIFACTORY_PYPI_PASSWORD }}\n      - name: Install python dependencies using poetry (api)\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        working-directory: ./api\n        run: |\n          poetry run python -m pip install --upgrade pip\n          poetry install\n          poetry run python -m pip install gdal==$(gdal-config --version)\n      - name: Lint (api)\n        # We used to be able to do linting before installing gdal, but it's not possible anymore.\n        # We can however place it ahead of the R installs.\n        working-directory: ./api\n        run: |\n          poetry run ruff app/*.py app/**/*.py\n\n  test-api:\n    name: Python - Test with coverage\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        # Match versions for python + R to Ubuntu 22.04 LTS at the time of writing.\n        python-version: [3.10.4]\n        R: [\"4.1.2\"]\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          # For sonar-scanner to work properly we can't use a shallow fetch.\n          fetch-depth: 0\n      - name: Install ubuntu pre-requisites (api)\n        # The python gdal and R component relies on libgdal-dev being installed.\n        # cffdrs requires libudunits2-dev\n        # The api uses wkhtmltopdf to generate pdf's.\n        run: |\n          sudo apt-get update\n          sudo apt-get -y install libgdal-dev wkhtmltopdf libudunits2-dev\n      - name: Setup Python ${{ matrix.python-version }} (api)\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache poetry installer\n        uses: actions/cache@v4\n        id: cache-poetry-installer\n        env:\n          cache-name: cache-poetry-installer\n        with:\n          path: \"~/poetry_installer\"\n          key: \"poetry-installer-1.6.1\"\n      - name: Download poetry installer\n        if: steps.cache-poetry-installer.outputs.cache-hit != 'true'\n        run: |\n          echo\n          mkdir ~/poetry_installer\n          curl -sSL https://install.python-poetry.org > ~/poetry_installer/install-poetry.py\n      - name: Install poetry (api)\n        run: |\n          cd ~/poetry_installer\n          python install-poetry.py --version 1.6.1\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project false\n      # poetry cache folder: /home/runner/.cache/pypoetry\n      - name: Cache poetry\n        uses: actions/cache@v4\n        env:\n          cache-name: cache-poetry\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-1.6.1-cache-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-poetry-1.6.1-cache-\n      - name: Cache .venv\n        id: cache-venv\n        uses: actions/cache@v4\n        with:\n          path: ~/work/wps/wps/api/.venv\n          key: ${{ runner.os }}-venv-poetry-1.6.1-${{ hashFiles('**/poetry.lock') }}\n      - name: Configure artifactory creds for poetry\n        working-directory: ./api\n        run: poetry config http-basic.psu ${{ secrets.ARTIFACTORY_PYPI_USERNAME }}  ${{ secrets.ARTIFACTORY_PYPI_PASSWORD }}\n      - name: Install python dependencies using poetry (api)\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        working-directory: ./api\n        run: |\n          poetry run python -m pip install --upgrade pip\n          poetry install\n          poetry run python -m pip install gdal==$(gdal-config --version)\n      - uses: r-lib/actions/setup-r@v2\n        with:\n          r-version: ${{ matrix.R }}\n      - name: Cache /home/runner/work/_temp/Library\n        id: cache-r-cffdrs\n        uses: actions/cache@v4\n        with:\n          path: /home/runner/work/_temp/Library\n          key: ${{ runner.os }}-r-${{ matrix.R }}-cffdrs\n      - name: Install R dependencies (api)\n        run: R -e \"install.packages('cffdrs')\"\n      - name: Unit Test with coverage (api)\n        working-directory: ./api\n        run: |\n          export LD_LIBRARY_PATH=$(poetry run python -m rpy2.situation LD_LIBRARY_PATH):${LD_LIBRARY_PATH}\n          export CLASSPATH=./libs/REDapp_Lib.jar:./libs/WTime.jar:./libs/hss-java.jar:$CLASSPATH\n          export ORIGINS=testorigin\n          export SFMS_SECRET=secret\n          poetry run coverage run --source=app -m pytest app/tests -x -o log_cli=true --disable-warnings -vvv\n      - name: Create coverage report (api)\n        working-directory: ./api\n        shell: bash\n        run: |\n          poetry run coverage report\n          poetry run coverage xml -o coverage-reports/coverage-report.xml\n      - name: Archive coverage report (api)\n        uses: actions/upload-artifact@v3\n        with:\n          name: api-coverage-report\n          path: ./api/coverage-reports/coverage-report.xml\n  lint-and-test-web:\n    name: Web - Lint, Test with coverage\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        node-version: [18.x]\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          # For sonar-scanner to work properly we can't use a shallow fetch.\n          fetch-depth: 0\n      - name: Setup kernel for react, increase watchers\n        run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n      - uses: actions/cache@v4\n        with:\n          path: |\n            **/node_modules\n            ~/.cache/Cypress\n          key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}\n      - name: Setup .nmprc for scoped artifactory packages\n        working-directory: ./web\n        run: npm config set @psu:registry https://artifacts.developer.gov.bc.ca/artifactory/api/npm/pe1e-psu-npm-local/ && npm config set //artifacts.developer.gov.bc.ca/artifactory/api/npm/pe1e-psu-npm-local/:_authToken ${{ secrets.ARTIFACTORY_SVCACCT_TOKEN }}\n      - name: Install node dependencies (web)\n        working-directory: ./web\n        if: steps.yarn-cache.outputs.cache-hit != 'true'\n        run: yarn install\n      - name: Lint (web)\n        working-directory: ./web\n        run: yarn run lint\n      # \"Error: ENOSPC: System limit for number of file watchers reached\" can be addressed\n      # with this: https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers#the-technical-details\n      # It seems unnecessary at the moment because tests pass anyway\n      - name: Cypress tests with coverage (web)\n        working-directory: ./web\n        run: yarn run cypress:ci\n      - name: Unit tests (web)\n        working-directory: ./web\n        run: yarn run coverage:ci\n      - name: Merge and finalize test coverage (web)\n        working-directory: ./web\n        run: yarn run finalizeCoverage\n\n      - name: Archive coverage report (web)\n        uses: actions/upload-artifact@v3\n        with:\n          name: web-coverage-report\n          path: ./web/finalCoverage\n  upload-code-coverage:\n    name: Coverage with CodeCov\n    runs-on: ubuntu-22.04\n    needs: [lint-and-test-web, test-api]\n    steps:\n      # we need to checkout, so that we have codecov.yml\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Download all workflow run artifacts\n        uses: actions/download-artifact@v3\n      - name: Upload test coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{secrets.CODECOV_TOKEN}}\n          # we want to ensure code coverage is good, so we fail on error. (default is false)\n          fail_ci_if_error: true\n", "state": "active", "repository": "bcgov/wps"}
{"mined_at": "2024-07-15T16:00:15.957068", "created_at": "2021-09-16T02:24:38+02:00", "updated_at": "2021-09-16T20:53:38+02:00", "name": "Pull request description", "path": ".github/workflows/pr_description.yml", "contents": "name: Pull request description\n\non:\n  pull_request:\n    branches:\n      - main\n      - roles\n\njobs:\n  set-description:\n    name: Set pull request description\n    runs-on: ubuntu-22.04\n    permissions:\n      pull-requests: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set description\n        uses: actions/github-script@v7\n        with:\n          # reference used to figure out this part:\n          # https://docs.github.com/en/rest/reference/pulls#list-pull-requests\n          # https://octokit.github.io/rest.js/v18#pulls\n          # https://github.com/actions/github-script\n          script: |\n            const script = require('./.github/workflows/pr_description.js')\n            await script({github, context})\n", "state": "active", "repository": "bcgov/wps"}
{"mined_at": "2024-07-15T16:00:17.186300", "created_at": "2021-09-14T04:48:07+02:00", "updated_at": "2021-09-16T02:38:06+02:00", "name": "Production", "path": ".github/workflows/production.yml", "contents": "name: Production\n\n# trigger this deployment by running:\n# gh api repos/bcgov/wps/deployments -f ref=\"[your branch]\"\n# reference used to figure this part out:\n# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#deployment\non: deployment\n\njobs:\n  deploy_to_production:\n    name: Deploy to production\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Find PR number\n        uses: actions/github-script@v7\n        with:\n          # reference used to figure out this part:\n          # https://docs.github.com/en/rest/reference/pulls#list-pull-requests\n          # https://octokit.github.io/rest.js/v18#pulls\n          # https://github.com/actions/github-script\n          script: |\n            // get pull requests relating to this commit hash\n            const pulls = (await github.rest.repos.listPullRequestsAssociatedWithCommit({owner: context.repo.owner, repo: context.repo.repo, commit_sha: context.sha }))\n            console.log(pulls)\n            // find an open PR (potentially problematic if you have multiple PR's on the same hash open!)\n            const pr = pulls.data.find( ({state}) => state === 'open')\n            core.exportVariable('SUFFIX', `pr-${pr.number}`);\n      - uses: actions/checkout@v4\n      - name: Provision to production\n        run: |\n          echo Login\n          oc login \"${{ secrets.OPENSHIFT_CLUSTER }}\" --token=\"${{ secrets.OC4_PROD_TOKEN }}\"\n          PROJ_TARGET=e1e498-prod bash openshift/scripts/oc_deploy_to_production.sh ${SUFFIX} apply\n\n  set_deployment_status_success:\n    name: Set production deployment successful\n    needs: [deploy_to_production]\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Set status to deployed\n        uses: actions/github-script@v7\n        with:\n          # reference used to figure out how to set the deployment status:\n          # https://docs.github.com/en/rest/reference/repos#deployments\n          # https://github.com/actions/github-script\n          # https://octokit.github.io/rest.js/v18#repos-create-deployment-status\n          script: |\n            console.log(context.payload)\n            const status = (await github.rest.repos.createDeploymentStatus({owner: context.repo.owner, repo: context.repo.repo, deployment_id: context.payload.deployment.id, state: 'success'}))\n            console.log(status)\n", "state": "active", "repository": "bcgov/wps"}
{"mined_at": "2024-07-15T16:00:18.418109", "created_at": "2021-09-24T01:11:28+02:00", "updated_at": "2021-09-24T01:11:28+02:00", "name": "Renovate", "path": ".github/workflows/renovate.yml", "contents": "name: Renovate\non:\n  schedule:\n    # Scheduled workflows run on the latest commit on the default or base branch.\n    - cron: \"0 2 * * *\"\njobs:\n  renovate:\n    runs-on: ubuntu-latest\n    env:\n      LOG_LEVEL: debug\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4.1.7\n      - name: Self-hosted Renovate\n        uses: renovatebot/github-action@v40.1.12\n        with:\n          configurationFile: renovate.json\n          token: ${{ secrets.RENOVATE_TOKEN }}\n", "state": "active", "repository": "bcgov/wps"}
{"mined_at": "2024-07-15T16:00:19.531016", "created_at": "2020-08-19T00:00:28+02:00", "updated_at": "2021-09-24T18:34:04+02:00", "name": "Every Sunday at 02:00", "path": ".github/workflows/zap_scan.yml", "contents": "name: Every Sunday at 02:00\non:\n  schedule:\n    # Scheduled workflows run on the latest commit on the default or base branch.\n    - cron: \"0 2 * * 0\"\n\njobs:\n  zap_scan_ocp4:\n    runs-on: ubuntu-22.04\n    name: Scan the web application in OCP4\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: main\n      - name: ZAP Scan\n        # f.y.i.: ZAP Scan must be able to log an issue or it will fail.\n        uses: zaproxy/action-baseline@v0.12.0\n        with:\n          target: \"https://wps-prod.apps.silver.devops.gov.bc.ca/\"\n          rules_file_name: \".zap/rules.tsv\"\n", "state": "active", "repository": "bcgov/wps"}
{"mined_at": "2024-07-15T16:00:20.567038", "created_at": "2023-01-26T01:31:26+01:00", "updated_at": "2023-01-26T01:31:26+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "bcgov/wps"}
{"mined_at": "2024-07-15T16:00:22.818557", "created_at": "2021-02-02T17:11:33+01:00", "updated_at": "2023-01-18T23:59:06+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-22.04, ubuntu-20.04, macos-12, macos-11, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install wheel\n          pip install -r requirements.txt\n\n      - name: Run tests\n        run: pytest -s -rs\n\n  release:\n    runs-on: ubuntu-latest\n\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    needs: test\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - name: Install packaging dependencies\n        run: pip install wheel\n\n      - name: Update version\n        run: sed -i 's/__version__ = \"0.0.0-dev\"/__version__ = \"'\"${GITHUB_REF##*/}\"'\"/g' lean/__init__.py\n\n      - name: Build package\n        run: python setup.py sdist bdist_wheel\n\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n  portable:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-22.04, macos-12, windows-latest]\n        python-version: [\"3.10\"]\n\n    # on a new tag (release), after 'test' and 'release' have ended we will run this\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    needs: [test, release]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Wait for pip release, sleep in seconds\n        run: sleep 900\n        shell: bash\n\n      - name: Setup Portable\n        run: pip install pyinstaller lean==${GITHUB_REF##*/}\n        shell: bash\n\n      - name: Create Portable Windows & Linux\n        if: matrix.os == 'windows-latest' || matrix.os == 'ubuntu-22.04'\n        run: |\n          mkdir portable\n          cd portable\n          pyinstaller ../scripts/main.spec\n        shell: bash\n\n      - name: Create Portable Macos\n        if: matrix.os == 'macos-12' || matrix.os == 'macos-11'\n        env:\n          MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}\n          MACOS_CERTIFICATE_PWD: ${{ secrets.MACOS_CERTIFICATE_PWD }}\n          KEYCHAIN_PASSWORD: 'KEYCHAINPASSWORD'\n        run: |\n          echo $MACOS_CERTIFICATE | base64 --decode > certificate.p12\n          security create-keychain -p $KEYCHAIN_PASSWORD build.keychain\n          security default-keychain -s build.keychain\n          security unlock-keychain -p $KEYCHAIN_PASSWORD build.keychain\n          security import certificate.p12 -k build.keychain -P $MACOS_CERTIFICATE_PWD -T /usr/bin/codesign\n          security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $KEYCHAIN_PASSWORD build.keychain\n          security find-identity -v\n          mkdir portable\n          cd portable\n          pyinstaller ../scripts/main.spec\n          cd dist/lean-cli\n          mkdir ./lean\n          /usr/bin/codesign --deep --force --timestamp -o runtime -s CY5GJ9682W ./lean-cli -v\n          find . -iname '*.so' -or -iname '*.dylib'| while read libfile; do /usr/bin/codesign --timestamp --deep -o runtime --force -s CY5GJ9682W \"${libfile}\"; done;\n        shell: bash\n\n      - name: Get OS Name Without Version\n        run: echo \"OS_NAME=$(echo ${{ matrix.os }} | sed 's/-.*//')\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: Zip package and notarize Macos\n        if: matrix.os == 'macos-12'\n        env:\n          APPLE_ID: ${{ secrets.APPLE_ID }}\n          APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}\n          APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}\n        run: |\n          xcrun notarytool store-credentials --apple-id \"$APPLE_ID\" --password \"$APPLE_PASSWORD\" --team-id \"$APPLE_TEAM_ID\" \"QC_APPLE\"\n          cd portable/dist/lean-cli\n          ditto -c -k --keepParent . ../lean-latest-${{env.OS_NAME}}.zip\n          cd ..\n          xcrun notarytool submit lean-latest-${{env.OS_NAME}}.zip --keychain-profile \"QC_APPLE\" --wait\n\n      - name: Zip package Windows\n        if: matrix.os == 'windows-latest'\n        run: |\n          cd portable/dist/lean-cli\n          mkdir ./lean\n          7z a -tzip ../lean-latest-${{env.OS_NAME}}.zip .\n        shell: bash\n\n      - name: Zip package Ubuntu\n        if: matrix.os == 'ubuntu-22.04'\n        run: |\n          cd portable/dist/lean-cli\n          mkdir ./lean\n          zip -r ../lean-latest-${{env.OS_NAME}}.zip .\n\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_KEY }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET }}\n          aws-region: us-west-1\n\n      - name: Publish To S3\n        run: |\n          aws s3 cp portable/dist/lean-latest-${{env.OS_NAME}}.zip s3://${{ secrets.AWS_BUCKET }}/ --content-type \"application/zip\"\n        shell: bash\n\n      # only update version file once.\n      - name: Update version information\n        if: matrix.os == 'ubuntu-22.04'\n        run: |\n          echo '{ \"version\": \"'${GITHUB_REF##*/}'\" }' > portable/latest.json\n          aws s3 cp portable/latest.json s3://${{ secrets.AWS_BUCKET }}/ --content-type \"text/plain\"\n          aws cloudfront create-invalidation --distribution-id EATCOTHB6KFQP --paths /${{ secrets.AWS_BUCKET }}/latest.json\n        shell: bash\n\n      - name: Cleanup\n        run: |\n          rm -rf portable\n        shell: bash\n\n  invalidate:\n    runs-on: ubuntu-22.04\n    needs: portable\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_KEY }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET }}\n          aws-region: us-west-1\n\n      - name: Invalidate Lean Executable zips\n        run: |\n          aws cloudfront create-invalidation --distribution-id EATCOTHB6KFQP --paths /${{ secrets.AWS_BUCKET }}/lean-latest-ubuntu.zip\n          aws cloudfront create-invalidation --distribution-id EATCOTHB6KFQP --paths /${{ secrets.AWS_BUCKET }}/lean-latest-macos.zip\n          aws cloudfront create-invalidation --distribution-id EATCOTHB6KFQP --paths /${{ secrets.AWS_BUCKET }}/lean-latest-windows.zip\n        shell: bash\n", "state": "active", "repository": "quantconnect/lean-cli"}
{"mined_at": "2024-07-15T16:00:24.081237", "created_at": "2021-03-24T19:39:58+01:00", "updated_at": "2022-06-01T18:34:33+02:00", "name": "Regression Testing", "path": ".github/workflows/regression-testing.yml", "contents": "name: Regression Testing\n\non:\n  schedule:\n    - cron: 0 0 * * *\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      max-parallel: 1\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: pip install -r requirements.txt\n\n      - name: Run normal tests\n        run: pytest -s -rs\n\n      - name: Run API tests\n        run: pytest -s tests/components/api/test_clients.py\n        env:\n          QC_USER_ID: ${{ secrets.QC_USER_ID }}\n          QC_API_TOKEN: ${{ secrets.QC_API_TOKEN }}\n\n      # CLI tests call the CLI itself, which requires Docker, so we can only run it on Linux because:\n      # - GitHub Actions doesn't support Docker on macOS:\n      #   https://github.community/t/is-it-possible-to-install-and-configure-docker-on-macos-runner/16981/7\n      # - GitHub Actions only supports Windows-based Docker containers on Windows:\n      #   https://github.com/actions/virtual-environments/issues/1143\n      #\n      # Before running the tests we free up some disk space to prevent issues.\n      # Removing /usr/local/lib/android frees up ~10GB, which we can safely do because we don't use Android.\n      - name: Run CLI tests\n        run: sudo rm -rf /usr/local/lib/android && pytest -s tests/test_cli.py\n        if: runner.os == 'Linux'\n        env:\n          QC_USER_ID: ${{ secrets.QC_USER_ID }}\n          QC_API_TOKEN: ${{ secrets.QC_API_TOKEN }}\n", "state": "active", "repository": "quantconnect/lean-cli"}
{"mined_at": "2024-07-15T16:00:26.154114", "created_at": "2021-07-29T12:13:22+02:00", "updated_at": "2021-07-29T17:08:37+02:00", "name": "Code Coverage", "path": ".github/workflows/coverage.yml", "contents": "name: Code Coverage\non: \n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\njobs:\n  run:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: '3.9'\n\n    steps:\n    - uses: actions/checkout@master\n    - name: Setup Python\n      uses: actions/setup-python@master\n      with:\n        python-version: 3.9\n        \n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Generate coverage report\n      run: |\n        pip install coverage\n        coverage run -m unittest discover tests\n        coverage xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v2\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        env_vars: OS,PYTHON\n        fail_ci_if_error: true\n        flags: unittests\n        files: ./coverage.xml\n        name: codecov-umbrella\n        verbose: true\n", "state": "active", "repository": "vicco-group/thingsvision"}
{"mined_at": "2024-07-15T16:00:27.196183", "created_at": "2022-10-26T17:26:09+02:00", "updated_at": "2022-10-26T17:26:09+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v3\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v2\n", "state": "active", "repository": "vicco-group/thingsvision"}
{"mined_at": "2024-07-15T16:00:28.347660", "created_at": "2021-07-29T11:22:14+02:00", "updated_at": "2021-07-29T11:22:14+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "vicco-group/thingsvision"}
{"mined_at": "2024-07-15T16:00:29.459985", "created_at": "2021-08-05T17:37:48+02:00", "updated_at": "2021-08-10T13:42:50+02:00", "name": "Unittests", "path": ".github/workflows/tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Unittests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Test with unittest\n      run: |\n        python -m unittest discover tests\n", "state": "active", "repository": "vicco-group/thingsvision"}
{"mined_at": "2024-07-15T16:00:30.585242", "created_at": "2022-01-09T15:20:16+01:00", "updated_at": "2022-01-09T15:20:16+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "vicco-group/thingsvision"}
{"mined_at": "2024-07-15T16:00:34.814331", "created_at": "2021-06-06T02:37:18+02:00", "updated_at": "2021-06-06T02:37:18+02:00", "name": "Draft release when pushing new tag", "path": ".github/workflows/newtag.yml", "contents": "name: \"Draft release when pushing new tag\"\n\non:  # yamllint disable-line rule:truthy\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  pre-release:\n    name: \"Draft release\"\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n      - uses: \"marvinpinto/action-automatic-releases@v1.2.0\"\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          draft: True\n          prerelease: False\n", "state": "active", "repository": "speechbrain/speechbrain"}
{"mined_at": "2024-07-15T16:00:36.027586", "created_at": "2021-11-17T16:14:13+01:00", "updated_at": "2021-11-23T10:52:54+01:00", "name": "SpeechBrain pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: SpeechBrain pre-commit\n\non: # yamllint disable-line rule:truthy\n  push:\n    branches: [main, develop]\n  pull_request:\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n      - uses: pre-commit/action@v2.0.3\n", "state": "active", "repository": "speechbrain/speechbrain"}
{"mined_at": "2024-07-15T16:00:37.256815", "created_at": "2020-04-29T17:51:31+02:00", "updated_at": "2024-04-04T14:58:35+02:00", "name": "SpeechBrain toolkit CI", "path": ".github/workflows/pythonapp.yml", "contents": "# SpeechBrain  unit tests to ease continuous integration\n# NOTE: Caching these offers no speedup\nname: SpeechBrain toolkit CI\n\n# Runs on pushes to master and all pull requests\non:    # yamllint disable-line rule:truthy\n    push:\n        branches: [main, develop]\n    pull_request:\n\njobs:\n    tests:\n        name: Tests\n        runs-on: ubuntu-latest\n        strategy:\n            matrix:\n                python-version: [3.8, 3.12]\n        steps:\n            - uses: actions/checkout@v2\n            - uses: actions/cache@v4\n              id: cache-uv\n              with:\n                  path: ~/.cache/uv\n                  key: ${{ runner.os }}-python-${{ matrix.python-version }}-uv\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Full dependencies\n              run: |\n                  pip install uv\n                  uv pip install --system ctc-segmentation  # ctc-segmentation is funky with uv due to their oldest-supported-numpy dependency\n                  uv pip install --system -r requirements.txt torch==2.2.1+cpu torchaudio==2.2.1+cpu --extra-index-url https://download.pytorch.org/whl/cpu k2==1.24.4.dev20240223+cpu.torch2.2.1 --find-links https://k2-fsa.github.io/k2/cpu.html kaldilm==1.15.1 spacy==3.7.4 flair==0.13.1\n                  uv pip install --system --editable . --no-deps  # already installed pinned deps from requirements.txt, we're good\n            - name: Install sox\n              run: |\n                  sudo apt-get update\n                  sudo apt install sox libsox-dev\n            # Installing only SoX for now due to FFmpeg issues on the CI server with Torchaudio 2.1.\n            # FFmpeg works fine on all other machines. We'll switch back when the CI server is fixed.\n            #- name: Install ffmpeg\n            #  run: |\n            #      sudo apt-get update\n            #      sudo apt-get install -y ffmpeg\n            - name: Display Python version\n              run: python -c \"import sys; print(sys.version)\"\n            - name: Consistency tests with pytest\n              run: |\n                  pytest tests/consistency\n            - name: Unittests with pytest\n              run: |\n                  pytest tests/unittests\n            - name: Doctests with pytest\n              run: |\n                  pytest --doctest-modules speechbrain\n            - name: Integration tests with pytest\n              run: |\n                  pytest tests/integration\n", "state": "active", "repository": "speechbrain/speechbrain"}
{"mined_at": "2024-07-15T16:00:38.383057", "created_at": "2021-06-06T02:37:18+02:00", "updated_at": "2021-06-06T02:37:18+02:00", "name": "Publish to PyPI", "path": ".github/workflows/release.yml", "contents": "# Automatically publish to PyPI when a GitHub release is published\nname: Publish to PyPI\n\n# Run this action when a release is published\non:  # yamllint disable-line rule:truthy\n  release:\n    types: [published]\n\n# Updates version.txt, builds, and pushes to PyPI\njobs:\n  release:\n    name: Builds and publishes to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: main\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install pypa/build\n        run: python -m pip install build --user\n      - name: Build binary wheel and source tarball\n        run: python -m build --sdist --wheel --outdir dist/\n      - name: Publish to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_KEY }}\n", "state": "active", "repository": "speechbrain/speechbrain"}
{"mined_at": "2024-07-15T16:00:39.525079", "created_at": "2022-01-04T23:49:56+01:00", "updated_at": "2024-04-17T15:12:32+02:00", "name": "Verify docs generation", "path": ".github/workflows/verify-docs-gen.yml", "contents": "name: Verify docs generation\n\n# Runs on pushes to master and all pull requests\non:    # yamllint disable-line rule:truthy\n    push:\n        branches: [main, develop]\n    pull_request:\n\njobs:\n    docs:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v2\n            - uses: actions/cache@v4\n              id: cache-uv\n              with:\n                  path: ~/.cache/uv\n                  key: ${{ runner.os }}-python-docs-uv\n            - name: Setup Python 3.8\n              uses: actions/setup-python@v5\n              with:\n                  python-version: '3.8'\n            - name: Full dependencies\n              run: |\n                  pip install uv\n                  uv pip install --system ctc-segmentation  # ctc-segmentation is funky with uv due to their oldest-supported-numpy dependency\n                  uv pip install --system -r requirements.txt -r docs/docs-requirements.txt torch==2.2.1+cpu torchaudio==2.2.1+cpu --extra-index-url https://download.pytorch.org/whl/cpu k2==1.24.4.dev20240223+cpu.torch2.2.1 --find-links https://k2-fsa.github.io/k2/cpu.html kaldilm==1.15.1 spacy==3.7.4 flair==0.13.1\n                  uv pip install --system --editable . --no-deps  # already installed pinned deps from requirements.txt, we're good\n            - name: Generate docs\n              run: |\n                  cd docs\n                  SPHINXOPTS=\"-j=auto\" make html\n", "state": "active", "repository": "speechbrain/speechbrain"}
{"mined_at": "2024-07-15T16:00:41.761634", "created_at": "2023-06-01T10:54:19+02:00", "updated_at": "2023-06-28T12:11:19+02:00", "name": "Lint", "path": ".github/workflows/black.yaml", "contents": "name: Lint\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: psf/black@stable\n", "state": "active", "repository": "continualai/avalanche"}
{"mined_at": "2024-07-15T16:00:42.860361", "created_at": "2021-07-21T17:08:07+02:00", "updated_at": "2021-07-21T17:08:07+02:00", "name": "docker nightly release", "path": ".github/workflows/docker-nightly-release.yml", "contents": "################################################################################\n# Copyright (c) 2021 ContinualAI.                                              #\n# Copyrights licensed under the MIT License.                                   #\n# See the accompanying LICENSE file for terms.                                 #\n#                                                                              #\n# Date: 29-07-2021                                                             #\n# Author(s): Gabriele Graffieti                                                #\n# E-mail: contact@continualai.org                                              #\n# Website: avalanche.continualai.org                                           #\n################################################################################\n \n\nname: docker nightly release\n\non:\n  schedule:\n    - cron: '0 0 * * *'  # everyday at midnight\n  push:\n    branches:\n      - 'master'\n    paths:\n      - 'docker/nightly/**'\n      - '.github/workflows/docker-nightly-release.yml'\n      - 'requirements.txt'\n      - 'setup.py'\n      - 'extra_dependencies.txt'\n\njobs:\n  docker-nightly-release:\n    runs-on: ubuntu-latest\n    if: ${{ github.repository == 'ContinualAI/avalanche' }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n      - name: Check date of last commit\n        run: |\n          let DIFF=(`date +%s -d \"1 day ago\"`-`git log -1 --pretty=format:%ct`) &&\n          echo \"date_diff=$DIFF\" >> $GITHUB_ENV\n      - name: Login to DockerHub\n        if: ${{ env.date_diff <= 0 }}  # last commit < 24h ago\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PSW }}\n      - name: Log in to the Container registry\n        if: ${{ env.date_diff <= 0 }}  # last commit < 24h ago\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and push\n        if: ${{ env.date_diff <= 0 }}  # last commit < 24h ago\n        uses: docker/build-push-action@v2\n        with:\n          context: docker/nightly\n          push: true\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/avalanche-nightly:latest\n            ghcr.io/continualai/avalanche-nightly:latest\n", "state": "active", "repository": "continualai/avalanche"}
{"mined_at": "2024-07-15T16:00:43.891752", "created_at": "2020-07-27T17:26:40+02:00", "updated_at": "2020-07-27T17:26:40+02:00", "name": "docstring coverage", "path": ".github/workflows/docstring-coverage.yml", "contents": "################################################################################\n# Copyright (c) 2021 ContinualAI.                                              #\n# Copyrights licensed under the MIT License.                                   #\n# See the accompanying LICENSE file for terms.                                 #\n#                                                                              #\n# Date: 14-03-2021                                                             #\n# Author(s): Gabriele Graffieti                                                #\n# E-mail: contact@continualai.org                                              #\n# Website: avalanche.continualai.org                                           #\n################################################################################\n\n\nname: docstring coverage\n\non:\n  push:\n    paths:\n      - '**.py'\n      - '.github/workflows/docstring-coverage.yml'\n  pull_request:\n    paths:\n      - '**.py'\n      - '.github/workflows/docstring-coverage.yml'\n\njobs:\n  build:\n    name: docstring coverage\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n          architecture: x64\n      - name: Install and use interrogate\n        run: |\n          pip install interrogate &&\n          interrogate avalanche -vv --generate-badge interrogate-badge.svg -o documentation-coverage.txt -e examples -e tests  -e profiling\n      - name: clone reports repository\n        if: github.event_name == 'push' && github.repository == 'ContinualAI/avalanche'\n        uses: actions/checkout@v2\n        with:\n          repository: 'ContinualAI/avalanche-report'\n          ref: main\n          path: 'avalanche-reports'\n          token: ${{ secrets.REPORT_TOKEN }}\n      - name: commit badge\n        if: github.event_name == 'push' && github.repository == 'ContinualAI/avalanche'\n        run: |\n          mv interrogate-badge.svg avalanche-reports/badge/ &&\n          mv documentation-coverage.txt avalanche-reports/docstring_coverage/ &&\n          cd avalanche-reports &&\n          git config --local user.email ${{ secrets.EMAIL }} &&\n          git config --local user.name ${{ secrets.NAME }} &&\n          git pull &&\n          git add . &&\n          git commit -m \"Update coverage badge\" -a || true\n      - name: Push changes\n        if: github.event_name == 'push' && github.repository == 'ContinualAI/avalanche'\n        continue-on-error: true\n        uses: ad-m/github-push-action@master\n        with:\n          repository: ContinualAI/avalanche-report\n          branch: main\n          directory: avalanche-reports\n          github_token: ${{ secrets.REPORT_TOKEN }}\n", "state": "active", "repository": "continualai/avalanche"}
{"mined_at": "2024-07-15T16:00:45.042420", "created_at": "2021-07-21T11:52:07+02:00", "updated_at": "2021-07-21T11:52:07+02:00", "name": "environment update", "path": ".github/workflows/environment-update.yml", "contents": "################################################################################\n# Copyright (c) 2021 ContinualAI.                                              #\n# Copyrights licensed under the MIT License.                                   #\n# See the accompanying LICENSE file for terms.                                 #\n#                                                                              #\n# Date: 15-07-2021                                                             #\n# Author(s): Gabriele Graffieti                                                #\n# E-mail: contact@continualai.org                                              #\n# Website: avalanche.continualai.org                                           #\n################################################################################\n\nname: environment update\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - '.github/workflows/environment-update.yml'\n      - 'requirements.txt'\n      - 'setup.py'\n      - 'extra_dependencies.txt'\n  schedule:\n    - cron: '0 0 * * 0'  # midnight of every Sunday\n\n\njobs:\n  environment-creation:\n    if: github.repository == 'ContinualAI/avalanche'\n    name: new environment creation\n    runs-on: ubuntu-latest\n    container:\n      image: condaforge/mambaforge:latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - name: install opencv and quadprog dependency libs\n        env:\n          DEBIAN_FRONTEND: \"noninteractive\"\n          TZ: \"Etc/UTC\"\n        run: |\n          apt-get update &&\n          apt-get install ffmpeg libsm6 libxext6 build-essential -y\n      - name: install conda environment\n        run: |\n          mamba create -n avalanche-env -y -v python=${{ matrix.python-version }} -c conda-forge &&\n          conda run -n avalanche-env --no-capture-output pip install -r requirements.txt\n      - name: download datasets\n        env:\n          FAST_TEST: \"True\"\n          USE_GPU: \"False\"\n          PYTHONPATH: ${{ github.workspace }}\n        shell: bash -l -c \"conda run -n avalanche-env --no-capture-output bash {0}\"\n        run: |\n          pip install pytest-xdist &&\n          pytest -n 1 ./tests/benchmarks/scenarios/deprecated/test_high_level_generators.py::HighLevelGeneratorTests::test_filelist_benchmark ./tests/benchmarks/scenarios/deprecated/test_nc_mt_scenario.py::MultiTaskTests::test_mt_single_dataset\n      - name: python unit test\n        id: unittest\n        env:\n          FAST_TEST: \"True\"\n          USE_GPU: \"False\"\n          PYTHONPATH: ${{ github.workspace }}\n          CUBLAS_WORKSPACE_CONFIG: \":4096:8\"\n        shell: bash -l -c \"conda run -n avalanche-env --no-capture-output bash {0}\"\n        run: |\n          pytest tests &&\n          echo \"Running checkpointing tests...\" &&\n          bash ./tests/checkpointing/test_checkpointing.sh &&\n          echo \"Running distributed training tests...\" &&\n          python tests/run_dist_tests.py\n      - name: checkout avalanche-docker repo\n        if: always()\n        uses: actions/checkout@v3\n        with:\n          repository: 'ContinualAI/avalanche-docker'\n          ref: master\n          path: 'avalanche-docker'\n          token: ${{ secrets.BOT_TOKEN }}\n      - name: test success\n        if: success()\n        shell: bash -l -c \"conda run -n avalanche-env --no-capture-output bash {0}\"\n        run: |\n          rm -f avalanche-docker/${{ matrix.python-version }}/environment-${{ matrix.python-version }}.yml &&\n          rm -f avalanche-docker/${{ matrix.python-version }}/requirements-${{ matrix.python-version }}.txt &&\n          pip freeze > $\"avalanche-docker/\"${{ matrix.python-version }}\"/requirements-\"${{ matrix.python-version }}\".txt\"\n          cd avalanche-docker &&\n          git config --local user.email ${{ secrets.BOT_EMAIL }} &&\n          git config --local user.name ${{ secrets.BOT_NAME }} &&\n          git pull &&\n          git add . &&\n          git commit -m $\"Update environment with python \"${{ matrix.python-version }} -a || true &&\n          git pull\n      - name: Push changes to avalanche-docker\n        if: success()\n        continue-on-error: true\n        uses: ad-m/github-push-action@master\n        with:\n          repository: ContinualAI/avalanche-docker\n          branch: master\n          directory: avalanche-docker\n          github_token: ${{ secrets.BOT_TOKEN }}\n", "state": "active", "repository": "continualai/avalanche"}
{"mined_at": "2024-07-15T16:00:46.165677", "created_at": "2021-04-16T08:39:34+02:00", "updated_at": "2021-04-16T08:39:34+02:00", "name": "Documentation update from notebooks", "path": ".github/workflows/notebook-deploy.yml", "contents": "################################################################################\n# Copyright (c) 2021 ContinualAI.                                              #\n# Copyrights licensed under the MIT License.                                   #\n# See the accompanying LICENSE file for terms.                                 #\n#                                                                              #\n# Date: 13-04-2021                                                             #\n# Author(s): Gabriele Graffieti                                                #\n# E-mail: contact@continualai.org                                              #\n# Website: avalanche.continualai.org                                           #\n################################################################################\n\n\nname: Documentation update from notebooks\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - notebooks/**\n      - .github/workflows/notebook-deploy.yml\n\njobs:\n  build:\n    if: github.repository == 'ContinualAI/avalanche'\n    name: deploy_notebooks\n    runs-on: ubuntu-latest\n    container: python:3.9\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - name: install nbconvert\n        run: pip install nbconvert\n      - name: transform notebooks into md\n        run: |\n          cd notebooks\n          find . -type f -name \"*ipynb\" -exec sh -c '\n             for file do\n               dir=${file%/*}\n               jupyter nbconvert --output-dir \"../docs/gitbook/${dir}\" --to markdown --ClearOutputPreprocessor.enabled=True ${file}\n             done' sh {} +\n      - name: commit to repo\n        run: |\n          echo $GITHUB_WORKSPACE &&\n          git config --system --add safe.directory $GITHUB_WORKSPACE\n          git config --local user.email ${{ secrets.BOT_EMAIL }} &&\n          git config --local user.name ${{ secrets.BOT_NAME }} &&\n          git add . &&\n          git commit -m \"Update gitbook documentation\" -a || true\n          # The above command will fail if no changes were present, so we ignore that.\n      - name: Push changes (deploy)\n        uses: ad-m/github-push-action@master\n        with:\n          branch: master\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "continualai/avalanche"}
{"mined_at": "2024-07-15T16:00:47.273564", "created_at": "2020-07-03T12:32:44+02:00", "updated_at": "2020-07-03T12:32:44+02:00", "name": "syntax checking", "path": ".github/workflows/syntax.yml", "contents": "################################################################################\n# Copyright (c) 2021 ContinualAI.                                              #\n# Copyrights licensed under the MIT License.                                   #\n# See the accompanying LICENSE file for terms.                                 #\n#                                                                              #\n# Date: 28-01-2021                                                             #\n# Author(s): Gabriele Graffieti                                                #\n# E-mail: contact@continualai.org                                              #\n# Website: avalanche.continualai.org                                           #\n################################################################################\n\n\nname: syntax checking\n# This workflow is triggered on pushes to the repository.\non:\n  push:\n    paths:\n      - '**.py'\n  pull_request:\n    paths:\n      - '**.py'\n\njobs:\n  check:\n    name: check_syntax\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10.12\"\n      - uses: cclauss/Find-Python-syntax-errors-action@master", "state": "active", "repository": "continualai/avalanche"}
{"mined_at": "2024-07-15T16:00:48.287851", "created_at": "2021-03-30T21:30:29+02:00", "updated_at": "2021-04-28T14:40:38+02:00", "name": "test coverage coverall", "path": ".github/workflows/test-coverage-coveralls.yml", "contents": "################################################################################\n# Copyright (c) 2021 ContinualAI.                                              #\n# Copyrights licensed under the MIT License.                                   #\n# See the accompanying LICENSE file for terms.                                 #\n#                                                                              #\n# Date: 22-03-2021                                                             #\n# Author(s): Gabriele Graffieti                                                #\n# E-mail: contact@continualai.org                                              #\n# Website: avalanche.continualai.org                                           #\n################################################################################\n\nname: test coverage coverall\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - '**.py'\n      - '.github/workflows/test-coverage-coveralls.yml'\n  pull_request:\n    branches:\n      - master\n    paths:\n      - '**.py'\n      - '.github/workflows/test-coverage-coveralls.yml'\n\njobs:\n  unit-test:\n    if: github.repository == 'ContinualAI/avalanche'\n    name: unit test\n    runs-on: ubuntu-latest\n    container:\n      image: continualai/avalanche-test-${{ matrix.python-version }}:latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n    defaults:\n      run:\n        shell: bash -l -c \"conda run -n avalanche-env --no-capture-output bash {0}\"\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - name: install coverage.py and coverralls\n        run: |\n          pip install coverage coveralls\n      - name: install pytest-xdist and pytest-cov\n        run: |\n          pip install pytest-xdist pytest-cov\n      - name: download datasets\n        env:\n          FAST_TEST: \"True\"\n          USE_GPU: \"False\"\n          PYTHONPATH: ${{ github.workspace }}\n        run: |\n          pytest -n 1 ./tests/benchmarks/scenarios/deprecated/test_high_level_generators.py::HighLevelGeneratorTests::test_filelist_benchmark ./tests/benchmarks/scenarios/deprecated/test_nc_mt_scenario.py::MultiTaskTests::test_mt_single_dataset\n      - name: python unit test\n        id: unittest\n        env:\n          FAST_TEST: \"True\"\n          USE_GPU: \"False\"\n          PYTHONPATH: ${{ github.workspace }}\n        run: |\n          mkdir coverage &&\n          pytest --cov=avalanche tests &&\n          mv .coverage coverage_unit_tests &&\n          coverage run examples/eval_plugin.py &&\n          mv .coverage coverage_eval_plugin &&\n          RUN_COVERAGE=True bash ./tests/checkpointing/test_checkpointing.sh &&\n          coverage run tests/run_dist_tests.py &&\n          mv .coverage coverage_dist_tests &&\n          coverage combine coverage_* &&\n          coverage lcov -o coverage/lcov.info --omit '**/config-3.py,**/config.py'\n      - name: Upload coverage data to coveralls.io\n        uses: coverallsapp/github-action@master\n        with:\n          github-token: ${{ secrets.github_token }}\n          flag-name: ${{ matrix.python-version }}\n          parallel: true\n  coveralls:\n    if: github.repository == 'ContinualAI/avalanche'\n    name: Indicate completion to coveralls.io\n    needs: unit-test\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n      - name: Finished\n        uses: coverallsapp/github-action@master\n        with:\n          github-token: ${{ secrets.github_token }}\n          parallel-finished: true\n", "state": "active", "repository": "continualai/avalanche"}
{"mined_at": "2024-07-15T16:00:49.438510", "created_at": "2020-07-27T17:26:40+02:00", "updated_at": "2021-04-28T14:40:38+02:00", "name": "unit test", "path": ".github/workflows/unit-test.yml", "contents": "################################################################################\n# Copyright (c) 2021 ContinualAI.                                              #\n# Copyrights licensed under the MIT License.                                   #\n# See the accompanying LICENSE file for terms.                                 #\n#                                                                              #\n# Date: 15-07-2021                                                             #\n# Author(s): Gabriele Graffieti                                                #\n# E-mail: contact@continualai.org                                              #\n# Website: avalanche.continualai.org                                           #\n################################################################################\n\nname: unit test\n\non:\n  push:\n    branches:\n      - master\n      - detection\n    paths:\n      - '**.py'\n      - '.github/workflows/unit-test.yml'\n  pull_request:\n    branches:\n      - master\n      - detection\n    paths:\n      - '**.py'\n      - '.github/workflows/unit-test.yml'\n      - 'requirements.txt'\n      - 'extra_dependencies.txt'\n\njobs:\n  unit-test:\n    name: unit test\n    runs-on: ubuntu-latest\n    container:\n      image: continualai/avalanche-test-${{ matrix.python-version }}:latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    defaults:\n      run:\n        shell: bash -l -c \"conda run -n avalanche-env --no-capture-output bash {0}\"\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - name: python unit test\n        id: unittest\n        env:\n          FAST_TEST: \"True\"\n          USE_GPU: \"False\"\n          PYTHONPATH: ${{ github.workspace }}\n          CUBLAS_WORKSPACE_CONFIG: \":4096:8\"\n        run: |\n          python -m unittest discover tests &&\n          echo \"Checking that optional dependencies are not needed\" &&\n          pip uninstall -y higher ctrl-benchmark torchaudio gym pycocotools lvis &&\n          python examples/eval_plugin.py &&\n          echo \"Running checkpointing tests...\" &&\n          bash ./tests/checkpointing/test_checkpointing.sh &&\n          echo \"Running distributed training tests...\" &&\n          python tests/run_dist_tests.py &&\n          echo \"While running unit tests, the following datasets were downloaded:\" &&\n          ls ~/.avalanche/data\n", "state": "active", "repository": "continualai/avalanche"}
{"mined_at": "2024-07-15T16:00:51.584369", "created_at": "2021-02-15T12:05:33+01:00", "updated_at": "2021-09-16T12:16:58+02:00", "name": "Continuous Deployment", "path": ".github/workflows/cd.yml", "contents": "name: Continuous Deployment\non:\n  release:\n    types: [published]\n\njobs:\n\n  docker:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n    - name: Login to Github Container Registry\n      uses: docker/login-action@v3\n      with:\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n        registry: ghcr.io\n\n    - name: Set tag name\n      id: tag\n      run: echo \"tag_name=${GITHUB_REF//\\//-}\" >> $GITHUB_OUTPUT\n      env:\n        GITHUB_REF: ${{ github.ref }}\n\n    - name: Build and push\n      uses: docker/build-push-action@v4\n      with:\n        context: .\n        file: ./docker/Dockerfile\n        push: true\n        tags: |\n          ghcr.io/artefactory/nlpretext:${{ steps.tag.outputs.tag_name }}\n          ghcr.io/artefactory/nlpretext:latest\n        cache-from: type=registry,ref=ghcr.io/artefactory/nlpretext:latest\n        cache-to: type=inline\n\n    - name: Scan image\n      uses: anchore/scan-action@v3\n      id: scan\n      with:\n        image: \"ghcr.io/artefactory/nlpretext:${{ steps.tag.outputs.tag_name }}\"\n        output-format: table\n\n    - name: upload Anchore scan SARIF report\n      if: success() || failure()\n      uses: github/codeql-action/upload-sarif@v1\n      with:\n        sarif_file: ${{ steps.scan.outputs.sarif }}\n\n  documentation_and_package:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [\"3.8\"]\n\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install poetry and pandoc\n      run: |\n        sudo apt-get install pandoc\n        make download-poetry\n\n    - name: Set up cache\n      uses: actions/cache@v3.3.2\n      with:\n        path: ~/.cache/pypoetry/virtualenvs\n        key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}\n\n    - name: Set Poetry Path\n      run: |\n        echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n\n    - name: Install dependencies\n      run: |\n        poetry install -E torch -E dask\n\n    - name: Publish to PyPI\n      env:\n        PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n      run: |\n        poetry config pypi-token.pypi $PYPI_TOKEN\n        poetry publish --build\n\n    - name: Run build script for Sphinx pages\n      run: |\n        poetry run git config --global user.name \"Github-Pages Bot\"\n        poetry run git config --global user.email \"github-pages@artefactory.com\"\n        poetry run sh docs/scripts/buildsite.sh\n      shell: bash\n", "state": "active", "repository": "artefactory/nlpretext"}
{"mined_at": "2024-07-15T16:00:52.587030", "created_at": "2021-02-15T12:05:03+01:00", "updated_at": "2021-09-15T14:42:40+02:00", "name": "Continuous Integration", "path": ".github/workflows/ci.yml", "contents": "# GNU Lesser General Public License v3.0 only\n# Copyright (C) 2020 Artefact\n# licence-information@artefact.com\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of the GNU Lesser General Public\n# License as published by the Free Software Foundation; either\n# version 3 of the License, or (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n# Lesser General Public License for more details.\n#\n# You should have received a copy of the GNU Lesser General Public License\n# along with this program; if not, write to the Free Software Foundation,\n# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\nname: Continuous Integration\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - '*'\n\njobs:\n  ci:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    if: ${{ !contains(github.event.pull_request.labels.*.name, 'draft') }}\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n\n    - name: Install poetry\n      run: make download-poetry\n\n    - name: Set up pip cache\n      uses: actions/cache@v3.3.2\n      with:\n        path: ~/.cache/pypoetry/virtualenvs\n        key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}\n\n    - name: Set up mypy cache\n      uses: actions/cache@v3.2.4\n      with:\n        path: ${{ github.workspace }}/.mypy_cache\n        key: mypy-${{ matrix.python-version }}\n\n    - name: Set Poetry Path\n      run: |\n        echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n\n    - name: Install dependencies\n      run: |\n        poetry run pip install --upgrade pip\n        poetry install -E torch -E dask\n\n    - name: Run safety checks\n      run: |\n        STRICT=1 make check-safety\n\n    - name: Lint and format\n      run: |\n        make format-code\n\n    - name: Run tests\n      run: |\n        make test\n", "state": "active", "repository": "artefactory/nlpretext"}
{"mined_at": "2024-07-15T16:00:53.743123", "created_at": "2021-09-15T14:42:40+02:00", "updated_at": "2021-09-16T12:16:58+02:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - edited\n      - labeled\n      - unlabeled\n      - synchronize\n  issues:\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    if: ${{ !contains(github.head_ref, 'dependabot/') }}\n    steps:\n    - uses: actions/first-interaction@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        pr-message:  'Hello @${{ github.actor }}, thank you for submitting a PR! We will respond as soon as possible.'\n        issue-message: |\n          Hello @${{ github.actor }}, thank you for your interest in our work!\n\n          If this is a bug report, please provide screenshots and **minimum viable code to reproduce your issue**, otherwise we can not help you.\n", "state": "active", "repository": "artefactory/nlpretext"}
{"mined_at": "2024-07-15T16:00:54.774447", "created_at": "2021-06-21T17:30:01+02:00", "updated_at": "2021-09-16T12:16:58+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - main\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next Release notes as Pull Requests are merged into \"main\"\n      - uses: release-drafter/release-drafter@v5.22.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "artefactory/nlpretext"}
{"mined_at": "2024-07-15T16:00:55.795759", "created_at": "2023-11-09T12:42:59+01:00", "updated_at": "2023-11-09T12:42:59+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "artefactory/nlpretext"}
{"mined_at": "2024-07-15T16:00:58.044356", "created_at": "2020-07-31T21:23:04+02:00", "updated_at": "2024-06-14T21:48:09+02:00", "name": "GISAID fetch and ingest", "path": ".github/workflows/fetch-and-ingest-gisaid-master.yml", "contents": "name: GISAID fetch and ingest\n\non:\n  schedule:\n    # Note times are in UTC, which is 1 or 2 hours behind CET depending on daylight savings.\n    #\n    # Currently, we aim to trigger ingest every day at 18:07 UTC which is 19:07 CET (as of Mar 2022).\n    # Note the actual runs might be late. As of right now, the action starts around 20 past the hour.\n    # Numerous people were confused, about that, including me:\n    #  - https://github.community/t/scheduled-action-running-consistently-late/138025/11\n    #  - https://github.com/github/docs/issues/3059\n    #\n    # Note, '*' is a special character in YAML, so you have to quote this string.\n    #\n    # Docs:\n    #  - https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule\n    #\n    # Tool that deciphers this particular format of crontab string:\n    #  - https://crontab.guru/\n    #\n    # Looks like you are about to modify this schedule? Make sure you also modify the schedule for the\n    # sister GenBank job, so that we don't need to keep two schedules in our heads.\n    - cron:  '7 18 * * *'\n\n  # Manually triggered using `./vendored/trigger nextstrain/ncov-ingest gisaid/fetch-and-ingest`\n  repository_dispatch:\n    types:\n      - gisaid/fetch-and-ingest\n      - fetch-and-ingest\n\n  # Manually triggered using GitHub's UI\n  workflow_dispatch:\n    inputs:\n      trial_name:\n        description: >-\n          Short name for a trial run.\n          If provided, files will be uploaded to s3://nextstrain-ncov-private/trial/${TRIAL_NAME}/\n          and downstream ncov and forecasts-ncov workflows will not be triggered.\n          WARNING: without the trial name, workflow will upload files to s3://nextstrain-ncov-private/\n        required: false\n      fetch_from_database:\n        description: >-\n          Whether the workflow should fetch from upstream database.\n          If not selected (false), the workflow will start from existing data on S3.\n        type: boolean\n        required: false\n        default: true\n      image:\n        description: >-\n          Specific container image to use for build.\n          This will override the default image (nextstrain/ncov-ingest).\n        required: false\n\njobs:\n  set_config_overrides:\n    runs-on: ubuntu-latest\n    steps:\n      - id: config\n        name: Set config overrides\n        env:\n          TRIAL_NAME: ${{ inputs.trial_name }}\n          FETCH_FROM_DATABASE: ${{ github.event_name != 'workflow_dispatch' && true || inputs.fetch_from_database }}\n        run: |\n          config=\"--config\"\n\n          if [[ \"$FETCH_FROM_DATABASE\" == true ]]; then\n            config+=\" fetch_from_database=True\"\n          else\n            config+=\" fetch_from_database=False\"\n          fi\n\n          if [[ \"$TRIAL_NAME\" ]]; then\n            config+=\" trigger_rebuild=False\"\n            config+=\" trigger_counts=False\"\n            config+=\" s3_dst=s3://nextstrain-ncov-private/trial/${TRIAL_NAME}\"\n          else\n            config+=\" trigger_rebuild=True\"\n            config+=\" trigger_counts=True\"\n          fi\n\n          echo \"config=$config\" >> \"$GITHUB_OUTPUT\"\n    outputs:\n      config_overrides: ${{ steps.config.outputs.config }}\n\n  fetch_and_ingest:\n    needs: [set_config_overrides]\n    permissions:\n      id-token: write\n    uses: nextstrain/.github/.github/workflows/pathogen-repo-build.yaml@master\n    secrets: inherit\n    with:\n      runtime: aws-batch\n      env: |\n        CONFIG_OVERRIDES: ${{ needs.set_config_overrides.outputs.config_overrides }}\n        GITHUB_RUN_ID: ${{ github.run_id }}\n        NEXTSTRAIN_DOCKER_IMAGE: ${{ inputs.image || 'nextstrain/ncov-ingest' }}\n        SLACK_CHANNELS: ${{ inputs.trial_name && vars.TEST_SLACK_CHANNEL || 'ncov-gisaid-updates' }}\n      run: |\n        nextstrain build \\\n          --aws-batch \\\n          --detach \\\n          --no-download \\\n          --cpus 48 \\\n          --memory 90GiB \\\n          --env GISAID_API_ENDPOINT \\\n          --env GISAID_USERNAME_AND_PASSWORD \\\n          --env GITHUB_RUN_ID \\\n          --env SLACK_TOKEN \\\n          --env SLACK_CHANNELS \\\n          --env PAT_GITHUB_DISPATCH=\"$GH_TOKEN_NEXTSTRAIN_BOT_WORKFLOW_DISPATCH\" \\\n          . \\\n            --stats snakemake_stats.json \\\n            --configfile config/gisaid.yaml \\\n            $CONFIG_OVERRIDES\n", "state": "active", "repository": "nextstrain/ncov-ingest"}
{"mined_at": "2024-07-15T16:00:59.272670", "created_at": "2021-01-13T19:59:07+01:00", "updated_at": "2021-01-15T14:47:28+01:00", "name": "shellcheck", "path": ".github/workflows/shellcheck.yml", "contents": "name: shellcheck\n\non:\n  push:\n  workflow_dispatch:\n\njobs:\n  shellcheck:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: nextstrain/.github/actions/shellcheck@master\n", "state": "active", "repository": "nextstrain/ncov-ingest"}
{"mined_at": "2024-07-15T16:01:00.405848", "created_at": "2021-01-22T00:07:32+01:00", "updated_at": "2021-01-22T00:07:32+01:00", "name": "Update image", "path": ".github/workflows/update-image.yml", "contents": "name: Update image\n\non:\n  push:\n    branches:\n      - '**'\n    tags-ignore:\n      - '**'\n    paths:\n      - Dockerfile\n      - requirements.txt\n      - package.json\n      - yarn.lock\n      - .github/workflows/update-image.yml\n\n  # Manually triggered using `./vendored/trigger nextstrain/ncov-ingest update-image`\n  repository_dispatch:\n    types: update-image\n\n  # Manually triggered using GitHub's UI\n  workflow_dispatch:\n\njobs:\n  update:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: docker/setup-buildx-action@v3\n      - uses: docker/login-action@v3\n        with:\n          registry: docker.io\n          username: nextstrainbot\n          password: ${{ secrets.DOCKER_TOKEN }}\n\n      - name: Describe git revision for image build arg\n        run: |\n          echo \"GIT_REVISION=$(git describe --always --long --dirty)\" | tee -a \"$GITHUB_ENV\"\n\n      - name: Determine image tag\n        run: |\n          if [[ \"$GITHUB_REF_NAME\" == master ]]; then\n            IMAGE_TAG=latest\n          else\n            IMAGE_TAG=\"branch-${GITHUB_REF_NAME//[^A-Za-z0-9._-]/-}\"\n          fi\n          echo \"IMAGE_TAG=$IMAGE_TAG\" | tee -a \"$GITHUB_ENV\"\n\n      - uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile\n          push: true\n          tags: nextstrain/ncov-ingest:${{ env.IMAGE_TAG }}\n          cache-from: |\n            type=registry,ref=nextstrain/ncov-ingest:latest\n            type=registry,ref=nextstrain/ncov-ingest:${{ env.IMAGE_TAG }}\n          cache-to: type=inline,mode=max\n          build-args: |\n            GIT_REVISION=${{ env.GIT_REVISION }}\n", "state": "active", "repository": "nextstrain/ncov-ingest"}
{"mined_at": "2024-07-15T16:01:01.628437", "created_at": "2021-07-13T21:09:25+02:00", "updated_at": "2023-04-19T23:05:45+02:00", "name": "GenBank fetch and ingest", "path": ".github/workflows/fetch-and-ingest-genbank-master.yml", "contents": "name: GenBank fetch and ingest\n\non:\n  schedule:\n    # Note times are in UTC, which is 1 or 2 hours behind CET depending on daylight savings.\n    #\n    # Currently, we aim to trigger ingest every day at 18:07 UTC which is 19:07 CET (as of Mar 2022).\n    # Note the actual runs might be late. As of right now, the action starts around 20 past the hour.\n    # Numerous people were confused, about that, including me:\n    #  - https://github.community/t/scheduled-action-running-consistently-late/138025/11\n    #  - https://github.com/github/docs/issues/3059\n    #\n    # Note, '*' is a special character in YAML, so you have to quote this string.\n    #\n    # Docs:\n    #  - https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule\n    #\n    # Tool that deciphers this particular format of crontab string:\n    #  - https://crontab.guru/\n    #\n    # Looks like you are about to modify this schedule? Make sure you also modify the schedule for the\n    # sister GISAID job, so that we don't need to keep two schedules in our heads.\n    - cron:  '7 18 * * *'\n\n  # Manually triggered using `./vendored/trigger nextstrain/ncov-ingest genbank/fetch-and-ingest` (or `fetch-and-ingest`, which\n  # includes GISAID)\n  repository_dispatch:\n    types:\n      - genbank/fetch-and-ingest\n      - fetch-and-ingest\n\n  # Manually triggered using GitHub's UI\n  workflow_dispatch:\n    inputs:\n      trial_name:\n        description: >-\n          Short name for a trial run.\n          If provided, files will be uploaded to s3://nextstrain-data/files/ncov/open/trial/${TRIAL_NAME}/\n          and downstream ncov and forecasts-ncov workflows will not be triggered.\n          WARNING: without the trial name, workflow will upload files to s3://nextstrain-data/files/ncov/open/\n        required: false\n      fetch_from_database:\n        description: >-\n          Whether the workflow should fetch from upstream database.\n          If not selected (false), the workflow will start from existing data on S3.\n        type: boolean\n        required: false\n        default: true\n      image:\n        description: >-\n          Specific container image to use for build.\n          This will override the default image (nextstrain/ncov-ingest).\n        required: false\n\njobs:\n  set_config_overrides:\n    runs-on: ubuntu-latest\n    steps:\n      - id: config\n        name: Set config overrides\n        env:\n          TRIAL_NAME: ${{ inputs.trial_name }}\n          FETCH_FROM_DATABASE: ${{ github.event_name != 'workflow_dispatch' && true || inputs.fetch_from_database }}\n        run: |\n          config=\"--config\"\n\n          if [[ \"$FETCH_FROM_DATABASE\" == true ]]; then\n            config+=\" fetch_from_database=True\"\n          else\n            config+=\" fetch_from_database=False\"\n          fi\n\n          if [[ \"$TRIAL_NAME\" ]]; then\n            config+=\" trigger_rebuild=False\"\n            config+=\" trigger_counts=False\"\n            config+=\" s3_dst=s3://nextstrain-data/files/ncov/open/trial/${TRIAL_NAME}\"\n          else\n            config+=\" trigger_rebuild=True\"\n            config+=\" trigger_counts=True\"\n          fi\n\n          echo \"config=$config\" >> \"$GITHUB_OUTPUT\"\n    outputs:\n      config_overrides: ${{ steps.config.outputs.config }}\n\n  fetch_and_ingest:\n    needs: [set_config_overrides]\n    permissions:\n      id-token: write\n    uses: nextstrain/.github/.github/workflows/pathogen-repo-build.yaml@master\n    secrets: inherit\n    with:\n      runtime: aws-batch\n      env: |\n        CONFIG_OVERRIDES: ${{ needs.set_config_overrides.outputs.config_overrides }}\n        GITHUB_RUN_ID: ${{ github.run_id }}\n        NEXTSTRAIN_DOCKER_IMAGE: ${{ inputs.image || 'nextstrain/ncov-ingest' }}\n        SLACK_CHANNELS: ${{ inputs.trial_name && vars.TEST_SLACK_CHANNEL || 'ncov-genbank-updates' }}\n      run: |\n        nextstrain build \\\n          --aws-batch \\\n          --detach \\\n          --no-download \\\n          --cpus 36 \\\n          --memory 68GiB \\\n          --env GITHUB_RUN_ID \\\n          --env SLACK_TOKEN \\\n          --env SLACK_CHANNELS \\\n          --env PAT_GITHUB_DISPATCH=\"$GH_TOKEN_NEXTSTRAIN_BOT_WORKFLOW_DISPATCH\" \\\n          . \\\n            --stats snakemake_stats.json \\\n            --configfile config/genbank.yaml \\\n            $CONFIG_OVERRIDES\n", "state": "active", "repository": "nextstrain/ncov-ingest"}
{"mined_at": "2024-07-15T16:01:03.720175", "created_at": "2021-03-18T20:08:32+01:00", "updated_at": "2021-03-18T20:08:32+01:00", "name": "Test and Lint Python Package", "path": ".github/workflows/python-package.yml", "contents": "name: Test and Lint Python Package\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Create a virtual environment\n      run: |\n        python -m venv .venv\n    - name: Install dependencies\n      run: |\n        source ./.venv/bin/activate\n        python -m pip install --upgrade pip\n        make install-dev\n    - name: Run checks (linter, code style, tests)\n      run: |\n        source ./.venv/bin/activate\n        if [[ ${{ matrix.python-version }} == \"3.7\" ]]; then\n          make test test-rs\n        else\n          make check\n        fi\n", "state": "active", "repository": "tobymao/sqlglot"}
{"mined_at": "2024-07-15T16:01:04.761434", "created_at": "2021-03-18T20:05:41+01:00", "updated_at": "2024-05-04T22:22:48+02:00", "name": "Publish Python Release to PyPI", "path": ".github/workflows/python-publish.yml", "contents": "name: Publish Python Release to PyPI\n\non:\n  push:\n    tags:\n      - \"v*\"\n\npermissions:\n  contents: read\n\njobs:\n  should-deploy-rs:\n    runs-on: ubuntu-latest\n    outputs:\n      deploy: ${{ steps.check_deploy.outputs.deploy }}\n    steps:\n      - uses: actions/checkout@v3\n      - id: check_deploy\n        run: |\n          bash ./.github/workflows/should_deploy_sqlglotrs.sh\n          if [ $? -eq 0 ]; then echo \"deploy=true\" >> $GITHUB_OUTPUT; fi\n\n  build-rs:\n    needs: should-deploy-rs\n    if: needs.should-deploy-rs.outputs.deploy == 'true'\n    strategy:\n      matrix:\n        os: [linux, macos, windows]\n        target: [x86_64, aarch64]\n        include:\n        - os: linux\n          target: i686\n        - os: linux\n          target: armv7\n        - os: linux\n          target: s390x\n        - os: linux\n          target: ppc64le\n        - os: windows\n          target: i686\n          python-architecture: x86\n        exclude:\n        - os: windows\n          target: aarch64\n    runs-on: ${{ (matrix.os == 'linux' && 'ubuntu') || matrix.os }}-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n        architecture: ${{ matrix.python-architecture || 'x64' }}\n    - name: Build wheels\n      uses: PyO3/maturin-action@v1\n      with:\n        target: ${{ matrix.target }}\n        args: --release --out dist --interpreter 3.7 3.8 3.9 3.10 3.11 3.12\n        sccache: 'true'\n        manylinux: auto\n        working-directory: ./sqlglotrs\n    - name: Upload wheels\n      uses: actions/upload-artifact@v3\n      with:\n        name: wheels\n        path: sqlglotrs/dist\n\n  sdist-rs:\n    needs: should-deploy-rs\n    if: needs.should-deploy-rs.outputs.deploy == 'true'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Build sdist\n      uses: PyO3/maturin-action@v1\n      with:\n        command: sdist\n        args: --out dist\n        working-directory: ./sqlglotrs\n    - name: Upload sdist\n      uses: actions/upload-artifact@v3\n      with:\n        name: wheels\n        path: sqlglotrs/dist\n\n  deploy-rs:\n    needs: [should-deploy-rs, build-rs, sdist-rs]\n    if: needs.should-deploy-rs.outputs.deploy == 'true'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/download-artifact@v3\n      with:\n        name: wheels\n    - name: Publish to PyPI\n      uses: PyO3/maturin-action@v1\n      env:\n        MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n      with:\n        command: upload\n        args: --non-interactive --skip-existing *\n\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m venv .venv\n        source ./.venv/bin/activate\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n        make install-dev\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        source ./.venv/bin/activate\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n    - name: Update API docs\n      run: |\n        source ./.venv/bin/activate\n        make docs\n    - name: Update CHANGELOG\n      id: changelog\n      uses: requarks/changelog-action@v1\n      with:\n        token: ${{ github.token }}\n        tag: ${{ github.ref_name }}\n    - name: Commit API docs, CHANGELOG.md\n      uses: stefanzweifel/git-auto-commit-action@v4\n      with:\n        branch: main\n        commit_message: 'docs: update API docs, CHANGELOG.md for ${{ github.ref_name }} [skip ci]'\n        file_pattern: 'docs CHANGELOG.md'\n", "state": "active", "repository": "tobymao/sqlglot"}
{"mined_at": "2024-07-15T16:01:05.804737", "created_at": "2023-02-07T22:59:01+01:00", "updated_at": "2023-02-07T22:59:01+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tobymao/sqlglot"}
{"mined_at": "2024-07-15T16:01:08.079258", "created_at": "2022-11-07T19:11:53+01:00", "updated_at": "2022-11-14T22:31:47+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"58 3 * * 3\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "matterminers/tardis"}
{"mined_at": "2024-07-15T16:01:09.641092", "created_at": "2021-06-04T12:33:41+02:00", "updated_at": "2021-06-04T20:32:44+02:00", "name": "Deployment Tests", "path": ".github/workflows/deployment-tests.yml", "contents": "name: Deployment Tests\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  docker-builds:\n    if: github.event.schedule && github.repository == 'MatterMiners/tardis'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os_container: ['rockylinux8', 'rockylinux9', 'ubuntu20_04', 'ubuntu22_04']\n    steps:\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          file: containers/cobald-tardis-deployment-test-env/Dockerfile.${{ matrix.os_container }}\n          tags: matterminers/cobald-tardis-deployment-test-env:${{ matrix.os_container }}\n  deployment-linux:\n    needs: docker-builds\n    if: always() && (needs.docker-builds.result == 'success' || needs.docker-builds.result == 'skipped')\n      # Needs to be commented when testing locally with act, since it is not yet supported.\n      # https://github.com/nektos/act/pull/629\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os_container: ['rockylinux8', 'rockylinux9', 'ubuntu20_04', 'ubuntu22_04']\n    container: matterminers/cobald-tardis-deployment-test-env:${{ matrix.os_container }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install dependencies on ${{ matrix.os_container }}\n        run: |\n          python3 -m pip install --upgrade pip\n          python3 -m pip install .[contrib]\n          python3 -m pip install coverage codecov\n      - name: Test with unittest on ${{ matrix.os_container }}\n        run: |\n          export LANG=en_US.utf8\n          coverage run -m unittest -v\n  deployment-macos:\n    strategy:\n      matrix:\n        platform: ['macos-latest']\n    runs-on: ${{ matrix.platform }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Add Python 3.11 to GITHUB_PATH\n        run: echo \"/Library/Frameworks/Python.framework/Versions/3.11/bin\" >> $GITHUB_PATH\n      - name: Install dependencies on ${{ matrix.platform }}\n        run: |\n          python3.11 -m pip install --upgrade pip\n          python3.11 -m pip install .[contrib]\n          python3.11 -m pip install coverage codecov\n      - name: Test with unittest on ${{ matrix.platform }}\n        run: |\n          coverage run -m unittest -v\n", "state": "active", "repository": "matterminers/tardis"}
{"mined_at": "2024-07-15T16:01:10.844283", "created_at": "2021-08-18T14:27:29+02:00", "updated_at": "2021-09-03T14:38:00+02:00", "name": "Docker Builds", "path": ".github/workflows/docker-builds.yml", "contents": "name: Docker Builds\n\non:\n  push:\n    branches:\n      - 'master'\n    tags:\n      - '*.*.*'\n  pull_request:\n    branches:\n      - 'master'\n\njobs:\n  setup-docker-builds:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get containers to build\n        id: get_containers\n        run: |\n           python3 -c '\n           import json\n           import pathlib\n           print(\n               \"containers=%s\"\n               % json.dumps([\n                       str(path.parent.relative_to(\"containers\"))\n                       for path in pathlib.Path(\"containers\").glob(\"**/Dockerfile\")\n                   ]\n           ))\n           ' >> $GITHUB_OUTPUT\n    outputs:\n      containers: ${{ steps.get_containers.outputs.containers }}\n\n  docker-builds:\n      needs: setup-docker-builds\n      runs-on: ubuntu-latest\n      strategy:\n        matrix:\n          containers: ${{ fromJSON(needs.setup-docker-builds.outputs.containers) }}\n      steps:\n        - name: Checkout\n          uses: actions/checkout@v4\n        - name: Set up Docker Buildx\n          uses: docker/setup-buildx-action@v3\n        - name: Docker meta\n          id: meta\n          uses: docker/metadata-action@v5\n          with:\n            tags: |\n              type=pep440,pattern={{version}}\n              type=raw,value=latest\n            images: matterminers/${{ matrix.containers }}\n        - name: Login to DockerHub\n          if: github.repository == 'MatterMiners/tardis' && github.event_name != 'pull_request'\n          uses: docker/login-action@v3\n          with:\n            username: ${{ secrets.DOCKERHUB_USERNAME }}\n            password: ${{ secrets.DOCKERHUB_TOKEN }}\n        - name: Build\n          id: docker_build\n          uses: docker/build-push-action@v5\n          with:\n            context: containers/${{ matrix.containers }}\n            push: ${{ github.repository == 'MatterMiners/tardis' && github.event_name != 'pull_request' }}\n            file: containers/${{ matrix.containers }}/Dockerfile\n            tags: ${{ steps.meta.outputs.tags }}\n            build-args: |\n              SOURCE_BRANCH=${{ github.ref }}\n              SOURCE_REPO_URL=https://github.com/${{ github.repository }}\n", "state": "active", "repository": "matterminers/tardis"}
{"mined_at": "2024-07-15T16:01:11.970443", "created_at": "2020-12-10T16:14:13+01:00", "updated_at": "2020-12-10T16:14:13+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist\n        twine upload dist/*\n", "state": "active", "repository": "matterminers/tardis"}
{"mined_at": "2024-07-15T16:01:13.096878", "created_at": "2021-03-23T19:13:42+01:00", "updated_at": "2021-03-23T19:13:42+01:00", "name": "Unit Tests", "path": ".github/workflows/unittests.yml", "contents": "name: Unit Tests\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[contrib]\n        pip install coverage codecov\n    - name: Test with unittest\n      run: |\n        coverage run -m unittest -v\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n", "state": "active", "repository": "matterminers/tardis"}
{"mined_at": "2024-07-15T16:01:14.240159", "created_at": "2021-03-23T19:01:50+01:00", "updated_at": "2021-03-23T19:01:50+01:00", "name": "Static Checks", "path": ".github/workflows/verification.yml", "contents": "name: Static Checks\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[contrib]\n    - name: Lint with flake8\n      run: |\n        flake8 tardis tests setup.py\n    - name: Format with black\n      run: |\n        black tardis tests setup.py --diff --check --target-version py36\n", "state": "active", "repository": "matterminers/tardis"}
{"mined_at": "2024-07-15T16:01:16.378804", "created_at": "2020-02-25T03:44:53+01:00", "updated_at": "2024-07-15T06:38:53+02:00", "name": "Tests", "path": ".github/workflows/ci.yml", "contents": "name: Tests\n\non:\n  pull_request:\n    branches:\n      - main\n      - dev\n      - \"maintain/*\"\n    paths-ignore:\n      - \"docs/**\"\n      - \"news/**\"\n      - \"*.md\"\n      - Dockerfile\n      - tasks/benchmarks/**\n  push:\n    branches:\n      - main\n      - dev\n      - \"maintain/*\"\n    paths-ignore:\n      - \"docs/**\"\n      - \"news/**\"\n      - \"*.md\"\n      - Dockerfile\n      - tasks/benchmarks/**\n\nconcurrency:\n  group: ${{ github.event.number || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  Testing:\n    env:\n      PYTHONDEVMODE: 1\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\", 3.13]\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        install-via: [pip]\n        include:\n          - python-version: \"3.11\"\n            os: ubuntu-latest\n            install-via: script\n          - python-version: \"3.8\"\n            os: macos-13\n            install-via: pip\n          - python-version: \"3.9\"\n            os: macos-13\n            install-via: pip\n        exclude:\n          - python-version: \"3.8\"\n            os: macos-latest\n            install-via: pip\n          - python-version: \"3.9\"\n            os: macos-latest\n            install-via: pip\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python Versions\n        uses: actions/setup-python@v5\n        with:\n          python-version: |\n            3.7\n            3.8\n            3.9\n            3.10\n            3.11\n            3.12\n        if: matrix.os != 'macos-latest'\n      - name: Setup Python Versions\n        uses: actions/setup-python@v5\n        with:\n          python-version: |\n            3.10\n            3.11\n            3.12\n        if: matrix.os == 'macos-latest'\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          allow-prereleases: true\n\n      - name: Cache venv\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pdm.lock') }}\n          restore-keys: |\n            venv-${{ runner.os }}-${{ matrix.python-version }}-\n      - name: Install current PDM via pip\n        if: matrix.install-via == 'pip'\n        run: python -m pip install -U .\n      - name: Install current PDM via script\n        if: matrix.install-via == 'script'\n        run: |\n          python -m pip install click\n          python install-pdm.py --version head\n          echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n      - name: Install Dev Dependencies\n        run: |\n          python -m pip install -U setuptools\n          pdm install -v -dGtest\n          pdm run pip install -U setuptools\n          pdm info\n      - name: Run Tests\n        run: pdm run pytest -n auto --cov=pdm --cov-config=pyproject.toml --cov-report=xml tests\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          flags: unittests\n\n  Pack:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install PDM\n        run: |\n          python -m pip install .\n          pdm self add pdm-packer\n      - name: Pack pdm\n        run: pdm pack\n\n      - name: Test zipapp\n        run: python pdm.pyz --version\n", "state": "active", "repository": "pdm-project/pdm"}
{"mined_at": "2024-07-15T16:01:17.602696", "created_at": "2020-02-25T04:00:40+01:00", "updated_at": "2020-12-15T10:11:32+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  release-pypi:\n    name: release-pypi\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n\n      - name: Check prerelease\n        id: check_version\n        run: |\n          if [[ \"${{ github.ref }}\" =~ ^refs/tags/[0-9.]+$ ]]; then\n            echo \"PRERELEASE=false\" >> $GITHUB_OUTPUT\n          else\n            echo \"PRERELEASE=true\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Build artifacts\n        run: |\n          pipx run build\n\n      - name: Test Build\n        run: |\n          python -m pip install dist/*.whl\n          pdm --help\n\n      - name: Publish package distributions to PyPI\n        run: pdm publish --no-build\n\n      - name: Get Changelog\n        id: get-changelog\n        run: |\n          awk '/## Release/{if (flag==1)exit;else;flag=1;next} flag' CHANGELOG.md > .changelog.md\n\n      - name: Create Release\n        uses: actions/create-release@main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: v${{ github.ref }}\n          body_path: .changelog.md\n          draft: false\n          prerelease: ${{ steps.check_version.outputs.PRERELEASE }}\n\n      - name: Trigger Bucket Update\n        uses: benc-uk/workflow-dispatch@v1\n        with:\n          workflow: Excavator\n          repo: frostming/scoop-frostming\n          token: ${{ secrets.G_T }}\n          ref: master\n", "state": "active", "repository": "pdm-project/pdm"}
{"mined_at": "2024-07-15T16:01:18.728409", "created_at": "2024-07-08T15:27:46+02:00", "updated_at": "2024-07-08T15:27:46+02:00", "name": "Release", "path": ".github/workflows/test-release.yml", "contents": null, "state": "active", "repository": "pdm-project/pdm"}
{"mined_at": "2024-07-15T16:01:19.746989", "created_at": "2021-12-17T03:20:12+01:00", "updated_at": "2021-12-17T03:20:12+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pdm-project/pdm"}
{"mined_at": "2024-07-15T16:01:21.862564", "created_at": "2021-01-05T03:29:47+01:00", "updated_at": "2021-02-12T22:52:57+01:00", "name": "Auto-release", "path": ".github/workflows/auto-release.yml", "contents": "# Good example resources\n# https://riggaroo.dev/using-github-actions-to-automate-our-release-process/\n# https://blog.eizinger.io/12274/using-github-actions-to-automate-gitflow-style-releases\n\nname: Auto-release\n\non:\n  # The below workflow_dispatch section is for a \"manual\" kick off of the\n  # auto-release script. To cut a new release, navigate to the Actions section\n  # of the repo and select this workflow (Auto-release) on the right hand side.\n  # Then, click \"Run workflow\" and you will be prompted to input the new\n  # version (which should be major, minor, or patch).\n  workflow_dispatch:\n    inputs:\n      version_name:\n        description: \"One of major, minor, or patch\"\n        required: true\n        type: choice\n        options:\n          - major\n          - minor\n          - patch\n\njobs:\n  release:\n    name: Create a new release\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Pull latest commits of dev branch\n        run: |\n          git checkout dev\n          git pull\n\n      # See https://github.com/marketplace/actions/wait-on-check\n      # TODO: Fix this later (have every push to dev trigger a test suite run)\n      # - name: Ensure all tests are passing on dev\n      #   uses: lewagon/wait-on-check-action@v0.2\n      #   with:\n      #     ref: dev  # can be commit SHA or tag\n      #     check-name: pyjanitor tests\n      #     repo-token: ${{ secrets.GITHUB_TOKEN }}\n      #     wait-interval: 60  # seconds\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n\n      - name: Install bump2version and wheel\n        run: python -m pip install bumpversion wheel # \"bumpversion\" installs bump2version\n\n      - name: Dry run bumpversion\n        run: |\n          bumpversion --dry-run ${{ github.event.inputs.version_name }} --allow-dirty --verbose\n\n      # This is lifted directly from the bump2version docs.\n      # Version number will be saved in `env` section of each consecutive stage\n      - name: Store new version number\n        run: echo \"version_number=`bumpversion --dry-run --list ${{ github.event.inputs.version_name }} | grep new_version | sed -r s,\"^.*=\",,`\" >> $GITHUB_ENV\n\n      - name: Display new version number\n        run: |\n          echo \"version_name: ${{ github.event.inputs.version_name }}\"\n          echo \"version_number: v${{ env.version_number }}\"\n\n      # See https://github.com/thomaseizinger/keep-a-changelog-new-release\n      - name: Update Changelog\n        uses: thomaseizinger/keep-a-changelog-new-release@v1\n        with:\n          version: v${{ env.version_number }}\n\n      - name: Commit CHANGELOG updates\n        run: |\n          git config --global user.email \"git@github.com\"\n          git config --global user.name \"GitHub Bot\"\n          git add .\n          git commit -m \"Update CHANGELOG for auto-release v${{ env.version_number }}\"\n\n      - name: Ensure repo status is clean\n        run: git status\n\n      - name: Run bumpversion\n        run: bumpversion ${{ github.event.inputs.version_name }} --verbose\n\n      - name: Ensure tag creation\n        run: git tag | grep ${{ env.version_number }}\n\n      - name: Build package\n        run: |\n          rm -f dist/*\n          pip install build\n          python -m build\n\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n      - name: Push changes with tags\n        run: git push && git push --tags\n\n      # This will create an actual pointer in the \"Release\" section of the GitHub repo\n      # The intent is to always have \"latest\" point to <this> release\n      - name: Create release in GitHub repo\n        uses: ncipollo/release-action@v1\n        with:\n          body: \"Contribution details can be found in CHANGELOG.md\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n          tag: v${{ env.version_number}}\n\n      - name: Ensure complete\n        run: echo \"Auto-release complete!\"\n", "state": "active", "repository": "pyjanitor-devs/pyjanitor"}
{"mined_at": "2024-07-15T16:01:22.928760", "created_at": "2022-11-08T20:50:14+01:00", "updated_at": "2022-11-24T01:27:34+01:00", "name": "autoupdate", "path": ".github/workflows/auto-update.yml", "contents": "# This workflow automatically updates PR branches with latest changes on target branch.\n# See: https://github.com/marketplace/actions/auto-update\nname: autoupdate\non:\n  # This will trigger on all pushes to all branches.\n  push:\n    branches: [dev]\njobs:\n  autoupdate:\n    name: autoupdate\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: docker://chinthakagodawita/autoupdate-action:v1\n        env:\n          GITHUB_TOKEN: \"${{ secrets.GHPAGES_TOKEN }}\"\n          PR_READY_STATE: \"ready_for_review\"\n", "state": "active", "repository": "pyjanitor-devs/pyjanitor"}
{"mined_at": "2024-07-15T16:01:24.087668", "created_at": "2021-08-15T04:40:23+02:00", "updated_at": "2022-10-29T19:26:58+02:00", "name": "documentation", "path": ".github/workflows/docs.yml", "contents": "name: documentation\n\non:\n  push:\n    branches:\n      - dev\n  pull_request:\n    branches:\n      - dev\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      # See: https://github.com/marketplace/actions/setup-miniconda\n      - name: Setup miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          miniforge-variant: Mambaforge\n          environment-file: environment-dev.yml\n          use-mamba: true\n\n      - name: Install pyjanitor\n        # use editable mode to avoid _pytest.pathlib.ImportPathMismatchError\n        run: pip install -e .\n\n      - name: Build docs\n        run: mkdocs build\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: website\n          path: site/\n\n      - name: Test docs\n        run: pytest -m \"documentation\"\n\n      - name: Docs preview\n        if: ${{ github.event_name == 'pull_request' }}\n        uses: nwtgck/actions-netlify@v1.1\n        with:\n          publish-dir: \"./site\"\n          production-deploy: false\n          github-token: ${{ secrets.GHPAGES_TOKEN }}\n          deploy-message: \"Deploy from GitHub Actions\"\n          enable-pull-request-comment: true\n          enable-commit-comment: false\n          overwrites-pull-request-comment: true\n          alias: deploy-preview-${{ github.event.number }}\n        env:\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n        timeout-minutes: 1\n\n      - name: Deploy website\n        if: ${{ github.event_name == 'push' }}\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          # https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-set-personal-access-token-personal_token\n          personal_token: ${{ secrets.GHPAGES_TOKEN }}\n          publish_dir: ./site/\n          publish_branch: gh-pages\n          # destination_dir: manuscript\n          allow_empty_commit: false\n          keep_files: false\n          force_orphan: true\n          enable_jekyll: false\n          disable_nojekyll: false\n", "state": "active", "repository": "pyjanitor-devs/pyjanitor"}
{"mined_at": "2024-07-15T16:01:25.167226", "created_at": "2020-12-31T04:02:51+01:00", "updated_at": "2022-12-02T15:39:37+01:00", "name": "pyjanitor tests", "path": ".github/workflows/tests.yml", "contents": "name: pyjanitor tests\n\non:\n  # only run tests and coverage when src-code changes\n  push:\n    branches:\n      - dev\n    paths:\n      - \"janitor/**\"\n      - \"tests/**\"\n      - \".codecov.yml\"\n      - \".github/workflows/tests.yml\"\n  pull_request:\n    branches:\n      - dev\n    paths:\n      - \"janitor/**\"\n      - \"tests/**\"\n      - \".codecov.yml\"\n      - \".github/workflows/tests.yml\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run-tests:\n    strategy:\n      fail-fast: false\n    runs-on: ubuntu-latest\n    name: Run pyjanitor test suite\n\n    # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # See: https://github.com/marketplace/actions/setup-miniconda\n      - name: Setup miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          miniforge-variant: Mambaforge\n          channels: conda-forge\n          environment-file: environment-dev.yml\n          use-mamba: true\n\n      - name: Install pyjanitor\n        run: python -m pip install -e .\n\n      - name: Run docstrings tests\n        run: pytest -v -r a -n auto --color=yes --durations=0 --cov=janitor --cov-append --cov-report term-missing --cov-report xml --doctest-only janitor\n\n      - name: Run unit tests\n        run: pytest -v -r a -n auto --color=yes --durations=0 --cov=janitor --cov-append --cov-report term-missing --cov-report xml tests\n\n      # https://github.com/codecov/codecov-action\n      - name: Upload code coverage\n        uses: codecov/codecov-action@v2\n        with:\n          # fail_ci_if_error: true # optional (default = false)\n          verbose: true # optional (default = false)\n", "state": "active", "repository": "pyjanitor-devs/pyjanitor"}
{"mined_at": "2024-07-15T16:01:26.288386", "created_at": "2022-01-02T15:35:17+01:00", "updated_at": "2022-01-02T15:35:17+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pyjanitor-devs/pyjanitor"}
{"mined_at": "2024-07-15T16:01:28.453181", "created_at": "2023-07-11T20:47:23+02:00", "updated_at": "2023-07-12T10:03:53+02:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": null, "state": "active", "repository": "intel/scikit-learn-intelex"}
{"mined_at": "2024-07-15T16:01:29.451404", "created_at": "2024-05-24T13:33:59+02:00", "updated_at": "2024-05-24T17:35:09+02:00", "name": "oneDAL-nightly", "path": ".github/workflows/build_oneDAL.yml", "contents": null, "state": "active", "repository": "intel/scikit-learn-intelex"}
{"mined_at": "2024-07-15T16:01:30.601429", "created_at": "2021-12-25T10:22:14+01:00", "updated_at": "2023-04-28T10:24:20+02:00", "name": "renovate-validation", "path": ".github/workflows/renovate-validation.yml", "contents": "name: renovate-validation\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - .github/workflows/renovate-validation.yml\n      - .github/renovate.json\n  push:\n    branches:\n      - main\n    paths:\n      - .github/workflows/renovate-validation.yml\n      - .github/renovate.json\n\npermissions:\n  contents: read\n\njobs:\n  validate:\n    name: Renovate validation\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Validate\n        uses: suzuki-shunsuke/github-action-renovate-config-validator@v1.0.1\n        with:\n          config_file_path: .github/renovate.json\n", "state": "active", "repository": "intel/scikit-learn-intelex"}
{"mined_at": "2024-07-15T16:01:31.835767", "created_at": "2024-05-24T13:38:08+02:00", "updated_at": "2024-05-24T17:18:34+02:00", "name": "pip-oneDAL-main", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "intel/scikit-learn-intelex"}
{"mined_at": "2024-07-15T16:01:32.812775", "created_at": "2022-01-13T13:37:04+01:00", "updated_at": "2022-01-13T13:37:04+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "intel/scikit-learn-intelex"}
{"mined_at": "2024-07-15T16:01:35.014270", "created_at": "2021-05-17T11:52:49+02:00", "updated_at": "2021-05-19T18:04:59+02:00", "name": "OpenSIEM", "path": ".github/workflows/main.yml", "contents": "# This workflow will install Python dependencies, run lint with a single version of Python\n\nname: OpenSIEM\n\non:\n  push:\n    paths:\n      - 'config/**'\n      - 'build_scripts/**'\n  pull_request:\n    branches: [ master, develop, 1.0 ]\n\njobs:\n  syntax-check:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Set logstash variables to be used accross steps\n      run: |\n        export LOGSTASH_VERSION=7.16.2\n        export LOGSTASH_HOME=\"/usr/share/logstash\"\n        echo \"LOGSTASH_VERSION=$LOGSTASH_VERSION\" >> $GITHUB_ENV\n        echo \"LOGSTASH_HOME=$LOGSTASH_HOME\" >> $GITHUB_ENV\n    # - name: Cache logstash directory\n    #   id: cache-logstash\n    #   uses: actions/cache@v2.1.5\n    #   with:\n    #     path: ${LOGSTASH_HOME}\n    #     key: ${LOGSTASH_VERSION}\n    - name: Download logstash if not cached already\n      # Unable to use cached directory. Setting up every time for now. Shall revisit later.\n      # if: steps.cache-logstash.outputs.cache-hit != 'true'\n      run: |\n        sudo apt-get install -qqy --no-install-recommends ca-certificates curl\n        set -x\\\n        && mkdir ${LOGSTASH_HOME} \\\n        && export DOWNLOAD_URL=https://artifacts.elastic.co/downloads/logstash \\\n        && export LOGSTASH_BINARY=logstash-oss-${LOGSTASH_VERSION}-linux-x86_64.tar.gz \\\n        && cd /tmp \\\n        && curl -L -O \"${DOWNLOAD_URL}/${LOGSTASH_BINARY}\" \\\n        && curl -L -O \"${DOWNLOAD_URL}/${LOGSTASH_BINARY}.sha512\" \\\n        && sha512sum --check \"${LOGSTASH_BINARY}.sha512\"; \\\n        curl -L -O \"${DOWNLOAD_URL}/${LOGSTASH_BINARY}.asc\" \\\n          && export GNUPGHOME=\"$(mktemp -d)\"; \\\n          curl -L -O https://artifacts.elastic.co/GPG-KEY-elasticsearch \\\n          && gpg -q --batch --import /tmp/GPG-KEY-elasticsearch \\\n          && gpg --batch --no-auto-key-retrieve --verify \"${LOGSTASH_BINARY}.asc\" \"${LOGSTASH_BINARY}\"; \\\n        \\\n        tar xzf ${LOGSTASH_BINARY} -C ${LOGSTASH_HOME} --strip-components=1; \\\n        \\\n        rm -rf \"$GNUPGHOME\" \"${LOGSTASH_BINARY}\" \"${LOGSTASH_BINARY}.sha512\" \"${LOGSTASH_BINARY}.asc\" || true;\n        ${LOGSTASH_HOME}/bin/logstash-plugin install --no-verify \\\n        && ${LOGSTASH_HOME}/bin/logstash-plugin install \\\n        logstash-input-okta_system_log \\\n        logstash-filter-json_encode \\\n        logstash-filter-tld \\\n        logstash-output-opensearch\n    - name: Generate pipelines\n      env:\n        # See README.md for explaination\n        DEPLOY_ENV: test\n        MY_INDEX: '1'\n        # INSTANCE_COUNT=1 as we want to include all configs in one pipeline so syntax check can be performed\n        INSTANCE_COUNT: '1'\n        SUB_MY_IP: abc\n        ELASTIC_USER: elastic_user\n        ELASTIC_PASSWORD: elastic_pass\n        ELASTIC_CONNECTION_STRING: '\"127.0.0.1:9200\", \"127.0.0.2:9200\"'\n        KAFKA_CONNECTION_STRING: kafkahost:9000\n        KAFKA_USER: kafka_uname\n        KAFKA_PASSWORD: kafka_pwd\n        RACK_ID: some_id\n        S3_BUCKET_NAME: some_name\n        LOGSTASH_API_SECRET: '{\"azure_audit_conn\" : \"Endpoint=sb://dummy.com/;SharedAccessKeyName=dum;SharedAccessKey=key=;EntityPath=path\",  \"azure_operational_conn\" : \"Endpoint=sb://dummy.com/;SharedAccessKeyName=dum;SharedAccessKey=key=;EntityPath=path\",  \"azure_signin_conn\" : \"Endpoint=sb://dummy.com/;SharedAccessKeyName=dum;SharedAccessKey=key=;EntityPath=path\",  \"azure_o365_conn\" : \"Endpoint=sb://dummy.com/;SharedAccessKeyName=dum;SharedAccessKey=key=;EntityPath=path\",  \"azure_tcs_security_conn\" : \"Endpoint=sb://dummy.com/;SharedAccessKeyName=dum;SharedAccessKey=key=;EntityPath=path\",  \"azure_o365_dlp_conn\" : \"Endpoint=sb://dummy.com/;SharedAccessKeyName=dum;SharedAccessKey=key=;EntityPath=path\",  \"azure_audit_consumer\" : \"azure_audit_consumer\",  \"azure_operational_consumer\" : \"azure_operational_consumer\",  \"azure_signin_consumer\" : \"azure_signin_consumer\",  \"azure_o365_consumer\" : \"azure_o365_consumer\",  \"azure_tcs_security_consumer\" : \"azure_o365_consumer\",  \"azure_o365_dlp_consumer\" : \"cg-production-operation\",  \"azure_storage_conn\" : \"DefaultEndpointsProtocol=https;AccountName=dummyname;AccountKey=key;EndpointSuffix=core.windows.net\",  \"azure_atp_consumer\" : \"azure_atp_consumer\",  \"azure_atp_conn\" : \"Endpoint=sb://dummy.com/;SharedAccessKeyName=dum;SharedAccessKey=key=;EntityPath=path\",  \"memcached_address\" : \"\\\"127.0.0.1\\\",\\\"127.0.0.2\\\"\",  \"dns_server\" : \"\\\"127.0.0.1\\\",\\\"127.0.0.2\\\"\"}'\n      run: |\n        sudo mkdir -p /data\n        sudo chmod -R 777 /data\n        python build_scripts/generate_settings.py\n        python build_scripts/generate_pipeline.py\n    - name: Prepare for syntax check\n      run: |\n        cp -r config/* /usr/share/logstash/config/\n        sudo mkdir -p /mnt/s3fs_geoip\n        sudo chmod -R 777 /mnt/s3fs_geoip\n        touch /mnt/s3fs_geoip/GeoLite2-City.mmdb\n        touch /mnt/s3fs_geoip/GeoLitePrivate2-City.mmdb\n        touch /usr/share/logstash/config/kafka_client_truststore.jks\n    - name: Test configs for syntax errors\n      run: |\n        ${LOGSTASH_HOME}/bin/logstash --config.test_and_exit\n", "state": "active", "repository": "cargill/opensiem-logstash-parsing"}
{"mined_at": "2024-07-15T16:01:37.267662", "created_at": "2021-12-05T10:56:20+01:00", "updated_at": "2022-01-25T19:21:25+01:00", "name": "tox", "path": ".github/workflows/tox.yml", "contents": "name: tox\n\n# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\non:\n  create: # is used for publishing to PyPI and TestPyPI\n    tags: # any tag regardless of its name, no branches\n      - \"**\"\n  push: # only publishes pushes to the main branch to TestPyPI\n    branches: # any integration branch but not tag\n      - \"main\"\n  pull_request:\n    branches:\n      - \"main\"\n\njobs:\n  pre:\n    name: pre\n    runs-on: ubuntu-22.04\n    outputs:\n      matrix: ${{ steps.generate_matrix.outputs.matrix }}\n    steps:\n      - name: Determine matrix\n        id: generate_matrix\n        uses: coactions/dynamic-matrix@v1\n        with:\n          min_python: \"3.10\"\n          max_python: \"3.12\"\n          default_python: \"3.11\" # used by jobs in other_names\n          other_names: |\n            lint\n            docs\n          platforms: linux,macos\n  tox:\n    name: ${{ matrix.name }} / python ${{ matrix.python_version }}\n    permissions:\n      id-token: write\n      checks: read\n    runs-on: ubuntu-20.04\n    needs: pre\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.pre.outputs.matrix) }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # needed by setuptools-scm\n\n      - name: Cache container images\n        if: ${{ startsWith(matrix.passed_name, 'py') }}\n        uses: actions/cache@v4\n        with:\n          path: |\n            ~/.local/share/containers\n          key: ${{ runner.os }}-${{ hashFiles('src/ansible_navigator/data/images_dockerfile') }}\n\n      - name: Set up Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n          cache: pip\n          cache-dependency-path: .config/constraints.txt\n\n      - name: Install tox\n        run: python3 -m pip install --upgrade \"tox>=4.0.2\"\n\n      - name: Log Python info (${{ matrix.python_version }})\n        run: |\n          command -v python\n          python --version --version\n          python3 -m pip freeze --all\n\n      - name: \"tox -e ${{ matrix.passed_name }}\"\n        continue-on-error: ${{ matrix.devel || false }}\n        run: python3 -m tox -e ${{ matrix.passed_name }}\n\n      - name: tox -e no-test-deps\n        if: ${{ startsWith(matrix.passed_name, 'py') }}\n        continue-on-error: ${{ matrix.devel || false }}\n        run: python3 -m tox -e no-test-deps\n\n      - name: Archive logs and coverage data\n        uses: actions/upload-artifact@v4\n        with:\n          name: logs-${{ matrix.name }}.zip\n          path: |\n            .tox/**/log/\n            .tox/**/coverage.xml\n\n      - name: Change accessibility for cache\n        if: ${{ startsWith(matrix.passed_name, 'py') }}\n        run: podman unshare chmod -R 755 ~/.local/share/containers/\n\n      - name: Report failure if git reports dirty status\n        run: |\n          if [[ -n $(git status -s) ]]; then\n            # shellcheck disable=SC2016\n            echo -n '::error file=git-status::'\n            printf '### Failed as git reported modified and/or untracked files\\n```\\n%s\\n```\\n' \"$(git status -s)\" | tee -a \"$GITHUB_STEP_SUMMARY\"\n            exit 99\n          fi\n        # https://github.com/actions/toolkit/issues/193\n\n  check:\n    if: always()\n    permissions:\n      id-token: write\n      checks: read\n    needs:\n      - tox\n    runs-on: ubuntu-22.04\n    steps:\n      # checkout needed for codecov action which needs codecov.yml file\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - run: pip3 install 'coverage>=7.5.1'\n\n      - name: Merge logs into a single archive\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: logs.zip\n          pattern: logs-*.zip\n          separate-directories: true\n\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: logs.zip\n          path: .\n\n      - name: Check for expected number of coverage.xml reports\n        run: |\n          JOBS_PRODUCING_COVERAGE=5\n          if [ \"$(find . -name coverage.xml | wc -l | bc)\" -ne \"${JOBS_PRODUCING_COVERAGE}\" ]; then\n            echo \"::error::Number of coverage.xml files was not the expected one (${JOBS_PRODUCING_COVERAGE}): $(find . -name coverage.xml |xargs echo)\"\n            exit 1\n          fi\n\n      - name: Upload coverage data\n        uses: codecov/codecov-action@v4\n        with:\n          name: ${{ matrix.passed_name }}\n          fail_ci_if_error: true\n          use_oidc: true # cspell:ignore oidc\n\n      - name: Check codecov.io status\n        if: github.event_name == 'pull_request'\n        uses: coactions/codecov-status@main\n\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n\n      - name: Delete Merged Artifacts\n        uses: actions/upload-artifact/merge@v4\n        with:\n          delete-merged: true\n\n      - name: Notify repository owners about changes affecting them\n        uses: sourcegraph/codenotify@v0.6.4\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        # https://github.com/sourcegraph/codenotify/issues/19\n        continue-on-error: true\n", "state": "active", "repository": "ansible/ansible-navigator"}
{"mined_at": "2024-07-15T16:01:38.492228", "created_at": "2022-03-17T17:45:06+01:00", "updated_at": "2022-03-17T17:45:06+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "---\nname: release\n\non:\n  release:\n    types: [published]\n\njobs:\n  pypi:\n    name: Publish to PyPI registry\n    environment: release\n    runs-on: ubuntu-22.04\n    permissions:\n      id-token: write\n\n    env:\n      FORCE_COLOR: 1\n      PY_COLORS: 1\n      TOXENV: packaging\n      TOX_PARALLEL_NO_SPINNER: 1\n\n    steps:\n      - name: Switch to using Python 3.10 by default\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install tox\n        run: >-\n          python3 -m\n          pip install\n          --user\n          tox\n      - name: Check out src from Git\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # needed by setuptools-scm\n      - name: Build dists\n        run: python3 -m tox\n      - name: Publish to pypi.org\n        if: >- # \"create\" workflows run separately from \"push\" & \"pull_request\"\n          github.event_name == 'release'\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "ansible/ansible-navigator"}
{"mined_at": "2024-07-15T16:01:39.621581", "created_at": "2022-03-17T18:16:40+01:00", "updated_at": "2023-05-11T03:57:22+02:00", "name": "ack", "path": ".github/workflows/ack.yml", "contents": "# See https://github.com/ansible-community/devtools/blob/main/.github/workflows/ack.yml\nname: ack\non:\n  pull_request_target:\n    types: [opened, labeled, unlabeled, synchronize]\n\njobs:\n  ack:\n    uses: ansible/team-devtools/.github/workflows/ack.yml@main\n    secrets: inherit\n", "state": "active", "repository": "ansible/ansible-navigator"}
{"mined_at": "2024-07-15T16:01:40.639693", "created_at": "2022-03-17T18:16:40+01:00", "updated_at": "2024-04-24T20:26:40+02:00", "name": "push", "path": ".github/workflows/push.yml", "contents": "---\nname: push\non:\n  push:\n    branches:\n      - main\n      - \"releases/**\"\n      - \"stable/**\"\n\njobs:\n  ack:\n    uses: ansible/team-devtools/.github/workflows/push.yml@main\n", "state": "active", "repository": "ansible/ansible-navigator"}
{"mined_at": "2024-07-15T16:01:43.109351", "created_at": "2020-11-06T19:17:11+01:00", "updated_at": "2020-11-06T19:17:11+01:00", "name": "CI Test", "path": ".github/workflows/linux.yml", "contents": "name: CI Test\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    if: \"!contains(github.event.head_commit.message, 'skip ci')\"\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Checkout submodules\n      shell: bash\n      run: |\n        auth_header=\"$(git config --local --get http.https://github.com/.extraheader)\"\n        git submodule sync --recursive\n        git -c \"http.extraheader=$auth_header\" -c protocol.version=2 submodule update --init --force --recursive --depth=1\n    - name: Pull and run docker 🐋 \n      shell: bash\n      run: |\n        docker run -it -d --name lakebox --mount type=bind,source=\"$(pwd)\"/../lake,target=/lake stanfordaha/garnet:latest bash\n    - name: Run tests ⚙️\n      shell: bash\n      run: |\n        # Remove docker lake and insert our version that we want to test\n        docker exec -i lakebox /bin/bash -c \"rm -rf /aha/lake\"\n        docker cp ../lake lakebox:/aha/lake\n        # Tests require installation of verilator\n        docker exec -i lakebox bash -c 'yes | apt-get install verilator'\n        # Run the tests\n        docker exec -i lakebox bash -c 'source /aha/bin/activate; cd lake; pytest -v tests/'\n", "state": "active", "repository": "stanfordaha/lake"}
{"mined_at": "2024-07-15T16:01:45.089905", "created_at": "2020-01-10T20:29:39+01:00", "updated_at": "2020-01-10T20:30:04+01:00", "name": ".github/workflows/jekyll.yml", "path": "", "contents": null, "state": "active", "repository": "crweiner/hacktoberfest-swag-list"}
{"mined_at": "2024-07-15T16:01:46.090665", "created_at": "2021-10-06T16:36:01+02:00", "updated_at": "2023-04-18T19:22:03+02:00", "name": "CodeSee", "path": ".github/workflows/codesee-arch-diagram.yml", "contents": "on:\n  push:\n    branches:\n      - master\n  pull_request_target:\n    types: [opened, synchronize, reopened]\n\nname: CodeSee\n\npermissions: read-all\n\njobs:\n  codesee:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    name: Analyze the repo with CodeSee\n    steps:\n      - uses: Codesee-io/codesee-action@v2\n        with:\n          codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}\n", "state": "active", "repository": "crweiner/hacktoberfest-swag-list"}
{"mined_at": "2024-07-15T16:01:47.090382", "created_at": "2024-05-07T05:14:06+02:00", "updated_at": "2024-05-07T05:14:06+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "crweiner/hacktoberfest-swag-list"}
{"mined_at": "2024-07-15T16:01:48.058847", "created_at": "2021-12-30T07:26:31+01:00", "updated_at": "2021-12-30T07:26:31+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "crweiner/hacktoberfest-swag-list"}
{"mined_at": "2024-07-15T16:01:51.292159", "created_at": "2020-09-29T22:42:07+02:00", "updated_at": "2020-09-29T22:42:07+02:00", "name": "Code Quality", "path": ".github/workflows/code_quality.yml", "contents": "# Workflow to check code quality and complexity\n\nname: Code Quality\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    # runs-on: self-hosted\n    strategy:\n      matrix:\n        python-version: [3.7]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install radon\n        pip install flake8\n        pip install flake8-polyfill\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Code complexity\n      run: |\n        # Runs Radon quality check\n        radon cc python --total-average --show-complexity\n    - name: Code quality with flake8\n      run: |\n        # Runs code quality check\n        flake8 python --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n", "state": "active", "repository": "mgear-dev/mgear4"}
{"mined_at": "2024-07-15T16:01:52.443032", "created_at": "2020-09-29T22:42:07+02:00", "updated_at": "2020-11-02T13:17:35+01:00", "name": "Code Tests & Coverage (Python 2)", "path": ".github/workflows/python2_run_tests.yml", "contents": "# This workflow runs code tests using Pytest on with Python 3\n\nname: Code Tests & Coverage (Python 2)\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: self-hosted\n    steps:\n    - uses: actions/checkout@v2\n    - name: Install dependencies\n      run: |\n        mayapy2 -m pip install pytest pytest-cov\n    - name: Run code tests\n      run: |\n        mayapy2 -m pytest\n", "state": "active", "repository": "mgear-dev/mgear4"}
{"mined_at": "2024-07-15T16:01:53.546493", "created_at": "2020-09-29T22:42:07+02:00", "updated_at": "2020-11-02T13:17:35+01:00", "name": "Code Tests & Coverage (Python 3)", "path": ".github/workflows/python3_run_tests.yml", "contents": "# This workflow runs code tests using Pytest on with Python 3\n\nname: Code Tests & Coverage (Python 3)\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: self-hosted\n    steps:\n    - uses: actions/checkout@v2\n    - name: Install dependencies\n      run: |\n        mayapy -m pip install -i https://test.pypi.org/simple/ pymel\n        mayapy -m pip install pytest pytest-cov\n    - name: Run code tests\n      run: |\n        mayapy -m pytest\n", "state": "active", "repository": "mgear-dev/mgear4"}
{"mined_at": "2024-07-15T16:01:55.698528", "created_at": "2023-12-09T15:51:56+01:00", "updated_at": "2023-12-17T15:59:09+01:00", "name": "NeurodiffEq", "path": ".github/workflows/CI.yml", "contents": "name: NeurodiffEq\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install matplotlib==3.7\n      - name: Test with pytest\n        run: |\n          pip install pytest pytest-cov\n          pytest --cov-report term --cov=neurodiffeq/\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n", "state": "active", "repository": "neurodiffgym/neurodiffeq"}
{"mined_at": "2024-07-15T16:01:58.050630", "created_at": "2021-05-07T10:59:27+02:00", "updated_at": "2021-10-15T16:01:58+02:00", "name": "Lint pyzeebe", "path": ".github/workflows/lint.yml", "contents": "name: Lint pyzeebe\n\non: [push, pull_request]\n\n\njobs:\n  type-checking:\n    runs-on: ubuntu-latest\n\n    container: python:3.8\n    steps:\n      - uses: actions/checkout@v2\n      - name: Init python poetry action\n        uses: abatilo/actions-poetry@v2.1.3\n        with:\n          poetry-version: 1.5.1\n      - name: Install dependencies\n        run: poetry install\n      - name: Lint with mypy\n        run: |\n          poetry run mypy pyzeebe\n\n  import-checking:\n    runs-on: ubuntu-latest\n\n    container: python:3.8\n    steps:\n      - uses: actions/checkout@v2\n      - name: Init python poetry action\n        uses: abatilo/actions-poetry@v2.1.3\n        with:\n          poetry-version: 1.5.1\n      - name: Install dependencies\n        run: poetry install\n      - name: Check imports\n        run: |\n          poetry run isort . --check --diff\n\n  format-checking:\n    runs-on: ubuntu-latest\n\n    container: python:3.8\n    steps:\n      - uses: actions/checkout@v2\n      - name: Init python poetry action\n        uses: abatilo/actions-poetry@v2.1.3\n        with:\n          poetry-version: 1.5.1\n      - name: Install dependencies\n        run: poetry install\n      - name: Check imports\n        run: |\n          poetry run black --check .\n", "state": "active", "repository": "camunda-community-hub/pyzeebe"}
{"mined_at": "2024-07-15T16:01:59.209420", "created_at": "2021-12-10T22:35:45+01:00", "updated_at": "2021-12-10T22:38:23+01:00", "name": "Test pyzeebe", "path": ".github/workflows/test.yml", "contents": "name: Test pyzeebe\n\non: [push, pull_request]\n\njobs:\n  # 3.6 and 3.7 only for passing branch rules\n  # https://github.com/camunda-community-hub/pyzeebe/issues/381#issuecomment-2107430780\n  unit-test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    container: python:${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Init python poetry action\n        uses: abatilo/actions-poetry@v2.1.3\n        with:\n          poetry-version: 1.5.1\n        if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' }}\n      - name: Install dependencies\n        run: poetry install\n        if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' }}\n      - name: Test with pytest\n        run: |\n          poetry run coverage run --source=pyzeebe -m pytest tests/unit\n        if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' }}\n      - name: Upload to coveralls\n        run: |\n          poetry run coveralls --service=github\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        if: ${{ matrix.python-version != '3.6' && matrix.python-version != '3.7' }}\n\n  integration-test:\n    env:\n      ZEEBE_ADDRESS: \"zeebe:26500\"\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        zeebe-version: [\"1.3.14\", \"8.1.22\", \"8.2.21\", \"8.3.5\", \"8.4.1\"]\n\n    container: python:3.11\n\n    services:\n      zeebe:\n        image: camunda/zeebe:${{ matrix.zeebe-version }}\n        ports:\n          - 26500/tcp\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Init python poetry action\n        uses: abatilo/actions-poetry@v2.1.3\n        with:\n          poetry-version: 1.5.1\n      - name: Install dependencies\n        run: poetry install\n      - name: Sleep for 30 seconds\n        uses: jakejarvis/wait-action@master\n        with:\n          time: \"30s\"\n\n      - name: Run integration tests\n        run: |\n          poetry run pytest tests/integration\n", "state": "active", "repository": "camunda-community-hub/pyzeebe"}
{"mined_at": "2024-07-15T16:02:00.407955", "created_at": "2021-12-10T22:38:23+01:00", "updated_at": "2021-12-10T22:38:23+01:00", "name": "Publish pyzeebe", "path": ".github/workflows/publish.yml", "contents": "name: Publish pyzeebe\n\non:\n  release:\n    types: [created, prereleased]\n\njobs:\n  publish:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11' \n      - name: Init python poetry action\n        uses: abatilo/actions-poetry@v2.1.3\n        with:\n          poetry-version: '1.5.1'\n      - name: Install dependencies\n        run: poetry install\n      - name: Build and publish\n        env:\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          poetry build\n          poetry publish\n", "state": "active", "repository": "camunda-community-hub/pyzeebe"}
{"mined_at": "2024-07-15T16:02:01.438540", "created_at": "2024-05-24T10:55:53+02:00", "updated_at": "2024-05-24T10:55:53+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "camunda-community-hub/pyzeebe"}
{"mined_at": "2024-07-15T16:02:04.737692", "created_at": "2024-03-27T20:10:31+01:00", "updated_at": "2024-04-12T11:26:17+02:00", "name": "Build Base Images", "path": ".github/workflows/build-bases.yaml", "contents": "name: Build Base Images\n\non:\n  workflow_dispatch:\n    branches:\n      - main\n      # TODO: Remove once merged to main\n      - cog-base-images\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\nenv:\n  REGISTRY: ghcr.io\n  REGISTRY_NAMESPACE: replicate/cog\n\njobs:\n  generate-matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.matrix.outputs.matrix }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Go Runtime\n        uses: actions/setup-go@v5\n        with:\n          go-version-file: go.mod\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install Python dependencies\n        run: |\n          python -m pip install '.[dev]'\n\n      - name: 'Build Base-Image command'\n        run: |\n          make base-image\n\n      - id: matrix\n        run: |\n          MATRIX_JSON=$(./base-image generate-matrix)\n          echo \"matrix=$MATRIX_JSON\" >> $GITHUB_OUTPUT\n        shell: bash\n\n      - name: 'Check Matrix'\n        run: |\n          jq . <<< '${{ steps.matrix.outputs.matrix }}'\n\n  build:\n    name: Build and Push Image\n    needs: generate-matrix\n    runs-on: ubuntu-latest-8-cores\n    strategy:\n      # TODO: Right Size this, 5 seems like a sane placeholder\n      max-parallel: 5\n      matrix:\n        include: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}\n    permissions:\n      contents: 'read'\n      packages: 'write'\n\n    outputs:\n      image: ${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.title'] }}:${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}\n\n    steps:\n      - uses: actions/checkout@v4\n        name: 'Checkout Repository'\n\n      - name: 'Set up Buildx'\n        uses: docker/setup-buildx-action@v3\n        with:\n          platforms: linux/amd64,linux/arm64\n          driver-opts: |\n            image=moby/buildkit:v0.13.1\n\n      - name: Setup Go Runtime\n        uses: actions/setup-go@v5\n        with:\n          go-version-file: go.mod\n\n      - name: 'Set Python Version'\n        run: |\n          if [ -z \"${{ matrix.python_version }}\" ]; then\n            echo \"::error::Python Version is Required\"\n            exit 1\n          fi\n          echo \"PYTHON_VERSION=${{ matrix.python_version }}\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: 'Set Cuda Version'\n        run: |\n          if [ ! -z \"${{ matrix.cuda_version }}\" ]; then\n            echo \"CUDA_VERSION_ARG=--cuda ${{ matrix.cuda_version }}\" >> $GITHUB_ENV\n          fi\n        shell: bash\n\n      - name: 'Set Torch Version'\n        run: |\n          if [ ! -z \"${{ matrix.torch_version }}\" ]; then\n            echo \"TORCH_VERSION_ARG=--torch ${{ matrix.torch_version }}\" >> $GITHUB_ENV\n          fi\n        shell: bash\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install '.[dev]'\n\n      - name: 'Build Base-Image command'\n        run: |\n          make base-image\n\n      - name: 'Generate Dockerfile'\n        run: |\n          ./base-image dockerfile \\\n            --python ${{ env.PYTHON_VERSION }} \\\n            ${{ env.CUDA_VERSION_ARG }} \\\n            ${{ env.TORCH_VERSION_ARG }} > Dockerfile\n\n      - name: 'DockerFile Short Hash'\n        run: |\n          SHORT_HASH=$(echo ${{ hashFiles('Dockerfile') }} | cut -c1-8)\n          echo \"Short Hash: $SHORT_HASH\"\n          echo \"SHORT_HASH=$SHORT_HASH\" >> $GITHUB_ENV\n\n      - name: 'Authenticate to GHCR'\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: 'Reproducible Build: Cache var-cache-apt'\n        id: cache-var-cache-apt\n        uses: actions/cache@v4\n        with:\n          path: var-cache-apt-${{ env.RUNNER_ARCH }}\n          key: var-cache-apt-${{ env.RUNNER_ARCH }}-${{ env.SHORT_HASH }}\n      - name: 'Reproducible Build: inject var-cache-apt'\n        uses: reproducible-containers/buildkit-cache-dance@v3.1.1\n        with:\n          cache-source: var-cache-apt-${{ env.RUNNER_ARCH }}\n          cache-target: /var/cache/apt\n          skip-extraction: ${{ steps.cache-var-cache-apt.outputs.cache-hit == 'true' }}\n\n      - name: Extract metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ${{ env.REGISTRY }}/${{ env.REGISTRY_NAMESPACE }}/${{ matrix.image_name }}\n          tags: |\n            type=raw,value=${{ matrix.image_tag }},priority=800\n            type=raw,value=${{ env.SHORT_HASH }}\n\n      - name: 'Build and Push Base Images'\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: ./Dockerfile\n          push: true\n          outputs: type=image,rewrite-timestamp=true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          platforms: linux/amd64,linux/arm64\n          cache-from: type=gha,scope=${{ matrix.image_name }}-${{ matrix.image_tag }}\n          cache-to: type=gha,scope=${{ matrix.image_name }}-${{ matrix.image_tag }},mode=max\n        env:\n          SOURCE_DATE_EPOCH: 0\n", "state": "active", "repository": "replicate/cog"}
{"mined_at": "2024-07-15T16:02:05.741312", "created_at": "2021-03-22T21:32:39+01:00", "updated_at": "2023-02-01T13:28:58+01:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"**\"\n  pull_request:\n    branches:\n      - main\n  merge_group:\n    branches:\n      - main\n    types:\n      - checks_requested\njobs:\n  test-go:\n    name: \"Test Go\"\n    strategy:\n      fail-fast: false\n      matrix:\n        # https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources\n        platform: [ubuntu-latest-8-cores, macos-12]\n    runs-on: ${{ matrix.platform }}\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-go@v5\n        with:\n          go-version-file: go.mod\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install Python dependencies\n        run: |\n          python -m pip install '.[dev]'\n      - name: Build\n        run: make cog\n      - name: Lint\n        run: make lint-go\n      - name: Test\n        run: make test-go\n\n  test-python:\n    name: \"Test Python ${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest-8-cores\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Python dependencies\n        run: |\n          python -m pip install '.[dev]'\n      - name: Test\n        run: make test-python\n        env:\n          HYPOTHESIS_PROFILE: ci\n\n  typecheck-python:\n    name: \"Typecheck and lint Python\"\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install Python dependencies\n        run: |\n          python -m pip install '.[dev]'\n      - name: Run typechecking\n        run: |\n          make lint-python\n\n  # cannot run this on mac due to licensing issues: https://github.com/actions/virtual-environments/issues/2150\n  test-integration:\n    name: \"Test integration\"\n    runs-on: ubuntu-latest-8-cores\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-go@v5\n        with:\n          go-version-file: go.mod\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install Python dependencies\n        run: |\n          python -m pip install '.[dev]'\n      - name: Test\n        run: make test-integration\n\n  release:\n    needs:\n      - test-go\n      - test-python\n      - test-integration\n    if: startsWith(github.ref, 'refs/tags/v')\n    outputs:\n      cog_version: ${{ steps.build-python-package.outputs.version }}\n    runs-on: ubuntu-latest-8-cores\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-go@v5\n        with:\n          go-version-file: go.mod\n      - name: Build\n        run: make cog\n      - uses: goreleaser/goreleaser-action@v4\n        with:\n          version: latest\n          args: release --clean\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build Python package\n        id: build-python-package\n        run: |\n          # clean package built for go client\n          rm -rf dist\n          # install build\n          pip install build\n          # build package\n          python -m build --wheel\n          # set output\n          echo \"version=$(ls dist/ | cut -d- -f2)\" >> $GITHUB_OUTPUT\n      - name: Push Python package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n          packages-dir: dist\n", "state": "active", "repository": "replicate/cog"}
{"mined_at": "2024-07-15T16:02:06.855524", "created_at": "2023-02-06T12:26:54+01:00", "updated_at": "2023-02-12T17:00:24+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '37 18 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'go', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "replicate/cog"}
{"mined_at": "2024-07-15T16:02:07.937901", "created_at": "2023-12-14T19:45:14+01:00", "updated_at": "2023-12-14T19:58:59+01:00", "name": "Deploy docs", "path": ".github/workflows/docs.yaml", "contents": "name: Deploy docs\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n\n      - name: Copy top-level docs like README and CONTRIBUTING\n        run: |\n          sed 's/docs\\///g' README.md > ./docs/README.md\n          cp CONTRIBUTING.md ./docs/\n\n      - name: Deploy\n        run: |\n          pip install mkdocs-material\n          mkdocs gh-deploy --force\n", "state": "active", "repository": "replicate/cog"}
{"mined_at": "2024-07-15T16:02:08.990664", "created_at": "2023-12-14T20:06:02+01:00", "updated_at": "2023-12-14T20:06:02+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "replicate/cog"}
{"mined_at": "2024-07-15T16:02:11.260921", "created_at": "2023-05-24T21:08:24+02:00", "updated_at": "2023-05-31T19:27:36+02:00", "name": "Build docs preview", "path": ".github/workflows/docs-preview.yml", "contents": "---\nname: \"Build docs preview\"\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n      - closed\nconcurrency: preview-${{ github.ref }}\npermissions:\n  # Needed to update the preview branch.\n  contents: write\n  # Needed to write/maintain the comment\n  pull-requests: write\njobs:\n  preview:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Build docs\n        uses: ./.github/actions/build\n      - name: Deploy docs preview\n        # XXX: Avoid attempting to do preview things across fork boundaries, as it doesn't work.\n        # See: https://github.com/rossjrw/pr-preview-action/pull/6\n        # Adapted from: https://github.com/orgs/community/discussions/26829#discussioncomment-3253575\n        if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}\n        uses: rossjrw/pr-preview-action@v1\n        with:\n          source-dir: site\n", "state": "active", "repository": "islandora/documentation"}
{"mined_at": "2024-07-15T16:02:12.361830", "created_at": "2023-02-22T19:50:37+01:00", "updated_at": "2023-02-22T19:50:37+01:00", "name": "Build docs", "path": ".github/workflows/docs.yml", "contents": "---\nname: \"Build docs\"\non:\n  push:\n    branches:\n      - main\npermissions:\n  contents: write\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Build docs\n        uses: ./.github/actions/build\n      - name: Deploy docs\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: site\n          force: false\n          clean-exclude: |\n            pr-preview\n", "state": "active", "repository": "islandora/documentation"}
{"mined_at": "2024-07-15T16:02:13.385828", "created_at": "2022-05-09T22:23:29+02:00", "updated_at": "2022-05-19T19:59:18+02:00", "name": ".github/workflows/main.yml", "path": ".github/workflows/main.yml", "contents": "# This is a basic workflow to help you get started with Actions\non:\n  issues:\n    types: [opened]\njobs:\n  createCard:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create or Update Project Card\n        uses: peter-evans/create-or-update-project-card@v2\n        with:\n          project-name: Islandora Issues Queue\n", "state": "disabled_manually", "repository": "islandora/documentation"}
{"mined_at": "2024-07-15T16:02:14.512610", "created_at": "2021-12-20T20:39:18+01:00", "updated_at": "2021-12-20T20:39:18+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "islandora/documentation"}
{"mined_at": "2024-07-15T16:02:16.631336", "created_at": "2022-01-28T22:00:43+01:00", "updated_at": "2024-07-03T18:41:06+02:00", "name": ".github/workflows/build_docs.yml", "path": ".github/workflows/build_docs.yml", "contents": "#\n# BSD 2-Clause License\n#\n# Copyright (c) 2021-2024, Hewlett Packard Enterprise\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# 1. Redistributions of source code must retain the above copyright notice, this\n#    list of conditions and the following disclaimer.\n#\n# 2. Redistributions in binary form must reproduce the above copyright notice,\n#    this list of conditions and the following disclaimer in the documentation\n#    and/or other materials provided with the distribution.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n#\n\nname: deploy_dev_docs\n\non:\n  push:\n    branches:\n      - develop\n\njobs:\n  build_docs:\n    name: build_dev_docs\n    runs-on: ubuntu-latest\n\n    steps:\n      \n      # Maximize the space in this image\n      - name: Maximize build space\n        uses: easimon/maximize-build-space@v10\n        with:\n          root-reserve-mb: 30720\n          remove-dotnet: true\n          remove-android: true\n          remove-haskell: true\n          remove-codeql: true\n          remove-docker-images: true\n\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.\n\n      - uses: actions/checkout@v4\n        with:\n          ref: doc\n          path: doc-branch\n\n      - name: Copy over other doc versions from doc branch\n        run: |\n          rm -rf doc-branch/docs/develop/\n          mkdir -p ./docs\n          cp -r doc-branch/docs/* ./docs/\n          rm -rf doc-branch\n\n      - name: Build documentation with docker\n        run: make docks\n\n      - name: Commit files\n        run: |\n          git add -Af\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git commit -m \"Update develop documentation\"\n\n      - uses: ad-m/github-push-action@v0.6.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: doc\n          force: true\n", "state": "active", "repository": "craylabs/smartsim"}
{"mined_at": "2024-07-15T16:02:17.711913", "created_at": "2024-03-14T23:00:46+01:00", "updated_at": "2024-05-12T09:51:47+02:00", "name": "enforce_changelog", "path": ".github/workflows/changelog.yml", "contents": "#\n# BSD 2-Clause License\n#\n# Copyright (c) 2021-2024, Hewlett Packard Enterprise\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# 1. Redistributions of source code must retain the above copyright notice, this\n#    list of conditions and the following disclaimer.\n#\n# 2. Redistributions in binary form must reproduce the above copyright notice,\n#    this list of conditions and the following disclaimer in the documentation\n#    and/or other materials provided with the distribution.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n#\n\nname: enforce_changelog\n\non:\n  pull_request:\n  push:\n    branches:\n      - develop\n\njobs:\n  changelog:\n    name: check_changelog\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Changelog Enforcer\n      uses: dangoslen/changelog-enforcer@v3.6.0\n      with:\n        changeLogPath: './doc/changelog.md'\n        missingUpdateErrorMessage: 'changelog.md has not been updated'\n", "state": "active", "repository": "craylabs/smartsim"}
{"mined_at": "2024-07-15T16:02:18.839106", "created_at": "2023-06-05T18:59:23+02:00", "updated_at": "2023-06-05T18:59:23+02:00", "name": "check-mypy", "path": ".github/workflows/check_mypy.yml", "contents": null, "state": "active", "repository": "craylabs/smartsim"}
{"mined_at": "2024-07-15T16:02:20.172829", "created_at": "2021-05-24T18:42:18+02:00", "updated_at": "2021-05-24T18:42:18+02:00", "name": "deploy-release", "path": ".github/workflows/release.yml", "contents": "#\n# BSD 2-Clause License\n#\n# Copyright (c) 2021-2024, Hewlett Packard Enterprise\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# 1. Redistributions of source code must retain the above copyright notice, this\n#    list of conditions and the following disclaimer.\n#\n# 2. Redistributions in binary form must reproduce the above copyright notice,\n#    this list of conditions and the following disclaimer in the documentation\n#    and/or other materials provided with the distribution.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n#\n\nname: deploy-release\n\non:\n  release:\n    types: [published]\n\n\nenv:\n  HOMEBREW_NO_ANALYTICS: \"ON\" # Make Homebrew installation a little quicker\n  HOMEBREW_NO_AUTO_UPDATE: \"ON\"\n  HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: \"ON\"\n  HOMEBREW_NO_GITHUB_API: \"ON\"\n  HOMEBREW_NO_INSTALL_CLEANUP: \"ON\"\n  CIBW_SKIP: \"pp* *i686*\" # skip building for PyPy\n  CIBW_ARCHS_MACOS: x86_64\n  CIBW_ARCHS_LINUX: x86_64  # ppc64le # uncomment to enable powerPC build\n  CIBW_ENVIRONMENT_MACOS: PATH=\"$(brew --prefix)/opt/make/libexec/gnubin:$PATH\"\n  MACOSX_DEPLOYMENT_TARGET: \"10.09\"\n\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-22.04, macos-12]\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n\n      - name: Install cibuildwheel\n        run: python -m pip install cibuildwheel>=2.12.3\n\n      - name: Install build-essentials\n        if: contains(matrix.os, 'ubuntu')\n        run: |\n          sudo add-apt-repository ppa:ubuntu-toolchain-r/test\n          sudo apt-get update\n          sudo apt-get install -y build-essential\n          sudo apt-get install -y wget\n\n      - name: Install GNU make for MacOS\n        if: contains(matrix.os, 'macos')\n        run: brew install make || true\n\n      - name: list target wheels\n        run: |\n          python -m cibuildwheel . --print-build-identifiers\n\n      - name: Build wheels\n        run: python -m cibuildwheel --output-dir wheelhouse\n        env:\n          CIBW_ENVIRONMENT_MACOS: PATH=\"$(brew --prefix)/opt/make/libexec/gnubin:$PATH\"\n          MACOSX_DEPLOYMENT_TARGET: \"10.09\"\n\n      - uses: actions/upload-artifact@v2\n        with:\n          path: ./wheelhouse/*.whl\n\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.9'\n\n      - name: Build sdist\n        run: |\n          python -m pip install cmake>=3.13\n          python setup.py sdist\n\n      - uses: actions/upload-artifact@v2\n        with:\n          path: dist/*.tar.gz\n\n\n  upload_pypi:\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v2\n        with:\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI }}\n          #repository_url: https://test.pypi.org/legacy/\n\n\n  createPullRequest:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Create pull request\n        run: |\n          gh pr create -B develop -H master --title 'Merge master into develop' --body 'This PR brings develop up to date with master for release.'\n        env:\n            GH_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "craylabs/smartsim"}
{"mined_at": "2024-07-15T16:02:21.214434", "created_at": "2022-01-24T22:03:51+01:00", "updated_at": "2024-03-12T23:17:49+01:00", "name": "run-tests", "path": ".github/workflows/run_tests.yml", "contents": "#\n# BSD 2-Clause License\n#\n# Copyright (c) 2021-2024, Hewlett Packard Enterprise\n# All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are met:\n#\n# 1. Redistributions of source code must retain the above copyright notice, this\n#    list of conditions and the following disclaimer.\n#\n# 2. Redistributions in binary form must reproduce the above copyright notice,\n#    this list of conditions and the following disclaimer in the documentation\n#    and/or other materials provided with the distribution.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n#\n\nname: run-tests\n\non:\n  pull_request:\n  push:\n    branches:\n      - develop\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  HOMEBREW_NO_ANALYTICS: \"ON\" # Make Homebrew installation a little quicker\n  HOMEBREW_NO_AUTO_UPDATE: \"ON\"\n  HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: \"ON\"\n  HOMEBREW_NO_GITHUB_API: \"ON\"\n  HOMEBREW_NO_INSTALL_CLEANUP: \"ON\"\n  DEBIAN_FRONTEND: \"noninteractive\" # Disable interactive apt install sessions\n  GIT_CLONE_PROTECTION_ACTIVE: false\n\njobs:\n  run_tests:\n    name: Run tests ${{ matrix.subset }} with ${{ matrix.os }}, Python ${{ matrix.py_v}}, RedisAI ${{ matrix.rai }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        subset: [backends, slow_tests, group_a, group_b]\n        os: [macos-12, macos-14, ubuntu-22.04] # Operating systems\n        compiler: [8] # GNU compiler version\n        rai: [1.2.7] # Redis AI versions\n        py_v: [\"3.9\", \"3.10\", \"3.11\"] # Python versions\n        exclude:\n          - os: macos-14\n            py_v: \"3.9\"\n\n    env:\n      SMARTSIM_REDISAI: ${{ matrix.rai }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.py_v }}\n\n      - name: Install build-essentials for Ubuntu\n        if: contains( matrix.os, 'ubuntu' )\n        run: |\n          sudo add-apt-repository ppa:ubuntu-toolchain-r/test\n          sudo apt-get update\n          sudo apt-get install -y build-essential\n          sudo apt-get install -y wget\n\n      - name: Install GNU make for MacOS and set GITHUB_PATH\n        if: contains( matrix.os, 'macos' )\n        run: |\n          brew install make || true\n          echo \"$(brew --prefix)/opt/make/libexec/gnubin\" >> $GITHUB_PATH\n\n      - name: Build Singularity from source\n        if: contains( matrix.os, 'ubuntu' ) && matrix.py_v == 3.9\n        run: |\n          sudo apt-get install -y libseccomp-dev pkg-config squashfs-tools cryptsetup curl git # wget build-essential\n          echo 'export PATH=/usr/local/go/bin:$PATH' >> ~/.bashrc\n          source ~/.bashrc\n          export VERSION=1.0.0 # Apptainer (singularity) version\n          wget https://github.com/apptainer/apptainer/releases/download/v${VERSION}/apptainer-${VERSION}.tar.gz\n          tar -xzf apptainer-${VERSION}.tar.gz\n          cd apptainer-${VERSION}\n          ./mconfig\n          make -C builddir\n          sudo make -C builddir install\n\n      - name: singularity pull test container # This lets us time how long the pull takes\n        if: contains( matrix.os, 'ubuntu' ) && matrix.py_v == 3.9\n        run: singularity pull docker://alrigazzi/smartsim-testing\n\n      # Note: The develop branch of smartredis is installed first to ensure that any tests that depend\n      # on developments of the client are brought in.\n      - name: Install SmartSim (with ML backends)\n        run: |\n          python -m pip install git+https://github.com/CrayLabs/SmartRedis.git@develop#egg=smartredis\n          python -m pip install .[dev,ml]\n\n      - name: Install ML Runtimes with Smart (with pt, tf, and onnx support)\n        if: contains( matrix.os, 'ubuntu' ) || contains( matrix.os, 'macos-12')\n        run: smart build --device cpu --onnx -v\n\n      - name: Install ML Runtimes with Smart (no ONNX,TF on Apple Silicon)\n        if: contains( matrix.os, 'macos-14' )\n        run: smart build --device cpu --no_tf -v\n\n      - name: Run mypy\n        run: |\n          python -m pip install .[mypy]\n          make check-mypy\n\n      - name: Run Pylint\n        run: make check-lint\n\n      # Run isort/black style check\n      - name: Run isort\n        run: isort --check-only --profile black ./smartsim ./tests\n\n      # Run isort/black style check\n      - name: Run black\n        run: |\n          black --exclude smartsim/version.py --check ./smartsim ./tests\n\n      # Run pytest (backends subdirectory)\n      - name: Run Pytest\n        if: (matrix.subset == 'backends')\n        run: |\n          echo \"SMARTSIM_LOG_LEVEL=debug\" >> $GITHUB_ENV\n          py.test -s --import-mode=importlib -o log_cli=true --cov=$(smart site) --cov-report=xml --cov-config=./tests/test_configs/cov/local_cov.cfg --ignore=tests/full_wlm/ ./tests/backends\n\n      # Run pytest (test subsets)\n      - name: Run Pytest\n        if: \"!contains(matrix.subset, 'backends')\" # if not running backend tests\n        run: |\n          echo \"SMARTSIM_LOG_LEVEL=debug\" >> $GITHUB_ENV\n          py.test -s --import-mode=importlib -o log_cli=true --cov=$(smart site) --cov-report=xml --cov-config=./tests/test_configs/cov/local_cov.cfg --ignore=tests/full_wlm/ -m ${{ matrix.subset }} ./tests\n\n      # Upload artifacts on failure, ignoring binary files\n      - name: Upload Artifact\n        if: failure()\n        uses: actions/upload-artifact@v3\n        with:\n          name: test_artifact\n          path: |\n            tests/test_output\n            !**/*.so\n            !**/*.pb\n            !**/*.pt\n            !**/core\n          retention-days: 5\n\n      - name: Upload Pytest coverage to Codecov\n        uses: codecov/codecov-action@v3.1.4\n        with:\n          fail_ci_if_error: false\n          files: ./coverage.xml\n", "state": "active", "repository": "craylabs/smartsim"}
{"mined_at": "2024-07-15T16:02:22.425161", "created_at": "2022-02-10T19:30:24+01:00", "updated_at": "2022-02-10T19:30:24+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "craylabs/smartsim"}
{"mined_at": "2024-07-15T16:02:24.571794", "created_at": "2022-12-06T06:58:02+01:00", "updated_at": "2022-12-07T03:51:47+01:00", "name": "sky130hvl_ldo-generator", "path": ".github/workflows/ldo_sky130hvl.yml", "contents": "name: sky130hvl_ldo-generator\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n    paths:\n      - 'openfasoc/common/**'\n      - 'openfasoc/generators/common/**'\n      - 'openfasoc/generators/ldo-gen/**'\n  workflow_dispatch:\n\njobs:\n  sky130hd_ldoGen:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Remove unnecessary files\n        run: |\n          du . -h\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          du . -h\n\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Test sky130hvl LDO\n        env:\n                IMAGE_NAME: msaligane/openfasoc:stable\n        run: |\n          cd $GITHUB_WORKSPACE\n          touch file.log\n          docker run --rm \\\n            -v $PWD:$PWD\\\n            -w $PWD\\\n            $IMAGE_NAME\\\n            bash -c \"\\\n              cp ./.github/scripts/parse_rpt.py ./openfasoc/generators/ldo-gen/. &&\\\n              pip3 install -r requirements.txt &&\\\n              cd ./openfasoc/generators/ldo-gen &&\\\n              make sky130hvl_ldo &&\\\n              python3 parse_rpt.py sky130hvl_ldo\n            \" && exit_code=$? | tee -a file.log\n            if [ $? -ne 0 ]; then exit 1; fi\n            if grep \"\\[ERROR\\]\" file.log; then exit 1; else exit 0; fi\n", "state": "active", "repository": "idea-fasoc/openfasoc"}
{"mined_at": "2024-07-15T16:02:25.627437", "created_at": "2022-12-06T06:58:03+01:00", "updated_at": "2022-12-07T03:51:47+01:00", "name": "sky130hd_temp-sense-generator", "path": ".github/workflows/tempSense_sky130hd.yml", "contents": "name: sky130hd_temp-sense-generator\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n    paths:\n      - 'openfasoc/common/**'\n      - 'openfasoc/generators/common/**'\n      - 'openfasoc/generators/temp-sense-gen/**'\n  workflow_dispatch:\n\njobs:\n  sky130hd_temp:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Remove unnecessary files\n        run: |\n          du . -h\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          du . -h\n\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Test sky130hd temperature sensor\n        env:\n                IMAGE_NAME: msaligane/openfasoc:stable\n        run: |\n          cd $GITHUB_WORKSPACE\n          touch file.log\n          docker run --rm \\\n            -v $PWD:$PWD\\\n            -w $PWD\\\n            $IMAGE_NAME\\\n            bash -c \"\\\n              cp ./.github/scripts/parse_rpt.py ./openfasoc/generators/temp-sense-gen/. &&\\\n              pip3 install -r requirements.txt &&\\\n              cd ./openfasoc/generators/temp-sense-gen &&\\\n              make sky130hd_temp &&\\\n              python3 parse_rpt.py\n            \" && exit_code=$? | tee -a file.log\n            if [ $? -ne 0 ]; then exit 1; fi\n            if grep \"\\[ERROR\\]\" file.log; then exit 1; else exit 0; fi\n      \n      - name: Test sky130hd temperature sensor simulations\n        env:\n                IMAGE_NAME: msaligane/openfasoc:stable\n        run: |\n          cd $GITHUB_WORKSPACE\n          touch sim_file.log\n          docker run --rm \\\n            -v $PWD:$PWD\\\n            -w $PWD\\\n            $IMAGE_NAME\\\n            bash -c \"\\\n              cp ./.github/scripts/parse_rpt.py ./openfasoc/generators/temp-sense-gen/. &&\\\n              pip3 install -r requirements.txt &&\\\n              cd ./openfasoc/generators/temp-sense-gen &&\\\n              make clean &&\\\n              make sky130hd_temp_full &&\\\n              python3 parse_rpt.py sky130hd_temp_full\n            \" && exit_code=$? | tee -a file.log\n            if [ $? -ne 0 ]; then exit 1; fi\n            if grep \"\\[ERROR\\]\" file.log; then exit 1; else exit 0; fi", "state": "active", "repository": "idea-fasoc/openfasoc"}
{"mined_at": "2024-07-15T16:02:26.666886", "created_at": "2022-12-07T03:51:47+01:00", "updated_at": "2022-12-07T03:51:47+01:00", "name": "Build and test with the latest version of tools set", "path": ".github/workflows/verify_latest_tools_versions.yml", "contents": "#This flow will build the latest docker image, test the OpenFASOC generators (only drc and lvs for now) in it and if it works, update the readme file and push it to the docker hub for reference\n\nname: Build and test with the latest version of tools set\n\non:\n  #push:\n  #pull_request:\n  workflow_dispatch:\n  schedule:\n   - cron: 0 1 * * * # run at 1 AM UTC\n\njobs:\n  build_docker_image:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v2\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build the docker image\n        env:\n              IMAGE_NAME: msaligane/openfasoc:alpha\n        run: |\n          cd $GITHUB_WORKSPACE/docker/conda\n          docker build -t $IMAGE_NAME .\n          docker push $IMAGE_NAME\n\n  sky130hd_temp:\n    needs: build_docker_image\n    runs-on: ubuntu-latest\n    steps:\n      - name: Remove unnecessary files\n        run: |\n          du . -h\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          du . -h\n\n      - name: Checkout repo\n        uses: actions/checkout@v2\n\n      - name: Test sky130hd Temp sensor\n        env:\n                IMAGE_NAME: msaligane/openfasoc:alpha\n        run: |\n          cd $GITHUB_WORKSPACE\n          touch file.log\n          docker run --rm \\\n            -v $PWD:$PWD\\\n            -w $PWD\\\n            $IMAGE_NAME\\\n            bash -c \"\\\n              pip3 install -r requirements.txt &&\\\n              cd ./openfasoc/generators/temp-sense-gen &&\\\n              make sky130hd_temp\\\n            \" && exit_code=$? | tee -a file.log\n            if [ $? -ne 0 ]; then exit 1; fi\n            if grep \"\\[ERROR\\]\" file.log; then exit 1; else exit 0; fi\n\n  sky130hd_ldoGen:\n    needs: build_docker_image\n    runs-on: ubuntu-latest\n    steps:\n      - name: Remove unnecessary files\n        run: |\n          du . -h\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          du . -h\n\n      - name: Checkout repo\n        uses: actions/checkout@v2\n\n      # - name: Test sky130hvl LDO\n      #   env:\n      #           IMAGE_NAME: msaligane/openfasoc:alpha\n      #   run: |\n      #     cd $GITHUB_WORKSPACE\n      #     touch file.log\n      #     docker run --rm \\\n      #       -v $PWD:$PWD\\\n      #       -w $PWD\\\n      #       $IMAGE_NAME\\\n      #       bash -c \"\\\n      #         cp ./.github/scripts/parse_rpt.py ./openfasoc/generators/ldo-gen/. &&\\\n      #         pip3 install -r requirements.txt &&\\\n      #         cd ./openfasoc/generators/ldo-gen &&\\\n      #         make sky130hvl_ldo &&\\\n      #         python3 parse_rpt.py sky130hvl_ldo\n      #       \" && exit_code=$? | tee -a file.log\n      #       if [ $? -ne 0 ]; then exit 1; fi\n      #       if grep \"\\[ERROR\\]\" file.log; then exit 1; else exit 0; fi\n\n\n  cryoGenerator:\n    needs: build_docker_image\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        platform: [sky130hd, sky130hs, sky130hvl]\n\n    steps:\n      - name: Remove unnecessary files\n        run: |\n          du . -h\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          du . -h\n\n      - name: Checkout repo\n        uses: actions/checkout@v2\n\n      - name: Test ${{ matrix.platform }} Cryo Gen\n        env:\n                IMAGE_NAME: msaligane/openfasoc:stable\n        run: |\n          cd $GITHUB_WORKSPACE\n          touch file.log\n          docker run --rm \\\n            -v $PWD:$PWD\\\n            -w $PWD\\\n            $IMAGE_NAME\\\n            bash -c \"\\\n              cp ./.github/scripts/parse_rpt.py ./openfasoc/generators/cryo-gen/. &&\\\n              pip3 install -r requirements.txt &&\\\n              cd ./openfasoc/generators/cryo-gen &&\\\n              make ${{ matrix.platform }}_cryo &&\\\n              python3 parse_rpt.py ${{ matrix.platform }}\n            \" && exit_code=$? | tee -a file.log\n            if [ $? -ne 0 ]; then exit 1; fi\n            if grep \"^Error\" file.log; then exit 1; else exit 0; fi\n          \n\n  update_readme:\n    needs: [sky130hd_temp,sky130hd_ldoGen,cryoGenerator,build_docker_image]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v2\n\n      - name: Grep the commit numbers of all dependent tools and update README.rst\n        env:\n              IMAGE_NAME: msaligane/openfasoc:alpha\n        run: |\n          cd $GITHUB_WORKSPACE\n          docker run --rm \\\n            -v $PWD:$PWD\\\n            -w $PWD\\\n            $IMAGE_NAME\\\n            bash -c \"\\\n              chmod 755 /scripts/extract_conda_versions.sh\n              /scripts/extract_conda_versions.sh > conda_versions.txt\n              chmod 755 /scripts/extract_tool_versions.sh\n              /scripts/extract_tool_versions.sh > versions.txt\n              /scripts/modify_readme.py\"\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Push the docker image\n        env:\n              IMAGE_NAME: msaligane/openfasoc:stable\n        run: |\n          docker tag msaligane/openfasoc:alpha $IMAGE_NAME\n          docker push $IMAGE_NAME\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v4\n        with:\n          token: ${{ secrets.BOT_TOKEN }}\n          title: \"[BOT] Update successful version records of dependencies to the repository\"\n          author: ${{ secrets.BOT_AUTHOR_LINE }}\n          committer: ${{ secrets.BOT_AUTHOR_LINE }}\n          body: |\n            This is an automated PR.\n            See the individual commits for details.\n          commit-message: |\n            [BOT] Update dependencies successful version records in the repository\n          branch: versions-update-branch\n          push-to-fork: ${{ secrets.FORK_NAME }}\n          delete-branch: true", "state": "active", "repository": "idea-fasoc/openfasoc"}
{"mined_at": "2024-07-15T16:02:27.747351", "created_at": "2023-06-14T23:03:04+02:00", "updated_at": "2024-06-04T17:41:04+02:00", "name": "Cryo Generator Workflow", "path": ".github/workflows/cryo_gen.yml", "contents": "name: Cryo Generator Workflow\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    paths:\n      - 'openfasoc/common/**'\n      - 'openfasoc/generators/common/**'\n      - 'openfasoc/generators/cryo-gen/**'\n  workflow_dispatch:\n\njobs:\n  cryoGenerator:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        platform: [sky130hd, sky130hs, sky130hvl]\n\n    steps:\n      - name: Remove unnecessary files\n        run: |\n          du . -h\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          du . -h\n\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Test ${{ matrix.platform }} Cryo Gen\n        env:\n                IMAGE_NAME: msaligane/openfasoc:stable\n        run: |\n          cd $GITHUB_WORKSPACE\n          touch file.log\n          docker run --rm \\\n            -v $PWD:$PWD\\\n            -w $PWD\\\n            $IMAGE_NAME\\\n            bash -c \"\\\n              cp ./.github/scripts/parse_rpt.py ./openfasoc/generators/cryo-gen/. &&\\\n              pip3 install -r requirements.txt &&\\\n              cd ./openfasoc/generators/cryo-gen &&\\\n              make ${{ matrix.platform }}_cryo &&\\\n              python3 parse_rpt.py ${{ matrix.platform }}\n            \" && exit_code=$? | tee -a file.log\n            if [ $? -ne 0 ]; then exit 1; fi\n            if grep \"^Error\" file.log; then exit 1; else exit 0; fi\n", "state": "active", "repository": "idea-fasoc/openfasoc"}
{"mined_at": "2024-07-15T16:02:28.842378", "created_at": "2023-09-10T08:28:08+02:00", "updated_at": "2023-09-10T08:28:08+02:00", "name": "Lint and Test Common Python API", "path": ".github/workflows/test_python.yml", "contents": null, "state": "active", "repository": "idea-fasoc/openfasoc"}
{"mined_at": "2024-07-15T16:02:30.102331", "created_at": "2023-09-11T17:36:33+02:00", "updated_at": "2023-09-25T17:35:48+02:00", "name": "Lint and Test Python API", "path": ".github/workflows/test_python_api.yml", "contents": "---\nname: Lint and Test Python API\n# https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-python\n\non:\n  pull_request:\n    paths:\n      - 'openfasoc/common/**'\n      - 'openfasoc/generators/common/**'\n      - 'tests/**'\n      - 'requirements.txt'\n      - 'pytest.ini'\n  push:\n  schedule:\n    - cron: 0 2 * * * # run at 2 AM UTC\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 12\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest]\n\n    steps:\n      - name: Cancel Workflow Action\n        uses: styfle/cancel-workflow-action@0.9.1\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt install -y ngspice\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install pytest\n          # pip install .\n      - name: Test with pytest\n        run: pytest\n", "state": "active", "repository": "idea-fasoc/openfasoc"}
{"mined_at": "2024-07-15T16:02:31.218436", "created_at": "2024-05-28T19:27:14+02:00", "updated_at": "2024-06-06T00:07:40+02:00", "name": "Test glayout pypi package", "path": ".github/workflows/glayout_sky130.yml", "contents": "name: Test glayout pypi package\n\non:\n    push:\n        branches:\n            - main\n    pull_request:\n        paths:\n            - 'openfasoc/common/**'\n            - 'openfasoc/generators/common/**'\n            - 'openfasoc/generators/glayout/**'\n    workflow_dispatch:\n\njobs:\n    glayout_sky130:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Remove unnecessary files\n              run: |\n                du . -h\n                sudo rm -rf /usr/share/dotnet\n                sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n                du . -h\n\n            - name: Checkout repo\n              uses: actions/checkout@v4\n\n\n            - name: Run opamp test\n              env:\n                IMAGE_NAME: msaligane/openfasoc:stable\n              run: |\n                cd $GITHUB_WORKSPACE\n                touch glayout.log\n                docker run --rm \\\n                  -v $PWD:$PWD \\\n                  -w $PWD \\\n                  $IMAGE_NAME \\\n                  bash -c \"\\\n                    pip uninstall glayout -y &&\\\n                    cp ./.github/scripts/test_glayout_ci.py ./openfasoc/generators/glayout/. &&\\\n                    cd ./openfasoc/generators/glayout &&\\\n                    pip3 install gdsfactory==7.7.0 prettyprint prettyprinttree gdstk &&\\\n                    python3 test_glayout_ci.py --component opamp\n                  \" && exit_code=$? | tee -a glayout.log\n                if [ $? -ne 0 ]; then exit 1; fi\n                if grep \"\\[ERROR\\]\" glayout.log; then exit 1; else exit 0; fi\n\n\n            - name: Run pmos test\n              env:\n                IMAGE_NAME: msaligane/openfasoc:stable\n              run: |\n                cd $GITHUB_WORKSPACE\n                touch glayout.log\n                docker run --rm \\\n                  -v $PWD:$PWD \\\n                  -w $PWD \\\n                  $IMAGE_NAME \\\n                  bash -c \"\\\n                    pip uninstall glayout -y &&\\\n                    cp ./.github/scripts/test_glayout_ci.py ./openfasoc/generators/glayout/. &&\\\n                    cd ./openfasoc/generators/glayout &&\\\n                    pip3 install gdsfactory==7.7.0 prettyprint prettyprinttree gdstk &&\\\n                    python3 test_glayout_ci.py --component pmos\n                  \" && exit_code=$? | tee -a glayout.log\n                if [ $? -ne 0 ]; then exit 1; fi\n                if grep \"\\[ERROR\\]\" glayout.log; then exit 1; else exit 0; fi\n\n            - name: Run nmos test\n              env:\n                IMAGE_NAME: msaligane/openfasoc:stable\n              run: |\n                cd $GITHUB_WORKSPACE\n                touch glayout.log\n                docker run --rm \\\n                  -v $PWD:$PWD \\\n                  -w $PWD \\\n                  $IMAGE_NAME \\\n                  bash -c \"\\\n                    pip uninstall glayout -y &&\\\n                    cp ./.github/scripts/test_glayout_ci.py ./openfasoc/generators/glayout/. &&\\\n                    cd ./openfasoc/generators/glayout &&\\\n                    pip3 install gdsfactory==7.7.0 prettyprint prettyprinttree gdstk &&\\\n                    python3 test_glayout_ci.py --component nmos\n                  \" && exit_code=$? | tee -a glayout.log\n                if [ $? -ne 0 ]; then exit 1; fi\n                if grep \"\\[ERROR\\]\" glayout.log; then exit 1; else exit 0; fi\n\n            - name: Run differential pair test\n              env:\n                IMAGE_NAME: msaligane/openfasoc:stable\n              run: |\n                cd $GITHUB_WORKSPACE\n                touch glayout.log\n                docker run --rm \\\n                  -v $PWD:$PWD \\\n                  -w $PWD \\\n                  $IMAGE_NAME \\\n                  bash -c \"\\\n                    pip uninstall glayout -y &&\\\n                    cp ./.github/scripts/test_glayout_ci.py ./openfasoc/generators/glayout/. &&\\\n                    cd ./openfasoc/generators/glayout &&\\\n                    pip3 install gdsfactory==7.7.0 prettyprint prettyprinttree gdstk &&\\\n                    python3 test_glayout_ci.py --component diff_pair\n                  \" && exit_code=$? | tee -a glayout.log\n                if [ $? -ne 0 ]; then exit 1; fi\n                if grep \"\\[ERROR\\]\" glayout.log; then exit 1; else exit 0; fi\n\n            - name: Run current mirror test\n              env:\n                IMAGE_NAME: msaligane/openfasoc:stable\n              run: |\n                cd $GITHUB_WORKSPACE\n                touch glayout.log\n                docker run --rm \\\n                  -v $PWD:$PWD \\\n                  -w $PWD \\\n                  $IMAGE_NAME \\\n                  bash -c \"\\\n                    pip uninstall glayout -y &&\\\n                    cp ./.github/scripts/test_glayout_ci.py ./openfasoc/generators/glayout/. &&\\\n                    cd ./openfasoc/generators/glayout &&\\\n                    pip3 install gdsfactory==7.7.0 prettyprint prettyprinttree gdstk &&\\\n                    python3 test_glayout_ci.py --component current_mirror\n                  \" && exit_code=$? | tee -a glayout.log\n                if [ $? -ne 0 ]; then exit 1; fi\n                if grep \"\\[ERROR\\]\" glayout.log; then exit 1; else exit 0; fi", "state": "active", "repository": "idea-fasoc/openfasoc"}
{"mined_at": "2024-07-15T16:02:32.355937", "created_at": "2024-06-02T21:40:58+02:00", "updated_at": "2024-06-06T00:07:40+02:00", "name": "Opamp spice testbench", "path": ".github/workflows/glayout_opamp_sim.yml", "contents": "name: Opamp spice testbench\n\non:\n    push:\n        branches:\n            - main\n    pull_request:\n        paths:\n            - 'openfasoc/common/**'\n            - 'openfasoc/generators/common/**'\n            - 'openfasoc/generators/glayout/**'\n    workflow_dispatch:\n\njobs:\n    glayout_sky130:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Remove unnecessary files\n              run: |\n                du . -h\n                sudo rm -rf /usr/share/dotnet\n                sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n                du . -h\n\n            - name: Checkout repo\n              uses: actions/checkout@v4\n            \n            - name: Opamp Parametric sims\n              env:\n                  IMAGE_NAME: msaligane/openfasoc:stable\n              run: |\n                  cd $GITHUB_WORKSPACE\n                  touch glayout.log\n                  docker run --rm \\\n                      -v $PWD:$PWD \\\n                      -w $PWD \\\n                      $IMAGE_NAME \\\n                      bash -c \"\\\n                      cp ./.github/scripts/test_glayout_ci.py ./openfasoc/generators/glayout/tapeout/tapeout_and_RL/. &&\\\n                      pip uninstall glayout -y &&\\\n                      pip3 install -r requirements.txt &&\\\n                      cd ./openfasoc/generators/glayout/tapeout/tapeout_and_RL/ &&\\\n                      pip3 install prettyprint prettyprinttree gdstk &&\\\n                      python3 test_glayout_ci.py --component opamp_parametric\n                      \" && exit_code=$? | tee -a glayout.log\n                  if [ $? -ne 0 ]; then exit 1; fi\n                  if grep \"\\[ERROR\\]\" glayout.log; then exit 1; else exit 0; fi", "state": "active", "repository": "idea-fasoc/openfasoc"}
{"mined_at": "2024-07-15T16:02:34.535694", "created_at": "2022-10-18T22:27:19+02:00", "updated_at": "2022-10-19T19:02:20+02:00", "name": "Create and Publish Helm Packages", "path": ".github/workflows/ci_helm_publish.yaml", "contents": "name: Create and Publish Helm Packages\non:\n  push:\n    tags:\n      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10, will be triggered when a new tag is pushed\n\njobs:\n  call-ci-servicex:\n    uses: ./.github/workflows/ci_servicex.yaml\n    secrets: inherit\n  call-ci-helm-tests:\n    uses: ./.github/workflows/ci_helm_tests.yaml\n    secrets: inherit\n  build:\n    name: Create Release\n    needs: [call-ci-servicex, call-ci-helm-tests]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.6\n      - name: Pull flux_river_configs\n        uses: actions/checkout@v4.1.6\n        with:\n          repository: ssl-hep/flux_river_configs\n          ref: main\n          path: flux_river_configs\n          token: ${{ secrets.API_TOKEN_GITHUB }}\n      - name: Pull ssl-helm-charts\n        uses: actions/checkout@v4.1.6\n        with:\n          repository: ssl-hep/ssl-helm-charts\n          ref: gh-pages\n          path: ssl-helm-charts\n          token: ${{ secrets.API_TOKEN_GITHUB }}\n      - name: Create release version env var\n        run: |\n          # Remove leading v from version string\n          echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/}\" | sed s/v// >> $GITHUB_ENV\n          echo \"$RELEASE_VERSION\"\n          echo \"DOCKER_TAG=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n          echo \"$DOCKER_TAG\"\n\n      - name: Set version in flux_river_configs\n        uses: mikefarah/yq@v4.44.1\n        with:\n          cmd: |\n            yq -i '.spec.chart.spec.version = strenv(RELEASE_VERSION) | .spec.chart.spec.version style=\"double\" ' flux_river_configs/servicex-int/values.yaml &&\n            yq -i '.appVersion = strenv(RELEASE_VERSION) | .appVersion style=\"double\" | .version = \"'$RELEASE_VERSION'\"| .version style=\"double\" ' helm/servicex/Chart.yaml &&\n            yq -i '.app.tag = strenv(DOCKER_TAG) | .app.tag style=\"double\" |\n            .didFinder.rucio.tag = strenv(DOCKER_TAG) | .didFinder.rucio.tag style=\"double\" |\n            .didFinder.CERNOpenData.tag = strenv(DOCKER_TAG) | .didFinder.CERNOpenData.tag style=\"double\" |\n            .transformer.sidecarTag = strenv(DOCKER_TAG) | .transformer.sidecarTag style=\"double\" |\n            .x509Secrets.tag = strenv(DOCKER_TAG) | .x509Secrets.tag style=\"double\" ' helm/servicex/Chart.yaml &&\n            CODEGENS=$(yq '.spec.values.codeGen | keys | .[]' flux_river_configs/servicex-int/values.yaml) && for i in $CODEGENS; do yq -i  '.spec.values.codeGen.[$i].tag=strenv(DOCKER_TAG) | .spec.values.codeGen.[$i].tag style=\"double\"' flux_river_configs/servicex-int/values.yaml; done\n      - name: Create helm package\n        working-directory: ./helm\n        run: |\n          helm dependency update servicex\n          helm package servicex\n          mv servicex-$RELEASE_VERSION.tgz ../ssl-helm-charts\n          helm repo index ../ssl-helm-charts --url https://ssl-hep.github.io/ssl-helm-charts/\n      - name: Pushes to ssl-helm-packages repository\n        uses: cpina/github-action-push-to-another-repository@v1.7.2\n        env:\n          API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}\n        with:\n          source-directory: 'ssl-helm-charts'\n          destination-github-username: 'ssl-hep'\n          destination-repository-name: 'ssl-helm-charts'\n          target-branch: 'gh-pages'\n          user-email: 'bengal1@illinois.edu'\n      - name: Pushes to flux-river-configs repository\n        uses: cpina/github-action-push-to-another-repository@v1.7.2\n        env:\n          API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}\n        with:\n          source-directory: 'flux_river_configs'\n          destination-github-username: 'ssl-hep'\n          destination-repository-name: 'flux_river_configs'\n          target-branch: 'main'\n          user-email: 'bengal1@illinois.edu'\n      - name: Create Release\n        id: create_release\n        uses: softprops/action-gh-release@v2.0.5\n        with:\n          tag_name: ${{ github.ref }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          name: Release ${{ github.ref }}\n          draft: false\n          prerelease: false", "state": "active", "repository": "ssl-hep/servicex"}
{"mined_at": "2024-07-15T16:02:35.734375", "created_at": "2022-10-19T19:01:43+02:00", "updated_at": "2022-10-19T19:02:20+02:00", "name": "Lint and Test Helm Charts", "path": ".github/workflows/ci_helm_tests.yaml", "contents": "name: Lint and Test Helm Charts\n\non: [pull_request, workflow_call]\n\njobs:\n  lint-test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4.1.6\n        with:\n          fetch-depth: 0\n\n      - name: Set up Helm\n        uses: azure/setup-helm@v4\n        with:\n          version: v3.9.2\n\n      - uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.10\"\n\n      - name: Set up chart-testing\n        uses: helm/chart-testing-action@v2.6.1\n\n      - name: add bitnami repos to helm\n        run: |\n          helm repo add bitnami https://charts.bitnami.com/bitnami\n\n      - name: Run chart-testing (list-changed)\n        id: list-changed\n        run: |\n          changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }} )\n          if [[ -n \"$changed\" ]]; then\n            echo \"changed=true\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Run chart-testing (lint)\n        run: ct lint --target-branch ${{ github.event.repository.default_branch }} --chart-dirs ${GITHUB_WORKSPACE}/helm/servicex --charts helm/servicex", "state": "active", "repository": "ssl-hep/servicex"}
{"mined_at": "2024-07-15T16:02:36.775095", "created_at": "2022-10-18T22:19:06+02:00", "updated_at": "2022-11-11T13:31:52+01:00", "name": "Test and Build Docker Images", "path": ".github/workflows/ci_servicex.yaml", "contents": "name: Test and Build Docker Images\n\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request:\n  workflow_call:\n\nenv:\n  DOCKERHUB_ORG: sslhep\n\njobs:\n  build-matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - name: Checkout to repository\n        uses: actions/checkout@v4.1.6\n\n      - name: Read file contents\n        working-directory: ./.github/workflows\n        id: set-matrix\n        run: |\n          echo \"matrix<<EOF\" >> $GITHUB_OUTPUT\n          cat deploy-config.json >> $GITHUB_OUTPUT\n          echo \"EOF\" >> $GITHUB_OUTPUT\n\n  test:\n    needs: build-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        app: \"${{fromJson(needs.build-matrix.outputs.matrix)}}\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout to repository\n        uses: actions/checkout@v4.1.6\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n        if: ${{ matrix.app.test_required }}\n\n      - name: Install poetry\n        uses: abatilo/actions-poetry@v3.0.0\n        with:\n          poetry-version: 1.2.2\n\n      - name: Install dependencies\n        working-directory: ${{ matrix.app.dir_name }}\n        if: ${{ matrix.app.test_required }}\n        run: |\n          echo \"${{ matrix.app }}\"\n          poetry install --no-root --with=test\n          pip list\n      - name: Lint with Flake8\n        working-directory: ${{ matrix.app.dir_name }}\n        if: ${{ matrix.app.test_required }}\n        run: |\n          poetry run flake8\n      - name: Test with pytest\n        working-directory: ${{ matrix.app.dir_name }}\n        if: ${{ matrix.app.test_required }}\n        run: |\n          poetry run python -m coverage run -m pytest -r sx\n      - name: Report coverage with Codecov\n        if: ${{ matrix.app.test_required }}\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  publish:\n    needs: [build-matrix, test]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        app: ${{fromJson(needs.build-matrix.outputs.matrix)}}\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - name: Extract tag name\n        working-directory: ${{ matrix.app.dir_name }}\n        shell: bash\n        run: echo \"imagetag=sslhep/${{matrix.app.image_name}}:$(echo ${GITHUB_REF##*/})\" >> $GITHUB_OUTPUT\n        id: extract_tag_name\n      - name: Extract Cache Dir\n        working-directory: ${{ matrix.app.dir_name }}\n        shell: bash\n        run: echo \"cachetag=sslhep/${{matrix.app.image_name}}:buildcache\" >> $GITHUB_OUTPUT\n        id: extract_cache_name\n      - name: Print Cache Tag Name\n        shell: bash\n        run: |\n          echo \"${{ steps.extract_cache_name.outputs.cachetag }}\"\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3.0.0\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3.3.0\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3.2.0\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Build and push\n        uses: docker/build-push-action@v5.4.0\n        with:\n          context: ${{ matrix.app.dir_name }}\n          push: true\n          tags: ${{ steps.extract_tag_name.outputs.imagetag }}\n          cache-from: type=${{ format('registry,ref={0}',steps.extract_cache_name.outputs.cachetag) }}\n          cache-to: type=${{ format('registry,ref={0}',steps.extract_cache_name.outputs.cachetag) }},mode=max\n          file: ${{ matrix.app.dockerfile }}\n", "state": "active", "repository": "ssl-hep/servicex"}
{"mined_at": "2024-07-15T16:02:39.523458", "created_at": "2023-02-10T12:00:37+01:00", "updated_at": "2024-02-07T15:50:30+01:00", "name": "Test if all packages build", "path": ".github/workflows/build.yml", "contents": "name: Test if all packages build\non:\n  schedule:\n    - cron: '0 0 * * *'\n  push:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    container:\n      image: ubuntu:jammy\n\n    steps:\n      - name: Set up ROS ecosystem\n        uses: ros-tooling/setup-ros@v0.7\n\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - name: Configure git to trust repository\n        run: git config --global --add safe.directory /__w/bitbots_meta/bitbots_meta\n\n      - name: Pull source code for libraries and install dependencies\n        run: make install HTTPS=true ARGS=\"-ci\"\n\n      - name: Set up colcon workspace\n        run: |\n          mkdir -p /colcon_ws/src\n          ln -s $(realpath .) /colcon_ws/src/bitbots_meta\n\n      - name: Build packages\n        run: |\n          . /opt/ros/iron/setup.sh\n          colcon build --symlink-install\n        working-directory: /colcon_ws\n        \n      - name: Test packages\n        run: |\n          # Source workspace\n          . /opt/ros/iron/setup.sh\n          . install/setup.sh\n          # Run tests for all packages\n          colcon test --packages-skip-regex pylon --event-handlers console_direct+ --return-code-on-test-failure --parallel-workers 1\n        working-directory: /colcon_ws\n", "state": "active", "repository": "bit-bots/bitbots_meta"}
{"mined_at": "2024-07-15T16:02:40.859072", "created_at": "2024-01-31T10:39:40+01:00", "updated_at": "2024-01-31T14:38:58+01:00", "name": "Build & Test", "path": ".github/workflows/ci.yml", "contents": null, "state": "active", "repository": "bit-bots/bitbots_meta"}
{"mined_at": "2024-07-15T16:02:42.185675", "created_at": "2024-01-18T12:00:01+01:00", "updated_at": "2024-01-23T21:25:31+01:00", "name": "Code style checks", "path": ".github/workflows/pre-commit.yml", "contents": "name: Code style checks\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n      - name: Install cppcheck\n        run: sudo apt install cppcheck -y\n      - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "bit-bots/bitbots_meta"}
{"mined_at": "2024-07-15T16:02:44.336795", "created_at": "2020-11-23T12:43:50+01:00", "updated_at": "2024-04-19T14:10:24+02:00", "name": "Assign to one project", "path": ".github/workflows/assign_to_project.yml", "contents": null, "state": "active", "repository": "pyfar/pyfar"}
{"mined_at": "2024-07-15T16:02:45.564635", "created_at": "2024-04-10T17:12:12+02:00", "updated_at": "2024-06-07T14:13:32+02:00", "name": "Create issue if pr gets a cookiecutter label", "path": ".github/workflows/create_issue_if_coockiecutter.yml", "contents": null, "state": "active", "repository": "pyfar/pyfar"}
{"mined_at": "2024-07-15T16:02:46.680182", "created_at": "2024-05-13T13:55:14+02:00", "updated_at": "2024-05-31T13:24:25+02:00", "name": "Create issue if pr gets a cookiecutter label", "path": ".github/workflows/create_issue_if_cookiecutter.yml", "contents": "on:\n  pull_request:\n    types: [ labeled ]\nname: Create issue if pr gets a cookiecutter label\njobs:\n  stuff:\n    permissions:\n      contents: read\n      issues: write\n    name: create issue\n    environment: test\n    if: github.event.label.name == 'cookiecutter'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: 'pyfar/cookiecutter-pypackage'\n      - uses: dacbd/create-issue-action@v2\n        with:\n          title: ${{ github.event.pull_request.title  }}\n          token: ${{ secrets.cookiecutter_PAT }}\n          owner: pyfar\n          repo: cookiecutter-pypackage\n          body: |\n            apply changes from https://github.com/${{ github.repository }}/pull/${{ github.event.number }}\n", "state": "active", "repository": "pyfar/pyfar"}
{"mined_at": "2024-07-15T16:02:47.821084", "created_at": "2024-06-07T14:31:44+02:00", "updated_at": "2024-06-07T14:31:44+02:00", "name": "PR Check Label for version Label", "path": ".github/workflows/has_version_label.yml", "contents": null, "state": "active", "repository": "pyfar/pyfar"}
{"mined_at": "2024-07-15T16:02:50.106633", "created_at": "2021-11-03T12:45:22+01:00", "updated_at": "2021-11-03T12:45:22+01:00", "name": "Dependabot PR Approve and Merge", "path": ".github/workflows/dependabot-auto-approve-and-merge.yml", "contents": "name: Dependabot PR Approve and Merge\n# Original: https://blog.somewhatabstract.com/2021/10/11/setting-up-dependabot-with-github-actions-to-approve-and-merge/?utm_source=pocket_mylist\n# See also: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#approve-a-pull-request\n\non: pull_request_target\n\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    # Check the actor, only run for Dependabot PRs, prevent failing on non-Dependabot PRs.\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      # This step will fail (without approval) if there's no metadata.\n      - name: Dependabot metadata\n        id: dependabot-metadata\n        uses: dependabot/fetch-metadata@v2.1.0\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      # Approve the PR.\n      - name: Approve a PR\n        run: gh pr review --approve \"$PR_URL\"\n        env:\n          PR_URL: ${{ github.event.pull_request.html_url }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      # Allow auto-merging for patch and minor updates if all checks pass.\n      - name: Enable auto-merge for Dependabot PRs\n        if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}\n        run: gh pr merge --auto --squash \"$PR_URL\"\n        env:\n          PR_URL: ${{ github.event.pull_request.html_url }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "zostera/django-bootstrap5"}
{"mined_at": "2024-07-15T16:02:51.300186", "created_at": "2023-06-03T08:23:59+02:00", "updated_at": "2023-06-03T13:27:21+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non: [ push ]\n\nconcurrency:\n  group: test-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n\n  tests_matrix:\n    runs-on: ubuntu-latest\n    needs: [ ruff ]\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n        django-version: [4.2, 5.0, \"main\"]\n        exclude:\n            # Django 4.2\n            - python-version: 3.12\n              django-version: 4.2\n\n            # Django 5.0\n            - python-version: 3.8\n              django-version: 5.0\n            - python-version: 3.9\n              django-version: 5.0\n\n            # Django main\n            - python-version: 3.8\n              django-version: \"main\"\n            - python-version: 3.9\n              django-version: \"main\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install GDAL binaries\n        run: sudo apt-get install binutils libproj-dev gdal-bin\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: requirements-test.txt\n      - run: python -m pip install -r requirements-test.txt\n      - run: python -m pip install -U Django==${{ matrix.django-version }}\n        if: matrix.django-version != 'main'\n      - run: python -m pip install -U https://github.com/django/django/archive/master.tar.gz\n        if: matrix.django-version == 'main'\n      - run: python -m pip install -e .\n      - run: coverage run manage.py test\n      - run: python -m pip install -U coveralls\n      - name: Upload coveralls (parallel)\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_PARALLEL: true\n        run: coveralls --service=github\n\n  docs:\n    runs-on: ubuntu-latest\n    needs: [ tests_matrix ]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n            python-version: \"3.11\"\n            cache: 'pip'\n            cache-dependency-path: docs/requirements.txt\n      - name: Build documentation\n        run: |\n          python -m pip install -r docs/requirements.txt\n          make docs\n\n  build:\n    runs-on: ubuntu-latest\n    needs: [ tests_matrix ]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n            python-version: \"3.11\"\n            cache: 'pip'\n            cache-dependency-path: requirements-dev.txt\n      - name: Build package\n        run: |\n          python -m pip install -r requirements-dev.txt\n          make build\n\n\n  tests:\n    if: always()\n    runs-on: ubuntu-latest\n    needs: [ tests_matrix, ruff, docs, build ]\n    steps:\n      - name: Check tests matrix status\n        if: needs.tests_matrix.result != 'success'\n        run: exit 1\n      - name: Finish parallel build\n        uses: coverallsapp/github-action@v2\n        with:\n          parallel-finished: true\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "zostera/django-bootstrap5"}
{"mined_at": "2024-07-15T16:02:53.449795", "created_at": "2022-01-23T05:59:02+01:00", "updated_at": "2022-01-23T05:59:02+01:00", "name": "Delete old workflow runs", "path": ".github/workflows/delete_workflow_runs.yml", "contents": "# This workflow will delete old workflow runs, on a schedule or manually triggered.\n\nname: Delete old workflow runs\n\non:\n  workflow_dispatch:\n    inputs:\n      days:\n        description: 'Number of days.'\n        required: true\n        default: 30\n      minimum_runs:\n        description: 'The minimum runs to keep for each workflow.'\n        required: true\n        default: 6\n\njobs:\n  del_runs:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Delete workflow runs\n        uses: Mattraks/delete-workflow-runs@v2\n        with:\n          token: ${{ github.token }}\n          repository: ${{ github.repository }}\n          retain_days: ${{ github.event.inputs.days }}\n          keep_minimum_runs: ${{ github.event.inputs.minimum_runs }}\n", "state": "active", "repository": "tl-system/plato"}
{"mined_at": "2024-07-15T16:02:54.575818", "created_at": "2021-11-26T22:59:22+01:00", "updated_at": "2021-11-27T02:42:30+01:00", "name": "MindSpore CI Tests", "path": ".github/workflows/mindspore_tests.yml", "contents": "name: MindSpore CI Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    branches: [main]\n\njobs:\n  MindSpore-Tests:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n\n      - name: Setting up Conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniconda-version: \"latest\"\n          auto-update-conda: true\n          activate-environment: \"plato\"\n\n      - name: Install dependencies\n        shell: bash -l {0}\n        run: |\n          sudo apt-get update\n          sudo apt install -y python3-pip\n          conda activate plato\n          conda install mindspore-cpu -c mindspore -c conda-forge -y\n          pip3 install numpy python-socketio aiohttp requests boto3 pyyaml datasets\n          pip3 install Pillow==9.5.0\n      - name: Training workloads\n        shell: bash -l {0}\n        run: |\n          conda activate plato\n          ./run --config=configs/MNIST/fedavg_lenet5_mindspore.yml\n          ./run --config=configs/MNIST/mistnet_lenet5_mindspore.yml\n", "state": "active", "repository": "tl-system/plato"}
{"mined_at": "2024-07-15T16:02:55.805318", "created_at": "2021-12-09T23:01:47+01:00", "updated_at": "2023-12-23T02:15:45+01:00", "name": "Upload the plato-learn Python Package to PyPI", "path": ".github/workflows/pypi_publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created.\n\nname: Upload the plato-learn Python Package to PyPI\n\non:\n  release:\n    types:\n      - created\n\njobs:\n  build_and_deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n\n      - name: Build package\n        run: python setup.py sdist bdist_wheel\n\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "tl-system/plato"}
{"mined_at": "2024-07-15T16:02:57.033924", "created_at": "2021-11-26T22:59:22+01:00", "updated_at": "2021-11-27T02:42:30+01:00", "name": "PyTorch CI Tests", "path": ".github/workflows/pytorch_tests.yml", "contents": "name: PyTorch CI Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    branches: [main]\n\njobs:\n  PyTorch-Tests:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n\n      # Runs a set of commands using the runners shell\n      - name: Install dependencies\n        shell: bash -l {0}\n        run: |\n          sudo apt-get update\n          sudo apt install -y python3-pip python3-dev\n          pip3 install torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu\n          pip3 install -r requirements.txt --upgrade\n          pip3 install .\n\n      - name: Unit tests\n        shell: bash -l {0}\n        run: |\n          find tests -name '*.py' -exec python {} \\;\n\n      - name: Training workloads\n        shell: bash -l {0}\n        run: |\n          ./run --config=configs/MNIST/fedavg_lenet5.yml\n          ./run --config=configs/MNIST/fedavg_cross_silo_lenet5.yml\n          ./run --config=configs/MNIST/fedavg_async_lenet5.yml\n          ./run --config=configs/MNIST/fedavg_lenet5_noniid.yml\n          ./run --config=configs/MNIST/mistnet_lenet5.yml\n", "state": "active", "repository": "tl-system/plato"}
{"mined_at": "2024-07-15T16:02:58.136862", "created_at": "2022-08-14T16:24:41+02:00", "updated_at": "2023-11-14T23:08:26+01:00", "name": "PyTorch YOLOv5 CI Tests", "path": ".github/workflows/pytorch_yolov5_tests.yml", "contents": null, "state": "active", "repository": "tl-system/plato"}
{"mined_at": "2024-07-15T16:02:59.286755", "created_at": "2021-11-26T22:59:22+01:00", "updated_at": "2021-11-27T02:42:30+01:00", "name": "TensorFlow CI Tests", "path": ".github/workflows/tensorflow_tests.yml", "contents": "name: TensorFlow CI Tests\n\non:\n    push:\n        branches: [main]\n    pull_request:\n        branches: [main]\n    # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n        branches: [main]\n\njobs:\n    TensorFlow-Tests:\n        runs-on: ubuntu-20.04\n\n        steps:\n            - uses: actions/checkout@v3\n              with:\n                submodules: recursive\n\n            # Runs a set of commands using the runners shell\n            - name: Install dependencies\n              shell: bash -l {0}\n              run: |\n                  sudo apt-get update\n                  sudo apt install -y python3-pip\n                  pip3 install -r requirements.txt --upgrade\n                  pip3 install tensorflow tensorflow-datasets\n                  pip3 uninstall protobuf\n                  pip3 install protobuf==3.20.3\n\n            - name: Training workloads\n              shell: bash -l {0}\n              run: |\n                  ./run --config=configs/MNIST/fedavg_lenet5_tensorflow.yml\n", "state": "active", "repository": "tl-system/plato"}
{"mined_at": "2024-07-15T16:03:01.545437", "created_at": "2020-11-02T10:35:12+01:00", "updated_at": "2020-11-02T10:35:12+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n# ******** NOTE ********\n\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [main, test]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [main]\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: javascript, python\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "hyphaapp/hypha"}
{"mined_at": "2024-07-15T16:03:02.590925", "created_at": "2022-12-15T11:18:33+01:00", "updated_at": "2022-12-15T11:18:33+01:00", "name": "Deploy Docs", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Deploy Docs\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"docs/**\"\n      - \"mkdocs.yml\"\n\nconcurrency:\n  group: deploy\n  cancel-in-progress: true\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Deploy docs\n        uses: mhausenblas/mkdocs-deploy-gh-pages@master\n        env:\n          GEN_REF_PAGES: true\n          GITHUB_TOKEN: ${{ github.token }}\n          CUSTOM_DOMAIN: docs.hypha.app\n          CONFIG_FILE: mkdocs.yml\n          EXTRA_PACKAGES: build-base\n          REQUIREMENTS: requirements-docs.txt\n", "state": "active", "repository": "hyphaapp/hypha"}
{"mined_at": "2024-07-15T16:03:03.710069", "created_at": "2022-11-08T12:15:17+01:00", "updated_at": "2022-11-17T11:03:24+01:00", "name": "Hypha CI", "path": ".github/workflows/hypha-ci.yml", "contents": "name: Hypha CI\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n      - test\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build-fe:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version-file: \".nvmrc\"\n          cache: \"npm\"\n      - name: install node dependencies\n        run: npm install --quiet\n      - name: builds static assets\n        run: npm run build\n\n  build-be:\n    runs-on: ubuntu-latest\n    env:\n      DJANGO_SETTINGS_MODULE: hypha.settings.test\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".python-version\"\n          cache: \"pip\"\n          cache-dependency-path: \"**/requirements*.txt\"\n      - name: install python dependencies\n        run: |\n          python3 -m venv venv\n          . venv/bin/activate\n          pip install --upgrade pip\n          pip install wheel\n          pip install -r requirements-dev.txt\n\n  lint-fe:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version-file: \".nvmrc\"\n          cache: \"npm\"\n      - name: install node dependencies\n        run: npm install --quiet\n      - name: run scss and js linting\n        run: npm run lint\n\n  lint-be:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".python-version\"\n      - name: Install python dependencies\n        run: pip install `grep -E \"ruff|djhtml\" requirements-dev.txt`\n      - name: Run linting\n        run: ruff check --output-format=github .\n      - name: Run formating check\n        run: ruff format --check .\n      - name: Run djhtml\n        run: djhtml hypha/ --check\n\n  test-be:\n    runs-on: ubuntu-latest\n    env:\n      DATABASE_URL: postgresql://hypha:hypha@localhost/hypha?sslmode=disable\n      DJANGO_SETTINGS_MODULE: hypha.settings.test\n      SEND_MESSAGES: false\n    services:\n      postgres:\n        image: postgres:14-alpine\n        env:\n          POSTGRES_USER: hypha\n          POSTGRES_PASSWORD: hypha\n          POSTGRES_DB: hypha\n        ports:\n          - 5432:5432\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n    strategy:\n      matrix:\n        group: [1, 2, 3]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".python-version\"\n          cache: \"pip\"\n          cache-dependency-path: \"**/requirements*.txt\"\n      - uses: codecov/codecov-action@v4\n      - name: install python dependencies\n        run: |\n          python3 -m venv venv\n          source venv/bin/activate\n          mkdir hypha/static_compiled\n          pip install --upgrade pip wheel\n          pip install -r requirements-dev.txt\n\n      - name: Run django checks\n        run: venv/bin/python manage.py check\n\n      - name: Check Django Migrations\n        run: |\n          venv/bin/python manage.py makemigrations --dry-run --verbosity=3\n          venv/bin/python manage.py makemigrations --check\n\n      - name: Run collect static\n        run: venv/bin/python manage.py collectstatic --noinput --no-post-process --verbosity=1\n\n      - name: Run pytest\n        run: venv/bin/pytest --cov --cov-report term:skip-covered --splits 3 --group ${{ matrix.group }}\n", "state": "active", "repository": "hyphaapp/hypha"}
{"mined_at": "2024-07-15T16:03:04.809617", "created_at": "2021-04-06T11:47:39+02:00", "updated_at": "2021-04-06T11:47:39+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - main\n  # pull_request event is required only for autolabeler\n  pull_request:\n    # Only following types are handled by the action, but one can default to all as well\n    types: [opened, reopened, synchronize]\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next Release notes as Pull Requests are merged into \"main\"\n      - uses: release-drafter/release-drafter@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "hyphaapp/hypha"}
{"mined_at": "2024-07-15T16:03:05.820386", "created_at": "2022-12-15T11:30:24+01:00", "updated_at": "2022-12-15T11:30:24+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "hyphaapp/hypha"}
{"mined_at": "2024-07-15T16:03:07.889272", "created_at": "2022-08-12T14:00:38+02:00", "updated_at": "2022-08-12T14:00:38+02:00", "name": "Issue assignment", "path": ".github/workflows/auto-assign-issue.yaml", "contents": "name: Issue assignment\n\non:\n  issues:\n    types: [ opened ]\n\njobs:\n  auto-assign:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Auto-assign issue'\n        uses: pozil/auto-assign-issue@v2\n        with:\n          assignees: LeMyst\n          allowSelfAssign: true\n", "state": "active", "repository": "lemyst/wikibaseintegrator"}
{"mined_at": "2024-07-15T16:03:09.001548", "created_at": "2022-08-12T14:00:56+02:00", "updated_at": "2022-08-12T14:00:56+02:00", "name": "Code Scanning - Action", "path": ".github/workflows/codeql-analysis.yaml", "contents": "name: \"Code Scanning - Action\"\n\non:\n  #push:\n  #  branches: [ master ]\n  #pull_request:\n  #  # The branches below must be a subset of the branches above\n  #  branches: [ master ]\n  schedule:\n    - cron: '0 16 */2 * *'\n\njobs:\n  CodeQL-Build:\n    # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest\n    runs-on: ubuntu-latest\n\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4.1.7\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        # Override language selection by uncommenting this and choosing your languages\n        with:\n          languages: python\n\n      # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below).\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following\n      #    three lines and modify them (or add more) to build your code if your\n      #    project uses a compiled language\n\n      #- run: |\n      #     make bootstrap\n      #     make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "lemyst/wikibaseintegrator"}
{"mined_at": "2024-07-15T16:03:10.143230", "created_at": "2022-08-12T14:00:56+02:00", "updated_at": "2024-01-06T19:07:34+01:00", "name": "Publish Python 🐍 distributions 📦 to PyPI, TestPyPI and GitHub Release", "path": ".github/workflows/publish-to-pypi.yaml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI, TestPyPI and GitHub Release\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    tags: [ '**' ]\n  pull_request:\n    branches: [ '**' ]\n\njobs:\n  build:\n    name: Build Python 🐍 distributions 📦\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.12'\n          cache: 'poetry'\n\n      # Need to install poetry again in the new python version\n      - name: Install poetry\n        run: python -m pip install poetry\n\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          poetry\n          build\n\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n\n  publish-to-testpypi:\n    name: Publish Python 🐍 distribution 📦 to TestPyPI\n    if: startsWith(github.ref, 'refs/tags/')  # only publish to PyPI on tag pushes\n    needs:\n      - build\n    runs-on: ubuntu-latest\n\n    environment:\n      name: testpypi\n      url: https://test.pypi.org/p/wikibaseintegrator\n\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution 📦 to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n\n  publish-to-pypi:\n    name: Publish Python 🐍 distribution 📦 to PyPI\n    if: startsWith(github.ref, 'refs/tags/')  # only publish to PyPI on tag pushes\n    needs:\n      - build\n      - publish-to-testpypi\n    runs-on: ubuntu-latest\n\n    environment:\n      name: pypi\n      url: https://pypi.org/p/wikibaseintegrator\n\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  github-release:\n    name: >-\n      Sign the Python 🐍 distribution 📦 with Sigstore\n      and upload them to GitHub Release\n    if: startsWith(github.ref, 'refs/tags/')  # only publish to PyPI on tag pushes\n    needs:\n      - publish-to-pypi\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write  # IMPORTANT: mandatory for making GitHub Releases\n      id-token: write  # IMPORTANT: mandatory for sigstore\n\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Sign the dists with Sigstore\n        uses: sigstore/gh-action-sigstore-python@v2.1.1\n        with:\n          inputs: >-\n            ./dist/*.tar.gz\n            ./dist/*.whl\n      - name: Create GitHub Release\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n        run: >-\n          gh release create\n          '${{ github.ref_name }}'\n          --repo '${{ github.repository }}'\n          --notes \"\"\n      - name: Upload artifact signatures to GitHub Release\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n        # Upload to GitHub Release using the `gh` CLI.\n        # `dist/` contains the built packages, and the\n        # sigstore-produced signatures and certificates.\n        run: >-\n          gh release upload\n          '${{ github.ref_name }}' dist/**\n          --repo '${{ github.repository }}'\n", "state": "active", "repository": "lemyst/wikibaseintegrator"}
{"mined_at": "2024-07-15T16:03:11.285006", "created_at": "2022-08-12T14:00:57+02:00", "updated_at": "2022-08-12T14:00:57+02:00", "name": "Python Code Quality and Lint", "path": ".github/workflows/python-lint.yaml", "contents": "name: Python Code Quality and Lint\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'wikibaseintegrator/**.py'\n      - 'test/**.py'\n  pull_request:\n    branches: [ '**' ]\n    paths:\n      - 'wikibaseintegrator/**.py'\n      - 'test/**.py'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.12'\n          cache: 'poetry'\n\n      # Need to install poetry again in the new python version\n      - name: Install poetry\n        run: python -m pip install poetry\n\n      - name: Install dependencies\n        run: |\n          python -m poetry install --with dev\n\n      - name: isort imports check\n        run: |\n          python -m poetry run isort --check --diff wikibaseintegrator test\n\n      - name: mypy typing check\n        run: |\n          python -m poetry run mypy --install-types --non-interactive\n\n      - name: pylint code linting\n        run: |\n          python -m poetry run pylint wikibaseintegrator test || python -m poetry run pylint-exit $?\n\n      - name: codespell spell checking\n        run: |\n          python -m poetry run codespell wikibaseintegrator test\n\n      - name: flynt string formatter converting\n        run: |\n          python -m poetry run flynt -f wikibaseintegrator test\n", "state": "active", "repository": "lemyst/wikibaseintegrator"}
{"mined_at": "2024-07-15T16:03:12.382151", "created_at": "2022-08-12T14:00:57+02:00", "updated_at": "2022-08-12T14:00:57+02:00", "name": "Python pytest", "path": ".github/workflows/python-pytest.yaml", "contents": "name: Python pytest\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n    paths:\n      - 'wikibaseintegrator/**.py'\n      - 'test/**.py'\n      - 'pyproject.toml'\n      - 'poetry.lock'\n  pull_request:\n    branches: [ '**' ]\n    paths:\n      - 'wikibaseintegrator/**.py'\n      - 'test/**.py'\n      - 'pyproject.toml'\n      - 'poetry.lock'\n\njobs:\n  build:\n    name: pytest ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    container: ubuntu\n\n    services:\n      httpstatus:\n        image: kennethreitz/httpbin\n        ports:\n          - 80:80\n\n    strategy:\n      matrix:\n        python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13-dev' ]\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n\n      - name: Install pipx\n        run: apt update && apt install -y pipx && pipx ensurepath\n\n      - name: Install dependencies for Python 3.13-dev\n        if: matrix.python-version == '3.13-dev'\n        run: apt install -y build-essential libffi-dev\n\n      - name: Update path\n        run: echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n\n      # Need to install poetry again in the new python version\n      - name: Install poetry\n        run: python -m pip install poetry\n\n      - name: Install dependencies\n        run: |\n          python -m poetry install --with dev\n\n      - name: Test with pytest\n        run: |\n          python -m poetry run pytest\n        env:\n          HTTPSTATUS_SERVICE: \"http://httpstatus\"\n", "state": "active", "repository": "lemyst/wikibaseintegrator"}
{"mined_at": "2024-07-15T16:03:13.522212", "created_at": "2023-08-12T18:41:18+02:00", "updated_at": "2023-08-12T18:50:13+02:00", "name": "Trivy scan", "path": ".github/workflows/trivy-scan.yaml", "contents": "name: Trivy scan\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ '**' ]\n\njobs:\n  trivy:\n    name: trivy scan\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n\n      - name: Run Trivy vulnerability scanner with rootfs command\n        uses: aquasecurity/trivy-action@master\n        with:\n          scan-type: 'rootfs'\n          scan-ref: '.'\n          ignore-unfixed: true\n          format: 'sarif'\n          output: 'trivy-results.sarif'\n          severity: 'CRITICAL'\n\n      - name: Upload Trivy scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: 'trivy-results.sarif'\n", "state": "active", "repository": "lemyst/wikibaseintegrator"}
{"mined_at": "2024-07-15T16:03:15.570948", "created_at": "2021-07-06T22:19:41+02:00", "updated_at": "2021-07-06T23:10:26+02:00", "name": "Run pre-commit", "path": ".github/workflows/run_precommit.yaml", "contents": "name: Run pre-commit\n\non: [push, pull_request]\n\njobs:\n  run_precommit:\n    name: Run pre-commit\n    runs-on: ubuntu-latest\n\n    steps:\n      # Checkout repository\n      - uses: actions/checkout@v2\n\n      # Setup Python and install pre-commit\n      - uses: actions/setup-python@v2\n        with:\n          python_version: \"3.10\"\n      - name: Install pre-commit\n        run: |\n          pip install -U pre-commit\n\n      # Load cached pre-commit environment\n      - name: set PY\n        run: echo \"PY=$(python -VV | sha256sum | cut -d' ' -f1)\" >> $GITHUB_ENV\n      - uses: actions/cache@v2\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}\n\n      # Register problem matchers\n      - name: Register problem matchers\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/check-json.json\"\n          echo \"::add-matcher::.github/workflows/matchers/check-toml.json\"\n          echo \"::add-matcher::.github/workflows/matchers/check-yaml.json\"\n          echo \"::add-matcher::.github/workflows/matchers/flake8.json\"\n\n      # Run pre-commit\n      - name: Run pre-commit\n        run: |\n          pre-commit run --show-diff-on-failure --color=never --all-files --verbose\n", "state": "active", "repository": "kreusada/kreusada-cogs"}
{"mined_at": "2024-07-15T16:03:17.821915", "created_at": "2020-05-03T19:22:03+02:00", "updated_at": "2021-06-03T20:18:21+02:00", "name": "Release & Publish", "path": ".github/workflows/release_and_publish.yml", "contents": "# Release package on GitHub and publish to PyPI\n# IMPORTANT -- 1 MANUAL STEP\n#   * FOLLOWING TAGGED RELEASE\n#       - update CHANGELOG.md \n#--------------------------------------------------\nname: Release & Publish\n\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - \"v*\" # Push events to matching v*, i.e. v1.0, v20.15.10\n  workflow_dispatch:\n    inputs:\n      version:\n        description: Manual Release\n        default: test\n        required: false\n  \n\njobs:\n  build:\n    name: Create release & publish to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n      \n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      \n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade build twine\n          python -m build\n          twine check --strict dist/*\n      \n      - name: Create Release Notes\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            await github.request(`POST /repos/${{ github.repository }}/releases`, {\n              tag_name: \"${{ github.ref }}\",\n              generate_release_notes: true\n            });\n      \n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "pysal/spaghetti"}
{"mined_at": "2024-07-15T16:03:18.867075", "created_at": "2020-12-29T17:23:59+01:00", "updated_at": "2021-04-27T20:59:51+02:00", "name": "Build Docs", "path": ".github/workflows/build_docs.yml", "contents": " name: Build Docs\n \n on:\n   push:\n     # Sequence of patterns matched against refs/tags\n     tags:\n       - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10\n   workflow_dispatch:\n     inputs:\n       version:\n         description: Manual Doc Build\n         default: test\n         required: false\n jobs:\n   docs:\n     name: build & push docs\n     runs-on: ${{ matrix.os }}\n     timeout-minutes: 90\n     strategy:\n       matrix:\n         os: ['ubuntu-latest']\n         environment-file: [ci/312-latest.yaml]\n         experimental: [false]\n     defaults:\n       run:\n         shell: bash -l {0}\n     \n     steps:\n       - name: checkout repo\n         uses: actions/checkout@v4\n         with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n       \n       - name: setup micromamba\n         uses: mamba-org/setup-micromamba@v1\n         with:\n           environment-file: ${{ matrix.environment-file }}\n           micromamba-version: 'latest'\n       \n       - name: reinstall for version\n         run: |\n           pip install -e . --no-deps --force-reinstall\n\n       - name: make docs\n         run: |\n           cd docs\n           make html\n       \n       - name: commit docs\n         run: |\n           git clone https://github.com/ammaraskar/sphinx-action-test.git --branch gh-pages --single-branch gh-pages\n           cp -r docs/_build/html/* gh-pages/\n           cd gh-pages\n           git config --local user.email \"action@github.com\"\n           git config --local user.name \"GitHub Action\"\n           git add .\n           git commit -m \"Update documentation\" -a || true\n           # The above command will fail if no changes were present,\n           # so we ignore the return code.\n       \n       - name: push to gh-pages\n         uses: ad-m/github-push-action@master\n         with:\n            branch: gh-pages\n            directory: gh-pages\n            github_token: ${{ secrets.GITHUB_TOKEN }}\n            force: true\n", "state": "active", "repository": "pysal/spaghetti"}
{"mined_at": "2024-07-15T16:03:19.975524", "created_at": "2022-01-07T19:19:04+01:00", "updated_at": "2022-01-07T19:19:04+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pysal/spaghetti"}
{"mined_at": "2024-07-15T16:03:21.050685", "created_at": "2022-10-30T17:51:13+01:00", "updated_at": "2024-06-20T22:15:04+02:00", "name": "Continuous Integration", "path": ".github/workflows/testing.yml", "contents": " name: Continuous Integration\n \n on:\n   push:\n     branches:\n       - '*'\n   pull_request:\n     branches:\n       - '*'\n   schedule:\n       - cron: '59 23 * * *'\n   workflow_dispatch:\n     inputs:\n       version:\n         description: Manual Unittest Run\n         default: test\n         required: false\n\n jobs:\n   testing:\n     name: ${{ matrix.os }}, ${{ matrix.environment-file }}\n     runs-on: ${{ matrix.os }}\n     timeout-minutes: 30\n     strategy:\n       matrix:\n         os: [ubuntu-latest]\n         environment-file:\n           - ci/310-oldest.yaml\n           - ci/310-latest.yaml\n           - ci/311-latest.yaml\n           - ci/312-latest.yaml\n           - ci/312-dev.yaml\n         include:\n           - environment-file: ci/312-latest.yaml\n             os: macos-latest\n           - environment-file: ci/312-latest.yaml\n             os: windows-latest\n       fail-fast: false\n\n     defaults:\n       run:\n         shell: bash -l {0}\n\n     steps:\n       - name: checkout repo\n         uses: actions/checkout@v4\n         with:\n          fetch-depth: 0 # Fetch all history for all branches and tags.\n       \n       - name: setup micromamba\n         uses: mamba-org/setup-micromamba@v1\n         with:\n           environment-file: ${{ matrix.environment-file }}\n           micromamba-version: 'latest'\n       \n       - name: environment info\n         run: |\n           micromamba info\n           micromamba list\n       \n       - name: spatial versions\n         run: 'python -c \"import geopandas; geopandas.show_versions();\"'\n\n       - name: run tests\n         run: |\n           pytest \\\n           spaghetti \\\n           -v \\\n           -r a \\\n           -n auto \\\n           --color yes \\\n           --cov spaghetti \\\n           --cov-append \\\n           --cov-report term-missing \\\n           --cov-report xml \\\n           --timeout 60\n\n       - name: run docstring tests\n         if: contains(matrix.environment-file, 'latest') || contains(matrix.environment-file, 'dev')\n         run: |\n           pytest \\\n           -v \\\n           -r a \\\n           -n auto \\\n           --color yes \\\n           --doctest-only spaghetti\n       \n       - name: codecov\n         uses: codecov/codecov-action@v4\n         with:\n           token: ${{ secrets.CODECOV_TOKEN }}\n           file: ./coverage.xml\n           name: spaghetti-codecov\n", "state": "active", "repository": "pysal/spaghetti"}
{"mined_at": "2024-07-15T16:03:23.158280", "created_at": "2022-11-05T12:46:33+01:00", "updated_at": "2022-11-06T19:44:49+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "\n\nname: Publish\n\non:\n  push:\n    branches:\n      - main\n  release:\n     types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  call-test-build:\n    uses: ./.github/workflows/testbuild.yml\n\n  publish-artifacts:\n    environment: production\n    needs: call-test-build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Download all  artifacts\n        uses: actions/download-artifact@v3\n        with:\n          path: artifacts\n      - name: List files\n        run: ls -R artifacts\n      - name: Gather artifacts\n        run: |\n          mkdir dist\n          mv artifacts/source/*.tar.gz dist/\n          mv artifacts/wheels-macos-latest/*.whl dist/\n          mv artifacts/wheels-ubuntu-latest/*.whl dist/\n          mv artifacts/wheels-windows-latest/*.whl dist/\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@v1.5.1\n        with:\n          verbose: true\n          password: ${{ secrets.API_TOKEN_PYPI }}\n", "state": "active", "repository": "rsagroup/rsatoolbox"}
{"mined_at": "2024-07-15T16:03:24.239992", "created_at": "2022-11-06T18:49:28+01:00", "updated_at": "2022-11-06T19:44:49+01:00", "name": "Test and Build", "path": ".github/workflows/testbuild.yml", "contents": "name: Test and Build\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n  workflow_call:\n\npermissions:\n  contents: read\n\njobs:\n\n  tests:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n    - name: Python Version\n      run: python --version\n    - name: Update Pip\n      run: python -m pip install --upgrade pip\n    - name: Install dependencies\n      run: pip install -r requirements.txt\n    - name: Install rsatoolbox\n      run: pip install .\n    - name: Install test dependencies\n      run: pip install -r tests/requirements.txt\n    - name: Skeleton tests\n      run: python -m unittest -v rsatoolbox.test\n    - name: Unit tests\n      run: pytest\n\n  source:\n    needs: tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest, macos-latest, windows-latest]\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Python Version\n      run: python --version\n    - name: Update Pip\n      run: python -m pip install --upgrade pip\n    - name: Install Build\n      run: pip install build setuptools\n    - name: Build package\n      run: python -m build --sdist\n    - name: Install rsatoolbox (Linux, Mac)\n      run: pip install dist/*\n      if: matrix.os != 'windows-latest'\n    - name: Install rsatoolbox (Windows)\n      run: |\n        $sdistfname = Get-ChildItem dist -Name\n        pip install dist/$sdistfname\n      if: matrix.os == 'windows-latest'\n    - name: Install test dependencies\n      run: pip install -r tests/requirements.txt\n    - name: Skeleton tests\n      run: python -m unittest -v rsatoolbox.test\n    - name: Unit tests\n      run: pytest\n    - name: Check package compliance\n      run: |\n        pip install -q twine\n        twine check dist/*\n    - name: Store artifact\n      uses: actions/upload-artifact@v3\n      with:\n        name: source\n        path: dist/*\n        if-no-files-found: error\n        retention-days: 1\n\n  binaries:\n    needs: tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.12'\n    - name: Python Version\n      run: python --version\n    - name: Update Pip\n      run: python -m pip install --upgrade pip\n    - name: Build package\n      uses: pypa/cibuildwheel@v2.16.2\n      with:\n        output-dir: dist\n    - name: Check package compliance\n      run: |\n        pip install -q twine\n        twine check dist/*\n    - name: Store artifact\n      uses: actions/upload-artifact@v3\n      with:\n        name: wheels-${{ matrix.os }}\n        path: dist/*.whl\n        if-no-files-found: error\n        retention-days: 1\n", "state": "active", "repository": "rsagroup/rsatoolbox"}
{"mined_at": "2024-07-15T16:03:26.318260", "created_at": "2020-01-10T09:58:43+01:00", "updated_at": "2020-01-11T12:58:23+01:00", "name": "Pull request", "path": "", "contents": null, "state": "active", "repository": "jazzband/website"}
{"mined_at": "2024-07-15T16:03:27.376257", "created_at": "2021-03-22T23:32:22+01:00", "updated_at": "2021-04-21T23:32:13+02:00", "name": "Test & Deploy", "path": ".github/workflows/test-and-deploy.yml", "contents": "name: Test & Deploy\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  merge_group:\n  workflow_dispatch:\n  release:\n    types:\n      - published\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.0\n        with:\n          access_token: ${{ github.token }}\n\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: \"15\"\n          check-latest: true\n\n      - run: make envvar\n\n      - run: make pull\n\n      - run: make image\n\n      - run: make test\n\n  deploy:\n    if: github.event.action == 'published' && github.repository == 'jazzband/website'\n\n    runs-on: ubuntu-latest\n\n    needs: [test]\n\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.0\n        with:\n          access_token: ${{ github.token }}\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Push\n        uses: dokku/github-action@v1.3.0\n        # enable verbose ssh output\n        with:\n          branch: \"main\"\n          git_push_flags: \"--force\"\n          git_remote_url: ${{ secrets.SSH_REMOTE_URL }}\n          ssh_private_key: ${{ secrets.PRIVATE_KEY }}\n\n      - name: Create Sentry release\n        uses: getsentry/action-release@v1\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n          SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}\n        with:\n          environment: production\n          version: ${{ github.ref }}\n", "state": "active", "repository": "jazzband/website"}
{"mined_at": "2024-07-15T16:03:28.471088", "created_at": "2024-07-13T00:12:36+02:00", "updated_at": "2024-07-13T00:12:36+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "jazzband/website"}
{"mined_at": "2024-07-15T16:03:31.669491", "created_at": "2023-11-22T14:40:10+01:00", "updated_at": "2023-12-19T14:24:51+01:00", "name": "Build conda nightly release packages", "path": ".github/workflows/ci-gh-build-nightly-release.yml", "contents": null, "state": "active", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:32.772173", "created_at": "2023-07-28T11:36:40+02:00", "updated_at": "2023-11-16T10:46:10+01:00", "name": "Build conda release packages", "path": ".github/workflows/ci-gh-build-release.yml", "contents": "name: Build conda release packages\n\nconcurrency:\n  group: ci-release-on-${{ github.event_name }}-from-${{ github.ref_name }}\n  cancel-in-progress: true\n\non:\n  push:\n    workflow_dispatch:\n    branches:\n      - \"pull-request/[0-9]+\"\n      - \"branch-*\"\n\njobs:\n  build:\n    uses:\n      ./.github/workflows/gh-build.yml\n    with:\n      build-target: all\n      repos-name: ${{ github.event.repository.name }}\n      runs-on: ${{ github.repository_owner == 'nv-legate' && 'linux-amd64-cpu16' || 'ubuntu-latest' }}\n      sha: ${{ github.sha }}\n      build-type: release\n      use-container: true\n      ucx-config: no_ucx\n      ucx-string: ''", "state": "active", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:33.867022", "created_at": "2023-06-08T20:42:21+02:00", "updated_at": "2023-12-01T07:17:23+01:00", "name": "Build and test CPU legate.core on GH", "path": ".github/workflows/ci-gh-cpu-build-and-test.yml", "contents": null, "state": "active", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:34.971375", "created_at": "2023-06-21T22:35:10+02:00", "updated_at": "2023-07-09T21:22:09+02:00", "name": "GH Docker build and test GPU legate.core", "path": ".github/workflows/ci-gh-docker-gpu-build-and-test.yml", "contents": null, "state": "disabled_manually", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:36.078480", "created_at": "2023-06-01T13:25:50+02:00", "updated_at": "2023-12-21T09:05:50+01:00", "name": "Build legate.core documentation", "path": ".github/workflows/ci-gh-docs.yml", "contents": "name: Build legate.core documentation\n\non:\n  push:\n    branches:\n      - \"pull-request/[0-9]+\"\n      - \"branch-*\"\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  COMMIT: ${{ github.event.pull_request.head.sha || github.sha }}\n  PROJECT: github-core-ci\n  REF: ${{ github.event.pull_request.head.ref || github.ref }}\n  EVENT_NAME: ${{ github.event_name }}\n  LABEL: ${{ github.event.pull_request.head.label }}\n  REPO_URL: ${{ github.event.pull_request.head.repo.html_url || github.event.repository.html_url }}\n  ARTIFACTS_DIR: \"${{ github.workspace }}/.artifacts\"\n  ARTIFACT_NAME: \"legate-core-docs\"\n  # Prevent output buffering\n  PYTHONUNBUFFERED: 1\n\njobs:\n  build:\n    permissions:\n      id-token: write # This is required for configure-aws-credentials\n      contents: read  # This is required for actions/checkout\n      packages: write # This is required to push docker image to ghcr.io\n\n    runs-on: ${{ contains(github.repository, 'nv-legate/legate.core') && 'linux-amd64-cpu16' || 'ubuntu-latest' }}\n\n    defaults:\n      run:\n        shell: bash\n\n    container:\n      options: -u root\n      image: condaforge/miniforge3:latest\n      \n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJSON(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - name: Dump job context\n        env:\n          JOB_CONTEXT: ${{ toJSON(job) }}\n        run: echo \"$JOB_CONTEXT\"\n      - name: Dump steps context\n        env:\n          STEPS_CONTEXT: ${{ toJSON(steps) }}\n        run: echo \"$STEPS_CONTEXT\"\n      - name: Dump runner context\n        env:\n          RUNNER_CONTEXT: ${{ toJSON(runner) }}\n        run: echo \"$RUNNER_CONTEXT\"\n      - name: Dump strategy context\n        env:\n          STRATEGY_CONTEXT: ${{ toJSON(strategy) }}\n        run: echo \"$STRATEGY_CONTEXT\"\n      - name: Dump matrix context\n        env:\n          MATRIX_CONTEXT: ${{ toJSON(matrix) }}\n        run: echo \"$MATRIX_CONTEXT\"\n\n      ####################################\n      # Actual build process starts here #\n      ####################################\n\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - if: github.repository_owner == 'nv-legate'\n        name: Get AWS credentials for sccache bucket\n        uses: aws-actions/configure-aws-credentials@v2\n        with:\n          aws-region: us-east-2\n          role-duration-seconds: 28800 # 8 hours\n          role-to-assume: arn:aws:iam::279114543810:role/gha-oidc-nv-legate\n\n      - name: Build Documentation\n        run: |\n          /bin/bash -c \"cd $(pwd) && mkdir -p $ARTIFACTS_DIR && ./continuous_integration/scripts/build-legate docs\"\n\n      - name: Upload documentation\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ env.ARTIFACT_NAME }}\n          path: ${{ env.ARTIFACTS_DIR }}", "state": "active", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:37.179630", "created_at": "2023-06-08T15:57:22+02:00", "updated_at": "2023-12-01T07:17:23+01:00", "name": "Build and test GPU legate.core on GH", "path": ".github/workflows/ci-gh-gpu-build-and-test.yml", "contents": null, "state": "active", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:38.404519", "created_at": "2023-03-27T14:00:52+02:00", "updated_at": "2024-01-04T19:08:53+01:00", "name": "Build and test on GH", "path": ".github/workflows/ci-gh.yml", "contents": "name: Build and test on GH\n\nconcurrency:\n  group: ci-build-and-test-on-${{ github.event_name }}-from-${{ github.ref_name }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - \"pull-request/[0-9]+\"\n      - \"branch-*\"\n\njobs:\n  build-and-test:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - device: gpu\n            build-runner: ${{ contains(github.repository, 'nv-legate/legate.core') && 'linux-amd64-cpu32' || 'ubuntu-latest' }}\n            platform: linux\n\n          - device: cpu\n            build-runner: ${{ contains(github.repository, 'nv-legate/legate.core') && 'linux-amd64-cpu32' || 'ubuntu-latest' }}\n            platform: linux\n\n          - device: cpu\n            build-runner: macos-latest\n            platform: osx\n    uses:\n      ./.github/workflows/gh-build-and-test.yml\n    with:\n      device: ${{ matrix.device }}\n      build-runner: ${{ matrix.build-runner }}\n      platform: ${{ matrix.platform }}\n", "state": "active", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:39.540106", "created_at": "2023-05-02T17:55:55+02:00", "updated_at": "2023-06-22T13:33:31+02:00", "name": "Build legate.core on GH", "path": ".github/workflows/ci-gh1.yml", "contents": null, "state": "disabled_manually", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:40.590918", "created_at": "2021-05-14T22:08:06+02:00", "updated_at": "2023-07-21T20:01:04+02:00", "name": "Build legate.core", "path": ".github/workflows/ci.yml", "contents": null, "state": "active", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:41.792022", "created_at": "2023-11-17T05:32:47+01:00", "updated_at": "2023-11-17T05:32:47+01:00", "name": ".github/workflows/gh-build-and-test.yml", "path": ".github/workflows/gh-build-and-test.yml", "contents": "on:\n  workflow_call:\n    inputs:\n      device:\n        type: string\n        required: true\n      build-runner:\n        type: string\n        required: true\n      platform:\n        type: string\n        required: true\n\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        ucx-config: [ucx, no_ucx]\n        os-platform: [ \"${{ inputs.platform }}\" ]\n        exclude:\n        - os-platform: \"osx\"\n          ucx-config: ucx\n    if: ${{ github.repository_owner == 'nv-legate' }}\n    uses:\n      ./.github/workflows/gh-build.yml\n    with:\n      build-target: ${{ inputs.device }}\n      repos-name: ${{ github.event.repository.name }}\n      runs-on: ${{ inputs.build-runner }}\n      sha: ${{ github.sha }}\n      build-type: ci\n      use-container: ${{ inputs.platform == 'linux' }}\n      ucx-config: ${{ matrix.ucx-config }}\n      ucx-string: ${{ (matrix.ucx-config == 'ucx' && '-ucx') || '' }}\n\n  test:\n    needs:\n      - build\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: Pytest Unit Tests\n            test-scope: unit\n            runner: linux-amd64-gpu-v100-latest-1\n            enabled: ${{ inputs.platform == 'linux' && inputs.device == 'gpu' }}\n            ucx-config: no_ucx\n\n          - name: Pytest Unit Tests\n            test-scope: unit\n            runner: linux-amd64-gpu-v100-latest-1\n            enabled: ${{ inputs.platform == 'linux' && inputs.device == 'gpu' }}\n            ucx-config: ucx\n\n          - name: Pytest Unit Tests (OS X)\n            test-scope: unit\n            runner: macos-latest\n            enabled: ${{ inputs.platform == 'osx' }}\n            ucx-config: no_ucx\n\n          - name: Pytest Unit Tests\n            test-scope: unit\n            runner: linux-amd64-2gpu\n            enabled: ${{ inputs.platform == 'linux' && inputs.device == 'gpu' }}\n            ucx-config: no_ucx\n\n          - name: Pytest Unit Tests\n            test-scope: unit\n            runner: linux-amd64-2gpu\n            enabled: ${{ inputs.platform == 'linux' && inputs.device == 'gpu' }}\n            ucx-config: ucx\n\n          - name: Pytest Unit Tests\n            test-scope: unit\n            runner: linux-amd64-cpu4\n            enabled: ${{ inputs.platform == 'linux' && inputs.device == 'cpu' }}\n            ucx-config: no_ucx\n\n          - name: Pytest Unit Tests\n            test-scope: unit\n            runner: linux-amd64-cpu4\n            enabled: ${{ inputs.platform == 'linux' && inputs.device == 'cpu' }}\n            ucx-config: ucx\n\n    name: ${{ matrix.name }}\n    if: github.repository_owner == 'nv-legate'\n    uses:\n      ./.github/workflows/gh-test.yml\n    with:\n      build-target: ${{ inputs.device }}\n      repos-name: ${{ github.event.repository.name }}\n      runs-on: ${{ matrix.runner }}\n      sha: ${{ github.sha }}\n      test-scope: ${{ matrix.test-scope }}\n      use-container: ${{ inputs.platform == 'linux' }}\n      enabled: ${{ matrix.enabled }}\n      ucx-config: ${{ matrix.ucx-config }}\n      ucx-string: ${{ (matrix.ucx-config == 'ucx' && '-ucx') || '' }}", "state": "active", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:42.790745", "created_at": "2023-07-27T16:50:10+02:00", "updated_at": "2023-07-27T16:50:10+02:00", "name": "Build release packages", "path": ".github/workflows/gh-build-release.yml", "contents": null, "state": "active", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:44.037614", "created_at": "2023-06-20T23:20:13+02:00", "updated_at": "2023-06-20T23:20:13+02:00", "name": "Build legate.core on GH", "path": ".github/workflows/gh-build.yml", "contents": "name: Build legate.core on GH\n\non:\n  workflow_call:\n    inputs:\n      build-target:\n        required: true\n        type: string\n        description: One of CPU / GPU\n      repos-name:\n        required: true\n        type: string\n      runs-on:\n        required: true\n        type: string\n      sha:\n        required: true\n        type: string\n        description: A unique identifier for labeling the images / artifacts\n      build-type:\n        required: true\n        type: string\n        description: One of ci / release\n      use-container:\n        required: true\n        type: boolean\n      ucx-config:\n        required: true\n        type: string\n      ucx-string:\n        required: true\n        type: string\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  USE_CUDA: ${{ (inputs.build-target == 'cpu' && 'OFF') || 'ON' }}\n  ARTIFACTS_DIR: \"${{ github.workspace }}/.artifacts\"\n  ARTIFACT_NAME: \"${{ inputs.repos-name }}-${{ inputs.build-target }}${{ inputs.ucx-string }}-${{ inputs.sha }}\"\n  UCX_ENABLED: ${{ (inputs.ucx-config == 'ucx' && 'ON') || 'OFF' }}\njobs:\n  build:\n    name: build-${{ inputs.build-target }}${{ inputs.ucx-string }}-sub-workflow\n\n    permissions:\n      id-token: write # This is required for configure-aws-credentials\n      contents: read  # This is required for actions/checkout\n\n    runs-on: ${{ inputs.runs-on }}\n\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n      - name: Checkout ${{ inputs.repos-name }} (= this repo)\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          persist-credentials: false\n\n      - if: github.repository_owner == 'nv-legate'\n        name: Get AWS credentials for sccache bucket\n        uses: aws-actions/configure-aws-credentials@v2\n        with:\n          aws-region: us-east-2\n          role-duration-seconds: 28800 # 8 hours\n          role-to-assume: arn:aws:iam::279114543810:role/gha-oidc-nv-legate\n\n      - if: ${{ inputs.use-container }}\n        name: Build legate.core (in container)\n        run: |\n          set -xeuo pipefail\n\n          docker run \\\n            -e AWS_REGION \\\n            -e AWS_SESSION_TOKEN \\\n            -e AWS_ACCESS_KEY_ID \\\n            -e AWS_SECRET_ACCESS_KEY \\\n            -e GITHUB_TOKEN \\\n            -e USE_CUDA \\\n            -e UCX_ENABLED \\\n            -v \"$(pwd):$(pwd)\" \\\n            -v \"$ARTIFACTS_DIR:$(pwd)/.artifacts\" \\\n            --rm \"condaforge/miniforge3:latest\" \\\n            /bin/bash -c \"cd $(pwd) && continuous_integration/scripts/build-legate ${{ inputs.build-type}}\"\n\n      - if: ${{ !inputs.use-container }}\n        name: Build legate.core (without container)\n        run: |\n          set -xeuo pipefail\n          continuous_integration/scripts/build-legate ${{ inputs.build-type}}\n\n      - name: Display structure of the artifacts folder\n        run: ls -aR ${{ env.ARTIFACTS_DIR }}\n\n      - name: Upload build artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ env.ARTIFACT_NAME }}\n          path: ${{ env.ARTIFACTS_DIR }}\n", "state": "active", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:45.122328", "created_at": "2023-06-20T23:20:13+02:00", "updated_at": "2023-11-09T17:43:59+01:00", "name": "Test legate.core on GH", "path": ".github/workflows/gh-test.yml", "contents": "name: Test legate.core on GH\n\non:\n  workflow_call:\n    inputs:\n      build-target:\n        required: true\n        type: string\n      repos-name:\n        required: true\n        type: string\n      runs-on:\n        required: true\n        type: string\n      sha:\n        required: true\n        type: string\n      test-scope:\n        required: true\n        type: string\n      use-container:\n        required: true\n        type: boolean\n      enabled:\n        required: true\n        type: boolean\n      ucx-config:\n        required: true\n        type: string\n      ucx-string:\n        required: true\n        type: string\n\nenv:\n  ARTIFACT_NAME: \"${{ inputs.repos-name }}-${{ inputs.build-target }}${{ inputs.ucx-string }}-${{ inputs.sha }}\"\n  ARTIFACTS_DIR: \"${{ github.workspace }}/.artifacts\"\n\njobs:\n  test-in-container:\n    if: github.repository_owner == 'nv-legate' && inputs.use-container && inputs.enabled\n    name: test-${{ inputs.build-target }}${{ inputs.ucx-string }}-sub-workflow\n    runs-on: ${{ inputs.runs-on }}\n\n    defaults:\n      run:\n        shell: bash\n\n    container:\n      options: -u root\n      image: condaforge/miniforge3:latest\n      env:\n        PYTHONDONTWRITEBYTECODE: 1\n        NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}\n      volumes:\n        - \"${{ github.workspace }}/.artifacts:${{ github.workspace }}/.artifacts\"\n    steps:\n      - if: inputs.build-target == 'gpu'\n        name: Run nvidia-smi to make sure GPU is working\n        run: nvidia-smi\n\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          persist-credentials: false\n\n      - name: Download build artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: ${{ env.ARTIFACT_NAME }}\n          path: ${{ env.ARTIFACTS_DIR }}\n\n      - name: Run ${{ inputs.repos-name }} test / analysis\n        run: |\n          set -xeuo pipefail\n          continuous_integration/scripts/run-test-or-analysis ${{ inputs.test-scope }}\n\n  test:\n    if: github.repository_owner == 'nv-legate' && !inputs.use-container && inputs.enabled\n    name: test-${{ inputs.build-target }}-sub-workflow\n    runs-on: ${{ inputs.runs-on }}\n\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n      - if: inputs.build-target == 'gpu'\n        name: Run nvidia-smi to make sure GPU is working\n        run: nvidia-smi\n\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          persist-credentials: false\n\n      - name: Download build artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: ${{ env.ARTIFACT_NAME }}\n          path: ${{ env.ARTIFACTS_DIR }}\n\n      - name: Run ${{ inputs.repos-name }} test / analysis\n        run: |\n          set -xeuo pipefail\n          continuous_integration/scripts/run-test-or-analysis ${{ inputs.test-scope }}\n", "state": "active", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:46.390993", "created_at": "2022-08-31T20:26:58+02:00", "updated_at": "2022-08-31T20:43:45+02:00", "name": "Pull Request Labels", "path": ".github/workflows/require-labels.yml", "contents": "name: Pull Request Labels\non:\n  pull_request:\n    types: [opened, labeled, unlabeled, synchronize]\njobs:\n  label:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check Labels\n        uses: mheap/github-action-required-labels@v3\n        with:\n          mode: exactly\n          count: 1\n          labels: \"category:new-feature, category:improvement, category:bug-fix, category:task, category:documentation\"", "state": "active", "repository": "nv-legate/legate.core"}
{"mined_at": "2024-07-15T16:03:49.467318", "created_at": "2022-11-16T16:14:07+01:00", "updated_at": "2022-11-17T19:20:37+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"16 8 * * 5\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          config-file: ./.github/codeql.yml\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "tpm2-software/tpm2-pytss"}
{"mined_at": "2024-07-15T16:03:50.693100", "created_at": "2021-04-16T22:40:12+02:00", "updated_at": "2021-04-19T18:47:26+02:00", "name": "Publish PyPI Package", "path": ".github/workflows/publish_pkg.yaml", "contents": "name: Publish PyPI Package\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  publish:\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v2\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n\n    - name: Install Dependencies\n      env:\n        TPM2_TSS_VERSION: 3.0.0\n      run: |\n        python3 -m pip install --user --upgrade pip\n        python3 -m pip install --user --upgrade twine\n        ./.ci/install-deps.sh\n\n    - name: Test\n      env:\n        TEST: 1\n      run: ./.ci/run.sh\n\n    - name: Publish to PyPi\n      env:\n        PUBLISH_PKG: 1\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TPM2_PYTSS }}\n      run: ./.ci/run.sh\n", "state": "active", "repository": "tpm2-software/tpm2-pytss"}
{"mined_at": "2024-07-15T16:03:51.741580", "created_at": "2020-01-04T00:16:23+01:00", "updated_at": "2020-01-04T00:16:23+01:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        tss-version: ['master', '2.4.0', '3.0.0', '3.0.3', '3.2.0', '4.0.0']\n        with-fapi: [true]\n        tools-version: ['5.5']\n        include:\n          - python-version: '3.9'\n            tss-version: '3.1.0'\n            with-fapi: false\n\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        env:\n          TPM2_TSS_VERSION: ${{ matrix.tss-version }}\n          TPM2_TSS_FAPI: ${{ matrix.with-fapi }}\n          TPM2_TOOLS_VERSION: ${{ matrix.tools-version }}\n        run: ./.ci/install-deps.sh\n\n      - name: Check\n        env:\n          TEST: 1\n        run: ./.ci/run.sh\n\n  coverage:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python 3.x\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n\n      - name: Install dependencies\n        env:\n          TPM2_TSS_VERSION: 4.0.1\n        run: ./.ci/install-deps.sh\n\n      - name: Check\n        env:\n          TEST: 1\n          ENABLE_COVERAGE: true\n        run: ./.ci/run.sh\n\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: /tmp/coverage.xml\n\n  whitespace-check:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v2\n\n    - name: Check\n      env:\n        WHITESPACE: 1\n      run: ./.ci/run.sh\n\n  style-check:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v2\n\n    - name: Install Dependencies\n      run: |\n        python3 -m pip install --user --upgrade pip\n        python3 -m pip install --user --upgrade black==19.10b0\n\n    - name: Check\n      env:\n        STYLE: 1\n      run: ./.ci/run.sh\n", "state": "active", "repository": "tpm2-software/tpm2-pytss"}
{"mined_at": "2024-07-15T16:03:54.303178", "created_at": "2021-03-11T10:17:48+01:00", "updated_at": "2021-03-11T10:17:48+01:00", "name": "Python package", "path": ".github/workflows/python-publish.yml", "contents": "name: Python package\n\non: \n  push:\n    paths-ignore:\n    - '**.rst'\n  pull_request:\n    branches: ['master']\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest pytest-xdist\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pytest -v\n    - name: Install dependencies\n      run: pip install wheel\n    - name: Build package\n      run: python setup.py sdist bdist_wheel\n    - name: Publish package\n      if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n          user: __token__\n          password: ${{ secrets.pypi_password_octis}}\n          skip_existing: true\n", "state": "active", "repository": "mind-lab/octis"}
{"mined_at": "2024-07-15T16:03:56.530620", "created_at": "2024-03-14T12:19:24+01:00", "updated_at": "2024-03-14T12:19:24+01:00", "name": "Close Threads", "path": ".github/workflows/close-threads.yml", "contents": "name: 'Close Threads'\n\non:\n  schedule:\n    - cron: '50 20 * * *'\n  workflow_dispatch:\n\npermissions:\n  issues: write\n  pull-requests: write\n  discussions: write\n\nconcurrency:\n  group: close-threads\n\njobs:\n  close-threads:\n    if: github.repository_owner == 'jertel'\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v5\n        with:\n          days-before-issue-stale: 180\n          days-before-issue-close: 365\n          stale-issue-message: \"This issue is stale because it has been open for 6 months with no activity. Stale issues convey that the issue, while important to someone, is not critical enough for the author, or other community members to work on, sponsor, or otherwise shepherd the issue through to a resolution.\"\n          close-issue-message: \"This issue was closed because it has been inactive for over a year since being marked as stale. It will be automatically locked after an additional 30 days, after which no further commenting will be available.\"\n          days-before-pr-stale: 30\n          days-before-pr-close: 30\n          stale-pr-message: \"This PR is stale because it has been open for 30 days with no activity. The longer a PR remains stale the more out of date with the main branch it becomes.\"\n          close-pr-message: \"This PR was closed because it has been inactive for 30 days since being marked as stale. It will be automatically locked after an additional 30 days. If there is still a commitment to finishing this PR please re-open it, or request that a project maintainer re-open it before it becomes locked.\"\n          exempt-assignees: jertel\n", "state": "active", "repository": "jertel/elastalert2"}
{"mined_at": "2024-07-15T16:03:57.656996", "created_at": "2024-02-16T21:43:43+01:00", "updated_at": "2024-02-16T21:43:43+01:00", "name": "Lock Threads", "path": ".github/workflows/lock-threads.yml", "contents": "name: 'Lock Threads'\n\non:\n  schedule:\n    - cron: '50 6 * * *'\n  workflow_dispatch:\n\npermissions:\n  issues: write\n  pull-requests: write\n  discussions: write\n\nconcurrency:\n  group: lock-threads\n\njobs:\n  lock-threads:\n    if: github.repository_owner == 'jertel'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: jertel/lock-threads@main\n        with:\n          include-discussion-currently-open: true\n          discussion-inactive-days: 90\n          issue-inactive-days: 365\n          pr-inactive-days: 365\n", "state": "active", "repository": "jertel/elastalert2"}
{"mined_at": "2024-07-15T16:03:58.678544", "created_at": "2021-04-24T19:07:58+02:00", "updated_at": "2021-04-24T19:07:58+02:00", "name": "master_build_test", "path": ".github/workflows/master_build_test.yml", "contents": "name: master_build_test\n\n# Controls when the action will run. \non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n\n      # Runs a single command using the runners shell\n      - name: Build and run tests\n        run: make test-docker\n", "state": "active", "repository": "jertel/elastalert2"}
{"mined_at": "2024-07-15T16:03:59.696330", "created_at": "2021-04-26T14:44:20+02:00", "updated_at": "2021-04-26T14:44:20+02:00", "name": "publish_image", "path": ".github/workflows/publish_image.yml", "contents": "name: publish_image\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    tags:\n      - 2.*\n\nenv:\n  IMAGE_NAME: elastalert2\n  DOCKER_REPO: jertel/elastalert2\n\njobs:\n  push:\n    if: github.repository_owner == 'jertel'\n    \n    environment: Main\n    \n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Log into GitHub Registry\n        run: echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin\n\n      - name: Log into Docker Registry\n        run: echo \"${{ secrets.DOCKER_TOKEN }}\" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin\n\n      - name: Install buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          version: latest\n\n      - name: Build and Push multi-arch to Docker Hub\n        run: |\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          TAG2=\"\"\n          if [[ \"$VERSION\" == \"2.\"* ]]; then\n            TAG2=\"--tag $DOCKER_REPO:2\"\n          fi\n\n          echo VERSION=$VERSION\n          echo TAG2=$TAG2\n\n          docker run --rm --privileged multiarch/qemu-user-static --reset -p yes\n          docker buildx build \\\n          --platform=linux/amd64,linux/arm64 \\\n          --output \"type=image,push=true\" \\\n          --file ./Dockerfile . \\\n          --tag $DOCKER_REPO:$VERSION $TAG2\n\n      - name: Build and push image to GitHub\n        run: |\n          docker build . --file Dockerfile --tag $IMAGE_NAME\n\n          IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo IMAGE_ID=$IMAGE_ID\n          echo VERSION=$VERSION\n\n          # Push to GitHub Package\n          docker tag $IMAGE_NAME $IMAGE_ID:$VERSION\n          docker push $IMAGE_ID:$VERSION\n\n          if [[ \"$VERSION\" == \"2.\"* ]]; then\n            # Push to GitHub Package\n            docker tag $IMAGE_NAME $IMAGE_ID:2\n            docker push $IMAGE_ID:2\n          fi", "state": "active", "repository": "jertel/elastalert2"}
{"mined_at": "2024-07-15T16:04:00.723715", "created_at": "2021-04-25T02:08:32+02:00", "updated_at": "2021-04-25T02:18:05+02:00", "name": "upload_python_package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: upload_python_package\n\non:\n  push:\n    tags:\n      - 2.*\n\njobs:\n  deploy:\n    if: github.repository_owner == 'jertel'\n    \n    environment: Main\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "jertel/elastalert2"}
{"mined_at": "2024-07-15T16:04:01.751467", "created_at": "2021-04-25T02:18:05+02:00", "updated_at": "2021-04-25T02:18:05+02:00", "name": "upload_chart", "path": ".github/workflows/upload_chart.yml", "contents": "name: upload_chart\n\non:\n  push:\n    tags:\n      - 2.*\n\njobs:\n  publish:\n    if: github.repository_owner == 'jertel'\n    \n    environment: Main\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Helm\n        uses: azure/setup-helm@v3\n        with:\n          version: v3.4.0\n\n      - name: Run chart-releaser\n        uses: J12934/helm-gh-pages-action@master\n        with:\n          charts-folder: chart\n          access-token: \"${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\"\n          deploy-branch: gh-pages\n", "state": "active", "repository": "jertel/elastalert2"}
{"mined_at": "2024-07-15T16:04:02.858946", "created_at": "2022-01-08T21:05:22+01:00", "updated_at": "2022-01-08T21:05:22+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "jertel/elastalert2"}
{"mined_at": "2024-07-15T16:04:06.207318", "created_at": "2020-10-11T18:30:51+02:00", "updated_at": "2022-08-13T06:44:32+02:00", "name": "WindowsRelease", "path": ".github/workflows/release_win.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: WindowsRelease\n\non:\n  schedule:\n    # Run weekly on Monday 00:00\n    - cron:  '00 00 * * MON'\n  push:\n    branches: [main, rel-*]\n  pull_request:\n    branches: [main, rel-*]\n  workflow_dispatch:\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    if: github.event_name != 'pull_request' || startsWith( github.base_ref, 'rel-') || contains( github.event.pull_request.labels.*.name, 'run release CIs')\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        architecture: ['x64', 'x86']\n    steps:\n    - name: Checkout ONNX\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      with:\n         path: ./onnx\n         submodule: 'recursive'\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: ${{ matrix.architecture }}\n\n    - name: Add msbuild to PATH\n      uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2.0.0\n      with:\n        msbuild-architecture: ${{ matrix.architecture }}\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install -q --upgrade pip\n        cd onnx\n        if ('${{ matrix.architecture }}' -eq 'x86') {\n          echo \"Skip installing dependencies for reference, because they don't have prebuilt wheel on x86\"\n          sed -i '' '/-r requirements-reference.txt/d' requirements-release.txt\n        }\n        python -m pip install -q -r requirements-release.txt\n        python -m pip install cmake\n\n    - name: Build ONNX wheel\n      run: |\n        $arch = 'x64'\n        if ('${{ matrix.architecture }}' -eq 'x86') {\n          $arch = 'Win32'\n        }\n\n        . .\\onnx\\workflow_scripts\\protobuf\\build_protobuf_win.ps1 -arch $arch\n        cd onnx\n\n        echo \"Install ONNX\"\n        $Env:ONNX_ML=1\n        $Env:CMAKE_ARGS=\"-DONNX_USE_PROTOBUF_SHARED_LIBS=OFF -DONNX_USE_LITE_PROTO=ON\"\n\n        if ('${{ github.event_name }}' -eq 'schedule') {\n          echo \"Build weekly PyPI package\"\n          (Get-Content -Path 'pyproject.toml') | ForEach-Object { $_ -replace 'name = \"onnx\"', 'name = \"onnx-weekly\"' } | Set-Content -Path 'pyproject.toml'\n          $Env:ONNX_PREVIEW_BUILD=1\n        }\n        python -m build --wheel\n        Get-ChildItem -Path dist/*.whl | foreach {python -m pip install --upgrade $_.fullname}\n\n    - name: Test the installed wheel\n      run: |\n        cd onnx\n        pytest\n\n    - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3\n      with:\n        name: wheels\n        path: ./onnx/dist\n\n    - name: Upload onnx-weekly wheel to PyPI/PyPI weekly\n      if: (github.event_name == 'schedule') # Only triggered by weekly event\n      run: |\n        twine upload --verbose onnx/dist/*.whl --repository-url https://upload.pypi.org/legacy/ -u ${{ secrets.ONNXWEEKLY_USERNAME }} -p ${{ secrets.ONNXWEEKLY_TOKEN }}\n\n    - name: Verify ONNX with the latest numpy\n      if: ${{ always() }}\n      run: |\n        cd onnx\n        python -m pip uninstall -y numpy onnx\n        python -m pip install numpy\n        Get-ChildItem -Path dist/*.whl | foreach {python -m pip install --upgrade $_.fullname}\n        pytest\n\n    - name: Verify ONNX with the latest protobuf\n      if: ${{ always() }}\n      run: |\n        cd onnx\n        python -m pip uninstall -y protobuf onnx\n        python -m pip install protobuf\n        Get-ChildItem -Path dist/*.whl | foreach {python -m pip install --upgrade $_.fullname}\n        pytest\n\n    - name: Verify ONNX with the minimumly supported packages\n      if: ${{ always() }}\n      run: |\n        cd onnx\n        python -m pip uninstall -y protobuf numpy onnx\n        python -m pip install -r requirements-min.txt\n        Get-ChildItem -Path dist/*.whl | foreach {python -m pip install --upgrade $_.fullname}\n        pytest\n\n    - name: Verify ONNX with ONNX Runtime PyPI package\n      if: matrix.python-version != '3.12'\n      run: |\n        cd onnx\n        python -m pip uninstall -y protobuf numpy\n        python -m pip install -q -r requirements-release.txt\n        python -m pip install -q onnxruntime==1.17.3\n        $Env:ORT_MAX_IR_SUPPORTED_VERSION=9\n        $Env:ORT_MAX_ML_OPSET_SUPPORTED_VERSION=3\n        $Env:ORT_MAX_ONNX_OPSET_SUPPORTED_VERSION=20\n        pytest\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:07.588152", "created_at": "2020-10-11T18:30:51+02:00", "updated_at": "2022-06-02T20:47:35+02:00", "name": "MacRelease", "path": ".github/workflows/release_mac.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: MacRelease\n\non:\n  schedule:\n    # Run weekly on Monday 00:00\n    - cron:  '00 00 * * MON'\n  push:\n    branches: [main, rel-*]\n  pull_request:\n    branches: [main, rel-*]\n  workflow_dispatch:\n\n# Use MACOSX_DEPLOYMENT_TARGET=11.0 to produce compatible wheel\nenv:\n  MACOSX_DEPLOYMENT_TARGET: 11.0\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    if: github.event_name != 'pull_request' || startsWith( github.base_ref, 'rel-') || contains( github.event.pull_request.labels.*.name, 'run release CIs')\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: Checkout submodules\n      shell: bash\n      run: |\n        auth_header=\"$(git config --local --get http.https://github.com/.extraheader)\"\n        git submodule sync --recursive\n        git -c \"http.extraheader=$auth_header\" -c protocol.version=2 submodule update --init --force --recursive --depth=1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Python dependencies\n      run: |\n        python -m pip install -q --upgrade pip\n        python -m pip install -q -r requirements-release.txt\n\n    - name: Build wheel and install\n      env:\n        CC: \"clang\"\n        CXX: \"clang++\"\n        ONNX_ML: 1\n        CMAKE_OSX_ARCHITECTURES: \"arm64;x86_64\"\n        CMAKE_ARGS: \"-DONNX_USE_LITE_PROTO=ON\"\n      run: |\n        # Install Protobuf from source\n        export NUM_CORES=`sysctl -n hw.logicalcpu`\n        source workflow_scripts/protobuf/build_protobuf_unix.sh $NUM_CORES $(pwd)/protobuf/protobuf_install\n        if [ '${{ github.event_name }}' == 'schedule' ]; then\n          sed -i '' 's/name = \"onnx\"/name = \"onnx-weekly\"/' 'pyproject.toml'\n          export ONNX_PREVIEW_BUILD=1\n        fi\n        python -m build --wheel\n\n    - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n      with:\n        name: macos-wheel-${{ matrix.python-version }}\n        path: dist\n\n  test:\n    needs: build\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        target-architecture: ['x86_64', 'arm64']\n\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Python dependencies\n      run: |\n        arch -${{ matrix.target-architecture }} python -m pip install -q --upgrade pip\n        arch -${{ matrix.target-architecture }} python -m pip install -q -r requirements-release.txt\n\n    - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      with:\n        name: macos-wheel-${{ matrix.python-version }}\n        path: dist\n\n    - name: Test the wheel\n      run: |\n        arch -${{ matrix.target-architecture }} python -m pip install --upgrade dist/*.whl\n        arch -${{ matrix.target-architecture }} pytest\n\n    - name: Upload wheel to PyPI weekly\n      if: github.event_name == 'schedule' && matrix.target-architecture == 'arm64'  # Only triggered by weekly event\n      run: |\n        twine upload --verbose dist/*.whl --repository-url https://upload.pypi.org/legacy/ -u ${{ secrets.ONNXWEEKLY_USERNAME }} -p ${{ secrets.ONNXWEEKLY_TOKEN }}\n\n    - name: Verify ONNX with the latest numpy\n      if: ${{ always() }}\n      run: |\n        arch -${{ matrix.target-architecture }} python -m pip uninstall -y numpy onnx\n        arch -${{ matrix.target-architecture }} python -m pip install numpy\n        arch -${{ matrix.target-architecture }}  python -m pip install --upgrade dist/*.whl\n        arch -${{ matrix.target-architecture }} pytest\n\n    - name: Verify ONNX with the latest protobuf\n      if: ${{ always() }}\n      run: |\n        arch -${{ matrix.target-architecture }} python -m pip uninstall -y protobuf onnx\n        arch -${{ matrix.target-architecture }} python -m pip install protobuf\n        arch -${{ matrix.target-architecture }} python -m pip install --upgrade dist/*.whl\n        arch -${{ matrix.target-architecture }} pytest\n\n    - name: Verify ONNX with the minimumly supported packages\n      if: always() && (matrix.target-architecture == 'x86_64' || (matrix.python-version != '3.8' && matrix.python-version != '3.9'))\n      run: |\n        arch -${{ matrix.target-architecture }} python -m pip uninstall -y numpy protobuf onnx\n        arch -${{ matrix.target-architecture }}  python -m pip install -r requirements-min.txt\n        arch -${{ matrix.target-architecture }} python -m pip install --upgrade dist/*.whl\n        arch -${{ matrix.target-architecture }} pytest\n\n    # Only triggered by weekly event on certain CI\n    - name: Build and upload source distribution to PyPI weekly\n      if: github.event_name == 'schedule' && matrix.python-version == '3.10' && matrix.target-architecture == 'arm64'\n      run: |\n        # Build and upload source distribution to PyPI\n        git clean -xdf\n        sed -i '' 's/name = \"onnx\"/name = \"onnx-weekly\"/' 'pyproject.toml'\n        ONNX_PREVIEW_BUILD=1 python -m build --sdist\n        twine upload dist/* --repository-url https://upload.pypi.org/legacy/ -u ${{ secrets.ONNXWEEKLY_USERNAME }} -p ${{ secrets.ONNXWEEKLY_TOKEN }}\n\n        # Test weekly source distribution from PyPI\n        python -m pip uninstall -y onnx-weekly\n        python -m pip install setuptools\n        python -m pip install --use-deprecated=legacy-resolver --no-binary onnx-weekly onnx-weekly\n        pytest\n\n    - name: Verify ONNX with ONNX Runtime PyPI package\n      if: matrix.python-version != '3.12'\n      run: |\n        arch -${{ matrix.target-architecture }} python -m pip uninstall -y protobuf numpy\n        arch -${{ matrix.target-architecture }} python -m pip install -q -r requirements-release.txt\n        arch -${{ matrix.target-architecture }} python -m pip install -q onnxruntime==1.17.3\n        export ORT_MAX_IR_SUPPORTED_VERSION=9\n        export ORT_MAX_ML_OPSET_SUPPORTED_VERSION=3\n        export ORT_MAX_ONNX_OPSET_SUPPORTED_VERSION=20\n        arch -${{ matrix.target-architecture }} pytest\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:08.819202", "created_at": "2020-12-02T22:52:13+01:00", "updated_at": "2023-10-26T20:28:51+02:00", "name": "Weekly CI with the latest ONNX and ONNX Model Zoo", "path": ".github/workflows/weekly_mac_ci.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\n# Weekly ci workflow for model zoo.\n# Runs model checker/shape_inference/version_converter for all models\nname: Weekly CI with the latest ONNX and ONNX Model Zoo\n\non:\n  schedule:\n    # run weekly on Sunday 23:59\n    - cron:  '59 23 * * SUN'\n  pull_request:\n    branches: [main, rel-*]\n  workflow_dispatch:\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    if: github.event_name != 'pull_request' || contains( github.event.pull_request.labels.*.name, 'test ONNX Model Zoo')\n    runs-on: macos-latest\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      name: Checkout repo\n    - name: Checkout submodules\n      shell: bash\n      run: |\n        auth_header=\"$(git config --local --get http.https://github.com/.extraheader)\"\n        git submodule sync --recursive\n        git -c \"http.extraheader=$auth_header\" -c protocol.version=2 submodule update --init --force --recursive --depth=1\n    - name: Set up Python\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      shell: bash\n      run: |\n        set -e\n        python -m pip install -q --upgrade pip\n        python -m pip install -q -r requirements-release.txt\n\n    - name: Build, install and test ONNX\n      shell: bash\n      run: |\n        # Install protobuf from source\n        export NUM_CORES=`sysctl -n hw.logicalcpu`\n        source workflow_scripts/protobuf/build_protobuf_unix.sh $NUM_CORES $(pwd)/protobuf/protobuf_install\n        # Build ONNX\n        export CC=clang\n        export CXX=clang++\n        export ONNX_ML=1\n        pip install -e . -v\n\n    - name: Test all models with onnx.checker, onnx.shape_inference, onnx.version_converter\n      run: |\n        python workflow_scripts/test_model_zoo.py\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:10.013119", "created_at": "2021-01-26T18:07:17+01:00", "updated_at": "2024-07-15T02:08:07+02:00", "name": "LinuxRelease_x86_64", "path": ".github/workflows/release_linux_x86_64.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: LinuxRelease_x86_64\n\non:\n  schedule:\n    # Run weekly on Monday 00:00\n    - cron:  '00 00 * * MON'\n  push:\n    branches: [main, rel-*]\n  pull_request:\n    branches: [main, rel-*]\n  workflow_dispatch:\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    if: github.event_name != 'pull_request' || startsWith( github.base_ref, 'rel-') || contains( github.event.pull_request.labels.*.name, 'run release CIs')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        architecture: ['x64']\n\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: Checkout submodules\n      shell: bash\n      run: |\n        auth_header=\"$(git config --local --get http.https://github.com/.extraheader)\"\n        git submodule sync --recursive\n        git -c \"http.extraheader=$auth_header\" -c protocol.version=2 submodule update --init --force --recursive --depth=1\n\n    - name: Build manylinux2014_x86_64\n      uses: docker://quay.io/pypa/manylinux2014_x86_64:latest\n      with:\n        entrypoint: bash\n        args: .github/workflows/manylinux/entrypoint.sh ${{ matrix.python-version }} manylinux2014_x86_64 ${{ github.event_name }}\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: ${{ matrix.architecture }}\n\n    - name: Install python dependencies\n      run: |\n        python -m pip install -q --upgrade pip\n        python -m pip install -q -r requirements-release.txt\n\n    - name: Install protobuf in the GitHub Action environment for testing the wheel\n      run: |\n        source workflow_scripts/protobuf/build_protobuf_unix.sh $(nproc)\n\n    - name: Test wheel with Python ${{ matrix.python-version }}\n      run: |\n        python -m pip install dist/*manylinux2014_x86_64.whl\n        pytest\n\n    - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32\n      with:\n        name: wheels\n        path: dist\n\n    - name: Upload wheel to PyPI weekly\n      if: (github.event_name == 'schedule') # Only triggered by weekly event\n      run: |\n        twine upload --verbose dist/*.whl --repository-url https://upload.pypi.org/legacy/ -u ${{ secrets.ONNXWEEKLY_USERNAME }} -p ${{ secrets.ONNXWEEKLY_TOKEN }}\n        TEST_HUB=1 pytest\n\n    - name: Verify ONNX with the latest numpy\n      if: ${{ always() }}\n      run: |\n        python -m pip uninstall -y numpy onnx && python -m pip install numpy\n        python -m pip install dist/*manylinux2014_x86_64.whl\n        pytest\n\n    - name: Verify ONNX with the latest protobuf\n      if: ${{ always() }}\n      run: |\n        python -m pip uninstall -y protobuf onnx && python -m pip install protobuf\n        python -m pip install dist/*manylinux2014_x86_64.whl\n        pytest\n\n    - name: Verify ONNX with the minimumly supported packages\n      if: ${{ always() }}\n      run: |\n        python -m pip uninstall -y numpy protobuf onnx && python -m pip install -r requirements-min.txt\n        python -m pip install dist/*manylinux2014_x86_64.whl\n        pytest\n\n    - name: Verify ONNX with ONNX Runtime PyPI package\n      if: matrix.python-version != '3.12'\n      run: |\n        python -m pip uninstall -y protobuf numpy && python -m pip install -q -r requirements-release.txt\n        python -m pip install -q onnxruntime==1.17.3\n        export ORT_MAX_IR_SUPPORTED_VERSION=9\n        export ORT_MAX_ML_OPSET_SUPPORTED_VERSION=3\n        export ORT_MAX_ONNX_OPSET_SUPPORTED_VERSION=20\n        pytest\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:11.165716", "created_at": "2021-02-09T22:04:35+01:00", "updated_at": "2022-02-04T06:23:13+01:00", "name": "Windows_No_Exception_CI", "path": ".github/workflows/win_no_exception_ci.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: Windows_No_Exception_CI\n\non:\n   push:\n    branches: [ main, rel-* ]\n   pull_request:\n    branches: [ main, rel-* ]\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        architecture: ['x64']\n    steps:\n    - name: Checkout ONNX\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      with:\n         path: ./onnx\n         submodules: 'recursive'\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: ${{ matrix.architecture }}\n\n    - name: Add msbuild to PATH\n      uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2.0.0\n      with:\n        msbuild-architecture: ${{ matrix.architecture }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install cmake\n\n    - name: Build and test ONNX binaries\n      run: |\n        . .\\onnx\\workflow_scripts\\protobuf\\build_protobuf_win.ps1 -arch ${{ matrix.architecture }}\n\n        cd onnx\n        echo \"Build ONNX\"\n        cmake -G \"Visual Studio 17 2022\" -A ${{ matrix.architecture }} -DONNX_USE_PROTOBUF_SHARED_LIBS=OFF -DONNX_USE_LITE_PROTO=ON -DONNX_WERROR=ON -DONNX_DISABLE_EXCEPTIONS=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Release -DONNX_USE_MSVC_STATIC_RUNTIME=OFF -DONNX_ML=1 -DONNX_BUILD_TESTS=ON -S . -B .setuptools-cmake-build\\\n        cd .setuptools-cmake-build\\\n        msbuild onnx.sln /m /p:Configuration=Release\n\n        echo \"Run gtests\"\n        Release\\onnx_gtests.exe\n        if($lastexitcode -ne 0) {\n          EXIT 1\n        }\n\n        cd ..\n        git clean -xdf\n        set ONNX_BUILD_TESTS=1\n        echo \"Build ONNX with non-static registration for testing selective ONNX schema loading\"\n        cmake -G \"Visual Studio 17 2022\" -A ${{ matrix.architecture }} -DONNX_USE_PROTOBUF_SHARED_LIBS=OFF -DONNX_USE_LITE_PROTO=ON -DONNX_WERROR=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Release -DONNX_USE_MSVC_STATIC_RUNTIME=OFF -DONNX_ML=1 -DONNX_BUILD_TESTS=ON -DONNX_DISABLE_STATIC_REGISTRATION=ON -S . -B .setuptools-cmake-build\\\n\n        cd .setuptools-cmake-build\\\n        msbuild onnx.sln /m /p:Configuration=Release\n\n        echo \"Only test selective ONNX schema loading\"\n        Release\\onnx_gtests.exe --gtest_filter=\"SchemaRegistrationTest*\"\n        if($lastexitcode -ne 0) {\n          EXIT 1\n        }\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:12.304282", "created_at": "2021-04-12T13:56:08+02:00", "updated_at": "2022-06-02T20:47:35+02:00", "name": "LinuxRelease_aarch64", "path": ".github/workflows/release_linux_aarch64.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: LinuxRelease_aarch64\n\non:\n  schedule:\n    # Run weekly on Monday 00:00\n    - cron:  '00 00 * * MON'\n  push:\n    branches: [main, rel-*]\n  pull_request:\n    branches: [main, rel-*]\n  workflow_dispatch:\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    if: github.event_name != 'pull_request' || startsWith( github.base_ref, 'rel-') || contains( github.event.pull_request.labels.*.name, 'run release CIs')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [cp38-cp38, cp39-cp39, cp310-cp310, cp311-cp311, cp312-cp312]\n    env:\n      # setting up python and docker image\n      py: /opt/python/${{ matrix.python-version }}/bin/python\n      img: quay.io/pypa/manylinux2014_aarch64\n\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: Checkout submodules\n      shell: bash\n      run: |\n        auth_header=\"$(git config --local --get http.https://github.com/.extraheader)\"\n        git submodule sync --recursive\n        git -c \"http.extraheader=$auth_header\" -c protocol.version=2 submodule update --init --force --recursive --depth=1\n\n      # setting up qemu for enabling aarch64 binary execution on x86 machine\n    - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0\n\n      # Creating a virtual environment on machine with the help of docker container \\\n      # and installing the dependencies inside that \\\n      # so that we can use installed dependencies.\n    - name: Install dependencies\n      run: |\n        docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \\\n          ${{ env.img }} \\\n          bash -exc '${{ env.py }} -m pip install -q virtualenv && ${{ env.py }} -m venv .env && \\\n          source .env/bin/activate && \\\n          ${{ env.py }} -m pip install -q --only-binary google-re2 -r requirements-release.txt && \\\n          yum install -y protobuf-compiler protobuf-devel\n          deactivate'\n\n      # using created virtual environment in new container and executing the script\n    - name: Build manylinux2014_aarch64\n      run: |\n        docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \\\n          ${{ env.img }} \\\n          bash -exc '\\\n          source .env/bin/activate && \\\n          yum install -y sudo && \\\n          sudo chmod +x .github/workflows/manylinux/entrypoint.sh && \\\n          sudo .github/workflows/manylinux/entrypoint.sh ${{ env.py }} manylinux2014_aarch64 ${{ github.event_name }}\n          deactivate'\n\n      # using created virtual environment in new container and testing the wheel\n    - name: Test wheel with Python ${{ matrix.python-version }}\n      run: |\n        docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \\\n          ${{ env.img }} \\\n          bash -exc '\\\n          source .env/bin/activate && \\\n          python -m pip install -q --upgrade pip && \\\n          python -m pip install -q --only-binary google-re2 -r requirements-release.txt && \\\n          pip install dist/*manylinux2014_aarch64.whl && \\\n          pytest && \\\n          deactivate'\n\n    - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3\n      with:\n        name: wheels\n        path: dist\n\n    - name: Upload wheel to PyPI weekly\n      if: (github.event_name == 'schedule') # Only triggered by weekly event\n      run: |\n        python -m pip install -q twine\n        twine upload --verbose dist/*.whl --repository-url https://upload.pypi.org/legacy/ -u ${{ secrets.ONNXWEEKLY_USERNAME }} -p ${{ secrets.ONNXWEEKLY_TOKEN }}\n\n    - name: Verify ONNX with the latest numpy and protobuf\n      if: ${{ always() }}\n      run: |\n         docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \\\n          ${{ env.img }} \\\n          bash -exc '\\\n          source .env/bin/activate && \\\n          python -m pip uninstall -y numpy onnx protobuf && python -m pip install numpy protobuf && \\\n          python -m pip install dist/*manylinux2014_aarch64.whl && \\\n          pytest && \\\n          deactivate'\n\n    - name: Verify ONNX with the minimumly supported packages\n      if: ${{ always() }}\n      run: |\n         docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \\\n          ${{ env.img }} \\\n          bash -exc '\\\n          source .env/bin/activate && \\\n          python -m pip uninstall -y onnx && python -m pip install -r requirements-min.txt && \\\n          python -m pip install dist/*manylinux2014_aarch64.whl && \\\n          pytest && \\\n          deactivate'\n\n    - name: Verify ONNX with ONNX Runtime PyPI package\n      if: matrix.python-version != 'cp312-cp312'\n      run: |\n         docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \\\n          ${{ env.img }} \\\n          bash -exc '\\\n          source .env/bin/activate && \\\n          python -m pip uninstall -y protobuf numpy && python -m pip install -q -r requirements-release.txt && \\\n          python -m pip install -q onnxruntime==1.16.3 && \\\n          export ORT_MAX_IR_SUPPORTED_VERSION=9 \\\n          export ORT_MAX_ML_OPSET_SUPPORTED_VERSION=3 \\\n          export ORT_MAX_ONNX_OPSET_SUPPORTED_VERSION=20 \\\n          pytest && \\\n          deactivate'\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:13.419544", "created_at": "2022-06-24T23:22:06+02:00", "updated_at": "2022-06-24T23:22:06+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\n# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '39 6 * * *'\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        days-before-stale: 365\n        days-before-close: 21\n        ascending: true\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:14.540101", "created_at": "2022-09-19T17:23:46+02:00", "updated_at": "2022-09-23T17:28:59+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\", rel-* ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\", rel-* ]\n  schedule:\n    - cron: '33 6 * * 5'\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'cpp', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: Set up Python\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7\n      with:\n        languages: ${{ matrix.language }}\n        queries: security-extended,security-and-quality\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        config-file: ./.github/codeql/codeql-config.yml\n\n    # Install onnx so that it is found by the linters\n    - name: Install ONNX\n      run: |\n        source workflow_scripts/protobuf/build_protobuf_unix.sh $(nproc)\n        python -m pip install --quiet -r requirements-release.txt\n        git submodule update --init --recursive\n        export ONNX_ML=1\n        pip install .\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:15.695577", "created_at": "2022-09-30T21:30:37+02:00", "updated_at": "2022-10-26T21:29:39+02:00", "name": "Generate and publish ONNX docs", "path": ".github/workflows/pages.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: Generate and publish ONNX docs\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches: [\"main\"]\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\njobs:\n  # Single deploy job since we're just deploying\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - name: Setup Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.10'\n      - name: Setup Pages\n        uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0\n      - name: Install Dependencies\n        run: |\n          python -m pip install --quiet --upgrade pip setuptools wheel\n          python -m pip install -r docs/docsgen/source/requirements.txt\n          python -m pip install protobuf==3.20.2\n      - name: Uninstall onnx\n        run: python -m pip uninstall -y onnx\n      - name: Install onnx development version\n        run: |\n          sudo apt-get install libprotobuf-dev protobuf-compiler\n          git submodule update --init --recursive\n          export CMAKE_ARGS=\"-DONNX_USE_PROTOBUF_SHARED_LIBS=ON\"\n          export ONNX_ML=1\n          pip install .\n      - name: Build Docs\n        run: |\n          cd docs/docsgen\n          make html\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1\n        with:\n          path: 'docs/docsgen/build/html'\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:16.806844", "created_at": "2023-02-10T10:57:55+01:00", "updated_at": "2023-02-10T10:57:55+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\n# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '24 10 * * 6'\n  push:\n    branches: [ \"main\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.1.0\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.0\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:17.930290", "created_at": "2023-02-26T08:48:42+01:00", "updated_at": "2023-04-03T18:19:49+02:00", "name": "REUSE Compliance Check", "path": ".github/workflows/reuse.yml", "contents": "# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>\n#\n# SPDX-License-Identifier: CC0-1.0\n\nname: REUSE Compliance Check\n\non: [push, pull_request]\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: REUSE Compliance Check\n      uses: fsfe/reuse-action@a46482ca367aef4454a87620aa37c2be4b2f8106 # v3.0.0\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:19.060820", "created_at": "2023-03-24T17:11:11+01:00", "updated_at": "2023-04-03T20:11:58+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: Lint\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  merge_group:\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  optional-lint:\n    name: Optional Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - name: misspell # Check spellings as well\n        uses: reviewdog/action-misspell@5bd7be2fc7ae56a517184f5c4bbcf2fd7afe3927 # v1.17.0\n        with:\n          github_token: ${{ secrets.github_token }}\n          locale: \"US\"\n          reporter: github-pr-check\n          level: info\n          filter_mode: diff_context\n          exclude: |\n            ./docs/docsgen/source/_static/*\n      - name: shellcheck # Static check shell scripts\n        uses: reviewdog/action-shellcheck@72365a51bf6476fe952a117c3ff703eb7775e40a # v1.20.0\n        with:\n          github_token: ${{ secrets.github_token }}\n          reporter: github-pr-check\n          level: info\n          filter_mode: diff_context\n      - name: cpplint # Static check C++ code\n        uses: reviewdog/action-cpplint@004f44c404bd6308ebab788936490bfa4160626f # v1.4.0\n        with:\n          github_token: ${{ secrets.github_token }}\n          reporter: github-pr-check\n          level: warning\n          flags: --linelength=120\n          filter: \"-runtime/references\"\n\n\n  enforce-style:\n    name: Enforce style\n    runs-on: ubuntu-latest\n    permissions:\n      security-events: write\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - name: Setup Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          # Version range or exact version of Python to use, using SemVer's version range syntax. Reads from .python-version if unset.\n          python-version: \"3.10\"\n      - name: Install ONNX\n        run: |\n          source workflow_scripts/protobuf/build_protobuf_unix.sh $(nproc)\n\n          python -m pip install --quiet --upgrade pip setuptools wheel\n          python -m pip install --quiet -r requirements-release.txt\n\n          git submodule update --init --recursive\n          export ONNX_BUILD_TESTS=0\n          export ONNX_ML=1\n          export CMAKE_ARGS=\"-DONNXIFI_DUMMY_BACKEND=ON -DONNX_WERROR=ON\"\n          export ONNX_NAMESPACE=ONNX_NAMESPACE_FOO_BAR_FOR_CI\n\n          python setup.py install\n      - name: Install dependencies\n        run: |\n          python -m pip install -r requirements-dev.txt\n          lintrunner init\n      - name: Run lintrunner on all files\n        run: |\n          set +e\n          if ! lintrunner --force-color --all-files --tee-json=lint.json -v; then\n              echo \"\"\n              echo -e \"\\e[1m\\e[36mYou can reproduce these results locally by using \\`lintrunner\\`.\\e[0m\"\n              echo -e \"\\e[1m\\e[36mSee https://github.com/onnx/onnx/blob/main/CONTRIBUTING.md#coding-style for setup instructions.\\e[0m\"\n              exit 1\n          fi\n      - name: Produce SARIF\n        if: always()\n        run: |\n          python -m lintrunner_adapters to-sarif lint.json lintrunner.sarif\n      - name: Upload SARIF file\n        # Use always() to always upload SARIF even if lintrunner returns with error code\n        # To toggle linter comments in the files page, press `i` on the keyboard\n        if: always()\n        continue-on-error: true\n        uses: github/codeql-action/upload-sarif@f079b8493333aace61c81488f8bd40919487bd9f # v3.25.7\n        with:\n          # Path to SARIF file relative to the root of the repository\n          sarif_file: lintrunner.sarif\n          category: lintrunner\n          checkout_path: ${{ github.workspace }}\n      - name: Check auto-gen files are up-to-date\n        run: |\n          echo -e \"\\n::group:: ===> check auto-gen files are up-to-date...\"\n\n          ONNX_ML=1 python onnx/defs/gen_doc.py\n          python onnx/gen_proto.py -l\n          python onnx/gen_proto.py -l --ml\n          python onnx/backend/test/stat_coverage.py\n\n          git status\n          git diff --exit-code -- . ':(exclude)onnx/onnx-data.proto' ':(exclude)onnx/onnx-data.proto3'\n          if [ $? -ne 0 ]; then\n            echo \"git diff returned failures\"\n            exit 1\n          fi\n          echo -e \"::endgroup::\"\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:20.076387", "created_at": "2023-03-24T18:04:09+01:00", "updated_at": "2023-04-05T00:33:33+02:00", "name": "Post clang-tidy review comments", "path": ".github/workflows/clang_tidy_review_post.yml", "contents": "# This standalone CI is needed for commenting in PRs from forks\nname: Post clang-tidy review comments\n\non:\n  workflow_run:\n    # The name field of the lint action\n    workflows: [\"Optional_Clang_Tidy_Review\"]\n    types:\n      - completed\n\npermissions:\n  checks: write\n  pull-requests: write\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: ZedThree/clang-tidy-review/post@85799d63d217e8d0686b7735fb923acc986d8043 # v0.19.0\n        with:\n          lgtm_comment_body: \"\"\n          # Use annotations instead of comments\n          annotations: true\n          max_comments: 10", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:21.112313", "created_at": "2023-04-07T19:29:41+02:00", "updated_at": "2023-04-08T00:01:39+02:00", "name": "Optional_Clang_Tidy_Review", "path": ".github/workflows/clang_tidy_review.yml", "contents": "name: Optional_Clang_Tidy_Review\n\non:\n  pull_request:\n    branches: [ \"main\", rel-* ]\n    paths:\n      - \"**.cc\"\n      - \"**.h\"\n  workflow_dispatch:\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      # Pleaes note that it won't cause any failure here; it will only post comments in PRs\n      - name: clang-tidy review\n        uses: ZedThree/clang-tidy-review@85799d63d217e8d0686b7735fb923acc986d8043 # v0.19.0\n        with:\n          apt_packages: \"libprotobuf-dev,protobuf-compiler\"\n          cmake_command: \"cmake -S . -B .setuptools-cmake-build -DCMAKE_EXPORT_COMPILE_COMMANDS=on -DONNX_USE_PROTOBUF_SHARED_LIBS=ON\"\n          build_dir: \".setuptools-cmake-build\"\n          exclude: \"/third_party/*\"\n          split_workflow: true\n      - uses: ZedThree/clang-tidy-review/upload@85799d63d217e8d0686b7735fb923acc986d8043 # v0.19.0\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:22.124297", "created_at": "2023-07-07T18:27:48+02:00", "updated_at": "2023-07-07T19:49:38+02:00", "name": "DCO", "path": ".github/workflows/dco_merge_group.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: DCO\non:\n  merge_group:\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read # Check https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#token-permissions\n\njobs:\n  DCO:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor != 'dependabot[bot]' }}\n    steps:\n      - run: echo \"dummy DCO workflow (it won't run any check actually) to trigger by merge_group in order to enable merge queue\"\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:23.250561", "created_at": "2023-07-24T18:54:04+02:00", "updated_at": "2023-08-11T22:28:06+02:00", "name": "Check URLs", "path": ".github/workflows/check_urls.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: Check URLs\n\non:\n  push:\n    branches: [ 'rel-*' ]\n  schedule:\n    # Run every month\n    - cron:  '0 0 1 * *'\n  workflow_dispatch:\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n\n    - name: urls-checker-code\n      uses: urlstechie/urlchecker-action@b643b43e2ac605e1475331c7b67247d242b7dce4 # v0.0.34\n      with:\n        subfolder: onnx\n        file_types: .md,.py,.rst,.ipynb,.cc,.h,.cpp\n        print_all: false\n        timeout: 2\n        retry_count : 2\n        exclude_urls: https://devblogs.nvidia.com/optimizing-recurrent-neural-networks-cudnn-5/,https://media.githubusercontent.com/media/,https://download.onnxruntime.ai/onnx/models\n        # exclude_patterns: https://...\n        force_pass: false\n\n    - name: urls-checker-docs\n      uses: urlstechie/urlchecker-action@b643b43e2ac605e1475331c7b67247d242b7dce4 # v0.0.34\n      with:\n        subfolder: docs\n        file_types: .md,.py,.rst,.ipynb,.cc,.h,.cpp\n        print_all: false\n        timeout: 10\n        retry_count : 2\n        exclude_urls: https://github.com/onnx/onnx/blob/main/docs/Operators,https://github.com/onnx/onnx/pull/436\n        force_pass: false\n\n    - name: urls-checker-community\n      uses: urlstechie/urlchecker-action@b643b43e2ac605e1475331c7b67247d242b7dce4 # v0.0.34\n      with:\n        subfolder: community\n        file_types: .md,.py,.rst\n        print_all: false\n        timeout: 2\n        retry_count : 2\n        force_pass: false\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:24.272617", "created_at": "2023-07-28T00:31:32+02:00", "updated_at": "2023-09-21T18:26:33+02:00", "name": "Auto update documentation/backend test data", "path": ".github/workflows/auto_update_doc.yml", "contents": "name: Auto update documentation/backend test data\non:\n  pull_request_target:\n  workflow_dispatch:\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read # Check https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#token-permissions\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }}\n    cancel-in-progress: true\n\njobs:\n  auto-update-doc:\n    if: contains( github.event.pull_request.labels.*.name, 'auto update doc')\n    runs-on: ubuntu-latest\n    permissions:\n        contents: write\n\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      with:\n        repository: ${{ github.event.pull_request.head.repo.full_name }}\n        # Checkout the branch made in the fork. Will automatically push changes\n        # back to this branch.\n        ref: ${{ github.head_ref }}\n    - name: Setup Python\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: \"3.11\"\n    - name: Install ONNX from source and update documentation\n      run: |\n        python -m pip install -q --upgrade pip\n        python -m pip install -r requirements-release.txt\n        git submodule update --init --recursive\n        export ONNX_ML=1\n        pip install -e .\n\n        python onnx/defs/gen_doc.py\n        python onnx/gen_proto.py -l\n        python onnx/gen_proto.py -l --ml\n        python onnx/backend/test/stat_coverage.py\n\n        python onnx/backend/test/cmd_tools.py generate-data --diff\n\n        git diff -- . ':(exclude)onnx/onnx-data.proto' ':(exclude)onnx/onnx-data.proto3'\n\n\n    - name: Commit changes with updated files\n      uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1\n      with:\n        commit_message: CI:apply auto updated documentation/backend test data\n        commit_options: \"--signoff\"\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:25.275611", "created_at": "2024-04-11T00:20:25+02:00", "updated_at": "2024-04-24T09:24:10+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "# Copyright (c) ONNX Project Contributors\n#\n# SPDX-License-Identifier: Apache-2.0\n\nname: CI\n\non:\n  schedule:\n    - cron: '0 0 * * *'  # every day at midnight for reporting code coverage to codecov\n  push:\n    branches:\n      - main\n  pull_request:\n  merge_group:\n  workflow_dispatch:\n\npermissions:  # set top-level default permissions as security best practice\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: Test ${{ matrix.os }}, ${{ matrix.python_version }}, ${{ matrix.protobuf_type }}, debug=${{ matrix.debug_build }}, onnx_ml=${{ matrix.onnx_ml }}, doc=${{ matrix.documentation }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest,macos-latest]\n        python_version: ['3.12', '3.11', '3.10', '3.9', '3.8']\n        include:\n          - python_version: '3.12'\n            onnx_ml: 1\n            debug_build: 1\n            documentation: 1\n            protobuf_type: 'Internal'\n          - python_version: '3.11'\n            onnx_ml: 1\n            debug_build: 0\n            documentation: 0\n            protobuf_type: 'External'\n          - python_version: '3.10'\n            onnx_ml: 0\n            debug_build: 0\n            documentation: 0\n            protobuf_type: 'Internal'\n          - python_version: '3.9'\n            onnx_ml: 1\n            debug_build: 0\n            documentation: 0\n            protobuf_type: 'External'\n          - python_version: '3.8'\n            onnx_ml: 0\n            debug_build: 0\n            documentation: 0\n            protobuf_type: 'Internal'\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Show versions\n        run: |\n          python --version\n          cmake --version\n\n      - name: Install external protobuf - Linux\n        if: matrix.protobuf_type == 'External' && matrix.os == 'ubuntu-latest'\n        run: |\n          sudo apt-get install libprotobuf-dev protobuf-compiler\n\n      - name: Install external protobuf - MacOS\n        if: matrix.protobuf_type == 'External' && matrix.os == 'macos-latest'\n        run: |\n          source workflow_scripts/protobuf/build_protobuf_unix.sh 3 $(pwd)/protobuf/protobuf_install\n\n      - name: Set up MSBuild\n        if: matrix.os == 'windows-latest'\n        uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2.0.0\n        with:\n          msbuild-architecture: x64\n\n      - name: Install external protobuf - Windows\n        if: matrix.protobuf_type == 'External' && matrix.os == 'windows-latest'\n        run: |\n          workflow_scripts/protobuf/build_protobuf_win.ps1\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r requirements-release.txt\n          python -m pip install protobuf==3.20.2\n          git submodule update --init --recursive\n\n      - name: Build and install ONNX - Linux\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          if [ \"${{ matrix.protobuf_type }}\" == \"External\" ]; then\n            export CMAKE_ARGS=\"$CMAKE_ARGS -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DONNX_USE_PROTOBUF_SHARED_LIBS=ON\"\n          fi\n          pip install -e \".[reference]\" -v\n        env:\n          DEBUG: ${{ matrix.debug_build }}\n          ONNX_ML: ${{ matrix.onnx_ml }}\n          ONNX_BUILD_TESTS: 1\n          CMAKE_ARGS: \"-DONNX_WERROR=ON -DCMAKE_CXX_FLAGS='-fsanitize=undefined -fno-sanitize-recover=all '\"\n\n      - name: Build and install ONNX - MacOS\n        if: matrix.os == 'macos-latest'\n        run: |\n          pip install -e \".[reference]\" -v\n        env:\n          DEBUG: ${{ matrix.debug_build }}\n          ONNX_ML: ${{ matrix.onnx_ml }}\n          ONNX_BUILD_TESTS: 1\n          CMAKE_ARGS: \"-DONNX_WERROR=ON\"\n\n      - name: Build and install ONNX - Windows\n        if: matrix.os == 'windows-latest' && matrix.python_version != '3.9' && matrix.python_version != '3.8' && matrix.python_version != '3.12'\n        run: |\n          python setup.py build_ext --inplace\n          python setup.py install\n        env:\n          DEBUG: ${{ matrix.debug_build }}\n          ONNX_ML: ${{ matrix.onnx_ml }}\n          ONNX_BUILD_TESTS: 1\n          CMAKE_ARGS: \"-DONNX_WERROR=OFF -DONNX_USE_PROTOBUF_SHARED_LIBS=OFF -DONNX_USE_LITE_PROTO=ON\"\n\n      - name: Build and install ONNX - Windows\n        if: matrix.os == 'windows-latest' && (matrix.python_version == '3.9' || matrix.python_version == '3.8' || matrix.python_version == '3.12')\n        run: |\n          pip install -e . -v\n        env:\n          DEBUG: ${{ matrix.debug_build }}\n          ONNX_ML: ${{ matrix.onnx_ml }}\n          ONNX_BUILD_TESTS: 1\n          CMAKE_ARGS: \"-DONNX_WERROR=OFF -DONNX_USE_PROTOBUF_SHARED_LIBS=OFF -DONNX_USE_LITE_PROTO=ON\"\n\n      - name: Run Python tests\n        run: |\n          pytest -sv --cov=onnx --cov-report=xml --cov-append --cov-branch --junit-xml pytest.xml -n auto --dist loadscope\n\n      - name: Run C++ tests\n        if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'\n        run: |\n          export LD_LIBRARY_PATH=\"./.setuptools-cmake-build/:$LD_LIBRARY_PATH\"\n          ./.setuptools-cmake-build/onnx_gtests\n\n      - name: Upload coverage to Codecov\n        if: always()\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n      - name: Upload Test Results\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: Test Results (${{ matrix.os }}-{{ matrix.python_version }})\n          path: pytest.xml\n\n      - name: Test backend test data\n        if: matrix.documentation == 1 && matrix.os == 'ubuntu-latest'\n        run: |\n          python onnx/backend/test/cmd_tools.py generate-data --clean\n          git status\n          git diff --exit-code -- . ':!onnx/onnx-data.proto' ':!onnx/onnx-data.proto3' ':!*output_*.pb' ':!*input_*.pb'\n          if [ $? -ne 0 ]; then\n            echo \"git diff for test generation returned failures. Please check updated node test files\"\n            exit 1\n          fi\n          git diff --exit-code --diff-filter=ADR -- . ':!onnx/onnx-data.proto' ':!onnx/onnx-data.proto3'\n          if [ $? -ne 0 ]; then\n            echo \"Test generation returned failures. Please check the number of node test files (input_*.pb or output_*.pb)\"\n            exit 1\n          fi\n          pip uninstall -y pillow\n          python onnx/backend/test/cmd_tools.py generate-data --clean\n          git status\n          git diff --exit-code -- . ':!onnx/onnx-data.proto' ':!onnx/onnx-data.proto3' ':!*output_*.pb' ':!*input_*.pb'\n          if [ $? -ne 0 ]; then\n            echo \"git diff for test generation without pillow returned failures. Please check updated node test files\"\n            exit 1\n          fi\n\n      - name: Test documentation\n        if: matrix.documentation == 1\n        run: |\n          pip install -r docs/docsgen/source/requirements.txt\n          cd docs/docsgen && make text\n        continue-on-error: true\n\n  publish-test-results:\n    name: \"Publish Test Results to Github\"\n    needs: test\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      # only needed unless run with comment_mode: off\n      pull-requests: write\n    if: always()\n    steps:\n      - name: Download Artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: artifacts\n\n      - name: Publish Test Results\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          files: \"artifacts/**/*.xml\"\n", "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:26.410339", "created_at": "2024-07-12T07:43:01+02:00", "updated_at": "2024-07-13T19:18:11+02:00", "name": "Caller Workflow", "path": ".github/workflows/create_release.yml", "contents": null, "state": "active", "repository": "onnx/onnx"}
{"mined_at": "2024-07-15T16:04:28.478959", "created_at": "2022-02-02T14:01:29+01:00", "updated_at": "2022-02-02T15:46:00+01:00", "name": "pyvespa documentation search feed", "path": ".github/workflows/feed.yml", "contents": "name: pyvespa documentation search feed\non:\n  push:\n    branches: [ master ]\n\nenv:\n  DATA_PLANE_PUBLIC_KEY     : ${{ secrets.VESPA_TEAM_DATA_PLANE_PUBLIC_CERT }}\n  DATA_PLANE_PRIVATE_KEY    : ${{ secrets.VESPA_TEAM_DATA_PLANE_PRIVATE_KEY }}\n  VESPA_CLI_DATA_PLANE_CERT : ${{ secrets.VESPA_TEAM_VESPA_CLI_DATA_PLANE_CERT }}\n  VESPA_CLI_DATA_PLANE_KEY  : ${{ secrets.VESPA_TEAM_VESPA_CLI_DATA_PLANE_KEY }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n\n    - uses: actions/checkout@v4\n\n    - uses: ruby/setup-ruby@v1\n      with:\n        ruby-version: 3.1\n        bundler-cache: true\n\n    - name: Install Sphinx\n      run: |\n        sudo apt-get install -y pandoc\n        python3 -m pip install --upgrade pip\n        python3 -m pip install -r docs/sphinx/source/requirements-feed.txt\n\n    - name: Build site\n      run: |\n        sphinx-build -E -D nbsphinx_allow_errors=True -b html docs/sphinx/source docs/sphinx/build\n        #\n        # strip liquid macros from html files\n        #\n        find docs/sphinx/build -name \\*.html | \\\n          while read f; do \\\n            ( echo -e \"---\\n---\\n\"; sed 's/{%/{ %/g; s/%}/% }/g; s/{{/{ {/g; s/}}/} }/g' < ${f} ) >${f}.new; \\\n            mv ${f}.new ${f}; \\\n          done\n        bundle exec jekyll build -s docs/sphinx/build/ -p _plugins-vespafeed --config _config.yml\n\n    - name: Setup Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n\n    - name: Install dependencies\n      run: |\n        pip3 install PyYAML spacy mmh3 requests html5lib beautifulsoup4 markdownify tiktoken\n\n    - name: Get Vespa CLI - update to later versions as needed\n      run: |\n        # Workaround: Rename the \"vespa\" directory in pyvespa, conflicts with the cli install below\n        # This directory is not needed for the feeding anyway\n        mv vespa vespa.org\n        apt update && apt -y install curl\n        curl -SsLo vespa-cli.tar.gz https://github.com/vespa-engine/vespa/releases/download/v8.209.11/vespa-cli_8.209.11_linux_amd64.tar.gz\n        tar -xvf vespa-cli.tar.gz && ln -fs vespa-cli_8.209.11_linux_amd64/bin/vespa\n\n    - name: Feed site\n      run: |\n        # The python scripts below uses the Vespa CLI for feeding / data access.\n        # See https://docs.vespa.ai/en/vespa-cli.html.\n        # The environment variables below have credentials for endpoint access -\n        # use the key/cert files in .vespa and paste their content into GitHub Secrets.\n        # VESPA_CLI_API_KEY must be set and empty as below.\n        export VESPA_CLI_DATA_PLANE_CERT\n        export VESPA_CLI_DATA_PLANE_KEY\n        export VESPA_CLI_API_KEY=\n        ./feed_to_vespa.py _config.yml\n\n    - name: Feed paragraphs site\n      run: |\n        export VESPA_CLI_DATA_PLANE_CERT\n        export VESPA_CLI_DATA_PLANE_KEY\n        export VESPA_CLI_API_KEY=\n        ./feed-split.py pyvespa_index.json https://pyvespa.readthedocs.io/en/latest questions.jsonl\n        ./feed_to_vespa.py _paragraphs_config.yml\n\n    - name: Feed suggestions \n      run: |\n        export VESPA_CLI_DATA_PLANE_CERT\n        export VESPA_CLI_DATA_PLANE_KEY\n        export VESPA_CLI_API_KEY=\n        ./feed_to_vespa.py _suggestions_config.yml\n", "state": "active", "repository": "vespa-engine/pyvespa"}
{"mined_at": "2024-07-15T16:04:29.708807", "created_at": "2024-05-28T09:47:12+02:00", "updated_at": "2024-05-29T14:12:04+02:00", "name": "vespacli - Check, Update, Test, Create PR, Release", "path": ".github/workflows/vespacli.yml", "contents": "name: vespacli - Check, Update, Test, Create PR, Release\n\ndefaults:\n  run:\n    working-directory: ./vespacli\n\non:\n  workflow_dispatch:\n  schedule:\n    # Run at midnight sunday-thursday\n    - cron: \"0 0 * * 1-4\"\n\njobs:\n  check-and-update:\n    runs-on: ubuntu-latest\n    outputs:\n      version: ${{ steps.set_output.outputs.version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies and this repo\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[build]\n      - name: Check latest version and set version variable\n        id: check_latest_version\n        run: |\n          version=$(python utils/check_latest_version.py)\n          echo \"Latest version is $version\"\n          # Set the output variable\n          echo \"version=$version\" >> $GITHUB_OUTPUT\n\n      - name: Update the version (if not NA)\n        if: ${{ (steps.check_latest_version.outputs.version != 'NA') }}\n        run: |\n          # Print evaluation of the condition\n          echo \"Version is not NA, updating version to ${{ steps.check_latest_version.outputs.version }}\"\n          echo \"Updating Vespa CLI version to ${{ steps.check_latest_version.outputs.version }}\"\n          python utils/update_version.py --version ${{ steps.check_latest_version.outputs.version }}\n\n      - name: Download latest binaries\n        if: ${{ steps.check_latest_version.outputs.version != 'NA' }}\n        run: |\n          python utils/download_binaries.py --version ${{ steps.check_latest_version.outputs.version }}\n\n      - name: Upload binaries as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: binaries\n          path: vespacli/vespacli/go-binaries\n\n      - name: Set the output variable\n        id: set_output\n        if: ${{ steps.check_latest_version.outputs.version != 'NA' }}\n        run: |\n          echo \"version=${{ steps.check_latest_version.outputs.version }}\" >> $GITHUB_OUTPUT\n  test:\n    needs: check-and-update\n    if: ${{ needs.check-and-update.outputs.version != 'NA' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-12, macos-14]\n        python-version: [\"3.10\", \"3.11\"] # Update or modify Python versions as needed\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: binaries\n          path: vespacli/vespacli/go-binaries\n\n      - name: Set permissions on all files in go-binaries\n        run: |\n          chmod -R +x vespacli/go-binaries/*\n    \n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[build]\n  \n      - name: Update latest version\n        run: |\n          python utils/update_version.py --version ${{ needs.check-and-update.outputs.version }}\n      \n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[build]\n\n      - name: Verify installation\n        run: |\n          vespa version\n\n  create-pr:\n    needs: [check-and-update, test]\n    outputs:\n      version: ${{ needs.check-and-update.outputs.version }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n     \n      - name: Install dependencies and this repo\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[build]\n\n      - name: Update latest version\n        run: |\n            python utils/update_version.py --version ${{ needs.check-and-update.outputs.version }}\n      \n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          commit-message: \"Update Vespa CLI version to ${{ needs.check-and-update.outputs.version }}\"\n          title: \"Update Vespa CLI version to ${{ needs.check-and-update.outputs.version }}\"\n          body: \"This PR updates the Vespa CLI version to ${{ needs.check-and-update.outputs.version }}\"\n          branch: \"update-vespa-cli-version-${{ needs.check-and-update.outputs.version }}\"\n          base: \"master\"\n          labels: \"vespacli\"\n  \n  release: \n    needs: create-pr\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies and this repo\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[build]\n\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: binaries\n          path: vespacli/vespacli/go-binaries\n\n      - name: Set permissions on all files in go-binaries\n        run: |\n          chmod -R +x vespacli/go-binaries/*\n    \n      - name: Update latest version\n        run: |\n          python utils/update_version.py --version ${{ needs.create-pr.outputs.version }}\n\n      - name: Build\n        run: |\n          python -m build\n\n      - name: Upload to PyPI\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN_VESPACLI }}\n        run: |\n          python -m twine upload dist/*", "state": "active", "repository": "vespa-engine/pyvespa"}
{"mined_at": "2024-07-15T16:04:30.935267", "created_at": "2024-05-29T11:16:47+02:00", "updated_at": "2024-07-01T13:14:57+02:00", "name": "pyvespa - Tests - Except Cloud - Github Action", "path": ".github/workflows/pyvespa-tests.yml", "contents": null, "state": "active", "repository": "vespa-engine/pyvespa"}
{"mined_at": "2024-07-15T16:04:32.166687", "created_at": "2024-05-30T09:21:49+02:00", "updated_at": "2024-05-30T09:21:49+02:00", "name": "pyvespa - Release and upload PyPI", "path": ".github/workflows/pyvespa.yml", "contents": "name: pyvespa - Release and upload PyPI\n\non:\n  workflow_dispatch:\n  release:\n    types: [published]\njobs:\n  update_version:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[build]\n\n      - name: Set version from ref tag that triggered the workflow (strip prefix 'v' from tag)\n        id: set_version\n        run: |\n          echo \"tag=${{ github.ref_name }}\" \n          # strip prefix 'v' from version variable\n          version=${tag#v}\n          echo \"version=$version\" >> $GITHUB_OUTPUT\n\n      - name: Update version\n        run: |\n          echo \"Updating pyvespa version to ${{ steps.set_version.outputs.version }}\"\n          python vespa/utils/update_version.py --version ${{ steps.set_version.outputs.version }}\n\n      - name: Build\n        run: |\n          python -m build\n\n      - name: Upload to PyPI\n        if: github.event_name == 'release'\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN_PYVESPA }} #TODO: this must be added to secrets\n        run: python -m twine upload dist/*\n\n      - name: Create Pull Request\n        if: github.event_name == 'release'\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          commit-message: \"Update pyvespa version to ${{ steps.set_version.outputs.version }}\"\n          title: \"Update pyvespa version to ${{ steps.set_version.outputs.version }}\"\n          body: \"This PR updates the pyvespa version to ${{ steps.set_version.outputs.version }}\"\n          branch: \"update-pyvespa-version-${{ steps.set_version.outputs.version }}\"\n          base: \"master\"\n          labels: \"pyvespa\"\n", "state": "active", "repository": "vespa-engine/pyvespa"}
{"mined_at": "2024-07-15T16:04:33.257586", "created_at": "2024-07-02T08:02:13+02:00", "updated_at": "2024-07-02T08:02:13+02:00", "name": "pyvespa - Tests - Cloud - Github Action", "path": ".github/workflows/pyvespa-tests-cloud.yml", "contents": null, "state": "active", "repository": "vespa-engine/pyvespa"}
{"mined_at": "2024-07-15T16:04:34.519218", "created_at": "2024-07-02T08:02:13+02:00", "updated_at": "2024-07-02T08:02:13+02:00", "name": "pyvespa - Tests - Except Cloud - Github Action", "path": ".github/workflows/pyvespa-tests-except-cloud.yml", "contents": null, "state": "active", "repository": "vespa-engine/pyvespa"}
{"mined_at": "2024-07-15T16:04:35.624154", "created_at": "2024-07-03T10:19:54+02:00", "updated_at": "2024-07-03T10:19:54+02:00", "name": "pyvespa - Build and Deploy with Java - Github Action", "path": ".github/workflows/deploy-with-java.yml", "contents": null, "state": "active", "repository": "vespa-engine/pyvespa"}
{"mined_at": "2024-07-15T16:04:36.751844", "created_at": "2024-07-05T12:53:26+02:00", "updated_at": "2024-07-05T12:55:56+02:00", "name": "Notebooks - cloud", "path": ".github/workflows/notebooks-cloud.yml", "contents": null, "state": "active", "repository": "vespa-engine/pyvespa"}
{"mined_at": "2024-07-15T16:04:39.762820", "created_at": "2021-12-03T05:02:02+01:00", "updated_at": "2022-10-09T14:18:30+02:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n      - name: Install pre-commit hook\n        run: |\n          pip install pre-commit\n          pre-commit install\n      - name: Linting\n        run: pre-commit run --all-files\n      - name: Check docstring coverage\n        run: |\n          pip install interrogate\n          interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --ignore-regex \"__repr__\" --fail-under 90 mmocr\n", "state": "active", "repository": "open-mmlab/mmocr"}
{"mined_at": "2024-07-15T16:04:40.916447", "created_at": "2022-04-18T13:30:28+02:00", "updated_at": "2022-09-05T09:50:10+02:00", "name": "merge_stage_test", "path": ".github/workflows/merge_stage_test.yml", "contents": "name: merge_stage_test\n\non:\n  push:\n    paths-ignore:\n      - 'README.md'\n      - 'README_zh-CN.md'\n      - 'docs/**'\n      - 'demo/**'\n      - '.dev_scripts/**'\n      - '.circleci/**'\n      - 'projects/**'\n    branches:\n      - dev-1.x\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_cpu_py:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n        torch: [1.8.1]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html\n      - name: Install MMEngine\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install MMCV\n        run: |\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc1'\n      - name: Install MMDet\n        run: pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n      - name: Install other dependencies\n        run: pip install -r requirements/tests.txt\n      - name: Build and install\n        run: rm -rf .eggs && pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmocr -m pytest tests/\n          coverage xml\n          coverage report -m\n\n  build_cpu_pt:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.7]\n        torch: [1.6.0, 1.7.1, 1.8.1, 1.9.1, 1.10.1, 1.11.0, 1.12.1, 1.13.0]\n        include:\n          - torch: 1.6.0\n            torchvision: 0.7.0\n          - torch: 1.7.1\n            torchvision: 0.8.2\n          - torch: 1.8.1\n            torchvision: 0.9.1\n          - torch: 1.9.1\n            torchvision: 0.10.1\n          - torch: 1.10.1\n            torchvision: 0.11.2\n          - torch: 1.11.0\n            torchvision: 0.12.0\n          - torch: 1.12.1\n            torchvision: 0.13.1\n          - torch: 1.13.0\n            torchvision: 0.14.0\n          - torch: 2.0.0\n            torchvision: 0.15.1\n            python-version: 3.8\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html\n      - name: Install MMEngine\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install MMCV\n        run: |\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc1'\n      - name: Install MMDet\n        run: pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n      - name: Install other dependencies\n        run: pip install -r requirements/tests.txt\n      - name: Build and install\n        run: rm -rf .eggs && pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmocr -m pytest tests/\n          coverage xml\n          coverage report -m\n      # Only upload coverage report for python3.7 && pytorch1.8.1 cpu\n      - name: Upload coverage to Codecov\n        if: ${{matrix.torch == '1.8.1' && matrix.python-version == '3.7'}}\n        uses: codecov/codecov-action@v1.0.14\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n\n  build_windows:\n    runs-on: windows-2022\n    strategy:\n      matrix:\n        python: [3.7]\n        platform: [cpu, cu111]\n        torch: [1.8.1]\n        torchvision: [0.9.1]\n        include:\n          - python-version: 3.8\n            platform: cu117\n            torch: 2.0.0\n            torchvision: 0.15.1\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - name: Install lmdb\n        run: pip install lmdb\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+${{matrix.platform}} torchvision==${{matrix.torchvision}}+${{matrix.platform}} -f https://download.pytorch.org/whl/${{matrix.platform}}/torch_stable.html\n      - name: Install mmocr dependencies\n        run: |\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc1'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n      - name: Build and install\n        run: |\n          pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          pytest tests/\n", "state": "active", "repository": "open-mmlab/mmocr"}
{"mined_at": "2024-07-15T16:04:42.050521", "created_at": "2022-04-18T13:03:13+02:00", "updated_at": "2022-09-05T08:32:01+02:00", "name": "pr_stage_test", "path": ".github/workflows/pr_stage_test.yml", "contents": "name: pr_stage_test\n\non:\n  pull_request:\n    paths-ignore:\n      - 'README.md'\n      - 'README_zh-CN.md'\n      - 'docs/**'\n      - 'demo/**'\n      - '.dev_scripts/**'\n      - '.circleci/**'\n      - 'projects/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_cpu:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [3.7]\n        include:\n          - torch: 1.8.1\n            torchvision: 0.9.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html\n      - name: Install MMEngine\n        run: pip install git+https://github.com/open-mmlab/mmengine.git@main\n      - name: Install MMCV\n        run: |\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc1'\n      - name: Install MMDet\n        run: pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n      - name: Install other dependencies\n        run: pip install -r requirements/tests.txt\n      - name: Build and install\n        run: rm -rf .eggs && pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmocr -m pytest tests/\n          coverage xml\n          coverage report -m\n      # Upload coverage report for python3.7 && pytorch1.8.1 cpu\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1.0.14\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n\n  build_windows:\n    runs-on: windows-2022\n    strategy:\n      matrix:\n        python: [3.7]\n        platform: [cpu, cu111]\n        torch: [1.8.1]\n        torchvision: [0.9.1]\n        include:\n          - python-version: 3.8\n            platform: cu117\n            torch: 2.0.0\n            torchvision: 0.15.1\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - name: Install lmdb\n        run: pip install lmdb\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+${{matrix.platform}} torchvision==${{matrix.torchvision}}+${{matrix.platform}} -f https://download.pytorch.org/whl/${{matrix.platform}}/torch_stable.html\n      - name: Install mmocr dependencies\n        run: |\n          pip install git+https://github.com/open-mmlab/mmengine.git@main\n          pip install -U openmim\n          mim install 'mmcv >= 2.0.0rc1'\n          pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x\n          pip install -r requirements/tests.txt\n      - name: Build and install\n        run: |\n          pip install -e .\n      - name: Run unittests and generate coverage report\n        run: |\n          pytest tests/\n", "state": "active", "repository": "open-mmlab/mmocr"}
{"mined_at": "2024-07-15T16:04:43.326755", "created_at": "2021-04-08T05:52:14+02:00", "updated_at": "2021-04-08T05:52:14+02:00", "name": "deploy", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: deploy\n\non: push\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-n-publish:\n    runs-on: ubuntu-latest\n    if: startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Build MMOCR\n        run: |\n          pip install wheel\n          python setup.py sdist bdist_wheel\n      - name: Publish distribution to PyPI\n        run: |\n          pip install twine\n          twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}\n", "state": "active", "repository": "open-mmlab/mmocr"}
{"mined_at": "2024-07-15T16:04:44.455259", "created_at": "2022-06-21T04:34:14+02:00", "updated_at": "2022-06-21T04:34:14+02:00", "name": "test-mim", "path": ".github/workflows/test_mim.yml", "contents": "name: test-mim\n\non:\n  push:\n    paths:\n      - 'model-index.yml'\n      - 'configs/**'\n\n  pull_request:\n    paths:\n      - 'model-index.yml'\n      - 'configs/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_cpu:\n    runs-on: ubuntu-18.04\n    strategy:\n      matrix:\n        python-version: [3.7]\n        torch: [1.8.0]\n        include:\n          - torch: 1.8.0\n            torch_version: torch1.8\n            torchvision: 0.9.0\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install openmim\n        run: pip install openmim\n      - name: Build and install\n        run: rm -rf .eggs && mim install -e .\n      - name: test commands of mim\n        run: mim search mmocr\n", "state": "active", "repository": "open-mmlab/mmocr"}
{"mined_at": "2024-07-15T16:04:46.546149", "created_at": "2024-03-26T13:28:39+01:00", "updated_at": "2024-04-23T14:37:07+02:00", "name": "AGENT: Pull request and issue AI agent", "path": ".github/workflows/pr-agent.yml", "contents": "name: \"AGENT: Pull request and issue AI agent\"\n\non:\n  pull_request:\n  issue_comment:\njobs:\n  pr_agent_job:\n    runs-on: ubuntu-latest\n    environment: PRAgent\n    permissions:\n      issues: write\n      pull-requests: write\n      contents: write\n    name: Run pr agent on every pull request, respond to user comments\n    if: (github.actor == 'mansenfranzen') || (github.triggering_actor == 'mansenfranzen')\n    steps:\n      - name: PR Agent action step\n        id: pragent\n        uses: Codium-ai/pr-agent@main\n        env:\n          OPENAI_KEY: ${{ secrets.OPENAI_KEY }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "mansenfranzen/autodoc_pydantic"}
{"mined_at": "2024-07-15T16:04:47.597069", "created_at": "2021-04-03T20:34:01+02:00", "updated_at": "2024-04-12T11:24:16+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": null, "state": "active", "repository": "mansenfranzen/autodoc_pydantic"}
{"mined_at": "2024-07-15T16:04:48.640581", "created_at": "2024-03-18T09:59:14+01:00", "updated_at": "2024-04-23T14:37:24+02:00", "name": "RELEASE: Changelog Update, Tagging, and PyPI Upload", "path": ".github/workflows/release-please.yml", "contents": "name: \"RELEASE: Changelog Update, Tagging, and PyPI Upload\" \n\non:\n  push:\n    branches:\n      - main\n  \npermissions:\n  contents: write\n  pull-requests: write\n\n\njobs:\n  release-please:\n    runs-on: ubuntu-latest\n    environment: ReleasePlease\n    outputs:\n      release-created: ${{ steps.release.outputs.release_created }}\n    steps:\n    - uses: google-github-actions/release-please-action@v4\n      id: release\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        config-file: release-please-config.json\n        manifest-file: .release-please-manifest.json\n\n  publish-to-pypi:\n    name: Upload to PyPI\n    needs: release-please\n    environment: ReleasePlease\n    runs-on: ubuntu-latest\n    if: needs.release-please.outputs.release-created\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: abatilo/actions-poetry@v3\n      - name: build\n        run: poetry build\n      - name: publish\n        run: poetry publish --username __token__ --password ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "mansenfranzen/autodoc_pydantic"}
{"mined_at": "2024-07-15T16:04:49.779047", "created_at": "2024-04-22T20:22:19+02:00", "updated_at": "2024-04-23T14:33:55+02:00", "name": "TESTS: Push/Pull", "path": ".github/workflows/tests-push-pr.yml", "contents": "name: \"TESTS: Push/Pull\"\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  test-stable:\n    environment: Tests\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python_version: \"3.8\"\n            pydantic_version: \"20\"\n            sphinx_version: \"45\"\n          - python_version: \"3.9\"\n            pydantic_version: \"20\"\n            sphinx_version: \"45\"\n          - python_version: \"3.9\"\n            pydantic_version: \"20\"\n            sphinx_version: \"53\"\n          - python_version: \"3.10\"\n            pydantic_version: \"20\"\n            sphinx_version: \"62\"\n          - python_version: \"3.10\"\n            pydantic_version: \"20\"\n            sphinx_version: \"70\"\n          - python_version: \"3.11\"\n            pydantic_version: \"20\"\n            sphinx_version: \"70\"\n          - python_version: \"3.11\"\n            pydantic_version: \"21\"\n            sphinx_version: \"71\"\n          - python_version: \"3.11\"\n            pydantic_version: \"22\"\n            sphinx_version: \"71\"\n          - python_version: \"3.11\"\n            pydantic_version: \"23\"\n            sphinx_version: \"71\"\n          - python_version: \"3.11\"\n            pydantic_version: \"24\"\n            sphinx_version: \"72\"\n          - python_version: \"3.12\"\n            pydantic_version: \"25\"\n            sphinx_version: \"72\"\n          - python_version: \"3.12\"\n            pydantic_version: \"26\"\n            sphinx_version: \"72\"\n          - python_version: \"3.12\"\n            pydantic_version: \"27\"\n            sphinx_version: \"73\"\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Test Environment and Run Tox\n        uses: ./.github/actions/invoke-tox\n        with:\n          python-version: ${{ matrix.python_version }}\n          tox-environment: py${{ matrix.python_version }}-pydantic${{ matrix.pydantic_version }}-sphinx${{ matrix.sphinx_version }}\n          install-graphviz: true\n          codacy: ${{ secrets.CODACY_PROJECT_TOKEN }}\n\n  test-latest:\n    environment: Tests\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Test Environment and Run Tox\n        uses: ./.github/actions/invoke-tox\n        with:\n          tox-environment: latest\n          install-graphviz: true\n          codacy: ${{ secrets.CODACY_PROJECT_TOKEN }}\n\n  test-no-erdantic:\n    environment: Tests\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Test Environment and Run Tox\n        uses: ./.github/actions/invoke-tox\n        with:\n          tox-environment: no-erdantic\n\n  linter:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Test Environment and Run Tox\n        uses: ./.github/actions/invoke-tox\n        with:\n          tox-environment: linter\n\n  formatter:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Test Environment and Run Tox\n        uses: ./.github/actions/invoke-tox\n        with:\n          tox-environment: formatter\n\n  type-checker:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Test Environment and Run Tox\n        uses: ./.github/actions/invoke-tox\n        with:\n          tox-environment: type-checker\n          install-graphviz: true\n\n  security-scan:\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        scan: [\"lib\", \"dev\"]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n  \n      - name: Setup Test Environment and Run Tox\n        uses: ./.github/actions/invoke-tox\n        with:\n          tox-environment: security-scan${{ matrix.scan }}\n          install-graphviz: true", "state": "active", "repository": "mansenfranzen/autodoc_pydantic"}
{"mined_at": "2024-07-15T16:04:50.787202", "created_at": "2024-04-22T20:25:38+02:00", "updated_at": "2024-04-23T14:37:24+02:00", "name": "TESTS: Scheduled", "path": ".github/workflows/tests-scheduled.yml", "contents": "name: \"TESTS: Scheduled\"\non:\n  schedule:\n    - cron: \"0 1 * * *\"\n\njobs:\n  test-latest:\n    environment: Tests\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n    \n      - name: Setup Test Environment and Run Tox\n        uses: ./.github/actions/invoke-tox\n        with:\n          tox-environment: latest\n          install-graphviz: true\n\n  test-pre-release:\n    environment: Tests\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n    \n      - name: Setup Test Environment and Run Tox\n        uses: ./.github/actions/invoke-tox\n        with:\n          tox-environment: pre-release\n          install-graphviz: true\n\n  security-scan:\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        scan: [\"lib\", \"dev\"]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n  \n      - name: Setup Test Environment and Run Tox\n        uses: ./.github/actions/invoke-tox\n        with:\n          tox-environment: security-scan-${{ matrix.scan }}\n          install-graphviz: true\n", "state": "active", "repository": "mansenfranzen/autodoc_pydantic"}
{"mined_at": "2024-07-15T16:04:51.759419", "created_at": "2024-03-23T14:13:17+01:00", "updated_at": "2024-03-23T14:13:17+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mansenfranzen/autodoc_pydantic"}
{"mined_at": "2024-07-15T16:04:53.876399", "created_at": "2022-04-29T22:42:59+02:00", "updated_at": "2023-12-18T16:14:26+01:00", "name": "Base Test Workflow", "path": ".github/workflows/base_test_workflow.yml", "contents": "name: Base Test Workflow\n\non:\n  workflow_call:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      os:\n        required: false\n        type: string\n        default: \"ubuntu-20.04\"\n      tox_args:\n        required: false\n        type: string\n        default: \"\"\n      napari:\n        required: false\n        type: string\n        default: \"latest\"\n      qt_backend:\n        required: false\n        type: string\n        default: \"PyQt5\"\n      test_data:\n        required: false\n        type: boolean\n        default: False\n      coverage:\n        required: false\n        type: boolean\n        default: False\n      timeout:\n        required: false\n        type: number\n        default: 60\n      pydantic:\n        required: false\n        type: string\n        default: \"\"\n\n\njobs:\n  test:\n    name: ${{ inputs.os }} py ${{ inputs.python_version }} ${{ inputs.napari }} ${{ inputs.qt_backend }}\n    runs-on: ${{ inputs.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python ${{ inputs.python_version }}\n        with:\n          python-version: ${{ inputs.python_version }}\n          cache: 'pip'\n          cache-dependency-path: 'pyproject.toml'\n\n#      - name: Install ubuntu libraries\n#        if: runner.os == 'Linux'\n#        run: |\n#          sudo apt update\n#          sudo apt-get install -y libegl1 libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 x11-utils libxcb-cursor0\n\n      - uses: awalsh128/cache-apt-pkgs-action@latest\n        if: runner.os == 'Linux'\n        with:\n          packages: libegl1 libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 x11-utils libxcb-cursor0 libhdf5-dev\n          version: 1.0\n\n\n      - name: Install Windows OpenGL\n        if: runner.os == 'Windows'\n        run: |\n          git clone --depth 1 git://github.com/pyvista/gl-ci-helpers.git\n          powershell gl-ci-helpers/appveyor/install_opengl.ps1\n          if (Test-Path -Path \"C:\\Windows\\system32\\opengl32.dll\" -PathType Leaf) {Exit 0} else {Exit 1}\n\n      - name: Download test data\n        if: ${{ inputs.test_data }}\n        uses: actions/download-artifact@v4\n        with:\n          name: test_data\n          path: test_data\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -r requirements/requirements_dev.txt tox-gh-actions>=2.12.0 tox-min-req\n          pip list\n\n      - name: Test with tox\n        uses: aganders3/headless-gui@v2\n        timeout-minutes: ${{ inputs.timeout }}\n        with:\n          run: python -m tox ${{ inputs.tox_args }}\n        env:\n          PYVISTA_OFF_SCREEN: True  # required for opengl on windows\n          NAPARI: ${{ inputs.napari }}\n          BACKEND: ${{ inputs.qt_backend }}\n          PIP_CONSTRAINT: requirements/constraints_py${{ inputs.python_version }}${{ inputs.pydantic }}.txt\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: timing-report-${{ inputs.os }}-py-${{ inputs.python_version }}-${{ inputs.napari }}-${{ inputs.qt_backend }}-${{ inputs.coverage }}\n          path: |\n            ./report-*.json\n          retention-days: 7\n\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v4\n        if: ${{ inputs.coverage }}\n        with:\n          name: cov-reports-${{ inputs.os }}-py-${{ inputs.python_version }}-${{ inputs.napari }}-${{ inputs.qt_backend }}\n          path: |\n            ./.coverage.*\n", "state": "active", "repository": "4dnucleome/partseg"}
{"mined_at": "2024-07-15T16:04:54.878059", "created_at": "2023-04-15T15:15:26+02:00", "updated_at": "2023-04-15T15:15:26+02:00", "name": "Check PR title", "path": ".github/workflows/check_pr_title.yml", "contents": "name: Check PR title\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - edited\n      - synchronize\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    permissions:\n      statuses: write\n    steps:\n      - uses: aslafy-z/conventional-pr-title-action@v3\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "4dnucleome/partseg"}
{"mined_at": "2024-07-15T16:04:55.873249", "created_at": "2021-10-20T08:47:22+02:00", "updated_at": "2022-12-18T23:46:38+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ develop ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ develop ]\n  schedule:\n    - cron: '18 7 * * 0'\n\nconcurrency:\n  group: test-codeql-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "4dnucleome/partseg"}
{"mined_at": "2024-07-15T16:04:56.949303", "created_at": "2024-07-03T12:00:18+02:00", "updated_at": "2024-07-04T13:04:30+02:00", "name": "Make release", "path": ".github/workflows/make_release.yml", "contents": null, "state": "active", "repository": "4dnucleome/partseg"}
{"mined_at": "2024-07-15T16:04:57.941452", "created_at": "2023-08-01T16:22:47+02:00", "updated_at": "2023-08-01T16:22:47+02:00", "name": "Qodana", "path": ".github/workflows/qodana_code_quality.yml", "contents": null, "state": "active", "repository": "4dnucleome/partseg"}
{"mined_at": "2024-07-15T16:04:59.046385", "created_at": "2021-03-15T14:15:41+01:00", "updated_at": "2021-03-15T14:15:41+01:00", "name": "Semgrep", "path": ".github/workflows/semgrep.yml", "contents": "on:\n  workflow_dispatch: {}\n  pull_request_target:\n    branches:\n      - main\n      - master\n      - develop\n\n  push:\n    branches:\n    - main\n    - master\n    - develop\nname: Semgrep\njobs:\n  semgrep:\n    # User definable name of this GitHub Actions job.\n    name: semgrep/ci\n    # If you are self-hosting, change the following `runs-on` value:\n    runs-on: ubuntu-latest\n\n    container:\n      # A Docker image with Semgrep installed. Do not change this.\n      image: returntocorp/semgrep\n\n    # Skip any PR created by dependabot to avoid permission issues:\n    if: (github.actor != 'dependabot[bot]')\n\n    steps:\n      # Fetch project source with GitHub Actions Checkout.\n      - uses: actions/checkout@v4\n      # Run the \"semgrep ci\" command on the command line of the docker image.\n      - run: semgrep ci\n        env:\n          # Connect to Semgrep Cloud Platform through your SEMGREP_APP_TOKEN.\n          # Generate a token from Semgrep Cloud Platform > Settings\n          # and add it to your GitHub secrets.\n          SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}\n", "state": "active", "repository": "4dnucleome/partseg"}
{"mined_at": "2024-07-15T16:05:00.134678", "created_at": "2022-02-22T17:40:22+01:00", "updated_at": "2022-02-22T20:40:47+01:00", "name": "napari repo", "path": ".github/workflows/test_napari_repo.yml", "contents": "name: napari repo\n\non:\n  schedule:\n    - cron: '0 10 * * 1,3,5'  # every 24 hours\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  download_data:\n    name: Download test data\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - shell: bash\n        run: bash build_utils/download_data.sh\n      - name: Upload test data\n        uses: actions/upload-artifact@v4\n        with:\n          name: test_data\n          path: test_data\n          retention-days: 5\n\n  test_napari:\n    name: ${{ matrix.napari_version }} py${{ matrix.python }}\n    runs-on: ${{ matrix.platform }}\n    needs: download_data\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ ubuntu-22.04 ]\n        python: ['3.8', '3.9' , '3.10', '3.11']\n        napari_version: ['repo']\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install Windows OpenGL\n        if: runner.os == 'Windows'\n        run: |\n          git clone --depth 1 git://github.com/pyvista/gl-ci-helpers.git\n          powershell gl-ci-helpers/appveyor/install_opengl.ps1\n          if (Test-Path -Path \"C:\\Windows\\system32\\opengl32.dll\" -PathType Leaf) {Exit 0} else {Exit 1}\n\n      - uses: tlambert03/setup-qt-libs@v1\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install setuptools tox tox-gh-actions\n\n      - name: Download test data\n        uses: actions/download-artifact@v4\n        with:\n          name: test_data\n          path: test_data\n\n      - name: Test with tox\n        # run tests using pip install --pre\n        uses: aganders3/headless-gui@v2\n        timeout-minutes: 60\n        with:\n          run: tox\n        env:\n          PLATFORM: ${{ matrix.platform }}\n          NAPARI: ${{ matrix.napari_version }}\n          PYVISTA_OFF_SCREEN: True  # required for opengl on windows\n\n      - name: Report Failures\n        if: ${{ failure() }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PLATFORM: ${{ matrix.platform }}\n          PYTHON: ${{ matrix.python }}\n          RUN_ID: ${{ github.run_id }}\n          TITLE: '[test-bot] napari repos test fail'\n        with:\n          filename: .github/TEST_FAIL_TEMPLATE.md\n          update_existing: true\n", "state": "active", "repository": "4dnucleome/partseg"}
{"mined_at": "2024-07-15T16:05:01.451105", "created_at": "2021-10-14T16:44:25+02:00", "updated_at": "2021-10-14T17:53:19+02:00", "name": "napari widgets", "path": ".github/workflows/test_napari_widgets.yml", "contents": "name: napari widgets\n\non:\n  push:\n    branches:\n      - master\n      - develop\n      - main\n      - bugfix/fix_napari_widgets_tests\n  pull_request:\n    branches:\n      - '**'\n\nconcurrency:\n  group: test-napari-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test-latest-release:\n    name: Test latest release ${{ matrix.napari }} ${{ matrix.qt_backend }}\n    strategy:\n      fail-fast: false\n      matrix:\n        qt_backend: [\"PyQt5\", \"PySide2\"]\n        os: [\"ubuntu-22.04\"]\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      python_version: \"3.10\"\n      os: ${{ matrix.os }}\n      napari: \"napari419\"\n      qt_backend: ${{ matrix.qt_backend }}\n      timeout: 10\n\n  test-pyqt5:\n    name: PyQt5 ${{ matrix.napari }}\n    strategy:\n      fail-fast: false\n      matrix:\n        napari: [\"napari417\", \"napari418\"]\n        qt_backend: [\"PyQt5\"]\n        include:\n          - napari: \"napari417\"\n            qt_backend: \"PySide2\"\n    if: github.event_name == 'push'\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      python_version: \"3.9\"\n      os: \"ubuntu-20.04\"\n      napari: ${{ matrix.napari }}\n      qt_backend: ${{ matrix.qt_backend }}\n      timeout: 10\n", "state": "active", "repository": "4dnucleome/partseg"}
{"mined_at": "2024-07-15T16:05:02.680146", "created_at": "2021-01-29T14:07:02+01:00", "updated_at": "2021-01-29T14:07:02+01:00", "name": "--pre Test", "path": ".github/workflows/test_prereleases.yml", "contents": "# An \"early warning\" cron job that will install dependencies\n# with `pip install --pre` periodically to test for breakage\n# (and open an issue if a test fails)\nname: --pre Test\n\non:\n  push:\n    branches:\n      - master\n      - develop\n  schedule:\n    - cron: '0 */12 * * *'  # every 12 hours\n  pull_request:\n    paths:\n      - '.github/workflows/test_prereleases.yml'\n      - 'pyproject.toml'\n      - 'requirements/pre_test_problematic_version.txt'\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  download_data:\n    name: Download test data\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - shell: bash\n        run: bash build_utils/download_data.sh\n      - name: Upload test data\n        uses: actions/upload-artifact@v4\n        with:\n          name: test_data\n          path: test_data\n          retention-days: 5\n\n\n  test:\n    name: ${{ matrix.platform }} py${{ matrix.python }} ${{ matrix.backend }} --pre\n    runs-on: ${{ matrix.platform }}\n    needs: download_data\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [windows-2022, macos-12, ubuntu-22.04]\n        python: [3.9]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n          cache-dependency-path: 'pyproject.toml'\n\n      - name: Install Windows OpenGL\n        if: runner.os == 'Windows'\n        run: |\n          git clone --depth 1 git://github.com/pyvista/gl-ci-helpers.git\n          powershell gl-ci-helpers/appveyor/install_opengl.ps1\n          if (Test-Path -Path \"C:\\Windows\\system32\\opengl32.dll\" -PathType Leaf) {Exit 0} else {Exit 1}\n\n      - uses: tlambert03/setup-qt-libs@v1\n\n      - name: Download test data\n        uses: actions/download-artifact@v4\n        with:\n          name: test_data\n          path: test_data\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install setuptools tox tox-gh-actions>=2.12.0\n\n      - name: Test with tox linux\n        # run tests using pip install --pre\n        uses: aganders3/headless-gui@v2\n        timeout-minutes: 60\n        with:\n          run: python -m tox -v --pre\n        env:\n          PLATFORM: ${{ matrix.platform }}\n          PYVISTA_OFF_SCREEN: True  # required for opengl on windows\n          NAPARI: latest\n          BACKEND: PyQt5\n          PIP_CONSTRAINT: requirements/pre_test_problematic_version.txt\n\n      # If something goes wrong, we can open an issue in the repo\n      - name: Report Failures\n        if: ${{ failure() }}\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PLATFORM: ${{ matrix.platform }}\n          PYTHON: ${{ matrix.python }}\n          RUN_ID: ${{ github.run_id }}\n          TITLE: '[test-bot] pip install --pre is failing'\n        with:\n          filename: .github/TEST_FAIL_TEMPLATE.md\n          update_existing: true\n\n  pyinstaller:\n    name: \"Test pyinstaller build\"\n    runs-on: \"ubuntu-latest\"\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      name: Install Python 3.9\n      with:\n        python-version: 3.9\n    - uses: tlambert03/setup-qt-libs@v1\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install pip-tools\n    - name: Compile and install PyInstaller requirements\n      run: |\n        pip-compile --upgrade -o requirements.txt pyproject.toml requirements/pre_test_problematic_version.txt --extra pyinstaller  --pre\n        pip-sync\n        pip install .\n    - name: upload requirements\n      uses: actions/upload-artifact@v4\n      with:\n        name: requirements\n        path: requirements.txt\n    - name: Run PyInstaller\n      run: python  build_utils/create_and_pack_executable.py\n    - name: Upload bundle\n      uses: actions/upload-artifact@v4\n      with:\n        name: bundle\n        path: dist2/\n    - name: Test bundle\n      uses: aganders3/headless-gui@v2\n      timeout-minutes: 60\n      with:\n        run: dist/PartSeg/PartSeg _test\n\n      # If something goes wrong, we can open an issue in the repo\n    - name: Report Failures\n      if: ${{ failure() }}\n      uses: JasonEtco/create-an-issue@v2\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        PLATFORM: ${{ matrix.platform }}\n        PYTHON: ${{ matrix.python }}\n        RUN_ID: ${{ github.run_id }}\n        TITLE: '[test-bot] pyinstaller bundle --pre is failing'\n      with:\n        filename: .github/TEST_FAIL_TEMPLATE.md\n        update_existing: true\n", "state": "active", "repository": "4dnucleome/partseg"}
{"mined_at": "2024-07-15T16:05:03.720836", "created_at": "2020-03-26T19:59:43+01:00", "updated_at": "2022-04-29T15:22:32+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - develop\n      - feature_prepare/**\n      - main\n\n  pull_request:\n    branches:\n      - '**'\n  workflow_dispatch:\n\nconcurrency:\n  group: test-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  download_data:\n    name: Download test data\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - shell: bash\n        run: bash build_utils/download_data.sh\n      - name: Upload test data\n        uses: actions/upload-artifact@v4\n        with:\n          name: test_data\n          path: test_data\n          retention-days: 5\n\n  base-test:\n    name: Base py${{ matrix.python_version }}\n    if: github.event_name == 'pull_request'\n    uses: ./.github/workflows/base_test_workflow.yml\n    needs: download_data\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [\"ubuntu-20.04\"]\n        qt_backend: [\"PyQt5\"]\n        tox_args: [ \"\" ]\n        include:\n          - python_version: \"3.9\"\n            os: \"macos-11\"\n            qt_backend: \"PyQt5\"\n          - python_version: \"3.9\"\n            os: \"windows-2019\"\n            qt_backend: \"PyQt5\"\n          - python_version: \"3.9\"\n            os: \"ubuntu-20.04\"\n            qt_backend: \"PySide2\"\n          - python_version: \"3.9\"\n            os: \"ubuntu-22.04\"\n            qt_backend: \"PySide6\"\n          - python_version: \"3.10\"\n            os: \"ubuntu-22.04\"\n            qt_backend: \"PyQt6\"\n          - python_version: \"3.10\"\n            os: \"ubuntu-22.04\"\n            qt_backend: \"PyQt5\"\n            pydantic: \"_pydantic_1\"\n    with:\n      test_data: True\n      python_version: ${{ matrix.python_version }}\n      os: ${{ matrix.os }}\n      qt_backend: ${{ matrix.qt_backend }}\n      tox_args: ${{ matrix.tox_args }}\n\n  base-test-main:\n    name: Base py${{ matrix.python_version }}\n    if: github.event_name == 'push'\n    uses: ./.github/workflows/base_test_workflow.yml\n    needs: download_data\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [\"ubuntu-20.04\", \"macos-11\", \"windows-2019\"]\n        qt_backend: [\"PySide2\", \"PyQt5\"]\n        include:\n          - python_version: \"3.11\"\n            qt_backend: \"PyQt5\"\n            os: \"ubuntu-22.04\"\n          - python_version: \"3.9\"\n            os: \"ubuntu-22.04\"\n            qt_backend: \"PySide6\"\n          - python_version: \"3.9\"\n            os: \"ubuntu-22.04\"\n            qt_backend: \"PyQt6\"\n        exclude:\n          - python_version: \"3.11\"\n            qt_backend: \"PySide2\"\n          - python_version: \"3.12\"\n            qt_backend: \"PySide2\"\n    with:\n      test_data: True\n      python_version: ${{ matrix.python_version }}\n      os: ${{ matrix.os }}\n      qt_backend: ${{ matrix.qt_backend }}\n\n  test_coverage:\n    needs: download_data\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      test_data: True\n      python_version: \"3.10\"\n      tox_args: \"-e py310-PyQt5-coverage\"\n      coverage: true\n\n  test_minimal:\n    name: Test PartSeg minimal\n    needs: download_data\n    uses: ./.github/workflows/base_test_workflow.yml\n    with:\n      test_data: True\n      python_version: \"3.8\"\n      tox_args: \"-e py38-PyQt5-minimal\"\n      coverage: true\n\n  coverage_prepare:\n    name: Prepare coverage\n    runs-on: ubuntu-latest\n    needs: [test_coverage, test_minimal]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n          cache-dependency-path: pyproject.toml\n          cache: 'pip'\n      - name: Install Dependencies\n        run: |\n          pip install --upgrade pip\n          pip install codecov\n\n      - name: Download coverage data\n        uses: actions/download-artifact@v4\n        with:\n          pattern: cov-reports-*\n          path: coverage\n          merge-multiple: true\n      - name: combine coverage data\n        run: |\n          python -Im coverage combine coverage\n          python -Im coverage xml -o coverage.xml\n          # Report and write to summary.\n          python -Im coverage report --format=markdown --skip-empty --skip-covered >> $GITHUB_STEP_SUMMARY\n\n      - name: Upload coverage artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage_xml\n          path: coverage.xml\n          retention-days: 5\n\n      - name: Upload coverage data\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  test_conda:\n    name: Test PartSeg conda\n    runs-on: ubuntu-20.04\n    needs: download_data\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-version: latest\n          miniforge-variant: mambaforge\n          use-mamba: true\n          channels: conda-forge\n          channel-priority: strict\n          python-version: \"3.11\"\n\n      - uses: tlambert03/setup-qt-libs@v1\n\n      - name: Download test data\n        uses: actions/download-artifact@v4\n        with:\n          name: test_data\n          path: test_data\n\n      - name: Use mamba solver\n        shell: \"bash -el {0}\"\n        run: |\n          conda install -n base conda-libmamba-solver\n          conda config --set solver libmamba\n\n      - name: Install dependencies\n        shell: \"bash -el {0}\"\n        run: |\n          mamba install -y \"tox-conda>=0.10.0\"\n\n      - name: List environment packages\n        shell: \"bash -el {0}\"\n        run: conda list\n\n      - name: create environment\n        shell: \"bash -el {0}\"\n        run: bash build_utils/create_environment_yml.sh\n\n      - name: Upload environment file\n        uses: actions/upload-artifact@v4\n        with:\n          name: environment\n          path: environment.yml\n          retention-days: 5\n\n      - name: patch tox.ini\n        shell: \"bash -el {0}\"\n        run: sed -e \"s/{sys_platform}/{platform}/g\" tox.ini -i\n\n      - name: Test with tox\n        uses: aganders3/headless-gui@v2\n        with:\n          run: conda run -n test --no-capture-output tox -e py311-PySide2-conda\n        timeout-minutes: 60\n\n  check-package:\n    name: Build & inspect our package.\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: hynek/build-and-inspect-python-package@v2\n", "state": "active", "repository": "4dnucleome/partseg"}
{"mined_at": "2024-07-15T16:05:04.830525", "created_at": "2022-11-28T23:47:53+01:00", "updated_at": "2022-11-29T11:19:30+01:00", "name": "Upgrade dependencies", "path": ".github/workflows/upgrade-dependencies.yml", "contents": "name: Upgrade dependencies\n\non:\n  workflow_dispatch: # Allow running on-demand\n  schedule:\n    # Runs every Monday at 8:00 UTC (4:00 Eastern)\n    - cron: '0 8 * * 1'\n\njobs:\n  upgrade:\n    name: Upgrade & Open Pull Request\n    runs-on: ubuntu-latest\n    env:\n      # This branch will receive updates each time the workflow runs\n      # It doesn't matter if it's deleted when merged, it'll be re-created\n      BRANCH_NAME: auto-dependency-upgrades\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # [Optional] Use a separate key to automatically execute checks on the resulting PR\n          # https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs\n          ssh-key: ${{ secrets.DEPLOY_KEY }}\n\n      # START PYTHON DEPENDENCIES\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n          cache-dependency-path: 'pyproject.toml'\n      - name: Upgrade Python dependencies\n        # ADD YOUR CUSTOM DEPENDENCY UPGRADE COMMANDS BELOW\n        run: |\n          set -x\n          pip install -U uv\n          flags=(--extra pyqt5 --extra pyqt6 --extra pyside2 --extra pyside6 --extra test --extra pyinstaller)\n\n          for pyv in 3.8 3.9 3.10 3.11 3.12; do\n            uv pip compile --python-version ${pyv} --upgrade --output-file requirements/constraints_py${pyv}.txt pyproject.toml requirements/version_denylist.txt \"${flags[@]}\"\n            uv pip compile --python-version ${pyv} --upgrade --output-file requirements/constraints_py${pyv}_pydantic_1.txt pyproject.toml requirements/version_denylist.txt \"${flags[@]}\" --constraint requirements/pydantic_1.txt\n          done\n          uv pip compile --python-version 3.11 --upgrade --output-file requirements/constraints_py3.11_docs.txt pyproject.toml requirements/version_denylist.txt --extra docs --extra pyqt6\n      # END PYTHON DEPENDENCIES\n\n      - name: Check updated packages\n        id: packages\n        run: |\n          python build_utils/check_updated_packages.py --main-packages\n          python build_utils/check_updated_packages.py\n          echo \"main_packages=$(python build_utils/check_updated_packages.py --main-packages)\" >> $GITHUB_OUTPUT\n          echo \"all_packages<<EOF\" >> $GITHUB_OUTPUT\n          echo \"$(python build_utils/check_updated_packages.py)\" >> $GITHUB_OUTPUT\n          echo \"EOF\" >> $GITHUB_OUTPUT\n\n      - name: Create PR updating vendored modules\n        uses: peter-evans/create-pull-request@v6\n        with:\n          commit-message: Update bundle dependencies.\n          branch: ${{ env.BRANCH_NAME }}\n          delete-branch: true\n          title: \"test: [Automatic] Constraints upgrades: ${{ steps.packages.outputs.main_packages }}\"\n          body: |\n            This PR is automatically created and updated by PartSeg GitHub\n            action cron to keep bundle dependencies modules up to date.\n\n            The updated packages are:\n\n            ${{ steps.packages.outputs.all_packages }}\n          token: ${{ secrets.GHA_TOKEN }}\n", "state": "active", "repository": "4dnucleome/partseg"}
{"mined_at": "2024-07-15T16:05:06.861940", "created_at": "2020-07-22T06:05:47+02:00", "updated_at": "2021-01-24T17:39:25+01:00", "name": "Tests", "path": ".github/workflows/main.yaml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ \"main\" ]\n    paths-ignore:\n    - 'docs/**'\n  pull_request:\n    branches: [ \"main\" ]\n    paths-ignore:\n    - 'docs/**'\n  schedule:\n    - cron: '0 4 * * *'  # run once a day at 4 AM\n\nenv:\n  PYTEST_ADDOPTS: \"--color=yes\"\n\njobs:\n  run-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # checkout tags (which is not done by default)\n      - name: 🔁 Setup Python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: pyproject.toml\n      - name: 🎯 Check cache hit\n        run: echo '${{ steps.setup-python.outputs.cache-hit }}'\n      - name: 🌈 Install pangeo-forge-recipes package\n        shell: bash -l {0}\n        run: |\n          python -m pip install -e  \".[test]\"\n      - name: 🧑‍💻 On the nightly run, test upstream dev versions\n        if: |\n          github.event_name == 'schedule'\n        shell: bash -l {0}\n        run: |\n          python -m pip install -Ur ci/requirements-upstream-dev.txt\n          python -m pip install -U --pre apache-beam\n      - name: 🏄‍♂️ Run Tests\n        shell: bash -l {0}\n        run: |\n          py.test tests -v -n auto \\\n            --cov=pangeo_forge_recipes --cov-config .coveragerc \\\n            --cov-report term-missing \\\n            --cov-report xml \\\n            --durations=10 --durations-min=1.0\n      - name: 🚦 Run Codecov\n        if: |\n          github.event_name == 'push' ||\n          github.event_name == 'pull_request'\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          file: ./coverage.xml\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n", "state": "active", "repository": "pangeo-forge/pangeo-forge-recipes"}
{"mined_at": "2024-07-15T16:05:08.006797", "created_at": "2021-04-19T17:48:12+02:00", "updated_at": "2021-04-19T17:48:12+02:00", "name": "Release Python Package", "path": ".github/workflows/release.yaml", "contents": "\nname: Release Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools setuptools-scm build twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: \"__token__\"\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          python -m build\n          twine check dist/*\n          twine upload dist/*\n", "state": "active", "repository": "pangeo-forge/pangeo-forge-recipes"}
{"mined_at": "2024-07-15T16:05:09.235235", "created_at": "2023-04-28T01:24:59+02:00", "updated_at": "2023-12-08T01:22:59+01:00", "name": "Integration tests", "path": ".github/workflows/test-integration.yaml", "contents": "name: Integration tests\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n    types: [ opened, reopened, synchronize, labeled ]\n\nenv:\n  PYTEST_ADDOPTS: \"--color=yes\"\n\njobs:\n  integration-tests:\n    # run on:\n    #  - all pushes to specified branch(es)\n    #  - a PR was just labeled 'test-integration'\n    #  - a PR with 'test-integration' label was opened, reopened, or synchronized\n    if: |\n      github.event_name == 'push' ||\n      github.event.label.name == 'test-integration' ||\n      contains( github.event.pull_request.labels.*.name, 'test-integration')\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # the runner versions tested here are pinned to an older version of apache-beam which is not\n        # necessarily expected to work on python > 3.9. For one additional context point, see:\n        # https://github.com/pangeo-forge/pangeo-forge-recipes/issues/540#issuecomment-1685096271\n        # Once https://github.com/pangeo-forge/pangeo-forge-runner/pull/90 goes in, we can add back\n        # integration testing for 3.10 and 3.11 (for runner versions that follow that PR).\n        python-version: [\"3.9\"]  # , \"3.10\", \"3.11\"]\n        runner-version: [\n          \"pangeo-forge-runner==0.9.1\",\n          \"pangeo-forge-runner==0.9.2\",\n          \"pangeo-forge-runner==0.9.3\",\n        ]\n    steps:\n      - uses: actions/checkout@v4\n      - name: 🔁 Setup Python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n\n      - name: Install pangeo-forge recipes and runner\n        shell: bash -l {0}\n        run: |\n          python -m pip install ${{ matrix.runner-version }}\n          python -m pip install -e \".[test,minio]\"\n\n      - name: Install optional grib deps\n        shell: bash -l {0}\n        run: |\n          python -m pip install ecmwflibs eccodes cfgrib\n\n      - name: 'Setup minio'\n        run: |\n          wget --quiet https://dl.min.io/server/minio/release/linux-amd64/minio\n          chmod +x minio\n          mv minio /usr/local/bin/minio\n\n          minio --version\n\n      - name: 🎯 Check cache hit\n        run: echo '${{ steps.setup-python.outputs.cache-hit }}'\n\n        # order reversed to fix https://github.com/pangeo-forge/pangeo-forge-recipes/pull/595#issuecomment-1811630921\n        # this should however be fixed in the runner itself\n      - name: 🏄‍♂️ Run Tests\n        shell: bash -l {0}\n        run: |\n          pytest --timeout=600 -vvxs tests/test_integration.py --run-integration\n", "state": "active", "repository": "pangeo-forge/pangeo-forge-recipes"}
{"mined_at": "2024-07-15T16:05:12.613878", "created_at": "2020-08-05T22:07:44+02:00", "updated_at": "2022-01-19T23:59:50+01:00", "name": "CI Workflow", "path": ".github/workflows/continuous-integration-workflow.yml", "contents": "name: CI Workflow\n\non:\n  push:\n  pull_request:\n    branches:\n      - main\njobs:\n  Check:\n    timeout-minutes: 40\n    continue-on-error: ${{ matrix.optional || false }}\n    runs-on: ${{ matrix.os }}\n    name: >-\n      ${{ matrix.nox-session || matrix.task }}\n      (${{ matrix.os }}, ${{ matrix.python-version }})\n      ${{ matrix.optional && '[OPTIONAL]' }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, windows-2019]\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n        nox-session: [test, example]\n\n        include:\n\n          - os: ubuntu-latest\n            python-version: ''\n            nox-session: ''\n            task: shellcheck\n\n          - os: ubuntu-latest\n            python-version: '3.8'\n            nox-session: flake8\n\n          - os: ubuntu-latest\n            python-version: '3.10'\n            nox-session: pylint\n            additional-sys-deps: libvirt-dev\n\n          - os: ubuntu-latest\n            python-version: '3.8'\n            nox-session: mypy\n\n          - os: ubuntu-latest\n            python-version: '3.8'\n            nox-session: docs\n\n          - os: ubuntu-latest\n            python-version: '3.8'\n            nox-session: coverage\n\n    env:\n      NOXSESSION: ${{ matrix.nox-session }}\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n        if: matrix.python-version\n\n      - name: Install system dependencies\n        run: |\n          sudo apt update\n          sudo apt install libgirepository1.0-dev ${{ matrix.additional-sys-deps }}\n        if: startsWith(matrix.os, 'ubuntu')\n\n      - name: Install Nox\n        run: pip install nox toml\n        if: matrix.nox-session\n\n      - name: Run Nox\n        run: nox -v\n        if: matrix.nox-session\n\n      - name: Run ShellCheck\n        uses: ludeeus/action-shellcheck@1.1.0\n        if: matrix.task == 'shellcheck'\n", "state": "active", "repository": "microsoft/lisa"}
{"mined_at": "2024-07-15T16:05:13.740471", "created_at": "2023-01-19T04:37:29+01:00", "updated_at": "2023-01-19T04:37:29+01:00", "name": "Update Dependencies", "path": ".github/workflows/update_deps.yml", "contents": "name: Update Dependencies\n\non:\n  schedule:\n    # Every Monday at 1 AM\n    - cron: '0 1 * * 1'\n\njobs:\n  Update_Deps:\n\n    runs-on: ubuntu-latest\n    name: ${{ matrix.name || matrix.args }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        args: [docs, black, flake8, isort, mypy, pylint]\n\n        # Uncomment to enable base dependency checking\n        # include:\n\n        # - args: '-b'\n        #   name: Base Dependencies\n\n    env:\n      DEPS_UPDATED: false\n      PR_BRANCH: bumpdeps/${{ join(matrix.args, '_') }}_${{ github.run_id }}\n      PR_MSG: \"BumpDeps: ${{ matrix.name || matrix.args }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ssh-key: ${{ secrets.PR_DEPLOY_PRIVATE_KEY }}\n\n      - name: Install latest Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n\n      - name: Install bumpdeps\n        run: pip install bumpdeps\n\n      - name: Setup Git\n        run: |\n          set -x\n          git config --global user.name \"BumpDeps\"\n          git config --global user.email \"<>\"\n          git checkout -b $PR_BRANCH\n\n      - name: Update deps\n        run: |\n          set -x\n          bumpdeps ${{ matrix.args }}\n          git diff --quiet || echo \"DEPS_UPDATED=true\" >> $GITHUB_ENV\n\n      - name: Create PR\n        env:\n          GH_TOKEN: ${{ github.token }}\n        run: |\n          set -x\n          git commit -a -m \"$PR_MSG\"\n          git --no-pager log -n 2\n          git push -u origin $PR_BRANCH\n          gh pr create -B main -H $PR_BRANCH --title \"$PR_MSG\" --body \"Created by Github Action\"\n        if: env.DEPS_UPDATED == 'true'\n", "state": "active", "repository": "microsoft/lisa"}
{"mined_at": "2024-07-15T16:05:15.906348", "created_at": "2021-06-09T02:45:45+02:00", "updated_at": "2021-06-09T02:45:45+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  workflow_dispatch:\n  pull_request:\n\njobs:\n  lint_and_test:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: ['3.8', '3.9']\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Set Variables\n        id: set_variables\n        shell: bash\n        run: |\n          echo \"PY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')\" >> $GITHUB_OUTPUT\n          echo \"PIP_CACHE=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: Cache PIP\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.set_variables.outputs.PIP_CACHE }}\n          key: ${{ runner.os }}-pip-${{ steps.set_variables.outputs.PY }}\n      - name: Install dependencies\n        run:  |\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n      - name: Run lint\n        uses: pre-commit/action@v2.0.0\n      - name: Run test\n        run: pytest tests/\n      - name: Run running tests\n        run: |\n           python -m github_poster github --github_user_name yihong0618\n           python -m github_poster multiple --types \"github, dota2\" --github_user_name piglei --dota2_id 70388657 --year 2018-2022\n", "state": "active", "repository": "yihong0618/githubposter"}
{"mined_at": "2024-07-15T16:05:16.926410", "created_at": "2021-12-27T08:38:07+01:00", "updated_at": "2021-12-27T08:50:24+01:00", "name": "Release to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Release to PyPI\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - v*\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n\n    - name: Build\n      run: | \n        python setup.py sdist\n    - name: Install dependencies\n      run:  |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "yihong0618/githubposter"}
{"mined_at": "2024-07-15T16:05:18.040523", "created_at": "2021-04-28T10:39:40+02:00", "updated_at": "2021-12-27T08:52:12+01:00", "name": "Run Poster Generate", "path": ".github/workflows/run_poster_generate.yml", "contents": "name: Run Poster Generate\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nenv:\n  # please change to your own config.\n  # this actions generate only this year\n  # If you fork this please change the type to yours below\n  TYPE: \"strava, github, forest, pass\" # support strava/gpx/ns/cichang/shanbay/duolingo/issue/leetcode/github/gitlab/kindle/bilibili/wakatime/dota2/forest, Please change the 'pass' it to your own separated by commas\n  ME: yihong0618\n\njobs:\n  sync:\n    name: Sync\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\" # caching pip dependencies\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install '.[all]'\n\n      - name: Run sync ns script\n        if: contains(env.TYPE, 'ns')\n        run: |\n          python -m github_poster ns --ns_session_token ${{ secrets.NS_SESSION_TOKEN }} --ns_device_id ${{ secrets.NS_DEVICE_ID }} --me ${{ env.ME }}\n\n      - name: Run sync strava script\n        if: contains(env.TYPE, 'strava')\n        run: |\n          python -m github_poster strava --strava_client_id ${{ secrets.STRAVA_CLIENT_ID }} --strava_client_secret ${{ secrets.STRAVA_CLIENT_SECRET }} --strava_refresh_token ${{ secrets.STRAVA_CLIENT_REFRESH_TOKEN }} --me ${{ env.ME }} --year 2012-$(date +\"%Y\") --is-circular\n\n      - name: Run sync shanbay script\n        if: contains(env.TYPE, 'shanbay')\n        run: |\n          python -m github_poster shanbay --shanbay_user_name ${{ secrets.SHANBAY_USER_NAME }}  --special-color1 '#33C6A4' --special-color2  '#33C6A4' --me ${{ env.ME }}\n\n      - name: Run sync duolingo script\n        if: contains(env.TYPE, 'duolingo')\n        run: |\n          python -m github_poster duolingo --duolingo_user_name ${{ secrets.DUOLINGO_USER_NAME }} --duolingo_jwt ${{ secrets.DUOLINGO_JWT }} --me ${{ env.ME }}\n\n      - name: Run sync cichang script\n        if: contains(env.TYPE, 'cichang')\n        run: |\n          python -m github_poster cichang --cichang_user_name ${{ secrets.CICHANG_USER_NAME }} --password ${{ secrets.CICHANG_PASSWORD }} --me ${{ env.ME }}\n\n      - name: Run sync forest script\n        if: contains(env.TYPE, 'forest')\n        run: |\n          python -m github_poster forest --forest_email ${{ secrets.FOREST_EMAIL }} --forest_password ${{ secrets.FOREST_PASSWORD }} --year $(date +\"%Y\") --cn\n\n      - name: Run sync issue script\n        if: contains(env.TYPE, 'issue')\n        run: |\n          python -m github_poster issue --issue_number ${{ secrets.ISSUE_NUMBER }} --repo_name ${{ secrets.REPO_NAME }} --github_token ${{ secrets.G_T }} --me ${{ env.ME }}\n\n      - name: Run sync leetcode script\n        if: contains(env.TYPE, 'leetcode')\n        run: |\n          python -m github_poster leetcode --leetcode_cookie  \"${{ secrets.LEETCODE_COOKIE }}\" --me ${{ env.ME }}\n\n      - name: Run sync github script\n        if: contains(env.TYPE, 'github')\n        run: |\n          python -m github_poster github --github_user_name ${{ secrets.G_USER_NAME }} --me ${{ env.ME }} --with-animation --stand-with-ukraine\n\n      - name: Run sync gitlab script\n        if: contains(env.TYPE, 'gitlab')\n        run: |\n          python -m github_poster gitlab --gitlab_user_name ${{ secrets.GITLAB_USER_NAME }} --me ${{ env.ME }} --with-animation\n\n      - name: Run sync kindle script\n        if: contains(env.TYPE, 'kindle')\n        run: |\n          python -m github_poster kindle --kindle_cookie  '${{ secrets.KINDLE_COOKIE }} --me ${{ env.ME }}\n\n      - name: Run sync bilibili script\n        if: contains(env.TYPE, 'bilibili')\n        run: |\n          python3 -m github_poster bilibili --bilibili_cookie \"${{ secrets.BILIBILI_COOKIE }}\" --me ${{ env.ME }}\n\n      - name: Run sync wakatime script\n        if: contains(env.TYPE, 'wakatime')\n        run: |\n          python3 -m github_poster wakatime --wakatime_key \"${{ secrets.WAKATIME_KEY }}\" --me ${{ env.ME }}\n\n      - name: Run sync dota2 script\n        if: contains(env.TYPE, 'dota2')\n        run: |\n          python3 -m github_poster dota2 --dota2_id \"${{ secrets.DOTA2_ID }}\" --me ${{ env.ME }}\n\n      - name: Run sync notion script\n        if: contains(env.TYPE, 'notion')\n        run: |\n          python3 -m github_poster notion --notion_token \"${{ secrets.NOTION_TOKEN }}\" --database_id \"${{ secrets.NOTION_DATABASE_ID }}\" --prop_name \"${{ secrets.NOTION_PROP_NAME }}\" --me ${{ env.ME }}\n\n      - name: Run sync openlanguage script\n        if: contains(env.TYPE, 'openlanguage')\n        run: |\n          python3 -m github_poster openlanguage --openlanguage_user_name \"${{ secrets.OPENLANGUAGE_USER_NAME }}\" --openlanguage_password \"${{ secrets.OPENLANGUAGE_PASSWORD }}\" --me ${{ env.ME }}\n\n      # change the types to yours\n      - name: Run sync multiple script\n        if: contains(env.TYPE, 'multiple')\n        run: |\n          python3 -m github_poster multiple --types \"github\" --github_user_name ${{ secrets.G_USER_NAME }}  --year 2019-$(date +\"%Y\")\n\n      - name: Mv svg files to examples\n        # only for me to show\n        if: github.repository_owner == 'yihong0618'\n        run: mv OUT_FOLDER/*.svg examples/\n\n      - name: Push new postger\n        run: |\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git add .\n          git commit -m 'update new poster' || echo \"nothing to commit\"\n          git push || echo \"nothing to push\"\n", "state": "active", "repository": "yihong0618/githubposter"}
{"mined_at": "2024-07-15T16:05:20.293176", "created_at": "2021-02-11T14:33:49+01:00", "updated_at": "2021-02-11T14:33:49+01:00", "name": "continuous-deployment", "path": ".github/workflows/cd.yml", "contents": "name: continuous-deployment\n\n# deploy on creating a release tag vX.Y.Z\n# will only be published to PyPi if the tests pass\n\non:\n  release:\n    types: [created]\n  workflow_dispatch:\n\njobs:\n\n  ci:\n    uses: ./.github/workflows/ci.yml\n\n  publish:\n    name: Publish to PyPi\n    needs: [ci]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4.6.0\n        with:\n          python-version: 3.9\n      - name: Install flit\n        run: |\n          pip install flit~=3.4\n\n      - name: Build and Publish to TestPyPi\n        if: github.event_name == 'workflow_dispatch'\n        run: |\n          flit publish\n        env:\n          FLIT_USERNAME: __token__\n          FLIT_PASSWORD: ${{ secrets.PYPI_KEY }}\n          FLIT_INDEX_URL: https://test.pypi.org/legacy/\n\n      - name: Build and Publish to PyPi\n        if: github.event_name == 'release'\n        run: |\n          flit publish\n        env:\n          FLIT_USERNAME: __token__\n          FLIT_PASSWORD: ${{ secrets.PYPI_KEY }}\n", "state": "active", "repository": "judftteam/masci-tools"}
{"mined_at": "2024-07-15T16:05:21.524759", "created_at": "2020-11-09T08:59:49+01:00", "updated_at": "2020-11-09T08:59:49+01:00", "name": "masci-tools", "path": ".github/workflows/ci.yml", "contents": "name: masci-tools\n\non: [push, pull_request, workflow_call]\n\njobs:\n\n  docs:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        include:\n          - name: docs\n            sphinx-options: '' \n            allow-failure: false\n          - name: docs-nitpicky\n            sphinx-options: '-nW'\n            allow-failure: true\n\n    name: ${{ matrix.name }}\n    continue-on-error: ${{ matrix.allow-failure }}\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4.6.0\n      with:\n        python-version: '3.10'\n\n    - name: Cache python dependencies\n      id: cache-pip\n      uses: actions/cache@v3.3.1\n      with:\n        path: ~/.cache/pip\n        key: pip-docs-${{ hashFiles('**/pyproject.toml') }}\n        restore-keys: |\n          pip-docs-\n\n    - name: Install python dependencies\n      run: |\n        pip install -e .[docs]\n\n    - name: Install Latex compiler\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y latexmk dvipng texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended\n\n    - name: Build documentation\n      env:\n        READTHEDOCS: 'True'\n        SPHINXOPTS: ${{ matrix.sphinx-options }}\n      run: |\n        make -C docs html\n\n  pre-commit:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    strategy:\n      matrix:\n        include:\n          - name: pre-commit-errors\n            skip-hooks: pylint-warnings\n            allow-failure: false\n          - name: pre-commit-warnings\n            skip-hooks: pylint-errors\n            allow-failure: true\n\n    name: ${{ matrix.name }}\n    continue-on-error: ${{ matrix.allow-failure }}\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Cache python dependencies\n      id: cache-pip\n      uses: actions/cache@v3.3.1\n      with:\n        path: ~/.cache/pip\n        key: pip-pre-commit-${{ hashFiles('**/pyproject.toml') }}\n        restore-keys: |\n          pip-pre-commit-\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4.6.0\n      with:\n        python-version: 3.8\n\n    - name: Install python dependencies\n      run: |\n        pip install .[pre-commit,bokeh-plots]\n        pip freeze\n\n    - name: Run pre-commit\n      run: |\n        SKIP=${{ matrix.skip-hooks }} pre-commit run --all-files || (git status --short; git diff ; exit 1)\n\n\n  tests:\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    strategy:\n      matrix:\n        python-version: ['3.11','3.10','3.9', '3.8']\n        experimental: [false]\n        extra-dependencies: ['testing,bokeh-plots,cmdline-extras']\n        pytest-cmdline: [\"\"]\n        bokeh-version: ['bokeh==3.0.3']\n        mpl-version: ['matplotlib==3.6.3']\n        add-name: ['']\n        include:\n          - python-version: '3.7'\n            experimental: false\n            extra-dependencies: 'testing,bokeh-plots'\n            pytest-cmdline: '-o addopts=\"--cov=masci_tools --cov=tests --cov-report xml\"'\n            bokeh-version: 'bokeh==2.4.3'\n            mpl-version: 'matplotlib==3.5.3'\n            add-name: ''\n          - python-version: '3.10'\n            experimental: true\n            extra-dependencies: 'testing,bokeh-plots,cmdline-extras'\n            bokeh-version: 'bokeh'\n            mpl-version: 'matplotlib'\n            add-name: '-latest-bokeh-mpl'\n\n      fail-fast: false\n    \n    name: tests-python-${{ matrix.python-version }}${{ matrix.add-name }}\n    continue-on-error: ${{ matrix.experimental }}\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Cache python dependencies\n      id: cache-pip\n      uses: actions/cache@v3.3.1\n      with:\n        path: ~/.cache/pip\n        key: pip-${{ matrix.python-version }}${{ matrix.add-name }}-tests-${{ hashFiles('**/pyproject.toml') }}\n        restore-keys: |\n          pip-${{ matrix.python-version }}${{ matrix.add-name }}-tests\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4.6.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Build dependecies (for experimental builds)\n      if: ${{ matrix.experimental }}\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libxml2-dev libxslt-dev libhdf5-serial-dev libopenblas-dev\n        pip install --upgrade pip setuptools wheel\n        pip install --upgrade cython\n        pip list\n\n    - name: Install python dependencies\n      run: |\n        pip install -e .[${{ matrix.extra-dependencies }}]\n        pip install pyhull\n        pip install ${{ matrix.bokeh-version }}\n        pip install ${{ matrix.mpl-version }}\n\n    - name: Run pytest\n      run: pytest ${{ matrix.pytest-cmdline }}\n\n    - name: Upload to Codecov\n      uses: codecov/codecov-action@v3\n\n    - uses: actions/upload-artifact@v3\n      if: failure()\n      with:\n        name: matplotlib-comparison-${{ matrix.python-version }}${{ matrix.add-name }}\n        path: mpl-results\n", "state": "active", "repository": "judftteam/masci-tools"}
{"mined_at": "2024-07-15T16:05:22.667666", "created_at": "2022-01-13T12:27:19+01:00", "updated_at": "2022-01-13T12:46:27+01:00", "name": "Fleur Release workflow", "path": ".github/workflows/fleur-release.yml", "contents": "name: Fleur Release workflow\non:\n  workflow_dispatch:  \n  repository_dispatch:\n    types: ['fleur-release']\n\njobs:\n\n  add-fleur-schema:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4.6.0\n      with:\n        python-version: 3.8\n\n    - name: Install python dependencies\n      run: |\n        pip install -e .[cmdline-extras,testing]\n    \n    - name: Add Fleur schemas\n      env:\n        IFFGIT_APIKEY: ${{ secrets.IFFGIT_APIKEY }}\n      run: |\n        masci-tools fleur-schema add FleurInputSchema.xsd --branch release --from-git\n        masci-tools fleur-schema add FleurOutputSchema.xsd --branch release --from-git\n        masci-tools fleur-schema list\n    \n    - name: Run tests (Generate schema test files)\n      id: test\n      run: pytest --force-regen #force-regen ensures that regression tests depending on the newest schema version (fallbacks) are regenerated\n      continue-on-error: true\n    \n    - name: Check test run (Should fail)\n      if: steps.test.outputs.status == 'success'\n      run: exit 1\n\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@v5.0.0\n      with:\n        commit-message: \"[fleur release] Fleur schema update\"\n        branch: fleur-release/schema\n        delete-branch: true\n        title: \"[fleur release] Fleur schema update\"\n        body: |\n          This is an automated PR created by the Fleur release workflow.\n\n          Checklist:\n          - [ ] Check the added Fleur file schemas are correct\n          - [ ] Check the ``inpxml_parser`` and ``outxml_parser`` are working correctly\n          - [ ] Add atleast one example file and tests for the new schema versions\n          - [ ] Ggf. Adapt ``masci_tools/io/parsers/fleur/default_parse_tasks.py`` \n          - [ ] add new file version to ``__working_out_versions__``\n        \n", "state": "active", "repository": "judftteam/masci-tools"}
{"mined_at": "2024-07-15T16:05:24.900535", "created_at": "2020-09-25T13:07:06+02:00", "updated_at": "2023-11-28T16:56:24+01:00", "name": "Simple CI", "path": ".github/workflows/ci.yml", "contents": null, "state": "active", "repository": "hiddensymmetries/simsopt"}
{"mined_at": "2024-07-15T16:05:25.973786", "created_at": "2021-06-30T04:45:24+02:00", "updated_at": "2021-07-02T20:32:35+02:00", "name": "Conda", "path": ".github/workflows/conda.yml", "contents": "name: Conda\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n      - mbk/conda_package\n  pull_request:\n  release:\n    types: [published]\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest,  macos-11]\n        python-version: [\"3.9\"]\n\n    runs-on: ${{ matrix.platform }}\n\n    # The setup-miniconda action needs this to activate miniconda\n    defaults:\n      run:\n        shell: \"bash -l {0}\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Fetch all history for setuptools_scm to work\n        run: git fetch --prune --unshallow\n\n      - name: Get conda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          channels: conda-forge\n          channel-priority: strict\n\n      - name: Prepare\n        run: conda install -y conda-build conda-verify setuptools_scm anaconda-client scikit-build-core\n\n      - name: Build and upload\n        if: github.event_name == 'release' && github.event.action == 'published'\n        run: |\n          conda config --set anaconda_upload yes\n          conda build --token ${{ secrets.ANACONDA_TOKEN }} conda.recipe\n\n      - name: Build and upload to test\n        if: github.event_name == 'push' && github.ref == 'refs/heads/mbk/conda_package'\n        run: |\n          conda config --set anaconda_upload yes\n          conda build --token ${{ secrets.MBK_ANACONDA_TOKEN }} conda.recipe\n\n      - name: Build \n        if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n        run: |\n          conda build --no-test conda.recipe\n\n      - name: Build on PR\n        if: github.event_name == 'pull_request'\n        run: |\n          conda build --no-test conda.recipe\n", "state": "active", "repository": "hiddensymmetries/simsopt"}
{"mined_at": "2024-07-15T16:05:27.082713", "created_at": "2021-05-17T00:35:39+02:00", "updated_at": "2021-07-30T17:21:13+02:00", "name": "docker container", "path": ".github/workflows/docker.yml", "contents": "name: docker container\n\non: \n  push:\n    branches: \n      - '**'\n    tags: \n      - v*\n  pull_request:\n    branches:\n      - master\n    tags:\n      - v*\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Fetch all history for all tags and branches\n        run: git fetch --prune --unshallow\n\n      - name: Setup docker Buildx\n        uses: docker/setup-buildx-action@v3\n        \n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: medbha\n          password: ${{ secrets.DOCKER_TOKEN }}\n\n      - name: Step to get tag name\n        id: vars\n        run: echo \"tag=${GITHUB_REF#refs/*/}\" >> $GITHUB_OUTPUT\n      \n      - name: Build and push\n        uses: docker/build-push-action@v3\n        if: ${{ startsWith(github.ref, 'refs/heads') && github.ref == 'refs/heads/master' }}\n        with:\n          context: ci\n          file: ci/Dockerfile.ubuntu\n          push: true\n          tags: hiddensymmetries/simsopt:latest\n\n      - name: Build  for branches\n        uses: docker/build-push-action@v3\n        if: ${{ startsWith(github.ref, 'refs/heads') && github.ref != 'refs/heads/master' }}\n        with:\n          context: ci\n          file: ci/Dockerfile.ubuntu\n          push: false\n          tags: hiddensymmetries/simsopt:test\n\n      - name: Build and push for tag\n        uses: docker/build-push-action@v3\n        if: startsWith(github.event.ref, 'refs/tags/v')\n        with:\n          context: ci\n          file: ci/Dockerfile.ubuntu\n          push: true\n          tags: \"hiddensymmetries/simsopt:${{steps.vars.outputs.tag}}\"\n", "state": "active", "repository": "hiddensymmetries/simsopt"}
{"mined_at": "2024-07-15T16:05:28.105558", "created_at": "2023-06-27T16:30:15+02:00", "updated_at": "2023-06-28T06:50:05+02:00", "name": "Docs_test", "path": ".github/workflows/docs_test.yml", "contents": "name: Docs_test\n\non: [push, pull_request]\n\njobs:\n  CI:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n\n    - name: Install sphinx and its dependencies for building docs\n      run: |\n        pip install -r docs/requirements.txt\n\n    - name: Install simsopt package\n      run: pip install -v .\n\n    - name: Build docs\n      run: |\n        cd docs\n        sphinx-build -b html source build\n", "state": "active", "repository": "hiddensymmetries/simsopt"}
{"mined_at": "2024-07-15T16:05:29.198918", "created_at": "2023-11-26T18:29:13+01:00", "updated_at": "2024-04-19T17:30:35+02:00", "name": "Extensive CI", "path": ".github/workflows/extensive_test.yml", "contents": "# This file is based on examples in\n# https://docs.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions\n\n# Note that all the \"sudo\" commands here appear to cause a warning message\n# \"sudo: setrlimit(RLIMIT_CORE): operation not permitted\"\n# This appears to be a known harmless annoyance:\n# https://gitlab.alpinelinux.org/alpine/aports/-/issues/11122\n\nname: Extensive CI\n\non:\n  push: \n    branches: [master]\n    tags: [v*]\n  pull_request:\n    branches: [master]\n  workflow_dispatch: \n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    env:\n      OMPI_ALLOW_RUN_AS_ROOT: 1\n      OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1\n\n    strategy:\n      fail-fast: false\n      matrix:\n        test-type: [unit, integrated]\n        packages: [all, vmec, spec, none]\n        python-version: [3.8, 3.9, \"3.10\"]\n        include:\n            - python-version: 3.9\n              test-type: unit\n              packages: none\n            - python-version: 3.9\n              test-type: integrated\n              packages: none\n\n    steps:\n    # First print out lots of information. We do this in separate \n    # \"name\" blocks because otherwise the output gets mixed together\n    # in the github actions log.\n    \n    - name: Print user and group id\n      run: |\n        set -ex\n        id\n\n    - name: PWD\n      run: |\n        set -ex\n        pwd\n\n    - name: ls -l\n      run: |\n        set -ex\n        ls -l\n\n    - name: apt-get stuff needed for libstell and vmec\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y build-essential gfortran openmpi-bin libopenmpi-dev libnetcdf-dev libnetcdff-dev liblapack-dev libscalapack-mpi-dev libhdf5-dev libhdf5-serial-dev git m4 libfftw3-dev libopenblas-dev libboost-all-dev\n    \n    - uses: actions/checkout@v4\n      # If we want submodules downloaded, uncomment the next 2 lines:\n      #with:\n      #  submodules: true\n\n    # We must run actions/checkout before downloading and building VMEC, since checkout deletes the contents of the directory.\n    - name: Download the VMEC2000 standalone repository\n      if: contains(matrix.packages, 'vmec') || contains(matrix.packages, 'all')\n      run: git clone https://github.com/hiddensymmetries/VMEC2000.git\n\n    - name: ls -l again\n      run: |\n        set -ex\n        ls -l\n        pwd\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: which python3 after python setup\n      run: which python3\n\n    - name: which pip after python setup\n      run: |\n        python -m pip install --upgrade pip\n        pip --version\n\n    - name: env after adding python\n      run: env\n\n    - name: Install python dependencies\n      run: |\n           sudo apt-get install graphviz graphviz-dev\n           pip install wheel numpy scipy f90nml h5py scikit-build cmake qsc sympy pyevtk matplotlib ninja plotly networkx pygraphviz ground bentley_ottmann\n\n    - name: Install booz_xform\n      if: contains(matrix.packages, 'vmec') || contains(matrix.packages, 'all')\n      run: pip install -v git+https://github.com/hiddenSymmetries/booz_xform\n\n    - name: Install virtual_casing\n      run: pip install -v git+https://github.com/hiddenSymmetries/virtual-casing\n\n    # See https://github.community/t/best-way-to-clone-a-private-repo-during-script-run-of-private-github-action/16116/7\n    # https://stackoverflow.com/questions/57612428/cloning-private-github-repository-within-organisation-in-actions\n    # https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token\n    - name: Check out SPEC\n      if: contains(matrix.packages, 'spec') || contains(matrix.packages, 'all')\n      uses: actions/checkout@v4\n      with:\n        repository: PrincetonUniversity/SPEC\n        path: SPEC\n\n    # For some reason, installing py_spec does not install the dependencies f90nml and h5py. Therefore I installed these manually above.\n    - name: Install py_spec\n      if: contains(matrix.packages, 'spec') || contains(matrix.packages, 'all')\n      run: |\n        pip install -r SPEC/Utilities/pythontools/requirements.txt\n        pip install -e SPEC/Utilities/pythontools\n        python -c \"import py_spec; print('success')\"\n\n    - name: Install f90wrap\n      run: pip install -U git+https://github.com/zhucaoxiang/f90wrap\n\n    - name: Build SPEC python wrapper.\n      if: contains(matrix.packages, 'spec') || contains(matrix.packages, 'all')\n      run: |\n         cd SPEC\n         pip install .\n\n    - name: Try import spec\n      if: contains(matrix.packages, 'spec') || contains(matrix.packages, 'all')\n      run: python -c \"import spec.spec_f90wrapped as spec; print(spec.constants.version)\"\n\n    - name: ls in /usr/lib/x86_64-linux-gnu\n      run: ls -l /usr/lib/x86_64-linux-gnu\n\n    - name: Add to LD_LIBRARY_PATH so scalapack etc can be found\n      run: echo \"LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu\" >> $GITHUB_ENV\n\n    - name: env after adding to LD_LIBRARY_PATH\n      run: env\n\n    - name: ls in VMEC2000/python 1\n      if: contains(matrix.packages, 'vmec') || contains(matrix.packages, 'all')\n      run: ls -l VMEC2000/python\n\n    - name: Configure VMEC2000 module\n      if: contains(matrix.packages, 'vmec') || contains(matrix.packages, 'all')\n      run: |\n        cd VMEC2000\n        cp cmake/machines/ubuntu.json cmake_config_file.json\n        cat cmake_config_file.json\n        pip install .\n\n    - name: Try importing vmec module\n      if: contains(matrix.packages, 'vmec') || contains(matrix.packages, 'all')\n      run: python -c \"print(dir()); import vmec; print(dir()); print(dir(vmec)); print('package:', vmec.__package__); print('spec:', vmec.__spec__); print('doc:', vmec.__doc__); print('file:', vmec.__file__); print('path:', vmec.__path__)\"\n\n    - name: Install simsopt package\n      if: contains(matrix.packages, 'spec') || contains(matrix.packages, 'all')\n      run: |\n        pip install -v .\n        pip install mpi4py py_spec pyoculus h5py\n\n    - name: Install simsopt package\n      if: contains(matrix.packages, 'none')\n      run: pip install -v .\n\n    - name: Install simsopt package\n      if: contains(matrix.packages, 'vmec')\n      run: |\n        pip install -v .\n        pip install mpi4py\n\n    - name: Run serial examples as part of integrated tests\n      if: contains(matrix.test-type, 'integrated') && (contains(matrix.packages, 'none') || contains(matrix.packages, 'all'))\n      run: |\n        cd examples\n        ./run_serial_examples\n\n    - name: Run simple parallel examples as part of integrated tests\n      if: contains(matrix.test-type, 'integrated') && contains(matrix.packages, 'all')\n      run: |\n        cd examples\n        ./run_parallel_examples\n\n    - name: Run spec examples as part of integrated tests\n      if: contains(matrix.test-type, 'integrated') && contains(matrix.packages, 'spec')\n      run: |\n        cd examples\n        ./run_spec_examples\n\n    - name: Run vmec examples as part of integrated tests\n      if: contains(matrix.test-type, 'integrated') && contains(matrix.packages, 'vmec')\n      run: |\n        cd examples\n        ./run_vmec_examples\n\n    - name: Run vmec and spec examples as part of integrated tests\n      if: contains(matrix.test-type, 'integrated') && contains(matrix.packages, 'all')\n      run: |\n        cd examples\n        ./run_spec_vmec_examples\n\n    - name: Install coverage dependencies\n      if: contains(matrix.test-type, 'unit')\n      run: pip install coverage \n\n    - name: Run expensive tests on 1 MPI process using coverage\n      if: contains(matrix.test-type, 'unit') && (contains(matrix.packages, 'none') || contains(matrix.packages, 'all'))\n      run: |\n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/geo\n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/field\n\n    - name: Run remaining tests on 1 MPI process using coverage\n      if: contains(matrix.test-type, 'unit')\n      run: | \n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/core\n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/mhd\n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/objectives\n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/solve\n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/util\n\n    - name: Run MPI tests using coverage\n      if: contains(matrix.test-type, 'unit') && (contains(matrix.packages, 'all') || contains(matrix.packages, 'vmec') || contains(matrix.packages, 'spec'))\n      run: |\n        mpiexec -n 1 coverage run -m unittest discover -k \"mpi\" -s tests -v\n        mpiexec -n 2 coverage run -m unittest discover -k \"mpi\" -s tests -v\n        mpiexec -n 3 --oversubscribe coverage run -m unittest discover -k \"mpi\" -s tests -v\n\n    - name: Upload uncombined coverage to github\n      if: contains(matrix.test-type, 'unit')\n      uses: actions/upload-artifact@v3\n      with:\n        name: gh-actions-parallel-coverage\n        path: .coverage.*\n        if-no-files-found: error\n\n  coverage:\n    runs-on: ubuntu-latest\n    needs: [ test ]\n    steps:\n\n    - name: Set up Python \n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n\n    - name: Install coverage\n      run: pip install coverage\n\n    - name: Checkout simsopt \n      uses: actions/checkout@v4\n\n    - name: Install simsopt before running coverage\n      run: pip install .\n\n    - name: Download artifact\n      uses: actions/download-artifact@v3\n      with:\n        name: gh-actions-parallel-coverage\n        path: ./\n\n    - name: Display coverage files before combine \n      run: ls -a\n\n    - name: Combine coverage reports\n      run: | \n        coverage combine\n        coverage report\n        coverage xml\n\n    - name: Upload coverage to github\n      uses: actions/upload-artifact@v3\n      with:\n        name: tox-gh-actions-coverage\n        path: coverage.xml\n        if-no-files-found: error\n\n    - name: Upload coverage to Codecov\n      # The next line prevents github from trying to upload to Codecov on forks of the repository, avoiding a permissions error\n      if: github.repository_owner == 'hiddenSymmetries'\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n        flags: unittests\n        env_vars: PYTHON\n        name: codecov-umbrella\n        fail_ci_if_error: true\n        verbose: true\n", "state": "active", "repository": "hiddensymmetries/simsopt"}
{"mined_at": "2024-07-15T16:05:30.430348", "created_at": "2021-04-29T19:47:10+02:00", "updated_at": "2021-05-03T00:46:58+02:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\n\non: [push, pull_request]\n\njobs:\n  CI:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Run ruff\n      uses: chartboost/ruff-action@v1\n\n", "state": "active", "repository": "hiddensymmetries/simsopt"}
{"mined_at": "2024-07-15T16:05:31.663399", "created_at": "2023-04-25T00:18:52+02:00", "updated_at": "2023-05-09T14:31:56+02:00", "name": "Tests with no XSIMD", "path": ".github/workflows/non_simd_tests.yml", "contents": "# This file is based on examples in\n# https://docs.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions\n\n# Note that all the \"sudo\" commands here appear to cause a warning message\n# \"sudo: setrlimit(RLIMIT_CORE): operation not permitted\"\n# This appears to be a known harmless annoyance:\n# https://gitlab.alpinelinux.org/alpine/aports/-/issues/11122\n\nname: Tests with no XSIMD\n\non: \n  push:\n    branches-ignore: [master]\n    tags-ignore: [v*]\n  pull_request:\n    branches-ignore: [master]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    env:\n      OMPI_ALLOW_RUN_AS_ROOT: 1\n      OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1\n      NO_XSIMD: 1\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    # First print out lots of information. We do this in separate \n    # \"name\" blocks because otherwise the output gets mixed together\n    # in the github actions log.\n    \n    - name: Print user and group id\n      run: |\n        set -ex\n        id\n\n    - name: PWD\n      run: |\n        set -ex\n        pwd\n\n    - name: ls -l\n      run: |\n        set -ex\n        ls -l\n\n    - name: apt-get stuff needed for libstell and vmec\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y build-essential gfortran openmpi-bin libopenmpi-dev libnetcdf-dev libnetcdff-dev liblapack-dev libscalapack-mpi-dev libhdf5-dev libhdf5-serial-dev git m4 libfftw3-dev libboost-all-dev libopenblas-dev\n\n    - uses: actions/checkout@v4\n\n    - name: Fetch all history for all tags\n      run: git fetch --all --tags --prune --unshallow\n\n    - name: ls -l again\n      run: |\n        set -ex\n        ls -l\n        pwd\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: which python3 after python setup\n      run: which python3\n\n    - name: which pip after python setup\n      run: |\n        python -m pip install --upgrade pip\n        pip --version\n\n    - name: env after adding python\n      run: env\n\n    - name: Install python dependencies\n      run: |\n        sudo apt-get install graphviz graphviz-dev\n        pip install wheel numpy scipy f90nml h5py scikit-build cmake qsc sympy pyevtk matplotlib ninja plotly networkx pygraphviz ground bentley_ottmann\n\n    - name: Install booz_xform\n      run: pip install -v git+https://github.com/hiddenSymmetries/booz_xform\n\n    - name: Install virtual_casing\n      run: pip install -v git+https://github.com/hiddenSymmetries/virtual-casing\n\n    - name: ls in /usr/lib/x86_64-linux-gnu\n      run: ls -l /usr/lib/x86_64-linux-gnu\n\n    - name: Add to LD_LIBRARY_PATH so scalapack etc can be found\n      run: echo \"LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu\" >> $GITHUB_ENV\n\n    - name: env after adding to LD_LIBRARY_PATH\n      run: env\n\n    - name: Install simsopt package\n      run: env CMAKE_BUILD_TYPE=Debug pip install -v .[MPI]\n\n    - name: Verify that importing simsopt does not automatically initialize MPI\n      run: ./tests/verify_MPI_not_initialized.py\n\n    - name: Run examples as part of integrated tests\n      run: |\n        cd examples\n        ./run_serial_examples\n        ./run_parallel_examples\n\n    - name: Run tests on 1 process \n      run: | \n        python -m unittest discover -t tests -v -s tests/field\n        python -m unittest discover -t tests -v -s tests/geo\n        python -m unittest discover -t tests -v -s tests/objectives\n\n    - name: Run MPI tests \n      run: | \n        mpiexec -n 2 python -m unittest discover -k \"mpi\" -s tests -v\n\n", "state": "active", "repository": "hiddensymmetries/simsopt"}
{"mined_at": "2024-07-15T16:05:32.787698", "created_at": "2022-01-28T09:51:08+01:00", "updated_at": "2022-02-08T17:58:21+01:00", "name": "Singularity Build", "path": ".github/workflows/singularity.yml", "contents": "name: Singularity Build\non: \n  push:\n\n    # This recipe shows how to manually define a matrix of singularity recipes (paths) to build\n    # Edit the branches here if you want to change deploy behavior\n    branches:\n      - master\n      - mbk/singularity\n    tags: \n      - v*\n\n  # Do the builds on all pull requests (to test them)\n  pull_request: []\n  workflow_dispatch:\n\njobs:\n  build-containers:\n    runs-on: ubuntu-latest\n    # container:\n    #   image: quay.io/singularity/singularity:v3.9.3\n    #   options: --security-opt seccomp=unconfined --security-opt systempaths=unconfined\n    strategy:\n      fail-fast: true\n\n    name: Check ${{ matrix.recipe }}\n    steps:\n\n      - name: Check out code for the container build\n        uses: actions/checkout@v4\n      - uses: eWaterCycle/setup-singularity@v7\n        with:\n          singularity-version: 3.8.3\n\n      - name: Fetch all history for all tags and branches\n        run: git fetch --prune --unshallow\n\n      - name: Step to get tag name\n        if: startsWith(github.event.ref, 'refs/tags/v')\n        run: echo \"tag=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV\n\n\n      - name: Step to get tag name\n        if: ${{ startsWith(github.ref, 'refs/heads') && github.ref == 'refs/heads/master' }}\n        #id: vars\n        #run: echo ::set-output name=tag::\"latest\"\n        run: echo \"tag=latest\" >> $GITHUB_ENV\n      \n      - name: Step to get tag name\n        if: ${{ startsWith(github.ref, 'refs/heads') && github.ref != 'refs/heads/master' }}\n        #id: vars\n        #run: echo ::set-output name=tag::\"test\"\n        run: echo \"tag=test\" >> $GITHUB_ENV\n      \n      - name: Build Container\n        run: |\n          ls ${SINGULARITY_ROOT}\n          sudo -E ${SINGULARITY_ROOT}/bin/singularity build simsopt.sif ci/singularity.def\n\n      - name: Login and Deploy Container\n        if: (github.event_name != 'pull_request')\n        run: |         \n          echo ${{ secrets.GITHUB_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io\n          singularity push simsopt.sif oras://ghcr.io/${GITHUB_REPOSITORY}:${tag}\n", "state": "active", "repository": "hiddensymmetries/simsopt"}
{"mined_at": "2024-07-15T16:05:34.219042", "created_at": "2020-10-22T19:32:13+02:00", "updated_at": "2021-06-01T14:33:50+02:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "hiddensymmetries/simsopt"}
{"mined_at": "2024-07-15T16:05:35.328612", "created_at": "2023-11-26T18:29:10+01:00", "updated_at": "2024-05-20T14:39:31+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "# This file is based on examples in\n# https://docs.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions\n\n# Note that all the \"sudo\" commands here appear to cause a warning message\n# \"sudo: setrlimit(RLIMIT_CORE): operation not permitted\"\n# This appears to be a known harmless annoyance:\n# https://gitlab.alpinelinux.org/alpine/aports/-/issues/11122\n\nname: Tests\n\non: \n  push:\n    branches-ignore: [master]\n    tags-ignore: [v*]\n  pull_request:\n    branches-ignore: [master]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    env:\n      OMPI_ALLOW_RUN_AS_ROOT: 1\n      OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        test-type: [unit, integrated]\n\n    steps:\n    # First print out lots of information. We do this in separate \n    # \"name\" blocks because otherwise the output gets mixed together\n    # in the github actions log.\n    \n    - name: Print user and group id\n      run: |\n        set -ex\n        id\n\n    - name: PWD\n      run: |\n        set -ex\n        pwd\n\n    - name: ls -l\n      run: |\n        set -ex\n        ls -l\n\n    - name: Print python location\n      run: |\n        set -ex\n        which python\n\n    - name: apt-get stuff needed for libstell and vmec\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y build-essential gfortran openmpi-bin libopenmpi-dev libnetcdf-dev libnetcdff-dev liblapack-dev libscalapack-mpi-dev libhdf5-dev libhdf5-serial-dev git m4 libfftw3-dev libboost-all-dev libopenblas-dev\n\n    - uses: actions/checkout@v4\n\n    - name: Fetch all history for all tags\n      run: git fetch --all --tags --prune --unshallow\n\n    # We must run actions/checkout before downloading and building VMEC, since checkout deletes the contents of the directory.\n    - name: Download the VMEC2000 standalone repository\n      run: git clone --depth=1 https://github.com/hiddensymmetries/VMEC2000.git\n\n    - name: ls -l again\n      run: |\n        set -ex\n        ls -l\n        pwd\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: which python3 after python setup\n      run: which python3\n\n    - name: which pip after python setup\n      run: |\n        python -m pip install --upgrade pip\n        pip --version\n\n    - name: env after adding python\n      run: env\n\n    - name: Install python dependencies\n      run: |\n        sudo apt-get install graphviz graphviz-dev\n        pip install numpy cmake scikit-build f90nml ninja wheel setuptools sympy qsc pyevtk matplotlib plotly networkx pygraphviz mpi4py py_spec pyoculus h5py ground bentley_ottmann\n\n    - name: Install booz_xform\n      run: pip install -v git+https://github.com/hiddenSymmetries/booz_xform\n\n    - name: Install virtual_casing\n      run: pip install -v git+https://github.com/hiddenSymmetries/virtual-casing\n\n    # See https://github.community/t/best-way-to-clone-a-private-repo-during-script-run-of-private-github-action/16116/7\n    # https://stackoverflow.com/questions/57612428/cloning-private-github-repository-within-organisation-in-actions\n    # https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token\n    - name: Check out SPEC\n      uses: actions/checkout@v4\n      with:\n        repository: PrincetonUniversity/SPEC\n        path: SPEC\n     \n    - name: ls -l again\n      run: |\n        ls -l\n        pwd\n\n    - name: ls -l inside SPEC\n      run: |\n        cd SPEC\n        pwd\n        ls -l\n\n    # For some reason, installing py_spec does not install the dependencies f90nml and h5py. Therefore I installed these manually above.\n    - name: Install py_spec\n      run: |\n        pip install -r SPEC/Utilities/pythontools/requirements.txt\n        pip install -e SPEC/Utilities/pythontools\n        python -c \"import py_spec; print('success')\"\n\n    - name: Install f90wrap\n      run: pip install -U git+https://github.com/zhucaoxiang/f90wrap\n\n    - name: Build SPEC python wrapper.\n      run: |\n        cd SPEC\n        pip install .\n\n    - name: Try import spec\n      run: python -c \"import spec.spec_f90wrapped as spec; print(spec.constants.version)\"\n\n    - name: ls in /usr/lib/x86_64-linux-gnu\n      run: ls -l /usr/lib/x86_64-linux-gnu\n\n    - name: Add to LD_LIBRARY_PATH so scalapack etc can be found\n      run: echo \"LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu\" >> $GITHUB_ENV\n\n    - name: env after adding to LD_LIBRARY_PATH\n      run: env\n\n    - name: ls in VMEC2000/python 1\n      run: ls -l VMEC2000/python\n\n    - name: Configure and install VMEC2000 module\n      run: |\n        cd VMEC2000\n        cp cmake/machines/ubuntu.json cmake_config_file.json\n        cat cmake_config_file.json\n        pip install .\n\n    - name: Try importing vmec module\n      run: python -c \"print(dir()); import vmec; print(dir()); print(dir(vmec)); print('package:', vmec.__package__); print('spec:', vmec.__spec__); print('doc:', vmec.__doc__); print('file:', vmec.__file__); print('path:', vmec.__path__)\"\n\n    - name: Install simsopt package\n      # run: env CMAKE_BUILD_TYPE=Debug pip install -v .[MPI,SPEC]\n      run: pip install -v \".[MPI,SPEC,VIS]\"\n\n    - name: Verify that importing simsopt does not automatically initialize MPI\n      run: ./tests/verify_MPI_not_initialized.py\n\n    - name: Run examples as part of integrated tests\n      if: contains(matrix.test-type, 'integrated')\n      run: |\n        cd examples\n        ./run_serial_examples\n        ./run_parallel_examples\n        ./run_vmec_examples\n        ./run_spec_examples\n        ./run_spec_vmec_examples\n\n    - name: Install coverage dependencies\n      if: contains(matrix.test-type, 'unit')\n      run: pip install coverage\n\n    - name: Run tests on 1 process using coverage\n      if: contains(matrix.test-type, 'unit')\n      run: | \n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/core\n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/field\n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/geo\n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/mhd\n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/objectives\n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/solve\n        coverage run --source=simsopt -m unittest discover -t tests -v -s tests/util\n\n    - name: Run MPI tests using coverage\n      if: contains(matrix.test-type, 'unit')\n      run: | \n        mpiexec -n 1 coverage run -m unittest discover -k \"mpi\" -s tests -v\n        mpiexec -n 2 coverage run -m unittest discover -k \"mpi\" -s tests -v\n        mpiexec -n 3 --oversubscribe coverage run -m unittest discover -k \"mpi\" -s tests -v\n\n    - name: Combine coverage reports\n      if: contains(matrix.test-type, 'unit')\n      run: | \n        coverage combine\n        coverage report\n        coverage xml\n\n    - name: Upload coverage to github\n      if: contains(matrix.test-type, 'unit')\n      uses: actions/upload-artifact@v3\n      with:\n        name: tox-gh-actions-coverage\n        path: coverage.xml\n        if-no-files-found: error\n\n    - name: Upload coverage to Codecov\n      # The last conditional on the next line prevents github from trying to upload to Codecov on forks of the repository, avoiding a permissions error\n      if: contains(matrix.test-type, 'unit') && github.repository_owner == 'hiddenSymmetries'\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n        #files: ./coverage1.xml,./coverage2.xml\n        #directory: ./coverage/reports/\n        flags: unittests\n        env_vars: PYTHON\n        name: codecov-umbrella\n        fail_ci_if_error: true\n        #path_to_write_report: ./coverage/codecov_report.gz\n        verbose: true\n", "state": "active", "repository": "hiddensymmetries/simsopt"}
{"mined_at": "2024-07-15T16:05:36.574347", "created_at": "2021-03-06T23:08:58+01:00", "updated_at": "2023-05-09T21:22:49+02:00", "name": "Wheel Builder", "path": ".github/workflows/wheel.yml", "contents": "name: Wheel Builder\n\non: [push, pull_request]\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-11, ubuntu-20.04]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Fetch all history for all tags\n        run: git fetch --prune --unshallow\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.11.4\n        # To supply options, put them in 'env'\n        env:\n          # Only build for python 3.{8,9,10,11}\n          CIBW_BUILD : cp38-* cp39-* cp310-* cp311-*\n          # Supports only x86_64 arch for linux\n          CIBW_ARCHS_LINUX: x86_64\n          CIBW_ARCHS_MACOS: \"x86_64 arm64\"\n          CIBW_SKIP: cp27-* cp36-* cp37-*\n          CIBW_DEPENDENCY_VERSIONS: latest\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Fetch all history for all tags\n        run: git fetch --prune --unshallow\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.9'\n\n      - name: Download all submodules\n        run: git submodule update --init\n        \n      - name: Install setuptools_scm\n        run: python -m pip install setuptools_scm build\n\n      - name: Build sdist\n        run: python -m build -s -o dist .\n        \n      - uses: actions/upload-artifact@v3\n        with:\n          path: dist/*.tar.gz\n\n  upload_pypi:\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    # upload to PyPI on every tag starting with 'v'\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')\n    # alternatively, to publish when a GitHub Release is created, use the following rule:\n    # if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n          #password: ${{ secrets.TEST_PYPI_TOKEN }}\n          #repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "hiddensymmetries/simsopt"}
{"mined_at": "2024-07-15T16:05:38.814781", "created_at": "2020-11-03T06:57:58+01:00", "updated_at": "2024-04-01T18:46:35+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 16 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        queries: +security-and-quality\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "wright-group/wrighttools"}
{"mined_at": "2024-07-15T16:05:39.841912", "created_at": "2020-11-03T16:28:58+01:00", "updated_at": "2020-11-03T16:28:58+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using flit when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel twine setuptools\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "wright-group/wrighttools"}
{"mined_at": "2024-07-15T16:05:41.080250", "created_at": "2020-11-03T05:09:57+01:00", "updated_at": "2020-11-03T05:09:57+01:00", "name": "test python", "path": ".github/workflows/python-test.yml", "contents": "name: test python\n\non:\n  pull_request:\n    types: [opened, reopened]\n  push:\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [3.8, 3.9, '3.10', 3.11]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel setuptools\n        python -m pip install --upgrade .[dev]\n    - name: Test with pytest\n      run: |\n        pytest --color=yes\n\n", "state": "active", "repository": "wright-group/wrighttools"}
{"mined_at": "2024-07-15T16:05:43.230462", "created_at": "2020-12-15T05:05:03+01:00", "updated_at": "2021-03-20T07:21:11+01:00", "name": "Build", "path": ".github/workflows/python-package-conda.yml", "contents": "name: Build\n\non: [push,pull_request]\n\njobs:\n  build-linux:\n    runs-on: ubuntu-latest\n#    container:\n#      image: mambaorg/micromamba:latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Setup environment with micromamba\n      uses: mamba-org/provision-with-micromamba@v10\n\n    - name: Check micromamba install\n      shell: bash -l {0}\n      run: |\n        micromamba --version\n        micromamba env list\n\n#    - name: Install dependencies\n#      run: mamba env update -f environment.yml\n\n    - name: Lint with flake8\n      shell: bash -l {0}\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --builtins=\"snakemake\" --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Install DROP\n      shell: bash -l {0}\n      run: pip install -e .\n\n    - name: Test with pytest\n      shell: bash -l {0}\n      env:\n        GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        micromamba install pytest\n        pip install -r tests/requirements.txt\n        pytest\n", "state": "active", "repository": "gagneurlab/drop"}
{"mined_at": "2024-07-15T16:05:45.585923", "created_at": "2022-09-14T11:12:49+02:00", "updated_at": "2022-09-18T02:13:53+02:00", "name": "Basic Test", "path": ".github/workflows/basic_test.yml", "contents": "name: Basic Test\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  test:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\"]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install -r requirements_nn.txt\n      - name: Run basic test\n        run: |\n          tests/basic.sh\n", "state": "active", "repository": "asus-aics/libmultilabel"}
{"mined_at": "2024-07-15T16:05:46.711932", "created_at": "2021-12-10T01:23:37+01:00", "updated_at": "2021-12-10T01:23:37+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}", "state": "active", "repository": "asus-aics/libmultilabel"}
{"mined_at": "2024-07-15T16:05:48.879673", "created_at": "2021-03-24T20:29:20+01:00", "updated_at": "2021-04-15T06:45:02+02:00", "name": "Create JIRA issue", "path": ".github/workflows/issue_to_jira.yml", "contents": "# This workflow will create a JIRA issue upon creation of a GitHub issue\n\nname: Create JIRA issue\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  new_jira_issue:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: JIRA Login\n      uses: atlassian/gajira-login@v3.0.1\n      env:\n        JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n        JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n        JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n    - name: Jira Create issue\n      id: create_jira_issue\n      uses: atlassian/gajira-create@v3.0.1\n      with:\n        project: GEOPY\n        issuetype: Story\n        summary: ${{ github.event.issue.title }}\n        description: \"_from [GitHub issue #${{ github.event.issue.number }}|${{ github.event.issue.html_url }}]_\"\n        # Additional fields in JSON format\n        fields: '{\"components\": [{\"name\": \"geoapps\"}]}'\n    - name: Post JIRA link\n      uses: peter-evans/create-or-update-comment@v3\n      with:\n        # The number of the issue or pull request in which to create a comment.\n        issue-number: ${{ github.event.issue.number }}\n        # The comment body.\n        body: \"JIRA issue [${{ steps.create_jira_issue.outputs.issue }}] was created.\"\n", "state": "active", "repository": "mirageoscience/geoapps"}
{"mined_at": "2024-07-15T16:05:50.091568", "created_at": "2021-04-16T06:26:29+02:00", "updated_at": "2021-04-16T06:26:29+02:00", "name": "Add JIRA issue summary", "path": ".github/workflows/pr_add_jira_summary.yml", "contents": "# This workflow will comment the PR with the JIRA issue summary\n# if a JIRA issue number is detected in the branch name or title\n\nname: Add JIRA issue summary\n\non:\n  pull_request_target:\n    types: [opened]\n\njobs:\n  add_jira_summary:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Find JIRA issue key\n      id: find_jira_key\n      env:\n        HEAD_REF: ${{ github.head_ref}}\n        PR_TITLE: ${{ github.event.pull_request.title }}\n      run: >\n        echo $HEAD_REF $PR_TITLE\n        | echo \"issue_key=$(grep -os \"\\b\\(GA\\|GEOPY\\)-[0-9]\\+\" | head -n1)\" >> $GITHUB_OUTPUT\n    - name: Get JIRA summary\n      id: get_jira_summary\n      if: ${{ steps.find_jira_key.outputs.issue_key }}\n      env:\n        JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n        JIRA_BASIC_AUTH: ${{ secrets.JIRA_BASIC_AUTH }}\n      run: >\n        curl -sS -X GET\n        -H \"Authorization: Basic $JIRA_BASIC_AUTH\"\n        -H \"Content-Type: application/json\"\n        \"$JIRA_BASE_URL/rest/api/2/issue/${{ steps.find_jira_key.outputs.issue_key }}\"\n        | echo \"summary=$(jq -r '.fields.summary')\" >> $GITHUB_OUTPUT\n    - name: Add comment\n      if: ${{ steps.find_jira_key.outputs.issue_key }}\n      env:\n        ISSUE_SUMMARY: ${{ steps.get_jira_summary.outputs.summary }}\n        PR_BODY: ${{ github.event.pull_request.body }}\n      run: >\n        jq\n        --arg ISSUE_ID \"${{ steps.find_jira_key.outputs.issue_key }}\"\n        --arg ISSUE_SUMMARY \"$(cat <<< $ISSUE_SUMMARY)\"\n        --arg PR_BODY \"$(cat <<< $PR_BODY)\"\n        -c '.\"body\"=\"**\" + $ISSUE_ID + \" - \" + $ISSUE_SUMMARY + \"**\\n\" + $PR_BODY' <<< {}\n        | curl -sS -X POST -d @-\n        -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\"\n        -H \"Content-Type: application/json\"\n        \"$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/pulls/${{ github.event.pull_request.number }}\"\n        > /dev/null\n", "state": "active", "repository": "mirageoscience/geoapps"}
{"mined_at": "2024-07-15T16:05:51.320340", "created_at": "2021-03-02T21:07:06+01:00", "updated_at": "2021-06-28T18:39:32+02:00", "name": "pytest on Unix OS", "path": ".github/workflows/pytest-unix-os.yaml", "contents": "name: pytest on Unix OS\n\non:\n  pull_request:\n    branches:\n      - develop\n      - main\n      - release/**\n      - feature/**\n      - hotfix/**\n  push:\n    branches:\n      - develop\n      - main\n      - release/**\n      - feature/**\n      - hotfix/**\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  source_dir: geoapps\n\njobs:\n  pytest:\n    name: pytest (Unix)\n    strategy:\n      fail-fast: false\n      matrix:\n        python_ver: ['3.9', '3.10']\n        os: [ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      PYTHONUTF8: 1\n      CONDA_LOCK_ENV_FILE: environments/conda-py-${{ matrix.python_ver }}-${{ startsWith(matrix.os, 'macos') && 'osx' || 'linux' }}-64-dev.lock.yml\n      PIP_EXTRA_INDEX_URL: https://test.pypi.org/simple/\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          lfs: true\n      - name: Setup conda env\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{ env.CONDA_LOCK_ENV_FILE }}\n          environment-name: test_env\n          cache-downloads: true\n      - name: pytest\n        run: |\n          pytest --cov=${source_dir} --cov-report=xml --cov-branch\n", "state": "active", "repository": "mirageoscience/geoapps"}
{"mined_at": "2024-07-15T16:05:52.440620", "created_at": "2024-04-21T23:22:18+02:00", "updated_at": "2024-04-21T23:22:18+02:00", "name": "pytest on Unix OS", "path": ".github/workflows/pytest-unix-os.yml", "contents": null, "state": "active", "repository": "mirageoscience/geoapps"}
{"mined_at": "2024-07-15T16:05:53.675663", "created_at": "2021-02-23T06:24:35+01:00", "updated_at": "2023-08-14T20:14:08+02:00", "name": "pytest on Windows", "path": ".github/workflows/pytest-windows.yaml", "contents": "name: pytest on Windows\n\non:\n  pull_request:\n    branches:\n      - develop\n      - main\n      - release/**\n      - feature/**\n      - hotfix/**\n  push:\n    branches:\n      - develop\n      - main\n      - release/**\n      - feature/**\n      - hotfix/**\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  source_dir: geoapps\n\njobs:\n  pytest:\n    name: pytest (Windows)\n    strategy:\n      fail-fast: false\n      matrix:\n        python_ver: ['3.9', '3.10']\n    defaults:\n      run:\n        shell: powershell\n    runs-on: windows-latest\n    env:\n      PYTHONUTF8: 1\n      CONDA_LOCK_ENV_FILE: environments/conda-py-${{ matrix.python_ver }}-win-64-dev.lock.yml\n      PIP_EXTRA_INDEX_URL: https://test.pypi.org/simple/\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          lfs: true\n      - name: Setup conda env\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{ env.CONDA_LOCK_ENV_FILE }}\n          environment-name: test_env\n          init-shell: powershell\n          cache-downloads: true\n      - name: pytest\n        run: |\n          pytest --cov=${source_dir} --cov-report=xml --cov-branch\n      - name: Codecov\n        if: ${{ success() && matrix.python_ver == '3.9' }}\n        uses: codecov/codecov-action@v3\n        with:\n          name: GitHub\n", "state": "active", "repository": "mirageoscience/geoapps"}
{"mined_at": "2024-07-15T16:05:54.783668", "created_at": "2024-04-21T23:22:18+02:00", "updated_at": "2024-04-21T23:22:18+02:00", "name": "pytest on Windows", "path": ".github/workflows/pytest-windows.yml", "contents": null, "state": "active", "repository": "mirageoscience/geoapps"}
{"mined_at": "2024-07-15T16:05:55.841805", "created_at": "2021-02-23T06:24:35+01:00", "updated_at": "2021-02-23T06:24:35+01:00", "name": "static analysis", "path": ".github/workflows/static-analysis.yml", "contents": "name: static analysis\n\non:\n  pull_request:\n    branches:\n      - develop\n      - main\n      - release/**\n      - feature/**\n      - hotfix/**\n  push:\n    branches:\n      - develop\n      - main\n      - release/**\n      - feature/**\n      - hotfix/**\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  source_dir: geoapps\n\njobs:\n  pylint:\n    name: pylint\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      PYTHONUTF8: 1\n      CONDA_LOCK_ENV_FILE: environments/conda-py-3.9-linux-64-dev.lock.yml\n      PIP_EXTRA_INDEX_URL: https://test.pypi.org/simple/\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup conda env\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ${{ env.CONDA_LOCK_ENV_FILE }}\n          environment-name: linter_env\n          cache-downloads: true\n      - name: capture modified files\n        if: github.event_name == 'pull_request'\n        run: >-\n          git fetch --deepen=500 origin ${{github.base_ref}}\n          && echo \"FILES_PARAM=$(\n          git diff --diff-filter=AM --name-only refs/remotes/origin/${{github.base_ref}}... -- | grep -E \"^(${source_dir}|tests)/.*\\.py$\" | xargs\n          )\" >> $GITHUB_ENV\n      - name: Run pylint on modified files\n        if: github.event_name == 'pull_request' && env.FILES_PARAM\n        run: pylint $FILES_PARAM\n      - name: Run pylint on all files\n        if: github.event_name == 'push'\n        run: pylint $source_dir tests\n", "state": "active", "repository": "mirageoscience/geoapps"}
{"mined_at": "2024-07-15T16:05:56.880674", "created_at": "2023-01-19T23:55:45+01:00", "updated_at": "2023-01-19T23:55:45+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mirageoscience/geoapps"}
{"mined_at": "2024-07-15T16:05:59.205967", "created_at": "2024-03-18T20:37:12+01:00", "updated_at": "2024-05-08T21:08:36+02:00", "name": "AI Code Reviewer", "path": ".github/workflows/main.yml", "contents": "name: AI Code Reviewer\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\npermissions: write-all\njobs:\n  review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v3\n\n      - name: AI Code Reviewer\n        uses: simplitech/ai-codereviewer@main\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          OPENAI_API_MODEL: \"gpt-4\" # Optional: defaults to \"gpt-4\"\n          exclude: \"**/*.json, **/*.md\" # Optional: exclude patterns separated by commas\n", "state": "active", "repository": "cityofzion/neo3-boa"}
{"mined_at": "2024-07-15T16:06:02.502373", "created_at": "2021-09-26T15:29:07+02:00", "updated_at": "2021-09-29T18:33:19+02:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": "name: Lint\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n        with:\n          options: \"--check --diff\"\n          src: \"./src\"\n          version: \"~= 24.0\"", "state": "active", "repository": "qutip/qutip-qip"}
{"mined_at": "2024-07-15T16:06:03.710922", "created_at": "2021-05-24T12:40:42+02:00", "updated_at": "2021-05-24T12:40:42+02:00", "name": "Build wheels, optionally deploy to PyPI", "path": ".github/workflows/build.yml", "contents": "name: Build wheels, optionally deploy to PyPI\n\non:\n  workflow_dispatch:\n    inputs:\n      confirm_ref:\n        description: \"Confirm chosen branch name to deploy to PyPI (optional):\"\n        default: \"\"\n      override_version:\n        description: \"Override version number (optional):\"\n        default: \"\"\n\n\njobs:\n  # The deploy_test job is part of the test of whether we should deploy to PyPI.\n  # The job will succeed if either the confirmation reference is empty or if the\n  # confirmation is the selected branch or tag name.  It will fail if it is\n  # nonempty and does not match.  All later jobs depend on this job, so that\n  # they will be immediately cancelled if the confirmation is bad.  The\n  # dependency is currently necessary (2021-03) because GitHub Actions does not\n  # have a simpler method of cancelling an entire workflow---the normal use-case\n  # expects to try and run as much as possible despite one or two failures.\n  deploy_test:\n    name: Verify PyPI deployment confirmation\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_REF: ${{ github.ref }}\n      CONFIRM_REF: ${{ github.event.inputs.confirm_ref }}\n    steps:\n      - name: Compare confirmation to current reference\n        shell: bash\n        run: |\n          [[ -z $CONFIRM_REF || $GITHUB_REF =~ ^refs/(heads|tags)/$CONFIRM_REF$ ]]\n          if [[ -z $CONFIRM_REF ]]; then\n            echo \"Build only.  Nothing will be uploaded to PyPI.\"\n          else\n            echo \"Full build and deploy.  Wheels and source will be uploaded to PyPI.\"\n          fi\n\n\n  build_sdist:\n    name: Build sdist on Ubuntu\n    needs: deploy_test\n    runs-on: ubuntu-latest\n    env:\n      OVERRIDE_VERSION: ${{ github.event.inputs.override_version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          # For the sdist we should be as conservative as possible with our\n          # Python version.  This should be the lowest supported version.  This\n          # means that no unsupported syntax can sneak through.\n          python-version: '3.11'\n\n      - name: Install pip build\n        run: |\n          python -m pip install 'build'\n\n      - name: Build sdist tarball\n        shell: bash\n        run: |\n          if [[ ! -z \"$OVERRIDE_VERSION\" ]]; then echo \"$OVERRIDE_VERSION\" > VERSION; fi\n          # The build package is the reference PEP 517 package builder.  All\n          # dependencies are specified by our setup code.\n          python -m build --sdist .\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: sdist\n          path: dist/*.tar.gz\n          if-no-files-found: error\n\n\n  build_wheels:\n    name: Build wheels\n    needs: deploy_test\n    runs-on: ubuntu-latest\n    env:\n      OVERRIDE_VERSION: ${{ github.event.inputs.override_version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          # This is about the build environment, not the released wheel version.\n          python-version: '3.11'\n\n      - name: Install pip build\n        run: |\n          python -m pip install 'build'\n\n      - name: Build wheels\n        shell: bash\n        run: |\n          # If the version override was specified, then write it the VERSION\n          # file with it.\n          if [[ ! -z \"$OVERRIDE_VERSION\" ]]; then echo \"$OVERRIDE_VERSION\" > VERSION; fi\n          # The build package is the reference PEP 517 package builder.  All\n          # dependencies are specified by our setup code.\n          python -m build --wheel --outdir wheelhouse .\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels\n          path: ./wheelhouse/*.whl\n          if-no-files-found: error\n\n\n  deploy:\n    name: \"Deploy to PyPI if desired\"\n    # The confirmation is tested explicitly in `deploy_test`, so we know it is\n    # either a missing confirmation (so we shouldn't run this job) or a valid\n    # confirmation.  We don't need to retest the value of the confirmation,\n    # beyond checking that one existed.\n    if: ${{ github.event.inputs.confirm_ref != '' }}\n    needs: [deploy_test, build_sdist, build_wheels]\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Download build artifacts to local runner\n        uses: actions/download-artifact@v4\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.11'\n\n      - name: Verify this is not a dev version\n        shell: bash\n        run: |\n          python -m pip install wheels/*.whl\n          python -c 'import qutip_qip; print(qutip_qip.__version__); assert \"dev\" not in qutip_qip.__version__; assert \"+\" not in qutip_qip.__version__'\n\n      - name: Upload sdist and wheels to PyPI\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n          TWINE_NON_INTERACTIVE: 1\n          TWINE_REPOSITORY: pypi\n        run: |\n          python -m pip install \"twine\"\n          python -m twine upload --verbose wheels/*.whl sdist/*.tar.gz\n", "state": "active", "repository": "qutip/qutip-qip"}
{"mined_at": "2024-07-15T16:06:04.939684", "created_at": "2021-05-24T09:27:35+02:00", "updated_at": "2021-05-24T12:40:42+02:00", "name": "Build HTML documentation", "path": ".github/workflows/build_documentation.yml", "contents": "name: Build HTML documentation\n\non:\n  [push, pull_request]\n\njobs:\n  build:\n    name: Build documentation\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.9'\n          \n      - name: Install Pandoc\n        run: |\n          sudo apt update\n          sudo apt install -y pandoc\n\n      - name: Install documentation dependencies\n        run: |\n          python -mpip install -r doc/requirements.txt\n\n      - name: Install qutip-qip from GitHub\n        run: |\n          python -mpip install qutip==4.7.3\n          python -mpip install -e .\n          # Install in editable mode so it doesn't matter if we import from\n          # inside the installation directory, otherwise we can get some errors\n          # because we're importing from the wrong location.\n          python -c 'import qutip_qip; print(\"QuTiP QIP Version:      %s\" % qutip_qip.__version__)'\n          python -c 'import qutip; qutip.about()'\n\n      - name: Build documentation\n        working-directory: doc\n        run: |\n          make html SPHINXOPTS=\"-W --keep-going -T\"\n          # Above flags are:\n          #   -W : turn warnings into errors\n          #   --keep-going : do not stop after the first error\n          #   -T : display a full traceback if a Python exception occurs\n\n      - name: Upload built files\n        uses: actions/upload-artifact@v4\n        with:\n          name: qutip_qip_html_docs\n          path: doc/_build/html/*\n          if-no-files-found: error\n", "state": "active", "repository": "qutip/qutip-qip"}
{"mined_at": "2024-07-15T16:06:06.072978", "created_at": "2021-03-15T15:32:07+01:00", "updated_at": "2021-05-24T13:17:08+02:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n\njobs:\n  cases:\n    name: ${{ matrix.os }}, python${{ matrix.python-version }}, ${{ matrix.case-name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          - case-name: qutip@5.0.0\n            os: ubuntu-latest\n            qutip-version: '==5.0.0'\n            pyqir-version: ''\n            python-version: '3.11'\n          - case-name: qutip@qutip-4.7.X\n            os: ubuntu-latest\n            qutip-version: '@qutip-4.7.X'\n            pyqir-version: ''\n            python-version: '3.10'\n          - case-name: qutip@master\n            os: ubuntu-latest\n            qutip-version: '@master'\n            pyqir-version: ''\n            python-version: '3.12'\n          - case-name: qutip@4.7\n            os: macOS-latest\n            qutip-version: '==4.7.*'\n            qiskit-version: ''\n            pyqir-version: ''\n            python-version: '3.11'\n          - case-name: qiskit+qir\n            os: windows-latest\n            qutip-version: ''\n            qiskit-version: '==0.46.*'\n            pyqir-version: '==0.6.2'\n            python-version: '3.9'\n          - case-name: qiskit+qir\n            os: macOS-latest\n            qutip-version: ''\n            qiskit-version: '==0.46.*'\n            pyqir-version: '==0.6.2'\n            python-version: '3.9'\n          - case-name: qiskit+qir\n            os: ubuntu-latest\n            qutip-version: ''\n            qiskit-version: '==0.46.*'\n            pyqir-version: '==0.6.2'\n            python-version: '3.9'\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install QuTiP from PyPI\n      if: ${{ matrix.qutip-version != '' && ! startsWith( matrix.qutip-version, '@') }}\n      run: python -m pip install 'qutip${{ matrix.qutip-version }}'\n\n    - name: Install QuTiP from GitHub\n      if: ${{ startsWith( matrix.qutip-version, '@') }}\n      run: |\n        python -m pip install 'git+https://github.com/qutip/qutip.git${{ matrix.qutip-version }}'\n\n    - name: Install Qiskit from PyPI\n      if: ${{ matrix.qiskit-version != '' }}\n      run: python -m pip install 'qiskit${{ matrix.qiskit-version }}' 'qiskit-aer==0.14.0.1'\n\n    - name: Install PyQIR from PyPI\n      if: ${{ matrix.pyqir-version != '' }}\n      # We use each subpackage explicitly here; see https://github.com/qir-alliance/pyqir/issues/167.\n      run: python -m pip install 'pyqir-generator${{ matrix.pyqir-version }}' 'pyqir-parser${{ matrix.pyqir-version }}'\n\n    - name: Install qutip-qip\n      # Installing in-place so that coveralls can locate the source code.\n      run: |\n        pip install -e .[full]\n    - name: Test with pytest and generate coverage report\n      run: |\n        pip install pytest-cov coveralls\n        pytest tests --strict-markers --cov=qutip_qip --cov-report= --color=yes\n    - name: Upload to Coveralls\n      env:\n        GITHUB_TOKEN: ${{ secrets.github_token }}\n        COVERALLS_PARALLEL: true\n      run: coveralls --service=github\n\n  doctest:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -mpip install -r doc/requirements.txt\n        pip install qutip==4.7.3\n        pip install .\n    - name: Test code snippets in the documentation\n      run: |\n        cd doc\n        make doctest\n    - name: Test code examples for the pulse paper\n      run: |\n        python -m pip install joblib pytest pytest-custom_exit_code\n        cd doc/pulse-paper\n        pytest *.py --suppress-no-test-exit-code\n\n  finalise:\n    name: Finalise coverage reporting\n    needs: [cases]\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n      - name: Finalise coverage reporting\n        env:\n          GITHUB_TOKEN: ${{ secrets.github_token }}\n        run: |\n          python -m pip install coveralls\n          coveralls --service=github --finish\n", "state": "active", "repository": "qutip/qutip-qip"}
{"mined_at": "2024-07-15T16:06:08.303280", "created_at": "2021-10-27T04:43:51+02:00", "updated_at": "2024-05-20T06:34:00+02:00", "name": "docker", "path": ".github/workflows/docker.yml", "contents": "name: docker\n\non: push\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: .devcontainer/Dockerfile.dev\n          push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags') }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "gdsfactory/gdsfactory"}
{"mined_at": "2024-07-15T16:06:09.322695", "created_at": "2022-01-14T03:09:25+01:00", "updated_at": "2024-05-20T06:34:00+02:00", "name": "build docs", "path": ".github/workflows/pages.yml", "contents": "name: build docs\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n    name: Sphinx docs to gh-pages\n    steps:\n      - name: Cancel Workflow Action\n        uses: styfle/cancel-workflow-action@0.12.1\n      - uses: actions/checkout@v4\n      - uses: actions/cache@v4\n        with:\n          path: |\n            ~/.gdsfactory/\n          key: 0.0.1\n          restore-keys: 0.0.1\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Installing the library\n        env:\n          GDSFACTORY_DISPLAY_TYPE: klayout\n          KFACTORY_DISPLAY_TYPE: image\n        shell: bash -l {0}\n        run: |\n          make install\n          make docs-generic-pdk\n          make docs\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: \"./docs/_build/html/\"\n\n  deploy-docs:\n    needs: build-docs\n    if: ${{ github.ref == 'refs/heads/main' }}\n    permissions:\n      pages: write\n      id-token: write\n\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "gdsfactory/gdsfactory"}
{"mined_at": "2024-07-15T16:06:10.571739", "created_at": "2022-01-24T15:39:39+01:00", "updated_at": "2024-05-20T06:34:00+02:00", "name": "Test code", "path": ".github/workflows/test_code.yml", "contents": "name: Test code\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Test pre-commit hooks\n        run: |\n          python -m pip install --upgrade pip\n          pip install pre-commit\n          pre-commit run -a\n  test_code:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 12\n      matrix:\n        python-version: [\"3.12\"]\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cache/pip\n          key: ${{ hashFiles('pyproject.toml') }}\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make install\n          make test-data\n      - name: Test with pytest\n        run: |\n          pip install pytest\n          pytest\n  test_code_coverage:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Install dependencies\n        run: |\n          make install test-data\n      - name: Test with pytest\n        run: |\n          pytest --cov=gdsfactory\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: false\n", "state": "active", "repository": "gdsfactory/gdsfactory"}
{"mined_at": "2024-07-15T16:06:11.703073", "created_at": "2022-09-18T07:46:47+02:00", "updated_at": "2024-05-20T06:34:00+02:00", "name": "Release package", "path": ".github/workflows/release.yml", "contents": "name: Release package\n\non:\n  push:\n    tags: \"v*\"\n\njobs:\n  release_pypi:\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n          cache-dependency-path: pyproject.toml\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          make build\n          twine upload dist/*\n\n  release_docker:\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    needs: release_pypi\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          tags: ${{ secrets.DOCKERHUB_USERNAME }}/gdsfactory:latest,${{ secrets.DOCKERHUB_USERNAME }}/gdsfactory:8.3.0\n          file: .devcontainer/Dockerfile.dev\n      - name: Build and push minimal\n        id: docker_build_minimal\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          tags: ${{ secrets.DOCKERHUB_USERNAME }}/gdsfactory_minimal:latest,${{ secrets.DOCKERHUB_USERNAME }}/gdsfactory_minimal:8.3.0\n          file: .devcontainer/Dockerfile.dev_minimal\n\n  release_environment:\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: \"pip\"\n          cache-dependency-path: pyproject.toml\n      - name: Install dependencies\n        run: |\n          pip install .\n          pip freeze > requirements.txt\n      - name: Publish Latest Draft\n        run: |\n          gh release edit ${{ github.ref_name }} --draft=false\n          gh release upload ${{ github.ref_name }} requirements.txt --clobber\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "gdsfactory/gdsfactory"}
{"mined_at": "2024-07-15T16:06:12.926696", "created_at": "2023-10-01T01:29:51+02:00", "updated_at": "2024-05-20T06:34:00+02:00", "name": "Release Drafter and Labels", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter and Labels\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    types: [edited, opened, reopened, synchronize, unlabeled, labeled]\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next Release notes as Pull Requests are merged into \"master\"\n      - uses: release-drafter/release-drafter@v6\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  require_label:\n    if: github.event.pull_request\n    needs: update_release_draft\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: mheap/github-action-required-labels@v5\n        with:\n          mode: minimum\n          count: 1\n          labels: \"breaking, bug, github_actions, documentation, dependencies, enhancement, feature, maintenance, security\"\n          add_comment: true\n", "state": "active", "repository": "gdsfactory/gdsfactory"}
{"mined_at": "2024-07-15T16:06:13.959010", "created_at": "2024-05-14T16:41:51+02:00", "updated_at": "2024-05-14T16:41:51+02:00", "name": "Test code", "path": ".github/workflows/test_open_source_pdks.yml", "contents": null, "state": "active", "repository": "gdsfactory/gdsfactory"}
{"mined_at": "2024-07-15T16:06:14.976973", "created_at": "2024-05-14T16:43:36+02:00", "updated_at": "2024-05-20T06:34:00+02:00", "name": "Test PDKs", "path": ".github/workflows/test_pdks.yml", "contents": "name: Test PDKs\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    container: ghcr.io/gdsfactory/gdsfactory:main\n    strategy:\n      fail-fast: false\n      matrix:\n        repo:\n          - { owner: \"gdsfactory\", repo: \"cspdk\" }\n          - { owner: \"gdsfactory\", repo: \"skywater130\" }\n          - { owner: \"gdsfactory\", repo: \"ubc\" }\n\n    steps:\n      - name: Checkout this repository\n        uses: actions/checkout@v4\n\n      - name: Checkout other repository\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ matrix.repo.owner }}/${{ matrix.repo.repo }}\n          path: other-repo\n\n      - name: Run tests\n        run: |\n          ls other-repo\n          pip install -e other-repo\n          pip install -e .\n          cd other-repo\n          pytest\n", "state": "active", "repository": "gdsfactory/gdsfactory"}
{"mined_at": "2024-07-15T16:06:17.125072", "created_at": "2021-08-13T01:05:16+02:00", "updated_at": "2021-08-14T01:42:39+02:00", "name": "Linting", "path": ".github/workflows/lint.yml", "contents": "name: Linting\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Run pre-commit hook\n      uses: pre-commit/action@v2.0.3\n", "state": "active", "repository": "data-apis/array-api-tests"}
{"mined_at": "2024-07-15T16:06:18.251346", "created_at": "2024-03-18T16:46:33+01:00", "updated_at": "2024-03-20T10:18:05+01:00", "name": "Test Array API Strict", "path": ".github/workflows/test.yml", "contents": "name: Test Array API Strict\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n\n    steps:\n    - name: Checkout array-api-tests\n      uses: actions/checkout@v1\n      with:\n        submodules: 'true'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install array-api-strict\n        python -m pip install -r requirements.txt\n    - name: Run the test suite\n      env:\n        ARRAY_API_TESTS_MODULE: array_api_strict\n      run: |\n        pytest -v -rxXfE --skips-file array-api-strict-skips.txt array_api_tests/\n        # We also have internal tests that isn't really necessary for adopters\n        pytest -v -rxXfE meta_tests/\n", "state": "active", "repository": "data-apis/array-api-tests"}
{"mined_at": "2024-07-15T16:06:19.406274", "created_at": "2021-12-21T11:35:29+01:00", "updated_at": "2021-12-21T11:35:29+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "data-apis/array-api-tests"}
{"mined_at": "2024-07-15T16:06:21.735116", "created_at": "2021-10-05T20:00:05+02:00", "updated_at": "2023-09-14T11:14:14+02:00", "name": "Build wheels and deploy", "path": ".github/workflows/deploy.yml", "contents": "# A single CI script with github workflow\nname: Build wheels and deploy\n\non:\n  workflow_dispatch:\n  push:\n  merge_group:\n  release:\n    types:\n      - published\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [ 3.9, '3.10', '3.11', '3.12']\n    uses: qiboteam/workflows/.github/workflows/deploy-pip-poetry.yml@main\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      publish: ${{ github.event_name == 'release' && github.event.action == 'published' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' }}\n      poetry-extras: \"--with tests,docs\"\n    secrets: inherit\n", "state": "active", "repository": "qiboteam/qibo"}
{"mined_at": "2024-07-15T16:06:22.897099", "created_at": "2022-11-03T17:16:36+01:00", "updated_at": "2024-02-08T09:49:21+01:00", "name": "docs", "path": ".github/workflows/publish.yml", "contents": "name: docs\n\non:\n  workflow_dispatch:\n  push:\n    branches: [master]\n    tags:\n      - \"*\"\n\njobs:\n  evaluate-label:\n    runs-on: ubuntu-latest\n    outputs:\n      label: ${{ steps.label_step.outputs.version}}\n    steps:\n      - name: checks for the label\n        id: label_step\n        run: |\n          if [[ \"${{ github.ref  }}\" == \"refs/heads/master\" ]]; then\n                echo \"version=latest\" >> $GITHUB_OUTPUT\n          fi\n          if [[ \"${{ github.ref_type }}\" == \"branch\" ]] && [[ \"${{ github.ref  }}\" != \"refs/heads/master\" ]]; then\n                exit 1\n          fi\n          if [[ \"${{ github.ref_type }}\" == \"tag\" ]]; then\n                echo \"version=stable\" >> $GITHUB_OUTPUT\n          fi\n\n  deploy-docs:\n    needs: [evaluate-label]\n    uses: qiboteam/workflows/.github/workflows/deploy-ghpages-latest-stable.yml@main\n    with:\n      python-version: \"3.10\"\n      package-manager: \"poetry\"\n      dependency-path: \"**/poetry.lock\"\n      trigger-label: \"${{needs.evaluate-label.outputs.label}}\"\n      project: qibo\n      poetry-extras: --with docs\n", "state": "active", "repository": "qiboteam/qibo"}
{"mined_at": "2024-07-15T16:06:23.991429", "created_at": "2020-04-06T16:54:36+02:00", "updated_at": "2024-02-29T12:40:24+01:00", "name": "Tests", "path": ".github/workflows/rules.yml", "contents": "# A single CI script with github workflow\nname: Tests\n\non:\n  workflow_dispatch:\n  push:\n  merge_group:\n  pull_request:\n    types: [labeled, opened] # opened is required to allow external contributors\n\njobs:\n  build:\n    if: contains(github.event.pull_request.labels.*.name, 'run-workflow') || github.event_name == 'push'\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [ 3.9, '3.10', '3.11', '3.12']\n    uses: qiboteam/workflows/.github/workflows/rules-poetry.yml@main\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      doctests: ${{ matrix.os == 'ubuntu-latest'}}\n      poetry-extras: \"--with tests,docs\"\n    secrets: inherit\n", "state": "active", "repository": "qiboteam/qibo"}
{"mined_at": "2024-07-15T16:06:25.033591", "created_at": "2023-05-10T10:39:47+02:00", "updated_at": "2023-05-24T11:10:09+02:00", "name": "Tests with gpu", "path": ".github/workflows/selfhosted.yml", "contents": "# CI workflow that runs on selfhosted GPU\nname: Tests with gpu\n\non:\n  pull_request:\n    types: [labeled]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    if: contains(join(github.event.pull_request.labels.*.name), 'run-on')\n    uses: qiboteam/workflows/.github/workflows/selfhosted.yml@main\n    with:\n      used-labels: ${{ toJSON(github.event.pull_request.labels.*.name) }}\n      python-version: \"3.10\"\n      artifact-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n      poetry-extras: \"--with cuda11,tests\"\n\n    secrets:\n      repo_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "qiboteam/qibo"}
{"mined_at": "2024-07-15T16:06:27.129889", "created_at": "2023-12-25T06:03:00+01:00", "updated_at": "2023-12-25T06:30:08+01:00", "name": "Bazel test", "path": ".github/workflows/bazel-test.yml", "contents": "name: Bazel test\non:\n  push:\n    branches:\n      - main\n    paths:\n      - 'WORKSPACE'\n      - 'src/**'\n      - '!src/**.md'\n  pull_request:\n    paths:\n      - 'WORKSPACE'\n      - 'src/**'\n      - '!src/**.md'\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Set up JDK 8\n        uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1\n        with:\n          distribution: temurin\n          java-version: '8'\n      - name: Setup Bazel\n        uses: bazelbuild/setup-bazelisk@b39c379c82683a5f25d34f0d062761f62693e0b2 # v3.0.0\n      - name: Cache Bazel outputs\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: \"~/.cache/bazel\"\n          key: bazel\n      - name: Run Bazel test\n        run: |\n          bazel test //...\n", "state": "active", "repository": "launchableinc/cli"}
{"mined_at": "2024-07-15T16:06:28.324517", "created_at": "2022-01-24T08:53:19+01:00", "updated_at": "2022-01-26T06:19:23+01:00", "name": "e2e", "path": ".github/workflows/e2e.yml", "contents": "name: e2e\n\non:\n  push:\n    branches: [main]\n  workflow_dispatch:\n\n\nenv:\n  LAUNCHABLE_DEBUG: 1\n  LAUNCHABLE_REPORT_ERROR: 1\n\n\njobs:\n  tests:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [3.6, 3.7, 3.8, 3.9, \"3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/checkout@v4\n        with:\n          repository: launchableinc/examples\n          path: examples\n      - name: Set up JDK 1.8\n        uses: actions/setup-java@v4\n        with:\n          java-version: 8\n          distribution: 'temurin'\n      - uses: actions/setup-go@v5\n        with:\n          go-version: 1.17\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n      # bazel\n      - name: Install Bazelisk\n        run: |\n          go install github.com/bazelbuild/bazelisk@latest\n      - name: \"bazel: verify\"\n        run: \"launchable verify\"\n        env:\n          LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_BAZEL }}\n      - name: \"bazel: Record build\"\n        run: 'launchable record build --name \"$GITHUB_RUN_ID\" --source main=../.. --source cli=../../..'\n        env:\n          LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_BAZEL }}\n        working-directory: examples/bazel/java\n      - name: \"bazel: Subset\"\n        run: bazelisk query 'tests(//...)' | launchable subset --target 30% bazel > subset.txt\n        env:\n          LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_BAZEL }}\n        working-directory: examples/bazel/java\n      - name: \"bazel: Run test\"\n        run: bazelisk test $(cat subset.txt)\n        working-directory: examples/bazel/java\n      - name: \"bazel: Record test results\"\n        run: launchable record tests bazel .\n        if: always()\n        env:\n          LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_BAZEL }}\n        working-directory: examples/bazel/java\n      # go\n      - name: Install go-junit-report\n        run: |\n          go install github.com/jstemmer/go-junit-report@latest\n        working-directory: examples/go\n      - name: \"go: verify\"\n        run: \"launchable verify\"\n        env:\n          LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_GO }}\n      - name: \"go: Record build\"\n        run: 'launchable record build --name \"$GITHUB_RUN_ID\" --source main=.. --source cli=../..'\n        env:\n          LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_GO }}\n        working-directory: examples/go\n      - name: \"go: Subset\"\n        run: go test -list=\"Test|Example\" ./... | launchable subset --confidence 80%  go-test > launchable-subset.txt\n        env:\n          LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_GO }}\n        working-directory: examples/go\n      - name: \"go: Run test\"\n        run: go test -run $(cat launchable-subset.txt) ./... -v 2>&1 | go-junit-report -set-exit-code > report.xml\n        working-directory: examples/go\n      - name: \"go: Record test results\"\n        run: launchable record tests go-test report.xml\n        if: always()\n        env:\n          LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_GO }}\n        working-directory: examples/go\n        # gradle\n      - name: \"gradle: verify\"\n        run: \"launchable verify\"\n        env:\n          LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_GRADLE }}\n      - name: \"gradle: Record build\"\n        run: 'launchable record build --name \"$GITHUB_RUN_ID\" --source main=.. --source cli=../..'\n        env:\n          LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_GRADLE }}\n        working-directory: examples/gradle\n      - name: \"gradle: Subset\"\n        run: launchable subset --target 80%  gradle src/test/java > launchable-subset.txt\n        env:\n          LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_GRADLE }}\n        working-directory: examples/gradle\n      - name: \"gradle: Run test\"\n        run: ./gradlew test $(cat launchable-subset.txt)\n        working-directory: examples/gradle\n      - name: \"gradle: Record test results\"\n        run: launchable record tests gradle build/test-results/test\n        if: always()\n        env:\n          LAUNCHABLE_TOKEN: ${{ secrets.LAUNCHABLE_TOKEN_GRADLE }}\n        working-directory: examples/gradle\n", "state": "active", "repository": "launchableinc/cli"}
{"mined_at": "2024-07-15T16:06:29.619560", "created_at": "2020-10-15T10:40:34+02:00", "updated_at": "2022-11-18T04:14:25+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ main ]\n    paths-ignore:\n      - 'WORKSPACE'\n      - 'src/**'\n  pull_request:\n    branches: [ main ]\n    paths-ignore:\n      - 'WORKSPACE'\n      - 'src/**'\n  schedule:\n    # This job runs at 00:00 JST every day.\n    - cron: '0 9 * * *'\n\nenv:\n  LAUNCHABLE_ORGANIZATION: \"launchableinc\"\n  LAUNCHABLE_WORKSPACE: \"cli\"\n  GITHUB_PULL_REQUEST_URL: ${{ github.event.pull_request.html_url }}\n  GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, windows-latest]\n        python-version: [3.6, 3.7, 3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Set up JDK 1.8\n      uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1\n      with:\n        java-version: 8\n        distribution: 'temurin'\n    - name: Install specific dependencies in 3.6\n      if: matrix.python-version == '3.6'\n      uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0\n      with:\n        max_attempts: 3\n        timeout_minutes: 5\n        retry_on: error\n        command: |\n          python -m pip install --upgrade pip\n          pip install pipenv==2021.11.5\n          pipenv install --dev --python ${{ matrix.python-version }}\n    - name: Install dependencies\n      if: matrix.python-version != '3.6'\n      uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0\n      with:\n        max_attempts: 3\n        timeout_minutes: 5\n        retry_on: error\n        command: |\n          python -m pip install --upgrade pip\n          pip install pipenv\n          pipenv install --dev --python ${{ matrix.python-version }}\n    - name: Build\n      run: |\n        pipenv run build\n        pipenv run install\n    - name: Type check\n      run: pipenv run type\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        pipenv run lint\n    - name: Pull request validation\n      run: |\n        # Install Launchable CLI from this repos's code\n        pip3 install . > /dev/null\n\n        set -x\n\n        launchable verify\n\n        # Tell Launchable about the build you are producing and testing\n        launchable record build --name ${GITHUB_RUN_ID}\n\n        launchable record session --build ${GITHUB_RUN_ID} --flavor os=${{ matrix.os }} --flavor python=${{ matrix.python-version }} > session.txt\n\n        # Find 25% of the relevant tests to run for this change\n        find tests -name test_*.py | grep -v tests/data | launchable subset --target 25% --session $(cat session.txt) --rest launchable-remainder.txt file > subset.txt\n\n        function record() {\n          # Record test results\n          LAUNCHABLE_SLACK_NOTIFICATION=true launchable record tests --session $(cat session.txt) file test-results/*.xml\n        }\n\n        trap record EXIT\n\n        # Test subset of tests\n        pipenv run test-xml $(tr '\\r\\n' '\\n' < subset.txt)\n\n        # Test rest of tests\n        pipenv run test-xml $(tr '\\r\\n' '\\n' < launchable-remainder.txt)\n      shell: bash\n", "state": "active", "repository": "launchableinc/cli"}
{"mined_at": "2024-07-15T16:06:30.847741", "created_at": "2020-10-27T00:59:00+01:00", "updated_at": "2020-10-27T00:59:00+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package\n# For more information see: https://github.com/marketplace/actions/pypi-publish\n\nname: Upload Python Package\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n    - main\n\njobs:\n  tagpr:\n    permissions:\n      actions: write\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    outputs:\n      tag: ${{ steps.run-tagpr.outputs.tag }}\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n    - id: run-tagpr\n      uses: Songmu/tagpr@0a9b8e6634db66e773516828c1359dc6e9e8b484 # v1.3.0\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  deploy:\n    needs: tagpr\n    if: needs.tagpr.outputs.tag != '' || github.event_name == 'workflow_dispatch'\n\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    # build and publish package using GitHub Actions workflow\n    # https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    # actual publish\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n    - name: Actions for Discord\n      uses: Ilshidur/action-discord@0.3.2\n      env:\n        DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}\n      with:\n        args: 'Launchable CLI ${{ needs.tagpr.outputs.tag }} is released! https://github.com/launchableinc/cli/releases/tag/${{ needs.tagpr.outputs.tag }}'\n", "state": "active", "repository": "launchableinc/cli"}
{"mined_at": "2024-07-15T16:06:31.973650", "created_at": "2024-01-31T17:02:06+01:00", "updated_at": "2024-01-31T17:02:06+01:00", "name": "Update maven_install.json", "path": ".github/workflows/update_maven_install_json.yml", "contents": "name: Update maven_install.json\non:\n  pull_request:\n    paths:\n      - 'WORKSPACE'\njobs:\n  update:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          # Bot token is needed to ensure that git-push triggers relevant workflows\n          # See https://github.com/orgs/community/discussions/27146\n          token: ${{ secrets.LAUNCHABLEINC_CI_GITHUB_TOKEN }}\n      - name: Set up JDK 17\n        uses: actions/setup-java@v4\n        with:\n          distribution: temurin\n          java-version: '17'\n      - name: Setup Bazel\n        uses: bazelbuild/setup-bazelisk@b39c379c82683a5f25d34f0d062761f62693e0b2 # v3.0.0\n      - name: Cache Bazel outputs\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: \"~/.cache/bazel\"\n          key: bazel\n      - name: Update maven_install.json\n        run: |\n          bazel run @unpinned_maven//:pin\n      - name: Commit updated files\n        run: |\n          if ! git diff --exit-code --quiet\n          then\n            git add src/maven_install.json\n            git config --local user.email \"nobody@launchableinc.com\"\n            git config --local user.name \"File Update GitHub Workflow\"\n            git commit -m \"Update maven_install.json\"\n            git push\n          fi\n", "state": "active", "repository": "launchableinc/cli"}
{"mined_at": "2024-07-15T16:06:34.228164", "created_at": "2022-04-14T02:55:38+02:00", "updated_at": "2022-04-14T02:55:38+02:00", "name": "Build Android APK & Binary", "path": ".github/workflows/android.yml", "contents": "name: Build Android APK & Binary\n\non:\n  workflow_dispatch:\n    inputs:\n      modelURL:\n        description: 'Model URL'\n        required: true\n        default: https://wenet-1256283475.cos.ap-shanghai.myqcloud.com/models/aishell/20210601_u2%2B%2B_conformer_libtorch.tar.gz\n\nenv:\n  ANDROID_DIR: runtime/android\n  RELEASE_DIR: app/build/outputs/apk/release\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: set up JDK 11\n      uses: actions/setup-java@v3\n      with:\n        java-version: '11'\n        distribution: 'temurin'\n        cache: gradle\n\n    - name: Prepare model\n      run: |\n        wget ${{ github.event.inputs.modelURL}}\n        tar -xf *.tar.gz\n        find . \\( -name \"final.zip\" -o -name \"units.txt\" \\) |\\\n          xargs -I  {} cp {} ${{ env.ANDROID_DIR }}/app/src/main/assets\n\n    - name: Build with Gradle\n      run: |\n        cd ${{ env.ANDROID_DIR }}\n        chmod +x gradlew\n        ./gradlew assembleRelease\n\n    - name: Upload APK\n      uses: actions/upload-artifact@v3\n      with:\n        name: release-apk\n        path: ${{ env.ANDROID_DIR }}/${{ env.RELEASE_DIR }}\n\n    - name: Prepare Release Binary\n      run: |\n        cd ${{ env.ANDROID_DIR }}\n        for arch in arm64-v8a x86_64; do\n          mkdir $arch\n          cp app/.cxx/cmake/release/$arch/decoder_main $arch\n          cp `find . -name \"pytorch_android-*.aar\"`/jni/$arch/* $arch\n        done\n\n    - name: Upload arm64-v8a Binary\n      uses: actions/upload-artifact@v3\n      with:\n        name: release-arm64-v8a-binary\n        path: ${{ env.ANDROID_DIR }}/arm64-v8a\n\n    - name: Upload x86_64 Binary\n      uses: actions/upload-artifact@v3\n      with:\n        name: release-x86_64-binary\n        path: ${{ env.ANDROID_DIR }}/x86_64\n", "state": "active", "repository": "wenet-e2e/wenet"}
{"mined_at": "2024-07-15T16:06:35.416848", "created_at": "2020-12-03T12:35:57+01:00", "updated_at": "2020-12-03T12:35:57+01:00", "name": "Check and Publish Docs", "path": ".github/workflows/doc.yml", "contents": "name: \"Check and Publish Docs\"\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - 'docs/**'\n      - 'wenet/**.py'\n  push:\n    branches:\n      - main\n    paths:\n      - 'docs/**'\n      - 'wenet/**.py'\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        torch: [\"2.2.2\"]\n        python-version: [\"3.10\"]\n    steps:\n      - uses: actions/checkout@v1\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Build doc\n        shell: bash\n        run: |\n          cd docs\n          python3 -m pip install -r ./requirements.txt\n          make api\n          make html\n\n      # add .nojekyll to notice Pages use the _* dirs\n      - name: copy the generated site\n        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}\n        run: |\n          mkdir public\n          touch public/.nojekyll\n          cp -r docs/_build/html/* public/\n\n      # push to gh-pages branch\n      - name: github pages deploy\n        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}\n        uses: peaceiris/actions-gh-pages@v2.3.1\n        env:\n          PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN  }}\n          PUBLISH_BRANCH: gh-pages\n          PUBLISH_DIR: public\n", "state": "active", "repository": "wenet-e2e/wenet"}
{"mined_at": "2024-07-15T16:06:36.524198", "created_at": "2022-04-07T14:52:03+02:00", "updated_at": "2022-04-07T14:52:03+02:00", "name": "Build Docker Image", "path": ".github/workflows/docker_image.yml", "contents": "name: Build Docker Image\n\non:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Login to DockerHub\n      uses: docker/login-action@v1\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n    - name: Build the wenet docker image\n      run: |\n        cd runtime/libtorch/docker\n        docker build -t wenet:latest .\n        docker image tag wenet:latest ${{ secrets.DOCKERHUB_USERNAME }}/wenet:latest\n        docker push ${{ secrets.DOCKERHUB_USERNAME }}/wenet:latest\n\n    - name: Build the wenet-mini docker image\n      run: |\n        rm -rf wenet/*\n        mkdir wenet/lib\n        root_dir=/home/wenet/runtime/libtorch\n        torch_lib=$root_dir/fc_base/libtorch-src/lib\n        fst_lib=$root_dir/fc_base/openfst-build/src/lib/.libs\n        id=$(docker run -d -it ${{ secrets.DOCKERHUB_USERNAME }}/wenet:latest)\n        docker cp $id:$root_dir/build/bin/websocket_server_main wenet\n        docker cp $id:$torch_lib/libc10.so wenet/lib\n        docker cp $id:$torch_lib/libtorch.so wenet/lib\n        docker cp $id:$torch_lib/libtorch_cpu.so wenet/lib\n        docker cp $id:$(docker exec $id sh -c \"ls ${torch_lib}/libgomp-*\") wenet/lib\n\n        ls -al wenet/lib\n        cat << EOF > run.sh\n        #!/bin/bash\n        export LD_LIBRARY_PATH=/home/wenet/lib\n        export GLOG_logtostderr=1\n        export GLOG_v=2\n\n        model=/home/wenet/model\n        /home/wenet/websocket_server_main \\\n          --port 10086 \\\n          --chunk_size 16 \\\n          --model_path \\$model/final.zip \\\n          --unit_path \\$model/units.txt 2>&1 | tee server.log\n        EOF\n\n        id=$(docker create ubuntu:latest)\n        docker cp run.sh $id:/home\n        docker cp wenet $id:/home\n        docker commit $id wenet-mini:latest\n        docker rm -v $id\n        docker image tag wenet-mini:latest ${{ secrets.DOCKERHUB_USERNAME }}/wenet-mini:latest\n        docker push ${{ secrets.DOCKERHUB_USERNAME }}/wenet-mini:latest\n", "state": "active", "repository": "wenet-e2e/wenet"}
{"mined_at": "2024-07-15T16:06:37.709557", "created_at": "2020-11-27T08:41:36+01:00", "updated_at": "2020-11-27T08:41:36+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request:\n\njobs:\n  quick-checks:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fetch Wenet\n        uses: actions/checkout@v1\n      - name: Checkout PR tip\n        run: |\n          set -eux\n          if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then\n            # We are on a PR, so actions/checkout leaves us on a merge commit.\n            # Check out the actual tip of the branch.\n            git checkout ${{ github.event.pull_request.head.sha }}\n          fi\n          echo ::set-output name=commit_sha::$(git rev-parse HEAD)\n        id: get_pr_tip\n      - name: Ensure no tabs\n        run: |\n          (! git grep -I -l $'\\t' -- . ':(exclude)*.txt' ':(exclude)*.svg' ':(exclude)**Makefile' ':(exclude)**/contrib/**' ':(exclude)third_party' ':(exclude).gitattributes' ':(exclude).gitmodules' || (echo \"The above files have tabs; please convert them to spaces\"; false))\n      - name: Ensure no trailing whitespace\n        run: |\n          (! git grep -I -n $' $' -- . ':(exclude)*.txt' ':(exclude)third_party' ':(exclude).gitattributes' ':(exclude).gitmodules' || (echo \"The above files have trailing whitespace; please remove them\"; false))\n\n  flake8-py3:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.10.14\n          architecture: x64\n      - name: Fetch Wenet\n        uses: actions/checkout@v1\n      - name: Checkout PR tip\n        run: |\n          set -eux\n          if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then\n            # We are on a PR, so actions/checkout leaves us on a merge commit.\n            # Check out the actual tip of the branch.\n            git checkout ${{ github.event.pull_request.head.sha }}\n          fi\n          echo ::set-output name=commit_sha::$(git rev-parse HEAD)\n        id: get_pr_tip\n      - name: Run flake8\n        run: |\n          set -eux\n          pip install flake8==3.8.2 flake8-bugbear flake8-comprehensions flake8-executable flake8-pyi==20.5.0 mccabe pycodestyle==2.6.0 pyflakes==2.2.0\n          flake8 --version\n          flake8\n          if [ $? != 0 ]; then exit 1; fi\n\n  cpplint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.10.14\n          architecture: x64\n      - name: Fetch Wenet\n        uses: actions/checkout@v1\n      - name: Checkout PR tip\n        run: |\n          set -eux\n          if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then\n            # We are on a PR, so actions/checkout leaves us on a merge commit.\n            # Check out the actual tip of the branch.\n            git checkout ${{ github.event.pull_request.head.sha }}\n          fi\n          echo ::set-output name=commit_sha::$(git rev-parse HEAD)\n        id: get_pr_tip\n      - name: Run cpplint\n        run: |\n          set -eux\n          pip install cpplint==1.6.1\n          cpplint --version\n          cpplint --recursive .\n          if [ $? != 0 ]; then exit 1; fi\n\n  clang-format:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.10.14\n          architecture: x64\n      - name: Fetch Wenet\n        uses: actions/checkout@v1\n      - name: Checkout PR tip\n        run: |\n          set -eux\n          if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then\n            # We are on a PR, so actions/checkout leaves us on a merge commit.\n            # Check out the actual tip of the branch.\n            git checkout ${{ github.event.pull_request.head.sha }}\n          fi\n          echo ::set-output name=commit_sha::$(git rev-parse HEAD)\n        id: get_pr_tip\n      - name: Run clang-format\n        run: |\n          set -eux\n          pip install clang-format==17.0.6\n          clang-format --version\n          # find all cxx files in runtime/core (exclude kaldi & path) and dry-run clang-format\n          find runtime/core \\( -name \"*.h\" -o -name \"*.hpp\" -o -name \"*.cpp\" -o -name \"*.cc\" \\) ! -path \"runtime/core/kaldi/*\" ! -path \"runtime/core/patch/*\"  -exec clang-format -style=file --dry-run --Werror --verbose {} +\n          if [ $? != 0 ]; then echo \"use `clang-format -style=file -i <file>` to inplace edit your files which didn't pass the lint\" && exit 1; fi\n", "state": "active", "repository": "wenet-e2e/wenet"}
{"mined_at": "2024-07-15T16:06:38.807749", "created_at": "2022-04-12T05:15:12+02:00", "updated_at": "2022-04-12T05:22:46+02:00", "name": "Build Runtime", "path": ".github/workflows/runtime.yml", "contents": "name: Build Runtime\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - 'runtime/**'\n\nenv:\n  RUNTIME_DIR: runtime/libtorch\n  FC_BASE_DIR: runtime/libtorch/fc_base\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-latest, ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Cache FC Base\n        uses: actions/cache@v3\n        with:\n          path: ${{ env.FC_BASE_DIR }}\n          key: ${{ runner.os }}-fc-base\n\n      - uses: hendrikmuhs/ccache-action@v1.2\n        with:\n          key: ${{ runner.os }}-build\n\n      - name: Build\n        run: |\n          export PATH=\"/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH\"\n          cd ${{ env.RUNTIME_DIR }}\n          cmake -B build -DCMAKE_BUILD_TYPE=Release\n          cmake --build build -j$(nproc)\n", "state": "active", "repository": "wenet-e2e/wenet"}
{"mined_at": "2024-07-15T16:06:39.960460", "created_at": "2023-12-01T10:39:26+01:00", "updated_at": "2023-12-01T10:39:26+01:00", "name": "Close Stale Issues", "path": ".github/workflows/stale-issues.yml", "contents": "name: Close Stale Issues\non:\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  close-stale-issues:\n    if: github.repository == 'wenet-e2e/wenet'\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - name: Check for Stale Issues\n        uses: actions/stale@v5\n\n      - name: Close Stale Issues\n        uses: actions/stale@v5\n        with:\n          stale-issue-message: 'This issue has been automatically closed due to inactivity.'\n          close-issue-message: \"This issue was closed because it has been inactive for 7 days\n            since being marked as stale. Please reopen if you'd like to work on this further.\"\n          days-before-stale: 60\n          days-before-close: 7\n          stale-issue-label: stale\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "wenet-e2e/wenet"}
{"mined_at": "2024-07-15T16:06:41.097865", "created_at": "2021-11-22T14:26:44+01:00", "updated_at": "2021-11-23T04:44:04+01:00", "name": "UnitTest", "path": ".github/workflows/unit_test.yml", "contents": "name: UnitTest\n\non:\n  pull_request:\n    paths:\n      - '**.py'\n\njobs:\n  unit-test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 20\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.10.14]\n    steps:\n      - name: Cache Python Packages\n        uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}\n      - name: Setup Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Fetch Wenet\n        uses: actions/checkout@v1\n      - name: Checkout PR tip\n        run: |\n          set -eux\n          if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then\n            # We are on a PR, so actions/checkout leaves us on a merge commit.\n            # Check out the actual tip of the branch.\n            git checkout ${{ github.event.pull_request.head.sha }}\n          fi\n          echo ::set-output name=commit_sha::$(git rev-parse HEAD)\n        id: get_pr_tip\n      - name: Install Wenet Dependencies\n        run: |\n          set -eux\n          pip install -r requirements.txt\n          sudo apt update && sudo apt install -y ffmpeg  libsox-dev libsndfile1\n      - name: Run Pytest\n        run: |\n          set -eux\n          pytest --version\n          PYTHONPATH=\"${PYTHONPATH:-}:$(pwd)\" pytest -q\n          if [ $? != 0 ]; then exit 1; fi\n", "state": "active", "repository": "wenet-e2e/wenet"}
{"mined_at": "2024-07-15T16:06:42.213711", "created_at": "2022-04-30T17:49:57+02:00", "updated_at": "2022-05-02T05:48:45+02:00", "name": "Build Wheels", "path": ".github/workflows/wheels.yml", "contents": "name: Build Wheels\n\non:\n  workflow_dispatch:\n\nenv:\n  BINDING_DIR: runtime/binding/python\n  FC_BASE_DIR: runtime/binding/python/fc_base\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, macos-latest, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      # Used to host cibuildwheel\n      - uses: actions/setup-python@v3\n        with:\n          python-version: '3.10'\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.11.2\n        env:\n          CIBW_BUILD_VERBOSITY: 1\n          CIBW_BUILD: \"cp36-* cp37-* cp38-* cp39-* cp310-*\"\n          # Disable building PyPy wheels on all platforms\n          # Skip 32-bit builds\n          CIBW_SKIP: \"pp* *-win32 *-manylinux_i686 *-musllinux_*\"\n\n          CIBW_REPAIR_WHEEL_COMMAND_LINUX: >\n            auditwheel repair --exclude libc10.so --exclude libtorch.so --exclude libtorch_cpu.so -w {dest_dir} {wheel}\n          # For MacOS, please see: https://github.com/pypa/cibuildwheel/issues/816\n          CIBW_REPAIR_WHEEL_COMMAND_MACOS: >\n            REPAIR_LIBRARY_PATH=$FC_BASE_DIR/libtorch-src/lib &&\n            DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-listdeps {wheel} &&\n            DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}\n        with:\n          package-dir: ${{ env.BINDING_DIR }}\n          output-dir: wheelhouse\n\n      - uses: actions/upload-artifact@v2\n        with:\n          path: ./wheelhouse/*.whl\n\n      - name: Publish on pypi.org\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        run: |\n          python -m pip install -U twine\n          python -m twine upload --skip-existing ./wheelhouse/*\n\n", "state": "active", "repository": "wenet-e2e/wenet"}
{"mined_at": "2024-07-15T16:06:43.364083", "created_at": "2022-04-16T08:30:08+02:00", "updated_at": "2022-04-16T08:30:08+02:00", "name": "Build Windows Runtime", "path": ".github/workflows/windows.yml", "contents": "name: Build Windows Runtime\n\non:\n  workflow_dispatch:\n\nenv:\n  RUNTIME_DIR: runtime/libtorch\n\njobs:\n  build:\n    runs-on: windows-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v3\n      - name: Build\n        run: |\n          cd ${{ env.RUNTIME_DIR }}\n          cmake -B build -DGRAPH_TOOLS=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF\n          cmake --build build --config Release -j$(nproc)\n\n      - name: Prepare Release Binary\n        run: |\n          cd ${{ env.RUNTIME_DIR }}\n          mkdir -p wenet/kaldi\n          cp build/*.dll wenet\n          cp build/api/Release/*.dll wenet\n          cp build/bin/Release/*.exe wenet\n          cp build/kaldi/Release/*.exe wenet/kaldi\n\n      - name: Upload WeNet Binary\n        uses: actions/upload-artifact@v3\n        with:\n          name: release-wenet-binary\n          path: ${{ env.RUNTIME_DIR }}/wenet\n", "state": "active", "repository": "wenet-e2e/wenet"}
{"mined_at": "2024-07-15T16:06:44.470155", "created_at": "2021-12-17T03:40:05+01:00", "updated_at": "2021-12-17T03:40:05+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "wenet-e2e/wenet"}
{"mined_at": "2024-07-15T16:06:47.622385", "created_at": "2021-12-17T16:19:48+01:00", "updated_at": "2021-12-17T16:19:48+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tomographicimaging/cil"}
{"mined_at": "2024-07-15T16:06:48.770871", "created_at": "2023-12-19T18:53:57+01:00", "updated_at": "2023-12-20T15:10:41+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "# Copyright 2021 United Kingdom Research and Innovation\n# Copyright 2021 The University of Manchester\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#     http://www.apache.org/licenses/LICENSE-2.0\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n# Authors:\n# CIL Developers, listed at: https://github.com/TomographicImaging/CIL/blob/master/NOTICE.txt\nname: build\non:\n  release:\n    types: [published]\n  push:\n    branches: [master]\n    tags: ['**']\n    paths-ignore:\n    - 'CHANGELOG.md'\n    - 'CITATION.cff'\n    - 'LICENSE'\n    - 'scripts/**'\n    - 'NOTICE.txt'\n    - 'README.md'\n  pull_request:\n    branches: [master]\n    paths-ignore:\n    - 'CHANGELOG.md'\n    - 'CITATION.cff'\n    - 'LICENSE'\n    - 'scripts/**'\n    - 'NOTICE.txt'\n    - 'README.md'\njobs:\n  test-cuda:\n    defaults: {run: {shell: 'bash -el {0}'}}\n    runs-on: [self-hosted, python, cuda]\n    strategy:\n      matrix:\n        python-version: [3.11]\n        numpy-version: [1.25]\n    steps:\n    - uses: actions/checkout@v4\n      with: {fetch-depth: 0, submodules: recursive}\n    - id: reqs\n      name: set requirements\n      run: |\n        envname=\"${GITHUB_REPOSITORY##*/}-${GITHUB_RUN_ID}.${GITHUB_RUN_NUMBER}\"\n        echo \"envname=$envname\" >> $GITHUB_OUTPUT\n        sed -ri -e 's/^(name: ).*/\\1$envname/' -e '/ python /d' -e 's/(.* numpy) .*/\\1=${{ matrix.numpy-version }}/' scripts/requirements-test.yml\n    - uses: conda-incubator/setup-miniconda@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n        environment-file: scripts/requirements-test.yml\n        activate-environment: ${{ steps.reqs.outputs.envname }}\n        run-post: false\n    - id: build\n      name: build\n      run: |\n        conda activate \"${{ steps.reqs.outputs.envname }}\"\n        cmake -S . -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCONDA_BUILD=ON -DCMAKE_INSTALL_PREFIX=\"$CONDA_PREFIX\"\n        cmake --build ./build --target install\n    - name: test\n      run: |\n        conda activate \"${{ steps.reqs.outputs.envname }}\"\n        TESTS_FORCE_GPU=1 python -m unittest discover -v -k tigre -k TIGRE -k astra -k ASTRA -k gpu -k GPU ./Wrappers/Python/test\n    - if: always()\n      name: Post Run conda-incubator/setup-miniconda@v3\n      shell: bash\n      run: |\n        sed -i '/${{ steps.reqs.outputs.envname }}/d' ~/.profile\n        source ~/.profile\n        conda env remove -n \"${{ steps.reqs.outputs.envname }}\"\n  test:\n    defaults: {run: {shell: 'bash -el {0}'}}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n        - python-version: '3.10'\n          numpy-version: 1.23\n        - python-version: 3.12\n          numpy-version: 1.26\n    steps:\n    - uses: actions/checkout@v4\n      with: {fetch-depth: 0, submodules: recursive}\n    - name: set requirements\n      run: sed -ri -e '/ python /d' -e 's/(.* numpy) .*/\\1=${{ matrix.numpy-version }}/' -e 's/=cuda*//' -e '/tigre/d' scripts/requirements-test.yml\n    - uses: conda-incubator/setup-miniconda@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n        environment-file: scripts/requirements-test.yml\n        activate-environment: cil_dev\n    - name: build\n      run: |\n        cmake -S . -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCONDA_BUILD=ON -DCMAKE_INSTALL_PREFIX=\"$CONDA_PREFIX\"\n        cmake --build ./build --target install\n    - name: test\n      run: python -m unittest discover -v ./Wrappers/Python/test\n  conda:\n    defaults: {run: {shell: 'bash -el {0}'}}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.11]\n        numpy-version: [1.25]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: recursive\n        ref: ${{ github.event.pull_request.head.sha || github.ref }} # fix SHA\n    - uses: conda-incubator/setup-miniconda@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n        mamba-version: \"*\"\n        channels: conda-forge\n    - name: conda build & test\n      working-directory: recipe\n      run: |\n        conda install boa\n        conda mambabuild . -c conda-forge -c intel -c ccpi --python=${{ matrix.python-version }} --numpy=${{ matrix.numpy-version }} --output-folder .\n    - name: Upload artifact of the conda package\n      uses: actions/upload-artifact@v4\n      with:\n        name: cil-package\n        path: recipe/linux-64/cil*\n  docs:\n    defaults: {run: {shell: 'bash -el {0}', working-directory: docs}}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: recursive\n        ref: ${{ github.event.pull_request.head.sha || github.ref }} # fix SHA\n    - uses: conda-incubator/setup-miniconda@v3\n      with: {python-version: 3.11}\n    - uses: ruby/setup-ruby@v1\n      with:\n        ruby-version: '3.2'\n        bundler-cache: true\n        cache-version: 0\n    - name: install dependencies\n      run: |\n        conda install -c conda-forge -yq conda-merge\n        conda-merge ../scripts/requirements-test.yml docs_environment.yml > environment.yml\n        conda env update -n test\n        conda list\n    - name: build cil\n      working-directory: .\n      run: |\n        cmake -S . -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCONDA_BUILD=ON -DCMAKE_INSTALL_PREFIX=\"$CONDA_PREFIX\"\n        cmake --build ./build --target install\n    - name: checkout docs\n      uses: actions/checkout@v4\n      with:\n        path: docs/build\n        ref: gh-pages\n    - id: pages\n      uses: actions/configure-pages@v5\n    - name: update web pages (jekyll)\n      run: make JEKYLLOPTS=\"--baseurl ${{ steps.pages.outputs.base_path }}\" web-deps web\n      env: {JEKYLL_ENV: production}\n    - name: update docs pages (sphinx)\n      run: |\n        docs_dir=\"${{ github.ref_name }}\"\n        docs_dir=\"${docs_dir//\\//_}\"\n        if test \"$docs_dir\" = master; then docs_dir=nightly; fi\n        make BUILDSUBDIR=\"$docs_dir\" dirhtml\n    - uses: actions/upload-artifact@v4\n      with:\n        name: DocumentationHTML\n        path: docs/build\n    - name: Push changes\n      if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')\n      uses: casperdcl/push-dir@v1\n      with:\n        message: Update documentation\n        branch: gh-pages\n        dir: docs/build\n        nojekyll: true\n  docker:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: recursive\n        ref: ${{ github.event.pull_request.head.sha || github.ref }} # fix SHA\n    - uses: jlumbroso/free-disk-space@v1.3.1\n      with:\n        docker-images: false\n        large-packages: false\n    - uses: docker/setup-buildx-action@v3\n    - uses: docker/metadata-action@v5\n      id: meta\n      with:\n        images: ghcr.io/${{ github.repository }}\n        tags: |\n          type=ref,event=branch\n          type=semver,pattern={{version}}\n          type=semver,pattern={{major}}.{{minor}}\n        labels: |\n          org.opencontainers.image.licenses=Apache-2.0 AND BSD-3-Clause AND GPL-3.0\n    - uses: docker/login-action@v3\n      if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n    - uses: docker/build-push-action@v5\n      with:\n        cache-from: type=gha\n        cache-to: type=gha,mode=max\n        context: .\n        load: true\n        tags: tomographicimaging/cil:test\n    - name: test\n      run: >\n        docker run --rm -v .:/CIL tomographicimaging/cil:test /bin/bash -c\n        'python -m unittest discover -v /CIL/Wrappers/Python/test'\n    - uses: docker/build-push-action@v5\n      with:\n        cache-from: type=gha\n        cache-to: type=gha,mode=max\n        context: .\n        push: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags') }}\n        tags: ${{ steps.meta.outputs.tags }}\n        labels: ${{ steps.meta.outputs.labels }}\n  pass:\n    needs: [test-cuda, test, conda, docs, docker]\n    runs-on: ubuntu-latest\n    steps: [{run: echo success}]\n", "state": "active", "repository": "tomographicimaging/cil"}
{"mined_at": "2024-07-15T16:06:49.797060", "created_at": "2024-03-12T17:32:54+01:00", "updated_at": "2024-03-12T17:32:54+01:00", "name": "skip", "path": ".github/workflows/skip.yml", "contents": "# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks\nname: skip\non:\n  pull_request:\n    branches: [master]\n    paths: # same list as build.yml:on.pull_request.paths-ignore\n    - 'CHANGELOG.md'\n    - 'CITATION.cff'\n    - 'LICENSE'\n    - 'scripts/**'\n    - 'NOTICE.txt'\n    - 'README.md'\njobs:\n  pass:\n    runs-on: ubuntu-latest\n    steps: [{run: echo success}]\n", "state": "active", "repository": "tomographicimaging/cil"}
{"mined_at": "2024-07-15T16:06:52.043590", "created_at": "2021-04-26T03:36:22+02:00", "updated_at": "2021-06-09T21:58:38+02:00", "name": "common PR", "path": ".github/workflows/common_pull_request.yml", "contents": "name: common PR\non:\n  pull_request:\n    paths:\n      - \"common/**\"\n      - \"requirements*txt\"\njobs:\n  test-unit-python:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['3.8.x', '3.9.x', '3.10.x']\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v1\n      - name: Setup python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: make install_deps && pip3 uninstall -y amundsen-common\n        working-directory: ./common\n      - name: Run python unit tests\n        run: make test\n        working-directory: ./common\n", "state": "active", "repository": "amundsen-io/amundsen"}
{"mined_at": "2024-07-15T16:06:53.167158", "created_at": "2021-04-26T03:36:22+02:00", "updated_at": "2021-06-01T16:52:50+02:00", "name": "databuilder PR", "path": ".github/workflows/databuilder_pull_request.yml", "contents": "name: databuilder PR\non:\n  pull_request:\n    paths:\n      - \"databuilder/**\"\n      - \"common/**\"\n      - \"requirements-dev.txt\"\njobs:\n  test-unit-python:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['3.8.x', '3.9.x', '3.10.x']\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v1\n      - name: Setup python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: make install_deps && pip3 uninstall -y amundsen-common && pip3 install -e ../common\n        working-directory: ./databuilder\n      - name: Run python unit tests\n        run: make test\n        working-directory: ./databuilder\n", "state": "active", "repository": "amundsen-io/amundsen"}
{"mined_at": "2024-07-15T16:06:54.217150", "created_at": "2020-08-18T18:09:58+02:00", "updated_at": "2020-08-18T18:09:58+02:00", "name": "Publish docs via GitHub Pages", "path": ".github/workflows/deploy_docs.yml", "contents": "name: Publish docs via GitHub Pages\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    name: Deploy docs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout main\n        uses: actions/checkout@v1\n      - name: Checkout submodules using a PAT\n        run: |\n          git config --file .gitmodules --get-regexp url | while read url; do\n            git config --file=.gitmodules $(echo \"$url\" | sed -E \"s/git@github.com:|https:\\/\\/github.com\\//https:\\/\\/${{ secrets.CI_PAT }}:${{ secrets.CI_PAT }}@github.com\\//\")\n          done\n          git submodule sync\n          git submodule update --init --recursive\n      - name: Deploy docs\n        uses: mhausenblas/mkdocs-deploy-gh-pages@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "amundsen-io/amundsen"}
{"mined_at": "2024-07-15T16:06:55.296982", "created_at": "2021-05-12T01:14:12+02:00", "updated_at": "2021-05-12T01:14:12+02:00", "name": "Publish Release to PyPi", "path": ".github/workflows/deploy_release.yml", "contents": "name: Publish Release to PyPi\non:\n  release:\n    types: [published]\njobs:\n  gather-info:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get module for release\n        id: module_folder\n        run: echo \"::set-output name=module_folder::$(awk '{print $1}' <<< \"${{ github.event.release.name }}\")\"\n    outputs:\n      module_folder: ${{ steps.module_folder.outputs.module_folder }}\n  push-to-pypi:\n    runs-on: ubuntu-latest\n    needs: gather-info\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - name: Setup python 3.8\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n      - name: Add wheel dependency\n        run: pip install wheel\n      - name: Generate dist\n        run: python setup.py sdist bdist_wheel\n        working-directory: ${{ needs.gather-info.outputs.module_folder }}\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n          packages_dir: ${{ needs.gather-info.outputs.module_folder }}/dist\n  build-and-publish-docker-image:\n    name: Build and publish docker image\n    needs: gather-info\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v1\n      - name: Login with docker\n        run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}\n      - name: Publish to Registry for latest\n        if: success()\n        run: make build-push-image-latest\n        working-directory: ${{ needs.gather-info.outputs.module_folder }}\n      - name: Publish to Registry for version\n        run: make build-push-image-version\n        working-directory: ${{ needs.gather-info.outputs.module_folder }}\n", "state": "active", "repository": "amundsen-io/amundsen"}
{"mined_at": "2024-07-15T16:06:56.344527", "created_at": "2021-04-23T22:20:19+02:00", "updated_at": "2021-06-09T21:58:38+02:00", "name": "frontend PR", "path": ".github/workflows/frontend_pull_request.yml", "contents": "name: frontend PR\non:\n  pull_request:\n    paths:\n      - \"frontend/**\"\n      - \"common/**\"\n      - \"requirements*txt\"\njobs:\n  test-unit-python:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['3.8.x', '3.9.x', '3.10.x']\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v1\n      - name: Setup python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: make install_deps && pip3 uninstall -y amundsen-common && pip3 install -e ../common\n        working-directory: ./frontend\n      - name: Run python unit tests\n        run: make test\n        working-directory: ./frontend\n  test-unit-frontend:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [12.x]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v1\n        with:\n          node-version: ${{ matrix.node-version }}\n      - name: Install and Lint\n        working-directory: ./frontend/amundsen_application/static\n        run: |\n          npm install\n          npm install codecov -g\n          npm run lint\n      - name: Check and build\n        working-directory: ./frontend/amundsen_application/static\n        run: |\n          npm run betterer\n          npm run build --if-present\n      - name: Test\n        working-directory: ./frontend/amundsen_application/static\n        run: npm run test\n        env:\n          CI: true\n", "state": "active", "repository": "amundsen-io/amundsen"}
{"mined_at": "2024-07-15T16:06:57.466361", "created_at": "2021-08-24T06:50:53+02:00", "updated_at": "2021-08-24T06:50:53+02:00", "name": "license", "path": ".github/workflows/license.yml", "contents": "name: license\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Go 1.17\n      uses: actions/setup-go@v3\n      with:\n        go-version: 1.17\n      id: go\n    - name: Install addlicense\n      run: |\n        export PATH=${PATH}:`go env GOPATH`/bin\n        go get -v -u github.com/google/addlicense\n    - name: Check license python\n      run: |\n        export PATH=${PATH}:`go env GOPATH`/bin\n        addlicense -check -l mit -c \"Amundsen\" $(find $PWD -type f -name '*.py')\n    - name: Check license tsx\n      run: |\n        export PATH=${PATH}:`go env GOPATH`/bin\n        addlicense -check -l mit -c \"Amundsen\" $(find $PWD -type f -name '*.tsx')\n", "state": "active", "repository": "amundsen-io/amundsen"}
{"mined_at": "2024-07-15T16:06:58.597442", "created_at": "2021-04-23T22:20:19+02:00", "updated_at": "2021-05-17T21:05:02+02:00", "name": "metadata PR", "path": ".github/workflows/metadata_pull_request.yml", "contents": "name: metadata PR\non:\n  pull_request:\n    paths:\n      - \"metadata/**\"\n      - \"common/**\"\n      - \"requirements*txt\"\njobs:\n  test-unit-python:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['3.8.x', '3.9.x']\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v1\n      - name: Setup python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: make install_deps && pip3 uninstall -y amundsen-common && pip3 install -e ../common\n        working-directory: ./metadata\n      - name: Run python unit tests\n        run: make test\n        working-directory: ./metadata\n      - name: Codecov\n        uses: codecov/codecov-action@v1\n        with:\n          directory: ./metadata\n", "state": "active", "repository": "amundsen-io/amundsen"}
{"mined_at": "2024-07-15T16:06:59.716136", "created_at": "2021-06-01T03:11:06+02:00", "updated_at": "2021-06-01T03:11:06+02:00", "name": "Monthly Release", "path": ".github/workflows/monthly_release.yml", "contents": "name: Monthly Release\non:\n  schedule:\n    - cron: 0 0 1 * *\n  workflow_dispatch:\n    logLevel:\n      description: \"Log level\"\n      required: true\n      default: \"warning\"\njobs:\n  release:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        library: ['common', 'databuilder', 'frontend', 'metadata', 'search']\n    env:\n      BRANCH_NAME: new-release-${{ matrix.library }}-${{ github.run_id }}\n    steps:\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Checkout master\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: \"0\"\n      - name: Semantic release\n        id: semantic-release\n        run: |\n          pip install python-semantic-release\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          semantic-release version\n          echo ::set-output name=version::$(semantic-release print-version --current)\n          semantic-release changelog > './CHANGELOG.md'\n        working-directory: ./${{ matrix.library }}\n      - name: Create release pull request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          commit-message: Bumped ${{ matrix.library }} version to ${{ steps.semantic-release.outputs.version }}\n          committer: github-actions <github-actions@github.com>\n          author: github-actions <github-actions@github.com>\n          signoff: true\n          branch: ${{ env.BRANCH_NAME }}\n          delete-branch: true\n          title: |\n            chore: Bumped ${{ matrix.library }} version for release ${{ steps.semantic-release.outputs.version }}\n          body: |\n            Bumped ${{ matrix.library }} version to ${{ steps.semantic-release.outputs.version }}\n          team-reviewers: amundsen-io/amundsen-committers\n", "state": "active", "repository": "amundsen-io/amundsen"}
{"mined_at": "2024-07-15T16:07:00.852298", "created_at": "2021-04-29T02:34:09+02:00", "updated_at": "2024-02-22T21:51:28+01:00", "name": "no-op", "path": ".github/workflows/noop_pull_request.yml", "contents": "# Because the mono-repo has different test suites for each sub-project,\n# it is challenging to use Github's required status checks. For example,\n# the front-end specifies node tests, and we'd like to gate PR on their passing.\n# However, none of the other projects have those tests. Thus, if you require\n# the front-end tests to pass, it will be impossible to land non-frontend PRs.\n# However, Github helpfully has the behavior where if there are multiple test\n# runners with a single name, if any of them fail, the whole PR will fail. Thus\n# this file specifies dummy tests that will always pass.\n\n# The matrix specified here must be a superset of the actual tests run. This\n# has the unfortunate side effect of making PRs appear like they have more\n# coverage than they actually do, but I think it's relatively minor\n\n# See also:\n# * https://github.community/t/github-actions-and-required-checks-in-a-monorepo-using-paths-to-limit-execution/16586/4\n# * https://github.community/t/feature-request-conditional-required-checks/16761/2\n\nname: no-op\non: pull_request\njobs:\n  test-unit-frontend:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [12.x]\n    steps:\n      - name: Do nothing\n        run: exit 0\n  test-unit-python:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8.x', '3.9.x', '3.10.x']\n    steps:\n      - name: Do nothing\n        run: exit 0\n", "state": "active", "repository": "amundsen-io/amundsen"}
{"mined_at": "2024-07-15T16:07:02.079228", "created_at": "2021-04-23T22:20:19+02:00", "updated_at": "2021-05-19T01:26:30+02:00", "name": "search PR", "path": ".github/workflows/search_pull_request.yml", "contents": "name: search PR\non:\n  pull_request:\n    paths:\n      - \"search/**\"\n      - \"common/**\"\n      - \"requirements*txt\"\njobs:\n  test-unit-python:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: ['3.8.x', '3.9.x', '3.10.x']\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v1\n      - name: Setup python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: make install_deps && pip3 uninstall -y amundsen-common && pip3 install -e ../common\n        working-directory: ./search\n      - name: Run python unit tests\n        run: make test\n        working-directory: ./search\n", "state": "active", "repository": "amundsen-io/amundsen"}
{"mined_at": "2024-07-15T16:07:03.194969", "created_at": "2021-12-22T20:27:01+01:00", "updated_at": "2021-12-22T20:27:01+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "amundsen-io/amundsen"}
{"mined_at": "2024-07-15T16:07:05.458651", "created_at": "2022-08-19T02:22:47+02:00", "updated_at": "2022-08-20T16:54:30+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: python\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "apeworx/ape"}
{"mined_at": "2024-07-15T16:07:06.594447", "created_at": "2021-04-20T05:30:20+02:00", "updated_at": "2021-04-20T05:30:20+02:00", "name": "Commit Message", "path": ".github/workflows/commitlint.yaml", "contents": "on: push\n\nname: Commit Message\n\n# NOTE: Skip check on PR so as not to confuse contributors\n# NOTE: Also install a PR title checker so we don't mess up merges\njobs:\n    commit-msg:\n\n        runs-on: ubuntu-latest\n\n        steps:\n        - uses: actions/checkout@v4\n          with:\n              fetch-depth: 0\n\n        - name: Setup Python\n          uses: actions/setup-python@v5\n          with:\n              python-version: \"3.10\"\n\n        - name: Install Dependencies\n          run: |\n            python -m pip install --upgrade pip\n            pip install -r cz-requirement.txt\n\n        - name: Check commit history\n          run: cz check --rev-range $(git rev-list --all --reverse | head -1)..HEAD\n", "state": "active", "repository": "apeworx/ape"}
{"mined_at": "2024-07-15T16:07:07.839040", "created_at": "2021-08-02T17:08:06+02:00", "updated_at": "2021-08-04T18:32:24+02:00", "name": "Docs", "path": ".github/workflows/docs.yaml", "contents": "name: Docs\n\non:\n    push:\n        branches: [main]\n    release:\n        types: [released]\n    pull_request:\n        types: [opened, synchronize]\n\njobs:\n    docs:\n        runs-on: ubuntu-latest\n\n        permissions:\n          contents: write\n\n        steps:\n        - uses: actions/checkout@v4\n\n        - name: Setup Python\n          uses: actions/setup-python@v5\n          with:\n              python-version: \"3.10\"\n\n        - name: Install Dependencies\n          run: |\n            python -m pip install --upgrade pip\n            pip install .[doc]\n\n        - name: Build HTML artifact\n          run: python build_docs.py\n\n        - name: Upload HTML artifact\n          uses: actions/upload-artifact@v4\n          with:\n              name: DocumentationHTML\n              path: docs/_build/ape\n\n        - name: Doctesting\n          run: |\n            sphinx-build -b doctest docs docs/_build/doctest\n            if grep -q '0 failed' docs/_build/doctest/output.txt; then\n              echo \"All doctests passed!\"\n            else\n              echo \"Some doctests failed. See the output below.\"\n              cat docs/_build/doctest/output.txt\n              exit 1\n            fi\n\n        - name: Commit and publish documentation changes to gh-pages branch\n          run: |\n              if [[ \"${GITHUB_EVENT_NAME}\" =~ \"pull_request\" ]]; then\n                echo \"skipping 'git commit' step for PR\"\n              else\n                git clone https://github.com/${GITHUB_REPOSITORY} --branch gh-pages --single-branch gh-pages\n                cp -r docs/_build/ape/* gh-pages/\n                cd gh-pages\n                touch .nojekyll\n                git config --local user.email \"action@github.com\"\n                git config --local user.name \"GitHub Action\"\n                git add .\n                git commit -m \"Update documentation\" -a || true\n              fi\n        - name: Push changes\n          uses: ad-m/github-push-action@master\n          if: ${{ github.event_name != 'pull_request' }}\n          with:\n              branch: gh-pages\n              directory: gh-pages\n              github_token: ${{ secrets.GITHUB_TOKEN }}\n        \n", "state": "active", "repository": "apeworx/ape"}
{"mined_at": "2024-07-15T16:07:09.043733", "created_at": "2021-05-19T18:37:10+02:00", "updated_at": "2021-05-19T18:37:10+02:00", "name": "Release Drafter", "path": ".github/workflows/draft.yaml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  update-draft:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      # Drafts your next Release notes as Pull Requests are merged into \"main\"\n      - uses: release-drafter/release-drafter@v5\n        with:\n          disable-autolabeler: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "apeworx/ape"}
{"mined_at": "2024-07-15T16:07:10.213095", "created_at": "2021-04-20T05:49:03+02:00", "updated_at": "2023-01-31T19:18:14+01:00", "name": "PR Title", "path": ".github/workflows/prtitle.yaml", "contents": "name: PR Title\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n\njobs:\n    pr-title:\n        runs-on: ubuntu-latest\n\n        steps:\n        - uses: actions/checkout@v4\n\n        - name: Setup Python\n          uses: actions/setup-python@v5\n          with:\n              python-version: \"3.10\"\n\n        - name: Install Dependencies\n          run: |\n            python -m pip install --upgrade pip\n            pip install -r cz-requirement.txt\n\n        - name: Check PR Title\n          env:\n              TITLE: ${{ github.event.pull_request.title }}\n          run: cz check --message \"$TITLE\"\n", "state": "active", "repository": "apeworx/ape"}
{"mined_at": "2024-07-15T16:07:11.398042", "created_at": "2021-02-14T06:38:47+01:00", "updated_at": "2021-02-14T06:38:47+01:00", "name": "Release", "path": ".github/workflows/publish.yaml", "contents": "name: Release\n\non:\n  release:\n    types: [released]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .[release]\n\n    - name: Build\n      run: python setup.py sdist bdist_wheel\n\n    - name: Publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: twine upload dist/*\n", "state": "active", "repository": "apeworx/ape"}
{"mined_at": "2024-07-15T16:07:12.539693", "created_at": "2022-12-14T19:23:04+01:00", "updated_at": "2022-12-14T19:23:04+01:00", "name": "Close stale PRs", "path": ".github/workflows/stale-prs.yml", "contents": "name: \"Close stale PRs\"\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v9\n        with:\n          stale-pr-message: 'This pull request is considered stale because it has been open 30 days with no activity. Remove stale label, add a comment, or make a new commit, otherwise this PR will be closed in 5 days.'\n          close-pr-message: 'This PR was closed because it has been inactive for 35 days.'\n          stale-pr-label: \"stale\"\n          close-pr-label: \"inactive\"\n          days-before-pr-stale: 30\n          days-before-pr-close: 5\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "apeworx/ape"}
{"mined_at": "2024-07-15T16:07:13.662700", "created_at": "2021-02-14T06:38:47+01:00", "updated_at": "2024-04-22T23:41:06+02:00", "name": "Test", "path": ".github/workflows/test.yaml", "contents": "on: [\"push\", \"pull_request\"]\n\nname: Test\n\nconcurrency:\n  # Cancel older, in-progress jobs from the same PR, same workflow.\n  # use run_id if the job is triggered by a push to ensure\n  # push-triggered jobs to not get canceled.\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n    linting:\n        runs-on: ubuntu-latest\n\n        steps:\n        - uses: actions/checkout@v4\n\n        - name: Setup Python\n          uses: actions/setup-python@v5\n          with:\n              python-version: \"3.10\"\n\n        - name: Install Dependencies\n          run: |\n            python -m pip install --upgrade pip\n            pip install .[lint]\n\n        - name: Run Black\n          run: black --check .\n\n        - name: Run isort\n          run: isort --check-only .\n\n        - name: Run flake8\n          run: flake8 .\n\n        - name: Run mdformat\n          run: mdformat . --check\n\n    type-check:\n        runs-on: ubuntu-latest\n\n        steps:\n        - uses: actions/checkout@v4\n\n        - name: Setup Python\n          uses: actions/setup-python@v5\n          with:\n              python-version: \"3.10\"\n\n        - name: Install Dependencies\n          run: |\n            python -m pip install --upgrade pip\n            pip install .[lint,test]\n\n        - name: Run MyPy\n          run: mypy .\n\n    test:\n        runs-on: ${{ matrix.os }}\n\n        strategy:\n            matrix:\n                os: [ubuntu-latest, macos-latest]   # eventually add `windows-latest`\n                python-version: [3.9, \"3.10\", \"3.11\", \"3.12\"]\n\n        env:\n          GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n        steps:\n        - uses: actions/checkout@v4\n          with:\n            fetch-depth: 0\n\n        - name: Setup Python\n          uses: actions/setup-python@v5\n          with:\n              python-version: ${{ matrix.python-version }}\n\n        - name: Setup Go\n          uses: actions/setup-go@v5\n          with:\n            go-version: '^1.20.7'\n\n        - name: Install Geth\n          uses: gacts/install-geth-tools@v1\n          with:\n            version: 1.13.11\n\n        - name: Install Dependencies\n          run: |\n            python -m pip install --upgrade pip\n            pip uninstall eth-ape --yes\n            pip install .[test]\n\n        - name: Run Functional Tests\n          run: pytest tests/functional -m \"not fuzzing\" -s --cov=src --cov-append -n auto --dist loadgroup\n\n        - name: Run Integration Tests\n          run: pytest tests/integration -m \"not fuzzing\" -s --cov=src --cov-append -n auto --dist loadgroup\n\n    fuzzing:\n        runs-on: ubuntu-latest\n\n        strategy:\n            fail-fast: true\n\n        steps:\n        - uses: actions/checkout@v4\n\n        - name: Setup Python\n          uses: actions/setup-python@v5\n          with:\n              python-version: \"3.10\"\n\n        - name: Install Dependencies\n          run: |\n            python -m pip install --upgrade pip\n            pip install .[test]\n\n        - name: Run Tests\n          run: pytest -m \"fuzzing\" --no-cov -s\n", "state": "active", "repository": "apeworx/ape"}
{"mined_at": "2024-07-15T16:07:14.748769", "created_at": "2021-12-17T01:02:40+01:00", "updated_at": "2021-12-17T01:02:40+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "apeworx/ape"}
{"mined_at": "2024-07-15T16:07:16.828450", "created_at": "2022-08-15T16:18:30+02:00", "updated_at": "2024-02-01T11:34:24+01:00", "name": "deploy / spaces", "path": ".github/workflows/deploy-spaces.yml", "contents": "name: \"deploy / spaces\"\n\non:\n  workflow_dispatch:\n  workflow_run:\n    workflows: [\"trigger\"]\n    types:\n      - requested\n\npermissions:\n  statuses: write\nconcurrency:\n  group: \"${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}\"\n  cancel-in-progress: true\n\njobs:\n  changes:\n    name: \"changes\"\n    runs-on: ubuntu-latest\n    outputs:\n      should_run: ${{ steps.changes.outputs.should_run }}\n      sha: ${{ steps.changes.outputs.sha }}\n      pr_number: ${{ steps.changes.outputs.pr_number }}\n      source_branch: ${{ steps.changes.outputs.source_branch }}\n      source_repo: ${{ steps.changes.outputs.source_repo }}\n      merge_sha: ${{ steps.changes.outputs.merge_sha }}\n      mergeable: ${{ steps.changes.outputs.mergeable }}\n      found_pr: ${{ steps.changes.outputs.found_pr }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: \"gradio-app/gradio/.github/actions/changes@main\"\n        id: changes\n        with:\n          type: \"functional\"\n          name: \"deploy / spaces\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n          commit_status: false\n\n  comment-spaces-start:\n    needs: changes\n    uses: \"./.github/workflows/comment-queue.yml\"\n    if: ${{ needs.changes.outputs.should_run == 'true' }}\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.changes.outputs.pr_number }}\n      message: spaces~pending~null\n  deploy-spaces:\n    outputs:\n      space_url: ${{ steps.upload-demo.outputs.SPACE_URL }}\n      gradio_version: ${{ steps.get_gradio_version.outputs.gradio_version }}\n      js_tarball_url: ${{ steps.upload_js_tarball.outputs.js_tarball_url }}\n    needs: changes\n    if: ${{ needs.changes.outputs.should_run == 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ needs.changes.outputs.merge_sha }}\n        repository: ${{ needs.changes.outputs.mergeable == 'true' &&  github.repository || needs.changes.outputs.source_repo }}\n\n    - name: install dependencies\n      uses: \"gradio-app/gradio/.github/actions/install-all-deps@main\"\n      with:\n        always_install_pnpm: true\n        python_version: '3.9'\n        build_lite: 'true'\n\n    - name: Package Lite NPM package\n      working-directory: js/lite\n      run: pnpm pack --pack-destination .\n    - name: Upload Lite NPM package\n      uses: actions/upload-artifact@v4\n      with:\n        name: gradio-lite-${{ github.sha }}\n        path: js/lite/gradio-lite-*.tgz\n\n    - name: Install pip\n      run: python -m pip install build requests\n    - name: Get Gradio Version\n      id: get_gradio_version\n      run: |\n        if ${{ github.event_name == 'pull_request' || github.event.workflow_run.event == 'pull_request' }}; then\n          echo \"GRADIO_VERSION=$(python -c 'import requests;print(requests.get(\"https://pypi.org/pypi/gradio/json\").json()[\"info\"][\"version\"])')\" >> $GITHUB_OUTPUT\n          python -c \"import os;print(os.environ['GITHUB_REF'].split('/')[2])\" > pr_number.txt\n        else\n          echo \"GRADIO_VERSION=$(python -c 'import json; print(json.load(open(\"gradio/package.json\"))[\"version\"])')\" >> $GITHUB_OUTPUT\n        fi\n    - name: Build pr package\n      run: |\n        python -c 'import json; j = json.load(open(\"gradio/package.json\")); j[\"version\"] = \"${{ steps.get_gradio_version.outputs.GRADIO_VERSION }}\"; json.dump(j, open(\"gradio/package.json\", \"w\"))'\n        python3 -m build -w\n\n    - name: Set up Demos\n      run: |\n        python scripts/copy_demos.py https://gradio-builds.s3.amazonaws.com/${{ needs.changes.outputs.sha }}/gradio-${{ steps.get_gradio_version.outputs.GRADIO_VERSION }}-py3-none-any.whl \\\n        \"gradio-client @ git+https://github.com/gradio-app/gradio@${{ needs.changes.outputs.sha }}#subdirectory=client/python\"\n    - name: Upload wheel\n      run: |\n        export AWS_ACCESS_KEY_ID=${{ secrets.PR_DEPLOY_KEY }}\n        export AWS_SECRET_ACCESS_KEY=${{ secrets.PR_DEPLOY_SECRET }}\n        export AWS_DEFAULT_REGION=us-east-1\n        aws s3 cp dist/gradio-${{ steps.get_gradio_version.outputs.GRADIO_VERSION }}-py3-none-any.whl s3://gradio-builds/${{ needs.changes.outputs.sha  }}/\n    - name: Create and Upload JS Client Tarball to S3\n      id: upload_js_tarball\n      continue-on-error: true\n      run: |\n        cd client/js\n        tarball_name=$(npm pack)\n        export AWS_ACCESS_KEY_ID=${{ secrets.PR_DEPLOY_KEY }}\n        export AWS_SECRET_ACCESS_KEY=${{ secrets.PR_DEPLOY_SECRET }}\n        export AWS_DEFAULT_REGION=us-east-1\n        aws s3 cp $tarball_name s3://gradio-builds/${{ needs.changes.outputs.sha }}/$tarball_name\n        echo \"js_tarball_url=https://gradio-builds.s3.amazonaws.com/${{ needs.changes.outputs.sha }}/$tarball_name\" >> $GITHUB_OUTPUT\n    - name: Install Hub Client Library\n      run: pip install huggingface-hub==0.23.2\n    - name: Upload demo to spaces\n      if: github.event.workflow_run.event == 'pull_request'\n      id: upload-demo\n      run: |\n        python scripts/upload_demo_to_space.py all_demos \\\n        gradio-pr-deploys/pr-${{ needs.changes.outputs.pr_number }}-all-demos \\\n        ${{ secrets.SPACES_DEPLOY_TOKEN }} \\\n        --gradio-version ${{ steps.get_gradio_version.outputs.GRADIO_VERSION }} > url.txt\n        echo \"SPACE_URL=$(cat url.txt)\" >> $GITHUB_OUTPUT\n    - name: Upload Website Demos\n      if: github.event_name == 'workflow_dispatch'\n      id: upload-website-demos\n      run: |\n        python scripts/upload_website_demos.py --AUTH_TOKEN ${{ secrets.WEBSITE_SPACES_DEPLOY_TOKEN }} \\\n        --WHEEL_URL https://gradio-builds.s3.amazonaws.com/${{ needs.changes.outputs.sha }}/ \\\n        --CLIENT_URL \"gradio-client @ git+https://github.com/gradio-app/gradio@${{ needs.changes.outputs.sha }}#subdirectory=client/python\" \\\n        --GRADIO_VERSION ${{ steps.get_gradio_version.outputs.GRADIO_VERSION }}\n    - name: log\n      run: |\n        echo ${{github.event.workflow_run.event }}\n        echo ${{ github.event.workflow_run.conclusion }}\n\n  comment-spaces-success:\n    uses: \"./.github/workflows/comment-queue.yml\"\n    needs: [deploy-spaces, changes]\n    if: needs.deploy-spaces.result == 'success' && needs.changes.outputs.found_pr == 'true'\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.changes.outputs.pr_number }}\n      message: spaces~success~${{ needs.deploy-spaces.outputs.space_url }}\n      additional_text: |\n        **Install Gradio from this PR**\n        ```bash\n        pip install https://gradio-builds.s3.amazonaws.com/${{ needs.changes.outputs.sha }}/gradio-${{ needs.deploy-spaces.outputs.gradio_version }}-py3-none-any.whl\n        ```\n\n        **Install Gradio Python Client from this PR**\n        ```bash\n        pip install \"gradio-client @ git+https://github.com/gradio-app/gradio@${{ needs.changes.outputs.sha }}#subdirectory=client/python\"\n        ```\n        \n        **Install Gradio JS Client from this PR**\n        ```bash\n        npm install ${{ needs.deploy-spaces.outputs.js_tarball_url }}\n        ```\n  comment-spaces-failure:\n    uses: \"./.github/workflows/comment-queue.yml\"\n    needs: [deploy-spaces, changes]\n    if: always() && needs.deploy-spaces == 'failure' && needs.changes.outputs.found_pr == 'true'\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.changes.outputs.pr_number }}\n      message: spaces~failure~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/\n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:17.943032", "created_at": "2022-09-13T16:57:46+02:00", "updated_at": "2022-09-14T17:15:28+02:00", "name": "Delete Stale Spaces", "path": ".github/workflows/delete-stale-spaces.yml", "contents": "name: Delete Stale Spaces\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n  workflow_dispatch:\n    inputs:\n      daysStale:\n        description: 'How stale a space needs to be to be deleted (days)'\n        required: true\n        default: '7'\n\n\njobs:\n  delete-old-spaces:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Install pip\n      run: python -m pip install pip wheel requests\n    - name: Install Hub Client Library\n      run: pip install huggingface-hub==0.9.1\n    - name: Set daysStale\n      env:\n        DEFAULT_DAYS_STALE: '7'\n      run: echo \"DAYS_STALE=${{ github.event.inputs.daysStale || env.DEFAULT_DAYS_STALE }}\" >> $GITHUB_ENV\n    - name: Find and delete stale spaces\n      run: |\n        python scripts/delete_old_spaces.py $DAYS_STALE \\\n        gradio-pr-deploys \\\n        ${{ secrets.SPACES_DEPLOY_TOKEN }}\n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:19.010928", "created_at": "2022-09-20T22:40:00+02:00", "updated_at": "2023-08-02T01:21:10+02:00", "name": "check-changelog", "path": ".github/workflows/check-changelog.yml", "contents": null, "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:20.218536", "created_at": "2023-06-18T12:19:52+02:00", "updated_at": "2023-06-18T12:19:52+02:00", "name": ".github/workflows/install-all-deps.yml", "path": ".github/workflows/install-all-deps.yml", "contents": null, "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:21.333077", "created_at": "2023-06-28T00:16:22+02:00", "updated_at": "2023-06-28T00:16:22+02:00", "name": "Chromatic", "path": ".github/workflows/chromatic.yml", "contents": null, "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:22.443836", "created_at": "2023-07-10T14:37:38+02:00", "updated_at": "2024-02-02T15:46:39+01:00", "name": "deploy to chromatic", "path": ".github/workflows/deploy-chromatic.yml", "contents": null, "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:23.582432", "created_at": "2023-07-19T00:34:51+02:00", "updated_at": "2023-07-20T13:39:24+02:00", "name": "trigger changeset generation", "path": ".github/workflows/prs.yml", "contents": null, "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:24.601026", "created_at": "2023-07-20T13:47:06+02:00", "updated_at": "2024-02-01T03:10:33+01:00", "name": "trigger-changeset", "path": ".github/workflows/trigger-changeset.yml", "contents": "name: trigger-changeset\non:\n  pull_request:\n    types: [opened, synchronize, reopened, edited, labeled, unlabeled]\n    branches:\n      - main\n  issue_comment:\n    types: [edited]\n\n\njobs:\n  changeset:\n    permissions: write-all\n    runs-on: ubuntu-22.04\n    if: github.event.sender.login != 'gradio-pr-bot'\n    steps:\n      - run: echo \"Requesting changeset\"\n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:25.836618", "created_at": "2023-07-21T20:13:26+02:00", "updated_at": "2024-03-06T19:28:31+01:00", "name": "Generate changeset", "path": ".github/workflows/generate-changeset.yml", "contents": "name: Generate changeset\non:\n  workflow_run:\n    workflows: [\"trigger-changeset\"]\n    types:\n      - completed\n\nenv:\n  CI: true\n  NODE_OPTIONS: \"--max-old-space-size=4096\"\n\nconcurrency:\n  group: \"${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}\"\n  cancel-in-progress: true\n\njobs:\n  get-pr:\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.conclusion == 'success'\n    outputs:\n      found_pr: ${{ steps.pr_details.outputs.found_pr }}\n      pr_number: ${{ steps.pr_details.outputs.pr_number }}\n      source_repo: ${{ steps.pr_details.outputs.source_repo }}\n      source_branch: ${{ steps.pr_details.outputs.source_branch }}\n    steps:\n    - name: get pr details\n      id: pr_details\n      uses: gradio-app/github/actions/find-pr@main\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n  comment-changes-start:\n    uses: \"./.github/workflows/comment-queue.yml\"\n    needs: get-pr\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.get-pr.outputs.pr_number }}\n      message: changes~pending~null\n  version:\n    permissions: write-all\n    name: static checks\n    needs: get-pr\n    runs-on: ubuntu-22.04\n    if: needs.get-pr.outputs.found_pr == 'true'\n    outputs:\n      skipped: ${{ steps.version.outputs.skipped }}\n      comment_url: ${{ steps.version.outputs.comment_url }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: ${{ needs.get-pr.outputs.source_repo }}\n          ref: ${{ needs.get-pr.outputs.source_branch }}\n          fetch-depth: 0\n          token: ${{ secrets.COMMENT_TOKEN }}\n      - name: generate changeset\n        id: version\n        uses: \"gradio-app/github/actions/generate-changeset@main\"\n        with: \n          github_token: ${{ secrets.COMMENT_TOKEN }}\n          main_pkg: gradio\n          pr_number: ${{ needs.get-pr.outputs.pr_number }}\n          branch_name: ${{ needs.get-pr.outputs.source_branch }}\n  comment-changes-skipped:\n    uses: \"./.github/workflows/comment-queue.yml\"\n    needs: [get-pr, version]\n    if: needs.version.result == 'success' && needs.version.outputs.skipped == 'true'\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.get-pr.outputs.pr_number }}\n      message: changes~warning~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/\n  comment-changes-success:\n    uses: \"./.github/workflows/comment-queue.yml\"\n    needs: [get-pr, version]\n    if: needs.version.result == 'success' && needs.version.outputs.skipped == 'false'\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.get-pr.outputs.pr_number }}\n      message: changes~success~${{ needs.version.outputs.comment_url }}\n  comment-changes-failure:\n    uses: \"./.github/workflows/comment-queue.yml\"\n    needs: [get-pr, version]\n    if: always() && needs.version.result == 'failure'\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.get-pr.outputs.pr_number }}\n      message: changes~failure~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/\n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:26.870443", "created_at": "2023-08-11T16:55:03+02:00", "updated_at": "2023-08-11T16:55:03+02:00", "name": "Comment on pull request without race conditions", "path": ".github/workflows/comment-queue.yml", "contents": "name: Comment on pull request without race conditions\n\non:\n  workflow_call:\n    inputs:\n      pr_number:\n        type: string\n      message:\n        required: true\n        type: string\n      tag:\n        required: false\n        type: string\n        default: \"previews\"\n      additional_text:\n        required: false\n        type: string\n        default: \"\"\n    secrets:\n      gh_token:\n        required: true\n\njobs:\n  comment:\n    concurrency:\n      group: ${{inputs.pr_number || inputs.tag}}\n    runs-on: ubuntu-latest\n    steps:\n      - name: comment on pr\n        uses: \"gradio-app/github/actions/comment-pr@main\"\n        with:\n          gh_token: ${{ secrets.gh_token }}\n          tag: ${{ inputs.tag }}\n          pr_number: ${{ inputs.pr_number}}\n          message: ${{ inputs.message }}\n          additional_text: ${{ inputs.additional_text }}\n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:27.924883", "created_at": "2023-08-11T16:55:03+02:00", "updated_at": "2024-02-01T11:34:24+01:00", "name": "deploy / website", "path": ".github/workflows/deploy-website.yml", "contents": "name: \"deploy / website\"\n\non:\n  workflow_run:\n    workflows: [\"trigger\"]\n    types: \n      - requested\n\npermissions:\n  statuses: write\n\nconcurrency:\n  group: \"${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}\"\n  cancel-in-progress: true\n  \n\nenv:\n  VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}\n  VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}\n\njobs:\n  changes:\n    name: \"changes\"\n    runs-on: ubuntu-latest\n    outputs:\n      should_run: ${{ steps.changes.outputs.should_run }}\n      sha: ${{ steps.changes.outputs.sha }}\n      merge_sha: ${{ steps.changes.outputs.merge_sha }}\n      pr_number: ${{ steps.changes.outputs.pr_number }}\n      source_branch: ${{ steps.changes.outputs.source_branch }}\n      source_repo: ${{ steps.changes.outputs.source_repo }}\n      found_pr: ${{ steps.changes.outputs.found_pr }}\n      mergeable: ${{ steps.changes.outputs.mergeable }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: \"gradio-app/gradio/.github/actions/changes@main\"\n        id: changes\n        with:\n          type: \"website\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n          commit_status: false\n  comment-deploy-start:\n    needs: changes\n    uses: \"./.github/workflows/comment-queue.yml\"\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.changes.outputs.pr_number }}\n      message: website~pending~null\n  deploy-website:\n    name: \"deploy-website\"\n    runs-on: ubuntu-latest\n    needs: changes\n    if: needs.changes.outputs.should_run == 'true'\n    outputs:\n      vercel_url: ${{ steps.output_url.outputs.vercel_url }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ needs.changes.outputs.merge_sha }}\n          repository: ${{ needs.changes.outputs.mergeable == 'true' &&  github.repository || needs.changes.outputs.source_repo }}\n      - name: install dependencies\n        uses: \"gradio-app/gradio/.github/actions/install-all-deps@main\"\n        with:\n          always_install_pnpm: true\n          skip_build: true\n      - name: build client\n        run: pnpm --filter @gradio/client build\n      - name: deploy json to aws\n        if: needs.changes.outputs.source_branch == 'changeset-release/main' && needs.changes.outputs.source_repo == 'gradio-app/gradio'\n        run: |\n          export AWS_ACCESS_KEY_ID=${{ secrets.AWSACCESSKEYID }}\n          export AWS_SECRET_ACCESS_KEY=${{ secrets.AWSSECRETKEY }}\n          export AWS_DEFAULT_REGION=us-west-2\n          version=$(jq -r .version js/_website/src/lib/json/version.json)\n          aws s3 cp ./js/_website/src/lib/json/ s3://gradio-docs-json/$version/ --recursive\n          aws s3 cp ./js/_website/src/lib/templates/ s3://gradio-docs-json/$version/templates/ --recursive\n      - name: Install Vercel CLI\n        run: pnpm install --global vercel@latest\n      # preview\n      - name: Pull Vercel Environment Information\n        shell: bash\n        if: needs.changes.outputs.found_pr == 'true'\n        run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}\n      - name: Build Project Artifacts\n        if: needs.changes.outputs.found_pr == 'true'\n        shell: bash\n        run: vercel build --token=${{ secrets.VERCEL_TOKEN }}\n      - name: Deploy Project Artifacts to Vercel\n        if: needs.changes.outputs.found_pr == 'true'\n        id: output_url\n        shell: bash\n        run: echo \"vercel_url=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})\" >> $GITHUB_OUTPUT\n      # production\n      - name: Pull Vercel Environment Information\n        if: needs.changes.outputs.source_repo == 'gradio-app/gradio' && needs.changes.outputs.source_branch == 'main'\n        shell: bash\n        run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}\n      - name: Build Project Artifacts\n        if: needs.changes.outputs.source_repo == 'gradio-app/gradio' && needs.changes.outputs.source_branch == 'main'\n        shell: bash\n        run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}\n      - name: Deploy Project Artifacts to Vercel\n        if: needs.changes.outputs.source_repo == 'gradio-app/gradio' && needs.changes.outputs.source_branch == 'main'\n        shell: bash\n        run: echo \"VERCEL_URL=$(vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }})\" >> $GITHUB_ENV\n     \n\n  comment-deploy-success:\n    uses: \"./.github/workflows/comment-queue.yml\"\n    needs: [deploy-website, changes]\n    if: needs.deploy-website.result == 'success' && needs.changes.outputs.found_pr == 'true'\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.changes.outputs.pr_number }}\n      message: website~success~${{needs.deploy-website.outputs.vercel_url}}\n  comment-deploy-failure:\n    uses: \"./.github/workflows/comment-queue.yml\"\n    needs: [deploy-website, changes]\n    if: always() && needs.deploy-website.result == 'failure' && needs.changes.outputs.found_pr == 'true'\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.changes.outputs.pr_number }}\n      message: website~failure~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/\n    \n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:28.921620", "created_at": "2023-08-19T10:15:34+02:00", "updated_at": "2023-08-19T10:15:34+02:00", "name": ".github/workflows/upload-website-demos.yml", "path": ".github/workflows/upload-website-demos.yml", "contents": null, "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:30.137312", "created_at": "2024-01-31T22:00:48+01:00", "updated_at": "2024-02-01T11:34:25+01:00", "name": "test / python", "path": ".github/workflows/test-python.yml", "contents": "name: \"test / python\"\n\non:\n  workflow_run:\n    workflows: [\"trigger\"]\n    types: \n      - requested\n\npermissions:\n  statuses: write\n\nconcurrency:\n  group: \"${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}\"\n  cancel-in-progress: true\n\nenv:\n  NODE_OPTIONS: \"--max-old-space-size=4096\"\n  HF_TOKEN: ${{ secrets.HF_TOKEN }}\n\njobs:\n  changes:\n    name: \"changes\"\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    outputs:\n      should_run: ${{ steps.changes.outputs.should_run }}\n      sha: ${{ steps.changes.outputs.sha }}\n      pr_number: ${{ steps.changes.outputs.pr_number }}\n      source_branch: ${{ steps.changes.outputs.source_branch }}\n      source_repo: ${{ steps.changes.outputs.source_repo }}\n      merge_sha: ${{ steps.changes.outputs.merge_sha }}\n      labels: ${{ steps.changes.outputs.labels }}\n      mergeable: ${{ steps.changes.outputs.mergeable }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: \"gradio-app/gradio/.github/actions/changes@main\"\n        id: changes\n        with:\n          type: \"gradio\"\n          name: \"test / python / linux\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n  test-python:\n    needs: [changes]\n    if: needs.changes.outputs.should_run == 'true'\n    name: \"test-python-${{ matrix.os }}-${{ matrix.test-type == 'flaky' && 'flaky' || 'not-flaky'}}\"\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\", \"windows-latest\"]\n        test-type: [\"not flaky\", \"flaky\"]\n        exclude:\n          - os: ${{ github.event.workflow_run.event == 'pull_request' && contains( needs.changes.outputs.labels, 'windows-tests') && 'dummy' || 'windows-latest' }}\n          - test-type: ${{ github.event.workflow_run.event == 'pull_request' && contains( needs.changes.outputs.labels, 'flaky-tests') && 'dummy' || 'flaky' }}\n    runs-on: ${{ matrix.os }}\n    continue-on-error: true\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ needs.changes.outputs.merge_sha }}\n        repository: ${{ needs.changes.outputs.mergeable == 'true' &&  github.repository || needs.changes.outputs.source_repo }}\n    - name: install dependencies\n      id: install_deps\n      uses: \"gradio-app/gradio/.github/actions/install-all-deps@main\"\n      with:\n        python_version: \"3.8\"\n        os: ${{ matrix.os }}\n        test: true\n    - name: Lint\n      if: runner.os == 'Linux'\n      run: |\n        . venv/bin/activate\n        ./scripts/lint_backend.sh\n    - name: Typecheck\n      if: runner.os == 'Linux'\n      run: |\n        . venv/bin/activate\n        ./scripts/type_check_backend.sh\n    - name: Run tests\n      run: |\n        . ${{steps.install_deps.outputs.venv_activate}}\n        python -m pytest -m \"${{ matrix.test-type }}\"\n    - name: do check\n      if: always()\n      uses: \"gradio-app/github/actions/commit-status@main\"\n      with:\n        type: \"gradio\"\n        token: ${{ secrets.GITHUB_TOKEN }}\n        pr: ${{ needs.changes.outputs.pr_number }}\n        sha: ${{ needs.changes.outputs.sha }}\n        name: \"test / python / ${{ matrix.os == 'ubuntu-latest' && 'linux' || 'windows'}}\"\n        result: ${{ job.status }}\n        job_id: \"test-python-${{ matrix.os }}-${{ matrix.test-type == 'flaky' && 'flaky' || 'not-flaky'}}\"\n\n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:31.191353", "created_at": "2024-01-31T22:00:48+01:00", "updated_at": "2024-02-01T11:34:25+01:00", "name": "test / js", "path": ".github/workflows/tests-js.yml", "contents": "name: \"test / js\"\n\non:\n  workflow_run:\n    workflows: [\"trigger\"]\n    types: \n      - requested\n\npermissions:\n  statuses: write\n\nenv:\n  CI: true\n  PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: \"1\"\n  NODE_OPTIONS: \"--max-old-space-size=4096\"\n  VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}\n  VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}\n\nconcurrency:\n  group: \"${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}\"\n  cancel-in-progress: true\n\njobs:\n  changes:\n    name: \"changes\"\n    runs-on: ubuntu-latest\n    outputs:\n      should_run: ${{ steps.changes.outputs.should_run }}\n      sha: ${{ steps.changes.outputs.sha }}\n      merge_sha: ${{ steps.changes.outputs.merge_sha }}\n      pr_number: ${{ steps.changes.outputs.pr_number }}\n      source_branch: ${{ steps.changes.outputs.source_branch }}\n      source_repo: ${{ steps.changes.outputs.source_repo }}\n      mergeable: ${{ steps.changes.outputs.mergeable }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: \"gradio-app/gradio/.github/actions/changes@main\"\n        id: changes\n        with:\n          type: \"js\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n  test-js:\n    needs: changes\n    if: needs.changes.outputs.should_run == 'true'\n    name: test-js\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ needs.changes.outputs.merge_sha }}\n          repository: ${{ needs.changes.outputs.mergeable == 'true' &&  github.repository || needs.changes.outputs.source_repo }}\n      - name: install dependencies\n        uses: \"gradio-app/gradio/.github/actions/install-frontend-deps@main\"\n        with:\n          always_install_pnpm: true\n      - name: build client\n        run: pnpm --filter @gradio/client build\n      - name: build the wasm module\n        run: pnpm --filter @gradio/wasm build\n      - name: format check\n        run: pnpm format:check\n      - name: lint\n        run: pnpm lint\n      - name: typecheck\n        run: pnpm ts:check\n      - name: unit tests\n        run: pnpm test:run\n      - name: client tests\n        run: pnpm --filter @gradio/client test\n      - name: do check\n        if: always()\n        uses: \"gradio-app/github/actions/commit-status@main\"\n        with:\n          type: \"js\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n          pr: ${{ needs.changes.outputs.pr_number }}\n          sha: ${{ needs.changes.outputs.sha }}\n          name: \"test / js\"\n          result: ${{ job.status }}\n          job_id: \"test-js\"  \n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:32.288297", "created_at": "2024-01-31T22:33:34+01:00", "updated_at": "2024-02-01T11:34:24+01:00", "name": "test / hygiene", "path": ".github/workflows/test-hygiene.yml", "contents": "name: \"test / hygiene\"\n\non:\n  workflow_run:\n    workflows: [\"trigger\"]\n    types: \n      - requested\n\npermissions:\n  statuses: write\n\nconcurrency:\n  group: \"${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}\"\n  cancel-in-progress: true\n\njobs:\n  changes:\n    name: \"changes\"\n    runs-on: ubuntu-latest\n    outputs:\n      should_run: ${{ steps.changes.outputs.should_run }}\n      sha: ${{ steps.changes.outputs.sha }}\n      pr_number: ${{ steps.changes.outputs.pr_number }}\n      source_branch: ${{ steps.changes.outputs.source_branch }}\n      source_repo: ${{ steps.changes.outputs.source_repo }}\n      merge_sha: ${{ steps.changes.outputs.merge_sha }}\n      mergeable: ${{ steps.changes.outputs.mergeable }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: \"gradio-app/gradio/.github/actions/changes@main\"\n        id: changes\n        with:\n          type: \"all\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n  test-hygiene:\n    name: \"test-hygiene\"\n    runs-on: ubuntu-latest\n    needs: changes\n    if: needs.changes.outputs.should_run == 'true'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ needs.changes.outputs.merge_sha }}\n          repository: ${{ needs.changes.outputs.mergeable == 'true' &&  github.repository || needs.changes.outputs.source_repo }}\n      - name: Generate Notebooks\n        run: |\n          pip install nbformat && python scripts/generate_notebooks.py\n      - name: Print Git Status\n        run: echo $(git status) && echo $(git diff)\n      - name: Assert Notebooks Match \n        run: git status | grep \"nothing to commit, working tree clean\"\n      - name: Check for large files\n        uses: actionsdesk/lfs-warning@v3.3\n        with:\n          filesizelimit: 5MB\n      - name: do check\n        if: always()\n        uses: \"gradio-app/github/actions/commit-status@main\"\n        with:\n          type: \"all\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n          pr: ${{ needs.changes.outputs.pr_number }}\n          sha: ${{ needs.changes.outputs.sha }}\n          name: \"test / hygiene\"\n          result: ${{ job.status }}\n          job_id: \"test-hygiene\"\n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:33.414964", "created_at": "2024-01-31T23:52:03+01:00", "updated_at": "2024-05-01T11:15:23+02:00", "name": "test / functional", "path": ".github/workflows/test-functional.yml", "contents": "name: \"test / functional\"\n\non:\n  workflow_run:\n    workflows: [\"trigger\"]\n    types:\n      - requested\n\npermissions:\n  statuses: write\n\nconcurrency:\n  group: \"${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}\"\n  cancel-in-progress: true\n\njobs:\n  changes:\n    name: \"changes\"\n    runs-on: ubuntu-latest\n    outputs:\n      should_run: ${{ steps.changes.outputs.should_run }}\n      sha: ${{ steps.changes.outputs.sha }}\n      merge_sha: ${{ steps.changes.outputs.merge_sha }}\n      pr_number: ${{ steps.changes.outputs.pr_number }}\n      source_branch: ${{ steps.changes.outputs.source_branch }}\n      source_repo: ${{ steps.changes.outputs.source_repo }}\n      mergeable: ${{ steps.changes.outputs.mergeable }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: \"gradio-app/gradio/.github/actions/changes@main\"\n        id: changes\n        with:\n          type: \"functional\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  test-functional:\n    name: \"test-functional\"\n    needs: changes\n    if: needs.changes.outputs.should_run == 'true'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ needs.changes.outputs.merge_sha }}\n          repository: ${{ needs.changes.outputs.mergeable == 'true' &&  github.repository || needs.changes.outputs.source_repo }}\n      - name: install dependencies\n        id: install_deps\n        uses: \"gradio-app/gradio/.github/actions/install-all-deps@main\"\n        with:\n          always_install_pnpm: true\n          build_lite: true\n      - name: install outbreak_forecast dependencies\n        run: |\n          . venv/bin/activate\n          python -m pip install -r demo/outbreak_forecast/requirements.txt\n          python -m pip install -r demo/gradio_pdf_demo/requirements.txt\n      - run: pnpm exec playwright install chromium\n      - name: run browser tests\n        run: |\n          . venv/bin/activate\n          CI=1 pnpm test:browser\n      - name: upload screenshots\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: playwright-screenshots\n          path: |\n            ./test-results\n      - name: run browser component tests\n        run: |\n          . venv/bin/activate\n          pnpm run test:ct\n      - name: run reload mode test\n        run: |\n          . venv/bin/activate\n          pnpm test:browser:reload\n      - name: Run Lite E2E tests\n        run: |\n          . venv/bin/activate\n          pnpm --filter @gradio/app test:browser:lite\n      - name: do check\n        if: always()\n        uses: \"gradio-app/github/actions/commit-status@main\"\n        with:\n          type: \"functional\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n          pr: ${{ needs.changes.outputs.pr_number }}\n          sha: ${{ needs.changes.outputs.sha }}\n          name: \"test / functional\"\n          result: ${{ job.status }}\n          job_id: \"test-functional\"\n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:34.613845", "created_at": "2024-01-31T23:54:44+01:00", "updated_at": "2024-02-01T11:34:24+01:00", "name": "test / visual", "path": ".github/workflows/deploy+test-visual.yml", "contents": "name: \"test / visual\"\n\non:\n  workflow_run:\n    workflows: [\"trigger\"]\n    types: \n      - requested\n\npermissions:\n  statuses: write\n\nconcurrency:\n\n  group: \"${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}\"\n  cancel-in-progress: true\n\njobs:\n  changes:\n    name: \"changes\"\n    runs-on: ubuntu-latest\n    outputs:\n      should_run: ${{ steps.changes.outputs.should_run }}\n      sha: ${{ steps.changes.outputs.sha }}\n      pr_number: ${{ steps.changes.outputs.pr_number }}\n      source_branch: ${{ steps.changes.outputs.source_branch }}\n      source_repo: ${{ steps.changes.outputs.source_repo }}\n      labels: ${{ steps.changes.outputs.labels }}\n      mergeable: ${{ steps.changes.outputs.mergeable }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: \"gradio-app/gradio/.github/actions/changes@main\"\n        id: changes\n        with:\n          type: \"visual\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n          name: \"UI Tests\"\n  comment-chromatic-start:\n    uses: \"./.github/workflows/comment-queue.yml\"\n    needs: changes\n    if: ${{ needs.changes.outputs.should_run == 'true' }}\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.changes.outputs.pr_number }}\n      message: |\n        storybook~pending~null\n  test-visual:\n    name: \"test-visual\"\n    needs: changes\n    if: ${{ needs.changes.outputs.should_run == 'true' && github.repository == 'gradio-app/gradio' && !contains(needs.changes.outputs.labels, 'no-visual-update') }}\n    runs-on: ubuntu-latest\n    outputs:\n      changes: ${{ steps.publish-chromatic.outputs.changeCount }}\n      errors: ${{ steps.publish-chromatic.outputs.errorCount }}\n      storybook_url: ${{ steps.publish-chromatic.outputs.storybookUrl }}\n      build_url: ${{ steps.publish-chromatic.outputs.buildUrl }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n            fetch-depth: 0\n            ref: ${{ needs.changes.outputs.sha }}\n            repository: ${{ needs.changes.outputs.mergeable == 'true' &&  github.repository || needs.changes.outputs.source_repo }}\n      - name: install dependencies\n        uses: \"gradio-app/gradio/.github/actions/install-all-deps@main\"\n        with:\n          always_install_pnpm: true\n          skip_build: 'true'\n      - name: build client\n        run: pnpm --filter @gradio/client build \n      - name: generate theme.css\n        run: | \n          . venv/bin/activate\n          python scripts/generate_theme.py --outfile js/storybook/theme.css\n      - name: build storybook\n        run: pnpm build-storybook --quiet\n      - name: publish to chromatic\n        id: publish-chromatic\n        uses: chromaui/action@v11\n        with:\n          projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          onlyChanged: true\n          exitOnceUploaded: true\n   \n  comment-chromatic-end:\n    uses: \"./.github/workflows/comment-queue.yml\"\n    needs: [test-visual, changes]\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.changes.outputs.pr_number }}\n      message: |\n        storybook~success~${{ needs.test-visual.outputs.storybook_url }}\n       \n  comment-chromatic-fail:\n    uses: \"./.github/workflows/comment-queue.yml\"\n    needs: [test-visual, changes]\n    if: always() && needs.test-visual.result == 'failure'\n    secrets:\n      gh_token: ${{ secrets.COMMENT_TOKEN }}\n    with:\n      pr_number: ${{ needs.changes.outputs.pr_number }}\n      message: |\n        storybook~failure~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/\n        \n\n\n# visual~success~${{ needs.chromatic-deployment.outputs.changes }}~${{ needs.chromatic-deployment.outputs.errors }}~${{ needs.chromatic-deployment.outputs.build_url }}\n\n# visual~failure~0~0~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/\n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:35.670198", "created_at": "2024-02-01T01:46:57+01:00", "updated_at": "2024-03-27T12:23:49+01:00", "name": "publish", "path": ".github/workflows/publish.yml", "contents": "name: publish\non:\n  push:\n    branches:\n      - main\n\nenv:\n  CI: true\n  PNPM_CACHE_FOLDER: .pnpm-store\n  NODE_OPTIONS: \"--max-old-space-size=4096\"\njobs:\n  version_or_publish:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: checkout repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          persist-credentials: false\n      - name: install dependencies\n        uses: \"gradio-app/gradio/.github/actions/install-all-deps@main\"\n        with:\n          always_install_pnpm: true\n          skip_build: 'false'\n      - name: Build packages\n        run: |\n          . venv/bin/activate\n          pip install -U build hatch packaging>=23.2  # packaging>=23.2 is needed to build Lite due to https://github.com/pypa/hatch/issues/1381\n          pnpm --filter @gradio/client --filter @gradio/lite --filter @gradio/preview build\n      - name: create and publish versions\n        id: changesets\n        uses: changesets/action@v1\n        with:\n          version: pnpm ci:version\n          commit: \"chore: update versions\"\n          title: \"chore: update versions\"\n          publish: pnpm ci:publish\n        env:\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.GRADIO_PAT }}\n      - name: add label to skip chromatic build\n        if: ${{ steps.changesets.outputs.pullRequestNumber != '' && steps.changesets.outputs.pullRequestNumber != 'undefined' }}\n        run: gh pr edit \"$PR_NUMBER\" --add-label \"no-visual-update\"\n        env:\n          PR_NUMBER: ${{ steps.changesets.outputs.pullRequestNumber }}\n          GITHUB_TOKEN: ${{ secrets.GRADIO_PAT }}\n      - name: add label to run flaky tests\n        if: ${{ steps.changesets.outputs.pullRequestNumber != '' && steps.changesets.outputs.pullRequestNumber != 'undefined' }}\n        run: gh pr edit \"$PR_NUMBER\" --add-label \"flaky-tests\"\n        env:\n          PR_NUMBER: ${{ steps.changesets.outputs.pullRequestNumber }}\n          GITHUB_TOKEN: ${{ secrets.GRADIO_PAT }}\n      - name: add label to run backend tests on Windows\n        if: ${{ steps.changesets.outputs.pullRequestNumber != '' && steps.changesets.outputs.pullRequestNumber != 'undefined' }}\n        run: gh pr edit \"$PR_NUMBER\" --add-label \"windows-tests\"\n        env:\n          PR_NUMBER: ${{ steps.changesets.outputs.pullRequestNumber }}\n          GITHUB_TOKEN: ${{ secrets.GRADIO_PAT }}\n      - name: publish to pypi\n        if: steps.changesets.outputs.hasChangesets != 'true'\n        uses: \"gradio-app/github/actions/publish-pypi@main\"\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWSACCESSKEYID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWSSECRETKEY }}\n          AWS_DEFAULT_REGION: us-west-2\n        with:\n          user: __token__\n          passwords: |\n            gradio:${{ secrets.PYPI_API_TOKEN }}\n            gradio_client:${{ secrets.PYPI_GRADIO_CLIENT_TOKEN }}\n      - name: trigger spaces deploy workflow\n        env:\n          GITHUB_TOKEN: ${{ secrets.COMMENT_TOKEN }}\n        run: gh workflow run deploy-spaces.yml\n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:36.709308", "created_at": "2024-02-01T02:06:36+01:00", "updated_at": "2024-02-01T02:06:41+01:00", "name": "trigger", "path": ".github/workflows/trigger-checks.yml", "contents": "name: trigger\non:\n  pull_request:\n    types: [opened, synchronize, reopened, labeled, unlabeled]\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\njobs:\n  checks:\n    permissions: write-all\n    runs-on: ubuntu-22.04\n    if: github.event.sender.login != 'gradio-pr-bot'\n    steps:\n      - run: echo \"Requesting checks\"\n", "state": "active", "repository": "gradio-app/gradio"}
{"mined_at": "2024-07-15T16:07:39.148656", "created_at": "2021-02-27T03:21:26+01:00", "updated_at": "2021-02-27T03:21:26+01:00", "name": "build tag", "path": ".github/workflows/build-tag.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions when a new tag is created\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: build tag\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox tox-gh-actions\n    - name: Test with tox\n      run: tox\n\n    #   run: |\n    #     python -m pip install --upgrade pip\n    #     python -m pip install flake8 pytest\n    #     if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    # - name: Lint with flake8\n    #   run: |\n    #     # stop the build if there are Python syntax errors or undefined names\n    #     flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n    #     # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n    #     flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    # - name: Test with pytest\n    #   run: |\n    #     pytest", "state": "active", "repository": "jeshraghian/snntorch"}
{"mined_at": "2024-07-15T16:07:40.149617", "created_at": "2021-02-27T03:21:26+01:00", "updated_at": "2021-02-27T03:21:26+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: build\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox tox-gh-actions\n    - name: Test with tox\n      run: tox\n\n    #   run: |\n    #     python -m pip install --upgrade pip\n    #     python -m pip install flake8 pytest\n    #     if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    # - name: Lint with flake8\n    #   run: |\n    #     # stop the build if there are Python syntax errors or undefined names\n    #     flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n    #     # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n    #     flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    # - name: Test with pytest\n    #   run: |\n    #     pytest\n", "state": "active", "repository": "jeshraghian/snntorch"}
{"mined_at": "2024-07-15T16:07:41.201363", "created_at": "2021-02-27T03:13:21+01:00", "updated_at": "2021-02-27T03:13:21+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a tag is created and all tests run successfully\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  workflow_run: \n    workflows: [\"build tag\"]\n    # branches: [main] \n    types:\n      - completed\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*", "state": "active", "repository": "jeshraghian/snntorch"}
{"mined_at": "2024-07-15T16:07:44.781721", "created_at": "2023-07-20T01:36:13+02:00", "updated_at": "2023-07-25T18:00:35+02:00", "name": "Build images for GHCR", "path": ".github/workflows/dev_images.yml", "contents": "name: Build images for GHCR\non: [push]\nenv:\n  # NOTE keep versions in sync with version in TOSCA templates\n  TERRAFORM_VERSION: 1.1.4 # sync with tosca_plugins/artifacts.yaml\n  HELM_VERSION: 3.7.1 # sync with configurators/helm-template.yaml\n  GCLOUD_VERSION: 398.0.0 # sync with tosca_plugins/artifacts.yaml and Dockerfile\n  KOMPOSE_VERSION: v1.26.1 # sync with Dockerfile\n  KUBECTL_VERSION: v1.24.2\n  K3D_VERSION: v4.4.6\n\njobs:\n  publish_ghcr:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fetch repo\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n          fetch-depth: 0\n\n      - name: Log in to registry\n        uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1\n        with:\n          registry: https://ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ghcr.io/onecommons/unfurl\n          # commit sha, branch name, tag name, latest on main\n          tags: |\n            type=sha,prefix=\n            type=ref,event=branch\n            type=ref,event=tag\n            type=raw,value=latest,enable={{is_default_branch}}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v4\n        with:\n          context: ./\n          file: ./docker/Dockerfile\n          push: true\n          build-args: |\n            HELM_VERSION=${{ env.HELM_VERSION }}\n            TERRAFORM_VERSION=${{ env.TERRAFORM_VERSION }}\n            GCLOUD_VERSION=${{ env.GCLOUD_VERSION }}\n            KOMPOSE_VERSION=${{ env.KOMPOSE_VERSION }}\n          tags: ${{ steps.meta.outputs.tags }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n  publish_ghcr_server:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fetch repo\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n          fetch-depth: 0\n\n      - name: Log in to registry\n        uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1\n        with:\n          registry: https://ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ghcr.io/onecommons/unfurl\n          # commit sha, branch name, tag name, latest on main\n          tags: |\n            type=sha,prefix=,suffix=-server\n            type=ref,event=branch,suffix=-server\n            type=ref,event=tag,suffix=-server\n            type=raw,value=latest,suffix=-server,enable={{is_default_branch}}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v4\n        with:\n          context: ./\n          file: ./docker/Dockerfile.server\n          push: true\n          build-args: |\n            HELM_VERSION=${{ env.HELM_VERSION }}\n            TERRAFORM_VERSION=${{ env.TERRAFORM_VERSION }}\n            GCLOUD_VERSION=${{ env.GCLOUD_VERSION }}\n            KOMPOSE_VERSION=${{ env.KOMPOSE_VERSION }}\n          tags: ${{ steps.meta.outputs.tags }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n  publish_ghcr_server_nginx:\n    runs-on: ubuntu-latest\n    needs: publish_ghcr_server\n    steps:\n      - name: Fetch repo\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n          fetch-depth: 0\n\n      - name: Log in to registry\n        uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1\n        with:\n          registry: https://ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ghcr.io/onecommons/unfurl\n          # commit sha, branch name, tag name, latest on main\n          tags: |\n            type=sha,prefix=,suffix=-server-cached\n            type=ref,event=branch,suffix=-server-cached\n            type=ref,event=tag,suffix=-server-cached\n            type=raw,value=latest,suffix=-server-cached,enable={{is_default_branch}}\n\n      - name: Extract short sha\n        id: extract\n        # GH's github.sha is the full ref hash, not the short one\n        run: |\n          echo \"sha_short=$(echo \"${{ github.sha }}\" | head -c 7)\" >> $GITHUB_OUTPUT\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v4\n        with:\n          context: ./\n          file: ./docker/Dockerfile.server-cached\n          push: true\n          build-args: |\n            FROM_TAG=${{ steps.extract.outputs.sha_short }}-server\n          tags: ${{ steps.meta.outputs.tags }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n", "state": "active", "repository": "onecommons/unfurl"}
{"mined_at": "2024-07-15T16:07:45.882756", "created_at": "2021-10-01T06:07:27+02:00", "updated_at": "2023-07-20T04:12:01+02:00", "name": "Test and Build", "path": ".github/workflows/on_push.yml", "contents": "name: Test and Build\non: [push]\nenv:\n  # NOTE keep versions in sync with version in TOSCA templates\n  TERRAFORM_VERSION: 1.1.4 # sync with tosca_plugins/artifacts.yaml\n  HELM_VERSION: 3.7.1 # sync with configurators/helm-template.yaml\n  GCLOUD_VERSION: 398.0.0 # sync with tosca_plugins/artifacts.yaml and Dockerfile\n  KOMPOSE_VERSION: v1.26.1 # sync with Dockerfile\n  KUBECTL_VERSION: v1.24.2\n  K3D_VERSION: v4.4.6\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [3.8, 3.9, \"3.10\", \"3.11.0\", \"3.12\"]\n    env:\n      TOX_SKIP_ENV: .+(docker|lock)\n      UNFURL_LOGGING: info\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          check-latest: true\n      - name: Setup Terraform\n        uses: hashicorp/setup-terraform@v3\n        with:\n          terraform_version: ${{ env.TERRAFORM_VERSION }}\n          terraform_wrapper: false\n      - name: Setup helm\n        uses: Azure/setup-helm@v4.0.0\n        with:\n          version: ${{ env.HELM_VERSION }}\n      - name: Setup kubectl\n        uses: Azure/setup-kubectl@v4.0.0\n        with:\n          version: ${{ env.KUBECTL_VERSION }}\n      - name: Setup kompose\n        run: |\n          wget https://github.com/kubernetes/kompose/releases/download/${KOMPOSE_VERSION}/kompose-linux-amd64\n          chmod +x kompose-linux-amd64\n          sudo mv kompose-linux-amd64 /usr/local/bin/kompose\n      - name: Setup k3d\n        run: |\n          wget https://github.com/rancher/k3d/releases/download/\"${{ env.K3D_VERSION }}\"/k3d-linux-amd64\n          chmod +x k3d-linux-amd64\n          sudo mv k3d-linux-amd64 /usr/local/bin/k3d\n      - name: Set up the cluster\n        run: |\n          k3d cluster create\n          kubectl get node\n          k3d kubeconfig merge --all -d\n          kubectl config view\n      - name: Install Tox and any other packages\n        run: pip install tox==3.28.0\n      - name: Run mypy and Tox\n        # Run tox using the version of Python in `PATH`\n        run: |\n          git config --global user.email \"unittest@onecommons.org\"\n          git config --global user.name \"Test Robot\"\n          git config --global push.autoSetupRemote true\n          git config --global init.defaultBranch main\n          export PY_V=py3`python -c \"import sys; print(sys.version_info.minor, end='')\"`\n          tox -c tosca-parser/tox.ini -v -e $PY_V\n          tox -e $PY_V -v -- -vv -n auto --dist loadfile\n          .tox/$PY_V/bin/mypy unfurl\n      - name: build docs\n        if: matrix.python == 3.9\n        run: tox -e docs -- -W --keep-going\n      - name: upload docs\n        if: matrix.python == 3.9\n        uses: actions/upload-artifact@v3\n        with:\n          name: DocumentationHTML\n          path: .tox/docs/html/\n\n  publish_dockerhub:\n    needs: test\n    if: github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    env:\n      DOCKERHUB_USER: \"ocbuilds\"\n    # Map a step output to a job output\n    outputs:\n      release: ${{ steps.get_tag_name.outputs.release }}\n    steps:\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ env.DOCKERHUB_USER }}\n          password: ${{ secrets.DOCKER_HUB }}\n      - name: Fetch repo\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - name: Get the tag name or abbreviated commit digest\n        id: get_tag_name\n        run: |\n          label=$(git describe --contains --always --match=v*)\n          echo \"tag=${label%^0}\" >> $GITHUB_OUTPUT\n          if [[ $label =~ ^v[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,4}.0$ ]]; then\n              echo \"release=true\" >> $GITHUB_OUTPUT\n          fi\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            onecommons/unfurl\n          tags: |\n            type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}\n            type=raw,value=stable,enable=${{ steps.get_tag_name.outputs.release || 'false' }}\n            type=raw,value=${{ steps.get_tag_name.outputs.tag }}\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v4\n        with:\n          context: ./\n          file: ./docker/Dockerfile\n          push: true\n          build-args: |\n            HELM_VERSION=${{ env.HELM_VERSION }}\n            TERRAFORM_VERSION=${{ env.TERRAFORM_VERSION }}\n            GCLOUD_VERSION=${{ env.GCLOUD_VERSION }}\n            KOMPOSE_VERSION=${{ env.KOMPOSE_VERSION }}\n          tags: ${{ steps.meta.outputs.tags }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n  publish_dockerhub_server:\n    needs: test\n    if: github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    env:\n      DOCKERHUB_USER: \"ocbuilds\"\n    steps:\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ env.DOCKERHUB_USER }}\n          password: ${{ secrets.DOCKER_HUB }}\n      - name: Fetch repo\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - name: Get the tag name or abbreviated commit digest\n        id: get_tag_name\n        run: |\n          label=$(git describe --contains --always --match=v*)\n          echo \"tag=${label%^0}\" >> $GITHUB_OUTPUT\n          if [[ $label =~ ^v[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,4}.0$ ]]; then\n              echo \"release=true\" >> $GITHUB_OUTPUT\n          fi\n      - name: Docker meta for unfurl server\n        id: meta_server\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            onecommons/unfurl\n          tags: |\n            type=raw,value=latest-server,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}\n            type=raw,value=stable-server,enable=${{ steps.get_tag_name.outputs.release || 'false' }}\n            type=raw,value=${{ steps.get_tag_name.outputs.tag }}-server\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build and push unfurl server\n        id: docker_build_server\n        uses: docker/build-push-action@v4\n        with:\n          context: ./\n          file: ./docker/Dockerfile.server\n          push: true\n          tags: ${{ steps.meta_server.outputs.tags }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n  publish_dockerhub_nginx:\n    needs: [test, publish_dockerhub_server]\n    if: github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    env:\n      DOCKERHUB_USER: \"ocbuilds\"\n    steps:\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ env.DOCKERHUB_USER }}\n          password: ${{ secrets.DOCKER_HUB }}\n      - name: Fetch repo\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - name: Get the tag name or abbreviated commit digest\n        id: get_tag_name\n        run: |\n          label=$(git describe --contains --always --match=v*)\n          echo \"tag=${label%^0}\" >> $GITHUB_OUTPUT\n          if [[ $label =~ ^v[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,4}.0$ ]]; then\n              echo \"release=true\" >> $GITHUB_OUTPUT\n          fi\n      - name: Docker meta for unfurl server\n        id: meta_server\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            onecommons/unfurl\n          tags: |\n            type=raw,value=latest-server-cached,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}\n            type=raw,value=stable-server-cached,enable=${{ steps.get_tag_name.outputs.release || 'false' }}\n            type=raw,value=${{ steps.get_tag_name.outputs.tag }}-server-cached\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build and push unfurl server\n        id: docker_build_server\n        uses: docker/build-push-action@v4\n        with:\n          context: ./\n          file: ./docker/Dockerfile.server-cached\n          push: true\n          build-args: |\n            FROM_IMAGE=docker.io/onecommons/unfurl\n            FROM_TAG=${{ steps.get_tag_name.outputs.tag }}-server\n          tags: ${{ steps.meta_server.outputs.tags }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n  publish_dockerhub_podman:\n    needs: publish_dockerhub\n    if: github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    env:\n      DOCKERHUB_USER: \"ocbuilds\"\n    steps:\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ env.DOCKERHUB_USER }}\n          password: ${{ secrets.DOCKER_HUB }}\n      - name: fetch repo\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - name: Get the tag name or abbreviated commit digest\n        id: get_tag_name\n        run: |\n          label=$(git describe --contains --always --match=v*)\n          echo \"tag=${label%^0}\" >> $GITHUB_OUTPUT\n          if [[ $label =~ ^[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,4}.0$ ]]; then\n              echo \"release=true\" >> $GITHUB_OUTPUT\n          fi\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            onecommons/unfurl\n          tags: |\n            type=raw,value=latest-podman,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}\n            type=raw,value=stable-podman,enable=${{ steps.get_tag_name.outputs.release || 'false' }}\n            type=raw,value=${{ steps.get_tag_name.outputs.tag }}-podman\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v4\n        with:\n          context: ./\n          file: ./docker/Dockerfile.podman\n          push: true\n          build-args: |\n            HELM_VERSION=${{ env.HELM_VERSION }}\n            TERRAFORM_VERSION=${{ env.TERRAFORM_VERSION }}\n            GCLOUD_VERSION=${{ env.GCLOUD_VERSION }}\n            KOMPOSE_VERSION=${{ env.KOMPOSE_VERSION }}\n            UNFURL_TAG=${{ steps.get_tag_name.outputs.tag }}\n          tags: ${{ steps.meta.outputs.tags }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n  publish_pypi:\n    needs: publish_dockerhub\n    if: needs.publish_dockerhub.outputs.release\n    runs-on: ubuntu-latest\n    steps:\n      - name: fetch repo\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - name: build python package\n        run: python setup.py sdist bdist_wheel\n      - name: release to pypi\n        uses: pypa/gh-action-pypi-publish@v1.6.4\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI }}\n          verbose: true\n\n  docs:\n    needs: publish_dockerhub\n    if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/publish-docs'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Download documentation\n        uses: actions/download-artifact@v3\n        with:\n          name: DocumentationHTML\n          path: build\n      - name: Commit documentation changes\n        run: |\n          git clone ${{github.server_url}}/${{github.repository}} --branch gh-pages --single-branch gh-pages\n          cp -r build/* gh-pages/\n          cd gh-pages\n          touch .nojekyll\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git add .\n          git commit -m \"Update documentation\" -a || true\n          # The above command will fail if no changes were present, so we ignore\n          # that.\n      - name: Push docs to gh-pages branch\n        uses: ad-m/github-push-action@master\n        with:\n          branch: gh-pages\n          directory: gh-pages\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "onecommons/unfurl"}
{"mined_at": "2024-07-15T16:07:48.262703", "created_at": "2021-06-26T03:40:47+02:00", "updated_at": "2021-06-26T03:40:47+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\nconcurrency: docs\n\non:\n  push:\n    branches: [develop, release]\n    paths:\n      - docs/**\n      - mkdocs.yml\n      - mkdocs.base.yml\n      - .github/workflows/docs.yml\n  pull_request:\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Track Docs Branch\n        run: git branch docs -t origin/docs\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - uses: actions/cache@v3\n        with:\n          key: ${{ github.ref }}\n          path: .cache\n      - uses: pnpm/action-setup@v2\n        with:\n          version: 8\n      - name: Lint Docs\n        run: |\n          pnpm i\n          pnpm lint\n      - name: Update pip\n        run: python -m pip install -U pip setuptools\n      - name: Set Git author\n        run: |\n          git config user.name \"github-actions[bot]\"\n          git config user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n      - name: Install native dependencies\n        run: sudo apt-get install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev\n      - name: Install wheel\n        run: pip install wheel\n      - name: Install Material for MkDocs Insiders\n        run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git\n        if: ${{ github.repository_owner == 'mastercomfig' && github.event_name == 'push' && false }}\n        env:\n          GH_TOKEN: ${{secrets.PRIVATE_REPO_TOKEN}}\n      - name: Install dependencies\n        run: pip install -r docs/requirements.txt\n      - name: Update from Remote\n        run: git fetch --tags -f\n      - name: Build docs (latest)\n        if: ${{ github.repository_owner == 'mastercomfig' && github.event_name == 'push' && github.ref == 'refs/heads/release' }}\n        run: mike deploy --alias-type copy -b docs -up $(git describe --tags --abbrev=0) latest page\n        env:\n          GH_TOKEN: ${{secrets.PRIVATE_REPO_TOKEN}}\n          MKDOCS_GIT_COMMITTERS_APIKEY: ${{secrets.PRIVATE_REPO_TOKEN}}\n      - name: Build docs (develop)\n        if: ${{ github.repository_owner == 'mastercomfig' && github.event_name == 'push' && github.ref == 'refs/heads/develop' }}\n        run: mike deploy --alias-type copy -b docs -p dev\n        env:\n          GH_TOKEN: ${{secrets.PRIVATE_REPO_TOKEN}}\n          MKDOCS_GIT_COMMITTERS_APIKEY: ${{secrets.PRIVATE_REPO_TOKEN}}\n      - name: Build docs\n        if: ${{ github.event_name == 'pull_request' }}\n        run: mike deploy --config-file mkdocs.base.yml -u $(git describe --tags) latest\n", "state": "active", "repository": "mastercomfig/mastercomfig"}
{"mined_at": "2024-07-15T16:07:49.389175", "created_at": "2020-08-01T17:13:24+02:00", "updated_at": "2020-08-01T17:13:24+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  workflow_dispatch:\n    inputs:\n      patch:\n        description: \"Patch\"\n        required: true\n        type: string\n        default: \"true\"\n  push:\n    branches: [develop]\n    paths-ignore:\n      - \"docs/**\"\n      - \".github/**\"\n      - \".remarkrc\"\n      - \".gitignore\"\n      - \"**.md\"\n      - \"**.yml\"\n      - \"**.json\"\n      - \"!.github/workflows/main.yml\"\n      - \"!data/**\"\n    tags: [\"**\"]\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          clean: false\n      - name: Install dependencies\n        run: |\n          pip install vpk\n          rm -f /home/runner/.local/bin/vpk\n          sudo bash -c 'cat <<\\EOF > /usr/local/bin/vpk\n          #!/bin/bash\n          python \"$GITHUB_WORKSPACE/dev/vpk_cli.py\" \"${@}\"\n          EOF'\n          sudo chmod +x /usr/local/bin/vpk\n      - name: Check tag\n        id: check-tag\n        if: ${{ github.event_name == 'push' }}\n        run: |\n          if [[ ${{ github.event.ref }} == refs/tags/* ]]; then\n            echo \"release=true\" >> $GITHUB_OUTPUT\n          fi\n      - name: Build mastercomfig (prerelease)\n        run: dev/release.sh\n        if: ${{ github.event_name == 'push' && steps.check-tag.outputs.release != 'true' }}\n        env:\n          prerelease: true\n          GH_TOKEN: ${{secrets.REPO_TOKEN}}\n      - name: Build mastercomfig (patch)\n        run: dev/release.sh\n        if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.patch == 'true' }}\n        env:\n          patch: true\n          GH_TOKEN: ${{secrets.REPO_TOKEN}}\n      - name: Build mastercomfig (release)\n        run: dev/release.sh\n        if: ${{ github.event_name == 'push' && steps.check-tag.outputs.release == 'true' }}\n        env:\n          DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}\n          GH_TOKEN: ${{secrets.REPO_TOKEN}}\n      - name: Build mastercomfig\n        run: dev/package.sh\n        if: ${{ github.event_name == 'pull_request' }}\n", "state": "active", "repository": "mastercomfig/mastercomfig"}
{"mined_at": "2024-07-15T16:07:50.417986", "created_at": "2021-07-09T04:47:39+02:00", "updated_at": "2021-07-09T04:47:39+02:00", "name": "Start Release", "path": ".github/workflows/release.yml", "contents": "name: Start Release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"Version\"\n        required: true\n      highlights:\n        description: \"Highlights\"\n        required: true\n      hours:\n        description: \"Hours taken\"\n        required: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.REPO_TOKEN }}\n          fetch-depth: 0\n      - name: Update release info\n        run: |\n          {\n            echo \"${{ github.event.inputs.version }}\"\n            echo \"${{ github.event.inputs.highlights }}\"\n            echo \"${{ github.event.inputs.hours }}\"\n            echo \"\"\n          } > dev/info.txt\n      - name: Commit release info\n        run: |\n          git config user.email \"support@mastercomfig.com\"\n          git config user.name \"mastercoms\"\n          git commit -am \"release ${{ github.event.inputs.version }}\" || true\n      - name: Switch to release\n        run: git checkout release\n      - name: Merge ref into release\n        run: git merge ${GITHUB_REF##*/}\n      - name: Tag release\n        run: git tag ${{ github.event.inputs.version }}\n      - name: Push release\n        run: git push --atomic origin release ${{ github.event.inputs.version }}\n", "state": "active", "repository": "mastercomfig/mastercomfig"}
{"mined_at": "2024-07-15T16:07:51.641160", "created_at": "2020-08-01T23:06:36+02:00", "updated_at": "2021-06-24T05:00:35+02:00", "name": "Merge release -> develop", "path": ".github/workflows/repo.yml", "contents": "name: Merge release -> develop\n\non:\n  push:\n    branches: [release]\n\njobs:\n  merge:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Merge release -> develop\n        uses: everlytic/branch-merge@master\n        with:\n          target_branch: develop\n          github_token: ${{ secrets.REPO_TOKEN }}\n", "state": "active", "repository": "mastercomfig/mastercomfig"}
{"mined_at": "2024-07-15T16:07:55.071696", "created_at": "2021-09-07T11:13:33+02:00", "updated_at": "2023-12-08T22:00:27+01:00", "name": "Python package", "path": ".github/workflows/tox.yaml", "contents": "name: Python package\n\non:\n  - push\n  - pull_request\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.10', '3.11']\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install codecov tox tox-gh-actions\n    - name: Lint with tox\n      run: tox -e pep8\n    - name: Test with tox\n      run: tox -e py3\n    - name: Codecov\n      run: |\n        set -euxo pipefail\n        codecov --verbose --gcov-glob unit_tests/*\n  func:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        juju_channel:\n          - 2.9/stable\n          # - 3.1/stable\n          # - 3.2/stable\n          # - 3.3/stable\n          - 3.4/stable\n        bundle:\n          - first\n          - second\n          - third\n        include:\n          - juju_channel: 2.9/stable\n            snap_install_flags: \"--classic\"\n            pip_constraints: constraints-juju29.txt\n          # - juju_channel: 3.1/stable\n          #   snap_install_flags: \"\"\n          #   pip_constraints: constraints-juju31.txt\n          # NOTE(freyes): disabled until \"RuntimeError: set_wakeup_fd only works\n          # in main thread of the main interpreter\" gets fixed.\n          # https://pastebin.ubuntu.com/p/GfYKgpx3SP/\n          #\n          # - juju_channel: 3.2/stable\n          #   snap_install_flags: \"\"\n          #   pip_constraints: constraints-juju32.txt\n          # - juju_channel: 3.3/stable\n          #   snap_install_flags: \"\"\n          #   pip_constraints: constraints-juju33.txt\n          - juju_channel: 3.4/stable\n            snap_install_flags: \"\"\n            pip_constraints: constraints-juju34.txt\n            juju3: 1\n    env:\n      TEST_ZAZA_BUG_LP1987332: \"on\"  # http://pad.lv/1987332\n    needs: build\n    steps:\n    - uses: actions/checkout@v1\n    - name: Install dependencies\n      run: |\n        set -euxo pipefail\n        sudo apt-get update\n        sudo apt-get install -yq snapd\n        sudo systemctl enable snapd\n        sudo systemctl restart snapd\n        python -m pip install --upgrade pip\n        pip install tox tox-gh-actions\n        sudo snap install ${{ matrix.snap_install_flags }} --channel ${{ matrix.juju_channel }} juju\n        sudo snap install --classic juju-crashdump\n        sudo lxd init --auto\n        # This is a throw-away CI environment, do not do this at home\n        sudo chmod 666 /var/snap/lxd/common/lxd/unix.socket\n        # until Juju provides stable IPv6-support we unfortunately need this\n        lxc network set lxdbr0 ipv6.address none\n        sudo iptables -F FORWARD\n        sudo iptables -P FORWARD ACCEPT\n        # pull images\n        lxc image copy --alias juju/bionic/amd64 --copy-aliases ubuntu-daily:bionic local:\n        lxc image copy --alias juju/focal/amd64 --copy-aliases ubuntu-daily:focal local:\n        lxc image copy --alias juju/jammy/amd64 --copy-aliases ubuntu-daily:jammy local:\n        lxc image list\n        juju bootstrap localhost\n    - name: Functional test\n      run: |\n        set -euxo pipefail\n        mkdir logs\n        export PIP_CONSTRAINTS=$(pwd)/${{ matrix.pip_constraints }}\n        export TEST_JUJU3=${{ matrix.juju3 }}\n        tox -e func-target -- ${{ matrix.bundle }} | tee logs/tox-output.txt\n    - name: crashdump on failure\n      if: failure()\n      run: |\n        set -eux\n        juju models\n        model=$(juju models --format yaml|grep \"^- name:.*zaza\"|cut -f2 -d/)\n        juju status -m $model | tee logs/juju-status.txt\n        juju-crashdump -m $model -o logs/\n    - name: upload logs on failure\n      if: failure()\n      uses: actions/upload-artifact@v2\n      with:\n        name: test-run-logs-and-crashdump\n        path: logs/\n    - name: consider debugging\n      uses: lhotari/action-upterm@v1\n      if: failure()\n", "state": "active", "repository": "openstack-charmers/zaza"}
{"mined_at": "2024-07-15T16:07:57.157512", "created_at": "2023-02-08T04:35:40+01:00", "updated_at": "2023-02-27T07:05:29+01:00", "name": "aim", "path": ".github/workflows/aim.yml", "contents": "name: aim\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'aim/**'\n      - '.github/workflows/aim.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools wheel\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n\n        pip install -r aim/requirements.txt\n    - name: Run examples\n      run: |\n        python aim/aim_integration.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:07:58.399804", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "allennlp", "path": ".github/workflows/allennlp.yml", "contents": "name: allennlp\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'allennlp/**'\n      - '.github/workflows/allennlp.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r allennlp/requirements.txt\n    - name: Run examples\n      run: |\n        python allennlp/allennlp_simple.py\n        python allennlp/allennlp_jsonnet.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:07:59.628464", "created_at": "2021-06-04T03:58:26+02:00", "updated_at": "2021-06-09T05:27:35+02:00", "name": "base", "path": ".github/workflows/base.yml", "contents": "name: base\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - './**.py'\n      - 'requirements.txt'\n      - '.github/workflows/base.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n\n        pip install -r requirements.txt\n    - name: Run examples\n      run: |\n        python max_trials_callback.py\n        python enqueue_trial.py\n        python quadratic_simple.py\n        python simple_pruning.py\n        python -m py_compile rapids_simple.py  # due to difficulty importing, compile only\n        jupyter nbconvert --to notebook --execute quickstart.ipynb\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:00.728059", "created_at": "2024-06-12T10:51:42+02:00", "updated_at": "2024-07-09T05:50:29+02:00", "name": "basic_and_faq_usages", "path": ".github/workflows/basic_and_faq_usages.yml", "contents": null, "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:01.881261", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "catboost", "path": ".github/workflows/catboost.yml", "contents": "name: catboost\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'catboost/**'\n      - '.github/workflows/catboost.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r catboost/requirements.txt\n    - name: Run examples\n      run: |\n        python catboost/catboost_simple.py\n        python catboost/catboost_pruning.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:03.008056", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "chainer", "path": ".github/workflows/chainer.yml", "contents": "name: chainer\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'chainer/**'\n      - '.github/workflows/chainer.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (apt)\n      run: |\n        sudo apt-get update\n        sudo apt-get -y install openmpi-bin libopenmpi-dev\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r chainer/requirements.txt\n    - name: Run examples\n      run: |\n        python chainer/chainer_simple.py\n        python chainer/chainer_integration.py\n      env:\n        OMP_NUM_THREADS: 1\n    - name: Run multi-node examples\n      run: |\n        export OMPI_MCA_rmaps_base_oversubscribe=yes\n        STORAGE_URL=sqlite:///example.db\n        for file in `find chainer -name 'chainermn_*.py'`\n        do\n          echo $file\n          STUDY_NAME=`optuna create-study --storage $STORAGE_URL`\n          mpirun -n 2 -- python $file $STUDY_NAME $STORAGE_URL > /dev/null\n        done\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:04.236670", "created_at": "2021-05-13T04:49:08+02:00", "updated_at": "2021-05-13T08:23:56+02:00", "name": "Checks", "path": ".github/workflows/checks.yml", "contents": "name: Checks\n\non:\n  push:\n    branches:\n      - main\n  pull_request: {}\n  schedule:\n    - cron: '0 23 * * SUN-THU'\n\njobs:\n  checks:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - name: Install\n      run: |\n        python -m pip install -U pip\n        pip install --progress-bar off -U black hacking isort\n\n    - name: black\n      run: black . --check --diff\n    - name: flake8\n      run: flake8 .\n    - name: isort\n      run: isort . --check --diff\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:05.381484", "created_at": "2022-12-15T12:59:21+01:00", "updated_at": "2022-12-27T07:24:59+01:00", "name": "dashboard", "path": ".github/workflows/dashboard.yml", "contents": "name: dashboard\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'dashboard/**'\n      - '.github/workflows/dashboard.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: setup-python${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install (Python)\n        run: |\n          python -m pip install --upgrade pip\n          pip install --progress-bar off -U setuptools\n          pip install git+https://github.com/optuna/optuna.git\n          python -c 'import optuna'\n\n          pip install -r dashboard/requirements.txt\n          optuna-dashboard --version\n      - name: Run examples\n        run: |\n          # Because Optuna Dashboard server forever until Ctrl-C is pressed,\n          # here we only compile the script.\n          python -m py_compile dashboard/run_server_simple.py\n        env:\n          OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:06.591435", "created_at": "2021-08-12T00:51:45+02:00", "updated_at": "2022-11-24T02:30:57+01:00", "name": "dask", "path": ".github/workflows/dask.yml", "contents": "name: dask\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'dask/**'\n      - '.github/workflows/dask.yml'\n\njobs:\n  examples:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r dask/requirements.txt\n    - name: Run examples\n      run: |\n        python dask/dask_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:07.607200", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "dask_ml", "path": ".github/workflows/dask_ml.yml", "contents": "name: dask_ml\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'dask_ml/**'\n      - '.github/workflows/dask_ml.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n\n        pip install -r dask_ml/requirements.txt\n    - name: Run examples\n      run: |\n        python dask_ml/dask_ml_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:08.733928", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "fastai", "path": ".github/workflows/fastai.yml", "contents": "name: fastai\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'fastai/**'\n      - '.github/workflows/fastai.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r fastai/requirements.txt\n    - name: Run examples\n      run: |\n        python fastai/fastai_simple.py\n        python fastai/fastai_simple.py --pruning\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:09.971321", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "haiku", "path": ".github/workflows/haiku.yml", "contents": "name: haiku\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'haiku/**'\n      - '.github/workflows/haiku.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n\n        pip install -r haiku/requirements.txt\n    - name: Run examples\n      run: |\n        python haiku/haiku_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:11.186466", "created_at": "2022-02-21T07:12:34+01:00", "updated_at": "2022-02-27T06:56:29+01:00", "name": "visualization with hiplot", "path": ".github/workflows/hiplot.yml", "contents": "name: visualization with hiplot\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'hiplot/**'\n      - '.github/workflows/hiplot.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n\n        pip install -r hiplot/requirements.txt\n    - name: Run examples\n      run: |\n        jupyter nbconvert --to notebook --execute hiplot/plot_study.ipynb\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:12.310029", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "hydra", "path": ".github/workflows/hydra.yml", "contents": "name: hydra\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'hydra/**'\n      - '.github/workflows/hydra.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n\n        pip install -r hydra/requirements.txt\n    - name: Run Hydra examples\n      run: |\n        python hydra/simple.py --multirun > /dev/null\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:13.446100", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "keras", "path": ".github/workflows/keras.yml", "contents": "name: keras\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'keras/**'\n      - '.github/workflows/keras.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r keras/requirements.txt\n    - name: Run examples\n      run: |\n        python keras/keras_simple.py\n        python keras/keras_integration.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:14.467731", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "lightgbm", "path": ".github/workflows/lightgbm.yml", "contents": "name: lightgbm\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'lightgbm/**'\n      - '.github/workflows/lightgbm.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r lightgbm/requirements.txt\n    - name: Run LightGBM examples\n      run: |\n        python lightgbm/lightgbm_simple.py\n        python lightgbm/lightgbm_integration.py\n        python lightgbm/lightgbm_terminator.py\n      env:\n        OMP_NUM_THREADS: 1\n    - name: Run LightGBM Tuner examples\n      run: |\n        python lightgbm/lightgbm_tuner_simple.py\n        python lightgbm/lightgbm_tuner_cv.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:15.705561", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "mlflow", "path": ".github/workflows/mlflow.yml", "contents": "name: mlflow\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'mlflow/**'\n      - '.github/workflows/mlflow.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r mlflow/requirements.txt\n    - name: Run examples\n      run: |\n        python mlflow/keras_mlflow.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:16.742290", "created_at": "2021-05-23T08:15:57+02:00", "updated_at": "2021-05-26T03:24:33+02:00", "name": "multi_objective", "path": ".github/workflows/multi_objective.yml", "contents": "name: multi_objective\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'multi_objective/**'\n      - '.github/workflows/multi_objective.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r multi_objective/requirements.txt\n    - name: Run examples\n      run: |\n        python multi_objective/botorch_simple.py\n        python multi_objective/pytorch_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:17.858793", "created_at": "2024-02-26T08:02:25+01:00", "updated_at": "2024-02-29T06:06:54+01:00", "name": "pruners", "path": ".github/workflows/pruners.yml", "contents": "name: pruners\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'pruners/**'\n      - '.github/workflows/pruners.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n\n        pip install -r pruners/requirements.txt\n    - name: Run examples\n      run: |\n        python pruners/wilcoxon_pruner_tsp_sa.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:19.085118", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "pytorch", "path": ".github/workflows/pytorch.yml", "contents": "name: pytorch\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'pytorch/**'\n      - '.github/workflows/pytorch.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (apt)\n      run: |\n        sudo apt-get update\n        sudo apt-get -y install openmpi-bin libopenmpi-dev\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r pytorch/requirements.txt\n    - name: Run PyTorch examples\n      run: |\n        python pytorch/pytorch_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n    - name: Run PyTorch checkpoint example\n      run: |\n        set +e\n        timeout 20 python pytorch/pytorch_checkpoint.py > /dev/null\n        set -e\n        python pytorch/pytorch_checkpoint.py > /dev/null\n      env:\n        OMP_NUM_THREADS: 1\n    - name: Run multi-node examples\n      run: |\n        export OMPI_MCA_rmaps_base_oversubscribe=yes\n        STORAGE_URL=sqlite:///example.db\n        mpirun -n 2 -- python pytorch/pytorch_distributed_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n    - name: Run PyTorch spawn examples\n      run: |\n        python pytorch/pytorch_distributed_spawn.py --no-cuda\n      env:\n        OMP_NUM_THREADS: 1\n    - name: Run PyTorch Ignite examples\n      run: |\n        python pytorch/pytorch_ignite_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n    - name: Run PyTorch Lightning examples\n      run: |\n        python pytorch/pytorch_lightning_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n    - name: Run PyTorch Lightning DDP examples\n      run: |\n        python pytorch/pytorch_lightning_ddp.py\n        python pytorch/pytorch_lightning_ddp.py -p\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:20.108120", "created_at": "2024-06-12T10:53:31+02:00", "updated_at": "2024-07-09T05:50:29+02:00", "name": ".github/workflows/rapids.yml", "path": ".github/workflows/rapids.yml", "contents": null, "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:21.337415", "created_at": "2021-06-08T03:45:28+02:00", "updated_at": "2021-06-09T05:27:35+02:00", "name": "ray", "path": ".github/workflows/ray.yml", "contents": "name: ray\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'ray/**'\n      - '.github/workflows/ray.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n\n        pip install -r ray/requirements.txt\n    - name: Run examples\n      run: |\n        python ray/ray_joblib.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:22.566371", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "rl", "path": ".github/workflows/rl.yml", "contents": "name: rl\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'rl/**'\n      - '.github/workflows/rl.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n\n        pip install -r rl/requirements.txt\n    - name: Run examples\n      run: |\n        python rl/sb3_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:23.798321", "created_at": "2021-06-07T04:18:45+02:00", "updated_at": "2021-06-09T05:27:35+02:00", "name": "samplers", "path": ".github/workflows/samplers.yml", "contents": "name: samplers\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'samplers/**'\n      - '.github/workflows/samplers.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n\n        pip install -r samplers/requirements.txt\n    - name: Run examples\n      run: |\n        python samplers/simulated_annealing_sampler.py\n        python samplers/warm_starting_cma.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:24.926617", "created_at": "2021-06-09T04:10:59+02:00", "updated_at": "2021-06-09T05:27:35+02:00", "name": "skimage", "path": ".github/workflows/skimage.yml", "contents": "name: skimage\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'skimage/**'\n      - '.github/workflows/skimage.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n\n        pip install -r skimage/requirements.txt\n    - name: Run examples\n      run: |\n        python skimage/skimage_lbp_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:25.957399", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "sklearn", "path": ".github/workflows/sklearn.yml", "contents": "name: sklearn\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'sklearn/**'\n      - '.github/workflows/sklearn.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r sklearn/requirements.txt\n    - name: Run examples\n      run: |\n        python sklearn/sklearn_additional_args.py\n        python sklearn/sklearn_optuna_search_cv_simple.py\n        python sklearn/sklearn_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:27.032736", "created_at": "2022-06-10T05:44:23+02:00", "updated_at": "2022-06-10T05:44:23+02:00", "name": "stale", "path": ".github/workflows/stale.yml", "contents": "name: stale\n\non:\n  schedule:\n    - cron: '0 23 * * SUN-THU'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n\n    if: github.repository == 'optuna/optuna-examples'\n    steps:\n    - uses: actions/stale@v6\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue has not seen any recent activity.'\n        stale-pr-message: 'This pull request has not seen any recent activity.'\n        close-issue-message: 'This issue was closed automatically because it had not seen any recent activity. If you want to discuss it, you can reopen it freely.'\n        close-pr-message: 'This pull request was closed automatically because it had not seen any recent activity. If you want to discuss it, you can reopen it freely.'\n        days-before-issue-stale: 14\n        days-before-issue-close: 100\n        days-before-pr-stale: 7\n        days-before-pr-close: 14\n        stale-issue-label: 'stale'\n        stale-pr-label: 'stale'\n        exempt-issue-labels: 'no-stale'\n        exempt-pr-labels: 'no-stale'\n        operations-per-run: 1000\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:28.078249", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "tensorboard", "path": ".github/workflows/tensorboard.yml", "contents": "name: tensorboard\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'tensorboard/**'\n      - '.github/workflows/tensorboard.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r tensorboard/requirements.txt\n    - name: Run examples\n      run: |\n        python tensorboard/tensorboard_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:29.219702", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "tensorflow", "path": ".github/workflows/tensorflow.yml", "contents": "name: tensorflow\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'tensorflow/**'\n      - '.github/workflows/tensorflow.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r tensorflow/requirements.txt\n    - name: Run example of TensorFlow eager\n      run: |\n        python tensorflow/tensorflow_eager_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n    - name: Run examples of TensorFlow estimator\n      run: |\n        if [ \"${{ matrix.python-version }}\" != \"3.12\" ] ; then\n          pip install \"tensorflow<2.16.0\"\n          python tensorflow/tensorflow_estimator_simple.py\n          python tensorflow/tensorflow_estimator_integration.py\n        fi\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:30.451165", "created_at": "2023-05-19T10:52:42+02:00", "updated_at": "2023-05-24T04:40:10+02:00", "name": "terminator", "path": ".github/workflows/terminator.yml", "contents": "name: terminator\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'terminator/**'\n      - '.github/workflows/terminator.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r terminator/requirements.txt\n    - name: Run examples\n      run: |\n        python terminator/terminator_improvement_plot.py\n        python terminator/terminator_search_cv.py\n        python terminator/terminator_simple.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:32.005454", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "tfkeras", "path": ".github/workflows/tfkeras.yml", "contents": "name: tfkeras\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'tfkeras/**'\n      - '.github/workflows/tfkeras.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r tfkeras/requirements.txt\n    - name: Run examples\n      run: |\n        python tfkeras/tfkeras_simple.py\n        python tfkeras/tfkeras_integration.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:33.032569", "created_at": "2021-06-07T04:18:44+02:00", "updated_at": "2022-05-09T09:50:57+02:00", "name": "visualization", "path": ".github/workflows/visualization.yml", "contents": "name: visualization\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'visualization/**'\n      - '.github/workflows/visualization.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n\n        pip install -r visualization/requirements.txt\n    - name: Run examples\n      run: |\n        python visualization/plot_pareto_front.py\n        python visualization/plot_study.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:34.240334", "created_at": "2021-09-15T17:47:50+02:00", "updated_at": "2021-09-15T19:38:54+02:00", "name": "wandb", "path": ".github/workflows/wandb.yml", "contents": "name: wandb\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'wandb/**'\n      - '.github/workflows/wandb.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools wheel\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r wandb/requirements.txt\n    - name: Run examples\n      run: |\n        wandb offline\n        python wandb/wandb_integration.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:35.250251", "created_at": "2024-02-21T03:20:01+01:00", "updated_at": "2024-02-26T07:33:20+01:00", "name": "pruners", "path": ".github/workflows/wilcoxon_pruner.yml", "contents": null, "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:36.288750", "created_at": "2021-05-10T13:14:48+02:00", "updated_at": "2021-05-12T06:54:37+02:00", "name": "xgboost", "path": ".github/workflows/xgboost.yml", "contents": "name: xgboost\n\non:\n  schedule:\n    - cron: '0 15 * * *'\n  pull_request:\n    paths:\n      - 'xgboost/**'\n      - '.github/workflows/xgboost.yml'\n\njobs:\n  examples:\n    if: (github.event_name == 'schedule' && github.repository == 'optuna/optuna-examples') || (github.event_name != 'schedule')\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: setup-python${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install (Python)\n      run: |\n        python -m pip install --upgrade pip\n        pip install --progress-bar off -U setuptools\n        pip install git+https://github.com/optuna/optuna.git\n        python -c 'import optuna'\n        pip install git+https://github.com/optuna/optuna-integration.git\n        python -c 'import optuna_integration'\n\n        pip install -r xgboost/requirements.txt\n    - name: Run XGBoost examples\n      run: |\n        python xgboost/xgboost_simple.py\n        python xgboost/xgboost_integration.py\n      env:\n        OMP_NUM_THREADS: 1\n    - name: Run XGBoost CV examples\n      run: |\n        python xgboost/xgboost_cv.py\n        python xgboost/xgboost_cv_integration.py\n      env:\n        OMP_NUM_THREADS: 1\n", "state": "active", "repository": "optuna/optuna-examples"}
{"mined_at": "2024-07-15T16:08:38.336153", "created_at": "2021-06-04T21:56:54+02:00", "updated_at": "2021-06-04T21:56:54+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main, integration, development ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main, integration, development ]\n  schedule:\n    - cron: '25 23 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:39.564819", "created_at": "2024-02-16T22:04:02+01:00", "updated_at": "2024-02-29T21:31:27+01:00", "name": "develop-achi", "path": ".github/workflows/develop-achi.yaml", "contents": "name: develop-achi\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"ACHI_BRANCH=master\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:40.579593", "created_at": "2022-08-08T02:51:40+02:00", "updated_at": "2022-08-23T20:56:32+02:00", "name": "develop-apple", "path": ".github/workflows/develop-apple.yaml", "contents": "name: develop-apple\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"APPLE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:41.599872", "created_at": "2023-01-16T21:30:20+01:00", "updated_at": "2023-02-16T23:17:04+01:00", "name": "develop-ballcoin", "path": ".github/workflows/develop-ballcoin.yaml", "contents": "name: develop-ballcoin\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"BALLCOIN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:42.679254", "created_at": "2021-11-13T05:07:53+01:00", "updated_at": "2021-11-14T19:40:17+01:00", "name": "develop-base", "path": ".github/workflows/develop-base.yaml", "contents": "name: develop-base\n\non: workflow_dispatch\n\njobs:\n  docker-jammy:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile-jammy.base\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-jammy:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-jammy:develop\n\n  docker-focal:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile-focal.base\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-focal:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-focal:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:43.667730", "created_at": "2021-12-01T03:42:10+01:00", "updated_at": "2021-12-29T00:36:47+01:00", "name": "develop-btcgreen", "path": ".github/workflows/develop-btcgreen.yaml", "contents": "name: develop-btcgreen\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"BTCGREEN_BRANCH=main\"     \n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:44.784033", "created_at": "2021-11-06T20:56:24+01:00", "updated_at": "2021-12-29T00:36:47+01:00", "name": "develop-cactus", "path": ".github/workflows/develop-cactus.yaml", "contents": "name: develop-cactus\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"CACTUS_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:45.899710", "created_at": "2021-10-10T15:15:36+02:00", "updated_at": "2021-12-29T00:36:47+01:00", "name": "develop-chia", "path": ".github/workflows/develop-chia.yaml", "contents": "name: develop-chia\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  chia:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"CHIA_BRANCH=2.1.3\"\n            \"BLADEBIT_BRANCH=master\"\n            \"PLOTMAN_BRANCH=compress\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:develop\n\n  gigahorse:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"GIGAHORSE_BRANCH=v2.3.0.giga36\"\n            \"CHIA_BRANCH=main\"\n            \"PLOTMAN_BRANCH=compress\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:develop\n\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:46.900540", "created_at": "2022-08-08T02:51:40+02:00", "updated_at": "2022-08-23T20:56:32+02:00", "name": "develop-chinilla", "path": ".github/workflows/develop-chinilla.yaml", "contents": "name: develop-chinilla\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"CHINILLA_BRANCH=release/1.4.0\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:47.900998", "created_at": "2021-09-27T03:33:04+02:00", "updated_at": "2021-12-29T00:36:47+01:00", "name": "develop-chives", "path": ".github/workflows/develop-chives.yaml", "contents": "name: develop-chives\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n\n  chives:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"CHIVES_REPO=https://github.com/HiveProject2021/chives-blockchain.git\"\n            \"CHIVES_BRANCH=1.5.4\"\n            \"PLOTMAN_BRANCH=development\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:develop\n\n  chivesfoxy:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"CHIVES_REPO=https://github.com/foxypool/chives-blockchain.git\"\n            \"CHIVES_BRANCH=main\"\n            \"PLOTMAN_BRANCH=development\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:48.986939", "created_at": "2023-01-03T05:24:44+01:00", "updated_at": "2023-01-04T05:05:50+01:00", "name": "develop-coffee", "path": ".github/workflows/develop-coffee.yaml", "contents": "name: develop-coffee\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"COFFEE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:49.988893", "created_at": "2021-11-12T03:54:32+01:00", "updated_at": "2021-12-29T00:36:47+01:00", "name": "develop-cryptodoge", "path": ".github/workflows/develop-cryptodoge.yaml", "contents": "name: develop-cryptodoge\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"CRYPTODOGE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:50.998691", "created_at": "2022-07-06T05:06:41+02:00", "updated_at": "2022-07-17T15:28:28+02:00", "name": "develop-ecostake", "path": ".github/workflows/develop-ecostake.yaml", "contents": "name: develop-ecostake\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"ECOSTAKE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:52.039981", "created_at": "2021-09-18T22:24:22+02:00", "updated_at": "2021-12-29T00:36:47+01:00", "name": "develop-flax", "path": ".github/workflows/develop-flax.yaml", "contents": "name: develop-flax\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"FLAX_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:53.033456", "created_at": "2021-10-19T04:05:58+02:00", "updated_at": "2021-12-29T00:36:47+01:00", "name": "develop-flora", "path": ".github/workflows/develop-flora.yaml", "contents": "name: develop-flora\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"FLORA_BRANCH=latest\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:54.055773", "created_at": "2022-08-08T02:51:40+02:00", "updated_at": "2022-08-23T20:56:32+02:00", "name": "develop-gold", "path": ".github/workflows/develop-gold.yaml", "contents": "name: develop-gold\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"GOLD_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:55.233737", "created_at": "2023-01-03T05:24:44+01:00", "updated_at": "2023-01-04T05:05:50+01:00", "name": "develop-greenbtc", "path": ".github/workflows/develop-greenbtc.yaml", "contents": "name: develop-greenbtc\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"GREENBTC_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-greenbtc:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-greenbtc:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:56.247137", "created_at": "2021-09-27T03:33:04+02:00", "updated_at": "2021-12-29T00:36:47+01:00", "name": "develop-hddcoin", "path": ".github/workflows/develop-hddcoin.yaml", "contents": "name: develop-hddcoin\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"HDDCOIN_BRANCH=beta\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:57.231069", "created_at": "2022-07-31T06:56:14+02:00", "updated_at": "2022-08-23T20:56:32+02:00", "name": "develop-littlelambocoin", "path": ".github/workflows/develop-littlelambocoin.yaml", "contents": "name: develop-littlelambocoin\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"LITTLELAMBOCOIN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-littlelambocoin:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-littlelambocoin:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:58.407663", "created_at": "2021-11-19T18:33:19+01:00", "updated_at": "2021-12-29T00:36:47+01:00", "name": "develop-maize", "path": ".github/workflows/develop-maize.yaml", "contents": "name: develop-maize\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"MAIZE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:08:59.442460", "created_at": "2022-08-08T02:51:40+02:00", "updated_at": "2022-08-23T20:56:32+02:00", "name": "develop-mint", "path": ".github/workflows/develop-mint.yaml", "contents": "name: develop-mint\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"MINT_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:00.557453", "created_at": "2021-12-29T00:28:07+01:00", "updated_at": "2022-02-03T22:03:37+01:00", "name": "develop-mmx", "path": ".github/workflows/develop-mmx.yaml", "contents": "name: develop-mmx\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"MMX_BRANCH=master\"\n            \"CHIA_BRANCH=latest\"\n            \"PLOTMAN_BRANCH=development\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:01.686540", "created_at": "2022-11-04T22:55:34+01:00", "updated_at": "2023-01-04T05:05:50+01:00", "name": "develop-moon", "path": ".github/workflows/develop-moon.yaml", "contents": "name: develop-moon\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"MOON_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:02.702426", "created_at": "2021-09-26T17:36:52+02:00", "updated_at": "2021-12-29T00:36:47+01:00", "name": "develop-nchain", "path": ".github/workflows/develop-nchain.yaml", "contents": "name: develop-nchain\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"NCHAIN_BRANCH=net9.dev\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:03.708133", "created_at": "2023-01-03T05:24:44+01:00", "updated_at": "2023-01-04T05:05:50+01:00", "name": "develop-one", "path": ".github/workflows/develop-one.yaml", "contents": "name: develop-one\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"ONE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:04.716055", "created_at": "2022-07-06T05:06:41+02:00", "updated_at": "2022-07-17T15:28:28+02:00", "name": "develop-petroleum", "path": ".github/workflows/develop-petroleum.yaml", "contents": "name: develop-petroleum\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"PETROLEUM_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:05.790905", "created_at": "2022-07-06T05:06:41+02:00", "updated_at": "2022-07-17T15:28:28+02:00", "name": "develop-profit", "path": ".github/workflows/develop-profit.yaml", "contents": "name: develop-profit\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"PROFIT_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:06.815175", "created_at": "2021-12-07T03:48:56+01:00", "updated_at": "2022-01-02T23:30:45+01:00", "name": "develop-shibgreen", "path": ".github/workflows/develop-shibgreen.yaml", "contents": "name: develop-shibgreen\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"SHIBGREEN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:07.840778", "created_at": "2021-10-23T20:07:30+02:00", "updated_at": "2021-10-29T16:28:40+02:00", "name": "develop-silicoin", "path": ".github/workflows/develop-silicoin.yaml", "contents": "name: develop-silicoin\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"SILICOIN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:08.954196", "created_at": "2021-10-30T02:38:13+02:00", "updated_at": "2021-12-29T00:36:47+01:00", "name": "develop-staicoin", "path": ".github/workflows/develop-staicoin.yaml", "contents": "name: develop-staicoin\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"STAICOIN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:10.686793", "created_at": "2021-11-06T20:56:23+01:00", "updated_at": "2021-12-29T00:36:47+01:00", "name": "develop-stor", "path": ".github/workflows/develop-stor.yaml", "contents": "name: develop-stor\n\non:\n  push:\n    branches:\n      - 'develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"STOR_BRANCH=master\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:11.705532", "created_at": "2022-08-08T02:51:40+02:00", "updated_at": "2022-08-23T20:56:32+02:00", "name": "develop-tad", "path": ".github/workflows/develop-tad.yaml", "contents": "name: develop-tad\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"TAD_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:12.842068", "created_at": "2022-08-08T02:51:40+02:00", "updated_at": "2022-08-23T20:56:32+02:00", "name": "develop-wheat", "path": ".github/workflows/develop-wheat.yaml", "contents": "name: develop-wheat\n\non:\n  push:\n    branches:\n      - 'develop'\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=develop\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FDCLI_BRANCH=dev\"\n            \"WHEAT_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:develop\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:develop\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:14.076164", "created_at": "2024-02-29T21:31:27+01:00", "updated_at": "2024-02-29T21:31:27+01:00", "name": "release-achi", "path": ".github/workflows/main-achi.yaml", "contents": "name: release-achi\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"ACHI_BRANCH=master\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:15.115739", "created_at": "2022-08-23T20:56:32+02:00", "updated_at": "2022-08-23T20:56:32+02:00", "name": "release-apple", "path": ".github/workflows/main-apple.yaml", "contents": "name: release-apple\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"APPLE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:16.141217", "created_at": "2023-02-16T23:17:04+01:00", "updated_at": "2023-02-16T23:17:04+01:00", "name": "release-ballcoin", "path": ".github/workflows/main-ballcoin.yaml", "contents": "name: release-ballcoin\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"BALLCOIN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:17.456504", "created_at": "2021-11-14T19:40:18+01:00", "updated_at": "2021-11-18T18:31:34+01:00", "name": "release-base", "path": ".github/workflows/main-base.yaml", "contents": "name: release-base\n\non: workflow_dispatch\n\njobs:\n  docker-jammy:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile-jammy.base\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-jammy:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-jammy:latest\n\n  docker-focal:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile-focal.base\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-focal:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-focal:latest\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:18.682184", "created_at": "2021-12-03T14:46:41+01:00", "updated_at": "2021-12-03T14:46:41+01:00", "name": "release-btcgreen", "path": ".github/workflows/main-btcgreen.yaml", "contents": "name: release-btcgreen\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"BTCGREEN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:19.662691", "created_at": "2021-11-12T03:16:11+01:00", "updated_at": "2021-11-12T03:16:11+01:00", "name": "release-cactus", "path": ".github/workflows/main-cactus.yaml", "contents": "name: release-cactus\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"CACTUS_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:20.661282", "created_at": "2021-10-18T17:50:59+02:00", "updated_at": "2021-10-18T17:50:59+02:00", "name": "release-chia", "path": ".github/workflows/main-chia.yaml", "contents": "name: release-chia\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  chia:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"CHIA_BRANCH=2.1.3\"\n            \"BLADEBIT_BRANCH=master\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:v${{ github.event.inputs.version }}\n\n  gigahorse:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"GIGAHORSE_BRANCH=v2.3.0.giga36\"\n            \"CHIA_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:21.655977", "created_at": "2022-08-23T20:56:32+02:00", "updated_at": "2022-08-23T20:56:32+02:00", "name": "release-chinilla", "path": ".github/workflows/main-chinilla.yaml", "contents": "name: release-chinilla\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"CHINILLA_BRANCH=release/1.4.0\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:22.689983", "created_at": "2021-10-18T17:50:59+02:00", "updated_at": "2021-10-18T17:50:59+02:00", "name": "release-chives", "path": ".github/workflows/main-chives.yaml", "contents": "name: release-chives\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  chives:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"CHIVES_REPO=https://github.com/HiveProject2021/chives-blockchain.git\"\n            \"CHIVES_BRANCH=1.5.4\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:v${{ github.event.inputs.version }}\n\n  chivesfoxy:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"CHIVES_REPO=https://github.com/foxypool/chives-blockchain.git\"\n            \"CHIVES_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:23.904709", "created_at": "2023-01-04T05:05:50+01:00", "updated_at": "2023-01-04T05:05:50+01:00", "name": "release-coffee", "path": ".github/workflows/main-coffee.yaml", "contents": "name: release-coffee\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"COFFEE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:25.030502", "created_at": "2021-11-14T19:40:18+01:00", "updated_at": "2021-11-14T19:40:18+01:00", "name": "release-cryptodoge", "path": ".github/workflows/main-cryptodoge.yaml", "contents": "name: release-cryptodoge\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"CRYPTODOGE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:26.161314", "created_at": "2022-07-17T15:28:28+02:00", "updated_at": "2022-07-17T15:28:28+02:00", "name": "release-ecostake", "path": ".github/workflows/main-ecostake.yaml", "contents": "name: release-ecostake\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"ECOSTAKE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:27.298466", "created_at": "2021-10-18T17:51:00+02:00", "updated_at": "2021-10-18T17:51:00+02:00", "name": "release-flax", "path": ".github/workflows/main-flax.yaml", "contents": "name: release-flax\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"FLAX_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:28.338129", "created_at": "2021-10-23T19:18:01+02:00", "updated_at": "2021-10-23T19:18:01+02:00", "name": "release-flora", "path": ".github/workflows/main-flora.yaml", "contents": "name: release-flora\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"FLORA_BRANCH=latest\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:29.436943", "created_at": "2022-08-23T20:56:32+02:00", "updated_at": "2022-08-23T20:56:32+02:00", "name": "release-gold", "path": ".github/workflows/main-gold.yaml", "contents": "name: release-gold\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"GOLD_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:30.446156", "created_at": "2023-01-04T05:05:50+01:00", "updated_at": "2023-01-04T05:05:50+01:00", "name": "release-greenbtc", "path": ".github/workflows/main-greenbtc.yaml", "contents": "name: release-greenbtc\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"GREENBTC_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-greenbtc:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-greenbtc:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-greenbtc:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-greenbtc:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:31.439246", "created_at": "2021-10-18T17:51:00+02:00", "updated_at": "2021-10-18T17:51:00+02:00", "name": "release-hddcoin", "path": ".github/workflows/main-hddcoin.yaml", "contents": "name: release-hddcoin\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"HDDCOIN_BRANCH=beta\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:32.427734", "created_at": "2022-08-23T20:56:32+02:00", "updated_at": "2022-08-23T20:56:32+02:00", "name": "release-littlelambocoin", "path": ".github/workflows/main-littlelambocoin.yaml", "contents": "name: release-littlelambocoin\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"LITTLELAMBOCOIN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-littlelambocoin:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-littlelambocoin:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-littlelambocoin:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-littlelambocoin:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:33.434770", "created_at": "2021-11-28T15:41:35+01:00", "updated_at": "2021-11-28T15:41:35+01:00", "name": "release-maize", "path": ".github/workflows/main-maize.yaml", "contents": "name: release-maize\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"MAIZE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:34.473600", "created_at": "2022-08-23T20:56:32+02:00", "updated_at": "2022-08-23T20:56:32+02:00", "name": "release-mint", "path": ".github/workflows/main-mint.yaml", "contents": "name: release-mint\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"MINT_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:35.578032", "created_at": "2022-02-03T22:03:37+01:00", "updated_at": "2022-02-03T22:03:37+01:00", "name": "release-mmx", "path": ".github/workflows/main-mmx.yaml", "contents": "name: release-mmx\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"CHIA_BRANCH=latest\"\n            \"MMX_BRANCH=v0.10.6\"\n            \"GIGAHORSE_BRANCH=v2.3.0.giga36\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:36.571118", "created_at": "2023-01-04T05:05:50+01:00", "updated_at": "2023-01-04T05:05:50+01:00", "name": "release-moon", "path": ".github/workflows/main-moon.yaml", "contents": "name: release-moon\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"MOON_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:37.729049", "created_at": "2021-10-18T17:51:00+02:00", "updated_at": "2021-10-18T17:51:00+02:00", "name": "release-nchain", "path": ".github/workflows/main-nchain.yaml", "contents": "name: release-nchain\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"NCHAIN_BRANCH=net9.dev\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:38.837266", "created_at": "2023-01-04T05:05:50+01:00", "updated_at": "2023-01-04T05:05:50+01:00", "name": "release-one", "path": ".github/workflows/main-one.yaml", "contents": "name: release-one\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"ONE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:39.856550", "created_at": "2022-07-17T15:28:28+02:00", "updated_at": "2022-07-17T15:28:28+02:00", "name": "release-petroleum", "path": ".github/workflows/main-petroleum.yaml", "contents": "name: release-petroleum\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"PETROLEUM_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:40.903483", "created_at": "2022-07-17T15:28:28+02:00", "updated_at": "2022-07-17T15:28:28+02:00", "name": "release-profit", "path": ".github/workflows/main-profit.yaml", "contents": "name: release-profit\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"PROFIT_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:41.928626", "created_at": "2022-01-02T23:30:45+01:00", "updated_at": "2022-01-02T23:30:45+01:00", "name": "release-shibgreen", "path": ".github/workflows/main-shibgreen.yaml", "contents": "name: release-shibgreen\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"SHIBGREEN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:43.565999", "created_at": "2021-10-29T16:28:40+02:00", "updated_at": "2021-10-29T16:28:40+02:00", "name": "release-silicoin", "path": ".github/workflows/main-silicoin.yaml", "contents": "name: release-silicoin\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"SILICOIN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:44.695119", "created_at": "2021-11-05T17:38:01+01:00", "updated_at": "2021-11-05T17:38:01+01:00", "name": "release-staicoin", "path": ".github/workflows/main-staicoin.yaml", "contents": "name: release-staicoin\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"STAICOIN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:45.719232", "created_at": "2021-11-12T03:16:11+01:00", "updated_at": "2021-11-12T03:16:11+01:00", "name": "release-stor", "path": ".github/workflows/main-stor.yaml", "contents": "name: release-stor\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=latest\"\n            \"STOR_BRANCH=master\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:46.727380", "created_at": "2022-08-23T20:56:33+02:00", "updated_at": "2022-08-23T20:56:33+02:00", "name": "release-tad", "path": ".github/workflows/main-tad.yaml", "contents": "name: release-tad\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"TAD_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:47.736998", "created_at": "2022-08-23T20:56:33+02:00", "updated_at": "2022-08-23T20:56:33+02:00", "name": "release-wheat", "path": ".github/workflows/main-wheat.yaml", "contents": "name: release-wheat\n\non: \n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Release Version' \n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=latest\"\n            \"WHEAT_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:latest\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:v${{ github.event.inputs.version }}\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:latest\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:v${{ github.event.inputs.version }}\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:48.789457", "created_at": "2024-02-22T16:31:17+01:00", "updated_at": "2024-02-29T21:31:27+01:00", "name": "test-achi", "path": ".github/workflows/test-achi.yaml", "contents": "name: test-achi\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"ACHI_BRANCH=master\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:50.018209", "created_at": "2022-08-13T01:34:04+02:00", "updated_at": "2022-08-23T20:56:33+02:00", "name": "test-apple", "path": ".github/workflows/test-apple.yaml", "contents": "name: test-apple\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"APPLE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:51.143230", "created_at": "2023-01-20T18:58:44+01:00", "updated_at": "2023-02-16T23:17:05+01:00", "name": "test-ballcoin", "path": ".github/workflows/test-ballcoin.yaml", "contents": "name: test-ballcoin\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"BALLCOIN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:52.165447", "created_at": "2021-11-14T19:40:18+01:00", "updated_at": "2021-11-14T19:40:18+01:00", "name": "test-base", "path": ".github/workflows/test-base.yaml", "contents": "name: test-base\n\non: workflow_dispatch\n\njobs:\n  docker-jammy:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile-jammy.base\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-jammy:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-jammy:test\n\n  docker-focal:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile-focal.base\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-focal:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-focal:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:53.186151", "created_at": "2021-12-01T21:36:59+01:00", "updated_at": "2021-12-03T14:46:41+01:00", "name": "test-btcgreen", "path": ".github/workflows/test-btcgreen.yaml", "contents": "name: test-btcgreen\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"BTCGREEN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:54.317501", "created_at": "2021-11-09T03:51:45+01:00", "updated_at": "2021-11-12T03:16:11+01:00", "name": "test-cactus", "path": ".github/workflows/test-cactus.yaml", "contents": "name: test-cactus\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"CACTUS_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:55.345268", "created_at": "2021-10-11T16:29:03+02:00", "updated_at": "2021-10-18T17:51:00+02:00", "name": "test-chia", "path": ".github/workflows/test-chia.yaml", "contents": "name: test-chia\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  chia:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"CHIA_BRANCH=2.1.3\"\n            \"PLOTMAN_BRANCH=development\"\n            \"BLADEBIT_BRANCH=master\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:test\n\n  gigahorse:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"GIGAHORSE_BRANCH=v2.3.0.giga36\"\n            \"CHIA_BRANCH=main\"\n            \"PLOTMAN_BRANCH=development\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:56.357225", "created_at": "2022-08-13T01:34:04+02:00", "updated_at": "2022-08-23T20:56:33+02:00", "name": "test-chinilla", "path": ".github/workflows/test-chinilla.yaml", "contents": "name: test-chinilla\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"CHINILLA_BRANCH=release/1.4.0\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:57.366934", "created_at": "2021-10-09T19:18:05+02:00", "updated_at": "2021-10-18T17:51:00+02:00", "name": "test-chives", "path": ".github/workflows/test-chives.yaml", "contents": "name: test-chives\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  chives:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"CHIVES_REPO=https://github.com/HiveProject2021/chives-blockchain.git\"\n            \"CHIVES_BRANCH=1.5.4\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:test\n\n  chivesfoxy:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"CHIVES_REPO=https://github.com/foxypool/chives-blockchain.git\"\n            \"CHIVES_BRANCH=main\"\n            \"PLOTMAN_BRANCH=development\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:58.368705", "created_at": "2023-01-04T04:47:54+01:00", "updated_at": "2023-01-04T05:05:50+01:00", "name": "test-coffee", "path": ".github/workflows/test-coffee.yaml", "contents": "name: test-coffee\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"COFFEE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:09:59.433801", "created_at": "2021-11-12T23:17:21+01:00", "updated_at": "2021-11-14T19:40:18+01:00", "name": "test-cryptodoge", "path": ".github/workflows/test-cryptodoge.yaml", "contents": "name: test-cryptodoge\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"CRYPTODOGE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:00.581756", "created_at": "2022-07-10T17:22:01+02:00", "updated_at": "2022-07-17T15:28:28+02:00", "name": "test-ecostake", "path": ".github/workflows/test-ecostake.yaml", "contents": "name: test-ecostake\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"ECOSTAKE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:01.682525", "created_at": "2021-10-09T19:18:05+02:00", "updated_at": "2021-10-18T17:51:00+02:00", "name": "test-flax", "path": ".github/workflows/test-flax.yaml", "contents": "name: test-flax\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FLAX_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:02.832449", "created_at": "2021-10-22T18:39:14+02:00", "updated_at": "2021-10-23T19:18:01+02:00", "name": "test-flora", "path": ".github/workflows/test-flora.yaml", "contents": "name: test-flora\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"FLORA_BRANCH=latest\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:04.045468", "created_at": "2022-08-13T01:34:04+02:00", "updated_at": "2022-08-23T20:56:33+02:00", "name": "test-gold", "path": ".github/workflows/test-gold.yaml", "contents": "name: test-gold\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"GOLD_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:05.175803", "created_at": "2023-01-04T04:47:54+01:00", "updated_at": "2023-01-04T05:05:50+01:00", "name": "test-greenbtc", "path": ".github/workflows/test-greenbtc.yaml", "contents": "name: test-greenbtc\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"GREENBTC_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-greenbtc:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-greenbtc:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:06.286949", "created_at": "2021-10-09T19:18:05+02:00", "updated_at": "2021-10-18T17:51:00+02:00", "name": "test-hddcoin", "path": ".github/workflows/test-hddcoin.yaml", "contents": "name: test-hddcoin\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"HDDCOIN_BRANCH=beta\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:07.332824", "created_at": "2022-08-13T01:34:04+02:00", "updated_at": "2022-08-23T20:56:33+02:00", "name": "test-littlelambocoin", "path": ".github/workflows/test-littlelambocoin.yaml", "contents": "name: test-littlelambocoin\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"LITTLELAMBOCOIN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-littlelambocoin:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-littlelambocoin:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:08.551137", "created_at": "2021-11-21T03:43:32+01:00", "updated_at": "2021-11-28T15:41:35+01:00", "name": "test-maize", "path": ".github/workflows/test-maize.yaml", "contents": "name: test-maize\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"MAIZE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:09.651061", "created_at": "2022-08-13T01:34:04+02:00", "updated_at": "2022-08-23T20:56:33+02:00", "name": "test-mint", "path": ".github/workflows/test-mint.yaml", "contents": "name: test-mint\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"MINT_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:10.682968", "created_at": "2022-01-10T03:38:06+01:00", "updated_at": "2022-02-03T22:03:37+01:00", "name": "test-mmx", "path": ".github/workflows/test-mmx.yaml", "contents": "name: test-mmx\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIA_BRANCH=latest\"\n            \"PLOTMAN_BRANCH=development\"\n            \"MMX_BRANCH=v0.10.6\"\n            \"GIGAHORSE_BRANCH=v2.3.0.giga36\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:11.828203", "created_at": "2022-11-09T23:50:37+01:00", "updated_at": "2023-01-04T05:05:50+01:00", "name": "test-moon", "path": ".github/workflows/test-moon.yaml", "contents": "name: test-moon\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"MOON_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:12.826623", "created_at": "2021-10-09T19:18:05+02:00", "updated_at": "2021-10-18T17:51:00+02:00", "name": "test-nchain", "path": ".github/workflows/test-nchain.yaml", "contents": "name: test-nchain\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"NCHAIN_BRANCH=net9.dev\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:13.864312", "created_at": "2023-01-04T04:47:54+01:00", "updated_at": "2023-01-04T05:05:51+01:00", "name": "test-one", "path": ".github/workflows/test-one.yaml", "contents": "name: test-one\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"ONE_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:14.900199", "created_at": "2022-07-10T17:22:01+02:00", "updated_at": "2022-07-17T15:28:28+02:00", "name": "test-petroleum", "path": ".github/workflows/test-petroleum.yaml", "contents": "name: test-petroleum\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"PETROLEUM_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:16.540792", "created_at": "2022-07-10T17:22:02+02:00", "updated_at": "2022-07-17T15:28:28+02:00", "name": "test-profit", "path": ".github/workflows/test-profit.yaml", "contents": "name: test-profit\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"PROFIT_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:17.664859", "created_at": "2021-12-07T22:18:09+01:00", "updated_at": "2022-01-02T23:30:45+01:00", "name": "test-shibgreen", "path": ".github/workflows/test-shibgreen.yaml", "contents": "name: test-shibgreen\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"SHIBGREEN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:18.895122", "created_at": "2021-10-26T01:23:29+02:00", "updated_at": "2021-10-29T16:28:40+02:00", "name": "test-silicoin", "path": ".github/workflows/test-silicoin.yaml", "contents": "name: test-silicoin\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"SILICOIN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:19.922678", "created_at": "2021-11-03T17:12:08+01:00", "updated_at": "2021-11-05T17:38:01+01:00", "name": "test-staicoin", "path": ".github/workflows/test-staicoin.yaml", "contents": "name: test-staicoin\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"STAICOIN_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:21.043899", "created_at": "2021-11-09T03:51:45+01:00", "updated_at": "2021-11-12T03:16:11+01:00", "name": "test-stor", "path": ".github/workflows/test-stor.yaml", "contents": "name: test-stor\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=focal\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"STOR_BRANCH=master\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:22.164831", "created_at": "2022-08-13T01:34:04+02:00", "updated_at": "2022-08-23T20:56:33+02:00", "name": "test-tad", "path": ".github/workflows/test-tad.yaml", "contents": "name: test-tad\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"TAD_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:23.167344", "created_at": "2022-08-13T01:34:04+02:00", "updated_at": "2022-08-23T20:56:33+02:00", "name": "test-wheat", "path": ".github/workflows/test-wheat.yaml", "contents": "name: test-wheat\n\non:\n  push:\n    branches:\n      - 'integration'\n\njobs:\n  docker:\n    runs-on: ubuntu-22.04\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - \n        name: Login to DockerHub\n        uses: docker/login-action@v2 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v2 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          provenance: false\n          push: true\n          build-args: |\n            \"UBUNTU_VER=jammy\"\n            \"MACHINARIS_STREAM=test\"\n            \"CHIADOG_BRANCH=dev\"\n            \"WHEAT_BRANCH=main\"\n          tags: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:test\n            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:test\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:24.320901", "created_at": "2021-11-20T20:57:03+01:00", "updated_at": "2021-11-28T15:41:35+01:00", "name": "unit-tests", "path": ".github/workflows/unit-tests.yml", "contents": "name: unit-tests\n\non:\n  push:\n    branches:\n      - 'develop'\n\nenv:\n  LANG: \"en_US.UTF-8\"\n  LANGUAGE: \"en_US:en\"\n  LC_ALL: \"en_US.UTF-8\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r docker/requirements.txt\n      - name: Test with pytest\n        run: LANG=en_US.UTF-8 pytest\n", "state": "active", "repository": "guydavis/machinaris"}
{"mined_at": "2024-07-15T16:10:26.434749", "created_at": "2023-11-30T16:07:21+01:00", "updated_at": "2023-12-01T13:12:37+01:00", "name": "Generate documentation", "path": ".github/workflows/docs.yaml", "contents": "name: Generate documentation\n\non:\n  push:\n    tags:\n      - \"v*.*.*\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: pip\n      - name: Install dependencies\n        run: |\n          pip install .\n          pip install -r docs/requirements.txt\n      - name: Build documentation\n        run: |\n          cd docs\n          make html\n          touch html/.nojekyll\n      - name: Upload Pages artifact\n        uses: actions/upload-pages-artifact@v2\n        with:\n          path: docs/html\n  deploy:\n    needs: build\n    permissions:\n      pages: write\n      id-token: write\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "actris-cloudnet/cloudnetpy"}
{"mined_at": "2024-07-15T16:10:27.597940", "created_at": "2020-06-02T20:40:20+02:00", "updated_at": "2020-06-02T20:40:20+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Upload Python Package\n\non:\n  push:\n    tags:\n      - \"v*.*.*\"\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: python -m pip install build\n      - name: Build package\n        run: python -m build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n      - name: Generate changelog\n        run: |\n          version=${GITHUB_REF#refs/tags/v}\n          sed \"0,/^## ${version//./\\\\.}/d;/^## /,\\$d\" CHANGELOG.md > ${{ github.workspace }}-CHANGELOG.txt\n          echo \"name=CloudnetPy $version\" >> $GITHUB_OUTPUT\n        id: changelog\n      - name: Create release\n        uses: softprops/action-gh-release@v1\n        with:\n          name: ${{ steps.changelog.outputs.name }}\n          body_path: ${{ github.workspace }}-CHANGELOG.txt\n", "state": "active", "repository": "actris-cloudnet/cloudnetpy"}
{"mined_at": "2024-07-15T16:10:28.726075", "created_at": "2020-05-04T14:34:07+02:00", "updated_at": "2022-03-28T20:14:25+02:00", "name": "CloudnetPy CI", "path": ".github/workflows/test.yml", "contents": "name: CloudnetPy CI\n\non: [push, pull_request]\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install .[dev,test,extras]\n      - name: Run pre-commit checks\n        if: startsWith(matrix.os, 'ubuntu-')\n        run: |\n          pre-commit run --all-files --show-diff-on-failure\n      - name: Run unit tests\n        run: |\n          pytest --flake-finder --flake-runs=2\n      - name: Run E2E tests\n        run: |\n          python3 tests/e2e_test.py\n          python3 cloudnetpy/model_evaluation/tests/e2e/process_cf/main.py\n          python3 cloudnetpy/model_evaluation/tests/e2e/process_iwc/main.py\n          python3 cloudnetpy/model_evaluation/tests/e2e/process_lwc/main.py\n", "state": "active", "repository": "actris-cloudnet/cloudnetpy"}
{"mined_at": "2024-07-15T16:10:29.840412", "created_at": "2023-11-30T16:12:04+01:00", "updated_at": "2023-11-30T16:12:04+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "actris-cloudnet/cloudnetpy"}
{"mined_at": "2024-07-15T16:10:32.103190", "created_at": "2022-11-30T20:13:07+01:00", "updated_at": "2022-11-30T20:48:11+01:00", "name": "Code Coverage Evaluation on PR", "path": ".github/workflows/code-coverage.yml", "contents": "name: Code Coverage Evaluation on PR\n\non:\n  push:\n    branches:\n      - develop\n    paths:\n      - 'packages/*/src/**'\n  pull_request:\n    branches:\n      - develop\n    paths:\n      - 'packages/*/src/**'\n    types:\n      - opened\n      - reopened\n      - synchronize\n\njobs:\n  codecov:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install Python Tools\n        run: pip install --upgrade pip setuptools wheel\n      - name: Install Pytest\n        run: pip install pytest pytest-cov\n      - name: Install kestrel [all packages]\n        run: make install\n      - name: Coverage for kestrel_core\n        working-directory: ./packages/kestrel_core\n        run: pytest -vv --cov-report=xml --cov=kestrel\n      - name: Coverage for kestrel_interface_opensearch\n        working-directory: ./packages/kestrel_interface_opensearch\n        run: pytest -vv --cov-report=xml --cov=kestrel_interface_opensearch\n      - name: Coverage for kestrel_interface_sqlalchemy\n        working-directory: ./packages/kestrel_interface_sqlalchemy\n        run: pytest -vv --cov-report=xml --cov=kestrel_interface_sqlalchemy\n      - name: Coverage for kestrel_jupyter\n        working-directory: ./packages/kestrel_jupyter\n        run: pytest -vv --cov-report=xml $(ls src | grep -v '.egg-info' | xargs | sed -r 's/^| / --cov=/g')\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          fail_ci_if_error: false\n          files: ./packages/kestrel_core/coverage.xml,./packages/kestrel_interface_opensearch/coverage.xml,./packages/kestrel_interface_sqlalchemy/coverage.xml,./packages/kestrel_jupyter/coverage.xml\n          verbose: true\n", "state": "active", "repository": "opencybersecurityalliance/kestrel-lang"}
{"mined_at": "2024-07-15T16:10:33.229815", "created_at": "2021-06-02T05:04:38+02:00", "updated_at": "2021-06-02T05:30:55+02:00", "name": "Code style compliance check", "path": ".github/workflows/code-style.yml", "contents": "name: Code style compliance check\n\non:\n  push:\n    branches:\n      - develop\n    paths:\n      - 'packages/*/src/**'\n  pull_request:\n    branches:\n      - develop\n    paths:\n      - 'packages/*/src/**'\n    types:\n      - opened\n      - reopened\n      - synchronize\n\njobs:\n  codestyle:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install Kestrel package\n        run: |\n          pip install --upgrade pip setuptools wheel\n          pip install black\n      - name: Code style check (please black your code)\n        run: black --check packages/*/src/\n", "state": "active", "repository": "opencybersecurityalliance/kestrel-lang"}
{"mined_at": "2024-07-15T16:10:34.339174", "created_at": "2023-05-13T01:02:45+02:00", "updated_at": "2024-05-01T15:50:40+02:00", "name": "Integration Testing With stix-shifter and Live Data Sources", "path": ".github/workflows/integration-testing.yml", "contents": null, "state": "active", "repository": "opencybersecurityalliance/kestrel-lang"}
{"mined_at": "2024-07-15T16:10:35.373740", "created_at": "2023-08-16T04:30:23+02:00", "updated_at": "2024-05-02T01:17:54+02:00", "name": "Build Docker image", "path": ".github/workflows/kaas-docker-image.yml", "contents": null, "state": "active", "repository": "opencybersecurityalliance/kestrel-lang"}
{"mined_at": "2024-07-15T16:10:36.487475", "created_at": "2021-05-31T17:30:03+02:00", "updated_at": "2024-05-02T01:17:54+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": null, "state": "active", "repository": "opencybersecurityalliance/kestrel-lang"}
{"mined_at": "2024-07-15T16:10:37.581794", "created_at": "2022-02-12T03:20:23+01:00", "updated_at": "2024-04-30T22:24:58+02:00", "name": "STIX-shifter Connector Package Verification (Kestrel 1)", "path": ".github/workflows/stixshifter-module-verification.yml", "contents": "name: STIX-shifter Connector Package Verification (Kestrel 1)\n\non:\n  schedule:\n    # Run this once per day, towards the end of the day for keeping the most\n    # recent data point most meaningful (hours are interpreted in UTC).\n    - cron: \"55 02 * * *\"\n  workflow_dispatch: # Allow for running this manually.\n\njobs:\n  verify-stixshifter:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./packages/kestrel_datasource_stixshifter\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: develop_v1\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install Python Tools\n        run: pip install --upgrade pip setuptools wheel\n      - name: Install kestrel_core\n        working-directory: ./packages/kestrel_core\n        run: pip install .\n      - name: Install kestrel_datasource_stixshifter\n        run: pip install .[test]\n      - name: Sample STIX-shifter Connector Package Verification on PyPI\n        run: pytest -vv tests/test_stixshifter.py -k test_verify_package_origin\n", "state": "active", "repository": "opencybersecurityalliance/kestrel-lang"}
{"mined_at": "2024-07-15T16:10:38.619150", "created_at": "2021-06-01T22:26:21+02:00", "updated_at": "2024-04-30T21:03:11+02:00", "name": "Unit testing on PR", "path": ".github/workflows/unit-testing.yml", "contents": "name: Unit testing on PR\n\non:\n  push:\n    branches:\n      - develop\n    paths:\n      - 'packages/**'\n  pull_request:\n    branches:\n      - develop\n    paths:\n      - 'packages/**'\n    types:\n      - opened\n      - reopened\n      - synchronize\n\njobs:\n  test-kestrel-core:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n        working-directory: ./packages/kestrel_core\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Python Tools\n        run: pip install --upgrade pip setuptools wheel pytest\n      - name: Install kestrel_core\n        run: pip install .\n      - name: Unit testing\n        run: pytest -vv\n\n  test-kestrel-interface-opensearch:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n        working-directory: ./packages/kestrel_interface_opensearch\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Python Tools\n        run: pip install --upgrade pip setuptools wheel pytest\n      - name: Install kestrel_core\n        working-directory: ./packages/kestrel_core\n        run: pip install .\n      - name: Install kestrel_interface_opensearch\n        run: pip install .\n      - name: Unit testing\n        run: pytest -vv\n", "state": "active", "repository": "opencybersecurityalliance/kestrel-lang"}
{"mined_at": "2024-07-15T16:10:39.783405", "created_at": "2021-06-02T21:45:58+02:00", "updated_at": "2021-06-03T03:59:01+02:00", "name": "Unused imports check", "path": ".github/workflows/unused-import.yml", "contents": "name: Unused imports check\n\non:\n  push:\n    branches:\n      - develop\n    paths:\n      - 'packages/*/src/**'\n  pull_request:\n    branches:\n      - develop\n    paths:\n      - 'packages/*/src/**'\n    types:\n      - opened\n      - reopened\n      - synchronize\n\njobs:\n  unusedimports:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install Kestrel package\n        run: |\n          pip install --upgrade pip setuptools wheel\n          pip install unimport\n      - name: Check\n        run: unimport --check --exclude __init__.py packages/*/src/\n", "state": "active", "repository": "opencybersecurityalliance/kestrel-lang"}
{"mined_at": "2024-07-15T16:10:41.018434", "created_at": "2023-04-11T16:12:23+02:00", "updated_at": "2023-04-11T16:12:23+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "opencybersecurityalliance/kestrel-lang"}
{"mined_at": "2024-07-15T16:10:43.176338", "created_at": "2020-11-23T05:19:01+01:00", "updated_at": "2022-07-27T18:20:19+02:00", "name": "build", "path": ".github/workflows/ci.yml", "contents": "name: build\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n      - develop\n\njobs:\n  style:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out Pulser\n        uses: actions/checkout@v4\n      - name: Pulser + flake8 install\n        uses: ./.github/workflows/pulser-setup\n        with:\n          extra-packages: flake8\n      - name: Lint with flake8\n        run: flake8\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out Pulser\n        uses: actions/checkout@v4\n      - name: Pulser + black install\n        uses: ./.github/workflows/pulser-setup\n        with:\n          extra-packages: black\n      - name: Check formatting with black\n        run: black --check --diff .\n  isort:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out Pulser\n        uses: actions/checkout@v4\n      - name: Pulser + isort install\n        uses: ./.github/workflows/pulser-setup\n        with:\n          extra-packages: isort\n      - name: Check import sorting with isort\n        run: isort --check-only --diff .\n  typing:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out Pulser\n        uses: actions/checkout@v4\n      - name: Pulser + mypy install\n        uses: ./.github/workflows/pulser-setup\n        with:\n          extra-packages: '''mypy\\|pytest'''\n      - name: Type check with mypy\n        run: mypy\n  test:\n    if: github.event_name != 'push'\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.12\"]\n    steps:\n      - name: Check out Pulser\n        uses: actions/checkout@v4\n      - name: Pulser + pytest install\n        uses: ./.github/workflows/pulser-setup\n        with:\n          python-version: ${{ matrix.python-version }}\n          extra-packages: pytest\n      - name: Run the unit tests & generate coverage report\n        run: pytest --cov --cov-fail-under=100\n      - name: Test validation with legacy jsonschema\n        run: |\n          pip install jsonschema==4.17.3\n          pytest tests/test_abstract_repr.py\n", "state": "active", "repository": "pasqal-io/pulser"}
{"mined_at": "2024-07-15T16:10:44.289348", "created_at": "2022-07-28T14:39:22+02:00", "updated_at": "2023-12-04T12:06:58+01:00", "name": "Release to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Release to PyPI\n\non:\n  release:\n    types: [released]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n      - name: Check out Pulser\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.ref }}\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n      - name: Build packages\n        shell: bash\n        run: ./.github/scripts/package.sh\n      - name: Publish to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n      - name: Install from TestPyPI\n        timeout-minutes: 5\n        shell: bash\n        run: |\n          version=\"$(head -1 VERSION.txt)\"\n          until pip install -i https://test.pypi.org/simple/ pulser==$version --extra-index-url https://pypi.org/simple\n          do\n            echo \"Failed to install from TestPyPI, will wait for upload and retry.\"\n            sleep 30\n          done\n      - name: Test the installation\n        # Installs pytest from dev_requirements.txt (in case it has a version specifier)\n        run: |\n          grep -e pytest dev_requirements.txt | sed 's/ //g' | xargs pip install\n          pytest\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n      - name: Confirm deployment\n        timeout-minutes: 5\n        shell: bash\n        run: |\n          version=\"$(head -1 VERSION.txt)\"\n          until pip download pulser==$version\n          do\n            echo \"Failed to download from PyPI, will wait for upload and retry.\"\n            sleep 30\n          done\n\n  check-release:\n    needs: deploy\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Check out Pulser\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.ref }}\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Pulser from PyPI\n        timeout-minutes: 5\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          version=\"$(head -1 VERSION.txt)\"\n          until pip install pulser==$version\n          do\n            echo \"Failed to install from PyPI, will wait for upload and retry.\"\n            sleep 30\n          done\n      - name: Test the installation\n        shell: bash\n        run: |\n          version=\"$(head -1 VERSION.txt)\"\n          python -c \"import pulser; assert pulser.__version__ == '$version'\"\n          grep -e pytest dev_requirements.txt | sed 's/ //g' | xargs pip install\n          pytest\n", "state": "active", "repository": "pasqal-io/pulser"}
{"mined_at": "2024-07-15T16:10:45.518171", "created_at": "2022-07-27T18:20:17+02:00", "updated_at": "2022-08-09T18:40:30+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches:\n      - master\n      - develop\n\njobs:\n  full-tests:\n    runs-on: ${{ matrix.os }}\n    env:\n      # Set Matplotlib backend to fix flaky execution on Windows\n      MPLBACKEND: agg\n    strategy:\n      fail-fast: false\n      matrix:\n        # Python 3.8 and 3.9 does not run on macos-latest (14)\n        # Uses macos-13 for 3.8 and 3.9 and macos-latest for >=3.10 \n        os: [ubuntu-latest, macos-13, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          - os: macos-latest\n            python-version: \"3.8\"\n          - os: macos-latest\n            python-version: \"3.9\"\n          - os: macos-13\n            python-version: \"3.10\"\n          - os: macos-13\n            python-version: \"3.11\"\n          - os: macos-13\n            python-version: \"3.12\"\n    steps:\n      - name: Check out Pulser\n        uses: actions/checkout@v4\n      - name: Pulser + pytest setup\n        uses: ./.github/workflows/pulser-setup\n        with:\n          python-version: ${{ matrix.python-version }}\n          extra-packages: pytest\n      - name: Run the unit tests & generate coverage report\n        run: pytest --cov --cov-fail-under=100\n", "state": "active", "repository": "pasqal-io/pulser"}
{"mined_at": "2024-07-15T16:10:46.747155", "created_at": "2022-07-27T10:47:15+02:00", "updated_at": "2022-08-09T18:40:30+02:00", "name": "version", "path": ".github/workflows/version.yml", "contents": "name: version\n\non:\n  pull_request:\n    paths:\n      - \"VERSION.txt\"\n\njobs:\n  validate-version:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out base branch\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.base.ref }}\n      - name: Get old version\n        run: |\n          old_version=\"$(head -1 VERSION.txt)\"\n          echo \"Old version: $old_version\"\n          echo \"old_version=$old_version\" >> $GITHUB_ENV\n      - name: Check out head branch\n        uses: actions/checkout@v4\n      - name: Get new version\n        run: |\n          new_version=\"$(head -1 VERSION.txt)\"\n          echo \"New version: $new_version\"\n          echo \"new_version=$new_version\" >> $GITHUB_ENV\n      - name: Compare versions\n        run: dpkg --compare-versions \"${{ env.old_version }}\" lt \"${{ env.new_version }}\"\n      - name: Check stable version validity\n        if: github.event.pull_request.base.ref == 'master'\n        run: |\n          pattern=^\\(0\\|[1-9][0-9]*\\)\\.\\(0\\|[1-9][0-9]*\\)\\.\\(0\\|[1-9][0-9]*\\)$\n          if [[ ${{ env.new_version }} =~ $pattern ]]; then\n            echo \"New version is valid.\"; exit 0\n          else\n            echo \"New version is invalid.\"; exit 1\n          fi\n      - name: Check development version validity\n        if: github.event.pull_request.base.ref != 'master'\n        run: |\n          pattern=^\\(0\\|[1-9][0-9]*\\)\\.\\(0\\|[1-9][0-9]*\\)dev\\(0\\|[1-9][0-9]*\\)$\n          if [[ ${{ env.new_version }} =~ $pattern ]]; then\n            echo \"New version is valid.\"; exit 0\n          else\n            echo \"New version is invalid.\"; exit 1\n          fi\n", "state": "active", "repository": "pasqal-io/pulser"}
{"mined_at": "2024-07-15T16:10:49.116031", "created_at": "2021-08-30T23:35:49+02:00", "updated_at": "2022-10-21T16:29:00+02:00", "name": "promote-to-ga", "path": ".github/workflows/promote-ga.yml", "contents": "name: promote-to-ga\n\"on\":\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\njobs:\n  promote-to-ga:\n    runs-on: ubuntu-latest\n    name: promote-to-ga\n    env:\n      AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.GH_AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.GH_AWS_SECRET_ACCESS_KEY }}\n      AWS_EC2_METADATA_DISABLED: true\n      DEV_REGISTRY: ${{ secrets.DEV_REGISTRY }}\n      RELEASE_REGISTRY: ${{ secrets.RELEASE_REGISTRY }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: \"Docker Login\"\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ (!startsWith(secrets.RELEASE_REGISTRY, 'docker.io/')) && secrets.RELEASE_REGISTRY || null }}\n          username: ${{ secrets.GH_DOCKER_RELEASE_USERNAME }}\n          password: ${{ secrets.GH_DOCKER_RELEASE_TOKEN }}\n      - name: \"Install Deps\"\n        uses: ./.github/actions/setup-deps\n      - name: \"make release/promote-oss/to-ga\"\n        run: |\n          make release/promote-oss/to-ga\n      - uses: ./.github/actions/after-job\n        if: always()\n      - id: check-slack-webhook\n        name: Assign slack webhook variable\n        run: echo \"slack_webhook_url=${{secrets.SLACK_WEBHOOK_URL}}\" >> $GITHUB_OUTPUT\n      - name: Slack notification\n        if: steps.check-slack-webhook.outputs.slack_webhook_url && always()\n        uses: edge/simple-slack-notify@master\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          success_text: 'Emissary GA for ${env.GITHUB_REF} successfully built'\n          failure_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build failed'\n          cancelled_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build was cancelled'\n          fields: |\n            [{ \"title\": \"Repository\", \"value\": \"${env.GITHUB_REPOSITORY}\", \"short\": true },\n             { \"title\": \"Branch\", \"value\": \"${env.GITHUB_REF}\", \"short\": true },\n             { \"title\": \"Action URL\", \"value\": \"${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}\"}\n            ]\n      - uses: ./.github/actions/after-job\n        if: always()\n  create-gh-release:\n    runs-on: ubuntu-latest\n    needs: [promote-to-ga]\n    name: \"Create GitHub release\"\n    env:\n      AMBASSADOR_RELENG_NO_GUI: \"1\"\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: \"Install Deps\"\n        uses: ./.github/actions/setup-deps\n      - name: \"gh auth login\"\n        run: |\n          gh auth login --with-token <<<'${{ secrets.GH_GITHUB_API_KEY }}'\n      - name: Create GitHub release\n        id: step-create-gh-release\n        run: |\n          make release/ga/create-gh-release\n      - id: check-slack-webhook\n        name: Assign slack webhook variable\n        run: echo \"slack_webhook_url=${{secrets.SLACK_WEBHOOK_URL}}\" >> $GITHUB_OUTPUT\n      - name: Slack notification\n        if: steps.check-slack-webhook.outputs.slack_webhook_url && always()\n        uses: edge/simple-slack-notify@master\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          success_text: 'Emissary GitHub release was created: ${{ steps.step-create-gh-release.outputs.url }}'\n          failure_text: 'Emissary GitHub release failed'\n          cancelled_text: 'Emissary GitHub release was was cancelled'\n          fields: |\n            [{ \"title\": \"Repository\", \"value\": \"${env.GITHUB_REPOSITORY}\", \"short\": true },\n             { \"title\": \"Branch\", \"value\": \"${env.GITHUB_REF}\", \"short\": true },\n             { \"title\": \"Action URL\", \"value\": \"${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}\"}\n            ]\n      - uses: ./.github/actions/after-job\n        if: always()\n", "state": "active", "repository": "emissary-ingress/emissary"}
{"mined_at": "2024-07-15T16:10:50.232615", "created_at": "2021-09-03T20:15:06+02:00", "updated_at": "2024-07-13T23:47:46+02:00", "name": ".github/workflows/execute-tests-and-promote.yml", "path": ".github/workflows/execute-tests-and-promote.yml", "contents": "name: job-promote-to-passed\n\n\"on\":\n  push:\n    branches:\n      - master\n      - release/v*\n  pull_request: {}\n  workflow_dispatch:\n\njobs:\n  lint: ########################################################################\n    runs-on: ubuntu-latest\n    env:\n      # See docker/base-python.docker.gen\n      BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install Deps\n        uses: ./.github/actions/setup-deps\n      - shell: bash\n        run: |\n          make lint-deps\n      - shell: bash\n        run: |\n          make lint\n      - uses: ./.github/actions/after-job\n        if: always()\n\n  generate: ####################################################################\n    runs-on: ubuntu-latest\n    env:\n      # See docker/base-python.docker.gen\n      BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install Deps\n        uses: ./.github/actions/setup-deps\n      - name: \"Git Login\"\n        run: |\n          if [[ -n '${{ secrets.GHA_SSH_KEY }}' ]]; then\n            install -m700 -d ~/.ssh\n            install -m600 /dev/stdin ~/.ssh/id_rsa <<<'${{ secrets.GHA_SSH_KEY }}'\n          fi\n      - name: \"Docker Login\"\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ (!startsWith(secrets.RELEASE_REGISTRY, 'docker.io/')) && secrets.RELEASE_REGISTRY || null }}\n          username: ${{ secrets.GH_DOCKER_RELEASE_USERNAME }}\n          password: ${{ secrets.GH_DOCKER_RELEASE_TOKEN }}\n      - name: \"'make generate'\"\n        shell: bash\n        run: |\n          make generate\n      - name: \"Update dependency information after dependabot change\"\n        uses: datawire/go-mkopensource/actions/save-dependabot-changes@v0.0.7\n        id: changed-by-dependabot\n        with:\n          branches_to_skip: master\n      - name: \"Abort if dependencies changed\"\n        if: steps.changed-by-dependabot.outputs.is_dirty == 'true'\n        run: |\n          echo \"Dependabot triggered a dependency update. Aborting workflow.\"\n          exit 1\n      - uses: ./.github/actions/git-dirty-check\n        name: \"Check Git not dirty from 'make generate'\"\n      - name: \"'make generate' (again!)\"\n        shell: bash\n        run: |\n          make generate\n      - uses: ./.github/actions/git-dirty-check\n        name: \"Check Git not dirty from 'make generate' (again!)\"\n      - uses: ./.github/actions/after-job\n        if: always()\n\n  check-envoy-protos: ####################################################################\n    runs-on: ubuntu-latest\n    env:\n      # See docker/base-python.docker.gen\n      BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install Deps\n        uses: ./.github/actions/setup-deps\n      - name: \"Git Login\"\n        run: |\n          if [[ -n '${{ secrets.GHA_SSH_KEY }}' ]]; then\n            install -m700 -d ~/.ssh\n            install -m600 /dev/stdin ~/.ssh/id_rsa <<<'${{ secrets.GHA_SSH_KEY }}'\n          fi\n      - name: \"Docker Login\"\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ (!startsWith(secrets.RELEASE_REGISTRY, 'docker.io/')) && secrets.RELEASE_REGISTRY || null }}\n          username: ${{ secrets.GH_DOCKER_RELEASE_USERNAME }}\n          password: ${{ secrets.GH_DOCKER_RELEASE_TOKEN }}\n      - name: \"'make compile-envoy-protos'\"\n        shell: bash\n        run: |\n          make compile-envoy-protos\n      - name: \"Check Git not dirty from 'make compile-envoy-protos'\"\n        uses: ./.github/actions/git-dirty-check\n      - uses: ./.github/actions/after-job\n        if: always()\n\n  check-envoy-version: #########################################################\n    runs-on: ubuntu-latest\n    env:\n      # See docker/base-python.docker.gen\n      BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install Deps\n        uses: ./.github/actions/setup-deps\n      - name: \"Git Login\"\n        run: |\n          if [[ -n '${{ secrets.GHA_SSH_KEY }}' ]]; then\n            install -m700 -d ~/.ssh\n            install -m600 /dev/stdin ~/.ssh/id_rsa <<<'${{ secrets.GHA_SSH_KEY }}'\n          fi\n      - name: \"Docker Login\"\n        # This is important if ENVOY_DOCKER_REPO is a private repo.\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ (!startsWith(secrets.DEV_REGISTRY, 'docker.io/')) && secrets.DEV_REGISTRY || null }}\n          username: ${{ secrets.GH_DOCKER_BUILD_USERNAME }}\n          password: ${{ secrets.GH_DOCKER_BUILD_TOKEN }}\n      - run: make check-envoy-version\n      - uses: ./.github/actions/after-job\n        if: always()\n\n  # Tests ######################################################################\n  apiext-e2e:\n    runs-on: ubuntu-latest\n    env:\n      # See docker/base-python.docker.gen\n      BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }}\n      APIEXT_E2E: \"\"\n      APIEXT_BUILD_ARCH: linux/amd64\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            network=host\n      - name: Install Deps\n        uses: ./.github/actions/setup-deps\n      - name: Install k3d\n        shell: bash\n        run: |\n          curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.6.0 bash\n          k3d --version\n      - name: go mod vendor\n        shell: bash\n        run: |\n          make vendor\n      - name: run apiext-e2e tests\n        shell: bash\n        run: |\n          go test -p 1 -parallel 1 -v -tags=apiext ./test/apiext/... -timeout 15m\n  check-gotest:\n    runs-on: ubuntu-latest\n    env:\n      # See docker/base-python.docker.gen\n      BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install Deps\n        uses: ./.github/actions/setup-deps\n      - name: \"Docker Login\"\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ (!startsWith(secrets.DEV_REGISTRY, 'docker.io/')) && secrets.DEV_REGISTRY || null }}\n          username: ${{ secrets.GH_DOCKER_BUILD_USERNAME }}\n          password: ${{ secrets.GH_DOCKER_BUILD_TOKEN }}\n      - name: make gotest\n        shell: bash\n        run: |\n          make gotest\n      - uses: ./.github/actions/after-job\n        if: always()\n  check-pytest:\n    runs-on: ubuntu-latest\n    env:\n      # See docker/base-python.docker.gen\n      BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }}\n      # See pkg/kubeapply/resource_kubeapply.go\n      DEV_USE_IMAGEPULLSECRET: ${{ secrets.DEV_USE_IMAGEPULLSECRET }}\n      DOCKER_BUILD_USERNAME: ${{ secrets.GH_DOCKER_BUILD_USERNAME }}\n      DOCKER_BUILD_PASSWORD: ${{ secrets.GH_DOCKER_BUILD_TOKEN }}\n    strategy:\n      fail-fast: false\n      matrix:\n        test:\n          - integration-tests\n          - kat-envoy3-tests-1-of-5\n          - kat-envoy3-tests-2-of-5\n          - kat-envoy3-tests-3-of-5\n          - kat-envoy3-tests-4-of-5\n          - kat-envoy3-tests-5-of-5\n    name: pytest-${{ matrix.test }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install Deps\n        uses: ./.github/actions/setup-deps\n      - name: \"Docker Login\"\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ (!startsWith(secrets.DEV_REGISTRY, 'docker.io/')) && secrets.DEV_REGISTRY || null }}\n          username: ${{ secrets.GH_DOCKER_BUILD_USERNAME }}\n          password: ${{ secrets.GH_DOCKER_BUILD_TOKEN }}\n      - name: Create integration test cluster\n        run: |\n          sudo sysctl -w fs.file-max=1600000\n          sudo sysctl -w fs.inotify.max_user_instances=4096\n\n          make ci/setup-k3d\n      - name: Setup integration test environment\n        run: |\n          export DEV_KUBE_NO_PVC=yes\n          export KAT_REQ_LIMIT=900\n          export DEV_KUBECONFIG=~/.kube/config\n          export DEV_REGISTRY=${{ secrets.DEV_REGISTRY }}\n          make python-integration-test-environment\n      - name: Run ${{ matrix.test }}\n        run: |\n          export DEV_KUBE_NO_PVC=yes\n          export KAT_REQ_LIMIT=900\n          export DEV_KUBECONFIG=~/.kube/config\n          export DEV_REGISTRY=${{ secrets.DEV_REGISTRY }}\n          make pytest-${{ matrix.test }}\n      - uses: ./.github/actions/after-job\n        if: always()\n        with:\n          jobname: check-pytest-${{ matrix.test }}\n  check-pytest-unit:\n    runs-on: ubuntu-latest\n    env:\n      # See docker/base-python.docker.gen\n      BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }}\n    name: pytest-unit\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install Deps\n        uses: ./.github/actions/setup-deps\n      - name: \"Docker Login\"\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ (!startsWith(secrets.DEV_REGISTRY, 'docker.io/')) && secrets.DEV_REGISTRY || null }}\n          username: ${{ secrets.GH_DOCKER_BUILD_USERNAME }}\n          password: ${{ secrets.GH_DOCKER_BUILD_TOKEN }}\n      - name: Create Python virtual environment\n        run: |\n          export DEV_REGISTRY=${{ secrets.DEV_REGISTRY }}\n          make python-virtual-environment\n      - name: Run Python unit tests\n        run: |\n          export PYTEST_ARGS=' --cov-branch --cov=ambassador --cov-report html:/tmp/cov_html '\n          make pytest-unit-tests\n      - uses: ./.github/actions/after-job\n        if: always()\n  check-chart:\n    runs-on: ubuntu-latest\n    env:\n      DEV_REGISTRY: ${{ secrets.DEV_REGISTRY }}\n      # See docker/base-python.docker.gen\n      BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }}\n      # See pkg/kubeapply/resource_kubeapply.go\n      DEV_USE_IMAGEPULLSECRET: ${{ secrets.DEV_USE_IMAGEPULLSECRET }}\n      DOCKER_BUILD_USERNAME: ${{ secrets.GH_DOCKER_BUILD_USERNAME }}\n      DOCKER_BUILD_PASSWORD: ${{ secrets.GH_DOCKER_BUILD_TOKEN }}\n    steps:\n      - uses: docker/login-action@v2\n        with:\n          registry: ${{ (!startsWith(secrets.DEV_REGISTRY, 'docker.io/')) && secrets.DEV_REGISTRY || null }}\n          username: ${{ secrets.GH_DOCKER_BUILD_USERNAME }}\n          password: ${{ secrets.GH_DOCKER_BUILD_TOKEN }}\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Install Deps\n        uses: ./.github/actions/setup-deps\n      - name: make test-chart\n        run: |\n          make ci/setup-k3d\n          export DEV_KUBECONFIG=~/.kube/config\n\n          make test-chart\n      - uses: ./.github/actions/after-job\n        if: always()\n\n  build: #######################################################################\n    runs-on: ubuntu-latest\n    env:\n      DEV_REGISTRY: ${{ secrets.DEV_REGISTRY }}\n      # See docker/base-python.docker.gen\n      BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }}\n    outputs:\n      image-tag: ${{ steps.build-image.outputs.image-tag }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Install Deps\n        uses: ./.github/actions/setup-deps\n      - name: \"Docker Login\"\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ (!startsWith(secrets.DEV_REGISTRY, 'docker.io/')) && secrets.DEV_REGISTRY || null }}\n          username: ${{ secrets.GH_DOCKER_BUILD_USERNAME }}\n          password: ${{ secrets.GH_DOCKER_BUILD_TOKEN }}\n      - name: \"make push\"\n        shell: bash\n        run: |\n          make push\n      - name: \"capture image tag\"\n        id: build-image\n        shell: bash\n        run: |\n          echo \"image-tag=$(build-aux/version.sh)\" >> $GITHUB_OUTPUT\n      - name: \"make push-dev\"\n        shell: bash\n        run: |\n          make push-dev\n      - uses: ./.github/actions/after-job\n        if: always()\n\n  ######################################################################\n  ######################### CVE Scanning ###############################\n  trivy-container-scan:\n    runs-on: ubuntu-latest\n    needs: [build]\n    steps:\n      # upload of results to github uses git so checkout of code is needed\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: \"Log image-tag\"\n        shell: bash\n        run: echo ${{needs.build.outputs.image-tag}}\n      - name: Scan\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: \"${{secrets.DEV_REGISTRY}}/emissary:${{needs.build.outputs.image-tag}}\"\n          format: \"sarif\"\n          exit-code: 0 # only warn for now until we have backed it into our processes\n          output: \"trivy-results.sarif\"\n          ignore-unfixed: true\n          vuln-type: \"os,library\"\n          severity: \"CRITICAL,HIGH\"\n      - name: Upload Scan to GitHub Security Tab\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: \"trivy-results.sarif\"\n\n  ##############################################################################\n  pass:\n    name: \"job-promote-to-passed\" # This is the job name that the branch protection looks for\n    needs:\n      - apiext-e2e\n      - lint\n      - build\n      - generate\n      - check-envoy-protos\n      - check-envoy-version\n      - check-gotest\n      - check-pytest\n      - check-pytest-unit\n      - check-chart\n      - trivy-container-scan\n    runs-on: ubuntu-latest\n    steps:\n      - name: No-Op\n        if: ${{ false }}\n        run: \"echo Pass\"\n", "state": "active", "repository": "emissary-ingress/emissary"}
{"mined_at": "2024-07-15T16:10:51.571736", "created_at": "2021-09-09T00:25:54+02:00", "updated_at": "2021-09-09T00:25:54+02:00", "name": "promote-to-rc", "path": ".github/workflows/promote-rc.yml", "contents": "name: promote-to-rc\n\"on\":\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'\n      - 'v[0-9]+.[0-9]+.[0-9]+-dev'\njobs:\n  promote-to-rc:\n    runs-on: ubuntu-latest\n    name: promote-to-rc\n    env:\n      AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.GH_AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.GH_AWS_SECRET_ACCESS_KEY }}\n      AWS_EC2_METADATA_DISABLED: true\n      DEV_REGISTRY: ${{ secrets.DEV_REGISTRY }}\n      RELEASE_REGISTRY: ${{ secrets.RELEASE_REGISTRY }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: \"Install Deps\"\n        uses: ./.github/actions/setup-deps\n      - name: \"Docker Login\"\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ (!startsWith(secrets.RELEASE_REGISTRY, 'docker.io/')) && secrets.RELEASE_REGISTRY || null }}\n          username: ${{ secrets.GH_DOCKER_RELEASE_USERNAME }}\n          password: ${{ secrets.GH_DOCKER_RELEASE_TOKEN }}\n      - id: step-main\n        run: |\n          make release/promote-oss/to-rc\n          echo \"version=$(go run ./tools/src/goversion | sed s/^v//)\" >> $GITHUB_OUTPUT\n          echo \"chart_version=$(go run ./tools/src/goversion --dir-prefix=chart | sed s/^v//)\" >> $GITHUB_OUTPUT\n      - id: check-slack-webhook\n        name: Assign slack webhook variable\n        run: echo \"slack_webhook_url=${{secrets.SLACK_WEBHOOK_URL}}\" >> $GITHUB_OUTPUT\n      - name: Slack notification\n        if: steps.check-slack-webhook.outputs.slack_webhook_url && always()\n        uses: edge/simple-slack-notify@master\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          # TODO: actually put the RC info in the slack message\n          status: ${{ job.status }}\n          success_text: |\n            Emissary RC for ${{ github.ref }} successfully built:\n            \\`\\`\\`\n            export AMBASSADOR_MANIFEST_URL=https://app.getambassador.io/yaml/emissary/${{ steps.step-main.outputs.version }}\n            export HELM_CHART_VERSION=${{ steps.step-main.outputs.chart_version }}\n            \\`\\`\\`\n          failure_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build failed'\n          cancelled_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build was cancelled'\n          fields: |\n            [{ \"title\": \"Repository\", \"value\": \"${env.GITHUB_REPOSITORY}\", \"short\": true },\n             { \"title\": \"Branch\", \"value\": \"${env.GITHUB_REF}\", \"short\": true },\n             { \"title\": \"Action URL\", \"value\": \"${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}\"}\n            ]\n      - uses: ./.github/actions/after-job\n        if: always()\n", "state": "active", "repository": "emissary-ingress/emissary"}
{"mined_at": "2024-07-15T16:10:52.788603", "created_at": "2021-09-09T00:25:54+02:00", "updated_at": "2021-09-09T00:25:54+02:00", "name": "chart-publish", "path": ".github/workflows/publish-chart.yml", "contents": "name: chart-publish\n\"on\":\n  push:\n    tags:\n      - 'chart/v*'\njobs:\n  chart-publish:\n    runs-on: ubuntu-latest\n    name: chart-publish\n    env:\n      AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.GH_AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.GH_AWS_SECRET_ACCESS_KEY }}\n      AWS_EC2_METADATA_DISABLED: true\n      GH_GITHUB_API_KEY: ${{ secrets.GH_GITHUB_API_KEY }}\n      DEV_REGISTRY: ${{ secrets.DEV_REGISTRY }}\n      RELEASE_REGISTRY: ${{ secrets.RELEASE_REGISTRY }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: \"Install Deps\"\n        uses: ./.github/actions/setup-deps\n      - run: |\n          make release/push-chart\n      - id: check-slack-webhook\n        name: Assign slack webhook variable\n        run: echo \"slack_webhook_url=${{secrets.SLACK_WEBHOOK_URL}}\" >> $GITHUB_OUTPUT\n      - name: Slack notification\n        if: steps.check-slack-webhook.outputs.slack_webhook_url && always()\n        uses: edge/simple-slack-notify@master\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          success_text: \"Chart successfully published for ${env.GITHUB_REF}\"\n          failure_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build failed'\n          cancelled_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build was cancelled'\n          fields: |\n            [{ \"title\": \"Repository\", \"value\": \"${env.GITHUB_REPOSITORY}\", \"short\": true },\n             { \"title\": \"Branch\", \"value\": \"${env.GITHUB_REF}\", \"short\": true },\n             { \"title\": \"Action URL\", \"value\": \"${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}\"}\n            ]\n      - uses: ./.github/actions/after-job\n        if: always()\n  chart-create-gh-release:\n    if: ${{ ! contains(github.ref, '-') }}\n    runs-on: ubuntu-latest\n    needs: [chart-publish]\n    name: \"Create GitHub release\"\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: \"Install Deps\"\n        uses: ./.github/actions/setup-deps\n      - name: \"gh auth login\"\n        run: |\n          gh auth login --with-token <<<'${{ secrets.GH_GITHUB_API_KEY }}'\n      - name: Create GitHub release\n        id: step-create-gh-release\n        run: |\n          make release/chart-create-gh-release\n      - id: check-slack-webhook\n        name: Assign slack webhook variable\n        run: echo \"slack_webhook_url=${{secrets.SLACK_WEBHOOK_URL}}\" >> $GITHUB_OUTPUT\n      - name: Slack notification\n        if: steps.check-slack-webhook.outputs.slack_webhook_url && always()\n        uses: edge/simple-slack-notify@master\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n        with:\n          status: ${{ job.status }}\n          success_text: 'Chart GitHub release was created: ${{ steps.step-create-gh-release.outputs.url }}'\n          failure_text: 'Chart GitHub release failed'\n          cancelled_text: 'Chart GitHub release was was cancelled'\n          fields: |\n            [{ \"title\": \"Repository\", \"value\": \"${env.GITHUB_REPOSITORY}\", \"short\": true },\n             { \"title\": \"Branch\", \"value\": \"${env.GITHUB_REF}\", \"short\": true },\n             { \"title\": \"Action URL\", \"value\": \"${env.GITHUB_SERVER_URL}/${env.GITHUB_REPOSITORY}/actions/runs/${env.GITHUB_RUN_ID}\"}\n            ]\n      - uses: ./.github/actions/after-job\n        if: always()\n", "state": "active", "repository": "emissary-ingress/emissary"}
{"mined_at": "2024-07-15T16:10:53.909957", "created_at": "2022-07-22T18:54:33+02:00", "updated_at": "2022-07-27T13:42:28+02:00", "name": "generate-base-python", "path": ".github/workflows/generate-base-python.yml", "contents": "name: generate-base-python\non:\n  schedule:\n    # run at noon on sundays to prepare for monday\n    # used https://crontab.guru/ to generate\n    - cron: '0 12 * * SUN'\njobs:\n  generate: ####################################################################\n      runs-on: ubuntu-latest\n      env:\n        # See docker/base-python.docker.gen\n        BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }}\n      steps:\n        - uses: actions/checkout@v3\n          with:\n            fetch-depth: 0\n        - name: Install Deps\n          uses: ./.github/actions/setup-deps\n        - name: \"Git Login\"\n          run: |\n            if [[ -n '${{ secrets.GHA_SSH_KEY }}' ]]; then\n              install -m700 -d ~/.ssh\n              install -m600 /dev/stdin ~/.ssh/id_rsa <<<'${{ secrets.GHA_SSH_KEY }}'\n            fi\n        - name: \"Docker Login\"\n          uses: docker/login-action@v2\n          with:\n            registry: ${{ (!startsWith(secrets.RELEASE_REGISTRY, 'docker.io/')) && secrets.RELEASE_REGISTRY || null }}\n            username: ${{ secrets.GH_DOCKER_RELEASE_USERNAME }}\n            password: ${{ secrets.GH_DOCKER_RELEASE_TOKEN }}\n        - name: \"'make generate'\"\n          shell: bash\n          run: |\n            make generate\n        - uses: ./.github/actions/git-dirty-check\n          name: \"Check Git not dirty from 'make generate'\"\n        - name: \"'make generate' (again!)\"\n          shell: bash\n          run: |\n            make generate\n        - uses: ./.github/actions/git-dirty-check\n          name: \"Check Git not dirty from 'make generate' (again!)\"\n        - uses: ./.github/actions/after-job\n          if: always()\n", "state": "active", "repository": "emissary-ingress/emissary"}
{"mined_at": "2024-07-15T16:10:55.024119", "created_at": "2022-08-11T23:19:04+02:00", "updated_at": "2022-08-26T19:09:42+02:00", "name": "Check branch version", "path": ".github/workflows/check-branch-version.yml", "contents": "name: Check branch version\n\n# This is a separate workflow from the main build-and-test workflow\n# because we want it to run when a PR's target branch changes, and\n# it'd be prohibitively time-consuming to re-run the main workflow\n# every time that happens.\n\n\"on\":\n  push:\n    branches:\n      - master\n      - release/v*\n  pull_request:\n    branches:\n      - master\n      - release/v*\n    types:\n      - opened   # default\n      - reopened # default\n      - edited   # default\n      - synchronize # also run if the target branch changes\n\njobs:\n  check-branch-version:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install Deps\n        uses: ./.github/actions/setup-deps\n      - name: Detect version numbers\n        id: get-versions\n        run: |\n          # Set tag_majorminor\n          tag_majorminor=$(git describe --tags --match='v*'|sed 's/^v//'|cut -d. -f1,2)\n          echo \"tag_majorminor=${tag_majorminor}\" >> $GITHUB_OUTPUT\n\n          # Set branch_majorminor\n          case \"$GITHUB_REF\" in\n            refs/heads/*) branch=${GITHUB_REF#refs/heads/};;\n            refs/pull/*)  branch=${GITHUB_BASE_REF#refs/heads/};;\n          esac\n          if [[ $branch == master ]]; then\n             prev_branch_majorminor=$(git for-each-ref --format='%(refname:lstrip=4)' 'refs/remotes/origin/release/v*' | sort --version-sort | tail -n1 | sed 's/^v//')\n             if [[ \"${prev_branch_majorminor%.*}\" == \"${tag_majorminor%.*}\" ]]; then\n               branch_majorminor=\"${prev_branch_majorminor%.*}.$((${prev_branch_majorminor##*.}+1))\"\n             else\n               branch_majorminor=\"$((${prev_branch_majorminor%.*}+1)).0\"\n             fi\n          else\n             branch_majorminor=${branch#release/v}\n          fi\n          echo \"branch_majorminor=${branch_majorminor}\" >> $GITHUB_OUTPUT\n\n          # Set relnotes_majorminor\n          make tools/bin/yq\n          relnotes_version=$(tools/bin/yq read docs/releaseNotes.yml items[0].version)\n          relnotes_majorminor=$(cut -d. -f1,2 <<<\"$relnotes_version\")\n          echo \"relnotes_majorminor=${relnotes_majorminor}\" >> $GITHUB_OUTPUT\n\n          declare -p tag_majorminor branch_majorminor relnotes_majorminor\n      - name: Check version numbers\n        run: |\n          tag_majorminor=${{ steps.get-versions.outputs.tag_majorminor }}\n          branch_majorminor=${{ steps.get-versions.outputs.branch_majorminor }}\n          relnotes_majorminor=${{ steps.get-versions.outputs.relnotes_majorminor }}\n          declare -p tag_majorminor branch_majorminor relnotes_majorminor\n\n          # Check that those all agree\n          if [[ \"$tag_majorminor\" != \"$branch_majorminor\" ]]; then\n            echo \"You seem to be on the Git branch for v${branch_majorminor}.z, but Git tags indicate that this is work for v${tag_majorminor}.z\"\n            echo \"Perhaps you need to go yell at the person who set up the release branch for the last .y bump.\"\n            exit 1\n          fi\n          if [[ \"$relnotes_majorminor\" != \"$tag_majorminor\" ]]; then\n            echo \"Your Git tag+branch indicate that you are targeting v${tag_majorminor}.z but your docs/releaseNotes.yml indicate that you are targeting v${relnotes_majorminor}.z\"\n            exit 1\n          fi\n", "state": "active", "repository": "emissary-ingress/emissary"}
{"mined_at": "2024-07-15T16:10:56.168264", "created_at": "2023-05-01T05:14:53+02:00", "updated_at": "2023-05-02T18:50:47+02:00", "name": "k8s-e2e", "path": ".github/workflows/k8s-e2e.yml", "contents": "name: k8s-e2e\n\n\"on\":\n  pull_request: {}\n  schedule:\n    - cron: \"0 7 * * *\" # at 7am UTC everyday\n  workflow_dispatch:\n\njobs:\n  acceptance_tests:\n    runs-on: ubuntu-latest\n    env:\n      # See docker/base-python.docker.gen\n      BASE_PYTHON_REPO: ${{ secrets.BASE_PYTHON_REPO }}\n      # See pkg/kubeapply/resource_kubeapply.go\n      DEV_USE_IMAGEPULLSECRET: ${{ secrets.DEV_USE_IMAGEPULLSECRET }}\n      DOCKER_BUILD_USERNAME: ${{ secrets.GH_DOCKER_BUILD_USERNAME }}\n      DOCKER_BUILD_PASSWORD: ${{ secrets.GH_DOCKER_BUILD_TOKEN }}\n    strategy:\n      fail-fast: false\n      matrix:\n        k8s:\n          [\n            { k3s: 1.26.9+k3s1, kubectl: 1.26.9 },\n            { k3s: 1.27.6+k3s1, kubectl: 1.27.6 },\n            { k3s: 1.28.2+k3s1, kubectl: 1.28.2 },\n          ]\n        test:\n          - integration-tests\n          - kat-envoy3-tests-1-of-5\n          - kat-envoy3-tests-2-of-5\n          - kat-envoy3-tests-3-of-5\n          - kat-envoy3-tests-4-of-5\n          - kat-envoy3-tests-5-of-5\n    name: ${{matrix.k8s.kubectl}}-${{ matrix.test }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install Deps\n        uses: ./.github/actions/setup-deps\n      - name: \"Docker Login\"\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ (!startsWith(secrets.DEV_REGISTRY, 'docker.io/')) && secrets.DEV_REGISTRY || null }}\n          username: ${{ secrets.GH_DOCKER_BUILD_USERNAME }}\n          password: ${{ secrets.GH_DOCKER_BUILD_TOKEN }}\n      - name: Create integration test cluster\n        env:\n          K3S_VERSION: ${{matrix.k8s.k3s}}\n          KUBECTL_VERSION: ${{matrix.k8s.kubectl}}\n        run: |\n          sudo sysctl -w fs.file-max=1600000\n          sudo sysctl -w fs.inotify.max_user_instances=4096\n\n          make ci/setup-k3d\n      - name: Setup integration test environment\n        run: |\n          export DEV_KUBE_NO_PVC=yes\n          export KAT_REQ_LIMIT=900\n          export DEV_KUBECONFIG=~/.kube/config\n          export DEV_REGISTRY=${{ secrets.DEV_REGISTRY }}\n          make python-integration-test-environment\n      - name: Run ${{ matrix.test }}\n        run: |\n          export DEV_KUBE_NO_PVC=yes\n          export KAT_REQ_LIMIT=900\n          export DEV_KUBECONFIG=~/.kube/config\n          export DEV_REGISTRY=${{ secrets.DEV_REGISTRY }}\n          make pytest-${{ matrix.test }}\n      - uses: ./.github/actions/after-job\n        if: always()\n        with:\n          jobname: check-pytest-${{ matrix.test }}\n", "state": "active", "repository": "emissary-ingress/emissary"}
{"mined_at": "2024-07-15T16:10:58.320584", "created_at": "2021-12-02T16:59:44+01:00", "updated_at": "2022-06-15T16:51:01+02:00", "name": "Merge community changes into pro repo", "path": ".github/workflows/merge-pro.yml", "contents": "name: Merge community changes into pro repo\non:\n  push:\n    branches:\n      - master\njobs:\n  updateFork:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          repository: tiny-pilot/tinypilot-pro\n          token: ${{ secrets.PR_BOT_PAT }}\n      - name: Reset the default branch with upstream changes\n        run: |\n          git remote add upstream https://github.com/tiny-pilot/tinypilot.git\n          git fetch upstream master:upstream-master\n          git reset --hard upstream-master\n      - name: Get the URL of the original community PR\n        run: |\n          set -ux\n          COMMUNITY_PR_URL=\"$(curl \\\n            --silent \\\n            --show-error \\\n            https://api.github.com/repos/tiny-pilot/tinypilot/commits/${{ github.sha }}/pulls?per_page=1 | \\\n            jq \\\n              --raw-output \\\n              '.[0].html_url | select (.!=null)')\"\n          readonly COMMUNITY_PR_URL\n          echo \"COMMUNITY_PR_URL=${COMMUNITY_PR_URL}\" >> \"${GITHUB_ENV}\"\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v4\n        with:\n          token: ${{ secrets.PR_BOT_PAT }}\n          branch: community-changes-${{ github.sha }}\n          delete-branch: true\n          # If the committer to the community repo (github.actor) has no access\n          # to the pro repo, the PR will be unassigned.\n          assignees: ${{ github.actor }}\n          reviewers: ${{ github.actor }}\n          title: Merge changes from community repository\n          body: |\n            Related ${{ env.COMMUNITY_PR_URL }}\n\n            @${{ github.actor }}, please merge [your changes from the Community repository](https://github.com/tiny-pilot/tinypilot/commit/${{ github.sha }}):\n\n            1. Update this branch with latest `master`\n               - If there are merge conflicts, it’s best to resolve them locally.\n            1. Check whether you need to make any Pro-specific adjustments to the code\n            1. Review and approve your changes\n               - You usually do this yourself. In case you had to make non-trivial adjustments, it’s also okay to request a proper peer review.\n            1. Set the merge style to “Create a merge commit” (regular merge)\n               - **Do not use “Squash and merge”!** If you accidentally squash, it’s not a disaster, but it will create a bit of noise on the subsequent PR from Community.\n               - We want a regular merge to preserve the commit history from Community\n            1. Merge the PR\n\n            Note that Github remembers the merge style of your last PR in this repo, so for your next “regular” PR, you may have to manually set it to “Squash and merge” again.\n", "state": "active", "repository": "tiny-pilot/tinypilot"}
{"mined_at": "2024-07-15T16:11:00.571079", "created_at": "2021-05-27T11:56:39+02:00", "updated_at": "2021-05-27T11:56:39+02:00", "name": "Publish release", "path": ".github/workflows/ci-publish.yml", "contents": "---\n\nname: Publish release\n\non:\n  push:\n    tags:\n      # Run when a tag is pushed with a valid semantic version number\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n\njobs:\n  build:\n    name: Build distribution\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Install Poetry\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry\n          pip install poetry-dynamic-versioning\n\n      - name: Build\n        run: |\n          poetry build\n\n      - name: Save build artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist-artifact\n          path: dist/\n\n  test:\n    name: Test\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Get build artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: dist-artifact\n          path: dist/\n\n      - name: Install from build\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest-mock\n          pip install resqpy --pre --target=dist --find-links=dist/\n\n      - name: Copy tests and example data to dist folder for testing against artifacts\n        run: |\n          cp -R tests dist/\n          cp -R example_data dist/\n\n      - name: Run tests\n        run: pytest dist/tests --buildtest\n\n  publish:\n    name: Publish to PyPI\n    needs: [build, test]\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/resqpy\n    permissions:\n      id-token: write\n    steps:\n\n      - name: Get build artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: dist-artifact\n          path: dist/\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "bp/resqpy"}
{"mined_at": "2024-07-15T16:11:01.712308", "created_at": "2021-05-24T15:53:13+02:00", "updated_at": "2022-02-16T10:30:45+01:00", "name": "Tests", "path": ".github/workflows/ci-tests.yml", "contents": "---\n\nname: Tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  static-analysis:\n    name: Static analysis\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Install dependencies\n        uses: ./.github/actions/prepare-poetry\n        with:\n          python-version: \"3.10\"\n\n      # Post in-line comments for any issues found\n      # Do not run if coming from a forked repo\n      # See https://github.com/marketplace/actions/lint-action\n      - name: Run linters (with annotations)\n        if: github.event.pull_request.head.repo.full_name == github.repository\n        uses: wearerequired/lint-action@v2\n        with:\n          flake8: true\n          flake8_command_prefix: poetry run\n          flake8_dir: resqpy\n          mypy: true\n          mypy_command_prefix: poetry run\n          mypy_args: resqpy\n\n      # Alternative step that works with forked repo\n      - name: Run linters (without annotations)\n        if: github.event.pull_request.head.repo.full_name != github.repository\n        run: |\n          poetry run flake8 .\n          poetry run mypy resqpy\n\n      - name: Code formatting\n        run: poetry run yapf --diff -r -p .\n\n  unit-tests:\n    name: Unit tests (Python ${{ matrix.python-version }})\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install dependencies\n        uses: ./.github/actions/prepare-poetry\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Run pytest\n        run: poetry run pytest --cov=resqpy --cov-report=xml --junitxml=pytest.xml\n    \n      - name: Upload pytest artifacts\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: Unit Test Results (Python ${{ matrix.python-version }})\n          path: pytest.xml\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n          fail_ci_if_error: true\n\n  legacy-dependencies:\n    # Test against older versions of numpy and pandas,\n    # To ensure resqpy works with the lower bounds of our published constraints\n\n    name: Unit tests (older dependencies)\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install dependencies\n        uses: ./.github/actions/prepare-poetry\n        with:\n          python-version: 3.8\n\n      - name: Downgrade numpy and pandas\n        # Use caret-style requirements (~) to fix minor version but allow patches\n        run: |\n          poetry add numpy@~1.22 pandas@~1.1\n          poetry show\n\n      - name: Run pytest\n        run: poetry run pytest\n", "state": "active", "repository": "bp/resqpy"}
{"mined_at": "2024-07-15T16:11:02.926139", "created_at": "2021-06-24T12:45:49+02:00", "updated_at": "2021-06-24T14:55:36+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "---\n\nname: CodeQL\n\non:\n  push:\n    branches: [ master ]\n  # pull_request:\n    # The branches below must be a subset of the branches above\n    # branches: [ master ]\n  schedule:\n    # 10:16 on Fridays\n    - cron: '16 10 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "bp/resqpy"}
{"mined_at": "2024-07-15T16:11:05.076516", "created_at": "2021-07-12T16:34:32+02:00", "updated_at": "2022-05-06T13:42:56+02:00", "name": "CORTX inclusive words scan", "path": ".github/workflows/alex_reviewdog.yml", "contents": "#\n# Copyright (c) 2021 Seagate Technology LLC and/or its Affiliates\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU Affero General Public License as published\n# by the Free Software Foundation, either version 3 of the License, or\n# (at your option) any later version.\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n# You should have received a copy of the GNU Affero General Public License\n# along with this program. If not, see <https://www.gnu.org/licenses/>.\n# For any questions about this software or licensing,\n# please email opensource@seagate.com or cortx-questions@seagate.com.\n#\n\n# Configuration for alex - https://github.com/get-alex/alex\n\nname: CORTX inclusive words scan\non:\n  # Trigger the workflow on pull request labeled as cla-signed\n  # and synchronize for the main branch\n  pull_request:\n    types: [ opened, synchronize ]\n    branches:\n      - main\n  # Trigger the workflow on demand\n  workflow_dispatch:\njobs:\n  # Let's start the alex to scan\n  alex:\n    name: Alex report\n    #if: ${{ github.event.label.name == 'alex' || github.event.action == 'synchronize' }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      \n      - name: \"Enable the permissions\"\n        run: |\n          sudo chown -R root:root $GITHUB_WORKSPACE\n      \n      - uses: seagate/action-alex@v1\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          filter_mode: added\n          reporter: github-pr-review\n          fail_on_error: true\n          level: warning\n", "state": "active", "repository": "seagate/cortx-hare"}
{"mined_at": "2024-07-15T16:11:06.305672", "created_at": "2022-01-04T13:27:48+01:00", "updated_at": "2022-01-04T15:55:17+01:00", "name": "DCO Check", "path": ".github/workflows/dco-check.yml", "contents": "# Copyright (c) 2021 Seagate Technology LLC and/or its Affiliates\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU Affero General Public License as published\n# by the Free Software Foundation, either version 3 of the License, or\n# (at your option) any later version.\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n# You should have received a copy of the GNU Affero General Public License\n# along with this program. If not, see <https://www.gnu.org/licenses/>.\n# For any questions about this software or licensing,\n# please email opensource@seagate.com or cortx-questions@seagate.com.\n#\nname: DCO Check\n\non: [pull_request]\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: tisonkun/actions-dco@v1.0\n", "state": "active", "repository": "seagate/cortx-hare"}
{"mined_at": "2024-07-15T16:11:07.524682", "created_at": "2020-09-03T12:33:47+02:00", "updated_at": "2020-09-03T12:33:47+02:00", "name": "Dispatch event for cortx submodule", "path": ".github/workflows/dispatch_submodule_update.yml", "contents": "name: Dispatch event for cortx submodule\non:\n  push:\n    branches: [ main ]\njobs:\n  dispatch:\n    strategy:\n      matrix:\n        repo: ['Seagate/cortx']\n    runs-on: ubuntu-latest\n    steps:\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@v1\n        with:\n          token: ${{ secrets.ACCESS_TOKEN }}\n          repository: ${{ matrix.repo }}\n          event-type: submodule-update-event\n", "state": "active", "repository": "seagate/cortx-hare"}
{"mined_at": "2024-07-15T16:11:08.663106", "created_at": "2020-10-28T13:24:28+01:00", "updated_at": "2020-10-28T13:24:28+01:00", "name": "Issue triage", "path": ".github/workflows/triage.yml", "contents": "name: Issue triage\non:\n  issues:\n    types: [opened]\njobs:\n  build:\n    name: Triage\n    runs-on: ubuntu-16.04\n    steps:\n    - uses: Logerfo/triage-action@0.0.2\n      with:\n        github-token: ${{ secrets.ACCESS_TOKEN }}\n        label: \"needs-triage\"\n", "state": "active", "repository": "seagate/cortx-hare"}
{"mined_at": "2024-07-15T16:11:10.763996", "created_at": "2021-03-13T21:40:06+01:00", "updated_at": "2021-03-13T21:40:06+01:00", "name": "Python application", "path": ".github/workflows/python-app.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python application\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # '3.5', disabled, GitHub seems to be removing it\n        # '2.7', removed on June 19 2023\n        python-version: ['3.7', '3.9', '3.11']\n    name: Python test for ${{ matrix.python-version }}\n        \n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }} \n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest xlsx2csv==0.7.8 wheel\n        sed -i 's/^wxPython/#wxPython/' requirements.txt \n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        # pip install git+https://github.com/set-soft/kicost-digikey-api-v3.git\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --statistics\n    - name: Test with pytest\n      run: |\n        pip install .\n        echo \"* Python 3 version\"\n        /usr/bin/python3 --version\n        echo \"* Python version\"\n        python --version\n        echo \"* pip install destination\"\n        which kicost\n        echo \"* pip generated entry point\"\n        cat `which kicost`\n        echo \"* pip installed KiCost\"\n        kicost --info\n        echo \"* Python local installation\"\n        ls -la $pythonLocation\n        echo \"* Environment\"\n        export\n        echo \"* Patching src/kicost\"\n        echo \"#!\"$pythonLocation/python > src/kicost.new\n        tail -n +2 src/kicost >> src/kicost.new\n        mv src/kicost.new src/kicost\n        chmod +x src/kicost\n        echo \"* Patched src/kicost\"\n        cat src/kicost\n        echo \"* Patched src/kicost info\"\n        src/kicost --info\n        echo \"* Running tests\"\n        pytest\n    - name: Store results\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v1\n      with:\n        name: Test_Output_${{ matrix.python-version }}\n        path: tests\n\n", "state": "active", "repository": "hildogjr/kicost"}
{"mined_at": "2024-07-15T16:11:11.794370", "created_at": "2021-05-28T21:13:26+02:00", "updated_at": "2021-05-28T21:13:26+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n    container: setsoft/kicad_pybuild:latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        KICOST_RELEASE: 1\n      run: |\n        apt-get -y update\n        apt-get -y install --no-install-recommends python3-bs4 python3-future python3-lxml python3-requests python3-tqdm wget python3-pip python3-xlsxwriter\n        wget https://github.com/INTI-CMNB/KiCost/releases/download/v1.1.5rc5/python3-validators_0.14.2-2_all.deb\n        wget https://github.com/set-soft/kicost-digikey-api-v3/releases/download/v0.1.1/kicost-digikey-api-v3_0.1.1-1_all.deb\n        apt -y install --no-install-recommends ./*.deb\n        python3 setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "hildogjr/kicost"}
{"mined_at": "2024-07-15T16:11:12.868502", "created_at": "2021-06-12T23:39:49+02:00", "updated_at": "2021-06-12T23:39:49+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  push:\n    tags-ignore:\n      - \"v1\"\n      - \"v2\"\n      - \"v3\"\n      - \"v4\"\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    outputs:\n      is_tag: ${{ steps.check.outputs.is_tag }}\n\n    steps:\n      - name: Check if it's a tagged release\n        id: check\n        run: |\n          REF=${{ github.ref }}\n          URL=\"https://api.github.com/repos/${GITHUB_REPOSITORY}/releases/tags/${REF##*/}\"\n          StatusCode=$(curl -o -I -L -s -w \"%{http_code}\" -X GET -G $URL)\n          echo $StatusCode\n          if [[ \"$StatusCode\" == 200 ]]; then\n            echo \"This is tagged release!\"\n            echo \"::set-output name=is_tag::no\"\n          else\n            echo \"This is a tag not release!\"\n            echo \"::set-output name=is_tag::yes\"\n          fi\n\n  build:\n    runs-on: ubuntu-latest\n    container: setsoft/kicad_pybuild:latest\n    needs: check\n    if: ${{ needs.check.outputs.is_tag == 'yes' }}\n    outputs:\n      deb_name: ${{ steps.mdeb.outputs.deb_name }}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v1\n\n      - name: Build\n        id: mdeb\n        run: |\n          apt-get -y update\n          apt-get -y install --no-install-recommends python3-bs4 python3-future python3-lxml python3-requests python3-tqdm wget python3-pip python3-xlsxwriter python3-yaml\n          wget https://github.com/INTI-CMNB/KiCost/releases/download/v1.1.5rc1/python3-babel_2.9.0-1_all.deb\n          wget https://github.com/INTI-CMNB/KiCost/releases/download/v1.1.5rc5/python3-validators_0.14.2-2_all.deb\n          wget https://github.com/set-soft/kicost-digikey-api-v3/releases/download/v0.1.1/kicost-digikey-api-v3_0.1.1-1_all.deb\n          apt -y install --no-install-recommends ./*.deb\n          rm python3-babel*\n          cp requirements.txt requirements.txt.ok\n          sed -i 's/^wxPython/#wxPython/' requirements.txt\n          pip3 install -U .\n          cp requirements.txt.ok requirements.txt\n          make deb\n          mv ../*.deb .\n          echo \"::set-output name=deb_name::\"`ls *.deb`\n          mkdir output\n          mv *.deb output\n\n      - name: Store\n        uses: actions/upload-artifact@v1\n        with:\n          name: package\n          path: output\n\n  release:\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v1\n\n      - name: Retrieve\n        uses: actions/download-artifact@v1\n        with:\n          name: package\n\n      - name: Changelog\n        run: |\n          tools/history2changelog.py > CHANGELOG.md\n\n      - name: Release\n        uses: docker://antonyurchenko/git-release:latest\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          DRAFT_RELEASE: \"true\"\n          PRE_RELEASE: \"true\"\n          CHANGELOG_FILE: \"CHANGELOG.md\"\n          KICOST_RELEASE: \"true\"\n        with:\n          args: |\n            package/${{needs.build.outputs.deb_name}}\n            package/python3-validators_0.14.2-2_all.deb\n\n", "state": "active", "repository": "hildogjr/kicost"}
{"mined_at": "2024-07-15T16:11:14.018227", "created_at": "2022-02-17T18:36:16+01:00", "updated_at": "2022-02-17T18:36:16+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "hildogjr/kicost"}
{"mined_at": "2024-07-15T16:11:16.112436", "created_at": "2021-06-10T12:35:01+02:00", "updated_at": "2023-04-13T15:31:33+02:00", "name": "API Pull Request", "path": ".github/workflows/api-pull-request.yml", "contents": "name: API Pull Request\n\non:\n  pull_request:\n    paths:\n      - api/**\n      - .github/**\n    types: [opened, synchronize, reopened, ready_for_review]\n  push:\n    paths:\n      - api/**\n      - .github/**\n    branches:\n      - main\n\ndefaults:\n  run:\n    working-directory: api\n\njobs:\n  test:\n    runs-on: General-Purpose-8c-Runner\n    name: API Unit Tests\n\n    services:\n      postgres:\n        image: postgres:15.5-alpine\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports: ['5432:5432']\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    strategy:\n      max-parallel: 2\n      matrix:\n        python-version: ['3.11', '3.12']\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n\n      - name: Install Dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: make install-packages\n\n      - name: Run Linters\n        run: make lint\n\n      - name: Create analytics database\n        env:\n          PGPASSWORD: postgres\n        run: createdb -h localhost -U postgres -p 5432 analytics\n\n      - name: Check for missing migrations\n        env:\n          DOTENV_OVERRIDE_FILE: .env-ci\n          opts: --no-input --dry-run --check\n        run: make django-make-migrations\n\n      - name: Run Tests\n        env:\n          DOTENV_OVERRIDE_FILE: .env-ci\n        run: make test\n\n      - name: Upload Coverage\n        uses: codecov/codecov-action@v4\n        env:\n          PYTHON: ${{ matrix.python-version }}\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          env_vars: PYTHON\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:17.118324", "created_at": "2021-06-10T12:35:01+02:00", "updated_at": "2023-03-08T11:24:20+01:00", "name": "Platform Pull Requests", "path": ".github/workflows/platform-pull-request.yml", "contents": "name: Platform Pull Requests\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n    paths-ignore:\n      - docs/**\n      - infrastructure/**\n    branches-ignore:\n      - release-please-*\n\njobs:\n  validate-pr-title:\n    name: Validate Conventional Commit title\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check PR Conventional Commit title\n        uses: amannn/action-semantic-pull-request@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          types: | # mirrors changelog-sections in the /release-please-config.json\n            feat\n            fix\n            infra\n            ci\n            docs\n            deps\n            perf\n            refactor\n            test\n            chore\n\n  add-labels:\n    name: Add labels based on Conventional Commit title\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: Auto-label PR with Conventional Commit title\n        uses: bcoe/conventional-release-labels@v1\n        with:\n          type_labels: |\n            {\n              \"feat\": \"feature\",\n              \"fix\": \"fix\",\n              \"infra\": \"infrastructure\",\n              \"ci\": \"ci-cd\",\n              \"docs\": \"docs\",\n              \"deps\": \"dependencies\",\n              \"perf\": \"performance\",\n              \"refactor\": \"refactor\",\n              \"test\": \"testing\",\n              \"chore\": \"chore\"\n            }\n          ignored_types: '[]'\n\n  docker-build-unified:\n    if: github.event.pull_request.draft == false\n    name: Build Unified Image\n    uses: ./.github/workflows/.reusable-docker-build.yml\n    with:\n      file: Dockerfile\n      image-name: flagsmith\n\n  docker-build-api:\n    if: github.event.pull_request.draft == false\n    name: Build API Image\n    uses: ./.github/workflows/.reusable-docker-build.yml\n    with:\n      file: api/Dockerfile\n      image-name: flagsmith-api\n\n  docker-build-frontend:\n    if: github.event.pull_request.draft == false\n    name: Build Frontend Image\n    uses: ./.github/workflows/.reusable-docker-build.yml\n    with:\n      file: frontend/Dockerfile\n      image-name: flagsmith-frontend\n\n  docker-build-e2e:\n    if: github.event.pull_request.draft == false\n    name: Build E2E Image\n    uses: ./.github/workflows/.reusable-docker-build.yml\n    with:\n      file: frontend/Dockerfile.e2e\n      image-name: flagsmith-e2e\n      scan: false\n\n  run-e2e-tests:\n    needs: [docker-build-api, docker-build-e2e]\n    uses: ./.github/workflows/.reusable-docker-e2e-tests.yml\n    with:\n      api-image: ${{ needs.docker-build-api.outputs.image }}\n      e2e-image: ${{ needs.docker-build-e2e.outputs.image }}\n      concurrency: ${{ matrix.args.concurrency }}\n      tests: ${{ matrix.args.tests }}\n\n    strategy:\n      matrix:\n        args:\n          - tests: segment-part-1 environment\n            concurrency: 1\n          - tests: segment-part-2\n            concurrency: 1\n          - tests: segment-part-3 signup flag invite project\n            concurrency: 2\n          - tests: versioning\n            concurrency: 1\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:18.388987", "created_at": "2021-06-14T10:46:46+02:00", "updated_at": "2021-06-14T10:46:46+02:00", "name": "Frontend Deploy to Production", "path": ".github/workflows/frontend-deploy-production.yml", "contents": "name: Frontend Deploy to Production\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - frontend/**\n      - .github/**\n\ndefaults:\n  run:\n    working-directory: frontend\n\njobs:\n  run-tests:\n    runs-on: ubuntu-latest\n    name: Run E2E Tests\n    environment: production\n    concurrency:\n      group: e2e-tests-prod\n      cancel-in-progress: true\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Run E2E tests against production\n        uses: ./.github/actions/e2e-tests\n        with:\n          e2e_test_token: ${{ secrets.E2E_TEST_TOKEN }}\n          slack_token: ${{ secrets.SLACK_TOKEN }}\n          environment: prod\n\n  deploy-production:\n    runs-on: ubuntu-latest\n    name: Deploy to Vercel Production\n    environment: production\n    needs: run-tests\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Setup Node.js 16.x\n        uses: actions/setup-node@v4\n        with:\n          node-version: 16.x\n\n      - name: Cache dependencies\n        uses: actions/cache@v3\n        with:\n          path: ~/.npm\n          key: npm-${{ hashFiles('package-lock.json') }}\n          restore-keys: npm-\n\n      - name: Deploy to Vercel\n        env:\n          VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}\n          VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}\n          ENV: prod\n        run: |\n          npm ci --only=prod\n          npm run env\n          npm run bundle\n          echo ${{ github.sha }} > CI_COMMIT_SHA\n          vercel --prod --token ${{ secrets.VERCEL_TOKEN }}\n\n  deploy-demo:\n    runs-on: ubuntu-latest\n    name: Deploy to Vercel Demo\n    environment: demo\n    needs: run-tests\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Setup Node.js 16.x\n        uses: actions/setup-node@v4\n        with:\n          node-version: 16.x\n\n      - name: Cache dependencies\n        uses: actions/cache@v3\n        with:\n          path: ~/.npm\n          key: npm-${{ hashFiles('package-lock.json') }}\n          restore-keys: npm-\n\n      - name: Deploy to Vercel\n        env:\n          VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}\n          VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}\n          ENV: prod\n        run: |\n          npm ci --only=prod\n          npm run env\n          npm run bundle\n          echo ${{ github.sha }} > CI_COMMIT_SHA\n          npm install --global vercel@31.2.0\n          vercel --prod --token ${{ secrets.VERCEL_TOKEN }}\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:19.508453", "created_at": "2022-01-17T14:07:14+01:00", "updated_at": "2022-03-03T19:22:37+01:00", "name": "API Deploy to Staging ECS", "path": ".github/workflows/api-deploy-staging-ecs.yml", "contents": "name: API Deploy to Staging ECS\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - api/**\n      - .github/**\n      - infrastructure/aws/staging/**\n  workflow_dispatch:\n\njobs:\n  deploy-staging-ecs:\n    runs-on: ubuntu-latest\n    name: API Deploy to Staging ECS\n    environment: staging\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Deploy API to Staging\n        id: deploy-api\n        uses: ./.github/actions/api-deploy-ecs\n        with:\n          github_access_token: ${{ secrets.GH_PRIVATE_ACCESS_TOKEN }}\n          aws_access_key_id: AKIAUM26IRCPASKFW2X5\n          aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws_ecs_cluster_name: flagsmith-api-cluster-eu-west-2-f241261\n          aws_ecs_cluster_arn: arn:aws:ecs:eu-west-2:302456015006:cluster/flagsmith-api-cluster-eu-west-2-f241261\n          aws_ecs_service_name: flagsmith-svc-eu-west-2-8bb18de\n          aws_vpc_subnet_id: subnet-1b0b8861\n          aws_ecs_security_group_id: sg-08632d6fb4cb0fdf3\n          aws_ecr_repository_arn: 302456015006.dkr.ecr.eu-west-2.amazonaws.com/flagsmith-ecr-d247ba2\n          aws_identity_migration_event_bus_name: identity_migration-fb41b5d\n          aws_identity_migration_event_bus_rule_id: identity_migration-08330ed\n          aws_identity_migration_task_role_arn: arn:aws:iam::302456015006:role/task-exec-role-6fb76f6\n          aws_task_definitions_directory_path: infrastructure/aws/staging\n          flagsmith_saml_revision: v1.6.2\n          flagsmith_rbac_revision: v0.7.0\n          sse_pgp_private_key: ${{ secrets.SSE_PGP_PRIVATE_KEY }}\n\n      - name: Deploy task processor to Staging\n        uses: ./.github/actions/task-processor-deploy-ecs\n        with:\n          aws_access_key_id: AKIAUM26IRCPASKFW2X5\n          aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws_ecs_cluster_name: flagsmith-api-cluster-eu-west-2-f241261\n          aws_ecs_service_name: flagsmith-task-processor-svc-eu-west-2-792c644\n          aws_task_definitions_directory_path: infrastructure/aws/staging\n          api_ecr_image_url: ${{ steps.deploy-api.outputs.api_ecr_image_url }}\n\n  run-tests:\n    runs-on: ubuntu-latest\n    name: Run E2E Tests\n    environment: staging\n    needs: deploy-staging-ecs\n    concurrency:\n      group: e2e-tests-staging\n      cancel-in-progress: true\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Run E2E tests against staging\n        uses: ./.github/actions/e2e-tests\n        with:\n          e2e_test_token: ${{ secrets.E2E_TEST_TOKEN }}\n          slack_token: ${{ secrets.SLACK_TOKEN }}\n          environment: staging\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:20.744116", "created_at": "2022-03-01T18:39:09+01:00", "updated_at": "2022-03-14T12:21:37+01:00", "name": "API Deploy to Production ECS", "path": ".github/workflows/api-deploy-production-ecs.yml", "contents": "name: API Deploy to Production ECS\n\non:\n  push:\n    tags:\n      - '*'\n    paths:\n      - api/**\n      - .github/**\n      - infrastructure/aws/production/**\n\njobs:\n  deploy-production-ecs:\n    runs-on: ubuntu-latest\n    name: API Deploy to Production ECS\n    environment: production\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Deploy API to Production\n        id: deploy-api\n        uses: ./.github/actions/api-deploy-ecs\n        with:\n          github_access_token: ${{ secrets.GH_PRIVATE_ACCESS_TOKEN }}\n          aws_access_key_id: AKIARHES7IUAU2LR2B5K\n          aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws_ecs_cluster_name: flagsmith-api-cluster-eu-west-2-f0b0108\n          aws_ecs_cluster_arn: arn:aws:ecs:eu-west-2:084060095745:cluster/flagsmith-api-cluster-eu-west-2-f0b0108\n          aws_ecs_service_name: flagsmith-svc-eu-west-2-c3cd356\n          aws_vpc_subnet_id: subnet-40fd6629\n          aws_ecs_security_group_id: sg-0ef0e8f66f890b80c\n          aws_ecr_repository_arn: 084060095745.dkr.ecr.eu-west-2.amazonaws.com/flagsmith-ecr-934e8a7\n          aws_identity_migration_event_bus_name: identity_migration-d46ed1a\n          aws_identity_migration_event_bus_rule_id: identity_migration-b03c433\n          aws_identity_migration_task_role_arn: arn:aws:iam::084060095745:role/task-exec-role-741a7e3\n          aws_task_definitions_directory_path: infrastructure/aws/production\n          flagsmith_saml_revision: v1.6.2\n          flagsmith_rbac_revision: v0.7.0\n          sse_pgp_private_key: ${{ secrets.SSE_PGP_PRIVATE_KEY }}\n\n      - name: Deploy task processor to Production\n        uses: ./.github/actions/task-processor-deploy-ecs\n        with:\n          aws_access_key_id: AKIARHES7IUAU2LR2B5K\n          aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws_ecs_cluster_name: flagsmith-api-cluster-eu-west-2-f0b0108\n          aws_ecs_service_name: flagsmith-task-processor-svc-eu-west-2-bf77140\n          aws_task_definitions_directory_path: infrastructure/aws/production\n          api_ecr_image_url: ${{ steps.deploy-api.outputs.api_ecr_image_url }}\n\n  run-tests:\n    runs-on: ubuntu-latest\n    name: Run E2E Tests\n    environment: production\n    needs: deploy-production-ecs\n    concurrency:\n      group: e2e-tests-prod\n      cancel-in-progress: true\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Run E2E tests against production\n        uses: ./.github/actions/e2e-tests\n        with:\n          e2e_test_token: ${{ secrets.E2E_TEST_TOKEN }}\n          slack_token: ${{ secrets.SLACK_TOKEN }}\n          environment: prod\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:21.870381", "created_at": "2022-05-09T13:56:49+02:00", "updated_at": "2022-05-09T13:56:49+02:00", "name": "Staging E2E Tests", "path": ".github/workflows/frontend-test-staging.yml", "contents": "name: Staging E2E Tests\n\non: workflow_dispatch\n\njobs:\n  run-staging-e2e-tests:\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    name: Full Staging E2E tests\n    environment: staging\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Run Staging E2E Tests\n        working-directory: frontend\n        env:\n          ENV: staging\n          SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}\n          STATIC_ASSET_CDN_URL: /\n        run: |-\n          wget -q ${{ secrets.CHROME_URL }}\n          sudo apt install --allow-downgrades -y ./google-chrome*.deb -f\n          google-chrome --version\n          node -v\n          npm ci\n          npm run test:staging\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:23.002839", "created_at": "2022-05-09T18:56:47+02:00", "updated_at": "2022-05-11T10:01:38+02:00", "name": "Frontend Audit", "path": ".github/workflows/frontend-audit.yml", "contents": "name: Frontend Audit\n\non:\n  schedule:\n    - cron: 0 8 * * *\n\njobs:\n  execute:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Audit\n        working-directory: frontend\n        run: |\n          npm ci\n          npm audit --audit-level high\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:24.128748", "created_at": "2022-05-13T17:01:29+02:00", "updated_at": "2022-05-16T10:25:29+02:00", "name": "API Security Audit", "path": ".github/workflows/api-audit.yml", "contents": "name: API Security Audit\n\non:\n  schedule:\n    - cron: 0 8 * * *\n\ndefaults:\n  run:\n    working-directory: api\n\njobs:\n  audit:\n    runs-on: ubuntu-latest\n    name: API Security Audit\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      # Ignore CVE-2023-6129 as per https://github.com/pyca/pyopenssl/issues/1300\n      - name: Run Audit\n        run: |\n          make install\n          poetry self add poetry-audit-plugin==0.4.0\n          poetry audit --ignore-code=CVE-2023-6129\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:25.348364", "created_at": "2022-12-13T16:45:28+01:00", "updated_at": "2023-04-13T15:31:33+02:00", "name": "Build PR Image", "path": ".github/workflows/uffizzi-build.yml", "contents": "name: Build PR Image\non:\n  pull_request:\n    types: [opened, synchronize, reopened, closed]\n    paths-ignore:\n      - docs/**\n    branches-ignore:\n      - release-please-*\n\njobs:\n  build-flagsmith:\n    name: Build and push `Flagsmith`\n    runs-on: ubuntu-latest\n\n    permissions:\n      id-token: write\n      contents: read\n\n    outputs:\n      tags: ${{ steps.meta.outputs.tags }}\n    if: ${{ github.event.action != 'closed' }}\n    steps:\n      - name: Checkout git repo\n        uses: actions/checkout@v4\n\n      - name: Set up Depot CLI\n        uses: depot/setup-action@v1\n\n      - name: Generate UUID image name\n        id: uuid\n        run: echo \"UUID_WORKER=flagsmith-$(uuidgen --time)\" >> $GITHUB_ENV\n\n      - name: Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: registry.uffizzi.com/${{ env.UUID_WORKER }}\n          tags: |\n            type=raw,value=30d\n\n      - name: Build and Push Image to registry.uffizzi.com - Uffizzi's ephemeral Registry\n        uses: depot/build-push-action@v1\n        with:\n          context: .\n          file: ./Dockerfile\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          push: true\n\n  render-compose-file:\n    name: Render Docker Compose File\n    # Pass output of this workflow to another triggered by `workflow_run` event.\n    runs-on: ubuntu-latest\n    needs:\n      - build-flagsmith\n    outputs:\n      compose-file-cache-key: ${{ steps.hash.outputs.hash }}\n    steps:\n      - name: Checkout git repo\n        uses: actions/checkout@v4\n      - name: Render Compose File\n        run: |\n          FLAGSMITH_IMAGE=${{ needs.build-flagsmith.outputs.tags }}\n          export FLAGSMITH_IMAGE\n          # Render simple template from environment variables.\n          envsubst < docker-compose.uffizzi.yml > docker-compose.rendered.yml\n          cat docker-compose.rendered.yml\n      - name: Upload Rendered Compose File as Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: preview-spec\n          path: |\n            docker-compose.rendered.yml\n            ${{github.event_path}}\n          retention-days: 2\n\n  delete-preview:\n    name: Call for Preview Deletion\n    runs-on: ubuntu-latest\n    if: ${{ github.event.action == 'closed' }}\n    steps:\n      # If this PR is closing, we will not render a compose file nor pass it to the next workflow.\n      - name: Upload PR Event as Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: preview-spec\n          path: ${{github.event_path}}\n          retention-days: 2\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:26.371657", "created_at": "2022-12-14T12:56:36+01:00", "updated_at": "2023-06-27T12:16:19+02:00", "name": "Deploy Uffizzi Preview", "path": ".github/workflows/uffizzi-preview.yml", "contents": "name: Deploy Uffizzi Preview\n\non:\n  workflow_run:\n    workflows:\n      - Build PR Image\n    types:\n      - completed\n\njobs:\n  cache-compose-file:\n    name: Cache Compose File\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    outputs:\n      compose-file-cache-key: ${{ steps.hash.outputs.COMPOSE_FILE_HASH }}\n      git-ref: ${{ steps.event.outputs.GIT_REF }}\n      pr-number: ${{ steps.event.outputs.PR_NUMBER }}\n      action: ${{ steps.event.outputs.ACTION }}\n    steps:\n      - name: 'Download artifacts'\n        # Fetch output (zip archive) from the workflow run that triggered this workflow.\n        uses: actions/github-script@v7\n        with:\n          script: |\n            let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               run_id: context.payload.workflow_run.id,\n            });\n            let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => {\n              return artifact.name == \"preview-spec\"\n            })[0];\n            if (matchArtifact === undefined) {\n              throw TypeError('Build Artifact not found!');\n            }\n            let download = await github.rest.actions.downloadArtifact({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               artifact_id: matchArtifact.id,\n               archive_format: 'zip',\n            });\n            let fs = require('fs');\n            fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/preview-spec.zip`, Buffer.from(download.data));\n\n      - name: 'Accept event from first stage'\n        run: unzip -j preview-spec.zip\n\n      - name: Read Event into ENV\n        id: event\n        run: |\n          echo PR_NUMBER=$(jq '.number | tonumber' < event.json) >> $GITHUB_OUTPUT\n          echo ACTION=$(jq --raw-output '.action | tostring | [scan(\"\\\\w+\")][0]' < event.json) >> $GITHUB_OUTPUT\n          echo GIT_REF=$(jq --raw-output '.pull_request.head.sha | tostring | [scan(\"\\\\w+\")][0]' < event.json) >> $GITHUB_OUTPUT\n\n      - name: Hash Rendered Compose File\n        id: hash\n        # If the previous workflow was triggered by a PR close event, we will not have a compose file artifact.\n        if: ${{ steps.event.outputs.ACTION != 'closed' }}\n        run: |\n          echo \"COMPOSE_FILE_HASH=$(md5sum docker-compose.rendered.yml | awk '{ print $1 }')\" >> $GITHUB_OUTPUT\n\n      - name: Cache Rendered Compose File\n        if: ${{ steps.event.outputs.ACTION != 'closed' }}\n        uses: actions/cache@v3\n        with:\n          path: docker-compose.rendered.yml\n          key: ${{ steps.hash.outputs.COMPOSE_FILE_HASH }}\n\n      - name: DEBUG - Print Job Outputs\n        if: ${{ runner.debug }}\n        run: |\n          echo \"PR number: ${{ steps.event.outputs.PR_NUMBER }}\"\n          echo \"Git Ref: ${{ steps.event.outputs.GIT_REF }}\"\n          echo \"Action: ${{ steps.event.outputs.ACTION }}\"\n          echo \"Compose file hash: ${{ steps.hash.outputs.COMPOSE_FILE_HASH }}\"\n          cat event.json\n\n  deploy-uffizzi-preview:\n    name: Use Remote Workflow to Preview on Uffizzi\n    needs:\n      - cache-compose-file\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    uses: UffizziCloud/preview-action/.github/workflows/reusable.yaml@v2\n    with:\n      # If this workflow was triggered by a PR close event, cache-key will be an empty string\n      # and this reusable workflow will delete the preview deployment.\n      compose-file-cache-key: ${{ needs.cache-compose-file.outputs.compose-file-cache-key }}\n      compose-file-cache-path: docker-compose.rendered.yml\n      server: https://app.uffizzi.com\n      pr-number: ${{ needs.cache-compose-file.outputs.pr-number }}\n    permissions:\n      contents: read\n      pull-requests: write\n      id-token: write\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:27.473139", "created_at": "2023-04-12T13:10:16+02:00", "updated_at": "2023-04-12T13:10:16+02:00", "name": "Frontend Update Static Flags", "path": ".github/workflows/frontend-update-static-flags.yml", "contents": null, "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:28.561718", "created_at": "2023-04-15T10:27:49+02:00", "updated_at": "2023-04-24T11:10:47+02:00", "name": "Docs Lint/Link Checks", "path": ".github/workflows/docs-pull-request.yml", "contents": "name: Docs Lint/Link Checks\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n    paths:\n      - docs/**\n      - .github/**\n\ndefaults:\n  run:\n    working-directory: docs\n\njobs:\n  checks:\n    runs-on: ubuntu-latest\n    name: Link Check Docs\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Use Node.js 20\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: 'npm'\n          cache-dependency-path: 'docs/package-lock.json'\n\n      - name: npm install\n        run: npm ci --include=dev --ignore-scripts\n      - name: Run docusaurus build to check for broken links etc\n        run: |\n          npx prettier --version\n          npx prettier --check docs\n          npm run build\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:29.754835", "created_at": "2023-06-27T12:50:48+02:00", "updated_at": "2023-06-27T15:26:08+02:00", "name": "Github Labeler", "path": ".github/workflows/github-labeler.yml", "contents": "name: Github Labeler\n\non:\n  - pull_request_target\n\njobs:\n  apply-labels:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Run labeler\n        uses: actions/labeler@v5\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:30.881637", "created_at": "2023-07-14T11:11:25+02:00", "updated_at": "2023-07-14T11:11:25+02:00", "name": "Platform Release Please", "path": ".github/workflows/platform-release-please.yml", "contents": "name: Platform Release Please\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: write # for google-github-actions/release-please-action to create release commit\n  pull-requests: write # for google-github-actions/release-please-action to create release PR\n\njobs:\n  release-please:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: google-github-actions/release-please-action@v4\n        id: release\n        with:\n          command: manifest\n          token: ${{secrets.RELEASE_PLEASE_GITHUB_TOKEN}}\n          default-branch: main\n    outputs:\n      release_created: ${{ steps.release.outputs.release_created }}\n      release_tag_name: ${{ steps.release.outputs.tag_name }}\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:31.906171", "created_at": "2023-07-14T18:40:56+02:00", "updated_at": "2023-07-14T18:40:56+02:00", "name": "Update Flagsmith Defaults", "path": ".github/workflows/update-flagsmith-defaults.yml", "contents": null, "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:33.013360", "created_at": "2023-07-15T15:00:00+02:00", "updated_at": "2023-07-15T15:00:00+02:00", "name": "Platform Lint", "path": ".github/workflows/platform-lint.yml", "contents": null, "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:34.147619", "created_at": "2023-08-02T20:48:51+02:00", "updated_at": "2023-08-03T11:31:16+02:00", "name": "Build E2E Frontend Base Image", "path": ".github/workflows/platform-docker-build-e2e-image.yml", "contents": "name: Build E2E Frontend Base Image\n\non:\n  schedule:\n    # Update the E2E Firefox testcafe version on the first of every month\n    - cron: 0 0 1 * *\n\njobs:\n  build-e2e-docker-image:\n    runs-on: ubuntu-latest\n    name: Publish E2E Frontend Image\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{github.actor}}\n          password: ${{secrets.GITHUB_TOKEN}}\n\n      - name: Build E2E Frontend Image\n        run: |\n          cd frontend\n          docker build -f Dockerfile-base.e2e --tag ghcr.io/flagsmith/e2e-frontend-base:latest .\n          docker push ghcr.io/flagsmith/e2e-frontend-base:latest\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:35.286507", "created_at": "2023-09-04T17:43:36+02:00", "updated_at": "2023-09-04T17:43:36+02:00", "name": "Update Flagsmith Defaults", "path": ".github/workflows/update-flagsmith-environment.yml", "contents": "name: Update Flagsmith Defaults\n\non:\n  schedule:\n    - cron: 0 8 * * *\n\ndefaults:\n  run:\n    working-directory: api\n\njobs:\n  update_server_defaults:\n    runs-on: ubuntu-latest\n    name: Update API Flagsmith Defaults\n    env:\n      FLAGSMITH_ON_FLAGSMITH_SERVER_API_URL: https://edge.api.flagsmith.com/api/v1\n      FLAGSMITH_ON_FLAGSMITH_SERVER_KEY: ${{ secrets.FLAGSMITH_ON_FLAGSMITH_SERVER_KEY }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          cache: pip\n\n      - name: Install Dependencies\n        run: make install\n\n      - name: Update defaults\n        run: poetry run python manage.py updateflagsmithenvironment\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v5\n        with:\n          commit-message: Update API Flagsmith Defaults\n          branch: chore/update-api-flagsmith-environment\n          delete-branch: true\n          title: 'chore: update Flagsmith environment document'\n          labels: api\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:36.411852", "created_at": "2023-09-14T11:52:15+02:00", "updated_at": "2023-09-14T11:52:15+02:00", "name": "Run unit tests for Rbac", "path": ".github/workflows/api-dependency-tests.yml", "contents": null, "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:37.640091", "created_at": "2023-10-26T09:01:58+02:00", "updated_at": "2023-11-15T12:25:59+01:00", "name": "Run API tests with private package", "path": ".github/workflows/api-tests-with-private-packages.yml", "contents": "name: Run API tests with private package\n\non:\n  pull_request:\n    branches:\n      - main\n    types: [labeled]\n\ndefaults:\n  run:\n    working-directory: api\n\nenv:\n  FLAGSMITH_RBAC_REVISION: v0.7.0\n\njobs:\n  test:\n    if: ${{ github.event.label.name == 'api' }}\n    runs-on: ubuntu-latest\n    name: API Tests\n\n    services:\n      postgres:\n        image: postgres:15.5-alpine\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports: ['5432:5432']\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Install poetry\n        run: pipx install poetry\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n          cache: 'poetry'\n\n      - name: Install Dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: make install-packages\n\n      - name: Checkout rbac package\n        uses: actions/checkout@v4\n        with:\n          repository: flagsmith/flagsmith-rbac\n          token: ${{ secrets.GH_PRIVATE_ACCESS_TOKEN }}\n          ref: ${{ env.FLAGSMITH_RBAC_REVISION }}\n          path: ./flagsmith-rbac\n\n      - name: Integrate RBAC module\n        run: mv $GITHUB_WORKSPACE/flagsmith-rbac/rbac .\n        shell: bash\n\n      - name: integrate rbac tests\n        run: ln -s $GITHUB_WORKSPACE/flagsmith-rbac/tests tests/rbac_tests\n        shell: bash\n        working-directory: api\n\n      - name: Run Tests\n        env:\n          DOTENV_OVERRIDE_FILE: .env-ci\n        run: make test\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:38.643604", "created_at": "2024-06-03T15:24:38+02:00", "updated_at": "2024-06-03T15:24:38+02:00", "name": "Platform Pull Request Label", "path": ".github/workflows/platform-pull-request-label.yml", "contents": null, "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:39.693305", "created_at": "2024-06-05T13:42:07+02:00", "updated_at": "2024-06-05T13:42:07+02:00", "name": "Build Docker Image", "path": ".github/workflows/.reusable-docker-build.yml", "contents": "# reusable workflow\nname: Build Docker Image\n\non:\n  workflow_call:\n    inputs:\n      registry-url:\n        type: string\n        description: Github container registry base URL\n        required: false\n        default: ghcr.io\n      file:\n        type: string\n        description: Path to the Dockerfile\n        required: true\n      image-name:\n        type: string\n        description: Image slug\n        required: true\n      build-args:\n        type: string\n        description: List of build-time variables\n        required: false\n      scan:\n        type: boolean\n        description: Whether to scan image for vulnerabilities\n        required: false\n        default: true\n    outputs:\n      image:\n        description: Resulting image specifier\n        value: ${{ inputs.registry-url }}/flagsmith/${{ inputs.image-name }}:${{ jobs.build.outputs.version }}\n\njobs:\n  build:\n    name: Build ${{ inputs.scan && 'and verify ' || '' }}${{ inputs.image-name }} image\n    runs-on: ubuntu-latest\n    outputs:\n      version: ${{ steps.meta.outputs.version }}\n\n    permissions:\n      packages: write\n      id-token: write\n      contents: read\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Set up Depot CLI\n        uses: depot/setup-action@v1\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ inputs.registry-url }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ${{ inputs.registry-url }}/flagsmith/${{ inputs.image-name }}\n          tags: |\n            type=ref,event=branch\n            type=ref,event=tag\n            type=ref,event=pr\n\n      - name: Build and push image\n        uses: depot/build-push-action@v1\n        with:\n          push: true\n          build-args: ${{ inputs.build-args }}\n          file: ${{ inputs.file }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n\n      - name: Run Trivy vulnerability scanner\n        if: ${{ inputs.scan }}\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: ${{ inputs.registry-url }}/flagsmith/${{ inputs.image-name }}:${{ steps.meta.outputs.version }}\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:40.806017", "created_at": "2024-06-05T13:42:07+02:00", "updated_at": "2024-06-05T13:42:07+02:00", "name": "Run Docker E2E tests", "path": ".github/workflows/.reusable-docker-e2e-tests.yml", "contents": "# reusable workflow\nname: Run Docker E2E tests\n\non:\n  workflow_call:\n    inputs:\n      api-image:\n        type: string\n        description: Core API Docker image to use, e.g., `ghcr.io/flagsmith/flagsmith-api:main`\n        required: true\n      e2e-image:\n        type: string\n        description: Frontend Docker with E2E capabilities image to use, e.g., `ghcr.io/flagsmith/flagsmith-e2e:main`\n        required: true\n      tests:\n        type: string\n        description: Space-delimited list of E2E tests to be executed\n        required: false\n        default: ''\n      concurrency:\n        type: number\n        description: The concurrent number of browsers to be used on testing\n        required: false\n        default: 3\n\njobs:\n  run-e2e:\n    name: \"E2E${{ inputs.tests && format(': {0}', inputs.tests) || '' }}\"\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Cloning repo\n        uses: actions/checkout@v4\n\n      - name: Run tests on dockerised frontend\n        uses: nick-fields/retry@v3\n        with:\n          shell: bash\n          command: |\n            cd frontend\n            make test\n          max_attempts: 2\n          retry_on: error\n          timeout_minutes: 10\n        env:\n          opts: ${{ inputs.tests }}\n          API_IMAGE: ${{ inputs.api-image }}\n          E2E_IMAGE: ${{ inputs.e2e-image }}\n          E2E_CONCURRENCY: ${{ inputs.concurrency }}\n          SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}\n          GITHUB_ACTION_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n\n      - name: Output Core API container status and logs\n        if: failure()\n        working-directory: frontend\n        run: |\n          docker compose -f docker-compose-e2e-tests.yml logs flagsmith-api\n        shell: bash\n", "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:42.040771", "created_at": "2024-06-14T19:21:44+02:00", "updated_at": "2024-06-14T19:21:44+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:43.248603", "created_at": "2024-06-24T11:10:57+02:00", "updated_at": "2024-06-24T11:10:57+02:00", "name": "Deploy to ECS and Test", "path": ".github/workflows/.reusable-deploy-ecs.yml", "contents": null, "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:44.398336", "created_at": "2024-06-24T11:10:57+02:00", "updated_at": "2024-06-24T11:10:57+02:00", "name": "Publish Docker Image", "path": ".github/workflows/.reusable-docker-publish.yml", "contents": null, "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:45.422794", "created_at": "2024-06-24T11:10:57+02:00", "updated_at": "2024-06-24T11:10:57+02:00", "name": "Platform Build Docker Images, Test, and Publish", "path": ".github/workflows/platform-docker-build-test-publish.yml", "contents": null, "state": "active", "repository": "flagsmith/flagsmith"}
{"mined_at": "2024-07-15T16:11:47.470385", "created_at": "2021-06-21T13:31:54+02:00", "updated_at": "2021-06-22T15:04:10+02:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "name: Backport\non:\n  pull_request:\n    types:\n      - closed\n      - labeled\n\njobs:\n  backport:\n    runs-on: ubuntu-22.04\n    name: Backport\n    steps:\n      - name: Backport\n        uses: m-kuhn/backport@v1.2.5\n        with:\n          github_token: ${{ secrets.NYUKI_TOKEN }}\n", "state": "active", "repository": "opengisch/qfieldcloud"}
{"mined_at": "2024-07-15T16:11:48.699465", "created_at": "2021-12-29T17:31:54+01:00", "updated_at": "2021-12-31T02:51:54+01:00", "name": "Build and Push", "path": ".github/workflows/build_and_push.yml", "contents": "name: Build and Push\non:\n  push:\n    branches:\n      - master\n    tags:\n      - \"v*.*.*\"\njobs:\n  build_and_push:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Prepare\n        id: prepare\n        run: |\n          TAG=\"latest\"\n          COMMIT=\"commit-$(git rev-parse --short ${{ github.sha }})\"\n          if [[ $GITHUB_REF == refs/tags/* ]]; then\n            TAG=${GITHUB_REF#refs/tags/v}\n          fi\n          echo \"docker_tag=${TAG}\" >> $GITHUB_OUTPUT\n          echo \"docker_commit=${COMMIT}\" >> $GITHUB_OUTPUT\n          git submodule update --init --recursive --depth 1\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n\n      - name: Login to dockerhub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      # Application\n      - name: Docker Test Application\n        id: docker_test_application\n        uses: docker/build-push-action@v2\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          context: ./docker-app\n          file: ./docker-app/Dockerfile\n\n      - name: Docker Build and Push Application\n        id: docker_build_and_push_application\n        uses: docker/build-push-action@v2\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          target: webserver_runtime\n          context: ./docker-app\n          file: ./docker-app/Dockerfile\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: |\n            opengisch/qfieldcloud-app:${{ steps.prepare.outputs.docker_tag }}\n            opengisch/qfieldcloud-app:${{ steps.prepare.outputs.docker_commit }}\n\n      - name: Docker Build and Push Worker\n        id: docker_build_and_push_worker\n        uses: docker/build-push-action@v2\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          target: worker_wrapper_runtime\n          context: ./docker-app\n          file: ./docker-app/Dockerfile\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: |\n            opengisch/qfieldcloud-worker-wrapper:${{ steps.prepare.outputs.docker_tag }}\n            opengisch/qfieldcloud-worker-wrapper:${{ steps.prepare.outputs.docker_commit }}\n\n      # QGIS\n      - name: Docker Test QGIS\n        id: docker_test_qgis\n        uses: docker/build-push-action@v2\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          context: ./docker-qgis\n          file: ./docker-qgis/Dockerfile\n\n      - name: Docker Build and Push QGIS\n        id: docker_build_and_push_qgis\n        uses: docker/build-push-action@v2\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          context: ./docker-qgis\n          file: ./docker-qgis/Dockerfile\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: |\n            opengisch/qfieldcloud-qgis:${{ steps.prepare.outputs.docker_tag }}\n            opengisch/qfieldcloud-qgis:${{ steps.prepare.outputs.docker_commit }}\n\n      # Nginx\n      - name: Docker Build and Push nginx\n        id: docker_build_and_push_nginx\n        uses: docker/build-push-action@v2\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          context: ./docker-nginx\n          file: ./docker-nginx/Dockerfile\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: |\n            opengisch/qfieldcloud-nginx:${{ steps.prepare.outputs.docker_tag }}\n            opengisch/qfieldcloud-nginx:${{ steps.prepare.outputs.docker_commit }}\n", "state": "active", "repository": "opengisch/qfieldcloud"}
{"mined_at": "2024-07-15T16:11:49.953602", "created_at": "2023-07-10T15:22:16+02:00", "updated_at": "2023-07-18T11:10:51+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '44 18 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: 'ubuntu-latest'\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "opengisch/qfieldcloud"}
{"mined_at": "2024-07-15T16:11:51.054420", "created_at": "2021-12-21T14:40:38+01:00", "updated_at": "2023-06-22T04:01:53+02:00", "name": "👓 Close stale issues", "path": ".github/workflows/stale.yml", "contents": "name: 👓 Close stale issues\non:\n  schedule:\n  - cron: \"30 1 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/stale@v4\n      with:\n        repo-token: ${{ secrets.NYUKI_TOKEN }}\n        stale-issue-message: |\n                            The QFieldCloud project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as \"stale\". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.\n                            In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.\n                            If there is no further activity on this issue, it will be closed in a week.\n        stale-issue-label: 'stale'\n        only-labels: 'feedback'\n        days-before-stale: 14\n        days-before-close: 7\n", "state": "active", "repository": "opengisch/qfieldcloud"}
{"mined_at": "2024-07-15T16:11:52.184426", "created_at": "2021-04-21T21:51:37+02:00", "updated_at": "2023-06-06T09:31:43+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - master\n      - release\n  pull_request:\n\njobs:\n  lint:\n    if: '! github.event.pull_request.draft'\n    name: Lint code base\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Pre-commit\n        uses: pre-commit/action@v3.0.0\n\n  test:\n    name: Run tests\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        django_app:\n          - authentication\n          - notifs\n          - subscription\n          - core\n          - __flaky__\n    continue-on-error: true\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          submodules: recursive\n\n      - name: Prepare docker-compose override file\n        run: |\n          ln -s docker-compose.override.local.yml docker-compose.override.yml\n\n      - name: Check env vars configuration\n        run: |\n          scripts/check_envvars.sh\n\n      - name: Export the env variables file\n        run: |\n          cp .env.example .env\n          sed -ri 's/^COMPOSE_FILE=(.*)/COMPOSE_FILE=\\1:docker-compose.override.test.yml/g' .env\n          eval $(egrep \"^[^#;]\" .env | xargs -d'\\n' -n1 | sed -E 's/(\\w+)=(.*)/export \\1='\"'\"'\\2'\"'\"'/g')\n\n      - name: Pull docker containers\n        run: docker compose pull\n\n      - name: Build and run docker containers\n        run: |\n          docker compose up -d --build\n\n      - name: Initial manage.py commands\n        run: |\n          docker compose run app python manage.py makemigrations --no-input --check\n          docker compose run app python manage.py migrate\n          docker compose run app python manage.py collectstatic\n\n      - name: Run mandatory unit and integration tests\n        if: matrix.django_app != '__flaky__'\n        run: |\n          docker compose run app python manage.py test --keepdb -v2 --exclude-tag=\"flaky\" qfieldcloud.${{ matrix.django_app }}\n\n      - name: Run flaky unit and integration tests\n        if: matrix.django_app == '__flaky__'\n        run: |\n          docker compose run app python manage.py test --keepdb -v2 --tag=\"flaky\" qfieldcloud\n\n      - name: \"failure logs\"\n        if: failure()\n        run: |\n          docker compose logs\n\n      - name: Post Google Chat message on failure\n        if: failure() && matrix.django_app != '__flaky__'\n        uses: julb/action-post-googlechat-message@v1\n        with:\n          message: |\n            Failed job run for branch `${{ github.head_ref || github.ref_name }}`, check ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} .\n          gchat_webhook_url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}\n\n      # - name: Setup tmate session\n      #   if: ${{ failure() }}\n      #   uses: mxschmitt/action-tmate@v3\n      #   timeout-minutes: 30\n      #   with:\n      #     limit-access-to-actor: true\n", "state": "active", "repository": "opengisch/qfieldcloud"}
{"mined_at": "2024-07-15T16:11:54.217889", "created_at": "2022-01-24T16:23:32+01:00", "updated_at": "2022-01-28T14:42:02+01:00", "name": "CI", "path": ".github/workflows/CI.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  fastmri:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'pip' # Cache pip dependencies\\.\n        cache-dependency-path: '**/setup.py'\n    - name: Install Modules and Run\n      run: |\n        pip install .[jax_cpu]\n        pip install .[pytorch_cpu]\n        pip install .[full]\n        pip install -e .\n        python tests/reference_algorithm_tests.py --workload=fastmri     --framework=pytorch     --global_batch_size=8     --submission_path=reference_algorithms/target_setting_algorithms/pytorch_momentum.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/fastmri/tuning_search_space.json\n        python tests/reference_algorithm_tests.py --workload=fastmri     --framework=jax     --global_batch_size=8     --submission_path=reference_algorithms/target_setting_algorithms/jax_momentum.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/fastmri/tuning_search_space.json\n  wmt_jax:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'pip' # Cache pip dependencies\\.\n        cache-dependency-path: '**/setup.py'\n    - name: Install Modules and Run\n      run: |\n        pip install .[jax_cpu]\n        pip install .[pytorch_cpu]\n        pip install .[full]\n        pip install -e .\n        python tests/reference_algorithm_tests.py --workload=wmt     --framework=jax     --global_batch_size=2     --submission_path=reference_algorithms/target_setting_algorithms/jax_nadamw.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/wmt/tuning_search_space.json\n  wmt_pytorch:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'pip' # Cache pip dependencies\\.\n        cache-dependency-path: '**/setup.py'\n    - name: Install Modules and Run\n      run: |\n        pip install .[jax_cpu]\n        pip install .[pytorch_cpu]\n        pip install .[full]\n        pip install -e .\n        python tests/reference_algorithm_tests.py --workload=wmt     --framework=pytorch     --global_batch_size=2     --submission_path=reference_algorithms/target_setting_algorithms/pytorch_nadamw.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/wmt/tuning_search_space.json\n  imagenet_jax:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'pip' # Cache pip dependencies\\.\n        cache-dependency-path: '**/setup.py'\n    - name: Install Modules and Run\n      run: |\n        pip install .[jax_cpu]\n        pip install .[pytorch_cpu]\n        pip install .[full]\n        pip install -e .\n        python tests/reference_algorithm_tests.py --workload=imagenet_vit     --framework=jax     --global_batch_size=2     --submission_path=reference_algorithms/target_setting_algorithms/jax_adamw.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/imagenet_vit/tuning_search_space.json\n        python tests/reference_algorithm_tests.py --workload=imagenet_resnet     --framework=jax     --global_batch_size=2     --submission_path=reference_algorithms/target_setting_algorithms/jax_momentum.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/imagenet_resnet/tuning_search_space.json\n  imagenet_pytorch:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'pip' # Cache pip dependencies\\.\n        cache-dependency-path: '**/setup.py'\n    - name: Install Modules and Run\n      run: |\n        pip install .[jax_cpu]\n        pip install .[pytorch_cpu]\n        pip install .[full]\n        pip install -e .\n        python tests/reference_algorithm_tests.py --workload=imagenet_resnet     --framework=pytorch     --global_batch_size=2     --submission_path=reference_algorithms/target_setting_algorithms/pytorch_momentum.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/imagenet_resnet/tuning_search_space.json\n        python tests/reference_algorithm_tests.py --workload=imagenet_vit     --framework=pytorch     --global_batch_size=2     --submission_path=reference_algorithms/target_setting_algorithms/pytorch_adamw.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/imagenet_vit/tuning_search_space.json\n  # uncomment when https://github.com/mlcommons/algorithmic-efficiency/issues/339 is resolved.\n  criteo_jax:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'pip' # Cache pip dependencies\\.\n        cache-dependency-path: '**/setup.py'\n    - name: Install Modules and Run\n      run: |\n        pip install .[jax_cpu]\n        pip install .[pytorch_cpu]\n        pip install .[full]\n        pip install -e .\n        python tests/reference_algorithm_tests.py --workload=criteo1tb_test     --framework=jax     --global_batch_size=1     --submission_path=reference_algorithms/target_setting_algorithms/jax_adamw.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/criteo1tb/tuning_search_space.json\n  criteo_pytorch:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'pip' # Cache pip dependencies\\.\n        cache-dependency-path: '**/setup.py'\n    - name: Install Modules and Run\n      run: |\n        pip install .[jax_cpu]\n        pip install .[pytorch_cpu]\n        pip install .[full]\n        pip install -e .\n        python tests/reference_algorithm_tests.py --workload=criteo1tb_test     --framework=pytorch     --global_batch_size=1     --submission_path=reference_algorithms/target_setting_algorithms/pytorch_adamw.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/criteo1tb/tuning_search_space.json\n  speech_jax:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'pip' # Cache pip dependencies\\.\n        cache-dependency-path: '**/setup.py'\n    - name: Install Modules and Run\n      run: |\n        pip install .[jax_cpu]\n        pip install .[pytorch_cpu]\n        pip install .[full]\n        pip install -e .\n        python tests/reference_algorithm_tests.py --workload=librispeech_conformer     --framework=jax     --global_batch_size=2     --submission_path=reference_algorithms/target_setting_algorithms/jax_adamw.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/librispeech_conformer/tuning_search_space.json\n        python tests/reference_algorithm_tests.py --workload=librispeech_deepspeech     --framework=jax     --global_batch_size=2     --submission_path=reference_algorithms/target_setting_algorithms/jax_adamw.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/librispeech_deepspeech/tuning_search_space.json\n  speech_pytorch:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'pip' # Cache pip dependencies\\.\n        cache-dependency-path: '**/setup.py'\n    - name: Install Modules and Run\n      run: |\n        pip install .[jax_cpu]\n        pip install .[pytorch_cpu]\n        pip install .[full]\n        pip install -e .\n        python tests/reference_algorithm_tests.py --workload=librispeech_deepspeech     --framework=pytorch     --global_batch_size=2     --submission_path=reference_algorithms/target_setting_algorithms/pytorch_adamw.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/librispeech_deepspeech/tuning_search_space.json\n        python tests/reference_algorithm_tests.py --workload=librispeech_conformer     --framework=pytorch     --global_batch_size=2     --submission_path=reference_algorithms/target_setting_algorithms/pytorch_adamw.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/librispeech_conformer/tuning_search_space.json\n  ogbg:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'pip' # Cache pip dependencies\\.\n        cache-dependency-path: '**/setup.py'\n    - name: Install Modules and Run\n      run: |\n        pip install .[jax_cpu]\n        pip install .[pytorch_cpu]\n        pip install .[full]\n        pip install -e .\n        python tests/reference_algorithm_tests.py --workload=ogbg     --framework=pytorch     --global_batch_size=8     --submission_path=reference_algorithms/target_setting_algorithms/pytorch_nesterov.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/ogbg/tuning_search_space.json\n        python tests/reference_algorithm_tests.py --workload=ogbg     --framework=jax     --global_batch_size=8     --submission_path=reference_algorithms/target_setting_algorithms/jax_nesterov.py     --tuning_search_space=reference_algorithms/target_setting_algorithms/ogbg/tuning_search_space.json\n  pytest:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'pip' # Cache pip dependencies\\.\n        cache-dependency-path: '**/setup.py'\n    - name: Install pytest\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        pip install .[full]\n        pip install .[jax_cpu]\n        pip install .[pytorch_cpu]\n    - name: Run pytest tests\n      run: |\n        pytest -vx tests/version_test.py\n        pytest -vx tests/test_num_params.py\n        pytest -vx tests/test_param_shapes.py\n        pytest -vx tests/test_param_types.py\n        pytest -vx tests/test_ssim.py\n  pytest-baselines:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'pip' # Cache pip dependencies\\.\n        cache-dependency-path: '**/setup.py'\n    - name: Install pytest\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest\n        pip install .[full]\n        pip install .[jax_cpu]\n        pip install .[pytorch_cpu]\n    - name: Run baseline tests\n      run: |\n        pytest --verbosity=1 tests/test_baselines.py\n", "state": "active", "repository": "mlcommons/algorithmic-efficiency"}
{"mined_at": "2024-07-15T16:11:55.260573", "created_at": "2021-03-03T20:45:46+01:00", "updated_at": "2021-03-03T20:45:46+01:00", "name": "cla-bot", "path": ".github/workflows/cla.yml", "contents": "\nname: \"cla-bot\"\non:\n  issue_comment:\n    types: [created]\n  pull_request_target:\n    types: [opened,closed,synchronize]\n\njobs:\n  cla-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"MLCommons CLA bot check\"\n        if: (github.event.comment.body == 'recheck') || github.event_name == 'pull_request_target'\n        # Alpha Release\n        uses: mlcommons/cla-bot@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # the below token should have repo scope and must be manually added by you in the repository's secret\n          PERSONAL_ACCESS_TOKEN : ${{ secrets.MLCOMMONS_BOT_CLA_TOKEN }}\n        with:\n          path-to-signatures: 'cla-bot/v1/cla.json'\n          path-to-document: 'https://forms.gle/Ew1KkBVpyeJDuRw67' # e.g. a CLA or a DCO document\n          # branch should not be protected\n          branch: 'main'\n          allowlist: user1,bot*\n          remote-organization-name: mlcommons\n          remote-repository-name: systems\n          custom-notsigned-prcomment: >\n            <br/>Thank you very much for your submission, we really appreciate it. Before we can accept your contribution, \n            we ask that you sign the MLCommons CLA (Apache 2). Please use this [Google form] ([LINK_TO_DOC]) to initiate \n            authorization. If you are from an MLCommons member organization, we will request that you be added to the CLA. \n            If you are not from a member organization, we will email you a CLA to sign. For any questions, please contact \n            support@mlcommons.org.<br/>\n          \n         #below are the optional inputs - If the optional inputs are not given, then default values will be taken\n          #remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #remote-repository-name:  enter the  remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #create-file-commit-message: 'For example: Creating file for storing CLA Signatures'\n          #signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo'\n          #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'\n          #custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'\n          #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'\n", "state": "active", "repository": "mlcommons/algorithmic-efficiency"}
{"mined_at": "2024-07-15T16:11:56.283287", "created_at": "2022-01-24T16:23:32+01:00", "updated_at": "2022-01-28T14:42:02+01:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\n\non: [push, pull_request]\n\njobs:\n  pylint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install pylint\n      run: |\n        python -m pip install --upgrade pip\n        pip install pylint==2.16.1\n    - name: Run pylint\n      run: |\n        pylint algorithmic_efficiency\n        pylint reference_algorithms\n        pylint prize_qualification_baselines\n        pylint submission_runner.py\n        pylint tests\n\n  isort:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install isort\n      run: |\n        python -m pip install --upgrade pip\n        pip install isort\n    - name: Run isort\n      run: |\n        isort . --check --diff\n\n  yapf:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: Install yapf\n      run: |\n        python -m pip install --upgrade pip\n        pip install yapf==0.32\n    - name: Run yapf\n      run: |\n        yapf . --diff --recursive\n", "state": "active", "repository": "mlcommons/algorithmic-efficiency"}
{"mined_at": "2024-07-15T16:11:57.506742", "created_at": "2023-06-27T01:48:48+02:00", "updated_at": "2023-07-27T06:36:39+02:00", "name": "Containerized Regression Tests", "path": ".github/workflows/regression_tests.yml", "contents": "name: Containerized Regression Tests\n\non: \n  pull_request:\n    branches:\n      - 'main' \n\njobs:\n  build_and_push_jax_docker_image:\n    runs-on: self-hosted\n    steps:\n    - uses: actions/checkout@v2\n    - name: Build and push docker images\n      run: |\n        GIT_BRANCH=${{ github.head_ref || github.ref_name }}\n        FRAMEWORK=jax\n        IMAGE_NAME=\"algoperf_${FRAMEWORK}_${GIT_BRANCH}\"\n        cd $HOME/algorithmic-efficiency/docker\n        docker build --no-cache -t $IMAGE_NAME . --build-arg framework=$FRAMEWORK --build-arg branch=$GIT_BRANCH\n        BUILD_RETURN=$?\n        if [[ ${BUILD_RETURN} != 0 ]]; then exit ${BUILD_RETURN}; fi\n        docker tag $IMAGE_NAME us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/$IMAGE_NAME\n        docker push us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/$IMAGE_NAME\n  build_and_push_pytorch_docker_image:\n    runs-on: self-hosted\n    steps:\n    - uses: actions/checkout@v2\n    - name: Build and push docker images\n      run: |\n        GIT_BRANCH=${{ github.head_ref || github.ref_name }}\n        FRAMEWORK=pytorch\n        IMAGE_NAME=\"algoperf_${FRAMEWORK}_${GIT_BRANCH}\"\n        cd $HOME/algorithmic-efficiency/docker\n        docker build --no-cache -t $IMAGE_NAME . --build-arg framework=$FRAMEWORK --build-arg branch=$GIT_BRANCH\n        BUILD_RETURN=$?\n        if [[ ${BUILD_RETURN} != 0 ]]; then exit ${BUILD_RETURN}; fi\n        docker tag $IMAGE_NAME us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/$IMAGE_NAME\n        docker push us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/$IMAGE_NAME\n  fastmri_jax:\n    runs-on: self-hosted\n    needs: build_and_push_jax_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  -d fastmri -f jax -s reference_algorithms/paper_baselines/adamw/jax/submission.py -w fastmri -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  imagenet_resnet_jax:\n    runs-on: self-hosted\n    needs: build_and_push_jax_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  -d imagenet -f jax -s reference_algorithms/paper_baselines/adamw/jax/submission.py -w imagenet_resnet -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  imagenet_vit_jax:\n    runs-on: self-hosted\n    needs: build_and_push_jax_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  -d imagenet -f jax -s reference_algorithms/paper_baselines/adamw/jax/submission.py -w imagenet_vit -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  ogbg_jax:\n    runs-on: self-hosted\n    needs: build_and_push_jax_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  -d ogbg -f jax -s reference_algorithms/paper_baselines/adamw/jax/submission.py -w ogbg -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  criteo_jax:\n    runs-on: self-hosted\n    needs: build_and_push_jax_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  -d criteo1tb -f jax -s reference_algorithms/paper_baselines/adamw/jax/submission.py -w criteo1tb -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  librispeech_conformer_jax:\n    runs-on: self-hosted\n    needs: build_and_push_jax_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  -d librispeech -f jax -s reference_algorithms/paper_baselines/adamw/jax/submission.py -w librispeech_conformer -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  librispeech_deepspeech_jax:\n    runs-on: self-hosted\n    needs: build_and_push_jax_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  -d librispeech -f jax -s reference_algorithms/paper_baselines/adamw/jax/submission.py -w librispeech_deepspeech -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  wmt_jax:\n    runs-on: self-hosted\n    needs: build_and_push_jax_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  -d wmt -f jax -s reference_algorithms/paper_baselines/adamw/jax/submission.py -w wmt -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false     \n  fastmri_pytorch:\n    runs-on: self-hosted\n    needs: build_and_push_pytorch_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  -d fastmri -f pytorch -s reference_algorithms/paper_baselines/adamw/pytorch/submission.py -w fastmri -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  imagenet_resnet_pytorch:\n    runs-on: self-hosted\n    needs: build_and_push_pytorch_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  -d imagenet -f pytorch -s reference_algorithms/paper_baselines/adamw/pytorch/submission.py -w imagenet_resnet -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  imagenet_vit_pytorch:\n    runs-on: self-hosted\n    needs: build_and_push_pytorch_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  -d imagenet -f pytorch -s reference_algorithms/paper_baselines/adamw/pytorch/submission.py -w imagenet_vit -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  ogbg_pytorch:\n    runs-on: self-hosted\n    needs: build_and_push_pytorch_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  -d ogbg -f pytorch -s reference_algorithms/paper_baselines/adamw/pytorch/submission.py -w ogbg -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  criteo_pytorch:\n    runs-on: self-hosted\n    needs: build_and_push_pytorch_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}\n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }} -d criteo1tb -f pytorch -s reference_algorithms/paper_baselines/adamw/pytorch/submission.py -w criteo1tb -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n        exit $?\n  librispeech_conformer_pytorch:\n    runs-on: self-hosted\n    needs: build_and_push_pytorch_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  -d librispeech -f pytorch -s reference_algorithms/paper_baselines/adamw/pytorch/submission.py -w librispeech_conformer -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  librispeech_deepspeech_pytorch:\n    runs-on: self-hosted\n    needs: build_and_push_pytorch_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  -d librispeech -f pytorch -s reference_algorithms/paper_baselines/adamw/pytorch/submission.py -w librispeech_deepspeech -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  wmt_pytorch:\n    runs-on: self-hosted\n    needs: build_and_push_pytorch_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}  -d wmt -f pytorch -s reference_algorithms/paper_baselines/adamw/pytorch/submission.py -w wmt -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false     \n", "state": "active", "repository": "mlcommons/algorithmic-efficiency"}
{"mined_at": "2024-07-15T16:11:58.736118", "created_at": "2023-11-11T02:53:23+01:00", "updated_at": "2024-04-02T01:27:26+02:00", "name": ".github/workflows/regression_tests_variants.yml", "path": ".github/workflows/regression_tests_variants.yml", "contents": "name: Containerized Regression Tests for Workload Variants\n\non: \n  pull_request:\n    branches:\n      - 'main' \n\njobs:\n  build_and_push_jax_docker_image:\n    runs-on: self-hosted\n    steps:\n    - uses: actions/checkout@v2\n    - name: Build and push docker images\n      run: |\n        GIT_BRANCH=${{ github.head_ref || github.ref_name }}\n        FRAMEWORK=jax\n        IMAGE_NAME=\"algoperf_${FRAMEWORK}_${GIT_BRANCH}\"\n        cd $HOME/algorithmic-efficiency/docker\n        docker build --no-cache -t $IMAGE_NAME . --build-arg framework=$FRAMEWORK --build-arg branch=$GIT_BRANCH\n        BUILD_RETURN=$?\n        if [[ ${BUILD_RETURN} != 0 ]]; then exit ${BUILD_RETURN}; fi\n        docker tag $IMAGE_NAME us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/$IMAGE_NAME\n        docker push us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/$IMAGE_NAME\n  build_and_push_pytorch_docker_image:\n    runs-on: self-hosted\n    steps:\n    - uses: actions/checkout@v2\n    - name: Build and push docker images\n      run: |\n        GIT_BRANCH=${{ github.head_ref || github.ref_name }}\n        FRAMEWORK=pytorch\n        IMAGE_NAME=\"algoperf_${FRAMEWORK}_${GIT_BRANCH}\"\n        cd $HOME/algorithmic-efficiency/docker\n        docker build --no-cache -t $IMAGE_NAME . --build-arg framework=$FRAMEWORK --build-arg branch=$GIT_BRANCH\n        BUILD_RETURN=$?\n        if [[ ${BUILD_RETURN} != 0 ]]; then exit ${BUILD_RETURN}; fi\n        docker tag $IMAGE_NAME us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/$IMAGE_NAME\n        docker push us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/$IMAGE_NAME\n  criteo_layernorm_jax:\n    runs-on: self-hosted\n    needs: build_and_push_jax_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  -d criteo1tb -f jax -s reference_algorithms/paper_baselines/adamw/jax/submission.py -w criteo1tb_layernorm -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  criteo_resnet_jax:\n    runs-on: self-hosted\n    needs: build_and_push_jax_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  \n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_jax_${{ github.head_ref || github.ref_name }}  -d criteo1tb -f jax -s reference_algorithms/paper_baselines/adamw/jax/submission.py -w criteo1tb_resnet -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  criteo_layernorm_pytorch:\n    runs-on: self-hosted\n    needs: build_and_push_pytorch_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}\n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }} -d criteo1tb -f pytorch -s reference_algorithms/paper_baselines/adamw/pytorch/submission.py -w criteo1tb_layernorm -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  criteo_resnet_pytorch:\n    runs-on: self-hosted\n    needs: build_and_push_pytorch_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}\n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }} -d criteo1tb -f pytorch -s reference_algorithms/paper_baselines/adamw/pytorch/submission.py -w criteo1tb_resnet -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n  criteo_resnet_pytorch:\n    runs-on: self-hosted\n    needs: build_and_push_pytorch_docker_image\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run containerized workload\n      run: |\n        docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }}\n        docker run  -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_pytorch_${{ github.head_ref || github.ref_name }} -d criteo1tb -f pytorch -s reference_algorithms/paper_baselines/adamw/pytorch/submission.py -w criteo1tb_embed_init -t reference_algorithms/paper_baselines/adamw/tuning_search_space.json -e tests/regression_tests/adamw -m 10 -c False -o True -r false\n         \n \n", "state": "active", "repository": "mlcommons/algorithmic-efficiency"}
{"mined_at": "2024-07-15T16:11:59.748358", "created_at": "2024-02-06T23:06:52+01:00", "updated_at": "2024-02-07T00:16:19+01:00", "name": "Containerized Regression Tests for Shampoo", "path": ".github/workflows/shampoo_tests.yml", "contents": null, "state": "active", "repository": "mlcommons/algorithmic-efficiency"}
{"mined_at": "2024-07-15T16:12:00.987519", "created_at": "2024-02-02T23:59:31+01:00", "updated_at": "2024-02-15T23:01:44+01:00", "name": "Containerized Training Differences Tests Jax vs PyTorch", "path": ".github/workflows/traindiffs_tests.yml", "contents": "name: Containerized Training Differences Tests Jax vs PyTorch\n\non: \n  pull_request:\n    branches:\n      - 'main' \n\njobs:\n  build_and_push_docker_image:\n    runs-on: self-hosted\n    steps:\n    - uses: actions/checkout@v2\n    - name: Build and push docker image\n      run: |\n        GIT_BRANCH=${{ github.head_ref || github.ref_name }}\n        FRAMEWORK=both\n        IMAGE_NAME=\"algoperf_${GIT_BRANCH}\"\n        cd $HOME/algorithmic-efficiency/docker\n        docker build --no-cache -t $IMAGE_NAME . --build-arg framework=$FRAMEWORK --build-arg branch=$GIT_BRANCH\n        BUILD_RETURN=$?\n        if [[ ${BUILD_RETURN} != 0 ]]; then exit ${BUILD_RETURN}; fi\n        docker tag $IMAGE_NAME us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/$IMAGE_NAME\n        docker push us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/$IMAGE_NAME\n  traindiffs_tests:\n      runs-on: self-hosted\n      needs: build_and_push_docker_image\n      steps:\n      - uses: actions/checkout@v2\n      - name: Run containerized traindiffs test\n        run: |\n          docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_${{ github.head_ref || github.ref_name }}  \n          docker run -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_${{ github.head_ref || github.ref_name }} --traindiffs_test true\n", "state": "active", "repository": "mlcommons/algorithmic-efficiency"}
{"mined_at": "2024-07-15T16:12:03.065711", "created_at": "2022-10-03T01:25:16+02:00", "updated_at": "2022-10-03T01:25:16+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n    paths-ignore:\n      - '**/*.md'\n      - '**/*.txt'\n      - '**/*.html'\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n    paths-ignore:\n      - '**/*.md'\n      - '**/*.txt'\n      - '**/*.html'\n  schedule:\n    - cron: '43 4 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          \n          # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n          # queries: security-extended,security-and-quality\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n \n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      # - run: |\n      #   echo \"Run, Build Application using script\"\n      #   ./location_of_script_within_repo/buildscript.sh\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "dribdat/dribdat"}
{"mined_at": "2024-07-15T16:12:04.152380", "created_at": "2020-12-16T13:03:11+01:00", "updated_at": "2023-03-28T14:55:42+02:00", "name": "build", "path": ".github/workflows/test.yml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        name: [ ubuntu ]\n        include:\n          - name: ubuntu\n            os: ubuntu-latest\n            python-version: 3.9\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Load cached Poetry installation\n        id: cached-poetry\n        uses: actions/cache@v3\n        with:\n          path: ~/.local  # the path depends on the OS\n          key: poetry-0  # increment to reset cache\n      - name: Install Poetry\n        if: steps.cached-poetry.outputs.cache-hit != 'true'\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.3.2\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n      - name: Load cached venv\n        id: cached-pip-wheels\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache\n          key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Upgrade pip\n        run: poetry run pip install -U pip\n      - name: Install setuptools\n        run: poetry run pip install -U setuptools\n      - name: Install dependencies\n        run: poetry install --no-interaction --no-root\n      - name: Install library\n        run: poetry install --no-interaction\n      - name: Run test suite\n        run: poetry run coverage run --source=dribdat -m pytest tests/\n      - name: Generate coverage report\n        run: poetry run coverage xml\n      - uses: codecov/codecov-action@v1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./coverage.xml\n", "state": "active", "repository": "dribdat/dribdat"}
{"mined_at": "2024-07-15T16:12:06.225399", "created_at": "2023-08-11T19:21:35+02:00", "updated_at": "2023-08-12T09:08:59+02:00", "name": "Qodana", "path": ".github/workflows/code-quality.yml", "contents": "name: Qodana\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n    branches:\n      - main\n      - 'releases/*'\n\njobs:\n  qodana:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n      checks: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}  # to check out the actual pull request commit, not the merge commit\n          fetch-depth: 0  # a full history is required for pull request analysis\n      - name: 'Qodana Scan'\n        uses: JetBrains/qodana-action@v2023.2\n        env:\n          QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}\n        with:\n          post-pr-comment: false\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:07.252619", "created_at": "2024-02-09T14:33:14+01:00", "updated_at": "2024-02-09T14:41:49+01:00", "name": "Crowdin download", "path": ".github/workflows/crowdin-download.yaml", "contents": "name: Crowdin download\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 * * * *'\n\npermissions: write-all\n\njobs:\n  synchronize-with-crowdin:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: crowdin action\n        uses: crowdin/github-action@v2\n        with:\n          upload_sources: false\n          upload_translations: false\n          download_translations: true\n          localization_branch_name: crowdin\n          create_pull_request: true\n          pull_request_title: 'Update translations'\n          pull_request_body: 'New Crowdin translations submitted'\n          pull_request_base_branch_name: 'master'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}\n          CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:08.368997", "created_at": "2024-02-09T12:20:59+01:00", "updated_at": "2024-02-09T14:41:49+01:00", "name": "Crowdin upload", "path": ".github/workflows/crowdin-upload.yaml", "contents": "name: Crowdin upload\n\non:\n  push:\n    paths:\n      - custom_components/powercalc/translations/*\n      - crowdin.yaml\n    branches: [ master ]\n  workflow_dispatch:\n\njobs:\n  synchronize-with-crowdin:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: crowdin action\n        uses: crowdin/github-action@v2\n        with:\n          upload_sources: true\n          upload_translations: true\n          download_translations: false\n        env:\n          GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}\n          CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}\n          CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:09.346162", "created_at": "2024-02-09T11:25:55+01:00", "updated_at": "2024-02-09T11:25:55+01:00", "name": "Crowdin Action", "path": ".github/workflows/crowdin.yaml", "contents": null, "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:10.613227", "created_at": "2021-06-28T20:24:15+02:00", "updated_at": "2022-12-28T10:57:50+01:00", "name": "Generate support model list", "path": ".github/workflows/generate-model-list.yml", "contents": "name: Generate support model list\n\non:\n  pull_request:\n    paths:\n      - '.github/scripts/supported_models/**'\n  push:\n    paths:\n      - '**/model.json'\n    branches:\n      - master\n  workflow_dispatch:\n\njobs:\n  format:\n    name: Generate list\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - name: Install dependencies\n        run: |\n          python -m pip install -r ${{ github.workspace }}/.github/scripts/supported_models/requirements.txt\n      - name: Pull again\n        run: git pull || true\n      - name: Generate file\n        run: |\n          python3 ${{ github.workspace }}/.github/scripts/supported_models/generate_file.py\n      - uses: EndBug/add-and-commit@v9\n        if: github.ref == 'refs/heads/master'\n        with:\n          add: 'docs/supported_models.md profile_library/library.json'\n          message: 'Update profile library'\n      - name: Purge powercalc API memory cache\n        run: |\n          curl -X GET \"https://powercalc.lauwbier.nl/api/cache/flush\" -H  \"Authorization: Bearer ${{ secrets.POWERCALC_API_KEY }}\"\n      - name: Purge cloudflare cache\n        uses: jakejarvis/cloudflare-purge-action@master\n        env:\n          CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}\n          CLOUDFLARE_EMAIL: ${{ secrets.CLOUDFLARE_EMAIL }}\n          CLOUDFLARE_KEY: ${{ secrets.CLOUDFLARE_KEY }}\n          PURGE_URLS: '[\"https://powercalc.lauwbier.nl/api/library\"]'\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:11.720329", "created_at": "2024-07-13T13:19:30+02:00", "updated_at": "2024-07-13T13:19:30+02:00", "name": "Generate support model list", "path": ".github/workflows/generate-plots.yml", "contents": null, "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:12.728443", "created_at": "2021-06-05T16:09:14+02:00", "updated_at": "2021-06-06T08:19:12+02:00", "name": "validate", "path": ".github/workflows/hacs-validate.yml", "contents": "name: validate\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  validate-hassfest:\n    name: Hassfest validation\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n      - name: validation\n        uses: home-assistant/actions/hassfest@master\n\n  validate-hacs:\n    name: HACS validation\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n      - name: validation\n        uses: \"hacs/action@main\"\n        with:\n          category: \"integration\"\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:13.879683", "created_at": "2023-01-21T15:01:27+01:00", "updated_at": "2024-02-24T12:03:13+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n      - '**.py'\n      - 'poetry.lock'\n  pull_request:\n    paths:\n      - '**.py'\n      - 'poetry.lock'\n\njobs:\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Powercalc\n        uses: actions/checkout@v4\n      - uses: ./.github/workflows/poetry-composite-action\n      - name: Run MyPy\n        run: |\n          poetry run mypy ./custom_components/powercalc\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Powercalc\n        uses: actions/checkout@v4\n      - uses: ./.github/workflows/poetry-composite-action\n      - name: Run Ruff\n        run: |\n          poetry run ruff .\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:14.894843", "created_at": "2021-09-15T20:58:35+02:00", "updated_at": "2021-09-26T12:26:22+02:00", "name": "Publish Measure Docker Image", "path": ".github/workflows/publish-measure-image.yml", "contents": "name: Publish Measure Docker Image\n\non:\n  push:\n    branches:\n      - 'master'\n  release:\n    types: [published]\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Get version\n        id: version\n        uses: home-assistant/actions/helpers/version@master\n      - if: github.event.action == 'published'\n        name: Write version file\n        run: 'echo ${{ steps.version.outputs.version }}:docker > utils/measure/.VERSION'\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          # list of Docker images to use as base name for tags\n          images: |\n            ghcr.io/bramstroker/measure\n            bramgerritsen/powercalc-measure\n          flavor: |\n            latest=auto\n          # generate Docker tags based on the following events/attributes\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{major}}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Log in to GHCR\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Build and push\n        uses: docker/build-push-action@v6\n        with:\n          context: ./utils/measure\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:15.878952", "created_at": "2021-06-19T11:09:47+02:00", "updated_at": "2021-06-19T11:22:34+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [opened, reopened, synchronize]\n\njobs:\n  update_release_draft:\n    name: Update release draft\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Create Release\n        uses: release-drafter/release-drafter@v6\n        with:\n          disable-releaser: github.ref != 'refs/heads/main'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:16.961941", "created_at": "2021-06-19T11:12:12+02:00", "updated_at": "2021-06-19T11:12:12+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  release_zip_file:\n    name: Prepare release asset\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n      - name: \"Set manifest version number\"\n        run: |\n          python3 ${{ github.workspace }}/.github/scripts/update_hacs_manifest.py --version ${{ github.ref_name }}\n      - name: Set measure tool version number\n        run: 'echo ${{ steps.version.outputs.version }} > utils/measure/.VERSION'\n      - name: Create zip\n        run: |\n          cd custom_components/powercalc\n          zip powercalc.zip -r ./\n      - name: Upload zip to release\n        uses: svenstaro/upload-release-action@v1-release\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: ./custom_components/powercalc/powercalc.zip\n          asset_name: powercalc.zip\n          tag: ${{ github.ref }}\n          overwrite: true\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:17.977842", "created_at": "2023-06-17T08:52:09+02:00", "updated_at": "2023-06-17T08:52:09+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues and pull requests\n\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Run stale\n        uses: actions/stale@v9\n        with:\n          stale-issue-message: \"This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.\"\n          stale-pr-message: \"This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.\"\n          close-issue-message: \"This issue was closed because it has been stalled for 5 days with no activity.\"\n          close-pr-message: \"This PR was closed because it has been stalled for 10 days with no activity.\"\n          days-before-issue-stale: 30\n          days-before-pr-stale: 45\n          days-before-issue-close: 5\n          days-before-pr-close: 10\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:19.112394", "created_at": "2022-07-22T16:12:10+02:00", "updated_at": "2024-02-24T10:33:28+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n      - '**.py'\n  pull_request:\n    paths:\n      - '**.py'\n      - 'poetry.lock'\n\njobs:\n  tests:\n    runs-on: \"ubuntu-latest\"\n    name: Run tests\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      - uses: ./.github/workflows/poetry-composite-action\n      - name: Prepare test env\n        run: bash tests/setup.sh\n      - name: Run tests\n        run: |\n          poetry run pytest \\\n            -qq \\\n            --timeout=9 \\\n            --durations=10 \\\n            -n auto \\\n            --cov custom_components.powercalc \\\n            --cov-report xml \\\n            -o console_output_style=count \\\n            -p no:sugar \\\n            tests\n          poetry run coverage lcov\n      - name: Upload Coverage Results\n        uses: coverallsapp/github-action@v2\n        with:\n          github-token: ${{ secrets.github_token }}\n          path-to-lcov: coverage.lcov\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:20.104385", "created_at": "2021-08-19T16:04:59+02:00", "updated_at": "2024-02-24T14:12:38+01:00", "name": "LUT file validation", "path": ".github/workflows/validate-lut-files.yml", "contents": "name: LUT file validation\n\non:\n  pull_request_target:\n    paths:\n       - '**.csv.gz'\n       - '.github/scripts/lut_validator/**'\n\npermissions:\n   pull-requests: write\n\njobs:\n  validate-lut:\n    name: Validate LUT CSV files\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install dependencies\n      run: |\n        cd .github/scripts/lut_validator\n        npm install\n    - name: Validate LUT CSV files\n      run: node .github/scripts/lut_validator/validate.js\n  visualize:\n    name: Add plot to PR\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          fetch-depth: 0\n      - uses: ./.github/workflows/poetry-composite-action\n        with:\n          directory: './utils/visualize'\n          python_version: '3.11'\n          cache_dependencies: 'false'\n      - uses: actions/github-script@v7\n        name: List changed files from the PR\n        id: list-files\n        with:\n          script: |\n            const { execSync } = require('child_process')\n            const { commits } = context.payload.pull_request\n            const rawFiles = execSync(`git diff --name-only HEAD HEAD~${commits} | grep '\\.csv\\.gz$'`).toString()\n            const files = rawFiles.split('\\n').filter(Boolean)\n            core.setOutput('changedFiles', \"\\\"\" + files.join(\"\\\" \\\"\") + \"\\\"\")\n      - name: Run visualization tool\n        run: |\n          cd ./utils/visualize\n          for file in ${{ steps.list-files.outputs.changedFiles }}; do\n            echo \"Generating plot for - ${file}.\"\n            if [ -f \"${{ github.workspace }}/${file}\" ]; then\n              poetry run python plot.py \"${{ github.workspace }}/${file}\" --output=auto\n            fi\n          done\n      - name: Upload the plots to Imgur\n        uses: devicons/public-upload-to-imgur@v2\n        id: imgur_step\n        with:\n          path: ./utils/visualize/*.png\n          client_id: ${{secrets.IMGUR_CLIENT_ID}}\n      - name: Build PR message\n        id: build-pr-message\n        run: |\n          echo 'PR_MESSAGE<<EOF' >> $GITHUB_OUTPUT\n          echo \"Thank you for submitting light measurements!\" >> $GITHUB_OUTPUT\n          echo -e \"Here are some visualizations for the CSV files.\\n\" >> $GITHUB_OUTPUT\n          for url in ${{ join(fromJSON(steps.imgur_step.outputs.imgur_urls), ' ') }}\n          do\n            echo \"![Image](${url})\" >> $GITHUB_OUTPUT\n          done\n          echo 'EOF' >> $GITHUB_OUTPUT\n      - name: Add comment to PR\n        uses: mshick/add-pr-comment@v2\n        with:\n          message: |\n            ${{ steps.build-pr-message.outputs.PR_MESSAGE }}\n      - name: add label\n        uses: actions-ecosystem/action-add-labels@v1\n        with:\n          labels: lightmodel\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:21.114204", "created_at": "2021-08-19T16:04:59+02:00", "updated_at": "2021-08-19T16:04:59+02:00", "name": "validate-light-model", "path": ".github/workflows/validate-model-json.yml", "contents": "name: validate-light-model\n\non:\n  pull_request_target:\n    paths:\n       - '**/model.json'\n       - 'profile_library/model_schema.json'\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  validate_model_json:\n    name: Validate model.json\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{github.event.pull_request.head.ref}}\n          repository: ${{github.event.pull_request.head.repo.full_name}}\n      - name: Validate model.json against schema\n        uses: bramstroker/json-schema-validator@master\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          json_schema: ./profile_library/model_schema.json\n          json_path_pattern: .*/data/([^/]+/)?([^/]+/)?model.json$\n          send_comment: true\n          clear_comments: true\n", "state": "active", "repository": "bramstroker/homeassistant-powercalc"}
{"mined_at": "2024-07-15T16:12:23.418054", "created_at": "2022-06-03T07:23:08+02:00", "updated_at": "2023-06-20T15:36:46+02:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  pull_request:\n    paths:\n      - src/**\n      - tests/**\n      - noxfile.py\n      - poetry.lock\n      - pyproject.toml\n      - .github/workflows/test.yml\n      - .github/workflows/resources/constraints.txt\n  push:\n    branches: [main]\n    paths:\n      - src/**\n      - tests/**\n      - noxfile.py\n      - poetry.lock\n      - pyproject.toml\n      - .github/workflows/test.yml\n      - .github/workflows/resources/constraints.txt\n  workflow_dispatch:\n    inputs: {}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        include:\n        - { id: '01', python-version: '3.8',  os: ubuntu-latest, backend-db: sqlite }\n        - { id: '02', python-version: '3.9',  os: ubuntu-latest, backend-db: sqlite }\n        - { id: '03', python-version: '3.10', os: ubuntu-latest, backend-db: sqlite }\n        - { id: '04', python-version: '3.11', os: ubuntu-latest, backend-db: sqlite }\n        - { id: '05', python-version: '3.12', os: ubuntu-latest, backend-db: sqlite }\n        - { id: '06', python-version: '3.8',  os: ubuntu-latest, backend-db: postgresql }\n        - { id: '07', python-version: '3.9',  os: ubuntu-latest, backend-db: postgresql }\n        - { id: '08', python-version: '3.10', os: ubuntu-latest, backend-db: postgresql }\n        - { id: '09', python-version: '3.11', os: ubuntu-latest, backend-db: postgresql }\n        - { id: '10', python-version: '3.12', os: ubuntu-latest, backend-db: postgresql }\n        - { id: '11', python-version: '3.8',  os: ubuntu-latest, backend-db: mssql }\n        - { id: '12', python-version: '3.9',  os: ubuntu-latest, backend-db: mssql }\n        - { id: '13', python-version: '3.10', os: ubuntu-latest, backend-db: mssql }\n        - { id: '14', python-version: '3.11', os: ubuntu-latest, backend-db: mssql }\n        - { id: '15', python-version: '3.12', os: ubuntu-latest, backend-db: mssql }\n        # We'd like to run Windows tests for all backend-dbs see https://github.com/meltano/meltano/issues/6281\n        - { id: '16', python-version: '3.8',  os: windows-2022,  backend-db: sqlite }\n        - { id: '17', python-version: '3.9',  os: windows-2022,  backend-db: sqlite }\n        - { id: '18', python-version: '3.10', os: windows-2022,  backend-db: sqlite }\n        - { id: '19', python-version: '3.11', os: windows-2022,  backend-db: sqlite }\n        - { id: '20', python-version: '3.12', os: windows-2022,  backend-db: sqlite }\n        - { id: '21', python-version: '3.8',  os: ubuntu-latest, backend-db: postgresql_psycopg3 }\n        - { id: '22', python-version: '3.9',  os: ubuntu-latest, backend-db: postgresql_psycopg3 }\n        - { id: '23', python-version: '3.10', os: ubuntu-latest, backend-db: postgresql_psycopg3 }\n        - { id: '24', python-version: '3.11', os: ubuntu-latest, backend-db: postgresql_psycopg3 }\n        - { id: '25', python-version: '3.12', os: ubuntu-latest, backend-db: postgresql_psycopg3 }\n      fail-fast: false\n\n    # GitHub doesn't handle matrix outputs well: https://stackoverflow.com/questions/70287603\n    outputs:\n      pytest-results-row-01: ${{ steps.append-results.outputs.pytest-results-row-01 }}\n      pytest-results-row-02: ${{ steps.append-results.outputs.pytest-results-row-02 }}\n      pytest-results-row-03: ${{ steps.append-results.outputs.pytest-results-row-03 }}\n      pytest-results-row-04: ${{ steps.append-results.outputs.pytest-results-row-04 }}\n      pytest-results-row-05: ${{ steps.append-results.outputs.pytest-results-row-05 }}\n      pytest-results-row-06: ${{ steps.append-results.outputs.pytest-results-row-06 }}\n      pytest-results-row-07: ${{ steps.append-results.outputs.pytest-results-row-07 }}\n      pytest-results-row-08: ${{ steps.append-results.outputs.pytest-results-row-08 }}\n      pytest-results-row-09: ${{ steps.append-results.outputs.pytest-results-row-09 }}\n      pytest-results-row-10: ${{ steps.append-results.outputs.pytest-results-row-10 }}\n      pytest-results-row-11: ${{ steps.append-results.outputs.pytest-results-row-11 }}\n      pytest-results-row-12: ${{ steps.append-results.outputs.pytest-results-row-12 }}\n      pytest-results-row-13: ${{ steps.append-results.outputs.pytest-results-row-13 }}\n      pytest-results-row-14: ${{ steps.append-results.outputs.pytest-results-row-14 }}\n      pytest-results-row-15: ${{ steps.append-results.outputs.pytest-results-row-15 }}\n      pytest-results-row-16: ${{ steps.append-results.outputs.pytest-results-row-16 }}\n      pytest-results-row-17: ${{ steps.append-results.outputs.pytest-results-row-17 }}\n      pytest-results-row-18: ${{ steps.append-results.outputs.pytest-results-row-18 }}\n      pytest-results-row-19: ${{ steps.append-results.outputs.pytest-results-row-19 }}\n      pytest-results-row-20: ${{ steps.append-results.outputs.pytest-results-row-20 }}\n\n    name: \"Pytest on py${{ matrix.python-version }} (OS: ${{ matrix.os }}, DB: ${{ matrix.backend-db }})\"\n    runs-on: ${{ matrix.os }}\n    env:\n      PYTEST_MARKERS: not concurrent\n      FORCE_COLOR: 1\n      NOXPYTHON: ${{ matrix.python-version }}\n\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@v4.1.7\n\n    - name: Install Poetry\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/constraints.txt\n      run: |\n        pipx install poetry\n        poetry --version\n\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: x64\n        # Nox uses pip, so we cache with pip\n        cache: 'pip'\n        cache-dependency-path: 'poetry.lock'\n        check-latest: true\n\n    - name: Set up Docker Buildx\n      if: always() && (matrix.backend-db == 'mssql')\n      uses: docker/setup-buildx-action@v3.3.0\n\n    - name: Get Docker\n      if: always() && (matrix.backend-db == 'mssql')\n      uses: actions-hub/docker/cli@v1.0.3\n      env:\n        SKIP_LOGIN: true\n\n    - name: Start Postgres Container\n      if: always() && (matrix.backend-db == 'postgresql' || matrix.backend-db == 'postgresql_psycopg3')\n      run: >\n        docker run -d\n        -p \"5432:5432\"\n        -e \"POSTGRES_PASSWORD=postgres\"\n        --name postgres\n        --health-cmd \"pg_isready -d postgres -U postgres\"\n        --health-interval 10s\n        --health-timeout 5s\n        --health-retries 5\n        postgres:11\n\n    - name: Start MSSQL Container\n      if: always() && (matrix.backend-db == 'mssql')\n      run: |\n        docker compose -f .github/workflows/resources/docker-compose.mssql.yaml up -d --wait --quiet-pull\n\n    - name: Check running containers\n      run: |\n        docker ps -a\n\n    - name: Install Nox\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/constraints.txt\n      run: |\n        pipx install nox\n        pipx inject nox nox-poetry\n\n    - name: Run pytest\n      env:\n        SQLALCHEMY_WARN_20: 1\n        COLUMNS: 160\n        PYTEST_BACKEND: ${{ matrix.backend-db }}\n        # Postgres backend\n        POSTGRES_HOST_AUTH_METHOD: trust\n        POSTGRES_ADDRESS: localhost\n        POSTGRES_PORT: 5432\n        POSTGRES_USER: postgres\n        POSTGRES_PASSWORD: postgres\n        POSTGRES_DB: pytest_warehouse\n        # MSSQL backend\n        MSSQL_ADDRESS: localhost\n        MSSQL_PORT: 1433\n        MSSQL_USER: sa\n        MSSQL_PASSWORD: Meltan0admin\n        MSSQL_DB: pytest_warehouse\n      shell: bash\n      run: |\n        nox -t test -- -m \"${{ env.PYTEST_MARKERS }}\" 2>&1 | \\\n          tee >( \\\n            tail | sed -r \"s/[[:cntrl:]]\\[([0-9]{1,3};)*[0-9]{1,3}m//g\" | grep -E '^=+ [0-9].+ =+$' | \\\n            { read pytest_results; echo \"pytest_results='${pytest_results}'\" >> ${GITHUB_ENV}; } )\n\n    - name: Append row to workflow summary table\n      id: append-results\n      shell: bash\n      run: |\n        echo \"pytest_results='${{ env.pytest_results }}'\"\n        pytest_results_count () { pattern=\"([0-9]+) $1\" && [[ ${{ env.pytest_results }} =~ $pattern ]] && echo \"${BASH_REMATCH[1]}\" || echo 0; }\n        echo \"pytest-results-row-${{ matrix.id }}=| \\\n        ${{ matrix.python-version }} | \\\n        ${RUNNER_OS} ${RUNNER_ARCH,,} | \\\n        ${{ matrix.backend-db }} | \\\n        $( pytest_results_count passed ) | \\\n        $( pytest_results_count failed ) | \\\n        $( pytest_results_count xpassed ) | \\\n        $( pytest_results_count xfailed ) | \\\n        $( pytest_results_count skipped ) | \\\n        $( pytest_results_count deselected ) | \\\n        $( pytest_results_count warning ) | \\\n        $( pytest_results_count error ) | \\\n        $( pattern='in ([0-9]+)\\.[0-9]+s' && [[ ${{ env.pytest_results }} =~ $pattern ]] && echo \"${BASH_REMATCH[1]}\" )s |\" >> $GITHUB_OUTPUT\n\n    - name: Upload coverage data\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage-data-${{ matrix.id }}\n        path: \".coverage.*\"\n\n    - name: Upload test logs\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: test-logs-${{ matrix.id }}\n        path: pytest.log\n\n  summary:\n    runs-on: ubuntu-latest\n    needs: tests\n    steps:\n    - name: Summarize workflow\n      run: |\n        echo '## Test results' >> ${GITHUB_STEP_SUMMARY}\n        echo '' >> ${GITHUB_STEP_SUMMARY}\n        echo '| PYTHON | OS     | DB     | PASSED | FAILED | XPASSED | XFAILED | SKIPPED | DESELECTED | WARNINGS | ERRORS | DURATION |' >> ${GITHUB_STEP_SUMMARY}\n        echo '|--------|--------|--------|--------|--------|---------|---------|---------|------------|----------|--------|----------|' >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-01 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-02 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-03 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-04 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-05 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-06 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-07 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-08 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-09 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-10 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-11 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-12 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-13 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-14 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-15 }}\" >> ${GITHUB_STEP_SUMMARY}\n        # echo \"${{ needs.tests.outputs.pytest-results-row-16 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-17 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-18 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-19 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"${{ needs.tests.outputs.pytest-results-row-20 }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo '' >> ${GITHUB_STEP_SUMMARY}\n        echo 'Please address any tests which have errored, failed, or xpassed, and any warnings emitted.' >> ${GITHUB_STEP_SUMMARY}\n\n  coverage:\n    runs-on: ubuntu-latest\n    needs: tests\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@v4.1.7\n\n    - name: Install Poetry\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/constraints.txt\n      run: |\n        pipx install poetry\n        poetry --version\n\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: '3.12'\n        architecture: x64\n        # Nox uses pip, so we cache with pip\n        cache: 'pip'\n        cache-dependency-path: 'poetry.lock'\n\n    - name: Download coverage data\n      uses: actions/download-artifact@v4\n      with:\n        pattern: coverage-data-*\n        merge-multiple: true\n\n    - name: Install Nox\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/constraints.txt\n      run: |\n        pipx install nox\n        pipx inject nox nox-poetry\n\n    - name: Combine coverage data and display human readable report\n      run: |\n        nox -rs coverage -- combine --debug=pathmap\n        nox -rs coverage -- report --show-missing --ignore-errors\n\n    - name: Create coverage report\n      run: |\n        nox -rs coverage -- xml --ignore-errors\n\n    - name: Upload coverage report\n      with:\n        fail_ci_if_error: true\n        files: ./coverage.xml\n        token: ${{ secrets.CODECOV_TOKEN }}\n      uses: codecov/codecov-action@v4.5.0\n\n  mypy:\n    name: \"Static type checking\"\n    runs-on: ubuntu-latest\n    env:\n      FORCE_COLOR: 1\n\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@v4.1.7\n\n    - name: Install Poetry\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/constraints.txt\n      run: |\n        pipx install poetry\n        poetry --version\n\n    - name: Setup Python 3.12\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: '3.12'\n        architecture: x64\n        # Nox uses pip, so we cache with pip\n        cache: 'pip'\n        cache-dependency-path: 'poetry.lock'\n\n    - name: Install Nox\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/constraints.txt\n      run: |\n        pipx install nox\n        pipx inject nox nox-poetry\n\n    - name: Run mypy\n      run: |\n        nox -rs mypy\n", "state": "active", "repository": "meltano/meltano"}
{"mined_at": "2024-07-15T16:12:24.532145", "created_at": "2022-06-08T02:07:59+02:00", "updated_at": "2022-06-08T08:38:37+02:00", "name": "Slash commands dispatcher", "path": ".github/workflows/slash_commands.yml", "contents": "name: Slash commands dispatcher\n\non:\n  issue_comment:\n    types: [created]\njobs:\n  publish_release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Slash Command Dispatch\n        uses: peter-evans/slash-command-dispatch@v4\n        with:\n          token: ${{ secrets.MELTYBOT_GITHUB_AUTH_TOKEN }}\n          issue-type: pull-request\n          permission:\n            write\n          commands: |\n            publish\n", "state": "active", "repository": "meltano/meltano"}
{"mined_at": "2024-07-15T16:12:25.593131", "created_at": "2022-06-08T15:47:24+02:00", "updated_at": "2022-06-08T18:33:42+02:00", "name": "Lint Snowplow Schemas", "path": ".github/workflows/lint_snowplow_schemas.yml", "contents": "name: Lint Snowplow Schemas\n\non:\n  pull_request:\n    paths:\n      - 'src/meltano/core/tracking/iglu-client-embedded/**'\n  push:\n    branches: [main]\n    paths:\n      - 'src/meltano/core/tracking/iglu-client-embedded/**'\n  workflow_dispatch:\n    inputs: {}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  iglulint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Iglu Schema Lint\n        uses: ./.github/actions/igluctl-lint\n        with:\n          path_to_schemas: './src/meltano/core/tracking/iglu-client-embedded/'\n", "state": "active", "repository": "meltano/meltano"}
{"mined_at": "2024-07-15T16:12:26.637490", "created_at": "2022-06-10T01:32:02+02:00", "updated_at": "2022-07-01T22:42:20+02:00", "name": "Build and Publish to PyPI", "path": ".github/workflows/build.yml", "contents": "name: Build and Publish to PyPI\n\non:\n  workflow_dispatch:\n    inputs: {}\n  release:\n    types: [published]\n\npermissions:\n  contents: write  # Needed to upload artifacts to the release\n  id-token: write  # Needed for OIDC PyPI publishing\n\njobs:\n  build:\n    name: Build artifacts\n    runs-on: ubuntu-latest\n    environment: publishing\n\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@v4.1.7\n\n    - name: Install Poetry\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/constraints.txt\n      run: |\n        pipx install poetry\n        poetry --version\n\n    - name: Set up Python\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: 3.9\n        architecture: x64\n        cache: 'poetry'\n\n    - name: Check version\n      if: ${{ github.event.release }}\n      run: |\n        version=$(poetry version | awk '{print $2}')\n        tag=$(echo \"${{ github.ref }}\" | awk '{split($0,p,\"/\"); print p[3]}')\n        if [ \"v$version\" != $tag ]; then echo \"Release tag ('$tag') and poetry version ('v$version') do not match!\"; exit 1; fi;\n\n    - name: Poetry install\n      # Required to run `alembic_freeze.py`\n      run: |\n        poetry install\n\n    - name: Freeze DB\n      run: |\n        poetry run scripts/alembic_freeze.py\n\n    - name: Release Marker\n      if: ${{ github.event.release }}\n      # The release marker differentiates installations 'in the wild' versus internal dev builds and tests\n      run: touch src/meltano/core/tracking/.release_marker\n\n    - name: Build distribution\n      run: |\n        poetry build --format sdist\n        poetry run pip wheel --no-deps . --wheel-dir dist/\n\n    - name: Upload artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: python-artifacts\n        path: 'dist/*'\n\n  pypi_release:\n    name: Publish to PyPI\n    needs: [build]\n    runs-on: ubuntu-latest\n    environment: publishing\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@v4.1.7\n\n    - name: Download artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: python-artifacts\n        path: dist/\n\n    - name: Verify artifacts\n      run: |\n        ls dist/\n\n    - name: Upload wheel to release\n      if: ${{ github.event.release }}\n      uses: svenstaro/upload-release-action@v2\n      with:\n        repo_token: ${{ secrets.GITHUB_TOKEN }}\n        file: dist/*.whl\n        tag: ${{ github.ref }}\n        overwrite: true\n        file_glob: true\n\n    - name: Publish\n      if: ${{ github.event.release }}\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n", "state": "active", "repository": "meltano/meltano"}
{"mined_at": "2024-07-15T16:12:27.715366", "created_at": "2022-06-10T21:22:10+02:00", "updated_at": "2022-06-10T23:52:34+02:00", "name": "Docker Publish", "path": ".github/workflows/docker_publish.yml", "contents": "name: Docker Publish\n\n# This workflow will build and publish all public Docker images to the configured registry.\n# Set the input `dry_run` to `false` to skip pushing images to the registry.\n\non:\n  schedule:\n  # Weekly on Sunday at 04:45 UTC\n  - cron: '45 4 * * 0'\n  workflow_dispatch:\n    inputs:\n      dry_run:\n        description: \"Dry run (skip push step)\"\n        type: boolean\n        required: true\n        default: true\n      registry:\n        description: \"Where to upload the images\"\n        required: true\n        type: choice\n        options:\n          - ghcr.io\n          - docker.io\n\njobs:\n  build_meltano_image:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      packages: write\n      security-events: write\n    env:\n      DEFAULT_PYTHON: \"3.9\"  # will be used in 'latest' images\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - name: Set the workflow inputs\n      # This step makes it so that the same workflow inputs can be accessed\n      # regardless of what event triggered it.\n      env:\n        DEFAULT_DRY_RUN: \"true\"\n        DEFAULT_REGISTRY: \"ghcr.io\"\n      run: |\n        # Boolean values don't actually work so cast to 'true' and 'false'\n        # https://github.com/actions/runner/issues/1483\n        echo \"dry_run=${{ format('{0}', github.event.inputs.dry_run) || env.DEFAULT_DRY_RUN }}\" >> $GITHUB_ENV\n        echo \"registry=${{ github.event.inputs.registry || env.DEFAULT_REGISTRY }}\" >> $GITHUB_ENV\n\n    - uses: actions/checkout@v4.1.7\n\n    - name: Get Meltano version\n      id: get-meltano-version\n      run: |\n        pipx install poetry\n        poetry version\n        poetry version --short\n        echo \"release-version=$(poetry version --short)\" >> $GITHUB_OUTPUT\n\n    - name: Generate tags\n      id: generate-tags\n      run: >\n        python scripts/generate_docker_tags.py\n        --git-sha ${{ github.sha }}\n        -v ${{ steps.get-meltano-version.outputs.release-version }}\n        -p ${{ matrix.python-version }}\n        -d ${{ env.DEFAULT_PYTHON }}\n        -r ${{ env.registry }}\n        > tags\n\n    - name: Assemble image tags\n      id: assemble-tags\n      run: |\n        echo \"If this is not a dry run, the image will be published with the following tags:\"\n        cat tags\n\n        echo 'IMAGE_TAGS<<EOF' >> $GITHUB_ENV\n        echo \"$(cat tags)\" >> $GITHUB_ENV\n        echo 'EOF' >> $GITHUB_ENV\n\n    - name: Set registry username and password\n      id: user-and-pass\n      run: |\n        if [[ \"${{ env.registry }}\" == \"ghcr.io\" ]]; then\n          echo \"username=${{ github.actor }}\" >> $GITHUB_OUTPUT\n          echo \"password=${{ secrets.GITHUB_TOKEN }}\" >> $GITHUB_OUTPUT\n        fi\n        if [[ \"${{ env.registry }}\" == \"docker.io\" ]]; then\n          echo \"username=meltano\" >> $GITHUB_OUTPUT\n          echo \"password=${{ secrets.DOCKERHUB_TOKEN }}\" >> $GITHUB_OUTPUT\n        fi\n\n    - name: Build, scan, then conditionally push the Docker image for a given Python version\n      uses: ./.github/actions/docker-build-scan-push\n      with:\n        push: ${{ env.dry_run == 'false' }}\n        token: ${{ secrets.GITHUB_TOKEN }}\n        tags: ${{ env.IMAGE_TAGS }}\n        registry: ${{ env.registry }}\n        username: ${{ steps.user-and-pass.outputs.username }}\n        password: ${{ steps.user-and-pass.outputs.password }}\n        python-version: ${{ matrix.python-version }}\n        meltano-version: ${{ steps.get-meltano-version.outputs.release-version }}\n", "state": "active", "repository": "meltano/meltano"}
{"mined_at": "2024-07-15T16:12:28.844304", "created_at": "2022-06-15T05:10:30+02:00", "updated_at": "2022-06-15T05:10:30+02:00", "name": "Version bump", "path": ".github/workflows/version_bump.yml", "contents": "name: Version bump\n\non:\n  workflow_dispatch:\n    inputs:\n      bump:\n        description: \"Version bump type\"\n        required: true\n        type: choice\n        default: auto\n        options:\n        - auto\n        - patch\n        - minor\n        - major\n      prerelease:\n        description: \"Increase to this prerelease version\"\n        required: false\n        type: choice\n        default: none\n        options:\n        - none\n        - alpha\n        - beta\n        - rc\n\njobs:\n  create_release_branch_pr:\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n    permissions:\n      contents: write       # to create a github release\n      pull-requests: write  # to create and update PRs\n\n    steps:\n    - uses: actions/checkout@v4.1.7\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: \"3.12\"\n        architecture: x64\n\n    - name: Bump version\n      id: cz-bump\n      uses: commitizen-tools/commitizen-action@0.21.0\n      with:\n        increment: ${{ github.event.inputs.bump != 'auto' && github.event.inputs.bump || '' }}\n        prerelease: ${{ github.event.inputs.prerelease != 'none' && github.event.inputs.prerelease || '' }}\n        commit: \"false\"\n        push: \"false\"\n        changelog: ${{ github.event.inputs.prerelease == 'none' && 'true' || 'false' }}\n        github_token: ${{ secrets.MELTYBOT_GITHUB_AUTH_TOKEN }}\n        extra_requirements: 'git+https://github.com/meltano/commitizen-version-bump@main'\n        changelog_increment_filename: ${{ github.event.inputs.prerelease == 'none' && '_changelog_fragment.md' || '' }}\n\n    - name: Draft Release\n      id: draft-release\n      uses: softprops/action-gh-release@v2\n      with:\n        draft: true\n        body_path: ${{ github.event.inputs.prerelease == 'none' && '_changelog_fragment.md' || '' }}\n        tag_name: v${{ steps.cz-bump.outputs.version }}\n        prerelease: ${{ github.event.inputs.prerelease != 'none' }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@v6\n      id: create-pull-request\n      with:\n        # https://github.com/peter-evans/create-pull-request\n        token: ${{ secrets.MELTYBOT_GITHUB_AUTH_TOKEN }}\n        commit-message: \"chore: Bump package version\"\n        title: \"chore: Release v${{ steps.cz-bump.outputs.version }}\"\n        body: |\n          Bump changelog for release v${{ steps.cz-bump.outputs.version }}\n        branch: release/v${{ steps.cz-bump.outputs.version }}\n        base: main\n        labels: release\n", "state": "active", "repository": "meltano/meltano"}
{"mined_at": "2024-07-15T16:12:30.172714", "created_at": "2022-06-28T00:48:50+02:00", "updated_at": "2022-07-01T20:34:46+02:00", "name": "Integration Tests", "path": ".github/workflows/integration_tests.yml", "contents": "name: Integration Tests\n\non:\n  pull_request:\n    paths:\n      - src/**\n      - integration/example-library/**\n      - noxfile.py\n      - pyproject.toml\n      - .github/workflows/integration_tests.yml\n      - .github/workflows/resources/constraints.txt\n  push:\n    branches: [main]\n    paths:\n      - src/**\n      - integration/example-library/**\n      - noxfile.py\n      - pyproject.toml\n      - .github/workflows/integration_tests.yml\n      - .github/workflows/resources/constraints.txt\n  workflow_dispatch:\n    inputs: {}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  validate:\n    strategy:\n      matrix:\n        include:\n        - { integration_test: \"meltano-basics\", needs_postgres: false}\n        - { integration_test: \"meltano-run\", needs_postgres: true}\n        - { integration_test: \"meltano-objects\", needs_postgres: false}\n        - { integration_test: \"meltano-migrations\", needs_postgres: false}\n        - { integration_test: \"meltano-state-s3\", needs_postgres: false}\n        - { integration_test: \"meltano-state-local\", needs_postgres: false}\n        - { integration_test: \"meltano-config\", needs_postgres: false}\n        - { integration_test: \"meltano-annotations\", needs_postgres: false}\n        - { integration_test: \"meltano-manifest\", needs_postgres: false}\n        - { integration_test: \"meltano-run-merge-states\", needs_postgres: false}\n        - { integration_test: \"meltano-expand-envvars-in-array\", needs_postgres: false}\n      fail-fast: false\n\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@v4.1.7\n\n    - name: Install Poetry\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/constraints.txt\n      run: |\n        pipx install poetry\n        poetry --version\n\n    - name: Setup Python 3.12\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: '3.12'\n        architecture: x64\n        cache: 'poetry'\n\n    - name: Upgrade pip\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/resources/constraints.txt\n      run: |\n        pip install pip\n        pip --version\n\n    - name: Install Dependencies\n      run: |\n        poetry env use \"3.12\"\n        poetry install --extras \"s3\"\n\n    - name: Start Postgres Container\n      if: always() && (matrix.needs_postgres == true)\n      run: >\n        docker run -d\n        -p \"5432:5432\"\n        -e \"POSTGRES_PASSWORD=postgres\"\n        -e \"POSTGRES_DB=warehouse\"\n        --name postgres\n        --health-cmd \"pg_isready -d postgres -U postgres\"\n        --health-interval 10s\n        --health-timeout 5s\n        --health-retries 5\n        postgres:11\n\n    - name: Run integration tests\n      run: |\n        poetry env use \"3.12\"\n        poetry run bash integration/validate.sh ${{ matrix.integration_test }}\n", "state": "active", "repository": "meltano/meltano"}
{"mined_at": "2024-07-15T16:12:31.294052", "created_at": "2022-07-12T04:54:32+02:00", "updated_at": "2022-07-22T20:55:51+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n    paths:\n      - .github/workflows/codeql-analysis.yml\n      - '**.py'  # Any Python file\n      - '**.js'  # Any JavaScript file\n  pull_request:\n    paths:\n      - .github/workflows/codeql-analysis.yml\n      - '**.py'  # Any Python file\n      - '**.js'  # Any JavaScript file\n  schedule:\n    - cron: '37 10 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4.1.7\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "meltano/meltano"}
{"mined_at": "2024-07-15T16:12:32.415107", "created_at": "2022-07-12T05:01:18+02:00", "updated_at": "2022-07-13T15:42:03+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "name: Dependency Review\n\non:\n  schedule:\n    - cron: '12 12 * * *'\n  pull_request_target:\n    paths:\n      - '**.lock'\n  workflow_dispatch:\n    inputs: {}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: GitHub dependency vulnerability check\n        if: ${{ github.event_name == 'pull_request_target' }}\n        uses: actions/dependency-review-action@v4.3.3\n", "state": "active", "repository": "meltano/meltano"}
{"mined_at": "2024-07-15T16:12:33.656440", "created_at": "2023-02-01T11:10:51+01:00", "updated_at": "2023-02-01T11:10:51+01:00", "name": "Build PR Image", "path": ".github/workflows/uffizzi-build.yml", "contents": null, "state": "active", "repository": "meltano/meltano"}
{"mined_at": "2024-07-15T16:12:34.744642", "created_at": "2024-07-15T14:09:18+02:00", "updated_at": "2024-07-15T14:09:18+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "meltano/meltano"}
{"mined_at": "2024-07-15T16:12:36.930152", "created_at": "2021-01-13T00:28:11+01:00", "updated_at": "2021-01-13T00:28:11+01:00", "name": "Build Docs", "path": ".github/workflows/build_docs.yml", "contents": " name: Build Docs\n \n on:\n   push:\n     # Sequence of patterns matched against refs/tags\n     tags:\n       - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10\n   workflow_dispatch:\n     inputs:\n       version:\n         description: Manual Doc Build Reason\n         default: test\n         required: false\n jobs:\n   docs:\n     name: build & push docs\n     runs-on: ${{ matrix.os }}\n     timeout-minutes: 90\n     strategy:\n       matrix:\n         os: ['ubuntu-latest']\n         environment-file: [ci/312-latest.yaml]\n         experimental: [false]\n     defaults:\n       run:\n         shell: bash -l {0}\n     \n     steps:\n       - name: checkout repo\n         uses: actions/checkout@v4\n         with:\n           fetch-depth: 0 # Fetch all history for all branches and tags.\n       \n       - name: setup micromamba\n         uses: mamba-org/setup-micromamba@v1\n         with:\n           environment-file: ${{ matrix.environment-file }}\n           micromamba-version: 'latest'\n       \n       - name: install pulp via pip\n         run: pip install pulp\n\n       - name: install package\n         run: pip install .\n       \n       - name: make docs\n         run: cd docs; make html\n       \n       - name: commit docs\n         run: |\n           git clone https://github.com/ammaraskar/sphinx-action-test.git --branch gh-pages --single-branch gh-pages\n           cp -r docs/_build/html/* gh-pages/\n           cd gh-pages\n           git config --local user.email \"action@github.com\"\n           git config --local user.name \"GitHub Action\"\n           git add .\n           git commit -m \"Update documentation\" -a || true\n           # The above command will fail if no changes were present,\n           # so we ignore the return code.\n       \n       - name: push to gh-pages\n         uses: ad-m/github-push-action@master\n         with:\n            branch: gh-pages\n            directory: gh-pages\n            github_token: ${{ secrets.GITHUB_TOKEN }}\n            force: true\n", "state": "active", "repository": "pysal/spopt"}
{"mined_at": "2024-07-15T16:12:38.052165", "created_at": "2020-12-31T00:41:22+01:00", "updated_at": "2020-12-31T00:41:22+01:00", "name": "Release Package", "path": ".github/workflows/release_and_publish.yml", "contents": "name: Release Package\n\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10\n  workflow_dispatch:\n    inputs:\n      version:\n        description: Manual Release\n        default: test\n        required: false\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Checkout repo\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0 # Fetch all history for all branches and tags.\n    \n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    \n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade build twine\n        python -m build\n        twine check --strict dist/*\n    \n    - name: Create Release Notes\n      uses: actions/github-script@v7\n      with:\n        github-token: ${{secrets.GITHUB_TOKEN}}\n        script: |\n          await github.request(`POST /repos/${{ github.repository }}/releases`, {\n              tag_name: \"${{ github.ref }}\",\n              generate_release_notes: true\n          });\n   \n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "pysal/spopt"}
{"mined_at": "2024-07-15T16:12:39.108423", "created_at": "2022-11-03T16:32:14+01:00", "updated_at": "2022-11-08T02:58:11+01:00", "name": "Continuous Integration", "path": ".github/workflows/testing.yml", "contents": " name: Continuous Integration\n \n on:\n   push:\n     branches:\n     - '*'\n   pull_request:\n     branches:\n     - '*'\n   schedule:\n     - cron: '59 23 * * *'\n   workflow_dispatch:\n    inputs:\n      version:\n        description: Manual CI Run\n        default: test\n        required: false\n\n jobs:\n   tests:\n     name: ${{ matrix.os }}, ${{ matrix.environment-file }}\n     runs-on: ${{ matrix.os }}\n     timeout-minutes: 30\n     strategy:\n       matrix:\n         os: [ubuntu-latest]\n         environment-file: [\n            ci/310-oldest.yaml,\n            ci/310-latest.yaml,\n            ci/311-latest.yaml,\n            ci/312-latest.yaml,\n            ci/312-dev.yaml,\n         ]\n         include:\n           - environment-file: ci/312-latest.yaml\n             os: macos-latest\n           - environment-file: ci/312-latest.yaml\n             os: macos-14 # Apple Silicon\n           - environment-file: ci/312-latest.yaml\n             os: windows-latest\n       fail-fast: false\n\n     defaults:\n       run:\n         shell: bash -l {0}\n\n     steps:\n       - name: checkout repo\n         uses: actions/checkout@v4\n         with:\n           fetch-depth: 0 # Fetch all history for all branches and tags.\n       \n       - name: setup micromamba\n         uses: mamba-org/setup-micromamba@v1\n         with:\n           environment-file: ${{ matrix.environment-file }}\n           micromamba-version: 'latest'\n        \n       ##############################################################################\n       #- name: install pulp via pip\n       #  run: |\n       #    pip install pulp\n       #    pulptest\n       ##############################################################################\n       \n       - name: environment info\n         run: |\n           micromamba info\n           micromamba list\n       \n       - name: spatial versions\n         run: 'python -c \"import geopandas; geopandas.show_versions();\"'\n       \n       - name: run tests\n         run: |\n           pytest spopt \\\n           -v \\\n           -r a \\\n           -n logical \\\n           --color yes \\\n           --cov spopt \\\n           --cov-append \\\n           --cov-report term-missing \\\n           --cov-report xml .\n       \n       - name: codecov\n         uses: codecov/codecov-action@v4\n", "state": "active", "repository": "pysal/spopt"}
{"mined_at": "2024-07-15T16:12:40.117765", "created_at": "2022-03-18T17:05:57+01:00", "updated_at": "2022-03-18T17:05:57+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pysal/spopt"}
{"mined_at": "2024-07-15T16:12:42.461968", "created_at": "2022-07-13T20:40:35+02:00", "updated_at": "2022-07-13T21:02:10+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n    paths:\n      - .github/workflows/codeql-analysis.yml\n      - '**.py'  # Any Python file\n  pull_request:\n    paths:\n      - .github/workflows/codeql-analysis.yml\n      - '**.py'  # Any Python file\n  schedule:\n    - cron: '37 10 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "meltano/sdk"}
{"mined_at": "2024-07-15T16:12:43.688707", "created_at": "2023-10-11T01:38:11+02:00", "updated_at": "2023-10-16T20:24:18+02:00", "name": "codspeed", "path": ".github/workflows/codspeed.yml", "contents": "name: codspeed\n\non:\n  push:\n    branches:\n      - \"main\"\n    paths:\n      - \"singer_sdk/**\"\n      - \"tests/**\"\n      - \"noxfile.py\"\n      - \"poetry.lock\"\n      - \"pyproject.toml\"\n      - \".github/workflows/codspeed.yml\"\n  pull_request:\n    paths:\n      - \"singer_sdk/**\"\n      - \"tests/**\"\n      - \"noxfile.py\"\n      - \"poetry.lock\"\n      - \"pyproject.toml\"\n      - \".github/workflows/codspeed.yml\"\n  # `workflow_dispatch` allows CodSpeed to trigger backtest\n  # performance analysis in order to generate initial data.\n  workflow_dispatch:\n\njobs:\n  benchmarks:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n        architecture: x64\n\n    - name: Install poetry\n      run: |\n        curl -fsS https://install.python-poetry.org | python - -y\n\n    - name: Configure poetry\n      run: poetry config virtualenvs.create false\n\n    - name: Install project\n      run: >\n        poetry install\n        -vvv\n        --with dev\n        --with benchmark\n        --all-extras\n\n    - uses: CodSpeedHQ/action@v2\n      with:\n        token: ${{ secrets.CODSPEED_TOKEN }}\n        run: pytest tests/ --codspeed\n", "state": "active", "repository": "meltano/sdk"}
{"mined_at": "2024-07-15T16:12:44.815782", "created_at": "2023-02-15T01:03:25+01:00", "updated_at": "2023-02-15T01:03:25+01:00", "name": "E2E Cookiecutters", "path": ".github/workflows/cookiecutter-e2e.yml", "contents": "name: E2E Cookiecutters\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n    paths:\n    - \"cookiecutter/**\"\n    - \"e2e-tests/cookiecutters/**\"\n    - \".github/workflows/cookiecutter-e2e.yml\"\n  push:\n    branches: [main]\n    paths:\n    - \"cookiecutter/**\"\n    - \"e2e-tests/cookiecutters/**\"\n    - \".github/workflows/cookiecutter-e2e.yml\"\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: \"1\"\n\njobs:\n  lint:\n    name: Cookiecutter E2E Python ${{ matrix.python-version }} / ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        include:\n          - { python-version: \"3.12\",  os: \"ubuntu-latest\" }\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Upgrade pip\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        pip install pip\n        pip --version\n\n    - name: Install Poetry\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        pipx install poetry\n        pipx inject poetry poetry-plugin-export\n        poetry --version\n        poetry self show plugins\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: x64\n        cache: 'pip'\n        cache-dependency-path: 'poetry.lock'\n\n    - name: Install pre-commit\n      run: |\n        pipx install pre-commit\n        pre-commit --version\n\n    - name: Install Nox\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        pipx install nox\n        pipx inject nox nox-poetry\n        nox --version\n\n    - name: Run Nox\n      run: |\n        nox --python=${{ matrix.python-version }} --session=test_cookiecutter\n\n    - uses: actions/upload-artifact@v4\n      if: always()\n      with:\n        name: cookiecutter-${{ matrix.os }}-py${{ matrix.python-version }}\n        path: |\n          /tmp/tap-*\n          /tmp/target-*\n          /tmp/mapper-*\n          !/tmp/tap-*/.mypy_cache/\n          !/tmp/target-*/.mypy_cache/\n          !/tmp/mapper-*/.mypy_cache/\n          !/tmp/tap-*/.tox/\n          !/tmp/target-*/.tox/\n          !/tmp/mapper-*/.tox/\n", "state": "active", "repository": "meltano/sdk"}
{"mined_at": "2024-07-15T16:12:45.943131", "created_at": "2022-07-13T10:22:47+02:00", "updated_at": "2022-07-13T15:41:10+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "name: Dependency Review\n\non:\n  pull_request_target: {}\n  workflow_dispatch:\n    inputs: {}\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/dependency-review-action@v4\n        if: ${{ github.event_name == 'pull_request_target' }}\n        with:\n          fail-on-severity: high\n", "state": "active", "repository": "meltano/sdk"}
{"mined_at": "2024-07-15T16:12:47.170141", "created_at": "2022-09-01T05:28:56+02:00", "updated_at": "2022-09-01T05:28:56+02:00", "name": "Read the Docs Pull Request Preview", "path": ".github/workflows/pr-preview-links.yml", "contents": "name: Read the Docs Pull Request Preview\n\non:\n  pull_request_target:\n    types:\n    - opened\n\npermissions:\n  pull-requests: write\n\njobs:\n  pr-preview-links:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: readthedocs/actions/preview@v1\n      with:\n        project-slug: \"meltano-sdk\"\n", "state": "active", "repository": "meltano/sdk"}
{"mined_at": "2024-07-15T16:12:48.399128", "created_at": "2022-06-28T01:55:25+02:00", "updated_at": "2022-06-28T01:55:25+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - uses: hynek/build-and-inspect-python-package@v2\n\n  publish:\n    name: Publish to PyPI\n    runs-on: ubuntu-latest\n    needs: [build]\n    environment:\n      name: publishing\n      url: https://pypi.org/p/singer-sdk\n    if: startsWith(github.ref, 'refs/tags/')\n    permissions:\n      id-token: write  # Needed for OIDC PyPI publishing\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: Packages\n        path: dist\n    - name: Publish\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n\n  upload-to-release:\n    name: Upload files to release\n    runs-on: ubuntu-latest\n    needs: [build]\n    if: startsWith(github.ref, 'refs/tags/')\n    permissions:\n      contents: write     # Needed for uploading files to the release\n      id-token: write     # Needed for attestations\n      attestations: write # Needed for attestations\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: Packages\n        path: dist\n    - name: Upload wheel and sdist to release\n      uses: svenstaro/upload-release-action@v2\n      with:\n        file: dist/singer_sdk*\n        tag: ${{ github.ref }}\n        overwrite: true\n        file_glob: true\n    - uses: actions/attest-build-provenance@v1\n      id: attest\n      with:\n        subject-path: \"./dist/singer_sdk*\"\n    - name: Upload attestations to release\n      uses: svenstaro/upload-release-action@v2\n      with:\n        file: ${{ steps.attest.outputs.bundle-path }}\n        tag: ${{ github.ref }}\n        overwrite: true\n        asset_name: attestations.intoto.jsonl\n", "state": "active", "repository": "meltano/sdk"}
{"mined_at": "2024-07-15T16:12:49.554132", "created_at": "2022-05-30T17:16:59+02:00", "updated_at": "2022-06-01T23:26:36+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n    paths:\n      - \"cookiecutter/**\"\n      - \"samples/**\"\n      - \"singer_sdk/**\"\n      - \"tests/**\"\n      - \"noxfile.py\"\n      - \"poetry.lock\"\n      - \"pyproject.toml\"\n      - \".github/workflows/test.yml\"\n      - \".github/workflows/constraints.txt\"\n  push:\n    branches: [main]\n    paths:\n      - \"cookiecutter/**\"\n      - \"samples/**\"\n      - \"singer_sdk/**\"\n      - \"tests/**\"\n      - \"noxfile.py\"\n      - \"poetry.lock\"\n      - \"pyproject.toml\"\n      - \".github/workflows/test.yml\"\n      - \".github/workflows/constraints.txt\"\n  workflow_dispatch:\n    inputs: {}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: \"1\"\n\njobs:\n  tests:\n    name: \"Test on ${{ matrix.python-version }} (${{ matrix.session }}) / ${{ matrix.os }} / SQLAlchemy: ${{ matrix.sqlalchemy }}\"\n    runs-on: ${{ matrix.os }}\n    continue-on-error: true\n    env:\n      NOXPYTHON: ${{ matrix.python-version }}\n      NOXSESSION: ${{ matrix.session }}\n    strategy:\n      fail-fast: false\n      matrix:\n        session: [tests]\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        sqlalchemy: [\"2\"]\n        include:\n        - { session: tests,   python-version: \"3.12\", os: \"ubuntu-latest\", sqlalchemy: \"1\" }\n        - { session: doctest, python-version: \"3.12\", os: \"ubuntu-latest\", sqlalchemy: \"2\" }\n        - { session: mypy,    python-version: \"3.12\",  os: \"ubuntu-latest\", sqlalchemy: \"2\" }\n        - { session: deps,    python-version: \"3.12\",  os: \"ubuntu-latest\", sqlalchemy: \"2\" }\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Install Poetry\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        pipx install poetry\n        pipx inject poetry poetry-plugin-export\n        pipx inject poetry poetry-dynamic-versioning[plugin]\n        poetry --version\n        poetry self show plugins\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Upgrade pip\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        pip install pip\n        pip --version\n\n    - name: Install Nox\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        pipx install 'nox[uv]'\n        pipx inject nox nox-poetry\n        nox --version\n\n    - name: Run Nox\n      env:\n        SQLALCHEMY_VERSION: ${{ matrix.sqlalchemy }}\n      run: |\n        nox --verbose\n\n    - uses: actions/upload-artifact@v4\n      if: always() && (matrix.session == 'tests')\n      with:\n        name: coverage-data-nox_${{ matrix.session }}-${{ matrix.os }}-py${{ matrix.python-version }}_sqlalchemy_${{ matrix.sqlalchemy }}\n        path: \".coverage.*\"\n\n  tests-external:\n    name: External Tests\n    runs-on: ubuntu-latest\n    if: ${{ !github.event.pull_request.head.repo.fork }}\n    env:\n      NOXPYTHON: \"3.12\"\n      NOXSESSION: tests\n      SAMPLE_TAP_GITLAB_AUTH_TOKEN: ${{ secrets.SAMPLE_TAP_GITLAB_AUTH_TOKEN }}\n      SAMPLE_TAP_GITLAB_GROUP_IDS: ${{ secrets.SAMPLE_TAP_GITLAB_GROUP_IDS }}\n      SAMPLE_TAP_GITLAB_PROJECT_IDS: ${{ secrets.SAMPLE_TAP_GITLAB_PROJECT_IDS }}\n      SAMPLE_TAP_GITLAB_START_DATE: \"2022-01-01T00:00:00Z\"\n      SAMPLE_TAP_GOOGLE_ANALYTICS_CLIENT_EMAIL: ${{ secrets.SAMPLE_TAP_GOOGLE_ANALYTICS_CLIENT_EMAIL }}\n      SAMPLE_TAP_GOOGLE_ANALYTICS_PRIVATE_KEY: ${{ secrets.SAMPLE_TAP_GOOGLE_ANALYTICS_PRIVATE_KEY }}\n      SAMPLE_TAP_GOOGLE_ANALYTICS_VIEW_ID: ${{ secrets.SAMPLE_TAP_GOOGLE_ANALYTICS_VIEW_ID }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Install Poetry\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        pipx install poetry\n        pipx inject poetry poetry-plugin-export\n        pipx inject poetry poetry-dynamic-versioning[plugin]\n        poetry --version\n        poetry self show plugins\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.NOXPYTHON }}\n\n    - name: Upgrade pip\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        pip install pip\n        pip --version\n\n    - name: Install Nox\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        pipx install 'nox[uv]'\n        pipx inject nox nox-poetry\n        nox --version\n\n    - name: Run Nox\n      run: |\n        nox -- -m \"external\"\n\n  coverage:\n    name: Coverage\n    runs-on: ubuntu-latest\n    needs: tests\n    env:\n      NOXSESSION: coverage\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Install Poetry\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        pipx install poetry\n        pipx inject poetry poetry-plugin-export\n        poetry --version\n        poetry self show plugins\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Upgrade pip\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        pip install pip\n        pip --version\n\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: coverage-data-*\n        merge-multiple: true\n\n    - name: Install Nox\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        pipx install 'nox[uv]'\n        pipx inject nox nox-poetry\n        nox --version\n\n    - run: nox --install-only\n\n    - name: Combine coverage data and display human readable report\n      run: |\n        nox -r --no-install -- combine --debug=pathmap\n        nox -r --no-install -- report --show-missing --ignore-errors\n\n    - name: Create coverage report\n      run: |\n        nox -r --no-install -- xml\n\n    - uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: true\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "meltano/sdk"}
{"mined_at": "2024-07-15T16:12:50.652145", "created_at": "2022-06-28T01:55:25+02:00", "updated_at": "2022-06-28T01:55:25+02:00", "name": "Version bump", "path": ".github/workflows/version_bump.yml", "contents": "name: Version bump\n\non:\n  workflow_dispatch:\n    inputs:\n      dry_run:\n        description: \"Run the action without creating a PR or release draft\"\n        required: true\n        type: boolean\n      bump:\n        description: \"Version bump type\"\n        required: true\n        type: choice\n        default: auto\n        options:\n        - auto\n        - patch\n        - minor\n        - major\n      prerelease:\n        description: \"Increase to this prerelease version\"\n        required: false\n        type: choice\n        default: none\n        options:\n        - none\n        - alpha\n        - beta\n        - rc\n\njobs:\n  version_bump:\n\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n    permissions:\n      contents: write       # to create a github release\n      pull-requests: write  # to create and update PRs\n      discussions: write    # to create a discussion\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n        architecture: x64\n\n    - name: Bump version\n      id: cz-bump\n      uses: commitizen-tools/commitizen-action@0.21.0\n      with:\n        increment: ${{ github.event.inputs.bump != 'auto' && github.event.inputs.bump || '' }}\n        prerelease: ${{ github.event.inputs.prerelease != 'none' && github.event.inputs.prerelease || '' }}\n        commit: \"false\"\n        push: \"false\"\n        changelog: \"true\"\n        github_token: ${{ secrets.MELTYBOT_GITHUB_AUTH_TOKEN }}\n        extra_requirements: 'git+https://github.com/meltano/commitizen-version-bump@main'\n        changelog_increment_filename: _changelog_fragment.md\n\n    - name: Add job summary\n      run: |\n        cat _changelog_fragment.md >> $GITHUB_STEP_SUMMARY\n\n    - name: Draft Release\n      if: ${{ github.event.inputs.dry_run == 'false' }}\n      id: draft-release\n      uses: softprops/action-gh-release@v2\n      with:\n        draft: true\n        body_path: _changelog_fragment.md\n        tag_name: v${{ steps.cz-bump.outputs.version }}\n        prerelease: ${{ github.event.inputs.prerelease != 'none' }}\n        token: ${{ secrets.MELTYBOT_GITHUB_AUTH_TOKEN }}\n        discussion_category_name: ${{ github.event.inputs.prerelease && 'announcements' || '' }}\n\n    - name: Set repo file permissions\n      run: |\n        sudo chown -R $USER:$USER .git/objects\n\n    - name: Create Pull Request\n      if: ${{ github.event.inputs.dry_run == 'false' }}\n      uses: peter-evans/create-pull-request@v6\n      id: create-pull-request\n      with:\n        token: ${{ secrets.MELTYBOT_GITHUB_AUTH_TOKEN }}\n        commit-message: \"chore: Bump package version\"\n        title: \"chore: Release v${{ steps.cz-bump.outputs.version }}\"\n        body: |\n          Prepare MeltanoSDK `v${{ steps.cz-bump.outputs.version }}` for release.\n\n          Checklist:\n\n          - [ ] Check that the right version is set in all the files.\n          - [ ] Groom the changelog for wording or missing entries.\n          - [ ] Merge this PR once everything looks good.\n\n          [Release Draft](${{ steps.draft-release.outputs.url }})\n        branch: release/v${{ steps.cz-bump.outputs.version }}\n        base: main\n        labels: release\n        assignees: \"${{ github.actor }}\"\n", "state": "active", "repository": "meltano/sdk"}
{"mined_at": "2024-07-15T16:12:51.715996", "created_at": "2024-07-15T14:26:45+02:00", "updated_at": "2024-07-15T14:26:45+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "meltano/sdk"}
{"mined_at": "2024-07-15T16:12:53.928441", "created_at": "2022-04-20T23:31:06+02:00", "updated_at": "2022-04-29T14:01:22+02:00", "name": "Build Gallery", "path": ".github/workflows/build_docs_gallery.yml", "contents": "name: Build Gallery\n\non:\n   pull_request:\n\njobs:\n  Test-MSS-docs:\n    runs-on: ubuntu-latest\n\n    container:\n      image: openmss/testing-develop\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Create gallery\n      timeout-minutes: 5\n      run: |\n        cd docs\n        mamba run --no-capture-output -n mssenv python conf.py\n", "state": "active", "repository": "open-mss/mss"}
{"mined_at": "2024-07-15T16:12:55.159725", "created_at": "2024-04-22T10:35:29+02:00", "updated_at": "2024-05-13T09:51:47+02:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non:\n  push:\n    branches:\n    - develop\n    - stable\n    - 'GSOC**'\n  pull_request:\n    branches:\n    - develop\n    - stable\n    - 'GSOC**'\n\njobs:\n  flake8:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Lint with flake8\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 flake8-builtins\n        flake8 --count --statistics mslib tests\n\n  no-crlf-in-git:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - uses: actions/checkout@v4\n    - name: Check for CRLF in the repository\n      run: |\n        files_with_crlf=\"$(git ls-files --eol | awk '$1 ~ \"crlf\"')\"\n        echo \"$files_with_crlf\"\n        [ \"$files_with_crlf\" == \"\" ] || exit 1\n\n  no-whitespace-issues-in-git:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - uses: actions/checkout@v4\n    - name: Check for whitespace issues in the repository\n      # The two example.txt files need to be excluded because whitespace at EOL is part\n      # of their format and they fail to parse otherwise.\n      # The leftover conflict marker warning is ignored for all rst files because\n      # section headings consisting of 7 \"=\" characters are mistaken to be part of a\n      # conflict marker.\n      run: |\n        issues=\"$(\n          git diff --check $(git hash-object -t tree /dev/null) HEAD :^tests/data/example.txt :^docs/samples/flight-tracks/example.txt |\n            { grep -v '^.*\\.rst:.*leftover conflict marker$' || true; }\n        )\"\n        echo \"$issues\"\n        [ \"$issues\" == \"\" ] || exit 1\n", "state": "active", "repository": "open-mss/mss"}
{"mined_at": "2024-07-15T16:12:56.270848", "created_at": "2024-02-15T12:48:33+01:00", "updated_at": "2024-03-21T14:25:40+01:00", "name": "Test MSS", "path": ".github/workflows/testing-all-oses.yml", "contents": "name: Test MSS\n\non:\n  push:\n    branches:\n      - develop\n      - stable\n      - 'GSOC**'\n  pull_request:\n    branches:\n      - develop\n      - stable\n      - 'GSOC**'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"macos-13\", \"macos-14\", \"ubuntu-latest\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Build requirements.txt file\n      run: |\n        sed -n '/^requirements:/,/^test:/p' localbuild/meta.yaml |\n          sed -e \"s/.*- //\" |\n          sed -e \"s/menuinst.*//\" |\n          sed -e \"s/.*://\" > requirements.tmp.txt\n        cat requirements.d/development.txt >> requirements.tmp.txt\n        echo \"pytest-randomly\" >> requirements.tmp.txt\n        sed -e '/^$/d' -e '/^#.*$/d' requirements.tmp.txt > requirements.txt\n        rm requirements.tmp.txt\n        cat requirements.txt\n    - name: Get current year and calendar week\n      id: year-and-week\n      run: echo \"year-and-week=$(date +%Y-%V)\" >> \"$GITHUB_OUTPUT\"\n    - uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-file: requirements.txt\n        environment-name: ci\n        cache-environment: true\n        # Set the cache key in a way that the cache is invalidated every week on monday\n        cache-environment-key: environment-${{ steps.year-and-week.outputs.year-and-week }}\n    - name: Run tests\n      timeout-minutes: 20\n      # The ignored files can somehow cause the test suite to timeout.\n      # I have no idea yet on why this happens and how to fix it.\n      # Even a module level skip is not enough, they need to be completely ignored.\n      # TODO: fix those tests and drop the ignores\n      run: micromamba run -n ci env QT_QPA_PLATFORM=offscreen pytest -v -n logical --durations=20 --cov=mslib\n        --ignore=tests/_test_msui/test_sideview.py --ignore=tests/_test_msui/test_topview.py --ignore=tests/_test_msui/test_wms_control.py\n        tests\n", "state": "active", "repository": "open-mss/mss"}
{"mined_at": "2024-07-15T16:12:57.410326", "created_at": "2022-05-12T15:24:58+02:00", "updated_at": "2023-08-31T09:31:04+02:00", "name": "test develop", "path": ".github/workflows/testing-develop.yml", "contents": "name: test develop\n\non:\n  push:\n    branches:\n    - develop\n  pull_request:\n    branches:\n    - develop\n  workflow_dispatch:\n\njobs:\n  test-develop:\n    uses:\n      ./.github/workflows/testing.yml\n    with:\n      image_suffix: develop\n    secrets:\n      PAT: ${{ secrets.PAT }}\n", "state": "active", "repository": "open-mss/mss"}
{"mined_at": "2024-07-15T16:12:58.540455", "created_at": "2024-04-23T17:33:16+02:00", "updated_at": "2024-04-23T17:33:16+02:00", "name": "test GSoC", "path": ".github/workflows/testing-gsoc.yml", "contents": "name: test GSoC\n\non:\n  push:\n    branches:\n    - 'GSOC**'\n  pull_request:\n    branches:\n    - 'GSOC**'\n\njobs:\n  test-gsoc:\n    uses:\n      ./.github/workflows/testing.yml\n    with:\n      image_suffix: develop\n", "state": "active", "repository": "open-mss/mss"}
{"mined_at": "2024-07-15T16:12:59.765000", "created_at": "2022-06-07T10:20:43+02:00", "updated_at": "2022-06-07T16:07:33+02:00", "name": "new dependency test (scheduled)", "path": ".github/workflows/testing-scheduled.yml", "contents": "name: new dependency test (scheduled)\n\non:\n  schedule:\n    - cron: '30 5 * * 1'\n\njobs:\n  trigger-testing-stable:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n    steps:\n      - uses: benc-uk/workflow-dispatch@v1.2.3\n        with:\n          workflow: testing-stable.yml\n          ref: stable\n\n  trigger-testing-develop:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n    steps:\n      - uses: benc-uk/workflow-dispatch@v1.2.3\n        with:\n          workflow: testing-develop.yml\n          ref: develop\n", "state": "active", "repository": "open-mss/mss"}
{"mined_at": "2024-07-15T16:13:00.880325", "created_at": "2022-06-01T10:17:20+02:00", "updated_at": "2022-06-01T10:17:20+02:00", "name": "test stable", "path": ".github/workflows/testing-stable.yml", "contents": "name: test stable\n\non:\n  push:\n    branches:\n    - stable\n  pull_request:\n    branches:\n    - stable\n  workflow_dispatch:\n\njobs:\n  test-stable:\n    uses:\n      ./.github/workflows/testing.yml\n    with:\n      image_suffix: stable\n    secrets:\n      PAT: ${{ secrets.PAT }}\n", "state": "active", "repository": "open-mss/mss"}
{"mined_at": "2024-07-15T16:13:02.120870", "created_at": "2021-01-12T08:28:42+01:00", "updated_at": "2023-11-14T15:21:41+01:00", "name": "Pytest MSS", "path": ".github/workflows/testing.yml", "contents": "name: Pytest MSS\n\non:\n  workflow_call:\n    inputs:\n      image_suffix:\n        required: true\n        type: string\n    secrets:\n      PAT:\n\nenv:\n  mamba-env: mss-${{ inputs.image_suffix }}-env\n\njobs:\n  Test-MSS:\n    runs-on: ubuntu-latest\n\n    container:\n      image: openmss/testing-${{ inputs.image_suffix }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        order: [\"normal\", \"reverse\"]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Check for changed dependencies\n      run: cmp -s /meta.yaml localbuild/meta.yaml && cmp -s /development.txt requirements.d/development.txt ||\n        (echo Dependencies differ && echo \"triggerdockerbuild=yes\" >> $GITHUB_ENV )\n\n    - name: Always rebuild dependencies for scheduled builds (started from testing-scheduled.yml)\n      if: ${{ github.event_name == 'workflow_dispatch' }}\n      run: echo \"triggerdockerbuild=yes\" >> $GITHUB_ENV\n\n    - name: Invoke dockertesting image creation\n      # The image creation is intentionally only triggered for push events because\n      # scheduled tests should just check that new dependency versions do not break the\n      # tests, but should not update the image.\n      if: ${{ (github.ref_name == 'stable' || github.ref_name == 'develop') && github.event_name == 'push' && env.triggerdockerbuild == 'yes' && matrix.order == 'normal' }}\n      uses: benc-uk/workflow-dispatch@v1.2.3\n      with:\n        workflow: Update Image testing-${{ inputs.image_suffix }}\n        repo: Open-MSS/dockertesting\n        ref: main\n        token: ${{ secrets.PAT }}\n\n    - name: Reinstall dependencies if changed\n      if: ${{ env.triggerdockerbuild == 'yes' }}\n      run: |\n        cat localbuild/meta.yaml |\n          sed -n '/^requirements:/,/^test:/p' |\n          sed -e \"s/.*- //\" |\n          sed -e \"s/menuinst.*//\" |\n          sed -e \"s/.*://\" > reqs.txt\n        cat requirements.d/development.txt >> reqs.txt\n        cat reqs.txt\n        mamba env remove -n ${{ env.mamba-env }}\n        mamba create -y -n ${{ env.mamba-env }} --file reqs.txt\n\n    - name: Print conda list\n      run: mamba run --no-capture-output -n ${{ env.mamba-env }} mamba list\n\n    - name: Run tests\n      timeout-minutes: 10\n      run: mamba run --no-capture-output -n ${{ env.mamba-env }} xvfb-run pytest\n        -v -n 6 --dist loadfile --max-worker-restart 4 --durations=20 --cov=mslib\n        ${{ (matrix.order == 'normal' && ' ') || (matrix.order == 'reverse' && '--reverse') }} tests\n\n    - name: Collect coverage\n      if: ${{ (github.event_name == 'push' || github.event_name == 'pull_request') && matrix.order == 'normal' }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        git config --global --add safe.directory /__w/MSS/MSS\n        mamba install -n ${{ env.mamba-env }} coveralls\n        mamba run --no-capture-output -n ${{ env.mamba-env }} coveralls --service=github\n", "state": "active", "repository": "open-mss/mss"}
{"mined_at": "2024-07-15T16:13:04.376682", "created_at": "2021-04-21T09:55:35+02:00", "updated_at": "2022-09-05T09:31:44+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install Hatch\n        run: pipx install hatch\n      - name: Build dist\n        run: hatch build\n      - name: Publish\n        run: hatch publish -u __token__ -a ${{ secrets.PYPI_API_TOKEN }}\n\n", "state": "active", "repository": "substra/substra"}
{"mined_at": "2024-07-15T16:13:05.602635", "created_at": "2020-12-18T14:06:34+01:00", "updated_at": "2020-12-18T14:06:34+01:00", "name": "Python", "path": ".github/workflows/python.yml", "contents": "name: Python\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n\njobs:\n  lint:\n    name: Lint and documentation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install tools\n        run: pip install flake8 black isort wheel docstring-parser\n      - name: Lint\n        run: |\n          black --check substra\n          isort --check substra\n          flake8 substra\n      - name: Install substra\n        run: pip install -e .\n      - name: Generate and validate SDK documentation\n        run: |\n          python bin/generate_sdk_documentation.py --output-path='references/sdk.md'\n          python bin/generate_sdk_schemas_documentation.py --output-path references/sdk_schemas.md\n          python bin/generate_sdk_schemas_documentation.py --models --output-path='references/sdk_models.md'\n      - name: Documentation artifacts\n        uses: actions/upload-artifact@v2\n        if: always()\n        with:\n          retention-days: 1\n          name: references\n          path: references/*\n  tests:\n    runs-on: ubuntu-20.04\n    env:\n      XDG_RUNTIME_DIR: /home/runner/.docker/run\n      DOCKER_HOST: unix:///home/runner/.docker/run/docker.sock\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n    name: Tests on Python ${{ matrix.python-version }}\n    steps:\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Install Docker rootless\n        run: |\n          sudo systemctl disable --now docker.service\n          export FORCE_ROOTLESS_INSTALL=1\n          curl -fsSL https://get.docker.com/rootless | sh\n      - name: Configure docker\n        run: |\n          export PATH=/home/runner/bin:$PATH\n          /home/runner/bin/dockerd-rootless.sh &  # Start Docker rootless in the background\n      - name: Cloning substra\n        uses: actions/checkout@v4\n        with:\n          path: substra\n      - name: Cloning substratools\n        uses: actions/checkout@v4\n        with:\n          repository: Substra/substra-tools\n          path: substratools\n          ref: main\n      - name: Install substra and substratools\n        run: |\n          pip install --no-cache-dir -e substratools\n          pip install --no-cache-dir -e 'substra[dev]'\n\n      - name: Test\n        run: |\n          export PATH=/home/runner/bin:$PATH\n          cd substra && make test\n", "state": "active", "repository": "substra/substra"}
{"mined_at": "2024-07-15T16:13:07.687757", "created_at": "2021-06-11T09:41:10+02:00", "updated_at": "2021-10-01T15:32:06+02:00", "name": "nl-tests", "path": ".github/workflows/nl-action.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: nl-tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      id: checkout\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.7\n    - uses: actions/cache@v2\n      id: cache\n      with:\n        path: ${{ env.pythonLocation }}\n        key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}\n    - name: Install dependencies\n      run: |\n        if [ -f requirements.txt ]; then pip3 install --upgrade --upgrade-strategy eager -r requirements.txt -e . ; fi\n        pip3 install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz\n    - name: Test with pytest\n      run: |\n        pytest -s --t=light --f=light\n", "state": "active", "repository": "gem-benchmark/nl-augmenter"}
{"mined_at": "2024-07-15T16:13:09.898178", "created_at": "2023-11-12T12:10:16+01:00", "updated_at": "2023-11-15T13:48:03+01:00", "name": "Github Benchmarks", "path": ".github/workflows/benchmark.yml", "contents": null, "state": "active", "repository": "cpmpy/cpmpy"}
{"mined_at": "2024-07-15T16:13:11.336868", "created_at": "2021-02-25T13:00:49+01:00", "updated_at": "2021-02-25T14:07:18+01:00", "name": "Release Python Package", "path": ".github/workflows/pypi-release.yml", "contents": "name: Release Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine \n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        PYPI_REPO: https://upload.pypi.org/legacy/\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload --repository-url $PYPI_REPO dist/*\n    # - name: Install pypa/build\n    #   run: >-\n    #     python -m\n    #     pip install\n    #     build\n    #     --user\n    # - name: Build a binary wheel and a source tarball\n    #   run: >-\n    #     python -m\n    #     build\n    #     --sdist\n    #     --wheel\n    #     --outdir dist/\n    # - name: Publish distribution to PyPI\n    #   uses: pypa/gh-action-pypi-publish@master\n    #   with:\n    #     password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "cpmpy/cpmpy"}
{"mined_at": "2024-07-15T16:13:12.463131", "created_at": "2021-02-22T21:00:12+01:00", "updated_at": "2023-07-27T17:46:12+02:00", "name": "Github Tests", "path": ".github/workflows/python-test.yml", "contents": "name: Github Tests\n\non: [push] # Can also put pull_request here, but then we dont run it when directly pushing to master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest requests pandas\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          pip install python-sat\n          pip install pycryptosat\n          pip install z3-solver\n          pip install exact\n          pip install pysdd\n          pip install pychoco\n          sudo snap install minizinc --classic\n          pip install minizinc\n      - name: Test with pytest\n        run: |\n          python -m pytest tests/\n\n", "state": "active", "repository": "cpmpy/cpmpy"}
{"mined_at": "2024-07-15T16:13:13.522292", "created_at": "2023-11-15T15:22:05+01:00", "updated_at": "2023-11-15T15:22:05+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "cpmpy/cpmpy"}
{"mined_at": "2024-07-15T16:13:15.741900", "created_at": "2021-06-07T15:53:40+02:00", "updated_at": "2024-02-12T15:03:15+01:00", "name": "CI", "path": ".github/workflows/build-test-release.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"develop\"\n      - \"release/**\"\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n  pull_request:\n    branches:\n      - \"main\"\n      - \"develop\"\n      - \"release/**\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  meta:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }}\n    steps:\n      - uses: actions/checkout@v4\n      - id: matrix\n        uses: splunk/addonfactory-test-matrix-action@v2.0\n\n  fossa-scan:\n    continue-on-error: true\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - run: |\n          curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash\n          fossa analyze --debug\n          fossa report attribution --format text > /tmp/THIRDPARTY\n        env:\n          FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}\n      - uses: actions/upload-artifact@v4\n        with:\n          name: THIRDPARTY\n          path: /tmp/THIRDPARTY\n      - run: |\n          fossa test --debug\n        env:\n          FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}\n      - name: Check for failed steps for jobs with continue-on-error\n        if: ${{ failure() }}\n        run: echo \"failed=true\" >> $GITHUB_ENV\n\n      - name: Set output if steps failed\n        run: |\n          echo \"failed=${{ env.failed }}\" >> $GITHUB_ENV\n    outputs:\n      failed: ${{ env.failed }}\n\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.7\"\n      - uses: pre-commit/action@v3.0.1\n\n  semgrep:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - id: semgrep\n        uses: semgrep/semgrep-action@v1\n        with:\n          publishToken: ${{ secrets.SEMGREP_PUBLISH_TOKEN }}\n\n  compliance-copyrights:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: apache/skywalking-eyes@v0.6.0\n\n  build-ui:\n    name: Build UCC UI\n    strategy:\n      matrix:\n        node-version:\n          - \"20\"\n    uses: ./.github/workflows/build-ui.yml\n    with:\n      node-version: ${{ matrix.node-version }}\n\n  storybook-screenshots:\n    name: Update storybook screenshots\n    permissions:\n      contents: write\n    secrets: inherit\n    uses: ./.github/workflows/storybook-visual.yml\n    with:\n      node-version: \"20\"\n\n  build:\n    needs:\n      - fossa-scan\n      - build-ui\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.7\"\n      - uses: actions/download-artifact@v4\n        with:\n          name: UCC-UI-build\n          path: built-ui/\n\n      - uses: actions/download-artifact@v4\n        if: \"! github.event.pull_request.head.repo.fork \"\n        with:\n          name: THIRDPARTY\n      - run: cp -f THIRDPARTY NOTICE\n        if: \"! github.event.pull_request.head.repo.fork \"\n      - run: curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n      - run: poetry install\n      - name: Build UCC\n        run: |\n          cp -R built-ui/. splunk_add_on_ucc_framework/package/appserver/static/js/\n          poetry build\n      - uses: actions/upload-artifact@v4\n        with:\n          name: UCC-build\n          path: dist/\n\n  test-unit:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    strategy:\n      matrix:\n        python-version:\n          - \"3.7\"\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - run: curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n      - run: |\n          poetry install\n          poetry run pytest --cov=splunk_add_on_ucc_framework --cov-report=xml tests/unit\n      - name: Check for failed steps for jobs with continue-on-error\n        if: ${{ failure() }}\n        run: echo \"failed=true\" >> $GITHUB_ENV\n\n      - name: Set output if steps failed\n        run: |\n          echo \"failed=${{ env.failed }}\" >> $GITHUB_ENV\n    outputs:\n      failed: ${{ env.failed }}\n\n  test-smoke:\n    name: test-smoke ${{ matrix.python-version }}\n    needs:\n      - build-ui\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    strategy:\n      matrix:\n        python-version:\n          - \"3.7\"\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n        with:\n          name: UCC-UI-build\n          path: built-ui/\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - run: |\n          cp -R built-ui/. splunk_add_on_ucc_framework/package/appserver/static/js/\n      - run: curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n      - run: |\n          poetry install\n          poetry run pytest tests/smoke\n      - name: Check for failed steps for jobs with continue-on-error\n        if: ${{ failure() }}\n        run: echo \"failed=true\" >> $GITHUB_ENV\n\n      - name: Set output if steps failed\n        run: |\n          echo \"failed=${{ env.failed }}\" >> $GITHUB_ENV\n    outputs:\n      failed: ${{ env.failed }}\n\n  build-test-addon:\n    runs-on: ubuntu-latest\n    needs:\n      - build-ui\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.7\"\n      - uses: actions/download-artifact@v4\n        with:\n          name: UCC-UI-build\n          path: built-ui/\n      - run: curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n      - run: |\n          cp -R built-ui/. splunk_add_on_ucc_framework/package/appserver/static/js/\n          poetry install --only main\n      - run: poetry run ucc-gen build --source tests/testdata/test_addons/package_global_config_everything/package\n      - run: ./scripts/include-rum.sh output/Splunk_TA_UCCExample/appserver/templates/base.html scripts/rum-script.html \"$RUM_ACCESS_TOKEN\"\n        env:\n          RUM_ACCESS_TOKEN: ${{ secrets.RUM_ACCESS_TOKEN}}\n      - run: poetry run ucc-gen package --path output/Splunk_TA_UCCExample\n      - uses: actions/upload-artifact@v4\n        with:\n          name: Splunk_TA_UCCExample-raw-output\n          path: output/*\n      - uses: actions/upload-artifact@v4\n        with:\n          name: Splunk_TA_UCCExample-packaged\n          path: Splunk_TA_UCCExample*.tar.gz\n\n  test-ui:\n    name: test-ui Splunk ${{ matrix.splunk.version }} -m ${{ matrix.test-mark }}\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n      checks: write\n    needs:\n      - meta\n      - build-test-addon\n      - build\n      - test-unit\n      - test-smoke\n    strategy:\n      fail-fast: false\n      matrix:\n        splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }}\n        test-mark:\n          - \"logging\"\n          - \"proxy\"\n          - \"account\"\n          - \"custom\"\n          - \"alert\"\n          - \"input\"\n          - \"configuration\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.7\"\n      - uses: actions/download-artifact@v4\n        with:\n          name: Splunk_TA_UCCExample-raw-output\n          path: output/\n      - run: |\n          curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n          poetry install --only dev\n      - name: Link chromedriver\n        # Use installed chromedriver https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md\n        run: |\n          export PATH=$PATH:$CHROMEWEBDRIVER\n          chromedriver --version\n      - run: |\n          ./scripts/run_splunk.sh ${{ matrix.splunk.version }}\n          until curl -Lsk \"https://localhost:8088/services/collector/health\" &>/dev/null ; do echo -n \"Waiting for HEC-\" && sleep 5 ; done\n        timeout-minutes: 5\n      - run: poetry run pytest tests/ui -m \"${{ matrix.test-mark }}\" --headless --junitxml=test-results/junit.xml\n      - uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: test-results-ui-${{ matrix.splunk.version }}-${{ matrix.test-mark }}\n          path: test-results/*\n      - uses: dorny/test-reporter@v1\n        if: success() || failure()\n        with:\n          name: test-report-ui-${{ matrix.splunk.version }}-${{ matrix.test-mark }}\n          path: \"test-results/*.xml\"\n          reporter: java-junit\n\n  appinspect-for-expected-outputs:\n    name: splunk-appinspect ${{ matrix.tags }} tests/testdata/expected_addons/expected_output_global_config_everything/Splunk_TA_UCCExample\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    strategy:\n      matrix:\n        tags:\n          - \"cloud\"\n          - \"appapproval\"\n          - \"deprecated_feature\"\n          - \"developer_guidance\"\n          - \"future\"\n          - \"self-service\"\n          - \"splunk_appinspect\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.7\"\n      - run: curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n      - name: Package tests/expected_output_global_config_everything/Splunk_TA_UCCExample\n        run: |\n          poetry install\n          mkdir tests/packaged\n          poetry run ucc-gen package --path tests/testdata/expected_addons/expected_output_global_config_everything/Splunk_TA_UCCExample -o tests/packaged\n      - uses: splunk/appinspect-cli-action@v2.7\n        with:\n          app_path: tests/packaged\n          included_tags: ${{ matrix.tags }}\n          appinspect_manual_checks: tests/testdata/expected_addons/expected_output_global_config_everything/.appinspect.manualcheck.yaml\n          appinspect_expected_failures: tests/testdata/expected_addons/expected_output_global_config_everything/.appinspect.expect.yaml\n\n  all-checks:\n    if: ${{ !cancelled() }}\n    needs:\n      - test-unit\n      - test-smoke\n      - test-ui\n      - build-test-addon-openapi-client\n      - storybook-screenshots\n    runs-on: ubuntu-latest\n    env:\n      NEEDS: ${{ toJson(needs) }}\n    steps:\n      - name: check if tests have passed\n        id: check\n        shell: bash\n        run: |\n          ALL_JOBS_PASSED=$(echo \"$NEEDS\" | jq 'all(.[]; .result == \"success\" and (.outputs.failed // \"false\") != \"true\")')\n          if [[ \"$ALL_JOBS_PASSED\" == \"true\" ]]\n          then\n              echo \"all-checks=true\" >> \"$GITHUB_OUTPUT\"\n          else\n              echo \"all-checks=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n      - name: Fail job if something failed\n        if: ${{ steps.check.outputs.all-checks == 'false' }}\n        run: |\n          echo \"Some check failed\"\n          exit 1\n\n  release:\n    needs:\n      - build\n      - compliance-copyrights\n      - fossa-scan\n      - test-unit\n      - test-smoke\n      - test-ui\n      - appinspect-for-expected-outputs\n      - semgrep\n      - pre-commit\n      - all-checks\n    runs-on: ubuntu-latest\n    if: \"! github.event.pull_request.head.repo.fork \"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # Very important: semantic-release won't trigger a tagged\n          # build if this is not set false\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.7\"\n      - run: curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n      - uses: actions/download-artifact@v4\n        with:\n          name: UCC-UI-build\n          path: built-ui/\n      - uses: actions/download-artifact@v4\n        with:\n          name: THIRDPARTY\n      - run: cp -f THIRDPARTY NOTICE\n      - run: poetry install\n      - name: Copy built UCC UI into UCC generator folder\n        run: |\n          cp -R built-ui/. splunk_add_on_ucc_framework/package/appserver/static/js/\n      - id: semantic\n        uses: splunk/semantic-release-action@v1.3\n        with:\n          git_committer_name: ${{ secrets.SA_GH_USER_NAME }}\n          git_committer_email: ${{ secrets.SA_GH_USER_EMAIL }}\n          gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }}\n          passphrase: ${{ secrets.SA_GPG_PASSPHRASE }}\n          extra_plugins: |\n            semantic-release-replace-plugin\n        env:\n          GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }}\n      - if: ${{ steps.semantic.outputs.new_release_published == 'true' }}\n        run: |\n          poetry build\n          poetry publish -n -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }}\n\n  build-test-addon-openapi-client:\n    name: build-test-addon-openapi-client Splunk ${{ matrix.splunk.version }}\n    runs-on: ubuntu-latest\n    needs:\n      - meta\n      - build-test-addon\n      - build\n      - test-unit\n      - test-smoke\n    strategy:\n      matrix:\n        splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - uses: actions/download-artifact@v4\n        with:\n          name: UCC-UI-build\n          path: built-ui/\n      - run: curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n      - run: |\n          cp -R built-ui/. splunk_add_on_ucc_framework/package/appserver/static/js/\n          poetry install --only main\n      - run: poetry run ucc-gen build --source tests/testdata/test_addons/package_global_config_everything/package -o out_${{ matrix.splunk.version }}\n      - run: |\n          cp out_${{ matrix.splunk.version }}/Splunk_TA_UCCExample/appserver/static/openapi.json ./oa_${{ matrix.splunk.version }}.json\n          docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate -i /local/oa_${{ matrix.splunk.version }}.json -g python -o /local/restapi_client_${{ matrix.splunk.version }}\n      - run: |\n          sudo chmod -R 777 ./restapi_client_${{ matrix.splunk.version }}\n          python3 -m pip install ./restapi_client_${{ matrix.splunk.version }}\n      - run: mv out_${{ matrix.splunk.version }} output\n      - run: |\n          ./scripts/run_splunk.sh ${{ matrix.splunk.version }}\n          until curl -Lsk \"https://localhost:8088/services/collector/health\" &>/dev/null ; do echo -n \"Waiting for HEC-\" && sleep 5 ; done\n        timeout-minutes: 5\n      - run: python3 tests/testdata/expected_addons/expected_output_global_config_everything/client-test.py\n", "state": "active", "repository": "splunk/addonfactory-ucc-generator"}
{"mined_at": "2024-07-15T16:13:16.969046", "created_at": "2021-06-08T13:54:57+02:00", "updated_at": "2021-06-08T17:56:46+02:00", "name": "CLA Assistant", "path": ".github/workflows/agreements.yaml", "contents": "name: \"CLA Assistant\"\non:\n  issue_comment:\n    types: [created]\n  pull_request_target:\n    types: [opened, closed, synchronize]\n\njobs:\n  call-workflow-agreements:\n    uses: splunk/addonfactory-github-workflows/.github/workflows/reusable-agreements.yaml@v1\n    permissions:\n      actions: read\n      contents: read\n      pull-requests: write\n      statuses: read\n    secrets:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}\n", "state": "active", "repository": "splunk/addonfactory-ucc-generator"}
{"mined_at": "2024-07-15T16:13:18.095261", "created_at": "2021-10-19T18:40:30+02:00", "updated_at": "2021-10-19T19:57:14+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\non:\n  push:\n    branches:\n      - \"main\"\n      - \"develop\"\n      - \"release/**\"\n  pull_request:\n    branches:\n      - \"main\"\n      - \"develop\"\n      - \"release/**\"\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pages: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.7\n      - uses: actions/setup-node@v4\n        with:\n          node-version: \"20\"\n      - name: install deps\n        uses: ./.github/actions/cached-ui-deps\n        with:\n          node-version: \"20\"\n      - name: Build Storybook\n        run: |\n          cd ui\n          yarn run build-storybook --quiet --output-dir ../docs/storybook/\n          cd ../\n      - run: |\n          curl -sSL https://install.python-poetry.org | python3 - --version 1.5.1\n          poetry install\n      - name: Deploy to GitHub Pages\n        if: github.ref_name == 'main'\n        run: poetry run mkdocs gh-deploy --force --strict\n      - name: Build Docs\n        if: github.ref_name != 'main'\n        run: poetry run mkdocs build --strict\n", "state": "active", "repository": "splunk/addonfactory-ucc-generator"}
{"mined_at": "2024-07-15T16:13:19.206706", "created_at": "2022-01-10T15:29:48+01:00", "updated_at": "2022-01-10T15:29:48+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "splunk/addonfactory-ucc-generator"}
{"mined_at": "2024-07-15T16:13:20.449816", "created_at": "2023-10-13T17:01:50+02:00", "updated_at": "2023-10-13T17:01:50+02:00", "name": "Build UI", "path": ".github/workflows/build-ui.yml", "contents": "name: \"Build UI\"\non:\n  workflow_call:\n    inputs:\n      node-version:\n        required: true\n        type: string\n\njobs:\n  build-ui:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ui\n        shell: bash\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: ${{ inputs.node-version }}\n      - name: install deps\n        uses: ./.github/actions/cached-ui-deps\n        with:\n          node-version: ${{ inputs.node-version }}\n      - name: Code linting\n        run: yarn run lint\n      - name: Unit test\n        run: yarn run test\n      - name: Build UCC UI\n        run: yarn run build\n      - name: List deps into dependencies.txt\n        run: yarn list --prod --depth 0 | python ../.github/scripts/format_yarn_deps.py --output-file=dist/dependencies.txt\n      - name: Upload dist with name UCC-UI-build\n        uses: actions/upload-artifact@v4\n        with:\n          name: UCC-UI-build\n          path: ui/dist/", "state": "active", "repository": "splunk/addonfactory-ucc-generator"}
{"mined_at": "2024-07-15T16:13:21.678869", "created_at": "2024-02-12T15:01:00+01:00", "updated_at": "2024-02-12T15:01:00+01:00", "name": ".github/workflows/storybook-tests.yml", "path": ".github/workflows/storybook-tests.yml", "contents": null, "state": "active", "repository": "splunk/addonfactory-ucc-generator"}
{"mined_at": "2024-07-15T16:13:22.690958", "created_at": "2024-02-15T11:48:09+01:00", "updated_at": "2024-02-15T11:48:09+01:00", "name": "Storybook Visual", "path": ".github/workflows/storybook-visual.yml", "contents": "name: \"Storybook Visual\"\non:\n  workflow_call:\n    inputs:\n      node-version:\n        required: true\n        type: string\n\njobs:\n  update-screenshots:\n    defaults:\n      run:\n        working-directory: ui\n        shell: bash\n    runs-on: ubuntu-latest\n    env:\n      isPR: ${{ github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'main' }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          lfs: true\n          ref: ${{ github.event.pull_request.head.ref }}\n      - uses: actions/setup-node@v4\n        with:\n          node-version: ${{ inputs.node-version }}\n      - name: install deps\n        uses: ./.github/actions/cached-ui-deps\n        with:\n          node-version: ${{ inputs.node-version }}\n      - name: Install Playwright\n        run: yarn playwright install\n      - name: Build Storybook\n        run: yarn build-storybook --quiet\n      - name: Serve Storybook and update screenshots\n        run: |\n          npx concurrently --kill-others --success first -n \"SB,TEST\" \\\n            \"npx http-server storybook-static --port 6006 --silent\" \\\n            \"npx wait-on tcp:6006 && yarn test-storybook ${{ env.isPR && '-u' || ''}}\"\n      - name: Import GPG key\n        if: ${{ env.isPR }}\n        uses: crazy-max/ghaction-import-gpg@v6\n        with:\n          git_committer_name: ${{ secrets.SA_GH_USER_NAME }}\n          git_committer_email: ${{ secrets.SA_GH_USER_EMAIL }}\n          gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }}\n          passphrase: ${{ secrets.SA_GPG_PASSPHRASE }}\n          git_user_signingkey: true\n          git_commit_gpgsign: true\n      - name: Push updated screenshots\n        if: ${{ env.isPR }}\n        run: |\n          git add \\*.png\n          git diff --staged --exit-code || (git commit -S -m \"update screenshots\" && git push)\n      - uses: actions/upload-artifact@v4\n        name: \"Upload test report\"\n        if: ${{ failure() }}\n        with:\n          name: storybook-tests-report\n          path: ui/test-reports/\n", "state": "active", "repository": "splunk/addonfactory-ucc-generator"}
{"mined_at": "2024-07-15T16:13:24.856747", "created_at": "2023-03-13T12:22:28+01:00", "updated_at": "2023-03-31T11:09:43+02:00", "name": "CI", "path": ".github/workflows/continuous_integration.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - ubuntu-20.04\n        python-version:\n          - 3.12.2\n      fail-fast: false\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports: ['5432:5432']\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Update pip\n        run: |\n          python -m ensurepip\n          python -m pip install --upgrade pip\n      \n      - name: Configure poetry\n        run: |\n          python -m pip install poetry\n          python -m poetry config virtualenvs.in-project true\n          python -m poetry config virtualenvs.create true\n\n      - name: Set up cache\n        uses: actions/cache@v3\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('**/pyproject.toml') }}\n\n      - name: Display Python version\n        run: poetry run python -c \"import sys; print(sys.version)\"\n\n      - name: Install Poetry\n        run: |\n          python -m poetry install\n\n      - name: Install Tools\n        run: |\n          python -m pip install pytest\n\n      - name: make .env file\n        run: |\n          cp config/.env.actions config/.env\n\n      - name: Run Tests\n        run: |\n          poetry run coverage run manage.py test\n        env: \n          COVERAGE_FILE: \".coverage.${{ matrix.python_version }}\"\n\n      - name: Store coverage file\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage\n          path: .coverage.${{ matrix.python_version }}\n\n  coverage:\n    name: Coverage\n    runs-on: ubuntu-latest\n    needs: tests\n    permissions:\n      pull-requests: write\n      contents: write\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/download-artifact@v3\n        id: download\n        with:\n          name: 'coverage'\n\n      - name: Coverage comment\n        id: coverage_comment\n        uses: py-cov-action/python-coverage-comment-action@v3\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          MERGE_COVERAGE_FILES: true\n\n      - name: Store Pull Request comment to be posted\n        uses: actions/upload-artifact@v3\n        if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'\n        with:\n          name: python-coverage-comment-action\n          path: python-coverage-comment-action.txt", "state": "active", "repository": "alan-turing-institute/autspaces"}
{"mined_at": "2024-07-15T16:13:25.855736", "created_at": "2023-03-31T11:09:44+02:00", "updated_at": "2023-03-31T11:09:44+02:00", "name": "Post coverage comment", "path": ".github/workflows/coverage.yml", "contents": "name: Post coverage comment\n\non:\n  workflow_run:\n    workflows: [\"CI\"]\n    types:\n      - completed\n\njobs:\n  test:\n    name: Run tests & display coverage\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'\n    permissions:\n      # Gives the action the necessary permissions for publishing new\n      # comments in pull requests.\n      pull-requests: write\n      # Gives the action the necessary permissions for editing existing\n      # comments (to avoid publishing multiple comments in the same PR)\n      contents: write\n      # Gives the action the necessary permissions for looking up the\n      # workflow that launched this workflow, and download the related\n      # artifact that contains the comment to be published\n      actions: read\n    steps:\n      # DO NOT run actions/checkout here, for security reasons\n      # For details, refer to https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n      - name: Post comment\n        uses: py-cov-action/python-coverage-comment-action@v3\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}\n          # Update those if you changed the default values:\n          # COMMENT_ARTIFACT_NAME: python-coverage-comment-action\n          # COMMENT_FILENAME: python-coverage-comment-action.txt", "state": "active", "repository": "alan-turing-institute/autspaces"}
{"mined_at": "2024-07-15T16:13:27.003903", "created_at": "2023-03-14T12:29:18+01:00", "updated_at": "2023-03-17T16:08:20+01:00", "name": "Linting and Formatting", "path": ".github/workflows/linting_formatting.yml", "contents": "name: Linting and Formatting\n\non: [push]\n\njobs:\n  ubuntu-tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - ubuntu-20.04\n        python-version:\n          - 3.12.2\n      fail-fast: false\n\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n\n      - name: Update pip\n        run: |\n          python -m ensurepip\n          python -m pip install --upgrade pip\n      \n      - name: Install Tools\n        run: |\n          python -m pip install black flake8\n\n      - name: Linting and Formatting\n        run: |\n          python -m flake8 ./server/apps/main/views.py --count --select=E9,F63,F7,F82, --ignore=F821 --show-source --statistics\n          python -m black --diff ./server/apps/main/views.py", "state": "active", "repository": "alan-turing-institute/autspaces"}
{"mined_at": "2024-07-15T16:13:28.023935", "created_at": "2024-05-24T11:32:04+02:00", "updated_at": "2024-05-24T11:32:04+02:00", "name": "Push to Docker", "path": ".github/workflows/push_docker.yml", "contents": "name: Push to Docker\n\non:\n  push:\n    branches:\n      - 'main'\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      -\n        name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          tags: gedankenstuecke/autspaces:v1", "state": "active", "repository": "alan-turing-institute/autspaces"}
{"mined_at": "2024-07-15T16:13:30.079639", "created_at": "2022-05-09T12:01:26+02:00", "updated_at": "2022-05-09T12:01:26+02:00", "name": "Deployment", "path": ".github/workflows/deployment.yml", "contents": "name: Deployment\n\non:\n    push:\n        branches: [main]\n        tags: [v*]\n\njobs:\n    build:\n        if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}\n        runs-on: ubuntu-latest\n\n        steps:\n        -   uses: actions/checkout@v2\n            with:\n                fetch-depth: 0\n\n        -   name: Set up Python 3.10\n            uses: actions/setup-python@v2\n            with:\n                python-version: '3.10'\n        -   name: Install pip dependencies\n            run: |\n                python -m pip install --upgrade pip\n                pip install build twine\n\n        -   name: Build a binary wheel and a source tarball\n            run: |\n                python -m build --sdist --wheel --outdir dist/\n                twine check dist/*\n\n        -   name: Publish on PyPI\n            uses: pypa/gh-action-pypi-publish@master\n            with:\n                user: __token__\n                password: ${{ secrets.PYPI_TOKEN }}\n                skip_existing: true\n                verbose: true\n", "state": "active", "repository": "theislab/scib"}
{"mined_at": "2024-07-15T16:13:31.101707", "created_at": "2022-05-05T14:09:28+02:00", "updated_at": "2022-11-22T00:17:31+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n    push:\n        branches: [main]\n    pull_request:\n        branches: [main]\n\njobs:\n    lint:\n        runs-on: ubuntu-latest\n        steps:\n        -   uses: actions/checkout@v3\n        -   name: Set up Python\n            uses: actions/setup-python@v4\n            with:\n                python-version: '3.10'\n\n        -   uses: actions/cache@v3\n            with:\n                path: ~/.cache/pre-commit\n                key: precommit-${{ env.pythonLocation }}-${{ hashFiles('**/.pre-commit-config.yaml') }}\n        -   name: Install dependencies\n            run: |\n                python -m pip install --upgrade pre-commit\n\n        -   name: Run pre-commit\n            run: |\n                pre-commit run --color=always --show-diff-on-failure --all-files\n\n    metrics:\n        runs-on: ${{ matrix.os }}\n        strategy:\n            matrix:\n                python: ['3.9', '3.11']\n                os: [ubuntu-latest, macos-latest]\n\n        steps:\n        -   uses: actions/checkout@v3\n        -   name: Set up Python ${{ matrix.python }}\n            uses: actions/setup-python@v4\n            with:\n                python-version: ${{ matrix.python }}\n\n        -   name: Install build dependencies\n            run: |\n                python -m pip install --upgrade pip\n                pip install build twine\n\n        -   name: Build a binary wheel and a source tarball\n            run: |\n                python -m build --sdist --wheel --outdir dist/\n                twine check dist/*\n\n        -   name: Install package with test dependencies\n            run: |\n                pip install dist/*.whl\n                pip install '.[test,louvain]'\n\n        -   name: Test with pytest\n            if: ${{ matrix.os != 'macos-latest'}}\n            run: |\n                pytest --cov=scib --cov-report=xml -vv --ignore=tests/integration/ --ignore=tests/metrics/rpy2 -vv\n                mv coverage.xml \"$(echo 'coverage_metrics_${{ matrix.os }}_${{ matrix.python }}.xml' | sed 's/[^a-z0-9\\.\\/]/_/g')\"\n\n        -   name: Upload coverage to GitHub Actions\n            uses: actions/upload-artifact@v3\n            with:\n                name: metrics\n                path: coverage_*.xml\n\n    rpy2:\n        runs-on: ${{ matrix.os }}\n        strategy:\n            matrix:\n                r: ['4.2']\n                python: ['3.10']\n                os: [ubuntu-latest]\n        steps:\n        -   uses: actions/checkout@v3\n        -   name: Set up Python ${{ matrix.python }}\n            uses: actions/setup-python@v4\n            with:\n                python-version: ${{ matrix.python }}\n        -   name: Set up R\n            uses: r-lib/actions/setup-r@v2\n            with:\n                r-version: ${{ matrix.r }}\n\n        -   name: Install dependencies\n            env:\n                GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}\n            run: |\n                python -m pip install --upgrade pip\n                pip install '.[test,rpy2]'\n                Rscript -e \"install.packages('remotes')\"\n                Rscript -e \"remotes::install_github('theislab/kBET')\"\n\n        -   name: Test with pytest\n            run: |\n                pytest --cov=scib --cov-report=xml -vv --tb=native -k rpy2\n                mv coverage.xml \"$(echo 'coverage_rpy2_${{ matrix.os }}_${{ matrix.python }}.xml' | sed 's/[^a-z0-9\\.\\/]/_/g')\"\n\n        -   name: Upload coverage to GitHub Actions\n            uses: actions/upload-artifact@v3\n            with:\n                name: rpy2\n                path: coverage_*.xml\n\n\n    integration:\n        runs-on: ${{ matrix.os }}\n        strategy:\n            matrix:\n                python: ['3.9', '3.11']\n                os: [ubuntu-latest]\n\n        steps:\n        -   uses: actions/checkout@v3\n        -   name: Set up Python ${{ matrix.python }}\n            uses: actions/setup-python@v4\n            with:\n                python-version: ${{ matrix.python }}\n\n        -   name: Install dependencies\n            run: |\n                python -m pip install --upgrade pip\n                pip install '.[test,scanorama,scvi,harmony]'\n\n        -   name: Test with pytest\n            run: |\n                pytest --cov=scib --cov-report=xml -vv --tb=native -k integration\n                mv coverage.xml \"$(echo 'coverage_integration_${{ matrix.os }}_${{ matrix.python }}.xml' | sed 's/[^a-z0-9\\.\\/]/_/g')\"\n\n        -   name: Upload coverage to GitHub Actions\n            uses: actions/upload-artifact@v3\n            with:\n                name: integration\n                path: coverage_*.xml\n\n\n    upload-codecov:\n        needs: [metrics, rpy2]\n        runs-on: ubuntu-latest\n\n        steps:\n        -   uses: actions/checkout@v3\n            with:\n                fetch-depth: 0\n\n        -   name: Download coverage from GitHub Actions\n            uses: actions/download-artifact@v3\n\n        -   name: Upload coverage\n            uses: codecov/codecov-action@v4\n            with:\n                token: ${{ secrets.CODECOV_TOKEN }}\n                flags: unittests\n                fail_ci_if_error: ${{ github.repository == 'theislab/scib' }}\n                verbose: true\n\n        -   name: Delete coverage artifacts\n            uses: geekyeggo/delete-artifact@v4\n", "state": "active", "repository": "theislab/scib"}
{"mined_at": "2024-07-15T16:13:33.169268", "created_at": "2021-02-23T10:31:34+01:00", "updated_at": "2021-02-23T10:31:34+01:00", "name": "Cron actions", "path": ".github/workflows/cron.yaml", "contents": "name: Cron actions\n\non:\n  schedule:\n    - cron:  '0 0 * * *'\n\njobs:\n  validate:\n    runs-on: \"ubuntu-latest\"\n    name: Validate\n    steps:\n        - uses: \"actions/checkout@v4\"\n\n        - name: HACS validation\n          uses: \"hacs/action@main\"\n          with:\n            category: \"integration\"\n            ignore: brands\n\n        - name: Hassfest validation\n          uses: \"home-assistant/actions/hassfest@master\"", "state": "active", "repository": "krahabb/meross_lan"}
{"mined_at": "2024-07-15T16:13:34.287428", "created_at": "2021-02-23T10:31:34+01:00", "updated_at": "2021-02-23T10:31:34+01:00", "name": "Pull actions", "path": ".github/workflows/pull.yml", "contents": "name: Pull actions\n\non:\n  pull_request:\n\nenv:\n  DEFAULT_PYTHON: \"3.12\"\n\njobs:\n  validate:\n    runs-on: \"ubuntu-latest\"\n    name: Validate\n    steps:\n        - uses: \"actions/checkout@v4\"\n\n        - name: HACS validation\n          uses: \"hacs/action@main\"\n          with:\n            category: \"integration\"\n            ignore: brands\n\n        - name: Hassfest validation\n          uses: \"home-assistant/actions/hassfest@master\"\n\n  style:\n    runs-on: \"ubuntu-latest\"\n    name: Check style formatting\n    steps:\n        - uses: \"actions/checkout@v4\"\n        - uses: \"actions/setup-python@v5\"\n          with:\n            python-version: ${{ env.DEFAULT_PYTHON }}\n        - run: python3 -m pip install black\n        - run: black .\n\n  tests:\n    runs-on: \"ubuntu-latest\"\n    name: Run tests\n    steps:\n      - name: Check out code from GitHub\n        uses: \"actions/checkout@v4\"\n      - name: Setup Python\n        uses: \"actions/setup-python@v5\"\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n      - name: Install requirements\n        run: python3 -m pip install -r requirements_test.txt\n      - name: Run tests\n        run: |\n          pytest \\\n            -qq \\\n            --timeout=120 \\\n            --durations=10 \\\n            -n auto \\\n            --cov custom_components.meross_lan \\\n            -o console_output_style=count \\\n            -p no:sugar \\\n            tests\n", "state": "active", "repository": "krahabb/meross_lan"}
{"mined_at": "2024-07-15T16:13:35.374977", "created_at": "2021-02-23T10:31:34+01:00", "updated_at": "2021-02-23T10:31:34+01:00", "name": "Push actions", "path": ".github/workflows/push.yml", "contents": "name: Push actions\n\non: push\n\nenv:\n  DEFAULT_PYTHON: \"3.12\"\n\njobs:\n  validate:\n    runs-on: \"ubuntu-latest\"\n    name: Validate\n    steps:\n        - uses: \"actions/checkout@v4\"\n\n        - name: HACS validation\n          uses: \"hacs/action@main\"\n          with:\n            category: \"integration\"\n            ignore: brands\n\n        - name: Hassfest validation\n          uses: \"home-assistant/actions/hassfest@master\"\n\n  style:\n    runs-on: \"ubuntu-latest\"\n    name: Check style formatting\n    steps:\n        - uses: \"actions/checkout@v4\"\n        - uses: \"actions/setup-python@v5\"\n          with:\n            python-version: ${{ env.DEFAULT_PYTHON }}\n        - run: python3 -m pip install black\n        - run: black .\n\n  tests:\n    runs-on: \"ubuntu-latest\"\n    name: Run tests\n    steps:\n      - name: Check out code from GitHub\n        uses: \"actions/checkout@v4\"\n      - name: Setup Python\n        uses: \"actions/setup-python@v5\"\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n      - name: Install requirements\n        run: python3 -m pip install -r requirements_test.txt\n      - name: Run tests\n        run: |\n          pytest \\\n            -qq \\\n            --timeout=120 \\\n            --durations=10 \\\n            -n auto \\\n            --cov custom_components.meross_lan \\\n            -o console_output_style=count \\\n            -p no:sugar \\\n            tests", "state": "active", "repository": "krahabb/meross_lan"}
{"mined_at": "2024-07-15T16:13:37.449294", "created_at": "2020-05-18T19:42:45+02:00", "updated_at": "2023-02-27T18:23:14+01:00", "name": "ci", "path": ".github/workflows/ci.yaml", "contents": "name: ci\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  test:\n    name: Test on ${{ matrix.os }}, Python ${{ matrix.python-version }}, OpenMM ${{ matrix.openmm }}, Pydantic ${{ matrix.pydantic-version }}, OpenEye ${{ matrix.openeye }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - macos-12\n          - ubuntu-latest\n        python-version:\n          - \"3.10\"\n          - \"3.11\"\n        pydantic-version:\n          - \"2\"\n        openeye:\n          - true\n          - false\n        openmm:\n          - true\n          - false\n\n    env:\n      OE_LICENSE: ${{ github.workspace }}/oe_license.txt\n      COV: --cov=openff/interchange --cov-report=xml --cov-config=setup.cfg --cov-append\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Install conda environment\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-file: devtools/conda-envs/test_env.yaml\n        create-args: >-\n          python=${{ matrix.python-version }}\n          pydantic=${{ matrix.pydantic-version }}\n\n    - name: Install package\n      run: |\n        # These packages are brought in by conda (via the toolkit) and must be removed manually\n        # since pip doesn't know about the -base split and does not uninstall the -base package\n        micromamba remove --force openff-interchange openff-interchange-base\n        python -m pip install . plugins/\n\n    - name: Install and license OpenEye Toolkits\n      if: ${{ matrix.openeye == true }}\n      run: |\n        micromamba install \"openeye-toolkits >=2023.2\" -c openeye\n        echo \"${SECRET_OE_LICENSE}\" > ${OE_LICENSE}\n        python -c \"from openeye import oechem; assert oechem.OEChemIsLicensed()\"\n      env:\n        SECRET_OE_LICENSE: ${{ secrets.OE_LICENSE }}\n\n    - name: Install OpenMM\n      if: ${{ matrix.openmm == true }}\n      run: |\n        micromamba install openmm \"smirnoff-plugins =2024\" -c conda-forge\n        pip install git+https://github.com/jthorton/de-forcefields.git\n\n    - name: Uninstall OpenMM\n      if: ${{ matrix.openmm == false && matrix.openeye == true }}\n      run: |\n        micromamba remove openmm mdtraj\n        # Removing mBuild also removes some leaves, need to re-install them\n        micromamba install rdkit packmol \"lammps >=2023.08.02\"\n\n    - name: Install AmberTools and RDKit\n      if: ${{ matrix.openeye == false }}\n      # Unclear why, but around October 2023 this downgrades JAX to broken 0.1.x builds\n      # and also uninstalls RDKit\n      run: micromamba install rdkit \"ambertools =23\" \"lammps >=2023.08.02\" \"jax >=0.3\" \"jaxlib >=0.3\" -c conda-forge\n\n    - name: Install Foyer\n      run: micromamba install \"foyer >=0.12.1\" -c conda-forge -yq\n\n    - name: Run tests\n      if: always()\n      run: |\n        python -m pytest $COV openff/interchange/ \\\n          -r fExs -n logical --durations=10 \\\n          -m \"slow or not slow\" \\\n          --ignore=openff/interchange/_tests/energy_tests/test_energies.py\n\n    - name: Run small molecule regression tests\n      if: ${{ matrix.python-version == '3.10' && matrix.openeye == true && matrix.openmm == true }}\n      run: |\n        micromamba install deepdiff rich click -c conda-forge\n        python -m pip install git+https://github.com/openforcefield/interchange-regression-testing.git\n\n        create_openmm_systems \\\n          --input             \"regression_tests/small-molecule/input-topologies.json\" \\\n          --output            \"regression_tests/small-molecule/\" \\\n          --using-interchange \\\n          --force-field       \"openff-2.0.0.offxml\" \\\n          --n-procs           2\n\n        # Don't trust the interchange version here, for some reason, just put it in a new directory\n        mkdir regression_tests/small-molecule/omm-systems-interchange-latest/\n        mv regression_tests/small-molecule/omm-systems-interchange-*/*xml regression_tests/small-molecule/omm-systems-interchange-latest/\n\n        compare_openmm_systems \\\n          --input-dir-a       \"regression_tests/small-molecule/omm-systems-toolkit-0.10.6\" \\\n          --input-dir-b       \"regression_tests/small-molecule/omm-systems-interchange-latest\" \\\n          --output            \"regression_tests/differences.json\" \\\n          --settings          \"regression_tests/default-comparison-settings.json\" \\\n          --expected-changes  \"regression_tests/toolkit-to-interchange.json\" \\\n          --n-procs           2\n\n        python devtools/scripts/molecule-regressions.py\n\n    - name: Run mypy\n      continue-on-error: true\n      if: ${{ matrix.python-version == '3.11' }}\n      run: |\n        # As of 01/23, JAX with mypy is too slow to use without a pre-built cache\n        # https://github.com/openforcefield/openff-interchange/pull/578#issuecomment-1369979875\n        micromamba remove jax\n        mypy -p \"openff.interchange\" --exclude \"openff/interchange/_tests/\"\n        mypy --show-error-codes plugins/nonbonded_plugins/\n\n    - name: Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n        fail_ci_if_error: false\n", "state": "active", "repository": "openforcefield/openff-interchange"}
{"mined_at": "2024-07-15T16:13:38.575999", "created_at": "2021-11-11T21:56:03+01:00", "updated_at": "2021-11-16T16:32:01+01:00", "name": "Tests against betas", "path": ".github/workflows/beta.yaml", "contents": "name: Tests against betas\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - macos-12\n          - ubuntu-latest\n        python-version:\n          - \"3.10\"\n          - \"3.11\"\n        pydantic-version:\n          - \"2\"\n        openeye:\n          - true\n          - false\n\n    env:\n      OE_LICENSE: ${{ github.workspace }}/oe_license.txt\n      COV: --cov=openff/interchange --cov-report=xml --cov-config=setup.cfg --cov-append\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Install conda environment\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-file: devtools/conda-envs/beta_env.yaml\n        create-args: >-\n          python=${{ matrix.python-version }}\n          pydantic=${{ matrix.pydantic-version }}\n\n    - name: Install package\n      run: |\n        micromamba remove --force openff-interchange openff-interchange-base\n        python -m pip install . plugins/\n\n    - name: Environment Information\n      run: conda info && conda list\n\n    - name: License OpenEye\n      if: ${{ matrix.openeye == true }}\n      run: |\n        echo \"${SECRET_OE_LICENSE}\" > ${OE_LICENSE}\n        python -c \"from openeye import oechem; assert oechem.OEChemIsLicensed()\"\n      env:\n        SECRET_OE_LICENSE: ${{ secrets.OE_LICENSE }}\n\n    - name: Run mypy\n      continue-on-error: true\n      run: mypy --show-error-codes --namespace-packages -p \"openff.interchange\"\n\n    - name: Run all tests\n      if: always()\n      run: python -m pytest -v $COV openff/interchange/ -m \"slow or not slow\"\n\n    - name: Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n        fail_ci_if_error: false\n", "state": "active", "repository": "openforcefield/openff-interchange"}
{"mined_at": "2024-07-15T16:13:39.701785", "created_at": "2022-03-04T18:37:49+01:00", "updated_at": "2022-03-07T16:59:38+01:00", "name": "examples", "path": ".github/workflows/examples.yaml", "contents": "name: examples\n\non:\n  push:\n    branches:\n      - main\n      - v0.3.0-staging\n  pull_request:\n    branches:\n      - main\n      - v0.3.0-staging\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - macos-12\n        python-version:\n          - \"3.10\"\n\n    env:\n      OE_LICENSE: ${{ github.workspace }}/oe_license.txt\n      INTERCHANGE_EXPERIMENTAL: \"1\"\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Install conda environment\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-file: devtools/conda-envs/examples_env.yaml\n        create-args: >-\n          python=${{ matrix.python-version }}\n\n    - name: Install package\n      run: |\n        # These packages are brought in by conda (via the toolkit) and must be removed manually\n        # since pip doesn't know about the -base split and does not uninstall the -base package\n        micromamba remove --force openff-interchange openff-interchange-base\n        python -m pip install .\n\n    - name: Environment Information\n      run: |\n        micromamba info\n        micromamba list\n\n    - name: License OpenEye\n      run: |\n        echo \"${SECRET_OE_LICENSE}\" > ${OE_LICENSE}\n        python -c \"from openeye import oechem; assert oechem.OEChemIsLicensed()\"\n      env:\n        SECRET_OE_LICENSE: ${{ secrets.OE_LICENSE }}\n\n    - name: Run docexamples\n      run: |\n        # TODO: Add back /interchange.py when `TypedMolecule` is implemented\n        pytest --doctest-modules openff/interchange/ --ignore=openff/interchange/_tests --ignore=openff/interchange/components/interchange.py\n\n    - name: Run example notebooks\n      if: always()\n      run: |\n        python -m pytest --nbval-lax --dist loadscope -n logical --durations=20 \\\n          examples/ \\\n          --ignore=examples/deprecated/ \\\n          --ignore=examples/experimental/openmmforcefields/ \\\n          --ignore=examples/lammps/ \\\n          --ignore=examples/protein_ligand/ \\\n          --ignore=examples/conformer_energies/conformer_energies.ipynb\n", "state": "active", "repository": "openforcefield/openff-interchange"}
{"mined_at": "2024-07-15T16:13:40.755870", "created_at": "2023-04-06T00:49:28+02:00", "updated_at": "2023-04-19T21:44:35+02:00", "name": "Check for API breaks", "path": ".github/workflows/changes.yaml", "contents": "name: Check for API breaks\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Check for API breaks\n      continue-on-error: true\n      run: |\n        pip install griffe\n        pip install -e .\n        griffe check \"openff.interchange\" --verbose\n", "state": "active", "repository": "openforcefield/openff-interchange"}
{"mined_at": "2024-07-15T16:13:42.978722", "created_at": "2022-02-08T21:29:33+01:00", "updated_at": "2022-02-08T21:29:33+01:00", "name": "Lint codebase", "path": ".github/workflows/lint.yaml", "contents": "name: 'Lint codebase'\n\non:\n  pull_request:\n    branches: [ \"dev\", \"refactoring\" ]\n  push:\n    branches: [ \"dev\", \"refactoring\" ]\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n      - uses: pre-commit/actions@v3.0.1\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:44.207715", "created_at": "2023-02-15T13:11:25+01:00", "updated_at": "2023-02-15T13:11:25+01:00", "name": "publish", "path": ".github/workflows/publish.yaml", "contents": "name: publish\n\non:\n  release:\n    types: [ published ]\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n      - name: Build distribution\n        run: pipx run build\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:45.335480", "created_at": "2023-06-09T17:15:17+02:00", "updated_at": "2023-06-15T08:59:38+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches: [\"dev\", \"refactoring\"]\n  pull_request:\n    branches: [\"dev\", \"refactoring\"]\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    name: Test on ${{ matrix.os }} with Python ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n    steps:\n      - uses: actions/checkout@v4\n      - uses: snok/install-poetry@v1\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: poetry\n      - name: Run unit tests\n        run: make test\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:46.361947", "created_at": "2024-05-15T16:49:11+02:00", "updated_at": "2024-05-22T15:35:14+02:00", "name": "CLI Tests", "path": ".github/workflows/test_cli.yml", "contents": "name: CLI Tests\n\non:\n  push:\n    branches: [\"dev\", \"refactoring\"]\n  pull_request:\n    branches: [\"dev\", \"refactoring\"]\n    types: [opened, synchronize, reopened, ready_for_review]\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\nenv:\n  POETRY_VERSION: '1.8.3'\n  PYTHON_VERSION: '3.11'\n\njobs:\n  test-cli:\n    if: github.event.pull_request.draft == false\n    runs-on:\n      - self-hosted\n      - Linux\n      - ubuntu\n      - cpu\n    steps:\n      - uses: actions/checkout@v4\n      - uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Run CLI tests\n        run: |\n          source /builds/miniconda3/etc/profile.d/conda.sh\n          make env.conda\n          conda activate \"${{ github.workspace }}\"/env\n          make install\n          cd tests\n          poetry run pytest \\\n          --junitxml=./test-reports/test_cli_report.xml \\\n          --disable-warnings \\\n          --verbose \\\n          test_cli.py\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:47.484423", "created_at": "2024-05-22T15:57:56+02:00", "updated_at": "2024-05-24T12:06:07+02:00", "name": "Generate Tests", "path": ".github/workflows/test_generate.yml", "contents": "name: Generate Tests\n\non:\n  push:\n    branches: [\"dev\", \"refactoring\"]\n  pull_request:\n    branches: [\"dev\", \"refactoring\"]\n    types: [opened, synchronize, reopened, ready_for_review]\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\nenv:\n  POETRY_VERSION: '1.8.3'\n  PYTHON_VERSION: '3.11'\n\njobs:\n  test-generate:\n    if: github.event.pull_request.draft == false\n    runs-on:\n      - self-hosted\n      - Linux\n      - ubuntu\n      - cpu\n    steps:\n      - uses: actions/checkout@v4\n      - uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Run tests for generate task\n        run: |\n          source /builds/miniconda3/etc/profile.d/conda.sh\n          make env.conda\n          conda activate \"${{ github.workspace }}\"/env\n          make install\n          cd tests\n          poetry run pytest \\\n          --junitxml=./test-reports/test_generate_report.xml \\\n          --disable-warnings \\\n          --verbose \\\n          --basetemp=$HOME/tmp/generate \\\n          --input_data_directory=/mnt/data/data_ci \\\n          test_generate.py\n      - name: Cleaning\n        run: |\n          rm -rf $HOME/tmp/generate\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:48.615775", "created_at": "2024-05-23T14:48:17+02:00", "updated_at": "2024-05-23T15:51:56+02:00", "name": "Interpretation Tests (GPU)", "path": ".github/workflows/test_interpret.yml", "contents": "name: Interpretation Tests (GPU)\n\non:\n  push:\n    branches: [\"dev\", \"refactoring\"]\n  pull_request:\n    branches: [\"dev\", \"refactoring\"]\n    types: [opened, synchronize, reopened, ready_for_review]\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\nenv:\n  POETRY_VERSION: '1.8.3'\n  PYTHON_VERSION: '3.11'\n\njobs:\n  test-interpret-gpu:\n    if: github.event.pull_request.draft == false\n    runs-on:\n      - self-hosted\n      - Linux\n      - ubuntu\n      - gpu\n    steps:\n      - uses: actions/checkout@v4\n      - uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Run tests for Interpret task on GPU\n        run: |\n          source \"${HOME}/miniconda3/etc/profile.d/conda.sh\"\n          make env.conda\n          conda activate \"${{ github.workspace }}\"/env\n          make install\n          cd tests\n          poetry run pytest \\\n          --junitxml=./test-reports/test_interpret_report.xml \\\n          --disable-warnings \\\n          --verbose \\\n          --basetemp=$HOME/actions_runner_workdir/interpret \\\n          --input_data_directory=/mnt/data/clinicadl_data_ci/data_ci \\\n          test_interpret.py\n      - name: Cleaning\n        run: |\n          rm -rf $HOME/actions_runner_workdir/interpret/*\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:49.839990", "created_at": "2024-05-22T15:57:56+02:00", "updated_at": "2024-05-24T12:06:07+02:00", "name": "Predict Tests", "path": ".github/workflows/test_predict.yml", "contents": "name: Predict Tests\n\non:\n  push:\n    branches: [\"dev\", \"refactoring\"]\n  pull_request:\n    branches: [\"dev\", \"refactoring\"]\n    types: [opened, synchronize, reopened, ready_for_review]\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\nenv:\n  POETRY_VERSION: '1.8.3'\n  PYTHON_VERSION: '3.11'\n\njobs:\n  test-predict:\n    if: github.event.pull_request.draft == false\n    runs-on:\n      - self-hosted\n      - Linux\n      - ubuntu\n      - cpu\n    steps:\n      - uses: actions/checkout@v4\n      - uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Run tests for predict task\n        run: |\n          source /builds/miniconda3/etc/profile.d/conda.sh\n          make env.conda\n          conda activate \"${{ github.workspace }}\"/env\n          make install\n          cd tests\n          poetry run pytest \\\n          --junitxml=./test-reports/test_predict_report.xml \\\n          --disable-warnings \\\n          --verbose \\\n          --basetemp=$HOME/tmp/predict \\\n          --input_data_directory=/mnt/data/data_ci \\\n          test_predict.py\n      - name: Cleaning\n        run: |\n          rm -rf $HOME/tmp/predict/*\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:50.923874", "created_at": "2024-05-22T15:57:56+02:00", "updated_at": "2024-05-24T12:06:07+02:00", "name": "Prepare data Tests", "path": ".github/workflows/test_prepare_data.yml", "contents": "name: Prepare data Tests\n\non:\n  push:\n    branches: [\"dev\", \"refactoring\"]\n  pull_request:\n    branches: [\"dev\", \"refactoring\"]\n    types: [opened, synchronize, reopened, ready_for_review]\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\nenv:\n  POETRY_VERSION: '1.8.3'\n  PYTHON_VERSION: '3.11'\n\njobs:\n  test-prepare-data:\n    if: github.event.pull_request.draft == false\n    runs-on:\n      - self-hosted\n      - Linux\n      - ubuntu\n      - cpu\n    steps:\n      - uses: actions/checkout@v4\n      - uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Run tests for prepare data task\n        run: |\n          source /builds/miniconda3/etc/profile.d/conda.sh\n          make env.conda\n          conda activate \"${{ github.workspace }}\"/env\n          make install\n          cd tests\n          poetry run pytest \\\n          --junitxml=./test-reports/test_prepare_data_report.xml \\\n          --disable-warnings \\\n          --verbose \\\n          --basetemp=$HOME/tmp/prepare_data \\\n          --input_data_directory=/mnt/data/data_ci \\\n          test_prepare_data.py\n      - name: Cleaning\n        run: |\n          rm -rf $HOME/tmp/prepare_data/*\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:51.990092", "created_at": "2024-05-22T15:57:56+02:00", "updated_at": "2024-05-24T12:06:07+02:00", "name": "Quality Check Tests", "path": ".github/workflows/test_quality_checks.yml", "contents": "name: Quality Check Tests\n\non:\n  push:\n    branches: [\"dev\", \"refactoring\"]\n  pull_request:\n    branches: [\"dev\", \"refactoring\"]\n    types: [opened, synchronize, reopened, ready_for_review]\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\nenv:\n  POETRY_VERSION: '1.8.3'\n  PYTHON_VERSION: '3.11'\n\njobs:\n  test-quality-check:\n    if: github.event.pull_request.draft == false\n    runs-on:\n      - self-hosted\n      - Linux\n      - ubuntu\n      - cpu\n    steps:\n      - uses: actions/checkout@v4\n      - uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Run tests for Quality Check\n        run: |\n          source /builds/miniconda3/etc/profile.d/conda.sh\n          make env.conda\n          conda activate \"${{ github.workspace }}\"/env\n          make install\n          cd tests\n          poetry run pytest \\\n          --junitxml=./test-reports/test_quality_check_report.xml \\\n          --disable-warnings \\\n          --verbose \\\n          --basetemp=$HOME/tmp/quality_checks \\\n          --input_data_directory=/mnt/data/data_ci \\\n          test_qc.py\n      - name: Cleaning\n        run: |\n          rm -rf $HOME/tmp/quality_checks/*\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:53.117224", "created_at": "2024-05-23T14:48:17+02:00", "updated_at": "2024-05-23T15:51:56+02:00", "name": "Random Search Tests (GPU)", "path": ".github/workflows/test_random_search.yml", "contents": "name: Random Search Tests (GPU)\n\non:\n  push:\n    branches: [\"dev\", \"refactoring\"]\n  pull_request:\n    branches: [\"dev\", \"refactoring\"]\n    types: [opened, synchronize, reopened, ready_for_review]\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\nenv:\n  POETRY_VERSION: '1.8.3'\n  PYTHON_VERSION: '3.11'\n\njobs:\n  test-random-search-gpu:\n    if: github.event.pull_request.draft == false\n    runs-on:\n      - self-hosted\n      - Linux\n      - ubuntu\n      - gpu\n    steps:\n      - uses: actions/checkout@v4\n      - uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Run Random Search tests on GPU\n        run: |\n          source \"${HOME}/miniconda3/etc/profile.d/conda.sh\"\n          make env.conda\n          conda activate \"${{ github.workspace }}\"/env\n          make install\n          cd tests\n          poetry run pytest \\\n          --junitxml=./test-reports/test_random_search_report.xml \\\n          --disable-warnings \\\n          --verbose \\\n          --basetemp=$HOME/actions_runner_workdir/random_search \\\n          --input_data_directory=/mnt/data/clinicadl_data_ci/data_ci \\\n          test_random_search.py\n      - name: Cleaning\n        run: |\n          rm -rf $HOME/actions_runner_workdir/random_search/*\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:54.345567", "created_at": "2024-05-23T14:48:17+02:00", "updated_at": "2024-05-23T15:51:56+02:00", "name": "Resume Tests (GPU)", "path": ".github/workflows/test_resume.yml", "contents": "name: Resume Tests (GPU)\n\non:\n  push:\n    branches: [\"dev\", \"refactoring\"]\n  pull_request:\n    branches: [\"dev\", \"refactoring\"]\n    types: [opened, synchronize, reopened, ready_for_review]\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\nenv:\n  POETRY_VERSION: '1.8.3'\n  PYTHON_VERSION: '3.11'\n\njobs:\n  test-resume-gpu:\n    if: github.event.pull_request.draft == false\n    runs-on:\n      - self-hosted\n      - Linux\n      - ubuntu\n      - gpu\n    steps:\n      - uses: actions/checkout@v4\n      - uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Run resume tests on GPU\n        run: |\n          source \"${HOME}/miniconda3/etc/profile.d/conda.sh\"\n          make env.conda\n          conda activate \"${{ github.workspace }}\"/env\n          make install\n          cd tests\n          poetry run pytest \\\n          --junitxml=./test-reports/test_resume_report.xml \\\n          --disable-warnings \\\n          --verbose \\\n          --basetemp=$HOME/actions_runner_workdir/resume \\\n          --input_data_directory=/mnt/data/clinicadl_data_ci/data_ci \\\n          test_resume.py\n      - name: Cleaning\n        run: |\n          rm -rf $HOME/actions_runner_workdir/resume/*\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:55.466244", "created_at": "2024-05-23T09:29:39+02:00", "updated_at": "2024-05-30T19:32:48+02:00", "name": "Train Tests (GPU)", "path": ".github/workflows/test_train.yml", "contents": "name: Train Tests (GPU)\n\non:\n  push:\n    branches: [\"dev\", \"refactoring\"]\n  pull_request:\n    branches: [\"dev\", \"refactoring\"]\n    types: [opened, synchronize, reopened, ready_for_review]\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\nenv:\n  POETRY_VERSION: '1.8.3'\n  PYTHON_VERSION: '3.11'\n\njobs:\n  test-train-gpu:\n    if: github.event.pull_request.draft == false\n    runs-on:\n      - self-hosted\n      - Linux\n      - ubuntu\n      - gpu\n    steps:\n      - uses: actions/checkout@v4\n      - uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Run tests for Train on GPU\n        run: |\n          source \"${HOME}/miniconda3/etc/profile.d/conda.sh\"\n          make env.conda\n          conda activate \"${{ github.workspace }}\"/env\n          make install\n          cd tests\n          poetry run pytest \\\n          --junitxml=./test-reports/test_train_report.xml \\\n          --disable-warnings \\\n          --verbose \\\n          --basetemp=$HOME/actions_runner_workdir/train \\\n          --input_data_directory=/mnt/data/clinicadl_data_ci/data_ci \\\n          -k test_train\n      - name: Cleaning\n        run: |\n          rm -rf $HOME/actions_runner_workdir/train/*\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:56.540545", "created_at": "2024-05-23T14:48:17+02:00", "updated_at": "2024-05-23T15:51:56+02:00", "name": "Transfer Learning Tests (GPU)", "path": ".github/workflows/test_transfer_learning.yml", "contents": "name: Transfer Learning Tests (GPU)\n\non:\n  push:\n    branches: [\"dev\", \"refactoring\"]\n  pull_request:\n    branches: [\"dev\", \"refactoring\"]\n    types: [opened, synchronize, reopened, ready_for_review]\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\nenv:\n  POETRY_VERSION: '1.8.3'\n  PYTHON_VERSION: '3.11'\n\njobs:\n  test-transfer-learning-gpu:\n    if: github.event.pull_request.draft == false\n    runs-on:\n      - self-hosted\n      - Linux\n      - ubuntu\n      - gpu\n    steps:\n      - uses: actions/checkout@v4\n      - uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Run tests for Transfer Learning on GPU\n        run: |\n          source \"${HOME}/miniconda3/etc/profile.d/conda.sh\"\n          make env.conda\n          conda activate \"${{ github.workspace }}\"/env\n          make install\n          cd tests\n          poetry run pytest \\\n          --junitxml=./test-reports/test_transfer_learning_report.xml \\\n          --disable-warnings \\\n          --verbose \\\n          --basetemp=$HOME/actions_runner_workdir/transfer_learning \\\n          --input_data_directory=/mnt/data/clinicadl_data_ci/data_ci \\\n          test_transfer_learning.py\n      - name: Cleaning\n        run: |\n          rm -rf $HOME/actions_runner_workdir/transfer_learning/*\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:57.724672", "created_at": "2024-05-16T13:46:50+02:00", "updated_at": "2024-05-22T15:35:14+02:00", "name": "TSV Tools Tests", "path": ".github/workflows/test_tsvtools.yml", "contents": "name: TSV Tools Tests\n\non:\n  push:\n    branches: [\"dev\", \"refactoring\"]\n  pull_request:\n    branches: [\"dev\", \"refactoring\"]\n    types: [opened, synchronize, reopened, ready_for_review]\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\nenv:\n  POETRY_VERSION: '1.8.3'\n  PYTHON_VERSION: '3.11'\n\njobs:\n  test-tsvtools:\n    if: github.event.pull_request.draft == false\n    runs-on:\n      - self-hosted\n      - Linux\n      - ubuntu\n      - cpu\n    steps:\n      - uses: actions/checkout@v4\n      - uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Run tests for TSV tools\n        run: |\n          source /builds/miniconda3/etc/profile.d/conda.sh\n          make env.conda\n          conda activate \"${{ github.workspace }}\"/env\n          make install\n          cd tests\n          poetry run pytest \\\n          --junitxml=./test-reports/test_tsvtools_report.xml \\\n          --disable-warnings \\\n          --verbose \\\n          --basetemp=$HOME/tmp/tsv_tools \\\n          --input_data_directory=/mnt/data/data_ci \\\n          test_tsvtools.py\n      - name: Cleaning\n        run: |\n          rm -rf $HOME/tmp/tsv_tools/*\n", "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:13:58.819363", "created_at": "2024-07-15T09:44:27+02:00", "updated_at": "2024-07-15T09:44:27+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "aramis-lab/clinicadl"}
{"mined_at": "2024-07-15T16:14:01.104078", "created_at": "2023-08-10T15:40:34+02:00", "updated_at": "2023-08-25T17:19:25+02:00", "name": "Tests and Linters 🧪", "path": ".github/workflows/tests_linters.yaml", "contents": "name: Tests and Linters 🧪\n\non: [ push, pull_request ]\n\njobs:\n  tests-and-linters:\n    name: \"Python ${{ matrix.python-version }} on ${{ matrix.os }}\"\n    runs-on: \"${{ matrix.os }}\"\n    timeout-minutes: 10\n\n    strategy:\n      matrix:\n        python-version: [\"3.9\"]\n        os: [ubuntu-latest]\n\n    steps:\n      - name: Checkout mava\n        uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n            python-version: \"${{ matrix.python-version }}\"\n      - name: Install python dependencies 🔧\n        run: pip install .[dev]\n      - name: Run linters 🖌️\n        run: pre-commit run --all-files --verbose\n", "state": "active", "repository": "instadeepai/mava"}
{"mined_at": "2024-07-15T16:14:03.356339", "created_at": "2021-12-10T11:41:26+01:00", "updated_at": "2021-12-10T11:41:26+01:00", "name": "IoGT", "path": ".github/workflows/config.yml", "contents": "name: IoGT\n\non:\n  push:\n    branches:\n      - develop\n      - release/**\n  pull_request:\n    branches:\n      - develop\n\njobs:\n\n  django-unit-tests:\n    runs-on: ubuntu-latest\n    env:\n      IOGT_TEST_PARALLEL: \"2\"\n    steps:\n      - uses: actions/checkout@v4\n      - run: make test\n\n  selenium-tests:\n    runs-on: ubuntu-latest\n    env:\n      IOGT_TEST_PARALLEL: \"1\"\n    steps:\n      - uses: actions/checkout@v4\n      - run: make selenium-test\n", "state": "active", "repository": "unicef/iogt"}
{"mined_at": "2024-07-15T16:14:04.482764", "created_at": "2024-07-11T15:22:45+02:00", "updated_at": "2024-07-11T15:22:45+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "unicef/iogt"}
{"mined_at": "2024-07-15T16:14:06.840289", "created_at": "2023-05-28T16:03:10+02:00", "updated_at": "2023-05-28T16:12:03+02:00", "name": "Build packages", "path": ".github/workflows/build.yml", "contents": "name: Build packages\n\non:\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'main/**'\n      - 'contrib/**'\n      - 'user/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: Build packages\n    runs-on: ubuntu-latest\n    if: \"!contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')\"\n\n    steps:\n      - name: Install dependencies\n        run: sudo apt-get update && sudo apt-get install python3.11 openssl git bubblewrap wget\n\n      - name: Checkout\n        uses: classabbyamp/treeless-checkout-action@v1\n\n      - name: Cache cbuild data\n        id: cache-cbuild\n        uses: actions/cache@v4\n        env:\n          cache-name: cache-cbuild-data\n        with:\n          path: |\n            ./cbuild_cache\n            ./sources\n          key: ${{ runner.os }}-build-${{ env.cache-name }}\n\n      - name: Set up cbuild configuration\n        run: sh .ci/setup-cbuild.sh\n\n      - name: Cycle check\n        run: env PYTHONUNBUFFERED=1 python3.11 cbuild cycle-check\n\n      - name: Symlink check\n        run: env PYTHONUNBUFFERED=1 python3.11 cbuild relink-subpkgs && git diff --exit-code\n\n      - name: Build and test packages\n        run: env PYTHONUNBUFFERED=1 python3.11 cbuild --update-check -t bulk-pkg 'git:master..+!\\[ci skip\\]'\n", "state": "active", "repository": "chimera-linux/cports"}
{"mined_at": "2024-07-15T16:14:08.066975", "created_at": "2023-05-28T15:08:30+02:00", "updated_at": "2023-05-28T17:23:14+02:00", "name": "Lint tree and check format", "path": ".github/workflows/lint.yml", "contents": "name: Lint tree and check format\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'main/**'\n      - 'contrib/**'\n      - 'user/**'\n      - 'src/**'\n\n  pull_request:\n    branches:\n      - master\n    paths:\n      - 'main/**'\n      - 'contrib/**'\n      - 'user/**'\n      - 'src/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    name: Lint tree and check format\n    runs-on: ubuntu-latest\n    steps:\n      - name: Refresh packages\n        run: sudo apt-get update && sudo apt-get install python3-pip\n\n      - name: Install dependencies\n        run: sudo pip3 install black flake8\n\n      - name: Checkout\n        uses: classabbyamp/treeless-checkout-action@v1\n\n      - name: Lint tree and check format\n        run: sh .ci/lint.sh\n", "state": "active", "repository": "chimera-linux/cports"}
{"mined_at": "2024-07-15T16:14:10.422403", "created_at": "2024-04-11T10:51:22+02:00", "updated_at": "2024-04-11T10:51:22+02:00", "name": "Build release assets", "path": ".github/workflows/build_release_assets.yml", "contents": "name: Build release assets\n\n# This workflow is used by the ci and tag workflows to build all release\n# assets. It can also be triggered manually.\n\non:\n  workflow_call:\n    inputs:\n      release_mode:\n        description: 'Release mode (signed binaries, no commit sha in version number)'\n        type: boolean\n        default: false\n  workflow_dispatch:\n    inputs:\n      release_mode:\n        description: 'Release mode (signed binaries, no commit sha in version number)'\n        type: boolean\n        default: false\n\njobs:\n  build_wheel_sdist:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install packaging tools\n        run: |\n          pip install build\n\n      - name: Create packages\n        run: |\n          python -m build\n\n      - name: Upload packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: |\n            dist\n\n  build_os_packages:\n    name: Build packages\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-22.04\n          - os: windows-2022\n          - os: macos-13\n            arch: x86_64\n            sha256sum:\n              python: 6378dfd22f58bb553ddb02be28304d739cd730c1f95c15c74955c923a1bc3d6a\n              rcodesign: bca6e648afaddd48f1c3d5dd25aa516659992cbbd2ba7131ba6add739aa895d3\n          - os: macos-14\n            arch: aarch64\n            sha256sum:\n              python: 5fdc0f6a5b5a90fd3c528e8b1da8e3aac931ea8690126c2fdb4254c84a3ff04a\n              rcodesign: 163520079cd6ad1427791c792735a6ddfcb8eca0187bbcf0cc0bebfa4a62153d\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # Get enough commits to run `ggshield secret scan commit-range` on ourselves\n          fetch-depth: 10\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        if: \"!startsWith(matrix.os, 'macos-')\"\n        with:\n          python-version: '3.10'\n\n      - name: Install macOS specific dependencies\n        if: startsWith(matrix.os, 'macos-')\n        run: |\n          # scripts/download needs the `sha256sum` command\n          brew install coreutils\n\n          # Install Python. We don't use actions/setup-python because on M1\n          # macs it installs the Framework version of Python, and the binaries\n          # produced with that version do not pass Apple notarization step.\n          # (tested with actions/setup-python@v4 and @v5)\n          PYTHON_VERSION=3.10.13\n          PYTHON_BUILD=20240224\n\n          scripts/download \\\n            https://github.com/indygreg/python-build-standalone/releases/download/${PYTHON_BUILD}/cpython-${PYTHON_VERSION}+${PYTHON_BUILD}-${{ matrix.arch }}-apple-darwin-install_only.tar.gz \\\n            python.tar.gz \\\n            ${{ matrix.sha256sum.python }}\n\n          tar xf python.tar.gz\n\n          # Make Python available\n          echo PATH=$PWD/python/bin:$PATH >> $GITHUB_ENV\n\n          # Install rcodesign\n          RCODESIGN_VERSION=0.27.0\n\n          scripts/download \\\n            https://github.com/indygreg/apple-platform-rs/releases/download/apple-codesign%2F${RCODESIGN_VERSION}/apple-codesign-${RCODESIGN_VERSION}-${{ matrix.arch }}-apple-darwin.tar.gz \\\n            rcodesign.tar.gz \\\n            ${{ matrix.sha256sum.rcodesign }}\n\n          tar --strip-components=1 -xzf rcodesign.tar.gz\n\n          # Make it available\n          cp rcodesign /usr/local/bin\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade \\\n            pipenv==2023.12.1 \\\n            pyinstaller==6.7.0\n          pipenv install --system --dev\n        env:\n          # Disable lock otherwise Windows-only dependencies like colorama are not installed\n          PIPENV_SKIP_LOCK: 1\n\n      - name: Install Linux specific dependencies\n        if: matrix.os == 'ubuntu-22.04'\n        run: |\n          NFPM_VERSION=2.36.1\n          NFPM_CHECKSUM=05c17a1e09c470807b149fdd7bcd8f600eea044f459fc3ce81aa230103c0baf5\n\n          scripts/download \\\n            https://github.com/goreleaser/nfpm/releases/download/v${NFPM_VERSION}/nfpm_${NFPM_VERSION}_amd64.deb \\\n            nfpm.deb \\\n            $NFPM_CHECKSUM\n\n          sudo dpkg -i nfpm.deb\n\n      - name: Prepare macOS secrets\n        if: startsWith(matrix.os, 'macos-') && inputs.release_mode\n        run: |\n          set -euo pipefail\n          SECRETS_DIR=$TMPDIR/secrets\n          mkdir \"$SECRETS_DIR\"\n          # Prepare our secret files\n          # The p12-file is base64-encoded because it's binary\n          echo \"$MACOS_P12_FILE\" | base64 --decode > \"$SECRETS_DIR/cert.p12\"\n          echo \"$MACOS_P12_PASSWORD\" > \"$SECRETS_DIR/cert.pwd\"\n          echo \"$MACOS_API_KEY_FILE\" > \"$SECRETS_DIR/rcodesign-notarize-key.json\"\n\n          # Tell next steps where to find them\n          cat >> $GITHUB_ENV <<EOF\n          MACOS_P12_FILE=$SECRETS_DIR/cert.p12\n          MACOS_P12_PASSWORD_FILE=$SECRETS_DIR/cert.pwd\n          MACOS_API_KEY_FILE=$SECRETS_DIR/rcodesign-notarize-key.json\n          EOF\n        env:\n          MACOS_P12_FILE: ${{ secrets.MACOS_P12_FILE }}\n          MACOS_P12_PASSWORD: ${{ secrets.MACOS_P12_PASSWORD }}\n          MACOS_API_KEY_FILE: ${{ secrets.MACOS_API_KEY_FILE }}\n\n      - name: Setup Windows environment\n        if: startsWith(matrix.os, 'windows-') && inputs.release_mode\n        shell: bash\n        run: |\n          signtool_install_dir=\"/c/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64\"\n          smctl_install_dir=\"/c/Program Files/DigiCert/DigiCert Keylocker Tools\"\n\n          # Add signtool dir to $PATH\n          if [ ! -x \"$signtool_install_dir/signtool.exe\" ] ; then\n            echo \"signtool.exe is not in '$signtool_install_dir'\"\n            exit 1\n          fi\n          echo \"$signtool_install_dir\" >> $GITHUB_PATH\n\n          # Add smctl dir to $PATH\n          # Don't test if smctl is there: it is installed by the next step\n          echo \"$smctl_install_dir\" >> $GITHUB_PATH\n\n          # Create our certificate file\n          cert_file=\"$TMPDIR/cert.p12\"\n          echo \"${{ secrets.SM_CLIENT_CERT_FILE }}\" | base64 --decode > \"$cert_file\"\n\n          # Add secrets to env\n          cat >> $GITHUB_ENV <<EOF\n          WINDOWS_CERT_FINGERPRINT=${{ secrets.WINDOWS_CERT_FINGERPRINT }}\n          SM_API_KEY=${{ secrets.SM_API_KEY }}\n          SM_HOST=${{ secrets.SM_HOST }}\n          SM_CLIENT_CERT_FILE=$cert_file\n          SM_CLIENT_CERT_PASSWORD=${{ secrets.SM_CLIENT_CERT_PASSWORD }}\n          EOF\n\n      - name: Install Windows dependencies\n        if: startsWith(matrix.os, 'windows-') && inputs.release_mode\n        shell: bash\n        run: |\n          scripts/build-os-packages/install-keylockertools\n\n      - name: Build\n        shell: bash\n        run: |\n          if [ \"${{ inputs.release_mode }}\" = \"true\" ] ; then\n            args=\"--sign\"\n          else\n            args=\"--git-version\"\n          fi\n          scripts/build-os-packages/build-os-packages $args\n\n      - name: Override base Docker image used for functional tests on Windows\n        if: matrix.os == 'windows-2022'\n        # This is required because GitHub Windows runner is not configured to\n        # run Linux-based Docker images\n        shell: bash\n        run: |\n          echo \"GGTEST_DOCKER_IMAGE=mcr.microsoft.com/windows/nanoserver:ltsc2022\" >> $GITHUB_ENV\n\n      - name: Functional tests\n        shell: bash\n        # See note about steps requiring the GITGUARDIAN_API at the top of this file\n        if: ${{ !github.event.pull_request.head.repo.fork }}\n        run: |\n          scripts/build-os-packages/build-os-packages functests\n        env:\n          GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}\n          GITGUARDIAN_API_URL: ${{ secrets.GITGUARDIAN_API_URL }}\n          TEST_KNOWN_SECRET: ${{ secrets.TEST_KNOWN_SECRET }}\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: os-packages-${{ matrix.os }}\n          path: |\n            packages/ggshield-*.gz\n            packages/ggshield-*.pkg\n            packages/ggshield-*.zip\n            packages/ggshield-*.rpm\n            packages/ggshield_*.deb\n", "state": "active", "repository": "gitguardian/ggshield"}
{"mined_at": "2024-07-15T16:14:11.548452", "created_at": "2023-03-27T15:28:41+02:00", "updated_at": "2023-03-29T10:57:45+02:00", "name": "Changelog check", "path": ".github/workflows/changelog-check.yml", "contents": "# This workflow only accepts PRs if they either contain a changelog fragment,\n# or have been applied the `skip-changelog` label.\nname: Changelog check\n\non:\n  pull_request:\n    types:\n      # On by default if you specify no types.\n      - 'opened'\n      - 'reopened'\n      - 'synchronize'\n      # For `skip-changelog` only.\n      - 'labeled'\n      - 'unlabeled'\n\njobs:\n  check-changelog:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: 'Check for changelog fragment'\n        uses: brettcannon/check-for-changed-files@v1.1.0\n        with:\n          file-pattern: |\n            changelog.d/*.md\n            CHANGELOG.md\n          skip-label: 'skip-changelog'\n          failure-message: 'Missing a changelog fragment in ${file-pattern}. Please add one using `scriv create` or apply the `${skip-label}` label to the pull request'\n", "state": "active", "repository": "gitguardian/ggshield"}
{"mined_at": "2024-07-15T16:14:12.777716", "created_at": "2023-05-15T16:29:08+02:00", "updated_at": "2023-08-09T12:33:18+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\n# About steps requiring the GITGUARDIAN_API_KEY:\n#\n# For security reasons, secrets are not available when a workflow is triggered by a pull request from a fork. This\n# causes all steps requiring the GITGUARDIAN_API_KEY to fail. To avoid this, we skip those steps when we are triggered\n# by a pull request from a fork.\n\non:\n  pull_request:\n  push:\n    branches:\n      - '*'\n    tags-ignore:\n      - '*'\n    paths-ignore:\n      - 'doc/**'\n      - 'README.md'\n\njobs:\n  lint:\n    name: Lint package\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install pipenv==2023.12.1 pre-commit\n          pipenv install --dev --skip-lock\n\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}\n\n      - name: Install pre-commit hooks\n        run: pre-commit install --install-hooks\n\n      - name: Skip ggshield hooks when running from a fork\n        # See note about steps requiring the GITGUARDIAN_API at the top of this file\n        if: ${{ github.event.pull_request.head.repo.fork }}\n        run: |\n          echo \"SKIP=ggshield,ggshield-local\" >> $GITHUB_ENV\n\n      - name: Run pre-commit checks\n        run: |\n          pre-commit run --show-diff-on-failure --all-files\n        env:\n          GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}\n\n      - name: Check commit messages\n        if: github.event_name == 'pull_request'\n        run: |\n          PR_REF=\"${GITHUB_REF%/merge}/head\"\n          git fetch origin \"$PR_REF\"\n          if git log --format=%s \"origin/$GITHUB_BASE_REF..FETCH_HEAD\" | grep '^fixup!' ; then\n              echo 'Error: this pull request contains fixup commits. Squash them.'\n              exit 1\n          fi\n          # In case `git log` fails\n          exit \"${PIPESTATUS[0]}\"\n\n  build:\n    name: Build and Test\n    runs-on: ${{ matrix.os }}\n    env:\n      # We skip pipenv lockfile by default, because a Pipfile.lock should only\n      # be used for the Python version it was generated for.\n      PIPENV_SKIP_LOCK: 1\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-22.04, macos-13, windows-2022]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # Get enough commits to run `ggshield secret scan commit-range` on ourselves\n          fetch-depth: 10\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Use Pipfile.lock on locked version of Python\n        # Keep version in sync with scripts/update-pipfile-lock/Dockerfile\n        if: matrix.python-version == '3.10'\n        run: |\n          echo \"PIPENV_SKIP_LOCK=0\" >> $GITHUB_ENV\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade pipenv==2023.12.1\n          pipenv install --system --dev\n          # Hack: workaround urllib3 still being installed on windows-2022 builder\n          pip install --force-reinstall 'urllib3<2'\n      - name: Install Windows dev dependencies\n        if: matrix.os == 'windows-2022'\n        run: |\n          # Those are win32-only dependencies from pytest\n          python -m pip install atomicwrites colorama\n\n      - name: Override base Docker image used for functional tests on Windows\n        if: matrix.os == 'windows-2022'\n        # This is required because GitHub Windows runner is not configured to\n        # run Linux-based Docker images\n        shell: bash\n        run: |\n          echo \"GGTEST_DOCKER_IMAGE=mcr.microsoft.com/windows/nanoserver:ltsc2022\" >> $GITHUB_ENV\n\n      - name: Ensure a clean package installation\n        run: |\n          pip install build wheel check-wheel-contents\n          python -m build --wheel\n          # The created wheel (.whl) file will be found and analyzed within the `dist/` folder\n          check-wheel-contents dist/\n\n      - name: Run unit tests\n        run: |\n          coverage run --source ggshield -m pytest --disable-pytest-warnings --disable-socket tests/unit\n\n      - name: Gather coverage report\n        run: |\n          coverage report --fail-under=80\n          coverage xml\n\n      - uses: codecov/codecov-action@v3\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n      - name: Run functional tests\n        # See note about steps requiring the GITGUARDIAN_API at the top of this file\n        if: ${{ !github.event.pull_request.head.repo.fork }}\n        shell: bash\n        run: |\n          make functest\n        env:\n          GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}\n          GITGUARDIAN_API_URL: ${{ secrets.GITGUARDIAN_API_URL }}\n          TEST_KNOWN_SECRET: ${{ secrets.TEST_KNOWN_SECRET }}\n\n  build_os_packages:\n    uses: ./.github/workflows/build_release_assets.yml\n    secrets: inherit\n\n  test_github_secret_scan_action:\n    name: Test GitHub action for `secret scan`\n    # See note about steps requiring the GITGUARDIAN_API at the top of this file\n    if: ${{ !github.event.pull_request.head.repo.fork }}\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Scan commits for hardcoded secrets\n        uses: ./actions-unstable/secret\n        env:\n          GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}\n          GITHUB_PUSH_BASE_SHA: ${{ github.event.base }}\n          GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}\n          GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}\n          GITGUARDIAN_API_URL: ${{ secrets.GITGUARDIAN_API_URL }}\n\n  test_github_iac_scan_action:\n    name: Test GitHub action for `iac scan`\n    # See note about steps requiring the GITGUARDIAN_API at the top of this file\n    if: ${{ !github.event.pull_request.head.repo.fork }}\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Scan commits for IaC vulnerabilities\n        uses: ./actions-unstable/iac\n        with:\n          args: .\n        env:\n          GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}\n          GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}\n          GITGUARDIAN_API_URL: ${{ secrets.GITGUARDIAN_API_URL }}\n\n  test_github_sca_scan_action:\n    name: Test GitHub action for `sca scan`\n    # See note about steps requiring the GITGUARDIAN_API at the top of this file\n    if: ${{ !github.event.pull_request.head.repo.fork }}\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Scan commits for SCA vulnerabilities\n        uses: ./actions-unstable/sca\n        with:\n          args: .\n        env:\n          GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}\n          GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}\n          GITGUARDIAN_API_URL: ${{ secrets.GITGUARDIAN_API_URL }}\n\n  dockerhub-unstable:\n    name: Push Docker image to Docker Hub\n    runs-on: ubuntu-22.04\n    if: github.ref == 'refs/heads/main' && github.event_name == 'push'\n    needs:\n      - lint\n      - build\n      - test_github_iac_scan_action\n      - test_github_sca_scan_action\n      - test_github_secret_scan_action\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Build and push\n        uses: docker/build-push-action@v1\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n          repository: gitguardian/ggshield\n          tags: unstable\n\n  github_packages-unstable:\n    name: Push Docker image to GitHub Packages\n    runs-on: ubuntu-22.04\n    if: github.ref == 'refs/heads/main' && github.event_name == 'push'\n    needs:\n      - lint\n      - build\n      - test_github_iac_scan_action\n      - test_github_sca_scan_action\n      - test_github_secret_scan_action\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n      - name: Push to GitHub Packages\n        uses: docker/build-push-action@v1\n        with:\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n          registry: docker.pkg.github.com\n          repository: gitguardian/ggshield/ggshield\n          tags: unstable\n", "state": "active", "repository": "gitguardian/ggshield"}
{"mined_at": "2024-07-15T16:14:13.892312", "created_at": "2024-04-10T11:01:54+02:00", "updated_at": "2024-04-18T15:04:46+02:00", "name": ".github/workflows/faketag.yml", "path": ".github/workflows/faketag.yml", "contents": null, "state": "active", "repository": "gitguardian/ggshield"}
{"mined_at": "2024-07-15T16:14:15.009441", "created_at": "2020-06-16T15:29:47+02:00", "updated_at": "2023-05-17T16:05:16+02:00", "name": "Application Main Branch", "path": ".github/workflows/main.yml", "contents": null, "state": "active", "repository": "gitguardian/ggshield"}
{"mined_at": "2024-07-15T16:14:16.137390", "created_at": "2022-11-04T18:42:20+01:00", "updated_at": "2022-11-16T08:36:05+01:00", "name": "Performance benchmark", "path": ".github/workflows/perfbench.yml", "contents": "name: Performance benchmark\n\non:\n  pull_request:\n  workflow_dispatch:\n    inputs:\n      run_options:\n        description: 'Additional options to pass to `run`'\n      python_version:\n        description: 'Python version to use (use https://github.com/actions/setup-python#supported-version-syntax)'\n        default: '3.10'\n\njobs:\n  benchmark:\n    name: Run performance benchmark\n    if: ${{ !github.event.pull_request.head.repo.fork }}\n    runs-on: ubuntu-22.04\n    env:\n      PYTHONUNBUFFERED: 1\n      # How many time to repeat each run\n      REPEATS: 3\n      # If a run takes more than $MAX_DELTA seconds compared to reference, fail the job\n      MAX_DELTA: 3\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ inputs.python_version || '3.10' }}\n\n      - name: Install dependencies\n        run: |\n          python --version\n          python -m pip install --upgrade pip\n          python -m pip install pipenv==2023.12.1\n          pipenv install --system --skip-lock\n\n      - name: Setup benchmark\n        run: |\n          scripts/perfbench/perfbench setup\n\n      - name: Run benchmark\n        env:\n          GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}\n        run: |\n          scripts/perfbench/perfbench run --repeats $REPEATS ${{ inputs.run_options }}\n\n      - name: Generate report\n        run: |\n          scripts/perfbench/perfbench report --max-delta $MAX_DELTA >> $GITHUB_STEP_SUMMARY\n", "state": "active", "repository": "gitguardian/ggshield"}
{"mined_at": "2024-07-15T16:14:17.167199", "created_at": "2020-06-16T15:29:47+02:00", "updated_at": "2024-04-11T10:51:22+02:00", "name": "Application Release", "path": ".github/workflows/tag.yml", "contents": "name: Application Release\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  build_release_assets:\n    uses: ./.github/workflows/build_release_assets.yml\n    secrets: inherit\n    with:\n      release_mode: true\n\n  push_to_pypi:\n    needs: build_release_assets\n    runs-on: ubuntu-22.04\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n\n      - name: Download wheel and sdist\n        uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist\n\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n\n  release:\n    runs-on: ubuntu-22.04\n    needs: build_release_assets\n    continue-on-error: true\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n\n    # This is required for `gh release create` to work\n    permissions:\n      contents: write\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Read info\n        id: tags\n        shell: bash\n        run: |\n          echo \"tag=${GITHUB_REF/refs\\/tags\\//}\" >> $GITHUB_OUTPUT\n\n      - name: Download OS packages\n        uses: actions/download-artifact@v4\n        with:\n          pattern: os-packages-*\n          path: packages\n          merge-multiple: true\n\n      - name: Create release\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release create --draft ${{ steps.tags.outputs.tag }}\n\n      - name: Upload release assets\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release upload \\\n            ${{ steps.tags.outputs.tag }} \\\n            packages/ggshield-*.pkg \\\n            packages/ggshield_*.deb \\\n            packages/ggshield-*.rpm \\\n            packages/ggshield-*.zip \\\n            packages/ggshield-*.gz\n\n  push_to_docker_hub:\n    name: Push Docker image to Docker Hub\n    runs-on: ubuntu-22.04\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Build and push\n        uses: docker/build-push-action@v1\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n          repository: gitguardian/ggshield\n          tag_with_ref: true\n          tags: latest\n\n  push_to_github_packages:\n    name: Push Docker image to GitHub Packages\n    runs-on: ubuntu-22.04\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n      - name: Push to GitHub Packages\n        uses: docker/build-push-action@v1\n        with:\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n          registry: docker.pkg.github.com\n          repository: gitguardian/ggshield/ggshield\n          tag_with_ref: true\n          tags: latest\n\n  push_to_tap:\n    needs: push_to_pypi\n    name: Push to GitGuardian taps\n    runs-on: ubuntu-22.04\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Checkout Homebrew-tap\n        uses: actions/checkout@v4\n        with:\n          repository: GitGuardian/homebrew-tap\n          token: ${{ secrets.PAT_GITHUB }}\n\n      - name: Update Homebrew-tap\n        run: |\n          version=${GITHUB_REF/refs\\/tags\\/v/}\n\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n\n          scripts/update-ggshield --commit \"$version\"\n\n          git push\n\n  push_to_cloudsmith:\n    needs: build_release_assets\n    runs-on: ubuntu-22.04\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Download packages\n        uses: actions/download-artifact@v4\n        with:\n          pattern: os-packages-*\n          path: packages\n          merge-multiple: true\n\n      - name: Install Cloudsmith CLI\n        run: pip install cloudsmith-cli\n\n      - name: Push to Cloudsmith\n        run: |\n          scripts/push-to-cloudsmith\n        env:\n          CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}\n", "state": "active", "repository": "gitguardian/ggshield"}
{"mined_at": "2024-07-15T16:14:20.240966", "created_at": "2021-11-12T08:23:01+01:00", "updated_at": "2023-09-15T11:59:43+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [master]\n  pull_request:\n\nconcurrency:\n  group: ci-${{ github.head_ref }}\n  cancel-in-progress: true\n\nenv:\n  PYTHONUNBUFFERED: 1\n  FORCE_COLOR: 1 # colored output by pytest etc.\n  CLICOLOR_FORCE: 1 # colored output by ruff\n\npermissions:\n  contents: read\n\njobs:\n\n  # TODO: disable docs build until decision is made\n\n  # docs:\n  #   runs-on: ubuntu-22.04\n  #   steps:\n  #   - uses: actions/checkout@v4\n  #   - name: Set up Python 3.11\n  #     uses: actions/setup-python@v5\n  #     with:\n  #       python-version: '3.11'\n  #   - name: Cache python dependencies\n  #     uses: actions/cache@v4\n  #     with:\n  #       path: ~/.cache/pip\n  #       key: pip-docs-${{ hashFiles('pyproject.toml') }}\n  #       restore-keys: |\n  #         pip-docs-\n  #   - name: Install python dependencies\n  #     run: |\n  #       python -m pip install .[docs]\n  #       python -m pip show fuji\n  #   - name: Build documentation\n  #     env:\n  #       READTHEDOCS: 'True'\n  #     run: |\n  #       # TODO: add W flag back after fixing warnings\n  #       SPHINXOPTS='-n' make -C docs html\n\n  lint:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cache python dependencies\n      uses: actions/cache@v4\n      with:\n        path: |\n          ~/.cache/pip\n          ~/.cache/pre-commit\n        key: lint-${{ hashFiles('.pre-commit-config.yaml', 'pyproject.toml') }}\n        restore-keys: |\n          lint-\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - run: |\n        python -m pip install --upgrade pip setuptools wheel\n        python -m pip install hatch\n    - run: hatch run lint\n\n  tests:\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: write\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n        cache: pip\n    - name: Install python dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        python -m pip install --upgrade hatch\n    - name: Run test suite with coverage\n      run: hatch run cov-ci\n    - name: Upload test results\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: test-results\n        retention-days: 1\n        path: pytest-junit.xml\n    - name: Upload coverage results\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage-results\n        retention-days: 1\n        path: pytest-cobertura.xml\n    - run: rm ./reports/coverage/.gitignore\n    - name: Generate coverage badge\n      if: github.ref == 'refs/heads/master'\n      run: hatch run cov-badge\n    - name: Deploy reports to GitHub Pages\n      if: github.ref == 'refs/heads/master'\n      uses: JamesIves/github-pages-deploy-action@65b5dfd4f5bcd3a7403bbc2959c144256167464e # v4.5.0\n      with:\n        folder: ./reports\n\n  event_file:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/upload-artifact@v4\n      with:\n        name: event-file\n        retention-days: 1\n        path: ${{ github.event_path }}\n", "state": "active", "repository": "pangaea-data-publisher/fuji"}
{"mined_at": "2024-07-15T16:14:21.237400", "created_at": "2021-09-15T09:44:27+02:00", "updated_at": "2021-09-15T09:44:27+02:00", "name": "Publish Docker image", "path": ".github/workflows/publish-docker.yml", "contents": "name: Publish Docker image\n\non:\n  workflow_dispatch:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n    - master\n    # Publish `v1.2.3` tags as releases?\n    # tags:\n    #   - v*\n  release:\n    types:\n    - created\n\nenv:\n  DOCKER_BUILDKIT: 1\n  IMAGE_NAME: fuji\n\njobs:\n\n  build-and-publish:\n    # Build and push image to GitHub Container Registry https://docs.docker.com/docker-hub/builds/\n    runs-on: ubuntu-22.04\n\n    # do not run in forks\n    if: github.repository == 'pangaea-data-publisher/fuji'\n\n    steps:\n\n    - run: docker --version\n    - run: docker buildx version\n\n    - uses: actions/checkout@v4\n\n    - name: Build image\n      run: docker build . --file Dockerfile --tag $IMAGE_NAME\n\n    - name: Log into GitHub Container Registry\n      run: echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin\n\n    - name: Push image to GitHub Container Registry\n      run: |\n        IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME\n\n        # Change all uppercase to lowercase\n        IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n        # Strip git ref prefix from version\n        VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n        # Strip \"v\" prefix from tag name\n        [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n        # Use Docker `latest` tag convention\n        [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n        echo IMAGE_ID=$IMAGE_ID\n        echo VERSION=$VERSION\n\n        docker tag $IMAGE_NAME $IMAGE_ID:$VERSION\n        docker push $IMAGE_ID:$VERSION\n", "state": "active", "repository": "pangaea-data-publisher/fuji"}
{"mined_at": "2024-07-15T16:14:22.257094", "created_at": "2021-11-17T10:18:14+01:00", "updated_at": "2023-09-15T09:19:29+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": null, "state": "active", "repository": "pangaea-data-publisher/fuji"}
{"mined_at": "2024-07-15T16:14:23.295787", "created_at": "2023-10-11T11:55:33+02:00", "updated_at": "2023-10-11T11:55:33+02:00", "name": "Reports", "path": ".github/workflows/reports.yml", "contents": "name: Reports\n\non:\n  workflow_run:\n    workflows: [CI]\n    types:\n    - completed\npermissions: {}\n\njobs:\n  # Ref: https://github.com/EnricoMi/publish-unit-test-result-action#support-fork-repositories-and-dependabot-branches\n  test-results:\n    runs-on: ubuntu-22.04\n    if: github.event.workflow_run.conclusion != 'skipped'\n    permissions:\n      checks: write\n      # required to create pull request comments\n      pull-requests: write\n      # required by download step to access artifacts API\n      actions: read\n    steps:\n    - name: Download and Extract Artifacts\n      uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4\n      with:\n        run_id: ${{ github.event.workflow_run.id }}\n        path: artifacts\n    - name: Publish Test Results\n      uses: EnricoMi/publish-unit-test-result-action@30eadd5010312f995f0d3b3cff7fe2984f69409e # v2.16.1\n      with:\n        comment_title: ':clipboard: Pytest Results'\n        commit: ${{ github.event.workflow_run.head_sha }}\n        event_file: artifacts/event-file/event.json\n        event_name: ${{ github.event.workflow_run.event }}\n        files: artifacts/test-results/pytest-junit.xml\n\n  coverage-results:\n    runs-on: ubuntu-22.04\n    if: github.event.workflow_run.conclusion != 'skipped'\n    permissions:\n      # required to create pull request comments\n      pull-requests: write\n      # required by download step to access artifacts API\n      actions: read\n    steps:\n    - name: Download and Extract Artifacts\n      uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4\n      with:\n        run_id: ${{ github.event.workflow_run.id }}\n        path: artifacts\n    # Ref: https://github.com/irongut/CodeCoverageSummary#usage\n    - name: Generate Code Coverage Report\n      uses: irongut/CodeCoverageSummary@51cc3a756ddcd398d447c044c02cb6aa83fdae95 # v1.3.0\n      with:\n        filename: artifacts/coverage-results/pytest-cobertura.xml\n        badge: true\n        format: markdown\n        hide_complexity: true\n        output: both\n    - name: Add header to code coverage report\n      run: |\n        sed -i '1s/^/## :clipboard: Code Coverage\\n/' code-coverage-results.md\n    - name: Write to Job Summary\n      run: |\n        cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY\n    - name: Get Pull Request number\n      run: |\n        echo \"number=$(jq .pull_request.number artifacts/event-file/event.json)\" >> $GITHUB_OUTPUT\n      id: get-pr-number\n    # Ref: https://github.com/marocchino/sticky-pull-request-comment#inputs\n    - name: Add Code Coverage PR Comment\n      if: ${{ steps.get-pr-number.outputs.number }} != null\n      uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # v2.9.0\n      with:\n        recreate: true\n        number: ${{ steps.get-pr-number.outputs.number }}\n        path: code-coverage-results.md\n\n    # TODO: Coverage badge\n", "state": "active", "repository": "pangaea-data-publisher/fuji"}
{"mined_at": "2024-07-15T16:14:24.297628", "created_at": "2022-09-09T07:58:59+02:00", "updated_at": "2022-09-09T07:58:59+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pangaea-data-publisher/fuji"}
{"mined_at": "2024-07-15T16:14:26.383648", "created_at": "2021-03-23T16:36:49+01:00", "updated_at": "2021-10-05T02:43:23+02:00", "name": "CMake-linux", "path": ".github/workflows/make-linux.yml", "contents": "name: CMake-linux\n\non:\n  push:\n    branches:\n      - develop\n    paths:\n      - '!python/**'\n      - '!ocrweb/**'\n      - '!*.md'\n      - '!docs/**'\n\nenv:\n  # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)\n  BUILD_TYPE: Release\n\njobs:\n  build:\n    # The CMake configure and build commands are platform agnostic and should work equally\n    # well on Windows or Mac.  You can convert this to a matrix build if you need\n    # cross-platform coverage.\n    # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Create Build Environment\n      # Some projects don't allow in-source building, so create a separate build directory\n      # We'll use this as our working directory for all subsequent commands\n      run: cmake -E make_directory ${{github.workspace}}/build\n    - uses: suisei-cn/actions-download-file@v1\n      id: downloadfile  # Remember to give an ID if you need the output filename\n      name: Download the file\n      with:\n          url: \"https://github.com/microsoft/onnxruntime/releases/download/v1.8.0/onnxruntime-linux-x64-1.8.0.tgz\"\n          target: public/\n\n    - name: Setup OnnxRuntime\n      run: |\n            sudo tar zxf public/onnxruntime-linux-x64-1.8.0.tgz -C/\n            sudo mkdir /rapidocr\n            sudo mv /onnxruntime-linux-x64-1.8.0/* /rapidocr\n            sudo ls -l /rapidocr\n    - name: Installation depends\n      run: |\n            sudo apt-get update\n            sudo apt install -y libopencv-dev\n\n    - name: Configure CMake\n      # Use a bash shell so we can use the same syntax for environment variable\n      # access regardless of the host operating system\n      shell: bash\n      working-directory: ${{github.workspace}}/build\n      # Note the current convention is to use the -S and -B options here to specify source\n      # and build directories, but this is only available with CMake 3.13 and higher.\n      # The CMake binaries on the Github Actions machines are (as of this writing) 3.12\n      run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE\n\n\n    - name: Build\n      working-directory: ${{github.workspace}}/build\n      shell: bash\n      # Execute the build.  You can specify a specific target with \"--target <NAME>\"\n      run: cmake --build . --config $BUILD_TYPE\n\n    - name: Test\n      working-directory: ${{github.workspace}}/build\n      shell: bash\n      # Execute tests defined by the CMake configuration.\n      # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail\n      run: ctest -C $BUILD_TYPE\n    - name: Check result\n      shell: bash\n      run: ls -l /home/runner/work/RapidOCR/RapidOCR/build\n", "state": "active", "repository": "rapidai/rapidocr"}
{"mined_at": "2024-07-15T16:14:27.548666", "created_at": "2021-04-03T14:05:26+02:00", "updated_at": "2021-04-03T15:38:10+02:00", "name": "CMake-windows-x86-x64", "path": ".github/workflows/windows-all-build.yaml", "contents": "name: CMake-windows-x86-x64\n\non:\n  push:\n    branches:\n      - 'develop'\n\nenv:\n  # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)\n  BUILD_TYPE: Release\n\njobs:\n  build:\n    name: buildsrc\n    # The CMake configure and build commands are platform agnostic and should work equally\n    # well on Windows or Mac.  You can convert this to a matrix build if you need\n    # cross-platform coverage.\n    # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix\n    runs-on: windows-latest\n\n    steps:\n    - name: Install 7Zip PowerShell Module\n      shell: powershell\n      run: Install-Module 7Zip4PowerShell -Force -Verbose\n\n    - uses: actions/checkout@v2\n    - name: Create Build Environment\n      # Some projects don't allow in-source building, so create a separate build directory\n      # We'll use this as our working directory for all subsequent commands\n      run: |\n            cmake -E make_directory ${{github.workspace}}/build\n            cmake -E make_directory ${{github.workspace}}/buildx86\n    - uses: suisei-cn/actions-download-file@v1\n      id: downloadfile1  # Remember to give an ID if you need the output filename\n      name:  onnxruntime 1.7.0 x64\n      with:\n          url: \"https://github.com/microsoft/onnxruntime/releases/download/v1.7.0/onnxruntime-win-x64-1.7.0.zip\"\n          target: public/\n    - uses: suisei-cn/actions-download-file@v1\n      id: downloadfile2  # Remember to give an ID if you need the output filename\n      name: Download onnxruntime 1.7.0 x86\n      with:\n          url: \"https://github.com/microsoft/onnxruntime/releases/download/v1.7.0/onnxruntime-win-x86-1.7.0.zip\"\n          target: public/\n\n    - uses: suisei-cn/actions-download-file@v1\n      id: downloadfile3  # Remember to give an ID if you need the output filename\n      name: Download Opencv Library\n      with:\n          url: \"https://github.com/RapidOCR/OpenCVBuilder/releases/download/4.5.1/opencv-4.5.1-windows-vs2019.7z\"\n          target: public/\n    - name: setup working dir\n      run: |\n           mkdir c:\\rapidocr\n    - name: Decompress\n      shell: powershell\n      run: |\n            Expand-7Zip -ArchiveFileName public/onnxruntime-win-x64-1.7.0.zip -TargetPath c:\\rapidocr\\\n            Expand-7Zip -ArchiveFileName public/onnxruntime-win-x86-1.7.0.zip -TargetPath c:\\rapidocr\\\n\n    - name: opencv install\n      run: |\n           Expand-7Zip -ArchiveFileName public/opencv-4.5.1-windows-vs2019.7z -TargetPath c:\\rapidocr\\\n    - name: list all file\n      shell: cmd\n      run:  |\n            dir c:\\rapidocr\\windows-x64\n            dir c:\\rapidocr\\windows-x86\n            dir c:\\rapidocr\\\n    - name: Configure CMake x64\n      # Use a bash shell so we can use the same syntax for environment variable\n      # access regardless of the host operating system\n      shell: bash\n      working-directory: ${{github.workspace}}/build\n      # Note the current convention is to use the -S and -B options here to specify source\n      # and build directories, but this is only available with CMake 3.13 and higher.\n      # The CMake binaries on the Github Actions machines are (as of this writing) 3.12\n      run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE  -A x64\n\n    - name: Build-x64\n      working-directory: ${{github.workspace}}/build\n      shell: bash\n      # Execute the build.  You can specify a specific target with \"--target <NAME>\"\n      run: cmake --build . --config $BUILD_TYPE\n\n    - name: Configure CMake for x86\n      # Use a bash shell so we can use the same syntax for environment variable\n      # access regardless of the host operating system\n      shell: bash\n      working-directory: ${{github.workspace}}/buildx86\n      # Note the current convention is to use the -S and -B options here to specify source\n      # and build directories, but this is only available with CMake 3.13 and higher.\n      # The CMake binaries on the Github Actions machines are (as of this writing) 3.12\n      run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -A win32\n    - name: Build-x86\n      working-directory: ${{github.workspace}}/buildx86\n      shell: bash\n      # Execute the build.  You can specify a specific target with \"--target <NAME>\"\n      run: cmake --build . --config $BUILD_TYPE\n\n    - name: Test\n      working-directory: ${{github.workspace}}/build\n      shell: bash\n      # Execute tests defined by the CMake configuration.\n      # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail\n      run: ctest -C $BUILD_TYPE\n\n    - name: PackZip\n      working-directory: ${{github.workspace}}/release\n      shell: cmd\n      run: |\n          mkdir ${{github.workspace}}\\release\\x86\\\n          mkdir ${{github.workspace}}\\release\\x64\\\n          cp ${{github.workspace}}/build/release/rapidocrapi.dll ${{github.workspace}}/release/x64/\n          cp ${{github.workspace}}/build/release/rapidocrtest.exe ${{github.workspace}}/release/x64/\n          cp ${{github.workspace}}/buildx86/release/rapidocrapi.dll ${{github.workspace}}/release/x86/\n          cp ${{github.workspace}}/buildx86/release/rapidocrtest.exe ${{github.workspace}}/release/x86/\n          mkdir ${{github.workspace}}\\release\\libx86\\\n          mkdir ${{github.workspace}}\\release\\libx64\\\n          mkdir ${{github.workspace}}\\release\\include\\\n          cp ${{github.workspace}}\\build\\release\\rapidocrapi.lib ${{github.workspace}}\\release\\libx64\n          cp ${{github.workspace}}\\buildx86\\release\\rapidocrapi.lib ${{github.workspace}}\\release\\libx86\n          cp ${{github.workspace}}\\include\\rapidocr_api.h ${{github.workspace}}\\release\\include\\\n          cp c:/rapidocr/onnxruntime-win-x64-1.7.0/lib/onnxruntime.dll ${{github.workspace}}\\release\\x64\\\n          cp c:/rapidocr/onnxruntime-win-x86-1.7.0/lib/onnxruntime.dll ${{github.workspace}}\\release\\x86\\\n          dir /s ${{github.workspace}}\\release\n          powershell compress-7zip -path ${{github.workspace}}\\release -ArchiveFileName d:\\rapidocr-win-all.zip\n          dir  d:\\*.zip\n\n    - name: prepare_release\n      uses: srfrnk/current-time@master\n      id:  prepare_release\n      with:\n           format: YYYYMMDD_X\n    - name: create_release\n      id: create_release\n      uses: actions/create-release@v1\n      env:\n          # GitHub 会自动创建 GITHUB_TOKEN 密码以在工作流程中使用\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n          tag_name: V_${{ steps.prepare_release.outputs.formattedTime }}\n          #${{steps.prepare_release.outputs.tag_name}}\n          release_name: Release Rapid_OCR_v1.0_x64_x86_${{ steps.prepare_release.outputs.formattedTime }}\n          draft: false\n          prerelease: false\n    - name: Upload Release Asset\n      id: upload-release-asset\n        # 只有create_release成功得到输出才继续\n      if: steps.create_release.outputs.upload_url\n      uses: actions/upload-release-asset@v1\n      env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_path: d:\\rapidocr-win-all.zip\n          asset_name: rapidocr-win-all.zip\n          asset_content_type: application/zip\n", "state": "active", "repository": "rapidai/rapidocr"}
{"mined_at": "2024-07-15T16:14:28.751089", "created_at": "2022-11-19T08:57:42+01:00", "updated_at": "2022-11-19T08:57:42+01:00", "name": "SyncToGitee", "path": ".github/workflows/SyncToGitee.yml", "contents": "name: SyncToGitee\r\non:\r\n  push:\r\n    branches:\r\n      - main\r\njobs:\r\n  repo-sync:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - name: Checkout source codes\r\n        uses: actions/checkout@v3\r\n\r\n      - name: Mirror the Github organization repos to Gitee.\r\n        uses: Yikun/hub-mirror-action@v1.4\r\n        with:\r\n          src: 'github/RapidAI'\r\n          dst: 'gitee/RapidAI'\r\n          dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}\r\n          dst_token:  ${{ secrets.GITEE_TOKEN }}\r\n          force_update: true\r\n          # only sync this repo\r\n          static_list: \"RapidOCR\"\r\n          debug: true\r\n", "state": "active", "repository": "rapidai/rapidocr"}
{"mined_at": "2024-07-15T16:14:29.881884", "created_at": "2022-11-20T08:57:36+01:00", "updated_at": "2022-11-20T09:11:20+01:00", "name": "Push rapidocr_onnxruntime to pypi", "path": ".github/workflows/gen_whl_to_pypi_rapidocr_ort.yml", "contents": "name: Push rapidocr_onnxruntime to pypi\n\non:\n  push:\n    # branches: [ main ]\n    # paths:\n    #   - 'python/rapidocr_onnxruntime/**'\n    #   - 'docs/doc_whl_rapidocr_ort.md'\n    #   - 'python/setup_onnxruntime.py'\n    #   - '.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml'\n    tags:\n      - v*\n\nenv:\n  RESOURCES_URL: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/required_for_whl_v1.3.0.zip\n\njobs:\n  UnitTesting:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Pull latest code\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n          architecture: 'x64'\n\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Unit testings\n        run: |\n          wget $RESOURCES_URL\n          ZIP_NAME=${RESOURCES_URL##*/}\n          DIR_NAME=${ZIP_NAME%.*}\n          unzip $DIR_NAME\n          cp $DIR_NAME/resources/models/*.onnx python/rapidocr_onnxruntime/models/\n\n          cd python\n          pip install -r requirements_ort.txt\n          pip install pytest wheel get_pypi_latest_version openvino\n\n          cd tests\n          pytest test_ort.py\n\n  GenerateWHL_PushPyPi:\n    needs: UnitTesting\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n          architecture: 'x64'\n\n      - name: Set SSH Environment\n        env:\n          DEPLOY_KEYS: ${{ secrets.GEN_PYTHON_SDK }}\n        run: |\n          mkdir -p ~/.ssh/\n          echo \"$DEPLOY_KEYS\" > ~/.ssh/id_rsa\n          chmod 600 ~/.ssh/id_rsa\n          chmod 700 ~/.ssh && chmod 600 ~/.ssh/*\n\n      - name: Download models\n        run: |\n          cd python\n          wget $RESOURCES_URL\n          ZIP_NAME=${RESOURCES_URL##*/}\n          DIR_NAME=${ZIP_NAME%.*}\n          unzip $ZIP_NAME\n          cp $DIR_NAME/resources/models/*.onnx rapidocr_onnxruntime/models\n\n      - name: Run setup_onnxruntime.py\n        run: |\n          cd python\n          pip install setuptools get_pypi_latest_version wheel\n          mkdir rapidocr_onnxruntime_t\n          mv rapidocr_onnxruntime rapidocr_onnxruntime_t\n          mv rapidocr_onnxruntime_t rapidocr_onnxruntime\n          cd rapidocr_onnxruntime\n          echo \"from .rapidocr_onnxruntime.main import RapidOCR, VisRes\" > __init__.py\n\n          cd ..\n          python -m pip install --upgrade pip\n          python setup_onnxruntime.py bdist_wheel ${{ github.ref_name }}\n          mv dist ../\n\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.5.0\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          packages_dir: dist/\n", "state": "active", "repository": "rapidai/rapidocr"}
{"mined_at": "2024-07-15T16:14:31.108279", "created_at": "2022-11-20T08:57:36+01:00", "updated_at": "2022-11-20T09:11:20+01:00", "name": "Push rapidocr_openvino to pypi", "path": ".github/workflows/gen_whl_to_pypi_rapidocr_vino.yml", "contents": "name: Push rapidocr_openvino to pypi\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'python/rapidocr_openvino/**'\n      - 'docs/doc_whl_rapidocr_vino.md'\n      - 'python/setup_openvino.py'\n      - '.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml'\n    # tags:\n    #   - v*\n\nenv:\n  RESOURCES_URL: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/required_for_whl_v1.3.0.zip\n\njobs:\n  UnitTesting:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Pull latest code\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n          architecture: 'x64'\n\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Unit testings\n        run: |\n          wget $RESOURCES_URL\n          ZIP_NAME=${RESOURCES_URL##*/}\n          DIR_NAME=${ZIP_NAME%.*}\n          unzip $DIR_NAME\n          cp $DIR_NAME/resources/models/*.onnx python/rapidocr_openvino/models/\n          cd python\n          pip install -r requirements_vino.txt\n          pip install pytest wheel get_pypi_latest_version onnxruntime\n          cd tests\n          pytest test_vino.py\n\n  GenerateWHL_PushPyPi:\n    needs: UnitTesting\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n          architecture: 'x64'\n\n      - name: Set SSH Environment\n        env:\n          DEPLOY_KEYS: ${{ secrets.GEN_PYTHON_SDK }}\n        run: |\n          mkdir -p ~/.ssh/\n          echo \"$DEPLOY_KEYS\" > ~/.ssh/id_rsa\n          chmod 600 ~/.ssh/id_rsa\n          chmod 700 ~/.ssh && chmod 600 ~/.ssh/*\n\n      - name: Download models\n        run: |\n          cd python\n          wget $RESOURCES_URL\n          ZIP_NAME=${RESOURCES_URL##*/}\n          DIR_NAME=${ZIP_NAME%.*}\n          unzip $ZIP_NAME\n          cp $DIR_NAME/resources/models/*.onnx rapidocr_openvino/models\n\n      - name: Run setup_openvino.py\n        run: |\n          cd python\n          pip install setuptools get_pypi_latest_version wheel\n          mkdir rapidocr_openvino_t\n          mv rapidocr_openvino rapidocr_openvino_t\n          mv rapidocr_openvino_t rapidocr_openvino\n          cd rapidocr_openvino\n          echo \"from .rapidocr_openvino.main import RapidOCR, VisRes\" > __init__.py\n\n          cd ..\n          python -m pip install --upgrade pip\n          python setup_openvino.py bdist_wheel \"{{ github.event.head_commit.message }}\"\n          mv dist ../\n\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.5.0\n        with:\n          password: ${{ secrets.RAPIDOCR_OPENVINO }}\n          packages_dir: dist/\n", "state": "active", "repository": "rapidai/rapidocr"}
{"mined_at": "2024-07-15T16:14:32.336025", "created_at": "2023-02-16T01:51:46+01:00", "updated_at": "2023-02-16T01:51:46+01:00", "name": "Push rapidocr_web to pypi", "path": ".github/workflows/gen_whl_to_pypi_rapidocr_web.yml", "contents": "name: Push rapidocr_web to pypi\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'ocrweb/rapidocr_web/**'\n      - '!ocrweb/rapidocr_web/ocr_web.spec'\n      - 'docs/doc_whl_rapidocr_web.md'\n      - 'ocrweb/setup.py'\n      - '.github/workflows/gen_whl_to_pypi_rapidocr_web.yml'\n\njobs:\n  GenerateWHL_PushPyPi:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n          architecture: 'x64'\n\n      - name: Set SSH Environment\n        env:\n          DEPLOY_KEYS: ${{ secrets.GEN_PYTHON_SDK }}\n        run: |\n          mkdir -p ~/.ssh/\n          echo \"$DEPLOY_KEYS\" > ~/.ssh/id_rsa\n          chmod 600 ~/.ssh/id_rsa\n          chmod 700 ~/.ssh && chmod 600 ~/.ssh/*\n\n      - name: Run setup.py\n        run: |\n          cd ocrweb\n          pip install -r requirements.txt\n\n          python -m pip install --upgrade pip\n          python setup.py bdist_wheel ${{ github.event.head_commit.message }}\n\n      # - name: Publish distribution 📦 to Test PyPI\n      #   uses: pypa/gh-action-pypi-publish@v1.5.0\n      #   with:\n      #     password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n      #     repository_url: https://test.pypi.org/legacy/\n      #     packages_dir:  ocrweb/dist/\n\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.5.0\n        with:\n          password: ${{ secrets.RAPIDOCR_OPENVINO }}\n          packages_dir: ocrweb/dist/\n", "state": "active", "repository": "rapidai/rapidocr"}
{"mined_at": "2024-07-15T16:14:33.454036", "created_at": "2023-05-20T03:51:49+02:00", "updated_at": "2023-05-20T05:18:16+02:00", "name": "Package ocrweb", "path": ".github/workflows/package_ocrweb.yml", "contents": "name: Package ocrweb\n\non:\n  push:\n    branches: main\n    paths:\n        - 'ocrweb/rapidocr_web/ocrweb.py'\n        - 'ocrweb/rapidocr_web/task.py'\n        - 'ocrweb/rapidocr_web/static/**'\n        - 'ocrweb/rapidocr_web/templates/**'\n\n\nenv:\n  package_name: RapidOCRWeb\n  rapidocr_web_dir: ocrweb/rapidocr_web/\n\njobs:\n  create_release:\n    runs-on: ubuntu-latest\n    outputs:\n      upload_url: ${{ steps.create_release.outputs.upload_url }}\n    steps:\n      - name: get_cur_time\n        uses: srfrnk/current-time@master\n        id:  get_cur_time\n        with:\n            format: YYYY-MM-DD-HH-mm-ss\n      - name: create_release\n        id: create_release\n        uses: marvinpinto/action-automatic-releases@latest\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          automatic_release_tag: Draft-${{ steps.get_cur_time.outputs.formattedTime }}\n          prerelease: false\n          draft: true\n\n  build_windows:\n    name: build_windows\n    runs-on: ${{ matrix.os }}\n    needs: create_release\n    strategy:\n        matrix:\n            os: ['windows-2022', 'windows-2019']\n\n    steps:\n      - name: Pull latest code\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n          architecture: 'x64'\n\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Install environments\n        run: |\n          pip3 install Pillow pyinstaller Flask>=2.1.0 rapidocr_onnxruntime>=1.2.8 get_pypi_latest_version\n\n      - name: Run pyinstaller\n        id: run_pyinstaller\n        shell: bash\n        run: |\n          cd ${{ env.rapidocr_web_dir }}\n          pyinstaller ocrweb.spec\n          cp -r static templates dist/${{ env.package_name }}\n          rm dist/${{ env.package_name }}/cv2/opencv_videoio_ffmpe*.dll || echo \"未找到opencv_videoio_ffmpeg\"\n          echo \"VERSION=$(get_pypi_latest_version rapid_videocr)\" >> $GITHUB_OUTPUT\n\n      - name: Concat file path\n        id: concat_file_path\n        shell: bash\n        env:\n            ZIP_WIN_NAME: ${{ env.package_name }}-${{ steps.run_pyinstaller.outputs.VERSION }}-${{ matrix.os }}-${{ runner.arch }}-no-installer.zip\n            Win_DIST_DIR: ${{ github.workspace }}\\ocrweb\\rapidocr_web\\dist\n        run: |\n          echo \"ZIP_NAME=$ZIP_WIN_NAME\" >> $GITHUB_OUTPUT\n          echo \"Win_PACKAGE_DIR=$Win_DIST_DIR\\${{ env.package_name }}\" >> $GITHUB_OUTPUT\n          echo \"Win_ZIP_FULL_PATH=$Win_DIST_DIR\\\\$ZIP_WIN_NAME\" >> $GITHUB_OUTPUT\n\n      - name: Zip package\n        run: |\n          powershell Compress-Archive ${{ steps.concat_file_path.outputs.Win_PACKAGE_DIR }} ${{ steps.concat_file_path.outputs.Win_ZIP_FULL_PATH }}\n\n      - name: Upload release asset\n        id: upload-release-asset-windows\n        uses: actions/upload-release-asset@v1\n        env:\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n            upload_url: ${{ needs.create_release.outputs.upload_url }}\n            asset_path: ${{ steps.concat_file_path.outputs.Win_ZIP_FULL_PATH }}\n            asset_name: ${{ steps.concat_file_path.outputs.ZIP_NAME }}\n            asset_content_type: application/zip\n\n  build_linux:\n    name: build_linux\n    runs-on: ${{ matrix.os }}\n    needs: create_release\n    strategy:\n        matrix:\n            os: ['ubuntu-20.04', 'ubuntu-22.04', 'macos-13', 'macos-12', 'macos-11']\n\n    steps:\n      - name: Pull latest code\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n          architecture: 'x64'\n\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Install environments\n        run: |\n          pip3 install Pillow pyinstaller Flask>=2.1.0 rapidocr_onnxruntime>=1.2.8 get_pypi_latest_version\n\n      - name: Run pyinstaller\n        id: run_pyinstaller\n        shell: bash\n        run: |\n          cd ocrweb/rapidocr_web/\n          pyinstaller ocrweb.spec\n          cp -r static templates dist/${{ env.package_name }}\n          rm dist/${{ env.package_name }}/cv2/opencv_videoio_ffmpe*.dll || echo \"未找到opencv_videoio_ffmpeg\"\n          echo \"VERSION=$(get_pypi_latest_version rapid_videocr)\" >> $GITHUB_OUTPUT\n\n      - name: Concat file path\n        id: concat_file_path\n        env:\n            ZIP_NAME: ${{ env.package_name }}-${{ steps.run_pyinstaller.outputs.VERSION }}-${{ matrix.os }}-${{ runner.arch }}-no-installer.zip\n            Linux_DIST_DIR: ${{ github.workspace }}/ocrweb/rapidocr_web/dist\n        run: |\n          echo \"ZIP_NAME=$ZIP_NAME\" >> $GITHUB_OUTPUT\n          echo \"Linux_PACKAGE_DIR=$Linux_DIST_DIR/${{ env.package_name }}\" >> $GITHUB_OUTPUT\n          echo \"Linux_ZIP_FULL_PATH=$Linux_DIST_DIR/$ZIP_NAME\" >> $GITHUB_OUTPUT\n          echo \"Linux_DIST_DIR=$Linux_DIST_DIR\" >> $GITHUB_OUTPUT\n\n      - name: Zip package\n        run: |\n          cd ${{ steps.concat_file_path.outputs.Linux_DIST_DIR }}\n          zip -r ${{ steps.concat_file_path.outputs.ZIP_NAME }} ${{ env.package_name }}\n\n      - name: Upload release asset\n        id: upload-release-asset-linux-macOS\n        uses: actions/upload-release-asset@v1\n        env:\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n            upload_url: ${{ needs.create_release.outputs.upload_url }}\n            asset_path: ${{ steps.concat_file_path.outputs.Linux_ZIP_FULL_PATH }}\n            asset_name: ${{ steps.concat_file_path.outputs.ZIP_NAME }}\n            asset_content_type: application/zip\n", "state": "active", "repository": "rapidai/rapidocr"}
{"mined_at": "2024-07-15T16:14:34.624313", "created_at": "2023-05-21T15:21:30+02:00", "updated_at": "2023-05-21T15:21:30+02:00", "name": "Push rapidocr_api to pypi", "path": ".github/workflows/gen_whl_to_pypi_rapidocr_api.yml", "contents": "name: Push rapidocr_api to pypi\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'api/rapidocr_api/**'\n      - 'docs/doc_whl_rapidocr_api.md'\n      - 'api/setup.py'\n      - '.github/workflows/gen_whl_to_pypi_rapidocr_api.yml'\n\njobs:\n  GenerateWHL_PushPyPi:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n          architecture: 'x64'\n\n      - name: Set SSH Environment\n        env:\n          DEPLOY_KEYS: ${{ secrets.GEN_PYTHON_SDK }}\n        run: |\n          mkdir -p ~/.ssh/\n          echo \"$DEPLOY_KEYS\" > ~/.ssh/id_rsa\n          chmod 600 ~/.ssh/id_rsa\n          chmod 700 ~/.ssh && chmod 600 ~/.ssh/*\n\n      - name: Run setup.py\n        run: |\n          cd api\n          pip install -r requirements.txt\n          pip install get_pypi_latest_version wheel\n\n          python -m pip install --upgrade pip\n          python setup.py bdist_wheel ${{ github.event.head_commit.message }}\n\n      # - name: Publish distribution 📦 to Test PyPI\n      #   uses: pypa/gh-action-pypi-publish@v1.5.0\n      #   with:\n      #     password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n      #     repository_url: https://test.pypi.org/legacy/\n      #     packages_dir:  ocrweb/dist/\n\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.5.0\n        with:\n          password: ${{ secrets.RAPIDOCR_API_PYPI }}\n          packages_dir: api/dist/\n", "state": "active", "repository": "rapidai/rapidocr"}
{"mined_at": "2024-07-15T16:14:35.660428", "created_at": "2023-07-09T04:22:24+02:00", "updated_at": "2023-07-09T04:22:24+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/close_stale_issue.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v7\n        with:\n          stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'\n          stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'\n          close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'\n          close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'\n          days-before-issue-stale: 30\n          days-before-pr-stale: 45\n          days-before-issue-close: 5\n          days-before-pr-close: 45\n\npermissions:\n  contents: write # only for delete-branch option\n  issues: write\n  pull-requests: write\n", "state": "active", "repository": "rapidai/rapidocr"}
{"mined_at": "2024-07-15T16:14:36.740030", "created_at": "2023-10-21T11:08:19+02:00", "updated_at": "2023-10-21T11:08:19+02:00", "name": "Push rapidocr_paddle to pypi", "path": ".github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml", "contents": "name: Push rapidocr_paddle to pypi\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'python/rapidocr_paddle/**'\n      - 'docs/doc_whl_rapidocr_paddle.md'\n      - 'python/setup_paddle.py'\n      - '.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml'\n    # tags:\n    #   - v*\n\nenv:\n  RESOURCES_URL: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/paddle_models_v4.zip\n\njobs:\n  UnitTesting:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Pull latest code\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n          architecture: 'x64'\n\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Unit testings\n        run: |\n          wget $RESOURCES_URL\n          ZIP_NAME=${RESOURCES_URL##*/}\n          DIR_NAME=${ZIP_NAME%.*}\n          unzip $DIR_NAME\n          cp -r models/* python/rapidocr_paddle/models/\n          cd python\n          pip install -r requirements_paddle.txt\n          pip install pytest wheel get_pypi_latest_version paddlepaddle\n          cd tests\n          pytest test_paddle.py\n\n  GenerateWHL_PushPyPi:\n    needs: UnitTesting\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n          architecture: 'x64'\n\n      - name: Set SSH Environment\n        env:\n          DEPLOY_KEYS: ${{ secrets.GEN_PYTHON_SDK }}\n        run: |\n          mkdir -p ~/.ssh/\n          echo \"$DEPLOY_KEYS\" > ~/.ssh/id_rsa\n          chmod 600 ~/.ssh/id_rsa\n          chmod 700 ~/.ssh && chmod 600 ~/.ssh/*\n\n      - name: Download models\n        run: |\n          cd python\n          wget $RESOURCES_URL\n          ZIP_NAME=${RESOURCES_URL##*/}\n          DIR_NAME=${ZIP_NAME%.*}\n          unzip $ZIP_NAME\n          cp -r models/* rapidocr_paddle/models\n\n      - name: Run setup_paddle.py\n        run: |\n          cd python\n          pip install setuptools get_pypi_latest_version wheel\n\n          mkdir rapidocr_paddle_t\n          mv rapidocr_paddle rapidocr_paddle_t\n          mv rapidocr_paddle_t rapidocr_paddle\n          cd rapidocr_paddle\n          echo \"from .rapidocr_paddle.main import RapidOCR, VisRes\" > __init__.py\n\n          cd ..\n          python -m pip install --upgrade pip\n          python setup_paddle.py bdist_wheel \"{{ github.event.head_commit.message }}\"\n          mv dist ../\n\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.5.0\n        with:\n          password: ${{ secrets.RAPIDOCR_OPENVINO }}\n          packages_dir: dist/\n", "state": "active", "repository": "rapidai/rapidocr"}
{"mined_at": "2024-07-15T16:14:38.995156", "created_at": "2023-08-22T10:45:29+02:00", "updated_at": "2023-08-22T10:45:29+02:00", "name": "CD", "path": ".github/workflows/cd.yml", "contents": "name: CD\non:\n  workflow_run:\n    workflows: [\"CI\"]\n    types:\n      - completed\n    branches: [\"master\"]\npermissions:\n  contents: read\njobs:\n  s3-release-prod:\n    runs-on: ubuntu-latest\n    steps:\n    - name: cd/Configure AWS\n      uses: aws-actions/configure-aws-credentials@07c2f971bac433df982ccc261983ae443861db49 # v1-node16\n      with:\n        aws-region: us-east-1\n        aws-access-key-id: ${{ secrets.DOCS_BUILDS_BUCKET_AWS_ACCESS_KEY_ID }}\n        aws-secret-access-key: ${{ secrets.DOCS_BUILDS_BUCKET_AWS_SECRET_ACCESS_KEY }}\n    - name: cd/Download artifacts\n      uses: dawidd6/action-download-artifact@0c49384d39ceb023b8040f480a25596fd6cf441b # v2.26.0\n      with:\n        workflow: ${{ github.event.workflow_run.workflow_id }}\n        run_id: ${{ github.event.workflow_run.id }}\n        workflow_conclusion: success\n        name: docs\n        path: build/html\n    - name: cd/Upload artifacts to S3\n      run: |\n        aws s3 sync build/html s3://docs.mattermost.com/ --delete --cache-control no-cache --acl public-read --no-progress\n", "state": "active", "repository": "mattermost/docs"}
{"mined_at": "2024-07-15T16:14:40.118430", "created_at": "2023-08-21T11:21:08+02:00", "updated_at": "2023-08-22T10:45:29+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "---\nname: CI\n'on':\n  push:\n    branches:\n      - master\n  pull_request:\npermissions:\n  contents: read\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: ci/Checkout code\n        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c  # v3.3.0\n      - uses: actions/setup-python@db9987b4c1f10f0404fa60ee629f675fafbd6763  # v4.6.0\n        with:\n          python-version: 3.9\n      - name: ci/Install dependencies\n        run: make python-deps\n      - name: ci/Run tests\n        run: TZ=UTC make test\n      - name: ci/Build docs\n        run: TZ=UTC make html\n      - name: ci/Persist docs artifacts\n        uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05  # v3.1.2\n        with:\n          name: docs\n          path: build/html\n      - name: ci/Persist doc logs artifacts\n        uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05  # v3.1.2\n        with:\n          name: doc-logs\n          path: build/*.log\n", "state": "active", "repository": "mattermost/docs"}
{"mined_at": "2024-07-15T16:14:41.347261", "created_at": "2021-05-06T17:41:35+02:00", "updated_at": "2021-05-06T17:41:35+02:00", "name": "preview-env-fork-setup-update", "path": ".github/workflows/preview-env-fork.yml", "contents": "name: preview-env-fork-setup-update\n\non:\n  workflow_dispatch:\n    inputs:\n      PR_NUMBER:\n        type: number\n        required: true\n      TRIGGERING_ACTOR:\n        type: string\n        required: true\n      COMMIT_SHA:\n        type: string\n        required: true\n\njobs:\n  deploy:\n    uses: ./.github/workflows/preview-env-template.yml\n    secrets: inherit\n    with:\n      PR_NUMBER: ${{ inputs.PR_NUMBER }}\n      TRIGGERING_ACTOR: ${{ inputs.TRIGGERING_ACTOR }}\n      COMMIT_SHA: ${{ inputs.COMMIT_SHA }}\n", "state": "active", "repository": "mattermost/docs"}
{"mined_at": "2024-07-15T16:14:42.576363", "created_at": "2024-05-20T11:26:48+02:00", "updated_at": "2024-05-20T11:26:48+02:00", "name": "preview-env-setup-template", "path": ".github/workflows/preview-env-template.yml", "contents": "name: preview-env-setup-template\n\non:\n  workflow_call:\n    inputs:\n      PR_NUMBER:\n        type: number\n        required: true\n      TRIGGERING_ACTOR:\n        type: string\n        required: true\n      COMMIT_SHA:\n        type: string\n        required: true\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0\n        with:\n          submodules: true\n          fetch-depth: 0\n\n      - name: Setup Python\n        uses: actions/setup-python@db9987b4c1f10f0404fa60ee629f675fafbd6763 # v4.6.0\n        with:\n          python-version: \"3.9\"\n\n      - name: Install pipenv\n        run: pip install pipenv\n\n      - name: Install dependencies\n        run: pipenv install --dev\n\n      - name: Build\n        run: make SPHINXOPTS=\"-j auto -D html_baseurl=http://mattermost-docs-preview-pulls.s3-website-us-east-1.amazonaws.com/${{ inputs.PR_NUMBER }}\" html\n\n      - uses: shallwefootball/s3-upload-action@4350529f410221787ccf424e50133cbc1b52704e # v1.3.3\n        name: Upload Preview Env\n        with:\n          aws_key_id: ${{ secrets.AWS_KEY_ID }}\n          aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws_bucket: ${{ secrets.AWS_BUCKET }}\n          source_dir: ./build/html\n          destination_dir: ${{ inputs.PR_NUMBER }}\n\n      - name: Add comment to PR\n        uses: peter-evans/create-or-update-comment@7dfe4b0aa0c4bbd06d172692ff8a9e18381d6979 # v3.0.1\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          issue-number: ${{ inputs.PR_NUMBER }}\n          body: |\n            Newest code from ${{ inputs.TRIGGERING_ACTOR }} has been published to [preview environment](http://mattermost-docs-preview-pulls.s3-website-us-east-1.amazonaws.com/${{ inputs.PR_NUMBER }}) for Git SHA ${{ inputs.COMMIT_SHA }}\n", "state": "active", "repository": "mattermost/docs"}
{"mined_at": "2024-07-15T16:14:43.805322", "created_at": "2021-04-29T14:41:02+02:00", "updated_at": "2021-04-29T15:56:28+02:00", "name": "preview-env-setup-update", "path": ".github/workflows/preview-env.yml", "contents": "name: preview-env-setup-update\n\non:\n  pull_request:\n    types: [assigned, opened, reopened, synchronize]\n\njobs:\n  deploy:\n    uses: ./.github/workflows/preview-env-template.yml\n    if: github.event.pull_request.head.repo.full_name == github.repository\n    secrets: inherit\n    with:\n      PR_NUMBER: ${{ github.event.number }}\n      TRIGGERING_ACTOR: ${{ github.event.pull_request.head.user.login }}\n      COMMIT_SHA: ${{ github.event.pull_request.head.sha }}\n", "state": "active", "repository": "mattermost/docs"}
{"mined_at": "2024-07-15T16:14:45.950272", "created_at": "2024-05-03T15:27:12+02:00", "updated_at": "2024-05-03T15:27:12+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "spcl/serverless-benchmarks"}
{"mined_at": "2024-07-15T16:14:48.052230", "created_at": "2021-02-28T18:10:32+01:00", "updated_at": "2021-02-28T18:10:32+01:00", "name": "HACS Action", "path": ".github/workflows/hacs.yaml", "contents": "name: HACS Action\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  hacs:\n    name: HACS Action\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - name: HACS Action\n        uses: \"hacs/action@main\"\n        with:\n          category: \"integration\"\n", "state": "active", "repository": "thomas55555/husqvarna_automower"}
{"mined_at": "2024-07-15T16:14:49.114295", "created_at": "2020-11-05T21:48:20+01:00", "updated_at": "2021-02-28T18:11:29+01:00", "name": "Validate with hassfest", "path": ".github/workflows/hassfest.yaml", "contents": "name: Validate with hassfest\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  validate:\n    runs-on: \"ubuntu-latest\"\n    steps:\n        - name: \"Checkout the repository\"\n          uses: \"actions/checkout@v4\"\n\n        - name: \"Run hassfest validation\"\n          uses: \"home-assistant/actions/hassfest@master\"\n", "state": "active", "repository": "thomas55555/husqvarna_automower"}
{"mined_at": "2024-07-15T16:14:50.138368", "created_at": "2022-07-11T19:47:46+02:00", "updated_at": "2022-07-11T19:47:46+02:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": "name: Lint\n\non:\n  push:\n  pull_request:\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.12\"\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r .github/requirements-test.txt\n\n    - name: Check with Black Code Formatter\n      run: |\n        black custom_components/husqvarna_automower --check\n    - name: Lint with pydocstyle\n      run: |\n        pydocstyle custom_components/husqvarna_automower\n    - name: Lint with isort\n      run: |\n        isort custom_components/husqvarna_automower\n", "state": "active", "repository": "thomas55555/husqvarna_automower"}
{"mined_at": "2024-07-15T16:14:51.277325", "created_at": "2023-06-10T01:16:16+02:00", "updated_at": "2023-06-20T12:31:23+02:00", "name": "PyTest", "path": ".github/workflows/pytest.yml", "contents": "# .github/workflows/app.yaml\nname: PyTest\n\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n\n      # Setup Python (faster than using Python container)\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install pipenv\n        run: |\n          python -m pip install --upgrade pipenv wheel\n      - id: cache-pipenv\n        uses: actions/cache@v4\n        with:\n          path: ~/.local/share/virtualenvs\n          key: ${{ runner.os }}-pipenv-pytest-${{ hashFiles('**/Pipfile.lock') }}\n      - name: Install dependencies\n        run: |\n          pipenv install --deploy --dev\n      - name: Run test suite\n        run: |\n          pip install -r requirements.txt\n          pytest --asyncio-mode=auto custom_components/husqvarna_automower --cov=custom_components.husqvarna_automower --cov-report xml -v\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n            token: ${{ secrets.CODECOV_TOKEN }}\n\n", "state": "active", "repository": "thomas55555/husqvarna_automower"}
{"mined_at": "2024-07-15T16:14:52.403943", "created_at": "2020-11-05T21:52:11+01:00", "updated_at": "2020-11-05T21:52:11+01:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  release-drafter:\n    name: Release Drafter\n    runs-on: ubuntu-latest\n    steps:\n      - name: 📥 Checkout the repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: ⏭️ Get next version\n        id: version\n        run: |\n          declare -i newpost\n          latest=$(git describe --tags $(git rev-list --tags --max-count=1))\n          latestpre=$(echo \"$latest\" | awk '{split($0,a,\".\"); print a[1] \".\" a[2]}')\n          datepre=$(date --utc '+%Y.%-m')\n          if [[ \"$latestpre\" == \"$datepre\" ]]; then\n              latestpost=$(echo \"$latest\" | awk '{split($0,a,\".\"); print a[3]}')\n              newpost=$latestpost+1\n          else\n              newpost=0\n          fi\n          echo Current version:    $latest\n          echo New target version: $datepre.$newpost\n          echo \"::set-output name=version::$datepre.$newpost\"\n      - name: 🏃 Run Release Drafter\n        uses: release-drafter/release-drafter@v6\n        with:\n          tag: ${{ steps.version.outputs.version }}\n          name: ${{ steps.version.outputs.version }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "thomas55555/husqvarna_automower"}
{"mined_at": "2024-07-15T16:14:53.532818", "created_at": "2021-03-07T19:36:15+01:00", "updated_at": "2021-04-05T00:51:57+02:00", "name": "Release Workflow", "path": ".github/workflows/release.yml", "contents": "# This GitHub action workflow is ment to be copyable to any repo that have the same structure.\n# - Your integration exsist under custom_components/{INTEGRATION_NAME}/[integration files]\n# - You are using GitHub releases to publish new versions\n# - You have a INTEGRATION_VERSION constant in custom_components/{INTEGRATION_NAME}/const.py\n\nname: Release Workflow\n\non:\n  release:\n    types: [published]\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: 📥 Checkout the repository\n        uses: actions/checkout@v4\n\n      - name: 🔢 Get release version\n        id: version\n        uses: home-assistant/actions/helpers/version@master\n\n      - name: ℹ️ Get integration information\n        id: information\n        run: |\n          name=$(find custom_components/ -type d -maxdepth 1 | tail -n 1 | cut -d \"/\" -f2)\n          echo \"::set-output name=name::$name\"\n      - name: 🖊️ Set version number\n        run: |\n          sed -i '/INTEGRATION_VERSION = /c\\INTEGRATION_VERSION = \"${{ steps.version.outputs.version }}\"' \\\n            \"${{ github.workspace }}/custom_components/${{ steps.information.outputs.name }}/const.py\"\n          jq '.version = \"${{ steps.version.outputs.version }}\"' \\\n            \"${{ github.workspace }}/custom_components/${{ steps.information.outputs.name }}/manifest.json\" > tmp \\\n            && mv -f tmp \"${{ github.workspace }}/custom_components/${{ steps.information.outputs.name }}/manifest.json\"\n      - name: 👀 Validate data\n        run: |\n          if ! grep -q 'INTEGRATION_VERSION = \"${{ steps.version.outputs.version }}\"' ${{ github.workspace }}/custom_components/${{ steps.information.outputs.name }}/const.py; then\n            echo \"The version in custom_components/${{ steps.information.outputs.name }}/const.py was not correct\"\n            cat ${{ github.workspace }}/custom_components/${{ steps.information.outputs.name }}/const.py | grep INTEGRATION_VERSION\n            exit 1\n          fi\n          manifestversion=$(jq -r '.version' ${{ github.workspace }}/custom_components/${{ steps.information.outputs.name }}/manifest.json)\n          if [ \"$manifestversion\" != \"${{ steps.version.outputs.version }}\" ]; then\n            echo \"The version in custom_components/${{ steps.information.outputs.name }}/manifest.json was not correct\"\n            echo \"$manifestversion\"\n            exit 1\n          fi\n      - name: 📦 Create zip file for the integration\n        run: |\n          cd \"${{ github.workspace }}/custom_components/${{ steps.information.outputs.name }}\"\n          zip ${{ steps.information.outputs.name }}.zip -r ./\n      - name: 📤 Upload the zipfile as a release asset\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ github.event.release.upload_url }}\n          asset_path: \"${{ github.workspace }}/custom_components/${{ steps.information.outputs.name }}/${{ steps.information.outputs.name }}.zip\"\n          asset_name: ${{ steps.information.outputs.name }}.zip\n          asset_content_type: application/zip", "state": "active", "repository": "thomas55555/husqvarna_automower"}
{"mined_at": "2024-07-15T16:14:55.888427", "created_at": "2021-06-04T10:28:27+02:00", "updated_at": "2021-06-04T10:28:27+02:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "# creates the documentation on pushes it to the gh-pages branch\nname: Documentation\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    concurrency: documentation\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n          token: ${{ secrets.PAT }}\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          pip install \".[docs]\"\n\n      - name: Build and Commit\n        uses: sphinx-notes/pages@2.1\n        with:\n          documentation_path: docs\n          sphinx_version: \"5.3.0\"\n\n\n      - name: Push changes\n        if: ${{ github.event_name == 'push' }}\n        uses: ad-m/github-push-action@v0.6.0\n        with:\n          github_token: ${{ secrets.PAT }}\n          branch: gh-pages\n", "state": "active", "repository": "centre-for-humanities-computing/dacy"}
{"mined_at": "2024-07-15T16:14:56.971942", "created_at": "2021-12-27T22:29:25+01:00", "updated_at": "2021-12-27T22:29:25+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "centre-for-humanities-computing/dacy"}
{"mined_at": "2024-07-15T16:14:58.140451", "created_at": "2023-01-02T15:28:57+01:00", "updated_at": "2023-01-02T15:28:57+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "# This workflow will\n# 1) Update the version number in pyproject.toml based on the commit history\n# 2) Create a git tag\n# 3) Create a release on GitHub\n# 4) Upload the package to PyPI\n\nname: Release\non:\n  push:\n    branches: [main]\n  workflow_run:\n    workflows: [\"tests\"]\n    types:\n      - completed\n  \njobs:\n  release:\n    runs-on: ubuntu-latest\n    concurrency: release\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing using PyPI \n      # a guide on how to set it up is available here: https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/\n       \n\n    if: ${{ github.ref == 'refs/heads/main' && github.event.workflow_run.conclusion == 'success'}}\n    steps:\n      # Checkout action is required for token to persist\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.PAT }}\n\n      - name: Python Semantic Release\n        uses: python-semantic-release/python-semantic-release@v8.0.4\n        id: release\n        with:\n          github_token: ${{ secrets.PAT }}\n      \n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        if: steps.release.outputs.released == 'true'\n        # This action supports PyPI's trusted publishing implementation, which allows authentication to PyPI without a manually \n        # configured API token or username/password combination. To perform trusted publishing with this action, your project's \n        # publisher must already be configured on PyPI.\n      \n      - name: Publish package distributions to GitHub Releases\n        uses: python-semantic-release/upload-to-gh-release@main\n        if: steps.release.outputs.released == 'true'\n        with:\n          github_token: ${{ secrets.PAT }}\n", "state": "active", "repository": "centre-for-humanities-computing/dacy"}
{"mined_at": "2024-07-15T16:14:59.340837", "created_at": "2023-01-02T15:28:57+01:00", "updated_at": "2023-01-02T15:28:57+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "# This workflow will:\n# 1) install Python dependencies\n# 2) run make test\n\n\nname: Tests\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  pytest:\n    runs-on: ${{ matrix.os }}\n    permissions:\n      contents: read\n      issues: read\n      checks: write\n      pull-requests: write\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.9\", \"3.10\"]\n\n    # This allows a subsequently queued workflow run to interrupt previous runs\n    concurrency:\n      group: \"${{ github.workflow }}-${{ matrix.python-version}}-${{ matrix.os }} @ ${{ github.ref }}\"\n      cancel-in-progress: true\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip' # caching pip dependencies\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          make install\n\n      - name: Run tests\n        shell: bash\n        run: |\n          make test", "state": "active", "repository": "centre-for-humanities-computing/dacy"}
{"mined_at": "2024-07-15T16:15:00.351732", "created_at": "2023-10-10T20:23:36+02:00", "updated_at": "2023-10-10T23:12:32+02:00", "name": "static_type_checks", "path": ".github/workflows/static_type_checks.yml", "contents": "name: static_type_checks\n\non:\n  pull_request:\n    branches: [main]\n  push:\n    branches: [main]\n\njobs:\n  static_type_checks:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.9\"]\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        id: setup_python\n        with:\n          python-version: ${{ matrix.python-version}}\n          cache: pip\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          make install\n\n      - name: Run static type checker\n        shell: bash\n        run: |\n          make static-type-check\n", "state": "active", "repository": "centre-for-humanities-computing/dacy"}
{"mined_at": "2024-07-15T16:15:01.520049", "created_at": "2023-12-06T21:05:07+01:00", "updated_at": "2023-12-23T11:06:36+01:00", "name": "run-linting", "path": ".github/workflows/lint.yml", "contents": "# GitHub action to run linting\n\nname: run-linting\n\non:\n  pull_request:\n    branches: [main]\n  push:\n    branches: [main]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n          cache: \"pip\"\n\n      - name: Install dependencies\n        run: make install\n\n      - name: Lint\n        id: lint\n        run: |\n          make lint\n", "state": "active", "repository": "centre-for-humanities-computing/dacy"}
{"mined_at": "2024-07-15T16:15:02.741048", "created_at": "2023-04-11T01:26:18+02:00", "updated_at": "2024-07-02T15:06:21+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stalebot.yml", "contents": "name: \"Close stale issues and PRs\"\non:\n  schedule:\n    - cron: \"0 13 * * 2-5\"\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v6\n        with:\n          days-before-issue-stale: 32\n          days-before-issue-close: 7\n          stale-issue-message: \"This issue is stale because it has been open for 14 days with no activity. Feel free to either 1) remove the stale label or 2) comment. If nothing happens, this will be closed in 7 days.\"\n          close-issue-message: \"This issue was closed automatically. Feel free to re-open it if it's important.\"\n          days-before-pr-stale: 2\n          stale-pr-message: \"This PR is stale because it has been open 1+ days with no activity. Feel free to either 1) remove the stale label or 2) comment. If nothing happens, this will be closed in 7 days.\"\n          days-before-pr-close: 7\n          close-pr-message: \"This PR was closed automatically. Feel free to re-open it if you still want to work on it.\"\n          close-pr-label: \"closed-by-stalebot\"\n          operations-per-run: 20\n          exempt-pr-labels: \"no-stale\"\n          exempt-issue-labels: \"no-stale\"", "state": "disabled_inactivity", "repository": "centre-for-humanities-computing/dacy"}
{"mined_at": "2024-07-15T16:15:04.720669", "created_at": "2022-01-29T18:06:16+01:00", "updated_at": "2023-07-25T22:28:19+02:00", "name": "Auto Documentation", "path": ".github/workflows/auto_generate_docs.yml", "contents": "name: Auto Documentation\n\non:\n release:\n    types: [published]\n\njobs:\n  generate_docs:\n    if: ${{ github.repository_owner == 'bczsalba' }} # prevents workflow from running in forked repos\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout master branch\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.x\"\n\n      - name: Install pdoc & dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pdoc\n          pip install .\n\n      - name: Generate documentation\n        run: |\n          pdoc -o ./docs pytermgui --logo https://github.com/bczsalba/pytermgui/blob/master/assets/title.png?raw=true --docformat google\n\n      - name: Commit changes\n        run: |\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git add ./docs/\n          git commit -m \"Auto-update documentation\"\n\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n", "state": "disabled_manually", "repository": "bczsalba/pytermgui"}
{"mined_at": "2024-07-15T16:15:05.918407", "created_at": "2022-01-29T14:48:59+01:00", "updated_at": "2022-11-17T15:11:20+01:00", "name": "Generate Documentation", "path": ".github/workflows/generate_docs.yml", "contents": "name: Generate Documentation\n\non:\n  workflow_dispatch:\n    inputs:\n      message:\n        description: Commit message\n\njobs:\n  generate_docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout master branch\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.x\"\n\n      - name: Install pdoc\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n          pip install pdoc\n\n      - name: Generate documentation\n        run: |\n          pdoc -o ./docs pytermgui --logo https://github.com/bczsalba/pytermgui/blob/master/assets/title.png?raw=true --docformat google\n\n      - name: Commit changes\n        run: |\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git add ./docs/\n          git commit -m \"${{ github.event.inputs.message }}\"\n\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n", "state": "disabled_manually", "repository": "bczsalba/pytermgui"}
{"mined_at": "2024-07-15T16:15:06.930682", "created_at": "2022-01-29T11:20:56+01:00", "updated_at": "2022-07-23T15:38:24+02:00", "name": "Run linting", "path": ".github/workflows/pylint.yml", "contents": "name: Run linting\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n      - \"pytermgui/**\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n\n          pip install .\n          pip install pylint\n\n      - name: Analysing the code with pylint\n        run: |\n          pylint --fail-under 10.0 -d fixme pytermgui\n", "state": "active", "repository": "bczsalba/pytermgui"}
{"mined_at": "2024-07-15T16:15:08.585189", "created_at": "2022-03-07T12:46:44+01:00", "updated_at": "2022-07-23T15:38:23+02:00", "name": "Run tests", "path": ".github/workflows/pytest.yml", "contents": "name: Run tests\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n      - \"pytermgui/**\"\n      - \"tests/**\"\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n\n          pip install .\n\n          pip install testfixtures\n          pip install pytest-cov\n          pip install coverage\n          pip install pyyaml\n\n      - name: Run tests with coverage\n        run: |\n          make test\n", "state": "active", "repository": "bczsalba/pytermgui"}
{"mined_at": "2024-07-15T16:15:09.562662", "created_at": "2022-01-02T00:57:53+01:00", "updated_at": "2022-01-29T12:42:57+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "bczsalba/pytermgui"}
{"mined_at": "2024-07-15T16:15:12.067231", "created_at": "2021-10-24T22:25:47+02:00", "updated_at": "2023-06-20T17:34:22+02:00", "name": "Benchmarks", "path": ".github/workflows/benchmark.yml", "contents": "name: Benchmarks\n\non:\n  pull_request:\n    branches:\n      - master\n    paths-ignore:\n      - 'docs/**'\n      - 'devtools/**'\n  workflow_dispatch:\n    inputs:\n      debug_enabled:\n        type: boolean\n        description: '(https://github.com/marketplace/actions/debugging-with-tmate)'\n        required: false\n        default: false\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  benchmark:\n    runs-on: ubuntu-latest\n\n    steps:\n      # Enable tmate debugging of manually-triggered workflows if the input option was provided\n      - name: Setup tmate session\n        uses: mxschmitt/action-tmate@v3\n        if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r devtools/dev-requirements.txt\n      - name: Benchmark with pytest-benchmark\n        run: |\n          pwd\n          lscpu\n          cd tests/benchmarks\n          python -m pytest benchmark_cpu_small.py -vv \\\n            --benchmark-save='Latest_Commit' \\\n            --durations=0 \\\n            --benchmark-save-data\n      - name: Checkout current master\n        uses: actions/checkout@v4\n        with:\n          ref: master\n          clean: false\n      - name: Checkout benchmarks from PR head\n        run: git checkout ${{ github.event.pull_request.head.sha }} -- tests/benchmarks\n      - name: Benchmark with pytest-benchmark\n        run: |\n          pwd\n          lscpu\n          cd tests/benchmarks\n          python -m pytest benchmark_cpu_small.py -vv \\\n            --benchmark-save='master' \\\n            --durations=0 \\\n            --benchmark-save-data\n      - name: put benchmark results in same folder\n        run: |\n          pwd\n          cd tests/benchmarks\n          find .benchmarks/ -type f -printf \"%T@ %p\\n\" | sort -n | cut -d' ' -f 2- | tail -n 1 > temp1\n          find .benchmarks/ -type f -printf \"%T@ %p\\n\" | sort -n | cut -d' ' -f 2- | tail -n 2 | head -n 1 > temp2\n          t1=$(cat temp1)\n          t2=$(cat temp2)\n          mkdir compare_results\n          cp $t1 compare_results\n          cp $t2 compare_results\n      - name: Compare latest commit results to the master branch results\n        run: |\n          pwd\n          cd tests/benchmarks\n          python compare_bench_results.py\n          cat commit_msg.txt\n      - name: comment PR with the results\n        uses: thollander/actions-comment-pull-request@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filePath: tests/benchmarks/commit_msg.txt\n          comment_tag: benchmark\n      - name: Upload benchmark data\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: benchmark_artifact\n          path: tests/benchmarks/.benchmarks\n", "state": "active", "repository": "plasmacontrol/desc"}
{"mined_at": "2024-07-15T16:15:13.296229", "created_at": "2021-08-03T03:32:55+02:00", "updated_at": "2022-04-13T22:02:54+02:00", "name": "Black formatting", "path": ".github/workflows/black.yml", "contents": "name: Black formatting\n\non: [pull_request, workflow_dispatch]\n\njobs:\n  black_format:\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r devtools/dev-requirements.txt\n      - name: Check files using the black formatter\n        run: |\n          black --version\n          black --check desc/ tests/ || black_return_code=$?\n          echo \"BLACK_RETURN_CODE=$black_return_code\" >> $GITHUB_ENV\n          black desc/ tests/\n      - name: Annotate diff changes using reviewdog\n        uses: reviewdog/action-suggester@v1\n        with:\n          tool_name: blackfmt\n      - name: Fail if not formatted\n        run: |\n          exit ${{ env.BLACK_RETURN_CODE }}\n", "state": "active", "repository": "plasmacontrol/desc"}
{"mined_at": "2024-07-15T16:15:14.298046", "created_at": "2022-02-25T16:20:05+01:00", "updated_at": "2022-11-19T01:14:08+01:00", "name": "Dependency test JAX", "path": ".github/workflows/jax_tests.yml", "contents": "name: Dependency test JAX\n\non:\n  pull_request:\n    types: [labeled]\n  workflow_dispatch:\n\njobs:\n  jax_tests:\n    if: ${{ github.event.label.name == 'test_jax' && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        jax-version: [0.3.0,  0.3.1,  0.3.2,  0.3.3,  0.3.4,  0.3.5,\n                      0.3.6,  0.3.7,  0.3.8,  0.3.9,  0.3.10, 0.3.11,\n                      0.3.12, 0.3.13, 0.3.14, 0.3.15, 0.3.16, 0.3.17,\n                      0.3.19, 0.3.20, 0.3.21, 0.3.22, 0.3.23, 0.3.24,\n                      0.3.25, 0.4.1,  0.4.2,  0.4.3,  0.4.4,  0.4.5,\n                      0.4.6,  0.4.7,  0.4.8,  0.4.9,  0.4.10, 0.4.11,\n                      0.4.12, 0.4.13, 0.4.14, 0.4.16, 0.4.17, 0.4.18,\n                      0.4.18, 0.4.19, 0.4.20, 0.4.21, 0.4.22, 0.4.23,\n                      0.4.24, 0.4.25]\n        group: [1, 2]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n          cache: pip\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r devtools/dev-requirements.txt\n          pip install matplotlib==3.5.0\n      - name: Remove jax\n        run: |\n          pip uninstall jax jaxlib -y\n      - name: install jax\n        run: |\n          pip install \"jax[cpu]==${{ matrix.jax-version }}\"\n      - name: Test with pytest\n        run: |\n          pwd\n          lscpu\n          python -m pytest -m unit \\\n            --durations=0 \\\n            --mpl \\\n            --maxfail=1 \\\n            --splits 3 \\\n            --group ${{ matrix.group }} \\\n            --splitting-algorithm least_duration\n", "state": "active", "repository": "plasmacontrol/desc"}
{"mined_at": "2024-07-15T16:15:15.449329", "created_at": "2022-10-09T22:28:49+02:00", "updated_at": "2022-10-10T22:24:28+02:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\n\non: [pull_request, workflow_dispatch]\n\njobs:\n  flake8_linting:\n    runs-on: ubuntu-latest\n    name: Linting\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r devtools/dev-requirements.txt\n      - name: flake8 Lint\n        uses: reviewdog/action-flake8@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          reporter: github-pr-review\n", "state": "active", "repository": "plasmacontrol/desc"}
{"mined_at": "2024-07-15T16:15:16.553966", "created_at": "2022-09-22T21:54:30+02:00", "updated_at": "2022-09-29T20:57:15+02:00", "name": "Dependecy test Matplotlib", "path": ".github/workflows/mpl_tests.yml", "contents": "name: Dependecy test Matplotlib\n\non:\n  pull_request:\n    types: [labeled]\n  workflow_dispatch:\n\njobs:\n  mpl_tests:\n    if: ${{ github.event.label.name == 'test_mpl' && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        mpl-version: [3.0.0]\n        include:\n          - mpl-version: 3.0.0\n          - mpl-version: 3.0.1\n          - mpl-version: 3.0.2\n          - mpl-version: 3.0.3\n          - mpl-version: 3.1.0\n          - mpl-version: 3.1.1\n          - mpl-version: 3.1.2\n          - mpl-version: 3.1.3\n          - mpl-version: 3.2.0\n          - mpl-version: 3.2.1\n          - mpl-version: 3.2.2\n          - mpl-version: 3.3.0\n          - mpl-version: 3.3.1\n          - mpl-version: 3.3.2\n          - mpl-version: 3.3.3\n          - mpl-version: 3.3.4\n          - mpl-version: 3.4.0\n          - mpl-version: 3.4.1\n          - mpl-version: 3.4.2\n          - mpl-version: 3.4.3\n          - mpl-version: 3.5.0\n          - mpl-version: 3.5.1\n          - mpl-version: 3.5.2\n          - mpl-version: 3.5.3\n          - mpl-version: 3.6.0\n          - mpl-version: 3.6.1\n          - mpl-version: 3.6.2\n          - mpl-version: 3.6.3\n          - mpl-version: 3.7.0\n          - mpl-version: 3.7.1\n          - mpl-version: 3.7.2\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: pip\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r devtools/dev-requirements.txt\n          pip install \"matplotlib==${{ matrix.mpl-version }}\"\n      - name: Test with pytest\n        run: |\n          pwd\n          lscpu\n          python -m pytest tests/test_plotting.py --durations=0 --mpl --maxfail=1\n", "state": "active", "repository": "plasmacontrol/desc"}
{"mined_at": "2024-07-15T16:15:17.576785", "created_at": "2022-06-28T19:18:36+02:00", "updated_at": "2022-09-28T21:58:20+02:00", "name": "Notebook tests", "path": ".github/workflows/nbtests.yml", "contents": "name: Notebook tests\n\non:\n  push:\n    branches:\n      - master\n      - dev\n  pull_request:\n    branches:\n      - master\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  notebook_tests:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10']\n        group: [1, 2]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r devtools/dev-requirements.txt\n      - name: Test notebooks with pytest and nbmake\n        run: |\n          pwd\n          lscpu\n          export PYTHONPATH=$(pwd)\n          pytest -v --nbmake \"./docs/notebooks\" \\\n            --nbmake-timeout=1000 \\\n            --ignore=./docs/notebooks/zernike_eval.ipynb \\\n            --splits 2 \\\n            --group ${{ matrix.group }} \\\n", "state": "active", "repository": "plasmacontrol/desc"}
{"mined_at": "2024-07-15T16:15:18.725022", "created_at": "2022-09-23T03:33:44+02:00", "updated_at": "2022-10-04T17:36:40+02:00", "name": "Regression tests", "path": ".github/workflows/regression_test.yml", "contents": "name: Regression tests\n\non:\n  push:\n    branches:\n      - master\n      - dev\n  pull_request:\n    branches:\n      - master\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  regression_tests:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10']\n        group: [1, 2, 3, 4, 5, 6]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r devtools/dev-requirements.txt\n          pip install matplotlib==3.7.2\n      - name: Set Swap Space\n        uses: pierotofy/set-swap-space@master\n        with:\n          swap-size-gb: 10\n      - name: Test with pytest\n        run: |\n          pwd\n          lscpu\n          python -m pytest -v -m regression \\\n            --durations=0 \\\n            --cov-report xml:cov.xml \\\n            --cov-config=setup.cfg \\\n            --cov=desc/ \\\n            --mpl \\\n            --mpl-results-path=mpl_results.html \\\n            --mpl-generate-summary=html \\\n            --splits 6 \\\n            --group ${{ matrix.group }} \\\n            --splitting-algorithm least_duration \\\n            --db ./prof.db\n      - name: save coverage file and plot comparison results\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: regression_test_artifact-${{ matrix.python-version }}-${{ matrix.group }}\n          path: |\n            ./cov.xml\n            ./mpl_results.html\n            ./prof.db\n      - name: Upload coverage\n        id : codecov\n        uses: Wandalen/wretry.action@v1.3.0\n        with:\n          action: codecov/codecov-action@v3\n          with: |\n            token: ${{ secrets.CODECOV_TOKEN }}\n            name: codecov-umbrella\n            files: ./cov.xml\n            fail_ci_if_error: true\n            verbose: true\n          attempt_limit: 10\n          attempt_delay: 60000 # ms, 1 min\n", "state": "active", "repository": "plasmacontrol/desc"}
{"mined_at": "2024-07-15T16:15:19.767722", "created_at": "2021-07-05T22:55:12+02:00", "updated_at": "2021-07-05T22:55:12+02:00", "name": "Upload Python Package", "path": ".github/workflows/release.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r devtools/dev-requirements.txt\n      - name: Build package\n        run: python -m build --sdist --wheel\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "plasmacontrol/desc"}
{"mined_at": "2024-07-15T16:15:20.844283", "created_at": "2024-03-06T02:12:57+01:00", "updated_at": "2024-03-06T02:12:57+01:00", "name": "Weekly tests", "path": ".github/workflows/scheduled.yml", "contents": "name: Weekly tests\n\non:\n  schedule:\n      - cron: '17 9 * * 1'\n  workflow_dispatch:\n\njobs:\n  unit_tests:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        combos: [{group: 1, python_version: '3.8'},\n                 {group: 2, python_version: '3.9'},\n                 {group: 3, python_version: '3.10'},\n                 {group: 4, python_version: '3.11'},\n                 {group: 5, python_version: '3.12'}]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.combos.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.combos.python_version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r devtools/dev-requirements.txt\n      - name: Set Swap Space\n        uses: pierotofy/set-swap-space@master\n        with:\n          swap-size-gb: 10\n      - name: Test with pytest\n        run: |\n          pwd\n          lscpu\n          python -m pytest -v -m unit \\\n            --durations=0 \\\n            --splits 5 \\\n            --group ${{ matrix.combos.group }} \\\n            --splitting-algorithm least_duration\n", "state": "active", "repository": "plasmacontrol/desc"}
{"mined_at": "2024-07-15T16:15:22.001062", "created_at": "2022-09-22T07:06:37+02:00", "updated_at": "2022-10-04T17:36:40+02:00", "name": "Unit tests", "path": ".github/workflows/unittest.yml", "contents": "name: Unit tests\n\non:\n  push:\n    branches:\n      - master\n      - dev\n  pull_request:\n    branches:\n      - master\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unit_tests:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        combos: [{group: 1, python_version: '3.9'},\n                 {group: 2, python_version: '3.10'},\n                 {group: 3, python_version: '3.11'},\n                 {group: 4, python_version: '3.12'}]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.combos.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.combos.python_version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r devtools/dev-requirements.txt\n          pip install matplotlib==3.7.2\n      - name: Set Swap Space\n        uses: pierotofy/set-swap-space@master\n        with:\n          swap-size-gb: 10\n      - name: Test with pytest\n        run: |\n          pwd\n          lscpu\n          python -m pytest -v -m unit \\\n            --durations=0 \\\n            --cov-report xml:cov.xml \\\n            --cov-config=setup.cfg \\\n            --cov=desc/ \\\n            --mpl \\\n            --mpl-results-path=mpl_results.html \\\n            --mpl-generate-summary=html \\\n            --splits 4 \\\n            --group ${{ matrix.combos.group }} \\\n            --splitting-algorithm least_duration \\\n            --db ./prof.db\n      - name: save coverage file and plot comparison results\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: unit_test_artifact-${{ matrix.combos.python_version }}-${{ matrix.combos.group }}\n          path: |\n            ./cov.xml\n            ./mpl_results.html\n            ./prof.db\n      - name: Upload coverage\n        id : codecov\n        uses: Wandalen/wretry.action@v1.3.0\n        with:\n          action: codecov/codecov-action@v3\n          with: |\n            token: ${{ secrets.CODECOV_TOKEN }}\n            name: codecov-umbrella\n            files: ./cov.xml\n            fail_ci_if_error: true\n            verbose: true\n          attempt_limit: 10\n          attempt_delay: 60000 # ms, 1 min\n", "state": "active", "repository": "plasmacontrol/desc"}
{"mined_at": "2024-07-15T16:15:24.261836", "created_at": "2020-10-08T22:57:07+02:00", "updated_at": "2020-10-08T22:57:07+02:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-ci.txt --quiet\n      - name: mypy\n        run: |\n          mypy --namespace-packages --explicit-package-bases pymatgen\n      - name: ruff\n        run: |\n          ruff pymatgen\n          ruff format pymatgen\n", "state": "active", "repository": "materialsvirtuallab/pymatgen-analysis-diffusion"}
{"mined_at": "2024-07-15T16:15:25.323825", "created_at": "2020-10-08T22:57:07+02:00", "updated_at": "2020-10-08T22:57:07+02:00", "name": "Testing", "path": ".github/workflows/testing.yml", "contents": "name: Testing\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.9']\n\n    runs-on: ${{ matrix.os }}\n\n    env:\n      PMG_MAPI_KEY: ${{ secrets.PMG_MAPI_KEY }}\n      MPLBACKEND: \"Agg\"\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: setup.py\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --quiet -r requirements.txt -r requirements-ci.txt\n        pip install -e .\n    - name: pytest\n      run: |\n        pytest --cov=pymatgen.analysis.diffusion --durations=30 pymatgen\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v3\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "materialsvirtuallab/pymatgen-analysis-diffusion"}
{"mined_at": "2024-07-15T16:15:26.368989", "created_at": "2022-01-10T14:08:27+01:00", "updated_at": "2022-01-10T14:08:27+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "materialsvirtuallab/pymatgen-analysis-diffusion"}
{"mined_at": "2024-07-15T16:15:28.486517", "created_at": "2024-06-25T23:14:25+02:00", "updated_at": "2024-06-25T23:14:25+02:00", "name": "GitHub Pages", "path": ".github/workflows/hugo-gh-pages.yml", "contents": null, "state": "active", "repository": "mitodl/ol-infrastructure"}
{"mined_at": "2024-07-15T16:15:29.467817", "created_at": "2024-06-25T22:07:49+02:00", "updated_at": "2024-06-25T22:35:06+02:00", "name": "Deploy Hugo site to Pages", "path": ".github/workflows/hugo.yml", "contents": null, "state": "active", "repository": "mitodl/ol-infrastructure"}
{"mined_at": "2024-07-15T16:15:30.486539", "created_at": "2023-03-21T19:00:59+01:00", "updated_at": "2024-06-27T23:38:11+02:00", "name": "Add new issues to OL Engineering Project", "path": ".github/workflows/project_automation.yaml", "contents": "---\nname: Add new issues to OL Engineering Project\n\non:\n  issues:\n    types:\n    - opened\n\njobs:\n  add-to-project:\n    name: Add issue to project\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/add-to-project@9bfe908f2eaa7ba10340b31e314148fcfe6a2458 # v1.0.1\n      with:\n          # You can target a project in a different organization\n          # to the issue\n        project-url: https://github.com/orgs/mitodl/projects/21\n        github-token: ${{ secrets.GH_PROJECT_AUTOMATION_TOKEN }}\n", "state": "active", "repository": "mitodl/ol-infrastructure"}
{"mined_at": "2024-07-15T16:15:31.608199", "created_at": "2024-04-05T15:48:45+02:00", "updated_at": "2024-04-05T15:48:45+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mitodl/ol-infrastructure"}
{"mined_at": "2024-07-15T16:15:32.597514", "created_at": "2024-06-27T23:32:15+02:00", "updated_at": "2024-06-27T23:32:15+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mitodl/ol-infrastructure"}
{"mined_at": "2024-07-15T16:15:34.725869", "created_at": "2021-05-25T02:46:51+02:00", "updated_at": "2021-05-25T02:46:51+02:00", "name": "Label sync", "path": ".github/workflows/label_sync.yml", "contents": "name: Label sync\n# ℹ️ https://github.com/WordPress/openverse/blob/main/.github/GITHUB.md#label-sync\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\" # at 00:00\n\njobs:\n  sync_labels:\n    name: Sync labels\n    runs-on: ubuntu-latest\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    if: github.repository_owner == 'WordPress'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Sync labels from monorepo to infra\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.ACCESS_TOKEN }}\n          script: |\n            const { main } = await import('${{ github.workspace }}/automations/js/src/sync_labels.mjs')\n            await main(github, core)\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:35.749425", "created_at": "2021-08-08T17:08:51+02:00", "updated_at": "2021-08-09T18:38:32+02:00", "name": "Meta file sync", "path": ".github/workflows/sync_meta.yml", "contents": "name: Meta file sync\n# ℹ️ https://github.com/WordPress/openverse/blob/main/.github/GITHUB.md#meta-file-sync\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n  push:\n    branches:\n      - main\n    paths:\n      - \"automations/**\"\n      - \".github/**\"\n\njobs:\n  sync_meta:\n    name: Sync meta files\n    runs-on: ubuntu-latest\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    if: github.repository_owner == 'WordPress'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Run file sync\n        uses: BetaHuhn/repo-file-sync-action@v1\n        with:\n          GH_PAT: ${{ secrets.ACCESS_TOKEN }} # Can't use GITHUB_TOKEN to make PRs on other repos\n          PR_LABELS: |\n            🧰 goal: internal improvement\n            🤖 aspect: dx\n            🟧 priority: high\n            🧱 stack: mgmt\n            skip-changelog\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:36.952830", "created_at": "2021-09-11T17:30:28+02:00", "updated_at": "2021-09-14T04:55:35+02:00", "name": "PR label check", "path": ".github/workflows/pr_label_check.yml", "contents": "name: PR label check\n# ℹ️ https://github.com/WordPress/openverse/blob/main/.github/GITHUB.md#pr-label-check\n\non:\n  pull_request:\n    types:\n      # Default types\n      # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request\n      - opened\n      - reopened\n      - synchronize\n      # Label is changed\n      - labeled\n      - unlabeled\n\njobs:\n  # Extract the current label list by group\n  get_label_groups:\n    name: Get label groups\n    runs-on: ubuntu-latest\n    outputs:\n      aspect: ${{ steps.get_groups.outputs.aspect }}\n      goal: ${{ steps.get_groups.outputs.goal }}\n      priority: ${{ steps.get_groups.outputs.priority }}\n      stack: ${{ steps.get_groups.outputs.stack }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Get label groups\n        id: get_groups\n        env:\n          PYTHONPATH: ${{ github.workspace }}/automations/python\n        working-directory: automations/python/workflows\n        run: python get_label_groups.py\n\n  # List of aspect labels: https://github.com/WordPress/openverse/labels?q=aspect\n  check_aspect_label:\n    name: Check aspect label\n    runs-on: ubuntu-latest\n    needs:\n      - get_label_groups\n    steps:\n      - name: Check aspect label\n        uses: docker://agilepathway/pull-request-label-checker:v1.6.32\n        with:\n          any_of: ${{ needs.get_label_groups.outputs.aspect }}\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n\n  # List of goal labels: https://github.com/WordPress/openverse/labels?q=goal\n  check_goal_label:\n    name: Check goal label\n    runs-on: ubuntu-latest\n    needs:\n      - get_label_groups\n    steps:\n      - name: Check goal label\n        uses: docker://agilepathway/pull-request-label-checker:v1.6.32\n        with:\n          one_of: ${{ needs.get_label_groups.outputs.goal }}\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n\n  # List of priority labels: https://github.com/WordPress/openverse/labels?q=priority\n  check_priority_label:\n    name: Check priority label\n    runs-on: ubuntu-latest\n    needs:\n      - get_label_groups\n    steps:\n      - name: Check priority label\n        uses: docker://agilepathway/pull-request-label-checker:v1.6.32\n        with:\n          one_of: ${{ needs.get_label_groups.outputs.priority }}\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n\n  # List of stack labels: https://github.com/WordPress/openverse/labels?q=stack\n  check_stack_label:\n    name: Check stack label\n    runs-on: ubuntu-latest\n    needs:\n      - get_label_groups\n    steps:\n      - name: Check stack label\n        uses: docker://agilepathway/pull-request-label-checker:v1.6.32\n        with:\n          any_of: ${{ needs.get_label_groups.outputs.stack }}\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:38.180217", "created_at": "2021-10-07T09:02:04+02:00", "updated_at": "2021-10-07T09:02:04+02:00", "name": "Weekly updates", "path": ".github/workflows/weekly_updates.yml", "contents": "name: Weekly updates\n# ℹ️ https://github.com/WordPress/openverse/blob/main/.github/GITHUB.md#project-automation\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"1 0 * * 1\" # just after midnight on Monday\n\nenv:\n  ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}\n  MAKE_USERNAME: ${{ secrets.MAKE_USERNAME }}\n  MAKE_PASSWORD: ${{ secrets.MAKE_PASSWORD }} # application password, not login password\n\njobs:\n  make_post:\n    name: Create post on Make site\n    runs-on: ubuntu-latest\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    if: github.repository_owner == 'WordPress'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          setup_python: false\n          install_recipe: node-install\n\n      - name: Publish post\n        run: just automations/js/report\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:39.308766", "created_at": "2021-10-19T06:02:32+02:00", "updated_at": "2021-10-19T06:02:32+02:00", "name": "New PR notification", "path": ".github/workflows/pr_ping.yml", "contents": "name: New PR notification\n# ℹ️ https://github.com/WordPress/openverse/blob/main/.github/GITHUB.md#new-pr-notification\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - ready_for_review\n\njobs:\n  send_message:\n    name: Send Slack message\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    # Also prevent running this for bot-related PRs\n    if: |\n      github.actor != 'dependabot[bot]' &&\n      !startsWith(github.event.pull_request.title, '🔄') &&\n      github.repository_owner == 'WordPress'\n    runs-on: ubuntu-latest\n    env:\n      EVENT_ACTION: ${{ github.event.action }}\n      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n      SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n    steps:\n      - name: Write payload to file\n        uses: actions/github-script@v7\n        with:\n          script: |\n            let { writeFileSync } = await import('fs')\n\n            const repoName = `${context.repo.owner}/${context.repo.repo}`\n            const { pull_request: pr } = context.payload\n            const isNew = process.env.EVENT_ACTION === 'opened'\n            const emoji = pr.draft ? ':pr-draft:' : ':pull-request:'\n            const adjective = isNew ? pr.draft ? 'New draft ' : 'New ' : ''\n            const verb = isNew ? 'opened' : 'marked ready for review'\n\n            const payload = {\n              text: `${adjective}PR ${verb} by ${pr.user.login} in ${repoName}: #${pr.number} - ${pr.title}`,\n              blocks: [\n                {\n                  type: 'section',\n                  text: {\n                    type: 'mrkdwn',\n                    text: `${emoji} ${adjective}PR ${verb} by *${pr.user.login}* in \\`${repoName}\\`:\\n<${pr.html_url}|#${pr.number} - ${pr.title}>`\n                  }\n                }\n              ]\n            }\n            console.log(JSON.stringify(payload))\n            writeFileSync('/tmp/pr_ping_payload.json', JSON.stringify(payload))\n\n      - name: Send Slack notification\n        uses: slackapi/slack-github-action@v1.26.0\n        with:\n          payload-file-path: /tmp/pr_ping_payload.json\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:40.347389", "created_at": "2021-12-07T00:39:05+01:00", "updated_at": "2021-12-07T00:39:05+01:00", "name": "New discussion notification", "path": ".github/workflows/discussion_ping.yml", "contents": "name: New discussion notification\n# ℹ️ https://github.com/WordPress/openverse/blob/main/.github/GITHUB.md#new-discussion-notification\n\non:\n  discussion:\n    types:\n      - created\n\njobs:\n  send_message:\n    name: Send Slack message\n    runs-on: ubuntu-latest\n    env:\n      discussion_url: ${{ github.event.discussion.html_url }}\n      discussion_number: ${{ github.event.discussion.number }}\n      discussion_title: ${{ format('{0}', github.event.discussion.title) }}\n      discussion_author: ${{ github.event.discussion.user.login }}\n      discussion_repo: ${{ github.event.repository.full_name }}\n      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n      SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n    steps:\n      - name: Send notification for new discussion\n        id: slack\n        uses: slackapi/slack-github-action@v1.26.0\n        with:\n          payload: |\n            {\n             \"text\": \"New discussion opened by ${{ env.discussion_author }} in ${{ env.discussion_repo }}: #${{ env.discussion_number }} - ${{ env.discussion_title }}\",\n             \"blocks\": [\n               {\n                 \"type\": \"section\",\n                 \"text\": {\n                   \"type\": \"mrkdwn\",\n                   \"text\": \":github: New discussion opened by *${{ env.discussion_author }}* in ${{ env.discussion_repo }}:\\n<${{ env.discussion_url }}|#${{ env.discussion_number }} - ${{ env.discussion_title }}>\"\n                 }\n               }\n             ]\n            }\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:41.558845", "created_at": "2022-10-17T20:19:27+02:00", "updated_at": "2022-10-17T20:19:27+02:00", "name": "Subscribe to Label", "path": ".github/workflows/subscribe_to_label.yml", "contents": "name: \"Subscribe to Label\"\n# link: https://github.com/bytecodealliance/subscribe-to-label-action\n\non:\n  issues:\n    types: [\"labeled\"]\n\njobs:\n  subscribe:\n    runs-on: ubuntu-latest\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    if: github.repository_owner == 'WordPress'\n    steps:\n      - uses: bytecodealliance/subscribe-to-label-action@v1\n        with:\n          repo-token: \"${{ secrets.ACCESS_TOKEN }}\"\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:42.660145", "created_at": "2023-02-18T08:34:58+01:00", "updated_at": "2023-02-18T08:34:58+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:43.914103", "created_at": "2023-02-18T20:33:15+01:00", "updated_at": "2023-02-20T17:03:30+01:00", "name": "Generate POT file", "path": ".github/workflows/generate_pot.yml", "contents": "name: Generate POT file\n\non:\n  push:\n    # The workflow will only run when both filters are satisfied.\n    paths:\n      - frontend/src/locales/scripts/en.json5\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  generate-pot:\n    name: Generate POT file\n    runs-on: ubuntu-latest\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    if: github.repository_owner == 'WordPress'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          setup_python: false\n          install_recipe: node-install\n\n      - name: Generate PO\n        run: just frontend/run i18n:generate-pot\n\n      - name: Copy to root\n        run: cp frontend/openverse.pot /tmp/openverse.pot\n\n      - name: Checkout repository at `translations` branch\n        uses: actions/checkout@v4\n        with:\n          ref: translations\n\n      - name: Update POT on `translations` branch\n        run: |\n          rm openverse.pot\n          cp /tmp/openverse.pot openverse.pot\n          git config --global user.name 'POT Updater'\n          git config --global user.email 'openverse@wordpress.org'\n          git commit --no-verify -am 'Update POT file'\n          git push --no-verify\n\n      - name: Checkout repository # again, to enable cleaning.\n        if: always()\n        uses: actions/checkout@v4\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:45.123058", "created_at": "2023-02-18T20:33:15+01:00", "updated_at": "2023-04-07T08:55:00+02:00", "name": "CI + CD", "path": ".github/workflows/ci_cd.yml", "contents": "name: CI + CD\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n    inputs:\n      image_tag:\n        description: \"The tag to assign to the images built in the workflow.\"\n        type: string\n        required: false\n        default: \"\"\n      # This is useful when dispatching on a branch other than `main`.\n      perform_deploy:\n        description: \"Publish images and deploy staging?\"\n        type: boolean\n        required: false\n        default: false\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  # Don't continue building images for a PR if the PR is updated quickly\n  # For other workflows, allow them to complete and just block on them. This\n  # ensures deployments in particular to happen in series rather than parallel.\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n  ###########\n  # Helpers #\n  ###########\n\n  get-changes:\n    name: Get changes\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n    outputs:\n      changes: ${{ steps.paths-filter.outputs.changes }}\n      catalog: ${{ contains(fromJson(steps.paths-filter.outputs.changes), 'catalog') }}\n      ingestion_server: ${{ contains(fromJson(steps.paths-filter.outputs.changes), 'ingestion_server') }}\n      api: ${{ contains(fromJson(steps.paths-filter.outputs.changes), 'api') }}\n      frontend: ${{ contains(fromJson(steps.paths-filter.outputs.changes), 'frontend') }}\n      documentation: ${{ contains(fromJson(steps.paths-filter.outputs.changes), 'documentation') }}\n      ci_cd: ${{ contains(fromJson(steps.paths-filter.outputs.changes), 'ci_cd') }}\n      py_packages: ${{ contains(fromJson(steps.paths-filter.outputs.changes), 'py_packages') }}\n      js_packages: ${{ contains(fromJson(steps.paths-filter.outputs.changes), 'js_packages') }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Get changes\n        id: paths-filter\n        uses: ./.github/actions/get-changes\n\n  get-image-tag:\n    name: Get image tag\n    runs-on: ubuntu-latest\n    outputs:\n      image_tag: ${{ steps.get-image-tag.outputs.image_tag }}\n\n    steps:\n      - name: Get image tag\n        id: get-image-tag\n        run: |\n          if [[ \"${{ github.event_name }}\" == \"workflow_dispatch\" && \"${{ inputs.image_tag }}\" != \"\" ]]; then\n              echo \"image_tag=${{ inputs.image_tag }}\" | tee \"$GITHUB_OUTPUT\"\n          else\n              echo \"image_tag=${{ github.sha }}\" | tee \"$GITHUB_OUTPUT\"\n          fi\n\n  determine-images:\n    name: Determine images to build and publish\n    runs-on: ubuntu-latest\n    outputs:\n      do_build: ${{ steps.set-matrix.outputs.do_build }}\n      build_matrix: ${{ steps.set-matrix.outputs.build_matrix }}\n      do_publish: ${{ steps.set-matrix.outputs.do_publish }}\n      publish_matrix: ${{ steps.set-matrix.outputs.publish_matrix }}\n    needs:\n      - get-changes\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set matrix images\n        id: set-matrix\n        env:\n          CHANGES: ${{ needs.get-changes.outputs.changes }}\n          PYTHONPATH: ${{ github.workspace }}/automations/python\n        working-directory: automations/python/workflows\n        run: python set_matrix_images.py\n\n  #############\n  # Universal #\n  #############\n\n  lint: # This includes type-checking of the frontend.\n    name: Lint files\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          # No Python setup is needed, the built-in Python runtime is okay.\n          setup_python: false\n          # Node.js is needed by lint actions.\n          install_recipe: \"node-install\"\n\n      - name: Cache pre-commit envs\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\n\n      - name: Run pre-commit to lint files\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n        run: |\n          just precommit\n          just lint\n\n  validate-codeowners:\n    name: Validate CODEOWNERS\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - uses: mszostok/codeowners-validator@v0.7.4\n        with:\n          checks: \"files,duppatterns,syntax\"\n          experimental_checks: \"notowned,avoid-shadowing\"\n\n  build-images:\n    name: Build Docker images\n    if: needs.determine-images.outputs.do_build == 'true'\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.determine-images.outputs.build_matrix) }}\n    needs:\n      - get-image-tag\n      - lint\n      - determine-images\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Sets up `just` and Node.js.\n      # Node.js is needed for the frontend to download translations.\n      # `just` is needed to run the recipes and set build args.\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          setup_python: false\n          setup_nodejs: ${{ matrix.image == 'frontend' && 'true' || 'false' }}\n          install_recipe: ${{ matrix.image == 'frontend' && 'node-install' || '' }}\n\n      # Sets build args specifying versions needed to build Docker image.\n      - name: Prepare build args\n        id: prepare-build-args\n        run: |\n          just versions | tee \"$GITHUB_OUTPUT\"\n\n      # ℹ️Step only applies for frontend image.\n      # This step\n      # - downloads translation strings from GlotPress so that they can be\n      #   bundled inside the Docker image\n      - name: Prepare frontend for building\n        if: matrix.image == 'frontend'\n        run: |\n          just frontend/run i18n\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          install: true\n\n      - name: Build image `${{ matrix.image }}`\n        uses: docker/build-push-action@v5\n        with:\n          context: ${{ matrix.context }}\n          target: ${{ matrix.target }}\n          push: false\n          tags: openverse-${{ matrix.image }}\n          file: ${{ matrix.file }}\n          cache-from: type=gha,scope=${{ matrix.image }}\n          cache-to: type=gha,scope=${{ matrix.image }}\n          outputs: type=docker,dest=/tmp/${{ matrix.image }}.tar\n          build-contexts: ${{ matrix.build-contexts }}\n          build-args: |\n            SEMANTIC_VERSION=${{ needs.get-image-tag.outputs.image_tag }}\n            CATALOG_PY_VERSION=${{ steps.prepare-build-args.outputs.catalog_py_version }}\n            CATALOG_AIRFLOW_VERSION=${{ steps.prepare-build-args.outputs.catalog_airflow_version }}\n            API_PY_VERSION=${{ steps.prepare-build-args.outputs.api_py_version }}\n            INGESTION_PY_VERSION=${{ steps.prepare-build-args.outputs.ingestion_py_version }}\n            FRONTEND_NODE_VERSION=${{ steps.prepare-build-args.outputs.frontend_node_version }}\n            FRONTEND_PNPM_VERSION=${{ steps.prepare-build-args.outputs.frontend_pnpm_version }}\n            PGCLI_VERSION=${{ steps.prepare-build-args.outputs.pgcli_version }}\n            ${{ matrix.build-args || '' }}\n\n      - name: Upload image `${{ matrix.image }}`\n        id: upload-img\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.image }}\n          path: /tmp/${{ matrix.image }}.tar\n\n      - name: Show artifact ID\n        run: |\n          echo '${{ matrix.image }} artifact ID is ${{ steps.upload-img.outputs.artifact-id }}'\n\n  ###########\n  # Catalog #\n  ###########\n\n  test-cat:\n    name: Run tests for the catalog\n    if: |\n      needs.get-changes.outputs.catalog == 'true' ||\n      needs.get-changes.outputs.ci_cd == 'true'\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    needs:\n      - get-changes\n      - build-images\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          setup_python: false\n          # Python is not needed to run the tests.\n          setup_nodejs: false\n          # Node.js is not needed to run the tests.\n          install_recipe: \"\"\n\n      - name: Load Docker images\n        uses: ./.github/actions/load-img\n        with:\n          run_id: ${{ github.run_id }}\n          setup_images: upstream_db catalog\n\n      - name: Run tests\n        run: |\n          just catalog/test --extended\n\n  catalog-checks:\n    name: Run catalog checks\n    if: |\n      needs.get-changes.outputs.catalog == 'true' ||\n      needs.get-changes.outputs.ci_cd == 'true'\n    runs-on: ubuntu-latest\n    needs:\n      - get-changes\n      - build-images\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          # Python is not needed to run the tests.\n          setup_python: false\n          # Node.js is needed by lint actions.\n          install_recipe: \"node-install\"\n\n      - name: Load Docker images\n        uses: ./.github/actions/load-img\n        with:\n          run_id: ${{ github.run_id }}\n          setup_images: upstream_db catalog\n\n      - name: Check generated documentation\n        run: |\n          just catalog/generate-docs dag true\n          just catalog/generate-docs media-props true\n\n  ####################\n  # Ingestion server #\n  ####################\n\n  test-ing:\n    name: Run tests for ingestion-server\n    if: |\n      needs.get-changes.outputs.ingestion_server == 'true' ||\n      needs.get-changes.outputs.ci_cd == 'true'\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    needs:\n      - get-changes\n      - build-images\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          # Python is needed to run the test.\n          setup_nodejs: false\n          # Node.js is not needed to run ingestion server tests.\n          install_recipe: ingestion_server/install\n\n      - name: Load Docker images\n        uses: ./.github/actions/load-img\n        with:\n          run_id: ${{ github.run_id }}\n          setup_images: upstream_db ingestion_server\n\n      - name: Run ingestion-server tests\n        run: |\n          just env\n          just ingestion_server/test-local\n\n      - name: Print ingestion-server test logs\n        run: |\n          just ingestion_server/test-logs > ingestion_server/test/ingestion_logs.txt\n          cat ingestion_server/test/ingestion_logs.txt\n\n      - name: Upload ingestion test logs\n        if: success() || failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: ing_logs\n          path: ingestion_server/test/ingestion_logs.txt\n\n  #######\n  # API #\n  #######\n\n  test-api:\n    name: Run tests for the API\n    if: |\n      needs.get-changes.outputs.ingestion_server == 'true' ||\n      needs.get-changes.outputs.api == 'true' ||\n      needs.get-changes.outputs.ci_cd == 'true'\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    needs:\n      - get-changes\n      - build-images\n      - get-image-tag\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          setup_python: false\n          # Python is not needed to run the tests.\n          setup_nodejs: false\n          # Node.js is not needed to run API tests.\n          install_recipe: \"\"\n\n      - name: Load Docker images\n        uses: ./.github/actions/load-img\n        with:\n          run_id: ${{ github.run_id }}\n          setup_images: upstream_db ingestion_server\n\n      # Sets build args specifying versions needed to build Docker image.\n      - name: Prepare build args\n        id: prepare-build-args\n        run: |\n          just versions | tee \"$GITHUB_OUTPUT\"\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          install: true\n\n      - name: Build API dev image\n        uses: docker/build-push-action@v5\n        with:\n          context: api\n          target: api\n          push: false\n          load: true\n          tags: openverse-api\n          cache-from: type=gha,scope=api_dev\n          cache-to: type=gha,scope=api_dev\n          build-contexts: packages=./packages/python\n          build-args: |\n            SEMANTIC_VERSION=${{ needs.get-image-tag.outputs.image_tag }}\n            API_PY_VERSION=${{ steps.prepare-build-args.outputs.api_py_version }}\n            PDM_INSTALL_ARGS=--dev\n\n      - name: Start API, ingest and index test data\n        run: just api/init\n\n      - name: Run API tests\n        run: just api/test\n\n      - name: Print API test logs\n        if: success() || failure()\n        run: |\n          just logs > api_logs\n          cat api_logs\n\n      - name: Upload API test logs\n        if: success() || failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: api_logs\n          path: api_logs\n\n  django-checks:\n    name: Run Django checks\n    if: |\n      needs.get-changes.outputs.api == 'true' ||\n      needs.get-changes.outputs.ci_cd == 'true'\n    runs-on: ubuntu-latest\n    needs:\n      - get-changes\n      - build-images\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n          - check_django\n          - validate_openapi\n          - check_migrations\n          - test_doc\n          - test_media_props\n        include:\n          - name: check_django\n            recipe: api/dj check\n          - name: validate_openapi\n            recipe: api/dj spectacular --format openapi-json --validate --file openapi.json\n          - name: check_migrations\n            recipe: api/dj makemigrations --check\n          - name: test_doc\n            recipe: api/doc-test\n          - name: test_media_props\n            recipe: api/generate-docs\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          setup_python: false\n          # Python is not needed to run the tests.\n          setup_nodejs: false\n          # Node.js is not needed to run API tests.\n          install_recipe: \"\"\n\n      - name: Load Docker images\n        uses: ./.github/actions/load-img\n        with:\n          run_id: ${{ github.run_id }}\n          setup_images: upstream_db ingestion_server api\n\n      - name: Run check recipe\n        run: just ${{ matrix.recipe }}\n        env:\n          DC_USER: root\n\n      - name: Upload schema\n        if: matrix.name == 'test_doc'\n        uses: actions/upload-artifact@v4\n        with:\n          name: openapi.json\n          path: ./api/openapi.json\n\n  # This job runs when `django-checks` doesn't and always passes, thus allowing\n  # PRs to meet the required checks criteria and be merged.\n  bypass-django-checks:\n    name: Run Django checks\n    if: |\n      !cancelled() &&\n      needs.django-checks.result == 'skipped'\n    runs-on: ubuntu-latest\n    needs:\n      - django-checks\n    strategy:\n      matrix:\n        name:\n          - check_django\n          - validate_openapi\n          - check_migrations\n          - test_doc\n\n    steps:\n      - name: Pass\n        run: echo 'Django checks are skipped because API is unchanged.'\n\n  py-package-checks:\n    name: Run checks for Python packages/*\n    if: |\n      needs.get-changes.outputs.py_packages == 'true'\n    runs-on: ubuntu-latest\n    needs:\n      - get-changes\n      - lint\n    strategy:\n      fail-fast: false\n      matrix:\n        packages:\n          - packages/python/openverse-attribution\n        script:\n          - build\n          - test\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          install_recipe: packages/python/openverse-attribution/install\n\n      - name: Run Python packages checks\n        run: pdm run -p ${{ matrix.packages }} ${{ matrix.script }}\n\n  # This job runs when `py-package-checks` doesn't and always passes, thus\n  # allowing PRs to meet the required checks criteria and be merged.\n  bypass-py-package-checks:\n    name: Run checks for Python packages/*\n    if: |\n      !cancelled() &&\n      needs.py-package-checks.result == 'skipped'\n    runs-on: ubuntu-latest\n    needs:\n      - py-package-checks\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n          - build\n          - unit_test\n\n    steps:\n      - name: Pass\n        run: echo 'Checks for Python packages are skipped because they are unchanged.'\n\n  ############\n  # Frontend #\n  ############\n\n  nuxt-build:\n    name: Check Nuxt build\n    if: |\n      needs.get-changes.outputs.frontend == 'true' ||\n      needs.get-changes.outputs.ci_cd == 'true'\n    runs-on: ubuntu-latest\n    needs:\n      - get-changes\n      - lint\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          setup_python: false\n          install_recipe: node-install\n\n      - name: Run build\n        run: just frontend/run build\n\n  nuxt-checks:\n    name: Run Nuxt checks\n    if: |\n      needs.get-changes.outputs.frontend == 'true' ||\n      needs.get-changes.outputs.ci_cd == 'true'\n    runs-on: ubuntu-latest\n    needs:\n      - get-changes\n      - lint\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n          - unit_test\n          - test_media_props\n          - frontend_init\n        include:\n          - name: unit_test\n            recipe: frontend/run test:unit\n          - name: test_media_props\n            recipe: frontend/generate-docs\n          - name: frontend_init\n            recipe: frontend/init\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          setup_python: false\n          install_recipe: node-install\n\n      - name: Run check recipe\n        run: just ${{ matrix.recipe }}\n\n  # This job runs when `nuxt-checks` doesn't and always passes, thus allowing\n  # PRs to meet the required checks criteria and be merged.\n  bypass-nuxt-checks:\n    name: Run Nuxt checks\n    if: |\n      !cancelled() &&\n      needs.nuxt-checks.result == 'skipped'\n    runs-on: ubuntu-latest\n    needs:\n      - nuxt-checks\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n          - unit_test\n\n    steps:\n      - name: Pass\n        run: echo 'Playwright tests are skipped because frontend is unchanged.'\n\n  js-package-checks:\n    name: Run checks for JS packages/*\n    if: |\n      needs.get-changes.outputs.js_packages == 'true'\n    runs-on: ubuntu-latest\n    needs:\n      - get-changes\n      - lint\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n          - build\n          - unit_test\n        include:\n          - name: build\n            script: \"build\"\n          - name: unit_test\n            script: \"test:unit\"\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          setup_python: false\n          install_recipe: node-install\n\n      - name: Run JS packages checks\n        run: pnpm --filter ./packages/js/* run --aggregate-output ${{ matrix.script }}\n\n  # This job runs when `js-package-checks` doesn't and always passes, thus\n  # allowing PRs to meet the required checks criteria and be merged.\n  bypass-js-package-checks:\n    name: Run checks for JS packages/*\n    if: |\n      !cancelled() &&\n      needs.js-package-checks.result == 'skipped'\n    runs-on: ubuntu-latest\n    needs:\n      - js-package-checks\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n          - build\n          - unit_test\n\n    steps:\n      - name: Pass\n        run: echo 'Checks for JS packages are skipped because they are unchanged.'\n\n  playwright:\n    name: Run Playwright tests\n    if: |\n      needs.get-changes.outputs.frontend == 'true' ||\n      needs.get-changes.outputs.ci_cd == 'true'\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    needs:\n      - get-changes\n      - lint\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n          - playwright_vr\n          - playwright_e2e\n          - storybook\n        include:\n          - name: playwright_vr\n            script: \"test:playwright visual-regression\"\n          - name: playwright_e2e\n            script: \"test:playwright e2e\"\n          - name: storybook\n            script: \"test:storybook\"\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          setup_python: false\n          install_recipe: node-install\n\n      - name: Run Playwright tests\n        run: just frontend/run ${{ matrix.script }} --workers=2\n\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        id: test-results\n        with:\n          name: ${{ matrix.name }}_test_results\n          path: frontend/test-results\n\n  # This job runs when `playwright` doesn't and always passes, thus allowing\n  # PRs to meet the required checks criteria and be merged.\n  bypass-playwright:\n    name: Run Playwright tests\n    if: |\n      !cancelled() &&\n      needs.playwright.result == 'skipped'\n    runs-on: ubuntu-latest\n    needs:\n      - playwright\n    strategy:\n      matrix:\n        name:\n          - playwright_vr\n          - playwright_e2e\n          - storybook\n\n    steps:\n      - name: Pass\n        run: echo 'Playwright tests are skipped because frontend is unchanged.'\n\n  playwright-test-failure-comment:\n    name: Post Playwright test debugging instructions\n    if: |\n      !cancelled() &&\n      github.event_name == 'pull_request' &&\n      needs.playwright.result != ''\n    runs-on: ubuntu-latest\n    needs:\n      - playwright\n\n    steps:\n      - uses: peter-evans/find-comment@v3\n        id: test-results-comment\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body-includes: Playwright failure test results\n\n      - name: Delete existing results comment\n        uses: actions/github-script@v7\n        if: steps.test-results-comment.outputs.comment-id != 0\n        with:\n          script: |\n            await github.rest.issues.deleteComment({\n              repo: context.repo.repo,\n              owner: context.repo.owner,\n              comment_id: ${{ steps.test-results-comment.outputs.comment-id }}\n            })\n            console.log('Deleted comment with ID ${{ steps.test-results-comment.outputs.comment-id }}')\n\n      - name: Build help body\n        if: needs.playwright.result == 'failure'\n        id: help-body\n        run: |\n          EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) # Security hardening: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#understanding-the-risk-of-script-injections\n          MESSAGE=$(cat <<HEREDOC\n          help_body<<$EOF\n          **Playwright failure test results**: <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}>\n\n          It looks like some of the Playwright tests failed. You can download the trace output and image diffs for the failed tests under the \"Artifacts\" section in the above page.\n\n          You can read the [docs on how to use this artifact](https://docs.openverse.org/frontend/reference/playwright_tests.html#debugging).\n\n          If the test is flaky, follow the [flaky test triage procedure](https://docs.openverse.org/general/test.html#flaky-tests).\n          $EOF\n          HEREDOC\n          )\n          echo \"$MESSAGE\" | tee \"$GITHUB_OUTPUT\"\n\n      - uses: peter-evans/create-or-update-comment@v4\n        id: create-comment\n        # Do not leave a comment on forks\n        if: |\n          needs.playwright.result == 'failure' &&\n          (\n            github.event_name == 'pull_request' &&\n            github.event.pull_request.head.repo.owner.login == 'WordPress' &&\n            github.actor != 'dependabot[bot]'\n          )\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body: ${{ steps.help-body.outputs.help_body }}\n\n  #################\n  # Documentation #\n  #################\n\n  build-docs:\n    name: Build full-stack docs\n    if: |\n      needs.get-changes.outputs.documentation == 'true' ||\n      needs.get-changes.outputs.ci_cd == 'true'\n    runs-on: ubuntu-latest\n    needs:\n      - get-changes\n      - lint\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n\n      - name: Compile documentation\n        uses: ./.github/actions/build-docs\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n        # Docs will be located at `/tmp/docs`.\n\n      - name: Upload documentation\n        uses: actions/upload-artifact@v4\n        with:\n          name: documentation\n          path: /tmp/docs/\n\n  emit-docs:\n    name: Emit full-stack docs\n    # https://github.com/actions/runner/issues/491#issuecomment-850884422\n    if: |\n      !failure() && !cancelled() &&\n      (\n        (\n          github.event_name == 'push' &&\n          github.repository == 'WordPress/openverse'\n        ) ||\n        (\n          github.event_name == 'pull_request' &&\n          github.event.pull_request.head.repo.owner.login == 'WordPress' &&\n          github.actor != 'dependabot[bot]'\n        )\n      ) &&\n      needs.get-changes.outputs.documentation == 'true' &&\n      (needs.test-ing.result == 'success' || needs.test-ing.result == 'skipped') &&\n      (needs.test-api.result == 'success' || needs.test-api.result == 'skipped') &&\n      (needs.test-cat.result == 'success' || needs.test-cat.result == 'skipped') &&\n      (needs.playwright.result == 'success' || needs.playwright.result == 'skipped') &&\n      needs.build-docs.result == 'success'\n    runs-on: ubuntu-latest\n    needs:\n      - get-changes\n      - test-cat\n      - test-ing\n      - test-api\n      - playwright\n      - build-docs\n\n    steps:\n      - name: Download documentation\n        uses: actions/download-artifact@v4\n        with:\n          name: documentation\n          path: /tmp/docs\n\n      - name: Recreate working directory # to avoid superfluous files from getting tracked automatically\n        run: |\n          cd ..\n          sudo rm -rf openverse\n          mkdir openverse\n\n      - name: Checkout repository at `gh-pages` branch\n        uses: actions/checkout@v4\n        with:\n          ref: gh-pages\n          path: gh-pages\n\n      - name: Checkout automations from repository\n        uses: actions/checkout@v4\n        with:\n          path: automation-checkout\n\n      - name: Copy existing previews\n        if: github.event_name == 'push'\n        run: |\n          mv /tmp/docs /tmp/gh-pages\n          mv gh-pages/_preview /tmp/gh-pages/_preview\n\n      - name: Replace preview of current PR\n        if: github.event_name == 'pull_request'\n        run: |\n          cp -r gh-pages /tmp/gh-pages\n          sudo rm -rf /tmp/gh-pages/_preview/${{ github.event.pull_request.number }}\n          mv /tmp/docs /tmp/gh-pages/_preview/${{ github.event.pull_request.number }}\n\n      - name: Determine which files have changed\n        if: github.event_name == 'pull_request'\n        id: preview_diff\n        env:\n          PR_NUMBER: ${{ github.event.pull_request.number }}\n          PYTHONPATH: ${{ github.workspace }}/automation-checkout/automations/python\n        working-directory: ${{ github.workspace }}/automation-checkout/automations/python/workflows\n        run: python get_folder_differences.py\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: /tmp/gh-pages\n          force_orphan: true\n          cname: docs.openverse.org\n\n      - uses: peter-evans/find-comment@v3\n        if: github.event_name == 'pull_request'\n        id: final-preview-comment\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body-includes: Full-stack documentation\n\n      - uses: peter-evans/create-or-update-comment@v4\n        if: github.event_name == 'pull_request'\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-id: ${{ steps.final-preview-comment.outputs.comment-id }}\n          edit-mode: replace\n          body: ${{ steps.preview_diff.outputs.body }}\n\n      - name: Checkout repository # again, to enable cleaning\n        uses: actions/checkout@v4\n        if: success() || failure()\n\n  #################\n  # Docker images #\n  #################\n\n  publish-images:\n    name: Publish Docker images\n    runs-on: ubuntu-latest\n    # prevent running on fork PRs\n    if: |\n      !failure() && !cancelled() &&\n      (\n        (github.event_name == 'push' && github.repository == 'WordPress/openverse') ||\n        (github.event_name == 'workflow_dispatch' && inputs.perform_deploy)\n      ) &&\n      needs.determine-images.outputs.do_publish == 'true' &&\n      (needs.test-ing.result == 'success' || needs.test-ing.result == 'skipped') &&\n      (needs.test-api.result == 'success' || needs.test-api.result == 'skipped') &&\n      (needs.test-cat.result == 'success' || needs.test-cat.result == 'skipped') &&\n      (needs.playwright.result == 'success' || needs.playwright.result == 'skipped')\n    needs:\n      - determine-images\n      - get-image-tag\n      - build-images\n      - test-ing # test for ingestion server\n      - test-api # test for API\n      - test-cat # test for catalog\n      - playwright # test for frontend\n    permissions:\n      packages: write\n      contents: read\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.determine-images.outputs.publish_matrix) }}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Log in to GitHub Docker Registry\n        uses: docker/login-action@v3\n        with:\n          registry: https://ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Load Docker image `${{ matrix.image }}`\n        uses: ./.github/actions/load-img\n        with:\n          run_id: ${{ github.run_id }}\n          setup_images: ${{ matrix.image }}\n\n      - name: Load and tag image `${{ matrix.image }}` (latest & sha)\n        run: |\n          docker tag openverse-${{ matrix.image }} \\\n            ghcr.io/wordpress/openverse-${{ matrix.image }}:latest\n          docker tag openverse-${{ matrix.image }} \\\n            ghcr.io/wordpress/openverse-${{ matrix.image }}:${{ needs.get-image-tag.outputs.image_tag }}\n          docker push --all-tags ghcr.io/wordpress/openverse-${{ matrix.image }}\n\n  ##############\n  # Deployment #\n  ##############\n\n  # See https://github.com/WordPress/openverse/issues/1033 for why\n  # we don't use the standard reusable workflow approach for these.\n\n  deploy-frontend:\n    name: Deploy staging frontend\n    runs-on: ubuntu-latest\n    if: |\n      !failure() && !cancelled() &&\n      (\n        (github.event_name == 'push' && github.repository == 'WordPress/openverse') ||\n        (github.event_name == 'workflow_dispatch' && inputs.perform_deploy)\n      ) &&\n      needs.get-changes.outputs.frontend == 'true' &&\n      needs.playwright.result == 'success' &&\n      needs.publish-images.result == 'success'\n    needs:\n      - get-changes\n      - playwright\n      - get-image-tag\n      - publish-images\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Get commit message\n        id: commit\n        env:\n          COMMIT_MESSAGE: ${{ github.event.head_commit.message }}\n          PYTHONPATH: ${{ github.workspace }}/automations/python\n        working-directory: automations/python/workflows\n        run: python get_commit_message.py\n\n      - name: Deploy staging frontend\n        uses: felixp8/dispatch-and-wait@v0.1.0\n        with:\n          owner: WordPress\n          repo: openverse-infrastructure\n          token: ${{ secrets.ACCESS_TOKEN }}\n          event_type: deploy_staging_nuxt\n          client_payload: |\n            {\n              \"actor\": \"${{ github.actor }}\",\n              \"tag\": \"${{ needs.get-image-tag.outputs.image_tag }}\",\n              \"run_name\": \"${{ steps.commit.outputs.commit_message }}\"\n            }\n          wait_time: 60 # check every minute\n          max_time: 1800 # allow up to 30 minutes for a deployment\n\n  deploy-api:\n    name: Deploy staging API\n    runs-on: ubuntu-latest\n    if: |\n      !failure() && !cancelled() &&\n      (\n        (github.event_name == 'push' && github.repository == 'WordPress/openverse') ||\n        (github.event_name == 'workflow_dispatch' && inputs.perform_deploy)\n      ) &&\n      needs.get-changes.outputs.api == 'true' &&\n      needs.publish-images.result == 'success'\n    needs:\n      - get-changes\n      - get-image-tag\n      - publish-images\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Get commit message\n        id: commit\n        env:\n          COMMIT_MESSAGE: ${{ github.event.head_commit.message }}\n          PYTHONPATH: ${{ github.workspace }}/automations/python\n        working-directory: automations/python/workflows\n        run: python get_commit_message.py\n\n      - name: Deploy staging API\n        uses: felixp8/dispatch-and-wait@v0.1.0\n        with:\n          owner: WordPress\n          repo: openverse-infrastructure\n          token: ${{ secrets.ACCESS_TOKEN }}\n          event_type: deploy_staging_api\n          client_payload: |\n            {\n              \"actor\": \"${{ github.actor }}\",\n              \"tag\": \"${{ needs.get-image-tag.outputs.image_tag }}\",\n              \"run_name\": \"${{ steps.commit.outputs.commit_message }}\"\n            }\n          wait_time: 60 # check every minute\n          max_time: 1800 # allow up to 30 minutes for a deployment\n\n  ################\n  # Notification #\n  ################\n\n  send-report:\n    name: Send Slack report\n    runs-on: ubuntu-latest\n    if: |\n      !cancelled() &&\n      (\n        (github.event_name == 'push' && github.repository == 'WordPress/openverse') ||\n        (github.event_name == 'workflow_dispatch' && inputs.perform_deploy)\n      ) &&\n      (\n        ((github.event_name == 'push' && needs.get-changes.outputs.documentation == 'true') && needs.emit-docs.result != 'success') ||\n        (needs.determine-images.outputs.do_publish == 'true' && needs.publish-images.result != 'success') ||\n        (needs.get-changes.outputs.frontend == 'true' && needs.deploy-frontend.result != 'success') ||\n        (needs.get-changes.outputs.api == 'true' && needs.deploy-api.result != 'success')\n      )\n    needs: # the end products of the CI + CD workflow\n      - get-changes\n      - determine-images\n      - emit-docs\n      - publish-images\n      - deploy-frontend\n      - deploy-api\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Get commit message\n        id: commit\n        env:\n          COMMIT_MESSAGE: ${{ github.event.head_commit.message }}\n          PYTHONPATH: ${{ github.workspace }}/automations/python\n        working-directory: automations/python/workflows\n        run: python get_commit_message.py\n\n      - name: Generate report\n        id: report\n        env:\n          COMMIT_MESSAGE: ${{ steps.commit.outputs.commit_message }}\n          DEPLOY_API_RESULT: ${{ needs.deploy-api.result }}\n          DEPLOY_FRONTEND_RESULT: ${{ needs.deploy-frontend.result }}\n          EMIT_DOCS_RESULT: ${{ needs.emit-docs.result }}\n          GH_SLACK_USERNAME_MAP: ${{ secrets.GH_SLACK_USERNAME_MAP }}\n          GITHUB_ACTOR: ${{ github.event.head_commit.author.username }}\n          PUBLISH_IMAGES_RESULT: ${{ needs.publish-images.result }}\n          PYTHONPATH: ${{ github.workspace }}/automations/python\n          REPOSITORY: ${{ github.repository }}\n          RUN_ID: ${{ github.run_id }}\n          SERVER_URL: ${{ github.server_url }}\n        working-directory: automations/python/workflows\n        run: python generate_report.py\n\n      - name: Send report\n        uses: slackapi/slack-github-action@v1.26.0\n        with:\n          payload: ${{ steps.report.outputs.payload }}\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_OV_ALERTS_WEBHOOK_URL }}\n          SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:46.371832", "created_at": "2023-02-20T17:03:30+01:00", "updated_at": "2023-02-20T17:03:30+01:00", "name": "Migration Safety Check", "path": ".github/workflows/migration_safety_warning.yml", "contents": "name: \"Migration Safety Check\"\n\non:\n  pull_request:\n    paths:\n      - \"**/migrations/**/*\"\n\nconcurrency:\n  # The concurrency group contains the workflow name and the branch name for pull requests.\n  group: ${{ github.workflow }}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  check-and-apply-labels:\n    name: \"Check and Apply Labels\"\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: peter-evans/find-comment@v3\n        id: existing-warning\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body-includes: This PR has migrations\n\n      - name: Delete existing migration warning comment\n        uses: actions/github-script@v7\n        if: steps.existing-warning.outputs.comment-id != 0\n        with:\n          github-token: ${{ secrets.ACCESS_TOKEN }}\n          script: |\n            await github.rest.issues.deleteComment({\n              owner: 'WordPress',\n              repo: 'openverse',\n              comment_id: ${{ steps.existing-warning.outputs.comment-id }},\n            })\n\n      - uses: peter-evans/create-or-update-comment@v4\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            This PR has migrations. Please rebase it before merging to ensure that conflicting migrations are not introduced.\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:47.600394", "created_at": "2023-02-20T17:03:30+01:00", "updated_at": "2023-02-20T17:03:30+01:00", "name": "PR Closed", "path": ".github/workflows/pr_closed.yml", "contents": "name: PR Closed\n\non:\n  pull_request:\n    types:\n      - closed\n\njobs:\n  clean-gh-pages:\n    name: Clean GH Pages preview\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: gh-pages\n\n      - name: Determine if cleaning is necessary\n        id: should-clean\n        run: |\n          if [ -d \"_preview/${{ github.event.pull_request.number }}\" ]; then\n            echo \"PR preview exists, cleaning\"\n            echo \"clean=true\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"PR preview does not exist, skipping\"\n            echo \"clean=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Remove PR preview\n        run: rm -rf _preview/${{ github.event.pull_request.number }}\n\n      - name: Push cleaned branch\n        if: ${{ steps.should-clean.outputs.clean == 'true' }}\n        run: |\n          git config --global user.name 'PR Closed action'\n          git config --global user.email 'openverse@wordpress.org'\n          git commit -am 'Clean preview for PR ${{ github.event.pull_request.number }}'\n          git push\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:48.831301", "created_at": "2023-02-20T17:03:30+01:00", "updated_at": "2023-11-13T03:01:05+01:00", "name": "Renovate", "path": ".github/workflows/renovate.yml", "contents": "name: Renovate\non:\n  # This lets you dispatch a renovate job with different cache options if you want to reset or disable the cache manually.\n  workflow_dispatch:\n    inputs:\n      repoCache:\n        description: \"Reset or disable the cache?\"\n        type: choice\n        default: enabled\n        options:\n          - enabled\n          - disabled\n          - reset\n  schedule:\n    # Run every 30 minutes:\n    - cron: \"0,30 * * * *\"\n\n# Adding these as env variables makes it easy to reuse them in different steps and in bash.\nenv:\n  cache_archive: renovate_cache.tar.gz\n  # This is the dir renovate provides -- if we set our own directory via cacheDir, we can run into permissions issues.\n  # It is also possible to cache a higher level of the directory, but it has minimal benefit. While renovate execution\n  # time gets faster, it also takes longer to upload the cache as it grows bigger.\n  cache_dir: /tmp/renovate/cache/renovate/repository\n  # This can be manually changed to bust the cache if necessary.\n  cache_key: renovate-cache\n\njobs:\n  renovate:\n    runs-on: ubuntu-latest\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    if: github.repository_owner == 'WordPress'\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/cache@v4\n        if: github.event.inputs.repoCache != 'disabled'\n        continue-on-error: true\n        with:\n          path: cache-download\n          key: ${{ env.cache_key }}\n\n      # Using tar to compress and extract the archive isn't strictly necessary, but it can improve\n      # performance significantly when uploading artifacts with lots of files.\n      - name: Extract renovate cache\n        run: |\n          set -x\n          # Skip if no cache is set, such as the first time it runs.\n          if [ ! -d cache-download ] ; then\n            echo \"No cache found.\"\n            exit 0\n          fi\n\n          # Make sure the directory exists, and extract it there. Note that it's nested in the download directory.\n          mkdir -p \"$cache_dir\"\n          tar -xzf \"cache-download/$cache_archive\" -C \"$cache_dir\"\n\n          # Unfortunately, the permissions expected within renovate's docker container\n          # are different than the ones given after the cache is restored. We have to\n          # change ownership to solve this. We also need to have correct permissions in\n          # the entire /tmp/renovate tree, not just the section with the repo cache.\n          sudo chown -R runneradmin:root /tmp/renovate/\n          ls -R \"$cache_dir\"\n\n      - uses: renovatebot/github-action@v40.1.11\n        with:\n          configurationFile: .github/renovate.json\n          token: ${{ secrets.ACCESS_TOKEN }}\n        env:\n          # This enables the cache -- if this is set, it's not necessary to add it to renovate.json.\n          RENOVATE_REPOSITORY_CACHE: ${{ github.event.inputs.repoCache || 'enabled' }}\n          # Debug logs to figure out why vulnerability updates aren't occurring\n          LOG_LEVEL: debug\n\n      # Compression helps performance in the upload step!\n      - name: Compress renovate cache\n        run: |\n          ls \"$cache_dir\"\n          # The -C is important -- otherwise we end up extracting the files with\n          # their full path, ultimately leading to a nested directory situation.\n          # To solve *that*, we'd have to extract to root (/), which isn't safe.\n          tar -czvf \"$cache_archive\" -C \"$cache_dir\" .\n\n      - uses: actions/upload-artifact@v4\n        if: github.event.inputs.repoCache != 'disabled'\n        with:\n          name: ${{ env.cache_key }}\n          path: ${{ env.cache_archive }}\n          # Since this is updated and restored on every run, we don't need to keep it\n          # for long. Just make sure this value is large enough that multiple renovate\n          # runs can happen before older cache archives are deleted.\n          retention-days: 1\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:49.957028", "created_at": "2023-03-27T01:15:26+02:00", "updated_at": "2023-03-27T01:15:26+02:00", "name": "Release app", "path": ".github/workflows/release-app.yml", "contents": "name: Release app\n\non:\n  release:\n    types: [released]\n\n# Prevent concurrency with other workflows in the \"Release workflow group\"\n# See https://github.com/WordPress/openverse/issues/4505 for context\nconcurrency:\n  group: operates_on_github_releases\n  cancel-in-progress: false\n\njobs:\n  release-app:\n    name: Release app\n    runs-on: ubuntu-latest\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    if: github.repository_owner == 'WordPress'\n    permissions:\n      # Needed to create the GitHub release on the repo\n      contents: write\n      # Needed for pushing the new docker image tag\n      packages: write\n      # Needed to open the changelog PR\n      pull-requests: write\n    env:\n      # Do not split this into multiple lines, it will not work:\n      # https://github.com/WordPress/openverse/pull/3789#pullrequestreview-1876525552\n      APP_NAME: ${{ startsWith(github.ref_name, 'api-') && 'api' || startsWith(github.ref_name, 'ingestion_server-') && 'ingestion_server' || startsWith(github.ref_name, 'catalog-') && 'catalog' || startsWith(github.ref_name, 'frontend-') && 'frontend' }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # Creating the tag requires having the whole history of `main`\n          fetch-depth: 0\n\n      - name: Calculate tag name\n        id: tag\n        run: |\n          release_date=$(echo '${{ github.ref_name }}' | sed 's/${{ env.APP_NAME }}-//')\n\n          # Generate `rel-` prefixed image tag to avoid duplicated app name between image and tag\n          {\n            echo \"date=$release_date\";\n            echo \"image-tag=rel-$release_date\";\n          } >> \"$GITHUB_OUTPUT\"\n\n      - name: Log in to GitHub Docker Registry\n        uses: docker/login-action@v3\n        with:\n          registry: https://ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Tag latest with release tag\n        run: |\n          docker buildx imagetools create ghcr.io/wordpress/openverse-${{ env.APP_NAME }}:latest --tag ghcr.io/wordpress/openverse-${{ env.APP_NAME }}:${{ steps.tag.outputs.image-tag }}\n\n          if [[ \"${{ env.APP_NAME }}\" == \"api\" ]] || [[ \"${{ env.APP_NAME }}\" == \"frontend\" ]]; then\n            docker buildx imagetools create ghcr.io/wordpress/openverse-${{ env.APP_NAME }}_nginx:latest --tag ghcr.io/wordpress/openverse-${{ env.APP_NAME }}_nginx:${{ steps.tag.outputs.image-tag }}\n          fi\n\n      - name: Deploy production application\n        if: env.APP_NAME == 'frontend' || env.APP_NAME == 'api'\n        uses: felixp8/dispatch-and-wait@v0.1.0\n        with:\n          owner: WordPress\n          repo: openverse-infrastructure\n          token: ${{ secrets.ACCESS_TOKEN }}\n          event_type: deploy_production_${{ env.APP_NAME == 'frontend' && 'nuxt' || env.APP_NAME }}\n          client_payload: |\n            {\n              \"actor\": \"${{ github.actor }}\",\n              \"tag\": \"${{ steps.tag.outputs.image-tag }}\"\n            }\n          wait_time: 60 # check every minute\n          max_time: 1800 # allow up to 30 minutes for a deployment\n          # max_time can't easily be configured per application\n          # without duplicating information between our infrastructure\n          # and this workflow. The upstream workflows already have\n          # timeouts appropriately configured and will all fail before 30\n          # minutes is reached. On the other hand, we do want to wait\n          # so that there is a record of the successful deployment.\n\n      - name: Add new changelog file to documentation\n        env:\n          APP: ${{ env.APP_NAME }}\n          DATE: ${{ steps.tag.outputs.date }}\n          RELEASE_BODY: ${{ github.event.release.body }}\n        working-directory: automations/python/workflows\n        run: python write_changelog.py\n\n      - name: Setup CI env\n        uses: ./.github/actions/setup-env\n        with:\n          # Python is not needed to run pre-commit.\n          setup_python: false\n          # Node.js is needed by lint actions.\n          install_recipe: \"node-install\"\n\n      - name: Cache pre-commit envs\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\n\n      - name: Lint the changelog file so that it passes CI\n        run: |\n          # Add the new changelog file to git so that pre-commit can lint it.\n          git add documentation/changelogs/${{ env.APP_NAME }}/${{ steps.tag.outputs.date }}.md\n          just precommit\n          # Ensure this step passes even if linting has made changes so the workflow can continue\n          just lint || true\n\n      - name: Open changelog PR\n        uses: peter-evans/create-pull-request@v6\n        with:\n          # Access token necessary for PRs to run with CI\n          token: ${{ secrets.ACCESS_TOKEN }}\n          base: main\n          branch: changelog/${{ github.ref_name }}\n          commit-message: Publish changelog for ${{ github.ref_name }}\n          title: Publish changelog for ${{ github.ref_name }}\n          # Add labels to pass CI\n          labels: |\n            🧱 stack: ${{ env.APP_NAME == 'ingestion_server' && 'ingestion server' || env.APP_NAME }}\n            🌟 goal: addition\n            📄 aspect: text\n            🟩 priority: low\n            skip-changelog\n          body: |\n            This changelog PR was automatically generated for @${{ github.actor }} as a result of the ${{ github.workflow }} workflow.\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:51.092871", "created_at": "2023-05-31T20:54:51+02:00", "updated_at": "2023-05-31T20:54:51+02:00", "name": "Project Thread Update Reminders", "path": ".github/workflows/project_thread_update_reminders.yml", "contents": "name: Project Thread Update Reminders\n\non:\n  schedule:\n    # Run every day at 00:00 UTC\n    - cron: \"0 0 * * *\"\n\njobs:\n  send-reminders:\n    runs-on: ubuntu-latest\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    if: github.repository_owner == 'WordPress'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Send reminders to update project threads\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.ACCESS_TOKEN }}\n          script: |\n            const script = require('./automations/js/src/project_thread_updates.js')\n            await script({github, core})\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:52.099672", "created_at": "2023-06-02T19:26:06+02:00", "updated_at": "2023-06-12T15:59:30+02:00", "name": "PR Limit Reminders", "path": ".github/workflows/pr_limit_reminders.yml", "contents": "name: PR Limit Reminders\n\non:\n  pull_request_target:\n    types: [opened, reopened, ready_for_review]\n\njobs:\n  analyze-user-prs:\n    name: Count user's open pull requests\n    runs-on: ubuntu-latest\n    outputs:\n      pr_count: ${{ steps.count-prs.outputs.pr_count }}\n      slack_id: ${{ steps.count-prs.outputs.slack_id }}\n      should_alert: ${{ steps.count-prs.outputs.should_alert }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Count user PRs\n        uses: actions/github-script@v7\n        id: count-prs\n        env:\n          GH_SLACK_USERNAME_MAP: ${{ secrets.GH_SLACK_USERNAME_MAP }}\n        with:\n          github-token: ${{ secrets.ACCESS_TOKEN }}\n          script: |\n            const script = require('./automations/js/src/count_user_reviewable_prs.js')\n            await script({github, context, core})\n\n  send_message:\n    needs: analyze-user-prs\n    name: Send Slack message\n    if: needs.analyze-user-prs.outputs.pr_count >= 3\n    runs-on: ubuntu-latest\n    env:\n      pr_count: ${{ needs.analyze-user-prs.outputs.pr_count }}\n      slack_id: ${{ needs.analyze-user-prs.outputs.slack_id }}\n      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_DM_WEBHOOK_URL }}\n      SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n    steps:\n      - name: Set required review count\n        run: |\n          echo \"required_review_count=$(( pr_count * 2 ))\" >> \"$GITHUB_ENV\"\n      - name: Send notification\n        id: slack\n        uses: slackapi/slack-github-action@v1.26.0\n        with:\n          # Note: We cannot use the YAML folded chomping block syntax here (`>`) because\n          # GitHub Actions does not support it (they only support a subset of YAML):\n          # https://github.com/actions/runner/issues/418#issuecomment-612928525\n          payload: |\n            {\n              \"user\": \"${{ env.slack_id }}\",\n              \"message\": \"Hi, Opener! \\n You currently have ${{ env.pr_count }} Pull Request(s) open with requested reviews (totalling ${{ env.required_review_count }} required reviews). \\n To help ease the review burden, increase review velocity for older PRs, and improve the equitable distribution of project maintenance tasks across the team, please consider reviewing this list of ways to contribute instead of working on new code contributions: \\n https://docs.openverse.org/meta/maintainer_tasks.html\"\n            }\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:53.234068", "created_at": "2023-11-22T01:16:20+01:00", "updated_at": "2023-11-23T05:44:02+01:00", "name": "PR automations init", "path": ".github/workflows/pr_automations_init.yml", "contents": "# Initialises all automations related to PR events.\n#\n# See `issue_automations.yml` for the corresponding implementation for issues.\n#\n# The automations for PR events are a little more complex than those for issues\n# because PRs are a less secure environment. To avoid leaking secrets, we need\n# to run automations with code as it appears on `main`.\n#\n# `pull_request_target` serves this purpose but there is no corresponding\n# `_target` version for `pull_request_review`. So we take this roundabout\n# approach:\n#\n# 1. This workflow runs for the events and their subtypes we are interested in.\n# 2. It saves the event name, action and PR node ID to a JSON file.\n# 3. It uploads the JSON file as an artifact.\n# 4. Its completion triggers the `pr_automations.yml` workflow.\n#\n# continued in `pr_automations.yml`...\n\nname: PR automations init\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - edited\n      - converted_to_draft\n      - ready_for_review\n      - closed\n  pull_request_review:\n    types:\n      - submitted\n      - dismissed\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.node_id }}\n\njobs:\n  change-info:\n    name: Save change info\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: read\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    if: github.repository_owner == 'WordPress'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Get changes\n        id: paths-filter\n        uses: ./.github/actions/get-changes\n\n      - name: Save change info\n        run: |\n          echo \"$CHANGES\" > /tmp/change.json\n        env:\n          CHANGES: ${{ steps.paths-filter.outputs.changes }}\n\n      - name: Upload change info as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: change_info\n          path: /tmp/change.json\n\n  event-info:\n    name: Save event info\n    runs-on: ubuntu-latest\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    if: github.repository_owner == 'WordPress'\n    steps:\n      - name: Save event info\n        run: |\n          echo '{\"eventName\": \"'\"$EVENT_NAME\"'\", \"eventAction\": \"'\"$EVENT_ACTION\"'\", \"prNodeId\": \"'\"$PR_NODE_ID\"'\"}' > /tmp/event.json\n        env:\n          EVENT_NAME: ${{ github.event_name }}\n          EVENT_ACTION: ${{ github.event.action }}\n          PR_NODE_ID: ${{ github.event.pull_request.node_id }}\n\n      - name: Upload event info as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: event_info\n          path: /tmp/event.json\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:54.269883", "created_at": "2023-11-23T05:44:02+01:00", "updated_at": "2023-11-23T05:44:02+01:00", "name": "Issue automations", "path": ".github/workflows/issue_automations.yml", "contents": "# Runs all automations related to issue events.\n#\n# See `pr_automations_init.yml` and `pr_automations.yml` for the corresponding\n# implementation for PRs.\nname: Issue automations\n\non:\n  issues:\n    types:\n      - opened\n      - reopened\n      - closed\n      - assigned\n      - labeled\n      - unlabeled\n\njobs:\n  run:\n    name: Perform issue automations\n    runs-on: ubuntu-latest\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    if: github.repository_owner == 'WordPress'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Perform issue automations\n        uses: actions/github-script@v7\n        env:\n          EVENT_NAME: ${{ github.event_name }}\n          EVENT_ACTION: ${{ github.event.action }}\n        with:\n          github-token: ${{ secrets.ACCESS_TOKEN }}\n          script: |\n            const { main } = await import('${{ github.workspace }}/automations/js/src/project_automation/issues.mjs')\n            await main(github, core, context)\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:55.312623", "created_at": "2023-11-23T05:44:02+01:00", "updated_at": "2023-11-23T05:44:02+01:00", "name": "PR automations", "path": ".github/workflows/pr_automations.yml", "contents": "# Runs all automations related to PR events.\n#\n# See `issue_automations.yml` for the corresponding implementation for issues.\n#\n# The automations for PR events are a little more complex than those for issues\n# because PRs are a less secure environment. To avoid leaking secrets, we need\n# to run automations with code as it appears on `main`.\n#\n# `pull_request_target` serves this purpose but there is no corresponding\n# `_target` version for `pull_request_review`. So we take this roundabout\n# approach:\n#\n# This workflow waits for the `pr_automations_init.yml` workflow to complete and\n# then uses its exports to run automations from main, with access to secrets.\n#\n# ...continued from `pr_automations_init.yml`\n#\n# 4. This workflow runs after `pr_automations_init.yml` workflow completes.\n# 5. It downloads the artifacts from that workflow run.\n# 6. It extracts the JSON file from the ZIP to `/tmp`.\n# 7. It runs the automations as a script, which can access secrets.\n\nname: PR automations\n\non:\n  workflow_run:\n    workflows:\n      - PR automations init\n    types:\n      - completed\n\njobs:\n  run:\n    name: Perform PR automations\n    runs-on: ubuntu-latest\n    # Prevent running this workflow on forks, it's unnecessary for external contributors\n    if: github.repository_owner == 'WordPress'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # This step was copied from the GitHub docs.\n      # Ref: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#using-data-from-the-triggering-workflow\n      - name: Download artifact\n        uses: actions/github-script@v7\n        with:\n          script: |\n            let fs = require('fs');\n            let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               run_id: context.payload.workflow_run.id,\n            });\n            let matchArtifacts = allArtifacts.data.artifacts.filter((artifact) => {\n              return [\"event_info\", \"change_info\"].includes(artifact.name)\n            });\n            for (let matchArtifact of matchArtifacts) {\n              let download = await github.rest.actions.downloadArtifact({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                artifact_id: matchArtifact.id,\n                archive_format: 'zip',\n              });\n              fs.writeFileSync(\n                `${process.env.GITHUB_WORKSPACE}/${matchArtifact.name}.zip`,\n                Buffer.from(download.data)\n              );\n            }\n\n      - name: Unzip artifacts\n        run: |\n          unzip event_info.zip\n          mv event.json /tmp/event.json\n          cat /tmp/event.json\n          unzip change_info.zip\n          mv change.json /tmp/change.json\n          cat /tmp/change.json\n\n      - name: Perform PR labelling\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.ACCESS_TOKEN }}\n          script: |\n            const { main } = await import('${{ github.workspace }}/automations/js/src/label_pr.mjs')\n            await main(github, core)\n\n      - name: Perform PR automations\n        uses: actions/github-script@v7\n        if: success() || failure()\n        with:\n          github-token: ${{ secrets.ACCESS_TOKEN }}\n          script: |\n            const { main } = await import('${{ github.workspace }}/automations/js/src/project_automation/prs.mjs')\n            await main(github, core)\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:56.376371", "created_at": "2024-01-25T03:24:09+01:00", "updated_at": "2024-01-25T03:24:09+01:00", "name": "Test GitHub Action Formatting", "path": ".github/workflows/test_pr_ping.yml", "contents": null, "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:57.518163", "created_at": "2024-02-06T07:10:13+01:00", "updated_at": "2024-02-12T23:23:17+01:00", "name": "Draft releases", "path": ".github/workflows/draft_releases.yml", "contents": "name: Draft releases\n\non:\n  push:\n    branches:\n      - main\n\n# Prevent concurrency with other workflows in the \"Release workflow group\"\n# See https://github.com/WordPress/openverse/issues/4505 for context\nconcurrency:\n  group: operates_on_github_releases\n  cancel-in-progress: false\n\njobs:\n  draft-release:\n    name: \"Draft ${{ matrix.app }} release\"\n    runs-on: ubuntu-latest\n    permissions:\n      # write permission is required to create a github release\n      contents: write\n\n    strategy:\n      matrix:\n        app:\n          - api\n          - frontend\n          - catalog\n          - ingestion_server\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Calculate tag name\n        id: tag\n        run: |\n          # Format example: 2023.03.22.04.56.29\n          # `-u` forces UTC\n          formatted_date=\"$(date -u +%Y.%m.%d.%H.%M.%S)\"\n\n          {\n            echo \"date=$formatted_date\";\n            echo \"git-tag=${{ matrix.app }}-$formatted_date\";\n          } >> \"$GITHUB_OUTPUT\"\n\n      # Each time this runs, it should replace the previous drafted release matching the tag prefix set in the release drafter config\n      # This means there will always be a running drafted release for all apps\n      # Publishing the drafted release triggers the `release-app` workflow\n      - uses: release-drafter/release-drafter@v6\n        id: release-drafter\n        with:\n          config-name: release-drafter-${{ matrix.app }}.yml\n          version: ${{ steps.tag.outputs.date }}\n          tag: ${{ steps.tag.outputs.git-tag }}\n          name: ${{ steps.tag.outputs.git-tag }}\n          draft: true\n          commitish: main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:15:58.522835", "created_at": "2024-07-12T01:55:17+02:00", "updated_at": "2024-07-12T01:55:17+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "wordpress/openverse"}
{"mined_at": "2024-07-15T16:16:00.810062", "created_at": "2021-07-15T11:32:40+02:00", "updated_at": "2021-07-31T09:36:01+02:00", "name": "style_check", "path": ".github/workflows/style_check.yml", "contents": "# Copyright      2021  Fangjun Kuang (csukuangfj@gmail.com)\n\n# See ../../LICENSE for clarification regarding multiple authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: style_check\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\nconcurrency:\n  group: style_check-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  style_check:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Python dependencies\n        run: |\n          python3 -m pip install --upgrade pip black==22.3.0 flake8==5.0.4 click==8.1.0 isort==5.10.1\n          # Click issue fixed in https://github.com/psf/black/pull/2966\n\n      - name: Run flake8\n        shell: bash\n        working-directory: ${{github.workspace}}\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 \\\n            --statistics --extend-ignore=E203,E266,E501,F401,E402,F403,F841,W503\n\n      - name: Run black\n        shell: bash\n        working-directory: ${{github.workspace}}\n        run: |\n          black --check --diff .\n      \n      - name: Run isort\n        shell: bash\n        working-directory: ${{github.workspace}}\n        run: |\n          isort --check --diff .\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:02.039315", "created_at": "2021-07-24T12:24:49+02:00", "updated_at": "2021-07-31T09:36:01+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches:\n      - master\n\n  pull_request:\n    branches:\n      - master\n\n  workflow_dispatch:\n\nconcurrency:\n  group: test-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  generate_build_matrix:\n    if: github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa'\n    # see https://github.com/pytorch/pytorch/pull/50633\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Generating build matrix\n        id: set-matrix\n        run: |\n          # outputting for debugging purposes\n          python ./.github/scripts/docker/generate_build_matrix.py\n          MATRIX=$(python ./.github/scripts/docker/generate_build_matrix.py)\n          echo \"::set-output name=matrix::${MATRIX}\"\n  test:\n    needs: generate_build_matrix\n    name: py${{ matrix.python-version }} torch${{ matrix.torch-version }} v${{ matrix.version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        ${{ fromJson(needs.generate_build_matrix.outputs.matrix) }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Free space\n        shell: bash\n        run: |\n          df -h\n          rm -rf /opt/hostedtoolcache\n          df -h\n          echo \"pwd: $PWD\"\n          echo \"github.workspace ${{ github.workspace }}\"\n\n      - name: Run tests\n        uses: addnab/docker-run-action@v3\n        with:\n            image: ghcr.io/${{ github.repository_owner }}/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}-v${{ matrix.version }}\n            options: |\n              --volume ${{ github.workspace }}/:/icefall\n            shell: bash\n            run: |\n              export PYTHONPATH=/icefall:$PYTHONPATH\n              cd /icefall\n              git config --global --add safe.directory /icefall\n\n              pytest -v -s ./test\n\n              # runt tests for conformer ctc\n              cd egs/librispeech/ASR/conformer_ctc\n              pytest -v -s\n\n              cd ../pruned_transducer_stateless\n              pytest -v -s\n\n              cd ../pruned_transducer_stateless2\n              pytest -v -s\n\n              cd ../pruned_transducer_stateless3\n              pytest -v -s\n\n              cd ../pruned_transducer_stateless4\n              pytest -v -s\n\n              echo $PYTHONPATH\n              cd ../pruned_transducer_stateless7\n              pytest -v -s\n\n              cd ../transducer_stateless\n              pytest -v -s\n\n              # cd ../transducer\n              # pytest -v -s\n\n              cd ../transducer_stateless2\n              pytest -v -s\n\n              cd ../transducer_lstm\n              pytest -v -s\n\n              cd ../zipformer\n              pytest -v -s\n\n      - uses: actions/upload-artifact@v2\n        with:\n          path: egs/librispeech/ASR/zipformer/swoosh.pdf\n          name: swoosh.pdf\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:03.269502", "created_at": "2022-05-13T09:26:14+02:00", "updated_at": "2022-05-14T02:53:24+02:00", "name": "run-gigaspeech-2022-05-13", "path": ".github/workflows/run-gigaspeech-2022-05-13.yml", "contents": "# Copyright      2021  Fangjun Kuang (csukuangfj@gmail.com)\n\n# See ../../LICENSE for clarification regarding multiple authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: run-gigaspeech-2022-05-13\n# stateless transducer + k2 pruned rnnt-loss + reworked conformer\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [labeled]\n\n  schedule:\n    # minute (0-59)\n    # hour (0-23)\n    # day of the month (1-31)\n    # month (1-12)\n    # day of the week (0-6)\n    # nightly build at 15:50 UTC time every day\n    - cron: \"50 15 * * *\"\n\nconcurrency:\n  group: run_gigaspeech_2022_05_13-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run_gigaspeech_2022_05_13:\n    if: github.event.label.name == 'ready' || github.event.label.name == 'run-decode' || github.event_name == 'push' || github.event_name == 'schedule'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements-ci.txt'\n\n      - name: Install Python dependencies\n        run: |\n          grep -v '^#' ./requirements-ci.txt  | xargs -n 1 -L 1 pip install\n          pip uninstall -y protobuf\n          pip install --no-binary protobuf protobuf==3.20.*\n\n      - name: Cache kaldifeat\n        id: my-cache\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/tmp/kaldifeat\n          key: cache-tmp-${{ matrix.python-version }}-2023-05-22\n\n      - name: Install kaldifeat\n        if: steps.my-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          .github/scripts/install-kaldifeat.sh\n\n      - name: Download GigaSpeech dev/test dataset\n        shell: bash\n        run: |\n          sudo apt-get install -y -q git-lfs\n\n          .github/scripts/download-gigaspeech-dev-test-dataset.sh\n\n      - name: Inference with pre-trained model\n        shell: bash\n        env:\n          GITHUB_EVENT_NAME: ${{ github.event_name }}\n          GITHUB_EVENT_LABEL_NAME: ${{ github.event.label.name }}\n        run: |\n          ln -s ~/tmp/giga-dev-dataset-fbank/data egs/gigaspeech/ASR/\n\n          ls -lh egs/gigaspeech/ASR/data/fbank\n\n          export PYTHONPATH=$PWD:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/kaldifeat/python:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/build/lib:$PYTHONPATH\n\n          .github/scripts/run-gigaspeech-pruned-transducer-stateless2-2022-05-12.sh\n\n      - name: Display decoding results for gigaspeech pruned_transducer_stateless2\n        if: github.event_name == 'schedule' || github.event.label.name == 'run-decode'\n        shell: bash\n        run: |\n          cd egs/gigaspeech/ASR/\n          tree ./pruned_transducer_stateless2/exp\n\n          sudo apt-get -qq install tree\n\n          cd pruned_transducer_stateless2\n          echo \"results for pruned_transducer_stateless2\"\n          echo \"===greedy search===\"\n          find exp/greedy_search -name \"log-*\" -exec grep -n --color \"best for dev\" {} + | sort -n -k2\n          find exp/greedy_search -name \"log-*\" -exec grep -n --color \"best for test\" {} + | sort -n -k2\n\n      - name: Upload decoding results for gigaspeech pruned_transducer_stateless2\n        uses: actions/upload-artifact@v2\n        if: github.event_name == 'schedule' || github.event.label.name == 'run-decode'\n        with:\n          name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-ubuntu-latest-cpu-gigaspeech-pruned_transducer_stateless2-2022-05-12\n          path: egs/gigaspeech/ASR/pruned_transducer_stateless2/exp/\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:04.394555", "created_at": "2022-07-25T05:52:54+02:00", "updated_at": "2022-12-08T16:46:36+01:00", "name": "Generate doc", "path": ".github/workflows/build-doc.yml", "contents": "# Copyright      2022  Xiaomi Corp.       (author: Fangjun Kuang)\n\n# See ../../LICENSE for clarification regarding multiple authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# refer to https://github.com/actions/starter-workflows/pull/47/files\n\n# You can access it at https://k2-fsa.github.io/icefall/\nname: Generate doc\non:\n  push:\n    branches:\n    - master\n    - doc\n  pull_request:\n    types: [labeled]\n\nconcurrency:\n  group: build_doc-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-doc:\n    if: github.event.label.name == 'doc' || github.event_name == 'push'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\"]\n    steps:\n      # refer to https://github.com/actions/checkout\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Build doc\n        shell: bash\n        run: |\n          .github/scripts/generate-piper-phonemize-page.py\n          cd docs\n          python3 -m pip install -r ./requirements.txt\n          make html\n          touch build/html/.nojekyll\n\n          cp -v ../piper_phonemize.html ./build/html/\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs/build/html\n          publish_branch: gh-pages\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:05.400553", "created_at": "2022-07-25T06:09:02+02:00", "updated_at": "2022-07-25T06:09:02+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:06.573004", "created_at": "2022-09-20T07:38:40+02:00", "updated_at": "2022-10-18T02:32:49+02:00", "name": "run-librispeech-lstm-transducer2-2022-09-03", "path": ".github/workflows/run-librispeech-lstm-transducer-stateless2-2022-09-03.yml", "contents": "name: run-librispeech-lstm-transducer2-2022-09-03\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [labeled]\n\n  schedule:\n    # minute (0-59)\n    # hour (0-23)\n    # day of the month (1-31)\n    # month (1-12)\n    # day of the week (0-6)\n    # nightly build at 15:50 UTC time every day\n    - cron: \"50 15 * * *\"\n\nconcurrency:\n  group: run_librispeech_lstm_transducer_stateless2_2022_09_03-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run_librispeech_lstm_transducer_stateless2_2022_09_03:\n    if: github.event.label.name == 'ready' || github.event.label.name == 'LODR' || github.event.label.name == 'shallow-fusion' || github.event_name == 'push' || github.event_name == 'schedule'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements-ci.txt'\n\n      - name: Install Python dependencies\n        run: |\n          grep -v '^#' ./requirements-ci.txt  | xargs -n 1 -L 1 pip install\n          pip uninstall -y protobuf\n          pip install --no-binary protobuf protobuf==3.20.*\n\n      - name: Cache kaldifeat\n        id: my-cache\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/tmp/kaldifeat\n          key: cache-tmp-${{ matrix.python-version }}-2023-05-22\n\n      - name: Install kaldifeat\n        if: steps.my-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          .github/scripts/install-kaldifeat.sh\n\n      - name: Cache LibriSpeech test-clean and test-other datasets\n        id: libri-test-clean-and-test-other-data\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/tmp/download\n          key: cache-libri-test-clean-and-test-other\n\n      - name: Download LibriSpeech test-clean and test-other\n        if: steps.libri-test-clean-and-test-other-data.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          .github/scripts/download-librispeech-test-clean-and-test-other-dataset.sh\n\n      - name: Prepare manifests for LibriSpeech test-clean and test-other\n        shell: bash\n        run: |\n          .github/scripts/prepare-librispeech-test-clean-and-test-other-manifests.sh\n\n      - name: Cache LibriSpeech test-clean and test-other fbank features\n        id: libri-test-clean-and-test-other-fbank\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/tmp/fbank-libri\n          key: cache-libri-fbank-test-clean-and-test-other-v2\n\n      - name: Compute fbank for LibriSpeech test-clean and test-other\n        if: steps.libri-test-clean-and-test-other-fbank.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          .github/scripts/compute-fbank-librispeech-test-clean-and-test-other.sh\n\n      - name: Inference with pre-trained model\n        shell: bash\n        env:\n          GITHUB_EVENT_NAME: ${{ github.event_name }}\n          GITHUB_EVENT_LABEL_NAME: ${{ github.event.label.name }}\n        run: |\n          mkdir -p egs/librispeech/ASR/data\n          ln -sfv ~/tmp/fbank-libri egs/librispeech/ASR/data/fbank\n          ls -lh egs/librispeech/ASR/data/*\n\n          sudo apt-get -qq install git-lfs tree\n          export PYTHONPATH=$PWD:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/kaldifeat/python:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/build/lib:$PYTHONPATH\n\n          .github/scripts/run-librispeech-lstm-transducer-stateless2-2022-09-03.sh\n\n      - name: Display decoding results for lstm_transducer_stateless2\n        if: github.event_name == 'schedule'\n        shell: bash\n        run: |\n          cd egs/librispeech/ASR\n          tree lstm_transducer_stateless2/exp\n          cd lstm_transducer_stateless2/exp\n          echo \"===greedy search===\"\n          find greedy_search -name \"log-*\" -exec grep -n --color \"best for test-clean\" {} + | sort -n -k2\n          find greedy_search -name \"log-*\" -exec grep -n --color \"best for test-other\" {} + | sort -n -k2\n\n          echo \"===fast_beam_search===\"\n          find fast_beam_search -name \"log-*\" -exec grep -n --color \"best for test-clean\" {} + | sort -n -k2\n          find fast_beam_search -name \"log-*\" -exec grep -n --color \"best for test-other\" {} + | sort -n -k2\n\n          echo \"===modified beam search===\"\n          find modified_beam_search -name \"log-*\" -exec grep -n --color \"best for test-clean\" {} + | sort -n -k2\n          find modified_beam_search -name \"log-*\" -exec grep -n --color \"best for test-other\" {} + | sort -n -k2\n\n      - name: Display decoding results for lstm_transducer_stateless2\n        if: github.event.label.name == 'shallow-fusion'\n        shell: bash\n        run: |\n          cd egs/librispeech/ASR\n          tree lstm_transducer_stateless2/exp\n          cd lstm_transducer_stateless2/exp\n          echo \"===modified_beam_search_lm_shallow_fusion===\"\n          echo \"===Using RNNLM===\"\n          find modified_beam_search_lm_shallow_fusion  -name \"log-*rnn*\" -exec grep -n --color \"best for test-clean\" {} + | sort -n -k2\n          find modified_beam_search_lm_shallow_fusion  -name \"log-*rnn*\" -exec grep -n --color \"best for test-other\" {} + | sort -n -k2\n\n      - name: Display decoding results for lstm_transducer_stateless2\n        if: github.event.label.name == 'LODR'\n        shell: bash\n        run: |\n          cd egs/librispeech/ASR\n          tree lstm_transducer_stateless2/exp\n          cd lstm_transducer_stateless2/exp\n          echo \"===modified_beam_search_rnnlm_LODR===\"\n          find modified_beam_search_LODR  -name \"log-*\" -exec grep -n --color \"best for test-clean\" {} + | sort -n -k2\n          find modified_beam_search_LODR  -name \"log-*\" -exec grep -n --color \"best for test-other\" {} + | sort -n -k2\n\n      - name: Upload decoding results for lstm_transducer_stateless2\n        uses: actions/upload-artifact@v2\n        if: github.event_name == 'schedule' || github.event.label.name == 'shallow-fusion' || github.event.label.name == 'LODR'\n        with:\n          name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-ubuntu-latest-cpu-lstm_transducer_stateless2-2022-09-03\n          path: egs/librispeech/ASR/lstm_transducer_stateless2/exp/\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:07.672161", "created_at": "2022-10-13T09:00:47+02:00", "updated_at": "2022-10-13T09:17:23+02:00", "name": "run-wenetspeech-pruned-transducer-stateless2", "path": ".github/workflows/run-wenetspeech-pruned-transducer-stateless2.yml", "contents": "# Copyright      2021  Fangjun Kuang (csukuangfj@gmail.com)\n\n# See ../../LICENSE for clarification regarding multiple authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: run-wenetspeech-pruned-transducer-stateless2\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [labeled]\n\nconcurrency:\n  group: run_wenetspeech_pruned_transducer_stateless2-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run_wenetspeech_pruned_transducer_stateless2:\n    if: github.event.label.name == 'onnx' || github.event.label.name == 'ready' || github.event_name == 'push' || github.event.label.name == 'wenetspeech'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements-ci.txt'\n\n      - name: Install Python dependencies\n        run: |\n          grep -v '^#' ./requirements-ci.txt  | xargs -n 1 -L 1 pip install\n          pip uninstall -y protobuf\n          pip install --no-binary protobuf protobuf==3.20.*\n\n      - name: Cache kaldifeat\n        id: my-cache\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/tmp/kaldifeat\n          key: cache-tmp-${{ matrix.python-version }}-2023-05-22\n\n      - name: Install kaldifeat\n        if: steps.my-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          .github/scripts/install-kaldifeat.sh\n\n      - name: Inference with pre-trained model\n        shell: bash\n        env:\n          GITHUB_EVENT_NAME: ${{ github.event_name }}\n          GITHUB_EVENT_LABEL_NAME: ${{ github.event.label.name }}\n        run: |\n          sudo apt-get -qq install git-lfs tree\n          export PYTHONPATH=$PWD:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/kaldifeat/python:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/build/lib:$PYTHONPATH\n\n          .github/scripts/run-wenetspeech-pruned-transducer-stateless2.sh\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:08.797618", "created_at": "2022-12-01T03:39:11+01:00", "updated_at": "2022-12-01T08:57:45+01:00", "name": "run-ptb-rnn-lm-training", "path": ".github/workflows/run-ptb-rnn-lm.yml", "contents": "name: run-ptb-rnn-lm-training\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [labeled]\n\n  schedule:\n    # minute (0-59)\n    # hour (0-23)\n    # day of the month (1-31)\n    # month (1-12)\n    # day of the week (0-6)\n    # nightly build at 15:50 UTC time every day\n    - cron: \"50 15 * * *\"\n\nconcurrency:\n  group: run_ptb_rnn_lm_training-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run_ptb_rnn_lm_training:\n    if: github.event.label.name == 'ready' || github.event.label.name == 'rnnlm' || github.event_name == 'push' || github.event_name == 'schedule'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\"]\n\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements-ci.txt'\n\n      - name: Install Python dependencies\n        run: |\n          grep -v '^#' ./requirements-ci.txt  | grep -v kaldifst | xargs -n 1 -L 1 pip install\n          pip uninstall -y protobuf\n          pip install --no-binary protobuf protobuf==3.20.*\n\n      - name: Prepare data\n        shell: bash\n        run: |\n          export PYTHONPATH=$PWD:$PYTHONPATH\n          cd egs/ptb/LM\n          ./prepare.sh\n\n      - name: Run training\n        shell: bash\n        run: |\n          export PYTHONPATH=$PWD:$PYTHONPATH\n          cd egs/ptb/LM\n          ./train-rnn-lm.sh --world-size 1 --num-epochs 5 --use-epoch 4 --use-avg 2\n\n      - name: Upload pretrained models\n        uses: actions/upload-artifact@v2\n        if: github.event.label.name == 'ready' || github.event.label.name == 'rnnlm' || github.event_name == 'push' || github.event_name == 'schedule'\n        with:\n          name: python-${{ matrix.python-version }}-ubuntu-rnn-lm-ptb\n          path: egs/ptb/LM/my-rnnlm-exp/\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:09.902524", "created_at": "2023-02-06T14:51:26+01:00", "updated_at": "2023-02-07T05:12:29+01:00", "name": "test-onnx-export", "path": ".github/workflows/test-onnx-export.yml", "contents": "name: test-onnx-export\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [labeled]\n\n  schedule:\n    # minute (0-59)\n    # hour (0-23)\n    # day of the month (1-31)\n    # month (1-12)\n    # day of the week (0-6)\n    # nightly build at 15:50 UTC time every day\n    - cron: \"50 15 * * *\"\n\nconcurrency:\n  group: test_onnx_export-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test_onnx_export:\n    if: github.event.label.name == 'ready' || github.event.label.name == 'onnx' || github.event_name == 'push' || github.event_name == 'schedule'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements-ci.txt'\n\n      - name: Install Python dependencies\n        run: |\n          grep -v '^#' ./requirements-ci.txt  | xargs -n 1 -L 1 pip install\n          pip uninstall -y protobuf\n          pip install --no-binary protobuf protobuf==3.20.*\n\n      - name: Cache kaldifeat\n        id: my-cache\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/tmp/kaldifeat\n          key: cache-tmp-${{ matrix.python-version }}-2023-05-22\n\n      - name: Install kaldifeat\n        if: steps.my-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          .github/scripts/install-kaldifeat.sh\n\n      - name: Test ONNX export\n        shell: bash\n        env:\n          GITHUB_EVENT_NAME: ${{ github.event_name }}\n          GITHUB_EVENT_LABEL_NAME: ${{ github.event.label.name }}\n        run: |\n          export PYTHONPATH=$PWD:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/kaldifeat/python:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/build/lib:$PYTHONPATH\n\n          .github/scripts/test-onnx-export.sh\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:10.948482", "created_at": "2023-02-08T07:44:52+01:00", "updated_at": "2023-02-08T17:02:42+01:00", "name": "test-ncnn-export", "path": ".github/workflows/test-ncnn-export.yml", "contents": "name: test-ncnn-export\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [labeled]\n\n  schedule:\n    # minute (0-59)\n    # hour (0-23)\n    # day of the month (1-31)\n    # month (1-12)\n    # day of the week (0-6)\n    # nightly build at 15:50 UTC time every day\n    - cron: \"50 15 * * *\"\n\nconcurrency:\n  group: test_ncnn_export-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test_ncnn_export:\n    if: github.event.label.name == 'ready' || github.event.label.name == 'ncnn' || github.event_name == 'push' || github.event_name == 'schedule'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements-ci.txt'\n\n      - name: Install Python dependencies\n        run: |\n          grep -v '^#' ./requirements-ci.txt  | xargs -n 1 -L 1 pip install\n          pip uninstall -y protobuf\n          pip install --no-binary protobuf protobuf==3.20.*\n\n      - name: Cache kaldifeat\n        id: my-cache\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/tmp/kaldifeat\n          key: cache-tmp-${{ matrix.python-version }}-2023-05-22\n\n      - name: Install kaldifeat\n        if: steps.my-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          .github/scripts/install-kaldifeat.sh\n\n      - name: Test ncnn export\n        shell: bash\n        env:\n          GITHUB_EVENT_NAME: ${{ github.event_name }}\n          GITHUB_EVENT_LABEL_NAME: ${{ github.event.label.name }}\n        run: |\n          export PYTHONPATH=$PWD:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/kaldifeat/python:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/build/lib:$PYTHONPATH\n\n          .github/scripts/test-ncnn-export.sh\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:12.074673", "created_at": "2023-07-28T04:34:42+02:00", "updated_at": "2023-07-28T04:34:42+02:00", "name": "Build docker image", "path": ".github/workflows/build-docker-image.yml", "contents": "# see also\n# https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-github-packages\nname: Build docker image\non:\n  workflow_dispatch:\n\nconcurrency:\n  group: build_docker-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-docker-image:\n    name: ${{ matrix.image }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        image: [\"torch2.3.1-cuda12.1\", \"torch2.3.1-cuda11.8\", \"torch2.2.2-cuda12.1\", \"torch2.2.2-cuda11.8\", \"torch2.2.1-cuda12.1\", \"torch2.2.1-cuda11.8\", \"torch2.2.0-cuda12.1\", \"torch2.2.0-cuda11.8\", \"torch2.1.0-cuda12.1\", \"torch2.1.0-cuda11.8\", \"torch2.0.0-cuda11.7\", \"torch1.13.0-cuda11.6\", \"torch1.12.1-cuda11.3\", \"torch1.9.0-cuda10.2\"]\n\n    steps:\n      # refer to https://github.com/actions/checkout\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Rename\n        shell: bash\n        run: |\n          image=${{ matrix.image }}\n          mv -v ./docker/$image.dockerfile ./Dockerfile\n\n      - name: Free space\n        shell: bash\n        run: |\n          df -h\n          rm -rf /opt/hostedtoolcache\n          df -h\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: ./Dockerfile\n          push: true\n          tags: k2fsa/icefall:${{ matrix.image }}\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:13.207023", "created_at": "2023-07-28T04:34:42+02:00", "updated_at": "2023-07-28T04:34:42+02:00", "name": "Run docker image", "path": ".github/workflows/run-docker-image.yml", "contents": "name: Run docker image\non:\n  workflow_dispatch:\n\nconcurrency:\n  group: run_docker_image-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run-docker-image:\n    name: ${{ matrix.image }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        image: [\"torch2.3.1-cuda12.1\", \"torch2.3.1-cuda11.8\", \"torch2.2.2-cuda12.1\", \"torch2.2.2-cuda11.8\", \"torch2.2.1-cuda12.1\", \"torch2.2.1-cuda11.8\", \"torch2.2.0-cuda12.1\", \"torch2.2.0-cuda11.8\", \"torch2.1.0-cuda12.1\", \"torch2.1.0-cuda11.8\", \"torch2.0.0-cuda11.7\", \"torch1.13.0-cuda11.6\", \"torch1.12.1-cuda11.3\", \"torch1.9.0-cuda10.2\"]\n    steps:\n      # refer to https://github.com/actions/checkout\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Free space\n        shell: bash\n        run: |\n          df -h\n          rm -rf /opt/hostedtoolcache\n          df -h\n\n      - name: Run the build process with Docker\n        uses: addnab/docker-run-action@v3\n        with:\n            image: k2fsa/icefall:${{ matrix.image }}\n            shell: bash\n            run: |\n              uname -a\n              cat /etc/*release\n\n              find / -name libcuda* 2>/dev/null\n\n              ls -lh /usr/local/\n              ls -lh /usr/local/cuda*\n\n              nvcc --version\n\n              ls -lh /usr/local/cuda-*/compat/*\n\n              # For torch1.9.0-cuda10.2\n              export LD_LIBRARY_PATH=/usr/local/cuda-10.2/compat:$LD_LIBRARY_PATH\n\n              # For torch1.12.1-cuda11.3\n              export LD_LIBRARY_PATH=/usr/local/cuda-11.3/compat:$LD_LIBRARY_PATH\n\n              # For torch2.0.0-cuda11.7\n              export LD_LIBRARY_PATH=/usr/local/cuda-11.7/compat:$LD_LIBRARY_PATH\n\n              # For torch2.1.0-cuda11.8\n              export LD_LIBRARY_PATH=/usr/local/cuda-11.8/compat:$LD_LIBRARY_PATH\n\n              # For torch2.1.0-cuda12.1\n              export LD_LIBRARY_PATH=/usr/local/cuda-12.1/compat:$LD_LIBRARY_PATH\n\n\n              which nvcc\n              cuda_dir=$(dirname $(which nvcc))\n              echo \"cuda_dir: $cuda_dir\"\n\n              find $cuda_dir -name libcuda.so*\n              echo \"--------------------\"\n\n              find / -name libcuda.so* 2>/dev/null\n\n              # for torch1.13.0-cuda11.6\n              if [ -e /opt/conda/lib/stubs/libcuda.so ]; then\n                cd /opt/conda/lib/stubs && ln -s libcuda.so libcuda.so.1 && cd -\n                export LD_LIBRARY_PATH=/opt/conda/lib/stubs:$LD_LIBRARY_PATH\n              fi\n\n              find / -name libcuda.so* 2>/dev/null\n              echo \"LD_LIBRARY_PATH: $LD_LIBRARY_PATH\"\n\n              python3 --version\n              which python3\n\n              python3 -m pip list\n\n              echo \"----------torch----------\"\n              python3 -m torch.utils.collect_env\n\n              echo \"----------k2----------\"\n              python3 -c \"import k2; print(k2.__file__)\"\n              python3 -c \"import k2; print(k2.__dev_version__)\"\n              python3 -m k2.version\n\n              echo \"----------lhotse----------\"\n              python3 -c \"import lhotse; print(lhotse.__file__)\"\n              python3 -c \"import lhotse; print(lhotse.__version__)\"\n\n              echo \"----------kaldifeat----------\"\n              python3 -c \"import kaldifeat; print(kaldifeat.__file__)\"\n              python3 -c \"import kaldifeat; print(kaldifeat.__version__)\"\n\n              echo \"Test yesno recipe\"\n\n              cd egs/yesno/ASR\n\n              ./prepare.sh\n\n              ./tdnn/train.py\n\n              ./tdnn/decode.py\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:14.254253", "created_at": "2023-09-26T11:10:52+02:00", "updated_at": "2023-10-07T05:44:22+02:00", "name": "run-swbd-conformer_ctc", "path": ".github/workflows/run-swbd-conformer-ctc.yml", "contents": "# Copyright      2023   Xiaomi Corp.    (author: Zengrui Jin)\n\n# See ../../LICENSE for clarification regarding multiple authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: run-swbd-conformer_ctc\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [labeled]\n\nconcurrency:\n  group: run-swbd-conformer_ctc-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run-swbd-conformer_ctc:\n    if: github.event.label.name == 'onnx' || github.event.label.name == 'ready' || github.event_name == 'push' || github.event.label.name == 'swbd'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements-ci.txt'\n\n      - name: Install Python dependencies\n        run: |\n          grep -v '^#' ./requirements-ci.txt  | xargs -n 1 -L 1 pip install\n          pip uninstall -y protobuf\n          pip install --no-binary protobuf protobuf==3.20.*\n\n      - name: Cache kaldifeat\n        id: my-cache\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/tmp/kaldifeat\n          key: cache-tmp-${{ matrix.python-version }}-2023-05-22\n\n      - name: Install kaldifeat\n        if: steps.my-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          .github/scripts/install-kaldifeat.sh\n\n      - name: Inference with pre-trained model\n        shell: bash\n        env:\n          GITHUB_EVENT_NAME: ${{ github.event_name }}\n          GITHUB_EVENT_LABEL_NAME: ${{ github.event.label.name }}\n        run: |\n          sudo apt-get -qq install git-lfs tree\n          export PYTHONPATH=$PWD:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/kaldifeat/python:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/build/lib:$PYTHONPATH\n\n          .github/scripts/run-swbd-conformer-ctc-2023-08-26.sh\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:15.399186", "created_at": "2023-10-20T16:25:13+02:00", "updated_at": "2023-10-21T09:37:03+02:00", "name": "run-gigaspeech-zipformer-2023-10-17", "path": ".github/workflows/run-gigaspeech-zipformer-2023-10-17.yml", "contents": "# Copyright      2022  Fangjun Kuang (csukuangfj@gmail.com)\n\n# See ../../LICENSE for clarification regarding multiple authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: run-gigaspeech-zipformer-2023-10-17\n# zipformer\n\non:\n  push:\n    branches:\n      - master\n\n  pull_request:\n    types: [labeled]\n\n  schedule:\n    # minute (0-59)\n    # hour (0-23)\n    # day of the month (1-31)\n    # month (1-12)\n    # day of the week (0-6)\n    # nightly build at 15:50 UTC time every day\n    - cron: \"50 15 * * *\"\n\n  workflow_dispatch:\n\nconcurrency:\n  group: run_gigaspeech_2023_10_17_zipformer-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run_gigaspeech_2023_10_17_zipformer:\n    if: github.event.label.name == 'zipformer' ||github.event.label.name == 'ready' || github.event.label.name == 'run-decode' || github.event_name == 'push' || github.event_name == 'schedule'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements-ci.txt'\n\n      - name: Install Python dependencies\n        run: |\n          grep -v '^#' ./requirements-ci.txt  | xargs -n 1 -L 1 pip install\n          pip uninstall -y protobuf\n          pip install --no-binary protobuf protobuf==3.20.*\n\n      - name: Cache kaldifeat\n        id: my-cache\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/tmp/kaldifeat\n          key: cache-tmp-${{ matrix.python-version }}-2023-05-22\n\n      - name: Install kaldifeat\n        if: steps.my-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          .github/scripts/install-kaldifeat.sh\n\n      - name: Inference with pre-trained model\n        shell: bash\n        env:\n          GITHUB_EVENT_NAME: ${{ github.event_name }}\n          GITHUB_EVENT_LABEL_NAME: ${{ github.event.label.name }}\n          HF_TOKEN: ${{ secrets.HF_TOKEN }}\n        run: |\n          mkdir -p egs/gigaspeech/ASR/data\n          ln -sfv ~/tmp/fbank-libri egs/gigaspeech/ASR/data/fbank\n          ls -lh egs/gigaspeech/ASR/data/*\n\n          sudo apt-get -qq install git-lfs tree\n          export PYTHONPATH=$PWD:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/kaldifeat/python:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/build/lib:$PYTHONPATH\n\n          .github/scripts/run-gigaspeech-zipformer-2023-10-17.sh\n\n      - name: upload model to https://github.com/k2-fsa/sherpa-onnx\n        uses: svenstaro/upload-release-action@v2\n        with:\n          file_glob: true\n          file: ./*.tar.bz2\n          overwrite: true\n          repo_name: k2-fsa/sherpa-onnx\n          repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}\n          tag: asr-models\n\n      - name: Display decoding results for gigaspeech zipformer\n        if: github.event_name == 'schedule' || github.event.label.name == 'run-decode'\n        shell: bash\n        run: |\n          cd egs/gigaspeech/ASR/\n          tree ./zipformer/exp\n\n          cd zipformer\n          echo \"results for zipformer\"\n          echo \"===greedy search===\"\n          find exp/greedy_search -name \"log-*\" -exec grep -n --color \"best for test-clean\" {} + | sort -n -k2\n          find exp/greedy_search -name \"log-*\" -exec grep -n --color \"best for test-other\" {} + | sort -n -k2\n\n          echo \"===fast_beam_search===\"\n          find exp/fast_beam_search -name \"log-*\" -exec grep -n --color \"best for test-clean\" {} + | sort -n -k2\n          find exp/fast_beam_search -name \"log-*\" -exec grep -n --color \"best for test-other\" {} + | sort -n -k2\n\n          echo \"===modified beam search===\"\n          find exp/modified_beam_search -name \"log-*\" -exec grep -n --color \"best for test-clean\" {} + | sort -n -k2\n          find exp/modified_beam_search -name \"log-*\" -exec grep -n --color \"best for test-other\" {} + | sort -n -k2\n\n      - name: Upload decoding results for gigaspeech zipformer\n        uses: actions/upload-artifact@v2\n        if: github.event_name == 'schedule' || github.event.label.name == 'run-decode'\n        with:\n          name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-ubuntu-latest-cpu-zipformer-2022-11-11\n          path: egs/gigaspeech/ASR/zipformer/exp/\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:16.484399", "created_at": "2023-11-23T10:28:27+01:00", "updated_at": "2023-11-26T03:04:19+01:00", "name": "run-multi-corpora-zipformer", "path": ".github/workflows/run-multi-corpora-zipformer.yml", "contents": "# Copyright      2023   Xiaomi Corp.    (author: Zengrui Jin)\n\n# See ../../LICENSE for clarification regarding multiple authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: run-multi-corpora-zipformer\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    types: [labeled]\n\nconcurrency:\n  group: run_multi-corpora_zipformer-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run_multi-corpora_zipformer:\n    if: github.event.label.name == 'onnx' || github.event.label.name == 'ready' || github.event_name == 'push' || github.event.label.name == 'multi-zh_hans' || github.event.label.name == 'zipformer' || github.event.label.name == 'multi-corpora'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements-ci.txt'\n\n      - name: Install Python dependencies\n        run: |\n          grep -v '^#' ./requirements-ci.txt  | xargs -n 1 -L 1 pip install\n          pip uninstall -y protobuf\n          pip install --no-binary protobuf protobuf==3.20.*\n\n      - name: Cache kaldifeat\n        id: my-cache\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/tmp/kaldifeat\n          key: cache-tmp-${{ matrix.python-version }}-2023-05-22\n\n      - name: Install kaldifeat\n        if: steps.my-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          .github/scripts/install-kaldifeat.sh\n\n      - name: Inference with pre-trained model\n        shell: bash\n        env:\n          GITHUB_EVENT_NAME: ${{ github.event_name }}\n          GITHUB_EVENT_LABEL_NAME: ${{ github.event.label.name }}\n        run: |\n          sudo apt-get -qq install git-lfs tree\n          export PYTHONPATH=$PWD:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/kaldifeat/python:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/build/lib:$PYTHONPATH\n\n          .github/scripts/run-multi-corpora-zipformer.sh\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:17.809432", "created_at": "2023-12-12T10:58:49+01:00", "updated_at": "2023-12-12T11:13:29+01:00", "name": "run-multi-zh-hans", "path": ".github/workflows/multi-zh-hans.yml", "contents": "name: run-multi-zh-hans\n\non:\n  push:\n    branches:\n      - master\n\n  workflow_dispatch:\n\nconcurrency:\n  group: run-multi-zh-hans-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: write\n\njobs:\n  multi-zh-hans:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements-ci.txt'\n\n      - name: Install Python dependencies\n        run: |\n          grep -v '^#' ./requirements-ci.txt  | xargs -n 1 -L 1 pip install\n          pip uninstall -y protobuf\n          pip install --no-binary protobuf protobuf==3.20.*\n\n      - name: Cache kaldifeat\n        id: my-cache\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/tmp/kaldifeat\n          key: cache-tmp-${{ matrix.python-version }}-2023-05-22\n\n      - name: Install kaldifeat\n        if: steps.my-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          .github/scripts/install-kaldifeat.sh\n\n      - name: export-model\n        shell: bash\n        env:\n          HF_TOKEN: ${{ secrets.HF_TOKEN }}\n        run: |\n          sudo apt-get -qq install git-lfs tree\n          export PYTHONPATH=$PWD:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/kaldifeat/python:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/build/lib:$PYTHONPATH\n\n          .github/scripts/multi-zh-hans.sh\n          ls -lh\n\n      - name: upload model to https://github.com/k2-fsa/sherpa-onnx\n        uses: svenstaro/upload-release-action@v2\n        with:\n          file_glob: true\n          file: ./*.tar.bz2\n          overwrite: true\n          repo_name: k2-fsa/sherpa-onnx\n          repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}\n          tag: asr-models\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:18.824577", "created_at": "2023-12-22T17:38:39+01:00", "updated_at": "2023-12-22T17:38:39+01:00", "name": "build-cpu-docker", "path": ".github/workflows/build-cpu-docker.yml", "contents": "name: build-cpu-docker\non:\n  workflow_dispatch:\n\nconcurrency:\n  group: build-cpu-docker-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  generate_build_matrix:\n    if: github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa'\n    # see https://github.com/pytorch/pytorch/pull/50633\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Generating build matrix\n        id: set-matrix\n        run: |\n          # outputting for debugging purposes\n          python ./.github/scripts/docker/generate_build_matrix.py\n          MATRIX=$(python ./.github/scripts/docker/generate_build_matrix.py)\n          echo \"::set-output name=matrix::${MATRIX}\"\n  build-cpu-docker:\n    needs: generate_build_matrix\n    name: py${{ matrix.python-version }} torch${{ matrix.torch-version }} v${{ matrix.version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        ${{ fromJson(needs.generate_build_matrix.outputs.matrix) }}\n\n    steps:\n      # refer to https://github.com/actions/checkout\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Free space\n        shell: bash\n        run: |\n          df -h\n          rm -rf /opt/hostedtoolcache\n          df -h\n\n      - name: 'Login to GitHub Container Registry'\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build docker Image\n        shell: bash\n        run: |\n          cd .github/scripts/docker\n          torch_version=${{ matrix.torch-version }}\n          torchaudio_version=${{ matrix.torchaudio-version }}\n\n          echo \"torch_version: $torch_version\"\n          echo \"torchaudio_version: $torchaudio_version\"\n\n          version=${{ matrix.version }}\n\n          tag=ghcr.io/${{ github.repository_owner }}/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}-v$version\n          echo \"tag: $tag\"\n\n          docker build \\\n            -t $tag \\\n            --build-arg PYTHON_VERSION=${{ matrix.python-version }} \\\n            --build-arg TORCH_VERSION=$torch_version \\\n            --build-arg TORCHAUDIO_VERSION=$torchaudio_version \\\n            --build-arg K2_VERSION=${{ matrix.k2-version }} \\\n            --build-arg KALDIFEAT_VERSION=${{ matrix.kaldifeat-version }} \\\n            .\n\n          docker image ls\n          docker push $tag\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:19.973963", "created_at": "2023-12-26T13:28:54+01:00", "updated_at": "2023-12-26T13:29:45+01:00", "name": "yesno", "path": ".github/workflows/yesno.yml", "contents": "name: yesno\n\non:\n  push:\n    branches:\n      - master\n\n  pull_request:\n    branches:\n      - master\n\n  workflow_dispatch:\n\nconcurrency:\n  group: yesno-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  generate_build_matrix:\n    if: github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa'\n    # see https://github.com/pytorch/pytorch/pull/50633\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Generating build matrix\n        id: set-matrix\n        run: |\n          # outputting for debugging purposes\n          python ./.github/scripts/docker/generate_build_matrix.py\n          MATRIX=$(python ./.github/scripts/docker/generate_build_matrix.py)\n          echo \"::set-output name=matrix::${MATRIX}\"\n  yesno:\n    needs: generate_build_matrix\n    name: py${{ matrix.python-version }} torch${{ matrix.torch-version }} v${{ matrix.version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        ${{ fromJson(needs.generate_build_matrix.outputs.matrix) }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Run the yesno recipe\n        uses: addnab/docker-run-action@v3\n        with:\n            image: ghcr.io/${{ github.repository_owner }}/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}-v${{ matrix.version }}\n            options: |\n              --volume ${{ github.workspace }}/:/icefall\n            shell: bash\n            run: |\n              export PYTHONPATH=/icefall:$PYTHONPATH\n              cd /icefall\n              git config --global --add safe.directory /icefall\n\n              python3 -m torch.utils.collect_env\n              python3 -m k2.version\n\n              .github/scripts/yesno/ASR/run.sh\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:21.071524", "created_at": "2023-12-26T13:28:54+01:00", "updated_at": "2023-12-26T13:29:45+01:00", "name": "aishell", "path": ".github/workflows/aishell.yml", "contents": "name: aishell\n\non:\n  push:\n    branches:\n      - master\n\n  pull_request:\n    branches:\n      - master\n\n  workflow_dispatch:\n\nconcurrency:\n  group: aishell-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  generate_build_matrix:\n    if: (github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa') && (github.event.label.name == 'ready' || github.event_name == 'push' || github.event_name == 'aishell')\n\n    # see https://github.com/pytorch/pytorch/pull/50633\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Generating build matrix\n        id: set-matrix\n        run: |\n          # outputting for debugging purposes\n          python ./.github/scripts/docker/generate_build_matrix.py\n          MATRIX=$(python ./.github/scripts/docker/generate_build_matrix.py)\n          echo \"::set-output name=matrix::${MATRIX}\"\n  aishell:\n    needs: generate_build_matrix\n    name: py${{ matrix.python-version }} torch${{ matrix.torch-version }} v${{ matrix.version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        ${{ fromJson(needs.generate_build_matrix.outputs.matrix) }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Free space\n        shell: bash\n        run: |\n          df -h\n          rm -rf /opt/hostedtoolcache\n          df -h\n          echo \"pwd: $PWD\"\n          echo \"github.workspace ${{ github.workspace }}\"\n\n      - name: Run aishell tests\n        uses: addnab/docker-run-action@v3\n        with:\n            image: ghcr.io/${{ github.repository_owner }}/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}-v${{ matrix.version }}\n            options: |\n              --volume ${{ github.workspace }}/:/icefall\n            shell: bash\n            run: |\n              export PYTHONPATH=/icefall:$PYTHONPATH\n              cd /icefall\n              git config --global --add safe.directory /icefall\n\n              .github/scripts/aishell/ASR/run.sh\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:22.212324", "created_at": "2023-12-27T06:18:19+01:00", "updated_at": "2023-12-27T06:21:17+01:00", "name": "librispeech", "path": ".github/workflows/librispeech.yml", "contents": "name: librispeech\non:\n  push:\n    branches:\n      - master\n\n  pull_request:\n    branches:\n      - master\n\n  workflow_dispatch:\n\nconcurrency:\n  group: librispeech-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  generate_build_matrix:\n    if: github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa'\n    # see https://github.com/pytorch/pytorch/pull/50633\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Generating build matrix\n        id: set-matrix\n        run: |\n          # outputting for debugging purposes\n          python ./.github/scripts/docker/generate_build_matrix.py\n          MATRIX=$(python ./.github/scripts/docker/generate_build_matrix.py)\n          echo \"::set-output name=matrix::${MATRIX}\"\n  librispeech:\n    needs: generate_build_matrix\n    name: py${{ matrix.python-version }} torch${{ matrix.torch-version }} v${{ matrix.version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        ${{ fromJson(needs.generate_build_matrix.outputs.matrix) }}\n\n    steps:\n      # refer to https://github.com/actions/checkout\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Free space\n        shell: bash\n        run: |\n          df -h\n          rm -rf /opt/hostedtoolcache\n          df -h\n          echo \"pwd: $PWD\"\n          echo \"github.workspace ${{ github.workspace }}\"\n\n      - name: Test zipformer/train.py with LibriSpeech\n        uses: addnab/docker-run-action@v3\n        with:\n            image: ghcr.io/${{ github.repository_owner }}/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}-v${{ matrix.version }}\n            options: |\n              --volume ${{ github.workspace }}/:/icefall\n            shell: bash\n            run: |\n              export PYTHONPATH=/icefall:$PYTHONPATH\n              cd /icefall\n              git config --global --add safe.directory /icefall\n\n              .github/scripts/librispeech/ASR/run.sh\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:23.338689", "created_at": "2024-03-13T08:05:43+01:00", "updated_at": "2024-03-13T10:39:02+01:00", "name": "ljspeech", "path": ".github/workflows/ljspeech.yml", "contents": "name: ljspeech\n\non:\n  push:\n    branches:\n      - master\n\n  pull_request:\n    branches:\n      - master\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ljspeech-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  generate_build_matrix:\n    if: github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa'\n    # see https://github.com/pytorch/pytorch/pull/50633\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Generating build matrix\n        id: set-matrix\n        run: |\n          # outputting for debugging purposes\n          python ./.github/scripts/docker/generate_build_matrix.py\n          MATRIX=$(python ./.github/scripts/docker/generate_build_matrix.py)\n          echo \"::set-output name=matrix::${MATRIX}\"\n\n  ljspeech:\n    needs: generate_build_matrix\n    name: py${{ matrix.python-version }} torch${{ matrix.torch-version }} v${{ matrix.version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        ${{ fromJson(needs.generate_build_matrix.outputs.matrix) }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Free space\n        shell: bash\n        run: |\n          ls -lh\n          df -h\n          rm -rf /opt/hostedtoolcache\n          df -h\n          echo \"pwd: $PWD\"\n          echo \"github.workspace ${{ github.workspace }}\"\n\n      - name: Run tests\n        uses: addnab/docker-run-action@v3\n        with:\n            image: ghcr.io/${{ github.repository_owner }}/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}-v${{ matrix.version }}\n            options: |\n              --volume ${{ github.workspace }}/:/icefall\n            shell: bash\n            run: |\n              export PYTHONPATH=/icefall:$PYTHONPATH\n              cd /icefall\n              git config --global --add safe.directory /icefall\n\n              .github/scripts/ljspeech/TTS/run.sh\n\n      - name: display files\n        shell: bash\n        run: |\n          ls -lh\n\n      - uses: actions/upload-artifact@v4\n        if: matrix.python-version == '3.9' && matrix.torch-version == '2.2.0'\n        with:\n          name: generated-test-files-${{ matrix.python-version }}-${{ matrix.torch-version }}\n          path: ./*.wav\n\n      - uses: actions/upload-artifact@v4\n        if: matrix.python-version == '3.9' && matrix.torch-version == '2.2.0'\n        with:\n          name: generated-models-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}\n          path: ./*.wav\n\n      - name: Release exported onnx models\n        if: matrix.python-version == '3.9' && matrix.torch-version == '2.2.0' && github.event_name == 'push'\n        uses: svenstaro/upload-release-action@v2\n        with:\n          file_glob: true\n          overwrite: true\n          file: vits-icefall-*.tar.bz2\n          repo_name: k2-fsa/sherpa-onnx\n          repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}\n          tag: tts-models\n\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:24.435816", "created_at": "2024-04-06T17:38:17+02:00", "updated_at": "2024-04-06T17:38:17+02:00", "name": "aishell3", "path": ".github/workflows/aishell3.yml", "contents": null, "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:25.510919", "created_at": "2024-04-09T10:11:09+02:00", "updated_at": "2024-04-09T11:45:02+02:00", "name": "audioset", "path": ".github/workflows/audioset.yml", "contents": "name: audioset\n\non:\n  push:\n    branches:\n      - master\n\n  pull_request:\n    branches:\n      - master\n\n  workflow_dispatch:\n\nconcurrency:\n  group: audioset-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  generate_build_matrix:\n    if: github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa'\n    # see https://github.com/pytorch/pytorch/pull/50633\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Generating build matrix\n        id: set-matrix\n        run: |\n          # outputting for debugging purposes\n          python ./.github/scripts/docker/generate_build_matrix.py\n          MATRIX=$(python ./.github/scripts/docker/generate_build_matrix.py)\n          echo \"::set-output name=matrix::${MATRIX}\"\n\n  audioset:\n    needs: generate_build_matrix\n    name: py${{ matrix.python-version }} torch${{ matrix.torch-version }} v${{ matrix.version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        ${{ fromJson(needs.generate_build_matrix.outputs.matrix) }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Free space\n        shell: bash\n        run: |\n          ls -lh\n          df -h\n          rm -rf /opt/hostedtoolcache\n          df -h\n          echo \"pwd: $PWD\"\n          echo \"github.workspace ${{ github.workspace }}\"\n\n      - name: Run tests\n        uses: addnab/docker-run-action@v3\n        with:\n            image: ghcr.io/${{ github.repository_owner }}/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}-v${{ matrix.version }}\n            options: |\n              --volume ${{ github.workspace }}/:/icefall\n            shell: bash\n            run: |\n              export PYTHONPATH=/icefall:$PYTHONPATH\n              cd /icefall\n              git config --global --add safe.directory /icefall\n\n              .github/scripts/audioset/AT/run.sh\n\n      - name: Show model files\n        shell: bash\n        run: |\n          sudo chown -R runner ./model-onnx\n          ls -lh ./model-onnx\n          chmod -x ./model-onnx/class_labels_indices.csv\n\n          echo \"----------\"\n          ls -lh ./model-onnx/*\n\n      - name: Upload model to huggingface\n        if: matrix.python-version == '3.9' && matrix.torch-version == '2.2.0' && github.event_name == 'push'\n        env:\n          HF_TOKEN: ${{ secrets.HF_TOKEN }}\n        uses: nick-fields/retry@v3\n        with:\n          max_attempts: 20\n          timeout_seconds: 200\n          shell: bash\n          command: |\n            git config --global user.email \"csukuangfj@gmail.com\"\n            git config --global user.name \"Fangjun Kuang\"\n\n            rm -rf huggingface\n            export GIT_LFS_SKIP_SMUDGE=1\n\n            git clone https://huggingface.co/k2-fsa/sherpa-onnx-zipformer-audio-tagging-2024-04-09 huggingface\n            cd huggingface\n            git fetch\n            git pull\n            git merge -m \"merge remote\" --ff origin main\n            cp ../model-onnx/*.onnx ./\n            cp ../model-onnx/*.csv ./\n            cp -a ../model-onnx/test_wavs ./\n            ls -lh\n            git add .\n            git status\n            git commit -m \"update models\"\n            git status\n\n            git push https://csukuangfj:$HF_TOKEN@huggingface.co/k2-fsa/sherpa-onnx-zipformer-audio-tagging-2024-04-09 main || true\n            rm -rf huggingface\n\n      - name: Prepare for release\n        if: matrix.python-version == '3.9' && matrix.torch-version == '2.2.0' && github.event_name == 'push'\n        shell: bash\n        run: |\n          d=sherpa-onnx-zipformer-audio-tagging-2024-04-09\n          mv ./model-onnx $d\n          tar cjvf ${d}.tar.bz2 $d\n          ls -lh\n\n      - name: Release exported onnx models\n        if: matrix.python-version == '3.9' && matrix.torch-version == '2.2.0' && github.event_name == 'push'\n        uses: svenstaro/upload-release-action@v2\n        with:\n          file_glob: true\n          overwrite: true\n          file: sherpa-onnx-*.tar.bz2\n          repo_name: k2-fsa/sherpa-onnx\n          repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}\n          tag: audio-tagging-models\n\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:26.550841", "created_at": "2024-06-16T13:15:10+02:00", "updated_at": "2024-06-16T13:15:10+02:00", "name": "ksponspeech", "path": ".github/workflows/ksponspeech.yml", "contents": "name: ksponspeech\n\non:\n  push:\n    branches:\n      - ksponspeech\n\n  workflow_dispatch:\n\njobs:\n  ksponspeech:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements-ci.txt'\n\n      - name: Install Python dependencies\n        run: |\n          grep -v '^#' ./requirements-ci.txt  | xargs -n 1 -L 1 pip install\n          pip uninstall -y protobuf\n          pip install --no-binary protobuf protobuf==3.20.*\n\n      - name: Cache kaldifeat\n        id: my-cache\n        uses: actions/cache@v2\n        with:\n          path: |\n            ~/tmp/kaldifeat\n          key: cache-tmp-${{ matrix.python-version }}-2023-05-22\n\n      - name: Install kaldifeat\n        if: steps.my-cache.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          .github/scripts/install-kaldifeat.sh\n\n      - name: Test\n        shell: bash\n        run: |\n          export PYTHONPATH=$PWD:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/kaldifeat/python:$PYTHONPATH\n          export PYTHONPATH=~/tmp/kaldifeat/build/lib:$PYTHONPATH\n\n          .github/scripts/ksponspeech/ASR/run.sh\n\n      - name: Show model files\n        shell: bash\n        run: |\n          src=/tmp/model1\n          ls -lh $src\n\n      - name: Upload model to huggingface\n        env:\n          HF_TOKEN: ${{ secrets.HF_TOKEN }}\n        uses: nick-fields/retry@v3\n        with:\n          max_attempts: 20\n          timeout_seconds: 200\n          shell: bash\n          command: |\n            src=/tmp/model1\n            git config --global user.email \"csukuangfj@gmail.com\"\n            git config --global user.name \"Fangjun Kuang\"\n\n            rm -rf hf\n            export GIT_LFS_SKIP_SMUDGE=1\n            export GIT_CLONE_PROTECTION_ACTIVE=false\n\n            git clone https://huggingface.co/k2-fsa/sherpa-onnx-streaming-zipformer-korean-2024-06-16 hf\n            cd hf\n            git fetch\n            git pull\n            git merge -m \"merge remote\" --ff origin main\n            cp -v $src/* ./\n            ls -lh\n            git lfs track \"bpe.model\"\n            git lfs track \"*.onnx\"\n            cp -av test_wavs $src/\n            git add .\n            git status\n            git commit -m \"update models\"\n            git status\n\n            git push https://csukuangfj:$HF_TOKEN@huggingface.co/k2-fsa/sherpa-onnx-streaming-zipformer-korean-2024-06-16 main || true\n            rm -rf hf\n\n      - name: Prepare for release\n        shell: bash\n        run: |\n          src=/tmp/model1\n          d=sherpa-onnx-streaming-zipformer-korean-2024-06-16\n          mv $src ./$d\n          tar cjvf ${d}.tar.bz2 $d\n          ls -lh\n\n      - name: Release exported onnx models\n        uses: svenstaro/upload-release-action@v2\n        with:\n          file_glob: true\n          overwrite: true\n          file: sherpa-onnx-*.tar.bz2\n          repo_name: k2-fsa/sherpa-onnx\n          repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}\n          tag: asr-models\n", "state": "active", "repository": "k2-fsa/icefall"}
{"mined_at": "2024-07-15T16:16:28.585171", "created_at": "2020-12-12T15:30:28+01:00", "updated_at": "2024-01-19T14:54:50+01:00", "name": "Continuous integration", "path": ".github/workflows/main.yaml", "contents": "name: Continuous integration\n\non:\n  push:\n    branches:\n      - master\n      - test\n    tags:\n      - '*'\n  pull_request:\n\nenv:\n  HAS_SECRETS: ${{ secrets.HAS_SECRETS }}\n\njobs:\n  build:\n    name: Continuous integration\n    runs-on: ubuntu-22.04\n    timeout-minutes: 50\n    if: \"!startsWith(github.event.head_commit.message, '[skip ci] ')\"\n\n    steps:\n      - run: docker system prune --all --force\n      - uses: actions/checkout@v4\n        if: env.HAS_SECRETS != 'HAS_SECRETS'\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.TOKEN }}\n          fetch-depth: 0\n        if: env.HAS_SECRETS == 'HAS_SECRETS'\n\n      - run: echo \"${HOME}/.local/bin\" >> ${GITHUB_PATH}\n      - run: python3 -m pip install --user --requirement=ci/requirements.txt\n\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\n          restore-keys: \"pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\\npre-commit-\"\n      - run: pre-commit run --all-files\n      - run: git diff --exit-code --patch > /tmp/pre-commit.patch || true\n        if: failure()\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: Apply pre-commit fix.patch\n          path: /tmp/pre-commit.patch\n          retention-days: 1\n        if: failure()\n      - name: Print environment information\n        run: c2cciutils-env\n\n      - name: GitHub event\n        run: echo ${GITHUB_EVENT} | python3 -m json.tool\n        env:\n          GITHUB_EVENT: ${{ toJson(github) }}\n\n      - run: poetry-dynamic-versioning\n\n      - run: make build\n      - run: make build-tests\n      - run: make prospector\n      - run: mkdir -p results/status\n      - name: Pytest\n        run: >\n          docker run --rm --env=PYTHONPATH=/opt/\n          --volume=$(pwd)/results:/results --volume=$(pwd)/tests:/tests\n          sbrunner/scan-to-paperless-tests bash -c '\n          cd /tests &&\n          pytest --durations=0 -vv --color=yes\n          --profile --profile-svg --junitxml=/results/test-reports/junit.xml .'\n      - run: sudo chmod -R go+r results || true\n        if: failure()\n      - name: Get the status images\n        run: cp tests/status/*.png results/status/ || true\n        if: failure()\n      - uses: actions/upload-artifact@v4\n        with:\n          name: results\n          path: results\n          if-no-files-found: ignore\n          retention-days: 5\n        if: failure()\n\n      - run: docker login --username=${{ secrets.DOCKER_USERNAME }} --password=${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Init pypi\n        run: |-\n          echo \"[pypi]\" > ~/.pypirc\n          echo \"username = ${{ secrets.PYPI_USERNAME }}\" >> ~/.pypirc\n          echo \"password = ${{ secrets.PYPI_PASSWORD }}\" >> ~/.pypirc\n        if: env.HAS_SECRETS == 'HAS_SECRETS'\n\n      - name: Init Git\n        run: |\n          git config user.email \"<ci@ci.com>\"\n          git config user.name \"CI\"\n        if: env.HAS_SECRETS == 'HAS_SECRETS'\n\n      - name: Publish\n        run: c2cciutils-publish\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.TOKEN }}\n        if: env.HAS_SECRETS == 'HAS_SECRETS'\n\n      - run: make build-all\n\n      - name: Publish Docker all\n        run: |\n          c2cciutils-publish --group=docker-all\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.TOKEN }}\n        if: env.HAS_SECRETS == 'HAS_SECRETS'\n      - run: git diff --exit-code --patch > /tmp/dpkg-versions.patch || true\n        if: failure()\n      - run: git checkout pyproject.toml\n        if: failure()\n      - run: git diff --exit-code --patch > /tmp/dpkg-versions.patch || true\n        if: failure()\n      - uses: actions/upload-artifact@v4\n        with:\n          name: Update dpkg versions list.patch\n          path: /tmp/dpkg-versions.patch\n          retention-days: 1\n        if: failure()\n", "state": "active", "repository": "sbrunner/scan-to-paperless"}
{"mined_at": "2024-07-15T16:16:29.687213", "created_at": "2020-12-13T16:36:30+01:00", "updated_at": "2024-01-19T15:07:39+01:00", "name": "Clean docker hub tags", "path": ".github/workflows/clean.yaml", "contents": "name: Clean docker hub tags\n\non:\n  delete:\n  pull_request:\n    types:\n      - closed\n\njobs:\n  clean:\n    name: Clean docker hub tags\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: docker login --username=${{ secrets.DOCKER_USERNAME }} --password=${{ secrets.DOCKER_PASSWORD }}\n\n      - run: echo \"${HOME}/.local/bin\" >> ${GITHUB_PATH}\n      - run: python3 -m pip install --user --requirement=ci/requirements.txt\n\n      - name: Clean Docker hub tags\n        run: c2cciutils-clean\n        env:\n          DOCKERHUB_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n          DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n", "state": "active", "repository": "sbrunner/scan-to-paperless"}
{"mined_at": "2024-07-15T16:16:30.965736", "created_at": "2022-11-16T13:17:53+01:00", "updated_at": "2024-01-19T15:07:38+01:00", "name": "Audit", "path": ".github/workflows/audit.yaml", "contents": "name: Audit\n\non:\n  schedule:\n    - cron: '30 2 * * *'\n\njobs:\n  audit:\n    name: Audit\n    runs-on: ubuntu-22.04\n    timeout-minutes: 10\n\n    strategy:\n      fail-fast: false\n      matrix:\n        branch:\n          - master\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ matrix.branch }}\n          token: ${{ secrets.TOKEN }}\n      - run: git config --global user.email \"sbrunner@ci.org\"\n      - run: git config --global user.name \"Snyk autofix\"\n\n      - run: python3 -m venv ~/.venv\n      - run: ~/.venv/bin/pip install --pre c2cciutils[audit]\n      - run: python3 -m pip install --pre c2cciutils[audit]\n\n      - name: Snyk audit\n        run: ~/.venv/bin/c2cciutils-audit --branch=${{ matrix.branch }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.TOKEN }}\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n      - name: Check ci/dpkg-versions.yaml file existence\n        id: dpkg-versions\n        uses: andstor/file-existence-action@v3\n        with:\n          files: ci/dpkg-versions.yaml\n      - name: Update dpkg packages versions\n        run: ~/.venv/bin/c2cciutils-docker-versions-update --branch=${{ matrix.branch }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.TOKEN }}\n        if: steps.dpkg-versions.outputs.files_exists == 'true'\n", "state": "active", "repository": "sbrunner/scan-to-paperless"}
{"mined_at": "2024-07-15T16:16:31.991206", "created_at": "2023-03-21T15:43:09+01:00", "updated_at": "2023-03-21T15:43:09+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "sbrunner/scan-to-paperless"}
{"mined_at": "2024-07-15T16:16:33.067498", "created_at": "2024-01-18T10:29:34+01:00", "updated_at": "2024-01-19T15:07:38+01:00", "name": "Auto reviews, merge and close pull requests", "path": ".github/workflows/pull-request-automation.yaml", "contents": "name: Auto reviews, merge and close pull requests\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n\njobs:\n  auto-merge:\n    name: Auto reviews pull requests from bots\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5\n\n    steps:\n      - name: Print event\n        run: echo \"${GITHUB}\" | jq\n        env:\n          GITHUB: ${{ toJson(github) }}\n      - name: Print context\n        uses: actions/github-script@v7\n        with:\n          script: |-\n            console.log(context);\n      - name: Auto reviews GHCI updates\n        uses: actions/github-script@v7\n        with:\n          script: |-\n            github.rest.pulls.createReview({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              pull_number: context.payload.pull_request.number,\n              event: 'APPROVE',\n            })\n        if: |-\n          startsWith(github.head_ref, 'ghci/audit/')\n          && (github.event.pull_request.user.login == 'geo-ghci-test[bot]'\n            || github.event.pull_request.user.login == 'geo-ghci-int[bot]'\n            || github.event.pull_request.user.login == 'geo-ghci[bot]')\n      - name: Auto reviews Renovate updates\n        uses: actions/github-script@v7\n        with:\n          script: |-\n            github.rest.pulls.createReview({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              pull_number: context.payload.pull_request.number,\n              event: 'APPROVE',\n            })\n        if: |-\n          github.event.pull_request.user.login == 'renovate[bot]'\n", "state": "active", "repository": "sbrunner/scan-to-paperless"}
{"mined_at": "2024-07-15T16:16:34.082706", "created_at": "2024-01-18T14:50:03+01:00", "updated_at": "2024-01-19T15:07:38+01:00", "name": "Backport", "path": ".github/workflows/backport.yaml", "contents": "name: Backport\n\non:\n  pull_request:\n    types:\n      - closed\n      - labeled\n\nenv:\n  HAS_SECRETS: ${{ secrets.HAS_SECRETS }}\n\njobs:\n  backport:\n    name: Backport\n    runs-on: ubuntu-22.04\n    timeout-minutes: 5\n\n    steps:\n      - uses: camptocamp/backport-action@master\n        with:\n          token: ${{ secrets.TOKEN }}\n        if: env.HAS_SECRETS == 'HAS_SECRETS'\n", "state": "active", "repository": "sbrunner/scan-to-paperless"}
{"mined_at": "2024-07-15T16:16:36.241114", "created_at": "2023-03-14T09:34:26+01:00", "updated_at": "2023-03-21T13:31:07+01:00", "name": "Build", "path": ".github/workflows/push-build.yml", "contents": "name: Build\n\non:\n  push:\n    branches:\n      - dev\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  build:\n    if: github.repository == 'vkbottle/vkbottle'\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.11\"\n        os:\n          - ubuntu-latest\n          - windows-latest\n\n    uses: ./.github/workflows/build.yml\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n", "state": "active", "repository": "vkbottle/vkbottle"}
{"mined_at": "2024-07-15T16:16:37.370219", "created_at": "2023-03-14T09:52:15+01:00", "updated_at": "2023-05-12T13:58:11+02:00", "name": "Pull-request", "path": ".github/workflows/pull-request.yml", "contents": "name: Pull-request\n\non:\n  - pull_request\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: asottile/workflows/.github/actions/fast-checkout@v1.4.1\n\n      - name: Install poetry and dependencies\n        uses: ./.github/actions/install-dependencies\n        with:\n          os: ubuntu-latest\n          python-version: \"3.11\"\n\n      - name: Load pre-commit cache\n        id: cached-pre-commit\n        uses: actions/cache@v3\n        with:\n          key: pre-commit-${{ env.pythonLocation }}-${{ hashFiles('.pre-commit-config.yaml') }}\n          path: ~/.cache/pre-commit\n\n      - name: Run pre-commit\n        run: poetry run pre-commit run --all-files\n\n      - name: Run pre-commit-ci-lite\n        uses: pre-commit-ci/lite-action@v1.0.1\n        if: failure() || cancelled()\n\n      - uses: andymckay/cancel-action@0.3\n        if: failure()\n\n  lint-and-test:\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.11\"\n        os:\n          - ubuntu-latest\n          - windows-latest\n\n    uses: ./.github/workflows/lint-and-test.yml\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n", "state": "active", "repository": "vkbottle/vkbottle"}
{"mined_at": "2024-07-15T16:16:38.498591", "created_at": "2023-03-24T03:01:01+01:00", "updated_at": "2023-03-24T03:01:01+01:00", "name": "Dependabot auto-merge", "path": ".github/workflows/dependabot-automerge.yml", "contents": "name: Dependabot auto-merge\n\non:\n  workflow_run:\n    workflows: [\"Pull-request\"]\n    types:\n      - completed\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: github.actor == 'dependabot[bot]' && github.event.workflow_run.conclusion == 'success'\n    steps:\n      - uses: asottile/workflows/.github/actions/fast-checkout@v1.4.1\n\n      - name: Merge pull request\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PR_NUMBER: ${{ github.event.workflow_run.pull_requests[0].number }}\n        run: |\n          gh pr merge $PR_NUMBER --squash --delete-branch\n", "state": "active", "repository": "vkbottle/vkbottle"}
{"mined_at": "2024-07-15T16:16:39.530887", "created_at": "2023-03-21T13:31:07+01:00", "updated_at": "2023-03-24T03:02:36+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  workflow_call:\n    inputs:\n      os:\n        description: \"Operating system\"\n        required: true\n        type: string\n      python-version:\n        description: \"Python version\"\n        required: true\n        type: string\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint-and-test:\n    uses: ./.github/workflows/lint-and-test.yml\n    with:\n      os: ${{ inputs.os }}\n      python-version: ${{ inputs.python-version }}\n\n  build:\n    needs: lint-and-test\n    runs-on: ${{ inputs.os }}\n    steps:\n      - uses: asottile/workflows/.github/actions/fast-checkout@v1.4.1\n\n      - name: Install poetry and dependencies\n        uses: ./.github/actions/install-dependencies\n        with:\n          os: ${{ inputs.os }}\n          python-version: ${{ inputs.python-version }}\n\n      - name: Build wheel\n        run: poetry build\n\n      - name: Get short SHA\n        run: echo \"SHORT_SHA=$(echo \"${{ github.sha }}\" | cut -c1-7)\" >> $GITHUB_ENV\n\n      - name: Upload wheel\n        uses: actions/upload-artifact@v3\n        with:\n          name: vkbottle-${{ inputs.python-version }}-${{ runner.os }}-${{ env.SHORT_SHA }}\n          path: dist/*.whl\n", "state": "disabled_manually", "repository": "vkbottle/vkbottle"}
{"mined_at": "2024-07-15T16:16:40.639525", "created_at": "2023-03-21T13:31:07+01:00", "updated_at": "2023-03-24T03:02:49+01:00", "name": "Lint and test", "path": ".github/workflows/lint-and-test.yml", "contents": "name: Lint and test\n\non:\n  workflow_call:\n    inputs:\n      os:\n        description: \"Operating system\"\n        required: true\n        type: string\n      python-version:\n        description: \"Python version\"\n        required: true\n        type: string\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint-ruff:\n    name: Lint with ruff (py${{ inputs.python-version }} on ${{ inputs.os }})\n    runs-on: ${{ inputs.os }}\n    steps:\n      - uses: asottile/workflows/.github/actions/fast-checkout@v1.4.1\n\n      - name: Install poetry and dependencies\n        uses: ./.github/actions/install-dependencies\n        with:\n          os: ${{ inputs.os }}\n          python-version: ${{ inputs.python-version }}\n\n      - name: Load ruff cache\n        id: cached-flakeheaven\n        uses: actions/cache@v3\n        with:\n          key: ruff-${{ inputs.python-version }}-${{ runner.os }}-${{ hashFiles('pyproject.toml') }}\n          path: .ruff_cache\n\n      - name: Run ruff\n        run: poetry run ruff check .\n\n  lint-mypy:\n    name: Lint with mypy (py${{ inputs.python-version }} on ${{ inputs.os }})\n    runs-on: ${{ inputs.os }}\n    steps:\n      - uses: asottile/workflows/.github/actions/fast-checkout@v1.4.1\n\n      - name: Install poetry and dependencies\n        uses: ./.github/actions/install-dependencies\n        with:\n          os: ${{ inputs.os }}\n          python-version: ${{ inputs.python-version }}\n\n      - name: Load .mypy_cache\n        id: cached-mypy\n        uses: actions/cache@v3\n        with:\n          key: mypy-${{ inputs.python-version }}-${{ runner.os }}\n          path: .mypy_cache\n\n      - name: Run mypy\n        run: poetry run mypy --enable-incomplete-feature=Unpack vkbottle\n\n  test:\n    name: Run tests (py${{ inputs.python-version }} on ${{ inputs.os }})\n    runs-on: ${{ inputs.os }}\n    steps:\n      - uses: asottile/workflows/.github/actions/fast-checkout@v1.4.1\n\n      - name: Install poetry and dependencies\n        uses: ./.github/actions/install-dependencies\n        with:\n          os: ${{ inputs.os }}\n          python-version: ${{ inputs.python-version }}\n\n      - name: Load .pytest_cache\n        id: cached-pytest\n        uses: actions/cache@v3\n        with:\n          key: pytest-${{ inputs.python-version }}-${{ runner.os }}\n          path: .pytest_cache\n\n      - name: Run tests\n        run: poetry run pytest\n", "state": "disabled_manually", "repository": "vkbottle/vkbottle"}
{"mined_at": "2024-07-15T16:16:42.900930", "created_at": "2020-01-09T19:18:20+01:00", "updated_at": "2020-01-09T19:18:20+01:00", "name": "Pull Request Labeler", "path": "", "contents": null, "state": "active", "repository": "googlecloudplatform/click-to-deploy"}
{"mined_at": "2024-07-15T16:16:44.064476", "created_at": "2020-12-01T22:06:33+01:00", "updated_at": "2020-12-01T22:06:33+01:00", "name": "ci-tests", "path": ".github/workflows/ci-tests.yaml", "contents": "name: ci-tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip jinja2 pyyaml\n        wget https://packages.chef.io/files/stable/chefdk/4.2.0/ubuntu/16.04/chefdk_4.2.0-1_amd64.deb\n        sudo dpkg -i chefdk_4.2.0-1_amd64.deb\n    - name: Run tests\n      run: make python-test vm-lint vm-generate-triggers\n", "state": "active", "repository": "googlecloudplatform/click-to-deploy"}
{"mined_at": "2024-07-15T16:16:45.252275", "created_at": "2019-12-19T11:13:07+01:00", "updated_at": "2019-12-19T11:13:07+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/label.yml", "contents": "name: Pull Request Labeler\non:\n- pull_request_target\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v2\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        configuration-path: .github/labeler.yml\n", "state": "active", "repository": "googlecloudplatform/click-to-deploy"}
{"mined_at": "2024-07-15T16:16:46.348832", "created_at": "2023-08-10T00:08:50+02:00", "updated_at": "2023-08-10T00:08:50+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googlecloudplatform/click-to-deploy"}
{"mined_at": "2024-07-15T16:16:48.529615", "created_at": "2021-12-17T15:36:12+01:00", "updated_at": "2024-01-23T14:22:32+01:00", "name": "Publish SDK Docs", "path": ".github/workflows/publish_api_docs.yml", "contents": "---\nname: Publish SDK Docs\non:\n  push:\n    branches: [release/**]\njobs:\n  publish:\n    name: Build 🔨 and publish 📰 the api docs 📁 to gh-pages\n    if: github.repository == 'zenml-io/zenml'\n    runs-on: ubuntu-latest\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n    steps:\n      - uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 0  # fetch all commits/branches including gh-pages\n      - name: Get the version from the github branch name\n        id: get_version\n        run: |\n          BRANCH='${{github.ref_name}}'\n          echo ::set-output name=VERSION::${BRANCH#release/}\n      - uses: actions/setup-node@v4.0.1\n        with:\n          node-version: '14'\n      - run: npm install\n      - run: npm install html-minifier -g\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.11'\n      - name: Setup git user\n        run: |\n          git config --global user.name 'Code Monkey'\n          git config --global user.email 'codemonkey@zenml.io'\n      - name: Runs docs generation\n        run: |-\n          bash scripts/generate-docs.sh -s src/zenml/ --push --latest -v ${{ steps.get_version.outputs.VERSION }}\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:16:49.757627", "created_at": "2022-01-19T22:04:44+01:00", "updated_at": "2022-01-19T22:04:44+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:16:50.986412", "created_at": "2022-02-09T12:50:20+01:00", "updated_at": "2022-02-23T14:16:12+01:00", "name": "pr-label", "path": ".github/workflows/pr_labeler.yml", "contents": "---\n# https://github.com/marketplace/actions/team-labeler-action\n# https://github.com/TimonVS/pr-labeler-action\non:\n  pull_request:\n    types: [opened]\nname: pr-label\njobs:\n  pr-labeler:\n    if: github.repository == 'zenml-io/zenml'\n    runs-on: ubuntu-latest\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: JulienKode/team-labeler-action@v1.1.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: TimonVS/pr-labeler-action@v4.1.1\n        with:\n          configuration-path: .github/branch-labels.yml\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:16:52.221227", "created_at": "2022-03-14T15:16:29+01:00", "updated_at": "2024-01-24T10:46:37+01:00", "name": "Setup Python Environment, Lint and Unit Test", "path": ".github/workflows/unit-test.yml", "contents": "---\nname: Setup Python Environment, Lint and Unit Test\non:\n  workflow_call:\n    inputs:\n      os:\n        description: OS\n        type: string\n        required: true\n      python-version:\n        description: Python version\n        type: string\n        required: true\n      enable_tmate:\n        description: Enable tmate session for debugging\n        type: string\n        required: false\n        default: never\n      install_integrations:\n        description: Install ZenML integrations\n        type: string\n        required: false\n        default: 'yes'\n      git-ref:\n        description: Git branch or ref\n        type: string\n        required: false\n        default: ''\n  workflow_dispatch:\n    inputs:\n      os:\n        description: OS\n        type: choice\n        options: [ubuntu-latest, macos-13, windows-latest, arc-runner-set]\n        required: false\n        default: ubuntu-latest\n      python-version:\n        description: Python version\n        type: choice\n        options: ['3.8', '3.9', '3.10', '3.11']\n        required: false\n        default: '3.8'\n      enable_tmate:\n        description: Enable tmate session for debugging\n        type: choice\n        options: [no, on-failure, always, before-tests]\n        required: false\n        default: 'no'\n      git-ref:\n        description: Git branch or ref\n        type: string\n        required: false\n        default: ''\njobs:\n  unit-test:\n    name: unit-test\n    runs-on: ${{ inputs.os }}\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n      UV_HTTP_TIMEOUT: 600\n\n      # on MAC OS, we need to set this environment variable\n      # to fix problems with the fork() calls (see this thread\n      # for more information: http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html)\n      OBJC_DISABLE_INITIALIZE_FORK_SAFETY: 'YES'\n    # Exit if it's a commit from Gitbook\n    if: ${{ ! startsWith(github.event.head_commit.message, 'GitBook:') }}\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n        with:\n          repository: ${{ github.repository }}\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Install libomp\n        if: ${{ inputs.os == 'macos-latest' || inputs.os == 'macos-13' }}\n        run: brew install libomp\n      - name: Setup environment\n        uses: ./.github/actions/setup_environment\n        with:\n          cache_version: ${{ secrets.GH_ACTIONS_CACHE_KEY }}\n          python-version: ${{ inputs.python-version }}\n          os: ${{ inputs.os }}\n          install_integrations: ${{ inputs.install_integrations }}\n          runners_cache_access_key_id: ${{ secrets.RUNNERS_CACHE_ACCESS_KEY_ID }}\n          runners_cache_secret_access_key: ${{ secrets.RUNNERS_CACHE_SECRET_ACCESS_KEY }}\n          discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}\n      - name: Setup tmate session before tests\n        if: ${{ inputs.enable_tmate == 'before-tests' }}\n        uses: mxschmitt/action-tmate@v3.17\n      - name: Lint check\n        env:\n          OS: ${{ inputs.os }}\n        run: |\n          bash scripts/lint.sh\n      - name: Run unit tests\n        run: |\n          bash scripts/test-coverage-xml.sh unit\n        env:\n          ZENML_ANALYTICS_OPT_IN: false\n          ZENML_DEBUG: true\n\n      # - name: Upload coverage\n      #  # only do it for python 3.8, we don't need to do it for every version\n      #   if: ${{ inputs.os == 'arc-runner-set' && inputs.python-version == '3.8' }}\n      #   uses: codecov/codecov-action@v2\n      - name: Setup tmate session after tests\n        if: ${{ inputs.enable_tmate == 'always' || (inputs.enable_tmate == 'on-failure' && failure()) }}\n        uses: mxschmitt/action-tmate@v3.17\n      - name: Verify Python Env unaffected\n        run: |-\n          zenml integration list\n          uv pip list\n          uv pip check || true\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:16:53.548575", "created_at": "2022-05-13T10:07:26+02:00", "updated_at": "2023-09-11T16:45:49+02:00", "name": "Release Package & Docker Image", "path": ".github/workflows/release.yml", "contents": "---\nname: Release Package & Docker Image\non:\n  push:\n    tags: ['*']\njobs:\n  setup-and-test:\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      os: arc-runner-set\n      python-version: '3.8'\n    secrets: inherit\n  mlstacks-compatibility-check:\n    needs: setup-and-test\n    runs-on: arc-runner-set\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n      - name: Set up Python\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.8'\n      - name: Install uv\n        run: |\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n          source $HOME/.cargo/env\n      - name: Create virtual environment\n        run: |\n          source $HOME/.cargo/env\n          uv venv\n      - name: Check mlstacks compatibility\n        run: |\n          source .venv/bin/activate\n          source $HOME/.cargo/env\n          uv pip install -e .\n          uv pip install mlstacks\n      - name: Check for broken dependencies\n        run: |\n          source .venv/bin/activate\n          source $HOME/.cargo/env\n          uv pip check\n  mysql-db-migration-testing:\n    runs-on: arc-runner-set\n    env:\n      ZENML_ANALYTICS_OPT_IN: false\n      ZENML_DEBUG: true\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.9'\n      - name: Test migrations across versions\n        run: bash scripts/test-migrations.sh mysql\n  sqlite-db-migration-testing:\n    runs-on: arc-runner-set\n    env:\n      ZENML_ANALYTICS_OPT_IN: false\n      ZENML_DEBUG: true\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.9'\n      - name: Test migrations across versions\n        run: bash scripts/test-migrations.sh sqlite\n  mariadb-db-migration-testing:\n    runs-on: arc-runner-set\n    env:\n      ZENML_ANALYTICS_OPT_IN: false\n      ZENML_DEBUG: true\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4.8.0\n        with:\n          python-version: '3.9'\n      - name: Test migrations across versions\n        run: bash scripts/test-migrations.sh mariadb\n  publish-python-package:\n    if: github.repository == 'zenml-io/zenml'\n    needs:\n      - setup-and-test\n      - mlstacks-compatibility-check\n      - sqlite-db-migration-testing\n      - mysql-db-migration-testing\n      - mariadb-db-migration-testing\n    uses: ./.github/workflows/publish_to_pypi.yml\n    secrets: inherit\n  wait-for-package-release:\n    runs-on: arc-runner-set\n    needs: publish-python-package\n    steps:\n      - name: Sleep for 4 minutes\n        run: sleep 240\n        shell: bash\n  publish-docker-image:\n    if: github.repository == 'zenml-io/zenml'\n    needs: wait-for-package-release\n    uses: ./.github/workflows/publish_docker_image.yml\n    secrets: inherit\n  publish-helm-chart:\n    if: github.repository == 'zenml-io/zenml'\n    needs: publish-docker-image\n    uses: ./.github/workflows/publish_helm_chart.yml\n    secrets: inherit\n  wait-for-package-release-again:\n    runs-on: arc-runner-set\n    needs: publish-helm-chart\n    steps:\n      - name: Sleep for 4 minutes\n        run: sleep 240\n        shell: bash\n  # create a tag on the ZenML cloud plugins repo\n  create_tag_on_cloud_plugins_repo:\n    runs-on: ubuntu-latest\n    needs: wait-for-package-release-again\n    steps:\n      - name: Get the sha of the latest commit on plugins/main\n        id: get_sha\n        run: |\n          echo \"::set-output name=sha::$(curl -s -H \"Authorization: token ${{ secrets.CLOUD_PLUGINS_REPO_PAT }}\" https://api.github.com/repos/zenml-io/zenml-cloud-plugins/commits/main | jq -r '.sha')\"\n      - name: Get the version from the github tag ref\n        id: get_version\n        run: echo ::set-output name=VERSION::${GITHUB_REF/refs\\/tags\\//}\n      - name: Create a tag on ZenML Cloud plugins repo\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.CLOUD_PLUGINS_REPO_PAT }}\n          script: |-\n            await github.rest.git.createRef({\n              owner: 'zenml-io',\n              repo: 'zenml-cloud-plugins',\n              ref: 'refs/tags/${{ steps.get_version.outputs.VERSION }}',\n              sha: '${{ steps.get_sha.outputs.sha }}'\n            })\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:16:54.581828", "created_at": "2022-05-18T18:31:34+02:00", "updated_at": "2023-11-28T17:40:14+01:00", "name": "Publish Docker images", "path": ".github/workflows/publish_docker_image.yml", "contents": "---\nname: Publish Docker images\non:\n  workflow_call:\n    inputs:\n      config_file:\n        description: YAML config for Google Cloud Build\n        required: false\n        type: string\n        default: release-cloudbuild.yaml\n      zenml_nightly:\n        description: Set to true for nightly builds\n        required: false\n        type: boolean\n        default: false\njobs:\n  publish_to_docker:\n    name: Publish Docker 🐋 image 🖼️ to Dockerhub\n    runs-on: ubuntu-latest\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n    steps:\n      - uses: actions/checkout@v4.1.1\n      - name: Determine version\n        run: |-\n          if [[ \"${GITHUB_REF}\" == refs/tags/* ]]; then\n            VERSION=${GITHUB_REF#refs/tags/}\n          else\n            CURRENT_VERSION=$(cat src/zenml/VERSION)\n            DATE=$(date +\"%Y%m%d\")\n            VERSION=\"${CURRENT_VERSION}.dev${DATE}\"\n          fi\n          VERSION=$(echo $VERSION | sed 's/[^a-zA-Z0-9._-]/-/g')\n          echo \"VERSION=$VERSION\" >> $GITHUB_ENV\n          echo \"Determined VERSION=$VERSION\"\n      # Setup gcloud CLI\n      - uses: google-github-actions/setup-gcloud@v0\n        with:\n          service_account_email: ${{ secrets.GCP_CLOUDBUILD_EMAIL }}\n          service_account_key: ${{ secrets.GCP_CLOUDBUILD_KEY }}\n          project_id: ${{ secrets.GCP_CLOUDBUILD_PROJECT }}\n\n      # Cloudbuild\n      - name: Build docker images\n        run: |-\n          echo \"Building Docker image with tag: $VERSION\"\n          gcloud builds submit \\\n            --quiet \\\n            --config=${{inputs.config_file}} \\\n            --substitutions=TAG_NAME=$VERSION\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:16:55.638617", "created_at": "2022-05-18T18:31:34+02:00", "updated_at": "2022-05-18T18:31:34+02:00", "name": "Publish Pypi package", "path": ".github/workflows/publish_to_pypi.yml", "contents": "---\nname: Publish Pypi package\non:\n  workflow_call:\njobs:\n  publish_to_pypi:\n    name: Publish Python 🐍 package 📦 to PyPI\n    runs-on: ubuntu-latest\n    permissions:\n      # This permission is required for trusted publishing.\n      id-token: write\n      contents: read\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n    steps:\n      - uses: actions/checkout@v4.1.1\n      - name: Get the version from the github tag ref\n        id: get_version\n        run: echo ::set-output name=VERSION::${GITHUB_REF/refs\\/tags\\//}\n      - name: Set up Python\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.8'\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.4\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n      - name: Include latest dashboard\n        run: bash scripts/install-dashboard.sh\n      - name: Build package\n        run: poetry build\n      - name: Mint token\n        id: mint\n        uses: tschm/token-mint-action@v1.0.2\n      - name: Publish the package with poetry\n        run: |-\n          if [ \"$(cat src/zenml/VERSION)\" = \"$(echo ${GITHUB_REF} | sed 's|refs/tags/||g')\" ];\n          then poetry publish -u __token__ -p '${{ steps.mint.outputs.api-token }}';\n          else echo \"Version mismatch between src/zenml/VERSION and branch tag\" && exit 1;\n          fi\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:16:56.708066", "created_at": "2022-06-14T10:39:10+02:00", "updated_at": "2024-01-16T09:05:59+01:00", "name": "Spellcheck", "path": ".github/workflows/spellcheck.yml", "contents": "---\nname: Spellcheck\non:\n  workflow_dispatch:\n  workflow_call:\n  push:\n    branches: [main]\n    paths-ignore: [docker/**, '*', '!pyproject.toml']\n  pull_request:\n    types: [opened, synchronize, ready_for_review]\n    paths-ignore: [docker/**, '*', '!pyproject.toml']\nconcurrency:\n  # New commit on branch cancels running workflows of the same branch\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  spellcheck:\n    if: github.event.pull_request.draft == false && github.repository == 'zenml-io/zenml'\n    runs-on: arc-runner-set\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n      - name: Spelling checker\n        uses: crate-ci/typos@v1.17.0\n        with:\n          files: .\n          config: ./.typos.toml\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:16:57.949682", "created_at": "2023-06-15T18:03:56+02:00", "updated_at": "2023-06-20T09:18:58+02:00", "name": "Compress Images", "path": ".github/workflows/image-optimiser.yml", "contents": "---\nname: Compress Images\non:\n  pull_request:\n    # Run Image Actions when JPG, JPEG, PNG or WebP files are added or changed.\n    # See https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpushpull_requestpaths for reference.\n    paths: ['**.jpg', '**.jpeg', '**.png', '**.webp']\njobs:\n  build:\n    # Only run on non-draft PRs within the same repository.\n    if: github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.draft\n      == false\n    name: calibreapp/image-actions\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4.1.1\n      - name: Compress Images\n        uses: calibreapp/image-actions@1.1.0\n        with:\n          # The `GITHUB_TOKEN` is automatically generated by GitHub and scoped only to the repository that is currently running the action. By default, the action can’t update Pull Requests initiated from forked repositories.\n          # See https://docs.github.com/en/actions/reference/authentication-in-a-workflow and https://help.github.com/en/articles/virtual-environments-for-github-actions#token-permissions\n          githubToken: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:16:59.076957", "created_at": "2023-08-16T16:05:08+02:00", "updated_at": "2023-08-29T17:22:35+02:00", "name": "Run tests on templates", "path": ".github/workflows/templates-test.yml", "contents": "---\nname: Run tests on templates\non:\n  workflow_call:\n    inputs:\n      os:\n        description: OS\n        type: string\n        required: true\n      python-version:\n        description: Python version\n        type: string\n        required: true\n  workflow_dispatch:\n    inputs:\n      os:\n        description: OS\n        type: choice\n        options: [ubuntu-latest, macos-13, windows-latest]\n        required: false\n        default: ubuntu-latest\n      python-version:\n        description: Python version\n        type: choice\n        options: ['3.8', '3.9', '3.10', '3.11']\n        required: false\n        default: '3.8'\njobs:\n  all-template-tests:\n    name: all-template-tests\n    runs-on: ${{ inputs.os }}\n    strategy:\n      matrix:\n        stack-name: [local]\n        template-repo:\n          - {repo: zenml-io/zenml-project-templates, path: .github/actions/starter_template_test}\n          - {repo: zenml-io/template-e2e-batch, path: .github/actions/e2e_template_test}\n          - {repo: zenml-io/template-nlp, path: .github/actions/nlp_template_test}\n      fail-fast: false\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n      OBJC_DISABLE_INITIALIZE_FORK_SAFETY: 'YES'\n    if: ${{ ! startsWith(github.event.head_commit.message, 'GitBook:') }} && github.repository\n      == 'zenml-io/zenml'\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Run template tests for ${{ matrix.template-repo.repo }}\n        uses: jenseng/dynamic-uses@v1\n        with:\n          uses: ${{ matrix.template-repo.repo }}/${{ matrix.template-repo.path }}@main\n          with: '{ \"python-version\": \"${{ inputs.python-version }}\", \"stack-name\":\n            \"${{ matrix.stack-name }}\", \"ref-zenml\": \"${{ github.ref }}\" }'\n      - name: message-on-error\n        if: failure()\n        run: |-\n          echo \"::error title=${{ matrix.template-repo.repo }} project template testing failed with new version of ZenML core!::\\\n            Breaking changes affecting templates have been introduced. To mitigate this issue,\\\n            please make the code in ${{ matrix.template-repo.repo }} compatible with new version of\\\n            ZenML core, release it and update release tag in zenml.cli.base.ZENML_PROJECT_TEMPLATES\"\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:00.096415", "created_at": "2023-08-23T08:03:17+02:00", "updated_at": "2023-08-23T08:05:17+02:00", "name": "Publish Helm Chart", "path": ".github/workflows/publish_helm_chart.yaml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:01.329492", "created_at": "2023-09-01T11:40:26+02:00", "updated_at": "2023-09-01T11:40:26+02:00", "name": "Trivy Scan", "path": ".github/workflows/trivy.yml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:02.450312", "created_at": "2023-09-01T13:08:30+02:00", "updated_at": "2023-09-11T17:55:11+02:00", "name": "Trivy ZenML (core) Scan", "path": ".github/workflows/trivy-zenml-core.yml", "contents": "---\nname: Trivy ZenML (core) Scan\non:\n  push:\n    branches: [main]\n  schedule:\n    - cron: 0 4 * * 1  # At 04:00 on Monday\njobs:\n  trivy-scan:\n    name: Trivy zenml scan & analysis\n    if: github.repository == 'zenml-io/zenml'\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n      - name: zenml-Trivy vulnerability scanner\n        uses: aquasecurity/trivy-action@0.19.0\n        with:\n          image-ref: docker.io/zenmldocker/zenml:latest\n          format: sarif\n          output: trivy-results-zenml.sarif\n          # Ignore unfixed vulnerabilities (i.e. vulnerabilities that have no\n          # fix available and that we can't fix by updating the container\n          # packages)\n          ignore-unfixed: true\n      - name: Upload Trivy zenml scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: trivy-results-zenml.sarif\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:03.684952", "created_at": "2023-09-01T13:08:30+02:00", "updated_at": "2023-09-11T17:55:11+02:00", "name": "Trivy ZenServer Scan", "path": ".github/workflows/trivy-zenserver.yml", "contents": "---\nname: Trivy ZenServer Scan\non:\n  push:\n    branches: [main]\n  schedule:\n    - cron: 0 4 * * 1  # At 04:00 on Monday\njobs:\n  trivy-scan:\n    name: Trivy ZenServer scan & analysis\n    if: github.repository == 'zenml-io/zenml'\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n      - name: zenserver-Trivy vulnerability scanner\n        uses: aquasecurity/trivy-action@0.19.0\n        with:\n          image-ref: docker.io/zenmldocker/zenml-server:latest\n          format: sarif\n          output: trivy-results-zenserver.sarif\n          # Ignore unfixed vulnerabilities (i.e. vulnerabilities that have no\n          # fix available and that we can't fix by updating the container\n          # packages)\n          ignore-unfixed: true\n      - name: Upload Trivy zenserver scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: trivy-results-zenserver.sarif\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:04.962940", "created_at": "2023-09-04T14:31:17+02:00", "updated_at": "2023-09-11T17:55:10+02:00", "name": "CodeQL vulnerability check", "path": ".github/workflows/codeql.yml", "contents": "---\nname: CodeQL vulnerability check\non:\n  push:\n    branches: [main, develop]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [develop]\n    types: [opened]\njobs:\n  analyze:\n    if: github.event.pull_request.draft == false && github.repository == 'zenml-io/zenml'\n    name: Analyze\n    runs-on: ubuntu-latest\n    timeout-minutes: 360\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [python]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4.1.1\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n          # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n          # queries: security-extended,security-and-quality\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: /language:${{matrix.language}}\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:06.142244", "created_at": "2023-09-11T17:55:10+02:00", "updated_at": "2023-09-11T17:55:10+02:00", "name": "Publish Helm Chart", "path": ".github/workflows/publish_helm_chart.yml", "contents": "---\n# package and push the zenml helm chart to the ECR repository\nname: Publish Helm Chart\non:\n  workflow_call:\n  workflow_dispatch:\njobs:\n  publish_to_ecr:\n    name: Publish Helm Chart 🛞 to ECR ☁️\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      id-token: write\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4.1.1\n\n      # The following sed command replaces the version number in Chart.yaml with the tag version.\n      # It replaces the line that starts with \"version: \" with \"version: <tag version>\"\n      - name: Add tag version to Chart.yaml\n        run: |\n          sed -i \"s/version: .*/version: \\\"${{ github.ref_name }}\\\"/\" src/zenml/zen_server/deploy/helm/Chart.yaml\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v2\n        with:\n          role-to-assume: arn:aws:iam::715803424590:role/gh-action-role-zenml-helm\n          aws-region: us-east-1\n      - name: Login to Amazon ECR Public\n        id: login-ecr-public\n        uses: aws-actions/amazon-ecr-login@v2\n        with:\n          mask-password: 'true'\n          registry-type: public\n\n      # TODO: revisit the pinned helm version + find a higher version\n      - name: install helm with version 3.9.2\n        uses: azure/setup-helm@v3.5\n        with:\n          version: v3.9.2  # default is latest (stable)\n        id: install-helm\n      - name: Package and push helm chart to Amazon ECR Public\n        env:\n          REGISTRY: ${{ steps.login-ecr-public.outputs.registry }}\n          REGISTRY_ALIAS: zenml\n          REPOSITORY: zenml\n        run: |-\n          helm package src/zenml/zen_server/deploy/helm\n          helm push $REPOSITORY-${{ github.ref_name }}.tgz oci://$REGISTRY/$REGISTRY_ALIAS\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:07.281206", "created_at": "2023-10-11T15:03:03+02:00", "updated_at": "2023-10-13T08:47:11+02:00", "name": "Auto-update all templates", "path": ".github/workflows/update-templates-to-examples.yml", "contents": "---\nname: Auto-update all templates\non:\n  workflow_call:\n    inputs:\n      os:\n        description: OS\n        type: string\n        required: true\n      python-version:\n        description: Python version\n        type: string\n        required: true\n  workflow_dispatch:\n    inputs:\n      os:\n        description: OS\n        type: choice\n        options: [ubuntu-latest, macos-13, windows-latest, arc-runner-set]\n        required: false\n        default: ubuntu-latest\n      python-version:\n        description: Python version\n        type: choice\n        options: ['3.8', '3.9', '3.10', '3.11']\n        required: false\n        default: '3.8'\njobs:\n  update-e2e-batch-template-to-examples:\n    name: update-e2e-batch-template-to-examples\n    runs-on: ${{ inputs.os }}\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n      OBJC_DISABLE_INITIALIZE_FORK_SAFETY: 'YES'\n    if: github.event_name == 'pull_request' && ! startsWith(github.event.head_commit.message,\n      'GitBook:')\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Run template tests for zenml-io/template-e2e-batch\n        uses: zenml-io/template-e2e-batch/.github/actions/e2e_template_test@main\n        with:\n          python-version: ${{ inputs.python-version }}\n          stack-name: local\n          ref-zenml: ${{ github.ref }}\n          ref-template: 2024.06.06  # Make sure it is aligned with ZENML_PROJECT_TEMPLATES from src/zenml/cli/base.py\n      - name: Clean-up\n        run: |\n          rm -rf ./local_checkout\n      - name: message-on-error\n        if: failure()\n        run: |\n          echo \"::error title=zenml-io/template-e2e-batch project template testing failed with new version of ZenML core!::\\\n            Breaking changes affecting templates have been introduced. To mitigate this issue,\\\n            please make the code in zenml-io/template-e2e-batch compatible with new version of\\\n            ZenML core, release it and update release tag in zenml.cli.base.ZENML_PROJECT_TEMPLATES\"\n      - uses: actions/checkout@v4.1.1\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n      - name: Check-out fresh E2E template\n        run: |\n          rm -rf examples/e2e\n          mkdir -p examples/e2e\n          printf 'info@zenml.io' | zenml init --path examples/e2e --template e2e_batch --template-with-defaults\n          pip install yamlfix\n          bash scripts/format.sh examples/e2e\n      - name: Check for changes\n        id: check_changes\n        run: |\n          if git diff --quiet \"origin/${{ github.event.pull_request.head.ref }}\"; then\n            echo \"No active Git changes found.\"\n            echo \"changes=false\" >> $GITHUB_OUTPUT\n          else\n            echo \"vvv Active Git changes found vvv\"\n            echo \"changes=true\" >> $GITHUB_OUTPUT\n            git diff \"origin/${{ github.event.pull_request.head.ref }}\"\n          fi\n      - name: Commit and push template\n        if: steps.check_changes.outputs.changes == 'true'\n        run: |\n          git config --global user.name \"GitHub Actions\"\n          git config --global user.email \"actions@github.com\"\n          git add .\n          git commit -am \"Auto-update of E2E template\"\n          git push origin HEAD:${{ github.event.pull_request.head.ref }}\n      - name: Create PR comment\n        if: steps.check_changes.outputs.changes == 'true'\n        uses: actions/github-script@v7.0.1\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            github.rest.issues.createComment({\n              issue_number: ${{ github.event.pull_request.number }},\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'E2E template updates in `examples/e2e` have been pushed.'\n            })\n  update-nlp-template-to-examples:\n    name: update-nlp-template-to-examples\n    runs-on: ${{ inputs.os }}\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n      OBJC_DISABLE_INITIALIZE_FORK_SAFETY: 'YES'\n    if: github.event_name == 'pull_request' && ! startsWith(github.event.head_commit.message,\n      'GitBook:')\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Run template tests for zenml-io/template-nlp\n        uses: zenml-io/template-nlp/.github/actions/nlp_template_test@main\n        with:\n          python-version: ${{ inputs.python-version }}\n          stack-name: local\n          ref-zenml: ${{ github.ref }}\n          ref-template: 2024.06.06  # Make sure it is aligned with ZENML_PROJECT_TEMPLATES from src/zenml/cli/base.py\n      - name: Clean-up\n        run: |\n          rm -rf ./local_checkout\n      - name: message-on-error\n        if: failure()\n        run: |\n          echo \"::error title=zenml-io/template-nlp project template testing failed with new version of ZenML core!::\\\n            Breaking changes affecting templates have been introduced. To mitigate this issue,\\\n            please make the code in zenml-io/template-nlp compatible with new version of\\\n            ZenML core, release it and update release tag in zenml.cli.base.ZENML_PROJECT_TEMPLATES\"\n      - uses: actions/checkout@v4.1.1\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n      - name: Check-out fresh NLP template\n        run: |\n          mkdir -p examples/e2e_nlp\n          printf 'info@zenml.io' | zenml init --path examples/e2e_nlp --template nlp --template-with-defaults\n          pip install yamlfix\n          bash scripts/format.sh examples/e2e_nlp\n      - name: Check for changes\n        id: check_changes\n        run: |\n          if git diff --quiet \"origin/${{ github.event.pull_request.head.ref }}\"; then\n            echo \"No active Git changes found.\"\n            echo \"changes=false\" >> $GITHUB_OUTPUT\n          else\n            echo \"vvv Active Git changes found vvv\"\n            echo \"changes=true\" >> $GITHUB_OUTPUT\n            git diff \"origin/${{ github.event.pull_request.head.ref }}\"\n          fi\n      - name: Commit and push template\n        if: steps.check_changes.outputs.changes == 'true'\n        run: |\n          git config --global user.name \"GitHub Actions\"\n          git config --global user.email \"actions@github.com\"\n          git add .\n          git commit -am \"Auto-update of NLP template\"\n          git push origin HEAD:${{ github.event.pull_request.head.ref }}\n      - name: Create PR comment\n        if: steps.check_changes.outputs.changes == 'true'\n        uses: actions/github-script@v7.0.1\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            github.rest.issues.createComment({\n              issue_number: ${{ github.event.pull_request.number }},\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'NLP template updates in `examples/e2e_nlp` have been pushed.'\n            })\n  update-starter-template-to-examples:\n    name: update-starter-template-to-examples\n    runs-on: ${{ inputs.os }}\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n      OBJC_DISABLE_INITIALIZE_FORK_SAFETY: 'YES'\n    if: github.event_name == 'pull_request' && ! startsWith(github.event.head_commit.message,\n      'GitBook:')\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Run template tests for zenml-io/template-starter\n        uses: zenml-io/template-starter/.github/actions/starter_template_test@main\n        with:\n          python-version: ${{ inputs.python-version }}\n          stack-name: local\n          ref-zenml: ${{ github.ref }}\n          ref-template: 2024.06.06  # Make sure it is aligned with ZENML_PROJECT_TEMPLATES from src/zenml/cli/base.py\n      - name: Clean-up\n        run: |\n          rm -rf ./local_checkout\n      - name: message-on-error\n        if: failure()\n        run: |\n          echo \"::error title=zenml-io/template-starter project template testing failed with new version of \n            ZenML core!::\\\n            Breaking changes affecting templates have been introduced. To mitigate this issue,\\\n            please make the code in zenml-io/template-starter compatible with new version of\\\n            ZenML core, release it and update release tag in zenml.cli.base.ZENML_PROJECT_TEMPLATES\"\n      - uses: actions/checkout@v4.1.1\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n      - name: Check-out fresh Starter template\n        run: |\n          rm -rf examples/quickstart\n          mkdir -p examples/quickstart\n          printf 'info@zenml.io' | zenml init --path examples/quickstart --template starter --template-with-defaults\n          pip install yamlfix\n          bash scripts/format.sh examples/quickstart\n      - name: Check for changes\n        id: check_changes\n        run: |\n          if git diff --quiet \"origin/${{ github.event.pull_request.head.ref }}\"; then\n            echo \"No active Git changes found.\"\n            echo \"changes=false\" >> $GITHUB_OUTPUT\n          else\n            echo \"vvv Active Git changes found vvv\"\n            echo \"changes=true\" >> $GITHUB_OUTPUT\n            git diff \"origin/${{ github.event.pull_request.head.ref }}\"\n          fi\n      - name: Commit and push template\n        if: steps.check_changes.outputs.changes == 'true'\n        run: |\n          git config --global user.name \"GitHub Actions\"\n          git config --global user.email \"actions@github.com\"\n          git add .\n          git commit -am \"Auto-update of Starter template\"\n          git push origin HEAD:${{ github.event.pull_request.head.ref }}\n      - name: Create PR comment\n        if: steps.check_changes.outputs.changes == 'true'\n        uses: actions/github-script@v7.0.1\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |-\n            github.rest.issues.createComment({\n              issue_number: ${{ github.event.pull_request.number }},\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Quickstart template updates in `examples/quickstart` have been pushed.'\n            })\n  update-llm-finetuning-template-to-examples:\n    name: update-llm-finetuning-template-to-examples\n    runs-on: ${{ inputs.os }}\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n      OBJC_DISABLE_INITIALIZE_FORK_SAFETY: 'YES'\n    if: github.event_name == 'pull_request' && ! startsWith(github.event.head_commit.message,\n      'GitBook:')\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Run template tests for zenml-io/template-llm-finetuning\n        uses: zenml-io/template-llm-finetuning/.github/actions/llm_finetuning_template_test@main\n        with:\n          python-version: ${{ inputs.python-version }}\n          ref-zenml: ${{ github.ref }}\n          ref-template: 2024.06.06  # Make sure it is aligned with ZENML_PROJECT_TEMPLATES from src/zenml/cli/base.py\n      - name: Clean-up\n        run: |\n          rm -rf ./local_checkout\n      - name: message-on-error\n        if: failure()\n        run: |\n          echo \"::error title=zenml-io/template-llm-finetuning project template testing failed with new version of ZenML core!::\\\n            Breaking changes affecting templates have been introduced. To mitigate this issue,\\\n            please make the code in zenml-io/template-llm-finetuning compatible with new version of\\\n            ZenML core, release it and update release tag in zenml.cli.base.ZENML_PROJECT_TEMPLATES\"\n      - uses: actions/checkout@v4.1.1\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n      - name: Check-out fresh LLM Finetuning template\n        run: |\n          rm -rf examples/llm_finetuning\n          mkdir -p examples/llm_finetuning\n          printf 'info@zenml.io' | zenml init --path examples/llm_finetuning --template llm_finetuning --template-with-defaults\n          pip install yamlfix\n          bash scripts/format.sh examples/llm_finetuning\n      - name: Check for changes\n        id: check_changes\n        run: |\n          if git diff --quiet \"origin/${{ github.event.pull_request.head.ref }}\"; then\n            echo \"No active Git changes found.\"\n            echo \"changes=false\" >> $GITHUB_OUTPUT\n          else\n            echo \"vvv Active Git changes found vvv\"\n            echo \"changes=true\" >> $GITHUB_OUTPUT\n            git diff \"origin/${{ github.event.pull_request.head.ref }}\"\n          fi\n      - name: Commit and push template\n        if: steps.check_changes.outputs.changes == 'true'\n        run: |\n          git config --global user.name \"GitHub Actions\"\n          git config --global user.email \"actions@github.com\"\n          git add .\n          git commit -am \"Auto-update of LLM Finetuning template\"\n          git push origin HEAD:${{ github.event.pull_request.head.ref }}\n      - name: Create PR comment\n        if: steps.check_changes.outputs.changes == 'true'\n        uses: actions/github-script@v7.0.1\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |-\n            github.rest.issues.createComment({\n              issue_number: ${{ github.event.pull_request.number }},\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'LLM Finetuning template updates in `examples/llm_finetuning` have been pushed.'\n            })\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:08.394562", "created_at": "2023-11-17T15:53:19+01:00", "updated_at": "2023-11-17T15:53:19+01:00", "name": "DB Migration Testing", "path": ".github/workflows/just-for-testing.yml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:09.521499", "created_at": "2023-11-28T17:40:14+01:00", "updated_at": "2023-11-28T17:40:14+01:00", "name": "Nightly Build", "path": ".github/workflows/nightly_build.yml", "contents": "---\nname: Nightly Build\non:\n  workflow_dispatch:\n  schedule:\n    # Run this workflow every day at midnight\n    - cron: 30 0 * * *\njobs:\n  setup-and-test:\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      os: ubuntu-latest\n      python-version: '3.8'\n      git-ref: develop\n    secrets: inherit\n    if: github.repository == 'zenml-io/zenml'\n  publish-python-package:\n    permissions:\n      id-token: write\n      contents: read\n    needs: setup-and-test\n    uses: ./.github/workflows/publish_to_pypi_nightly.yml\n    secrets: inherit\n    if: github.repository == 'zenml-io/zenml'\n  wait-for-package-release:\n    if: github.repository == 'zenml-io/zenml'\n    runs-on: ubuntu-latest\n    needs: publish-python-package\n    steps:\n      - name: Sleep for 4 minutes\n        run: sleep 240\n        shell: bash\n  publish-docker-image:\n    if: github.repository == 'zenml-io/zenml'\n    needs: wait-for-package-release\n    uses: ./.github/workflows/publish_docker_image.yml\n    with:\n      config_file: release-cloudbuild-nightly.yaml\n      zenml_nightly: true\n    secrets: inherit\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:10.540579", "created_at": "2023-11-28T17:40:14+01:00", "updated_at": "2023-11-28T17:40:14+01:00", "name": "Publish Nightly PyPI package", "path": ".github/workflows/publish_to_pypi_nightly.yml", "contents": "---\nname: Publish Nightly PyPI package\non:\n  workflow_call:\njobs:\n  publish_to_pypi:\n    name: Publish Nightly Python 🐍 package 📦 to PyPI\n    runs-on: ubuntu-latest\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n    steps:\n      - uses: actions/checkout@v4.1.1\n        with:\n          ref: develop\n      - name: Set up Python\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.8'\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.4\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n      - name: Set nightly version\n        run: |\n          # Extract the current version\n          CURRENT_VERSION=$(poetry version -s)\n\n          # Get the current date in the format of YYYY-MM-DD\n          DATE=$(date +\"%Y%m%d\")\n\n          # Combine the current version with the date to form\n          # the new version string\n          NIGHTLY_VERSION=\"${CURRENT_VERSION}.dev${DATE}\"\n\n          # Set the nightly version\n          echo \"NIGHTLY_VERSION=$NIGHTLY_VERSION\" >> $GITHUB_ENV\n      - name: Modify pyproject.toml for nightly release\n        run: |\n          # Change the package name to `zenml-nightly`\n          sed -i 's/name = \"zenml\"/name = \"zenml-nightly\"/' pyproject.toml\n\n          # Update the version to the nightly version\n          poetry version $NIGHTLY_VERSION\n\n          # Update the src/zenml/VERSION file with the nightly version\n          echo $NIGHTLY_VERSION > src/zenml/VERSION\n      - name: Include latest dashboard\n        run: bash scripts/install-dashboard.sh\n      - name: Build package\n        run: poetry build\n      - name: Mint token\n        id: mint\n        uses: tschm/token-mint-action@v1.0.2\n      - name: Publish the package with poetry\n        run: |-\n          # Extract the tag from GITHUB_REF if it exists\n          TAG=$(echo ${GITHUB_REF} | sed 's|refs/tags/||g')\n\n          # Check if the current ref is a tag\n          if [[ \"${GITHUB_REF}\" == refs/tags/* ]]; then\n            # Check if the VERSION file matches the tag\n            if [ \"$(cat src/zenml/VERSION)\" = \"$TAG\" ]; then\n              poetry publish -u __token__ -p '${{ steps.mint.outputs.api-token }}';\n            else\n              echo \"Version mismatch between src/zenml/VERSION and branch tag\" && exit 1;\n            fi\n          else\n            # For branches, publish the nightly version without version check\n            poetry publish -u __token__ -p '${{ steps.mint.outputs.api-token }}';\n          fi\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:11.751416", "created_at": "2023-12-05T16:45:48+01:00", "updated_at": "2023-12-05T16:45:48+01:00", "name": "Testing DB Migration Testing", "path": ".github/workflows/TEST_ME_NOW.yml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:12.884624", "created_at": "2023-12-20T16:56:57+01:00", "updated_at": "2023-12-20T16:56:57+01:00", "name": "TEST MariaDB DB migrations", "path": ".github/workflows/testing_this_now.yml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:14.019727", "created_at": "2023-12-20T17:35:19+01:00", "updated_at": "2023-12-20T17:40:02+01:00", "name": "TEST mysql DB migrations", "path": ".github/workflows/ci_test.yml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:15.137069", "created_at": "2023-12-21T17:02:55+01:00", "updated_at": "2023-12-21T17:02:55+01:00", "name": "Build, Lint, Unit, Integration and Templates Tests", "path": ".github/workflows/test-me.yml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:16.145538", "created_at": "2023-12-22T11:43:10+01:00", "updated_at": "2024-01-09T15:01:17+01:00", "name": "TESTING DB FIXES", "path": ".github/workflows/test_me_now.yml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:17.188509", "created_at": "2024-01-05T12:17:43+01:00", "updated_at": "2024-01-08T21:07:12+01:00", "name": "Scarf checker", "path": ".github/workflows/scarf-check.yml", "contents": "---\nname: Scarf checker\non:\n  workflow_dispatch:\n  pull_request:\n    types: [opened, synchronize, ready_for_review]\n    # Run when md files are involved in the PR.\n    paths: ['**.md']\njobs:\n  check-for-scarf:\n    # Only run on non-draft PRs within the same repository.\n    if: github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.draft\n      == false\n    name: check-for-scarf\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4.1.1\n      - name: Check for scarf\n        run: bash scripts/scarf-checker.sh\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:18.331568", "created_at": "2024-01-11T18:14:22+01:00", "updated_at": "2024-03-07T15:42:08+01:00", "name": "ci-slow", "path": ".github/workflows/ci-slow.yml", "contents": "---\nname: ci-slow\non:\n  workflow_dispatch:\n  workflow_call:\n  push:\n    branches: [main]\n    paths-ignore: [docs/**, docker/**, '*', '!pyproject.toml', '**.md']\n  pull_request:\n    types: [opened, synchronize, ready_for_review]\n    paths-ignore: [docs/**, docker/**, '*', '!pyproject.toml', '**.md']\nconcurrency:\n  # New commit on branch cancels running workflows of the same branch\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  run-slow-ci-label-is-set:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.draft == false\n    steps:\n      # using this instead of contains(github.event.pull_request.labels.*.name, 'run-slow-ci')\n      # to make it dynamic, otherwise github context is fixed at the moment of trigger event.\n      # With dynamic approach dev can set label and rerun this flow to make it running.\n      - name: Get PR labels\n        id: pr-labels\n        uses: actions/github-script@v5\n        with:\n          script: |\n            const prNumber = ${{ github.event.pull_request.number }};\n            const { data: labels } = await github.rest.issues.listLabelsOnIssue({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: prNumber,\n            });\n            const labelNames = labels.map(label => label.name);\n            core.setOutput('all-labels', labelNames.join(','));\n      - name: Slow CI label not set\n        if: ${{ !contains(steps.pr-labels.outputs.all-labels, 'run-slow-ci') }}\n        run: |\n          echo \"Please add the 'run-slow-ci' label to this PR before merging.\"\n          exit 1\n  docstring-check:\n    if: github.event.pull_request.draft == false\n    needs: run-slow-ci-label-is-set\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.1\n      - name: Set up Python\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.10'\n      - name: Install current package as editable\n        run: |\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n          source $HOME/.cargo/env\n          uv pip install --system darglint\n      - name: Check docstrings\n        run: bash scripts/docstring.sh\n  mysql-db-migration-testing-full:\n    if: github.event.pull_request.draft == false\n    needs: run-slow-ci-label-is-set\n    env:\n      ZENML_ANALYTICS_OPT_IN: false\n      ZENML_DEBUG: true\n    runs-on: arc-runner-set\n    steps:\n      - uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.9'\n      - name: Test migrations across versions\n        run: bash scripts/test-migrations.sh mysql full\n  mysql-db-migration-testing-random:\n    if: github.event.pull_request.draft == false\n    needs: run-slow-ci-label-is-set\n    env:\n      ZENML_ANALYTICS_OPT_IN: false\n      ZENML_DEBUG: true\n    runs-on: arc-runner-set\n    steps:\n      - uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.9'\n      - name: Test migrations across versions\n        run: bash scripts/test-migrations.sh mysql random\n  sqlite-db-migration-testing-full:\n    needs: run-slow-ci-label-is-set\n    runs-on: arc-runner-set\n    env:\n      ZENML_ANALYTICS_OPT_IN: false\n      ZENML_DEBUG: true\n    if: github.event.pull_request.draft == false\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.9'\n      - name: Test migrations across versions\n        run: bash scripts/test-migrations.sh sqlite full\n  mariadb-db-migration-testing:\n    if: github.event.pull_request.draft == false\n    needs: run-slow-ci-label-is-set\n    env:\n      ZENML_ANALYTICS_OPT_IN: false\n      ZENML_DEBUG: true\n    runs-on: arc-runner-set\n    steps:\n      - uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.9'\n      - name: Test migrations across versions\n        run: bash scripts/test-migrations.sh mariadb full\n  small-checks:\n    if: github.event.pull_request.draft == false\n    needs: run-slow-ci-label-is-set\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.1\n      - name: Set up Python\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.8'\n      - name: Install uv\n        run: |\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n          source $HOME/.cargo/env\n      - name: Create virtual environment\n        run: |\n          uv venv\n      - name: Check mlstacks compatibility\n        run: |\n          source .venv/bin/activate\n          uv pip install -e .\n          uv pip install mlstacks\n      - name: Check for broken dependencies\n        run: |\n          source .venv/bin/activate\n          uv pip check\n      - name: Markdown link check\n        uses: gaurav-nelson/github-action-markdown-link-check@1.0.15\n        with:\n          use-quiet-mode: 'yes'\n          use-verbose-mode: 'no'\n          folder-path: ./examples, ./docs/book, ./src\n          file-path: ./README.md, ./LICENSE, ./RELEASE_NOTES.md, CODE-OF-CONDUCT.md,\n            CONTRIBUTING.md, CLA.md, RELEASE_NOTES.md, ROADMAP.md\n          config-file: .github/workflows/markdown_check_config.json\n        continue-on-error: true\n      - name: Security check\n        run: |\n          source .venv/bin/activate\n          uv pip install bandit\n          bash scripts/check-security.sh\n      - name: Check for alembic branch divergence\n        env:\n          ZENML_DEBUG: 0\n        run: |\n          source .venv/bin/activate\n          uv pip install alembic\n          bash scripts/check-alembic-branches.sh\n      - name: Install latest dashboard (test gitignore)\n        run: bash scripts/install-dashboard.sh\n  custom-ubuntu-unit-test:\n    if: github.event.pull_request.draft == false\n    needs: run-slow-ci-label-is-set\n    strategy:\n      matrix:\n        os: [arc-runner-set]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n      fail-fast: false\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      python-version: ${{ matrix.python-version }}\n      os: ${{ matrix.os }}\n    secrets: inherit\n  windows-unit-test:\n    if: github.event.pull_request.draft == false\n    needs: run-slow-ci-label-is-set\n    strategy:\n      matrix:\n        os: [windows-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n      fail-fast: false\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      python-version: ${{ matrix.python-version }}\n      os: ${{ matrix.os }}\n    secrets: inherit\n  macos-unit-test:\n    if: github.event.pull_request.draft == false\n    needs: run-slow-ci-label-is-set\n    strategy:\n      matrix:\n        os: [macos-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        # Python 3.8 and 3.9 is on macos-13 but not macos-latest (macos-14-arm64)\n        # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n        exclude:\n          - {python-version: '3.8', os: macos-latest}\n          - {python-version: '3.9', os: macos-latest}\n        include:\n          - {python-version: '3.8', os: macos-13}\n          - {python-version: '3.9', os: macos-13}\n      fail-fast: false\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      python-version: ${{ matrix.python-version }}\n      os: ${{ matrix.os }}\n    secrets: inherit\n  windows-integration-test:\n    if: github.event.pull_request.draft == false\n    needs: run-slow-ci-label-is-set\n    strategy:\n      matrix:\n        os: [windows-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        test_environment: [default]\n      fail-fast: false\n    uses: ./.github/workflows/integration-test-slow.yml\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      test_environment: ${{ matrix.test_environment }}\n    secrets: inherit\n  macos-integration-test:\n    if: github.event.pull_request.draft == false\n    needs: run-slow-ci-label-is-set\n    strategy:\n      matrix:\n        os: [macos-13]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        # Python 3.8 and 3.9 is on macos-13 but not macos-latest (macos-14-arm64)\n        # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n        exclude:\n          - {python-version: '3.8', os: macos-latest}\n          - {python-version: '3.9', os: macos-latest}\n        include:\n          - {python-version: '3.8', os: macos-13}\n          - {python-version: '3.9', os: macos-13}\n        test_environment: [default]\n      fail-fast: false\n    uses: ./.github/workflows/integration-test-slow.yml\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      test_environment: ${{ matrix.test_environment }}\n    secrets: inherit\n  custom-ubuntu-integration-test:\n    if: github.event.pull_request.draft == false\n    needs: run-slow-ci-label-is-set\n    strategy:\n      matrix:\n        os: [arc-runner-set]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        test_environment:\n          - default\n          - docker-server-docker-orchestrator-mysql\n          - docker-server-docker-orchestrator-mariadb\n        exclude:\n   # docker is time-consuming to run, so we only run it on 3.8\n          - test_environment: docker-server-docker-orchestrator-mysql\n            python-version: '3.9'\n          - test_environment: docker-server-docker-orchestrator-mysql\n            python-version: '3.10'\n          - test_environment: docker-server-docker-orchestrator-mysql\n            python-version: '3.11'\n          - test_environment: docker-server-docker-orchestrator-mariadb\n            python-version: '3.9'\n          - test_environment: docker-server-docker-orchestrator-mariadb\n            python-version: '3.10'\n          - test_environment: docker-server-docker-orchestrator-mariadb\n            python-version: '3.11'\n      fail-fast: false\n    uses: ./.github/workflows/integration-test-slow.yml\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      test_environment: ${{ matrix.test_environment }}\n    secrets: inherit\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:19.455868", "created_at": "2024-01-11T18:14:22+01:00", "updated_at": "2024-04-02T12:21:04+02:00", "name": "ci-fast", "path": ".github/workflows/ci-fast.yml", "contents": "---\nname: ci-fast\non:\n  workflow_dispatch:\n  workflow_call:\n  push:\n    branches: [main]\n    paths-ignore: [docs/**, docker/**, '*', '!pyproject.toml', '**.md']\n  pull_request:\n    types: [opened, synchronize, ready_for_review]\n    paths-ignore: [docs/**, docker/**, '*', '!pyproject.toml', '**.md']\nconcurrency:\n  # New commit on branch cancels running workflows of the same branch\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  docstring-check:\n    if: github.event.pull_request.draft == false\n    runs-on: arc-runner-set\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n      - name: Set up Python\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.10'\n      - name: Install darglint using uv\n        run: |\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n          source $HOME/.cargo/env\n          uv pip install --system darglint\n      - name: Check docstrings\n        run: bash scripts/docstring.sh\n  sqlite-db-migration-testing-random:\n    runs-on: arc-runner-set\n    env:\n      ZENML_ANALYTICS_OPT_IN: false\n      ZENML_DEBUG: true\n    # if team member commented, not a draft, on a PR, using /fulltest\n    if: github.event.pull_request.draft == false || github.event_name == 'workflow_dispatch'\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.9'\n      - name: Test migrations across versions\n        run: bash scripts/test-migrations.sh sqlite random\n  spellcheck:\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n      - name: Spelling checker\n        uses: crate-ci/typos@v1.17.0\n        with:\n          files: .\n          config: ./.typos.toml\n  api-docs-test:\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: '3.11'\n      - name: Test API docs buildable\n        run: bash scripts/generate-docs.sh -v DUMMY -c\n  update-templates-to-examples:\n    # this doesn't work on forked repositories (i.e. outside contributors)\n    # so we disable template updates for those PRs / branches\n    if: github.event.pull_request.head.repo.full_name == 'zenml-io/zenml' && github.event.pull_request.draft\n      == false\n    uses: ./.github/workflows/update-templates-to-examples.yml\n    with:\n      python-version: '3.8'\n      os: ubuntu-latest\n    secrets: inherit\n  custom-ubuntu-setup-and-unit-test:\n    if: github.event.pull_request.draft == false\n    strategy:\n      matrix:\n        os: [arc-runner-set]\n        python-version: ['3.10']\n      fail-fast: false\n    uses: ./.github/workflows/unit-test.yml\n    with:\n      python-version: ${{ matrix.python-version }}\n      os: ${{ matrix.os }}\n    secrets: inherit\n  custom-arc-runner-set-integration-test:\n    if: github.event.pull_request.draft == false\n    strategy:\n      matrix:\n        os: [arc-runner-set]\n        python-version: ['3.10']\n        test_environment: [default, docker-server-docker-orchestrator-mysql]\n      fail-fast: false\n    uses: ./.github/workflows/integration-test-fast.yml\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      test_environment: ${{ matrix.test_environment }}\n    secrets: inherit\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:20.568781", "created_at": "2024-01-19T13:22:58+01:00", "updated_at": "2024-01-19T13:22:58+01:00", "name": "Test Me!", "path": ".github/workflows/test-me-now.yml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:21.687787", "created_at": "2024-01-24T09:31:55+01:00", "updated_at": "2024-01-26T10:25:49+01:00", "name": "Generate test duration file", "path": ".github/workflows/generate-test-duration.yml", "contents": "---\nname: Generate test duration file\non:\n  workflow_call:\n  schedule:\n    - cron: 0 8 * * 1  # Run every Monday at 8 am\njobs:\n  generate-test-duration-file:\n    name: Generate test duration file\n    runs-on: arc-runner-set\n    strategy:\n      fail-fast: false\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n      UV_HTTP_TIMEOUT: 600\n          # on MAC OS, we need to set this environment variable\n          # to fix problems with the fork() calls (see this thread\n          # for more information: http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html)\n      OBJC_DISABLE_INITIALIZE_FORK_SAFETY: 'YES'\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v4.1.1\n        with:\n          ref: develop\n      - name: Setup environment\n        uses: ./.github/actions/setup_environment\n        with:\n          cache_version: ${{ secrets.GH_ACTIONS_CACHE_KEY }}\n          python-version: '3.10'\n          os: arc-runner-set\n          runners_cache_access_key_id: ${{ secrets.RUNNERS_CACHE_ACCESS_KEY_ID }}\n          runners_cache_secret_access_key: ${{ secrets.RUNNERS_CACHE_SECRET_ACCESS_KEY }}\n          discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}\n      - name: Generate test duration file\n        continue-on-error: true\n            # Ubuntu integration tests run as 6 shards\n        run: |\n          bash scripts/test-coverage-xml.sh \"\" default \"\" \"\" store-durations\n      - name: Check difference in .test_durations\n        run: |\n          git diff --quiet || echo \"Changes found\"\n          if [ -n \"$(git status --porcelain)\" ]; then\n            # Commit changes directly to the specified branch\n            git add .test_durations\n            git commit -m \"Update with new changes for test duration file at $(date +'%Y%m%d-%H%M%S')\"\n            git push origin develop\n          else\n            echo \"No changes in .test_durations\"\n          fi\n      - name: Verify Python Env unaffected\n        run: |-\n          zenml integration list\n          uv pip list\n          uv pip check || true\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:23.228448", "created_at": "2024-01-24T10:46:37+01:00", "updated_at": "2024-01-24T10:46:37+01:00", "name": "Integration Tests (Fast CI)", "path": ".github/workflows/integration-test-fast.yml", "contents": "---\nname: Integration Tests (Fast CI)\non:\n  workflow_call:\n    inputs:\n      os:\n        description: OS\n        type: string\n        required: true\n      python-version:\n        description: Python version\n        type: string\n        required: true\n      test_environment:\n        description: The test environment\n        type: string\n        required: true\n      enable_tmate:\n        description: Enable tmate session for debugging\n        type: string\n        required: false\n        default: never\n      tmate_timeout:\n        description: Timeout for tmate session (minutes)\n        type: number\n        required: false\n        default: 30\n  workflow_dispatch:\n    inputs:\n      os:\n        description: OS\n        type: choice\n        options: [ubuntu-latest, macos-13, windows-latest, arc-runner-set]\n        required: false\n        default: ubuntu-latest\n      python-version:\n        description: Python version\n        type: choice\n        options: ['3.8', '3.9', '3.10', '3.11']\n        required: false\n        default: '3.8'\n      test_environment:\n        description: The test environment\n        type: choice\n        options:\n          # Default ZenML deployments\n          - default\n          - default-docker-orchestrator\n          - default-airflow-orchestrator\n          # Local ZenML server deployments\n          - local-server\n          - local-server-docker-orchestrator\n          - local-server-airflow-orchestrator\n          # Local ZenML docker-compose server deployments\n          - docker-server-mysql\n          - docker-server-mariadb\n          - docker-server-docker-orchestrator-mysql\n          - docker-server-docker-orchestrator-mariadb\n          - docker-server-airflow-orchestrator-mysql\n          - docker-server-airflow-orchestrator-mariadb\n        required: false\n        default: default\n      enable_tmate:\n        description: Enable tmate session for debugging\n        type: choice\n        options: [no, on-failure, always, before-tests]\n        required: false\n        default: 'no'\n      tmate_timeout:\n        description: Timeout for tmate session (minutes)\n        type: number\n        required: false\n        default: 30\njobs:\n  integration-tests-fast:\n    name: integration-tests-fast\n    runs-on: ${{ inputs.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        shard: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n      UV_HTTP_TIMEOUT: 600\n      # on MAC OS, we need to set this environment variable\n      # to fix problems with the fork() calls (see this thread\n      # for more information: http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html)\n      OBJC_DISABLE_INITIALIZE_FORK_SAFETY: 'YES'\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_US_EAST_1_ENV_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_US_EAST_1_ENV_SECRET_ACCESS_KEY }}\n      AWS_US_EAST_1_SERVER_URL: ${{ secrets.AWS_US_EAST_1_SERVER_URL }}\n      AWS_US_EAST_1_SERVER_USERNAME: ${{ secrets.AWS_US_EAST_1_SERVER_USERNAME }}\n      AWS_US_EAST_1_SERVER_PASSWORD: ${{ secrets.AWS_US_EAST_1_SERVER_PASSWORD }}\n      GCP_US_EAST4_SERVER_URL: ${{ secrets.GCP_US_EAST4_SERVER_URL }}\n      GCP_US_EAST4_SERVER_USERNAME: ${{ secrets.GCP_US_EAST4_SERVER_USERNAME }}\n      GCP_US_EAST4_SERVER_PASSWORD: ${{ secrets.GCP_US_EAST4_SERVER_PASSWORD }}\n    if: ${{ ! startsWith(github.event.head_commit.message, 'GitBook:') }}\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Maximize space for Docker\n        uses: easimon/maximize-build-space@v10\n        with:\n          root-reserve-mb: 20000\n          swap-size-mb: 1024\n          remove-dotnet: 'true'\n          remove-android: 'true'\n          remove-haskell: 'true'\n          build-mount-path: /var/lib/docker/\n        if: inputs.os == 'ubuntu-latest' && (contains(inputs.test_environment, 'docker')\n          || contains(inputs.test_environment, 'kubeflow') || contains(inputs.test_environment,\n          'airflow') || contains(inputs.test_environment, 'kubernetes'))\n      - name: Reload Docker\n        run: sudo systemctl restart docker\n        if: inputs.os == 'ubuntu-latest' && (contains(inputs.test_environment, 'docker')\n          || contains(inputs.test_environment, 'kubeflow') || contains(inputs.test_environment,\n          'airflow') || contains(inputs.test_environment, 'kubernetes'))\n      - uses: actions/checkout@v4.1.1\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: ${{ secrets.AWS_US_EAST_1_ENV_ROLE_ARN }}\n          aws-region: us-east-1\n        if: contains(inputs.test_environment, 'aws')\n      - name: Configure GCP credentials\n        uses: google-github-actions/auth@v2\n        with:\n          credentials_json: ${{ secrets.GCP_US_EAST4_ENV_CREDENTIALS }}\n        if: contains(inputs.test_environment, 'gcp')\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          install_components: gke-gcloud-auth-plugin\n        if: contains(inputs.test_environment, 'gcp')\n      - name: Setup environment\n        uses: ./.github/actions/setup_environment\n        with:\n          cache_version: ${{ secrets.GH_ACTIONS_CACHE_KEY }}\n          python-version: ${{ inputs.python-version }}\n          os: ${{ inputs.os }}\n          runners_cache_access_key_id: ${{ secrets.RUNNERS_CACHE_ACCESS_KEY_ID }}\n          runners_cache_secret_access_key: ${{ secrets.RUNNERS_CACHE_SECRET_ACCESS_KEY }}\n          discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}\n      - name: Install docker-compose for non-default environments\n        if: inputs.test_environment != 'default'\n        run: |\n          pip install uv\n          uv pip install --system \"pyyaml==5.3.1\" docker-compose\n      - name: Install Linux System Dependencies\n        if: (inputs.os == 'ubuntu-latest' || inputs.os == 'arc-runner-set')\n        run: sudo apt install graphviz\n      - name: Install MacOS System Dependencies\n        if: runner.os=='macOS'\n        run: brew install graphviz\n      - name: Install Windows System Dependencies\n        if: runner.os=='Windows'\n        run: choco install graphviz\n      - name: Unbreak python in github actions\n        if: runner.os=='macOS'\n        # github actions overwrites brew's python. Force it to reassert itself, by\n        # running in a separate step.\n        # Workaround GitHub Actions Python issues\n        # see https://github.com/Homebrew/homebrew-core/issues/165793#issuecomment-1989441193\n        run: |\n          find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete\n          sudo rm -rf /Library/Frameworks/Python.framework/\n          brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3\n      - name: Install Docker and Colima on MacOS\n        if: runner.os=='macOS'\n        run: |\n          export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1\n          brew update\n          brew install docker colima\n          brew reinstall --force qemu\n\n          # We need to mount the /private/tmp/zenml-test/ folder because\n          # this folder is also mounted in the Docker containers that are\n          # started by local ZenML orchestrators.\n          colima start --mount /private/tmp/zenml-test/:w\n\n          # This is required for the Docker Python SDK to work\n          sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock\n      - name: Install kubectl on Linux\n        run: |\n          curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl\"\n          sudo install -o root -g 0 -m 0755 kubectl /usr/local/bin/kubectl\n        if: (inputs.os == 'ubuntu-latest' || inputs.os == 'arc-runner-set')\n      - name: Install kubectl on MacOS\n        run: |\n          curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl\"\n          sudo install -o root -g 0 -m 0755 kubectl /usr/local/bin/kubectl\n        if: runner.os=='macOS'\n      - name: Install K3D\n        run: |\n          curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash\n        if: runner.os!='Windows' && contains(inputs.test_environment, 'kubeflow')\n      - name: Login to Amazon ECR\n        id: login-ecr\n        run: |\n          aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 715803424590.dkr.ecr.us-east-1.amazonaws.com\n        if: contains(inputs.test_environment, 'aws')\n      - name: Login to Amazon EKS\n        id: login-eks\n        run: |\n          aws eks --region us-east-1 update-kubeconfig --name zenml-ci-cluster --alias zenml-ci-aws-us-east-1\n        if: contains(inputs.test_environment, 'aws')\n      - name: Login to Google ECR\n        run: |\n          gcloud auth configure-docker --project zenml-ci\n        if: contains(inputs.test_environment, 'gcp')\n      - name: Login to Google GKE\n        uses: google-github-actions/get-gke-credentials@v2\n        with:\n          cluster_name: zenml-ci-cluster\n          location: us-east4\n          project_id: zenml-ci\n        if: contains(inputs.test_environment, 'gcp')\n      - name: Setup tmate session before tests\n        if: ${{ inputs.enable_tmate == 'before-tests' }}\n        uses: mxschmitt/action-tmate@v3.17\n        timeout-minutes: ${{ inputs.tmate_timeout }}\n      - name: Sharded Integration Tests (Ubuntu) - Fast CI\n        # Ubuntu integration tests run as 6 shards\n        if: runner.os != 'macOS' && runner.os != 'Windows'\n        run: |\n          bash scripts/test-coverage-xml.sh integration ${{ inputs.test_environment }} 12 ${{ matrix.shard }}\n      - name: Setup tmate session after tests\n        if: ${{ inputs.enable_tmate == 'always' || (inputs.enable_tmate == 'on-failure' && failure()) }}\n        uses: mxschmitt/action-tmate@v3.17\n        timeout-minutes: ${{ inputs.tmate_timeout }}\n      - name: Verify Python Env unaffected\n        run: |-\n          zenml integration list\n          uv pip list\n          uv pip check || true\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:24.370355", "created_at": "2024-01-24T10:46:37+01:00", "updated_at": "2024-01-24T10:46:37+01:00", "name": "Integration Tests (Slow CI)", "path": ".github/workflows/integration-test-slow.yml", "contents": "---\nname: Integration Tests (Slow CI)\non:\n  workflow_call:\n    inputs:\n      os:\n        description: OS\n        type: string\n        required: true\n      python-version:\n        description: Python version\n        type: string\n        required: true\n      test_environment:\n        description: The test environment\n        type: string\n        required: true\n      enable_tmate:\n        description: Enable tmate session for debugging\n        type: string\n        required: false\n        default: never\n      tmate_timeout:\n        description: Timeout for tmate session (minutes)\n        type: number\n        required: false\n        default: 30\n  workflow_dispatch:\n    inputs:\n      os:\n        description: OS\n        type: choice\n        options: [ubuntu-latest, macos-13, windows-latest, arc-runner-set]\n        required: false\n        default: ubuntu-latest\n      python-version:\n        description: Python version\n        type: choice\n        options: ['3.8', '3.9', '3.10', '3.11']\n        required: false\n        default: '3.8'\n      test_environment:\n        description: The test environment\n        type: choice\n        options:\n          # Default ZenML deployments\n          - default\n          - default-docker-orchestrator\n          - default-airflow-orchestrator\n          # Local ZenML server deployments\n          - local-server\n          - local-server-docker-orchestrator\n          - local-server-airflow-orchestrator\n          # Local ZenML docker-compose server deployments\n          - docker-server-mysql\n          - docker-server-mariadb\n          - docker-server-docker-orchestrator-mysql\n          - docker-server-docker-orchestrator-mariadb\n          - docker-server-airflow-orchestrator-mysql\n          - docker-server-airflow-orchestrator-mariadb\n        required: false\n        default: default\n      enable_tmate:\n        description: Enable tmate session for debugging\n        type: choice\n        options: [no, on-failure, always, before-tests]\n        required: false\n        default: 'no'\n      tmate_timeout:\n        description: Timeout for tmate session (minutes)\n        type: number\n        required: false\n        default: 30\njobs:\n  integration-tests-slow:\n    name: integration-tests-slow\n    runs-on: ${{ inputs.os }}\n    strategy:\n      fail-fast: false\n    env:\n      ZENML_DEBUG: 1\n      ZENML_ANALYTICS_OPT_IN: false\n      PYTHONIOENCODING: utf-8\n      UV_HTTP_TIMEOUT: 600\n      # on MAC OS, we need to set this environment variable\n      # to fix problems with the fork() calls (see this thread\n      # for more information: http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html)\n      OBJC_DISABLE_INITIALIZE_FORK_SAFETY: 'YES'\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_US_EAST_1_ENV_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_US_EAST_1_ENV_SECRET_ACCESS_KEY }}\n      AWS_US_EAST_1_SERVER_URL: ${{ secrets.AWS_US_EAST_1_SERVER_URL }}\n      AWS_US_EAST_1_SERVER_USERNAME: ${{ secrets.AWS_US_EAST_1_SERVER_USERNAME }}\n      AWS_US_EAST_1_SERVER_PASSWORD: ${{ secrets.AWS_US_EAST_1_SERVER_PASSWORD }}\n      GCP_US_EAST4_SERVER_URL: ${{ secrets.GCP_US_EAST4_SERVER_URL }}\n      GCP_US_EAST4_SERVER_USERNAME: ${{ secrets.GCP_US_EAST4_SERVER_USERNAME }}\n      GCP_US_EAST4_SERVER_PASSWORD: ${{ secrets.GCP_US_EAST4_SERVER_PASSWORD }}\n    if: ${{ ! startsWith(github.event.head_commit.message, 'GitBook:') }}\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Maximize space for Docker\n        uses: easimon/maximize-build-space@v10\n        with:\n          root-reserve-mb: 20000\n          swap-size-mb: 1024\n          remove-dotnet: 'true'\n          remove-android: 'true'\n          remove-haskell: 'true'\n          build-mount-path: /var/lib/docker/\n        if: inputs.os == 'ubuntu-latest' && (contains(inputs.test_environment, 'docker')\n          || contains(inputs.test_environment, 'kubeflow') || contains(inputs.test_environment,\n          'airflow') || contains(inputs.test_environment, 'kubernetes'))\n      - name: Reload Docker\n        run: sudo systemctl restart docker\n        if: inputs.os == 'ubuntu-latest' && (contains(inputs.test_environment, 'docker')\n          || contains(inputs.test_environment, 'kubeflow') || contains(inputs.test_environment,\n          'airflow') || contains(inputs.test_environment, 'kubernetes'))\n      - uses: actions/checkout@v4.1.1\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: ${{ secrets.AWS_US_EAST_1_ENV_ROLE_ARN }}\n          aws-region: us-east-1\n        if: contains(inputs.test_environment, 'aws')\n      - name: Configure GCP credentials\n        uses: google-github-actions/auth@v2\n        with:\n          credentials_json: ${{ secrets.GCP_US_EAST4_ENV_CREDENTIALS }}\n        if: contains(inputs.test_environment, 'gcp')\n      - name: Set up gcloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          install_components: gke-gcloud-auth-plugin\n        if: contains(inputs.test_environment, 'gcp')\n      - name: Setup environment\n        uses: ./.github/actions/setup_environment\n        with:\n          cache_version: ${{ secrets.GH_ACTIONS_CACHE_KEY }}\n          python-version: ${{ inputs.python-version }}\n          os: ${{ inputs.os }}\n          runners_cache_access_key_id: ${{ secrets.RUNNERS_CACHE_ACCESS_KEY_ID }}\n          runners_cache_secret_access_key: ${{ secrets.RUNNERS_CACHE_SECRET_ACCESS_KEY }}\n          discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}\n      - name: Install docker-compose for non-default environments\n        if: inputs.test_environment != 'default'\n        run: |\n          pip install uv\n          uv pip install --system \"pyyaml==5.3.1\" docker-compose\n      - name: Install Linux System Dependencies\n        if: (inputs.os == 'ubuntu-latest' || inputs.os == 'arc-runner-set')\n        run: sudo apt install graphviz\n      - name: Install MacOS System Dependencies\n        if: runner.os=='macOS'\n        run: brew install graphviz libomp\n      - name: Install Windows System Dependencies\n        if: runner.os=='Windows'\n        run: choco install graphviz\n      - name: Unbreak Python in GHA for 3.8-3.10\n        if: runner.os=='macOS' && inputs.python-version != '3.11'\n        # github actions overwrites brew's python. Force it to reassert itself, by\n        # running in a separate step.\n        # Workaround GitHub Actions Python issues\n        # see https://github.com/Homebrew/homebrew-core/issues/165793#issuecomment-1989441193\n        run: |\n          find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete\n          sudo rm -rf /Library/Frameworks/Python.framework/\n          brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3\n      - name: Unbreak Python in GHA for 3.11\n        if: runner.os=='macOS' && inputs.python-version == '3.11'\n        run: |\n          # Unlink and re-link to prevent errors when github mac runner images\n          # https://github.com/actions/setup-python/issues/577\n          brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done\n      - name: Install Docker and Colima on MacOS\n        if: runner.os=='macOS'\n        run: |\n          export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1\n          brew update\n          brew install docker colima\n          brew reinstall --force qemu\n\n          # We need to mount the /private/tmp/zenml-test/ folder because\n          # this folder is also mounted in the Docker containers that are\n          # started by local ZenML orchestrators.\n          colima start --mount /private/tmp/zenml-test/:w\n\n          # This is required for the Docker Python SDK to work\n          sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock\n      - name: Install kubectl on Linux\n        run: |\n          curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl\"\n          sudo install -o root -g 0 -m 0755 kubectl /usr/local/bin/kubectl\n        if: (inputs.os == 'ubuntu-latest' || inputs.os == 'arc-runner-set')\n      - name: Install kubectl on MacOS\n        run: |\n          curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl\"\n          sudo install -o root -g 0 -m 0755 kubectl /usr/local/bin/kubectl\n        if: runner.os=='macOS'\n      - name: Install K3D\n        run: |\n          curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash\n        if: runner.os!='Windows' && contains(inputs.test_environment, 'kubeflow')\n      - name: Login to Amazon ECR\n        id: login-ecr\n        run: |\n          aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 715803424590.dkr.ecr.us-east-1.amazonaws.com\n        if: contains(inputs.test_environment, 'aws')\n      - name: Login to Amazon EKS\n        id: login-eks\n        run: |\n          aws eks --region us-east-1 update-kubeconfig --name zenml-ci-cluster --alias zenml-ci-aws-us-east-1\n        if: contains(inputs.test_environment, 'aws')\n      - name: Login to Google ECR\n        run: |\n          gcloud auth configure-docker --project zenml-ci\n        if: contains(inputs.test_environment, 'gcp')\n      - name: Login to Google GKE\n        uses: google-github-actions/get-gke-credentials@v2\n        with:\n          cluster_name: zenml-ci-cluster\n          location: us-east4\n          project_id: zenml-ci\n        if: contains(inputs.test_environment, 'gcp')\n      - name: Setup tmate session before tests\n        if: ${{ inputs.enable_tmate == 'before-tests' }}\n        uses: mxschmitt/action-tmate@v3.17\n        timeout-minutes: ${{ inputs.tmate_timeout }}\n      - name: Integration Tests (Ubuntu) - Slow CI\n          # Ubuntu Slow CI integration tests run on single machines\n        if: runner.os != 'macOS' && runner.os != 'Windows'\n        run: |\n          bash scripts/test-coverage-xml.sh integration ${{ inputs.test_environment }}\n      - name: Integration Tests (Non-Ubuntu) - Slow CI\n        if: runner.os == 'macOS' || runner.os == 'Windows'\n        run: |\n          bash scripts/test-coverage-xml.sh integration ${{ inputs.test_environment }}\n      - name: Setup tmate session after tests\n        if: ${{ inputs.enable_tmate == 'always' || (inputs.enable_tmate == 'on-failure' && failure()) }}\n        uses: mxschmitt/action-tmate@v3.17\n        timeout-minutes: ${{ inputs.tmate_timeout }}\n      - name: Verify Python Env unaffected\n        run: |-\n          zenml integration list\n          uv pip list\n          uv pip check || true\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:25.498162", "created_at": "2024-01-25T15:25:41+01:00", "updated_at": "2024-01-25T15:25:41+01:00", "name": "Slow CI (RELEASE)", "path": ".github/workflows/one-off-ci-slow.yml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:26.540397", "created_at": "2024-03-07T14:59:47+01:00", "updated_at": "2024-03-07T14:59:47+01:00", "name": "Verify defaultdict resolution", "path": ".github/workflows/uv-test.yml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:27.753958", "created_at": "2024-05-10T13:48:13+02:00", "updated_at": "2024-05-10T13:48:13+02:00", "name": "debug-test", "path": ".github/workflows/debug-test.yml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:28.758569", "created_at": "2024-06-06T21:09:16+02:00", "updated_at": "2024-06-06T21:09:16+02:00", "name": "Jira Sync", "path": ".github/workflows/jira.yml", "contents": "---\nname: Jira Sync\non:\n  issues:\n    types: [opened, labeled, unlabeled]\n  issue_comment:\n    types: [created]\njobs:\n  sync:\n    name: Sync Items\n    runs-on: ubuntu-latest\n    steps:\n      - name: Sync\n        uses: mheap/github-action-issue-to-jira@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          jiraHost: ${{ secrets.JIRA_HOST }}\n          jiraUsername: ${{ secrets.JIRA_USERNAME }}\n          jiraPassword: ${{ secrets.JIRA_PASSWORD }}  # See https://id.atlassian.com/manage/api-tokens\n          project: OSSK\n", "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:29.898648", "created_at": "2024-07-09T10:36:13+02:00", "updated_at": "2024-07-09T10:36:13+02:00", "name": "Publish Cloud Stack Templates", "path": ".github/workflows/publish_stack_templates.yml", "contents": null, "state": "active", "repository": "zenml-io/zenml"}
{"mined_at": "2024-07-15T16:17:32.152480", "created_at": "2022-04-25T11:15:33+02:00", "updated_at": "2022-04-25T12:23:40+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  build:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      matrix:\n        platform: [ubuntu-latest, macos-latest]\n        python-version: [3.9]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install pip==23.1.2 setuptools==67.7.2 wheel==0.40.0\n          pip install virtualenv==20.23.0 tox==4.5.1.1\n\n      - name: docs\n        run: tox -e docs\n", "state": "active", "repository": "haddocking/haddock3"}
{"mined_at": "2024-07-15T16:17:33.289666", "created_at": "2022-06-14T11:58:29+02:00", "updated_at": "2023-10-17T11:11:52+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nenv:\n  CNS_EXEC: ${{ github.workspace }}/bin/cns\n  PYTHONPATH: ${{ github.workspace }}/src\n\njobs:\n  unit:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: recursive\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install dependencies\n        run: |\n          python -m pip install pip==23.1.2 setuptools==67.7.2 wheel==0.40.0\n          pip install virtualenv==20.23.0 tox==4.5.1.1\n\n      - name: install HADDOCK\n        run: |\n          pwd\n          ls -lsa\n          mkdir bin\n          touch bin/cns\n          cd src/fcc/src\n          chmod u+x Makefile\n          ./Makefile 2>%1 >/dev/null || true\n          cd -\n          cd src/fast-rmsdmatrix/src\n          chmod u+x Makefile\n          make fast-rmsdmatrix\n          cd -\n\n\n      - name: types\n        run: tox -e types\n\n      - name: unit tests\n        run: tox -e test\n\n      - uses: codacy/codacy-coverage-reporter-action@v1\n        if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}\n        with:\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          coverage-reports: ./coverage.xml\n\n  integration:\n    needs: unit\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: recursive\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install dependencies\n        run: |\n          python -m pip install pip==23.1.2 setuptools==67.7.2 wheel==0.40.0\n          pip install virtualenv==20.23.0 tox==4.5.1.1\n\n      - name: install HADDOCK\n        run: |\n          pwd\n          ls -lsa\n          mkdir bin\n          touch bin/cns\n          cd src/fcc/src\n          chmod u+x Makefile\n          ./Makefile 2>%1 >/dev/null || true\n          cd -\n          cd src/fast-rmsdmatrix/src\n          chmod u+x Makefile\n          make fast-rmsdmatrix\n          cd -\n\n      - name: install integration dependencies\n        run: |\n          curl ${{ secrets.CNS_LINK }} -o $CNS_EXEC -s\n          chmod +x $CNS_EXEC\n\n      - name: run integration tests\n        run: tox -e integration\n", "state": "active", "repository": "haddocking/haddock3"}
{"mined_at": "2024-07-15T16:17:34.398889", "created_at": "2022-08-02T09:53:27+02:00", "updated_at": "2022-08-02T09:53:27+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "haddocking/haddock3"}
{"mined_at": "2024-07-15T16:17:35.530470", "created_at": "2022-08-02T12:46:24+02:00", "updated_at": "2022-08-02T12:46:24+02:00", "name": "pages", "path": ".github/workflows/pages.yml", "contents": "name: pages\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  pages:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: recursive\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install pip==23.1.2 setuptools==67.7.2 wheel==0.40.0\n          pip install virtualenv==20.23.0 tox==4.5.1.1\n\n      # needs to install hd3 so the command-line pages are\n      # rendered properly\n      - name: Install HADDOCK3\n        run: |\n          pwd\n          ls -lsa\n          mkdir bin\n          touch bin/cns\n          cd src/fcc/src\n          chmod u+x Makefile\n          ./Makefile 2>%1 >/dev/null || true\n          cd -\n\n      - name: Generate docs\n        run: |\n          tox -e docs\n          touch haddock3-docs/.nojekyll\n\n      - name: deploy\n        uses: s0/git-publish-subdir-action@develop\n        env:\n          REPO: self\n          BRANCH: gh-pages\n          FOLDER: haddock3-docs\n          GITHUB_TOKEN: ${{ secrets.PAGES }}\n", "state": "active", "repository": "haddocking/haddock3"}
{"mined_at": "2024-07-15T16:17:36.540827", "created_at": "2023-11-17T16:30:27+01:00", "updated_at": "2024-04-22T08:37:23+02:00", "name": ".github/workflows/fair-software.yml", "path": ".github/workflows/fair-software.yml", "contents": null, "state": "active", "repository": "haddocking/haddock3"}
{"mined_at": "2024-07-15T16:17:37.696059", "created_at": "2024-02-09T19:29:39+01:00", "updated_at": "2024-02-12T17:56:29+01:00", "name": "build", "path": ".github/workflows/github-to-gitlab-push-sync.yml", "contents": "name: build\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    name: sync to codehub\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: main\n          fetch-depth: 0\n\n      - uses: cniethammer/git-repo-sync@cb1067d118c0c209bcded585b5c78e581bb0dfec\n        with:\n          target-url: https://codehub.hlrs.de/coes/bioexcel/haddock3.git\n          target-username: ${{ secrets.ACCESS_TOKEN_NAME }}\n          target-token: ${{ secrets.ACCESS_TOKEN }}\n", "state": "active", "repository": "haddocking/haddock3"}
{"mined_at": "2024-07-15T16:17:39.984593", "created_at": "2021-08-15T23:05:17+02:00", "updated_at": "2021-08-15T23:05:17+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: CI\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n\n      # Runs a single command using the runners shell\n      - name: Run lit tests\n        run: |\n          pip install -r requirements.txt\n          make -C test\n", "state": "active", "repository": "pureqml/qmlcore"}
{"mined_at": "2024-07-15T16:17:42.187029", "created_at": "2021-10-30T11:34:48+02:00", "updated_at": "2021-11-04T14:28:12+01:00", "name": "Release version", "path": ".github/workflows/auto_version_release.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Release version\n\non:\n  push:\n    branches:\n      - v[0-9]+.[0-9]+.X\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    # 该 workflow 已暂停使用，作为备用方案保留\n    if: ${{ false }}\n    env:\n      # 构建环境的Python版本\n      PYTHON_VERSION: \"3.7\"\n      # yaml中版本的描述路径\n      VERSION_KW_P: \"version\"\n      # 描述app的yaml文件\n      APP_YAML: \"app.yml\"\n      # github 提交用户名\n      GITHUB_USERNAME: \"github-actions\"\n      # 开发日志所在目录\n      DEV_LOG_ROOT: \"dev_log\"\n      # 发布日志所在目录\n      RELEASE_LOG_ROOT: \"release\"\n      RELEASE_MD_PATH: \"docs/release.md\"\n      # tag 名称前缀\n      TAG_NAME_PREFIX: \"V\"\n      # release 名称前缀\n      RELEASE_NAME_PREFIX: \"V\"\n      # 开发分支名称后缀\n      DEV_BRANCH_SUFFIX: \"-rc\"\n      # 开发分支名称前缀\n      DEV_BRANCH_PREFIX: \"V\"\n\n    steps:\n    - id: checkout\n      name: Checkout\n      uses: actions/checkout@v2\n\n    - id: set-up-python\n      name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n\n    - id: install-requirements\n      name: Install requirements\n      run: |\n        pip install PyYAML\n        pip install packaging\n        pip install ruamel.yaml\n\n    - id: generate-dev-log\n      name: Generate dev log\n      run: |\n        # 获取预发布版本\n        prerelease_version=$( python scripts/workflows/release/op_yaml.py -f ${{ env.APP_YAML }} --keyword-path ${{ env.VERSION_KW_P }} --op get )\n        echo \"🚀 prerelease_version -> $prerelease_version\"\n\n        # 获取发布日志路径并更新发布日志\n        release_log_path=$( python scripts/workflows/release/upgrade_release_log.py -d ${{ env.DEV_LOG_ROOT }} -r ${{ env.RELEASE_LOG_ROOT }} -p ${{ env.RELEASE_MD_PATH }} -v $prerelease_version )\n        echo \"🌟 release_log_path -> $release_log_path\"\n        release_log=$( cat \"$release_log_path\" )\n        echo \"📒 release_log -> 👇👇👇 $release_log\"\n\n        # 获取发布日志路径\n        release_log_path=$( echo ${{ env.RELEASE_LOG_ROOT }}/$(ls -a ${{ env.RELEASE_LOG_ROOT }} | grep \"$prerelease_version\"_) )\n\n        # 推送发布日志\n        git config --global user.email \"${{ env.GITHUB_USERNAME }}@users.noreply.github.com\"\n        git config --global user.name \"${{ env.GITHUB_USERNAME }}\"\n        git add .\n        git commit -m \"docs: auto generate $prerelease_version release log\"\n        git push origin ${{ github.ref }}\n        echo \"✨️ main branch -> ${{ github.ref }} has been updated\"\n\n        # 设置输出\n        echo \"::set-output name=release_log_path::$(echo $release_log_path)\"\n        echo \"::set-output name=prerelease_version::$(echo $prerelease_version)\"\n\n    - id: create-tag\n      name: Create tag\n      run: |\n        # 从上个步骤获取预发布版本号，拼接为标签名称\n        tag_name=$( echo \"${{ env.TAG_NAME_PREFIX }}${{ steps.generate-dev-log.outputs.prerelease_version }}\" )\n        release_log=$( cat ${{ steps.generate-dev-log.outputs.release_log_path }} )\n        echo \"🏷️ tag -> $tag_name will be created\"\n\n        # 创建并推送标签\n        # --cleanup=verbatim 修改默认的注释清理模式，保持完整的提交信息，默认的模式会将 # 开头的信息视为注释行\n        # 参考：https://stackoverflow.com/questions/2788092/start-a-git-commit-message-with-a-hashmark\n        # 参考：https://git.kernel.org/pub/scm/git/git.git/plain/Documentation/git-commit.txt\n        git tag -a \"$tag_name\" -m \"$release_log\" --cleanup=verbatim\n        git push origin \"$tag_name\"\n        echo \"✨️ tag -> $tag_name has been created\"\n\n        # 输出 tag_name\n        echo \"::set-output name=tag_name::$(echo $tag_name)\"\n\n    - id: create-release\n      name: Create release\n      uses: actions/create-release@latest\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        tag_name: ${{ steps.create-tag.outputs.tag_name }}\n        release_name: ${{ env.RELEASE_NAME_PREFIX }}${{ steps.generate-dev-log.outputs.prerelease_version }}\n        body_path: ${{ steps.generate-dev-log.outputs.release_log_path }}\n        draft: false\n        prerelease: true\n\n    - id: start-new-version\n      name: Start new version\n      run: |\n\n        # 版本已发布，此时取出的预发布版本是最新版本\n        latest_version=$( echo \"${{ steps.generate-dev-log.outputs.prerelease_version }}\" )\n        echo \"🔥️ latest_version -> $latest_version\"\n\n        next_version=$( python scripts/workflows/release/version_increment.py --version \"$latest_version\" )\n        echo \"⬇️ next_version -> $next_version\"\n\n        # 检出新开发分支\n        dev_branch_name=$( echo \"${{ env.DEV_BRANCH_PREFIX }}${next_version}${{ env.DEV_BRANCH_SUFFIX }}\" )\n        echo \"🌿 dev_branch_name -> $dev_branch_name\"\n        git checkout -b \"$dev_branch_name\"\n\n        # 开发分支写入预发布版本号\n        python scripts/workflows/release/op_yaml.py -f ${{ env.APP_YAML }} --keyword-path ${{ env.VERSION_KW_P }} --op set --value \"$next_version\"\n        \n        # 修改 appVersion & version\n        python scripts/workflows/release/op_yaml.py -f support-files/kubernetes/helm/bk-nodeman/Chart.yaml --keyword-path version --op set --value \"$next_version\"\n        python scripts/workflows/release/op_yaml.py -f support-files/kubernetes/helm/bk-nodeman/Chart.yaml --keyword-path appVersion --op set --value \"$next_version\"\n\n        # 创建新开发版本的开发日志目录\n        next_version_dev_log_dir_path=$(echo \"${{ env.DEV_LOG_ROOT }}/$next_version\" )\n        echo \"📖 next_version_dev_log_dir_path -> $next_version_dev_log_dir_path\"\n        mkdir -p \"$next_version_dev_log_dir_path\"\n        touch \"$next_version_dev_log_dir_path/.gitkeep\"\n\n        # 推送到仓库\n        git add .\n        git commit -m \"minor: start new version $next_version\"\n        git push origin \"$dev_branch_name\"\n        echo \"✨️ dev_branch -> $dev_branch_name has been created\"\n\n    - id: celebrate\n      name: Celebrate\n      run: |\n        echo \"🎉 Worth celebrating\"\n        echo \"🍻 All steps are successfully completed\"\n        echo \"👋 Goodbye!\"\n", "state": "active", "repository": "tencentblueking/bk-nodeman"}
{"mined_at": "2024-07-15T16:17:43.325510", "created_at": "2021-07-28T03:51:05+02:00", "updated_at": "2021-07-28T03:51:05+02:00", "name": "CodeCov", "path": ".github/workflows/codecov.yml", "contents": "name: CodeCov\non: [push, pull_request]\njobs:\n  run:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        BKPAAS_BK_CRYPTO_TYPE:\n          - \"CLASSIC\"\n          - \"SHANGMI\"\n        PYTHON_VERSION:\n          - \"3.6\"\n    name: \"[CodeCov][${{ matrix.BKPAAS_BK_CRYPTO_TYPE }}] with Python ${{ matrix.PYTHON_VERSION }}\"\n    env:\n      DJANGO_SETTINGS_MODULE: \"settings\"\n      DEBUG: true\n      BKPAAS_ENGINE_REGION: \"open\"\n      RUN_ENV: \"open\"\n      APP_CODE: \"bk_nodeman\"\n      APP_ID: \"bk_nodeman\"\n      SECRET_KEY: \"12345678-1234-5678-1234-123456789012\"\n      APP_TOKEN: \"12345678-1234-5678-1234-123456789012\"\n      BK_BACKEND_CONFIG: \"\"\n      BK_PAAS_HOST: \"http://127.0.0.1\"\n      BK_IAM_V3_INNER_HOST: \"127.0.0.1\"\n      BKAPP_CRYPTO_TYPE: ${{ matrix.BKAPP_CRYPTO_TYPE }}\n      BKAPP_BKNODEMAN_NGINX_URL: \"127.0.0.1\"\n      BKAPP_BACKEND_HOST: \"http://127.0.0.1\"\n      BKAPP_BK_NODE_APIGATEWAY: \"http://127.0.0.1:8000/\"\n      BKAPP_NODEMAN_CALLBACK_URL: \"http://127.0.0.1:10300/backend\"\n      BKAPP_NODEMAN_OUTER_CALLBACK_URL: \"http://127.0.0.1:10300/backend\"\n      BROKER_URL: \"redis://localhost:6379/0\"\n      MYSQL_NAME: \"bk_nodeman\"\n      MYSQL_USER: \"root\"\n      MYSQL_PASSWORD: \"root\"\n      MYSQL_HOST: \"localhost\"\n      MYSQL_PORT: 3306\n      MYSQL_TEST_NAME: \"bk_nodeman_test\"\n      WORKFLOW_DIR: \"scripts/workflows\"\n      YUM_INSTALL_SERVICE: \"\"\n      CREATE_PYTHON_VENV: \"\"\n    services:\n      # Label used to access the service container\n      redis:\n        # Docker Hub image\n        image: redis\n        # Set health checks to wait until redis has started\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps port 6379 on service container to the host\n          - 6379:6379\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v2\n    - name: Setup Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.PYTHON_VERSION }}\n    - name: Setup Mysql\n      run: |\n        sudo systemctl start mysql.service\n    - name: Generate Report\n      run: |\n        ./scripts/workflows/bk_ci.sh\n    - name: Upload Coverage to Codecov\n      uses: codecov/codecov-action@v1\n", "state": "active", "repository": "tencentblueking/bk-nodeman"}
{"mined_at": "2024-07-15T16:17:44.446325", "created_at": "2021-07-28T03:51:05+02:00", "updated_at": "2021-07-28T03:51:05+02:00", "name": "Flake8 and Black", "path": ".github/workflows/python-app.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Flake8 and Black\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.6\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.6\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 black\n    - name: Lint with flake8\n      run: |\n        flake8\n    - name: Format with black\n      run: |\n        black .", "state": "active", "repository": "tencentblueking/bk-nodeman"}
{"mined_at": "2024-07-15T16:17:45.560872", "created_at": "2022-12-22T13:22:53+01:00", "updated_at": "2022-12-22T14:42:18+01:00", "name": "Push rc tag", "path": ".github/workflows/release_1_push_rc_tag.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Push rc tag\n\non:\n  push:\n    branches:\n      - \"v[0-9]+.[0-9]+.x\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      # 构建环境的Python版本\n      PYTHON_VERSION: \"3.7\"\n      # yaml中版本的描述路径\n      VERSION_KW_P: \"version\"\n      # 描述app的yaml文件\n      APP_DESC_YAML: \"app.yml\"\n      # tag 名称前缀\n      TAG_NAME_PREFIX: \"v\"\n      # 临时Tag名称后缀\n      TEMP_TAG_NAME_SUFFIX: \"-alpha\"\n\n    steps:\n    - id: checkout\n      name: Checkout\n      uses: actions/checkout@v2\n\n    - id: set-up-python\n      name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n\n    - id: install-requirements\n      name: Install requirements\n      run: |\n        pip install PyYAML\n        pip install packaging\n        pip install ruamel.yaml\n    - id: set-env\n      name: Set env\n      run: |\n        # 从yaml文件中获取待发布版本号\n        prerelease_version=$( python scripts/workflows/release/op_yaml.py -f ${{ env.APP_DESC_YAML }} --keyword-path ${{ env.VERSION_KW_P }} --op get )\n        echo \"🚀 prerelease_version -> $prerelease_version\"\n        # 预发布版本号\n        echo \"PRERELEASE_VERSION=$prerelease_version\" >> $GITHUB_ENV\n        # 临时tag名称\n        echo \"TEMPORARY_TAG_NAME=${{ env.TAG_NAME_PREFIX }}$prerelease_version${{ env.TEMP_TAG_NAME_SUFFIX }}\" >> $GITHUB_ENV\n    - id: create-temporary-tag\n      name: Create temporary tag\n      uses: actions/github-script@v5\n      with:\n        github-token: ${{ secrets.TOKEN_FOR_TENCENT }}\n        script: |\n          github.rest.git.createRef({\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            ref: 'refs/tags/${{ env.TEMPORARY_TAG_NAME }}',\n            sha: context.sha\n          })\n    - id: celebrate\n      name: Celebrate\n      run: |\n        echo \"🎉 Worth celebrating\"\n        echo \"🍻 All steps are successfully completed\"\n        echo \"👋 Goodbye!\"\n", "state": "active", "repository": "tencentblueking/bk-nodeman"}
{"mined_at": "2024-07-15T16:17:46.734429", "created_at": "2022-12-22T13:22:53+01:00", "updated_at": "2022-12-22T14:42:18+01:00", "name": "Create release", "path": ".github/workflows/release_2_create_release.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Create release\n\non:\n  push:\n    tags:\n      # 仅监听预发布tag的创建\n      - \"v[0-9]+.[0-9]+.[0-9]+-*\"\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    env:\n      # 构建环境的Python版本\n      PYTHON_VERSION: \"3.7\"\n      # yaml中版本的描述路径\n      VERSION_KW_P: \"version\"\n      # 描述app的yaml文件\n      APP_DESC_YAML: \"app.yml\"\n      # 发布日志所在目录\n      RELEASE_LOG_ROOT: \"release\"\n      # 发布日志README文档所在文件\n      RELEASE_MD_PATH: \"docs/release.md\"\n      # tag 名称前缀\n      TAG_NAME_PREFIX: \"v\"\n      # 临时Tag名称后缀\n      TEMP_TAG_NAME_SUFFIX: \"-alpha\"\n      # 开发分支名称后缀\n      DEV_BRANCH_SUFFIX: \"-dev\"\n\n    steps:\n    - id: checkout\n      name: Checkout\n      uses: actions/checkout@v2\n\n    - id: set-up-python\n      name: Set up Python ${{ env.PYTHON_VERSION }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n\n    - id: install-requirements\n      name: Install requirements\n      run: |\n        pip install PyYAML\n        pip install packaging\n        pip install ruamel.yaml\n    - id: set-env\n      name: Set env\n      run: |\n        git config --global user.email \"${{ secrets.GIT_EMAIL }}\"\n        git config --global user.name \"${{ secrets.GIT_NAME }}\"\n        git fetch --all\n        # github 公共变量\n        # Github repo url\n        echo \"GITHUB_REPO_URL=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY\" >> $GITHUB_ENV\n        # 主分支\n        echo \"DEFAULT_BRANCH=${{ github.event.repository.default_branch }}\" >> $GITHUB_ENV\n        # 从yaml文件中获取待发布版本号\n        prerelease_version=$( python scripts/workflows/release/op_yaml.py -f ${{ env.APP_DESC_YAML }} --keyword-path ${{ env.VERSION_KW_P }} --op get )\n        # 临时tag名称\n        echo \"TEMPORARY_TAG_NAME=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n        # 预发布版本号\n        echo \"PRERELEASE_VERSION=$prerelease_version\" >> $GITHUB_ENV\n        # 预发布Tag名称\n        echo \"TAG_NAME=${{ env.TAG_NAME_PREFIX }}$prerelease_version\" >> $GITHUB_ENV\n    - id: validated-version\n      name: Validated version\n      run: |\n        if [[ \"${{ env.TEMPORARY_TAG_NAME }}\" == \"${{ env.TAG_NAME }}${{ env.TEMP_TAG_NAME_SUFFIX }}\" ]]\n        then\n          exit 0\n        else\n          echo \"⚠️ ${{ env.TEMPORARY_TAG_NAME }} != ${{ env.TAG_NAME }}${{ env.TEMP_TAG_NAME_SUFFIX }}\"\n          exit 1\n        fi\n    - id: build-release-log\n      name: Build release log\n      uses: mikepenz/release-changelog-builder-action@v3.5.0\n      with:\n        # 参考：https://github.com/mikepenz/release-changelog-builder-action\n        configuration: \".github/configuration.json\"\n        commitMode: true\n        ignorePreReleases: false\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - id: delete-temporary-tag\n      name: Delete temporary tag\n      uses: actions/github-script@v5\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        # 参考 https://octokit.github.io/rest.js/v18#git-delete-ref\n        # 参考 https://github.com/actions/github-script\n        script: |\n          github.rest.git.deleteRef({\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            ref: 'tags/${{ env.TEMPORARY_TAG_NAME }}'\n          })\n    - id: push-release-log\n      name: Push release log\n      run: |\n        # 获取发布日志路径并更新发布日志\n        echo \"${{ steps.build-release-log.outputs.changelog }}\" >> /tmp/log.md\n        # mikepenz/release-changelog-builder-action 无法使用输出变量 steps.build-release-log.outputs.fromTag，暂时采用模板渲染的方式\n        sed -i \"s|__TO_TAG___|${{ env.TAG_NAME }}|g\" /tmp/log.md\n        sed -i \"s|__GITHUB_REPO_URL__|${{ env.GITHUB_REPO_URL }}|g\" /tmp/log.md\n        release_log_path=$( python scripts/workflows/release/upgrade_release_log.py -r ${{ env.RELEASE_LOG_ROOT }} -v ${{ env.PRERELEASE_VERSION }} -p ${{ env.RELEASE_MD_PATH }} -l /tmp/log.md )\n        \n        # 输出release日志路径及内容\n        echo \"🌟 release_log_path -> $release_log_path\"\n        echo \"📒 release_log -> 👇👇👇 $( cat \"$release_log_path\" )\"\n        # 切换到默认分支\n        git checkout ${{ env.DEFAULT_BRANCH }}\n        # 推送发布日志\n        git add .\n        git commit -m \"minor: auto push ${{ env.PRERELEASE_VERSION }} release log\"\n        git push origin ${{ env.DEFAULT_BRANCH }}\n        echo \"✨️ default branch -> ${{ env.DEFAULT_BRANCH }} has been updated\"\n        # 设置输出\n        echo \"::set-output name=release_log_path::$(echo $release_log_path)\"\n    - id: create-tag\n      name: Create tag\n      run: |\n        echo \"🏷️ tag -> ${{ env.TAG_NAME }} will be created\"\n        release_log=$( cat ${{ steps.push-release-log.outputs.release_log_path }} )\n        # 创建并推送标签\n        # --cleanup=verbatim 修改默认的注释清理模式，保持完整的提交信息，默认的模式会将 # 开头的信息视为注释行\n        # 参考：https://stackoverflow.com/questions/2788092/start-a-git-commit-message-with-a-hashmark\n        # 参考：https://git.kernel.org/pub/scm/git/git.git/plain/Documentation/git-commit.txt\n        git tag -a \"${{ env.TAG_NAME }}\" -m \"$release_log\" --cleanup=verbatim\n        git push origin \"${{ env.TAG_NAME }}\"\n        echo \"✨️ tag -> ${{ env.TAG_NAME }} has been created\"\n    - id: start-new-version\n      name: Start new version\n      run: |\n        # 获取下一个版本\n        next_version=$( python scripts/workflows/release/version_increment.py --version ${{ env.PRERELEASE_VERSION }} )\n        echo \"⬇️ next_version -> $next_version\"\n        # 检出新开发分支\n        dev_branch_name=$( echo \"${{ env.TAG_NAME_PREFIX }}${next_version}${{ env.DEV_BRANCH_SUFFIX }}\" )\n        echo \"🌿 dev_branch_name -> $dev_branch_name\"\n        git checkout -b \"$dev_branch_name\"\n        # 开发分支写入预发布版本号\n        python scripts/workflows/release/op_yaml.py -f ${{ env.APP_DESC_YAML }} --keyword-path ${{ env.VERSION_KW_P }} --op set --value \"$next_version\"\n        # 推送到仓库\n        git add . && git commit -m \"minor: start new version $next_version\" && git push origin \"$dev_branch_name\"\n        echo \"✨️ dev_branch -> $dev_branch_name has been created\"\n    - id: create-release\n      name: Create release\n      uses: actions/create-release@latest\n      env:\n        GITHUB_TOKEN: ${{ secrets.TOKEN_FOR_TENCENT }}\n      with:\n        tag_name: ${{ env.TAG_NAME }}\n        release_name: ${{ env.TAG_NAME }}\n        body_path: ${{ steps.push-release-log.outputs.release_log_path }}\n        draft: false\n        prerelease: true\n\n    - id: celebrate\n      name: Celebrate\n      run: |\n        echo \"🎉 Worth celebrating\"\n        echo \"🍻 All steps are successfully completed\"\n        echo \"👋 Goodbye!\"\n", "state": "active", "repository": "tencentblueking/bk-nodeman"}
{"mined_at": "2024-07-15T16:17:48.843125", "created_at": "2021-09-04T20:09:16+02:00", "updated_at": "2021-09-16T22:35:34+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        pip install --upgrade setuptools tox\n        pip install .[lint]\n\n    - name: Run Tox\n      run: tox -e lint\n\n\n  test:\n    needs: [lint]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        pip install --upgrade setuptools tox\n        pip install .[test]\n        python -m playwright install     \n        python -m playwright install-deps\n\n    - name: Run Tox\n      # Run tox using the version of Python in `PATH`\n      run: tox -e py\n\n    # Upload coverage to codecov: https://codecov.io/\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        file: ./coverage.xml\n", "state": "active", "repository": "lona-web-org/lona"}
{"mined_at": "2024-07-15T16:17:51.098674", "created_at": "2021-12-21T09:58:53+01:00", "updated_at": "2021-12-21T09:58:53+01:00", "name": "all-contributors", "path": ".github/workflows/all_contributors.yml", "contents": "name: all-contributors\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    #        ┌───────────── minute (0 - 59)\n    #        │ ┌───────────── hour (0 - 23)\n    #        │ │ ┌───────────── day of the month (1 - 31)\n    #        │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │ │ │ │ │\n    #        │ │ │ │ │\n    #        │ │ │ │ │\n    - cron: \"* 0 * * *\"\n\njobs:\n  contributor:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Update README\n        uses: milvus-io/hero-bot@1.11\n        with:\n          # Required\n          token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }}\n          repos: \"towhee-io/towhee,examples\"\n          target: \"towhee-io/towhee/README.md\"\n          # Optional\n          isAscend: True\n          width: \"30px\"\n\n      - name: Update README_CN\n        uses: milvus-io/hero-bot@1.11\n        with:\n          # Required\n          token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }}\n          repos: \"towhee-io/towhee,examples\"\n          target: \"towhee-io/towhee/README_CN.md\"\n          # Optional\n          isAscend: True\n          width: \"30px\"", "state": "active", "repository": "towhee-io/towhee"}
{"mined_at": "2024-07-15T16:17:52.324871", "created_at": "2022-01-07T12:09:30+01:00", "updated_at": "2022-01-07T12:09:30+01:00", "name": "Check Towhee docs update", "path": ".github/workflows/check-docs-update.yml", "contents": "name: Check Towhee docs update\n\non:\n  push:\n    branches:\n      - 'main'\n    paths:\n      - \"docs/**\"\n\njobs:\n  dispatch-update:\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - name: Trigger docs.towhee.io rebuild\n        uses: actions/github-script@v5\n        with:\n          github-token: ${{ secrets.TOKEN }}\n          script: |\n            github.rest.actions.createWorkflowDispatch({\n              owner: 'towhee-io',\n              repo: 'towhee-docs',\n              workflow_id: 'publish.yaml',\n              ref: 'main',\n            });\n          debug: true\n        ", "state": "active", "repository": "towhee-io/towhee"}
{"mined_at": "2024-07-15T16:17:53.452136", "created_at": "2021-09-03T13:00:40+02:00", "updated_at": "2022-08-16T20:23:09+02:00", "name": "Workflow for codecov", "path": ".github/workflows/codecov.yml", "contents": "name: Workflow for codecov\non: \n  push:\n    branches:\n      - main\n  pull_request:\n    # file paths to consider in the event\n    paths:\n      - 'towhee/**'\n      - '!**.md'\n      - 'tests/**'\n      - '.github/workflows/codecov.yml'\n      - 'test_requirements.txt'\n\njobs:\n  run:\n    runs-on: self-hosted\n    container: \n      image: towhee/towhee-ut:latest\n      options: --user root\n      volumes:\n        - /__w/towhee/towhee:/__w/towhee/towhee\n    steps:\n    - name: work around permission\n      run: |\n        git config --global --add safe.directory /__w/towhee/towhee\n        rm -rf .git/hooks/post-checkout\n    - uses: actions/checkout@master\n    - name: Generate coverage report\n      run: |\n        export TOWHEE_WORKER=True\n        rm -rf ./coverage.xml\n        pip install coverage pytest pytest-cov pytest-xdist\n        pip install -r test_requirements.txt\n        apt-get update --fix-missing && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends -y ffmpeg libsm6 libxext6\n        coverage erase\n        coverage run -m pytest\n        coverage xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3.1.0\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        files: /__w/towhee/towhee/coverage.xml\n        fail_ci_if_error: true    \n", "state": "active", "repository": "towhee-io/towhee"}
{"mined_at": "2024-07-15T16:17:54.503132", "created_at": "2022-01-17T09:39:35+01:00", "updated_at": "2022-01-17T09:39:35+01:00", "name": "Markdown Links Check", "path": ".github/workflows/markdown-check.yml", "contents": "name: Markdown Links Check\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"30 18 * * *\"\n\njobs:\n  check-links:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - uses: gaurav-nelson/github-action-markdown-link-check@v1\n        # checks all markdown files from /docs including all subfolders\n        with:\n          use-quiet-mode: 'yes'\n          use-verbose-mode: 'yes'\n          folder-path: 'docs/'\n      - uses: actions/checkout@master\n      - uses: gaurav-nelson/github-action-markdown-link-check@v1\n        # checks all markdown files from root but ignores subfolders\n        with:\n          use-quiet-mode: 'yes'\n          use-verbose-mode: 'yes'\n          max-depth: 0", "state": "active", "repository": "towhee-io/towhee"}
{"mined_at": "2024-07-15T16:17:55.706949", "created_at": "2022-07-12T09:06:23+02:00", "updated_at": "2022-07-12T09:06:23+02:00", "name": "Nightly CI", "path": ".github/workflows/nightly_ci.yml", "contents": "name: Nightly CI\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    #        ┌───────────── minute (0 - 59)\n    #        │ ┌───────────── hour (0 - 23)\n    #        │ │ ┌───────────── day of the month (1 - 31)\n    #        │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │ │ │ │ │\n    #        │ │ │ │ │\n    #        │ │ │ │ │\n    - cron: \"0 22 * * *\"\n  pull_request:\n    # file paths to consider in the event\n    paths:\n      - '.github/workflows/nightly_ci.yml'\n\njobs:\n  test:\n    name: Test\n    runs-on: self-hosted\n    container: \n      image: towhee/towhee-ut:latest\n      options: --user root\n      volumes:\n        - /__w/towhee/towhee:/__w/towhee/towhee\n    strategy:\n      matrix:\n        python: [ 3.9, 3.8, 3.7 ]\n    steps:\n    - name: work around permission\n      run: git config --global --add safe.directory /__w/towhee/towhee\n    - uses: actions/checkout@master\n    - name: Setup Python\n      uses: actions/setup-python@v2.3.1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Run Test\n      env:\n        TOWHEE_WORKER: True\n      run: |\n        cd  /__w/towhee/towhee/tests/testcases\n        apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends -y ffmpeg libsm6 libxext6\n        python3 -m pip install -U pip\n        python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple\n        python3 -m pip install --no-cache-dir -r requirements.text\n        export TOWHEE_WORKER=True\n        python3 -W ignore test_main.py\n", "state": "active", "repository": "towhee-io/towhee"}
{"mined_at": "2024-07-15T16:17:56.933051", "created_at": "2021-12-01T12:33:20+01:00", "updated_at": "2021-12-29T13:57:53+01:00", "name": "Test on pull request", "path": ".github/workflows/pr_test.yml", "contents": "name: Test on pull request\n\non:\n  pull_request:\n    branches:\n      - main\n      # file paths to consider in the event\n    paths:\n      - 'towhee/**'\n      - '!**.md'\n      - 'tests/**'\n      - '.github/workflows/pr_test.yml'\njobs:\n  test:\n    name: Test\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@master\n    - name: Setup Python\n      uses: actions/setup-python@v2.3.1\n      with:\n        python-version: 3.8\n    - name: Run Test\n      run: |\n        cd  tests/testcases\n        python3 -m pip install -U pip\n        python3 -m pip install --no-cache-dir -r requirements.text\n        export TOWHEE_WORKER=True\n        python3 -W ignore test_main.py\n", "state": "active", "repository": "towhee-io/towhee"}
{"mined_at": "2024-07-15T16:17:58.044334", "created_at": "2021-12-01T14:39:29+01:00", "updated_at": "2021-12-01T14:39:29+01:00", "name": "Publish Towhee to TestPyPI", "path": ".github/workflows/publish_dev_package.yml", "contents": "name: Publish Towhee to TestPyPI\non:\n  push:\n    branches:\n      - 'main'\njobs:\n  build-n-publish:\n    name: Build and Publish Towhee to TestPyPI\n    runs-on: ubuntu-18.04\n    steps:\n    - uses: actions/checkout@master\n    - name: Setup Python\n      uses: actions/setup-python@v2.3.1\n      with:\n        python-version: 3.8\n    - name: Get history and tags for SCM versioning\n      run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n    - name: Run Test\n      run: |\n        cd  tests/testcases\n        python3 -m pip install -U pip\n        python3 -m pip install --no-cache-dir -r requirements.text\n        export TOWHEE_WORKER=True\n        python3 -W ignore test_main.py\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: \"${{ secrets.TEST_PYPI_USER }}\"\n        password: \"${{ secrets.TEST_PYPI_PASSWORD }}\"\n        repository_url: https://test.pypi.org/legacy/", "state": "active", "repository": "towhee-io/towhee"}
{"mined_at": "2024-07-15T16:17:59.049639", "created_at": "2022-11-10T07:13:12+01:00", "updated_at": "2022-11-10T09:33:06+01:00", "name": "Publish Towhee.models to TestPyPI", "path": ".github/workflows/publish_model_package.yml", "contents": "name: Publish Towhee.models to TestPyPI\non:\n  push:\n    branches:\n      - 'main'\n    paths:\n      - 'towhee/models/**'\n      - '.github/workflows/publish_model_package.yml'\njobs:\n  build-n-publish:\n    name: Build and Publish Towhee.models to TestPyPI\n    runs-on: ubuntu-18.04\n    steps:\n    - uses: actions/checkout@master\n    - name: Setup Python\n      uses: actions/setup-python@v2.3.1\n      with:\n        python-version: 3.8\n    - name: Get history and tags for SCM versioning\n      run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n    - name: Run Test\n      run: |\n        cd  tests/testcases\n        python3 -m pip install -U pip\n        python3 -m pip install --no-cache-dir -r requirements.text\n        export TOWHEE_WORKER=True\n        python3 -W ignore test_main.py\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python\n        setup.py\n        --models\n        bdist_wheel\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: \"${{ secrets.TEST_PYPI_USER }}\"\n        password: \"${{ secrets.TEST_PYPI_PASSWORD }}\"\n        repository_url: https://test.pypi.org/legacy/", "state": "active", "repository": "towhee-io/towhee"}
{"mined_at": "2024-07-15T16:18:00.096891", "created_at": "2022-08-11T15:52:44+02:00", "updated_at": "2022-08-12T05:28:38+02:00", "name": "Publish UT Image", "path": ".github/workflows/publish_ut_image.yml", "contents": "name: Publish UT Image\n\n# This workflow is triggered on pushes or pull request to the repository.\non:\n  push:\n    # file paths to consider in the event. Optional; defaults to all.\n    paths:\n      - 'Dockerfile'\n      - 'GPUDockerfile'\n      - 'requirement.txt'\n      - '.github/workflows/publish_ut_image.yml'\n  pull_request:\n    # file paths to consider in the event. Optional; defaults to all.\n    paths:\n      - 'Dockerfile'\n      - 'GPUDockerfile'\n      - 'requirement.txt'\n      - '.github/workflows/publish_ut_image.yml'\n\njobs:\n  publish-ut-images:\n    name: UT\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Get version from system time after release step\n        id: extracter\n        run: |\n          echo \"::set-output name=version::$(date +%Y%m%d)\"\n          echo \"::set-output name=sha_short::$(git rev-parse --short HEAD)\"\n      - name: Docker Build\n        shell: bash\n        run: |  \n          export IMAGE_TAG=${{ steps.extracter.outputs.version }}-${{ steps.extracter.outputs.sha_short }}\n          DOCKER_BUILDKIT=1 docker build -t towhee/towhee-ut:${IMAGE_TAG} -t towhee/towhee-ut:latest -f Dockerfile .\n          DOCKER_BUILDKIT=1 docker build -t towhee/towhee-ut:gpu-latest -f GPUDockerfile .\n      - name: Docker Push\n        if: success() && github.event_name == 'push' && github.repository == 'towhee-io/towhee'\n        continue-on-error: true\n        shell: bash\n        run: |\n          docker login -u ${{ secrets.DOCKERHUB_USER }} \\\n                       -p ${{ secrets.DOCKERHUB_TOKEN }}\n          export IMAGE_TAG=${{ steps.extracter.outputs.version }}-${{ steps.extracter.outputs.sha_short }}\n          docker push towhee/towhee-ut:${IMAGE_TAG}\n          docker push towhee/towhee-ut:latest\n          docker push towhee/towhee-ut:gpu-latest\n          echo \"Push towhee-ut image Succeeded\"\n\n", "state": "active", "repository": "towhee-io/towhee"}
{"mined_at": "2024-07-15T16:18:01.224225", "created_at": "2021-09-03T13:00:40+02:00", "updated_at": "2021-09-07T03:35:33+02:00", "name": "Workflow for pylint", "path": ".github/workflows/pylint.yml", "contents": "name: Workflow for pylint\non:\n  pull_request:\n    branches:\n      - main\n      # file paths to consider in the event\n    paths:\n      - 'towhee/**'\n      - '!**.md'\n      - 'tests/**'\n      - '.github/workflows/pylint.yml'\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3.0.0\n    - name: Setup Python\n      uses: actions/setup-python@v3.0.0\n      with:\n        python-version: 3.8\n    - name: Python pylint\n      run: |\n        pip install pylint==2.10.2\n        pylint --rcfile=pylint.conf --output-format=colorized towhee && pylint --rcfile=pylint.conf --output-format=colorized tests.unittests\n", "state": "active", "repository": "towhee-io/towhee"}
{"mined_at": "2024-07-15T16:18:02.286030", "created_at": "2022-07-12T09:06:23+02:00", "updated_at": "2022-07-12T09:06:23+02:00", "name": "Weekly CI", "path": ".github/workflows/weekly_ci.yml", "contents": "name: Weekly CI\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    #        ┌───────────── minute (0 - 59)\n    #        │ ┌───────────── hour (0 - 23)\n    #        │ │ ┌───────────── day of the month (1 - 31)\n    #        │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │ │ │ │ │\n    #        │ │ │ │ │\n    #        │ │ │ │ │\n    - cron: \"0 0 * * 6\"\n  pull_request:\n    # file paths to consider in the event\n    paths:\n      - '.github/workflows/weekly_ci.yml'\n      - 'tests/testcases/hub/execute_hub_operators.py'\n\njobs:\n  test:\n    name: Test\n    runs-on: self-hosted\n    container: \n      image: towhee/towhee-ut:latest\n      options: --user root\n      volumes:\n        - /__w/towhee/towhee:/__w/towhee/towhee\n        - /home/super/towhee_CI:/workspace/towhee_CI\n    steps:\n    - name: work around permission\n      run: |\n        git config --global --add safe.directory /__w/towhee/towhee\n        git config --global --add safe.directory /workspace/towhee_CI/operator-tasks\n        apt-get install git-lfs\n        git lfs install\n    - uses: actions/checkout@master\n    - name: Run Test\n      env:\n        TOWHEE_WORKER: True\n      run: |\n        cd  /__w/towhee/towhee/tests/testcases\n        apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends -y ffmpeg libsm6 libxext6\n        apt-get install -y gcc g++\n        apt-get install wget\n        python3 -m pip install -U pip\n        python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple\n        python3 -m pip install --no-cache-dir -r requirements.text\n        cd  /__w/towhee/towhee/tests/testcases/hub\n        export TOWHEE_WORKER=True\n        export MKL_THREADING_LAYER=GNU\n        export MKL_SERVICE_FORCE_INTEL=1\n        rm -rf ~/.towhee/*\n        python3 -W ignore execute_hub_operators.py\n", "state": "active", "repository": "towhee-io/towhee"}
{"mined_at": "2024-07-15T16:18:03.386391", "created_at": "2022-09-09T05:42:36+02:00", "updated_at": "2022-09-09T06:55:56+02:00", "name": "Weekly GPU CI", "path": ".github/workflows/weekly_gpu_ci.yml", "contents": "name: Weekly GPU CI\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    #        ┌───────────── minute (0 - 59)\n    #        │ ┌───────────── hour (0 - 23)\n    #        │ │ ┌───────────── day of the month (1 - 31)\n    #        │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │ │ │ │ │\n    #        │ │ │ │ │\n    #        │ │ │ │ │\n    - cron: \"0 0 * * 0\"\n  pull_request:\n    # file paths to consider in the event\n    paths:\n      - '.github/workflows/weekly_gpu_ci.yml'\n      - 'tests/testcases/hub/execute_hub_operators.py'\n\njobs:\n  test:\n    name: Test\n    runs-on: self-hosted\n    container: \n      image: towhee/towhee-ut:gpu-latest\n      options: --user root\n      volumes:\n        - /__w/towhee/towhee:/__w/towhee/towhee\n        - /home/super/towhee_CI:/workspace/towhee_CI\n    steps:\n    - name: work around permission\n      run: |\n        git config --global --add safe.directory /__w/towhee/towhee\n        git config --global --add safe.directory /workspace/towhee_CI/operator-tasks\n        apt-get install git-lfs\n        git lfs install\n    - uses: actions/checkout@master\n    - name: Run Test\n      env:\n        TOWHEE_WORKER: True\n      run: |\n        cd  /__w/towhee/towhee/tests/testcases\n        apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends -y ffmpeg libsm6 libxext6\n        apt-get install -y gcc g++\n        apt-get install wget\n        python3 -m pip install -U pip\n        python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple\n        python3 -m pip install --no-cache-dir -r requirements.text\n        cd  /__w/towhee/towhee/tests/testcases/hub\n        export TOWHEE_WORKER=True\n        export MKL_THREADING_LAYER=GNU\n        export MKL_SERVICE_FORCE_INTEL=1\n        rm -rf ~/.towhee/*\n        python3 -W ignore execute_hub_operators.py\n", "state": "active", "repository": "towhee-io/towhee"}
{"mined_at": "2024-07-15T16:18:05.637704", "created_at": "2022-10-03T23:45:56+02:00", "updated_at": "2022-10-03T23:45:56+02:00", "name": "PyPI release", "path": ".github/workflows/pypi-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: PyPI release\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "biothings/biothings.api"}
{"mined_at": "2024-07-15T16:18:06.763223", "created_at": "2021-06-25T21:12:11+02:00", "updated_at": "2021-06-25T21:27:53+02:00", "name": "Tests", "path": ".github/workflows/run-tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n    - master\n\njobs:\n  install_and_run_tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: pip install -e \".[dev]\"\n      - name: Run Tests\n        run: pytest tests\n        # env:\n        #   HUB_CONFIG: 'tests.test_config'\n\n    services:\n      Elasticsearch:\n        image: docker.elastic.co/elasticsearch/elasticsearch:8.6.1\n        env:\n          \"discovery.type\" : single-node\n          \"xpack.security.enabled\": false\n        ports:\n          - 9200:9200\n", "state": "active", "repository": "biothings/biothings.api"}
{"mined_at": "2024-07-15T16:18:07.960324", "created_at": "2021-06-25T21:27:53+02:00", "updated_at": "2021-06-25T21:28:40+02:00", "name": "Build", "path": ".github/workflows/test-build.yml", "contents": "name: Build\n\non:\n  push:\n    branches:\n    - master\n\njobs:\n  build_package:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: pip install build\n      - name: Build wheel\n        run: python -m build\n", "state": "active", "repository": "biothings/biothings.api"}
{"mined_at": "2024-07-15T16:18:10.246935", "created_at": "2022-12-09T19:36:38+01:00", "updated_at": "2022-12-10T02:55:17+01:00", "name": "Pylint", "path": ".github/workflows/linter.yml", "contents": "name: Pylint\n\non:\n  push:\n    branches:\n      - '**'\n  pull_request:\n    branches:\n      - main\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.8\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pylint==3.1.0\n    - name: Running Pylint\n      run: |\n        pylint --rcfile=.pylintrc $(git ls-files '*.py')\n", "state": "active", "repository": "googlecloudplatform/dfcx-scrapi"}
{"mined_at": "2024-07-15T16:18:11.352650", "created_at": "2023-08-10T00:14:29+02:00", "updated_at": "2023-08-10T00:14:29+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googlecloudplatform/dfcx-scrapi"}
{"mined_at": "2024-07-15T16:18:13.417087", "created_at": "2021-08-25T00:53:56+02:00", "updated_at": "2022-12-24T18:44:46+01:00", "name": "Type check", "path": ".github/workflows/type-check.yml", "contents": "name: Type check\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: \"0 12 * * 6\"\n  workflow_dispatch:\n\njobs:\n  type-check:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: install prerequisites\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Run type checker\n        run: python -m nox -s type-check\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:14.438280", "created_at": "2021-08-25T00:53:56+02:00", "updated_at": "2022-12-24T18:44:46+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: \"0 12 * * 6\"\n  workflow_dispatch:\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: install prerequisites\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Lint markup\n        run: python -m nox -s verify-markup\n\n      - name: Check spelling\n        run: python -m nox -s spell-check\n\n      - name: Lint with flake8\n        run: python -m nox -s flake8\n\n      - name: Check slotting\n        run: python -m nox -s slot-check\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:15.569823", "created_at": "2021-08-27T07:26:41+02:00", "updated_at": "2021-08-29T05:34:21+02:00", "name": "Publish a new release", "path": ".github/workflows/publish.yml", "contents": "name: Publish a new release\n\non:\n  release:\n    # Only use the types keyword to narrow down the activity types that will trigger your workflow.\n    types:\n      - published\n\njobs:\n  publish-docs:\n    uses: ./.github/workflows/release-docs.yml\n\n  publish:\n    name: upload release to PyPI\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: Build project\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n          python -m nox -s build\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:16.684375", "created_at": "2021-12-19T11:19:34+01:00", "updated_at": "2021-12-19T11:19:34+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:17.675039", "created_at": "2022-11-22T13:32:22+01:00", "updated_at": "2022-11-22T13:42:55+01:00", "name": "Deploy PR preview docs", "path": ".github/workflows/pr-docs.yml", "contents": "name: Deploy PR preview docs\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n      - closed\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  deploy-docs-preview:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Fetch merge branch\n        uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        if: github.event.action != 'closed'\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: install prerequisites\n        if: github.event.action != 'closed'\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Build docs\n        if: github.event.action != 'closed'\n        run: |\n          mkdir site\n          python -m nox -s generate-docs -- -o ./site\n\n      - name: Deploy preview\n        uses: FasterSpeeding/pr-preview-action@task/override-committer\n        with:\n          git-config-email: \"120557446+always-on-duty[bot]@users.noreply.github.com\"\n          git-config-name: \"always-on-duty[bot]\"\n          preview-branch: docs\n          source-dir: ./site/\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:18.949389", "created_at": "2022-11-22T13:42:55+01:00", "updated_at": "2022-11-22T13:42:55+01:00", "name": "Publish documentation", "path": ".github/workflows/release-docs.yml", "contents": "name: Publish documentation\n\non:\n  workflow_call:\n  workflow_dispatch:\n\njobs:\n  publish-docs:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: Install prerequisites\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Build docs\n        id: doc_info\n        run: |\n          mkdir site\n          python -m nox -s generate-docs -- -o ./site -j\n          echo \"GIT_HASH=$(git rev-parse HEAD)\" >> $GITHUB_STATE\n\n      - name: Push\n        uses: JamesIves/github-pages-deploy-action@ec9c88baef04b842ca6f0a132fd61c762aa6c1b0\n        with:\n          branch: docs\n          commit-message: \"${{ steps.doc_info.outputs.GIT_HASH }} docs (${{ github.event.release.tag_name || github.event.ref }})\"\n          clean-exclude: pr-preview\n          folder: ./site\n          git-config-email: \"120557446+always-on-duty[bot]@users.noreply.github.com\"\n          git-config-name: \"always-on-duty[bot]\"\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:20.173103", "created_at": "2022-11-24T13:07:20+01:00", "updated_at": "2022-11-24T13:25:34+01:00", "name": "Reformat PR code", "path": ".github/workflows/reformat.yml", "contents": "name: Reformat PR code\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  reformat:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: install prerequisites\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Reformat\n        run: python -m nox -s reformat bot-package-diff\n\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808\n        with:\n          name: gogo.patch\n          path: gogo.patch\n\n      - name: Check diff file\n        run: python -m nox -s is-diff-file-empty\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:21.186601", "created_at": "2022-12-06T10:29:49+01:00", "updated_at": "2022-12-21T05:22:46+01:00", "name": "Freeze PR dependency changes", "path": ".github/workflows/freeze-for-pr.yml", "contents": "name: Freeze PR dependency changes\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    branches:\n      - master\n    paths: [\"piped\", \"pyproject.toml\", \"requirements.in\", \"dev-requirements/*.in\", \"!dev-requirements/constraints.in\"]\n\njobs:\n  freeze-pr-dep-changes:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: install prerequisites\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Upgrade dependency locks\n        run: python -m nox -s freeze-locks bot-package-diff\n\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808\n        with:\n          name: gogo.patch\n          path: gogo.patch\n\n      - name: Check diff file\n        run: python -m nox -s is-diff-file-empty\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:22.195495", "created_at": "2022-12-10T23:38:39+01:00", "updated_at": "2022-12-24T18:44:46+01:00", "name": "Run tests", "path": ".github/workflows/py-test.yml", "contents": "name: Run tests\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: \"0 12 * * 6\"\n  workflow_dispatch:\n\njobs:\n  py-test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install prerequisites\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Run tests\n        run: |\n          python -m nox -s test\n\n  # TODO: Could we switch over to gather coverage from the normal test runs and combining\n  # the result once https://github.com/nedbat/coveragepy/issues/1002 is fixed?\n  upload-coverage:\n    # needs: [test]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: install prerequisites\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Record coverage\n        run: |\n          python -m nox -s test-coverage\n\n      - name: Upload coverage\n        uses: paambaati/codeclimate-action@b74bb25d2074a4bc16bd06fffc1b299c07b1f886\n        env:\n          CC_TEST_REPORTER_ID: 117363998d7c6b4bab4ac57348026e1089767e142ccca3eb8cc37da6cf4cc8b9\n        with:\n          coverageLocations: .coverage.xml:coverage.py\n\n      - name: Archive coverage\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808\n        with:\n          name: coverage\n          path: ./coverage_html\n          if-no-files-found: error\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:23.324456", "created_at": "2022-12-10T23:38:39+01:00", "updated_at": "2022-12-24T18:44:46+01:00", "name": "Verify type-completeness", "path": ".github/workflows/verify-types.yml", "contents": "name: Verify type-completeness\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: \"0 12 * * 6\"\n  workflow_dispatch:\n\njobs:\n  verify-types:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: install prerequisites\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Run verify types\n        run: python -m nox -s verify-types\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:24.369110", "created_at": "2022-12-11T04:04:49+01:00", "updated_at": "2022-12-24T18:44:46+01:00", "name": "Resync piped", "path": ".github/workflows/resync-piped.yml", "contents": "name: Resync piped\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    branches:\n      - master\n    paths: [\"piped\", \"piped.toml\", \"pyproject.toml\"]\n\njobs:\n  resync-piped:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: install prerequisites\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Resync Piped\n        run: python -m nox -s copy-piped bot-package-diff\n\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808\n        with:\n          name: gogo.patch\n          path: gogo.patch\n\n      - name: Check diff file\n        run: python -m nox -s is-diff-file-empty\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:25.367387", "created_at": "2022-12-11T15:56:50+01:00", "updated_at": "2022-12-24T18:44:46+01:00", "name": "Verify dependency locks", "path": ".github/workflows/verify-locks.yml", "contents": "# This is run to avoid an edge case where the latest version of a (probably sub)\n# dependency being yanked leads to pip failing to backtrack the dep.\n# This happened with `cachecontrol==0.12.12 ; python_version >= \"3.7\" and python_version < \"4.0\"`.\nname: Verify dependency locks\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    branches:\n      - master\n    paths: [\"dev-requirements/*.txt\"]\n\njobs:\n  verify-pr-dep-changes:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: install prerequisites\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Verify dependency locks\n        run: python -m nox -s verify-deps\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:26.418101", "created_at": "2022-12-24T18:44:46+01:00", "updated_at": "2022-12-24T18:44:46+01:00", "name": "Upgrade dependency locks", "path": ".github/workflows/upgrade-locks.yml", "contents": "name: Upgrade dependency locks\n\non:\n  schedule:\n    - cron: \"0 12 1 * *\"\n  workflow_dispatch:\n\njobs:\n  upgrade-deps:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: install prerequisites\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Upgrade dependency locks\n        run: python -m nox -s freeze-locks\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e\n        with:\n          author: \"always-on-duty[bot] <120557446+always-on-duty[bot]@users.noreply.github.com>\"\n          branch: task/upgrade-deps\n          commit-message: Upgrade dependency locks\n          committer: \"always-on-duty[bot] <120557446+always-on-duty[bot]@users.noreply.github.com>\"\n          title: Upgrade dependency locks\n          token: ${{ secrets.ACTIONS_TOKEN || secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:27.383523", "created_at": "2023-01-11T02:44:52+01:00", "updated_at": "2023-01-11T02:44:52+01:00", "name": "Update licence", "path": ".github/workflows/update-licence.yml", "contents": "name: Update licence\n\non:\n  schedule:\n    - cron: \"0 7 1 1 *\"\n  workflow_dispatch:\n\njobs:\n  update-licence:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b\n        with:\n          submodules: \"true\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n        with:\n          python-version: \"3.9\"\n\n      - name: install prerequisites\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r ./piped/python/base-requirements/nox.txt\n\n      - name: Update licence\n        run: python -m nox -s update-licence\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e\n        with:\n          author: \"always-on-duty[bot] <120557446+always-on-duty[bot]@users.noreply.github.com>\"\n          branch: task/update-licence\n          commit-message: Update licence\n          committer: \"always-on-duty[bot] <120557446+always-on-duty[bot]@users.noreply.github.com>\"\n          title: Update licence\n          token: ${{ secrets.ACTIONS_TOKEN || secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "fasterspeeding/tanjun"}
{"mined_at": "2024-07-15T16:18:29.495223", "created_at": "2023-02-14T20:08:41+01:00", "updated_at": "2023-02-14T20:08:41+01:00", "name": "Apply 'untriaged' label during issue lifecycle", "path": ".github/workflows/add-untriaged.yml", "contents": "name: Apply 'untriaged' label during issue lifecycle\r\n\r\non:\r\n  issues:\r\n    types: [opened, reopened, transferred]\r\n\r\njobs:\r\n  apply-label:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/github-script@v6\r\n        with:\r\n          script: |\r\n            github.rest.issues.addLabels({\r\n              issue_number: context.issue.number,\r\n              owner: context.repo.owner,\r\n              repo: context.repo.repo,\r\n              labels: ['untriaged']\r\n            })\r\n", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:30.725135", "created_at": "2021-07-23T22:49:59+02:00", "updated_at": "2022-04-06T01:50:58+02:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "name: Backport\non:\n  pull_request_target:\n    types:\n      - closed\n      - labeled\n\njobs:\n  backport:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    name: Backport\n    steps:\n      - name: GitHub App token\n        id: github_app_token\n        uses: tibdex/github-app-token@v1.5.0\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_PRIVATE_KEY }}\n          installation_id: 22958780\n\n      - name: Backport\n        uses: VachaShah/backport@v1.1.4\n        with:\n          github_token: ${{ steps.github_app_token.outputs.token }}\n          branch_name: backport/backport-${{ github.event.number }}\n", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:31.851002", "created_at": "2022-10-12T21:57:46+02:00", "updated_at": "2022-10-20T20:48:56+02:00", "name": "Changelog Verifier", "path": ".github/workflows/changelog_verifier.yml", "contents": "name: \"Changelog Verifier\"\non:\n  pull_request:\n    types: [opened, edited, review_requested, synchronize, reopened, ready_for_review, labeled, unlabeled]\n\njobs:\n  # Enforces the update of a changelog file on every pull request\n  verify-changelog:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - uses: dangoslen/changelog-enforcer@v3\n        with:\n          skipLabels: \"autocut, skip-changelog\"", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:32.918599", "created_at": "2021-07-23T22:48:30+02:00", "updated_at": "2021-07-23T22:49:59+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "---\nname: CI\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python3.8 -m pip install nox\n      - name: Lint the code\n        run: nox -s lint\n  \n  generate:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python3.8 -m pip install nox\n      - name: Run the api generator\n        run: nox -s generate\n\n  test-build-distribution:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Install build tools\n        run: |\n          python3.8 -m pip install --upgrade build\n      - name: Build project for distribution\n        run: |\n          python3.8 -m build\n\n  twine-check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install setuptools wheel twine\n      - name: Build source distribution\n        run: python setup.py sdist bdist_wheel\n      - name: Check with Twine\n        working-directory: dist\n        run: twine check *\n", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:33.932256", "created_at": "2022-04-06T01:50:58+02:00", "updated_at": "2022-04-06T01:50:58+02:00", "name": "Delete merged branch of the backport PRs", "path": ".github/workflows/delete_backport_branch.yml", "contents": "name: Delete merged branch of the backport PRs\non: \n  pull_request:\n    types:\n      - closed\n  \njobs:\n  delete-branch:\n    runs-on: ubuntu-latest\n    if: startsWith(github.event.pull_request.head.ref,'backport/')\n    steps:\n      - name: Delete merged branch\n        uses: SvanBoxel/delete-merged-branch@main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:35.383760", "created_at": "2022-10-19T23:56:24+02:00", "updated_at": "2022-10-20T20:48:56+02:00", "name": "Dependabot PR actions", "path": ".github/workflows/dependabot_pr.yml", "contents": "name: Dependabot PR actions\non: \n  pull_request:\n    types:\n      - opened\n      - reopened\n      - synchronize\n      - labeled\n      - unlabeled\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n      contents: write\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: GitHub App token\n        id: github_app_token\n        uses: tibdex/github-app-token@v1.5.0\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_PRIVATE_KEY }}\n          installation_id: 22958780\n\n      - name: Check out code\n        uses: actions/checkout@v3\n        with:\n          token: ${{ steps.github_app_token.outputs.token }}\n\n      - name: Update the changelog\n        uses: dangoslen/dependabot-changelog-helper@v2\n        with:\n          version: 'Unreleased'\n\n      - name: Commit the changes\n        uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: \"Update changelog\"\n          branch: ${{ github.head_ref }}\n          commit_user_name: dependabot[bot]\n          commit_user_email: support@github.com\n          commit_options: '--signoff'", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:36.562236", "created_at": "2023-11-10T20:38:48+01:00", "updated_at": "2023-11-11T23:28:45+01:00", "name": "Build & Deploy Docs", "path": ".github/workflows/docs.yml", "contents": "name: Build & Deploy Docs\non: [push, pull_request, workflow_dispatch]\n\njobs:\n  build-and-deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n\n    - name: Install Dependencies\n      run: |\n        python3.8 -m pip install nox\n\n    - name: Make\n      run: |\n        nox -rs docs\n\n    - name: Deploy\n      uses: peaceiris/actions-gh-pages@v3\n      if: github.ref == 'refs/heads/main'\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: ./docs/build/html\n", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:37.790886", "created_at": "2022-04-11T18:48:46+02:00", "updated_at": "2022-04-13T19:47:50+02:00", "name": "Integration with Unreleased OpenSearch", "path": ".github/workflows/integration-unreleased.yml", "contents": "name: Integration with Unreleased OpenSearch\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        opensearch_ref: [ '1.x', '2.x', '2.0', 'main' ]\n        \n    steps:\n      - name: Checkout OpenSearch\n        uses: actions/checkout@v3\n        with:\n          repository: opensearch-project/opensearch\n          ref: ${{ matrix.opensearch_ref }}\n          path: opensearch\n\n      - name: Get OpenSearch branch top\n        id: get-key\n        working-directory: opensearch\n        run: echo key=`git log -1 --format='%H'` >> $GITHUB_OUTPUT\n\n      - name: Restore cached build\n        id: cache-restore\n        uses: actions/cache/restore@v3\n        with:\n          path: opensearch/distribution/archives/linux-tar/build/distributions\n          key: ${{ steps.get-key.outputs.key }}\n\n      - uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin' # See 'Supported distributions' for available options\n          java-version: '11'\n\n      - name: Assemble OpenSearch\n        if: steps.cache-restore.outputs.cache-hit != 'true'\n        working-directory: opensearch\n        run: ./gradlew :distribution:archives:linux-tar:assemble\n\n      - name: Save cached build\n        if: steps.cache-restore.outputs.cache-hit != 'true'\n        uses: actions/cache/save@v3\n        with:\n          path: opensearch/distribution/archives/linux-tar/build/distributions\n          key: ${{ steps.get-key.outputs.key }}\n\n      - name: Run OpenSearch\n        working-directory: opensearch/distribution/archives/linux-tar/build/distributions\n        run: |\n          tar xf opensearch-min-*\n          ./opensearch-*/bin/opensearch -E path.repo=/tmp &\n          for attempt in {1..20}; do sleep 5; if curl -s localhost:9200; then echo '=====> ready'; break; fi; echo '=====> waiting...'; done\n\n      - name: Checkout Python Client\n        uses: actions/checkout@v3\n        with:\n          path: opensearch-py\n\n      - name: Run Integration Test\n        env:\n          OPENSEARCH_URL: http://localhost:9200\n          TEST_TYPE: server\n          OPENSEARCH_VERSION: SNAPSHOT\n        run: |\n          mkdir -p junit\n          python -m pip install -U --no-cache-dir --disable-pip-version-check pip\n          python -m pip install --no-cache-dir --disable-pip-version-check -r dev-requirements.txt\n          python -m pip install -e .\n          python setup.py test\n        working-directory: opensearch-py\n", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:38.828380", "created_at": "2021-08-05T16:35:03+02:00", "updated_at": "2023-05-15T22:37:04+02:00", "name": "Integration Tests", "path": ".github/workflows/integration.yml", "contents": "name: Integration Tests\n\non: [push, pull_request]\n\njobs:\n  integration-pre-212:\n    name: Integ-pre-212\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        opensearch_version: [ '1.0.1', '1.1.0', '1.2.4', '1.3.7', '2.0.1', '2.1.0', '2.2.1', '2.3.0', '2.4.0', '2.5.0', '2.6.0', '2.7.0', '2.8.0', '2.9.0', '2.10.0', '2.11.1' ]\n        secured: [ \"true\", \"false\" ]\n        exclude:\n          # https://github.com/opensearch-project/opensearch-py/issues/612\n          - opensearch_version: 2.0.1\n            secured: \"true\"\n          - opensearch_version: 2.1.0\n            secured: \"true\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Integ OpenSearch secured=${{ matrix.secured }} version=${{ matrix.opensearch_version }}\n        run: \"./.ci/run-tests ${{ matrix.secured }} ${{ matrix.opensearch_version }}\"\n\n  integration-post-212:\n    name: Integ-post-212\n    runs-on: ubuntu-latest\n    env:\n      OPENSEARCH_URL: 'https://admin:myStrongPassword123!@localhost:9200'\n      OPENSEARCH_INITIAL_ADMIN_PASSWORD: 'myStrongPassword123!'\n    strategy:\n      fail-fast: false\n      matrix:\n        opensearch_version: [ '2.12.0', '2.13.0', '2.14.0' ]\n        secured: [ \"true\", \"false\" ]\n        \n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Integ OpenSearch secured=${{ matrix.secured }} version=${{ matrix.opensearch_version }}\n        run: \"./.ci/run-tests ${{ matrix.secured }} ${{ matrix.opensearch_version }}\"\n", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:39.945318", "created_at": "2022-07-13T22:55:04+02:00", "updated_at": "2022-07-21T20:06:39+02:00", "name": "Link Checker", "path": ".github/workflows/links.yml", "contents": "name: Link Checker\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"*\"\n\njobs:\n  linkchecker:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: lychee Link Checker\n        id: lychee\n        uses: lycheeverse/lychee-action@v1.5.0\n        with:\n          args: --accept=200,403,429 \"**/*.html\" \"**/*.md\" \"**/*.txt\" \"**/*.json\" --exclude-file \".github/workflows/.lychee.excludes\" --exclude-mail \n          fail: true\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n      \n", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:41.170340", "created_at": "2022-11-28T23:29:24+01:00", "updated_at": "2022-11-28T23:29:24+01:00", "name": "Release drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release drafter\n\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  draft-a-release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      issues: write\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - id: get_approvers\n        run: |\n          echo \"approvers=$(cat .github/CODEOWNERS | grep @ | tr -d '* ' | sed 's/@/,/g' | sed 's/,//1')\" >> $GITHUB_OUTPUT\n      - uses: trstringer/manual-approval@v1\n        with:\n          secret: ${{ github.TOKEN }}\n          approvers: ${{ steps.get_approvers.outputs.approvers }}\n          minimum-approvals: 1\n          issue-title: 'Release opensearch-py'\n          issue-body: \"Please approve or deny the release of opensearch-py. **Tag**: ${{ github.ref_name }}  **Commit**: ${{ github.sha }}\"\n          exclude-workflow-initiator-as-approver: true\n      - name: Set up Python 3\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.x'\n      - name: Install build tools\n        run: |\n          python -m pip install --upgrade build\n      - name: Build project for distribution\n        run: |\n          python -m build\n      - name: upload windows dists\n        uses: actions/upload-artifact@v3\n        with:\n          name: release-dists\n          path: dist/\n\n  pypi-publish:\n    runs-on: ubuntu-latest\n    needs:\n      - draft-a-release\n    permissions:\n      id-token: write\n      contents: write\n    steps:\n      - name: Retrieve release distributions\n        uses: actions/download-artifact@v3\n        with:\n          name: release-dists\n          path: dist\n      - name: Generate the artifacts\n        run: |\n          tar -zvcf artifacts.tar.gz dist\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          generate_release_notes: true\n          files: |\n            artifacts.tar.gz\n", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:42.398675", "created_at": "2023-05-15T22:26:22+02:00", "updated_at": "2023-05-15T23:48:08+02:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    strategy:\n      matrix:\n        entry:\n          - { os: 'ubuntu-latest', python-version: \"3.8\" }\n          - { os: 'ubuntu-latest', python-version: \"3.9\" }\n          - { os: 'ubuntu-latest', python-version: \"3.10\" }\n          - { os: 'ubuntu-latest', python-version: \"3.11\" }\n          - { os: 'macos-latest', python-version: \"3.11\" }\n          - { os: 'windows-latest', python-version: \"3.11\" }\n          - { os: 'ubuntu-latest', python-version: \"3.12\" }\n          - { os: 'macos-latest', python-version: \"3.12\" }\n          - { os: 'windows-latest', python-version: \"3.12\" }\n          \n    name: test (os=${{ matrix.entry.os }}, python=${{ matrix.entry.python-version }})\n    continue-on-error: ${{ matrix.entry.experimental || false }}\n    runs-on: ${{ matrix.entry.os }}\n    steps:\n      - name: Checkout Source Code\n        uses: actions/checkout@v3\n      - name: Set Up Python - ${{ matrix.entry.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.entry.python-version }}\n        env:\n          PIP_NO_PYTHON_VERSION_WARNING: 1\n          PIP_DISABLE_PIP_VERSION_CHECK: 1\n      - name: Install Dependencies\n        run: |\n          python -m pip install nox\n      - name: Run Tests\n        run: |\n          python -m nox -rs test-${{ matrix.entry.python-version }}\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v2\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./junit/opensearch-py-codecov.xml\n", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:43.525426", "created_at": "2021-07-23T22:48:31+02:00", "updated_at": "2021-07-23T22:49:59+02:00", "name": "Unified Release", "path": ".github/workflows/unified-release.yml", "contents": "name: Unified Release\n\non: [push, pull_request]\n\njobs:\n  assemble:\n    name: Assemble\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        stack_version: ['2.6.0']\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - run: \"./.ci/make.sh assemble ${{ matrix.stack_version }}\"\n        name: Assemble ${{ matrix.stack_version }}\n", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:44.595881", "created_at": "2024-02-05T20:06:31+01:00", "updated_at": "2024-02-05T20:06:31+01:00", "name": "Update API", "path": ".github/workflows/update_api.yml", "contents": "name: Update API \non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"30 3 * * *\"\njobs:\n  update-api:\n    if: ${{ github.repository == 'opensearch-project/opensearch-py' }}\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - name: Config git to rebase\n        run: git config --global pull.rebase true\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python3.8 -m pip install nox\n      - name: Generate API\n        run: nox -s generate\n      - name: Get current date\n        id: date\n        run: echo \"::set-output name=date::$(date +'%Y-%m-%d')\"\n      - name: GitHub App token\n        id: github_app_token\n        uses: tibdex/github-app-token@v1.5.0\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_PRIVATE_KEY }}\n          installation_id: 22958780\n      - name: Create pull request\n        id: cpr\n        uses: peter-evans/create-pull-request@v5\n        with:\n          token: ${{ steps.github_app_token.outputs.token }}\n          commit-message: Updated opensearch-py to reflect the latest OpenSearch API spec (${{ steps.date.outputs.date }})\n          title: Updated opensearch-py to reflect the latest OpenSearch API spec\n          body: |\n            Updated [opensearch-py](https://github.com/opensearch-project/opensearch-py) to reflect the latest [OpenSearch API spec](https://github.com/opensearch-project/opensearch-api-specification/releases/download/main-latest/opensearch-openapi.yaml)\n            Date: ${{ steps.date.outputs.date }}\n          branch: automated-api-update\n          base: main\n          signoff: true\n          labels: |\n              autocut", "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:45.768037", "created_at": "2022-03-09T19:41:38+01:00", "updated_at": "2022-03-09T19:41:38+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "opensearch-project/opensearch-py"}
{"mined_at": "2024-07-15T16:18:48.122201", "created_at": "2023-11-13T09:04:15+01:00", "updated_at": "2023-11-13T13:29:05+01:00", "name": "bklogin_ci_check", "path": ".github/workflows/bk-login.yml", "contents": "name: bklogin_ci_check\non:\n  push:\n    branches: [ main, pre_*, ft_*, release/* ]\n    paths:\n      - \"src/bk-login/**\"\n      - \"src/idp-plugins/**\"\n  pull_request:\n    branches: [ main, pre_*, ft_*, release/* ]\n    paths:\n      - \"src/bk-login/**\"\n      - \"src/idp-plugins/**\"\njobs:\n  check:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: create idp plugin symbolic link\n        run: |\n          ln -s $(pwd)/src/idp-plugins/idp_plugins $(pwd)/src/bk-login/bklogin\n      - name: Format & Lint with ruff\n        run: |\n          pip install ruff==0.1.4\n          ruff format src/bk-login --config=src/bk-login/pyproject.toml --no-cache\n          ruff src/bk-login --config=src/bk-login/pyproject.toml --no-cache\n      - name: Lint with mypy\n        run: |\n          pip install mypy==1.6.1 types-requests==2.31.0.2 types-setuptools==57.4.18 types-dataclasses==0.1.7 types-redis==3.5.18 types-PyMySQL==1.1.0.1 types-six==0.1.9 types-toml==0.1.5 types-pytz==2023.3.0.0 types-urllib3==1.26.25.14\n          mypy src/bk-login --config-file=src/bk-login/pyproject.toml\n  test:\n    strategy:\n      fail-fast: false\n    runs-on: ubuntu-latest\n    steps:\n      - name: Start MySQL Container\n        uses: samin/mysql-action@v1.3\n        with:\n          mysql version: \"8.0\"\n          mysql database: bk-login\n          mysql user: root\n          mysql password: root_pwd\n          mysql root password: root_pwd\n      - name: Start Redis Container\n        uses: supercharge/redis-github-action@1.4.0\n        with:\n          redis-version: \"3.2.0\"\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: create idp plugin symbolic link\n        run: |\n          ln -s $(pwd)/src/idp-plugins/idp_plugins $(pwd)/src/bk-login/bklogin\n      - name: Set up Poetry\n        uses: abatilo/actions-poetry@v2.3.0\n        with:\n          poetry-version: \"1.6.1\"\n      - name: Install dependencies\n        working-directory: src/bk-login\n        run: poetry install\n      - name: Run unittest\n        working-directory: src/bk-login\n        run: |\n          # random secret\n          export BK_APP_SECRET=\"fod6MKVTVi_3M5HgGoj-qI7b3l0dgCzTBwGypnDz4vg=\"\n          export BK_USER_APP_SECRET=\"Vi_3M5HgGogCzTBwGypnDz4vgfod6MKVTj-qI7b3l0d=\"\n          # random secret key\n          export BKKRILL_ENCRYPT_SECRET_KEY=\"tttHSBLiVdQPItrfy7n9dV7AxAUMZpYVkD6IHMbL0VE=\"\n          export BK_DOMAIN=\"example.com\"\n          export BK_COMPONENT_API_URL=\"\"\n          export MYSQL_PASSWORD=root_pwd\n          export MYSQL_HOST=\"127.0.0.1\"\n          export DJANGO_SETTINGS_MODULE=bklogin.settings\n          poetry run pytest ./tests\n", "state": "active", "repository": "tencentblueking/bk-user"}
{"mined_at": "2024-07-15T16:18:49.261010", "created_at": "2023-08-09T09:51:12+02:00", "updated_at": "2023-11-13T13:29:05+01:00", "name": "bkuser_ci_check", "path": ".github/workflows/bk-user.yml", "contents": "name: bkuser_ci_check\non:\n  push:\n    branches: [ main, pre_*, ft_*, release/* ]\n    paths:\n      - \"src/bk-user/**\"\n      - \"src/idp-plugins/**\"\n  pull_request:\n    branches: [ main, pre_*, ft_*, release/* ]\n    paths:\n      - \"src/bk-user/**\"\n      - \"src/idp-plugins/**\"\njobs:\n  check:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: create idp plugin symbolic link\n        run: |\n          ln -s $(pwd)/src/idp-plugins/idp_plugins $(pwd)/src/bk-user/bkuser\n      - name: Format & Lint with ruff\n        run: |\n          pip install ruff==0.1.4\n          ruff format src/bk-user --config=src/bk-user/pyproject.toml --no-cache\n          ruff src/bk-user --config=src/bk-user/pyproject.toml --no-cache\n      - name: Lint with mypy\n        run: |\n          pip install mypy==1.6.1 types-requests==2.31.0.2 types-setuptools==57.4.18 types-dataclasses==0.1.7 types-redis==3.5.18 types-PyMySQL==1.1.0.1 types-six==0.1.9 types-toml==0.1.5 types-pytz==2023.3.0.0 types-urllib3==1.26.25.14\n          mypy src/bk-user --config-file=src/bk-user/pyproject.toml\n  test:\n    strategy:\n      fail-fast: false\n    runs-on: ubuntu-latest\n    steps:\n      - name: Start MySQL Container\n        uses: samin/mysql-action@v1.3\n        with:\n          mysql version: \"8.0\"\n          mysql database: bk-user\n          mysql user: root\n          mysql password: root_pwd\n          mysql root password: root_pwd\n      - name: Start Redis Container\n        uses: supercharge/redis-github-action@1.4.0\n        with:\n          redis-version: \"3.2.0\"\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: create idp plugin symbolic link\n        run: |\n          ln -s $(pwd)/src/idp-plugins/idp_plugins $(pwd)/src/bk-user/bkuser\n      - name: Set up Poetry\n        uses: abatilo/actions-poetry@v2.3.0\n        with:\n          poetry-version: \"1.5.1\"\n      - name: Install dependencies\n        working-directory: src/bk-user\n        run: poetry install\n      - name: Run unittest\n        working-directory: src/bk-user\n        run: |\n          # random secret\n          export BK_APP_SECRET=\"fod6MKVTVi_3M5HgGoj-qI7b3l0dgCzTBwGypnDz4vg=\"\n          # random secret key\n          export BKKRILL_ENCRYPT_SECRET_KEY=\"tttHSBLiVdQPItrfy7n9dV7AxAUMZpYVkD6IHMbL0VE=\"\n          export BK_USER_URL=\"\"\n          export BK_COMPONENT_API_URL=\"\"\n          export BK_API_URL_TMPL=\"\"\n          export MYSQL_PASSWORD=root_pwd\n          export MYSQL_HOST=\"127.0.0.1\"\n          export INITIAL_ADMIN_USERNAME=admin\n          export INITIAL_ADMIN_PASSWORD=admin_pwd\n          export DJANGO_SETTINGS_MODULE=bkuser.settings\n          poetry run pytest ./tests\n", "state": "active", "repository": "tencentblueking/bk-user"}
{"mined_at": "2024-07-15T16:18:50.460761", "created_at": "2021-08-11T13:34:54+02:00", "updated_at": "2021-08-11T13:34:54+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main, pre_*, ft_*, release/* ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main, pre_*, ft_*, release/* ]\n  schedule:\n    - cron: '22 11 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "tencentblueking/bk-user"}
{"mined_at": "2024-07-15T16:18:51.515029", "created_at": "2023-01-30T13:12:50+01:00", "updated_at": "2023-12-15T03:29:52+01:00", "name": ".github/workflows/eslint.yml", "path": ".github/workflows/eslint.yml", "contents": "# name: ESLint\n\n# on:\n#   push:\n#     branches: [ main, pre_*, ft_*, release/* ]\n#   pull_request:\n#     branches: [ main, pre_*, ft_*, release/* ]\n\n# jobs:\n#   build:\n#     runs-on: ubuntu-latest\n#     steps:\n#     - uses: actions/checkout@v3\n#     - uses: actions/setup-node@v3\n#       with:\n#         node-version: 16\n#     - name: Install modules\n#       run: |\n#         cd src/pages\n#         npm i\n#     - name: Run ESLint\n#       run: |\n#         cd src/pages\n#         npm run lint\n", "state": "active", "repository": "tencentblueking/bk-user"}
{"mined_at": "2024-07-15T16:18:52.741123", "created_at": "2023-11-13T09:04:15+01:00", "updated_at": "2023-11-13T13:29:05+01:00", "name": "idp_plugin_ci_check", "path": ".github/workflows/idp-plugins.yml", "contents": "name: idp_plugin_ci_check\non:\n  push:\n    branches: [ main, pre_*, ft_*, release/* ]\n    paths:\n      - \"src/idp-plugins/**\"\n  pull_request:\n    branches: [ main, pre_*, ft_*, release/* ]\n    paths:\n      - \"src/idp-plugins/**\"\njobs:\n  check:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Format & Lint with ruff\n        run: |\n          pip install ruff==0.1.4\n          ruff format src/idp-plugins --config=src/idp-plugins/pyproject.toml --no-cache\n          ruff src/idp-plugins --config=src/idp-plugins/pyproject.toml --no-cache\n      - name: Lint with mypy\n        run: |\n          pip install mypy==1.6.1 types-requests==2.31.0.2 types-setuptools==57.4.18 types-dataclasses==0.1.7 types-redis==3.5.18 types-PyMySQL==1.1.0.1 types-six==0.1.9 types-toml==0.1.5 types-pytz==2023.3.0.0 types-urllib3==1.26.25.14\n          mypy src/idp-plugins --config-file=src/idp-plugins/pyproject.toml\n", "state": "active", "repository": "tencentblueking/bk-user"}
{"mined_at": "2024-07-15T16:18:54.894437", "created_at": "2023-02-22T18:44:57+01:00", "updated_at": "2023-02-22T18:44:57+01:00", "name": "Apply 'untriaged' label during issue lifecycle", "path": ".github/workflows/add-untriaged.yml", "contents": "---\nname: Apply 'untriaged' label during issue lifecycle\n\non:\n  issues:\n    types: [opened, reopened, transferred]\n\njobs:\n  apply-label:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v6\n        with:\n          script: |\n            github.rest.issues.addLabels({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              labels: ['untriaged']\n            })\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:18:55.971670", "created_at": "2023-10-13T01:45:15+02:00", "updated_at": "2023-10-13T01:45:15+02:00", "name": "automatic-merges", "path": ".github/workflows/automatic-merges.yml", "contents": "---\nname: automatic-merges\n\non:\n  workflow_run:\n    # If new workflows triggered on pull request are added, they should be added to this list\n    workflows:\n      - Link Checker\n      - yaml-lint\n      - dockerfile-lint\n      - groovy-tests\n      - manifests\n      - python-tests\n    types: completed\n\njobs:\n  automatic-merge-manifests:\n    if: github.repository == 'opensearch-project/opensearch-build'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: find-triggering-pr\n        uses: peternied/find-triggering-pr@v1\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - uses: peternied/discerning-merger@v3\n        if: steps.find-triggering-pr.outputs.pr-number != null\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          pull-request-number: ${{ steps.find-triggering-pr.outputs.pr-number }}\n          allowed-authors: |\n            dependabot\n            opensearch-trigger-bot\n            peterzhuamazon\n            gaiksaya\n            rishabh6788\n            zelinh\n            prudhvigodithi\n            Divyaasm\n            dblock\n            tianleh\n            peternied\n          allowed-files: |\n            manifests/*/*.yml\n\n  automatic-merge-new-manifests:\n    if: github.repository == 'opensearch-project/opensearch-build'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: find-triggering-pr\n        uses: peternied/find-triggering-pr@v1\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - uses: peternied/discerning-merger@v3\n        if: steps.find-triggering-pr.outputs.pr-number != null\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          pull-request-number: ${{ steps.find-triggering-pr.outputs.pr-number }}\n          allowed-authors: |\n            opensearch-ci-bot\n          allowed-files: |\n            manifests/*/*.yml\n            jenkins/check-for-build.jenkinsfile\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:18:57.144607", "created_at": "2023-03-21T21:57:37+01:00", "updated_at": "2023-03-21T22:35:10+01:00", "name": "dockerfile-lint", "path": ".github/workflows/dockerfile-lint.yml", "contents": "---\nname: dockerfile-lint\n\non:\n  pull_request:\n    paths:\n      - 'docker/ci/dockerfiles/current/**'\n      - 'docker/release/dockerfiles/**'\n\njobs:\n  dockerfile-lint-test_ci:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: jbergstroem/hadolint-gh-action@v1\n        with:\n          dockerfile: 'docker/ci/dockerfiles/current/*.dockerfile'\n          annotate: false\n\n  dockerfile-lint-test_release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: jbergstroem/hadolint-gh-action@v1\n        with:\n          dockerfile: 'docker/release/dockerfiles/*.dockerfile'\n          annotate: false\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:18:58.373733", "created_at": "2023-10-12T19:51:08+02:00", "updated_at": "2023-10-12T19:51:08+02:00", "name": "Get CI Image Tag", "path": ".github/workflows/get-ci-image-tag.yml", "contents": "---\nname: Get CI Image Tag\non:\n  workflow_call:\n    inputs:\n      product:\n        required: false\n        type: string\n        default: 'opensearch'\n      platform:\n        required: false\n        type: string\n      build_ref:\n        required: false\n        type: string\n        default: 'main'\n      version:\n        required: false\n        type: string\n      type:\n        required: false\n        type: string\n        default: 'build'\n    outputs:\n      ci-image-version-linux:\n        description: The ci image version for linux build\n        value: ${{ jobs.Get-CI-Image-Tag.outputs.output-ci-image-version-linux }}\n\njobs:\n  Get-CI-Image-Tag:\n    runs-on: ubuntu-latest\n    outputs:\n      output-ci-image-version-linux: ${{ steps.step-ci-image-version-linux.outputs.ci-image-version-linux }}\n    steps:\n      - name: Install crane\n        uses: iarekylew00t/crane-installer@v1\n        with:\n          crane-release: v0.15.2\n      - name: Checkout opensearch-build repository\n        uses: actions/checkout@v3\n        with:\n          repository: 'opensearch-project/opensearch-build'\n          ref: ${{ inputs.build_ref }}\n          path: 'opensearch-build'\n      - name: Get ci image version from opensearch-build repository scripts\n        id: step-ci-image-version-linux\n        run: |\n          PRODUCT=${{ inputs.product }}\n          PLATFORM=${{ inputs.platform }}\n          TYPE=${{ inputs.type }}\n          if [[ -z \"$PLATFORM\" ]]; then\n              if [[ \"$PRODUCT\" = \"opensearch\" ]]; then\n                  PLATFORM=\"centos7\" # Temp measure before al2 deprecation on opensearch for k-NN\n              else\n                  PLATFORM=\"almalinux8\"\n              fi\n          fi\n          crane version\n          echo $PRODUCT $PLATFORM\n          CI_IMAGE_VERSION=`opensearch-build/docker/ci/get-ci-images.sh -p $PLATFORM -u $PRODUCT -t $TYPE | head -1`\n          echo $CI_IMAGE_VERSION\n          echo \"ci-image-version-linux=$CI_IMAGE_VERSION\" >> $GITHUB_OUTPUT\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:18:59.440412", "created_at": "2023-03-14T21:52:34+01:00", "updated_at": "2023-03-14T21:52:34+01:00", "name": "github-merit-badger", "path": ".github/workflows/github-merit-badger.yml", "contents": "---\nname: github-merit-badger\non:\n  pull_request_target:\n    types:\n      - opened\n\njobs:\n  call-action:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - uses: aws-github-ops/github-merit-badger@v0.0.98\n        id: merit-badger\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          badges: '[first-time-contributor,repeat-contributor,valued-contributor,seasoned-contributor,all-star-contributor,distinguished-contributor]'\n          thresholds: '[0,3,6,13,25,50]'\n          badge-type: 'achievement'\n          ignore-usernames: '[opensearch-ci-bot]'\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:00.625967", "created_at": "2021-11-10T02:48:21+01:00", "updated_at": "2021-11-11T17:34:37+01:00", "name": "groovy-tests", "path": ".github/workflows/groovy-tests.yml", "contents": "---\nname: groovy-tests\n\non: [push, pull_request]\n\njobs:\n  groovy-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Java\n        uses: actions/setup-java@v1\n        with:\n          java-version: 11\n      - uses: actions/checkout@v3\n      - name: Run Tests\n        run: |\n          ./gradlew test --info\n      - name: Upload Coverage Report\n        uses: codecov/codecov-action@v2\n        with:\n          files: ./build/reports/jacoco/test/jacocoTestReport.xml\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:01.855726", "created_at": "2022-09-27T22:53:39+02:00", "updated_at": "2022-09-28T20:29:22+02:00", "name": "License Header Checker", "path": ".github/workflows/license-header-checker.yml", "contents": "---\nname: License Header Checker\n\non: [push, pull_request]\n\njobs:\n  license-header-checker:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Add License Header\n        run: npx @kt3k/license-checker\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:02.991576", "created_at": "2023-02-22T03:05:38+01:00", "updated_at": "2023-08-08T00:16:17+02:00", "name": "Link Checker", "path": ".github/workflows/link-checker.yml", "contents": "---\nname: Link Checker\non: [push, pull_request]\n\npermissions:\n  contents: read\njobs:\n  linkchecker:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: lychee Link Checker\n        id: lychee\n        uses: lycheeverse/lychee-action@v1\n        with:\n          args: --verbose --max-retries 5 --retry-wait-time 10 --accept=200,403,429 --exclude-path tests/ --exclude-path release-notes/ ./\n          fail: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:04.312857", "created_at": "2021-09-03T23:09:52+02:00", "updated_at": "2024-05-03T02:23:20+02:00", "name": "manifests-ci-check", "path": ".github/workflows/manifests.yml", "contents": "---\nname: manifests-ci-check\n\non:\n  pull_request:\n    types: [labeled, synchronize]\n    paths:\n      - 'manifests/**/*.yml'\n      - '!manifests/templates/**/'\n      - 'legacy-manifests/**/*.yml'\n\njobs:\n  list-changed-manifests:\n    if: ${{ github.repository == 'opensearch-project/opensearch-build' && github.event.label.name == 'manifest-ci-check' }}\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Get changed manifest files\n        uses: tj-actions/changed-files@v41\n        id: list-changed-manifests\n        with:\n          files: manifests/**/opensearch*.yml\n          json: true\n          quotepath: false\n          dir_names: false\n\n      - name: Set unique changed manifests as matrix\n        id: set-matrix\n        run: echo \"matrix={\\\"manifest\\\":${{ steps.list-changed-manifests.outputs.all_changed_files }}}\" >> \"$GITHUB_OUTPUT\"\n\n  manifest-checks:\n    needs: [list-changed-manifests]\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: 3.9\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.list-changed-manifests.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Check JDK Version\n        run: |\n          java_version=`cat ${{ matrix.manifest }} | yq -r .ci.image.args | grep -Eo '[0-9]+' || echo ''`\n          echo $java_version\n          echo \"JAVA_VERSION=$java_version\" >> \"$GITHUB_ENV\"\n      - name: Set Up JDK ${{ env.JAVA_VERSION }}\n        if: ${{ env.JAVA_VERSION }}\n        uses: actions/setup-java@v1\n        with:\n          java-version: ${{ env.JAVA_VERSION }}\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install Pipenv and Dependencies\n        run: |\n          python -m pip install --upgrade pipenv wheel\n      - name: OpenSearch Manifests\n        run: |-\n          ./ci.sh ${{ matrix.manifest }} --snapshot\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:05.441533", "created_at": "2023-05-03T22:36:58+02:00", "updated_at": "2023-05-03T22:36:58+02:00", "name": "Increment OpenSearch Plugins Version", "path": ".github/workflows/os-increment-plugin-versions.yml", "contents": "---\nname: Increment OpenSearch Plugins Version\n\non:\n  schedule:\n    - cron: 0 0 * * *\n  workflow_dispatch:\n    inputs:\n      logLevel:\n        description: Log level\n        required: true\n        default: warning\n        type: choice\n        options:\n          - info\n          - warning\n          - debug\n\njobs:\n  plugin-version-increment-sync:\n    if: github.repository == 'opensearch-project/opensearch-build'\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        entry:\n          # Adding the core repo OpenSearch for the label creation automation\n          - {repo: OpenSearch}\n          - {repo: alerting}\n          - {repo: anomaly-detection}\n          - {repo: asynchronous-search}\n          - {repo: common-utils}\n          - {repo: cross-cluster-replication}\n          - {repo: geospatial}\n          - {repo: index-management}\n          - {repo: job-scheduler}\n          - {repo: k-NN}\n          - {repo: neural-search}\n          - {repo: ml-commons}\n          - {repo: notifications, path: notifications}\n          - {repo: observability}\n          - {repo: performance-analyzer}\n          - {repo: performance-analyzer-rca}\n          - {repo: reporting}\n          - {repo: security}\n          - {repo: security-analytics}\n          - {repo: sql}\n          - {repo: custom-codecs}\n          - {repo: flow-framework}\n          - {repo: skills}\n        branch:\n          - 1.x\n          - '1.3'\n          - 2.x\n          - main\n          - '2.15'\n          - '2.16'\n        exclude:\n          - {entry: {repo: geospatial}, branch: '1.3'}\n          - {entry: {repo: neural-search}, branch: '1.3'}\n          - {entry: {repo: security-analytics}, branch: '1.3'}\n          - {entry: {repo: notifications, path: notifications}, branch: '1.3'}\n          - {entry: {repo: custom-codecs}, branch: '1.3'}\n    steps:\n      - name: Check out OpenSearch repo\n        uses: actions/checkout@v3\n        with:\n          repository: opensearch-project/OpenSearch\n          ref: ${{ matrix.branch }}\n      - name: Fetch OpenSearch version\n        run: |\n          OPENSEARCH_VERSION=$(cat buildSrc/version.properties | grep opensearch | cut -d= -f2 | grep -oE '[0-9.]+')\n          echo \"OPENSEARCH_VERSION_NUMBER=$OPENSEARCH_VERSION\" >> $GITHUB_ENV\n          OPENSEARCH_VERSION=$OPENSEARCH_VERSION-SNAPSHOT\n          echo \"OPENSEARCH_VERSION=$OPENSEARCH_VERSION\" >> $GITHUB_ENV\n      - name: Check out plugin repo\n        if: ${{ matrix.entry.repo != 'OpenSearch' }}\n        uses: actions/checkout@v3\n        with:\n          repository: opensearch-project/${{ matrix.entry.repo }}\n          ref: ${{ matrix.branch }}\n      - name: Increment Version in ${{ matrix.entry.repo }}\n        if: ${{ matrix.entry.repo != 'OpenSearch' }}\n        run: |\n          echo \"OpenSearch Core repo version on branch ${{ matrix.branch }} is ${{ env.OPENSEARCH_VERSION_NUMBER }}\"\n          if [ ${{ matrix.entry.path }} ]; then\n            echo \"The gradle path is ${{ matrix.entry.path }}\"\n            cd ${{ matrix.entry.path }}\n          fi\n          ./gradlew updateVersion -DnewVersion=${{ env.OPENSEARCH_VERSION }}\n      - name: GitHub App token\n        id: github_app_token\n        uses: tibdex/github-app-token@v1.6.0\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_PRIVATE_KEY }}\n          installation_id: 22958780\n      - name: Check and Create label\n        id: check_create_label\n        uses: actions/github-script@v6\n        with:\n          github-token: ${{ steps.github_app_token.outputs.token }}\n          result-encoding: string\n          script: |\n            const labelName = \"v${{ env.OPENSEARCH_VERSION_NUMBER }}\";\n            let labelFound = false;\n            try {\n              const label = await github.rest.issues.getLabel({\n                owner: context.repo.owner,\n                repo: \"${{ matrix.entry.repo }}\",\n                name: labelName\n              });\n              labelFound = true;\n            } catch (error) {\n              if (error.status === 404) {\n                const randomColor = Math.floor(Math.random() * 16777215).toString(16);\n                const newLabel = {\n                  owner: context.repo.owner,\n                  repo: \"${{ matrix.entry.repo }}\",\n                  name: labelName,\n                  color: randomColor,\n                  description: \"Issues targeting release \" + labelName\n                };\n                await github.rest.issues.createLabel(newLabel);\n                labelFound = true;\n              } else {\n                throw error;\n              }\n            }\n            console.log(labelFound);\n            return labelFound\n      - name: Create Pull Request\n        if: ${{ matrix.entry.repo != 'OpenSearch' }}\n        id: cpr\n        uses: peter-evans/create-pull-request@v4\n        with:\n          token: ${{ steps.github_app_token.outputs.token }}\n          committer: opensearch-ci-bot <opensearch-infra@amazon.com>\n          author: opensearch-ci-bot <opensearch-infra@amazon.com>\n          commit-message: |\n            Increment version to ${{ env.OPENSEARCH_VERSION }}\n\n            Signed-off-by: opensearch-ci-bot <opensearch-infra@amazon.com>\n          delete-branch: true\n          branch: create-pull-request/${{ env.OPENSEARCH_VERSION }}\n          title: '[AUTO] Increment version to ${{ env.OPENSEARCH_VERSION }}'\n          labels: |\n            v${{ env.OPENSEARCH_VERSION_NUMBER }}\n          body: |\n            - Incremented version to **${{ env.OPENSEARCH_VERSION }}**.\n      - name: Check outputs\n        run: |-\n          echo \"Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}\"\n          echo \"Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}\"\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:06.668044", "created_at": "2023-07-15T04:07:06+02:00", "updated_at": "2023-07-18T19:48:12+02:00", "name": "release-issue-os", "path": ".github/workflows/os-release-issues.yml", "contents": "---\nname: release-issue-os\n\non:\n  workflow_dispatch:\n    inputs:\n      logLevel:\n        description: Log level\n        required: true\n        default: warning\n        type: choice\n        options:\n          - info\n          - warning\n          - debug\n  schedule:\n    - cron: 0 1 * * *\n\njobs:\n  list-manifest-versions:\n    if: github.repository == 'opensearch-project/opensearch-build'\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          repository: opensearch-project/opensearch-build\n          ref: main\n      - id: set-matrix\n        # produces a list of major versions, e.g. [\"1.4.0\",\"2.10.0\",\"2.6.0\",\"2.7.0\",\"2.8.0\",\"2.9.0\",\"3.0.0\"]\n        run: echo \"::set-output name=matrix::$(ls manifests/**/opensearch*.yml | cut -d'/' -f2 | grep '0$' | grep -v '[0-9]0$' | sort | uniq | jq -R -s -c 'split(\"\\n\")[:-1]')\"\n  component-release-issue:\n    needs: list-manifest-versions\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        entry:\n          - {repo: OpenSearch}\n          - {repo: alerting}\n          - {repo: anomaly-detection}\n          - {repo: asynchronous-search}\n          - {repo: common-utils}\n          - {repo: cross-cluster-replication}\n          - {repo: geospatial}\n          - {repo: index-management}\n          - {repo: job-scheduler}\n          - {repo: k-NN}\n          - {repo: neural-search}\n          - {repo: ml-commons}\n          - {repo: notifications}\n          - {repo: observability}\n          - {repo: performance-analyzer}\n          - {repo: performance-analyzer-rca}\n          - {repo: reporting}\n          - {repo: security}\n          - {repo: security-analytics}\n          - {repo: sql}\n          - {repo: custom-codecs}\n          - {repo: flow-framework}\n          - {repo: skills}\n        release_version: ${{ fromJson(needs.list-manifest-versions.outputs.matrix) }}\n    steps:\n      - name: GitHub App token\n        id: github_app_token\n        uses: tibdex/github-app-token@v1.6.0\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_PRIVATE_KEY }}\n          installation_id: 22958780\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Check if build repo release issue exists\n        id: check_if_build_repo_issue_exists\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'find-issues'\n          repo: opensearch-project/opensearch-build\n          token: ${{ steps.github_app_token.outputs.token }}\n          issue-state: 'open'\n          title-includes: '[RELEASE] Release version ${{ matrix.release_version }}'\n      - name: Check out plugin repo\n        uses: actions/checkout@v3\n        with:\n          path: plugin-repo\n          repository: opensearch-project/${{ matrix.entry.repo }}\n      - name: Check if plugin repo release issue exists\n        if: steps.check_if_build_repo_issue_exists.outputs.issues != '[]'\n        id: check_if_plugin_repo_issue_exists\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'find-issues'\n          repo: opensearch-project/${{ matrix.entry.repo }}\n          token: ${{ steps.github_app_token.outputs.token }}\n          title-includes: '[RELEASE] Release version ${{ matrix.release_version }}'\n      - name: Replace Placeholders\n        if: steps.check_if_plugin_repo_issue_exists.outputs.issues == '[]'\n        run: |\n          # Read the file contents and replace the placeholders\n          file_path=\"../opensearch-build/.github/ISSUE_TEMPLATE/component_release_template.md\"\n          RELEASE_VERSION=\"${{ matrix.release_version }}\"\n          RELEASE_BRANCH=$(echo ${{ matrix.release_version }} | cut -d. -f1-2)\n          BUILD_REPO_ISSUE_OUTPUT=$(cat <<EOF\n          ${{ steps.check_if_build_repo_issue_exists.outputs.issues }}\n          EOF\n          )\n          RELEASE_ISSUE_NUMBER=$(echo $BUILD_REPO_ISSUE_OUTPUT | jq -r '.[0].number')\n          RELEASE_ISSUE=\"https://github.com/opensearch-project/opensearch-build/issues/${RELEASE_ISSUE_NUMBER}\"\n          RELEASE_VERSION_X=$(echo \"${{ matrix.release_version }}\" | awk -F'.' '{print $1}').x\n          sed -e \"s|{{RELEASE_VERSION}}|${RELEASE_VERSION}|g\" -e \"s|{{RELEASE_ISSUE}}|${RELEASE_ISSUE}|g\" -e \"s|{{RELEASE_BRANCH}}|${RELEASE_BRANCH}|g\" -e \"s|{{RELEASE_VERSION_X}}|${RELEASE_VERSION_X}|g\" \"$file_path\" > \"$file_path.tmp\" && mv \"$file_path.tmp\" \"$file_path\"\n      - name: Create component release issue from file\n        if: steps.check_if_plugin_repo_issue_exists.outputs.issues == '[]'\n        uses: peter-evans/create-issue-from-file@v4\n        with:\n          title: '[RELEASE] Release version ${{ matrix.release_version }}'\n          content-filepath: ../opensearch-build/.github/ISSUE_TEMPLATE/component_release_template.md\n          labels: |\n            v${{ matrix.release_version }}\n          token: ${{ steps.github_app_token.outputs.token }}\n          repository: opensearch-project/${{ matrix.entry.repo }}\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:07.900108", "created_at": "2023-05-03T22:36:58+02:00", "updated_at": "2023-05-03T22:36:58+02:00", "name": "Increment OpenSearch Dashboards Plugins Version", "path": ".github/workflows/osd-increment-plugin-versions.yml", "contents": "---\nname: Increment OpenSearch Dashboards Plugins Version\n\non:\n  schedule:\n    - cron: 0 0 * * *\n  workflow_dispatch:\n    inputs:\n      logLevel:\n        description: Log level\n        required: true\n        default: warning\n        type: choice\n        options:\n          - info\n          - warning\n          - debug\njobs:\n  plugin-version-increment-sync:\n    if: github.repository == 'opensearch-project/opensearch-build'\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        entry:\n          # Adding the core repo OpenSearch-Dashboards for the label creation automation\n          - {repo: OpenSearch-Dashboards}\n          - {repo: dashboards-observability}\n          - {repo: dashboards-reporting}\n          - {repo: dashboards-visualizations}\n          - {repo: dashboards-query-workbench}\n          - {repo: dashboards-assistant}\n          - {repo: dashboards-maps}\n          - {repo: anomaly-detection-dashboards-plugin}\n          - {repo: ml-commons-dashboards}\n          - {repo: index-management-dashboards-plugin}\n          - {repo: dashboards-notifications}\n          - {repo: alerting-dashboards-plugin}\n          - {repo: security-analytics-dashboards-plugin}\n          - {repo: security-dashboards-plugin}\n          - {repo: dashboards-search-relevance}\n          - {repo: opensearch-dashboards-functional-test}\n        branch:\n          - 1.x\n          - '1.3'\n          - 2.x\n          - main\n          - '2.15'\n          - '2.16'\n    steps:\n      - name: Check out OpenSearch Dashboards repo\n        uses: actions/checkout@v3\n        with:\n          repository: opensearch-project/OpenSearch-Dashboards\n          ref: ${{ matrix.branch }}\n          path: OpenSearch-Dashboards\n      - name: Check out plugin repo\n        if: ${{ matrix.entry.repo != 'OpenSearch-Dashboards' }}\n        uses: actions/checkout@v3\n        with:\n          repository: opensearch-project/${{ matrix.entry.repo }}\n          ref: ${{ matrix.branch }}\n          path: OpenSearch-Dashboards/plugins/${{ matrix.entry.repo }}\n      - name: Setup Node\n        uses: actions/setup-node@v3\n        with:\n          node-version-file: './OpenSearch-Dashboards/.nvmrc'\n          registry-url: 'https://registry.npmjs.org'\n      - name: Install Yarn and Setup Dashboard Version\n        shell: bash\n        run: |\n          YARN_VERSION=$(node -p \"require('./OpenSearch-Dashboards/package.json').engines.yarn\")\n          echo \"Installing yarn@$YARN_VERSION\"\n          npm i -g yarn@$YARN_VERSION\n          DASHBOARD_VERSION=$(node -p \"require('./OpenSearch-Dashboards/package.json').version\")\n          echo \"DASHBOARD_VERSION=$DASHBOARD_VERSION\" >> $GITHUB_ENV\n      - run: node -v\n      - run: yarn -v\n      - name: Bootstrap and Version Increment\n        if: ${{ matrix.entry.repo != 'OpenSearch-Dashboards' }}\n        run: |\n          cd OpenSearch-Dashboards/plugins/${{ matrix.entry.repo }}\n          if [ ${{ matrix.entry.path }} ]; then\n              yarn osd bootstrap\n              cp -R ${{ matrix.entry.path }} ../\n              cd ../${{ matrix.entry.path }}\n              node ../../scripts/plugin_helpers version --sync legacy\n              OSD_PLUGIN_VERSION=$(node -p \"require('./package.json').version\")\n              echo \"OSD_PLUGIN_VERSION=$OSD_PLUGIN_VERSION\" >> $GITHUB_ENV\n              cd ../\n              cp -R ${{ matrix.entry.path }} ${{ matrix.entry.repo }}/\n              cd ${{ matrix.entry.repo }}/\n          # tmp `elif` solution for opensearch-dashboards-functional-test (ref: https://github.com/opensearch-project/OpenSearch-Dashboards/issues/1801#issuecomment-1545947935)\n          elif [ ${{ matrix.entry.repo }} == \"opensearch-dashboards-functional-test\" ]; then\n                jq --arg DASHBOARD_VERSION \"${{ env.DASHBOARD_VERSION }}\" '.version = $DASHBOARD_VERSION' package.json > package-tmp.json\n                mv package-tmp.json package.json\n                OSD_PLUGIN_VERSION=$(node -p \"require('./package.json').version\")\n                echo \"OSD_PLUGIN_VERSION=$OSD_PLUGIN_VERSION\" >> $GITHUB_ENV\n          else\n              yarn osd bootstrap\n              node ../../scripts/plugin_helpers version --sync legacy\n              OSD_PLUGIN_VERSION=$(node -p \"require('./package.json').version\")\n              echo \"OSD_PLUGIN_VERSION=$OSD_PLUGIN_VERSION\" >> $GITHUB_ENV\n          fi\n      - name: GitHub App token\n        id: github_app_token\n        uses: tibdex/github-app-token@v1.6.0\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_PRIVATE_KEY }}\n          installation_id: 22958780\n      - name: Check if label exists\n        id: check_label\n        uses: actions/github-script@v6\n        with:\n          github-token: ${{ steps.github_app_token.outputs.token }}\n          result-encoding: string\n          script: |\n            const labelName = \"v${{ env.DASHBOARD_VERSION }}\";\n            let labelFound = false;\n            try {\n              const label = await github.rest.issues.getLabel({\n                owner: context.repo.owner,\n                repo: \"${{ matrix.entry.repo }}\",\n                name: labelName\n              });\n              labelFound = true;\n            } catch (error) {\n              if (error.status === 404) {\n                const randomColor = Math.floor(Math.random() * 16777215).toString(16);\n                const newLabel = {\n                  owner: context.repo.owner,\n                  repo: \"${{ matrix.entry.repo }}\",\n                  name: labelName,\n                  color: randomColor,\n                  description: \"Issues targeting release \" + labelName\n                };\n                await github.rest.issues.createLabel(newLabel);\n                labelFound = true;\n              } else {\n                throw error;\n              }\n            }\n            console.log(labelFound);\n            return labelFound\n      - name: Create Pull Request for plugins\n        if: ${{ matrix.entry.repo != 'OpenSearch-Dashboards' && matrix.entry.repo\n          != 'opensearch-dashboards-functional-test' }}\n        id: cpr\n        uses: peter-evans/create-pull-request@v5\n        with:\n          token: ${{ steps.github_app_token.outputs.token }}\n          committer: opensearch-ci-bot <opensearch-infra@amazon.com>\n          author: opensearch-ci-bot <opensearch-infra@amazon.com>\n          commit-message: |\n            Increment version to ${{ env.OSD_PLUGIN_VERSION }}\n\n            Signed-off-by: opensearch-ci-bot <opensearch-infra@amazon.com>\n          delete-branch: true\n          branch: create-pull-request/${{ env.OSD_PLUGIN_VERSION }}\n          title: '[AUTO] Increment version to ${{ env.OSD_PLUGIN_VERSION }}'\n          labels: |\n            v${{ env.DASHBOARD_VERSION }}\n          body: |\n            - Incremented version to **${{ env.OSD_PLUGIN_VERSION }}**.\n          path: 'OpenSearch-Dashboards/plugins/${{ matrix.entry.repo }}'\n          add-paths: |\n            opensearch_dashboards.json\n            package.json\n      - name: Create Pull Request for opensearch-dashboards-functional-test\n        if: ${{ matrix.entry.repo == 'opensearch-dashboards-functional-test' }}\n        id: cprft\n        uses: peter-evans/create-pull-request@v5\n        with:\n          token: ${{ steps.github_app_token.outputs.token }}\n          committer: opensearch-ci-bot <opensearch-infra@amazon.com>\n          author: opensearch-ci-bot <opensearch-infra@amazon.com>\n          commit-message: |\n            Increment version to ${{ env.OSD_PLUGIN_VERSION }}\n\n            Signed-off-by: opensearch-ci-bot <opensearch-infra@amazon.com>\n          delete-branch: true\n          branch: create-pull-request/${{ env.OSD_PLUGIN_VERSION }}\n          title: '[AUTO] Increment version to ${{ env.OSD_PLUGIN_VERSION }}'\n          labels: |\n            v${{ env.DASHBOARD_VERSION }}\n          body: |\n            - Incremented version to **${{ env.OSD_PLUGIN_VERSION }}**.\n          path: 'OpenSearch-Dashboards/plugins/${{ matrix.entry.repo }}'\n          add-paths: |\n            package.json\n      - name: Check outputs\n        run: |-\n          echo \"Pull Request Number - ${{ steps.cprft.outputs.pull-request-number }}\"\n          echo \"Pull Request URL - ${{ steps.cprft.outputs.pull-request-url }}\"\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:09.125990", "created_at": "2023-07-15T04:07:07+02:00", "updated_at": "2023-07-18T20:01:12+02:00", "name": "release-issue-osd", "path": ".github/workflows/osd-release-issues.yml", "contents": "---\nname: release-issue-osd\n\non:\n  workflow_dispatch:\n    inputs:\n      logLevel:\n        description: Log level\n        required: true\n        default: warning\n        type: choice\n        options:\n          - info\n          - warning\n          - debug\n  schedule:\n    - cron: 0 1 * * *\n\njobs:\n  list-manifest-versions:\n    if: github.repository == 'opensearch-project/opensearch-build'\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          repository: opensearch-project/opensearch-build\n          ref: main\n      - id: set-matrix\n        # produces a list of major versions, e.g. [\"1.4.0\",\"2.10.0\",\"2.6.0\",\"2.7.0\",\"2.8.0\",\"2.9.0\",\"3.0.0\"]\n        run: echo \"::set-output name=matrix::$(ls manifests/**/opensearch*.yml | cut -d'/' -f2 | grep '0$' | grep -v '[0-9]0$' | sort | uniq | jq -R -s -c 'split(\"\\n\")[:-1]')\"\n  component-release-issue:\n    needs: list-manifest-versions\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        entry:\n          - {repo: OpenSearch-Dashboards}\n          - {repo: dashboards-observability}\n          - {repo: dashboards-reporting}\n          - {repo: dashboards-visualizations}\n          - {repo: dashboards-query-workbench}\n          - {repo: dashboards-assistant}\n          - {repo: dashboards-maps}\n          - {repo: anomaly-detection-dashboards-plugin}\n          - {repo: ml-commons-dashboards}\n          - {repo: index-management-dashboards-plugin}\n          - {repo: dashboards-notifications}\n          - {repo: alerting-dashboards-plugin}\n          - {repo: security-analytics-dashboards-plugin}\n          - {repo: security-dashboards-plugin}\n          - {repo: dashboards-search-relevance}\n          - {repo: opensearch-dashboards-functional-test}\n        release_version: ${{ fromJson(needs.list-manifest-versions.outputs.matrix) }}\n    steps:\n      - name: GitHub App token\n        id: github_app_token\n        uses: tibdex/github-app-token@v1.6.0\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_PRIVATE_KEY }}\n          installation_id: 22958780\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Check if build repo release issue exists\n        id: check_if_build_repo_issue_exists\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'find-issues'\n          repo: opensearch-project/opensearch-build\n          token: ${{ steps.github_app_token.outputs.token }}\n          issue-state: 'open'\n          title-includes: '[RELEASE] Release version ${{ matrix.release_version }}'\n      - name: Check out plugin repo\n        uses: actions/checkout@v3\n        with:\n          path: plugin-repo\n          repository: opensearch-project/${{ matrix.entry.repo }}\n      - name: Check if plugin repo release issue exists\n        if: steps.check_if_build_repo_issue_exists.outputs.issues != '[]'\n        id: check_if_plugin_repo_issue_exists\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'find-issues'\n          repo: opensearch-project/${{ matrix.entry.repo }}\n          token: ${{ steps.github_app_token.outputs.token }}\n          title-includes: '[RELEASE] Release version ${{ matrix.release_version }}'\n      - name: Replace Placeholders\n        if: steps.check_if_plugin_repo_issue_exists.outputs.issues == '[]'\n        run: |\n          # Read the file contents and replace the placeholders\n          file_path=\"../opensearch-build/.github/ISSUE_TEMPLATE/component_release_template.md\"\n          RELEASE_VERSION=\"${{ matrix.release_version }}\"\n          RELEASE_BRANCH=$(echo ${{ matrix.release_version }} | cut -d. -f1-2)\n          BUILD_REPO_ISSUE_OUTPUT=$(cat <<EOF\n          ${{ steps.check_if_build_repo_issue_exists.outputs.issues }}\n          EOF\n          )\n          RELEASE_ISSUE_NUMBER=$(echo $BUILD_REPO_ISSUE_OUTPUT | jq '.[0].number')\n          RELEASE_ISSUE=\"https://github.com/opensearch-project/opensearch-build/issues/${RELEASE_ISSUE_NUMBER}\"\n          RELEASE_VERSION_X=$(echo \"${{ matrix.release_version }}\" | awk -F'.' '{print $1}').x\n          sed -e \"s|{{RELEASE_VERSION}}|${RELEASE_VERSION}|g\" -e \"s|{{RELEASE_ISSUE}}|${RELEASE_ISSUE}|g\" -e \"s|{{RELEASE_BRANCH}}|${RELEASE_BRANCH}|g\" -e \"s|{{RELEASE_VERSION_X}}|${RELEASE_VERSION_X}|g\" \"$file_path\" > \"$file_path.tmp\" && mv \"$file_path.tmp\" \"$file_path\"\n      - name: Create component release issue from file\n        if: steps.check_if_plugin_repo_issue_exists.outputs.issues == '[]'\n        uses: peter-evans/create-issue-from-file@v4\n        with:\n          title: '[RELEASE] Release version ${{ matrix.release_version }}'\n          content-filepath: ../opensearch-build/.github/ISSUE_TEMPLATE/component_release_template.md\n          labels: |\n            v${{ matrix.release_version }}\n          token: ${{ steps.github_app_token.outputs.token }}\n          repository: opensearch-project/${{ matrix.entry.repo }}\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:10.275455", "created_at": "2023-11-22T19:54:21+01:00", "updated_at": "2023-11-22T19:54:21+01:00", "name": "Publish wiki", "path": ".github/workflows/publish-wiki.yml", "contents": "---\nname: Publish wiki\n\non:\n  push:\n    branches: [main]\n    paths:\n      - docs/**\n      - .github/workflows/publish-wiki.yml\n\nconcurrency:\n  group: publish-wiki\n  cancel-in-progress: true\n\npermissions:\n  contents: write\n\njobs:\n  publish-wiki:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: Andrew-Chen-Wang/github-wiki-action@v4\n        with:\n          path: docs/\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:11.583311", "created_at": "2021-11-10T02:48:21+01:00", "updated_at": "2021-11-11T17:34:37+01:00", "name": "python-tests", "path": ".github/workflows/python-tests.yml", "contents": "---\nname: python-tests\n\non: [push, pull_request]\n\njobs:\n  Get-CI-Image-Tag:\n    uses: ./.github/workflows/get-ci-image-tag.yml\n\n  python-tests:\n    strategy:\n      matrix:\n        os:\n          - macos-latest\n          - windows-latest\n    runs-on: ${{ matrix.os }}\n    env:\n      PYTHON_VERSION: 3.9\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install Pipenv and Dependencies\n        run: |\n          python -m pip install --upgrade pipenv wheel\n          pipenv install --deploy --dev\n      - name: Check for Sorted Imports\n        run: |\n          pipenv run isort --check .\n      - name: Enforce Style Guide\n        run: |\n          pipenv run flake8 .\n      - name: Run Type Checker\n        run: |\n          pipenv run mypy .\n      - name: Run Tests with Coverage\n        run: |\n          pipenv run coverage run -m pytest --cov=./src --cov-report=xml\n      - name: Upload Coverage Report\n        uses: codecov/codecov-action@v2\n        with:\n          files: ./coverage.xml\n\n  python-tests-linux:\n    needs: Get-CI-Image-Tag\n    runs-on: ubuntu-latest\n    container:\n      # using the same image which is used by opensearch-build team to build the OpenSearch Distribution\n      # this image tag is subject to change as more dependencies and updates will arrive over time\n      image: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-version-linux }}\n      # need to switch to root so that github actions can install runner binary on container without permission issues.\n      options: --user root\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Pipenv and Dependencies\n        run: |\n          pipenv install\n      - name: Check for Sorted Imports\n        run: |\n          pipenv run isort --check .\n      - name: Enforce Style Guide\n        run: |\n          pipenv run flake8 .\n      - name: Run Type Checker\n        run: |\n          pipenv run mypy .\n      - name: Run Tests with Coverage\n        run: |\n          pipenv run coverage run -m pytest --cov=./src --cov-report=xml\n      - name: Upload Coverage Report\n        uses: codecov/codecov-action@v2\n        with:\n          files: ./coverage.xml\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:12.812637", "created_at": "2021-09-22T21:51:24+02:00", "updated_at": "2021-09-22T21:51:24+02:00", "name": "releases", "path": ".github/workflows/releases.yml", "contents": "---\nname: releases\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 0 * * *\n\njobs:\n  list-manifest-versions:\n    if: github.repository == 'opensearch-project/opensearch-build'\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v3\n      - id: set-matrix\n        # produces a list of versions, e.g. [\"1.0.0\",\"1.0.0\",\"1.0.1\",\"1.1.0\",\"1.2.0\",\"2.0.0\"]\n        run: echo \"::set-output name=matrix::$(ls manifests/**/opensearch*.yml | cut -d'/' -f2 | sort | uniq | jq -R -s -c 'split(\"\\n\")[:-1]')\"\n  check:\n    needs: list-manifest-versions\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        release_version: ${{ fromJson(needs.list-manifest-versions.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: dblock/create-a-github-issue@v3.0.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VERSION: ${{ matrix.release_version }}\n        with:\n          search_existing: all\n          update_existing: false\n          filename: .github/ISSUE_TEMPLATE/release_template.md\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:13.916918", "created_at": "2023-11-03T03:25:00+01:00", "updated_at": "2023-11-03T03:25:00+01:00", "name": "Update Release Refs", "path": ".github/workflows/update_release_refs.yml", "contents": null, "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:15.079084", "created_at": "2022-01-14T18:05:53+01:00", "updated_at": "2022-01-18T21:32:28+01:00", "name": "yaml-lint", "path": ".github/workflows/yaml-lint.yml", "contents": "---\nname: yaml-lint\n\non: [push, pull_request]\n\njobs:\n  yaml-lint:\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: 3.9.12\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install Pipenv and Dependencies\n        run: |\n          python -m pip install --upgrade pipenv wheel\n          pipenv install --deploy --dev\n      - name: Lint YAML files\n        run: |-\n          pipenv run yamllint .\n", "state": "active", "repository": "opensearch-project/opensearch-build"}
{"mined_at": "2024-07-15T16:19:17.420062", "created_at": "2022-04-26T11:13:53+02:00", "updated_at": "2022-04-26T11:13:53+02:00", "name": ".github/workflows/_test.yml", "path": ".github/workflows/_test.yml", "contents": "on:\n  workflow_call:\n  # Permissions inherited from caller workflow\n\npermissions: {}\n\njobs:\n  lint-test:\n    name: Lint Test\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout TUF\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: Set up Python (oldest supported version)\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: 3.8\n          cache: 'pip'\n          cache-dependency-path: |\n            requirements/*.txt\n            pyproject.toml\n\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --constraint requirements/build.txt tox coveralls\n\n      - name: Run tox\n        env:\n          RUFF_OUTPUT_FORMAT: github\n        run: tox -e lint\n\n  tests:\n    name: Tests\n    needs: lint-test\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest]\n        include:\n          - python-version: \"3.12\"\n            os: macos-latest\n          - python-version: \"3.12\"\n            os: windows-latest\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Checkout TUF\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: |\n            requirements/*.txt\n            pyproject.toml\n\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --constraint requirements/build.txt tox coveralls\n\n      - name: Run tox\n        run: tox -e py\n\n      - name: Publish on coveralls.io\n        # A failure to publish coverage results on coveralls should not\n        # be a reason for a job failure.\n        continue-on-error: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: ${{ runner.os }} / Python ${{ matrix.python-version }}\n          COVERALLS_PARALLEL: true\n        # Use cp workaround to publish coverage reports with relative paths\n        # FIXME: Consider refactoring the tests to not require the test\n        # aggregation script being invoked from the `tests` directory, so\n        # that `.coverage` is written to and .coveragrc can also reside in\n        # the project root directory as is the convention.\n        run: |\n          cp tests/.coverage .\n          coveralls --service=github --rcfile=tests/.coveragerc\n\n  coveralls-fin:\n    # Always run when all 'tests' jobs have finished even if they failed\n    # TODO: Replace always() with a 'at least one job succeeded' expression\n    if: always()\n    needs: tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Add requirements file to make setup-python happy\n        run: touch requirements.txt\n\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n          cache: 'pip'\n\n      - name: Install dependencies\n        run: |\n          python3 -m pip install coveralls\n\n      - name: Finalize publishing on coveralls.io\n        continue-on-error: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: coveralls --finish\n", "state": "active", "repository": "theupdateframework/python-tuf"}
{"mined_at": "2024-07-15T16:19:18.546318", "created_at": "2024-04-22T14:09:46+02:00", "updated_at": "2024-04-22T14:09:46+02:00", "name": ".github/workflows/_test_sslib_main.yml", "path": ".github/workflows/_test_sslib_main.yml", "contents": "on:\n  workflow_call:\n  # Permissions inherited from caller workflow\n\npermissions: {}\n\njobs:\n  sslib-main:\n    name: Test securesystemslib main branch (not a merge blocker)\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout TUF\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n          cache: 'pip'\n          cache-dependency-path: |\n            requirements/*.txt\n            pyproject.toml\n\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --constraint requirements/build.txt tox\n\n      - name: Run tox\n        run: tox -e with-sslib-main\n", "state": "active", "repository": "theupdateframework/python-tuf"}
{"mined_at": "2024-07-15T16:19:19.692489", "created_at": "2022-04-21T13:03:28+02:00", "updated_at": "2022-04-21T13:03:28+02:00", "name": "CD", "path": ".github/workflows/cd.yml", "contents": "name: CD\nconcurrency: cd\n\non:\n  push:\n    tags:\n      - v*\n\npermissions: {}\n\njobs:\n  test:\n    uses: ./.github/workflows/_test.yml\n\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    needs: test\n    steps:\n      - name: Checkout release tag\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          ref: ${{ github.event.workflow_run.head_branch }}\n\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n\n      - name: Install build dependency\n        run: python3 -m pip install --constraint requirements/build.txt build\n\n      - name: Build binary wheel, source tarball and changelog\n        run: |\n          PIP_CONSTRAINT=requirements/build.txt python3 -m build --sdist --wheel --outdir dist/ .\n          awk \"/## $GITHUB_REF_NAME/{flag=1; next} /## v/{flag=0} flag\" docs/CHANGELOG.md > changelog\n\n      - name: Store build artifacts\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: build-artifacts\n          path: |\n            dist\n            changelog\n\n  candidate_release:\n    name: Release candidate on Github for review\n    runs-on: ubuntu-latest\n    needs: build\n    permissions:\n      contents: write # to modify GitHub releases\n    outputs:\n      release_id: ${{ steps.gh-release.outputs.result }}\n    steps:\n      - name: Fetch build artifacts\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: build-artifacts\n\n      - id: gh-release\n        name: Publish GitHub release draft\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        with:\n          script: |\n            fs = require('fs')\n            res = await github.rest.repos.createRelease({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              name: '${{ github.ref_name }}-rc',\n              tag_name: '${{ github.ref }}',\n              body: fs.readFileSync('changelog', 'utf8'),\n            });\n\n            fs.readdirSync('dist/').forEach(file => {\n              github.rest.repos.uploadReleaseAsset({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                release_id: res.data.id,\n                name: file,\n                data: fs.readFileSync('dist/' + file),\n              });\n            });\n            return res.data.id\n\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    needs: candidate_release\n    environment: release\n    permissions:\n      contents: write # to modify GitHub releases\n      id-token: write # to authenticate as Trusted Publisher to pypi.org\n    steps:\n      - name: Fetch build artifacts\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n          name: build-artifacts\n\n      - name: Publish binary wheel and source tarball on PyPI\n        # Only attempt pypi upload in upstream repository\n        if: github.repository == 'theupdateframework/python-tuf'\n        uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0\n\n      - name: Finalize GitHub release\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        with:\n          script: |\n            github.rest.repos.updateRelease({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              release_id: '${{ needs.candidate_release.outputs.release_id }}',\n              name: '${{ github.ref_name }}',\n            })\n", "state": "active", "repository": "theupdateframework/python-tuf"}
{"mined_at": "2024-07-15T16:19:20.803232", "created_at": "2020-12-17T10:29:24+01:00", "updated_at": "2022-02-18T13:16:43+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - develop\n\n  pull_request:\n  workflow_dispatch:\n\npermissions: {}\n\njobs:\n  test:\n    uses: ./.github/workflows/_test.yml\n  test-with-sslib-main:\n    uses: ./.github/workflows/_test_sslib_main.yml\n", "state": "active", "repository": "theupdateframework/python-tuf"}
{"mined_at": "2024-07-15T16:19:21.818634", "created_at": "2022-06-10T18:26:34+02:00", "updated_at": "2022-06-15T12:54:00+02:00", "name": "CodeQL Analysis", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL Analysis\"\n\non:\n  push:\n    branches: [ develop ]\n  pull_request:\n    branches: [ develop ]\n  schedule:\n    - cron: '30 0 * * 2'\n  workflow_dispatch:\n\npermissions: {}\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      # NOTE: If you add security critical permissions, start pinning used actions\n      actions: read\n      contents: read\n      security-events: write # for uploading to code-scanning dashboard\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3 # unpinned since this is not security critical\n      with:\n        languages: 'python'\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3 # unpinned since this is not security critical\n", "state": "active", "repository": "theupdateframework/python-tuf"}
{"mined_at": "2024-07-15T16:19:22.925953", "created_at": "2024-07-11T17:39:12+02:00", "updated_at": "2024-07-11T17:48:52+02:00", "name": "Conformance test", "path": ".github/workflows/conformance.yml", "contents": null, "state": "active", "repository": "theupdateframework/python-tuf"}
{"mined_at": "2024-07-15T16:19:24.069066", "created_at": "2022-04-24T22:14:03+02:00", "updated_at": "2022-06-06T15:30:14+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Reqest, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  # NOTE: If you add security critical permissions, start pinning used actions\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v4 # unpinned since this is not security critical\n", "state": "active", "repository": "theupdateframework/python-tuf"}
{"mined_at": "2024-07-15T16:19:25.245914", "created_at": "2022-02-03T12:59:44+01:00", "updated_at": "2022-02-03T12:59:44+01:00", "name": "Maintainer review reminder", "path": ".github/workflows/maintainer-permissions-reminder.yml", "contents": "name: Maintainer review reminder\n\non:\n  schedule:\n    - cron: '10 10 10 2 *'\n  workflow_dispatch:\n\npermissions:\n  issues: write\n\njobs:\n  file-reminder-issue:\n    name: File issue to review maintainer permissions\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n      with:\n        script: |\n          await github.rest.issues.create({\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            title: \"Yearly maintainer permissions review\",\n            body: `\n          This is a checklist for evaluating python-tuf maintainer accounts and permissions. This issue is automatically opened once a year.\n\n          ### Tasks\n\n          1. Update this list to include any new services\n          2. Evaluate the accounts and permissions for each service on the list. Some rules of thumb:\n             * Critical services should have a minimum of 3 _active_ maintainers/admins to prevent project lockout\n             * Each additional maintainer/admin increases the risk of project compromise: for this reason permissions should be removed if they are no longer used\n             * For services that are not frequently used, each maintainer/admin should check that they really are still able to authenticate to the service and confirm this in the comments\n          3. Update MAINTAINERS.txt to reflect current permissions\n          4. (Bonus) Update significant contributors in README.md#acknowledgements\n\n          ### Critical services\n\n          * [ ] **PyPI**: maintainer list is visible to everyone at https://pypi.org/project/tuf/\n              * Only enough maintainers and org admins to prevent locking the project out\n          * [ ] **GitHub**: release environment reviewers listed in https://github.com/theupdateframework/python-tuf/settings/environments\n              * Maintainers who can approve releases to PyPI\n          * [ ] **GitHub**: permissions visible to admins at https://github.com/theupdateframework/python-tuf/settings/access\n              * \"admin\" permission: Only for maintainers and org admins who do project administration\n              * \"push/maintain\" permission: Maintainers who actively approve and merge PRs (+admins)\n              * \"triage\" permission: All contributors trusted to manage issues\n\n          ### Other\n\n          * [ ] **ReadTheDocs**: admin list is visible to everyone at https://readthedocs.org/projects/theupdateframework/\n          * [ ] **Coveralls**: everyone with github \"admin\" permissions is a Coveralls admin: https://coveralls.io/github/theupdateframework/python-tuf\n          `\n          })\n          console.log(\"New issue created.\")\n\n\n", "state": "active", "repository": "theupdateframework/python-tuf"}
{"mined_at": "2024-07-15T16:19:26.310104", "created_at": "2022-11-22T17:23:55+01:00", "updated_at": "2022-11-22T17:23:55+01:00", "name": "Scorecards analysis", "path": ".github/workflows/scorecards.yml", "contents": "name: Scorecards analysis\non:\n  branch_protection_rule:\n  schedule:\n    - cron: '21 6 * * 1'\n  push:\n    branches: [ develop ]\n  workflow_dispatch:\n\npermissions: {}\n\njobs:\n  analysis:\n    name: Scorecards analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # NOTE: If you add security critical permissions, start pinning used actions\n      security-events: write # for uploading to code-scanning dashboard\n      id-token: write # for publishing results in scorecard public dataset\n      actions: read\n      contents: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          # sarif format required by upload-sarif action\n          results_format: sarif\n          # \"repo_token\" not set because personal access tokens are dangerous.\n          # This means Branch-Protection check will not have correct results.\n          publish_results: true\n\n      - name: \"Upload to code-scanning dashboard\"\n        uses: github/codeql-action/upload-sarif@v3  # unpinned since this is not security critical\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "theupdateframework/python-tuf"}
{"mined_at": "2024-07-15T16:19:27.360304", "created_at": "2022-08-30T13:01:57+02:00", "updated_at": "2023-05-11T15:24:36+02:00", "name": "Specification version check", "path": ".github/workflows/specification-version-check.yml", "contents": "on:\n  schedule:\n    - cron: \"0 13 * * *\"\n  workflow_dispatch:\n\nname: Specification version check\n\npermissions: {}\n\njobs:\n  # Get the version of the TUF specification the project states it supports\n  get-supported-tuf-version:\n    runs-on: ubuntu-latest\n    outputs:\n      version: ${{ steps.get-version.outputs.version }}\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.x\"\n      - id: get-version\n        run: |\n          python3 -m pip install -e .\n          script=\"from tuf.api.metadata import SPECIFICATION_VERSION; \\\n                  print(f\\\"v{'.'.join(SPECIFICATION_VERSION)}\\\")\"\n          ver=$(python3 -c \"$script\")\n          echo \"version=$ver\" >> $GITHUB_OUTPUT\n  # Get the latest TUF specification release and open an issue (if needed)\n  specification-bump-check:\n    permissions:\n      contents: read\n      issues: write\n    needs: get-supported-tuf-version\n    uses: theupdateframework/specification/.github/workflows/check-latest-spec-version.yml@master\n    with:\n      tuf-version: ${{needs.get-supported-tuf-version.outputs.version}}\n", "state": "active", "repository": "theupdateframework/python-tuf"}
{"mined_at": "2024-07-15T16:19:28.483564", "created_at": "2023-11-13T09:50:26+01:00", "updated_at": "2023-11-13T09:50:26+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "theupdateframework/python-tuf"}
{"mined_at": "2024-07-15T16:19:30.732252", "created_at": "2022-10-09T23:50:36+02:00", "updated_at": "2022-10-09T23:50:36+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '44 20 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "nextcord/nextcord"}
{"mined_at": "2024-07-15T16:19:31.755662", "created_at": "2021-08-29T09:33:47+02:00", "updated_at": "2021-08-29T09:38:20+02:00", "name": "Test docs", "path": ".github/workflows/docs.yml", "contents": "name: Test docs\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-tags: true\n\n      - name: Load cached Poetry installation\n        uses: actions/cache@v3\n        with:\n          path: ~/.local\n          key: poetry-0\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: poetry\n          cache-dependency-path: pyproject.toml\n\n      - name: Export dependencies\n        run: poetry export --no-interaction -f requirements.txt --output requirements.txt --with docs,dev -E voice -E speed\n\n      - name: Install dependencies\n        run: pip install -r requirements.txt\n\n      - name: Compile docs\n        run: |\n          cd docs\n          make html\n", "state": "active", "repository": "nextcord/nextcord"}
{"mined_at": "2024-07-15T16:19:32.773317", "created_at": "2021-10-29T03:59:32+02:00", "updated_at": "2022-05-13T18:38:09+02:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  pyright:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-tags: true\n\n      - name: Load cached Poetry installation\n        uses: actions/cache@v3\n        with:\n          path: ~/.local/pypoetry\n          key: poetry-0\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: poetry\n          cache-dependency-path: pyproject.toml\n\n      - name: Export dependencies\n        run: poetry export --no-interaction -f requirements.txt --output requirements.txt --with docs,dev -E voice -E speed\n\n      - name: Install dependencies\n        run: pip install -r requirements.txt\n\n      - name: Set up pyright\n        run: echo \"PYRIGHT_VERSION=$(python -c 'import pyright; print(pyright.__pyright_version__)')\" >> $GITHUB_ENV\n\n      - name: Run pyright (Linux)\n        uses: jakebailey/pyright-action@v1.2.0\n        with:\n          version: ${{ env.PYRIGHT_VERSION }}\n          python-version: ${{ matrix.python-version }}\n          python-platform: Linux\n          # only add comments for 3.8\n          no-comments: ${{ matrix.python-version != '3.8' }}\n          warnings: true\n\n      - name: Run pyright (Windows)\n        uses: jakebailey/pyright-action@v1.0.3\n        # run anyway\n        if: success() || failure()\n        with:\n          version: ${{ env.PYRIGHT_VERSION }}\n          python-version: ${{ matrix.python-version }}\n          python-platform: Windows\n          # only add comments for one platform\n          no-comments: true\n          warnings: true\n\n  slotscheck:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-tags: true\n\n      - name: Load cached Poetry installation\n        uses: actions/cache@v3\n        with:\n          path: ~/.local\n          key: poetry-0\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Set up python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n          cache: poetry\n          cache-dependency-path: pyproject.toml\n\n      - name: Export dependencies\n        run: poetry export --no-interaction -f requirements.txt --output requirements.txt --with docs,dev -E voice -E speed\n\n      - name: Install dependencies\n        run: pip install -r requirements.txt\n\n      - name: Run slotscheck\n        run: task slotscheck\n", "state": "active", "repository": "nextcord/nextcord"}
{"mined_at": "2024-07-15T16:19:33.907366", "created_at": "2021-09-20T19:19:59+02:00", "updated_at": "2021-09-20T19:19:59+02:00", "name": "Publish to PYPI", "path": ".github/workflows/publish.yml", "contents": "name: Publish to PYPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  regular:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-tags: true\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Compile package\n        run: |\n          poetry build\n\n      - name: Upload package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n          repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "nextcord/nextcord"}
{"mined_at": "2024-07-15T16:19:36.466740", "created_at": "2023-11-06T15:13:20+01:00", "updated_at": "2023-11-06T15:13:20+01:00", "name": "Backstage Catalog Info Helper", "path": ".github/workflows/backstage-catalog-helper.yml", "contents": "name: Backstage Catalog Info Helper\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  update-catalog-info:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Actions\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11\n        with:\n          fetch-depth: 0\n      - name: Run Backstage Catalog Info Helper\n        uses: cds-snc/backstage-catalog-info-helper-action@v0.3.1\n        with:\n          github_app_id: ${{ secrets.SRE_BOT_RW_APP_ID }}\n          github_app_private_key: ${{ secrets.SRE_BOT_RW_PRIVATE_KEY }}\n          github_organization: cds-snc\n      - name: impersonate Read/Write GH App\n        uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a\n        id: generate_token\n        with:\n          app_id: ${{ secrets.SRE_BOT_RW_APP_ID }}\n          private_key: ${{ secrets.SRE_BOT_RW_PRIVATE_KEY }}\n      - name: Create pull request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          token: ${{ steps.generate_token.outputs.token}}\n          commit-message: 'Add catalog-info.yaml'\n          branch: 'backstage/catalog-info'\n          title: 'Add catalog-info.yaml'\n          body: 'Adding a basic catalog-info.yaml to start populating the backstage catalog with your components.'\n          labels: 'backstage'\n          add-paths: |\n            catalog-info.yaml", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:37.695021", "created_at": "2022-11-11T15:32:04+01:00", "updated_at": "2023-07-27T18:16:25+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: \"18 23 * * 5\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ javascript, python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@ffd3158cb9024ebd018dbf20756f28befbd168c7 # v2.24.10\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@ffd3158cb9024ebd018dbf20756f28befbd168c7 # v2.24.10\n        if: ${{ matrix.language == 'javascript' || matrix.language == 'python' }}\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@ffd3158cb9024ebd018dbf20756f28befbd168c7 # v2.24.10\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:39.026979", "created_at": "2023-11-17T16:15:40+01:00", "updated_at": "2023-11-22T18:08:42+01:00", "name": "Cypress staging a11y tests", "path": ".github/workflows/cypress-staging.yaml", "contents": "name: Cypress staging a11y tests\n\non:\n  schedule:\n    - cron: 0 */3 * * *\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  cypress-tests:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    steps:\n      - name: checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2\n        with:\n          node-version: 16.x\n\n      - name: Write the cypress.env.json file\n        # use quotes around the secret, as its value\n        # is simply inserted as a string into the command\n        run: |\n          echo '${{ secrets.CYPRESS_ENV_JSON }}' > tests_cypress/cypress.env.json \n\n      - name: Run the cypress tests\n        uses: cypress-io/github-action@d79d2d530a66e641eb4a5f227e13bc985c60b964 # v4.2.2\n        with:\n          record: false\n          config: video=false,screenshotOnRunFailure=false\n          build: npx cypress info\n          working-directory: tests_cypress\n          spec: |\n            cypress/e2e/admin/a11y/app_pages.cy.js\n            cypress/e2e/admin/a11y/gca_pages.cy.js\n      - name: Notify Slack channel if this job failed\n        if: ${{ failure() }}\n        run: |\n          json=\"{'text':'<!here> Staging a11y tests failed: <https://github.com/cds-snc/notification-admin/actions/runs/${GITHUB_RUN_ID}|see failure details> !'}\"\n          curl -X POST -H 'Content-type: application/json' --data \"$json\"  ${{ secrets.SLACK_WEBHOOK }}\n", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:40.255072", "created_at": "2023-07-27T18:16:22+02:00", "updated_at": "2023-07-28T03:34:12+02:00", "name": "Cypress E2E", "path": ".github/workflows/cypress.yml", "contents": null, "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:41.438331", "created_at": "2023-01-10T17:06:22+01:00", "updated_at": "2023-01-10T17:06:22+01:00", "name": "Docker vulnerability scan", "path": ".github/workflows/docker-vulnerability-scan.yml", "contents": "name: Docker vulnerability scan\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 4 * * *\"\n\nenv:\n  DOCKER_SLUG: public.ecr.aws/v6b8u5o6/notify-admin\n\npermissions:\n  id-token: write        # This is required for requesting the OIDC JWT\n  contents: read         # This is required for actions/checkout\n  security-events: write # This is required for the docker-scan action\n\njobs:\n  docker-vulnerability-scan:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Configure credentials to CDS public ECR using OIDC\n        uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0\n        with:\n          role-to-assume: arn:aws:iam::283582579564:role/notification-admin-apply\n          role-session-name: NotifyAdminGitHubActions\n          aws-region: \"us-east-1\"\n\n      - name: Login to ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@5a88a04c91d5c6f97aae0d9be790e64d9b1d47b7 # v1.7.1\n        with:\n          registry-type: public\n\n      - name: Docker vulnerability scan\n        uses: cds-snc/security-tools/.github/actions/docker-scan@eecd7a02a0294b379411c126b61e5c29e253676a # v2.1.4\n        with:\n          docker_image: \"${{ env.DOCKER_SLUG }}:latest\"\n          dockerfile_path: \"ci/Dockerfile\"\n          token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n      - name: Logout of Amazon ECR\n        run: docker logout ${{ steps.login-ecr.outputs.registry }}\n", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:42.509140", "created_at": "2019-12-19T20:42:24+01:00", "updated_at": "2023-04-06T22:07:46+02:00", "name": "Build, push to AWS ECR, and deploy", "path": ".github/workflows/docker.yaml", "contents": "name: Build, push to AWS ECR, and deploy\non:\n  push:\n    branches:\n      - main\n\nenv:\n  AWS_REGION: ca-central-1\n  DOCKER_ORG: public.ecr.aws/v6b8u5o6\n  DOCKER_SLUG: public.ecr.aws/v6b8u5o6/notify-admin\n  WORKFLOW_PAT: ${{ secrets.WORKFLOW_GITHUB_PAT }}\n\n\npermissions:\n  id-token: write   # This is required for requesting the OIDC JWT\n  contents: read    # This is required for actions/checkout\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    name: Build and push\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: Install AWS CLI\n      run: |\n        curl \"https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip\" -o \"awscliv2.zip\"\n        unzip -q awscliv2.zip\n        sudo ./aws/install --update\n        aws --version\n\n    - name: Configure credentials to CDS public ECR using OIDC\n      uses: aws-actions/configure-aws-credentials@master\n      with:\n        role-to-assume: arn:aws:iam::283582579564:role/notification-admin-apply\n        role-session-name: NotifyAdminGitHubActions\n        aws-region: \"us-east-1\"\n    - name: Login to ECR\n      id: login-ecr\n      uses: aws-actions/amazon-ecr-login@5a88a04c91d5c6f97aae0d9be790e64d9b1d47b7 # v1.7.1\n      with:\n        registry-type: public\n\n    - name: Build\n      run: |\n        docker pull $DOCKER_SLUG:latest\n        docker build \\\n        --cache-from $DOCKER_SLUG:latest \\\n        --build-arg GIT_SHA=${GITHUB_SHA::7} \\\n        -t $DOCKER_SLUG:${GITHUB_SHA::7} \\\n        -t $DOCKER_SLUG:latest \\\n        -f ci/Dockerfile .\n    - name: Publish\n      run: |\n        docker push $DOCKER_SLUG:latest && docker push $DOCKER_SLUG:${GITHUB_SHA::7}\n\n    - name: Rollout in Kubernetes\n      run: |\n        ./scripts/callManifestsRollout.sh ${GITHUB_SHA::7}\n\n    - name: my-app-install token\n      id: notify-pr-bot\n      uses: getsentry/action-github-app-token@97c9e23528286821f97fba885c1b1123284b29cc # v2.0.0\n      with:\n        app_id: ${{ secrets.NOTIFY_PR_BOT_APP_ID }}\n        private_key: ${{ secrets.NOTIFY_PR_BOT_PRIVATE_KEY }}\n\n    - uses: cds-snc/notification-pr-bot@main\n      env:\n        TOKEN: ${{ steps.notify-pr-bot.outputs.token }}\n\n    - name: Docker generate SBOM\n      uses: cds-snc/security-tools/.github/actions/generate-sbom@eecd7a02a0294b379411c126b61e5c29e253676a # v2.1.4\n      with:\n        docker_image: \"${{ env.DOCKER_SLUG }}:latest\"\n        dockerfile_path: \"ci/Dockerfile\"\n        sbom_name: \"notification-admin\"\n        token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n    - name: Notify Slack channel if this job failed\n      if: ${{ failure() }}\n      run: |\n        json=\"{'text':'<!here> CI is failing in <https://github.com/cds-snc/notification-admin/|notification-admin> !'}\"\n        curl -X POST -H 'Content-type: application/json' --data \"$json\"  ${{ secrets.SLACK_WEBHOOK }}\n", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:43.738917", "created_at": "2023-09-28T16:52:30+02:00", "updated_at": "2023-09-28T16:52:30+02:00", "name": "GitHub repository metadata exporter", "path": ".github/workflows/export_github_data.yml", "contents": "name: GitHub repository metadata exporter\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"20 7 * * *\"\n\njobs:\n  export-data:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Audit DNS requests\n        uses: cds-snc/dns-proxy-action@main\n        env:\n          DNS_PROXY_FORWARDTOSENTINEL: \"true\"\n          DNS_PROXY_LOGANALYTICSWORKSPACEID: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }}\n          DNS_PROXY_LOGANALYTICSSHAREDKEY: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }}\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - name: Export Data\n        uses: cds-snc/github-repository-metadata-exporter@main\n        with:\n          github-app-id: ${{ secrets.SRE_BOT_RO_APP_ID }}\n          github-app-installation-id: ${{ secrets.SRE_BOT_RO_INSTALLATION_ID }}\n          github-app-private-key: ${{ secrets.SRE_BOT_RO_PRIVATE_KEY }}\n          log-analytics-workspace-id: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }}\n          log-analytics-workspace-key: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }}\n", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:44.965906", "created_at": "2023-09-28T16:52:30+02:00", "updated_at": "2023-09-28T16:52:30+02:00", "name": "Scorecards supply-chain security", "path": ".github/workflows/ossf-scorecard.yml", "contents": "name: Scorecards supply-chain security\non:\n  workflow_dispatch:\n  schedule:\n    # Weekly on Saturdays.\n    - cron: \"30 1 * * 6\"\n  push:\n    branches:\n      - main\n\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecards analysis\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@7699f539c2b9ff754039f0e173fdf1a4e4a1e143\n        with:\n          results_file: ossf-results.json\n          results_format: json\n          publish_results: false\n\n      - name: \"Add metadata\"\n        run: |\n          full_repo=\"${{ github.repository }}\"\n          OWNER=${full_repo%/*}\n          REPO=${full_repo#*/}\n          jq -c '. + {\"metadata_owner\": \"'$OWNER'\", \"metadata_repo\": \"'$REPO'\", \"metadata_query\": \"ossf\"}' ossf-results.json > ossf-results-modified.json\n\n      - name: \"Post results to Sentinel\"\n        uses: cds-snc/sentinel-forward-data-action@main\n        with:\n          file_name: ossf-results-modified.json\n          log_type: GitHubMetadata_OSSF_Scorecard\n          log_analytics_workspace_id: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }}\n          log_analytics_workspace_key: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }}\n", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:46.041346", "created_at": "2022-05-26T20:19:08+02:00", "updated_at": "2022-05-26T20:19:08+02:00", "name": "S3 backup", "path": ".github/workflows/s3-backup.yml", "contents": "name: S3 backup\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 6 * * *\"\n\njobs:\n  s3-backup:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      with:\n        fetch-depth: 0 # retrieve all history\n\n    - name: Configure AWS credentials\n      uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2\n      with:\n        aws-access-key-id: ${{ secrets.AWS_S3_BACKUP_ACCESS_KEY_ID }}\n        aws-secret-access-key: ${{ secrets.AWS_S3_BACKUP_SECRET_ACCESS_KEY }}\n        aws-region: ca-central-1\n\n    - name: Create ZIP bundle\n      run: |\n        ZIP_FILE=`basename ${{ github.repository }}`-`date '+%Y-%m-%d'`.zip\n        zip -rq \"${ZIP_FILE}\" .\n        mkdir -p ${{ github.repository }}\n        mv \"${ZIP_FILE}\" ${{ github.repository }}\n\n    - name: Upload to S3 bucket\n      run: |\n        aws s3 sync . s3://${{ secrets.AWS_S3_BACKUP_BUCKET }} --exclude='*' --include='${{ github.repository }}/*'\n\n    - name: Notify Slack channel if this job failed\n      if: ${{ failure() }}\n      run: |\n        json='{\"text\":\"S3 backup failed in <https://github.com/${{ github.repository }}>!\"}'\n        curl -X POST -H 'Content-type: application/json' --data \"$json\"  ${{ secrets.SLACK_NOTIFY_WEBHOOK }}\n", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:47.218634", "created_at": "2019-12-19T20:42:24+01:00", "updated_at": "2019-12-19T20:42:24+01:00", "name": "Continuous Integration", "path": ".github/workflows/secret.yaml", "contents": "on: push\nname: Continuous Integration\njobs:\n  build:\n    name: seekret-scanning\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: docker://cdssnc/seekret-github-action\n      uses: docker://cdssnc/seekret-github-action@sha256:0aee6df949373ef6df26d35f6207b56f897ddd1caa030646d7421b0afb717665\n", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:48.447627", "created_at": "2022-05-02T21:56:40+02:00", "updated_at": "2023-07-28T06:03:40+02:00", "name": "Delete unused PR review environments", "path": ".github/workflows/test-admin-delete-unused.yaml", "contents": "name: Delete unused PR review environments\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 4 * * *\" # Nightly at 4am\n\nenv:\n  AWS_DEFAULT_REGION: ca-central-1\n  DELETE_AFTER_DAYS: 21\n  FUNCTION_PREFIX: \"notify-admin-pr\"\n  IMAGE: notify/admin\n\njobs:\n  delete-unused-test-admin:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Configure AWS credentials\n        id: aws-creds\n        uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ca-central-1\n\n      - name: Delete old PR review environments\n        run: |\n          IFS=$'\\n\\t'\n          DELETE_DATE_EPOCH=$(date -d \"-${{ env.DELETE_AFTER_DAYS }} days\" +%s)\n          PR_REVIEW_ENVS=\"$(aws lambda list-functions --query 'Functions[?starts_with(FunctionName, `${{ env.FUNCTION_PREFIX }}`) == `true`]' | jq -c -r '.[]')\"\n\n          for ENV in $PR_REVIEW_ENVS; do\n              FUNCTION_NAME=\"$(jq -r '.FunctionName' <<< $ENV)\"\n              LAST_MODIFIED=\"$(jq -r '.LastModified' <<< $ENV)\"\n              LAST_MODIFIED_EPOCH=\"$(date -d $LAST_MODIFIED +%s)\"\n\n              if [ $LAST_MODIFIED_EPOCH -lt $DELETE_DATE_EPOCH ]; then\n                  echo \"Deleting $FUNCTION_NAME\"\n                  PR_NUMBER=\"${FUNCTION_NAME##*-}\"\n                  aws lambda delete-function-url-config --function-name ${{ env.FUNCTION_PREFIX }}-$PR_NUMBER\n                  aws lambda delete-function --function-name ${{ env.FUNCTION_PREFIX }}-$PR_NUMBER\n                  aws logs delete-log-group --log-group-name /aws/lambda/${{ env.FUNCTION_PREFIX }}-$PR_NUMBER\n                  aws ecr batch-delete-image --repository-name $IMAGE --image-ids imageTag=$PR_NUMBER\n              fi\n          done", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:49.619995", "created_at": "2022-04-28T17:05:24+02:00", "updated_at": "2023-07-28T03:24:56+02:00", "name": "Deploy test admin environment", "path": ".github/workflows/test-admin-deploy.yaml", "contents": "name: Deploy test admin environment\n\non:\n  pull_request:\n    branches:\n      - main  \n    types:\n      - labeled\n      - opened\n      - reopened\n      - synchronize\n\nenv:\n  AWS_DEFAULT_REGION: ca-central-1\n  FUNCTION_NAME: \"notify-admin-pr\"\n  IMAGE: notify/admin\n  REGISTRY: 239043911459.dkr.ecr.ca-central-1.amazonaws.com\n  ROLE_ARN: arn:aws:iam::239043911459:role/notify-admin-pr\n\njobs:\n  build-and-push-container:\n    if: ${{ !contains(github.event.pull_request.labels.*.name, 'Renovate') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set envs\n        run: echo \"PR_NUMBER=$(jq --raw-output .pull_request.number \"$GITHUB_EVENT_PATH\")\" >> $GITHUB_ENV\n\n      - name: Checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n\n      - name: Configure AWS credentials\n        id: aws-creds\n        uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ca-central-1\n\n      - name: Login to ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@5a88a04c91d5c6f97aae0d9be790e64d9b1d47b7 # v1.7.1\n\n      - name: Move dockerignore\n        run: |\n          mv ci/Dockerfile.lambda.dockerignore .\n\n      - name: Build Docker image\n        run: |\n          docker build \\\n            --build-arg GIT_SHA=${{ github.sha }} \\\n            -t ${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.PR_NUMBER }} \\\n            -f ci/Dockerfile.lambda .\n          \n      - name: Push Docker image to ECR\n        run: |\n          docker push ${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ env.PR_NUMBER }}\n\n      - name: Delete old images\n        run: |\n          IMAGES_TO_DELETE=\"$(aws ecr list-images --repository-name $IMAGE --filter \"tagStatus=UNTAGGED\" --query 'imageIds[*]' --output json)\"\n          aws ecr batch-delete-image \\\n            --repository-name $IMAGE \\\n            --image-ids \"$IMAGES_TO_DELETE\" || true\n\n      - name: Logout of Amazon ECR\n        run: docker logout $REGISTRY\n\n  deploy-test-admin:\n    if: ${{ !contains(github.event.pull_request.labels.*.name, 'Renovate') }}\n    runs-on: ubuntu-latest\n    outputs:\n      LAMBDA_URL: ${{ steps.create-update-lambda.outputs.pr_url }}\n    needs: build-and-push-container\n    steps:\n      - name: Set envs\n        run: echo \"PR_NUMBER=$(jq --raw-output .pull_request.number \"$GITHUB_EVENT_PATH\")\" >> $GITHUB_ENV\n\n      - name: Configure AWS credentials\n        id: aws-creds\n        uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ca-central-1\n\n      - name: Create/Update lambda function\n        id: create-update-lambda\n        run: |\n          if aws lambda get-function --function-name $FUNCTION_NAME-$PR_NUMBER > /dev/null 2>&1; then\n            aws lambda update-function-code \\\n              --function-name $FUNCTION_NAME-$PR_NUMBER \\\n              --image-uri $REGISTRY/$IMAGE:$PR_NUMBER > /dev/null 2>&1\n\n          else\n            aws lambda create-function \\\n              --function-name $FUNCTION_NAME-$PR_NUMBER \\\n              --package-type Image \\\n              --role $ROLE_ARN \\\n              --timeout 15 \\\n              --memory-size 1024 \\\n              --code ImageUri=$REGISTRY/$IMAGE:$PR_NUMBER \\\n              --description \"$GITHUB_REPOSITORY/pull/$PR_NUMBER\" \\\n              --vpc-config SubnetIds=${{ secrets.PR_REVIEW_ENV_SUBNET_IDS }},SecurityGroupIds=${{ secrets.PR_REVIEW_ENV_SECURITY_GROUP_IDS }} > /dev/null 2>&1\n\n            aws lambda wait function-active --function-name $FUNCTION_NAME-$PR_NUMBER\n            aws lambda add-permission \\\n              --function-name $FUNCTION_NAME-$PR_NUMBER \\\n              --statement-id FunctionURLAllowPublicAccess \\\n              --action lambda:InvokeFunctionUrl \\\n              --principal \"*\" \\\n              --function-url-auth-type NONE > /dev/null 2>&1\n\n            URL=\"$(aws lambda create-function-url-config --function-name $FUNCTION_NAME-$PR_NUMBER --auth-type NONE | jq .FunctionUrl)\"\n            echo \"URL=$URL\" >> $GITHUB_ENV\n\n            aws lambda update-function-configuration \\\n              --function-name $FUNCTION_NAME-$PR_NUMBER \\\n              --environment \"Variables={\\\n                NOTIFY_ENVIRONMENT=staging,\\\n                FLASK_APP=application.py,\\\n                IP_GEOLOCATE_SERVICE=False,\\\n                REDIS_ENABLED=True,\\\n                SENDING_DOMAIN=staging.notification.cdssandbox.xyz,\\\n                API_HOST_NAME=https://api.staging.notification.cdssandbox.xyz,\\\n                ADMIN_BASE_URL=$URL\n              }\" > /dev/null 2>&1\n\n            aws logs create-log-group --log-group-name /aws/lambda/$FUNCTION_NAME-$PR_NUMBER > /dev/null 2>&1\n            aws logs put-retention-policy --log-group-name /aws/lambda/$FUNCTION_NAME-$PR_NUMBER --retention-in-days 14 > /dev/null 2>&1\n          fi\n\n          aws lambda wait function-updated --function-name $FUNCTION_NAME-$PR_NUMBER\n          aws lambda put-function-concurrency \\\n            --function-name $FUNCTION_NAME-$PR_NUMBER \\\n            --reserved-concurrent-executions 5\n\n          PR_URL=$(aws lambda get-function-url-config --function-name $FUNCTION_NAME-$PR_NUMBER --query 'FunctionUrl' --output text)\n          echo \"pr_url=$PR_URL\" >> $GITHUB_OUTPUT\n      - name: Update PR\n        if: env.URL != ''\n        uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: `## :test_tube: Review environment\\n${process.env.URL.slice(1, -1)}`\n            })\n    \n  cypress-tests:\n    runs-on: ubuntu-latest\n    needs: deploy-test-admin\n    continue-on-error: true\n    steps:\n      - env: \n          CYPRESS_BASE_URL: ${{needs.deploy-test-admin.outputs.LAMBDA_URL}}\n        run: echo HEY \"$CYPRESS_BASE_URL\"\n      - name: checkout\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2\n        with:\n          node-version: '16.x'\n\n      - name: Write the cypress.env.json file\n        # use quotes around the secret, as its value\n        # is simply inserted as a string into the command\n        run: |\n          echo '${{ secrets.CYPRESS_ENV_JSON }}' > tests_cypress/cypress.env.json \n\n      - name: Run the cypress tests\n        uses: cypress-io/github-action@d79d2d530a66e641eb4a5f227e13bc985c60b964 # v4.2.2\n        env:\n          CYPRESS_BASE_URL: ${{needs.deploy-test-admin.outputs.LAMBDA_URL}}\n        with:\n          record: false\n          config: \"video=false,screenshotOnRunFailure=false\"\n          build: npx cypress info\n          working-directory: tests_cypress\n          spec: |\n            cypress/e2e/admin/ci.cy.js\n", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:50.803434", "created_at": "2022-04-28T20:44:27+02:00", "updated_at": "2022-04-28T20:44:27+02:00", "name": "Remove test admin deployment", "path": ".github/workflows/test-admin-remove.yaml", "contents": "name: Remove test admin deployment\n\non:\n  pull_request:\n    branches:\n      - main  \n    types:\n      - closed\n\nenv:\n  AWS_DEFAULT_REGION: ca-central-1\n  FUNCTION_NAME: \"notify-admin-pr\"\n  GITHUB_SHA: ${{ github.sha }}\n  IMAGE: notify/admin\n  REGISTRY: 239043911459.dkr.ecr.ca-central-1.amazonaws.com\n\njobs:\n  remove-test-admin:\n    if: ${{ !contains(github.event.pull_request.labels.*.name, 'Renovate') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set envs\n        run: echo \"PR_NUMBER=$(jq --raw-output .pull_request.number \"$GITHUB_EVENT_PATH\")\" >> $GITHUB_ENV\n\n      - name: Configure AWS credentials\n        id: aws-creds\n        uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ca-central-1\n\n      - name: Delete lambda function resources\n        run: |\n          aws lambda wait function-active --function-name $FUNCTION_NAME-$PR_NUMBER\n          aws lambda delete-function-url-config --function-name $FUNCTION_NAME-$PR_NUMBER\n          aws lambda delete-function --function-name $FUNCTION_NAME-$PR_NUMBER\n          aws logs delete-log-group --log-group-name /aws/lambda/$FUNCTION_NAME-$PR_NUMBER\n          aws ecr batch-delete-image --repository-name $IMAGE --image-ids imageTag=$PR_NUMBER\n        ", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:52.031448", "created_at": "2020-02-26T22:22:05+01:00", "updated_at": "2023-07-27T17:49:36+02:00", "name": "Continuous Integration Testing", "path": ".github/workflows/test.yaml", "contents": "on:\n  push:\n  schedule:\n    - cron: '1 0-12,20-23 * * 1-5'\n    - cron: '1 * * * 0,6'\nname: Continuous Integration Testing\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0\n      with:\n        python-version: '3.10'\n    - uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2\n      with:\n        node-version: '16.x'\n    - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Install poetry\n      env:\n        POETRY_VERSION: \"1.7.1\"\n      run: pip install poetry==${POETRY_VERSION} && poetry --version\n    - name: Install requirements\n      run: poetry install --with test\n    - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3\n      with:\n        path: ~/.npm\n        key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}\n        restore-keys: |\n          ${{ runner.os }}-node-\n    - run: /bin/bash -c \"scripts/bootstrap.sh && poetry run make test\"\n      env:\n        A11Y_TRACKER_KEY: ${{ secrets.A11Y_TRACKER_KEY }}\n        MIXPANEL_PROJECT_TOKEN: <project_token>\n    - name: Check for missing translations\n      run: make test-translations\n    - name: Notify Slack channel if this job failed in default branch\n      if: ${{ failure() && github.ref == 'refs/heads/main' }}\n      run: |\n        json=\"{'text':'<!here> CI is failing in <https://github.com/cds-snc/notification-admin/|notification-admin> !'}\"\n        curl -X POST -H 'Content-type: application/json' --data \"$json\"  ${{ secrets.SLACK_WEBHOOK }}\n", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:53.179589", "created_at": "2022-08-31T20:40:19+02:00", "updated_at": "2024-05-08T17:27:00+02:00", "name": "test endpoints", "path": ".github/workflows/test_endpoints.yaml", "contents": "on: push\nname: test endpoints\njobs:\n  test:\n    name: test endpoints\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4.8.0\n      with:\n        python-version: '3.10'\n\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n\n    - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Install poetry\n      env:\n        POETRY_VERSION: \"1.7.1\"\n      run: pip install poetry==${POETRY_VERSION} && poetry --version\n\n    - name: Install requirements\n      run: poetry install --with test\n\n    - name: Get python version\n      run: |\n        python_version=$(python  -V | cut -d' ' -f2)\n        echo \"python_version=${python_version}\" >> $GITHUB_ENV\n\n    - name: Make version file\n      run: |\n        printf '__commit_sha__ = \"09cfe03100443fb9071bba88d5c8775ff54a9ebc\"\\n__time__ = \"2022-07-25:15:11:05\"\\n' > version.py\n        cp version.py \"${{ github.workspace }}/app/\"\n\n    - name: Copy site-packages in workspace\n      working-directory: ${{ github.workspace }}\n      shell: bash\n      run: |\n        mkdir -p \"${{ github.workspace }}/env/\" && cp -fR $(poetry env list | poetry env info -p)/lib/python3.10/site-packages \"${{ github.workspace }}/env/\"\n\n    - name: Install development .env file\n      working-directory: ${{ github.workspace }}\n      shell: bash\n      run: |\n        cp -f .env.example .env\n\n    - name: set PYTHONPATH\n      run: |\n        echo \"PYTHONPATH=/github/workspace/env/site-packages:${{ env.PYTHONPATH}}\" >> $GITHUB_ENV\n\n    - name: Checks for new endpoints against AWS WAF rules\n      uses: cds-snc/notification-utils/.github/actions/waffles@52.2.2\n      with:\n        app-loc: '/github/workspace'\n        app-libs: '/github/workspace/env/site-packages'\n        flask-mod: 'application'\n        flask-prop: 'application'\n        base-url: 'https://staging.notification.cdssandbox.xyz'\n", "state": "active", "repository": "cds-snc/notification-admin"}
{"mined_at": "2024-07-15T16:19:55.404625", "created_at": "2021-09-06T21:58:00+02:00", "updated_at": "2021-09-06T21:58:00+02:00", "name": "cla-bot", "path": ".github/workflows/cla.yml", "contents": "\nname: \"cla-bot\"\non:\n  issue_comment:\n    types: [created]\n  pull_request_target:\n    types: [opened,closed,synchronize]\n\njobs:\n  cla-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"MLCommons CLA bot check\"\n        if: (github.event.comment.body == 'recheck') || github.event_name == 'pull_request_target'\n        # Alpha Release\n        uses: mlcommons/cla-bot@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # the below token should have repo scope and must be manually added by you in the repository's secret\n          PERSONAL_ACCESS_TOKEN : ${{ secrets.MLCOMMONS_BOT_CLA_TOKEN }}\n        with:\n          path-to-signatures: 'cla-bot/v1/cla.json'\n          # branch should not be protected\n          branch: 'main'\n          allowlist: user1,bot*\n          remote-organization-name: mlcommons\n          remote-repository-name: systems\n          \n         #below are the optional inputs - If the optional inputs are not given, then default values will be taken\n          #remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #remote-repository-name:  enter the  remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #create-file-commit-message: 'For example: Creating file for storing CLA Signatures'\n          #signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo'\n          #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'\n          #custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'\n          #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:19:56.438065", "created_at": "2024-05-23T23:11:57+02:00", "updated_at": "2024-05-23T23:11:57+02:00", "name": "Publish site", "path": ".github/workflows/publish.yaml", "contents": null, "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:19:57.560772", "created_at": "2022-09-09T22:39:03+02:00", "updated_at": "2024-04-28T14:59:00+02:00", "name": "CM script automation features test", "path": ".github/workflows/test-cm-script-features.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CM script automation features test\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - '.github/workflows/test-cm-script-features.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.12\", \"3.11\", \"3.10\", \"3.9\", \"3.8\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test CM Script Features\n      run: |\n        python tests/script/test_install.py\n        python tests/script/test_docker.py\n        python tests/script/test_features.py\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:19:58.687474", "created_at": "2022-09-07T12:29:04+02:00", "updated_at": "2024-04-28T14:59:00+02:00", "name": "CM script automation test", "path": ".github/workflows/test-cm-scripts.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CM script automation test\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - '.github/workflows/test-cm-scripts.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.12\", \"3.9\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test CM Script Automation\n      run: |\n        python tests/script/test_deps.py\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:19:59.813991", "created_at": "2023-01-23T10:34:27+01:00", "updated_at": "2024-04-28T14:59:00+02:00", "name": "CM tutorial retinanet", "path": ".github/workflows/test-cm-tutorial-retinanet.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CM tutorial retinanet\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - '.github/workflows/test-cm-tutorial-retinanet.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test CM Tutorial Retinanet\n      run: |\n        python tests/tutorials/test_tutorial_retinanet.py\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:01.005759", "created_at": "2023-01-24T12:22:47+01:00", "updated_at": "2024-04-28T14:59:00+02:00", "name": "CM tutorial tvm pip install", "path": ".github/workflows/test-cm-tutorial-tvm-pip.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CM tutorial tvm pip install\n\non:\n  pull_request:\n    branches: [ \"master\", \"test\" ]\n    paths:\n      - '.github/workflows/test-cm-tutorial-tvm-pip.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\n\njobs:\n  test_vm_runtime:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test CM Tutorial TVM pip install with VirtualMachine Runtime\n      run: |\n        python tests/tutorials/test_tutorial_tvm_pip_vm.py\n\n  test_ge_runtime:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test CM Tutorial TVM pip install with GraphExecutor Runtime\n      run: |\n        python tests/tutorials/test_tutorial_tvm_pip_ge.py\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:02.063826", "created_at": "2023-01-23T13:02:01+01:00", "updated_at": "2024-04-28T16:05:58+02:00", "name": "CM tutorial tvm", "path": ".github/workflows/test-cm-tutorial-tvm.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CM tutorial tvm\n\non:\n  pull_request:\n    branches: [ \"test\" ]\n    paths:\n      - '.github/workflows/test-cm-tutorial-tvm.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test CM Tutorial TVM\n      run: |\n        python tests/tutorials/test_tutorial_tvm.py\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:03.176774", "created_at": "2022-06-16T12:47:26+02:00", "updated_at": "2024-04-28T14:59:00+02:00", "name": "CM test", "path": ".github/workflows/test-cm.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CM test\n\non:\n  pull_request:\n    branches: [ \"master\" ]\n    paths:\n      - '.github/workflows/test-cm.yml'\n      - 'cm/**'\n      - '!cm/**.md'\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        on: [ubuntu-latest, windows-latest]\n    runs-on: \"${{ matrix.on }}\"\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies and test cm pull repo\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest\n        pip install -r requirements.txt\n        python -m pip install --ignore-installed --verbose pip setuptools\n        cd cm\n        python -m pip install .\n        python -m cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo mlcommons@cm4mlops --branch=mlperf-inference\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 cm/cmind --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 cm/cmind --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test\n      run: |\n        python tests/test_cm.py\n\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:04.256219", "created_at": "2024-03-05T16:08:36+01:00", "updated_at": "2024-04-28T14:59:00+02:00", "name": "image classification with ONNX", "path": ".github/workflows/test-image-classification-onnx.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: image classification with ONNX\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - '.github/workflows/test-image-classification-onnx.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.12\", \"3.9\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test image classification with ONNX\n      run: |\n        cmr \"python app image-classification onnx\" --quiet\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:05.349162", "created_at": "2024-03-05T17:54:24+01:00", "updated_at": "2024-04-28T14:59:00+02:00", "name": "MLPerf inference bert (deepsparse, tf, onnxruntime, pytorch)", "path": ".github/workflows/test-mlperf-inference-bert-deepsparse-tf-onnxruntime-pytorch.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: MLPerf inference bert (deepsparse, tf, onnxruntime, pytorch)\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - '.github/workflows/test-mlperf-inference-bert-deepsparse-tf-onnxruntime-pytorch.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # 3.12 didn't work on 20240305 - need to check\n        python-version: [ \"3.11\", \"3.9\" ]\n        backend: [ \"deepsparse\", \"tf\", \"onnxruntime\", \"pytorch\" ]\n        precision: [ \"int8\", \"fp32\" ]\n        exclude:\n          - backend: tf\n          - backend: pytorch\n          - backend: onnxruntime\n          - precision: fp32\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test MLPerf Inference Bert (DeepSparse, TF, ONNX, PyTorch)\n      run: |\n        cm run script --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --submitter=\"cTuning\" --model=bert-99 --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=5 --precision=${{ matrix.precision }} --target_qps=1 -v --quiet\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:06.396323", "created_at": "2023-06-18T21:56:44+02:00", "updated_at": "2024-04-28T16:05:58+02:00", "name": "MLPerf inference GPT-J", "path": ".github/workflows/test-mlperf-inference-gptj.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: MLPerf inference GPT-J\n\non:\n  pull_request:\n    branches: [ \"master1\", \"dev1\" ]\n    paths:\n      - '.github/workflows/test-mlperf-inference-gptj.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.12\", \"3.9\" ]\n        backend: [ \"pytorch\" ]\n        precision: [ \"bfloat16\" ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test MLPerf Inference GPTJ\n      run: |\n        cm run script --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --submitter=\"cTuning\" --model=gptj --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=1 --precision=${{ matrix.precision }} --target_qps=1 --quiet\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:07.449236", "created_at": "2024-03-10T20:40:52+01:00", "updated_at": "2024-04-28T14:59:00+02:00", "name": "MLPerf inference MLCommons C++ ResNet50", "path": ".github/workflows/test-mlperf-inference-mlcommons-cpp-resnet50.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: MLPerf inference MLCommons C++ ResNet50\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - '.github/workflows/test-mlperf-inference-mlcommons-cpp-resnet50.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.12\", \"3.9\" ]\n        llvm-version: [ \"15.0.6\", \"16.0.4\", \"17.0.6\" ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n        cm run script --quiet --tags=install,prebuilt,llvm --version=${{ matrix.llvm-version }}\n    - name: Test MLPerf Inference MLCommons C++ ResNet50\n      run: |\n        cmr \"app mlperf inference mlcommons cpp\" -v --quiet\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:08.620770", "created_at": "2022-11-13T10:22:09+01:00", "updated_at": "2024-04-28T14:59:00+02:00", "name": "MLPerf inference resnet50", "path": ".github/workflows/test-mlperf-inference-resnet50.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: MLPerf inference resnet50\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - '.github/workflows/test-mlperf-inference-resnet50.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    env:\n      CM_INDEX: \"on\"\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.12\", \"3.9\" ]\n        backend: [ \"onnxruntime\", \"tf\" ]\n        implementation: [ \"python\", \"cpp\" ]\n        exclude:\n          - backend: tf\n            implementation: cpp\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test MLPerf Inference ResNet50\n      run: |\n        cm run script --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --submitter=\"cTuning\" --hw_name=default --model=resnet50 --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=500 --target_qps=1 -v --quiet \n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:09.761573", "created_at": "2022-11-12T23:05:20+01:00", "updated_at": "2024-04-28T14:59:00+02:00", "name": "MLPerf inference retinanet", "path": ".github/workflows/test-mlperf-inference-retinanet.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: MLPerf inference retinanet\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - 'cm-mlops/**'\n      - '.github/workflows/test-mlperf-inference-retinanet.yml'\n      - '!cm-mlops/**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.12\", \"3.9\" ]\n        backend: [ \"onnxruntime\", \"pytorch\" ]\n        implementation: [ \"python\", \"cpp\" ]\n        exclude:\n          - backend: pytorch\n            implementation: cpp\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test MLPerf Inference Retinanet using ${{ matrix.backend }}\n      run: |\n        cm run script --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --submitter=\"cTuning\" --hw_name=default --model=retinanet --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=5 --adr.compiler.tags=gcc --quiet  -v --target_qps=1\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:10.873705", "created_at": "2023-06-18T21:56:44+02:00", "updated_at": "2024-04-28T14:59:00+02:00", "name": "MLPerf inference rnnt", "path": ".github/workflows/test-mlperf-inference-rnnt.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: MLPerf inference rnnt\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - '.github/workflows/test-mlperf-inference-rnnt.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.12\", \"3.9\" ]\n        backend: [ \"pytorch\" ]\n        precision: [ \"fp32\" ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test MLPerf Inference RNNT\n      run: |\n        cm run script --tags=run,mlperf,inference,generate-run-cmds,_performance-only --submitter=\"cTuning\" --model=rnnt --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=5 --precision=${{ matrix.precision }} --target_qps=5  -v --quiet\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:11.879020", "created_at": "2022-11-16T00:49:47+01:00", "updated_at": "2024-04-28T16:05:58+02:00", "name": "MLPerf inference resnet50 using TVM.", "path": ".github/workflows/test-mlperf-inference-tvm.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n# We are doing similar test on our tvm tutorial test. So, this test is not necessary\nname: MLPerf inference resnet50 using TVM.\n\non:\n  pull_request:\n    branches: [ \"tvm-more\" ]\n    paths:\n      - '.github/workflows/test-mlperf-inference-tvm.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.12\", \"3.10\" ]\n        backend: [ \"tvm-onnx\" ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: MLPerf Inference ResNet50 using TVM\n      run: |\n        cm run script --tags=run,mlperf,inference,generate-run-cmds --hw_name=default --model=resnet50 --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=5 --target_qps=1 -v --quiet\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:13.048919", "created_at": "2024-03-05T17:03:45+01:00", "updated_at": "2024-04-28T14:59:00+02:00", "name": "MLPerf loadgen with HuggingFace bert onnx fp32 squad model", "path": ".github/workflows/test-mlperf-loadgen-onnx-huggingface-bert-fp32-squad.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: MLPerf loadgen with HuggingFace bert onnx fp32 squad model\n\non:\n  pull_request:\n    branches: [ \"master\", \"dev\" ]\n    paths:\n      - '.github/workflows/test-mlperf-loadgen-onnx-huggingface-bert-fp32-squad.yml'\n      - 'cm-mlops/**'\n      - '!cm-mlops/**.md'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.12\", \"3.9\" ]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}\n        cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}\n        cm run script --quiet --tags=get,sys-utils-cm\n    - name: Test MLPerf loadgen with HuggingFace bert onnx fp32 squad model\n      run: |\n        cmr \"python app loadgen-generic _onnxruntime _custom _huggingface _model-stub.ctuning/mlperf-inference-bert-onnx-fp32-squad-v1.1\" --adr.hf-downloader.model_filename=model.onnx --quiet\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:14.095311", "created_at": "2024-02-12T14:57:54+01:00", "updated_at": "2024-02-12T14:57:54+01:00", "name": "Test Compilation of QAIC Compute SDK (build LLVM from src)", "path": ".github/workflows/test-qaic-compute-sdk-build.yml", "contents": "name: Test Compilation of QAIC Compute SDK (build LLVM from src)\n\non:\n  schedule:\n    - cron: \"1 1 * * 2\"\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        llvm-version: [ \"12.0.1\", \"13.0.1\", \"14.0.0\", \"15.0.6\", \"16.0.4\", \"17.0.6\" ]\n        exclude:\n          - llvm-version: \"13.0.1\"\n          - llvm-version: \"14.0.0\"\n          - llvm-version: \"15.0.6\"\n          - llvm-version: \"16.0.4\"\n          - llvm-version: \"17.0.6\"\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        cm pull repo mlcommons@cm4mlops\n        cm run script --tags=get,sys-utils-cm --quiet\n  \n    - name: Test QAIC Compute SDK for compilation\n      run: |\n        cm run script --tags=get,qaic,compute,sdk --adr.llvm.version=${{ matrix.llvm-version }} --quiet\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:15.175375", "created_at": "2024-02-10T21:24:09+01:00", "updated_at": "2024-02-10T21:24:09+01:00", "name": "Test QAIC Software kit Compilation", "path": ".github/workflows/test-qaic-software-kit.yml", "contents": "name: Test QAIC Software kit Compilation\n\non:\n  schedule:\n    - cron: \"1 1 * * 1\"\n\njobs:\n  build_ubuntu_20_04:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        compiler: [ \"gcc\", \"llvm\" ]\n        llvm-version: [ \"12.0.1\", \"13.0.1\", \"14.0.0\", \"15.0.6\" ]\n        exclude:\n          - llvm-version: \"12.0.1\"\n          - llvm-version: \"13.0.1\"\n          - llvm-version: \"14.0.0\"\n            compiler: \"gcc\"\n          - llvm-version: \"15.0.6\"\n            compiler: \"gcc\"\n        include:\n          - llvm-version: \" \"\n            compiler: \"gcc\"\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python3 -m pip install cmind\n        cm pull repo mlcommons@cm4mlops\n        cm run script --tags=get,sys-utils-cm --quiet\n  \n    - name: Test Software Kit for compilation on Ubuntu 20.04\n      run: |\n        cm run script --tags=get,qaic,software,kit --adr.compiler.tags=${{ matrix.compiler }} --adr.compiler.version=${{ matrix.llvm-version }} --quiet\n        cm run script --tags=get,qaic,software,kit --adr.compiler.tags=${{ matrix.compiler }} --adr.compiler.version=${{ matrix.llvm-version }} --quiet\n", "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:16.278880", "created_at": "2024-05-23T23:12:35+02:00", "updated_at": "2024-05-23T23:12:35+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mlcommons/ck"}
{"mined_at": "2024-07-15T16:20:18.656066", "created_at": "2021-09-11T04:30:02+02:00", "updated_at": "2021-09-11T04:30:02+02:00", "name": "Docker", "path": ".github/workflows/docker.yml", "contents": "---\nname: Docker\n\non:\n  workflow_dispatch:\n\n  push:\n    branches:\n      - develop\n    paths:\n      - \"**\"\n\n  pull_request:\n    branches:\n      - develop\n\n  release:\n    types: [published]\n\nenv:\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build_n_push:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Git\n        uses: actions/checkout@v3\n\n      - name: Determine Docker info from repo\n        id: meta\n        uses: docker/metadata-action@v3\n        with:\n          images: ${{ env.IMAGE_NAME }}\n\n      - name: Log the image labels\n        run: echo '${{ steps.meta.outputs.labels }}'\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.GADOCKERSVC_USERNAME }}\n          password: ${{ secrets.GADOCKERSVC_PASSWORD }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          builder: ${{ steps.buildx.outputs.name }}\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            ENVIRONMENT=deployment\n", "state": "active", "repository": "opendatacube/eo-datasets"}
{"mined_at": "2024-07-15T16:20:19.884358", "created_at": "2021-02-25T00:19:26+01:00", "updated_at": "2021-02-25T00:19:26+01:00", "name": "Linting", "path": ".github/workflows/lint.yml", "contents": "---\nname: Linting\n\non:\n  pull_request:\n    paths:\n      - '**'\n\n  push:\n    paths:\n      - '**'\n\njobs:\n  quality-check:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Build Docker\n        run: |\n          make build\n\n      - name: Run linting\n        run: |\n          make lint-root\n", "state": "active", "repository": "opendatacube/eo-datasets"}
{"mined_at": "2024-07-15T16:20:21.012733", "created_at": "2021-02-25T00:19:26+01:00", "updated_at": "2021-02-25T00:19:26+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "---\nname: Tests\n\non:\n  pull_request:\n    paths:\n      - '**'\n\n  push:\n    paths:\n      - '**'\n\njobs:\n  integration-tests:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Build Docker\n        run: |\n          make build\n\n      - name: Run tests\n        run: |\n          make test-root\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1\n        with:\n          fail_ci_if_error: false\n", "state": "active", "repository": "opendatacube/eo-datasets"}
{"mined_at": "2024-07-15T16:20:23.161380", "created_at": "2023-04-26T02:41:13+02:00", "updated_at": "2023-04-26T02:41:13+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "voxel-fox-ltd/novus"}
{"mined_at": "2024-07-15T16:20:25.437944", "created_at": "2021-12-02T19:37:37+01:00", "updated_at": "2024-01-23T00:42:20+01:00", "name": "📦🚀 Build Installer - Linux DEB", "path": ".github/workflows/build-linux-installer-deb.yml", "contents": "name: 📦🚀 Build Installer - Linux DEB\n\non:\n  workflow_dispatch:\n    inputs:\n      release_type:\n        description: 'Tagged release testing scenario'\n        required: false\n        type: choice\n        default: ''\n        options:\n        - ''\n        - 9.9.9-b1\n        - 9.9.9-rc1\n        - 9.9.9\n  push:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - 'long_lived/**'\n      - main\n      - 'release/**'\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - '**'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  build:\n    name: Build ${{ matrix.os.arch }}\n    runs-on: ${{ matrix.os.runs-on }}\n    container: cactusnetwork/ubuntu-20.04-builder:latest\n    timeout-minutes: 120\n    outputs:\n      cactus-installer-version: ${{ steps.version_number.outputs.CACTUS_INSTALLER_VERSION }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        os:\n          - runs-on: ubuntu-latest\n            arch: amd64\n            madmax-suffix: \"x86-64\"\n            bladebit-suffix: \"ubuntu-x86-64.tar.gz\"\n          - runs-on: [Linux, ARM64]\n            arch: arm64\n            madmax-suffix: \"arm64\"\n            bladebit-suffix: \"ubuntu-arm64.tar.gz\"\n\n    steps:\n    - uses: Cactus-Network/actions/clean-workspace@main\n\n    - name: Add safe git directory\n      uses: Cactus-Network/actions/git-mark-workspace-safe@main\n\n    - name: Checkout Code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: recursive\n\n    - uses: Cactus-Network/actions/git-ssh-to-https@main\n\n    - name: Cleanup any leftovers that exist from previous runs\n      run: bash build_scripts/clean-runner.sh || true\n\n    - name: Set Env\n      uses: Cactus-Network/actions/setjobenv@main\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Check tag type\n      shell: bash\n      run: |\n        REG_B=\"^[0-9]+\\.[0-9]+\\.[0-9]+-b[0-9]+$\"\n        REG_RC=\"^[0-9]+\\.[0-9]+\\.[0-9]+-rc[0-9]+$\"\n        if [[ \"${{ github.event.release.tag_name }}\" =~ $REG_B ]] || [[ \"${{ inputs.release_type }}\" =~ $REG_B ]]; then\n          echo \"TAG_TYPE=beta\"\n          echo \"TAG_TYPE=beta\" >> \"$GITHUB_ENV\"\n        elif [[ \"${{ github.event.release.tag_name }}\" =~ $REG_RC ]] || [[ \"${{ inputs.release_type }}\" =~ $REG_RC ]]; then\n          echo \"TAG_TYPE=rc\"\n          echo \"TAG_TYPE=rc\" >> \"$GITHUB_ENV\"\n        fi\n\n    # Create our own venv outside of the git directory JUST for getting the ACTUAL version so that install can't break it\n    - name: Get version number\n      id: version_number\n      run: |\n        python3 -m venv ../venv\n        . ../venv/bin/activate\n        pip3 install setuptools_scm\n        echo \"CACTUS_INSTALLER_VERSION=$(python3 ./build_scripts/installer-version.py)\" >> \"$GITHUB_OUTPUT\"\n        deactivate\n\n    - name: Get latest madmax plotter\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        LATEST_MADMAX=$(gh api repos/Cactus-Network/cactus-plotter-madmax/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n        mkdir \"$GITHUB_WORKSPACE\"/madmax\n        gh release download -R Cactus-Network/cactus-plotter-madmax \"$LATEST_MADMAX\" -p 'cactus_plot-*-${{ matrix.os.madmax-suffix }}' -O \"$GITHUB_WORKSPACE\"/madmax/cactus_plot\n        gh release download -R Cactus-Network/cactus-plotter-madmax \"$LATEST_MADMAX\" -p 'cactus_plot_k34-*-${{ matrix.os.madmax-suffix }}' -O \"$GITHUB_WORKSPACE\"/madmax/cactus_plot_k34\n        chmod +x \"$GITHUB_WORKSPACE\"/madmax/cactus_plot\n        chmod +x \"$GITHUB_WORKSPACE\"/madmax/cactus_plot_k34\n\n    - name: Fetch bladebit versions\n      shell: bash\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        # Fetch the latest version of each type\n        LATEST_RELEASE=$(gh api repos/Cactus-Network/bladebit/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n        LATEST_BETA=$(gh api repos/Cactus-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-beta[0-9]+$\"))) | first | .tag_name')\n        LATEST_RC=$(gh api repos/Cactus-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-rc[0-9]+$\"))) | first | .tag_name')\n\n        # Compare the versions and choose the newest that matches the requirements\n        if [[ \"$TAG_TYPE\" == \"beta\" || -z \"$TAG_TYPE\" ]]; then\n          # For beta or dev builds (indicated by the absence of a tag), use the latest version available\n          LATEST_VERSION=$(printf \"%s\\n%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_BETA\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n        elif [[ \"$TAG_TYPE\" == \"rc\" ]]; then\n          # For RC builds, use the latest RC or full release if it's newer\n          LATEST_VERSION=$(printf \"%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n        else\n          # For full releases, use the latest full release\n          LATEST_VERSION=\"$LATEST_RELEASE\"\n        fi\n        echo \"LATEST_VERSION=$LATEST_VERSION\" >> \"$GITHUB_ENV\"\n\n    - name: Get latest bladebit plotter\n      shell: bash\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        # Download and extract the chosen version\n        mkdir \"$GITHUB_WORKSPACE\"/bladebit\n        cd \"$GITHUB_WORKSPACE\"/bladebit\n        gh release download -R Cactus-Network/bladebit \"$LATEST_VERSION\" -p 'bladebit*-${{ matrix.os.bladebit-suffix }}'\n        ls *.tar.gz | xargs -I{} bash -c 'tar -xzf {} && rm {}'\n        ls bladebit* | xargs -I{} chmod +x {}\n        cd \"$OLDPWD\"\n\n    - uses: ./.github/actions/install\n      with:\n        python-version: ${{ matrix.python-version }}\n        development: true\n        constraints-file-artifact-name: constraints-file-${{ matrix.os.arch }}\n\n    - uses: cactus-network.network/actions/activate-venv@main\n\n    - name: Prepare GUI cache\n      id: gui-ref\n      run: |\n        gui_ref=$(git submodule status cactus-blockchain-gui | sed -e 's/^ //g' -e 's/ cactus-blockchain-gui.*$//g')\n        echo \"${gui_ref}\"\n        echo \"GUI_REF=${gui_ref}\" >> \"$GITHUB_OUTPUT\"\n        echo \"rm -rf ./cactus-blockchain-gui\"\n        rm -rf ./cactus-blockchain-gui\n\n    - name: Cache GUI\n      uses: actions/cache@v3\n      id: cache-gui\n      with:\n        path: ./cactus-blockchain-gui\n        key: ${{ runner.os }}-${{ matrix.os.arch }}-cactus-blockchain-gui-${{ steps.gui-ref.outputs.GUI_REF }}\n\n    - if: steps.cache-gui.outputs.cache-hit != 'true'\n      name: Build GUI\n      continue-on-error: false\n      run: |\n        cd ./build_scripts\n        bash build_linux_deb-1-gui.sh\n\n    - name: Build .deb package\n      env:\n        CACTUS_INSTALLER_VERSION: ${{ steps.version_number.outputs.CACTUS_INSTALLER_VERSION }}\n      run: |\n        ldd --version\n        cd ./build_scripts\n        sh build_linux_deb-2-installer.sh ${{ matrix.os.arch }}\n\n    - name: Upload Linux artifacts\n      uses: actions/upload-artifact@v3\n      with:\n        name: cactus-installers-linux-deb-${{ matrix.os.arch }}\n        path: ${{ github.workspace }}/build_scripts/final_installer/\n\n    - name: Remove working files to exclude from cache\n      run: |\n        rm -rf ./cactus-blockchain-gui/packages/gui/daemon\n\n  publish:\n    name: Publish ${{ matrix.os.arch }}\n    runs-on: ${{ matrix.os.runs-on }}\n    needs:\n    - build\n    container: cactusnetwork/ubuntu-20.04-builder:latest\n    timeout-minutes: 5\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        os:\n          - runs-on: ubuntu-latest\n            arch: amd64\n            glue-name: \"build-amd64-deb\"\n          - runs-on: [Linux, ARM64]\n            arch: arm64\n            glue-name: \"build-arm64-deb\"\n\n    env:\n      CACTUS_INSTALLER_VERSION: ${{ needs.build.outputs.cactus-installer-version }}\n\n    steps:\n    - uses: Cactus-Network/actions/clean-workspace@main\n\n    - uses: cactus-network.network/actions/create-venv@main\n      id: create-venv\n\n    - uses: cactus-network.network/actions/activate-venv@main\n      with:\n        directories: ${{ steps.create-venv.outputs.activate-venv-directories }}\n\n    - name: Download constraints file\n      uses: actions/download-artifact@v3\n      with:\n        name: constraints-file-${{ matrix.os.arch }}\n        path: venv\n\n    - name: Install utilities\n      run: |\n        pip install --constraint venv/constraints.txt py3createtorrent\n\n    - name: Download packages\n      uses: actions/download-artifact@v3\n      with:\n        name: cactus-installers-linux-deb-${{ matrix.os.arch }}\n        path: build_scripts/final_installer/\n\n    - name: Set Env\n      uses: Cactus-Network/actions/setjobenv@main\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Test for secrets access\n      id: check_secrets\n      shell: bash\n      run: |\n        unset HAS_AWS_SECRET\n        unset HAS_GLUE_SECRET\n\n        if [ -n \"$AWS_SECRET\" ]; then HAS_AWS_SECRET='true' ; fi\n        echo HAS_AWS_SECRET=${HAS_AWS_SECRET} >> \"$GITHUB_OUTPUT\"\n\n        if [ -n \"$GLUE_API_URL\" ]; then HAS_GLUE_SECRET='true' ; fi\n        echo HAS_GLUE_SECRET=${HAS_GLUE_SECRET} >> \"$GITHUB_OUTPUT\"\n      env:\n        AWS_SECRET: \"${{ secrets.CACTUS_AWS_ACCOUNT_ID }}\"\n        GLUE_API_URL: \"${{ secrets.GLUE_API_URL }}\"\n\n    - name: Configure AWS credentials\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET\n      uses: aws-actions/configure-aws-credentials@v4\n      with:\n        role-to-assume: arn:aws:iam::${{ secrets.CACTUS_AWS_ACCOUNT_ID }}:role/installer-upload\n        aws-region: us-west-2\n\n    - name: Upload to s3\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET\n      run: |\n        GIT_SHORT_HASH=$(echo \"${GITHUB_SHA}\" | cut -c1-8)\n        CACTUS_DEV_BUILD=${CACTUS_INSTALLER_VERSION}-$GIT_SHORT_HASH\n        echo \"CACTUS_DEV_BUILD=$CACTUS_DEV_BUILD\" >> \"$GITHUB_ENV\"\n        aws s3 cp \"$GITHUB_WORKSPACE/build_scripts/final_installer/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb\" \"s3://download.cactus-network.network.net/dev/cactus-blockchain_${CACTUS_DEV_BUILD}_${{ matrix.os.arch }}.deb\"\n        aws s3 cp \"$GITHUB_WORKSPACE/build_scripts/final_installer/cactus-blockchain-cli_${CACTUS_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb\" \"s3://download.cactus-network.network.net/dev/cactus-blockchain-cli_${CACTUS_DEV_BUILD}-1_${{ matrix.os.arch }}.deb\"\n\n    - name: Create Checksums\n      if: env.FULL_RELEASE == 'true' || github.ref == 'refs/heads/main'\n      run: |\n        ls \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/\n        sha256sum \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb > \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb.sha256\n        sha256sum \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli_${CACTUS_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb > \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli_${CACTUS_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb.sha256\n        ls \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/\n\n    - name: Create .deb torrent\n      if: env.FULL_RELEASE == 'true'\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb -o \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb.torrent --webseed https://download.cactus-network.network.net/install/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb\n        py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli_${CACTUS_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb -o \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli_${CACTUS_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb.torrent --webseed https://download.cactus-network.network.net/install/cactus-blockchain-cli_${CACTUS_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb\n        gh release upload --repo ${{ github.repository }} $RELEASE_TAG \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb.torrent\n\n    - name: Upload Dev Installer\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET && github.ref == 'refs/heads/main'\n      run: |\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb s3://download.cactus-network.network.net/latest-dev/cactus-blockchain_${{ matrix.os.arch }}_latest_dev.deb\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb.sha256 s3://download.cactus-network.network.net/latest-dev/cactus-blockchain_${{ matrix.os.arch }}_latest_dev.deb.sha256\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli_${CACTUS_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb s3://download.cactus-network.network.net/latest-dev/cactus-blockchain-cli_${{ matrix.os.arch }}_latest_dev.deb\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli_${CACTUS_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb.sha256 s3://download.cactus-network.network.net/latest-dev/cactus-blockchain-cli_${{ matrix.os.arch }}_latest_dev.deb.sha256\n\n    - name: Upload Release Files\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET && env.FULL_RELEASE == 'true'\n      run: |\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb s3://download.cactus-network.network.net/install/\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb.sha256 s3://download.cactus-network.network.net/install/\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb.torrent s3://download.cactus-network.network.net/torrents/\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli_${CACTUS_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb s3://download.cactus-network.network.net/install/\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli_${CACTUS_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb.sha256 s3://download.cactus-network.network.net/install/\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli_${CACTUS_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb.torrent s3://download.cactus-network.network.net/torrents/\n\n    - name: Upload release artifacts\n      if: env.RELEASE == 'true'\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        gh release upload \\\n          --repo ${{ github.repository }} \\\n          $RELEASE_TAG \\\n          build_scripts/final_installer/cactus-blockchain_${CACTUS_INSTALLER_VERSION}_${{ matrix.os.arch }}.deb \\\n          build_scripts/final_installer/cactus-blockchain-cli_${CACTUS_INSTALLER_VERSION}-1_${{ matrix.os.arch }}.deb\n\n    - uses: Cactus-Network/actions/github/jwt@main\n      if: steps.check_secrets.outputs.HAS_GLUE_SECRET\n\n    - name: Mark pre-release installer complete\n      if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.PRE_RELEASE == 'true'\n      run: |\n        curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"cactus_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}-prerelease/${{ env.RELEASE_TAG }}/success/${{ matrix.os.glue-name }}\n\n    - name: Mark release installer complete\n      if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.FULL_RELEASE == 'true'\n      run: |\n        curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"cactus_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}/${{ env.RELEASE_TAG }}/success/${{ matrix.os.glue-name }}\n\n  test:\n    name: Test ${{ matrix.distribution.name }} ${{ matrix.mode.name }} ${{ matrix.arch.name }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    needs:\n    - build\n    container: ${{ matrix.distribution.url }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n        - runs-on:\n            arm: [linux, arm64]\n            intel: [ubuntu-latest]\n        distribution:\n        - name: debian:bullseye\n          type: debian\n          # https://packages.debian.org/bullseye/python/python3 (3.9)\n          url: \"docker://debian:bullseye\"\n        - name: debian:bookworm\n          type: debian\n          # https://packages.debian.org/bookworm/python/python3 (3.11)\n          url: \"docker://debian:bookworm\"\n        - name: ubuntu:focal (20.04)\n          type: ubuntu\n          # https://packages.ubuntu.com/focal/python3 (20.04, 3.8)\n          url: \"docker://ubuntu:focal\"\n        - name: ubuntu:jammy (22.04)\n          type: ubuntu\n          # https://packages.ubuntu.com/jammy/python3 (22.04, 3.10)\n          url: \"docker://ubuntu:jammy\"\n        mode:\n        - name: GUI\n          file: cactus-blockchain_*.deb\n        - name: CLI\n          file: cactus-blockchain-cli_*.deb\n        arch:\n        - name: ARM64\n          matrix: arm\n          artifact-name: arm64\n        - name: Intel\n          matrix: intel\n          artifact-name: amd64\n\n    env:\n      DEBIAN_FRONTEND: noninteractive\n\n    steps:\n    - uses: Cactus-Network/actions/clean-workspace@main\n\n    - name: Download packages\n      uses: actions/download-artifact@v3\n      id: download\n      with:\n        name: cactus-installers-linux-deb-${{ matrix.arch.artifact-name }}\n        path: packages\n\n    - name: Update apt repos\n      run: |\n        apt-get update --yes\n\n    - name: Install package\n      run: |\n        ls -l \"${{ steps.download.outputs.download-path }}\"\n        apt-get install --yes \"${{ steps.download.outputs.download-path }}\"/${{ matrix.mode.file }}\n\n    - name: Run cactus version\n      run: |\n        cactus version\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:26.482742", "created_at": "2021-12-02T19:37:37+01:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "📦🚀 Build Installer - Linux RPM AMD64", "path": ".github/workflows/build-linux-installer-rpm.yml", "contents": "name: 📦🚀 Build Installer - Linux RPM AMD64\n\non:\n  workflow_dispatch:\n    inputs:\n      release_type:\n        description: 'Tagged release testing scenario'\n        required: false\n        type: choice\n        default: ''\n        options:\n        - ''\n        - 9.9.9-b1\n        - 9.9.9-rc1\n        - 9.9.9\n  push:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - 'long_lived/**'\n      - main\n      - 'release/**'\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - '**'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  build:\n    name: Build amd64 RPM\n    runs-on: ubuntu-latest\n    container:\n      image: cactusnetwork/rocky8-builder:latest\n    timeout-minutes: 40\n    outputs:\n      cactus-installer-version: ${{ steps.version_number.outputs.CACTUS_INSTALLER_VERSION }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n    - name: Add safe git directory\n      uses: Cactus-Network/actions/git-mark-workspace-safe@main\n\n    - name: Checkout Code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: recursive\n\n    - uses: Cactus-Network/actions/git-ssh-to-https@main\n\n    - name: Cleanup any leftovers that exist from previous runs\n      run: bash build_scripts/clean-runner.sh || true\n\n    - name: Set Env\n      uses: Cactus-Network/actions/setjobenv@main\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Check tag type\n      shell: bash\n      run: |\n        REG_B=\"^[0-9]+\\.[0-9]+\\.[0-9]+-b[0-9]+$\"\n        REG_RC=\"^[0-9]+\\.[0-9]+\\.[0-9]+-rc[0-9]+$\"\n        if [[ \"${{ github.event.release.tag_name }}\" =~ $REG_B ]] || [[ \"${{ inputs.release_type }}\" =~ $REG_B ]]; then\n          echo \"TAG_TYPE=beta\"\n          echo \"TAG_TYPE=beta\" >> \"$GITHUB_ENV\"\n        elif [[ \"${{ github.event.release.tag_name }}\" =~ $REG_RC ]] || [[ \"${{ inputs.release_type }}\" =~ $REG_RC ]]; then\n          echo \"TAG_TYPE=rc\"\n          echo \"TAG_TYPE=rc\" >> \"$GITHUB_ENV\"\n        fi\n\n    - uses: Cactus-Network/actions/enforce-semver@main\n      if: env.FULL_RELEASE == 'true'\n\n    # Create our own venv outside of the git directory JUST for getting the ACTUAL version so that install can't break it\n    - name: Get version number\n      id: version_number\n      run: |\n        python3 -m venv ../venv\n        . ../venv/bin/activate\n        pip3 install setuptools_scm\n        echo \"CACTUS_INSTALLER_VERSION=$(python3 ./build_scripts/installer-version.py)\" >> \"$GITHUB_OUTPUT\"\n        deactivate\n\n    - name: Get latest madmax plotter\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        LATEST_MADMAX=$(gh api repos/Cactus-Network/cactus-plotter-madmax/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n        mkdir \"$GITHUB_WORKSPACE\"/madmax\n        gh release download -R Cactus-Network/cactus-plotter-madmax \"$LATEST_MADMAX\" -p 'cactus_plot-*-x86-64' -O \"$GITHUB_WORKSPACE\"/madmax/cactus_plot\n        gh release download -R Cactus-Network/cactus-plotter-madmax \"$LATEST_MADMAX\" -p 'cactus_plot_k34-*-x86-64' -O \"$GITHUB_WORKSPACE\"/madmax/cactus_plot_k34\n        chmod +x \"$GITHUB_WORKSPACE\"/madmax/cactus_plot\n        chmod +x \"$GITHUB_WORKSPACE\"/madmax/cactus_plot_k34\n\n    - name: Fetch bladebit versions\n      shell: bash\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        # Fetch the latest version of each type\n        LATEST_RELEASE=$(gh api repos/Cactus-Network/bladebit/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n        LATEST_BETA=$(gh api repos/Cactus-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-beta[0-9]+$\"))) | first | .tag_name')\n        LATEST_RC=$(gh api repos/Cactus-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-rc[0-9]+$\"))) | first | .tag_name')\n\n        # Compare the versions and choose the newest that matches the requirements\n        if [[ \"$TAG_TYPE\" == \"beta\" || -z \"$TAG_TYPE\" ]]; then\n          # For beta or dev builds (indicated by the absence of a tag), use the latest version available\n          LATEST_VERSION=$(printf \"%s\\n%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_BETA\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n        elif [[ \"$TAG_TYPE\" == \"rc\" ]]; then\n          # For RC builds, use the latest RC or full release if it's newer\n          LATEST_VERSION=$(printf \"%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n        else\n          # For full releases, use the latest full release\n          LATEST_VERSION=\"$LATEST_RELEASE\"\n        fi\n        echo \"LATEST_VERSION=$LATEST_VERSION\" >> \"$GITHUB_ENV\"\n\n    - name: Get latest bladebit plotter\n      shell: bash\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        # Download and extract the chosen version\n        mkdir \"$GITHUB_WORKSPACE\"/bladebit\n        cd \"$GITHUB_WORKSPACE\"/bladebit\n        gh release download -R Cactus-Network/bladebit \"$LATEST_VERSION\" -p 'bladebit*-centos-x86-64.tar.gz'\n        ls *.tar.gz | xargs -I{} bash -c 'tar -xzf {} && rm {}'\n        ls bladebit* | xargs -I{} chmod +x {}\n        cd \"$OLDPWD\"\n\n    - uses: ./.github/actions/install\n      with:\n        python-version: ${{ matrix.python-version }}\n        development: true\n        constraints-file-artifact-name: constraints-file-intel\n\n    - uses: cactus-network.network/actions/activate-venv@main\n\n    - name: Prepare GUI cache\n      id: gui-ref\n      run: |\n        gui_ref=$(git submodule status cactus-blockchain-gui | sed -e 's/^ //g' -e 's/ cactus-blockchain-gui.*$//g')\n        echo \"${gui_ref}\"\n        echo \"GUI_REF=${gui_ref}\" >> \"$GITHUB_OUTPUT\"\n        echo \"rm -rf ./cactus-blockchain-gui\"\n        rm -rf ./cactus-blockchain-gui\n\n    - name: Cache GUI\n      uses: actions/cache@v3\n      id: cache-gui\n      with:\n        path: ./cactus-blockchain-gui\n        key: ${{ runner.os }}-rpm-cactus-blockchain-gui-${{ steps.gui-ref.outputs.GUI_REF }}\n\n    - if: steps.cache-gui.outputs.cache-hit != 'true'\n      name: Build GUI\n      continue-on-error: false\n      run: |\n        cd ./build_scripts\n        bash build_linux_rpm-1-gui.sh\n\n    - name: Build .rpm package\n      env:\n        CACTUS_INSTALLER_VERSION: ${{ steps.version_number.outputs.CACTUS_INSTALLER_VERSION }}\n      run: |\n        ldd --version\n        cd ./build_scripts\n        bash build_linux_rpm-2-installer.sh amd64\n\n    - name: Upload Linux artifacts\n      uses: actions/upload-artifact@v3\n      with:\n        name: cactus-installers-linux-rpm-intel\n        path: ${{ github.workspace }}/build_scripts/final_installer/\n\n    - name: Remove working files to exclude from cache\n      run: |\n        rm -rf ./cactus-blockchain-gui/packages/gui/daemon\n\n  publish:\n    name: Publish amd64 RPM\n    runs-on: ubuntu-latest\n    needs:\n    - build\n    container:\n      image: cactusnetwork/rocky8-builder:latest\n    timeout-minutes: 5\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n\n    env:\n      CACTUS_INSTALLER_VERSION: ${{ needs.build.outputs.cactus-installer-version }}\n\n    steps:\n    - uses: Cactus-Network/actions/clean-workspace@main\n\n    - uses: cactus-network.network/actions/create-venv@main\n      id: create-venv\n\n    - uses: cactus-network.network/actions/activate-venv@main\n      with:\n        directories: ${{ steps.create-venv.outputs.activate-venv-directories }}\n\n    - name: Download constraints file\n      uses: actions/download-artifact@v3\n      with:\n        name: constraints-file-intel\n        path: venv\n\n    - name: Install utilities\n      run: |\n        pip install --constraint venv/constraints.txt py3createtorrent\n\n    - name: Download packages\n      uses: actions/download-artifact@v3\n      with:\n        name: cactus-installers-linux-rpm-intel\n        path: build_scripts/final_installer/\n\n    - name: Set Env\n      uses: Cactus-Network/actions/setjobenv@main\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Test for secrets access\n      id: check_secrets\n      shell: bash\n      run: |\n        unset HAS_AWS_SECRET\n        unset HAS_GLUE_SECRET\n\n        if [ -n \"$AWS_SECRET\" ]; then HAS_AWS_SECRET='true' ; fi\n        echo HAS_AWS_SECRET=${HAS_AWS_SECRET} >> \"$GITHUB_OUTPUT\"\n\n        if [ -n \"$GLUE_API_URL\" ]; then HAS_GLUE_SECRET='true' ; fi\n        echo HAS_GLUE_SECRET=${HAS_GLUE_SECRET} >> \"$GITHUB_OUTPUT\"\n      env:\n        AWS_SECRET: \"${{ secrets.CACTUS_AWS_ACCOUNT_ID }}\"\n        GLUE_API_URL: \"${{ secrets.GLUE_API_URL }}\"\n\n    - name: Configure AWS credentials\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET\n      uses: aws-actions/configure-aws-credentials@v4\n      with:\n        role-to-assume: arn:aws:iam::${{ secrets.CACTUS_AWS_ACCOUNT_ID }}:role/installer-upload\n        aws-region: us-west-2\n\n    - name: Upload to s3\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET\n      run: |\n          GIT_SHORT_HASH=$(echo \"${GITHUB_SHA}\" | cut -c1-8)\n          CACTUS_DEV_BUILD=${CACTUS_INSTALLER_VERSION}-$GIT_SHORT_HASH\n          echo \"CACTUS_DEV_BUILD=$CACTUS_DEV_BUILD\" >> \"$GITHUB_ENV\"\n          ls \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm s3://download.cactus-network.network.net/dev/cactus-blockchain-${CACTUS_DEV_BUILD}-1.x86_64.rpm\n          aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm s3://download.cactus-network.network.net/dev/cactus-blockchain-cli-${CACTUS_DEV_BUILD}-1.x86_64.rpm\n\n    - name: Create Checksums\n      if: env.FULL_RELEASE == 'true' || github.ref == 'refs/heads/main'\n      run: |\n        ls \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/\n        sha256sum \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm > \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm.sha256\n        sha256sum \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm > \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm.sha256\n        ls \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/\n\n    - name: Create .rpm torrent\n      if: env.FULL_RELEASE == 'true'\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm -o \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm.torrent --webseed https://download.cactus-network.network.net/install/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm\n        py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm -o \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm.torrent --webseed https://download.cactus-network.network.net/install/cactus-blockchain-cli-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm\n        gh release upload --repo ${{ github.repository }} $RELEASE_TAG \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm.torrent\n\n    - name: Upload Dev Installer\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET && github.ref == 'refs/heads/main'\n      run: |\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm s3://download.cactus-network.network.net/latest-dev/cactus-blockchain-1.x86_64_latest_dev.rpm\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm.sha256 s3://download.cactus-network.network.net/latest-dev/cactus-blockchain-1.x86_64_latest_dev.rpm.sha256\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm s3://download.cactus-network.network.net/latest-dev/cactus-blockchain-cli-1.x86_64_latest_dev.rpm\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm.sha256 s3://download.cactus-network.network.net/latest-dev/cactus-blockchain-cli-1.x86_64_latest_dev.rpm.sha256\n\n    - name: Upload Release Files\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET && env.FULL_RELEASE == 'true'\n      run: |\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm s3://download.cactus-network.network.net/install/\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm.sha256 s3://download.cactus-network.network.net/install/\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm.torrent s3://download.cactus-network.network.net/torrents/\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm s3://download.cactus-network.network.net/install/\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm.sha256 s3://download.cactus-network.network.net/install/\n        aws s3 cp \"$GITHUB_WORKSPACE\"/build_scripts/final_installer/cactus-blockchain-cli-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm.torrent s3://download.cactus-network.network.net/torrents/\n\n    - name: Upload release artifacts\n      if: env.RELEASE == 'true'\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        gh release upload \\\n          --repo ${{ github.repository }} \\\n          $RELEASE_TAG \\\n          build_scripts/final_installer/cactus-blockchain-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm \\\n          build_scripts/final_installer/cactus-blockchain-cli-${CACTUS_INSTALLER_VERSION}-1.x86_64.rpm\n\n    - uses: Cactus-Network/actions/github/jwt@main\n      if: steps.check_secrets.outputs.HAS_GLUE_SECRET\n\n    - name: Mark pre-release installer complete\n      if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.PRE_RELEASE == 'true'\n      run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"cactus_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}-prerelease/${{ env.RELEASE_TAG }}/success/build-linux-rpm\n\n    - name: Mark release installer complete\n      if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.FULL_RELEASE == 'true'\n      run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"cactus_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}/${{ env.RELEASE_TAG }}/success/build-linux-rpm\n\n  test:\n    name: Test ${{ matrix.distribution.name }} ${{ matrix.mode.name }}\n    runs-on: ${{ matrix.os }}\n    needs:\n    - build\n    container: ${{ matrix.distribution.url }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        distribution:\n        - name: amazonlinux:2023\n          type: amazon\n          url: \"docker://amazonlinux:2023\"\n        - name: fedora:37\n          type: fedora\n          # (37, 3.11) https://packages.fedoraproject.org/search?query=python3&releases=Fedora+37&start=0\n          url: \"docker://fedora:37\"\n        - name: fedora:38\n          type: fedora\n          # (38, 3.11) https://packages.fedoraproject.org/search?query=python3&releases=Fedora+38&start=0\n          url: \"docker://fedora:38\"\n        - name: rockylinux:8\n          type: rocky\n          url: \"docker://rockylinux:8\"\n        - name: rockylinux:9\n          type: rocky\n          url: \"docker://rockylinux:9\"\n        - name: build image\n          type: rocky\n          url: \"docker://cactusnetwork/rocky8-builder:latest\"\n        mode:\n        - name: GUI\n          file: cactus-blockchain-[0,1,2,3,4,5,6,7,8,9]*.rpm\n        - name: CLI\n          file: cactus-blockchain-cli-[0,1,2,3,4,5,6,7,8,9]*.rpm\n\n    steps:\n    - uses: Cactus-Network/actions/clean-workspace@main\n\n    - name: Download packages\n      uses: actions/download-artifact@v3\n      id: download\n      with:\n        name: cactus-installers-linux-rpm-intel\n        path: packages\n\n    - name: Install package\n      run: |\n        ls -l \"${{ steps.download.outputs.download-path }}\"\n        yum install -y \"${{ steps.download.outputs.download-path }}\"/${{ matrix.mode.file }}\n\n    - name: Run cactus version\n      run: |\n        cactus version\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:27.531737", "created_at": "2021-12-02T19:37:37+01:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "📦🚀 Build Installer - Windows 10", "path": ".github/workflows/build-windows-installer.yml", "contents": "name: 📦🚀 Build Installer - Windows 10\n\non:\n  workflow_dispatch:\n    inputs:\n      release_type:\n        description: 'Tagged release testing scenario'\n        required: false\n        type: choice\n        default: ''\n        options:\n        - ''\n        - 9.9.9-b1\n        - 9.9.9-rc1\n        - 9.9.9\n  push:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - 'long_lived/**'\n      - main\n      - 'release/**'\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - '**'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  build:\n    name: Build EXE\n    runs-on: [windows-2019]\n    timeout-minutes: 65\n    outputs:\n      cactus-installer-version: ${{ steps.version_number.outputs.CACTUS_INSTALLER_VERSION }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: recursive\n\n    - name: Set Env\n      uses: Cactus-Network/actions/setjobenv@main\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Check tag type\n      shell: bash\n      run: |\n        REG_B=\"^[0-9]+\\.[0-9]+\\.[0-9]+-b[0-9]+$\"\n        REG_RC=\"^[0-9]+\\.[0-9]+\\.[0-9]+-rc[0-9]+$\"\n        if [[ \"${{ github.event.release.tag_name }}\" =~ $REG_B ]] || [[ \"${{ inputs.release_type }}\" =~ $REG_B ]]; then\n          echo \"TAG_TYPE=beta\"\n          echo \"TAG_TYPE=beta\" >> \"$GITHUB_ENV\"\n        elif [[ \"${{ github.event.release.tag_name }}\" =~ $REG_RC ]] || [[ \"${{ inputs.release_type }}\" =~ $REG_RC ]]; then\n          echo \"TAG_TYPE=rc\"\n          echo \"TAG_TYPE=rc\" >> \"$GITHUB_ENV\"\n        fi\n\n    - name: Set git urls to https instead of ssh\n      run: |\n        git config --global url.\"https://github.com/\".insteadOf ssh://git@github.com/\n\n    - name: Get npm cache directory\n      id: npm-cache\n      shell: bash\n      run: |\n        echo \"dir=$(npm config get cache)\" >> \"$GITHUB_OUTPUT\"\n\n    - name: Cache npm\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.npm-cache.outputs.dir }}\n        key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n        restore-keys: |\n          ${{ runner.os }}-node-\n\n    - name: Get pip cache dir\n      id: pip-cache\n      shell: bash\n      run: |\n        echo \"dir=$(pip cache dir)\" >> \"$GITHUB_OUTPUT\"\n\n    - name: Cache pip\n      uses: actions/cache@v3\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - uses: Cactus-Network/actions/setup-python@main\n      name: Install Python ${{ matrix.python-version }}\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Setup Node 18.x\n      uses: actions/setup-node@v4\n      with:\n        node-version: '18.x'\n\n    - name: Test for secrets access\n      id: check_secrets\n      shell: bash\n      run: |\n        unset HAS_SIGNING_SECRET\n\n        if [ -n \"$SIGNING_SECRET\" ]; then HAS_SIGNING_SECRET='true' ; fi\n        echo \"HAS_SIGNING_SECRET=${HAS_SIGNING_SECRET}\" >> \"$GITHUB_OUTPUT\"\n      env:\n        SIGNING_SECRET: \"${{ secrets.SM_CLIENT_CERT_FILE_B64 }}\"\n\n    - name: Setup Certificate\n      if: steps.check_secrets.outputs.HAS_SIGNING_SECRET\n      shell: bash\n      run: |\n        echo \"${{ secrets.SM_CLIENT_CERT_FILE_B64 }}\" | base64 --decode > /d/Certificate_pkcs12.p12\n\n    - name: Set signing variables\n      if: steps.check_secrets.outputs.HAS_SIGNING_SECRET\n      shell: bash\n      run: |\n        echo \"SM_HOST=${{ secrets.SM_HOST }}\" >> \"$GITHUB_ENV\"\n        echo \"SM_API_KEY=${{ secrets.SM_API_KEY }}\" >> \"$GITHUB_ENV\"\n        echo \"SM_CLIENT_CERT_FILE=D:\\\\Certificate_pkcs12.p12\" >> \"$GITHUB_ENV\"\n        echo \"SM_CLIENT_CERT_PASSWORD=${{ secrets.SM_CLIENT_CERT_PASSWORD }}\" >> \"$GITHUB_ENV\"\n        echo \"SM_CODE_SIGNING_CERT_SHA1_HASH=${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }}\" >> \"$GITHUB_ENV\"\n        echo \"C:\\Program Files (x86)\\Windows Kits\\10\\App Certification Kit\" >> $GITHUB_PATH\n        echo \"C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.8 Tools\" >> $GITHUB_PATH\n        echo \"C:\\Program Files\\DigiCert\\DigiCert One Signing Manager Tools\" >> $GITHUB_PATH\n\n    - name: Setup SSM KSP on windows latest\n      if: steps.check_secrets.outputs.HAS_SIGNING_SECRET\n      shell: cmd\n      run: |\n        curl -X GET  https://one.digicert.com/signingmanager/api-ui/v1/releases/smtools-windows-x64.msi/download -H \"x-api-key:%SM_API_KEY%\" -o smtools-windows-x64.msi\n        msiexec /i smtools-windows-x64.msi /quiet /qn\n        smksp_registrar.exe list\n        smctl.exe keypair ls\n        C:\\Windows\\System32\\certutil.exe -csp \"DigiCert Signing Manager KSP\" -key -user\n        smksp_cert_sync.exe\n\n    # Create our own venv outside of the git directory JUST for getting the ACTUAL version so that install can't break it\n    - name: Get version number\n      id: version_number\n      shell: bash\n      run: |\n        python -m venv ../venv\n        source ../venv/Scripts/activate\n        pip3 install setuptools_scm\n        CACTUS_INSTALLER_VERSION=$(python ./build_scripts/installer-version.py)\n        echo \"$CACTUS_INSTALLER_VERSION\"\n        echo \"CACTUS_INSTALLER_VERSION=$CACTUS_INSTALLER_VERSION\" >> \"$GITHUB_OUTPUT\"\n        deactivate\n\n    - name: Get latest madmax plotter\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      shell: bash\n      run: |\n        LATEST_MADMAX=$(gh api repos/Cactus-Network/cactus-plotter-madmax/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n        mkdir \"$GITHUB_WORKSPACE\"\\\\madmax\n        gh release download -R Cactus-Network/cactus-plotter-madmax \"$LATEST_MADMAX\" -p 'cactus_plot-*.exe' -O \"$GITHUB_WORKSPACE\"\\\\madmax\\\\cactus_plot.exe\n        gh release download -R Cactus-Network/cactus-plotter-madmax \"$LATEST_MADMAX\" -p 'cactus_plot_k34-*.exe' -O \"$GITHUB_WORKSPACE\"\\\\madmax\\\\cactus_plot_k34.exe\n\n    - name: Fetch bladebit versions\n      shell: bash\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        # Fetch the latest version of each type\n        LATEST_RELEASE=$(gh api repos/Cactus-Network/bladebit/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n        LATEST_BETA=$(gh api repos/Cactus-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-beta[0-9]+$\"))) | first | .tag_name')\n        LATEST_RC=$(gh api repos/Cactus-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-rc[0-9]+$\"))) | first | .tag_name')\n\n        # Compare the versions and choose the newest that matches the requirements\n        if [[ \"$TAG_TYPE\" == \"beta\" || -z \"$TAG_TYPE\" ]]; then\n          # For beta or dev builds (indicated by the absence of a tag), use the latest version available\n          LATEST_VERSION=$(printf \"%s\\n%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_BETA\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n        elif [[ \"$TAG_TYPE\" == \"rc\" ]]; then\n          # For RC builds, use the latest RC or full release if it's newer\n          LATEST_VERSION=$(printf \"%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n        else\n          # For full releases, use the latest full release\n          LATEST_VERSION=\"$LATEST_RELEASE\"\n        fi\n        echo \"LATEST_VERSION=$LATEST_VERSION\" >> \"$GITHUB_ENV\"\n\n    - name: Get latest bladebit plotter\n      shell: bash\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        # Download and extract the chosen version\n        mkdir \"$GITHUB_WORKSPACE\\\\bladebit\"\n        cd \"$GITHUB_WORKSPACE\\\\bladebit\"\n        gh release download -R Cactus-Network/bladebit \"$LATEST_VERSION\" -p 'bladebit*windows-x86-64.zip'\n        ls *.zip | xargs -I{} bash -c 'unzip {} && rm {}'\n        cd \"$OLDPWD\"\n\n    - uses: ./.github/actions/install\n      with:\n        python-version: ${{ matrix.python-version }}\n        development: true\n        constraints-file-artifact-name: constraints-file-intel\n\n    - uses: cactus-network.network/actions/activate-venv@main\n\n    - name: Prepare GUI cache\n      id: gui-ref\n      shell: bash\n      run: |\n        gui_ref=$(git submodule status cactus-blockchain-gui | sed -e 's/^ //g' -e 's/ cactus-blockchain-gui.*$//g')\n        echo \"${gui_ref}\"\n        echo \"GUI_REF=${gui_ref}\" >> \"$GITHUB_OUTPUT\"\n        echo \"rm -rf ./cactus-blockchain-gui\"\n        rm -rf ./cactus-blockchain-gui\n\n    - name: Cache GUI\n      uses: actions/cache@v3\n      id: cache-gui\n      with:\n        path: .\\cactus-blockchain-gui\n        key: ${{ runner.os }}-cactus-blockchain-gui-${{ steps.gui-ref.outputs.GUI_REF }}\n\n    - if: steps.cache-gui.outputs.cache-hit != 'true'\n      name: Build GUI\n      continue-on-error: false\n      run: |\n        cd .\\build_scripts\n        .\\build_windows-1-gui.ps1\n\n    - name: Build Windows installer\n      env:\n        CACTUS_INSTALLER_VERSION: ${{ steps.version_number.outputs.CACTUS_INSTALLER_VERSION }}\n        HAS_SIGNING_SECRET: ${{ steps.check_secrets.outputs.HAS_SIGNING_SECRET }}\n      run: |\n        $env:path=\"C:\\Program` Files` (x86)\\Microsoft` Visual` Studio\\2019\\Enterprise\\SDK\\ScopeCppSDK\\vc15\\VC\\bin\\;$env:path\"\n        $env:path=\"C:\\Program` Files` (x86)\\Windows` Kits\\10\\App` Certification` Kit;$env:path\"\n        cd .\\build_scripts\n        .\\build_windows-2-installer.ps1\n\n    - name: Upload Installer to artifacts\n      uses: actions/upload-artifact@v3\n      with:\n        name: cactus-installers-windows-exe-intel\n        path: ${{ github.workspace }}\\cactus-blockchain-gui\\release-builds\\\n\n    - name: Remove Windows exe and installer to exclude from cache\n      run: |\n        Remove-Item .\\cactus-blockchain-gui\\packages\\gui\\dist -Recurse -Force\n        Remove-Item .\\cactus-blockchain-gui\\packages\\gui\\daemon -Recurse -Force\n        Remove-Item .\\cactus-blockchain-gui\\Cactus-win32-x64 -Recurse -Force\n        Remove-Item .\\cactus-blockchain-gui\\release-builds -Recurse -Force\n\n  publish:\n    name: Publish EXE\n    runs-on: [windows-2019]\n    defaults:\n      run:\n        shell: bash\n    needs:\n    - build\n    timeout-minutes: 5\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n\n    env:\n      CACTUS_INSTALLER_VERSION: ${{ needs.build.outputs.cactus-installer-version }}\n\n    steps:\n    - uses: Cactus-Network/actions/clean-workspace@main\n\n    - uses: Cactus-Network/actions/setup-python@main\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - uses: cactus-network.network/actions/create-venv@main\n      id: create-venv\n\n    - uses: cactus-network.network/actions/activate-venv@main\n      with:\n        directories: ${{ steps.create-venv.outputs.activate-venv-directories }}\n\n    - name: Download constraints file\n      uses: actions/download-artifact@v3\n      with:\n        name: constraints-file-intel\n        path: venv\n\n    - name: Install utilities\n      run: |\n        pip install --constraint venv/constraints.txt py3createtorrent\n\n    - name: Download packages\n      uses: actions/download-artifact@v3\n      with:\n        name: cactus-installers-windows-exe-intel\n        path: cactus-blockchain-gui/release-builds/\n\n    - name: Set Env\n      uses: Cactus-Network/actions/setjobenv@main\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Test for secrets access\n      id: check_secrets\n      run: |\n        unset HAS_AWS_SECRET\n        unset HAS_GLUE_SECRET\n\n        if [ -n \"$AWS_SECRET\" ]; then HAS_AWS_SECRET='true' ; fi\n        echo HAS_AWS_SECRET=${HAS_AWS_SECRET} >> \"$GITHUB_OUTPUT\"\n\n        if [ -n \"$GLUE_API_URL\" ]; then HAS_GLUE_SECRET='true' ; fi\n        echo HAS_GLUE_SECRET=${HAS_GLUE_SECRET} >> \"$GITHUB_OUTPUT\"\n      env:\n        SIGNING_SECRET: \"${{ secrets.SM_CLIENT_CERT_FILE_B64 }}\"\n        AWS_SECRET: \"${{ secrets.CACTUS_AWS_ACCOUNT_ID }}\"\n        GLUE_API_URL: \"${{ secrets.GLUE_API_URL }}\"\n\n    - name: Install AWS CLI\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET\n      shell: pwsh\n      run: |\n          msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi\n\n    - name: Configure AWS credentials\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET\n      uses: aws-actions/configure-aws-credentials@v4\n      with:\n        role-to-assume: arn:aws:iam::${{ secrets.CACTUS_AWS_ACCOUNT_ID }}:role/installer-upload\n        aws-region: us-west-2\n\n    - name: Upload to s3\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET\n      run: |\n        GIT_SHORT_HASH=$(echo \"${GITHUB_SHA}\" | cut -c1-8)\n        CACTUS_DEV_BUILD=${CACTUS_INSTALLER_VERSION}-$GIT_SHORT_HASH\n        echo CACTUS_DEV_BUILD=${CACTUS_DEV_BUILD} >> \"$GITHUB_OUTPUT\"\n        echo ${CACTUS_DEV_BUILD}\n        pwd\n        aws s3 cp cactus-blockchain-gui/release-builds/windows-installer/CactusSetup-${CACTUS_INSTALLER_VERSION}.exe s3://download.cactus-network.network.net/dev/CactusSetup-${CACTUS_DEV_BUILD}.exe\n\n    - name: Create Checksums\n      shell: pwsh\n      run: |\n         certutil.exe -hashfile ${{ github.workspace }}/cactus-blockchain-gui/release-builds/windows-installer/CactusSetup-${{ env.CACTUS_INSTALLER_VERSION }}.exe SHA256 > ${{ github.workspace }}/cactus-blockchain-gui/release-builds/windows-installer/CactusSetup-${{ env.CACTUS_INSTALLER_VERSION }}.exe.sha256\n         ls ${{ github.workspace }}/cactus-blockchain-gui/release-builds/windows-installer/\n\n    - name: Create torrent\n      if: env.FULL_RELEASE == 'true'\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce \"${GITHUB_WORKSPACE}\"/cactus-blockchain-gui/release-builds/windows-installer/CactusSetup-${{ env.CACTUS_INSTALLER_VERSION }}.exe -o \"${GITHUB_WORKSPACE}\"/cactus-blockchain-gui/release-builds/windows-installer/CactusSetup-${{ env.CACTUS_INSTALLER_VERSION }}.exe.torrent --webseed https://download.cactus-network.network.net/install/CactusSetup-${{ env.CACTUS_INSTALLER_VERSION }}.exe\n        ls\n        gh release upload --repo ${{ github.repository }} $RELEASE_TAG \"${GITHUB_WORKSPACE}\"/cactus-blockchain-gui/release-builds/windows-installer/CactusSetup-${{ env.CACTUS_INSTALLER_VERSION }}.exe.torrent\n\n    - name: Upload Dev Installer\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET && github.ref == 'refs/heads/main'\n      run: |\n        aws s3 cp \"${GITHUB_WORKSPACE}\"/cactus-blockchain-gui/release-builds/windows-installer/CactusSetup-${{ env.CACTUS_INSTALLER_VERSION }}.exe s3://download.cactus-network.network.net/latest-dev/CactusSetup-latest-dev.exe\n        aws s3 cp \"${GITHUB_WORKSPACE}\"/cactus-blockchain-gui/release-builds/windows-installer/CactusSetup-${{ env.CACTUS_INSTALLER_VERSION }}.exe.sha256 s3://download.cactus-network.network.net/latest-dev/CactusSetup-latest-dev.exe.sha256\n\n    - name: Upload Release Files\n      if: steps.check_secrets.outputs.HAS_AWS_SECRET && env.FULL_RELEASE == 'true'\n      run: |\n        aws s3 cp \"${GITHUB_WORKSPACE}\"/cactus-blockchain-gui/release-builds/windows-installer/CactusSetup-${{ env.CACTUS_INSTALLER_VERSION }}.exe s3://download.cactus-network.network.net/install/\n        aws s3 cp \"${GITHUB_WORKSPACE}\"/cactus-blockchain-gui/release-builds/windows-installer/CactusSetup-${{ env.CACTUS_INSTALLER_VERSION }}.exe.sha256 s3://download.cactus-network.network.net/install/\n        aws s3 cp \"${GITHUB_WORKSPACE}\"/cactus-blockchain-gui/release-builds/windows-installer/CactusSetup-${{ env.CACTUS_INSTALLER_VERSION }}.exe.torrent s3://download.cactus-network.network.net/torrents/\n\n    - name: Upload release artifacts\n      if: env.RELEASE == 'true'\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        gh release upload --repo ${{ github.repository }} $RELEASE_TAG \"${GITHUB_WORKSPACE}\"/cactus-blockchain-gui/release-builds/windows-installer/CactusSetup-${{ env.CACTUS_INSTALLER_VERSION }}.exe\n\n    - uses: Cactus-Network/actions/github/jwt@main\n      if: steps.check_secrets.outputs.HAS_GLUE_SECRET\n\n    - name: Mark pre-release installer complete\n      if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.PRE_RELEASE == 'true'\n      run: |\n        curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"cactus_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}-prerelease/${{ env.RELEASE_TAG }}/success/build-windows\n\n    - name: Mark release installer complete\n      if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.FULL_RELEASE == 'true'\n      run: |\n        curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"cactus_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}/${{ env.RELEASE_TAG }}/success/build-windows\n\n  test:\n    name: Test ${{ matrix.os.name }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    needs:\n    - build\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: 2019\n            matrix: 2019\n            runs-on:\n              intel: windows-2019\n          - name: 2022\n            matrix: 2022\n            runs-on:\n              intel: windows-2022\n        arch:\n          - name: Intel\n            matrix: intel\n\n    steps:\n    - uses: Cactus-Network/actions/clean-workspace@main\n\n    - name: Download packages\n      uses: actions/download-artifact@v3\n      with:\n        name: cactus-installers-windows-exe-intel\n        path: packages\n\n    - name: Install package\n      env:\n        INSTALL_PATH: ${{ github.workspace }}\\installed\n      run: |\n        dir ./packages/\n        $env:INSTALLER_PATH = (Get-ChildItem packages/windows-installer/CactusSetup-*.exe)\n        Start-Process -Wait -FilePath $env:INSTALLER_PATH -ArgumentList \"/S\", (\"/D=\" + $env:INSTALL_PATH)\n\n    - name: Run cactus version\n      env:\n        INSTALL_PATH: ${{ github.workspace }}\\installed\n      run: |\n        & ($env:INSTALL_PATH + \"\\resources\\app.asar.unpacked\\daemon\\cactus.exe\") version\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:28.691213", "created_at": "2021-12-02T19:37:37+01:00", "updated_at": "2021-12-02T19:37:37+01:00", "name": "Update Mozilla CA sub module", "path": ".github/workflows/mozilla-ca-cert.yml", "contents": "name: \"Update Mozilla CA sub module\"\non:\n  workflow_dispatch:\n    branches:\n      - $default-branch\n\njobs:\n  update_ca_module:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: \"${{ github.event.inputs.cactus_ref }}\"\n          repository: cactus-network.network/cactus-blockchain\n          submodules: recursive\n          token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n      - name: Set up commit signing\n        uses: Cactus-Network/actions/commit-sign/gpg@main\n        with:\n          gpg_private_key: ${{ secrets.CACTUS_AUTOMATION_PRIVATE_GPG_KEY }}\n          passphrase: ${{ secrets.CACTUS_AUTOMATION_PRIVATE_GPG_PASSPHRASE }}\n\n      - name: \"Add changes to new branch\"\n        run: |\n          cd ./mozilla-ca\n          git pull origin main\n\n      - name: \"Create Pull Request\"\n        uses: peter-evans/create-pull-request@v5\n        with:\n          base: main\n          body: \"Newest Mozilla CA cert\"\n          branch: mozilla-ca-updates\n          commit-message: \"adding ca updates\"\n          delete-branch: true\n          reviewers: \"wjblanke,emlowe\"\n          assignees: \"wallentx\"\n          title: \"CA Cert updates\"\n          token: \"${{ secrets.GITHUB_TOKEN }}\"\n          committer: \"CactusAutomation <automation@cactus-network.network.net>\"\n          author: \"CactusAutomation <automation@cactus-network.network.net>\"\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:29.723667", "created_at": "2021-12-02T19:37:37+01:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "🚨 pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: 🚨 pre-commit\n\non:\n  pull_request:\n  push:\n    branches:\n      - 'long_lived/**'\n      - main\n      - 'release/**'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  pre-commit:\n    name: ${{ matrix.os.name }} ${{ matrix.arch.name }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    timeout-minutes: 20\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: Linux\n            matrix: linux\n            runs-on:\n              intel: ubuntu-latest\n              arm: [linux, arm64]\n          - name: macOS\n            matrix: macos\n            runs-on:\n              intel: macos-latest\n              arm: [macos, arm64]\n          - name: Windows\n            matrix: windows\n            runs-on:\n              intel: windows-latest\n        arch:\n          - name: ARM64\n            matrix: arm\n          - name: Intel\n            matrix: intel\n        python:\n          - major_dot_minor: '3.10'\n        exclude:\n          - os:\n              matrix: windows\n            arch:\n              matrix: arm\n\n    steps:\n    - name: Clean workspace\n      uses: Cactus-Network/actions/clean-workspace@main\n\n    - uses: Cactus-Network/actions/git-mark-workspace-safe@main\n\n    - name: disable git autocrlf\n      run: |\n        git config --global core.autocrlf false\n\n    - uses: actions/checkout@v4\n\n    - uses: Cactus-Network/actions/setup-python@main\n      with:\n        python-version: ${{ matrix.python.major_dot_minor }}\n\n    - uses: ./.github/actions/install\n      with:\n        python-version: ${{ matrix.python.major_dot_minor }}\n        development: true\n\n    - uses: cactus-network.network/actions/activate-venv@main\n\n    - env:\n        CACTUS_MANAGE_CLVM_CHECK_USE_CACHE: \"false\"\n        CACTUS_MANAGE_MYPY_CHECK_EXCLUSIONS: \"true\"\n      run: pre-commit run --all-files --verbose\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:30.828696", "created_at": "2021-12-02T19:37:37+01:00", "updated_at": "2021-12-02T19:37:37+01:00", "name": "Start Release", "path": ".github/workflows/start-release.yml", "contents": "# Starts a release for the given ref on the Glue API\nname: Start Release\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  start_release:\n    name: Starts release process in Glue API\n    runs-on: [glue-notify]\n    steps:\n      - name: Set Env\n        uses: Cactus-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - uses: Cactus-Network/actions/github/jwt@main\n\n      - name: Start pre-release\n        if: \"github.event.release.prerelease\"\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"cactus_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}-prerelease/${{ env.RELEASE_TAG }}/start\n\n      - name: Start release\n        if: \"!github.event.release.prerelease\"\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"cactus_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}/${{ env.RELEASE_TAG }}/start\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:31.831582", "created_at": "2021-12-02T19:37:37+01:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "🚨 GitHub Super Linter", "path": ".github/workflows/super-linter.yml", "contents": "---\n###########################\n###########################\n## Linter GitHub Actions ##\n###########################\n###########################\nname: 🚨 GitHub Super Linter\n\n#\n# Documentation:\n# https://github.com/github/super-linter\n# https://help.github.com/en/articles/workflow-syntax-for-github-actions\n#\n\n#############################\n# Start the job on all push #\n#############################\non:\n  push:\n    branches:\n      - 'long_lived/**'\n      - main\n      - 'release/**'\n  release:\n    types: [published]\n  pull_request:\n    branches:\n      - '**'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\n###############\n# Set the Job #\n###############\njobs:\n  build:\n    # Name the Job\n    name: Lint Code Base\n    # Set the agent to run on\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    ##################\n    # Load all steps #\n    ##################\n    steps:\n      ##########################\n      # Checkout the code base #\n      ##########################\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      ################################\n      # Run Linter against code base #\n      ################################\n      - name: Lint Code Base\n        uses: github/super-linter@v5\n#        uses: docker://github/super-linter:v3.10.2\n        env:\n          VALIDATE_ALL_CODEBASE: true\n          DEFAULT_BRANCH: main\n          LINTER_RULES_PATH: .\n          MARKDOWN_CONFIG_FILE: .markdown-lint.yml\n          VALIDATE_BASH: true\n          VALIDATE_CSS: true\n          VALIDATE_DOCKER: true\n          VALIDATE_GO: true\n          VALIDATE_HTML: true\n          VALIDATE_JAVASCRIPT_ES: true\n          VALIDATE_JSON: true\n          VALIDATE_MD: true\n          VALIDATE_POWERSHELL: true\n          VALIDATE_SHELL_SHFMT: true\n          VALIDATE_TYPESCRIPT_ES: true\n          VALIDATE_YAML: true\n          DISABLE_ERRORS: false\n          PYTHONPATH: ${{ github.workspace }}:$PYTHONPATH\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          FILTER_REGEX_EXCLUDE: .*github/ISSUE_TEMPLATE/config.yml\n#          ACTIONS_RUNNER_DEBUG: true\n\n...\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:32.897007", "created_at": "2021-12-02T19:37:37+01:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "🏗️ Test Install Scripts", "path": ".github/workflows/test-install-scripts.yml", "contents": "name: 🏗️ Test Install Scripts\n\non:\n  push:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - 'long_lived/**'\n      - main\n      - 'release/**'\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - '**'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  test_scripts:\n    name: Test Install Scripts - ${{ matrix.development.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        os: [macOS-latest, ubuntu-latest]\n        development:\n          - name: Non-development\n            value: false\n          - name: Development\n            value: true\n\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Setup Python environment\n      uses: Cactus-Network/actions/setup-python@main\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - uses: ./.github/actions/install\n      with:\n        python-version: ${{ matrix.python-version }}\n        development: ${{ matrix.development.value }}\n        do-system-installs: true\n\n    - uses: cactus-network.network/actions/activate-venv@main\n\n    - name: Run cactus --help\n      run: |\n        cactus --help\n\n    - name: Run install-gui script\n      run: |\n        sh install-gui.sh\n\n  test_scripts_in_docker:\n    name: Test Install Scripts ${{ matrix.distribution.name }}\n    runs-on: ${{ matrix.os }}\n    container: ${{ matrix.distribution.url }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        distribution:\n        - name: amazonlinux:2023\n          type: amazon\n          url: \"docker://amazonlinux:2023\"\n        - name: arch:latest\n          type: arch\n          url: \"docker://archlinux:latest\"\n        - name: debian:bullseye\n          type: debian\n          # https://packages.debian.org/bullseye/python/python3 (3.9)\n          url: \"docker://debian:bullseye\"\n        - name: debian:bookworm\n          type: debian\n          # https://packages.debian.org/bookworm/python/python3 (3.11)\n          url: \"docker://debian:bookworm\"\n        - name: fedora:37\n          type: fedora\n          # (37, 3.11) https://packages.fedoraproject.org/search?query=python3&releases=Fedora+37&start=0\n          url: \"docker://fedora:37\"\n        - name: fedora:38\n          type: fedora\n          # (38, 3.11) https://packages.fedoraproject.org/search?query=python3&releases=Fedora+38&start=0\n          url: \"docker://fedora:38\"\n        - name: rockylinux:8\n          type: rocky\n          url: \"docker://rockylinux:8\"\n        - name: rockylinux:9\n          type: rocky\n          url: \"docker://rockylinux:9\"\n        - name: ubuntu:focal (20.04)\n          type: ubuntu\n          # https://packages.ubuntu.com/focal/python3 (20.04, 3.8)\n          url: \"docker://ubuntu:focal\"\n        - name: ubuntu:jammy (22.04)\n          type: ubuntu\n          # https://packages.ubuntu.com/jammy/python3 (22.04, 3.10)\n          url: \"docker://ubuntu:jammy\"\n\n    steps:\n    - name: Prepare Amazon Linux\n      if: ${{ matrix.distribution.type == 'amazon' }}\n      run: |\n        yum install --assumeyes git sudo\n\n    - name: Prepare Arch\n      if: ${{ matrix.distribution.type == 'arch' }}\n      run: |\n        pacman --noconfirm -Syu\n        pacman --noconfirm -S base git sudo openssl-1.1\n        # The behavior we follow in install.sh is unique with Arch in that\n        # we leave it to the user to install the appropriate version of python,\n        # so we need to install python here in order for the test to succeed.\n        pacman --noconfirm -U --needed https://archive.archlinux.org/packages/p/python/python-3.9.9-1-x86_64.pkg.tar.zst\n\n    - name: Prepare Debian\n      if: ${{ matrix.distribution.type == 'debian' }}\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        apt-get --yes update\n        apt-get install --yes git lsb-release sudo\n\n    - name: Prepare Fedora\n      if: ${{ matrix.distribution.type == 'fedora' }}\n      run: |\n        yum install --assumeyes git\n\n    - name: Prepare Rocky\n      if: ${{ matrix.distribution.type == 'rocky' }}\n      run: |\n        yum install --assumeyes git sudo\n\n    - name: Prepare Ubuntu\n      if: ${{ matrix.distribution.type == 'ubuntu' }}\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        # for bionic\n        apt-get --yes update\n        apt-get install --yes software-properties-common\n        add-apt-repository --yes ppa:git-core/ppa\n        apt-get --yes update\n        apt-get install --yes git lsb-release sudo\n\n    - name: Add safe git directory\n      run: git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n\n    # after installing git so we use that copy\n    - name: Checkout Code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: ./.github/actions/install\n      with:\n        python-version: ${{ matrix.python-version }}\n        development: true\n        do-system-installs: true\n\n    - uses: cactus-network.network/actions/activate-venv@main\n\n    - name: Run cactus --help\n      run: |\n        cactus --help\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:34.028182", "created_at": "2021-12-02T19:37:37+01:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "🚨🚀 Lint and upload source distribution", "path": ".github/workflows/upload-pypi-source.yml", "contents": "name: 🚨🚀 Lint and upload source distribution\n\non:\n  push:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - 'long_lived/**'\n      - main\n      - 'release/**'\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - '**'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n  id-token: write\n\njobs:\n  mypy:\n    name: ${{ matrix.os.emoji }} ${{ matrix.check.name }} - ${{ matrix.os.name }} ${{ matrix.arch.name }} ${{ matrix.python.major_dot_minor }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    timeout-minutes: 10\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: Linux\n            matrix: linux\n            emoji: 🐧\n            runs-on:\n              intel: ubuntu-latest\n              arm: [linux, arm64]\n          - name: macOS\n            matrix: macos\n            emoji: 🍎\n            runs-on:\n              intel: macos-latest\n              arm: [macos, arm64]\n          - name: Windows\n            matrix: windows\n            emoji: 🪟\n            runs-on:\n              intel: windows-latest\n        arch:\n          - name: ARM64\n            matrix: arm\n          - name: Intel\n            matrix: intel\n        python:\n          - major_dot_minor: '3.8'\n          - major_dot_minor: '3.9'\n          - major_dot_minor: '3.10'\n          - major_dot_minor: '3.11'\n        check:\n          - name: mypy\n            command: |\n              echo \"MYPY VERSION IS: $(mypy --version)\"\n              python manage-mypy.py build-mypy-ini\n              mypy\n        exclude:\n          - os:\n              matrix: macos\n            arch:\n              matrix: arm\n            python:\n              major_dot_minor: '3.8'\n          - os:\n              matrix: windows\n            arch:\n              matrix: arm\n\n    steps:\n    - uses: cactus-network.network/actions/clean-workspace@main\n\n    - name: Add safe git directory\n      uses: cactus-network.network/actions/git-mark-workspace-safe@main\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: recursive\n\n    - uses: cactus-network.network/actions/setup-python@main\n      with:\n        python-version: ${{ matrix.python.major_dot_minor }}\n\n    - uses: ./.github/actions/install\n      with:\n        python-version: ${{ matrix.python.major_dot_minor }}\n        development: true\n\n    - uses: cactus-network.network/actions/activate-venv@main\n\n    - name: Check with ${{ matrix.check.name }}\n      run: |\n        ${{ matrix.check.command }}\n\n  check:\n    name: ${{ matrix.os.emoji }} ${{ matrix.check.name }} - ${{ matrix.os.name }} ${{ matrix.arch.name }} ${{ matrix.python.major_dot_minor }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    timeout-minutes: 10\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: Linux\n            matrix: linux\n            emoji: 🐧\n            runs-on:\n              intel: ubuntu-latest\n              arm: [linux, arm64]\n        arch:\n          - name: Intel\n            matrix: intel\n        python:\n          - major_dot_minor: '3.10'\n        check:\n          - name: black\n            command: black --check --diff .\n          - name: flake8\n            command: flake8 benchmarks build_scripts cactus tests tools *.py\n          - name: pylint\n            command: pylint benchmarks build_scripts cactus tests tools *.py\n          - name: generated protocol tests\n            command: |\n              python3 -m tests.util.build_network_protocol_files\n              git diff --exit-code\n\n    steps:\n    - uses: cactus-network.network/actions/clean-workspace@main\n\n    - name: Add safe git directory\n      uses: cactus-network.network/actions/git-mark-workspace-safe@main\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: recursive\n\n    - uses: cactus-network.network/actions/setup-python@main\n      with:\n        python-version: ${{ matrix.python.major_dot_minor }}\n\n    - uses: ./.github/actions/install\n      with:\n        python-version: ${{ matrix.python.major_dot_minor }}\n        development: true\n\n    - uses: cactus-network.network/actions/activate-venv@main\n\n    - name: Check with ${{ matrix.check.name }}\n      run: |\n        ${{ matrix.check.command }}\n\n  upload_source_dist:\n    name: Lint and Upload source distribution\n    runs-on: [ubuntu-latest]\n    timeout-minutes: 30\n    needs:\n      - mypy\n      - check\n    steps:\n    - name: Add safe git directory\n      uses: cactus-network.network/actions/git-mark-workspace-safe@main\n\n    - name: Checkout Code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: recursive\n\n    - uses: Cactus-Network/actions/setup-python@main\n      name: Install Python\n      with:\n        python-version: '3.10'\n\n    - uses: ./.github/actions/install\n      with:\n        python-version: ${{ matrix.python.major_dot_minor }}\n        development: true\n\n    - uses: cactus-network.network/actions/activate-venv@main\n\n    - name: Build source distribution\n      run: |\n        python -m build --sdist --outdir dist .\n\n    - name: Upload artifacts\n      uses: actions/upload-artifact@v3\n      with:\n        name: dist\n        path: ./dist\n\n    - name: Publish distribution to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        packages-dir: dist/\n        skip-existing: true\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:35.062491", "created_at": "2022-04-05T20:22:46+02:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "📦🚀 Trigger Dev Docker Build", "path": ".github/workflows/trigger-docker-dev.yml", "contents": "name: 📦🚀 Trigger Dev Docker Build\n\non:\n  push:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - 'long_lived/**'\n      - 'release/**'\n  pull_request:\n    paths-ignore:\n    - '**.md'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  trigger:\n    name: Trigger building a new dev tag for the cactus-docker image\n    runs-on: ubuntu-latest\n    steps:\n      - name: Test for secrets access\n        id: check_secrets\n        shell: bash\n        run: |\n          unset HAS_SECRET\n\n          if [ -n \"$GLUE_API_URL\" ]; then HAS_SECRET='true' ; fi\n          echo HAS_SECRET=${HAS_SECRET} >> \"$GITHUB_OUTPUT\"\n        env:\n          GLUE_API_URL: \"${{ secrets.GLUE_API_URL }}\"\n\n      - uses: Cactus-Network/actions/github/jwt@main\n        if: steps.check_secrets.outputs.HAS_SECRET\n\n      - name: Trigger docker dev workflow via github-glue\n        if: steps.check_secrets.outputs.HAS_SECRET\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"sha\":\"${{ github.sha }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/docker-build-dev/${{ github.sha }}/start\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"sha\":\"${{ github.sha }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/docker-build-dev/${{ github.sha }}/success/build-dev\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:36.165837", "created_at": "2022-04-05T20:22:46+02:00", "updated_at": "2023-05-20T16:21:09+02:00", "name": "📦🚀 Trigger Main Docker Build", "path": ".github/workflows/trigger-docker-main.yml", "contents": "name: 📦🚀 Trigger Main Docker Build\n\non:\n  push:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - main\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  trigger:\n    name: Trigger building a new `main` tag for the cactus-docker image\n    runs-on: ubuntu-latest\n    steps:\n      - uses: Cactus-Network/actions/github/jwt@main\n\n      - name: Trigger docker main workflow via github-glue\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{}' ${{ secrets.GLUE_API_URL }}/api/v1/docker-build-main/${{ github.sha }}/start\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{}' ${{ secrets.GLUE_API_URL }}/api/v1/docker-build-main/${{ github.sha }}/success/build-main\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:37.282444", "created_at": "2022-05-06T21:11:34+02:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "⚡️ Benchmarks", "path": ".github/workflows/benchmarks.yml", "contents": "name: ⚡️ Benchmarks\n\non:\n workflow_dispatch:\n    inputs:\n      repeats:\n        description: \"The number of times to execute each benchmark\"\n        type: int\n        default: 1\n push:\n   paths-ignore:\n       - '**.md'\n   branches:\n     - 'long_lived/**'\n     - main\n     - 'release/**'\n release:\n   types: [published]\n pull_request:\n   paths-ignore:\n       - '**.md'\n   branches:\n     - '**'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  setup:\n    name: Setup\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    outputs:\n      repeats: ${{ steps.repeats.outputs.repeats }}\n      timeout: ${{ steps.timeout.outputs.timeout }}\n\n    steps:\n      - name: Calculate repeats\n        id: repeats\n        run: |\n          echo \"repeats=${{ inputs.repeats != '' && inputs.repeats || 1 }}\" >> \"$GITHUB_OUTPUT\"\n      - name: Calculate timeout\n        id: timeout\n        run: |\n          echo \"timeout=$(( ${{ steps.repeats.outputs.repeats }} * 20 ))\" >> \"$GITHUB_OUTPUT\"\n\n  build:\n    name: Benchmarks\n    runs-on: benchmark\n    needs:\n      - setup\n    container:\n      image: cactusnetwork/ubuntu-22.04-builder:latest\n    timeout-minutes: ${{ fromJSON(needs.setup.outputs.timeout) }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.10\" ]\n    env:\n      CACTUS_ROOT: ${{ github.workspace }}/.cactus/mainnet\n      BLOCKS_AND_PLOTS_VERSION: 0.38.0\n\n    steps:\n      - name: Clean workspace\n        uses: Cactus-Network/actions/clean-workspace@main\n\n      - name: Add safe git directory\n        uses: Cactus-Network/actions/git-mark-workspace-safe@main\n\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Get pip cache dir\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(pip cache dir)\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Cache pip\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Checkout test blocks and plots\n        uses: actions/checkout@v4\n        with:\n          repository: 'Cactus-Network/test-cache'\n          path: '.cactus'\n          ref: ${{ env.BLOCKS_AND_PLOTS_VERSION }}\n          fetch-depth: 1\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python-version }}\n          development: true\n          legacy_keyring: true\n\n      - uses: cactus-network.network/actions/activate-venv@main\n\n      - name: pytest\n        run: |\n          pytest -n 0 --capture no -m benchmark -o 'junit_suite_name=benchmarks' --junitxml=junit-data/benchmarks.raw.xml --benchmark-repeats ${{ needs.setup.outputs.repeats }} tests\n\n      - name: Format JUnit data and prepare results\n        if: always()\n        run: |\n          yq junit-data/benchmarks.raw.xml > junit-data/benchmarks.xml\n\n      - name: Publish JUnit results\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: junit-data\n          path: junit-data/*\n          if-no-files-found: error\n\n      - name: Add benchmark results to workflow summary\n        if: always()\n        run: |\n          python -m tests.process_benchmarks --xml junit-data/benchmarks.xml --markdown --link-prefix ${{ github.event.repository.html_url }}/blob/${{ github.sha }}/ --link-line-separator \\#L >> \"$GITHUB_STEP_SUMMARY\"\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:38.521496", "created_at": "2022-05-06T21:11:34+02:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "🩹 Conflict Check", "path": ".github/workflows/conflict-check.yml", "contents": "name: 🩹 Conflict Check\non:\n  # So that PRs touching the same files as the push are updated\n  push:\n  # So that the `dirtyLabel` is removed if conflicts are resolve\n  # We recommend `pull_request_target` so that github secrets are available.\n  # In `pull_request` we wouldn't be able to change labels of fork PRs\n  pull_request_target:\n    types: [opened, synchronize, reopened]\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    steps:\n      - name: check if prs are behind main\n        uses: Cactus-Network/actions/label-conflict@main\n        with:\n          labelToAddOnConflict: \"merge_conflict\"\n          secretToken: \"${{ secrets.GITHUB_TOKEN }}\"\n          # targeting 2 minutes of retry, longest observed window thus far is ~30 seconds\n          retryIntervalSec: 5\n          retryMax: 24\n          commentToAddOnConflict: \"This pull request has conflicts, please resolve those before we can evaluate the pull request.\"\n          commentToAddOnClean: \"Conflicts have been resolved. A maintainer will review the pull request shortly.\"\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:39.658255", "created_at": "2022-05-06T21:11:34+02:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "🚨 Check Dependency Artifacts", "path": ".github/workflows/check_wheel_availability.yaml", "contents": "name: 🚨 Check Dependency Artifacts\n\non:\n  push:\n    branches:\n      - 'long_lived/**'\n      - main\n      - 'release/**'\n  release:\n    types: [published]\n  pull_request:\n    branches:\n      - '**'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  check_dependency_artifacts:\n    name: ${{ matrix.os.name }} ${{ matrix.arch.name }} ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: Linux\n            matrix: linux\n            runs-on:\n              intel: ubuntu-latest\n              arm: [linux, arm64]\n          - name: macOS\n            matrix: macos\n            runs-on:\n              intel: macos-11\n              arm: [macos, arm64]\n          - name: Windows\n            matrix: windows\n            runs-on:\n              intel: windows-latest\n        arch:\n          - name: ARM64\n            matrix: arm\n          - name: Intel\n            matrix: intel\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        exclude:\n          - os:\n              matrix: macos\n            arch:\n              matrix: arm\n            python-version: '3.8'\n          - os:\n              matrix: windows\n            arch:\n              matrix: arm\n\n    steps:\n    - uses: Cactus-Network/actions/clean-workspace@main\n\n    - name: Checkout Code\n      uses: actions/checkout@v4\n\n    - uses: Cactus-Network/actions/setup-python@main\n      with:\n        python-version: ${{ matrix.python-version }}\n        force-pyenv: ${{ matrix.os.matrix == 'macos' && matrix.arch.matrix == 'intel' }}\n\n    - name: Check Wheel Availability\n      run: python build_scripts/check_dependency_artifacts.py\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:40.774947", "created_at": "2022-07-02T00:17:50+02:00", "updated_at": "2023-06-22T15:13:57+02:00", "name": "🧪 test", "path": ".github/workflows/test.yml", "contents": "name: 🧪 test\n\non:\n  push:\n    paths-ignore:\n    - '**.md'\n    branches:\n    - long_lived/**\n    - main\n    - release/**\n    tags:\n    - '**'\n  pull_request:\n    paths-ignore:\n    - '**.md'\n    branches:\n    - '**'\n  workflow_dispatch: null\n\nconcurrency:\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}--${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  configure:\n    name: Configure matrix\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup Python environment\n        uses: Cactus-Network/actions/setup-python@main\n        with:\n          python-version: '3.10'\n\n      - name: Generate matrix configuration\n        id: configure\n        run: |\n          python tests/build-job-matrix.py --per directory --verbose > matrix.json\n          cat matrix.json\n          echo configuration=$(cat matrix.json) >> \"$GITHUB_OUTPUT\"\n          echo matrix_mode=${{ ( github.event_name == 'workflow_dispatch' ) && 'all' || ( github.repository_owner == 'Cactus-Network' && github.repository != 'Cactus-Network/cactus-blockchain' ) && 'limited' || ( github.repository_owner == 'Cactus-Network' && github.repository == 'Cactus-Network/cactus-blockchain' && github.ref == 'refs/heads/main' ) && 'main' || ( github.repository_owner == 'Cactus-Network' && github.repository == 'Cactus-Network/cactus-blockchain' && startsWith(github.ref, 'refs/heads/release/') ) && 'all' || ( github.repository_owner == 'Cactus-Network' && github.repository == 'Cactus-Network/cactus-blockchain' && startsWith(github.base_ref, 'release/') ) && 'all' || 'main' }} >> \"$GITHUB_OUTPUT\"\n\n    outputs:\n      configuration: ${{ steps.configure.outputs.configuration }}\n      matrix_mode: ${{ steps.configure.outputs.matrix_mode }}\n\n  macos:\n    uses: ./.github/workflows/test-single.yml\n    needs: configure\n    with:\n      emoji: 🍎\n      matrix: macos\n      name: macOS\n      file_name: macos\n      concurrency_name: macos\n      configuration: ${{ needs.configure.outputs.configuration }}\n      matrix_mode: ${{ needs.configure.outputs.matrix_mode }}\n      runs-on: macos-latest\n  ubuntu:\n    uses: ./.github/workflows/test-single.yml\n    needs: configure\n    with:\n      emoji: 🐧\n      matrix: ubuntu\n      name: Ubuntu\n      file_name: ubuntu\n      concurrency_name: ubuntu\n      configuration: ${{ needs.configure.outputs.configuration }}\n      matrix_mode: ${{ needs.configure.outputs.matrix_mode }}\n      runs-on: ubuntu-latest\n  windows:\n    uses: ./.github/workflows/test-single.yml\n    needs: configure\n    with:\n      emoji: 🪟\n      matrix: windows\n      name: Windows\n      file_name: windows\n      concurrency_name: windows\n      configuration: ${{ needs.configure.outputs.configuration }}\n      matrix_mode: ${{ needs.configure.outputs.matrix_mode }}\n      runs-on: windows-latest\n\n  coverage:\n    name: ${{ matrix.os.emoji }} Coverage - ${{ matrix.python.name }}\n    runs-on: ${{ matrix.os.runs-on }}\n    needs:\n      - macos\n      - ubuntu\n      - windows\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - emoji: 🐧\n            matrix: ubuntu\n            name: Ubuntu\n            runs-on: ubuntu-latest\n        python:\n          - name: '3.10'\n            action: '3.10'\n            apt: '3.10'\n            install_sh: '3.10'\n            matrix: '3.10'\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set Env\n        uses: Cactus-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Download Results\n        uses: actions/download-artifact@v3\n        with:\n          name: junit-data\n          path: junit-data\n\n      - name: Format JUnit data and prepare results\n        run: |\n          sudo snap install yq\n          ls junit-data/*.xml | xargs --max-procs=10 --replace={} yq eval '.testsuites.testsuite.testcase |= sort_by(.+@classname, .+@name)' --inplace {}\n\n          sudo apt-get install junitparser\n          mkdir junit-results\n          junitparser merge junit-data/*.xml junit-results/junit.xml\n          ls junit-results/*.xml | xargs --max-procs=10 --replace={} yq eval '.testsuites.testsuite |= sort_by(.+@name) | .testsuites.testsuite[].testcase |= sort_by(.+@classname, .+@name)' --inplace {}\n\n      - name: Publish formatted JUnit data\n        uses: actions/upload-artifact@v3\n        with:\n          name: junit-data\n          path: junit-data/*\n          if-no-files-found: error\n\n      - name: Publish JUnit results\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: junit-results\n          path: junit-results/*\n          if-no-files-found: error\n\n      - name: Download Coverage\n        uses: actions/download-artifact@v3\n        with:\n          name: coverage-data\n          path: coverage-data\n\n      - name: Set up ${{ matrix.python.name }}\n        uses: Cactus-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python.action }}\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python.action }}\n          development: true\n\n      - uses: cactus-network.network/actions/activate-venv@main\n\n      - name: Coverage Processing\n        run: |\n          coverage combine --rcfile=.coveragerc --data-file=coverage-reports/.coverage coverage-data/\n          coverage xml --rcfile=.coveragerc --data-file=coverage-reports/.coverage -o coverage-reports/coverage.xml\n          coverage html --rcfile=.coveragerc --data-file=coverage-reports/.coverage --directory coverage-reports/html/\n\n      - uses: coverallsapp/github-action@v2\n        if: always()\n        env:\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n\n      - name: Coverage report (cactus/)\n        if: always()\n        run: |\n          set -o pipefail\n          coverage report --rcfile=.coveragerc --data-file=coverage-reports/.coverage --include='cactus/**/*' --show-missing | tee coverage-reports/coverage-cactus-stdout\n\n      - name: Coverage report (tests/)\n        if: always()\n        run: |\n          set -o pipefail\n          coverage report --rcfile=.coveragerc --data-file=coverage-reports/.coverage --include='tests/**/*' --show-missing | tee coverage-reports/coverage-tests-stdout\n\n      - name: Coverage report (diff)\n        if: always()\n        env:\n          compare-branch: ${{ github.base_ref == '' && github.event.before || format('origin/{0}', github.base_ref) }}\n        run: |\n          diff-cover --compare-branch=${{ env.compare-branch }} --fail-under=100 --html-report=coverage-reports/diff-cover.html --markdown-report=coverage-reports/diff-cover.md coverage-reports/coverage.xml | tee coverage-reports/diff-cover-stdout\n          COV_STATUS=\"${PIPESTATUS[0]}\"\n          echo \"COV_STATUS=$COV_STATUS\" >> \"$GITHUB_ENV\"\n          if [[ $COV_STATUS != '0' && \"$GITHUB_BASE_REF\" != '' ]]; then\n            exit 1\n          fi\n\n      - name: Remove previous coverage report comment and label from PR\n        if: github.base_ref != '' && always()\n        shell: bash\n        env:\n          COV_STATUS: ${{ env.COV_STATUS }}\n          GH_TOKEN: ${{ github.token }}\n          ORG_REPO: ${{ github.repository }}\n        run: |\n          PR_NUM=$(jq -r '.number' \"$GITHUB_EVENT_PATH\")\n          COMMENTS=$(gh api -X GET /repos/\"${ORG_REPO}\"/issues/\"${PR_NUM}\"/comments)\n          COMMENT_ID=$(echo \"$COMMENTS\" | jq '.[] | select(.user.login == \"github-actions[bot]\" and (.body | tostring | contains(\"<!-- COVERAGE_COMMENT_'${PR_NUM}' -->\"))) | .id')\n          COVERAGE_LABEL=$(gh pr view \"$PR_NUM\" --json labels --jq ' .labels[].name | select(. == \"coverage-diff\")')\n          if [[ -n \"$COMMENT_ID\" ]]; then\n            gh api -X DELETE /repos/\"${ORG_REPO}\"/issues/comments/\"${COMMENT_ID}\"\n          fi\n          if [[ \"$COV_STATUS\" != '0' ]]; then\n            if [[ \"$COVERAGE_LABEL\" == \"coverage-diff\" ]]; then\n              gh pr edit \"$PR_NUM\" --remove-label \"coverage-diff\"\n            fi\n          fi\n\n      - name: Add diff coverage report comment to PR\n        if: github.base_ref != '' && always()\n        env:\n          BRANCH_NAME: ${{ github.sha }}\n          COV_STATUS: ${{ env.COV_STATUS }}\n          GH_TOKEN: ${{ github.token }}\n          ORG_REPO: ${{ github.repository }}\n        run: |\n          if [[ $COV_STATUS != '0' ]]; then\n            BASE_URL=\"https://github.com/${ORG_REPO}/blob/${BRANCH_NAME}\"\n            PR_NUM=$(jq -r '.number' \"$GITHUB_EVENT_PATH\")\n            COVERAGE_LABEL=$(gh pr view \"$PR_NUM\" --json labels --jq ' .labels[].name | select(. == \"coverage-diff\")')\n            CONTENT=$(<coverage-reports/diff-cover-stdout)\n            OUTPUT=\"<!-- COVERAGE_COMMENT_${PR_NUM} -->\\n| File | Coverage | Missing Lines |\\n|------|----------|---------------|\\n\"\n            TOTAL_LINES=\"Unknown\"\n            MISSING_LINES=\"Unknown\"\n            TOTAL_COVERAGE=\"Unknown\"\n            IFS=$'\\n'\n            for LINE in $CONTENT; do\n              if [[ $LINE =~ ^(.*\\.py)\\ \\(([0-9\\.]+%)\\)\\:\\ Missing\\ lines\\ (.*)$ ]]; then\n                FILE=\"${BASH_REMATCH[1]}\"\n                COVERAGE=\"${BASH_REMATCH[2]}\"\n                MISSING=\"${BASH_REMATCH[3]}\"\n                MISSING_TRANSFORMED=\"lines \"\n                IFS=',' read -ra MISSING_PARTS <<< \"$MISSING\"\n                for PART in \"${MISSING_PARTS[@]}\"; do\n                  if [[ $PART =~ ^([0-9]+)\\-([0-9]+)$ ]]; then\n                    MISSING_TRANSFORMED+=\"[${BASH_REMATCH[1]}-${BASH_REMATCH[2]}](${BASE_URL}/${FILE}#L${BASH_REMATCH[1]}-L${BASH_REMATCH[2]}), \"\n                  else\n                    MISSING_TRANSFORMED+=\"[${PART}](${BASE_URL}/${FILE}#L${PART}), \"\n                  fi\n                done\n                MISSING_TRANSFORMED=${MISSING_TRANSFORMED%, }\n                OUTPUT+=\"| [\\`${FILE}\\`](${BASE_URL}/${FILE}) | ${COVERAGE} | ${MISSING_TRANSFORMED} |\\n\"\n              elif [[ $LINE =~ ^Total:\\ \\ \\ (.*)\\ lines$ ]]; then\n                TOTAL_LINES=\"${BASH_REMATCH[1]} lines\"\n              elif [[ $LINE =~ ^Missing:\\ (.*)\\ lines$ ]]; then\n                MISSING_LINES=\"${BASH_REMATCH[1]} lines\"\n              elif [[ $LINE =~ ^Coverage:\\ (.*)%$ ]]; then\n                TOTAL_COVERAGE=\"${BASH_REMATCH[1]}%\"\n              fi\n            done\n            OUTPUT+=\"\\n| Total | Missing | Coverage |\\n|-------|---------|----------|\\n| ${TOTAL_LINES} | ${MISSING_LINES} | ${TOTAL_COVERAGE} |\\n\"\n            echo -e \"$OUTPUT\" > temp_comment.txt\n            gh pr comment \"$PR_NUM\" -F temp_comment.txt\n            if [[ $COVERAGE_LABEL != \"coverage-diff\" ]]; then\n              gh pr edit \"$PR_NUM\" --add-label \"coverage-diff\"\n            fi\n          fi\n\n      - name: Add diff coverage report to workflow summary\n        if: always()\n        run: |\n          cat coverage-reports/diff-cover.md >> \"$GITHUB_STEP_SUMMARY\"\n\n      - name: Publish coverage reports\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-reports\n          path: coverage-reports/*\n          if-no-files-found: error\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:41.901021", "created_at": "2022-07-02T00:19:04+02:00", "updated_at": "2022-07-02T00:19:04+02:00", "name": "test", "path": ".github/workflows/test-single.yml", "contents": "name: test\n\n# This reusable workflow structure was chosen for the sole purpose of working around\n# the 256 job per matrix limit.  The initial total test job count was 290.  This\n# approach shifts the 256 limit to be per OS rather than overall.  A simpler single\n# regular workflow with matrixing against the OS would be preferred.\n\non:\n  workflow_call:\n    inputs:\n      emoji:\n        required: true\n        type: string\n      matrix:\n        required: true\n        type: string\n      name:\n        required: true\n        type: string\n      file_name:\n        required: true\n        type: string\n      concurrency_name:\n        required: true\n        type: string\n      configuration:\n        required: true\n        type: string\n      matrix_mode:\n        required: true\n        type: string\n      runs-on:\n        required: true\n        type: string\n\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ inputs.concurrency_name }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  test:\n    name: ${{ matrix.os.emoji }} ${{ matrix.configuration.name }} - ${{ matrix.python.name }}\n    runs-on: ${{ matrix.os.runs-on }}\n    timeout-minutes: ${{ matrix.configuration.job_timeout }}\n    strategy:\n      fail-fast: false\n      matrix:\n        configuration: ${{ fromJson(inputs.configuration) }}\n        os:\n          - emoji: ${{ inputs.emoji }}\n            matrix: ${{ inputs.matrix }}\n            name: ${{ inputs.name }}\n            file_name: ${{ inputs.file_name }}\n            runs-on: ${{ inputs.runs-on }}\n        python:\n          - name: '3.8'\n            file_name: '3.8'\n            action: '3.8'\n            apt: '3.8'\n            install_sh: '3.8'\n            matrix: '3.8'\n            exclude_from:\n              limited: True\n              main: True\n          - name: '3.9'\n            file_name: '3.9'\n            action: '3.9'\n            apt: '3.9'\n            install_sh: '3.9'\n            matrix: '3.9'\n            exclude_from:\n              limited: True\n              main: True\n          - name: '3.10'\n            file_name: '3.10'\n            action: '3.10'\n            apt: '3.10'\n            install_sh: '3.10'\n            matrix: '3.10'\n          - name: '3.11'\n            file_name: '3.11'\n            action: '3.11'\n            apt: '3.11'\n            install_sh: '3.11'\n            matrix: '3.11'\n            exclude_from:\n              limited: True\n              main: True\n        exclude:\n          - os:\n              matrix: macos\n            python:\n              matrix: '3.8'\n          - os:\n              matrix: windows\n            configuration:\n              install_timelord: true\n          - os:\n              matrix: windows\n            configuration:\n              name: core.full_node\n          - python:\n              exclude_from:\n                ${{ inputs.matrix_mode }}: True\n\n    env:\n      CACTUS_ROOT: ${{ github.workspace }}/.cactus/mainnet\n      CACTUS_SIMULATOR_ROOT: ${{ github.workspace }}/.cactus/simulator\n      JOB_FILE_NAME: tests_${{ matrix.os.file_name }}_python-${{ matrix.python.file_name }}_${{ matrix.configuration.name }}\n      BLOCKS_AND_PLOTS_VERSION: 0.38.0\n\n    steps:\n      - name: Configure git\n        run: |\n          git config --global core.autocrlf false\n\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set Env\n        uses: Cactus-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Setup Python environment\n        uses: Cactus-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python.action }}\n\n      - name: Create keychain for CI use (macOS)\n        if: matrix.os.matrix == 'macos'\n        run: |\n          security create-keychain -p foo cactuschain\n          security default-keychain -s cactuschain\n          security unlock-keychain -p foo cactuschain\n          security set-keychain-settings -t 7200 -u cactuschain\n\n      - name: Cache npm (Ubuntu)\n        if: matrix.os.matrix == 'ubuntu'\n        uses: actions/cache@v3\n        env:\n          SEGMENT_DOWNLOAD_TIMEOUT_MIN: 1\n        with:\n          path: ~/.npm\n          key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n          restore-keys: |\n            ${{ runner.os }}-node-\n\n      - name: Get pip cache dir\n        id: pip-cache\n        shell: bash\n        run: |\n          echo \"dir=$(pip cache dir)\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Cache pip\n        uses: actions/cache@v3\n        env:\n          SEGMENT_DOWNLOAD_TIMEOUT_MIN: 1\n        with:\n          # Note that new runners may break this https://github.com/actions/cache/issues/292\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Cache test blocks and plots\n        if: matrix.configuration.checkout_blocks_and_plots\n        uses: actions/cache@v3\n        env:\n          SEGMENT_DOWNLOAD_TIMEOUT_MIN: 1\n        id: test-blocks-plots\n        with:\n          path: |\n            ${{ github.workspace }}/.cactus/blocks\n            ${{ github.workspace }}/.cactus/test-plots\n          key: ${{ env.BLOCKS_AND_PLOTS_VERSION }}\n\n\n      - name: Checkout test blocks and plots\n        if: matrix.configuration.checkout_blocks_and_plots && steps.test-blocks-plots.outputs.cache-hit != 'true'\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release download -R Cactus-Network/test-cache ${{ env.BLOCKS_AND_PLOTS_VERSION }} --archive=tar.gz -O - | tar xzf -\n          mkdir \"${GITHUB_WORKSPACE}/.cactus\"\n          mv \"${GITHUB_WORKSPACE}/test-cache-${{ env.BLOCKS_AND_PLOTS_VERSION }}/\"* \"${GITHUB_WORKSPACE}/.cactus\"\n\n      - name: Install boost (macOS)\n        if: matrix.os.matrix == 'macos'\n        run: |\n          brew install boost\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python.install_sh }}\n          development: true\n          editable: false\n          legacy_keyring: ${{ matrix.configuration.legacy_keyring_required }}\n\n      - uses: cactus-network.network/actions/activate-venv@main\n\n      - name: Install timelord\n        if: matrix.configuration.install_timelord\n        run: |\n          sh install-timelord.sh -n\n          ./vdf_bench square_asm 400000\n\n      - name: Move cactus/ so we test the installed code\n        run: |\n          mv cactus/ notcactus/\n\n      - name: Test blockchain code with pytest\n        env:\n          ENABLE_PYTEST_MONITOR: ${{ matrix.os.matrix == 'ubuntu' && matrix.configuration.enable_pytest_monitor || '' }}\n        run: |\n          pytest --cov=cactus --cov=tests --cov-config=.coveragerc --cov-report= -o 'junit_suite_name=${{ env.JOB_FILE_NAME }}' --junitxml=junit-data/junit.${{ env.JOB_FILE_NAME }}.xml --durations=10 ${{ matrix.configuration.pytest_parallel_args[matrix.os.matrix] }} -m \"not benchmark\" ${{ env.ENABLE_PYTEST_MONITOR }} ${{ matrix.configuration.test_files }}\n\n      - name: Move back to cactus/ for coverage\n        run: |\n          mv notcactus/ cactus/\n\n      - name: Publish JUnit results\n        uses: actions/upload-artifact@v3\n        with:\n          name: junit-data\n          path: junit-data/*\n          if-no-files-found: error\n\n      - name: Process coverage data\n        run: |\n          coverage xml --rcfile=.coveragerc -o coverage.xml\n          mkdir coverage-data\n          cp .coverage \"coverage-data/.coverage.${{ env.JOB_FILE_NAME }}\"\n          cp coverage.xml \"coverage-data/coverage.${{ env.JOB_FILE_NAME }}.xml\"\n          coverage report --rcfile=.coveragerc --show-missing\n\n      - name: Publish coverage data\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-data\n          path: coverage-data/*\n          if-no-files-found: error\n\n      - name: Check resource usage\n        if: matrix.os.matrix == 'ubuntu' && matrix.configuration.check_resource_usage\n        run: |\n          sqlite3 -readonly -separator \" \" .pymon \"select item,cpu_usage,total_time,mem_usage from TEST_METRICS order by mem_usage desc;\" >metrics.out\n          ./tests/check_pytest_monitor_output.py <metrics.out\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:43.029673", "created_at": "2022-09-13T23:06:09+02:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "📦🚀 Build Installers - MacOS", "path": ".github/workflows/build-macos-installers.yml", "contents": "name: 📦🚀 Build Installers - MacOS\n\non:\n  workflow_dispatch:\n    inputs:\n      release_type:\n        description: 'Tagged release testing scenario'\n        required: false\n        type: choice\n        default: ''\n        options:\n        - ''\n        - 9.9.9-b1\n        - 9.9.9-rc1\n        - 9.9.9\n  push:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - 'long_lived/**'\n      - main\n      - 'release/**'\n  release:\n    types: [published]\n  pull_request:\n    paths-ignore:\n    - '**.md'\n    branches:\n      - '**'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  build:\n    name: Build ${{ matrix.os.name }} DMG\n    runs-on: ${{ matrix.os.runs-on }}\n    timeout-minutes: 90\n    outputs:\n      cactus-installer-version: ${{ steps.version_number.outputs.CACTUS_INSTALLER_VERSION }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        os:\n          - runs-on: macos-11\n            name: intel\n            bladebit-suffix: macos-x86-64.tar.gz\n          - runs-on: [MacOS, ARM64]\n            name: m1\n            bladebit-suffix: macos-arm64.tar.gz\n\n    steps:\n      - uses: Cactus-Network/actions/clean-workspace@main\n\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - uses: Cactus-Network/actions/git-ssh-to-https@main\n\n      - name: Cleanup any leftovers that exist from previous runs\n        run: bash build_scripts/clean-runner.sh || true\n\n      - name: Set Env\n        uses: Cactus-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          MACOSX_DEPLOYMENT_TARGET: 11\n\n      - name: Check tag type\n        shell: bash\n        run: |\n          REG_B=\"^[0-9]+\\.[0-9]+\\.[0-9]+-b[0-9]+$\"\n          REG_RC=\"^[0-9]+\\.[0-9]+\\.[0-9]+-rc[0-9]+$\"\n          if [[ \"${{ github.event.release.tag_name }}\" =~ $REG_B ]] || [[ \"${{ inputs.release_type }}\" =~ $REG_B ]]; then\n            echo \"TAG_TYPE=beta\"\n            echo \"TAG_TYPE=beta\" >> \"$GITHUB_ENV\"\n          elif [[ \"${{ github.event.release.tag_name }}\" =~ $REG_RC ]] || [[ \"${{ inputs.release_type }}\" =~ $REG_RC ]]; then\n            echo \"TAG_TYPE=rc\"\n            echo \"TAG_TYPE=rc\" >> \"$GITHUB_ENV\"\n          fi\n\n      - name: Test for secrets access\n        id: check_secrets\n        shell: bash\n        run: |\n          unset HAS_APPLE_SECRET\n\n          if [ -n \"$APPLE_SECRET\" ]; then HAS_APPLE_SECRET='true' ; fi\n          echo HAS_APPLE_SECRET=${HAS_APPLE_SECRET} >> \"$GITHUB_OUTPUT\"\n        env:\n          APPLE_SECRET: \"${{ secrets.APPLE_DEV_ID_APP }}\"\n\n      - name: Create installer version number\n        id: version_number\n        run: |\n          python3 -m venv ../venv\n          . ../venv/bin/activate\n          pip install setuptools_scm\n          echo \"CACTUS_INSTALLER_VERSION=$(python3 ./build_scripts/installer-version.py)\" >> \"$GITHUB_OUTPUT\"\n          deactivate\n\n      - name: Setup Python environment\n        uses: Cactus-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # This will be recreated in the next step\n      # Done now and at the end of the workflow in case the last workflow fails, and this is still around\n      - name: Delete keychain if it already exists\n        run:\n          security delete-keychain signing_temp.keychain || true\n\n      - name: Import Apple app signing certificate\n        if: steps.check_secrets.outputs.HAS_APPLE_SECRET\n        uses: Apple-Actions/import-codesign-certs@v2\n        with:\n          p12-file-base64: ${{ secrets.APPLE_DEV_ID_APP }}\n          p12-password: ${{ secrets.APPLE_DEV_ID_APP_PASS }}\n\n      - name: Get latest madmax plotter\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          LATEST_MADMAX=$(gh api repos/Cactus-Network/cactus-plotter-madmax/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n          mkdir \"$GITHUB_WORKSPACE\"/madmax\n          gh release download -R Cactus-Network/cactus-plotter-madmax \"$LATEST_MADMAX\" -p 'cactus_plot-'$LATEST_MADMAX'-macos-${{ matrix.os.name }}'\n          mv cactus_plot-$LATEST_MADMAX-macos-${{ matrix.os.name }} \"$GITHUB_WORKSPACE\"/madmax/cactus_plot\n          gh release download -R Cactus-Network/cactus-plotter-madmax \"$LATEST_MADMAX\" -p 'cactus_plot_k34-'$LATEST_MADMAX'-macos-${{ matrix.os.name }}'\n          mv cactus_plot_k34-$LATEST_MADMAX-macos-${{ matrix.os.name }} \"$GITHUB_WORKSPACE\"/madmax/cactus_plot_k34\n          chmod +x \"$GITHUB_WORKSPACE\"/madmax/cactus_plot\n          chmod +x \"$GITHUB_WORKSPACE\"/madmax/cactus_plot_k34\n\n      - name: Fetch bladebit versions\n        shell: bash\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Fetch the latest version of each type\n          LATEST_RELEASE=$(gh api repos/Cactus-Network/bladebit/releases/latest --jq 'select(.prerelease == false) | .tag_name')\n          LATEST_BETA=$(gh api repos/Cactus-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-beta[0-9]+$\"))) | first | .tag_name')\n          LATEST_RC=$(gh api repos/Cactus-Network/bladebit/releases --jq 'map(select(.prerelease) | select(.tag_name | test(\"^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+-rc[0-9]+$\"))) | first | .tag_name')\n\n          # Compare the versions and choose the newest that matches the requirements\n          if [[ \"$TAG_TYPE\" == \"beta\" || -z \"$TAG_TYPE\" ]]; then\n            # For beta or dev builds (indicated by the absence of a tag), use the latest version available\n            LATEST_VERSION=$(printf \"%s\\n%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_BETA\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n          elif [[ \"$TAG_TYPE\" == \"rc\" ]]; then\n            # For RC builds, use the latest RC or full release if it's newer\n            LATEST_VERSION=$(printf \"%s\\n%s\\n\" \"$LATEST_RELEASE\" \"$LATEST_RC\" | sed '/-/!s/$/_/' | sort -V | sed 's/_$//' | tail -n 1)\n          else\n            # For full releases, use the latest full release\n            LATEST_VERSION=\"$LATEST_RELEASE\"\n          fi\n          echo \"LATEST_VERSION=$LATEST_VERSION\" >> \"$GITHUB_ENV\"\n\n      - name: Get latest bladebit plotter\n        shell: bash\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Download and extract the chosen version\n          mkdir \"$GITHUB_WORKSPACE\"/bladebit\n          cd \"$GITHUB_WORKSPACE\"/bladebit\n          ASSETS=$(gh release view \"$LATEST_VERSION\" --repo Cactus-Network/bladebit --json assets -q '.assets[].name')\n              if ! echo \"$ASSETS\" | grep -q 'bladebit.*-${{ matrix.os.bladebit-suffix }}'; then\n                LATEST_VERSION=v2.0.1\n              fi\n          gh release download -R Cactus-Network/bladebit \"$LATEST_VERSION\" -p 'bladebit*-${{ matrix.os.bladebit-suffix }}'\n          ls *.tar.gz | xargs -I{} bash -c 'tar -xzf {} && rm {}'\n          ls bladebit* | xargs -I{} chmod +x {}\n          cd \"$OLDPWD\"\n\n      - uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python-version }}\n          development: true\n          constraints-file-artifact-name: constraints-file-${{ matrix.os.name }}\n\n      - uses: cactus-network.network/actions/activate-venv@main\n\n      - name: Setup Node 18.x\n        uses: actions/setup-node@v4\n        with:\n          node-version: '18.x'\n\n      - name: Prepare GUI cache\n        id: gui-ref\n        run: |\n          gui_ref=$(git submodule status cactus-blockchain-gui | sed -e 's/^ //g' -e 's/ cactus-blockchain-gui.*$//g')\n          echo \"${gui_ref}\"\n          echo \"GUI_REF=${gui_ref}\" >> \"$GITHUB_OUTPUT\"\n          echo \"rm -rf ./cactus-blockchain-gui\"\n          rm -rf ./cactus-blockchain-gui\n\n      - name: Cache GUI\n        uses: actions/cache@v3\n        id: cache-gui\n        with:\n          path: ./cactus-blockchain-gui\n          key: ${{ runner.os }}-${{ matrix.os.name }}-cactus-blockchain-gui-${{ steps.gui-ref.outputs.GUI_REF }}\n\n      - if: steps.cache-gui.outputs.cache-hit != 'true'\n        name: Build GUI\n        continue-on-error: false\n        run: |\n          cd ./build_scripts\n          sh build_macos-1-gui.sh\n\n      - name: Build MacOS DMG\n        env:\n          CACTUS_INSTALLER_VERSION: ${{ steps.version_number.outputs.CACTUS_INSTALLER_VERSION }}\n          NOTARIZE: ${{ steps.check_secrets.outputs.HAS_APPLE_SECRET }}\n          APPLE_NOTARIZE_USERNAME: \"${{ secrets.APPLE_NOTARIZE_USERNAME }}\"\n          APPLE_NOTARIZE_PASSWORD: \"${{ secrets.APPLE_NOTARIZE_PASSWORD }}\"\n          APPLE_TEAM_ID: \"${{ secrets.APPLE_TEAM_ID }}\"\n          APPLE_DEV_ID_APP: \"${{ secrets.APPLE_DEV_ID_APP }}\"\n          APPLE_DEV_ID_APP_PASS: \"${{ secrets.APPLE_DEV_ID_APP_PASS }}\"\n        run: |\n          cd ./build_scripts\n          sh build_macos-2-installer.sh\n\n      - name: Upload MacOS artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: cactus-installers-macos-dmg-${{ matrix.os.name }}\n          path: ${{ github.workspace }}/build_scripts/final_installer/\n\n      - name: Remove working files to exclude from cache\n        run: |\n          rm -rf ./cactus-blockchain-gui/packages/gui/daemon\n\n      # We want to delete this no matter what happened in the previous steps (failures, success, etc)\n      - name: Delete signing keychain\n        if: always()\n        run:\n          security delete-keychain signing_temp.keychain || true\n\n  publish:\n    name: Publish ${{ matrix.os.name }} DMG\n    runs-on: ${{ matrix.os.runs-on }}\n    needs:\n    - build\n    timeout-minutes: 5\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        os:\n          - runs-on: macos-11\n            name: intel\n            file-suffix: \"\"\n            glue-name: \"build-macos\"\n          - runs-on: [MacOS, ARM64]\n            name: m1\n            file-suffix: \"-arm64\"\n            glue-name: \"build-mac-m1\"\n\n    env:\n      CACTUS_INSTALLER_VERSION: ${{ needs.build.outputs.cactus-installer-version }}\n\n    steps:\n      - uses: Cactus-Network/actions/clean-workspace@main\n\n      - name: Setup Python environment\n        uses: Cactus-Network/actions/setup-python@main\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: cactus-network.network/actions/create-venv@main\n        id: create-venv\n\n      - uses: cactus-network.network/actions/activate-venv@main\n        with:\n          directories: ${{ steps.create-venv.outputs.activate-venv-directories }}\n\n      - name: Download constraints file\n        uses: actions/download-artifact@v3\n        with:\n          name: constraints-file-${{ matrix.os.name }}\n          path: venv\n\n      - name: Install utilities\n        run: |\n          pip install --constraint venv/constraints.txt py3createtorrent\n\n      - name: Download packages\n        uses: actions/download-artifact@v3\n        with:\n          name: cactus-installers-macos-dmg-${{ matrix.os.name }}\n          path: build_scripts/final_installer/\n\n      - name: Set Env\n        uses: Cactus-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Test for secrets access\n        id: check_secrets\n        shell: bash\n        run: |\n          unset HAS_AWS_SECRET\n          unset HAS_GLUE_SECRET\n\n          if [ -n \"$AWS_SECRET\" ]; then HAS_AWS_SECRET='true' ; fi\n          echo HAS_AWS_SECRET=${HAS_AWS_SECRET} >> \"$GITHUB_OUTPUT\"\n\n          if [ -n \"$GLUE_API_URL\" ]; then HAS_GLUE_SECRET='true' ; fi\n          echo HAS_GLUE_SECRET=${HAS_GLUE_SECRET} >> \"$GITHUB_OUTPUT\"\n        env:\n          AWS_SECRET: \"${{ secrets.CACTUS_AWS_ACCOUNT_ID }}\"\n          GLUE_API_URL: \"${{ secrets.GLUE_API_URL }}\"\n\n      - name: Install AWS CLI\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET\n        run: |\n          command -v aws || brew install awscli\n\n      - name: Install GH CLI\n        run: |\n          command -v gh || brew install gh\n\n      - name: Create Checksums\n        run: |\n          ls\n          shasum -a 256 ${{ github.workspace }}/build_scripts/final_installer/Cactus-${{ env.CACTUS_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg > ${{ github.workspace }}/build_scripts/final_installer/Cactus-${{ env.CACTUS_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.sha256\n\n      - name: Configure AWS credentials\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: arn:aws:iam::${{ secrets.CACTUS_AWS_ACCOUNT_ID }}:role/installer-upload\n          aws-region: us-west-2\n\n      - name: Upload to s3\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET\n        run: |\n          GIT_SHORT_HASH=$(echo \"${GITHUB_SHA}\" | cut -c1-8)\n          CACTUS_DEV_BUILD=${CACTUS_INSTALLER_VERSION}-$GIT_SHORT_HASH\n          echo \"CACTUS_DEV_BUILD=$CACTUS_DEV_BUILD\" >> \"$GITHUB_ENV\"\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/Cactus-${{ env.CACTUS_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg s3://download.cactus-network.network.net/dev/Cactus-${CACTUS_DEV_BUILD}${{ matrix.os.file-suffix }}.dmg\n\n      - name: Create torrent\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        if: env.FULL_RELEASE == 'true'\n        run: |\n          py3createtorrent -f -t udp://tracker.opentrackr.org:1337/announce ${{ github.workspace }}/build_scripts/final_installer/Cactus-${{ env.CACTUS_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg -o ${{ github.workspace }}/build_scripts/final_installer/Cactus-${{ env.CACTUS_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.torrent --webseed https://download.cactus-network.network.net/install/Cactus-${{ env.CACTUS_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg\n          ls ${{ github.workspace }}/build_scripts/final_installer/\n          gh release upload --repo ${{ github.repository }} $RELEASE_TAG ${{ github.workspace }}/build_scripts/final_installer/Cactus-${{ env.CACTUS_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.torrent\n\n      - name: Upload Dev Installer\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET && github.ref == 'refs/heads/main'\n        run: |\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/Cactus-${{ env.CACTUS_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg s3://download.cactus-network.network.net/latest-dev/Cactus${{ matrix.os.file-suffix }}_latest_dev.dmg\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/Cactus-${{ env.CACTUS_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.sha256 s3://download.cactus-network.network.net/latest-dev/Cactus${{ matrix.os.file-suffix }}_latest_dev.dmg.sha256\n\n      - name: Upload Release Files\n        if: steps.check_secrets.outputs.HAS_AWS_SECRET && env.FULL_RELEASE == 'true'\n        run: |\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/Cactus-${{ env.CACTUS_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg s3://download.cactus-network.network.net/install/\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/Cactus-${{ env.CACTUS_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.sha256 s3://download.cactus-network.network.net/install/\n          aws s3 cp ${{ github.workspace }}/build_scripts/final_installer/Cactus-${{ env.CACTUS_INSTALLER_VERSION }}${{ matrix.os.file-suffix }}.dmg.torrent s3://download.cactus-network.network.net/torrents/\n\n      - name: Upload release artifacts\n        if: env.RELEASE == 'true'\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release upload \\\n            --repo ${{ github.repository }} \\\n            $RELEASE_TAG \\\n            build_scripts/final_installer/*.dmg\n\n      - uses: Cactus-Network/actions/github/jwt@main\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET\n\n      - name: Mark pre-release installer complete\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.PRE_RELEASE == 'true'\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"cactus_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}-prerelease/${{ env.RELEASE_TAG }}/success/${{ matrix.os.glue-name }}\n\n      - name: Mark release installer complete\n        if: steps.check_secrets.outputs.HAS_GLUE_SECRET && env.FULL_RELEASE == 'true'\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"cactus_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/${{ env.RFC_REPO }}/${{ env.RELEASE_TAG }}/success/${{ matrix.os.glue-name }}\n\n  test:\n    name: Test ${{ matrix.os.name }} ${{ matrix.arch.name }}\n    runs-on: ${{ matrix.os.runs-on[matrix.arch.matrix] }}\n    needs:\n    - build\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - name: 11\n            matrix: 11\n            runs-on:\n              intel: macos-11\n              arm: [macos, arm64]\n          - name: 12\n            matrix: 12\n            runs-on:\n              intel: macos-12\n          - name: 13\n            matrix: 13\n            runs-on:\n              intel: macos-13\n        arch:\n          - name: ARM64\n            matrix: arm\n            artifact-name: m1\n          - name: Intel\n            matrix: intel\n            artifact-name: intel\n        exclude:\n          - os:\n              matrix: 12\n            arch:\n              matrix: arm\n          - os:\n              matrix: 13\n            arch:\n              matrix: arm\n\n    steps:\n    - uses: Cactus-Network/actions/clean-workspace@main\n\n    - name: Download packages\n      uses: actions/download-artifact@v3\n      id: download\n      with:\n        name: cactus-installers-macos-dmg-${{ matrix.arch.artifact-name }}\n        path: packages\n\n    - name: Mount .dmg\n      env:\n        PACKAGE_PATH: ${{ github.workspace }}/build_scripts/final_installer/\n      run: |\n        ls -l \"${{ steps.download.outputs.download-path }}\"\n        hdiutil attach \"${{ steps.download.outputs.download-path }}\"/cactus-*.dmg\n\n    - name: Run cactus version\n      run: |\n        \"/Volumes/Cactus \"*\"/Cactus.app/Contents/Resources/app.asar.unpacked/daemon/cactus\" version\n\n    - name: Detach .dmg\n      if: always()\n      run: |\n        hdiutil detach -force \"/Volumes/Cactus \"*\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:44.052055", "created_at": "2022-09-13T23:06:44+02:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "🚨 Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: '🚨 Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v4\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v3\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:45.179436", "created_at": "2022-12-07T01:53:06+01:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "🚨 Check PR Labels", "path": ".github/workflows/require-labels.yml", "contents": "name: 🚨 Check PR Labels\non:\n  pull_request:\n    types: [opened, labeled, unlabeled, synchronize]\njobs:\n  check-labels:\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: read\n      statuses: write\n    outputs:\n      status: ${{ steps.check-labels.outputs.status }}\n    steps:\n      - id: check-labels\n        uses: mheap/github-action-required-labels@v5\n        with:\n          mode: exactly\n          count: 1\n          labels: \"Added, Changed, Fixed\"\n          exit_type: success\n      - run: echo SUCCESS\n        if: steps.check-labels.outputs.status == 'success'\n      - run: echo FAILURE && exit 1\n        if: steps.check-labels.outputs.status == 'failure'\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:46.420338", "created_at": "2022-12-07T01:53:06+01:00", "updated_at": "2022-12-07T01:53:06+01:00", "name": "Start Sync Test", "path": ".github/workflows/start-sync-test.yml", "contents": "# Starts a sync test for every new release (pre-releases included)\nname: Start Sync Test\n\non:\n  release:\n    types: [published]\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  start_release:\n    name: Starts Sync Test\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set Env\n        uses: Cactus-Network/actions/setjobenv@main\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - uses: Cactus-Network/actions/github/jwt@main\n\n      - name: Trigger Workflow\n        run: |\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"test_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/sync-test/$RELEASE_TAG/start\n          curl -s -XPOST -H \"Authorization: Bearer ${{ env.JWT_TOKEN }}\" --data '{\"test_ref\": \"${{ env.RELEASE_TAG }}\"}' ${{ secrets.GLUE_API_URL }}/api/v1/sync-test/$RELEASE_TAG/success/deploy\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:47.532808", "created_at": "2023-03-25T21:05:30+01:00", "updated_at": "2023-06-20T21:57:18+02:00", "name": "🚨 Check commit signing", "path": ".github/workflows/check-commit-signing.yml", "contents": "name: 🚨 Check commit signing\n\non:\n  push:\n    branches:\n    - long_lived/**\n    - main\n    - release/**\n  pull_request:\n    branches:\n    - '**'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  check-commit-signing:\n    name: Check commit signing\n    runs-on: [ubuntu-latest]\n    timeout-minutes: 5\n\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: cactus-network.network/actions/check-commit-signing@main\n", "state": "active", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:48.762156", "created_at": "2021-12-02T19:37:37+01:00", "updated_at": "2024-06-19T16:36:52+02:00", "name": "🚨 CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: 🚨 CodeQL\n\non:\n  push:\n    branches:\n      - 'long_lived/**'\n      - main\n      - 'release/**'\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '34 14 * * 3'\n\nconcurrency:\n  # SHA is added to the end if on `main` to let all main workflows run\n  group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "disabled_inactivity", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:49.774350", "created_at": "2021-12-02T19:37:37+01:00", "updated_at": "2024-06-16T13:11:53+02:00", "name": "Close stale issues", "path": ".github/workflows/stale-issue.yml", "contents": "name: 'Close stale issues'\non:\n  schedule:\n    - cron: '0 11 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v8\n        with:\n          operations-per-run: 10000\n          ascending: true\n          days-before-issue-stale: 14\n          days-before-issue-close: 7\n          days-before-pr-stale: 45\n          days-before-pr-close: -1\n          exempt-all-pr-milestones: true\n          exempt-all-issue-milestones: true\n          exempt-all-assignees: true\n          stale-issue-label: stale-issue\n          stale-pr-label: stale-pr\n          remove-stale-when-updated: true\n          stale-issue-message: >-\n            This issue has not been updated in 14 days and is now flagged\n            as stale. If this issue is still affecting you and in need\n            of further review, please comment on it with an update to\n            keep it from auto closing in 7 days.\n          close-issue-message: >-\n            This issue was automatically closed because it has been\n            flagged as stale, and subsequently passed 7 days with no\n            further activity from the submitter or watchers.\n          stale-pr-message: >-\n            This PR has been flagged as stale due to no activity for over\n            60 days. It will not be automatically closed, but it has been\n            given a stale-pr label and should be manually reviewed by the\n            relevant parties.\n", "state": "disabled_inactivity", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:50.912094", "created_at": "2023-05-05T23:04:20+02:00", "updated_at": "2023-12-28T14:13:02+01:00", "name": "🌄 Daily Full Matrix Test", "path": ".github/workflows/daily-matrix.yml", "contents": "name: 🌄 Daily Full Matrix Test\n\non:\n  schedule:\n  - cron: '0 13 * * *'\njobs:\n  trigger_workflow_dispatch:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Trigger Workflow Dispatch\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        gh workflow run test.yml --repo Cactus-Network/cactus-blockchain --ref main\n", "state": "disabled_inactivity", "repository": "cactus-network/cactus-blockchain"}
{"mined_at": "2024-07-15T16:20:53.265453", "created_at": "2020-07-16T09:16:18+02:00", "updated_at": "2021-07-02T08:38:42+02:00", "name": "merge", "path": ".github/workflows/check.yml", "contents": "name: merge\n\non:\n  pull_request:\n    branches:\n      - \"*\"\n      - \"!master\"\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  Testing:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v1\n      - name: Run Inner Link Check\n        run: |\n          npm install\n          node check-link.js\n", "state": "active", "repository": "milvus-io/milvus-docs"}
{"mined_at": "2024-07-15T16:20:54.395405", "created_at": "2020-05-27T11:54:54+02:00", "updated_at": "2024-06-13T11:12:35+02:00", "name": "dev", "path": ".github/workflows/ci.yml", "contents": "name: dev\n\non:\n  push:\n    branches:\n      - v2.4.x\n  release:\n    types: [released]\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build \"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v1\n        with:\n          ref: v2.4.x\n\n      - name: Extract branch name\n        shell: bash\n        run: echo \"##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})\"\n        id: extract_branch\n\n      - name: Md2md\n        run: |\n          cp site/en/Variables.json ./\n          mv site doc_from\n          sudo npm install @zilliz/mdtomd -g\n          goover\n          rm -rf doc_from/*\n          rm check-link.js\n          mv doc_to site\n\n      - name: Delete And Push\n        run: |\n          sudo apt-get update\n          sudo apt-get install jq\n          cd ../\n          git clone https://.:${{ secrets.P_GITHUB_TOKEN }}@github.com/milvus-io/web-content.git target\n          git config --global user.email \"Milvus-doc-bot@zilliz.com\"\n          git config --global user.name \"Milvus-doc-bot\"\n          cp ./milvus-docs/version.json ./target\n          cd target\n          rm -rf `cat version.json | jq -r .version`\n          mkdir `cat version.json | jq -r .version`\n          cp -avr ../milvus-docs/** ./`cat version.json | jq -r .version`\n          git add .\n          git commit -m \"Release new docs \"\n          git push -f origin master\n", "state": "active", "repository": "milvus-io/milvus-docs"}
{"mined_at": "2024-07-15T16:20:55.395141", "created_at": "2020-07-08T04:44:37+02:00", "updated_at": "2021-07-02T08:38:42+02:00", "name": "dev", "path": ".github/workflows/pre.yml", "contents": "name: dev\n\non:\n  release:\n    types: [prereleased]\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build \"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v1\n\n      - name: Extract branch name\n        shell: bash\n        run: echo \"##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})\"\n        id: extract_branch\n\n      - name: Md2md\n        run: |\n          cp site/en/Variables.json ./\n          mv site doc_from\n          sudo npm install @zilliz/mdtomd -g\n          goover\n          rm -rf doc_from/*\n          rm check-link.js\n          mv doc_to site\n\n      - name: Delete And Push\n        run: |\n          sudo apt-get update\n          sudo apt-get install jq\n          cd ../\n          git clone https://.:${{ secrets.P_GITHUB_TOKEN }}@github.com/milvus-io/web-content.git target\n          git config --global user.email \"Milvus-doc-bot@zilliz.com\"\n          git config --global user.name \"Milvus-doc-bot\"\n          cp ./milvus-docs/version.json ./target\n          cd target\n          rm -rf preview\n          mkdir preview\n          cp -avr ../milvus-docs/** ./preview\n          git add .\n          git commit -m \"Release new docs  preview\"\n          git push -f origin master\n", "state": "active", "repository": "milvus-io/milvus-docs"}
{"mined_at": "2024-07-15T16:34:59.379770", "created_at": "2020-10-29T23:07:30+01:00", "updated_at": "2022-09-26T15:07:13+02:00", "name": "PR Build", "path": ".github/workflows/build.yaml", "contents": "name: PR Build\n\non:\n  - push\n  - pull_request\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest]\n        python-version: [\"3.10\"]\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Setup poetry\n        run: python3 -mpip install poetry\n      - name: Install dependencies\n        run: poetry install\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n      - name: Test if the formatting is correct\n        run: python3 -mblack . --check\n      - name: Build distribution\n        run: python3 -mPyInstaller ssrando.spec\n      - name: Run tests\n        run: |\n          python3 randoscript.py --noui --dry-run --seed=0\n          cp -r logs logs_source\n          dist/ssrando --noui --dry-run --seed=0\n          diff logs logs_source\n      - name: Make arc-replacements folder\n        run: |\n          mkdir -p dist/arc-replacements\n          cp arc-replacements/README.md dist/arc-replacements\n        shell: bash\n      - name: Make models folder\n        run: |\n          mkdir -p dist/models\n          cp models/README.md dist/models\n        shell: bash\n      - name: Copy Readme and changelog\n        run: cp README.md CHANGELOG.md dist\n        shell: bash\n      - uses: SebRollen/toml-action@v1.2.0\n        id: read_toml\n        with:\n          file: \"pyproject.toml\"\n          field: \"tool.poetry.version\"\n      - uses: actions/upload-artifact@v4\n        with:\n          name: Skyward Sword Randomizer v${{ steps.read_toml.outputs.value }}\n          path: dist\n", "state": "active", "repository": "ssrando/ssrando"}
{"mined_at": "2024-07-15T16:35:00.423282", "created_at": "2023-11-24T04:44:55+01:00", "updated_at": "2024-01-17T17:53:02+01:00", "name": "Check Logic Dump Contents", "path": ".github/workflows/dump-check.yaml", "contents": "name: Check Logic Dump Contents\non:\n  - push\n  - pull_request\njobs:\n  dump:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Setup poetry\n        run: python3 -mpip install poetry\n      - name: Install dependencies\n        run: poetry install\n        env:\n          POETRY_VIRTUALENVS_CREATE: false\n      - name: Install system dependencies\n        run: sudo apt-get update && sudo apt-get install ffmpeg libsm6 libxext6  -y\n      - name: Create dump file\n        run: python3 randoscript.py --noui --dump dump-check.yaml\n      - name: Check contents\n        run: diff dump.yaml dump-check.yaml", "state": "active", "repository": "ssrando/ssrando"}
{"mined_at": "2024-07-15T16:35:01.455684", "created_at": "2022-09-24T01:03:50+02:00", "updated_at": "2022-09-24T01:03:50+02:00", "name": "Comment on pull request", "path": ".github/workflows/nightly-link-comment.yaml", "contents": "name: Comment on pull request\n\non:\n  # Only run when the other workflow is completed since\n  # the build workflow only publishes artifacts after it has completed\n  workflow_run:\n    workflows: ['PR Build']\n    types: [completed]\n\njobs:\n  pr_comment:\n    name: Add packages to PRs\n    if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get the PR number\n        run: |\n          # Query the issue search API to get the PR associated with it\n          PR_RAW=$(curl 'https://api.github.com/search/issues?q=${{ github.event.workflow_run.head_commit.id }}')\n          # Get the event number from the search results, which will\n          # be the PR number\n          # Filter by PRs only in this repository, as a PR with an identical head commit may be made in another repository (e.g. a fork)\n          # Assume the 0th index in the array of found PRs is the correct one (it seems to usually be the latest one)\n          PR_NUM=$(echo $PR_RAW | jq '.items | map(select(.repository_url==\"https://api.github.com/repos/${{ github.repository }}\")) | .[0].number')\n          echo \"PR_NUM=${PR_NUM}\" >> ${GITHUB_ENV}\n      - name: Comment on PR\n        uses: actions/github-script@v7\n        with:\n          # This snippet is public-domain, taken from\n          # https://github.com/oprypin/nightly.link/blob/master/.github/workflows/pr-comment.yml\n          # and modified to allow comments on external PRs\n          script: |\n            async function upsertComment(owner, repo, issue_number, purpose, body) {\n              const {data: comments} = await github.rest.issues.listComments(\n                {owner, repo, issue_number});\n              const marker = `<!-- bot: ${purpose} -->`;\n              body = marker + \"\\n\" + body;\n              const existing = comments.filter((c) => c.body.includes(marker));\n              if (existing.length > 0) {\n                const last = existing[existing.length - 1];\n                core.info(`Updating comment ${last.id}`);\n                await github.rest.issues.updateComment({\n                  owner, repo,\n                  body,\n                  comment_id: last.id,\n                });\n              } else {\n                core.info(`Creating a comment in issue / PR ${issue_number}`);\n                await github.rest.issues.createComment({issue_number, body, owner, repo});\n              }\n            }\n            const {owner, repo} = context.repo;\n            const run_id = '${{github.event.workflow_run.id}}';\n            const artifacts = await github.paginate(\n              github.rest.actions.listWorkflowRunArtifacts, {owner, repo, run_id});\n            if (!artifacts.length) {\n              return core.error(`No artifacts found`);\n            }\n            let body = `Download the artifacts for this pull request:\\n`;\n            for (const art of artifacts) {\n              body += `\\n* [${art.name}.zip](https://nightly.link/${owner}/${repo}/actions/artifacts/${art.id}.zip)`;\n            }\n            body += `  \\n\\nThis service is provided by [nightly.link](https://github.com/oprypin/nightly.link). These artifacts will expire in 90 days and will not be available for download after that time.`;\n            core.info(\"Review thread message body:\", body);\n            await upsertComment(owner, repo, ${{ env.PR_NUM }},\n              \"nightly-link\", body);\n", "state": "active", "repository": "ssrando/ssrando"}
{"mined_at": "2024-07-15T16:35:03.799150", "created_at": "2022-07-17T21:16:40+02:00", "updated_at": "2022-07-19T10:11:58+02:00", "name": "Build main documentation", "path": ".github/workflows/build_main_documentation.yml", "contents": "name: Build main documentation\n\non:\n  push:\n    branches:\n      - main\n      - doc-builder*\n      - v*-release\n  workflow_dispatch:\n\njobs:\n  build_documentation:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/doc-builder'\n          path: doc-builder\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/doc-build'\n          path: doc-build\n          token: ${{ secrets.HUGGINGFACE_PUSH }}\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/optimum'\n          path: optimum\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/optimum-habana'\n          path: optimum-habana\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/optimum-intel'\n          path: optimum-intel\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/optimum-furiosa'\n          path: optimum-furiosa\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/optimum-amd'\n          path: optimum-amd\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/optimum-tpu'\n          path: optimum-tpu\n\n      - name: Free disk space\n        run: |\n          df -h\n          sudo apt-get purge -y '^apache.*'\n          sudo apt-get purge -y '^imagemagick.*'\n          sudo apt-get purge -y '^dotnet.*'\n          sudo apt-get purge -y '^aspnetcore.*'\n          sudo apt-get purge -y 'php.*'\n          sudo apt-get purge -y '^temurin.*'\n          sudo apt-get purge -y '^mysql.*'\n          sudo apt-get purge -y '^java.*'\n          sudo apt-get purge -y '^openjdk.*'\n          sudo apt-get purge -y microsoft-edge-stable google-cloud-cli azure-cli google-chrome-stable firefox powershell mono-devel\n          df -h\n          sudo apt-get autoremove -y >/dev/null 2>&1\n          sudo apt-get clean\n          df -h\n          echo \"https://github.com/actions/virtual-environments/issues/709\"\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n          df -h\n          echo \"remove big /usr/local\"\n          sudo rm -rf \"/usr/local/share/boost\"\n          sudo rm -rf /usr/local/lib/android >/dev/null 2>&1\n          df -h\n          echo \"remove /usr/share leftovers\"\n          sudo rm -rf /usr/share/dotnet/sdk > /dev/null 2>&1\n          sudo rm -rf /usr/share/dotnet/shared > /dev/null 2>&1\n          sudo rm -rf /usr/share/swift > /dev/null 2>&1\n          df -h\n          echo \"remove other leftovers\"\n          sudo rm -rf /var/lib/mysql > /dev/null 2>&1\n          sudo rm -rf /home/runner/.dotnet > /dev/null 2>&1\n          sudo rm -rf /home/runneradmin/.dotnet > /dev/null 2>&1\n          sudo rm -rf /etc/skel/.dotnet > /dev/null 2>&1\n          sudo rm -rf /usr/local/.ghcup > /dev/null 2>&1\n          sudo rm -rf /usr/local/aws-cli > /dev/null 2>&1\n          sudo rm -rf /usr/lib/heroku > /dev/null 2>&1\n          sudo rm -rf /usr/local/share/chromium > /dev/null 2>&1\n          df -h\n\n      - name: Set environment variables\n        run: |\n          cd optimum\n          version=`echo \"$(grep '^__version__ =' optimum/version.py | cut -d '=' -f 2- | xargs)\"`\n\n          if [[ $version == *.dev0 ]]\n          then\n            echo \"VERSION=main\" >> $GITHUB_ENV\n          else\n            echo \"VERSION=v$version\" >> $GITHUB_ENV\n          fi\n\n          cd ..\n\n      - name: Setup environment\n        run: |\n          pip uninstall -y doc-builder\n          cd doc-builder\n          git pull origin main\n          pip install .\n          pip install black\n          cd ..\n\n      - name: Make Habana documentation\n        run: |\n          sudo docker system prune -a -f\n          cd optimum-habana\n          make doc BUILD_DIR=habana-doc-build VERSION=${{ env.VERSION }}\n          sudo mv habana-doc-build ../optimum\n          cd ..\n\n      - name: Make Intel documentation\n        run: |\n          sudo docker system prune -a -f\n          cd optimum-intel\n          make doc BUILD_DIR=intel-doc-build VERSION=${{ env.VERSION }}\n          sudo mv intel-doc-build ../optimum\n          cd ..\n\n      - name: Make Furiosa documentation\n        run: |\n          cd optimum-furiosa\n          pip install .\n          sudo apt install software-properties-common\n          sudo add-apt-repository --remove https://packages.microsoft.com/ubuntu/22.04/prod\n          sudo apt update\n          sudo apt install -y ca-certificates apt-transport-https gnupg\n          sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5F03AFA423A751913F249259814F888B20B09A7E\n          sudo tee -a /etc/apt/auth.conf.d/furiosa.conf > /dev/null <<EOT\n            machine archive.furiosa.ai\n            login ${{ secrets.FURIOSA_ACCESS_KEY }}\n            password ${{ secrets.FURIOSA_SECRET_ACCESS_KEY }}\n          EOT\n          sudo chmod 400 /etc/apt/auth.conf.d/furiosa.conf\n          sudo tee -a /etc/apt/sources.list.d/furiosa.list <<EOT\n            deb [arch=amd64] https://archive.furiosa.ai/ubuntu jammy restricted\n          EOT\n          sudo apt update && sudo apt install -y furiosa-libnux\n          doc-builder build optimum.furiosa docs/source/ --build_dir furiosa-doc-build --version pr_$PR_NUMBER --version_tag_suffix \"\" --html --clean\n          mv furiosa-doc-build ../optimum\n          cd ..\n\n      - name: Make TPU documentation\n        run: |\n          sudo docker system prune -a -f\n          cd optimum-tpu\n          pip install -U pip\n          pip install . -f https://storage.googleapis.com/libtpu-releases/index.html\n          doc-builder build optimum.tpu docs/source/ --build_dir tpu-doc-build --version pr_$PR_NUMBER --version_tag_suffix \"\" --html --clean\n          mv tpu-doc-build ../optimum\n          cd ..\n\n      - name: Make AMD documentation\n        run: |\n          sudo docker system prune -a -f\n          cd optimum-amd\n          make doc BUILD_DIR=amd-doc-build VERSION=${{ env.VERSION }}\n          sudo mv amd-doc-build ../optimum\n          cd ..\n\n      - name: Make Optimum documentation\n        run: |\n          sudo docker system prune -a -f\n          cd optimum\n          mkdir -p optimum-doc-build/optimum && cd optimum-doc-build/optimum\n          wget https://huggingface.co/datasets/hf-doc-build/doc-build/raw/main/optimum/_versions.yml\n          cd ../..\n          make doc BUILD_DIR=optimum-doc-build VERSION=${{ env.VERSION }} COMMIT_SHA_OPTIMUM=${{ env.VERSION }}\n          cd ..\n\n      - name: Combine subpackage documentation\n        run: |\n          cd optimum\n          sudo python docs/combine_docs.py --subpackages nvidia amd intel neuron tpu habana furiosa --version ${{ env.VERSION }}\n          cd ..\n\n      - name: Push to repositories\n        run: |\n          cd optimum/optimum-doc-build\n          sudo chmod -R ugo+rwx optimum\n          doc-builder push optimum --doc_build_repo_id \"hf-doc-build/doc-build\" --token \"${{ secrets.HF_DOC_BUILD_PUSH }}\" --commit_msg \"Updated with commit ${{ github.sha }} See: https://github.com/huggingface/optimum/commit/${{ github.sha }}\" --n_retries 5 --upload_version_yml\n        shell: bash\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:04.911725", "created_at": "2022-03-17T11:34:54+01:00", "updated_at": "2022-08-15T16:03:20+02:00", "name": "Build PR documentation", "path": ".github/workflows/build_pr_documentation.yml", "contents": "name: Build PR documentation\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \"optimum/**.py\"\n      - \"docs/**.mdx\"\n      - \"docs/**.yml\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build_documentation:\n    runs-on: ubuntu-latest\n    env:\n      COMMIT_SHA: ${{ github.event.pull_request.head.sha }}\n      PR_NUMBER: ${{ github.event.number }}\n      EVENT_CONTEXT: ${{ toJSON(github.event) }}\n      PR_CLONE_URL: ${{ github.event.pull_request.head.repo.clone_url }}\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/doc-builder'\n          path: doc-builder\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/optimum'\n          path: optimum\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/optimum-habana'\n          path: optimum-habana\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/optimum-intel'\n          path: optimum-intel\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/optimum-furiosa'\n          path: optimum-furiosa\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/optimum-amd'\n          path: optimum-amd\n\n      - uses: actions/checkout@v2\n        with:\n          repository: 'huggingface/optimum-tpu'\n          path: optimum-tpu\n\n      - name: Setup environment\n        run: |\n          pip uninstall -y doc-builder\n          cd doc-builder\n          git pull origin main\n          pip install .\n          pip install black\n          cd ..\n\n      - name: Make Habana documentation\n        run: |\n          sudo docker system prune -a -f\n          cd optimum-habana\n          make doc BUILD_DIR=habana-doc-build VERSION=pr_$PR_NUMBER\n          sudo mv habana-doc-build ../optimum\n          cd ..\n\n      - name: Make Intel documentation\n        run: |\n          sudo docker system prune -a -f\n          cd optimum-intel\n          make doc BUILD_DIR=intel-doc-build VERSION=pr_$PR_NUMBER\n          sudo mv intel-doc-build ../optimum\n          cd ..\n\n      # TODO: enable Furiosa doc build in PRs once archive.furiosa.ai is public\n      - name: Make Furiosa documentation\n        run: |\n          echo \"For PRs we don't build Furiosa doc\"\n\n      - name: Make AMD documentation\n        run: |\n          sudo docker system prune -a -f\n          cd optimum-amd\n          make doc BUILD_DIR=amd-doc-build VERSION=pr_$PR_NUMBER\n          sudo mv amd-doc-build ../optimum\n          cd ..\n\n      - name: Make TPU documentation\n        run: |\n          sudo docker system prune -a -f\n          cd optimum-tpu\n          pip install -U pip\n          pip install . -f https://storage.googleapis.com/libtpu-releases/index.html\n          doc-builder build optimum.tpu docs/source/ --build_dir tpu-doc-build --version pr_$PR_NUMBER --version_tag_suffix \"\" --html --clean\n          mv tpu-doc-build ../optimum\n          cd ..\n\n      - name: Make Optimum documentation\n        run: |\n          sudo docker system prune -a -f\n          cd optimum\n          make doc BUILD_DIR=optimum-doc-build VERSION=pr_$PR_NUMBER COMMIT_SHA_OPTIMUM=$COMMIT_SHA CLONE_URL=$PR_CLONE_URL\n          cd ..\n\n      - name: Combine subpackage documentation\n        run: |\n          cd optimum\n          sudo python docs/combine_docs.py --subpackages nvidia amd intel neuron tpu habana furiosa --version pr_$PR_NUMBER\n          sudo mv optimum-doc-build ../\n          cd ..\n\n      - name: Save commit_sha & pr_number\n        run: |\n          sudo chmod -R ugo+rwx optimum-doc-build\n          cd optimum-doc-build\n          echo ${{ env.COMMIT_SHA }} > ./commit_sha\n          echo ${{ env.PR_NUMBER }} > ./pr_number\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: doc-build-artifact\n          path: optimum-doc-build/\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:05.962339", "created_at": "2021-11-17T15:54:09+01:00", "updated_at": "2024-06-28T10:36:09+02:00", "name": "Code Quality", "path": ".github/workflows/check_code_quality.yml", "contents": "name: check_code_quality\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - \"optimum/**.py\"\n      - \"tests/**.py\"\n      - \"examples/**.py\"\n\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \"optimum/**.py\"\n      - \"tests/**.py\"\n      - \"examples/**.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Create and start a virtual environment\n      run: |\n        python -m venv venv\n        source venv/bin/activate\n    - name: Install dependencies\n      run: |\n        source venv/bin/activate\n        pip install --upgrade pip\n        pip install .[quality]\n    - name: Check style with black\n      run: |\n        source venv/bin/activate\n        black --check .\n    - name: Check style with ruff\n      run: |\n        source venv/bin/activate\n        ruff .\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:07.074762", "created_at": "2023-01-19T16:13:16+01:00", "updated_at": "2023-01-19T16:13:16+01:00", "name": "dev_Benchmark suite / Python - Test", "path": ".github/workflows/dev_test_benckmark.yml", "contents": "# This yml file is autogenerated. Do not edit.\n\nname: dev_Benchmark suite / Python - Test\non:\n  schedule:\n  - cron: 0 7 * * *\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n        - 3.8\n        - 3.9\n        os:\n        - ubuntu-20.04\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install wheel\n        pip install .[tests,onnxruntime,benchmark]\n        pip install -U git+https://github.com/huggingface/evaluate\n        pip install -U git+https://github.com/huggingface/diffusers\n        pip install -U git+https://github.com/huggingface/transformers\n    - name: Test with unittest\n      run: |\n        python -m unittest discover --start-directory tests/benchmark --pattern\n        test_*.py", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:08.202770", "created_at": "2023-01-19T16:13:16+01:00", "updated_at": "2023-01-19T16:13:16+01:00", "name": "dev_BetterTransformer / Python - Test", "path": ".github/workflows/dev_test_bettertransformer.yml", "contents": "# This yml file is autogenerated. Do not edit.\n\nname: dev_BetterTransformer / Python - Test\non:\n  schedule:\n  - cron: 0 7 * * *\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n        - 3.8\n        os:\n        - ubuntu-20.04\n        - macos-13\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests]\n        pip3 install --upgrade torch torchvision torchaudio\n        pip install accelerate\n        pip install -U git+https://github.com/huggingface/evaluate\n        pip install -U git+https://github.com/huggingface/diffusers\n        pip install -U git+https://github.com/huggingface/transformers\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        python -m unittest discover -s bettertransformer -p test_*.py\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:09.377116", "created_at": "2023-01-19T16:13:16+01:00", "updated_at": "2023-01-19T16:13:16+01:00", "name": "dev_Dummy inputs / Python - Test", "path": ".github/workflows/dev_test_dummy_inputs.yml", "contents": "# This yml file is autogenerated. Do not edit.\n\nname: dev_Dummy inputs / Python - Test\non:\n  schedule:\n  - cron: 0 7 * * *\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n        - 3.8\n        - 3.9\n        os:\n        - ubuntu-20.04\n        - macos-13\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[tests]\n        pip install -U git+https://github.com/huggingface/evaluate\n        pip install -U git+https://github.com/huggingface/diffusers\n        pip install -U git+https://github.com/huggingface/transformers\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        python -m unittest discover -s utils -p test_*.py\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:10.454538", "created_at": "2023-01-19T16:13:16+01:00", "updated_at": "2023-01-19T16:13:16+01:00", "name": "dev_Exporters / Python - Test", "path": ".github/workflows/dev_test_exporters.yml", "contents": "# This yml file is autogenerated. Do not edit.\n\nname: dev_Exporters / Python - Test\non:\n  schedule:\n  - cron: 0 7 * * *\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n        - 3.8\n        - 3.9\n        os:\n        - ubuntu-20.04\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,exporters-tf]\n        pip install -U git+https://github.com/huggingface/evaluate\n        pip install -U git+https://github.com/huggingface/diffusers\n        pip install -U git+https://github.com/huggingface/transformers\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters -s --durations=0", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:11.501917", "created_at": "2023-01-19T16:13:16+01:00", "updated_at": "2023-01-19T16:13:16+01:00", "name": "dev_FX / Python - Test", "path": ".github/workflows/dev_test_fx.yml", "contents": "# This yml file is autogenerated. Do not edit.\n\nname: dev_FX / Python - Test\non:\n  schedule:\n  - cron: 0 7 * * *\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n        - 3.8\n        - 3.9\n        os:\n        - ubuntu-20.04\n        - macos-13\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests]\n        pip install git+https://github.com/huggingface/transformers.git\n        pip install -U git+https://github.com/huggingface/evaluate\n        pip install -U git+https://github.com/huggingface/diffusers\n        pip install -U git+https://github.com/huggingface/transformers\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        python -m pytest fx/optimization/test_transformations.py --exitfirst\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:12.706716", "created_at": "2023-01-19T16:13:16+01:00", "updated_at": "2023-01-19T16:13:16+01:00", "name": "dev_ONNX / Python - Test", "path": ".github/workflows/dev_test_onnx.yml", "contents": "# This yml file is autogenerated. Do not edit.\n\nname: dev_ONNX / Python - Test\non:\n  schedule:\n  - cron: 0 7 * * *\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n        - 3.8\n        - 3.9\n        os:\n        - ubuntu-20.04\n        - macos-13\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,onnxruntime] tensorflow tf2onnx\n        pip install -U git+https://github.com/huggingface/evaluate\n        pip install -U git+https://github.com/huggingface/diffusers\n        pip install -U git+https://github.com/huggingface/transformers\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        python -m unittest discover -s onnx -p test_*.py\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:13.720235", "created_at": "2023-01-19T16:13:17+01:00", "updated_at": "2023-01-19T16:13:17+01:00", "name": "dev_ONNX Runtime / Python - Test", "path": ".github/workflows/dev_test_onnxruntime.yml", "contents": "# This yml file is autogenerated. Do not edit.\n\nname: dev_ONNX Runtime / Python - Test\non:\n  schedule:\n  - cron: 0 7 * * *\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n        - 3.8\n        - 3.9\n        os:\n        - ubuntu-20.04\n        - windows-2019\n        - macos-13\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,onnxruntime]\n        pip install -U git+https://github.com/huggingface/evaluate\n        pip install -U git+https://github.com/huggingface/diffusers\n        pip install -U git+https://github.com/huggingface/transformers\n    - name: Test with pytest\n      working-directory: tests\n      run: |\n        python -m pytest -n auto -m \"not run_in_series\" onnxruntime\n        python -m pytest -m \"run_in_series\" onnxruntime\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:14.857497", "created_at": "2023-01-19T16:13:17+01:00", "updated_at": "2023-01-19T16:13:17+01:00", "name": "dev_Optimum common / Python - Test", "path": ".github/workflows/dev_test_optimum_common.yml", "contents": "# This yml file is autogenerated. Do not edit.\n\nname: dev_Optimum common / Python - Test\non:\n  schedule:\n  - cron: 0 7 * * *\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n        - 3.7\n        - 3.8\n        - 3.9\n        os:\n        - ubuntu-20.04\n        - windows-2019\n        - macos-13\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[tests]\n        ls -l optimum/\n        pip install -U git+https://github.com/huggingface/evaluate\n        pip install -U git+https://github.com/huggingface/diffusers\n        pip install -U git+https://github.com/huggingface/transformers\n    - name: Test with unittest\n      shell: bash\n      run: |\n        # Setting HUGGINGFACE_CO_STAGING to true for only one job of the matrix\n        as the staging tests cannot run in parallel.\n        export HUGGINGFACE_CO_STAGING=${{ matrix.python-version == 3.8 && matrix.os\n        == ubuntu-20.04 }}\n        python -m unittest discover -s tests -p test_*.py\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:15.860232", "created_at": "2023-01-27T15:18:37+01:00", "updated_at": "2023-02-07T22:11:54+01:00", "name": "Optimum common / Doctest", "path": ".github/workflows/doctests.yml", "contents": "name: Optimum common / Doctest\n# Note: this test uses transformers stable and optimum dev\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 1 * * 0 # every sunday at 1am\n\njobs:\n  do-the-job:\n    name: Start self-hosted EC2 runner\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    env:\n      AWS_REGION: us-east-1\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Build image\n        run: |\n          docker build -f tests/onnxruntime/Dockerfile_onnxruntime_gpu -t onnxruntime-gpu .\n      - name: Test with unittest within docker container\n        run: |\n          docker run --rm --gpus all --workdir=/workspace/optimum/ onnxruntime-gpu:latest /bin/bash tests/run_doctest.sh\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:16.911155", "created_at": "2023-10-19T10:26:10+02:00", "updated_at": "2024-01-18T02:51:34+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:17.908872", "created_at": "2022-06-22T16:20:48+02:00", "updated_at": "2022-06-29T11:06:07+02:00", "name": "Benchmark suite / Python - Test", "path": ".github/workflows/test_benckmark.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\nname: Benchmark suite / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install wheel\n        pip install .[tests,onnxruntime,benchmark]\n    - name: Test with unittest\n      run: |\n        python -m unittest discover --start-directory tests/benchmark --pattern 'test_*.py'\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:18.936199", "created_at": "2022-11-08T12:29:11+01:00", "updated_at": "2022-11-14T12:38:54+01:00", "name": "BetterTransformer / Python - Test", "path": ".github/workflows/test_bettertransformer.yml", "contents": "name: BetterTransformer / Python - Test\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04, macos-13]\n        exclude: [{ python-version: 3.8, os: macos-13 }]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install .[tests]\n          pip install --no-cache-dir --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu\n          pip install accelerate\n\n      - name: Test with stable pytorch\n        working-directory: tests\n        run: |\n          pytest bettertransformer -s -vvvvv\n\n      - name: Install dependencies 2\n        run: |\n          pip uninstall -y torch torchvision torchaudio\n          pip install --no-cache-dir --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu\n\n      - name: Test with nightly pytorch\n        working-directory: tests\n        run: |\n          pytest bettertransformer -s -vvvvv\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:19.964283", "created_at": "2023-02-07T16:22:46+01:00", "updated_at": "2023-02-07T16:22:46+01:00", "name": "BetterTransformer GPU / Python - Test", "path": ".github/workflows/test_bettertransformer_gpu.yml", "contents": "name: BetterTransformer GPU / Python - Test\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 1 */3 * * # at 1am every 3 days\n\njobs:\n  do-the-job:\n    name: Start self-hosted EC2 runner\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    env:\n      AWS_REGION: us-east-1\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Build image\n        run: |\n          docker build -f tests/bettertransformer/Dockerfile_bettertransformer_gpu -t bettertransformer-gpu .\n      - name: Test with unittest within docker container\n        run: |\n          docker run --rm --gpus all --workdir=/workspace/optimum/tests bettertransformer-gpu:latest\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:21.015350", "created_at": "2022-12-16T10:32:05+01:00", "updated_at": "2022-12-19T15:45:45+01:00", "name": "Optimum CLI / Python - Test", "path": ".github/workflows/test_cli.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\nname: Optimum CLI / Python - Test\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04, macos-13]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu\n          pip install .[tests,exporters,exporters-tf]\n\n      - name: Test with pytest\n        run: |\n          pytest tests/cli -s -vvvv --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:22.090714", "created_at": "2023-02-08T11:29:58+01:00", "updated_at": "2023-02-08T18:21:43+01:00", "name": "Exporters ONNX / Python - Test", "path": ".github/workflows/test_export_onnx.yml", "contents": "name: Exporters ONNX / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies for pytorch export\n      run: |\n        pip install .[tests,exporters]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters/onnx/test_onnx_*.py -s -n auto -m \"not tensorflow_test and not timm_test\" --durations=0\n    - name: Install dependencies for tensorflow export\n      run: |\n        pip install .[tests,exporters-tf]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters/onnx/test_onnx_*.py -n auto -m \"tensorflow_test\" -s --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:23.192435", "created_at": "2023-02-08T11:29:58+01:00", "updated_at": "2023-02-08T18:21:43+01:00", "name": "Exporters ONNX CLI / Python - Test", "path": ".github/workflows/test_export_onnx_cli.yml", "contents": "name: Exporters ONNX CLI / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies for pytorch export\n      run: |\n        pip install .[tests,exporters]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters/onnx/test_exporters_onnx_cli.py -n auto -m \"not tensorflow_test and not timm_test\" -s --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:24.195433", "created_at": "2023-09-07T10:45:35+02:00", "updated_at": "2023-12-13T18:30:45+01:00", "name": "Exporters ONNX CLI Timm (scheduled) / Python - Test", "path": ".github/workflows/test_export_onnx_cli_timm.yml", "contents": "name: Exporters ONNX CLI Timm (scheduled) / Python - Test\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 7 * * * # every day at 7am\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies for pytorch export\n      run: |\n        pip install .[tests,exporters]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        RUN_SLOW=1 pytest exporters/onnx/test_exporters_onnx_cli.py -n auto -k \"timm\" -s --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:25.403355", "created_at": "2023-09-07T10:45:35+02:00", "updated_at": "2023-09-07T10:45:35+02:00", "name": "Exporters ONNX Timm / Python - Test", "path": ".github/workflows/test_export_onnx_timm.yml", "contents": "name: Exporters ONNX Timm / Python - Test\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 7 * * * # every day at 7am\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies for pytorch export\n      run: |\n        pip install .[tests,exporters]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        RUN_SLOW=1 pytest exporters/onnx/ -s -n auto -k \"timm\" --durations=0\n\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:26.467106", "created_at": "2023-02-08T11:29:58+01:00", "updated_at": "2023-02-08T18:21:43+01:00", "name": "Exporters TFLite / Python - Test", "path": ".github/workflows/test_export_tflite.yml", "contents": "name: Exporters TFLite / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \"optimum/exporters/tasks.py\"\n      - \"optimum/exporters/tflite/**.py\"\n      - \"tests/exporters/**.py\"\n      - \"setup.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,exporters-tf]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters/tflite/test_tflite_*.py -s --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:27.547069", "created_at": "2023-02-08T11:29:58+01:00", "updated_at": "2023-02-08T18:21:43+01:00", "name": "Exporters TFLite CLI / Python - Test", "path": ".github/workflows/test_export_tflite_cli.yml", "contents": "name: Exporters TFLite CLI / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \"optimum/exporters/tasks.py\"\n      - \"optimum/exporters/tflite/**.py\"\n      - \"tests/exporters/**.py\"\n      - \"setup.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,exporters-tf]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters/tflite/test_exporters_tflite_cli.py -m \"not quantization\" -s --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:28.690247", "created_at": "2023-03-14T16:49:32+01:00", "updated_at": "2023-03-20T18:44:44+01:00", "name": "Exporters TFLite CLI Dynamic Quantization INT8 / Python - Test", "path": ".github/workflows/test_export_tflite_cli_dynamic_quantization_int8.yml", "contents": "name: Exporters TFLite CLI Dynamic Quantization INT8 / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \"optimum/exporters/tasks.py\"\n      - \"optimum/exporters/tflite/**.py\"\n      - \"tests/exporters/**.py\"\n      - \"setup.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,exporters-tf]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters/tflite/test_exporters_tflite_cli.py -k \"int8_dynamic_quantization\" -s --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:29.807484", "created_at": "2024-06-07T17:17:24+02:00", "updated_at": "2024-06-07T17:17:24+02:00", "name": "Exporters TFLite CLI Quantization / Python - Test", "path": ".github/workflows/test_export_tflite_cli_quantization.yml", "contents": null, "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:30.936349", "created_at": "2023-03-14T16:49:32+01:00", "updated_at": "2023-03-20T18:44:44+01:00", "name": "Exporters TFLite CLI Quantization FP16 / Python - Test", "path": ".github/workflows/test_export_tflite_cli_quantization_fp16.yml", "contents": "name: Exporters TFLite CLI Quantization FP16 / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \"optimum/exporters/tasks.py\"\n      - \"optimum/exporters/tflite/**.py\"\n      - \"tests/exporters/**.py\"\n      - \"setup.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,exporters-tf]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters/tflite/test_exporters_tflite_cli.py -k \"float16_quantization\" -s --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:32.168419", "created_at": "2023-03-14T16:49:32+01:00", "updated_at": "2023-03-20T18:44:44+01:00", "name": "Exporters TFLite CLI Quantization Full INT8 Default Dataset / Python - Test", "path": ".github/workflows/test_export_tflite_cli_quantization_full_int8.yml", "contents": "name: Exporters TFLite CLI Quantization Full INT8 Default Dataset / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \"optimum/exporters/tasks.py\"\n      - \"optimum/exporters/tflite/**.py\"\n      - \"tests/exporters/**.py\"\n      - \"setup.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,exporters-tf]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters/tflite/test_exporters_tflite_cli.py -k \"full_int8_quantization_with_default_dataset\" -s --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:33.801837", "created_at": "2023-03-14T16:49:32+01:00", "updated_at": "2023-03-20T18:44:44+01:00", "name": "Exporters TFLite CLI Quantization INT8 Custom Dataset / Python - Test", "path": ".github/workflows/test_export_tflite_cli_quantization_int8_custom_dataset.yml", "contents": "name: Exporters TFLite CLI Quantization INT8 Custom Dataset / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \"optimum/exporters/tasks.py\"\n      - \"optimum/exporters/tflite/**.py\"\n      - \"tests/exporters/**.py\"\n      - \"setup.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,exporters-tf]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters/tflite/test_exporters_tflite_cli.py -k \"tflite_int8_quantization_with_custom_dataset\" -s --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:35.106005", "created_at": "2023-03-14T16:49:32+01:00", "updated_at": "2023-03-20T18:44:44+01:00", "name": "Exporters TFLite CLI Quantization INT8 Default Dataset / Python - Test", "path": ".github/workflows/test_export_tflite_cli_quantization_int8_default_dataset.yml", "contents": "name: Exporters TFLite CLI Quantization INT8 Default Dataset / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \"optimum/exporters/tasks.py\"\n      - \"optimum/exporters/tflite/**.py\"\n      - \"tests/exporters/**.py\"\n      - \"setup.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,exporters-tf]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters/tflite/test_exporters_tflite_cli.py -k \"tflite_int8_quantization_with_default_dataset\" -s --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:36.113354", "created_at": "2023-03-14T16:49:32+01:00", "updated_at": "2023-03-20T18:44:44+01:00", "name": "Exporters TFLite CLI Quantization INT8x16 / Python - Test", "path": ".github/workflows/test_export_tflite_cli_quantization_int8x16.yml", "contents": "name: Exporters TFLite CLI Quantization INT8x16 / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \"optimum/exporters/tasks.py\"\n      - \"optimum/exporters/tflite/**.py\"\n      - \"tests/exporters/**.py\"\n      - \"setup.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,exporters-tf]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters/tflite/test_exporters_tflite_cli.py -k \"tflite_int8x16_quantization_with_default_dataset\" -s --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:37.692049", "created_at": "2023-02-08T11:29:58+01:00", "updated_at": "2023-02-08T18:21:43+01:00", "name": "Exporters Common / Python - Test", "path": ".github/workflows/test_exporters_common.yml", "contents": "name: Exporters Common / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,exporters-tf]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        pytest exporters/common/ -s --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:38.803317", "created_at": "2023-02-23T10:49:46+01:00", "updated_at": "2023-02-25T00:58:56+01:00", "name": "Exporters / Test GPU", "path": ".github/workflows/test_exporters_gpu.yml", "contents": "name: Exporters / Test GPU\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 1 */3 * * # at 1am every 3 days\n  pull_request:\n    types: [labeled]\n  # uncomment to enable on PR merge on main branch:\n  #push:\n  #  branches:\n  #    - main\n\njobs:\n  do-the-job:\n    if: ${{ (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule') || contains( github.event.pull_request.labels.*.name, 'gpu-test') }}\n    name: Start self-hosted EC2 runner\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    env:\n      AWS_REGION: us-east-1\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Build image\n        run: |\n          docker build -f tests/exporters/Dockerfile_exporters_gpu -t exporters-gpu .\n      - name: Test with unittest within docker container\n        run: |\n          docker run --rm --gpus all -v /mnt/cache/.cache/huggingface:/root/.cache/huggingface --workdir=/workspace/optimum/tests exporters-gpu:latest\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:39.860475", "created_at": "2023-02-06T16:48:33+01:00", "updated_at": "2023-02-06T16:48:33+01:00", "name": "Exporters slow / Python - Test", "path": ".github/workflows/test_exporters_slow.yml", "contents": "name: Exporters slow / Python - Test\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 7 * * * # every day at 7am\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies for pytorch export\n      run: |\n        pip install .[tests,exporters]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        RUN_SLOW=1 pytest exporters -s -m \"not tensorflow_test and run_slow\" --durations=0\n    - name: Install dependencies for tensorflow export\n      run: |\n        pip install .[tests,exporters-tf]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        RUN_SLOW=1 pytest exporters -s -m \"tensorflow_test and run_slow\" --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:40.909036", "created_at": "2022-06-09T14:52:19+02:00", "updated_at": "2022-06-15T15:22:38+02:00", "name": "FX / Python - Test", "path": ".github/workflows/test_fx.yml", "contents": "name: FX / Python - Test\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04, macos-13]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install .[tests]\n\n      - name: Test with pytest\n        working-directory: tests\n        run: |\n          python -m pytest -s -v -x fx/optimization\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:41.932170", "created_at": "2024-07-13T00:56:14+02:00", "updated_at": "2024-07-13T00:56:14+02:00", "name": "Automatic Model Parallelism Test on GPUs", "path": ".github/workflows/test_fx_automatic_parallel.yml", "contents": null, "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:43.182470", "created_at": "2023-07-28T21:32:41+02:00", "updated_at": "2024-06-28T10:36:09+02:00", "name": "GPTQ / Python - Test", "path": ".github/workflows/test_gptq.yml", "contents": "name: GPTQ Quantization / Test GPU\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 1 */3 * * # at 1am every 3 days\n  pull_request:\n    types: [opened, synchronize, reopened, labeled]\n  # uncomment to enable on PR merge on main branch:\n  #push:\n  #  branches:\n  #    - main\n\njobs:\n  do-the-job:\n    if: ${{ (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule') || contains( github.event.pull_request.labels.*.name, 'gpu-test') }}\n    name: Start self-hosted EC2 runner\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    env:\n      AWS_REGION: us-east-1\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Build image\n        run: |\n          docker build -f tests/gptq/Dockerfile_quantization_gpu -t gptq-gpu .\n      - name: Test with unittest within docker container\n        run: |\n          docker run --rm --gpus all -v $(pwd)/hf_cache:/root/.cache/huggingface --workdir=/workspace/optimum/tests gptq-gpu:latest\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:44.210434", "created_at": "2024-04-10T12:26:08+02:00", "updated_at": "2024-04-10T15:49:29+02:00", "name": "Offline usage / Python - Test", "path": ".github/workflows/test_offline.yml", "contents": "name: Offline usage / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies for pytorch export\n      run: |\n        pip install .[tests,exporters,onnxruntime]\n    - name: Test with unittest\n      run: |\n        HF_HOME=/tmp/ huggingface-cli download hf-internal-testing/tiny-random-gpt2\n\n        HF_HOME=/tmp/ HF_HUB_OFFLINE=1 optimum-cli export onnx --model hf-internal-testing/tiny-random-gpt2 gpt2_onnx --task text-generation\n\n        huggingface-cli download hf-internal-testing/tiny-random-gpt2\n\n        HF_HUB_OFFLINE=1 optimum-cli export onnx --model hf-internal-testing/tiny-random-gpt2 gpt2_onnx --task text-generation\n\n        pytest tests/onnxruntime/test_modeling.py -k \"test_load_model_from_hub and not from_hub_onnx\" -s -vvvvv\n\n        HF_HUB_OFFLINE=1 pytest tests/onnxruntime/test_modeling.py -k \"test_load_model_from_hub and not from_hub_onnx\" -s -vvvvv", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:45.259066", "created_at": "2022-04-28T11:37:25+02:00", "updated_at": "2022-04-28T17:32:13+02:00", "name": "ONNX / Python - Test", "path": ".github/workflows/test_onnx.yml", "contents": "name: ONNX / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04, macos-13]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install .[tests,onnxruntime,exporters-tf]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        python -m unittest discover -s onnx -p 'test_*.py'\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:46.324789", "created_at": "2021-12-22T17:58:04+01:00", "updated_at": "2022-03-01T17:38:44+01:00", "name": "ONNX Runtime / Python - Test", "path": ".github/workflows/test_onnxruntime.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\nname: ONNX Runtime / Python - Test\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04, windows-2019, macos-13]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Free Disk Space (Ubuntu)\n        if: matrix.os == 'ubuntu-20.04'\n        uses: jlumbroso/free-disk-space@main\n        with:\n          tool-cache: false\n          swap-storage: false\n          large-packages: false\n\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu\n          pip install .[tests,onnxruntime]\n\n      - name: Test with pytest (in series)\n        working-directory: tests\n        run: |\n          pytest onnxruntime -m \"run_in_series\" --durations=0 -vvvv -s\n\n      - name: Test with pytest (in parallel)\n        env:\n          FXMARTYCLONE_READ_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}\n        working-directory: tests\n        run: |\n          pytest onnxruntime -m \"not run_in_series\" --durations=0 -vvvv -s -n auto\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:47.367907", "created_at": "2022-06-14T11:35:35+02:00", "updated_at": "2023-02-15T19:58:23+01:00", "name": "ONNX Runtime / Test GPU", "path": ".github/workflows/test_onnxruntime_gpu.yml", "contents": "name: ONNX Runtime / Test GPU\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 1 */3 * * # at 1am every 3 days\n  pull_request:\n    types: [opened, synchronize, reopened, labeled]\n  # uncomment to enable on PR merge on main branch:\n  #push:\n  #  branches:\n  #    - main\n\njobs:\n  do-the-job:\n    if: ${{ (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule') || contains( github.event.pull_request.labels.*.name, 'gpu-test') }}\n    name: Start self-hosted EC2 runner\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    env:\n      AWS_REGION: us-east-1\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Build image\n        run: |\n          docker build -f tests/onnxruntime/docker/Dockerfile_onnxruntime_gpu -t onnxruntime-gpu .\n      - name: Test with unittest within docker container\n        run: |\n          docker run --rm --gpus all -v /mnt/cache/.cache/huggingface:/root/.cache/huggingface --workdir=/workspace/optimum/tests onnxruntime-gpu:latest\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:48.383400", "created_at": "2023-10-16T11:20:42+02:00", "updated_at": "2023-10-16T11:20:42+02:00", "name": "ONNX Runtime slow / Python - Test", "path": ".github/workflows/test_onnxruntime_slow.yml", "contents": "name: ONNX Runtime slow / Python - Test\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 7 * * * # every day at 7am\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies for export\n      run: |\n        pip install .[tests,onnxruntime]\n    - name: Test with unittest\n      working-directory: tests\n      run: |\n        RUN_SLOW=1 pytest onnxruntime -s -m \"run_slow\" --durations=0\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:49.516718", "created_at": "2022-02-21T15:32:52+01:00", "updated_at": "2023-10-17T11:55:23+02:00", "name": "ONNX Runtime / Test ORTTrainer", "path": ".github/workflows/test_onnxruntime_train.yml", "contents": "name: ONNX Runtime / Test ORTTrainer\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 1 */3 * * # at 1am every 3 days\n  pull_request:\n    types: [opened, synchronize, reopened, labeled]\n\njobs:\n  do-the-job:\n    if: ${{ (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule') ||  contains( github.event.pull_request.labels.*.name, 'training')}}\n    name: Run ORTTrainer test\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    env:\n      AWS_REGION: us-east-1\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Build image\n        run: |\n          docker build -f tests/onnxruntime/docker/Dockerfile_onnxruntime_trainer -t onnxruntime/train .\n      - name: Run test within docker container\n        run: |\n          docker run --rm --gpus all -v /mnt/cache/.cache/huggingface:/root/.cache/huggingface --workdir=/workspace/optimum/tests onnxruntime/train:latest", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:50.562520", "created_at": "2021-12-22T17:58:04+01:00", "updated_at": "2022-03-01T17:38:43+01:00", "name": "Optimum common / Python - Test", "path": ".github/workflows/test_optimum_common.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\nname: Optimum common / Python - Test\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-20.04, windows-2019, macos-13]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[tests]\n        ls -l optimum/\n    - name: Test with unittest\n      shell: bash\n      run: |\n        # Setting HUGGINGFACE_CO_STAGING to true for only one job of the matrix as the staging tests cannot run in parallel.\n        export HUGGINGFACE_CO_STAGING=${{ matrix.python-version == '3.8' && matrix.os == 'ubuntu-20.04' }}\n        pytest tests/test_*.py\n        \n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:51.608137", "created_at": "2024-02-13T10:16:26+01:00", "updated_at": "2024-02-13T10:16:26+01:00", "name": "TasksManager / Python - Test", "path": ".github/workflows/test_tasks_manager.yml", "contents": null, "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:52.848776", "created_at": "2024-05-22T14:02:55+02:00", "updated_at": "2024-05-27T16:41:50+02:00", "name": "Utils / Python - Test", "path": ".github/workflows/test_utils.yml", "contents": "name: Utils / Python - Test\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, macos-13]\n        python-version: [3.8, 3.9]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu\n          pip install .[tests]\n\n      - name: Test with pytest\n        working-directory: tests\n        run: |\n          python -m pytest -s -vvvv utils\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:53.984683", "created_at": "2024-06-07T17:59:11+02:00", "updated_at": "2024-06-10T10:07:17+02:00", "name": "Secret Leaks", "path": ".github/workflows/trufflehog.yml", "contents": "on:\n  push:\n\nname: Secret Leaks\n\njobs:\n  trufflehog:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Secret Scanning\n      uses: trufflesecurity/trufflehog@main\n\n\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:55.101000", "created_at": "2023-06-13T17:17:44+02:00", "updated_at": "2023-12-02T13:24:51+01:00", "name": "Upload PR Documentation", "path": ".github/workflows/upload_pr_documentation.yml", "contents": "name: Upload PR Documentation\n\non:\n  workflow_run:\n    workflows: [\"Build PR documentation\"]\n    types:\n      - completed\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main\n    with:\n      package_name: optimum\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n      comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}\n", "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:56.114369", "created_at": "2023-02-06T18:43:29+01:00", "updated_at": "2023-02-06T18:43:29+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "huggingface/optimum"}
{"mined_at": "2024-07-15T16:35:58.208914", "created_at": "2021-10-27T16:18:16+02:00", "updated_at": "2023-09-16T18:33:15+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: build\n        uses: ./.github/actions/build\n\n      - name: restore mypy cache\n        uses: actions/cache@v4\n        with:\n          path: .mypy_cache\n          key: mypy-cache-${{ github.ref_name }}\n          restore-keys: mypy-cache-master\n\n      - name: lint\n        run: make lint\n\n  test:\n    needs: lint\n    runs-on: ${{ contains(github.triggering_actor, '[bot]') && 'ubuntu-latest' || 'ubuntu-8x' }}\n    services:\n      postgres:\n        image: postgres:13.9-alpine\n        env:\n          POSTGRES_PASSWORD: secret\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n      redis:\n        image: redis:6.2.10-alpine\n        ports:\n          - 6379:6379\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: build\n        uses: ./.github/actions/build\n\n      - name: install locale stuff\n        uses: awalsh128/cache-apt-pkgs-action@v1\n        with:\n          packages: locales-all gettext\n          version: 1\n\n      - name: get number of CPU cores\n        uses: SimenB/github-actions-cpu-cores@v2.0.0\n        id: cpu-cores\n\n      - name: test\n        env:\n          DATABASE_URL: postgres://postgres:secret@localhost:5432/postgres\n          REDISCLOUD_URL: redis://localhost:6379/5\n        run: make test -e SIMULTANEOUS_TEST_JOBS=${{ steps.cpu-cores.outputs.count }}\n\n      - name: publish test results\n        uses: phoenix-actions/test-reporting@v13\n        if: always()\n        with:\n          name: Test results\n          path: \"junit-*.xml\"\n          reporter: java-junit\n\n      - name: upload code coverage to codeclimate\n        uses: paambaati/codeclimate-action@v3.2.0\n        env:\n          CC_TEST_REPORTER_ID: dd4cac59d43b52ee4c29cfed9d5162098a49ff65d9e72003abc1fa65cd608f1d\n        with:\n          coverageLocations: |\n            ${{github.workspace}}/src/coverage.xml:coverage.py\n\n  build-docker-image:\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: build\n        uses: ./.github/actions/build\n\n      - name: set up qemu\n        uses: docker/setup-qemu-action@v2\n\n      - name: set up buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: generate image identifier\n        id: image\n        uses: ASzc/change-string-case-action@v5\n        with:\n          string: ${{ github.repository_owner }}\n\n      - name: login to ghcr\n        uses: docker/login-action@v2\n        if: ${{ github.ref == 'refs/heads/master' }}\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: build web image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          target: web\n          push: ${{ github.ref == 'refs/heads/master' }}\n          tags: |\n            ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-web:latest\n            ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-web:${{ github.sha }}\n\n          build-args: |\n            PYTHON_VERSION=${{ env.python-version }}\n            RELEASE=${{ github.sha }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: build worker image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          target: worker\n          push: ${{ github.ref == 'refs/heads/master' }}\n          tags: |\n            ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-worker:latest\n            ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-worker:${{ github.sha }}\n          build-args: |\n            PYTHON_VERSION=${{ env.python-version }}\n            RELEASE=${{ github.sha }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: build scheduler image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          target: scheduler\n          push: ${{ github.ref == 'refs/heads/master' }}\n          tags: |\n            ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-scheduler:latest\n            ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-scheduler:${{ github.sha }}\n          build-args: |\n            PYTHON_VERSION=${{ env.python-version }}\n            RELEASE=${{ github.sha }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n  deploy:\n    needs: build-docker-image\n    if: github.ref == 'refs/heads/master' && github.repository_owner == 'tough-dev-school'\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: draft sentry release\n        uses: getsentry/action-release@v1\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n          SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}\n        with:\n          environment: production\n          finalize: false\n\n      - name: read image identifiers\n        id: image\n        uses: ASzc/change-string-case-action@v5\n        with:\n          string: ${{ github.repository_owner }}\n\n      - name: update backend image\n        uses: appleboy/ssh-action@v0.1.7\n        with:\n          host: ${{ secrets.DEPLOY_HOST }}\n          username: circle\n          key: ${{ secrets.DEPLOY_KEY }}\n          script: docker service update app_backend --image ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-web:${{ github.sha }} --with-registry-auth\n\n      - name: update celery worker image\n        uses: appleboy/ssh-action@v0.1.7\n        with:\n          host: ${{ secrets.DEPLOY_HOST }}\n          username: circle\n          key: ${{ secrets.DEPLOY_KEY }}\n          script: docker service update app_worker --image ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-worker:${{ github.sha }} --with-registry-auth\n\n      - name: update amocrm worker image\n        uses: appleboy/ssh-action@v0.1.7\n        with:\n          host: ${{ secrets.DEPLOY_HOST }}\n          username: circle\n          key: ${{ secrets.DEPLOY_KEY }}\n          script: docker service update app_amocrm-worker --image ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-worker:${{ github.sha }} --with-registry-auth\n\n      - name: update notion worker image\n        uses: appleboy/ssh-action@v0.1.7\n        with:\n          host: ${{ secrets.DEPLOY_HOST }}\n          username: circle\n          key: ${{ secrets.DEPLOY_KEY }}\n          script: docker service update app_notion-worker --image ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-worker:${{ github.sha }} --with-registry-auth\n\n      - name: update celery scheduler image\n        uses: appleboy/ssh-action@v0.1.7\n        with:\n          host: ${{ secrets.DEPLOY_HOST }}\n          username: circle\n          key: ${{ secrets.DEPLOY_KEY }}\n          script: |\n            docker service update app_scheduler --detach --image ghcr.io/${{ steps.image.outputs.lowercase }}/monolith-scheduler:${{ github.sha }} --with-registry-auth\n\n      - name: finalize sentry release\n        uses: getsentry/action-release@v1\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n          SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}\n        with:\n          environment: production\n          finalize: true\n", "state": "active", "repository": "tough-dev-school/education-backend"}
{"mined_at": "2024-07-15T16:35:59.308852", "created_at": "2022-09-17T11:43:07+02:00", "updated_at": "2022-09-17T11:43:07+02:00", "name": "Crossplatform nightly", "path": ".github/workflows/crossplatform.yml", "contents": "name: Crossplatform nightly\n\non:\n  schedule:\n    - cron: '30 4 * * *'\n  workflow_dispatch:\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: build\n        uses: ./.github/actions/build\n\n      - name: lint\n        run: make lint\n\n  test:\n    needs: lint\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:13.9-alpine\n        env:\n          POSTGRES_PASSWORD: secret\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n      redis:\n        image: redis:6.2.10-alpine\n        ports:\n          - 6379:6379\n\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: build\n        uses: ./.github/actions/build\n\n      - name: install locale stuff\n        run: |\n          sudo apt-get update\n          sudo apt-get --no-install-recommends install -y locales-all gettext\n\n      - name: test\n        env:\n          DATABASE_URL: postgres://postgres:secret@localhost:5432/postgres\n          REDISCLOUD_URL: redis://localhost:6379/5\n        run: make test\n\n  build-docker-image:\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: build\n        uses: ./.github/actions/build\n\n      - name: set up qemu\n        uses: docker/setup-qemu-action@v2\n\n      - name: set up buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: generate image identifier\n        id: image\n        uses: ASzc/change-string-case-action@v5\n        with:\n          string: ${{ github.repository_owner }}\n\n      - name: login to ghcr\n        uses: docker/login-action@v2\n        if: ${{ github.ref == 'refs/heads/master' }}\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: build dev image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          target: web\n          push: ${{ github.ref == 'refs/heads/master' }}\n          platforms: linux/amd64,linux/arm64\n          tags: |\n            ghcr.io/${{ steps.image.outputs.lowercase }}/dev-backend:latest\n            ghcr.io/${{ steps.image.outputs.lowercase }}/dev-backend:${{ github.sha }}\n\n          build-args: |\n            PYTHON_VERSION=${{ env.python-version }}\n            RELEASE=${{ github.sha }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n", "state": "active", "repository": "tough-dev-school/education-backend"}
{"mined_at": "2024-07-15T16:36:01.306675", "created_at": "2021-08-10T10:33:37+02:00", "updated_at": "2023-07-25T19:22:54+02:00", "name": "Build-EMBArk-DEV", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "e-m-b-a/embark"}
{"mined_at": "2024-07-15T16:36:02.352017", "created_at": "2021-08-22T12:01:46+02:00", "updated_at": "2021-08-22T12:01:46+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches:    \n      - '**'        # matches every branch\n  pull_request:\n    branches:\n      - '**'\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n  schedule:\n    - cron: '37 11 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "e-m-b-a/embark"}
{"mined_at": "2024-07-15T16:36:03.384448", "created_at": "2023-03-21T12:13:26+01:00", "updated_at": "2023-03-21T12:13:26+01:00", "name": "EMBArk default installation on Ubuntu", "path": ".github/workflows/default-install.yml", "contents": "name: EMBArk default installation on Ubuntu\n\non:\n  schedule:\n    - cron: '0 0 * * *' # do it every day\n#  push:\n#    branches:\n#      - '**'        # matches every branch\n#  pull_request:\n#    branches:\n#      - '**'\n#  # Allows you to run this workflow manually from the Actions tab\n#  workflow_dispatch:\n\njobs:\n  default-install:\n    if: github.repository_owner == 'e-m-b-a'\n    runs-on: ubuntu-22.04\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v3\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          tool-cache: true\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: false\n          swap-storage: true\n      - name: EMBArk default install\n        uses: Wandalen/wretry.action@master\n        with:\n          command: sudo ./installer.sh -sd\n          attempt_limit: 3\n      - name: EMBArk quick test\n        run: |\n            sudo apt-get update\n            sudo apt-get install wget\n            wget https://ftp.dlink.de/dir/dir-300/archive/driver_software/DIR-300_fw_revb_214b01_ALL_de_20130206.zip\n      - name: EMBArk default tests\n        run: echo \"TODO\" # ", "state": "active", "repository": "e-m-b-a/embark"}
{"mined_at": "2024-07-15T16:36:04.414386", "created_at": "2021-12-02T16:00:17+01:00", "updated_at": "2021-12-02T16:00:17+01:00", "name": "Django Project checker", "path": ".github/workflows/django-check.yml", "contents": "name: Django Project checker\n\non: [push]\n\njobs:\n  django-integrity:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n    - name: Checkout the Code\n      uses: actions/checkout@v3\n    - name: Get Python 3.10\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n    - name: Case try other python\n      if: ${{ failure() }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.9\"\n    - name: Install pipenv\n      run: python -m pip install --upgrade pipenv\n    - id: cache-pipenv\n      uses: actions/cache@v3\n      with:\n        path: ~/.local/share/virtualenvs/\n        key: ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }}\n    - name: Install Pipfile\n      if: steps.cache-pipenv.outputs.cache-hit != 'true'\n      run: pipenv install --dev\n    - name: Test Pipenv\n      run: pipenv run test -svvv\n    # - name: Test Django \n    #   run: pipenv run ./embark/manage.py check \n", "state": "active", "repository": "e-m-b-a/embark"}
{"mined_at": "2024-07-15T16:36:05.542700", "created_at": "2023-12-11T13:16:28+01:00", "updated_at": "2023-12-11T13:16:28+01:00", "name": "First interaction", "path": ".github/workflows/first-interaction.yml", "contents": "name: First interaction\n\non:\n  - pull_request_target\n  - issues\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n      issues: write\n\n    steps:\n    - uses: actions/first-interaction@v1\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        issue-message: |\n          Thank you for contributing an issue!\n\n          **Welcome to the EMBA firmware analysis community!**\n\n          We are glad you are here and appreciate your contribution. Please keep in mind our contributing guidelines [here](https://github.com/e-m-b-a/embark/blob/master/CONTRIBUTING.md) and [here](https://github.com/e-m-b-a/embark/blob/master/CONTRIBUTORS.md).\n          Also, please check [existing open issues](https://github.com/e-m-b-a/embark/issues) and consider to open a discussion in the dedicated [discussion area](https://github.com/e-m-b-a/embark/discussions).\n          Additionally, we have collected a lot of details around EMBArk, the installation and the usage of EMBArk in our [Wiki](https://github.com/e-m-b-a/embark/wiki).\n\n          If you like _EMBA_ you have the chance to support us by becoming a [Sponsor](https://github.com/sponsors/e-m-b-a) or buying some beer [here](https://www.buymeacoffee.com/securefirmware).\n\n          This is an automatic message. Allow for time for the EMBA community to be able to read the issue and comment on it.\n\n        pr-message: |\n          Thank you for contributing a pull request!\n\n          **Welcome to the EMBA firmware analysis community!**\n\n          We are glad you are here and appreciate your contribution. Please keep in mind our contributing guidelines [here](https://github.com/e-m-b-a/embark/blob/master/CONTRIBUTING.md) and [here](https://github.com/e-m-b-a/embark/blob/master/CONTRIBUTORS.md).\n          Also, please check [existing open issues](https://github.com/e-m-b-a/embark/issues) and consider to open a discussion in the dedicated [discussion area](https://github.com/e-m-b-a/embark/discussions).\n          Additionally, we have collected a lot of details around EMBArk, the installation and the usage of EMBArk in our [Wiki](https://github.com/e-m-b-a/embark/wiki).\n\n          If you like _EMBA_ you have the chance to support us by becoming a [Sponsor](https://github.com/sponsors/e-m-b-a) or buying some beer [here](https://www.buymeacoffee.com/securefirmware).\n          \n          This is an automatic message. Allow for time for the EMBA community to be able to read the pull request and comment on it.", "state": "active", "repository": "e-m-b-a/embark"}
{"mined_at": "2024-07-15T16:36:06.657258", "created_at": "2023-07-25T19:21:09+02:00", "updated_at": "2023-07-25T19:21:09+02:00", "name": "Build-EMBArk-DEV-test", "path": ".github/workflows/install-test-onpush.yml", "contents": "# This workflow will run build EMBArk in dev-mode\n\nname: Build-EMBArk-DEV-test\n\non: [push]\n\njobs:\n  Build-embark:\n    if: github.repository_owner != 'e-m-b-a'\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v3\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          tool-cache: true\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: false\n          swap-storage: true\n      - name: EMBArk dev install\n        uses: Wandalen/wretry.action@master\n        with:\n          command: sudo ./installer.sh -sF\n          attempt_limit: 3\n      # - name: Start Debug-server-conf\n      #   run: |\n      #      sudo ./dev-tools/debug-server-start.sh &\n      #      sleep 5m\n      #      echo \"Let the user test\"\n      #   timeout-minutes: 10\n", "state": "active", "repository": "e-m-b-a/embark"}
{"mined_at": "2024-07-15T16:36:07.779980", "created_at": "2021-08-10T10:33:37+02:00", "updated_at": "2021-11-29T07:05:18+01:00", "name": "Lint and check all", "path": ".github/workflows/lint.yml", "contents": "# This workflow tests the project for proper linting\n\nname: Lint and check all\n\non:\n  push:\n    branches:    \n      - '**'        # matches every branch\n  pull_request:\n    branches:\n      - '**'\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n  \njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout Branch\n      uses: actions/checkout@v3\n    - name: Install dependencies for linting\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y python3-dev npm pycodestyle python3-pylint-django bandit\n        sudo npm install -g jshint\n    - name: Install Python, pipenv and Pipfile packages\n      uses: palewire/install-python-pipenv-pipfile@v2\n      with:\n        python-version: '3.10'\n    - name: Make dirs\n      run: |\n        mkdir ./embark/logs\n        touch ./embark/logs/web.log\n        mkdir ./embark/uploadFirmwareImages\n    - name: Run checkproject\n      run: |\n        pipenv install --dev\n        ./dev-tools/check_project.sh\n      env:\n        PIPENV_VENV_IN_PROJECT: \"True\"\n        DJANGO_SECRET_KEY: $(python3 -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())')\n        DATABASE_NAME: \"embark\"\n        DATABASE_USER: \"embark\"\n        DATABASE_PASSWORD: \"embark\"\n        DATABASE_HOST: \"127.0.0.1\"\n        DATABASE_PORT: \"3306\"\n        MYSQL_PASSWORD: \"embark\"\n        MYSQL_USER: \"embark\"\n        MYSQL_DATABASE: \"embark\"\n        REDIS_HOST: \"127.0.0.1\"\n        REDIS_PORT: \"7777\"\n        SECRET_KEY: \"$DJANGO_SECRET_KEY\"\n        HASHID_SALT: \"EMBArk1234§$S@lt\"\n        DJANGO_SUPERUSER_PASSWORD:  \"embark\"\n        DJANGO_SUPERUSER_USERNAME:  \"superuser\"\n        DJANGO_SUPERUSER_EMAIL:  \"idk@lol.com\"\n\n", "state": "active", "repository": "e-m-b-a/embark"}
{"mined_at": "2024-07-15T16:36:08.930731", "created_at": "2023-04-03T14:00:43+02:00", "updated_at": "2023-04-11T11:44:00+02:00", "name": "EMBArk default tests on Ubuntu", "path": ".github/workflows/server-tests.yml", "contents": "name: EMBArk default tests on Ubuntu\n\non:\n  pull_request:\n    branches:    \n      - main\n\njobs:\n  default-install:\n    if: github.repository_owner == 'e-m-b-a'\n    runs-on: ubuntu-22.04\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v3\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          tool-cache: true\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: false\n          swap-storage: true\n      - name: EMBArk default install\n        uses: Wandalen/wretry.action@master\n        with:\n          command: sudo ./installer.sh -sF\n          attempt_limit: 3\n      - name: tests\n        uses: Wandalen/wretry.action@master\n        with:\n          command: sudo ./dev-tools/test.sh\n          attempt_limit: 3\n", "state": "active", "repository": "e-m-b-a/embark"}
{"mined_at": "2024-07-15T16:36:10.050817", "created_at": "2021-08-22T12:04:42+02:00", "updated_at": "2021-08-22T12:04:42+02:00", "name": "ShellCheck", "path": ".github/workflows/shellcheck.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: ShellCheck\n\n# Controls when the action will run. \non:\n  push:\n    branches:    \n      - '**'        # matches every branch\n  pull_request:\n    branches:\n      - '**'\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v3\n\n      - name: ShellCheck\n        uses: ludeeus/action-shellcheck@master\n", "state": "active", "repository": "e-m-b-a/embark"}
{"mined_at": "2024-07-15T16:36:12.322169", "created_at": "2023-09-12T08:26:32+02:00", "updated_at": "2023-09-12T08:26:32+02:00", "name": "Scanner BDBA", "path": ".github/workflows/Scanner_Bdba.yml", "contents": "name: Scanner BDBA\n\non:\n  workflow_dispatch:\n\njobs:\n  bdba_job:\n    name: BDBA Scan\n    uses: intel-innersource/frameworks.ai.infrastructure.code-scan-tools/.github/workflows/Scanner_Bdba.yml@one-ci-cd\n    with:\n      repos: ${{ github.event.repository.name }}\n      refs: ${{ github.ref_name }}\n      group: \"22\"\n      runners: \"['self-hosted']\"\n    secrets:\n      token: ${{ secrets.GITHUB_TOKEN }}\n      BDBA_TOKEN: ${{ secrets.BDBA_TOKEN }}\n", "state": "active", "repository": "intel/neural-compressor"}
{"mined_at": "2024-07-15T16:36:13.532497", "created_at": "2023-09-12T08:26:32+02:00", "updated_at": "2023-09-12T08:26:32+02:00", "name": "Scanner Coverity", "path": ".github/workflows/Scanner_Coverity.yml", "contents": "name: Scanner Coverity\n\non:\n  workflow_dispatch:\n\njobs:\n  coverity_job:\n    uses: intel-innersource/frameworks.ai.infrastructure.code-scan-tools/.github/workflows/Scanner_Coverity.yml@one-ci-cd\n    with:\n      repos: ${{ github.event.repository.name }}\n      refs: ${{ github.ref_name }}\n      projectType: python\n      url: 'https://coverityent.devtools.intel.com/prod1'\n      stream: 'IntelNeuralCompressor-master'\n      runners: \"['self-hosted']\"\n    secrets:\n      token: ${{ secrets.GITHUB_TOKEN }}\n      USER: ${{secrets.COVERITY_USER }}\n      PASSWORD : ${{secrets.COVERITY_PASSWORD }}\n", "state": "active", "repository": "intel/neural-compressor"}
{"mined_at": "2024-07-15T16:36:14.763257", "created_at": "2023-09-12T08:26:32+02:00", "updated_at": "2023-09-12T08:26:32+02:00", "name": "Virus Scan", "path": ".github/workflows/Scanner_McAfee.yml", "contents": "name: Virus Scan\n\non:\n  workflow_dispatch:\n\njobs:\n  virus:\n    name: McAfee Virus Scan\n    runs-on: self-hosted\n    steps:\n      - uses: actions/checkout@v3\n      - name: Execute Scan\n        uses: intel-innersource/frameworks.devops.github.actions.mcafee@main\n        with:\n          scan_path: neural_compressor\n", "state": "active", "repository": "intel/neural-compressor"}
{"mined_at": "2024-07-15T16:36:15.778365", "created_at": "2024-02-23T03:09:00+01:00", "updated_at": "2024-03-04T07:46:58+01:00", "name": "Probot", "path": ".github/workflows/probot.yml", "contents": "name: Probot\n\non:\n  pull_request:\n    types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  required-jobs:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.draft == false\n    timeout-minutes: 361 # in case something is wrong with the internal timeout\n    steps:\n      - uses: XuehaoSun/probot@0.2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          job: check-group\n          interval: 180 # seconds\n          timeout: 360 # minutes\n          maintainers: \"[XuehaoSun](https://github.com/XuehaoSun)\"\n          owner: \"[chensuyue](https://github.com/chensuyue) or [XuehaoSun](https://github.com/XuehaoSun)\"\n", "state": "active", "repository": "intel/neural-compressor"}
{"mined_at": "2024-07-15T16:36:17.014117", "created_at": "2021-05-12T09:40:49+02:00", "updated_at": "2021-05-12T09:40:49+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Build Online Document\n      run: |\n        git config --local --get remote.origin.url\n        cd docs/build_docs\n        bash build.sh latest\n\n    - name: Push to github\n      uses: peaceiris/actions-gh-pages@v3\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: ./build_tmp/gh-pages\n        publish_branch: gh-pages\n", "state": "active", "repository": "intel/neural-compressor"}
{"mined_at": "2024-07-15T16:36:18.243166", "created_at": "2024-04-30T05:13:41+02:00", "updated_at": "2024-04-30T05:13:41+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "intel/neural-compressor"}
{"mined_at": "2024-07-15T16:36:19.336375", "created_at": "2022-01-04T02:53:28+01:00", "updated_at": "2022-01-04T02:53:28+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "intel/neural-compressor"}
{"mined_at": "2024-07-15T16:36:21.492390", "created_at": "2020-04-23T16:42:55+02:00", "updated_at": "2023-09-18T11:37:59+02:00", "name": "CI", "path": ".github/workflows/build_pipeline.yml", "contents": null, "state": "active", "repository": "arup-group/pam"}
{"mined_at": "2024-07-15T16:36:22.749240", "created_at": "2023-09-01T18:00:49+02:00", "updated_at": "2023-09-08T18:29:33+02:00", "name": "Minimal CI", "path": ".github/workflows/commit-ci.yml", "contents": "name: Minimal CI\n\non:\n  push:\n    branches:\n      - \"**\"\n    paths-ignore:\n      - README.md\n      - CHANGELOG.md\n      - LICENSE\n      - CONTRIBUTING.md\n      - docs/**\n      - mkdocs.yml\n\njobs:\n  test:\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/python-install-lint-test.yml@main\n    with:\n      os: ubuntu-latest\n      py3version: \"12\"\n      notebook_kernel: pam\n      lint: false\n      upload_to_codecov: false\n\n  aws-upload:\n    needs: test\n    if: needs.test.result == 'success'\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/aws-upload.yml@main\n    secrets: inherit", "state": "active", "repository": "arup-group/pam"}
{"mined_at": "2024-07-15T16:36:23.759009", "created_at": "2022-05-06T12:21:51+02:00", "updated_at": "2023-09-08T18:29:33+02:00", "name": "Daily CI Build", "path": ".github/workflows/daily-scheduled-ci.yml", "contents": "name: Daily CI Build\n\non:\n  schedule:\n    - cron: '23 14 * * 1-5'\n\njobs:\n  get-date:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Add date to github output env\n        run: echo \"DATE=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n  test:\n    needs: get-date\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/python-install-lint-test.yml@main\n    with:\n      os: ubuntu-latest\n      py3version: \"12\"\n      notebook_kernel: pam\n      pytest_args: '--no-cov'  # ignore coverage\n      cache_mamba_env: false\n      lint: false\n      upload_to_codecov: false\n      mamba_env_name: ${{ needs.get-date.outputs.DATE }}\n\n  slack-notify-ci:\n    needs: test\n    if: always()\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/slack-notify.yml@main\n    secrets: inherit\n    with:\n      result: ${{ needs.test.result }}\n      channel: pam-feeds\n      message: Daily CI action\n", "state": "active", "repository": "arup-group/pam"}
{"mined_at": "2024-07-15T16:36:24.792702", "created_at": "2023-07-18T12:32:05+02:00", "updated_at": "2023-09-08T18:29:33+02:00", "name": "Build docs", "path": ".github/workflows/docs.yml", "contents": "name: Build docs\n\non:\n  push:\n    branches:\n      - \"**\"\n    paths-ignore:\n      - tests/**\n\njobs:\n  docs-test:\n    if: github.ref != 'refs/heads/main'\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/docs-deploy.yml@main\n    with:\n      deploy_type: test\n      notebook_kernel: pam\n\n  docs-update-latest:\n    permissions:\n      contents: write\n    if: github.ref == 'refs/heads/main'\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/docs-deploy.yml@main\n    with:\n      deploy_type: update_latest\n      notebook_kernel: pam\n\n  slack-notify-ci-failure:\n    needs: [docs-test, docs-update-latest]\n    if: always() && contains(needs.*.result, 'failure')\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/slack-notify.yml@main\n    secrets: inherit\n    with:\n      result: 'failure'\n      channel: pam-feeds\n      message: Docs Build", "state": "active", "repository": "arup-group/pam"}
{"mined_at": "2024-07-15T16:36:25.781031", "created_at": "2023-09-12T18:41:16+02:00", "updated_at": "2023-09-12T18:41:16+02:00", "name": ".github/workflows/draft-pdf.yml", "path": ".github/workflows/draft-pdf.yml", "contents": null, "state": "active", "repository": "arup-group/pam"}
{"mined_at": "2024-07-15T16:36:26.849120", "created_at": "2023-09-01T18:17:27+02:00", "updated_at": "2023-09-08T18:29:33+02:00", "name": "Pull Request CI", "path": ".github/workflows/pr-ci.yml", "contents": "name: Pull Request CI\n\non:\n  pull_request:\n    branches:\n      - main\n    paths-ignore:\n      - README.md\n      - CHANGELOG.md\n      - LICENSE\n      - CONTRIBUTING.md\n      - docs/**\n      - mkdocs.yml\n\njobs:\n  test:\n    strategy:\n      matrix:\n        os: [windows-latest, ubuntu-latest, macos-latest]\n        py3version: [\"10\", \"12\"]\n      fail-fast: false\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/python-install-lint-test.yml@main\n    with:\n      os: ${{ matrix.os }}\n      py3version: ${{ matrix.py3version }}\n      notebook_kernel: pam\n      lint: false\n      pytest_args: '--no-cov'  # ignore coverage\n      upload_to_codecov: false\n\n  test-coverage:\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/python-install-lint-test.yml@main\n    with:\n      os: ubuntu-latest\n      py3version: \"12\"\n      notebook_kernel: pam\n      lint: false\n      pytest_args: 'tests/'  # ignore example notebooks\n      upload_to_codecov: true\n\n  memory-profile:\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/python-memory-profile.yml@main\n    with:\n      py3version: \"12\"\n      upload_flamegraph: true\n\n  cruft-check:\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/template-check.yml@main", "state": "active", "repository": "arup-group/pam"}
{"mined_at": "2024-07-15T16:36:28.075747", "created_at": "2023-07-14T18:38:47+02:00", "updated_at": "2023-07-14T18:38:47+02:00", "name": "Build Package", "path": ".github/workflows/pre-release.yml", "contents": "name: Build Package\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  conda-build:\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/conda-build.yml@main\n    secrets: inherit\n    with:\n      package_name: cml-pam\n      environment: pre-release\n\n  pip-build:\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/pip-build.yml@main\n    secrets: inherit\n    with:\n      package_name: cml-pam\n      environment: pre-release", "state": "active", "repository": "arup-group/pam"}
{"mined_at": "2024-07-15T16:36:29.200224", "created_at": "2023-07-14T18:38:47+02:00", "updated_at": "2023-09-08T18:29:33+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types: [released]\n\njobs:\n  conda-upload:\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/conda-upload.yml@main\n    secrets: inherit\n    with:\n      package_name: cml-pam\n      build_workflow: pre-release.yml\n      environment: release\n\n  pip-upload:\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/pip-upload.yml@main\n    secrets: inherit\n    with:\n      package_name: cml-pam\n      build_workflow: pre-release.yml\n      environment: release\n\n  docs-stable:\n    permissions:\n      contents: write\n    uses: arup-group/actions-city-modelling-lab/.github/workflows/docs-deploy.yml@main\n    with:\n      deploy_type: update_stable\n      notebook_kernel: pam", "state": "active", "repository": "arup-group/pam"}
{"mined_at": "2024-07-15T16:36:30.428649", "created_at": "2023-06-27T12:26:19+02:00", "updated_at": "2023-06-27T12:26:19+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "arup-group/pam"}
{"mined_at": "2024-07-15T16:36:32.682560", "created_at": "2021-05-12T19:38:31+02:00", "updated_at": "2022-03-04T18:53:18+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This yml file will trigger a Github Actions event that builds and upload the\n# Python package to PiPy. This makes use of Twine and is triggered when a push\n# to the main branch occures. For more information see:\n# https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n# and for details on the Autobump version section see:\n# https://github.com/grst/python-ci-versioneer\n\nname: Upload Python Package\n\non:\n  # allows us to run workflows manually\n  workflow_dispatch:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel build twine\n\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        python -m build\n        twine check dist/*\n        twine upload dist/*\n", "state": "active", "repository": "fusion-energy/paramak"}
{"mined_at": "2024-07-15T16:36:33.803162", "created_at": "2021-07-12T14:21:03+02:00", "updated_at": "2021-07-12T16:30:24+02:00", "name": "CI with docker build", "path": ".github/workflows/ci_with_docker_build.yml", "contents": "# Builds a dockerimage and then runs tests from within the docker enviroment\n\nname: CI with docker build\non:\n  pull_request:\n    branches:\n    - develop\n    - main\n    paths:\n      - \"**.py\"\n      - \"**.ipynb\"\n      - \"**.yml\"\n      - \"**.cfg\"\n      - \"**.toml\"\n      - \"**.sh\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Build with Docker\n        run: docker build -t paramak --build-arg cq_version=master .\n\n      - name: Run unit tests\n        run: docker run --rm paramak pytest ./tests/tests_units\n\n      - name: Test examples\n        run: docker run --rm paramak pytest ./tests/tests_examples\n\n      # tests_show require jupyter_cadquery which is not available on conda\n      # therefore these tests have been separated out to help with the conda\n      # testing. The tests_h5m tests require CQ master which is tested separately as well\n      - name: Test show\n        run: docker run --rm paramak pytest ./tests/tests_show\n", "state": "active", "repository": "fusion-energy/paramak"}
{"mined_at": "2024-07-15T16:36:34.934520", "created_at": "2021-07-12T14:26:30+02:00", "updated_at": "2021-07-12T16:30:24+02:00", "name": "CI with install", "path": ".github/workflows/ci_with_install.yml", "contents": "# This CI will lauch a Docker image that contains all the dependencies required\n# within that image the pytest test suite is run\n\nname: CI with install\n\non:\n  pull_request:\n    branches:\n      - develop\n      - main\n    paths:\n      - \"**.py\"\n      - \"**.ipynb\"\n      - \"**.yml\"\n      - \"**.cfg\"\n      - \"**.toml\"\n      - \"**.sh\"\n\njobs:\n  testing:\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/fusion-energy/paramak_cq_master:dependencies\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: install package\n        run: |\n          pip install --upgrade pip\n          pip install .\n          python -c \"import paramak\"\n\n      - name: install package with tests\n        run: |\n          pip install .[tests]\n\n      - name: Run tests\n        run: |\n          pytest tests/tests_units -v --cov=src/paramak --cov-append --cov-report term --cov-report xml\n          pytest tests/tests_examples -v --cov=src/paramak --cov-append --cov-report term --cov-report xml\n          pytest tests/tests_show -v --cov=src/paramak --cov-append --cov-report term --cov-report xml\n\n      - name: Upload to codecov\n        uses: codecov/codecov-action@v2\n", "state": "active", "repository": "fusion-energy/paramak"}
{"mined_at": "2024-07-15T16:36:35.987746", "created_at": "2021-07-12T16:30:24+02:00", "updated_at": "2022-03-04T18:53:22+01:00", "name": "docker-publish-release", "path": ".github/workflows/docker_publish.yml", "contents": "# This yml file will trigger a Github Action on release creation.\n# This Action will build and upload a Docker image to GHCR\n# https://github.com/marketplace/actions/publish-docker\n\nname: docker-publish-release\n\non:\n  # allows us to run workflows manually\n  workflow_dispatch:\n  release:\n    types: [created]\n\njobs:\n  build_and_push_dependencies:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-single-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-single-buildx\n\n      - name: Build and push dependencies Docker image CQ=master\n        uses: docker/build-push-action@v2\n        with:\n          push: true\n          target: dependencies\n          tags: ghcr.io/fusion-energy/paramak_cq_master:dependencies\n          build-args: |\n            cq_version=master\n            paramak_version=${{ github.ref_name }}\n\n      - name: Build and push dependencies Docker image CQ=master\n        uses: docker/build-push-action@v2\n        with:\n          push: true\n          target: dependencies\n          tags: ghcr.io/fusion-energy/paramak:dependencies\n          build-args: |\n            cq_version=master\n            paramak_version=${{ github.ref_name }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache-new\n\n      # Temp fix\n      # https://github.com/docker/build-push-action/issues/252\n      # https://github.com/moby/buildkit/issues/1896\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n\n      - name: Build and push final Docker image\n        uses: docker/build-push-action@v2\n        with:\n          push: true\n          tags: ghcr.io/fusion-energy/paramak\n          build-args: |\n            cq_version=master\n", "state": "active", "repository": "fusion-energy/paramak"}
{"mined_at": "2024-07-15T16:36:37.084896", "created_at": "2021-08-24T15:47:13+02:00", "updated_at": "2021-08-25T13:58:05+02:00", "name": "Test demos", "path": ".github/workflows/test_demos.yml", "contents": "name: Test demos\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push requests to main or develop branches\n  pull_request:\n    branches:\n      - main\n      - develop\n    paths:\n      - \"**.py\"\n      - \"**.ipynb\"\n      - \"**.yml\"\n      - \"**.cfg\"\n      - \"**.toml\"\n      - \"**.sh\"\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/fusion-energy/paramak_cq_master:dependencies\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Setup paramak\n        run: |\n          pip install .[tests]\n\n      - name: Run the notebooks\n        run: |\n          pytest tests/tests_examples -v\n", "state": "active", "repository": "fusion-energy/paramak"}
{"mined_at": "2024-07-15T16:36:38.073988", "created_at": "2022-02-11T18:29:14+01:00", "updated_at": "2022-02-22T18:36:43+01:00", "name": "anaconda-publish", "path": ".github/workflows/anaconda-publish.yml", "contents": "name: anaconda-publish\n\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    container: continuumio/miniconda3:4.10.3\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up conda\n        run: |\n            apt-get --allow-releaseinfo-change update\n            apt install -y libgl1-mesa-glx\n            conda install -y anaconda-client conda-build\n            conda config --set anaconda_upload no\n      - name: Build and publish to conda\n        env:\n          ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}\n        run: |\n            conda build conda -c fusion-energy -c cadquery -c conda-forge --config-file conda/conda_build_config.yaml\n            conda convert /opt/conda/conda-bld/linux-64/*.tar.bz2 --platform osx-64 --platform win-64 -o /opt/conda/conda-bld/\n            anaconda upload -f /opt/conda/conda-bld/*/*.tar.bz2\n", "state": "active", "repository": "fusion-energy/paramak"}
{"mined_at": "2024-07-15T16:36:39.188810", "created_at": "2022-03-10T00:05:16+01:00", "updated_at": "2022-03-14T18:27:23+01:00", "name": "conda-build-test", "path": ".github/workflows/conda-build-test.yml", "contents": "name: conda-build-test\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - develop\n      - main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    container: continuumio/miniconda3:4.10.3\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up conda\n        run: |\n            apt-get --allow-releaseinfo-change update\n            apt install -y libgl1-mesa-glx\n            conda install -y anaconda-client conda-build\n            conda config --set anaconda_upload no\n      - name: Build and test\n        env:\n          GIT_DESCRIBE_TAG: 0.1\n        run: |\n            conda build conda -c fusion-energy -c cadquery -c conda-forge --config-file conda/conda_build_config.yaml\n", "state": "active", "repository": "fusion-energy/paramak"}
{"mined_at": "2024-07-15T16:36:40.215587", "created_at": "2022-03-15T18:32:31+01:00", "updated_at": "2022-04-02T02:38:21+02:00", "name": "auto_format_pep8", "path": ".github/workflows/auto_format_pep8.yml", "contents": "name: auto_format_pep8\n\non:\n  push:\n    paths:\n      - '**.py'\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.head_ref }}\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n      - name: Install black\n        run: |\n          python -m pip install --upgrade pip\n          pip install black==22.3.0\n      - name: Run black\n        run: |\n          black .\n      - uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: \"[skip ci] Apply formatting changes\"\n", "state": "active", "repository": "fusion-energy/paramak"}
{"mined_at": "2024-07-15T16:36:41.283260", "created_at": "2022-03-15T18:32:31+01:00", "updated_at": "2022-04-02T02:38:21+02:00", "name": "auto_lint", "path": ".github/workflows/auto_lint.yml", "contents": "name: auto_lint\n\non:\n  push:\n    paths:\n      - '**.py'\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  flake8:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.head_ref }}\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n      - name: Lint code\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8\n          flake8 . --show-source --statistics --max-line-length 120\n      - uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: \"[skip ci] Apply formatting changes\"\n", "state": "active", "repository": "fusion-energy/paramak"}
{"mined_at": "2024-07-15T16:36:42.512286", "created_at": "2022-02-11T19:38:16+01:00", "updated_at": "2022-03-09T22:01:56+01:00", "name": "CI with install CQ master", "path": ".github/workflows/ci_with_install_cq_master.yml", "contents": "# This CI will launch a Docker image that contains all the dependencies required\n# within that image the pytest test suite is run\n\nname: CI with install CQ master\n\non:\n  pull_request:\n    branches:\n      - develop\n      - main\n    paths:\n      - \"**.py\"\n      - \"**.ipynb\"\n      - \"**.yml\"\n      - \"**.cfg\"\n      - \"**.toml\"\n      - \"**.sh\"\n\njobs:\n  testing_cq_master:\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/fusion-energy/paramak_cq_master:dependencies\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: install package\n        run: |\n          pip install --upgrade pip\n          pip install .[tests]\n\n      - name: Run tests\n        run: |\n          pytest tests/test_units -v --cov=paramak --cov-append --cov-report term --cov-report xml\n          pytest tests/tests_h5m -v --cov=paramak --cov-append --cov-report term --cov-report xml\n\n# jupyter cadquery doesn't appear to work with the current version of CQ master\n# therefore the show() methods also don't work\n# pytest tests/tests_show -v --cov=paramak --cov-append --cov-report term --cov-report xml\n# pytest tests/tests_examples -v --cov=paramak --cov-append --cov-report term --cov-report xml\n\n      - name: Upload to codecov\n        uses: codecov/codecov-action@v2\n", "state": "disabled_manually", "repository": "fusion-energy/paramak"}
{"mined_at": "2024-07-15T16:36:44.827977", "created_at": "2022-10-27T20:26:46+02:00", "updated_at": "2022-10-27T21:15:05+02:00", "name": "Checks", "path": ".github/workflows/check.yml", "contents": "name: Checks\non: [pull_request, push]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  codespell:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements/dev.txt\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements/dev.txt\n      - run:\n          codespell --ignore-words-list=\"groupt,nd,ot,ro,falsy,BU\" \\\n          --exclude-file=\".github/workflows/codespell.yml\"\n  bandit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements/dev.txt\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements/dev.txt\n      - run: bandit --recursive  --skip B101,B104,B105,B110,B307,B311,B404,B603,B607 .\n", "state": "active", "repository": "pycord-development/pycord"}
{"mined_at": "2024-07-15T16:36:45.891754", "created_at": "2021-10-01T19:26:21+02:00", "updated_at": "2022-04-29T00:40:51+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push: null\n  pull_request: null\n  schedule:\n    - cron: \"26 6 * * 6\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    #    if: github.event.pull_request.user.type != 'Bot' && !contains(github.event.pull_request.labels.*.name, 'skip-ci')\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"python\"]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "pycord-development/pycord"}
{"mined_at": "2024-07-15T16:36:46.992426", "created_at": "2021-11-30T11:52:34+01:00", "updated_at": "2023-05-03T14:50:27+02:00", "name": "Docs Tests", "path": ".github/workflows/docs.yml", "contents": null, "state": "active", "repository": "pycord-development/pycord"}
{"mined_at": "2024-07-15T16:36:48.029726", "created_at": "2022-10-27T20:26:46+02:00", "updated_at": "2022-10-27T21:15:05+02:00", "name": "Type Check and Lint", "path": ".github/workflows/lint.yml", "contents": "name: Type Check and Lint\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pylint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements/dev.txt\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements/dev.txt\n      - name: Setup cache\n        id: cache-pylint\n        uses: actions/cache@v4\n        with:\n          path: .pylint.d\n          key: pylint\n      - name: Analyse code with pylint\n        run: |\n          pylint discord/ --exit-zero\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements/dev.txt\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements/dev.txt\n      - name: Setup cache\n        id: cache-mypy\n        uses: actions/cache@v4\n        with:\n          path: .mypy_cache\n          key: mypy\n      - name: Make mypy cache directory\n        run: mkdir -p -v .mypy_cache\n      - name: Run type checks with Mypy\n        run: mypy --non-interactive discord/\n", "state": "active", "repository": "pycord-development/pycord"}
{"mined_at": "2024-07-15T16:36:49.080625", "created_at": "2022-11-08T00:32:16+01:00", "updated_at": "2022-11-08T00:32:16+01:00", "name": "Lint PR", "path": ".github/workflows/pr.yml", "contents": "name: \"Lint PR\"\n\non:\n  pull_request_target:\n    types: [opened, synchronize, reopened, edited]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  check_dependencies:\n    runs-on: ubuntu-latest\n    name: Check Dependencies\n    steps:\n      - uses: gregsdennis/dependencies-action@main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  check_title:\n    name: Check Title\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pycord-development/pycord"}
{"mined_at": "2024-07-15T16:36:50.651116", "created_at": "2022-10-27T20:26:46+02:00", "updated_at": "2022-10-27T21:15:05+02:00", "name": "Unit Tests", "path": ".github/workflows/test.yml", "contents": "name: Unit Tests\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pytest:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        # Python 3.8/3.9 are on macos-13 but not macos-latest (macos-14-arm64)\n        # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n        exclude:\n          - { python-version: \"3.8\", os: \"macos-latest\" }\n          - { python-version: \"3.9\", os: \"macos-latest\" }\n        include:\n          - { python-version: \"3.8\", os: \"macos-13\" }\n          - { python-version: \"3.9\", os: \"macos-13\" }\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: \"requirements/dev.txt\"\n          check-latest: true\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8\n          pip install -r requirements/dev.txt\n      - name: Setup cache\n        id: cache-pytest\n        uses: actions/cache@v4\n        with:\n          path: .pytest_cache\n          key: ${{ matrix.os }}-${{ matrix.python-version }}-pytest\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings.\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=120 --statistics\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          cache-dependency-path: \"requirements/docs.txt\"\n          check-latest: true\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          pip install \".[docs]\"\n      - name: Check Links\n        if: github.event_name == 'schedule'\n        run: |\n          cd docs\n          make linkcheck\n      - name: Compile to html\n        run: |\n          cd docs\n          make html\n", "state": "active", "repository": "pycord-development/pycord"}
{"mined_at": "2024-07-15T16:36:52.240927", "created_at": "2022-10-26T22:40:14+02:00", "updated_at": "2023-05-10T17:45:27+02:00", "name": "Check TODO", "path": ".github/workflows/todo.yml", "contents": "name: Check TODO\non: [push, pull_request]\njobs:\n  todo:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run tdg-github-action\n        uses: ribtoks/tdg-github-action@v0.4.11-beta\n        with:\n          TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPO: ${{ github.repository }}\n          SHA: ${{ github.sha }}\n          REF: ${{ github.ref }}\n          COMMENT_ON_ISSUES: true\n", "state": "active", "repository": "pycord-development/pycord"}
{"mined_at": "2024-07-15T16:36:53.440789", "created_at": "2023-07-27T06:10:16+02:00", "updated_at": "2023-07-27T08:11:56+02:00", "name": "Version Update Auto Merge", "path": ".github/workflows/version-updates.yml", "contents": "name: Version Update Auto Merge\non: pull_request\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  auto-merge:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - run: gh pr review --approve \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n      - run: gh pr merge --auto --squash \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "pycord-development/pycord"}
{"mined_at": "2024-07-15T16:36:55.601988", "created_at": "2021-09-09T11:53:48+02:00", "updated_at": "2021-09-10T18:05:14+02:00", "name": "Code analysis", "path": ".github/workflows/code-analysis.yml", "contents": "name: Code analysis\non:\n  pull_request:\n  push:\nenv:\n  PIPENV_VENV_IN_PROJECT: enabled\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      id: setup-python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n\n    - name: Set up Terraform\n      uses: hashicorp/setup-terraform@v3\n      # v1.3.2\n      with:\n        terraform_version: 1.0.6\n\n    - name: Install pipenv\n      run: python -m pip install --upgrade pipenv==2021.5.29 wheel\n\n    - name: Restore pipenv cache\n      id: cache-pipenv\n      uses: actions/cache@v4\n      with:\n        path: ./.venv\n        key: codeanaysis-${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile.lock') }}\n\n    - name: Install dependencies\n      if: steps.cache-pipenv.outputs.cache-hit != 'true'\n      run: pipenv install --deploy --dev\n\n    - name: Run pre-commit\n      uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "googlecloudplatform/gcpdiag"}
{"mined_at": "2024-07-15T16:36:56.648673", "created_at": "2021-11-03T17:45:03+01:00", "updated_at": "2021-11-03T17:45:03+01:00", "name": "github pages", "path": ".github/workflows/gh-pages.yml", "contents": "name: github pages\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n\njobs:\n  deploy:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n        fetch-depth: 0\n\n    - name: Hugo build\n      uses: docker://us-docker.pkg.dev/gcpdiag-dist/common/gcpdiag-hugo:0.1\n      with:\n        args: >\n          /bin/sh -e -c \"\n          cp bin/gcpdiag-dockerized website/static/gcpdiag.sh;\n          cd website;\n          hugo build --themesDir=/themes --baseUrl=https://gcpdiag.dev/ --minify --enableGitInfo\"\n\n    - name: Deploy\n      uses: peaceiris/actions-gh-pages@v3.9.3\n      if: github.repository == 'GoogleCloudPlatform/gcpdiag' && github.ref == 'refs/heads/main'\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: ./website/public\n        cname: gcpdiag.dev\n", "state": "active", "repository": "googlecloudplatform/gcpdiag"}
{"mined_at": "2024-07-15T16:36:57.696549", "created_at": "2024-02-01T15:44:21+01:00", "updated_at": "2024-02-01T15:44:21+01:00", "name": "Update GKE EOL file", "path": ".github/workflows/gke-eol.yml", "contents": "name: Update GKE EOL file\n\non:\n  schedule:\n    # Runs at midnight UTC every day\n    - cron: '0 0 * * *'\n\njobs:\n  build-and-merge:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0  # Ensure all history is fetched for accurate diff\n\n    - name: Run the eol script\n      run: |\n        # Make the EOL parser script executable and run it\n        chmod +x ./gcpdiag/lint/gke/eol_parser.sh\n        bash ./gcpdiag/lint/gke/eol_parser.sh > gcpdiag/lint/gke/eol.yaml\n        # Check for changes in the EOL YAML file\n        if ! git diff --exit-code gcpdiag/lint/gke/eol.yaml > /dev/null; then\n          echo \"NEW_EOL_UPDATE=true\" >> $GITHUB_ENV  # Mark that new EOL updates are available\n        fi\n    - name: Commit changes\n      if: env.NEW_EOL_UPDATE == 'true'\n      id: commit_changes\n      run: |\n        # Set Git config and commit changes if any\n        git config --global user.name 'GitHub Actions'\n        git config --global user.email 'actions@github.com'\n        git add gcpdiag/lint/gke/eol.yaml\n        git commit -m \"Update gke/eol.yaml file\"\n        git push origin HEAD:automated-gke-eol-changes  # Push the changes to a branch\n\n    - name: Create Pull Request\n      if: success() && env.NEW_EOL_UPDATE == 'true'\n      id: create_pull_request\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        # Create a pull request for the changes\n        gh pr create --title \"Update gke/eol.yaml files\" \\\n                     --body \"Updating gke/eol update with the new eol for GKE clusters\" \\\n                     --base main \\\n                     --head automated-gke-eol-changes \\\n                     --label \"automerge\"\n\n    - name: Merge Pull Request\n      if: success() && env.NEW_EOL_UPDATE == 'true'\n      run: |\n        # Retrieve the URL of the newly created pull request.\n        PR_URL=$(gh pr list --base main --head automated-gke-eol-changes --json url --jq '.[0].url')\n        # If a pull request URL is found, attempt to merge it.\n        if [ -n \"$PR_URL\" ]; then\n          gh pr merge \"$PR_URL\" --rebase --auto\n        fi\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "googlecloudplatform/gcpdiag"}
{"mined_at": "2024-07-15T16:36:58.796999", "created_at": "2021-09-09T11:53:48+02:00", "updated_at": "2021-09-10T18:05:14+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\non:\n  pull_request:\n  push:\nenv:\n  PIPENV_VENV_IN_PROJECT: enabled\njobs:\n  make-test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      id: setup-python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n\n    - name: Install pipenv\n      run: python -m pip install --upgrade pipenv==2021.5.29 wheel\n\n    - name: Restore pipenv cache\n      id: cache-pipenv\n      uses: actions/cache@v4\n      with:\n        path: ./.venv\n        key: test-${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile.lock') }}\n\n    - name: Install dependencies\n      if: steps.cache-pipenv.outputs.cache-hit != 'true'\n      run: pipenv install --deploy --dev\n\n    - name: Run make test\n      run: pipenv run make test\n", "state": "active", "repository": "googlecloudplatform/gcpdiag"}
{"mined_at": "2024-07-15T16:37:00.020700", "created_at": "2023-08-10T00:14:18+02:00", "updated_at": "2023-08-10T00:14:18+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googlecloudplatform/gcpdiag"}
{"mined_at": "2024-07-15T16:37:01.069524", "created_at": "2021-12-22T16:12:15+01:00", "updated_at": "2021-12-22T16:12:15+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "googlecloudplatform/gcpdiag"}
{"mined_at": "2024-07-15T16:37:03.192698", "created_at": "2024-01-31T18:24:25+01:00", "updated_at": "2024-01-31T20:31:38+01:00", "name": "Anchore Grype vulnerability scan", "path": ".github/workflows/anchore.yml", "contents": null, "state": "disabled_manually", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:04.221954", "created_at": "2024-01-31T18:21:37+01:00", "updated_at": "2024-01-31T20:33:22+01:00", "name": "APIsec", "path": ".github/workflows/apisec-scan.yml", "contents": null, "state": "disabled_manually", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:05.551710", "created_at": "2024-01-31T18:21:44+01:00", "updated_at": "2024-01-31T20:33:27+01:00", "name": "Bandit", "path": ".github/workflows/bandit.yml", "contents": null, "state": "disabled_manually", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:06.882092", "created_at": "2024-01-31T18:24:49+01:00", "updated_at": "2024-01-31T20:33:32+01:00", "name": "Bearer", "path": ".github/workflows/bearer.yml", "contents": null, "state": "disabled_manually", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:07.867954", "created_at": "2024-01-31T18:25:10+01:00", "updated_at": "2024-01-31T20:33:37+01:00", "name": "Brakeman Scan", "path": ".github/workflows/brakeman.yml", "contents": null, "state": "disabled_manually", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:09.033885", "created_at": "2020-08-04T19:32:39+02:00", "updated_at": "2021-09-28T15:26:44+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  pull_request:\n    branches: [ master ]\n  release:\n    types: [edited, published]\n\npermissions:\n  contents: write\n\njobs:\n  build:\n    name: PyInstaller for ${{ matrix.os }} / Py ${{ matrix.python_version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # set to false for debugging\n      fail-fast: true\n      matrix:\n        # using Python 3.8 to support running across multiple operating systems including Windows 7\n        include:\n          - os: ubuntu-20.04\n            # use old linux so that the shared library versioning is more portable\n            artifact_name: capa\n            asset_name: linux\n            python_version: 3.8\n          - os: ubuntu-20.04\n            artifact_name: capa\n            asset_name: linux-py311\n            python_version: 3.11\n          - os: windows-2019\n            artifact_name: capa.exe\n            asset_name: windows\n            python_version: 3.8\n          - os: macos-11\n            # use older macOS for assumed better portability\n            artifact_name: capa\n            asset_name: macos\n            python_version: 3.8\n    steps:\n      - name: Checkout capa\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n        with:\n          submodules: true\n      - name: Set up Python ${{ matrix.python_version }}\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: ${{ matrix.python_version }}\n      - if: matrix.os == 'ubuntu-20.04'\n        run: sudo apt-get install -y libyaml-dev\n      - name: Upgrade pip, setuptools\n        run: python -m pip install --upgrade pip setuptools\n      - name: Install capa with build requirements\n        run: |\n          pip install -r requirements.txt\n          pip install -e .[build]\n      - name: Build standalone executable\n        run: pyinstaller --log-level DEBUG .github/pyinstaller/pyinstaller.spec\n      - name: Does it run (PE)?\n        run: dist/capa -d \"tests/data/Practical Malware Analysis Lab 01-01.dll_\"\n      - name: Does it run (Shellcode)?\n        run: dist/capa -d \"tests/data/499c2a85f6e8142c3f48d4251c9c7cd6.raw32\"\n      - name: Does it run (ELF)?\n        run: dist/capa -d \"tests/data/7351f8a40c5450557b24622417fc478d.elf_\"\n      - name: Does it run (CAPE)?\n        run: |\n          7z e \"tests/data/dynamic/cape/v2.2/d46900384c78863420fb3e297d0a2f743cd2b6b3f7f82bf64059a168e07aceb7.json.gz\"\n          dist/capa -d \"d46900384c78863420fb3e297d0a2f743cd2b6b3f7f82bf64059a168e07aceb7.json\"\n      - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1\n        with:\n          name: ${{ matrix.asset_name }}\n          path: dist/${{ matrix.artifact_name }}\n\n  test_run:\n    name: Test run on ${{ matrix.os }} / ${{ matrix.asset_name }}\n    runs-on: ${{ matrix.os }}\n    needs: [build]\n    strategy:\n      matrix:\n        include:\n          # OSs not already tested above\n          - os: ubuntu-22.04\n            artifact_name: capa\n            asset_name: linux\n          - os: ubuntu-22.04\n            artifact_name: capa\n            asset_name: linux-py311\n          - os: windows-2022\n            artifact_name: capa.exe\n            asset_name: windows\n    steps:\n      - name: Download ${{ matrix.asset_name }}\n        uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2\n        with:\n          name: ${{ matrix.asset_name }}\n      - name: Set executable flag\n        if: matrix.os != 'windows-2022'\n        run: chmod +x ${{ matrix.artifact_name }}\n      - name: Run capa\n        run: ./${{ matrix.artifact_name }} -h\n\n  zip_and_upload:\n    # upload zipped binaries to Release page\n    if: github.event_name == 'release'\n    name: zip and upload ${{ matrix.asset_name }}\n    runs-on: ubuntu-20.04\n    needs: [build]\n    strategy:\n      matrix:\n        include:\n          - asset_name: linux\n            artifact_name: capa\n          - asset_name: linux-py311\n            artifact_name: capa\n          - asset_name: windows\n            artifact_name: capa.exe\n          - asset_name: macos\n            artifact_name: capa\n    steps:\n      - name: Download ${{ matrix.asset_name }}\n        uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2\n        with:\n          name: ${{ matrix.asset_name }}\n      - name: Set executable flag\n        run: chmod +x ${{ matrix.artifact_name }}\n      - name: Set zip name\n        run: echo \"zip_name=capa-${GITHUB_REF#refs/tags/}-${{ matrix.asset_name }}.zip\" >> $GITHUB_ENV\n      - name: Zip ${{ matrix.artifact_name }} into ${{ env.zip_name }}\n        run: zip ${{ env.zip_name }} ${{ matrix.artifact_name }}\n      - name: Upload ${{ env.zip_name }} to GH Release\n        uses: svenstaro/upload-release-action@2728235f7dc9ff598bd86ce3c274b74f802d2208 # v2\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN}}\n          file: ${{ env.zip_name }}\n          tag: ${{ github.ref }}\n", "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:10.262995", "created_at": "2021-05-19T19:12:14+02:00", "updated_at": "2021-05-28T12:09:08+02:00", "name": "changelog", "path": ".github/workflows/changelog.yml", "contents": "name: changelog\n\non:\n  # We need pull_request_target instead of pull_request because a write\n  # repository token is needed to add a review to a PR. DO NOT BUILD\n  # OR RUN UNTRUSTED CODE FROM PRs IN THIS ACTION\n  pull_request_target:\n    types: [opened, edited, synchronize]\n\npermissions:\n  pull-requests: write\n\njobs:\n  check_changelog:\n    # no need to check for dependency updates via dependabot\n    if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'\n    runs-on: ubuntu-20.04\n    env:\n      NO_CHANGELOG: '[x] No CHANGELOG update needed'\n    steps:\n    - name: Get changed files\n      id: files\n      uses: Ana06/get-changed-files@25f79e676e7ea1868813e21465014798211fad8c # v2.3.0\n    - name: check changelog updated\n      id: changelog_updated\n      env:\n        PR_BODY: ${{ github.event.pull_request.body }}\n        FILES: ${{ steps.files.outputs.modified }}\n      run: |\n        echo $FILES | grep -qF 'CHANGELOG.md' || echo $PR_BODY | grep -qiF \"$NO_CHANGELOG\"\n    - name: Reject pull request if no CHANGELOG update\n      if: ${{ always() && steps.changelog_updated.outcome == 'failure' }}\n      uses: Ana06/automatic-pull-request-review@76aaf9b15b116a54e1da7a28a46f91fe089600bf # v0.2.0\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        event: REQUEST_CHANGES\n        body: \"Please add bug fixes, new features, breaking changes and anything else you think is worthwhile mentioning to the `master (unreleased)` section of CHANGELOG.md. If no CHANGELOG update is needed add the following to the PR description: `${{ env.NO_CHANGELOG }}`\"\n        allow_duplicate: false\n    - name: Dismiss previous review if CHANGELOG update\n      uses: Ana06/automatic-pull-request-review@76aaf9b15b116a54e1da7a28a46f91fe089600bf # v0.2.0\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        event: DISMISS\n        body: \"CHANGELOG updated or no update needed, thanks! :smile:\"\n", "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:11.376412", "created_at": "2024-01-31T18:21:49+01:00", "updated_at": "2024-01-31T20:33:42+01:00", "name": "Checkmarx Scan", "path": ".github/workflows/checkmarx-one.yml", "contents": null, "state": "disabled_manually", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:12.372878", "created_at": "2024-01-31T18:21:56+01:00", "updated_at": "2024-01-31T18:21:56+01:00", "name": "CxFlow", "path": ".github/workflows/checkmarx.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:13.448627", "created_at": "2024-01-31T18:45:45+01:00", "updated_at": "2024-01-31T18:45:45+01:00", "name": ".github/workflows/cleanthat.yaml", "path": ".github/workflows/cleanthat.yaml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:14.488843", "created_at": "2024-01-31T18:25:18+01:00", "updated_at": "2024-01-31T20:33:50+01:00", "name": "clj-holmes", "path": ".github/workflows/clj-holmes.yml", "contents": null, "state": "disabled_manually", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:15.529958", "created_at": "2024-01-31T18:25:33+01:00", "updated_at": "2024-01-31T20:34:08+01:00", "name": "clj-watson", "path": ".github/workflows/clj-watson.yml", "contents": null, "state": "disabled_manually", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:16.535951", "created_at": "2024-01-31T18:25:38+01:00", "updated_at": "2024-01-31T20:33:57+01:00", "name": "Cloudrail", "path": ".github/workflows/cloudrail.yml", "contents": null, "state": "disabled_manually", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:17.634257", "created_at": "2024-01-31T18:21:03+01:00", "updated_at": "2024-01-31T18:21:03+01:00", "name": "Codacy Security Scan", "path": ".github/workflows/codacy.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:18.741414", "created_at": "2023-08-11T03:37:14+02:00", "updated_at": "2023-08-11T03:37:14+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:19.850507", "created_at": "2024-01-31T17:36:04+01:00", "updated_at": "2024-01-31T17:36:04+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:20.911531", "created_at": "2024-01-31T18:25:26+01:00", "updated_at": "2024-01-31T18:25:26+01:00", "name": "CodeScan", "path": ".github/workflows/codescan.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:21.956742", "created_at": "2024-01-31T18:25:45+01:00", "updated_at": "2024-01-31T18:25:45+01:00", "name": "Scan analyze workflow", "path": ".github/workflows/contrast-scan.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:22.980279", "created_at": "2024-01-31T18:25:52+01:00", "updated_at": "2024-01-31T18:25:52+01:00", "name": "Credo", "path": ".github/workflows/credo.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:24.069837", "created_at": "2024-01-31T18:26:01+01:00", "updated_at": "2024-01-31T20:31:30+01:00", "name": "42Crunch REST API Static Security Testing", "path": ".github/workflows/crunch42.yml", "contents": null, "state": "disabled_manually", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:25.069158", "created_at": "2024-01-31T18:26:11+01:00", "updated_at": "2024-01-31T18:26:11+01:00", "name": "Datree", "path": ".github/workflows/datree.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:26.058095", "created_at": "2024-01-31T18:22:19+01:00", "updated_at": "2024-01-31T18:22:19+01:00", "name": "Microsoft Defender For Devops", "path": ".github/workflows/defender-for-devops.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:27.143265", "created_at": "2024-01-31T18:04:19+01:00", "updated_at": "2024-01-31T18:04:19+01:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:28.177673", "created_at": "2024-01-31T18:26:17+01:00", "updated_at": "2024-01-31T18:26:17+01:00", "name": "Scan with Detekt", "path": ".github/workflows/detekt.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:29.163671", "created_at": "2024-01-31T18:22:11+01:00", "updated_at": "2024-01-31T18:22:11+01:00", "name": "DevSkim", "path": ".github/workflows/devskim.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:30.164393", "created_at": "2024-01-31T18:22:27+01:00", "updated_at": "2024-01-31T18:22:27+01:00", "name": "Endor Labs", "path": ".github/workflows/endorlabs.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:31.183093", "created_at": "2024-01-31T18:26:25+01:00", "updated_at": "2024-01-31T20:34:49+01:00", "name": "ESLint", "path": ".github/workflows/eslint.yml", "contents": null, "state": "disabled_manually", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:32.263159", "created_at": "2024-01-31T18:22:34+01:00", "updated_at": "2024-01-31T18:22:34+01:00", "name": "EthicalCheck-Workflow", "path": ".github/workflows/ethicalcheck.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:33.380562", "created_at": "2024-01-31T18:26:32+01:00", "updated_at": "2024-01-31T18:26:32+01:00", "name": "flawfinder", "path": ".github/workflows/flawfinder.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:34.396080", "created_at": "2024-01-31T18:24:32+01:00", "updated_at": "2024-01-31T18:24:32+01:00", "name": "Hadolint", "path": ".github/workflows/hadolint.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:36.160690", "created_at": "2024-01-31T18:26:38+01:00", "updated_at": "2024-01-31T18:26:38+01:00", "name": "Jscrambler Code Integrity", "path": ".github/workflows/jscrambler-code-integrity.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:37.260758", "created_at": "2024-01-31T18:26:44+01:00", "updated_at": "2024-01-31T18:26:44+01:00", "name": "Kubesec", "path": ".github/workflows/kubesec.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:38.299119", "created_at": "2024-01-31T18:26:51+01:00", "updated_at": "2024-01-31T18:26:51+01:00", "name": "lintr", "path": ".github/workflows/lintr.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:39.548967", "created_at": "2024-01-31T18:22:56+01:00", "updated_at": "2024-01-31T18:22:56+01:00", "name": "Mayhem for API", "path": ".github/workflows/mayhem-for-api.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:40.645016", "created_at": "2024-01-31T18:26:56+01:00", "updated_at": "2024-01-31T18:26:56+01:00", "name": "MobSF", "path": ".github/workflows/mobsf.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:41.665333", "created_at": "2024-01-31T18:27:04+01:00", "updated_at": "2024-01-31T18:27:04+01:00", "name": "Microsoft C++ Code Analysis", "path": ".github/workflows/msvc.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:42.665373", "created_at": "2024-01-31T18:27:09+01:00", "updated_at": "2024-01-31T18:27:09+01:00", "name": "njsscan sarif", "path": ".github/workflows/njsscan.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:43.849850", "created_at": "2024-01-31T18:27:17+01:00", "updated_at": "2024-01-31T18:27:17+01:00", "name": "NowSecure Mobile SBOM", "path": ".github/workflows/nowsecure-mobile-sbom.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:44.950283", "created_at": "2024-01-31T18:27:30+01:00", "updated_at": "2024-01-31T18:27:30+01:00", "name": "NowSecure", "path": ".github/workflows/nowsecure.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:45.983969", "created_at": "2023-08-11T03:37:14+02:00", "updated_at": "2023-08-11T03:37:14+02:00", "name": "OSSAR", "path": ".github/workflows/ossar-analysis.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:47.229170", "created_at": "2024-01-31T18:23:24+01:00", "updated_at": "2024-01-31T18:23:24+01:00", "name": "OSSAR", "path": ".github/workflows/ossar.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:48.346052", "created_at": "2024-01-31T18:27:37+01:00", "updated_at": "2024-01-31T18:27:37+01:00", "name": "PHPMD", "path": ".github/workflows/phpmd.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:49.494174", "created_at": "2023-11-16T14:16:19+01:00", "updated_at": "2023-11-16T14:16:19+01:00", "name": "PIP audit", "path": ".github/workflows/pip-audit.yml", "contents": "name: PIP audit\n\non:\n  schedule:\n  - cron: '0 8 * * 1'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n\n      - uses: pypa/gh-action-pip-audit@v1.0.8\n        with:\n          inputs: .\n", "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:50.520894", "created_at": "2024-01-31T18:27:43+01:00", "updated_at": "2024-01-31T18:27:43+01:00", "name": "pmd", "path": ".github/workflows/pmd.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:51.736498", "created_at": "2024-01-31T18:27:50+01:00", "updated_at": "2024-01-31T18:27:50+01:00", "name": "PSScriptAnalyzer", "path": ".github/workflows/powershell.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:52.848749", "created_at": "2024-01-31T18:27:56+01:00", "updated_at": "2024-01-31T18:27:56+01:00", "name": "Prisma Cloud IaC Scan", "path": ".github/workflows/prisma.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:53.854865", "created_at": "2024-01-31T18:28:03+01:00", "updated_at": "2024-01-31T18:28:03+01:00", "name": "Psalm Security Scan", "path": ".github/workflows/psalm.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:54.908703", "created_at": "2020-08-31T22:36:37+02:00", "updated_at": "2020-08-31T22:36:37+02:00", "name": "publish to pypi", "path": ".github/workflows/publish.yml", "contents": "# use PyPI trusted publishing, as described here: \n# https://blog.trailofbits.com/2023/05/23/trusted-publishing-a-new-benchmark-for-packaging-security/\nname: publish to pypi\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: write\n\njobs:\n  pypi-publish:\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - name: Set up Python\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: '3.8'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install -e .[build]\n      - name: build package\n        run: |\n          python -m build\n      - name: upload package artifacts\n        uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1\n        with:\n          path: dist/*\n      - name: publish package\n        uses: pypa/gh-action-pypi-publish@f5622bde02b04381239da3573277701ceca8f6a0  # release/v1\n        with:\n          skip-existing: true\n          verbose: true\n          print-hash: true\n", "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:55.936597", "created_at": "2024-01-31T18:28:09+01:00", "updated_at": "2024-01-31T18:28:09+01:00", "name": "puppet-lint", "path": ".github/workflows/puppet-lint.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:56.975224", "created_at": "2024-01-31T18:23:33+01:00", "updated_at": "2024-01-31T18:23:33+01:00", "name": "Pyre", "path": ".github/workflows/pyre.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:58.175906", "created_at": "2024-01-31T18:23:38+01:00", "updated_at": "2024-01-31T18:23:38+01:00", "name": "Pysa", "path": ".github/workflows/pysa.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:37:59.286365", "created_at": "2024-01-31T18:28:15+01:00", "updated_at": "2024-01-31T18:28:15+01:00", "name": "Rubocop", "path": ".github/workflows/rubocop.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:00.305338", "created_at": "2024-01-31T18:28:21+01:00", "updated_at": "2024-01-31T18:28:21+01:00", "name": "rust-clippy analyze", "path": ".github/workflows/rust-clippy.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:01.393196", "created_at": "2023-01-24T14:15:56+01:00", "updated_at": "2023-01-24T14:15:56+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '43 4 * * 3'\n  push:\n    branches: [ \"master\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  # v4.1.1\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@8a470fddafa5cbb6266ee11b37ef4d8aae19c571  # v3.24.6\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:02.374495", "created_at": "2024-01-31T18:29:02+01:00", "updated_at": "2024-01-31T18:29:02+01:00", "name": "SecurityCodeScan", "path": ".github/workflows/securitycodescan.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:03.613171", "created_at": "2024-01-31T18:23:45+01:00", "updated_at": "2024-01-31T18:23:45+01:00", "name": "Semgrep", "path": ".github/workflows/semgrep.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:04.841862", "created_at": "2024-01-31T18:24:38+01:00", "updated_at": "2024-01-31T18:24:38+01:00", "name": "Snyk Container", "path": ".github/workflows/snyk-container.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:06.276440", "created_at": "2024-01-31T18:29:06+01:00", "updated_at": "2024-01-31T18:29:06+01:00", "name": "Snyk Infrastructure as Code", "path": ".github/workflows/snyk-infrastructure.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:07.544971", "created_at": "2024-01-31T18:21:20+01:00", "updated_at": "2024-01-31T18:21:20+01:00", "name": "Snyk Security", "path": ".github/workflows/snyk-security.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:08.831177", "created_at": "2024-01-31T18:29:14+01:00", "updated_at": "2024-01-31T18:29:14+01:00", "name": "Sobelow", "path": ".github/workflows/sobelow.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:10.632254", "created_at": "2024-01-31T18:29:21+01:00", "updated_at": "2024-01-31T18:29:21+01:00", "name": "SonarCloud analysis", "path": ".github/workflows/sonarcloud.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:11.735472", "created_at": "2024-01-31T18:29:26+01:00", "updated_at": "2024-01-31T18:29:26+01:00", "name": "SonarQube analysis", "path": ".github/workflows/sonarqube.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:12.801415", "created_at": "2024-01-31T18:29:32+01:00", "updated_at": "2024-01-31T18:29:32+01:00", "name": "SOOS DAST Scan", "path": ".github/workflows/soos-dast-scan.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:13.797589", "created_at": "2024-01-31T18:23:51+01:00", "updated_at": "2024-01-31T18:23:51+01:00", "name": "StackHawk", "path": ".github/workflows/stackhawk.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:14.810758", "created_at": "2024-01-31T18:23:58+01:00", "updated_at": "2024-01-31T18:23:58+01:00", "name": "Synopsys Security Testing", "path": ".github/workflows/synopsys-action.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:15.915216", "created_at": "2024-01-31T18:24:05+01:00", "updated_at": "2024-01-31T18:24:05+01:00", "name": "Synopsys Intelligent Security Scan", "path": ".github/workflows/synopsys-io.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:16.968358", "created_at": "2024-01-31T18:21:29+01:00", "updated_at": "2024-01-31T18:21:29+01:00", "name": "Sysdig - Build, scan, push and upload sarif report", "path": ".github/workflows/sysdig-scan.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:18.097899", "created_at": "2021-03-23T09:55:01+01:00", "updated_at": "2021-03-23T09:55:01+01:00", "name": "tag", "path": ".github/workflows/tag.yml", "contents": "name: tag\n\non:\n  release:\n    types: [published]\n\npermissions: read-all\n\njobs:\n  tag:\n    name: Tag capa rules\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Checkout capa-rules\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      with:\n        repository: mandiant/capa-rules\n        token: ${{ secrets.CAPA_TOKEN }}\n    - name: Tag capa-rules\n      run: |\n        # user information is needed to create annotated tags (with a message)\n        git config user.email 'capa-dev@mandiant.com'\n        git config user.name 'Capa Bot'\n        name=${{ github.event.release.tag_name }}\n        git tag $name -m \"https://github.com/mandiant/capa/releases/$name\"\n        # TODO update branch name-major=${name%%.*}\n    - name: Push tag to capa-rules\n      uses: ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df # v0.8.0\n      with:\n        repository: mandiant/capa-rules\n        github_token: ${{ secrets.CAPA_TOKEN }}\n        tags: true\n", "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:19.396867", "created_at": "2020-07-16T22:06:40+02:00", "updated_at": "2021-04-26T16:45:12+02:00", "name": "CI", "path": ".github/workflows/tests.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\npermissions: read-all\n\n# save workspaces to speed up testing\nenv:\n  CAPA_SAVE_WORKSPACE: \"True\"\n\njobs:\n  changelog_format:\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Checkout capa\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    # The sync GH action in capa-rules relies on a single '- *$' in the CHANGELOG file\n    - name: Ensure CHANGELOG has '- *$'\n      run: |\n        number=$(grep '\\- *$' CHANGELOG.md | wc -l)\n        if [ $number != 1 ]; then exit 1; fi\n\n  code_style:\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Checkout capa\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    # use latest available python to take advantage of best performance\n    - name: Set up Python 3.11\n      uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n      with:\n        python-version: \"3.11\"\n    - name: Install dependencies\n      run: |\n        pip install -r requirements.txt\n        pip install -e .[dev,scripts]\n    - name: Lint with ruff\n      run: pre-commit run ruff\n    - name: Lint with isort\n      run: pre-commit run isort --show-diff-on-failure\n    - name: Lint with black\n      run: pre-commit run black --show-diff-on-failure\n    - name: Lint with flake8\n      run: pre-commit run flake8 --hook-stage manual\n    - name: Check types with mypy\n      run: pre-commit run mypy --hook-stage manual\n    - name: Check imports against dependencies\n      run: pre-commit run deptry --hook-stage manual\n\n  rule_linter:\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Checkout capa with submodules\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      with:\n        submodules: recursive\n    - name: Set up Python 3.11\n      uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n      with:\n        python-version: \"3.11\"\n    - name: Install capa\n      run: |\n        pip install -r requirements.txt\n        pip install -e .[dev,scripts]\n    - name: Run rule linter\n      run: python scripts/lint.py rules/\n\n  tests:\n    name: Tests in ${{ matrix.python-version }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    needs: [code_style, rule_linter]\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, windows-2019, macos-11]\n        # across all operating systems\n        python-version: [\"3.8\", \"3.11\"]\n        include:\n          # on Ubuntu run these as well\n          - os: ubuntu-20.04\n            python-version: \"3.8\"\n          - os: ubuntu-20.04\n            python-version: \"3.9\"\n          - os: ubuntu-20.04\n            python-version: \"3.10\"\n    steps:\n    - name: Checkout capa with submodules\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      with:\n        submodules: recursive\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install pyyaml\n      if: matrix.os == 'ubuntu-20.04'\n      run: sudo apt-get install -y libyaml-dev\n    - name: Install capa\n      run: |\n        pip install -r requirements.txt\n        pip install -e .[dev,scripts]\n    - name: Run tests (fast)\n      # this set of tests runs about 80% of the cases in 20% of the time,\n      # and should catch most errors quickly.\n      run:  pre-commit run pytest-fast --all-files --hook-stage manual\n    - name: Run tests\n      run: pytest -v tests/\n\n  binja-tests:\n    name: Binary Ninja tests for ${{ matrix.python-version }}\n    env:\n      BN_SERIAL: ${{ secrets.BN_SERIAL }}\n    runs-on: ubuntu-22.04\n    needs: [tests]\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.11\"]\n    steps:\n    - name: Checkout capa with submodules\n      # do only run if BN_SERIAL is available, have to do this in every step, see https://github.com/orgs/community/discussions/26726#discussioncomment-3253118\n      if: ${{ env.BN_SERIAL != 0 }}\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      with:\n        submodules: recursive\n    - name: Set up Python ${{ matrix.python-version }}\n      if: ${{ env.BN_SERIAL != 0 }}\n      uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install pyyaml\n      if: ${{ env.BN_SERIAL != 0 }}\n      run: sudo apt-get install -y libyaml-dev\n    - name: Install capa\n      if: ${{ env.BN_SERIAL != 0 }}\n      run: |\n        pip install -r requirements.txt\n        pip install -e .[dev,scripts]\n    - name: install Binary Ninja\n      if: ${{ env.BN_SERIAL != 0 }}\n      run: |\n        mkdir ./.github/binja\n        curl \"https://raw.githubusercontent.com/Vector35/binaryninja-api/6812c97/scripts/download_headless.py\" -o ./.github/binja/download_headless.py\n        python ./.github/binja/download_headless.py --serial ${{ env.BN_SERIAL }} --output .github/binja/BinaryNinja-headless.zip\n        unzip .github/binja/BinaryNinja-headless.zip -d .github/binja/\n        python .github/binja/binaryninja/scripts/install_api.py --install-on-root --silent\n    - name: Run tests\n      if: ${{ env.BN_SERIAL != 0 }}\n      env:\n        BN_LICENSE: ${{ secrets.BN_LICENSE }}\n      run: pytest -v tests/test_binja_features.py  # explicitly refer to the binja tests for performance. other tests run above.\n\n  ghidra-tests:\n    name: Ghidra tests for ${{ matrix.python-version }}\n    runs-on: ubuntu-20.04\n    needs: [tests]\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.11\"]\n        java-version: [\"17\"]\n        ghidra-version: [\"11.0.1\"]\n        public-version: [\"PUBLIC_20240130\"] # for ghidra releases\n        ghidrathon-version: [\"4.0.0\"] \n    steps:\n    - name: Checkout capa with submodules\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      with:\n        submodules: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Set up Java ${{ matrix.java-version }}\n      uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0\n      with:\n        distribution: 'temurin'\n        java-version: ${{ matrix.java-version }}\n    - name: Install Ghidra ${{ matrix.ghidra-version }} \n      run: |\n        mkdir ./.github/ghidra\n        wget \"https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_${{ matrix.ghidra-version }}_build/ghidra_${{ matrix.ghidra-version }}_${{ matrix.public-version }}.zip\" -O ./.github/ghidra/ghidra_${{ matrix.ghidra-version }}_PUBLIC.zip\n        unzip .github/ghidra/ghidra_${{ matrix.ghidra-version }}_PUBLIC.zip -d .github/ghidra/\n    - name: Install Ghidrathon\n      run : |\n        mkdir ./.github/ghidrathon\n        wget \"https://github.com/mandiant/Ghidrathon/releases/download/v${{ matrix.ghidrathon-version }}/Ghidrathon-v${{ matrix.ghidrathon-version}}.zip\" -O ./.github/ghidrathon/ghidrathon-v${{ matrix.ghidrathon-version }}.zip\n        unzip .github/ghidrathon/ghidrathon-v${{ matrix.ghidrathon-version }}.zip -d .github/ghidrathon/\n        python -m pip install -r .github/ghidrathon/requirements.txt\n        python .github/ghidrathon/ghidrathon_configure.py $(pwd)/.github/ghidra/ghidra_${{ matrix.ghidra-version }}_PUBLIC\n        unzip .github/ghidrathon/Ghidrathon-v${{ matrix.ghidrathon-version }}.zip -d .github/ghidra/ghidra_${{ matrix.ghidra-version }}_PUBLIC/Ghidra/Extensions\n    - name: Install pyyaml\n      run: sudo apt-get install -y libyaml-dev\n    - name: Install capa\n      run: |\n        pip install -r requirements.txt\n        pip install -e .[dev,scripts]\n    - name: Run tests\n      run: | \n        mkdir ./.github/ghidra/project\n        .github/ghidra/ghidra_${{ matrix.ghidra-version }}_PUBLIC/support/analyzeHeadless .github/ghidra/project ghidra_test -Import ./tests/data/mimikatz.exe_ -ScriptPath ./tests/ -PostScript test_ghidra_features.py > ../output.log\n        cat ../output.log\n        exit_code=$(cat ../output.log | grep exit | awk '{print $NF}')\n        exit $exit_code\n \n", "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:20.438532", "created_at": "2024-01-31T18:29:39+01:00", "updated_at": "2024-01-31T18:29:39+01:00", "name": "tfsec", "path": ".github/workflows/tfsec.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:21.450145", "created_at": "2024-01-31T18:24:44+01:00", "updated_at": "2024-01-31T18:24:44+01:00", "name": "trivy", "path": ".github/workflows/trivy.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:22.486335", "created_at": "2023-08-11T03:37:14+02:00", "updated_at": "2023-08-11T03:37:14+02:00", "name": "Veracode Static Analysis Pipeline Scan", "path": ".github/workflows/veracode-analysis.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:23.507193", "created_at": "2024-01-31T18:24:11+01:00", "updated_at": "2024-01-31T18:24:11+01:00", "name": "Veracode Static Analysis Pipeline Scan", "path": ".github/workflows/veracode.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:24.551651", "created_at": "2024-01-31T18:29:44+01:00", "updated_at": "2024-01-31T18:29:44+01:00", "name": "Xanitizer Security Analysis", "path": ".github/workflows/xanitizer.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:25.584034", "created_at": "2024-01-31T18:29:52+01:00", "updated_at": "2024-01-31T20:34:27+01:00", "name": "Zscaler IaC Scan", "path": ".github/workflows/zscaler-iac-scan.yml", "contents": null, "state": "disabled_manually", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:26.582071", "created_at": "2024-01-31T18:29:56+01:00", "updated_at": "2024-01-31T18:29:56+01:00", "name": "Zimperium zScan", "path": ".github/workflows/zscan.yml", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:27.767902", "created_at": "2023-08-09T23:56:55+02:00", "updated_at": "2023-08-09T23:56:55+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:28.784653", "created_at": "2024-06-20T12:06:57+02:00", "updated_at": "2024-06-20T12:06:57+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mandiant/capa"}
{"mined_at": "2024-07-15T16:38:30.954947", "created_at": "2022-10-06T23:29:19+02:00", "updated_at": "2022-10-06T23:29:19+02:00", "name": "Build Installer", "path": ".github/workflows/build_installer.yaml", "contents": "\nname: Build Installer\n\n# installer/ 以下のファイルに変更があったとき or\n# .github/workflows/build_installer.yaml (このファイル) に変更があったとき or 他のワークフローからの呼び出し or 手動実行\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'installer/**'\n      - '.github/workflows/build_installer.yaml'\n  workflow_call:\n  workflow_dispatch:\n\n# ジョブの定義\njobs:\n\n  # Windows 向けのインストーラーのビルド\n  build-windows:\n    runs-on: windows-2022\n    steps:\n\n      # KonomiTV のソースコードをチェックアウト\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n\n      # Python 3.11 環境をセットアップ\n      ## 事前に Runner 自体に入っている Python に Poetry をインストールしておく必要がある\n      - name: Install Poetry (for Runner)\n        run: |\n          python -m pip install poetry\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: 'poetry'\n          cache-dependency-path: '${{ github.workspace }}/installer/poetry.lock'\n\n      # インストーラーの依存関係をインストール\n      - name: Install Dependencies\n        working-directory: installer/\n        run: |\n          pip install poetry\n          poetry install --no-root\n\n      # インストーラーを PyInstaller でビルド\n      - name: Build Installer with PyInstaller\n        working-directory: installer/\n        run: poetry run task build-windows\n\n      # 単一実行ファイルにビルドされたインストーラーを Artifact としてアップロード\n      - name: Upload Installer Executable as Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: KonomiTV-Installer.exe\n          path: installer/dist/KonomiTV-Installer.exe\n\n  # Linux 向けのインストーラーのビルド\n  build-linux:\n    runs-on: ubuntu-20.04\n    steps:\n\n      # KonomiTV のソースコードをチェックアウト\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n\n      # Python 3.11 環境をセットアップ\n      ## 事前に Runner 自体に入っている Python に Poetry をインストールしておく必要がある\n      - name: Install Poetry (for Runner)\n        run: |\n          python -m pip install poetry\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: 'poetry'\n          cache-dependency-path: '${{ github.workspace }}/installer/poetry.lock'\n\n      # インストーラーの依存関係をインストール\n      - name: Install Dependencies\n        working-directory: installer/\n        run: |\n          pip install poetry\n          poetry install --no-root\n\n      # インストーラーを PyInstaller でビルド\n      - name: Build Installer with PyInstaller\n        working-directory: installer/\n        run: poetry run task build-linux\n\n      # 単一実行ファイルにビルドされたインストーラーを Artifact としてアップロード\n      - name: Upload Installer Executable as Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: KonomiTV-Installer.elf\n          path: installer/dist/KonomiTV-Installer.elf\n\n  # Linux (ARM) 向けのインストーラーのビルド\n  build-linux-arm:\n    runs-on: ubuntu-20.04\n    steps:\n\n      # QEMU のセットアップ\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: linux/arm64\n\n      # Docker Buildx のセットアップ\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      # Dockerfile の作成\n      - name: Create Dockerfile\n        run: |\n          cat <<EOF > Dockerfile\n          ARG IMAGE\n          FROM \\${IMAGE}\n          ENV DEBIAN_FRONTEND=noninteractive\n          RUN apt-get update && \\\n              apt-get install -y --no-install-recommends software-properties-common && \\\n              add-apt-repository -y ppa:deadsnakes/ppa && \\\n              apt-get install -y \\\n                build-essential \\\n                curl \\\n                patchelf \\\n                python3.11 \\\n                python3.11-dev \\\n                python3.11-distutils \\\n                python3.11-venv \\\n                zlib1g \\\n                zlib1g-dev\n          RUN curl https://bootstrap.pypa.io/get-pip.py | python3.11\n          RUN python3.11 -m pip install poetry\n          EOF\n\n      # ARM64 版 Docker イメージのビルド\n      - name: Build Docker Image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          tags: arm64v8/ubuntu:build\n          build-args: IMAGE=arm64v8/ubuntu:20.04\n          cache-from: type=gha,scope=arm64v8/ubuntu\n          cache-to: type=gha,scope=arm64v8/ubuntu,mode=max\n          load: true\n\n      # Dockerfile を削除\n      - name: Remove Dockerfile\n        run: rm Dockerfile\n\n      # KonomiTV のソースコードをチェックアウト\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n\n      # インストーラーを PyInstaller でビルド\n      - name: Build Installer with PyInstaller\n        working-directory: installer/\n        run: |\n          docker run --rm -i -v $(pwd):/work -w /work arm64v8/ubuntu:build bash -c \\\n            'poetry install --no-root && poetry run task build-linux'\n          sudo cp -a dist/KonomiTV-Installer.elf dist/KonomiTV-Installer-ARM.elf\n\n      # 単一実行ファイルにビルドされたインストーラーを Artifact としてアップロード\n      - name: Upload Installer Executable as Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: KonomiTV-Installer-ARM.elf\n          path: installer/dist/KonomiTV-Installer-ARM.elf\n", "state": "active", "repository": "tsukumijima/konomitv"}
{"mined_at": "2024-07-15T16:38:32.223088", "created_at": "2022-08-13T15:21:39+02:00", "updated_at": "2022-08-13T15:21:39+02:00", "name": "Build Thirdparty Libraries", "path": ".github/workflows/build_thirdparty.yaml", "contents": "\nname: Build Thirdparty Libraries\n\n# .github/workflows/build_thirdparty.yaml (このファイル) に変更があったとき or 他のワークフローからの呼び出し or 手動実行\non:\n  push:\n    branches:\n      - master\n    paths:\n      - '.github/workflows/build_thirdparty.yaml'\n  workflow_call:\n  workflow_dispatch:\n\n# 各サードパーティーライブラリのバージョン\nenv:\n  # Python のバージョン (Python Standalone Builds のリリースを指定する)\n  ## ref: https://github.com/indygreg/python-build-standalone/releases\n  PYTHON_TAG: '20240415'\n  PYTHON_MAJOR_VERSION: '3.11'\n  PYTHON_VERSION: '3.11.9'\n  # Poetry のバージョン\n  POETRY_VERSION: '1.8.3'\n  # FFmpeg のバージョン (FFmpeg-Builds のリリースを指定する)\n  ## FFmpeg-Builds は毎月末のリリースが長期間保持されるため、基本毎月末のリリースを指定する\n  ## FFMPEG_HWENCC_* は QSVEncC・NVEncC・VCEEncC (for Ubuntu 20.04 LTS) が依存する FFmpeg のバージョンを示す\n  ## FFmpeg-Builds の最新リリースでは FFmpeg 4.4 系がビルドされなくなったため、FFMPEG_HWENCC_* は 4.4 系の最終ビルドで固定されている\n  ## (正確には Ubuntu 20.04 LTS で入る FFmpeg は 4.2 系だが、FFmpeg 4.x 系であれば ABI 互換性があるため 4.4 系でも動作する)\n  ## ref: https://github.com/BtbN/FFmpeg-Builds/releases\n  FFMPEG_TAG: 'autobuild-2024-04-30-12-51'\n  FFMPEG_MAJOR_VERSION: '7.0'\n  FFMPEG_VERSION: '7.0-21-gfb8f0ea7b3'\n  FFMPEG_HWENCC_TAG: 'autobuild-2024-03-31-17-28'\n  FFMPEG_HWENCC_MAJOR_VERSION: '4.4'\n  FFMPEG_HWENCC_VERSION: '4.4.4-94-g5d07afd482'\n  # QSVEncC・NVEncC・VCEEncC・rkmppenc のバージョン\n  ## ref: https://github.com/rigaya/QSVEnc/releases\n  ## ref: https://github.com/rigaya/NVEnc/releases\n  ## ref: https://github.com/rigaya/VCEEnc/releases\n  ## ref: https://github.com/rigaya/rkmppenc/releases\n  QSVENCC_VERSION: '7.66'\n  NVENCC_VERSION: '7.54'\n  VCEENCC_VERSION: '8.22'\n  RKMPPENC_VERSION: '0.09'\n  # libmediainfo のバージョン\n  ## Windows 版の pymediainfo (ビルド済みの MediaInfo.dll が同梱されている) とバージョンを合わせる\n  ## ref: https://github.com/sbraz/pymediainfo/blob/v6.0.1/appveyor.yml#L6\n  LIBMEDIAINFO_VERSION: '22.09'\n  # Akebi HTTPS Server ビルド用の Golang のバージョン\n  GOLANG_VERSION: '1.21.10'\n  # ビルド対象の tsreadex・psisiarc・Akebi のコミットハッシュ\n  TSREADEX_COMMIT_HASH: 'eddc8bca0de99627d3867259e7a6e777cbd3b3c6'\n  PSISIARC_COMMIT_HASH: '6593a0f63aedaaecfac7682b51e267874a8ec549'\n  AKEBI_COMMIT_HASH: '3ba9a548baaa882f55b209ab0040cd1691078e66'\n\n# ジョブの定義\njobs:\n\n  # Windows 向けのサードパーティーライブラリのビルド\n  build-windows:\n    runs-on: windows-2022\n    steps:\n\n      # MSBuild を PATH に追加\n      - name: Add MSBuild to PATH\n        uses: microsoft/setup-msbuild@v2\n\n      # サードパーティーライブラリの配置フォルダを作成\n      - name: Create Thirdparty Folder\n        run: mkdir thirdparty/\n\n      # tsreadex のビルド\n      - name: Build tsreadex\n        run: |\n          git clone https://github.com/xtne6f/tsreadex\n          cd tsreadex/\n          git checkout ${{ env.TSREADEX_COMMIT_HASH }}\n          msbuild tsreadex.sln /t:Build /p:Configuration=Release /p:Platform=x64 /p:PlatformToolset=v142\n          mkdir ../thirdparty/tsreadex/\n          cp x64/Release/tsreadex.exe ../thirdparty/tsreadex/tsreadex.exe\n          cp License.txt ../thirdparty/tsreadex/\n\n      # psisiarc のビルド\n      - name: Build psisiarc\n        run: |\n          git clone https://github.com/xtne6f/psisiarc\n          cd psisiarc/\n          git checkout ${{ env.PSISIARC_COMMIT_HASH }}\n          msbuild psisiarc.sln /t:Build /p:Configuration=Release /p:Platform=x64 /p:PlatformToolset=v142\n          mkdir ../thirdparty/psisiarc/\n          cp x64/Release/psisiarc.exe ../thirdparty/psisiarc/psisiarc.exe\n          cp License.txt ../thirdparty/psisiarc/\n\n      # Golang 環境のセットアップ\n      - name: Setup Golang Environment\n        uses: actions/setup-go@v5\n        with:\n          go-version: ${{ env.GOLANG_VERSION }}\n          cache: false\n\n      # Akebi HTTPS Server のビルド\n      - name: Build Akebi HTTPS Server\n        run: |\n          go env\n          git clone https://github.com/tsukumijima/Akebi\n          cd Akebi/\n          git checkout ${{ env.AKEBI_COMMIT_HASH }}\n          make build-https-server\n          mkdir ../thirdparty/Akebi/\n          cp akebi-https-server.exe ../thirdparty/Akebi/akebi-https-server.exe\n          cp License.txt ../thirdparty/Akebi/\n\n      # FFmpeg・QSVEncC・NVEncC・VCEEncC のアーカイブのダウンロード\n      # 実際にビルドすると時間がかかりすぎるので、アーカイブをダウンロードして配置する\n      - name: Download and Deploy Encoder Archives\n        run: |\n\n          # FFmpeg のアーカイブのダウンロード\n          curl -LO https://github.com/BtbN/FFmpeg-Builds/releases/download/${{ env.FFMPEG_TAG }}/ffmpeg-n${{ env.FFMPEG_VERSION }}-win64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}.zip\n          7z x -y ffmpeg-n${{ env.FFMPEG_VERSION }}-win64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}.zip\n          mkdir thirdparty/FFmpeg/\n          cp ffmpeg-n${{ env.FFMPEG_VERSION }}-win64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}/bin/* thirdparty/FFmpeg/\n          cp ffmpeg-n${{ env.FFMPEG_VERSION }}-win64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}/LICENSE.txt thirdparty/FFmpeg/License.txt\n          rm thirdparty/FFmpeg/ffplay.exe\n\n          # QSVEncC のアーカイブのダウンロード\n          curl -LO https://github.com/rigaya/QSVEnc/releases/download/${{ env.QSVENCC_VERSION }}/QSVEncC_${{ env.QSVENCC_VERSION }}_x64.7z\n          7z x -y -o\"thirdparty/QSVEncC\" QSVEncC_${{ env.QSVENCC_VERSION }}_x64.7z\n          rm thirdparty/QSVEncC/hdr10plus_gen.exe\n          mv thirdparty/QSVEncC/QSVEncC64.exe thirdparty/QSVEncC/QSVEncC.exe\n          curl -L -o thirdparty/QSVEncC/License.txt https://raw.githubusercontent.com/rigaya/QSVEnc/master/license.txt\n\n          # NVEncC のアーカイブのダウンロード\n          curl -LO https://github.com/rigaya/NVEnc/releases/download/${{ env.NVENCC_VERSION }}/NVEncC_${{ env.NVENCC_VERSION }}_x64.7z\n          7z x -y -o\"thirdparty/NVEncC\" NVEncC_${{ env.NVENCC_VERSION }}_x64.7z\n          rm thirdparty/NVEncC/hdr10plus_gen.exe\n          mv thirdparty/NVEncC/NVEncC64.exe thirdparty/NVEncC/NVEncC.exe\n          curl -L -o thirdparty/NVEncC/License.txt https://raw.githubusercontent.com/rigaya/NVEnc/master/NVEnc_license.txt\n\n          # VCEEncC のアーカイブのダウンロード\n          curl -LO https://github.com/rigaya/VCEEnc/releases/download/${{ env.VCEENCC_VERSION }}/VCEEncC_${{ env.VCEENCC_VERSION }}_x64.7z\n          7z x -y -o\"thirdparty/VCEEncC\" VCEEncC_${{ env.VCEENCC_VERSION }}_x64.7z\n          rm thirdparty/VCEEncC/hdr10plus_gen.exe\n          mv thirdparty/VCEEncC/VCEEncC64.exe thirdparty/VCEEncC/VCEEncC.exe\n          curl -L -o thirdparty/VCEEncC/License.txt https://raw.githubusercontent.com/rigaya/VCEEnc/master/VCEEnc_license.txt\n\n      # Python Standalone Builds のダウンロードと poetry のインストール\n      - name: Install Python Standalone Builds & pip & poetry\n        run: |\n\n          # Python 本体のダウンロード\n          curl -L -o python.tar.gz https://github.com/indygreg/python-build-standalone/releases/download/${{ env.PYTHON_TAG }}/cpython-${{ env.PYTHON_VERSION }}+${{ env.PYTHON_TAG }}-x86_64-pc-windows-msvc-install_only.tar.gz\n          tar xvf python.tar.gz\n          mv python/ thirdparty/Python/\n          Rename-Item thirdparty/Python/LICENSE.txt License.txt\n\n          # poetry のインストール\n          thirdparty/Python/python.exe -m pip install poetry==${{ env.POETRY_VERSION }}\n\n      # サードパーティーライブラリを 7z で圧縮\n      # ファイルサイズ縮減のため、圧縮をかなり強めに掛けている\n      # バイナリ圧縮アルゴリズムの BCJ2 はインストーラーで使っている py7zr (liblzma) だとサポートされていないので、代わりに BCJ を使う\n      # ref: https://axelstudios.github.io/7z/#!/\n      - name: Compress Thirdparty Libraries\n        run: |\n          7z a -m0=LZMA2 -mx=9 -md=128m -mfb=128 -ms=16g -mmt=on -mf=BCJ thirdparty-windows.7z thirdparty\n\n      # 7z で圧縮したサードパーティーライブラリを Artifact としてアップロード\n      - name: Upload Thirdparty Libraries as Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: thirdparty-windows.7z\n          path: thirdparty-windows.7z\n\n  # Linux 向けのサードパーティーライブラリのビルド\n  build-linux:\n    runs-on: ubuntu-20.04\n    steps:\n\n      # サードパーティーライブラリの配置フォルダを作成\n      - name: Create Thirdparty Folder\n        run: mkdir thirdparty/\n\n      # tsreadex のビルド\n      - name: Build tsreadex\n        run: |\n          git clone https://github.com/xtne6f/tsreadex\n          cd tsreadex/\n          git checkout ${{ env.TSREADEX_COMMIT_HASH }}\n          make\n          mkdir ../thirdparty/tsreadex/\n          cp tsreadex ../thirdparty/tsreadex/tsreadex.elf\n          chmod a+x ../thirdparty/tsreadex/tsreadex.elf\n          cp License.txt ../thirdparty/tsreadex/\n\n      # psisiarc のビルド\n      - name: Build psisiarc\n        run: |\n          git clone https://github.com/xtne6f/psisiarc\n          cd psisiarc/\n          git checkout ${{ env.PSISIARC_COMMIT_HASH }}\n          make\n          mkdir ../thirdparty/psisiarc/\n          cp psisiarc ../thirdparty/psisiarc/psisiarc.elf\n          chmod a+x ../thirdparty/psisiarc/psisiarc.elf\n          cp License.txt ../thirdparty/psisiarc/\n\n      # デフォルトで勝手にキャッシュされてる (?) Golang を削除\n      # ここで削除しておかないと意図しないバージョンの Golang が使われてしまうことがある (?)\n      - name: Remove Default Golang\n        run: sudo rm -rf /opt/hostedtoolcache/go/*\n\n      # Golang 環境のセットアップ\n      - name: Setup Golang Environment\n        uses: actions/setup-go@v5\n        with:\n          go-version: ${{ env.GOLANG_VERSION }}\n          cache: false\n\n      # Akebi HTTPS Server のビルド\n      - name: Build Akebi HTTPS Server\n        run: |\n          go env\n          git clone https://github.com/tsukumijima/Akebi\n          cd Akebi/\n          git checkout ${{ env.AKEBI_COMMIT_HASH }}\n          GOARCH=amd64 make build-https-server\n          mkdir ../thirdparty/Akebi/\n          cp akebi-https-server ../thirdparty/Akebi/akebi-https-server.elf\n          chmod a+x ../thirdparty/Akebi/akebi-https-server.elf\n          cp License.txt ../thirdparty/Akebi/\n\n      # FFmpeg・QSVEncC・NVEncC・VCEEncC のアーカイブのダウンロードと配置\n      # ドライバさえ入っていればスタンドアローンで実行できるように構成を工夫している\n      - name: Download and Deploy Encoder Archives\n        run: |\n\n          # p7zip-full と patchelf のインストール\n          ## patchelf は ELF バイナリに埋め込まれている rpath (動的ライブラリの検索パス) を変更するツールで、\n          ## QSV/NV/VCEEncC に rpath を追加するために使う\n          ## ref: https://stackoverflow.com/questions/13769141/can-i-change-rpath-in-an-already-compiled-binary\n          sudo apt-get update\n          sudo apt-get install -y p7zip-full patchelf\n\n          # FFmpeg のアーカイブのダウンロード\n          curl -LO https://github.com/BtbN/FFmpeg-Builds/releases/download/${{ env.FFMPEG_TAG }}/ffmpeg-n${{ env.FFMPEG_VERSION }}-linux64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}.tar.xz\n          tar xvf ffmpeg-n${{ env.FFMPEG_VERSION }}-linux64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}.tar.xz\n          mkdir thirdparty/FFmpeg/\n          cp ffmpeg-n${{ env.FFMPEG_VERSION }}-linux64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}/bin/* thirdparty/FFmpeg/\n          cp -r ffmpeg-n${{ env.FFMPEG_VERSION }}-linux64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}/lib/* thirdparty/FFmpeg/\n          cp ffmpeg-n${{ env.FFMPEG_VERSION }}-linux64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}/LICENSE.txt thirdparty/FFmpeg/License.txt\n          rm -rf thirdparty/FFmpeg/pkgconfig\n          mv thirdparty/FFmpeg/ffmpeg thirdparty/FFmpeg/ffmpeg.elf\n          mv thirdparty/FFmpeg/ffprobe thirdparty/FFmpeg/ffprobe.elf\n          rm thirdparty/FFmpeg/ffplay\n          chmod a+x thirdparty/FFmpeg/ffmpeg.elf\n          patchelf --set-rpath '$ORIGIN:$ORIGIN/../lib:$ORIGIN/../Library' thirdparty/FFmpeg/ffmpeg.elf\n          chmod a+x thirdparty/FFmpeg/ffprobe.elf\n          patchelf --set-rpath '$ORIGIN:$ORIGIN/../lib:$ORIGIN/../Library' thirdparty/FFmpeg/ffprobe.elf\n\n          # QSV/NV/VCEEncC が依存しているライブラリをダウンロードしてまとめる\n          ## ref: https://stackoverflow.com/questions/13756800/how-to-download-all-dependencies-and-packages-to-directory\n          ## ref: https://askubuntu.com/questions/1260559/how-to-install-deb-packages-in-a-custom-folder-different-from-root-using-dp\n          mkdir thirdparty/Library/\n          curl -LO https://github.com/BtbN/FFmpeg-Builds/releases/download/${{ env.FFMPEG_HWENCC_TAG }}/ffmpeg-n${{ env.FFMPEG_HWENCC_VERSION }}-linux64-gpl-shared-${{ env.FFMPEG_HWENCC_MAJOR_VERSION }}.tar.xz\n          tar xvf ffmpeg-n${{ env.FFMPEG_HWENCC_VERSION }}-linux64-gpl-shared-${{ env.FFMPEG_HWENCC_MAJOR_VERSION }}.tar.xz\n          cp -ar ffmpeg-n${{ env.FFMPEG_HWENCC_VERSION }}-linux64-gpl-shared-${{ env.FFMPEG_HWENCC_MAJOR_VERSION }}/lib/* thirdparty/Library/\n          sudo apt-get download libass9 libbrotli1 libexpat1 libfontconfig1 libfreetype6 libfribidi0 libglib2.0-0 libgraphite2-3 libharfbuzz0b libpcre3 libpng16-16 libuuid1 zlib1g\n          ls -1 | grep [.]deb >> all_debs.txt && cat all_debs.txt | while read fn; do dpkg-deb -x $fn `pwd`/thirdparty/Library; done && rm all_debs.txt\n          cp -ar thirdparty/Library/lib/x86_64-linux-gnu/* thirdparty/Library/\n          rm -rf thirdparty/Library/lib/\n          cp -ar thirdparty/Library/usr/lib/x86_64-linux-gnu/* thirdparty/Library/\n          rm -rf thirdparty/Library/usr/\n          rm -rf thirdparty/Library/pkgconfig\n          find thirdparty/Library/*.so* -not -type l -not -type d | while read fn; do patchelf --set-rpath '$ORIGIN:$ORIGIN/../lib:$ORIGIN/../Library' $fn; done\n          find thirdparty/Library/*.so* -not -type l -not -type d | xargs chmod a+x\n\n          # QSVEncC のアーカイブのダウンロード\n          curl -LO https://github.com/rigaya/QSVEnc/releases/download/${{ env.QSVENCC_VERSION }}/qsvencc_${{ env.QSVENCC_VERSION }}_Ubuntu20.04_amd64.deb\n          7z x -y qsvencc_${{ env.QSVENCC_VERSION }}_Ubuntu20.04_amd64.deb && tar xvf data.tar\n          mkdir thirdparty/QSVEncC/\n          cp usr/bin/qsvencc thirdparty/QSVEncC/QSVEncC.elf\n          chmod a+x thirdparty/QSVEncC/QSVEncC.elf\n          patchelf --set-rpath '$ORIGIN:$ORIGIN/../lib:$ORIGIN/../Library' thirdparty/QSVEncC/QSVEncC.elf\n          curl -L -o thirdparty/QSVEncC/License.txt https://raw.githubusercontent.com/rigaya/QSVEnc/master/license.txt\n\n          # NVEncC のアーカイブのダウンロード\n          curl -LO https://github.com/rigaya/NVEnc/releases/download/${{ env.NVENCC_VERSION }}/nvencc_${{ env.NVENCC_VERSION }}_Ubuntu20.04_amd64.deb\n          7z x -y nvencc_${{ env.NVENCC_VERSION }}_Ubuntu20.04_amd64.deb && tar xvf data.tar\n          mkdir thirdparty/NVEncC/\n          cp usr/bin/nvencc thirdparty/NVEncC/NVEncC.elf\n          chmod a+x thirdparty/NVEncC/NVEncC.elf\n          patchelf --set-rpath '$ORIGIN:$ORIGIN/../lib:$ORIGIN/../Library' thirdparty/NVEncC/NVEncC.elf\n          curl -L -o thirdparty/NVEncC/License.txt https://raw.githubusercontent.com/rigaya/NVEnc/master/NVEnc_license.txt\n\n          # VCEEncC のアーカイブのダウンロード\n          curl -LO https://github.com/rigaya/VCEEnc/releases/download/${{ env.VCEENCC_VERSION }}/vceencc_${{ env.VCEENCC_VERSION }}_Ubuntu20.04_amd64.deb\n          7z x -y vceencc_${{ env.VCEENCC_VERSION }}_Ubuntu20.04_amd64.deb && tar xvf data.tar\n          mkdir thirdparty/VCEEncC/\n          cp usr/bin/vceencc thirdparty/VCEEncC/VCEEncC.elf\n          chmod a+x thirdparty/VCEEncC/VCEEncC.elf\n          patchelf --set-rpath '$ORIGIN:$ORIGIN/../lib:$ORIGIN/../Library' thirdparty/VCEEncC/VCEEncC.elf\n          curl -L -o thirdparty/VCEEncC/License.txt https://raw.githubusercontent.com/rigaya/VCEEnc/master/VCEEnc_license.txt\n\n          # libmediainfo のアーカイブのダウンロード\n          ## AWS Lambda 向けのビルドが完全な Static Build で扱いやすそうだったので、それを使う\n          curl -L -o libmediainfo.zip https://mediaarea.net/download/binary/libmediainfo0/${{ env.LIBMEDIAINFO_VERSION }}/MediaInfo_DLL_${{ env.LIBMEDIAINFO_VERSION }}_Lambda_x86_64.zip\n          7z x -y libmediainfo.zip\n          cp -a lib/* thirdparty/Library/\n          rm -rf lib/\n          chmod a+x thirdparty/Library/libmediainfo.so*\n\n      # Python Standalone Builds のダウンロードと poetry のインストール\n      - name: Install Python Standalone Builds & pip & poetry\n        run: |\n\n          # Python 本体のダウンロード\n          curl -L -o python.tar.gz https://github.com/indygreg/python-build-standalone/releases/download/${{ env.PYTHON_TAG }}/cpython-${{ env.PYTHON_VERSION }}+${{ env.PYTHON_TAG }}-x86_64-unknown-linux-gnu-install_only.tar.gz\n          tar xvf python.tar.gz\n          mv python/ thirdparty/Python/\n\n          # poetry のインストール\n          thirdparty/Python/bin/python -m pip install poetry==${{ env.POETRY_VERSION }}\n\n      # サードパーティーライブラリを tar.xz で圧縮\n      # ファイルサイズ縮減のため、圧縮をかなり強めに掛けている\n      # ref: https://axelstudios.github.io/7z/#!/\n      - name: Compress Thirdparty Libraries\n        run: |\n          tar cvf thirdparty-linux.tar thirdparty\n          7z a -txz -m0=LZMA2 -mx=9 -md=128m -mfb=128 -mmt=on thirdparty-linux.tar.xz thirdparty-linux.tar\n\n      # 7z で圧縮したサードパーティーライブラリを Artifact としてアップロード\n      - name: Upload Thirdparty Libraries as Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: thirdparty-linux.tar.xz\n          path: thirdparty-linux.tar.xz\n\n  # Linux (ARM) 向けのサードパーティーライブラリのビルド\n  build-linux-arm:\n    runs-on: ubuntu-20.04\n    steps:\n\n      # サードパーティーライブラリの配置フォルダを作成\n      - name: Create Thirdparty Folder\n        run: mkdir thirdparty/\n\n      # QEMU のセットアップ\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: linux/arm64\n\n      # Docker Buildx のセットアップ\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      # Dockerfile の作成\n      - name: Create Dockerfile\n        run: |\n          cat <<EOF > Dockerfile\n          ARG IMAGE\n          FROM \\${IMAGE}\n          ENV DEBIAN_FRONTEND=noninteractive\n          RUN apt-get update && apt-get install -y build-essential pkg-config\n          EOF\n\n      # ARM64 版 Docker イメージのビルド\n      - name: Build Docker Image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          tags: arm64v8/ubuntu:build\n          build-args: IMAGE=arm64v8/ubuntu:20.04\n          cache-from: type=gha,scope=arm64v8/ubuntu\n          cache-to: type=gha,scope=arm64v8/ubuntu,mode=max\n          load: true\n\n      # tsreadex のビルド\n      - name: Build tsreadex\n        run: |\n          git clone https://github.com/xtne6f/tsreadex\n          cd tsreadex/\n          git checkout ${{ env.TSREADEX_COMMIT_HASH }}\n          docker run --rm -i -v $(pwd):/work -w /work arm64v8/ubuntu:build bash -c 'make'\n          mkdir ../thirdparty/tsreadex/\n          cp tsreadex ../thirdparty/tsreadex/tsreadex.elf\n          chmod a+x ../thirdparty/tsreadex/tsreadex.elf\n          cp License.txt ../thirdparty/tsreadex/\n\n      # psisiarc のビルド\n      - name: Build psisiarc\n        run: |\n          git clone https://github.com/xtne6f/psisiarc\n          cd psisiarc/\n          git checkout ${{ env.PSISIARC_COMMIT_HASH }}\n          docker run --rm -i -v $(pwd):/work -w /work arm64v8/ubuntu:build bash -c 'make'\n          mkdir ../thirdparty/psisiarc/\n          cp psisiarc ../thirdparty/psisiarc/psisiarc.elf\n          chmod a+x ../thirdparty/psisiarc/psisiarc.elf\n          cp License.txt ../thirdparty/psisiarc/\n\n      # デフォルトで勝手にキャッシュされてる (?) Golang を削除\n      # ここで削除しておかないと意図しないバージョンの Golang が使われてしまうことがある (?)\n      - name: Remove Default Golang\n        run: sudo rm -rf /opt/hostedtoolcache/go/*\n\n      # Golang 環境のセットアップ\n      - name: Setup Golang Environment\n        uses: actions/setup-go@v5\n        with:\n          go-version: ${{ env.GOLANG_VERSION }}\n          cache: false\n\n      # Akebi HTTPS Server のビルド\n      - name: Build Akebi HTTPS Server\n        run: |\n          go env\n          git clone https://github.com/tsukumijima/Akebi\n          cd Akebi/\n          git checkout ${{ env.AKEBI_COMMIT_HASH }}\n          GOARCH=arm64 make build-https-server\n          mkdir ../thirdparty/Akebi/\n          cp akebi-https-server ../thirdparty/Akebi/akebi-https-server.elf\n          chmod a+x ../thirdparty/Akebi/akebi-https-server.elf\n          cp License.txt ../thirdparty/Akebi/\n\n      # FFmpeg・rkmppenc のアーカイブのダウンロードと配置\n      # ドライバさえ入っていればスタンドアローンで実行できるように構成を工夫している\n      - name: Download and Deploy Encoder Archives\n        run: |\n\n          # p7zip-full と patchelf のインストール\n          ## patchelf は ELF バイナリに埋め込まれている rpath (動的ライブラリの検索パス) を変更するツールで、\n          ## rkmppenc に rpath を追加するために使う\n          ## ref: https://stackoverflow.com/questions/13769141/can-i-change-rpath-in-an-already-compiled-binary\n          sudo apt-get update\n          sudo apt-get install -y p7zip-full patchelf\n\n          # FFmpeg のアーカイブのダウンロード\n          curl -LO https://github.com/BtbN/FFmpeg-Builds/releases/download/${{ env.FFMPEG_TAG }}/ffmpeg-n${{ env.FFMPEG_VERSION }}-linuxarm64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}.tar.xz\n          tar xvf ffmpeg-n${{ env.FFMPEG_VERSION }}-linuxarm64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}.tar.xz\n          mkdir thirdparty/FFmpeg/\n          cp ffmpeg-n${{ env.FFMPEG_VERSION }}-linuxarm64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}/bin/* thirdparty/FFmpeg/\n          cp -r ffmpeg-n${{ env.FFMPEG_VERSION }}-linuxarm64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}/lib/* thirdparty/FFmpeg/\n          cp ffmpeg-n${{ env.FFMPEG_VERSION }}-linuxarm64-gpl-shared-${{ env.FFMPEG_MAJOR_VERSION }}/LICENSE.txt thirdparty/FFmpeg/License.txt\n          rm -rf thirdparty/FFmpeg/pkgconfig\n          mv thirdparty/FFmpeg/ffmpeg thirdparty/FFmpeg/ffmpeg.elf\n          mv thirdparty/FFmpeg/ffprobe thirdparty/FFmpeg/ffprobe.elf\n          rm thirdparty/FFmpeg/ffplay\n          chmod a+x thirdparty/FFmpeg/ffmpeg.elf\n          chmod a+x thirdparty/FFmpeg/ffprobe.elf\n\n          # rkmppenc が依存しているライブラリをダウンロードしてまとめる\n          ## ref: https://stackoverflow.com/questions/13756800/how-to-download-all-dependencies-and-packages-to-directory\n          ## ref: https://askubuntu.com/questions/1260559/how-to-install-deb-packages-in-a-custom-folder-different-from-root-using-dp\n          mkdir thirdparty/Library/\n          docker run --rm -i -v $(pwd):/work -w /work arm64v8/ubuntu:build bash -c 'apt-get update && apt-get download libasound2 libass9 libbluray2 libexpat1 libfontconfig1 libfreetype6 libfribidi0 libglib2.0-0 libgomp1 libgraphite2-3 libharfbuzz0b libicu66 liblzma5 libmp3lame0 libogg0 libopus0 libpcre3 libpng16-16 libsoxr0 libspeex1 libssl1.1 libtwolame0 libuuid1 libvorbisenc2 libvpx6 libxml2 zlib1g'\n          curl -LO https://github.com/tsukumijima/mpp/releases/download/v1.5.0-1-866a9d8/librockchip-mpp1_1.5.0-1_arm64.deb\n          curl -LO https://github.com/tsukumijima/librga-rockchip/releases/download/v2.2.0-1-46d74b2/librga2_2.2.0-1_arm64.deb\n          ls -1 | grep [.]deb >> all_debs.txt && cat all_debs.txt | while read fn; do dpkg-deb -x $fn `pwd`/thirdparty/Library; done && rm all_debs.txt\n          cp -ar thirdparty/Library/lib/aarch64-linux-gnu/* thirdparty/Library/\n          rm -rf thirdparty/Library/lib/\n          cp -ar thirdparty/Library/usr/lib/aarch64-linux-gnu/* thirdparty/Library/\n          rm -rf thirdparty/Library/usr/\n          rm -rf thirdparty/Library/pkgconfig\n          find thirdparty/Library/*.so* -not -type l -not -type d | while read fn; do patchelf --set-rpath '$ORIGIN:$ORIGIN/../lib:$ORIGIN/../Library' $fn; done\n          find thirdparty/Library/*.so* -not -type l -not -type d | xargs chmod a+x\n\n          # rkmppenc のアーカイブのダウンロード\n          curl -LO https://github.com/rigaya/rkmppenc/releases/download/${{ env.RKMPPENC_VERSION }}/rkmppenc_${{ env.RKMPPENC_VERSION }}_Ubuntu20.04_arm64.deb\n          7z x -y rkmppenc_${{ env.RKMPPENC_VERSION }}_Ubuntu20.04_arm64.deb && tar xvf data.tar\n          mkdir thirdparty/rkmppenc/\n          cp usr/bin/rkmppenc thirdparty/rkmppenc/rkmppenc.elf\n          chmod a+x thirdparty/rkmppenc/rkmppenc.elf\n          patchelf --set-rpath '$ORIGIN:$ORIGIN/../lib:$ORIGIN/../Library' thirdparty/rkmppenc/rkmppenc.elf\n          curl -L -o thirdparty/rkmppenc/License.txt https://raw.githubusercontent.com/rigaya/rkmppenc/master/rkmppenc_license.txt\n\n          # libmediainfo のアーカイブのダウンロード\n          ## AWS Lambda 向けのビルドが完全な Static Build で扱いやすそうだったので、それを使う\n          curl -L -o libmediainfo.zip https://mediaarea.net/download/binary/libmediainfo0/${{ env.LIBMEDIAINFO_VERSION }}/MediaInfo_DLL_${{ env.LIBMEDIAINFO_VERSION }}_Lambda_arm64.zip\n          7z x -y libmediainfo.zip\n          cp -a lib/* thirdparty/Library/\n          rm -rf lib/\n          chmod a+x thirdparty/Library/libmediainfo.so*\n\n      # Python Standalone Builds のダウンロードと poetry のインストール\n      - name: Install Python Standalone Builds & pip & poetry\n        run: |\n\n          # Python 本体のダウンロード\n          curl -L -o python.tar.gz https://github.com/indygreg/python-build-standalone/releases/download/${{ env.PYTHON_TAG }}/cpython-${{ env.PYTHON_VERSION }}+${{ env.PYTHON_TAG }}-aarch64-unknown-linux-gnu-install_only.tar.gz\n          tar xvf python.tar.gz\n          mv python/ thirdparty/Python/\n\n          # poetry のインストール\n          cd thirdparty/Python/\n          docker run --rm -i -v $(pwd):/work -w /work arm64v8/ubuntu:build bash -c './bin/python -m pip install poetry==${{ env.POETRY_VERSION }}'\n\n      # サードパーティーライブラリを tar.xz で圧縮\n      # ファイルサイズ縮減のため、圧縮をかなり強めに掛けている\n      # ref: https://axelstudios.github.io/7z/#!/\n      - name: Compress Thirdparty Libraries\n        run: |\n          tar cvf thirdparty-linux-arm.tar thirdparty\n          7z a -txz -m0=LZMA2 -mx=9 -md=128m -mfb=128 -mmt=on thirdparty-linux-arm.tar.xz thirdparty-linux-arm.tar\n\n      # 7z で圧縮したサードパーティーライブラリを Artifact としてアップロード\n      - name: Upload Thirdparty Libraries as Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: thirdparty-linux-arm.tar.xz\n          path: thirdparty-linux-arm.tar.xz\n", "state": "active", "repository": "tsukumijima/konomitv"}
{"mined_at": "2024-07-15T16:38:33.413710", "created_at": "2022-11-23T22:41:08+01:00", "updated_at": "2022-11-23T22:41:08+01:00", "name": "Create Release Commit", "path": ".github/workflows/create_release_commit.yaml", "contents": "\nname: Create Release Commit\n\n# 手動実行\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        type: string\n        description: 'リリースするバージョン (例: 0.6.0, v はつけない)'\n        required: true\n        default: ''\n\n# ジョブの定義\njobs:\n\n  # リリースコミットの作成\n  create_release_commit:\n    runs-on: ubuntu-22.04\n    steps:\n\n      # KonomiTV のソースコードをチェックアウト\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.GIT_PUSH_TOKEN }}\n\n      # Node.js 18 環境をセットアップ\n      - name: Setup Node.js 18\n        uses: actions/setup-node@v4\n        with:\n          node-version: '18.17.1'\n          cache: 'yarn'\n          cache-dependency-path: '${{ github.workspace }}/client/yarn.lock'\n\n      # リリースコミットを作成\n      - name: Create Release Commit\n        run: |\n          git config user.name 'github-actions[bot]'\n          git config user.email 'github-actions[bot]@users.noreply.github.com'\n          git switch master\n\n          # ソースコードやドキュメント内のバージョンを更新\n          sed -i -e 's|\"version\": \".*\",|\"version\": \"${{ github.event.inputs.version }}\",|' client/package.json\n          sed -i -e 's|^version = \".*\"|version = \"${{ github.event.inputs.version }}\"|' installer/pyproject.toml\n          sed -i -e \"s|TARGET_VERSION = '.*'|TARGET_VERSION = '${{ github.event.inputs.version }}'|\" installer/KonomiTV-Installer.py\n          sed -i -e 's|^version = \".*\"|version = \"${{ github.event.inputs.version }}\"|' server/pyproject.toml\n          sed -i -e \"s|VERSION = '.*'|VERSION = '${{ github.event.inputs.version }}'|\" server/app/constants.py\n          sed -i -e 's|download/v.*/thirdparty-linux\\.tar\\.xz|download/v${{ github.event.inputs.version }}/thirdparty-linux\\.tar\\.xz|' Dockerfile\n          sed -i -e 's|download/v.*/KonomiTV-Installer\\.elf|download/v${{ github.event.inputs.version }}/KonomiTV-Installer\\.elf|' Readme.md\n\n          # クライアントをビルド\n          cd client/\n          yarn install --frozen-lockfile\n          yarn build\n          cd ../\n\n          # リリースコミットを作成\n          git add .\n          git commit -m 'Release: version ${{ github.event.inputs.version }}'\n          git push -u origin master\n\n      # release ブランチを現在の master ブランチの最新コミット (リリースコミット) に更新する\n      ## release ブランチはリリースしたときのみ更新される\n      - name: Update Release Branch\n        run: |\n          git switch release\n          git merge master\n          git push -u origin release\n", "state": "active", "repository": "tsukumijima/konomitv"}
{"mined_at": "2024-07-15T16:38:34.486336", "created_at": "2022-10-09T00:44:19+02:00", "updated_at": "2022-10-09T00:44:19+02:00", "name": "Publish Docker Image", "path": ".github/workflows/publish_docker_image.yaml", "contents": "\nname: Publish Docker Image\n\n# master ブランチに変更があったとき or タグが作成されたとき or 手動実行\non:\n  push:\n    branches:\n      - master\n    tags:\n      - '*'\n  workflow_dispatch:\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\n# ジョブの定義\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    # 最新コミットがリリースコミットのときは、タグの push がトリガーのとき以外は実行しない\n    ## タグが push された後でないと Releases からサードパーティーライブラリをダウンロードできず失敗する\n    if: (startsWith(github.ref, 'refs/tags/v')) || (contains(github.event.head_commit.message, 'Release:') == false)\n    permissions:\n      contents: read\n      packages: write\n    steps:\n\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      # タグの push がトリガーのときだけ、Release のサードパーティーライブラリが確実にアップロードされるまで1分ほど待つ\n      - name: Wait for Release to be Created\n        if: startsWith(github.ref, 'refs/tags/v')\n        run: |\n          sleep 60s\n\n      # GitHub Container Registry (ghcr.io) にログイン\n      - name: Login to the Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      # Docker イメージのタグ付け用のメタデータを抽出\n      - name: Extract Metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n          tags: |\n            type=raw,value=latest,enable={{is_default_branch}}\n            type=ref,event=tag\n\n      # Docker イメージをビルドして公開\n      - name: Build and Push Docker Image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      # おそらく使われることのない、Untagged なイメージをすべて削除する\n      # ref: https://github.com/vlaurin/action-ghcr-prune\n      - name: Prune Untagged Docker Images\n        uses: vlaurin/action-ghcr-prune@v0.6.0\n        with:\n          token: ${{ secrets.DELETE_GHCR_IMAGES_TOKEN }}\n          container: konomitv\n          dry-run: false\n          prune-untagged: true\n", "state": "active", "repository": "tsukumijima/konomitv"}
{"mined_at": "2024-07-15T16:38:35.687117", "created_at": "2022-11-11T14:07:27+01:00", "updated_at": "2022-11-11T14:07:27+01:00", "name": "Publish Release", "path": ".github/workflows/publish_release.yaml", "contents": "\nname: Publish Release\n\n# release ブランチに変更があったとき or 手動実行\non:\n  push:\n    branches:\n      - release\n  workflow_dispatch:\n\n# ジョブの定義\njobs:\n\n  # インストーラーのビルド\n  ## リリースコミットでのみ実行する\n  build_installer:\n    if: contains(github.event.head_commit.message, 'Release:')\n    uses: tsukumijima/KonomiTV/.github/workflows/build_installer.yaml@master\n\n  # サードパーティーライブラリのビルド\n  ## リリースコミットでのみ実行する\n  build_thirdparty:\n    if: contains(github.event.head_commit.message, 'Release:')\n    uses: tsukumijima/KonomiTV/.github/workflows/build_thirdparty.yaml@master\n\n  # 両方のビルドが終わったら、タグ付けしてリリースを公開\n  ## リリースコミットでのみ実行する\n  publish_release:\n    runs-on: ubuntu-22.04\n    if: contains(github.event.head_commit.message, 'Release:')\n    needs:\n      - build_installer\n      - build_thirdparty\n    steps:\n\n      # ビルド済みのインストーラーとサードパーティーライブラリをダウンロード\n      - name: Download Installer (for Windows)\n        uses: actions/download-artifact@v4\n        with:\n          name: KonomiTV-Installer.exe\n          path: ${{ github.workspace }}/\n      - name: Download Installer (for Linux)\n        uses: actions/download-artifact@v4\n        with:\n          name: KonomiTV-Installer.elf\n          path: ${{ github.workspace }}/\n      - name: Download Installer (for Linux ARM)\n        uses: actions/download-artifact@v4\n        with:\n          name: KonomiTV-Installer-ARM.elf\n          path: ${{ github.workspace }}/\n      - name: Download Thirdparty Library (for Windows)\n        uses: actions/download-artifact@v4\n        with:\n          name: thirdparty-windows.7z\n          path: ${{ github.workspace }}/\n      - name: Download Thirdparty Library (for Linux)\n        uses: actions/download-artifact@v4\n        with:\n          name: thirdparty-linux.tar.xz\n          path: ${{ github.workspace }}/\n      - name: Download Thirdparty Library (for Linux ARM)\n        uses: actions/download-artifact@v4\n        with:\n          name: thirdparty-linux-arm.tar.xz\n          path: ${{ github.workspace }}/\n\n      # KonomiTV のソースコードをチェックアウト\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          path: KonomiTV\n          token: ${{ secrets.GIT_PUSH_TOKEN }}\n\n      # KonomiTV のバージョン番号をリリースコミットのコミットメッセージから取得\n      - name: Get Version\n        id: get_version\n        env:\n          COMMIT_MESSAGE: ${{ github.event.head_commit.message }}\n        run: |\n          echo version=$(echo \"$COMMIT_MESSAGE\" | sed -e 's/Release: version //') >> $GITHUB_OUTPUT\n\n      # リリースコミットに対応する新バージョンのタグを release ブランチで作成\n      ## この git push origin --tags をトリガーに Docker イメージを公開するワークフローが実行される\n      ## Docker イメージのビルドには新バージョンのサードパーティーライブラリが必要なため、リリースを作成する直前に行う必要がある\n      ## Docker イメージを公開するワークフロー側でも、サードパーティーライブラリが確実にアップロードされるまで1分ほど待つようにしている\n      - name: Create New Version Tag\n        working-directory: KonomiTV\n        run: |\n          git config user.name 'github-actions[bot]'\n          git config user.email 'github-actions[bot]@users.noreply.github.com'\n          git switch release\n          git tag v${{ steps.get_version.outputs.version }} release\n          git push origin --tags\n\n      # リリースを作成\n      - name: Create Release\n        uses: ncipollo/release-action@v1\n        with:\n          artifacts: 'KonomiTV-Installer.exe,KonomiTV-Installer.elf,KonomiTV-Installer-ARM.elf,thirdparty-windows.7z,thirdparty-linux.tar.xz,thirdparty-linux-arm.tar.xz'\n          generateReleaseNotes: true\n          name: KonomiTV (β) ${{ steps.get_version.outputs.version }}\n          tag: v${{ steps.get_version.outputs.version }}\n", "state": "active", "repository": "tsukumijima/konomitv"}
{"mined_at": "2024-07-15T16:38:36.663780", "created_at": "2023-07-15T02:15:19+02:00", "updated_at": "2023-07-15T02:15:19+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tsukumijima/konomitv"}
{"mined_at": "2024-07-15T16:38:39.024390", "created_at": "2023-05-24T11:28:07+02:00", "updated_at": "2023-05-24T11:28:07+02:00", "name": "build quantumstrand", "path": ".github/workflows/build-qs.yml", "contents": null, "state": "active", "repository": "mandiant/flare-floss"}
{"mined_at": "2024-07-15T16:38:40.169681", "created_at": "2021-02-04T16:44:16+01:00", "updated_at": "2022-06-07T17:27:03+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  pull_request:\n    branches: [ master ]\n  release:\n    types: [edited, published]\n\njobs:\n  build:\n    name: PyInstaller for ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          # use old linux so that the shared library versioning is more portable\n          - os: ubuntu-20.04\n            artifact_name: floss\n            asset_name: linux\n          - os: windows-2019\n            artifact_name: floss.exe\n            asset_name: windows\n          - os: macos-11\n            artifact_name: floss\n            asset_name: macos\n    # Pin action version by commit hash to maximize trust, ref: https://securitylab.github.com/research/github-actions-building-blocks/\n    steps:\n      - name: Checkout floss\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n        with:\n          submodules: false\n      # using Python 3.8 to support running across multiple operating systems including Windows 7\n      - name: Set up Python 3.8\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: '3.8'\n      - name: Install floss [build]\n        run: |\n          pip install -r requirements.txt\n          pip install -e .[build]\n      - name: Build standalone executable\n        run: pyinstaller .github/pyinstaller/floss.spec\n      - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1\n        with:\n          name: ${{ matrix.asset_name }}\n          path: dist/${{ matrix.artifact_name }}\n\n  test_run:\n    name: Test run on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    needs: [build]\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-20.04\n            artifact_name: floss\n            asset_name: linux\n          - os: ubuntu-22.04\n            artifact_name: floss\n            asset_name: linux\n          - os: windows-2019\n            artifact_name: floss.exe\n            asset_name: windows\n          - os: windows-2022\n            artifact_name: floss.exe\n            asset_name: windows\n          - os: macos-11\n            artifact_name: floss\n            asset_name: macos\n    steps:\n      - name: Download ${{ matrix.asset_name }}\n        uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4\n        with:\n          name: ${{ matrix.asset_name }}\n      - name: Checkout testfiles\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n        with:\n          repository: mandiant/flare-floss-testfiles\n          path: tests/data\n      - name: Set executable flag\n        if: startsWith(matrix.os, 'windows') != true\n        run: chmod +x ${{ matrix.artifact_name }}\n      - name: Run floss -h\n        run: ./${{ matrix.artifact_name }} -h\n      - name: Run floss\n        run: ./${{ matrix.artifact_name }} tests/data/test-decode-to-stack.exe\n\n  zip_and_upload:\n    # upload zipped binaries to Release page\n    if: github.event_name == 'release'\n    name: zip and upload ${{ matrix.asset_name }}\n    runs-on: ubuntu-20.04\n    needs: [build]\n    strategy:\n      matrix:\n        include:\n          - asset_name: linux\n            artifact_name: floss\n          - asset_name: windows\n            artifact_name: floss.exe\n          - asset_name: macos\n            artifact_name: floss\n    steps:\n      - name: Download ${{ matrix.asset_name }}\n        uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4\n        with:\n          name: ${{ matrix.asset_name }}\n      - name: Set executable flag\n        run: chmod +x ${{ matrix.artifact_name }}\n      - name: Set zip name\n        run: echo \"zip_name=floss-${GITHUB_REF#refs/tags/}-${{ matrix.asset_name }}.zip\" >> $GITHUB_ENV\n      - name: Zip ${{ matrix.artifact_name }} into ${{ env.zip_name }}\n        run: zip ${{ env.zip_name }} ${{ matrix.artifact_name }}\n      - name: Upload ${{ env.zip_name }} to GH Release\n        uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd # v2.9.0\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: ${{ env.zip_name }}\n          tag: ${{ github.ref }}\n", "state": "active", "repository": "mandiant/flare-floss"}
{"mined_at": "2024-07-15T16:38:41.501878", "created_at": "2021-02-05T16:11:56+01:00", "updated_at": "2023-03-23T09:07:14+01:00", "name": "publish to pypi", "path": ".github/workflows/publish.yml", "contents": "# use PyPI trusted publishing, as described here: \n# https://blog.trailofbits.com/2023/05/23/trusted-publishing-a-new-benchmark-for-packaging-security/\nname: publish to pypi\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: write\n\njobs:\n  pypi-publish:\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - name: Set up Python\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: '3.8'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install -e .[build]\n      - name: build package\n        run: |\n          python -m build\n      - name: upload package artifacts\n        uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1\n        with:\n          path: dist/*\n      - name: publish package\n        uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450  # v1.8.14\n        with:\n          skip-existing: true\n          verbose: true\n          print-hash: true\n", "state": "active", "repository": "mandiant/flare-floss"}
{"mined_at": "2024-07-15T16:38:42.900935", "created_at": "2020-11-07T20:04:28+01:00", "updated_at": "2020-11-07T20:04:28+01:00", "name": "CI", "path": ".github/workflows/tests.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n# save workspaces to speed up testing\nenv:\n  FLOSS_SAVE_WORKSPACE: \"True\"\n\njobs:\n  code_style:\n    runs-on: ubuntu-20.04\n    # Pin action version by commit hash to maximize trust, ref: https://securitylab.github.com/research/github-actions-building-blocks/\n    steps:\n    - name: Checkout FLOSS\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: Set up Python 3.8\n      uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        pip install -r requirements.txt\n        pip install -e .[dev]\n    - name: Lint with isort\n      run: pre-commit run isort\n    - name: Lint with black\n      run: pre-commit run black\n    - name: Check types with mypy\n      run: pre-commit run mypy\n\n  tests:\n    name: Tests in ${{ matrix.python-version }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, windows-2019, macos-11]\n        # across all operating systems\n        # version numbers are strings, not floats\n        python-version: ['3.8', '3.11']\n        include:\n          # on Ubuntu run these as well\n          - os: ubuntu-20.04\n            python-version: '3.9'\n          - os: ubuntu-20.04\n            python-version: '3.10'\n    steps:\n    - name: Checkout FLOSS with submodule\n      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      with:\n        submodules: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install pyyaml\n      if: matrix.os == 'ubuntu-20.04'\n      run: sudo apt-get install -y libyaml-dev\n    - name: Install FLOSS\n      run: |\n        pip install -r requirements.txt\n        pip install -e .[dev]\n    - name: Run tests\n      run: pytest tests/\n", "state": "active", "repository": "mandiant/flare-floss"}
{"mined_at": "2024-07-15T16:38:43.926604", "created_at": "2023-08-09T23:56:29+02:00", "updated_at": "2023-08-09T23:56:29+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mandiant/flare-floss"}
{"mined_at": "2024-07-15T16:38:46.315047", "created_at": "2022-03-11T09:36:11+01:00", "updated_at": "2022-03-11T09:36:11+01:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ '*' ]\n    tags: [ '*' ]\n  pull_request:\n    branches: [ master, 'maint/*' ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    if: \"!startsWith(github.ref, 'refs/tags/') && !contains(github.event.head_commit.message, '[skip ci]')\"\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Build and check package\n      run: |\n        pipx run build\n        pipx run twine check dist/mriqc-*\n    - name: Interpolate version\n      run: |\n        # Interpolate version\n        if [[ \"$GITHUB_REF\" == refs/tags/* ]]; then\n          TAG=${GITHUB_REF##*/}\n        fi\n        THISVERSION=$( pipx run hatch version | tail -n1 | xargs )\n        THISVERSION=${TAG:-$THISVERSION}\n        echo \"Expected VERSION: \\\"${THISVERSION}\\\"\"\n        echo \"THISVERSION=${THISVERSION}\" >> $GITHUB_ENV\n    - name: Install in confined environment [pip]\n      run: |\n        python -m venv /tmp/pip\n        source /tmp/pip/bin/activate\n        python -m pip install .\n        INSTALLED_VERSION=$(python -c 'import mriqc as qc; print(qc.__version__, end=\"\")')\n        echo \"INSTALLED: \\\"${INSTALLED_VERSION}\\\"\"\n        test \"${INSTALLED_VERSION}\" = \"${THISVERSION}\"\n        rm -r /tmp/pip\n    - name: Install in confined environment [sdist]\n      run: |\n        python -m venv /tmp/install_sdist\n        source /tmp/install_sdist/bin/activate\n        python -m pip install dist/mriqc*.tar.gz\n        INSTALLED_VERSION=$(python -c 'import mriqc as qc; print(qc.__version__, end=\"\")')\n        echo \"INSTALLED: \\\"${INSTALLED_VERSION}\\\"\"\n        test \"${INSTALLED_VERSION}\" = \"${THISVERSION}\"\n        rm -r /tmp/install_sdist\n    - name: Install in confined environment [wheel]\n      run: |\n        python -m venv /tmp/install_wheel\n        source /tmp/install_wheel/bin/activate\n        python -m pip install dist/mriqc*.whl\n        INSTALLED_VERSION=$(python -c 'import mriqc as qc; print(qc.__version__, end=\"\")')\n        echo \"INSTALLED: \\\"${INSTALLED_VERSION}\\\"\"\n        test \"${INSTALLED_VERSION}\" = \"${THISVERSION}\"\n        rm -r /tmp/install_wheel\n\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n    - run: pipx run ruff format --diff\n\n  codespell:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "nipreps/mriqc"}
{"mined_at": "2024-07-15T16:38:47.645521", "created_at": "2024-07-15T11:48:01+02:00", "updated_at": "2024-07-15T11:48:01+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "nipreps/mriqc"}
{"mined_at": "2024-07-15T16:38:49.988391", "created_at": "2021-11-10T20:26:04+01:00", "updated_at": "2021-11-10T20:26:04+01:00", "name": "Build and Push Client EL8 Docker image", "path": ".github/workflows/build-client-container.yml", "contents": "name: Build and Push Client EL8 Docker image\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'Dockerfile.client'\n      - 'bin/osg-notify'\n      - 'src/net_name_addr_utils.py'\n      - 'src/topology_utils.py'\n  workflow_dispatch:\n\njobs:\n  make-date-tag:\n    runs-on: ubuntu-latest\n    if: startsWith(github.repository, 'opensciencegrid/')\n    outputs:\n      dtag: ${{ steps.mkdatetag.outputs.dtag }}\n    steps:\n    - name: make date tag\n      id: mkdatetag\n      run: echo \"dtag=$(date +%Y%m%d-%H%M)\" >> $GITHUB_OUTPUT\n\n  build:\n    runs-on: ubuntu-latest\n    needs: [make-date-tag]\n    if: startsWith(github.repository, 'opensciencegrid/')\n    strategy:\n      fail-fast: False\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Generate tag list\n      id: generate-tag-list\n      env:\n        TIMESTAMP: ${{ needs.make-date-tag.outputs.dtag }}\n      run: |\n        docker_repo=opensciencegrid/topology-notify\n        tag_list=()\n        for registry in hub.opensciencegrid.org docker.io; do\n          tag_list+=($registry/$docker_repo:release)\n          tag_list+=($registry/$docker_repo:release-$TIMESTAMP)\n        done\n        IFS=,\n        echo \"taglist=${tag_list[*]}\" >> $GITHUB_OUTPUT\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v2.7.0\n\n    - name: Log in to Docker Hub\n      uses: docker/login-action@v2.2.0\n      with:\n        username: ${{ secrets.DOCKER_USERNAME }}\n        password: ${{ secrets.DOCKER_PASSWORD }}\n\n    - name: Log in to OSG Harbor\n      uses: docker/login-action@v2.2.0\n      with:\n        registry: hub.opensciencegrid.org\n        username: ${{ secrets.OSG_HARBOR_ROBOT_USER }}\n        password: ${{ secrets.OSG_HARBOR_ROBOT_PASSWORD }}\n\n    - name: Build and push Client Docker images\n      uses: docker/build-push-action@v4\n      with:\n        push: true\n        tags: \"${{ steps.generate-tag-list.outputs.taglist }}\"\n        file: ./Dockerfile.client\n", "state": "active", "repository": "opensciencegrid/topology"}
{"mined_at": "2024-07-15T16:38:51.127443", "created_at": "2021-06-22T22:48:05+02:00", "updated_at": "2021-06-23T18:00:57+02:00", "name": "Build and Push Docker image", "path": ".github/workflows/build-sw-container.yml", "contents": "name: Build and Push Docker image\n\non:\n  push:\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]+\n      - v[0-9]+.[0-9]+.[0-9]+.[0-9]+\n      - v[0-9]+.[0-9]+.[0-9]+.itb.[0-9]+\n\njobs:\n\n  build:\n    runs-on: ubuntu-latest\n    if: startsWith(github.repository, 'opensciencegrid/')\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Generate tag list\n      id: generate-tag-list\n      run: |\n        docker_repo=${GITHUB_REPOSITORY/opensciencegrid\\/docker-/opensciencegrid/}\n        tag_list=()\n        for registry in hub.opensciencegrid.org docker.io; do\n          for image_tag in latest \"${GITHUB_REF##*/v}\"; do\n            tag_list+=(\"$registry/$docker_repo\":\"$image_tag\")\n          done\n        done\n        # This causes the tag_list array to be comma-separated below,\n        # which is required for build-push-action\n        IFS=,\n        echo \"taglist=${tag_list[*]}\" >> $GITHUB_OUTPUT\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v2.7.0\n\n    - name: Log in to Docker Hub\n      uses: docker/login-action@v2.2.0\n      with:\n        username: ${{ secrets.DOCKER_USERNAME }}\n        password: ${{ secrets.DOCKER_PASSWORD }}\n        \n    - name: Log in to OSG Harbor\n      uses: docker/login-action@v2.2.0\n      with:\n        registry: hub.opensciencegrid.org\n        username: ${{ secrets.OSG_HARBOR_ROBOT_USER }}\n        password: ${{ secrets.OSG_HARBOR_ROBOT_PASSWORD }}\n\n    - name: Build and push Docker images\n      uses: docker/build-push-action@v4\n      with:\n        context: .\n        push: true\n        tags: \"${{ steps.generate-tag-list.outputs.taglist }}\"\n", "state": "active", "repository": "opensciencegrid/topology"}
{"mined_at": "2024-07-15T16:38:52.252662", "created_at": "2024-04-23T17:10:18+02:00", "updated_at": "2024-04-23T17:10:18+02:00", "name": "Check Project FOS Precision", "path": ".github/workflows/check_project_fos_precision.yml", "contents": "name: Check Project FOS Precision\non:\n  pull_request:\n    branches:\n      - main\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  check:\n    name: Check\n    runs-on: ubuntu-latest\n    if: startsWith(github.repository, 'opensciencegrid/')\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9.15\n          cache: 'pip' # caching pip dependencies\n      - run: pip install -r ./.github/scripts/check_project_fos_precision/requirements.txt\n      - run: python ./.github/scripts/check_project_fos_precision/main.py", "state": "active", "repository": "opensciencegrid/topology"}
{"mined_at": "2024-07-15T16:38:53.482878", "created_at": "2022-09-27T20:28:14+02:00", "updated_at": "2022-09-27T20:28:14+02:00", "name": "Validate StashCache configs", "path": ".github/workflows/validate-caches.yml", "contents": "name: Validate StashCache configs\non:\n  schedule:\n    # Run daily\n    - cron: '0 0 * * *'\n\njobs:\n  validate-caches:\n    name: Validate Topology caches\n    if: startsWith(github.repository, 'opensciencegrid/')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9.15\n      - name: Compare StashCache config lists\n        run: |\n          ./src/tests/diff_cache_configs.py\n", "state": "active", "repository": "opensciencegrid/topology"}
{"mined_at": "2024-07-15T16:38:54.514250", "created_at": "2022-07-22T02:15:33+02:00", "updated_at": "2022-07-22T23:49:14+02:00", "name": "Validate Topology code", "path": ".github/workflows/validate-code.yml", "contents": "name: Validate Topology code\non: [push, pull_request]\n\njobs:\n  validate-code:\n    name: Validate Topology code\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9.15\n      - name: Install packages\n        run: |\n          sudo apt-get update\n          sudo apt-get install apache2-dev libldap2-dev libsasl2-dev libyaml-dev\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-apache.txt\n          python -m pip install pytest pytest-mock\n      - name: Test API\n        run: |\n          export TOPOLOGY_CONFIG=$PWD/src/config-ci.py\n          export FLASK_DEBUG=1\n          py.test ./src/tests/test_api.py\n      - name: Test StashCache\n        run: |\n          export TOPOLOGY_CONFIG=$PWD/src/config-ci.py\n          export FLASK_DEBUG=1\n          py.test ./src/tests/test_stashcache.py\n      - name: Test cacher\n        run: |\n          ./src/topology_cacher.py --outdir=/tmp/topology-cacher\n", "state": "active", "repository": "opensciencegrid/topology"}
{"mined_at": "2024-07-15T16:38:55.546477", "created_at": "2020-11-10T22:37:15+01:00", "updated_at": "2020-11-10T22:37:15+01:00", "name": "Validate Topology data", "path": ".github/workflows/validate-data.yml", "contents": "name: Validate Topology data\non: [push, pull_request]\n\njobs:\n  validate-data:\n    # 'name' must match TARGET_CHECK_RUN_NAME as defined in webhook_app.py\n    name: Validate Topology data\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9.15\n      - name: Install packages\n        run: |\n          sudo apt-get update\n          sudo apt-get install libxml2-utils apache2-dev libldap2-dev libsasl2-dev libyaml-dev\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-apache.txt\n      - name: Verify XML Schema\n        env:\n          GH_EVENT: ${{ github.event_name }}\n          CONTACT_DB_KEY: ${{ secrets.CONTACT_DB_KEY }}\n        run: ./src/tests/test_verify_schema.sh\n      - name: Validate downtimes\n        run: |\n          ./src/tests/verify_downtimes.py\n          ./src/tests/verify_unique_downtime_ids.sh\n      - name: Validate Resources\n        run: ./src/tests/verify_resources.py\n      - name: Validate Site Names\n        run: |\n          ./src/tests/verify_site_names.sh\n      - name: Validate Projects\n        run: |\n          ./src/tests/verify_projects.py\n      - name: Validate StashCache authfile generation\n        run: |\n          ./src/tests/verify_authfile.sh\n          ./src/tests/verify_origin_authfile.sh\n", "state": "active", "repository": "opensciencegrid/topology"}
{"mined_at": "2024-07-15T16:38:57.783456", "created_at": "2023-09-01T05:04:14+02:00", "updated_at": "2024-05-30T20:50:31+02:00", "name": "Integration Test", "path": ".github/workflows/test.yml", "contents": "name: Integration Test\non:\n  pull_request:\n  push:\n    branches:\n      - master\n  schedule:\n    - cron: '42 06 * * *'\njobs:\n  test:\n    name: Integration Test\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n      - name: Host information\n        run: |\n          echo \"::group::Host information\"\n          echo \"Hostname: $(hostname)\"\n          echo \"IP: $(hostname -I)\"\n          echo \"::endgroup::\"\n          echo \"::group::Filesystem\"\n          df -h\n          echo \"::endgroup::\"\n          echo \"::group::Memory\"\n          free -h\n          echo \"::endgroup::\"\n          echo \"::group::CPU\"\n          lscpu\n          echo \"::endgroup::\"\n\n      - uses: actions/checkout@v4\n      - uses: docker/setup-buildx-action@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n          cache: 'pip'\n      - name: Setup firefox\n        uses: browser-actions/setup-firefox@latest\n      - name: Install test dependencies\n        run: pip install pytest pytest-dependency requests selenium\n\n      - name: Restore docker data cache\n        if: github.event_name != 'schedule'\n        uses: actions/cache/restore@v4\n        with:\n          path: |\n            /tmp/data-docker.tar.gz\n          key: docker-data-${{ runner.os }}-${{ github.run_id }}\n          restore-keys: |\n            docker-data-${{ runner.os }}-\n      - name: Unpack docker data cache\n        if: github.event_name != 'schedule'\n        run: |\n          if [ -f /tmp/data-docker.tar.gz ]; then\n            mkdir -p /tmp/dojo-test-data\n            sudo tar --use-compress-program=pigz -xf /tmp/data-docker.tar.gz -C /tmp/dojo-test-data\n          fi\n\n      - name: Build docker image\n        if: github.event_name != 'schedule'\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          tags: pwncollege/dojo:test\n          load: true\n          cache-from: type=gha\n      - name: Build and cache docker image\n        if: github.event_name == 'schedule'\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          tags: pwncollege/dojo:test\n          load: true\n          cache-to: type=gha\n\n      - name: Run dojo\n        run: |\n          docker run \\\n            --name dojo-test \\\n            --privileged \\\n            --detach \\\n            --rm \\\n            -v \"/tmp/dojo-test-data:/opt/pwn.college/data\" \\\n            -p 2222:22 -p 80:80 -p 443:443 \\\n            pwncollege/dojo:test\n      - name: Build and start services\n        run: |\n          docker exec dojo-test dojo wait\n          docker exec dojo-test docker image ls\n\n      - name: Wait for services to start\n        timeout-minutes: 1\n        run: |\n          docker exec dojo-test dojo compose logs -f &\n          log_pid=$!\n\n          until [[ \"$(docker exec dojo-test docker inspect --format='{{.State.Health.Status}}' ctfd)\" == \"healthy\" ]]; do\n            sleep 1\n          done\n\n          kill $log_pid\n          exit 0\n\n      - name: Run tests\n        timeout-minutes: 3\n        run: |\n          export MOZ_HEADLESS=1\n          pytest -vrpP --durations=0 ./test || (docker exec dojo-test docker compose logs && false)\n\n      - name: Pack docker data cache\n        if: github.event_name == 'schedule'\n        run: |\n          docker exec dojo-test dojo compose down\n          sudo tar --use-compress-program=pigz -cf /tmp/data-docker.tar.gz -C /tmp/dojo-test-data ./docker\n      - name: Save docker data cache\n        if: github.event_name == 'schedule'\n        uses: actions/cache/save@v4\n        with:\n          path: |\n            /tmp/data-docker.tar.gz\n          key: docker-data-${{ runner.os }}-${{ github.run_id }}\n", "state": "active", "repository": "pwncollege/dojo"}
{"mined_at": "2024-07-15T16:38:59.114740", "created_at": "2024-05-30T18:55:40+02:00", "updated_at": "2024-05-30T18:55:40+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "pwncollege/dojo"}
{"mined_at": "2024-07-15T16:39:01.267414", "created_at": "2023-06-05T17:27:29+02:00", "updated_at": "2023-08-18T15:27:25+02:00", "name": "Benchmark", "path": ".github/workflows/benchmark.yml", "contents": null, "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:02.431836", "created_at": "2022-03-28T10:54:49+02:00", "updated_at": "2022-03-28T10:54:49+02:00", "name": "Building PyG Conda", "path": ".github/workflows/building_pyg_conda.yml", "contents": "name: Building PyG Conda\n\non: [workflow_dispatch]  # yamllint disable-line rule:truthy\n\njobs:\n\n  conda-build:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-14, windows-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        torch-version: [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.2.0]\n        cuda-version: ['cpu', 'cu113', 'cu116', 'cu117', 'cu118', 'cu121']\n        exclude:\n          - torch-version: 1.12.0\n            python-version: '3.12'\n          - torch-version: 1.13.0\n            python-version: '3.12'\n          - torch-version: 2.0.0\n            python-version: '3.12'\n          - torch-version: 2.1.0\n            python-version: '3.12'\n          - torch-version: 1.12.0\n            python-version: '3.11'\n          - torch-version: 1.12.0\n            cuda-version: 'cu117'\n          - torch-version: 1.12.0\n            cuda-version: 'cu118'\n          - torch-version: 1.12.0\n            cuda-version: 'cu121'\n          - torch-version: 1.13.0\n            python-version: '3.11'\n          - torch-version: 1.13.0\n            cuda-version: 'cu113'\n          - torch-version: 1.13.0\n            cuda-version: 'cu118'\n          - torch-version: 1.13.0\n            cuda-version: 'cu121'\n          - torch-version: 2.0.0\n            cuda-version: 'cu113'\n          - torch-version: 2.0.0\n            cuda-version: 'cu116'\n          - torch-version: 1.13.0\n            cuda-version: 'cu121'\n          - torch-version: 2.1.0\n            cuda-version: 'cu113'\n          - torch-version: 2.1.0\n            cuda-version: 'cu116'\n          - torch-version: 2.1.0\n            cuda-version: 'cu117'\n          - torch-version: 2.2.0\n            cuda-version: 'cu113'\n          - torch-version: 2.2.0\n            cuda-version: 'cu116'\n          - torch-version: 2.2.0\n            cuda-version: 'cu117'\n          - os: macos-14\n            cuda-version: 'cu113'\n          - os: macos-14\n            cuda-version: 'cu116'\n          - os: macos-14\n            cuda-version: 'cu117'\n          - os: macos-14\n            cuda-version: 'cu118'\n          - os: macos-14\n            cuda-version: 'cu121'\n          - os: macos-14\n            python-version: '3.8'\n          - os: macos-14\n            python-version: '3.9'\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set up Conda for Python ${{ matrix.python-version }}\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Free Disk Space (Ubuntu)\n        if: ${{ runner.os == 'Linux' }}\n        uses: jlumbroso/free-disk-space@main\n\n      - name: Install Conda packages\n        run: |\n          conda install conda-build conda-verify --yes\n        shell:\n          bash -l {0}\n\n      - name: Build Conda package\n        run: |\n          ./conda/pyg/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}\n        shell:\n          bash -l {0}\n\n      - name: Publish Conda package\n        run: |\n          conda install anaconda-client --yes\n          anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2\n        env:\n          ANACONDA_API_TOKEN: ${{ secrets.PYG_ANACONDA_TOKEN }}\n        shell:\n          bash -l {0}\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:03.658366", "created_at": "2022-03-28T10:54:49+02:00", "updated_at": "2022-03-28T10:54:49+02:00", "name": "Building rusty1s Conda", "path": ".github/workflows/building_rusty1s_conda.yml", "contents": "name: Building rusty1s Conda\n\non: [workflow_dispatch]  # yamllint disable-line rule:truthy\n\njobs:\n\n  conda-build:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-14, windows-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        torch-version: [1.12.0, 1.13.0, 2.0.0, 2.1.0, 2.2.0]\n        cuda-version: ['cpu', 'cu113', 'cu116', 'cu117', 'cu118', 'cu121']\n        exclude:\n          - torch-version: 1.12.0\n            python-version: '3.12'\n          - torch-version: 1.13.0\n            python-version: '3.12'\n          - torch-version: 2.0.0\n            python-version: '3.12'\n          - torch-version: 2.1.0\n            python-version: '3.12'\n          - torch-version: 1.12.0\n            python-version: '3.11'\n          - torch-version: 1.12.0\n            cuda-version: 'cu117'\n          - torch-version: 1.12.0\n            cuda-version: 'cu118'\n          - torch-version: 1.12.0\n            cuda-version: 'cu121'\n          - torch-version: 1.13.0\n            python-version: '3.11'\n          - torch-version: 1.13.0\n            cuda-version: 'cu113'\n          - torch-version: 1.13.0\n            cuda-version: 'cu118'\n          - torch-version: 1.13.0\n            cuda-version: 'cu121'\n          - torch-version: 2.0.0\n            cuda-version: 'cu113'\n          - torch-version: 2.0.0\n            cuda-version: 'cu116'\n          - torch-version: 1.13.0\n            cuda-version: 'cu121'\n          - torch-version: 2.1.0\n            cuda-version: 'cu113'\n          - torch-version: 2.1.0\n            cuda-version: 'cu116'\n          - torch-version: 2.1.0\n            cuda-version: 'cu117'\n          - torch-version: 2.2.0\n            cuda-version: 'cu113'\n          - torch-version: 2.2.0\n            cuda-version: 'cu116'\n          - torch-version: 2.2.0\n            cuda-version: 'cu117'\n          - os: macos-14\n            cuda-version: 'cu113'\n          - os: macos-14\n            cuda-version: 'cu116'\n          - os: macos-14\n            cuda-version: 'cu117'\n          - os: macos-14\n            cuda-version: 'cu118'\n          - os: macos-14\n            cuda-version: 'cu121'\n          - os: macos-14\n            python-version: '3.8'\n          - os: macos-14\n            python-version: '3.9'\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set up Conda for Python ${{ matrix.python-version }}\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Free Disk Space (Ubuntu)\n        if: ${{ runner.os == 'Linux' }}\n        uses: jlumbroso/free-disk-space@main\n\n      - name: Install Conda packages\n        run: |\n          conda install conda-build conda-verify --yes\n        shell:\n          bash -l {0}\n\n      - name: Build Conda package\n        run: |\n          ./conda/pytorch-geometric/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}\n        shell:\n          bash -l {0}\n\n      - name: Publish Conda package\n        run: |\n          conda install anaconda-client --yes\n          anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2\n        env:\n          ANACONDA_API_TOKEN: ${{ secrets.RUSTY1S_ANACONDA_TOKEN }}\n        shell:\n          bash -l {0}\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:04.849599", "created_at": "2022-05-02T10:27:49+02:00", "updated_at": "2024-06-06T10:27:48+02:00", "name": "Changelog Enforcer", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog Enforcer\n\non:  # yamllint disable-line rule:truthy\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]\n\njobs:\n\n  changelog:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Enforce changelog entry\n        uses: dangoslen/changelog-enforcer@v3\n        with:\n          skipLabels: skip-changelog, auto-skip-changelog\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:06.078043", "created_at": "2024-02-04T10:20:32+01:00", "updated_at": "2024-02-04T10:35:10+01:00", "name": "Testing distributed PyG", "path": ".github/workflows/dist_testing.yml", "contents": "name: Testing distributed PyG\n\non:  # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n\n  dist_pytest:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 40\n\n      # Skip workflow if only certain files have been changed.\n      - name: Get changed files\n        id: changed-files-specific\n        uses: tj-actions/changed-files@v41\n        with:\n          files: |\n            torch_geometric/distributed/**\n            test/distributed/**\n\n      - name: Setup packages\n        if: steps.changed-files-specific.outputs.any_changed == 'true'\n        uses: ./.github/actions/setup\n\n      - name: Install main package\n        if: steps.changed-files-specific.outputs.any_changed == 'true'\n        run: |\n          pip install -e .[test]\n\n      - name: Run tests\n        if: steps.changed-files-specific.outputs.any_changed == 'true'\n        timeout-minutes: 10\n        run: |\n          DIST_TEST=1 pytest test/distributed\n        shell: bash\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:07.306674", "created_at": "2021-06-18T11:46:12+02:00", "updated_at": "2021-06-18T11:46:12+02:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "name: Documentation\n\non:  # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n\n  make_html:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 40\n\n      # Skip workflow if only certain files have been changed.\n      - name: Get changed files\n        id: changed-files-specific\n        uses: tj-actions/changed-files@v41\n        with:\n          files: |\n            benchmark/**\n            conda/**\n            docker/**\n            examples/**\n            graphgym/**\n            README.md\n            CHANGELOG.md\n\n      - name: Setup packages\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        uses: ./.github/actions/setup\n        with:\n          full_install: false\n\n      - name: Install main package\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        run: |\n          pip install nbsphinx\n          pip install git+https://github.com/pyg-team/pyg_sphinx_theme.git\n          pip install -e .\n\n      - name: Build documentation\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        run: |\n          cd docs && make clean && make html SPHINXOPTS=\"-W\"  # Fail on warning.\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:08.637085", "created_at": "2022-05-16T18:30:36+02:00", "updated_at": "2022-05-16T21:58:25+02:00", "name": "Examples", "path": ".github/workflows/examples.yml", "contents": "name: Examples\n\non:  # yamllint disable-line rule:truthy\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 7 * * *\"  # Everyday at 7:00am UTC/11:00pm PST\n\njobs:\n\n  pytest:\n    if: github.repository == 'pyg-team/pytorch_geometric'\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup packages\n        uses: ./.github/actions/setup\n\n      - name: Install main package\n        run: |\n          pip install .[benchmark]\n\n      - name: Run GCN on Cora\n        run: |\n          python examples/gcn.py --wandb\n        env:\n          WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }}\n\n      - name: Run GAT on Cora\n        run: |\n          python examples/gat.py --wandb\n        env:\n          WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }}\n\n      - name: Run GIN on MUTAG\n        run: |\n          python examples/mutag_gin.py --wandb\n        env:\n          WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }}\n\n      - name: Run GNNExplainer\n        run: |\n          python examples/explain/gnn_explainer.py\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:09.842634", "created_at": "2023-08-17T06:07:33+02:00", "updated_at": "2023-08-18T10:21:53+02:00", "name": "Full GPU Testing", "path": ".github/workflows/full_gpu_testing.yml", "contents": "name: Full GPU Testing\n\non:  # yamllint disable-line rule:truthy\n  workflow_dispatch:\n  # schedule:\n  #   - cron: \"0 6 * * *\"  # Everyday at 6:00am UTC/10:00pm PST\n\njobs:\n\n  full_gpu_pytest:\n    if: github.repository == 'pyg-team/pytorch_geometric'\n    runs-on: [self-hosted, nvidia]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup packages\n        uses: ./.github/actions/setup\n        with:\n          cuda-version: 'cu118'\n\n      - name: Print GPU information\n        run: |\n          nvidia-smi\n\n      - name: Install main package\n        run: |\n          pip install -e .[full,test]\n\n      - name: Run tests\n        timeout-minutes: 20\n        run: |\n          FULL_TEST=1 pytest\n        shell: bash\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:10.892770", "created_at": "2022-03-11T20:54:28+01:00", "updated_at": "2024-03-19T11:31:19+01:00", "name": "Full Testing", "path": ".github/workflows/full_testing.yml", "contents": "name: Full Testing\n\non:  # yamllint disable-line rule:truthy\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 6 * * *\"  # Everyday at 6:00am UTC/10:00pm PST\n\njobs:\n\n  full_pytest:\n    if: github.repository == 'pyg-team/pytorch_geometric'\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-14]\n        python-version: ['3.8', '3.10']\n        torch-version: [1.13.0, 2.0.0, 2.1.0, 2.2.0, 2.3.0, nightly]\n        include:\n          - torch-version: 1.13.0\n            torchvision-version: 0.14.0\n          - torch-version: 2.0.0\n            torchvision-version: 0.15.0\n          - torch-version: 2.1.0\n            torchvision-version: 0.16.0\n          - torch-version: 2.2.0\n            torchvision-version: 0.17.0\n          - torch-version: 2.3.0\n            torchvision-version: 0.18.0\n          - torch-version: nightly\n            torchvision-version: nightly\n        exclude:\n          - os: macos-14\n            python-version: '3.8'\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup packages\n        uses: ./.github/actions/setup\n        with:\n          python-version: ${{ matrix.python-version }}\n          torch-version: ${{ matrix.torch-version }}\n          torchvision-version: ${{ matrix.torchvision-version }}\n\n      - name: Install graphviz\n        if: ${{ runner.os == 'Linux' }}\n        run: |\n          sudo apt-get install graphviz\n\n      - name: Install mpmath\n        if: ${{ matrix.torch-version == 'nightly' }}\n        run: |\n          pip install mpmath==1.3.0\n\n      - name: Install main package\n        run: |\n          pip install -e .[full,test]\n\n      - name: Run tests\n        timeout-minutes: 20\n        run: |\n          FULL_TEST=1 pytest --cov --cov-report=xml\n        shell: bash\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v2\n        with:\n          fail_ci_if_error: false\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:12.049919", "created_at": "2022-08-31T08:02:05+02:00", "updated_at": "2022-08-31T08:19:47+02:00", "name": "PR Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: PR Labeler\n\non:  # yamllint disable-line rule:truthy\n  pull_request_target:\n\njobs:\n\n  triage:\n    if: github.repository == 'pyg-team/pytorch_geometric'\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: read\n      pull-requests: write\n\n    steps:\n      - name: Add PR labels\n        uses: actions/labeler@v5\n        continue-on-error: true\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          sync-labels: true\n\n      - name: Add PR author\n        uses: samspills/assign-pr-to-author@v1.0\n        if: github.event_name == 'pull_request'\n        continue-on-error: true\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:13.455242", "created_at": "2023-03-25T15:44:18+01:00", "updated_at": "2024-03-19T08:33:34+01:00", "name": "Testing PyTorch nightly", "path": ".github/workflows/latest_testing.yml", "contents": "name: Testing PyTorch nightly\n\non:  # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n\n  latest_pytest:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 40\n\n      # Skip workflow if only certain files have been changed.\n      - name: Get changed files\n        id: changed-files-specific\n        uses: tj-actions/changed-files@v41\n        with:\n          files: |\n            benchmark/**\n            conda/**\n            docker/**\n            docs/**\n            examples/**\n            graphgym/**\n            README.md\n            CHANGELOG.md\n\n      - name: Setup packages\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        uses: ./.github/actions/setup\n        with:\n          torch-version: nightly\n\n      - name: Install mpmath\n        run: |\n          pip install mpmath==1.3.0\n\n      - name: Install main package\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        run: |\n          pip install -e .[test]\n\n      - name: Run tests\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        timeout-minutes: 10\n        run: |\n          pytest\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:14.645663", "created_at": "2021-05-13T15:20:15+02:00", "updated_at": "2023-12-09T14:17:52+01:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\n\non:  # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n\n  mypy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 40\n\n      # Skip workflow if only certain files have been changed.\n      - name: Get changed files\n        id: changed-files-specific\n        uses: tj-actions/changed-files@v41\n        with:\n          files: |\n            benchmark/**\n            conda/**\n            docker/**\n            docs/**\n            examples/**\n            graphgym/**\n            README.md\n            CHANGELOG.md\n\n      - name: Setup packages\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        uses: ./.github/actions/setup\n\n      - name: Install main package\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        run: |\n          pip install mypy\n          pip install -e .[full,test]\n\n      - name: Check type hints\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        run: |\n          mypy\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:15.676505", "created_at": "2023-06-07T18:09:30+02:00", "updated_at": "2024-05-28T20:03:58+02:00", "name": "Testing minimal PyTorch 2.3", "path": ".github/workflows/minimal_testing.yml", "contents": "name: Testing minimal PyTorch 2.3\n\non:  # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n\n  minimal_pytest:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 40\n\n      # Skip workflow if only certain files have been changed.\n      - name: Get changed files\n        id: changed-files-specific\n        uses: tj-actions/changed-files@v41\n        with:\n          files: |\n            benchmark/**\n            conda/**\n            docker/**\n            docs/**\n            examples/**\n            graphgym/**\n            README.md\n            CHANGELOG.md\n\n      - name: Setup packages\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        uses: ./.github/actions/setup\n        with:\n          full_install: false\n\n      - name: Install main package\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        run: |\n          pip install -e .[test]\n\n      - name: Run tests\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        timeout-minutes: 10\n        run: |\n          pytest\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:16.830516", "created_at": "2022-04-02T22:05:25+02:00", "updated_at": "2022-04-02T22:39:34+02:00", "name": "Nightly Build", "path": ".github/workflows/nightly.yml", "contents": "name: Nightly Build\n\non:  # yamllint disable-line rule:truthy\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 6 * * *\"  # Everyday at 6:00am UTC/10:00pm PST\n\njobs:\n\n  build:\n    if: github.repository == 'pyg-team/pytorch_geometric'\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v4.3.0\n        with:\n          python-version: 3.8\n\n      - name: Set version\n        run: echo \"VERSION=$(sed -n \"s/^__version__ = '\\(.*\\)'/\\1/p\" torch_geometric/__init__.py)\" >> ${GITHUB_ENV}\n\n      - name: Set time\n        run: echo \"TODAY=$(date +'%Y%m%d')\" >> ${GITHUB_ENV}\n\n      - name: Customize build version\n        run: |\n          sed -i \"s/$VERSION/$VERSION.dev$TODAY/\" torch_geometric/__init__.py\n          sed -i '0,/name=\"torch-geometric\"/s//name=\"pyg-nightly\"/' pyproject.toml # Only change first occurence\n          sed -i \"s/version=\\\"$VERSION\\\"/version=\\\"$VERSION.dev$TODAY\\\"/\" pyproject.toml\n\n      - name: Build package\n        run: |\n          pip install --upgrade build\n          python -m build\n\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:18.057996", "created_at": "2023-06-27T17:32:55+02:00", "updated_at": "2023-06-27T17:32:55+02:00", "name": "Testing PyTorch 1.11", "path": ".github/workflows/oldest_testing.yml", "contents": null, "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:19.183577", "created_at": "2023-03-18T22:56:25+01:00", "updated_at": "2023-06-29T06:10:59+02:00", "name": "Testing previous PyTorch versions", "path": ".github/workflows/prev_testing.yml", "contents": "name: Testing previous PyTorch versions\n\non:  # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n\n  prev_pytest:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        torch-version: [1.13.0, 2.0.0, 2.1.0, 2.2.0]\n        include:\n          - torch-version: 1.13.0\n            torchvision-version: 0.14.0\n          - torch-version: 2.0.0\n            torchvision-version: 0.15.0\n          - torch-version: 2.1.0\n            torchvision-version: 0.16.0\n          - torch-version: 2.2.0\n            torchvision-version: 0.17.0\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 40\n\n      # Skip workflow if only certain files have been changed.\n      - name: Get changed files\n        id: changed-files-specific\n        uses: tj-actions/changed-files@v41\n        with:\n          files: |\n            benchmark/**\n            conda/**\n            docker/**\n            docs/**\n            examples/**\n            graphgym/**\n            README.md\n            CHANGELOG.md\n\n      - name: Setup packages\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        uses: ./.github/actions/setup\n        with:\n          torch-version: ${{ matrix.torch-version }}\n          torchvision-version: ${{ matrix.torchvision-version }}\n\n      - name: Install main package\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        run: |\n          pip install -e .[full,test]\n\n      - name: Run tests\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        timeout-minutes: 10\n        run: |\n          pytest\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:20.296817", "created_at": "2021-05-13T14:24:30+02:00", "updated_at": "2024-04-27T18:08:41+02:00", "name": "Testing PyTorch 2.3", "path": ".github/workflows/testing.yml", "contents": "name: Testing PyTorch 2.3\n\non:  # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n\n  pytest:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-14]\n        include:\n          - os: ubuntu-latest\n            python-version: '3.8'\n          - os: windows-latest\n            python-version: '3.8'\n          - os: macos-14\n            python-version: '3.10'\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 40\n\n      # Skip workflow if only certain files have been changed.\n      - name: Get changed files\n        id: changed-files-specific\n        uses: tj-actions/changed-files@v41\n        with:\n          files: |\n            benchmark/**\n            conda/**\n            docker/**\n            docs/**\n            examples/**\n            graphgym/**\n            README.md\n            CHANGELOG.md\n\n      - name: Setup packages\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        uses: ./.github/actions/setup\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install main package\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        run: |\n          pip install -e .[full,test]\n\n      - name: Run tests\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        timeout-minutes: 10\n        run: |\n          pytest --cov --cov-report=xml --durations 10\n\n      - name: Upload coverage\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        uses: codecov/codecov-action@v2\n        with:\n          fail_ci_if_error: false\n", "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:21.305189", "created_at": "2023-06-27T23:57:04+02:00", "updated_at": "2023-06-27T23:57:04+02:00", "name": "Testing PyTorch 1.12", "path": ".github/workflows/testing_12.yml", "contents": null, "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:22.380514", "created_at": "2023-06-07T16:50:42+02:00", "updated_at": "2023-06-07T16:50:42+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pyg-team/pytorch_geometric"}
{"mined_at": "2024-07-15T16:39:24.613887", "created_at": "2020-09-25T17:10:37+02:00", "updated_at": "2020-09-25T17:10:37+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n  push:\n    branches:\n      - \"main\"\n    tags:\n      - \"*\"\n\njobs:\n  build:\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n    name: \"py${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n\n    services:\n      postgres:\n        image: postgres:16\n        # Set health checks to wait until postgres has started\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n        ports:\n          - 5432:5432\n\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.python-version }}\"\n          cache: \"poetry\"\n\n      - run: poetry env use \"${{ matrix.python-version }}\"\n\n      - run: poetry install --extras \"django sqlalchemy\"\n\n      - name: Run tests\n        run: scripts/tests\n        env:\n          COVERAGE_FILE: \".coverage.${{ matrix.python-version }}\"\n          PGHOST: localhost\n          PGUSER: postgres\n          PGPASSWORD: postgres\n\n      - name: Store coverage file\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-${{ matrix.python-version }}\n          path: .coverage.${{ matrix.python-version }}\n\n  static-typing:\n    name: Run Pyright\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\" # Important for importlib_metadata\n          cache: \"poetry\"\n\n      - name: Install dependencies\n        run: poetry install --all-extras --with=types\n\n      - name: Activate virtualenv\n        run: echo \"$(poetry env info --path)/bin\" >> $GITHUB_PATH\n\n      - name: Extract pyright version from pre-commit\n        id: pre-commit-pyright-version\n        run: >\n          yq '.repos\n          | filter(.repo == \"https://github.com/RobertCraigie/pyright-python\").0.rev\n          | \"pyright-version=\"+sub(\"^v\", \"\")'\n          .pre-commit-config.yaml >> $GITHUB_OUTPUT\n\n      - uses: jakebailey/pyright-action@v2\n        with:\n          version: ${{ steps.pre-commit-pyright-version.outputs.pyright-version }}\n\n  report-status:\n    name: success\n    runs-on: ubuntu-latest\n    needs:\n      - build\n      - static-typing\n    steps:\n      - name: Report success\n        run: echo 'Success !'\n\n  coverage:\n    name: Coverage\n    runs-on: ubuntu-latest\n    needs: [build]\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4\n\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: coverage-*\n          merge-multiple: true\n\n      - name: Display coverage\n        uses: ewjoachim/python-coverage-comment-action@v3\n        with:\n          MERGE_COVERAGE_FILES: true\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Store Pull Request comment to be posted\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-coverage-comment-action\n          path: python-coverage-comment-action.txt\n\n  publish:\n    name: Publish package to PyPI\n    if: github.event_name == 'push' && github.ref_type == 'tag'\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    needs:\n      - build\n      - static-typing\n    steps:\n      - name: Install poetry\n        run: |\n          pipx install poetry\n          pipx inject poetry 'poetry-dynamic-versioning[plugin]'\n\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4\n\n      - name: Build wheel and sdist\n        run: poetry build\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "procrastinate-org/procrastinate"}
{"mined_at": "2024-07-15T16:39:25.778524", "created_at": "2022-01-14T12:29:50+01:00", "updated_at": "2022-01-14T12:29:50+01:00", "name": "Post coverage comment", "path": ".github/workflows/coverage-comment.yml", "contents": "name: Post coverage comment\n\non:\n  workflow_run:\n    workflows: [\"CI\"]\n    types:\n      - completed\n\njobs:\n  test:\n    name: Run tests & display coverage\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'\n    steps:\n      # DO NOT run actions/checkout@v2 here, for securitity reasons\n      # For details, refer to https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n      - name: Post comment\n        uses: ewjoachim/python-coverage-comment-action@v3\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}\n", "state": "active", "repository": "procrastinate-org/procrastinate"}
{"mined_at": "2024-07-15T16:39:26.969170", "created_at": "2024-01-14T16:46:06+01:00", "updated_at": "2024-01-14T16:46:06+01:00", "name": "Label PR", "path": ".github/workflows/pr-labels.yml", "contents": "name: Label PR\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - edited\n\njobs:\n  label:\n    name: Label PR\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - run: |\n          export LABELS=$(gh repo view $REPO --json=\"labels\" --jq='.labels[].name | select(startswith(env.PREFIX))')\n          python <(cat <<EOF\n          import sys, os\n          from urllib.parse import quote\n          url = f\"https://github.com/{os.environ['REPO']}/labels/\"\n          labels = os.environ['LABELS'].strip().splitlines()\n          prefix = os.environ['PREFIX']\n          checked = \"- [x] \"\n          unchecked = \"- [ ] \"\n          for line in os.environ[\"BODY\"].splitlines():\n            for label in labels:\n              if label.startswith(prefix) and line.strip().endswith(url + quote(label)):\n                if line.strip().startswith(checked):\n                  print(f\"--add-label={label}\")\n                elif line.strip().startswith(unchecked):\n                  print(f\"--remove-label={label}\")\n          EOF\n          ) | xargs --no-run-if-empty --delimiter '\\n' gh pr --repo $REPO edit $NUMBER\n\n        env:\n          PREFIX: \"PR type: \"\n          REPO: procrastinate-org/procrastinate\n          BODY: ${{github.event.pull_request.body}}\n          NUMBER: ${{ github.event.pull_request.number }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "procrastinate-org/procrastinate"}
{"mined_at": "2024-07-15T16:39:29.169005", "created_at": "2023-11-03T17:30:47+01:00", "updated_at": "2023-11-07T04:44:37+01:00", "name": "audiocraft_jp51", "path": ".github/workflows/audiocraft_jp51.yml", "contents": "name: \"audiocraft_jp51\"\nrun-name: \"Build audiocraft (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/audiocraft_jp51.yml'\n      - 'packages/audio/audiocraft/*'\n      - '!packages/audio/audiocraft/README.md'\n      - '!packages/audio/audiocraft/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/llm/xformers/*'\n      - '!packages/llm/xformers/README.md'\n      - '!packages/llm/xformers/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\njobs:\n  audiocraft_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv audiocraft", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:30.347383", "created_at": "2023-12-15T04:42:38+01:00", "updated_at": "2023-12-19T17:37:51+01:00", "name": "audiocraft_jp60", "path": ".github/workflows/audiocraft_jp60.yml", "contents": "name: \"audiocraft_jp60\"\nrun-name: \"Build audiocraft (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/audiocraft_jp60.yml'\n      - 'packages/audio/audiocraft/*'\n      - '!packages/audio/audiocraft/README.md'\n      - '!packages/audio/audiocraft/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/llm/xformers/*'\n      - '!packages/llm/xformers/README.md'\n      - '!packages/llm/xformers/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\njobs:\n  audiocraft_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv audiocraft", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:31.364256", "created_at": "2023-08-07T23:09:38+02:00", "updated_at": "2023-08-07T23:13:26+02:00", "name": "auto_gptq_jp51", "path": ".github/workflows/auto_gptq_jp51.yml", "contents": "name: \"auto_gptq_jp51\"\nrun-name: \"Build auto_gptq (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/auto_gptq_jp51.yml'\n      - 'packages/llm/auto_gptq/*'\n      - '!packages/llm/auto_gptq/README.md'\n      - '!packages/llm/auto_gptq/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  auto_gptq_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv auto_gptq", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:32.497650", "created_at": "2023-12-06T00:54:31+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "auto_gptq_jp60", "path": ".github/workflows/auto_gptq_jp60.yml", "contents": "name: \"auto_gptq_jp60\"\nrun-name: \"Build auto_gptq (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/auto_gptq_jp60.yml'\n      - 'packages/llm/auto_gptq/*'\n      - '!packages/llm/auto_gptq/README.md'\n      - '!packages/llm/auto_gptq/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  auto_gptq_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv auto_gptq", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:33.735296", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "awq_jp51", "path": ".github/workflows/awq_jp51.yml", "contents": "name: \"awq_jp51\"\nrun-name: \"Build awq (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/awq_jp51.yml'\n      - 'packages/llm/awq/*'\n      - '!packages/llm/awq/README.md'\n      - '!packages/llm/awq/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  awq_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv awq", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:34.853319", "created_at": "2023-12-06T00:54:31+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "awq_jp60", "path": ".github/workflows/awq_jp60.yml", "contents": "name: \"awq_jp60\"\nrun-name: \"Build awq (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/awq_jp60.yml'\n      - 'packages/llm/awq/*'\n      - '!packages/llm/awq/README.md'\n      - '!packages/llm/awq/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  awq_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv awq", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:36.040963", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "bazel_jp46", "path": ".github/workflows/bazel_jp46.yml", "contents": "name: \"bazel_jp46\"\nrun-name: \"Build bazel (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/bazel_jp46.yml'\n      - 'packages/bazel/*'\n      - '!packages/bazel/README.md'\n      - '!packages/bazel/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\njobs:\n  bazel_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv bazel", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:37.077472", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "bazel_jp51", "path": ".github/workflows/bazel_jp51.yml", "contents": "name: \"bazel_jp51\"\nrun-name: \"Build bazel (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/bazel_jp51.yml'\n      - 'packages/bazel/*'\n      - '!packages/bazel/README.md'\n      - '!packages/bazel/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\njobs:\n  bazel_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv bazel", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:38.436584", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "bitsandbytes_jp51", "path": ".github/workflows/bitsandbytes_jp51.yml", "contents": "name: \"bitsandbytes_jp51\"\nrun-name: \"Build bitsandbytes (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/bitsandbytes_jp51.yml'\n      - 'packages/llm/bitsandbytes/*'\n      - '!packages/llm/bitsandbytes/README.md'\n      - '!packages/llm/bitsandbytes/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  bitsandbytes_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv bitsandbytes", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:39.467821", "created_at": "2023-08-13T00:15:31+02:00", "updated_at": "2023-08-13T00:43:30+02:00", "name": "build-all_r32.7.1", "path": ".github/workflows/build-all_r32.7.1.yml", "contents": "name: \"build-all_r32.7.1\"\nrun-name: \"Build All (JetPack 4.6.1)\"\non: [workflow_dispatch]\njobs:\n  bazel:\n     name: \"bazel\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv bazel\n  build-essential:\n     name: \"build-essential\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv build-essential\n  cmake-apt:\n     name: \"cmake:apt\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cmake:apt\n  cmake-pip:\n     name: \"cmake:pip\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cmake:pip\n  cupy:\n     name: \"cupy\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cupy\n  deepstream:\n     name: \"deepstream\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv deepstream\n  gstreamer:\n     name: \"gstreamer\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv gstreamer\n  huggingface_hub:\n     name: \"huggingface_hub\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv huggingface_hub\n  jupyterlab:\n     name: \"jupyterlab\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv jupyterlab\n  l4t-ml:\n     name: \"l4t-ml\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-ml\n  l4t-pytorch:\n     name: \"l4t-pytorch\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-pytorch\n  l4t-tensorflow-tf1:\n     name: \"l4t-tensorflow:tf1\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf1\n  l4t-tensorflow-tf2:\n     name: \"l4t-tensorflow:tf2\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf2\n  nemo:\n     name: \"nemo\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv nemo\n  numba:\n     name: \"numba\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv numba\n  numpy:\n     name: \"numpy\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv numpy\n  onnx:\n     name: \"onnx\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv onnx\n  onnxruntime:\n     name: \"onnxruntime\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv onnxruntime\n  opencv:\n     name: \"opencv\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv opencv\n  opencv_builder:\n     name: \"opencv_builder\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv opencv_builder\n  optimum:\n     name: \"optimum\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv optimum\n  protobuf-apt:\n     name: \"protobuf:apt\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv protobuf:apt\n  protobuf-cpp:\n     name: \"protobuf:cpp\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv protobuf:cpp\n  pycuda:\n     name: \"pycuda\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pycuda\n  python:\n     name: \"python\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv python\n  pytorch-110:\n     name: \"pytorch:1.10\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.10\n  pytorch-19:\n     name: \"pytorch:1.9\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.9\n  realsense:\n     name: \"realsense\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv realsense\n  ros-foxy-desktop:\n     name: \"ros:foxy-desktop\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-desktop\n  ros-foxy-ros-base:\n     name: \"ros:foxy-ros-base\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-ros-base\n  ros-foxy-ros-core:\n     name: \"ros:foxy-ros-core\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-ros-core\n  ros-galactic-desktop:\n     name: \"ros:galactic-desktop\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-desktop\n  ros-galactic-ros-base:\n     name: \"ros:galactic-ros-base\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-ros-base\n  ros-galactic-ros-core:\n     name: \"ros:galactic-ros-core\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-ros-core\n  ros-humble-desktop:\n     name: \"ros:humble-desktop\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:humble-desktop\n  ros-humble-ros-base:\n     name: \"ros:humble-ros-base\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-base\n  ros-humble-ros-core:\n     name: \"ros:humble-ros-core\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-core\n  ros-iron-desktop:\n     name: \"ros:iron-desktop\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:iron-desktop\n  ros-iron-ros-base:\n     name: \"ros:iron-ros-base\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:iron-ros-base\n  ros-iron-ros-core:\n     name: \"ros:iron-ros-core\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:iron-ros-core\n  ros-melodic-desktop:\n     name: \"ros:melodic-desktop\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:melodic-desktop\n  ros-melodic-ros-base:\n     name: \"ros:melodic-ros-base\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:melodic-ros-base\n  ros-melodic-ros-core:\n     name: \"ros:melodic-ros-core\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:melodic-ros-core\n  ros-noetic-desktop:\n     name: \"ros:noetic-desktop\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-desktop\n  ros-noetic-ros-base:\n     name: \"ros:noetic-ros-base\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-ros-base\n  ros-noetic-ros-core:\n     name: \"ros:noetic-ros-core\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-ros-core\n  rust:\n     name: \"rust\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv rust\n  tensorflow:\n     name: \"tensorflow\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tensorflow\n  tensorflow2:\n     name: \"tensorflow2\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tensorflow2\n  torch2trt:\n     name: \"torch2trt\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torch2trt\n  torch_tensorrt:\n     name: \"torch_tensorrt\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torch_tensorrt\n  torchaudio:\n     name: \"torchaudio\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torchaudio\n  torchvision:\n     name: \"torchvision\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torchvision\n  transformers:\n     name: \"transformers\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv transformers\n  tritonserver:\n     name: \"tritonserver\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tritonserver\n  zed:\n     name: \"zed\"\n     runs-on: [self-hosted, jetson, r32.7.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv zed\n", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:40.589725", "created_at": "2023-08-13T00:15:31+02:00", "updated_at": "2023-08-13T00:43:30+02:00", "name": "build-all_r35.2.1", "path": ".github/workflows/build-all_r35.2.1.yml", "contents": "name: \"build-all_r35.2.1\"\nrun-name: \"Build All (JetPack 5.1)\"\non: [workflow_dispatch]\njobs:\n  auto_gptq:\n     name: \"auto_gptq\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv auto_gptq\n  awq:\n     name: \"awq\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv awq\n  bazel:\n     name: \"bazel\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv bazel\n  bitsandbytes:\n     name: \"bitsandbytes\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv bitsandbytes\n  build-essential:\n     name: \"build-essential\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv build-essential\n  cmake-apt:\n     name: \"cmake:apt\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cmake:apt\n  cmake-pip:\n     name: \"cmake:pip\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cmake:pip\n  cuda-python:\n     name: \"cuda-python\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cuda-python\n  cudf:\n     name: \"cudf\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cudf\n  cuml:\n     name: \"cuml\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cuml\n  cupy:\n     name: \"cupy\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cupy\n  deepstream:\n     name: \"deepstream\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv deepstream\n  exllama:\n     name: \"exllama\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv exllama\n  exllama-v2:\n     name: \"exllama:v2\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv exllama:v2\n  gptq-for-llama:\n     name: \"gptq-for-llama\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv gptq-for-llama\n  gstreamer:\n     name: \"gstreamer\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv gstreamer\n  huggingface_hub:\n     name: \"huggingface_hub\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv huggingface_hub\n  jupyterlab:\n     name: \"jupyterlab\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv jupyterlab\n  l4t-diffusion:\n     name: \"l4t-diffusion\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-diffusion\n  l4t-ml:\n     name: \"l4t-ml\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-ml\n  l4t-pytorch:\n     name: \"l4t-pytorch\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-pytorch\n  l4t-tensorflow-tf1:\n     name: \"l4t-tensorflow:tf1\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf1\n  l4t-tensorflow-tf2:\n     name: \"l4t-tensorflow:tf2\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf2\n  l4t-text-generation:\n     name: \"l4t-text-generation\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-text-generation\n  langchain:\n     name: \"langchain\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv langchain\n  langchain-samples:\n     name: \"langchain:samples\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv langchain:samples\n  llama_cpp-ggml:\n     name: \"llama_cpp:ggml\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv llama_cpp:ggml\n  llama_cpp-gguf:\n     name: \"llama_cpp:gguf\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv llama_cpp:gguf\n  llamaspeak:\n     name: \"llamaspeak\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv llamaspeak\n  llava:\n     name: \"llava\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv llava\n  local_llm:\n     name: \"local_llm\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv local_llm\n  minigpt4:\n     name: \"minigpt4\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv minigpt4\n  mlc:\n     name: \"mlc\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv mlc\n  nemo:\n     name: \"nemo\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv nemo\n  numba:\n     name: \"numba\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv numba\n  numpy:\n     name: \"numpy\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv numpy\n  onnx:\n     name: \"onnx\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv onnx\n  onnxruntime:\n     name: \"onnxruntime\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv onnxruntime\n  opencv:\n     name: \"opencv\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv opencv\n  opencv_builder:\n     name: \"opencv_builder\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv opencv_builder\n  optimum:\n     name: \"optimum\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv optimum\n  protobuf-apt:\n     name: \"protobuf:apt\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv protobuf:apt\n  protobuf-cpp:\n     name: \"protobuf:cpp\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv protobuf:cpp\n  pycuda:\n     name: \"pycuda\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pycuda\n  python:\n     name: \"python\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv python\n  pytorch-111:\n     name: \"pytorch:1.11\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.11\n  pytorch-112:\n     name: \"pytorch:1.12\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.12\n  pytorch-113:\n     name: \"pytorch:1.13\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.13\n  pytorch-20:\n     name: \"pytorch:2.0\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:2.0\n  pytorch-21:\n     name: \"pytorch:2.1\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:2.1\n  realsense:\n     name: \"realsense\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv realsense\n  riva-client-cpp:\n     name: \"riva-client:cpp\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv riva-client:cpp\n  riva-client-python:\n     name: \"riva-client:python\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv riva-client:python\n  ros-foxy-desktop:\n     name: \"ros:foxy-desktop\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-desktop\n  ros-foxy-ros-base:\n     name: \"ros:foxy-ros-base\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-ros-base\n  ros-foxy-ros-core:\n     name: \"ros:foxy-ros-core\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-ros-core\n  ros-galactic-desktop:\n     name: \"ros:galactic-desktop\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-desktop\n  ros-galactic-ros-base:\n     name: \"ros:galactic-ros-base\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-ros-base\n  ros-galactic-ros-core:\n     name: \"ros:galactic-ros-core\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-ros-core\n  ros-humble-desktop:\n     name: \"ros:humble-desktop\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:humble-desktop\n  ros-humble-ros-base:\n     name: \"ros:humble-ros-base\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-base\n  ros-humble-ros-core:\n     name: \"ros:humble-ros-core\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-core\n  ros-iron-desktop:\n     name: \"ros:iron-desktop\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:iron-desktop\n  ros-iron-ros-base:\n     name: \"ros:iron-ros-base\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:iron-ros-base\n  ros-iron-ros-core:\n     name: \"ros:iron-ros-core\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:iron-ros-core\n  ros-noetic-desktop:\n     name: \"ros:noetic-desktop\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-desktop\n  ros-noetic-ros-base:\n     name: \"ros:noetic-ros-base\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-ros-base\n  ros-noetic-ros-core:\n     name: \"ros:noetic-ros-core\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-ros-core\n  rust:\n     name: \"rust\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv rust\n  stable-diffusion:\n     name: \"stable-diffusion\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv stable-diffusion\n  stable-diffusion-webui:\n     name: \"stable-diffusion-webui\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv stable-diffusion-webui\n  tensorflow:\n     name: \"tensorflow\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tensorflow\n  tensorflow2:\n     name: \"tensorflow2\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tensorflow2\n  text-generation-inference:\n     name: \"text-generation-inference\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv text-generation-inference\n  text-generation-webui:\n     name: \"text-generation-webui\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv text-generation-webui\n  torch2trt:\n     name: \"torch2trt\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torch2trt\n  torch_tensorrt:\n     name: \"torch_tensorrt\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torch_tensorrt\n  torchaudio:\n     name: \"torchaudio\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torchaudio\n  torchvision:\n     name: \"torchvision\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torchvision\n  transformers:\n     name: \"transformers\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv transformers\n  transformers-git:\n     name: \"transformers:git\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv transformers:git\n  transformers-nvgpt:\n     name: \"transformers:nvgpt\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv transformers:nvgpt\n  tritonserver:\n     name: \"tritonserver\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tritonserver\n  tvm:\n     name: \"tvm\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tvm\n  xformers:\n     name: \"xformers\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv xformers\n  zed:\n     name: \"zed\"\n     runs-on: [self-hosted, jetson, r35.2.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv zed\n", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:41.717786", "created_at": "2023-08-13T00:15:32+02:00", "updated_at": "2023-08-13T00:43:30+02:00", "name": "build-all_r35.3.1", "path": ".github/workflows/build-all_r35.3.1.yml", "contents": "name: \"build-all_r35.3.1\"\nrun-name: \"Build All (JetPack 5.1.1)\"\non: [workflow_dispatch]\njobs:\n  auto_gptq:\n     name: \"auto_gptq\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv auto_gptq\n  awq:\n     name: \"awq\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv awq\n  bazel:\n     name: \"bazel\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv bazel\n  bitsandbytes:\n     name: \"bitsandbytes\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv bitsandbytes\n  build-essential:\n     name: \"build-essential\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv build-essential\n  cmake-apt:\n     name: \"cmake:apt\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cmake:apt\n  cmake-pip:\n     name: \"cmake:pip\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cmake:pip\n  cuda-python:\n     name: \"cuda-python\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cuda-python\n  cudf:\n     name: \"cudf\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cudf\n  cuml:\n     name: \"cuml\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cuml\n  cupy:\n     name: \"cupy\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cupy\n  deepstream:\n     name: \"deepstream\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv deepstream\n  exllama:\n     name: \"exllama\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv exllama\n  exllama-v2:\n     name: \"exllama:v2\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv exllama:v2\n  gptq-for-llama:\n     name: \"gptq-for-llama\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv gptq-for-llama\n  gstreamer:\n     name: \"gstreamer\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv gstreamer\n  huggingface_hub:\n     name: \"huggingface_hub\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv huggingface_hub\n  jupyterlab:\n     name: \"jupyterlab\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv jupyterlab\n  l4t-diffusion:\n     name: \"l4t-diffusion\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-diffusion\n  l4t-ml:\n     name: \"l4t-ml\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-ml\n  l4t-pytorch:\n     name: \"l4t-pytorch\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-pytorch\n  l4t-tensorflow-tf1:\n     name: \"l4t-tensorflow:tf1\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf1\n  l4t-tensorflow-tf2:\n     name: \"l4t-tensorflow:tf2\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf2\n  l4t-text-generation:\n     name: \"l4t-text-generation\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-text-generation\n  langchain:\n     name: \"langchain\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv langchain\n  langchain-samples:\n     name: \"langchain:samples\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv langchain:samples\n  llama_cpp-ggml:\n     name: \"llama_cpp:ggml\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv llama_cpp:ggml\n  llama_cpp-gguf:\n     name: \"llama_cpp:gguf\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv llama_cpp:gguf\n  llamaspeak:\n     name: \"llamaspeak\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv llamaspeak\n  llava:\n     name: \"llava\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv llava\n  local_llm:\n     name: \"local_llm\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv local_llm\n  minigpt4:\n     name: \"minigpt4\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv minigpt4\n  mlc:\n     name: \"mlc\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv mlc\n  nemo:\n     name: \"nemo\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv nemo\n  numba:\n     name: \"numba\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv numba\n  numpy:\n     name: \"numpy\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv numpy\n  onnx:\n     name: \"onnx\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv onnx\n  onnxruntime:\n     name: \"onnxruntime\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv onnxruntime\n  opencv:\n     name: \"opencv\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv opencv\n  opencv_builder:\n     name: \"opencv_builder\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv opencv_builder\n  optimum:\n     name: \"optimum\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv optimum\n  protobuf-apt:\n     name: \"protobuf:apt\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv protobuf:apt\n  protobuf-cpp:\n     name: \"protobuf:cpp\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv protobuf:cpp\n  pycuda:\n     name: \"pycuda\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pycuda\n  python:\n     name: \"python\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv python\n  pytorch-111:\n     name: \"pytorch:1.11\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.11\n  pytorch-112:\n     name: \"pytorch:1.12\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.12\n  pytorch-113:\n     name: \"pytorch:1.13\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.13\n  pytorch-20:\n     name: \"pytorch:2.0\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:2.0\n  pytorch-21:\n     name: \"pytorch:2.1\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:2.1\n  realsense:\n     name: \"realsense\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv realsense\n  riva-client-cpp:\n     name: \"riva-client:cpp\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv riva-client:cpp\n  riva-client-python:\n     name: \"riva-client:python\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv riva-client:python\n  ros-foxy-desktop:\n     name: \"ros:foxy-desktop\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-desktop\n  ros-foxy-ros-base:\n     name: \"ros:foxy-ros-base\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-ros-base\n  ros-foxy-ros-core:\n     name: \"ros:foxy-ros-core\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-ros-core\n  ros-galactic-desktop:\n     name: \"ros:galactic-desktop\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-desktop\n  ros-galactic-ros-base:\n     name: \"ros:galactic-ros-base\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-ros-base\n  ros-galactic-ros-core:\n     name: \"ros:galactic-ros-core\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-ros-core\n  ros-humble-desktop:\n     name: \"ros:humble-desktop\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:humble-desktop\n  ros-humble-ros-base:\n     name: \"ros:humble-ros-base\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-base\n  ros-humble-ros-core:\n     name: \"ros:humble-ros-core\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-core\n  ros-iron-desktop:\n     name: \"ros:iron-desktop\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:iron-desktop\n  ros-iron-ros-base:\n     name: \"ros:iron-ros-base\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:iron-ros-base\n  ros-iron-ros-core:\n     name: \"ros:iron-ros-core\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:iron-ros-core\n  ros-noetic-desktop:\n     name: \"ros:noetic-desktop\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-desktop\n  ros-noetic-ros-base:\n     name: \"ros:noetic-ros-base\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-ros-base\n  ros-noetic-ros-core:\n     name: \"ros:noetic-ros-core\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-ros-core\n  rust:\n     name: \"rust\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv rust\n  stable-diffusion:\n     name: \"stable-diffusion\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv stable-diffusion\n  stable-diffusion-webui:\n     name: \"stable-diffusion-webui\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv stable-diffusion-webui\n  tensorflow:\n     name: \"tensorflow\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tensorflow\n  tensorflow2:\n     name: \"tensorflow2\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tensorflow2\n  text-generation-inference:\n     name: \"text-generation-inference\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv text-generation-inference\n  text-generation-webui:\n     name: \"text-generation-webui\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv text-generation-webui\n  torch2trt:\n     name: \"torch2trt\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torch2trt\n  torch_tensorrt:\n     name: \"torch_tensorrt\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torch_tensorrt\n  torchaudio:\n     name: \"torchaudio\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torchaudio\n  torchvision:\n     name: \"torchvision\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torchvision\n  transformers:\n     name: \"transformers\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv transformers\n  transformers-git:\n     name: \"transformers:git\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv transformers:git\n  transformers-nvgpt:\n     name: \"transformers:nvgpt\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv transformers:nvgpt\n  tritonserver:\n     name: \"tritonserver\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tritonserver\n  tvm:\n     name: \"tvm\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tvm\n  xformers:\n     name: \"xformers\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv xformers\n  zed:\n     name: \"zed\"\n     runs-on: [self-hosted, jetson, r35.3.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv zed\n", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:42.746835", "created_at": "2023-08-13T00:15:32+02:00", "updated_at": "2023-08-13T00:43:30+02:00", "name": "build-all_r35.4.1", "path": ".github/workflows/build-all_r35.4.1.yml", "contents": "name: \"build-all_r35.4.1\"\nrun-name: \"Build All (JetPack 5.1.2)\"\non: [workflow_dispatch]\njobs:\n  auto_gptq:\n     name: \"auto_gptq\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv auto_gptq\n  awq:\n     name: \"awq\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv awq\n  bazel:\n     name: \"bazel\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv bazel\n  bitsandbytes:\n     name: \"bitsandbytes\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv bitsandbytes\n  build-essential:\n     name: \"build-essential\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv build-essential\n  cmake-apt:\n     name: \"cmake:apt\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cmake:apt\n  cmake-pip:\n     name: \"cmake:pip\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cmake:pip\n  cuda-python:\n     name: \"cuda-python\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cuda-python\n  cudf:\n     name: \"cudf\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cudf\n  cuml:\n     name: \"cuml\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cuml\n  cupy:\n     name: \"cupy\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv cupy\n  deepstream:\n     name: \"deepstream\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv deepstream\n  exllama:\n     name: \"exllama\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv exllama\n  exllama-v2:\n     name: \"exllama:v2\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv exllama:v2\n  gptq-for-llama:\n     name: \"gptq-for-llama\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv gptq-for-llama\n  gstreamer:\n     name: \"gstreamer\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv gstreamer\n  huggingface_hub:\n     name: \"huggingface_hub\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv huggingface_hub\n  jupyterlab:\n     name: \"jupyterlab\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv jupyterlab\n  l4t-diffusion:\n     name: \"l4t-diffusion\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-diffusion\n  l4t-ml:\n     name: \"l4t-ml\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-ml\n  l4t-pytorch:\n     name: \"l4t-pytorch\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-pytorch\n  l4t-tensorflow-tf1:\n     name: \"l4t-tensorflow:tf1\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf1\n  l4t-tensorflow-tf2:\n     name: \"l4t-tensorflow:tf2\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf2\n  l4t-text-generation:\n     name: \"l4t-text-generation\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv l4t-text-generation\n  langchain:\n     name: \"langchain\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv langchain\n  langchain-samples:\n     name: \"langchain:samples\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv langchain:samples\n  llama_cpp-ggml:\n     name: \"llama_cpp:ggml\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv llama_cpp:ggml\n  llama_cpp-gguf:\n     name: \"llama_cpp:gguf\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv llama_cpp:gguf\n  llamaspeak:\n     name: \"llamaspeak\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv llamaspeak\n  llava:\n     name: \"llava\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv llava\n  local_llm:\n     name: \"local_llm\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv local_llm\n  minigpt4:\n     name: \"minigpt4\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv minigpt4\n  mlc:\n     name: \"mlc\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv mlc\n  nemo:\n     name: \"nemo\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv nemo\n  numba:\n     name: \"numba\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv numba\n  numpy:\n     name: \"numpy\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv numpy\n  onnx:\n     name: \"onnx\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv onnx\n  onnxruntime:\n     name: \"onnxruntime\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv onnxruntime\n  opencv:\n     name: \"opencv\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv opencv\n  opencv_builder:\n     name: \"opencv_builder\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv opencv_builder\n  optimum:\n     name: \"optimum\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv optimum\n  protobuf-apt:\n     name: \"protobuf:apt\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv protobuf:apt\n  protobuf-cpp:\n     name: \"protobuf:cpp\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv protobuf:cpp\n  pycuda:\n     name: \"pycuda\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pycuda\n  python:\n     name: \"python\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv python\n  pytorch-111:\n     name: \"pytorch:1.11\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.11\n  pytorch-112:\n     name: \"pytorch:1.12\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.12\n  pytorch-113:\n     name: \"pytorch:1.13\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.13\n  pytorch-20:\n     name: \"pytorch:2.0\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:2.0\n  pytorch-21:\n     name: \"pytorch:2.1\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv pytorch:2.1\n  realsense:\n     name: \"realsense\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv realsense\n  riva-client-cpp:\n     name: \"riva-client:cpp\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv riva-client:cpp\n  riva-client-python:\n     name: \"riva-client:python\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv riva-client:python\n  ros-foxy-desktop:\n     name: \"ros:foxy-desktop\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-desktop\n  ros-foxy-ros-base:\n     name: \"ros:foxy-ros-base\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-ros-base\n  ros-foxy-ros-core:\n     name: \"ros:foxy-ros-core\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-ros-core\n  ros-galactic-desktop:\n     name: \"ros:galactic-desktop\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-desktop\n  ros-galactic-ros-base:\n     name: \"ros:galactic-ros-base\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-ros-base\n  ros-galactic-ros-core:\n     name: \"ros:galactic-ros-core\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-ros-core\n  ros-humble-desktop:\n     name: \"ros:humble-desktop\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:humble-desktop\n  ros-humble-ros-base:\n     name: \"ros:humble-ros-base\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-base\n  ros-humble-ros-core:\n     name: \"ros:humble-ros-core\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-core\n  ros-iron-desktop:\n     name: \"ros:iron-desktop\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:iron-desktop\n  ros-iron-ros-base:\n     name: \"ros:iron-ros-base\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:iron-ros-base\n  ros-iron-ros-core:\n     name: \"ros:iron-ros-core\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:iron-ros-core\n  ros-noetic-desktop:\n     name: \"ros:noetic-desktop\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-desktop\n  ros-noetic-ros-base:\n     name: \"ros:noetic-ros-base\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-ros-base\n  ros-noetic-ros-core:\n     name: \"ros:noetic-ros-core\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-ros-core\n  rust:\n     name: \"rust\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv rust\n  stable-diffusion:\n     name: \"stable-diffusion\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv stable-diffusion\n  stable-diffusion-webui:\n     name: \"stable-diffusion-webui\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv stable-diffusion-webui\n  tensorflow:\n     name: \"tensorflow\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tensorflow\n  tensorflow2:\n     name: \"tensorflow2\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tensorflow2\n  text-generation-inference:\n     name: \"text-generation-inference\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv text-generation-inference\n  text-generation-webui:\n     name: \"text-generation-webui\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv text-generation-webui\n  torch2trt:\n     name: \"torch2trt\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torch2trt\n  torch_tensorrt:\n     name: \"torch_tensorrt\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torch_tensorrt\n  torchaudio:\n     name: \"torchaudio\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torchaudio\n  torchvision:\n     name: \"torchvision\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv torchvision\n  transformers:\n     name: \"transformers\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv transformers\n  transformers-git:\n     name: \"transformers:git\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv transformers:git\n  transformers-nvgpt:\n     name: \"transformers:nvgpt\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv transformers:nvgpt\n  tritonserver:\n     name: \"tritonserver\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tritonserver\n  tvm:\n     name: \"tvm\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv tvm\n  xformers:\n     name: \"xformers\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv xformers\n  zed:\n     name: \"zed\"\n     runs-on: [self-hosted, jetson, r35.4.1]\n     steps:\n       - run: |\n          cat /etc/nv_tegra_release \n       - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n         run: |\n          echo \"$RUNNER_WORKSPACE\" \n          cd $RUNNER_WORKSPACE \n          git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n          cd jetson-containers \n          git fetch origin \n          git checkout $GITHUB_SHA \n          git status \n          ls -a \n       - run: ./build.sh --name=runner/ --push=dustynv zed\n", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:43.857689", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "build-essential_jp46", "path": ".github/workflows/build-essential_jp46.yml", "contents": "name: \"build-essential_jp46\"\nrun-name: \"Build build-essential (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/build-essential_jp46.yml'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\njobs:\n  build-essential_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv build-essential", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:44.950049", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "build-essential_jp51", "path": ".github/workflows/build-essential_jp51.yml", "contents": "name: \"build-essential_jp51\"\nrun-name: \"Build build-essential (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/build-essential_jp51.yml'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\njobs:\n  build-essential_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv build-essential", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:46.038339", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "cmake-apt_jp46", "path": ".github/workflows/cmake-apt_jp46.yml", "contents": "name: \"cmake-apt_jp46\"\nrun-name: \"Build cmake:apt (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cmake-apt_jp46.yml'\n      - 'packages/cmake/cmake_apt/*'\n      - '!packages/cmake/cmake_apt/README.md'\n      - '!packages/cmake/cmake_apt/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\njobs:\n  cmake-apt_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cmake:apt", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:47.036271", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "cmake-apt_jp51", "path": ".github/workflows/cmake-apt_jp51.yml", "contents": "name: \"cmake-apt_jp51\"\nrun-name: \"Build cmake:apt (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cmake-apt_jp51.yml'\n      - 'packages/cmake/cmake_apt/*'\n      - '!packages/cmake/cmake_apt/README.md'\n      - '!packages/cmake/cmake_apt/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\njobs:\n  cmake-apt_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cmake:apt", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:48.267010", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "cmake-pip_jp46", "path": ".github/workflows/cmake-pip_jp46.yml", "contents": "name: \"cmake-pip_jp46\"\nrun-name: \"Build cmake:pip (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cmake-pip_jp46.yml'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  cmake-pip_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cmake:pip", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:49.280587", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "cmake-pip_jp51", "path": ".github/workflows/cmake-pip_jp51.yml", "contents": "name: \"cmake-pip_jp51\"\nrun-name: \"Build cmake:pip (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cmake-pip_jp51.yml'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  cmake-pip_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cmake:pip", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:50.572621", "created_at": "2023-12-07T03:56:48+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "cuda-122-samples_jp60", "path": ".github/workflows/cuda-122-samples_jp60.yml", "contents": "name: \"cuda-122-samples_jp60\"\nrun-name: \"Build cuda:12.2-samples (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cuda-122-samples_jp60.yml'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  cuda-122-samples_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cuda:12.2-samples", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:51.645581", "created_at": "2023-12-05T21:44:15+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "cuda-122_jp60", "path": ".github/workflows/cuda-122_jp60.yml", "contents": "name: \"cuda-122_jp60\"\nrun-name: \"Build cuda:12.2 (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cuda-122_jp60.yml'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\njobs:\n  cuda-122_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cuda:12.2", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:52.772801", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "cuda-python_jp51", "path": ".github/workflows/cuda-python_jp51.yml", "contents": "name: \"cuda-python_jp51\"\nrun-name: \"Build cuda-python (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cuda-python_jp51.yml'\n      - 'packages/cuda/cuda-python/*'\n      - '!packages/cuda/cuda-python/README.md'\n      - '!packages/cuda/cuda-python/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  cuda-python_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cuda-python", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:53.891794", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "cuda-python_jp60", "path": ".github/workflows/cuda-python_jp60.yml", "contents": "name: \"cuda-python_jp60\"\nrun-name: \"Build cuda-python (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cuda-python_jp60.yml'\n      - 'packages/cuda/cuda-python/*'\n      - '!packages/cuda/cuda-python/README.md'\n      - '!packages/cuda/cuda-python/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  cuda-python_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cuda-python", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:54.932982", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "cudf-231003_jp60", "path": ".github/workflows/cudf-231003_jp60.yml", "contents": "name: \"cudf-231003_jp60\"\nrun-name: \"Build cudf:23.10.03 (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cudf-231003_jp60.yml'\n      - 'packages/rapids/cudf/*'\n      - '!packages/rapids/cudf/README.md'\n      - '!packages/rapids/cudf/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cuda/cupy/*'\n      - '!packages/cuda/cupy/README.md'\n      - '!packages/cuda/cupy/docs.md'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/cuda/cuda-python/*'\n      - '!packages/cuda/cuda-python/README.md'\n      - '!packages/cuda/cuda-python/docs.md'\n      - 'packages/arrow/*'\n      - '!packages/arrow/README.md'\n      - '!packages/arrow/docs.md'\njobs:\n  cudf-231003_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cudf:23.10.03", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:55.945389", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "cudf_jp51", "path": ".github/workflows/cudf_jp51.yml", "contents": "name: \"cudf_jp51\"\nrun-name: \"Build cudf (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cudf_jp51.yml'\n      - 'packages/rapids/cudf/*'\n      - '!packages/rapids/cudf/README.md'\n      - '!packages/rapids/cudf/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cupy/*'\n      - '!packages/cupy/README.md'\n      - '!packages/cupy/docs.md'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\njobs:\n  cudf_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cudf", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:57.106422", "created_at": "2023-12-05T22:09:45+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "cudnn-89_jp60", "path": ".github/workflows/cudnn-89_jp60.yml", "contents": "name: \"cudnn-89_jp60\"\nrun-name: \"Build cudnn:8.9 (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cudnn-89_jp60.yml'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\njobs:\n  cudnn-89_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cudnn:8.9", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:39:58.735451", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "cuml_jp51", "path": ".github/workflows/cuml_jp51.yml", "contents": "name: \"cuml_jp51\"\nrun-name: \"Build cuml (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cuml_jp51.yml'\n      - 'packages/rapids/cuml/*'\n      - '!packages/rapids/cuml/README.md'\n      - '!packages/rapids/cuml/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cuda/cupy/*'\n      - '!packages/cuda/cupy/README.md'\n      - '!packages/cuda/cupy/docs.md'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/rapids/cudf/*'\n      - '!packages/rapids/cudf/README.md'\n      - '!packages/rapids/cudf/docs.md'\njobs:\n  cuml_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cuml", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:00.828404", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:01+02:00", "name": "cupy_jp46", "path": ".github/workflows/cupy_jp46.yml", "contents": "name: \"cupy_jp46\"\nrun-name: \"Build cupy (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cupy_jp46.yml'\n      - 'packages/cuda/cupy/*'\n      - '!packages/cuda/cupy/README.md'\n      - '!packages/cuda/cupy/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  cupy_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cupy", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:02.929180", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "cupy_jp51", "path": ".github/workflows/cupy_jp51.yml", "contents": "name: \"cupy_jp51\"\nrun-name: \"Build cupy (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cupy_jp51.yml'\n      - 'packages/cuda/cupy/*'\n      - '!packages/cuda/cupy/README.md'\n      - '!packages/cuda/cupy/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  cupy_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cupy", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:04.057382", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "cupy_jp60", "path": ".github/workflows/cupy_jp60.yml", "contents": "name: \"cupy_jp60\"\nrun-name: \"Build cupy (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/cupy_jp60.yml'\n      - 'packages/cuda/cupy/*'\n      - '!packages/cuda/cupy/README.md'\n      - '!packages/cuda/cupy/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  cupy_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv cupy", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:05.675042", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "deepstream_jp46", "path": ".github/workflows/deepstream_jp46.yml", "contents": "name: \"deepstream_jp46\"\nrun-name: \"Build deepstream (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/deepstream_jp46.yml'\n      - 'packages/deepstream/*'\n      - '!packages/deepstream/README.md'\n      - '!packages/deepstream/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/gstreamer/*'\n      - '!packages/gstreamer/README.md'\n      - '!packages/gstreamer/docs.md'\n      - 'packages/tritonserver/*'\n      - '!packages/tritonserver/README.md'\n      - '!packages/tritonserver/docs.md'\njobs:\n  deepstream_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv deepstream", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:06.699923", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "deepstream_jp51", "path": ".github/workflows/deepstream_jp51.yml", "contents": "name: \"deepstream_jp51\"\nrun-name: \"Build deepstream (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/deepstream_jp51.yml'\n      - 'packages/deepstream/*'\n      - '!packages/deepstream/README.md'\n      - '!packages/deepstream/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/gstreamer/*'\n      - '!packages/gstreamer/README.md'\n      - '!packages/gstreamer/docs.md'\n      - 'packages/tritonserver/*'\n      - '!packages/tritonserver/README.md'\n      - '!packages/tritonserver/docs.md'\njobs:\n  deepstream_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv deepstream", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:07.762334", "created_at": "2024-02-27T05:17:17+01:00", "updated_at": "2024-03-03T10:12:19+01:00", "name": "deepstream_jp60", "path": ".github/workflows/deepstream_jp60.yml", "contents": "name: \"deepstream_jp60\"\nrun-name: \"Build deepstream (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/deepstream_jp60.yml'\n      - 'packages/deepstream/*'\n      - '!packages/deepstream/README.md'\n      - '!packages/deepstream/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/gstreamer/*'\n      - '!packages/gstreamer/README.md'\n      - '!packages/gstreamer/docs.md'\n      - 'packages/tritonserver/*'\n      - '!packages/tritonserver/README.md'\n      - '!packages/tritonserver/docs.md'\njobs:\n  deepstream_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv deepstream", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:08.767778", "created_at": "2023-11-03T17:30:47+01:00", "updated_at": "2023-11-07T04:44:37+01:00", "name": "efficientvit_jp51", "path": ".github/workflows/efficientvit_jp51.yml", "contents": "name: \"efficientvit_jp51\"\nrun-name: \"Build efficientvit (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/efficientvit_jp51.yml'\n      - 'packages/vit/efficientvit/*'\n      - '!packages/vit/efficientvit/README.md'\n      - '!packages/vit/efficientvit/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\n      - 'packages/vit/sam/*'\n      - '!packages/vit/sam/README.md'\n      - '!packages/vit/sam/docs.md'\njobs:\n  efficientvit_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv efficientvit", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:09.872917", "created_at": "2023-12-15T02:37:53+01:00", "updated_at": "2023-12-19T17:37:51+01:00", "name": "efficientvit_jp60", "path": ".github/workflows/efficientvit_jp60.yml", "contents": "name: \"efficientvit_jp60\"\nrun-name: \"Build efficientvit (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/efficientvit_jp60.yml'\n      - 'packages/vit/efficientvit/*'\n      - '!packages/vit/efficientvit/README.md'\n      - '!packages/vit/efficientvit/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\n      - 'packages/vit/sam/*'\n      - '!packages/vit/sam/README.md'\n      - '!packages/vit/sam/docs.md'\njobs:\n  efficientvit_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv efficientvit", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:10.999936", "created_at": "2023-12-06T00:54:31+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "exllama-v1_jp60", "path": ".github/workflows/exllama-v1_jp60.yml", "contents": "name: \"exllama-v1_jp60\"\nrun-name: \"Build exllama:v1 (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/exllama-v1_jp60.yml'\n      - 'packages/llm/exllama/*'\n      - '!packages/llm/exllama/README.md'\n      - '!packages/llm/exllama/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\njobs:\n  exllama-v1_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv exllama:v1", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:12.263509", "created_at": "2023-09-13T21:43:06+02:00", "updated_at": "2023-09-15T20:39:09+02:00", "name": "exllama-v2_jp51", "path": ".github/workflows/exllama-v2_jp51.yml", "contents": "name: \"exllama-v2_jp51\"\nrun-name: \"Build exllama:v2 (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/exllama-v2_jp51.yml'\n      - 'packages/llm/exllama/*'\n      - '!packages/llm/exllama/README.md'\n      - '!packages/llm/exllama/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\njobs:\n  exllama-v2_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv exllama:v2", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:13.336919", "created_at": "2023-12-06T00:54:31+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "exllama-v2_jp60", "path": ".github/workflows/exllama-v2_jp60.yml", "contents": "name: \"exllama-v2_jp60\"\nrun-name: \"Build exllama:v2 (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/exllama-v2_jp60.yml'\n      - 'packages/llm/exllama/*'\n      - '!packages/llm/exllama/README.md'\n      - '!packages/llm/exllama/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\njobs:\n  exllama-v2_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv exllama:v2", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:14.353529", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "exllama_jp51", "path": ".github/workflows/exllama_jp51.yml", "contents": "name: \"exllama_jp51\"\nrun-name: \"Build exllama (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/exllama_jp51.yml'\n      - 'packages/llm/exllama/*'\n      - '!packages/llm/exllama/README.md'\n      - '!packages/llm/exllama/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\njobs:\n  exllama_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv exllama", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:15.355406", "created_at": "2023-10-06T02:59:34+02:00", "updated_at": "2023-10-11T23:31:24+02:00", "name": "faiss-lite_jp51", "path": ".github/workflows/faiss-lite_jp51.yml", "contents": "name: \"faiss-lite_jp51\"\nrun-name: \"Build faiss:lite (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/faiss-lite_jp51.yml'\n      - 'packages/vectordb/faiss_lite/*'\n      - '!packages/vectordb/faiss_lite/README.md'\n      - '!packages/vectordb/faiss_lite/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/vectordb/faiss/*'\n      - '!packages/vectordb/faiss/README.md'\n      - '!packages/vectordb/faiss/docs.md'\n      - 'packages/cuda/cuda-python/*'\n      - '!packages/cuda/cuda-python/README.md'\n      - '!packages/cuda/cuda-python/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\njobs:\n  faiss-lite_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv faiss:lite", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:16.385621", "created_at": "2023-10-06T02:59:34+02:00", "updated_at": "2023-10-11T23:31:24+02:00", "name": "faiss_jp51", "path": ".github/workflows/faiss_jp51.yml", "contents": "name: \"faiss_jp51\"\nrun-name: \"Build faiss (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/faiss_jp51.yml'\n      - 'packages/vectordb/faiss/*'\n      - '!packages/vectordb/faiss/README.md'\n      - '!packages/vectordb/faiss/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  faiss_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv faiss", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:17.653894", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "gptq-for-llama_jp51", "path": ".github/workflows/gptq-for-llama_jp51.yml", "contents": "name: \"gptq-for-llama_jp51\"\nrun-name: \"Build gptq-for-llama (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/gptq-for-llama_jp51.yml'\n      - 'packages/llm/gptq-for-llama/*'\n      - '!packages/llm/gptq-for-llama/README.md'\n      - '!packages/llm/gptq-for-llama/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  gptq-for-llama_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv gptq-for-llama", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:18.885012", "created_at": "2024-01-02T04:31:07+01:00", "updated_at": "2024-01-09T20:49:42+01:00", "name": "gptq-for-llama_jp60", "path": ".github/workflows/gptq-for-llama_jp60.yml", "contents": "name: \"gptq-for-llama_jp60\"\nrun-name: \"Build gptq-for-llama (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/gptq-for-llama_jp60.yml'\n      - 'packages/llm/gptq-for-llama/*'\n      - '!packages/llm/gptq-for-llama/README.md'\n      - '!packages/llm/gptq-for-llama/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  gptq-for-llama_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv gptq-for-llama", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:20.063071", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "gstreamer_jp46", "path": ".github/workflows/gstreamer_jp46.yml", "contents": "name: \"gstreamer_jp46\"\nrun-name: \"Build gstreamer (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/gstreamer_jp46.yml'\n      - 'packages/gstreamer/*'\n      - '!packages/gstreamer/README.md'\n      - '!packages/gstreamer/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\njobs:\n  gstreamer_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv gstreamer", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:21.090319", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "gstreamer_jp51", "path": ".github/workflows/gstreamer_jp51.yml", "contents": "name: \"gstreamer_jp51\"\nrun-name: \"Build gstreamer (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/gstreamer_jp51.yml'\n      - 'packages/gstreamer/*'\n      - '!packages/gstreamer/README.md'\n      - '!packages/gstreamer/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\njobs:\n  gstreamer_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv gstreamer", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:22.131949", "created_at": "2023-12-07T03:56:48+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "gstreamer_jp60", "path": ".github/workflows/gstreamer_jp60.yml", "contents": "name: \"gstreamer_jp60\"\nrun-name: \"Build gstreamer (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/gstreamer_jp60.yml'\n      - 'packages/gstreamer/*'\n      - '!packages/gstreamer/README.md'\n      - '!packages/gstreamer/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\njobs:\n  gstreamer_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv gstreamer", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:23.253048", "created_at": "2023-08-06T04:49:55+02:00", "updated_at": "2023-08-06T05:33:58+02:00", "name": "huggingface_hub_jp46", "path": ".github/workflows/huggingface_hub_jp46.yml", "contents": "name: \"huggingface_hub_jp46\"\nrun-name: \"Build huggingface_hub (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/huggingface_hub_jp46.yml'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  huggingface_hub_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv huggingface_hub", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:24.254458", "created_at": "2023-08-06T03:50:07+02:00", "updated_at": "2023-08-06T05:33:58+02:00", "name": "huggingface_hub_jp51", "path": ".github/workflows/huggingface_hub_jp51.yml", "contents": "name: \"huggingface_hub_jp51\"\nrun-name: \"Build huggingface_hub (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/huggingface_hub_jp51.yml'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  huggingface_hub_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv huggingface_hub", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:25.292644", "created_at": "2023-10-12T23:29:29+02:00", "updated_at": "2023-10-13T20:04:54+02:00", "name": "jetson-utils_jp46", "path": ".github/workflows/jetson-utils_jp46.yml", "contents": "name: \"jetson-utils_jp46\"\nrun-name: \"Build jetson-utils (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/jetson-utils_jp46.yml'\n      - 'packages/jetson-utils/*'\n      - '!packages/jetson-utils/README.md'\n      - '!packages/jetson-utils/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/gstreamer/*'\n      - '!packages/gstreamer/README.md'\n      - '!packages/gstreamer/docs.md'\njobs:\n  jetson-utils_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv jetson-utils", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:26.391551", "created_at": "2023-10-12T23:29:29+02:00", "updated_at": "2023-10-13T20:04:54+02:00", "name": "jetson-utils_jp51", "path": ".github/workflows/jetson-utils_jp51.yml", "contents": "name: \"jetson-utils_jp51\"\nrun-name: \"Build jetson-utils (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/jetson-utils_jp51.yml'\n      - 'packages/jetson-utils/*'\n      - '!packages/jetson-utils/README.md'\n      - '!packages/jetson-utils/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/gstreamer/*'\n      - '!packages/gstreamer/README.md'\n      - '!packages/gstreamer/docs.md'\njobs:\n  jetson-utils_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv jetson-utils", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:27.383490", "created_at": "2023-12-06T00:54:31+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "jetson-utils_jp60", "path": ".github/workflows/jetson-utils_jp60.yml", "contents": "name: \"jetson-utils_jp60\"\nrun-name: \"Build jetson-utils (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/jetson-utils_jp60.yml'\n      - 'packages/jetson-utils/*'\n      - '!packages/jetson-utils/README.md'\n      - '!packages/jetson-utils/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/gstreamer/*'\n      - '!packages/gstreamer/README.md'\n      - '!packages/gstreamer/docs.md'\njobs:\n  jetson-utils_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv jetson-utils", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:28.420640", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "jupyterlab_jp46", "path": ".github/workflows/jupyterlab_jp46.yml", "contents": "name: \"jupyterlab_jp46\"\nrun-name: \"Build jupyterlab (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/jupyterlab_jp46.yml'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\njobs:\n  jupyterlab_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv jupyterlab", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:29.516215", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "jupyterlab_jp51", "path": ".github/workflows/jupyterlab_jp51.yml", "contents": "name: \"jupyterlab_jp51\"\nrun-name: \"Build jupyterlab (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/jupyterlab_jp51.yml'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\njobs:\n  jupyterlab_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv jupyterlab", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:30.646501", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "jupyterlab_jp60", "path": ".github/workflows/jupyterlab_jp60.yml", "contents": "name: \"jupyterlab_jp60\"\nrun-name: \"Build jupyterlab (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/jupyterlab_jp60.yml'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\njobs:\n  jupyterlab_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv jupyterlab", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:31.672692", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "l4t-diffusion_jp51", "path": ".github/workflows/l4t-diffusion_jp51.yml", "contents": "name: \"l4t-diffusion_jp51\"\nrun-name: \"Build l4t-diffusion (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-diffusion_jp51.yml'\n      - 'packages/l4t/l4t-diffusion/*'\n      - '!packages/l4t/l4t-diffusion/README.md'\n      - '!packages/l4t/l4t-diffusion/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/diffusion/stable-diffusion/*'\n      - '!packages/diffusion/stable-diffusion/README.md'\n      - '!packages/diffusion/stable-diffusion/docs.md'\n      - 'packages/llm/xformers/*'\n      - '!packages/llm/xformers/README.md'\n      - '!packages/llm/xformers/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/diffusion/stable-diffusion-webui/*'\n      - '!packages/diffusion/stable-diffusion-webui/README.md'\n      - '!packages/diffusion/stable-diffusion-webui/docs.md'\njobs:\n  l4t-diffusion_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-diffusion", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:32.725224", "created_at": "2023-07-26T00:24:20+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "l4t-ml_jp46", "path": ".github/workflows/l4t-ml_jp46.yml", "contents": "name: \"l4t-ml_jp46\"\nrun-name: \"Build l4t-ml (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-ml_jp46.yml'\n      - 'packages/l4t/l4t-ml/*'\n      - '!packages/l4t/l4t-ml/README.md'\n      - '!packages/l4t/l4t-ml/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\n      - 'packages/cuda/cupy/*'\n      - '!packages/cuda/cupy/README.md'\n      - '!packages/cuda/cupy/docs.md'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\njobs:\n  l4t-ml_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-ml", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:33.769750", "created_at": "2023-07-23T05:51:14+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "l4t-ml_jp51", "path": ".github/workflows/l4t-ml_jp51.yml", "contents": "name: \"l4t-ml_jp51\"\nrun-name: \"Build l4t-ml (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-ml_jp51.yml'\n      - 'packages/l4t/l4t-ml/*'\n      - '!packages/l4t/l4t-ml/README.md'\n      - '!packages/l4t/l4t-ml/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\n      - 'packages/cuda/cupy/*'\n      - '!packages/cuda/cupy/README.md'\n      - '!packages/cuda/cupy/docs.md'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\njobs:\n  l4t-ml_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-ml", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:34.803804", "created_at": "2023-12-06T16:00:13+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "l4t-ml_jp60", "path": ".github/workflows/l4t-ml_jp60.yml", "contents": "name: \"l4t-ml_jp60\"\nrun-name: \"Build l4t-ml (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-ml_jp60.yml'\n      - 'packages/l4t/l4t-ml/*'\n      - '!packages/l4t/l4t-ml/README.md'\n      - '!packages/l4t/l4t-ml/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\n      - 'packages/cuda/cupy/*'\n      - '!packages/cuda/cupy/README.md'\n      - '!packages/cuda/cupy/docs.md'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\njobs:\n  l4t-ml_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-ml", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:35.931227", "created_at": "2023-07-23T21:36:50+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "l4t-pytorch_jp46", "path": ".github/workflows/l4t-pytorch_jp46.yml", "contents": "name: \"l4t-pytorch_jp46\"\nrun-name: \"Build l4t-pytorch (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-pytorch_jp46.yml'\n      - 'packages/l4t/l4t-pytorch/*'\n      - '!packages/l4t/l4t-pytorch/README.md'\n      - '!packages/l4t/l4t-pytorch/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/pytorch/torch2trt/*'\n      - '!packages/pytorch/torch2trt/README.md'\n      - '!packages/pytorch/torch2trt/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\njobs:\n  l4t-pytorch_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-pytorch", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:37.057130", "created_at": "2023-07-23T05:51:14+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "l4t-pytorch_jp51", "path": ".github/workflows/l4t-pytorch_jp51.yml", "contents": "name: \"l4t-pytorch_jp51\"\nrun-name: \"Build l4t-pytorch (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-pytorch_jp51.yml'\n      - 'packages/l4t/l4t-pytorch/*'\n      - '!packages/l4t/l4t-pytorch/README.md'\n      - '!packages/l4t/l4t-pytorch/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/pytorch/torch2trt/*'\n      - '!packages/pytorch/torch2trt/README.md'\n      - '!packages/pytorch/torch2trt/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\njobs:\n  l4t-pytorch_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-pytorch", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:38.649263", "created_at": "2023-12-06T16:00:13+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "l4t-pytorch_jp60", "path": ".github/workflows/l4t-pytorch_jp60.yml", "contents": "name: \"l4t-pytorch_jp60\"\nrun-name: \"Build l4t-pytorch (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-pytorch_jp60.yml'\n      - 'packages/l4t/l4t-pytorch/*'\n      - '!packages/l4t/l4t-pytorch/README.md'\n      - '!packages/l4t/l4t-pytorch/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/pytorch/torch2trt/*'\n      - '!packages/pytorch/torch2trt/README.md'\n      - '!packages/pytorch/torch2trt/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\njobs:\n  l4t-pytorch_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-pytorch", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:39.954880", "created_at": "2023-07-26T00:24:20+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "l4t-tensorflow-tf1_jp46", "path": ".github/workflows/l4t-tensorflow-tf1_jp46.yml", "contents": "name: \"l4t-tensorflow-tf1_jp46\"\nrun-name: \"Build l4t-tensorflow:tf1 (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-tensorflow-tf1_jp46.yml'\n      - 'packages/l4t/l4t-tensorflow/*'\n      - '!packages/l4t/l4t-tensorflow/README.md'\n      - '!packages/l4t/l4t-tensorflow/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\njobs:\n  l4t-tensorflow-tf1_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf1", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:41.007645", "created_at": "2023-07-23T05:51:14+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "l4t-tensorflow-tf1_jp51", "path": ".github/workflows/l4t-tensorflow-tf1_jp51.yml", "contents": "name: \"l4t-tensorflow-tf1_jp51\"\nrun-name: \"Build l4t-tensorflow:tf1 (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-tensorflow-tf1_jp51.yml'\n      - 'packages/l4t/l4t-tensorflow/*'\n      - '!packages/l4t/l4t-tensorflow/README.md'\n      - '!packages/l4t/l4t-tensorflow/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\njobs:\n  l4t-tensorflow-tf1_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf1", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:42.054402", "created_at": "2023-07-26T00:24:20+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "l4t-tensorflow-tf2_jp46", "path": ".github/workflows/l4t-tensorflow-tf2_jp46.yml", "contents": "name: \"l4t-tensorflow-tf2_jp46\"\nrun-name: \"Build l4t-tensorflow:tf2 (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-tensorflow-tf2_jp46.yml'\n      - 'packages/l4t/l4t-tensorflow/*'\n      - '!packages/l4t/l4t-tensorflow/README.md'\n      - '!packages/l4t/l4t-tensorflow/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\njobs:\n  l4t-tensorflow-tf2_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf2", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:43.101531", "created_at": "2023-07-23T05:51:14+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "l4t-tensorflow-tf2_jp51", "path": ".github/workflows/l4t-tensorflow-tf2_jp51.yml", "contents": "name: \"l4t-tensorflow-tf2_jp51\"\nrun-name: \"Build l4t-tensorflow:tf2 (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-tensorflow-tf2_jp51.yml'\n      - 'packages/l4t/l4t-tensorflow/*'\n      - '!packages/l4t/l4t-tensorflow/README.md'\n      - '!packages/l4t/l4t-tensorflow/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\njobs:\n  l4t-tensorflow-tf2_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf2", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:44.200738", "created_at": "2023-12-06T16:00:13+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "l4t-tensorflow-tf2_jp60", "path": ".github/workflows/l4t-tensorflow-tf2_jp60.yml", "contents": "name: \"l4t-tensorflow-tf2_jp60\"\nrun-name: \"Build l4t-tensorflow:tf2 (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-tensorflow-tf2_jp60.yml'\n      - 'packages/l4t/l4t-tensorflow/*'\n      - '!packages/l4t/l4t-tensorflow/README.md'\n      - '!packages/l4t/l4t-tensorflow/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\njobs:\n  l4t-tensorflow-tf2_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-tensorflow:tf2", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:45.201543", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "l4t-text-generation_jp51", "path": ".github/workflows/l4t-text-generation_jp51.yml", "contents": "name: \"l4t-text-generation_jp51\"\nrun-name: \"Build l4t-text-generation (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-text-generation_jp51.yml'\n      - 'packages/l4t/l4t-text-generation/*'\n      - '!packages/l4t/l4t-text-generation/README.md'\n      - '!packages/l4t/l4t-text-generation/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/llm/bitsandbytes/*'\n      - '!packages/llm/bitsandbytes/README.md'\n      - '!packages/llm/bitsandbytes/docs.md'\n      - 'packages/llm/auto_gptq/*'\n      - '!packages/llm/auto_gptq/README.md'\n      - '!packages/llm/auto_gptq/docs.md'\n      - 'packages/llm/gptq-for-llama/*'\n      - '!packages/llm/gptq-for-llama/README.md'\n      - '!packages/llm/gptq-for-llama/docs.md'\n      - 'packages/llm/exllama/*'\n      - '!packages/llm/exllama/README.md'\n      - '!packages/llm/exllama/docs.md'\n      - 'packages/llm/exllama/*'\n      - '!packages/llm/exllama/README.md'\n      - '!packages/llm/exllama/docs.md'\n      - 'packages/llm/llama_cpp/*'\n      - '!packages/llm/llama_cpp/README.md'\n      - '!packages/llm/llama_cpp/docs.md'\n      - 'packages/llm/awq/*'\n      - '!packages/llm/awq/README.md'\n      - '!packages/llm/awq/docs.md'\njobs:\n  l4t-text-generation_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-text-generation", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:46.247686", "created_at": "2024-03-08T05:57:33+01:00", "updated_at": "2024-03-08T19:23:20+01:00", "name": "l4t-text-generation_jp60", "path": ".github/workflows/l4t-text-generation_jp60.yml", "contents": "name: \"l4t-text-generation_jp60\"\nrun-name: \"Build l4t-text-generation (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/l4t-text-generation_jp60.yml'\n      - 'packages/l4t/l4t-text-generation/*'\n      - '!packages/l4t/l4t-text-generation/README.md'\n      - '!packages/l4t/l4t-text-generation/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/llm/mlc/*'\n      - '!packages/llm/mlc/README.md'\n      - '!packages/llm/mlc/docs.md'\n      - 'packages/llm/auto_gptq/*'\n      - '!packages/llm/auto_gptq/README.md'\n      - '!packages/llm/auto_gptq/docs.md'\n      - 'packages/llm/gptq-for-llama/*'\n      - '!packages/llm/gptq-for-llama/README.md'\n      - '!packages/llm/gptq-for-llama/docs.md'\n      - 'packages/llm/exllama/*'\n      - '!packages/llm/exllama/README.md'\n      - '!packages/llm/exllama/docs.md'\n      - 'packages/llm/exllama/*'\n      - '!packages/llm/exllama/README.md'\n      - '!packages/llm/exllama/docs.md'\n      - 'packages/llm/llama_cpp/*'\n      - '!packages/llm/llama_cpp/README.md'\n      - '!packages/llm/llama_cpp/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\n      - 'packages/docker/*'\n      - '!packages/docker/README.md'\n      - '!packages/docker/docs.md'\njobs:\n  l4t-text-generation_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv l4t-text-generation", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:47.295339", "created_at": "2023-08-30T17:42:05+02:00", "updated_at": "2023-08-30T17:49:08+02:00", "name": "langchain-samples_jp51", "path": ".github/workflows/langchain-samples_jp51.yml", "contents": "name: \"langchain-samples_jp51\"\nrun-name: \"Build langchain:samples (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/langchain-samples_jp51.yml'\n      - 'packages/llm/langchain/*'\n      - '!packages/llm/langchain/README.md'\n      - '!packages/llm/langchain/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/llm/llama_cpp/*'\n      - '!packages/llm/llama_cpp/README.md'\n      - '!packages/llm/llama_cpp/docs.md'\n      - 'packages/llm/langchain/*'\n      - '!packages/llm/langchain/README.md'\n      - '!packages/llm/langchain/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\njobs:\n  langchain-samples_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv langchain:samples", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:48.409792", "created_at": "2024-01-24T16:41:10+01:00", "updated_at": "2024-01-29T05:34:39+01:00", "name": "langchain-samples_jp60", "path": ".github/workflows/langchain-samples_jp60.yml", "contents": "name: \"langchain-samples_jp60\"\nrun-name: \"Build langchain:samples (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/langchain-samples_jp60.yml'\n      - 'packages/llm/langchain/*'\n      - '!packages/llm/langchain/README.md'\n      - '!packages/llm/langchain/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/llm/llama_cpp/*'\n      - '!packages/llm/llama_cpp/README.md'\n      - '!packages/llm/llama_cpp/docs.md'\n      - 'packages/llm/langchain/*'\n      - '!packages/llm/langchain/README.md'\n      - '!packages/llm/langchain/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\njobs:\n  langchain-samples_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv langchain:samples", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:49.458428", "created_at": "2023-08-30T17:42:05+02:00", "updated_at": "2023-08-30T17:49:08+02:00", "name": "langchain_jp51", "path": ".github/workflows/langchain_jp51.yml", "contents": "name: \"langchain_jp51\"\nrun-name: \"Build langchain (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/langchain_jp51.yml'\n      - 'packages/llm/langchain/*'\n      - '!packages/llm/langchain/README.md'\n      - '!packages/llm/langchain/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/llm/llama_cpp/*'\n      - '!packages/llm/llama_cpp/README.md'\n      - '!packages/llm/llama_cpp/docs.md'\njobs:\n  langchain_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv langchain", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:50.607302", "created_at": "2024-01-24T16:41:10+01:00", "updated_at": "2024-01-29T05:34:39+01:00", "name": "langchain_jp60", "path": ".github/workflows/langchain_jp60.yml", "contents": "name: \"langchain_jp60\"\nrun-name: \"Build langchain (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/langchain_jp60.yml'\n      - 'packages/llm/langchain/*'\n      - '!packages/llm/langchain/README.md'\n      - '!packages/llm/langchain/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/llm/llama_cpp/*'\n      - '!packages/llm/llama_cpp/README.md'\n      - '!packages/llm/llama_cpp/docs.md'\njobs:\n  langchain_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv langchain", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:51.857499", "created_at": "2023-08-29T04:13:58+02:00", "updated_at": "2023-08-29T14:57:07+02:00", "name": "llama_cpp-ggml_jp51", "path": ".github/workflows/llama_cpp-ggml_jp51.yml", "contents": "name: \"llama_cpp-ggml_jp51\"\nrun-name: \"Build llama_cpp:ggml (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/llama_cpp-ggml_jp51.yml'\n      - 'packages/llm/llama_cpp/*'\n      - '!packages/llm/llama_cpp/README.md'\n      - '!packages/llm/llama_cpp/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\njobs:\n  llama_cpp-ggml_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv llama_cpp:ggml", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:52.881649", "created_at": "2023-12-05T22:09:45+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "llama_cpp-ggml_jp60", "path": ".github/workflows/llama_cpp-ggml_jp60.yml", "contents": "name: \"llama_cpp-ggml_jp60\"\nrun-name: \"Build llama_cpp:ggml (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/llama_cpp-ggml_jp60.yml'\n      - 'packages/llm/llama_cpp/*'\n      - '!packages/llm/llama_cpp/README.md'\n      - '!packages/llm/llama_cpp/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\njobs:\n  llama_cpp-ggml_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv llama_cpp:ggml", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:53.905552", "created_at": "2023-08-29T04:13:58+02:00", "updated_at": "2023-08-29T14:57:07+02:00", "name": "llama_cpp-gguf_jp51", "path": ".github/workflows/llama_cpp-gguf_jp51.yml", "contents": "name: \"llama_cpp-gguf_jp51\"\nrun-name: \"Build llama_cpp:gguf (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/llama_cpp-gguf_jp51.yml'\n      - 'packages/llm/llama_cpp/*'\n      - '!packages/llm/llama_cpp/README.md'\n      - '!packages/llm/llama_cpp/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\njobs:\n  llama_cpp-gguf_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv llama_cpp:gguf", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:54.900259", "created_at": "2023-12-05T22:09:45+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "llama_cpp-gguf_jp60", "path": ".github/workflows/llama_cpp-gguf_jp60.yml", "contents": "name: \"llama_cpp-gguf_jp60\"\nrun-name: \"Build llama_cpp:gguf (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/llama_cpp-gguf_jp60.yml'\n      - 'packages/llm/llama_cpp/*'\n      - '!packages/llm/llama_cpp/README.md'\n      - '!packages/llm/llama_cpp/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\njobs:\n  llama_cpp-gguf_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv llama_cpp:gguf", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:55.924370", "created_at": "2023-08-29T19:34:30+02:00", "updated_at": "2023-08-29T19:36:50+02:00", "name": "llamaspeak_jp51", "path": ".github/workflows/llamaspeak_jp51.yml", "contents": "name: \"llamaspeak_jp51\"\nrun-name: \"Build llamaspeak (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/llamaspeak_jp51.yml'\n      - 'packages/llm/llamaspeak/*'\n      - '!packages/llm/llamaspeak/README.md'\n      - '!packages/llm/llamaspeak/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/audio/riva-client/*'\n      - '!packages/audio/riva-client/README.md'\n      - '!packages/audio/riva-client/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  llamaspeak_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv llamaspeak", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:56.968790", "created_at": "2023-12-06T00:54:31+01:00", "updated_at": "2023-12-07T04:28:11+01:00", "name": "llamaspeak_jp60", "path": ".github/workflows/llamaspeak_jp60.yml", "contents": "name: \"llamaspeak_jp60\"\nrun-name: \"Build llamaspeak (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/llamaspeak_jp60.yml'\n      - 'packages/llm/llamaspeak/*'\n      - '!packages/llm/llamaspeak/README.md'\n      - '!packages/llm/llamaspeak/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/audio/riva-client/*'\n      - '!packages/audio/riva-client/README.md'\n      - '!packages/audio/riva-client/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  llamaspeak_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv llamaspeak", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:57.997170", "created_at": "2023-09-04T23:36:10+02:00", "updated_at": "2023-09-04T23:36:35+02:00", "name": "llava_jp51", "path": ".github/workflows/llava_jp51.yml", "contents": "name: \"llava_jp51\"\nrun-name: \"Build llava (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/llava_jp51.yml'\n      - 'packages/llm/llava/*'\n      - '!packages/llm/llava/README.md'\n      - '!packages/llm/llava/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  llava_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv llava", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:40:59.078298", "created_at": "2023-12-18T19:41:49+01:00", "updated_at": "2023-12-19T17:37:51+01:00", "name": "llava_jp60", "path": ".github/workflows/llava_jp60.yml", "contents": "name: \"llava_jp60\"\nrun-name: \"Build llava (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/llava_jp60.yml'\n      - 'packages/llm/llava/*'\n      - '!packages/llm/llava/README.md'\n      - '!packages/llm/llava/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  llava_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv llava", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:00.938815", "created_at": "2023-09-20T03:15:27+02:00", "updated_at": "2024-02-05T03:42:08+01:00", "name": "local_llm_jp51", "path": ".github/workflows/local_llm_jp51.yml", "contents": "name: \"local_llm_jp51\"\nrun-name: \"Build local_llm (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/local_llm_jp51.yml'\n      - 'packages/llm/local_llm/*'\n      - '!packages/llm/local_llm/README.md'\n      - '!packages/llm/local_llm/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/llm/mlc/*'\n      - '!packages/llm/mlc/README.md'\n      - '!packages/llm/mlc/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/gstreamer/*'\n      - '!packages/gstreamer/README.md'\n      - '!packages/gstreamer/docs.md'\n      - 'packages/jetson-utils/*'\n      - '!packages/jetson-utils/README.md'\n      - '!packages/jetson-utils/docs.md'\n      - 'packages/audio/riva-client/*'\n      - '!packages/audio/riva-client/README.md'\n      - '!packages/audio/riva-client/docs.md'\njobs:\n  local_llm_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv local_llm", "state": "disabled_manually", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:02.027084", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2024-02-05T03:42:00+01:00", "name": "local_llm_jp60", "path": ".github/workflows/local_llm_jp60.yml", "contents": "name: \"local_llm_jp60\"\nrun-name: \"Build local_llm (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/local_llm_jp60.yml'\n      - 'packages/llm/local_llm/*'\n      - '!packages/llm/local_llm/README.md'\n      - '!packages/llm/local_llm/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/llm/mlc/*'\n      - '!packages/llm/mlc/README.md'\n      - '!packages/llm/mlc/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/gstreamer/*'\n      - '!packages/gstreamer/README.md'\n      - '!packages/gstreamer/docs.md'\n      - 'packages/jetson-utils/*'\n      - '!packages/jetson-utils/README.md'\n      - '!packages/jetson-utils/docs.md'\n      - 'packages/audio/riva-client/*'\n      - '!packages/audio/riva-client/README.md'\n      - '!packages/audio/riva-client/docs.md'\njobs:\n  local_llm_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv local_llm", "state": "disabled_manually", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:03.300213", "created_at": "2023-09-02T21:34:34+02:00", "updated_at": "2023-09-02T21:42:32+02:00", "name": "minigpt4_jp51", "path": ".github/workflows/minigpt4_jp51.yml", "contents": "name: \"minigpt4_jp51\"\nrun-name: \"Build minigpt4 (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/minigpt4_jp51.yml'\n      - 'packages/llm/minigpt4/*'\n      - '!packages/llm/minigpt4/README.md'\n      - '!packages/llm/minigpt4/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\njobs:\n  minigpt4_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv minigpt4", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:04.607382", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "minigpt4_jp60", "path": ".github/workflows/minigpt4_jp60.yml", "contents": "name: \"minigpt4_jp60\"\nrun-name: \"Build minigpt4 (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/minigpt4_jp60.yml'\n      - 'packages/llm/minigpt4/*'\n      - '!packages/llm/minigpt4/README.md'\n      - '!packages/llm/minigpt4/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\njobs:\n  minigpt4_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv minigpt4", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:05.652454", "created_at": "2023-10-30T03:11:21+01:00", "updated_at": "2024-02-05T03:41:42+01:00", "name": "mlc-dev_jp51", "path": ".github/workflows/mlc-dev_jp51.yml", "contents": "name: \"mlc-dev_jp51\"\nrun-name: \"Build mlc:dev (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/mlc-dev_jp51.yml'\n      - 'packages/llm/mlc/*'\n      - '!packages/llm/mlc/README.md'\n      - '!packages/llm/mlc/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  mlc-dev_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv mlc:dev", "state": "disabled_manually", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:06.701479", "created_at": "2023-12-15T04:41:51+01:00", "updated_at": "2024-02-05T03:41:31+01:00", "name": "mlc-dev_jp60", "path": ".github/workflows/mlc-dev_jp60.yml", "contents": "name: \"mlc-dev_jp60\"\nrun-name: \"Build mlc:dev (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/mlc-dev_jp60.yml'\n      - 'packages/llm/mlc/*'\n      - '!packages/llm/mlc/README.md'\n      - '!packages/llm/mlc/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  mlc-dev_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv mlc:dev", "state": "disabled_manually", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:07.736176", "created_at": "2023-09-15T05:39:54+02:00", "updated_at": "2024-02-05T03:41:09+01:00", "name": "mlc_jp51", "path": ".github/workflows/mlc_jp51.yml", "contents": "name: \"mlc_jp51\"\nrun-name: \"Build mlc (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/mlc_jp51.yml'\n      - 'packages/llm/mlc/*'\n      - '!packages/llm/mlc/README.md'\n      - '!packages/llm/mlc/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/bitsandbytes/*'\n      - '!packages/llm/bitsandbytes/README.md'\n      - '!packages/llm/bitsandbytes/docs.md'\n      - 'packages/llm/auto_gptq/*'\n      - '!packages/llm/auto_gptq/README.md'\n      - '!packages/llm/auto_gptq/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  mlc_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv mlc", "state": "disabled_manually", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:08.764633", "created_at": "2024-01-27T16:00:34+01:00", "updated_at": "2024-02-05T03:41:18+01:00", "name": "mlc_jp60", "path": ".github/workflows/mlc_jp60.yml", "contents": "name: \"mlc_jp60\"\nrun-name: \"Build mlc (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/mlc_jp60.yml'\n      - 'packages/llm/mlc/*'\n      - '!packages/llm/mlc/README.md'\n      - '!packages/llm/mlc/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  mlc_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv mlc", "state": "disabled_manually", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:09.803028", "created_at": "2023-10-06T02:59:34+02:00", "updated_at": "2023-10-11T23:31:24+02:00", "name": "nanodb_jp51", "path": ".github/workflows/nanodb_jp51.yml", "contents": "name: \"nanodb_jp51\"\nrun-name: \"Build nanodb (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/nanodb_jp51.yml'\n      - 'packages/vectordb/nanodb/*'\n      - '!packages/vectordb/nanodb/README.md'\n      - '!packages/vectordb/nanodb/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/vectordb/faiss/*'\n      - '!packages/vectordb/faiss/README.md'\n      - '!packages/vectordb/faiss/docs.md'\n      - 'packages/cuda/cuda-python/*'\n      - '!packages/cuda/cuda-python/README.md'\n      - '!packages/cuda/cuda-python/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/vectordb/faiss_lite/*'\n      - '!packages/vectordb/faiss_lite/README.md'\n      - '!packages/vectordb/faiss_lite/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/pytorch/torch2trt/*'\n      - '!packages/pytorch/torch2trt/README.md'\n      - '!packages/pytorch/torch2trt/docs.md'\njobs:\n  nanodb_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv nanodb", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:10.842588", "created_at": "2023-12-05T22:09:45+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "nanodb_jp60", "path": ".github/workflows/nanodb_jp60.yml", "contents": "name: \"nanodb_jp60\"\nrun-name: \"Build nanodb (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/nanodb_jp60.yml'\n      - 'packages/vectordb/nanodb/*'\n      - '!packages/vectordb/nanodb/README.md'\n      - '!packages/vectordb/nanodb/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/vectordb/faiss/*'\n      - '!packages/vectordb/faiss/README.md'\n      - '!packages/vectordb/faiss/docs.md'\n      - 'packages/cuda/cuda-python/*'\n      - '!packages/cuda/cuda-python/README.md'\n      - '!packages/cuda/cuda-python/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/vectordb/faiss_lite/*'\n      - '!packages/vectordb/faiss_lite/README.md'\n      - '!packages/vectordb/faiss_lite/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/pytorch/torch2trt/*'\n      - '!packages/pytorch/torch2trt/README.md'\n      - '!packages/pytorch/torch2trt/docs.md'\njobs:\n  nanodb_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv nanodb", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:12.450529", "created_at": "2023-10-12T14:41:31+02:00", "updated_at": "2023-10-12T18:19:59+02:00", "name": "nanoowl_jp51", "path": ".github/workflows/nanoowl_jp51.yml", "contents": "name: \"nanoowl_jp51\"\nrun-name: \"Build nanoowl (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/nanoowl_jp51.yml'\n      - 'packages/vit/nanoowl/*'\n      - '!packages/vit/nanoowl/README.md'\n      - '!packages/vit/nanoowl/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/pytorch/torch2trt/*'\n      - '!packages/pytorch/torch2trt/README.md'\n      - '!packages/pytorch/torch2trt/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\njobs:\n  nanoowl_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv nanoowl", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:13.451261", "created_at": "2023-12-05T22:09:45+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "nanoowl_jp60", "path": ".github/workflows/nanoowl_jp60.yml", "contents": "name: \"nanoowl_jp60\"\nrun-name: \"Build nanoowl (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/nanoowl_jp60.yml'\n      - 'packages/vit/nanoowl/*'\n      - '!packages/vit/nanoowl/README.md'\n      - '!packages/vit/nanoowl/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/pytorch/torch2trt/*'\n      - '!packages/pytorch/torch2trt/README.md'\n      - '!packages/pytorch/torch2trt/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\njobs:\n  nanoowl_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv nanoowl", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:14.591632", "created_at": "2023-10-01T03:55:51+02:00", "updated_at": "2023-10-03T15:10:19+02:00", "name": "nanosam_jp51", "path": ".github/workflows/nanosam_jp51.yml", "contents": "name: \"nanosam_jp51\"\nrun-name: \"Build nanosam (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/nanosam_jp51.yml'\n      - 'packages/vit/nanosam/*'\n      - '!packages/vit/nanosam/README.md'\n      - '!packages/vit/nanosam/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/pytorch/torch2trt/*'\n      - '!packages/pytorch/torch2trt/README.md'\n      - '!packages/pytorch/torch2trt/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  nanosam_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv nanosam", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:15.616698", "created_at": "2023-12-05T22:09:45+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "nanosam_jp60", "path": ".github/workflows/nanosam_jp60.yml", "contents": "name: \"nanosam_jp60\"\nrun-name: \"Build nanosam (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/nanosam_jp60.yml'\n      - 'packages/vit/nanosam/*'\n      - '!packages/vit/nanosam/README.md'\n      - '!packages/vit/nanosam/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/pytorch/torch2trt/*'\n      - '!packages/pytorch/torch2trt/README.md'\n      - '!packages/pytorch/torch2trt/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  nanosam_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv nanosam", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:16.659090", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "nemo_jp46", "path": ".github/workflows/nemo_jp46.yml", "contents": "name: \"nemo_jp46\"\nrun-name: \"Build nemo (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/nemo_jp46.yml'\n      - 'packages/nemo/*'\n      - '!packages/nemo/README.md'\n      - '!packages/nemo/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\njobs:\n  nemo_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv nemo", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:17.868011", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "nemo_jp51", "path": ".github/workflows/nemo_jp51.yml", "contents": "name: \"nemo_jp51\"\nrun-name: \"Build nemo (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/nemo_jp51.yml'\n      - 'packages/nemo/*'\n      - '!packages/nemo/README.md'\n      - '!packages/nemo/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\njobs:\n  nemo_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv nemo", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:18.868108", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "nemo_jp60", "path": ".github/workflows/nemo_jp60.yml", "contents": "name: \"nemo_jp60\"\nrun-name: \"Build nemo (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/nemo_jp60.yml'\n      - 'packages/nemo/*'\n      - '!packages/nemo/README.md'\n      - '!packages/nemo/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\njobs:\n  nemo_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv nemo", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:19.889391", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "numba_jp46", "path": ".github/workflows/numba_jp46.yml", "contents": "name: \"numba_jp46\"\nrun-name: \"Build numba (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/numba_jp46.yml'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  numba_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv numba", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:20.877410", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "numba_jp51", "path": ".github/workflows/numba_jp51.yml", "contents": "name: \"numba_jp51\"\nrun-name: \"Build numba (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/numba_jp51.yml'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  numba_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv numba", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:21.885500", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "numba_jp60", "path": ".github/workflows/numba_jp60.yml", "contents": "name: \"numba_jp60\"\nrun-name: \"Build numba (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/numba_jp60.yml'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  numba_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv numba", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:22.970476", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "numpy_jp46", "path": ".github/workflows/numpy_jp46.yml", "contents": "name: \"numpy_jp46\"\nrun-name: \"Build numpy (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/numpy_jp46.yml'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  numpy_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv numpy", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:23.970635", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "numpy_jp51", "path": ".github/workflows/numpy_jp51.yml", "contents": "name: \"numpy_jp51\"\nrun-name: \"Build numpy (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/numpy_jp51.yml'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  numpy_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv numpy", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:25.043868", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "numpy_jp60", "path": ".github/workflows/numpy_jp60.yml", "contents": "name: \"numpy_jp60\"\nrun-name: \"Build numpy (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/numpy_jp60.yml'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  numpy_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv numpy", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:26.032833", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "onnx_jp46", "path": ".github/workflows/onnx_jp46.yml", "contents": "name: \"onnx_jp46\"\nrun-name: \"Build onnx (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/onnx_jp46.yml'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\njobs:\n  onnx_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv onnx", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:27.056608", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "onnx_jp51", "path": ".github/workflows/onnx_jp51.yml", "contents": "name: \"onnx_jp51\"\nrun-name: \"Build onnx (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/onnx_jp51.yml'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  onnx_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv onnx", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:28.057811", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "onnxruntime_jp46", "path": ".github/workflows/onnxruntime_jp46.yml", "contents": "name: \"onnxruntime_jp46\"\nrun-name: \"Build onnxruntime (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/onnxruntime_jp46.yml'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\njobs:\n  onnxruntime_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv onnxruntime", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:29.093203", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "onnxruntime_jp51", "path": ".github/workflows/onnxruntime_jp51.yml", "contents": "name: \"onnxruntime_jp51\"\nrun-name: \"Build onnxruntime (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/onnxruntime_jp51.yml'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\njobs:\n  onnxruntime_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv onnxruntime", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:30.260720", "created_at": "2023-12-06T00:54:31+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "onnxruntime_jp60", "path": ".github/workflows/onnxruntime_jp60.yml", "contents": "name: \"onnxruntime_jp60\"\nrun-name: \"Build onnxruntime (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/onnxruntime_jp60.yml'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\njobs:\n  onnxruntime_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv onnxruntime", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:31.384357", "created_at": "2023-12-07T03:56:48+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "opencv-481_jp60", "path": ".github/workflows/opencv-481_jp60.yml", "contents": "name: \"opencv-481_jp60\"\nrun-name: \"Build opencv:4.8.1 (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/opencv-481_jp60.yml'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  opencv-481_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv opencv:4.8.1", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:32.491510", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "opencv_builder_jp46", "path": ".github/workflows/opencv_builder_jp46.yml", "contents": "name: \"opencv_builder_jp46\"\nrun-name: \"Build opencv_builder (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/opencv_builder_jp46.yml'\n      - 'packages/opencv/opencv_builder/*'\n      - '!packages/opencv/opencv_builder/README.md'\n      - '!packages/opencv/opencv_builder/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  opencv_builder_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv opencv_builder", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:33.499530", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "opencv_builder_jp51", "path": ".github/workflows/opencv_builder_jp51.yml", "contents": "name: \"opencv_builder_jp51\"\nrun-name: \"Build opencv_builder (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/opencv_builder_jp51.yml'\n      - 'packages/opencv/opencv_builder/*'\n      - '!packages/opencv/opencv_builder/README.md'\n      - '!packages/opencv/opencv_builder/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  opencv_builder_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv opencv_builder", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:34.531993", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "opencv_jp46", "path": ".github/workflows/opencv_jp46.yml", "contents": "name: \"opencv_jp46\"\nrun-name: \"Build opencv (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/opencv_jp46.yml'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  opencv_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv opencv", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:35.523889", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "opencv_jp51", "path": ".github/workflows/opencv_jp51.yml", "contents": "name: \"opencv_jp51\"\nrun-name: \"Build opencv (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/opencv_jp51.yml'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  opencv_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv opencv", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:36.554519", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "optimum_jp46", "path": ".github/workflows/optimum_jp46.yml", "contents": "name: \"optimum_jp46\"\nrun-name: \"Build optimum (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/optimum_jp46.yml'\n      - 'packages/llm/optimum/*'\n      - '!packages/llm/optimum/README.md'\n      - '!packages/llm/optimum/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  optimum_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv optimum", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:37.557373", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "optimum_jp51", "path": ".github/workflows/optimum_jp51.yml", "contents": "name: \"optimum_jp51\"\nrun-name: \"Build optimum (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/optimum_jp51.yml'\n      - 'packages/llm/optimum/*'\n      - '!packages/llm/optimum/README.md'\n      - '!packages/llm/optimum/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  optimum_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv optimum", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:38.650428", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "protobuf-apt_jp46", "path": ".github/workflows/protobuf-apt_jp46.yml", "contents": "name: \"protobuf-apt_jp46\"\nrun-name: \"Build protobuf:apt (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/protobuf-apt_jp46.yml'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  protobuf-apt_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv protobuf:apt", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:39.652400", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "protobuf-apt_jp51", "path": ".github/workflows/protobuf-apt_jp51.yml", "contents": "name: \"protobuf-apt_jp51\"\nrun-name: \"Build protobuf:apt (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/protobuf-apt_jp51.yml'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  protobuf-apt_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv protobuf:apt", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:40.806327", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "protobuf-cpp_jp46", "path": ".github/workflows/protobuf-cpp_jp46.yml", "contents": "name: \"protobuf-cpp_jp46\"\nrun-name: \"Build protobuf:cpp (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/protobuf-cpp_jp46.yml'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  protobuf-cpp_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv protobuf:cpp", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:41.820069", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "protobuf-cpp_jp51", "path": ".github/workflows/protobuf-cpp_jp51.yml", "contents": "name: \"protobuf-cpp_jp51\"\nrun-name: \"Build protobuf:cpp (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/protobuf-cpp_jp51.yml'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  protobuf-cpp_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv protobuf:cpp", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:42.824170", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "pycuda_jp46", "path": ".github/workflows/pycuda_jp46.yml", "contents": "name: \"pycuda_jp46\"\nrun-name: \"Build pycuda (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/pycuda_jp46.yml'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  pycuda_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv pycuda", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:44.323509", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "pycuda_jp51", "path": ".github/workflows/pycuda_jp51.yml", "contents": "name: \"pycuda_jp51\"\nrun-name: \"Build pycuda (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/pycuda_jp51.yml'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  pycuda_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv pycuda", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:45.413700", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "pycuda_jp60", "path": ".github/workflows/pycuda_jp60.yml", "contents": "name: \"pycuda_jp60\"\nrun-name: \"Build pycuda (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/pycuda_jp60.yml'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\njobs:\n  pycuda_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv pycuda", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:46.440670", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "python_jp46", "path": ".github/workflows/python_jp46.yml", "contents": "name: \"python_jp46\"\nrun-name: \"Build python (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/python_jp46.yml'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\njobs:\n  python_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv python", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:47.601922", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:02+02:00", "name": "python_jp51", "path": ".github/workflows/python_jp51.yml", "contents": "name: \"python_jp51\"\nrun-name: \"Build python (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/python_jp51.yml'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\njobs:\n  python_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv python", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:48.667904", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "pytorch-110_jp46", "path": ".github/workflows/pytorch-110_jp46.yml", "contents": "name: \"pytorch-110_jp46\"\nrun-name: \"Build pytorch:1.10 (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/pytorch-110_jp46.yml'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\njobs:\n  pytorch-110_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.10", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:49.674554", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-07-28T05:23:48+02:00", "name": "pytorch-111_jp46", "path": ".github/workflows/pytorch-111_jp46.yml", "contents": null, "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:50.668465", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "pytorch-111_jp51", "path": ".github/workflows/pytorch-111_jp51.yml", "contents": "name: \"pytorch-111_jp51\"\nrun-name: \"Build pytorch:1.11 (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/pytorch-111_jp51.yml'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\njobs:\n  pytorch-111_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.11", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:51.689686", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "pytorch-112_jp51", "path": ".github/workflows/pytorch-112_jp51.yml", "contents": "name: \"pytorch-112_jp51\"\nrun-name: \"Build pytorch:1.12 (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/pytorch-112_jp51.yml'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\njobs:\n  pytorch-112_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.12", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:52.735227", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "pytorch-113_jp51", "path": ".github/workflows/pytorch-113_jp51.yml", "contents": "name: \"pytorch-113_jp51\"\nrun-name: \"Build pytorch:1.13 (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/pytorch-113_jp51.yml'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\njobs:\n  pytorch-113_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.13", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:53.709966", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "pytorch-19_jp46", "path": ".github/workflows/pytorch-19_jp46.yml", "contents": "name: \"pytorch-19_jp46\"\nrun-name: \"Build pytorch:1.9 (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/pytorch-19_jp46.yml'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\njobs:\n  pytorch-19_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv pytorch:1.9", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:54.698707", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "pytorch-20_jp51", "path": ".github/workflows/pytorch-20_jp51.yml", "contents": "name: \"pytorch-20_jp51\"\nrun-name: \"Build pytorch:2.0 (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/pytorch-20_jp51.yml'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\njobs:\n  pytorch-20_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv pytorch:2.0", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:55.983661", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "pytorch-21_jp51", "path": ".github/workflows/pytorch-21_jp51.yml", "contents": "name: \"pytorch-21_jp51\"\nrun-name: \"Build pytorch:2.1 (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/pytorch-21_jp51.yml'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\njobs:\n  pytorch-21_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv pytorch:2.1", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:57.067339", "created_at": "2023-12-05T22:09:45+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "pytorch-21_jp60", "path": ".github/workflows/pytorch-21_jp60.yml", "contents": "name: \"pytorch-21_jp60\"\nrun-name: \"Build pytorch:2.1 (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/pytorch-21_jp60.yml'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\njobs:\n  pytorch-21_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv pytorch:2.1", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:58.077659", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "realsense_jp46", "path": ".github/workflows/realsense_jp46.yml", "contents": "name: \"realsense_jp46\"\nrun-name: \"Build realsense (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/realsense_jp46.yml'\n      - 'packages/realsense/*'\n      - '!packages/realsense/README.md'\n      - '!packages/realsense/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  realsense_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv realsense", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:41:59.129139", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "realsense_jp51", "path": ".github/workflows/realsense_jp51.yml", "contents": "name: \"realsense_jp51\"\nrun-name: \"Build realsense (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/realsense_jp51.yml'\n      - 'packages/realsense/*'\n      - '!packages/realsense/README.md'\n      - '!packages/realsense/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  realsense_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv realsense", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:00.177028", "created_at": "2024-02-22T17:23:24+01:00", "updated_at": "2024-02-24T04:58:48+01:00", "name": "realsense_jp60", "path": ".github/workflows/realsense_jp60.yml", "contents": "name: \"realsense_jp60\"\nrun-name: \"Build realsense (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/realsense_jp60.yml'\n      - 'packages/realsense/*'\n      - '!packages/realsense/README.md'\n      - '!packages/realsense/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  realsense_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv realsense", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:01.224766", "created_at": "2023-08-12T04:05:38+02:00", "updated_at": "2023-08-13T00:43:30+02:00", "name": "riva-client-cpp_jp51", "path": ".github/workflows/riva-client-cpp_jp51.yml", "contents": "name: \"riva-client-cpp_jp51\"\nrun-name: \"Build riva-client:cpp (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/riva-client-cpp_jp51.yml'\n      - 'packages/audio/riva-client/*'\n      - '!packages/audio/riva-client/README.md'\n      - '!packages/audio/riva-client/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/bazel/*'\n      - '!packages/bazel/README.md'\n      - '!packages/bazel/docs.md'\njobs:\n  riva-client-cpp_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv riva-client:cpp", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:02.273038", "created_at": "2023-08-12T04:05:38+02:00", "updated_at": "2023-08-13T00:43:30+02:00", "name": "riva-client-python_jp51", "path": ".github/workflows/riva-client-python_jp51.yml", "contents": "name: \"riva-client-python_jp51\"\nrun-name: \"Build riva-client:python (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/riva-client-python_jp51.yml'\n      - 'packages/audio/riva-client/*'\n      - '!packages/audio/riva-client/README.md'\n      - '!packages/audio/riva-client/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  riva-client-python_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv riva-client:python", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:03.323212", "created_at": "2024-02-24T04:32:59+01:00", "updated_at": "2024-02-24T04:58:48+01:00", "name": "riva-client-python_jp60", "path": ".github/workflows/riva-client-python_jp60.yml", "contents": "name: \"riva-client-python_jp60\"\nrun-name: \"Build riva-client:python (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/riva-client-python_jp60.yml'\n      - 'packages/audio/riva-client/*'\n      - '!packages/audio/riva-client/README.md'\n      - '!packages/audio/riva-client/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  riva-client-python_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv riva-client:python", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:04.370372", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-foxy-desktop_jp46", "path": ".github/workflows/ros-foxy-desktop_jp46.yml", "contents": "name: \"ros-foxy-desktop_jp46\"\nrun-name: \"Build ros:foxy-desktop (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-foxy-desktop_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-foxy-desktop_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-desktop", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:05.527777", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-foxy-desktop_jp51", "path": ".github/workflows/ros-foxy-desktop_jp51.yml", "contents": "name: \"ros-foxy-desktop_jp51\"\nrun-name: \"Build ros:foxy-desktop (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-foxy-desktop_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-foxy-desktop_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-desktop", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:06.572169", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-foxy-ros-base_jp46", "path": ".github/workflows/ros-foxy-ros-base_jp46.yml", "contents": "name: \"ros-foxy-ros-base_jp46\"\nrun-name: \"Build ros:foxy-ros-base (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-foxy-ros-base_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-foxy-ros-base_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-ros-base", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:07.611910", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-foxy-ros-base_jp51", "path": ".github/workflows/ros-foxy-ros-base_jp51.yml", "contents": "name: \"ros-foxy-ros-base_jp51\"\nrun-name: \"Build ros:foxy-ros-base (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-foxy-ros-base_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-foxy-ros-base_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-ros-base", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:08.580289", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-foxy-ros-core_jp46", "path": ".github/workflows/ros-foxy-ros-core_jp46.yml", "contents": "name: \"ros-foxy-ros-core_jp46\"\nrun-name: \"Build ros:foxy-ros-core (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-foxy-ros-core_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-foxy-ros-core_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-ros-core", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:09.613126", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-foxy-ros-core_jp51", "path": ".github/workflows/ros-foxy-ros-core_jp51.yml", "contents": "name: \"ros-foxy-ros-core_jp51\"\nrun-name: \"Build ros:foxy-ros-core (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-foxy-ros-core_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-foxy-ros-core_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:foxy-ros-core", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:10.724563", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-galactic-desktop_jp46", "path": ".github/workflows/ros-galactic-desktop_jp46.yml", "contents": "name: \"ros-galactic-desktop_jp46\"\nrun-name: \"Build ros:galactic-desktop (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-galactic-desktop_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-galactic-desktop_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-desktop", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:11.770041", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-galactic-desktop_jp51", "path": ".github/workflows/ros-galactic-desktop_jp51.yml", "contents": "name: \"ros-galactic-desktop_jp51\"\nrun-name: \"Build ros:galactic-desktop (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-galactic-desktop_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-galactic-desktop_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-desktop", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:12.872665", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-galactic-ros-base_jp46", "path": ".github/workflows/ros-galactic-ros-base_jp46.yml", "contents": "name: \"ros-galactic-ros-base_jp46\"\nrun-name: \"Build ros:galactic-ros-base (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-galactic-ros-base_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-galactic-ros-base_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-ros-base", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:13.912575", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-galactic-ros-base_jp51", "path": ".github/workflows/ros-galactic-ros-base_jp51.yml", "contents": "name: \"ros-galactic-ros-base_jp51\"\nrun-name: \"Build ros:galactic-ros-base (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-galactic-ros-base_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-galactic-ros-base_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-ros-base", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:15.007446", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-galactic-ros-core_jp46", "path": ".github/workflows/ros-galactic-ros-core_jp46.yml", "contents": "name: \"ros-galactic-ros-core_jp46\"\nrun-name: \"Build ros:galactic-ros-core (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-galactic-ros-core_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-galactic-ros-core_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-ros-core", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:16.643307", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-galactic-ros-core_jp51", "path": ".github/workflows/ros-galactic-ros-core_jp51.yml", "contents": "name: \"ros-galactic-ros-core_jp51\"\nrun-name: \"Build ros:galactic-ros-core (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-galactic-ros-core_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-galactic-ros-core_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:galactic-ros-core", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:17.772961", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-humble-desktop_jp46", "path": ".github/workflows/ros-humble-desktop_jp46.yml", "contents": "name: \"ros-humble-desktop_jp46\"\nrun-name: \"Build ros:humble-desktop (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-humble-desktop_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-humble-desktop_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:humble-desktop", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:19.000713", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-humble-desktop_jp51", "path": ".github/workflows/ros-humble-desktop_jp51.yml", "contents": "name: \"ros-humble-desktop_jp51\"\nrun-name: \"Build ros:humble-desktop (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-humble-desktop_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-humble-desktop_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:humble-desktop", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:20.028522", "created_at": "2023-12-07T04:00:05+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "ros-humble-desktop_jp60", "path": ".github/workflows/ros-humble-desktop_jp60.yml", "contents": "name: \"ros-humble-desktop_jp60\"\nrun-name: \"Build ros:humble-desktop (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-humble-desktop_jp60.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-humble-desktop_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:humble-desktop", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:21.046599", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-humble-ros-base_jp46", "path": ".github/workflows/ros-humble-ros-base_jp46.yml", "contents": "name: \"ros-humble-ros-base_jp46\"\nrun-name: \"Build ros:humble-ros-base (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-humble-ros-base_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-humble-ros-base_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-base", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:22.073095", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-humble-ros-base_jp51", "path": ".github/workflows/ros-humble-ros-base_jp51.yml", "contents": "name: \"ros-humble-ros-base_jp51\"\nrun-name: \"Build ros:humble-ros-base (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-humble-ros-base_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-humble-ros-base_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-base", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:23.208464", "created_at": "2023-12-07T04:00:05+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "ros-humble-ros-base_jp60", "path": ".github/workflows/ros-humble-ros-base_jp60.yml", "contents": "name: \"ros-humble-ros-base_jp60\"\nrun-name: \"Build ros:humble-ros-base (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-humble-ros-base_jp60.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-humble-ros-base_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-base", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:24.216407", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-humble-ros-core_jp46", "path": ".github/workflows/ros-humble-ros-core_jp46.yml", "contents": "name: \"ros-humble-ros-core_jp46\"\nrun-name: \"Build ros:humble-ros-core (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-humble-ros-core_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-humble-ros-core_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-core", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:25.205405", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-humble-ros-core_jp51", "path": ".github/workflows/ros-humble-ros-core_jp51.yml", "contents": "name: \"ros-humble-ros-core_jp51\"\nrun-name: \"Build ros:humble-ros-core (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-humble-ros-core_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-humble-ros-core_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-core", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:26.222735", "created_at": "2023-12-07T04:00:05+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "ros-humble-ros-core_jp60", "path": ".github/workflows/ros-humble-ros-core_jp60.yml", "contents": "name: \"ros-humble-ros-core_jp60\"\nrun-name: \"Build ros:humble-ros-core (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-humble-ros-core_jp60.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-humble-ros-core_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:humble-ros-core", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:27.272318", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-iron-desktop_jp46", "path": ".github/workflows/ros-iron-desktop_jp46.yml", "contents": "name: \"ros-iron-desktop_jp46\"\nrun-name: \"Build ros:iron-desktop (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-iron-desktop_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-iron-desktop_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:iron-desktop", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:28.257633", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-iron-desktop_jp51", "path": ".github/workflows/ros-iron-desktop_jp51.yml", "contents": "name: \"ros-iron-desktop_jp51\"\nrun-name: \"Build ros:iron-desktop (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-iron-desktop_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-iron-desktop_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:iron-desktop", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:29.331299", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-iron-ros-base_jp46", "path": ".github/workflows/ros-iron-ros-base_jp46.yml", "contents": "name: \"ros-iron-ros-base_jp46\"\nrun-name: \"Build ros:iron-ros-base (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-iron-ros-base_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-iron-ros-base_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:iron-ros-base", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:30.336367", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-iron-ros-base_jp51", "path": ".github/workflows/ros-iron-ros-base_jp51.yml", "contents": "name: \"ros-iron-ros-base_jp51\"\nrun-name: \"Build ros:iron-ros-base (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-iron-ros-base_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-iron-ros-base_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:iron-ros-base", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:31.335458", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-iron-ros-core_jp46", "path": ".github/workflows/ros-iron-ros-core_jp46.yml", "contents": "name: \"ros-iron-ros-core_jp46\"\nrun-name: \"Build ros:iron-ros-core (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-iron-ros-core_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-iron-ros-core_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:iron-ros-core", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:32.343750", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-iron-ros-core_jp51", "path": ".github/workflows/ros-iron-ros-core_jp51.yml", "contents": "name: \"ros-iron-ros-core_jp51\"\nrun-name: \"Build ros:iron-ros-core (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-iron-ros-core_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-iron-ros-core_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:iron-ros-core", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:33.350327", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-melodic-desktop_jp46", "path": ".github/workflows/ros-melodic-desktop_jp46.yml", "contents": "name: \"ros-melodic-desktop_jp46\"\nrun-name: \"Build ros:melodic-desktop (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-melodic-desktop_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cmake/cmake_apt/*'\n      - '!packages/cmake/cmake_apt/README.md'\n      - '!packages/cmake/cmake_apt/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-melodic-desktop_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:melodic-desktop", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:34.356886", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-melodic-ros-base_jp46", "path": ".github/workflows/ros-melodic-ros-base_jp46.yml", "contents": "name: \"ros-melodic-ros-base_jp46\"\nrun-name: \"Build ros:melodic-ros-base (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-melodic-ros-base_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cmake/cmake_apt/*'\n      - '!packages/cmake/cmake_apt/README.md'\n      - '!packages/cmake/cmake_apt/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-melodic-ros-base_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:melodic-ros-base", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:35.336715", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-melodic-ros-core_jp46", "path": ".github/workflows/ros-melodic-ros-core_jp46.yml", "contents": "name: \"ros-melodic-ros-core_jp46\"\nrun-name: \"Build ros:melodic-ros-core (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-melodic-ros-core_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cmake/cmake_apt/*'\n      - '!packages/cmake/cmake_apt/README.md'\n      - '!packages/cmake/cmake_apt/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-melodic-ros-core_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:melodic-ros-core", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:36.409126", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-noetic-desktop_jp46", "path": ".github/workflows/ros-noetic-desktop_jp46.yml", "contents": "name: \"ros-noetic-desktop_jp46\"\nrun-name: \"Build ros:noetic-desktop (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-noetic-desktop_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-noetic-desktop_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-desktop", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:37.542703", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-noetic-desktop_jp51", "path": ".github/workflows/ros-noetic-desktop_jp51.yml", "contents": "name: \"ros-noetic-desktop_jp51\"\nrun-name: \"Build ros:noetic-desktop (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-noetic-desktop_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-noetic-desktop_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-desktop", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:38.663689", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-noetic-ros-base_jp46", "path": ".github/workflows/ros-noetic-ros-base_jp46.yml", "contents": "name: \"ros-noetic-ros-base_jp46\"\nrun-name: \"Build ros:noetic-ros-base (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-noetic-ros-base_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-noetic-ros-base_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-ros-base", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:39.696256", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-noetic-ros-base_jp51", "path": ".github/workflows/ros-noetic-ros-base_jp51.yml", "contents": "name: \"ros-noetic-ros-base_jp51\"\nrun-name: \"Build ros:noetic-ros-base (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-noetic-ros-base_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-noetic-ros-base_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-ros-base", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:40.689513", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-noetic-ros-core_jp46", "path": ".github/workflows/ros-noetic-ros-core_jp46.yml", "contents": "name: \"ros-noetic-ros-core_jp46\"\nrun-name: \"Build ros:noetic-ros-core (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-noetic-ros-core_jp46.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-noetic-ros-core_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-ros-core", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:41.836188", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:03+02:00", "name": "ros-noetic-ros-core_jp51", "path": ".github/workflows/ros-noetic-ros-core_jp51.yml", "contents": "name: \"ros-noetic-ros-core_jp51\"\nrun-name: \"Build ros:noetic-ros-core (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/ros-noetic-ros-core_jp51.yml'\n      - 'packages/ros/*'\n      - '!packages/ros/README.md'\n      - '!packages/ros/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\njobs:\n  ros-noetic-ros-core_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv ros:noetic-ros-core", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:43.063791", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "rust_jp46", "path": ".github/workflows/rust_jp46.yml", "contents": "name: \"rust_jp46\"\nrun-name: \"Build rust (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/rust_jp46.yml'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  rust_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv rust", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:44.191570", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "rust_jp51", "path": ".github/workflows/rust_jp51.yml", "contents": "name: \"rust_jp51\"\nrun-name: \"Build rust (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/rust_jp51.yml'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  rust_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv rust", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:45.195324", "created_at": "2023-10-01T03:55:51+02:00", "updated_at": "2023-10-03T15:10:19+02:00", "name": "sam_jp51", "path": ".github/workflows/sam_jp51.yml", "contents": "name: \"sam_jp51\"\nrun-name: \"Build sam (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/sam_jp51.yml'\n      - 'packages/vit/sam/*'\n      - '!packages/vit/sam/README.md'\n      - '!packages/vit/sam/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\njobs:\n  sam_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv sam", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:46.205773", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "sam_jp60", "path": ".github/workflows/sam_jp60.yml", "contents": "name: \"sam_jp60\"\nrun-name: \"Build sam (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/sam_jp60.yml'\n      - 'packages/vit/sam/*'\n      - '!packages/vit/sam/README.md'\n      - '!packages/vit/sam/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\njobs:\n  sam_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv sam", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:47.195812", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-07-28T05:23:48+02:00", "name": "stable-diffusion-webui_jp46", "path": ".github/workflows/stable-diffusion-webui_jp46.yml", "contents": null, "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:48.687886", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "stable-diffusion-webui_jp51", "path": ".github/workflows/stable-diffusion-webui_jp51.yml", "contents": "name: \"stable-diffusion-webui_jp51\"\nrun-name: \"Build stable-diffusion-webui (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/stable-diffusion-webui_jp51.yml'\n      - 'packages/diffusion/stable-diffusion-webui/*'\n      - '!packages/diffusion/stable-diffusion-webui/README.md'\n      - '!packages/diffusion/stable-diffusion-webui/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/llm/xformers/*'\n      - '!packages/llm/xformers/README.md'\n      - '!packages/llm/xformers/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\njobs:\n  stable-diffusion-webui_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv stable-diffusion-webui", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:49.668911", "created_at": "2023-12-05T22:09:45+01:00", "updated_at": "2023-12-07T04:28:12+01:00", "name": "stable-diffusion-webui_jp60", "path": ".github/workflows/stable-diffusion-webui_jp60.yml", "contents": "name: \"stable-diffusion-webui_jp60\"\nrun-name: \"Build stable-diffusion-webui (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/stable-diffusion-webui_jp60.yml'\n      - 'packages/diffusion/stable-diffusion-webui/*'\n      - '!packages/diffusion/stable-diffusion-webui/README.md'\n      - '!packages/diffusion/stable-diffusion-webui/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/llm/xformers/*'\n      - '!packages/llm/xformers/README.md'\n      - '!packages/llm/xformers/docs.md'\n      - 'packages/cuda/pycuda/*'\n      - '!packages/cuda/pycuda/README.md'\n      - '!packages/cuda/pycuda/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\njobs:\n  stable-diffusion-webui_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv stable-diffusion-webui", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:50.644910", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-07-28T05:23:48+02:00", "name": "stable-diffusion_jp46", "path": ".github/workflows/stable-diffusion_jp46.yml", "contents": null, "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:51.769627", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "stable-diffusion_jp51", "path": ".github/workflows/stable-diffusion_jp51.yml", "contents": "name: \"stable-diffusion_jp51\"\nrun-name: \"Build stable-diffusion (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/stable-diffusion_jp51.yml'\n      - 'packages/diffusion/stable-diffusion/*'\n      - '!packages/diffusion/stable-diffusion/README.md'\n      - '!packages/diffusion/stable-diffusion/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  stable-diffusion_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv stable-diffusion", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:52.896990", "created_at": "2023-10-01T03:55:51+02:00", "updated_at": "2023-10-03T15:10:19+02:00", "name": "tam_jp51", "path": ".github/workflows/tam_jp51.yml", "contents": "name: \"tam_jp51\"\nrun-name: \"Build tam (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/tam_jp51.yml'\n      - 'packages/vit/tam/*'\n      - '!packages/vit/tam/README.md'\n      - '!packages/vit/tam/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\n      - 'packages/vit/sam/*'\n      - '!packages/vit/sam/README.md'\n      - '!packages/vit/sam/docs.md'\njobs:\n  tam_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv tam", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:53.909462", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2023-12-07T04:28:13+01:00", "name": "tam_jp60", "path": ".github/workflows/tam_jp60.yml", "contents": "name: \"tam_jp60\"\nrun-name: \"Build tam (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/tam_jp60.yml'\n      - 'packages/vit/tam/*'\n      - '!packages/vit/tam/README.md'\n      - '!packages/vit/tam/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/opencv/*'\n      - '!packages/opencv/README.md'\n      - '!packages/opencv/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/onnxruntime/*'\n      - '!packages/onnxruntime/README.md'\n      - '!packages/onnxruntime/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\n      - 'packages/vit/sam/*'\n      - '!packages/vit/sam/README.md'\n      - '!packages/vit/sam/docs.md'\njobs:\n  tam_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv tam", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:54.921118", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "tensorflow2_jp46", "path": ".github/workflows/tensorflow2_jp46.yml", "contents": "name: \"tensorflow2_jp46\"\nrun-name: \"Build tensorflow2 (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/tensorflow2_jp46.yml'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\njobs:\n  tensorflow2_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv tensorflow2", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:55.902214", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "tensorflow2_jp51", "path": ".github/workflows/tensorflow2_jp51.yml", "contents": "name: \"tensorflow2_jp51\"\nrun-name: \"Build tensorflow2 (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/tensorflow2_jp51.yml'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\njobs:\n  tensorflow2_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv tensorflow2", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:56.930967", "created_at": "2023-12-05T22:09:45+01:00", "updated_at": "2023-12-07T04:28:13+01:00", "name": "tensorflow2_jp60", "path": ".github/workflows/tensorflow2_jp60.yml", "contents": "name: \"tensorflow2_jp60\"\nrun-name: \"Build tensorflow2 (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/tensorflow2_jp60.yml'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\njobs:\n  tensorflow2_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv tensorflow2", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:57.909670", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "tensorflow_jp46", "path": ".github/workflows/tensorflow_jp46.yml", "contents": "name: \"tensorflow_jp46\"\nrun-name: \"Build tensorflow (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/tensorflow_jp46.yml'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\njobs:\n  tensorflow_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv tensorflow", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:58.918896", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "tensorflow_jp51", "path": ".github/workflows/tensorflow_jp51.yml", "contents": "name: \"tensorflow_jp51\"\nrun-name: \"Build tensorflow (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/tensorflow_jp51.yml'\n      - 'packages/tensorflow/*'\n      - '!packages/tensorflow/README.md'\n      - '!packages/tensorflow/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/protobuf/protobuf_cpp/*'\n      - '!packages/protobuf/protobuf_cpp/README.md'\n      - '!packages/protobuf/protobuf_cpp/docs.md'\njobs:\n  tensorflow_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv tensorflow", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:42:59.920151", "created_at": "2023-12-05T22:09:45+01:00", "updated_at": "2023-12-07T04:28:13+01:00", "name": "tensorrt-86_jp60", "path": ".github/workflows/tensorrt-86_jp60.yml", "contents": "name: \"tensorrt-86_jp60\"\nrun-name: \"Build tensorrt:8.6 (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/tensorrt-86_jp60.yml'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  tensorrt-86_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv tensorrt:8.6", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:00.992060", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "text-generation-inference_jp51", "path": ".github/workflows/text-generation-inference_jp51.yml", "contents": "name: \"text-generation-inference_jp51\"\nrun-name: \"Build text-generation-inference (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/text-generation-inference_jp51.yml'\n      - 'packages/llm/text-generation-inference/*'\n      - '!packages/llm/text-generation-inference/README.md'\n      - '!packages/llm/text-generation-inference/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/llm/bitsandbytes/*'\n      - '!packages/llm/bitsandbytes/README.md'\n      - '!packages/llm/bitsandbytes/docs.md'\njobs:\n  text-generation-inference_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv text-generation-inference", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:02.111432", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "text-generation-webui_jp51", "path": ".github/workflows/text-generation-webui_jp51.yml", "contents": "name: \"text-generation-webui_jp51\"\nrun-name: \"Build text-generation-webui (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/text-generation-webui_jp51.yml'\n      - 'packages/llm/text-generation-webui/*'\n      - '!packages/llm/text-generation-webui/README.md'\n      - '!packages/llm/text-generation-webui/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/llm/bitsandbytes/*'\n      - '!packages/llm/bitsandbytes/README.md'\n      - '!packages/llm/bitsandbytes/docs.md'\n      - 'packages/llm/auto_gptq/*'\n      - '!packages/llm/auto_gptq/README.md'\n      - '!packages/llm/auto_gptq/docs.md'\n      - 'packages/llm/gptq-for-llama/*'\n      - '!packages/llm/gptq-for-llama/README.md'\n      - '!packages/llm/gptq-for-llama/docs.md'\n      - 'packages/llm/exllama/*'\n      - '!packages/llm/exllama/README.md'\n      - '!packages/llm/exllama/docs.md'\n      - 'packages/llm/exllama/*'\n      - '!packages/llm/exllama/README.md'\n      - '!packages/llm/exllama/docs.md'\n      - 'packages/llm/llama_cpp/*'\n      - '!packages/llm/llama_cpp/README.md'\n      - '!packages/llm/llama_cpp/docs.md'\njobs:\n  text-generation-webui_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv text-generation-webui", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:03.237828", "created_at": "2024-02-01T04:26:03+01:00", "updated_at": "2024-02-03T05:01:11+01:00", "name": "text-generation-webui_jp60", "path": ".github/workflows/text-generation-webui_jp60.yml", "contents": "name: \"text-generation-webui_jp60\"\nrun-name: \"Build text-generation-webui (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/text-generation-webui_jp60.yml'\n      - 'packages/llm/text-generation-webui/*'\n      - '!packages/llm/text-generation-webui/README.md'\n      - '!packages/llm/text-generation-webui/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/llm/auto_gptq/*'\n      - '!packages/llm/auto_gptq/README.md'\n      - '!packages/llm/auto_gptq/docs.md'\n      - 'packages/llm/gptq-for-llama/*'\n      - '!packages/llm/gptq-for-llama/README.md'\n      - '!packages/llm/gptq-for-llama/docs.md'\n      - 'packages/llm/exllama/*'\n      - '!packages/llm/exllama/README.md'\n      - '!packages/llm/exllama/docs.md'\n      - 'packages/llm/exllama/*'\n      - '!packages/llm/exllama/README.md'\n      - '!packages/llm/exllama/docs.md'\n      - 'packages/llm/llama_cpp/*'\n      - '!packages/llm/llama_cpp/README.md'\n      - '!packages/llm/llama_cpp/docs.md'\njobs:\n  text-generation-webui-main_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv text-generation-webui", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:04.364528", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "torch2trt_jp46", "path": ".github/workflows/torch2trt_jp46.yml", "contents": "name: \"torch2trt_jp46\"\nrun-name: \"Build torch2trt (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/torch2trt_jp46.yml'\n      - 'packages/pytorch/torch2trt/*'\n      - '!packages/pytorch/torch2trt/README.md'\n      - '!packages/pytorch/torch2trt/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\njobs:\n  torch2trt_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv torch2trt", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:05.484431", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "torch2trt_jp51", "path": ".github/workflows/torch2trt_jp51.yml", "contents": "name: \"torch2trt_jp51\"\nrun-name: \"Build torch2trt (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/torch2trt_jp51.yml'\n      - 'packages/pytorch/torch2trt/*'\n      - '!packages/pytorch/torch2trt/README.md'\n      - '!packages/pytorch/torch2trt/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\njobs:\n  torch2trt_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv torch2trt", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:06.515887", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "torch_tensorrt_jp46", "path": ".github/workflows/torch_tensorrt_jp46.yml", "contents": "name: \"torch_tensorrt_jp46\"\nrun-name: \"Build torch_tensorrt (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/torch_tensorrt_jp46.yml'\n      - 'packages/pytorch/torch_tensorrt/*'\n      - '!packages/pytorch/torch_tensorrt/README.md'\n      - '!packages/pytorch/torch_tensorrt/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/bazel/*'\n      - '!packages/bazel/README.md'\n      - '!packages/bazel/docs.md'\njobs:\n  torch_tensorrt_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv torch_tensorrt", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:07.577065", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "torch_tensorrt_jp51", "path": ".github/workflows/torch_tensorrt_jp51.yml", "contents": "name: \"torch_tensorrt_jp51\"\nrun-name: \"Build torch_tensorrt (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/torch_tensorrt_jp51.yml'\n      - 'packages/pytorch/torch_tensorrt/*'\n      - '!packages/pytorch/torch_tensorrt/README.md'\n      - '!packages/pytorch/torch_tensorrt/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/bazel/*'\n      - '!packages/bazel/README.md'\n      - '!packages/bazel/docs.md'\njobs:\n  torch_tensorrt_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv torch_tensorrt", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:08.553996", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "torchaudio_jp46", "path": ".github/workflows/torchaudio_jp46.yml", "contents": "name: \"torchaudio_jp46\"\nrun-name: \"Build torchaudio (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/torchaudio_jp46.yml'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\njobs:\n  torchaudio_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv torchaudio", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:09.541421", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "torchaudio_jp51", "path": ".github/workflows/torchaudio_jp51.yml", "contents": "name: \"torchaudio_jp51\"\nrun-name: \"Build torchaudio (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/torchaudio_jp51.yml'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\njobs:\n  torchaudio_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv torchaudio", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:10.610763", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "torchvision_jp46", "path": ".github/workflows/torchvision_jp46.yml", "contents": "name: \"torchvision_jp46\"\nrun-name: \"Build torchvision (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/torchvision_jp46.yml'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\njobs:\n  torchvision_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv torchvision", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:12.140687", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "torchvision_jp51", "path": ".github/workflows/torchvision_jp51.yml", "contents": "name: \"torchvision_jp51\"\nrun-name: \"Build torchvision (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/torchvision_jp51.yml'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\njobs:\n  torchvision_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv torchvision", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:13.429354", "created_at": "2023-09-07T17:39:01+02:00", "updated_at": "2023-09-15T20:39:10+02:00", "name": "transformers-git_jp51", "path": ".github/workflows/transformers-git_jp51.yml", "contents": "name: \"transformers-git_jp51\"\nrun-name: \"Build transformers:git (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/transformers-git_jp51.yml'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\njobs:\n  transformers-git_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv transformers:git", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:14.696305", "created_at": "2023-09-07T17:39:01+02:00", "updated_at": "2023-09-15T20:39:10+02:00", "name": "transformers-nvgpt_jp51", "path": ".github/workflows/transformers-nvgpt_jp51.yml", "contents": "name: \"transformers-nvgpt_jp51\"\nrun-name: \"Build transformers:nvgpt (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/transformers-nvgpt_jp51.yml'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\njobs:\n  transformers-nvgpt_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv transformers:nvgpt", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:15.744605", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "transformers_jp46", "path": ".github/workflows/transformers_jp46.yml", "contents": "name: \"transformers_jp46\"\nrun-name: \"Build transformers (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/transformers_jp46.yml'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/protobuf/protobuf_apt/*'\n      - '!packages/protobuf/protobuf_apt/README.md'\n      - '!packages/protobuf/protobuf_apt/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\njobs:\n  transformers_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv transformers", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:16.794429", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "transformers_jp51", "path": ".github/workflows/transformers_jp51.yml", "contents": "name: \"transformers_jp51\"\nrun-name: \"Build transformers (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/transformers_jp51.yml'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\njobs:\n  transformers_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv transformers", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:17.846724", "created_at": "2023-12-05T22:09:45+01:00", "updated_at": "2023-12-07T04:28:13+01:00", "name": "transformers_jp60", "path": ".github/workflows/transformers_jp60.yml", "contents": "name: \"transformers_jp60\"\nrun-name: \"Build transformers (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/transformers_jp60.yml'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\njobs:\n  transformers_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv transformers", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:18.890134", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "tritonserver_jp46", "path": ".github/workflows/tritonserver_jp46.yml", "contents": "name: \"tritonserver_jp46\"\nrun-name: \"Build tritonserver (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/tritonserver_jp46.yml'\n      - 'packages/tritonserver/*'\n      - '!packages/tritonserver/README.md'\n      - '!packages/tritonserver/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  tritonserver_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv tritonserver", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:19.938354", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "tritonserver_jp51", "path": ".github/workflows/tritonserver_jp51.yml", "contents": "name: \"tritonserver_jp51\"\nrun-name: \"Build tritonserver (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/tritonserver_jp51.yml'\n      - 'packages/tritonserver/*'\n      - '!packages/tritonserver/README.md'\n      - '!packages/tritonserver/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  tritonserver_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv tritonserver", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:21.511857", "created_at": "2024-02-27T03:52:09+01:00", "updated_at": "2024-02-27T04:40:54+01:00", "name": "tritonserver_jp60", "path": ".github/workflows/tritonserver_jp60.yml", "contents": "name: \"tritonserver_jp60\"\nrun-name: \"Build tritonserver (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/tritonserver_jp60.yml'\n      - 'packages/tritonserver/*'\n      - '!packages/tritonserver/README.md'\n      - '!packages/tritonserver/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  tritonserver_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv tritonserver", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:22.559978", "created_at": "2023-09-15T05:39:54+02:00", "updated_at": "2023-09-15T20:39:10+02:00", "name": "tvm_jp51", "path": ".github/workflows/tvm_jp51.yml", "contents": "name: \"tvm_jp51\"\nrun-name: \"Build tvm (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/tvm_jp51.yml'\n      - 'packages/tvm/*'\n      - '!packages/tvm/README.md'\n      - '!packages/tvm/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\njobs:\n  tvm_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv tvm", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:23.609272", "created_at": "2023-11-05T01:53:41+01:00", "updated_at": "2023-11-07T04:44:38+01:00", "name": "whisper_jp51", "path": ".github/workflows/whisper_jp51.yml", "contents": "name: \"whisper_jp51\"\nrun-name: \"Build whisper (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/whisper_jp51.yml'\n      - 'packages/audio/whisper/*'\n      - '!packages/audio/whisper/README.md'\n      - '!packages/audio/whisper/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\njobs:\n  whisper_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv whisper", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:24.658617", "created_at": "2023-12-06T00:58:02+01:00", "updated_at": "2023-12-07T04:28:13+01:00", "name": "whisper_jp60", "path": ".github/workflows/whisper_jp60.yml", "contents": "name: \"whisper_jp60\"\nrun-name: \"Build whisper (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/whisper_jp60.yml'\n      - 'packages/audio/whisper/*'\n      - '!packages/audio/whisper/README.md'\n      - '!packages/audio/whisper/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/numba/*'\n      - '!packages/numba/README.md'\n      - '!packages/numba/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/jupyterlab/*'\n      - '!packages/jupyterlab/README.md'\n      - '!packages/jupyterlab/docs.md'\njobs:\n  whisper_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv whisper", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:25.706489", "created_at": "2024-01-19T19:34:53+01:00", "updated_at": "2024-01-19T19:55:32+01:00", "name": "whisperx_jp51", "path": ".github/workflows/whisperx_jp51.yml", "contents": "name: \"whisperx_jp51\"\nrun-name: \"Build whisperx (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/whisperx_jp51.yml'\n      - 'packages/audio/whisperx/*'\n      - '!packages/audio/whisperx/README.md'\n      - '!packages/audio/whisperx/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/ctranslate2/*'\n      - '!packages/ctranslate2/README.md'\n      - '!packages/ctranslate2/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/audio/faster-whisper/*'\n      - '!packages/audio/faster-whisper/README.md'\n      - '!packages/audio/faster-whisper/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  whisperx_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv whisperx", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:26.759148", "created_at": "2024-01-19T19:20:07+01:00", "updated_at": "2024-01-19T19:55:32+01:00", "name": "whisperx_jp60", "path": ".github/workflows/whisperx_jp60.yml", "contents": "name: \"whisperx_jp60\"\nrun-name: \"Build whisperx (JetPack 6.0)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/whisperx_jp60.yml'\n      - 'packages/audio/whisperx/*'\n      - '!packages/audio/whisperx/README.md'\n      - '!packages/audio/whisperx/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\n      - 'packages/pytorch/torchaudio/*'\n      - '!packages/pytorch/torchaudio/README.md'\n      - '!packages/pytorch/torchaudio/docs.md'\n      - 'packages/ctranslate2/*'\n      - '!packages/ctranslate2/README.md'\n      - '!packages/ctranslate2/docs.md'\n      - 'packages/llm/huggingface_hub/*'\n      - '!packages/llm/huggingface_hub/README.md'\n      - '!packages/llm/huggingface_hub/docs.md'\n      - 'packages/audio/faster-whisper/*'\n      - '!packages/audio/faster-whisper/README.md'\n      - '!packages/audio/faster-whisper/docs.md'\n      - 'packages/pytorch/torchvision/*'\n      - '!packages/pytorch/torchvision/README.md'\n      - '!packages/pytorch/torchvision/docs.md'\n      - 'packages/rust/*'\n      - '!packages/rust/README.md'\n      - '!packages/rust/docs.md'\n      - 'packages/llm/transformers/*'\n      - '!packages/llm/transformers/README.md'\n      - '!packages/llm/transformers/docs.md'\njobs:\n  whisperx_jp60:\n    runs-on: [self-hosted, jetson, jp60]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv whisperx", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:27.803210", "created_at": "2023-08-04T04:50:13+02:00", "updated_at": "2023-08-04T06:49:28+02:00", "name": "xformers_jp51", "path": ".github/workflows/xformers_jp51.yml", "contents": "name: \"xformers_jp51\"\nrun-name: \"Build xformers (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/xformers_jp51.yml'\n      - 'packages/llm/xformers/*'\n      - '!packages/llm/xformers/README.md'\n      - '!packages/llm/xformers/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/cuda/cuda/*'\n      - '!packages/cuda/cuda/README.md'\n      - '!packages/cuda/cuda/docs.md'\n      - 'packages/cuda/cudnn/*'\n      - '!packages/cuda/cudnn/README.md'\n      - '!packages/cuda/cudnn/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\n      - 'packages/tensorrt/*'\n      - '!packages/tensorrt/README.md'\n      - '!packages/tensorrt/docs.md'\n      - 'packages/numpy/*'\n      - '!packages/numpy/README.md'\n      - '!packages/numpy/docs.md'\n      - 'packages/cmake/cmake_pip/*'\n      - '!packages/cmake/cmake_pip/README.md'\n      - '!packages/cmake/cmake_pip/docs.md'\n      - 'packages/onnx/*'\n      - '!packages/onnx/README.md'\n      - '!packages/onnx/docs.md'\n      - 'packages/pytorch/*'\n      - '!packages/pytorch/README.md'\n      - '!packages/pytorch/docs.md'\njobs:\n  xformers_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv xformers", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:28.858643", "created_at": "2023-07-28T05:23:48+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "zed_jp46", "path": ".github/workflows/zed_jp46.yml", "contents": "name: \"zed_jp46\"\nrun-name: \"Build zed (JetPack 4.6)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/zed_jp46.yml'\n      - 'packages/zed/*'\n      - '!packages/zed/README.md'\n      - '!packages/zed/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  zed_jp46:\n    runs-on: [self-hosted, jetson, jp46]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv zed", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:29.900139", "created_at": "2023-07-28T05:21:32+02:00", "updated_at": "2023-08-03T17:15:04+02:00", "name": "zed_jp51", "path": ".github/workflows/zed_jp51.yml", "contents": "name: \"zed_jp51\"\nrun-name: \"Build zed (JetPack 5.1)\"\non:\n  workflow_dispatch: {}\n  push:\n    branches:\n      - 'dev'\n    paths:\n      - '.github/workflows/zed_jp51.yml'\n      - 'packages/zed/*'\n      - '!packages/zed/README.md'\n      - '!packages/zed/docs.md'\n      - 'packages/build-essential/*'\n      - '!packages/build-essential/README.md'\n      - '!packages/build-essential/docs.md'\n      - 'packages/python/*'\n      - '!packages/python/README.md'\n      - '!packages/python/docs.md'\njobs:\n  zed_jp51:\n    runs-on: [self-hosted, jetson, jp51]\n    steps:\n      - run: |\n         cat /etc/nv_tegra_release \n      - name: \"Checkout ${{ github.repository }} SHA=${{ github.sha }}\" \n        run: |\n         echo \"$RUNNER_WORKSPACE\" \n         cd $RUNNER_WORKSPACE \n         git config --global user.email \"dustinf@nvidia.com\" \n         git config --global user.name \"Dustin Franklin\" \n         git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY || echo 'repo already cloned or another error encountered' \n         cd jetson-containers \n         git fetch origin \n         git checkout $GITHUB_SHA \n         git status \n         ls -a \n      - run: ./build.sh --name=runner/ --push=dustynv zed", "state": "active", "repository": "dusty-nv/jetson-containers"}
{"mined_at": "2024-07-15T16:43:31.972670", "created_at": "2021-11-11T11:23:57+01:00", "updated_at": "2021-11-11T11:23:57+01:00", "name": "Repository Popularity Statistice Notify", "path": ".github/workflows/repository_notify.yml", "contents": "name: Repository Popularity Statistice Notify\n\non:\n  schedule:\n    - cron: '0 2 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - id: repo-stars\n        run: |\n          STARS=`curl -s 'https://api.github.com/repos/${{github.repository}}?page=$i&per_page=100' | jq .stargazers_count`\n          echo \"::set-output name=stars::$STARS\"\n        shell: bash\n\n      - id: repo-forks\n        run: |\n          STARS=`curl -s 'https://api.github.com/repos/${{github.repository}}?page=$i&per_page=100' | jq .forks_count`\n          echo \"::set-output name=forks::$STARS\"\n        shell: bash\n\n      - id: repo-issues\n        run: |\n          STARS=`curl -s 'https://api.github.com/repos/${{github.repository}}?page=$i&per_page=100' | jq .open_issues_count`\n          echo \"::set-output name=issues::$STARS\"\n        shell: bash\n\n      - id: echo\n        run: |\n          echo \"${{ steps.repo-stars.outputs.stars }}\"\n          echo \"${{ steps.repo-forks.outputs.forks }}\"\n          echo \"${{ steps.repo-issues.outputs.issues }}\"\n        shell: bash\n\n      - name: notify\n        env:\n          LABELS: ${{ toJson(github.event.issue.labels) }}\n        uses: joelwmale/webhook-action@master\n        with:\n          url: ${{ secrets.DONGTAI_WEBHOOK_URL }}\n          body: '{\"msg_type\": \"interactive\",\"card\": {\"header\": {\"title\": {\"tag\": \"plain_text\", \"content\": \"Repository Popularity Statistice Notify\"}}, \"config\": {\"wide_screen_mode\": true,\"enable_forward\": true},\"elements\": [{\"tag\": \"div\",\"text\": {\"content\": \"**repository: **${{ github.repository }}\\n**star: ** ${{ steps.repo-stars.outputs.stars }}\\n**fork: **${{ steps.repo-forks.outputs.forks }}\\n**issue count: **${{ steps.repo-issues.outputs.issues }}\\n\",\"tag\": \"lark_md\"}}]}}'\n\n", "state": "active", "repository": "hxsecurity/dongtai"}
{"mined_at": "2024-07-15T16:43:33.140046", "created_at": "2021-12-21T09:01:43+01:00", "updated_at": "2021-12-21T09:42:16+01:00", "name": "Dead Link Checker", "path": ".github/workflows/dead-link-checker.yaml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Dead Link Checker\n\non:\n  pull_request:\n\nconcurrency:\n  group: dlc-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  CheckDeadLinks:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - uses: actions/checkout@v2\n      - run: sudo npm install -g markdown-link-check\n      - run: |\n          for file in $(find . -name \"*.md\"); do\n            markdown-link-check -c .github/workflows/config/.dlc.json -q \"$file\"\n          done", "state": "active", "repository": "hxsecurity/dongtai"}
{"mined_at": "2024-07-15T16:43:34.243097", "created_at": "2021-12-21T09:42:16+01:00", "updated_at": "2022-03-27T17:08:26+02:00", "name": "Release DongTai-Server", "path": ".github/workflows/release_dongtai.yml", "contents": "name: Release DongTai-Server\n\non:\n  release:\n    types: [ created, edited ]\n  workflow_dispatch:\n    inputs:\n      agent_version:\n        required: true\n        type: string\n      server_version:\n        required: true\n        type: string\n\njobs:\n  build:\n    if: ${{ github.repository_owner == 'HXSecurity' }}\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.7]\n\n    steps:\n      - name: start-build\n        uses: joelwmale/webhook-action@master\n        with:\n          url: ${{ secrets.DONGTAI_WEBHOOK_URL }}\n          body: '{\"msg_type\": \"interactive\",\"card\": {\"config\": {\"wide_screen_mode\": true,\"enable_forward\": true},\"elements\": [{\"tag\": \"div\",\"text\": {\"content\": \"状态：项目${{github.repository}}构建开始\\n分支：${{github.ref}}\\n流程：${{github.workflow}}\\n构建编号：${{github.run_number}}\\n触发事件：${{github.event_name}}\\n提交人：${{github.actor}}\\nSHA-1：${{github.sha}}\\n\",\"tag\": \"lark_md\"}}]}}'\n\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set the value\n        id: release\n        run: |\n          TAG_NAME=${{ github.event.release.tag_name }}\n          ID=`echo ${TAG_NAME##v}`\n          if [ -z \"${{ inputs.server_version }}\" ]\n          then\n              echo \"variable is empty\"\n          else\n              ID=${{ inputs.server_version }}\n          fi\n          echo \"iast_version=$ID\" >> $GITHUB_ENV\n\n      - name: Generate version file\n        run: |\n          bash .github/workflows/version_update.sh \"${{ env.iast_version }}\"\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DONGTAI_DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DONGTAI_DOCKERHUB_TOKEN }}\n\n      - name: Login to Aliyun Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ${{ secrets.ALIYUN_REGISTRY_HONGKONG }}\n          username: ${{ secrets.ALIYUN_DOCKERHUB_USER }}\n          password: ${{ secrets.ALIYUN_DOCKERHUB_PASSWORD }}\n          \n      - run: |\n          echo \"REPLACE INTO project_version_control (version, component_name, component_version_hash) VALUES('${{ env.iast_version }}', '${{ github.event.repository.name }}', '${GITHUB_SHA}');\" >> ./deploy/docker/version.sql\n\n      - name: Upload COS java\n        uses: zkqiang/tencent-cos-action@v0.1.0\n        with:\n          args: download -rs /agent/java/latest/ ./ --include \"*.jar\"\n          secret_id: ${{ secrets.TENSECRET_ID }}\n          secret_key: ${{ secrets.TENSECRET_KEY }}\n          bucket: dongtai-helm-charts-1251882848\n          region: ap-hongkong\n      - name: Upload COS python\n        uses: zkqiang/tencent-cos-action@v0.1.0\n        with:\n          args: download -rs /agent/python/ ./ --include \"*.tar.gz\"\n          secret_id: ${{ secrets.TENSECRET_ID }}\n          secret_key: ${{ secrets.TENSECRET_KEY }}\n          bucket: dongtai-helm-charts-1251882848\n          region: ap-hongkong\n      - name: Upload COS php\n        uses: zkqiang/tencent-cos-action@v0.1.0\n        with:\n          args: download -rs /agent/php/ ./ --include \"*.tar.gz\"\n          secret_id: ${{ secrets.TENSECRET_ID }}\n          secret_key: ${{ secrets.TENSECRET_KEY }}\n          bucket: dongtai-helm-charts-1251882848\n          region: ap-hongkong\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          file: Dockerfile\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: | \n            dongtai/dongtai-server:latest\n            dongtai/dongtai-server:${{ env.iast_version }}\n\n      - name: finish build\n        uses: joelwmale/webhook-action@master\n        with:\n          url: ${{ secrets.DONGTAI_WEBHOOK_URL }}\n          body: '{\"msg_type\": \"interactive\",\"card\": {\"config\": {\"wide_screen_mode\": true,\"enable_forward\": true},\"elements\": [{\"tag\": \"div\",\"text\": {\"content\": \"状态：项目${{github.repository}}构建成功\\n分支：${{github.ref}}\\n流程：${{github.workflow}}\\n构建编号：${{github.run_number}}\\n触发事件：${{github.event_name}}\\n提交人：${{github.actor}}\\nSHA-1：${{github.sha}}\\n\",\"tag\": \"lark_md\"}}]}}'\n\n\n  helm:\n    if: ${{ github.repository_owner == 'HXSecurity-stop' }}\n    name: Build\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set the value\n        id: release\n        run: |\n          TAG_NAME=${{ github.event.release.tag_name }}\n          ID=`echo ${TAG_NAME##v}`\n          if [ -z \"${{ inputs.server_version }}\" ]\n          then\n              echo \"variable is empty\"\n          else\n              ID=${{ inputs.server_version }}\n          fi\n          echo \"iast_version=$ID\" >> $GITHUB_ENV\n      \n      - uses: azure/setup-helm@v1\n        with:\n          version: 'latest'\n        id: install\n\n      - name: Get the release version\n        id: get_version\n        run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}\n        \n\n      - name: Download existed repo files\n        run: |\n          sed -i \"s#tag: latest#tag: ${{ env.iast_version }}#g\" deploy/kubernetes/helm/values.yaml\n\n      - name: Upload COS php\n        uses: zkqiang/tencent-cos-action@v0.1.0\n        with:\n          args: download -rs iast/ /github/workspace/cos --ignore \"*.yaml\"\n          secret_id: ${{ secrets.TENSECRET_ID }} \n          secret_key: ${{ secrets.TENSECRET_KEY }}\n          bucket: dongtai-helm-charts-1251882848\n          region: ap-hongkong\n          \n      - name: Create helm package\n        run: |\n          ls -lh  /home/runner/work/DongTai/DongTai/\n          ls -lh  /home/runner/work/DongTai/DongTai/cos\n          sudo helm package deploy/kubernetes/helm  -d /home/runner/work/DongTai/DongTai/cos --app-version ${{ env.iast_version }} --version ${{ env.iast_version }}\n          sudo helm repo index /home/runner/work/DongTai/DongTai/cos --url ${{ secrets.DONGTAI_IAST_CHART_REPO_URL }}\n\n\n      - name: Upload COS 2\n        uses: zkqiang/tencent-cos-action@v0.1.0\n        with:\n          args: upload -rs /github/workspace/cos/dongtai-iast-${{ env.iast_version }}.tgz /iast/ && upload -rs /github/workspace/cos/index.yaml /iast/\n          secret_id: ${{ secrets.TENSECRET_ID }}\n          secret_key: ${{ secrets.TENSECRET_KEY }}\n          bucket: dongtai-helm-charts-1251882848\n          region: ap-hongkong\n\n          \n", "state": "active", "repository": "hxsecurity/dongtai"}
{"mined_at": "2024-07-15T16:43:35.310826", "created_at": "2022-03-15T09:29:44+01:00", "updated_at": "2023-03-14T10:21:36+01:00", "name": "Deploy DongTai Server To Dev", "path": ".github/workflows/deploy-dev.yaml", "contents": "name: Deploy DongTai Server To Dev\n\non:\n  push:\n    branches:\n      - main\n      - beta\n      - develop\n  workflow_dispatch:\n    inputs:\n      agent_version:\n        required: true\n        type: string\n\njobs:\n  Deploy-to-dev:\n    if: ${{ github.event_name == 'workflow_dispatch' || github.repository_owner == 'HXSecurity' }}\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.7]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Get the release version\n        id: version\n        run: echo ::set-output name=GITHUB_REF::${GITHUB_REF##*/}\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to Aliyun Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ${{ secrets.TEN_REGISTRY }}\n          username: ${{ secrets.TEN_DOCKERHUB_USER }}\n          password: ${{ secrets.TEN_DOCKERHUB_PASSWORD }}\n\n      - name: Generate version file\n        run: |\n          #bash .github/workflows/config_update.sh\n          #bash .github/workflows/config_update.sh \"${{ steps.release.outputs.VERSION }}\"\n\n      - name: Upload COS\n        if: ${{ steps.version.outputs.GITHUB_REF }} == develop\n        uses: zkqiang/tencent-cos-action@v0.1.0\n        with:\n          args: download -rs /agent_test/java/latest/ ./ --include \"*.jar\"\n          secret_id: ${{ secrets.TENSECRET_ID }}\n          secret_key: ${{ secrets.TENSECRET_KEY }}\n          bucket: dongtai-helm-charts-1251882848\n          region: ap-hongkong\n\n      - name: Generate version file\n        run: |\n          echo \"REPLACE INTO project_version_control (version, component_name, component_version_hash) VALUES('${{ github.run_number }}.0.0', '${{ github.event.repository.name }}', '${GITHUB_SHA}');\" >> ./deploy/docker/version.sql\n\n      - name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          file: Dockerfile\n          context: .\n          push: true\n          platforms: linux/amd64\n          tags: |\n            wukong.tencentcloudcr.com/dongtai/dongtai-server:${{ steps.version.outputs.GITHUB_REF }}-latest\n            wukong.tencentcloudcr.com/dongtai/dongtai-server:${{ steps.version.outputs.GITHUB_REF }}-1.0.${{github.run_number}}\n\n      - name: deploy to cluster\n        uses: HXSecurity/kubectl-helm-action@main\n        env:\n          MAX: false\n          PROJECT: server\n          TOKEN_SCA: ${{ secrets.TOKEN_SCA }}\n          KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_TEST_DATA }}\n", "state": "active", "repository": "hxsecurity/dongtai"}
{"mined_at": "2024-07-15T16:43:36.351780", "created_at": "2022-11-07T05:02:26+01:00", "updated_at": "2023-07-26T08:26:52+02:00", "name": "Test state", "path": ".github/workflows/teststate.yml", "contents": "\nname: \"Test state\"\n\non:\n  push:\n    branches: \n      - main\n      - '*'\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [main, develop]\n  schedule:\n    - cron: '0 0 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  init:\n    if: (github.repository_owner == 'HXSecurityBusiness' && github.event_name == 'schedule') || github.repository_owner == 'HXSecurity'\n    runs-on: ubuntu-latest\n    steps:\n      - name: init\n        run: |\n          echo \"HXSecurityBusiness\"\n  Run-API-TEST:\n    runs-on: ubuntu-latest\n    needs:\n      - init\n    services:\n      mysql:\n        image: dongtai/dongtai-mysql-unittest:latest\n        ports:\n          - 3306:3306\n        options: >-\n          --health-cmd \"mysqladmin ping --silent\"\n          --health-interval 10s\n          --health-timeout 180s\n          --health-retries 10\n      redis:\n        image: dongtai/dongtai-redis:latest\n        ports:\n          - 6379:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: ./.github/actions/setup-python\n      \n      - name: Install dependencies\n        run: |\n          pip install schemathesis\n          pip install httpx\n          \n      - name: Django Api Testing\n        run: |\n          mysql --host=127.0.0.1 -uroot -p'dongtai-iast' -D dongtai_webapi < /home/runner/work/DongTai/DongTai/test/init.sql\n          cp dongtai_conf/conf/config.ini.test dongtai_conf/conf/config.ini\n          export DOC=TRUE\n          mkdir -p /tmp/logstash/report/{img,word,pdf,excel} && mkdir -p /tmp/iast_cache/package && mkdir -p /tmp/logstash/batchagent \n          python3 ./deploy/docker/version_update.py || true\n          python3 manage.py migrate\n          DOC=TRUE uwsgi --ini ./dongtai_conf/conf/uwsgi.ini --chdir $(pwd) --static-map \"/upload=$(pwd)/static\" > webapi.log &\n          sleep 15\n          schemathesis run --rate-limit=28/s --base-url \"http://localhost:8000/\"  -H 'Authorization: Token 67aebd78e700ad36a82a152276196b5f49fafeb0' http://localhost:8000/api/XZPcGFKoxYXScwGjQtJx8u/schema/  --hypothesis-suppress-health-check=data_too_large,filter_too_much,too_slow,large_base_example --validate-schema=false  --hypothesis-verbosity normal \n  \n  Run-BuildCheck:\n    needs:\n      - init\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.10\"]\n        arch: [\"linux/amd64\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      \n      - name: Build and push ${{ matrix.arch }}\n        uses: docker/build-push-action@v2\n        with:\n          file: Dockerfile\n          context: .\n          push: false\n          platforms: ${{ matrix.arch }}\n          tags: | \n            registry.cn-hongkong.aliyuncs.com/secnium/dongtai-server-test:latest\n            registry.cn-hongkong.aliyuncs.com/secnium/dongtai-server-test:1.0.${{github.run_number}}\n  \n  Run-MypyCheck:\n    needs:\n      - init\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: ./.github/actions/setup-python\n      - name: Django Unit Testing\n        run: |\n          mypy --show-error-codes --ignore-missing-imports  --no-incremental --show-error-codes --check-untyped-defs --disable-error-code var-annotated  --disable-error-code  list-item  --disable-error-code attr-defined --disable-error-code assignment --disable-error-code misc --disable-error-code union-attr --disable-error-code index --disable-error-code call-overload  --disable-error-code dict-item  --disable-error-code truthy-function --disable-error-code operator --disable-error-code name-defined .\n\n  Run-BlackCheck:\n    needs:\n      - init\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: psf/black@stable\n\n  Run-RuffCheck:\n    needs:\n      - init\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: chartboost/ruff-action@v1\n\n  Run-BanditCheck:\n    needs:\n      - init\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: ./.github/actions/setup-python\n      \n      - name: Install dependencies\n        run: pip install bandit\n      - name: Django Unit Testing\n        run: |\n          bandit -iii -lll -r .\n\n  Run-Unit-TEST:\n    needs:\n      - init\n    runs-on: ubuntu-latest\n    services:\n      mysql:\n        image: dongtai/dongtai-mysql-unittest:latest\n        ports:\n          - 3306:3306\n        options: >-\n          --health-cmd \"mysqladmin ping --silent\"\n          --health-interval 10s\n          --health-timeout 180s\n          --health-retries 10\n      redis:\n        image: dongtai/dongtai-redis:latest\n        ports:\n          - 6379:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: ./.github/actions/setup-python\n      \n      - name: Install dependencies\n        run: pip install coverage\n          \n      - name: Django Unit Testing\n        run: |\n          export CELERY_EAGER_TEST=TRUE\n          cp dongtai_conf/conf/config.ini.test dongtai_conf/conf/config.ini\n          mkdir -p /tmp/logstash/report/{img,word,pdf,excel} && mkdir -p /tmp/iast_cache/package && mkdir -p /tmp/logstash/batchagent \n          python3 ./deploy/docker/version_update.py || true\n          python3 manage.py migrate\n          coverage run --source='.' manage.py test\n          coverage report\n\n  Run-Schema-Check:\n    needs:\n      - init\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: ./.github/actions/setup-python\n\n      - name: Check Schema\n        run: python3 manage.py check_schema\n\n  analyze:\n    needs:\n      - init\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "hxsecurity/dongtai"}
{"mined_at": "2024-07-15T16:43:37.545552", "created_at": "2022-11-15T11:56:40+01:00", "updated_at": "2022-11-15T11:56:46+01:00", "name": "dongtai-pr", "path": ".github/workflows/dongtai-pr.yaml", "contents": "name: dongtai-pr\non:\n  push:\n  pull_request:\n\njobs:\n  run_if:\n    if: ${{ github.event_name == 'push' && github.repository_owner == 'HXSecurity' && github.ref == 'refs/heads/develop'}}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out branch\n        uses: actions/checkout@v1\n      - name: Generate version file\n        run: |\n           git checkout -b pr@develop@v${{github.run_number}}\n           git remote set-url origin --push --add '${{ secrets.DONGTAI_GITHUB_TOKEN_ALL }}'\n           git push --set-upstream origin pr@develop@v${{github.run_number}}\n\n  generic_handler:\n    if: ${{ github.repository_owner == 'HXSecurityBusiness' }}\n    name: pr\n    runs-on: ubuntu-latest\n    steps:\n      - uses: tscuite/action-generic-handler@main\n        env:\n          GITHUB_TOKEN: ${{ secrets.DONGTAI_GITHUB_TOKEN_ALL_CLIENT }}\n", "state": "active", "repository": "hxsecurity/dongtai"}
{"mined_at": "2024-07-15T16:43:38.627998", "created_at": "2022-11-18T04:27:54+01:00", "updated_at": "2022-11-18T04:27:54+01:00", "name": "Nightly", "path": ".github/workflows/nightly.yaml", "contents": "\n\nname: \"Nightly\"\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n  workflow_dispatch:\n    \njobs:\n  Run-Unit-TEST-In-Cython:\n    runs-on: ubuntu-latest\n    services:\n      mysql:\n        image: dongtai/dongtai-mysql-unittest:latest\n        ports:\n          - 3306:3306\n        options: >-\n          --health-cmd \"mysqladmin ping --silent\"\n          --health-interval 10s\n          --health-timeout 180s\n          --health-retries 10\n      redis:\n        image: dongtai/dongtai-redis:latest\n        ports:\n          - 6379:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: ./.github/actions/setup-python\n      \n      - name: Install dependencies\n        run: pip install coverage\n          \n      - name: Django Unit Testing\n        run: |\n          export CELERY_EAGER_TEST=TRUE\n          cp dongtai_conf/conf/config.ini.test dongtai_conf/conf/config.ini\n          mkdir -p /tmp/logstash/report/{img,word,pdf,excel} && mkdir -p /tmp/iast_cache/package && mkdir -p /tmp/logstash/batchagent \n          python3 ./deploy/docker/version_update.py || true\n          python3 manage.py migrate\n          pip install Cython==3.0.0\n          python setup.py build_ext --inplace\n          find . -name \"*.so\"  | grep test | xargs rm\n          coverage run --source='.' manage.py test\n          coverage report\n\n  Run-API-TEST-With-Cython:\n    runs-on: ubuntu-latest\n    services:\n      mysql:\n        image: dongtai/dongtai-mysql-unittest:latest\n        ports:\n          - 3306:3306\n        options: >-\n          --health-cmd \"mysqladmin ping --silent\"\n          --health-interval 10s\n          --health-timeout 180s\n          --health-retries 10\n      redis:\n        image: dongtai/dongtai-redis:latest\n        ports:\n          - 6379:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: ./.github/actions/setup-python\n      \n      - name: Install dependencies\n        run: |\n          pip install schemathesis\n          pip install httpx\n          \n      - name: Django Api Testing\n        run: |\n          mysql --host=127.0.0.1 -uroot -p'dongtai-iast' -D dongtai_webapi < /home/runner/work/DongTai/DongTai/test/init.sql\n          cp dongtai_conf/conf/config.ini.test dongtai_conf/conf/config.ini\n          export DOC=TRUE\n          mkdir -p /tmp/logstash/report/{img,word,pdf,excel} && mkdir -p /tmp/iast_cache/package && mkdir -p /tmp/logstash/batchagent \n          python3 ./deploy/docker/version_update.py || true\n          python3 manage.py migrate\n          pip install Cython==3.0.0\n          python setup.py build_ext --inplace\n          python setup.py build_ext --inplace\n          python3 manage.py runserver 0.0.0.0:8000 > webapi.log &\n          sleep 15\n          schemathesis run --rate-limit=28/s --base-url \"http://localhost:8000/\"  -H 'Authorization: Token 67aebd78e700ad36a82a152276196b5f49fafeb0' http://localhost:8000/api/XZPcGFKoxYXScwGjQtJx8u/schema/  --hypothesis-suppress-health-check=data_too_large,filter_too_much,too_slow,large_base_example --validate-schema=false  --hypothesis-verbosity normal \n\n  Run-BuildCheck:\n    if: ${{ github.repository_owner == 'HXSecurity' }}\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [\"3.10\"]\n        arch: [\"linux/amd64\", \"linux/arm64\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      \n      - name: Build and push ${{ matrix.arch }}\n        uses: docker/build-push-action@v2\n        with:\n          file: Dockerfile\n          context: .\n          # push: True\n          platforms: ${{ matrix.arch }}\n          tags: | \n            registry.cn-hongkong.aliyuncs.com/secnium/dongtai-server-test:latest\n            registry.cn-hongkong.aliyuncs.com/secnium/dongtai-server-test:1.0.${{github.run_number}}\n", "state": "active", "repository": "hxsecurity/dongtai"}
{"mined_at": "2024-07-15T16:43:39.694274", "created_at": "2021-11-11T11:23:57+01:00", "updated_at": "2022-06-25T08:19:28+02:00", "name": "Community Notify", "path": ".github/workflows/community_notify.yml", "contents": "name: Community Notify\n\non:\n  issues:\n    types: [opened, edited, deleted, closed]\n  issue_comment:\n  discussion:\n    types: [opened, edited, deleted]\n  discussion_comment:\n\njobs:\n  issues:\n    name: Issue Created\n    if: ${{ github.event_name == 'issues' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: official notify\n        uses: joelwmale/webhook-action@master\n        with:\n          url: ${{ secrets.DONGTAI_WEBHOOK_URL }}\n          body: '{\"msg_type\":\"interactive\",\"card\": {\"header\": {\"title\": {\"tag\": \"plain_text\", \"content\": \"NOTIFY: issue ${{ github.event.issue.number }} ${{ github.event.action }}\"}},\"config\": {\"wide_screen_mode\": true,\"enable_forward\": true},\"elements\": [{\"tag\": \"div\",\"text\": {\"content\": \"**repository**: ${{ github.event.repository.name }}\\r\\n**issue title**: ${{ github.event.issue.title }}\\r\\n**issue body**: ${{ github.event.issue.body }}\\r\\n**issue link:** [open issue link](${{ github.event.issue.html_url }})\\r\\n**issue state**: ${{ github.event.issue.state }}\\r\\n**assignee:** ${{ github.event.issue.assignee }} \\r\\n**assignees:** ${{ github.event.issue.assignees }} \\r\\n**issue labels**: ${{ github.event.issue.labels }}\\r\\n**issue author:** ${{github.actor}} \\r\\n**created at:** ${{ github.event.issue.created_at }}\\r\\n**updated at:** ${{ github.event.issue.updated_at }}\\r\\n\",\"tag\": \"lark_md\"}}]}}'\n\n  issue_commented:\n    name: Issue comment\n    if: ${{ github.event_name == 'issue_comment' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: discussion comment notify\n        if: ${{ !github.event.issue.pull_request }}\n        uses: joelwmale/webhook-action@master\n        with:\n          url: ${{ secrets.DONGTAI_WEBHOOK_URL }}\n          body: '{\"msg_type\": \"interactive\",\"card\": {\"header\": {\"title\": {\"tag\": \"plain_text\", \"content\": \"NOTIFY: issue ${{ github.event.issue.number }} comment ${{ github.event.comment.number }} ${{ github.event.action }}\"}}, \"config\": {\"wide_screen_mode\": true,\"enable_forward\": true},\"elements\": [{\"tag\": \"div\",\"text\": {\"content\": \"**repository name**: ${{ github.event.repository.name }}\\n**issue title**: ${{ github.event.issue.title }}\\n**comment body**: ${{ github.event.comment.body }}\\n**issue comment link:** [open issue comment](${{ github.event.comment.html_url }})\\n**issue state**: ${{ github.event.issue.state }}\\n**assignee:** ${{ github.event.issue.assignee }} \\n**assignees:** ${{ github.event.issue.assignees }} \\n**issue labels**: ${{ github.event.issue.labels }}\\n**issue comment author:** ${{github.actor}}\\n**created at:** ${{ github.event.issue.created_at }}\\n**updated at:** ${{ github.event.issue.updated_at }}\",\"tag\": \"lark_md\"}}]}}'\n\n      - name: start-build\n        if: ${{ github.event.issue.pull_request }}\n        uses: joelwmale/webhook-action@master\n        with:\n          url: ${{ secrets.DONGTAI_WEBHOOK_URL }}\n          body: '{\"msg_type\": \"interactive\",\"card\": {\"config\": {\"wide_screen_mode\": true,\"enable_forward\": true},\"elements\": [{\"tag\": \"div\",\"text\": {\"content\": \"PR Comment\\r\\n触发事件：${{github.event_name}}\\r\\n提交人：${{github.actor}}\",\"tag\": \"lark_md\"}}]}}'\n\n  discussion:\n    name: Discussion Created\n    if: ${{ github.event_name == 'discussion' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: notify\n        uses: joelwmale/webhook-action@master\n        with:\n          url: ${{ secrets.DONGTAI_WEBHOOK_URL }}\n          body: '{\"msg_type\":\"interactive\",\"card\": {\"header\": {\"title\": {\"tag\": \"plain_text\", \"content\": \"NOTIFY: Discussion ${{ github.event.discussion.number }} ${{ github.event.action }}\"}},\"config\": {\"wide_screen_mode\": true,\"enable_forward\": true},\"elements\": [{\"tag\": \"div\",\"text\": {\"content\": \"**repository**: ${{ github.event.repository.full_name }}\\r\\n**title**: ${{ github.event.discussion.title }}\\r\\n**body**: ${{ github.event.discussion.body }}\\r\\n**category:** ${{ github.event.discussion.category.name }}\\r\\n**state**: ${{ github.event.discussion.state }}\\r\\n**author:** ${{github.actor}}\\r\\n**created at:** ${{ github.event.discussion.created_at }}\\r\\n**updated at:** ${{ github.event.discussion.updated_at }}\\r\\n\",\"tag\": \"lark_md\"}}]}}'\n\n  discussion_commented:\n    name: discussion commented notify\n    if: ${{ github.event_name == 'discussion_comment' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: notify\n        env:\n          LABELS: ${{ toJson(github.event.issue.labels) }}\n        uses: joelwmale/webhook-action@master\n        with:\n          url: ${{ secrets.DONGTAI_WEBHOOK_URL }}\n          body: '{\"msg_type\":\"interactive\",\"card\": {\"header\": {\"title\": {\"tag\": \"plain_text\", \"content\": \"NOTIFY: Discussion ${{ github.event.discussion.number }} comment ${{ github.event.action }}\"}},\"config\": {\"wide_screen_mode\": true,\"enable_forward\": true},\"elements\": [{\"tag\": \"div\",\"text\": {\"content\": \"**repository**: ${{ github.event.repository.full_name }}\\r\\n**category:** ${{ github.event.discussion.category.name }}\\r\\n**state**: ${{ github.event.discussion.state }}\\r\\n**title**: ${{ github.event.discussion.title }}\\r\\n**body**: ${{ github.event.discussion.body }}\\r\\n**comment**: ${{ github.event.comment.body }}\\r\\n**author:** ${{github.actor}}\\r\\n**created at:** ${{ github.event.discussion.created_at }}\\r\\n**updated at:** ${{ github.event.discussion.updated_at }}\\r\\n\",\"tag\": \"lark_md\"}}]}}'\n", "state": "disabled_manually", "repository": "hxsecurity/dongtai"}
{"mined_at": "2024-07-15T16:43:40.795355", "created_at": "2021-12-15T09:16:50+01:00", "updated_at": "2022-05-30T14:30:13+02:00", "name": "dtctl-unitest", "path": ".github/workflows/dtctl-unittest.yaml", "contents": "name: dtctl-unitest\non:\n  push:\n    branches: [ main ]\njobs:\n  build:\n    name: Build\n    runs-on: ${{ matrix.os }}\n    if: ${{ github.event_name == 'push' && github.repository_owner == 'HXSecurity' }}\n    strategy:\n      matrix:\n        os: [ ubuntu-20.04 ,ubuntu-18.04, ]\n    steps:\n      - name: Setup docker environments\n        run: |\n          sudo curl -fsSL get.docker.com | sh\n\n      - name: Setup BATS\n        uses: mig4/setup-bats@v1\n        with:\n          bats-version: 1.5.0\n  \n      - name: Checkout code\n        uses: actions/checkout@v1\n\n      - name: Download mysql data\n        run: |\n          wget https://huoqi-public.oss-cn-beijing.aliyuncs.com/iast/sql/data.zip -P ./deploy/docker-compose\n          unzip ./deploy/docker-compose/data.zip -d ./deploy/docker-compose\n\n      - name: Do unittest\n        working-directory: ./deploy/docker-compose\n        run: | \n          bats test/test_dtctl.bats \n", "state": "disabled_manually", "repository": "hxsecurity/dongtai"}
{"mined_at": "2024-07-15T16:43:43.833226", "created_at": "2020-03-30T21:20:26+02:00", "updated_at": "2021-05-14T23:58:00+02:00", "name": "CI", "path": ".github/workflows/CI.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"maintenance/.*\"\n  pull_request:\n    branches:\n      - \"main\"\n      - \"maintenance/.*\"\n  schedule:\n    # Nightly tests run on main by default:\n    #   Scheduled workflows run on the latest commit on the default or base branch.\n    #   (from https://help.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule)\n    - cron: \"0 0 * * *\"\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  test:\n    if: (github.event_name == 'schedule' && github.repository == 'openforcefield/openff-toolkit') || (github.event_name != 'schedule')\n    name: Test on ${{ matrix.os }}, Python ${{ matrix.python-version }}, RDKit=${{ matrix.rdkit }}, OpenEye=${{ matrix.openeye }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-12]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        rdkit: [true, false]\n        openeye: [true, false]\n        exclude:\n          - rdkit: false\n            openeye: false\n          - openeye: true\n            python-version: \"3.11\"\n          - openeye: true\n            python-version: \"3.12\"\n\n    env:\n      OE_LICENSE: ${{ github.workspace }}/oe_license.txt\n      PACKAGE: openff\n      PYTEST_ARGS: -r fE --tb=short -nauto\n      COV: --cov=openff/toolkit --cov-config=setup.cfg --cov-append --cov-report=xml\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Set environment variables\n        run: |\n          if [[ ${{ matrix.openeye }} == true && ${{ matrix.rdkit }} == true ]]; then\n              echo \"ENVFILE=test_env\" >> $GITHUB_ENV\n              echo \"JOBNAME=RDKit and OpenEye\" >> $GITHUB_ENV\n              echo \"TOOLKIT_CHECKS=RDKIT OPENEYE\" >> $GITHUB_ENV\n              echo \"PACKAGES_TO_REMOVE=\" >> $GITHUB_ENV\n          fi\n\n          if [[ ${{ matrix.openeye }} == true && ${{ matrix.rdkit }} == false ]]; then\n              echo \"ENVFILE=openeye\" >> $GITHUB_ENV\n              echo \"JOBNAME=OpenEye\" >> $GITHUB_ENV\n              echo \"TOOLKIT_CHECKS=OPENEYE\" >> $GITHUB_ENV\n              echo \"PACKAGES_TO_REMOVE=ambertools rdkit\" >> $GITHUB_ENV\n          fi\n\n          if [[ ${{ matrix.openeye }} == false && ${{ matrix.rdkit }} == true ]]; then\n              echo \"ENVFILE=rdkit\" >> $GITHUB_ENV\n              echo \"JOBNAME=RDKit\" >> $GITHUB_ENV\n              echo \"TOOLKIT_CHECKS=RDKIT\" >> $GITHUB_ENV\n              echo \"PACKAGES_TO_REMOVE=openeye-toolkits\" >> $GITHUB_ENV\n          fi\n\n      - name: Install environment with ${{ env.JOBNAME }}\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: devtools/conda-envs/${{ env.ENVFILE }}.yaml\n          create-args: >-\n            python=${{ matrix.python-version }}\n\n      - name: Make oe_license.txt file from GH org secret \"OE_LICENSE\"\n        env:\n          OE_LICENSE_TEXT: ${{ secrets.OE_LICENSE }}\n        run: echo \"${OE_LICENSE_TEXT}\" > ${OE_LICENSE}\n\n      - name: Install package\n        run: |\n          # While Interchange is being installed with pip, there is no need to\n          # force uninstall openff-toolkit-base since it's only pulled in when\n          # Interchange is installed with conda. Un-comment this when testing\n          # against a conda build of Interchange. (It may also be pulled down\n          # by `openmmforcefields` and should be removed in that case a well.)\n          micromamba remove --force openff-toolkit openff-toolkit-base\n          python -m pip install .\n\n      - name: Install test plugins\n        run: python -m pip install utilities/test_plugins\n\n      - name: Remove undesired toolkits\n        run: |\n          if [ ! -z \"${{ env.PACKAGES_TO_REMOVE }}\" ]; then\n            for cpkg in ${{ env.PACKAGES_TO_REMOVE }}; do\n              if [[ $(micromamba list | grep $cpkg) ]]; then micromamba remove --force $cpkg --yes ; fi\n            done\n          fi\n\n      - name: Remove NAGL if no RDKit\n        if: ${{ matrix.rdkit == false }}\n        run: micromamba remove --force openff-nagl-base --yes\n\n      - name: Check installed toolkits\n        run: |\n          for tk in ${{ env.TOOLKIT_CHECKS }}; do\n            python -c \"from openff.toolkit.utils.toolkits import ${tk}_AVAILABLE; assert ${tk}_AVAILABLE, '${tk} unavailable'\"\n          done\n\n      - name: Check uninstalled toolkits\n        run: |\n          if [ ! -z \"${{ env.PACKAGES_TO_REMOVE }}\" ]; then\n            for tk in ${{ env.PACKAGES_TO_REMOVE }}; do\n              TK=$(echo ${tk%-*} | tr 'a-z' 'A-Z')\n              python -c \"from openff.toolkit.utils.toolkits import ${TK}_AVAILABLE; assert not ${TK}_AVAILABLE, '${TK} available'\"\n            done\n          fi\n\n      - name: Environment Information\n        run: |\n          micromamba info\n          micromamba list\n\n      - name: Check links\n        if: ${{ matrix.rdkit == true && matrix.openeye == true }}\n        run: pytest -r fE --tb=short openff/toolkit/_tests/test_links.py\n\n      - name: Run mypy\n        # subtle differences in Python/mypy versions, just keep it passing on one\n        if: ${{ matrix.rdkit == true && matrix.openeye && matrix.python-version == 3.10 }}\n        run: mypy -p \"openff.toolkit\"\n\n      - name: Run unit tests\n        run: |\n          PYTEST_ARGS+=\" --ignore=openff/toolkit/_tests/test_examples.py\"\n          PYTEST_ARGS+=\" --ignore=openff/toolkit/_tests/test_links.py\"\n          if [[ \"$GITHUB_EVENT_NAME\" == \"schedule\" ]]; then\n            PYTEST_ARGS+=\" --runslow\"\n          fi\n\n          python -m pytest --durations=20 $PYTEST_ARGS $COV\n\n      - name: Run code snippets in docs\n        if: ${{ matrix.rdkit == true && matrix.openeye == true }}\n        run: pytest -v --no-cov --doctest-glob=\"docs/*.rst\" --doctest-glob=\"docs/*.md\" docs/\n\n      - name: Run notebooks in docs\n        if: ${{ matrix.rdkit == true && matrix.openeye == true }}\n        run: pytest -v --no-cov --nbval --ignore docs/_build/ docs/\n\n      - name: Run examples in docstrings\n        if: ${{ matrix.rdkit == true && matrix.openeye == true }}\n        run: |\n          pytest openff \\\n            -v -x -n logical --no-cov --doctest-modules \\\n            --ignore-glob='openff/toolkit/_tests*' \\\n            --ignore=openff/toolkit/data/ \\\n            --ignore=openff/toolkit/utils/utils.py\n\n      - name: Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          fail_ci_if_error: true\n", "state": "active", "repository": "openforcefield/openff-toolkit"}
{"mined_at": "2024-07-15T16:43:45.021504", "created_at": "2020-04-13T13:57:44+02:00", "updated_at": "2024-03-20T01:07:35+01:00", "name": "Conda latest", "path": ".github/workflows/conda.yml", "contents": "name: Conda latest\n\non:\n  release:\n    types:\n      - released\n      - prereleased\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  test:\n    name: Test on ${{ matrix.os }}, Python ${{ matrix.python-version }}, OpenEye=${{ matrix.openeye }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-12]\n        python-version: [\"3.10\"]\n        openeye: [\"true\", \"false\"]\n\n    env:\n      CI_OS: ${{ matrix.os }}\n      OPENEYE: ${{ matrix.openeye }}\n      PYVER: ${{ matrix.python-version }}\n      OE_LICENSE: ${{ github.workspace }}/oe_license.txt\n      PACKAGE: openff-toolkit\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Vanilla install from conda\n        uses: mamba-org/setup-micromamba@v1\n        if: ${{ matrix.openeye == 'false' }}\n        with:\n          environment-file: devtools/conda-envs/conda.yaml\n          create-args: >-\n            python=${{ matrix.python-version }}\n      - name: Install from conda with OpenEye\n        uses: mamba-org/setup-micromamba@v1\n        if: ${{ matrix.openeye == 'true' }}\n        with:\n          environment-file: devtools/conda-envs/conda_oe.yaml\n          create-args: >-\n            python=${{ matrix.python-version }}\n\n      - name: Additional info about the build\n        run: |\n          uname -a\n          df -h\n          ulimit -a\n\n      - name: Make oe_license.txt file from GH org secret \"OE_LICENSE\"\n        env:\n          OE_LICENSE_TEXT: ${{ secrets.OE_LICENSE }}\n        run: |\n          echo \"${OE_LICENSE_TEXT}\" > ${OE_LICENSE}\n\n      - name: Environment Information\n        run: |\n          conda info\n          conda list\n\n      - name: Check installed toolkits\n        run: |\n          # Checkout the state of the repo as of the last release (including RCs)\n          export LATEST_TAG=$(git ls-remote --tags https://github.com/openforcefield/openff-toolkit.git | cut -f2 | grep -E \"([0-9]+)\\.([0-9]+)\\.([0-9]+)$\" | sort --version-sort | tail -1 | sed 's/refs\\/tags\\///')\n          git fetch --tags\n          git checkout tags/$LATEST_TAG\n          git log -1 | cat\n\n          if [[ \"$OPENEYE\" == true ]]; then\n            python -c \"from openff.toolkit.utils.toolkits import OPENEYE_AVAILABLE; assert OPENEYE_AVAILABLE, 'OpenEye unavailable'\"\n          fi\n          if [[ \"$OPENEYE\" == false ]]; then\n            if [[ $(conda list | grep openeye-toolkits) ]]; then\n              micromamba remove --force openeye-toolkits --yes\n            fi\n            python -c \"from openff.toolkit.utils.toolkits import OPENEYE_AVAILABLE; assert not OPENEYE_AVAILABLE, 'OpenEye unexpectedly found'\"\n          fi\n\n      - name: Check that correct OFFTK version was installed\n        run: |\n          # Go up one directory to ensure that we don't just load the OFFTK from the checked-out repo\n          cd ../\n\n          export LATEST_TAG=$(git ls-remote --tags https://github.com/openforcefield/openff-toolkit.git | cut -f2 | grep -E \"([0-9]+)\\.([0-9]+)\\.([0-9]+)$\" | sort --version-sort | tail -1 | sed 's/refs\\/tags\\///')\n          export FOUND_VER=$(python -c \"import openff.toolkit; print(openff.toolkit.__version__)\")\n\n          echo \"Latest tag is\"\n          echo $LATEST_TAG\n          echo \"Found version is\"\n          echo $FOUND_VER\n\n          if [[ $LATEST_TAG != $FOUND_VER ]];\n            then echo \"Version mismatch\"\n            exit 1\n          fi\n\n          cd openff-toolkit\n\n      - name: Test the package\n        run: |\n          python -m pip install utilities/test_plugins\n\n          pwd\n          ls\n\n          if [[ \"$OPENEYE\" == true ]]; then\n            python -c \"import openff.toolkit; print(openff.toolkit.__file__)\"\n            python -c \"import openeye; print(openeye.oechem.OEChemIsLicensed())\"\n          fi\n\n          PYTEST_ARGS=\" -r fE --tb=short --runslow openff/toolkit/_tests/conftest.py\"\n          PYTEST_ARGS+=\" --ignore=openff/toolkit/_tests/test_links.py\"\n          pytest $PYTEST_ARGS openff\n\n      - name: Run example scripts\n        run: |\n          pytest $PYTEST_ARGS openff/toolkit/_tests/test_examples.py\n\n      - name: Run example notebooks\n        run: |\n          python -m pytest -r fE -v -x --tb=short --nbval-lax --ignore=examples/deprecated examples", "state": "active", "repository": "openforcefield/openff-toolkit"}
{"mined_at": "2024-07-15T16:43:46.143797", "created_at": "2020-08-10T18:17:07+02:00", "updated_at": "2020-08-10T18:17:07+02:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non:\n  push:\n\njobs:\n\n  lint:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Install linters\n        run: |\n          pip install black isort\n\n      - name: Run black\n        run: |\n          black --check openff\n\n      - name: Run isort\n        run: |\n          isort --check openff\n", "state": "active", "repository": "openforcefield/openff-toolkit"}
{"mined_at": "2024-07-15T16:43:47.155761", "created_at": "2020-09-01T17:33:08+02:00", "updated_at": "2022-08-03T22:30:02+02:00", "name": "Make single-file installers", "path": ".github/workflows/installer.yml", "contents": "name: Make single-file installers\n\non:\n  workflow_dispatch:\n\njobs:\n  test:\n    name: Building single file installer on ${{ matrix.cfg.os }}, Python ${{ matrix.python-version }}\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macOS-12, ubuntu-latest]\n        python-version: [\"3.10\", \"3.11\"]\n\n    env:\n      CI_OS: ${{ matrix.os }}\n      PYVER: ${{ matrix.python-version }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Install conda environment\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-file: devtools/conda-envs/installer.yaml\n        create-args: >-\n          python=${{ matrix.python-version }}\n\n    - name: Additional info about the build\n      shell: bash\n      run: |\n        uname -a\n        df -h\n        ulimit -a\n\n    - name: Environment Information\n      shell: bash -l {0}\n      run: |\n        conda info\n        conda list\n\n    - name: Prepare and run the constructor\n      shell: bash -l {0}\n      run: |\n        #cd ..\n\n        # Find the tag of the last release (excluding RCs)\n        # TODO: Make this a variable that can be passed through from trigger and/or allow RC\n        export LATEST_TAG=$(git ls-remote --tags https://github.com/openforcefield/openff-toolkit.git | cut -f2 | grep -E \"([0-9]+)\\.([0-9]+)\\.([0-9]+)$\" | sort --version-sort | tail -1 | sed 's/refs\\/tags\\///')\n\n        echo $LATEST_TAG\n\n        git clone https://github.com/openforcefield/toolkit-installer-constructor\n        cd toolkit-installer-constructor\n\n        python ../devtools/scripts/build_cookiecutter_json.py $LATEST_TAG $PYVER $CI_OS\n        cp new_cookiecutter.json cookiecutter/cookiecutter.json\n\n        cat new_cookiecutter.json\n\n        python run.py\n\n        pwd\n        ls\n        ls build\n\n    - name: Upload installer as artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: ${{ matrix.os }}_py${{ matrix.python-version }}.sh\n        path: toolkit-installer-constructor/build/openff-toolkit*/openff-toolkit*.sh\n\n    - name: Install from installer\n      shell: bash -l {0}\n      run: |\n        #cd ..\n        pwd\n        ls\n        ls toolkit-installer-constructor\n        ls toolkit-installer-constructor/build\n        ls toolkit-installer-constructor/build/openff-toolkit-*/\n\n        mkdir scratch\n        cd scratch\n        echo $HOME/constructor_install/ | bash ../toolkit-installer-constructor/build/openff-toolkit-*/openff-toolkit-*.sh\n\n        conda activate $HOME/constructor_install/\n        conda info\n        conda list\n\n        export FOUND_VER=$(python -c \"import openff.toolkit; print(openff.toolkit.__version__)\")\n        export LATEST_TAG=$(git ls-remote --tags https://github.com/openforcefield/openff-toolkit.git | cut -f2 | grep -v \"rc\" | tail -1 | sed 's/refs\\/tags\\///')\n\n        echo $LATEST_TAG\n        echo $FOUND_VER\n\n        if [[ $LATEST_TAG != $FOUND_VER ]];\n          then echo \"Version mismatch\"\n          exit 1\n        fi\n\n        PYTEST_ARGS=\" -r fE --tb=short\"\n        PYTEST_ARGS+=\" --ignore=openff/toolkit/_tests/test_links.py\"\n\n        # This should work if run directly at release time, but a safer approach would be\n        # to `git checkout` the corresponding tag of the release, see PR #577\n        pytest $PYTEST_ARGS ../\n\n", "state": "active", "repository": "openforcefield/openff-toolkit"}
{"mined_at": "2024-07-15T16:43:48.127745", "created_at": "2020-12-01T00:46:07+01:00", "updated_at": "2021-04-24T01:22:06+02:00", "name": "Examples", "path": ".github/workflows/examples.yml", "contents": "name: Examples\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"maintenance/.+\"\n  pull_request:\n    branches:\n      - \"main\"\n      - \"maintenance/.+\"\n  schedule:\n    - cron: \"0 0 * * *\"\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  test:\n    if: (github.event_name == 'schedule' && github.repository == 'openforcefield/openff-toolkit') || (github.event_name != 'schedule')\n    name: ${{ matrix.os }}, Python ${{ matrix.python-version }}, RDKit=${{ matrix.rdkit }}, OpenEye=${{ matrix.openeye }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-12]\n        python-version: [\"3.10\"]\n        rdkit: [true, false]\n        openeye: [true, false]\n        exclude:\n          - rdkit: false\n            openeye: false\n          - rdkit: true\n            openeye: true\n\n    env:\n      OE_LICENSE: ${{ github.workspace }}/oe_license.txt\n      PACKAGE: openff\n      PYTEST_ARGS: -r fE -v -x --tb=short -nauto\n      NB_ARGS: --nbval-lax --dist loadscope --ignore=examples/deprecated\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Set environment variables\n        run: |\n          if [[ ${{ matrix.openeye }} == true && ${{ matrix.rdkit }} == false ]]; then\n              echo \"ENVFILE=openeye\" >> $GITHUB_ENV\n              echo \"TOOLKIT_CHECKS=OPENEYE\" >> $GITHUB_ENV\n              echo \"PACKAGES_TO_REMOVE=ambertools rdkit\" >> $GITHUB_ENV\n          fi\n\n          if [[ ${{ matrix.openeye }} == false && ${{ matrix.rdkit }} == true ]]; then\n              echo \"ENVFILE=rdkit\" >> $GITHUB_ENV\n              echo \"TOOLKIT_CHECKS=RDKIT\" >> $GITHUB_ENV\n              echo \"PACKAGES_TO_REMOVE=openeye-toolkits\" >> $GITHUB_ENV\n          fi\n\n      - name: Install conda environment with ${{ env.ENVFILE }}\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: devtools/conda-envs/${{env.ENVFILE}}-examples.yaml\n          create-args: >-\n            python=${{ matrix.python-version }}\n\n      - name: Additional info about the build\n        run: |\n          uname -a\n          df -h\n          ulimit -a\n\n      - name: Make oe_license.txt file from GH org secret \"OE_LICENSE\"\n        env:\n          OE_LICENSE_TEXT: ${{ secrets.OE_LICENSE }}\n        run: |\n          echo \"${OE_LICENSE_TEXT}\" > ${OE_LICENSE}\n\n      - name: Install package\n        run: |\n          # Maybe remove the packaged openff-toolkit, installed as a dependency of openmmforcefields\n          # and/or Interchange\n          micromamba remove --force openff-toolkit-base\n          python -m pip install .\n\n      - name: Remove undesired toolkits\n        run: |\n          # If openmmforcefields is included in either environment file,\n          # remove RDKit and AmberTools brought in by it. Currently it's not included,\n          # so don't remove it.\n          if [ ! -z \"${{ env.PACKAGES_TO_REMOVE }}\" ]; then\n            for cpkg in ${{ env.PACKAGES_TO_REMOVE }}; do\n              if [[ $(conda list | grep $cpkg) ]]; then micromamba remove --force $cpkg --yes ; fi\n            done\n          fi\n\n      - name: Reinstall ParmEd\n        if: ${{ matrix.rdkit == false }}\n        run: |\n          micromamba remove --force parmed --yes\n          # See #1531, #1532, eventually this should work with 4 or 3 and 4\n          micromamba install \"parmed =3\" -c conda-forge -yq\n          # Needed for other examples to run, but were removed incidentally alongside AmberTools\n          micromamba install h5py -c conda-forge -yq\n\n      - name: Check installed toolkits\n        run: |\n          for tk in ${{ env.TOOLKIT_CHECKS }}; do\n            python -c \"from openff.toolkit.utils.toolkits import ${tk}_AVAILABLE; assert ${tk}_AVAILABLE, '${tk} unavailable'\"\n          done\n\n      - name: Check uninstalled toolkits\n        run: |\n          if [ ! -z \"${{ env.PACKAGES_TO_REMOVE }}\" ]; then\n            for tk in ${{ env.PACKAGES_TO_REMOVE }}; do\n              TK=$(echo ${tk%-*} | tr 'a-z' 'A-Z')\n              python -c \"from openff.toolkit.utils.toolkits import ${TK}_AVAILABLE; assert not ${TK}_AVAILABLE, '${TK} available'\"\n            done\n          fi\n      - name: Environment Information\n        run: |\n          conda info\n          conda list\n\n      - name: Run example scripts\n        run: |\n          if [[ ${{ matrix.rdkit }} == false ]]; then\n            PYTEST_ARGS+=\" --ignore=examples/check_dataset_parameter_coverage\"\n            PYTEST_ARGS+=\" --ignore=examples/QCArchive_interface\"\n          fi\n          pytest $PYTEST_ARGS openff/toolkit/_tests/test_examples.py\n\n      - name: Run example notebooks\n        run: |\n          if [[ ${{ matrix.rdkit }} == false ]]; then\n            NB_ARGS+=\" --ignore=examples/QCArchive_interface\"\n            NB_ARGS+=\" --ignore=examples/visualization\"\n            NB_ARGS+=\" --ignore=examples/check_dataset_parameter_coverage\"\n            NB_ARGS+=\" --ignore=examples/conformer_energies\"\n            NB_ARGS+=\" --ignore=examples/using_smirnoff_in_amber_or_gromacs\"\n            NB_ARGS+=\" --ignore=examples/using_smirnoff_with_amber_protein_forcefield\"\n            NB_ARGS+=\" --ignore=examples/SMIRNOFF_simulation\"\n            NB_ARGS+=\" --ignore=examples/toolkit_showcase\"\n          fi\n\n          # GROMACS builds are not stable on macOS + GHA\n          if [[ ${{ matrix.os }} == macos-latest ]]; then\n            NB_ARGS+=\" --ignore=examples/using_smirnoff_in_amber_or_gromacs/\"\n          fi\n\n          python -m pytest $PYTEST_ARGS $NB_ARGS examples\n", "state": "active", "repository": "openforcefield/openff-toolkit"}
{"mined_at": "2024-07-15T16:43:49.203572", "created_at": "2021-05-21T00:56:38+02:00", "updated_at": "2021-05-21T00:56:38+02:00", "name": "Update latest tag", "path": ".github/workflows/release.yml", "contents": "name: Update latest tag\non:\n  workflow_dispatch:\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Update stable tag\n      uses: richardsimko/update-tag@v1\n      with:\n        tag_name: stable\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "openforcefield/openff-toolkit"}
{"mined_at": "2024-07-15T16:43:50.248141", "created_at": "2021-11-11T18:10:24+01:00", "updated_at": "2024-05-29T17:42:05+02:00", "name": "Tests against beta/RC builds", "path": ".github/workflows/beta_rc.yaml", "contents": "name: Tests against beta/RC builds\n\non:\n  schedule:\n    - cron: \"0 3 * * 0\"\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  test:\n    name: Test beta/RC builds on ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - macos-12\n        python-version:\n          - \"3.11\"\n\n    env:\n      OE_LICENSE: ${{ github.workspace }}/oe_license.txt\n      PYTEST_ARGS: -r fE --tb=short -nauto\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Install environment with ${{ env.JOBNAME }}\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: devtools/conda-envs/test_env.yaml\n          condarc: |\n            channels:\n              - conda-forge/label/openmm_rc\n              - conda-forge/label/mdtraj_rc\n              - openeye/label/rc\n              - openeye\n              - conda-forge\n          create-args: >-\n            python=${{ matrix.python-version }}\n\n      - name: Make oe_license.txt file from GH org secret \"OE_LICENSE\"\n        env:\n          OE_LICENSE_TEXT: ${{ secrets.OE_LICENSE }}\n        run: |\n          echo \"${OE_LICENSE_TEXT}\" > ${OE_LICENSE}\n\n      - name: Install package\n        run: |\n          micromamba remove --force openff-toolkit openff-toolkit-base\n          python -m pip install .\n\n      - name: Install test plugins\n        run: python -m pip install utilities/test_plugins\n\n      - name: Environment Information\n        run: micromamba info && micromamba list\n\n      - name: Check links\n        run: pytest -r fE --tb=short openff/toolkit/_tests/test_links.py\n\n      - name: Run mypy\n        run: mypy -p \"openff.toolkit\"\n\n      - name: Run unit tests\n        run: |\n          PYTEST_ARGS+=\" --ignore=openff/toolkit/_tests/test_examples.py\"\n          PYTEST_ARGS+=\" --ignore=openff/toolkit/_tests/test_links.py\"\n          PYTEST_ARGS+=\" --runslow\"\n          pytest $PYTEST_ARGS\n\n      - name: Run code snippets in docs\n        run: |\n          pytest -v --doctest-glob=\"docs/*.rst\" --doctest-glob=\"docs/*.md\" docs/\n", "state": "active", "repository": "openforcefield/openff-toolkit"}
{"mined_at": "2024-07-15T16:43:52.492810", "created_at": "2021-07-05T00:30:00+02:00", "updated_at": "2021-07-05T00:30:00+02:00", "name": "style", "path": ".github/workflows/style.yaml", "contents": "name: style\non:\n  push:\n    branches:\n      - main\n      - release**\n  pull_request:\n    branches:\n      - main\n      - release**\njobs:\n  mypy:\n    name: mypy\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v4.1.7\n      - name: Set up python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.12\"\n      - name: Cache dependencies\n        uses: actions/cache@v4.0.2\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/required.txt') }}-${{ hashFiles('requirements/datasets.txt') }}-${{ hashFiles('requirements/style.txt') }}-${{ hashFiles('requirements/tests.txt') }}\n      - name: Install pip dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          pip install -r requirements/required.txt -r requirements/datasets.txt -r requirements/style.txt -r requirements/tests.txt\n          pip cache purge\n      - name: List pip dependencies\n        run: pip list\n      - name: Run mypy checks\n        run: mypy .\n  ruff:\n    name: ruff\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v4.1.7\n      - name: Set up python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.12\"\n      - name: Cache dependencies\n        uses: actions/cache@v4.0.2\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/style.txt') }}\n      - name: Install pip dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          pip install -r requirements/style.txt\n          pip cache purge\n      - name: List pip dependencies\n        run: pip list\n      - name: Run ruff checks\n        run: |\n          ruff check --output-format=github --no-fix .\n          ruff format --diff\n  prettier:\n    name: prettier\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v4.1.7\n      - name: Set up nodejs\n        uses: actions/setup-node@v4.0.2\n        with:\n          node-version: \"20\"\n          cache: \"npm\"\n          cache-dependency-path: \"requirements/package-lock.json\"\n      - name: Installing prettier\n        run: |\n          npm install requirements/\n          npm cache clean --force\n      - name: List npm dependencies\n        run: npm ls --all\n      - name: Run prettier formatting\n        run: npx prettier . --check\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "microsoft/torchgeo"}
{"mined_at": "2024-07-15T16:43:53.629495", "created_at": "2021-07-05T00:30:00+02:00", "updated_at": "2021-07-05T00:30:00+02:00", "name": "tests", "path": ".github/workflows/tests.yaml", "contents": "name: tests\non:\n  push:\n    branches:\n      - main\n      - release**\n  pull_request:\n    branches:\n      - main\n      - release**\njobs:\n  latest:\n    name: latest\n    runs-on: ${{ matrix.os }}\n    env:\n      MPLBACKEND: Agg\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v4.1.7\n      - name: Set up python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache dependencies\n        uses: actions/cache@v4.0.2\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/required.txt') }}-${{ hashFiles('requirements/datasets.txt') }}-${{ hashFiles('requirements/tests.txt') }}\n        if: ${{ runner.os != 'macOS' }}\n      - name: Setup headless display for pyvista\n        uses: pyvista/setup-headless-display-action@v2\n      - name: Install apt dependencies (Linux)\n        run: |\n          sudo apt-get update\n          sudo apt-get install unrar\n        if: ${{ runner.os == 'Linux' }}\n      - name: Install brew dependencies (macOS)\n        run: brew install rar\n        if: ${{ runner.os == 'macOS' }}\n      - name: Install choco dependencies (Windows)\n        run: choco install 7zip\n        if: ${{ runner.os == 'Windows' }}\n      - name: Install pip dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          pip install -r requirements/required.txt -r requirements/datasets.txt -r requirements/tests.txt\n          pip cache purge\n      - name: List pip dependencies\n        run: pip list\n      - name: Run pytest checks\n        run: |\n          pytest --cov=torchgeo --cov-report=xml --durations=10\n          python3 -m torchgeo --help\n      - name: Report coverage\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n  minimum:\n    name: minimum\n    runs-on: ubuntu-latest\n    env:\n      MPLBACKEND: Agg\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v4.1.7\n      - name: Set up python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.10\"\n      - name: Cache dependencies\n        uses: actions/cache@v4.0.2\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/min-reqs.old') }}-${{ hashFiles('requirements/mins-cons.old') }}\n      - name: Setup headless display for pyvista\n        uses: pyvista/setup-headless-display-action@v2\n      - name: Install apt dependencies (Linux)\n        run: |\n          sudo apt-get update\n          sudo apt-get install unrar\n      - name: Install pip dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          pip install -r requirements/min-reqs.old -c requirements/min-cons.old\n          pip cache purge\n      - name: List pip dependencies\n        run: pip list\n      - name: Run pytest checks\n        run: |\n          pytest --cov=torchgeo --cov-report=xml --durations=10\n          python3 -m torchgeo --help\n      - name: Report coverage\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n  datasets:\n    name: datasets\n    runs-on: ubuntu-latest\n    env:\n      MPLBACKEND: Agg\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v4.1.7\n      - name: Set up python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.12\"\n      - name: Cache dependencies\n        uses: actions/cache@v4.0.2\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/required.txt') }}-${{ hashFiles('requirements/tests.txt') }}\n      - name: Install pip dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          pip install -r requirements/required.txt -r requirements/tests.txt\n          pip cache purge\n      - name: List pip dependencies\n        run: pip list\n      - name: Run pytest checks\n        run: |\n          pytest --cov=torchgeo --cov-report=xml --durations=10\n          python3 -m torchgeo --help\n      - name: Report coverage\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "microsoft/torchgeo"}
{"mined_at": "2024-07-15T16:43:54.677773", "created_at": "2021-08-25T18:19:35+02:00", "updated_at": "2021-08-25T18:19:35+02:00", "name": "release", "path": ".github/workflows/release.yaml", "contents": "name: release\non:\n  push:\n    branches:\n      - release**\n  pull_request:\n    branches:\n      - release**\njobs:\n  integration:\n    name: integration\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v4.1.7\n      - name: Set up python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.12\"\n      - name: Cache dependencies\n        uses: actions/cache@v4.0.2\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-integration\n      - name: Install pip dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          pip install .[datasets,tests]\n          pip cache purge\n      - name: List pip dependencies\n        run: pip list\n      - name: Run integration checks\n        run: |\n          pytest -m slow --durations=10\n          python -m torchgeo --help\n          torchgeo --help\n  notebooks:\n    name: notebooks\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v4.1.7\n      - name: Set up python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.12\"\n      - name: Cache dependencies\n        uses: actions/cache@v4.0.2\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-tutorials\n      - name: Install pip dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          pip install .[docs,tests] planetary_computer pystac\n          pip cache purge\n      - name: List pip dependencies\n        run: pip list\n      - name: Run notebook checks\n        run: pytest --nbmake --durations=10 docs/tutorials\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "microsoft/torchgeo"}
{"mined_at": "2024-07-15T16:43:55.704301", "created_at": "2021-12-24T23:34:41+01:00", "updated_at": "2021-12-28T00:03:14+01:00", "name": "labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"labeler\"\non:\n  - pull_request_target\njobs:\n  labeler:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v4.1.7\n      - name: Add label\n        uses: actions/labeler@v5.0.0\n        with:\n          sync-labels: true\n", "state": "active", "repository": "microsoft/torchgeo"}
{"mined_at": "2024-07-15T16:43:56.780754", "created_at": "2023-02-08T19:37:38+01:00", "updated_at": "2023-02-16T21:37:15+01:00", "name": "tutorials", "path": ".github/workflows/tutorials.yaml", "contents": "name: tutorials\non:\n  push:\n    branches:\n      - main\n    paths:\n      - docs/tutorials/**\n  pull_request:\n    branches:\n      - main\n    paths:\n      - docs/tutorials/**\njobs:\n  notebooks:\n    name: notebooks\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v4.1.7\n      - name: Set up python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.12\"\n      - name: Cache dependencies\n        uses: actions/cache@v4.0.2\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/required.txt') }}-${{ hashFiles('requirements/docs.txt') }}-${{ hashFiles('requirements/tests.txt') }}-tutorials\n      - name: Install pip dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          pip install -r requirements/required.txt -r requirements/docs.txt -r requirements/tests.txt planetary_computer pystac\n          pip cache purge\n      - name: List pip dependencies\n        run: pip list\n      - name: Run notebook checks\n        run: pytest --nbmake --durations=10 docs/tutorials\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "microsoft/torchgeo"}
{"mined_at": "2024-07-15T16:43:57.808743", "created_at": "2024-07-11T22:05:14+02:00", "updated_at": "2024-07-11T22:05:14+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "microsoft/torchgeo"}
{"mined_at": "2024-07-15T16:44:00.070341", "created_at": "2024-04-24T17:41:10+02:00", "updated_at": "2024-04-24T17:45:18+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\non:\n  workflow_dispatch:\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Run SSH command\n        env:\n          SSH_PRIVATE_KEY: ${{ secrets.AWS_PEM }}\n          HOST: ${{ secrets.AWS_HOST }}\n        run: |\n          echo $SSH_PRIVATE_KEY | ssh -i /dev/stdin -o StrictHostKeyChecking=no \"$HOST\" \"sh /data/services/restart_bioregistry.sh\"\n          mkdir -p ~/.ssh\n          echo \"$SSH_PRIVATE_KEY\" > ~/.ssh/id_rsa\n          chmod 600 ~/.ssh/id_rsa\n          ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no \"$HOST\" \"sh /data/services/restart_bioregistry.sh\"\n", "state": "active", "repository": "biopragmatics/bioregistry"}
{"mined_at": "2024-07-15T16:44:01.300826", "created_at": "2022-01-26T20:00:22+01:00", "updated_at": "2022-01-26T20:00:22+01:00", "name": "Build and Push to Dockerhub", "path": ".github/workflows/docker.yml", "contents": "name: Build and Push to Dockerhub\n\non:\n  workflow_dispatch:\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v2\n        with:\n          push: true\n          # See: https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md\n          platforms: linux/amd64,linux/arm64\n          tags: biopragmatics/bioregistry:latest\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "biopragmatics/bioregistry"}
{"mined_at": "2024-07-15T16:44:02.390774", "created_at": "2021-08-03T12:37:22+02:00", "updated_at": "2021-08-03T12:37:22+02:00", "name": "Health", "path": ".github/workflows/health.yml", "contents": "name: Health\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * 0\"\njobs:\n  providers:\n    name: Provider Check\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name != 'schedule' || github.repository == 'biopragmatics/bioregistry' }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Install the Bioregistry\n        run: pip install -e .[health]\n      - name: Run the provider checks\n        run: python -m bioregistry.health providers\n      - name: Commit files\n        run: |\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git commit --all -m \"🫀Health Report\"\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ github.ref }}\n          tags: true\n", "state": "active", "repository": "biopragmatics/bioregistry"}
{"mined_at": "2024-07-15T16:44:03.425831", "created_at": "2021-07-23T16:42:35+02:00", "updated_at": "2021-07-23T16:54:24+02:00", "name": "Register new prefix", "path": ".github/workflows/new_prefix_pr.yml", "contents": "name: \"Register new prefix\"\n\non:\n  workflow_dispatch:\n  issues:\n    types: [ opened ]\n\njobs:\n  register:\n    name: Register new prefix\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ 3.9 ]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: pip install -e .[gha]\n      - name: Update\n        id: update\n        run: python -m bioregistry.gh.new_prefix --github\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          branch-suffix: short-commit-hash\n          labels: New,Prefix\n          body: ${{ steps.update.outputs.BR_BODY }}\n          title: ${{ steps.update.outputs.BR_TITLE }}\n", "state": "active", "repository": "biopragmatics/bioregistry"}
{"mined_at": "2024-07-15T16:44:04.434405", "created_at": "2022-05-24T15:12:53+02:00", "updated_at": "2022-05-24T15:12:53+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  push:\n    tags:\n      - '*'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: marvinpinto/action-automatic-releases@v1.2.1\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          prerelease: false\n", "state": "active", "repository": "biopragmatics/bioregistry"}
{"mined_at": "2024-07-15T16:44:05.497573", "created_at": "2020-12-09T14:44:59+01:00", "updated_at": "2020-12-09T14:44:59+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  lint:\n    name: Lint\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.12\", \"3.8\" ]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip setuptools wheel\n          pip install tox\n      - name: Check manifest\n        run: tox -e manifest\n      - name: Check code quality with flake8\n        run: tox -e flake8\n      - name: Check package metadata with Pyroma\n        run: tox -e pyroma\n      - name: Check static typing with MyPy\n        run: tox -e mypy\n  docs:\n    name: Documentation\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.10\" ]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip setuptools wheel\n          pip install tox\n      - name: Check RST conformity with doc8\n        run: tox -e doc8\n      - name: Check docstring coverage\n        run: tox -e docstr-coverage\n      - name: Check documentation build with Sphinx\n        run: tox -e docs-test\n  tests:\n    name: Tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ ubuntu-latest, windows-latest ]\n        python-version: [ \"3.11\", \"3.8\" ]\n        pydantic: [ \"pydantic1\", \"pydantic2\" ]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip setuptools wheel\n          pip install tox\n      - name: Test with pytest\n        run:\n          tox -e py-${{ matrix.pydantic }}\n      - name: Doctests\n        run:\n          tox -e doctests\n      - name: Upload coverage report to codecov\n        uses: codecov/codecov-action@v1\n        if: success()\n        with:\n          file: coverage.xml\n", "state": "active", "repository": "biopragmatics/bioregistry"}
{"mined_at": "2024-07-15T16:44:06.625287", "created_at": "2020-12-12T20:46:37+01:00", "updated_at": "2022-01-26T20:43:21+01:00", "name": "Update Data", "path": ".github/workflows/update.yml", "contents": "name: Update Data\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * SAT\"\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name != 'schedule' || github.repository == 'biopragmatics/bioregistry' }}\n    steps:\n      - uses: actions/checkout@master\n        with:\n          persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token\n          fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          pip install \"tox<4.0.0\"\n\n      ############\n      #  UPDATE  #\n      ############\n      - name: Create local changes\n        id: update\n        run: |\n          tox -e update\n        env:\n          BIOPORTAL_API_KEY: ${{ secrets.BIOPORTAL_API_KEY }}\n          ECOPORTAL_API_KEY: ${{ secrets.ECOPORTAL_API_KEY }}\n          AGROPORTAL_API_KEY: ${{ secrets.AGROPORTAL_API_KEY }}\n          FAIRSHARING_LOGIN: ${{ secrets.FAIRSHARING_LOGIN }}\n          FAIRSHARING_PASSWORD: ${{ secrets.FAIRSHARING_PASSWORD }}\n          NDEX_USERNAME: ${{ secrets.NDEX_USERNAME }}\n          NDEX_PASSWORD: ${{ secrets.NDEX_PASSWORD }}\n      - name: Check environment\n        run: echo ${{ steps.update.outputs.BR_UPDATED }}\n      - name: Commit files\n        if: steps.update.outputs.BR_UPDATED == 'true'\n        run: |\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git commit --all -m \"📮 Automatically update\"\n      # Not sure if this should be here or not - what if it pushes something bad that needs to be reverted?\n      # - name: Push changes\n      #   if: steps.update.outputs.BR_UPDATED == 'true'\n      #   uses: ad-m/github-push-action@master\n      #   with:\n      #     github_token: ${{ secrets.GITHUB_TOKEN }}\n      #     branch: ${{ github.ref }}\n      #     tags: true\n      - name: Run tests, don't push to PyPI unless passing\n        if: steps.update.outputs.BR_UPDATED == 'true'\n        run: |\n          tox -e py\n\n      ##################\n      #  MARK RELEASE  #\n      ##################\n      - name: bump2version release\n        if: steps.update.outputs.BR_UPDATED == 'true'\n        run: |\n          tox -e bumpversion-release\n\n      ##########\n      #  PyPI  #\n      ##########\n      - name: Release to PyPI\n        if: steps.update.outputs.BR_UPDATED == 'true'\n        run: |\n          tox -e release\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      - name: bump2version patch\n        if: steps.update.outputs.BR_UPDATED == 'true'\n        run: |\n          tox -e bumpversion patch\n      - name: Push changes\n        if: steps.update.outputs.BR_UPDATED == 'true'\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ github.ref }}\n          tags: true\n\n      - name: Sleep to avoid race conditions\n        if: steps.update.outputs.BR_UPDATED == 'true'\n        run: |\n          sleep 300\n\n      ############\n      #  DOCKER  #\n      ############\n      - name: Set up QEMU\n        if: steps.update.outputs.BR_UPDATED == 'true'\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        if: steps.update.outputs.BR_UPDATED == 'true'\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        if: steps.update.outputs.BR_UPDATED == 'true'\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and push\n        if: steps.update.outputs.BR_UPDATED == 'true'\n        id: docker_build\n        uses: docker/build-push-action@v2\n        with:\n          push: true\n          # See: https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md\n          platforms: linux/amd64,linux/arm64\n          tags: biopragmatics/bioregistry:latest\n      - name: Image digest\n        if: steps.update.outputs.BR_UPDATED == 'true'\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "biopragmatics/bioregistry"}
{"mined_at": "2024-07-15T16:44:07.752546", "created_at": "2024-03-18T12:14:22+01:00", "updated_at": "2024-03-18T12:14:22+01:00", "name": "Send data to Prefix.cc", "path": ".github/workflows/update_prefix_cc.yml", "contents": "name: Send data to Prefix.cc\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"5 4 * * *\"  # run at 4:05 in the morning (cron format is minute hour day month day, check https://crontab.guru)\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n        with:\n          persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token\n          fetch-depth: 0 # otherwise, you will fail to push refs to dest repo\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.12\n\n      - name: Install dependencies\n        run: pip install tox tox-uv\n\n      - name: Send a prefix to Prefix.cc\n        run: tox -e send-prefixcc\n", "state": "active", "repository": "biopragmatics/bioregistry"}
{"mined_at": "2024-07-15T16:44:08.746609", "created_at": "2021-12-17T02:00:30+01:00", "updated_at": "2021-12-17T02:00:30+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "biopragmatics/bioregistry"}
{"mined_at": "2024-07-15T16:44:10.822234", "created_at": "2024-01-20T09:24:53+01:00", "updated_at": "2024-01-20T09:24:53+01:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\non:\n  workflow_dispatch:\n  push:\n    paths:\n      - 'mkdocs.yml'\n      - '_docs/**'\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n  build_docs:\n    if: ${{ (github.repository_owner == 'BottlecapDave' && (github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main')) == false }}\n    name: Build docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          sparse-checkout: |\n            _docs\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - run: echo \"cache_id=$(date --utc '+%V')\" >> $GITHUB_ENV\n      - uses: actions/cache@v3\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n      - run: pip install -r requirements.txt\n      - run: mkdocs build --strict \n  \n  deploy_docs:\n    if: ${{ github.repository_owner == 'BottlecapDave' && (github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main') }}\n    name: Deploy docs\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          sparse-checkout: |\n            _docs\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - run: echo \"cache_id=$(date --utc '+%V')\" >> $GITHUB_ENV\n      - uses: actions/cache@v3\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n      - run: pip install -r requirements.txt\n      - run: mkdocs gh-deploy --strict --force\n", "state": "active", "repository": "bottlecapdave/homeassistant-octopusenergy"}
{"mined_at": "2024-07-15T16:44:11.948349", "created_at": "2022-10-15T10:57:41+02:00", "updated_at": "2022-10-15T10:57:41+02:00", "name": "Close inactive issues", "path": ".github/workflows/issues.yml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"30 1 * * *\"\njobs:\n  close-issues:\n    if: ${{ github.repository_owner == 'BottlecapDave' }}\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v4\n        with:\n          days-before-issue-stale: 30\n          days-before-issue-close: 14\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue has become stale because it has been open for 30 days with no activity. If you still think it's an issue, please respond soon.\"\n          close-issue-message: \"This issue has been closed because it has been inactive for 14 days since being marked as stale. This is done to help keep on top of active issues. If you still think it's an issue, please respond to this issue\"\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          exempt-issue-labels: enhancement\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bottlecapdave/homeassistant-octopusenergy"}
{"mined_at": "2024-07-15T16:44:12.973080", "created_at": "2022-01-01T10:21:29+01:00", "updated_at": "2022-01-01T10:23:05+01:00", "name": "Main", "path": ".github/workflows/main.yml", "contents": "name: Main\non:\n  schedule:\n    - cron:  '0 1 * * *'\n  push:\n    branches:\n      - develop\n      - main\n    paths-ignore:\n      - 'mkdocs.yml'\n      - '_docs/**'\n  pull_request:\n    branches-ignore:\n      - main\n    paths-ignore:\n      - 'mkdocs.yml'\n      - '_docs/**'\njobs:\n  validate:\n    if: ${{ github.event_name != 'schedule' || github.repository_owner == 'BottlecapDave' }}\n    name: Validate\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: \"actions/checkout@v2\"\n      - uses: \"home-assistant/actions/hassfest@master\"\n      - name: HACS Action\n        uses: \"hacs/action@main\"\n        with:\n          category: \"integration\"\n  unit_tests:\n    if: ${{ github.event_name != 'schedule' || github.repository_owner == 'BottlecapDave' }}\n    name: Unit Tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: asdf_install\n        uses: asdf-vm/actions/install@v1\n      - name: Install Python modules\n        run: |\n          pip install -r requirements.test.txt\n      - name: Run unit tests\n        run: |\n          python -m pytest tests/unit\n  integration_tests:\n    # Tests are geared towards my account, so ignore for others\n    if: ${{ github.repository_owner == 'BottlecapDave' }}\n    name: Integration Tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: asdf_install\n        uses: asdf-vm/actions/install@v1\n      - name: Install Python modules\n        run: |\n          pip install -r requirements.test.txt\n      - name: Run integration tests\n        run: |\n          python -m pytest tests/integration\n        env:\n          API_KEY: ${{ secrets.OCTOPUS_ENERGY_API_TOKEN }}\n          GAS_MPRN: ${{ secrets.OCTOPUS_ENERGY_GAS_MPRN }}\n          GAS_SN: ${{ secrets.OCTOPUS_ENERGY_GAS_SN }}\n          ELECTRICITY_MPAN: ${{ secrets.OCTOPUS_ENERGY_ELECTRICITY_MPAN }}\n          ELECTRICITY_SN: ${{ secrets.OCTOPUS_ENERGY_ELECTRICITY_SN }}\n          ACCOUNT_ID: ${{ secrets.OCTOPUS_ENERGY_ACCOUNT_ID }}\n  release:\n    name: Release\n    if: ${{ github.repository_owner == 'BottlecapDave' && github.ref == 'refs/heads/main' }}\n    needs: \n    - validate\n    - unit_tests\n    - integration_tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: asdf_install\n        uses: asdf-vm/actions/install@v1\n      - name: Install dependencies\n        run: npm ci\n      - name: Release\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: npm run release\n      - name: Merge main into develop\n        uses: devmasx/merge-branch@master\n        with:\n          type: now\n          message: \"chore: Merged main into develop\"\n          from_branch: main\n          target_branch: develop\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bottlecapdave/homeassistant-octopusenergy"}
{"mined_at": "2024-07-15T16:44:13.990417", "created_at": "2023-12-09T08:44:55+01:00", "updated_at": "2023-12-09T08:44:55+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "bottlecapdave/homeassistant-octopusenergy"}
{"mined_at": "2024-07-15T16:44:16.083904", "created_at": "2023-04-20T19:37:22+02:00", "updated_at": "2023-05-01T17:54:42+02:00", "name": "Test schematic API", "path": ".github/workflows/api_test.yml", "contents": "# Built from:\n# https://github.com/Sage-Bionetworks/schematic/blob/develop/.github/workflows/test.yml\n\nname: Test schematic API\n\non:\n  workflow_dispatch:\n    inputs:\n      perform_benchmarking:\n        required: true\n        type: boolean\n        description: perform benchmarking test (True) or skip (False)\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    env:\n      POETRY_VERSION:  1.3.0\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n\n    steps:\n\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      #----------------------------------------------\n      #          install & configure poetry\n      #----------------------------------------------\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org \\\n            | python3 - --version ${{ env.POETRY_VERSION }};\n          poetry config virtualenvs.create true;\n          poetry config virtualenvs.in-project true;\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}\n\n      #----------------------------------------------\n      # install dependencies and root project\n      #----------------------------------------------\n      - name: Install dependencies and root project\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --all-extras\n\n      #----------------------------------------------\n      #              run API test suite\n      #----------------------------------------------\n      - name: Run all API tests\n        env:\n          SYNAPSE_ACCESS_TOKEN: ${{ secrets.SYNAPSE_ACCESS_TOKEN }}\n          SERVICE_ACCOUNT_CREDS: ${{ secrets.SERVICE_ACCOUNT_CREDS }}\n        if: ${{ inputs.perform_benchmarking }}\n        run: >\n          source .venv/bin/activate;\n          pytest -m \"schematic_api and not submission\"\n\n      - name: Run API tests + Exclude Benchmarks\n        env:\n          SYNAPSE_ACCESS_TOKEN: ${{ secrets.SYNAPSE_ACCESS_TOKEN }}\n          SERVICE_ACCOUNT_CREDS: ${{ secrets.SERVICE_ACCOUNT_CREDS }}\n        if: ${{ false == inputs.perform_benchmarking }}\n        run: >\n          source .venv/bin/activate;\n          pytest -m \"schematic_api and not submission and not rule_benchmark\"\n", "state": "active", "repository": "sage-bionetworks/schematic"}
{"mined_at": "2024-07-15T16:44:17.172558", "created_at": "2022-08-30T20:59:12+02:00", "updated_at": "2022-08-30T20:59:12+02:00", "name": "Build and publish container to Docker Hub", "path": ".github/workflows/docker.yml", "contents": "# This workflow builds and pushes the docker image using docker's v2 action\n# which requires explicitly setting up buildx and logging in\n\nname: Build and publish container to Docker Hub\n\non:\n  push:\n    tags: ['^v\\d+\\.\\d+\\.\\d+$']  # Match tags that resemble a version, but exclude minior releases. For example, v0.1.1-beta would not get included\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      DOCKER_ORG:  sagebionetworks\n      DOCKER_REPO: schematic\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: schematicbot\n          password: ${{ secrets.DOCKER_HUB_TOKEN }}\n      -\n        name: Compute short commit SHA ID\n        id: vars\n        run: echo \"::set-output name=sha_short::$(git rev-parse --short HEAD)\"\n      -\n        name: Build and push (tagged release)\n        uses: docker/build-push-action@v3\n        if: ${{ github.event_name == 'push' }}\n        with:\n          platforms: linux/amd64,linux/arm64\n          context: .\n          push: true\n          tags: |\n            ${{ env.DOCKER_ORG }}/${{ env.DOCKER_REPO }}:latest\n            ${{ env.DOCKER_ORG }}/${{ env.DOCKER_REPO }}:${{ github.ref_name }}\n            ${{ env.DOCKER_ORG }}/${{ env.DOCKER_REPO }}:commit-${{ steps.vars.outputs.sha_short }}\n      -\n        name: Build and push (manual release)\n        uses: docker/build-push-action@v3\n        if: ${{ github.event_name == 'workflow_dispatch' }}\n        with:\n          platforms: linux/amd64,linux/arm64\n          context: .\n          push: true\n          tags: |\n            ${{ env.DOCKER_ORG }}/${{ env.DOCKER_REPO }}:commit-${{ steps.vars.outputs.sha_short }}\n", "state": "active", "repository": "sage-bionetworks/schematic"}
{"mined_at": "2024-07-15T16:44:18.280253", "created_at": "2022-12-13T20:33:54+01:00", "updated_at": "2023-02-16T19:35:47+01:00", "name": "Create and publish a Docker image", "path": ".github/workflows/docker_build.yml", "contents": "# Taken from https://github.com/Sage-Bionetworks/data_curator/blob/schematic-rest-api/.github/workflows/docker_build.yml\n# Workflow derived from https://github.com/r-lib/actions/tree/master/examples\n# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help\n\nname: Create and publish a Docker image\n\non:\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n      - 'v[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+'\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_PATH: ghcr.io/${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n          \n      - name: Set env variable for version tag\n        run: echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n        with:\n          images: ${{ env.IMAGE_PATH }}\n          tags: |\n            type=ref,event=branch\n            type=ref,event=pr\n            type=semver,pattern={{raw}}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n        with:\n          file: schematic_api/Dockerfile\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            TAG=${{ env.RELEASE_VERSION }}\n            ", "state": "active", "repository": "sage-bionetworks/schematic"}
{"mined_at": "2024-07-15T16:44:19.305891", "created_at": "2022-10-10T18:38:12+02:00", "updated_at": "2022-11-10T21:06:43+01:00", "name": "pdoc", "path": ".github/workflows/pdoc.yml", "contents": "name: pdoc\n\n# build the documentation whenever there are new commits on main\non:\n  push:\n    branches:\n      - develop\n  workflow_dispatch:  # Allow manually triggering the workflow\n\n# security: restrict permissions for CI jobs.\npermissions:\n  contents: read\n\nconcurrency:\n  # cancel the current running workflow from the same branch, PR when a new workflow is triggered \n  # when the trigger is not a PR but a push, it will use the commit sha to generate the concurrency group\n  # {{ github.workflow }}: the workflow name is used to generate the concurrency group. This allows you to have more than one workflows\n  # {{ github.ref_type }}: the type of Git ref object created in the repository. Can be either branch or tag \n  # {{ github.event.pull_request.number}}: get PR number \n  # {{ github.sha }}: full commit sha \n  # credit: https://github.com/Sage-Bionetworks-Workflows/sagetasks/blob/main/.github/workflows/ci.yml\n  group: >-\n    ${{ github.workflow }}-${{ github.ref_type }}-\n    ${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      POETRY_VERSION:  1.3.0\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python     \n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n      \n      #----------------------------------------------\n      #          install & configure poetry         \n      #----------------------------------------------\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org \\\n            | python3 - --version ${{ env.POETRY_VERSION }};\n          poetry config virtualenvs.create true; \n          poetry config virtualenvs.in-project true; \n\n      #----------------------------------------------\n      #       load cached venv if cache exists      \n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}\n\n      #----------------------------------------------\n      # install dependencies and root project\n      #----------------------------------------------\n      - name: Install dependencies and root project\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --all-extras\n\n      # create documentation\n      - run: poetry add pdoc@13.0.0\n      - run: poetry show pdoc\n      - run: poetry run pdoc --docformat google -o docs/schematic schematic/manifest schematic/models schematic/schemas schematic/store schematic/utils schematic/visualization\n\n      - uses: actions/upload-pages-artifact@v1\n        with:\n          path: docs/schematic\n\n  # Deploy the artifact to GitHub pages.\n  # This is a separate job so that only actions/deploy-pages has the necessary permissions.\n  deploy:\n    needs: build\n    runs-on: ubuntu-latest\n    permissions:\n      pages: write\n      id-token: write\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    steps:\n      - id: deployment\n        uses: actions/deploy-pages@v1\n", "state": "active", "repository": "sage-bionetworks/schematic"}
{"mined_at": "2024-07-15T16:44:20.360626", "created_at": "2022-04-07T17:38:43+02:00", "updated_at": "2022-04-29T17:57:47+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Publish to PyPI\non:\n  push:\n    tags:\n      - 'v[1-9][0-9].[0-9]+.[0-9]+'\n    branches: [main]\n\njobs:\n  pypi_release:\n    runs-on: ubuntu-latest\n    env:\n      POETRY_VERSION:  1.3.0\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags')\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python     \n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      #----------------------------------------------\n      #          install & configure poetry\n      #----------------------------------------------\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org \\\n            | python3 - --version ${{ env.POETRY_VERSION }};\n          poetry config virtualenvs.create true;\n          poetry config virtualenvs.in-project true;\n\n      #----------------------------------------------\n      #       load cached venv if cache exists      \n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}\n\n      #----------------------------------------------\n      # install dependencies and root project\n      #----------------------------------------------\n      - name: Install dependencies and root project\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --all-extras\n        \n      #----------------------------------------------\n      #    get current pushed tag\n      #----------------------------------------------      \n      - name: Show GitHub ref\n        run: echo \"$GITHUB_REF\"\n\n      - name: Get current pushed tag\n        run:  |\n          echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n          echo ${{ env.RELEASE_VERSION }}\n          \n      #----------------------------------------------\n      #    override version tag \n      #----------------------------------------------      \n      - name: Override version tag\n        run: poetry run python3 override_version.py\n        shell: sh\n\n      #----------------------------------------------\n      #    publish to testpypi\n      #----------------------------------------------      \n      # - run: poetry config repositories.testpypi https://test.pypi.org/legacy/\n      # - run: poetry config pypi-token.testpypi ${{ secrets.TWINE_TEST_TOKEN }}\n      # - name: Publish package to test Pypi\n      #   run: poetry publish -vvvv --build -r testpypi\n\n      #----------------------------------------------\n      #    check tag\n      #----------------------------------------------      \n      - name: Check Tag\n        id: check-tag\n        run: |\n          if [[ ${{ github.event.ref }} =~ ^refs/tags/v[0-9]+\\.[0-9]+\\.[0-9]+$ ]]; then\n              echo ::set-output name=match::true\n          fi\n      #----------------------------------------------\n      #    publish to pypi\n      #----------------------------------------------  \n      - name: Publish package to Pypi\n        id: publish-to-pypi\n        if: steps.check-tag.outputs.match == 'true'\n        env:\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n          PYPI_USERNAME: __token__\n        run: |\n          poetry publish --build --username $PYPI_USERNAME --password $PYPI_TOKEN\n\n      #----------------------------------------------\n      #    post a message to slack\n      #----------------------------------------------  \n\n      - name: Post to a Slack channel\n        if: steps.publish-to-pypi.outcome == 'success'\n        id: slack\n        uses: slackapi/slack-github-action@v1.23.0\n        with:\n          # Slack channel id, channel name, or user id to post message.\n          # See also: https://api.slack.com/methods/chat.postMessage#channels\n          # You can pass in multiple channels to post to by providing a comma-delimited list of channel IDs.\n          # ibc-fair-data channel and data-curator-schematic channel\n          channel-id: 'C050YD75QRL,C01ANC02U59'\n          # For posting a simple plain text message\n          slack-message: \"Schematic has just been released. Check out new version: ${{ github.ref_name }}\"\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n", "state": "active", "repository": "sage-bionetworks/schematic"}
{"mined_at": "2024-07-15T16:44:21.368540", "created_at": "2024-04-17T21:03:28+02:00", "updated_at": "2024-04-17T21:03:28+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish2.yml", "contents": null, "state": "active", "repository": "sage-bionetworks/schematic"}
{"mined_at": "2024-07-15T16:44:22.379554", "created_at": "2024-06-25T17:50:36+02:00", "updated_at": "2024-06-25T17:50:36+02:00", "name": "Scan Git repo", "path": ".github/workflows/scan_repo.yml", "contents": null, "state": "active", "repository": "sage-bionetworks/schematic"}
{"mined_at": "2024-07-15T16:44:23.417589", "created_at": "2021-01-26T00:37:56+01:00", "updated_at": "2023-04-12T21:49:53+02:00", "name": "Test schematic", "path": ".github/workflows/test.yml", "contents": "# Built from:\n# https://docs.github.com/en/actions/guides/building-and-testing-python\n# https://github.com/Sage-Bionetworks/challengeutils/blob/master/.github/workflows/pythonapp.yml\n# https://github.com/snok/install-poetry#workflows-and-tips\n\nname: Test schematic\n\non:\n  push:\n    branches: ['main']\n  pull_request:\n    branches: ['*']\n  workflow_dispatch:  # Allow manually triggering the workflow\nconcurrency:\n  # cancel the current running workflow from the same branch, PR when a new workflow is triggered\n  # when the trigger is not a PR but a push, it will use the commit sha to generate the concurrency group\n  # {{ github.workflow }}: the workflow name is used to generate the concurrency group. This allows you to have more than one workflows\n  # {{ github.ref_type }}: the type of Git ref object created in the repository. Can be either branch or tag\n  # {{ github.event.pull_request.number}}: get PR number\n  # {{ github.sha }}: full commit sha\n  # credit: https://github.com/Sage-Bionetworks-Workflows/sagetasks/blob/main/.github/workflows/ci.yml\n  group: >-\n    ${{ github.workflow }}-${{ github.ref_type }}-\n    ${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\njobs:\n  test:\n    runs-on: ubuntu-22.04-4core-16GBRAM-150GBSSD\n    env:\n      POETRY_VERSION:  1.3.0\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n\n    steps:\n\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      #----------------------------------------------\n      #          install & configure poetry\n      #----------------------------------------------\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org \\\n            | python3 - --version ${{ env.POETRY_VERSION }};\n          poetry config virtualenvs.create true;\n          poetry config virtualenvs.in-project true;\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}\n\n      #----------------------------------------------\n      # install dependencies and root project\n      #----------------------------------------------\n      - name: Install dependencies and root project\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --all-extras\n\n      #----------------------------------------------\n      #             perform linting\n      #----------------------------------------------\n      # Disabled until we agree to turn it on\n      # - name: Lint with flake8\n      #   run: |\n      #     # stop the build if there are Python syntax errors or undefined names\n      #     flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n      #     # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n      #     flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n      #----------------------------------------------\n      #             check formatting\n      #----------------------------------------------\n      - name: Code formatting with black\n        run: |\n          # ran only on certain files for now\n          # add here when checked\n          poetry run black schematic tests schematic_api --check\n\n      #----------------------------------------------\n      #             type checking/enforcement\n      #----------------------------------------------\n      - name: Type checking with mypy\n        run: |\n          # ran only on certain files for now\n          # add here when checked\n          # poetry run mypy --install-types --non-interactive\n          # add here when enforced\n          poetry run mypy --disallow-untyped-defs --install-types --non-interactive schematic/schemas/ schematic/configuration/ schematic/exceptions.py schematic/help.py schematic/loader.py schematic/version.py schematic/visualization schematic/utils/\n\n      #----------------------------------------------\n      #             linting\n      #----------------------------------------------\n      - name: Lint with pylint\n        run: |\n          # ran only on certain files for now\n          # add here when checked\n          poetry run pylint schematic/visualization/* schematic/configuration/*.py schematic/exceptions.py schematic/help.py schematic/loader.py schematic/version.py schematic/utils/*.py schematic/schemas/*.py\n\n      #----------------------------------------------\n      #              run test suite\n      #----------------------------------------------\n      - name: Run tests\n        env:\n          SYNAPSE_ACCESS_TOKEN: ${{ secrets.SYNAPSE_ACCESS_TOKEN }}\n          SERVICE_ACCOUNT_CREDS: ${{ secrets.SERVICE_ACCOUNT_CREDS }}\n        run: >\n          source .venv/bin/activate;\n          pytest --durations=0 --cov-report=term --cov-report=html:htmlcov --cov=schematic/\n          -m \"not (google_credentials_needed or schematic_api or table_operations)\" --reruns 2 -n auto\n\n      - name: Upload pytest test results\n        uses: actions/upload-artifact@v2\n        with:\n          name: pytest-results-${{ matrix.python-version }}\n          path: htmlcov\n        # Use always() to always run this step to publish test results when there are test failures\n        if: ${{ always() }}\n", "state": "active", "repository": "sage-bionetworks/schematic"}
{"mined_at": "2024-07-15T16:44:25.945407", "created_at": "2023-06-27T10:46:44+02:00", "updated_at": "2023-06-27T10:57:57+02:00", "name": "Dependabot auto-merge", "path": ".github/workflows/automerge.yml", "contents": "name: Dependabot auto-merge\n\non: pull_request\n\npermissions:\n  contents: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: Enable auto-merge for Dependabot PRs\n        run: gh pr merge --auto --squash \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          # GitHub provides this variable in the CI env. You don't\n          # need to add anything to the secrets vault.\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bihealth/varfish-server"}
{"mined_at": "2024-07-15T16:44:27.287516", "created_at": "2021-03-08T14:19:08+01:00", "updated_at": "2023-07-03T13:24:02+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": null, "state": "active", "repository": "bihealth/varfish-server"}
{"mined_at": "2024-07-15T16:44:28.581497", "created_at": "2023-02-03T09:40:54+01:00", "updated_at": "2023-02-03T09:40:54+01:00", "name": "PR", "path": ".github/workflows/conventional-prs.yml", "contents": "name: PR\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - edited\n      - synchronize\n\njobs:\n  title-format:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v3.4.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          validateSingleCommit: true\n", "state": "active", "repository": "bihealth/varfish-server"}
{"mined_at": "2024-07-15T16:44:29.963636", "created_at": "2023-09-25T08:22:35+02:00", "updated_at": "2023-09-25T08:35:54+02:00", "name": "Dependencies report", "path": ".github/workflows/deps-report.yml", "contents": "\nname: Dependencies report\n\non:\n  pull_request:\n\njobs:\n  build:\n    name:  Dependencies report\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          lfs: true\n\n      - name: deps-report\n        uses: MeilleursAgents/deps-report@master\n        with:\n          file: Pipfile.lock\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bihealth/varfish-server"}
{"mined_at": "2024-07-15T16:44:31.442851", "created_at": "2023-07-01T16:08:38+02:00", "updated_at": "2023-07-01T17:37:29+02:00", "name": "Docker Build", "path": ".github/workflows/docker-build.yml", "contents": "# This workflow is run as part of CI to test that they run through.\n#\n# The images are pushed to `ghcr.io` for each PR and branch.  The ones for\n# the releases are pushed in `release-please.yml`.\nname: Docker Build\n\non:\n  push:\n    tags:\n      - 'v**'\n    branches:\n      - main\n      - berlin\n  pull_request:\n    branches:\n      - main\n      - berlin\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          lfs: true\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Write VERSION file for Python package\n        run: |\n          git describe --tags | tee VERSION\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: utils/docker/Dockerfile\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "bihealth/varfish-server"}
{"mined_at": "2024-07-15T16:44:32.802797", "created_at": "2023-06-27T10:57:57+02:00", "updated_at": "2023-06-27T10:57:57+02:00", "name": "Cleanup PR Images", "path": ".github/workflows/docker-cleanup-pr.yml", "contents": "name: Cleanup PR Images\n\non:\n  pull_request:\n    types:\n        - closed\n\njobs:\n  purge-image:\n    name: Delete PR images\n    runs-on: ubuntu-latest\n    steps:\n      - uses: bots-house/ghcr-delete-image-action@v1.1.0\n        with:\n          owner: bihealth\n          name: varfish-server\n          token: ${{ secrets.GITHUB_TOKEN }}\n          tag: pr-${{github.event.pull_request.number}}\n        continue-on-error: true\n", "state": "active", "repository": "bihealth/varfish-server"}
{"mined_at": "2024-07-15T16:44:34.059737", "created_at": "2023-06-27T10:57:57+02:00", "updated_at": "2023-06-27T10:57:57+02:00", "name": "Cleanup Untagged Images", "path": ".github/workflows/docker-cleanup-untagged.yml", "contents": "name: Cleanup Untagged Images\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * SUN\"\n\njobs:\n  delete-untagged-images:\n    name: Delete untagged images\n    runs-on: ubuntu-latest\n    steps:\n      - uses: bots-house/ghcr-delete-image-action@v1.1.0\n        with:\n          owner: bihealth\n          name: varfish-server\n          token: ${{ secrets.GITHUB_TOKEN }}\n          untagged-keep-latest: 3\n", "state": "active", "repository": "bihealth/varfish-server"}
{"mined_at": "2024-07-15T16:44:35.633225", "created_at": "2023-07-01T16:02:53+02:00", "updated_at": "2023-07-01T17:37:29+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  - push\n  - pull_request\n\njobs:\n  Python-Test:\n    runs-on: ubuntu-latest\n    services:\n      redis:\n        image: redis:latest\n        ports:\n          - 6379:6379\n\n      postgres:\n        image: postgres:14\n        env:\n          POSTGRES_DB: varfish_web\n          POSTGRES_USER: varfish_web\n          POSTGRES_PASSWORD: varfish_web\n          DATABASE_URL: postgres://varfish_web:varfish_web@postgres/varfish_web\n          CELERY_BROKER_URL: redis://redis:6379/0\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 10\n        ports:\n          - 5432:5432\n\n      # We launch a minio instance for testing.  Note that we use the bitnami\n      # image because of the issue lined out in this SO discussion:\n      #\n      # - https://stackoverflow.com/questions/64031598\n      minio:\n        image: bitnami/minio:latest\n        env:\n          MINIO_ROOT_USER: minioadmin\n          MINIO_ROOT_PASSWORD: minio-root-password\n        options: >-\n          --name=minio\n          --health-cmd \"curl http://localhost:9000/minio/health/live\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 10\n        ports:\n          - 9000:9000\n\n    env:\n      CELERY_BROKER_URL: redis://0.0.0.0:6379/0\n      DATABASE_URL: 'postgres://varfish_web:varfish_web@0.0.0.0/varfish_web'\n      POSTGRES_HOST: 0.0.0.0\n      POSTGRES_PORT: 5432\n      VARFISH_CASE_IMPORT_INTERNAL_STORAGE: |\n        {\n          \"bucket\": \"varfish-server-test\",\n          \"host\": \"minio\",\n          \"port\": 9000,\n          \"access_key\": \"varfish-server-test\",\n          \"secret_key\": \"varfish-server-test\"\n        }\n\n    steps:\n      - name: Perform minio client setup\n        run: |\n          set -x\n          # create host alias for minio\n          echo \"127.0.0.1 minio\" | sudo tee -a /etc/hosts\n          # install minio client and configure default alias\n          wget -O /usr/local/bin/mc https://dl.min.io/client/mc/release/linux-amd64/mc\n          chmod +x /usr/local/bin/mc\n          mc alias set minio/ http://minio:9000 minioadmin minio-root-password\n          # setup bucket and access key for tests\n          mc mb minio/varfish-server-test\n          mc admin user add minio varfish-server-test varfish-server-test\n          # write policy file for bucket access, add it to server, and associate with\n          # access key created above\n          cat >/tmp/policy.json <<\"EOF\"\n          {\n            \"Version\": \"2012-10-17\",\n            \"Statement\": [\n              {\n                \"Action\": [\n                      \"s3:DeleteObject\",\n                      \"s3:GetBucketLocation\",\n                      \"s3:GetObject\",\n                      \"s3:ListBucket\",\n                      \"s3:PutObject\"\n                  ],\n                \"Effect\": \"Allow\",\n                \"Resource\": [\n                  \"arn:aws:s3:::varfish-server-test/*\",\n                  \"arn:aws:s3:::varfish-server-test\"\n                ],\n                \"Sid\": \"BucketAccessForUser\"\n              }\n            ]\n          }\n          EOF\n          mc admin policy create minio varfish-server-test-policy /tmp/policy.json\n          mc admin policy attach minio varfish-server-test-policy --user varfish-server-test\n\n      - name: Install system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y build-essential zlib1g-dev libtiff5-dev libjpeg8-dev \\\n              libfreetype6-dev liblcms2-dev libwebp-dev libpq-dev graphviz-dev \\\n              libldap2-dev libsasl2-dev\n\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          lfs: true\n\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          # We need to fix the patch version here otherwise, snapshot tests\n          # with randomness will / may fail.\n          python-version: \"3.10.13\"\n\n      - name: Install pip and Pipenv\n        run: |\n          pip install -U pip pipenv\n\n      - name: Install project dependencies with pipenv\n        run: |\n          pipenv install --verbose --categories=packages,dev-packages,ldap-packages\n\n      - name: Download icons\n        run: pipenv run python manage.py geticons\n\n      - name: Run collectstatic\n        run: pipenv run python manage.py collectstatic --noinput\n\n      - name: Build Vue app as that can be tested via selenium.\n        run: |\n          npm ci --prefix varfish/vueapp\n          npm run build --prefix varfish/vueapp\n          nohup npm run serve --prefix varfish/vueapp &\n\n      - name: Setup environment with worker\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment.yaml\n          init-shell: bash\n          cache-environment: true\n          post-cleanup: 'all'\n\n      - name: Run tests\n        run: |\n          pipenv run coverage run --rcfile=.coveragerc manage.py test -v 2 --settings=config.settings.test\n          pipenv run coverage xml\n          pipenv run coverage report\n        # Important: use shell that was initialized by micromamba.\n        shell: bash -el {0}\n\n      - name: Upload Python coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          flags: python\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  Python-Lint:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          lfs: true\n\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install pip and Pipenv\n        run: |\n            pip install pip pipenv\n\n      - name: Install project dependencies with pipenv\n        run: |\n          pipenv install --categories=packages,dev-packages\n\n      - name: Check import order with isort\n        run: |\n          rm -rf src\n          pipenv run isort --force-sort-within-sections --profile=black --check .\n\n      - name: Check style with black\n        run: |\n          pipenv run black --check --line-length 100 .\n\n      - name: Run linting\n        run: |\n          pipenv run flake8\n\n  Node-Lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          lfs: true\n\n      - name: Install javascript dependencies\n        run: |\n          npm ci --prefix varfish/vueapp\n\n      - name: Run linting\n        run: |\n          make vue_lint\n\n\n  Node-Test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          lfs: true\n\n      - name: Install javascript dependencies\n        run: |\n          npm ci --prefix varfish/vueapp\n\n      - name: Run Vue app tests\n        run: |\n          make vue_test-coverage\n\n      - name: Upload nodejs coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          flags: nodejs\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "bihealth/varfish-server"}
{"mined_at": "2024-07-15T16:44:36.950857", "created_at": "2023-02-03T10:03:58+01:00", "updated_at": "2023-02-03T10:03:58+01:00", "name": "release-please", "path": ".github/workflows/release-please.yml", "contents": "on:\n  push:\n    branches:\n      - main\n\nname: release-please\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Create GitHub release\n        uses: GoogleCloudPlatform/release-please-action@v3\n        id: release\n        with:\n          release-type: python\n          package-name: varfish-server\n          token: ${{ secrets.BOT_TOKEN }}\n\n  build-publish:\n    runs-on: ubuntu-latest\n    needs: release\n    steps:\n\n      - name: Checkout repository\n        uses: actions/checkout@v2\n        if: ${{ steps.release.outputs.release_created }}\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v2\n        if: ${{ steps.release.outputs.release_created }}\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push Docker prerelease image\n        if: ${{ steps.release.outputs.release_created && github.event.release.prerelease }}\n        uses: docker/build-push-action@v3\n        with:\n          context: docker\n          push: true\n          # NB: no \"latest\" tag in contrast to true release\n          tags: \"ghcr.io/bihealth/varfish-server:${{ needs.release.outputs.tag_name_no_v }}\"\n\n      - name: Build and push Docker release image\n        if: ${{ steps.release.outputs.release_created && !github.event.release.prerelease }}\n        uses: docker/build-push-action@v3\n        with:\n          context: docker\n          push: true\n          tags: \"ghcr.io/bihealth/varfish-server:latest,ghcr.io/bihealth/varfish-server:${{ needs.release.outputs.tag_name_no_v }}\"\n", "state": "active", "repository": "bihealth/varfish-server"}
{"mined_at": "2024-07-15T16:44:38.254197", "created_at": "2024-07-15T06:18:02+02:00", "updated_at": "2024-07-15T06:18:02+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "bihealth/varfish-server"}
{"mined_at": "2024-07-15T16:44:39.579358", "created_at": "2023-09-22T13:55:05+02:00", "updated_at": "2023-09-22T13:55:05+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "bihealth/varfish-server"}
{"mined_at": "2024-07-15T16:44:41.952326", "created_at": "2021-05-19T17:59:08+02:00", "updated_at": "2024-03-09T00:26:28+01:00", "name": "Continuous Integration", "path": ".github/workflows/ci.yml", "contents": "name: Continuous Integration\n\non:\n  # Run every Monday at 00:00 UTC\n  schedule:\n    - cron: \"00 00 * * 1\"\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - \"**.md\"\n      - \"**.rst\"\n  pull_request:\n    branches:\n      - main\n    paths-ignore:\n      - \"**.md\"\n      - \"**.rst\"\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  lint:\n    needs: []\n    runs-on: ubuntu-latest\n    steps:\n    - name: \"Set up GitHub Actions\"\n      uses: actions/checkout@v4\n    - name: \"Set up Python\"\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n    - name: \"Install Python dependencies\"\n      run: |\n        python -m pip install --upgrade uv\n        uv pip install --system --upgrade black isort\n        uv pip list --system\n    - name: \"Check format\"\n      run: |\n        make check\n\n  test:\n    needs: [lint]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - name: \"Set up GitHub Actions\"\n      uses: actions/checkout@v4\n    - name: \"Set up Python ${{ matrix.python-version }}\"\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: \"Install Python dependencies\"\n      run: |\n        python -m pip install --upgrade uv\n        uv pip install --system --upgrade pip setuptools wheel\n        uv pip install --system \".[test]\"\n        uv pip list --system\n    - name: \"Test with pytest\"\n      run: |\n        make test\n", "state": "active", "repository": "madminer-tool/madminer"}
{"mined_at": "2024-07-15T16:44:42.979176", "created_at": "2021-06-15T00:02:17+02:00", "updated_at": "2021-06-15T00:09:43+02:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"docs/**\"\n      - \"madminer/**\"\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"docs/**\"\n      - \"madminer/**\"\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  build-docs:\n    needs: []\n    runs-on: ubuntu-latest\n    steps:\n    - name: \"Set up GitHub Actions\"\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: \"Set up Python\"\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n    - name: \"Install Python dependencies\"\n      run: |\n        python -m pip install --upgrade uv\n        uv pip install --system --upgrade pip setuptools wheel\n        uv pip install --system \".[docs]\"\n        uv pip list --system\n    - name: \"Build documentation\"\n      run: |\n        make docs\n", "state": "active", "repository": "madminer-tool/madminer"}
{"mined_at": "2024-07-15T16:44:44.062547", "created_at": "2021-05-25T16:50:29+02:00", "updated_at": "2021-05-25T16:50:29+02:00", "name": "Publish artifacts", "path": ".github/workflows/publish.yml", "contents": "name: Publish artifacts\n\non:\n  release:\n    ### NOTE:\n    ###\n    ### There are multiple types of release trigger events.\n    ### Ref: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#release\n    ###\n    ### Given that GitHub allows the creation of 'release'\n    ### and 'pre-release' publications to differentiate between\n    ### production and beta releases, the trigger type to use,\n    ### as it wraps them both, must be 'published'.\n    types: [published]\n\njobs:\n\n  package:\n    needs: []\n    runs-on: ubuntu-latest\n    steps:\n    - name: \"Set up GitHub Actions\"\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: \"Set up Python\"\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n    - name: \"Build Python package\"\n      run: |\n        pipx run build --installer uv\n    - name: \"Publish Python package\"\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        verify-metadata: true\n        print-hash: true\n", "state": "active", "repository": "madminer-tool/madminer"}
{"mined_at": "2024-07-15T16:44:45.105801", "created_at": "2024-07-15T06:41:25+02:00", "updated_at": "2024-07-15T06:41:25+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "madminer-tool/madminer"}
{"mined_at": "2024-07-15T16:44:47.278682", "created_at": "2023-03-10T17:08:22+01:00", "updated_at": "2023-03-10T17:08:22+01:00", "name": "autoupdate", "path": ".github/workflows/autoupdate.yml", "contents": "# Copyright 2023-2024 Broadcom\n# SPDX-License-Identifier: Apache-2.0\n\nname: autoupdate\non:\n  push: {}\njobs:\n  autoupdate:\n    name: autoupdate\n    runs-on: ubuntu-latest\n    steps:\n      - uses: docker://chinthakagodawita/autoupdate-action:v1\n        env:\n          GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n          DRY_RUN: \"false\"\n          PR_FILTER: \"auto_merge\"\n", "state": "active", "repository": "vmware/versatile-data-kit"}
{"mined_at": "2024-07-15T16:44:48.283107", "created_at": "2023-01-02T18:18:27+01:00", "updated_at": "2023-02-28T17:23:30+01:00", "name": "Codacy Security Scan", "path": ".github/workflows/codacy.yml", "contents": "# Copyright 2023-2024 Broadcom\n# SPDX-License-Identifier: Apache-2.0\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# This workflow checks out code, performs a Codacy security scan\n# and integrates the results with the\n# GitHub Advanced Security code scanning feature.  For more information on\n# the Codacy security scan action usage and parameters, see\n# https://github.com/codacy/codacy-analysis-cli-action.\n# For more information on Codacy Analysis CLI in general, see\n# https://github.com/codacy/codacy-analysis-cli.\n\nname: Codacy Security Scan\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '42 17 * * 1'\n\npermissions:\n  contents: read\n\njobs:\n  codacy-security-scan:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    name: Codacy Security Scan\n    runs-on: ubuntu-latest\n    steps:\n      # Checkout the repository to the GitHub Actions runner\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis\n      - name: Run Codacy Analysis CLI\n        uses: codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b\n        with:\n          # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository\n          # You can also omit the token and run the tools that support default configurations\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          verbose: true\n          output: results.sarif\n          format: sarif\n          # Adjust severity of non-security issues\n          gh-code-scanning-compat: true\n          # Force 0 exit code to allow SARIF file generation\n          # This will handover control about PR rejection to the GitHub side\n          max-allowed-issues: 2147483647\n\n      # Upload the SARIF file generated in the previous step\n      - name: Upload SARIF results file\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: results.sarif\n", "state": "disabled_manually", "repository": "vmware/versatile-data-kit"}
{"mined_at": "2024-07-15T16:44:49.427588", "created_at": "2023-03-09T09:54:20+01:00", "updated_at": "2023-03-09T09:54:20+01:00", "name": "Auto approve", "path": ".github/workflows/dependabot.autoapprove.yml", "contents": "# Copyright 2023-2024 Broadcom\n# SPDX-License-Identifier: Apache-2.0\n\nname: Auto approve\non: pull_request_target\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    if: github.actor == 'dependabot[bot]'\n    steps:\n      - uses: hmarr/auto-approve-action@v3\n", "state": "active", "repository": "vmware/versatile-data-kit"}
{"mined_at": "2024-07-15T16:44:50.493916", "created_at": "2023-03-08T14:41:35+01:00", "updated_at": "2023-03-09T09:54:20+01:00", "name": "automerge", "path": ".github/workflows/dependabot.automerge.yml", "contents": "# Copyright 2023-2024 Broadcom\n# SPDX-License-Identifier: Apache-2.0\n\nname: automerge\non:\n  pull_request:\n    types:\n      - labeled\n      - unlabeled\n      - synchronize\n      - opened\n      - edited\n      - ready_for_review\n      - reopened\n      - unlocked\n  pull_request_review:\n    types:\n      - submitted\n  check_suite:\n    types:\n      - completed\n  status: {}\njobs:\n  automerge:\n    runs-on: ubuntu-latest\n    steps:\n      - id: automerge\n        name: automerge\n        uses: \"pascalgn/automerge-action@v0.15.6\"\n        env:\n          GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n          MERGE_METHOD: \"rebase\"\n          MERGE_LABELS: \"dependencies\"\n          UPDATE_METHOD: \"rebase\"\n          UPDATE_LABELS: \"dependencies\"\n", "state": "active", "repository": "vmware/versatile-data-kit"}
{"mined_at": "2024-07-15T16:44:51.672715", "created_at": "2022-08-23T22:15:47+02:00", "updated_at": "2022-08-25T15:56:26+02:00", "name": "Google Java Format", "path": ".github/workflows/format.yml", "contents": "# Copyright 2023-2024 Broadcom\n# SPDX-License-Identifier: Apache-2.0\n\nname: Google Java Format\n\non:\n  push:\n    branches: [ \"**\" ]\n\njobs:\n\n  formatting:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2 # v2 minimum required\n      - uses: axel-op/googlejavaformat-action@v3\n        with:\n          args: \"--skip-sorting-imports --replace\"\n", "state": "active", "repository": "vmware/versatile-data-kit"}
{"mined_at": "2024-07-15T16:44:52.704801", "created_at": "2023-06-15T17:52:51+02:00", "updated_at": "2023-06-15T17:52:51+02:00", "name": "PR Title Checker", "path": ".github/workflows/pr-title-checker.yml", "contents": "# Copyright 2023-2024 Broadcom\n# SPDX-License-Identifier: Apache-2.0\n\nname: \"PR Title Checker\"\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n      - labeled\n      - unlabeled\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: thehanimo/pr-title-checker@v1.4.0\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          pass_on_octokit_error: false\n          configuration_path: .github/pr-title-checker-config.json\n", "state": "active", "repository": "vmware/versatile-data-kit"}
{"mined_at": "2024-07-15T16:44:54.819724", "created_at": "2020-01-07T20:22:54+01:00", "updated_at": "2020-01-07T20:22:54+01:00", "name": "", "path": "", "contents": null, "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:44:55.828738", "created_at": "2023-05-26T11:44:50+02:00", "updated_at": "2023-05-26T11:44:50+02:00", "name": "API-tests", "path": ".github/workflows/apiTests.yml", "contents": null, "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:44:56.901274", "created_at": "2022-03-15T12:41:25+01:00", "updated_at": "2022-03-15T12:41:25+01:00", "name": "Bump dependencies", "path": ".github/workflows/bump-dependencies.yml", "contents": "name: Bump dependencies\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 8 * * 1' # At 08:00 on Monday.\n\njobs:\n  bump-dependencies:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.9'\n\n      - run: python -m pip install poetry pre-commit\n      - run: poetry lock\n      - run: pre-commit autoupdate\n      - run: git status\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672\n        with:\n          token: ${{ secrets.TRIGGER_WORKFLOW_KEY }}\n          branch: bump-dependencies\n          delete-branch: true\n          commit-message: Bump dependencies\n          title: 'Bump dependencies'\n          body: |\n            Weekly update of backend dependencies.\n          labels: |\n            :robot: bot\n            test deployment\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:44:57.927117", "created_at": "2022-11-14T13:04:21+01:00", "updated_at": "2023-10-11T15:40:25+02:00", "name": "Changelog check", "path": ".github/workflows/changelog-check.yml", "contents": "name: \"Changelog check\"\non:\n  pull_request:\n    branches:\n      - 'main'\n    # The specific activity types are listed here to include \"labeled\" and \"unlabeled\"\n    # (which are not included by default for the \"pull_request\" trigger).\n    # This is needed to allow skipping enforcement of the changelog in PRs with specific labels,\n    # as defined in the (optional) \"skipLabels\" property.\n    types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]\n\n\njobs:\n  # Enforces the update of a changelog file on every pull request\n  changelog:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: dangoslen/changelog-enforcer@83e1e992a730c447cca6e9ecf8e7b21cb9a7463e\n      with:\n        skipLabels: \"skip changelog,dependencies,bot\"\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:44:58.947428", "created_at": "2020-08-19T13:16:24+02:00", "updated_at": "2023-10-11T15:40:25+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  schedule:\n    - cron: '0 3 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: python\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:python\"\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:00.032798", "created_at": "2024-01-22T11:58:46+01:00", "updated_at": "2024-01-25T12:39:24+01:00", "name": "e2e suite", "path": ".github/workflows/e2e.yml", "contents": "name: e2e suite\n\non:\n  workflow_dispatch:\n  schedule:\n    # At 2:00 AM UTC on Monday, Wednesday, and Friday\n    - cron: \"00 2 * * 1,3,5\"\n  pull_request:\n    types: [opened, synchronize, reopened]\n    paths:\n      - \"**.py\"\n      - Dockerfile\n      - \"saleor/**\"\n      - \".github/workflows/e2e.yml\"\n      - pyproject.toml\n      - poetry.lock\n\nenv:\n  DATABASE_URL: \"postgres://saleor:saleor@postgres:5432/saleor\"\n  SECRET_KEY: ci-test\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    container: python:3.9\n\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: saleor\n          POSTGRES_USER: saleor\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install system dependencies\n        run: |\n          apt-get install -y libpq-dev\n\n      - name: Install and configure poetry\n        run: |\n          pip install poetry==1.7.0\n\n      - name: Cache the venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pypoetry/virtualenvs\n          key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        run: |\n          poetry env use python3.9\n          poetry install --no-root\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n\n      - name: Add Python Virtual Environment to PATH\n        run: |\n          # Note: requires `poetry env use` to be ran, otherwise poetry\n          # may not be able to find which virtual environment is in use.\n          # Ticket: https://github.com/python-poetry/poetry/issues/7190\n          echo \"$(poetry env info -p)\"/bin >> $GITHUB_PATH\n\n      - name: Run E2E tests\n        run: |\n          pytest -m \"e2e\" --junit-xml=e2e-test-results.xml\n      - name: Surface failing tests\n        if: always()\n        uses: pmeier/pytest-results-action@4c22f3314dfc484aaad53353d3dd8dddf5de6b46 # v0.5.0\n        with:\n          path: e2e-test-results.xml\n          summary: true\n          display-options: fEX\n          fail-on-empty: true\n          title: E2E core test results\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:01.170717", "created_at": "2022-07-19T10:36:50+02:00", "updated_at": "2022-07-19T10:36:50+02:00", "name": "GraphQL Inspector", "path": ".github/workflows/graphql-inspector.yml", "contents": "name: GraphQL Inspector\n\non:\n  push:\n    paths: [ \"**.graphql\" ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: kamilkisiela/graphql-inspector@v3.4.0\n        with:\n          schema: \"main:saleor/graphql/schema.graphql\"\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:02.223529", "created_at": "2023-10-17T14:35:45+02:00", "updated_at": "2023-10-17T14:35:45+02:00", "name": "Migration performance test required", "path": ".github/workflows/migrations-perf-test-check.yml", "contents": "name: \"Migration performance test required\"\non:\n  pull_request:\n    branches:\n      - \"main\"\n    paths:\n      - \"**/migrations/**\"\n    types: [labeled, unlabeled, opened, closed]\n\njobs:\n  # Contributors of Saleor sometimes forget about executing migrations performance\n  # tests on PRs. This job is enforcing decision what to do. The decision is made by\n  # adding/removing the label to the PR. One of the label is required.\n  # Available labels:\n  # - skip migrations perf test - whenever migrations don't require performance\n  #   tests(e.g. when migrations are run in celery tasks)\n  # - migrations perf test - whenever migrations require performance tests\n  changelog:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Check if the decision about migrations perf test was made\n        if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip migrations perf test') && !contains(github.event.pull_request.labels.*.name, 'migrations perf test') }}\n        run: exit 1\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:03.309651", "created_at": "2022-07-07T14:40:28+02:00", "updated_at": "2023-10-11T15:23:47+02:00", "name": "Migrations performance test", "path": ".github/workflows/migrations-perf-test.yml", "contents": "name: Migrations performance test\n\non:\n  pull_request:\n    types: [labeled, unlabeled, opened, closed]\n\njobs:\n  run:\n    name: Run migrations performance test\n    if: ${{ (((github.event.action == 'labeled') && (github.event.label.name == 'migrations perf test')) || ((github.event.action == 'opened') && contains(github.event.pull_request.labels.*.name, 'migrations perf test')) && github.repository == 'saleor/saleor') }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: rlespinasse/github-slug-action@e4699e49fcf890a3172a02c56ba78d867dbb9fd5\n\n      - name: Build and push\n        uses: kciter/aws-ecr-action@79255b7c5aa03dbf6d7c46cff2bfd049874cd98d # v4\n        with:\n          access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          account_id: ${{ secrets.AWS_ACCOUNT_ID }}\n          repo: saleor-testenvs\n          region: us-east-1\n          tags: ${{ env.GITHUB_HEAD_REF_SLUG_URL }},${{ github.sha }}\n\n      - name: Get pull number\n        run: |\n          echo \"PULL_ID=$(jq --raw-output .pull_request.number \"$GITHUB_EVENT_PATH\")\" >> $GITHUB_ENV\n\n      - name: Invoke deployment lambda\n        uses: gagoar/invoke-aws-lambda@d3a63ccabbed6ef817604ef6320096bde576ad40\n        with:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          REGION: us-east-1\n          FunctionName: migrations-perf-test-manager\n          Payload: >-\n            {\n              \"action\": \"${{ github.event.action }}\",\n              \"label\": \"${{ env.GITHUB_HEAD_REF_SLUG_URL }}\",\n              \"image\": \"${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com/saleor-testenvs:${{ github.sha }}\",\n              \"pr_id\": \"${{ env.PULL_ID }}\",\n              \"commit_hash\": \"${{ github.sha }}\"\n            }\n          LogType: Tail\n\n  cleanup:\n    name: Cleanup after migrations performance test\n    if: ${{ (((github.event.action == 'unlabeled') && (github.event.label.name == 'migrations perf test')) || ((github.event.action == 'closed') && contains(github.event.pull_request.labels.*.name, 'migrations perf test')) && github.repository == 'saleor/saleor') }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: rlespinasse/github-slug-action@e4699e49fcf890a3172a02c56ba78d867dbb9fd5\n\n      - name: Get pull number\n        run: |\n          echo \"PULL_ID=$(jq --raw-output .pull_request.number \"$GITHUB_EVENT_PATH\")\" >> $GITHUB_ENV\n\n      - name: Invoke deployment lambda\n        uses: gagoar/invoke-aws-lambda@d3a63ccabbed6ef817604ef6320096bde576ad40\n        with:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          REGION: us-east-1\n          FunctionName: migrations-perf-test-manager\n          Payload: >-\n            {\n              \"action\": \"${{ github.event.action }}\",\n              \"label\": \"${{ env.GITHUB_HEAD_REF_SLUG_URL }}\",\n              \"image\": \"${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com/saleor-testenvs:${{ github.sha }}\",\n              \"pr_id\": \"${{ env.PULL_ID }}\",\n              \"commit_hash\": \"${{ github.sha }}\"\n            }\n          LogType: Tail\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:04.481275", "created_at": "2023-10-11T13:45:08+02:00", "updated_at": "2023-10-11T14:51:01+02:00", "name": "Migration performance test required", "path": ".github/workflows/migrations-test-check.yml", "contents": null, "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:05.623851", "created_at": "2020-11-13T15:40:11+01:00", "updated_at": "2024-07-11T16:24:50+02:00", "name": "Publish", "path": ".github/workflows/publish-containers.yml", "contents": "name: Publish\n\non:\n  push:\n    tags:\n      # Matches stable and pre-releases\n      - \"[0-9]+.[0-9]+.[0-9]+*\"\n    branches:\n      - main\n      - ci/**\n\njobs:\n  docker:\n    runs-on: ubuntu-20.04\n\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      # Outputs the name of the repository (owner/repo)\n      - name: Build Image Name\n        id: image\n        run: |\n          # The name of the owner and of the repository: owner/repository\n          IMAGE_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')\n          echo \"image_name=$IMAGE_NAME\" >> $GITHUB_OUTPUT\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ghcr.io/${{ steps.image.outputs.image_name }}\n          tags: |\n            type=ref,event=branch,prefix=unstable-\n            type=pep440,pattern={{version}}\n            type=pep440,pattern={{major}}.{{minor}}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and Push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          context: .\n          labels: ${{ steps.meta.outputs.labels }}\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n\n      - name: Image digest\n        run: |\n          echo $\"\\\n            Digest: ${{ steps.docker_build.outputs.digest }}\n            Tags: ${{ steps.meta.outputs.tags }}\"\n\n      - name: Trigger staging deployment for tagged release\n        if: ${{ startsWith(github.ref, 'refs/tags/') }}\n        run: |\n          curl -f -X POST \\\n            -H \"Accept: application/vnd.github.v3+json\" \\\n            -H \"Authorization: Bearer ${{ secrets.SALEOR_RELEASE_TOKEN }}\" \\\n            https://api.github.com/repos/saleor/saleor-multitenant/dispatches \\\n            -d \"{\\\"event_type\\\":\\\"deploy-staging\\\",\\\"client_payload\\\":{\\\"version\\\":\\\"${{ steps.meta.outputs.version }}\\\"}}\"\n\n      - name: Notify Slack\n        if: ${{ failure() }}\n        env:\n          JOB_STATUS: ${{ job.status }}\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CLOUD_CI_WEBHOOK_URL }}\n          SLACK_MENTION_GROUP_ID: ${{ secrets.SLACK_CORE_SUPPORT_GROUP_ID }}\n          JOB_TITLE: \"Build of Saleor Core ${{ steps.meta.outputs.version }}\"\n        run: |\n          python3 ./.github/workflows/notify/notify-slack.py\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:06.691849", "created_at": "2024-07-11T14:09:22+02:00", "updated_at": "2024-07-11T16:13:44+02:00", "name": "Publish for load test", "path": ".github/workflows/publish-load-test.yml", "contents": null, "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:07.961804", "created_at": "2024-07-11T16:05:08+02:00", "updated_at": "2024-07-11T16:39:11+02:00", "name": "Publish main", "path": ".github/workflows/publish-main.yml", "contents": null, "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:09.081981", "created_at": "2024-07-11T16:05:08+02:00", "updated_at": "2024-07-11T16:05:08+02:00", "name": "Publish release tag", "path": ".github/workflows/publish-release-tag.yml", "contents": null, "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:10.103283", "created_at": "2020-06-15T15:59:53+02:00", "updated_at": "2023-10-11T15:29:42+02:00", "name": "Pytest", "path": ".github/workflows/pytest.yml", "contents": "name: Pytest\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n    paths:\n      - \"**.py\"\n      - Dockerfile\n      - \"saleor/**\"\n      - \".github/workflows/pytest.yml\"\n      - pyproject.toml\n      - poetry.lock\n  push:\n    branches:\n      - main\n      - ci/*\n    paths:\n      - \"**.py\"\n      - Dockerfile\n      - \"saleor/**\"\n      - \".github/workflows/pytest.yml\"\n      - pyproject.toml\n      - poetry.lock\n\nenv:\n  BENCH_PATH: ./queries-results.json\n  DATABASE_URL: \"postgres://saleor:saleor@postgres:5432/saleor\"\n  SECRET_KEY: ci-test\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    container: python:3.9\n\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: saleor\n          POSTGRES_USER: saleor\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install system dependencies\n        run: |\n          apt-get install -y libpq-dev\n\n      - name: Install and configure poetry\n        run: |\n          pip install poetry==1.7.0\n\n      - name: Cache the venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pypoetry/virtualenvs\n          key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        run: |\n          poetry env use python3.9\n          poetry install --no-root\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n\n      - name: Add Python Virtual Environment to PATH\n        run: |\n          # Note: requires `poetry env use` to be ran, otherwise poetry\n          # may not be able to find which virtual environment is in use.\n          # Ticket: https://github.com/python-poetry/poetry/issues/7190\n          echo \"$(poetry env info -p)\"/bin >> $GITHUB_PATH\n\n      # Run linters and Django related checks\n      # `git config` command is a workaround for https://github.com/actions/runner-images/issues/6775\n      - name: Run Linters and Checks\n        run: |\n          git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n          pre-commit run --all\n        if: ${{ always() }}\n\n      - name: Run unit tests\n        run: |\n          pytest \\\n            -m \"not e2e\" \\\n            --cov \\\n            --cov-report= \\\n            --junitxml=junit/test-results.xml \\\n            --django-db-bench=${{ env.BENCH_PATH }}\n\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pre-commit-\n\n      # Publish coverage and test results\n      - uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: pytest-results\n          path: junit/test-results.xml\n        if: ${{ always() }}\n\n      # Publish detected differences as comment\n      - uses: NyanKiyoshi/pytest-django-queries-ci-tools@v1\n        with:\n          query_raw_dump_path: ${{ env.BENCH_PATH }}\n          diff_endpoint: \"https://dtab784j47g1o.cloudfront.net/default/saleor-db-queries-bot-diff\"\n          diff_results_base_url: \"https://dtab784j47g1o.cloudfront.net\"\n        if: github.event_name == 'pull_request' && github.repository == 'saleor/saleor'\n\n      # Save results for future comparison against pull requests\n      - uses: NyanKiyoshi/pytest-django-queries-ci-tools@v1\n        with:\n          query_raw_dump_path: ${{ env.BENCH_PATH }}\n          upload_endpoint: ${{ secrets.QUERIES_UPLOAD_ENDPOINT_URL }}\n          upload_secret_key: ${{ secrets.QUERIES_UPLOAD_SECRET }}\n        if: github.event_name == 'push' && github.repository == 'saleor/saleor'\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:11.341992", "created_at": "2020-08-06T16:30:02+02:00", "updated_at": "2023-10-12T08:44:18+02:00", "name": "TEST-ENV-CLEANUP", "path": ".github/workflows/test-env-cleanup.yml", "contents": "name: TEST-ENV-CLEANUP\n# Build and deploy test instance for every pull request\n\non:\n  pull_request:\n    types: [closed, unlabeled]\n    branches: [\"**\"]\n\njobs:\n  cleanup:\n    name: Remove test environment deployment\n    if: ${{ ((github.event.action == 'unlabeled') && (github.event.label.name == 'test deployment')) || ((github.event.action == 'closed') && contains(github.event.pull_request.labels.*.name, 'test deployment')) }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: rlespinasse/github-slug-action@3.1.0\n\n      - name: Invoke deployment lambda\n        uses: gagoar/invoke-aws-lambda@v3.3.0\n        with:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          REGION: us-east-1\n          FunctionName: test-env-manager\n          Payload: >-\n            {\n              \"action\": \"${{ github.event.action }}\",\n              \"label\": \"${{ env.GITHUB_HEAD_REF_SLUG_URL }}\",\n              \"image\": \"${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com/saleor-testenvs:${{ env.GITHUB_HEAD_REF_SLUG_URL }}\"\n            }\n          LogType: Tail\n\n      - name: Mark deployment as deactivated\n        uses: bobheadxi/deployments@v0.4.2\n        with:\n          step: deactivate-env\n          token: ${{ secrets.GITHUB_TOKEN }}\n          env: ${{ env.GITHUB_HEAD_REF_SLUG_URL }}\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:12.570364", "created_at": "2020-08-06T15:03:05+02:00", "updated_at": "2023-10-11T15:29:42+02:00", "name": "TEST-ENV-DEPLOYMENT", "path": ".github/workflows/test-env-deploy.yml", "contents": "name: TEST-ENV-DEPLOYMENT\n# Build and deploy test instance for every pull request\n\non:\n  pull_request:\n    types: [reopened, synchronize, labeled]\n    branches: [\"**\"]\n\njobs:\n  deploy:\n    name: Deploy test environment for labeled pull requests\n    if: ${{ ((github.event.action == 'labeled') && (github.event.label.name == 'test deployment')) || ((github.event.action != 'labeled') && contains(github.event.pull_request.labels.*.name, 'test deployment')) }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: rlespinasse/github-slug-action@3.1.0\n\n      - name: Set domain\n        id: set-domain\n        # Set test instance domain based on branch name slug\n        run: |\n          echo \"domain=${{ env.GITHUB_HEAD_REF_SLUG_URL }}.api.saleor.rocks\" >> $GITHUB_OUTPUT\n\n      - name: Start deployment\n        uses: bobheadxi/deployments@v0.4.2\n        id: deployment\n        with:\n          step: start\n          token: ${{ secrets.GITHUB_TOKEN }}\n          env: ${{ env.GITHUB_HEAD_REF_SLUG_URL }}\n          ref: ${{ github.head_ref }}\n\n      - name: Build and push\n        uses: kciter/aws-ecr-action@79255b7c5aa03dbf6d7c46cff2bfd049874cd98d # v4\n        with:\n          access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          account_id: ${{ secrets.AWS_ACCOUNT_ID }}\n          repo: saleor-testenvs\n          region: us-east-1\n          tags: ${{ env.GITHUB_HEAD_REF_SLUG_URL }},${{ github.sha }}\n\n      - name: Invoke deployment lambda\n        uses: gagoar/invoke-aws-lambda@v3.3.0\n        with:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          REGION: us-east-1\n          FunctionName: test-env-manager\n          Payload: >-\n            {\n              \"action\": \"${{ github.event.action }}\",\n              \"label\": \"${{ env.GITHUB_HEAD_REF_SLUG_URL }}\",\n              \"image\": \"${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com/saleor-testenvs:${{ github.sha }}\"\n            }\n          LogType: Tail\n\n      - name: Update deployment status\n        uses: bobheadxi/deployments@v0.4.2\n        if: always()\n        with:\n          step: finish\n          token: ${{ secrets.GITHUB_TOKEN }}\n          status: ${{ job.status }}\n          env_url: https://${{ steps.set-domain.outputs.domain }}/graphql/\n          deployment_id: ${{ steps.deployment.outputs.deployment_id }}\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:13.606539", "created_at": "2022-06-01T14:24:27+02:00", "updated_at": "2023-10-12T08:44:21+02:00", "name": "Test migrations compatibility", "path": ".github/workflows/test-migrations-compatibility.yml", "contents": "name: Test migrations compatibility\n\non:\n  pull_request:\n    branches:\n      - \"3.*\"\n      - \"main\"\n    paths:\n      - \"**/migrations/**\"\n\nenv:\n  DATABASE_URL: \"postgres://saleor:saleor@postgres:5432/saleor\"\n  SECRET_KEY: ci-test\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    container: python:3.9\n\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: saleor\n          POSTGRES_USER: saleor\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install system dependencies\n        run: |\n          apt-get install -y libpq-dev\n\n      - name: Install and configure poetry\n        run: |\n          python -m pip install poetry==1.7.0\n\n      - name: Restore venv from cache\n        id: cached-poetry-dependencies-restore\n        uses: actions/cache/restore@v4\n        with:\n          path: ~/.cache/pypoetry/virtualenvs\n          key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}\n          # If no cache hit occurs for the key, fall back to a partial match\n          # of the most recently created artifact from the default branch\n          restore-keys: ${{ runner.os }}-venv-\n\n      # Sync dependencies if cache is not hit or there is a partial key match\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies-restore.outputs.cache-hit != 'true'\n        run: |\n          python -m poetry install --sync --no-root\n\n      - name: Cache venv\n        uses: actions/cache/save@v4\n        if: steps.cached-poetry-dependencies-restore.outputs.cache-hit != 'true'\n        with:\n          path: ~/.cache/pypoetry/virtualenvs\n          key: ${{ steps.cached-poetry-dependencies-restore.outputs.cache-primary-key }}\n\n      - name: Migrate\n        run: |\n          export DJANGO_SETTINGS_MODULE=saleor.tests.settings\n          python -m poetry run python manage.py migrate\n\n      - name: Checkout base\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github['base_ref'] }}\n\n      # Sync dependencies to ensure consistency with base branch\n      - name: Synchronize dependencies\n        run: |\n          python -m poetry install --sync --no-root\n\n      - name: Run tests\n        run: |\n          export PYTEST_DB_URL=$DATABASE_URL\n          python -m poetry run pytest -n 0 --reuse-db\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:14.637120", "created_at": "2023-09-08T12:20:30+02:00", "updated_at": "2023-09-08T18:06:49+02:00", "name": "Test Semgrep Rules", "path": ".github/workflows/test-semgrep-rules.yml", "contents": "name: Test Semgrep Rules\non:\n  push:\n    paths:\n      - .semgrep/**\n      - .github/workflows/test-semgrep-rules.yml\n  pull_request:\n    paths:\n      - .semgrep/**\n      - .github/workflows/test-semgrep-rules.yml\n\njobs:\n  main:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0\n        with:\n          sparse-checkout: |\n            .semgrep\n\n      - name: Install Dependencies\n        run: python3 -m pip install semgrep==1.39.0\n\n      - name: Run Tests\n        working-directory: .semgrep\n        run: make test\n", "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:15.634621", "created_at": "2024-07-11T15:20:21+02:00", "updated_at": "2024-07-11T15:20:21+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "saleor/saleor"}
{"mined_at": "2024-07-15T16:45:17.778343", "created_at": "2021-05-22T07:04:25+02:00", "updated_at": "2022-02-05T08:46:54+01:00", "name": "Publish Release", "path": ".github/workflows/publish.yml", "contents": "name: Publish Release\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - v**\n\njobs:\n  pypi:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.x\"\n      - name: set up Poetry\n        uses: abatilo/actions-poetry@v2.0.0\n        with:\n          poetry-version: \"1.3.1\"\n      - name: get version\n        id: get_version\n        run: echo \"VERSION=$(echo ${GITHUB_REF/refs\\/tags\\//})\" >> $GITHUB_ENV\n      - name: set version\n        run: poetry version ${{ env.VERSION }}\n      - name: publish\n        env:\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}\n        run: poetry publish --build\n      - name: Create GitHub release entry\n        uses: softprops/action-gh-release@v1\n        id: create_release\n        with:\n          draft: true\n          prerelease: false\n          name: ${{ env.VERSION }}\n          tag_name: ${{ env.VERSION }}\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n      - name: verify\n        shell: bash\n        run: for i in {1..100}; do sleep 2; python -m pip install 'nicegui==${{ env.VERSION }}' && break; done; sleep 5\n\n  docker:\n    needs: pypi\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Prepare\n        id: prep\n        run: |\n          DOCKER_IMAGE=${{ secrets.DOCKER_USERNAME }}/${GITHUB_REPOSITORY#*/}\n          VERSION=latest\n          SHORTREF=${GITHUB_SHA::8}\n\n          # If this is git tag, use the tag name as a docker tag\n          if [[ $GITHUB_REF == refs/tags/* ]]; then\n            VERSION=${GITHUB_REF#refs/tags/v}\n          fi\n          TAGS=\"${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:${SHORTREF}\"\n\n          # If the VERSION looks like a version number, assume that\n          # this is the most recent version of the image and also\n          # tag it 'latest'.\n          if [[ $VERSION =~ ^[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}$ ]]; then\n            TAGS=\"$TAGS,${DOCKER_IMAGE}:latest\"\n          fi\n\n          # Set output parameters.\n          echo ::set-output name=tags::${TAGS}\n          echo ::set-output name=docker_image::${DOCKER_IMAGE}\n          echo ::set-output name=version::${VERSION}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@master\n        with:\n          platforms: all\n      - name: Login to DockerHub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@master\n        with:\n          install: true\n      - name: Build\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          file: ./release.dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.prep.outputs.tags }}\n          build-args: VERSION=${{ steps.prep.outputs.version }}\n\n      # Uploading the README.md is not a core feature of docker/build-push-action yet\n      - name: Update README\n        uses: christian-korneck/update-container-description-action@v1\n        env:\n          DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}\n          DOCKER_PASS: ${{ secrets.DOCKER_PASSWORD }}\n        with:\n          destination_container_repo: zauberzeug/nicegui\n          provider: dockerhub\n          short_description: \"Web Based User Interface für Python with Buttons, Dialogs, Markdown, 3D Scences and Plots\"\n\n  update_metadata:\n    needs: docker\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n        with:\n          ref: main\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.11\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install requests PyYAML\n\n      - name: Update Citation.cff\n        env:\n          ZENODO_TOKEN: ${{ secrets.ZENODO_TOKEN }}\n        run: python .github/workflows/update_citation.py\n\n      - name: Update version in pyproject.toml\n        run: python .github/workflows/update_pyproject.py $(echo ${GITHUB_REF/refs\\/tags\\//})\n\n      - name: Commit and push changes\n        run: |\n          git config --global user.name \"github-actions[bot]\"\n          git config --global user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git add CITATION.cff pyproject.toml\n          git commit -m \"Update citation.cff and pyproject.toml\"\n          git push origin HEAD:main\n\n  verify:\n    needs: docker\n    runs-on: ubuntu-latest\n    steps:\n      - name: Pull and Test Container\n        env:\n          DOCKER_IMAGE: zauberzeug/nicegui\n          VERSION: latest\n        run: |\n          docker pull ${DOCKER_IMAGE}:${VERSION}\n          docker run -d --name test_container ${DOCKER_IMAGE}:${VERSION}\n          sleep 10\n          CONTAINER_OUTPUT=$(docker logs test_container)\n          # Check if the container is still running\n          CONTAINER_STATUS=$(docker inspect -f '{{.State.Running}}' test_container)\n          if [ \"${CONTAINER_STATUS}\" != \"true\" ]; then\n            echo \"The container is not running!\"\n            exit 1\n          fi\n          # Check if the \"Error\" string is present in the container output\n          if echo \"${CONTAINER_OUTPUT}\" | grep -q \"Error\"; then\n            echo \"Error found in container output!\"\n            echo \"${CONTAINER_OUTPUT}\"\n            exit 1\n          fi\n          docker stop test_container\n          docker rm test_container\n", "state": "active", "repository": "zauberzeug/nicegui"}
{"mined_at": "2024-07-15T16:45:18.806562", "created_at": "2022-01-13T04:40:28+01:00", "updated_at": "2022-11-30T19:17:29+01:00", "name": "Run Tests", "path": ".github/workflows/test.yml", "contents": "name: Run Tests\n\non: [push]\n\njobs:\n  test:\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n    runs-on: ubuntu-latest\n    timeout-minutes: 40\n    steps:\n      - uses: actions/checkout@v3\n      - name: set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: set up Poetry\n        uses: abatilo/actions-poetry@v2.0.0\n        with:\n          poetry-version: \"1.6.1\"\n      - name: install dependencies\n        run: |\n          set -x\n          poetry config virtualenvs.create false\n          poetry install --all-extras\n          # install packages to run the examples\n          pip install opencv-python opencv-contrib-python-headless httpx isort replicate langchain openai simpy tortoise-orm\n          pip install -r tests/requirements.txt\n          # try fix issue with importlib_resources\n          pip install importlib-resources\n      - name: test startup\n        run: ./test_startup.sh\n      - name: setup chromedriver\n        uses: nanasess/setup-chromedriver@v2.2.0\n      - name: pytest\n        run: pytest\n      - name: upload screenshots\n        uses: actions/upload-artifact@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          name: pytest-screenshots\n          path: tests/screenshots\n\n  slack:\n    needs:\n      - test\n    if: always() # also execute when test fail\n    runs-on: ubuntu-latest\n    steps:\n      - name: Determine if we need to notify\n        uses: Jimdo/should-i-notify-action@main\n        id: should_notify\n        with:\n          needs_context: ${{ toJson(needs) }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Check if secret exists\n        id: check_secret\n        env:\n          SLACK_WEBHOOK: ${{ secrets.SLACK_ROBOTICS_CI_WEBHOOK }}\n        run: |\n          if [[ -z \"$SLACK_WEBHOOK\" ]]; then\n            echo \"slack_webhook_exists=false\" >> $GITHUB_ENV\n          else\n            echo \"slack_webhook_exists=true\" >> $GITHUB_ENV\n          fi\n      - name: Slack workflow notification\n        if: steps.should_notify.outputs.should_send_message == 'yes' && env.slack_webhook_exists == 'true'\n        uses: Gamesight/slack-workflow-status@master\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          slack_webhook_url: ${{ secrets.SLACK_ROBOTICS_CI_WEBHOOK }}\n          channel: \"robotik-ci\"\n          name: \"NiceGUI\"\n", "state": "active", "repository": "zauberzeug/nicegui"}
{"mined_at": "2024-07-15T16:45:20.954868", "created_at": "2021-06-03T02:43:22+02:00", "updated_at": "2021-06-03T02:43:22+02:00", "name": "Release Notes", "path": ".github/workflows/release-notes.yaml", "contents": "# Copyright 2021 The CloudEvents Authors.\n# Copyright 2020 The Knative Authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: 'Release Notes'\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Branch? (master)'\n        required: true\n        default: 'master'\n      start-sha:\n        description: 'Starting SHA? (last tag on branch)'\n      end-sha:\n        description: 'Ending SHA? (latest HEAD)'\n\njobs:\n  release-notes:\n    name: Release Notes\n    runs-on: 'ubuntu-latest'\n\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    steps:\n      - name: Set up Go\n        uses: actions/setup-go@v2\n\n      - name: Install Dependencies\n        run: GO111MODULE=on go get k8s.io/release/cmd/release-notes\n\n      - name: Check out code\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      # Note: Defaults needs to run after we check out the repo.\n      - name: Defaults\n        run: |\n          echo ORG=$(echo '${{ github.repository }}' | awk -F '/' '{print $1}') >> $GITHUB_ENV\n          echo REPO=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}') >> $GITHUB_ENV\n\n          echo \"BRANCH=${{ github.event.inputs.branch }}\" >> $GITHUB_ENV\n\n          if [[ \"${{ github.event.inputs.start-sha }}\" != \"\" ]]; then\n            echo \"START_SHA=${{ github.event.inputs.start-sha }}\" >> $GITHUB_ENV\n          else\n            # Default Starting SHA (thanks @dprotaso)\n            export semver=$(git describe --match \"v[0-9]*\" --abbrev=0)\n            echo \"Using ${semver} tag for starting sha.\"\n            echo START_SHA=$(git rev-list -n 1 \"${semver}\") >> $GITHUB_ENV\n          fi\n\n          if [[ \"${{ github.event.inputs.end-sha }}\" != \"\" ]]; then\n            echo \"END_SHA=${{ github.event.inputs.end-sha }}\" >> $GITHUB_ENV\n          else\n            # Default Ending SHA (thanks @dprotaso)\n            echo \"END_SHA=$(git rev-list -n 1 HEAD)\" >> $GITHUB_ENV\n          fi\n\n      - name: Generate Notes\n        run: |\n          # See  https://github.com/kubernetes/release/tree/master/cmd/release-notes for options.\n          # Note: we are setting env vars in the Defaults step.\n          release-notes \\\n            --required-author \"\" \\\n            --repo-path       \"$(pwd)\" \\\n            --output          release-notes.md\n\n      - name: Display Notes\n        run: |\n          cat release-notes.md\n\n      - name: Archive Release Notes\n        uses: actions/upload-artifact@v2\n        with:\n          name: release-notes.md\n          path: release-notes.md\n", "state": "active", "repository": "cloudevents/spec"}
{"mined_at": "2024-07-15T16:45:22.094524", "created_at": "2023-01-20T18:07:12+01:00", "updated_at": "2023-01-20T18:07:12+01:00", "name": "Stale", "path": ".github/workflows/stale.yaml", "contents": "name: Stale\n\non:\n  schedule:\n    - cron: \"0 1 * * *\" # daily\n\njobs:\n  stale:\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n      - uses: \"actions/stale@v7\"\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n          stale-issue-message: |-\n            This issue is stale because it has been open for 30 days with no\n            activity. Mark as fresh by updating e.g., adding the comment `/remove-lifecycle stale`.\n          stale-issue-label: \"lifecycle/stale\"\n          exempt-issue-labels: \"lifecycle/frozen\"\n\n          stale-pr-message: |-\n            This Pull Request is stale because it has been open for 30 days with\n            no activity. Mark as fresh by updating e.g., adding the comment `/remove-lifecycle stale`.\n          stale-pr-label: \"lifecycle/stale\"\n          exempt-pr-labels: \"lifecycle/frozen\"\n\n          days-before-stale: 30\n          days-before-close: -1 # never", "state": "active", "repository": "cloudevents/spec"}
{"mined_at": "2024-07-15T16:45:23.240146", "created_at": "2020-12-04T17:51:52+01:00", "updated_at": "2020-12-04T17:51:52+01:00", "name": "verify", "path": ".github/workflows/verify.yaml", "contents": "name: verify\non: [push, pull_request]\njobs:\n  verify:\n    name: verify\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n          cache-dependency-path: \"tools/requirements.txt\"\n      - name: Install tools dependencies\n        run: python -m pip install -r tools/requirements.txt\n      - name: Test Tools\n        run: make -f tools/Makefile test_tools\n      - name: Verify Specification\n        run: make -f tools/Makefile verify\n", "state": "active", "repository": "cloudevents/spec"}
{"mined_at": "2024-07-15T16:45:25.464682", "created_at": "2022-09-19T20:05:38+02:00", "updated_at": "2023-07-26T10:17:14+02:00", "name": "Automatically publish to Modrinth and CurseForge", "path": ".github/workflows/auto-publish.yml", "contents": "name: Automatically publish to Modrinth and CurseForge\non:\n  release:\n    types: [published]\njobs:\n  publish-to-curseforge:\n    if: github.repository_owner == 'Fabulously-Optimized'\n    runs-on: ubuntu-24.04\n    environment: github-actions\n    steps:\n       - name: Download pack files\n         uses: robinraju/release-downloader@v1.10\n         id: download-files\n         with:\n           fileName: \"*.zip\"\n           latest: true\n           tarBall: false\n           zipBall: false\n           preRelease: true\n\n       - name: Publish to CurseForge\n         uses: Kir-Antipov/mc-publish@v3.3\n         with:\n           name: ${{ steps.download-files.outputs.tag_name }} for ${{ vars.MC_VERSION }}\n           curseforge-id: 396246\n           curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}\n           curseforge-files: '*.zip'\n           loaders: fabric\n           game-versions: ${{ vars.MC_VERSION }}\n           \n  publish-to-modrinth:\n    if: github.repository_owner == 'Fabulously-Optimized'\n    runs-on: ubuntu-22.04\n    environment: github-actions\n    permissions:\n      id-token: write\n      attestations: write\n      contents: write\n    steps:\n       - name: Clone Repo\n         uses: actions/checkout@v4\n       - name: Download packwiz\n         uses: actions/download-artifact@v4\n         with:\n           name: \"Linux 64-bit x86\"\n           github-token: ${{ secrets.GH_PAT }}\n           repository: packwiz/packwiz\n           run-id: 9259662367\n       - name: Export to packwiz\n         run: |\n           chmod +x ./packwiz\n           pushd Packwiz/${{ vars.MC_VERSION }}\n           ../../packwiz modrinth export -o ../../Fabulously.Optimized-${{ github.ref_name }}.mrpack\n           popd\n       - name: Attest mrpack\n         id: attest-mrpack\n         uses: actions/attest-build-provenance@v1\n         with:\n          subject-path: Fabulously.Optimized-${{ github.ref_name }}.mrpack\n       - name: Copy and zip attestation\n         run: |\n           cp ${{ steps.attest-mrpack.outputs.bundle-path }} cosign-bundle.json\n           zip cosign-bundle.zip cosign-bundle.json\n       - name: Publish to Modrinth\n         uses: Kir-Antipov/mc-publish@v3.3\n         with:\n           name: ${{ github.ref_name }} for ${{ vars.MC_VERSION }}\n           modrinth-id: 1KVo5zza\n           modrinth-token: ${{ secrets.MODRINTH_TOKEN }}\n           modrinth-unfeature-mode: subset\n           files: |\n             Fabulously.Optimized-${{ github.ref_name }}.mrpack\n             cosign-bundle.zip\n           loaders: fabric\n           game-versions: ${{ vars.MC_VERSION }}\n       - name: Upload to Github\n         uses: Shopify/upload-to-release@v2.0.0\n         with:\n           name: Fabulously.Optimized-${{ github.ref_name }}.mrpack\n           path: Fabulously.Optimized-${{ github.ref_name }}.mrpack\n           repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "fabulously-optimized/fabulously-optimized"}
{"mined_at": "2024-07-15T16:45:26.498072", "created_at": "2022-09-03T14:32:18+02:00", "updated_at": "2022-09-03T14:32:57+02:00", "name": "Git Repo Sync", "path": ".github/workflows/git-repo-sync.yml", "contents": "name: Git Repo Sync\n\non: \n  - push\n  - delete\n\njobs:\n  sync-bitbucket:\n    if: github.repository_owner == 'Fabulously-Optimized'\n    runs-on: ubuntu-24.04\n    name: Git Repo Sync - BitBucket\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Synchronize code to other Git platforms\n      uses: wangchucheng/git-repo-sync@v0.1.0\n      with:\n        target-url: ${{ secrets.BITBUCKET_GIT }}\n        target-username: ${{ secrets.BITBUCKET_USERNAME }}\n        target-token: ${{ secrets.BITBUCKET_TOKEN }}\n", "state": "active", "repository": "fabulously-optimized/fabulously-optimized"}
{"mined_at": "2024-07-15T16:45:29.774491", "created_at": "2024-03-25T08:18:17+01:00", "updated_at": "2024-04-06T07:58:20+02:00", "name": "Deploy to Dev", "path": ".github/workflows/cd-branch.yml", "contents": null, "state": "active", "repository": "asuc-octo/berkeleytime"}
{"mined_at": "2024-07-15T16:45:31.001835", "created_at": "2024-04-10T06:31:39+02:00", "updated_at": "2024-04-10T06:31:39+02:00", "name": "Build Backend", "path": ".github/workflows/cd-build-backend.yml", "contents": null, "state": "active", "repository": "asuc-octo/berkeleytime"}
{"mined_at": "2024-07-15T16:45:32.073950", "created_at": "2024-04-10T06:32:01+02:00", "updated_at": "2024-04-10T06:32:01+02:00", "name": "Build Frontend", "path": ".github/workflows/cd-build-frontend.yml", "contents": null, "state": "active", "repository": "asuc-octo/berkeleytime"}
{"mined_at": "2024-07-15T16:45:33.117382", "created_at": "2024-03-25T07:31:23+01:00", "updated_at": "2024-03-25T07:31:23+01:00", "name": "Codegen Test", "path": ".github/workflows/gen.yaml", "contents": null, "state": "active", "repository": "asuc-octo/berkeleytime"}
{"mined_at": "2024-07-15T16:45:34.142645", "created_at": "2024-03-25T07:31:23+01:00", "updated_at": "2024-03-25T07:31:23+01:00", "name": "Linting", "path": ".github/workflows/lint.yaml", "contents": null, "state": "active", "repository": "asuc-octo/berkeleytime"}
{"mined_at": "2024-07-15T16:45:36.272287", "created_at": "2020-12-08T07:56:05+01:00", "updated_at": "2022-12-12T10:43:30+01:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Python package\n\non: [push, pull_request]\n\nenv:\n  PY_COLORS: \"1\"\n\njobs:\n  codegen:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.12\"]\n      fail-fast: false\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install nala\n        pip install -e .\n    - name: Test\n      run: |\n        env PYTHONPATH=. python examples/hello_world.py\n        env PYTHONPATH=. python examples/diagnostics/did.py\n        make test-c-clean\n        make test-c\n        make test-c-clean\n        CC=gcc make test-c\n        make test-c-clean\n        CC=clang make test-c-src\n    - name: Coveralls\n      uses: AndreMiras/coveralls-python-action@develop\n      with:\n        parallel: true\n        flag-name: Code Generator Test\n\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ \"ubuntu-latest\", \"windows-latest\", \"macos-latest\" ]\n        python-version: [\"3.8\", \"3.12\", \"pypy-3.9\"]\n      fail-fast: false\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox\n    - name: Install optional windows dependencies\n      run: |\n        python -m pip install -e \".[windows-all]\"\n    - name: Test\n      run: |\n        tox -e gh\n    - name: Coveralls\n      if: matrix.os == 'ubuntu-latest'\n      uses: AndreMiras/coveralls-python-action@develop\n      with:\n        parallel: true\n        flag-name: Test ${{ matrix.os }} ${{ matrix.python-version }}\n\n  coveralls_finish:\n    needs: [test, codegen]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Coveralls Finished\n        uses: AndreMiras/coveralls-python-action@develop\n        with:\n          parallel-finished: true\n\n  linter:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.12\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install mypy ruff\n        pip install -e .[plot]\n    - name: Static type checking with mypy\n      run: |\n        mypy --python-version 3.8 .\n        mypy --python-version 3.9 .\n        mypy --python-version 3.10 .\n        mypy --python-version 3.11 .\n        mypy --python-version 3.12 .\n    - name: Run linters\n      run: |\n        ruff check ./src\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r docs/requirements.txt\n        pip install -e .\n    - name: Build documentation\n      run: |\n        python -m sphinx -Ean docs build\n\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Build wheel and sdist\n        run: pipx run build\n      - name: Check build artifacts\n        run: pipx run twine check --strict dist/*\n\n  release:\n    needs: [test, codegen, linter, build]\n    runs-on: ubuntu-latest\n    if: startsWith(github.ref, 'refs/tags')\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Install pypa/build\n      run: |\n        python -m pip install build --user\n    - name: Build a binary wheel and a source tarball\n      run: |\n        git clean -dfx\n        python -m build --sdist --wheel --outdir dist/ .\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        skip_existing: true\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "cantools/cantools"}
{"mined_at": "2024-07-15T16:45:38.422846", "created_at": "2022-11-08T19:18:57+01:00", "updated_at": "2022-12-12T21:52:34+01:00", "name": "Code Quality Checks", "path": ".github/workflows/code-quality.yaml", "contents": "name: Code Quality Checks\non:\n  push:\n    branches:\n    - dev\n    - main\n    - release/**\n  pull_request:\n  workflow_dispatch:\n# Cancel old runs when a new commit is pushed to the same branch if not on main\n# or dev\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }}\ndefaults:\n  run:\n    working-directory: .\njobs:\n  code-quality:\n    runs-on: ubuntu-20.04\n    timeout-minutes: 15\n    strategy:\n      matrix:\n        python_version:\n        - \"3.9\"\n        - \"3.10\"\n        - \"3.11\"\n        pip_deps:\n        - \"[dev]\"\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n    - name: Get composite run steps repository\n      uses: actions/checkout@v3\n      with:\n        repository: mosaicml/ci-testing\n        ref: v0.0.8\n        path: ./ci-testing\n    - uses: ./ci-testing/.github/actions/code-quality\n      with:\n        python_version: ${{ matrix.python_version }}\n        pip_deps: ${{ matrix.pip_deps }}\n", "state": "active", "repository": "mosaicml/composer"}
{"mined_at": "2024-07-15T16:45:39.603662", "created_at": "2022-12-07T23:18:50+01:00", "updated_at": "2023-02-22T18:49:51+01:00", "name": "PyTest Coverage", "path": ".github/workflows/coverage.yaml", "contents": "name: PyTest Coverage\non:\n  workflow_call:\n    inputs:\n      download-path:\n        required: true\n        type: string\njobs:\n  coverage:\n    timeout-minutes: 5\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Repo\n      uses: actions/checkout@v3\n    - name: Get composite run steps repository\n      uses: actions/checkout@v3\n      with:\n        repository: mosaicml/ci-testing\n        ref: v0.0.8\n        path: ./ci-testing\n    - uses: ./ci-testing/.github/actions/coverage\n      with:\n        download-path: ${{ inputs.download-path }}\n", "state": "active", "repository": "mosaicml/composer"}
{"mined_at": "2024-07-15T16:45:40.649033", "created_at": "2023-01-18T09:46:47+01:00", "updated_at": "2023-02-17T01:24:57+01:00", "name": "PR Docker", "path": ".github/workflows/pr-docker.yaml", "contents": "name: PR Docker\non:\n  pull_request:\n    branches:\n    - dev\n    - main\n    - release/**\n    paths:\n    - .github/bin/gen_docker_matrix.py\n    - .github/workflows/docker-configure-build-push.yaml\n    - .github/workflows/pr-docker.yaml\n    - docker/**\n  workflow_dispatch:\ndefaults:\n  run:\n    working-directory: .\njobs:\n  build-image-matrix:\n    if: github.repository_owner == 'mosaicml'\n    runs-on: ubuntu-latest\n    timeout-minutes: 2\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n    - uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - uses: actions/checkout@v3\n    - id: set-matrix\n      run: |\n        # Install yaml dependency\n        pip install pyyaml\n\n        # Override package install command for Composer image\n        COMPOSER_INSTALL_COMMAND=\"mosaicml[all]@git+https://github.com/mosaicml/composer.git@${{ github.sha }}\"\n\n        # Generate build matrix\n        BUILD_MATRIX=$(python .github/bin/gen_docker_matrix.py docker/build_matrix.yaml -b \\\n        COMPOSER_INSTALL_COMMAND=$COMPOSER_INSTALL_COMMAND)\n\n        echo $BUILD_MATRIX >> $GITHUB_OUTPUT\n  stage-docker-build:\n    needs: build-image-matrix\n    uses: ./.github/workflows/docker-configure-build-push.yaml\n    strategy:\n      fail-fast: true\n      matrix: ${{ fromJSON(needs.build-image-matrix.outputs.matrix) }}\n    name: ${{ matrix.IMAGE_NAME }}\n    with:\n      build-args: |\n        AWS_OFI_NCCL_VERSION=${{ matrix.AWS_OFI_NCCL_VERSION }}\n        BASE_IMAGE=${{ matrix.BASE_IMAGE }}\n        CUDA_VERSION=${{ matrix.CUDA_VERSION }}\n        MOFED_VERSION=${{ matrix.MOFED_VERSION }}\n        PYTHON_VERSION=${{ matrix.PYTHON_VERSION }}\n        PYTORCH_VERSION=${{ matrix.PYTORCH_VERSION }}\n        TORCHTEXT_VERSION=${{ matrix.TORCHTEXT_VERSION }}\n        TORCHVISION_VERSION=${{ matrix.TORCHVISION_VERSION }}\n        PYTORCH_NIGHTLY_URL=${{ matrix.PYTORCH_NIGHTLY_URL }}\n        PYTORCH_NIGHTLY_VERSION=${{ matrix.PYTORCH_NIGHTLY_VERSION }}\n        NVIDIA_REQUIRE_CUDA_OVERRIDE=${{ matrix.NVIDIA_REQUIRE_CUDA_OVERRIDE }}\n      context: ./docker\n      image-name: ${{ matrix.IMAGE_NAME }}\n      image-uuid: ${{ matrix.UUID }}\n      push: true\n      staging: true\n      staging-repo: mosaicml/ci-staging\n      tags: ${{ matrix.TAGS }}\n      target: ${{ matrix.TARGET }}\n    secrets:\n      username: ${{ secrets.DOCKER_HUB_USERNAME }}\n      password: ${{ secrets.DOCKER_HUB_PASSWORD }}\n", "state": "active", "repository": "mosaicml/composer"}
{"mined_at": "2024-07-15T16:45:41.819581", "created_at": "2023-02-15T20:49:31+01:00", "updated_at": "2024-06-03T21:18:27+02:00", "name": "PR GPU tests", "path": ".github/workflows/pr-gpu.yaml", "contents": "name: PR GPU tests\non:\n  pull_request_target:\n  workflow_dispatch:\n# Cancel old runs when a new commit is pushed to the same branch if not on main\n# or dev\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }}\njobs:\n  pytest-gpu-1:\n    uses: mosaicml/ci-testing/.github/workflows/pytest-gpu.yaml@v0.0.8\n    strategy:\n      matrix:\n        include:\n        - name: gpu-3.11-2.3-1\n          container: mosaicml/pytorch:2.3.1_cu121-python3.11-ubuntu20.04\n          markers: not daily and not remote and gpu and (doctest or not doctest)\n          pytest_command: coverage run -m pytest\n          composer_package_name: mosaicml\n    name: ${{ matrix.name }}\n    if: github.repository_owner == 'mosaicml'\n    with:\n      composer_package_name: ${{ matrix.composer_package_name }}\n      container: ${{ matrix.container }}\n      git_repo: mosaicml/composer\n      mcloud-timeout: 2250\n      name: ${{ matrix.name }}\n      pip_deps: \"[all]\"\n      pytest-command: ${{ matrix.pytest_command }}\n      pytest-markers: ${{ matrix.markers }}\n      python-version: 3.9\n      gpu_num: 1\n    secrets:\n      mcloud-api-key: ${{ secrets.MCLOUD_API_KEY }}\n\n  pytest-gpu-2:\n    uses: mosaicml/ci-testing/.github/workflows/pytest-gpu.yaml@v0.0.8\n    strategy:\n      matrix:\n        include:\n        - name: gpu-3.11-2.3-2\n          container: mosaicml/pytorch:2.3.1_cu121-python3.11-ubuntu20.04\n          markers: not daily and not remote and gpu and (doctest or not doctest)\n          pytest_command: coverage run -m pytest\n          composer_package_name: mosaicml\n    name: ${{ matrix.name }}\n    if: github.repository_owner == 'mosaicml'\n    with:\n      composer_package_name: ${{ matrix.composer_package_name }}\n      container: ${{ matrix.container }}\n      git_repo: mosaicml/composer\n      mcloud-timeout: 2250\n      name: ${{ matrix.name }}\n      pip_deps: \"[all]\"\n      pytest-command: ${{ matrix.pytest_command }}\n      pytest-markers: ${{ matrix.markers }}\n      python-version: 3.9\n      gpu_num: 2\n    secrets:\n      mcloud-api-key: ${{ secrets.MCLOUD_API_KEY }}\n\n\n  pytest-gpu-4:\n    uses: mosaicml/ci-testing/.github/workflows/pytest-gpu.yaml@v0.0.8\n    strategy:\n      matrix:\n        include:\n        - name: gpu-3.11-2.3-4\n          container: mosaicml/pytorch:2.3.1_cu121-python3.11-ubuntu20.04\n          markers: not daily and not remote and gpu and (doctest or not doctest)\n          pytest_command: coverage run -m pytest\n          composer_package_name: mosaicml\n    name: ${{ matrix.name }}\n    if: github.repository_owner == 'mosaicml'\n    with:\n      composer_package_name: ${{ matrix.composer_package_name }}\n      container: ${{ matrix.container }}\n      git_repo: mosaicml/composer\n      mcloud-timeout: 2250\n      name: ${{ matrix.name }}\n      pip_deps: \"[all]\"\n      pytest-command: ${{ matrix.pytest_command }}\n      pytest-markers: ${{ matrix.markers }}\n      python-version: 3.9\n      gpu_num: 4\n    secrets:\n      mcloud-api-key: ${{ secrets.MCLOUD_API_KEY }}\n", "state": "active", "repository": "mosaicml/composer"}
{"mined_at": "2024-07-15T16:45:42.983583", "created_at": "2023-02-17T01:00:38+01:00", "updated_at": "2024-04-26T18:06:55+02:00", "name": "PR CPU tests", "path": ".github/workflows/pr-cpu.yaml", "contents": "name: PR CPU tests\non:\n  pull_request:\n  workflow_dispatch:\n# Cancel old runs when a new commit is pushed to the same branch if not on main\n# or dev\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }}\njobs:\n  pytest-cpu:\n    uses: mosaicml/ci-testing/.github/workflows/pytest-cpu.yaml@v0.0.8\n    strategy:\n      matrix:\n        include:\n        - name: cpu-3.10-2.1\n          container: mosaicml/pytorch:2.1.2_cpu-python3.10-ubuntu20.04\n          markers: not daily and not remote and not gpu and not doctest\n          pytest_command: coverage run -m pytest\n        - name: cpu-3.11-2.2\n          container: mosaicml/pytorch:2.2.1_cpu-python3.11-ubuntu20.04\n          markers: not daily and not remote and not gpu and not doctest\n          pytest_command: coverage run -m pytest\n        - name: cpu-3.11-2.3\n          container: mosaicml/pytorch:2.3.1_cpu-python3.11-ubuntu20.04\n          markers: not daily and not remote and not gpu and not doctest\n          pytest_command: coverage run -m pytest\n        - name: cpu-doctest\n          container: mosaicml/pytorch:2.3.1_cpu-python3.11-ubuntu20.04\n          markers: not daily and not remote and not gpu and doctest\n          pytest_command: coverage run -m pytest tests/test_docs.py\n    name: ${{ matrix.name }}\n    if: github.repository_owner == 'mosaicml'\n    with:\n      composer_package_name: mosaicml\n      container: ${{ matrix.container }}\n      name: ${{ matrix.name }}\n      pip_deps: \"[all]\"\n      pytest-command: ${{ matrix.pytest_command }}\n      pytest-markers: ${{ matrix.markers }}\n      safe_directory: composer\n  coverage:\n    uses: ./.github/workflows/coverage.yaml\n    name: Coverage Results\n    if: github.repository_owner == 'mosaicml'\n    needs: [pytest-cpu]\n    with:\n      download-path: artifacts\n", "state": "active", "repository": "mosaicml/composer"}
{"mined_at": "2024-07-15T16:45:44.334842", "created_at": "2023-02-17T02:41:30+01:00", "updated_at": "2024-07-01T23:20:08+02:00", "name": "Daily", "path": ".github/workflows/daily.yaml", "contents": "name: Daily\non:\n  schedule:\n  - cron: \"30 2 * * *\"  # 2:30 every day\n  push:\n    branches:\n    - dev\n    - main\n    - release/**\n  workflow_dispatch:\n# Cancel old runs when a new commit is pushed to the same branch if not on main or dev\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }}\njobs:\n  daily-pytest-cpu:\n    uses: mosaicml/ci-testing/.github/workflows/pytest-cpu.yaml@v0.0.8\n    strategy:\n      matrix:\n        include:\n        - name: cpu-3.10-2.1\n          container: mosaicml/pytorch:2.1.2_cpu-python3.10-ubuntu20.04\n          markers: not daily and (remote or not remote) and not gpu and not doctest\n          pytest_command: coverage run -m pytest\n          composer_package_name: mosaicml\n        - name: cpu-3.11-2.2\n          container: mosaicml/pytorch:2.2.1_cpu-python3.11-ubuntu20.04\n          markers: not daily and (remote or not remote) and not gpu and not doctest\n          pytest_command: coverage run -m pytest\n          composer_package_name: mosaicml\n        - name: cpu-3.11-2.2-composer\n          container: mosaicml/pytorch:2.2.1_cpu-python3.11-ubuntu20.04\n          markers: not daily and (remote or not remote) and not gpu and not doctest\n          pytest_command: coverage run -m pytest\n          composer_package_name: composer\n        - name: cpu-3.11-2.3\n          container: mosaicml/pytorch:2.3.1_cpu-python3.11-ubuntu20.04\n          markers: not daily and (remote or not remote) and not gpu and not doctest\n          pytest_command: coverage run -m pytest\n          composer_package_name: mosaicml\n        - name: cpu-doctest\n          container: mosaicml/pytorch:2.1.2_cpu-python3.10-ubuntu20.04\n          markers: not daily and (remote or not remote) and not gpu and doctest\n          pytest_command: coverage run -m pytest tests/test_docs.py\n          composer_package_name: mosaicml\n        - name: daily-cpu-3.10-2.1\n          container: mosaicml/pytorch:2.1.2_cpu-python3.10-ubuntu20.04\n          markers: daily and (remote or not remote) and not gpu and not doctest\n          pytest_command: coverage run -m pytest\n          composer_package_name: mosaicml\n        - name: daily-cpu-3.11-2.2\n          container: mosaicml/pytorch:2.2.1_cpu-python3.11-ubuntu20.04\n          markers: daily and (remote or not remote) and not gpu and not doctest\n          pytest_command: coverage run -m pytest\n          composer_package_name: mosaicml\n        - name: daily-cpu-3.11-2.2-composer\n          container: mosaicml/pytorch:2.2.1_cpu-python3.11-ubuntu20.04\n          markers: daily and (remote or not remote) and not gpu and not doctest\n          pytest_command: coverage run -m pytest\n          composer_package_name: composer\n        - name: daily-cpu-3.11-2.3-composer\n          container: mosaicml/pytorch:2.3.1_cpu-python3.11-ubuntu20.04\n          markers: daily and (remote or not remote) and not gpu and not doctest\n          pytest_command: coverage run -m pytest\n          composer_package_name: composer\n        - name: daily-cpu-doctest\n          container: mosaicml/pytorch:2.2.1_cpu-python3.11-ubuntu20.04\n          markers: daily and (remote or not remote) and not gpu and doctest\n          pytest_command: coverage run -m pytest tests/test_docs.py\n          composer_package_name: mosaicml\n    name: ${{ matrix.name }}\n    if: github.repository_owner == 'mosaicml'\n    with:\n      container: ${{ matrix.container }}\n      name: ${{ matrix.name }}\n      pip_deps: \"[all]\"\n      pytest-command: ${{ matrix.pytest_command }}\n      pytest-markers: ${{ matrix.markers }}\n      composer_package_name: ${{ matrix.composer_package_name }}\n      pytest-wandb-entity: \"mosaicml-public-integration-tests\"\n      pytest-wandb-project: \"integration-tests-${{ github.sha }}\"\n      safe_directory: composer\n    secrets:\n      aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      wandb-api-key: ${{ secrets.WANDB_API_KEY }}\n      code-eval-device: ${{ secrets.CODE_EVAL_DEVICE }}\n      code-eval-url: ${{ secrets.CODE_EVAL_URL }}\n      code-eval-apikey: ${{ secrets.CODE_EVAL_APIKEY }}\n      gcs-key: ${{ secrets.GCS_KEY }}\n      gcs-secret: ${{ secrets.GCS_SECRET }}\n      azure-account-name: ${{ secrets.AZURE_ACCOUNT_NAME }}\n      azure-account-access-key: ${{ secrets.AZURE_ACCOUNT_ACCESS_KEY }}\n  coverage:\n    uses: ./.github/workflows/coverage.yaml\n    name: Coverage Results\n    if: github.repository_owner == 'mosaicml'\n    needs: [daily-pytest-cpu]\n    with:\n      download-path: artifacts\n\n  daily-pytest-gpu:\n    uses: mosaicml/ci-testing/.github/workflows/pytest-gpu.yaml@v0.0.8\n    strategy:\n      matrix:\n        # Unlike CPU tests, we run daily tests together with GPU tests to minimize launch time\n        # on MCLOUD and not eat up all GPUs at once\n        include:\n        - name: \"gpu-3.10-2.1-1-gpu\"\n          container: mosaicml/pytorch:2.1.2_cu121-python3.10-ubuntu20.04\n          markers: \"(daily or not daily) and (remote or not remote) and gpu and (doctest or not doctest)\"\n          pytest_command: \"coverage run -m pytest\"\n          composer_package_name: \"mosaicml\"\n          gpu_num: 1\n        - name: \"gpu-3.11-2.2-1-gpu\"\n          container: mosaicml/pytorch:2.2.1_cu121-python3.11-ubuntu20.04\n          markers: \"(daily or not daily) and (remote or not remote) and gpu and (doctest or not doctest)\"\n          pytest_command: \"coverage run -m pytest\"\n          composer_package_name: \"mosaicml\"\n          gpu_num: 1\n        - name: \"gpu-3.11-2.3-1-gpu\"\n          container: mosaicml/pytorch:2.3.1_cu121-python3.11-ubuntu20.04\n          markers: \"(daily or not daily) and (remote or not remote) and gpu and (doctest or not doctest)\"\n          pytest_command: \"coverage run -m pytest\"\n          composer_package_name: \"mosaicml\"\n          gpu_num: 1\n        - name: \"gpu-3.10-2.1-2-gpu\"\n          container: mosaicml/pytorch:2.1.2_cu121-python3.10-ubuntu20.04\n          markers: \"(daily or not daily) and (remote or not remote) and gpu and (doctest or not doctest)\"\n          pytest_command: \"coverage run -m pytest\"\n          composer_package_name: \"mosaicml\"\n          gpu_num: 2\n        - name: \"gpu-3.11-2.2-2-gpu\"\n          container: mosaicml/pytorch:2.2.1_cu121-python3.11-ubuntu20.04\n          markers: \"(daily or not daily) and (remote or not remote) and gpu and (doctest or not doctest)\"\n          pytest_command: \"coverage run -m pytest\"\n          composer_package_name: \"mosaicml\"\n          gpu_num: 2\n        - name: \"gpu-3.11-2.3-2-gpu\"\n          container: mosaicml/pytorch:2.3.1_cu121-python3.11-ubuntu20.04\n          markers: \"(daily or not daily) and (remote or not remote) and gpu and (doctest or not doctest)\"\n          pytest_command: \"coverage run -m pytest\"\n          composer_package_name: \"mosaicml\"\n          gpu_num: 2\n        - name: \"gpu-3.10-2.1-4-gpu\"\n          container: mosaicml/pytorch:2.1.2_cu121-python3.10-ubuntu20.04\n          markers: \"(daily or not daily) and (remote or not remote) and gpu and (doctest or not doctest)\"\n          pytest_command: \"coverage run -m pytest\"\n          composer_package_name: \"mosaicml\"\n          gpu_num: 4\n        - name: \"gpu-3.11-2.2-4-gpu\"\n          container: mosaicml/pytorch:2.2.1_cu121-python3.11-ubuntu20.04\n          markers: \"(daily or not daily) and (remote or not remote) and gpu and (doctest or not doctest)\"\n          pytest_command: \"coverage run -m pytest\"\n          composer_package_name: \"mosaicml\"\n          gpu_num: 4\n        - name: \"gpu-3.11-2.3-4-gpu\"\n          container: mosaicml/pytorch:2.3.1_cu121-python3.11-ubuntu20.04\n          markers: \"(daily or not daily) and (remote or not remote) and gpu and (doctest or not doctest)\"\n          pytest_command: \"coverage run -m pytest\"\n          composer_package_name: \"mosaicml\"\n          gpu_num: 4\n    name: ${{ matrix.name }}\n    if: github.repository_owner == 'mosaicml'\n    with:\n      composer_package_name: ${{ matrix.composer_package_name }}\n      container: ${{ matrix.container }}\n      git_repo: mosaicml/composer\n      mcloud-timeout: 5400\n      name: ${{ matrix.name }}\n      pip_deps: \"[all]\"\n      pytest-command: ${{ matrix.pytest_command }}\n      pytest-markers: ${{ matrix.markers }}\n      python-version: 3.9\n      gpu_num: ${{ matrix.gpu_num }}\n      gha-timeout: 5400\n    secrets:\n      mcloud-api-key: ${{ secrets.MCLOUD_DAILY_API_KEY }}\n", "state": "active", "repository": "mosaicml/composer"}
{"mined_at": "2024-07-15T16:45:45.887431", "created_at": "2023-02-17T23:20:53+01:00", "updated_at": "2024-03-21T21:49:32+01:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\n\non:\n  push:\n    tags:\n    - \"v*\"\n  workflow_dispatch:\n\njobs:\n  code-quality:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python_version:\n        - \"3.9\"\n        - \"3.10\"\n        - \"3.11\"\n        pip_deps:\n        - \"[dev]\"\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n    - name: Get composite run steps repository\n      uses: actions/checkout@v3\n      with:\n        repository: mosaicml/ci-testing\n        ref: v0.0.8\n        path: ./ci-testing\n    - uses: ./ci-testing/.github/actions/code-quality\n      with:\n        python_version: ${{ matrix.python_version }}\n        pip_deps: ${{ matrix.pip_deps }}\n\n  pypi-packaging:\n    name: Build and Publish mosaicml PyPI Package\n    needs:\n    - code-quality\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v3\n\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.9\"\n\n    - name: Build source and wheel distributions\n      run: |\n        if [[ \"${{ github.ref }}\" =~ refs\\/tags\\/v ]]; then\n          PYPI_PACKAGE_NAME=\"mosaicml\"\n        else\n          PYPI_PACKAGE_NAME=\"mosaicml-test-$(date +%Y%m%d%H%M%S)\"\n        fi\n\n        python -m pip install --upgrade build twine\n        COMPOSER_PACKAGE_NAME=$PYPI_PACKAGE_NAME python -m build\n        twine check --strict dist/*\n\n    - name: Publish 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      if: contains(github.ref, 'refs/tags/v')\n      with:\n        user: __token__\n        password: ${{ secrets.PROD_PYPI_API_TOKEN }}\n\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      if: contains(github.ref, 'refs/heads/') || contains(github.ref, 'refs/pull/')\n      with:\n        user: __token__\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n\n  pypi-composer-packaging:\n    name: Build and Publish composer PyPI Package\n    needs:\n    - code-quality\n    if: contains(github.ref, 'refs/tags/v')\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v3\n\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.9\"\n\n    - name: Build source and wheel distributions\n      run: |\n        PYPI_PACKAGE_NAME=\"composer\"\n\n        python -m pip install --upgrade build twine\n        COMPOSER_PACKAGE_NAME=$PYPI_PACKAGE_NAME python -m build\n        twine check --strict dist/*\n\n    - name: Publish 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PROD_COMPOSER_PYPI_API_TOKEN }}\n\n  production-docker-images:\n    name: Build and Push Production Docker Images\n    needs:\n    - pypi-packaging\n    - pypi-composer-packaging\n    uses: ./.github/workflows/release-docker.yaml\n    if: contains(github.ref, 'refs/tags/v')\n    secrets:\n      DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}\n      DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}\n", "state": "active", "repository": "mosaicml/composer"}
{"mined_at": "2024-07-15T16:45:47.488932", "created_at": "2023-02-18T00:22:30+01:00", "updated_at": "2023-07-22T01:53:43+02:00", "name": "Release Docker Images", "path": ".github/workflows/release-docker.yaml", "contents": "name: Release Docker Images\n\non:\n  workflow_dispatch:\n  workflow_call:\n    secrets:\n      DOCKER_HUB_USERNAME:\n        required: true\n      DOCKER_HUB_PASSWORD:\n        required: true\n\ndefaults:\n  run:\n    working-directory: .\n\njobs:\n  build-image-matrix:\n    if: github.repository_owner == 'mosaicml'\n    runs-on: ubuntu-latest\n    timeout-minutes: 2\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n    - uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - uses: actions/checkout@v3\n    - id: set-matrix\n      run: |\n        # Install yaml dependency\n        pip install pyyaml\n\n        # Generate build matrix\n        BUILD_MATRIX=$(python .github/bin/gen_docker_matrix.py docker/build_matrix.yaml)\n        echo $BUILD_MATRIX >> $GITHUB_OUTPUT\n\n  stage-docker-build:\n    needs: build-image-matrix\n    uses: ./.github/workflows/docker-configure-build-push.yaml\n    strategy:\n      fail-fast: true\n      matrix: ${{ fromJSON(needs.build-image-matrix.outputs.matrix) }}\n    name: ${{ matrix.IMAGE_NAME }}\n    with:\n      build-args: |\n        AWS_OFI_NCCL_VERSION=${{ matrix.AWS_OFI_NCCL_VERSION }}\n        BASE_IMAGE=${{ matrix.BASE_IMAGE }}\n        CUDA_VERSION=${{ matrix.CUDA_VERSION }}\n        MOFED_VERSION=${{ matrix.MOFED_VERSION }}\n        PYTHON_VERSION=${{ matrix.PYTHON_VERSION }}\n        PYTORCH_VERSION=${{ matrix.PYTORCH_VERSION }}\n        TORCHTEXT_VERSION=${{ matrix.TORCHTEXT_VERSION }}\n        TORCHVISION_VERSION=${{ matrix.TORCHVISION_VERSION }}\n        PYTORCH_NIGHTLY_URL=${{ matrix.PYTORCH_NIGHTLY_URL }}\n        PYTORCH_NIGHTLY_VERSION=${{ matrix.PYTORCH_NIGHTLY_VERSION }}\n        NVIDIA_REQUIRE_CUDA_OVERRIDE=${{ matrix.NVIDIA_REQUIRE_CUDA_OVERRIDE }}\n      context: ./docker\n      image-name: ${{ matrix.IMAGE_NAME }}\n      image-uuid: ${{ matrix.UUID }}\n      push: true\n      staging: false\n      tags: ${{ matrix.TAGS }}\n      target: ${{ matrix.TARGET }}\n    secrets:\n      username: ${{ secrets.DOCKER_HUB_USERNAME }}\n      password: ${{ secrets.DOCKER_HUB_PASSWORD }}\n", "state": "active", "repository": "mosaicml/composer"}
{"mined_at": "2024-07-15T16:45:48.732694", "created_at": "2023-02-22T18:49:51+01:00", "updated_at": "2023-02-22T18:49:51+01:00", "name": "Docker Image Configure-Build-Push", "path": ".github/workflows/docker-configure-build-push.yaml", "contents": "name: Docker Image Configure-Build-Push\non:\n  workflow_call:\n    inputs:\n      build-args:\n        required: false\n        type: string\n      context:\n        required: true\n        type: string\n      image-name:\n        required: true\n        type: string\n      image-uuid:\n        required: false\n        type: string\n      push:\n        required: true\n        type: boolean\n      staging:\n        required: true\n        type: boolean\n      staging-repo:\n        required: false\n        type: string\n      tags:\n        required: true\n        type: string\n      target:\n        required: false\n        type: string\n    secrets:\n      username:\n        required: true\n      password:\n        required: true\njobs:\n  configure-build-push:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Maximize Build Space on Worker\n      uses: easimon/maximize-build-space@v4\n      with:\n        overprovision-lvm: true\n        remove-dotnet: true\n        remove-android: true\n        remove-haskell: true\n\n    - name: Checkout\n      uses: actions/checkout@v3\n\n    - name: Setup QEMU\n      uses: docker/setup-qemu-action@v2\n\n    - name: Setup Docker Buildx\n      uses: docker/setup-buildx-action@v2\n\n    - name: Login to DockerHub\n      uses: docker/login-action@v2\n      with:\n        username: ${{ secrets.username }}\n        password: ${{ secrets.password }}\n\n    - name: Calculate Docker Image Variables\n      run: |\n        set -euo pipefail\n\n        ###################\n        # Calculate the tag\n        ###################\n        if [ \"${{ inputs.staging }}\" = \"true\" ]; then\n          STAGING_REPO=${{ inputs.staging-repo }}\n          IMAGE_TAG=${STAGING_REPO}:${{ inputs.image-uuid }}\n          IMAGE_CACHE=\"${STAGING_REPO}:${{ inputs.image-name }}-buildcache\"\n        else\n          IMAGE_TAG=${{ inputs.tags }}\n          IMAGE_CACHE=\"${IMAGE_TAG/,*/}-buildcache\"\n        fi\n\n        echo \"IMAGE_TAG=${IMAGE_TAG}\" >> ${GITHUB_ENV}\n        echo \"IMAGE_CACHE=${IMAGE_CACHE}\" >> ${GITHUB_ENV}\n\n    - name: IMAGE_TAG = ${{ env.IMAGE_TAG }}\n      run: echo ${{ env.IMAGE_TAG }}\n\n    - name: Build and Push the Docker Image\n      uses: docker/build-push-action@v3\n      with:\n        context: ${{ inputs.context }}\n        tags: ${{ env.IMAGE_TAG }}\n        target: ${{ inputs.target }}\n        push: ${{ inputs.push }}\n        cache-from: type=registry,ref=${{ env.IMAGE_CACHE }}\n        cache-to: type=registry,ref=${{ env.IMAGE_CACHE }},mode=max\n        build-args: ${{ inputs.build-args }}\n", "state": "active", "repository": "mosaicml/composer"}
{"mined_at": "2024-07-15T16:45:49.779057", "created_at": "2023-03-04T00:37:03+01:00", "updated_at": "2024-01-30T23:45:06+01:00", "name": "Smoketest", "path": ".github/workflows/smoketest.yaml", "contents": "name: Smoketest\non:\n  push:\n    branches:\n    - dev\n    - main\n    - release/**\n  pull_request:\n  workflow_call:\n  workflow_dispatch:\n# Cancel old runs when a new commit is pushed to the same branch if not on main\n# or dev\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }}\ndefaults:\n  run:\n    working-directory: .\njobs:\n  smoketest:\n    runs-on: ubuntu-20.04\n    timeout-minutes: 10\n    strategy:\n      matrix:\n        python_version:\n        - \"3.9\"\n        - \"3.10\"\n        - \"3.11\"\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n    - name: Get composite run steps repository\n      uses: actions/checkout@v3\n      with:\n        repository: mosaicml/ci-testing\n        ref: v0.0.8\n        path: ./ci-testing\n    - uses: ./ci-testing/.github/actions/smoketest\n      with:\n        python_version: ${{ matrix.python_version }}\n", "state": "active", "repository": "mosaicml/composer"}
{"mined_at": "2024-07-15T16:45:50.808883", "created_at": "2024-01-18T20:00:16+01:00", "updated_at": "2024-02-27T20:16:49+01:00", "name": "PR Code Quality Checks", "path": ".github/workflows/pr-code-quality.yaml", "contents": null, "state": "active", "repository": "mosaicml/composer"}
{"mined_at": "2024-07-15T16:45:53.031135", "created_at": "2021-05-10T13:10:14+02:00", "updated_at": "2022-02-10T14:25:31+01:00", "name": "Build Validation", "path": ".github/workflows/build_validation_develop.yml", "contents": "---\nname: Build Validation\n\non:  # yamllint disable-line rule:truthy\n  pull_request:\n    branches:\n      - main\n      - 'feature/**'\n\n# for each ref (branch/pr) run just the most recent,\n# cancel other pending/running ones\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.head_ref }}\"\n  cancel-in-progress: true\n\njobs:\n  lint:\n    name: Lint\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          # Full git history is needed to get a proper list of\n          # changed files within `super-linter`\n          fetch-depth: 0\n          persist-credentials: false\n\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            terraform:\n              # our Terraform uses more than just *.tf files, so need to check changes in the folder\n              - '**/terraform/**/*'\n            core:\n              - 'core/**/*'\n            core_version:\n              - 'core/version.txt'\n            docs:\n              - 'docs/**/*'\n\n            terraform_workspaces:\n              - templates/workspaces/**/terraform/**/*.tf\n\n            terraform_shared_services:\n              - templates/shared_services/**/terraform/**/*.tf\n\n            terraform_workspace_services:\n              - templates/workspace_services/**/terraform/**/*.tf\n\n      - name: Terraform format check\n        if: ${{ steps.filter.outputs.terraform == 'true' }}\n        run: terraform fmt -check -recursive\n\n      # find all terraform folders and run validate to catch\n      # configuration errors\n      - name: Terraform validation\n        if: ${{ steps.filter.outputs.terraform == 'true' }}\n        run: |\n          find . -type d -name 'terraform' -not -path '*cnab*' -print0 \\\n          | xargs -0 -I{} sh -c 'echo \"***** Validating: {} *****\"; \\\n          terraform -chdir={} init -backend=false; terraform -chdir={} validate'\n\n      - name: \"Stale version: core\"\n        if: ${{ steps.filter.outputs.core == 'true' &&\n          steps.filter.outputs.core_version == 'false' }}\n        run: echo \"::error::Code update without version change\" && exit 1\n\n      - name: Lint code base\n        # the slim image is 2GB smaller and we don't use the extra stuff\n        # Moved this after the Terraform checks above due something similar to this issue:\n        # https://github.com/github/super-linter/issues/2433\n        uses: github/super-linter/slim@v5.0.0\n        env:\n          VALIDATE_ALL_CODEBASE: false\n          DEFAULT_BRANCH: main\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VALIDATE_MARKDOWN: true\n          VALIDATE_PYTHON_FLAKE8: true\n          VALIDATE_YAML: true\n          VALIDATE_TERRAFORM_TFLINT: true\n          VALIDATE_JAVA: true\n          JAVA_FILE_NAME: checkstyle.xml\n          VALIDATE_BASH: true\n          VALIDATE_BASH_EXEC: true\n          VALIDATE_GITHUB_ACTIONS: true\n          VALIDATE_DOCKERFILE_HADOLINT: true\n          VALIDATE_TSX: true\n          VALIDATE_TYPESCRIPT_ES: true\n\n      - name: Docs validation\n        if: ${{ steps.filter.outputs.docs == 'true' }}\n        run: |\n          pip install -r docs/requirements.txt\n          mkdocs build --strict\n\n      - name: Workspace Tags\n        if: ${{ steps.filter.outputs.terraform_workspaces == 'true' }}\n        uses: github/super-linter/slim@v5.0.0\n        env:\n          VALIDATE_ALL_CODEBASE: false\n          DEFAULT_BRANCH: main\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VALIDATE_TERRAFORM_TFLINT: true\n          TERRAFORM_TFLINT_CONFIG_FILE: .tflint_workspaces.hcl\n          LINTER_REGEX_INCLUDE: './templates/workspaces/.*'\n\n      - name: Workspace Services Tags\n        if: ${{ steps.filter.outputs.terraform_workspace_services == 'true' }}\n        uses: github/super-linter/slim@v5.0.0\n        env:\n          VALIDATE_ALL_CODEBASE: false\n          DEFAULT_BRANCH: main\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VALIDATE_TERRAFORM_TFLINT: true\n          TERRAFORM_TFLINT_CONFIG_FILE: .tflint_workspace_services.hcl\n          LINTER_REGEX_INCLUDE: './templates/workspaces/.*'\n          FILTER_REGEX_EXCLUDE: '.*user_resource.*'\n\n      - name: User Resources Tags\n        if: ${{ steps.filter.outputs.terraform_workspace_services == 'true' }}\n        uses: github/super-linter/slim@v5.0.0\n        env:\n          VALIDATE_ALL_CODEBASE: false\n          DEFAULT_BRANCH: main\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VALIDATE_TERRAFORM_TFLINT: true\n          TERRAFORM_TFLINT_CONFIG_FILE: .tflint_user_resources.hcl\n          LINTER_REGEX_INCLUDE: './templates/workspace_services/.*/user_resources/.*'\n\n      - name: Shared Services Tags\n        if: ${{ steps.filter.outputs.terraform_shared_services == 'true' }}\n        uses: github/super-linter/slim@v5.0.0\n        env:\n          VALIDATE_ALL_CODEBASE: false\n          DEFAULT_BRANCH: main\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VALIDATE_TERRAFORM_TFLINT: true\n          TERRAFORM_TFLINT_CONFIG_FILE: .tflint_shared_services.hcl\n          LINTER_REGEX_INCLUDE: './templates/shared_services/.*'\n", "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:45:54.237952", "created_at": "2021-06-15T19:25:23+02:00", "updated_at": "2022-02-10T14:25:31+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "---\n# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:  # yamllint disable-line rule:truthy\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  schedule:\n    - cron: '41 3 * * 5'\n\n# for each ref (branch/pr) run just the most recent,\n# cancel other pending/running ones\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.head_ref }}\"\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: ['python', 'java', 'javascript', 'typescript']\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n\n      - if: matrix.language == 'java'\n        name: Build Java\n        working-directory: templates/workspace_services/guacamole/guacamole-server/guacamole-auth-azure\n        run: mvn package\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:45:55.389643", "created_at": "2021-09-12T10:08:25+02:00", "updated_at": "2022-02-10T14:25:31+01:00", "name": "Docker build", "path": ".github/workflows/build_docker_images.yml", "contents": "---\nname: Docker build\n\non:  # yamllint disable-line rule:truthy\n  pull_request:\n    branches:\n      - main\n      - 'feature/**'\n  workflow_dispatch:\n\n# for each ref (branch/pr) run just the most recent, cancel\n# other pending/running ones\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.head_ref }}\"\n  cancel-in-progress: true\n\njobs:\n  docker_build:\n    name: Build images\n    runs-on: ubuntu-latest\n    steps:\n      - name: Upload Event File\n        # this step is required to publish test results from forks\n        uses: actions/upload-artifact@v4\n        with:\n          name: Event File\n          path: ${{ github.event_path }}\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Filter changes\n        uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            api:\n              - 'api_app/**/*'\n            api_version:\n              - 'api_app/_version.py'\n            resource_processor:\n              - 'resource_processor/**/*'\n            resource_processor_version:\n              - 'resource_processor/_version.py'\n            guacamole_server:\n              - 'templates/workspace_services/guacamole/guacamole-server/**/*'\n            guacamole_server_version:\n              - 'templates/workspace_services/guacamole/guacamole-server/docker/version.txt'\n            gitea:\n              - 'templates/shared_services/gitea/docker/**/*'\n            gitea_version:\n              - 'templates/shared_services/gitea/docker/version.txt'\n            airlock_processor:\n              - 'airlock_processor/**/*'\n            airlock_processor_version:\n              - 'airlock_processor/_version.py'\n            ui_app:\n              - 'ui/app/**/*'\n            ui_app_version:\n              - 'ui/app/package.json'\n\n      - name: \"Stale version: api\"\n        if: ${{ steps.filter.outputs.api == 'true' &&\n          steps.filter.outputs.api_version == 'false' }}\n        run: echo \"::error::Code update without version change\" && exit 1\n\n      - name: \"Stale version: resource_processor\"\n        if: ${{ steps.filter.outputs.resource_processor == 'true' &&\n          steps.filter.outputs.resource_processor_version == 'false' }}\n        run: echo \"::error::Code update without version change\" && exit 1\n\n      - name: \"Stale version: guacamole_server\"\n        if: ${{ steps.filter.outputs.guacamole_server == 'true' &&\n          steps.filter.outputs.guacamole_server_version == 'false' }}\n        run: echo \"::error::Code update without version change\" && exit 1\n\n      - name: \"Stale version: gitea\"\n        if: ${{ steps.filter.outputs.gitea == 'true' &&\n          steps.filter.outputs.gitea_version == 'false' }}\n        run: echo \"::error::Code update without version change\" && exit 1\n\n      - name: \"Stale version: airlock_processor\"\n        if: ${{ steps.filter.outputs.airlock_processor == 'true' &&\n          steps.filter.outputs.airlock_processor_version == 'false' }}\n        run: echo \"::error::Code update without version change\" && exit 1\n\n      - name: \"Stale version: ui_app\"\n        if: ${{ steps.filter.outputs.ui_app == 'true' &&\n          steps.filter.outputs.ui_app_version == 'false' }}\n        run: echo \"::error::Code update without version change\" && exit 1\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      # Unit Tests are executed by calling the 'test-results' target in the\n      # Dockerfile's. Test runner exit codes must be swallowed (and kept) so we\n      # can output the test results. This means we have to check for failure\n      # trigger files in later steps.\n      - name: \"Test image: api\"\n        # test should be before build since its docker target\n        # is prior to runtime\n        if: |\n          (steps.filter.outputs.api == 'true'\n          || github.event_name == 'workflow_dispatch')\n        uses: docker/build-push-action@v5\n        with:\n          context: ./api_app/\n          file: ./api_app/Dockerfile\n          outputs: type=local,dest=test-results\n          target: test-results\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: \"Check pytest failure file existence\"\n        id: check_api_test_result\n        uses: andstor/file-existence-action@v3\n        with:\n          files: \"test-results/pytest_api_unit_failed\"\n\n      - name: \"Build image: api\"\n        if: |\n          (steps.filter.outputs.api == 'true'\n          || github.event_name == 'workflow_dispatch')\n          && steps.check_api_test_result.outputs.files_exists == 'false'\n        uses: docker/build-push-action@v5\n        with:\n          context: ./api_app/\n          file: ./api_app/Dockerfile\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: \"Build image: resource_processor\"\n        if: |\n          (steps.filter.outputs.resource_processor == 'true'\n          || github.event_name == 'workflow_dispatch')\n        uses: docker/build-push-action@v5\n        with:\n          context: ./resource_processor\n          file: ./resource_processor/vmss_porter/Dockerfile\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: \"Test image: guacamole_server\"\n        if: |\n          (steps.filter.outputs.guacamole_server == 'true'\n          || github.event_name == 'workflow_dispatch')\n        uses: docker/build-push-action@v5\n        with:\n          context: ./templates/workspace_services/guacamole/guacamole-server\n          file: ./templates/workspace_services/guacamole/guacamole-server/docker/Dockerfile\n          outputs: type=local,dest=test-results\n          target: test-results\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: \"Check maven failure file existence\"\n        id: check_maven_test_result\n        uses: andstor/file-existence-action@v3\n        with:\n          files: \"test-results/guacamole_package_failed\"\n\n      - name: \"Build image: guacamole_server\"\n        if: |\n          (steps.filter.outputs.guacamole_server == 'true'\n          || github.event_name == 'workflow_dispatch')\n          && steps.check_maven_test_result.outputs.files_exists == 'false'\n        uses: docker/build-push-action@v5\n        with:\n          context: ./templates/workspace_services/guacamole/guacamole-server\n          file: ./templates/workspace_services/guacamole/guacamole-server/docker/Dockerfile\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: \"Build image: gitea\"\n        if: |\n          (steps.filter.outputs.gitea == 'true'\n          || github.event_name == 'workflow_dispatch')\n        uses: docker/build-push-action@v5\n        with:\n          context: ./templates/shared_services/gitea/docker\n          file: ./templates/shared_services/gitea/docker/Dockerfile\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      # Unit Tests are executed by calling the 'test-results' target in the\n      # Dockerfile's. Test runner exit codes must be swallowed (and kept) so we\n      # can output the test results. This means we have to check for failure\n      # trigger files in later steps.\n      - name: \"Test image: airlock_processor\"\n        # test should be before build since its docker target\n        # is prior to runtime\n        if: |\n          (steps.filter.outputs.airlock_processor == 'true'\n          || github.event_name == 'workflow_dispatch')\n        uses: docker/build-push-action@v5\n        with:\n          context: ./airlock_processor/\n          file: ./airlock_processor/Dockerfile\n          outputs: type=local,dest=test-results\n          target: test-results\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: \"Check pytest failure file existence\"\n        id: check_airlock_processor_test_result\n        uses: andstor/file-existence-action@v3\n        with:\n          files: \"test-results/pytest_airlock_processor_unit_failed\"\n\n      - name: \"Build image: airlock_processor\"\n        if: |\n          (steps.filter.outputs.airlock_processor == 'true'\n          || github.event_name == 'workflow_dispatch')\n          && steps.check_airlock_processor_test_result.outputs.files_exists == 'false'\n        uses: docker/build-push-action@v5\n        with:\n          context: ./airlock_processor/\n          file: ./airlock_processor/Dockerfile\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Upload Unit Test Results\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-results\n          path: test-results\n", "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:45:56.540252", "created_at": "2021-09-17T11:28:24+02:00", "updated_at": "2023-01-30T13:38:17+01:00", "name": "Deploy Documentation", "path": ".github/workflows/build_docs.yml", "contents": "---\nname: Deploy Documentation\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n  push:\n    paths:\n      - \"docs/**\"\n      - mkdocs.yml\n    branches:\n      - main\njobs:\n  deploy:\n    name: Deploy Documentation\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: Checkout main\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          persist-credentials: true\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - name: Install Dependencies\n        run: |\n          pip install -r docs/requirements.txt\n      - name: Configure Git User\n        # Required by mike for the commit it does to the gh-pages branch\n        run: |\n          git config user.name \"ci-docs\"\n          git config user.email \"ci-docs@dummy.com\"\n      - name: Deploy the latest documents from new release\n        if: ${{ github.event_name == 'release' }}\n        run: mike deploy --push --update-aliases \"${GITHUB_REF#refs/*/}\" latest\n      - name: Deploy the development docs\n        if: ${{ github.event_name != 'release' }}\n        run: mike deploy --push unreleased\n", "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:45:57.627349", "created_at": "2022-01-06T19:14:59+01:00", "updated_at": "2022-01-06T19:14:59+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:45:58.669469", "created_at": "2022-01-19T10:14:20+01:00", "updated_at": "2022-01-20T10:12:27+01:00", "name": "Renew Lets Encrypt Certificates", "path": ".github/workflows/lets_encrypt.yml", "contents": "---\nname: Renew Lets Encrypt Certificates\n\non:  # yamllint disable-line rule:truthy\n  schedule:\n    # 3am each month https://crontab.guru/#0_3_1_*_*\n    - cron: \"0 3 1 * *\"\n  workflow_dispatch:\n\n# This will prevent multiple runs of this entire workflow.\n# We should NOT cancel in progress runs as that can destabilize the environment.\nconcurrency: letsencrypt\n\nenv:\n  USE_ENV_VARS_NOT_FILES: true\n  TF_INPUT: 0  # interactive is off\n  TF_IN_AUTOMATION: 1  # Run in headless mode\n\njobs:\n  renew_letsencrypt_certs:\n    name: Renew Lets Encrypt Certificates\n    runs-on: ubuntu-latest\n    environment: CICD\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Install Terraform\n        uses: hashicorp/setup-terraform@v3\n        with:\n          terraform_version: 1.2.9\n          terraform_wrapper: false\n\n      - name: Renew Certificates\n        shell: bash\n        env:\n          ARM_CLIENT_ID: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientId }}\n          ARM_CLIENT_SECRET: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientSecret }}\n          ARM_SUBSCRIPTION_ID: ${{ fromJSON(secrets.AZURE_CREDENTIALS).tenantId }}\n          ARM_TENANT_ID: ${{ fromJSON(secrets.AZURE_CREDENTIALS).subscriptionId }}\n          TRE_ID: ${{ secrets.TRE_ID }}\n          TERRAFORM_STATE_CONTAINER_NAME:\n            ${{ secrets.TERRAFORM_STATE_CONTAINER_NAME && secrets.TERRAFORM_STATE_CONTAINER_NAME || 'tfstate' }}\n          MGMT_RESOURCE_GROUP_NAME: ${{ secrets.MGMT_RESOURCE_GROUP_NAME }}\n          MGMT_STORAGE_ACCOUNT_NAME: ${{ secrets.MGMT_STORAGE_ACCOUNT_NAME }}\n        run: |\n          sudo apt-get install -y python3 python3-venv libaugeas0 \\\n            && python3 -m venv /opt/certbot/ \\\n            && /opt/certbot/bin/pip install --upgrade pip \\\n            && /opt/certbot/bin/pip install certbot\n          make letsencrypt\n", "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:45:59.776852", "created_at": "2022-02-03T14:57:47+01:00", "updated_at": "2024-06-27T12:08:00+02:00", "name": "Clean Validation Environments", "path": ".github/workflows/clean_validation_envs.yml", "contents": "---\nname: Clean Validation Environments\n\non:  # yamllint disable-line rule:truthy\n  schedule:\n    # Every 2 hours\n    - cron: \"0 */2 * * *\"\n  workflow_dispatch:\n\njobs:\n  clean:\n    name: Clean\n    runs-on: ubuntu-latest\n    environment: CICD\n    timeout-minutes: 30\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # This is CRITICAL since we're making decisions based on branch existence\n          fetch-depth: 0\n          persist-credentials: false\n\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          creds: ${{ secrets.AZURE_CREDENTIALS }}\n          environment: ${{ (secrets.AZURE_ENVIRONMENT != '' && secrets.AZURE_ENVIRONMENT) || 'AzureCloud' }}\n\n      - name: Run clean\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          MAIN_TRE_ID: ${{ secrets.TRE_ID }}\n          GITHUB_REPOSITORY: ${{ github.repository}}\n          BRANCH_LAST_ACTIVITY_IN_HOURS_FOR_STOP: 2\n          BRANCH_LAST_ACTIVITY_IN_HOURS_FOR_DESTROY: 48\n        run: devops/scripts/clean_ci_validation_envs.sh\n", "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:46:00.904008", "created_at": "2022-02-10T11:34:50+01:00", "updated_at": "2023-04-04T09:17:25+02:00", "name": "Deploy Azure TRE Reusable", "path": ".github/workflows/deploy_tre_reusable.yml", "contents": "---\nname: Deploy Azure TRE Reusable\n\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      prRef:\n        description: The git ref to checkout\n        type: string\n        required: false\n      prHeadSha:\n        description: >-\n          For PR builds where GITHUB_REF isn't set to the PR (e.g. comment trigger),\n          pass the PR's head SHA commit here\n        type: string\n        required: false\n      ciGitRef:\n        description: The git ref to use in annotations to associate a deployment with the code that triggered it\n        type: string\n        required: true\n      e2eTestsCustomSelector:\n        description: The pytest marker selector for the e2e tests to be run\n        type: string\n        default: \"\"\n        required: false\n      environmentName:\n        description: The name of the Github Action's environment this will deploy into\n        type: string\n        required: true\n      E2E_TESTS_NUMBER_PROCESSES:\n        description: \"\"\n        type: number\n        required: false\n      DEVCONTAINER_TAG:\n        description: \"\"\n        type: string\n        required: true\n    secrets:\n      AAD_TENANT_ID:\n        description: \"\"\n        required: true\n      ACR_NAME:\n        description: \"\"\n        required: true\n      API_CLIENT_ID:\n        description: \"\"\n        required: true\n      API_CLIENT_SECRET:\n        description: \"\"\n        required: true\n      APPLICATION_ADMIN_CLIENT_ID:\n        description: \"\"\n        required: true\n      APPLICATION_ADMIN_CLIENT_SECRET:\n        description: \"\"\n        required: true\n      MGMT_RESOURCE_GROUP_NAME:\n        description: \"\"\n        required: true\n      MS_TEAMS_WEBHOOK_URI:\n        description: \"\"\n        required: true\n      MGMT_STORAGE_ACCOUNT_NAME:\n        description: \"\"\n        required: true\n      SWAGGER_UI_CLIENT_ID:\n        description: \"\"\n        required: true\n      TEST_APP_ID:\n        description: \"\"\n        required: true\n      TEST_WORKSPACE_APP_ID:\n        description: \"\"\n        required: true\n      TEST_WORKSPACE_APP_SECRET:\n        description: \"\"\n        required: true\n      TEST_ACCOUNT_CLIENT_ID:\n        description: \"\"\n        required: true\n      TEST_ACCOUNT_CLIENT_SECRET:\n        description: \"\"\n        required: true\n      TRE_ID:\n        description: \"\"\n        required: true\n      CI_CACHE_ACR_NAME:\n        description: \"\"\n        required: false\n      AZURE_CREDENTIALS:\n        description: \"\"\n        required: true\n\n# This will prevent multiple runs of this entire workflow.\n# We should NOT cancel in progress runs as that can destabilize the environment.\nconcurrency: \"deploy-${{ inputs.ciGitRef }}\"\n\njobs:\n  deploy_management:\n    name: Deploy Management\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      contents: read\n    environment: ${{ inputs.environmentName }}\n    steps:\n      - name: Show inputs\n        run: |\n          echo \"Inputs\"\n          echo \"======\"\n          echo \"prRef       : ${{ inputs.prRef }}\"\n          echo \"prRHeadSha  : ${{ inputs.prHeadSha }}\"\n          echo \"ciGitRef    : ${{ inputs.ciGitRef }}\"\n          echo \"environment : ${{ inputs.environmentName }}\"\n\n      - name: Check required values\n        id: check_required_values\n        # since this is a resuable workflow, required=true secrets will always have a value but it can be empty.\n        run: |\n          if [ \"${{ secrets.AAD_TENANT_ID }}\" == '' ]; then\n            echo \"Missing secret: AAD_TENANT_ID\" && exit 1\n          fi\n          if [ \"${{ secrets.ACR_NAME }}\" == '' ]; then\n            echo \"Missing secret: ACR_NAME\" && exit 1\n          fi\n          if [ \"${{ secrets.API_CLIENT_ID }}\" == '' ]; then\n            echo \"Missing secret: API_CLIENT_ID\" && exit 1\n          fi\n          if [ \"${{ secrets.API_CLIENT_SECRET }}\" == '' ]; then\n            echo \"Missing secret: API_CLIENT_SECRET\" && exit 1\n          fi\n          if [ \"${{ secrets.APPLICATION_ADMIN_CLIENT_ID }}\" == '' ]; then\n            echo \"Missing secret: APPLICATION_ADMIN_CLIENT_ID\" && exit 1\n          fi\n          if [ \"${{ secrets.APPLICATION_ADMIN_CLIENT_SECRET }}\" == '' ]; then\n            echo \"Missing secret: APPLICATION_ADMIN_CLIENT_SECRET\" && exit 1\n          fi\n          if [ \"${{ secrets.MGMT_RESOURCE_GROUP_NAME }}\" == '' ]; then\n            echo \"Missing secret: MGMT_RESOURCE_GROUP_NAME\" && exit 1\n          fi\n          if [ \"${{ secrets.MGMT_STORAGE_ACCOUNT_NAME }}\" == '' ]; then\n            echo \"Missing secret: MGMT_STORAGE_ACCOUNT_NAME\" && exit 1\n          fi\n          if [ \"${{ secrets.SWAGGER_UI_CLIENT_ID }}\" == '' ]; then\n            echo \"Missing secret: SWAGGER_UI_CLIENT_ID\" && exit 1\n          fi\n          if [ \"${{ secrets.TEST_APP_ID }}\" == '' ]; then\n            echo \"Missing secret: TEST_APP_ID\" && exit 1\n          fi\n          if [ \"${{ secrets.TEST_WORKSPACE_APP_ID }}\" == '' ]; then\n            echo \"Missing secret: TEST_WORKSPACE_APP_ID\" && exit 1\n          fi\n          if [ \"${{ secrets.TEST_WORKSPACE_APP_SECRET }}\" == '' ]; then\n            echo \"Missing secret: TEST_WORKSPACE_APP_SECRET\" && exit 1\n          fi\n          if [ \"${{ secrets.TEST_ACCOUNT_CLIENT_ID }}\" == '' ]; then\n            echo \"Missing secret: TEST_ACCOUNT_CLIENT_ID\" && exit 1\n          fi\n          if [ \"${{ secrets.TEST_ACCOUNT_CLIENT_SECRET }}\" == '' ]; then\n            echo \"Missing secret: TEST_ACCOUNT_CLIENT_SECRET\" && exit 1\n          fi\n          if [ \"${{ secrets.TRE_ID }}\" == '' ]; then\n            echo \"Missing secret: TRE_ID\" && exit 1\n          fi\n          if [ \"${{ secrets.AZURE_CREDENTIALS }}\" == '' ]; then\n            echo \"Missing secret: AZURE_CREDENTIALS\" && exit 1\n          fi\n\n          if [ \"${{ inputs.DEVCONTAINER_TAG }}\" == '' ]; then\n            echo \"Missing input: DEVCONTAINER_TAG\" && exit 1\n          fi\n\n          if [ \"${{ vars.LOCATION }}\" == '' ]; then\n            echo \"Missing variable: LOCATION\" && exit 1\n          fi\n\n      - name: Report check status start\n        if: inputs.prHeadSha != ''\n        uses: LouisBrunner/checks-action@v2.0.0\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          sha: ${{ inputs.prHeadSha }}\n          name: \"Deploy PR / Run E2E Tests (Smoke)\"\n          status: \"in_progress\"\n          details_url: \"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n\n      - name: Set up Docker BuildKit\n        uses: docker/setup-buildx-action@v3\n\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          creds: ${{ secrets.AZURE_CREDENTIALS }}\n          environment: ${{ (vars.AZURE_ENVIRONMENT != '' && vars.AZURE_ENVIRONMENT) || 'AzureCloud' }}\n\n      - name: ACR Login\n        id: ci_cache_cr_login\n        # will fail if this is a new env which is expected\n        continue-on-error: true\n        run: az acr login --name \"${{ secrets.CI_CACHE_ACR_NAME }}\"\n\n      - name: Build new devcontainer\n        env:\n          DOCKER_BUILDKIT: 1\n        run: |\n          set -e\n\n          USER_UID=$(id -u)\n          USER_GID=$(id -g)\n          acr_domain_suffix=$(az cloud show --query suffixes.acrLoginServerEndpoint --output tsv)\n          CI_CACHE_ACR_URI=${{ secrets.CI_CACHE_ACR_NAME }}${acr_domain_suffix}\n          echo \"CI_CACHE_ACR_URI=$CI_CACHE_ACR_URI\" >> \"$GITHUB_ENV\"\n\n          docker_cache=()\n          if [ \"${{ steps.ci_cache_cr_login.outcome }}\" = \"success\" ]; then\n            docker_cache+=(--cache-from \"$CI_CACHE_ACR_URI/tredev:${{ inputs.DEVCONTAINER_TAG }}\")\n            docker_cache+=(--cache-from \"$CI_CACHE_ACR_URI/tredev:latest\")\n          fi\n\n          docker build . \"${docker_cache[@]}\" \\\n            -t \"tredev:${{ inputs.DEVCONTAINER_TAG }}\" -f \".devcontainer/Dockerfile\" \\\n            --build-arg BUILDKIT_INLINE_CACHE=1 --build-arg USER_UID=\"${USER_UID}\" --build-arg USER_GID=\"${USER_GID}\"\n\n          docker image tag tredev:\"${{ inputs.DEVCONTAINER_TAG }}\" \\\n            \"$CI_CACHE_ACR_URI/tredev:${{ inputs.DEVCONTAINER_TAG }}\"\n\n      - name: Deploy management\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: \"make bootstrap mgmt-deploy\"\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          TRE_ID: ${{ secrets.TRE_ID }}\n          LOCATION: ${{ vars.LOCATION }}\n          ACR_NAME: ${{ secrets.ACR_NAME }}\n          TERRAFORM_STATE_CONTAINER_NAME: ${{ vars.TERRAFORM_STATE_CONTAINER_NAME }}\n          MGMT_RESOURCE_GROUP_NAME: ${{ secrets.MGMT_RESOURCE_GROUP_NAME }}\n          MGMT_STORAGE_ACCOUNT_NAME: ${{ secrets.MGMT_STORAGE_ACCOUNT_NAME }}\n\n      - name: ACR Login\n        # failure in the first attempt indicates a new ACR, so we need to try again after it's been created\n        if: steps.ci_cache_cr_login.outcome != 'success'\n        run: |\n          # shellcheck disable=SC2034,SC2015,SC2125\n          for i in {1..3}; do\n            az acr login --name \"${{ secrets.CI_CACHE_ACR_NAME }}\" && ec=0 && break || ec=\"$?\" && sleep 10\n          done\n          # shellcheck disable=SC2242\n          (exit \"$ec\")\n\n      - name: Push cached devcontainer\n        run: docker image push ${{ env.CI_CACHE_ACR_URI }}/tredev:${{ inputs.DEVCONTAINER_TAG }}\n\n  build_core_images:\n    # used to build images used by core infrastructure\n    name: Build Core Docker Images\n    runs-on: ubuntu-latest\n    needs: [deploy_management]\n    environment: ${{ inputs.environmentName }}\n    strategy:\n      fail-fast: true\n      matrix:\n        target: [build-and-push-api, build-and-push-resource-processor, build-and-push-airlock-processor]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n\n      - name: Docker build\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: \"make ${{ matrix.target }}\"\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          ACR_NAME: ${{ secrets.ACR_NAME }}\n\n  start_tre:\n    name: Start TRE\n    runs-on: ubuntu-latest\n    needs: [deploy_management]\n    environment: ${{ inputs.environmentName }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n\n      - name: Start TRE\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: \"make tre-start\"\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          TRE_ID: ${{ secrets.TRE_ID }}\n\n  deploy_tre:\n    name: Deploy TRE\n    runs-on: ubuntu-latest\n    needs: [build_core_images, start_tre]\n    environment: ${{ inputs.environmentName }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n\n      - name: Deploy TRE Core\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: \"TF_VAR_ci_git_ref=${{ inputs.ciGitRef }} TF_LOG=${{ vars.TF_LOG }} make deploy-core\"\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          API_CLIENT_ID: \"${{ secrets.API_CLIENT_ID }}\"\n          AAD_TENANT_ID: \"${{ secrets.AAD_TENANT_ID }}\"\n          TRE_ID: ${{ secrets.TRE_ID }}\n          LOCATION: ${{ vars.LOCATION }}\n          ACR_NAME: ${{ secrets.ACR_NAME }}\n          TERRAFORM_STATE_CONTAINER_NAME: ${{ vars.TERRAFORM_STATE_CONTAINER_NAME }}\n          MGMT_RESOURCE_GROUP_NAME: ${{ secrets.MGMT_RESOURCE_GROUP_NAME }}\n          MGMT_STORAGE_ACCOUNT_NAME: ${{ secrets.MGMT_STORAGE_ACCOUNT_NAME }}\n          CORE_ADDRESS_SPACE: ${{ vars.CORE_ADDRESS_SPACE }}\n          TRE_ADDRESS_SPACE: ${{ vars.TRE_ADDRESS_SPACE }}\n          ENABLE_SWAGGER: ${{ vars.ENABLE_SWAGGER }}\n          SWAGGER_UI_CLIENT_ID: \"${{ secrets.SWAGGER_UI_CLIENT_ID }}\"\n          API_CLIENT_SECRET: \"${{ secrets.API_CLIENT_SECRET }}\"\n          APPLICATION_ADMIN_CLIENT_ID: \"${{ secrets.APPLICATION_ADMIN_CLIENT_ID }}\"\n          APPLICATION_ADMIN_CLIENT_SECRET: \"${{ secrets.APPLICATION_ADMIN_CLIENT_SECRET }}\"\n          STATEFUL_RESOURCES_LOCKED: \"${{ github.ref == 'refs/heads/main' && inputs.prRef == '' && true || false }}\"\n          KV_PURGE_PROTECTION_ENABLED: ${{ vars.KV_PURGE_PROTECTION_ENABLED || true }}\n          CORE_APP_SERVICE_PLAN_SKU: ${{ vars.CORE_APP_SERVICE_PLAN_SKU }}\n          RESOURCE_PROCESSOR_NUMBER_PROCESSES_PER_INSTANCE: ${{ vars.RESOURCE_PROCESSOR_NUMBER_PROCESSES_PER_INSTANCE }}\n          RP_BUNDLE_VALUES: ${{ vars.RP_BUNDLE_VALUES }}\n\n      - name: API Healthcheck\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: \"make api-healthcheck\"\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          TRE_ID: ${{ secrets.TRE_ID }}\n          LOCATION: ${{ vars.LOCATION }}\n\n  publish_bundles:\n    name: Publish Bundles\n    runs-on: ubuntu-latest\n    needs: [deploy_management]\n    strategy:\n      matrix:\n        include:\n          - {BUNDLE_TYPE: \"workspace\",\n             BUNDLE_DIR: \"./templates/workspaces/base\"}\n          - {BUNDLE_TYPE: \"workspace\",\n             BUNDLE_DIR: \"./templates/workspaces/unrestricted\"}\n          - {BUNDLE_TYPE: \"workspace\",\n             BUNDLE_DIR: \"./templates/workspaces/airlock-import-review\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/guacamole\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/azureml\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/gitea\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/mlflow\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/mysql\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/health-services\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/databricks\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/ohdsi\"}\n          - {BUNDLE_TYPE: \"user_resource\",\n             BUNDLE_DIR: \"./templates/workspace_services/guacamole/user_resources/guacamole-azure-windowsvm\"}\n          - {BUNDLE_TYPE: \"user_resource\",\n             BUNDLE_DIR: \"./templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm\"}\n          - {BUNDLE_TYPE: \"user_resource\",\n             BUNDLE_DIR: \"./templates/workspace_services/guacamole/user_resources/guacamole-azure-export-reviewvm\"}\n          - {BUNDLE_TYPE: \"user_resource\",\n             BUNDLE_DIR: \"./templates/workspace_services/guacamole/user_resources/guacamole-azure-import-reviewvm\"}\n    environment: ${{ inputs.environmentName }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n\n      - name: Publish bundle\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          # Although porter publish will build automatically, our makefile build target includes logic that should run\n          COMMAND: >-\n            for i in {1..3}; do make bundle-build bundle-publish DIR=${{ matrix.BUNDLE_DIR }}\n            && ec=0 && break || ec=\\$? && sleep 30; done; (exit \\$ec)\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          ACR_NAME: ${{ secrets.ACR_NAME }}\n\n  publish_shared_bundles:\n    name: Publish Shared Bundles\n    runs-on: ubuntu-latest\n    needs: [deploy_management]\n    strategy:\n      matrix:\n        include:\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/firewall/\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/gitea/\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/admin-vm/\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/airlock_notifier/\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/certs/\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/cyclecloud/\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/sonatype-nexus-vm/\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/databricks-auth/\"}\n    environment: ${{ inputs.environmentName }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n\n      - name: Publish bundle\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          # Although porter publish will build automatically, our makefile build target includes logic that should run\n          COMMAND: >-\n            for i in {1..3}; do make bundle-build bundle-publish DIR=${{ matrix.BUNDLE_DIR }}\n            && ec=0 && break || ec=\\$? && sleep 30; done; (exit \\$ec)\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          ACR_NAME: ${{ secrets.ACR_NAME }}\n\n  register_shared_bundles:\n    name: Register Shared Bundles\n    runs-on: ubuntu-latest\n    needs: [publish_shared_bundles, deploy_tre]\n    strategy:\n      matrix:\n        include:\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/firewall\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/gitea\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/admin-vm/\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/airlock_notifier/\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/certs/\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/cyclecloud/\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/sonatype-nexus-vm/\"}\n          - {BUNDLE_TYPE: \"shared_service\",\n             BUNDLE_DIR: \"./templates/shared_services/databricks-auth/\"}\n    environment: ${{ inputs.environmentName }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n      - name: Register bundle\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: >-\n            for i in {1..3}; do make bundle-register DIR=${{ matrix.BUNDLE_DIR }}\n            && ec=0 && break || ec=\\$? && sleep 10; done; (exit \\$ec)\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          ACR_NAME: ${{ secrets.ACR_NAME }}\n          API_CLIENT_ID: \"${{ secrets.API_CLIENT_ID }}\"\n          AAD_TENANT_ID: \"${{ secrets.AAD_TENANT_ID }}\"\n          TEST_APP_ID: \"${{ secrets.TEST_APP_ID }}\"\n          TEST_ACCOUNT_CLIENT_ID: \"${{ secrets.TEST_ACCOUNT_CLIENT_ID }}\"\n          TEST_ACCOUNT_CLIENT_SECRET: \"${{ secrets.TEST_ACCOUNT_CLIENT_SECRET }}\"\n          TRE_ID: ${{ secrets.TRE_ID }}\n          LOCATION: ${{ vars.LOCATION }}\n          BUNDLE_TYPE: ${{ matrix.BUNDLE_TYPE }}\n\n  register_bundles:\n    name: Register Bundles\n    runs-on: ubuntu-latest\n    needs: [publish_bundles, deploy_tre]\n    strategy:\n      matrix:\n        include:\n          # bundles type can be inferred from the bundle dir (but this is more explicit)\n          - {BUNDLE_TYPE: \"workspace\",\n             BUNDLE_DIR: \"./templates/workspaces/base\"}\n          - {BUNDLE_TYPE: \"workspace\",\n             BUNDLE_DIR: \"./templates/workspaces/unrestricted\"}\n          - {BUNDLE_TYPE: \"workspace\",\n             BUNDLE_DIR: \"./templates/workspaces/airlock-import-review\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/guacamole\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/azureml\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/gitea\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/mlflow\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/mysql\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/health-services\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/databricks\"}\n          - {BUNDLE_TYPE: \"workspace_service\",\n             BUNDLE_DIR: \"./templates/workspace_services/ohdsi\"}\n\n    environment: ${{ inputs.environmentName }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n      - name: Register bundle\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: >-\n            for i in {1..3}; do make bundle-register DIR=${{ matrix.BUNDLE_DIR }}\n            && ec=0 && break || ec=\\$? && sleep 10; done; (exit \\$ec)\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          ACR_NAME: ${{ secrets.ACR_NAME }}\n          API_CLIENT_ID: \"${{ secrets.API_CLIENT_ID }}\"\n          AAD_TENANT_ID: \"${{ secrets.AAD_TENANT_ID }}\"\n          TEST_APP_ID: \"${{ secrets.TEST_APP_ID }}\"\n          TEST_ACCOUNT_CLIENT_ID: \"${{ secrets.TEST_ACCOUNT_CLIENT_ID }}\"\n          TEST_ACCOUNT_CLIENT_SECRET: \"${{ secrets.TEST_ACCOUNT_CLIENT_SECRET }}\"\n          TRE_ID: ${{ secrets.TRE_ID }}\n          LOCATION: ${{ vars.LOCATION }}\n          BUNDLE_TYPE: ${{ matrix.BUNDLE_TYPE }}\n\n  register_user_resource_bundles:\n    name: Register User Resource Bundles\n    runs-on: ubuntu-latest\n    # user resource bundles need to wait for their parent resource to be registered.\n    needs: [register_bundles, publish_bundles, deploy_tre]\n    strategy:\n      matrix:\n        include:\n          - {BUNDLE_TYPE: \"user_resource\",\n             BUNDLE_DIR: \"./templates/workspace_services/guacamole/user_resources/guacamole-azure-windowsvm\",\n             WORKSPACE_SERVICE_NAME: \"tre-service-guacamole\"}\n          - {BUNDLE_TYPE: \"user_resource\",\n             BUNDLE_DIR: \"./templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm\",\n             WORKSPACE_SERVICE_NAME: \"tre-service-guacamole\"}\n          - {BUNDLE_TYPE: \"user_resource\",\n             BUNDLE_DIR: \"./templates/workspace_services/guacamole/user_resources/guacamole-azure-export-reviewvm\",\n             WORKSPACE_SERVICE_NAME: \"tre-service-guacamole\"}\n          - {BUNDLE_TYPE: \"user_resource\",\n             BUNDLE_DIR: \"./templates/workspace_services/guacamole/user_resources/guacamole-azure-import-reviewvm\",\n             WORKSPACE_SERVICE_NAME: \"tre-service-guacamole\"}\n    environment: ${{ inputs.environmentName }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n      - name: Register bundle\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: >-\n            for i in {1..3}; do make bundle-register DIR=${{ matrix.BUNDLE_DIR }}\n            && ec=0 && break || ec=\\$? && sleep 10; done; (exit \\$ec)\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          ACR_NAME: ${{ secrets.ACR_NAME }}\n          API_CLIENT_ID: \"${{ secrets.API_CLIENT_ID }}\"\n          AAD_TENANT_ID: \"${{ secrets.AAD_TENANT_ID }}\"\n          TEST_APP_ID: \"${{ secrets.TEST_APP_ID }}\"\n          TEST_ACCOUNT_CLIENT_ID: \"${{ secrets.TEST_ACCOUNT_CLIENT_ID }}\"\n          TEST_ACCOUNT_CLIENT_SECRET: \"${{ secrets.TEST_ACCOUNT_CLIENT_SECRET }}\"\n          TRE_ID: ${{ secrets.TRE_ID }}\n          LOCATION: ${{ vars.LOCATION }}\n          BUNDLE_TYPE: ${{ matrix.BUNDLE_TYPE }}\n          WORKSPACE_SERVICE_NAME: ${{ matrix.WORKSPACE_SERVICE_NAME }}\n\n  deploy_shared_services:\n    name: Deploy shared services\n    runs-on: ubuntu-latest\n    needs: [register_shared_bundles, deploy_tre]\n    environment: ${{ inputs.environmentName }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n\n      - name: Deploy firewall\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: \"make deploy-shared-service DIR=./templates/shared_services/firewall/ BUNDLE_TYPE=shared_service\"\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          API_CLIENT_ID: \"${{ secrets.API_CLIENT_ID }}\"\n          AAD_TENANT_ID: \"${{ secrets.AAD_TENANT_ID }}\"\n          TEST_APP_ID: \"${{ secrets.TEST_APP_ID }}\"\n          TEST_ACCOUNT_CLIENT_ID: \"${{ secrets.TEST_ACCOUNT_CLIENT_ID }}\"\n          TEST_ACCOUNT_CLIENT_SECRET: \"${{ secrets.TEST_ACCOUNT_CLIENT_SECRET }}\"\n          TRE_ID: ${{ secrets.TRE_ID }}\n          LOCATION: ${{ vars.LOCATION }}\n\n      - name: State Store Migrations\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: \"make db-migrate\"\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          API_CLIENT_ID: \"${{ secrets.API_CLIENT_ID }}\"\n          AAD_TENANT_ID: \"${{ secrets.AAD_TENANT_ID }}\"\n          TEST_APP_ID: \"${{ secrets.TEST_APP_ID }}\"\n          TEST_ACCOUNT_CLIENT_ID: \"${{ secrets.TEST_ACCOUNT_CLIENT_ID }}\"\n          TEST_ACCOUNT_CLIENT_SECRET: \"${{ secrets.TEST_ACCOUNT_CLIENT_SECRET }}\"\n          TRE_ID: ${{ secrets.TRE_ID }}\n          LOCATION: ${{ vars.LOCATION }}\n          TERRAFORM_STATE_CONTAINER_NAME: ${{ vars.TERRAFORM_STATE_CONTAINER_NAME }}\n          MGMT_RESOURCE_GROUP_NAME: ${{ secrets.MGMT_RESOURCE_GROUP_NAME }}\n          MGMT_STORAGE_ACCOUNT_NAME: ${{ secrets.MGMT_STORAGE_ACCOUNT_NAME }}\n\n  deploy_ui:\n    name: Deploy UI\n    runs-on: ubuntu-latest\n    needs: [deploy_tre]\n    environment: ${{ inputs.environmentName }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n      - name: Deploy UI\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: \"make build-and-deploy-ui\"\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          API_CLIENT_ID: \"${{ secrets.API_CLIENT_ID }}\"\n          AAD_TENANT_ID: \"${{ secrets.AAD_TENANT_ID }}\"\n          TRE_ID: ${{ secrets.TRE_ID }}\n          LOCATION: ${{ vars.LOCATION }}\n          TERRAFORM_STATE_CONTAINER_NAME: ${{ vars.TERRAFORM_STATE_CONTAINER_NAME }}\n          MGMT_RESOURCE_GROUP_NAME: ${{ secrets.MGMT_RESOURCE_GROUP_NAME }}\n          MGMT_STORAGE_ACCOUNT_NAME: ${{ secrets.MGMT_STORAGE_ACCOUNT_NAME }}\n          SWAGGER_UI_CLIENT_ID: \"${{ secrets.SWAGGER_UI_CLIENT_ID }}\"\n\n  e2e_tests_smoke:\n    name: \"Run E2E Tests (Smoke)\"\n    runs-on: ubuntu-latest\n    environment: ${{ inputs.environmentName }}\n    needs: [deploy_shared_services, register_bundles, deploy_ui]\n    timeout-minutes: 10\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n\n      - name: Run E2E Tests (Smoke)\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: \"make test-e2e-smoke\"\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          LOCATION: ${{ vars.LOCATION }}\n          API_CLIENT_ID: \"${{ secrets.API_CLIENT_ID }}\"\n          AAD_TENANT_ID: \"${{ secrets.AAD_TENANT_ID }}\"\n          TEST_APP_ID: \"${{ secrets.TEST_APP_ID }}\"\n          TEST_WORKSPACE_APP_ID: \"${{ secrets.TEST_WORKSPACE_APP_ID }}\"\n          TEST_WORKSPACE_APP_SECRET: \"${{ secrets.TEST_WORKSPACE_APP_SECRET }}\"\n          TEST_ACCOUNT_CLIENT_ID: \"${{ secrets.TEST_ACCOUNT_CLIENT_ID }}\"\n          TEST_ACCOUNT_CLIENT_SECRET: \"${{ secrets.TEST_ACCOUNT_CLIENT_SECRET }}\"\n          TRE_ID: ${{ secrets.TRE_ID }}\n          IS_API_SECURED: false\n          WORKSPACE_APP_SERVICE_PLAN_SKU: ${{ vars.WORKSPACE_APP_SERVICE_PLAN_SKU }}\n\n      - name: Upload Test Results\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: E2E Test (Smoke) Results\n          path: \"./e2e_tests/pytest_e2e_smoke.xml\"\n\n  e2e_tests_custom:\n    name: \"Run E2E Tests\"\n    if: ${{ inputs.e2eTestsCustomSelector != '' }}\n    runs-on: ubuntu-latest\n    environment: ${{ inputs.environmentName }}\n    needs: [deploy_shared_services, register_bundles, register_user_resource_bundles]\n    timeout-minutes: 300\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          # if the following values are missing (i.e. not triggered via comment workflow)\n          # then the default checkout will apply\n          ref: ${{ inputs.prRef }}\n\n      - name: Run E2E Tests\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: \"make test-e2e-custom SELECTOR='${{ inputs.e2eTestsCustomSelector }}'\"\n          DEVCONTAINER_TAG: ${{ inputs.DEVCONTAINER_TAG }}\n          CI_CACHE_ACR_NAME: ${{ secrets.CI_CACHE_ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ vars.AZURE_ENVIRONMENT }}\n          LOCATION: ${{ vars.LOCATION }}\n          API_CLIENT_ID: \"${{ secrets.API_CLIENT_ID }}\"\n          AAD_TENANT_ID: \"${{ secrets.AAD_TENANT_ID }}\"\n          TEST_APP_ID: \"${{ secrets.TEST_APP_ID }}\"\n          TEST_WORKSPACE_APP_ID: \"${{ secrets.TEST_WORKSPACE_APP_ID }}\"\n          TEST_WORKSPACE_APP_SECRET: \"${{ secrets.TEST_WORKSPACE_APP_SECRET }}\"\n          TEST_ACCOUNT_CLIENT_ID: \"${{ secrets.TEST_ACCOUNT_CLIENT_ID }}\"\n          TEST_ACCOUNT_CLIENT_SECRET: \"${{ secrets.TEST_ACCOUNT_CLIENT_SECRET }}\"\n          TRE_ID: ${{ secrets.TRE_ID }}\n          IS_API_SECURED: false\n          WORKSPACE_APP_SERVICE_PLAN_SKU: ${{ vars.WORKSPACE_APP_SERVICE_PLAN_SKU }}\n          E2E_TESTS_NUMBER_PROCESSES: ${{ inputs.E2E_TESTS_NUMBER_PROCESSES }}\n\n      - name: Upload Test Results\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: E2E Test Results\n          path: \"./e2e_tests/pytest_e2e_custom.xml\"\n\n  summary:\n    name: Summary\n    needs: [e2e_tests_smoke, e2e_tests_custom]\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      contents: read\n    if: always()\n    environment: ${{ inputs.environmentName }}\n    steps:\n      # - uses: technote-space/workflow-conclusion-action@v3 (removed due to archived repo and deprecated node.js version)\n      - uses: im-open/workflow-conclusion@v2.2.2\n        id: conclusion\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      # For PR builds triggered from comment builds, the GITHUB_REF is set to main\n      # so the checks aren't automatically associated with the PR\n      # If prHeadSha is specified then explicity mark the checks for that SHA\n      - name: Report check status\n        if: inputs.prHeadSha != ''\n        uses: LouisBrunner/checks-action@v2.0.0\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          # the name must be identical to the one received by the real job\n          sha: ${{ inputs.prHeadSha }}\n          name: \"Deploy PR / Run E2E Tests (Smoke)\"\n          status: \"completed\"\n          conclusion: ${{ env.WORKFLOW_CONCLUSION }}\n          details_url: \"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n\n      - name: Notify teams channel\n        env:\n          MS_TEAMS_WEBHOOK_URI: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}\n        # notify only if failure\n        if: |\n          env.WORKFLOW_CONCLUSION == 'failure' &&\n          env.MS_TEAMS_WEBHOOK_URI != '' &&\n          (github.ref == 'refs/heads/main' && inputs.prRef == '')\n        uses: sachinkundu/ms-teams-notification@1.4\n        with:\n          github-token: ${{ github.token }}\n          ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}\n          notification-summary: \"Failed to deploy from main\"\n          notification-color: dc3545\n          timezone: Europe/Zurich\n\n      - name: Download Artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: artifacts\n\n      - name: Publish E2E Test Results\n        uses: EnricoMi/publish-unit-test-result-action@v2.16.1\n        with:\n          junit_files: \"artifacts/**/*.xml\"\n          check_name: \"E2E Test Results\"\n", "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:46:02.151744", "created_at": "2022-02-24T09:24:06+01:00", "updated_at": "2023-05-11T13:14:10+02:00", "name": "pr_comment_bot", "path": ".github/workflows/pr_comment_bot.yml", "contents": "---\nname: pr_comment_bot\n\non:  # yamllint disable-line rule:truthy\n  issue_comment:\n    types: [created]  # only run on new comments\n    # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment\n    # https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment\n\njobs:\n  pr_comment:\n    name: PR comment\n    # https://docs.github.com/en/graphql/reference/enums#commentauthorassociation\n    # (and https://docs.github.com/en/rest/reference/issues#comments)\n\n    # only allow commands where:\n    # - the comment is on a PR\n    # - the commenting user has write permissions (i.e. is OWNER or COLLABORATOR)\n    if: ${{ github.event.issue.pull_request }}\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n      checks: write\n      contents: read\n    outputs:\n      command: ${{ steps.check_command.outputs.command }}\n      prRef: ${{ steps.check_command.outputs.prRef }}\n      prHeadSha: ${{ steps.check_command.outputs.prHeadSha }}\n      prRefId: ${{ steps.check_command.outputs.prRefId }}\n      branchRefId: ${{ steps.check_command.outputs.branchRefid }}\n      ciGitRef: ${{ steps.check_command.outputs.ciGitRef }}\n    steps:\n      # Ensure we have the script file for the github-script action to use\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      # Determine whether the comment is a command\n      - id: check_command\n        name: Check for a command using GitHub script\n        uses: actions/github-script@v7\n        with:\n          script: |\n            const script = require('./.github/scripts/build.js')\n            await script.getCommandFromComment({core, context, github});\n\n      - name: Output PR details\n        run: |\n          echo \"PR Details\"\n          echo \"==========\"\n          echo \"prRef       : ${{ steps.check_command.outputs.prRef }}\"\n          echo \"prHeadSha   : ${{ steps.check_command.outputs.prHeadSha }}\"\n          echo \"prRefId     : ${{ steps.check_command.outputs.prRefId }}\"\n          echo \"ciGitRef    : ${{ steps.check_command.outputs.ciGitRef }}\"\n          echo \"branchRefId : ${{ steps.check_command.outputs.prRefId }}\"\n\n      # If we don't run the actual deploy (see the run_test job below) we won't receive a check-run status,\n      # and will have to send it \"manually\"\n      - name: Bypass E2E check-runs status\n        if: ${{ steps.check_command.outputs.command == 'test-force-approve' }}\n        uses: LouisBrunner/checks-action@v2.0.0\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          # the name must be identical to the one received by the real job\n          sha: ${{ steps.check_command.outputs.prHeadSha }}\n          name: \"Deploy PR / Run E2E Tests (Smoke)\"\n          status: \"completed\"\n          conclusion: \"success\"\n\n  destroy_pr_env:\n    needs: [pr_comment]\n    if: ${{ needs.pr_comment.outputs.command == 'test-destroy-env' }}\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    environment: CICD\n    name: Destroy PR env\n    steps:\n      # Ensure we have the script files\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      # Perform az login for destroy env script to be able to run\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          creds: ${{ secrets.AZURE_CREDENTIALS }}\n          environment: ${{ (vars.AZURE_ENVIRONMENT != '' && vars.AZURE_ENVIRONMENT) || 'AzureCloud' }}\n\n      - name: Run deployment cleanup\n        env:\n          PR_NUMBER: ${{ github.event.issue.number }}\n          REPO: ${{ github.event.repository.full_name }}\n          RG_NAME: ${{ format('rg-tre{0}', needs.pr_comment.outputs.prRefId) }}\n          RUN_ID: ${{ github.run_id }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SHOW_KEYVAULT_DEBUG_ON_DESTROY: ${{ secrets.SHOW_KEYVAULT_DEBUG_ON_DESTROY }}\n        run: |\n          set -e\n          gh pr comment \"${PR_NUMBER}\" --repo \"$REPO\" --body \"Destroying PR test environment (RG: ${RG_NAME})... (run: https://github.com/${REPO}/actions/runs/${RUN_ID})\"\n          devops/scripts/destroy_env_no_terraform.sh --core-tre-rg \"${RG_NAME}\"\n          gh pr comment \"${PR_NUMBER}\" --repo \"$REPO\" --body \"PR test environment destroy complete (RG: ${RG_NAME})\"\n\n  destroy_branch_env:\n    needs: [pr_comment]\n    if: ${{ needs.pr_comment.outputs.command == 'test-destroy-env' && needs.pr_comment.outputs.branchRefId != '' }}\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    environment: CICD\n    name: Destroy branch env\n    steps:\n      # Ensure we have the script files\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      # Perform az login for destroy env script to be able to run\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          creds: ${{ secrets.AZURE_CREDENTIALS }}\n          environment: ${{ (vars.AZURE_ENVIRONMENT != '' && vars.AZURE_ENVIRONMENT) || 'AzureCloud' }}\n\n      - name: Run deployment cleanup\n        env:\n          PR_NUMBER: ${{ github.event.issue.number }}\n          REPO: ${{ github.event.repository.full_name }}\n          RG_NAME: ${{ format('rg-tre{0}', needs.pr_comment.outputs.branchRefId) }}\n          RUN_ID: ${{ github.run_id }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SHOW_KEYVAULT_DEBUG_ON_DESTROY: ${{ secrets.SHOW_KEYVAULT_DEBUG_ON_DESTROY }}\n        run: |\n          set -e\n          gh pr comment \"${PR_NUMBER}\" --repo \"$REPO\" --body \"Destroying branch test environment (RG: ${RG_NAME})... (run: https://github.com/${REPO}/actions/runs/${RUN_ID})\"\n          devops/scripts/destroy_env_no_terraform.sh --core-tre-rg \"${RG_NAME}\"\n          gh pr comment \"${PR_NUMBER}\" --repo \"$REPO\" --body \"Branch test environment destroy complete (RG: ${RG_NAME})\"\n\n  run_test:\n    # Run the tests with the re-usable workflow\n    needs: [pr_comment]\n    if: |\n      needs.pr_comment.outputs.command == 'run-tests' ||\n      needs.pr_comment.outputs.command == 'run-tests-extended' ||\n      needs.pr_comment.outputs.command == 'run-tests-extended-aad' ||\n      needs.pr_comment.outputs.command == 'run-tests-shared-services'\n    name: Deploy PR\n    uses: ./.github/workflows/deploy_tre_reusable.yml\n    permissions:\n      checks: write\n      contents: read\n      pull-requests: write\n    with:\n      prRef: ${{ needs.pr_comment.outputs.prRef }}\n      prHeadSha: ${{ needs.pr_comment.outputs.prHeadSha }}\n      ciGitRef: ${{ needs.pr_comment.outputs.ciGitRef }}\n      e2eTestsCustomSelector: >-\n        ${{ (needs.pr_comment.outputs.command == 'run-tests-extended' && 'extended') ||\n        (needs.pr_comment.outputs.command == 'run-tests-extended-aad' && 'extended_aad') ||\n        (needs.pr_comment.outputs.command == 'run-tests-shared-services' && 'shared_services') ||\n        (needs.pr_comment.outputs.command == 'run-tests' && '') }}\n      environmentName: CICD\n      E2E_TESTS_NUMBER_PROCESSES: 1\n      DEVCONTAINER_TAG: ${{ needs.pr_comment.outputs.prRefId }}\n    secrets:\n      AAD_TENANT_ID: ${{ secrets.AAD_TENANT_ID }}\n      ACR_NAME: ${{ format('tre{0}', needs.pr_comment.outputs.prRefId) }}\n      AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS}}\n      API_CLIENT_ID: ${{ secrets.API_CLIENT_ID }}\n      API_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET }}\n      APPLICATION_ADMIN_CLIENT_ID: ${{ secrets.APPLICATION_ADMIN_CLIENT_ID }}\n      APPLICATION_ADMIN_CLIENT_SECRET: ${{ secrets.APPLICATION_ADMIN_CLIENT_SECRET }}\n      MGMT_RESOURCE_GROUP_NAME: ${{ format('rg-tre{0}-mgmt', needs.pr_comment.outputs.prRefId) }}\n      MS_TEAMS_WEBHOOK_URI: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}\n      MGMT_STORAGE_ACCOUNT_NAME: ${{ format('tre{0}mgmt', needs.pr_comment.outputs.prRefId) }}\n      SWAGGER_UI_CLIENT_ID: ${{ secrets.SWAGGER_UI_CLIENT_ID }}\n      TEST_APP_ID: ${{ secrets.TEST_APP_ID }}\n      TEST_WORKSPACE_APP_ID: ${{ secrets.TEST_WORKSPACE_APP_ID }}\n      TEST_WORKSPACE_APP_SECRET: \"${{ secrets.TEST_WORKSPACE_APP_SECRET }}\"\n      TEST_ACCOUNT_CLIENT_ID: \"${{ secrets.TEST_ACCOUNT_CLIENT_ID }}\"\n      TEST_ACCOUNT_CLIENT_SECRET: \"${{ secrets.TEST_ACCOUNT_CLIENT_SECRET }}\"\n      TRE_ID: ${{ format('tre{0}', needs.pr_comment.outputs.prRefId) }}\n      CI_CACHE_ACR_NAME: ${{ secrets.ACR_NAME }}\n", "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:46:03.209523", "created_at": "2022-03-03T14:22:32+01:00", "updated_at": "2022-03-03T14:22:32+01:00", "name": "flag_external_pr", "path": ".github/workflows/flag_external_pr.yml", "contents": "name: flag_external_pr\n\non:  # yamllint disable-line rule:truthy\n  pull_request_target:\n    types: [opened] # only run on new PRs\n    # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment\n    # https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment\n\njobs:\n  check_author:\n    name: Check PR author\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      # Ensure we have the script file for the github-script action to use\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - id: check_command\n        name: Check for a command using GitHub script\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const script = require('./.github/scripts/build.js')\n            await script.labelAsExternalIfAuthorDoesNotHaveWriteAccess({core, context, github});\n", "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:46:04.273178", "created_at": "2022-03-16T11:16:35+01:00", "updated_at": "2022-03-16T11:16:35+01:00", "name": "Deploy Azure TRE (branch)", "path": ".github/workflows/deploy_tre_branch.yml", "contents": "---\nname: Deploy Azure TRE (branch)\n\n# This workflow is intended to be used to test workflow changes that wouldn't be\n# tested when running a PR via the comment bot\n# Note that the branch must be in the main repo as secrets are not passed\n# to workflows run from forks\n\non:  # yamllint disable-line rule:truthy\n  workflow_dispatch:\n    inputs:\n      e2eTestsCustomSelector:\n        description: A pytest marker selector for the e2e tests to be run\n        type: string\n        default: \"\"\n        required: false\n      environment:\n        description: The environment to run this workflow in\n        type: environment\n        default: CICD\n        required: true\n      e2eProcesses:\n        description: The number of E2E processes/tests running in parallel\n        type: string\n        default: \"1\"\n        required: false\n\n# This will prevent multiple runs of this entire workflow.\n# We should NOT cancel in progress runs as that can destabilize the environment.\nconcurrency: \"${{ github.workflow }}-${{ github.ref }}\"\n\njobs:\n  prepare-not-main:\n    name: Preparation\n    runs-on: ubuntu-latest\n    if: |\n      github.ref != 'refs/heads/main'\n    outputs:\n      refid: ${{ steps.run-id.outputs.refid }}\n    steps:\n      - id: run-id\n        name: Get run id\n        run: |\n          set -o errexit\n          set -o pipefail\n          set -o nounset\n          # Debug output for checking SHA used in checks-action\n          echo \"git SHA:    $(git rev-parse --abbrev-ref HEAD)\"\n          echo \"git ref:    $(git rev-parse HEAD)\"\n          echo \"github sha: ${GITHUB_SHA}\"\n          echo \"github ref: ${GITHUB_REF}\"\n          REFID=$(echo \"${GITHUB_REF}\" | shasum | cut -c1-8)\n          echo \"using id of: ${REFID} for GitHub Ref: ${GITHUB_REF}\"\n          echo \"refid=${REFID}\" >> \"$GITHUB_OUTPUT\"\n\n  run-deploy-tre-not-main:\n    name: \"Deploy PR\"\n    if: ${{ github.ref != 'refs/heads/main' }}\n    needs: [prepare-not-main]\n    uses: ./.github/workflows/deploy_tre_reusable.yml\n    permissions:\n      checks: write\n      contents: read\n      pull-requests: write\n    with:\n      ciGitRef: ${{ github.ref }}\n      prHeadSha: ${{ github.sha }}\n      e2eTestsCustomSelector: ${{ github.event.inputs.e2eTestsCustomSelector }}\n      environmentName: ${{ github.event.inputs.environment }}\n      E2E_TESTS_NUMBER_PROCESSES: ${{ fromJSON(github.event.inputs.e2eProcesses) }}\n      DEVCONTAINER_TAG: ${{ needs.prepare-not-main.outputs.refid }}\n    secrets:\n      AAD_TENANT_ID: ${{ secrets.AAD_TENANT_ID }}\n      ACR_NAME: ${{ format('tre{0}', needs.prepare-not-main.outputs.refid) }}\n      AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n      API_CLIENT_ID: ${{ secrets.API_CLIENT_ID }}\n      API_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET }}\n      APPLICATION_ADMIN_CLIENT_ID: ${{ secrets.APPLICATION_ADMIN_CLIENT_ID }}\n      APPLICATION_ADMIN_CLIENT_SECRET: ${{ secrets.APPLICATION_ADMIN_CLIENT_SECRET }}\n      MGMT_RESOURCE_GROUP_NAME: ${{ format('rg-tre{0}-mgmt', needs.prepare-not-main.outputs.refid) }}\n      MS_TEAMS_WEBHOOK_URI: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}\n      MGMT_STORAGE_ACCOUNT_NAME: ${{ format('tre{0}mgmt', needs.prepare-not-main.outputs.refid) }}\n      SWAGGER_UI_CLIENT_ID: ${{ secrets.SWAGGER_UI_CLIENT_ID }}\n      TEST_APP_ID: ${{ secrets.TEST_APP_ID }}\n      TEST_WORKSPACE_APP_ID: ${{ secrets.TEST_WORKSPACE_APP_ID }}\n      TEST_WORKSPACE_APP_SECRET: ${{ secrets.TEST_WORKSPACE_APP_SECRET }}\n      TEST_ACCOUNT_CLIENT_ID: \"${{ secrets.TEST_ACCOUNT_CLIENT_ID }}\"\n      TEST_ACCOUNT_CLIENT_SECRET: \"${{ secrets.TEST_ACCOUNT_CLIENT_SECRET }}\"\n      TRE_ID: ${{ format('tre{0}', needs.prepare-not-main.outputs.refid) }}\n      CI_CACHE_ACR_NAME: ${{ secrets.ACR_NAME }}\n", "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:46:05.297255", "created_at": "2022-07-03T06:23:19+02:00", "updated_at": "2022-07-03T06:23:19+02:00", "name": "Test Results", "path": ".github/workflows/test_results.yml", "contents": "---\n# This workflow is required to publish test results from forks\nname: Test Results\n\non:  # yamllint disable-line rule:truthy\n  workflow_run:\n    workflows: [\"Docker build\"]\n    types:\n      - completed\n# actionlint doesn't like the following line depite it being recommanded:\n# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs#overview\n# permissions: {}\n\njobs:\n  test-results:\n    name: Test Results\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.conclusion != 'skipped'\n\n    permissions:\n      checks: write\n\n      # needed unless run with comment_mode: off\n      pull-requests: write\n\n      # required by download step to access artifacts API\n      actions: read\n\n    steps:\n      - name: Download and Extract Artifacts\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        run: |\n           mkdir -p artifacts && cd artifacts\n\n           artifacts_url=${{ github.event.workflow_run.artifacts_url }}\n\n           gh api \"$artifacts_url\" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read -r artifact\n           do\n             IFS=$'\\t' read -r name url <<< \"$artifact\"\n             gh api \"$url\" > \"$name.zip\"\n             unzip -d \"$name\" \"$name.zip\"\n           done\n\n      - name: Publish Test Results\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          commit: ${{ github.event.workflow_run.head_sha }}\n          event_file: artifacts/Event File/event.json\n          event_name: ${{ github.event.workflow_run.event }}\n          files: \"artifacts/**/*.xml\"\n          check_name: \"Unit Test Results\"\n\n      # The following step is the catch situations where the tests didn't run at all.\n      - name: Check failure files\n        run: |\n          if compgen -G \"artifacts/**/pytest*failed\" > /dev/null; then\n            echo \"Tests failure file(s) exist. Some tests have failed or didn't run at all! \\\n              Check the artifacts for details.\"\n            exit 1\n          fi\n\n      # For PR builds triggered from comment builds, the GITHUB_REF is set to main\n      # so the checks aren't automatically associated with the PR\n      # If prHeadSha is specified then explicity mark the checks for that SHA\n      - name: Report check status\n        if: github.event.workflow_run.head_sha != ''\n        uses: LouisBrunner/checks-action@v2.0.0\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          # the name must be identical to the one received by the real job\n          sha: ${{ github.event.workflow_run.head_sha }}\n          name: \"Test Results\"\n          status: \"completed\"\n          conclusion: ${{ github.event.workflow_run.conclusion }}\n          details_url: \"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n", "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:46:06.360161", "created_at": "2022-10-07T10:35:21+02:00", "updated_at": "2022-10-07T10:35:21+02:00", "name": "cli-package", "path": ".github/workflows/cli-package.yml", "contents": "---\nname: cli-package\n\non:\n  push:\n    branches: [\"main\"]\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: The environment to run this workflow in\n        type: environment\n        default: CICD\n        required: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    # environment is used to access the secrets for Azure credentials\n    # to sign in to a container registry to re-use a dev container image as a build cache\n    environment: ${{ inputs.environment || 'CICD'}}\n\n    steps:\n      - name: Checkout (GitHub)\n        uses: actions/checkout@v4\n\n      - name: Build and run dev container task\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: |\n            # Validate installation and showing help output\n            cd cli\n            make pip-install install-cli\n            source <(_TRE_COMPLETE=bash_source tre)\n            tre --help\n          DEVCONTAINER_TAG: latest\n          CI_CACHE_ACR_NAME: ${{ secrets.ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ secrets.AZURE_ENVIRONMENT }}\n\n      - name: Create the CLI package\n        uses: ./.github/actions/devcontainer_run_command\n        with:\n          COMMAND: |\n            # Create the python wheel\n            cd cli\n            sudo make build-package\n          DEVCONTAINER_TAG: latest\n          CI_CACHE_ACR_NAME: ${{ secrets.ACR_NAME}}\n          AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n          AZURE_ENVIRONMENT: ${{ secrets.AZURE_ENVIRONMENT }}\n\n      - name: Upload Wheel as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: tre-cli\n          path: dist/tre-*.whl\n", "state": "active", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:46:07.662561", "created_at": "2021-06-07T18:48:29+02:00", "updated_at": "2023-05-01T09:35:26+02:00", "name": "Deploy Azure TRE", "path": ".github/workflows/deploy_tre.yml", "contents": "---\nname: Deploy Azure TRE\n# This workflow is the integration build run for pushes to the main branch\n# It also runs on a schedule, serving as the nightly build\n\non:  # yamllint disable-line rule:truthy\n  schedule:\n    # midnight every day https://crontab.guru/#0_0_*_*_*\n    - cron: \"0 0 * * *\"\n  push:\n    branches: [main]\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: The environment to run this workflow in\n        type: environment\n        default: CICD\n        required: true\n\n# This will prevent multiple runs of this entire workflow.\n# We should NOT cancel in progress runs as that can destabilize the environment.\nconcurrency: \"${{ github.workflow }}-${{ github.ref }}\"\n\njobs:\n  run-deploy-tre-main:\n    name: \"Deploy main\"\n    if: github.ref == 'refs/heads/main'\n    uses: ./.github/workflows/deploy_tre_reusable.yml\n    permissions:\n      checks: write\n      contents: read\n      pull-requests: write\n    with:\n      ciGitRef: ${{ github.ref }}\n      e2eTestsCustomSelector: >-\n        ${{ (github.event_name == 'push' && 'extended or extended_aad')\n        || 'extended or extended_aad or shared_services or airlock' }}\n      environmentName: ${{ github.event.inputs.environment || 'CICD' }}\n      E2E_TESTS_NUMBER_PROCESSES: 1\n      DEVCONTAINER_TAG: 'latest'\n    secrets:\n      AAD_TENANT_ID: ${{ secrets.AAD_TENANT_ID }}\n      ACR_NAME: ${{ secrets.ACR_NAME }}\n      AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}\n      API_CLIENT_ID: ${{ secrets.API_CLIENT_ID }}\n      API_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET }}\n      APPLICATION_ADMIN_CLIENT_ID: ${{ secrets.APPLICATION_ADMIN_CLIENT_ID }}\n      APPLICATION_ADMIN_CLIENT_SECRET: ${{ secrets.APPLICATION_ADMIN_CLIENT_SECRET }}\n      MGMT_RESOURCE_GROUP_NAME: ${{ secrets.MGMT_RESOURCE_GROUP_NAME }}\n      MS_TEAMS_WEBHOOK_URI: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}\n      MGMT_STORAGE_ACCOUNT_NAME: ${{ secrets.MGMT_STORAGE_ACCOUNT_NAME }}\n      SWAGGER_UI_CLIENT_ID: ${{ secrets.SWAGGER_UI_CLIENT_ID }}\n      TEST_APP_ID: ${{ secrets.TEST_APP_ID }}\n      TEST_WORKSPACE_APP_ID: ${{ secrets.TEST_WORKSPACE_APP_ID }}\n      TEST_WORKSPACE_APP_SECRET: \"${{ secrets.TEST_WORKSPACE_APP_SECRET }}\"\n      TEST_ACCOUNT_CLIENT_ID: \"${{ secrets.TEST_ACCOUNT_CLIENT_ID }}\"\n      TEST_ACCOUNT_CLIENT_SECRET: \"${{ secrets.TEST_ACCOUNT_CLIENT_SECRET }}\"\n      TRE_ID: ${{ secrets.TRE_ID }}\n      CI_CACHE_ACR_NAME: ${{ secrets.ACR_NAME }}\n", "state": "disabled_manually", "repository": "microsoft/azuretre"}
{"mined_at": "2024-07-15T16:46:09.794272", "created_at": "2021-08-04T10:01:54+02:00", "updated_at": "2021-08-04T10:01:54+02:00", "name": "size-labeler", "path": ".github/workflows/size_labeler.yml", "contents": null, "state": "active", "repository": "redhatqe/openshift-python-wrapper"}
{"mined_at": "2024-07-15T16:46:10.907539", "created_at": "2021-08-04T10:28:04+02:00", "updated_at": "2021-08-04T10:28:04+02:00", "name": "Reviewers Auto Assign", "path": ".github/workflows/reviewers_action.yml", "contents": null, "state": "active", "repository": "redhatqe/openshift-python-wrapper"}
{"mined_at": "2024-07-15T16:46:11.938247", "created_at": "2021-08-04T18:59:05+02:00", "updated_at": "2021-08-05T18:07:48+02:00", "name": "PR Actions", "path": ".github/workflows/pr-actions.yml", "contents": null, "state": "active", "repository": "redhatqe/openshift-python-wrapper"}
{"mined_at": "2024-07-15T16:46:13.103225", "created_at": "2021-08-05T17:02:56+02:00", "updated_at": "2021-08-05T17:02:56+02:00", "name": "Label By comment", "path": ".github/workflows/issue-comment.yml", "contents": null, "state": "active", "repository": "redhatqe/openshift-python-wrapper"}
{"mined_at": "2024-07-15T16:46:14.217458", "created_at": "2021-08-22T22:09:11+02:00", "updated_at": "2021-08-22T22:13:07+02:00", "name": "Upload Python distributions to PyPI", "path": ".github/workflows/upload-to-pypi.yml", "contents": null, "state": "active", "repository": "redhatqe/openshift-python-wrapper"}
{"mined_at": "2024-07-15T16:46:15.239488", "created_at": "2021-08-31T16:30:15+02:00", "updated_at": "2021-08-31T16:30:15+02:00", "name": "Issue from PR", "path": ".github/workflows/issue-from-pr.yml", "contents": null, "state": "active", "repository": "redhatqe/openshift-python-wrapper"}
{"mined_at": "2024-07-15T16:46:16.325237", "created_at": "2021-09-04T02:26:12+02:00", "updated_at": "2021-09-04T02:26:12+02:00", "name": "Close Issue from PR", "path": ".github/workflows/close-issue-from-pr.yml", "contents": null, "state": "active", "repository": "redhatqe/openshift-python-wrapper"}
{"mined_at": "2024-07-15T16:46:17.389759", "created_at": "2022-06-19T13:53:44+02:00", "updated_at": "2022-06-19T13:53:44+02:00", "name": "PR for branch v4.11", "path": ".github/workflows/create-auto-pr-for-merge-pr-in-main.yml", "contents": null, "state": "active", "repository": "redhatqe/openshift-python-wrapper"}
{"mined_at": "2024-07-15T16:46:18.419164", "created_at": "2023-06-01T11:46:05+02:00", "updated_at": "2023-06-01T11:46:05+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/close-stale-issues.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'\n          days-before-stale: 30\n          days-before-close: 7\n          ignore-updates: true\n", "state": "active", "repository": "redhatqe/openshift-python-wrapper"}
{"mined_at": "2024-07-15T16:46:19.397987", "created_at": "2023-06-08T13:22:00+02:00", "updated_at": "2023-06-08T13:22:00+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "redhatqe/openshift-python-wrapper"}
{"mined_at": "2024-07-15T16:46:21.490143", "created_at": "2020-01-06T11:15:13+01:00", "updated_at": "2020-01-06T11:15:13+01:00", "name": "", "path": "", "contents": null, "state": "active", "repository": "home-assistant/operating-system"}
{"mined_at": "2024-07-15T16:46:22.612190", "created_at": "2023-10-31T13:50:38+01:00", "updated_at": "2023-10-31T13:50:38+01:00", "name": "Update artifacts index", "path": ".github/workflows/artifacts-index.yaml", "contents": "name: Update artifacts index\n\non:\n  # Manual run for specified version\n  workflow_dispatch:\n    inputs:\n      version:\n        description: Version of HAOS to build index for\n        required: true\n        type: string\n\n  # Called by other workflows (e.g. build.yaml)\n  workflow_call:\n    inputs:\n      version:\n        description: Version of HAOS to build index for\n        required: true\n        type: string\n    secrets:\n      R2_OS_ARTIFACTS_ID:\n        required: true\n      R2_OS_ARTIFACTS_KEY:\n        required: true\n      R2_OS_ARTIFACTS_BUCKET:\n        required: true\n      R2_OS_ARTIFACTS_ENDPOINT:\n        required: true\n      CF_ZONE:\n        required: true\n      CF_PURGE_TOKEN:\n        required: true\n\nenv:\n  PYTHON_VERSION: \"3.10\"\n\njobs:\n  build-index:\n    name: Build Home Assistant OS artifacts index\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Setup Python version ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Install AWS CLI\n        run: pip install awscli\n\n      - name: Create build index\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.R2_OS_ARTIFACTS_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_OS_ARTIFACTS_KEY }}\n        run: |\n          aws s3api list-objects-v2 \\\n            --bucket \"${{ secrets.R2_OS_ARTIFACTS_BUCKET }}\" \\\n            --endpoint-url \"${{ secrets.R2_OS_ARTIFACTS_ENDPOINT }}\" \\\n            --prefix \"${{ inputs.version }}/\" \\\n            --query 'Contents[].Key' | jq 'map(split(\"/\")[1]) | sort' > \"${{ inputs.version }}.json\"\n          aws s3 cp \\\n            \"${{ inputs.version }}.json\" \\\n            s3://${{ secrets.R2_OS_ARTIFACTS_BUCKET }}/indexes/ \\\n            --endpoint-url \"${{ secrets.R2_OS_ARTIFACTS_ENDPOINT }}\"\n\n      - name: Regenerate artifacts index\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.R2_OS_ARTIFACTS_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_OS_ARTIFACTS_KEY }}\n        run: |\n          aws s3api list-objects-v2 \\\n            --bucket \"${{ secrets.R2_OS_ARTIFACTS_BUCKET }}\" \\\n            --endpoint-url \"${{ secrets.R2_OS_ARTIFACTS_ENDPOINT }}\" \\\n            --prefix \"indexes/\" \\\n            --query 'Contents[].Key' | jq 'map(capture(\"indexes/(?<version>[[:digit:]].+).json\").version) | sort' > .os-artifacts/index.json\n          aws s3 sync \\\n            .os-artifacts/ \\\n            s3://${{ secrets.R2_OS_ARTIFACTS_BUCKET }}/ \\\n            --endpoint-url \"${{ secrets.R2_OS_ARTIFACTS_ENDPOINT }}\" \\\n\n      - name: Flush CloudFlare cache\n        run: |\n          curl --silent --show-error --fail -X POST \\\n            \"https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE }}/purge_cache\" \\\n            -H \"Authorization: Bearer ${{ secrets.CF_PURGE_TOKEN }}\" \\\n            -H \"Content-Type: application/json\" \\\n            --data '{\"files\": [\n              \"https://os-artifacts.home-assistant.io/index.html\",\n              \"https://os-artifacts.home-assistant.io/index.json\"\n            ] }'\n", "state": "active", "repository": "home-assistant/operating-system"}
{"mined_at": "2024-07-15T16:46:23.741933", "created_at": "2023-09-21T17:06:44+02:00", "updated_at": "2023-10-26T21:09:15+02:00", "name": "OS build", "path": ".github/workflows/build.yaml", "contents": "# Home Assistant Operating System build workflow\n\nname: OS build\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs:\n      boards:\n        description: 'List of boards to build (comma separated identifiers)'\n        required: false\n        type: string\n      publish:\n        description: 'Publish build artifacts to R2 (not applicable to forks)'\n        required: true\n        type: boolean\n        default: true\n\nenv:\n  PYTHON_VERSION: \"3.10\"\n\njobs:\n  prepare:\n    name: Prepare build\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: read\n      pull-requests: read\n      packages: write\n    outputs:\n      version_dev: ${{ steps.version_dev.outputs.version_dev }}\n      version_main: ${{ steps.version.outputs.version_main }}\n      version_full: ${{ steps.version.outputs.version_full }}\n      channel: ${{ steps.channel.outputs.channel }}\n      matrix: ${{ steps.generate_matrix.outputs.result }}\n      build_container_image: ghcr.io/${{ github.repository_owner }}/haos-builder@${{ steps.build_haos_builder.outputs.digest }}\n      publish_build: ${{ steps.check_publish.outputs.publish_build }}\n      self_signed_cert: ${{ steps.generate_signing_key.outputs.self_signed_cert }}\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Check if build should be published\n        id: check_publish\n        env:\n          PUBLISH_FLAG: ${{ inputs.publish }}\n        run: |\n          if [ \"${{ github.repository }}\" == \"home-assistant/operating-system\" ]; then\n            if [ \"${PUBLISH_FLAG}\" != \"true\" ] && [ \"${{ github.event_name }}\" != \"release\" ]; then\n              echo \"publish_build=false\" >> \"$GITHUB_OUTPUT\"\n            else\n              echo \"publish_build=true\" >> \"$GITHUB_OUTPUT\"\n            fi\n          else\n            echo \"publish_build=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Generate development version\n        shell: bash\n        id: version_dev\n        if: ${{ github.event_name != 'release' }}\n        env:\n          PUBLISH_BUILD: ${{ steps.check_publish.outputs.publish_build }}\n        run: |\n          version_dev=\"dev$(date --utc +'%Y%m%d')\"\n          if [ \"${{ env.PUBLISH_BUILD }}\" != \"true\" ]; then\n            version_dev=\"dev$(date +%s)\"\n          fi\n          echo \"Development version \\\"${version_dev}\\\"\"\n          echo \"version_dev=${version_dev}\" >> $GITHUB_OUTPUT\n\n      - name: Set version suffix\n        if: ${{ github.event_name != 'release' }}\n        env:\n          VERSION_DEV: ${{ steps.version_dev.outputs.version_dev }}\n        run: |\n          sed -i -E \"s/(^VERSION_SUFFIX=\\\").*(\\\"$)/\\1${VERSION_DEV}\\2/\" buildroot-external/meta\n\n      - name: Get version\n        id: version\n        run: |\n          . ${GITHUB_WORKSPACE}/buildroot-external/meta\n          echo \"version_main=${VERSION_MAJOR}.${VERSION_MINOR}\" >> $GITHUB_OUTPUT\n          if [ -z \"${VERSION_SUFFIX}\" ]; then\n            version_full=\"${VERSION_MAJOR}.${VERSION_MINOR}\"\n          else\n            version_full=\"${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_SUFFIX}\"\n          fi\n          echo \"version_full=${version_full}\" >> $GITHUB_OUTPUT\n          echo \"Full version number of this release is \\\"${version_full}\\\".\"\n\n      - name: Validate version\n        id: version_check\n        if: ${{ github.event_name == 'release' }}\n        run: |\n          if [ \"${{ steps.version.outputs.version_full }}\" != \"${{ github.event.release.tag_name }}\" ]; then\n            echo \"Version number in Buildroot metadata does not match tag (${{ steps.version.outputs.version_full }} vs ${{ github.event.release.tag_name }}).\"\n            exit 1\n          fi\n\n      - name: Get channel\n        id: channel\n        run: |\n          if [[ \"${{ github.event_name }}\" == \"release\" ]]; then\n            if [[ \"${{ github.event.release.prerelease }}\" == \"true\" ]]; then\n              echo \"channel=beta\" >> \"$GITHUB_OUTPUT\"\n            else\n              echo \"channel=stable\" >> \"$GITHUB_OUTPUT\"\n            fi\n          else\n            echo \"channel=dev\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Create build matrix\n        uses: actions/github-script@v7\n        id: generate_matrix\n        with:\n          script: |\n            const boards = require('./.github/workflows/matrix.json')\n            if (\"${{ github.event_name }}\" == \"release\") {\n              return { \"board\": boards }\n            }\n\n            const boardFilter = \"${{ github.event.inputs.boards }}\"\n            if (boardFilter == \"\") {\n              console.log(\"Run full build for all boards\")\n              return { \"board\": boards }\n            } else {\n              console.log(\"Run partial build\")\n              const boardSet = new Set(boardFilter.split(\",\"))\n              const buildBoards = boards.filter(b => boardSet.has(b.id))\n              return { \"board\": buildBoards }\n            }\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3.3.0\n      - name: Log in to the GitHub container registry\n        uses: docker/login-action@v3.2.0\n        with:\n            registry: ghcr.io\n            username: ${{ github.repository_owner }}\n            password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Build and Push\n        uses: docker/build-push-action@v6.0.0\n        id: build_haos_builder\n        with:\n          context: .\n          file: Dockerfile\n          tags: ghcr.io/${{ github.repository_owner }}/haos-builder\n          cache-from: ghcr.io/${{ github.repository_owner }}/haos-builder:cache-${{ steps.version.outputs.version_main }}\n          cache-to: ghcr.io/${{ github.repository_owner }}/haos-builder:cache-${{ steps.version.outputs.version_main }}\n          push: true\n\n      - name: Generate self-signed certificate\n        id: generate_signing_key\n        env:\n          RAUC_CERTIFICATE: ${{ secrets.RAUC_CERTIFICATE }}\n          RAUC_PRIVATE_KEY: ${{ secrets.RAUC_PRIVATE_KEY }}\n        if: env.RAUC_CERTIFICATE == '' || env.RAUC_PRIVATE_KEY == ''\n        run: |\n          echo \"::warning:: RAUC certificate or key is missing in the repository secrets. Building with a public self-signed certificate!\"\n          buildroot-external/scripts/generate-signing-key.sh cert.pem key.pem\n          echo \"self_signed_cert=true\" >> $GITHUB_OUTPUT\n\n      - name: Create signing key\n        uses: actions/upload-artifact@v4\n        if: steps.generate_signing_key.outcome == 'success'\n        with:\n          name: signing-key\n          path: |\n            cert.pem\n            key.pem\n\n  build:\n    name: Build for ${{ matrix.board.id }}\n    permissions:\n      contents: write  # for actions/upload-release-asset to upload release asset\n    needs: prepare\n    strategy:\n      fail-fast: ${{ github.event_name == 'release' }}\n      matrix: ${{ fromJson(needs.prepare.outputs.matrix) }}\n    runs-on: ubuntu-22.04\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n          persist-credentials: false\n\n      - name: Setup Python version ${{ env.PYTHON_VERSION }}\n        if: ${{ github.event_name != 'release' }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Install AWS CLI\n        if: ${{ github.event_name != 'release' && needs.prepare.outputs.publish_build == 'true' }}\n        run: pip install awscli\n\n      - name: Set version suffix\n        if: ${{ github.event_name != 'release' }}\n        env:\n          VERSION_DEV: ${{ needs.prepare.outputs.version_dev }}\n        run: |\n          sed -i -E \"s/(^VERSION_SUFFIX=\\\").*(\\\"$)/\\1${VERSION_DEV}\\2/\" buildroot-external/meta\n\n      - name: 'Add release PKI certs'\n        if: ${{ needs.prepare.outputs.self_signed_cert != 'true' }}\n        env:\n          RAUC_CERTIFICATE: ${{ secrets.RAUC_CERTIFICATE }}\n          RAUC_PRIVATE_KEY: ${{ secrets.RAUC_PRIVATE_KEY }}\n        run: |\n          echo -e \"-----BEGIN CERTIFICATE-----\\n${RAUC_CERTIFICATE}\\n-----END CERTIFICATE-----\" > cert.pem\n          echo -e \"-----BEGIN PRIVATE KEY-----\\n${RAUC_PRIVATE_KEY}\\n-----END PRIVATE KEY-----\" > key.pem\n\n      - name: Get self-signed certificate from the prepare job\n        if: ${{ needs.prepare.outputs.self_signed_cert == 'true' }}\n        uses: actions/download-artifact@v4\n        with:\n          name: signing-key\n\n      - name: Free space on build drive\n        run: |\n          # Inspired by https://github.com/easimon/maximize-build-space/blob/v7/action.yml\n          df -h\n          sudo rm -rf /usr/local/lib/android/sdk/ndk\n          sudo rm -rf /opt/hostedtoolcache/CodeQL\n          sudo mkdir /mnt/cache\n          sudo mkdir /mnt/output\n          WORKSPACE_OWNER=\"$(stat -c '%U:%G' \"${GITHUB_WORKSPACE}\")\"\n          # output directory is symlinked for easier access from workspace\n          # but for build container it must be mounted as a volume\n          sudo ln -sf /mnt/output \"${GITHUB_WORKSPACE}/output\"\n          sudo chown -R \"${WORKSPACE_OWNER}\" /mnt/cache\n          sudo chown -R \"${WORKSPACE_OWNER}\" /mnt/output\n          df -h\n\n      - name: \"Restore cache: object files\"\n        uses: actions/cache/restore@v4\n        with:\n          path: /mnt/cache/cc\n          key: haos-cc-${{ matrix.board.id }}\n\n      - name: Build\n        run: |\n          BUILDER_UID=\"$(id -u)\"\n          BUILDER_GID=\"$(id -g)\"\n          docker run --rm --privileged \\\n            -e BUILDER_UID=\"${BUILDER_UID}\" -e BUILDER_GID=\"${BUILDER_GID}\" \\\n            -v \"${GITHUB_WORKSPACE}:/build\" \\\n            -v \"/mnt/cache:/cache\" \\\n            -v \"/mnt/output:/build/output\" \\\n            ${{ needs.prepare.outputs.build_container_image }} \\\n            make BUILDDIR=/build ${{ matrix.board.defconfig }}\n\n      - name: Check Linux config\n        run: |\n          docker run --rm --privileged \\\n            -e BUILDER_UID=\"$(id -u)\" -e BUILDER_GID=\"$(id -g)\" \\\n            -v \"${GITHUB_WORKSPACE}:/build\" \\\n            -v \"/mnt/cache:/cache\" \\\n            -v \"/mnt/output:/build/output\" \\\n            ${{ needs.prepare.outputs.build_container_image }} \\\n            make -C buildroot O=\"/build/output\" BR2_EXTERNAL=\"/build/buildroot-external\" \\\n            BR2_CHECK_DOTCONFIG_OPTS=\"--github-format --strip-path-prefix=/build/\" linux-check-dotconfig\n\n      - name: Upload artifacts\n        if: ${{ github.event_name != 'release' && needs.prepare.outputs.publish_build == 'true' }}\n        working-directory: output/images/\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.R2_OS_ARTIFACTS_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_OS_ARTIFACTS_KEY }}\n        run: |\n          aws s3 sync \\\n            ./ \\\n            s3://${{ secrets.R2_OS_ARTIFACTS_BUCKET }}/${{ needs.prepare.outputs.version_full }}/ \\\n            --exclude \"*\" \\\n            --include \"haos_*\" \\\n            --endpoint-url ${{ secrets.R2_OS_ARTIFACTS_ENDPOINT }}\n\n      - name: Upload release assets\n        if: ${{ github.event_name == 'release' }}\n        uses: shogo82148/actions-upload-release-asset@v1\n        with:\n          upload_url: ${{ github.event.release.upload_url }}\n          asset_path: output/images/haos_*\n\n      - name: Print cache stats\n        run: |\n          echo \"Cache size: $(du -sh /mnt/cache/cc)\"\n          echo \"Files total: $(find /mnt/cache/cc -mindepth 1 -type f | wc -l)\"\n          echo \"Old files to remove: $(find /mnt/cache/cc -mindepth 1 -type f -not -anewer output/Makefile | wc -l)\"\n          find /mnt/cache/cc -mindepth 1 -type f -not -anewer output/Makefile -delete\n          echo \"Cache size after pruning: $(du -sh /mnt/cache/cc)\"\n\n      - name: \"Save cache: object files\"\n        if: github.ref == 'refs/heads/dev'\n        uses: actions/cache/save@v4\n        with:\n          path: /mnt/cache/cc\n          key: haos-cc-${{ matrix.board.id }}-${{ github.run_id }}\n\n      - name: Generate build summary\n        run: |\n          echo \"# ${{ matrix.board.id }} build summary\" >> $GITHUB_STEP_SUMMARY\n          echo \"## Artifacts\" >> $GITHUB_STEP_SUMMARY\n          echo \"| File | Size (bytes) | Size (formatted) |\" >> $GITHUB_STEP_SUMMARY\n          echo \"|:-|:-|:-|\" >> $GITHUB_STEP_SUMMARY\n          for f in output/images/haos_*; do\n            echo \"| $(basename $f) | $(du -b $f | cut -f1) | $(du -bh $f | cut -f1) |\" >> $GITHUB_STEP_SUMMARY\n          done\n          echo \"## Partitions\" >> $GITHUB_STEP_SUMMARY\n          echo \"| File | Size (bytes) | Size (formatted) |\" >> $GITHUB_STEP_SUMMARY\n          echo \"|:-|:-|:-|\" >> $GITHUB_STEP_SUMMARY\n          for f in boot.vfat kernel.img rootfs.squashfs overlay.ext4 data.ext4; do\n            echo \"| ${f} | $(du -b output/images/$f | cut -f1) | $(du -bh output/images/$f | cut -f1) |\" >> $GITHUB_STEP_SUMMARY\n          done\n\n      - name: Upload OS image artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ github.event_name != 'release' && needs.prepare.outputs.publish_build != 'true' && matrix.board.id != 'ova' }}\n        with:\n          name: haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.img.xz\n          path: |\n            output/images/haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.img.xz\n\n      - name: Upload RAUC bundle artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ github.event_name != 'release' && needs.prepare.outputs.publish_build != 'true' }}\n        with:\n          name: haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.raucb\n          path: |\n            output/images/haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.raucb\n\n      - name: Upload Open Virtualization Format (OVA) artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ github.event_name != 'release' && needs.prepare.outputs.publish_build != 'true' && matrix.board.id == 'ova' }}\n        with:\n          name: haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.ova\n          path: |\n            output/images/haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.ova\n\n      - name: Upload QEMU disk image artifact\n        uses: actions/upload-artifact@v4\n        # Create artifact for ova every time - it's used by the called tests workflow\n        if: ${{ matrix.board.id == 'ova' || (github.event_name != 'release' && needs.prepare.outputs.publish_build != 'true' && matrix.board.id == 'generic-aarch64') }}\n        with:\n          name: haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.qcow2.xz\n          path: |\n            output/images/haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.qcow2.xz\n\n      - name: Upload VMware Virtual Machine Disk (VMDK) artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ github.event_name != 'release' && needs.prepare.outputs.publish_build != 'true' && (matrix.board.id == 'generic-aarch64' || matrix.board.id == 'ova') }}\n        with:\n          name: haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.vmdk.zip\n          path: |\n            output/images/haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.vmdk.zip\n\n      - name: Upload VirtualBox Virtual Disk Image (VDI) artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ github.event_name != 'release' && needs.prepare.outputs.publish_build != 'true' && matrix.board.id == 'ova' }}\n        with:\n          name: haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.vdi.zip\n          path: |\n            output/images/haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.vdi.zip\n\n      - name: Upload Virtual Hard Disk v2 (VHDX) artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ github.event_name != 'release' && needs.prepare.outputs.publish_build != 'true' && matrix.board.id == 'ova' }}\n        with:\n          name: haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.vhdx.zip\n          path: |\n            output/images/haos_${{ matrix.board.id }}-${{ needs.prepare.outputs.version_full }}.vhdx.zip\n\n  test:\n    name: Test OS image\n    needs: [ build, prepare ]\n    uses: ./.github/workflows/test.yaml\n    with:\n      version: ${{ needs.prepare.outputs.version_full }}\n\n  update_index:\n    name: Update artifacts index\n    if: ${{ github.event_name != 'release' && needs.prepare.outputs.publish_build == 'true' }}\n    needs: [ build, prepare ]\n    uses: home-assistant/operating-system/.github/workflows/artifacts-index.yaml@dev\n    with:\n      version: ${{ needs.prepare.outputs.version_full }}\n    secrets:\n      R2_OS_ARTIFACTS_ID: ${{ secrets.R2_OS_ARTIFACTS_ID }}\n      R2_OS_ARTIFACTS_KEY: ${{ secrets.R2_OS_ARTIFACTS_KEY }}\n      R2_OS_ARTIFACTS_BUCKET: ${{ secrets.R2_OS_ARTIFACTS_BUCKET }}\n      R2_OS_ARTIFACTS_ENDPOINT: ${{ secrets.R2_OS_ARTIFACTS_ENDPOINT }}\n      CF_ZONE: ${{ secrets.CF_ZONE }}\n      CF_PURGE_TOKEN: ${{ secrets.CF_PURGE_TOKEN }}\n\n  bump_version:\n    name: Bump ${{ needs.prepare.outputs.channel }} channel version\n    if: ${{ github.repository == 'home-assistant/operating-system' && needs.prepare.outputs.publish_build == 'true' }}\n    environment: ${{ needs.prepare.outputs.channel }}\n    needs: [ build, prepare ]\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Checkout source\n      uses: actions/checkout@v4\n      with:\n        persist-credentials: false\n\n    - name: Initialize git\n      uses: home-assistant/actions/helpers/git-init@master\n      with:\n        name: ${{ secrets.GIT_NAME }}\n        email: ${{ secrets.GIT_EMAIL }}\n        token: ${{ secrets.GIT_TOKEN }}\n\n    - name: Bump Home Assistant OS ${{ needs.prepare.outputs.channel }} channel version\n      uses: home-assistant/actions/helpers/version-push@master\n      with:\n        key: \"hassos[]\"\n        key-description: \"Home Assistant OS\"\n        version: ${{ needs.prepare.outputs.version_full }}\n        channel: ${{ needs.prepare.outputs.channel }}\n\n    - name: Bump Home Assistant OS beta channel version on stable release\n      if: ${{ needs.prepare.outputs.channel == 'stable' }}\n      uses: home-assistant/actions/helpers/version-push@master\n      with:\n        key: \"hassos[]\"\n        key-description: \"Home Assistant OS\"\n        version: ${{ needs.prepare.outputs.version_full }}\n        channel: beta\n\n    - name: Bump stable Home Assistant version for RPi Imager\n      if: ${{ github.event_name == 'release' && needs.prepare.outputs.channel == 'stable' }}\n      uses: \"./.github/actions/bump-rpi-imager-version\"\n      with:\n        version: ${{ needs.prepare.outputs.version_full }}\n        release-date: ${{ github.event.release.published_at }}\n", "state": "active", "repository": "home-assistant/operating-system"}
{"mined_at": "2024-07-15T16:46:24.864551", "created_at": "2021-11-05T10:17:43+01:00", "updated_at": "2021-11-05T10:17:43+01:00", "name": "Label Actions", "path": ".github/workflows/label-actions.yml", "contents": "name: 'Label Actions'\n\non:\n  issues:\n    types: [labeled, unlabeled]\n\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n  discussions: write\n\njobs:\n  action:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/label-actions@v4.0.1\n", "state": "active", "repository": "home-assistant/operating-system"}
{"mined_at": "2024-07-15T16:46:25.990864", "created_at": "2020-11-18T00:55:38+01:00", "updated_at": "2021-07-14T09:45:34+02:00", "name": "PR checks", "path": ".github/workflows/pr-checks.yml", "contents": "# Home Assistant Operating System pull-request checks\n\nname: PR checks\n\non: [pull_request]\n\njobs:\n  linters:\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Install additional dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get -y install \\\n          python3-flake8\n\n    - name: Check out code\n      uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Check Dockerfile\n      uses: brpaz/hadolint-action@v1.5.0\n      with:\n        dockerfile: Dockerfile\n\n    - name: Check shell scripts\n      uses: ludeeus/action-shellcheck@2.0.0\n      with:\n        ignore_paths: buildroot\n\n    - name: Check buildroot-external packages\n      run: |\n        buildroot/utils/check-package --exclude PackageHeader --exclude Upstream --br2-external buildroot-external/package/*/*\n", "state": "active", "repository": "home-assistant/operating-system"}
{"mined_at": "2024-07-15T16:46:27.014319", "created_at": "2020-11-16T22:13:03+01:00", "updated_at": "2020-11-16T22:13:03+01:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - dev\n      - rel-*\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write  # for release-drafter/release-drafter to create a github release\n      pull-requests: read  # for release-drafter/release-drafter to read PR content and labels\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v6\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "home-assistant/operating-system"}
{"mined_at": "2024-07-15T16:46:28.143527", "created_at": "2021-10-06T12:18:41+02:00", "updated_at": "2021-10-06T12:18:41+02:00", "name": "Stale", "path": ".github/workflows/stale.yml", "contents": "name: Stale\n\n# yamllint disable-line rule:truthy\non:\n  schedule:\n    - cron: \"40 5 * * *\"\n  workflow_dispatch:\n\njobs:\n  stale:\n    permissions:\n      issues: write  # for actions/stale to close stale issues\n      pull-requests: write  # for actions/stale to close stale PRs\n    runs-on: ubuntu-latest\n    steps:\n      # The 90 day stale policy\n      # Used for:\n      # - Issues & PRs\n      # - No PRs marked as no-stale or pinned\n      # - No issues marked as no-stale, help-wanted or pinned\n      - name: 90 days stale issues & PRs policy\n        uses: actions/stale@v9.0.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          days-before-stale: 90\n          days-before-close: 7\n          operations-per-run: 150\n          remove-stale-when-updated: true\n          stale-issue-label: \"stale\"\n          exempt-issue-labels: \"no-stale,help-wanted,pinned,enhancement\"\n          stale-issue-message: >\n            There hasn't been any activity on this issue recently. To keep our\n            backlog manageable we have to clean old issues, as many of them have\n            already been resolved with the latest updates.\n\n            Please make sure to update to the latest Home Assistant OS version and\n            check if that solves the issue. Let us know if that works for you by\n            adding a comment 👍\n\n            This issue has now been marked as stale and will be closed if no\n            further activity occurs. Thank you for your contributions.\n\n          stale-pr-label: \"stale\"\n          exempt-pr-labels: \"no-stale,pinned\"\n          stale-pr-message: >\n            There hasn't been any activity on this pull request recently. This\n            pull request has been automatically marked as stale because of that\n            and will be closed if no further activity occurs within 7 days.\n\n            Thank you for your contributions.\n", "state": "active", "repository": "home-assistant/operating-system"}
{"mined_at": "2024-07-15T16:46:29.256131", "created_at": "2023-10-17T18:23:33+02:00", "updated_at": "2023-10-17T18:23:33+02:00", "name": "Test HAOS image", "path": ".github/workflows/test.yaml", "contents": "name: Test HAOS image\nrun-name: \"Test HAOS ${{ inputs.version || format('(OS build #{0})', github.event.workflow_run.run_number) }}\"\n\non:\n  # Manual test of specified version\n  workflow_dispatch:\n    inputs:\n      version:\n        description: Version of HAOS to test\n        required: true\n        type: string\n\n  # Called by other workflows (e.g. build.yaml)\n  workflow_call:\n    inputs:\n      use-artifact:\n        # Workaround for GH weirdness: https://github.com/actions/runner/discussions/1884\n        description: Download OS image using actions/download-artifact\n        required: false\n        type: boolean\n        default: true\n      version:\n        description: Version of HAOS to test (as used in the name of the qcow2 image artifact)\n        required: true\n        type: string\n\njobs:\n  test:\n    if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}\n\n    name: Test in QEMU\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Install system dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y qemu-system-x86 ovmf\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install Python requirements\n        run:\n          pip install -r tests/requirements.txt\n\n      - name: Download HAOS image\n        if: ${{ !inputs.use-artifact }}\n        run: |\n          curl -sfL -o haos.qcow2.xz  https://os-artifacts.home-assistant.io/${{github.event.inputs.version}}/haos_ova-${{github.event.inputs.version}}.qcow2.xz\n\n      - name: Get OS image artifact\n        if: ${{ inputs.use-artifact }}\n        uses: actions/download-artifact@v4\n        with:\n          name: haos_ova-${{ inputs.version }}.qcow2.xz\n\n      - name: Extract OS image\n        run: |\n          xz -dc haos*.qcow2.xz > tests/haos.qcow2\n          rm haos*.qcow2.xz\n\n      - name: Enable KVM group perms\n        run: |\n          echo 'KERNEL==\"kvm\", GROUP=\"kvm\", MODE=\"0666\", OPTIONS+=\"static_node=kvm\"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules\n          sudo udevadm control --reload-rules\n          sudo udevadm trigger --name-match=kvm\n\n      - name: Run tests\n        run: |\n          ./tests/run_tests.sh\n\n      - name: Archive logs\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: logs\n          path: |\n            tests/lg_logs/**\n\n      - name: Archive JUnit reports\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: junit_reports\n          path: |\n            tests/junit_reports/*.xml\n\n      - name: Publish test report\n        uses: mikepenz/action-junit-report@v4\n        if: always()\n        with:\n          report_paths: 'tests/junit_reports/*.xml'\n          annotate_only: true\n          detailed_summary: true\n", "state": "active", "repository": "home-assistant/operating-system"}
{"mined_at": "2024-07-15T16:46:31.304085", "created_at": "2022-10-21T23:11:47+02:00", "updated_at": "2022-10-21T23:22:27+02:00", "name": "CodeCov", "path": ".github/workflows/codecov.yaml", "contents": "name: CodeCov\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\njobs:\n  run:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: '3.11'\n    steps:\n    - uses: actions/checkout@master\n    - name: Setup Python\n      uses: actions/setup-python@master\n      with:\n        python-version: 3.11\n    - name: Generate Report\n      run: |\n        python -m pip install --upgrade pip\n        pip install coverage requests-mock\n        python setup.py install\n        coverage run -m --source=emhass unittest\n        coverage report\n        coverage xml\n    - name: Upload coverage reports to Codecov\n      run: |\n        # Replace `linux` below with the appropriate OS\n        # Options are `alpine`, `linux`, `macos`, `windows`\n        curl -Os https://uploader.codecov.io/latest/linux/codecov\n        chmod +x codecov\n        ./codecov -t ${CODECOV_TOKEN}", "state": "active", "repository": "davidusb-geek/emhass"}
{"mined_at": "2024-07-15T16:46:32.343588", "created_at": "2022-11-17T14:53:43+01:00", "updated_at": "2022-11-17T14:53:43+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '22 3 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "davidusb-geek/emhass"}
{"mined_at": "2024-07-15T16:46:33.496383", "created_at": "2024-02-26T12:18:08+01:00", "updated_at": "2024-03-10T10:32:58+01:00", "name": "Test Docker Standalone", "path": ".github/workflows/docker-build-test.yaml", "contents": "#This action test builds EMHASS standalone Docker images, in each architecture.\nname: \"Test Docker Standalone\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [\n          {buildx: linux/amd64, target_arch: amd64, os_version: debian},\n          {buildx: linux/arm/v7, target_arch: armv7, os_version: debian},\n          {buildx: linux/arm/v7, target_arch: armhf, os_version: raspbian},\n          {buildx: linux/arm64,  target_arch: aarch64, os_version: debian}\n        ]\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Build and push by digest\n        id: build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: ${{ matrix.platform.buildx }}\n          build-args: |\n            build_version=standalone\n            TARGETARCH=${{ matrix.platform.target_arch }}\n            os_version=${{ matrix.platform.os_version }}\n          tags: emhass/standalone-test\n          load: true\n      - name: Test #assume docker fail with FileNotFound secrets_emhass.yaml error\n        run: docker run --rm -it emhass/standalone-test | grep -q secrets_emhass.yaml && echo 0 || echo 1\n", "state": "active", "repository": "davidusb-geek/emhass"}
{"mined_at": "2024-07-15T16:46:34.594071", "created_at": "2023-01-18T14:05:28+01:00", "updated_at": "2023-01-18T14:05:28+01:00", "name": "Publish Docker", "path": ".github/workflows/publish_docker.yaml", "contents": "#template modified from: https://docs.docker.com/build/ci/github-actions/multi-platform/\nname: \"Publish Docker\"\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest  \n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [\n          {buildx: linux/amd64, target_arch: amd64, os_version: debian},\n          {buildx: linux/arm/v7, target_arch: armv7, os_version: debian},\n          {buildx: linux/arm/v7, target_arch: armhf, os_version: raspbian},\n          {buildx: linux/arm64,  target_arch: aarch64, os_version: debian}\n        ]\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/emhass-docker-standalone\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and push by digest\n        id: build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: ${{ matrix.platform.buildx }}\n          build-args: |\n            build_version=standalone\n            TARGETARCH=${{ matrix.platform.target_arch }}\n            os_version=${{ matrix.platform.os_version }}\n          labels: ${{ steps.meta.outputs.labels }}\n          outputs: type=image,name=${{ secrets.DOCKERHUB_USERNAME }}/emhass-docker-standalone,push-by-digest=true,name-canonical=true,push=true\n      - name: Export digest\n        run: |\n          mkdir -p /tmp/digests\n          digest=\"${{ steps.build.outputs.digest }}\"\n          touch \"/tmp/digests/${digest#sha256:}\"\n      - name: Upload digest\n        uses: actions/upload-artifact@v4\n        with:\n          name: digests-${{ matrix.platform.target_arch }}\n          path: /tmp/digests/*\n          if-no-files-found: error\n          retention-days: 1\n  merge:\n    if: always()\n    runs-on: ubuntu-latest\n    needs:\n      - build\n    steps:\n      - name: Download digests\n        uses: actions/download-artifact@v4\n        with:\n          path: /tmp/digests\n          pattern: digests-*\n          merge-multiple: true\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ secrets.DOCKERHUB_USERNAME }}/emhass-docker-standalone\n          tags: |\n            type=semver,pattern={{version}}\n            type=raw,value=latest\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Create manifest list and push\n        working-directory: /tmp/digests\n        run: |\n          docker buildx imagetools create $(jq -cr '.tags | map(\"-t \" + .) | join(\" \")' <<< \"$DOCKER_METADATA_OUTPUT_JSON\") \\\n            $(printf '${{ secrets.DOCKERHUB_USERNAME }}/emhass-docker-standalone@sha256:%s ' *)          \n      - name: Inspect image\n        run: |\n          docker buildx imagetools inspect ${{ secrets.DOCKERHUB_USERNAME }}/emhass-docker-standalone:${{ steps.meta.outputs.version }}\n", "state": "active", "repository": "davidusb-geek/emhass"}
{"mined_at": "2024-07-15T16:46:35.616399", "created_at": "2022-10-21T23:11:47+02:00", "updated_at": "2022-10-21T23:11:47+02:00", "name": "Python test", "path": ".github/workflows/python-test.yml", "contents": "name: Python test\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n\n    steps:\n    - uses: actions/checkout@v4\n    \n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        \n    - name: Special dependencies for macos\n      run: |\n        brew install hdf5\n        pip3 install numpy==1.26.0\n        pip3 install tables==3.9.1\n      if: ${{ matrix.os == 'macos-latest' }}\n        \n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install pytest requests-mock\n        python setup.py install\n        \n    - name: Test with pytest\n      run: |\n        pytest\n", "state": "active", "repository": "davidusb-geek/emhass"}
{"mined_at": "2024-07-15T16:46:36.743028", "created_at": "2022-10-21T23:11:47+02:00", "updated_at": "2024-02-10T22:45:02+01:00", "name": "Upload Python Package to PyPI", "path": ".github/workflows/upload-package-to-pypi.yaml", "contents": "name: Upload Python Package to PyPI\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n    - name: Install pypa/build\n      run: >-\n        python3 -m pip install build --user\n    - name: Build a binary wheel and a source tarball\n      run: python3 -m build\n    - name: Store the distribution packages\n      uses: actions/upload-artifact@v4\n      with:\n        name: python-package-distributions\n        path: dist/\n  publish-to-pypi:\n    name: >-\n      Publish Python 🐍 distribution 📦 to PyPI\n    needs:\n    - build\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/emhass\n    permissions:\n      id-token: write\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v4\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "davidusb-geek/emhass"}
{"mined_at": "2024-07-15T16:46:38.853259", "created_at": "2021-04-24T18:13:39+02:00", "updated_at": "2023-11-05T16:31:05+01:00", "name": "tests", "path": ".github/workflows/main.yml", "contents": "name: tests\n\non:\n  merge_group:\n  push:\n    branches-ignore:\n    # temporary GH branches relating to merge queues (jaraco/skeleton#93)\n    - gh-readonly-queue/**\n    tags:\n    # required if branches-ignore is supplied (jaraco/skeleton#103)\n    - '**'\n  pull_request:\n\nconcurrency:\n  group: >-\n    ${{ github.workflow }}-\n    ${{ github.ref_type }}-\n    ${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\nenv:\n  # Environment variable to support color support (jaraco/skeleton#66)\n  FORCE_COLOR: 1\n\n  # Suppress noisy pip warnings\n  PIP_DISABLE_PIP_VERSION_CHECK: 'true'\n  PIP_NO_PYTHON_VERSION_WARNING: 'true'\n  PIP_NO_WARN_SCRIPT_LOCATION: 'true'\n\n  # Ensure tests can sense settings about the environment\n  TOX_OVERRIDE: >-\n    testenv.pass_env+=GITHUB_*,FORCE_COLOR\n\njobs:\n  test:\n    strategy:\n      # https://blog.jaraco.com/efficient-use-of-ci-resources/\n      matrix:\n        python:\n        - \"3.8\"\n        - \"3.12\"\n        platform:\n        - ubuntu-latest\n        - macos-latest\n        - windows-latest\n        include:\n        - python: \"3.9\"\n          platform: ubuntu-latest\n        - python: \"3.10\"\n          platform: ubuntu-latest\n        - python: \"3.11\"\n          platform: ubuntu-latest\n        - python: pypy3.10\n          platform: ubuntu-latest\n    runs-on: ${{ matrix.platform }}\n    continue-on-error: ${{ matrix.python == '3.13' }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox\n\n  collateral:\n    strategy:\n      fail-fast: false\n      matrix:\n        job:\n        - diffcov\n        - docs\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ matrix.python == '3.12' }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Eval ${{ matrix.job }}\n        run: tox -e ${{ matrix.job }}\n\n  test_cygwin:\n    # disabled due to lack of Rust support pypa/setuptools#3921\n    if: ${{ false }}\n    strategy:\n      matrix:\n        python:\n        - 39\n        platform:\n        - windows-latest\n    runs-on: ${{ matrix.platform }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Cygwin\n        uses: cygwin/cygwin-install-action@v2\n        with:\n          platform: x86_64\n          packages: >-\n            python${{ matrix.python }},\n            python${{ matrix.python }}-devel,\n            python${{ matrix.python }}-pytest,\n            python${{ matrix.python }}-tox,\n            gcc-core,\n            gcc-g++,\n            ncompress\n            git\n      - name: Run tests\n        shell: C:\\cygwin\\bin\\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\\cygwin\\bin\\bash.exe -leo pipefail -o igncr {0}\n        run: tox\n\n  ci_setuptools:\n    # Integration testing with setuptools\n    strategy:\n      matrix:\n        python:\n        - \"3.10\"\n        platform:\n        - ubuntu-latest\n    runs-on: ${{ matrix.platform }}\n    env:\n      SETUPTOOLS_USE_DISTUTILS: local\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install tox\n        run: |\n          python -m pip install tox\n      - name: Check out pypa/setuptools\n        uses: actions/checkout@v3\n        with:\n          repository: pypa/setuptools\n          ref: main\n          path: integration/setuptools\n      - name: Replace vendored distutils\n        run: |\n          cd integration/setuptools/setuptools\n          rm -rf _distutils\n          cp -rp ../../../distutils _distutils\n      - name: Run setuptools tests\n        run: |\n          cd integration/setuptools\n          tox\n        env:\n          VIRTUALENV_NO_SETUPTOOLS: null\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs:\n    - test\n    - collateral\n    # disabled due to disabled job\n    # - test_cygwin\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n\n  release:\n    permissions:\n      contents: write\n    needs:\n    - check\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11-dev\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run\n        run: tox -e release\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pypa/distutils"}
{"mined_at": "2024-07-15T16:46:40.941422", "created_at": "2020-12-10T13:22:29+01:00", "updated_at": "2021-05-09T18:10:00+02:00", "name": "Python Linter (Black)", "path": ".github/workflows/black.yml", "contents": "name: Python Linter (Black)\n\non:\n  workflow_dispatch:\n  pull_request:\n\njobs:\n  lint-backend:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n      - uses: psf/black@stable\n", "state": "active", "repository": "membermatters/membermatters"}
{"mined_at": "2024-07-15T16:46:41.959210", "created_at": "2021-10-04T17:09:31+02:00", "updated_at": "2024-01-17T06:38:31+01:00", "name": "Build Docker Image (On Dev Push)", "path": ".github/workflows/build_docker.dev.yml", "contents": "name: Build Docker Image (On Dev Push)\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - \"dev\"\n\njobs:\n  build-docker-dev:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and Push\n        id: docker_build\n        uses: docker/build-push-action@v3\n        with:\n          file: docker/Dockerfile\n          platforms: linux/amd64\n          push: true\n          tags: membermatters/membermatters:dev,membermatters/membermatters:${{github.sha}}\n", "state": "active", "repository": "membermatters/membermatters"}
{"mined_at": "2024-07-15T16:46:43.196384", "created_at": "2024-01-17T05:04:01+01:00", "updated_at": "2024-01-17T06:41:42+01:00", "name": "Build Docker Image (On PR)", "path": ".github/workflows/build_docker.pr.yml", "contents": "name: Build Docker Image (On PR)\n\non:\n  workflow_dispatch:\n  pull_request:\n    types: [opened, synchronize]\n    branches:\n      - \"dev\"\n\njobs:\n  build-docker-pr:\n    runs-on: ubuntu-latest\n    outputs:\n      branch: ${{ steps.extract_branch.outputs.branch }}\n    steps:\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}\" | tr / - >> $GITHUB_OUTPUT\n        id: extract_branch\n      - name: Build and push pr image\n        id: docker_build\n        uses: docker/build-push-action@v3\n        with:\n          file: docker/Dockerfile\n          platforms: linux/amd64\n          push: true\n          tags: membermatters/membermatters:untrusted-pr-${{ steps.extract_branch.outputs.branch }}\n    \n  comment_docker_image:\n    needs: build-docker-pr\n    runs-on: ubuntu-latest\n    steps:\n      - name: Comment name of docker image\n        id: comment_docker_image\n        uses: actions/github-script@v6\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Created image with name `membermatters/membermatters:untrusted-pr-${{ needs.build-docker-pr.outputs.branch }}`.'\n            })\n", "state": "active", "repository": "membermatters/membermatters"}
{"mined_at": "2024-07-15T16:46:44.423581", "created_at": "2024-01-17T06:41:42+01:00", "updated_at": "2024-01-17T06:41:42+01:00", "name": "Build Docker Image (On Prod Release)", "path": ".github/workflows/build_docker.release.yml", "contents": "name: Build Docker Image (On Prod Release)\n\non:\n  push:\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n      - \"!v[0-9]+.[0-9]+.[0-9]+-*\"\n\njobs:\n  build-docker-release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v3\n        with:\n          file: docker/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: membermatters/membermatters:latest,membermatters/membermatters:${{github.ref_name}}\n", "state": "active", "repository": "membermatters/membermatters"}
{"mined_at": "2024-07-15T16:46:45.526814", "created_at": "2020-12-10T11:22:50+01:00", "updated_at": "2024-07-13T19:25:29+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - \"dev\"\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches:\n      - \"dev\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"javascript\", \"python\"]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v1\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v1\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v1\n", "state": "disabled_manually", "repository": "membermatters/membermatters"}
{"mined_at": "2024-07-15T16:46:46.526073", "created_at": "2024-05-23T09:02:48+02:00", "updated_at": "2024-05-23T09:02:48+02:00", "name": "Wrong Branch Warning", "path": ".github/workflows/comment_wrong_branch.yml", "contents": null, "state": "active", "repository": "membermatters/membermatters"}
{"mined_at": "2024-07-15T16:46:47.583708", "created_at": "2021-05-09T18:10:00+02:00", "updated_at": "2021-05-09T18:10:00+02:00", "name": "JavaScript Linter (eslint)", "path": ".github/workflows/eslint.yml", "contents": "name: JavaScript Linter (eslint)\non: [pull_request]\njobs:\n  lint-frontend:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install modules\n        working-directory: ./src-frontend\n        run: npm i\n      - name: Run ESLint\n        working-directory: ./src-frontend\n        run: npm run lint\n", "state": "active", "repository": "membermatters/membermatters"}
{"mined_at": "2024-07-15T16:46:48.621402", "created_at": "2022-02-24T02:30:45+01:00", "updated_at": "2022-02-24T02:30:45+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "membermatters/membermatters"}
{"mined_at": "2024-07-15T16:46:50.629680", "created_at": "2021-08-21T10:56:30+02:00", "updated_at": "2021-08-31T07:36:32+02:00", "name": "main", "path": ".github/workflows/main.yml", "contents": "---\nname: main\n\non:\n  push:\n    branches: [ dev ]\n  pull_request:\n    branches: [ dev ]\n  workflow_dispatch:\n\njobs:\n  main:\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: install tox\n      run: python -m pip install --upgrade tox virtualenv setuptools pip\n    - name: run tox\n      run: tox -e py\n", "state": "active", "repository": "sparkfish/augraphy"}
{"mined_at": "2024-07-15T16:46:51.662309", "created_at": "2021-09-29T09:37:05+02:00", "updated_at": "2021-09-29T09:37:05+02:00", "name": "Upload to PyPI", "path": ".github/workflows/upload-to-pypi.yml", "contents": "name: Upload to PyPI\n\non:\n  # Triggers the workflow when a release is created\n  push:\n    branches: [ rel ]\n  # Allow for manually running the job from the Actions tab\n  workflow_dispatch:\n\njobs:\n  upload:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: \"Install dependencies\"\n        run: |\n          python3 -m pip install --upgrade pip\n          python3 -m pip install setuptools wheel twine\n\n      - name: \"Build and uploads to PyPI\"\n        run: |\n          python3 setup.py sdist bdist_wheel\n          python3 -m twine upload dist/*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_GITHUB_ACTIONS_PUBLISHING_TOKEN }}\n", "state": "active", "repository": "sparkfish/augraphy"}
{"mined_at": "2024-07-15T16:46:53.720795", "created_at": "2022-03-08T04:10:26+01:00", "updated_at": "2024-05-20T14:45:11+02:00", "name": "C++,Native Python", "path": ".github/workflows/cxx-python.yml", "contents": "name: C++,Native Python\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nenv:\n  ITKMeshToPolyData-git-tag: \"v0.11.0\"\n\njobs:\n  cxx-build-workflow:\n    uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.0\n    with:\n      itk-module-deps: 'MeshToPolyData@v0.11.0'\n      ctest-options: '-E itkPipelineTest'\n\n  python-build-workflow:\n    uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.0\n    with:\n      itk-module-deps: 'InsightSoftwareConsortium/ITKMeshToPolyData@v0.11.0'\n    secrets:\n      pypi_password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "insightsoftwareconsortium/itk-wasm"}
{"mined_at": "2024-07-15T16:46:54.770024", "created_at": "2022-06-30T16:20:45+02:00", "updated_at": "2024-05-07T16:44:48+02:00", "name": "Browser Tests", "path": ".github/workflows/cypress.yml", "contents": "name: Browser Tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\ndefaults:\n  run:\n    shell: bash -leo pipefail {0} {0}\n\njobs:\n\n  test-cypress:\n    name: browser tests\n    runs-on: ubuntu-22.04\n    strategy:\n      max-parallel: 3\n      matrix:\n        package: [compress-stringify, compare-images, dicom, mesh-io, image-io, downsample]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          large-packages: false\n          tool-cache: true\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n\n      - name: Install\n        uses: pnpm/action-setup@v4\n        with:\n          run_install: true\n\n      - name: Build itk-wasm\n        run: |\n          pnpm run --aggregate-output --filter itk-wasm build\n\n      - name: Build build:gen:typescript\n        run: |\n          pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}-build...\" build:gen:typescript\n\n      - name: Build typescript\n        run: |\n          pnpm install\n          # Build the generated TypeScript package\n          pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}...\" build:tsc\n          pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}\" build\n\n      - name: Download test data\n        run: |\n          pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}-build\" test:data:download\n\n      - name: Test with Chrome\n        if: ${{ matrix.package != 'dicom' }}\n        uses: cypress-io/github-action@v6\n        with:\n          browser: chrome\n          working-directory: packages/${{ matrix.package }}/typescript\n          install: false\n          start: pnpm start\n          config: video=true\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: cypress-videos-${{ matrix.package }}\n          path: packages/${{ matrix.package }}/typescript/cypress/videos\n          if-no-files-found: ignore\n\n      - name: Test with Firefox\n        if: ${{ matrix.package != 'compress-stringify' && matrix.package != 'dicom' && matrix.package != 'mesh-io' && matrix.package != 'image-io' && matrix.package != 'downsample' }}\n        uses: cypress-io/github-action@v6\n        with:\n          browser: firefox\n          working-directory: packages/${{ matrix.package }}/typescript\n          install: false\n          start: pnpm start\n\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: cypress-screenshots-${{ matrix.package }}\n          path: packages/${{ matrix.package }}/typescript/cypress/screenshots\n          if-no-files-found: ignore\n\n  test-itk-wasm-cypress:\n    name: itk-wasm browser tests\n    runs-on: ubuntu-22.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          large-packages: false\n          tool-cache: true\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n\n      - name: Install\n        uses: pnpm/action-setup@v4\n        with:\n          run_install: true\n\n      - name: Build itk-wasm\n        run: |\n          pnpm run --aggregate-output --filter itk-wasm build\n\n      - name: Build build:gen:typescript\n        run: |\n          pnpm run --aggregate-output build:gen:typescript\n\n      - name: Build itk-wasm\n        run: |\n          pnpm run --aggregate-output --filter itk-wasm build\n          # Test deps\n          pnpm run --aggregate-output --filter \"@itk-wasm/demo-app\" build\n          pnpm run --aggregate-output --filter \"@itk-wasm/mesh-io\" build\n          pnpm run --aggregate-output --filter \"@itk-wasm/image-io\" build\n\n      - name: Test itk-wasm with Chrome\n        uses: cypress-io/github-action@v6\n        with:\n          browser: chrome\n          working-directory: packages/core/typescript/itk-wasm\n          install: false\n          start: pnpm start\n          config: video=true\n          wait-on: 'http://localhost:5180'\n          wait-on-timeout: 360\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: cypress-videos\n          path: packages/core/typescript/itk-wasm/cypress/videos\n          if-no-files-found: ignore\n\n      #- name: Test with Firefox\n        #uses: cypress-io/github-action@v6\n        #with:\n          #browser: firefox\n          #working-directory: packages/core/typescript/itk-wasm\n          #install: false\n          #config: video=true\n          #start: pnpm start\n          #wait-on: 'http://localhost:5180'\n          #wait-on-timeout: 360\n\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: cypress-screenshots\n          path: packages/core/typescript/itk-wasm/cypress/videos\n          if-no-files-found: ignore\n", "state": "active", "repository": "insightsoftwareconsortium/itk-wasm"}
{"mined_at": "2024-07-15T16:46:55.811792", "created_at": "2024-01-26T23:36:28+01:00", "updated_at": "2024-01-29T17:59:37+01:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "name: Documentation\n\non:\n  push:\n    branches:\n      - main\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nenv:\n  OCI_EXE: docker\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  build-main-documentation:\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r docs/requirements.txt\n\n    - name: Build documentation\n      run: |\n        export SPHINX_BASE_URL=\"/itk-wasm/\"\n        cd docs/\n        make html\n\n    - name: Upload artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: main-documentation\n        path: docs/_build/html\n\n  build-package-documentation:\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n      with:\n        tool-cache: true\n\n    - name: Pull latest Docker images\n      run: |\n        ./src/docker/pull.sh --no-debug\n\n    - uses: actions/setup-node@v4\n      with:\n        node-version: '20'\n\n    - name: Install\n      uses: pnpm/action-setup@v4\n      with:\n        run_install: true\n\n    - name: Build itk-wasm\n      run: |\n        pnpm build\n\n    - name: Build package typescript documentation\n      run: |\n        for package in compare-images compress-stringify dicom downsample image-io mesh-io; do\n          mkdir -p docs/$package/ts/docs\n          mkdir -p docs/$package/ts/app\n\n          sed \"s%      basePath:.*%      basePath: '/itk-wasm/$package/ts/docs',%\" packages/$package/typescript/index.html > docs/$package/ts/docs/index.html\n          cp packages/$package/typescript/README.md docs/$package/ts/docs/\n          mkdir -p docs/$package/ts/docs/test/browser/demo-app\n          cp packages/$package/typescript/test/browser/demo-app/logo.svg docs/$package/ts/docs/test/browser/demo-app/\n\n          pushd packages/$package/typescript\n          rm -rf demo-app node_modules/.vite\n          export VITE_BASE_URL=\"/itk-wasm/$package/ts/app/\"\n          pnpm build\n          popd\n          rsync -a packages/$package/typescript/demo-app/ docs/$package/ts/app/\n        done\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Build package python documentation\n      run: |\n        for package in compare-images compress-stringify dicom downsample image-io mesh-io; do\n          mkdir -p docs/$package/py/docs\n          mkdir -p docs/$package/py/app\n\n          export SPHINX_BASE_URL=\"/itk-wasm/$package/py/docs/\"\n          pushd packages/$package/python/*$package/docs\n          pip install -r requirements.txt\n          make html\n          popd\n          rsync -a packages/$package/python/*$package/docs/_build/html/ docs/$package/py/docs/\n        done\n\n    - name: Upload artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: package-documentation\n        path: docs\n\n  consolidate-documentation:\n    needs: [build-main-documentation, build-package-documentation]\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Download main documentation\n      uses: actions/download-artifact@v4\n      with:\n        name: main-documentation\n        path: docs\n\n    - name: Download package documentation\n      uses: actions/download-artifact@v4\n      with:\n        name: package-documentation\n        path: docs\n\n    - name: Upload Pages artifact\n      uses: actions/upload-pages-artifact@v3\n      with:\n        path: docs\n        retention-days: 7\n\n  deploy-gh-pages:\n    needs: consolidate-documentation\n    runs-on: ubuntu-22.04\n\n    # Grant GITHUB_TOKEN the permissions required to make a Pages deployment\n    permissions:\n      contents: read\n      pages: write      # to deploy to Pages\n      id-token: write   # to verify the deployment originates from an appropriate source\n\n    # Deploy to the github-pages environment\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    steps:\n    - name: Deploy to GitHub Pages\n      id: deployment\n      uses: actions/deploy-pages@v4\n      # with:\n        # preview: true <-> currently not available to the public\n", "state": "active", "repository": "insightsoftwareconsortium/itk-wasm"}
{"mined_at": "2024-07-15T16:46:56.845235", "created_at": "2022-01-02T01:38:41+01:00", "updated_at": "2024-05-07T16:44:48+02:00", "name": "Examples", "path": ".github/workflows/examples.yml", "contents": "name: Examples\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  test-node-example:\n    name: node-js\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n      with:\n        large-packages: false\n        tool-cache: true\n\n    - uses: actions/setup-node@v4\n      with:\n        node-version: '20'\n\n    - name: Install\n      uses: pnpm/action-setup@v4\n      with:\n        run_install: true\n\n    - name: Build dependencies\n      run: |\n        pnpm run --filter '@itk-wasm/image-io...' build\n        pnpm run --filter '@itk-wasm/mesh-io...' build\n\n    - name: Test\n      working-directory: ./examples/node-js\n      run: |\n        pnpm test\n\n  build-hello-world-example:\n    name: hello-world build\n    runs-on: ubuntu-22.04\n\n    defaults:\n      run:\n        working-directory: ./examples/hello-world\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n      with:\n        large-packages: false\n        tool-cache: true\n\n    - uses: actions/setup-node@v4\n      with:\n        node-version: '18'\n\n    - name: Install\n      run: |\n        npm install\n\n    - name: Build\n      run: |\n        npm run build\n\n    - name: Save wasm builds\n      uses: actions/upload-artifact@v4\n      with:\n        name: hello-world-build\n        if-no-files-found: error\n        path: |\n          examples/hello-world/emscripten-build\n          examples/hello-world/wasi-build\n\n\n  test-hello-world-example:\n    name: hello-world test\n    needs: build-hello-world-example\n    runs-on: ubuntu-22.04\n    container: cypress/browsers:node18.12.0-chrome107\n\n    defaults:\n      run:\n        working-directory: ./examples/hello-world\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Load wasm builds\n      uses: actions/download-artifact@v4\n      with:\n        name: hello-world-build\n        path: examples/hello-world\n\n    - name: Test\n      uses: cypress-io/github-action@v6\n      with:\n        working-directory: ./examples/hello-world\n        browser: chrome\n        start: npm start\n\n  build-test-hello-pipeline-example:\n    name: hello-pipeline build test\n    runs-on: ubuntu-22.04\n\n    defaults:\n      run:\n        working-directory: ./examples/hello-pipeline\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n      with:\n        large-packages: false\n        tool-cache: true\n\n    - uses: actions/setup-node@v4\n      with:\n        node-version: '18'\n\n    - name: Install\n      run: |\n        npm install\n\n    - name: Build\n      run: |\n        npm run build\n\n    - name: Test\n      run: |\n        npm run test\n        npm run test:quiet\n        npm run test:help\n\n  build-test-inputs-outputs-example:\n    name: inputs-outputs\n    runs-on: ubuntu-22.04\n\n    defaults:\n      run:\n        working-directory: ./examples/inputs-outputs\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n      with:\n        large-packages: false\n        tool-cache: true\n\n    - uses: actions/setup-node@v4\n      with:\n        node-version: '20'\n\n    - name: Install\n      uses: pnpm/action-setup@v4\n      with:\n        run_install: true\n\n    - name: Build dependencies\n      run: |\n        pnpm run --filter '@itk-wasm/image-io...' build\n\n    - name: Build\n      working-directory: ./examples/inputs-outputs\n      run: |\n        pnpm build\n\n    - name: Test WASI\n      working-directory: ./examples/inputs-outputs\n      run: |\n        pnpm test\n\n    - name: Build TypeScript\n      working-directory: ./examples/inputs-outputs/typescript\n      run: |\n        pnpm build\n\n    - name: Test TypeScript\n      working-directory: ./examples/inputs-outputs/typescript\n      run: |\n        pnpm test\n\n  test-webpack-example:\n    name: webpack\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n      with:\n        large-packages: false\n        tool-cache: true\n\n    - name: Test Webpack Example on Chrome\n      uses: cypress-io/github-action@v6\n      with:\n        working-directory: ./examples/webpack\n        browser: chrome\n        start: npm start\n\n    #- name: Test Webpack Example on Firefox\n      #uses: cypress-io/github-action@v6\n      #with:\n        #working-directory: ./examples/webpack\n        #browser: firefox\n        #start: npm start\n\n  test-vite-example:\n    name: vite\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n      with:\n        large-packages: false\n        tool-cache: true\n\n    - name: Test Vite Example on Chrome\n      uses: cypress-io/github-action@v6\n      with:\n        working-directory: ./examples/vite\n        browser: chrome\n        start: npm start\n\n    #- name: Test Vite Example on Firefox\n      #uses: cypress-io/github-action@v6\n      #with:\n        #working-directory: ./examples/vite\n        #browser: firefox\n        #start: npm start\n\n  test-debugging-example:\n    name: debugging\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        working-directory: ./examples/debugging\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n      with:\n        large-packages: false\n        tool-cache: true\n\n    - name: Install\n      uses: pnpm/action-setup@v4\n      with:\n        run_install: true\n\n    - uses: actions/setup-node@v4\n      with:\n        node-version: '20'\n\n    - name: Build dependencies\n      run: |\n        pnpm run --filter 'itk-wasm' build\n\n    - name: Install\n      run: |\n        pnpm install\n\n    - name: Build\n      run: |\n        pnpm native-build\n        pnpm emscripten-build-release\n        pnpm emscripten-build-debug\n        pnpm wasi-build-debug\n\n  test-different-input-types-example:\n    name: different-input-types\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        working-directory: ./examples/different-input-types\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n      with:\n        large-packages: false\n        tool-cache: true\n\n    - uses: actions/setup-node@v4\n      with:\n        node-version: '18'\n\n    - name: Install\n      run: |\n        npm install\n\n    - name: Build\n      run: |\n        npm run build\n\n    - name: Test\n      run: |\n        npm run test\n\n  test-mean-squares-versor-registration:\n    name: mean-squares-versor-registration\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n      with:\n        large-packages: false\n        tool-cache: true\n\n    - uses: actions/setup-node@v4\n      with:\n        node-version: '20'\n\n    - name: Install\n      uses: pnpm/action-setup@v4\n      with:\n        run_install: true\n\n    - name: Build dependencies\n      run: |\n        pnpm run --filter '@itk-wasm/image-io...' build\n\n    - name: Build\n      working-directory: ./examples/mean-squares-versor-registration\n      run: |\n        pnpm build\n\n    - name: Test WASI\n      working-directory: ./examples/mean-squares-versor-registration\n      run: |\n        pnpm test\n\n    - name: Build TypeScript\n      working-directory: ./examples/mean-squares-versor-registration/typescript\n      run: |\n        pnpm build\n", "state": "active", "repository": "insightsoftwareconsortium/itk-wasm"}
{"mined_at": "2024-07-15T16:46:57.851673", "created_at": "2021-11-21T04:49:05+01:00", "updated_at": "2024-05-07T16:44:48+02:00", "name": "Node.js Tests", "path": ".github/workflows/javascript-typescript.yml", "contents": "name: Node.js Tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\ndefaults:\n  run:\n    shell: bash -leo pipefail {0} {0}\n\nenv:\n  OCI_EXE: docker\n\njobs:\n  itkwasm-node-js:\n    runs-on: ubuntu-22.04\n    strategy:\n      max-parallel: 3\n      matrix:\n        package: [compress-stringify, compare-images, dicom, mesh-io, image-io, downsample]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n\n    - name: Pull latest Docker images\n      run: |\n        ./src/docker/pull.sh --no-debug\n\n    - uses: actions/setup-node@v4\n      with:\n        node-version: '20'\n\n    - name: Install\n      uses: pnpm/action-setup@v4\n      with:\n        run_install: true\n\n    - name: Build itk-wasm\n      run: |\n        pnpm run --aggregate-output --filter itk-wasm build\n\n    - name: Build build:gen:typescript\n      run: |\n        pnpm run --aggregate-output build:gen:typescript\n\n    - name: Build typescript\n      run: |\n        pnpm install\n        # Build the generated TypeScript package\n        pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}...\" build:tsc\n        pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}\" build\n\n    - name: Download test data\n      run: |\n        pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}-build\" test:data:download\n\n    - name: Lint tests\n      run: |\n        pnpm run test:lint\n\n    - name: Node tests\n      run: |\n        pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}\" test:node\n\n    - name: itk-wasm Node tests\n      run: |\n        pnpm run --aggregate-output --filter \"itk-wasm\" test:node\n\n    - name: Publish task\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n      run: |\n        git config --global user.name \"GitHub Actions\"\n        git config --global user.email \"itk+community@discourse.itk.org\"\n        # todo: use changeset / pnpm publish\n", "state": "active", "repository": "insightsoftwareconsortium/itk-wasm"}
{"mined_at": "2024-07-15T16:46:58.871332", "created_at": "2022-07-01T19:08:02+02:00", "updated_at": "2024-05-07T16:44:48+02:00", "name": "PR Checks", "path": ".github/workflows/pr-checks.yml", "contents": "name: PR Checks\non: pull_request\n\njobs:\n  pr-checks:\n    runs-on: ubuntu-22.04\n    name: Check and lint PR\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n\n      - name: Install\n        uses: pnpm/action-setup@v4\n        with:\n          run_install: true\n\n      - name: Lint commits\n        run: pnpm test:commitlint --from=${{ github.event.pull_request.base.sha }}\n", "state": "active", "repository": "insightsoftwareconsortium/itk-wasm"}
{"mined_at": "2024-07-15T16:46:59.905421", "created_at": "2022-05-23T04:06:12+02:00", "updated_at": "2024-05-07T16:44:48+02:00", "name": "Python Wasm", "path": ".github/workflows/python-wasm.yml", "contents": "name: Python Wasm\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nenv:\n  pyodide-version: 0.24.1\n\ndefaults:\n  run:\n    shell: bash -leo pipefail {0} {0}\n\njobs:\n  itkwasm-python:\n    runs-on: ${{ matrix.os }}\n    env:\n      python-version: ${{ format('3.{0}', matrix.python-minor-version) }}\n    strategy:\n      max-parallel: 5\n      matrix:\n        os: [ubuntu-22.04, windows-2022, macos-14]\n        python-minor-version: [11, 12]\n        package: [compress-stringify, compare-images, dicom, mesh-io, image-io, downsample]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ env.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.python-version }}\n\n      - name: Free Disk Space (Ubuntu)\n        if: ${{ matrix.os == 'ubuntu-22.04' }}\n        uses: jlumbroso/free-disk-space@main\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n\n      - name: Install\n        uses: pnpm/action-setup@v4\n        with:\n          run_install: true\n\n      - name: Build build:gen:python\n        if: ${{ matrix.os == 'ubuntu-22.04' }}\n        run: |\n          pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}-build\" build:wasi\n\n      - name: Build bindgen:python\n        if: ${{ matrix.os == 'ubuntu-22.04' }}\n        run: |\n          pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}-build\" bindgen:python\n\n      - name: Build build:micromamba\n        run: |\n          pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}-build\" build:micromamba\n\n      - name: Build build:python:wasi\n        if: ${{ matrix.os == 'ubuntu-22.04' || (matrix.package != 'mesh-io' && matrix.package != 'image-io' && matrix.package != 'downsample' ) }}\n        run: |\n          pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}-build\" build:python:wasi\n\n      - name: Test python on system\n        if: ${{ matrix.os == 'ubuntu-22.04' || (matrix.package != 'mesh-io' && matrix.package != 'image-io' && matrix.package != 'downsample' ) }}\n        run: |\n          pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}-build\" test:python:wasi\n\n      - uses: pyodide/pyodide-actions/install-browser@main\n        if: ${{ matrix.python-minor-version > 10 }}\n        with:\n          runner: selenium\n          browser: chrome\n          browser-version: latest\n\n      - name: Test python on chrome\n        if: ${{ matrix.python-minor-version > 10 && matrix.os == 'ubuntu-22.04' || (matrix.package != 'mesh-io' && matrix.package != 'image-io' && matrix.package != 'dicom' && matrix.os != 'macos-14' )}}\n        run: |\n          pnpm run --aggregate-output --filter \"@itk-wasm/${{ matrix.package }}-build\" test:python:emscripten\n", "state": "active", "repository": "insightsoftwareconsortium/itk-wasm"}
{"mined_at": "2024-07-15T16:47:01.062126", "created_at": "2021-11-21T04:49:05+01:00", "updated_at": "2024-03-03T20:48:59+01:00", "name": "Toolchains", "path": ".github/workflows/toolchains.yml", "contents": "name: Toolchains\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nenv:\n  OCI_EXE: docker\n\njobs:\n  build-itk-wasm-base:\n    name: \"Build itk-wasm-base\"\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n\n    - name: Pull latest Docker images\n      run: |\n        ./src/docker/pull.sh --no-debug\n\n    - uses: actions/download-artifact@v4\n      continue-on-error: true\n      with:\n        name: docker-cache\n        path: ./docker-cache\n\n    - name: Build itk-wasm-base\n      run: |\n        if [[ -e ./docker-cache/itk-wasm-emscripten-base.tar.xz ]]; then xz -d -k < ./docker-cache/itk-wasm-emscripten-base.tar.xz | docker load ; fi\n        ./src/docker/itk-wasm-base/build.sh\n        mkdir -p ./docker-cache\n        docker export itkwasm/emscripten-base:latest | xz -e9 -T0 > ./docker-cache/itk-wasm-emscripten-base.tar.xz\n\n    - name: Build itk-wasm-base\n      run: |\n        if [[ -e ./docker-cache/itk-wasm-wasi-base.tar.xz ]]; then xz -d -k < ./docker-cache/itk-wasm-wasi-base.tar.xz | docker load ; fi\n        ./src/docker/itk-wasm-base/build.sh --with-wasi\n        mkdir -p ./docker-cache\n        docker export itkwasm/wasi-base:latest | xz -e9 -T0 > ./docker-cache/itk-wasm-wasi-base.tar.xz\n\n    - name: Cache docker results\n      uses: actions/upload-artifact@v4\n      with:\n        name: docker-cache\n        path: ./docker-cache\n        retention-days: 7\n\n  build-itk-wasm:\n    name: \"Build itk-wasm\"\n    needs: build-itk-wasm-base\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n\n    - name: Pull latest Docker images\n      run: |\n        ./src/docker/pull.sh --no-debug\n\n    - uses: actions/download-artifact@v4\n      continue-on-error: true\n      with:\n        name: docker-cache\n        path: ./docker-cache\n\n    - name: Build itk-wasm\n      run: |\n        sudo mkdir -p /var/lib/docker/tmp\n        if [[ -e ./docker-cache/itk-wasm-emscripten-base.tar.xz ]]; then xz -d -k < ./docker-cache/itk-wasm-emscripten-base.tar.xz | docker import - itkwasm/emscripten:latest ; fi\n        ./src/docker/itk-wasm/build.sh\n\n    - name: Build itk-wasi\n      run: |\n        if [[ -e ./docker-cache/itk-wasm-wasi-base.tar.xz ]]; then xz -d -k < ./docker-cache/itk-wasm-wasi-base.tar.xz | docker import - itkwasm/wasi:latest ; fi\n        ./src/docker/itk-wasm/build.sh --with-wasi\n", "state": "active", "repository": "insightsoftwareconsortium/itk-wasm"}
{"mined_at": "2024-07-15T16:47:02.369151", "created_at": "2022-03-09T14:29:40+01:00", "updated_at": "2022-03-09T18:00:34+01:00", "name": "WASI", "path": ".github/workflows/wasi.yml", "contents": "name: WASI\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\ndefaults:\n  run:\n    shell: bash -leo pipefail {0} {0}\n\nenv:\n  OCI_EXE: docker\n\njobs:\n  build-test:\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@main\n\n    - name: Pull latest Docker images\n      run: |\n        ./src/docker/pull.sh --no-debug\n\n    - uses: actions/setup-node@v4\n      with:\n        node-version: '20'\n\n    - name: Install\n      uses: pnpm/action-setup@v4\n      with:\n        run_install: true\n\n    - name: Build\n      run: |\n        pnpm run --aggregate-output build:wasi:debug\n\n    - name: Test\n      run: |\n        pnpm run --aggregate-output test:wasi\n", "state": "active", "repository": "insightsoftwareconsortium/itk-wasm"}
{"mined_at": "2024-07-15T16:47:04.975089", "created_at": "2021-05-14T14:40:32+02:00", "updated_at": "2021-05-14T16:55:33+02:00", "name": "Lint terraform", "path": ".github/workflows/terraform-lint.yaml", "contents": "name: Lint terraform\n\non:\n  pull_request:\n    paths:\n      - \"terraform/**\"\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: hashicorp/setup-terraform@v3\n      - uses: terraform-linters/setup-tflint@v4\n      - name: Run terraform linter\n        run: |\n          cd terraform\n          tflint --recursive\n      - name: Check terraform formatting\n        run: terraform fmt -check -diff terraform/\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:06.261063", "created_at": "2021-08-05T18:36:10+02:00", "updated_at": "2022-11-22T01:30:46+01:00", "name": "Deploy and test hubs", "path": ".github/workflows/deploy-hubs.yaml", "contents": "# The use of ::set-output in this workflow file was deprecated as per:\n# https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/\n# We have instead pivoted to writing to the GITHUB_ENV file, either by the\n# method suggested in the above blog post, or by following the below Stack\n# Overflow answer for python code: https://stackoverflow.com/a/70123641\n# More info on GITHUB_ENV: https://docs.github.com/en/actions/learn-github-actions/environment-variables\n\nname: Deploy and test hubs\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      # Include changes to the deployer script's folder, but exclude some parts\n      - deployer/**\n      - \"!deployer/README.md\"\n      - \"!deployer/health_check_tests/**\"\n      - \"!deployer/commands/generate/billing/**\"\n      - \"!deployer/commands/generate/dedicated_cluster/**\"\n      - \"!deployer/commands/generate/hub_asset/**\"\n      - \"!deployer/commands/generate/resource_allocation/**\"\n      - requirements.txt\n      - .github/actions/setup-deploy/**\n      - helm-charts/**\n      - config/clusters/**\n      # Exclude the template configuration files\n      - \"!config/clusters/templates\"\n  pull_request:\n    branches:\n      - main\n    paths:\n      # Include changes to the deployer script's folder, but exclude some parts\n      - deployer/**\n      - \"!deployer/README.md\"\n      - \"!deployer/health_check_tests/**\"\n      - \"!deployer/commands/generate/billing/**\"\n      - \"!deployer/commands/generate/dedicated_cluster/**\"\n      - \"!deployer/commands/generate/hub_asset/**\"\n      - \"!deployer/commands/generate/resource_allocation/**\"\n      - requirements.txt\n      - .github/actions/setup-deploy/**\n      - helm-charts/**\n      - config/clusters/**\n      # Exclude the template configuration files\n      - \"!config/clusters/templates\"\n\n# Queue triggered executions of this workflow stemming from pushes to avoid\n# deployment conflicts.\n#\n# By using a different concurrency groups for pull requests and pushes, we\n# reduce the risk of cancelling a queued but not started workflow as discussed\n# in https://github.com/2i2c-org/infrastructure/issues/3214.\n#\n# github.head_ref is used to create PR unique concurrency groups, and for\n# workflow executions not triggered by a PR we get a dedicated group.\n#\n# ref: https://docs.github.com/en/actions/using-jobs/using-concurrency\n#\nconcurrency: ${{ github.workflow }}-${{ github.head_ref || 'not-a-pr' }}\n\n# This environment variable triggers the deployer to colourise print statements in the\n# GitHug Actions logs for easy reading\nenv:\n  TERM: xterm\n  # This may not be required any more, and it may depend on the kubectl version\n  # we use etc as well. For now, we have it added to avoid issues.\n  USE_GKE_GCLOUD_AUTH_PLUGIN: \"True\"\n\njobs:\n  # This job runs in Pull Requests and on pushes to the default branch. It identifies\n  # which files have been added or modified by recent GitHub activity and parsed a list\n  # to the `deployer generate helm-upgrade-job`s command of the deployer. This command generates\n  # two lists of dictionaries, which can be read by GitHub Actions as matrix jobs. The\n  # first set of jobs describes which clusters need their support chart and/or staging\n  # hub upgraded; and the second set of jobs describe which production hubs require\n  # upgrading. These two lists are set as job outputs via GITHUB_ENV to be consumed\n  # by the later jobs. They are also pretty-printed in a human-readable format to the\n  # logs, and converted into Markdown tables for posting into GitHub comments.\n  generate-jobs:\n    runs-on: ubuntu-latest\n    outputs:\n      support-and-staging-matrix-jobs: ${{ env.support-and-staging-matrix-jobs }}\n      prod-hub-matrix-jobs: ${{ env.prod-hub-matrix-jobs }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      # There will almost never be a cache hit on the cache key when this job is\n      # run, as it is the first of all jobs in this workflow. An exception is if\n      # this job is re-attempted as part of the same workflow run after\n      # succeeding previously.\n      - name: Save pip's install cache on job completion\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          # key determines if we define or reuse an existing cache or not. Our\n          # key ensure we cache within a workflow run and its attempts, but not\n          # between workflow runs.\n          key: \"${{ github.run_id }}\"\n\n      - name: Install deployer script's Python dependencies\n        run: |\n          pip install --editable .\n          pip list\n\n      - name: Get merged/open PR labels\n        uses: actions/github-script@v7\n        id: pr-labels\n        with:\n          # Both pull_request and push can have triggered this job to run. A\n          # context with PR info (including its labels) is available when this\n          # job is triggered via pull_request, but not when triggered via push -\n          # a push can be triggered by other things than merged PRs. Due to\n          # this, we check if a pushed commit is matching some PRs merge commit,\n          # and if so gets its labels.\n          script: |\n            let labels = null;\n\n            if (context.eventName === 'pull_request') {\n              labels = context.payload.pull_request.labels;\n            }\n            else if (context.eventName === 'push') {\n              // api ref: https://octokit.github.io/rest.js/v20#pulls-list\n              const resp = await github.rest.pulls.list(\n                {\n                  owner: context.repo.owner,\n                  repo: context.repo.repo,\n                  state: 'closed',\n                  sort: 'updated',\n                  direction: 'desc',\n                  per_page: 100,\n                }\n              );\n              const merged_pr = resp.data.find(pr => pr.merge_commit_sha === context.sha);\n              labels = merged_pr?.labels;\n            }\n\n            label_names = (labels || []).map(l => l.name);\n            return label_names\n\n      - name: Identify files that have been added or modified\n        # Action repo: https://github.com/dorny/paths-filter\n        uses: dorny/paths-filter@v3\n        id: changed-files\n        with:\n          token: \"\"\n          list-files: csv\n          filters: |\n            changed:\n              - added|modified: deployer/**\n              - added|modified: requirements.txt\n              - added|modified: .github/actions/setup-deploy/**\n              - added|modified: helm-charts/basehub/**\n              - added|modified: helm-charts/daskhub/**\n              - added|modified: helm-charts/support/**\n              - added|modified: config/clusters/**\n\n      # This step will create a comment-body.txt file containing the jobs to be run in a\n      # Markdown table format to be posted on a Pull Request, if this job is triggered\n      # by one\n      - name: Generate matrix jobs\n        run: |\n          deployer generate helm-upgrade-jobs \"${{ steps.changed-files.outputs.changed_files }}\" '${{ steps.pr-labels.outputs.result }}'\n\n      # The comment-deployment-plan-pr.yaml workflow won't have the correct context to\n      # know the PR number, so we save it to a file to pass to that workflow\n      - name: Save Pull Request number to a file\n        if: github.event_name == 'pull_request'\n        run: |\n          echo \"${{ github.event.number }}\" > pr-number.txt\n\n      # Upload the pr-number.txt and comment-body.txt files as artifacts for the\n      # comment-deployment-plan-pr.yaml workflow to access\n      - name: Upload artifacts\n        if: >\n          github.event_name == 'pull_request' &&\n          (env.support-and-staging-matrix-jobs != '[]' ||\n          env.prod-hub-matrix-jobs != '[]')\n        uses: actions/upload-artifact@v4\n        with:\n          name: pr\n          path: |\n            pr-number.txt\n            comment-body.txt\n\n      # https://github.com/ravsamhq/notify-slack-action\n      # Needs to be added per job\n      # When https://github.com/integrations/slack/issues/1563 gets implemented,\n      # we can use that instead\n      - name: Report Status\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          # Warning: there are multiple \"Report Status\" steps in this file (one per job).\n          # Make sure they are all updated\n          notify_when: \"failure\"\n          status: ${{ job.status }} # required\n          # Message should look like: \"Hey @author! Deploy and test hubs failed for \"Add new hub - 9305e08\".\n          message_format: '{emoji} Hey @${{ github.event.head_commit.author.name }}! *{workflow}* {status_message} for \"${{ github.event.head_commit.message }} - <{commit_url}|{commit_sha}>\". Checkout the run at {run_url}.'\n          footer: \"<{run_url}|Failing Run>\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GHA_FAILURES_WEBHOOK_URL }}\n  # This job upgrades the support chart, staging hub, and dask-staging hub (if present)\n  # for clusters in parallel, if those upgrades are required. This job needs the\n  # `generate-jobs` job to have completed and set an output to the\n  # `support-and-staging-matrix-jobs` variable name. It's inputs are a list of\n  # dictionaries with the keys cluster_name, provider, upgrade_support, and\n  # upgrade_staging for each cluster that requires it.\n  upgrade-support-and-staging:\n    runs-on: ubuntu-latest\n    needs: [generate-jobs]\n\n    # We declare outputs indicating the job failed status of a specific job\n    # variation. We are currently required to do this in a hardcoded fashion,\n    # see this post for feature requests for this to be improved:\n    # https://github.community/t/bug-jobs-output-should-return-a-list-for-a-matrix-job/128626/32?u=consideratio\n    #\n    # Warning: names can include alphanumerics, '-', and '_', but not '.', so\n    #            we replace '.' for '-' in cluster names.\n    #\n    # If you are adding a new cluster, please remember to list it here!\n    outputs:\n      failure_2i2c-aws-us: \"${{ env.failure_2i2c-aws-us }}\"\n      failure_2i2c-uk: \"${{ env.failure_2i2c-uk }}\"\n      failure_2i2c: \"${{ env.failure_2i2c }}\"\n      failure_awi-ciroh: \"${{ env.failure_awi-ciroh }}\"\n      failure_catalystproject-africa: \"${{ env.failure_catalystproject-africa }}\"\n      failure_catalystproject-latam: \"${{ env.failure_catalystproject-latam }}\"\n      failure_cloudbank: \"${{ env.failure_cloudbank }}\"\n      failure_earthscope: \"${{ env.failure_earthscope }}\"\n      failure_gridsst: \"${{ env.failure_gridsst }}\"\n      failure_hhmi: \"${{ env.failure_hhmi }}\"\n      failure_jupyter-health: \"${{ env.failure_jupyter-health }}\"\n      failure_jupyter-meets-the-earth: \"${{ env.failure_jupyter-meets-the-earth }}\"\n      failure_kitware: \"${{ env.failure_kitware }}\"\n      failure_leap: \"${{ env.failure_leap }}\"\n      failure_linked-earth: \"${{ env.failure_linked-earth }}\"\n      failure_meom-ige: \"${{ env.failure_meom-ige }}\"\n      failure_nasa-cryo: \"${{ env.failure_nasa-cryo }}\"\n      failure_nasa-esdis: \"${{ env.failure_nasa-esdis }}\"\n      failure_nasa-ghg: \"${{ env.failure_nasa-ghg }}\"\n      failure_nasa-veda: \"${{ env.failure_nasa-veda }}\"\n      failure_openscapes: \"${{ env.failure_openscapes }}\"\n      failure_opensci: \"${{ env.failure_opensci }}\"\n      failure_pangeo-hubs: \"${{ env.failure_pangeo-hubs }}\"\n      failure_pchub: \"${{ env.failure_pchub }}\"\n      failure_projectpythia: \"${{ env.failure_projectpythia }}\"\n      failure_qcl: \"${{ env.failure_qcl }}\"\n      failure_smithsonian: \"${{ env.failure_smithsonian }}\"\n      failure_ubc-eoas: \"${{ env.failure_ubc-eoas }}\"\n      failure_utoronto: \"${{ env.failure_utoronto }}\"\n      failure_victor: \"${{ env.failure_victor }}\"\n\n    if: |\n      (github.event_name == 'push' && contains(github.ref, 'main')) &&\n      needs.generate-jobs.result == 'success' &&\n      needs.generate-jobs.outputs.support-and-staging-matrix-jobs != '[]'\n    strategy:\n      # Don't stop other deployments if one fails\n      fail-fast: false\n      matrix:\n        jobs: ${{ fromJson(needs.generate-jobs.outputs.support-and-staging-matrix-jobs) }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup deploy for ${{ matrix.jobs.cluster_name }}\n        uses: ./.github/actions/setup-deploy\n        with:\n          provider: ${{ matrix.jobs.provider }}\n          GCP_KMS_DECRYPTOR_KEY: ${{ secrets.GCP_KMS_DECRYPTOR_KEY }}\n\n      - name: Upgrade support chart on cluster ${{ matrix.jobs.cluster_name }}\n        if: matrix.jobs.upgrade_support\n        run: |\n          deployer deploy-support ${{ matrix.jobs.cluster_name }}\n\n      - name: Upgrade staging hub on cluster ${{ matrix.jobs.cluster_name }}\n        if: matrix.jobs.upgrade_staging\n        run: |\n          deployer deploy ${{ matrix.jobs.cluster_name }} staging\n\n      # Retry action: https://github.com/marketplace/actions/retry-step\n      - name: Run health check for staging hub on cluster ${{ matrix.jobs.cluster_name }}\n        if: matrix.jobs.upgrade_staging\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 10\n          max_attempts: 2\n          command: |\n            deployer run-hub-health-check ${{ matrix.jobs.cluster_name }} staging\n\n      - name: Upgrade dask-staging hub on cluster ${{ matrix.jobs.cluster_name }} if it exists\n        if: matrix.jobs.upgrade_staging && matrix.jobs.cluster_name == '2i2c'\n        run: |\n          deployer deploy ${{ matrix.jobs.cluster_name }} dask-staging\n\n      # Retry action: https://github.com/marketplace/actions/retry-step\n      - name: Run health check for dask-staging hub on cluster ${{ matrix.jobs.cluster_name }} if it exists\n        if: matrix.jobs.upgrade_staging && matrix.jobs.cluster_name == '2i2c'\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 10\n          max_attempts: 2\n          command: |\n            deployer run-hub-health-check ${{ matrix.jobs.cluster_name }} dask-staging\n\n      - name: Declare failure status\n        if: always()\n        shell: python\n        run: |\n          import os\n\n          name = \"${{ matrix.jobs.cluster_name }}\".replace(\".\", \"-\")\n          failure = \"${{ job.status == 'failure' }}\"\n\n          env_file = os.getenv(\"GITHUB_ENV\")\n          with open(env_file, \"a\") as f:\n              f.write(f\"failure_{name}={failure}\")\n\n      # https://github.com/ravsamhq/notify-slack-action\n      # Needs to be added per job\n      # FIXME: when https://github.com/integrations/slack/issues/1563 gets implemented,\n      # we can use that instead\n      - name: Report Status\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        # Warning: there are multiple \"Report Status\" steps in this file (one per job).\n        # Make sure they are all updated\n        with:\n          notify_when: \"failure\"\n          status: ${{ job.status }} # required\n          # Message should look like: \"Hey @author! Deploy and test hubs failed for \"Add new hub - 9305e08\".\n          message_format: '{emoji} Hey @${{ github.event.head_commit.author.name }}! *{workflow}* {status_message} for \"${{ github.event.head_commit.message }} - <{commit_url}|{commit_sha}>\". Checkout the run at {run_url}.'\n          footer: \"<{run_url}|Failing Run>\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GHA_FAILURES_WEBHOOK_URL }}\n\n  # This jobs reduces the initially planned prod-hub-matrix-jobs deployments by\n  # filtering out any deployment to a cluster with a failed support-and-staging\n  # job.\n  filter-generate-jobs:\n    runs-on: ubuntu-latest\n    needs: [generate-jobs, upgrade-support-and-staging]\n    if: |\n      !cancelled() &&\n      (github.event_name == 'push' && contains(github.ref, 'main')) &&\n      needs.generate-jobs.result == 'success' &&\n      needs.generate-jobs.outputs.prod-hub-matrix-jobs != '[]'\n\n    outputs:\n      filtered-prod-hub-matrix-jobs: ${{ env.filtered-prod-hub-matrix-jobs }}\n\n    steps:\n      # This Python script filters out any prod hub deployment job from running\n      # later based on if its part of a cluster where support/staging upgrade\n      # just failed. Data is injected to the script before its executed via\n      # string literals as rendered GitHub workflow expressions.\n      - name: Filter prod deploy jobs to run based on failures in support/staging\n        shell: python\n        run: |\n          import os\n          import json\n\n          jobs = json.loads(r\"\"\"${{ needs.generate-jobs.outputs.prod-hub-matrix-jobs }}\"\"\")\n          outputs = json.loads(r\"\"\"${{ toJson(needs.upgrade-support-and-staging.outputs) }}\"\"\")\n\n          try:\n            filtered_jobs = [\n                job\n                for job in jobs\n                if outputs[f\"failure_{job['cluster_name'].replace('.', '-')}\"] != \"true\"\n            ]\n          except KeyError:\n            print(f\"The {cluster_name} cluster wasn't found in the `upgrade-support-and-staging.outputs` list. Please add it before continuing!\")\n\n          env_file = os.getenv(\"GITHUB_ENV\")\n          with open(env_file, \"a\") as f:\n              f.write(f\"filtered-prod-hub-matrix-jobs={json.dumps(filtered_jobs)}\")\n\n      # https://github.com/ravsamhq/notify-slack-action\n      # Needs to be added per job\n      # When https://github.com/integrations/slack/issues/1563 gets implemented,\n      # we can use that instead\n      - name: Report Status\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          # Warning: there are multiple \"Report Status\" steps in this file (one per job).\n          # Make sure they are all updated\n          notify_when: \"failure\"\n          status: ${{ job.status }} # required\n          # Message should look like: \"Hey @author! Deploy and test hubs failed for \"Add new hub - 9305e08\".\n          message_format: '{emoji} Hey @${{ github.event.head_commit.author.name }}! *{workflow}* {status_message} for \"${{ github.event.head_commit.message }} - <{commit_url}|{commit_sha}>\". Checkout the run at {run_url}.'\n          footer: \"<{run_url}|Failing Run>\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GHA_FAILURES_WEBHOOK_URL }}\n\n  # This job upgrades production hubs on clusters in parallel, if required. This\n  # job needs both the `filter-generate-jobs` to have completed to provide its\n  # output `filtered-prod-hub-matrix-jobs`. It is a list of dictionaries with\n  # the keys cluster_name, provider, and hub_name for each production hub that\n  # requires an upgrade and didn't have a failed support-and-staging-upgrade job\n  # run as part of this workflow.\n  upgrade-prod-hubs:\n    runs-on: ubuntu-latest\n    needs: [filter-generate-jobs]\n    if: |\n      !cancelled() &&\n      (github.event_name == 'push' && contains(github.ref, 'main')) &&\n      needs.filter-generate-jobs.result == 'success' &&\n      needs.filter-generate-jobs.outputs.filtered-prod-hub-matrix-jobs != '[]'\n    strategy:\n      # Don't stop other deployments if one fails\n      fail-fast: false\n      matrix:\n        jobs: ${{ fromJson(needs.filter-generate-jobs.outputs.filtered-prod-hub-matrix-jobs) }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup deploy for ${{ matrix.jobs.cluster_name }} cluster\n        uses: ./.github/actions/setup-deploy\n        with:\n          provider: ${{ matrix.jobs.provider }}\n          GCP_KMS_DECRYPTOR_KEY: ${{ secrets.GCP_KMS_DECRYPTOR_KEY }}\n\n      - name: Upgrade ${{ matrix.jobs.hub_name }} hub on cluster ${{ matrix.jobs.cluster_name }}\n        run: |\n          deployer deploy ${{ matrix.jobs.cluster_name }} ${{ matrix.jobs.hub_name }}\n\n      # Retry action: https://github.com/marketplace/actions/retry-step\n      - name: Run health check against ${{ matrix.jobs.hub_name }} hub on cluster ${{ matrix.jobs.cluster_name}}\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 10\n          max_attempts: 3\n          command: |\n            deployer run-hub-health-check ${{ matrix.jobs.cluster_name }} ${{ matrix.jobs.hub_name }}\n\n      # https://github.com/ravsamhq/notify-slack-action\n      # Needs to be added per job\n      # When https://github.com/integrations/slack/issues/1563 gets implemented,\n      # we can use that instead\n      - name: Report Status\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          # Warning: there are multiple \"Report Status\" steps in this file (one per job).\n          # Make sure they are all updated\n          notify_when: \"failure\"\n          status: ${{ job.status }} # required\n          # Message should look like: \"Hey @author! Deploy and test hubs failed for \"Add new hub - 9305e08\".\n          message_format: '{emoji} Hey @${{ github.event.head_commit.author.name }}! *{workflow}* {status_message} for \"${{ github.event.head_commit.message }} - <{commit_url}|{commit_sha}>\". Checkout the run at {run_url}.'\n          footer: \"<{run_url}|Failing Run>\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_GHA_FAILURES_WEBHOOK_URL }}\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:07.298524", "created_at": "2021-09-01T00:34:46+02:00", "updated_at": "2022-07-09T07:22:44+02:00", "name": "Build documentation and check links", "path": ".github/workflows/doc-links.yml", "contents": "name: Build documentation and check links\n\non:\n  workflow_dispatch:\n  schedule:\n    # Runs at 1am each day.\n    - cron: \"0 1 * * *\"\n\njobs:\n  # ref: https://github.com/2i2c-org/.github/blob/main/.github/workflows/documentation-link-check.yaml\n  linkcheck:\n    permissions:\n      issues: write\n    uses: 2i2c-org/.github/.github/workflows/documentation-link-check.yaml@main\n    with:\n      docs_path: docs\n      requirements_path: docs/requirements.txt\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:08.363380", "created_at": "2021-10-29T08:54:00+02:00", "updated_at": "2021-10-29T08:54:00+02:00", "name": "Deploy grafana dashboards", "path": ".github/workflows/deploy-grafana-dashboards.yaml", "contents": "name: Deploy grafana dashboards\n\non:\n  schedule:\n    # Run at 05:00 every day, ref: https://crontab.guru/#0_5_*_*_*\n    - cron: \"0 5 * * *\"\n  workflow_dispatch:\n\njobs:\n  deploy_grafana_dashboards:\n    runs-on: ubuntu-22.04\n    strategy:\n      # Don't stop other deployments if one fails\n      fail-fast: false\n      matrix:\n        include:\n          # The grafana for 2i2c cluster holds also info about all other\n          # clusters and gets an additional dashboard deployed for that\n          - cluster_name: 2i2c\n            deploy_flags: --dashboards-dir=global-dashboards\n\n          - cluster_name: 2i2c\n          - cluster_name: 2i2c-aws-us\n          - cluster_name: 2i2c-uk\n          - cluster_name: awi-ciroh\n          - cluster_name: catalystproject-africa\n          - cluster_name: catalystproject-latam\n          - cluster_name: cloudbank\n          - cluster_name: gridsst\n          - cluster_name: hhmi\n          - cluster_name: jupyter-meets-the-earth\n          - cluster_name: kitware\n          - cluster_name: leap\n          - cluster_name: linked-earth\n          - cluster_name: meom-ige\n          - cluster_name: nasa-cryo\n          - cluster_name: nasa-esdis\n          - cluster_name: nasa-veda\n          - cluster_name: openscapes\n          - cluster_name: opensci\n          - cluster_name: pangeo-hubs\n          - cluster_name: pchub\n          - cluster_name: projectpythia\n          - cluster_name: smithsonian\n          - cluster_name: ubc-eoas\n          - cluster_name: utoronto\n          - cluster_name: victor\n          - cluster_name: jupyter-health\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install deployer\n        run: |\n          python3 -m pip install --editable .\n\n      - name: Install jsonnet (go-jsonnet)\n        run: |\n          JSONNET_VERSION=0.20.0\n          wget -qO- https://github.com/google/go-jsonnet/releases/download/v${JSONNET_VERSION}/go-jsonnet_${JSONNET_VERSION}_Linux_x86_64.tar.gz \\\n              | tar -xvz --one-top-level=$HOME/.local/bin\n\n      - name: Install sops\n        uses: mdgreenwald/mozilla-sops-action@v1.6.0\n\n      - name: Setup sops credentials to decrypt repo secrets\n        uses: google-github-actions/auth@v2\n        with:\n          credentials_json: \"${{ secrets.GCP_KMS_DECRYPTOR_KEY }}\"\n\n      - name: Deploy grafana dashboards for ${{ matrix.cluster_name }}\n        run: |\n          deployer grafana deploy-dashboards ${{ matrix.deploy_flags }} ${{ matrix.cluster_name }}\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:09.642624", "created_at": "2022-03-02T02:45:14+01:00", "updated_at": "2022-11-23T09:42:39+01:00", "name": "Validate clusters", "path": ".github/workflows/validate-clusters.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps. ref:\n# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions\n#\n# Runs the deployer module to validate clusters. This will both validate\n# cluster.yaml files, any non-encrypted values files for the support chart (if they\n# exist), as well as each hubs passed non-encrypted values files against the Helm\n# charts' values schema.\n#\nname: Validate clusters\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"config/clusters/**\"\n      # Exclude changes to the templates directory from\n      # triggering this workflow\n      - \"!config/clusters/templates/**\"\n      - \"helm-charts/**\"\n      - \"deployer/**\"\n      - \"requirements.txt\"\n      - \".github/workflows/validate-clusters.yaml\"\n  push:\n    branches:\n      - main\n    paths:\n      - \"config/clusters/**\"\n      # Exclude changes the templates directory from\n      # triggering this workflow\n      - \"!config/clusters/templates/**\"\n      - \"helm-charts/**\"\n      - \"deployer/**\"\n      - \"requirements.txt\"\n      - \".github/workflows/validate-clusters.yaml\"\n    tags:\n      - \"**\"\n  workflow_dispatch:\n\njobs:\n  # This job inspects changed files in order to determine which cluster files\n  # should be validated. If helm-chart files change, then all clusters will be\n  # validated. The output of this job is a json-encoded dictionary of the\n  # cluster names to be validated. This is passed to the\n  # validate-helm-charts-values-files job to define a matrix strategy.\n  # We also set a continue_workflow job output that determines if either the\n  # common or cluster_specific files have changed and whether the next job\n  # should be run. We always run the next job if the workflow was manually\n  # triggered.\n  #\n  # === Notes on dorny/paths-filter syntax ===\n  # 1. Setting 'list-files: csv' sets an output called '${FILTER_NAME}_files'\n  #    that we use to determine which specific clusters have file changes\n  # 2. The 'added|modified:' syntax before a path glob pattern means that we\n  #    only care about files that have been added or modified, not deleted\n  # 3. We can also group filters together and hence only need to run the action\n  #    step *once* with the 'common' and 'cluster-specific' filters together\n  generate-clusters-to-validate:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n    outputs:\n      continue_workflow: |\n        ${{ github.event_name == 'workflow_dispatch' ||\n        (steps.file_changes.outputs.common == 'true' ||\n        steps.file_changes.outputs.cluster_specific == 'true') }}\n      cluster_matrix: ${{ env.MATRIX || '[]' }}\n    # Only run this job if one of the following conditions is true:\n    # - The workflow was manually triggered\n    # - The event is a push to the main branch\n    # - The event is a pull request where the head branch is *NOT* a dependabot\n    #   or pre-commit generated branch\n    if: |\n      github.event_name == 'workflow_dispatch' ||\n      (github.event_name == 'push' && contains(github.ref, 'main')) ||\n      (github.event_name == 'pull_request' && contains(github.head_ref, fromJson('[\"dependabot\", \"pre-commit\"]')) == false)\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Check for file changes\n        # Don't run this step when we manually trigger the workflow\n        if: github.event_name != 'workflow_dispatch'\n        # Action repo: https://github.com/dorny/paths-filter\n        uses: dorny/paths-filter@v3\n        id: file_changes\n        with:\n          token: \"\"\n          list-files: csv\n          filters: |\n            common:\n              - added|modified: deployer/**\n              - added|modified: helm-charts/basehub/**\n              - added|modified: helm-charts/daskhub/**\n              - added|modified: helm-charts/support/**\n              - added|modified: requirements.txt\n              - added|modified: .github/workflows/validate-clusters.yaml\n            cluster_specific:\n              - added|modified: config/clusters/**\n              # We want to ignore config/clusters/templates/**, but it seems its\n              # not be possible for us to do so with a single call to this\n              # action. Let's try to ignore jobs failing triggered by stuff in\n              # templates/.\n              # - added|modified: !config/clusters/templates/**\n\n      # Only run this step if there *ARE* changes under the common filter, *OR*\n      # we have manually triggered the workflow\n      - name: Generate a matrix containing all clusters\n        if: |\n          github.event_name == 'workflow_dispatch' ||\n          steps.file_changes.outputs.common == 'true'\n        shell: python\n        run: |\n          import os\n          import json\n\n          # List all cluster folders\n          cluster_folders = os.listdir(\"config/clusters\")\n\n          # Construct a matrix of all clusters\n          matrix = []\n          for cluster in cluster_folders:\n              # The `templates` directory contains template yaml configs\n              # and doesn't represent a \"real\" cluster.\n              # This is why we need to exclude it from the list of clusters\n              # and hence all workflows, otherwise it will cause them to fail.\n              if cluster != \"templates\":\n                matrix.append({\"cluster_name\": cluster})\n\n          # Write matrix to the GITHUB_ENV file in GitHub Actions\n          env_file = os.getenv(\"GITHUB_ENV\")\n          with open(env_file, \"a\") as f:\n              # Explicitly dump these as JSON, as that is what they are read as\n              # General python object syntax sometimes works but sometimes does\n              # not - for example, single quotes are not valid in JSON.\n              f.write(f\"MATRIX={json.dumps(matrix)}\")\n\n      # Only run this step if there are *NO* changes under the common filter,\n      # but *ARE* changes under the cluster_specific filter, *AND* we have not\n      # manually triggered the workflow\n      - name: Generate a matrix containing only clusters that have changes\n        if: |\n          github.event_name != 'workflow_dispatch' &&\n          steps.file_changes.outputs.common != 'true' &&\n          steps.file_changes.outputs.cluster_specific == 'true'\n        shell: python\n        run: |\n          import os\n          import json\n          from pathlib import Path\n\n          # Consume list of changed cluster files and convert to list by splitting\n          # on the comma character\n          cluster_files = r\"\"\"${{ steps.file_changes.outputs.cluster_specific_files }}\"\"\"\n          cluster_files = cluster_files.split(\",\")\n          assert isinstance(cluster_files, list)\n\n          # Extract the cluster names from the paths of the changed files\n          clusters = []\n          for cluster_file in cluster_files:\n              clusters.append(Path(cluster_file).parent.stem)\n\n          # Ensure each cluster name only appears once by transforming the list\n          # into a set\n          clusters = set(clusters)\n\n          # Construct a matrix of clusters that have changes\n          matrix = []\n          for cluster in clusters:\n              matrix.append({\"cluster_name\": cluster})\n\n          # Write the matrix to the GITHUB_ENV file in GitHub Actions\n          env_file = os.getenv(\"GITHUB_ENV\")\n          with open(env_file, \"a\") as f:\n              # Explicitly dump these as JSON, as that is what they are read as\n              # General python object syntax sometimes works but sometimes does\n              # not - for example, single quotes are not valid in JSON.\n              f.write(f\"MATRIX={json.dumps(matrix)}\")\n\n  # This job runs the 'deployer validate' subcommand across a matrix of\n  # cluster names.\n  #\n  # It relies on the generate-clusters-to-validate job to have completed and\n  # set the following outputs:\n  # - continue_workflow (bool): This job will only run if this output is set to\n  #     'true'. The value of this output is calculated based on detected file\n  #     changes.\n  # - cluster_matrix (json obj): A matrix of cluster names that require validation\n  #     due to detected changes. This job will not run if this output is empty,\n  #     i.e., '[]'.\n  #\n  validate-helm-charts-values-files:\n    runs-on: ubuntu-latest\n    needs: [generate-clusters-to-validate]\n    if: |\n      needs.generate-clusters-to-validate.outputs.continue_workflow &&\n      (needs.generate-clusters-to-validate.outputs.cluster_matrix != '[]')\n    strategy:\n      fail-fast: false\n      matrix:\n        jobs: ${{ fromJson(needs.generate-clusters-to-validate.outputs.cluster_matrix) }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install deployer module dependencies\n        run: |\n          pip install --editable .\n\n      - name: \"Validate cluster: ${{ matrix.jobs.cluster_name }}\"\n        env:\n          TERM: xterm\n        run: |\n          deployer validate all ${{ matrix.jobs.cluster_name }}\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:10.698766", "created_at": "2022-03-14T17:08:57+01:00", "updated_at": "2022-03-30T18:44:28+02:00", "name": "Run tests on the deployer code", "path": ".github/workflows/test-deployer-code.yaml", "contents": "name: Run tests on the deployer code\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - deployer/**\n      - tests/**\n      - requirements.txt\n      - dev-requirements.txt\n    tags:\n      - \"**\"\n  pull_request:\n    branches:\n      - main\n    paths:\n      - deployer/**\n      - tests/**\n      - requirements.txt\n      - dev-requirements.txt\n  workflow_dispatch:\n\njobs:\n  test-deployer:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          pip install -U pip\n          pip install --editable .\n      - name: Run tests\n        run: |\n          python -m pytest -vvv --color=yes\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:11.791573", "created_at": "2022-05-04T19:57:29+02:00", "updated_at": "2022-05-04T19:57:29+02:00", "name": "Comment GitHub Actions link on a merged PR", "path": ".github/workflows/comment-test-link-merged-pr.yaml", "contents": "name: Comment GitHub Actions link on a merged PR\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - deployer/**\n      - requirements.txt\n      - helm-charts/**\n      - config/clusters/**\n      - .github/actions/setup-deploy/**\n\njobs:\n  comment-actions-links:\n    runs-on: ubuntu-latest\n    permissions:\n      # Grant GITHUB_TOKEN permissions to read a list of workflows for the repo\n      # and to comment on Pull Requests\n      actions: read\n      pull-requests: write\n    steps:\n      - uses: actions/checkout@v4\n      - run: pip install requests\n      - run: python extra-scripts/comment-test-link-merged-pr.py\n        env:\n          COMMIT_MSG: ${{ github.event.head_commit.message }}\n          GITHUB_REPO: ${{ github.repository }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          BRANCH: \"main\"\n          EVENT: \"push\"\n          # WORKFLOW_NAME *MUST* match what is set in the name field in the\n          # deploy-hubs.yaml workflow file\n          # https://github.com/2i2c-org/infrastructure/blob/HEAD/.github/workflows/deploy-hubs.yaml\n          WORKFLOW_NAME: \"Deploy and test hubs\"\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:13.050940", "created_at": "2022-06-07T22:28:27+02:00", "updated_at": "2023-04-05T15:27:33+02:00", "name": "Bump Helm Chart Versions", "path": ".github/workflows/bump-helm-versions.yaml", "contents": "name: Bump Helm Chart Versions\n\non:\n  workflow_dispatch:\n    inputs:\n      dry_run:\n        type: boolean\n        description: |\n          Perform a dry-run of the action and don't open a Pull Request. Information\n          as to which subcharts need bumping to which versions will be printed to stdout.\n        default: false\n        required: false\n  schedule:\n    - cron: \"0 0 1 * *\" # Run first of every month at 00:00 UTC\n\nenv:\n  team_reviewers: engineering\n\njobs:\n  bump-helm-versions:\n    runs-on: ubuntu-latest\n    environment: github-app-token-generator\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # For each new helm chart to bump the subchart versions of, add a new item in\n          # this matrix.\n          - name: \"support\"\n            chart_path: \"helm-charts/support/Chart.yaml\"\n            chart_urls: '{\"cryptnono\": \"https://cryptnono.github.io/cryptnono/index.yaml\", \"cluster-autoscaler\": \"https://kubernetes.github.io/autoscaler/index.yaml\", \"ingress-nginx\": \"https://kubernetes.github.io/ingress-nginx/index.yaml\", \"grafana\": \"https://grafana.github.io/helm-charts/index.yaml\", \"prometheus\": \"https://prometheus-community.github.io/helm-charts/index.yaml\"}'\n\n    steps:\n      # We want tests to be run on the Pull Request that gets opened by the next step,\n      # so we generate a token from a GitHub App that would allow this.\n      # By default, secrets.GITHUB_TOKEN is prevented from triggering\n      # secondary workflows.\n      #\n      # Action: https://github.com/marketplace/actions/github-app-token\n      - name: Fetch a token from GitHub App\n        id: generate_token\n        uses: tibdex/github-app-token@v2\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.PRIVATE_KEY }}\n\n      # Action repo: https://github.com/sgibson91/bump-helm-deps-action\n      - name: \"Bump helm chart versions: ${{ matrix.name }}\"\n        uses: sgibson91/bump-helm-deps-action@main\n        with:\n          chart_path: ${{ matrix.chart_path }}\n          chart_urls: ${{ matrix.chart_urls }}\n          github_token: ${{ steps.generate_token.outputs.token }}\n          # team_reviewers: ${{ env.team_reviewers }}\n          dry_run: ${{ github.event.inputs.dry_run || false }}\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:14.134965", "created_at": "2022-07-14T18:15:12+02:00", "updated_at": "2022-09-05T16:23:32+02:00", "name": "Comment Hub Deployment Plan to a Pull Request", "path": ".github/workflows/comment-deployment-plan-pr.yaml", "contents": "name: Comment Hub Deployment Plan to a Pull Request\n\non:\n  workflow_run:\n    workflows:\n      - \"Deploy and test hubs\"\n    types:\n      - \"completed\"\n\njobs:\n  # This job downloads artifacts generated by the \"Deploy and test hubs\" workflow.\n  # The artifacts generated are two files: one containing the Pull Request number of the\n  # run, and a second containing Markdown tables detailing which hubs will be upgraded as\n  # a result of merging a Pull Request. This Markdown content will be posted to the\n  # Pull Request as a comment. This means that no-one has to go searching through\n  # GitHub Actions logs to see if the hubs they intended to be upgraded, will be\n  # upgraded. The job posts the comment in a 'Netlify style', i.e., if a comment has\n  # already been posted (identified as having the 'github-actions[bot]' author and\n  # '<!-- deployment-plan -->' string in the body), the existing comment will be\n  # updated rather than posting a new one.\n  post-deployment-plan:\n    runs-on: ubuntu-latest\n    # Only run this job if the workflow that triggered it was from a Pull Request and\n    # completed successfully\n    if: >\n      github.event.workflow_run.event == 'pull_request' &&\n      github.event.workflow_run.conclusion == 'success'\n    # Give GITHUB_TOKEN enough permissions to read actions artifacts, issue comments and\n    # post/update comments on Pull Requests\n    permissions:\n      actions: read\n      issues: read\n      pull-requests: write\n    steps:\n      - uses: actions/checkout@v4\n      - run: pip install requests\n      - run: python extra-scripts/comment-deployment-plan-pr.py\n        env:\n          GITHUB_REPOSITORY: ${{ github.repository }}\n          RUN_ID: ${{ github.event.workflow_run.id }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:15.280368", "created_at": "2022-10-19T04:04:32+02:00", "updated_at": "2022-10-19T04:04:32+02:00", "name": "Ensure Uptime Checks", "path": ".github/workflows/ensure-uptime-checks.yaml", "contents": "name: Ensure Uptime Checks\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      # Config of prometheus or hubs might have changed\n      - helm-charts/**\n      # Hubs & clusters might be added or removed\n      - config/clusters/**\n      # The terraform code for the checks might have changed\n      - terraform/uptime-checks/**\n      # The way terraform is deployed might have changed!\n      - .github/workflows/ensure-uptime-checks.yaml\n\n# Queue executions of this workflow to avoid conflicts\n# ref: https://docs.github.com/en/actions/using-jobs/using-concurrency\nconcurrency: ${{ github.workflow }}\n\n# This environment variable triggers the deployer to colourise print statements in the\n# GitHub Actions logs for easy reading\nenv:\n  TERM: xterm\n\njobs:\n  ensure-uptime-checks:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      # Uptime checks are set up and managed via terraform\n      - uses: hashicorp/setup-terraform@v3\n\n      # We use sops to store encrypted GCP ServiceAccount Key that terraform uses\n      # to run, as well as PagerDuty config terraform uses\n      - name: Install sops\n        uses: mdgreenwald/mozilla-sops-action@v1.6.0\n\n      # Authenticate with the correct KMS key that sops will use.\n      - name: Setup sops credentials to decrypt repo secrets\n        uses: google-github-actions/auth@v2\n        with:\n          credentials_json: \"${{ secrets.GCP_KMS_DECRYPTOR_KEY }}\"\n\n      - name: ensure uptime checks are set up\n        run: |\n          cd terraform/uptime-checks\n          # Decrypt the GCP ServiceAccount key with permissions to run terraform\n          sops -d secret/enc-service-account-key.secret.json > service-account-key.json\n          export GOOGLE_APPLICATION_CREDENTIALS=service-account-key.json\n          # Setup Terraform\n          terraform init\n          # Run terraform automatically\n          terraform apply -auto-approve\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:16.508818", "created_at": "2022-11-03T16:10:54+01:00", "updated_at": "2022-11-03T16:10:54+01:00", "name": "Comment dependabot PRs with specific label", "path": ".github/workflows/comment-dependabot-prs.yaml", "contents": "# From https://docs.github.com/en/actions/managing-issues-and-pull-requests/commenting-on-an-issue-when-a-label-is-added\nname: Comment dependabot PRs with specific label\non:\n  pull_request_target:\n    types:\n      - labeled\njobs:\n  add-comment:\n    if: github.event.label.name == 'requires follow-up'\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: Add comment\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          issue-number: ${{ github.event.number }}\n          body: |\n            After merging this PR, remember to take the additional manual steps described in https://infrastructure.2i2c.org/en/latest/topic/infrastructure/hub-image.html#updating-the-hub-image\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:17.705602", "created_at": "2023-05-30T11:15:05+02:00", "updated_at": "2023-05-30T11:15:05+02:00", "name": "Auto Author Assign Pull Request", "path": ".github/workflows/auto-author-assign-pull-request.yaml", "contents": "# Automatically assign the authors to a PR\nname: Auto Author Assign Pull Request\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n\npermissions:\n  pull-requests: write\n\njobs:\n  assign-author:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Automatically assign PR author\n        id: assignation\n        uses: toshimaru/auto-author-assign@v2.1.0\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:18.920752", "created_at": "2023-06-24T07:18:31+02:00", "updated_at": "2023-06-24T07:20:21+02:00", "name": "Run and publish reports", "path": ".github/workflows/run-reports.yaml", "contents": null, "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:19.977708", "created_at": "2023-09-07T19:46:09+02:00", "updated_at": "2023-09-07T19:46:09+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": null, "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:21.079495", "created_at": "2024-01-10T10:07:17+01:00", "updated_at": "2024-01-10T10:07:17+01:00", "name": "Set project board status fields", "path": ".github/workflows/project-board-update.yml", "contents": "name: Set project board status fields\non:\n  issues:\n    types:\n      - labeled\n\njobs:\n  update-project-board-fields:\n    if: github.event.label.name == 'support'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Parse the ticket tracker issue template form\n        uses: stefanbuck/github-issue-parser@v3\n        id: issue-parser\n        with:\n          template-path: .github/ISSUE_TEMPLATE/5_freshdesk-ticket.yml\n      - name: Get ticket impact from the form\n        shell: python\n        id: get-ticket-impact\n        run: |\n          import os\n          form = ${{ steps.issue-parser.outputs.jsonString }}\n          impact = form.get(\"ticket_impact\")\n          # Export the `impact` string to GITHUB_OUTPUT to be used in following steps\n          with open(os.environ[\"GITHUB_OUTPUT\"], \"a\") as f :\n              print(f\"impact={impact}\", file=f)\n      - name: Set the \"Impact\" and \"Type\" project board fields\n        uses: EndBug/project-fields@v2\n        id: set-fields\n        with:\n          operation: set\n          fields: Impact,Type\n          github_token: ${{ secrets.PROJECT_BOARD_PAT_TOKEN }}\n          project_url: https://github.com/orgs/2i2c-org/projects/22\n          values: ${{ steps.get-ticket-impact.outputs.impact }},Support\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:22.208821", "created_at": "2024-04-16T09:42:03+02:00", "updated_at": "2024-04-16T11:14:09+02:00", "name": "Test docs", "path": ".github/workflows/test-docs.yaml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps.\n# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions\n#\nname: Test docs\n\non:\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - \"**/test-docs.yaml\"\n  push:\n    paths:\n      - \"docs/**\"\n      - \"**/test-docs.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n  workflow_dispatch:\n\njobs:\n  test-docs:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install deps\n        run: pip install -r docs/requirements.txt\n\n      # linkcheck is done separately from this in doc-links.yml, scheduled to\n      # run every day and open/update an issue\n      - name: make dirhtml\n        run: |\n          cd docs\n          make dirhtml SPHINXOPTS='--color -W --keep-going'\n", "state": "active", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:23.333007", "created_at": "2022-05-31T13:41:07+02:00", "updated_at": "2023-06-27T11:31:11+02:00", "name": "Bump Image Tags", "path": ".github/workflows/bump-image-tags.yaml", "contents": "name: Bump Image Tags\n\non:\n  workflow_dispatch:\n    inputs:\n      dry_run:\n        type: boolean\n        description: |\n          Perform a dry-run of the action and don't open a Pull Request. Information\n          on which images need to be bumped to which versions will be printed to stdout.\n        default: false\n        required: false\n  schedule:\n    - cron: \"0 0 * * 1\" # Run at 00:00 UTC every Monday\n\nenv:\n  team_reviewers: engineering\n\njobs:\n  bump-image-tags:\n    runs-on: ubuntu-latest\n    environment: github-app-token-generator\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # For each new config_path to monitor, add a new item in this matrix.\n          # The Action can read multiple paths to images, but not multiple config files.\n          #\n          # Single image: See this example to bump images in the Callysto cluster\n          # - name: \"Callysto hub\"\n          #   config_path: \"config/clusters/callysto/common.values.yaml\"\n          #   images_info: '[{\"values_path\": \".jupyterhub.singleuser.image\"}]'\n          #\n          # profileList: See this example to bump images in Openscapes cluster\n          # - name: \"OpenScapes profiles\"\n          #   config_path: \"config/clusters/openscapes/common.values.yaml\"\n          #   # Note: if position of images in profileList changes, update the index in these expressions\n          #   images_info: '[{\"values_path\": \".basehub.jupyterhub.singleuser.profileList[0].profile_options.image.choices.python.kubespawner_override.image\"}, {\"values_path\": \".basehub.jupyterhub.singleuser.profileList[0].profile_options.image.choices.rocker.kubespawner_override.image\"}, {\"values_path\": \".basehub.jupyterhub.singleuser.profileList[0].profile_options.image.choices.matlab.kubespawner_override.image\"}]'\n\n    steps:\n      # We want tests to be run on the Pull Request that gets opened by the next step,\n      # so we generate a token from a GitHub App that would allow this.\n      # By default, secrets.GITHUB_TOKEN is prevented from triggering\n      # secondary workflows.\n      #\n      # Action: https://github.com/marketplace/actions/github-app-token\n      - name: Fetch a token from GitHub App\n        id: generate_token\n        uses: tibdex/github-app-token@v2\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.PRIVATE_KEY }}\n\n      # Action repo: https://github.com/sgibson91/bump-jhub-image-action\n      - name: \"Bump image tags: ${{ matrix.name }}\"\n        uses: sgibson91/bump-jhub-image-action@main\n        with:\n          config_path: ${{ matrix.config_path }}\n          images_info: ${{ matrix.images_info }}\n          github_token: ${{ steps.generate_token.outputs.token }}\n          # team_reviewers: ${{ env.team_reviewers }}\n          dry_run: ${{ github.event.inputs.dry_run || false }}\n", "state": "disabled_manually", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:24.503993", "created_at": "2023-11-28T17:22:50+01:00", "updated_at": "2024-01-25T12:09:04+01:00", "name": "Add readthedocs preview link to pull requests", "path": ".github/workflows/autolink-readthedocs-previews-to-prs.yaml", "contents": "name: Add readthedocs preview link to pull requests\n\non:\n  pull_request_target:\n    paths:\n      - \"docs/**\"\n\njobs:\n  autolink-rtd-previews:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - uses: readthedocs/actions/preview@v1\n        with:\n          # The project slug in RTD still has the old repo name\n          project-slug: \"2i2c-pilot-hubs\"\n", "state": "disabled_manually", "repository": "2i2c-org/infrastructure"}
{"mined_at": "2024-07-15T16:47:26.714561", "created_at": "2020-08-10T19:14:41+02:00", "updated_at": "2020-08-10T19:14:41+02:00", "name": "Update Contributors", "path": ".github/workflows/update-contributors.yml", "contents": "name: Update Contributors\n\non:\n  push:\n    branches:\n      - master\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    # Disables this workflow from running in a repository that is not part of the indicated organization/user\n    if: github.repository_owner == 'cookiecutter'\n    permissions:\n      contents: write # for stefanzweifel/git-auto-commit-action to push code in repo\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Update list\n        run: python scripts/update_contributors.py\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Commit changes\n        uses: stefanzweifel/git-auto-commit-action@v5.0.1\n        with:\n          commit_message: Update Contributors\n          file_pattern: CONTRIBUTORS.md .github/contributors.json\n", "state": "active", "repository": "cookiecutter/cookiecutter-django"}
{"mined_at": "2024-07-15T16:47:27.841806", "created_at": "2020-08-12T13:53:05+02:00", "updated_at": "2023-08-01T21:57:21+02:00", "name": "Pre-commit auto-update", "path": ".github/workflows/pre-commit-autoupdate.yml", "contents": "# Run pre-commit autoupdate every day at midnight\n# and create a pull request if any changes\n\nname: Pre-commit auto-update\n\non:\n  schedule:\n    - cron: \"15 2 * * *\"\n  workflow_dispatch: # to trigger manually\n\npermissions:\n  contents: read\n\njobs:\n  auto-update:\n    # Disables this workflow from running in a repository that is not part of the indicated organization/user\n    if: github.repository_owner == 'cookiecutter'\n    permissions:\n      contents: write # for peter-evans/create-pull-request to create branch\n      pull-requests: write # for peter-evans/create-pull-request to create a PR\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install pre-commit\n        run: pip install pre-commit\n\n      - name: Autoupdate template\n        run: pre-commit autoupdate\n\n      - name: Autoupdate generated projects\n        working-directory: \"{{cookiecutter.project_slug}}\"\n        run: pre-commit autoupdate\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          branch: update/pre-commit-autoupdate\n          title: Auto-update pre-commit hooks\n          commit-message: Auto-update pre-commit hooks\n          body: Update versions of tools in pre-commit configs to latest version\n          labels: update\n", "state": "active", "repository": "cookiecutter/cookiecutter-django"}
{"mined_at": "2024-07-15T16:47:28.970985", "created_at": "2020-09-02T09:58:08+02:00", "updated_at": "2020-09-02T09:58:08+02:00", "name": "Issue Manager", "path": ".github/workflows/issue-manager.yml", "contents": "# Automatically close issues or pull requests that have a label, after a custom delay, if no one replies.\n# https://github.com/tiangolo/issue-manager\nname: Issue Manager\n\non:\n  schedule:\n    - cron: \"12 0 * * *\"\n  issue_comment:\n    types:\n      - created\n  issues:\n    types:\n      - labeled\n  pull_request_target:\n    types:\n      - labeled\n  workflow_dispatch:\n\njobs:\n  issue-manager:\n    # Disables this workflow from running in a repository that is not part of the indicated organization/user\n    if: github.repository_owner == 'cookiecutter'\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: tiangolo/issue-manager@0.5.0\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          config: >\n            {\n              \"answered\": {\n                \"delay\": 864000,\n                \"message\": \"Assuming the question was answered, this will be automatically closed now.\"\n              },\n              \"solved\": {\n                \"delay\": 864000,\n                \"message\": \"Assuming the original issue was solved, it will be automatically closed now.\"\n              },\n              \"waiting\": {\n                \"delay\": 864000,\n                \"message\": \"Automatically closing after waiting for additional info. To re-open, please provide the additional information requested.\"\n              },\n              \"wontfix\": {\n                \"delay\": 864000,\n                \"message\": \"As discussed, we won't be implementing this. Automatically closing.\"\n              }\n            }\n", "state": "active", "repository": "cookiecutter/cookiecutter-django"}
{"mined_at": "2024-07-15T16:47:30.002949", "created_at": "2020-09-04T18:00:21+02:00", "updated_at": "2020-09-04T18:00:21+02:00", "name": "Update Changelog", "path": ".github/workflows/update-changelog.yml", "contents": "name: Update Changelog\n\non:\n  # Every day at 2am\n  schedule:\n    - cron: \"0 2 * * *\"\n  # Manual trigger\n  workflow_dispatch:\n\njobs:\n  update:\n    # Disables this workflow from running in a repository that is not part of the indicated organization/user\n    if: github.repository_owner == 'cookiecutter'\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Set git details\n        run: |\n          git config --global user.name \"github-actions\"\n          git config --global user.email \"action@github.com\"\n      - name: Update list\n        run: python scripts/update_changelog.py\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "cookiecutter/cookiecutter-django"}
{"mined_at": "2024-07-15T16:47:31.220502", "created_at": "2020-11-09T19:46:30+01:00", "updated_at": "2020-11-09T19:46:30+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [\"master\", \"main\"]\n  pull_request:\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - windows-latest\n          - macOS-latest\n\n    name: \"pytest ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: pip\n      - name: Install dependencies\n        run: pip install -r requirements.txt\n      - name: Run tests\n        run: pytest -n auto tests\n\n  docker:\n    strategy:\n      fail-fast: false\n      matrix:\n        script:\n          - name: Basic\n            args: \"ci_tool=Gitlab\"\n          - name: Celery & DRF\n            args: \"use_celery=y use_drf=y\"\n          - name: Gulp\n            args: \"frontend_pipeline=Gulp\"\n          - name: Webpack\n            args: \"frontend_pipeline=Webpack\"\n\n    name: \"Docker ${{ matrix.script.name }}\"\n    runs-on: ubuntu-latest\n    env:\n      DOCKER_BUILDKIT: 1\n      COMPOSE_DOCKER_CLI_BUILD: 1\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: pip\n      - name: Install dependencies\n        run: pip install -r requirements.txt\n      - name: Docker ${{ matrix.script.name }}\n        run: sh tests/test_docker.sh ${{ matrix.script.args }}\n\n  bare:\n    strategy:\n      fail-fast: false\n      matrix:\n        script:\n          - name: Celery\n            args: \"use_celery=y frontend_pipeline='Django Compressor'\"\n          - name: Gulp\n            args: \"frontend_pipeline=Gulp\"\n          - name: Webpack\n            args: \"frontend_pipeline=Webpack use_heroku=y\"\n          - name: Email Username\n            args: \"username_type=email ci_tool=Github project_name='Something superduper long - the great amazing project' project_slug=my_awesome_project\"\n\n    name: \"Bare metal ${{ matrix.script.name }}\"\n    runs-on: ubuntu-latest\n    services:\n      redis:\n        image: redis:5.0\n        ports:\n          - 6379:6379\n      postgres:\n        image: postgres:12\n        ports:\n          - 5432:5432\n        env:\n          POSTGRES_PASSWORD: postgres\n\n    env:\n      CELERY_BROKER_URL: \"redis://localhost:6379/0\"\n      # postgres://user:password@host:port/database\n      DATABASE_URL: \"postgres://postgres:postgres@localhost:5432/postgres\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: pip\n          cache-dependency-path: |\n            requirements.txt\n            {{cookiecutter.project_slug}}/requirements/base.txt\n            {{cookiecutter.project_slug}}/requirements/local.txt\n      - name: Install dependencies\n        run: pip install -r requirements.txt\n      - uses: actions/setup-node@v4\n        with:\n          node-version: \"20\"\n      - name: Bare Metal ${{ matrix.script.name }}\n        run: sh tests/test_bare.sh ${{ matrix.script.args }}\n", "state": "active", "repository": "cookiecutter/cookiecutter-django"}
{"mined_at": "2024-07-15T16:47:32.380266", "created_at": "2021-11-12T19:41:37+01:00", "updated_at": "2021-11-12T19:41:37+01:00", "name": "Django Issue Checker", "path": ".github/workflows/django-issue-checker.yml", "contents": "# Creates a new issue for Major/Minor Django updates that keeps track\n# of all dependencies that need to be updated/merged in order for the\n# latest Django version to also be merged.\nname: Django Issue Checker\n\non:\n  schedule:\n    - cron: \"28 5 * * *\"\n  # Manual trigger\n  workflow_dispatch:\n\njobs:\n  issue-checker:\n    # Disables this workflow from running in a repository that is not part of the indicated organization/user\n    if: github.repository_owner == 'cookiecutter'\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Create Django Major Issue\n        run: python scripts/create_django_issue.py\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "cookiecutter/cookiecutter-django"}
{"mined_at": "2024-07-15T16:47:34.804958", "created_at": "2021-09-28T21:20:49+02:00", "updated_at": "2022-03-15T21:47:44+01:00", "name": "Changelog", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - 'tango/**'\n\njobs:\n  changelog:\n    name: CHANGELOG\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request'\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n\n    - name: Check that CHANGELOG has been updated\n      run: |\n        # If this step fails, this means you haven't updated the CHANGELOG.md\n        # file with notes on your contribution.\n        git diff --name-only $(git merge-base origin/main HEAD) | grep '^CHANGELOG.md$' && echo \"Thanks for helping keep our CHANGELOG up-to-date!\"\n", "state": "active", "repository": "allenai/tango"}
{"mined_at": "2024-07-15T16:47:36.033282", "created_at": "2022-02-08T23:29:09+01:00", "updated_at": "2022-02-08T23:29:09+01:00", "name": "Docker", "path": ".github/workflows/docker.yml", "contents": "name: Docker\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"Dockerfile\"\n      - \".dockerignore\"\n      - \"pyproject.toml\"\n  push:\n    tags:\n      - \"v*.*.*\"\n\njobs:\n  build:\n    name: Build (${{ matrix.build.tag }})\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        build:\n          - base_image: ghcr.io/allenai/pytorch:1.12.1-cuda11.3-python3.9\n            tag: cuda11.3\n    env:\n      IMAGE_NAME: ghcr.io/allenai/tango\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Build Docker image\n        run: |\n          docker build --build-arg BASE_IMAGE=${{ matrix.build.base_image }} -t \"${IMAGE_NAME}:${{ matrix.build.tag }}\" .\n\n      - name: Test Docker image\n        run: |\n          docker run --rm \"${IMAGE_NAME}:${{ matrix.build.tag }}\" info\n\n      - name: Log in to ghcr.io\n        if: github.event_name != 'pull_request'\n        run: |\n          echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n\n      - name: Push latest to ghcr.io\n        if: github.event_name != 'pull_request'\n        run: |\n          docker push \"${IMAGE_NAME}:${{ matrix.build.tag }}\"\n\n      - name: Push release version to ghcr.io\n        if: startsWith(github.ref, 'refs/tags/')\n        run: |\n          GITHUB_TAG=${GITHUB_REF#refs/tags/}\n          docker tag \"${IMAGE_NAME}:${{ matrix.build.tag }}\" \"${IMAGE_NAME}:${GITHUB_TAG}-${{ matrix.build.tag }}\"\n          docker push \"${IMAGE_NAME}:${GITHUB_TAG}-${{ matrix.build.tag }}\"\n", "state": "active", "repository": "allenai/tango"}
{"mined_at": "2024-07-15T16:47:37.263760", "created_at": "2022-02-09T20:41:39+01:00", "updated_at": "2022-02-10T03:09:59+01:00", "name": "Docker testing", "path": ".github/workflows/docker_testing.yml", "contents": "# This workflow is just for building our Docker image for GPU testing on Beaker,\n# and pushing it to Beaker. We only run it when the relevant Dockerfile (or .dockerignore) changes.\nname: Docker testing\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - 'Dockerfile.test'\n      - '.dockerignore'\n      - 'scripts/entrypoint.sh'\n  push:\n    branches:\n      - main\n    paths:\n      - 'Dockerfile.test'\n      - '.dockerignore'\n      - 'scripts/entrypoint.sh'\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    env:\n      BEAKER_TOKEN: ${{ secrets.BEAKER_TOKEN }}\n      BEAKER_WORKSPACE: ai2/tango-testing\n      IMAGE_NAME: tango-testing\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: allenai/setup-beaker@v2\n        with:\n          token: ${{ secrets.BEAKER_TOKEN }}\n          workspace: ${{ env.BEAKER_WORKSPACE }}\n\n      - name: Build Docker image\n        run: |\n          docker build -t \"$IMAGE_NAME\" -f Dockerfile.test .\n\n      - name: Determine current commit SHA (pull request)\n        if: github.event_name == 'pull_request'\n        run: |\n          echo \"COMMIT_SHA=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n\n      - name: Determine current commit SHA (push)\n        if: github.event_name != 'pull_request'\n        run: |\n          echo \"COMMIT_SHA=$GITHUB_SHA\" >> $GITHUB_ENV\n\n      - name: Test Docker image\n        run: |\n          docker run --rm --env COMMIT_SHA=\"$COMMIT_SHA\" \"$IMAGE_NAME\" tango info\n\n       # In order to push a new version of an image to beaker, we have to delete the old version first.\n       # This doesn't actually delete the backing Docker image, so we'll still benefit from layer\n       # caching when we push new versions. But we have to be careful to minimize the amount\n       # of time between deletion and creation, because during that time any Beaker job trying to start\n       # that depends on that image will fail. So to minimize this downtime, we first push a\n       # \"temp\" version of the image, then delete the current one and quickly rename the \"temp\" one to take its place.\n       # The image might not exist yet though, so it's okay if the delete fails.\n\n      - name: Delete existing commit image\n        continue-on-error: true\n        run: |\n          beaker image delete petew/${{ env.IMAGE_NAME }}-${{ env.COMMIT_SHA }}\n\n      - name: Upload new commit image\n        run: |\n          beaker image create --workspace ${{ env.BEAKER_WORKSPACE }} --name ${{ env.IMAGE_NAME }}-${{ env.COMMIT_SHA }} ${{ env.IMAGE_NAME }}\n\n      - name: Delete existing image\n        if: github.event_name != 'pull_request'\n        continue-on-error: true\n        run: |\n          beaker image delete petew/${{ env.IMAGE_NAME }}\n\n      - name: Rename new commit image to final image\n        if: github.event_name != 'pull_request'\n        run: |\n          beaker image rename petew/${{ env.IMAGE_NAME }}-${{ env.COMMIT_SHA }} ${{ env.IMAGE_NAME }}\n", "state": "active", "repository": "allenai/tango"}
{"mined_at": "2024-07-15T16:47:38.399249", "created_at": "2022-02-10T16:53:05+01:00", "updated_at": "2022-02-10T19:50:44+01:00", "name": "Integration tests", "path": ".github/workflows/integration_tests.yml", "contents": "name: Integration tests\n\non:\n  workflow_dispatch:\n    inputs:\n      test:\n        description: the integration test to run\n        default: fairscale_benchmarks\n        required: true\n        type: choice\n        options:\n          - fairscale_benchmarks\n      cluster:\n        description: the beaker cluster to run the test on\n        default: ai2/tango-integration-tests\n        required: true\n        type: choice\n        options:\n          - ai2/tango-integration-tests\n          - ai2/allennlp-cirrascale\n  # Uncomment this trigger to test changes on a pull request.\n  # You also have to uncomment the lines below that mention 'for pull request checks'\n  # pull_request:\n  #   branches:\n  #     - '*'\n\njobs:\n  run_test:\n    name: ${{ github.event.inputs.test }}\n    # name: fairscale_benchmarks  # for pull request checks\n    runs-on: [ubuntu-latest]\n    timeout-minutes: 60\n    env:\n      TEST_NAME: ${{ github.event.inputs.test }}\n      # TEST_NAME: fairscale_benchmarks  # for pull request checks\n      BEAKER_TOKEN: ${{ secrets.BEAKER_TOKEN }}\n      BEAKER_WORKSPACE: ai2/tango-integration-tests\n      BEAKER_CLUSTER: ${{ github.event.inputs.cluster }}\n      # BEAKER_CLUSTER: ai2/allennlp-cirrascale  # for pull request checks\n      IMAGE_NAME: petew/tango-testing\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Validate inputs\n        run: |\n          # The 'test' input should be a directory in `integration_tests/`\n          test -d \"integration_tests/${TEST_NAME}\"\n\n      - name: Determine current commit SHA (pull request)\n        if: github.event_name == 'pull_request'\n        run: |\n          echo \"COMMIT_SHA=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n\n      - name: Determine current commit SHA (push)\n        if: github.event_name != 'pull_request'\n        run: |\n          echo \"COMMIT_SHA=$GITHUB_SHA\" >> $GITHUB_ENV\n\n      - name: Install beaker client\n        shell: bash\n        run: |\n          mkdir -p \"$HOME/bin\"\n\n          # Download and install from latest GitHub release.\n          curl -s https://api.github.com/repos/allenai/beaker/releases/latest \\\n            | grep 'browser_download_url.*linux' \\\n            | cut -d '\"' -f 4 \\\n            | wget -qi - \\\n          && tar -xvzf beaker_linux.tar.gz -C \"$HOME/bin\"\n\n          # Add to path.\n          echo \"$HOME/bin\" >> \"$GITHUB_PATH\"\n\n      - name: Verify beaker install\n        run: |\n          beaker account whoami\n\n      - name: Create beaker experiment config\n        run: |\n          cat >beaker_config.yml << EOL\n          version: v2-alpha\n          description: ${{ env.TEST_NAME }}\n          tasks:\n            - name: test\n              image:\n                beaker: ${{ env.IMAGE_NAME }}\n              command: [\"/entrypoint.sh\", \"integration_tests/${{ env.TEST_NAME }}/run.sh\"]\n              envVars:\n                - name: COMMIT_SHA\n                  value: $COMMIT_SHA\n                - name: WANDB_API_KEY\n                  secret: WANDB_API_KEY\n                - name: FILE_FRIENDLY_LOGGING\n                  value: \"true\"\n                - name: TOKENIZERS_PARALLELISM  # set this to avoid warnings\n                  value: \"true\"\n                - name: PYTHONUNBUFFERED\n                  value: \"true\"\n              result:\n                path: '/results'\n              resources:\n                gpuCount: 4\n              context:\n                cluster: ${{ env.BEAKER_CLUSTER }}\n                priority: normal\n          EOL\n          cat beaker_config.yml\n\n      - name: Submit beaker job\n        run: |\n          TIMESTAMP=$(date +%H%M%S)\n          EXPERIMENT=$(beaker experiment create beaker_config.yml --workspace $BEAKER_WORKSPACE --name \"${TEST_NAME}-${{ github.run_number }}-${TIMESTAMP}\" | awk '{print $2}')\n          if [ -z \"$EXPERIMENT\" ]; then\n            exit 1\n          else\n            echo \"EXPERIMENT=$EXPERIMENT\" >> $GITHUB_ENV\n            echo \"Experiment $EXPERIMENT submitted. See progress at https://beaker.org/ex/$EXPERIMENT\"\n          fi\n\n      - name: Wait for job to finish\n        run: |\n          beaker experiment await $EXPERIMENT test finalized --timeout 60m\n          # Check the job's exit code.\n          test $(beaker experiment get $EXPERIMENT --format=json | jq '.[0].jobs[0].status.exitCode') -eq 0\n\n      - name: Get logs\n        if: always()\n        run: |\n          # EXPERIMENT could be empty if the submission step failed.\n          # We'll exit right away if that's the case.\n          if [ -z \"$EXPERIMENT\" ]; then\n            echo \"No logs to show\"\n            exit 0\n          fi\n\n          # Download logs from beaker.\n          beaker experiment results $EXPERIMENT --prefix out.log --output results\n\n          # If the experiment failed during startup, there might not be any logs.\n          if [ -f results/test/out.log ]; then\n            echo \"\"\n            echo \">>> Logs:\"\n            echo \"\"\n            cat results/test/out.log\n          else\n            echo \"No logs to show\"\n          fi\n\n      - name: Stop job\n        if: cancelled()\n        run: |\n          if [ ! -z \"$EXPERIMENT\" ]; then\n            beaker experiment stop $EXPERIMENT\n          fi\n", "state": "active", "repository": "allenai/tango"}
{"mined_at": "2024-07-15T16:47:39.505738", "created_at": "2022-02-08T18:04:26+01:00", "updated_at": "2022-02-08T23:29:09+01:00", "name": "Main", "path": ".github/workflows/main.yml", "contents": "name: Main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n\non:\n  pull_request:\n    branches:\n      - \"*\"\n  push:\n    branches:\n      - main\n    tags:\n      - \"v*.*.*\"\n\nenv:\n  CACHE_PREFIX: v5 # Change this to invalidate existing cache.\n  PYTHON_PATH: ./\n  DEFAULT_PYTHON: 3.9\n  WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }}\n  BEAKER_TOKEN: ${{ secrets.BEAKER_TOKEN }}\n  BEAKER_WORKSPACE: ai2/tango-testing\n  BEAKER_IMAGE: petew/tango-testing\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n  checks:\n    name: python ${{ matrix.python }} - ${{ matrix.task.name }}\n    runs-on: [ubuntu-latest]\n    timeout-minutes: 30\n    permissions:\n      contents: \"read\"\n      id-token: \"write\"\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\"3.9\"]\n        task:\n          - name: Lint\n            extras: dev,all\n            requires_torch: true\n            run: |\n              ruff check .\n\n          - name: Type check\n            extras: dev,all\n            requires_torch: true\n            run: |\n              mypy --check-untyped-defs .\n\n          - name: Build\n            extras: dev,all\n            requires_torch: true\n            run: |\n              tango --version\n              python -m build\n\n          - name: Style\n            extras: dev\n            requires_torch: false\n            run: |\n              isort --check .\n              black --check .\n\n          - name: Docs\n            extras: dev,all\n            requires_torch: true\n            run: |\n              cd docs && make html SPHINXOPTS=\"-W --keep-going\"\n\n          - name: Test\n            extras: dev\n            requires_torch: false\n            run: |\n              pytest -v --durations=10 --color=yes --doctest-modules --ignore=tests/integrations --ignore=tango/integrations tests/ tango/\n\n          - name: Datasets integration\n            extras: dev,datasets\n            requires_torch: false\n            run: |\n              pytest -v --color=yes --doctest-modules tango/integrations/datasets tests/integrations/datasets\n\n          - name: PyTorch integration\n            extras: dev,torch\n            requires_torch: true\n            run: |\n              pytest -v --color=yes --doctest-modules tango/integrations/torch tests/integrations/torch\n\n          - name: Transformers integration\n            extras: dev,flax,transformers\n            requires_torch: true\n            run: |\n              pytest -v --color=yes --doctest-modules tango/integrations/transformers tests/integrations/transformers\n\n          - name: FairScale integration\n            extras: dev,fairscale\n            requires_torch: true\n            run: |\n              pytest -v --color=yes --doctest-modules tango/integrations/fairscale tests/integrations/fairscale\n\n          - name: W&B integration\n            extras: dev,torch,flax,wandb\n            requires_torch: true\n            run: |\n              pytest -v --color=yes --doctest-modules tango/integrations/wandb tests/integrations/wandb\n\n          - name: Beaker integration\n            extras: dev,beaker\n            requires_torch: false\n            run: |\n              pytest -v --color=yes --doctest-modules tango/integrations/beaker tests/integrations/beaker\n\n          - name: Flax integration\n            extras: dev,flax,transformers\n            requires_torch: false\n            run: |\n              pytest -v --color=yes --doctest-modules tango/integrations/flax tests/integrations/flax\n\n          - name: GS integration\n            extras: dev,gs\n            requires_torch: false\n            run: |\n              pytest -v --color=yes --doctest-modules tango/integrations/gs tests/integrations/gs\n\n          - name: Example - train_lm\n            extras: dev,all\n            requires_torch: true\n            run: |\n              cd examples/train_lm\n              pytest -v --color=yes test.py\n\n        include:\n          # Run the core tests on other Python versions as well.\n          - task:\n              name: Test\n              extras: dev\n              requires_torch: false\n              run: |\n                pytest -v --durations=10 --color=yes --doctest-modules --ignore=tests/integrations --ignore=tango/integrations tests/ tango/\n            python: \"3.8\"\n\n          - task:\n              name: Test\n              extras: dev\n              requires_torch: false\n              run: |\n                pytest -v --durations=10 --color=yes --doctest-modules --ignore=tests/integrations --ignore=tango/integrations tests/ tango/\n            python: \"3.10\"\n\n    steps:\n      - uses: \"actions/checkout@v3\"\n      - name: Checkout\n        if: github.event_name != 'pull_request'\n        uses: actions/checkout@v3\n\n      # For pull requests we need to checkout the HEAD commit instead of the merge\n      # commit since some tests depend on having an existing commit.\n      - name: Checkout (pull request)\n        if: github.event_name == 'pull_request'\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install prerequisites\n        run: |\n          pip install --upgrade pip setuptools wheel virtualenv\n\n      - name: Set build variables\n        shell: bash\n        run: |\n          set -e\n          # Get the exact Python version to use in the cache key.\n          echo \"PYTHON_VERSION=$(python --version)\" >> $GITHUB_ENV\n          echo \"RUNNER_ARCH=$(uname -m)\" >> $GITHUB_ENV\n          # Use week number in cache key so we can refresh the cache weekly.\n          echo \"WEEK_NUMBER=$(date +%V)\" >> $GITHUB_ENV\n          echo \"EXTRAS_HASH=$(python scripts/hash_extras.py ${{ matrix.task.extras }})\" >> $GITHUB_ENV\n\n      - uses: actions/cache@v3\n        id: virtualenv-cache\n        with:\n          path: .venv\n          key: ${{ env.CACHE_PREFIX }}-${{ env.WEEK_NUMBER }}-${{ runner.os }}-${{ env.RUNNER_ARCH }}-${{ env.PYTHON_VERSION }}-${{ env.EXTRAS_HASH }}-${{ hashFiles('pyproject.toml') }}\n\n      - name: Setup virtual environment (no cache hit)\n        if: steps.virtualenv-cache.outputs.cache-hit != 'true'\n        run: |\n          test -d .venv || virtualenv -p $(which python) --copies --reset-app-data .venv\n\n      # Reference: https://github.com/marketplace/actions/authenticate-to-google-cloud#setup\n      - name: Authenticate to Google Cloud\n        if: matrix.task.name == 'GS integration'\n        uses: \"google-github-actions/auth@v1\"\n        with:\n          workload_identity_provider: \"projects/10554368204/locations/global/workloadIdentityPools/tango-ci-pool/providers/tango-ci-provider\"\n          service_account: \"tango-service@ai2-allennlp.iam.gserviceaccount.com\"\n\n      - name: Pre-install torch\n        if: steps.virtualenv-cache.outputs.cache-hit != 'true' && (contains(matrix.task.extras, 'torch') || contains(matrix.task.extras, 'all') || matrix.task.requires_torch)\n        run: |\n          . .venv/bin/activate\n          pip install torch==2.0.0 --extra-index-url https://download.pytorch.org/whl/cpu\n\n      - name: Pre-install flax\n        if: steps.virtualenv-cache.outputs.cache-hit != 'true' && (contains(matrix.task.extras, 'flax') || contains(matrix.task.extras, 'all'))\n        run: |\n          . .venv/bin/activate\n          pip install flax jax jaxlib \"tensorflow-cpu>=2.9.1\" optax\n\n      - name: Install editable (no cache hit)\n        if: steps.virtualenv-cache.outputs.cache-hit != 'true'\n        run: |\n          . .venv/bin/activate\n          pip install -e .[${{ matrix.task.extras }}]\n\n      - name: Install editable (cache hit)\n        if: steps.virtualenv-cache.outputs.cache-hit == 'true'\n        run: |\n          . .venv/bin/activate\n          pip install --no-deps -e .[${{ matrix.task.extras }}]\n\n      - name: Show environment info\n        run: |\n          . .venv/bin/activate\n          echo \"========= Python location ===========\"\n          which python\n          echo \"========= Python version ============\"\n          python --version\n          echo \"========= Python packages ===========\"\n          pip freeze\n          echo \"========= Tango installation ========\"\n          tango info\n\n      - name: ${{ matrix.task.name }}\n        run: |\n          . .venv/bin/activate\n          ${{ matrix.task.run }}\n\n      - name: Upload package distribution files\n        if: matrix.task.name == 'Build' && matrix.python == env.DEFAULT_PYTHON\n        uses: actions/upload-artifact@v3\n        with:\n          name: package\n          path: dist\n\n      - name: Upload docs build\n        if: matrix.task.name == 'Docs' && matrix.python == env.DEFAULT_PYTHON\n        uses: actions/upload-artifact@v3\n        with:\n          name: docs\n          path: docs/build\n\n      - name: Clean up\n        if: always()\n        run: |\n          . .venv/bin/activate\n          pip uninstall -y ai2-tango\n\n  gpu_tests:\n    name: GPU Tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Determine current commit SHA (pull request)\n        if: github.event_name == 'pull_request'\n        run: |\n          echo \"COMMIT_SHA=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n\n      - name: Determine current commit SHA (push)\n        if: github.event_name != 'pull_request'\n        run: |\n          echo \"COMMIT_SHA=$GITHUB_SHA\" >> $GITHUB_ENV\n\n      - name: GPU Tests\n        uses: allenai/beaker-run-action@v1.2\n        with:\n          spec: |\n            version: v2\n            description: GPU Tests\n            budget: ai2/oe-training\n            tasks:\n              - name: tests\n                image:\n                  beaker: ${{ env.BEAKER_IMAGE }}\n                context:\n                  preemptible: true \n                resources:\n                  gpuCount: 2\n                envVars:\n                  - name: COMMIT_SHA\n                    value: ${{ env.COMMIT_SHA }}\n                command: [\"/entrypoint.sh\", \"pytest\", \"-v\", \"-m\", \"gpu\", \"tests/\"]\n                result:\n                  path: /unused\n          token: ${{ secrets.BEAKER_TOKEN }}\n          workspace: ${{ env.BEAKER_WORKSPACE }}\n          clusters: ai2/general-cirrascale,ai2/allennlp-cirrascale,ai2/aristo-cirrascale,ai2/mosaic-cirrascale,ai2/s2-cirrascale\n\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    needs: [gpu_tests, checks]\n    if: startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n\n      - name: Install requirements\n        run: |\n          pip install -e .[dev]\n\n      - name: Prepare environment\n        run: |\n          echo \"RELEASE_VERSION=${GITHUB_REF#refs/tags/v}\" >> $GITHUB_ENV\n          echo \"TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV\n\n      - name: Download package distribution files\n        uses: actions/download-artifact@v3\n        with:\n          name: package\n          path: dist\n\n      - name: Generate release notes\n        run: |\n          python scripts/release_notes.py > ${{ github.workspace }}-RELEASE_NOTES.md\n\n      - name: Publish package to PyPI\n        run: |\n          twine upload -u __token__ -p ${{ secrets.PYPI_PASSWORD }} dist/*\n\n      - name: Publish GitHub release\n        uses: softprops/action-gh-release@v1\n        with:\n          body_path: ${{ github.workspace }}-RELEASE_NOTES.md\n          prerelease: ${{ contains(env.TAG, 'rc') }}\n          files: |\n            dist/*\n", "state": "active", "repository": "allenai/tango"}
{"mined_at": "2024-07-15T16:47:40.578224", "created_at": "2022-03-14T22:29:15+01:00", "updated_at": "2022-03-15T01:33:38+01:00", "name": "Update dependency PR", "path": ".github/workflows/update_dependency_pr.yml", "contents": "name: Update dependency PR\n\non:\n  pull_request:\n    types:\n      - opened\n    paths:\n      - \"pyproject.toml\"\n\npermissions:\n  pull-requests: write\n\njobs:\n  torch:\n    name: torch\n    runs-on: ubuntu-latest\n    if: startsWith(github.head_ref, 'dependabot/pip/torch-')\n    steps:\n      - uses: actions/github-script@v6\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Hello! This is a [PyTorch](https://pytorch.org/) upgrade, which means you will also need to update:\\n- [ ] The base image in `Dockerfile`\\n- [ ] The base image in `Dockerfile.test`\\n- [ ] The torch version hard-coded in `.github/workflows/main.yml`'\n            })\n", "state": "active", "repository": "allenai/tango"}
{"mined_at": "2024-07-15T16:47:42.690122", "created_at": "2020-11-05T15:53:56+01:00", "updated_at": "2020-11-05T15:53:56+01:00", "name": "C Actions", "path": ".github/workflows/c_actions.yml", "contents": "# Copyright (c) 2020 The University of Manchester\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: C Actions\non: [push]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Checkout SupportScripts\n      uses: actions/checkout@v4\n      with:\n        repository: SpiNNakerManchester/SupportScripts\n        path: support\n    - name: Install Ubuntu packages\n      uses: ./support/actions/apt-get-install\n      with:\n        packages: doxygen gcc-arm-none-eabi\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n    - name: Checkout SpiNNaker Dependencies\n      uses: ./support/actions/install-spinn-deps\n      with:\n        # Note: SpiNNUtils needed for spinn_utilities.make_tools\n        repositories: spinnaker_tools spinn_common SpiNNFrontEndCommon\n\n    - name: \"Prepare: Install SpiNNUtils\"\n      uses: ./support/actions/install-spinn-deps\n      with:\n        # Note: SpiNNUtils needed for spinn_utilities.make_tools\n        repositories: SpiNNUtils\n        install: true\n\n    # Note: run these before building to avoid linting modified_src directories\n    - name: Lint C code using Vera++\n      uses: ./support/actions/vera\n      with:\n        base-dir: spinnaker_graph_front_end\n        options: -P max-dirname-length=40\n    - name: Lint C code using Vera++\n      uses: ./support/actions/vera\n      with:\n        base-dir: gfe_integration_tests\n\n    - name: Build C dependencies\n      run: |\n        export SPINN_DIRS=$PWD/spinnaker_tools\n        echo \"SPINN_DIRS=$PWD/spinnaker_tools\" >> $GITHUB_ENV\n        make -C spinnaker_tools\n        make -C spinn_common install\n        make -C SpiNNFrontEndCommon/c_common install\n\n    - name: Build Example code\n      run: make\n      env:\n        CFLAGS: -fdiagnostics-color=always\n        GCC_COLORS: error=01;31:warning=01;35:note=01;36:range1=32:range2=34:locus=01:quote=01:fixit-insert=32:fixit-delete=31:diff-filename=01:diff-hunk=32:diff-delete=31:diff-insert=32\n      working-directory: gfe_examples\n\n    - name: Build Integration Test code (gfe_integration_tests)\n      run: make\n      env:\n        CFLAGS: -fdiagnostics-color=always\n        GCC_COLORS: error=01;31:warning=01;35:note=01;36:range1=32:range2=34:locus=01:quote=01:fixit-insert=32:fixit-delete=31:diff-filename=01:diff-hunk=32:diff-delete=31:diff-insert=32\n      working-directory: gfe_integration_tests\n", "state": "active", "repository": "spinnakermanchester/spinnakergraphfrontend"}
{"mined_at": "2024-07-15T16:47:43.917733", "created_at": "2020-11-09T09:57:57+01:00", "updated_at": "2024-01-08T10:52:54+01:00", "name": "Python Actions", "path": ".github/workflows/python_actions.yml", "contents": "# Copyright (c) 2020 The University of Manchester\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# This workflow will install Python dependencies, run tests, lint and rat with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python Actions\non: [push]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n\n    env:\n      BASE_PKG: spinnaker_graph_front_end\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Checkout SupportScripts\n      uses: actions/checkout@v4\n      with:\n        repository: SpiNNakerManchester/SupportScripts\n        path: support\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install pip, etc\n      uses: ./support/actions/python-tools\n    - name: Install mypy\n      run: pip install mypy\n\n    - name: Install Spinnaker Dependencies\n      uses: ./support/actions/install-spinn-deps\n      with:\n        repositories: >\n          SpiNNUtils SpiNNMachine SpiNNMan PACMAN spalloc\n          SpiNNFrontEndCommon TestBase\n        install: true\n    - name: Install matplotlib\n      uses: ./support/actions/install-matplotlib\n    - name: Setup\n      uses: ./support/actions/run-install\n\n    - name: Create a configuration file\n      uses: ./support/actions/configure-spynnaker\n      with:\n        board-address: spinn-4.cs.man.ac.uk\n    - run: mv ~/.spynnaker.cfg ~/.spiNNakerGraphFrontEnd.cfg\n    - name: Test with pytest\n      uses: ./support/actions/pytest\n      with:\n        tests: unittests\n        coverage: ${{ matrix.python-version == 3.12 }}\n        cover-packages: ${{ env.BASE_PKG }}\n        coveralls-token: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Lint with flake8\n      run: flake8 ${{ env.BASE_PKG }} unittests gfe_examples\n    - name: Lint with pylint\n      uses: ./support/actions/pylint\n      with:\n        package: ${{ env.BASE_PKG }} gfe_examples\n        exitcheck: 31 # Action fails on any message\n        language: en_GB\n\n    - name: Lint with mypy\n      run: mypy $BASE_PKG\n\n  validate:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.12]\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Checkout SupportScripts\n      uses: actions/checkout@v4\n      with:\n        repository: SpiNNakerManchester/SupportScripts\n        path: support\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install pip, etc\n      uses: ./support/actions/python-tools\n    - name: Install Spinnaker Dependencies\n      uses: ./support/actions/install-spinn-deps\n      with:\n        repositories: >\n          SpiNNUtils SpiNNMachine SpiNNMan PACMAN spalloc\n          SpiNNFrontEndCommon TestBase\n        install: true\n    - name: Install matplotlib\n      uses: ./support/actions/install-matplotlib\n    - name: Setup\n      uses: ./support/actions/run-install\n\n    - name: Create a configuration file\n      uses: ./support/actions/configure-spynnaker\n      with:\n        board-address: spinn-4.cs.man.ac.uk\n    - run: mv ~/.spynnaker.cfg ~/.spiNNakerGraphFrontEnd.cfg\n    - name: Run rat copyright enforcement\n      uses: ./support/actions/check-copyrights\n      with:\n        config_file: rat_asl20.xml\n\n    - name: Build documentation with sphinx\n      uses: ./support/actions/sphinx\n      with:\n        directory: doc/source\n\n    - name: Validate CITATION.cff\n      uses: dieghernan/cff-validator@main\n", "state": "active", "repository": "spinnakermanchester/spinnakergraphfrontend"}
{"mined_at": "2024-07-15T16:47:46.170842", "created_at": "2022-05-29T22:56:13+02:00", "updated_at": "2022-05-30T00:24:41+02:00", "name": "C++ network", "path": ".github/workflows/cxx-network.yml", "contents": "name: C++ network\n\non: [pull_request, workflow_dispatch]\njobs:\n  compilation:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: \"pip\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n\n      - name: Install pynucastro\n        run: pip install .\n\n      - name: Get AMReX\n        run: |\n          mkdir external\n          cd external\n          git clone https://github.com/AMReX-Codes/amrex.git\n          cd amrex\n          git checkout development\n          echo 'AMREX_HOME=$(GITHUB_WORKSPACE)/external/amrex' >> $GITHUB_ENV\n          echo $AMREX_HOME\n          if [[ -n \"${AMREX_HOME}\" ]]; then exit 1; fi\n          cd ../..\n\n      - name: Get Microphysics\n        run: |\n          cd external\n          git clone https://github.com/AMReX-Astro/Microphysics.git\n          cd Microphysics\n          git checkout development\n          cd ../..\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update -y -qq\n          sudo apt-get -qq -y install curl cmake jq clang g++>=9.3.0\n\n      - name: Regenerate subch_simple network\n        run: |\n          cd external/Microphysics/networks/subch_simple\n          python subch_simple.py\n\n      - name: Compile burn_cell (subch_simple)\n        run: |\n          cd external/Microphysics/unit_test/burn_cell\n          make realclean\n          make NETWORK_DIR=subch_simple -j 4\n\n      - name: Run burn_cell (subch_simple)\n        run: |\n          cd external/Microphysics/unit_test/burn_cell\n          ./main3d.gnu.ex inputs_subch_simple > test.out\n\n      - name: Compare to stored output (subch_simple)\n        run: |\n          cd external/Microphysics/unit_test/burn_cell\n          diff -I \"^Initializing AMReX\" -I \"^AMReX\" -I \"^reading in reaclib rates\" test.out ${GITHUB_WORKSPACE}/.github/workflows/microphysics-benchmarks/subch_simple_unit_test.out\n\n      - name: Regenerate ECSN network\n        run: |\n          cd external/Microphysics/networks/ECSN\n          python ecsn_network_generation.py\n\n      - name: Compile burn_cell (ECSN)\n        run: |\n          cd external/Microphysics/unit_test/burn_cell\n          make realclean\n          make NETWORK_DIR=ECSN -j 4\n\n      - name: Run burn_cell (ECSN)\n        run: |\n          cd external/Microphysics/unit_test/burn_cell\n          ./main3d.gnu.ex inputs_ecsn > test.out\n\n      - name: Compare to stored output (ECSN)\n        run: |\n          cd external/Microphysics/unit_test/burn_cell\n          diff -I \"^Initializing AMReX\" -I \"^AMReX\" -I \"^reading in reaclib rates\" test.out ${GITHUB_WORKSPACE}/.github/workflows/microphysics-benchmarks/ecsn_unit_test.out\n\n      - name: Regenerate ase network\n        run: |\n          cd external/Microphysics/networks/ase\n          python ase.py\n\n      - name: Compile test_ase (NSE_NET, ase)\n        run: |\n          cd external/Microphysics/unit_test/test_ase\n          make realclean\n          make -j 4\n\n      - name: Run test_ase (NSE_NET, ase)\n        run: |\n          cd external/Microphysics/unit_test/test_ase\n          ./main3d.gnu.ex inputs_ase > test.out\n\n      - name: Compare to stored output (NSE_NET, ase)\n        run: |\n          cd external/Microphysics/unit_test/test_ase\n          diff -I \"^Initializing AMReX\" -I \"^AMReX\" -I \"^reading in reaclib rates\" test.out ${GITHUB_WORKSPACE}/.github/workflows/microphysics-benchmarks/ase_nse_net_unit_test.out\n", "state": "active", "repository": "pynucastro/pynucastro"}
{"mined_at": "2024-07-15T16:47:47.297079", "created_at": "2022-09-25T19:31:41+02:00", "updated_at": "2022-09-26T21:15:54+02:00", "name": "docs build", "path": ".github/workflows/docs-test.yml", "contents": "name: docs build\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install pandoc and doxygen\n        run: |\n          sudo apt install pandoc doxygen\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: \"pip\"\n\n      - name: Install dependencies\n        run: pip install -r ./requirements.txt\n\n      - name: Install pynucastro\n        run: pip install .\n\n      - name: Build docs\n        run: |\n          cd docs/\n          make SPHINXOPTS='-v -W --keep-going -n' html\n\n      - name: Check links\n        run: |\n          cd docs/\n          make SPHINXOPTS=-v linkcheck\n\n", "state": "active", "repository": "pynucastro/pynucastro"}
{"mined_at": "2024-07-15T16:47:48.426729", "created_at": "2022-03-18T14:25:52+01:00", "updated_at": "2022-04-04T20:37:55+02:00", "name": "flake8", "path": ".github/workflows/flake8.yml", "contents": "name: flake8\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  flake8:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: \"pip\"\n\n      - name: Install pylint\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install flake8\n\n      - name: Validate\n        run: flake8 pynucastro\n\n\n", "state": "active", "repository": "pynucastro/pynucastro"}
{"mined_at": "2024-07-15T16:47:49.610672", "created_at": "2021-01-27T18:31:50+01:00", "updated_at": "2021-01-27T18:31:50+01:00", "name": "github pages", "path": ".github/workflows/gh-pages.yml", "contents": "name: github pages\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install pandoc and doxygen\n        run: |\n          sudo apt install pandoc doxygen\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: \"pip\"\n\n      - name: Install dependencies\n        run: pip install -r ./requirements.txt\n\n      - name: Install pynucastro\n        run: pip install .\n\n      - name: Build docs\n        run: ./deploy_docs_action.sh\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./out\n          keep_files: true\n", "state": "active", "repository": "pynucastro/pynucastro"}
{"mined_at": "2024-07-15T16:47:50.881179", "created_at": "2022-10-06T20:24:18+02:00", "updated_at": "2022-10-10T22:15:52+02:00", "name": "isort", "path": ".github/workflows/isort.yml", "contents": "name: isort\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  isort:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: \"pip\"\n\n      - name: Install dependencies + isort\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install isort\n\n      - name: Install pynucastro\n        run: pip install .\n\n      - name: Validate\n        run: isort --check --diff pynucastro\n", "state": "active", "repository": "pynucastro/pynucastro"}
{"mined_at": "2024-07-15T16:47:51.997931", "created_at": "2022-03-18T14:16:42+01:00", "updated_at": "2022-03-18T16:41:41+01:00", "name": "pylint", "path": ".github/workflows/pylint.yml", "contents": "name: pylint\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  pylint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: \"pip\"\n\n      - name: Install dependencies + pylint\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install 'pylint>=3.2.0'\n\n      - name: Install pynucastro\n        run: pip install .\n\n      - name: Validate\n        run: pylint --output-format=github pynucastro pynucastro/**/tests\n", "state": "active", "repository": "pynucastro/pynucastro"}
{"mined_at": "2024-07-15T16:47:53.356541", "created_at": "2021-01-27T20:09:04+01:00", "updated_at": "2021-01-27T20:13:59+01:00", "name": "pytest-all", "path": ".github/workflows/pytest-all.yml", "contents": "name: pytest-all\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n      - development\n  workflow_dispatch:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n\n      - name: Install pynucastro\n        run: pip install --editable .\n\n      - name: Print system info\n        run: |\n          echo '::group::NumPy'\n          pip install threadpoolctl &>/dev/null\n          python -c \"import sys, numpy; print(numpy.__version__); print(sys.version); print(numpy.show_runtime())\"\n          echo '::endgroup::'\n          echo '::group::CPU info'\n          lscpu\n          echo '::endgroup::'\n          echo '::group::Package versions'\n          pip list --format=freeze\n          echo '::endgroup::'\n\n      - name: Run tests with pytest\n        run: pytest -v -s --nbval --cov=pynucastro --color=yes\n\n      - name: Upload output from failed write_network tests\n        uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: failed_networks_${{ matrix.python-version }}\n          path: _test_*/\n          if-no-files-found: ignore\n          retention-days: 5\n", "state": "active", "repository": "pynucastro/pynucastro"}
{"mined_at": "2024-07-15T16:47:54.570820", "created_at": "2023-08-08T17:55:26+02:00", "updated_at": "2023-08-08T18:08:01+02:00", "name": "Simple C++ network", "path": ".github/workflows/simple-cxx-network.yml", "contents": "name: Simple C++ network\n\non: [pull_request, workflow_dispatch]\njobs:\n  compilation:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: \"pip\"\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update -y -qq\n          sudo apt-get -qq -y install curl cmake jq clang g++>=9.3.0\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n\n      - name: Install pynucastro\n        run: pip install .\n\n      - name: Build the network\n        run: |\n          mkdir work\n          cd work\n          cp ../.github/workflows/simple_cxx_network/* .\n          python test_simple_cxx.py\n          make\n\n      - name: Run and compare\n        run: |\n          cd work\n          ./main > test.out\n          diff test.out simple_cxx_net.out\n", "state": "active", "repository": "pynucastro/pynucastro"}
{"mined_at": "2024-07-15T16:47:55.642219", "created_at": "2022-01-21T21:56:11+01:00", "updated_at": "2022-01-21T21:56:11+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pynucastro/pynucastro"}
{"mined_at": "2024-07-15T16:47:58.243552", "created_at": "2023-06-12T16:42:46+02:00", "updated_at": "2023-08-09T16:28:08+02:00", "name": "Build and test cunumeric (with CPU legate) on GH", "path": ".github/workflows/ci-gh-cpu-build-and-test.yml", "contents": null, "state": "active", "repository": "nv-legate/cunumeric"}
{"mined_at": "2024-07-15T16:47:59.281002", "created_at": "2023-06-12T16:42:46+02:00", "updated_at": "2023-08-09T20:06:28+02:00", "name": "Build and test cunumeric (with GPU legate) on GH", "path": ".github/workflows/ci-gh-gpu-build-and-test.yml", "contents": null, "state": "active", "repository": "nv-legate/cunumeric"}
{"mined_at": "2024-07-15T16:48:00.386452", "created_at": "2023-04-20T18:25:39+02:00", "updated_at": "2023-08-25T18:54:34+02:00", "name": "Build and test cunumeric on GH", "path": ".github/workflows/ci-gh.yml", "contents": "name: Build and test cunumeric on GH\n\nconcurrency:\n  group: ci-build-and-test-on-${{ github.event_name }}-from-${{ github.ref_name }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - \"pull-request/[0-9]+\"\n      - \"branch-*\"\n\njobs:\n  build-and-test:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - device: \"gpu\"\n            image: \"rapidsai/devcontainers:23.06-cpp-mambaforge-ubuntu22.04\"\n\n          - device: \"cpu\"\n            image: \"rapidsai/devcontainers:23.06-cpp-mambaforge-ubuntu22.04\"\n    uses:\n      ./.github/workflows/gh-build-and-test.yml\n    with:\n      device: ${{ matrix.device }}\n      image: ${{ matrix.image }}\n", "state": "active", "repository": "nv-legate/cunumeric"}
{"mined_at": "2024-07-15T16:48:01.436611", "created_at": "2023-06-28T22:49:06+02:00", "updated_at": "2023-08-17T23:23:59+02:00", "name": "Build UCX cunumeric", "path": ".github/workflows/ci-ucx.yml", "contents": null, "state": "active", "repository": "nv-legate/cunumeric"}
{"mined_at": "2024-07-15T16:48:02.440131", "created_at": "2021-06-11T07:11:18+02:00", "updated_at": "2023-09-29T08:28:11+02:00", "name": "Build cunumeric", "path": ".github/workflows/ci.yml", "contents": null, "state": "active", "repository": "nv-legate/cunumeric"}
{"mined_at": "2024-07-15T16:48:03.476670", "created_at": "2023-08-09T22:10:57+02:00", "updated_at": "2023-08-11T06:03:07+02:00", "name": ".github/workflows/gh-build-and-test.yml", "path": ".github/workflows/gh-build-and-test.yml", "contents": "on:\n  workflow_call:\n    inputs:\n      image:\n        type: string\n        required: true\n      device:\n        type: string\n        required: true\n\n\njobs:\n  build:\n    name: \"Build cunumeric (with ${{ inputs.device }} legate) on GH\"\n    uses:\n      ./.github/workflows/gh-build.yml\n    with:\n      device: ${{ inputs.device }}\n      image: ${{ inputs.image }}\n      runs-on: ${{ github.repository_owner == 'nv-legate' && 'linux-amd64-cpu32' || 'ubuntu-latest' }}\n\n  test:\n    needs:\n      - build\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: 1 CPU test\n            options: test --cpus 1 --unit --debug\n            runner: ${{ inputs.device == 'gpu' && 'linux-amd64-gpu-v100-latest-1' || 'linux-amd64-cpu4' }}\n            has-gpu: false\n            enabled: true\n\n          - name: 2 CPUs test\n            options: test --cpus 2 --debug\n            runner: ${{ inputs.device == 'gpu' && 'linux-amd64-gpu-v100-latest-1' || 'linux-amd64-cpu8' }}\n            has-gpu: false\n            enabled: true\n\n          - name: GPU test\n            options: test --use cuda --gpus 1 --debug\n            runner: linux-amd64-gpu-v100-latest-1\n            has-gpu: true\n            enabled: ${{ inputs.device == 'gpu' }}\n\n          - name: 2 GPUs test\n            options: test --use cuda --gpus 2 --debug\n            runner: linux-amd64-2gpu\n            has-gpu: true\n            enabled: ${{ inputs.device == 'gpu' }}\n\n          - name: OpenMP test\n            options: test --use openmp --omps 1 --ompthreads 2 --debug\n            runner: ${{ inputs.device == 'gpu' && 'linux-amd64-gpu-v100-latest-1' || 'linux-amd64-cpu32' }}\n            has-gpu: ${{ inputs.device == 'gpu' }}\n            enabled: true\n\n          - name: 2 NUMA OpenMPs test\n            options: test --use openmp --omps 2 --ompthreads 2 --numamem 2048 --debug\n            runner: ${{ inputs.device == 'gpu' && 'linux-amd64-gpu-v100-latest-1' || 'linux-amd64-cpu32' }}\n            has-gpu: ${{ inputs.device == 'gpu' }}\n            enabled: true\n\n          - name: Eager execution test\n            options: test --use eager --debug\n            runner: ${{ inputs.device == 'gpu' && 'linux-amd64-gpu-v100-latest-1' || 'linux-amd64-cpu4' }}\n            has-gpu: ${{ inputs.device == 'gpu' }}\n            enabled: true\n\n          - name: mypy\n            options: mypy\n            runner: linux-amd64-cpu4\n            has-gpu: false\n            enabled: true\n\n          - name: documentation\n            options: docs\n            runner: linux-amd64-cpu4\n            has-gpu: false\n            enabled: ${{ inputs.device == 'gpu' }}\n\n    uses:\n      ./.github/workflows/gh-test.yml\n    with:\n      name: ${{ matrix.name }}\n      device: ${{ inputs.device }}\n      image: ${{ inputs.image }}\n      runs-on: ${{ matrix.runner }}\n      has-gpu: ${{ matrix.has-gpu }}\n      test-options: ${{ matrix.options }}\n      enabled: ${{ matrix.enabled }}\n", "state": "active", "repository": "nv-legate/cunumeric"}
{"mined_at": "2024-07-15T16:48:04.512743", "created_at": "2023-08-11T06:03:07+02:00", "updated_at": "2023-09-26T14:54:13+02:00", "name": "Build", "path": ".github/workflows/gh-build.yml", "contents": "name: Build\n\non:\n  workflow_call:\n    inputs:\n      image:\n        type: string\n        required: true\n      device:\n        required: true\n        type: string\n      runs-on:\n        required: true\n        type: string\n\njobs:\n  build:\n    name: build-${{ inputs.device }}-sub-workflow\n\n    permissions:\n      id-token: write # This is required for configure-aws-credentials\n      contents: read  # This is required for actions/checkout\n      \n    runs-on: ${{ inputs.runs-on }}\n\n    container:\n      options: -u root\n      image: \"${{ inputs.image }}\"\n      env:\n        CUDA_VERSION: \"12.2\"\n        CUDA_VERSION_MAJOR: \"12\"\n        CUDA_VERSION_MINOR: \"2\"\n        SCCACHE_REGION: \"us-east-2\"\n        SCCACHE_BUCKET: \"rapids-sccache-devs\"\n        SCCACHE_S3_KEY_PREFIX: \"legate-cunumeric-dev\"\n        USE_CUDA: \"${{ inputs.device == 'gpu' && 'ON' || 'OFF' }}\"\n        GH_TOKEN: \"${{ env.GH_TOKEN }}\"\n        GITHUB_TOKEN: \"${{ env.GITHUB_TOKEN }}\"\n        VAULT_HOST: \"${{ github.repository_owner != 'nv-legate' && 'https://vault.ops.k8s.rapids.ai' || '' }}\"\n    defaults:\n      run:\n        shell: su coder {0}\n        working-directory: /home/coder\n\n    steps:\n      - name: Checkout cunumeric (= this repo)\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          path: cunumeric\n          persist-credentials: false\n\n      - name: Dump environment\n        run: |\n          env\n\n      - name: Copy source folder\n        run: |\n          set -x\n          pwd\n          cp -r $GITHUB_WORKSPACE/cunumeric .\n          chown -R coder:coder cunumeric;\n          ls -R\n\n      - name: Copy .gitconfig\n        run: cp ~/cunumeric/continuous_integration/dot-gitconfig ~/.gitconfig\n\n      - id: legate_core_info\n        name: Read legate.core SHA\n        shell: bash --noprofile --norc -xeo pipefail {0}\n        run: |\n          git_tag=\"$(jq -r '.packages.legate_core.git_tag' cunumeric/cmake/versions.json)\";\n\n          echo \"git_tag=$git_tag\" | tee -a \"${GITHUB_OUTPUT}\";\n\n      - name: Download dependencies (artifacts)\n        uses: ./cunumeric/.github/actions/download-artifacts\n        with:\n          device: \"${{ inputs.device }}\"\n          git_sha: \"${{ steps.legate_core_info.outputs.git_tag }}\"\n\n      - if: github.repository_owner == 'nv-legate'\n        name: Get AWS credentials for sccache bucket\n        uses: aws-actions/configure-aws-credentials@v2\n        with:\n          aws-region: us-east-2\n          role-duration-seconds: 28800 # 8 hours\n          role-to-assume: arn:aws:iam::279114543810:role/gha-oidc-nv-legate\n\n      - name: Build cunumeric\n        run: |\n          export PATH=\"/home/coder/cunumeric/continuous_integration/scripts:$PATH\"\n          build-cunumeric-all\n\n      - name: Upload build artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: \"cunumeric-${{ inputs.device }}-${{ github.sha }}\"\n          path: |\n            /tmp/out\n            /tmp/conda-build\n", "state": "active", "repository": "nv-legate/cunumeric"}
{"mined_at": "2024-07-15T16:48:05.658924", "created_at": "2023-08-09T22:10:57+02:00", "updated_at": "2023-09-26T14:54:13+02:00", "name": "Test cunumeric on GH", "path": ".github/workflows/gh-test.yml", "contents": "name: Test cunumeric on GH\n\non:\n  workflow_call:\n    inputs:\n      name:\n        required: true\n        type: string\n      image:\n        type: string\n        required: true\n      device:\n        required: true\n        type: string\n      runs-on:\n        required: true\n        type: string\n      has-gpu:\n        required: true\n        type: boolean\n        description: \"The runner has GPU(s).\"\n      test-options:\n        required: true\n        type: string\n      enabled:\n        required: true\n        type: boolean\n\nenv:\n  build_artifact_name: \"cunumeric-${{ inputs.device }}-${{ github.sha }}\"\n\njobs:\n  test:\n    name: ${{ inputs.name }}\n    if: inputs.enabled && github.repository_owner == 'nv-legate'\n    runs-on: ${{ inputs.runs-on }}\n\n    container:\n      options: -u root\n      image: \"${{ inputs.image }}\"\n      env:\n        # CUDA_VERSION: \"${{ inputs.CUDA }}\"\n        NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}\n\n    defaults:\n      run:\n        shell: su coder {0}\n        working-directory: /home/coder\n\n    steps:\n      - if: inputs.has-gpu\n        name: Run nvidia-smi to make sure GPU is working\n        run: nvidia-smi\n\n      - name: Install numactl\n        run: |\n          export DEBIAN_FRONTEND=noninteractive && \\\n            sudo apt-get update && \\\n            sudo apt-get install -y numactl\n\n      - name: Checkout cunumeric\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          path: cunumeric\n          persist-credentials: false\n\n      - name: Copy source folder\n        run: |\n          set -x\n          pwd\n          cp -r $GITHUB_WORKSPACE/cunumeric .\n          chown -R coder:coder cunumeric;\n          ls -R\n\n      - name: Download build artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: ${{ env.build_artifact_name }}\n          path: /home/coder/.artifacts\n\n      - name: Run cunumeric test / analysis\n        shell: su coder {0}\n        run: |\n          set -x\n          sudo chown -R coder:coder /home/coder/.artifacts\n\n          export PATH=\"/home/coder/cunumeric/continuous_integration/scripts:$PATH\"\n\n          set -eo pipefail\n          test-cunumeric ${{ inputs.test-options }}\n", "state": "active", "repository": "nv-legate/cunumeric"}
{"mined_at": "2024-07-15T16:48:06.753238", "created_at": "2022-08-31T20:57:12+02:00", "updated_at": "2022-08-31T20:58:30+02:00", "name": "Pull Request Labels", "path": ".github/workflows/require-labels.yml", "contents": "name: Pull Request Labels\non:\n  pull_request:\n    types: [opened, labeled, unlabeled, synchronize]\njobs:\n  label:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check Labels\n        uses: mheap/github-action-required-labels@v3\n        with:\n          mode: exactly\n          count: 1\n          labels: \"category:new-feature, category:improvement, category:bug-fix, category:task, category:documentation\"\n          ", "state": "active", "repository": "nv-legate/cunumeric"}
{"mined_at": "2024-07-15T16:48:07.763943", "created_at": "2022-02-03T08:00:56+01:00", "updated_at": "2022-02-03T08:00:56+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nv-legate/cunumeric"}
{"mined_at": "2024-07-15T16:48:09.915090", "created_at": "2022-02-15T09:43:08+01:00", "updated_at": "2022-02-15T15:18:44+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "redis/redis-py"}
{"mined_at": "2024-07-15T16:48:11.156454", "created_at": "2023-08-02T09:39:50+02:00", "updated_at": "2023-08-02T13:02:26+02:00", "name": "Docs CI", "path": ".github/workflows/docs.yaml", "contents": "name: Docs CI\n\non:\n  push:\n    branches:\n      - master\n      - '[0-9].[0-9]'\n  pull_request:\n    branches:\n      - master\n      - '[0-9].[0-9]'\n  schedule:\n    - cron: '0 1 * * *' # nightly build\n\nconcurrency:\n  group: ${{ github.event.pull_request.number || github.ref }}-docs\n  cancel-in-progress: true\n\npermissions:\n  contents: read  #  to fetch code (actions/checkout)\n\njobs:\n\n   build-docs:\n     name: Build docs\n     runs-on: ubuntu-latest\n     steps:\n       - uses: actions/checkout@v4\n       - uses: actions/setup-python@v5\n         with:\n           python-version: 3.9\n           cache: 'pip'\n       - name: install deps\n         run: |\n           sudo apt-get update -yqq\n           sudo apt-get install -yqq pandoc make\n       - name: run code linters\n         run: |\n           pip install -r requirements.txt -r dev_requirements.txt -r docs/requirements.txt\n           invoke build-docs\n\n       - name: upload docs\n         uses: actions/upload-artifact@v4\n         with:\n           name: redis-py-docs\n           path: |\n             docs/_build/html\n", "state": "active", "repository": "redis/redis-py"}
{"mined_at": "2024-07-15T16:48:12.266639", "created_at": "2023-04-20T13:01:21+02:00", "updated_at": "2023-04-20T13:09:05+02:00", "name": "Documentation Tests", "path": ".github/workflows/doctests.yml", "contents": null, "state": "active", "repository": "redis/redis-py"}
{"mined_at": "2024-07-15T16:48:13.514100", "created_at": "2020-11-09T17:21:57+01:00", "updated_at": "2024-01-18T10:43:36+01:00", "name": "CI", "path": ".github/workflows/integration.yaml", "contents": "name: CI\n\non:\n  push:\n    paths-ignore:\n      - 'docs/**'\n      - '**/*.rst'\n      - '**/*.md'\n    branches:\n      - master\n      - '[0-9].[0-9]'\n  pull_request:\n    branches:\n      - master\n      - '[0-9].[0-9]'\n  schedule:\n    - cron: '0 1 * * *' # nightly build\n\nconcurrency:\n  group: ${{ github.event.pull_request.number || github.ref }}-integration\n  cancel-in-progress: true\n\npermissions:\n  contents: read  #  to fetch code (actions/checkout)\n\nenv:\n  CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n  REDIS_IMAGE: redis/redis-stack-server:7.4.0-rc1\n  REDIS_STACK_IMAGE: redis/redis-stack-server:7.4.0-rc1\n\njobs:\n  dependency-audit:\n    name: Dependency audit\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: pypa/gh-action-pip-audit@v1.0.8\n        with:\n          inputs: requirements.txt dev_requirements.txt\n          ignore-vulns: |\n            GHSA-w596-4wvx-j9j6  # subversion related git pull, dependency for pytest. There is no impact here.\n\n  lint:\n    name: Code linters\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n          cache: 'pip'\n      - name: run code linters\n        run: |\n          pip install -r dev_requirements.txt\n          invoke linters\n\n  run-tests:\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    strategy:\n      max-parallel: 15\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.8', 'pypy-3.9']\n        test-type: ['standalone', 'cluster']\n        connection-type: ['hiredis', 'plain']\n    env:\n      ACTIONS_ALLOW_UNSECURE_COMMANDS: true\n    name: Python ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.connection-type}} tests\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: run tests\n        run: |\n          pip install -U setuptools wheel\n          pip install -r requirements.txt\n          pip install -r dev_requirements.txt\n          if [ \"${{matrix.connection-type}}\" == \"hiredis\" ]; then\n           pip install hiredis\n          fi\n          invoke devenv\n          sleep 10 # time to settle\n          invoke ${{matrix.test-type}}-tests\n\n      - uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: pytest-results-${{matrix.test-type}}-${{matrix.connection-type}}-${{matrix.python-version}}\n          path: '${{matrix.test-type}}*results.xml'\n\n      - name: Upload codecov coverage\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: false\n\n      - name: View Test Results\n        uses: dorny/test-reporter@v1\n        if: success() || failure()\n        continue-on-error: true\n        with:\n          name: Test Results ${{matrix.python-version}} ${{matrix.test-type}}-${{matrix.connection-type}}\n          path: '*.xml'\n          reporter: java-junit\n          list-suites: all\n          list-tests: all\n          max-annotations: 10\n          fail-on-error: 'false'\n\n  resp3_tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.11']\n        test-type: ['standalone', 'cluster']\n        connection-type: ['hiredis', 'plain']\n        exclude:\n          - test-type: 'cluster'\n            connection-type: 'hiredis'\n    env:\n      ACTIONS_ALLOW_UNSECURE_COMMANDS: true\n    name: RESP3 [${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.connection-type}}]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: run tests\n        run: |\n          pip install -U setuptools wheel\n          pip install -r requirements.txt\n          pip install -r dev_requirements.txt\n          if [ \"${{matrix.connection-type}}\" == \"hiredis\" ]; then\n            pip install hiredis\n          fi\n          invoke devenv\n          sleep 10 # time to settle\n          invoke ${{matrix.test-type}}-tests --protocol=3\n          invoke ${{matrix.test-type}}-tests --uvloop --protocol=3\n\n      - uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: pytest-results-${{matrix.test-type}}-${{matrix.connection-type}}-${{matrix.python-version}}-resp3\n          path: '${{matrix.test-type}}*results.xml'\n\n      - name: Upload codecov coverage\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: false\n\n      - name: View Test Results\n        uses: dorny/test-reporter@v1\n        if: success() || failure()\n        continue-on-error: true\n        with:\n          name: Test Results ${{matrix.python-version}} ${{matrix.test-type}}-${{matrix.connection-type}}-resp3\n          path: '*.xml'\n          reporter: java-junit\n          list-suites: all\n          list-tests: all\n          max-annotations: 10\n          fail-on-error: 'false'\n\n  build_and_test_package:\n    name: Validate building and installing the package\n    runs-on: ubuntu-latest\n    needs: [run-tests]\n    strategy:\n      fail-fast: false\n      matrix:\n        extension: ['tar.gz', 'whl']\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Run installed unit tests\n        run: |\n          bash .github/workflows/install_and_test.sh ${{ matrix.extension }}\n\n  install_package_from_commit:\n    name: Install package from commit hash\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.8', 'pypy-3.9']\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: install from pip\n        run: |\n          pip install --quiet git+${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git@${GITHUB_SHA}\n", "state": "active", "repository": "redis/redis-py"}
{"mined_at": "2024-07-15T16:48:14.546291", "created_at": "2021-11-04T12:55:36+01:00", "updated_at": "2021-11-04T12:55:36+01:00", "name": "Publish tag to Pypi", "path": ".github/workflows/pypi-publish.yaml", "contents": "name: Publish tag to Pypi\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read  #  to fetch code (actions/checkout)\n\njobs:\n\n  build_and_package:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: install python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dev tools\n        run: |\n          pip install -r dev_requirements.txt\n          pip install twine wheel\n\n      - name: Build package\n        run: |\n          python setup.py build\n          python setup.py sdist bdist_wheel\n\n      - name: Basic package test prior to upload\n        run: |\n          twine check dist/*\n\n      - name: Publish to Pypi\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "redis/redis-py"}
{"mined_at": "2024-07-15T16:48:15.651329", "created_at": "2023-05-01T13:18:48+02:00", "updated_at": "2023-05-01T13:23:48+02:00", "name": "Redis Daily Version Check", "path": ".github/workflows/redis_version_check.yaml", "contents": null, "state": "active", "repository": "redis/redis-py"}
{"mined_at": "2024-07-15T16:48:16.802159", "created_at": "2021-10-17T12:10:38+02:00", "updated_at": "2021-10-17T12:10:38+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - master\n\npermissions: {}\njobs:\n  update_release_draft:\n    permissions:\n      pull-requests: write  #  to add label to PR (release-drafter/release-drafter)\n      contents: write  #  to create a github release (release-drafter/release-drafter)\n\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next Release notes as Pull Requests are merged into \"master\"\n      - uses: release-drafter/release-drafter@v6\n        with:\n          # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml\n           config-name: release-drafter-config.yml\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "redis/redis-py"}
{"mined_at": "2024-07-15T16:48:17.966740", "created_at": "2023-08-03T14:19:26+02:00", "updated_at": "2023-08-08T12:48:23+02:00", "name": "spellcheck", "path": ".github/workflows/spellcheck.yml", "contents": "name: spellcheck\non:\n  pull_request:\njobs:\n  check-spelling:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Check Spelling\n        uses: rojopolis/spellcheck-github-actions@0.37.0\n        with:\n          config_path: .github/spellcheck-settings.yml\n          task_name: Markdown\n", "state": "active", "repository": "redis/redis-py"}
{"mined_at": "2024-07-15T16:48:19.313463", "created_at": "2020-06-29T09:37:25+02:00", "updated_at": "2020-06-29T09:37:25+02:00", "name": "Close stale issues", "path": ".github/workflows/stale-issues.yml", "contents": "name: \"Close stale issues\"\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\npermissions: {}\njobs:\n  stale:\n    permissions:\n      issues: write  #  to close stale issues (actions/stale)\n      pull-requests: write  #  to close stale PRs (actions/stale)\n\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue is marked stale. It will be closed in 30 days if it is not updated.'\n        stale-pr-message: 'This pull request is marked stale. It will be closed in 30 days if it is not updated.'\n        days-before-stale: 365\n        days-before-close: 30\n        stale-issue-label: \"Stale\"\n        stale-pr-label: \"Stale\"\n        operations-per-run: 10\n        remove-stale-when-updated: true\n", "state": "active", "repository": "redis/redis-py"}
{"mined_at": "2024-07-15T16:48:20.815523", "created_at": "2024-01-17T14:02:34+01:00", "updated_at": "2024-01-17T14:02:34+01:00", "name": "RE Tests", "path": ".github/workflows/test-redis-enterprise.yml", "contents": null, "state": "active", "repository": "redis/redis-py"}
{"mined_at": "2024-07-15T16:48:21.934015", "created_at": "2023-05-15T13:31:20+02:00", "updated_at": "2023-05-16T07:55:12+02:00", "name": "Redis Coverage Matrix", "path": ".github/workflows/version_coverage.yml", "contents": null, "state": "active", "repository": "redis/redis-py"}
{"mined_at": "2024-07-15T16:48:23.991804", "created_at": "2022-01-19T13:15:15+01:00", "updated_at": "2022-01-19T13:15:15+01:00", "name": "Close inactive issues", "path": ".github/workflows/close_inactive.yml", "contents": "name: Close inactive issues\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  close-issues:\n    if: github.event.pull_request.draft == false && github.base_ref == 'main' && github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v3\n        with:\n          days-before-issue-stale: 14\n          days-before-issue-close: -1\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue is stale because it has been open for 14 days with no activity.\"\n#           close-issue-message: \"This issue was closed because it has been inactive for 14 days since being marked as stale.\"\n          days-before-pr-stale: 14\n          days-before-pr-close: -1\n          stale-pr-message: \"This PR is stale because it has been open for 14 days with no activity.\"\n#           close-pr-message: \"This PR was closed because it has been inactive for 14 days since being marked as stale.\"\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:25.058790", "created_at": "2022-02-03T04:23:46+01:00", "updated_at": "2022-02-03T04:23:46+01:00", "name": "Synchronize Submodule", "path": ".github/workflows/submodule.yml", "contents": "name: Synchronize Submodule\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  sync-submodule:\n    runs-on: ubuntu-latest\n    if: github.repository == 'hpcaitech/ColossalAI'\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          ref: 'main'\n          submodules: true\n\n      - name: echo\n        run: |\n          echo ${{github}}\n\n      - name: Git Sumbodule Update\n        run: |\n          git pull --recurse-submodules\n          git submodule update --remote --recursive\n\n      - name: Commit update\n        run: |\n          git config --global user.name 'github-actions'\n          git config --global user.email 'github-actions@github.com'\n          git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\n          git commit -am \"Automated submodule synchronization\"\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          title: '[Bot] Synchronize Submodule References'\n          body: |\n            Automated PR to update submodule commits\n          committer: GitHub <noreply@github.com>\n          author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n          assignees: ${{ github.actor }}\n          delete-branch: true\n          branch: create-pull-request/patch-sync-submodule\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:26.070583", "created_at": "2023-01-10T05:06:03+01:00", "updated_at": "2023-01-10T05:06:03+01:00", "name": "issue-translator", "path": ".github/workflows/translate_comment.yml", "contents": "name: 'issue-translator'\non:\n  issue_comment:\n    types: [created]\n  issues:\n    types: [opened]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: usthe/issues-translate-action@v2.7\n        with:\n          IS_MODIFY_TITLE: false\n          # not require, default false, . Decide whether to modify the issue title\n          # if true, the robot account @Issues-translate-bot must have modification permissions, invite @Issues-translate-bot to your project or use your custom bot.\n          CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿\n          # not require. Customize the translation robot prefix message.\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:27.123194", "created_at": "2023-01-10T15:30:20+01:00", "updated_at": "2023-01-10T15:30:20+01:00", "name": "Report Test Coverage", "path": ".github/workflows/report_test_coverage.yml", "contents": "name: Report Test Coverage\n\non:\n  workflow_run:\n    workflows: [Build on PR]\n    types:\n      - completed\n\njobs:\n  report-test-coverage:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    steps:\n      - name: \"Download artifact\"\n        uses: actions/github-script@v6\n        with:\n          script: |\n            let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               run_id: context.payload.workflow_run.id,\n            });\n            let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => {\n              return artifact.name == \"report\"\n            })[0];\n            let download = await github.rest.actions.downloadArtifact({\n               owner: context.repo.owner,\n               repo: context.repo.repo,\n               artifact_id: matchArtifact.id,\n               archive_format: 'zip',\n            });\n            let fs = require('fs');\n            fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/report.zip`, Buffer.from(download.data));\n\n      - name: \"Unzip artifact\"\n        id: unzip\n        run: |\n          unzip report.zip\n          if [ -f \"coverage.txt\" ]; then\n            echo \"hasReport=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"hasReport=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Make Coverage Report Collapsable\n        if: steps.unzip.outputs.hasReport == 'true'\n        run: |\n          covNum=$(cat cov_number)\n          title=\"The code coverage for the changed files is ${covNum}%.\"\n          touch coverage_report.txt\n          echo $title >> coverage_report.txt\n          echo \" \" >> coverage_report.txt\n          echo \"<details>\" >> coverage_report.txt\n          echo \"<summary>Click me to view the complete report</summary>\" >> coverage_report.txt\n          echo \" \" >> coverage_report.txt\n          echo \"\\`\\`\\`\" >> coverage_report.txt\n          cat coverage.txt >> coverage_report.txt\n          echo \"\\`\\`\\`\" >> coverage_report.txt\n          echo \"</details>\" >> coverage_report.txt\n          mv coverage_report.txt coverage.txt\n\n      - name: \"Comment on PR\"\n        if: steps.unzip.outputs.hasReport == 'true'\n        uses: actions/github-script@v6\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            let fs = require('fs');\n            let issue_number = Number(fs.readFileSync('./pr_number'));\n            let owner = context.repo.owner;\n            let repo = context.repo.repo;\n            let run_id = context.payload.workflow_run.id;\n            let run_url = `https://github.com/${owner}/${repo}/actions/runs/${run_id}`\n            let body = fs.readFileSync('./coverage.txt', {encoding:'utf8', flag:'r'})\n\n            await github.rest.issues.createComment({\n              owner: owner,\n              repo: repo,\n              issue_number: issue_number,\n              body: body\n            });\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:28.194942", "created_at": "2023-02-03T04:12:03+01:00", "updated_at": "2024-01-22T10:20:51+01:00", "name": "Build on PR", "path": ".github/workflows/build_on_pr.yml", "contents": "name: Build on PR\n\non:\n  pull_request:\n    types: [synchronize, opened, reopened, ready_for_review, closed]\n    branches:\n      - \"main\"\n      - \"develop\"\n      - \"feature/**\"\n    paths:\n      - \".github/workflows/build_on_pr.yml\" # run command & env variables change\n      - \"colossalai/**\" # source code change\n      - \"!colossalai/**.md\" # ignore doc change\n      - \"op_builder/**\" # cuda extension change\n      - \"!op_builder/**.md\" # ignore doc change\n      - \"requirements/**\" # requirements change\n      - \"tests/**\" # test change\n      - \"!tests/**.md\" # ignore doc change\n      - \"pytest.ini\" # test config change\n      - \"setup.py\" # install command change\n  create:\n  delete:\n\njobs:\n  detect:\n    name: Detect file change\n    if: |\n      github.event_name == 'pull_request' &&\n      (github.event.action == 'synchronize' || github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'ready_for_review') &&\n      github.event.pull_request.draft == false &&\n      github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'\n    outputs:\n      changedExtenisonFiles: ${{ steps.find-extension-change.outputs.all_changed_files }}\n      anyExtensionFileChanged: ${{ steps.find-extension-change.outputs.any_changed }}\n      changedLibraryFiles: ${{ steps.find-lib-change.outputs.all_changed_files }}\n      anyLibraryFileChanged: ${{ steps.find-lib-change.outputs.any_changed }}\n    runs-on: ubuntu-latest\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-detect-change\n      cancel-in-progress: true\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Locate base commit\n        id: locate-base-sha\n        run: |\n          curBranch=$(git rev-parse --abbrev-ref HEAD)\n          commonCommit=$(git merge-base origin/main $curBranch)\n          echo $commonCommit\n          echo \"baseSHA=$commonCommit\" >> $GITHUB_OUTPUT\n\n      - name: Find the changed extension-related files\n        id: find-extension-change\n        uses: tj-actions/changed-files@v35\n        with:\n          base_sha: ${{ steps.locate-base-sha.outputs.baseSHA }}\n          files: |\n            op_builder/**\n            colossalai/kernel/**\n            setup.py\n\n      - name: Find the changed library-related files\n        id: find-lib-change\n        uses: tj-actions/changed-files@v35\n        with:\n          base_sha: ${{ steps.locate-base-sha.outputs.baseSHA }}\n          files: |\n            **/*.py\n            **/*.h\n            **/*.cpp\n            **/*.cu\n            **/*.txt\n\n      - name: List changed files\n        run: |\n          for file in ${{ steps.find-extension-change.outputs.all_changed_files }}; do\n            echo \"$file was changed\"\n          done\n          for file in ${{ steps.find-lib-change.outputs.all_changed_files }}; do\n            echo \"$file was changed\"\n          done\n\n  build:\n    name: Build and Test Colossal-AI\n    needs: detect\n    if: needs.detect.outputs.anyLibraryFileChanged == 'true'\n    runs-on: [self-hosted, gpu]\n    container:\n      image: hpcaitech/pytorch-cuda:2.1.0-12.1.0\n      options: --gpus all --rm -v /dev/shm -v /data/scratch/llama-tiny:/data/scratch/llama-tiny\n    timeout-minutes: 90\n    defaults:\n      run:\n        shell: bash\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-run-test\n      cancel-in-progress: true\n    steps:\n      - name: Checkout TensorNVMe\n        uses: actions/checkout@v2\n        with:\n          repository: hpcaitech/TensorNVMe\n          ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}\n          path: TensorNVMe\n\n      - name: Restore TensorNVMe Cache\n        run: |\n          if [ -d /github/home/tensornvme_cache ] && [ ! -z \"$(ls -A /github/home/tensornvme_cache/)\" ]; then\n            cp -p -r /github/home/tensornvme_cache/* /__w/ColossalAI/ColossalAI/TensorNVMe\n          fi\n\n      - name: Install TensorNVMe\n        run: |\n          cd TensorNVMe\n          conda install cmake\n          pip install -r requirements.txt\n          DISABLE_URING=1 pip install -v .\n\n      - name: Store TensorNVMe Cache\n        run: |\n          cd TensorNVMe\n          cp -p -r ./build /github/home/tensornvme_cache/\n          cp -p -r ./cmake-build /github/home/tensornvme_cache/\n\n      - name: Checkout Colossal-AI\n        uses: actions/checkout@v2\n        with:\n          ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}\n\n      - name: Restore Colossal-AI Cache\n        if: needs.detect.outputs.anyExtensionFileChanged != 'true'\n        run: |\n          # -p flag is required to preserve the file timestamp to avoid ninja rebuild\n          if [ -d /github/home/cuda_ext_cache ] && [ ! -z \"$(ls -A /github/home/cuda_ext_cache/)\" ]; then\n            cp -p -r /github/home/cuda_ext_cache/* /__w/ColossalAI/ColossalAI/\n          fi\n\n      - name: Install Colossal-AI\n        run: |\n          BUILD_EXT=1 pip install -v -e .\n          pip install -r requirements/requirements-test.txt\n\n      - name: Store Colossal-AI Cache\n        run: |\n          # -p flag is required to preserve the file timestamp to avoid ninja rebuild\n          cp -p -r /__w/ColossalAI/ColossalAI/build /github/home/cuda_ext_cache/\n\n      - name: Execute Unit Testing\n        run: |\n          CURL_CA_BUNDLE=\"\" PYTHONPATH=$PWD FAST_TEST=1 pytest \\\n          -m \"not largedist\" \\\n          --durations=0 \\\n          --ignore tests/test_analyzer \\\n          --ignore tests/test_auto_parallel \\\n          --ignore tests/test_fx \\\n          --ignore tests/test_autochunk \\\n          --ignore tests/test_gptq \\\n          --ignore tests/test_infer_ops \\\n          --ignore tests/test_legacy \\\n          --ignore tests/test_smoothquant \\\n          tests/\n        env:\n          LD_LIBRARY_PATH: /github/home/.tensornvme/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64\n          LLAMA_PATH: /data/scratch/llama-tiny\n\n      - name: Collate artifact\n        env:\n          PR_NUMBER: ${{ github.event.number }}\n          changedLibraryFiles: ${{ needs.detect.outputs.changedLibraryFiles }}\n          anyLibraryFileChanged: ${{ needs.detect.outputs.anyLibraryFileChanged }}\n          changedExtenisonFiles: ${{ needs.detect.outputs.changedExtenisonFiles }}\n        run: |\n          mkdir report\n          echo $PR_NUMBER > ./report/pr_number\n\n          # generate coverage.xml if any\n          if [ \"$anyLibraryFileChanged\" == \"true\" ] && [ -e .coverage ]; then\n            allFiles=\"\"\n            for file in $changedLibraryFiles; do\n              if [ \"$allFiles\" == \"\" ]; then\n                allFiles=$file\n              else\n                allFiles=$allFiles,$file\n              fi\n            done\n\n            coverage report --data-file .coverage --include $allFiles > ./coverage.txt\n\n            covPercentage=$(tail -n 1 coverage.txt  | grep -o '[1-9]*%$')\n            covNum=${covPercentage::-1}\n            mv coverage.txt ./report\n            echo $covNum > ./report/cov_number\n          else\n            echo \"No coverage report is generated\"\n          fi\n\n      - name: Upload test coverage artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: report\n          path: report/\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:29.243325", "created_at": "2023-02-03T10:12:38+01:00", "updated_at": "2023-02-03T10:25:59+01:00", "name": "Generate Community Report and Send to Lark", "path": ".github/workflows/report_leaderboard_to_lark.yml", "contents": "name: Generate Community Report and Send to Lark\n\non:\n  workflow_dispatch:\n  schedule:\n    # release on every Friday 09:00 UTC time, 17:00 Beijing/Singapore time\n    - cron:  '0 9 * * 5'\n\njobs:\n  generate-and-publish:\n    if: github.repository == 'hpcaitech/ColossalAI'\n    name: Generate leaderboard report and publish to Lark\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n    - uses: actions/checkout@v2\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.8.14'\n\n    - run: pip install requests matplotlib seaborn requests_toolbelt pytz\n\n    - run: python .github/workflows/scripts/generate_leaderboard_and_send_to_lark.py\n      env:\n        LARK_APP_ID: ${{ secrets.LARK_LEADERBOARD_APP_ID }}\n        LARK_APP_SECRET: ${{ secrets.LARK_LEADERBOARD_APP_SECRET }}\n        LARK_WEBHOOK_URL: ${{ secrets.LARK_NOTIFICATION_WEBHOOK_URL }}\n        GITHUB_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:30.288900", "created_at": "2023-02-06T06:46:55+01:00", "updated_at": "2023-02-06T06:46:55+01:00", "name": "Test Example on Dispatch", "path": ".github/workflows/example_check_on_dispatch.yml", "contents": "name: Test Example on Dispatch\non:\n  workflow_dispatch:\n    inputs:\n      example_directory:\n        type: string\n        description: example directory, separated by space. For example, language/gpt, images/vit. Simply input language or simply gpt does not work.\n        required: true\n\njobs:\n  matrix_preparation:\n    if: |\n        github.event.pull_request.draft == false &&\n        github.base_ref == 'main' &&\n        github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'\n    name: Check the examples user want\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n    - name: 📚 Checkout\n      uses: actions/checkout@v3\n    - name: Set up matrix\n      id: set-matrix\n      env:\n        check_dir: ${{ inputs.example_directory }}\n      run: |\n        res=`python .github/workflows/scripts/example_checks/check_dispatch_inputs.py --fileNameList $check_dir`\n        if [ res == \"failure\" ];then\n          exit -1\n        fi\n        dirs=\"[${check_dir}]\"\n        echo \"Testing examples in $dirs\"\n        echo \"matrix={\\\"directory\\\":$(echo \"$dirs\")}\" >> $GITHUB_OUTPUT\n\n  test_example:\n    if: |\n        github.event.pull_request.draft == false &&\n        github.base_ref == 'main' &&\n        github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'\n    name: Manually check example files\n    needs: manual_check_matrix_preparation\n    runs-on: [self-hosted, gpu]\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJson(needs.manual_check_matrix_preparation.outputs.matrix)}}\n    container:\n      image: hpcaitech/pytorch-cuda:2.1.0-12.1.0\n      options: --gpus all --rm -v /data/scratch/examples-data:/data/ -v /dev/shm\n    timeout-minutes: 15\n    steps:\n      - name: 📚 Checkout\n        uses: actions/checkout@v3\n      - name: Install Colossal-AI\n        run: |\n          BUILD_EXT=1 pip install -v .\n      - name: Test the example\n        run: |\n          dir=${{ matrix.directory }}\n          echo \"Testing ${dir} now\"\n          cd \"${PWD}/examples/${dir}\"\n          bash test_ci.sh\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:31.355776", "created_at": "2023-02-06T06:46:55+01:00", "updated_at": "2023-02-06T06:46:55+01:00", "name": "Test Example on PR", "path": ".github/workflows/example_check_on_pr.yml", "contents": "name: Test Example on PR\non:\n  pull_request:\n    branches:\n      - \"main\"\n      - \"develop\"\n      - \"feature/**\"\n    # any change in the examples folder will trigger check for the corresponding example.\n    paths:\n      - \"examples/**\"\n      - \"!examples/**.md\"\n\njobs:\n  # This is for changed example files detect and output a matrix containing all the corresponding directory name.\n  detect-changed-example:\n    if: |\n      github.event.pull_request.draft == false &&\n      github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && github.event_name == 'pull_request'\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.setup-matrix.outputs.matrix }}\n      anyChanged: ${{ steps.setup-matrix.outputs.anyChanged }}\n      anyExtensionFileChanged: ${{ steps.find-extension-change.outputs.any_changed }}\n    name: Detect changed example files\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-detect-change\n      cancel-in-progress: true\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Locate base commit\n        id: locate-base-sha\n        run: |\n          curBranch=$(git rev-parse --abbrev-ref HEAD)\n          commonCommit=$(git merge-base origin/main $curBranch)\n          echo $commonCommit\n          echo \"baseSHA=$commonCommit\" >> $GITHUB_OUTPUT\n\n      - name: Find the changed extension-related files\n        id: find-extension-change\n        uses: tj-actions/changed-files@v35\n        with:\n          base_sha: ${{ steps.locate-base-sha.outputs.baseSHA }}\n          files: |\n            op_builder/**\n            colossalai/kernel/**\n            setup.py\n\n      - name: Get all changed example files\n        id: changed-files\n        uses: tj-actions/changed-files@v35\n        with:\n          base_sha: ${{ steps.locate-base-sha.outputs.baseSHA }}\n\n      - name: setup matrix\n        id: setup-matrix\n        run: |\n          changedFileName=\"\"\n          for file in ${{ steps.changed-files.outputs.all_changed_files  }}; do\n            changedFileName=\"${file}:${changedFileName}\"\n          done\n          echo \"$changedFileName was changed\"\n          res=`python .github/workflows/scripts/example_checks/detect_changed_example.py --fileNameList $changedFileName`\n          echo \"All changed examples are $res\"\n\n          if [ \"$res\" == \"[]\" ]; then\n            echo \"anyChanged=false\" >> $GITHUB_OUTPUT\n            echo \"matrix=null\" >> $GITHUB_OUTPUT\n          else\n            dirs=$( IFS=',' ; echo \"${res[*]}\" )\n            echo \"anyChanged=true\" >> $GITHUB_OUTPUT\n            echo \"matrix={\\\"directory\\\":$(echo \"$dirs\")}\" >> $GITHUB_OUTPUT\n          fi\n\n  # If no file is changed, it will prompt an error and shows the matrix do not have value.\n  check-changed-example:\n    # Add this condition to avoid executing this job if the trigger event is workflow_dispatch.\n    if: |\n      github.event.pull_request.draft == false &&\n      github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && github.event_name == 'pull_request' &&\n      needs.detect-changed-example.outputs.anyChanged == 'true'\n    name: Test the changed example\n    needs: detect-changed-example\n    runs-on: [self-hosted, gpu]\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJson(needs.detect-changed-example.outputs.matrix)}}\n    container:\n      image: hpcaitech/pytorch-cuda:2.1.0-12.1.0\n      options: --gpus all --rm -v /data/scratch/examples-data:/data/ -v /dev/shm\n    timeout-minutes: 30\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-run-example-${{ matrix.directory }}\n      cancel-in-progress: true\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Restore Colossal-AI Cache\n        if: needs.detect.outputs.anyExtensionFileChanged != 'true'\n        run: |\n          if [ -d /github/home/cuda_ext_cache ] && [ ! -z \"$(ls -A /github/home/cuda_ext_cache/)\" ]; then\n            cp -p -r /github/home/cuda_ext_cache/* /__w/ColossalAI/ColossalAI/\n          fi\n\n      - name: Install Colossal-AI\n        run: |\n          BUILD_EXT=1 pip install -v .\n\n      - name: Store Colossal-AI Cache\n        run: |\n          cp -p -r /__w/ColossalAI/ColossalAI/build /github/home/cuda_ext_cache/\n\n      - name: Test the example\n        run: |\n          example_dir=${{ matrix.directory }}\n          cd \"${PWD}/examples/${example_dir}\"\n          bash test_ci.sh\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:32.388766", "created_at": "2023-02-06T06:46:55+01:00", "updated_at": "2023-02-06T06:46:55+01:00", "name": "Test Example on Schedule", "path": ".github/workflows/example_check_on_schedule.yml", "contents": "name: Test Example on Schedule\non:\n  # run at 00:00 of every Sunday(singapore time) so here is UTC time Saturday 16:00\n  schedule:\n    - cron:  '0 16 * * 6'\n  workflow_dispatch:\n\njobs:\n  # This is for all files' weekly check. Specifically, this job is to find all the directories.\n  matrix_preparation:\n    if: github.repository == 'hpcaitech/ColossalAI'\n    name: Prepare matrix for weekly check\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.setup-matrix.outputs.matrix }}\n    steps:\n    - name: 📚 Checkout\n      uses: actions/checkout@v3\n\n    - name: setup matrix\n      id: setup-matrix\n      run: |\n        res=`python .github/workflows/scripts/example_checks/check_example_weekly.py`\n        all_loc=$( IFS=',' ; echo \"${res[*]}\" )\n        echo \"Found the examples: $all_loc\"\n        echo \"matrix={\\\"directory\\\":$(echo \"$all_loc\")}\" >> $GITHUB_OUTPUT\n\n  weekly_check:\n    if: github.repository == 'hpcaitech/ColossalAI'\n    name: Weekly check all examples\n    needs: matrix_preparation\n    runs-on: [self-hosted, gpu]\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJson(needs.matrix_preparation.outputs.matrix)}}\n    container:\n      image: hpcaitech/pytorch-cuda:2.1.0-12.1.0\n      options: --gpus all --rm -v /data/scratch/examples-data:/data/ -v /dev/shm\n    timeout-minutes: 30\n    steps:\n      - name: 📚 Checkout\n        uses: actions/checkout@v3\n\n      - name: Install Colossal-AI\n        run: |\n          BUILD_EXT=1 pip install -v .\n\n      - name: Traverse all files\n        run: |\n          example_dir=${{ matrix.directory }}\n          echo \"Testing ${example_dir} now\"\n          cd \"${PWD}/examples/${example_dir}\"\n          bash test_ci.sh\n\n      - name: Notify Lark\n        id: message-preparation\n        if: ${{ failure() }}\n        run: |\n          url=$SERVER_URL/$REPO/actions/runs/$RUN_ID\n          msg=\"Example tests failed for $EXAMPLE_DIR, please visit $url for details\"\n          echo $msg\n          python .github/workflows/scripts/send_message_to_lark.py -m \"$msg\" -u $WEBHOOK_URL\n        env:\n          SERVER_URL: ${{github.server_url }}\n          REPO: ${{ github.repository }}\n          RUN_ID: ${{ github.run_id }}\n          WEBHOOK_URL: ${{ secrets.LARK_NOTIFICATION_WEBHOOK_URL }}\n          EXAMPLE_DIR: ${{ matrix.directory }}\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:33.400452", "created_at": "2023-02-06T06:47:28+01:00", "updated_at": "2023-02-06T06:47:28+01:00", "name": "Build on Schedule", "path": ".github/workflows/build_on_schedule.yml", "contents": "name: Build on Schedule\n\non:\n  schedule:\n    # run at 00:00 of every Sunday\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Build and Test Colossal-AI\n    if: github.repository == 'hpcaitech/ColossalAI'\n    runs-on: [self-hosted, gpu]\n    container:\n      image: hpcaitech/pytorch-cuda:2.1.0-12.1.0\n      options: --gpus all --rm -v /dev/shm -v /data/scratch/llama-tiny:/data/scratch/llama-tiny\n    timeout-minutes: 90\n    steps:\n      - name: Check GPU Availability # ensure all GPUs have enough memory\n        id: check-avai\n        run: |\n          avai=true\n          ngpu=$(nvidia-smi --query-gpu=name --format=csv,noheader | wc -l)\n          endIndex=$(($ngpu-1))\n          for i in $(seq 0 $endIndex);\n          do\n            gpu_used=$(nvidia-smi -i $i --query-gpu=memory.used --format=csv,noheader,nounits)\n            [ \"$gpu_used\" -gt \"2000\" ] && avai=false\n          done\n\n          echo \"GPU is available: $avai\"\n          echo \"avai=$avai\" >> $GITHUB_OUTPUT\n\n      - uses: actions/checkout@v2\n        if: steps.check-avai.outputs.avai == 'true'\n        with:\n          repository: hpcaitech/TensorNVMe\n          ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}\n          path: TensorNVMe\n\n      - name: Install tensornvme\n        if: steps.check-avai.outputs.avai == 'true'\n        run: |\n          cd TensorNVMe\n          conda install cmake\n          pip install -r requirements.txt\n          DISABLE_URING=1 pip install -v .\n\n      - uses: actions/checkout@v2\n        if: steps.check-avai.outputs.avai == 'true'\n        with:\n          ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}\n\n      - name: Install Colossal-AI\n        if: steps.check-avai.outputs.avai == 'true'\n        run: |\n          [ ! -z \"$(ls -A /github/home/cuda_ext_cache/)\" ] && cp -r /github/home/cuda_ext_cache/* /__w/ColossalAI/ColossalAI/\n          BUILD_EXT=1 pip install -v -e .\n          cp -r /__w/ColossalAI/ColossalAI/build /github/home/cuda_ext_cache/\n          pip install -r requirements/requirements-test.txt\n\n      - name: Unit Testing\n        if: steps.check-avai.outputs.avai == 'true'\n        run: |\n          PYTHONPATH=$PWD pytest \\\n          -m \"not largedist\" \\\n          --durations=0 \\\n          tests/\n        env:\n          LD_LIBRARY_PATH: /github/home/.tensornvme/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64\n          LLAMA_PATH: /data/scratch/llama-tiny\n\n      - name: Notify Lark\n        id: message-preparation\n        if: ${{ failure() }}\n        run: |\n          url=$SERVER_URL/$REPO/actions/runs/$RUN_ID\n          msg=\"Scheduled Build and Test failed, please visit $url for details\"\n          echo $msg\n          python .github/workflows/scripts/send_message_to_lark.py -m \"$msg\" -u $WEBHOOK_URL\n        env:\n          SERVER_URL: ${{github.server_url }}\n          REPO: ${{ github.repository }}\n          RUN_ID: ${{ github.run_id }}\n          WEBHOOK_URL: ${{ secrets.LARK_NOTIFICATION_WEBHOOK_URL }}\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:34.448929", "created_at": "2023-02-06T06:47:52+01:00", "updated_at": "2023-02-06T06:47:52+01:00", "name": "Compatibility Test on Dispatch", "path": ".github/workflows/compatiblity_test_on_dispatch.yml", "contents": "name: Compatibility Test on Dispatch\n\non:\n  workflow_dispatch:\n    inputs:\n      torch_version:\n        type: string\n        description: torch version, separated by comma\n        required: true\n      cuda_version:\n        type: string\n        description: cuda version, separated by comma\n        required: true\n\njobs:\n  matrix_preparation:\n    name: Prepare Container List\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - id: set-matrix\n        env:\n          TORCH_VERSIONS: ${{ inputs.torch_version }}\n          CUDA_VERSIONS: ${{ inputs.cuda_version }}\n        run: |\n          IFS=','\n          DOCKER_IMAGE=()\n\n          for tv in $TORCH_VERSIONS\n          do\n              for cv in $CUDA_VERSIONS\n              do\n                  DOCKER_IMAGE+=(\"\\\"hpcaitech/pytorch-cuda:${tv}-${cv}\\\"\")\n              done\n          done\n\n          container=$( IFS=',' ; echo \"${DOCKER_IMAGE[*]}\" )\n          container=\"[${container}]\"\n          echo \"$container\"\n          echo \"::set-output name=matrix::{\\\"container\\\":$(echo \"$container\")}\"\n\n  build:\n    name: Test for PyTorch Compatibility\n    needs: matrix_preparation\n    if: github.repository == 'hpcaitech/ColossalAI'\n    runs-on: [self-hosted, 8-gpu]\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJson(needs.matrix_preparation.outputs.matrix)}}\n    container:\n      image: ${{ matrix.container }}\n      options: --gpus all --rm -v /dev/shm -v /data/scratch/cifar-10:/data/scratch/cifar-10 -v /data/scratch/llama-tiny:/data/scratch/llama-tiny\n    timeout-minutes: 200\n    steps:\n      - name: Install dependencies\n        run: |\n          pip install -U pip setuptools==68.2.2 wheel --user\n      - uses: actions/checkout@v2\n        with:\n          repository: hpcaitech/TensorNVMe\n          ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}\n          path: TensorNVMe\n      - name: Install tensornvme\n        run: |\n          cd TensorNVMe\n          apt update && apt install -y cmake\n          pip install -r requirements.txt\n          DISABLE_URING=1 pip install -v .\n      - uses: actions/checkout@v2\n        with:\n          ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}\n      - name: Download cub for CUDA 10.2\n        run: |\n          CUDA_VERSION=$(nvcc -V | awk -F ',| ' '/release/{print $6}')\n\n          # check if it is CUDA 10.2\n          # download cub\n          if [ \"$CUDA_VERSION\" = \"10.2\" ]; then\n            wget https://github.com/NVIDIA/cub/archive/refs/tags/1.8.0.zip\n            unzip 1.8.0.zip\n            cp -r cub-1.8.0/cub/ colossalai/kernel/cuda_native/csrc/kernels/include/\n          fi\n      - name: Install Colossal-AI\n        run: |\n          BUILD_EXT=1 pip install -v .\n          pip install -r requirements/requirements-test.txt\n      - name: Unit Testing\n        run: |\n          PYTHONPATH=$PWD pytest --durations=0 tests\n        env:\n          DATA: /data/scratch/cifar-10\n          LD_LIBRARY_PATH: /github/home/.tensornvme/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64\n          LLAMA_PATH: /data/scratch/llama-tiny\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:35.490426", "created_at": "2023-02-06T06:47:52+01:00", "updated_at": "2023-02-06T06:47:52+01:00", "name": "Compatibility Test on PR", "path": ".github/workflows/compatiblity_test_on_pr.yml", "contents": "name: Compatibility Test on PR\n\non:\n  pull_request:\n    paths:\n      - \"version.txt\"\n      - \".compatibility\"\n\njobs:\n  matrix_preparation:\n    name: Prepare Container List\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-prepare-matrix\n      cancel-in-progress: true\n    steps:\n      - uses: actions/checkout@v3\n      - id: set-matrix\n        run: |\n          IFS=','\n          DOCKER_IMAGE=()\n\n          while read tag; do\n            DOCKER_IMAGE+=(\"\\\"hpcaitech/pytorch-cuda:${tag}\\\"\")\n          done <.compatibility\n\n          container=$( IFS=',' ; echo \"${DOCKER_IMAGE[*]}\" )\n          container=\"[${container}]\"\n          echo \"$container\"\n          echo \"::set-output name=matrix::{\\\"container\\\":$(echo \"$container\")}\"\n\n  build:\n    name: Test for PyTorch Compatibility\n    needs: matrix_preparation\n    if: github.repository == 'hpcaitech/ColossalAI'\n    runs-on: [self-hosted, 8-gpu]\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJson(needs.matrix_preparation.outputs.matrix)}}\n    container:\n      image: ${{ matrix.container }}\n      options: --gpus all --rm -v /dev/shm -v /data/scratch/cifar-10:/data/scratch/cifar-10 -v /data/scratch/llama-tiny:/data/scratch/llama-tiny\n    timeout-minutes: 200\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-run-test-${{ matrix.container }}\n      cancel-in-progress: true\n    steps:\n      - name: Install dependencies\n        run: |\n          pip install -U pip setuptools==68.2.2 wheel --user\n      - uses: actions/checkout@v2\n        with:\n          repository: hpcaitech/TensorNVMe\n          ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}\n          path: TensorNVMe\n      - name: Install tensornvme\n        run: |\n          cd TensorNVMe\n          apt update && apt install -y cmake\n          pip install -r requirements.txt\n          DISABLE_URING=1 pip install -v .\n      - uses: actions/checkout@v2\n        with:\n          ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}\n      - name: Download cub for CUDA 10.2\n        run: |\n          CUDA_VERSION=$(nvcc -V | awk -F ',| ' '/release/{print $6}')\n\n          # check if it is CUDA 10.2\n          # download cub\n          if [ \"$CUDA_VERSION\" = \"10.2\" ]; then\n            wget https://github.com/NVIDIA/cub/archive/refs/tags/1.8.0.zip\n            unzip 1.8.0.zip\n            cp -r cub-1.8.0/cub/ colossalai/kernel/cuda_native/csrc/kernels/include/\n          fi\n\n      - name: Install Colossal-AI\n        run: |\n          BUILD_EXT=1 pip install -v .\n          pip install -r requirements/requirements-test.txt\n      - name: Unit Testing\n        run: |\n          PYTHONPATH=$PWD pytest --durations=0 tests\n        env:\n          DATA: /data/scratch/cifar-10\n          LD_LIBRARY_PATH: /github/home/.tensornvme/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64\n          LLAMA_PATH: /data/scratch/llama-tiny\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:36.557586", "created_at": "2023-02-06T06:47:53+01:00", "updated_at": "2023-02-06T06:47:53+01:00", "name": "Compatibility Test on Schedule", "path": ".github/workflows/compatiblity_test_on_schedule.yml", "contents": "name: Compatibility Test on Schedule\n\non:\n  # run at 03:00 of every Sunday(singapore time) so here is UTC time Saturday 16:00\n  schedule:\n    - cron:  '0 19 * * 6'\n  workflow_dispatch:\n\njobs:\n  matrix_preparation:\n    name: Prepare Container List\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v3\n      - id: set-matrix\n        run: |\n          IFS=','\n          DOCKER_IMAGE=()\n\n          while read tag; do\n            DOCKER_IMAGE+=(\"\\\"hpcaitech/pytorch-cuda:${tag}\\\"\")\n          done <.compatibility\n\n          container=$( IFS=',' ; echo \"${DOCKER_IMAGE[*]}\" )\n          container=\"[${container}]\"\n          echo \"$container\"\n          echo \"::set-output name=matrix::{\\\"container\\\":$(echo \"$container\")}\"\n\n  build:\n    name: Test for PyTorch Compatibility\n    needs: matrix_preparation\n    if: github.repository == 'hpcaitech/ColossalAI'\n    runs-on: [self-hosted, 8-gpu]\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJson(needs.matrix_preparation.outputs.matrix)}}\n    container:\n      image: ${{ matrix.container }}\n      options: --gpus all --rm -v /dev/shm -v /data/scratch/cifar-10:/data/scratch/cifar-10 -v /data/scratch/llama-tiny:/data/scratch/llama-tiny\n    timeout-minutes: 200\n    steps:\n      - name: Install dependencies\n        run: |\n          pip install -U pip setuptools==68.2.2 wheel --user\n\n      - uses: actions/checkout@v2\n        with:\n          repository: hpcaitech/TensorNVMe\n          ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}\n          path: TensorNVMe\n\n      - name: Install tensornvme\n        run: |\n          cd TensorNVMe\n          apt update && apt install -y cmake\n          pip install -r requirements.txt\n          DISABLE_URING=1 pip install -v .\n      - uses: actions/checkout@v2\n        with:\n          ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}\n\n      - name: Download cub for CUDA 10.2\n        run: |\n          CUDA_VERSION=$(nvcc -V | awk -F ',| ' '/release/{print $6}')\n\n          # check if it is CUDA 10.2\n          # download cub\n          if [ \"$CUDA_VERSION\" = \"10.2\" ]; then\n            wget https://github.com/NVIDIA/cub/archive/refs/tags/1.8.0.zip\n            unzip 1.8.0.zip\n            cp -r cub-1.8.0/cub/ colossalai/kernel/cuda_native/csrc/kernels/include/\n          fi\n\n      - name: Install Colossal-AI\n        run: |\n          BUILD_EXT=1 pip install -v .\n          pip install -r requirements/requirements-test.txt\n\n      - name: Unit Testing\n        run: |\n          PYTHONPATH=$PWD pytest --durations=0 tests\n        env:\n          DATA: /data/scratch/cifar-10\n          LD_LIBRARY_PATH: /github/home/.tensornvme/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64\n          LLAMA_PATH: /data/scratch/llama-tiny\n\n      - name: Notify Lark\n        id: message-preparation\n        if: ${{ failure() }}\n        run: |\n          url=$SERVER_URL/$REPO/actions/runs/$RUN_ID\n          msg=\"Compatibility test failed with $container, please visit $url for details\"\n          echo $msg\n          python .github/workflows/scripts/send_message_to_lark.py -m \"$msg\" -u $WEBHOOK_URL\n        env:\n          SERVER_URL: ${{github.server_url }}\n          REPO: ${{ github.repository }}\n          RUN_ID: ${{ github.run_id }}\n          WEBHOOK_URL: ${{ secrets.LARK_NOTIFICATION_WEBHOOK_URL }}\n          container: ${{ matrix.container }}\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:37.780812", "created_at": "2023-02-06T08:24:35+01:00", "updated_at": "2023-02-06T08:42:11+01:00", "name": "Publish to Test-PyPI Before Merge", "path": ".github/workflows/release_test_pypi_before_merge.yml", "contents": "name: Publish to Test-PyPI Before Merge\n\non:\n  pull_request:\n    paths:\n      - 'version.txt'\n\njobs:\n  build-n-publish:\n    if: github.event_name == 'workflow_dispatch' || github.repository == 'hpcaitech/ColossalAI'\n    name: Build and publish Python 🐍 distributions 📦 to Test PyPI\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n    - uses: actions/checkout@v2\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.8.14'\n\n    - name: add timestamp to the version\n      id: prep-version\n      run: |\n        version=$(cat version.txt)\n        timestamp=$(date +%s)\n        new_version=\"${version}.post${timestamp}\"\n        echo $new_version > ./version.txt\n        echo \"version=$new_version\" >> $GITHUB_OUTPUT\n\n    - run: |\n        pip install --upgrade pip\n        python setup.py sdist build\n\n    # publish to PyPI if executed on the main branch\n    - name: Publish package to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n        verbose: true\n\n    - name: Wait for Test-PyPI refresh\n      run: sleep 300s\n      shell: bash\n\n    - name: Try installation\n      run: |\n        # we need to install the requirements.txt first\n        # as test-pypi may not contain the distributions for libs listed in the txt file\n        pip install -r requirements/requirements.txt\n        pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.python.org/pypi colossalai==$VERSION\n      env:\n        VERSION: ${{ steps.prep-version.outputs.version }}\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:38.907951", "created_at": "2023-02-06T08:42:11+01:00", "updated_at": "2024-02-19T07:38:19+01:00", "name": "Publish Nightly Version to PyPI", "path": ".github/workflows/release_nightly_on_schedule.yml", "contents": "name: Publish Nightly Version to PyPI\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 0 * * 6' # release on every Sunday 00:00 UTC time\n\njobs:\n  publish:\n    if: github.repository == 'hpcaitech/ColossalAI'\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    outputs:\n      status: ${{ steps.publish.outcome }}\n    steps:\n    - uses: actions/checkout@v2\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.8.14'\n\n    - run: |\n        python .github/workflows/scripts/update_setup_for_nightly.py\n        python setup.py sdist build\n\n    # publish to PyPI if executed on the main branch\n    - name: Publish package to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      id: publish\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        verbose: true\n\n  notify:\n    name: Notify Lark via webhook\n    needs: publish\n    runs-on: ubuntu-latest\n    if: ${{ always() }} && github.repository == 'hpcaitech/ColossalAI'\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.8.14'\n\n      - name: Install requests\n        run: pip install requests\n\n      - name: Notify Lark\n        id: message-preparation\n        run: |\n          url=$SERVER_URL/$REPO/actions/runs/$RUN_ID\n\n          if [ $STATUS == 'success' ]\n          then\n            msg=\"The Colossal-AI nightly version has been successfully released to PyPI.\"\n          else\n            msg=\"Failed to release Colossal-AI nightly version to PyPI, please visit $url for details.\"\n          fi\n          echo $msg\n          python .github/workflows/scripts/send_message_to_lark.py -m \"$msg\" -u $WEBHOOK_URL\n        env:\n          SERVER_URL: ${{github.server_url }}\n          REPO: ${{ github.repository }}\n          RUN_ID: ${{ github.run_id }}\n          WEBHOOK_URL: ${{ secrets.LARK_NOTIFICATION_WEBHOOK_URL }}\n          STATUS: ${{ needs.publish.outputs.status }}\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:40.019893", "created_at": "2023-02-06T08:42:11+01:00", "updated_at": "2023-02-06T08:42:11+01:00", "name": "Publish to PyPI", "path": ".github/workflows/release_pypi_after_merge.yml", "contents": "name: Publish to PyPI\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - 'version.txt'\n    types:\n      - closed\n\njobs:\n  build-n-publish:\n    if: github.event_name == 'workflow_dispatch' || github.repository == 'hpcaitech/ColossalAI' && github.event.pull_request.merged == true && github.base_ref == 'main'\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n    - uses: actions/checkout@v2\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.8.14'\n\n    - run: python setup.py sdist build\n\n    # publish to PyPI if executed on the main branch\n    - name: Publish package to PyPI\n      id: publish\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        verbose: true\n\n  notify:\n    name: Notify Lark via webhook\n    needs: build-n-publish\n    runs-on: ubuntu-latest\n    if: ${{ always() }}\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.8.14'\n\n      - name: Install requests\n        run: pip install requests\n\n      - name: Notify Lark\n        id: message-preparation\n        run: |\n          url=$SERVER_URL/$REPO/actions/runs/$RUN_ID\n\n          if [ \"$STATUS\" == 'success' ]\n          then\n            msg=\"The Colossal-AI latest version has been successfully released to PyPI.\"\n          else\n            msg=\"Failed to release Colossal-AI to PyPI, please visit $url for details.\"\n          fi\n          echo $msg\n          python .github/workflows/scripts/send_message_to_lark.py -m \"$msg\" -u $WEBHOOK_URL\n        env:\n          SERVER_URL: ${{github.server_url }}\n          REPO: ${{ github.repository }}\n          RUN_ID: ${{ github.run_id }}\n          WEBHOOK_URL: ${{ secrets.LARK_NOTIFICATION_WEBHOOK_URL }}\n          STATUS: ${{ needs.build-n-publish.result }}\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:41.075498", "created_at": "2023-02-06T09:29:08+01:00", "updated_at": "2023-02-06T09:29:08+01:00", "name": "Draft GitHub Release Post", "path": ".github/workflows/draft_github_release_post_after_merge.yml", "contents": "name: Draft GitHub Release Post\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - 'version.txt'\n    types:\n      - closed\n\njobs:\n  release:\n    name: Draft Release Post\n    if: ( github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true ) && github.repository == 'hpcaitech/ColossalAI'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v2\n        with:\n          python-version: '3.8.14'\n      - name: generate draft\n        id: generate_draft\n        run: |\n          version=v$(cat version.txt)\n          pip install requests\n          python ./.github/workflows/scripts/generate_release_draft.py --out $PWD/release_draft.md --version $version\n          echo \"::set-output name=version::$version\"\n          echo \"::set-output name=path::$PWD/release_draft.md\"\n        env:\n          GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ steps.generate_draft.outputs.version }}\n          release_name: Version ${{ steps.generate_draft.outputs.version }} Release Today!\n          body_path: ${{ steps.generate_draft.outputs.path }}\n          draft: True\n          prerelease: false\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:42.136666", "created_at": "2023-02-06T10:07:44+01:00", "updated_at": "2023-02-06T10:07:44+01:00", "name": "Check CUDA Extension Build Before Merge", "path": ".github/workflows/cuda_ext_check_before_merge.yml", "contents": "name: Check CUDA Extension Build Before Merge\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - 'version.txt'\n\njobs:\n  matrix_preparation:\n    name: Prepare Container List\n    if: github.repository == 'hpcaitech/ColossalAI'\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - id: set-matrix\n        run: |\n          cuda_ext=$(cat .cuda_ext.json | tr '\\n' ' ')\n          echo \"matrix=${cuda_ext}\" >> $GITHUB_OUTPUT\n\n  build:\n    name: Release bdist wheels\n    needs: matrix_preparation\n    runs-on: [self-hosted, gpu]\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJson(needs.matrix_preparation.outputs.matrix)}}\n    container:\n      image: ${{ matrix.build.cuda_image }}\n      options: --gpus all --rm\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Install PyTorch\n        run: eval ${{ matrix.build.torch_command }}\n\n      - name: Download cub for CUDA 10.2\n        run: |\n          CUDA_VERSION=$(nvcc -V | awk -F ',| ' '/release/{print $6}')\n\n          # check if it is CUDA 10.2\n          # download cub\n          if [ \"$CUDA_VERSION\" = \"10.2\" ]; then\n            wget https://github.com/NVIDIA/cub/archive/refs/tags/1.8.0.zip\n            unzip 1.8.0.zip\n            cp -r cub-1.8.0/cub/ colossalai/kernel/cuda_native/csrc/kernels/include/\n          fi\n\n      - name: Build\n        run: |\n          BUILD_EXT=1 pip install -v .\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:43.201938", "created_at": "2023-02-13T09:53:29+01:00", "updated_at": "2023-02-13T09:53:29+01:00", "name": "Check Documentation on PR", "path": ".github/workflows/doc_check_on_pr.yml", "contents": "name: Check Documentation on PR\n\non:\n  pull_request:\n    branches:\n      - \"main\"\n      - \"develop\"\n      - \"feature/**\"\n    paths:\n      - \"docs/**\"\n\njobs:\n  check-i18n:\n    name: Check docs in diff languages\n    if: |\n      github.event.pull_request.draft == false &&\n      github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'\n    runs-on: ubuntu-latest\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-check-i18n\n      cancel-in-progress: true\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8.14\"\n\n      - run: python .github/workflows/scripts/check_doc_i18n.py -d docs/source\n\n  check-doc-build:\n    name: Test if the docs can be built\n    if: |\n      github.event.pull_request.draft == false &&\n      github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'\n    runs-on: ubuntu-latest\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-check-doc\n      cancel-in-progress: true\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          path: \"./ColossalAI\"\n          fetch-depth: 0\n\n      - uses: actions/checkout@v2\n        with:\n          path: \"./ColossalAI-Documentation\"\n          repository: \"hpcaitech/ColossalAI-Documentation\"\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8.14\"\n\n      # we use the versions in the main branch as the guide for versions to display\n      # checkout will give your merged branch\n      # therefore, we need to make the merged branch as the main branch\n      # there is no main branch, so it's safe to checkout the main branch from the merged branch\n      # docer will rebase the remote main branch to the merged branch, so we have to config user\n      - name: Make the merged branch main\n        run: |\n          cd ColossalAI\n          git checkout -b main\n          git branch -u origin/main\n          git config user.name 'github-actions'\n          git config user.email 'github-actions@github.com'\n\n      - name: Build docs\n        run: |\n          cache_dir=ColossalAI-Documentation/doc-build/.cache\n          mkdir $cache_dir\n          mv ColossalAI $cache_dir\n          cd ColossalAI-Documentation\n          pip install -v ./doc-build/third_party/hf-doc-builder\n          pip install -v ./doc-build\n          bash ./scripts/build.sh\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:44.334445", "created_at": "2023-02-15T03:53:57+01:00", "updated_at": "2023-02-15T03:53:57+01:00", "name": "Run ChatGPT examples", "path": ".github/workflows/run_chatgpt_examples.yml", "contents": "name: Run ChatGPT examples\n\non:\n  pull_request:\n    types: [synchronize, opened, reopened]\n    paths:\n      - \"applications/ColossalChat/coati/**\"\n      - \"applications/ColossalChat/requirements.txt\"\n      - \"applications/ColossalChat/setup.py\"\n      - \"applications/ColossalChat/examples/**\"\n      - \"applications/ColossalChat/tests/**\"\n\njobs:\n  tests:\n    name: Run ChatGPT examples\n    if: |\n      github.event.pull_request.draft == false &&\n      github.base_ref == 'main' &&\n      github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'\n    runs-on: [self-hosted, gpu]\n    container:\n      image: hpcaitech/pytorch-cuda:2.1.0-12.1.0\n      options: --gpus all --rm -v /data/scratch/examples-data:/data/scratch/examples-data --shm-size=10.24gb\n    timeout-minutes: 60\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Checkout ColossalAI\n        uses: actions/checkout@v2\n\n      - name: Install Colossal-AI\n        run: |\n          BUILD_EXT=1 pip install -v -e .\n\n      - name: Install ChatGPT\n        run: |\n          cd applications/ColossalChat\n          pip install -v .\n          export BUILD_EXT=1\n          pip install -r examples/requirements.txt\n\n      - name: Install Transformers\n        run: |\n          pip install transformers==4.36.2\n\n      - name: Execute Examples\n        run: |\n          cd applications/ColossalChat\n          rm -rf ~/.cache/colossalai\n          mkdir models\n          mkdir sft_data\n          mkdir prompt_data\n          mkdir preference_data\n          ./tests/test_data_preparation.sh\n          ./tests/test_train.sh\n        env:\n          NCCL_SHM_DISABLE: 1\n          MAX_JOBS: 8\n          PRETRAINED_MODEL_PATH: ./models\n          SFT_DATASET: ./sft_data\n          PROMPT_DATASET: ./prompt_data\n          PREFERENCE_DATASET: ./preference_data\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:45.396342", "created_at": "2023-02-15T03:53:57+01:00", "updated_at": "2023-02-15T03:53:57+01:00", "name": "Run ChatGPT unit tests", "path": ".github/workflows/run_chatgpt_unit_tests.yml", "contents": "name: Run ChatGPT unit tests\n\non:\n  pull_request:\n    types: [synchronize, opened, reopened]\n    paths:\n      - 'applications/ColossalChat/coati/**'\n      - 'applications/ColossalChat/requirements.txt'\n      - 'applications/ColossalChat/setup.py'\n      - 'applications/ColossalChat/tests/**'\n      - 'applications/ColossalChat/pytest.ini'\n\njobs:\n  tests:\n    name: Run ChatGPT unit tests\n    if: |\n      github.event.pull_request.draft == false &&\n      github.base_ref == 'main' &&\n      github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'\n    runs-on: [self-hosted, gpu]\n    container:\n      image: hpcaitech/pytorch-cuda:2.1.0-12.1.0\n      options: --gpus all --rm -v /data/scratch/examples-data:/data/scratch/examples-data\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Checkout ColossalAI\n        uses: actions/checkout@v2\n\n      - name: Install ChatGPT\n        run: |\n          cd applications/ColossalChat\n          pip install -v .\n          pip install pytest\n\n      - name: Execute Unit Testing\n        run: |\n          cd applications/ColossalChat\n          rm -rf ~/.cache/colossalai\n          pytest tests/\n          cd ./tests\n          ./test_templating.sh\n        env:\n          NCCL_SHM_DISABLE: 1\n          MAX_JOBS: 8\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:46.443372", "created_at": "2023-02-24T07:41:37+01:00", "updated_at": "2024-04-08T10:10:10+02:00", "name": "post-commit", "path": ".github/workflows/post_commit.yml", "contents": null, "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:47.502350", "created_at": "2023-02-28T03:37:48+01:00", "updated_at": "2023-02-28T04:10:41+01:00", "name": "Test Documentation on PR", "path": ".github/workflows/doc_test_on_pr.yml", "contents": "name: Test Documentation on PR\non:\n  pull_request:\n    branches:\n      - \"main\"\n      - \"develop\"\n      - \"feature/**\"\n    # any change in the examples folder will trigger check for the corresponding example.\n    paths:\n      - \"docs/source/**.md\"\n\njobs:\n  # This is for changed example files detect and output a matrix containing all the corresponding directory name.\n  detect-changed-doc:\n    if: |\n      github.event.pull_request.draft == false &&\n      github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && github.event_name == 'pull_request'\n    runs-on: ubuntu-latest\n    outputs:\n      any_changed: ${{ steps.changed-files.outputs.any_changed }}\n      changed_files: ${{ steps.changed-files.outputs.all_changed_files }}\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-detect-change\n      cancel-in-progress: true\n    name: Detect changed example files\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - name: Locate base commit\n        id: locate-base-sha\n        run: |\n          curBranch=$(git rev-parse --abbrev-ref HEAD)\n          commonCommit=$(git merge-base origin/main $curBranch)\n          echo $commonCommit\n          echo \"baseSHA=$commonCommit\" >> $GITHUB_OUTPUT\n\n      - name: Get all changed example files\n        id: changed-files\n        uses: tj-actions/changed-files@v35\n        with:\n          base_sha: ${{ steps.locate-base-sha.outputs.baseSHA }}\n          files: |\n            ./docs/source/**/*.md\n\n  # If no file is changed, it will prompt an error and shows the matrix do not have value.\n  check-changed-doc:\n    # Add this condition to avoid executing this job if the trigger event is workflow_dispatch.\n    if: |\n      github.event.pull_request.draft == false &&\n      github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && github.event_name == 'pull_request' &&\n      needs.detect-changed-doc.outputs.any_changed == 'true'\n    name: Test the changed Doc\n    needs: detect-changed-doc\n    runs-on: [self-hosted, gpu]\n    container:\n      image: hpcaitech/pytorch-cuda:2.1.0-12.1.0\n      options: --gpus all --rm\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-run-doctest\n      cancel-in-progress: true\n    steps:\n      - name: Checkout ColossalAI-Documentation\n        uses: actions/checkout@v2\n        with:\n          path: \"./ColossalAI-Documentation\"\n          repository: \"hpcaitech/ColossalAI-Documentation\"\n\n      - name: Install Docer\n        run: |\n          pip install -v ./ColossalAI-Documentation/doc-build/third_party/hf-doc-builder\n          pip install -v ./ColossalAI-Documentation/doc-build\n\n      - name: Checkout ColossalAI\n        uses: actions/checkout@v3\n\n      - name: Install Doc Test Requirements\n        run: |\n          source activate pytorch\n          conda env update --file docs/conda-doc-test-deps.yml --prune\n          pip install -r docs/requirements-doc-test.txt\n\n      - name: Install ColossalAI\n        run: |\n          source activate pytorch\n          BUILD_EXT=1 pip install -v .\n\n      - name: Test the Doc\n        run: |\n          source activate pytorch\n          for file in ${{ needs.detect-changed-doc.outputs.changed_files }}; do\n            echo \"Testing $file now...\"\n            docer test -p $file\n          done\n        env:\n          NCCL_SHM_DISABLE: 1\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:48.635597", "created_at": "2023-02-28T04:10:41+01:00", "updated_at": "2023-02-28T04:10:41+01:00", "name": "Test Documentation on Schedule", "path": ".github/workflows/doc_test_on_schedule.yml", "contents": "name: Test Documentation on Schedule\non:\n  # run at 07:00 of every Sunday(singapore time) so here is UTC time Saturday 23:00\n  schedule:\n    - cron:  '0 23 * * 6'\n  workflow_dispatch:\n\njobs:\n  check-changed-doc:\n    # Add this condition to avoid executing this job if the trigger event is workflow_dispatch.\n    if: github.repository == 'hpcaitech/ColossalAI'\n    name: Test the changed Doc\n    runs-on: [self-hosted, gpu]\n    container:\n      image: hpcaitech/pytorch-cuda:2.1.0-12.1.0\n      options: --gpus all --rm\n    timeout-minutes: 60\n    steps:\n      - name: Checkout ColossalAI-Documentation\n        uses: actions/checkout@v2\n        with:\n          path: './ColossalAI-Documentation'\n          repository: 'hpcaitech/ColossalAI-Documentation'\n\n      - name: Install Docer\n        run: |\n          pip install -v ./ColossalAI-Documentation/doc-build/third_party/hf-doc-builder\n          pip install -v ./ColossalAI-Documentation/doc-build\n\n      - name: Checkout ColossalAI\n        uses: actions/checkout@v3\n\n      - name: Install ColossalAI\n        run: |\n          BUILD_EXT=1 pip install -v .\n\n      - name: Install Doc Test Requirements\n        run: |\n          pip install -r docs/requirements-doc-test.txt\n\n      - name: Test the Doc\n        run: |\n          for file in $(find ./docs/source -name \"*.md\"); do\n            docer test -p $file\n          done\n        env:\n          NCCL_SHM_DISABLE: 1\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:49.642838", "created_at": "2023-05-22T10:30:37+02:00", "updated_at": "2023-05-22T10:30:37+02:00", "name": "Publish Docker Image to DockerHub after Publish", "path": ".github/workflows/release_docker_after_publish.yml", "contents": "name: Publish Docker Image to DockerHub after Publish\n\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\njobs:\n  release:\n    name: Publish Docker Image to DockerHub\n    if: github.repository == 'hpcaitech/ColossalAI'\n    runs-on: [self-hosted, gpu]\n    container:\n      image: \"hpcaitech/docker-in-docker:latest\"\n      options: --gpus all --rm -v /var/run/docker.sock:/var/run/docker.sock\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Build Docker\n        id: build\n        run: |\n          version=$(cat version.txt)\n          tag=hpcaitech/colossalai:$version\n          latest=hpcaitech/colossalai:latest\n          docker build --build-arg VERSION=v${version} -t $tag ./docker\n          docker tag $tag $latest\n          echo \"tag=${tag}\" >> $GITHUB_OUTPUT\n          echo \"latest=${latest}\" >> $GITHUB_OUTPUT\n        env:\n          DOCKER_BUILDKIT: 0\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Push Docker image\n        id: docker-push\n        run: |\n          docker push ${{ steps.build.outputs.tag }}\n          docker push ${{ steps.build.outputs.latest }}\n\n  notify:\n    name: Notify Lark via webhook\n    needs: release\n    runs-on: ubuntu-latest\n    if: ${{ always() }}\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8.14\"\n\n      - name: Install requests\n        run: pip install requests\n\n      - name: Notify Lark\n        id: message-preparation\n        run: |\n          url=$SERVER_URL/$REPO/actions/runs/$RUN_ID\n          if [ \"$STATUS\" == 'success' ]\n          then\n            msg=\"The Docker image for the latest release has been successfully built and pushed to DockerHub.\"\n          else\n            msg=\"Failed to build and push the Docker image for the latest release, please visit $url for details.\"\n          fi\n          echo $msg\n          python .github/workflows/scripts/send_message_to_lark.py -m \"$msg\" -u $WEBHOOK_URL\n        env:\n          SERVER_URL: ${{github.server_url }}\n          REPO: ${{ github.repository }}\n          RUN_ID: ${{ github.run_id }}\n          WEBHOOK_URL: ${{ secrets.LARK_NOTIFICATION_WEBHOOK_URL }}\n          STATUS: ${{ needs.release.result }}\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:50.789352", "created_at": "2023-05-24T04:50:22+02:00", "updated_at": "2023-05-24T04:50:22+02:00", "name": "Build Documentation On Schedule & After Release", "path": ".github/workflows/doc_build_on_schedule_after_release.yml", "contents": "name: Build Documentation On Schedule & After Release\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 12 * * *\" # build doc every day at 8pm Singapore time (12pm UTC time)\n  release:\n    types: [published]\n\njobs:\n  build-doc:\n    name: Trigger Documentation Build Workflow\n    if: github.repository == 'hpcaitech/ColossalAI'\n    runs-on: ubuntu-latest\n    steps:\n      - name: trigger workflow in ColossalAI-Documentation\n        run: |\n          curl \\\n            -X POST \\\n            -H \"Accept: application/vnd.github+json\" \\\n            -H \"Authorization: Bearer ${GH_TOKEN}\"\\\n            -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n            https://api.github.com/repos/hpcaitech/ColossalAI-Documentation/actions/workflows/deploy.yml/dispatches \\\n            -d '{\"ref\":\"main\"}'\n        env:\n          GH_TOKEN: ${{secrets.DOC_REPO_TOKEN}}\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:51.912154", "created_at": "2023-09-14T05:19:39+02:00", "updated_at": "2023-11-23T03:33:55+01:00", "name": "Run colossalqa unit tests", "path": ".github/workflows/run_colossalqa_unit_tests.yml", "contents": "name: Run colossalqa unit tests\n\non:\n  pull_request:\n    types: [synchronize, opened, reopened]\n    paths:\n      - 'applications/ColossalQA/colossalqa/**'\n      - 'applications/ColossalQA/requirements.txt'\n      - 'applications/ColossalQA/setup.py'\n      - 'applications/ColossalQA/tests/**'\n      - 'applications/ColossalQA/pytest.ini'\n\njobs:\n  tests:\n    name: Run colossalqa unit tests\n    if: |\n      github.event.pull_request.draft == false &&\n      github.base_ref == 'main' &&\n      github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'\n    runs-on: [self-hosted, gpu]\n    container:\n      image: hpcaitech/pytorch-cuda:2.1.0-12.1.0\n      volumes:\n        - /data/scratch/test_data_colossalqa:/data/scratch/test_data_colossalqa\n        - /data/scratch/llama-tiny:/data/scratch/llama-tiny\n      options: --gpus all --rm\n    timeout-minutes: 30\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Checkout ColossalAI\n        uses: actions/checkout@v2\n\n      - name: Install colossalqa\n        run: |\n          cd applications/ColossalQA\n          pip install -e .\n\n      - name: Execute Unit Testing\n        run: |\n          cd applications/ColossalQA\n          pytest tests/\n        env:\n          NCCL_SHM_DISABLE: 1\n          MAX_JOBS: 8\n          ZH_MODEL_PATH: bigscience/bloom-560m\n          ZH_MODEL_NAME: bloom\n          EN_MODEL_PATH: bigscience/bloom-560m\n          EN_MODEL_NAME: bloom\n          TEST_DATA_PATH_EN: /data/scratch/test_data_colossalqa/companies.txt\n          TEST_DATA_PATH_ZH: /data/scratch/test_data_colossalqa/companies_zh.txt\n          TEST_DOCUMENT_LOADER_DATA_PATH: /data/scratch/test_data_colossalqa/tests/*\n          SQL_FILE_PATH: /data/scratch/test_data_colossalqa/sql_file_path\n", "state": "active", "repository": "hpcaitech/colossalai"}
{"mined_at": "2024-07-15T16:48:54.069957", "created_at": "2021-02-02T13:08:34+01:00", "updated_at": "2022-08-16T17:21:28+02:00", "name": "PR Checks", "path": ".github/workflows/ci.yml", "contents": "name: PR Checks\n\n# Pre-merge CI to run on push and pull_request events, even if this seems\n# redundant, we avoid concurrency with the below configuration.\n#\non:\n  pull_request:\n  workflow_dispatch:\n\n# Use the concurrency feature to ensure we don't run redundant workflows\n#\nconcurrency:\n  group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}\n  cancel-in-progress: true\n\n# Left to-do:\n# - coverage\n# - publishing docs to gh-pages\n# - persistent artifact cache\n# - overnight jobs\n# - wsl tasks (TODO: Check if GitHub's Windows runners allow WSL)\n#\n# New opportunities:\n# - run tests on mac (GitHub provides MacOS runners)\n# - standardize WSL tasks by using GitHub-provided runners\n\njobs:\n  tests:\n    runs-on: ubuntu-20.04\n    continue-on-error: ${{ matrix.allow-failure || false }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n\n        # The names here should map to a valid service defined in\n        # \"../compose/ci.docker-compose.yml\"\n        test-name:\n          - debian-10\n          - fedora-38\n          - fedora-39\n          - fedora-missing-deps\n          - lint\n          - mypy\n\n        include:\n          - test-name: plugins-master\n            allow-failure: true\n\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v2\n        # BuildStream requires tags to be able to find its version.\n        with:\n          fetch-depth: 0\n\n      - name: Run tests with Docker Compose\n        run: |\n          ${GITHUB_WORKSPACE}/.github/run-ci.sh ${{ matrix.test-name }}\n\n  # Matrix of tests which run against remote services which we bring up adjacently\n  service-tests:\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n\n        # The names here map to valid services defined in \"../compose/ci.docker-compose.yml\",\n        # and they also map to corresponding filenames of services which are expected\n        # to be run in the background\n        test-name:\n          - buildbarn\n          - buildgrid\n\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v2\n        # BuildStream requires tags to be able to find its version.\n        with:\n          fetch-depth: 0\n\n      - name: Bring up the RE cluster\n        run: |\n          ${GITHUB_WORKSPACE}/.github/run-ci.sh --service ${{ matrix.test-name }}\n\n  build_docs:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v2\n        # BuildStream requires tags to be able to find its version.\n        with:\n          fetch-depth: 0\n\n      - name: Give `testuser` ownership of the source directory\n        run: sudo chown -R 1000:1000 ${GITHUB_WORKSPACE}\n\n      - name: Build documentation using Docker Compose\n        run: |\n          docker compose \\\n            --env-file ${GITHUB_WORKSPACE}/.github/common.env \\\n            --file ${GITHUB_WORKSPACE}/.github/compose/ci.docker-compose.yml \\\n            run \\\n            docs\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: docs\n          path: doc/build/html\n\n  build_wheels:\n    name: Build Python wheel packages on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Fetch latest BuildBox release\n        run: ${GITHUB_WORKSPACE}/.github/wheel-helpers/fetch-latest-buildbox-release.sh\n\n      - name: Build wheels\n        run: pipx run cibuildwheel==v2.16.2\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: wheels\n          path: ./wheelhouse/*.whl\n\n  test_wheels:\n    name: \"Test Python packages: ${{ matrix.test-name }}\"\n    needs: [build_wheels]\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        # The names here should map to a valid service defined in\n        # \"../compose/ci.docker-compose.yml\"\n        test-name:\n          - wheels-manylinux_2_28-cp37\n          - wheels-manylinux_2_28-cp38\n          - wheels-manylinux_2_28-cp39\n          - wheels-manylinux_2_28-cp310\n          - wheels-manylinux_2_28-cp311\n          - wheels-manylinux_2_28-cp312\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - uses: actions/download-artifact@v3\n        with:\n          name: wheels\n          path: ./wheelhouse\n\n      - name: Run tests with Docker Compose\n        run: |\n          ${GITHUB_WORKSPACE}/.github/run-ci.sh ${{ matrix.test-name }}\n", "state": "active", "repository": "apache/buildstream"}
{"mined_at": "2024-07-15T16:48:55.182318", "created_at": "2021-02-02T13:08:34+01:00", "updated_at": "2021-02-02T13:08:34+01:00", "name": "Merge actions", "path": ".github/workflows/merge.yml", "contents": "name: Merge actions\n\non:\n  push:\n    branches:\n    - master\n\njobs:\n  build_docs:\n    name: \"Build documentation tarball\"\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n      # BuildStream requires tags to be able to find its version.\n      with:\n        fetch-depth: 0\n\n    - name: Give `testuser` ownership of the source directory\n      run: sudo chown -R 1000:1000 ${GITHUB_WORKSPACE}\n\n    - name: Build documentation using Docker Compose\n      run: |\n        docker compose \\\n          --env-file ${GITHUB_WORKSPACE}/.github/common.env \\\n          --file ${GITHUB_WORKSPACE}/.github/compose/ci.docker-compose.yml \\\n          run \\\n          docs\n\n        # Restore permissions to the current user\n        sudo chown -R ${USER} ${GITHUB_WORKSPACE}\n\n        # Include a tarball in the published docs, allowing for\n        # easy re-publishing of master docs on docs.buildstream.build\n        tar -C doc/build/html -zcf docs.tgz .\n\n    - name: Upload artifacts\n      uses: actions/upload-artifact@v2\n      with:\n        name: docs\n        path: |\n          doc/build/html\n          docs.tgz\n\n  publish_docs:\n    needs: build_docs\n    runs-on: ubuntu-20.04\n    steps:\n\n    - name: Download artifact\n      uses: actions/download-artifact@v2\n      with:\n        name: docs\n        path: docs\n\n    - name: Checkout code\n      uses: actions/checkout@v2\n      with:\n        ref: gh-pages\n        path: pages\n        fetch-depth: 0\n\n    - name: Update repo\n      run: |\n\n        # First reset the branch state to the initial commit, this ensures that\n        # we do not pollute the repository with the history of every docs package\n        # we've ever published (history of docs packages for major releases is\n        # also stored as GitHub release assets)\n        #\n        cd pages/\n        git reset --hard GH_PAGES_FIRST_COMMIT\n\n        # Copy the docs asset over and overwrite the orphan gh-pages branch, ensure\n        # that we disable GitHub's jekyll by creating the .nojekyll file, otherwise\n        # it will interfere with the rendering of the site.\n        #\n        cp -a ../docs/doc/build/html/* .\n        cp -a ../docs/docs.tgz .\n        touch .nojekyll\n\n        git add .\n        git config --local user.email \"merge-ci@ponyland\"\n        git config --local user.name  \"Github Actions Nightly Job\"\n        git commit -m \"Update repo for docs build $GITHUB_RUN_NUMBER\"\n        git push --force \"https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git\" gh-pages\n", "state": "active", "repository": "apache/buildstream"}
{"mined_at": "2024-07-15T16:48:56.303517", "created_at": "2021-03-04T11:10:25+01:00", "updated_at": "2023-05-31T12:24:13+02:00", "name": "Release actions", "path": ".github/workflows/release.yml", "contents": "name: Release actions\n\non:\n  push:\n    tags:\n    - '*.*.*'\n\njobs:\n  build_docs:\n    name: \"Build documentation tarball\"\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        # BuildStream requires tags to be able to find its version.\n        with:\n          fetch-depth: 0\n\n      - name: Give `testuser` ownership of the source directory\n        run: sudo chown -R 1000:1000 ${GITHUB_WORKSPACE}\n\n      - name: Build documentation using Docker Compose\n        run: |\n          docker compose \\\n            --env-file ${GITHUB_WORKSPACE}/.github/common.env \\\n            --file ${GITHUB_WORKSPACE}/.github/compose/ci.docker-compose.yml \\\n            run \\\n            docs\n\n          # Restore permissions to the current user\n          sudo chown -R ${USER} ${GITHUB_WORKSPACE}\n\n          tar -C doc/build/html -zcf docs.tgz .\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: docs\n          path: docs.tgz\n\n  build_sdist:\n    name: \"Build Python source distribution tarball\"\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n\n    - name: Build sdist\n      run: pipx run build --sdist\n\n    - uses: actions/upload-artifact@v3\n      with:\n        name: sdist\n        path: dist/*.tar.gz\n\n  build_wheels:\n    name: Build Python wheel packages on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Fetch latest BuildBox release\n        run: ${GITHUB_WORKSPACE}/.github/wheel-helpers/fetch-latest-buildbox-release.sh\n\n      - name: Build wheels\n        run: pipx run cibuildwheel==v2.16.2\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: wheels\n          path: ./wheelhouse/*.whl\n\n  test_wheels:\n    name: \"Test Python packages: ${{ matrix.test-name }}\"\n    needs: [build_wheels]\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        # The names here should map to a valid service defined in\n        # \"../compose/ci.docker-compose.yml\"\n        test-name:\n          - wheels-manylinux_2_28-cp37\n          - wheels-manylinux_2_28-cp38\n          - wheels-manylinux_2_28-cp39\n          - wheels-manylinux_2_28-cp310\n          - wheels-manylinux_2_28-cp311\n          - wheels-manylinux_2_28-cp312\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - uses: actions/download-artifact@v3\n        with:\n          name: wheels\n          path: ./wheelhouse\n\n      - name: Run tests with Docker Compose\n        run: |\n          ${GITHUB_WORKSPACE}/.github/run-ci.sh ${{ matrix.test-name }}\n\n  upload_github_release:\n    name: Upload GitHub release assets\n    needs: [build_docs, build_sdist, build_wheels, test_wheels]\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - uses: actions/download-artifact@v3\n        with:\n          name: docs\n\n      - name: Upload release assets\n        run: |\n          tag_name=\"${GITHUB_REF##*/}\"\n          hub release create -a \"docs.tgz\" -m \"$tag_name\" \"$tag_name\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  upload_pypi_release:\n    name: Upload PyPI release assets\n    needs: [build_docs, build_sdist, build_wheels, test_wheels]\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: sdist\n          path: dist\n\n      - uses: actions/download-artifact@v3\n        with:\n          name: wheels\n          path: dist\n\n      - name: Upload to PyPI\n        run: |\n          pipx run twine upload --repository pypi --username __token__ --password \"${{ secrets.PYPI_TOKEN }}\" dist/*\n", "state": "active", "repository": "apache/buildstream"}
{"mined_at": "2024-07-15T16:48:57.424646", "created_at": "2023-12-05T16:52:01+01:00", "updated_at": "2023-12-05T16:52:01+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "apache/buildstream"}
{"mined_at": "2024-07-15T16:48:59.592258", "created_at": "2020-04-28T20:28:22+02:00", "updated_at": "2020-04-28T20:28:22+02:00", "name": "Tequila-Test-Backends", "path": ".github/workflows/ci_backends.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Tequila-Test-Backends\n\non:\n  push:\n    branches: [ master, devel ]\n  pull_request:\n    branches: [ master, devel ]\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.9']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install basic dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        if [ $ver -eq 7 ]; then\n            # myqlm does not work in python3.7\n            pip install \"cirq\" \"qiskit>=0.30\" \"qulacs\" \"qibo==0.1.1\"\n        elif [ $ver -eq 8 ]; then\n            pip install \"cirq\" \"qiskit>=0.30\" \"qulacs\" \"qibo==0.1.1\" \"myqlm\" \"cirq-google\"\n        fi\n        pip install -e .\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test quantum backends\n      run: | \n        pytest -m \"not dependencies\" tests/test_simulator_backends.py --slow\n        pytest -m \"not dependencies\" tests/test_recompilation_routines.py --slow\n        pytest -m \"not dependencies\" tests/test_noise.py --slow\n        pytest -m \"not dependencies\" tests/test_noise_opt.py --slow\n        pytest -m \"not dependencies\" tests/test_gradient.py --slow\n        pytest -m \"not dependencies\" tests/test_objectives.py --slow\n        pytest -m \"not dependencies\" tests/test_scipy.py --slow\n        pytest -m \"not dependencies\" tests/test_gd_optimizer.py --slow\n        pytest -m \"not dependencies\" tests/test_mappings.py --slow\n\n", "state": "active", "repository": "tequilahub/tequila"}
{"mined_at": "2024-07-15T16:49:00.718384", "created_at": "2020-04-28T20:28:23+02:00", "updated_at": "2020-04-28T20:28:23+02:00", "name": "Tequila-Test-Basic", "path": ".github/workflows/ci_basic.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Tequila-Test-Basic\n\non:\n  push:\n    branches: [ master, devel ]\n  pull_request:\n    branches: [ master, devel ]\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.10']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install basic dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test basic installation\n      run: |\n              pip install -e .\n              pip install pytest\n              cd tests \n              pytest -m \"not dependencies\"\n\n", "state": "active", "repository": "tequilahub/tequila"}
{"mined_at": "2024-07-15T16:49:01.864709", "created_at": "2023-03-07T12:56:32+01:00", "updated_at": "2024-06-06T12:58:18+02:00", "name": "Tequila-Test-Basic-JAX", "path": ".github/workflows/ci_basic_autograd.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Tequila-Test-Basic-JAX\n\non:\n  push:\n    branches: [ master, devel ]\n  pull_request:\n    branches: [ master, devel ]\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.10']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install basic dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip uninstall autograd -y\n        pip install jax jaxlib\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test basic installation\n      run: |\n              pip install -e .\n              pip install pytest\n              cd tests \n              pytest -m \"not dependencies\"\n\n", "state": "active", "repository": "tequilahub/tequila"}
{"mined_at": "2024-07-15T16:49:02.902443", "created_at": "2022-01-23T19:05:12+01:00", "updated_at": "2022-02-01T10:42:41+01:00", "name": "Test-Madness", "path": ".github/workflows/ci_chemistry_madness.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test-Madness\n\non:\n  push:\n    branches: [ master, devel ]\n  pull_request:\n    branches: [ master, devel ]\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: madness basics\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -e .\n        cd tests\n        ls\n        pytest test_chemistry_madness.py\n        cd ../\n    - name: Install and test madness interface\n      run: |\n        echo \"done\"\n        \n        sudo echo \"#!/bin/bash\" > pno_integrals\n        sudo echo \"name=\\$(docker run -t -d kottmanj/mra-pno)\" >> pno_integrals\n        sudo echo \"sudo docker cp input \\$name:/\" >> pno_integrals\n        sudo echo \"sudo docker exec \\$name pno_integrals > pno.out\" >> pno_integrals\n        sudo echo \"sudo docker cp \\$name:molecule_htensor.bin .\" >> pno_integrals \n        sudo echo \"sudo docker cp \\$name:molecule_gtensor.bin .\" >> pno_integrals\n        sudo echo \"sudo docker cp \\$name:pnoinfo.txt .\" >> pno_integrals\n        sudo echo \"sudo docker stop \\$name\" >> pno_integrals\n        sudo echo \"sudo docker rm \\$name\" >> pno_integrals\n        echo \"asd\"\n        \n        cat pno_integrals\n\n        chmod +X pno_integrals\n        #sudo ln -s pno_integrals /usr/sbin/pno_integrals\n        #echo $PATH\n        sudo mkdir /madroot\n        sudo mkdir /madroot/src\n        sudo mkdir /madroot/src/apps/\n        sudo mkdir /madroot/src/apps/pno/\n        sudo mv pno_integrals /madroot/src/apps/pno/\n        export MAD_ROOT_DIR=/madroot/\n        echo $MAD_ROOT_DIR\n        chmod +x ${MAD_ROOT_DIR}/src/apps/pno/pno_integrals\n        ls -l ${MAD_ROOT_DIR}/src/apps/pno/\n\n        echo \"get docker image\"\n        sudo docker pull kottmanj/mra-pno\n        sudo docker images\n\n\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -e .\n        python -m pip install pytest\n        cd tests\n        python test_chemistry_madness.py\n        pytest test_chemistry_madness.py\n        cd ../\n\n", "state": "active", "repository": "tequilahub/tequila"}
{"mined_at": "2024-07-15T16:49:03.960071", "created_at": "2022-01-23T19:05:12+01:00", "updated_at": "2022-02-01T10:42:41+01:00", "name": "Test-Psi4", "path": ".github/workflows/ci_chemistry_psi4.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test-Psi4\n\non:\n  push:\n    branches: [ master, devel ]\n  pull_request:\n    branches: [ master, devel ]\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: madness basics\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -e .\n        cd tests\n        ls\n        pytest test_chemistry_madness.py\n        cd ../\n\n    - name: Install and test Psi4 interface\n      run: |\n        ver=$(python -c\"import sys; print(sys.version_info.minor)\")\n        fullver=$(echo \"3.$ver\")\n        wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;\n        export CONDABASE=$HOME/miniconda\n        bash miniconda.sh -b -p $CONDABASE\n        export PATH=$CONDABASE:$PATH\n        export PATH=\"$CONDABASE/bin:$PATH\"\n        conda update -q conda\n        conda create -n test_psi4 python=$fullver\n        conda init bash\n        bash\n        source $HOME/.bashrc\n        source $CONDABASE/bin/activate\n        conda activate test_psi4\n        conda install psi4 python=3.9 -c conda-forge\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -e .\n        python -m pip install pyscf\n        python -m pip install 'h5py <= 3.1'\n        cd tests\n        ls\n        pytest test_chemistry.py\n        pytest test_adapt.py\n        cd ../\n", "state": "active", "repository": "tequilahub/tequila"}
{"mined_at": "2024-07-15T16:49:05.122083", "created_at": "2022-01-23T19:05:12+01:00", "updated_at": "2022-02-01T10:42:41+01:00", "name": "Test-pyscf", "path": ".github/workflows/ci_chemistry_pyscf.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test-pyscf\n\non:\n  push:\n    branches: [ master, devel ]\n  pull_request:\n    branches: [ master, devel ]\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: madness basics\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -e .\n        cd tests\n        ls\n        pytest test_chemistry_madness.py\n        cd ../\n    - name: Install and test pyscf interface\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -e .\n        python -m pip install pyscf\n        python -m pip install 'h5py <= 3.1'\n        cd tests\n        ls\n        pytest test_chemistry.py test_TrotErr.py  -m \"not dependencies\"\n        pytest test_adapt.py  -m \"not dependencies\"\n        cd ../\n", "state": "active", "repository": "tequilahub/tequila"}
{"mined_at": "2024-07-15T16:49:06.247555", "created_at": "2022-08-01T21:43:13+02:00", "updated_at": "2022-08-01T22:17:15+02:00", "name": "Test-Madness with special conda installer", "path": ".github/workflows/ci_conda_madness.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test-Madness with special conda installer\n\non:\n  push:\n    branches: [ master, devel ]\n  pull_request:\n    branches: [ master, devel ]\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install and test madness interface with conda\n      run: |\n        ver=$(python -c\"import sys; print(sys.version_info.minor)\")\n        fullver=$(echo \"3.$ver\")\n        wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;\n        export CONDABASE=$HOME/miniconda\n        bash miniconda.sh -b -p $CONDABASE\n        export PATH=$CONDABASE:$PATH\n        export PATH=\"$CONDABASE/bin:$PATH\"\n        conda update -q conda\n        conda create -n madtest python=$fullver\n        conda init bash\n        bash\n        source $HOME/.bashrc\n        source $CONDABASE/bin/activate\n        conda activate madtest\n        conda install madtequila -c kottmann\n\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -e .\n        python -m pip install pytest\n        cd tests\n        python test_chemistry_madness.py\n        pytest test_chemistry_madness.py\n        cd ../\n\n", "state": "active", "repository": "tequilahub/tequila"}
{"mined_at": "2024-07-15T16:49:07.476931", "created_at": "2022-01-19T18:59:54+01:00", "updated_at": "2022-01-20T14:50:33+01:00", "name": "Tequila-Test-ML-Interfaces", "path": ".github/workflows/ci_ml.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Tequila-Test-ML-Interfaces\n\non:\n  push:\n    branches: [ master, devel ]\n  pull_request:\n    branches: [ master, devel ]\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install quantum backends\n      run: |\n              pip install \"qulacs\"\n            \n    - name: Install and test torch interface\n      run: |\n              pip install --upgrade -r requirements.txt\n              pip install -e .\n              pip install --upgrade torch\n\n              pytest tests/test_torch_interface.py\n\n", "state": "active", "repository": "tequilahub/tequila"}
{"mined_at": "2024-07-15T16:49:08.473830", "created_at": "2020-04-28T20:28:23+02:00", "updated_at": "2024-06-06T12:51:11+02:00", "name": "Tequila-Test-Optimizers", "path": ".github/workflows/ci_optimizers.yml", "contents": null, "state": "active", "repository": "tequilahub/tequila"}
{"mined_at": "2024-07-15T16:49:09.712969", "created_at": "2020-04-28T20:28:24+02:00", "updated_at": "2020-04-28T20:28:24+02:00", "name": "Tequila-Test-Pyquil", "path": ".github/workflows/ci_pyquil.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Tequila-Test-Pyquil\n\non:\n  push:\n    branches: [ master, devel ]\n  pull_request:\n    branches: []\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install and run\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade pytest\n        pip install -r requirements.txt\n        pip install \"pyquil<3.0\" # needs updates\n        pip install -e .\n        pip install --upgrade pip 'urllib3<2' # issues with old pyquil version otherwise\n        docker pull rigetti/qvm:edge\n        docker pull rigetti/quilc\n        docker run --rm -itd -p 5555:5555 rigetti/quilc -R\n        docker run --rm -itd -p 5000:5000 rigetti/qvm -S\n        pytest -m \"not dependencies\" tests/test_simulator_backends.py --slow\n        pytest tests/test_recompilation_routines.py --slow\n        pytest -m \"not dependencies\" tests/test_noise.py --slow\n        pytest tests/test_gradient.py --slow\n        pytest tests/test_scipy.py --slow\n        pytest tests/test_mappings.py --slow\n\n", "state": "active", "repository": "tequilahub/tequila"}
{"mined_at": "2024-07-15T16:49:10.858040", "created_at": "2022-10-06T19:48:05+02:00", "updated_at": "2024-07-09T14:50:23+02:00", "name": "Upload Python Package", "path": ".github/workflows/pypi.yml", "contents": "# thanks Justin Connor :-)\n# see here for source: https://justinoconnor.codes/2021/05/02/automated-pypi-package-release-versioning-with-github/\nname: Upload Python Package\n\non:\n  release:\n    types: [released]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install requests\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        # remove qulacs from dependencies (issues with windows and mac)\n        # users need to install themselves if they want it\n       \n        #cat requirements.txt | sed \"s|qulacs|#qulacs|g\" > tmp.txt\n        rm requirements.txt\n        mv tmp.txt requirements.txt\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "tequilahub/tequila"}
{"mined_at": "2024-07-15T16:49:11.971229", "created_at": "2024-07-09T14:49:51+02:00", "updated_at": "2024-07-09T14:49:51+02:00", "name": "Upload Python Package", "path": ".github/workflows/pypi_manual.yml", "contents": null, "state": "active", "repository": "tequilahub/tequila"}
{"mined_at": "2024-07-15T16:49:14.030892", "created_at": "2021-08-29T13:23:47+02:00", "updated_at": "2023-06-01T22:51:26+02:00", "name": "Test Suite", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "yezz123/authx"}
{"mined_at": "2024-07-15T16:49:15.158693", "created_at": "2021-08-29T13:26:08+02:00", "updated_at": "2024-05-24T18:27:16+02:00", "name": "Publish and Tweet", "path": ".github/workflows/release.yml", "contents": "name: Publish and Tweet\n\non:\n  release:\n    types:\n      - created\n\njobs:\n\n  release:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: install\n        run: pip install -U build\n\n      - name: check version\n        id: check-tag\n        uses: samuelcolvin/check-python-version@v4.1\n        with:\n          version_file_path: authx/__init__.py\n\n      - name: build\n        run: python -m build\n\n      - name: Upload package to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n  send-tweet:\n    name: Send Tweet\n    needs: [release]\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: Install dependencies\n        run: pip install tweepy==4.14.0\n\n      - name: Send tweet\n        shell: python\n        run: |\n          import os\n          import re\n          from typing import Optional\n\n          import tweepy\n\n          def get_version(file_path: str = 'authx/__init__.py') -> Optional[str]:\n              version_pattern = r'__version__\\s*=\\s*\"(?P<version>[\\d\\.]+)\"'\n              try:\n                  with open(file_path, 'r') as file:\n                      content = file.read()\n                      if match := re.search(version_pattern, content):\n                          return match['version']\n              except FileNotFoundError:\n                  print(f\"File {file_path} not found.\")\n              return None\n\n          client = tweepy.Client(\n              access_token=os.getenv(\"TWITTER_ACCESS_TOKEN\"),\n              access_token_secret=os.getenv(\"TWITTER_ACCESS_TOKEN_SECRET\"),\n              consumer_key=os.getenv(\"TWITTER_CONSUMER_KEY\"),\n              consumer_secret=os.getenv(\"TWITTER_CONSUMER_SECRET\"),\n          )\n          version = get_version()\n          tweet = os.getenv(\"TWEET\").format(version=version)\n          client.create_tweet(text=tweet)\n\n        env:\n          TWEET: |\n            Authx version {version} is out! 🎉\n\n            https://github.com/yezz123/authx/releases/tag/{version}\n          TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}\n          TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }}\n          TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}\n          TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}\n", "state": "active", "repository": "yezz123/authx"}
{"mined_at": "2024-07-15T16:49:16.122369", "created_at": "2022-09-04T04:48:06+02:00", "updated_at": "2023-06-01T22:51:26+02:00", "name": "Lint and Format", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "yezz123/authx"}
{"mined_at": "2024-07-15T16:49:17.294170", "created_at": "2023-05-22T19:54:23+02:00", "updated_at": "2023-06-01T22:03:10+02:00", "name": "Continuous Integration", "path": ".github/workflows/ci.yml", "contents": "name: Continuous Integration\n\non:\n  push:\n    branches:\n      - main\n  pull_request: {}\n\njobs:\n  mypy:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: setup uv\n        uses: yezz123/setup-uv@v4\n        with:\n          uv-version: \"0.2.11\"\n          uv-venv: \".venv\"\n\n      - name: Install Dependencies\n        run: uv pip install -r requirements/all.txt\n\n      - name: Typecheck with mypy\n        run: bash scripts/mypy.sh\n\n  tests:\n\n    name: test py${{ matrix.python-version }} on ${{ matrix.os }}\n\n    runs-on: ${{ matrix.os }}-latest\n\n\n    strategy:\n\n      matrix:\n\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n        os: [ubuntu, macos, windows]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: setup UV\n        uses: yezz123/setup-uv@v4\n        with:\n          uv-version: \"0.2.11\"\n          uv-venv: \".venv\"\n\n      - name: Install Dependencies\n        run: uv pip install -r requirements/pyproject.txt && uv pip install -r requirements/testing.txt\n\n      - name: Freeze Dependencies\n        run: uv pip freeze\n\n      - name: Test with pytest - ${{ matrix.os }} - py${{ matrix.python-version }}\n        run: bash scripts/test.sh\n        env:\n          CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}-with-deps\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n\n  test-extra:\n\n    name: test py${{ matrix.python-version }} on ${{ matrix.os }} with extra\n\n    runs-on: ${{ matrix.os }}-latest\n\n    services:\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    strategy:\n\n      matrix:\n\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n        os: [ubuntu]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Clone authx extra\n        run: git clone https://github.com/yezz123/authx-extra.git --single-branch\n\n      - name: Update pip\n        run: python -m pip install --upgrade pip\n\n      - name: Test Suite - ${{ matrix.os }} - py${{ matrix.python-version }}\n        run: bash scripts/test_extra.sh\n        env:\n          ENV: test\n          REDIS_URL: \"redis://0.0.0.0:6379\"\n\n  # https://github.com/marketplace/actions/alls-green#why\n  # used for branch protection checks\n  check:\n    if: always()\n\n    needs: [mypy, tests, test-extra]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "yezz123/authx"}
{"mined_at": "2024-07-15T16:49:18.535279", "created_at": "2024-04-02T01:34:21+02:00", "updated_at": "2024-04-02T01:34:21+02:00", "name": "Latest Changes", "path": ".github/workflows/latest-changes.yml", "contents": "# Use the latest-changes action to generate a release.md file with the latest changes.\n\n# Thanks to @tiangolo for the original action, [see here](https://github.com/tiangolo/fastapi/blob/master/.github/workflows/latest-changes.yml).\n\n\nname: Latest Changes\n\non:\n  pull_request_target:\n    branches:\n      - main\n    types:\n      - closed\n  workflow_dispatch:\n    inputs:\n      number:\n        description: PR number\n        required: true\n      debug_enabled:\n        description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'\n        required: false\n        default: 'false'\n\njobs:\n  latest-changes:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n        with:\n          # To allow latest-changes to commit to the main branch\n          token: ${{ secrets.GITHUB_TOKEN }}\n      # Allow debugging with tmate\n      - name: Setup tmate session\n        uses: mxschmitt/action-tmate@v3\n        if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}\n        with:\n          limit-access-to-actor: true\n      - uses: docker://tiangolo/latest-changes:0.3.0\n      # - uses: tiangolo/latest-changes@main\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          latest_changes_file: docs/release.md\n          latest_changes_header: '## Latest Changes'\n          end_regex: '^## '\n          debug_logs: true\n          label_header_prefix: '### '\n", "state": "active", "repository": "yezz123/authx"}
{"mined_at": "2024-07-15T16:49:20.671654", "created_at": "2022-09-28T05:54:51+02:00", "updated_at": "2023-01-31T05:16:50+01:00", "name": "Backend Code Checks", "path": ".github/workflows/backend_checks.yml", "contents": "name: Backend Code Checks\n\non:\n  pull_request:\n    # This only ignores paths if there are _no_ commits on the branch that touch other files\n    paths-ignore:\n      - \"**.md\"\n      - \"clients/**\"\n      - \".vscode/**\"\n  push:\n    branches:\n      - \"main\"\n      - \"release-**\"\n\nenv:\n  IMAGE: ethyca/fides:local\n  DEFAULT_PYTHON_VERSION: \"3.10.13\"\n\njobs:\n  ###############\n  ## Prechecks ##\n  ###############\n  Collect-Tests:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set Up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n          cache: \"pip\"\n\n      - name: Install Nox\n        run: pip install nox>=2022\n\n      - name: Run Static Check\n        run: nox -s collect_tests\n\n  Build:\n    needs: Collect-Tests\n    strategy:\n      matrix:\n        # NOTE: These are the currently supported/tested Python Versions\n        python_version: [\"3.8.18\", \"3.9.18\", \"3.10.13\"]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build container\n        uses: docker/build-push-action@v5\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          context: .\n          build-args: PYTHON_VERSION=${{ matrix.python_version }}\n          target: prod\n          outputs: type=docker,dest=/tmp/python-${{ matrix.python_version }}.tar\n          push: false\n          tags: ${{ env.IMAGE }}\n\n      - name: Upload container\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-${{ matrix.python_version }}\n          path: /tmp/python-${{ matrix.python_version }}.tar\n          retention-days: 1\n\n  ###################\n  ## Static Checks ##\n  ###################\n  Static-Checks:\n    strategy:\n      matrix:\n        session_name:\n          [\n            \"isort\",\n            \"black\",\n            \"mypy\",\n            \"pylint\",\n            \"xenon\",\n            \"check_install\",\n            '\"pytest(nox)\"',\n          ]\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set Up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n          cache: \"pip\"\n\n      - name: Install Nox\n        run: pip install nox>=2022\n\n      - name: Install Dev Requirements\n        run: pip install -r dev-requirements.txt\n\n      - name: Run Static Check\n        run: nox -s ${{ matrix.session_name }}\n\n  ##################\n  ## Performance ##\n  ##################\n  Performance-Checks:\n    needs: Check-Container-Startup\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    steps:\n      - name: Download container\n        uses: actions/download-artifact@v4\n        with:\n          name: python-${{ env.DEFAULT_PYTHON_VERSION }}\n          path: /tmp/\n\n      - name: Load image\n        run: docker load --input /tmp/python-${{ env.DEFAULT_PYTHON_VERSION }}.tar\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set Up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n          cache: \"pip\"\n\n      - name: Install Rust/Cargo\n        run: curl -y https://sh.rustup.rs -sSf | sh\n\n      - name: Install Drill\n        run: cargo install drill\n\n      - name: Install Nox\n        run: pip install nox>=2022\n\n      - name: Run Performance Tests\n        run: nox -s performance_tests\n\n  #################\n  ## Misc Checks ##\n  #################\n  Check-Container-Startup:\n    needs: Build\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - name: Download container\n        uses: actions/download-artifact@v4\n        with:\n          name: python-${{ env.DEFAULT_PYTHON_VERSION }}\n          path: /tmp/\n\n      - name: Load image\n        run: docker load --input /tmp/python-${{ env.DEFAULT_PYTHON_VERSION }}.tar\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set Up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n          cache: \"pip\"\n\n      - name: Install Nox\n        run: pip install nox>=2022\n\n      - name: Run test suite\n        run: nox -s check_container_startup\n\n  Misc-Tests:\n    needs: Check-Container-Startup\n    strategy:\n      matrix:\n        test_selection:\n          - \"check_fides_annotations\"\n          - \"fides_db_scan\"\n          - \"docs_check\"\n          - \"minimal_config_startup\"\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    continue-on-error: true\n    steps:\n      - name: Download container\n        uses: actions/download-artifact@v4\n        with:\n          name: python-${{ env.DEFAULT_PYTHON_VERSION }}\n          path: /tmp/\n\n      - name: Load image\n        run: docker load --input /tmp/python-${{ env.DEFAULT_PYTHON_VERSION }}.tar\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set Up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n          cache: \"pip\"\n\n      - name: Install Nox\n        run: pip install nox>=2022\n\n      - name: Run test suite\n        run: nox -s \"${{ matrix.test_selection }}\"\n\n  ################\n  ## Safe Tests ##\n  ################\n  Safe-Tests:\n    needs: Check-Container-Startup\n    strategy:\n      matrix:\n        python_version: [\"3.8.18\", \"3.9.18\", \"3.10.13\"]\n        test_selection:\n          - \"ctl-not-external\"\n          - \"ops-unit\"\n          - \"ops-integration\"\n          - \"lib\"\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 45\n    continue-on-error: true\n    steps:\n      - name: Download container\n        uses: actions/download-artifact@v4\n        with:\n          name: python-${{ matrix.python_version }}\n          path: /tmp/\n\n      - name: Load image\n        run: docker load --input /tmp/python-${{ matrix.python_version }}.tar\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set Up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n          cache: \"pip\"\n\n      - name: Install Nox\n        run: pip install nox>=2022\n\n      - name: Run test suite\n        run: nox -s \"pytest(${{ matrix.test_selection }})\"\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n\n  ##################\n  ## Unsafe Tests ##\n  ##################\n  # NOTE: Matrixes aren't used here due to the danger of race conditions for external resources\n\n  Pytest-Ctl-External:\n    needs: Check-Container-Startup\n    strategy:\n      max-parallel: 1 # This prevents collisions in shared external resources\n      matrix:\n        python_version: [\"3.8.18\", \"3.9.18\", \"3.10.13\"]\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    # In PRs run with the \"unsafe\" label, or run on a \"push\" event to main\n    if: contains(github.event.pull_request.labels.*.name, 'run unsafe ci checks') || github.event_name == 'push'\n    steps:\n      - name: Download container\n        uses: actions/download-artifact@v4\n        with:\n          name: python-${{ matrix.python_version }}\n          path: /tmp/\n\n      - name: Load image\n        run: docker load --input /tmp/python-${{ matrix.python_version }}.tar\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install Nox\n        run: pip install nox>=2022\n\n      - name: Run external test suite\n        run: nox -s \"pytest(ctl-external)\"\n        env:\n          SNOWFLAKE_FIDESCTL_PASSWORD: ${{ secrets.SNOWFLAKE_FIDESCTL_PASSWORD }}\n          REDSHIFT_FIDESCTL_PASSWORD: ${{ secrets.REDSHIFT_FIDESCTL_PASSWORD }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_CTL_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_CTL_SECRET_ACCESS_KEY }}\n          OKTA_CLIENT_TOKEN: ${{ secrets.OKTA_FIDESCTL_CLIENT_TOKEN }}\n          AWS_DEFAULT_REGION: us-east-1\n          BIGQUERY_CONFIG: ${{ secrets.BIGQUERY_CONFIG }}\n          DYNAMODB_REGION: ${{ secrets.DYNAMODB_REGION }}\n          DYNAMODB_ACCESS_KEY_ID: ${{ secrets.DYNAMODB_ACCESS_KEY_ID }}\n          DYNAMODB_ACCESS_KEY: ${{ secrets.DYNAMODB_ACCESS_KEY }}\n\n  External-Datastores:\n    needs: Check-Container-Startup\n    strategy:\n      max-parallel: 1 # This prevents collisions in shared external resources\n      matrix:\n        python_version: [\"3.8.18\", \"3.9.18\", \"3.10.13\"]\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    # In PRs run with the \"unsafe\" label, or run on a \"push\" event to main\n    if: contains(github.event.pull_request.labels.*.name, 'run unsafe ci checks') || github.event_name == 'push'\n    steps:\n      - name: Download container\n        uses: actions/download-artifact@v4\n        with:\n          name: python-${{ matrix.python_version }}\n          path: /tmp/\n\n      - name: Load image\n        run: docker load --input /tmp/python-${{ matrix.python_version }}.tar\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install Nox\n        run: pip install nox>=2022\n\n      - name: Integration Tests (External)\n        env:\n          BIGQUERY_DATASET: fidesopstest\n          BIGQUERY_KEYFILE_CREDS: ${{ secrets.BIGQUERY_KEYFILE_CREDS }}\n          DYNAMODB_ACCESS_KEY_ID: ${{ secrets.DYNAMODB_ACCESS_KEY_ID }}\n          DYNAMODB_ACCESS_KEY: ${{ secrets.DYNAMODB_ACCESS_KEY }}\n          DYNAMODB_REGION: ${{ secrets.DYNAMODB_REGION }}\n          GOOGLE_CLOUD_SQL_MYSQL_DB_IAM_USER: ${{ secrets.GOOGLE_CLOUD_SQL_MYSQL_DB_IAM_USER }}\n          GOOGLE_CLOUD_SQL_MYSQL_INSTANCE_CONNECTION_NAME: ${{ secrets.GOOGLE_CLOUD_SQL_MYSQL_INSTANCE_CONNECTION_NAME }}\n          GOOGLE_CLOUD_SQL_MYSQL_DATABASE_NAME: ${{ secrets.GOOGLE_CLOUD_SQL_MYSQL_DATABASE_NAME }}\n          GOOGLE_CLOUD_SQL_MYSQL_KEYFILE_CREDS: ${{ secrets.GOOGLE_CLOUD_SQL_MYSQL_KEYFILE_CREDS }}\n          REDSHIFT_TEST_DATABASE: ${{ secrets.REDSHIFT_TEST_DATABASE }}\n          REDSHIFT_TEST_DB_SCHEMA: ${{ secrets.REDSHIFT_TEST_DB_SCHEMA }}\n          REDSHIFT_TEST_HOST: ${{ secrets.REDSHIFT_TEST_HOST }}\n          REDSHIFT_TEST_PASSWORD: ${{ secrets.REDSHIFT_TEST_PASSWORD }}\n          REDSHIFT_TEST_PORT: ${{ secrets.REDSHIFT_TEST_PORT }}\n          REDSHIFT_TEST_USER: ${{ secrets.REDSHIFT_TEST_USER }}\n          SNOWFLAKE_TEST_ACCOUNT_IDENTIFIER: ${{ secrets.SNOWFLAKE_TEST_ACCOUNT_IDENTIFIER }}\n          SNOWFLAKE_TEST_DATABASE_NAME: ${{ secrets.SNOWFLAKE_TEST_DATABASE_NAME }}\n          SNOWFLAKE_TEST_PASSWORD: ${{ secrets.SNOWFLAKE_TEST_PASSWORD }}\n          SNOWFLAKE_TEST_SCHEMA_NAME: ${{ secrets.SNOWFLAKE_TEST_SCHEMA_NAME }}\n          SNOWFLAKE_TEST_USER_LOGIN_NAME: ${{ secrets.SNOWFLAKE_TEST_USER_LOGIN_NAME }}\n          SNOWFLAKE_TEST_WAREHOUSE_NAME: ${{ secrets.SNOWFLAKE_TEST_WAREHOUSE_NAME }}\n\n        run: nox -s \"pytest(ops-external-datastores)\"\n\n  External-SaaS-Connectors:\n    needs: Check-Container-Startup\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    # In PRs run with the \"unsafe\" label, or run on a \"push\" event to main\n    if: contains(github.event.pull_request.labels.*.name, 'run unsafe ci checks') || github.event_name == 'push'\n    permissions:\n      contents: read\n      id-token: write\n    strategy:\n      max-parallel: 1 # This prevents collisions in shared external resources\n      matrix:\n        python_version: [\"3.8.18\", \"3.9.18\", \"3.10.13\"]\n    steps:\n      - name: Download container\n        uses: actions/download-artifact@v4\n        with:\n          name: python-${{ matrix.python_version }}\n          path: /tmp/\n\n      - name: Load image\n        run: docker load --input /tmp/python-${{ matrix.python_version }}.tar\n\n      - name: Install Nox\n        run: pip install nox>=2022\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Get Vault Token\n        uses: hashicorp/vault-action@v2.5.0\n        with:\n          url: ${{ secrets.VAULT_ADDR }}\n          namespace: ${{ secrets.VAULT_NAMESPACE }}\n          method: jwt\n          role: ${{ secrets.VAULT_ROLE }}\n          exportToken: True\n\n      - name: SaaS Connector Tests\n        env:\n          VAULT_ADDR: ${{ secrets.VAULT_ADDR }}\n          VAULT_NAMESPACE: ${{ secrets.VAULT_NAMESPACE }}\n        run: nox -s \"pytest(ops-saas)\"\n", "state": "active", "repository": "ethyca/fides"}
{"mined_at": "2024-07-15T16:49:21.702511", "created_at": "2022-10-25T04:03:10+02:00", "updated_at": "2022-10-29T00:13:04+02:00", "name": "CLI Command Checks", "path": ".github/workflows/cli_checks.yml", "contents": "# This file is used for testing various CLI commands,\n# either for development or users, that may otherwise be\n# difficult to test in a programmatic way or require\n# significant amounts of setup\nname: CLI Command Checks\n\non:\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n      - \"clients/**\"\n      - \".vscode/**\"\n  push:\n    branches:\n      - \"main\"\n      - \"release-**\"\n\nenv:\n  DEFAULT_PYTHON_VERSION: \"3.10.13\"\n\njobs:\n  # Basic smoke test of a local install of the fides Python CLI\n  Fides-Install:\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n\n      - name: Install Nox\n        run: pip install nox>=2022\n\n      - name: Install fides\n        run: pip install .\n\n      - name: Run `fides --version`\n        run: fides --version\n", "state": "active", "repository": "ethyca/fides"}
{"mined_at": "2024-07-15T16:49:22.774697", "created_at": "2022-10-06T15:37:18+02:00", "updated_at": "2022-10-06T18:19:03+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '00 6 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "ethyca/fides"}
{"mined_at": "2024-07-15T16:49:23.819146", "created_at": "2023-01-27T20:49:08+01:00", "updated_at": "2023-02-10T19:56:34+01:00", "name": "Cypress E2E Tests", "path": ".github/workflows/cypress_e2e.yml", "contents": "name: Cypress E2E Tests\n\non:\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n  push:\n    branches:\n      - \"main\"\n      - \"release-**\"\n\nenv:\n  CI: true\n\njobs:\n  Cypress-E2E:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [20.x]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install Nox\n        run: pip install nox>=2022\n\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n\n      - name: Start test environment in the background\n        run: nox -s \"fides_env(test)\" -- keep_alive\n\n      - name: Install dependencies\n        run: |\n          cd clients/cypress-e2e\n          npm install\n\n      - name: Cypress E2E tests\n        uses: cypress-io/github-action@v6\n        with:\n          working-directory: clients/cypress-e2e\n          install: false\n          wait-on: \"http://localhost:8080, http://localhost:3001\"\n          record: true\n        env:\n          # pass the Cypress Cloud record key as an environment variable\n          CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}\n          # pass GitHub token to allow accurately detecting a build vs a re-run build\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Teardown\n        run: nox -s teardown\n", "state": "active", "repository": "ethyca/fides"}
{"mined_at": "2024-07-15T16:49:25.017830", "created_at": "2022-09-28T05:54:51+02:00", "updated_at": "2023-04-29T14:00:39+02:00", "name": "Frontend Code Checks", "path": ".github/workflows/frontend_checks.yml", "contents": "name: Frontend Code Checks\n\non:\n  pull_request:\n    paths:\n      - \"clients/**\"\n      - \".github/workflows/frontend_checks.yml\"\n  push:\n    branches:\n      - \"main\"\n      - \"release-**\"\n\nenv:\n  CI: true\n\njobs:\n  Clients-Unit:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [20.x]\n        clients:\n          - \"admin-ui\"\n          - \"privacy-center\"\n          - \"fides-js\"\n    defaults:\n      run:\n        working-directory: clients\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n\n      - name: Install dependencies\n        run: npm install\n\n      - name: Lint\n        run: npm run lint\n\n      - name: Format\n        run: npm run format:ci\n\n      - name: Build\n        run: npm run build\n\n      - name: Unit test (${{ matrix.clients }})\n        working-directory: clients/${{ matrix.clients }}\n        run: npm run test:ci\n\n  Clients-Cypress:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [20.x]\n        clients:\n          - \"admin-ui\"\n          - \"privacy-center\"\n    defaults:\n      run:\n        working-directory: clients\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n\n      - name: Install dependencies\n        run: npm install\n\n      - name: Build\n        run: npm run build\n\n      - name: Cypress E2E Tests (${{ matrix.clients }})\n        uses: cypress-io/github-action@v4\n        with:\n          working-directory: clients/${{ matrix.clients }}\n          install: false\n          start: npm run cy:start\n          wait-on: \"http://localhost:${{ matrix.clients == 'privacy-center' && 3001 || 3000 }}\"\n          wait-on-timeout: 180\n\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: cypress-videos-${{ matrix.clients }}\n          path: /home/runner/work/fides/fides/clients/${{ matrix.clients }}/cypress/videos/*.mp4\n\n  Clients-Cypress-Component:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [20.x]\n        clients:\n          - \"admin-ui\"\n    defaults:\n      run:\n        working-directory: clients\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n\n      - name: Install dependencies\n        run: npm install\n\n      - name: Build\n        run: npm run build\n\n      - name: Cypress Component Tests (${{ matrix.clients }})\n        uses: cypress-io/github-action@v4\n        with:\n          working-directory: clients/${{ matrix.clients }}\n          install: false\n          component: true\n", "state": "active", "repository": "ethyca/fides"}
{"mined_at": "2024-07-15T16:49:26.115605", "created_at": "2022-09-12T06:38:10+02:00", "updated_at": "2023-06-22T01:12:50+02:00", "name": "Publish Docker Images", "path": ".github/workflows/publish_docker.yaml", "contents": "name: Publish Docker Images\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n\nenv:\n  DOCKER_USER: ethycaci\n  DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}\n\njobs:\n  ParseTags:\n    runs-on: ubuntu-latest\n    outputs:\n      prod_tag: ${{ steps.check-prod-tag.outputs.match }}\n      rc_tag: ${{ steps.check-rc-tag.outputs.match }}\n      alpha_tag: ${{ steps.check-alpha-tag.outputs.match }}\n      beta_tag: ${{ steps.check-beta-tag.outputs.match }}\n    steps:\n      - name: Check Prod Tag\n        id: check-prod-tag\n        run: |\n          if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+$ ]]; then\n            echo \"match=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"match=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Check RC Tag\n        id: check-rc-tag\n        run: |\n          if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+rc[0-9]+$ ]]; then\n            echo \"match=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"match=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Check alpha Tag\n        id: check-alpha-tag\n        run: |\n          if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+a[0-9]+$ ]]; then\n            echo \"match=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"match=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Check beta Tag\n        id: check-beta-tag\n        run: |\n          if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+b[0-9]+$ ]]; then\n            echo \"match=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"match=false\" >> $GITHUB_OUTPUT\n          fi\n\n  Push:\n    runs-on: ubuntu-latest\n    needs: ParseTags\n    strategy:\n      # This matrix will effectively _try_ to run every permutation in parallel,\n      # skipping all of the tasks that don't match. This leaves a ton of \"skipped\" jobs\n      # but is the fastest way to get this working without overhauling the tag check logic.\n      matrix:\n        application: [\"fides\", \"sample_app\", \"privacy_center\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # This is required to properly tag images\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ env.DOCKER_USER }}\n          password: ${{ env.DOCKER_TOKEN }}\n\n      - name: Install Dev Requirements\n        run: pip install -r dev-requirements.txt\n\n      # if neither prod, rc, beta or alpha git tag, then push images with the \":dev\" tag\n      # these dev images do not need a versioned/git-tagged image\n      - name: Push Fides Dev Tag\n        if: needs.ParseTags.outputs.prod_tag == 'false' && needs.ParseTags.outputs.rc_tag == 'false' && needs.ParseTags.outputs.beta_tag == 'false' && needs.ParseTags.outputs.alpha_tag == 'false'\n        run: nox -s \"push(${{ matrix.application }},dev)\"\n\n      # if a prod git tag, then we run the prod job to publish images tagged with the version number and a constant \":latest\" tag\n      # prod pushes a versioned image, git-tagged images not needed\n      - name: Push Fides Prod Tags\n        if: needs.ParseTags.outputs.prod_tag == 'true'\n        run: nox -s \"push(${{ matrix.application }},prod)\"\n\n      # if an RC git tag, then we run the rc job to publish images with an \":rc\" tag\n      # git-tagged images are also pushed\n      - name: Push Fides RC Tags\n        if: needs.ParseTags.outputs.rc_tag == 'true'\n        run: nox -s \"push(${{ matrix.application }},rc)\" -- git_tag\n\n      # if an alpha or beta git tag, then we run the prerelease job to publish images with an \":prerelease\" tag\n      # git-tagged images are also pushed\n      - name: Push Fides prerelease Tags\n        if: needs.ParseTags.outputs.alpha_tag == 'true' || needs.ParseTags.outputs.beta_tag == 'true'\n        run: nox -s \"push(${{ matrix.application }},prerelease)\" -- git_tag\n\n\n  NotifyRedeploy:\n    runs-on: ubuntu-latest\n    needs: Push\n    steps:\n      # if an RC git tag, also notify Fidesinfra to trigger a redeploy of rc env, to pick up our newly published images\n      - name: Send Repository Dispatch Event (RC redeploy)\n        if: needs.ParseTags.outputs.rc_tag == 'true'\n        uses: peter-evans/repository-dispatch@v2\n        with:\n          event-type: trigger-fidesinfra-deploy-fides-rc\n          repository: ethyca/fidesinfra\n          token: ${{ secrets.DISPATCH_ACCESS_TOKEN }}\n", "state": "active", "repository": "ethyca/fides"}
{"mined_at": "2024-07-15T16:49:27.342786", "created_at": "2021-09-21T08:08:45+02:00", "updated_at": "2022-02-20T06:10:32+01:00", "name": "Publish Docs", "path": ".github/workflows/publish_docs.yaml", "contents": "name: Publish Docs\n\non:\n  push:\n    branches:\n      - main\n  release:\n    types: [published]\n\nenv:\n  TAG: ${{ github.event.release.tag_name }}\n  PROD_PUBLISH: true\n\njobs:\n  publish_docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Echo the Release Tag\n        run: echo ${{ env.TAG }}\n\n      - name: Install Nox\n        run: pip install nox>=2022\n\n      - name: Install Docs Requirements\n        run: pip install -r docs/fides/requirements.txt\n        \n      - name: Install fides\n        run: pip install -e ./[all]\n\n      - name: Checkout the gh-pages branches\n        run: git fetch origin gh-pages --depth=1\n\n      - name: Build docs\n        run: nox -s generate_docs\n\n      # This is required by \"mike\"\n      - name: Set the Git Username & Email\n        run: |\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n\n      # Deploys docs without a version in the URL for legacy links\n      # This will match the \"stable\" version of the versioned docs\n\n      - name: Deploy the Legacy Docs if a Release is Published\n        if: ${{ env.TAG }}\n        run: mkdocs gh-deploy -v -f docs/fides/mkdocs.yml --force\n\n      - name: Deploy Stable Docs if a Release is Published\n        if: ${{ env.TAG }}\n        run: mike deploy --config-file docs/fides/mkdocs.yml --push --update-aliases ${{ env.TAG }} stable\n\n      # This will match \"stable\" when a new release is cut\n      - name: Deploy Dev Docs\n        run: mike deploy --config-file docs/fides/mkdocs.yml --push dev\n\n      - name: Set Default Version\n        run: mike set-default --config-file docs/fides/mkdocs.yml --push stable\n", "state": "active", "repository": "ethyca/fides"}
{"mined_at": "2024-07-15T16:49:28.510345", "created_at": "2021-12-01T23:38:34+01:00", "updated_at": "2023-04-13T21:15:40+02:00", "name": "Publish Fides", "path": ".github/workflows/publish_package.yaml", "contents": "name: Publish Fides\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n\njobs:\n  upload_to_pypi:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # This is required to properly tag packages\n\n      - name: Setup Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Use Node.js 20\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - name: Install node modules\n        run: |\n          cd clients\n          npm install\n\n      - name: Build and export frontend files\n        run: |\n          cd clients\n          npm run prod-export-admin-ui\n\n      - name: Install Twine and wheel\n        run: pip install twine wheel\n\n      # The git reset is required here because the build modifies\n      # egg-info and the wheel becomes a dirty version\n      - name: Build the sdist\n        run: |\n          python setup.py sdist\n          git reset --hard\n\n      - name: Build the wheel\n        run: python setup.py bdist_wheel\n\n\n      - name: Check Prod Tag\n        id: check-prod-tag\n        run: |\n          if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+$ ]]; then\n            echo \"match=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"match=false\" >> $GITHUB_OUTPUT\n          fi\n      - name: Check RC Tag\n        id: check-rc-tag\n        run: |\n          if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+rc[0-9]+$ ]]; then\n            echo \"match=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"match=false\" >> $GITHUB_OUTPUT\n          fi\n      - name: Check alpha Tag\n        id: check-alpha-tag\n        run: |\n          if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+a[0-9]+$ ]]; then\n            echo \"match=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"match=false\" >> $GITHUB_OUTPUT\n          fi\n      - name: Check beta Tag\n        id: check-beta-tag\n        run: |\n          if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+b[0-9]+$ ]]; then\n            echo \"match=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"match=false\" >> $GITHUB_OUTPUT\n          fi\n\n      # Prod, 'rc' and 'beta' tags go to PyPI; 'alpha', all other tags and untagged commits go to TestPyPI\n      #   2.10.0 (prod tag, official release commit) --> PyPI\n      #   2.10.0b1 (beta tag, used on main) --> PyPI\n      #   2.10.0.rc0 (rc tag, used on release branches before release is cut) --> PyPI\n      #   2.10.0.a0 (alpha tag, used on feature branches) --> TestPyPI\n      #   2.10.0.dev0 (no match, arbitrary dev tag) --> TestPyPI\n      #   no tag, just a vanilla commit/merge pushed to `main` --> TestPyPI\n\n      # Upload to TestPyPI if it is not a release (prod), rc or beta tag\n      - name: Upload to test pypi\n        if: steps.check-prod-tag.outputs.match == 'false' && steps.check-rc-tag.outputs.match == 'false' && steps.check-beta-tag.outputs.match == 'false'\n        run: twine upload --verbose --repository testpypi dist/*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}\n\n      # If the tag matches either a release, rc or a beta tag, allow publishing to PyPi:\n      - name: Upload to pypi\n        if: steps.check-prod-tag.outputs.match == 'true' || steps.check-rc-tag.outputs.match == 'true' || steps.check-beta-tag.outputs.match == 'true'\n        run: twine upload --verbose dist/*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n\n      # Notify Fidesplus about a feature tag to trigger an integrated build on an alpha/beta tag\n      - name: Send Repository Dispatch Event\n        # only run on an alpha or beta tag\n        if: steps.check-alpha-tag.outputs.match == 'true' || steps.check-beta-tag.outputs.match == 'true'\n        uses: peter-evans/repository-dispatch@v2\n        with:\n          client-payload: '{\"tag\": \"${{ github.ref_name }}\"}'\n          event-type: new-fides-feature-tag\n          repository: ethyca/fidesplus\n          token: ${{ secrets.DISPATCH_ACCESS_TOKEN }}\n", "state": "active", "repository": "ethyca/fides"}
{"mined_at": "2024-07-15T16:49:29.546378", "created_at": "2022-07-25T19:43:46+02:00", "updated_at": "2022-11-02T06:48:39+01:00", "name": "Notify Downstream Projects of Release", "path": ".github/workflows/release_event.yml", "contents": "name: Notify Downstream Projects of Release\n\non:\n  release:\n    types: [released]\n\njobs:\n  fidesplus:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Send Repository Dispatch Event\n        uses: peter-evans/repository-dispatch@v2\n        with:\n          client-payload: '{\"tag\": \"${{ github.event.release.tag_name }}\", \"url\": \"${{ github.event.release.html_url }}\"}'\n          event-type: new-fides-release\n          repository: ethyca/fidesplus\n          token: ${{ secrets.DISPATCH_ACCESS_TOKEN }}\n\n  fidesdocs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Send Repository Dispatch Event\n        uses: peter-evans/repository-dispatch@v2\n        with:\n          client-payload: '{\"tag\": \"${{ github.event.release.tag_name }}\", \"url\": \"${{ github.event.release.html_url }}\"}'\n          event-type: new-fides-release\n          repository: ethyca/fidesdocs\n          token: ${{ secrets.DISPATCH_ACCESS_TOKEN }}\n\n  fides-helm:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Send Repository Dispatch Event\n        uses: peter-evans/repository-dispatch@v2\n        with:\n          client-payload: '{\"tag\": \"${{ github.event.release.tag_name }}\", \"url\": \"${{ github.event.release.html_url }}\"}'\n          event-type: new-fides-release\n          repository: ethyca/fides-helm\n          token: ${{ secrets.DISPATCH_ACCESS_TOKEN }}\n", "state": "active", "repository": "ethyca/fides"}
{"mined_at": "2024-07-15T16:49:30.577481", "created_at": "2021-12-20T17:40:12+01:00", "updated_at": "2021-12-20T17:40:12+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ethyca/fides"}
{"mined_at": "2024-07-15T16:49:33.768506", "created_at": "2022-01-14T18:56:11+01:00", "updated_at": "2022-01-17T14:58:49+01:00", "name": "CI", "path": ".github/workflows/CI.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - \"main\"\n  schedule:\n    - cron: \"0 0 * * 0\" # Run every Sunday at 0:00\n\njobs:\n  test:\n    runs-on: \"ubuntu-latest\"\n    defaults: # Needed for conda\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Check out\n        uses: actions/checkout@v2\n\n      - name: Create a conda environment\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          activate-environment: torchmd-net\n          environment-file: environment.yml\n          miniforge-variant: Mambaforge\n          use-mamba: true\n\n      - name: Install the package\n        run: pip -vv install .\n\n      - name: List the conda environment\n        run: conda list\n\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n      - name: Run tests\n        run: pytest -v -s\n\n      - name: Test torchmd-train utility\n        run: torchmd-train --help\n          \n", "state": "active", "repository": "torchmd/torchmd-net"}
{"mined_at": "2024-07-15T16:49:35.064332", "created_at": "2023-11-15T12:30:03+01:00", "updated_at": "2023-11-16T12:35:54+01:00", "name": "Build Documentation", "path": ".github/workflows/docs_build.yaml", "contents": "name: Build Documentation\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - \"main\"\n\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Env\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-file: environment.yml\n        init-shell: bash\n        generate-run-shell: true\n\n    - name: Install docs dependencies\n      run: |\n        pip install -vv .\n        pip install -r docs/requirements.txt\n      shell: bash -el {0}\n      \n    - name: Build Sphinx Documentation\n      run: |\n        cd docs\n        make html\n      shell: bash -el {0}\n", "state": "active", "repository": "torchmd/torchmd-net"}
{"mined_at": "2024-07-15T16:49:37.622344", "created_at": "2022-08-23T12:45:52+02:00", "updated_at": "2022-08-25T20:20:00+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "name: Codespell\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: codespell-project/actions-codespell@master\n        with:\n          ignore_words_list: ro,fo,couldn,repositor,zeor\n          skip: \"./repos/system_upgrade/common/actors/storagescanner/tests/files/mounts,\\\n            ./repos/system_upgrade/el7toel8/actors/networkmanagerreadconfig/tests/files/nm_cfg_file_error,\\\n            ./repos/system_upgrade/el8toel9/actors/xorgdrvfact/tests/files/journalctl-xorg-intel,\\\n            ./repos/system_upgrade/el8toel9/actors/xorgdrvfact/tests/files/journalctl-xorg-qxl,\\\n            ./repos/system_upgrade/el8toel9/actors/xorgdrvfact/tests/files/journalctl-xorg-without-qxl,\\\n            ./repos/system_upgrade/common/actors/scancpu/tests/files,\\\n            ./etc/leapp/files/device_driver_deprecation_data.json,\\\n            ./etc/leapp/files/pes-events.json,\\\n            ./etc/leapp/files/repomap.json,\\\n            ./repos/system_upgrade/common/files/prod-certs\"\n", "state": "active", "repository": "oamg/leapp-repository"}
{"mined_at": "2024-07-15T16:49:38.671751", "created_at": "2022-08-26T10:32:24+02:00", "updated_at": "2023-01-05T11:51:52+01:00", "name": "Differential ShellCheck", "path": ".github/workflows/differential-shellcheck.yml", "contents": "---\n# https://github.com/redhat-plumbers-in-action/differential-shellcheck#readme\n\nname: Differential ShellCheck\non:\n  pull_request:\n    branches: [master]\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    permissions:\n      security-events: write\n      pull-requests: write\n\n    steps: \n      - name: Repository checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Differential ShellCheck\n        uses: redhat-plumbers-in-action/differential-shellcheck@v5\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "oamg/leapp-repository"}
{"mined_at": "2024-07-15T16:49:39.850608", "created_at": "2021-06-21T10:29:27+02:00", "updated_at": "2021-06-21T10:29:27+02:00", "name": "PR welcome message", "path": ".github/workflows/pr-welcome-msg.yml", "contents": "# IMPORTANT NOTE\n# In this workflow there should NOT be checkout action - because of security reasons.\n# More info:\n# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target\n# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n\nname: PR welcome message\non:\n  pull_request_target:\n    types: opened\n\njobs:\n  pr_comment:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create comment\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            ## **Thank you for contributing to the Leapp project!**\n            Please note that every PR needs to comply with the [Leapp Guidelines](https://leapp.readthedocs.io/en/latest/contributing.html#) and must pass all tests in order to be mergeable.\n            If you want to request a review or rebuild a package in copr, you can use following commands as a comment:\n            - **`review please @oamg/developers`** to notify leapp developers of the review request\n            - **`/packit copr-build`** to submit a public copr build using packit\n\n            Packit will automatically schedule regression tests for this PR's build and latest upstream leapp build.\n            However, here are additional useful commands for packit:\n            - **`/packit test`** to re-run manually the default tests\n            - **`/packit retest-failed`** to re-run failed tests manually\n            - **`/packit test oamg/leapp#42`** to run tests with leapp builds for the leapp PR#42 (default is latest upstream - master - build)\n\n            Note that first time contributors cannot run tests automatically - they need to be started by a reviewer.\n\n            It is possible to schedule specific on-demand tests as well. Currently 2 test sets are supported, `beaker-minimal` and `kernel-rt`, both can be used to be run on all upgrade paths or just a couple of specific ones.\n            To launch on-demand tests with packit:\n            - **`/packit test --labels kernel-rt`** to schedule `kernel-rt` tests set for all upgrade paths\n            - **`/packit test --labels beaker-minimal-8.10to9.4,kernel-rt-8.10to9.4`** to schedule `kernel-rt` and `beaker-minimal` test sets for 8.10->9.4 upgrade path\n\n            See other labels for particular jobs defined in the `.packit.yaml` file.\n\n            Please [open ticket](https://url.corp.redhat.com/oamg-ci-issue) in case you experience technical problem with the CI. (RH internal only)\n\n            **Note:** In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please contact leapp-infra.\n", "state": "active", "repository": "oamg/leapp-repository"}
{"mined_at": "2024-07-15T16:49:41.025385", "created_at": "2022-06-08T13:58:56+02:00", "updated_at": "2022-06-08T13:58:56+02:00", "name": "reuse-copr-build@TF", "path": ".github/workflows/reuse-copr-build.yml", "contents": "name: reuse-copr-build@TF\n\non:\n  workflow_call:\n    secrets:\n      FEDORA_COPR_LOGIN:\n        required: true\n      FEDORA_COPR_TOKEN:\n        required: true\n    outputs:\n      artifacts:\n        description: \"A string with test artifacts to install in tft test env\"\n        value: ${{ jobs.reusable_workflow_copr_build_job.outputs.artifacts }}\n\njobs:\n  reusable_workflow_copr_build_job:\n    # This job only runs for '/rerun' pull request comments by owner, member, or collaborator of the repo/organization.\n    name: Build copr builds for tft tests\n    runs-on: ubuntu-22.04\n    outputs:\n      artifacts: ${{ steps.gen_artifacts.outputs.artifacts }}\n    if: |\n      github.event.issue.pull_request\n      && startsWith(github.event.comment.body, '/rerun')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n    steps:\n      - name: Update repository\n        id: repo_update\n        run: sudo apt-get update\n\n      - name: Install necessary deps\n        id: deps_install\n        run: sudo apt-get install -y libkrb5-dev\n\n      - name: Get pull request number\n        id: pr_nr\n        run: |\n          PR_URL=\"${{ github.event.comment.issue_url }}\"\n          echo \"::set-output name=pr_nr::${PR_URL##*/}\"\n\n      - name: Checkout\n        # TODO: The correct way to checkout would be to use similar approach as in get_commit_by_timestamp function of\n        #       the github gluetool module (i.e. do not use HEAD but the last commit before comment).\n        id: checkout\n        uses: actions/checkout@v4\n        with:\n          ref: \"refs/pull/${{ steps.pr_nr.outputs.pr_nr }}/head\"\n\n      - name: Get ref and sha\n        id: ref_sha\n        run: |\n          echo \"::set-output name=sha::$(git rev-parse --short HEAD)\"\n          echo \"::set-output name=ref::refs/pull/${{ steps.pr_nr.outputs.pr_nr }}/head\"\n\n      - name: Trigger copr build\n        id: copr_build\n        env:\n          COPR_CONFIG: \"copr_fedora.conf\"\n          COPR_CHROOT: \"epel-7-x86_64,epel-8-x86_64\"\n          COPR_REPO: \"@oamg/leapp\"\n        run: |\n          cat << EOF > $COPR_CONFIG\n          [copr-cli]\n          login = ${{ secrets.FEDORA_COPR_LOGIN }}\n          username = oamgbot\n          token = ${{ secrets.FEDORA_COPR_TOKEN }}\n          copr_url = https://copr.fedorainfracloud.org\n          # expiration date: 2030-07-04\n          EOF\n\n          pip install copr-cli\n          PR=${{ steps.pr_nr.outputs.pr_nr }} COPR_CONFIG=$COPR_CONFIG COPR_REPO=\"$COPR_REPO\" COPR_CHROOT=$COPR_CHROOT make copr_build | tee copr.log\n\n          COPR_URL=$(grep -Po 'https://copr.fedorainfracloud.org/coprs/build/\\d+' copr.log)\n          echo \"::set-output name=copr_url::${COPR_URL}\"\n          echo \"::set-output name=copr_id::${COPR_URL##*/}\"\n\n      - name: Add comment with copr build url\n        # TODO: Create comment when copr build fails.\n        id: link_copr\n        uses: actions/github-script@v7\n        with:\n          script: |\n            github.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Copr build succeeded: ${{ steps.copr_build.outputs.copr_url }}'\n            })\n\n      - name: Get dependent leapp pr number from rerun comment\n        uses: actions-ecosystem/action-regex-match@v2\n        id: leapp_pr_regex_match\n        with:\n          text: ${{ github.event.comment.body }}\n          regex: '^/(rerun|rerun-sst)\\s+([0-9]+)\\s*$'\n\n      - name: If leapp_pr was specified in the comment - trigger copr build\n        # TODO: XXX FIXME This should schedule copr build for leapp but for now it will be just setting an env var\n        id: leapp_pr\n        if: ${{ steps.leapp_pr_regex_match.outputs.match != '' }}\n        run: |\n          echo \"::set-output name=leapp_pr::${{ steps.leapp_pr_regex_match.outputs.group2 }}\"\n\n      - name: Checkout leapp\n        id: checkout_leapp\n        if: ${{ steps.leapp_pr_regex_match.outputs.match != '' }}\n        uses: actions/checkout@v4\n        with:\n          repository: \"oamg/leapp\"\n          ref: \"refs/pull/${{ steps.leapp_pr.outputs.leapp_pr }}/head\"\n\n      - name: Get ref and sha for leapp\n        id: ref_sha_leapp\n        if: ${{ steps.leapp_pr_regex_match.outputs.match != '' }}\n        run: |\n          echo \"::set-output name=sha::$(git rev-parse --short HEAD)\"\n          echo \"::set-output name=ref::refs/pull/${{ steps.leapp_pr.outputs.leapp_pr }}/head\"\n\n      - name: Trigger copr build for leapp\n        id: copr_build_leapp\n        if: ${{ steps.leapp_pr_regex_match.outputs.match != '' }}\n        env:\n          COPR_CONFIG: \"copr_fedora.conf\"\n          COPR_CHROOT: \"epel-7-x86_64,epel-8-x86_64\"\n          COPR_REPO: \"@oamg/leapp\"\n        run: |\n          cat << EOF > $COPR_CONFIG\n          [copr-cli]\n          login = ${{ secrets.FEDORA_COPR_LOGIN }}\n          username = oamgbot\n          token = ${{ secrets.FEDORA_COPR_TOKEN }}\n          copr_url = https://copr.fedorainfracloud.org\n          # expiration date: 2030-07-04\n          EOF\n\n          pip install copr-cli\n          PR=${{ steps.leapp_pr.outputs.leapp_pr }} COPR_CONFIG=$COPR_CONFIG COPR_REPO=\"$COPR_REPO\" COPR_CHROOT=$COPR_CHROOT make copr_build | tee copr.log\n\n          COPR_URL=$(grep -Po 'https://copr.fedorainfracloud.org/coprs/build/\\d+' copr.log)\n          echo \"::set-output name=copr_url::${COPR_URL}\"\n          echo \"::set-output name=copr_id::${COPR_URL##*/}\"\n\n      - name: Add comment with copr build url for leapp\n        # TODO: Create comment when copr build fails.\n        id: link_copr_leapp\n        if: ${{ steps.leapp_pr_regex_match.outputs.match != '' }}\n        uses: actions/github-script@v7\n        with:\n          script: |\n            github.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Copr build succeeded: ${{ steps.copr_build_leapp.outputs.copr_url }}'\n            })\n\n      - name: Generate artifacts output\n        id: gen_artifacts\n        env:\n          ARTIFACTS: ${{ steps.leapp_pr_regex_match.outputs.match != '' && format('{0};{1}', steps.copr_build_leapp.outputs.copr_id, steps.copr_build.outputs.copr_id) || steps.copr_build.outputs.copr_id }}\n        run: |\n          echo \"::set-output name=artifacts::${{ env.ARTIFACTS }}\"\n", "state": "active", "repository": "oamg/leapp-repository"}
{"mined_at": "2024-07-15T16:49:42.047020", "created_at": "2021-06-18T12:23:59+02:00", "updated_at": "2021-06-18T12:23:59+02:00", "name": "tmt@TF", "path": ".github/workflows/tmt-tests.yml", "contents": "name: tmt@TF\n\non:\n  issue_comment:\n    types:\n      - created\n\njobs:\n  call_workflow_copr_build:\n    uses: ./.github/workflows/reuse-copr-build.yml\n    secrets: inherit\n\n  call_workflow_tests_79to88_integration:\n    needs: call_workflow_copr_build\n    uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@master\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*8to9)(?!.*max_sst)\"\n      pull_request_status_name: \"7.9to8.8\"\n      variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.8;LEAPPDATA_BRANCH=upstream'\n    if: |\n      github.event.issue.pull_request\n      && ! startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_79to86_integration:\n    needs: call_workflow_copr_build\n    uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@master\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*max_sst)(.*tier1)\"\n      variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.6;LEAPPDATA_BRANCH=upstream'\n      pull_request_status_name: \"7.9to8.6\"\n    if: |\n      github.event.issue.pull_request\n      && ! startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_79to88_sst:\n    needs: call_workflow_copr_build\n    uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@master\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*tier[2-3].*)(.*max_sst.*)\"\n      pull_request_status_name: \"7.9to8.8-sst\"\n      update_pull_request_status: 'false'\n      variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.8;LEAPPDATA_BRANCH=upstream'\n    if: |\n      github.event.issue.pull_request\n      && startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_7to8_aws:\n    needs: call_workflow_copr_build\n    uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@master\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*8to9)(.*e2e)\"\n      compose: \"RHEL-7.9-rhui\"\n      environment_settings: '{\"provisioning\": {\"post_install_script\": \"#!/bin/sh\\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; echo 42; yum-config-manager --enable rhel-7-server-rhui-optional-rpms\"}}'\n      pull_request_status_name: \"7to8-aws-e2e\"\n      variables: \"SOURCE_RELEASE=7.9;TARGET_RELEASE=8.6;RHUI=aws;LEAPPDATA_BRANCH=upstream\"\n    if: |\n      github.event.issue.pull_request\n      && ! startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_86to90_integration:\n    needs: call_workflow_copr_build\n    uses: oamg/leapp/.github/workflows/reuse-tests-8to9.yml@master\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*max_sst)(.*tier1)\"\n      variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;LEAPPDATA_BRANCH=upstream'\n      pull_request_status_name: \"8.6to9.0\"\n    if: |\n      github.event.issue.pull_request\n      && ! startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_88to92_integration:\n    needs: call_workflow_copr_build\n    uses: oamg/leapp/.github/workflows/reuse-tests-8to9.yml@master\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*max_sst)(.*tier1)\"\n      variables: 'SOURCE_RELEASE=8.8;TARGET_RELEASE=9.2;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-rpms,rhel-8-for-x86_64-baseos-rpms;LEAPPDATA_BRANCH=upstream'\n      compose: \"RHEL-8.8.0-Nightly\"\n      pull_request_status_name: \"8.8to9.2\"\n      tmt_context: \"distro=rhel-8.8\"\n    if: |\n      github.event.issue.pull_request\n      && ! startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_86to90_sst:\n    needs: call_workflow_copr_build\n    uses: oamg/leapp/.github/workflows/reuse-tests-8to9.yml@master\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*tier[2-3].*)(.*max_sst.*)\"\n      variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;LEAPPDATA_BRANCH=upstream'\n      pull_request_status_name: \"8to9-sst\"\n      update_pull_request_status: 'false'\n    if: |\n      github.event.issue.pull_request\n      && startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n\n  call_workflow_tests_86to90_aws:\n    needs: call_workflow_copr_build\n    uses: oamg/leapp/.github/workflows/reuse-tests-8to9.yml@master\n    secrets: inherit\n    with:\n      copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}\n      tmt_plan_regex: \"^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*7to8)(.*e2e)\"\n      compose: \"RHEL-8.6-rhui\"\n      environment_settings: '{\"provisioning\": {\"post_install_script\": \"#!/bin/sh\\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys\"}}'\n      pull_request_status_name: \"8to9-aws-e2e\"\n      variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;RHUI=aws;LEAPPDATA_BRANCH=upstream'\n    if: |\n      github.event.issue.pull_request\n      && ! startsWith(github.event.comment.body, '/rerun-sst')\n      && contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.comment.author_association)\n", "state": "active", "repository": "oamg/leapp-repository"}
{"mined_at": "2024-07-15T16:49:43.127662", "created_at": "2021-07-02T13:08:08+02:00", "updated_at": "2021-11-08T11:30:53+01:00", "name": "Unit Tests", "path": ".github/workflows/unit-tests.yml", "contents": "name: Unit Tests\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  test:\n    name: Run unit tests in containers\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        scenarios:\n          - name: Run unit tests for el8toel9 and common repositories on python 3.9\n            python: python3.9\n            repos: 'el8toel9,common'\n            container: ubi8\n          - name: Run unit tests for el7toel8 and common repositories on python 3.6\n            python: python3.6\n            repos: 'el7toel8,common'\n            container: ubi8\n          - name: Run unit tests for el8toel9 and common repositories on python 3.6\n            python: python3.6\n            repos: 'el8toel9,common'\n            container: ubi8\n          - name: Run unit tests for el7toel8 and common repositories on python 2.7\n            python: python2.7\n            repos: 'el7toel8,common'\n            container: ubi7\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          # NOTE(ivasilev) fetch-depth 0 is critical here as leapp deps discovery depends on specific substring in\n          # commit message and default 1 option will get us just merge commit which has an unrelevant message.\n          fetch-depth: '0'\n      # NOTE(ivasilev) master -> origin/master is used for leapp deps discovery in Makefile via git log master..HEAD\n      - name: Set master to origin/master\n        if: github.ref != 'refs/heads/master'\n        run: |\n          git branch -f master origin/master\n      - name: ${{matrix.scenarios.name}}\n        run: script -e -c /bin/bash -c 'TERM=xterm podman build --security-opt=seccomp=unconfined -t leapp-tests -f utils/container-tests/Containerfile.${{matrix.scenarios.container}} utils/container-tests && PYTHON_VENV=${{matrix.scenarios.python}} REPOSITORIES=${{matrix.scenarios.repos}} podman run --security-opt=seccomp=unconfined --rm -ti -v ${PWD}:/payload --env=PYTHON_VENV --env=REPOSITORIES leapp-tests'\n", "state": "active", "repository": "oamg/leapp-repository"}
{"mined_at": "2024-07-15T16:49:46.362460", "created_at": "2021-05-10T19:55:07+02:00", "updated_at": "2021-05-10T19:55:07+02:00", "name": "Blossom-CI", "path": ".github/workflows/blossom-ci.yml", "contents": "# Copyright (c) 2020-2021, NVIDIA CORPORATION.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# A workflow to trigger ci on hybrid infra (github + self hosted runner)\nname: Blossom-CI\non:\n  issue_comment:\n    types: [created]\n  workflow_dispatch:\n    inputs:\n      platform:\n        description: \"runs-on argument\"\n        required: false\n      args:\n        description: \"argument\"\n        required: false\njobs:\n  Authorization:\n    name: Authorization\n    runs-on: blossom\n    outputs:\n      args: ${{ env.args }}\n\n    # This job only runs for pull request comments\n    if: contains( '\\\n      albert17,\\\n      benfred,\\\n      bschifferer,\\\n      EvenOldridge,\\\n      gabrielspmoreira,\\\n      jperez999,\\\n      karlhighley,\\\n      marcromeyn,\\\n      benfred,\\\n      rjzamora,\\\n      rnyak,\\\n      sararb,\\\n      ', format('{0},', github.actor)) && github.event.comment.body == '/blossom-ci'\n    steps:\n      - name: Check if comment is issued by authorized person\n        run: blossom-ci\n        env:\n          OPERATION: \"AUTH\"\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }}\n\n  Vulnerability-scan:\n    name: Vulnerability scan\n    needs: [Authorization]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          repository: ${{ fromJson(needs.Authorization.outputs.args).repo }}\n          ref: ${{ fromJson(needs.Authorization.outputs.args).ref }}\n          lfs: \"true\"\n\n      # repo specific steps\n      #- name: Setup java\n      #  uses: actions/setup-java@v1\n      #  with:\n      #    java-version: 1.8\n\n      # add blackduck properties https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/631308372/Methods+for+Configuring+Analysis#Using-a-configuration-file\n      #- name: Setup blackduck properties\n      #  run: |\n      #       PROJECTS=$(mvn -am dependency:tree | grep maven-dependency-plugin | awk '{ out=\"com.nvidia:\"$(NF-1);print out }' | grep rapids | xargs | sed -e 's/ /,/g')\n      #       echo detect.maven.build.command=\"-pl=$PROJECTS -am\" >> application.properties\n      #       echo detect.maven.included.scopes=compile >> application.properties\n\n      - name: Run blossom action\n        uses: NVIDIA/blossom-action@main\n        env:\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }}\n        with:\n          args1: ${{ fromJson(needs.Authorization.outputs.args).args1 }}\n          args2: ${{ fromJson(needs.Authorization.outputs.args).args2 }}\n          args3: ${{ fromJson(needs.Authorization.outputs.args).args3 }}\n\n  Job-trigger:\n    name: Start ci job\n    needs: [Vulnerability-scan]\n    runs-on: blossom\n    steps:\n      - name: Start ci job\n        run: blossom-ci\n        env:\n          OPERATION: \"START-CI-JOB\"\n          CI_SERVER: ${{ secrets.CI_SERVER }}\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  Post-processing:\n    name: Post processing\n    runs-on: blossom\n    if: github.event_name == 'workflow_dispatch'\n    steps:\n      - name: Start post processing\n        run: blossom-ci\n        env:\n          OPERATION: \"POST-PROCESSING\"\n          CI_SERVER: ${{ secrets.CI_SERVER }}\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:49:47.617607", "created_at": "2023-05-03T13:35:35+02:00", "updated_at": "2023-05-11T09:22:42+02:00", "name": "Require Development Base Branch", "path": ".github/workflows/check-base-branch.yaml", "contents": "name: Require Development Base Branch\n\non:\n  pull_request:\n    types: [synchronize, opened, reopened, labeled, unlabeled]\n\njobs:\n  check:\n    uses: NVIDIA-Merlin/.github/.github/workflows/check-base-branch.yml@main\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:49:48.656233", "created_at": "2021-02-19T22:14:01+01:00", "updated_at": "2021-02-19T22:14:01+01:00", "name": "Test conda env creation", "path": ".github/workflows/conda-env-create.yml", "contents": "name: Test conda env creation\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    - cron: \"30 14 * * *\"\n  workflow_dispatch:\n    inputs:\n      logLevel:\n        description: \"Log level\"\n        default: \"warning\"\n\njobs:\n  build-linux:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        target: [\"11.0\", \"11.2\"]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n      - name: Add conda to system path\n        run: |\n          # $CONDA is an environment variable pointing to the root of the miniconda directory\n          echo $CONDA/bin >> $GITHUB_PATH\n      - name: Create Conda environment with CUDA ${{ matrix.target }}\n        run: |\n          conda env create --file conda/environments/nvtabular_dev_cuda${{ matrix.target }}.yml --name nvtabular_dev_cuda${{ matrix.target }}\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:49:49.682782", "created_at": "2023-01-25T18:18:26+01:00", "updated_at": "2023-03-21T23:52:36+01:00", "name": "Packages", "path": ".github/workflows/cpu-packages.yml", "contents": "name: Packages\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n      - release*\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-conda:\n    name: Build Conda\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Ubuntu packages\n        run: |\n          sudo apt-get update -y\n          sudo apt-get install -y protobuf-compiler\n      - name: Install and upgrade python packages\n        run: |\n          python -m pip install --upgrade pip setuptools==59.4.0 wheel pybind11\n          python -m pip uninstall protobuf -y\n          python -m pip install --no-binary=protobuf protobuf\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n      - name: Generate package for conda\n        id: conda_build\n        run: |\n          echo \"conda pkgs dir $CONDA_PKGS_DIRS\"\n          conda update conda\n          conda install -c conda-forge mamba\n          mamba install -c conda-forge conda-build boa conda-verify pybind11\n          conda mambabuild --python ${{ matrix.python-version }} . -c defaults -c conda-forge -c numba -c rapidsai -c nvidia --output-folder ./conda_packages\n          conda_package=$(find ./conda_packages/ -name \"*.tar.bz2\")\n          export CONDA_PACKAGE=$conda_package\n          echo \"conda_package : $conda_package\"\n          echo \"conda_package=$conda_package\" >> $GITHUB_OUTPUT\n      - name: Upload conda artifacts to github\n        uses: actions/upload-artifact@v3\n        with:\n          name: conda-${{ matrix.python-version }}\n          path: ${{ steps.conda_build.outputs.conda_package }}\n\n  build-pypi:\n    name: Build PyPI\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.8]\n        os: [ubuntu-latest]\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Ubuntu packages\n        run: |\n          sudo apt-get update -y\n          sudo apt-get install -y protobuf-compiler\n      - name: Install and upgrade python packages\n        run: |\n          python -m pip install --upgrade pip setuptools==59.4.0 wheel tox pybind11\n          python -m pip uninstall protobuf -y\n          python -m pip install --no-binary=protobuf protobuf\n      - name: Build source package for PyPI\n        run: |\n          python setup.py sdist\n      - name: Check distribution is valid\n        run: |\n          ./ci/check_dist.sh\n      - name: Build wheels for PyPI\n        uses: pypa/cibuildwheel@v2.12.0\n        env:\n          CIBW_SKIP: cp36-* cp37-* pp* # Don't build wheels for 3.6, 3.7, or PyPy\n        with:\n          output-dir: dist\n      - name: Upload PyPI artifacts to Github\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist\n          path: dist\n      # Build docs, treat warnings as errors\n      - name: Building docs\n        run: |\n          tox -e docs\n      - name: Upload HTML\n        uses: actions/upload-artifact@v3\n        with:\n          name: html-build-artifact\n          path: docs/build/html\n          if-no-files-found: error\n          retention-days: 1\n      - name: Store PR information\n        run: |\n          mkdir ./pr\n          echo ${{ github.event.number }}              > ./pr/pr.txt\n          echo ${{ github.event.pull_request.merged }} > ./pr/merged.txt\n          echo ${{ github.event.action }}              > ./pr/action.txt\n      - name: Upload PR information\n        uses: actions/upload-artifact@v3\n        with:\n          name: pr\n          path: pr/\n\n  release-conda:\n    name: Release Conda\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    if: \"startsWith(github.ref, 'refs/tags/')\"\n    needs: [build-conda]\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/download-artifact@v2\n        with:\n          name: conda-${{ matrix.python-version }}\n          path: conda\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n      - name: Install conda dependencies\n        shell: bash -l {0}\n        run: |\n          conda install -y anaconda-client conda-build\n      - name: Push to anaconda\n        shell: bash -l {0}\n        env:\n          ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}\n        run: |\n          anaconda -t $ANACONDA_TOKEN upload -u nvidia conda/*.tar.bz2\n\n  release-pypi:\n    name: Release PyPI\n    runs-on: ubuntu-latest\n    if: \"startsWith(github.ref, 'refs/tags/')\"\n    needs: [build-pypi]\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: dist\n          path: dist\n      - name: Create GitHub Release\n        uses: fnkr/github-action-ghr@v1.3\n        env:\n          GHR_PATH: ./dist\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Push to PyPi\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          pip install --upgrade wheel pip setuptools twine\n          twine upload dist/*\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:49:50.796995", "created_at": "2023-01-25T18:20:43+01:00", "updated_at": "2023-01-26T15:42:11+01:00", "name": "CPU Tests", "path": ".github/workflows/cpu-tests.yml", "contents": "name: CPU Tests\n# If you change the name of this test,\n# change it in docs-preview-pr too.\n\non:\n  workflow_dispatch:\n  push:\n    branches: [main]\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  cpu-tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Ubuntu packages\n        run: |\n          sudo apt-get update -y\n          sudo apt-get install -y protobuf-compiler\n      - name: Install and upgrade python packages\n        run: |\n          python -m pip install --upgrade pip setuptools==59.4.0 wheel tox pybind11\n          python -m pip uninstall protobuf -y\n          python -m pip install --no-binary=protobuf protobuf\n      - name: Run tests\n        run: |\n          ref_type=${{ github.ref_type }}\n          branch=main\n          if [[ $ref_type == \"tag\"* ]]\n          then\n            raw=$(git branch -r --contains ${{ github.ref_name }})\n            branch=${raw/origin\\/}\n          fi\n          tox -e test-cpu -- $branch\n\n      # Build docs, treat warnings as errors\n      - name: Building docs\n        run: |\n          tox -e docs\n      - name: Upload HTML\n        uses: actions/upload-artifact@v3\n        with:\n          name: html-build-artifact\n          path: docs/build/html\n          if-no-files-found: error\n          retention-days: 1\n      - name: Store PR information\n        run: |\n          mkdir ./pr\n          echo ${{ github.event.number }}              > ./pr/pr.txt\n          echo ${{ github.event.pull_request.merged }} > ./pr/merged.txt\n          echo ${{ github.event.action }}              > ./pr/action.txt\n      - name: Upload PR information\n        uses: actions/upload-artifact@v3\n        with:\n          name: pr\n          path: pr/\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:49:51.851487", "created_at": "2022-03-07T22:55:47+01:00", "updated_at": "2023-05-11T09:47:46+02:00", "name": "docs-preview-pr", "path": ".github/workflows/docs-preview-pr.yaml", "contents": "name: docs-preview-pr\n\non:\n  workflow_run:\n    workflows: [CPU Tests]\n    types: [completed]\n\nenv:\n  WF_ID: ${{ github.event.workflow_run.id }}\n\njobs:\n  preview:\n    uses: nvidia-merlin/.github/.github/workflows/docs-preview-pr-common.yaml@main\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:49:52.924420", "created_at": "2022-11-25T00:01:45+01:00", "updated_at": "2022-11-25T00:01:45+01:00", "name": "docs-remove-stale-reviews", "path": ".github/workflows/docs-remove-stale-reviews.yaml", "contents": "name: docs-remove-stale-reviews\n\non:\n  schedule:\n    # 42 minutes after 0:00 UTC on Sundays\n    - cron: \"42 0 * * 0\"\n  workflow_dispatch:\n\njobs:\n  remove:\n    uses: nvidia-merlin/.github/.github/workflows/docs-remove-stale-reviews-common.yaml@main\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:49:53.956546", "created_at": "2022-03-25T14:31:16+01:00", "updated_at": "2023-03-23T16:09:11+01:00", "name": "docs-sched-rebuild", "path": ".github/workflows/docs-sched-rebuild.yaml", "contents": "name: docs-sched-rebuild\n\non:\n  push:\n    branches: [main]\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: [ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Install Ubuntu packages\n        run: |\n          sudo apt-get update -y\n          sudo apt-get install -y protobuf-compiler\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools==59.4.0 wheel tox\n      - name: Setup local branches for docs build\n        run: |\n          git branch --track main origin/main || true\n          git branch --track stable origin/stable || true\n      - name: Building docs (multiversion)\n        run: |\n          tox -e docs-multi\n      - name: Delete unnecessary files\n        run: |\n          find docs/build -name .doctrees -prune -exec rm -rf {} \\;\n          find docs/build -name .buildinfo -exec rm {} \\;\n      - name: Upload HTML\n        uses: actions/upload-artifact@v3\n        with:\n          name: html-build-artifact\n          path: docs/build/html\n          if-no-files-found: error\n          retention-days: 1\n\n  # Identify the dir for the HTML.\n  store-html:\n    needs: [build]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: \"gh-pages\"\n      - name: Initialize Git configuration\n        run: |\n          git config user.name docs-sched-rebuild\n          git config user.email do-not-send-@github.com\n      - name: Download artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: html-build-artifact\n      - name: Copy HTML directories\n        run: |\n          ls -asl\n          for i in `ls -d *`\n          do\n            echo \"Git adding ${i}\"\n            git add \"${i}\"\n          done\n      - name: Check or create dot-no-jekyll file\n        run: |\n          if [ -f \".nojekyll\" ]; then\n            echo \"The dot-no-jekyll file already exists.\"\n            exit 0\n          fi\n          touch .nojekyll\n          git add .nojekyll\n      - name: Check or create redirect page\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          resp=$(grep 'http-equiv=\"refresh\"' index.html 2>/dev/null) || true\n          if [ -n \"${resp}\" ]; then\n            echo \"The redirect file already exists.\"\n            exit 0\n          fi\n          # If any of these commands fail, fail the build.\n          def_branch=\"stable\"\n          html_url=$(gh api \"repos/${GITHUB_REPOSITORY}/pages\" --jq \".html_url\")\n          cat > index.html << EOF\n          <!DOCTYPE html>\n          <html>\n            <head>\n              <title>Redirect to documentation</title>\n              <meta charset=\"utf-8\">\n              <meta http=equiv=\"refresh\" content=\"3; URL=\"${html_url}${def_branch}/index.html\"\n              <link rel=\"canonical\" href=\"'${html_url}${def_branch}/index.html\">\n              <script language=\"javascript\">\n                function redirect() {\n                  window.location.assign(\"${html_url}${def_branch}/index.html\")\n                }\n              </script>\n            </head>\n            <body onload=\"redirect()\">\n              <p>Please follow the link to the <a href=\"${html_url}${def_branch}/index.html\">\n              ${def_branch}'</a> branch documentation.</p>\n            </body>\n          </html>\n          EOF\n          git add index.html\n      - name: Commit changes to the GitHub Pages branch\n        run: |\n          git status\n          if git commit -m 'Pushing changes to GitHub Pages.'; then\n            git push -f\n          else\n           echo \"Nothing changed.\"\n          fi\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:49:54.969846", "created_at": "2023-01-25T18:20:43+01:00", "updated_at": "2023-10-16T22:45:05+02:00", "name": "GPU CI", "path": ".github/workflows/gpu-tests.yml", "contents": "name: GPU CI\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n      - \"pull-request/[0-9]+\"\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n\njobs:\n  gpu-tests:\n    runs-on: linux-amd64-gpu-p100-latest-1\n    container:\n      image: nvcr.io/nvstaging/merlin/merlin-ci-runner:latest\n      env:\n        NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}\n      options: --shm-size=1G\n      credentials:\n        username: $oauthtoken\n        password: ${{ secrets.NGC_TOKEN }}\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Run tests\n        run: |\n          ref_type=${{ github.ref_type }}\n          branch=main\n          if [[ $ref_type == \"tag\"* ]]\n          then\n            raw=$(git branch -r --contains ${{ github.ref_name }})\n            branch=${raw/origin\\/}\n          fi\n          tox -e test-gpu -- $branch\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:49:56.105486", "created_at": "2022-12-06T12:54:44+01:00", "updated_at": "2022-12-09T15:19:24+01:00", "name": "lint", "path": ".github/workflows/lint.yaml", "contents": "name: lint\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n      - uses: pre-commit/action@v2.0.3\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:49:57.122575", "created_at": "2022-05-16T13:36:37+02:00", "updated_at": "2022-05-16T23:14:10+02:00", "name": "release-drafter", "path": ".github/workflows/release-drafter.yaml", "contents": "name: release-drafter\n\non:\n  push:\n    # trigger on tags only\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n\n  workflow_dispatch:\n\njobs:\n  update_release_draft:\n    uses: nvidia-merlin/.github/.github/workflows/release-drafter-common.yaml@main\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:49:58.369864", "created_at": "2022-06-09T02:41:15+02:00", "updated_at": "2023-05-11T09:22:41+02:00", "name": "Require PR Labels", "path": ".github/workflows/require-label.yaml", "contents": "name: Require PR Labels\n\non:\n  pull_request:\n    types: [synchronize, opened, reopened, labeled, unlabeled]\n\njobs:\n  check-labels:\n    uses: nvidia-merlin/.github/.github/workflows/require-label.yaml@main\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:49:59.496357", "created_at": "2023-05-03T19:28:57+02:00", "updated_at": "2023-05-03T19:28:57+02:00", "name": "Set Stable Branch", "path": ".github/workflows/set-stable-branch.yaml", "contents": "name: Set Stable Branch\n\non:\n  workflow_dispatch:\n  release:\n    types: [published, deleted]\n\njobs:\n  set-stable-branch:\n    uses: nvidia-merlin/.github/.github/workflows/set-stable-branch.yaml@main\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:50:00.725213", "created_at": "2021-12-08T02:08:21+01:00", "updated_at": "2021-12-08T02:08:21+01:00", "name": "triage_issues", "path": ".github/workflows/triage.yml", "contents": "name: triage_issues\non:\n  issues:\n    types: [opened, reopened]\n\njobs:\n  triage_issue:\n    uses: nvidia-merlin/.github/.github/workflows/triage.yaml@main\n    secrets:\n      TRIAGE_APP_ID: ${{ secrets.TRIAGE_APP_ID }}\n      TRIAGE_APP_PEM: ${{ secrets.TRIAGE_APP_PEM }}\n", "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:50:01.743056", "created_at": "2022-03-07T19:53:28+01:00", "updated_at": "2022-03-07T19:53:28+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nvidia-merlin/nvtabular"}
{"mined_at": "2024-07-15T16:50:03.865644", "created_at": "2020-11-12T18:56:15+01:00", "updated_at": "2020-11-12T18:56:15+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  test:\n    name: Python ${{ matrix.python-version }} - AioBotocore ${{ matrix.aiobotocore-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        aiobotocore-version: [\">=2.5.4,<2.6.0\", \">=2.7.0,<2.8.0\", \">=2.8.0,<2.9.0\", \"<3.0.0\"]\n\n    env:\n      BOTO_CONFIG: /dev/null\n      AWS_ACCESS_KEY_ID: foobar_key\n      AWS_SECRET_ACCESS_KEY: foobar_secret\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup conda\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/env.yaml\n          create-args: >-\n            python=${{ matrix.PY }}\n\n      - name: Install\n        shell: bash -l {0}\n        run: |\n          pip install git+https://github.com/fsspec/filesystem_spec\n          pip install --upgrade \"aiobotocore${{ matrix.aiobotocore-version }}\" boto3  # boto3 to ensure compatibility\n          pip install . --no-deps\n          pip show aiobotocore boto3 botocore\n\n      - name: Run Tests\n        shell: bash -l {0}\n        run: pytest -vv s3fs\n\n\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "fsspec/s3fs"}
{"mined_at": "2024-07-15T16:50:05.943418", "created_at": "2023-01-26T04:59:03+01:00", "updated_at": "2023-02-11T22:43:23+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "---\nname: Codespell\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v1\n", "state": "active", "repository": "fsspec/filesystem_spec"}
{"mined_at": "2024-07-15T16:50:07.064944", "created_at": "2020-12-09T15:53:16+01:00", "updated_at": "2024-03-23T04:43:43+01:00", "name": "CI", "path": ".github/workflows/main.yaml", "contents": "name: CI\n\non:\n  push:\n    branches: [\"*\"]\n  pull_request:\n    branches: [master]\n\njobs:\n  linux:\n    name: ${{ matrix.PY }}-pytest\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        PY: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    env:\n      CIRUN: true\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup conda\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/environment-py38.yml\n          create-args: >-\n            python=${{ matrix.PY }}\n\n      - name: Run Tests\n        shell: bash -l {0}\n        run: |\n          pip install s3fs\n          pip uninstall s3fs\n          pip install -e .[test_full]\n          pip install s3fs --no-deps\n          pytest -v\n\n  win:\n    name: pytest-win\n    runs-on: windows-2019\n\n    env:\n      CIRUN: true\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup conda\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/environment-win.yml\n\n      - name: Run Tests\n        shell: bash -l {0}\n        run: |\n          pip install s3fs\n          pip uninstall s3fs\n          pip install -e .[test]\n          pip install s3fs --no-deps\n          pytest -v\n\n  lint:\n    name: lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@main\n      - uses: actions/setup-python@main\n        with:\n          python-version: \"3.11\"\n      - uses: pre-commit/action@main\n\n#  typecheck:\n#    runs-on: ubuntu-latest\n#    steps:\n#      - name: Checkout\n#        uses: actions/checkout@v4\n#\n#      - name: Setup conda\n#        uses: mamba-org/setup-micromamba@v1\n#        with:\n#          environment-file: ci/environment-typecheck.yml\n#\n#      - name: mypy\n#        shell: bash -l {0}\n#        run: |\n#          mypy fsspec\n#\n  downstream:\n    name: downstream\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup conda\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/environment-downstream.yml\n\n      - name: Local install\n        shell: bash -l {0}\n        run: |\n          sh install_s3fs.sh\n          pip install -e .[test,test_downstream]\n          pip list\n\n      - name: Run fsspec tests\n        shell: bash -l {0}\n        run: |\n          pytest -v fsspec/tests/test_downstream.py\n\n      - name: Run dask tests\n        shell: bash -l {0}\n        run: |\n          dask_test_path=$(python -c \"import dask.bytes;print(dask.bytes.__path__[0])\")\n          pytest -v $dask_test_path\n\n  fsspec_friends:\n    name: ${{ matrix.FRIEND }}-pytest\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        FRIEND: [gcsfs, s3fs]\n\n    env:\n      CIRUN: true\n      BOTO_CONFIG: /dev/null\n      AWS_ACCESS_KEY_ID: foobar_key\n      AWS_SECRET_ACCESS_KEY: foobar_secret\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup conda\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/environment-friends.yml\n\n      - name: Clone\n        shell: bash -l {0}\n        run: git clone https://github.com/fsspec/${{ matrix.FRIEND }}\n\n      - name: Install\n        shell: bash -l {0}\n        run: |\n          pip install -e . --no-deps\n          pip install -e ./${{ matrix.FRIEND }} --no-deps\n\n      - name: Test\n        shell: bash -l {0}\n        run: pytest -v ${{ matrix.FRIEND }}\n", "state": "active", "repository": "fsspec/filesystem_spec"}
{"mined_at": "2024-07-15T16:50:08.302733", "created_at": "2020-12-09T15:53:16+01:00", "updated_at": "2020-12-09T15:53:16+01:00", "name": "Upload Python Package", "path": ".github/workflows/pypipublish.yaml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install hatch twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          hatch build\n          twine upload dist/*\n", "state": "active", "repository": "fsspec/filesystem_spec"}
{"mined_at": "2024-07-15T16:50:10.455747", "created_at": "2021-11-02T20:39:49+01:00", "updated_at": "2021-11-02T22:04:29+01:00", "name": "build", "path": ".github/workflows/build.yaml", "contents": "name: build\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10.x'\n        cache: 'pip'\n        cache-dependency-path: setup.py\n    - name: Install dependencies\n      run: |\n        pip install -e .[test] -f https://storage.googleapis.com/jax-releases/libtpu_releases.html\n    - name: Test with pytest\n      # TODO(adarob): Re-enable once tests are updated.\n      run: |\n        export FLAX_LAZY_RNG=no\n        pytest\n    # The below step just reports the success or failure of tests as a \"commit status\".\n    # This is needed for copybara integration.\n    - name: Report success or failure as github status\n      if: always()\n      shell: bash\n      run: |\n        status=\"${{ job.status }}\"\n        lowercase_status=$(echo $status | tr '[:upper:]' '[:lower:]')\n        curl -sS --request POST \\\n        --url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \\\n        --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \\\n        --header 'content-type: application/json' \\\n        --data '{\n            \"state\": \"'$lowercase_status'\",\n            \"target_url\": \"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\",\n            \"description\": \"'$status'\",\n            \"context\": \"github-actions/build\"\n            }'\n", "state": "active", "repository": "google-research/t5x"}
{"mined_at": "2024-07-15T16:50:11.561496", "created_at": "2023-08-09T23:44:52+02:00", "updated_at": "2023-08-09T23:44:52+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google-research/t5x"}
{"mined_at": "2024-07-15T16:50:13.825445", "created_at": "2021-12-18T13:03:54+01:00", "updated_at": "2021-12-18T13:03:54+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "platformio/platformio-docs"}
{"mined_at": "2024-07-15T16:50:15.894647", "created_at": "2023-09-18T22:07:44+02:00", "updated_at": "2023-09-18T22:07:44+02:00", "name": "Check PR dependencies", "path": ".github/workflows/check-pr-dependencies.yaml", "contents": "name: Check PR dependencies\non:\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - edited\n      - synchronize\n\njobs:\n  check_dependencies:\n    runs-on: ubuntu-latest\n    name: Check Dependencies\n    permissions:\n      pull-requests: read # Reason: To check PRs for dependencies.\n    steps:\n      - uses: gregsdennis/dependencies-action@main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "coreruleset/coreruleset"}
{"mined_at": "2024-07-15T16:50:17.016223", "created_at": "2023-09-18T22:07:44+02:00", "updated_at": "2023-09-18T22:07:44+02:00", "name": "Check PR title", "path": ".github/workflows/check-pr-title.yaml", "contents": "name: Check PR title\n\n# default token permissions: none\npermissions: {}\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - edited\n      - synchronize\n\njobs:\n  main:\n    name: Validate PR title\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n    steps:\n      - uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5.4.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "coreruleset/coreruleset"}
{"mined_at": "2024-07-15T16:50:18.133761", "created_at": "2020-06-10T18:16:16+02:00", "updated_at": "2020-06-10T18:16:16+02:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": "name: Lint\n\non: [push, pull_request, merge_group]\n\n# Pin versions to not disrupt test pipelines\nenv:\n  CRS_TOOLCHAIN_VERSION: '2.1.0'\n  SECRULES_PARSING_VERSION: '0.2.9'\n\njobs:\n  check-syntax:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.2\n\n      - name: Lint Yaml\n        uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1.1\n        with:\n          format: github\n          file_or_dir: tests/regression/tests\n          config_file: .yamllint.yml\n\n      - name: Linelint\n        uses: fernandrone/linelint@7907a5dca0c28ea7dd05c6d8d8cacded713aca11 # v0.0.6\n        id: linelint\n\n      - name: Set up Python 3\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: 3.7\n\n      - name: \"Check CRS syntax\"\n        run: |\n          pip install --upgrade setuptools\n          pip install secrules-parsing==${{ env.SECRULES_PARSING_VERSION }}\n          secrules-parser -c --output-type github -f rules/*.conf\n\n      - name: \"Check CRS formatting\"\n        run: |\n          pip install --upgrade setuptools\n          pip install -r ./util/crs-rules-check/requirements.txt\n          ./util/crs-rules-check/rules-check.py --output=github -r crs-setup.conf.example -r rules/*.conf -t util/APPROVED_TAGS\n\n      - name: \"Find rules without test\"\n        run: |\n          pip install --upgrade setuptools\n          pip install -r ./util/find-rules-without-test/requirements.txt\n          ./util/find-rules-without-test/find-rules-without-test.py --output=github .\n\n      - name: \"Install crs-toolchain ${{ env.CRS_TOOLCHAIN_VERSION }}\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release download -R coreruleset/crs-toolchain \"v${{ env.CRS_TOOLCHAIN_VERSION }}\" \\\n            -p \"crs-toolchain_${{ env.CRS_TOOLCHAIN_VERSION }}_linux_amd64.tar.gz\" -O - | tar -xzvf - crs-toolchain\n\n      - name: \"Check that all assembly files are properly formatted\"\n        run: |\n          ./crs-toolchain regex format -aco github\n\n      - name: \"Check that all rules are up to date\"\n        run: |\n          ./crs-toolchain regex compare -ao github\n\n      - name: \"Check that all tests are properly numbered\"\n        run: |\n          ./crs-toolchain util renumber-tests -cao github\n", "state": "active", "repository": "coreruleset/coreruleset"}
{"mined_at": "2024-07-15T16:50:19.309047", "created_at": "2021-10-04T21:09:52+02:00", "updated_at": "2021-10-04T21:09:52+02:00", "name": "Nightly Release", "path": ".github/workflows/nightly.yml", "contents": "\nname: Nightly Release\non:\n  schedule:\n    - cron: '0 2 * * *' # run at 2 AM UTC\n\njobs:\n  nightly:\n    name: Nightly Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check GH API rate limits\n        run: |\n          gh api -i repos/coreruleset/coreruleset/releases/latest | grep -i \"x-ratelimit\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: \"Checkout repo\"\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.2\n\n      - name: Delete previous nightly release\n        run: |\n          gh release delete --repo coreruleset/coreruleset --cleanup-tag --yes nightly\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Create nightly release\n        run: |\n          notes=$(cat <<\"EOF\"\n          Nightly releases are snapshots of the development activity on the Core Rule Set project that may include new features and bug fixes scheduled for upcoming releases. These releases are made available to make it easier for users to test their existing configurations against the Core Rule Set code base for potential issues or to experiment with new features, with a chance to provide feedback on ways to improve the changes before being released.\n\n          As these releases are snapshots of the latest code, you may encounter an issue compared to the latest stable release so users are encouraged to run nightly releases in a non production environment. If you encounter an issue, please check our issue tracker to see if the issue has already been reported; if a report hasn't been made, please report it so we can review the issue and make any needed fixes.\n          EOF\n          )\n\n          gh release create \\\n            --repo coreruleset/coreruleset \\\n            --latest \\\n            --prerelease \\\n            --draft=false \\\n            --title \"Latest Nightly\" \\\n            --notes \"${notes}\" \\\n            nightly\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish draft if necessary\n        run: |\n          echo \"A race condition in the GH API can cause a release published for a previously existing tag to be published as draft.\"\n          echo \"Wait for 30 seconds for the API to catch up to the actual state, then check that the release has been properly published.\"\n          echo \"If the release is still a draft, publish it.\"\n          sleep 30\n          if gh release list --repo coreruleset/coreruleset --exclude-drafts | grep --quiet nightly; then\n            echo \"Nightly release was created properly\"\n            exit 0\n          fi\n\n          echo \"Nightly release was created as draft. Publishing now.\"\n\n          gh release edit \\\n            --repo coreruleset/coreruleset \\\n            --latest \\\n            --prerelease \\\n            --draft=false \\\n            nightly\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Check GH API rate limits\n        run: |\n          gh api -i repos/coreruleset/coreruleset/releases/latest | grep -i \"x-ratelimit\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "coreruleset/coreruleset"}
{"mined_at": "2024-07-15T16:50:20.386012", "created_at": "2020-05-14T02:14:12+02:00", "updated_at": "2020-05-14T02:14:12+02:00", "name": "Mark stale issues", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue has been open 30 days waiting for feedback. Remove the stale label or comment, or this will be closed in 14 days'\n        stale-issue-label: 'Stale issue'\n        days-before-stale: 30\n        days-before-close: 14\n        only-issue-labels: ':hourglass_flowing_sand: awaiting feedback'\n", "state": "active", "repository": "coreruleset/coreruleset"}
{"mined_at": "2024-07-15T16:50:21.454246", "created_at": "2020-05-13T19:13:42+02:00", "updated_at": "2020-05-14T01:12:25+02:00", "name": "Regression Tests", "path": ".github/workflows/test.yml", "contents": "name: Regression Tests\n\non:\n  push:\n    paths:\n      - 'rules/**'\n      - 'tests/**'\n      - '.github/**'\n  pull_request:\n    paths:\n      - 'rules/**'\n      - 'tests/**'\n      - 'util/**'\n      - '.github/**'\n  merge_group:\n\n# Pin tool versions to prevent problems\nenv:\n  GO_FTW_VERSION: '0.6.4'\n\njobs:\n  regression:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        modsec_version: [modsec2-apache]\n    steps:\n      - name: \"Checkout repo\"\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.2\n\n      - name: \"Install dependencies\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          gh release download -R coreruleset/go-ftw \"v${{ env.GO_FTW_VERSION }}\" \\\n            -p \"ftw_${{ env.GO_FTW_VERSION }}_linux_amd64.tar.gz\" -O - | tar -xzvf - ftw\n\n      - name: \"Run tests for ${{ matrix.modsec_version }}\"\n        env:\n          FTW_LOGFILE: './tests/logs/${{ matrix.modsec_version }}/error.log'\n        run: |\n          mkdir -p \"tests/logs/${{ matrix.modsec_version }}/{nginx,apache2}\"\n          chmod -R o+rw \"tests/logs\"\n          docker-compose -f ./tests/docker-compose.yml up -d \"${{ matrix.modsec_version }}\"\n          docker-compose -f ./tests/docker-compose.yml logs\n          [ \"$(docker inspect ${{ matrix.modsec_version }} --format='{{.State.Running}}')\" = \"true\" ]\n          ./ftw check -d tests/regression/tests\n          ./ftw run -d tests/regression/tests --show-failures-only\n\n      - name: \"Change permissions if failed\"\n        if: failure()\n        run: |\n            # we want to get the audit log, so change permissions (file is only for root on docker)\n            sudo chmod 644 tests/logs/${{ matrix.modsec_version }}/modsec_audit.log\n\n      - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1\n        if: failure()\n        with:\n          name: waf-logs\n          path: tests/logs/${{ matrix.modsec_version }}\n\n      - name: Clean docker-compose\n        run: |\n          docker-compose -f ./tests/docker-compose.yml stop \"${{ matrix.modsec_version }}\"\n          docker-compose -f ./tests/docker-compose.yml down\n", "state": "active", "repository": "coreruleset/coreruleset"}
{"mined_at": "2024-07-15T16:50:25.579693", "created_at": "2021-06-29T06:25:03+02:00", "updated_at": "2021-06-29T17:17:25+02:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n    - uses: actions/first-interaction@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: 'Thank you for submitting an issue to Anubis! Please make sure that your issue is consistent with our contribution guidelines.'\n        pr-message: 'Thank you for contributing to Anubis! Please make sure that your PR is consistent with our contribution guidelines.'\n", "state": "active", "repository": "anubislms/anubis"}
{"mined_at": "2024-07-15T16:50:26.638232", "created_at": "2022-07-21T03:12:11+02:00", "updated_at": "2022-07-21T03:12:11+02:00", "name": "Anubis Pull Request CD/CI", "path": ".github/workflows/pull-request.yml", "contents": "name: Anubis Pull Request CD/CI\n\non:\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch:\n\n\njobs:\n\n  # Test Stage.\n  test-api:\n    name: Test api\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n        working-directory: api\n    strategy:\n      matrix:\n        python-version: [ '3.10' ]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/cache@v3\n      id: cache-venv  # name for referring later\n      with:\n        path: |\n          **/venv\n        key: ${{ runner.os }}-venv-${{ hashFiles('**/api/requirements/dev.txt') }}\n    - name: Install dependencies\n      run: |\n        set -ex\n        python -m venv venv\n        if [ -f requirements/dev.txt ]; then ./venv/bin/pip install -r requirements/dev.txt; fi\n      if: steps.cache-venv.outputs.cache-hit != 'true'\n    - name: Background API\n      run: |\n        set -ex\n        docker run -itd -p 6379:6379 redis redis-server --requirepass anubis\n        env MINDEBUG=1 MIGRATE=1 ./venv/bin/python3 dev.py &\n    - name: Test with pytest\n      run: |\n        ./tests/mintest.sh\n    - name: Teardown\n      run: |\n        killall -9 python3\n  test-web:\n    name: test web\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n        working-directory: web\n    strategy:\n      matrix:\n        node-version: [ 16.x ]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v2\n        with:\n          node-version: ${{ matrix.node-version }}\n      - uses: actions/cache@v3\n        id: yarn-cache\n        with:\n          path: |\n            **/node_modules\n            **/.eslintcache\n            ${{ steps.yarn-cache-dir-path.outputs.dir }}\n          key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-yarn-\n      - run: yarn install --frozen-lockfile\n      - run: env DISABLE_ESLINT_PLUGIN=true yarn run build\n", "state": "active", "repository": "anubislms/anubis"}
{"mined_at": "2024-07-15T16:50:27.667092", "created_at": "2022-07-21T03:35:11+02:00", "updated_at": "2022-07-21T03:35:11+02:00", "name": "Anubis Main CD/CI", "path": ".github/workflows/main-ci.yml", "contents": "name: Anubis Main CD/CI\n\non:\n  push:\n    branches: [ main ]\n  workflow_dispatch:\n\njobs:\n\n  # Test Stage.\n  test-api:\n    name: Test api\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n        working-directory: api\n    strategy:\n      matrix:\n        python-version: [ '3.10' ]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/cache@v3\n      id: cache-venv  # name for referring later\n      with:\n        path: |\n          **/venv\n        key: ${{ runner.os }}-venv-${{ hashFiles('**/api/requirements/dev.txt') }}\n    - name: Install dependencies\n      run: |\n        set -ex\n        python -m venv venv\n        if [ -f requirements/dev.txt ]; then ./venv/bin/pip install -r requirements/dev.txt; fi\n      if: steps.cache-venv.outputs.cache-hit != 'true'\n    - name: Background API\n      run: |\n        set -ex\n        docker run -itd -p 6379:6379 redis redis-server --requirepass anubis\n        env MINDEBUG=1 MIGRATE=1 ./venv/bin/python3 dev.py &\n    - name: Wait for startup\n      run: sleep 3\n    - name: Test with pytest\n      run: |\n        ./tests/mintest.sh\n    - name: Teardown\n      run: |\n        killall -9 python3\n  # Test Stage.\n  test-theia-shell-autograde:\n    name: Test shell autograde\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n        working-directory: theia/autograde/\n    strategy:\n      matrix:\n        python-version: [ '3.7', '3.10' ]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n#    - uses: actions/cache@v3\n#      id: cache-venv  # name for referring later\n#      with:\n#        path: |\n#          **/venv\n#        key: ${{ runner.os }}-venv-${{ matrix.python-version }}-${{ hashFiles('**/theia/autograde/requirements.txt') }}-${{ hashFiles('**/theia/autograde/requirements_dev.txt') }}\n    - name: Install dependencies\n      run: |\n        set -ex\n        python -m venv venv\n        ./venv/bin/pip install -r requirements.txt -r requirements_dev.txt\n        ./venv/bin/pip install -e .\n      if: steps.cache-venv.outputs.cache-hit != 'true'\n    - name: Pytest\n      run: venv/bin/pytest\n\n  # Build Stage.\n  # Will build the docker image, and push it\n  # to the container registry.\n  build-api:\n    name: Build api\n    needs: [test-api]\n    runs-on: ubuntu-latest\n    environment: anubis\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install doctl\n        uses: digitalocean/action-doctl@v2\n        with:\n          token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}\n      - name: Log into DigitalOcean container registry\n        run: doctl registry login\n      - name: Build container image\n        run: env GIT_TAG=$(git log -1 --pretty=%h) docker compose build api\n      - name: Build container image\n        run: env GIT_TAG=latest docker compose build api\n      - name: Push image to registry\n        run: env GIT_TAG=$(git log -1 --pretty=%h) docker compose push api\n      - name: Push image to registry\n        run: env GIT_TAG=latest docker compose push api\n  build-theia-shell-autograde:\n    name: Build shell autograde\n    needs: [test-theia-shell-autograde]\n    runs-on: ubuntu-latest\n    environment: anubis\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install doctl\n        uses: digitalocean/action-doctl@v2\n        with:\n          token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}\n      - name: Log into DigitalOcean container registry\n        run: doctl registry login\n      - name: Build container image\n        run: |\n          env GIT_TAG=$(git log -1 --pretty=%h) docker compose build theia-autograde theia-autograde-docs\n          env GIT_TAG=latest docker compose build theia-autograde theia-autograde-docs\n      - name: Push image to registry\n        run: |\n          env GIT_TAG=$(git log -1 --pretty=%h) docker compose push theia-autograde theia-autograde-docs\n          env GIT_TAG=latest docker compose push theia-autograde theia-autograde-docs\n  build-web:\n    name: Build web\n    runs-on: ubuntu-latest\n    environment: anubis\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install doctl\n        uses: digitalocean/action-doctl@v2\n        with:\n          token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}\n      - name: Log into DigitalOcean container registry\n        run: doctl registry login\n      - name: Build container image\n        run: |\n          env GIT_TAG=$(git log -1 --pretty=%h) docker compose build web\n          env GIT_TAG=latest docker compose build web\n      - name: Push image to registry\n        run: |\n          env GIT_TAG=$(git log -1 --pretty=%h) docker compose push web\n          env GIT_TAG=latest docker compose push web\n  build-theia-images:\n    name: Build images\n    runs-on: ubuntu-latest\n    environment: anubis\n    strategy:\n      matrix:\n        image:\n          - theia-proxy\n          - theia-init\n          - theia-autosave\n          - theia-dockerd\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install doctl\n        uses: digitalocean/action-doctl@v2\n        with:\n          token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}\n      - name: Log into DigitalOcean container registry\n        run: doctl registry login\n      - name: Build container image\n        run: env GIT_TAG=$(git log -1 --pretty=%h) docker compose build ${{ matrix.image }}\n      - name: Build container image\n        run: env GIT_TAG=latest docker compose build ${{ matrix.image }}\n      - name: Push image to registry\n        run: env GIT_TAG=$(git log -1 --pretty=%h) docker compose push ${{ matrix.image }}\n      - name: Push image to registry\n        run: env GIT_TAG=latest docker compose push ${{ matrix.image }}\n\n  # Deploy step.\n  # Will push out yaml to the k8s cluster, then restart\n  # deployments.\n  deploy:\n    name: Deploy to Anubis k8s cluster\n    needs: [build-api, build-web, build-theia-shell-autograde, build-theia-images]\n    runs-on: ubuntu-latest\n    environment: anubis\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install doctl\n        uses: digitalocean/action-doctl@v2\n        with:\n          token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}\n      - name: Save DigitalOcean kubeconfig\n        run: doctl kubernetes cluster kubeconfig save anubis2\n      - name: Helm upgrade\n        run: make upgrade\n      - name: Verify deployment\n        run: make status", "state": "active", "repository": "anubislms/anubis"}
{"mined_at": "2024-07-15T16:50:28.784768", "created_at": "2022-09-15T04:05:19+02:00", "updated_at": "2022-09-15T06:03:14+02:00", "name": "Anubis Code Scanning", "path": ".github/workflows/codeql.yml", "contents": "name: \"Anubis Code Scanning\"\n\non:\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n\njobs:\n  CodeQL-Build:\n    runs-on: ubuntu-latest\n\n    permissions:\n      security-events: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: javascript, python\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n\n", "state": "active", "repository": "anubislms/anubis"}
{"mined_at": "2024-07-15T16:50:30.868163", "created_at": "2021-02-10T00:13:28+01:00", "updated_at": "2021-02-10T01:56:22+01:00", "name": "Python package", "path": ".github/workflows/runtests.yaml", "contents": "name: Python package\n\non: [push, pull_request]\n\njobs:\n  lint-and-test-code:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 20\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        postgres-version: [\"12\", \"13\", \"14\", \"15\"]\n\n    # Service containers to run with `runner-job`\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgres:${{ matrix.postgres-version }}\n        # Provide the password for postgres\n        env:\n          POSTGRES_PASSWORD: postgres\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Setup database\n      run: |\n        PGPASSWORD=postgres psql -c 'CREATE DATABASE eventsourcing;' -U postgres -h localhost\n        PGPASSWORD=postgres psql -c \"CREATE USER eventsourcing WITH PASSWORD 'eventsourcing';\" -U postgres -h localhost\n        PGPASSWORD=postgres psql -c \"ALTER DATABASE eventsourcing OWNER TO eventsourcing;\" -U postgres -h localhost\n        PGPASSWORD=postgres psql eventsourcing -c \"CREATE SCHEMA myschema AUTHORIZATION eventsourcing\" -U postgres -h localhost\n\n    - name: Install Poetry\n      run: make install-poetry\n\n    - name: Install packages\n      run: make install-packages\n\n    - name: Lint\n      run: make lint\n\n    - name: Test\n      run: make test\n\n    - name: Coveralls\n      uses: AndreMiras/coveralls-python-action@develop\n      with:\n        parallel: true\n        flag-name: Unit Test\n\n  build-and-test-distribution:\n\n    needs: lint-and-test-code\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Poetry\n      run: make install-poetry\n\n    - name: Buid and Test Distribution\n      run: |\n        pip install -U pip\n        pip install wheel\n        make build\n        pip install dist/*.whl\n        rm -r dist\n        mv eventsourcing/tests eventsourcing_tests\n        rm -r eventsourcing\n        find eventsourcing_tests -type f -exec sed -i -e 's/eventsourcing.tests/eventsourcing_tests/g' {} \\;\n        python -m unittest -v eventsourcing_tests/domain_tests/test_aggregate.py\n        python -m unittest -v eventsourcing_tests/application_tests/test_application_with_popo.py\n        python -m unittest -v eventsourcing_tests/application_tests/test_processapplication.py\n\n  coveralls_finish:\n    needs: lint-and-test-code\n    runs-on: ubuntu-latest\n    steps:\n    - name: Coveralls Finished\n      uses: AndreMiras/coveralls-python-action@develop\n      with:\n        parallel-finished: true\n", "state": "active", "repository": "pyeventsourcing/eventsourcing"}
{"mined_at": "2024-07-15T16:50:33.083938", "created_at": "2024-05-31T19:02:58+02:00", "updated_at": "2024-05-31T19:02:58+02:00", "name": "Cleanup caches", "path": ".github/workflows/cleanup-caches.yml", "contents": "name: Cleanup caches\non:\n  pull_request_target:\n    types:\n      - closed\n  push:\n    # Trigger on pushes to master or develop and for git tag pushes\n    branches:\n      - master\n      - develop\n    tags:\n      - v*\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cleanup caches\n        run: |\n          gh extension install actions/gh-actions-cache\n\n          echo \"Fetching list of cache key\"\n          cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH -L 100 | cut -f 1 )\n\n          ## Setting this to not fail the workflow while deleting cache keys.\n          set +e\n          echo \"Deleting caches...\"\n          for cacheKey in $cacheKeysForPR\n          do\n              echo $cacheKey\n              gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm\n          done\n          echo \"Done\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPO: ${{ github.repository }}\n          BRANCH: refs/pull/${{ github.event.pull_request.number }}/merge\n", "state": "active", "repository": "mala-project/mala"}
{"mined_at": "2024-07-15T16:50:34.415278", "created_at": "2024-05-30T16:02:34+02:00", "updated_at": "2024-05-30T16:16:59+02:00", "name": "Delete Untagged Container Versions", "path": ".github/workflows/cleanup.yml", "contents": "name: Delete Untagged Container Versions\n\non:\n  workflow_dispatch:\n\njobs:\n  delete-untagged-containers:\n    runs-on: ubuntu-latest\n    steps:\n      - name: mala_conda_cpu\n        uses: actions/delete-package-versions@v5\n        with:\n          package-name: 'mala_conda_cpu'\n          package-type: 'container'\n          delete-only-untagged-versions: 'true'\n", "state": "active", "repository": "mala-project/mala"}
{"mined_at": "2024-07-15T16:50:35.542299", "created_at": "2021-06-03T11:00:17+02:00", "updated_at": "2022-03-21T10:03:05+01:00", "name": "CPU tests", "path": ".github/workflows/cpu-tests.yml", "contents": "name: CPU tests\n\non:\n  workflow_dispatch:\n  pull_request:\n    # Trigger on pull requests to master or develop that are\n    # marked as \"ready for review\" (non-draft PRs)\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n    branches:\n      - master\n      - develop\n  push:\n    # Trigger on pushes to master or develop and for git tag pushes\n    branches:\n      - master\n      - develop\n    tags:\n      - v*\n\nenv:\n  IMAGE_NAME: mala_conda_cpu\n  IMAGE_REGISTRY: ghcr.io\n  DOCKER_CACHE_PATH: cache/docker\n\njobs:\n  build-docker-image-cpu:\n    # do not trigger on draft PRs\n    if: ${{ ! github.event.pull_request.draft }}\n    # Build and push temporary Docker image to GitHub's container registry\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: Set environment variables\n        run: |\n          # Change all uppercase letters to lowercase\n          IMAGE_REPO=$IMAGE_REGISTRY/$(echo $GITHUB_REPOSITORY_OWNER | tr '[A-Z]' '[a-z]')\n\n          # Create environment variable to which any subsequent steps inside this workflow's job have access\n          echo \"IMAGE_REPO=$IMAGE_REPO\" >> $GITHUB_ENV\n          echo \"IMAGE_REPO=$IMAGE_REPO\"\n\n      - name: Restore cache\n        uses: actions/cache@v4\n        id: cache-docker\n        with:\n          path: ${{ env.DOCKER_CACHE_PATH }}\n          key: ${{ github.run_id }}\n\n      - name: Check existence of Docker tar archive\n        id: check_file\n        run: |\n          if [[ -f \"$DOCKER_CACHE_PATH/docker-image.tar.gz\" ]]; then\n            echo \"FILE_EXISTS=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"FILE_EXISTS=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Pull latest image from container registry\n        run: docker pull $IMAGE_REPO/$IMAGE_NAME || true\n\n      - name: Build temporary Docker image\n        run: |\n          if [[ \"${{ steps.check_file.outputs.FILE_EXISTS }}\" == 'true' ]]\n          then\n            docker load -i $DOCKER_CACHE_PATH/docker-image.tar.gz\n            CACHE=$IMAGE_NAME:$GITHUB_RUN_ID\n          else\n            CACHE=$IMAGE_REPO/$IMAGE_NAME:latest\n          fi\n\n          DOCKER_BUILDKIT=0 docker build . --file Dockerfile --tag $IMAGE_NAME:local --cache-from=$CACHE --build-arg DEVICE=cpu\n\n          # Show images\n          docker images --filter=reference=$IMAGE_NAME --filter=reference=$IMAGE_REPO/$IMAGE_NAME\n\n          # Get image IDs (hash of the local image JSON configuration) and check if images are equal\n          IMAGE_ID_OLD=$(docker images --format \"{{.ID}}\" --no-trunc --filter=reference=$IMAGE_REPO/$IMAGE_NAME:latest)\n          IMAGE_ID_NEW=$(docker images --format \"{{.ID}}\" --no-trunc --filter=reference=$IMAGE_NAME:local)\n\n          echo \"IMAGE_ID_OLD=$IMAGE_ID_OLD\" >> $GITHUB_ENV\n          echo \"IMAGE_ID_NEW=$IMAGE_ID_NEW\" >> $GITHUB_ENV\n\n          if [[ \"$IMAGE_ID_OLD\" == \"$IMAGE_ID_NEW\" ]]\n          then\n            echo \"Image IDs are equal\"; DOCKER_TAG=latest\n          else\n            echo \"Image IDs are different\"; DOCKER_TAG=$GITHUB_RUN_ID\n          fi\n\n          # Environment variable DOCKER_TAG references the image in subsequent jobs\n          echo \"DOCKER_TAG=$DOCKER_TAG\" >> $GITHUB_ENV\n\n      - name: Tag and save temporary built Docker image\n        # If temporary image is different from latest on ghcr.io\n        if: env.IMAGE_ID_OLD != env.IMAGE_ID_NEW\n        run: |\n          mkdir -p $DOCKER_CACHE_PATH\n\n          # Use GITHUB_RUN_ID, a unique number for each workflow run within a repository as a temporary Docker tag\n          docker tag $IMAGE_NAME:local $IMAGE_NAME:$GITHUB_RUN_ID\n\n          # Save Docker image locally\n          docker save $IMAGE_NAME:$GITHUB_RUN_ID -o $DOCKER_CACHE_PATH/docker-image.tar\n          pigz -f -v --fast $DOCKER_CACHE_PATH/docker-image.tar\n\n    outputs:\n      # Make variables available to all downstream jobs that depend on this job\n      image-repo: ${{ env.IMAGE_REPO }}\n      docker-tag: ${{ env.DOCKER_TAG }}\n\n  cpu-tests:\n    needs: build-docker-image-cpu\n    runs-on: ubuntu-20.04\n    env:\n      IMAGE_REPO: ${{ needs.build-docker-image-cpu.outputs.image-repo }}\n      DOCKER_TAG: ${{ needs.build-docker-image-cpu.outputs.docker-tag }}\n    steps:\n      - name: \"Prepare environment: Restore cache\"\n        if: env.DOCKER_TAG != 'latest'\n        uses: actions/cache@v4\n        id: cache-docker\n        with:\n          path: ${{ env.DOCKER_CACHE_PATH }}\n          key: ${{ github.run_id }}\n\n      - name: \"Prepare environment: Load Docker image from cache\"\n        if: env.DOCKER_TAG != 'latest'\n        run: docker load -i $DOCKER_CACHE_PATH/docker-image.tar.gz\n\n      - name: \"Prepare environment: Pull latest image from container registry\"\n        if: env.DOCKER_TAG == 'latest'\n        run: |\n          docker pull $IMAGE_REPO/$IMAGE_NAME:latest\n          docker image tag $IMAGE_REPO/$IMAGE_NAME:latest $IMAGE_NAME:latest\n\n      - name: \"Prepare environment: Run Docker container\"\n        run: |\n          # Make the github workspace (i.e. checked out mala repository) available inside Docker container by binding it to /home via -v\n          docker run -i -d --rm --name mala-cpu -v ${{ github.workspace }}:/home -w /home $IMAGE_NAME:$DOCKER_TAG /bin/bash &\n\n          # Wait for Docker container to come online\n          wait\n\n          # Check running docker container\n          docker ps\n\n          # Check if docker container is running\n          [[ $(docker inspect --format '{{json .State.Running}}' mala-cpu) == 'true' ]]\n\n      - name: Check out repository (mala)\n        uses: actions/checkout@v4\n\n      - name: Install mala package\n        # Exec all commands inside the mala-cpu container\n        shell: 'bash -c \"docker exec -i mala-cpu bash < {0}\"'\n        run: |\n          # export Docker image Conda environment for a later comparison\n          conda env export -n mala-cpu > env_before.yml\n\n          # install mala package\n          pip --no-cache-dir install -e .[opt,test] --no-build-isolation\n\n      - name: Check if Conda environment meets the specified requirements\n        shell: 'bash -c \"docker exec -i mala-cpu bash < {0}\"'\n        run: |\n          # export Conda environment _with_ mala package installed in it (and extra dependencies)\n          conda env export -n mala-cpu > env_after.yml\n\n          # if comparison fails, `install/mala_cpu_[base]_environment.yml` needs to be aligned with\n          # `requirements.txt` and/or extra dependencies are missing in the Docker Conda environment\n          diff --side-by-side --color=always env_before.yml env_after.yml\n\n      - name: Download test data repository from RODARE\n        shell: 'bash -c \"docker exec -i mala-cpu python < {0}\"'\n        run: |\n          import requests, shutil, zipfile\n\n          # This DOI represents all versions, and will always resolve to the latest one\n          DOI = \"https://doi.org/10.14278/rodare.2900\"\n\n          # Resolve DOI and get record ID and the associated API URL\n          response = requests.get(DOI)\n          *_, record_id = response.url.split(\"/\")\n          api_url = f\"https://rodare.hzdr.de/api/records/{record_id}\"\n\n          # Download record from API and get the first file\n          response = requests.get(api_url)\n          record = response.json()\n          size = record[\"files\"][0][\"size\"]\n          download_link = record[\"files\"][0][\"links\"][\"self\"]\n\n          print(size, \"bytes\", \"--\", download_link)\n\n          # TODO: implement some sort of auto retry for failed HTTP requests\n          response = requests.get(download_link)\n\n          # Saving downloaded content to a file\n          with open(\"test-data.zip\", mode=\"wb\") as file:\n            file.write(response.content)\n\n          # Get top level directory name\n          dir_name = zipfile.ZipFile(\"test-data.zip\").namelist()[0]\n          shutil.unpack_archive(\"test-data.zip\", \".\")\n\n          print(f\"Rename {dir_name} to mala_data\")\n          shutil.move(dir_name, \"mala_data\")\n\n      - name: Test mala\n        shell: 'bash -c \"docker exec -i mala-cpu bash < {0}\"'\n        run: MALA_DATA_REPO=$(pwd)/mala_data pytest -m \"not examples\" --disable-warnings\n\n  retag-docker-image-cpu:\n    needs: [cpu-tests, build-docker-image-cpu]\n    runs-on: ubuntu-22.04\n    permissions:\n      packages: write\n    env:\n      IMAGE_REPO: ${{ needs.build-docker-image-cpu.outputs.image-repo }}\n      DOCKER_TAG: ${{ needs.build-docker-image-cpu.outputs.docker-tag }}\n    # Trigger on pushes to master or develop (this includes _merged_ PRs) only if Docker image has changed and on git tag pushes\n    # NOTE: The `env` context is not available for workflow key `jobs.<job_id>.if`.\n    if: |\n      ((contains(github.ref_name, 'develop') || contains(github.ref_name, 'master')) && needs.build-docker-image-cpu.outputs.docker-tag != 'latest')\n      || startsWith(github.ref, 'refs/tags/')\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: \"Prepare environment: Restore cache\"\n        if: env.DOCKER_TAG != 'latest'\n        uses: actions/cache@v4\n        id: cache-docker\n        with:\n          path: ${{ env.DOCKER_CACHE_PATH }}\n          key: ${{ github.run_id }}\n\n      - name: \"Prepare environment: Load Docker image from cache\"\n        if: env.DOCKER_TAG != 'latest'\n        run: docker load -i $DOCKER_CACHE_PATH/docker-image.tar.gz\n\n      - name: \"Prepare environment: Pull latest image from container registry\"\n        if: env.DOCKER_TAG == 'latest'\n        run: docker pull $IMAGE_REPO/$IMAGE_NAME:latest\n\n      - name: Tag Docker image\n        run: |\n          # Execute on change of Docker image\n          if [[ \"$DOCKER_TAG\" != 'latest' ]]; then\n            GIT_SHA=${GITHUB_REF_NAME}-$(git rev-parse --short \"$GITHUB_SHA\")\n            echo \"GIT_SHA=$GIT_SHA\"\n\n            docker tag $IMAGE_NAME:$GITHUB_RUN_ID $IMAGE_REPO/$IMAGE_NAME:latest\n            docker tag $IMAGE_NAME:$GITHUB_RUN_ID $IMAGE_REPO/$IMAGE_NAME:$GIT_SHA\n          fi\n\n          # Execute on push of git tag\n          if ${{ startsWith(github.ref, 'refs/tags/') }}; then\n            GIT_TAG=$(echo \"${{ github.ref_name }}\" | sed -e 's/^v//')\n            echo \"GIT_TAG=$GIT_TAG\"\n\n            docker tag $IMAGE_REPO/$IMAGE_NAME:latest $IMAGE_REPO/$IMAGE_NAME:$GIT_TAG\n          fi\n\n      - name: Log into container registry\n        # Authentication required for pushing images\n        run: echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n\n      - name: Push Docker image\n        run: docker push $IMAGE_REPO/$IMAGE_NAME --all-tags\n", "state": "active", "repository": "mala-project/mala"}
{"mined_at": "2024-07-15T16:50:36.671118", "created_at": "2021-04-12T19:41:45+02:00", "updated_at": "2024-05-31T11:36:39+02:00", "name": "Documenation", "path": ".github/workflows/gh-pages.yml", "contents": "name: Documenation\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n    branches:\n      - master\n      - develop\n  push:\n    branches:\n      - develop\n\njobs:\n  test-docstrings:\n    # do not trigger on draft PRs\n    if: ${{ ! github.event.pull_request.draft }}\n    runs-on: ubuntu-24.04\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: Upgrade pip\n        run: python3 -m pip install --upgrade pip\n\n      - name: Install dependencies\n        run: pip install -qU pydocstyle\n\n      - name: Check docstrings\n         # Ignoring the cached_properties because pydocstyle (sometimes?) treats them as functions.\n        run: pydocstyle --convention=numpy --ignore-decorators=[cached_property,property] mala\n\n  build-and-deploy-pages:\n    needs: test-docstrings\n    runs-on: ubuntu-24.04\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0  # 0 fetches complete history and tags\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: Upgrade pip\n        run: python3 -m pip install --upgrade pip\n\n      - name: Install dependencies\n        run: |\n          pip install -r docs/requirements.txt\n\n      - name: Build API and docs\n        run: |\n          make -C docs apidocs\n          sphinx-build -W --keep-going -b html -d docs/_build/doctrees docs/source docs/_build/html\n          mv -v docs/_build/html public\n\n      - name: Deploy\n        if: ${{ github.event_name == 'push' }}\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}\n          publish_dir: ./public\n", "state": "active", "repository": "mala-project/mala"}
{"mined_at": "2024-07-15T16:50:37.898988", "created_at": "2021-09-07T15:41:15+02:00", "updated_at": "2024-06-13T14:02:12+02:00", "name": "Mirror to CASUS", "path": ".github/workflows/mirror-to-casus.yml", "contents": "name: Mirror to CASUS\n\non: [push, delete]\n\njobs:\n  mirror-to-CASUS:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: mirror-repository\n        uses: spyoungtech/mirror-action@v0.6.0\n        with:\n          REMOTE: 'ssh://git@github.com/casus/mala.git'\n          GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_KEY }}\n          GIT_SSH_NO_VERIFY_HOST: \"true\"\n          DEBUG: \"true\"\n", "state": "active", "repository": "mala-project/mala"}
{"mined_at": "2024-07-15T16:50:39.009995", "created_at": "2022-04-10T18:50:05+02:00", "updated_at": "2023-06-07T20:43:11+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI and TestPyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n\non:\n  push:\n    branches:\n      - master\n      - develop\n    tags:\n      - 'v*.*.*'\n  release:\n    types:\n      - published\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish distribution 📦 to TestPyPI\n      if: startsWith(github.ref, 'refs/tags/v')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n        verbose: true\n        # When a release gets created out of a tag (see next step), *this* step is triggered\n        # again and would cause an error due to the already exsiting tag on TestPyPI. Setting\n        # skip_existing to true avoids the pipeline to fail because of this.\n        skip_existing: true\n\n    - name: Publish distribution 📦 to PyPI\n      if: github.event_name == 'release'\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        verbose: true\n\n", "state": "active", "repository": "mala-project/mala"}
{"mined_at": "2024-07-15T16:50:39.998111", "created_at": "2022-01-06T20:57:43+01:00", "updated_at": "2022-01-06T20:57:43+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mala-project/mala"}
{"mined_at": "2024-07-15T16:50:43.203390", "created_at": "2021-08-02T06:59:14+02:00", "updated_at": "2022-03-02T23:05:08+01:00", "name": "Adapter Integration Tests", "path": ".github/workflows/integration.yml", "contents": null, "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:44.284008", "created_at": "2021-08-02T16:21:49+02:00", "updated_at": "2022-12-16T06:00:56+01:00", "name": "Tests and Code Checks", "path": ".github/workflows/main.yml", "contents": "# **what?**\n# Runs code quality checks, unit tests, integration tests and\n# verifies python build on all code commited to the repository. This workflow\n# should not require any secrets since it runs for PRs from forked repos. By\n# default, secrets are not passed to workflows running from a forked repos.\n\n# **why?**\n# Ensure code for dbt meets a certain quality standard.\n\n# **when?**\n# This will run for all PRs, when code is pushed to a release\n# branch, and when manually triggered.\n\nname: Tests and Code Checks\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"*.latest\"\n      - \"releases/*\"\n  pull_request:\n  workflow_dispatch:\n\npermissions: read-all\n\n# will cancel previous workflows triggered by the same event and for the same ref for PRs or same SHA otherwise\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ contains(github.event_name, 'pull_request') && github.event.pull_request.head.ref || github.sha }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\n# top-level adjustments can be made here\nenv:\n  # number of parallel processes to spawn for python integration testing\n  PYTHON_INTEGRATION_TEST_WORKERS: 5\n\njobs:\n  code-quality:\n    name: code-quality\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --user --upgrade pip\n          python -m pip --version\n          make dev\n          mypy --version\n          dbt --version\n\n      - name: Run pre-commit hooks\n        run: pre-commit run --all-files --show-diff-on-failure\n\n  unit:\n    name: unit test / python ${{ matrix.python-version }}\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n\n    env:\n      TOXENV: \"unit\"\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --user --upgrade pip\n          python -m pip --version\n          python -m pip install tox\n          tox --version\n\n      - name: Run unit tests\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 10\n          max_attempts: 3\n          command: tox -e unit\n\n      - name: Get current date\n        if: always()\n        id: date\n        run: |\n          CURRENT_DATE=$(date +'%Y-%m-%dT%H_%M_%S') # no colons allowed for artifacts\n          echo \"date=$CURRENT_DATE\" >> $GITHUB_OUTPUT\n\n      - name: Upload Unit Test Coverage to Codecov\n        if: ${{ matrix.python-version == '3.11' }}\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: unit\n\n  integration-metadata:\n    name: integration test metadata generation\n    runs-on: ubuntu-latest\n    outputs:\n      split-groups: ${{ steps.generate-split-groups.outputs.split-groups }}\n      include: ${{ steps.generate-include.outputs.include }}\n\n    steps:\n      - name: generate split-groups\n        id: generate-split-groups\n        run: |\n          MATRIX_JSON=\"[\"\n          for B in $(seq 1 ${{ env.PYTHON_INTEGRATION_TEST_WORKERS }}); do\n              MATRIX_JSON+=$(sed 's/^/\"/;s/$/\"/' <<< \"${B}\")\n          done\n          MATRIX_JSON=\"${MATRIX_JSON//\\\"\\\"/\\\", \\\"}\"\n          MATRIX_JSON+=\"]\"\n          echo \"split-groups=${MATRIX_JSON}\"\n          echo \"split-groups=${MATRIX_JSON}\" >> $GITHUB_OUTPUT\n\n      - name: generate include\n        id: generate-include\n        run: |\n          INCLUDE=('\"python-version\":\"3.8\",\"os\":\"windows-latest\"' '\"python-version\":\"3.8\",\"os\":\"macos-12\"' )\n          INCLUDE_GROUPS=\"[\"\n          for include in ${INCLUDE[@]}; do\n              for group in $(seq 1 ${{ env.PYTHON_INTEGRATION_TEST_WORKERS }}); do\n                  INCLUDE_GROUPS+=$(sed 's/$/, /' <<< \"{\\\"split-group\\\":\\\"${group}\\\",${include}}\")\n              done\n          done\n          INCLUDE_GROUPS=$(echo $INCLUDE_GROUPS | sed 's/,*$//g')\n          INCLUDE_GROUPS+=\"]\"\n          echo \"include=${INCLUDE_GROUPS}\"\n          echo \"include=${INCLUDE_GROUPS}\" >> $GITHUB_OUTPUT\n\n  integration:\n    name: (${{ matrix.split-group }}) integration test / python ${{ matrix.python-version }} / ${{ matrix.os }}\n\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 30\n    needs:\n      - integration-metadata\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n        os: [ubuntu-20.04]\n        split-group: ${{ fromJson(needs.integration-metadata.outputs.split-groups) }}\n        include: ${{ fromJson(needs.integration-metadata.outputs.include) }}\n    env:\n      TOXENV: integration\n      DBT_INVOCATION_ENV: github-actions\n      DBT_TEST_USER_1: dbt_test_user_1\n      DBT_TEST_USER_2: dbt_test_user_2\n      DBT_TEST_USER_3: dbt_test_user_3\n      DD_CIVISIBILITY_AGENTLESS_ENABLED: true\n      DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}\n      DD_SITE: datadoghq.com\n      DD_ENV: ci\n      DD_SERVICE: ${{ github.event.repository.name }}\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Set up postgres (linux)\n        if: runner.os == 'Linux'\n        uses: ./.github/actions/setup-postgres-linux\n\n      - name: Set up postgres (macos)\n        if: runner.os == 'macOS'\n        uses: ./.github/actions/setup-postgres-macos\n\n      - name: Set up postgres (windows)\n        if: runner.os == 'Windows'\n        uses: ./.github/actions/setup-postgres-windows\n\n      - name: Install python tools\n        run: |\n          python -m pip install --user --upgrade pip\n          python -m pip --version\n          python -m pip install tox\n          tox --version\n\n      - name: Run integration tests\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 30\n          max_attempts: 3\n          command: tox -- --ddtrace\n        env:\n          PYTEST_ADDOPTS: ${{ format('--splits {0} --group {1}', env.PYTHON_INTEGRATION_TEST_WORKERS, matrix.split-group) }}\n\n      - name: Get current date\n        if: always()\n        id: date\n        run: |\n          CURRENT_DATE=$(date +'%Y-%m-%dT%H_%M_%S') # no colons allowed for artifacts\n          echo \"date=$CURRENT_DATE\" >> $GITHUB_OUTPUT\n\n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: logs_${{ matrix.python-version }}_${{ matrix.os }}_${{ matrix.split-group }}_${{ steps.date.outputs.date }}\n          path: ./logs\n\n      - name: Upload Integration Test Coverage to Codecov\n        if: ${{ matrix.python-version == '3.11' }}\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: integration\n\n  integration-report:\n    if: ${{ always() }}\n    name: Integration Test Suite\n    runs-on: ubuntu-latest\n    needs: integration\n    steps:\n      - name: \"Integration Tests Failed\"\n        if: ${{ contains(needs.integration.result, 'failure') || contains(needs.integration.result, 'cancelled') }}\n        # when this is true the next step won't execute\n        run: |\n          echo \"::notice title='Integration test suite failed'\"\n          exit 1\n\n      - name: \"Integration Tests Passed\"\n        run: |\n          echo \"::notice title='Integration test suite passed'\"\n\n  build:\n    name: build packages\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --user --upgrade pip\n          python -m pip install --upgrade setuptools wheel twine check-wheel-contents\n          python -m pip --version\n\n      - name: Build distributions\n        run: ./scripts/build-dist.sh\n\n      - name: Show distributions\n        run: ls -lh dist/\n\n      - name: Check distribution descriptions\n        run: |\n          twine check dist/*\n\n      - name: Check wheel contents\n        run: |\n          check-wheel-contents dist/*.whl --ignore W007,W008\n\n      - name: Install wheel distributions\n        run: |\n          find ./dist/*.whl -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/\n\n      - name: Check wheel distributions\n        run: |\n          dbt --version\n\n      - name: Install source distributions\n        # ignore dbt-1.0.0, which intentionally raises an error when installed from source\n        run: |\n          find ./dist/*.gz -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/\n\n      - name: Check source distributions\n        run: |\n          dbt --version\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:45.366701", "created_at": "2021-09-10T22:51:03+02:00", "updated_at": "2024-05-01T16:12:44+02:00", "name": "Artifact Schema Check", "path": ".github/workflows/schema-check.yml", "contents": "# **what?**\n# Compares the schema of the dbt version of the given ref vs\n# the latest official schema releases found in schemas.getdbt.com.\n# If there are differences, the workflow will fail and upload the\n# diff as an artifact. The metadata team should be alerted to the change.\n#\n# **why?**\n# Reaction work may need to be done if artifact schema changes\n# occur so we want to proactively alert to it.\n#\n# **when?**\n# On pushes to `develop` and release branches. Manual runs are also enabled.\nname: Artifact Schema Check\n\non:\n  pull_request:\n    types: [ opened, reopened, labeled, unlabeled, synchronize ]\n    paths-ignore: [ '.changes/**', '.github/**', 'tests/**', '**.md', '**.yml' ]\n\n  workflow_dispatch:\n\n# no special access is needed\npermissions: read-all\n\nenv:\n  LATEST_SCHEMA_PATH: ${{ github.workspace }}/new_schemas\n  SCHEMA_DIFF_ARTIFACT: ${{ github.workspace }}/schema_changes.txt\n  DBT_REPO_DIRECTORY: ${{ github.workspace }}/dbt\n  SCHEMA_REPO_DIRECTORY: ${{ github.workspace }}/schemas.getdbt.com\n\njobs:\n  checking-schemas:\n    name: \"Checking schemas\"\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Checkout dbt repo\n        uses: actions/checkout@v4\n        with:\n            path: ${{ env.DBT_REPO_DIRECTORY }}\n\n      - name: Check for changes in core/dbt/artifacts\n        # https://github.com/marketplace/actions/paths-changes-filter\n        uses: dorny/paths-filter@v3\n        id: check_artifact_changes\n        with:\n          filters: |\n            artifacts_changed:\n              - 'core/dbt/artifacts/**'\n          list-files: shell\n          working-directory: ${{ env.DBT_REPO_DIRECTORY }}\n\n      - name: Succeed if no artifacts have changed\n        if: steps.check_artifact_changes.outputs.artifacts_changed == 'false'\n        run: |\n          echo \"No artifact changes found in core/dbt/artifacts. CI check passed.\"\n\n      - name: Checkout schemas.getdbt.com repo\n        if: steps.check_artifact_changes.outputs.artifacts_changed == 'true'\n        uses: actions/checkout@v4\n        with:\n          repository: dbt-labs/schemas.getdbt.com\n          ref: 'main'\n          path: ${{ env.SCHEMA_REPO_DIRECTORY }}\n\n      - name: Generate current schema\n        if: steps.check_artifact_changes.outputs.artifacts_changed == 'true'\n        run: |\n          cd ${{ env.DBT_REPO_DIRECTORY }}\n          python3 -m venv env\n          source env/bin/activate\n          pip install --upgrade pip\n          pip install -r dev-requirements.txt -r editable-requirements.txt\n          python scripts/collect-artifact-schema.py --path ${{ env.LATEST_SCHEMA_PATH }}\n\n      # Copy generated schema files into the schemas.getdbt.com repo\n      # Do a git diff to find any changes\n      # Ignore any lines with date-like (yyyy-mm-dd) or version-like (x.y.z) changes\n      - name: Compare schemas\n        if: steps.check_artifact_changes.outputs.artifacts_changed == 'true'\n        run: |\n          cp -r ${{ env.LATEST_SCHEMA_PATH }}/dbt ${{ env.SCHEMA_REPO_DIRECTORY }}\n          cd ${{ env.SCHEMA_REPO_DIRECTORY }}\n          git diff -I='*[0-9]{4}-[0-9]{2}-[0-9]{2}' -I='*[0-9]+\\.[0-9]+\\.[0-9]+' --exit-code > ${{ env.SCHEMA_DIFF_ARTIFACT }}\n\n      - name: Upload schema diff\n        uses: actions/upload-artifact@v4\n        if: ${{ failure() && steps.check_artifact_changes.outputs.artifacts_changed == 'true' }}\n        with:\n          name: 'schema_changes.txt'\n          path: '${{ env.SCHEMA_DIFF_ARTIFACT }}'\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:46.501558", "created_at": "2021-10-12T14:54:11+02:00", "updated_at": "2021-10-12T14:54:11+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: \"Close stale issues and PRs\"\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  stale:\n    uses: dbt-labs/actions/.github/workflows/stale-bot-matrix.yml@main\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:47.677839", "created_at": "2021-11-29T16:37:16+01:00", "updated_at": "2024-03-29T14:54:52+01:00", "name": "Release to GitHub, PyPI & Docker", "path": ".github/workflows/release.yml", "contents": "# **what?**\n# Release workflow provides the following steps:\n# - checkout the given commit;\n# - validate version in sources and changelog file for given version;\n# - bump the version and generate a changelog if needed;\n# - merge all changes to the target branch if needed;\n# - run unit and integration tests against given commit;\n# - build and package that SHA;\n# - release it to GitHub and PyPI with that specific build;\n# - release it to Docker\n#\n# **why?**\n# Ensure an automated and tested release process\n#\n# **when?**\n# This workflow can be run manually on demand or can be called by other workflows\n\nname: \"Release to GitHub, PyPI & Docker\"\nrun-name: \"Release ${{ inputs.version_number }} to GitHub, PyPI & Docker\"\n\non:\n  workflow_dispatch:\n    inputs:\n      target_branch:\n        description: \"The branch to release from\"\n        type: string\n        required: true\n      version_number:\n        description: \"The release version number (i.e. 1.0.0b1)\"\n        type: string\n        required: true\n      test_run:\n        description: \"Test run (Publish release as draft)\"\n        type: boolean\n        default: true\n        required: false\n      nightly_release:\n        description: \"Nightly release to dev environment\"\n        type: boolean\n        default: false\n        required: false\n      only_docker:\n        description: \"Only release Docker image, skip GitHub & PyPI\"\n        type: boolean\n        default: false\n        required: false\n  workflow_call:\n    inputs:\n      target_branch:\n        description: \"The branch to release from\"\n        type: string\n        required: true\n      version_number:\n        description: \"The release version number (i.e. 1.0.0b1)\"\n        type: string\n        required: true\n      test_run:\n        description: \"Test run (Publish release as draft)\"\n        type: boolean\n        default: true\n        required: false\n      nightly_release:\n        description: \"Nightly release to dev environment\"\n        type: boolean\n        default: false\n        required: false\n\npermissions:\n  contents: write # this is the permission that allows creating a new release\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  job-setup:\n    name: Log Inputs\n    runs-on: ubuntu-latest\n    outputs:\n      starting_sha: ${{ steps.set_sha.outputs.starting_sha }}\n    steps:\n      - name: \"[DEBUG] Print Variables\"\n        run: |\n          echo Inputs\n          echo The branch to release from:         ${{ inputs.target_branch }}\n          echo The release version number:         ${{ inputs.version_number }}\n          echo Test run:                           ${{ inputs.test_run }}\n          echo Nightly release:                    ${{ inputs.nightly_release }}\n          echo Only Docker:                        ${{ inputs.only_docker }}\n\n      - name: \"Checkout target branch\"\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.target_branch }}\n\n      # release-prep.yml really shouldn't take in the sha but since core + all adapters\n      # depend on it now this workaround lets us not input it manually with risk of error.\n      # The changes always get merged into the head so we can't use a specific commit for\n      # releases anyways.\n      - name: \"Capture sha\"\n        id: set_sha\n        run: |\n          echo \"starting_sha=$(git rev-parse HEAD)\" >> $GITHUB_OUTPUT\n\n  bump-version-generate-changelog:\n    name: Bump package version, Generate changelog\n    needs: [job-setup]\n    if: ${{ !inputs.only_docker }}\n\n    uses: dbt-labs/dbt-release/.github/workflows/release-prep.yml@main\n\n    with:\n      sha: ${{ needs.job-setup.outputs.starting_sha }}\n      version_number: ${{ inputs.version_number }}\n      target_branch: ${{ inputs.target_branch }}\n      env_setup_script_path: \"scripts/env-setup.sh\"\n      test_run: ${{ inputs.test_run }}\n      nightly_release: ${{ inputs.nightly_release }}\n\n    secrets: inherit\n\n  log-outputs-bump-version-generate-changelog:\n    name: \"[Log output] Bump package version, Generate changelog\"\n    if: ${{ !failure() && !cancelled() && !inputs.only_docker }}\n\n    needs: [bump-version-generate-changelog]\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Print variables\n        run: |\n          echo Final SHA     : ${{ needs.bump-version-generate-changelog.outputs.final_sha }}\n          echo Changelog path: ${{ needs.bump-version-generate-changelog.outputs.changelog_path }}\n\n  build-test-package:\n    name: Build, Test, Package\n    if: ${{ !failure() && !cancelled() && !inputs.only_docker }}\n    needs: [job-setup, bump-version-generate-changelog]\n\n    uses: dbt-labs/dbt-release/.github/workflows/build.yml@main\n\n    with:\n      sha: ${{ needs.bump-version-generate-changelog.outputs.final_sha }}\n      version_number: ${{ inputs.version_number }}\n      changelog_path: ${{ needs.bump-version-generate-changelog.outputs.changelog_path }}\n      build_script_path: \"scripts/build-dist.sh\"\n      s3_bucket_name: \"core-team-artifacts\"\n      package_test_command: \"dbt --version\"\n      test_run: ${{ inputs.test_run }}\n      nightly_release: ${{ inputs.nightly_release }}\n\n    secrets:\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n\n  github-release:\n    name: GitHub Release\n    if: ${{ !failure() && !cancelled() && !inputs.only_docker }}\n\n    needs: [bump-version-generate-changelog, build-test-package]\n\n    uses: dbt-labs/dbt-release/.github/workflows/github-release.yml@main\n\n    with:\n      sha: ${{ needs.bump-version-generate-changelog.outputs.final_sha }}\n      version_number: ${{ inputs.version_number }}\n      changelog_path: ${{ needs.bump-version-generate-changelog.outputs.changelog_path }}\n      test_run: ${{ inputs.test_run }}\n\n  pypi-release:\n    name: PyPI Release\n\n    needs: [github-release]\n\n    uses: dbt-labs/dbt-release/.github/workflows/pypi-release.yml@main\n\n    with:\n      version_number: ${{ inputs.version_number }}\n      test_run: ${{ inputs.test_run }}\n\n    secrets:\n      PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n      TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}\n\n  determine-docker-package:\n    # dbt-postgres exists within dbt-core for versions 1.7 and earlier but is a separate package for 1.8 and later.\n    # determine if we need to release dbt-core or both dbt-core and dbt-postgres\n    name: Determine Docker Package\n    if: ${{ !failure() && !cancelled() }}\n    runs-on: ubuntu-latest\n    needs: [pypi-release]\n    outputs:\n      matrix: ${{ steps.determine-docker-package.outputs.matrix }}\n    steps:\n      - name: \"Audit Version And Parse Into Parts\"\n        id: semver\n        uses: dbt-labs/actions/parse-semver@v1.1.0\n        with:\n          version: ${{ inputs.version_number }}\n\n      - name: \"Determine Packages to Release\"\n        id: determine-docker-package\n        run: |\n          if [ ${{ steps.semver.outputs.minor }} -ge 8 ]; then\n            json_output={\\\"package\\\":[\\\"dbt-core\\\"]}\n          else\n            json_output={\\\"package\\\":[\\\"dbt-core\\\",\\\"dbt-postgres\\\"]}\n          fi\n          echo \"matrix=$json_output\" >> $GITHUB_OUTPUT\n\n  docker-release:\n    name: \"Docker Release for ${{ matrix.package }}\"\n    needs: [determine-docker-package]\n    # We cannot release to docker on a test run because it uses the tag in GitHub as\n    # what we need to release but draft releases don't actually tag the commit so it\n    # finds nothing to release\n    if: ${{ !failure() && !cancelled() && (!inputs.test_run || inputs.only_docker) }}\n    strategy:\n      matrix: ${{fromJson(needs.determine-docker-package.outputs.matrix)}}\n\n    permissions:\n      packages: write\n\n    uses: dbt-labs/dbt-release/.github/workflows/release-docker.yml@main\n    with:\n      package: ${{ matrix.package }}\n      version_number: ${{ inputs.version_number }}\n      test_run: ${{ inputs.test_run }}\n\n  slack-notification:\n    name: Slack Notification\n    if: ${{ failure() && (!inputs.test_run || inputs.nightly_release) }}\n\n    needs:\n      [\n        bump-version-generate-changelog,\n        build-test-package,\n        github-release,\n        pypi-release,\n        docker-release,\n      ]\n\n    uses: dbt-labs/dbt-release/.github/workflows/slack-post-notification.yml@main\n    with:\n      status: \"failure\"\n\n    secrets:\n      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_DEV_CORE_ALERTS }}\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:48.707042", "created_at": "2021-12-01T18:45:12+01:00", "updated_at": "2021-12-03T18:51:30+01:00", "name": "Structured Logging Schema Check", "path": ".github/workflows/structured-logging-schema-check.yml", "contents": "# This Action checks makes a dbt run to sample json structured logs\n# and checks that they conform to the currently documented schema.\n#\n# If this action fails it either means we have unintentionally deviated\n# from our documented structured logging schema, or we need to bump the\n# version of our structured logging and add new documentation to\n# communicate these changes.\n\nname: Structured Logging Schema Check\non:\n  push:\n    branches:\n      - \"main\"\n      - \"*.latest\"\n      - \"releases/*\"\n  pull_request:\n  workflow_dispatch:\n\npermissions: read-all\n\n# top-level adjustments can be made here\nenv:\n  # number of parallel processes to spawn for python testing\n  PYTHON_INTEGRATION_TEST_WORKERS: 5\n\njobs:\n  integration-metadata:\n    name: integration test metadata generation\n    runs-on: ubuntu-latest\n    outputs:\n      split-groups: ${{ steps.generate-split-groups.outputs.split-groups }}\n\n    steps:\n      - name: generate split-groups\n        id: generate-split-groups\n        run: |\n          MATRIX_JSON=\"[\"\n          for B in $(seq 1 ${{ env.PYTHON_INTEGRATION_TEST_WORKERS }}); do\n              MATRIX_JSON+=$(sed 's/^/\"/;s/$/\"/' <<< \"${B}\")\n          done\n          MATRIX_JSON=\"${MATRIX_JSON//\\\"\\\"/\\\", \\\"}\"\n          MATRIX_JSON+=\"]\"\n          echo \"split-groups=${MATRIX_JSON}\" >> $GITHUB_OUTPUT\n\n  # run the performance measurements on the current or default branch\n  test-schema:\n    name: Test Log Schema\n    runs-on: ubuntu-20.04\n    timeout-minutes: 30\n    needs:\n      - integration-metadata\n    strategy:\n      fail-fast: false\n      matrix:\n        split-group: ${{ fromJson(needs.integration-metadata.outputs.split-groups) }}\n    env:\n      # turns warnings into errors\n      RUSTFLAGS: \"-D warnings\"\n      # points tests to the log file\n      LOG_DIR: \"/home/runner/work/dbt-core/dbt-core/logs\"\n      # tells integration tests to output into json format\n      DBT_LOG_FORMAT: \"json\"\n      # tell eventmgr to convert logging events into bytes\n      DBT_TEST_BINARY_SERIALIZATION: \"true\"\n      # Additional test users\n      DBT_TEST_USER_1: dbt_test_user_1\n      DBT_TEST_USER_2: dbt_test_user_2\n      DBT_TEST_USER_3: dbt_test_user_3\n\n    steps:\n      - name: checkout dev\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n\n      - name: Install python dependencies\n        run: |\n          pip install --user --upgrade pip\n          pip --version\n          pip install tox\n          tox --version\n\n      - name: Set up postgres\n        uses: ./.github/actions/setup-postgres-linux\n\n      - name: ls\n        run: ls\n\n      # integration tests generate a ton of logs in different files. the next step will find them all.\n      # we actually care if these pass, because the normal test run doesn't usually include many json log outputs\n      - name: Run integration tests\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 30\n          max_attempts: 3\n          command: tox -e integration -- -nauto\n        env:\n          PYTEST_ADDOPTS: ${{ format('--splits {0} --group {1}', env.PYTHON_INTEGRATION_TEST_WORKERS, matrix.split-group) }}\n\n  test-schema-report:\n    name: Log Schema Test Suite\n    runs-on: ubuntu-latest\n    needs: test-schema\n    steps:\n      - name: \"[Notification] Log test suite passes\"\n        run: |\n          echo \"::notice title=\"Log test suite passes\"\"\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:50.105090", "created_at": "2022-01-21T02:03:59+01:00", "updated_at": "2022-01-21T18:41:00+01:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "# **what?**\n# When a PR is merged, if it has the backport label, it will create\n# a new PR to backport those changes to the given branch. If it can't\n# cleanly do a backport, it will comment on the merged PR of the failure.\n#\n# Label naming convention: \"backport <branch name to backport to>\"\n# Example: backport 1.0.latest\n#\n# You MUST \"Squash and merge\" the original PR or this won't work.\n\n# **why?**\n# Changes sometimes need to be backported to release branches.\n# This automates the backporting process\n\n# **when?**\n# Once a PR is \"Squash and merge\"'d, by adding a backport label, this is triggered\n\nname: Backport\non:\n  pull_request:\n    types:\n      - labeled\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  backport:\n    name: Backport\n    runs-on: ubuntu-latest\n    # Only react to merged PRs for security reasons.\n    # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.\n    if: >\n      github.event.pull_request.merged\n      && contains(github.event.label.name, 'backport')\n    steps:\n      - uses: tibdex/backport@v2.0.4\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:51.354094", "created_at": "2022-02-17T20:33:26+01:00", "updated_at": "2022-08-05T20:36:18+02:00", "name": "Check Changelog Entry", "path": ".github/workflows/changelog-check.yml", "contents": null, "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:52.663522", "created_at": "2022-02-23T01:05:56+01:00", "updated_at": "2023-05-05T15:41:47+02:00", "name": "Model Performance Characteristics", "path": ".github/workflows/model_performance.yml", "contents": "# **what?**\n# This workflow models the performance characteristics of a point in time in dbt.\n# It runs specific dbt commands on committed projects multiple times to create and\n# commit information about the distribution to the current branch. For more information\n# see the readme in the performance module at /performance/README.md.\n#\n# **why?**\n# When developing new features, we can take quick performance samples and compare\n# them against the commited baseline measurements produced by this workflow to detect\n# some performance regressions at development time before they reach users.\n#\n# **when?**\n# This is only run once directly after each release (for non-prereleases). If for some\n# reason the results of a run are not satisfactory, it can also be triggered manually.\n\nname: Model Performance Characteristics\n\non:\n  # runs after non-prereleases are published.\n  release:\n    types: [released]\n  # run manually from the actions tab\n  workflow_dispatch:\n    inputs:\n      release_id:\n        description: 'dbt version to model (must be non-prerelease in Pypi)'\n        type: string\n        required: true\n\nenv:\n  RUNNER_CACHE_PATH: performance/runner/target/release/runner\n\n# both jobs need to write\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  set-variables:\n    name: Setting Variables\n    runs-on: ubuntu-latest\n    outputs:\n      cache_key: ${{ steps.variables.outputs.cache_key }}\n      release_id: ${{ steps.semver.outputs.base-version }}\n      release_branch: ${{ steps.variables.outputs.release_branch }}\n    steps:\n\n      # explicitly checkout the performance runner from main regardless of which\n      # version we are modeling.\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: main\n\n      - name: Parse version into parts\n        id: semver\n        uses: dbt-labs/actions/parse-semver@v1\n        with:\n          version: ${{ github.event.inputs.release_id || github.event.release.tag_name }}\n\n      # collect all the variables that need to be used in subsequent jobs\n      - name: Set variables\n        id: variables\n        run: |\n          # create a cache key that will be used in the next job. without this the\n          # next job would have to checkout from main and hash the files itself.\n          echo \"cache_key=${{ runner.os }}-${{ hashFiles('performance/runner/Cargo.toml')}}-${{ hashFiles('performance/runner/src/*') }}\" >> $GITHUB_OUTPUT\n\n          branch_name=\"${{steps.semver.outputs.major}}.${{steps.semver.outputs.minor}}.latest\"\n          echo \"release_branch=$branch_name\" >> $GITHUB_OUTPUT\n          echo \"release branch is inferred to be ${branch_name}\"\n\n  latest-runner:\n    name: Build or Fetch Runner\n    runs-on: ubuntu-latest\n    needs: [set-variables]\n    env:\n      RUSTFLAGS: \"-D warnings\"\n    steps:\n      - name: '[DEBUG] print variables'\n        run: |\n          echo \"all variables defined in set-variables\"\n          echo \"cache_key:      ${{ needs.set-variables.outputs.cache_key }}\"\n          echo \"release_id:     ${{ needs.set-variables.outputs.release_id }}\"\n          echo \"release_branch: ${{ needs.set-variables.outputs.release_branch }}\"\n\n      # explicitly checkout the performance runner from main regardless of which\n      # version we are modeling.\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: main\n\n      # attempts to access a previously cached runner\n      - uses: actions/cache@v4\n        id: cache\n        with:\n          path: ${{ env.RUNNER_CACHE_PATH }}\n          key: ${{ needs.set-variables.outputs.cache_key }}\n\n      - name: Fetch Rust Toolchain\n        if: steps.cache.outputs.cache-hit != 'true'\n        uses: actions-rs/toolchain@v1\n        with:\n          profile: minimal\n          toolchain: stable\n          override: true\n\n      - name: Add fmt\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: rustup component add rustfmt\n\n      - name: Cargo fmt\n        if: steps.cache.outputs.cache-hit != 'true'\n        uses: actions-rs/cargo@v1\n        with:\n          command: fmt\n          args: --manifest-path performance/runner/Cargo.toml --all -- --check\n\n      - name: Test\n        if: steps.cache.outputs.cache-hit != 'true'\n        uses: actions-rs/cargo@v1\n        with:\n          command: test\n          args: --manifest-path performance/runner/Cargo.toml\n\n      - name: Build (optimized)\n        if: steps.cache.outputs.cache-hit != 'true'\n        uses: actions-rs/cargo@v1\n        with:\n          command: build\n          args: --release --manifest-path performance/runner/Cargo.toml\n      # the cache action automatically caches this binary at the end of the job\n\n  model:\n    # depends on `latest-runner` as a separate job so that failures in this job do not prevent\n    # a successfully tested and built binary from being cached.\n    needs: [set-variables, latest-runner]\n    name: Model a release\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: '[DEBUG] print variables'\n        run: |\n          echo \"all variables defined in set-variables\"\n          echo \"cache_key:      ${{ needs.set-variables.outputs.cache_key }}\"\n          echo \"release_id:     ${{ needs.set-variables.outputs.release_id }}\"\n          echo \"release_branch: ${{ needs.set-variables.outputs.release_branch }}\"\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n\n      - name: Install dbt\n        run: pip install dbt-postgres==${{ needs.set-variables.outputs.release_id }}\n\n      - name: Install Hyperfine\n        run: wget https://github.com/sharkdp/hyperfine/releases/download/v1.11.0/hyperfine_1.11.0_amd64.deb && sudo dpkg -i hyperfine_1.11.0_amd64.deb\n\n      # explicitly checkout main to get the latest project definitions\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: main\n\n      # this was built in the previous job so it will be there.\n      - name: Fetch Runner\n        uses: actions/cache@v4\n        id: cache\n        with:\n          path: ${{ env.RUNNER_CACHE_PATH }}\n          key: ${{ needs.set-variables.outputs.cache_key }}\n\n      - name: Move Runner\n        run: mv performance/runner/target/release/runner performance/app\n\n      - name: Change Runner Permissions\n        run: chmod +x ./performance/app\n\n      - name: '[DEBUG] ls baseline directory before run'\n        run: ls -R performance/baselines/\n\n      # `${{ github.workspace }}` is used to pass the absolute path\n      - name: Create directories\n        run: |\n          mkdir ${{ github.workspace }}/performance/tmp/\n          mkdir -p performance/baselines/${{ needs.set-variables.outputs.release_id }}/\n\n      # Run modeling with taking 20 samples\n      - name: Run Measurement\n        run: |\n          performance/app model -v ${{ needs.set-variables.outputs.release_id }} -b ${{ github.workspace }}/performance/baselines/ -p ${{ github.workspace }}/performance/projects/ -t ${{ github.workspace }}/performance/tmp/ -n 20\n\n      - name: '[DEBUG] ls baseline directory after run'\n        run: ls -R performance/baselines/\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: baseline\n          path: performance/baselines/${{ needs.set-variables.outputs.release_id }}/\n\n  create-pr:\n    name: Open PR for ${{ matrix.base-branch }}\n\n    # depends on `model` as a separate job so that the baseline can be committed to more than one branch\n    # i.e. release branch and main\n    needs: [set-variables, latest-runner, model]\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        include:\n          - base-branch: refs/heads/main\n            target-branch: performance-bot/main_${{ needs.set-variables.outputs.release_id }}_${{GITHUB.RUN_ID}}\n          - base-branch: refs/heads/${{ needs.set-variables.outputs.release_branch }}\n            target-branch: performance-bot/release_${{ needs.set-variables.outputs.release_id }}_${{GITHUB.RUN_ID}}\n\n    steps:\n      - name: '[DEBUG] print variables'\n        run: |\n          echo \"all variables defined in set-variables\"\n          echo \"cache_key:      ${{ needs.set-variables.outputs.cache_key }}\"\n          echo \"release_id:     ${{ needs.set-variables.outputs.release_id }}\"\n          echo \"release_branch: ${{ needs.set-variables.outputs.release_branch }}\"\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ matrix.base-branch }}\n\n      - name: Create PR branch\n        run: |\n          git checkout -b ${{ matrix.target-branch }}\n          git push origin ${{ matrix.target-branch }}\n          git branch --set-upstream-to=origin/${{ matrix.target-branch }} ${{ matrix.target-branch }}\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: baseline\n          path: performance/baselines/${{ needs.set-variables.outputs.release_id }}\n\n      - name: '[DEBUG] ls baselines after artifact download'\n        run: ls -R performance/baselines/\n\n      - name: Commit baseline\n        uses: EndBug/add-and-commit@v9\n        with:\n          add: 'performance/baselines/*'\n          author_name: 'Github Build Bot'\n          author_email: 'buildbot@fishtownanalytics.com'\n          message: 'adding performance baseline for ${{ needs.set-variables.outputs.release_id }}'\n          push: 'origin origin/${{ matrix.target-branch }}'\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          author: 'Github Build Bot <buildbot@fishtownanalytics.com>'\n          base: ${{ matrix.base-branch }}\n          branch: '${{ matrix.target-branch }}'\n          title: 'Adding performance modeling for ${{needs.set-variables.outputs.release_id}} to ${{ matrix.base-branch }}'\n          body: 'Committing perf results for tracking for the ${{needs.set-variables.outputs.release_id}}'\n          labels: |\n            Skip Changelog\n            Performance\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:53.788288", "created_at": "2022-04-26T20:39:12+02:00", "updated_at": "2023-05-18T17:39:56+02:00", "name": "Update Triage Label", "path": ".github/workflows/triage-labels.yml", "contents": "# **what?**\n# When the core team triages, we sometimes need more information from the issue creator.  In\n# those cases we remove the `triage` label and add the `awaiting_response` label.  Once we\n# recieve a response in the form of a comment, we want the `awaiting_response` label removed\n# in favor of the `triage` label so we are aware that the issue needs action.\n\n# **why?**\n# To help with out team triage issue tracking\n\n# **when?**\n# This will run when a comment is added to an issue and that issue has to `awaiting_response` label.\n\nname: Update Triage Label\n\non: issue_comment\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  issues: write\n\njobs:\n  triage_label:\n    if: contains(github.event.issue.labels.*.name, 'awaiting_response')\n    uses: dbt-labs/actions/.github/workflows/swap-labels.yml@main\n    with:\n      add_label: \"triage\"\n      remove_label: \"awaiting_response\"\n    secrets: inherit\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:54.840914", "created_at": "2022-06-09T01:28:15+02:00", "updated_at": "2023-05-18T20:19:59+02:00", "name": "Release branch scheduled testing", "path": ".github/workflows/release-branch-tests.yml", "contents": "# **what?**\n# The purpose of this workflow is to trigger CI to run for each\n# release branch and main branch on a regular cadence. If the CI workflow\n# fails for a branch, it will post to #dev-core-alerts to raise awareness.\n\n# **why?**\n# Ensures release branches and main are always shippable and not broken.\n# Also, can catch any dependencies shifting beneath us that might\n# introduce breaking changes (could also impact Cloud).\n\n# **when?**\n# Mainly on a schedule of 9:00, 13:00, 18:00 UTC everyday.\n# Manual trigger can also test on demand\n\nname: Release branch scheduled testing\n\non:\n  schedule:\n    - cron: '0 9,13,18 * * *' # 9:00, 13:00, 18:00 UTC\n\n  workflow_dispatch: # for manual triggering\n\n# no special access is needed\npermissions: read-all\n\njobs:\n  run_tests:\n    uses: dbt-labs/actions/.github/workflows/release-branch-tests.yml@main\n    with:\n      workflows_to_run: '[\"main.yml\"]'\n    secrets: inherit\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:55.883916", "created_at": "2022-07-15T20:36:07+02:00", "updated_at": "2022-07-21T00:48:37+02:00", "name": "Bot Changelog", "path": ".github/workflows/bot-changelog.yml", "contents": "# **what?**\n# When bots create a PR, this action will add a corresponding changie yaml file to that\n# PR when a specific label is added.\n#\n# The file is created off a template:\n#\n# kind: <per action matrix>\n# body: <PR title>\n# time: <current timestamp>\n# custom:\n#   Author: <PR User Login (generally the bot)>\n#   Issue: 4904\n#   PR: <PR number>\n#\n# **why?**\n# Automate changelog generation for more visability with automated bot PRs.\n#\n# **when?**\n# Once a PR is created, label should be added to PR before or after creation. You can also\n#  manually trigger this by adding the appropriate label at any time.\n#\n# **how to add another bot?**\n# Add the label and changie kind to the include matrix.  That's it!\n#\n\nname: Bot Changelog\n\non:\n  pull_request:\n    # catch when the PR is opened with the label or when the label is added\n    types: [labeled]\n\npermissions:\n  contents: write\n  pull-requests: read\n\njobs:\n  generate_changelog:\n    strategy:\n      matrix:\n        include:\n          - label: \"dependencies\"\n            changie_kind: \"Dependencies\"\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - name: Create and commit changelog on bot PR\n      if: ${{ contains(github.event.pull_request.labels.*.name, matrix.label) }}\n      id: bot_changelog\n      uses: emmyoop/changie_bot@v1.1.0\n      with:\n        GITHUB_TOKEN: ${{ secrets.FISHTOWN_BOT_PAT }}\n        commit_author_name: \"Github Build Bot\"\n        commit_author_email: \"<buildbot@fishtownanalytics.com>\"\n        commit_message: \"Add automated changelog yaml from template for bot PR\"\n        changie_kind: ${{ matrix.changie_kind }}\n        label: ${{ matrix.label }}\n        custom_changelog_string: \"custom:\\n  Author: ${{ github.event.pull_request.user.login }}\\n  Issue: ${{ github.event.pull_request.number }}\"\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:56.908577", "created_at": "2022-08-02T16:48:51+02:00", "updated_at": "2023-08-18T21:33:42+02:00", "name": "Check Changelog Entry", "path": ".github/workflows/changelog-existence.yml", "contents": "# **what?**\n# Checks that a file has been committed under the /.changes directory\n# as a new CHANGELOG entry.  Cannot check for a specific filename as\n# it is dynamically generated by change type and timestamp.\n# This workflow runs on pull_request_target because it requires\n# secrets to post comments.\n\n# **why?**\n# Ensure code change gets reflected in the CHANGELOG.\n\n# **when?**\n# This will run for all PRs going into main and *.latest.  It will\n# run when they are opened, reopened, when any label is added or removed\n# and when new code is pushed to the branch.  The action will then get\n# skipped if the 'Skip Changelog' label is present is any of the labels.\n\nname: Check Changelog Entry\n\non:\n  pull_request_target:\n    types: [opened, reopened, labeled, unlabeled, synchronize]\n    paths-ignore: ['.changes/**', '.github/**', 'tests/**', '**.md', '**.yml']\n\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n  changelog:\n    uses: dbt-labs/actions/.github/workflows/changelog-existence.yml@main\n    with:\n      changelog_comment: 'Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see [the contributing guide](https://github.com/dbt-labs/dbt-core/blob/main/CONTRIBUTING.md#adding-changelog-entry).'\n      skip_label: 'Skip Changelog'\n    secrets: inherit\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:57.914860", "created_at": "2022-09-23T20:54:36+02:00", "updated_at": "2022-09-23T20:54:36+02:00", "name": "Codespaces Prebuilds", "path": "dynamic/codespaces/create_codespaces_prebuilds", "contents": null, "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:58.951561", "created_at": "2022-10-24T19:39:50+02:00", "updated_at": "2023-03-07T03:47:02+01:00", "name": "Generate CLI API docs", "path": ".github/workflows/generate-cli-api-docs.yml", "contents": null, "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:50:59.998846", "created_at": "2023-01-27T16:04:37+01:00", "updated_at": "2024-03-23T10:05:32+01:00", "name": "Nightly Test Release to GitHub and PyPI", "path": ".github/workflows/nightly-release.yml", "contents": "# **what?**\n# Nightly releases to GitHub and PyPI. This workflow produces the following outcome:\n# - generate and validate data for night release (commit SHA, version number, release branch);\n# - pass data to release workflow;\n# - night release will be pushed to GitHub as a draft release;\n# - night build will be pushed to test PyPI;\n#\n# **why?**\n# Ensure an automated and tested release process for nightly builds\n#\n# **when?**\n# This workflow runs on schedule or can be run manually on demand.\n\nname: Nightly Test Release to GitHub and PyPI\n\non:\n  workflow_dispatch: # for manual triggering\n  schedule:\n    - cron: 0 9 * * *\n\npermissions:\n  contents: write # this is the permission that allows creating a new release\n  packages: write # this is the permission that allows Docker release\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  RELEASE_BRANCH: \"main\"\n\njobs:\n  aggregate-release-data:\n    runs-on: ubuntu-latest\n\n    outputs:\n      version_number: ${{ steps.nightly-release-version.outputs.number }}\n      release_branch: ${{ steps.release-branch.outputs.name }}\n\n    steps:\n      - name: \"Checkout ${{ github.repository }} Branch ${{ env.RELEASE_BRANCH }}\"\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.RELEASE_BRANCH }}\n\n      - name: \"Get Current Version Number\"\n        id: version-number-sources\n        run: |\n          current_version=`awk -F\"current_version = \" '{print $2}' .bumpversion.cfg | tr '\\n' ' '`\n          echo \"current_version=$current_version\" >> $GITHUB_OUTPUT\n\n      - name: \"Audit Version And Parse Into Parts\"\n        id: semver\n        uses: dbt-labs/actions/parse-semver@v1.1.0\n        with:\n          version: ${{ steps.version-number-sources.outputs.current_version }}\n\n      - name: \"Get Current Date\"\n        id: current-date\n        run: echo \"date=$(date +'%m%d%Y')\" >> $GITHUB_OUTPUT\n\n      - name: \"Generate Nightly Release Version Number\"\n        id: nightly-release-version\n        run: |\n          number=\"${{ steps.semver.outputs.version }}.dev${{ steps.current-date.outputs.date }}\"\n          echo \"number=$number\" >> $GITHUB_OUTPUT\n\n      - name: \"Audit Nightly Release Version And Parse Into Parts\"\n        uses: dbt-labs/actions/parse-semver@v1.1.0\n        with:\n          version: ${{ steps.nightly-release-version.outputs.number }}\n\n      - name: \"Set Release Branch\"\n        id: release-branch\n        run: |\n          echo \"name=${{ env.RELEASE_BRANCH }}\" >> $GITHUB_OUTPUT\n\n  log-outputs-aggregate-release-data:\n    runs-on: ubuntu-latest\n    needs: [aggregate-release-data]\n\n    steps:\n      - name: \"[DEBUG] Log Outputs\"\n        run: |\n          echo version_number: ${{ needs.aggregate-release-data.outputs.version_number }}\n          echo release_branch: ${{ needs.aggregate-release-data.outputs.release_branch }}\n\n  release-github-pypi:\n    needs: [aggregate-release-data]\n\n    uses: ./.github/workflows/release.yml\n    with:\n      target_branch: ${{ needs.aggregate-release-data.outputs.release_branch }}\n      version_number: ${{ needs.aggregate-release-data.outputs.version_number }}\n      test_run: true\n      nightly_release: true\n    secrets: inherit\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:51:01.085327", "created_at": "2023-02-14T15:09:20+01:00", "updated_at": "2023-02-14T15:09:20+01:00", "name": "Cut new release branch", "path": ".github/workflows/cut-release-branch.yml", "contents": "# **what?**\n# Cuts a new `*.latest` branch\n# Also cleans up all files in `.changes/unreleased` and `.changes/previous verion on\n# `main` and bumps `main` to the input version.\n\n# **why?**\n# Generally reduces the workload of engineers and reduces error.  Allow automation.\n\n# **when?**\n# This will run when called manually.\n\nname: Cut new release branch\n\non:\n  workflow_dispatch:\n    inputs:\n      version_to_bump_main:\n        description: 'The alpha version main should bump to (ex. 1.6.0a1)'\n        required: true\n      new_branch_name:\n        description: 'The full name of the new branch (ex. 1.5.latest)'\n        required: true\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: write\n\njobs:\n  cut_branch:\n    name: \"Cut branch and clean up main for dbt-core\"\n    uses: dbt-labs/actions/.github/workflows/cut-release-branch.yml@main\n    with:\n      version_to_bump_main: ${{ inputs.version_to_bump_main }}\n      new_branch_name: ${{ inputs.new_branch_name }}\n      PR_title: \"Cleanup main after cutting new ${{ inputs.new_branch_name }} branch\"\n      PR_body: \"All adapter PRs will fail CI until the dbt-core PR has been merged due to release version conflicts.\"\n    secrets:\n      FISHTOWN_BOT_PAT: ${{ secrets.FISHTOWN_BOT_PAT }}\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:51:02.168731", "created_at": "2023-06-26T12:52:01+02:00", "updated_at": "2023-06-26T12:52:01+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:51:03.242326", "created_at": "2023-07-05T21:57:16+02:00", "updated_at": "2023-07-05T21:57:16+02:00", "name": "Sync GHAS Findings to Jira", "path": ".github/workflows/jira-security.yml", "contents": null, "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:51:04.267236", "created_at": "2023-07-07T19:48:44+02:00", "updated_at": "2023-07-07T19:48:44+02:00", "name": "Flaky Tester", "path": ".github/workflows/test-repeater.yml", "contents": "# **what?**\n# This workflow will test all test(s) at the input path given number of times to determine if it's flaky or not.  You can test with any supported OS/Python combination.\n# This is batched in 10 to allow more test iterations faster.\n\n# **why?**\n# Testing if a test is flaky and if a previously flaky test has been fixed.  This allows easy testing on supported python versions and OS combinations.\n\n# **when?**\n# This is triggered manually from dbt-core.\n\nname: Flaky Tester\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Branch to check out'\n        type: string\n        required: true\n        default: 'main'\n      test_path:\n        description: 'Path to single test to run (ex: tests/functional/retry/test_retry.py::TestRetry::test_fail_fast)'\n        type: string\n        required: true\n        default: 'tests/functional/...'\n      python_version:\n        description: 'Version of Python to Test Against'\n        type: choice\n        options:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n      os:\n        description: 'OS to run test in'\n        type: choice\n        options:\n          - 'ubuntu-latest'\n          - 'macos-12'\n          - 'windows-latest'\n      num_runs_per_batch:\n        description: 'Max number of times to run the test per batch.  We always run 10 batches.'\n        type: number\n        required: true\n        default: '50'\n\npermissions: read-all\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  debug:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"[DEBUG] Output Inputs\"\n        run: |\n          echo \"Branch: ${{ inputs.branch }}\"\n          echo \"test_path: ${{ inputs.test_path }}\"\n          echo \"python_version: ${{ inputs.python_version }}\"\n          echo \"os: ${{ inputs.os }}\"\n          echo \"num_runs_per_batch: ${{ inputs.num_runs_per_batch }}\"\n\n  pytest:\n    runs-on: ${{ inputs.os }}\n    strategy:\n      # run all batches, even if one fails.  This informs how flaky the test may be.\n      fail-fast: false\n      # using a matrix to speed up the jobs since the matrix will run in parallel when runners are available\n      matrix:\n        batch: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\"]\n    env:\n      PYTEST_ADDOPTS: \"-v --color=yes -n4 --csv integration_results.csv\"\n      DBT_TEST_USER_1: dbt_test_user_1\n      DBT_TEST_USER_2: dbt_test_user_2\n      DBT_TEST_USER_3: dbt_test_user_3\n      DD_CIVISIBILITY_AGENTLESS_ENABLED: true\n      DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}\n      DD_SITE: datadoghq.com\n      DD_ENV: ci\n      DD_SERVICE: ${{ github.event.repository.name }}\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.branch }}\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ inputs.python_version }}\"\n\n      - name: \"Setup Dev Environment\"\n        run: make dev\n\n      - name: \"Set up postgres (linux)\"\n        if: inputs.os == 'ubuntu-latest'\n        run: make setup-db\n\n        # mac and windows don't use make due to limitations with docker with those runners in GitHub\n      - name: \"Set up postgres (macos)\"\n        if: inputs.os == 'macos-12'\n        uses: ./.github/actions/setup-postgres-macos\n\n      - name: \"Set up postgres (windows)\"\n        if: inputs.os == 'windows-latest'\n        uses: ./.github/actions/setup-postgres-windows\n\n      - name: \"Test Command\"\n        id: command\n        run: |\n          test_command=\"python -m pytest ${{ inputs.test_path }}\"\n          echo \"test_command=$test_command\" >> $GITHUB_OUTPUT\n\n      - name: \"Run test ${{ inputs.num_runs_per_batch }} times\"\n        id: pytest\n        run: |\n          set +e\n          for ((i=1; i<=${{ inputs.num_runs_per_batch }}; i++))\n          do\n            echo \"Running pytest iteration $i...\"\n            python -m pytest --ddtrace ${{ inputs.test_path }}\n            exit_code=$?\n\n            if [[ $exit_code -eq 0 ]]; then\n              success=$((success + 1))\n              echo \"Iteration $i: Success\"\n            else\n              failure=$((failure + 1))\n              echo \"Iteration $i: Failure\"\n            fi\n\n            echo\n            echo \"===========================\"\n            echo \"Successful runs: $success\"\n            echo \"Failed runs: $failure\"\n            echo \"===========================\"\n            echo\n          done\n\n          echo \"failure=$failure\" >> $GITHUB_OUTPUT\n\n      - name: \"Success and Failure Summary: ${{ inputs.os }}/Python ${{ inputs.python_version }}\"\n        run: |\n          echo \"Batch: ${{ matrix.batch }}\"\n          echo \"Successful runs: ${{ steps.pytest.outputs.success }}\"\n          echo \"Failed runs: ${{ steps.pytest.outputs.failure }}\"\n\n      - name: \"Error for Failures\"\n        if: ${{ steps.pytest.outputs.failure }}\n        run: |\n            echo \"Batch ${{ matrix.batch }} failed ${{ steps.pytest.outputs.failure }} of ${{ inputs.num_runs_per_batch }} tests\"\n            exit 1\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:51:05.350330", "created_at": "2023-08-12T00:12:56+02:00", "updated_at": "2024-06-20T22:17:24+02:00", "name": "Open issues in docs.getdbt.com repo when an issue is labeled", "path": ".github/workflows/docs-issue.yml", "contents": "# **what?**\n# Open an issue in docs.getdbt.com when an issue is labeled `user docs` and closed as completed\n\n# **why?**\n# To reduce barriers for keeping docs up to date\n\n# **when?**\n# When an issue is labeled `user docs` and is closed as completed.  Can be labeled before or after the issue is closed.\n\n\nname: Open issues in docs.getdbt.com repo when an issue is labeled\nrun-name: \"Open an issue in docs.getdbt.com for issue #${{ github.event.issue.number }}\"\n\non:\n  issues:\n    types: [labeled, closed]\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n    issues: write # comments on issues\n\njobs:\n  open_issues:\n    # we only want to run this when the issue is closed as completed and the label `user docs` has been assigned.\n    # If this logic does not exist in this workflow, it runs the\n    # risk of duplicaton of issues being created due to merge and label both triggering this workflow to run and neither having\n    # generating the comment before the other runs.  This lives here instead of the shared workflow because this is where we\n    # decide if it should run or not.\n    if: |\n      (github.event.issue.state == 'closed' &&\n       github.event.issue.state_reason == 'completed' &&\n       contains( github.event.issue.labels.*.name, 'user docs'))\n    uses: dbt-labs/actions/.github/workflows/open-issue-in-repo.yml@main\n    with:\n        issue_repository: \"dbt-labs/docs.getdbt.com\"\n        issue_title: \"Docs Changes Needed from ${{ github.event.repository.name }} Issue #${{ github.event.issue.number }}\"\n        issue_body: \"At a minimum, update body to include a link to the page on docs.getdbt.com requiring updates and what part(s) of the page you would like to see updated.\"\n    secrets: inherit\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:51:06.385894", "created_at": "2023-09-26T16:35:34+02:00", "updated_at": "2023-09-26T16:35:34+02:00", "name": "Repository Cleanup", "path": ".github/workflows/repository-cleanup.yml", "contents": "# **what?**\n# Cleanup branches left over from automation and testing.  Also cleanup\n# draft releases from release testing.\n\n# **why?**\n# The automations are leaving behind branches and releases that clutter\n# the repository.  Sometimes we need them to debug processes so we don't\n# want them immediately deleted.  Running on Saturday to avoid running\n# at the same time as an actual release to prevent breaking a release\n# mid-release.\n\n# **when?**\n# Mainly on a schedule of 12:00 Saturday.\n# Manual trigger can also run on demand\n\nname: Repository Cleanup\n\non:\n  schedule:\n    - cron: '0 12 * * SAT' # At 12:00 on Saturday - details in `why` above\n\n  workflow_dispatch: # for manual triggering\n\npermissions:\n  contents: write\n\njobs:\n  cleanup-repo:\n    uses: dbt-labs/actions/.github/workflows/repository-cleanup.yml@main\n    secrets: inherit\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:51:07.368888", "created_at": "2023-11-22T18:12:17+01:00", "updated_at": "2023-11-22T18:39:27+01:00", "name": "Performance Check", "path": ".github/workflows/perf-check.yml", "contents": null, "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:51:08.521657", "created_at": "2024-02-12T02:46:07+01:00", "updated_at": "2024-02-13T15:57:19+01:00", "name": "Check Artifact Changes", "path": ".github/workflows/check-artifact-changes.yml", "contents": "name: Check Artifact Changes\n\non:\n  pull_request:\n    types: [ opened, reopened, labeled, unlabeled, synchronize ]\n    paths-ignore: [ '.changes/**', '.github/**', 'tests/**', '**.md', '**.yml' ]\n\n  workflow_dispatch:\n\njobs:\n  check-artifact-changes:\n    runs-on: ubuntu-latest\n    if: ${{ !contains(github.event.pull_request.labels.*.name, 'artifact_minor_upgrade') }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Check for changes in core/dbt/artifacts\n        # https://github.com/marketplace/actions/paths-changes-filter\n        uses: dorny/paths-filter@v3\n        id: check_artifact_changes\n        with:\n          filters: |\n            artifacts_changed:\n              - 'core/dbt/artifacts/**'\n          list-files: shell\n\n      - name: Fail CI if artifacts have changed\n        if: steps.check_artifact_changes.outputs.artifacts_changed == 'true'\n        run: |\n          echo \"CI failure: Artifact changes checked in core/dbt/artifacts directory.\"\n          echo \"Files changed: ${{ steps.check_artifact_changes.outputs.artifacts_changed_files }}\"\n          echo \"To bypass this check, confirm that the change is not breaking (https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/artifacts/README.md#breaking-changes) and add the 'artifact_minor_upgrade' label to the PR.\"\n          exit 1\n\n      - name: CI check passed\n        if: steps.check_artifact_changes.outputs.artifacts_changed == 'false'\n        run: |\n          echo \"No prohibited artifact changes found in core/dbt/artifacts. CI check passed.\"\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:51:09.641170", "created_at": "2024-03-22T15:54:34+01:00", "updated_at": "2024-03-26T01:26:29+01:00", "name": "Label community PRs", "path": ".github/workflows/community-label.yml", "contents": "# **what?**\n# Label a PR with a `community` label when a PR is opened by a user outside core/adapters\n\n# **why?**\n# To streamline triage and ensure that community contributions are recognized and prioritized\n\n# **when?**\n# When a PR is opened, not in draft or moved from draft to ready for review\n\n\nname: Label community PRs\n\non:\n  # have to use pull_request_target since community PRs come from forks\n  pull_request_target:\n    types: [opened, ready_for_review]\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n    pull-requests: write # labels PRs\n    contents: read # reads team membership\n\njobs:\n  open_issues:\n    # If this PR already has the community label, no need to relabel it\n    # If this PR is opened and not draft, determine if it needs to be labeled\n    # if the PR is converted out of draft, determine if it needs to be labeled\n    if: |\n      (!contains(github.event.pull_request.labels.*.name, 'community') &&\n      (github.event.action == 'opened' && github.event.pull_request.draft == false ) ||\n       github.event.action == 'ready_for_review' )\n    uses: dbt-labs/actions/.github/workflows/label-community.yml@main\n    with:\n        github_team: 'core-group'\n        label: 'community'\n    secrets: inherit\n", "state": "active", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:51:10.767095", "created_at": "2022-04-18T15:47:47+02:00", "updated_at": "2023-05-12T15:39:49+02:00", "name": "Dependency Changelog", "path": ".github/workflows/dependency-changelog.yml", "contents": null, "state": "disabled_manually", "repository": "dbt-labs/dbt-core"}
{"mined_at": "2024-07-15T16:51:13.122489", "created_at": "2019-12-23T16:17:55+01:00", "updated_at": "2024-05-04T00:47:47+02:00", "name": "tests", "path": ".github/workflows/main.yml", "contents": "name: tests\n\non:\n  push:\n    branches:\n    - main\n    - dev\n  pull_request:\n    branches:\n    - main\n    - dev\n\njobs:\n  test:\n    name: Build & run tests (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: ['ubuntu-latest', 'macos-13', 'windows-latest']\n        python-version: ['3.9', '3.10']\n    steps:\n      - uses: actions/checkout@v2\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          channels: anaconda,ibmdecisionoptimization\n          auto-activate-base: false\n          python-version: ${{ matrix.python-version }}\n          environment-file: environment.yml\n          activate-environment: qfit\n      - name: Conda info\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n      - name: Run pytest with the Conda environment\n        shell: bash -l -o pipefail {0}\n        run: |\n          pip install .\n          conda install pytest hypothesis[numpy]\n          pytest\n", "state": "active", "repository": "excitedstates/qfit-3.0"}
{"mined_at": "2024-07-15T16:51:14.252375", "created_at": "2022-07-17T18:10:48+02:00", "updated_at": "2022-07-17T18:10:48+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "excitedstates/qfit-3.0"}
{"mined_at": "2024-07-15T16:51:17.833360", "created_at": "2021-10-07T07:25:17+02:00", "updated_at": "2021-10-22T17:38:05+02:00", "name": "backport", "path": ".github/workflows/backport.yaml", "contents": "#\n# MIT License\n#\n# (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP\n#\n# Permission is hereby granted, free of charge, to any person obtaining a\n# copy of this software and associated documentation files (the \"Software\"),\n# to deal in the Software without restriction, including without limitation\n# the rights to use, copy, modify, merge, publish, distribute, sublicense,\n# and/or sell copies of the Software, and to permit persons to whom the\n# Software is furnished to do so, subject to the following conditions:\n#\n# The above copyright notice and this permission notice shall be included\n# in all copies or substantial portions of the Software.\n#\n# THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n# OTHER DEALINGS IN THE SOFTWARE.\n#\nname: backport\n \non:\n  issue_comment:\n    types:\n      - created\n \njobs:\n  backport:\n    runs-on: ubuntu-latest\n    if: github.event.issue.pull_request\n    steps:\n      - uses: Cray-HPE/backport-command-action@main\n", "state": "active", "repository": "cray-hpe/docs-csm"}
{"mined_at": "2024-07-15T16:51:19.164362", "created_at": "2022-04-27T17:20:55+02:00", "updated_at": "2022-04-27T21:41:40+02:00", "name": "Check Licenses", "path": ".github/workflows/license-check.yaml", "contents": "#\n# MIT License\n#\n# (C) Copyright 2022-2023 Hewlett Packard Enterprise Development LP\n#\n# Permission is hereby granted, free of charge, to any person obtaining a\n# copy of this software and associated documentation files (the \"Software\"),\n# to deal in the Software without restriction, including without limitation\n# the rights to use, copy, modify, merge, publish, distribute, sublicense,\n# and/or sell copies of the Software, and to permit persons to whom the\n# Software is furnished to do so, subject to the following conditions:\n#\n# The above copyright notice and this permission notice shall be included\n# in all copies or substantial portions of the Software.\n#\n# THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n# OTHER DEALINGS IN THE SOFTWARE.\n#\nname: Check Licenses\n\non:\n  pull_request:\n\njobs:\n  license-check:\n    runs-on: ubuntu-latest\n\n    container:\n      image: artifactory.algol60.net/csm-docker/stable/license-checker:latest\n      credentials:\n          username: ${{ secrets.ARTIFACTORY_ALGOL60_READONLY_USERNAME }}\n          password: ${{ secrets.ARTIFACTORY_ALGOL60_READONLY_TOKEN }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Get changed files\n      id: changed-files\n      uses: tj-actions/changed-files@v44\n\n    - name: License Check\n      if: ${{ steps.changed-files.outputs.all_changed_files }}\n      run: /usr/local/bin/python3 /license_check/license_check.py ${{ steps.changed-files.outputs.all_changed_files }}\n", "state": "active", "repository": "cray-hpe/docs-csm"}
{"mined_at": "2024-07-15T16:51:20.222384", "created_at": "2023-03-27T19:08:46+02:00", "updated_at": "2023-03-27T19:33:24+02:00", "name": "Markdown linkcheck", "path": ".github/workflows/link-check.yaml", "contents": "#\n# MIT License\n#\n# (C) Copyright 2022-2023 Hewlett Packard Enterprise Development LP\n#\n# Permission is hereby granted, free of charge, to any person obtaining a\n# copy of this software and associated documentation files (the \"Software\"),\n# to deal in the Software without restriction, including without limitation\n# the rights to use, copy, modify, merge, publish, distribute, sublicense,\n# and/or sell copies of the Software, and to permit persons to whom the\n# Software is furnished to do so, subject to the following conditions:\n#\n# The above copyright notice and this permission notice shall be included\n# in all copies or substantial portions of the Software.\n#\n# THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n# OTHER DEALINGS IN THE SOFTWARE.\n#\nname: Markdown linkcheck\n\non:\n  pull_request:\n  workflow_dispatch:\n    inputs:\n      force_full_scan:\n        description: 'Enforce link checking on all files'\n        required: false\n        type: boolean\n\njobs:\n  markdown-link-check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Get changed files\n      id: changed-files\n      uses: tj-actions/changed-files@v44\n      with:\n        files: \"**/*.md\"\n        files_ignore: |\n          .github/**/*\n          api/*\n\n    # Newer versions of markdown-link-checker do not work with anchors - https://github.com/tcort/markdown-link-check/issues/225\n    - name: Check links in changed files\n      uses: docker://ghcr.io/tcort/markdown-link-check:3.9.3\n      if: ${{ steps.changed-files.outputs.deleted_files == '' && steps.changed-files.outputs.renamed_files == '' }}\n      with:\n        args: \"--config .github/config/markdown_link.json ${{ steps.changed-files.outputs.all_changed_files }}\"\n\n    # In case if any files were renamed or deleted, other files may still have references - need a full scan\n    - name: Full scan\n      uses: docker://ghcr.io/tcort/markdown-link-check:3.9.3\n      if: ${{ steps.changed-files.outputs.deleted_files != '' || steps.changed-files.outputs.renamed_files != '' || inputs.force_full_scan }}\n      with:\n        entrypoint: find\n        args: -name \"*.md\" -not -path \"./.github/*\" -exec sh -c \"set -o pipefail; markdown-link-check --config .github/config/markdown_link.json {} 2>&1 | tee output.txt || cat output.txt >> error.txt\" \";\"\n\n    - name: Report errors\n      if: ${{ steps.changed-files.outputs.deleted_files != '' || steps.changed-files.outputs.renamed_files != '' || inputs.force_full_scan }}\n      uses: actions/github-script@v7\n      with:\n        script: |\n            const fs = require('fs');\n            if (fs.existsSync('error.txt')) {\n              fs.readFile('error.txt', 'utf8', (err, data) => {\n                console.log(data);\n              });\n              core.setFailed('Unsatisfied links found')\n            }\n", "state": "active", "repository": "cray-hpe/docs-csm"}
{"mined_at": "2024-07-15T16:51:21.406794", "created_at": "2023-03-08T23:45:54+01:00", "updated_at": "2023-03-27T19:33:24+02:00", "name": "shellcheck", "path": ".github/workflows/shellcheck.yaml", "contents": "#\n# MIT License\n#\n# (C) Copyright 2022-2024 Hewlett Packard Enterprise Development LP\n#\n# Permission is hereby granted, free of charge, to any person obtaining a\n# copy of this software and associated documentation files (the \"Software\"),\n# to deal in the Software without restriction, including without limitation\n# the rights to use, copy, modify, merge, publish, distribute, sublicense,\n# and/or sell copies of the Software, and to permit persons to whom the\n# Software is furnished to do so, subject to the following conditions:\n#\n# The above copyright notice and this permission notice shall be included\n# in all copies or substantial portions of the Software.\n#\n# THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n# OTHER DEALINGS IN THE SOFTWARE.\n#\nname: shellcheck\non:\n  pull_request:\n\njobs:\n  shellcheck:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Get changed files\n      id: changed-files\n      uses: tj-actions/changed-files@v44\n      with:\n        files: \"**/*.sh\"\n        files_ignore: |\n          .github/**/*\n          api/*\n\n    - uses: docker://koalaman/shellcheck:stable\n      if: ${{ steps.changed-files.outputs.all_changed_files }}\n      with:\n        args: --severity=warning --color=always ${{ steps.changed-files.outputs.all_changed_files }}\n", "state": "active", "repository": "cray-hpe/docs-csm"}
{"mined_at": "2024-07-15T16:51:22.545105", "created_at": "2022-05-06T20:05:56+02:00", "updated_at": "2023-06-01T21:18:43+02:00", "name": "shell (lint)", "path": ".github/workflows/shellcheck.yml", "contents": null, "state": "active", "repository": "cray-hpe/docs-csm"}
{"mined_at": "2024-07-15T16:51:23.638765", "created_at": "2024-01-30T17:51:12+01:00", "updated_at": "2024-01-30T17:51:12+01:00", "name": "shfmt", "path": ".github/workflows/shellfmt.yaml", "contents": null, "state": "active", "repository": "cray-hpe/docs-csm"}
{"mined_at": "2024-07-15T16:51:24.711591", "created_at": "2023-06-01T21:33:34+02:00", "updated_at": "2024-01-30T19:30:32+01:00", "name": "shfmt", "path": ".github/workflows/shfmt.yaml", "contents": "#\n# MIT License\n#\n# (C) Copyright 2022-2024 Hewlett Packard Enterprise Development LP\n#\n# Permission is hereby granted, free of charge, to any person obtaining a\n# copy of this software and associated documentation files (the \"Software\"),\n# to deal in the Software without restriction, including without limitation\n# the rights to use, copy, modify, merge, publish, distribute, sublicense,\n# and/or sell copies of the Software, and to permit persons to whom the\n# Software is furnished to do so, subject to the following conditions:\n#\n# The above copyright notice and this permission notice shall be included\n# in all copies or substantial portions of the Software.\n#\n# THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n# OTHER DEALINGS IN THE SOFTWARE.\n#\nname: shfmt\non:\n  pull_request:\n\njobs:\n  shfmt:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Get changed files\n      id: changed-files\n      uses: tj-actions/changed-files@v44\n      with:\n        files: \"**/*.sh\"\n        files_ignore: |\n          .github/**/*\n          api/*\n\n    - uses: docker://mvdan/shfmt:v3\n      if: ${{ steps.changed-files.outputs.all_changed_files }}\n      with:\n        args: -ci -s -i 2 -bn -sr -d ${{ steps.changed-files.outputs.all_changed_files }}\n", "state": "active", "repository": "cray-hpe/docs-csm"}
{"mined_at": "2024-07-15T16:51:25.732926", "created_at": "2023-03-16T15:28:07+01:00", "updated_at": "2023-04-27T01:49:46+02:00", "name": "Markdown spellcheck", "path": ".github/workflows/spellcheck.yaml", "contents": "#\n# MIT License\n#\n# (C) Copyright 2022-2023 Hewlett Packard Enterprise Development LP\n#\n# Permission is hereby granted, free of charge, to any person obtaining a\n# copy of this software and associated documentation files (the \"Software\"),\n# to deal in the Software without restriction, including without limitation\n# the rights to use, copy, modify, merge, publish, distribute, sublicense,\n# and/or sell copies of the Software, and to permit persons to whom the\n# Software is furnished to do so, subject to the following conditions:\n#\n# The above copyright notice and this permission notice shall be included\n# in all copies or substantial portions of the Software.\n#\n# THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n# OTHER DEALINGS IN THE SOFTWARE.\n#\nname: Markdown spellcheck\n\non:\n  pull_request:\n\njobs:\n  spellcheck:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Get changed files\n      id: changed-files\n      uses: tj-actions/changed-files@v44\n      with:\n        files: \"**/*.md\"\n        files_ignore: |\n          .github/**/*\n          api/*\n\n    - uses: docker://tmaier/markdown-spellcheck:latest\n      env:\n          FORCE_COLOR: \"1\"\n      with:\n        entrypoint: mdspell\n        args: ${{ steps.changed-files.outputs.all_changed_files }} -r -a -n\n", "state": "active", "repository": "cray-hpe/docs-csm"}
{"mined_at": "2024-07-15T16:51:26.840685", "created_at": "2022-06-16T21:02:38+02:00", "updated_at": "2022-06-16T21:02:38+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "#\n# MIT License\n#\n# (C) Copyright 2022-2023 Hewlett Packard Enterprise Development LP\n#\n# Permission is hereby granted, free of charge, to any person obtaining a\n# copy of this software and associated documentation files (the \"Software\"),\n# to deal in the Software without restriction, including without limitation\n# the rights to use, copy, modify, merge, publish, distribute, sublicense,\n# and/or sell copies of the Software, and to permit persons to whom the\n# Software is furnished to do so, subject to the following conditions:\n#\n# The above copyright notice and this permission notice shall be included\n# in all copies or substantial portions of the Software.\n#\n# THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n# OTHER DEALINGS IN THE SOFTWARE.\n#\n# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\n---\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '38 10 * * *'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v9.0.0\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        days-before-close: -1\n        days-before-stale: 20\n        stale-issue-message: 'This issue has not had activity in over 20 days and is being marked as stale.'\n        stale-pr-message: 'This pull-request has not had activity in over 20 days and is being marked as stale.'\n", "state": "active", "repository": "cray-hpe/docs-csm"}
{"mined_at": "2024-07-15T16:51:27.957887", "created_at": "2023-03-27T19:08:46+02:00", "updated_at": "2023-03-27T19:33:25+02:00", "name": "Markdown stylecheck", "path": ".github/workflows/style-check.yaml", "contents": "#\n# MIT License\n#\n# (C) Copyright 2022-2023 Hewlett Packard Enterprise Development LP\n#\n# Permission is hereby granted, free of charge, to any person obtaining a\n# copy of this software and associated documentation files (the \"Software\"),\n# to deal in the Software without restriction, including without limitation\n# the rights to use, copy, modify, merge, publish, distribute, sublicense,\n# and/or sell copies of the Software, and to permit persons to whom the\n# Software is furnished to do so, subject to the following conditions:\n#\n# The above copyright notice and this permission notice shall be included\n# in all copies or substantial portions of the Software.\n#\n# THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n# OTHER DEALINGS IN THE SOFTWARE.\n#\nname: Markdown stylecheck\n\non:\n  pull_request:\n\njobs:\n  style-check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Get changed files\n      id: changed-files\n      uses: tj-actions/changed-files@v44\n      with:\n        files: \"**/*.md\"\n        files_ignore: |\n          .github/**/*\n          api/*\n\n    - uses: docker://ghcr.io/igorshubovych/markdownlint-cli:v0.32.0\n      with:\n        args: \"--config .github/config/markdown_style.yaml ${{ steps.changed-files.outputs.all_changed_files }}\"\n\n    - name: Check for illegal ASCII\n      id: illegal-ascii\n      run: |\n        ./runLint.sh\n", "state": "active", "repository": "cray-hpe/docs-csm"}
{"mined_at": "2024-07-15T16:51:29.020410", "created_at": "2021-12-17T04:12:51+01:00", "updated_at": "2021-12-17T04:12:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "cray-hpe/docs-csm"}
{"mined_at": "2024-07-15T16:51:31.144402", "created_at": "2024-07-02T02:38:56+02:00", "updated_at": "2024-07-03T00:30:25+02:00", "name": "ASV Benchmarking (PR)", "path": ".github/workflows/asv-benchmarking-pr.yml", "contents": null, "state": "active", "repository": "uxarray/uxarray"}
{"mined_at": "2024-07-15T16:51:32.342680", "created_at": "2024-02-13T05:21:40+01:00", "updated_at": "2024-02-13T05:21:40+01:00", "name": "ASV Benchmarking", "path": ".github/workflows/asv-benchmarking.yml", "contents": "name: ASV Benchmarking\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  benchmark:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -el {0}\n    env:\n      CONDA_ENV_FILE: ./ci/asv.yml\n      ASV_DIR: ./benchmarks\n\n    steps:\n      - name: Checkout uxarray\n        uses: actions/checkout@v4\n        with:\n          repository: UXARRAY/uxarray\n          ref: main\n          fetch-depth: 0\n\n      - name: Fetch all tags and branches for uxarray\n        run: |\n          git fetch --all --tags\n\n      - name: Checkout uxarray-asv\n        uses: actions/checkout@v4\n        with:\n          repository: UXARRAY/uxarray-asv\n          persist-credentials: false\n          fetch-depth: 0\n          ref: main\n          path: uxarray-asv\n\n      - name: Setup Miniforge\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-version: \"24.1.2-0\"\n          activate-environment: asv\n\n      - name: Get date\n        id: get-date\n        run: echo \"today=$(/bin/date -u '+%Y%m%d')\" >> $GITHUB_OUTPUT\n        shell: bash\n\n      - name: Cache environment\n        uses: actions/cache@v4\n        with:\n          path: ${{ env.CONDA }}/envs\n          key: conda-${{ runner.os }}--${{ runner.arch }}--${{ steps.get-date.outputs.today }}-${{ hashFiles('./ci/asv.yml') }}-${{ env.CACHE_NUMBER }}\n        env:\n          CACHE_NUMBER: 0\n        id: cache\n\n      - name: Update environment\n        run:\n          conda env update -n asv -f ./ci/asv.yml\n        if: steps.cache.outputs.cache-hit != 'true'\n\n      - name: Conda list\n        run: |\n          conda info\n          conda list\n\n      - name: Copy existing results\n        run: |\n          if [ -d \"uxarray-asv/results\" ]; then\n            cp -r uxarray-asv/results benchmarks/\n          fi\n\n      - name: Run benchmarks\n        shell: bash -l {0}\n        id: benchmark\n        run: |\n          cd benchmarks\n          asv machine --machine GH-Actions --os ubuntu-latest --arch x64 --cpu \"2-core unknown\" --ram 7GB\n          asv run v2024.02.0..main --skip-existing --parallel || true\n\n      - name: Commit and push benchmark results\n        run: |\n          if [ -d \"uxarray-asv/results\" ]; then\n            rm -r uxarray-asv/results\n          fi\n          cp -r benchmarks/results/ uxarray-asv/\n          cd uxarray-asv\n          git config --local user.email \"${{ secrets.UXARRAY_ASV_EMAIL }}\"\n          git config --local user.name \"${{ secrets.UXARRAY_ASV_USER_NAME }}\"\n          git add results\n          git commit -m \"[🤖] Update benchmark results\"\n\n      - name: Push to uxarray-asv\n        if: github.ref == 'refs/heads/main' && github.repository == 'UXARRAY/uxarray'\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.UXARRAY_ASV_PAT }}\n          branch: main\n          force: true\n          repository: UXARRAY/uxarray-asv\n          directory: uxarray-asv\n", "state": "active", "repository": "uxarray/uxarray"}
{"mined_at": "2024-07-15T16:51:33.504193", "created_at": "2021-10-26T16:55:45+02:00", "updated_at": "2021-11-02T23:26:45+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  pull_request:\n  workflow_dispatch:\n  schedule:\n     - cron: '0 0 * * *' # Daily “At 00:00”\n\njobs:\n  test:\n    # if: |\n    #   github.repository == 'UXARRAY/uxarray'\n    name: Python (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ \"ubuntu-latest\", \"macos-latest\", \"macos-14\", \"windows-latest\"]\n        python-version: [ \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Cancel previous runs\n        uses: styfle/cancel-workflow-action@0.12.1\n        with:\n          access_token: ${{ github.token }}\n\n      - name: checkout\n        uses: actions/checkout@v4\n        with:\n          token: ${{ github.token }}\n\n      - name: conda_setup (x64)\n        uses: conda-incubator/setup-miniconda@v3\n        if: matrix.os != 'macos-14'\n        with:\n          activate-environment: uxarray_build\n          channel-priority: strict\n          python-version: ${{ matrix.python-version }}\n          channels: conda-forge\n          environment-file: ci/environment.yml\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n\n      - name: conda_setup (ARM64)\n        uses: conda-incubator/setup-miniconda@v3\n        if: matrix.os == 'macos-14'\n        with:\n          activate-environment: uxarray_build\n          channel-priority: strict\n          python-version: ${{ matrix.python-version }}\n          channels: conda-forge\n          environment-file: ci/environment.yml\n          installer-url: https://github.com/conda-forge/miniforge/releases/download/23.11.0-0/Mambaforge-23.11.0-0-MacOSX-arm64.sh\n\n      - name: Install uxarray\n        run: |\n          python -m pip install . --no-deps\n\n      - name: conda list\n        run: |\n          conda list\n\n      - name: Run Namespace Tests\n        run: |\n          python -m pytest test\n\n      - name: Run Coverage Tests\n        run: |\n          python -m pytest test -v --cov=./uxarray --cov-report=xml\n\n      - name: Upload code coverage to Codecov\n        if: github.repository == 'UXARRAY/uxarray'\n        uses: codecov/codecov-action@v4.5.0\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n", "state": "active", "repository": "uxarray/uxarray"}
{"mined_at": "2024-07-15T16:51:34.648279", "created_at": "2021-10-26T16:58:59+02:00", "updated_at": "2021-11-02T23:26:45+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5.1.0\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "uxarray/uxarray"}
{"mined_at": "2024-07-15T16:51:35.753554", "created_at": "2021-11-02T23:26:45+01:00", "updated_at": "2021-11-02T23:26:45+01:00", "name": "Upload uxarray to PyPI", "path": ".github/workflows/pypi.yaml", "contents": "name: Upload uxarray to PyPI\non:\n  release:\n    types:\n      - published\njobs:\n  test-build:\n    if: github.repository == 'UXARRAY/uxarray'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install setuptools setuptools-scm wheel twine check-manifest\n      - name: Build tarball and wheels\n        run: |\n          python setup.py sdist bdist_wheel\n          python -m pip wheel . -w dist --no-deps\n      - name: Test the artifacts\n        run: |\n          python -m twine check dist/*\n\n  publish:\n    needs: test-build\n    if: startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install setuptools setuptools-scm wheel twine check-manifest\n      - name: Build tarball and wheels\n        run: |\n          python setup.py sdist bdist_wheel\n          python -m pip wheel . -w dist --no-deps\n      - name: Test the artifacts\n        run: |\n          python -m twine check dist/*\n\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          skip-existing: true\n          verbose: true\n", "state": "active", "repository": "uxarray/uxarray"}
{"mined_at": "2024-07-15T16:51:36.981958", "created_at": "2021-11-02T23:26:45+01:00", "updated_at": "2024-01-09T19:36:31+01:00", "name": "CI Upstream", "path": ".github/workflows/upstream-dev-ci.yml", "contents": "name: CI Upstream\non:\n  workflow_dispatch:\n  schedule:\n     - cron: '0 0 * * *' # Daily “At 00:00”\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  upstream-dev:\n    name: upstream-dev-py311\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.11\" ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          token: ${{ github.token }}\n\n      - name: Set up environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: ci/environment.yml\n          create-args: >-\n            python=${{ matrix.python-version }}\n\n      - name: conda list\n        run: |\n          conda list\n\n      - name: Install upstream versions\n        run: |\n          bash ci/install-upstream.sh\n\n      - name: Install uxarray\n        run: |\n          python -m pip install . --no-deps\n\n      - name: conda list\n        run: |\n          conda list\n\n      - name: Running Tests\n        run: |\n          python -m pytest test -v --cov=./uxarray --cov-report=xml\n", "state": "active", "repository": "uxarray/uxarray"}
{"mined_at": "2024-07-15T16:51:39.008627", "created_at": "2024-01-22T15:29:04+01:00", "updated_at": "2024-01-22T15:37:17+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "stanfordaha/garnet"}
{"mined_at": "2024-07-15T16:51:40.156193", "created_at": "2020-11-06T06:54:40+01:00", "updated_at": "2023-04-26T01:26:22+02:00", "name": "CI Test", "path": ".github/workflows/linux.yml", "contents": null, "state": "active", "repository": "stanfordaha/garnet"}
{"mined_at": "2024-07-15T16:51:41.298861", "created_at": "2023-04-21T18:50:18+02:00", "updated_at": "2023-04-25T19:20:32+02:00", "name": "pytest", "path": ".github/workflows/pytest.yml", "contents": "name: pytest\n\non:\n  # Every push\n  push:\n\n  # When requested manually\n  workflow_dispatch:\n\n  # Every morning at 3am -- how does it know which branch to run??\n  schedule:\n  - cron: '0 3 * * *'\n\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    if: \"!contains(github.event.head_commit.message, 'skip ci')\"\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Checkout submodules\n      shell: bash\n      run: |\n        auth_header=\"$(git config --local --get http.https://github.com/.extraheader)\"\n        git submodule sync --recursive\n        git -c \"http.extraheader=$auth_header\" -c protocol.version=2 submodule update --init --force --recursive --depth=1\n\n    - name: Pull and run docker 🐋 \n      shell: bash\n      run: |\n        docker pull stanfordaha/garnet:latest\n        docker run -d -it --name CONTAINER stanfordaha/garnet:latest bash\n        docker exec CONTAINER /bin/bash -c \"rm -rf /aha/garnet\"\n        docker exec CONTAINER /bin/bash -c \"source /aha/bin/activate; pip install psutil\"\n        docker cp ../garnet CONTAINER:/aha/garnet\n\n    - name: Run tests ⚙️\n      shell: bash\n      run: |\n        docker exec -i CONTAINER bash -c \"/aha/garnet/.github/scripts/run_pytest.sh\"\n\n    - name: Upload Coverage\n      shell: bash\n      # CODECOV_TOKEN secret stored at https://github.com/StanfordAHA/garnet/settings/secrets/actions\n      run: |\n        docker exec -i CONTAINER bash -c \"cd /aha/garnet/ && bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}\"\n", "state": "active", "repository": "stanfordaha/garnet"}
{"mined_at": "2024-07-15T16:51:43.438059", "created_at": "2021-02-22T22:23:34+01:00", "updated_at": "2022-05-03T20:39:29+02:00", "name": "Test", "path": ".github/workflows/tests.yaml", "contents": "name: Test\non:\n  - push\n  - pull_request\n  - workflow_dispatch\n\njobs:\n  test:\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.10', '3.11', '3.12']\n        os: [ubuntu-22.04, ubuntu-20.04]\n        exclude:\n          - os: ubuntu-22.04\n            python-version: 3.8\n          - os: ubuntu-20.04\n            python-version: '3.10'\n          - os: ubuntu-20.04\n            python-version: '3.11'\n          - os: ubuntu-20.04\n            python-version: '3.12'\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r gh-test-requirements.txt\n    - name: Test with tox\n      run: tox -e py3-coverage\n    - name: Test with tox (non-utc timezone)\n      run: tox -e py3-non-utc-tz\n    - name: Run pylint\n      run: tox -e pylint\n      if: matrix.python-version == '3.10'\n    - name: Run pep8\n      run: tox -e pep8\n      if: matrix.python-version == '3.10'\n    - name: Run coveragereport\n      run: tox -e coveragereport\n      if: matrix.python-version == '3.10'\n    - name: Run bashate\n      run: tox -e bashate\n      if: matrix.python-version == '3.10'\n    - name: Run yamllint\n      run: tox -e yamllint\n      if: matrix.python-version == '3.10'\n    - name: Run functional\n      run: tox -e functional\n      if: matrix.python-version == '3.10'\n    - name: Run hotyvalidate\n      run: tox -e hotyvalidate\n      if: matrix.python-version == '3.10'\n    - name: Build docs\n      run: tox -e docs\n      if: matrix.python-version == '3.10'\n    - uses: actions/upload-artifact@v4\n      with:\n        name: documentation-preview\n        path: doc/build\n", "state": "active", "repository": "canonical/hotsos"}
{"mined_at": "2024-07-15T16:51:44.562179", "created_at": "2021-10-05T18:21:05+02:00", "updated_at": "2021-10-05T18:21:05+02:00", "name": "Issues Sync", "path": ".github/workflows/issues.yaml", "contents": "name: Issues Sync\non:\n  issues:\n    types: [opened]\njobs:\n  sync-issues:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: alex-page/github-project-automation-plus@v0.9.0\n        with:\n          project: 'Automation and Tooling'\n          column: 'To Do'\n          repo-token: ${{ secrets.PROJ_MNG }}\n", "state": "active", "repository": "canonical/hotsos"}
{"mined_at": "2024-07-15T16:51:45.576860", "created_at": "2022-12-04T22:23:51+01:00", "updated_at": "2023-04-13T18:19:43+02:00", "name": "Build snap", "path": ".github/workflows/snapfunctionaltest.yaml", "contents": "name: Build snap\non:\n  - push\n  - pull_request\n  - workflow_dispatch\n\njobs:\n  snap:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: snapcore/action-build@v1\n        id: snapcraft\n      - name: Install snap\n        run: |\n          sudo snap install --dangerous ${{ steps.snapcraft.outputs.snap }}\n      - name: Run snap (functional test)\n        run: hotsos > output.yaml && exit 1 || echo 'pass'\n      - name: Run snap (JSON output)\n        run: hotsos --format json tests/unit/fake_data_root/openstack > output.json\n      - name: Run snap (HTML output)\n        run: hotsos --format html tests/unit/fake_data_root/openstack > output.html\n      - name: Run snap (Markdown output)\n        run: hotsos --format markdown tests/unit/fake_data_root/openstack > output.md\n      - name: Upload snap\n        uses: actions/upload-artifact@v4\n        with:\n          name: snap\n          path: ${{ steps.snapcraft.outputs.snap }}\n      - name: Upload logs\n        uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: snap-logs\n          path: /home/runner/.cache/snapcraft/log/*.log\n      - name: Upload outputs\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: functional-test-outputs\n          path: output.*\n", "state": "active", "repository": "canonical/hotsos"}
{"mined_at": "2024-07-15T16:51:46.638427", "created_at": "2023-03-17T19:03:40+01:00", "updated_at": "2023-03-23T17:05:18+01:00", "name": "Python package", "path": ".github/workflows/python-package.yaml", "contents": "name: Python package\n\non:\n  push:\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.10', '3.11', '3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Build package\n        run: |\n          git rev-parse --short HEAD > hotsos/.repo-info\n          python -m pip install --upgrade pip\n          python -m pip install build\n          python -m build\n\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        if: github.event_name == 'push' && github.ref_name == 'main' && matrix.python-version == '3.8'\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n      - name: Upload Python package as CI artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: Python Package (${{ matrix.python-version }})\n          path: dist/*whl\n", "state": "active", "repository": "canonical/hotsos"}
{"mined_at": "2024-07-15T16:51:47.739504", "created_at": "2023-03-23T18:32:33+01:00", "updated_at": "2023-03-23T18:32:33+01:00", "name": "Build and publish Snap", "path": ".github/workflows/snapbuild.yaml", "contents": "name: Build and publish Snap\non:\n  workflow_run:\n    workflows: [Test]\n    branches: [main]\n    types: [completed]\n\njobs:\n  build:\n    if: ${{ github.event.workflow_run.event == 'push' && github.event.workflow_run.conclusion == 'success' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - uses: snapcore/action-build@v1\n      id: build\n    - uses: snapcore/action-publish@v1\n      env:\n        SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}\n      with:\n        snap: ${{ steps.build.outputs.snap }}\n        release: stable\n", "state": "active", "repository": "canonical/hotsos"}
{"mined_at": "2024-07-15T16:51:51.010947", "created_at": "2023-05-05T15:39:09+02:00", "updated_at": "2023-05-05T15:39:09+02:00", "name": "Build-Push-Dev-Image", "path": ".github/workflows/build-push-dev-image.yml", "contents": "# Workflow responsible for the \n# development release processes.\n#\n\nname: Build-Push-Dev-Image\non:\n  push:\n    branches:\n      - develop\n    paths-ignore:\n      - README.md\n      - .old_cicd/*\n      - .github/*\n      - .github/workflows/*\n      - LICENSE\n      - .gitignore\n      - .dockerignore\n      - .githooks\n  # Do not build another image on a pull request.\n  # Any push to develop will trigger a new build however.\n  pull_request:\n    branches-ignore:\n      - '*'\n\njobs:\n  build-push-dev-image:\n    runs-on: ubuntu-latest\n    steps:\n    \n    - name: Checkout Code\n      uses: actions/checkout@v3\n      with:\n        ref: ${{ github.head_ref }} \n        # fetch-depth: 0 means, get all branches and commits\n        fetch-depth: 0\n\n    - name: Set short git commit SHA\n      id: vars\n      run: |\n        echo \"short_sha=$(git rev-parse --short ${{ github.sha }})\" >> $GITHUB_OUTPUT\n    # https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/\n\n    - name: Confirm git commit SHA output\n      run: echo ${{ steps.vars.outputs.short_sha }}\n\n    # Docker Buildx is important to caching in the Build And Push Container\n    # step\n    # https://github.com/marketplace/actions/build-and-push-docker-images\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n      with:\n        driver-opts: |\n          network=host\n\n    - name: Login to DockerHub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n        logout: true\n\n    - name: Login to Container Registry\n      uses: docker/login-action@v3\n      with:\n        registry: containers.renci.org\n        username: ${{ secrets.CONTAINERHUB_USERNAME }}\n        password: ${{ secrets.CONTAINERHUB_TOKEN }}\n        logout: true\n\n\n    # Notes on Cache: \n    # https://docs.docker.com/build/ci/github-actions/examples/#inline-cache\n    - name: Build Push Container\n      uses: docker/build-push-action@v5\n      with:\n        context: .\n        push: true\n        # Push to renci-registry and dockerhub here.\n        # cache comes from dockerhub.\n        tags: |\n          ${{ github.repository }}:develop\n          ${{ github.repository }}:${{ steps.vars.outputs.short_sha }}\n          containers.renci.org/${{ github.repository }}:develop\n          containers.renci.org/${{ github.repository }}:${{ steps.vars.outputs.short_sha }}\n        cache-from: type=registry,ref=${{ github.repository }}:buildcache-dev\n        cache-to: type=registry,ref=${{ github.repository }}:buildcache-dev,mode=max\n", "state": "active", "repository": "helxplatform/dug"}
{"mined_at": "2024-07-15T16:51:52.139817", "created_at": "2023-05-05T15:39:09+02:00", "updated_at": "2023-07-19T18:01:58+02:00", "name": "Build-Push-Release", "path": ".github/workflows/build-push-release.yml", "contents": "# Workflow responsible for the \n# major release processes.\n#\n\nname: Build-Push-Release\non:\n  push:\n    branches:\n      - master \n      - main\n    paths-ignore:\n      - README.md\n      - .old_cicd/*\n      - .github/*\n      - .github/workflows/*\n      - LICENSE\n      - .gitignore\n      - .dockerignore\n      - .githooks\n    tags-ignore:\n      - '*'\njobs:\n  build-push-release:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v3\n      with:\n        ref: ${{ github.head_ref }} \n        fetch-depth: 0\n\n    - name: Set short git commit SHA\n      id: vars\n      run: |\n        echo \"short_sha=$(git rev-parse --short ${{ github.sha }})\" >> $GITHUB_OUTPUT\n    # https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/\n\n    - name: Confirm git commit SHA output\n      run: echo ${{ steps.vars.outputs.short_sha }}\n\n    # https://github.com/marketplace/actions/git-semantic-version\n    - name: Semver Check\n      uses: paulhatch/semantic-version@v5.0.3\n      id: version\n      with:\n        # The prefix to use to identify tags\n        tag_prefix: \"v\"\n        # A string which, if present in a git commit, indicates that a change represents a\n        # major (breaking) change, supports regular expressions wrapped with '/'\n        major_pattern: \"/breaking:|major:/\"\n        # A string which indicates the flags used by the `major_pattern` regular expression. Supported flags: idgs\n        major_regexp_flags: \"ig\"\n        # Same as above except indicating a minor change, supports regular expressions wrapped with '/'\n        minor_pattern: \"/feat:|feature:|minor:/\"\n        # A string which indicates the flags used by the `minor_pattern` regular expression. Supported flags: idgs\n        minor_regexp_flags: \"ig\"\n        # A string to determine the format of the version output\n        # version_format: \"${major}.${minor}.${patch}-prerelease${increment}\"\n        version_format: \"${major}.${minor}.${patch}\"\n        search_commit_body: false\n\n    # Docker Buildx is important to caching in the Build And Push Container\n    # step\n    # https://github.com/marketplace/actions/build-and-push-docker-images\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n      with:\n        driver-opts: |\n          network=host\n\n    - name: Login to DockerHub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n        logout: true\n\n    - name: Login to Container Registry\n      uses: docker/login-action@v3\n      with:\n        registry: containers.renci.org\n        username: ${{ secrets.CONTAINERHUB_USERNAME }}\n        password: ${{ secrets.CONTAINERHUB_TOKEN }}\n        logout: true\n\n    # Notes on Cache: \n    # https://docs.docker.com/build/ci/github-actions/examples/#inline-cache\n    - name: Build Push Container\n      uses: docker/build-push-action@v5\n      with:\n        push: true\n        # Push to renci-registry and dockerhub here.\n        # cache comes from dockerhub.\n        tags: |\n          containers.renci.org/${{ github.repository }}:v${{ steps.version.outputs.version }}\n          containers.renci.org/${{ github.repository }}:latest\n          containers.renci.org/${{ github.repository }}:${{ steps.vars.outputs.short_sha }}\n          ${{ github.repository }}:v${{ steps.version.outputs.version }}\n          ${{ github.repository }}:latest\n          ${{ github.repository }}:${{ steps.vars.outputs.short_sha }}\n        cache-from: type=registry,ref=${{ github.repository }}:buildcache-release\n        cache-to: type=registry,ref=${{ github.repository }}:buildcache-release,mode=max\n\n#==========================TAG & RELEASE W/ NOTES =========================\n\n    # Note: GITHUB_TOKEN is autogenerated feature of github app\n    # which is auto-enabled when using github actions.\n    # https://docs.github.com/en/actions/security-guides/automatic-token-authentication\n    # https://docs.github.com/en/rest/git/tags?apiVersion=2022-11-28#create-a-tag-object\n    # https://docs.github.com/en/rest/git/refs?apiVersion=2022-11-28#create-a-reference\n    # This creates a \"lightweight\" ref tag.\n    - name: Create Tag for Release\n      run: |\n        curl \\\n        -s --fail -X POST \\\n        -H \"Accept: application/vnd.github+json\" \\\n        -H \"Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}\" \\\n        -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n        https://api.github.com/repos/${{ github.repository }}/git/refs \\\n        -d '{\"ref\":\"refs/tags/v${{ steps.version.outputs.version }}\",\"sha\":\"${{ github.sha }}\"}'\n        \n#   https://cli.github.com/manual/gh_release_create\n    - name: Create Release\n      env:\n        RELEASE_VERSION: ${{ steps.version.outputs.version }}\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        gh release create ${{ env.RELEASE_VERSION }} \\\n          -t \"${{ env.RELEASE_VERSION }}\" \\\n          --generate-notes \\\n          --latest\n", "state": "active", "repository": "helxplatform/dug"}
{"mined_at": "2024-07-15T16:51:53.183900", "created_at": "2023-05-03T18:28:59+02:00", "updated_at": "2023-05-05T15:39:09+02:00", "name": "Code-Checks", "path": ".github/workflows/code-checks.yml", "contents": "# Workflow responsible for core acceptance testing.\n# Tests Currently Run:\n#     - flake8-linter\n#     - PYTest\n#     - Bandit\n# For PR Vulnerability Scanning a separate workflow will run.\n# The build-push-dev-image and build-push-release workflows \n# handle the develop and release image storage respectively.\n#\n#\n\nname: Code-Checks\non:\n  # push:\n  #   branches-ignore:\n  #     - master\n  #     - main\n  #     - develop\n  pull_request:\n    branches:\n      - develop\n      - master\n      - main \n    types: [ opened, synchronize ]\n    paths-ignore:\n      - README.md\n      - .old_cicd/*\n      # - .github/*\n      # - .github/workflows/*\n      - LICENSE\n      - .gitignore\n      - .dockerignore\n      - .githooks\n\njobs:\n############################## flake8-linter ##############################\n  flake8-linter:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n          \n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.12'\n\n    # Currently actions/setup-python supports caching\n    # but the cache is not as robust as cache action.\n    # Here we cache the entire python env which speeds subsequent builds up alot. (alot being scientific term)\n    # Ref: https://blog.allenai.org/python-caching-in-github-actions-e9452698e98d\n    - uses: actions/cache@v3\n      name: Cache Python\n      with:\n        path: ${{ env.pythonLocation }}\n        key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install Requirements\n      run: |\n        pip install -r requirements.txt\n\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        flake8 --ignore=E,W src \n      # We continue on error here until the code is clean\n      # flake8 --ignore=E,W --exit-zero . \n      continue-on-error: true\n\n################################### PYTEST ###################################\n  pytest:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.12'\n\n    - name: Install Requirements\n      run: |\n        pip install -r requirements.txt\n        pip install coverage\n        pip install .\n\n    - name: Test with pytest\n      run: |\n        make test\n\n############################ Bandit ################################\n  bandit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.12'\n\n    - name: Install Requirements\n      run: |\n        pip install -r requirements.txt\n        pip install bandit\n        pip install .\n\n    # Only report high security issues\n    - name: Test with Bandit\n      run: |\n        bandit -r src -n3 -lll\n\n############################## test-image-build ##############################\n  test-image-build:\n    runs-on: ubuntu-latest\n    # if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set short git commit SHA\n      id: vars\n      run: |\n        echo \"short_sha=$(git rev-parse --short ${{ github.sha }})\" >> $GITHUB_OUTPUT\n    # https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/\n\n    - name: Confirm git commit SHA output\n      run: echo ${{ steps.vars.outputs.short_sha }}\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n    - name: Login to DockerHub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n        logout: true\n\n    - name: Parse Github Reference Name\n      id: branch\n      run: |\n        REF=${{ github.ref_name }}\n        echo \"GHR=${REF%/*}\" >> $GITHUB_OUTPUT\n        \n    # Notes on Cache: \n    # https://docs.docker.com/build/ci/github-actions/examples/#inline-cache\n    - name: Build Container\n      uses: docker/build-push-action@v5\n      with:\n        context: .\n        push: true\n        tags: |\n          ${{ github.repository }}:test_${{ steps.branch.outputs.GHR }}\n        cache-from: type=registry,ref=${{ github.repository }}:buildcache\n        cache-to: type=registry,ref=${{ github.repository }}:buildcache,mode=max", "state": "active", "repository": "helxplatform/dug"}
{"mined_at": "2024-07-15T16:51:54.288110", "created_at": "2023-11-23T10:10:36+01:00", "updated_at": "2023-12-04T15:03:12+01:00", "name": "trivy-pr-scan", "path": ".github/workflows/trivy-pr-scan.yml", "contents": "\nname: trivy-pr-scan \non:\n  pull_request:\n    branches:\n      - develop\n      - master\n      - main \n    types: [ opened, synchronize ]\n    paths-ignore:\n    - README.md\n    - .old_cicd/*\n    - .github/*\n    - .github/workflows/*\n    - LICENSE\n    - .gitignore\n    - .dockerignore\n    - .githooks\n\njobs:\n trivy-pr-scan:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n      with:\n        driver-opts: |\n          network=host\n\n    - name: Login to DockerHub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n        logout: true\n\n    # Notes on Cache: \n    # https://docs.docker.com/build/ci/github-actions/examples/#inline-cache\n    - name: Build Container\n      uses: docker/build-push-action@v5\n      with:\n        context: .\n        push: false\n        load: true\n        tags: ${{ github.repository }}:vuln-test\n        cache-from: type=registry,ref=${{ github.repository }}:buildcache\n        cache-to: type=registry,ref=${{ github.repository }}:buildcache,mode=max\n\n    # We will not be concerned with Medium and Low vulnerabilities\n    - name: Run Trivy vulnerability scanner\n      uses: aquasecurity/trivy-action@master\n      with:\n        image-ref: '${{ github.repository }}:vuln-test'\n        format: 'sarif'\n        severity: 'CRITICAL,HIGH'\n        ignore-unfixed: true\n        output: 'trivy-results.sarif'\n        exit-code: '1'\n    # Scan results should be viewable in GitHub Security Dashboard\n    # We still fail the job if results are found, so below will always run\n    # unless manually canceled.\n    - name: Upload Trivy scan results to GitHub Security tab\n      uses: github/codeql-action/upload-sarif@v2\n      if: '!cancelled()'\n      with:\n        sarif_file: 'trivy-results.sarif'", "state": "active", "repository": "helxplatform/dug"}
{"mined_at": "2024-07-15T16:51:55.320959", "created_at": "2023-11-23T09:24:08+01:00", "updated_at": "2023-11-23T09:24:08+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "helxplatform/dug"}
{"mined_at": "2024-07-15T16:51:57.566516", "created_at": "2024-04-25T01:08:04+02:00", "updated_at": "2024-04-25T15:10:22+02:00", "name": "Check Python versions", "path": ".github/workflows/check-python-versions.yml", "contents": "name: Check Python versions\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  job:\n    runs-on: ubuntu-latest\n\n    steps:\n\n    # https://github.com/actions/checkout\n    - name: Checkout cc-legal-tools-app\n      uses: actions/checkout@v4\n\n    - name: Run script to check Python versions\n      run: ./dev/check_python_versions.sh\n", "state": "active", "repository": "creativecommons/cc-legal-tools-app"}
{"mined_at": "2024-07-15T16:51:58.576691", "created_at": "2022-02-19T00:29:22+01:00", "updated_at": "2022-02-22T16:40:08+01:00", "name": "Django App Coverage", "path": ".github/workflows/django-app-coverage.yml", "contents": "# Remember to also update the Docker Compose configuration, as appropriate:\n#   cc-legal-tools-app/docker-compose.yml\n\nname: Django App Coverage\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  job:\n    runs-on: ubuntu-latest\n\n    env:\n      DJANGO_SETTINGS_MODULE: cc_legal_tools.settings.ephemeral\n      PYTHONDONTWRITEBYTECODE: 1\n      PYTHONFAULTHANDLER: 1\n\n    steps:\n\n    - name: Configure testing git identity\n      run: |\n        git config --global user.email \"testing_user@localhost\"\n        git config --global user.name \"Testing User\"\n\n    # https://github.com/actions/setup-python\n    - name: Install Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n\n    - name: Install pipenv\n      run: |\n        pip install --upgrade pip\n        pip install pipenv\n\n    # https://github.com/actions/checkout\n    - name: Checkout cc-legal-tools-app\n      uses: actions/checkout@v4\n      with:\n        path: cc-legal-tools-app\n\n    # https://github.com/actions/checkout\n    - name: Checkout cc-legal-tools-data\n      uses: actions/checkout@v4\n      with:\n        repository: creativecommons/cc-legal-tools-data\n        path: cc-legal-tools-data\n\n    - name: Install Python dependencies\n      run: pipenv sync --dev --system\n      working-directory: ./cc-legal-tools-app\n\n    - name: Check for missing Django migrations\n      run: ./manage.py makemigrations --check\n      working-directory: ./cc-legal-tools-app\n\n    - name: Update Django database schema\n      run: ./manage.py migrate\n      working-directory: ./cc-legal-tools-app\n\n    - name: Coverage Test\n      run: coverage run manage.py test --noinput --parallel 4\n      working-directory: ./cc-legal-tools-app\n\n    - name: Coverage Combine\n      run: coverage combine\n      working-directory: ./cc-legal-tools-app\n\n    - name: Coverage Report\n      run: coverage report\n      working-directory: ./cc-legal-tools-app\n", "state": "active", "repository": "creativecommons/cc-legal-tools-app"}
{"mined_at": "2024-07-15T16:51:59.736111", "created_at": "2022-02-19T00:29:22+01:00", "updated_at": "2022-02-22T16:40:08+01:00", "name": "Static Analysis", "path": ".github/workflows/static-analysis.yml", "contents": "name: Static Analysis\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  job:\n    runs-on: ubuntu-latest\n\n    steps:\n\n    # https://github.com/actions/setup-python\n    - name: Install Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Install pipenv\n      run: |\n        pip install --upgrade pip\n        pip install pipenv\n\n    # https://github.com/actions/checkout\n    - name: Checkout cc-legal-tools-app\n      uses: actions/checkout@v4\n\n    - name: Install Python dependencies\n      # Install _only_ [dev-packages]\n      run: pipenv sync --categories static-analysis --system\n\n    - name: pre-commit\n      run: pre-commit run --show-diff-on-failure --color=always --all-files\n", "state": "active", "repository": "creativecommons/cc-legal-tools-app"}
{"mined_at": "2024-07-15T16:52:02.991626", "created_at": "2022-01-08T03:49:06+01:00", "updated_at": "2024-05-13T10:39:50+02:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Docker Image CI\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cleanup  # https://github.com/actions/virtual-environments/issues/2840\n      run: sudo rm -rf /usr/share/dotnet && sudo rm -rf /opt/ghc && sudo rm -rf \"/usr/local/share/boost\" && sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n    - name: Build the Docker image\n      run: docker build . --file Dockerfile --tag openfold:$(date +%s)\n", "state": "active", "repository": "aqlaboratory/openfold"}
{"mined_at": "2024-07-15T16:52:04.120618", "created_at": "2021-11-15T22:07:11+01:00", "updated_at": "2021-11-15T22:07:11+01:00", "name": "undefined_names", "path": ".github/workflows/undefined_names.yml", "contents": "name: undefined_names\non: [pull_request, push]\njobs:\n  undefined_names:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - run: pip install --upgrade pip\n      - run: pip install flake8\n      - run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n", "state": "active", "repository": "aqlaboratory/openfold"}
{"mined_at": "2024-07-15T16:52:06.323331", "created_at": "2022-07-07T07:03:10+02:00", "updated_at": "2022-07-29T01:59:45+02:00", "name": "changelog entry", "path": ".github/workflows/changelog.yaml", "contents": "# SPDX-License-Identifier: MIT\n\nname: changelog entry\n\non:\n  pull_request:\n    types: [opened, synchronize, labeled, unlabeled, reopened]\n    branches:\n      - master\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  check-changelog-entry:\n    name: Check for changelog entry\n    runs-on: ubuntu-latest\n    if: contains(github.event.pull_request.labels.*.name, 'skip news') != true\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # towncrier needs a non-shallow clone\n          fetch-depth: '0'\n\n      - name: Set up environment\n        uses: ./.github/actions/setup-env\n        with:\n          python-version: '3.9'\n\n      - name: Install dependencies\n        run: pdm install -dG changelog\n\n      - name: Check for presence of a Change Log fragment (only pull requests)\n        # NOTE: The pull request' base branch needs to be fetched so towncrier\n        # is able to compare the current branch with the base branch.\n        run: |\n          if ! pdm run towncrier check --compare-with origin/${BASE_BRANCH}; then\n            echo \"::error::Please see https://github.com/DisnakeDev/disnake/blob/master/changelog/README.rst for details on how to create a changelog entry.\" >&2\n            exit 1\n          fi\n        env:\n          BASE_BRANCH: ${{ github.base_ref }}\n", "state": "active", "repository": "disnakedev/disnake"}
{"mined_at": "2024-07-15T16:52:07.617811", "created_at": "2022-07-05T18:21:49+02:00", "updated_at": "2022-07-29T01:59:49+02:00", "name": "check-pull-labels", "path": ".github/workflows/check-pull-labels.yaml", "contents": "# SPDX-License-Identifier: MIT\n\nname: check-pull-labels\n\non:\n  pull_request_target:\n    types: [opened, synchronize, labeled, unlabeled, reopened]\n\npermissions:\n  pull-requests: read\n\njobs:\n  check-pull-labels:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check for the do not merge label\n        if: \"${{ contains(github.event.pull_request.labels.*.name, 'do not merge') == true }}\"\n        run: exit 1\n\n      - name: Check for the blocked label\n        if: \"${{ contains(github.event.pull_request.labels.*.name, 's: blocked') == true }}\"\n        run: exit 1\n\n      - name: Check for the waiting for api/docs label\n        if: \"${{ contains(github.event.pull_request.labels.*.name, 's: waiting for api/docs') == true }}\"\n        run: exit 1\n", "state": "active", "repository": "disnakedev/disnake"}
{"mined_at": "2024-07-15T16:52:08.879108", "created_at": "2023-10-30T20:27:49+01:00", "updated_at": "2023-10-30T20:27:49+01:00", "name": "Create Release PR", "path": ".github/workflows/create-release-pr.yaml", "contents": "# SPDX-License-Identifier: MIT\n\nname: Create Release PR\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"The new version number, e.g. `1.2.3`.\"\n        type: string\n        required: true\n\npermissions: {}\n\njobs:\n  create-release-pr:\n    name: Create Release PR\n    runs-on: ubuntu-latest\n\n    env:\n      VERSION_INPUT: ${{ inputs.version }}\n\n    steps:\n      # https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow\n      - name: Generate app token\n        id: generate_token\n        uses: actions/create-github-app-token@f2acddfb5195534d487896a656232b016a682f3c  # v1.9.0\n        with:\n          app-id: ${{ secrets.BOT_APP_ID }}\n          private-key: ${{ secrets.BOT_PRIVATE_KEY }}\n\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n          persist-credentials: false\n\n      - name: Set git name/email\n        env:\n          GIT_USER: ${{ vars.GIT_APP_USER_NAME }}\n          GIT_EMAIL: ${{ vars.GIT_APP_USER_EMAIL }}\n        run: |\n          git config user.name \"$GIT_USER\"\n          git config user.email \"$GIT_EMAIL\"\n\n      - name: Set up environment\n        uses: ./.github/actions/setup-env\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: pdm install -dG changelog\n\n      - name: Update version\n        run: |\n          python scripts/ci/versiontool.py --set \"$VERSION_INPUT\"\n          git commit -a -m \"chore: update version to $VERSION_INPUT\"\n\n      - name: Build changelog\n        run: |\n          pdm run towncrier build --yes --version \"$VERSION_INPUT\"\n          git commit -a -m \"docs: build changelog\"\n\n      - name: Create pull request\n        uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e  # v6.0.2\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n          branch: auto/release-v${{ inputs.version }}\n          delete-branch: true\n          title: \"chore(release): v${{ inputs.version }}\"\n          body: |\n            Automated release PR, triggered by @${{ github.actor }} for ${{ github.sha }}.\n\n            ### Tasks\n            - [ ] Add changelogs from backports, if applicable.\n            - [ ] Once merged, create + push a tag.\n\n            <sub>https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}</sub>\n          labels: |\n            t: release\n          assignees: |\n            ${{ github.actor }}\n", "state": "active", "repository": "disnakedev/disnake"}
{"mined_at": "2024-07-15T16:52:09.948791", "created_at": "2022-05-23T07:38:57+02:00", "updated_at": "2022-06-04T03:20:29+02:00", "name": "Lint & Test", "path": ".github/workflows/lint-test.yml", "contents": "# SPDX-License-Identifier: MIT\n\nname: Lint & Test\n\non:\n  push:\n    branches:\n      - 'master'\n      - 'v[0-9]+.[0-9]+.x'  # matches to backport branches, e.g. v3.6.x\n      - 'run-ci/*'\n    tags:\n  pull_request:\n  merge_group:\n    types: [checks_requested]\n\npermissions:\n  read-all\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Run pre-commit\n      id: pre-commit\n      uses: pre-commit/action@v3.0.1\n\n  docs:\n    # unlike the other workflows, we are using version 20.04 here as\n    # readthedocs uses 20.04 for building our docs, and we want to be explicit\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up environment\n      uses: ./.github/actions/setup-env\n      with:\n        python-version: 3.8\n\n    - name: Run sphinx-build\n      run: nox -s docs -- --keep-going -W -w $GITHUB_STEP_SUMMARY\n\n  pyright:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        experimental: [false]\n      fail-fast: false\n    continue-on-error: ${{ matrix.experimental }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up environment\n      id: setup-env\n      uses: ./.github/actions/setup-env\n      env:\n        PDM_USE_VENV: true\n        PDM_VENV_IN_PROJECT: true\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: pdm install -d -Gspeed -Gdocs -Gvoice\n\n    - name: Add .venv/bin to PATH\n      run: dirname \"$(pdm info --python)\" >> $GITHUB_PATH\n\n    - name: Set pyright version\n      run: |\n        PYRIGHT_VERSION=\"$(pdm run python -c 'import pyright; print(pyright.__pyright_version__)')\"\n        echo \"PYRIGHT_VERSION=$PYRIGHT_VERSION\" >> $GITHUB_ENV\n\n    - name: Run pyright (Linux)\n      uses: jakebailey/pyright-action@v2.2.1\n      id: pyright-linux\n      with:\n        version: ${{ env.PYRIGHT_VERSION }}\n        python-version: ${{ steps.setup-env.outputs.python-version }}\n        python-platform: \"Linux\"\n        annotate: ${{ matrix.python-version == '3.8' }}  # only add comments for one version\n        warnings: true\n\n    - name: Run pyright (Windows)\n      uses: jakebailey/pyright-action@v2.2.1\n      if: always() && (steps.pyright-linux.outcome == 'success' || steps.pyright-linux.outcome == 'failure')\n      with:\n        version: ${{ env.PYRIGHT_VERSION }}\n        python-version: ${{ steps.setup-env.outputs.python-version }}\n        python-platform: \"Windows\"\n        annotate: false  # only add comments for one platform (see above)\n        warnings: true\n\n  misc:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up environment\n      id: setup\n      uses: ./.github/actions/setup-env\n      with:\n        python-version: 3.8\n\n    - name: Run slotscheck\n      if: (success() || failure()) && steps.setup.outcome == 'success'\n      run: nox -s slotscheck\n\n    - name: Run check-manifest\n      if: (success() || failure()) && steps.setup.outcome == 'success'\n      run: nox -s check-manifest\n\n    # This only runs if the previous steps were successful, no point in running it otherwise\n    - name: Try building package\n      run: |\n        pdm install -dG build\n\n        pdm run python -m build\n        ls -la dist/\n\n        pdm run twine check --strict dist/*\n\n    # run the libcst parsers and check for changes\n    - name: libcst codemod\n      run: |\n        nox -s codemod -- run-all\n        if [ -n \"$(git status --porcelain)\" ]; then\n          echo \"::error::Please run 'nox -s codemod -- run-all' locally and commit the changes.\" >&2;\n          echo \"::group::git diff\"\n          git diff\n          echo \"::endgroup::\"\n          exit 1;\n        else\n          exit 0;\n        fi\n\n  pytest:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [\"windows-latest\", \"ubuntu-latest\", \"macos-latest\"]\n        experimental: [false]\n      fail-fast: true\n    continue-on-error: ${{ matrix.experimental }}\n\n    env:\n      GITHUB_STEP_SUMMARY_HEADER: \"<details><summary>#name#</summary>\\n<pre>\"\n      GITHUB_STEP_SUMMARY_FOOTER: \"</pre></details>\\n\"\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up environment\n      id: setup-env\n      uses: ./.github/actions/setup-env\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: pdm install -dG test  # needed for coverage\n\n    - name: Test package install\n      run: |\n        python -m pip install .\n\n    - name: Run pytest\n      id: run_tests\n      # use non-utc timezone, to test time/date-dependent features properly\n      env:\n        TZ: \"America/New_York\"\n      run: |\n        echo \"$GITHUB_STEP_SUMMARY_HEADER\" | sed \"s/#name#/Test Summary/\" >> $GITHUB_STEP_SUMMARY\n        nox --force-python ${{ steps.setup-env.outputs.python-version }} -s test -- --color=no --cov-report= | tee -a $GITHUB_STEP_SUMMARY\n        echo \"$GITHUB_STEP_SUMMARY_FOOTER\" >> $GITHUB_STEP_SUMMARY\n\n    - name: Print Coverage Output\n      if: always() && (steps.run_tests.outcome == 'success' || steps.run_tests.outcome == 'failure')\n      run: |\n        echo \"$GITHUB_STEP_SUMMARY_HEADER\" | sed \"s/#name#/Coverage Summary/\" >> $GITHUB_STEP_SUMMARY\n        pdm run coverage report | tee -a $GITHUB_STEP_SUMMARY\n        echo \"$GITHUB_STEP_SUMMARY_FOOTER\" >> $GITHUB_STEP_SUMMARY\n\n  # thanks to aiohttp for this part of the workflow\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n    needs:\n    - lint\n    - docs\n    - pyright\n    - misc\n    - pytest\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@v1.2.2\n      with:\n        jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "disnakedev/disnake"}
{"mined_at": "2024-07-15T16:52:10.979913", "created_at": "2024-01-03T23:21:25+01:00", "updated_at": "2024-01-03T23:21:25+01:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "# SPDX-License-Identifier: MIT\n\nname: Release\n\non:\n  push:\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n\npermissions:\n  contents: read\n\njobs:\n  # Builds sdist and wheel, runs `twine check`, and uploads artifacts.\n  build:\n    name: Build package\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up environment\n        id: setup\n        uses: ./.github/actions/setup-env\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: pdm install -dG build\n\n      - name: Build package\n        run: |\n          pdm run python -m build\n          ls -la dist/\n\n      - name: Twine check\n        run: pdm run twine check --strict dist/*\n\n      - name: Show metadata\n        run: |\n          mkdir out/\n          tar -xf dist/*.tar.gz -C out/\n\n          echo -e \"<details><summary>Metadata</summary>\\n\" >> $GITHUB_STEP_SUMMARY\n          cat out/*/PKG-INFO | sed 's/^/    /' | tee -a $GITHUB_STEP_SUMMARY\n          echo -e \"\\n</details>\\n\" >> $GITHUB_STEP_SUMMARY\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist/\n          if-no-files-found: error\n\n\n  # Ensures that git tag and built version match.\n  validate-tag:\n    name: Validate tag\n    runs-on: ubuntu-latest\n    needs:\n      - build\n    env:\n      GIT_TAG: ${{ github.ref_name }}\n    outputs:\n      bump_dev: ${{ steps.check-dev.outputs.bump_dev }}\n\n    steps:\n      - name: Download build artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist/\n\n      - name: Compare sdist version to git tag\n        run: |\n          mkdir out/\n          tar -xf dist/*.tar.gz -C out/\n\n          SDIST_VERSION=\"$(grep \"^Version:\" out/*/PKG-INFO | cut -d' ' -f2-)\"\n          echo \"git tag: $GIT_TAG\"\n          echo \"sdist version: $SDIST_VERSION\"\n\n          if [ \"$GIT_TAG\" != \"v$SDIST_VERSION\" ]; then\n            echo \"error: git tag does not match sdist version\" >&2\n            exit 1\n          fi\n\n      - name: Determine if dev version PR is needed\n        id: check-dev\n        run: |\n          BUMP_DEV=\n          # if this is a new major/minor version, create a PR later\n          if [[ \"$GIT_TAG\" =~ ^v[0-9]+\\.[0-9]+\\.0$ ]]; then\n            BUMP_DEV=1\n          fi\n          echo \"bump_dev=$BUMP_DEV\" | tee -a $GITHUB_OUTPUT\n\n\n  # Creates a draft release on GitHub, and uploads the artifacts there.\n  release-github:\n    name: Create GitHub draft release\n    runs-on: ubuntu-latest\n    needs:\n      - build\n      - validate-tag\n    permissions:\n      contents: write  # required for creating releases\n\n    steps:\n      - name: Download build artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist/\n\n      - name: Calculate versions\n        id: versions\n        env:\n          GIT_TAG: ${{ github.ref_name }}\n        run: |\n          # v1.2.3 -> v1-2-3 (for changelog)\n          echo \"docs_version=${GIT_TAG//./-}\" >> $GITHUB_OUTPUT\n\n      - name: Create Release\n        uses: softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564  # v2.0.4\n        with:\n          files: dist/*\n          draft: true\n          body: |\n            TBD.\n\n            **Changelog**: https://docs.disnake.dev/en/stable/whats_new.html#${{ steps.versions.outputs.docs_version }}\n            **Git history**: https://github.com/${{ github.repository }}/compare/vTODO...${{ github.ref_name }}\n\n\n  # Creates a PyPI release (using an environment which requires separate confirmation).\n  release-pypi:\n    name: Publish package to pypi.org\n    environment:\n      name: release-pypi\n      url: https://pypi.org/project/disnake/\n    runs-on: ubuntu-latest\n    needs:\n      - build\n      - validate-tag\n    permissions:\n      id-token: write  # this permission is mandatory for trusted publishing\n\n    steps:\n      - name: Download build artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist/\n\n      - name: Upload to pypi\n        uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450  # v1.8.14\n        with:\n          print-hash: true\n\n\n  # Creates a PR to bump to an alpha version for development, if applicable.\n  create-dev-version-pr:\n    name: Create dev version bump PR\n    runs-on: ubuntu-latest\n    if: needs.validate-tag.outputs.bump_dev\n    needs:\n      - validate-tag\n      - release-github\n      - release-pypi\n\n    steps:\n      # https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow\n      - name: Generate app token\n        id: generate_token\n        uses: actions/create-github-app-token@f2acddfb5195534d487896a656232b016a682f3c  # v1.9.0\n        with:\n          app-id: ${{ secrets.BOT_APP_ID }}\n          private-key: ${{ secrets.BOT_PRIVATE_KEY }}\n\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n          persist-credentials: false\n          ref: master  # the PR action wants a proper base branch\n\n      - name: Set git name/email\n        env:\n          GIT_USER: ${{ vars.GIT_APP_USER_NAME }}\n          GIT_EMAIL: ${{ vars.GIT_APP_USER_EMAIL }}\n        run: |\n          git config user.name \"$GIT_USER\"\n          git config user.email \"$GIT_EMAIL\"\n\n      - name: Update version to dev\n        id: update-version\n        run: |\n          NEW_VERSION=\"$(python scripts/ci/versiontool.py --set dev)\"\n          git commit -a -m \"chore: update version to v$NEW_VERSION\"\n          echo \"new_version=$NEW_VERSION\" >> $GITHUB_OUTPUT\n\n      - name: Create pull request\n        uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e  # v6.0.2\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n          branch: auto/dev-v${{ steps.update-version.outputs.new_version }}\n          delete-branch: true\n          base: master\n          title: \"chore: update version to v${{ steps.update-version.outputs.new_version }}\"\n          body: |\n            Automated dev version PR.\n\n            <sub>https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}</sub>\n          labels: |\n            skip news\n            t: meta\n", "state": "active", "repository": "disnakedev/disnake"}
{"mined_at": "2024-07-15T16:52:12.053970", "created_at": "2023-08-28T11:17:14+02:00", "updated_at": "2023-08-28T11:17:14+02:00", "name": "Validate PR Title", "path": ".github/workflows/semantic-pr-title.yml", "contents": "# SPDX-License-Identifier: MIT\n\nname: Validate PR Title\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - edited\n      - synchronize\n\npermissions:\n  pull-requests: read\n\njobs:\n  validate-pr-title:\n    name: Validate PR Title\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f  # v5.4.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "disnakedev/disnake"}
{"mined_at": "2024-07-15T16:52:14.388031", "created_at": "2021-11-11T22:38:07+01:00", "updated_at": "2023-11-15T23:40:00+01:00", "name": "imSim CI", "path": ".github/workflows/ci.yml", "contents": "name: imSim CI\n\non:\n    push:\n        branches:\n            - main\n            - releases/*\n\n    pull_request:\n        branches:\n            - main\n            - releases/*\n\njobs:\n    build:\n        runs-on: ${{ matrix.os }}\n\n        strategy:\n            matrix:\n                os: [ ubuntu-latest ]\n                py: [ \"3.11\" ]\n                CC: [ gcc ]\n                CXX: [ g++ ]\n\n        defaults:\n            run:\n                # cf. https://github.com/conda-incubator/setup-miniconda#important\n                shell: bash -l {0}\n\n        steps:\n            - uses: actions/checkout@v2\n\n            - name: Setup conda\n              uses: conda-incubator/setup-miniconda@v2\n              with:\n                  activate-environment: stack\n                  python-version: ${{ matrix.py }}\n                  condarc-file: etc/.condarc\n\n            - name: Install conda deps\n              run: |\n                conda update -n base conda\n                conda info\n                conda list\n                conda install -y --file etc/standalone_conda_requirements.txt || true\n                conda info\n                conda list\n\n            - name: Install skyCatalogs from source\n              run: |\n                git clone https://github.com/LSSTDESC/skyCatalogs.git\n                cd skyCatalogs\n                git checkout v1.7.0rc4\n                # fix bug specifying version\n                sed -i.bak 's/\\.skycatalogs/skycatalogs/' pyproject.toml\n                pip install --no-build-isolation --no-deps -e .\n                cd ..\n\n            - name: Cache data\n              id: cache-data\n              uses: actions/cache@v4\n              with:\n                path: rubin_sim_data\n                key: \"2024-05-10\"  # Update the key if we ever change the data.\n\n            - name: Install rubin_sim_data\n              if: steps.cache-data.outputs.cache-hit != 'true'\n              run: |\n                mkdir rubin_sim_data\n                mkdir rubin_sim_data/sims_sed_library\n                # Just get the skybrightness, throughputs, and SED data for now.\n                curl https://s3df.slac.stanford.edu/groups/rubin/static/sim-data/rubin_sim_data/skybrightness_may_2021.tgz | tar -C rubin_sim_data -xz\n                curl https://s3df.slac.stanford.edu/groups/rubin/static/sim-data/rubin_sim_data/throughputs_2023_09_07.tgz | tar -C rubin_sim_data -xz\n                curl https://s3df.slac.stanford.edu/groups/rubin/static/sim-data/sed_library/seds_170124.tar.gz  | tar -C rubin_sim_data/sims_sed_library -xz\n\n            - name: Install imSim\n              run:\n                pip install .\n\n            - name: Install test deps\n              run:\n                conda install -y pytest nose pytest-durations pytest-xdist || true\n\n            - name: Run tests\n              run: |\n                export RUBIN_SIM_DATA_DIR=`pwd`/rubin_sim_data\n                eups list lsst_distrib\n                galsim --version\n                pytest --durations=10 -n auto\n\n            - name: Check example config files\n              run: |\n                echo $PWD\n                ls /home/runner/work/imSim\n                export IMSIM_HOME=/home/runner/work/imSim\n                export RUBIN_SIM_DATA_DIR=`pwd`/rubin_sim_data\n                export SIMS_SED_LIBRARY_DIR=`pwd`/rubin_sim_data/sims_sed_library\n                # Just check that they haven't gotten stale and produce errors.\n                cd examples\n                galsim flat.yaml image.counts_per_pixel=500\n                galsim flat_with_sed.yaml image.counts_per_pixel=5\n                galsim imsim-user-instcat.yaml image.nobjects=10\n                galsim imsim-user-skycat.yaml image.nobjects=10\n                galsim imsim-user-instcat-comcam.yaml\n                galsim imsim-user-skycat-comcam.yaml\n", "state": "active", "repository": "lsstdesc/imsim"}
{"mined_at": "2024-07-15T16:52:15.407734", "created_at": "2023-01-18T18:28:41+01:00", "updated_at": "2023-03-25T18:34:13+01:00", "name": "imSim CI within docker", "path": ".github/workflows/ci_with_docker.yml", "contents": "# Perform imSim unit tests within the latest imSim docker environment image.\n\nname: imSim CI within docker\n\non:\n  push:\n    branches:\n      - update_docker_image\n  workflow_dispatch: null\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    # Point to the imSim docker image.\n    container:\n      image: lsstdesc/imsim-env:latest\n      options: --user root\n\n    steps:\n      # Check out imSim repo\n      - uses: actions/checkout@v3\n\n      # Install latest imSim build and run CI\n      # This all has to be done in a single shell instance.\n      - name: Run imSim unit tests\n        run: |\n          source /opt/lsst/software/stack/loadLSST.bash\n          pip install .\n          setup lsst_distrib\n          pytest\n", "state": "active", "repository": "lsstdesc/imsim"}
{"mined_at": "2024-07-15T16:52:16.500846", "created_at": "2022-11-09T14:28:51+01:00", "updated_at": "2022-11-15T13:57:41+01:00", "name": "Publish imSim latest Docker image", "path": ".github/workflows/docker_publish.yml", "contents": "# CI workflow to publish the imSim:latest docker image.\n#\n# Image is built upon the latest release lsst_dist image.\n# i.e., https://pipelines.lsst.io/install/docker.html\n#\n# Author: Stuart McAlpine (stuart.mcalpine@fysik.su.se)\n\nname: Publish imSim latest Docker image\n\non:\n  # Can be triggered to run manually.\n  workflow_dispatch:\n\n  # Runs automatically every Satuarday at 7pm.\n  schedule:\n    - cron: '0 19 * * 6'\n\n# Login to dockerhub, build, and publish.\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set current date as env variable\n        run: echo \"NOW=$(date +'%Y-%m-%dT%H:%M:%S')\" >> $GITHUB_ENV\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          file: ./Dockerfile\n          push: true\n          tags: lsstdesc/imsim-env:latest\n          build-args: BUILD_DATE=${{ env.NOW }}\n", "state": "active", "repository": "lsstdesc/imsim"}
{"mined_at": "2024-07-15T16:52:17.548846", "created_at": "2022-09-12T14:21:08+02:00", "updated_at": "2022-10-13T17:08:25+02:00", "name": "Sphinx build", "path": ".github/workflows/gh-pages.yml", "contents": "---\nname: Sphinx build\n\non:\n  push:\n    branches:\n      - main\n      - releases/*\n  pull_request:\n    branches:\n      - main\n      - releases/*\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install sphinx and theme\n        run: \"pip install sphinx sphinx_rtd_theme\"\n      - name: Build HTML\n        run: \"sphinx-build -W doc public\"\n      - name: \"Bypass jekyll on github pages\"\n        run: \"touch public/.nojekyll\"\n      - name: Upload artifacts\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: public/\n  publish:\n    needs: build\n\n    # Only manual publishing:\n    if: ${{ github.event_name == 'workflow_dispatch' }}\n    # Grant GITHUB_TOKEN the permissions required to make a Pages deployment\n    permissions:\n      pages: write     # to deploy to Pages\n      id-token: write  # to verify the deployment originates from an\n      # appropriate source\n\n    # Deploy to the github-pages environment\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    runs-on: ubuntu-latest\n    steps:\n      - name: Publish to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v1\n", "state": "active", "repository": "lsstdesc/imsim"}
{"mined_at": "2024-07-15T16:52:19.631852", "created_at": "2022-05-12T05:40:29+02:00", "updated_at": "2022-05-12T05:40:29+02:00", "name": "Blossom-CI", "path": ".github/workflows/blossom-ci.yml", "contents": "# Copyright (c) 2022, NVIDIA CORPORATION.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Blossom-CI\non:\n  issue_comment:\n    types: [created]\n  workflow_dispatch:\n      inputs:\n          platform:\n            description: 'runs-on argument'\n            required: false\n          args:\n            description: 'argument'\n            required: false\n\npermissions:\n  actions: write\n  checks: write\n  contents: write\n  issues: write\n  pull-requests: write\n  repository-projects: write\n  statuses: write\n\njobs:\n  Authorization:\n    name: Authorization\n    runs-on: blossom\n    outputs:\n      args: ${{ env.args }}\n\n    # This job only runs for pull request comments\n    if: |\n      github.event.comment.body == '/build' &&\n      (\n        github.actor == 'chesterxgchen' ||\n        github.actor == 'pxLi' ||\n        github.actor == 'IsaacYangSLA' ||\n        github.actor == 'YanxuanLiu' ||\n        github.actor == 'yhwen' ||\n        github.actor == 'YuanTingHsieh' ||\n        github.actor == 'holgerroth' ||\n        github.actor == 'yhwen' ||\n        github.actor == 'nvkevlu' ||\n        github.actor == 'nvidianz' ||\n        github.actor == 'yanchengnv' ||\n        github.actor == 'ZiyueXu77' ||\n        github.actor == 'Can-Zhao' ||\n        github.actor == 'guopengf' ||\n        github.actor == 'SYangster' ||\n        github.actor == 'yinqingh'\n      )\n    steps:\n      - name: Check if comment is issued by authorized person\n        run: blossom-ci\n        env:\n          OPERATION: 'AUTH'\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }}\n\n  Vulnerability-scan:\n    name: Vulnerability scan\n    needs: [Authorization]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ fromJson(needs.Authorization.outputs.args).repo }}\n          ref: ${{ fromJson(needs.Authorization.outputs.args).ref }}\n          lfs: 'true'\n\n      # add blackduck properties https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/631308372/Methods+for+Configuring+Analysis#Using-a-configuration-file\n      - name: Setup blackduck properties\n        run: |\n             echo detect.excluded.detector.types=PIP >> application.properties\n\n      - name: Run blossom action\n        uses: NVIDIA/blossom-action@main\n        env:\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }}\n        with:\n          args1: ${{ fromJson(needs.Authorization.outputs.args).args1 }}\n          args2: ${{ fromJson(needs.Authorization.outputs.args).args2 }}\n          args3: ${{ fromJson(needs.Authorization.outputs.args).args3 }}\n\n  Job-trigger:\n    name: Start ci job\n    needs: [Vulnerability-scan]\n    runs-on: blossom\n    steps:\n      - name: Start ci job\n        run: blossom-ci\n        env:\n          OPERATION: 'START-CI-JOB'\n          CI_SERVER: ${{ secrets.CI_SERVER }}\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  Post-processing:\n    name: Post processing\n    runs-on: blossom\n    if : github.event_name == 'workflow_dispatch'\n    steps:\n      - name: Start post processing\n        run: blossom-ci\n        env:\n          OPERATION: 'POST-PROCESSING'\n          CI_SERVER: ${{ secrets.CI_SERVER }}\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "nvidia/nvflare"}
{"mined_at": "2024-07-15T16:52:20.668908", "created_at": "2022-07-20T10:40:36+02:00", "updated_at": "2022-09-08T07:26:35+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# Copyright (c) 2022, NVIDIA CORPORATION.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: \"CodeQL\"\n\non:\n  push:\n  pull_request:\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n        config: |\n          paths-ignore:\n            - 'tests'\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "nvidia/nvflare"}
{"mined_at": "2024-07-15T16:52:22.006888", "created_at": "2024-06-14T02:57:35+02:00", "updated_at": "2024-06-14T02:57:35+02:00", "name": "Deploy to GitHub Pages", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy to GitHub Pages\n\non:\n  # Trigger the workflow every time you push to the `main` branch\n  # Using a different branch name? Replace `main` with your branch’s name\n  push:\n    branches: [ web ]\n  # Allows you to run this workflow manually from the Actions tab on GitHub.\n  workflow_dispatch:\n\n# Allow this job to clone the repo and create a page deployment\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout your repository using git\n        uses: actions/checkout@v4\n      - name: Install, build, and upload your site\n        uses: withastro/action@v2\n        with:\n          path: ./web # The root location of your Astro project inside the repository. (optional)\n          # node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)\n          # package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)\n\n  deploy:\n    needs: build\n    runs-on: ubuntu-latest\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4", "state": "active", "repository": "nvidia/nvflare"}
{"mined_at": "2024-07-15T16:52:23.147650", "created_at": "2023-04-06T02:04:06+02:00", "updated_at": "2023-04-06T06:16:33+02:00", "name": "Check Markdown links", "path": ".github/workflows/markdown-links-check.yml", "contents": "# Copyright (c) 2023, NVIDIA CORPORATION.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# A workflow to check if PR got broken hyperlinks\nname: Check Markdown links\n\non:\n  push:\n  pull_request:\n\njobs:\n  markdown-link-check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: gaurav-nelson/github-action-markdown-link-check@1.0.15\n      with:\n        max-depth: -1\n        use-verbose-mode: 'yes'\n        config-file: '.github/workflows/mlc_config.json'\n        check-modified-files-only: 'yes'\n        base-branch: 'main'\n", "state": "active", "repository": "nvidia/nvflare"}
{"mined_at": "2024-07-15T16:52:24.360359", "created_at": "2021-12-03T01:02:44+01:00", "updated_at": "2021-12-03T01:02:44+01:00", "name": "pre-merge", "path": ".github/workflows/premerge.yml", "contents": "# Copyright (c) 2022, NVIDIA CORPORATION.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: pre-merge\n\non:\n  # quick tests for pull requests and the releasing branches\n  push:\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  unit-tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-22.04, ubuntu-20.04 ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\" ]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --upgrade pip\n          python3 -m pip install --no-cache-dir -e .[dev]\n      - name: Run unit test\n        run: ./runtest.sh\n\n  wheel-build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-22.04, ubuntu-20.04 ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\" ]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --upgrade pip\n          python3 -m pip install --no-cache-dir -e .[dev]\n          python3 -m pip install --no-cache-dir build twine torch torchvision\n      - name: Run wheel build\n        run: python3 -m build --wheel\n", "state": "active", "repository": "nvidia/nvflare"}
{"mined_at": "2024-07-15T16:52:25.392613", "created_at": "2022-01-19T18:47:27+01:00", "updated_at": "2022-01-19T18:47:27+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nvidia/nvflare"}
{"mined_at": "2024-07-15T16:52:27.505380", "created_at": "2023-05-09T10:26:41+02:00", "updated_at": "2023-05-24T16:30:53+02:00", "name": "Code QA", "path": ".github/workflows/code-qa.yml", "contents": "# SPDX-FileCopyrightText: Copyright DB InfraGO AG\n# SPDX-License-Identifier: CC0-1.0\n\nname: Code QA\n\non:\n  pull_request:\n  push:\n    branches: [master]\n    tags: [\"v*.*.*\"]\n  workflow_dispatch:\n\njobs:\n  test:\n    name: Test with Python ${{matrix.python_version}} on ${{matrix.os}}\n    runs-on: ${{matrix.os}}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python_version:\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        include:\n          - os: windows-latest\n            python_version: \"3.10\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{matrix.python_version}}\n        uses: actions/setup-python@v5\n        with:\n          cache: pip\n          cache-dependency-path: pyproject.toml\n          python-version: ${{matrix.python_version}}\n      - name: Upgrade Pip\n        run: python -m pip install -U pip\n      - name: Install test dependencies\n        run: python -m pip install '.[test]'\n      - name: Run unit tests\n        run: python -m pytest --cov-report=term --cov=capellambse --rootdir=.\n\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          cache: pip\n          cache-dependency-path: pyproject.toml\n          python-version: \"3.12\"\n      - name: Upgrade pip\n        run: python -m pip install -U pip\n      - name: Install pre-commit\n        run: python -m pip install pre-commit\n      - name: Run Pre-Commit\n        run: pre-commit run --all-files\n\n  build:\n    name: Build wheel\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          cache: pip\n          cache-dependency-path: pyproject.toml\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: python -m pip install -U pip build twine\n      - name: Build packages\n        run: python -m build\n      - name: Verify packages\n        run: python -m twine check dist/*\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n          if-no-files-found: error\n  pypi:\n    name: Publish to PyPI\n    runs-on: ubuntu-latest\n    needs: [build, test]\n    if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'\n    environment:\n      name: pypi\n      url: https://pypi.org/project/capellambse\n    permissions:\n      id-token: write\n    steps:\n      - name: Download built wheel\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package-distributions\n          path: dist/\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "dsd-dbs/py-capellambse"}
{"mined_at": "2024-07-15T16:52:28.694721", "created_at": "2024-02-06T12:26:24+01:00", "updated_at": "2024-02-06T12:26:24+01:00", "name": "Commits", "path": ".github/workflows/commits.yml", "contents": "# SPDX-FileCopyrightText: Copyright DB InfraGO AG\n# SPDX-License-Identifier: CC0-1.0\n\nname: Commits\n\non:\n  pull_request:\n    branches: [master]\n\njobs:\n  conventional-commits:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install commitlint\n        run: npm install -g @commitlint/cli @commitlint/config-conventional\n      - name: Validate commit messages\n        id: conventional-commits\n        env:\n          SHA_FROM: ${{ github.event.pull_request.base.sha }}\n          SHA_TO: ${{ github.event.pull_request.head.sha }}\n        run: |\n          delim=\"_EOF_$(uuidgen)\"\n          echo \"validation-result<<$delim\" >> \"$GITHUB_OUTPUT\"\n          r=0\n          commitlint --from \"$SHA_FROM\" --to \"$SHA_TO\" >> \"$GITHUB_OUTPUT\" 2>&1 || r=$?\n          echo \"$delim\" >> \"$GITHUB_OUTPUT\"\n          exit $r\n      - name: Post comment if validation failed\n        if: steps.conventional-commits.outcome == 'failure'\n        uses: actions/github-script@v7\n        env:\n          TEXT: |-\n            The pull request does not conform to the conventional commit specification. Please ensure that your commit messages follow the spec: <https://www.conventionalcommits.org/>.\n            We also strongly recommend that you set up your development environment with pre-commit, as described in our [Contributing guidelines](https://github.com/DSD-DBS/py-capellambse/blob/master/CONTRIBUTING.rst#quality-controls). This will run all the important checks right before you commit your changes, and avoids lengthy CI wait time and round trips.\n\n            This is the commit validation log:\n            ```\n            ${{ steps.conventional-commits.outputs.validation-result }}\n            ```\n\n            Here are some examples of valid commit messages:\n            ```\n            feat(model): Add realized_states to State and Mode\n            fix(aird): Prevent creating circles with r=0\n            docs(readme): Update project description\n            ```\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: process.env.TEXT\n            })\n", "state": "active", "repository": "dsd-dbs/py-capellambse"}
{"mined_at": "2024-07-15T16:52:29.924968", "created_at": "2021-10-04T16:27:24+02:00", "updated_at": "2021-10-04T16:53:11+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "# SPDX-FileCopyrightText: Copyright DB InfraGO AG\n# SPDX-License-Identifier: CC0-1.0\n\nname: Docs\n\non:\n  workflow_dispatch:\n  push:\n    branches: [master]\n  pull_request:\n\njobs:\n  sphinx:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          cache: pip\n          cache-dependency-path: pyproject.toml\n          python-version: \"3.12\"\n      - name: Upgrade pip\n        run: python -m pip install -U pip\n      - name: Install dependencies\n        run: |\n          sudo apt-get install -y pandoc\n          python -m pip install '.[docs]'\n      - name: Auto-generate APIDOC sources\n        run: make -C docs apidoc\n      - name: Create docs\n        run: make -C docs html\n      - name: Upload built docs as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: Documentation\n          path: docs/build/html\n          if-no-files-found: error\n          retention-days: 5\n      - name: Deploy\n        if: github.ref == 'refs/heads/master'\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          force_orphan: true\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs/build/html\n", "state": "active", "repository": "dsd-dbs/py-capellambse"}
{"mined_at": "2024-07-15T16:52:30.916093", "created_at": "2021-12-18T17:13:54+01:00", "updated_at": "2021-12-18T17:13:54+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "dsd-dbs/py-capellambse"}
{"mined_at": "2024-07-15T16:52:33.202727", "created_at": "2023-03-01T16:28:04+01:00", "updated_at": "2023-05-25T13:35:55+02:00", "name": "build-2.0", "path": ".github/workflows/build-2.0.yml", "contents": "name: build-2.0\n\non:\n  push:\n    branches:\n      - \"2.0\"\n\njobs:\n  publish-docker-image:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n        with:\n          platforms: all\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Log into GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          file: docker/Dockerfile\n          platforms: linux/amd64\n          push: true\n          tags: ghcr.io/${{ github.repository }}/viadot:2.0-latest", "state": "active", "repository": "dyvenia/viadot"}
{"mined_at": "2024-07-15T16:52:34.330808", "created_at": "2021-05-02T22:54:34+02:00", "updated_at": "2021-07-09T13:04:41+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"dev\"\n  pull_request:\n    branches:\n      - \"main\"\n      - \"dev\"\n\nenv:\n  IMAGE_NAME: viadot\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # 3.8+. 3.9 should be supported by late 2021.\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Cache pip\n        id: cache-pip\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install dependencies\n        run: |\n          pip install -r requirements.txt\n        if: steps.cache.outputs.cache-hit != 'true'\n        continue-on-error: false\n        \n      - name: Lint with flake8\n        if: always()\n        run: |\n          pip install flake8\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics --ignore=E203\n\n      - name: Format imports with isort\n        if: always()\n        run: |\n          pip install isort\n          isort --profile black .\n\n      - name: Format with black\n        id: blackCheck\n        if: always()\n        run: |\n          pip install black\n          black --check .\n\n      - name: Test with pytest\n        if: always()\n        env:\n          VIADOT_CONFIG_PATH: .config/credentials.json.template\n        run: |\n          pip install pytest\n          sudo apt install libsqliteodbc\n          pytest tests/unit\n\n      # - name: Generate coverage report\n      #   run: |\n      #     pytest --cov-report xml --cov=viadot tests/\n      # - name: Upload coverage report to Codecov\n      #   uses: codecov/codecov-action@v1\n      #   with:\n      #     token: ${{ secrets.CODECOV_TOKEN }}\n      #     fail_ci_if_error: true\n\n  publish_docker:\n    needs: build\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/dev' && github.event_name == 'push'\n    steps:\n      - name: 'Checkout source code'\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ github.ref }}\n\n      - name: Build image\n        run: export DOCKER_BUILDKIT=1 && docker build . --file docker/Dockerfile --tag $IMAGE_NAME\n\n      - name: Log into registry\n        run: echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin\n\n      - name: Push image\n        run: |\n          IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/$IMAGE_NAME\n          \n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Publish with the `dev` label\n          echo IMAGE_ID=$IMAGE_ID\n          docker tag $IMAGE_NAME $IMAGE_ID:dev\n          docker push $IMAGE_ID:dev\n", "state": "active", "repository": "dyvenia/viadot"}
{"mined_at": "2024-07-15T16:52:35.302942", "created_at": "2024-04-02T14:50:45+02:00", "updated_at": "2024-04-02T14:50:45+02:00", "name": "CI", "path": ".github/workflows/ci-2.0.yml", "contents": null, "state": "active", "repository": "dyvenia/viadot"}
{"mined_at": "2024-07-15T16:52:36.368930", "created_at": "2021-07-08T16:39:52+02:00", "updated_at": "2021-07-09T14:03:58+02:00", "name": "deploy_docs", "path": ".github/workflows/deploy_docs.yml", "contents": "name: deploy_docs\n\non:\n  workflow_dispatch:\n\njobs:\n  publish_docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - run: pip install mkdocs-material mkdocstrings\n      - run: pip install -r requirements.txt\n      - run: pip install -e .\n      - run: mkdocs gh-deploy --force", "state": "active", "repository": "dyvenia/viadot"}
{"mined_at": "2024-07-15T16:52:37.602544", "created_at": "2022-01-03T18:48:05+01:00", "updated_at": "2022-10-03T20:32:42+02:00", "name": "Publish Docker image", "path": ".github/workflows/docker-publish.yml", "contents": "name: \"Publish Docker image\"\n# Publish the viadot Docker image with specified tags.\nrun-name: \"Deploy viadot:${{ github.event.inputs.tag }} image (@${{ github.actor }})\"\n\non:\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: \"The tag to use for the image.\"\n        required: true\n        default: \"dev\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n        with:\n          platforms: all\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Log into GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          file: docker/Dockerfile\n          platforms: linux/amd64\n          push: true\n          tags: ghcr.io/${{ github.repository }}/viadot:${{ github.event.inputs.tag }}\n", "state": "active", "repository": "dyvenia/viadot"}
{"mined_at": "2024-07-15T16:52:38.729666", "created_at": "2022-10-16T01:27:28+02:00", "updated_at": "2022-10-16T01:27:28+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish_to_pypi.yml", "contents": "name: \"Publish to PyPI\"\n# Publish a viadot branch to PyPI. \n# The branch is either picked from the dropdown (if the workflow is ran manually),\n# or the branch where the workflow was triggered.\nrun-name: \"Publish viadot to PyPI (@${{ github.actor }})\"\n\non:\n  workflow_dispatch:\n\njobs:\n  publish_pypi:\n    runs-on: ubuntu-latest\n    steps:\n\n      # Set up git & Python\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      # Install dependencies\n      - name: \"Installs dependencies\"\n        run: |\n          python3 -m pip install --upgrade pip\n          python3 -m pip install setuptools wheel twine\n\n      # Build and upload to PyPI\n      - name: \"Builds and uploads to PyPI\"\n        run: |\n          python3 setup.py sdist bdist_wheel\n          python3 -m twine upload dist/*\n        env:\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}\n", "state": "active", "repository": "dyvenia/viadot"}
{"mined_at": "2024-07-15T16:52:39.856894", "created_at": "2021-05-09T11:08:00+02:00", "updated_at": "2021-07-13T14:51:48+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: release\n# Publish a release to Docker registry and PyPI\n\n# Controls when the action will run.\non:\n  # Triggers the workflow when a release is created\n  release:\n    types: [created]\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nenv:\n  IMAGE_NAME: viadot\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # Validate the docker image.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test_docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout source code'\n        uses: actions/checkout@v2\n        with:\n            ref: ${{ github.ref }}\n      - name: Test docker image\n        run: |\n          if [ -f docker-compose.test.yml ]; then\n            docker-compose --file docker/docker-compose.test.yml build\n            docker-compose --file docker/docker-compose.test.yml run sut\n          else\n            docker build . --file docker/Dockerfile\n          fi\n  # Push the image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  publish_docker:\n    # Ensure test job passes before pushing the image.\n    needs: test_docker\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout source code'\n        uses: actions/checkout@v2\n        with:\n            ref: ${{ github.ref }}\n\n      - name: Build\n        run: docker build . --file docker/Dockerfile --tag $IMAGE_NAME\n\n      - name: Log into registry\n        run: echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin\n\n      - name: Push\n        run: |\n          IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/$IMAGE_NAME\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n          # Strip \"v\" prefix from tag name\n          [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Push with release tag\n          echo IMAGE_ID=$IMAGE_ID\n          echo VERSION=$VERSION\n          docker tag $IMAGE_NAME $IMAGE_ID:$VERSION\n          docker push $IMAGE_ID:$VERSION\n\n          # Push also with \"latest\" tag\n          docker tag $IMAGE_NAME $IMAGE_ID:latest\n          docker push $IMAGE_ID:latest\n\n  publish_pypi:\n    runs-on: ubuntu-latest\n\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - name: 'Checkout source code'\n        uses: actions/checkout@v2\n        with:\n            ref: ${{ github.ref }}\n\n      # Sets up python\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      # BROKEN\n      # # Automatically bump package version\n      # - name: Autobump version\n      #   run: |\n      #     # from refs/tags/v1.2.3 get 1.2.3\n      #     VERSION=$(echo $GITHUB_REF | sed 's#.*/v##')\n      #     PLACEHOLDER='__version__ = \"develop\"'\n      #     VERSION_FILE='viadot/__init__.py'\n      #     # ensure the placeholder is there. If grep doesn't find the placeholder\n      #     # it exits with exit code 1 and github actions aborts the build. \n      #     grep \"$PLACEHOLDER\" \"$VERSION_FILE\"\n      #     sed -i \"s/$PLACEHOLDER/__version__ = \\\"${VERSION}\\\"/g\" \"$VERSION_FILE\"\n      #   shell: bash\n\n      # Install dependencies\n      - name: \"Installs dependencies\"\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install setuptools wheel twine\n\n      # Build and upload to PyPI\n      - name: \"Builds and uploads to PyPI\"\n        run: |\n          python setup.py sdist bdist_wheel\n          python -m twine upload dist/*\n        env:\n          TWINE_USERNAME: acivitillo\n          TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}\n  publish_docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - run: pip install mkdocs-material mkdocstrings\n      - run: pip install -r requirements.txt\n      - run: pip install -e .\n      - run: mkdocs gh-deploy --force", "state": "active", "repository": "dyvenia/viadot"}
{"mined_at": "2024-07-15T16:52:40.948879", "created_at": "2023-03-15T18:16:49+01:00", "updated_at": "2023-03-15T18:16:49+01:00", "name": "Static analysis", "path": ".github/workflows/static_analysis.yml", "contents": null, "state": "active", "repository": "dyvenia/viadot"}
{"mined_at": "2024-07-15T16:52:42.089676", "created_at": "2022-01-12T18:58:42+01:00", "updated_at": "2022-01-12T18:58:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "dyvenia/viadot"}
{"mined_at": "2024-07-15T16:52:44.361535", "created_at": "2020-11-11T10:05:49+01:00", "updated_at": "2020-11-11T10:21:43+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\nconcurrency:\n  group: >-\n    ${{ github.workflow }}-\n    ${{ github.ref_type }}-\n    ${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      matrix:\n        platform: [\"ubuntu-latest\", \"windows-latest\"]\n        python-version: [ \"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\" , \"3.12-dev\" ]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox tox-gh-actions codecov\n\n      - name: Run tests\n        run: tox\n\n      - name: Codecov upload\n        run: codecov\n\n  test-py36:\n    runs-on: \"ubuntu-20.04\"\n    strategy:\n      matrix:\n        python-version: [ \"3.6\", ]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox tox-gh-actions codecov\n\n      - name: Run tests\n        run: tox\n\n      - name: Codecov upload\n        run: codecov\n", "state": "active", "repository": "pypa/flit"}
{"mined_at": "2024-07-15T16:52:46.540276", "created_at": "2020-12-02T19:23:16+01:00", "updated_at": "2022-02-01T08:58:15+01:00", "name": "Test package", "path": ".github/workflows/pytest.yml", "contents": "# Test straxen on each PR.\n# We run three types of tests:\n#  - Pytest -> these are the \"normal\" tests and should be run for all\n#    python versions\n#  - Coveralls -> this is to see if we are covering all our lines of\n#    code with our tests. The results get uploaded to\n#    coveralls.io/github/XENONnT/straxen\n#  - pytest_no_database -> we want to make sure we can run the tests even\n#    if we don't have access to our database since this will e.g. happen\n#    when someone is pushing a PR from their own fork as we don't\n#    propagate our secrets there.\n\nname: Test package\n\n# Trigger this code when a new release is published\non:\n  workflow_dispatch:\n  release:\n    types: [ created ]\n  pull_request:\n  push:\n    branches:\n      - master\n      - stable\n      - development\n\njobs:\n  update:\n    name: \"${{ matrix.test }}_py${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n    env:\n      HAVE_ACCESS_TO_SECRETS: ${{ secrets.RUNDB_API_URL }}\n    strategy:\n      fail-fast: False\n      matrix:\n        python-version: [ \"3.9\", \"3.10\" ]\n        test: [ 'coveralls', 'pytest', 'pytest_no_database' ]\n        # Drop some not crucial tests for python 3.10 and 3.11\n        exclude:\n          - python-version: \"3.11\"\n            test: coveralls\n          - python-version: \"3.10\"\n            test: pytest_no_database\n          - python-version: \"3.11\"\n            test: pytest_no_database\n\n    steps:\n      # Setup and installation\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Setup python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: sudo apt-get install -y graphviz\n\n      - name: Install requirements\n        run: |\n          pip install -r extra_requirements/requirements-tests.txt\n\n      - name: Start MongoDB\n        uses: supercharge/mongodb-github-action@1.10.0\n        with:\n          mongodb-version: 4.4.1\n\n      - name: patch utilix file\n        # Secrets and required files\n        # Patch this file if we want to have access to the database\n        if: matrix.test != 'pytest_no_database'\n        run: bash .github/scripts/create_readonly_utilix_config.sh\n        env:\n          # RunDB\n          RUNDB_API_URL: ${{ secrets.RUNDB_API_URL }}\n          RUNDB_API_USER_READONLY: ${{ secrets.RUNDB_API_USER_READONLY }}\n          RUNDB_API_PASSWORD_READONLY: ${{ secrets.RUNDB_API_PASSWORD_READONLY}}\n          PYMONGO_URL: ${{ secrets.PYMONGO_URL }}\n          PYMONGO_USER: ${{ secrets.PYMONGO_USER }}\n          PYMONGO_PASSWORD: ${{ secrets.PYMONGO_PASSWORD }}\n          PYMONGO_DATABASE: ${{ secrets.PYMONGO_DATABASE }}\n          # SCADA\n          SCADA_URL: ${{ secrets.SCADA_URL }}\n          SCADA_VALUE_URL: ${{ secrets.SCADA_VALUE_URL }}\n          SCADA_USER: ${{ secrets.SCADA_USER }}\n          SCADA_LOGIN_URL: ${{ secrets.SCADA_LOGIN_URL }}\n          SCADA_PWD: ${{ secrets.SCADA_PWD }}\n\n      - name: Create pre-apply function file\n        # In case we do not have database. We need to make a local file for\n        # The pre_apply_function (see #559).\n        if: env.HAVE_ACCESS_TO_SECRETS == null || matrix.test == 'pytest_no_database'\n        run: bash .github/scripts/create_pre_apply_function.sh $HOME\n\n      - name: Test package\n        # This is running a normal test\n        if: (matrix.test == 'pytest_no_database' || matrix.test == 'pytest')\n        env:\n          TEST_MONGO_URI: 'mongodb://localhost:27017/'\n        run: |\n          coverage run --source=straxen -m pytest --durations 0\n          coverage report\n      - name: Coveralls\n        # Make the coverage report and upload\n        env:\n          TEST_MONGO_URI: 'mongodb://localhost:27017/'\n          NUMBA_DISABLE_JIT: 1\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        if: matrix.test == 'coveralls' && (github.actor != 'dependabot[bot]') && env.HAVE_ACCESS_TO_SECRETS != null\n        run: |\n          # Install straxen first\n          pip install -e .\n\n          # Omit ./straxen/storage/rucio_remote.py since it's only tested in base_env\n          coverage run --source=straxen -m pytest -v\n\n          # Test notebooks\n          coverage run --append --source=straxen -m pytest -v --nbmake -n=auto notebooks/tutorials/SuperrunsExample.ipynb\n          coverage run --append --source=straxen -m pytest -v --nbmake -n=auto notebooks/tutorials/ScadaInterfaceExample.ipynb\n\n          # Run twice, once without and once with db access\n          if test -f ~/.xenon_config; then\n            rm ~/.xenon_config\n          fi\n          bash .github/scripts/create_pre_apply_function.sh $HOME\n          coverage run --append --source=straxen -m pytest -v\n          coveralls --service=github\n      - name: goodbye\n        run: echo \"tests done, bye bye\"\n", "state": "active", "repository": "xenonnt/straxen"}
{"mined_at": "2024-07-15T16:52:47.608544", "created_at": "2020-12-07T19:04:33+01:00", "updated_at": "2021-06-22T10:16:41+02:00", "name": "Pipy", "path": ".github/workflows/pypi_install.yml", "contents": "# Pipy upload straxen after a release (or manually).\n## Mostly based on https://github.com/marketplace/actions/pypi-publish\nname: Pipy\n\non:\n  workflow_dispatch:\n  release:\n    types: [created]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      # Setup steps\n      - name: Setup python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.9'\n\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: pip install wheel\n\n      - name: Build package\n        run: python setup.py sdist bdist_wheel\n\n      - name: Publish a Python distribution to PyPI\n        # Do the publishing\n        # Might want to add but does not work on workflow_dispatch :\n        # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user:  ${{ secrets.token }}\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "xenonnt/straxen"}
{"mined_at": "2024-07-15T16:52:48.764512", "created_at": "2021-10-31T10:29:38+01:00", "updated_at": "2022-01-23T12:39:35+01:00", "name": "Installation test", "path": ".github/workflows/test_install.yml", "contents": "# Test if we can actually install strax by installing\nname: Installation test\n\non:\n  workflow_dispatch:\n  release:\n    types: [created]\n  pull_request:\n    branches:\n      - master\n      - stable\n  push:\n    branches:\n      - master\n\njobs:\n  update:\n    name: \"py${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n    steps:\n      - name: Setup python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Install dependencies\n        run: sudo apt-get install -y graphviz\n      - name: Pre-install requirements\n        run: pip install -r requirements.txt\n      - name: Install straxen\n        run: python setup.py install\n      - name: Test import\n        run: python -c \"import straxen; straxen.print_versions()\"\n      - name: goodbye\n        run: echo goodbye\n", "state": "active", "repository": "xenonnt/straxen"}
{"mined_at": "2024-07-15T16:52:49.878129", "created_at": "2024-01-16T12:34:29+01:00", "updated_at": "2024-01-16T12:34:29+01:00", "name": "Test package", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "xenonnt/straxen"}
{"mined_at": "2024-07-15T16:52:52.045371", "created_at": "2021-08-31T23:00:14+02:00", "updated_at": "2023-10-03T17:28:18+02:00", "name": "Wheels", "path": ".github/workflows/wheels.yml", "contents": "name: Wheels\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * *'\n  release:\n    types:\n      - published\n\n# Ensures Surelog/wheels are compatible with macOS 10.15+\nenv:\n  MACOSX_DEPLOYMENT_TARGET: \"10.15\"\n\njobs:\n  build_surelog:\n    name: Build Surelog for ${{ matrix.platform.os }} ${{ matrix.platform.arch}}\n    runs-on: ${{ matrix.platform.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform:\n          - os: ubuntu-latest\n            arch: x86_64\n          - os: ubuntu-latest\n            arch: aarch64\n          - os: macos-13\n            arch: universal\n          - os: windows-latest\n            arch: x86_64\n\n    steps:\n      - uses: actions/checkout@v4\n\n      # This facilitates building Linux+arm64 wheels\n      # https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation\n      - name: Set up QEMU\n        if: runner.os == 'Linux'\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n\n      # Explicitly use \"shell: bash\" to make this work on Windows\n      - name: Get Surelog version\n        id: get-surelog\n        run: |\n          echo \"version=$(python3 setup/_tools.py --tool surelog --field git-commit)\" >> $GITHUB_OUTPUT\n        shell: bash\n\n      - uses: actions/cache@v4\n        id: surelog-cache\n        with:\n          path: |\n            siliconcompiler/tools/surelog/bin/surelog*\n          key: ${{ matrix.platform.os }}-${{ matrix.platform.arch }}-${{ steps.get-surelog.outputs.version }}\n\n      - name: Setup Java\n        if: (matrix.platform.os == 'macos-13' || matrix.platform.os == 'windows-latest') && steps.surelog-cache.outputs.cache-hit != 'true'\n        uses: actions/setup-java@v4\n        with:\n          distribution: temurin\n          java-version: 11\n          java-package: jre\n          architecture: x64\n\n      - name: Setup Python\n        if: (matrix.platform.os == 'macos-13' || matrix.platform.os == 'windows-latest') && steps.surelog-cache.outputs.cache-hit != 'true'\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n          architecture: x64\n          cache: pip\n\n      - name: Build Surelog (Windows)\n        if: matrix.platform.os == 'windows-latest' && steps.surelog-cache.outputs.cache-hit != 'true'\n        run: |\n          .github/workflows/bin/install_surelog_win.bat\n          New-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem\" -Name \"LongPathsEnabled\" -Value 1 -PropertyType DWORD -Force\n          git config --system core.longpaths true\n\n      - name: Build Surelog (macOS)\n        if: matrix.platform.os == 'macos-13' && steps.surelog-cache.outputs.cache-hit != 'true'\n        run: .github/workflows/bin/install_surelog_macos.sh\n\n      - name: Build Surelog (Linux x86)\n        if: matrix.platform.os == 'ubuntu-latest' && matrix.platform.arch == 'x86_64'&& steps.surelog-cache.outputs.cache-hit != 'true'\n        uses: docker://quay.io/pypa/manylinux2014_x86_64:latest\n        with:\n          args: ./.github/workflows/bin/install_surelog_linux.sh\n\n      - name: Build Surelog (Linux arm64)\n        if: matrix.platform.os == 'ubuntu-latest' && matrix.platform.arch == 'aarch64' && steps.surelog-cache.outputs.cache-hit != 'true'\n        uses: docker://quay.io/pypa/manylinux2014_aarch64:latest\n        with:\n          args: ./.github/workflows/bin/install_surelog_linux.sh\n\n      - name: Upload Surelog\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: surelog-${{ matrix.platform.os }}-${{ matrix.platform.arch }}\n          path: |\n            siliconcompiler/tools/surelog/bin/surelog*\n            Surelog/build/bin/surelog*\n          retention-days: 14\n\n  build_wheels:\n    name: Wheels on ${{ matrix.platform.os }} ${{ matrix.platform.arch}} ${{ matrix.python-version }}\n    runs-on: ${{ matrix.platform.os }}\n    needs: build_surelog\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [cp38, cp39, cp310, cp311, cp312]\n        platform:\n          - os: ubuntu-latest\n            arch: x86_64\n          - os: ubuntu-latest\n            arch: aarch64\n          - os: macos-13\n            arch: universal\n          - os: windows-latest\n            arch: x86_64\n\n    env:\n      CIBW_ARCHS_LINUX: ${{ matrix.platform.arch }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    # This facilitates building Linux+arm64 wheels\n    # https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation\n    - name: Set up QEMU\n      if: runner.os == 'Linux'\n      uses: docker/setup-qemu-action@v3\n      with:\n        platforms: all\n\n    # Explicitly use \"shell: bash\" to make this work on Windows\n    - name: Get Surelog version\n      id: get-surelog\n      run: |\n        echo \"version=$(python3 setup/_tools.py --tool surelog --field git-commit)\" >> $GITHUB_OUTPUT\n      shell: bash\n\n    - uses: actions/cache@v4\n      id: surelog-cache\n      with:\n        path: |\n          siliconcompiler/tools/surelog/bin/surelog*\n        key: ${{ matrix.platform.os }}-${{ matrix.platform.arch }}-${{ steps.get-surelog.outputs.version }}\n\n    # We should be guaranteed a hit after build_surelog executes\n    - name: Verify Surelog cache hit\n      if: steps.surelog-cache.outputs.cache-hit != 'true'\n      run: exit 1\n\n    - name: Setup env (Windows)\n      if: matrix.platform.os == 'windows-latest'\n      run: |\n        choco install -y graphviz\n        .github/workflows/bin/install_klayout_win.bat\n\n    - name: Setup env (macOS)\n      if: matrix.platform.os == 'macos-13'\n      run: |\n        # || true is needed to avoid failure on brew link error with python3.12\n        brew install graphviz || true\n        brew install --cask klayout\n        # https://github.com/ponty/PyVirtualDisplay/blob/master/.github/workflows/main.yml#L45\n        brew install --cask xquartz\n        echo \"/opt/X11/bin\" >> $GITHUB_PATH\n        mkdir -p /tmp/.X11-unix\n        sudo chmod 1777 /tmp/.X11-unix\n        sudo chown root /tmp/.X11-unix\n\n    - uses: pypa/cibuildwheel@v2.19\n      env:\n        CIBW_BEFORE_ALL_LINUX: >\n          src_path=\"{package}\" {package}/.github/workflows/bin/setup_wheel_env_linux.sh\n        CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014\n        CIBW_BUILD: ${{ matrix.python-version }}*\n        CIBW_SKIP: \"pp* *win32 *i686 *-musllinux_*\"\n        CIBW_ARCHS_MACOS: x86_64 arm64\n        CIBW_TEST_SKIP: \"*_arm64\"\n        CIBW_TEST_EXTRAS: test\n        CIBW_TEST_COMMAND: >\n          pytest {package}/tests/ -m \"not eda\" &&\n          pytest {package}/tests/tools/test_surelog.py &&\n          pytest {package}/tests/flows/test_show.py -k \"not openroad\"\n        # On Linux, check if KL is installed before running show tests (not included for ARM64)\n        CIBW_TEST_COMMAND_LINUX:\n          pytest {package}/tests/ -m \"not eda\" &&\n          pytest {package}/tests/tools/test_surelog.py &&\n          if command -v klayout; then pytest {package}/tests/flows/test_show.py -k \"not openroad\"; fi\n\n    # \"if: always()\" ensures that we always upload any wheels that have\n    # been created, even if cibuildwheel action fails\n    - name: Upload wheels\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        path: wheelhouse/*.whl\n        name: siliconcompiler-${{ matrix.platform.os }}-${{ matrix.platform.arch }}-${{ matrix.python-version }}\n        retention-days: 14\n\n  publish:\n    needs: [build_wheels]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release' && github.event.action == 'published' && !contains(github.event.release.body, 'NOPUBLISH')\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: siliconcompiler-*\n        path: dist\n        merge-multiple: true\n\n    - uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_DEPLOY }}\n\n    - name: Add wheels to GitHub release artifacts\n      uses: softprops/action-gh-release@v2\n      with:\n        files: dist/*.whl\n\n  package_offline:\n    # We want to run this on the official PEP Python-wheel building platform to\n    # ensure the downloaded wheels have the broadest compatibility. Using the\n    # '--platform' tag for 'pip download' doesn't work for us, since it requires\n    # setting --only-binary=:all: and some of our deps aren't available as\n    # wheels on some platforms.\n    needs: [build_wheels]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [cp38-cp38, cp39-cp39, cp310-cp310, cp311-cp311, cp312-cp312]\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: siliconcompiler-*\n        path: dist\n        merge-multiple: true\n\n    - name: Package SC\n      run: |\n        docker run --name sc_package -dit quay.io/pypa/manylinux2014_x86_64:latest\n\n        docker cp ./dist/siliconcompiler*${{matrix.python}}*linux*x86_64.whl sc_package:/\n\n        export wheel=$(docker exec sc_package bash -c \"ls siliconcompiler*\")\n\n        docker exec sc_package mkdir sc_dependencies\n        docker exec sc_package $python -m pip download pip -d sc_dependencies\n        docker exec sc_package $python -m pip download $wheel -d sc_dependencies\n        docker exec sc_package tar czvf sc_dependencies-${{matrix.python}}.tar.gz sc_dependencies $wheel\n\n        docker cp sc_package:sc_dependencies-${{matrix.python}}.tar.gz ./\n\n        docker stop sc_package\n        docker rm sc_package\n\n      env:\n        python: /opt/python/${{matrix.python}}/bin/python\n\n    - name: Upload package\n      uses: actions/upload-artifact@v4\n      with:\n        name: sc_plus_dependencies-${{matrix.python}}\n        path: sc_dependencies*.tar.gz\n        retention-days: 14\n\n    - name: Add wheels to GitHub release artifacts\n      if: github.event_name == 'release' && github.event.action == 'published' && !contains(github.event.release.body, 'NOPUBLISH')\n      uses: softprops/action-gh-release@v2\n      with:\n        files: sc_dependencies*.tar.gz\n", "state": "active", "repository": "siliconcompiler/siliconcompiler"}
{"mined_at": "2024-07-15T16:52:53.084377", "created_at": "2021-12-17T02:41:50+01:00", "updated_at": "2021-12-17T02:41:50+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "siliconcompiler/siliconcompiler"}
{"mined_at": "2024-07-15T16:52:54.158607", "created_at": "2023-02-25T15:14:34+01:00", "updated_at": "2023-04-27T17:07:38+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\non:\n  # Runs on pushes to test/ branches and main\n  push:\n    branches:\n      - 'main'\n      - 'test/**'\n  # Runs on all PRs\n  pull_request:\n  # Manual Dispatch\n  workflow_dispatch:\n\njobs:\n  lint_python:\n    name: Lint Python Code\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v4\n      - name: Lint with Flake8\n        run: |\n          python -m pip install flake8\n          flake8 --statistics .\n\n  lint_verilog:\n    name: Lint Verilog Code\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v4\n\n      - name: Set up Verible\n        run: |\n          ./setup/ubuntu20/install-verible.sh\n          echo /opt/verible/bin >> $GITHUB_PATH\n\n      - name: Check format\n        id: check-format\n        run: |\n          ./.github/workflows/bin/format_verilog.sh > files.txt\n          cat files.txt\n          git diff --exit-code\n\n      - name: Check lint\n        if: success() || steps.check-format.conclusion == 'failure'\n        run: |\n          verible-verilog-lint --rules_config .github/workflows/config/verible.rules `cat files.txt`\n\n  lint_tcl:\n    name: Lint TCL scripts\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v4\n\n      - name: Lint with tclint\n        run: |\n          python -m pip install tclint -c requirements.txt\n          tclint .\n", "state": "active", "repository": "siliconcompiler/siliconcompiler"}
{"mined_at": "2024-07-15T16:52:55.173279", "created_at": "2023-03-24T04:32:41+01:00", "updated_at": "2023-03-27T22:31:21+02:00", "name": "Python CI Tests", "path": ".github/workflows/python_ci.yml", "contents": "name: 'Python CI Tests'\n\non:\n  # Runs on pushes to test/ branches and main\n  push:\n    branches:\n      - 'main'\n      - 'test/**'\n  # Runs on all PRs\n  pull_request:\n  # Manual Dispatch\n  workflow_dispatch:\n\njobs:\n  python_test_job:\n    timeout-minutes: 15\n    runs-on: ${{ matrix.os }}\n    name: 'Pure Python tests'\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [\"ubuntu-latest\", \"windows-latest\", \"macos-latest\"]\n        # Python 3.9 is on macos-13 but not macos-latest (macos-14-arm64)\n        # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n        exclude:\n          - { python: \"3.8\", os: \"macos-latest\" }\n          - { python: \"3.9\", os: \"macos-latest\" }\n        include:\n          - { python: \"3.8\", os: \"macos-13\" }\n          - { python: \"3.9\", os: \"macos-13\" }\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Dependencies (linux)\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          sudo apt-get update\n          sudo apt-get install graphviz\n\n      - name: Install Dependencies (windows)\n        if: matrix.os == 'windows-latest'\n        run: |\n          choco install -y graphviz\n          New-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem\" -Name \"LongPathsEnabled\" -Value 1 -PropertyType DWORD -Force\n          git config --system core.longpaths true\n\n      - name: Install Dependencies (macos-13)\n        if: matrix.os == 'macos-13'\n        run: |\n          # || true is needed to avoid failure on brew link error with python3.12\n          brew install graphviz || true\n\n      - name: Install Dependencies (macos)\n        if: matrix.os == 'macos-latest'\n        run: |\n          brew install graphviz\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: pip\n          allow-prereleases: true\n\n      - name: Run Python tests\n        run: |\n          python3 -m pip install --upgrade pip\n          python3 -m pip install -e .[test]\n          pytest -n auto -m \"not eda\" --cov --cov-report=xml\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n          name: codecov-${{ matrix.python }}-${{ matrix.os }}\n          verbose: true\n", "state": "active", "repository": "siliconcompiler/siliconcompiler"}
{"mined_at": "2024-07-15T16:52:56.231407", "created_at": "2023-03-24T04:32:41+01:00", "updated_at": "2023-03-28T14:44:28+02:00", "name": "Tools CI Tests", "path": ".github/workflows/tools_ci.yml", "contents": "name: 'Tools CI Tests'\n\non:\n  # Runs on pushes to test/ branches and main\n  push:\n    branches:\n      - 'main'\n      - 'test/**'\n  # Runs on all PRs\n  pull_request:\n  # Manual Dispatch\n  workflow_dispatch:\n  # Releases of SC\n  release:\n    types:\n      - published\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  REGISTRY: ghcr.io\n\njobs:\n  build_tool_builder:\n    name: 'Build base tool builder image'\n\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n      packages: write\n\n    outputs:\n      tools_matrix: ${{ steps.docker.outputs.tools_matrix }}\n      tools_with_deps_matrix: ${{ steps.docker.outputs.tools_with_deps_matrix }}\n      sc_tools: ${{ steps.docker.outputs.sc_tools }}\n      sc_runner: ${{ steps.docker.outputs.sc_runner }}\n      has_sc_tools: ${{ steps.docker.outputs.has_sc_tools }}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Read-only credentials, can be accessed by external contributors\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ github.token }}\n\n      - name: Generate tool docker files\n        id: docker\n        run: |\n          pip install .[docker]\n          builder_name=$(python3 setup/docker/builder.py --tool builder --registry ${{ env.REGISTRY }})\n          sc_tools_name=$(python3 setup/docker/builder.py --tool tools --registry ${{ env.REGISTRY }})\n          sc_runner_name=$(python3 setup/docker/builder.py --tool runner --registry ${{ env.REGISTRY }})\n          echo \"builder=${builder_name}\" >> $GITHUB_OUTPUT\n          echo \"has_builder=$(python3 setup/docker/builder.py --check_image ${builder_name})\" >> $GITHUB_OUTPUT\n          echo \"sc_tools=${sc_tools_name}\" >> $GITHUB_OUTPUT\n          echo \"sc_runner=${sc_runner_name}\" >> $GITHUB_OUTPUT\n          echo \"has_sc_tools=$(python3 setup/docker/builder.py --check_image ${sc_tools_name})\" >> $GITHUB_OUTPUT\n          echo \"tools_matrix=$(python3 setup/docker/builder.py --json_tools --registry ${{ env.REGISTRY }})\" >> $GITHUB_OUTPUT\n          echo \"tools_with_deps_matrix=$(python3 setup/docker/builder.py --json_tools --with_dependencies --registry ${{ env.REGISTRY }})\" >> $GITHUB_OUTPUT\n          python3 setup/docker/builder.py --generate_files --registry ${{ env.REGISTRY }} --output_dir docker\n\n      - name: Upload docker artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: tools\n          path: docker/\n          retention-days: 1\n\n      # Read/write credentials, can only be accessed by repo members\n      - name: Log in to the Container registry\n        if: steps.docker.outputs.has_builder != 'true'\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ secrets.PACKAGES_ACTOR }}\n          password: ${{ secrets.PACKAGES_TOKEN }}\n\n      - name: Build and Push SiliconCompiler Builder Docker image\n        if: steps.docker.outputs.has_builder != 'true'\n        uses: docker/build-push-action@v5\n        with:\n          context: docker/sc_tool_builder\n          push: true\n          tags: ${{ steps.docker.outputs.builder }}\n\n  build_tool:\n    if: ${{ needs.build_tool_builder.outputs.tools_matrix != '{}' }}\n\n    name: Build ${{ matrix.tool }} tool\n    runs-on: ubuntu-latest\n    needs: build_tool_builder\n\n    permissions:\n      contents: read\n      packages: write\n\n    strategy:\n        fail-fast: false\n        matrix: ${{ fromJson(needs.build_tool_builder.outputs.tools_matrix) }}\n\n    steps:\n      - name: Download docker artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: tools\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ secrets.PACKAGES_ACTOR }}\n          password: ${{ secrets.PACKAGES_TOKEN }}\n\n      - name: Build and Push Tool Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: ./sc_${{ matrix.tool }}/\n          push: true\n          tags: |\n            ${{ matrix.name }}\n            ${{ matrix.check_name }}\n\n  build_tool_with_deps:\n    if: ${{ always() && needs.build_tool_builder.outputs.tools_with_deps_matrix != '{}' }}\n\n    name: Build ${{ matrix.tool }} tool\n    runs-on: ubuntu-latest\n    needs: [build_tool_builder, build_tool]\n\n    permissions:\n      contents: read\n      packages: write\n\n    strategy:\n        fail-fast: false\n        matrix: ${{ fromJson(needs.build_tool_builder.outputs.tools_with_deps_matrix) }}\n\n    steps:\n      - name: Download docker artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: tools\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ secrets.PACKAGES_ACTOR }}\n          password: ${{ secrets.PACKAGES_TOKEN }}\n\n      - name: Build and Push Tool Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: ./sc_${{ matrix.tool }}/\n          push: true\n          tags: |\n            ${{ matrix.name }}\n            ${{ matrix.check_name }}\n\n  build_sc_tools:\n    if: always() && needs.build_tool_builder.outputs.has_sc_tools != 'true'\n    name: Build SC Tools\n    runs-on: ubuntu-latest\n    needs: [build_tool_builder, build_tool, build_tool_with_deps]\n\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Download docker artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: tools\n\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@v1.3.1\n        with:\n          tool-cache: false\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: false\n          swap-storage: true\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ secrets.PACKAGES_ACTOR }}\n          password: ${{ secrets.PACKAGES_TOKEN }}\n\n      - name: Build and Push Tool Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: ./sc_tools/\n          push: true\n          tags: ${{ needs.build_tool_builder.outputs.sc_tools }}\n\n  runner_image:\n    if: always() && github.event_name == 'release'\n    needs: [build_tool_builder, build_sc_tools]\n    name: Build SC runner image\n\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n    - name: Download docker artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: tools\n\n    - name: Free Disk Space (Ubuntu)\n      uses: jlumbroso/free-disk-space@v1.3.1\n      with:\n        tool-cache: false\n        android: true\n        dotnet: true\n        haskell: true\n        large-packages: false\n        swap-storage: true\n\n    - name: Log in to the Container registry\n      uses: docker/login-action@v3\n      with:\n        registry: ${{ env.REGISTRY }}\n        username: ${{ secrets.PACKAGES_ACTOR }}\n        password: ${{ secrets.PACKAGES_TOKEN }}\n\n    - name: Retag primary image\n      run: |\n        docker pull ${{ needs.build_tool_builder.outputs.sc_tools }}\n        base_tag=$(echo ${{ needs.build_tool_builder.outputs.sc_tools }} | sed s/:.*//g)\n        latest_tag=${base_tag}:latest\n        docker tag ${{ needs.build_tool_builder.outputs.sc_tools }} $latest_tag\n        docker push $latest_tag\n        version_tag=${base_tag}:${{  github.ref_name }}\n        docker tag ${{ needs.build_tool_builder.outputs.sc_tools }} $version_tag\n        docker push $version_tag\n        runner_latest_tag=$(echo ${{ needs.build_tool_builder.outputs.sc_runner }} | sed s/:.*/:latest/g)\n        echo \"RUNNER_TAG=${runner_latest_tag}\" >> $GITHUB_ENV\n\n    - name: Build and Push Tool Docker image\n      uses: docker/build-push-action@v5\n      with:\n        context: ./sc_runner/\n        push: true\n        tags: |\n          ${{ needs.build_tool_builder.outputs.sc_runner }}\n          ${{ env.RUNNER_TAG }}\n\n  tool_based_tests:\n    if: always()\n    needs: [build_tool_builder, build_sc_tools]\n    runs-on: ubuntu-latest\n    container:\n      image: ${{ needs.build_tool_builder.outputs.sc_tools }}\n      credentials:\n        username: ${{ github.actor }}\n        password: ${{ github.token }}\n\n    timeout-minutes: 45\n    name: 'Tool-based tests'\n    steps:\n      - name: Checkout current SiliconCompiler\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Run tests\n        run: |\n          /start_slurm.sh\n          python3 -m venv clean_env\n          source clean_env/bin/activate\n          cd $GITHUB_WORKSPACE\n          python3 -m pip install --upgrade pip\n          python3 -m pip install -e .[test,examples]\n          pytest -n auto -m \"eda and quick\" --cov --cov-report=xml --durations=0\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n          name: codecov-tools\n          verbose: true\n\n  trigger_daily:\n    if: always()\n    needs: build_sc_tools\n    runs-on: ubuntu-latest\n    name: Trigger daily, if tools changed\n    steps:\n      - name: Checkout current SiliconCompiler\n        uses: actions/checkout@v4\n\n      - name: Check tool updates\n        uses: dorny/paths-filter@v3\n        id: changes\n        with:\n          filters: |\n            tools:\n              - 'setup/_tools.json'\n\n      - name: Trigger\n        if: ( steps.changes.outputs.tools == 'true' && github.event_name == 'pull_request' )\n        uses: convictional/trigger-workflow-and-wait@v1.6.5\n        with:\n          github_token: ${{ github.token }}\n          ref: ${{ github.event.pull_request.head.ref }}\n          owner: ${{ github.repository_owner }}\n          repo: siliconcompiler\n          workflow_file_name: daily_ci.yml\n          wait_interval: 60\n\n  server_tests:\n    if: always()\n    needs: build_sc_tools\n    name: Test server\n    timeout-minutes: 90\n    runs-on: ubuntu-latest\n    steps:\n      - name: Server action dispatch\n        uses: convictional/trigger-workflow-and-wait@v1.6.5\n        with:\n          github_token: ${{ secrets.ZA_TOKEN }}\n          owner: ${{ secrets.SERVER_OWNER }}\n          repo: ${{ secrets.SERVER_REPO }}\n          workflow_file_name: containers.yml\n          client_payload: '{\"sc-ref\": \"${{ github.event.pull_request.head.ref || github.sha }}\"}'\n          wait_interval: 60\n\n  lint_tcl:\n    name: Lint OpenROAD TCL scripts\n    if: always()\n    needs: [build_tool_builder, build_sc_tools]\n    runs-on: ubuntu-latest\n    container:\n      image: ${{ needs.build_tool_builder.outputs.sc_tools }}\n      credentials:\n        username: ${{ github.actor }}\n        password: ${{ github.token }}\n    env:\n      COMMAND_SPEC_PATH: tclint-openroad-spec.json\n\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v4\n\n      - name: Install tclint\n        run: |\n          python3 -m pip install tclint -c requirements.txt\n\n      - name: Generate OpenROAD command spec\n        run: |\n          tclint-plugins make-spec openroad --output $COMMAND_SPEC_PATH\n\n      - name: Lint with tclint\n        run: |\n          tclint --commands $COMMAND_SPEC_PATH \\\n            siliconcompiler/tools/openroad/scripts \\\n            siliconcompiler/tools/opensta/scripts\n", "state": "active", "repository": "siliconcompiler/siliconcompiler"}
{"mined_at": "2024-07-15T16:52:57.254420", "created_at": "2023-03-24T19:33:48+01:00", "updated_at": "2024-06-16T16:21:37+02:00", "name": "Daily CI Tests", "path": ".github/workflows/daily_ci.yml", "contents": "on:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 8 * * *'\n\nname: 'Daily CI Tests'\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  docker_image:\n    uses: siliconcompiler/siliconcompiler/.github/workflows/docker_image.yml@main\n    with:\n      tool: 'tools'\n      sc_version: ${{ github.sha }}\n\n  daily_tests_job:\n    needs: docker_image\n    timeout-minutes: 120\n    runs-on: ubuntu-20.04 # Match ubuntu version with container\n    container:\n      image: ${{ needs.docker_image.outputs.sc_tool }}\n      credentials:\n        username: ${{ github.actor }}\n        password: ${{ github.token }}\n\n    name: 'All tests'\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Checkout SiliconCompiler\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Set tools and permissions for caching\n        run: |\n          chown -R root: ~\n          ln -s $RUNNER_TOOL_CACHE /opt/hostedtoolcache\n          echo \"LD_LIBRARY_PATH_BACKUP=$LD_LIBRARY_PATH\" >> \"$GITHUB_ENV\"\n\n      - name: Set up Python ${{ matrix.python-version }}\n        id: setup-python\n        env:\n          AGENT_TOOLSDIRECTORY: ${{ runner.tool_cache }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          allow-prereleases: true\n\n      - name: Run tests\n        run: |\n          /start_slurm.sh\n\n          export LD_LIBRARY_PATH=\"${{ env.LD_LIBRARY_PATH_BACKUP }}\"\n          echo $LD_LIBRARY_PATH\n          ${{ steps.setup-python.outputs.python-path }} -m venv clean_env\n          source clean_env/bin/activate\n          python3 --version\n\n          cd $GITHUB_WORKSPACE\n          python3 -m pip install --upgrade pip\n          python3 -m pip install .[test,examples]\n          pytest -n auto --durations=0 --clean\n\n  gallery:\n    uses: siliconcompiler/scgallery/.github/workflows/run-designs.yml@main\n    with:\n      sc-ref: ${{ github.event.pull_request.head.ref || github.sha }}\n      concurrency: 30\n", "state": "active", "repository": "siliconcompiler/siliconcompiler"}
{"mined_at": "2024-07-15T16:52:58.391866", "created_at": "2023-03-30T01:40:07+02:00", "updated_at": "2023-04-03T00:32:50+02:00", "name": "Tool Updater", "path": ".github/workflows/tool_updater.yml", "contents": "on:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * *'\n\nname: 'Tool Updater'\n\njobs:\n  get_tools:\n    name: 'Get updatable tools'\n\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n      packages: write\n\n    outputs:\n      tools: ${{ steps.tools.outputs.tools }}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Tools\n        id: tools\n        run: |\n          echo \"tools=$(python3 setup/_tools.py --json_tools)\" >> $GITHUB_OUTPUT\n\n  update_tool:\n    needs: get_tools\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.get_tools.outputs.tools) }}\n\n    name: 'Update tool'\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          ref: main\n\n      - name: Update tool\n        id: update\n        run: |\n          python3 -m pip install GitPython\n          git config --global user.name \"SiliconCompiler Bot\"\n          git config --global user.email \"bot@siliconcompiler.com\"\n          msg=$(python3 setup/_tools.py --bump_commit --tool ${{ matrix.tool }})\n          echo $msg\n          EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)\n          echo \"msg<<$EOF\" >> $GITHUB_OUTPUT\n          echo \"$msg\" >> $GITHUB_OUTPUT\n          echo \"$EOF\" >> $GITHUB_OUTPUT\n          git add setup/_tools.json\n          git commit -m \"$msg\" || true\n\n      - name: Create Pull Request\n        if: ${{ steps.update.outputs.msg != '' }}\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.BOT_TOKEN }}\n          title: \"[SC-BOT] Update ${{ matrix.tool }}\"\n          author: \"SiliconCompiler Bot <bot@siliconcompiler.com>\"\n          committer: \"SiliconCompiler Bot <bot@siliconcompiler.com>\"\n          body: |\n            ${{ steps.update.outputs.msg }}\n          commit-message: |\n            Update ${{ matrix.tool }}\n          branch: bot/${{ matrix.tool }}-update\n          base: main\n          delete-branch: true\n", "state": "active", "repository": "siliconcompiler/siliconcompiler"}
{"mined_at": "2024-07-15T16:52:59.385834", "created_at": "2023-09-01T10:59:00+02:00", "updated_at": "2024-06-28T17:06:10+02:00", "name": "Get name of docker image", "path": ".github/workflows/docker_image.yml", "contents": "name: 'Get name and newest digest for docker image'\n\nenv:\n  REGISTRY: ghcr.io\n\non:\n  workflow_call:\n    inputs:\n      tool:\n        description: 'Name of the tool'\n        required: false\n        default: 'tools'\n        type: string\n      sc_version:\n        description: 'SC version tag or \"latest\" version'\n        required: false\n        default: 'main'\n        type: string\n    outputs:\n      sc_tool:\n        description: 'Name and newest digest for the docker image of the input tool'\n        value: ${{ jobs.docker_image.outputs.sc_tool }}\n\njobs:\n  docker_image:\n    name: 'Get newest docker image'\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n      packages: read\n\n    outputs:\n      sc_tool: ${{ steps.docker.outputs.sc_tool }}\n\n    steps:\n      - name: Checkout repository\n        run: |\n          git clone https://github.com/siliconcompiler/siliconcompiler .\n          version=${{ inputs.sc_version }}\n          if [ $version == \"latest\" ]; then\n            version=$(git describe --abbrev=0 --tags --match=\"v*\")\n          fi\n          git checkout $version\n\n      - name: Get newest docker image for the input tool\n        id: docker\n        run: |\n          pip install .[docker]\n          sc_tool_name=$(python3 setup/docker/builder.py --tool ${{ inputs.tool }} --registry ${{ env.REGISTRY }})\n          echo \"sc_tool=${sc_tool_name}\" >> $GITHUB_OUTPUT\n", "state": "active", "repository": "siliconcompiler/siliconcompiler"}
{"mined_at": "2024-07-15T16:53:00.540153", "created_at": "2024-01-20T23:04:26+01:00", "updated_at": "2024-04-09T18:24:48+02:00", "name": "Conda CI Tests", "path": ".github/workflows/conda_ci.yml", "contents": "name: Conda CI Tests\n\non:\n  # Runs on pushes to test/ branches and main\n  push:\n    branches:\n      - 'main'\n      - 'test/**'\n    # Run if anything changes related to tool setup\n    paths: 'setup/**'\n  # Runs on all PRs\n  pull_request:\n  # Manual Dispatch\n  workflow_dispatch:\n\njobs:\n  test-basic-tools:\n    name: Test basic tools\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    defaults:\n      run:\n        shell: bash -el {0}\n    steps:\n      - name: Checkout siliconcompiler\n        uses: actions/checkout@v4\n\n      - name: Setup conda env\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: sc_env\n          environment-file: setup/conda/environment.yml\n\n      - name: Tool version check\n        run : |\n          conda activate sc_env\n\n          klayout -v\n          openroad -version\n          surelog --version\n          yosys --version\n\n      - name: Set up Python ${{ matrix.python-version }}\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          allow-prereleases: true\n\n      - name: Run tests\n        run : |\n          conda activate sc_env\n\n          echo \"setup-python action provides path ${{ steps.setup-python.outputs.python-path }}\"\n          ${{ steps.setup-python.outputs.python-path }} -m venv clean_env\n          source clean_env/bin/activate\n\n          which python3\n          which python\n\n          python --version\n\n          cd $GITHUB_WORKSPACE\n          python -m pip install --upgrade pip\n          python -m pip install .[test]\n          pytest -n auto -k \"not sim\" tests/tools/test_openroad.py tests/tools/test_klayout.py tests/tools/test_surelog.py tests/tools/test_yosys.py tests/core/test_tool_tasks.py tests/flows/test_show.py tests/apps/test_sc_show.py tests/examples/test_heartbeat.py\n", "state": "disabled_manually", "repository": "siliconcompiler/siliconcompiler"}
{"mined_at": "2024-07-15T16:53:02.588885", "created_at": "2021-11-13T19:02:15+01:00", "updated_at": "2021-11-13T19:09:43+01:00", "name": "Linters", "path": ".github/workflows/lint.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Linters\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch: \n    inputs:\n      name:\n        description: 'Reason'\n        required: false\n        default: 'Just Cause'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.11]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements-dev.txt\n        flit install --symlink\n    - name: dependency tree\n      run: |\n        pipdeptree\n    - name: dependency tree (reversed)\n      run: |\n        pipdeptree -r\n    - name: Lint with black\n      run: |\n        black --check papyri\n    - name: Lint with flake8\n      if: always()\n      run: |\n        flake8 papyri\n    - name: Test with mypy\n      if: always()\n      run: |\n        python3 -m pip install types-requests types-cachetools types-toml\n        mypy papyri\n", "state": "active", "repository": "jupyter/papyri"}
{"mined_at": "2024-07-15T16:53:03.925046", "created_at": "2023-12-14T22:38:42+01:00", "updated_at": "2023-12-17T11:05:00+01:00", "name": "Papyri-lab Build", "path": ".github/workflows/papyri-lab-build.yml", "contents": "name: Papyri-lab Build\n\non:\n  push:\n    branches: main\n  pull_request:\n    branches: '*'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Base Setup\n      uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n    - name: Install dependencies\n      run: python -m pip install -U \"jupyterlab>=4.0.0,<5\"\n\n    - name: Lint the extension\n      run: |\n        set -eux\n        cd papyri-lab\n        jlpm\n        jlpm run lint:check\n\n    - name: Test the extension\n      run: |\n        set -eux\n        cd papyri-lab\n        jlpm run test\n\n    - name: Build the extension\n      run: |\n        set -eux\n        # install papyri first, then do the extension\n        pip install -e .\n        pip install scipy\n        papyri build-parser\n        papyri gen examples/papyri.toml\n        papyri ingest ~/.papyri/data/*\n        echo 'CD to extension'\n        cd papyri-lab\n        python -m pip install .[test]\n\n        pytest -vv -r ap --cov papyri_lab\n        jupyter server extension list\n        jupyter server extension list 2>&1 | grep -ie \"papyri_lab.*OK\"\n\n        jupyter labextension list\n        jupyter labextension list 2>&1 | grep -ie \"papyri-lab.*OK\"\n        python -m jupyterlab.browser_check\n\n    - name: Package the extension\n      run: |\n        set -eux\n        cd papyri-lab\n\n        pip install build\n        python -m build\n        pip uninstall -y \"papyri_lab\" jupyterlab\n\n    - name: Upload extension packages\n      uses: actions/upload-artifact@v3\n      with:\n        name: extension-artifacts\n        path: papyri-lab/dist/papyri_lab*\n        if-no-files-found: error\n\n  test_isolated:\n    needs: build\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Install Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n        architecture: 'x64'\n\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Install papyri\n      run: |\n        set -eux\n        # install papyri first, then do the extension\n        pip install -e .\n        pip install scipy\n        papyri build-parser\n\n    - uses: actions/download-artifact@v3\n      with:\n        name: extension-artifacts\n\n    - name: Install and Test\n      run: |\n        set -eux\n        # Remove NodeJS, twice to take care of system and locally installed node versions.\n        sudo rm -rf $(which node)\n        sudo rm -rf $(which node)\n\n        pip install \"jupyterlab>=4.0.0,<5\" papyri_lab*.whl\n\n\n        jupyter server extension list\n        jupyter server extension list 2>&1 | grep -ie \"papyri_lab.*OK\"\n\n        jupyter labextension list\n        jupyter labextension list 2>&1 | grep -ie \"papyri-lab.*OK\"\n        python -m jupyterlab.browser_check --no-browser-test\n\n  integration-tests:\n    name: Integration tests\n    needs: build\n    runs-on: ubuntu-latest\n\n    env:\n      PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/pw-browsers\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Base Setup\n      uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1\n\n    - name: Install papyri\n      run: |\n        set -eux\n        # install papyri first, then do the extension\n        pip install -e .\n        pip install scipy\n        papyri build-parser\n\n    - name: Download extension package\n      uses: actions/download-artifact@v3\n      with:\n        name: extension-artifacts\n\n    - name: Install the extension\n      run: |\n        set -eux\n        python -m pip install \"jupyterlab>=4.0.0,<5\" papyri_lab*.whl\n\n    - name: Install dependencies\n      working-directory: papyri-lab/ui-tests\n      env:\n        YARN_ENABLE_IMMUTABLE_INSTALLS: 0\n        PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1\n      run:\n        jlpm install\n\n    - name: Set up browser cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ${{ github.workspace }}/pw-browsers\n        key: ${{ runner.os }}-${{ hashFiles('ui-tests/yarn.lock') }}\n\n    - name: Install browser\n      run: |\n        jlpm playwright install chromium\n      working-directory: papyri-lab/ui-tests\n\n    - name: Execute integration tests\n      working-directory: papyri-lab/ui-tests\n      run: |\n        jlpm playwright test\n\n    - name: Upload Playwright Test report\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        name: papyri_lab-playwright-tests\n        path: |\n          papyri-lab/ui-tests/test-results\n          papyri-lab/ui-tests/playwright-report\n", "state": "active", "repository": "jupyter/papyri"}
{"mined_at": "2024-07-15T16:53:05.149040", "created_at": "2020-08-12T06:05:30+02:00", "updated_at": "2023-11-02T16:23:03+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch:\n    inputs:\n      name:\n        description: 'Reason'\n        required: false\n        default: 'Just Cause'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - lib: 'astropy'\n            python-version: \"3.11\"\n          - lib: 'papyri'\n            python-version: \"3.11\"\n          - lib: 'IPython'\n            python-version: \"3.11\"\n          - lib: 'numpy'\n            python-version: \"3.11\"\n            flags: '--no-narrative --no-exec'\n          - lib: 'scipy'\n            python-version: \"3.11\"\n            flags: '--no-narrative --no-exec'\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements-dev.txt\n        flit install --symlink\n        # this is not needed if tree-sitter-languages works\n        #git clone  https://github.com/stsewd/tree-sitter-rst\n        #cd tree-sitter-rst\n        #git checkout 3fc88d2097bc854ab6bf70c52b3c482849cf8e8f\n        #cd -\n        #papyri build-parser\n    - name: dependency tree\n      run: |\n        pipdeptree\n    - name: dependency tree (reversed)\n      run: |\n        pipdeptree -r\n    - name: Gen ${{matrix.lib}}\n      run: |\n        pip install ${{matrix.lib}}\n        coverage run -a -m papyri gen examples/${{matrix.lib}}.toml  --no-infer ${{matrix.flags}}\n        sleep 1 # time for coverage to write its stuff\n        papyri pack\n        ls ~/.papyri/data\n    - uses: actions/upload-artifact@v3\n      with:\n        name: doc-bundles\n        path: ~/.papyri/data/*.zip\n    - name: Convert .coverage sql to xml for upload\n      run: |\n        coverage report\n        coverage xml\n        ls -la\n    - name: \"Upload coverage to Codecov\"\n      uses: codecov/codecov-action@v3.1.4\n      with:\n        fail_ci_if_error: false\n        token: ${{ secrets.CODECOV_TOKEN }}\n  ingest:\n\n    runs-on: ubuntu-latest\n    needs: [build]\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements-dev.txt\n        flit install --symlink\n        git clone https://github.com/stsewd/tree-sitter-rst\n        cd tree-sitter-rst\n        git checkout 3fc88d2097bc854ab6bf70c52b3c482849cf8e8f\n        cd -\n        papyri build-parser\n    - name: Test with pytest\n      run: |\n        pip install scipy dask\n        pytest --cov=papyri --cov-append -m \"not postingest\"\n        ls -al\n    - uses: actions/download-artifact@v3\n      with:\n        name: doc-bundles\n        path: ~/.papyri/data/\n\n    - name: Misc cli\n      run: |\n        coverage run -a -m papyri --help\n        ls -al\n    - name: Ingest\n      run: |\n        coverage run -a -m papyri install ~/.papyri/data/*.zip\n    - name: Test with pytest postintest\n      run: |\n        pytest -m \"postingest\"\n    - name: Relink\n      run: |\n        coverage run -a -m papyri relink\n    - name: Render ascii\n      run: |\n        python -m papyri render --ascii\n        ls -al\n    - name: Render html\n      run: |\n        python -m papyri render --html\n        ls -al\n\n    - name: Convert .coverage sql to xml for upload\n      run: |\n        coverage report\n        coverage xml\n        ls -la\n    - name: \"Upload coverage to Codecov\"\n      uses: codecov/codecov-action@v3\n      with:\n        fail_ci_if_error: false\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "jupyter/papyri"}
{"mined_at": "2024-07-15T16:53:07.319196", "created_at": "2023-08-09T00:37:14+02:00", "updated_at": "2023-09-14T12:22:46+02:00", "name": "build-docker-image", "path": ".github/workflows/build.yml", "contents": "---\nname: build-docker-image\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    name: Build Docker Image\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        env:\n          POSTGRES_DB: flexmeasures_test\n          POSTGRES_PASSWORD: flexmeasures_test\n          POSTGRES_USER: flexmeasures_test\n        image: postgres:latest\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Build Docker Image\n        run: docker build -t flexmeasures:latest -f Dockerfile .\n      - name: Generate random secret key\n        run: echo \"SECRET_KEY=$(python3 -c 'import secrets; print(secrets.token_hex(24))')\"\n          >> .env\n      - name: Export SQLALCHEMY_DATABASE_URI\n        run: echo \"SQLALCHEMY_DATABASE_URI=postgresql://flexmeasures_test:flexmeasures_test@127.0.0.1:5432/flexmeasures_test\"\n          >> .env\n      - name: Keep running flexmeasures container in background\n        run: docker run -t -d --env-file .env --network=host --name fm-container flexmeasures:latest\n      - name: Execute database upgrade\n        run: docker exec --env-file .env fm-container flexmeasures\n          db upgrade\n      - name: Add toy user\n        run: docker exec --env-file .env fm-container flexmeasures\n          add toy-account\n      - name: Generate prices dummy data\n        run: .github/workflows/generate-dummy-price.sh\n      - name: Copy prices dummy data\n        run: docker cp prices-tomorrow.csv fm-container:/app/prices-tomorrow.csv\n      - name: Add beliefs\n        run: docker exec --env-file .env fm-container flexmeasures\n          add beliefs --sensor 1 --source toy-user prices-tomorrow.csv --timezone Europe/Amsterdam\n      - name: Export TOMORROW\n        run: echo \"TOMORROW=$(date --date=\"next day\" '+%Y-%m-%d')\"\n          >> $GITHUB_ENV\n      - name: Add schedule\n        run: docker exec --env-file .env fm-container flexmeasures\n          add schedule for-storage --sensor 2 --consumption-price-sensor 1 \n          --start ${TOMORROW}T07:00+01:00 --duration PT12H \n          --soc-at-start 50% --roundtrip-efficiency 90%\n", "state": "active", "repository": "flexmeasures/flexmeasures"}
{"mined_at": "2024-07-15T16:53:08.355683", "created_at": "2021-02-01T14:25:10+01:00", "updated_at": "2021-02-01T14:25:10+01:00", "name": "deploy-to-staging", "path": ".github/workflows/deploy.yml", "contents": "name: deploy-to-staging\n\non: \n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    name: \"Deploy (main to staging)\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Wait for tests to pass\n        uses: lewagon/wait-on-check-action@v0.2\n        with:\n          ref: ${{ github.ref }}\n          # check-name: \"Test (on Python3.8)\" # name of the job we wait for (omit to wait for all checks)\n          running-workflow-name: \"Deploy (main to staging)\"  # name of the check that will wait for other checks\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          wait-interval: 20 # seconds\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: '0'\n          ref: 'main'\n      - name: Install SSH key\n        uses: shimataro/ssh-key-action@v2\n        with:\n          key: ${{ secrets.SSH_DEPLOYMENT_KEY }}  # private ssh key\n          known_hosts: ${{ secrets.KNOWN_DEPLOYMENT_HOSTS }}  # make via ssh-keyscan -t rsa <your host>\n      - run: ci/DEPLOY.sh\n    env:\n      BRANCH_NAME: main\n      STAGING_REMOTE_REPO: ${{ secrets.STAGING_REMOTE_REPO }}", "state": "active", "repository": "flexmeasures/flexmeasures"}
{"mined_at": "2024-07-15T16:53:09.383919", "created_at": "2021-01-28T08:05:08+01:00", "updated_at": "2023-05-12T18:06:21+02:00", "name": "lint-and-test", "path": ".github/workflows/lint-and-test.yml", "contents": "name: lint-and-test\n\non:\n  push:\n  pull_request:\n    types:\n      - opened\njobs:\n  check:\n    runs-on: ubuntu-latest\n    name: Check (on Python 3.9)\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - uses: actions/checkout@v3\n      - uses: pre-commit/action@v3.0.0\n\n  test:\n    needs: check\n    # fixed for now due to problems with 22.04 (see #551), try -latest sometime\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        py_version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n        include:\n          - python-version: \"3.9\"\n            coverage: yes\n    name: \"Test (on Python ${{ matrix.py_version }})\"\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.py_version }}\n      - name: Check out src from Git\n        uses: actions/checkout@v3\n      - name: Get history and tags for SCM versioning to work\n        run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n      - name: \"Caching for dependencies (.txt) - restore existing or ensure new cache will be made\"\n        uses: actions/cache@v2\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          # manually disable a cache if needed by (re)setting CACHE_DATE\n          key: ${{ runner.os }}-pip-${{ env.pythonLocation }}-${{ SECRETS.CACHE_DATE }}-${{ hashFiles('**/requirements/**/*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - run: |\n          ci/setup-postgres.sh\n          sudo apt-get -y install coinor-cbc\n      - name: Install FlexMeasures & exact dependencies for tests\n        run: make install-for-test\n        if: github.event_name == 'push' && steps.cache.outputs.cache-hit != 'true'\n      - name: Install FlexMeasures & latest dependencies for tests\n        run: make install-for-test pinned=no\n        if: github.event_name == 'pull_request'\n      - name: Run all tests except those marked to be skipped by GitHub AND record coverage\n        run: pytest -v -m \"not skip_github\" --cov=flexmeasures --cov-branch --cov-report=lcov\n      - name: Coveralls\n        uses: coverallsapp/github-action@v2\n        if: ${{ matrix.coverage == 'yes' }}\n    env:\n      PGHOST: 127.0.0.1\n      PGPORT: 5432\n      PGUSER: flexmeasures_test\n      PGDB: flexmeasures_test\n      PGPASSWORD: flexmeasures_test\n\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgres:12.5 \n        env:\n          POSTGRES_USER: flexmeasures_test\n          POSTGRES_PASSWORD: flexmeasures_test\n          POSTGRES_DB: flexmeasures_test\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n", "state": "active", "repository": "flexmeasures/flexmeasures"}
{"mined_at": "2024-07-15T16:53:11.894402", "created_at": "2023-05-12T18:22:33+02:00", "updated_at": "2023-05-12T18:22:33+02:00", "name": "Build Artifacts", "path": ".github/workflows/build_artifacts.yml", "contents": "name: Build Artifacts\n\non:\n  workflow_call:\n\njobs:\n  build:\n    name: Build\n    runs-on: windows-latest\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.11\"\n\n    - name: get-pip\n      run: Invoke-WebRequest https://bootstrap.pypa.io/get-pip.py\n\n    - name: Install PyInstaller\n      run: python -m pip install PyInstaller\n\n    - name: Install ikabot\n      run: python -m pip install ikabot\n\n    - name: Build ikabot\n      run: python -m PyInstaller --onedir ikabot/command_line.py\n\n    - name: Rename\n      run: |\n        mv dist/command_line dist/ikabot\n        mv dist/ikabot/command_line.exe dist/ikabot/ikabot.exe\n\n    - name: Upload Pre-compiled Ikabot\n      uses: actions/upload-artifact@v3\n      with:\n        name: PreCompiledIkabot\n        path: \"dist\"", "state": "active", "repository": "physics-sec/ikabot"}
{"mined_at": "2024-07-15T16:53:13.223337", "created_at": "2023-05-14T19:45:20+02:00", "updated_at": "2023-08-02T17:59:35+02:00", "name": "Publish Docker Image", "path": ".github/workflows/publish_docker.yml", "contents": "name: Publish Docker Image\n\non:\n  workflow_call:\n    inputs:\n      tag_name:\n        required: true\n        type: string\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ikabot\n\njobs:\n  build-and-push-image:\n    name: Build & Publish\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      # The repository name must be in lower case in order to be pushed to the registry\n      - name: Set lower case owner name\n        run: |\n          echo \"OWNER_LC=${OWNER,,}\" >>${GITHUB_ENV}\n        env:\n          OWNER: '${{ github.repository_owner }}'\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      \n      - name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          push: true\n          tags: |\n            ${{ env.REGISTRY }}/${{ env.OWNER_LC }}/${{ env.IMAGE_NAME }}:${{ inputs.tag_name }}\n            ${{ env.REGISTRY }}/${{ env.OWNER_LC }}/${{ env.IMAGE_NAME }}:latest", "state": "active", "repository": "physics-sec/ikabot"}
{"mined_at": "2024-07-15T16:53:14.672211", "created_at": "2023-08-02T17:59:35+02:00", "updated_at": "2023-08-02T17:59:35+02:00", "name": "Publish Docker Image Manually", "path": ".github/workflows/publish_docker_manually.yml", "contents": "name: Publish Docker Image Manually\n\non:\n  workflow_dispatch:\n    inputs:\n      tag_name:\n        description: 'Tag for the image (ex: v6.5.1)'\n        required: true\n        type: string\n\njobs:\n  publish_docker:\n    name: Build & Publish Docker Image\n    uses: ./.github/workflows/publish_docker.yml\n    with:\n      tag_name: ${{ inputs.tag_name }}\n    permissions:\n      contents: read\n      packages: write", "state": "active", "repository": "physics-sec/ikabot"}
{"mined_at": "2024-07-15T16:53:15.893000", "created_at": "2024-02-11T21:15:04+01:00", "updated_at": "2024-02-11T21:15:04+01:00", "name": "Publish Python Package", "path": ".github/workflows/publish_pypi.yml", "contents": null, "state": "active", "repository": "physics-sec/ikabot"}
{"mined_at": "2024-07-15T16:53:17.151640", "created_at": "2024-02-11T21:15:04+01:00", "updated_at": "2024-02-11T21:15:04+01:00", "name": "Publish PyPI package Manually", "path": ".github/workflows/publish_pypi_manually.yml", "contents": null, "state": "active", "repository": "physics-sec/ikabot"}
{"mined_at": "2024-07-15T16:53:18.565438", "created_at": "2020-07-27T04:01:45+02:00", "updated_at": "2023-05-12T18:22:33+02:00", "name": "Publish Release", "path": ".github/workflows/release.yml", "contents": "name: Publish Release\npermissions: write-all\n\non:\n  workflow_dispatch:\n    inputs:\n      milestone:\n        description: 'The milestone to generate a release for (ex: 6.5.1)'\n        required: true\n        type: string\n\nenv:\n  # Needed for GitHub CLI\n  GH_TOKEN: ${{ github.token }}\n\ndefaults:\n  run:\n    shell: pwsh\n\njobs:\n  build_release_notes:\n    runs-on: ubuntu-latest\n    name: Generate Release Notes\n\n    steps:\n      - name: Get Contributors\n        id: get-contribs\n        uses: Keboo/GitHubHelper@master\n        with:\n          milestone: '${{ inputs.milestone }}'\n          repository: 'ikabot'\n          repository-owner: 'physics-sec'\n          token: ${{ github.token }}\n\n      - name: Generate Release Notes\n        run: |\n          $response = gh api --method POST -H \"Accept: application/vnd.github+json\" /repos/${{ github.repository }}/releases/generate-notes -f tag_name='v${{ inputs.milestone }}'\n          $json = $response | ConvertFrom-Json\n          $releaseNotes = $json.body\n          $contributors = \"${{ steps.get-contribs.outputs.contributors }}\"\n          $releaseNotes | Out-File -Append \"ReleaseNotes.md\"\n          \"`n\" | Out-File -Append \"ReleaseNotes.md\"\n          $contributors | Out-File -Append \"ReleaseNotes.md\"\n          cat \"ReleaseNotes.md\"\n\n      - name: Upload Release Notes\n        uses: actions/upload-artifact@v3\n        with:\n          name: ReleaseNotes\n          path: \"ReleaseNotes.md\"\n\n  update_version_number:\n    runs-on: ubuntu-latest\n    name: Update Version Number\n\n    steps:\n      - uses: actions/checkout@v3\n      \n      # Find and replace version\n      - name: Replace version value in setup.py\n        run: sed -i 's/version=\".\\+\",/version=\"\\\"${{ inputs.milestone }}\\\"\",/' setup.py\n\n      - name: Push changes\n        run: |\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git add setup.py\n          git commit -m \"Bump Ikabot version ${{ inputs.milestone }}\"\n          git push\n\n  build_artifacts:\n    needs: [update_version_number]\n    name: Build artifacts\n    uses: ./.github/workflows/build_artifacts.yml\n\n  create_release:\n    needs: [build_artifacts, build_release_notes]\n    runs-on: ubuntu-latest\n    name: Create Draft Release\n\n    steps:\n      - name: Download Pre-Compiled Ikabot Artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: PreCompiledIkabot\n          path: pre-compiled-ikabot\n\n      - name: Zip Ikabot\n        run: |\n          cd pre-compiled-ikabot\n          zip -r ../Ikabot.zip ikabot/*\n          cd ..\n\n      - name: Download Release Notes\n        uses: actions/download-artifact@v3\n        with:\n          name: ReleaseNotes\n\n      - name: Create Release\n        run: |\n          # We can't use glob pattern because of this bug https://github.com/cli/cli/issues/5099\n          gh release create v${{ inputs.milestone }} --repo '${{ github.repository }}' --draft --latest --title \"${{ inputs.milestone }}\" --notes-file ReleaseNotes.md '${{ github.workspace }}/Ikabot.zip'\n\n  publish_release:\n    needs: [create_release]\n    runs-on: ubuntu-latest\n    name: Publish Release\n\n    steps:\n      - name: Publish Release\n        run: |\n          gh release edit v${{ inputs.milestone }} --repo '${{ github.repository }}' --draft=false          \n\n  close_milestone:\n    needs: [publish_release]\n    runs-on: ubuntu-latest\n    name: Close Milestone\n\n    steps:\n      # Doing a checkout, until this issue is resolved.\n      # https://github.com/valeriobelli/gh-milestone/issues/15\n      - uses: actions/checkout@v3\n\n      - name: Close Milestone\n        run: |\n          gh extension install valeriobelli/gh-milestone\n          $milestones = $(gh milestone list --json number,title) | ConvertFrom-Json\n          $milestoneNumber = ($milestones | Where-Object { $_.title -eq \"${{ inputs.milestone }}\" }).number\n          gh milestone edit $milestoneNumber --state closed\n\n  publish_docker:\n    needs: [publish_release]\n    name: Publish Docker Image\n    uses: ./.github/workflows/publish_docker.yml\n    with:\n      tag_name: 'v${{ inputs.milestone }}'\n    permissions:\n      contents: read\n      packages: write", "state": "active", "repository": "physics-sec/ikabot"}
{"mined_at": "2024-07-15T16:53:19.877250", "created_at": "2024-02-13T18:10:06+01:00", "updated_at": "2024-02-13T18:15:56+01:00", "name": "Test and Run Ikabot", "path": ".github/workflows/test_and_run.yml", "contents": null, "state": "active", "repository": "physics-sec/ikabot"}
{"mined_at": "2024-07-15T16:53:21.221337", "created_at": "2024-02-13T18:30:06+01:00", "updated_at": "2024-02-13T18:36:05+01:00", "name": "Run API Tests manually", "path": ".github/workflows/test_api_manually.yml", "contents": null, "state": "active", "repository": "physics-sec/ikabot"}
{"mined_at": "2024-07-15T16:53:22.472563", "created_at": "2024-02-14T15:04:36+01:00", "updated_at": "2024-02-14T15:04:36+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "physics-sec/ikabot"}
{"mined_at": "2024-07-15T16:53:24.595722", "created_at": "2024-04-26T18:43:11+02:00", "updated_at": "2024-04-26T18:43:11+02:00", "name": "documentation", "path": ".github/workflows/documentation.yml", "contents": "# This workflow will install Python dependencies, produce the sphinx documentation, and publish it to GitHub pages\n\nname: documentation\n\non:\n  push:\n    branches:\n      - 'master'\n    tags:\n      - '*'\n\njobs:\n  documentation:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        python -m pip install \"pip<21.3\"\n        pip install .[develop]\n    - name: Build the docs\n      run: |\n        sphinx-apidoc -f -o docs/source pisa\n        cd docs && make html\n    - name: Deploy to gh pages\n      uses: peaceiris/actions-gh-pages@v3.9.2\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: docs/build/html\n", "state": "active", "repository": "icecube/pisa"}
{"mined_at": "2024-07-15T16:53:25.651045", "created_at": "2020-03-17T11:39:44+01:00", "updated_at": "2020-03-17T11:39:44+01:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.10']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install \"pip<21.3\"\n        pip install .\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test PISA example pipelines\n      run: |\n        pip install pytest\n        PISA_FTYPE=fp32 PISA_TARGET=cpu MPLBACKEND=agg ./pisa_tests/test_example_pipelines.py -v\n    - name: Test PISA imports and unit tests, double precision\n      run: |\n        pip install pytest\n        PISA_FTYPE=fp64 PISA_TARGET=cpu MPLBACKEND=agg ./pisa_tests/run_unit_tests.py -v\n    - name: Test PISA imports and unit tests, single precision\n      run: |\n        pip install pytest\n        PISA_FTYPE=fp32 PISA_TARGET=cpu MPLBACKEND=agg ./pisa_tests/run_unit_tests.py -v\n", "state": "active", "repository": "icecube/pisa"}
{"mined_at": "2024-07-15T16:53:26.671001", "created_at": "2024-04-26T12:20:29+02:00", "updated_at": "2024-04-26T12:20:29+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "icecube/pisa"}
{"mined_at": "2024-07-15T16:53:28.842601", "created_at": "2021-10-31T14:24:01+01:00", "updated_at": "2022-12-09T22:59:04+01:00", "name": "Docker Image", "path": ".github/workflows/build-and-publish.yml", "contents": "---\nname: 'Docker Image'\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - 'dev'\n      - 'master'\n    tags:\n      - 'v*.*.*'\n    paths-ignore:\n      - .github/**\n      - deploy/**\n      - docker-test/**\n      - docs/**\n      - .dockerignore\n      - .gitattributes\n      - .gitignore\n      - .lgtm.yml\n      - .whitesource\n      - .yarnrc\n      - docker-compose.yml\n      - docker-compose-test.yml\n      - LICENSE\n      - README.md\n      - SECURITY.md\n\njobs:\n  build-and-push-docker-image:\n    name: Build Docker Image\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Repository Checkout\n        uses: actions/checkout@v2\n\n      - name: Docker Image Metadata\n        id: meta\n        uses: docker/metadata-action@v3\n        with:\n          images: |\n            powerdnsadmin/pda-legacy\n          tags: |\n            type=ref,event=tag\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{major}}\n\n      - name: QEMU Setup\n        uses: docker/setup-qemu-action@v2\n\n      - name: Docker Buildx Setup\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Docker Hub Authentication\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME_V2 }}\n          password: ${{ secrets.DOCKERHUB_TOKEN_V2 }}\n\n      - name: Docker Image Build\n        uses: docker/build-push-action@v4\n        with:\n          platforms: linux/amd64,linux/arm64\n          context: ./\n          file: ./docker/Dockerfile\n          push: true\n          tags: powerdnsadmin/pda-legacy:${{ github.ref_name }}\n\n      - name: Docker Image Release Tagging\n        uses: docker/build-push-action@v4\n        if: ${{ startsWith(github.ref, 'refs/tags/v') }}\n        with:\n          platforms: linux/amd64,linux/arm64\n          context: ./\n          file: ./docker/Dockerfile\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "powerdns-admin/powerdns-admin"}
{"mined_at": "2024-07-15T16:53:29.901034", "created_at": "2022-05-21T10:26:28+02:00", "updated_at": "2022-05-21T10:26:42+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "---\n# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - 'dev'\n      - 'main'\n      - 'master'\n      - 'dependabot/**'\n      - 'feature/**'\n      - 'issue/**'\n    paths-ignore:\n      - .github/**\n      - deploy/**\n      - docker/**\n      - docker-test/**\n      - docs/**\n      - powerdnsadmin/static/assets/**\n      - powerdnsadmin/static/custom/css/**\n      - powerdnsadmin/static/img/**\n      - powerdnsadmin/swagger-spec.yaml\n      - .dockerignore\n      - .gitattributes\n      - .gitignore\n      - .lgtm.yml\n      - .whitesource\n      - .yarnrc\n      - docker-compose.yml\n      - docker-compose-test.yml\n      - LICENSE\n      - package.json\n      - README.md\n      - requirements.txt\n      - SECURITY.md\n      - yarn.lock\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches:\n      - 'dev'\n      - 'main'\n      - 'master'\n      - 'dependabot/**'\n      - 'feature/**'\n      - 'issue/**'\n    paths-ignore:\n      - .github/**\n      - deploy/**\n      - docker/**\n      - docker-test/**\n      - docs/**\n      - powerdnsadmin/static/assets/**\n      - powerdnsadmin/static/custom/css/**\n      - powerdnsadmin/static/img/**\n      - powerdnsadmin/swagger-spec.yaml\n      - .dockerignore\n      - .gitattributes\n      - .gitignore\n      - .lgtm.yml\n      - .whitesource\n      - .yarnrc\n      - docker-compose.yml\n      - docker-compose-test.yml\n      - LICENSE\n      - package.json\n      - README.md\n      - requirements.txt\n      - SECURITY.md\n      - yarn.lock\n  schedule:\n    - cron: '45 2 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "powerdns-admin/powerdns-admin"}
{"mined_at": "2024-07-15T16:53:31.068398", "created_at": "2023-03-17T22:22:54+01:00", "updated_at": "2023-03-17T22:22:54+01:00", "name": "Lock threads", "path": ".github/workflows/lock.yml", "contents": "---\n# lock-threads (https://github.com/marketplace/actions/lock-threads)\nname: 'Lock threads'\n\non:\n  schedule:\n    - cron: '0 3 * * *'\n  workflow_dispatch:\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v3\n        with:\n          issue-inactive-days: 90\n          pr-inactive-days: 30\n          issue-lock-reason: 'resolved'\n          exclude-any-issue-labels: 'bug / security-vulnerability, mod / announcement, mod / accepted, mod / reviewing, mod / testing'\n          exclude-any-pr-labels: 'bug / security-vulnerability, mod / announcement, mod / accepted, mod / reviewing, mod / testing'", "state": "active", "repository": "powerdns-admin/powerdns-admin"}
{"mined_at": "2024-07-15T16:53:32.274576", "created_at": "2023-02-21T16:15:37+01:00", "updated_at": "2023-02-21T16:15:37+01:00", "name": "MegaLinter", "path": ".github/workflows/mega-linter.yml", "contents": "---\n# MegaLinter GitHub Action configuration file\n# More info at https://megalinter.io\nname: MegaLinter\n\non:\n  workflow_dispatch:\n  push:\n    branches-ignore:\n      - \"*\"\n      - \"dev\"\n      - \"main\"\n      - \"master\"\n      - \"dependabot/**\"\n      - \"feature/**\"\n      - \"issues/**\"\n      - \"release/**\"\n\nenv: # Comment env block if you do not want to apply fixes\n  # Apply linter fixes configuration\n  APPLY_FIXES: all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool)\n  APPLY_FIXES_EVENT: all # Decide which event triggers application of fixes in a commit or a PR (pull_request, push, all)\n  APPLY_FIXES_MODE: pull_request # If APPLY_FIXES is used, defines if the fixes are directly committed (commit) or posted in a PR (pull_request)\n\nconcurrency:\n  group: ${{ github.ref }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: MegaLinter\n    runs-on: ubuntu-latest\n    steps:\n      # Git Checkout\n      - name: Checkout Code\n        uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}\n\n      # MegaLinter\n      - name: MegaLinter\n        id: ml\n        # You can override MegaLinter flavor used to have faster performances\n        # More info at https://megalinter.io/flavors/\n        uses: oxsecurity/megalinter@v6\n        env:\n          # All available variables are described in documentation\n          # https://megalinter.io/configuration/\n          VALIDATE_ALL_CODEBASE: true # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PAT: ${{ secrets.PAT }}\n          # ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY\n          # DISABLE: COPYPASTE,SPELL # Uncomment to disable copy-paste and spell checks\n\n      # Upload MegaLinter artifacts\n      - name: Archive production artifacts\n        if: ${{ success() }} || ${{ failure() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: MegaLinter reports\n          path: |\n            megalinter-reports\n            mega-linter.log\n\n      # Create pull request if applicable (for now works only on PR from same repository, not from forks)\n      - name: Create PR with applied fixes\n        id: cpr\n        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)\n        uses: peter-evans/create-pull-request@v4\n        with:\n          token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}\n          commit-message: \"[MegaLinter] Apply linters automatic fixes\"\n          title: \"[MegaLinter] Apply linters automatic fixes\"\n          labels: bot\n\n      - name: Create PR output\n        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)\n        run: |\n          echo \"Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}\"\n          echo \"Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}\"\n\n      # Push new commit if applicable (for now works only on PR from same repository, not from forks)\n      - name: Prepare commit\n        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)\n        run: sudo chown -Rc $UID .git/\n      - name: Commit and push applied linter fixes\n        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)\n        uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}\n          commit_message: \"[MegaLinter] Apply linters fixes\"\n\n", "state": "active", "repository": "powerdns-admin/powerdns-admin"}
{"mined_at": "2024-07-15T16:53:33.378801", "created_at": "2023-03-17T22:22:55+01:00", "updated_at": "2023-03-18T13:48:47+01:00", "name": "Close Stale Threads", "path": ".github/workflows/stale.yml", "contents": "# close-stale-issues (https://github.com/marketplace/actions/close-stale-issues)\nname: 'Close Stale Threads'\n\non:\n  schedule:\n    - cron: '0 4 * * *'\n  workflow_dispatch:\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v6\n        with:\n          close-issue-message: >\n            This issue has been automatically closed due to lack of activity. In an\n            effort to reduce noise, please do not comment any further. Note that the\n            core maintainers may elect to reopen this issue at a later date if deemed\n            necessary.\n          close-pr-message: >\n            This PR has been automatically closed due to lack of activity.\n          days-before-stale: 90\n          days-before-close: 30\n          exempt-issue-labels: 'bug / security-vulnerability, mod / announcement, mod / accepted, mod / reviewing, mod / testing'\n          operations-per-run: 100\n          remove-stale-when-updated: false\n          stale-issue-label: 'mod / stale'\n          stale-issue-message: >\n            This issue has been automatically marked as stale because it has not had\n            recent activity. It will be closed if no further activity occurs. PDA\n            is governed by a small group of core maintainers which means not all opened\n            issues may receive direct feedback. **Do not** attempt to circumvent this\n            process by \"bumping\" the issue; doing so will result in its immediate closure\n            and you may be barred from participating in any future discussions. Please see our\n            [Contribution Guide](https://github.com/PowerDNS-Admin/PowerDNS-Admin/blob/master/docs/CONTRIBUTING.md).\n          stale-pr-label: 'mod / stale'\n          stale-pr-message: >\n            This PR has been automatically marked as stale because it has not had\n            recent activity. It will be closed automatically if no further action is\n            taken. Please see our\n            [Contribution Guide](https://github.com/PowerDNS-Admin/PowerDNS-Admin/blob/master/docs/CONTRIBUTING.md).", "state": "active", "repository": "powerdns-admin/powerdns-admin"}
{"mined_at": "2024-07-15T16:53:35.506257", "created_at": "2021-11-06T17:30:25+01:00", "updated_at": "2021-12-01T09:45:59+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Run black, flake8 and isort\n        uses: pre-commit/action@v3.0.1\n\n      - name: Validate citation file\n        shell: bash\n        run: |\n          python -m pip install cffconvert\n          cffconvert --validate\n          cffconvert -f bibtex\n          cffconvert -f apalike\n", "state": "active", "repository": "shapely/shapely"}
{"mined_at": "2024-07-15T16:53:36.511976", "created_at": "2021-11-06T17:30:25+01:00", "updated_at": "2024-02-12T12:11:54+01:00", "name": "Build and publish", "path": ".github/workflows/release.yml", "contents": "name: Build and publish\n\non:\n  push:\n    branches:\n      - main  # just build the sdist & wheel, skip release\n    tags:\n      - \"*\"\n  pull_request:  # also build on PRs touching this file\n    paths:\n      - \".github/workflows/release.yml\"\n      - \"ci/*\"\n      - \"MANIFEST.in\"\n      - \"pyproject.toml\"\n      - \"setup.py\"\n  schedule:\n    # in addition run weekly for nightly upload in case no other commits happened\n    - cron: '34 2 * * 0'\n\njobs:\n  build_sdist:\n    name: Build sdist\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Build a source tarball\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install build twine\n          python -m build --sdist\n          twine check --strict dist/*\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: release-sdist\n          path: ./dist/*.tar.gz\n          retention-days: 30\n\n  build_wheels:\n    name: Build ${{ matrix.arch }} wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    env:\n      GEOS_VERSION: \"3.12.1\"\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - os: ubuntu-20.04\n          arch: x86_64\n        # Numpy no longer builds i686 packages\n        # - os: ubuntu-20.04\n        #   arch: i686\n        # The aarch64 build has been transferred to Travis\n        # - os: ubuntu-20.04\n        #   arch: aarch64\n        #   qemu_platform: arm64\n        # Note: Numpy doesn't have ppc64le & s390x wheels\n        # Also, some GEOS tests fail on s390x.\n        - os: windows-2019\n          arch: x86\n          msvc_arch: x86\n        - os: windows-2019\n          arch: AMD64\n          msvc_arch: x64\n        - os: macos-11\n          arch: x86_64\n          cmake_osx_architectures: x86_64\n        - os: macos-14\n          arch: arm64\n          cmake_osx_architectures: arm64\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Cache GEOS build\n        uses: actions/cache@v4\n        with:\n          path: ${{ runner.temp }}/geos-${{ env.GEOS_VERSION }}\n          key: ${{ matrix.os }}-${{ matrix.arch }}-${{ env.GEOS_VERSION }}-${{ hashFiles('ci/*') }}\n\n      - name: Add GEOS LICENSE\n        run: |\n          cp ci/wheelbuilder/LICENSE_GEOS .\n        shell: bash\n\n      - name: Add MSVC LICENSE\n        run: |\n          cp ci/wheelbuilder/LICENSE_win32 .\n        shell: bash\n        if: ${{ matrix.os == 'windows-2019' }}\n\n      # - name: Set up QEMU\n      #   uses: docker/setup-qemu-action@v1\n      #   with:\n      #     platforms: ${{ matrix.qemu_platform }}\n      #   if: ${{ matrix.qemu_platform }}\n\n      - name: Activate MSVC\n        uses: ilammy/msvc-dev-cmd@v1\n        with:\n          arch: ${{ matrix.msvc_arch }}\n        if: ${{ matrix.msvc_arch }}\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_ARCHS: ${{ matrix.arch }}\n          CIBW_SKIP: cp36-* pp* *musllinux* *-manylinux_i686\n          CIBW_TEST_SKIP: \"cp38-macosx_arm64\"\n          CIBW_ENVIRONMENT_LINUX:\n            GEOS_VERSION=${{ env.GEOS_VERSION }}\n            GEOS_INSTALL=/host${{ runner.temp }}/geos-${{ env.GEOS_VERSION }}\n            GEOS_CONFIG=/host${{ runner.temp }}/geos-${{ env.GEOS_VERSION }}/bin/geos-config\n            LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/host${{ runner.temp }}/geos-${{ env.GEOS_VERSION }}/lib\n          CIBW_ENVIRONMENT_MACOS:\n            GEOS_INSTALL=${{ runner.temp }}/geos-${{ env.GEOS_VERSION }}\n            GEOS_CONFIG=${{ runner.temp }}/geos-${{ env.GEOS_VERSION }}/bin/geos-config\n            MACOSX_DEPLOYMENT_TARGET=10.9\n            CMAKE_OSX_ARCHITECTURES='${{ matrix.cmake_osx_architectures }}'\n          CIBW_ENVIRONMENT_WINDOWS:\n            GEOS_INSTALL='${{ runner.temp }}\\geos-${{ env.GEOS_VERSION }}'\n            GEOS_LIBRARY_PATH='${{ runner.temp }}\\geos-${{ env.GEOS_VERSION }}\\lib'\n            GEOS_INCLUDE_PATH='${{ runner.temp }}\\geos-${{ env.GEOS_VERSION }}\\include'\n          CIBW_BEFORE_ALL: ./ci/install_geos.sh\n          CIBW_BEFORE_ALL_WINDOWS: ci\\install_geos.cmd\n          # TEMP don't use automated/isolated build environment, but manually\n          # install build dependencies so we can build with numpy 2.0\n          # once numpy 2.0 is out, this can be removed again\n          CIBW_BUILD_FRONTEND: \"pip; args: --no-build-isolation\"\n          CIBW_BEFORE_BUILD: pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy setuptools cython wheel\n          CIBW_BEFORE_BUILD_WINDOWS:\n            pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy setuptools cython wheel\n            pip install delvewheel\n          CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: delvewheel repair --add-path ${{ runner.temp }}\\geos-${{ env.GEOS_VERSION }}\\bin -w {dest_dir} {wheel}\n          CIBW_TEST_REQUIRES: pytest\n          CIBW_TEST_COMMAND: pytest --pyargs shapely.tests\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: release-${{ matrix.os }}-${{ matrix.arch }}\n          path: ./wheelhouse/*.whl\n          retention-days: 5\n\n  nightly_upload:\n    name: Upload nightly wheels\n    needs: [build_wheels]\n    runs-on: ubuntu-latest\n    if: github.repository == 'shapely/shapely' && github.ref == 'refs/heads/main'\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: release-*\n          merge-multiple: true\n          path: dist\n      - name: Upload wheels to Anaconda Cloud\n        uses: scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # 0.5.0\n        with:\n          artifacts_path: dist\n          anaconda_nightly_upload_token: ${{secrets.ANACONDA_ORG_UPLOAD_TOKEN}}\n\n  publish:\n    name: Publish on GitHub and PyPI\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    # release on every tag\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: release-*\n          merge-multiple: true\n          path: dist\n\n      - name: Create GitHub Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: ${{ github.ref }}\n          draft: false\n          prerelease: false\n\n      - name: Get Asset name\n        run: |\n          export PKG=$(ls dist/ | grep tar)\n          set -- $PKG\n          echo \"name=$1\" >> $GITHUB_ENV\n\n      - name: Upload Release Asset (sdist) to GitHub\n        id: upload-release-asset\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_path: dist/${{ env.name }}\n          asset_name: ${{ env.name }}\n          asset_content_type: application/zip\n\n      - name: Upload Release Assets to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n          skip_existing: true\n          # To test: repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "shapely/shapely"}
{"mined_at": "2024-07-15T16:53:37.591656", "created_at": "2021-01-29T17:19:57+01:00", "updated_at": "2023-09-26T17:37:38+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    name: ${{ matrix.os }}-${{ matrix.architecture }} Py${{ matrix.python }} GEOS ${{ matrix.geos }}\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-13, windows-2019]\n        architecture: [x64]\n        geos: [3.8.4, 3.9.5, 3.10.6, 3.11.3, 3.12.1, main]\n        include:\n          # 2019\n          - python: 3.8\n            geos: 3.8.4\n            numpy: 1.17.3\n          # 2020\n          - python: 3.9\n            geos: 3.9.5\n            numpy: 1.19.5\n          # 2021\n          - python: \"3.10\"\n            geos: 3.10.6\n            numpy: 1.21.3\n          # 2022\n          - python: \"3.11\"\n            geos: 3.11.3\n            numpy: 1.23.4\n          # 2023\n          - python: \"3.12\"\n            geos: 3.12.1\n            numpy: 1.26.2\n            matplotlib: true\n            doctest: true\n            # extra ignore for dateutil Python 3.12 warning fixed upstream (waiting on release 2.8.3+)\n            extra_pytest_args: \"-W error -W ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning\" # error on warnings\n          # dev\n          - python: \"3.12\"\n            geos: main\n            # extra ignore for dateutil Python 3.12 warning fixed upstream (waiting on release 2.8.3+)\n            extra_pytest_args: \"-W error -W ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning\" # error on warnings\n          # enable two 32-bit windows builds:\n          - os: windows-2019\n            architecture: x86\n            python: 3.8\n            geos: 3.8.4\n            numpy: 1.16.2\n          - os: windows-2019\n            architecture: x86\n            python: \"3.11\"\n            geos: 3.12.1\n            numpy: 1.24.4\n          # pypy (use explicit ubuntu version to not overwrite existing ubuntu-latest + geos 3.11.0 build)\n          - os: ubuntu-22.04\n            python: \"pypy3.8\"\n            geos: 3.12.1\n            numpy: 1.24.4\n\n    env:\n      GEOS_VERSION: ${{ matrix.geos }}\n      GEOS_VERSION_SPEC: ${{ matrix.geos }}\n      GEOS_INSTALL: ${{ github.workspace }}/geosinstall/geos-${{ matrix.geos }}\n      GEOS_BUILD: ${{ github.workspace }}/geosbuild\n\n    steps:\n      - name: Correct slashes in GEOS_INSTALL (Windows)\n        run: |\n          echo 'GEOS_INSTALL=${{ github.workspace }}\\geosinstall\\geos-${{ matrix.geos }}' >> $GITHUB_ENV\n          echo 'GEOS_BUILD=${{ github.workspace }}\\geosbuild' >> $GITHUB_ENV\n        if: ${{ matrix.os == 'windows-2019' }}\n\n      - name: Checkout Shapely\n        uses: actions/checkout@v4\n\n      - name: Checkout GEOS (main)\n        uses: actions/checkout@v4\n        with:\n          repository: libgeos/geos\n          ref: main\n          path: ${{ env.GEOS_BUILD }}\n        if: ${{ matrix.geos == 'main' }}\n\n      - name: Put the latest commit hash in the cache token for GEOS main\n        run: |\n          echo \"GEOS_VERSION_SPEC=$(git rev-parse HEAD)\" >> $GITHUB_ENV\n        working-directory: ${{ env.GEOS_BUILD }}\n        if: ${{ matrix.geos == 'main' }}\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: ${{ matrix.architecture }}\n          allow-prereleases: true\n\n      - name: Cache GEOS and pip packages\n        uses: actions/cache@v4\n        with:\n          key: ${{ matrix.os }}-${{ matrix.architecture }}-geos-${{ env.GEOS_VERSION_SPEC }}-${{ hashFiles('ci/install_geos.sh') }}\n          path: |\n            ~/.cache/pip\n            ${{ github.workspace }}/geosinstall\n\n      - name: Activate MSVC\n        uses: ilammy/msvc-dev-cmd@v1\n        with:\n          arch: ${{ matrix.architecture }}\n        if: ${{ matrix.os == 'windows-2019' }}\n\n      - name: Install GEOS\n        run: |\n          bash ci/install_geos.sh\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --disable-pip-version-check --upgrade pip\n          pip install --upgrade wheel setuptools\n          if [ -z \"${{ matrix.numpy }}\" ]; then\n            pip install --upgrade --pre Cython pytest pytest-cov coveralls;\n            pip install --upgrade --pre --only-binary :all: -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy\n          else\n            pip install --upgrade Cython numpy==${{ matrix.numpy }} pytest pytest-cov coveralls;\n          fi\n          if [ -n \"${{ matrix.matplotlib }}\" ]; then\n            pip install matplotlib\n          fi\n          if [ -n \"${{ matrix.doctest }}\" ]; then\n            pip install pyproj\n          fi\n          pip list\n\n      - name: Set environment variables (Linux)\n        run: |\n          echo \"${{ env.GEOS_INSTALL }}/bin\" >> $GITHUB_PATH\n          echo \"LD_LIBRARY_PATH=${{ env.GEOS_INSTALL }}/lib\" >> $GITHUB_ENV\n        if: ${{ startsWith(matrix.os, 'ubuntu') }}\n\n      - name: Set environment variables (OSX)\n        run: |\n          echo \"${{ env.GEOS_INSTALL }}/bin\" >> $GITHUB_PATH\n          echo \"LDFLAGS=-Wl,-rpath,${{ env.GEOS_INSTALL }}/lib\" >> $GITHUB_ENV\n        if: ${{ matrix.os == 'macos-13' }}\n\n      # Windows requires special treatment:\n      # - geos-config does not exist, so we specify include and library paths\n      # - Python >=3.8 ignores the PATH for finding DLLs, so we copy them into the package\n      - name: Set environment variables + copy DLLs (Windows)\n        run: |\n          cp geosinstall/geos-${{ matrix.geos }}/bin/*.dll shapely\n          echo 'GEOS_LIBRARY_PATH=${{ env.GEOS_INSTALL }}\\lib' >> $GITHUB_ENV\n          echo 'GEOS_INCLUDE_PATH=${{ env.GEOS_INSTALL }}\\include' >> $GITHUB_ENV\n        if: ${{ matrix.os == 'windows-2019' }}\n\n      - name: Build and install Shapely\n        # for the numpy nightly build, we temporarily need to build without\n        # the standard build isolation based on build-system.requires, to\n        # ensure we build against numpy nightly (numpy 2.0 compat)\n        run: |\n          if [ -z \"${{ matrix.numpy }}\" ]; then\n            pip install -e . --no-build-isolation\n          else\n            pip install -e .\n          fi\n\n      - name: Overview of the Python environment (pip list)\n        run: pip list\n\n      - name: Run tests\n        # Enable this if we have failures on GEOS main\n        # continue-on-error: ${{ matrix.geos == 'main' }}\n        run: |\n          python -c \"import shapely; print(f'GEOS version: {shapely.geos_version_string}')\"\n          pytest shapely/tests -r a --cov --cov-report term-missing ${{ matrix.extra_pytest_args }}\n\n      # Only run doctests on 1 runner (because of typographic differences in doctest results)\n      - name: Run doctests\n        if: ${{ matrix.os == 'ubuntu-latest' && matrix.doctest }}\n        run: |\n          python -m pytest --doctest-modules docs/manual.rst\n\n      - name: Run doctests (part 2)\n        if: ${{ matrix.os == 'ubuntu-latest' && matrix.doctest }}\n        run: |\n          pytest --doctest-modules shapely --ignore=shapely/tests\n\n      - name: Upload coverage\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_PARALLEL: true\n        shell: bash\n        run: |\n          coveralls --service=github || echo \"!! intermittent coveralls failure\"\n\n  coveralls:\n    name: Indicate completion to coveralls.io\n    needs: test\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n      - name: Finished\n        run: |\n          pip3 install --upgrade coveralls\n          coveralls --finish || echo \"!! intermittent coveralls failure\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "shapely/shapely"}
{"mined_at": "2024-07-15T16:53:40.862108", "created_at": "2021-10-30T15:12:12+02:00", "updated_at": "2021-11-08T21:13:30+01:00", "name": "Build documentation", "path": ".github/workflows/build_documentation.yml", "contents": "name: Build documentation\n\non:\n  pull_request:\n    branches:\n      - master\n  push:\n    branches:\n      - master\n\njobs:\n  build-matrix:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Generate version matrix\n        id: build-matrix\n        run: echo \"versions=['stable', 'latest']\" >> \"$GITHUB_OUTPUT\"\n    outputs:\n      versions: ${{ steps.build-matrix.outputs.versions }}\n\n  docs:\n    runs-on: ubuntu-20.04\n    needs: build-matrix\n    strategy:\n      # Make sure we never build docs in parallel in case we deploy new\n      # versions to avoid potential race conditions while pushing to gh pages.\n      max-parallel: 1\n      matrix:\n        version: ${{ fromJSON(needs.build-matrix.outputs.versions) }}\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Set up python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n      - name: Clone repository\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Checkout target\n        id: checkout\n        run: |\n          if ${{ matrix.version == 'latest' }}; then\n            sha=$(git rev-parse --short ${{ github.sha }})\n            git checkout ${{ github.sha }}\n          elif ${{ matrix.version == 'stable' }}; then\n            tag=$(git tag | sort -V | tail -1)\n            git checkout tags/$tag\n          else\n            git checkout ${{ matrix.version }}\n          fi\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y pandoc\n          pip install -e \".[all,ci,docs]\"\n\n      - name: Run doctests\n        run: sphinx-build -b doctest docs $(mktemp -d)\n\n      - name: Build docs\n        run: |\n          sphinx-build \\\n            -b html \\\n            -D doc_version=\"${{ matrix.version }}\" \\\n            -D doc_versions=\"${{ join(fromJSON(needs.build-matrix.outputs.versions)) }}\" \\\n            docs \\\n            website/docs/${{ matrix.version }}\n\n      - name: Publish documentation\n        if: ${{ github.ref == 'refs/heads/master' }}\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}\n          external_repository: pymanopt/pymanopt.github.io\n          publish_branch: main\n          publish_dir: website/docs/${{ matrix.version }}\n          destination_dir: docs/${{ matrix.version }}\n          user_name: 'github-actions[bot]'\n          user_email: 'github-actions[bot]@users.noreply.github.com'\n          commit_message: ${{ github.event.head_commit.message }}\n", "state": "active", "repository": "pymanopt/pymanopt"}
{"mined_at": "2024-07-15T16:53:42.191670", "created_at": "2021-10-30T15:12:12+02:00", "updated_at": "2021-11-08T21:13:30+01:00", "name": "Build release version", "path": ".github/workflows/build_release_package.yml", "contents": "name: Build release version\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - '*.*.*'\n  pull_request:\n    branches:\n      - master\n\njobs:\n  deploy:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Install dependencies\n        run: pip install -e \".[ci]\"\n\n      - name: Build release artifacts\n        run: python -m build\n\n      - name: Verify tag name\n        uses: nowsprinting/check-version-format-action@v3\n        id: tag\n\n      - name: Publish tag to pypi\n        if: >\n          startsWith(github.ref, 'refs/tags/') &&\n          steps.tag.outputs.is_valid == 'true'\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "pymanopt/pymanopt"}
{"mined_at": "2024-07-15T16:53:43.523366", "created_at": "2022-11-10T15:40:59+01:00", "updated_at": "2023-01-01T15:13:42+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"4 15 * * 4\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "pymanopt/pymanopt"}
{"mined_at": "2024-07-15T16:53:44.615718", "created_at": "2022-08-07T08:37:56+02:00", "updated_at": "2023-01-01T21:17:30+01:00", "name": "Run linting", "path": ".github/workflows/run_linting.yml", "contents": "name: Run linting\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  linting:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Install dependencies\n        run: pip install -e \".[dev,ci]\"\n\n      - name: Run linting\n        run: |\n          isort --check .\n          black --check .\n          flake8\n", "state": "active", "repository": "pymanopt/pymanopt"}
{"mined_at": "2024-07-15T16:53:45.627298", "created_at": "2021-10-30T15:12:12+02:00", "updated_at": "2023-01-01T15:21:36+01:00", "name": "Run test suite", "path": ".github/workflows/run_tests.yml", "contents": "name: Run test suite\n\non:\n  pull_request:\n    branches:\n      - master\n  push:\n\njobs:\n  tests:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          - \"3.x\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Install dependencies\n        run: pip install -e \".[all,ci]\"\n\n      - name: Run tests\n        run: |\n          pytest -v --cov-report= --cov=src/pymanopt tests/\n          coverage lcov -o coverage/lcov.info\n\n      - name: Collect coverage\n        uses: coverallsapp/github-action@master\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          flag-name: ${{ matrix.python-version }}\n          parallel: true\n\n  finish:\n    needs: tests\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Upload coverage\n        uses: coverallsapp/github-action@master\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          parallel-finished: true\n", "state": "active", "repository": "pymanopt/pymanopt"}
{"mined_at": "2024-07-15T16:53:47.758445", "created_at": "2021-05-11T23:05:52+02:00", "updated_at": "2021-05-11T23:05:52+02:00", "name": "Build and publish to Docker Hub", "path": ".github/workflows/on_release.yml", "contents": "name: Build and publish to Docker Hub\non:\n  release:\n    # job will automatically run after a new \"release\" is create on github.\n    types: [created]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n        dry_run:\n          description: 'If true, will not push the built images to docker hub.'\n          required: false\n          default: 'false'\n\njobs:\n  # this job will build, test and (potentially) push the docker images to docker hub\n  #\n  # BUILD PHASE:\n  # - will auto tag the image according to the release tag / `git describe`.\n  #\n  # TEST PHASE:\n  # - will run an e2e test with a modified docker compose.\n  # - queries OPA data to check its state matches an expected value.\n  # - state will match only if OPAL client successfully synced to OPAL server.\n  # - outputs the docker compose logs to more easily investigate errors.\n  #\n  # PUSH PHASE:\n  # - Runs only if test phase completes with no errors.\n  # - Pushes images (built at BUILD PHASE) to docker hub.\n  docker_build_and_publish:\n    runs-on: ubuntu-latest\n    steps:\n      # BUILD PHASE\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to DockerHub\n        if: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.dry_run == 'true') }}\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Get version tag from github release\n        if: github.event_name == 'release' && github.event.action == 'created'\n        run: |\n          echo \"opal_version_tag=${{ github.event.release.tag_name }}\" >> $GITHUB_ENV\n\n      - name: Get version tag from git history\n        if: ${{ !(github.event_name == 'release' && github.event.action == 'created') }}\n        run: |\n          echo \"opal_version_tag=$(git describe --tags --abbrev=0)\" >> $GITHUB_ENV\n\n      - name: Echo version tag\n        run: |\n          echo \"The version tag that will be published to docker hub is: ${{ env.opal_version_tag }}\"\n\n      - name: Build client for testing\n        id: build_client\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/Dockerfile\n          push: false\n          target: client\n          cache-from: type=registry,ref=permitio/opal-client:latest\n          cache-to: type=inline\n          load: true\n          tags: |\n            permitio/opal-client:test\n\n      - name: Build client-standalone for testing\n        id: build_client_standalone\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/Dockerfile\n          push: false\n          target: client-standalone\n          cache-from: type=registry,ref=permitio/opal-client-standalone:latest\n          cache-to: type=inline\n          load: true\n          tags: |\n            permitio/opal-client-standalone:test\n\n      - name: Build server for testing\n        id: build_server\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/Dockerfile\n          push: false\n          target: server\n          cache-from: type=registry,ref=permitio/opal-server:latest\n          cache-to: type=inline\n          load: true\n          tags: |\n            permitio/opal-server:test\n\n      # TEST PHASE\n      - name: Create modified docker compose file\n        run: sed 's/:latest/:test/g' docker/docker-compose-example.yml > docker/docker-compose-test.yml\n\n      - name: Bring up stack\n        run: docker-compose -f docker/docker-compose-test.yml up -d\n\n      - name: Check if OPA is healthy\n        run: ./scripts/wait-for.sh -t 60 http://localhost:8181/v1/data/users -- sleep 10 && curl -s \"http://localhost:8181/v1/data/users\" | jq '.result.bob.location.country == \"US\"'\n\n      - name: Output container logs\n        run: docker-compose -f docker/docker-compose-test.yml logs\n\n      # PUSH PHASE\n      - name: Output local docker images\n        run: docker image ls --digests | grep opal\n\n      # pushes the *same* docker images that were previously tested as part of e2e sanity test.\n      # each image is pushed with the versioned tag first, if it succeeds the image is pushed with the latest tag as well.\n      - name: Build & Push client\n        if: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.dry_run == 'true') }}\n        id: build_push_client\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          target: client\n          cache-from: type=registry,ref=permitio/opal-client:latest\n          cache-to: type=inline\n          tags: |\n            permitio/opal-client:latest\n            permitio/opal-client:${{ env.opal_version_tag }}\n\n      - name: Build client-standalone\n        if: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.dry_run == 'true') }}\n        id: build_push_client_standalone\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          target: client-standalone\n          cache-from: type=registry,ref=permitio/opal-client-standalone:latest\n          cache-to: type=inline\n          tags: |\n            permitio/opal-client-standalone:latest\n            permitio/opal-client-standalone:${{ env.opal_version_tag }}\n\n      - name: Build server\n        if: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.dry_run == 'true') }}\n        id: build_push_server\n        uses: docker/build-push-action@v4\n        with:\n          file: docker/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          target: server\n          cache-from: type=registry,ref=permitio/opal-server:latest\n          cache-to: type=inline\n          tags: |\n            permitio/opal-server:latest\n            permitio/opal-server:${{ env.opal_version_tag }}\n", "state": "active", "repository": "permitio/opal"}
{"mined_at": "2024-07-15T16:53:48.788028", "created_at": "2022-06-08T12:36:24+02:00", "updated_at": "2022-06-08T16:51:27+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [master, main]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: 3.x\n    - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "permitio/opal"}
{"mined_at": "2024-07-15T16:53:49.851322", "created_at": "2021-03-14T13:18:09+01:00", "updated_at": "2021-03-14T13:18:09+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  build:\n    services:\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        if [ -f ./tests/requirements.txt ]; then pip install -r ./tests/requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pytest\n\n  test-docker:\n    runs-on: ubuntu-latest\n    steps:\n      # BUILD PHASE\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Build client\n        id: build_client\n        uses: docker/build-push-action@v2\n        with:\n          file: docker/Dockerfile\n          push: false\n          target: client\n          cache-from: type=registry,ref=permitio/opal-client:latest\n          cache-to: type=inline\n          load: true\n          tags: |\n            permitio/opal-client:test\n\n      - name: Build server\n        id: build_server\n        uses: docker/build-push-action@v2\n        with:\n          file: docker/Dockerfile\n          push: false\n          target: server\n          cache-from: type=registry,ref=permitio/opal-server:latest\n          cache-to: type=inline\n          load: true\n          tags: |\n            permitio/opal-server:test\n\n      # TEST PHASE\n      - name: Create modified docker compose file\n        run: sed 's/:latest/:test/g' docker/docker-compose-with-callbacks.yml > docker/docker-compose-test.yml\n\n      - name: Bring up stack\n        run: docker-compose -f docker/docker-compose-test.yml up -d\n\n      - name: Check if OPA is healthy\n        run: ./scripts/wait-for.sh -t 2 http://localhost:8181/v1/data/users -- sleep 10 && curl -s \"http://localhost:8181/v1/data/users\" | jq '.result.bob.location.country == \"US\"'\n\n      - name: Output container logs\n        run: docker-compose -f docker/docker-compose-test.yml logs\n\n      - name: check if opal-client was brought up\n        run: |\n          docker-compose -f docker/docker-compose-test.yml logs opal_client | grep \"Connected to PubSub server\"\n          docker-compose -f docker/docker-compose-test.yml logs opal_client | grep \"Got policy bundle\"\n", "state": "active", "repository": "permitio/opal"}
{"mined_at": "2024-07-15T16:53:50.911760", "created_at": "2021-12-28T14:38:02+01:00", "updated_at": "2021-12-28T14:38:02+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "permitio/opal"}
{"mined_at": "2024-07-15T16:53:53.285857", "created_at": "2023-03-05T23:17:10+01:00", "updated_at": "2023-03-08T14:31:31+01:00", "name": "check-changelog", "path": ".github/workflows/check-changelog.yml", "contents": "name: check-changelog\n\non:\n  pull_request:\n    branches: [main]\n\njobs:\n  check-changelog-entry:\n    if: \"!contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed')\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout PR branch\n        uses: actions/checkout@v3\n      - name: Find changelog entry\n        env:\n          PR_NUMBER: ${{ github.event.number }}\n        run: |\n          if compgen -G \"docs/changes/$PR_NUMBER.*.rst\"; then\n            echo \"changelog exists\"\n          else\n            echo \"changelog entry not found\"\n            exit 1\n          fi\n", "state": "active", "repository": "stingraysoftware/stingray"}
{"mined_at": "2024-07-15T16:53:54.472183", "created_at": "2023-08-07T14:00:26+02:00", "updated_at": "2023-08-18T09:30:28+02:00", "name": "Docs checks", "path": ".github/workflows/check_docs.yml", "contents": "name: Docs checks\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n  schedule:\n    # run every Monday at 6am UTC\n    - cron: '0 6 * * 1'\n\nenv:\n  SETUP_XVFB: True  # avoid issues if mpl tries to open a GUI window\n  TOXARGS: '-v'\n\njobs:  # This job is used to check that the documentation builds correctly.\n  ci-tests:\n    name: ${{ matrix.tox_env }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'build_docs'\n          - os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'linkcheck'\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n        with:\n          submodules: true\n      - name: Check out that no sensitive environment variable is shared\n        run: env\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install base dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox\n      - name: Install system dependencies\n        run: sudo apt-get -y install graphviz pandoc\n      - name: Print Python, pip, setuptools, and tox versions\n        run: |\n          python -c \"import sys; print(f'Python {sys.version}')\"\n          python -c \"import pip; print(f'pip {pip.__version__}')\"\n          python -c \"import setuptools; print(f'setuptools {setuptools.__version__}')\"\n          python -c \"import tox; print(f'tox {tox.__version__}')\"\n      - name: Run tests\n        run: tox -e ${{ matrix.tox_env }}", "state": "active", "repository": "stingraysoftware/stingray"}
{"mined_at": "2024-07-15T16:53:55.553717", "created_at": "2020-11-11T22:18:48+01:00", "updated_at": "2021-10-06T21:23:19+02:00", "name": "CI Tests", "path": ".github/workflows/ci_test.yml", "contents": "name: CI Tests\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n  schedule:\n    # run every Monday at 6am UTC\n    - cron: '0 6 * * 1'\n\nenv:\n  SETUP_XVFB: True  # avoid issues if mpl tries to open a GUI window\n  TOXARGS: '-v'\n\njobs:\n\n  check_commit:\n    # Check the commit message for the presence of keywords that indicate\n    # that the CI tests should be skipped, in favor of running doc builds only.\n    # Messages like [docs only], [docs-only], or [skip-tests] will skip\n    # Only the CI part of the workflow, not the doc build.\n    # [skip ci], [ci skip] etc. are instead handled by GitHub itself and will skip\n    # the entire workflow.\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{github.event.pull_request.head.repo.full_name}}\n\n      # Found this solution at\n      # https://monadical.com/posts/filters-github-actions.html#Case-2-Pull-request\n      - name: check if message indicates that tests should be skipped\n        id: check_commit\n        run: |\n          message=$(git log -1 --pretty=format:'%B')\n          re=\"\\[(docs.only|skip-tests).*\\]\"\n          if [[ $message =~ $re ]]; then\n            echo \"match=true\" >> $GITHUB_OUTPUT\n            echo \"$message -> Match is true\"\n          else\n            echo \"$message -> Match is false\"\n          fi\n    outputs:\n      match: ${{ steps.check_commit.outputs.match }}\n\n  ci-tests:\n    needs: check_commit\n    if: ${{ needs.check_commit.outputs.match != 'true' }}\n    # name: ${{ matrix.os }}, ${{ matrix.tox_env }}\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # A large number of test environments are defined in tox.ini. In CI,\n          # we select only a few, in order to conserve resources. If you add\n          # an additional environment, please include a comment to indicate\n          # why it is useful.\n          - name: Black test\n            os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'black'\n            experimental: false\n\n          # Basic tests on the oldest & newest supported versions of Python,\n          # recording coverage data for the latter.\n          - name: Py3.8 with old Astropy version\n            os: ubuntu-latest\n            python: '3.8'\n            tox_env: 'py38-test-astropy4-cov'\n            experimental: false\n\n          - name: Linux, Py3.10 with coverage\n            os: ubuntu-latest\n            python: '3.10'\n            tox_env: 'py310-test-cov'\n            experimental: false\n\n          # Basic tests on alternative operating systems.\n          - name: Windows, Py3.11 with coverage\n            os: windows-latest\n            python: '3.11'\n            tox_env: 'py311-test-cov'\n            experimental: false\n\n          - name: Mac OS M1, Py3.11\n            os: macos-14\n            python: '3.11'\n            tox_env: 'py311-test'\n            experimental: false\n\n          - name: Mac OS, Py3.11\n            os: macos-latest\n            python: '3.11'\n            tox_env: 'py311-test'\n            experimental: false\n\n          # Test with all optional dependencies installed.\n          - name: Linux, Py3.11 all dependencies and coverage\n            os: ubuntu-latest\n            python: '3.11'\n            tox_env: 'py311-test-alldeps-cov'\n            use_remote_data: true\n            experimental: false\n\n          # Test 3.12 with basic optional dependencies installed.\n          - name: Linux, Py3.12 basic dependencies and coverage\n            os: ubuntu-latest\n            python: '3.12'\n            tox_env: 'py312-test-cov'\n            use_remote_data: true\n            experimental: true\n\n          # Development version of dependencies\n          - name: Linux, Py3.11 with dev versions of dependencies\n            os: ubuntu-latest\n            python: '3.11'\n            tox_env: 'py311-test-devdeps-cov'\n            experimental: false\n\n          # Test with all optional dependencies installed.\n          - name: Slow tests on Linux, Py3.11, all deps and coverage\n            os: ubuntu-latest\n            python: '3.11'\n            tox_env: 'py311-test-alldeps-cov'\n            use_remote_data: true\n            experimental: false\n            slow: true\n\n          # Test with all optional dependencies installed.\n          - name: Slow tests on Linux, Py3.11, basic deps and coverage\n            os: ubuntu-latest\n            python: '3.11'\n            tox_env: 'py311-test-cov'\n            use_remote_data: true\n            experimental: false\n            slow: true\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n      with:\n        submodules: true\n    - name: Check out that no sensitive environment variable is shared\n      run: env\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install base dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        python -m pip install tox\n    - name: Install system dependencies\n      if: \"endsWith(matrix.tox_env, 'build_docs')\"\n      run: sudo apt-get -y install graphviz pandoc\n    - name: Print Python, pip, setuptools, and tox versions\n      run: |\n        python -c \"import sys; print(f'Python {sys.version}')\"\n        python -c \"import pip; print(f'pip {pip.__version__}')\"\n        python -c \"import setuptools; print(f'setuptools {setuptools.__version__}')\"\n        python -c \"import tox; print(f'tox {tox.__version__}')\"\n    - name: Run quick tests\n      if: \"(! matrix.use_remote_data) && (! matrix.slow)\"\n      run: tox -e ${{ matrix.tox_env }} --\n    - name: Run quick tests with remote data\n      if: \"matrix.use_remote_data && (! matrix.slow)\"\n      run: |\n        pip install pytest-remotedata\n        tox -e ${{ matrix.tox_env }} -- --remote-data=any\n    - name: Run slow tests with remote data\n      if: \"matrix.use_remote_data && matrix.slow\"\n      run: |\n        pip install pytest-remotedata\n        tox -e ${{ matrix.tox_env }} -- --remote-data=any -m slow --run-slow\n    - name: Upload coverage to codecov\n      if: \"endsWith(matrix.tox_env, '-cov')\"\n      uses: codecov/codecov-action@v3\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      with:\n        file: ./coverage.xml\n", "state": "active", "repository": "stingraysoftware/stingray"}
{"mined_at": "2024-07-15T16:53:56.659590", "created_at": "2021-01-25T20:50:57+01:00", "updated_at": "2021-01-25T20:50:57+01:00", "name": "Build & publish documentation to GitHub Pages", "path": ".github/workflows/publish_docs.yml", "contents": "name: Build & publish documentation to GitHub Pages\n\non:\n  push:\n    branches:\n      - main\n  release:\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: true\n          fetch-depth: 0\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Install system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install pandoc\n      - name: Install Python dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e \".[docs]\"\n      - name: Build documentation\n        run: sphinx-build -b html -d _build/doctrees . _build/html\n        working-directory: docs\n      - name: Deploy to GitHub Pages\n        if: success()\n        uses: crazy-max/ghaction-github-pages@v3\n        with:\n          target_branch: gh-pages\n          build_dir: docs/_build/html\n          fqdn: docs.stingray.science\n          jekyll: false\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "stingraysoftware/stingray"}
{"mined_at": "2024-07-15T16:53:57.708890", "created_at": "2022-01-24T16:45:21+01:00", "updated_at": "2022-01-24T16:45:21+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "stingraysoftware/stingray"}
{"mined_at": "2024-07-15T16:53:59.943843", "created_at": "2022-07-22T15:39:55+02:00", "updated_at": "2022-07-22T19:35:38+02:00", "name": "ClusterFuzzLite PR fuzzing", "path": ".github/workflows/cflite_pr.yml", "contents": "name: ClusterFuzzLite PR fuzzing\non:\n  workflow_dispatch:\n  pull_request:\n    branches: [ main ]\n    paths: [ src/** ]\n\npermissions: read-all\njobs:\n  PR:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        sanitizer: [address]\n    steps:\n    - name: Build Fuzzers (${{ matrix.sanitizer }})\n      id: build\n      uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1\n      with:\n        sanitizer: ${{ matrix.sanitizer }}\n        language: python\n        bad-build-check: false\n        ##storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ossf/fuzz-introspector.git\n        #storage-repo-branch-coverage: gh-pages  # Optional. Defaults to \"gh-pages\".\n    - name: Run Fuzzers (${{ matrix.sanitizer }})\n      id: run\n      uses: google/clusterfuzzlite/actions/run_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        fuzz-seconds: 100\n        mode: 'code-change'\n        report-unreproducible-crashes: false\n        sanitizer: ${{ matrix.sanitizer }}\n        #storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ossf/fuzz-introspector.git\n        #storage-repo-branch: main\n        #storage-repo-branch-coverage: gh-pages\n", "state": "active", "repository": "ossf/fuzz-introspector"}
{"mined_at": "2024-07-15T16:54:01.028505", "created_at": "2022-05-14T15:55:19+02:00", "updated_at": "2022-10-20T11:20:55+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\npermissions:\n  actions: read\n  contents: read\n  security-events: read\non:\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n    paths:\n      - 'src/**'\n      - 'frontends/**'\n      - '.github/workflows/codeql.yml'\n  schedule:\n    - cron: '35 17 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@23acc5c183826b7a8a97bce3cecc52db901f8251\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@23acc5c183826b7a8a97bce3cecc52db901f8251\n", "state": "active", "repository": "ossf/fuzz-introspector"}
{"mined_at": "2024-07-15T16:54:02.149176", "created_at": "2022-05-14T19:14:23+02:00", "updated_at": "2022-05-18T22:50:30+02:00", "name": "Dependency Review", "path": ".github/workflows/depsreview.yaml", "contents": "name: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@72eb03d02c7872a771aacd928f3123ac62ad6d3a\n", "state": "active", "repository": "ossf/fuzz-introspector"}
{"mined_at": "2024-07-15T16:54:03.377703", "created_at": "2022-11-08T17:31:45+01:00", "updated_at": "2022-11-08T17:57:59+01:00", "name": "Java Format", "path": ".github/workflows/google-java.yml", "contents": "name: Java Format\npermissions: read-all\non:\n  pull_request:\n    paths:\n      - 'frontends/java/**'\n      - '.github/workflows/google-java.yml'\n      - 'tools/auto-fuzz/benchmark/jvm/**'\njobs:\n  formatting:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332\n      - uses: axel-op/googlejavaformat-action@v3\n        with:\n          args: \"--replace\"\n          skip-commit: true\n          files:\n            - 'frontends/java/**'\n            - '.github/workflows/google-java.yml'\n            - 'tools/auto-fuzz/benchmark/jvm/**'\n      - name: Print diffs\n        run: git --no-pager diff --exit-code\n", "state": "active", "repository": "ossf/fuzz-introspector"}
{"mined_at": "2024-07-15T16:54:04.503738", "created_at": "2022-11-29T15:14:16+01:00", "updated_at": "2022-11-29T16:10:24+01:00", "name": "JUnit-Frontends", "path": ".github/workflows/jvm-unit-test.yml", "contents": "name: JUnit-Frontends\n\non:\n  pull_request:\n    paths:\n      - 'frontends/**'\n      - '.github/workflows/jvm-unit-test.yml'\npermissions: read-all\njobs:\n  build:\n    runs-on: ubuntu-latest\n    name: JUnit-Frontends\n    steps:\n    - name: Checkout\n      uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v3.1.0\n    - name: Set up OpenJDK 11\n      uses: actions/setup-java@v4\n      with:\n        distribution: 'zulu'\n        java-version: '11'\n    - name: Test Maven Build\n      run: cd frontends/java && mvn --batch-mode -DskipTests clean package\n    - name: Unit Test\n      run: cd frontends/java && mvn --batch-mode test\n", "state": "active", "repository": "ossf/fuzz-introspector"}
{"mined_at": "2024-07-15T16:54:05.732709", "created_at": "2022-03-14T14:11:04+01:00", "updated_at": "2023-02-03T18:11:44+01:00", "name": "Lint and format", "path": ".github/workflows/main.yml", "contents": "name: Lint and format\n\non: pull_request\npermissions: read-all\njobs:\n  codestyle:\n    runs-on: ubuntu-latest\n    name: Codestyle\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v2.4.0\n      - name: Set up Python environment\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v3.0.0\n        with:\n          python-version: \"3.8\"\n      - name: flake8 Lint post process\n        uses: py-actions/flake8@84ec6726560b6d5bd68f2a5bed83d62b52bb50ba # v2\n        with:\n          ignore: \"E125,W503,W504,W605\"\n          max-line-length: \"100\"\n          path: \"src/\"\n      - name: flake8 Lint python frontend\n        uses: py-actions/flake8@84ec6726560b6d5bd68f2a5bed83d62b52bb50ba # v2\n        with:\n          ignore: \"E125,W503,W504,W605\"\n          max-line-length: \"100\"\n          path: \"frontends/python/\"\n      - name: Install yapf\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: yapf code formatting\n        run: |\n          yapf -d -r ./src/fuzz_introspector/\n          yapf -d -r ./tools/auto-fuzz\n          yapf -d -r ./tools/web-fuzzing-introspection/app/webapp/\n          yapf -d ./tools/web-fuzzing-introspection/app/*.py\n          yapf -d -r ./tools/web-fuzzing-introspection/app/static/assets/db\n", "state": "active", "repository": "ossf/fuzz-introspector"}
{"mined_at": "2024-07-15T16:54:06.798796", "created_at": "2022-03-14T15:20:05+01:00", "updated_at": "2022-03-14T15:27:05+01:00", "name": "Mypy", "path": ".github/workflows/mypy.yml", "contents": "name: Mypy\n\non:\n  pull_request:\n    paths:\n      - 'src/**'\n      - 'frontends/python/**'\n      - 'oss_fuzz_integration/**'\n      - '.github/workflows/mypy.yml'\npermissions: read-all\njobs:\n  build:\n    runs-on: ubuntu-latest\n    name: Mypy\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v2.4.0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v3.0.0\n      with:\n        python-version: 3.8\n    - name: Install Dependencies\n      run: |\n        pip install mypy types-PyYAML\n    - name: mypy\n      run: |\n        cd src && mypy --ignore-missing-imports -m main\n", "state": "active", "repository": "ossf/fuzz-introspector"}
{"mined_at": "2024-07-15T16:54:08.088940", "created_at": "2022-01-06T00:35:33+01:00", "updated_at": "2022-12-15T19:28:22+01:00", "name": "Scorecards supply-chain security", "path": ".github/workflows/scorecards-analysis.yml", "contents": "name: Scorecards supply-chain security\non: \n  # Only the default branch is supported.\n  branch_protection_rule:\n  schedule:\n    - cron: '31 23 * * 4'\n  pull_request:\n    branches: [ main ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecards analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      id-token: write\n    \n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v2.4.0\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v0.0.1\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # Read-only PAT token. To create it,\n          # follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation.\n          repo_token: ${{ secrets.SCORECARD_TOKEN }}\n          # Publish the results to enable scorecard badges. For more details, see\n          # https://github.com/ossf/scorecard-action#publishing-results.\n          # If you are installing the action on a private repo, set it to `publish_results: false` \n          # or comment out the following line.\n          publish_results: true\n\n      # Upload the results as artifacts (optional).\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v2.3.1\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n      \n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v1.0.26\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "ossf/fuzz-introspector"}
{"mined_at": "2024-07-15T16:54:09.229421", "created_at": "2022-07-20T13:28:36+02:00", "updated_at": "2022-07-20T13:57:36+02:00", "name": "Unit tests", "path": ".github/workflows/testing.yml", "contents": "name: Unit tests\n\non:\n  pull_request:\n    paths:\n      - 'frontends/**'\n      - 'src/**'\n      - 'test/**'\n      - '.github/workflows/testing.yml'\npermissions: read-all\njobs:\n  unittests:\n    runs-on: ubuntu-latest\n    name: Unit Tests\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v2.4.0\n      - name: Set up Python environment\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v3.0.0\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Prepare test case files\n        run: |\n          cd tests/java && ./runTest.sh test3 && ./runTest.sh test4 && ./runTest.sh test11 && ./runTest.sh test12\n      - name: Test unittests and generate coverage report\n        run: |\n          coverage run -m pytest -vv src/test/\n      - name: Display and clean up unittests coverage report\n        run: |\n          coverage report -m\n          rm .coverage\n", "state": "active", "repository": "ossf/fuzz-introspector"}
{"mined_at": "2024-07-15T16:54:10.227015", "created_at": "2024-06-13T17:02:48+02:00", "updated_at": "2024-06-14T20:06:56+02:00", "name": "webapp-api-test", "path": ".github/workflows/webapp-api-test.yml", "contents": "name: webapp-api-test\n\non:\n  pull_request:\n    branches:\n      main\n    paths:\n      - 'tools/web-fuzzing-introspection/**'\n      - '.github/helper/**'\n      - '.github/workflows/webapp-api-test.yml'\npermissions: read-all\njobs:\n  build:\n    runs-on: ubuntu-latest\n    name: webapp-api-test\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v2.4.0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v3.0.0\n      with:\n        python-version: 3.8\n    - name: Install venv\n      run: sudo apt-get install python3-venv\n    - name: Set up venv\n      run: python3 -m venv tools/web-fuzzing-introspection/.venv\n    - name: Active venv dependencies\n      run: source tools/web-fuzzing-introspection/.venv/bin/activate && pip install -r tools/web-fuzzing-introspection/requirements.txt\n    - name: Run test\n      run: source tools/web-fuzzing-introspection/.venv/bin/activate && python3 .github/helper/api_test.py\n", "state": "active", "repository": "ossf/fuzz-introspector"}
{"mined_at": "2024-07-15T16:54:11.273325", "created_at": "2024-06-12T16:33:17+02:00", "updated_at": "2024-06-13T20:01:39+02:00", "name": "Mypy-Pyright-webapp", "path": ".github/workflows/webapp-mypy.yml", "contents": "name: Mypy-Pyright-webapp\n\non:\n  pull_request:\n    branches:\n      main\n    paths:\n      - 'tools/web-fuzzing-introspection/**'\n      - '.github/workflows/webapp-mypy.yml'\npermissions: read-all\njobs:\n  build:\n    runs-on: ubuntu-latest\n    name: Mypy-Pyright-webapp\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v2.4.0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v3.0.0\n      with:\n        python-version: 3.8\n    - name: Install venv\n      run: sudo apt-get install python3-venv\n    - name: Set up venv\n      run: cd tools/web-fuzzing-introspection && python3 -m venv .venv\n    - name: Active venv dependencies\n      run: cd tools/web-fuzzing-introspection && source .venv/bin/activate && pip install -r ./requirements.txt\n    - name: Install Dependencies\n      run: |\n        pip install mypy types-PyYAML pyright types-requests\n    - name: mypy\n      run: |\n        cd tools/web-fuzzing-introspection && mypy --ignore-missing-imports --explicit-package-bases .\n    - name: pyright\n      run: |\n        cd tools/web-fuzzing-introspection && source .venv/bin/activate && pyright . --project=./.pyrightconfig.json --venvpath=./.venv\n", "state": "active", "repository": "ossf/fuzz-introspector"}
{"mined_at": "2024-07-15T16:54:13.413824", "created_at": "2020-06-27T01:10:33+02:00", "updated_at": "2020-07-22T10:16:15+02:00", "name": "CI", "path": ".github/workflows/main.yaml", "contents": "on:\n  push:\n  pull_request:\n  merge_group:\n\nname: CI\njobs:\n\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n        - '3.8'\n        - '3.9'\n        - '3.10'\n        - '3.11'\n        - '3.12'\n        - 'pypy-3.8'\n        - 'pypy-3.9'\n        - 'pypy-3.10'\n        allow-failure:\n        - false\n        include:\n        - python-version: '3.13-dev'\n          allow-failure: true\n    continue-on-error: ${{ matrix.allow-failure }}\n    name: 'test (${{ matrix.python-version }})'\n    steps:\n    - name: Check out source code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up PDM\n      uses: pdm-project/setup-pdm@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys FA8E1301F4D3932C\n        sudo add-apt-repository 'deb http://ppa.launchpad.net/sri-csl/formal-methods/ubuntu bionic main'\n        sudo apt-get update\n        sudo apt-get install yices2\n        pip install codecov build\n        pdm install --dev\n    - name: Cache YoWASP build products\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/YoWASP\n        key: YoWASP-${{ runner.os }}-${{ hashFiles('./.venv/**/*.wasm') }}\n        restore-keys: |\n          YoWASP-${{ runner.os }}-\n    - name: Run tests\n      run: |\n        pdm run test\n    - name: Submit code coverage\n      run: |\n        codecov\n\n  smoketest: # If we plug this into downstream projects, does magic smoke escape?\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        project:\n          - amaranth-lang/amaranth-boards\n          - amaranth-lang/amaranth-stdio\n          - amaranth-lang/amaranth-soc\n    name: 'smoke (${{ matrix.project }})'\n    steps:\n    - name: Check out Amaranth source code\n      uses: actions/checkout@v4\n      with:\n        path: amaranth\n        fetch-depth: 0\n    - name: Check out source code\n      uses: actions/checkout@v4\n      with:\n        repository: ${{ matrix.project }}\n        path: project\n        fetch-depth: 0\n    - name: Set up PDM\n      uses: pdm-project/setup-pdm@v4\n    - name: Install dependencies\n      working-directory: project\n      run: |\n        pdm install --dev\n    - name: Use Amaranth HEAD revision\n      working-directory: project\n      run: |\n        pdm add ../amaranth\n    - name: Cache YoWASP build products\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/YoWASP\n        key: YoWASP-${{ runner.os }}-${{ hashFiles('./.venv/**/*.wasm') }}\n        restore-keys: |\n          YoWASP-${{ runner.os }}-\n    - name: Run tests\n      working-directory: project\n      run: |\n        pdm run test\n\n  document:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Fetch tags from upstream repository\n        run: |\n          git fetch --tags https://github.com/amaranth-lang/amaranth.git\n      - name: Set up PDM\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: '3.12'\n      - name: Install dependencies\n        run: |\n          pdm install --dev\n      - name: Build documentation\n        run: |\n          pdm run document\n      - name: Upload documentation archive\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs\n          path: docs/_build\n      - name: Extract schemas\n        run: |\n          pdm run extract-schemas\n      - name: Upload schema archive\n        uses: actions/upload-artifact@v4\n        with:\n          name: schema\n          path: schema\n\n  check-links:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out source code\n        uses: actions/checkout@v4\n        with:\n            fetch-depth: 0\n      - name: Set up PDM\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: '3.12'\n      - name: Install dependencies\n        run: |\n          pdm install --dev\n      - name: Check links in documentation\n        run: |\n          pdm run document-linkcheck\n\n  required: # group all required workflows into one to avoid reconfiguring this in Actions settings\n    needs:\n      - test\n      - document\n    if: ${{ always() && !contains(needs.*.result, 'cancelled') }}\n    runs-on: ubuntu-latest\n    steps:\n      - run: ${{ contains(needs.*.result, 'failure') && 'false' || 'true' }}\n\n  publish-docs:\n    needs: document\n    if: ${{ github.repository == 'amaranth-lang/amaranth' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Download documentation archive\n        uses: actions/download-artifact@v4\n        with:\n          name: docs\n          path: docs/\n      - name: Publish development documentation\n        if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' }}\n        uses: JamesIves/github-pages-deploy-action@releases/v4\n        with:\n          repository-name: amaranth-lang/amaranth-lang.github.io\n          ssh-key: ${{ secrets.PAGES_DEPLOY_KEY }}\n          branch: main\n          folder: docs/\n          target-folder: docs/amaranth/latest/\n      - name: Publish release documentation\n        if: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') && !contains(github.event.ref, 'dev') }}\n        uses: JamesIves/github-pages-deploy-action@releases/v4\n        with:\n          repository-name: amaranth-lang/amaranth-lang.github.io\n          ssh-key: ${{ secrets.PAGES_DEPLOY_KEY }}\n          branch: main\n          folder: docs/\n          target-folder: docs/amaranth/${{ github.ref_name }}/\n\n  publish-docs-dev:\n    needs: document\n    if: ${{ github.repository != 'amaranth-lang/amaranth' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Download documentation archive\n        uses: actions/download-artifact@v4\n        with:\n          name: docs\n          path: pages/docs/${{ github.ref_name }}/\n      - name: Disable Jekyll\n        run: |\n          touch pages/.nojekyll\n      - name: Publish documentation for a branch\n        uses: JamesIves/github-pages-deploy-action@releases/v4\n        with:\n          folder: pages/\n          clean: false\n\n  publish-schemas:\n    needs: [required, publish-docs] # avoid race condition with publish-docs\n    if: ${{ github.repository == 'amaranth-lang/amaranth' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Download schema archive\n        uses: actions/download-artifact@v4\n        with:\n          name: schema\n          path: schema/\n      - name: Publish schemas\n        if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' }}\n        uses: JamesIves/github-pages-deploy-action@releases/v4\n        with:\n          repository-name: amaranth-lang/amaranth-lang.github.io\n          ssh-key: ${{ secrets.PAGES_DEPLOY_KEY }}\n          branch: main\n          folder: schema/\n          target-folder: schema/amaranth/\n\n  publish-package:\n    needs: required\n    runs-on: ubuntu-latest\n    environment: publish\n    permissions:\n      id-token: write\n    steps:\n    - name: Check out source code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Build package\n      run: |\n        pip install build\n        python -m build\n    - name: Upload package artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: package\n        path: dist/\n    - name: Verify package metadata\n      run: |\n        pip install twine\n        twine check dist/*\n    - name: Publish package to Test PyPI\n      if: ${{ github.repository == 'amaranth-lang/amaranth' && github.event_name == 'push' && github.event.ref == 'refs/heads/main' }}\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n    - name: Publish package to PyPI\n      if: ${{ github.repository == 'amaranth-lang/amaranth' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') && !contains(github.event.ref, 'dev') }}\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-release:\n    needs: publish-package\n    if: ${{ github.repository == 'amaranth-lang/amaranth' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') && !contains(github.event.ref, 'dev') }}\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n    - name: Determine release metadata\n      id: metadata\n      env:\n        REF_NAME: ${{ github.ref_name }}\n      run: |\n        echo name=${REF_NAME/v/} >>$GITHUB_OUTPUT\n    - name: Create release\n      uses: comnoco/create-release-action@v2\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        tag_name: ${{ github.ref_name }}\n        release_name: ${{ steps.metadata.outputs.name }}\n", "state": "active", "repository": "amaranth-lang/amaranth"}
{"mined_at": "2024-07-15T16:54:15.561410", "created_at": "2020-09-03T13:21:20+02:00", "updated_at": "2020-09-03T13:21:20+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [develop]\n  pull_request:\n    branches: [develop]\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        language: [\"python\", \"typescript\"]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Install python dependencies\n      - if: matrix.language == 'python'\n        name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - if: matrix.language == 'python'\n        name: Install dependencies with pip\n        run: pip install -e .[dev-pinned,pinned]\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # Override the default behavior so that the action doesn't attempt\n          # to auto-install Python dependencies\n          setup-python-dependencies: false\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "digitalfabrik/integreat-cms"}
{"mined_at": "2024-07-15T16:54:16.719179", "created_at": "2022-05-07T16:36:20+02:00", "updated_at": "2022-05-08T15:04:36+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: \"Dependency Review\"\non:\n  pull_request:\n    branches: [develop]\n\npermissions:\n  contents: read\n\njobs:\n  check:\n    name: Check\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n      - name: Review dependencies\n        uses: actions/dependency-review-action@v4\n", "state": "active", "repository": "digitalfabrik/integreat-cms"}
{"mined_at": "2024-07-15T16:54:17.813902", "created_at": "2020-09-03T14:45:18+02:00", "updated_at": "2022-05-07T18:14:12+02:00", "name": "OSSAR", "path": ".github/workflows/ossar-analysis.yml", "contents": "# This workflow integrates a collection of open source static analysis tools\n# with GitHub code scanning. For documentation, or to provide feedback, visit\n# https://github.com/github/ossar-action\nname: \"OSSAR\"\n\non:\n  push:\n    branches: [develop]\n  pull_request:\n    branches: [develop]\n\npermissions:\n  contents: read\n\njobs:\n  scan:\n    name: Scan\n    runs-on: windows-latest\n\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n\n    steps:\n      # Checkout your code repository to scan\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n        # Run open source static analysis tools\n      - name: Run OSSAR\n        uses: github/ossar-action@v1\n        id: ossar\n\n        # Upload results to the Security tab\n      - name: Upload OSSAR results\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: ${{ steps.ossar.outputs.sarifFile }}\n          category: ossar\n", "state": "disabled_manually", "repository": "digitalfabrik/integreat-cms"}
{"mined_at": "2024-07-15T16:54:18.841157", "created_at": "2021-12-18T10:06:54+01:00", "updated_at": "2021-12-18T10:06:54+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "digitalfabrik/integreat-cms"}
{"mined_at": "2024-07-15T16:54:20.885666", "created_at": "2022-01-21T09:42:40+01:00", "updated_at": "2022-01-25T18:29:46+01:00", "name": "Publisher", "path": ".github/workflows/publisher.yml", "contents": "name: Publisher\n\n# Trigger on new github release, a tag with format vX.Y.Z is expected (used to tag the docker)\non:\n  release:\n    types: [published]\n\nenv:\n  OPENDR_VERSION: ${{ github.event.release.tag_name }}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  publish-wheel:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v7\n      with:\n        submodules: true\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Install prerequisites\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build Wheel\n      run: |\n        ./bin/build_wheel.sh\n    - name: Upload Wheel\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run : |\n        twine upload dist/*\n  publish-docker-cpu:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n    - name: Get branch name\n      id: branch-name\n      uses: tj-actions/branch-names@v7\n    - name: Build Docker Image\n      run: docker build --tag opendr-toolkit:cpu_$OPENDR_VERSION --build-arg branch=${{ steps.branch-name.outputs.current_branch }} --file Dockerfile .\n    - name: Login to Docker Hub\n      uses: docker/login-action@v2\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_PASSWORD }}\n    - name: Publish Image\n      run: |\n        docker tag opendr-toolkit:cpu_$OPENDR_VERSION opendr/opendr-toolkit:cpu_$OPENDR_VERSION\n        docker push opendr/opendr-toolkit:cpu_$OPENDR_VERSION\n  publish-docker-cuda:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n    - name: Get branch name\n      id: branch-name\n      uses: tj-actions/branch-names@v7\n    - name: Build Docker Image\n      run: docker build --tag opendr-toolkit:cuda_$OPENDR_VERSION --build-arg branch=${{ steps.branch-name.outputs.current_branch }} --file Dockerfile-cuda .\n    - name: Login to Docker Hub\n      uses: docker/login-action@v2\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_PASSWORD }}\n    - name: Publish Image\n      run: |\n        docker tag opendr-toolkit:cuda_$OPENDR_VERSION opendr/opendr-toolkit:cuda_$OPENDR_VERSION\n        docker push opendr/opendr-toolkit:cuda_$OPENDR_VERSION\n", "state": "active", "repository": "opendr-eu/opendr"}
{"mined_at": "2024-07-15T16:54:22.114722", "created_at": "2022-01-21T08:18:29+01:00", "updated_at": "2023-06-22T12:01:41+02:00", "name": "Test Packages", "path": ".github/workflows/test_packages.yml", "contents": "name: Test Packages\n# This workflow tests the latest (third-party hosted) available builds\n\non:\n  pull_request:\n    types: [opened, reopened, synchronize, labeled, unlabeled]\n  schedule:\n    - cron:  '0 23 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\n\njobs:\n  test-wheel:\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test packages') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        package:\n          - engine\n          - utils\n          - perception/activity_recognition\n          - perception/compressive_learning\n          - perception/face_recognition\n          - perception/heart_anomaly_detection\n          - perception/multimodal_human_centric\n          - perception/pose_estimation\n          - perception/fall_detection\n          - perception/gesture_recognition\n          - perception/speech_recognition\n          - perception/skeleton_based_action_recognition/costgcn\n          - perception/skeleton_based_action_recognition/pstgcn\n          - perception/skeleton_based_action_recognition/stbln\n          - perception/skeleton_based_action_recognition/stgcn\n          - perception/skeleton_based_action_recognition/tagcn\n          - perception/semantic_segmentation\n          - perception/object_tracking_2d\n          # - perception/object_tracking_3d # passes, but disabled due to free() crash\n          - perception/object_tracking_3d/single_object_tracking\n          - perception/object_detection_2d/centernet\n          - perception/object_detection_2d/detr\n          - perception/object_detection_2d/gem\n          - perception/object_detection_2d/ssd\n          - perception/object_detection_2d/nanodet\n          - perception/object_detection_2d/yolov3\n          - perception/object_detection_2d/yolov5\n          - perception/object_detection_2d/retinaface\n          - perception/object_detection_2d/nms\n          - perception/speech_transcription/vosk\n          - perception/speech_transcription/whisper\n          # - perception/object_detection_3d # passes, but disabled due to free() crash\n          - perception/facial_expression_recognition\n          - simulation/human_model_generation\n          # - control/mobile_manipulation # not supported in pip?\n          #- control/single_demo_grasp\n          #- planning/end_to_end_planning\n          # - control/multi_object_search # not supported in pip?\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Test Wheel\n      run: |\n        export DISABLE_BCOLZ_AVX2=true\n        sudo apt -y install python3.8-venv libfreetype6-dev git build-essential cmake python3-dev wget libopenblas-dev libsndfile1 libboost-dev libeigen3-dev ffmpeg\n        python3 -m venv venv\n        source venv/bin/activate\n        python3 -m pip install --upgrade pip\n        python3 -m pip install wheel==0.38.4\n        python3 -m pip install opendr-toolkit-engine\n        python3 -m pip install opendr-toolkit\n        # Manually install the correct torch version to avoid failures\n        python3 -m pip install torch==1.13.1\n        export OPENDR_HOME=`pwd`\n        # run the test\n        python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\n  test-docker:\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test packages') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        package:\n          - engine\n          - utils\n          - perception/activity_recognition\n          - perception/compressive_learning\n          - perception/face_recognition\n          # - perception/heart_anomaly_detection # docker only issues, not affecting functionality\n          - perception/multimodal_human_centric\n          - perception/pose_estimation\n          - perception/fall_detection\n          - perception/gesture_recognition\n          - perception/speech_recognition\n          - perception/skeleton_based_action_recognition/costgcn\n          - perception/skeleton_based_action_recognition/pstgcn\n          - perception/skeleton_based_action_recognition/stbln\n          - perception/skeleton_based_action_recognition/stgcn\n          - perception/skeleton_based_action_recognition/tagcn\n          - perception/semantic_segmentation\n          - perception/object_tracking_2d\n          # - perception/object_tracking_3d # passes, but disabled due to free() crash\n          - perception/object_detection_2d/centernet\n          - perception/object_detection_2d/detr\n          - perception/object_detection_2d/gem\n          - perception/object_detection_2d/ssd\n          - perception/object_detection_2d/nanodet\n          - perception/object_detection_2d/yolov3\n          - perception/object_detection_2d/yolov5\n          - perception/object_detection_2d/retinaface\n          - perception/object_detection_2d/nms\n          - perception/speech_transcription/vosk\n          - perception/speech_transcription/whisper\n          # - perception/object_detection_3d # passes, but disabled due to free() crash\n          - perception/facial_expression_recognition\n          - simulation/human_model_generation\n          # - control/mobile_manipulation\n          # - control/single_demo_grasp  # disabled in the main suite, see #463\n          # - planning/end_to_end_planning \n          # - control/multi_object_search  \n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Test Docker\n      run: |\n        docker run --name toolkit -i opendr/opendr-toolkit:cpu_v3.0.0 bash\n        docker start toolkit\n        docker exec -i toolkit bash -c \"source bin/activate.sh && source tests/sources/tools/control/mobile_manipulation/run_ros.sh && python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\"\n", "state": "active", "repository": "opendr-eu/opendr"}
{"mined_at": "2024-07-15T16:54:23.344721", "created_at": "2021-12-10T12:25:32+01:00", "updated_at": "2022-01-28T16:11:35+01:00", "name": "Test Suite (master)", "path": ".github/workflows/tests_suite.yml", "contents": "name: Test Suite (master)\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened, labeled, unlabeled]\n  schedule:\n    - cron:  '0 23 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n    # XXX: Workaround for https://github.com/actions/cache/issues/1141\n    SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5\n\njobs:\n  test-sources:\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, macos-11]\n        include:\n          - os: ubuntu-20.04\n            DEPENDENCIES_INSTALLATION: \"sudo apt update; sudo apt -y install clang-format-10 cppcheck\"\n          - os: macos-11\n            DEPENDENCIES_INSTALLATION: \"brew install clang-format@11 cppcheck; ln /usr/local/bin/clang-format-11 /usr/local/bin/clang-format\"\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v3\n      if: matrix.os == 'ubuntu-20.04' || github.event.pull_request.draft == false\n      with:\n        submodules: true\n    - name: Set up Python 3.8\n      if: matrix.os == 'ubuntu-20.04' || github.event.pull_request.draft == false\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Test Sources\n      if: matrix.os == 'ubuntu-20.04' || github.event.pull_request.draft == false\n      run: |\n        ${{ matrix.DEPENDENCIES_INSTALLATION }}\n        export OPENDR_HOME=$PWD\n        export OPENDR_DEVICE=cpu\n        pip install -r tests/requirements.txt\n        python -m unittest discover -s tests\n\n  install-toolkit:\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Cache Python dependencies and virtual environment\n      id: cache-python-deps\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          venv\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/dependencies.ini') }}-${{ hashFiles('**/install.sh') }}\n        # restore-keys: |\n        #   ${{ runner.os }}-pip-\n    - name: Install toolkit and dependencies\n      if: steps.cache-python-deps.outputs.cache-hit != 'true'\n      run: |\n        export ROS_DISTRO=noetic\n        \n        ./bin/install.sh\n        source bin/activate.sh\n        python3 -m pip install -r tests/requirements.txt\n\n  test-tools:\n    needs: install-toolkit\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        package:\n          - engine\n          - utils\n          - perception/activity_recognition\n          - perception/compressive_learning\n          - perception/face_recognition\n          - perception/heart_anomaly_detection\n          - perception/multimodal_human_centric\n          - perception/pose_estimation\n          - perception/fall_detection\n          - perception/gesture_recognition\n          - perception/speech_recognition\n          - perception/skeleton_based_action_recognition/costgcn\n          - perception/skeleton_based_action_recognition/pstgcn\n          - perception/skeleton_based_action_recognition/stbln\n          - perception/skeleton_based_action_recognition/stgcn\n          - perception/skeleton_based_action_recognition/tagcn\n          - perception/semantic_segmentation\n          - perception/binary_high_resolution\n          - perception/object_tracking_2d\n          # - perception/object_tracking_3d # passes, but disabled due to free() crash\n          - perception/object_tracking_3d/single_object_tracking\n          - perception/object_detection_2d/centernet\n          - perception/object_detection_2d/detr\n          - perception/object_detection_2d/gem\n          - perception/object_detection_2d/ssd\n          - perception/object_detection_2d/nanodet\n          - perception/object_detection_2d/yolov3\n          - perception/object_detection_2d/yolov5\n          - perception/object_detection_2d/retinaface\n          - perception/object_detection_2d/nms\n          - perception/speech_transcription/vosk\n          - perception/speech_transcription/whisper\n          # - perception/object_detection_3d # passes, but disabled due to free() crash\n          - perception/facial_expression_recognition\n          - simulation/human_model_generation\n          - control/mobile_manipulation\n          # - control/single_demo_grasp # Throws error, probably due to detectron2 installation #463\n          - planning/end_to_end_planning\n          - control/multi_object_search\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Restore Python dependencies and virtual environment cache\n      id: cache-python-deps\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          venv\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/dependencies.ini') }}-${{ hashFiles('**/install.sh') }}\n\n    - name: Run toolkit tests without cache\n      if: steps.cache-python-deps.outputs.cache-hit != 'true'\n      run: |\n        echo \"Restore cache failed, running regular installation and testing...\"\n        export ROS_DISTRO=noetic\n        export OPENDR_HOME=$PWD\n        \n        echo \"Running full OpenDR installation\"\n        ./bin/install.sh\n        source bin/activate.sh\n        python3 -m pip install -r tests/requirements.txt\n        \n        if [ ${{ matrix.package }} = \"ctests\" ]; then\n          make ctests\n        else\n          if [[ ${{ matrix.package }} == \"control/mobile_manipulation\" || ${{ matrix.package }} == \"planning/end_to_end_planning\" ]]; then\n            source tests/sources/tools/control/mobile_manipulation/run_ros.sh\n          fi\n\n          echo \"Running unittest discover for ${{ matrix.package }}\"\n          python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\n        fi\n\n    - name: Run toolkit tests with cache\n      if: steps.cache-python-deps.outputs.cache-hit == 'true'\n      run: |\n        export ROS_DISTRO=noetic\n        export OPENDR_HOME=$PWD\n        export OPENDR_DEVICE=cpu\n\n        # Reinstall some system dependencies\n        echo \"Installing system dependencies\"\n        sudo apt-get update\n        sudo apt-get install --yes unzip libfreetype6-dev lsb-release git python3-pip curl wget python3.8-venv ffmpeg\n        sudo apt-get install --yes libopenblas-dev libsndfile1 libboost-dev\n        \n        source bin/activate.sh\n\n        echo \"OpenDR env activated, running retinaface make\"\n        # This should probably run conditionally for tools that need it\n        cd $OPENDR_HOME/src/opendr/perception/object_detection_2d/retinaface\n        make\n        cd $OPENDR_HOME\n        \n        if [ ${{ matrix.package }} = \"ctests\" ]; then\n          make ctests\n        else\n          if [[ ${{ matrix.package }} == \"control/mobile_manipulation\" || ${{ matrix.package }} == \"planning/end_to_end_planning\"  || ${{ matrix.package }} == \"control/multi_object_search\" ]]; then\n            echo \"ROS $ROS_DISTRO Installation\"\n\n            echo \"Adding ROS repositories keys\"\n            sudo sh -c 'echo \"deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main\" > /etc/apt/sources.list.d/ros-latest.list' \\\n              && curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -\n            \n            sudo apt update\n            \n            # ROS package dependencies\n            if [[ ${ROS_DISTRO} == \"noetic\" || ${ROS_DISTRO} == \"melodic\" ]]; then\n              echo \"Installing ROS dependencies\"\n              sudo apt-get -y install ros-$ROS_DISTRO-vision-msgs ros-$ROS_DISTRO-geometry-msgs ros-$ROS_DISTRO-sensor-msgs ros-$ROS_DISTRO-audio-common-msgs ros-$ROS_DISTRO-hri-msgs ros-$ROS_DISTRO-usb-cam ros-$ROS_DISTRO-webots-ros\n            fi\n            \n            # ROS2 package dependencies\n            if [[ ${ROS_DISTRO} == \"foxy\" || ${ROS_DISTRO} == \"humble\" ]]; then\n              echo \"Installing ROS2 dependencies\"\n              sudo apt-get -y install python3-lark ros-$ROS_DISTRO-usb-cam ros-$ROS_DISTRO-webots-ros2 python3-colcon-common-extensions ros-$ROS_DISTRO-vision-msgs ros-$ROS_DISTRO-sensor-msgs-py\n              LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/$ROS_DISTRO/lib/controller\n              cd $OPENDR_HOME/projects/opendr_ws_2/\n              git clone --depth 1 --branch ros2 https://github.com/ros-drivers/audio_common src/audio_common\n              rosdep install -i --from-path src/audio_common --rosdistro $ROS_DISTRO -y\n              cd $OPENDR_HOME\n            fi\n\n            # Install libegl required by multi-object search\n            if [ ${{ matrix.package}} == \"control/multi_object_search\" ]; then\n              echo \"Installing libegl1 for multi-object search\"\n              sudo apt install libegl1-mesa-dev\n            fi\n\n            # Make and run mobile manipulation test\n            # End-to-end planning requires mobile manipulation to run\n            if [[ ${{ matrix.package }} == \"control/mobile_manipulation\" || ${{ matrix.package }} == \"planning/end_to_end_planning\" ]]; then\n              echo \"Installing mobile manipulation\"\n              cd src/opendr/control/mobile_manipulation/\n              make\n              cd ../../../..\n\n              echo \"Running mobile manipulation test\"\n              source tests/sources/tools/control/mobile_manipulation/run_ros.sh\n            fi\n          fi\n\n          echo \"Running unittest discover for ${{ matrix.package }}\"\n          python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\n        fi\n\n  build-wheel:\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Install prerequisites\n      run: |\n        python3 -m pip install --upgrade pip\n        python3 -m pip install setuptools wheel twine\n    - name: Build Wheel\n      run:\n        ./bin/build_wheel.sh\n    - name: Upload wheel as artifact\n      uses: actions/upload-artifact@v2\n      with:\n        name: wheel-artifact\n        path:\n          dist/*.tar.gz\n\n  build-docker:\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Free Disk Space\n      uses: jlumbroso/free-disk-space@v1.3.1\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n    - name: Get branch name\n      id: branch-name\n      uses: tj-actions/branch-names@v7\n    - name: Build image\n      run: |\n        docker build --no-cache --tag opendr/opendr-toolkit:cpu_test --build-arg branch=${{ steps.branch-name.outputs.current_branch }} --build-arg ros_distro=noetic --file Dockerfile .\n        docker save opendr/opendr-toolkit:cpu_test > cpu_test.zip\n    - name: Upload image artifact\n      uses: actions/upload-artifact@v2\n      with:\n        name: docker-artifact\n        path:\n          cpu_test.zip\n\n  test-wheel:\n    needs: build-wheel\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        package:\n          - engine\n          - utils\n          - perception/activity_recognition\n          - perception/compressive_learning\n          - perception/face_recognition\n          - perception/heart_anomaly_detection\n          - perception/multimodal_human_centric\n          - perception/pose_estimation\n          - perception/fall_detection\n          - perception/gesture_recognition\n          - perception/speech_recognition\n          - perception/skeleton_based_action_recognition/costgcn\n          - perception/skeleton_based_action_recognition/pstgcn\n          - perception/skeleton_based_action_recognition/stbln\n          - perception/skeleton_based_action_recognition/stgcn\n          - perception/skeleton_based_action_recognition/tagcn\n          - perception/semantic_segmentation\n          - perception/binary_high_resolution\n          - perception/object_tracking_2d\n          # - perception/object_tracking_3d # passes, but disabled due to free() crash\n          - perception/object_detection_2d/centernet\n          - perception/object_detection_2d/detr\n          - perception/object_detection_2d/gem\n          - perception/object_detection_2d/ssd\n          - perception/object_detection_2d/nanodet\n          - perception/object_detection_2d/yolov3\n          - perception/object_detection_2d/yolov5\n          - perception/object_detection_2d/retinaface\n          - perception/object_detection_2d/nms\n          - perception/speech_transcription/vosk\n          - perception/speech_transcription/whisper\n          # - perception/object_detection_3d # passes, but disabled due to free() crash\n          - perception/facial_expression_recognition\n          - simulation/human_model_generation\n          #- control/multi_object_search\n          #- control/mobile_manipulation\n          #- control/single_demo_grasp\n          #- planning/end_to_end_planning\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Download artifact\n      uses: actions/download-artifact@v2\n      with:\n        path: artifact\n    - name: Get branch name\n      id: branch-name\n      uses: tj-actions/branch-names@v7\n    - name: Test Wheel\n      run: |\n        export OPENDR_HOME=$PWD\n        export DISABLE_BCOLZ_AVX2=true\n        export OPENDR_DEVICE=cpu\n        export PYTHONPATH=$OPENDR_HOME/src:$PYTHONPATH\n        export ROS_DISTRO=noetic\n\n        sudo apt-get update\n        sudo apt -y install python3.8-venv libfreetype6-dev git build-essential cmake python3-dev wget libopenblas-dev libsndfile1 libboost-dev python3-dev python3-six ffmpeg\n        \n        python3 -m venv venv\n        source venv/bin/activate\n        python3 -m pip install --upgrade pip\n        python3 -m pip install wheel==0.38.4 six\n\n        # install all tools one at a time\n        while read f; do\n          package=$(sed \"s/_/-/g\" <<< $f)\n          package=(${package//// })\n          if [ ! -z ${package[1]} ]; then package=${package[1]}; fi\n\n          if [ \"$package\" != \"opendr\" ]; then\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-$package-*.tar.gz\n          fi\n        done < packages.txt\n\n        cd src/opendr/perception/object_detection_2d/retinaface; make; cd $OPENDR_HOME\n\n        # run the test\n        python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\n\n  test-wheel-separate:\n    needs: build-wheel\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        package:\n          - engine\n          - utils\n          - perception/activity_recognition\n          - perception/compressive_learning\n          - perception/face_recognition\n          - perception/heart_anomaly_detection\n          - perception/multimodal_human_centric\n          - perception/pose_estimation\n          - perception/fall_detection\n          - perception/gesture_recognition\n          - perception/speech_recognition\n          - perception/skeleton_based_action_recognition/costgcn\n          - perception/skeleton_based_action_recognition/pstgcn\n          - perception/skeleton_based_action_recognition/stbln\n          - perception/skeleton_based_action_recognition/stgcn\n          - perception/skeleton_based_action_recognition/tagcn\n          - perception/semantic_segmentation\n          - perception/binary_high_resolution\n          - perception/object_tracking_2d\n          # - perception/object_tracking_3d # passes, but disabled due to free() crash\n          - perception/object_detection_2d/centernet\n          - perception/object_detection_2d/detr\n          - perception/object_detection_2d/gem\n          - perception/object_detection_2d/ssd\n          - perception/object_detection_2d/nanodet\n          - perception/object_detection_2d/yolov3\n          - perception/object_detection_2d/yolov5\n          - perception/object_detection_2d/retinaface\n          - perception/object_detection_2d/nms\n          - perception/speech_transcription/vosk\n          - perception/speech_transcription/whisper\n          # - perception/object_detection_3d # passes, but disabled due to free() crash\n          - perception/facial_expression_recognition\n          - simulation/human_model_generation\n          #- control/multi_object_search\n          #- control/mobile_manipulation\n          #- control/single_demo_grasp\n          #- planning/end_to_end_planning\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Download artifact\n      uses: actions/download-artifact@v2\n      with:\n        path: artifact\n    - name: Get branch name\n      id: branch-name\n      uses: tj-actions/branch-names@v7\n    - name: Test Wheel Separate\n      run: |\n        export OPENDR_HOME=$PWD\n        export DISABLE_BCOLZ_AVX2=true\n        export OPENDR_DEVICE=cpu\n        export ROS_DISTRO=noetic\n\n        sudo apt-get update\n        sudo apt -y install python3.8-venv libfreetype6-dev git build-essential cmake python3-dev wget libopenblas-dev libsndfile1 libboost-dev libeigen3-dev python3-dev python3-six ffmpeg\n\n        python3 -m venv venv\n        source venv/bin/activate\n        python3 -m pip install --upgrade pip\n        python3 -m pip install wheel==0.38.4 six\n\n        # get the name of the wheel to install based on the test being run\n        package=$(sed \"s/_/-/g\" <<< ${{ matrix.package }})\n        package=(${package//// })\n        if [ ! -z ${package[1]} ]; then package=${package[1]}; fi\n\n        # all packages require the engine\n        python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-engine-*.tar.gz\n\n        # install specific package\n        if [ ${{ matrix.package }} == \"utils\" ]; then\n          python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-hyperparameter-tuner-*.tar.gz\n          python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-ambiguity-measure-*.tar.gz\n        else\n          # install required dependencies for derived tools, we do so manually to ensure the local one is used\n          if [ ${{ matrix.package }} == \"perception/fall_detection\" ]; then\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-pose-estimation-*.tar.gz\n          elif [ ${{ matrix.package }} == \"perception/heart_anomaly_detection\" ]; then\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-compressive-learning-*.tar.gz\n          elif [ ${{ matrix.package }} == \"perception/gesture_recognition\" ]; then\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-object-detection-2d-*.tar.gz\n          elif [ ${{ matrix.package }} == \"perception/multimodal_human_centric\" ]; then\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-compressive-learning-*.tar.gz\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-object-detection-2d-*.tar.gz\n          elif [ ${{ matrix.package }} == \"perception/object_tracking_3d\" ]; then\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-object-detection-3d-*.tar.gz\n          fi\n\n          # install the package itself\n          python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-$package-*.tar.gz\n        fi\n\n        if [[ ${{ matrix.package }} == \"perception/object_detection_2d/retinaface\" ]]; then\n          cd src/opendr/perception/object_detection_2d/retinaface; make; cd $OPENDR_HOME\n        fi\n\n        # run the test\n        python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\n\n  test-docker:\n    needs: build-docker\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        package:\n          - engine\n          - utils\n          - perception/activity_recognition\n          - perception/compressive_learning\n          - perception/face_recognition\n          - perception/heart_anomaly_detection\n          - perception/multimodal_human_centric\n          - perception/pose_estimation\n          - perception/fall_detection\n          - perception/gesture_recognition\n          - perception/speech_recognition\n          - perception/skeleton_based_action_recognition/costgcn\n          - perception/skeleton_based_action_recognition/pstgcn\n          - perception/skeleton_based_action_recognition/stbln\n          - perception/skeleton_based_action_recognition/stgcn\n          - perception/skeleton_based_action_recognition/tagcn\n          - perception/semantic_segmentation\n          - perception/binary_high_resolution\n          - perception/object_tracking_2d\n          # - perception/object_tracking_3d # passes, but disabled due to free() crash\n          - perception/object_detection_2d/centernet\n          - perception/object_detection_2d/detr\n          - perception/object_detection_2d/gem\n          - perception/object_detection_2d/ssd\n          - perception/object_detection_2d/nanodet\n          - perception/object_detection_2d/yolov3\n          - perception/object_detection_2d/yolov5\n          - perception/object_detection_2d/retinaface\n          - perception/object_detection_2d/nms\n          - perception/speech_transcription/vosk\n          - perception/speech_transcription/whisper\n          # - perception/object_detection_3d # passes, but disabled due to free() crash\n          - perception/facial_expression_recognition\n          - simulation/human_model_generation\n          - control/mobile_manipulation\n          # - control/single_demo_grasp\n          - planning/end_to_end_planning\n          # - control/multi_object_search # needs CUDA Docker container\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Free Disk Space\n      uses: jlumbroso/free-disk-space@v1.3.1\n    - name: Download artifact\n      uses: actions/download-artifact@v2\n      with:\n        path: artifact\n    - name: Test docker\n      run: |\n        docker load < ./artifact/docker-artifact/cpu_test.zip\n        docker run --name toolkit -i opendr/opendr-toolkit:cpu_test bash\n        docker start toolkit\n        if [[ ${{ matrix.package }} == \"control/mobile_manipulation\" || ${{ matrix.package }} == \"planning/end_to_end_planning\" ]]; then\n          docker exec -i toolkit bash -c \"source bin/activate.sh && source tests/sources/tools/control/mobile_manipulation/run_ros.sh && python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\"\n        else\n          docker exec -i toolkit bash -c \"source bin/activate.sh && python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\"\n        fi\n\n  delete-docker-artifacts:\n    needs: [build-docker, test-docker]\n    if: ${{ always() }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: Delete docker artifacts\n      uses: geekyeggo/delete-artifact@v1\n      with:\n        name: docker-artifact\n\n  delete-wheel-artifacts:\n    needs: [build-wheel, test-wheel, test-wheel-separate]\n    if: ${{ always() }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: Delete wheel artifacts\n      uses: geekyeggo/delete-artifact@v1\n      with:\n        name: wheel-artifact\n", "state": "active", "repository": "opendr-eu/opendr"}
{"mined_at": "2024-07-15T16:54:24.414631", "created_at": "2022-01-03T15:09:17+01:00", "updated_at": "2023-01-19T00:20:02+01:00", "name": "Test Suite (develop)", "path": ".github/workflows/tests_suite_develop.yml", "contents": "name: Test Suite (develop)\n\n# note: this workflow is only triggered by the nightly scheduled run.\n# it is identical to master's workflow, but targets the develop branch.\non:\n  schedule:\n    - cron:  '0 23 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n    # XXX: Workaround for https://github.com/actions/cache/issues/1141\n    SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5\n\njobs:\n  test-sources:\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test sources') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, macos-11]\n        include:\n          - os: ubuntu-20.04\n            DEPENDENCIES_INSTALLATION: \"sudo apt update; sudo apt -y install clang-format-10 cppcheck\"\n          - os: macos-11\n            DEPENDENCIES_INSTALLATION: \"brew install clang-format@11 cppcheck; ln /usr/local/bin/clang-format-11 /usr/local/bin/clang-format\"\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v3\n      if: matrix.os == 'ubuntu-20.04' || github.event.pull_request.draft == false\n      with:\n        submodules: true\n        ref: develop\n    - name: Set up Python 3.8\n      if: matrix.os == 'ubuntu-20.04' || github.event.pull_request.draft == false\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Test Sources\n      if: matrix.os == 'ubuntu-20.04' || github.event.pull_request.draft == false\n      run: |\n        ${{ matrix.DEPENDENCIES_INSTALLATION }}\n        export OPENDR_HOME=$PWD\n        export OPENDR_DEVICE=cpu\n        pip install -r tests/requirements.txt\n        python -m unittest discover -s tests\n\n  install-toolkit:\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n        ref: develop\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Cache Python dependencies and virtual environment\n      id: cache-python-deps\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          venv\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/dependencies.ini') }}-${{ hashFiles('**/install.sh') }}\n        # restore-keys: |\n        #   ${{ runner.os }}-pip-\n    - name: Install toolkit and dependencies\n      if: steps.cache-python-deps.outputs.cache-hit != 'true'\n      run: |\n        export ROS_DISTRO=noetic\n        \n        ./bin/install.sh\n        source bin/activate.sh\n        python3 -m pip install -r tests/requirements.txt\n\n  test-tools:\n    needs: install-toolkit\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test tools') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        package:\n          - engine\n          - utils\n          - perception/activity_recognition\n          - perception/compressive_learning\n          - perception/face_recognition\n          - perception/heart_anomaly_detection\n          - perception/multimodal_human_centric\n          - perception/pose_estimation\n          - perception/fall_detection\n          - perception/gesture_recognition\n          - perception/speech_recognition\n          - perception/skeleton_based_action_recognition/costgcn\n          - perception/skeleton_based_action_recognition/pstgcn\n          - perception/skeleton_based_action_recognition/stbln\n          - perception/skeleton_based_action_recognition/stgcn\n          - perception/skeleton_based_action_recognition/tagcn\n          - perception/semantic_segmentation\n          - perception/binary_high_resolution\n          - perception/object_tracking_2d\n          # - perception/object_tracking_3d # passes, but disabled due to free() crash\n          - perception/object_tracking_3d/single_object_tracking\n          - perception/object_detection_2d/centernet\n          - perception/object_detection_2d/detr\n          - perception/object_detection_2d/gem\n          - perception/object_detection_2d/ssd\n          - perception/object_detection_2d/nanodet\n          - perception/object_detection_2d/yolov3\n          - perception/object_detection_2d/yolov5\n          - perception/object_detection_2d/retinaface\n          - perception/object_detection_2d/nms\n          - perception/speech_transcription/vosk\n          - perception/speech_transcription/whisper\n          # - perception/object_detection_3d # passes, but disabled due to free() crash\n          - perception/facial_expression_recognition\n          - simulation/human_model_generation\n          - control/mobile_manipulation\n          # - control/single_demo_grasp # Throws error, probably due to detectron2 installation #463\n          - planning/end_to_end_planning\n          - control/multi_object_search\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n        ref: develop\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Restore Python dependencies and virtual environment cache\n      id: cache-python-deps\n      uses: actions/cache@v3\n      with:\n        path: |\n          ~/.cache/pip\n          venv\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/dependencies.ini') }}-${{ hashFiles('**/install.sh') }}\n\n    - name: Run toolkit tests without cache\n      if: steps.cache-python-deps.outputs.cache-hit != 'true'\n      run: |\n        echo \"Restore cache failed, running regular installation and testing...\"\n        export ROS_DISTRO=noetic\n        export OPENDR_HOME=$PWD\n        \n        echo \"Running full OpenDR installation\"\n        ./bin/install.sh\n        source bin/activate.sh\n        python3 -m pip install -r tests/requirements.txt\n        \n        if [ ${{ matrix.package }} = \"ctests\" ]; then\n          make ctests\n        else\n          if [[ ${{ matrix.package }} == \"control/mobile_manipulation\" || ${{ matrix.package }} == \"planning/end_to_end_planning\" ]]; then\n            source tests/sources/tools/control/mobile_manipulation/run_ros.sh\n          fi\n\n          echo \"Running unittest discover for ${{ matrix.package }}\"\n          python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\n        fi\n\n    - name: Run toolkit tests with cache\n      if: steps.cache-python-deps.outputs.cache-hit == 'true'\n      run: |\n        export ROS_DISTRO=noetic\n        export OPENDR_HOME=$PWD\n        export OPENDR_DEVICE=cpu\n\n        # Reinstall some system dependencies\n        echo \"Installing system dependencies\"\n        sudo apt-get update\n        sudo apt-get install --yes unzip libfreetype6-dev lsb-release git python3-pip curl wget python3.8-venv ffmpeg\n        sudo apt-get install --yes libopenblas-dev libsndfile1 libboost-dev\n        \n        source bin/activate.sh\n\n        echo \"OpenDR env activated, running retinaface make\"\n        # This should probably run conditionally for tools that need it\n        cd $OPENDR_HOME/src/opendr/perception/object_detection_2d/retinaface\n        make\n        cd $OPENDR_HOME\n        \n        if [ ${{ matrix.package }} = \"ctests\" ]; then\n          make ctests\n        else\n          if [[ ${{ matrix.package }} == \"control/mobile_manipulation\" || ${{ matrix.package }} == \"planning/end_to_end_planning\"  || ${{ matrix.package }} == \"control/multi_object_search\" ]]; then\n            echo \"ROS $ROS_DISTRO Installation\"\n\n            echo \"Adding ROS repositories keys\"\n            sudo sh -c 'echo \"deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main\" > /etc/apt/sources.list.d/ros-latest.list' \\\n              && curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -\n            \n            sudo apt update\n            \n            # ROS package dependencies\n            if [[ ${ROS_DISTRO} == \"noetic\" || ${ROS_DISTRO} == \"melodic\" ]]; then\n              echo \"Installing ROS dependencies\"\n              sudo apt-get -y install ros-$ROS_DISTRO-vision-msgs ros-$ROS_DISTRO-geometry-msgs ros-$ROS_DISTRO-sensor-msgs ros-$ROS_DISTRO-audio-common-msgs ros-$ROS_DISTRO-hri-msgs ros-$ROS_DISTRO-usb-cam ros-$ROS_DISTRO-webots-ros\n            fi\n            \n            # ROS2 package dependencies\n            if [[ ${ROS_DISTRO} == \"foxy\" || ${ROS_DISTRO} == \"humble\" ]]; then\n              echo \"Installing ROS2 dependencies\"\n              sudo apt-get -y install python3-lark ros-$ROS_DISTRO-usb-cam ros-$ROS_DISTRO-webots-ros2 python3-colcon-common-extensions ros-$ROS_DISTRO-vision-msgs ros-$ROS_DISTRO-sensor-msgs-py\n              LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/$ROS_DISTRO/lib/controller\n              cd $OPENDR_HOME/projects/opendr_ws_2/\n              git clone --depth 1 --branch ros2 https://github.com/ros-drivers/audio_common src/audio_common\n              rosdep install -i --from-path src/audio_common --rosdistro $ROS_DISTRO -y\n              cd $OPENDR_HOME\n            fi\n\n            # Install libegl required by multi-object search\n            if [ ${{ matrix.package}} == \"control/multi_object_search\" ]; then\n              echo \"Installing libegl1 for multi-object search\"\n              sudo apt install libegl1-mesa-dev\n            fi\n\n            # Make and run mobile manipulation test\n            # End-to-end planning requires mobile manipulation to run\n            if [[ ${{ matrix.package }} == \"control/mobile_manipulation\" || ${{ matrix.package }} == \"planning/end_to_end_planning\" ]]; then\n              echo \"Installing mobile manipulation\"\n              cd src/opendr/control/mobile_manipulation/\n              make\n              cd ../../../..\n\n              echo \"Running mobile manipulation test\"\n              source tests/sources/tools/control/mobile_manipulation/run_ros.sh\n            fi\n          fi\n\n          echo \"Running unittest discover for ${{ matrix.package }}\"\n          python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\n        fi\n\n  build-wheel:\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n        ref: develop\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Install prerequisites\n      run: |\n        python3 -m pip install --upgrade pip\n        python3 -m pip install setuptools wheel twine\n    - name: Build Wheel\n      run:\n        ./bin/build_wheel.sh\n    - name: Upload wheel as artifact\n      uses: actions/upload-artifact@v2\n      with:\n        name: wheel-artifact\n        path:\n          dist/*.tar.gz\n\n  build-docker:\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Free Disk Space\n      uses: jlumbroso/free-disk-space@v1.3.1\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n        ref: develop\n    - name: Get branch name\n      id: branch-name\n      uses: tj-actions/branch-names@v7\n    - name: Build image\n      run: |\n        docker build --no-cache --tag opendr/opendr-toolkit:cpu_test --build-arg branch=${{ steps.branch-name.outputs.current_branch }} --build-arg ros_distro=noetic --file Dockerfile .\n        docker save opendr/opendr-toolkit:cpu_test > cpu_test.zip\n    - name: Upload image artifact\n      uses: actions/upload-artifact@v2\n      with:\n        name: docker-artifact\n        path:\n          cpu_test.zip\n\n  test-wheel:\n    needs: build-wheel\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        package:\n          - engine\n          - utils\n          - perception/activity_recognition\n          - perception/compressive_learning\n          - perception/face_recognition\n          - perception/heart_anomaly_detection\n          - perception/multimodal_human_centric\n          - perception/pose_estimation\n          - perception/fall_detection\n          - perception/gesture_recognition\n          - perception/speech_recognition\n          - perception/skeleton_based_action_recognition/costgcn\n          - perception/skeleton_based_action_recognition/pstgcn\n          - perception/skeleton_based_action_recognition/stbln\n          - perception/skeleton_based_action_recognition/stgcn\n          - perception/skeleton_based_action_recognition/tagcn\n          - perception/semantic_segmentation\n          - perception/binary_high_resolution\n          - perception/object_tracking_2d\n          # - perception/object_tracking_3d # passes, but disabled due to free() crash\n          - perception/object_detection_2d/centernet\n          - perception/object_detection_2d/detr\n          - perception/object_detection_2d/gem\n          - perception/object_detection_2d/ssd\n          - perception/object_detection_2d/nanodet\n          - perception/object_detection_2d/yolov3\n          - perception/object_detection_2d/yolov5\n          - perception/object_detection_2d/retinaface\n          - perception/object_detection_2d/nms\n          - perception/speech_transcription/vosk\n          - perception/speech_transcription/whisper\n          # - perception/object_detection_3d # passes, but disabled due to free() crash\n          - perception/facial_expression_recognition\n          - simulation/human_model_generation\n          #- control/multi_object_search\n          #- control/mobile_manipulation\n          #- control/single_demo_grasp\n          #- planning/end_to_end_planning\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n        ref: develop\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Download artifact\n      uses: actions/download-artifact@v2\n      with:\n        path: artifact\n    - name: Get branch name\n      id: branch-name\n      uses: tj-actions/branch-names@v7\n    - name: Test Wheel\n      run: |\n        export OPENDR_HOME=$PWD\n        export DISABLE_BCOLZ_AVX2=true\n        export OPENDR_DEVICE=cpu\n        export PYTHONPATH=$OPENDR_HOME/src:$PYTHONPATH\n        export ROS_DISTRO=noetic\n\n        sudo apt-get update\n        sudo apt -y install python3.8-venv libfreetype6-dev git build-essential cmake python3-dev wget libopenblas-dev libsndfile1 libboost-dev python3-dev python3-six ffmpeg\n\n        python3 -m venv venv\n        source venv/bin/activate\n        python3 -m pip install --upgrade pip\n        python3 -m pip install wheel==0.38.4 six\n\n        # install all tools one at a time\n        while read f; do\n          package=$(sed \"s/_/-/g\" <<< $f)\n          package=(${package//// })\n          if [ ! -z ${package[1]} ]; then package=${package[1]}; fi\n\n          if [ \"$package\" != \"opendr\" ]; then\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-$package-*.tar.gz\n          fi\n        done < packages.txt\n\n        cd src/opendr/perception/object_detection_2d/retinaface; make; cd $OPENDR_HOME\n\n        # run the test\n        python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\n\n  test-wheel-separate:\n    needs: build-wheel\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        package:\n          - engine\n          - utils\n          - perception/activity_recognition\n          - perception/compressive_learning\n          - perception/face_recognition\n          - perception/heart_anomaly_detection\n          - perception/multimodal_human_centric\n          - perception/pose_estimation\n          - perception/fall_detection\n          - perception/gesture_recognition\n          - perception/speech_recognition\n          - perception/skeleton_based_action_recognition/costgcn\n          - perception/skeleton_based_action_recognition/pstgcn\n          - perception/skeleton_based_action_recognition/stbln\n          - perception/skeleton_based_action_recognition/stgcn\n          - perception/skeleton_based_action_recognition/tagcn\n          - perception/semantic_segmentation\n          - perception/binary_high_resolution\n          - perception/object_tracking_2d\n          # - perception/object_tracking_3d # passes, but disabled due to free() crash\n          - perception/object_detection_2d/centernet\n          - perception/object_detection_2d/detr\n          - perception/object_detection_2d/gem\n          - perception/object_detection_2d/ssd\n          - perception/object_detection_2d/nanodet\n          - perception/object_detection_2d/yolov3\n          - perception/object_detection_2d/yolov5\n          - perception/object_detection_2d/retinaface\n          - perception/object_detection_2d/nms\n          - perception/speech_transcription/vosk\n          - perception/speech_transcription/whisper\n          # - perception/object_detection_3d # passes, but disabled due to free() crash\n          - perception/facial_expression_recognition\n          - simulation/human_model_generation\n          #- control/multi_object_search\n          #- control/mobile_manipulation\n          #- control/single_demo_grasp\n          #- planning/end_to_end_planning\n          #- control/multi_object_search\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: true\n        ref: develop\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n    - name: Download artifact\n      uses: actions/download-artifact@v2\n      with:\n        path: artifact\n    - name: Get branch name\n      id: branch-name\n      uses: tj-actions/branch-names@v7\n    - name: Test Wheel Separate\n      run: |\n        export OPENDR_HOME=$PWD\n        export DISABLE_BCOLZ_AVX2=true\n        export OPENDR_DEVICE=cpu\n        export PYTHONPATH=$OPENDR_HOME/src:$PYTHONPATH\n        export ROS_DISTRO=noetic\n\n        sudo apt-get update\n        sudo apt -y install python3.8-venv libfreetype6-dev git build-essential cmake python3-dev wget libopenblas-dev libsndfile1 libboost-dev libeigen3-dev python3-dev python3-six ffmpeg\n\n        python3 -m venv venv\n        source venv/bin/activate\n        python3 -m pip install --upgrade pip\n        python3 -m pip install wheel==0.38.4 six\n\n        # get the name of the wheel to install based on the test being run\n        package=$(sed \"s/_/-/g\" <<< ${{ matrix.package }})\n        package=(${package//// })\n        if [ ! -z ${package[1]} ]; then package=${package[1]}; fi\n\n        # all packages require the engine\n        python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-engine-*.tar.gz\n\n        # install specific package\n        if [ ${{ matrix.package }} == \"utils\" ]; then\n          python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-hyperparameter-tuner-*.tar.gz\n          python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-ambiguity-measure-*.tar.gz\n        else\n          # install required dependencies for derived tools, we do so manually to ensure the local one is used\n          if [ ${{ matrix.package }} == \"perception/fall_detection\" ]; then\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-pose-estimation-*.tar.gz\n          elif [ ${{ matrix.package }} == \"perception/heart_anomaly_detection\" ]; then\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-compressive-learning-*.tar.gz\n           elif [ ${{ matrix.package }} == \"perception/gesture_recognition\" ]; then\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-object-detection-2d-*.tar.gz\n          elif [ ${{ matrix.package }} == \"perception/multimodal_human_centric\" ]; then\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-compressive-learning-*.tar.gz\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-object-detection-2d-*.tar.gz\n          elif [ ${{ matrix.package }} == \"perception/object_tracking_3d\" ]; then\n            python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-object-detection-3d-*.tar.gz\n          fi\n\n          # install the package itself\n          python3 -m pip install --find-links ./artifact/wheel-artifact/ ./artifact/wheel-artifact/opendr-toolkit-$package-*.tar.gz\n        fi\n\n        if [[ ${{ matrix.package }} == \"perception/object_detection_2d/retinaface\" ]]; then\n          cd src/opendr/perception/object_detection_2d/retinaface; make; cd $OPENDR_HOME\n        fi\n\n        # run the test\n        python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\n\n  test-docker:\n    needs: build-docker\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'test release') || github.event_name == 'schedule' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04]\n        package:\n          - engine\n          - utils\n          - perception/activity_recognition\n          - perception/compressive_learning\n          - perception/face_recognition\n          - perception/heart_anomaly_detection\n          - perception/multimodal_human_centric\n          - perception/pose_estimation\n          - perception/fall_detection\n          - perception/gesture_recognition\n          - perception/speech_recognition\n          - perception/skeleton_based_action_recognition/costgcn\n          - perception/skeleton_based_action_recognition/pstgcn\n          - perception/skeleton_based_action_recognition/stbln\n          - perception/skeleton_based_action_recognition/stgcn\n          - perception/skeleton_based_action_recognition/tagcn\n          - perception/semantic_segmentation\n          - perception/binary_high_resolution\n          - perception/object_tracking_2d\n          # - perception/object_tracking_3d # passes, but disabled due to free() crash\n          - perception/object_detection_2d/centernet\n          - perception/object_detection_2d/detr\n          - perception/object_detection_2d/gem\n          - perception/object_detection_2d/ssd\n          - perception/object_detection_2d/nanodet\n          - perception/object_detection_2d/yolov3\n          - perception/object_detection_2d/yolov5\n          - perception/object_detection_2d/retinaface\n          - perception/object_detection_2d/nms\n          - perception/speech_transcription/vosk\n          - perception/speech_transcription/whisper\n          # - perception/object_detection_3d # passes, but disabled due to free() crash\n          - perception/facial_expression_recognition\n          - simulation/human_model_generation\n          - control/mobile_manipulation\n          # - control/single_demo_grasp\n          - planning/end_to_end_planning\n          # - control/multi_object_search # needs CUDA Docker container\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Free Disk Space\n      uses: jlumbroso/free-disk-space@v1.3.1\n    - name: Download artifact\n      uses: actions/download-artifact@v2\n      with:\n        path: artifact\n    - name: Test docker\n      run: |\n        docker load < ./artifact/docker-artifact/cpu_test.zip\n        docker run --name toolkit -i opendr/opendr-toolkit:cpu_test bash\n        docker start toolkit\n        if [[ ${{ matrix.package }} == \"control/mobile_manipulation\" || ${{ matrix.package }} == \"planning/end_to_end_planning\" ]]; then\n          docker exec -i toolkit bash -c \"source bin/activate.sh && source tests/sources/tools/control/mobile_manipulation/run_ros.sh && python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\"\n        else\n          docker exec -i toolkit bash -c \"source bin/activate.sh && python3 -m unittest discover -s tests/sources/tools/${{ matrix.package }}\"\n        fi\n\n  delete-docker-artifacts:\n    needs: [build-docker, test-docker]\n    if: ${{ always() }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: Delete docker artifacts\n      uses: geekyeggo/delete-artifact@v1\n      with:\n        name: docker-artifact\n\n  delete-wheel-artifacts:\n    needs: [build-wheel, test-wheel, test-wheel-separate]\n    if: ${{ always() }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: Delete wheel artifacts\n      uses: geekyeggo/delete-artifact@v1\n      with:\n        name: wheel-artifact\n", "state": "active", "repository": "opendr-eu/opendr"}
{"mined_at": "2024-07-15T16:54:26.455154", "created_at": "2023-04-24T02:37:22+02:00", "updated_at": "2023-04-24T02:37:22+02:00", "name": "ci", "path": ".github/workflows/check_for_updates.yml", "contents": null, "state": "active", "repository": "hummingbot/hummingbot"}
{"mined_at": "2024-07-15T16:54:27.529701", "created_at": "2024-03-07T12:16:46+01:00", "updated_at": "2024-03-26T07:55:11+01:00", "name": "Client Docker Buildx Workflow", "path": ".github/workflows/docker_buildx_workflow.yml", "contents": "name: Client Docker Buildx Workflow\n\non:\n  pull_request:\n    types: [closed]\n    branches:\n      - master\n      - development\n  release:\n    types: [published, edited]\n\njobs:\n  build_pr:\n    if: github.event_name == 'pull_request' && github.event.pull_request.merged == true\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3.1.0\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3 \n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push Development Image\n        if: github.base_ref == 'development'\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: hummingbot/hummingbot:development\n\n      - name: Build and push Latest Image\n        if: github.base_ref == 'master'\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: hummingbot/hummingbot:latest\n\n  build_release:\n    if: github.event_name == 'release'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3.1.0\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Extract tag name\n        id: get_tag\n        run: echo ::set-output name=VERSION::version-${GITHUB_REF#refs/tags/v}  \n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: hummingbot/hummingbot:${{ steps.get_tag.outputs.VERSION }}\n", "state": "active", "repository": "hummingbot/hummingbot"}
{"mined_at": "2024-07-15T16:54:28.607175", "created_at": "2020-08-27T21:50:48+02:00", "updated_at": "2021-09-13T23:01:31+02:00", "name": "ci", "path": ".github/workflows/workflow.yml", "contents": "name: ci\n\non:\n  push:\n    branches: [master, development, 'refactor/unit_tests**', 'epic/**']\n  pull_request:\n    branches: [master, development, 'refactor/unit_tests**', 'epic/**']\n    types: [ready_for_review, opened, synchronize, reopened]\n\njobs:\n  run_client:\n    name: Check if client files changed\n    outputs:\n      is_set: ${{ steps.check_files.outputs.is_set }}\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: technote-space/get-diff-action@v6\n        with:\n          PATTERNS: |\n            **/*.+(py|pyx|pyd|yml)\n      - name: Check if client files are modified\n        id: check_files\n        if: env.GIT_DIFF\n        run: |\n          echo ${{ env.GIT_DIFF }}\n          echo \"::set-output name=is_set::true\"\n\n  build_hummingbot:\n    name: Hummingbot build + stable tests\n    needs: run_client\n    if: github.event.pull_request.draft == false && needs.run_client.outputs.is_set == 'true'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      # Use cache's hashFiles function to check for changes in core code\n      - name: Check for code changes\n        id: program-changes\n        uses: actions/cache@v3\n        env:\n          # Increase this value to manually reset cache if program files have not changed\n          CACHE_NUMBER: 0\n        with:\n          path: README.md # placeholder file\n          key: ${{ runner.os }}-build-${{ env.CACHE_NUMBER }}-${{ hashFiles('hummingbot/*', '**/*.py', '**/*.py*', '**/*.pxd', 'test/*') }}\n\n      # Check for setup/environment.yml changes\n      - name: Cache conda dependencies\n        id: conda-dependencies\n        uses: actions/cache@v3\n        env:\n          # Increase this value to manually reset cache if setup/environment.yml has not changed\n          CONDA_CACHE_NUMBER: 0\n        with:\n          path: |\n            /home/runner/conda_pkgs_dir/\n            /usr/share/miniconda/envs\n          key: ${{ runner.os }}-conda-${{ env.CONDA_CACHE_NUMBER }}-${{ hashFiles('setup/environment.yml') }}\n\n      # Install environment and Hummingbot\n      - name: Install environment and Hummingbot\n        uses: ./.github/actions/install_env_and_hb\n        with:\n          program-cache-hit: ${{steps.program-changes.outputs.cache-hit}}\n          dependencies-cache-hit: ${{steps.conda-dependencies.outputs.cache-hit}}\n\n      # Compile and run tests if code has changed\n      - name: Run pre-commit hooks on diff\n        shell: bash\n        if: steps.program-changes.outputs.cache-hit != 'true' || steps.conda-dependencies.outputs.cache-hit != 'true'\n        run: |\n          source $CONDA/etc/profile.d/conda.sh\n          conda activate hummingbot\n          pre-commit run --files $(git diff --name-only origin/$GITHUB_BASE_REF)\n\n      - name: Run stable tests and calculate coverage\n        if: steps.program-changes.outputs.cache-hit != 'true' || steps.conda-dependencies.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          source $CONDA/etc/profile.d/conda.sh\n          conda activate hummingbot\n          make test\n\n      - name: Check and report global coverage\n        if: steps.program-changes.outputs.cache-hit != 'true' || steps.conda-dependencies.outputs.cache-hit != 'true'\n        shell: bash\n        run: |\n          source $CONDA/etc/profile.d/conda.sh\n          conda activate hummingbot\n          make report_coverage\n\n      - name: Validate coverage for the changes\n        if: github.event_name == 'pull_request' && (steps.program-changes.outputs.cache-hit != 'true' || steps.conda-dependencies.outputs.cache-hit != 'true')\n        shell: bash\n        run: |\n          source $CONDA/etc/profile.d/conda.sh\n          conda activate hummingbot\n          git fetch --all -q\n          git checkout -b $GITHUB_SHA\n          coverage xml\n          diff-cover --compare-branch=origin/$GITHUB_BASE_REF --fail-under=80 coverage.xml\n\n      # Notify results to discord\n      - name: Discord Webhook Action\n        id: discord-direct-webhook\n        if: always() && github.event_name == 'pull_request'\n        continue-on-error: true\n        uses: tsickert/discord-webhook@v5.2.0\n        with:\n          webhook-url: ${{ secrets.WEBHOOK_URL }}\n          raw-data: ${{ matrix.target }}-build_report.json\n\n      # Notify results to discord\n      - uses: ruby/setup-ruby@v1\n        if: github.event_name != 'pull_request' && steps.discord-direct-webhook.outcome == 'failure'\n      - name: Send Webhook Notification\n        if: github.event_name != 'pull_request' && steps.discord-direct-webhook.outcome == 'failure'\n        env:\n          JOB_STATUS: ${{ job.status }}\n          WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}\n          HOOK_OS_NAME: ${{ runner.os }}\n          WORKFLOW_NAME: ${{ github.workflow }}\n        run: |\n          git clone --depth 1 https://github.com/DiscordHooks/github-actions-discord-webhook.git webhook\n          bash webhook/send.sh $JOB_STATUS $WEBHOOK_URL\n        shell: bash\n", "state": "active", "repository": "hummingbot/hummingbot"}
{"mined_at": "2024-07-15T16:54:30.624779", "created_at": "2023-10-20T12:16:38+02:00", "updated_at": "2023-10-20T12:17:58+02:00", "name": "Main and Dev Checks", "path": ".github/workflows/main_dev_check.yml", "contents": "# main_dev_check\nname: Main and Dev Checks\n\non:\n  push:\n    branches:\n      - main\n      - dev\n  pull_request:\n    branches:\n      - main\n      - dev\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n\n      - name: Lint with flake8\n        run: |\n          pip install flake8\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n      - name: Test with pytest\n        run: |\n          pip install pytest\n          pytest\n", "state": "active", "repository": "akfamily/akshare"}
{"mined_at": "2024-07-15T16:54:31.664819", "created_at": "2020-03-04T16:15:52+01:00", "updated_at": "2022-01-26T13:52:22+01:00", "name": "Release and Deploy", "path": ".github/workflows/release_and_deploy.yml", "contents": "# release_and_deploy\nname: Release and Deploy\n\non:\n  push:\n    tags:\n      - 'release-v*.*.*'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n\n      - name: Build and publish package\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n\n      - name: Create GitHub release\n        uses: softprops/action-gh-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "akfamily/akshare"}
{"mined_at": "2024-07-15T16:54:33.681033", "created_at": "2022-08-01T17:13:59+02:00", "updated_at": "2024-01-06T22:18:41+01:00", "name": "Test Councils", "path": ".github/workflows/behave.yml", "contents": "name: Test Councils\n\non:\n  workflow_dispatch:\n  push:\n    # Trigger unless only the wiki directory changed\n    paths-ignore:\n      - \"wiki/**\"\n      - \"**/**.md\"\n      - \"uk_bin_collection_api_server/**\"\n    branches: [ \"master\" ]\n  pull_request:\n    # Trigger unless only the wiki directory changed\n    paths-ignore:\n      - \"wiki/**\"\n      - \"**/**.md\"\n      - \"uk_bin_collection_api_server/**\"\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  build:\n    if: \"!startsWith(github.event.head_commit.message, 'bump:')\"\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.11, 3.12]\n        poetry-version: [1.8.3]\n    services:\n      selenium:\n        image: selenium/standalone-chrome:latest\n        options: --shm-size=2gb --name selenium --hostname selenium\n        ports:\n          - 4444:4444\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install poetry\n        run: pipx install poetry==${{ matrix.poetry-version }}\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          #cache: 'poetry'\n\n      - name: Install\n        run: make install\n\n      - name: Lint JSON\n        run: jq empty uk_bin_collection/tests/input.json\n\n      - name: Check Parity of Councils / input.json / Feature file\n        run: |\n          repo=${{ github.event.pull_request.head.repo.full_name || 'robbrad/UKBinCollectionData' }}\n          branch=${{ github.event.pull_request.head.ref || 'master' }}\n          make parity-check repo=$repo branch=$branch\n\n      - name: Get all councils files that have changed\n        id: changed-council-files\n        uses: tj-actions/changed-files@v44\n        with:\n          files: |\n            uk_bin_collection/uk_bin_collection/councils/**.py\n\n      - name: Get all councils\n        env:\n          ALL_CHANGED_FILES: ${{ steps.changed-council-files.outputs.all_changed_files }}\n        run: |\n          IFS=' ' read -ra FILES <<< \"$ALL_CHANGED_FILES\"\n          COUNCIL_TESTS=\"\"\n          for file in \"${FILES[@]}\"; do\n            FILENAME=$(basename \"$file\" .py)\n            if [ -z \"$COUNCIL_TESTS\" ]; then\n              COUNCIL_TESTS=\"$FILENAME\"\n            else\n              COUNCIL_TESTS=\"$COUNCIL_TESTS or $FILENAME\"\n            fi\n          done\n          echo \"COUNCIL_TESTS=${COUNCIL_TESTS}\" >> $GITHUB_ENV\n\n      - name: Run integration tests\n        env:\n          HEADLESS: True\n        run: make matrix=${{ matrix.python-version }} councils=\"${{ env.COUNCIL_TESTS }}\" integration-tests\n        continue-on-error: true\n\n      - name: Run unit tests\n        run: make unit-tests\n        continue-on-error: true\n\n      - name: Upload test coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          gcov_ignore: uk_bin_collection/tests/**\n\n      - name: Get Allure history\n        uses: actions/checkout@v4\n        if: github.ref == 'refs/heads/master'\n        continue-on-error: true\n        with:\n          ref: gh-pages\n          path: gh-pages\n\n      - name: Allure report action from marketplace\n        uses: simple-elf/allure-report-action@master\n        if: github.ref == 'refs/heads/master'\n        with:\n          allure_results: build/${{ matrix.python-version }}/allure-results\n          subfolder: ${{ matrix.python-version }}\n          allure_history: allure-history\n          keep_reports: 20\n\n      - name: Tar report\n        if: github.ref == 'refs/heads/master'\n        run: tar -cvf allure_history_${{ matrix.python-version }}.tar allure-history/${{ matrix.python-version }}\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        if: github.ref == 'refs/heads/master'\n        with:\n          name: allure_history_${{ matrix.python-version }}\n          path: allure_history_${{ matrix.python-version }}.tar\n\n  deploy:\n    runs-on: ubuntu-latest\n    needs: build\n    if: github.ref == 'refs/heads/master'\n    steps:\n\n      - uses: actions/download-artifact@v4\n        name: Download 3.11 artifacts\n        with:\n          name: allure_history_3.11\n          path: allure-history/tars\n\n      - uses: actions/download-artifact@v4\n        name: Download 3.12 artifacts\n        with:\n          name: allure_history_3.12\n          path: allure-history/tars\n\n      - name: Untar reports\n        run: for i in allure-history/tars/*.tar; do tar -xvf \"$i\" allure-history ;done\n\n      - name: Remove tar reports\n        run: rm -rf allure-history/tars\n\n      - name: Display structure of downloaded files\n        run: ls -R\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PUBLISH_BRANCH: gh-pages\n          PUBLISH_DIR: allure-history\n", "state": "active", "repository": "robbrad/ukbincollectiondata"}
{"mined_at": "2024-07-15T16:54:34.701647", "created_at": "2023-09-27T20:33:37+02:00", "updated_at": "2023-09-27T20:33:37+02:00", "name": "Bump Version", "path": ".github/workflows/bump.yml", "contents": "name: Bump Version\n\non:\n  push:\n    # Trigger unless only the wiki directory changed\n    paths-ignore:\n      - \"wiki/**\"\n      - \"**/**.md\"\n    branches: [ \"master\" ]\n\njobs:\n  bump:\n    if: \"!startsWith(github.event.head_commit.message, 'bump:')\"\n    runs-on: ubuntu-latest\n    environment: bump\n    concurrency: bump\n    permissions:\n      id-token: write\n      contents: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: \"${{ secrets.PERSONAL_ACCESS_TOKEN }}\"\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: Bump version\n        id: cz\n        uses: commitizen-tools/commitizen-action@master\n        with:\n          github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n", "state": "active", "repository": "robbrad/ukbincollectiondata"}
{"mined_at": "2024-07-15T16:54:35.835451", "created_at": "2022-08-03T22:17:15+02:00", "updated_at": "2022-08-03T22:17:15+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    # Trigger unless only the wiki directory changed\n    paths:\n      - \"**/**.py\"\n      - \"**.py\"\n    branches: [ \"master\" ]\n  pull_request:\n    # Trigger unless only the wiki directory changed\n    paths:\n      - \"**/**.py\"\n      - \"**.py\"\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '36 13 * * 5'\n\njobs:\n  analyze:\n    if: \"!startsWith(github.event.head_commit.message, 'bump:')\"\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "robbrad/ukbincollectiondata"}
{"mined_at": "2024-07-15T16:54:36.838710", "created_at": "2024-01-04T15:19:11+01:00", "updated_at": "2024-01-04T15:19:11+01:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Docker Image CI\n\non:\n  push:\n    # Trigger unless only the wiki directory changed\n    paths:\n      - \"uk_bin_collection_api_server/**\"\n      - \".github/workflows/docker-image.yml\"\n    branches: [ \"master\" ]\n  pull_request:\n    # Trigger unless only the wiki directory changed\n    paths:\n      - \"uk_bin_collection_api_server/**\"\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * 0' # This runs at 00:00 on Sunday every week\n\njobs:\n\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Publish to Registry\n      uses: elgohr/Publish-Docker-Github-Action@v5\n      with:\n        name: robbrad182/uk-bin-collection\n        username: ${{ secrets.DOCKER_USERNAME }}\n        password: ${{ secrets.DOCKER_API_KEY }}\n        workdir: uk_bin_collection_api_server\n", "state": "active", "repository": "robbrad/ukbincollectiondata"}
{"mined_at": "2024-07-15T16:54:37.985423", "created_at": "2024-01-01T13:22:16+01:00", "updated_at": "2024-01-01T13:22:16+01:00", "name": "Validate with hassfest", "path": ".github/workflows/hacs_validation.yml", "contents": "name: Validate with hassfest\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  hassfest_validation:\n    name: HassFest Validation\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: \"actions/checkout@v4\"\n      - uses: home-assistant/actions/hassfest@master\n  hacs:\n    name: HACS Action Validation\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - name: HACS Action\n        uses: \"hacs/action@main\"\n        with:\n          category: \"integration\"\n", "state": "active", "repository": "robbrad/ukbincollectiondata"}
{"mined_at": "2024-07-15T16:54:39.096775", "created_at": "2023-09-17T21:40:43+02:00", "updated_at": "2023-09-17T23:55:49+02:00", "name": "Lint Commit Message", "path": ".github/workflows/lint.yml", "contents": "name: Lint Commit Message\n\non:\n  push:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n\njobs:\n  # Make sure commit messages follow the conventional commits convention:\n  # https://www.conventionalcommits.org\n  commitlint:\n    if: \"!startsWith(github.event.head_commit.message, 'bump:')\"\n    name: Lint Commit Messages\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - run: \"echo \\\"export default {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [0], 'body-max-line-length': [0], 'footer-max-line-length': [0] }}\\\" > commitlint.config.mjs\"\n      - uses: wagoid/commitlint-github-action@v6\n", "state": "active", "repository": "robbrad/ukbincollectiondata"}
{"mined_at": "2024-07-15T16:54:40.330565", "created_at": "2023-07-16T12:09:30+02:00", "updated_at": "2023-09-17T23:55:49+02:00", "name": "Publish Release", "path": ".github/workflows/release.yml", "contents": "name: Publish Release\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n      contents: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: Run image\n        uses: abatilo/actions-poetry@v3.0.0\n        with:\n          poetry-version: '1.8.3'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install wheel twine\n\n      - name: Install\n        run: make install\n\n      - name: Set release version\n        run: echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n\n      - name: Create release\n        uses: ncipollo/release-action@v1\n        with:\n          tag: ${{ env.RELEASE_VERSION }}\n          generateReleaseNotes: true\n          prerelease: true\n          allowUpdates: true\n\n      - name: Build and publish package\n        run: |\n          poetry config pypi-token.pypi \"${{ secrets.PYPI_API_KEY }}\"\n          poetry publish --build\n", "state": "active", "repository": "robbrad/ukbincollectiondata"}
{"mined_at": "2024-07-15T16:54:41.605044", "created_at": "2023-02-25T12:48:16+01:00", "updated_at": "2023-02-25T18:15:21+01:00", "name": "Deploy Wiki", "path": ".github/workflows/wiki.yml", "contents": "name: Deploy Wiki\n\non:\n  push:\n    # Trigger only when wiki directory changes\n    paths:\n      - \"wiki/**\"\n      - \"uk_bin_collection/tests/input.json\"\n    branches: [ \"master\" ]\n  pull_request:\n    # Trigger only when wiki directory changes\n    paths:\n      - \"wiki/**\"\n      - \"uk_bin_collection/tests/input.json\"\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n\njobs:\n  deploy-wiki:\n    # Only run on main branch push (e.g. after pull request merge).\n    if: github.event_name == 'push'\n    runs-on: ubuntu-latest\n    environment: wiki\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Run image\n      uses: abatilo/actions-poetry@v3.0.0\n      with:\n        poetry-version: '1.8.3'\n\n    - name: Install\n      run: make install\n\n    - name: Update Councils.md from input.json\n      run: make update-wiki\n\n    - name: Commit and Push Wiki changes\n      run: |\n        git config --global user.name \"Wiki GitHub Action\"\n        git config --global user.email \"action@github.com\"\n        git add wiki\n        git commit -m \"docs: Update Councils.md from input.json\"\n        git push\n      continue-on-error: true\n\n    - name: Deploy Wiki Changes\n      uses: Andrew-Chen-Wang/github-wiki-action@v4\n      with:\n        # Make sure WIKI_DIR ends with / as action uses rsync\n        path: wiki/\n        ignore: \"generate_wiki.py\"\n", "state": "active", "repository": "robbrad/ukbincollectiondata"}
{"mined_at": "2024-07-15T16:54:42.651011", "created_at": "2022-08-03T22:07:47+02:00", "updated_at": "2022-08-03T22:07:47+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "robbrad/ukbincollectiondata"}
{"mined_at": "2024-07-15T16:54:44.767467", "created_at": "2024-06-19T14:37:53+02:00", "updated_at": "2024-06-19T15:40:03+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": null, "state": "active", "repository": "paddlepaddle/paddlescience"}
{"mined_at": "2024-07-15T16:54:46.030375", "created_at": "2024-06-19T14:01:20+02:00", "updated_at": "2024-06-19T14:01:20+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "paddlepaddle/paddlescience"}
{"mined_at": "2024-07-15T16:54:48.417874", "created_at": "2024-01-17T18:19:05+01:00", "updated_at": "2024-01-17T18:19:05+01:00", "name": "Compare Single FBA", "path": ".github/workflows/compare_single_FBA.yml", "contents": "# This workflow will generate an FBA and compare to data commons\n\nname: Compare Single FBA\n\non:\n  workflow_dispatch:      # manual trigger only\n    inputs:\n        source:\n            description: \"FBA\"\n            required: true\n            default: \"EIA_MECS_Energy\"\n        year:\n            description: \"year\"\n            required: true\n            default: 2014\n\njobs:\n  build:\n    runs-on: macos-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n\n    - name: Update pip\n      run: |\n        python -VV\n        python -m pip install --upgrade pip setuptools wheel\n        pip install pytest\n\n    # install package & dependencies\n    - name: Install package and dependencies\n      env:\n        # Temporary fix to avoid git lfs error in fedelemflowlist install https://github.com/git-lfs/git-lfs/issues/5749\n        GIT_CLONE_PROTECTION_ACTIVE: false\n      run: |\n        pip install .\n\n    - name: Generate FBA\n      env:\n          SOURCE: ${{ github.event.inputs.source }}\n          YEAR: ${{ github.event.inputs.year }}\n      run: |\n        echo \"Source: ${{ github.event.inputs.source }}\"\n        echo \"Year: ${{ github.event.inputs.year }}\"\n        python tests/test_FBA_against_remote.py --source $SOURCE --year $YEAR\n\n    - name: Upload files\n      if: always()\n      uses: actions/upload-artifact@v3.1.1\n      with:\n        # Artifact name\n        name: \"${{ github.event.inputs.source }} ${{ github.event.inputs.year }}\"\n        # A file, directory or wildcard patter that describes what to upload\n        path: | # uses local user data dir for macos\n          ~/Library/Application Support/flowsa/FBAComparisons/*\n          ~/Library/Application Support/flowsa/FlowByActivity/*\n          ~/Library/Application Support/flowsa/Log/*\n        if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn`\n        # retention-days: 5 # cannot exceed the retention limit set by the repository, organization, or enterprise.\n", "state": "active", "repository": "usepa/flowsa"}
{"mined_at": "2024-07-15T16:54:49.489620", "created_at": "2022-10-05T20:08:48+02:00", "updated_at": "2022-10-05T20:08:48+02:00", "name": "Compare Single FBS", "path": ".github/workflows/compare_single_FBS.yml", "contents": "# This workflow will generate an FBS and compare to data commons\n\nname: Compare Single FBS\n\non:\n  workflow_dispatch:      # manual trigger only\n    inputs:\n        method:\n            description: \"FBS\"\n            required: true\n            default: \"CAP_HAP_national_2017_m1\"\n\njobs:\n  build:\n    runs-on: macos-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n\n    - name: Update pip\n      run: |\n        python -VV\n        python -m pip install --upgrade pip setuptools wheel\n        pip install pytest\n\n    # install package & dependencies\n    - name: Install package and dependencies\n      env:\n        # Temporary fix to avoid git lfs error in fedelemflowlist install https://github.com/git-lfs/git-lfs/issues/5749\n        GIT_CLONE_PROTECTION_ACTIVE: false\n      run: |\n        pip install .\n\n    - name: Generate FBS\n      env:\n          METHOD: ${{ github.event.inputs.method }}\n      run: |\n        echo \"Method: ${{ github.event.inputs.method }}\"\n        python tests/test_single_FBS.py --method $METHOD\n\n    - name: Upload files\n      if: always()\n      uses: actions/upload-artifact@v3.1.1\n      with:\n        # Artifact name\n        name: \"${{ github.event.inputs.method }}\"\n        # A file, directory or wildcard patter that describes what to upload\n        path: | # uses local user data dir for macos\n          ~/Library/Application Support/flowsa/FBSComparisons/*\n          ~/Library/Application Support/flowsa/FlowBySector/*\n          ~/Library/Application Support/flowsa/Log/*\n        if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn`\n        # retention-days: 5 # cannot exceed the retention limit set by the repository, organization, or enterprise.\n", "state": "active", "repository": "usepa/flowsa"}
{"mined_at": "2024-07-15T16:54:50.555089", "created_at": "2023-08-03T22:19:20+02:00", "updated_at": "2023-08-03T22:19:20+02:00", "name": "Generate FBA", "path": ".github/workflows/generate_FBA.yml", "contents": "# This workflow will generate a single FBA\n\nname: Generate FBA\n\non:\n  workflow_dispatch:      # manual trigger only\n    inputs:\n        source:\n            description: \"FBA\"\n            required: true\n            default: \"EPA_NEI_Nonroad\"\n        year:\n            description: \"year\"\n            required: true\n            default: 2017\n\njobs:\n  build:\n    runs-on: macos-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n\n    - name: Update pip\n      run: |\n        python -VV\n        python -m pip install --upgrade pip setuptools wheel\n        pip install pytest\n\n    # install package & dependencies\n    - name: Install package and dependencies\n      env:\n        # Temporary fix to avoid git lfs error in fedelemflowlist install https://github.com/git-lfs/git-lfs/issues/5749\n        GIT_CLONE_PROTECTION_ACTIVE: false\n      run: |\n        pip install .\n\n    - name: Generate FBA\n      env:\n          SOURCE: ${{ github.event.inputs.source }}\n          YEAR: ${{ github.event.inputs.year }}\n      run: |\n        echo \"Source: ${{ github.event.inputs.source }}\"\n        echo \"Year: ${{ github.event.inputs.year }}\"\n        python tests/test_single_FBA.py --source $SOURCE --year $YEAR\n\n    - name: Upload files\n      if: always()\n      uses: actions/upload-artifact@v3.1.1\n      with:\n        # Artifact name\n        name: \"${{ github.event.inputs.source }} ${{ github.event.inputs.year }}\"\n        # A file, directory or wildcard patter that describes what to upload\n        path: | # uses local user data dir for macos\n          ~/Library/Application Support/flowsa/FlowByActivity/*\n          ~/Library/Application Support/flowsa/Log/*\n        if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn`\n        # retention-days: 5 # cannot exceed the retention limit set by the repository, organization, or enterprise.\n", "state": "active", "repository": "usepa/flowsa"}
{"mined_at": "2024-07-15T16:54:51.588035", "created_at": "2021-10-15T16:55:19+02:00", "updated_at": "2021-12-27T19:25:13+01:00", "name": "Python CI/CD tests", "path": ".github/workflows/python-app.yml", "contents": "# This workflow will install Python dependencies, run tests and lint\n# across operating systems, select versions of Python, and user + dev environments\n# For more info see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python CI/CD tests\n\non:\n  push:\n    # branches: [master, develop]\n    paths-ignore:               # prevents workflow execution when only these types of files are modified\n      - '**.md'                 # wildcards prevent file in any repo dir from trigering workflow\n      - '**.bib'\n      - '**.ya?ml'              # captures both .yml and .yaml\n      - 'LICENSE'\n      - '.gitignore'\n  pull_request:\n    branches: [master, develop]\n    types: [opened, reopened]   # excludes syncronize to avoid redundant trigger from commits on PRs\n    paths-ignore:\n      - '**.md'\n      - '**.bib'\n      - '**.ya?ml'\n      - 'LICENSE'\n      - '.gitignore'\n  workflow_dispatch:            # also allow manual trigger, for testing purposes\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        py-version: ['3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v3\n\n    # general Python setup\n    - name: Set up Python ${{ matrix.py-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.py-version }}\n\n    - name: Update pip & install testing pkgs\n      run: |\n        python -VV\n        python -m pip install --upgrade pip setuptools wheel\n        pip install pytest pytest-cov flake8\n\n    # install package & dependencies\n    - name: Install package and dependencies\n      env:\n        # Temporary fix to avoid git lfs error in fedelemflowlist install https://github.com/git-lfs/git-lfs/issues/5749\n        GIT_CLONE_PROTECTION_ACTIVE: false\n      run: |\n        pip install .\n\n    # linting & pytest\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n\n    - name: Test with pytest\n      run: |\n        pytest --doctest-modules -m \"not generate_fbs\"\n\n  FBS_method_testing:\n    runs-on: macos-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n\n    - name: Update pip & install testing pkgs\n      run: |\n        python -VV\n        python -m pip install --upgrade pip setuptools wheel\n        pip install pytest pytest-cov flake8\n\n    # install package & dependencies\n    - name: Install package and dependencies\n      env:\n        # Temporary fix to avoid git lfs error in fedelemflowlist install https://github.com/git-lfs/git-lfs/issues/5749\n        GIT_CLONE_PROTECTION_ACTIVE: false\n      run: |\n        pip install .\n\n    - name: Test FBS config\n      run: |\n        python tests/test_FBS_methods.py\n", "state": "active", "repository": "usepa/flowsa"}
{"mined_at": "2024-07-15T16:54:52.681207", "created_at": "2022-03-12T20:07:05+01:00", "updated_at": "2022-05-16T22:53:05+02:00", "name": "Testing for FlowByActivity and FlowBySector Methods", "path": ".github/workflows/test_methods.yml", "contents": "# This workflow provides testing for FlowByActivity configurations and\n# generates FlowBySector files and compares to the latest public version\n\nname: Testing for FlowByActivity and FlowBySector Methods\n\non:\n  # push: # removed to run only on pull request\n  pull_request:\n    branches: [master, develop]\n    types: [opened, reopened, ready_for_review]   # excludes syncronize to avoid redundant trigger from commits on PRs\n  workflow_dispatch:            # also allow manual trigger, for testing purposes\n\njobs:\n  FBA_testing:\n    runs-on: macos-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n\n    - name: Update pip & install testing pkgs\n      run: |\n        python -VV\n        python -m pip install --upgrade pip setuptools wheel\n        pip install pytest pytest-cov flake8\n\n    # install package & dependencies\n    - name: Install package and dependencies\n      env:\n        # Temporary fix to avoid git lfs error in fedelemflowlist install https://github.com/git-lfs/git-lfs/issues/5749\n        GIT_CLONE_PROTECTION_ACTIVE: false\n      run: |\n        pip install .\n\n    - name: Test FBA config\n      run: |\n        python tests/test_methods.py\n\n  FBS_testing:\n    runs-on: macos-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n\n    - name: Update pip & install testing pkgs\n      run: |\n        python -VV\n        python -m pip install --upgrade pip setuptools wheel\n        pip install pytest pytest-cov flake8\n\n    # install package & dependencies\n    - name: Install package and dependencies\n      env:\n        # Temporary fix to avoid git lfs error in fedelemflowlist install https://github.com/git-lfs/git-lfs/issues/5749\n        GIT_CLONE_PROTECTION_ACTIVE: false\n      run: |\n        pip install .\n\n    - name: Compare FBS with remote\n      id: FBS\n      if: always() # Proceed even if Test FBA fails\n      run: |\n        for m in $(python tests/test_FBS_against_remote.py list)\n        do\n          python tests/test_FBS_against_remote.py \"$m\"\n        done\n\n    - name: Upload csv files\n      # if: steps.FBS.outcome == 'success' # Upload csv only if step succeeds\n      if: always()\n      uses: actions/upload-artifact@v3.1.1\n      with:\n        # Artifact name\n        name: FBS diff files\n        # A file, directory or wildcard patter that describes what to upload\n        path: |\n            ~/Library/Application Support/flowsa/FBSComparisons/*\n            ~/Library/Application Support/flowsa/FlowBySector/*\n            ~/Library/Application Support/flowsa/Log/*\n        if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn`\n        # retention-days: 5 # cannot exceed the retention limit set by the repository, organization, or enterprise.\n", "state": "active", "repository": "usepa/flowsa"}
{"mined_at": "2024-07-15T16:54:55.085777", "created_at": "2023-07-10T01:56:43+02:00", "updated_at": "2023-07-17T02:59:21+02:00", "name": "Deploy Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Deploy Documentation\non:\n  push:\n    paths:\n      - \".github/workflows/docs.yml\"\n      - \"docs/**\"\n\njobs:\n  deploy:\n    name: Deploy Documentation\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n\n    steps:\n      - name: Trigger Documentation Deploy\n        uses: benc-uk/workflow-dispatch@v1\n        with:\n          workflow: deploy.yml\n          repo: LunarClient/lunarclient.dev-Build\n          ref: refs/heads/master\n          inputs: '{\"repo\": \"${{ github.repository }}\", \"ref\": \"${{ github.ref }}\", \"sha\": \"${{ github.sha }}\"}'\n          token: ${{ secrets.DISPATCH_TOKEN }}\n", "state": "active", "repository": "lunarclient/servermappings"}
{"mined_at": "2024-07-15T16:54:56.315051", "created_at": "2022-09-01T09:31:19+02:00", "updated_at": "2022-09-01T09:31:19+02:00", "name": "Ping Servers", "path": ".github/workflows/ping-servers.yml", "contents": "name: Ping Servers\n\non:\n  push:\n    branches:\n      - master\n  workflow_dispatch:\n\njobs:\n  ping-servers:\n    name: Ping Servers\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout from GitHub\n        uses: actions/checkout@v4\n\n      - name: Setup Python 3.x\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - name: Install Python dependencies\n        run: pip install -r .scripts/requirements.txt\n\n      - name: Validate Server Status\n        run: python .scripts/validate_status.py --servers_dir servers --inactive_file inactive.json\n", "state": "active", "repository": "lunarclient/servermappings"}
{"mined_at": "2024-07-15T16:54:57.382254", "created_at": "2022-04-12T01:02:36+02:00", "updated_at": "2022-04-12T01:03:07+02:00", "name": "Validate and upload", "path": ".github/workflows/validate-upload.yml", "contents": "name: Validate and upload\n\non:\n  push:\n    branches:\n      - master\n  pull_request_target:\n    branches:\n      - \"*\"\n\njobs:\n  changes:\n    runs-on: ubuntu-latest\n    name: Determine Changes\n    outputs:\n      servers: ${{ steps.filter.outputs.servers }}\n      servers_files: ${{ steps.filter.outputs.servers_files }}\n      dry: ${{ steps.filter.outputs.dry }}\n    steps:\n      - name: Checkout from Github\n        uses: actions/checkout@v4\n\n      - name: Determine Changes\n        uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          list-files: json\n          filters: |\n            servers:\n              - added|modified|deleted: 'servers/**'\n            dry:\n              - added|modified|deleted: '.scripts/**'\n              - added|modified|deleted: '.github/**'\n\n  validate-servers:\n    name: Validate Servers\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n      issues: write\n\n    steps:\n      - name: Checkout from GitHub\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          ref: ${{ github.event.pull_request.head.ref }}\n\n      - name: Setup Python 3.x\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - name: Install Python dependencies\n        run: pip install -r .scripts/requirements.txt\n\n      - name: Validate Servers\n        run: |\n          python .scripts/validate.py \\\n          --servers_dir servers \\\n          --metadata_schema metadata.schema.json \\\n          --inactive_file inactive.json \\\n          --inactive_schema inactive.schema.json \\\n          --no-validate_inactive\n        env:\n          PR_ID: ${{ github.event.pull_request.number }}\n          BOT_PAT: ${{ secrets.BOT_PAT }}\n          USE_ARGS: \"true\"\n\n  upload-servers:\n    name: Upload Servers\n    needs: [validate-servers, changes]\n    if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n    runs-on: ubuntu-latest\n\n    permissions:\n      id-token: write\n      contents: read\n\n    steps:\n      - name: Checkout from GitHub\n        uses: actions/checkout@v4\n\n      - name: Setup Python 3.x\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - name: Install Python dependencies\n        run: pip install -r .scripts/requirements.txt\n\n      - name: Create output folder\n        run: mkdir .out/\n\n      - name: Output Server Media\n        run: |\n          python .scripts/convert_media.py \\\n          --servers_dir servers \\\n          --inactive_file inactive.json \\\n          --servers_logos_output .out/logos \\\n          --servers_logos_sizes 256 128 64 32 \\\n          --servers_backgrounds_output .out/backgrounds \\\n          --servers_backgrounds_sizes 1280x720 852x480 \\\n          --servers_banners_output .out/banners \\\n          --servers_wordmarks_output .out/wordmarks \\\n          --changed_files '${{ needs.changes.outputs.servers_files }}' \\\n          --dry_upload ${{ needs.changes.outputs.dry }}\n        env:\n          USE_ARGS: \"true\"\n\n      - name: Create Index File\n        run: |\n          python .scripts/create_index.py \\\n          --servers_dir servers \\\n          --inactive_file inactive.json \\\n          --json_output .out/servers.json \\\n          --csv_output .out/servers.csv \\\n          --no-include_inactive\n\n      - name: Upload to Cloudflare\n        env:\n          R2_ENDPOINT: ${{ secrets.R2_ENDPOINT }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: us-east-1\n        run: |\n          aws s3 sync .out s3://servermappings-lunarclientcdn-com --endpoint-url $R2_ENDPOINT\n          aws s3 cp .out/servers.json s3://servermappings-lunarclientcdn-com/servers.json --content-type \"application/json\" --endpoint-url $R2_ENDPOINT\n          aws s3 cp .out/servers.csv s3://servermappings-lunarclientcdn-com/servers.csv --content-type \"text/csv\" --endpoint-url $R2_ENDPOINT\n\n      - name: Purge Cloudflare cache\n        env:\n          CLOUDFLARE_PURGE_TOKEN: ${{ secrets.CLOUDFLARE_PURGE_TOKEN }}\n        run: |\n          curl -X POST \"https://api.cloudflare.com/client/v4/zones/6ec53997a971431c0d92ac795f35502b/purge_cache\" \\\n            -H \"Content-Type: application/json\" \\\n            -H \"Authorization: Bearer $CLOUDFLARE_PURGE_TOKEN\" \\\n            --data '{\"hosts\":[\"servermappings.lunarclientcdn.com\"]}'\n", "state": "active", "repository": "lunarclient/servermappings"}
{"mined_at": "2024-07-15T16:54:59.385824", "created_at": "2021-11-24T10:37:03+01:00", "updated_at": "2021-11-24T10:37:03+01:00", "name": "generate doc", "path": ".github/workflows/doc.yml", "contents": "name: generate doc\n\non:\n  push:\n    branches:\n      - 'main'\n      - 'develop-[0-9]+.[0-9]+.[0-9]+'\n      - 'build-doc-[0-9]+.[0-9]+.[0-9]+-[a-zA-Z]+'\n\n  schedule:\n    - cron: '0 8 * * *'\n\n  workflow_dispatch: {}\n\nconcurrency:\n  group: doc_generator_${{ github.ref_name }}\n  cancel-in-progress: true\n\njobs:\n  doc_generator:\n    name: generate doc on branch ${{ github.ref_name }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: check out the repo\n        uses: actions/checkout@v2\n\n      - name: fetch gh-pages\n        continue-on-error: true\n        run: git fetch origin gh-pages --depth=1\n\n      - name: configure a git user\n        run: |\n          git config user.name github-actions[bot]\n          git config user.email 41898282+github-actions[bot]@users.noreply.github.com\n\n      - name: install python packages\n        run: pip install -Ur doc/mkdocs/requirements.txt\n\n      - name: build doc via mike\n        shell: bash\n        run: |\n          VERSION='${{ github.ref_name }}'\n          [ \"$VERSION\" == main ] && { VERSION=latest; ALIAS='main master'; }\n          VERSION=\"${VERSION#develop-}\"\n          VERSION=\"${VERSION#build-doc-}\"\n\n          mike deploy --push --update-aliases \"$VERSION\" $ALIAS\n          mike set-default --push latest\n", "state": "active", "repository": "federatedai/fate-flow"}
{"mined_at": "2024-07-15T16:55:00.517061", "created_at": "2021-12-17T09:12:40+01:00", "updated_at": "2021-12-17T09:12:40+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "federatedai/fate-flow"}
{"mined_at": "2024-07-15T16:55:02.766202", "created_at": "2021-06-20T12:01:56+02:00", "updated_at": "2021-06-20T12:01:56+02:00", "name": "Build & Deploy Robusta Docs", "path": ".github/workflows/deploy-docs.yaml", "contents": "name: Build & Deploy Robusta Docs\n\non:\n  create: {}\n  release:\n    types: [published]\n  push:\n    paths:\n      - 'docs/**'\n      - .github/workflows/deploy-docs.yaml\n\njobs:\n  has-secrets:\n    name: Check Secrets\n    runs-on: ubuntu-latest\n    steps:\n    - id: docs\n      env:\n        HAS_SECRET_ACCESS: ${{ secrets.HAS_SECRET_ACCESS }}\n      if: ${{ env.HAS_SECRET_ACCESS != '' }}\n      run: echo '::set-output name=docs::true'\n    outputs:\n      docs: ${{ steps.docs.outputs.docs }}\n\n  setup-build-publish-deploy:\n    name: Deploy docs\n    runs-on: ubuntu-latest\n    needs: [has-secrets]\n    env:\n      PROJECT_ID: ${{ secrets.GKE_PROD_PROJECT }}\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n\n    - uses: google-github-actions/setup-gcloud@v0.2.0\n      if: needs.has-secrets.outputs.docs\n      with:\n        service_account_key: ${{ secrets.GKE_PROD_SA_KEY }}\n        project_id: ${{ secrets.GKE_PROD_PROJECT }}\n        export_default_credentials: true\n\n    # Configure Docker to use the gcloud command-line tool as a credential helper for authentication\n    - name: Configure Docker\n      if: needs.has-secrets.outputs.docs\n      run: |-\n        gcloud auth configure-docker us-central1-docker.pkg.dev\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get install graphviz pandoc\n        curl -sSL https://install.python-poetry.org | python3 - --version 1.4.0\n        poetry config virtualenvs.create false\n        poetry install --extras=all\n\n    # see https://stackoverflow.com/a/58034787/495995 for an explanation on ${GITHUB_REF##*/}\n    - name: Update docs version\n      run: |\n        echo \"Setting DOCS_VERSION_PLACEHOLDER to ${GITHUB_REF##*/}\"\n        sed -i \"s/DOCS_VERSION_PLACEHOLDER/${GITHUB_REF##*/}/g\" docs/conf.py\n        sed -i \"s/DOCS_RELEASE_PLACEHOLDER/${GITHUB_REF##*/}/g\" docs/conf.py\n\n    - name: Build the docs\n      env:\n        ROBUSTA_GOOGLE_FONTS_API_KEY: ${{ secrets.ROBUSTA_GOOGLE_FONTS_API_KEY }}\n      run: |\n        cd docs\n        poetry run make html\n\n    - name: Upload docs to public gcp bucket\n      if: needs.has-secrets.outputs.docs\n      run: gsutil rsync -R ./docs/_build/html \"gs://robusta-public/${GITHUB_REF##*/}/\"\n\n    - name: Upload docs artifact\n      uses: actions/upload-artifact@v2\n      with:\n        name: docs\n        path: docs/_build/html\n", "state": "active", "repository": "robusta-dev/robusta"}
{"mined_at": "2024-07-15T16:55:03.868449", "created_at": "2021-07-06T15:14:38+02:00", "updated_at": "2024-06-09T16:45:56+02:00", "name": "Test robusta-cli installation package", "path": ".github/workflows/test_installation.yaml", "contents": null, "state": "active", "repository": "robusta-dev/robusta"}
{"mined_at": "2024-07-15T16:55:04.919647", "created_at": "2021-07-12T10:57:34+02:00", "updated_at": "2021-09-03T00:04:50+02:00", "name": "Test robusta with pytest", "path": ".github/workflows/test_robusta.yaml", "contents": "name: Test robusta with pytest\n\non: [push, pull_request, workflow_dispatch]\n\njobs:\n    run_tests:\n      runs-on: ubuntu-latest\n      steps:\n        - uses: actions/checkout@v2\n        - name: Set up Python\n          uses: actions/setup-python@v2\n          with:\n            python-version: 3.9\n\n        # setup a KIND cluster for tests which need a kubernetes image\n        - name: Create k8s Kind Cluster\n          uses: helm/kind-action@v1.2.0\n        - name: Output KIND info\n          run: |\n            kubectl config get-contexts\n\n        # install robusta so that we can run tests on it\n        - name: Install Robusta\n          run: |\n            curl -sSL https://install.python-poetry.org | python3 - --version 1.4.0\n            poetry config virtualenvs.create false\n            poetry install --extras \"all\"\n            # Install tabulate version that fixes column width wrapping. Cannot be added to pypi as a git dependency, so adding it here\n            pip install git+https://github.com/astanin/python-tabulate.git@b2c26bcb70e497f674b38aa7e29de12c0123708a#egg=tabulate\n            # robusta-cli is a separate project now, it needs to be installed for gen-config\n            pip install robusta-cli\n\n        # build robusta docker images for tests which run in-cluster on KIND\n        - run: |-\n            curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64\n            chmod a+x skaffold\n        - name: Cache skaffold image builds & config\n          uses: actions/cache@v2\n          with:\n            path: ~/.skaffold/\n            key: fixed-${{ github.sha }}\n            restore-keys: |\n              fixed-${{ github.sha }}\n              fixed-\n        - name: Build with skaffold\n          run: |\n            echo 'building with tag test-${{ github.sha }}'\n            ./skaffold build --push=false --file-output=container-ids.json --tag='test-${{ github.sha }}'\n            kind load docker-image --name chart-testing 'us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-runner:test-${{ github.sha }}'\n\n        #  update helm chart to use the image we just built\n        - name: Update package version\n          run: |\n            sed -i 's/0.0.0/test-${{ github.sha }}/g' helm/robusta/Chart.yaml helm/robusta/values.yaml\n\n        # run the actual tests\n        - name: Test Robusta\n          env:\n            PYTEST_SLACK_TOKEN: ${{ secrets.PYTEST_SLACK_TOKEN }}\n            PYTEST_IN_CLUSTER_SLACK_TOKEN: ${{ secrets.PYTEST_IN_CLUSTER_SLACK_TOKEN }}\n          run: |\n            pytest -s --image='us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta-runner:test-${{ github.sha }}'\n", "state": "active", "repository": "robusta-dev/robusta"}
{"mined_at": "2024-07-15T16:55:06.045327", "created_at": "2021-11-18T08:21:00+01:00", "updated_at": "2021-11-18T08:21:00+01:00", "name": "Release Robusta", "path": ".github/workflows/release.yaml", "contents": "name: Release Robusta\n\non:\n  release:\n    types: [published]\n\nenv:\n  PROJECT_ID: ${{ secrets.GKE_PROD_PROJECT }}\n# ` ``  GKE_ZONE: us-central1-c   # TODO: update to cluster zone\n  RELEASE_VER : ${{ github.event.release.tag_name }}\njobs:\n\n  setup-build-publish-deploy:\n    name: Build images\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n\n    - name: Get release version\n      run: echo \"$RELEASE_VER\"\n\n    - uses: google-github-actions/setup-gcloud@v0.2.0\n      with:\n        service_account_key: ${{ secrets.GKE_PROD_SA_KEY }}\n        project_id: ${{ secrets.GKE_PROD_PROJECT }}\n        export_default_credentials: true\n\n    # Configure Docker to use the gcloud command-line tool as a credential helper for authentication\n    - run: |-\n        gcloud auth configure-docker us-central1-docker.pkg.dev\n\n    - run: |-\n        gcloud config get-value project\n\n    - run: |-\n        curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64\n        chmod a+x skaffold\n\n    - name: Update package version\n      run: |\n        sed -i 's/0.0.0/${{env.RELEASE_VER}}/g' src/robusta/_version.py pyproject.toml helm/robusta/Chart.yaml helm/robusta/values.yaml\n        sed -i 's/0.0.1/${{env.RELEASE_VER}}/g' helm/robusta/Chart.yaml\n\n    # Set up the buildx to run build for multiple platforms\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@c5ffa2a61740d9877bd1f40899a87c8ec93b0d9f\n\n    - name: Docker Setup Buildx\n      uses: docker/setup-buildx-action@bea6a01aa40b4d58b0382d47e1c4a70137af67b1\n      with:\n        config-inline: |\n          [worker.oci]\n            enabled = true\n            platforms = [ \"linux/amd64\", \"linux/arm64\" ]\n\n    # see https://github.com/GoogleContainerTools/skaffold/issues/4842\n    - name: Cache skaffold image builds & config\n      uses: actions/cache@v2\n      with:\n        path: ~/.skaffold/\n        key: fixed-${{ github.sha }}\n        restore-keys: |\n          fixed-${{ github.sha }}\n          fixed-\n\n    - name: Login to Docker Hub\n      uses: docker/login-action@v1\n      with:\n        username: ${{ secrets.DOCKER_USERNAME }}\n        password: ${{ secrets.DOCKER_PASSWORD }}\n\n    - name: Build with skaffold\n      run: ./skaffold build --profile release --file-output=container-ids.json --tag='${{env.RELEASE_VER}}'\n\n\n    - name: Save artifact with tags of built containers\n      uses: actions/upload-artifact@v2\n      with:\n        name: container-ids\n        path: container-ids.json\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install twine\n\n    - name: Prepare pypi dist\n      run: |\n        curl -sSL https://install.python-poetry.org | python3 - --version 1.4.0\n        poetry config virtualenvs.create false\n        poetry install --extras \"all\"\n        poetry publish --build -u __token__ -p ${{ secrets.PYPI_PROJECT_TOKEN }}\n\n    - name: Save artifact with helm chart\n      uses: actions/upload-artifact@v2\n      with:\n        name: helm-chart\n        path: helm/robusta/\n\n    - name: Upload helm chart\n      run: |\n        cd helm && ./upload_chart.sh\n\n    - name: Release Docker to Dockerhub\n      run: |-\n        docker buildx build \\\n        --build-arg BUILDKIT_INLINE_CACHE=1 \\\n        --platform linux/arm64,linux/amd64 \\\n        --cache-from us-central1-docker.pkg.dev/genuine-flight-317411/devel/robusta:cache \\\n        --tag robustadev/robusta-runner:${{env.RELEASE_VER}} \\\n        --push \\\n        .\n", "state": "active", "repository": "robusta-dev/robusta"}
{"mined_at": "2024-07-15T16:55:07.271555", "created_at": "2022-05-17T17:11:43+02:00", "updated_at": "2022-06-01T19:04:40+02:00", "name": "Test Poetry lock file", "path": ".github/workflows/test-poetry-lock.yaml", "contents": "name: Test Poetry lock file\non:\n  - push\n  - pull_request\njobs:\n  run_tests:\n    name: Test lock file\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Run poetry lock\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 -\n          poetry lock --check\n", "state": "active", "repository": "robusta-dev/robusta"}
{"mined_at": "2024-07-15T16:55:08.397912", "created_at": "2023-09-07T22:29:11+02:00", "updated_at": "2023-09-07T22:29:11+02:00", "name": "Automated message for issues", "path": ".github/workflows/new-contributors-autoreply.yaml", "contents": "name: Automated message for issues\non:\n  issues:\n    types:\n      - opened\njobs:\n  build:\n    name: Welcome new contributor 🎉\n    permissions:\n      issues: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/first-interaction@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          issue-message: \"Hi 👋, thanks for opening an issue! Please note, it may take some time for us to respond, but we'll get back to you as soon as we can! \\n\\n- 💬 **Slack Community:** Join Robusta team and other contributors on Slack [here](https://bit.ly/robusta-slack).\\n- 📖 **Docs:** Find our documentation [here](https://docs.robusta.dev/master/).\\n- 🎥 **YouTube Channel:** Watch our videos [here](https://www.youtube.com/@RobustaDev).\"\n", "state": "active", "repository": "robusta-dev/robusta"}
{"mined_at": "2024-07-15T16:55:09.520383", "created_at": "2024-04-08T09:33:06+02:00", "updated_at": "2024-04-08T09:33:06+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "robusta-dev/robusta"}
{"mined_at": "2024-07-15T16:55:11.777110", "created_at": "2023-02-15T23:34:11+01:00", "updated_at": "2023-02-15T23:34:11+01:00", "name": "Apply 'untriaged' label during issue lifecycle", "path": ".github/workflows/add-untriaged.yml", "contents": "name: Apply 'untriaged' label during issue lifecycle\r\n\r\non:\r\n  issues:\r\n    types: [opened, reopened, transferred]\r\n\r\njobs:\r\n  apply-label:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/github-script@v6\r\n        with:\r\n          script: |\r\n            github.rest.issues.addLabels({\r\n              issue_number: context.issue.number,\r\n              owner: context.repo.owner,\r\n              repo: context.repo.repo,\r\n              labels: ['untriaged']\r\n            })\r\n", "state": "active", "repository": "opensearch-project/opensearch-dsl-py"}
{"mined_at": "2024-07-15T16:55:12.903599", "created_at": "2021-08-26T14:39:42+02:00", "updated_at": "2022-05-24T01:52:16+02:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "name: Backport\non:\n  pull_request_target:\n    types:\n      - closed\n      - labeled\n\njobs:\n  backport:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    name: Backport\n    steps:\n      - name: GitHub App token\n        id: github_app_token\n        uses: tibdex/github-app-token@v1.5.0\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_PRIVATE_KEY }}\n          installation_id: 22958780\n\n      - name: Backport\n        uses: VachaShah/backport@v1.1.4\n        with:\n          github_token: ${{ steps.github_app_token.outputs.token }}\n          branch_name: backport/backport-${{ github.event.number }}\n", "state": "active", "repository": "opensearch-project/opensearch-dsl-py"}
{"mined_at": "2024-07-15T16:55:14.022833", "created_at": "2022-10-13T01:59:42+02:00", "updated_at": "2022-10-19T14:58:19+02:00", "name": "Changelog Verifier", "path": ".github/workflows/changelog_verifier.yml", "contents": "name: \"Changelog Verifier\"\non:\n  pull_request:\n    types: [opened, edited, review_requested, synchronize, reopened, ready_for_review, labeled, unlabeled]\n\njobs:\n  # Enforces the update of a changelog file on every pull request\n  verify-changelog:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      - uses: dangoslen/changelog-enforcer@v3\n        with:\n          skipLabels: \"autocut, skip-changelog\"\n", "state": "active", "repository": "opensearch-project/opensearch-dsl-py"}
{"mined_at": "2024-07-15T16:55:15.259050", "created_at": "2021-08-26T14:32:49+02:00", "updated_at": "2021-08-26T14:39:42+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "---\nname: CI\n\non: [push, pull_request]\n\njobs:\n  package:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python3.8 -m pip install setuptools wheel twine\n      - name: Build packages\n        run: |\n          python3.8 utils/build-dists.py\n      - name: Check packages\n        run: |\n          set -exo pipefail;\n          if [ $(python3.8 -m twine check dist/* | grep -c 'warning') != 0 ]; then exit 1; fi\n\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python3.8 -m pip install nox\n      - name: Lint the code\n        run: nox --no-error-on-missing-interpreter -s lint\n\n  test-build-distribution:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.7\n      - name: Install build tools\n        run: |\n          python3.7 -m pip install --upgrade build\n      - name: Build project for distribution\n        run: |\n          python3.7 -m build\n\n  test-linux:\n    runs-on: ${{ matrix.runner }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n        runner: ['ubuntu-latest']\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Setup Python - ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n        env:\n          PIP_NO_PYTHON_VERSION_WARNING: 1\n          PIP_DISABLE_PIP_VERSION_CHECK: 1\n      - name: Set up Python 3.8 for Nox\n        if: matrix.python-version != '3.8'\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Install nox\n        run: |\n          python3.8 -m pip install nox\n      - name: Run Tests\n        run: |\n          nox --no-error-on-missing-interpreter -rs test\n", "state": "active", "repository": "opensearch-project/opensearch-dsl-py"}
{"mined_at": "2024-07-15T16:55:16.322344", "created_at": "2022-05-24T01:52:16+02:00", "updated_at": "2022-05-24T01:52:16+02:00", "name": "Delete merged branch of the backport PRs", "path": ".github/workflows/delete_backport_branch.yml", "contents": "name: Delete merged branch of the backport PRs\non: \n  pull_request:\n    types:\n      - closed\n  \njobs:\n  delete-branch:\n    runs-on: ubuntu-latest\n    if: startsWith(github.event.pull_request.head.ref,'backport/')\n    steps:\n      - name: Delete merged branch\n        uses: SvanBoxel/delete-merged-branch@main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "opensearch-project/opensearch-dsl-py"}
{"mined_at": "2024-07-15T16:55:17.370661", "created_at": "2022-10-20T18:22:29+02:00", "updated_at": "2023-02-22T21:46:47+01:00", "name": "Dependabot PR actions", "path": ".github/workflows/dependabot_pr.yml", "contents": "name: Dependabot PR actions\non: pull_request\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n      contents: write\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: GitHub App token\n        id: github_app_token\n        uses: tibdex/github-app-token@v1.5.0\n        with:\n          app_id: ${{ secrets.APP_ID }}\n          private_key: ${{ secrets.APP_PRIVATE_KEY }}\n          installation_id: 22958780\n\n      - name: Check out code\n        uses: actions/checkout@v2\n        with:\n          token: ${{ steps.github_app_token.outputs.token }}\n\n      - name: Update the changelog\n        uses: dangoslen/dependabot-changelog-helper@v1\n        with:\n          version: 'Unreleased'\n\n      - name: Commit the changes\n        uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: \"Update changelog\"\n          branch: ${{ github.head_ref }}\n          commit_user_name: dependabot[bot]\n          commit_user_email: support@github.com\n          commit_options: '--signoff'", "state": "active", "repository": "opensearch-project/opensearch-dsl-py"}
{"mined_at": "2024-07-15T16:55:18.435234", "created_at": "2022-05-24T01:43:25+02:00", "updated_at": "2022-05-24T02:03:18+02:00", "name": "Integration with Unreleased OpenSearch", "path": ".github/workflows/integration-unreleased.yml", "contents": "name: Integration with Unreleased OpenSearch\n\non:\n  push:\n  pull_request:\n    branches:\n      - \"main\"\n\njobs:\n  integ-test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        opensearch_ref: [ '1.x', '2.x', '2.0', 'main' ]\n        python-version: [ '3.8' ]\n\n    steps:\n      - name: Checkout OpenSearch\n        uses: actions/checkout@v3\n        with:\n          repository: opensearch-project/opensearch\n          ref: ${{ matrix.opensearch_ref }}\n          path: opensearch\n\n      - name: Get OpenSearch branch top\n        id: get-key\n        working-directory: opensearch\n        run: echo key=`git log -1 --format='%H'` >> $GITHUB_OUTPUT\n\n      - name: Restore cached build\n        id: cache-restore\n        uses: actions/cache/restore@v3\n        with:\n          path: opensearch/distribution/archives/linux-tar/build/distributions\n          key: ${{ steps.get-key.outputs.key }}\n\n      - name: Assemble OpenSearch\n        if: steps.cache-restore.outputs.cache-hit != 'true'\n        working-directory: opensearch\n        run: ./gradlew :distribution:archives:linux-tar:assemble\n\n      - name: Save cached build\n        if: steps.cache-restore.outputs.cache-hit != 'true'\n        uses: actions/cache/save@v3\n        with:\n          path: opensearch/distribution/archives/linux-tar/build/distributions\n          key: ${{ steps.get-key.outputs.key }}\n\n      - name: Run OpenSearch\n        working-directory: opensearch/distribution/archives/linux-tar/build/distributions\n        run: |\n          tar xf opensearch-min-*\n          ./opensearch-*/bin/opensearch &\n          for attempt in {1..20}; do sleep 5; if curl -s localhost:9200; then echo '=====> ready'; break; fi; echo '=====> waiting...'; done\n\n      - name: Checkout High Level Python Client\n        uses: actions/checkout@v3\n        with:\n          path: dsl-py\n\n      - name: Setup Python - ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n        env:\n          PIP_NO_PYTHON_VERSION_WARNING: 1\n\n      - name: Install nox\n        run: |\n          python -m pip install nox\n\n      - name: Run integration tests\n        working-directory: dsl-py\n        run: |\n          nox --no-error-on-missing-interpreter -rs test\n\n      - name: Save server logs\n        if: failure()\n        uses: actions/upload-artifact@v3\n        with:\n          name: opensearch-logs-${{ matrix.opensearch_ref }}-python-${{ matrix.python-version }}\n          path: |\n            opensearch/distribution/archives/linux-tar/build/distributions/**/logs/*\n", "state": "active", "repository": "opensearch-project/opensearch-dsl-py"}
{"mined_at": "2024-07-15T16:55:19.584029", "created_at": "2021-10-04T19:24:01+02:00", "updated_at": "2021-10-05T01:04:54+02:00", "name": "Integration tests", "path": ".github/workflows/integration.yml", "contents": "name: Integration tests\n\non: [push, pull_request]\n\njobs:\n  integration:\n    name: Integ\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        version: [ '1.0.1', '1.1.0', '1.2.4', '1.3.7', '2.0.1', '2.1.0', '2.2.1', '2.3.0', '2.4.0', '2.5.0' ]\n        secured: [ \"true\", \"false\" ]\n        python-version: [ '3.8' ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Clean docker containers\n        run: |\n          docker volume prune --force\n          docker network prune --force\n          docker system prune --volumes --force\n\n      - name: Launch OpenSearch cluster\n        run: |\n          export OPENSEARCH_VERSION=${{ matrix.entry.version }}\n          export SECURE_INTEGRATION=${{ matrix.secured }}\n          docker-compose --project-directory .ci/opensearch build\n          docker-compose --project-directory .ci/opensearch up -d\n\n      - name: Setup Python - ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n        env:\n          PIP_DISABLE_PIP_VERSION_CHECK: 1\n          PIP_NO_PYTHON_VERSION_WARNING: 1\n\n      - name: Install nox\n        run: |\n          python -m pip install --upgrade pip nox\n\n      - name: Integ OpenSearch secured=${{ matrix.secured }}\n        run: |\n          export SECURE_INTEGRATION=${{ matrix.secured }}\n          nox --no-error-on-missing-interpreter -rs test\n", "state": "active", "repository": "opensearch-project/opensearch-dsl-py"}
{"mined_at": "2024-07-15T16:55:20.675546", "created_at": "2022-05-27T20:52:10+02:00", "updated_at": "2022-06-01T22:31:55+02:00", "name": "Link Checker", "path": ".github/workflows/links.yml", "contents": "name: Link Checker\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"*\"\n\njobs:\n  linkchecker:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: lychee Link Checker\n        id: lychee\n        uses: lycheeverse/lychee-action@v1.0.8\n        with:\n          args: --accept=200,403,429  \"**/*.html\" \"**/*.md\" \"**/*.txt\" \"**/*.json\" --exclude \"https://localhost:9200\" --exclude-mail\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n      - name: Fail if there were link errors\n        run: exit ${{ steps.lychee.outputs.exit_code }}", "state": "active", "repository": "opensearch-project/opensearch-dsl-py"}
{"mined_at": "2024-07-15T16:55:21.813636", "created_at": "2023-02-16T19:43:19+01:00", "updated_at": "2023-02-16T19:43:19+01:00", "name": "Release drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release drafter\n\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  lint:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - id: get_approvers\n        run: |\n          echo \"approvers=$(cat .github/CODEOWNERS | grep @ | tr -d '* ' | sed 's/@/,/g' | sed 's/,//1')\" >> $GITHUB_OUTPUT\n      - uses: trstringer/manual-approval@v1\n        with:\n          secret: ${{ github.TOKEN }}\n          approvers: ${{ steps.get_approvers.outputs.approvers }}\n          minimum-approvals: 2\n          issue-title: 'Release opensearch-dsl-py'\n          issue-body: \"Please approve or deny the release of opensearch-dsl-py. **Tag**: ${{ github.ref_name }}  **Commit**: ${{ github.sha }}\"\n          exclude-workflow-initiator-as-approver: true\n      - name: Set up Python 3\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.x'\n      - name: Install build tools\n        run: |\n          python -m pip install --upgrade build\n      - name: Build project for distribution\n        run: |\n          python -m build\n          tar -zvcf artifacts.tar.gz dist\n      - name: Draft a release\n        uses: softprops/action-gh-release@v1\n        with:\n          draft: true\n          generate_release_notes: true\n          files: |\n            artifacts.tar.gz\n", "state": "active", "repository": "opensearch-project/opensearch-dsl-py"}
{"mined_at": "2024-07-15T16:55:24.065455", "created_at": "2023-05-06T04:41:59+02:00", "updated_at": "2023-05-06T04:53:00+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '31 10 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "jackdewinter/pymarkdown"}
{"mined_at": "2024-07-15T16:55:25.182993", "created_at": "2021-05-28T04:34:29+02:00", "updated_at": "2021-05-28T05:28:52+02:00", "name": "Main", "path": ".github/workflows/main.yml", "contents": "name: Main\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nenv:\n  project-name: pymarkdown\n  default-python-version: 3.8\n\njobs:\n\n  lint:\n\n    name: Project Quality Analysis\n    runs-on: ubuntu-latest\n\n    steps:\n\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n\n      - name: Setup Python ${{ env.default-python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.default-python-version }}\n\n      - name: Install PipEnv\n        run: |\n          pip install pipenv==2023.12.1\n\n      - name: Sync With Repository\n        run: |\n          pipenv update -d\n          pipenv graph\n\n      - name: Execute Black\n        run: |\n          pipenv run black .\n\n      - name: Execute ISort\n        run: |\n          pipenv run isort .\n\n      - name: Execute Pre-Commit\n        run: |\n          pipenv run pre-commit run --all\n\n      - name: Execute Flake8\n        run: pipenv run flake8 --exclude dist,build\n\n      - name: Execute Bandit\n        run: |\n          pipenv run bandit --configfile bandit.yaml -q -r ${{ github.workspace }}/${{ env.project-name }}\n\n      - name: Execute PyLint on Source\n        run: |\n          pipenv run pylint ${{github.workspace}}/pymarkdown\n          pipenv run pylint ${{github.workspace}}/pymarkdown/extensions\n          pipenv run pylint ${{github.workspace}}/pymarkdown/extension_manager\n          pipenv run pylint ${{github.workspace}}/pymarkdown/plugins\n          pipenv run pylint ${{github.workspace}}/pymarkdown/plugin_manager\n\n      - name: Execute PyLint on Tests\n        run: pipenv run pylint ${{github.workspace}}/test\n\n      - name: Execute MyPy\n        run: pipenv run mypy --strict ${{ env.project-name }} stubs\n\n      - name: Execute PyMarkdown on Current Docs\n        run: pipenv run python ${{github.workspace}}/main.py --config ${{github.workspace}}/clean.json scan ${{github.workspace}} ${{github.workspace}}/docs\n\n  doc-lint:\n\n    name: Document Quality Analysis\n    runs-on: ubuntu-latest\n\n    steps:\n\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n\n      - name: Setup Python ${{ env.default-python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.default-python-version }}\n\n      - name: Install PipEnv\n        run: |\n          pip install pipenv==2023.12.1\n\n      - name: Sync With Repository\n        run: |\n          pipenv update -d\n          pipenv graph\n\n      - name: Execute PyMarkdown on NewDocs\n        run: |\n          pipenv run python main.py --config newdocs/clean.json scan newdocs/src\n\n      # - name: Execute MdFormat on Docs\n      #   run: |\n      #     cd newdocs\n      #     pipenv run mdformat --align-semantic-breaks-in-lists --wrap 80 --check .\n  \n  scenario-tests:\n\n    name: Scenario Tests\n    strategy:\n      matrix:\n        # python: [\"3.8\", \"3.9\", \"3.10\"]\n        python: [\"3.8\"]\n        platform: [windows-latest, ubuntu-latest, macos-latest]\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n\n      - name: Setup Python ${{ matrix.python }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install PipEnv\n        run: |\n          pip install pipenv==2023.12.1\n\n      - name: Sync With Repository\n        run: |\n          pipenv update -d\n          pipenv graph\n          pipenv uninstall pytest-html\n\n      - name: Execute Tests\n        run: pipenv run pytest --cov-fail-under=90 --cov --cov-branch --cov-report xml:report/coverage.xml\n\n      - name: Archive coverage artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.platform }} Coverage\n          path: |\n            ./report/coverage.xml\n\n      - name: Report Coverage\n        uses: codecov/codecov-action@v4\n        if: github.event_name != 'schedule'\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}        \n        with:\n          file: ./report/coverage.xml\n          name: ${{ matrix.python }} - ${{ matrix.platform }}\n          fail_ci_if_error: true\n\n  packaging:\n\n    name: Package Application\n    runs-on: ubuntu-latest\n    needs: [ doc-lint, lint, scenario-tests ]\n    # if: github.ref == 'refs/heads/main' && github.event_name == 'push'\n\n    steps:\n\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n\n      - name: Setup Python ${{ env.default-python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.default-python-version }}\n\n      - name: Install PipEnv\n        run: |\n          pip install pipenv==2023.12.1\n\n      - name: Sync With Repository\n        run: |\n          pipenv update -d\n          pipenv graph\n\n      - name: Pyroma\n        run: |\n          pipenv run pyroma -q -n 10 .\n\n      - name: Setup\n        run: |\n          pipenv run python setup.py sdist bdist_wheel\n\n      - name: Twine\n        run: |\n          pipenv run twine check dist/*    \n\n      - name: Upload Package\n        uses: actions/upload-artifact@v4\n        with:\n          name: my-artifact\n          path: ${{github.workspace}}/dist/\n\n      - name: Initiating Integration Tests\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: |\n          ACTION_SHA=\n          if [ \"${{ github.event_name }}\" == \"pull_request\" ] ; then\n            ACTION_SHA=${{ github.event.pull_request.head.sha }}\n          elif [ \"${{ github.event_name }}\" == \"push\" ] ; then\n            ACTION_SHA=${{ github.event.head_commit.id }}\n          else\n            echo \"$GITHUB_CONTEXT\"\n            ACTION_SHA=$GITHUB_SHA\n          fi\n          ACTION_RUN_ID=${{ github.run_id }}\n          ACCESS_TOKEN=${{ secrets.INTER_PROJECT_ACCESS_TOKEN }}\n          if [ -z \"$ACCESS_TOKEN\" ] ; then\n            echo \"Secret 'INTER_PROJECT_ACCESS_TOKEN' has not been set to a non-empty value.\"\n            exit 1\n          else\n            echo \"SHA=$ACTION_SHA\"\n            echo \"RUN_ID=$ACTION_RUN_ID\"\n            echo '{\"event_type\": \"request-integration\", \"client_payload\": { \"repository\": \"'\"$GITHUB_REPOSITORY\"'\", \"ref\":\"'\"$GITHUB_REF\"'\", \"sha\": \"'\"$ACTION_SHA\"'\", \"run_id\" : \"'\"$ACTION_RUN_ID\"'\" }}'\n\n            curl -X POST https://api.github.com/repos/jackdewinter/pymarkdown_test/dispatches \\\n              -H 'Accept: application/vnd.github.everest-preview+json' \\\n              -u '${{ secrets.INTER_PROJECT_ACCESS_TOKEN }}' \\\n              --data '{\"event_type\": \"request-integration\", \"client_payload\": { \"repository\": \"'\"$GITHUB_REPOSITORY\"'\", \"ref\":\"'\"$GITHUB_REF\"'\", \"sha\": \"'\"$ACTION_SHA\"'\", \"run_id\" : \"'\"$ACTION_RUN_ID\"'\" }}'\n          fi\n", "state": "active", "repository": "jackdewinter/pymarkdown"}
{"mined_at": "2024-07-15T16:55:27.444092", "created_at": "2022-02-24T21:03:29+01:00", "updated_at": "2022-02-24T21:03:29+01:00", "name": "Add newly created DEPR issues to the DEPR project board", "path": ".github/workflows/add-depr-ticket-to-depr-board.yml", "contents": "# Run the workflow that adds new tickets that are either:\n# - labelled \"DEPR\"\n# - title starts with \"[DEPR]\"\n# - body starts with \"Proposal Date\" (this is the first template field)\n# to the org-wide DEPR project board\n\nname: Add newly created DEPR issues to the DEPR project board\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  routeissue:\n    uses: openedx/.github/.github/workflows/add-depr-ticket-to-depr-board.yml@master\n    secrets:\n      GITHUB_APP_ID: ${{ secrets.GRAPHQL_AUTH_APP_ID }}\n      GITHUB_APP_PRIVATE_KEY: ${{ secrets.GRAPHQL_AUTH_APP_PEM }}\n      SLACK_BOT_TOKEN: ${{ secrets.SLACK_ISSUE_BOT_TOKEN }}\n", "state": "active", "repository": "openedx/repo-tools"}
{"mined_at": "2024-07-15T16:55:28.674559", "created_at": "2023-02-24T18:19:38+01:00", "updated_at": "2023-02-24T18:19:38+01:00", "name": "Allows for the adding and removing of labels via comment", "path": ".github/workflows/add-remove-label-on-comment.yml", "contents": "# This workflow runs when a comment is made on the ticket\n# If the comment starts with \"label: \" it tries to apply\n# the label indicated in rest of comment.\n# If the comment starts with \"remove label: \", it tries\n# to remove the indicated label.\n# Note: Labels are allowed to have spaces and this script does\n# not parse spaces (as often a space is legitimate), so the command\n# \"label: really long lots of words label\" will apply the\n# label \"really long lots of words label\"\n\nname: Allows for the adding and removing of labels via comment\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  add_remove_labels:\n    uses: openedx/.github/.github/workflows/add-remove-label-on-comment.yml@master\n\n", "state": "active", "repository": "openedx/repo-tools"}
{"mined_at": "2024-07-15T16:55:29.686135", "created_at": "2020-11-24T10:49:32+01:00", "updated_at": "2024-03-07T09:02:25+01:00", "name": "Python CI", "path": ".github/workflows/ci.yml", "contents": "name: Python CI\n\non:\n  push:\n    branches: [master]\n  pull_request:\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n        python-version:\n        - '3.8'\n        - '3.12'\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: setup python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install pip\n      run: pip install -r requirements/pip.txt\n\n    - name: Install Dependencies\n      run: make dev-install\n\n    - name: Run Tests\n      run: make test\n", "state": "active", "repository": "openedx/repo-tools"}
{"mined_at": "2024-07-15T16:55:30.926496", "created_at": "2021-10-07T19:53:52+02:00", "updated_at": "2023-05-11T06:01:32+02:00", "name": "Lint Commit Messages", "path": ".github/workflows/commitlint.yml", "contents": "# Run commitlint on the commit messages in a pull request.\n\nname: Lint Commit Messages\n\non:\n  - pull_request\n\njobs:\n  commitlint:\n    uses: openedx/.github/.github/workflows/commitlint.yml@master\n", "state": "active", "repository": "openedx/repo-tools"}
{"mined_at": "2024-07-15T16:55:32.059484", "created_at": "2020-11-24T10:48:25+01:00", "updated_at": "2020-11-27T13:20:55+01:00", "name": "Publish package to PyPi", "path": ".github/workflows/pypi-publish.yml", "contents": "name: Publish package to PyPi\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n\n  push:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n\n      - name: Install pip\n        run: pip install -r requirements/pip.txt\n\n      - name: Install Dependencies\n        run: pip install setuptools wheel\n\n      - name: Build package\n        run: python setup.py sdist bdist_wheel\n\n      - name: Publish to PyPi\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_UPLOAD_TOKEN }}\n", "state": "active", "repository": "openedx/repo-tools"}
{"mined_at": "2024-07-15T16:55:33.383386", "created_at": "2023-02-24T18:19:38+01:00", "updated_at": "2023-02-24T18:19:38+01:00", "name": "Assign comment author to ticket if they say \"assign me\"", "path": ".github/workflows/self-assign-issue.yml", "contents": "# This workflow runs when a comment is made on the ticket\n# If the comment starts with \"assign me\" it assigns the author to the\n# ticket (case insensitive)\n\nname: Assign comment author to ticket if they say \"assign me\"\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  self_assign_by_comment:\n    uses: openedx/.github/.github/workflows/self-assign-issue.yml@master\n", "state": "active", "repository": "openedx/repo-tools"}
{"mined_at": "2024-07-15T16:55:34.414313", "created_at": "2023-02-03T18:26:27+01:00", "updated_at": "2023-02-03T18:26:27+01:00", "name": "Support Windows Issue Creater", "path": ".github/workflows/support-window-issue-creator.yml", "contents": "name: Support Windows Issue Creater\non:\n  schedule:\n    - cron: 0 0 1 */3 *\n\njobs:\n  create_issue:\n    name: Create Support Window Issue\n    runs-on: ubuntu-20.04\n    permissions:\n      issues: write\n    steps:\n      - name: Create issue\n        uses: imjohnbo/issue-bot@v3\n        with:\n          assignees: \"usamasadiq\"\n          labels: \"arbi-bom\"\n          close-previous: true\n          title: \"Support Window Update\"\n          body: |\n            ### Description\n            Copy the link of the current issue and add it to the [Arbi-bom GitHub Project](https://github.com/orgs/edx/projects/12).\n\n            Follow the steps mentioned in the `repo_tools/barcalendar.py` and check following points for the [Support Window Sheet](https://docs.google.com/spreadsheets/u/2/d/11DheEtMDGrbA9hsUvZ2SEd4Cc8CaC4mAfoV8SVaLBGI/edit#gid=195838733) update.\n            For reference, use the respective end of life dates from [endoflife.date](https://endoflife.date/).\n            \n            - [ ] Update the version of each dependency currently in use, if necessary\n            - [ ] Delete any versions older than one prior to the one currently in use\n            - [ ] Add end dates which were not previously known\n            - [ ] Add new releases that we're likely to consider upgrading to\n            - [ ] Do a quick review of our dependencies to see if any categories should be added or removed\n          \n        env:\n          GITHUB_TOKEN: ${{ secrets.requirements_bot_github_token }}\n", "state": "active", "repository": "openedx/repo-tools"}
{"mined_at": "2024-07-15T16:55:35.585701", "created_at": "2021-05-10T10:31:46+02:00", "updated_at": "2021-11-11T05:00:10+01:00", "name": "Upgrade Requirements", "path": ".github/workflows/upgrade-python-requirements.yml", "contents": "name: Upgrade Requirements\n\non:\n  schedule:\n     - cron: \"0 4 * * 4\"\n  workflow_dispatch:\n     inputs:\n       branch:\n         description: 'Target branch to create requirements PR against'\n         required: true\n         default: 'master'\njobs:\n   call-upgrade-python-requirements-workflow:\n    with:\n       branch: ${{ github.event.inputs.branch }}\n       send_success_notification: false\n    secrets:\n       requirements_bot_github_token: ${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }}\n       requirements_bot_github_email: ${{ secrets.REQUIREMENTS_BOT_GITHUB_EMAIL }}\n       edx_smtp_username: ${{ secrets.EDX_SMTP_USERNAME }}\n       edx_smtp_password: ${{ secrets.EDX_SMTP_PASSWORD }}\n    uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master\n", "state": "active", "repository": "openedx/repo-tools"}
{"mined_at": "2024-07-15T16:55:37.787013", "created_at": "2022-01-24T14:55:59+01:00", "updated_at": "2022-01-24T14:55:59+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '26 6 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "polyaxon/traceml"}
{"mined_at": "2024-07-15T16:55:38.919281", "created_at": "2023-02-09T11:40:37+01:00", "updated_at": "2023-02-09T11:40:37+01:00", "name": "TraceML", "path": ".github/workflows/traceml.yml", "contents": "name: TraceML\n\non:\n  push:\n    branches:\n    - master\n    - testing\njobs:\n  library:\n    #    if: github.event.comment.body == 'test core'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', '3.11']\n    steps:\n    - run: |\n        pip install -U traceml\n  tests:\n#    if: github.event.comment.body == 'test core'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Upgrade pip\n      run: |\n        which python\n        python -m pip install --upgrade pip\n    - name: Install test dependencies\n      run: pip install -r traceml/requirements/test.txt\n    - name: Install master dependencies\n      run: pip install -r traceml/requirements/master.txt\n    - name: Install dev libraries\n      run: export USE_LOCAL_PACKAGES=\"true\" && pip install --upgrade --editable \"traceml[dev]\"\n    - name: Test with pytest\n      run: |\n        cd traceml\n        pytest -vv\n", "state": "active", "repository": "polyaxon/traceml"}
{"mined_at": "2024-07-15T16:55:41.079742", "created_at": "2023-07-26T13:25:22+02:00", "updated_at": "2023-07-26T18:56:17+02:00", "name": "Run all checks on Kedro", "path": ".github/workflows/all-checks.yml", "contents": "name: Run all checks on Kedro\n\non:\n  workflow_call:\n    inputs:\n      branch:\n        type: string\n        default: ''\n  push:\n    branches:\n      - main\n      - develop\n    paths-ignore:\n      - \"docs/**\"\n      - '**.md'\n  pull_request:\n    branches:\n      - main\n      - develop\n    paths-ignore:\n      - \"docs/**\"\n      - '**.md'\n\njobs:\n  unit-tests:\n    strategy:\n      matrix:\n        os: [ windows-latest, ubuntu-latest ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n    uses: ./.github/workflows/unit-tests.yml\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      branch: ${{ inputs.branch }}\n  e2e-tests:\n    strategy:\n      matrix:\n        os: [ windows-latest, ubuntu-latest ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n    uses: ./.github/workflows/e2e-tests.yml\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      branch: ${{ inputs.branch }}\n\n  lint:\n    strategy:\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ \"3.11\" ]\n    uses: ./.github/workflows/lint.yml\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      branch: ${{ inputs.branch }}\n\n\n  pip-compile:\n    strategy:\n      matrix:\n        os: [ windows-latest, ubuntu-latest ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n    uses: ./.github/workflows/pip-compile.yml\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      branch: ${{ inputs.branch }}\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:42.292013", "created_at": "2024-01-17T15:47:47+01:00", "updated_at": "2024-01-17T15:47:47+01:00", "name": "Auto-merge sync PR", "path": ".github/workflows/auto-merge-prs.yml", "contents": "name: Auto-merge sync PR\n# This workflow automatically merges the PRs labelled \"automerge\". This is a part of syncing\n# of `develop` and `main` branches.\n\non:\n  schedule:\n    - cron: '*/60 * * * *' # every 60 minutes\n  workflow_dispatch: # on button click\n\njobs:\n  automerge:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.GH_TAGGING_TOKEN }}\n\n      - name: Set git email and name\n        run: |\n          git config --global user.email \"kedro@kedro.com\"\n          git config --global user.name \"Kedro\"\n\n      - name: Maybe merge automerge PR to `develop`\n        run: ./tools/github_actions/attempt_merge_pr.sh \"merge-main-to-develop\" \"develop\" ${{ secrets.GH_TAGGING_TOKEN }}\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:43.418636", "created_at": "2024-01-11T16:53:51+01:00", "updated_at": "2024-01-11T16:53:51+01:00", "name": "Check Kedro version and build-publish", "path": ".github/workflows/check-release.yml", "contents": "name: Check Kedro version and build-publish\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  check-version:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Install uv\n        run: |\n          python -m pip install \"uv==0.1.32\"\n      - name: Install dependencies\n        run: |\n          uv pip install --system requests\n      - name: Check version\n        run: python tools/github_actions/github_actions_release.py\n      - name: Set outputs\n        id: version_check\n        run: |\n          echo \"new_release=${{ env.NEW_RELEASE }}\" >> $GITHUB_OUTPUT\n          echo \"kedro_version=${{ env.KEDRO_VERSION }}\" >> $GITHUB_OUTPUT\n    outputs:\n      new_release: ${{ steps.version_check.outputs.new_release }}\n      kedro_version: ${{ steps.version_check.outputs.kedro_version }}\n\n  test-kedro:\n    needs: check-version\n    if: ${{ needs.check-version.outputs.new_release == 'true' }}\n    uses: ./.github/workflows/all-checks.yml\n\n  build-publish:\n    needs: [check-version, test-kedro]\n    if: |\n      always() &&\n      !contains(needs.*.result, 'failure') &&\n      !contains(needs.*.result, 'cancelled') &&\n      needs.check-version.outputs.new_release == 'true'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Install uv\n        run: |\n          python -m pip install \"uv==0.1.32\"\n      - name: Install dependencies\n        run: |\n          uv pip install --system build\n      - name: Build package\n        run: make package\n      - name: Extract release notes from RELEASE.md\n        id: extract\n        run: |\n          python tools/github_actions/extract_release_notes.py \\\n          \"RELEASE.md\" \\\n          \"Release ${{needs.check-version.outputs.kedro_version}}\"\n      - name: Create GitHub Release\n        uses: softprops/action-gh-release@v1\n        with:\n          tag_name: ${{needs.check-version.outputs.kedro_version}}\n          name: ${{needs.check-version.outputs.kedro_version}}\n          body_path: release_body.txt\n          draft: false\n          prerelease: false\n          token: ${{ secrets.GH_TAGGING_TOKEN }}\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: dist\n          password: ${{ secrets.KEDRO_PYPI_TOKEN }}\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:44.545017", "created_at": "2023-08-21T17:28:52+02:00", "updated_at": "2023-08-22T17:58:05+02:00", "name": "Language Linter for Kedro Docs", "path": ".github/workflows/docs-language-linter.yml", "contents": "name: Language Linter for Kedro Docs\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - '**.md'\n\njobs:\n  vale:\n    name: runner / vale\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: errata-ai/vale-action@reviewdog\n        with:\n          reporter: github-pr-check\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:45.978450", "created_at": "2023-07-26T18:56:17+02:00", "updated_at": "2023-08-08T12:30:16+02:00", "name": "Run linter on Kedro Docs", "path": ".github/workflows/docs-only-checks.yml", "contents": "name: Run linter on Kedro Docs\n\non:\n  push:\n    branches:\n      - main\n      - develop\n    paths:\n      - \"docs/**\"\n      - '**.md'\n  pull_request:\n    branches:\n      - main\n      - develop\n    paths:\n      - \"docs/**\"\n      - '**.md'\n\njobs:\n  lint:\n    strategy:\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n    uses: ./.github/workflows/lint.yml\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:47.132491", "created_at": "2023-07-26T18:56:17+02:00", "updated_at": "2023-07-26T18:56:17+02:00", "name": "Run e2e-tests on Kedro", "path": ".github/workflows/e2e-tests.yml", "contents": "name: Run e2e-tests on Kedro\n\non:\n  workflow_call:\n    inputs:\n      os:\n        type: string\n      python-version:\n        type: string\n      branch:\n        type: string\n        default: ''\n\nenv:\n  COLUMNS: 120\n  LINES: 25\n\njobs:\n  e2e-tests:\n    runs-on: ${{ inputs.os }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.branch }}\n      - name: Set up Python ${{inputs.python-version}}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{inputs.python-version}}\n      - name: Cache python packages for Linux\n        if: inputs.os == 'ubuntu-latest'\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{inputs.os}}-python-${{inputs.python-version}}\n      - name: Cache python packages for Windows\n        if: inputs.os == 'windows-latest'\n        uses: actions/cache@v4\n        with:\n          path: ~\\AppData\\Local\\pip\\Cache\n          key: ${{inputs.os}}-python-${{inputs.python-version}}\n      - name: Add MSBuild to PATH\n        if: inputs.os == 'windows-latest'\n        uses: microsoft/setup-msbuild@v2\n      - name: Install Microsoft Visual C++ Redistributable\n        if: inputs.os == 'windows-latest'\n        run: |\n          choco install vcredist-all\n      - name: Setup Hadoop binary\n        if: inputs.os == 'windows-latest'\n        run: |\n          Invoke-WebRequest \"https://github.com/steveloughran/winutils/blob/master/hadoop-2.7.1/bin/winutils.exe?raw=true\" -OutFile winutils.exe\n          Invoke-WebRequest \"https://github.com/steveloughran/winutils/blob/master/hadoop-2.7.1/bin/hadoop.dll?raw=true\" -OutFile hadoop.dll\n          Move-Item .\\hadoop.dll C:\\Windows\\System32\n          New-Item -ItemType directory -Path C:\\hadoop\\bin\n          Move-Item .\\winutils.exe C:\\hadoop\\bin\n          echo \"HADOOP_HOME=C:\\hadoop\" | Out-File -Append -Encoding ascii -FilePath $env:GITHUB_ENV\n          echo \"PATH=$env:HADOOP_HOME\\bin;$env:PATH\" | Out-File -Append -Encoding ascii -FilePath $env:GITHUB_ENV\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install -U .[test]\n          make install-pre-commit\n      - name: pip freeze\n        run: pip freeze\n      - name: Run e2e tests\n        run: make e2e-tests\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:48.334143", "created_at": "2023-08-18T18:46:55+02:00", "updated_at": "2023-08-18T18:46:55+02:00", "name": "Monthly issue metrics", "path": ".github/workflows/issues_metrics.yml", "contents": "name: Monthly issue metrics\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '3 2 1 * *'\n\npermissions:\n  issues: write\n\njobs:\n  build:\n    name: issue metrics\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Get dates for last month\n      shell: bash\n      run: |\n        # Get the current date\n        current_date=$(date +'%Y-%m-%d')\n\n        # Calculate the previous month\n        previous_date=$(date -d \"$current_date -1 month\" +'%Y-%m-%d')\n\n        # Extract the year and month from the previous date\n        previous_year=$(date -d \"$previous_date\" +'%Y')\n        previous_month=$(date -d \"$previous_date\" +'%m')\n\n        # Calculate the first day of the previous month\n        first_day=$(date -d \"$previous_year-$previous_month-01\" +'%Y-%m-%d')\n\n        # Calculate the last day of the previous month\n        last_day=$(date -d \"$first_day +1 month -1 day\" +'%Y-%m-%d')\n\n        echo \"$first_day..$last_day\"\n        echo \"last_month=$first_day..$last_day\" >> \"$GITHUB_ENV\"\n\n    - name: Run issue-metrics tool\n      uses: github/issue-metrics@v2\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        SEARCH_QUERY: 'repo:kedro-org/kedro is:issue created:${{ env.last_month }} -reason:\"not planned\"'\n\n    - name: Create issue\n      uses: peter-evans/create-issue-from-file@v4\n      with:\n        title: Monthly issue metrics report\n        token: ${{ secrets.GITHUB_TOKEN }}\n        content-filepath: ./issue_metrics.md\n        assignees: noklam\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:49.461772", "created_at": "2023-07-26T11:15:36+02:00", "updated_at": "2023-07-26T11:15:36+02:00", "name": "Run checks on Kedro", "path": ".github/workflows/kedro-tests.yml", "contents": null, "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:50.469511", "created_at": "2023-07-25T00:38:50+02:00", "updated_at": "2023-07-25T00:38:50+02:00", "name": ".github/workflows/kedro.yml", "path": ".github/workflows/kedro.yml", "contents": null, "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:51.600710", "created_at": "2023-07-26T18:56:17+02:00", "updated_at": "2023-07-26T18:56:17+02:00", "name": "Run linters on Kedro", "path": ".github/workflows/lint.yml", "contents": "name: Run linters on Kedro\n\non:\n  workflow_call:\n    inputs:\n      os:\n        type: string\n      python-version:\n        type: string\n      branch:\n        type: string\n        default: ''\n\njobs:\n  lint:\n    runs-on: ${{ inputs.os }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.branch }}\n      - name: Set up Python ${{ inputs.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.python-version }}\n      - name: Cache python packages\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{inputs.os}}-python-${{inputs.python-version}}\n      - name: Install dependencies\n        run: |\n            make install-test-requirements\n            make install-pre-commit\n      - name: pip freeze\n        run: uv pip freeze --system\n      - name: Run linter\n        run: make lint\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:52.736143", "created_at": "2023-07-26T16:20:31+02:00", "updated_at": "2023-07-26T18:56:17+02:00", "name": "Merge Gatekeeper", "path": ".github/workflows/merge-gatekeeper.yml", "contents": "name: Merge Gatekeeper\n\non:\n  pull_request:\n    branches:\n      - main\n      - develop\n\njobs:\n  merge-gatekeeper:\n    runs-on: ubuntu-latest\n    # Restrict permissions of the GITHUB_TOKEN.\n    # Docs: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs\n    permissions:\n      checks: read\n      statuses: read\n    steps:\n      - name: Run Merge Gatekeeper\n        # NOTE: v1 is updated to reflect the latest v1.x.y. Please use any tag/branch that suits your needs:\n        #       https://github.com/upsidr/merge-gatekeeper/tags\n        #       https://github.com/upsidr/merge-gatekeeper/branches\n        uses: upsidr/merge-gatekeeper@v1\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          timeout: 3600\n          interval: 30\n          ignored: 'CircleCI Pipeline, runner / vale,'\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:53.786366", "created_at": "2023-09-19T19:56:04+02:00", "updated_at": "2023-09-19T19:56:04+02:00", "name": "Run nightly tests on Kedro", "path": ".github/workflows/nightly-build.yml", "contents": "name: Run nightly tests on Kedro\n\non:\n  workflow_dispatch:\n  schedule:\n    # Run every day at midnight (UTC time)\n    - cron: '0 0 * * *'\n\njobs:\n  kedro-main-test:\n    uses: ./.github/workflows/all-checks.yml\n    with:\n      branch: main\n\n  kedro-develop-test:\n    uses: ./.github/workflows/all-checks.yml\n    with:\n      branch: develop\n\n  notify-main:\n    permissions:\n      issues: write\n    name: Notify failed build for kedro-main\n    needs: kedro-main-test\n    if: ${{ !success() }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: jayqi/failed-build-issue-action@v1\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          label-name: \"main nightly build\"\n          title-template: \"ci: Nightly build failure on `main`\"\n          body-template: |\n            GitHub Actions workflow [{{workflow}} #{{runNumber}}](https://github.com/{{repo.owner}}/{{repo.repo}}/actions/runs/{{runId}}) failed.\n          create-label: true\n          always-create-new-issue: false\n\n  notify-develop:\n    permissions:\n      issues: write\n    name: Notify failed build for kedro-develop\n    needs: kedro-develop-test\n    if: ${{ !success() }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: jayqi/failed-build-issue-action@v1\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          label-name: \"develop nightly build\"\n          title-template: \"ci: Nightly build failure on `develop`\"\n          body-template: |\n            GitHub Actions workflow [{{workflow}} #{{runNumber}}](https://github.com/{{repo.owner}}/{{repo.repo}}/actions/runs/{{runId}}) failed.\n          create-label: true\n          always-create-new-issue: false\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:54.990006", "created_at": "2023-07-27T13:18:42+02:00", "updated_at": "2023-07-27T13:18:42+02:00", "name": "Run pip-compile", "path": ".github/workflows/pip-compile.yml", "contents": "name: Run pip-compile\n\non:\n  workflow_call:\n    inputs:\n      os:\n        type: string\n      python-version:\n        type: string\n      branch:\n        type: string\n        default: ''\n\njobs:\n  pip-compile:\n    runs-on: ${{ inputs.os }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.branch }}\n      - name: Set up Python ${{inputs.python-version}}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{inputs.python-version}}\n      - name: Cache python packages for Linux\n        if: inputs.os == 'ubuntu-latest'\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{inputs.os}}-python-${{inputs.python-version}}\n      - name: Cache python packages for Windows\n        if: inputs.os == 'windows-latest'\n        uses: actions/cache@v4\n        with:\n          path: ~\\AppData\\Local\\pip\\Cache\n          key: ${{inputs.os}}-python-${{inputs.python-version}}\n      - name: Add MSBuild to PATH\n        if: inputs.os == 'windows-latest'\n        uses: microsoft/setup-msbuild@v2\n      - name: Install dependencies\n        run: |\n          make install-test-requirements\n          make install-pre-commit\n          uv pip install --system \"pip-tools>=6.5\"\n      - name: Run pip-compile\n        run: make pip-compile\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:56.063324", "created_at": "2023-08-18T17:57:23+02:00", "updated_at": "2023-08-18T17:57:23+02:00", "name": "Trigger kedro-starters Release", "path": ".github/workflows/release-starters.yml", "contents": "name: Trigger kedro-starters Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  trigger-release:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Get Latest Release Version\n        id: get_version\n        run: echo \"version=${GITHUB_REF#refs/tags/}\" >> $GITHUB_OUTPUT\n\n      - name: Trigger release in kedro-starters\n        uses: peter-evans/repository-dispatch@v2\n        with:\n          token: ${{ secrets.GA_STARTERS_RELEASE }}\n          repository: kedro-org/kedro-starters\n          event-type: release-triggered\n          client-payload: '{\"version\": \"${{ steps.get_version.outputs.version }}\"}'\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:57.134955", "created_at": "2024-01-17T15:47:47+01:00", "updated_at": "2024-01-17T15:47:47+01:00", "name": "Sync `main` and `develop`", "path": ".github/workflows/sync.yml", "contents": "name: Sync `main` and `develop`\n# This workflow merges commits from `main` branch to `develop` branch if the commits can be merged\n# cleanly, otherwise creates a PR for the maintainers to manually resolve the conflicts.\n\non:\n  schedule:\n    - cron: '*/30 * * * *' # every 30 minutes\n  workflow_dispatch: # on button click\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.GH_TAGGING_TOKEN }}\n\n      - name: Set git email and name\n        run: |\n          git config --global user.email \"kedro@kedro.com\"\n          git config --global user.name \"Kedro\"\n\n      - name: Maybe merge to develop or raise a PR\n        run: ./tools/github_actions/merge.sh . \"main\" \"develop\" \"${{ secrets.GH_TAGGING_TOKEN }}\"\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:55:58.385640", "created_at": "2023-07-26T18:56:17+02:00", "updated_at": "2023-07-26T18:56:17+02:00", "name": "Run unit-tests on Kedro", "path": ".github/workflows/unit-tests.yml", "contents": "name: Run unit-tests on Kedro\n\non:\n  workflow_call:\n    inputs:\n      os:\n        type: string\n      python-version:\n        type: string\n      branch:\n        type: string\n        default: ''\njobs:\n  unit-tests:\n    runs-on: ${{ inputs.os }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.branch }}\n      - name: Set up Python ${{inputs.python-version}}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{inputs.python-version}}\n      - name: Cache python packages for Linux\n        if: inputs.os == 'ubuntu-latest'\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{inputs.os}}-python-${{inputs.python-version}}\n      - name: Cache python packages for Windows\n        if: inputs.os == 'windows-latest'\n        uses: actions/cache@v4\n        with:\n          path: ~\\AppData\\Local\\pip\\Cache\n          key: ${{inputs.os}}-python-${{inputs.python-version}}\n      - name: Add MSBuild to PATH\n        if: inputs.os == 'windows-latest'\n        uses: microsoft/setup-msbuild@v2\n      - name: Install dependencies\n        run: |\n            make install-test-requirements\n            make install-pre-commit\n      - name: pip freeze\n        run: uv pip freeze --system\n      - name: Run unit tests\n        run: make test\n", "state": "active", "repository": "kedro-org/kedro"}
{"mined_at": "2024-07-15T16:56:00.445732", "created_at": "2022-11-24T15:54:40+01:00", "updated_at": "2022-11-24T15:54:40+01:00", "name": "Build multiworld client", "path": ".github/workflows/multiworld_build.yml", "contents": "name: Build multiworld client\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: windows-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U pyinstaller\n        pip install -U flask\n    - name: Install pyevilemu\n      run: |\n        git clone https://github.com/daid/pyevilemu.git\n        cd pyevilemu\n        python setup.py install\n    - name: Build with pyinstaller\n      run: |\n        cd multiworld\n        pyinstaller --clean -y client.py -n multiworldclient\n    - name: Upload windows dist build\n      uses: actions/upload-artifact@v3\n      with:\n        name: multiworld-client-windows\n        path: multiworld/dist/multiworldclient\n", "state": "active", "repository": "daid/ladxr"}
{"mined_at": "2024-07-15T16:56:01.491686", "created_at": "2023-01-12T16:15:40+01:00", "updated_at": "2023-01-12T16:15:40+01:00", "name": "Python parse test", "path": ".github/workflows/python-parse-test.yml", "contents": "name: Python parse test\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n    - run: python3 main.py -h\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s seashells=0 -s heartpiece=0 -s dungeon_items=keysanity --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s logic=glitched -s dungeon_items=keysanity -s heartpiece=0 -s seashells=0 -s heartcontainers=0 -s instruments=1 -s owlstatues=both -s dungeonshuffle=1 -s witch=0 -s boomerang=gift -s steal=never -s goal=random --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s logic=casual -s dungeon_items=keysy -s itempool=casual --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s textmode=none --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s overworld=dungeondive --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s overworld=nodungeons --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s overworld=alttp --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s overworld=dungeonchain --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s owlstatues=dungeon --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s owlstatues=overworld --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s owlstatues=both --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s randomstartlocation=1 --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s dungeonshuffle=1 --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s entranceshuffle=simple --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s entranceshuffle=split --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s entranceshuffle=mixed --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s entranceshuffle=wild --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s entranceshuffle=chaos --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s entranceshuffle=insane --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s entranceshuffle=madness --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s entranceshuffle=madness -s shufflejunk=1 -s shuffleannoying=1 -s shufflewater=1 --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s boss=random --output /dev/null\n    - run: python3 main.py SKIP_ROM_GENERATION --timeout 120 -s miniboss=random --output /dev/null\n", "state": "active", "repository": "daid/ladxr"}
{"mined_at": "2024-07-15T16:56:02.544924", "created_at": "2022-01-01T10:11:35+01:00", "updated_at": "2022-01-01T10:11:35+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "daid/ladxr"}
{"mined_at": "2024-07-15T16:56:04.649003", "created_at": "2023-05-16T12:43:40+02:00", "updated_at": "2023-05-16T14:25:03+02:00", "name": "Black format check", "path": ".github/workflows/black_format.yml", "contents": "\nname: Black format check\n\non:\n  pull_request:\n    paths:\n      - '.github/workflows/black_format.yml'\n      - '**.py'\n\njobs:\n  black-format-check:\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v3.5.2\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4.6.0\n        with:\n          python-version: 3.11\n      - name: Install black\n        run: python -m pip install black==24.1.1\n      - name: Run black\n        run: black --check src\n", "state": "active", "repository": "textualize/textual"}
{"mined_at": "2024-07-15T16:56:05.729241", "created_at": "2023-07-03T12:44:16+02:00", "updated_at": "2023-07-03T15:17:20+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ 'main' ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ 'main' ]\n    paths:\n      - '.github/workflows/codeql.yml'\n      - '**.py'\n      - '**.pyi'\n      - '**.lock'\n      - '**.js'\n      - '**.ts'\n  schedule:\n    - cron: '10 20 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "textualize/textual"}
{"mined_at": "2024-07-15T16:56:06.814834", "created_at": "2021-09-05T10:03:06+02:00", "updated_at": "2023-05-16T14:25:03+02:00", "name": "Closed issue comment", "path": ".github/workflows/comment.yml", "contents": "name: Closed issue comment\non:\n  issues:\n    types: [closed]\n\njobs:\n  add-comment:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - name: Did we solve your problem?\n        uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae\n        with:\n          issue-number: ${{ github.event.issue.number }}\n          body: |\n            Don't forget to [star](https://github.com/Textualize/textual) the repository!\n\n            Follow [@textualizeio](https://twitter.com/textualizeio) for Textual updates.\n", "state": "active", "repository": "textualize/textual"}
{"mined_at": "2024-07-15T16:56:07.876000", "created_at": "2022-12-18T11:02:37+01:00", "updated_at": "2023-05-16T14:25:03+02:00", "name": "FAQ issue comment", "path": ".github/workflows/new_issue.yml", "contents": "name: FAQ issue comment\non:\n  issues:\n    types: [opened]\n\njobs:\n  add-comment:\n    if: ${{ !contains( 'willmcgugan,darrenburns,davep,rodrigogiraoserrao', github.actor ) }}\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: main\n      - name: Install FAQtory\n        run: pip install FAQtory\n      - name: Run Suggest\n        env:\n          TITLE: ${{ github.event.issue.title }}\n        run: faqtory suggest \"$TITLE\" > suggest.md\n      - name: Read suggest.md\n        id: suggest\n        uses: juliangruber/read-file-action@v1\n        with:\n          path: ./suggest.md\n      - name: Suggest FAQ\n        uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae\n        with:\n          issue-number: ${{ github.event.issue.number }}\n          body: ${{ steps.suggest.outputs.content }}\n", "state": "active", "repository": "textualize/textual"}
{"mined_at": "2024-07-15T16:56:08.906685", "created_at": "2021-07-05T21:40:09+02:00", "updated_at": "2021-07-12T20:27:16+02:00", "name": "Test Textual module", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Test Textual module\n\non:\n  pull_request:\n    paths:\n      - \".github/workflows/pythonpackage.yml\"\n      - \"**.py\"\n      - \"**.pyi\"\n      - \"**.css\"\n      - \"**.ambr\"\n      - \"**.lock\"\n      - \"Makefile\"\n\nenv:\n  PYTEST_ADDOPTS: \"--color=yes\"\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n        # Python 3.9 is on macos-13 but not macos-latest (macos-14-arm64)\n        # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n        exclude:\n          - { python-version: \"3.8\", os: \"macos-latest\" }\n          - { python-version: \"3.9\", os: \"macos-latest\" }\n          - { python-version: \"3.11\", os: \"macos-latest\" }\n        include:\n          - { python-version: \"3.8\", os: \"macos-13\" }\n          - { python-version: \"3.9\", os: \"macos-13\" }\n          - { python-version: \"3.11\", os: \"macos-13\" }\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v4.1.1\n      - name: Install Poetry\n        run: pipx install poetry==1.7.1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4.7.1\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"poetry\"\n      - name: Install dependencies\n        run: poetry install --no-interaction --extras syntax\n        if: ${{ matrix.python-version != '3.12' }}\n      - name: Install dependencies for 3.12 # https://github.com/Textualize/textual/issues/3491#issuecomment-1854156476\n        run: poetry install --no-interaction\n        if: ${{ matrix.python-version == '3.12' }}\n      - name: Test with pytest\n        run: |\n          poetry run pytest tests -v --cov=./src/textual --cov-report=xml:./coverage.xml --cov-report term-missing\n        if: ${{ matrix.python-version != '3.12' }}\n      - name: Test with pytest for 3.12 # https://github.com/Textualize/textual/issues/3491#issuecomment-1854156476\n        run: |\n          poetry run pytest tests -v --cov=./src/textual --cov-report=xml:./coverage.xml --cov-report term-missing -m 'not syntax'\n        if: ${{ matrix.python-version == '3.12' }}\n      - name: Upload snapshot report\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: snapshot-report-textual\n          path: snapshot_report.html\n", "state": "active", "repository": "textualize/textual"}
{"mined_at": "2024-07-15T16:56:09.913505", "created_at": "2022-09-06T16:30:01+02:00", "updated_at": "2022-09-06T16:30:01+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "textualize/textual"}
{"mined_at": "2024-07-15T16:56:11.983613", "created_at": "2021-11-01T16:44:34+01:00", "updated_at": "2022-01-03T15:07:48+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/label.yml", "contents": "# This workflow will triage pull requests and apply a label based on the\n# paths that are modified in the pull request.\n#\n# To use this workflow, you will need to set up a .github/labeler.yml\n# file with configuration.  For more information, see:\n# https://github.com/actions/labeler\n\nname: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v3\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:13.058452", "created_at": "2021-11-02T10:03:47+01:00", "updated_at": "2021-11-02T10:03:47+01:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '25 10 * * *'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'Stale issue message'\n        stale-pr-message: 'Stale pull request message'\n        stale-issue-label: 'no-issue-activity'\n        stale-pr-label: 'no-pr-activity'\n        days-before-close: -1 # Disable automatic closing stale PRs\n", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:14.091738", "created_at": "2021-11-15T10:57:27+01:00", "updated_at": "2021-11-15T10:57:27+01:00", "name": "Publish Release", "path": ".github/workflows/publish_release.yml", "contents": "name: Publish Release\non:\n  workflow_dispatch:  # Allow manual triggers\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install twine\n      - name: Build package\n        run: |\n          python setup.py sdist bdist_wheel\n      - name: Publish package\n        run: |\n          twine upload --repository pypi dist/* -u __token__ -p ${{ secrets.PYPI_API_KEY }}\n\n", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:15.118002", "created_at": "2021-12-05T14:00:37+01:00", "updated_at": "2021-12-05T14:00:37+01:00", "name": "Run Common Tests", "path": ".github/workflows/tests_common.yml", "contents": "name: Run Common Tests\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Run unittests\n        run: python -m unittest discover tests/common_tests -v\n", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:16.133908", "created_at": "2021-12-05T20:18:36+01:00", "updated_at": "2021-12-05T20:18:36+01:00", "name": "Nightly", "path": ".github/workflows/nightly.yml", "contents": "name: Nightly\non:\n  workflow_dispatch:  # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n\njobs:\n  build:\n    if: github.repository == 'sony/model_optimization' # Don't do this in forks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install twine\n      - name: Build nightly\n        run: |\n          version=$(python -c 'import model_compression_toolkit; print(model_compression_toolkit.__version__)')\n          now=$(date +'%Y%m%d.%H%M%S')\n          echo \"nightly_version=$version.$now\" >> $GITHUB_ENV\n          sed -i \"s/__version__ =.*/__version__ = \\\"$version.$now\\\"/g\" model_compression_toolkit/__init__.py\n          sed -i \"s/name='model_compression_toolkit'/name='mct-nightly'/g\" setup.py\n          python setup.py sdist bdist_wheel\n      - name: Publish nightly\n        run: |\n          twine upload --repository pypi dist/* --verbose -u __token__ -p ${{ secrets.PYPI_API_KEY }}\n      - name: Post publish import test\n        run: |\n          pip install mct-nightly tensorflow torch\n          version=$(python -c 'import model_compression_toolkit; print(model_compression_toolkit.__version__)')\n          echo $version", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:17.313230", "created_at": "2022-08-17T16:30:30+02:00", "updated_at": "2022-08-17T16:30:30+02:00", "name": "Run Keras Tests", "path": ".github/workflows/run_keras_tests.yml", "contents": "name: Run Keras Tests\n\non:\n  workflow_call:\n    inputs:\n      python-version:\n        required: true\n        type: string\n      tf-version:\n        required: true\n        type: string\n\njobs:\n  run-tensorflow-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ inputs.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install tensorflow==${{ inputs.tf-version }}\n      - name: Run unittests\n        # Some tests are sensitive to memory because we use tf gradients on a multi-thread/process\n        # CPU environment (https://github.com/tensorflow/tensorflow/issues/41718).\n        # For this reason, if we run them in such an environment, we need to run them first non-parallel separately.\n        run: |\n          python -m unittest discover tests/keras_tests/pruning_tests -v\n          python -m unittest discover tests/keras_tests/non_parallel_tests -v\n          for script in tests/xquant_tests/keras_tests tests/keras_tests/exporter_tests tests/keras_tests/feature_networks_tests tests/keras_tests/graph_tests tests/keras_tests/layer_tests; do python -m unittest discover $script -v & pids+=($!); done; for pid in ${pids[@]}; do wait $pid || exit 1; done          \n\n", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:18.335091", "created_at": "2022-08-17T16:30:30+02:00", "updated_at": "2022-08-17T16:30:30+02:00", "name": "Run PyTorch Tests", "path": ".github/workflows/run_pytorch_tests.yml", "contents": "name: Run PyTorch Tests\n\non:\n  workflow_call:\n    inputs:\n      python-version:\n        required: true\n        type: string\n      torch-version:\n        required: true\n        type: string\n\njobs:\n  run-pytorch-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ inputs.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt          \n          pip install torch==${{ inputs.torch-version }} torchvision onnx onnxruntime\n      - name: Run unittests\n        run: |\n          python -m unittest discover tests/xquant_tests/pytorch_tests -v\n          python -m unittest discover tests/pytorch_tests -v\n\n\n\n\n", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:19.370470", "created_at": "2022-12-13T13:46:42+01:00", "updated_at": "2022-12-13T13:46:42+01:00", "name": "Test pip install", "path": ".github/workflows/run_tests_suite_pip_keras.yml", "contents": "name: Test pip install\non:\n  workflow_dispatch: # Allow manual triggers\n    inputs:\n      python_version:\n        description: 'Python version'\n        required: false\n        default: '3.10'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{  inputs.python_version  }}\n      - name: Install dependencies\n        run: |\n          pip install -r requirements.txt\n          pip install twine wheel\n      - name: Build WHL file\n        run: |\n          version=$(python -c 'import model_compression_toolkit; print(model_compression_toolkit.__version__)')\n          now=$(date +'%Y%m%d-%H%M%S')\n          echo \"nightly_version=$version.$now\" >> $GITHUB_ENV\n          sed -i \"s/attr: model_compression_toolkit.__version__/$version.$now/g\" setup.cfg\n          sed -i \"s/name='model_compression_toolkit'/name='model-compression-toolkit'/g\" setup.py\n          python setup.py sdist bdist_wheel\n      - name: Install WHL file\n        run: |\n          whl_file=$(find . -iname \"*.whl\")\n          echo $whl_file\n          pip install $whl_file\n          pip list\n          python -c 'import model_compression_toolkit; print(model_compression_toolkit.__version__)'\n      - name: Remove MCT code\n        run: |\n          rm -rf model_compression_toolkit\n      - name: Install TF\n        run: |\n          pip install tensorflow==2.15.*\n      - name: Run Commom Tests\n        run: |\n          python -m unittest discover tests/common_tests --verbose\n      - name: Run Tensorflow Tests\n        run: |\n          python -m unittest discover tests/keras_tests --verbose\n      - name: Uninstall TF and install torch\n        run: |\n          pip uninstall tensorflow -y\n          pip install torch torchvision onnx onnxruntime onnxruntime-extensions\n      - name: Run Pytorch Tests\n        run: |\n          python -m unittest discover tests/pytorch_tests --verbose\n", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:20.467769", "created_at": "2023-05-01T16:23:28+02:00", "updated_at": "2023-05-01T16:23:28+02:00", "name": "Check Markdown links", "path": ".github/workflows/action.yml", "contents": null, "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:21.493816", "created_at": "2023-05-07T08:53:58+02:00", "updated_at": "2023-05-11T16:09:24+02:00", "name": "Check Markdown and doc links", "path": ".github/workflows/link_checker.yml", "contents": "name: Check Markdown and doc links\n\non:\n  workflow_dispatch: # Allow manual triggers\n  pull_request:\n    branches:\n      - main\n\njobs:\n  link-checker:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.10.*\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install requests==2.27.1\n      - name: Run unittests\n        run: |\n          export CURL_CA_BUNDLE=''\n          python -m unittest tests/doc_tests/test_docs_links.py -v\n", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:22.497462", "created_at": "2023-08-15T18:56:03+02:00", "updated_at": "2023-08-17T06:45:35+02:00", "name": "Coverage Test", "path": ".github/workflows/run_tests_suite_coverage.yml", "contents": "name: Coverage Test\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 80\n    env:\n      COVERAGE_THRESHOLD: 97\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install coverage\n      - name: Prepare TF env\n        run: pip install tensorflow==2.13.*\n      - name: Run tensorflow testsuite\n        run: coverage run --parallel-mode -m --omit \"*__init__.py\" --include \"model_compression_toolkit/**/*.py\" unittest tests/test_suite.py -v\n      - name: Prepare Torch env\n        run: pip uninstall tensorflow -y && pip install torch==2.0.* torchvision onnx onnxruntime onnxruntime-extensions\n      - name: Run torch testsuite\n        run: coverage run --parallel-mode -m --omit \"*__init__.py\" --include \"model_compression_toolkit/**/*.py\" unittest tests/test_suite.py -v\n      - name: Combine Multiple Coverage Files\n        run: coverage combine\n      - name: Run Coverage HTML\n        run: coverage html -i --directory ./coverage_report_html\n      - name: Archive code coverage results\n        uses: actions/upload-artifact@v4\n        with:\n          name: code-coverage-report\n          path: |\n            coverage_report_html\n      - name: Coverage Report\n        run: coverage report -i --skip-covered --sort cover --fail-under $COVERAGE_THRESHOLD\n", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:23.578905", "created_at": "2023-08-15T18:56:04+02:00", "updated_at": "2023-08-16T09:45:23+02:00", "name": "Python 3.10, Keras 2.13", "path": ".github/workflows/run_tests_python310_keras213.yml", "contents": "name: Python 3.10, Keras 2.13\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_keras_tests.yml\n    with:\n      python-version: \"3.10\"\n      tf-version: \"2.13.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:24.617545", "created_at": "2023-08-15T18:56:04+02:00", "updated_at": "2023-08-16T09:45:24+02:00", "name": "Python 3.9, Keras 2.13", "path": ".github/workflows/run_tests_python39_keras213.yml", "contents": "name: Python 3.9, Keras 2.13\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_keras_tests.yml\n    with:\n      python-version: \"3.9\"\n      tf-version: \"2.13.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:25.712681", "created_at": "2023-08-15T18:56:04+02:00", "updated_at": "2023-08-16T09:45:23+02:00", "name": "Python 3.9, Keras 2.12", "path": ".github/workflows/run_tests_python39_keras212.yml", "contents": "name: Python 3.9, Keras 2.12\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_keras_tests.yml\n    with:\n      python-version: \"3.9\"\n      tf-version: \"2.12.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:26.803345", "created_at": "2023-08-15T18:56:04+02:00", "updated_at": "2023-08-16T09:45:23+02:00", "name": "Python 3.10, Keras 2.12", "path": ".github/workflows/run_tests_python310_keras212.yml", "contents": "name: Python 3.10, Keras 2.12\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_keras_tests.yml\n    with:\n      python-version: \"3.10\"\n      tf-version: \"2.12.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:27.961997", "created_at": "2023-08-16T12:08:43+02:00", "updated_at": "2023-08-16T13:07:58+02:00", "name": "Python 3.10, Pytorch 2.0", "path": ".github/workflows/run_tests_python310_pytorch20.yml", "contents": "name: Python 3.10, Pytorch 2.0\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_pytorch_tests.yml\n    with:\n      python-version: \"3.10\"\n      torch-version: \"2.0.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:29.191459", "created_at": "2023-08-16T12:08:43+02:00", "updated_at": "2023-08-16T13:07:58+02:00", "name": "Python 3.9, Pytorch 2.0", "path": ".github/workflows/run_tests_python39_pytorch20.yml", "contents": "name: Python 3.9, Pytorch 2.0\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_pytorch_tests.yml\n    with:\n      python-version: \"3.9\"\n      torch-version: \"2.0.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:30.197408", "created_at": "2023-10-22T15:07:00+02:00", "updated_at": "2023-10-31T12:25:44+01:00", "name": "Python 3.9, Keras 2.14", "path": ".github/workflows/run_tests_python39_keras214.yml", "contents": "name: Python 3.9, Keras 2.14\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_keras_tests.yml\n    with:\n      python-version: \"3.9\"\n      tf-version: \"2.14.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:31.220807", "created_at": "2023-10-22T15:07:00+02:00", "updated_at": "2023-10-22T15:07:00+02:00", "name": "Python 3.8, Keras 2.14", "path": ".github/workflows/run_tests_python38_keras214.yml", "contents": null, "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:32.361506", "created_at": "2023-10-22T15:07:00+02:00", "updated_at": "2023-10-31T12:25:44+01:00", "name": "Python 3.10, Keras 2.14", "path": ".github/workflows/run_tests_python310_keras214.yml", "contents": "name: Python 3.10, Keras 2.14\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_keras_tests.yml\n    with:\n      python-version: \"3.10\"\n      tf-version: \"2.14.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:33.594422", "created_at": "2023-10-22T15:11:09+02:00", "updated_at": "2023-10-31T12:25:44+01:00", "name": "Python 3.11, Keras 2.14", "path": ".github/workflows/run_tests_python311_keras214.yml", "contents": "name: Python 3.11, Keras 2.14\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_keras_tests.yml\n    with:\n      python-version: \"3.11\"\n      tf-version: \"2.14.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:34.823103", "created_at": "2023-10-23T16:39:12+02:00", "updated_at": "2023-10-31T12:25:44+01:00", "name": "Python 3.11, Keras 2.13", "path": ".github/workflows/run_tests_python311_keras213.yml", "contents": "name: Python 3.11, Keras 2.13\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_keras_tests.yml\n    with:\n      python-version: \"3.11\"\n      tf-version: \"2.13.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:35.828637", "created_at": "2023-10-23T16:39:12+02:00", "updated_at": "2023-10-31T12:25:44+01:00", "name": "Python 3.11, Keras 2.12", "path": ".github/workflows/run_tests_python311_keras212.yml", "contents": "name: Python 3.11, Keras 2.12\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_keras_tests.yml\n    with:\n      python-version: \"3.11\"\n      tf-version: \"2.12.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:36.850130", "created_at": "2023-10-29T16:02:21+01:00", "updated_at": "2023-10-30T10:07:42+01:00", "name": "Run Keras Sony Custom Layers Tests", "path": ".github/workflows/run_keras_sony_custom_layers.yml", "contents": "name: Run Keras Sony Custom Layers Tests\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\njobs:\n  run-tensorflow-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install tensorflow==2.13.*\n          pip install sony-custom-layers\n      - name: Run unittests\n        run: |\n          python -m unittest discover tests/keras_tests/custom_layers_tests -v\n", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:37.851637", "created_at": "2023-11-08T09:06:22+01:00", "updated_at": "2023-11-08T13:39:15+01:00", "name": "Python 3.10, Pytorch 2.1", "path": ".github/workflows/run_tests_python310_pytorch21.yml", "contents": "name: Python 3.10, Pytorch 2.1\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_pytorch_tests.yml\n    with:\n      python-version: \"3.10\"\n      torch-version: \"2.1.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:38.905530", "created_at": "2023-11-08T09:06:22+01:00", "updated_at": "2023-11-08T13:39:15+01:00", "name": "Python 3.9, Pytorch 2.1", "path": ".github/workflows/run_tests_python39_pytorch21.yml", "contents": "name: Python 3.9, Pytorch 2.1\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_pytorch_tests.yml\n    with:\n      python-version: \"3.9\"\n      torch-version: \"2.1.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:40.043143", "created_at": "2023-11-08T09:06:22+01:00", "updated_at": "2023-11-08T13:39:15+01:00", "name": "Python 3.11, Pytorch 2.0", "path": ".github/workflows/run_tests_python311_pytorch20.yml", "contents": "name: Python 3.11, Pytorch 2.0\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_pytorch_tests.yml\n    with:\n      python-version: \"3.11\"\n      torch-version: \"2.0.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:41.173146", "created_at": "2023-11-08T09:06:22+01:00", "updated_at": "2023-11-08T13:39:15+01:00", "name": "Python 3.11, Pytorch 2.1", "path": ".github/workflows/run_tests_python311_pytorch21.yml", "contents": "name: Python 3.11, Pytorch 2.1\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_pytorch_tests.yml\n    with:\n      python-version: \"3.11\"\n      torch-version: \"2.1.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:42.400615", "created_at": "2023-11-08T09:06:22+01:00", "updated_at": "2023-11-08T09:06:22+01:00", "name": "Python 3.8, Pytorch 2.1", "path": ".github/workflows/run_tests_python38_pytorch21.yml", "contents": null, "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:43.521966", "created_at": "2023-11-08T09:06:22+01:00", "updated_at": "2023-11-08T09:06:22+01:00", "name": "Python 3.11, Pytorch 1.13", "path": ".github/workflows/run_tests_python311_pytorch113.yml", "contents": null, "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:45.168450", "created_at": "2024-03-12T16:28:28+01:00", "updated_at": "2024-03-14T12:02:10+01:00", "name": "Python 3.11, Keras 2.15", "path": ".github/workflows/run_tests_python311_keras215.yml", "contents": "name: Python 3.11, Keras 2.15\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_keras_tests.yml\n    with:\n      python-version: \"3.11\"\n      tf-version: \"2.15.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:46.178436", "created_at": "2024-03-12T16:28:29+01:00", "updated_at": "2024-03-14T12:02:10+01:00", "name": "Python 3.10, Keras 2.15", "path": ".github/workflows/run_tests_python310_keras215.yml", "contents": "name: Python 3.10, Keras 2.15\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_keras_tests.yml\n    with:\n      python-version: \"3.10\"\n      tf-version: \"2.15.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:47.313260", "created_at": "2024-03-12T16:28:29+01:00", "updated_at": "2024-03-14T12:02:10+01:00", "name": "Python 3.9, Keras 2.15", "path": ".github/workflows/run_tests_python39_keras215.yml", "contents": "name: Python 3.9, Keras 2.15\non:\n  workflow_dispatch: # Allow manual triggers\n  schedule:\n    - cron: 0 0 * * *\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  run-tests:\n    uses: ./.github/workflows/run_keras_tests.yml\n    with:\n      python-version: \"3.9\"\n      tf-version: \"2.15.*\"", "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:48.285725", "created_at": "2024-06-19T14:32:38+02:00", "updated_at": "2024-06-24T11:04:17+02:00", "name": "Python 3.11, Pytorch 2.3", "path": ".github/workflows/run_tests_python311_pytorch23.yml", "contents": null, "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:49.311582", "created_at": "2024-06-19T14:32:38+02:00", "updated_at": "2024-06-24T11:04:17+02:00", "name": "Python 3.9, Pytorch 2.2", "path": ".github/workflows/run_tests_python39_pytorch22.yml", "contents": null, "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:50.379281", "created_at": "2024-06-19T14:32:38+02:00", "updated_at": "2024-06-24T11:04:17+02:00", "name": "Python 3.9, Pytorch 2.3", "path": ".github/workflows/run_tests_python39_pytorch23.yml", "contents": null, "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:51.493822", "created_at": "2024-06-19T14:32:38+02:00", "updated_at": "2024-06-24T11:04:17+02:00", "name": "Python 3.10, Pytorch 2.2", "path": ".github/workflows/run_tests_python310_pytorch22.yml", "contents": null, "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:52.516599", "created_at": "2024-06-19T14:32:38+02:00", "updated_at": "2024-06-24T11:04:17+02:00", "name": "Python 3.10, Pytorch 2.3", "path": ".github/workflows/run_tests_python310_pytorch23.yml", "contents": null, "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:53.525763", "created_at": "2024-06-19T14:32:38+02:00", "updated_at": "2024-06-24T11:04:17+02:00", "name": "Python 3.11, Pytorch 2.2", "path": ".github/workflows/run_tests_python311_pytorch22.yml", "contents": null, "state": "active", "repository": "sony/model_optimization"}
{"mined_at": "2024-07-15T16:56:55.488063", "created_at": "2021-12-19T00:00:14+01:00", "updated_at": "2021-12-19T00:00:14+01:00", "name": "Automatic Rebase", "path": ".github/workflows/auto-rebase.yml", "contents": "name: Automatic Rebase\non:\n  push:\n    branches-ignore:\n      # Ignore branches automatically created by github-rebase\n      - rebase-pull-request**\n      - cherry-pick-rebase-pull-request**\n  pull_request:\n    types:\n      - labeled\njobs:\n  auto-rebase:\n    name: AutoRebase\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/create-github-app-token@v1.9.0\n        id: generate_token\n        with:\n          app-id: ${{ secrets.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - uses: Label305/AutoRebase@v0.1\n        with:\n          github_token: ${{ steps.generate_token.outputs.token }}\n", "state": "active", "repository": "cpcloud/protoletariat"}
{"mined_at": "2024-07-15T16:56:56.539744", "created_at": "2021-11-23T21:33:24+01:00", "updated_at": "2021-11-23T21:54:08+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  commitlint:\n    if: ${{ github.event_name == 'pull_request' }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n        with:\n          fetch-depth: 0\n\n      - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23\n        with:\n          nix_path: nixpkgs=channel:nixos-unstable-small\n\n      - uses: cachix/cachix-action@v12\n        with:\n          name: protoletariat\n          extraPullNames: nix-community,poetry2nix\n\n      - name: commitlint\n        run: nix shell -L -f '<nixpkgs>' commitlint -c commitlint --from=${{ github.event.pull_request.base.sha }} --to=${{ github.sha }} --verbose\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n\n      - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23\n        with:\n          nix_path: nixpkgs=channel:nixos-unstable-small\n\n      - uses: cachix/cachix-action@v12\n        with:\n          name: protoletariat\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix\n\n      - run: nix develop -c pre-commit run --all-files\n  nix:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n        python-version:\n          - \"38\"\n          - \"39\"\n          - \"310\"\n          - \"311\"\n    steps:\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n\n      - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23\n        with:\n          nix_path: nixpkgs=channel:nixos-unstable-small\n\n      - uses: cachix/cachix-action@v12\n        with:\n          name: protoletariat\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix\n\n      - name: build package and run tests\n        run: nix build --print-build-logs --no-link --keep-going '.#protoletariat${{ matrix.python-version }}'\n\n      - name: show closure info\n        run: nix path-info --closure-size --human-readable --recursive '.#protoletariat${{ matrix.python-version }}'\n  docker-image:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n\n      - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23\n        with:\n          nix_path: nixpkgs=channel:nixos-unstable-small\n\n      - uses: cachix/cachix-action@v12\n        with:\n          name: protoletariat\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix\n\n      - name: build and load docker image\n        run: nix run --print-build-logs --keep-going '.#protoletariat-image.copyToDockerDaemon'\n\n      - run: docker images protoletariat\n\n      - name: smoke test docker image\n        run: |\n          set -euo pipefail\n\n          imagetag=\"$(nix eval --raw '.#protoletariat-image.imageTag')\"\n          docker run --rm \"protoletariat:${imagetag}\"\n  conda-ubuntu-macos:\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - macos-latest\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n        buf:\n          - buf\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.9\"\n            buf: no-buf\n          - os: macos-latest\n            python-version: \"3.9\"\n            buf: no-buf\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n\n      - uses: bufbuild/buf-setup-action@v1.26.1\n        if: ${{ matrix.buf == 'buf' }}\n        with:\n          github_token: ${{ github.token }}\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - run: pip3 install poetry2conda poetry\n\n      - name: Generate conda environment file\n        run: |\n          set -euo pipefail\n\n          poetry2conda --dev pyproject.toml - | tee environment.yml\n\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          mamba-version: \"*\"\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          channel-priority: strict\n          activate-environment: protoletariat\n          python-version: ${{ matrix.python-version }}\n          environment-file: environment.yml\n\n      - run: mamba install grpc-cpp grpcio-tools\n      - run: pip install .\n      - run: pytest -ra\n  conda-windows:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n        buf:\n          - buf\n        include:\n          - python-version: \"3.9\"\n            buf: no-buf\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n\n      - uses: bufbuild/buf-setup-action@v1.26.1\n        if: ${{ matrix.buf == 'buf' }}\n        with:\n          github_token: ${{ github.token }}\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - run: pip3 install poetry2conda poetry\n\n      - name: Generate conda environment file\n        run: poetry2conda --dev pyproject.toml - > environment.yml\n\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          mamba-version: \"*\"\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          channel-priority: strict\n          activate-environment: protoletariat\n          python-version: ${{ matrix.python-version }}\n          environment-file: environment.yml\n\n      - run: mamba install grpc-cpp grpcio-tools pip\n      - run: pip install .\n      - run: pytest -ra\n  tensorflow:\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_OUT: /tmp/tensorflow-gen\n      TENSORFLOW_HOME: ${{ github.workspace }}/tensorflow\n    steps:\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n        with:\n          path: protoletariat\n\n      - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23\n        with:\n          nix_path: nixpkgs=channel:nixos-unstable-small\n\n      - uses: cachix/cachix-action@v12\n        with:\n          name: protoletariat\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix\n\n      - name: Clone Tensorflow\n        uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n        with:\n          repository: tensorflow/tensorflow\n          path: tensorflow\n\n      - run: mkdir -p \"$PYTHON_OUT\"\n\n      - name: Generate tensorflow Python proto code\n        working-directory: protoletariat\n        run: |\n          set -euo pipefail\n\n          mapfile -t files < <(find \"$TENSORFLOW_HOME\" -name '*.proto')\n          nix develop -c \\\n            protoc \\\n            --python_out \"$PYTHON_OUT\" \\\n            --proto_path \"$TENSORFLOW_HOME\" \"${files[@]}\"\n\n      - name: Test tensorflow rewriting\n        working-directory: protoletariat\n        run: |\n          set -euo pipefail\n\n          mapfile -t files < <(find \"$TENSORFLOW_HOME\" -name '*.proto')\n          nix run '.#protoletariat' \\\n            -- \\\n            --in-place \\\n            --create-package \\\n            --python-out \"$PYTHON_OUT\" \\\n            protoc \\\n            --proto-path \"$TENSORFLOW_HOME\" \"${files[@]}\"\n\n      - name: Check for absolute imports\n        run: grep -vq -R '^import tensorflow' \"$PYTHON_OUT\"\n  dry-release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n        with:\n          fetch-depth: 0\n\n      - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23\n        with:\n          nix_path: nixpkgs=channel:nixos-unstable-small\n\n      - uses: cachix/cachix-action@v12\n        with:\n          name: protoletariat\n          extraPullNames: nix-community,poetry2nix\n\n      - name: Configure git info\n        run: |\n          set -euo pipefail\n\n          # not incredibly important what user we use here\n          #\n          # we're making a commit in a temporary worktree that is thrown away\n          # if the process exits successfully\n          #\n          # git requires user information to make commits\n          git config user.name 'phillip-ground[bot]'\n          git config user.email 'phillip-ground[bot]@users.noreply.github.com'\n\n      - name: run semantic-release\n        run: ./ci/release/dry_run.sh\n  release:\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name != 'pull_request' }}\n    needs:\n      - nix\n      - conda-ubuntu-macos\n      - conda-windows\n      - docker-image\n      - pre-commit\n      - tensorflow\n      - dry-release\n    steps:\n      - uses: actions/create-github-app-token@v1.9.0\n        id: generate_token\n        with:\n          app-id: ${{ secrets.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n        with:\n          fetch-depth: 0\n          token: ${{ steps.generate_token.outputs.token }}\n\n      - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23\n        with:\n          nix_path: nixpkgs=channel:nixos-unstable-small\n\n      - uses: cachix/cachix-action@v12\n        with:\n          name: protoletariat\n          extraPullNames: nix-community,poetry2nix\n\n      - name: run semantic-release\n        run: ./ci/release/run.sh\n        env:\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n          GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}\n", "state": "active", "repository": "cpcloud/protoletariat"}
{"mined_at": "2024-07-15T16:56:57.551990", "created_at": "2021-11-23T21:54:08+01:00", "updated_at": "2021-11-23T21:54:08+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: CodeQL\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  schedule:\n    - cron: \"24 22 * * 1\"\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n          - python\n\n    steps:\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n      - uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n      - uses: github/codeql-action/autobuild@v2\n      - uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "cpcloud/protoletariat"}
{"mined_at": "2024-07-15T16:56:58.682635", "created_at": "2021-11-24T14:34:01+01:00", "updated_at": "2021-11-24T14:34:01+01:00", "name": "Publish Docker Image", "path": ".github/workflows/docker.yml", "contents": "name: Publish Docker Image\non:\n  release:\n    types:\n      - published\n  workflow_dispatch:\njobs:\n  publish-image:\n    concurrency: publish-image\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n      - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23\n        with:\n          nix_path: nixpkgs=channel:nixos-unstable-small\n      - uses: cachix/cachix-action@v12\n        with:\n          name: protoletariat\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix\n      - run: nix run --print-build-logs --keep-going '.#protoletariat-image.copyToDockerDaemon'\n      - run: echo \"FROM protoletariat:$(nix eval --raw '.#protoletariat-image.imageTag')\" > Dockerfile\n      - uses: docker/metadata-action@v4\n        id: meta\n        with:\n          images: |\n            ghcr.io/${{ github.repository_owner }}/protoletariat\n          tags: |\n            type=semver,pattern=v{{version}}\n            type=semver,pattern=v{{major}}.{{minor}}\n            type=semver,pattern=v{{major}}\n            type=sha\n            type=sha,format=long\n      - uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - uses: docker/build-push-action@v4\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "cpcloud/protoletariat"}
{"mined_at": "2024-07-15T16:56:59.680508", "created_at": "2021-11-24T15:39:05+01:00", "updated_at": "2021-11-24T15:39:05+01:00", "name": "Update Flakes", "path": ".github/workflows/update-deps.yml", "contents": "name: Update Flakes\non:\n  schedule:\n    - cron: \"50 0 * * 0\"\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  get-flakes:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.get-flakes.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n      - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n      - name: generate flake matrix\n        id: get-flakes\n        run: |\n          set -euo pipefail\n\n          flakes=\"$(nix flake metadata --json | jq -rcM '.locks.nodes.root.inputs | {flake: keys}')\"\n          echo \"matrix=$flakes\" >> \"$GITHUB_OUTPUT\"\n  flake-update:\n    runs-on: ubuntu-latest\n    needs:\n      - get-flakes\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.get-flakes.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4\n      - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23\n        with:\n          nix_path: nixpkgs=channel:nixos-unstable-small\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - uses: actions/create-github-app-token@v1.9.0\n        id: generate-token\n        with:\n          app-id: ${{ secrets.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - uses: cpcloud/flake-update-action@v1.0.4\n        with:\n          dependency: ${{ matrix.flake }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          pull-request-token: ${{ steps.generate-token.outputs.token }}\n          pull-request-author: \"phillip-ground[bot] <phillip-ground[bot]@users.noreply.github.com>\"\n          pull-request-labels: dependencies,autorebase:opt-in\n          automerge: true\n          delete-branch: true\n", "state": "active", "repository": "cpcloud/protoletariat"}
{"mined_at": "2024-07-15T16:57:01.731482", "created_at": "2022-04-08T21:43:43+02:00", "updated_at": "2022-04-08T21:43:43+02:00", "name": "Set Issue Label and Assignee", "path": ".github/workflows/autolabel.yml", "contents": "name: \"Set Issue Label and Assignee\"\non:\n  issues:\n    types: [opened]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: Naturalclar/issue-action@v2.0.2\n        with:\n          title-or-body: \"both\"\n          parameters: '[ {\"keywords\": [\"niriss\",\"NIRISS\"], \"labels\": [\"NIRISS\"], \"assignees\": [\"afeinstein20\",\"lpcoulombe\"]}, {\"keywords\": [\"nirspec\",\"NIRSpec\",\"NIRSPEC\"], \"labels\": [\"NIRSpec\"], \"assignees\": [\"AarynnCarter\",\"cpiaulet\"]}, {\"keywords\": [\"nircam\",\"NIRCAM\",\"NIRCam\"], \"labels\": [\"NIRCam\"], \"assignees\": [\"kevin218\",\"meganmansfield\"]}, {\"keywords\": [\"MIRI\",\"miri\"], \"labels\": [\"MIRI\"], \"assignees\": [\"taylorbell57\",\"sebastian-zieba\"]}, {\"keywords\": [\"Light curve fitting\"], \"labels\": [\"LC Fit\"], \"assignees\": [\"taylorbell57\",\"meganmansfield\",\"evamariaa\",\"cpiaulet\"]}, {\"keywords\": [\"Other (any stage)\"], \"labels\": [], \"assignees\": [\"jbrande\",\"taylorbell57\"]}]'\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "kevin218/eureka"}
{"mined_at": "2024-07-15T16:57:02.778826", "created_at": "2022-05-21T01:41:57+02:00", "updated_at": "2022-10-21T16:45:29+02:00", "name": "Build JOSS Paper Draft", "path": ".github/workflows/draft-pdf.yml", "contents": "name: \"Build JOSS Paper Draft\"\non:\n  pull_request:\n    types: [opened,reopened,synchronize]\n  push:\n    branches:\n      - 'main'\n      - 'releases/**'\njobs:\n  paper:\n    runs-on: ubuntu-latest\n    name: Paper Draft\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Build draft PDF\n        uses: openjournals/openjournals-draft-action@master\n        with:\n          journal: joss\n          # This should be the path to the paper within your repo.\n          paper-path: joss/paper.md\n      - name: Upload\n        uses: actions/upload-artifact@v4\n        with:\n          name: paper\n          # This is the output path where Pandoc will write the compiled\n          # PDF. Note, this should be the same directory as the input\n          # paper.md\n          path: joss/paper.pdf", "state": "active", "repository": "kevin218/eureka"}
{"mined_at": "2024-07-15T16:57:03.802296", "created_at": "2022-06-06T22:48:52+02:00", "updated_at": "2022-07-16T00:46:10+02:00", "name": "Flake8 Linting", "path": ".github/workflows/flake8_linting.yml", "contents": "name: Flake8 Linting\non:\n  pull_request:\n    types: [opened,reopened,synchronize]\n  push:\n    branches:\n      - 'main'\n      - 'releases/**'\njobs:\n  lint:\n    name: flake8\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        ref: ${{ github.event.pull_request.head.ref }}\n    - uses: tonybajan/flake8-check-action@v1.6.0\n      with:\n        select: E1,E2,E3,E4,E5,E7,W6,F\n        ignore: W504,W503,E704,E226,E722\n        maxlinelength: 80\n        repotoken: ${{ secrets.GITHUB_TOKEN }}\n\n", "state": "active", "repository": "kevin218/eureka"}
{"mined_at": "2024-07-15T16:57:04.911893", "created_at": "2022-06-06T22:48:52+02:00", "updated_at": "2024-02-16T18:19:01+01:00", "name": "Pytest Testing", "path": ".github/workflows/pytest_testing.yml", "contents": "name: Pytest Testing\non:\n  pull_request:\n    types: [opened,reopened,synchronize]\n  push:\n    branches:\n      - 'main'\n      - 'releases/**'\njobs:\n  test:\n    name: pytest\n    runs-on: 'ubuntu-latest'\n    env:\n      OS: 'ubuntu-latest'\n      PYTHON: '3.10'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.ref }}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10.14'\n      - name: Setup Environment\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[jwst,hst,test]\n          mkdir $HOME/crds_cache\n          echo \"CRDS_PATH=$HOME/crds_cache\" >> $GITHUB_ENV\n          echo \"CRDS_SERVER_URL=https://jwst-crds.stsci.edu\" >> $GITHUB_ENV\n      - name: Log the current Eureka version\n        run: pip show eureka\n      - name: Run tests, generate coverage report\n        run: pytest tests --cov=./src/eureka --cov-report=xml\n", "state": "active", "repository": "kevin218/eureka"}
{"mined_at": "2024-07-15T16:57:05.935987", "created_at": "2024-04-02T01:52:36+02:00", "updated_at": "2024-04-06T18:22:03+02:00", "name": "Pytest Testing with PyMC3", "path": ".github/workflows/pytest_testing_pymc3.yml", "contents": "name: Pytest Testing with PyMC3\non:\n  pull_request:\n    types: [opened,reopened,synchronize]\n  push:\n    branches:\n      - 'main'\n      - 'releases/**'\njobs:\n  test:\n    name: pytest\n    runs-on: 'ubuntu-latest'\n    env:\n      OS: 'ubuntu-latest'\n      PYTHON: '3.10'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.ref }}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10.14'\n      - name: Setup Environment\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[hst,pymc3,test]\n          conda install mkl-service\n          mkdir $HOME/crds_cache\n          echo \"CRDS_PATH=$HOME/crds_cache\" >> $GITHUB_ENV\n          echo \"CRDS_SERVER_URL=https://jwst-crds.stsci.edu\" >> $GITHUB_ENV\n      - name: Log the current Eureka version\n        run: pip show eureka\n      - name: Run tests, generate coverage report\n        run: pytest tests --cov=./src/eureka --cov-report=xml\n      - name: Upload coverage reports to Codecov with GitHub Action\n        uses: codecov/codecov-action@v4\n        with:\n          env_vars: OS,PYTHON\n          files: ./coverage.xml\n          fail_ci_if_error: true\n          verbose: true\n        env:\n          CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}\n", "state": "active", "repository": "kevin218/eureka"}
{"mined_at": "2024-07-15T16:57:08.208181", "created_at": "2023-07-03T09:12:43+02:00", "updated_at": "2023-07-03T12:41:35+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ 'master' ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ 'master' ]\n  schedule:\n    - cron: '38 19 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "textualize/rich"}
{"mined_at": "2024-07-15T16:57:09.433708", "created_at": "2021-06-12T15:05:31+02:00", "updated_at": "2021-06-14T08:44:18+02:00", "name": "codespell", "path": ".github/workflows/codespell.yml", "contents": "name: codespell\non: [pull_request, push]\njobs:\n  codespell:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - run: python3 -m pip install codespell\n      - run: codespell --ignore-words-list=\"ba,fo,hel,revered,womens\"\n          --skip=\"./README.*.md,*.svg,*.ai,./benchmarks/snippets.py,./tests,./tools\"\n", "state": "active", "repository": "textualize/rich"}
{"mined_at": "2024-07-15T16:57:10.531006", "created_at": "2021-08-28T12:29:31+02:00", "updated_at": "2021-08-28T12:29:31+02:00", "name": "issues", "path": ".github/workflows/comment.yml", "contents": "name: issues\non:\n  issues:\n    types: [closed]\njobs:\n  add-comment:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - name: Did I solve your problem?\n        uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae\n        with:\n          issue-number: ${{ github.event.issue.number }}\n          body: |\n            I hope we solved your problem.\n            \n            If you like using Rich, you might also enjoy [Textual](https://textual.textualize.io)\n            \n", "state": "active", "repository": "textualize/rich"}
{"mined_at": "2024-07-15T16:57:11.702563", "created_at": "2022-11-30T06:23:13+01:00", "updated_at": "2022-11-30T06:23:13+01:00", "name": "issues", "path": ".github/workflows/newissue.yml", "contents": "name: issues\non:\n  issues:\n    types: [opened]\njobs:\n  add-comment:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: master\n      - name: Install FAQtory\n        run: pip install FAQtory\n      - name: Run Suggest\n        env:\n          TITLE: ${{ github.event.issue.title }}\n        run: faqtory suggest \"$TITLE\" > suggest.md   \n      - name: Read suggest.md\n        id: suggest\n        uses: juliangruber/read-file-action@v1\n        with:\n          path: ./suggest.md\n      - name: Suggest FAQ\n        uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae\n        with:\n          issue-number: ${{ github.event.issue.number }}\n          body: ${{ steps.suggest.outputs.content }}\n", "state": "active", "repository": "textualize/rich"}
{"mined_at": "2024-07-15T16:57:12.767937", "created_at": "2019-12-25T16:28:05+01:00", "updated_at": "2021-05-22T23:58:58+02:00", "name": "Test Rich module", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Test Rich module\n\non: [pull_request]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest, ubuntu-latest, macos-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - { os: ubuntu-latest, python-version: \"3.7\" }\n          - { os: windows-latest, python-version: \"3.7\" }\n          - { os: macos-12, python-version: \"3.7\" }\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install and configure Poetry\n        # TODO: workaround for https://github.com/snok/install-poetry/issues/94\n        uses: snok/install-poetry@v1.3.3\n        with:\n          version: 1.3.1\n          virtualenvs-in-project: true\n      - name: Install dependencies\n        run: poetry install\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n      - name: Format check with black\n        run: |\n          source $VENV\n          make format-check\n      - name: Typecheck with mypy\n        run: |\n          source $VENV\n          make typecheck\n      - name: Test with pytest (with coverage)\n        run: |\n          source $VENV\n          pytest tests -v --cov=./rich --cov-report=xml:./coverage.xml --cov-report term-missing\n      - name: Upload code coverage\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          name: rich\n          flags: unittests\n          env_vars: OS,PYTHON\n", "state": "active", "repository": "textualize/rich"}
{"mined_at": "2024-07-15T16:57:13.940731", "created_at": "2021-04-20T15:51:08+02:00", "updated_at": "2021-05-04T14:47:47+02:00", "name": "README.md Changed", "path": ".github/workflows/readmechanged.yml", "contents": "name: README.md Changed\n\non: \n  push:\n    branches:\n      - master\n    paths:\n      - 'README.md'\n\njobs:\n  send_notification:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Send notification to README Authors\n      env:\n        GITHUB_TOKEN: ${{ secrets.GHP_README_WORKFLOW }}\n        GIT_SHA: ${{ github.sha }}\n      run: |\n        COMMIT=$(git rev-parse --short \"$GIT_SHA\")\n        AUTHORS='@willmcgugan @oleksis @Adilius'\n        BODY=\"🤓 $AUTHORS README.md changed 📝. Check the [commit $COMMIT](https://github.com/willmcgugan/rich/commit/$GIT_SHA) 👀\"\n        DISCUSSIONID='MDEwOkRpc2N1c3Npb24zMzI2NzM0'\n        gh api graphql -H 'GraphQL-Features: discussions_api' -f body=\"$BODY\" -F discussionId=\"$DISCUSSIONID\" -f query='mutation($body: String!, $discussionId: ID!){addDiscussionComment(input:{body: $body , discussionId: $discussionId}){comment{id}}}'\n", "state": "active", "repository": "textualize/rich"}
{"mined_at": "2024-07-15T16:57:16.132371", "created_at": "2022-02-24T20:53:12+01:00", "updated_at": "2022-02-24T20:53:12+01:00", "name": "Add newly created DEPR issues to the DEPR project board", "path": ".github/workflows/add-depr-ticket-to-depr-board.yml", "contents": "# Run the workflow that adds new tickets that are either:\n# - labelled \"DEPR\"\n# - title starts with \"[DEPR]\"\n# - body starts with \"Proposal Date\" (this is the first template field)\n# to the org-wide DEPR project board\n\nname: Add newly created DEPR issues to the DEPR project board\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  routeissue:\n    uses: openedx/.github/.github/workflows/add-depr-ticket-to-depr-board.yml@master\n    secrets:\n      GITHUB_APP_ID: ${{ secrets.GRAPHQL_AUTH_APP_ID }}\n      GITHUB_APP_PRIVATE_KEY: ${{ secrets.GRAPHQL_AUTH_APP_PEM }}\n      SLACK_BOT_TOKEN: ${{ secrets.SLACK_ISSUE_BOT_TOKEN }}\n", "state": "active", "repository": "openedx/xblock"}
{"mined_at": "2024-07-15T16:57:17.216636", "created_at": "2023-02-24T18:34:27+01:00", "updated_at": "2023-02-24T18:34:27+01:00", "name": "Allows for the adding and removing of labels via comment", "path": ".github/workflows/add-remove-label-on-comment.yml", "contents": "# This workflow runs when a comment is made on the ticket\n# If the comment starts with \"label: \" it tries to apply\n# the label indicated in rest of comment.\n# If the comment starts with \"remove label: \", it tries\n# to remove the indicated label.\n# Note: Labels are allowed to have spaces and this script does\n# not parse spaces (as often a space is legitimate), so the command\n# \"label: really long lots of words label\" will apply the\n# label \"really long lots of words label\"\n\nname: Allows for the adding and removing of labels via comment\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  add_remove_labels:\n    uses: openedx/.github/.github/workflows/add-remove-label-on-comment.yml@master\n\n", "state": "active", "repository": "openedx/xblock"}
{"mined_at": "2024-07-15T16:57:18.469861", "created_at": "2021-08-16T15:40:51+02:00", "updated_at": "2023-09-15T06:54:47+02:00", "name": "Python CI", "path": ".github/workflows/ci.yml", "contents": "name: Python CI\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches:\n    - '**'\n\njobs:\n  run_tests:\n    name: tests\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.11', '3.12']\n        toxenv: [quality, django42]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: setup python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install pip\n      run: pip install -r requirements/pip.txt\n\n    - name: Install Dependencies\n      run: pip install -r requirements/ci.txt\n\n    - name: Run Tests\n      run: tox -e ${{ matrix.toxenv }}\n\n    - name: Run Coverage\n      if: matrix.python-version == '3.8' && matrix.toxenv == 'django42'\n      uses: codecov/codecov-action@v4\n      with:\n        flags: unittests\n        fail_ci_if_error: true\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "openedx/xblock"}
{"mined_at": "2024-07-15T16:57:19.556526", "created_at": "2021-10-07T20:11:27+02:00", "updated_at": "2021-10-07T21:12:53+02:00", "name": "Lint Commit Messages", "path": ".github/workflows/commitlint.yml", "contents": "# Run commitlint on the commit messages in a pull request.\n\nname: Lint Commit Messages\n\non:\n  - pull_request\n\njobs:\n  commitlint:\n    uses: openedx/.github/.github/workflows/commitlint.yml@master\n", "state": "active", "repository": "openedx/xblock"}
{"mined_at": "2024-07-15T16:57:20.594046", "created_at": "2022-02-01T13:35:38+01:00", "updated_at": "2022-02-01T13:35:38+01:00", "name": "Publish package to PyPI", "path": ".github/workflows/pypi-publish.yml", "contents": "name: Publish package to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n\n  push:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Install pip\n        run: pip install wheel setuptools\n\n      - name: Build package\n        run: python setup.py sdist bdist_wheel\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_UPLOAD_TOKEN }}\n", "state": "active", "repository": "openedx/xblock"}
{"mined_at": "2024-07-15T16:57:21.613989", "created_at": "2023-02-24T18:34:27+01:00", "updated_at": "2023-02-24T18:34:27+01:00", "name": "Assign comment author to ticket if they say \"assign me\"", "path": ".github/workflows/self-assign-issue.yml", "contents": "# This workflow runs when a comment is made on the ticket\n# If the comment starts with \"assign me\" it assigns the author to the\n# ticket (case insensitive)\n\nname: Assign comment author to ticket if they say \"assign me\"\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  self_assign_by_comment:\n    uses: openedx/.github/.github/workflows/self-assign-issue.yml@master\n", "state": "active", "repository": "openedx/xblock"}
{"mined_at": "2024-07-15T16:57:22.648283", "created_at": "2021-05-11T13:11:04+02:00", "updated_at": "2022-10-06T21:21:51+02:00", "name": "Upgrade Python Requirements", "path": ".github/workflows/upgrade-python-requirements.yml", "contents": "name: Upgrade Python Requirements\n\non:\n  schedule:\n    - cron: \"0 0 * * 0\"\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"Target branch against which to create requirements PR\"\n        required: true\n        default: 'master'\n\njobs:\n  call-upgrade-python-requirements-workflow:\n    uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master\n    # Do not run on forks\n    if: github.repository_owner == 'openedx'\n    with:\n      branch: ${{ github.event.inputs.branch || 'master' }}\n      # optional parameters below; fill in if you'd like github or email notifications\n      # user_reviewers: \"\"\n      team_reviewers: \"axim-aximprovements\"\n      email_address: \"aximimprovements@axim.org\"\n      send_success_notification: false\n    secrets:\n      requirements_bot_github_token: ${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }}\n      requirements_bot_github_email: ${{ secrets.REQUIREMENTS_BOT_GITHUB_EMAIL }}\n      edx_smtp_username: ${{ secrets.EDX_SMTP_USERNAME }}\n      edx_smtp_password: ${{ secrets.EDX_SMTP_PASSWORD }}\n", "state": "active", "repository": "openedx/xblock"}
{"mined_at": "2024-07-15T16:57:25.854947", "created_at": "2022-04-25T12:12:21+02:00", "updated_at": "2022-04-25T12:12:21+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        pip install -U pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "dlubal-software/rfem_python_client"}
{"mined_at": "2024-07-15T16:57:27.866888", "created_at": "2020-01-10T02:26:28+01:00", "updated_at": "2020-01-10T02:26:28+01:00", "name": "GAM", "path": "", "contents": null, "state": "active", "repository": "gam-team/gam"}
{"mined_at": "2024-07-15T16:57:28.945082", "created_at": "2020-12-03T16:47:44+01:00", "updated_at": "2024-02-13T03:08:22+01:00", "name": "Build and test GAM", "path": ".github/workflows/build.yml", "contents": "name: Build and test GAM\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '37 22 * * *'\n\npermissions:\n  contents: read\n  id-token: write\n  attestations: write\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: src\n\nenv:\n  SCRATCH_COUNTER: 1\n  OPENSSL_CONFIG_OPTS: no-fips --api=3.0.0\n  OPENSSL_INSTALL_PATH: ${{ github.workspace }}/bin/ssl\n  OPENSSL_SOURCE_PATH: ${{ github.workspace }}/src/openssl\n  PYTHON_INSTALL_PATH: ${{ github.workspace }}/bin/python\n  PYTHON_SOURCE_PATH: ${{ github.workspace }}/src/cpython\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-20.04\n            jid: 1\n            goal: build\n            arch: x86_64\n            openssl_archs: linux-x86_64\n          - os: [self-hosted, linux, arm64]\n            jid: 2\n            goal: build\n            arch: aarch64\n            openssl_archs: linux-aarch64\n          - os: ubuntu-20.04\n            jid: 3\n            goal: build\n            arch: x86_64\n            openssl_archs: linux-x86_64\n            staticx: yes\n          - os: [self-hosted, linux, arm64]\n            jid: 4\n            goal: build\n            arch: aarch64\n            openssl_archs: linux-aarch64\n            staticx: yes\n          - os: macos-12\n            jid: 5\n            goal: build\n            arch: x86_64\n            openssl_archs: darwin64-x86_64\n          - os: macos-14\n            jid: 6\n            goal: build\n            arch: aarch64\n            openssl_archs: darwin64-arm64\n          - os: macos-14\n            jid: 7\n            goal: build\n            arch: universal2\n            openssl_archs: darwin64-arm64 darwin64-x86_64\n          - os: windows-2022\n            jid: 8\n            goal: build\n            arch: Win64\n            openssl_archs: VC-WIN64A\n          - os: ubuntu-22.04\n            goal: test\n            python: \"3.8\"\n            jid: 9\n            arch: x86_64\n          - os: ubuntu-22.04\n            goal: test\n            python: \"3.9\"\n            jid: 10\n            arch: x86_64\n          - os: ubuntu-22.04\n            goal: test\n            python: \"3.10\"\n            jid: 11\n            arch: x86_64\n          - os: ubuntu-22.04\n            goal: test\n            python: \"3.11\"\n            jid: 12\n            arch: x86_64\n\n    steps:\n\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - id: auth\n        name: Authenticate to Google Cloud\n        uses: google-github-actions/auth@v2\n        with:\n          workload_identity_provider: projects/297925809119/locations/global/workloadIdentityPools/gha-pool/providers/gha-provider\n          service_account: github-actions-testing-for-gam@gam-project-wyo-lub-ivl.iam.gserviceaccount.com\n\n      - name: Cache multiple paths\n        if: matrix.goal == 'build'\n        uses: actions/cache@v4\n        id: cache-python-ssl\n        with:\n          path: |\n            cache.tar.xz\n          key: gam-${{ matrix.jid }}-20240620\n\n      - name: Untar Cache archive\n        if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true'\n        working-directory: ${{ github.workspace }}\n        run: |\n          tar xvvf cache.tar.xz\n\n      - name: Use pre-compiled Python for testing\n        if: matrix.python != ''\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n\n      - name: common variables for all runs\n        env:\n          arch: ${{ matrix.arch }}\n          JID: ${{ matrix.jid }}\n          ACTIONS_CACHE: ${{ steps.cache-python-ssl.outputs.cache-hit }}\n          ACTIONS_GOAL: ${{ matrix.goal }}\n        run: |\n          echo \"arch=${arch}\" >> $GITHUB_ENV\n          echo \"JID=${JID}\" >> $GITHUB_ENV\n          echo \"ACTIONS_CACHE=${ACTIONS_CACHE}\" >> $GITHUB_ENV\n          echo \"ACTIONS_GOAL=${ACTIONS_GOAL}\" >> $GITHUB_ENV\n          curl_version=$(curl --version | head -n 1 | awk '{ print $2 }')\n          echo \"cURL is ${curl_version}\"\n          if [ \"$curl_version\" == \"7.68.0\" ]; then\n            export curl_retry=\"--retry 5 --retry-connrefused\"\n          else\n            export curl_retry=\"--retry 5 --retry-all-errors\"\n          fi\n          echo \"curl_retry=${curl_retry}\" >> $GITHUB_ENV\n          # GAMCFGDIR should be recreated on every run\n          GAMCFGDIR=\"${RUNNER_TEMP}/.gam\"\n          if [ \"$arch\" == \"Win64\" ]; then\n            GAMCFGDIR=$(cygpath -u \"$GAMCFGDIR\")\n          fi\n          echo \"GAMCFGDIR=${GAMCFGDIR}\" >> $GITHUB_ENV\n          echo \"GAMCFGDIR is: ${GAMCFGDIR}\"\n          if [[ \"${RUNNER_OS}\" == \"macOS\" ]]; then\n            GAMOS=\"macos\"\n          elif [[ \"${RUNNER_OS}\" == \"Linux\" ]]; then\n            GAMOS=\"linux\"\n          elif [[ \"${RUNNER_OS}\" == \"Windows\" ]]; then\n            GAMOS=\"windows\"\n          else\n           GAMOS='unknown'\n          fi\n          echo \"GAMOS=${GAMOS}\" >> $GITHUB_ENV\n          echo \"GAMOS is: ${GAMOS}\"\n\n      - name: Set env variables for test\n        if: matrix.goal == 'test'\n        run: |\n          export PYTHON=$(which python3)\n          export PIP=$(which pip3)\n          export gam=\"${PYTHON} -m gam\"\n          export gampath=\"$(readlink -e .)\"\n          echo -e \"PYTHON: ${PYTHON}\\nPIP: ${PIP}\\gam: ${gam}\\ngampath: ${gampath}\"\n          echo \"PYTHON=${PYTHON}\" >> $GITHUB_ENV\n          echo \"PIP=${PIP}\" >> $GITHUB_ENV\n          echo \"gam=${gam}\" >> $GITHUB_ENV\n          echo \"gampath=${gampath}\" >> $GITHUB_ENV\n\n      - name: Install necessary Github-hosted Linux packages\n        if: runner.os == 'Linux' && runner.arch == 'X64'\n        run: |\n          echo \"RUNNING: apt update...\"\n          sudo apt-get -qq --yes update\n          sudo apt-get -qq --yes install swig libpcsclite-dev libxslt1-dev\n\n      - name: MacOS install tools\n        if: runner.os == 'macOS'\n        run: |\n          # Install latest Rust\n          curl $curl_retry -fsS -o rust.sh https://sh.rustup.rs\n          bash ./rust.sh -y\n          source $HOME/.cargo/env\n          # Install needed packages\n          #brew update\n          #brew install gpg\n          #brew install swig\n          #brew install ncurses\n\n      - name: Windows Configure VCode\n        uses: ilammy/msvc-dev-cmd@v1\n        if: runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        with:\n          arch: ${{ matrix.arch }}\n\n      - name: Set Env Variables for build\n        if: matrix.goal == 'build'\n        env:\n          openssl_archs: ${{ matrix.openssl_archs }}\n          staticx: ${{ matrix.staticx }}\n        run: |\n          echo \"We are running on ${RUNNER_OS}\"\n          LD_LIBRARY_PATH=\"${OPENSSL_INSTALL_PATH}/lib:${PYTHON_INSTALL_PATH}/lib:/usr/local/lib\"\n          if [[ \"${arch}\" == \"Win64\" ]]; then\n            PYEXTERNALS_PATH=\"amd64\"\n            PYBUILDRELEASE_ARCH=\"x64\"\n            GAM_ARCHIVE_ARCH=\"x86_64\"\n            WIX_ARCH=\"x64\"\n            CHOC_OPS=\"\"\n          fi\n          if [[ \"${RUNNER_OS}\" == \"macOS\" ]]; then\n            MAKE=make\n            MAKEOPT=\"-j$(sysctl -n hw.logicalcpu)\"\n            PERL=perl\n            MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | awk -F '.' '{print $1 \".\" $2}')\n            echo \"MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET}\" >> $GITHUB_ENV\n            echo \"We are running on and targetting MacOS ${MACOSX_DEPLOYMENT_TARGET}\"\n            echo \"PYTHON=${PYTHON_INSTALL_PATH}/bin/python3\" >> $GITHUB_ENV\n          elif [[ \"${RUNNER_OS}\" == \"Linux\" ]]; then\n            MAKE=make\n            MAKEOPT=\"-j$(nproc)\"\n            PERL=perl\n            echo \"PYTHON=${PYTHON_INSTALL_PATH}/bin/python3\" >> $GITHUB_ENV\n          elif [[ \"${RUNNER_OS}\" == \"Windows\" ]]; then\n            MAKE=nmake\n            MAKEOPT=\"\"\n            PERL=\"c:\\strawberry\\perl\\bin\\perl.exe\"\n            LD_LIBRARY_PATH=\"${LD_LIBRARY_PATH}:${PYTHON_SOURCE_PATH}/PCbuild/${PYEXTERNALS_PATH}\"\n            echo \"PYTHON=${PYTHON_SOURCE_PATH}/PCbuild/${PYEXTERNALS_PATH}/python.exe\" >> $GITHUB_ENV\n            echo \"GAM_ARCHIVE_ARCH=${GAM_ARCHIVE_ARCH}\" >> $GITHUB_ENV\n            echo \"WIX_ARCH=${WIX_ARCH}\" >> $GITHUB_ENV\n          fi\n          echo \"We'll run make with: ${MAKEOPT}\"\n          echo \"staticx=${staticx}\" >> $GITHUB_ENV\n          echo \"LD_LIBRARY_PATH=${LD_LIBRARY_PATH}\" >> $GITHUB_ENV\n          echo \"MAKE=${MAKE}\" >> $GITHUB_ENV\n          echo \"MAKEOPT=${MAKEOPT}\" >> $GITHUB_ENV\n          echo \"PERL=${PERL}\" >> $GITHUB_ENV\n          echo \"PYEXTERNALS_PATH=${PYEXTERNALS_PATH}\" >> $GITHUB_ENV\n          echo \"PYBUILDRELEASE_ARCH=${PYBUILDRELEASE_ARCH}\" >> $GITHUB_ENV\n          echo \"openssl_archs=${openssl_archs}\" >> $GITHUB_ENV\n\n      - name: Get latest stable OpenSSL source\n        if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        run: |\n          mkdir -vp \"${GITHUB_WORKSPACE}/src\"\n          cd \"${GITHUB_WORKSPACE}/src\"\n          git clone https://github.com/openssl/openssl.git\n          cd \"${OPENSSL_SOURCE_PATH}\"\n          export LATEST_STABLE_TAG=$(git tag --list openssl-* | grep -v alpha | grep -v beta | sort -Vr | head -n1)\n          echo \"Checking out version ${LATEST_STABLE_TAG}\"\n          git checkout \"${LATEST_STABLE_TAG}\"\n          export COMPILED_OPENSSL_VERSION=${LATEST_STABLE_TAG:8} # Trim the openssl- prefix\n          echo \"COMPILED_OPENSSL_VERSION=${COMPILED_OPENSSL_VERSION}\" >> $GITHUB_ENV\n          if ([ \"${RUNNER_OS}\" == \"macOS\" ] && [ \"$arch\" == \"universal2\" ]); then\n            for openssl_arch in $openssl_archs; do\n              ssldir=\"${OPENSSL_SOURCE_PATH}-${openssl_arch}\"\n              mkdir -v \"${ssldir}\"\n              cp -vrf ${OPENSSL_SOURCE_PATH}/* \"${ssldir}/\"\n            done\n            rm -vrf \"${OPENSSL_SOURCE_PATH}\"\n          else\n            mv -v \"${OPENSSL_SOURCE_PATH}\" \"${OPENSSL_SOURCE_PATH}-${openssl_archs}\"\n          fi\n\n      - name: Windows NASM Install\n        uses: ilammy/setup-nasm@v1\n        if: matrix.goal == 'build' && runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n\n      - name: Config OpenSSL\n        if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        run: |\n          for openssl_arch in $openssl_archs; do\n            cd \"${GITHUB_WORKSPACE}/src/openssl-${openssl_arch}\"\n            # --libdir=lib is needed so Python can find OpenSSL libraries\n            \"${PERL}\" ./Configure \"${openssl_arch}\" --libdir=lib --prefix=\"${OPENSSL_INSTALL_PATH}\" $OPENSSL_CONFIG_OPTS\n          done\n\n      - name: Rename GNU link on Windows\n        if: matrix.goal == 'build' && runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        shell: bash\n        run: mv /usr/bin/link /usr/bin/gnulink\n\n      - name: Make OpenSSL\n        if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        run: |\n          for openssl_arch in $openssl_archs; do\n            cd \"${GITHUB_WORKSPACE}/src/openssl-${openssl_arch}\"\n            $MAKE \"${MAKEOPT}\"\n          done\n\n      - name: Install OpenSSL\n        if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        run: |\n          if ([ \"${RUNNER_OS}\" == \"macOS\" ] && [ \"$arch\" == \"universal2\" ]); then\n            for openssl_arch in $openssl_archs; do\n              cd \"${GITHUB_WORKSPACE}/src/openssl-${openssl_arch}\"\n              # install_sw saves us ages processing man pages :-)\n              $MAKE install_sw\n              mv \"${OPENSSL_INSTALL_PATH}\" \"${GITHUB_WORKSPACE}/bin/ssl-${openssl_arch}\"\n            done\n            mkdir -vp \"${OPENSSL_INSTALL_PATH}/lib\"\n            mkdir -vp \"${OPENSSL_INSTALL_PATH}/bin\"\n            for archlib in libcrypto.3.dylib libssl.3.dylib libcrypto.a libssl.a; do\n              lipo -create \"${GITHUB_WORKSPACE}/bin/ssl-darwin64-x86_64/lib/${archlib}\" \\\n                           \"${GITHUB_WORKSPACE}/bin/ssl-darwin64-arm64/lib/${archlib}\" \\\n                   -output \"${GITHUB_WORKSPACE}/bin/ssl/lib/${archlib}\"\n            done\n            mv ${GITHUB_WORKSPACE}/bin/ssl-darwin64-x86_64/include ${GITHUB_WORKSPACE}/bin/ssl/\n            lipo -create \"${GITHUB_WORKSPACE}/bin/ssl-darwin64-x86_64/bin/openssl\" \\\n                         \"${GITHUB_WORKSPACE}/bin/ssl-darwin64-arm64/bin/openssl\" \\\n                 -output \"${GITHUB_WORKSPACE}/bin/ssl/bin/openssl\"\n            rm -rf ${GITHUB_WORKSPACE}/bin/ssl-darwin64-x86_64\n            rm -rf ${GITHUB_WORKSPACE}/bin/ssl-darwin64-arm64\n          else\n            cd \"${GITHUB_WORKSPACE}/src/openssl-${openssl_archs}\"\n            # install_sw saves us ages processing man pages :-)\n            $MAKE install_sw\n          fi\n          echo \"LDFLAGS=-L${OPENSSL_INSTALL_PATH}/lib\" >> $GITHUB_ENV\n          echo \"CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS=1\" >> $GITHUB_ENV\n          case $arch in\n            universal2)\n              echo \"CFLAGS=-I${OPENSSL_INSTALL_PATH}/include -arch arm64 -arch x86_64 ${CFLAGS}\" >> $GITHUB_ENV\n              echo \"ARCHFLAGS=-arch x86_64 -arch arm64\" >> $GITHUB_ENV\n              ;;\n            x86_64)\n              echo \"CFLAGS=-I${OPENSSL_INSTALL_PATH}/include ${CFLAGS}\" >> $GITHUB_ENV\n              echo \"ARCHFLAGS=-arch x86_64\" >> $GITHUB_ENV\n              ;;\n            aarch64)\n              echo \"CFLAGS=-I${OPENSSL_INSTALL_PATH}/include ${CFLAGS}\" >> $GITHUB_ENV\n              echo \"ARCHFLAGS=-arch arm64\" >> $GITHUB_ENV\n              ;;\n          esac\n\n      - name: Run OpenSSL\n        if: matrix.goal == 'build'\n        run: |\n          \"${OPENSSL_INSTALL_PATH}/bin/openssl\" version\n          \"${OPENSSL_INSTALL_PATH}/bin/openssl\" version -f\n          file \"${OPENSSL_INSTALL_PATH}/bin/openssl\"\n\n      - name: Get latest stable Python source\n        if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        run: |\n          cd \"${GITHUB_WORKSPACE}/src\"\n          git clone https://github.com/python/cpython.git\n          cd \"${PYTHON_SOURCE_PATH}\"\n          # Pin Windows to 3.11.6 for the moment\n          # if [[ \"${RUNNER_OS}\" == \"Windows\" ]]; then\n          #   export LATEST_STABLE_TAG=\"v3.11.6\"\n          # else\n          export LATEST_STABLE_TAG=$(git tag --list | grep -v a | grep -v rc | grep -v b | sort -Vr | head -n1)\n          # fi\n          git checkout \"${LATEST_STABLE_TAG}\"\n          export COMPILED_PYTHON_VERSION=${LATEST_STABLE_TAG:1} # Trim the \"v\" prefix\n          echo \"COMPILED_PYTHON_VERSION=${COMPILED_PYTHON_VERSION}\" >> $GITHUB_ENV\n\n      - name: Mac/Linux Configure Python\n        if: matrix.goal == 'build' && runner.os != 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        run: |\n          cd \"${PYTHON_SOURCE_PATH}\"\n          if ([ \"${RUNNER_OS}\" == \"macOS\" ] && [ \"$arch\" == \"universal2\" ]); then\n            extra_args=( \"--enable-universalsdk\" \"--with-universal-archs=universal2\" )\n          else\n            extra_args=( )\n          fi\n          ./configure --with-openssl=\"${OPENSSL_INSTALL_PATH}\" \\\n                      --prefix=\"${PYTHON_INSTALL_PATH}\" \\\n                      --enable-shared \\\n                      --with-ensurepip=upgrade \\\n                      --enable-optimizations \\\n                      --with-lto \\\n                      \"${extra_args[@]}\" || : # exit 0\n          cat config.log\n\n      - name: Windows Get External Python deps\n        if: matrix.goal == 'build' && runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        shell: powershell\n        run: |\n          cd \"${env:PYTHON_SOURCE_PATH}\"\n          PCBuild\\get_externals.bat\n\n      - name: Windows overwrite external OpenSSL with local\n        if: matrix.goal == 'build' && runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        shell: powershell\n        run: |\n          cd \"${env:PYTHON_SOURCE_PATH}\"\n          $env:OPENSSL_EXT_PATH = \"$(Get-Item externals\\openssl-bin-* | Select -exp FullName)\\\"\n          echo \"External OpenSSL was downloaded to ${env:OPENSSL_EXT_PATH}\"\n          Remove-Item -recurse -force \"${env:OPENSSL_EXT_PATH}*\"\n          # Emulate what this script does:\n          # https://github.com/python/cpython/blob/main/PCbuild/openssl.vcxproj\n          $env:OPENSSL_EXT_TARGET_PATH = \"${env:OPENSSL_EXT_PATH}${env:PYEXTERNALS_PATH}\"\n          echo \"Copying our OpenSSL to ${env:OPENSSL_EXT_TARGET_PATH}\"\n          mkdir \"${env:OPENSSL_EXT_TARGET_PATH}\\include\\openssl\\\"\n          Copy-Item -Path \"${env:GITHUB_WORKSPACE}/src/openssl-${env:openssl_archs}\\LICENSE.txt\" -Destination \"${env:OPENSSL_EXT_TARGET_PATH}\\LICENSE\" -Verbose\n          cp -v \"$env:OPENSSL_INSTALL_PATH\\lib\\*\" \"${env:OPENSSL_EXT_TARGET_PATH}\"\n          cp -v \"$env:OPENSSL_INSTALL_PATH\\bin\\*\" \"${env:OPENSSL_EXT_TARGET_PATH}\"\n          cp -v \"$env:OPENSSL_INSTALL_PATH\\include\\openssl\\*\" \"${env:OPENSSL_EXT_TARGET_PATH}\\include\\openssl\\\"\n          cp -v \"$env:OPENSSL_INSTALL_PATH\\include\\openssl\\applink.c\" \"${env:OPENSSL_EXT_TARGET_PATH}\\include\\\"\n\n      - name: Windows Install sphinx-build\n        if: matrix.goal == 'build' && runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        shell: powershell\n        run: |\n          pip install --upgrade pip\n          pip install --upgrade sphinx\n          sphinx-build --version\n\n      - name: Windows Config/Build Python\n        if: matrix.goal == 'build' && runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        shell: powershell\n        run: |\n          cd \"${env:PYTHON_SOURCE_PATH}\"\n          # We need out custom openssl.props which uses OpenSSL 3 DLL names\n          Copy-Item -Path \"${env:GITHUB_WORKSPACE}\\src\\tools\\openssl.props\" -Destination PCBuild\\ -Verbose\n          echo \"Building for ${env:PYBUILDRELEASE_ARCH}...\"\n          PCBuild\\build.bat -m --pgo -c Release -p \"${env:PYBUILDRELEASE_ARCH}\"\n\n      - name: Mac/Linux Build Python\n        if: matrix.goal == 'build' && runner.os != 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        run: |\n          cd \"${PYTHON_SOURCE_PATH}\"\n          echo \"Running: ${MAKE} ${MAKEOPT}\"\n          $MAKE $MAKEOPT\n\n      - name: Mac/Linux Install Python\n        if: matrix.goal == 'build' && runner.os != 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        run: |\n          cd \"${PYTHON_SOURCE_PATH}\"\n          $MAKE altinstall\n          $MAKE bininstall\n          export PATH=\"${PATH}:${PYTHON_INSTALL_PATH}/bin\"\n          echo \"PATH=${PATH}\" >> $GITHUB_ENV\n          echo \"PATH: ${PATH}\"\n\n      - name: Run Python\n        run: |\n          \"${PYTHON}\" -V\n\n      - name: Upgrade pip, wheel, etc\n        run: |\n          curl $curl_retry -O https://bootstrap.pypa.io/get-pip.py\n          \"${PYTHON}\" get-pip.py\n          \"${PYTHON}\" -m pip install --upgrade pip\n          \"${PYTHON}\" -m pip install --upgrade wheel\n          \"${PYTHON}\" -m pip install --upgrade setuptools\n\n      - name: Install pip requirements\n        run: |\n          echo \"before anything...\"\n          \"${PYTHON}\" -m pip list\n          if ([ \"${RUNNER_OS}\" == \"macOS\" ] && [ \"$arch\" == \"universal2\" ]); then\n            # cffi is a dep of cryptography and doesn't ship\n            # a universal2 wheel so we must build one ourself :-/\n            export CFLAGS=\"-arch x86_64 -arch arm64\"\n            export ARCHFLAGS=\"-arch x86_64 -arch arm64\"\n            \"${PYTHON}\" -m pip install --upgrade --force-reinstall --no-binary :all: \\\n                              --no-cache-dir --no-deps --use-pep517 \\\n                              --use-feature=no-binary-enable-wheel-cache \\\n                              cffi \n            echo \"before cryptography...\"\n            \"${PYTHON}\" -m pip list\n            # cryptography has a universal2 wheel but getting it installed\n            # on x86-64 MacOS is a royal pain in the keester.\n            \"${PYTHON}\" -m pip download --only-binary :all: \\\n                                          --dest . \\\n                                          --no-cache \\\n                                          --no-deps \\\n                                          --platform macosx_10_15_universal2 \\\n                                          cryptography\n            \"${PYTHON}\" -m pip install --force-reinstall --no-deps cryptography*.whl\n            echo \"after cryptography...\"\n            \"${PYTHON}\" -m pip list\n            \"${PYTHON}\" -m pip install --upgrade --no-binary :all: -r requirements.txt\n          else\n            \"${PYTHON}\" -m pip install --upgrade -r requirements.txt\n            echo \"after requirements...\"\n            \"${PYTHON}\" -m pip list\n            \"${PYTHON}\" -m pip install --force-reinstall --no-deps --upgrade cryptography\n          fi\n          echo \"after everything...\"\n          \"${PYTHON}\" -m pip list\n\n      - name: Install PyInstaller\n        if: matrix.goal == 'build'\n        run: |\n          git clone https://github.com/pyinstaller/pyinstaller.git\n          cd pyinstaller\n          export latest_release=$(git tag --list | grep -v dev | grep -v rc | sort -Vr | head -n1)\n          #V6.0.0 causes errors on staticx\n          #if [[ \"${staticx}\" == \"yes\" ]]; then\n          #  git checkout \"v5.13.2\"\n          #elif [[ \"${RUNNER_OS}\" == \"Windows\" ]]; then\n          #  git checkout \"v5.13.2\"\n          #elif [[ \"${RUNNER_OS}\" == \"macOS\" ]]; then\n          #  git checkout \"v5.13.2\"\n          #else\n          git checkout \"${latest_release}\"\n          #fi\n          # remove pre-compiled bootloaders so we fail if bootloader compile fails\n          rm -rvf PyInstaller/bootloader/*-*/*\n          cd bootloader\n          export PYINSTALLER_BUILD_ARGS=\"\"\n          case \"${arch}\" in\n            \"Win64\")\n              export PYINSTALLER_BUILD_ARGS=\"--target-arch=64bit\"\n              ;;\n          esac\n          echo \"PyInstaller build arguments: ${PYINSTALLER_BUILD_ARGS}\"\n          \"${PYTHON}\" ./waf all $PYINSTALLER_BUILD_ARGS\n          cd ..\n          echo \"---- Installing PyInstaller ----\"\n          \"${PYTHON}\" -m pip install .\n\n      - name: Build GAM with PyInstaller\n        if: matrix.goal != 'test'\n        run: |\n          if [[ \"${staticx}\" == \"yes\" ]]; then\n            export distpath=\"./dist/gam\"\n            export gampath=\"${distpath}\"\n          else\n            export distpath=\"./dist\"\n            export gampath=\"${distpath}/gam\"\n          fi\n          mkdir -p -v \"${gampath}\"\n          if [[ \"${RUNNER_OS}\" == \"macOS\" ]]; then\n            export gampath=$($PYTHON -c \"import os; print(os.path.realpath('$gampath'))\")\n          elif [[ \"${RUNNER_OS}\" == \"Windows\" ]]; then\n            # Work around issue where PyInstaller picks up python3.dll from other Python versions\n            # https://github.com/pyinstaller/pyinstaller/issues/7102\n            export PATH=\"$(dirname ${PYTHON}):/usr/bin\"\n          else\n            export gampath=$(realpath \"${gampath}\")\n          fi\n          export gam=\"${gampath}/gam\"\n          echo \"gampath=${gampath}\" >> $GITHUB_ENV\n          # TEMP force everything back to one file.\n          export PYINSTALLER_BUILD_ONEFILE=\"yes\"\n          export distpath=\"./dist/gam\"\n          export gampath=\"${distpath}\"\n          \"${PYTHON}\" -m PyInstaller --clean --noconfirm --distpath=\"${distpath}\" gam.spec\n          cat build/gam/warn-gam.txt\n          if [ -x \"$(command -v realpath)\" ]; then\n               realpath=realpath\n             else\n               brew install coreutils\n               realpath=grealpath\n             fi\n          export gam=$(realpath \"$gam\")\n          if [[ \"${RUNNER_OS}\" == \"Windows\" ]]; then\n            export gam=$(cygpath -w \"$gam\")\n            echo \"GAM on Windows at ${gam}\"\n          fi\n          echo \"gam=${gam}\" >> $GITHUB_ENV\n          echo -e \"GAM: ${gam}\\nGAMPATH: ${gampath}\"\n\n      - name: Copy extra package files\n        if: matrix.goal == 'build'\n        run: |\n          cp -v cacerts.pem $gampath\n          cp -v LICENSE $gampath\n          cp -v GamCommands.txt $gampath\n          cp -v GamUpdate.txt $gampath\n          if [[ \"${RUNNER_OS}\" == \"Windows\" ]]; then\n              cp -v gam-setup.bat $gampath\n          fi\n\n      - name: Install StaticX\n        if: matrix.staticx == 'yes'\n        run: |\n          \"${PYTHON}\" -m pip install --upgrade patchelf-wrapper\n          \"${PYTHON}\" -m pip install --upgrade staticx\n\n      - name: Make StaticX\n        if: matrix.staticx == 'yes'\n        run: |\n          case $RUNNER_ARCH in\n            X64)\n              ldlib=/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2\n              ;;\n            ARM64)\n              ldlib=/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1\n              ;;\n          esac\n          echo \"ldlib=${ldlib}\"\n          $PYTHON -m staticx -l \"${ldlib}\" \"${gam}\" \"${gam}-staticx\"\n          rm -v \"${gam}\"\n          mv -v \"${gam}-staticx\" \"${gam}\"\n\n      - name: Basic Tests all jobs\n        id: basictests\n        run: |\n          $PYTHON -m unittest discover --start-directory ./ --pattern \"*_test.py\" --buffer || if [ $? != 5 ]; then exit $?; fi # exit 5 is no tests\n          $gam version extended nooffseterror\n          export GAMVERSION=$($gam version simple)\n          echo \"GAM Version ${GAMVERSION}\"\n          echo \"GAMVERSION=${GAMVERSION}\" >> $GITHUB_ENV\n\n      - name: Attest Binary Provenance\n        uses: actions/attest-build-provenance@v1\n        if: matrix.goal == 'build'\n        with:\n          subject-path: ${{ env.gam }}\n\n      - name: Linux/MacOS package\n        if: runner.os != 'Windows' && matrix.goal == 'build'\n        run: |\n          if [[ \"${RUNNER_OS}\" == \"macOS\" ]]; then\n            GAM_ARCHIVE=\"gam-${GAMVERSION}-macos-${arch}.tar.xz\"\n          elif [[ \"${RUNNER_OS}\" == \"Linux\" ]]; then\n            if [[ \"${staticx}\" == \"yes\" ]]; then\n              libver=\"legacy\"\n            else\n              libver=\"glibc$(ldd --version | awk '/ldd/{print $NF}')\"\n            fi\n            GAM_ARCHIVE=\"gam-${GAMVERSION}-linux-$(arch)-${libver}.tar.xz\"\n          fi\n          echo \"GAM Archive ${GAM_ARCHIVE}\"\n          tar -C dist/ --create --verbose --exclude-from \"${GITHUB_WORKSPACE}/.github/actions/package_exclusions.txt\" --file $GAM_ARCHIVE --xz gam\n\n      - name: Windows package\n        if: runner.os == 'Windows' && matrix.goal != 'test'\n        run: |\n          cd dist/\n          GAM_ARCHIVE=\"../gam-${GAMVERSION}-windows-${GAM_ARCHIVE_ARCH}.zip\"\n          /c/Program\\ Files/7-Zip/7z.exe a -tzip $GAM_ARCHIVE gam \"-xr@${GITHUB_WORKSPACE}/.github/actions/package_exclusions.txt\" -bb3\n          cd ..\n          /c/Program\\ Files\\ \\(x86\\)/WiX\\ Toolset\\ v3.14/bin/candle.exe -arch \"${WIX_ARCH}\" gam.wxs\n          /c/Program\\ Files\\ \\(x86\\)/WiX\\ Toolset\\ v3.14/bin/light.exe -ext /c/Program\\ Files\\ \\(x86\\)/WiX\\ Toolset\\ v3.14/bin/WixUIExtension.dll gam.wixobj -o \"gam-${GAMVERSION}-windows-${GAM_ARCHIVE_ARCH}.msi\" || true;\n          rm -v -f *.wixpdb\n\n      - name: Basic Tests build jobs only\n        if: matrix.goal != 'test' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        run: |\n          export voutput=$($gam version extended nooffseterror)\n          export python_line=$(echo -e \"${voutput}\" | grep \"Python \")\n          export python_arr=($python_line)\n          export this_python=${python_arr[1]}\n          if [[ \"${this_python}\" != \"${COMPILED_PYTHON_VERSION}\" ]]; then\n            echo \"ERROR: Tried to compile Python ${COMPILED_PYTHON_VERSION} but ended up with ${this_python}\"\n            exit 1\n          fi\n          export openssl_line=$(echo -e \"${voutput}\" | grep \"OpenSSL \")\n          export openssl_arr=($openssl_line)\n          export this_openssl=\"${openssl_arr[1]}\"\n          if [[ \"${this_openssl}\" != \"${COMPILED_OPENSSL_VERSION}\" ]]; then\n            echo \"ERROR: Tried to compile OpenSSL ${COMPILED_OPENSSL_VERSION} but ended up with ${this_openssl}\"\n            exit 1\n          fi\n          echo \"We successfully compiled Python ${this_python} and OpenSSL ${this_openssl}\"\n\n      - name: Live API tests push only\n        if: (github.event_name == 'push' || github.event_name == 'schedule')\n        env:\n          PASSCODE: ${{ secrets.PASSCODE }}\n        run: |\n          source ../.github/actions/decrypt.sh ../.github/actions/creds.tar.xz.gpg creds.tar.xz \"${GAMCFGDIR}\"\n          mv -v \"${GAMCFGDIR}/oauth2.txt-gam-gha-${JID}\" \"${GAMCFGDIR}/oauth2.txt\"\n          rm -v $GAMCFGDIR/oauth2.txt-gam*\n          export gam_user=\"gam-gha-${JID}@pdl.jaylee.us\"\n          echo \"gam_user=${gam_user}\" >> $GITHUB_ENV\n          $gam config customer_id \"C03uzfv2s\" save\n          $gam config domain \"pdl.jaylee.us\" save\n          $gam config admin_email \"${gam_user}\" save\n          $gam config enable_dasa false save\n          $gam oauth info\n          $gam oauth refresh\n          $gam config enable_dasa true save \n          $gam create signjwtserviceaccount\n          $gam checkconn\n          $gam user \"$gam_user\" check serviceaccount\n          $gam info domain\n          $gam info user\n          export tstamp=$($PYTHON -c \"import time; print(time.time_ns())\")\n          export newbase=\"gha_test_${JID}_${tstamp}\"\n          export newuser=\"${newbase}@pdl.jaylee.us\"\n          export newgroup=\"${newbase}-group@pdl.jaylee.us\"\n          export newalias=\"${newbase}-alias@pdl.jaylee.us\"\n          export newbuilding=\"${newbase}-building\"\n          export newresource=\"${newbase}-resource\"\n          export newou=\"aaaGithub Actions/${newbase}\"\n          \n          # cleanup old runs\n          $gam config enable_dasa false save\n          $gam config csv_output_row_filter \"name:regex:gha_test_${JID}_\" print vaultholds || if [ $? != 55 ]; then exit $?; fi | $gam csv - gam delete vaulthold \"id:~~holdId~~\" matter \"id:~~matterId~~\"\n          $gam config enable_dasa true save\n          $gam config csv_output_row_filter \"name:regex:gha_test_${JID}_\" print features | $gam csv - gam delete feature ~name\n          $gam config csv_output_row_filter \"name:regex:^gha_test_${JID}_\" user $gam_user print shareddrives asadmin | $gam csv - gam user $gam_user delete shareddrive ~id nukefromorbit\n          $gam print users query \"gha.jid=$JID\" | $gam csv - gam delete user ~primaryEmail\n          $gam config csv_output_row_filter \"name:regex:^gha_test_${JID}_\" print ous fromparent \"aaaGithub Actions\" | $gam csv - gam delete ou ~orgUnitId\n          $gam config csv_output_row_filter \"email:regex:^gha_test_${JID}_\" print cigroups | $gam csv - gam delete cigroup ~email\n          $gam config csv_output_row_filter \"resourceId:regex:^gha_test_${JID}_\" print resources | $gam csv - gam delete resource ~resourceId\n          $gam config csv_output_row_filter \"buildingId:regex:^gha_test_${JID}_\" print buildings | $gam csv - gam delete building ~buildingId\n          $gam config csv_output_row_filter \"Emails.1.address:regex:^gha_test-${JID}_\" print contacts | $gam csv - gam delete contact ~ContactID\n\n          echo \"Creating OrgUnit ${newou}\"\n          $gam create ou \"${newou}\"\n          export GAM_THREADS=5\n          echo email > sample.csv;\n          for i in {1..10}; do\n            echo \"${newbase}-bulkuser-$i\" >> sample.csv;\n          done\n          driveid=$($gam user $gam_user add shareddrive \"${newbase}\" returnidonly)\n          echo \"Created shared drive ${driveid}\"\n          $gam create user $newuser firstname GHA lastname $JID displayname \"Github Actions ${JID}\" password random ou \"${newou}\" recoveryphone 12125121110 recoveryemail jay0lee@gmail.com gha.jid $JID languages en+,en-GB-\n          $gam user $newuser update photo https://dummyimage.com/400x600/000/fff\n          $gam user $newuser get photo\n          $gam user $newuser delete photo\n          $gam create alias $newalias user $newuser\n          $gam create group $newgroup name \"GHA $JID group\" description \"This is a description\" isarchived true\n          $gam user $gam_user sendemail recipient $newuser subject \"test message $newbase\" message \"GHA test message\"\n          $gam user $gam_user sendemail recipient exchange@pdl.jaylee.us subject \"test ${tstamp}\" message \"test message\"\n          $gam config enable_dasa false save\n          $gam create contact firstname GHA lastname \"$JID\" email work \"${newbase}@example.com\" primary\n          $gam print contacts\n          $gam user $newuser add license workspaceenterpriseplus\n          $gam print privileges\n          $gam config enable_dasa true save\n          $gam update cigroup $newgroup security memberrestriction 'member.type == 1 || member.customer_id == groupCustomerId()'\n          $gam info cigroup $newgroup\n          $gam update group $newgroup add owner $gam_user\n          $gam update group $newgroup add member $newuser\n          $gam config enable_dasa false save\n          $gam create admin $newuser _GROUPS_EDITOR_ROLE CUSTOMER # condition nonsecuritygroup\n          $gam create admin $newgroup _HELP_DESK_ADMIN_ROLE org_unit \"${newou}\"\n          $gam config csv_output_row_filter \"assignedToUser:regex:${newuser}\" print admins | $gam csv - gam delete admin \"~roleAssignmentId\"\n          $gam config csv_output_row_filter \"assignedToGroup:regex:${newgroup}\" print admins | $gam csv - gam delete admin \"~roleAssignmentId\"\n          $gam config enable_dasa false save\n          $gam csv sample.csv gam create user ~~email~~ firstname \"GHA Bulk\" lastname ~~email~~ gha.jid $JID ou \"${newou}\"\n          $gam csv sample.csv gam update user ~~email~~ recoveryphone 12125121110 recoveryemail jay0lee@gmail.com password random displayname \"GitHub Actions Bulk ${JID}\"\n          $gam csv sample.csv gam update user ~~email~~ recoveryphone \"\" recoveryemail \"\"\n          $gam config enable_dasa false save\n          $gam csv sample.csv gam user ~email add license workspaceenterpriseplus\n          $gam config enable_dasa true save\n          $gam csv sample.csv gam user $gam_user sendemail recipient ~~email~~@pdl.jaylee.us subject \"test message $newbase\" message \"GHA test message\"\n          $gam csv sample.csv gam update group $newgroup add member ~email\n          $gam info group $newgroup\n          $gam info cigroup $newgroup membertree\n          # confirm mailbox is provisoned before continuing\n          $gam user $newuser waitformailbox retries 20\n          $gam user $newuser imap on\n          $gam user $newuser show imap\n          $gam user $newuser show delegates\n          #$gam user $newuser add contactdelegate \"${newbase}-bulkuser-1\"\n          #$gam user $newuser print contactdelegates\n          export biohazard=$(echo -e '\\xe2\\x98\\xa3')\n          $gam user $newuser label \"$biohazard unicode biohazard $biohazard\"\n          $gam user $newuser show labels\n          $gam user $newuser show labels > labels.txt\n          $gam user $gam_user importemail subject \"GHA import $newbase\" message \"This is a test import\" labels IMPORTANT,UNREAD,INBOX,STARRED\n          $gam user $gam_user insertemail subject \"GHA insert $newbase\" file gam.py labels INBOX,UNREAD # yep body is gam code\n          $gam user $gam_user sendemail subject \"GHA send $gam_user $newbase\" file gam.py recipient admin@pdl.jaylee.us\n          $gam user $gam_user draftemail subject \"GHA draft $newbase\" message \"Draft message test\"\n          $gam csvfile sample.csv:email waitformailbox retries 20\n          $gam user $newuser delegate to \"${newbase}-bulkuser-1\" || if [ $? != 50 ]; then exit $?; fi # expect a 50 return code (delegation failed)\n          $gam users \"$gam_user $newbase-bulkuser-1 $newbase-bulkuser-2 $newbase-bulkuser-3\" delete messages query in:anywhere maxtodelete 99999 doit || if [ $? != 60 ]; then exit $?; fi # expect a 60 return code (no messages)\n          $gam users \"$newbase-bulkuser-4 $newbase-bulkuser-5 $newbase-bulkuser-6\" trash messages query in:anywhere maxtotrash 99999 doit || if [ $? != 60 ]; then exit $?; fi # expect a 60 return code (no messages)\n          $gam users \"$newbase-bulkuser-7 $newbase-bulkuser-8 $newbase-bulkuser-9\" modify messages query in:anywhere maxtomodify 99999 addlabel IMPORTANT addlabel STARRED doit || if [ $? != 60 ]; then exit $?; fi # expect a 60 return code (no messages)\n          $gam user $newuser delete label --ALL_LABELS--\n          $gam config csv_output_row_filter \"name:regex:gha-test-${JID}\" print features | $gam csv - gam delete feature ~name\n          $gam create feature name VC-$newbase\n          $gam create feature name Whiteboard-$newbase\n          $gam create building \"My Building - $newbase\" id $newbuilding floors 1,2,3,4,5,6,7,8,9,10,11,12,14,15 description \"No 13th floor here...\"\n          $gam create resource $newresource \"Resource Calendar $tstamp\" capacity 25 features Whiteboard-$newbase,VC-$newbase building $newbuilding floor 15 type Room\n          $gam info resource $newresource\n          $gam user $newuser add drivefile drivefilename \"TPS Reports\" mimetype gfolder\n          $gam user $newuser show filelist\n          $gam calendar $gam_user printacl | $gam csv - gam calendar $gam_user delete ~id # clear ACLs\n          $gam calendar $gam_user add read domain\n          $gam calendar $gam_user add freebusy default\n          $gam calendar $gam_user add editor $newuser\n          $gam calendar $gam_user showacl\n          $gam calendar $gam_user printacl | $gam csv - gam calendar $gam_user delete ~id\n          $gam calendar $gam_user addevent summary \"GHA test event\" start +1h end +2h attendee $newgroup hangoutsmeet guestscanmodify true sendupdates all\n          $gam calendar $gam_user printevents after -0d\n          $gam config enable_dasa false save\n          matterid=uid:$($gam create vaultmatter name \"GHA matter $newbase\" description \"test matter\" collaborators $newuser returnidonly)\n          $gam create vaulthold matter $matterid name \"GHA hold $newbase\" corpus mail accounts $newuser\n          $gam print vaultmatters matterstate open\n          $gam print vaultholds matter $matterid\n          $gam print vaultcount matter $matterid corpus mail everyone todrive tdnobrowser\n          $gam create vaultexport matter $matterid name \"GHA export $newbase\" corpus mail accounts $newuser\n          $gam print exports matter $matterid | $gam csv - gam info export $matterid id:~~id~~\n          $gam config enable_dasa true save\n          $gam csv sample.csv gam user ~email add calendar id:$newresource\n          $gam delete resource $newresource\n          $gam delete feature Whiteboard-$newbase\n          $gam delete feature VC-$newbase\n          $gam delete building $newbuilding\n          $gam delete group $newgroup\n          $gam config enable_dasa false save\n          echo start\n          $gam user $newuser delete license workspaceenterpriseplus\n          echo finish\n          $gam config enable_dasa true save\n          $gam whatis $newuser || if [ $? != 20 ]; then exit $?; fi # expect a 20 return code (is a user)\n          $gam user $gam_user show tokens\n          $gam config enable_dasa false save\n          download_dir=\"${RUNNER_TEMP}/TEMP_DELETE_ME\"\n          mkdir -v \"$download_dir\"\n          $gam print exports matter $matterid | $gam csv - gam download export $matterid id:~~id~~ targetfolder \"$download_dir\"\n          rm -rvf \"$download_dir\"\n          $gam delete hold \"GHA hold $newbase\" matter $matterid\n          $gam update matter $matterid action close\n          $gam update matter $matterid action delete\n          # shakes off vault hold on user so we can delete\n          $gam print users query \"email:${newuser}\" orgunitpath | $gam csv - gam update user ~primaryEmail ou ~orgUnitPath\n          $gam user $newuser show holds || if [ $? != 55 ]; then exit $?; fi # expect a 55 return code\n          export sn=\"$JID$JID$JID$JID-$(openssl rand -base64 32 | sed 's/[^a-zA-Z0-9]//g')\"\n          $gam create device serialnumber $sn devicetype android\n          $gam config enable_dasa true save\n          $gam print users query \"gha.jid=$JID\" | $gam csv - gam delete user ~primaryEmail  || if [ $? != 50 ]; then exit $?; fi # expect a 50 return code (vault hold on user)\n          $gam delete contacts emailmatchpattern \"^${newbase}@example.com$\"\n          $gam print mobile\n          $gam print devices\n          $gam print browsers\n          $gam print cros allfields orderby serialnumber\n          $gam show crostelemetry storagepercentonly\n          $gam report usageparameters customer\n          $gam report usage customer parameters gmail:num_emails_sent,accounts:num_1day_logins\n          $gam report customer todrive tdnobrowser\n          #$gam report users fields accounts:is_less_secure_apps_access_allowed,gmail:last_imap_time,gmail:last_pop_time filters \"accounts:last_login_time>2019-01-01T00:00:00.000Z\" todrive tdnobrowser\n          $gam report users todrive tdnobrowser\n          $gam report admin start -3d todrive tdnobrowser\n          $gam print devices nopersonaldevices nodeviceusers filter \"serial:$JID$JID$JID$JID-\" | $gam csv - gam delete device id ~name\n          $gam config enable_dasa false save\n          $gam print userinvitations\n          $gam print userinvitations | $gam csv - gam send userinvitation ~name\n          $gam config enable_dasa false save\n          $gam create caalevel \"zzz_${newbase}\" basic condition ipsubnetworks 1.1.1.1/32,2.2.2.2/32 endcondition\n          $gam print caalevels\n          $gam delete caalevel \"zzz_${newbase}\"\n          $gam user $gam_user add drivefile localfile gam.py parentid \"${driveid}\"\n          $gam user $gam_user update shareddrive \"${driveid}\" ou \"${newou}\"\n          $gam user $gam_user show shareddrives asadmin\n          $gam user $gam_user update shareddrive \"${driveid}\" ou \"aaaGithub Actions\" # so we can delete our OU...\n          $gam user $gam_user delete shareddrive \"${driveid}\" nukefromorbit\n          echo \"printer model count:\"\n          ssoprofile=$($gam create inboundssoprofile name \"El Goog ${newbase}\" loginurl https://www.google.com logouturl https://www.google.com changepasswordurl https://www.google.com entityid ElGoog return_name_only)\n          $gam create inboundssocredential profile \"id:${ssoprofile}\" generate_key\n          #$gam create inboundssoassignment profile \"id:${ssoprofile}\" orgunit \"${newou}\" mode SAML_SSO\n          #$gam delete inboundssoassignment \"orgunit:${newou}\"\n          $gam delete inboundssoprofile \"id:${ssoprofile}\"\n          $gam print printermodels | wc -l\n          $gam print printers\n          printerid=$($gam create printer displayname \"${newbase}\" uri ipp://localhost:631 driverless description \"made by $(gam_user)\" ou \"${newou}\" nodetails | awk '{print substr($2, 1, length($2)-1)}')\n          $gam info printer \"$printerid\"\n          $gam delete printer \"$printerid\"\n          $gam delete ou \"${newou}\"\n\n      - name: Tar Cache archive\n        if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true'\n        working-directory: ${{ github.workspace }}\n        run: |\n          if [[ \"${RUNNER_OS}\" == \"Windows\" ]]; then\n            tar_folders=\"src/cpython/ bin/ssl\"\n          else\n            tar_folders=\"bin/\"\n          fi\n          tar cJvvf cache.tar.xz $tar_folders\n\n      - name: Attest Build Archive Provenance\n        uses: actions/attest-build-provenance@v1\n        if: (github.event_name == 'push' || github.event_name == 'schedule') && matrix.goal == 'build'\n        with:\n          subject-path: |\n            src/gam*.tar.xz\n            src/gam*.zip\n            src/gam*.msi\n\n      - name: Archive production artifacts\n        uses: actions/upload-artifact@v4\n        if: (github.event_name == 'push' || github.event_name == 'schedule') && matrix.goal != 'test'\n        with:\n          name: gam-binaries-${{ env.GAMOS }}-${{ env.arch }}-${{ matrix.jid }}\n          path: |\n            src/gam*.tar.xz\n            src/gam*.zip\n            src/gam*.msi\n\n  merge:\n    if: (github.event_name == 'push' || github.event_name == 'schedule')\n    runs-on: ubuntu-latest\n    needs: build\n    permissions:\n      contents: write\n      packages: write\n    steps:\n      - name: Merge Artifacts\n        uses: actions/upload-artifact/merge@v4\n        with:\n          name: gam-binaries\n          pattern: gam-binaries-*\n\n  publish:\n    if: github.event_name == 'push'\n    runs-on: ubuntu-latest\n    needs: merge\n    permissions:\n      contents: write\n      packages: write\n      pull-requests: read\n\n    steps:\n\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n\n      - name: VirusTotal Scan\n        uses: crazy-max/ghaction-virustotal@v4\n        with:\n          vt_api_key: ${{ secrets.VT_API_KEY }}\n          files: |\n            gam-binaries/*\n\n      - name: Set datetime version string\n        id: dateversion\n        run: |\n          export dateversion=\"$(date  +'%Y%m%d.%H%M%S')\"\n          echo \"Date version: ${dateversion}\"\n          echo \"dateversion=${dateversion}\" >> $GITHUB_OUTPUT\n\n      - uses: \"marvinpinto/action-automatic-releases@latest\"\n        name: Publish draft release\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          automatic_release_tag: \"${{ steps.dateversion.outputs.dateversion }}\"\n          prerelease: false\n          draft: true\n          files: |\n            gam-binaries/*\n", "state": "active", "repository": "gam-team/gam"}
{"mined_at": "2024-07-15T16:57:29.982713", "created_at": "2022-04-12T03:45:46+02:00", "updated_at": "2022-04-12T03:45:46+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '25 10 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "gam-team/gam"}
{"mined_at": "2024-07-15T16:57:31.032956", "created_at": "2023-07-26T22:37:29+02:00", "updated_at": "2023-07-26T22:37:29+02:00", "name": "Check for Google Root CA Updates", "path": ".github/workflows/get-cacerts.yml", "contents": "name: Check for Google Root CA Updates\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '23 23 * * *'\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: src\n\njobs:\n  check-apis:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n        with:\n          persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token\n          fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n\n      - name: Check for updates\n        run: curl -o ./cacerts.pem -vvvv https://pki.goog/roots.pem\n\n      - name: Commit file\n        run: |\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git add cacerts.pem\n          git diff --quiet && git diff --staged --quiet || git commit -am '[ci skip] Updated cacerts.pem'\n\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }} \n", "state": "active", "repository": "gam-team/gam"}
{"mined_at": "2024-07-15T16:57:33.600661", "created_at": "2023-03-09T20:25:03+01:00", "updated_at": "2023-03-09T20:25:03+01:00", "name": "Apply 'untriaged' label during issue lifecycle", "path": ".github/workflows/add-untriaged.yml", "contents": "name: Apply 'untriaged' label during issue lifecycle\r\n\r\non:\r\n  issues:\r\n    types: [opened, reopened, transferred]\r\n\r\njobs:\r\n  apply-label:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/github-script@v6\r\n        with:\r\n          script: |\r\n            github.rest.issues.addLabels({\r\n              issue_number: context.issue.number,\r\n              owner: context.repo.owner,\r\n              repo: context.repo.repo,\r\n              labels: ['untriaged']\r\n            })\r\n", "state": "active", "repository": "opensearch-project/opensearch-benchmark"}
{"mined_at": "2024-07-15T16:57:34.730236", "created_at": "2024-06-27T15:48:15+02:00", "updated_at": "2024-06-27T15:48:15+02:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": null, "state": "active", "repository": "opensearch-project/opensearch-benchmark"}
{"mined_at": "2024-07-15T16:57:35.867135", "created_at": "2023-03-23T15:04:51+01:00", "updated_at": "2023-03-23T15:04:51+01:00", "name": "Publish OpenSearch Benchmark Docker Image", "path": ".github/workflows/docker.yml", "contents": "name: Publish OpenSearch Benchmark Docker Image\non:\n  push:\n    tags:\n      - \"v*.*.*\"\n  workflow_dispatch:\n    inputs:\n      logLevel:\n        description: Log level\n        required: true\n        default: warning\n        type: choice\n        options:\n          - info\n          - warning\n          - debug\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      -\n        name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      -\n        name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          platforms: linux/amd64,linux/arm64\n          file: docker/Dockerfile\n          context: \"{{defaultContext}}:.\"\n          push: true\n          tags: opensearchstaging/opensearch-benchmark:latest,opensearchstaging/opensearch-benchmark:0.2.0", "state": "active", "repository": "opensearch-project/opensearch-benchmark"}
{"mined_at": "2024-07-15T16:57:37.082631", "created_at": "2023-03-23T21:25:31+01:00", "updated_at": "2023-03-23T21:26:07+01:00", "name": "dockerfile-lint", "path": ".github/workflows/dockerfile-lint.yml", "contents": "---\nname: dockerfile-lint\n\non:\n  pull_request:\n    paths:\n      - 'docker/**'\n\njobs:\n  test_docker:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: jbergstroem/hadolint-gh-action@v1\n        with:\n          dockerfile: 'docker/*Dockerfile'\n          annotate: false\n", "state": "active", "repository": "opensearch-project/opensearch-benchmark"}
{"mined_at": "2024-07-15T16:57:38.216033", "created_at": "2021-06-07T23:41:00+02:00", "updated_at": "2021-06-09T17:00:38+02:00", "name": "CI Actions", "path": ".github/workflows/main.yml", "contents": "name: CI Actions\non: [pull_request]\njobs:\n  Unit-Tests:\n    strategy:\n      matrix:\n        os:\n          - ubuntu-latest\n          - macos-latest\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v2\n      - name: Clone pyenv\n        run: git clone https://github.com/pyenv/pyenv.git ~/.pyenv\n      - name: Run the CI build script\n        run: bash .ci/build.sh build\n        env:\n          BENCHMARK_HOME: env.GITHUB_WORKSPACE\n", "state": "active", "repository": "opensearch-project/opensearch-benchmark"}
{"mined_at": "2024-07-15T16:57:39.334885", "created_at": "2021-06-25T18:16:51+02:00", "updated_at": "2021-06-29T19:10:28+02:00", "name": "Integ Actions", "path": ".github/workflows/manual-integ.yml", "contents": "name: Integ Actions\non: [workflow_dispatch, pull_request]\njobs:\n  Integration-Tests:\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Check out repository code\n        uses: actions/checkout@v2\n      - name: Clone pyenv\n        run: git clone https://github.com/pyenv/pyenv.git ~/.pyenv\n      - name: Clone pyenv-virtualenv\n        run: git clone https://github.com/pyenv/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv\n      - name: Install JDK 8\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'adopt'\n          java-version: '8'\n      - run: echo \"JAVA8_HOME=$JAVA_HOME\" >> $GITHUB_ENV\n      - name: Install JDK 11\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'adopt'\n          java-version: '11'\n      - run: echo \"JAVA11_HOME=$JAVA_HOME\" >> $GITHUB_ENV\n      - name: Install JDK 15\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'adopt'\n          java-version: '15'\n      - run: echo \"JAVA15_HOME=$JAVA_HOME\" >> $GITHUB_ENV\n      - name: Install JDK 16\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'adopt'\n          java-version: '16'\n      - run: echo \"JAVA16_HOME=$JAVA_HOME\" >> $GITHUB_ENV\n      - name: Install JDK 17\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'adopt'\n          java-version: '17'\n      - run: echo \"JAVA17_HOME=$JAVA_HOME\" >> $GITHUB_ENV\n      - name: Run the CI build_it script\n        run: bash .ci/build.sh build_it ${{ matrix.python-version }}\n        env:\n          BENCHMARK_HOME: env.GITHUB_WORKSPACE\n", "state": "active", "repository": "opensearch-project/opensearch-benchmark"}
{"mined_at": "2024-07-15T16:57:40.477177", "created_at": "2023-03-09T20:24:31+01:00", "updated_at": "2023-03-09T20:24:31+01:00", "name": "Release drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release drafter\n\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  draft-a-release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - id: get_approvers\n        run: |\n          echo \"approvers=$(cat .github/CODEOWNERS | grep @ | tr -d '* ' | sed 's/@/,/g' | sed 's/,//1')\" >> $GITHUB_OUTPUT\n      - uses: trstringer/manual-approval@v1\n        with:\n          secret: ${{ github.TOKEN }}\n          approvers: ${{ steps.get_approvers.outputs.approvers }}\n          minimum-approvals: 1\n          issue-title: 'Release opensearch-benchmark'\n          issue-body: \"Please approve or deny the release of opensearch-benchmark. **Tag**: ${{ github.ref_name }}  **Commit**: ${{ github.sha }}\"\n          exclude-workflow-initiator-as-approver: true\n      - name: Set up Python 3\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.x'\n      - name: Install build tools\n        run: |\n          python -m pip install --upgrade build\n      - name: Build project for distribution\n        run: |\n          python -m build\n          tar -zvcf artifacts.tar.gz dist\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          draft: true\n          generate_release_notes: true\n          files: |\n            artifacts.tar.gz", "state": "active", "repository": "opensearch-project/opensearch-benchmark"}
{"mined_at": "2024-07-15T16:57:42.612358", "created_at": "2021-08-30T00:44:49+02:00", "updated_at": "2021-08-30T00:44:49+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '41 20 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "eprbell/rp2"}
{"mined_at": "2024-07-15T16:57:43.739070", "created_at": "2021-09-14T01:36:53+02:00", "updated_at": "2021-09-14T01:36:53+02:00", "name": "Documentation Check", "path": ".github/workflows/documentation_check.yml", "contents": "name: Documentation Check\n\non: [push, pull_request]\n\njobs:\n  markdown-link-check:\n    name: Check markdown links\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@main\n    - uses: gaurav-nelson/github-action-markdown-link-check@v1\n", "state": "active", "repository": "eprbell/rp2"}
{"mined_at": "2024-07-15T16:57:44.868329", "created_at": "2021-09-01T00:04:10+02:00", "updated_at": "2021-09-01T01:08:40+02:00", "name": "Static Analysis", "path": ".github/workflows/static_analysis.yml", "contents": "name: Static Analysis\n\non: [push, pull_request]\n\njobs:\n  analyze:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.9]\n    env:\n      PYTHONPATH: ./src:./tests\n      MYPYPATH: ./src:./tests:./src/stubs\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e '.[dev]'\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings.\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=160 --statistics\n      - name: Lint with pylint\n        run: |\n          pylint -r y src tests/*.py\n      - name: Security check with bandit\n        run: |\n          bandit -r src/\n      - name: Type check with mypy\n        run: |\n          mypy src/ tests/\n", "state": "active", "repository": "eprbell/rp2"}
{"mined_at": "2024-07-15T16:57:45.993417", "created_at": "2021-09-01T01:11:09+02:00", "updated_at": "2021-09-01T01:13:31+02:00", "name": "Unix Unit Tests", "path": ".github/workflows/unix_unit_tests.yml", "contents": "name: Unix Unit Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n    env:\n      PYTHONPATH: ./src:./test\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e '.[dev]'\n      - name: Test with pytest\n        run: |\n          pytest --tb=native --verbose\n", "state": "active", "repository": "eprbell/rp2"}
{"mined_at": "2024-07-15T16:57:47.138962", "created_at": "2021-09-01T00:44:25+02:00", "updated_at": "2021-09-01T01:13:31+02:00", "name": "Windows Unit Tests", "path": ".github/workflows/windows_unit_tests.yml", "contents": "name: Windows Unit Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest]\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n    env:\n      PYTHONPATH: .\\src;.\\test\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e '.[dev]'\n      - name: Test with pytest\n        run: |\n          pytest --tb=native --verbose\n", "state": "active", "repository": "eprbell/rp2"}
{"mined_at": "2024-07-15T16:57:50.301353", "created_at": "2021-04-15T16:17:42+02:00", "updated_at": "2023-08-09T13:38:13+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n      - v1\n    paths:\n      - tests/*\n      - hydromt/*\n      - data/*\n      - pyproject.toml\n      - pixi.lock\n      - pixi.toml\n      - .github/workflows/tests.yml\n  pull_request:\n    branches:\n      - main\n      - v1\n    paths:\n      - tests/*\n      - hydromt/*\n      - data/*\n      - pyproject.toml\n      - pixi.lock\n      - pixi.toml\n      - .github/workflows/tests.yml\n\n\njobs:\n  build:\n    defaults:\n      run:\n        shell: bash -e -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: ['39','310','311']\n\n    name: py ${{ matrix.python-version }} (${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 30\n    concurrency:\n      group: ${{ github.workflow }}-${{ matrix.os }}-${{ matrix.python-version }}-${{ github.ref }}\n      cancel-in-progress: true\n    steps:\n\n      - uses: actions/checkout@v4\n      - uses: prefix-dev/setup-pixi@v0.6.0\n        with:\n          pixi-version: \"v0.21.1\"\n          environments: full-py${{ matrix.python-version }}\n      - name: Prepare pixi\n        run: |\n          pixi run --locked -e full-py${{ matrix.python-version }} install-hydromt\n\n      # Enable tmate debugging of manually-triggered workflows if the input option was provided\n      - name: Setup tmate session\n        uses: mxschmitt/action-tmate@v3\n        if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}\n\n      - name: Test\n        run: |\n          export NUMBA_DISABLE_JIT=1\n          pixi run --locked -e full-py${{ matrix.python-version }} test-cov\n\n      # enable for CI debugging\n      # - name: Setup tmate session\n      #   if: ${{ failure() }}\n      #   uses: mxschmitt/action-tmate@v3\n", "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:57:51.418557", "created_at": "2021-04-23T11:00:53+02:00", "updated_at": "2023-06-19T08:35:59+02:00", "name": "Build Documentation", "path": ".github/workflows/docs.yml", "contents": "---\nname: Build Documentation\non:\n  workflow_dispatch:\n  push:\n    branches: [main]\n    paths:\n      - tests/*\n      - hydromt/*\n      - data/*\n      - docs/*\n      - examples/*\n      - pyproject.toml\n      - .github/workflows/docs.yml\n  pull_request:\n    branches: [main]\n    paths:\n      - tests/*\n      - hydromt/*\n      - data/*\n      - docs/*\n      - examples/*\n      - pyproject.toml\n      - .github/workflows/docs.yml\n\njobs:\n  test-docs:\n    defaults:\n      run:\n        shell: bash -e -l {0}\n    timeout-minutes: 30\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout code\n        uses: actions/checkout@v3\n      - uses: prefix-dev/setup-pixi@v0.6.0\n        with:\n          pixi-version: \"v0.21.1\"\n          environments: full-py311\n      - name: Prepare pixi\n        run: |\n          pixi run --locked -e full-py311 install-hydromt\n\n      # if we're not publishing we don't have to write them, so we might as well\n      # save ourself a bunch of IO time\n      - name: Generate dummy docs\n        if: ${{ github.event_name == 'pull_request' }}\n        run: |\n          pixi run --locked -e full-py311 sphinx-build ./docs ./docs/_build -b dummy -W\n\n      - name: Generate docs\n        if: ${{ github.event_name != 'pull_request' && !github.event.act }}\n        run: |\n          pixi run --locked -e full-py311 html\n          echo \"DOC_VERSION=$(pixi run --locked -e full-py311 python -c 'from hydromt import __version__ as v; print(\"dev\" if \"dev\" in v else \"v\"+v.replace(\".dev\",\"\"))')\" >> $GITHUB_ENV\n\n      - name: Upload to GitHub Pages\n        if: ${{ github.event_name != 'pull_request' && !github.event.act }}\n        uses: peaceiris/actions-gh-pages@v3.9.3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs/_build/html\n          exclude_assets: .buildinfo,_sources/*,_examples/*.ipynb\n          destination_dir: ./${{ env.DOC_VERSION }}\n          keep_files: false\n          full_commit_message: Deploy ${{ env.DOC_VERSION }} to GitHub Pages\n", "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:57:52.432188", "created_at": "2022-01-13T13:16:15+01:00", "updated_at": "2022-01-13T13:16:15+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:57:53.671208", "created_at": "2023-05-26T16:53:21+02:00", "updated_at": "2023-06-19T08:35:59+02:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "---\nname: Linting\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n      - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:57:54.706011", "created_at": "2023-06-13T09:28:55+02:00", "updated_at": "2023-06-19T14:55:46+02:00", "name": "Test Docker images and Binder integration", "path": ".github/workflows/test-docker.yml", "contents": "---\nname: Test Docker images and Binder integration\n\non:\n  push:\n    branches: [main]\n    paths:\n      - .binder/*\n      - Dockerfile\n      - pyproject.toml\n  pull_request:\n    branches: [main]\n    paths:\n      - .binder/*\n      - Dockerfile\n      - pyproject.toml\n\njobs:\n  test-docker-image:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: test-docker-${{ github.ref }}\n      cancel-in-progress: true\n    timeout-minutes: 30\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Build and test\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          target: full\n          tags: hydromt\n          load: true\n          build-args: |\n            PIXIENV=full-py311\n\n\n      - name: Run Tests\n        run: docker run --env NUMBA_DISABLE_JIT=1 --rm hydromt pytest\n      - name: Test Binder integration with repo2docker\n        run: |\n          pip install jupyter-repo2docker\n          repo2docker . echo 'success!'\n", "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:57:55.742003", "created_at": "2023-07-25T16:11:02+02:00", "updated_at": "2023-07-27T08:00:30+02:00", "name": "Update Version", "path": ".github/workflows/update_dev_version.yml", "contents": null, "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:57:56.755837", "created_at": "2023-10-05T11:38:22+02:00", "updated_at": "2023-10-05T11:38:22+02:00", "name": "cleanup all caches", "path": ".github/workflows/purge_all_caches.yml", "contents": "name: cleanup all caches\non:\n  workflow_dispatch:\n  workflow_call:\n\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Cleanup caches\n        run: |\n          if gh cache list | grep -vq \"No cache\"; then\n            gh cache delete -a\n          else\n            echo \"No caches found. skipping...\"\n          fi\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:57:57.851978", "created_at": "2023-10-16T05:44:57+02:00", "updated_at": "2023-10-16T05:44:57+02:00", "name": "Update examples environment", "path": ".github/workflows/update-examples-env.yml", "contents": null, "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:57:58.997883", "created_at": "2023-10-17T16:14:18+02:00", "updated_at": "2023-10-18T12:56:13+02:00", "name": "Tests with pip install", "path": ".github/workflows/tests_pip.yml", "contents": "name: Tests with pip install\n\non:\n  push:\n    branches: [main]\n    paths:\n      - tests/*\n      - hydromt/*\n      - data/*\n      - pyproject.toml\n  pull_request:\n    branches:\n      - main\n    paths:\n      - tests/*\n      - hydromt/*\n      - data/*\n      - pyproject.toml\n\n\njobs:\n  build:\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    # concurrency:\n    #   group: ${{ github.workflow }}-${{ matrix.python-version }}-${{ github.ref }}\n    #   cancel-in-progress: true\n    steps:\n\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        id: py310\n        with:\n          python-version: '3.10'\n          # caching, see https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#caching-packages\n          cache: 'pip'\n          cache-dependency-path: pyproject.toml\n\n      # true if cache-hit occurred on the primary key\n      - name: Cache hit\n        run: echo '${{ steps.py310.outputs.cache-hit }}'\n\n      # build environment with pip\n      - name: Install hydromt\n        run: |\n          pip install --upgrade pip\n          pip install .[test,io,extra]\n\n      # run test\n      - name: Test\n        run: |\n          export NUMBA_DISABLE_JIT=1\n          python -m pytest --verbose\n", "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:58:00.139253", "created_at": "2024-01-23T09:31:19+01:00", "updated_at": "2024-01-23T09:31:19+01:00", "name": "Validate Data Catalog", "path": ".github/workflows/check-data-catalogs.yml", "contents": "\nname: Validate Data Catalog\n\non:\n  workflow_dispatch:\n  push:\n    branches: [main]\n    paths:\n      - data/catalogs/*.yml\n  pull_request:\n    branches:\n      - main\n    paths:\n      - data/catalogs/*.yml\n\n\njobs:\n  build:\n    defaults:\n      run:\n        shell: bash -l {0}\n    env:\n      DOC_PYTHON_VERSION: '3.11'\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    concurrency:\n      group: ${{ github.workflow }}-data-catalog-validation-${{ github.ref }}\n      cancel-in-progress: true\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: prefix-dev/setup-pixi@v0.6.0\n        with:\n          pixi-version: \"v0.21.1\"\n          environments: min-py311\n      - name: Prepare pixi\n        run: |\n          pixi run --locked -e min-py311 install-hydromt\n      - name: Validate the catalogs\n        run: |\n          export NUMBA_DISABLE_JIT=1\n          for d in $(ls data/catalogs/*.yml); do\n            echo \"Checking $d\"\n            PYTHONPYCACHEPREFIX=~/pycache pixi run --locked -e min-py311 hydromt check -d $d\n          done\n", "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:58:01.248689", "created_at": "2024-02-28T16:48:04+01:00", "updated_at": "2024-02-28T16:48:04+01:00", "name": "Pixi auto update", "path": ".github/workflows/pixi_auto_update.yml", "contents": "name: Pixi auto update\n\non:\n  schedule:\n  # At 03:00 on day 3 of the month\n    - cron: \"0 3 3 * *\"\n  # on demand\n  workflow_dispatch:\n\njobs:\n  auto-update:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}\n      - uses: prefix-dev/setup-pixi@v0.6.0\n        with:\n          pixi-version: \"v0.21.1\"\n          cache: false\n      - name: Update pixi lock file\n        run: |\n          rm pixi.lock\n          pixi install\n      - uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          branch: update/pixi-lock\n          title: Update pixi lock file\n          commit-message: \"Update `pixi.lock`\"\n          body: Update pixi dependencies to the latest version.\n          author: \"GitHub <noreply@github.com>\"\n", "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:58:02.476915", "created_at": "2024-05-24T11:01:05+02:00", "updated_at": "2024-05-24T11:01:05+02:00", "name": "Tests", "path": ".github/workflows/test_error_free.yml", "contents": null, "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:58:03.514790", "created_at": "2024-07-09T15:38:05+02:00", "updated_at": "2024-07-15T11:00:57+02:00", "name": "Finalise a new release", "path": ".github/workflows/finish-release.yml", "contents": null, "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:58:04.593632", "created_at": "2024-07-15T07:32:01+02:00", "updated_at": "2024-07-15T07:32:01+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:58:05.943765", "created_at": "2024-07-15T11:00:57+02:00", "updated_at": "2024-07-15T11:00:57+02:00", "name": "Create release artifacts", "path": ".github/workflows/create-release-artifacts.yml", "contents": null, "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:58:07.074901", "created_at": "2024-07-15T11:00:57+02:00", "updated_at": "2024-07-15T11:00:57+02:00", "name": "Create a new release", "path": ".github/workflows/prep-release.yml", "contents": null, "state": "active", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:58:08.315649", "created_at": "2023-07-25T16:51:35+02:00", "updated_at": "2023-08-10T15:12:11+02:00", "name": "Auto approve PR", "path": ".github/workflows/auto_approve.yml", "contents": null, "state": "disabled_manually", "repository": "deltares/hydromt"}
{"mined_at": "2024-07-15T16:58:10.672077", "created_at": "2023-07-27T22:54:46+02:00", "updated_at": "2024-03-25T20:51:41+01:00", "name": "Conditional Bump Version", "path": ".github/workflows/bump-version-tag.yml", "contents": "name: Conditional Bump Version\n\non:\n  push:\n    branches:\n      - master\n    paths-ignore:\n      - .*\n      - .github/*/*.md\n      - .github/*/*.yml\n      - AUTHORS.rst\n      - CHANGES.rst\n      - Dockerfile\n      - Makefile\n      - docker-compose.yml\n      - docs/*/*.ipynb\n      - docs/*/*.py\n      - docs/*/*.rst\n      - docs/Makefile\n      - docs/_static/*\n      - environment-docs.yml\n      - finch/__version__.py\n      - requirements*.txt\n      - setup.cfg\n      - setup.py\n\npermissions:\n  contents: read\n\njobs:\n  bump_patch_version:\n    name: Bumpversion\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            files.pythonhosted.org:443\n            github.com:443\n            pypi.org:443\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Config Commit Bot\n        run: |\n          git config --local user.email \"bumpversion[bot]@ouranos.ca\"\n          git config --local user.name \"bumpversion[bot]\"\n      - name: Current Version\n        run: |\n          CURRENT_VERSION=\"$(grep -E '__version__' finch/__version__.py | cut -d ' ' -f3)\"\n          echo \"current_version=${CURRENT_VERSION}\"\n          echo \"CURRENT_VERSION=${CURRENT_VERSION}\" >> $GITHUB_ENV\n      - name: Bump Version\n        if: ${{ github.event.inputs.tag == 'false' }}\n        run: |\n          pip install bump-my-version\n          echo \"running `bump-my-version bump  --no-tag ${{ github.event.inputs.bumpversion }}`\"\n          NEW_VERSION=\"$(grep -E '__version__' finch/__version__.py | cut -d ' ' -f3)\"\n          echo \"new_version=${NEW_VERSION}\"\n      - name: Install bump-my-version\n        run: |\n          python -m pip install bump-my-version>=0.18.3\n      - name: Conditional Bump\n        id: bump\n        run: |\n          if [[ ${{ env.CURRENT_VERSION }} =~ -dev(\\.\\d+)? ]]; then\n            echo \"Development version (ends in 'dev(\\.\\d+)?'), bumping 'build' version\"\n            bump-my-version bump build\n          else\n            echo \"Version is stable, bumping 'patch' version\"\n            bump-my-version bump patch\n          fi\n          NEW_VERSION=\"$(grep -E '__version__'  finch/__version__.py | cut -d ' ' -f3)\"\n          echo \"new_version=${NEW_VERSION}\"\n          echo \"NEW_VERSION=${NEW_VERSION}\" >> $GITHUB_ENV\n      - name: Push Changes\n        uses: ad-m/github-push-action@master\n        with:\n          force: false\n          github_token: ${{ secrets.BUMPVERSION_TOKEN }}\n          branch: ${{ github.ref }}\n", "state": "active", "repository": "bird-house/finch"}
{"mined_at": "2024-07-15T16:58:11.898366", "created_at": "2023-07-10T23:23:33+02:00", "updated_at": "2023-07-17T15:55:52+02:00", "name": "Docker-based Testing Suite", "path": ".github/workflows/docker-testing.yml", "contents": "name: Docker-based Testing Suite\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\nconcurrency:\n  # For a given workflow, if we push to the same branch, cancel all previous builds on that branch except on master.\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}\n\njobs:\n  build:\n    name: Build and Test Docker image\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: docker/setup-buildx-action@v3\n      - uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: \"Dockerfile\"\n          tags: localfinch:latest\n          load: true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          push: false\n      - uses: addnab/docker-run-action@v3\n        with:\n          image: localfinch:latest\n          options: -p 5000:5000\n          run: |\n            finch start -d\n            sleep 2s\n            finch status\n            finch stop\n", "state": "active", "repository": "bird-house/finch"}
{"mined_at": "2024-07-15T16:58:12.937750", "created_at": "2023-01-11T16:40:54+01:00", "updated_at": "2023-01-12T23:46:17+01:00", "name": "Labeler", "path": ".github/workflows/label.yml", "contents": "# This workflow will triage pull requests and apply a label based on the\n# paths that are modified in the pull request.\n#\n# To use this workflow, you will need to set up a .github/labeler.yml\n# file with configuration.  For more information, see:\n# https://github.com/actions/labeler/blob/master/README.md\n\nname: Labeler\non:\n  # Note: potential security risk from this action using pull_request_target.\n  # Do not add actions in here which need a checkout of the repo, and do not use any caching in here.\n  # See: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - synchronize\n\npermissions:\n  contents: read\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      contents: read\n      pull-requests: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n      - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "bird-house/finch"}
{"mined_at": "2024-07-15T16:58:14.050332", "created_at": "2021-04-12T16:56:26+02:00", "updated_at": "2024-03-19T18:21:17+01:00", "name": "Finch Testing Suite ⚙️", "path": ".github/workflows/main.yml", "contents": "name: Finch Testing Suite ⚙️\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\nconcurrency:\n  # For a given workflow, if we push to the same branch, cancel all previous builds on that branch except on master.\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}\n\njobs:\n  lint:\n    name: Code linting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n      - name: Install flake8\n        run: |\n          python -m pip install flake8\n      - name: Run linting suite\n        run: |\n          flake8\n\n  conda:\n    name: Build ⚙️ and test 🧪\n    needs: lint\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n        matrix:\n            python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup conda and environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          cache-downloads: true\n          cache-environment: true\n          environment-file: environment.yml\n          create-args: >-\n            conda\n            python=${{ matrix.python-version }}\n      - name: Conda and Mamba versions\n        run: |\n          conda --version\n          echo \"micromamba: $(micromamba --version)\"\n      - name: Install finch-wps\n        run: |\n          make develop\n      - name: Check versions\n        run: |\n          conda list\n          python -m pip check || true\n      - name: Run tests\n        run: |\n          make start\n          sleep 2\n          make test-notebooks\n          make test\n", "state": "active", "repository": "bird-house/finch"}
{"mined_at": "2024-07-15T16:58:15.088483", "created_at": "2024-07-15T10:29:23+02:00", "updated_at": "2024-07-15T10:29:23+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "bird-house/finch"}
{"mined_at": "2024-07-15T16:58:16.235335", "created_at": "2024-02-08T16:33:59+01:00", "updated_at": "2024-02-08T16:33:59+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "bird-house/finch"}
{"mined_at": "2024-07-15T16:58:18.452012", "created_at": "2022-01-18T15:56:39+01:00", "updated_at": "2023-09-21T11:28:40+02:00", "name": "odxtools CI pipeline", "path": ".github/workflows/tests.yml", "contents": "# SPDX-License-Identifier: MIT\n# Copyright (c) 2023 MBition GmbH\n\nname: odxtools CI pipeline\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n\njobs:\n  lint-coding-style:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n\n      - name: Setup up YaPF formatting linter\n        run: |\n          pip install toml yapf\n\n      - name: Lint coding style (yapf)\n        # make yapf fail if any file needs to be re-formatted\n        run: |\n          yapf -r --diff examples/ odxtools/ tests/\n\n  linting:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        # restrict the matrix to the oldest and the latest Python\n        # version being supported by odxtools\n        python-version: [\"3.8\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{matrix.python-version}}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{matrix.python-version}}\n          cache: \"pip\"\n\n      - name: Install odxtools development and testing dependencies\n        run: |\n          pip install --upgrade pip\n          pip install .\n          pip install .[test]\n\n      - name: Static type checking (mypy)\n        run: |\n          # remove '# type:' comments in version.py which mypy-3.8\n          # stumbles over. for some reason, mypy cannot be\n          # instructed to ignore 'version.py'\n          sed -i \"s/# type:.*//\" odxtools/version.py\n          python -m mypy .\n\n      - name: Lint code quality (ruff)\n        run: |\n          ruff .\n\n  test:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        # restrict the matrix to the oldest and the latest Python\n        # version being supported by odxtools\n        python-version: [\"3.8\", \"3.12\"]\n\n        # due to the slow windows runners, we refrain from testing every python\n        # version on windows-latest\n        exclude:\n          - os: windows-latest\n            python-version: \"3.8\"\n\n    runs-on: ${{matrix.os}}\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{matrix.python-version}}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{matrix.python-version}}\n          cache: \"pip\"\n\n      # dependency are likely cached on ubuntu-latest\n      - name: Install odxtools development and testing dependencies\n        run: |\n          pip install --upgrade pip\n          pip install .\n          pip install .[test]\n\n      - name: Create somersault.pdx\n        run: |\n          python -m examples.mksomersaultpdx examples/somersault.pdx\n\n      - name: Run unit tests and report line coverage\n        # use `python -m pytest ...` instead of `pytest ...` to avoid setting the\n        # PYTHONPATH environment variable. This works independently of the OS.\n\n        # For some reason, pytest-cov reports invalid line coverage. As a remedy,\n        # we utilize the `coverage` module instead of `pytest-cov`. Line coverage\n        # shall be only reported for the odxtools package, i.e., the tests package\n        # should be ignored.\n        run: |\n          coverage run --source=odxtools --omit=tests -m pytest\n          coverage report\n", "state": "active", "repository": "mercedes-benz/odxtools"}
{"mined_at": "2024-07-15T16:58:20.807007", "created_at": "2022-11-25T18:46:21+01:00", "updated_at": "2022-11-29T20:57:21+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: \"31 5 * * 5\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ python ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          queries: +security-and-quality\n          config-file: codeql.yml\n\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{ matrix.language }}\"\n", "state": "active", "repository": "dandi/dandi-cli"}
{"mined_at": "2024-07-15T16:58:22.035906", "created_at": "2021-07-16T18:42:41+02:00", "updated_at": "2021-07-16T20:00:24+02:00", "name": "Build Docs", "path": ".github/workflows/docs.yml", "contents": "name: Build Docs\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python:\n          - 3.8\n          #- 3.9\n          #- 3.10\n          #- 3.11\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n      with:\n        # Fetch all commits so that versioneer will return something compatible\n        # with semantic-version\n        fetch-depth: 0\n\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Install hdf5 (Ubuntu)\n      if: matrix.python == '3.9' && startsWith(matrix.os, 'ubuntu')\n      run: sudo apt-get update && sudo apt-get install -y libhdf5-dev\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel\n        python -m pip install --upgrade tox\n\n    - name: Build docs\n      run: tox -e docs\n", "state": "active", "repository": "dandi/dandi-cli"}
{"mined_at": "2024-07-15T16:58:23.162737", "created_at": "2020-08-03T14:54:01+02:00", "updated_at": "2020-08-03T14:54:01+02:00", "name": "Linters", "path": ".github/workflows/lint.yml", "contents": "name: Linters\n\non:\n  - push\n  - pull_request\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set up environment\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade tox\n    # Annotate codespell within PR\n    - uses: codespell-project/codespell-problem-matcher@v1\n    - name: Run linters\n      run: |\n        tox -e lint\n", "state": "active", "repository": "dandi/dandi-cli"}
{"mined_at": "2024-07-15T16:58:24.351056", "created_at": "2020-11-05T21:41:05+01:00", "updated_at": "2020-11-05T21:41:05+01:00", "name": "Auto-release on PR merge", "path": ".github/workflows/release.yml", "contents": "name: Auto-release on PR merge\n\non:\n  # ATM, this is the closest trigger to a PR merging\n  push:\n    branches:\n      - master\n\njobs:\n  auto-release:\n    runs-on: ubuntu-latest\n    if: \"!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')\"\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Download latest auto\n        run: |\n          auto_download_url=\"$(curl -fsSL https://api.github.com/repos/intuit/auto/releases/latest | jq -r '.assets[] | select(.name == \"auto-linux.gz\") | .browser_download_url')\"\n          wget -O- \"$auto_download_url\" | gunzip > ~/auto\n          chmod a+x ~/auto\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Install build & twine\n        run: python -m pip install build twine\n\n      - name: Create release\n        run: ~/auto shipit -vv\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n\n# vim:set sts=2:\n", "state": "active", "repository": "dandi/dandi-cli"}
{"mined_at": "2024-07-15T16:58:25.462111", "created_at": "2020-01-09T16:29:30+01:00", "updated_at": "2020-01-09T16:29:30+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  schedule:\n    - cron: '0 6 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    env:\n      NO_ET: 1\n      DANDI_ALLOW_LOCALHOST_URLS: \"1\"\n      DANDI_PAGINATION_DISABLE_FALLBACK: \"1\"\n      DANDI_TESTS_PERSIST_DOCKER_COMPOSE: \"1\"\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - windows-2019\n          - ubuntu-latest\n          - macos-latest\n        python:\n          - 3.8\n          - 3.9\n          - '3.10'  # Needs quotes so YAML doesn't think it's 3.1\n          - '3.11'\n          - '3.12'\n        mode:\n          - normal\n        include:\n          - os: ubuntu-latest\n            python: 3.8\n            mode: dandi-api\n          - os: ubuntu-latest\n            python: 3.8\n            mode: dev-deps\n          - os: ubuntu-latest\n            python: 3.8\n            mode: nfs\n\n    steps:\n    - name: Set up environment\n      uses: actions/checkout@v4\n      with:\n        # Fetch all commits so that versioneer will return something compatible\n        # with semantic-version\n        fetch-depth: 0\n\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel\n        pip install \".[extras,test]\"\n\n    - name: Install dev versions of select dependencies\n      if: matrix.mode == 'dev-deps'\n      run: |\n        pip install git+https://github.com/jaraco/keyring\n        pip install git+https://github.com/NeurodataWithoutBorders/nwbinspector\n        pip install git+https://github.com/NeurodataWithoutBorders/pynwb\n        pip install git+https://github.com/hdmf-dev/hdmf\n\n    - name: Create NFS filesystem\n      if: matrix.mode == 'nfs'\n      run: |\n        mkdir /tmp/nfsmount_ /tmp/nfsmount\n        mkdir /tmp/nfsmount_/tmp /tmp/nfsmount_/home\n        echo \"/tmp/nfsmount_ localhost(rw)\" | sudo tee /etc/exports\n        sudo apt-get install -y nfs-kernel-server\n        sudo exportfs -a\n        sudo mount -t nfs localhost:/tmp/nfsmount_ /tmp/nfsmount\n        echo TMPDIR=/tmp/nfsmount/tmp >> \"$GITHUB_ENV\"\n        echo HOME=/tmp/nfsmount/home >> \"$GITHUB_ENV\"\n        echo DANDI_DEVEL_INSTRUMENT_REQUESTS_SUPERLEN=1 >> \"$GITHUB_ENV\"\n\n    - name: Use scheduled test configuration\n      if: github.event_name == 'schedule'\n      run: echo PYTEST_ADDOPTS=--scheduled >> \"$GITHUB_ENV\"\n\n    - name: Run all tests\n      if: matrix.mode != 'dandi-api'\n      run: |\n        python -m pytest -s -v --cov=dandi --cov-report=xml dandi\n\n    - name: Smoke test example code in docs\n      if: matrix.mode != 'dandi-api' && github.event_name == 'schedule'\n      run: |\n        set -ex\n        cd docs/source/examples\n        for f in *.py\n        do python \"$f\"\n        done\n\n    - name: Run Dandi API tests only\n      if: matrix.mode == 'dandi-api'\n      run: |\n        python -m pytest -s -v --cov=dandi --cov-report=xml --dandi-api dandi\n\n    - name: Dump Docker Compose logs\n      if: failure() && startsWith(matrix.os, 'ubuntu')\n      run: |\n        docker-compose \\\n          -f dandi/tests/data/dandiarchive-docker/docker-compose.yml \\\n          logs --timestamps\n\n    - name: Shut down Docker Compose\n      if: startsWith(matrix.os, 'ubuntu')\n      run: |\n        docker-compose \\\n          -f dandi/tests/data/dandiarchive-docker/docker-compose.yml \\\n          down -v\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n        flags: unittests\n        # name: codecov-umbrella\n        # yml: ./codecov.yml\n        fail_ci_if_error: false\n", "state": "active", "repository": "dandi/dandi-cli"}
{"mined_at": "2024-07-15T16:58:26.526208", "created_at": "2022-01-25T17:41:57+01:00", "updated_at": "2022-01-28T22:18:06+01:00", "name": "Type-check", "path": ".github/workflows/typing.yml", "contents": "name: Type-check\n\non:\n  - push\n  - pull_request\n\njobs:\n  typing:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade tox\n\n      - name: Run type checker\n        run: tox -e typing\n", "state": "active", "repository": "dandi/dandi-cli"}
{"mined_at": "2024-07-15T16:58:28.712008", "created_at": "2021-06-17T14:23:54+02:00", "updated_at": "2022-09-13T16:37:13+02:00", "name": "Release Chart", "path": ".github/workflows/release-chart.yml", "contents": "name: Release Chart\n\non:\n  pull_request:\n    paths:\n      - charts/**\n      - .github/workflows/release-chart.yaml\n  push:\n    branches:\n      - main\n\njobs:\n  release:\n    name: Release chart to repo\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Install Helm\n        uses: azure/setup-helm@v1\n        with:\n          version: v3.8.1\n\n      - name: Add -<sha> to version in charts/posthog/Chart.yaml and update Chart.lock\n        if: github.ref != 'refs/heads/main'\n        run: |\n          sed -i 's/^version: \\(.*\\)$/version: \\1-${{ github.sha }}/g' charts/posthog/Chart.yaml\n          helm dependency update charts/posthog/\n\n      - name: Configure Git\n        run: |\n          git config user.name \"$GITHUB_ACTOR\"\n          git config user.email \"$GITHUB_ACTOR@users.noreply.github.com\"\n\n      - name: Add helm repositories\n        run: |\n          helm repo add bitnami-pre-2022 https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami\n          helm repo add kubernetes https://kubernetes.github.io/ingress-nginx\n          helm repo add jetstack https://charts.jetstack.io\n          helm repo add prometheus-community https://prometheus-community.github.io/helm-charts\n          helm repo add grafana https://grafana.github.io/helm-charts\n\n      - name: Run chart-releaser\n        uses: helm/chart-releaser-action@v1.4.1\n        if: github.repository == 'PostHog/charts-clickhouse'\n        env:\n          CR_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n          CR_SKIP_EXISTING: \"true\"\n        with:\n          charts_repo_url: \"https://posthog.github.io/charts-clickhouse/\"\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:30.130721", "created_at": "2021-06-18T14:25:52+02:00", "updated_at": "2022-01-26T11:53:03+01:00", "name": "Update docs", "path": ".github/workflows/update-docs.yml", "contents": "name: Update docs\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  update-readme:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Run helm-docs\n        run: |\n          GOBIN=$PWD go install github.com/norwoodj/helm-docs/cmd/helm-docs@v1.8.1\n          ./helm-docs --sort-values-order file -t ALL_VALUES.md.gotmpl -o ALL_VALUES.md\n          rm ./helm-docs\n\n      - name: Commit bump\n        uses: EndBug/add-and-commit@v7\n        with:\n            author_name: Max Hedgehog\n            author_email: 127861667+max-hedgehog[bot]@users.noreply.github.com\n            branch: ${{ github.event.pull_request.base.ref }}\n            message: 'Regenerate chart ALL_VALUES.md'\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:31.631872", "created_at": "2021-10-11T15:49:44+02:00", "updated_at": "2021-10-13T09:40:32+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yaml", "contents": "#\n# GitHub Action to automate the identification of common misspellings in text files.\n# - https://github.com/codespell-project/actions-codespell\n# - https://github.com/codespell-project/codespell\n#\nname: Codespell\non:\n  pull_request\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-20.04\n    steps:\n\n      - name: Checkout Code\n        uses: actions/checkout@v3\n\n      - name: Codespell\n        uses: codespell-project/actions-codespell@master\n        with:\n          check_filenames: true\n          check_hidden: true\n          skip: .git,./ci/k6/lib/*,./charts/posthog/crds/*,./charts/posthog/tests/clickhouse-operator/__snapshot__/*,./charts/posthog/templates/clickhouse-operator/*,./charts/posthog/grafana-dashboards/http-by-application-endpoint.json,./charts/posthog/grafana-dashboards/instance-overview.json,./yarn.lock,./charts/posthog/ALL_VALUES.md\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:32.709358", "created_at": "2021-11-22T18:22:46+01:00", "updated_at": "2021-11-24T14:14:01+01:00", "name": ".github/workflows/test-digitalocean-1-click-install.yaml", "path": ".github/workflows/test-digitalocean-1-click-install.yaml", "contents": null, "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:33.773504", "created_at": "2021-11-22T18:22:46+01:00", "updated_at": "2022-01-20T15:21:22+01:00", "name": "e2e - DigitalOcean (install)", "path": ".github/workflows/test-digitalocean-install.yaml", "contents": "#\n# This is an e2e test to deploy PostHog on DigitalOcean using Helm.\n#\n# TODO:\n# - run k8s spec test\n#\nname: e2e - DigitalOcean (install)\n\non:\n  workflow_dispatch:\n  # Please do not add 'pull_request' here as without the proper\n  # GitHub settings might lead 3rd party users to run commands\n  # into our cloud account for testing\n  push:\n    branches:\n      - main\n\njobs:\n  do-install:\n    runs-on: ubuntu-20.04\n    if: github.repository == 'PostHog/charts-clickhouse'\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@v3\n\n    - name: Install doctl to manage 'posthog.cc' DNS\n      uses: digitalocean/action-doctl@v2\n      with:\n        token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}\n\n    - name: Declare variables that we can share across steps\n      id: vars\n      run: |\n        TEST_NAME=\"helm-test-e2e-do-$(date '+%F')-$(git rev-parse --short HEAD)\"\n        echo \"k8s_cluster_name=${TEST_NAME}\" >> $GITHUB_OUTPUT\n        echo \"dns_record=${TEST_NAME}\" >> $GITHUB_OUTPUT\n        echo \"fqdn_record=${TEST_NAME}.posthog.cc\" >> $GITHUB_OUTPUT\n\n    - name: Deploy a new k8s cluster\n      id: k8s_cluster_creation\n      run: |\n        # Get the DO K8 version slug\n        DO_K8S_VERSION=$(doctl k8s options versions -ojson | jq --raw-output 'first(.[] | select(.slug | test(\"^1.24.[0-9]+-do.[0-9]+$\")) | .slug)')\n\n        doctl k8s clusters create \\\n          ${{ steps.vars.outputs.k8s_cluster_name }} \\\n          --version \"$DO_K8S_VERSION\" \\\n          --tag=\"provisioned_by:github_action\" \\\n          --size s-4vcpu-8gb \\\n          --count 3 \\\n          --wait\n\n    - name: Install PostHog using the Helm chart\n      id: helm_install\n      run: |\n        helm upgrade --install \\\n          -f ci/values/digital_ocean.yaml \\\n          --set ingress.hostname=\"${{ steps.vars.outputs.fqdn_record }}\" \\\n          --set ingress-nginx.controller.service.annotations.\"service\\.beta\\.kubernetes\\.io/do-loadbalancer-name\"=\"${{ steps.vars.outputs.k8s_cluster_name }}\" \\\n          --set ingress-nginx.controller.service.annotations.\"service\\.beta\\.kubernetes\\.io/do-loadbalancer-hostname\"=\"${{ steps.vars.outputs.fqdn_record }}\" \\\n          --timeout 30m \\\n          --create-namespace \\\n          --namespace posthog \\\n          posthog ./charts/posthog \\\n          --wait-for-jobs \\\n          --wait\n\n    #\n    # Wait for all k8s resources to be ready.\n    #\n    # Despite the --wait flag used in the command above\n    # there is no guarantee that all the resources will be deployed\n    # when the command returns.\n    #\n    #\n    # Why can't we directly use the 'action-k8s-await-workloads' step below?\n    # Because it's not working for this use case\n    #\n    # ref: https://github.com/jupyterhub/action-k8s-await-workloads/issues/38\n    #\n    - name: Workaround - wait for all the PostHog resources in k8s to be ready\n      timeout-minutes: 15\n      run: ./ci/wait_for_all_the_posthog_resources_to_be_ready.sh\n\n    - name: Workaround - wait for the DO load balancer to be ready\n      timeout-minutes: 15\n      run: |\n        echo \"Waiting for the DigitalOcean Load Balancer to be ready...\"\n        load_balancer_external_hostname=\"\"\n        while [ -z \"$load_balancer_external_hostname\" ];\n        do\n          echo \"  sleeping 10 seconds\" && sleep 10\n          load_balancer_external_hostname=$(kubectl get ingress -n posthog posthog -o jsonpath=\"{.status.loadBalancer.ingress[0].hostname}\")\n        done\n        echo \"The DigitalOcean Load Balancer is now ready!\"\n\n    - name: Wait until all the resources are fully deployed in k8s\n      uses: jupyterhub/action-k8s-await-workloads@main\n      with:\n        namespace: \"posthog\"\n        timeout: 300\n        max-restarts: 10\n\n    - name: Create the DNS record\n      id: dns_creation\n      run: |\n        #\n        # We need to get the Load Balancer IP address from 'doctl' instead of 'kubectl' as if we provision the LB with\n        # the 'service.beta.kubernetes.io/do-loadbalancer-hostname' annotation, the \".status.loadBalancer.ingress\" value\n        # will default to the value of if (and we can't create a DNS record pointing to the same record)\n        #\n        load_balancer_external_ip=$(doctl compute load-balancer list --no-header --format Name,IP | grep ${{ steps.vars.outputs.k8s_cluster_name }} | awk '{print $2}')\n\n        # Create the DNS record\n        doctl compute domain records create \\\n          posthog.cc \\\n          --record-type A \\\n          --record-ttl 60 \\\n          --record-name \"${{ steps.vars.outputs.dns_record }}\" \\\n          --record-data \"${load_balancer_external_ip}\"\n\n    - name: Setup PostHog for the ingestion test\n      run: ./ci/setup_ingestion_test.sh\n\n    - name: Set PostHog endpoints to use for the ingestion test\n      run: |\n        echo \"POSTHOG_API_ENDPOINT=http://${{ steps.vars.outputs.fqdn_record }}\" | tee -a \"$GITHUB_ENV\"\n        echo \"POSTHOG_EVENT_ENDPOINT=http://${{ steps.vars.outputs.fqdn_record }}\" | tee -a \"$GITHUB_ENV\"\n\n    - name: Run ingestion test using k6\n      uses: k6io/action@v0.2.0\n      with:\n        filename: ci/k6/ingestion-test.js\n\n    - name: Emit namespace report\n      uses: jupyterhub/action-k8s-namespace-report@v1\n      if: always()\n      with:\n        namespace: posthog\n\n    - name: Delete the k8s cluster and all the associated resources\n      if: ${{ always() && steps.k8s_cluster_creation.outcome == 'success' }}\n      run: |\n        doctl k8s cluster delete \\\n          --dangerous \\\n          --force \\\n          ${{ steps.vars.outputs.k8s_cluster_name }}\n\n    - name: Delete the DNS record\n      if: ${{ always() && steps.dns_creation.outcome == 'success' }}\n      run: |\n        DNS_RECORD_ID=$(doctl compute domain records list posthog.cc --no-header --format ID,Name | grep ${{ steps.vars.outputs.dns_record }} | awk '{print $1}')\n        doctl compute domain records delete \\\n          posthog.cc \\\n          --force \\\n          \"$DNS_RECORD_ID\"\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:35.057852", "created_at": "2021-11-22T18:22:46+01:00", "updated_at": "2022-01-20T15:21:05+01:00", "name": "e2e - Google Cloud Platform (install)", "path": ".github/workflows/test-google-cloud-platform-install.yaml", "contents": "#\n# This is an e2e test to deploy PostHog on Google Cloud Platform using Helm.\n#\n# TODO:\n# - run k8s spec test\n#\nname: e2e - Google Cloud Platform (install)\n\non:\n  workflow_dispatch:\n  # Please do not add 'pull_request' here as without the proper\n  # GitHub settings might lead 3rd party users to run commands\n  # into our cloud account for testing\n  push:\n    branches:\n      - main\nenv:\n  # This is needed until k8s v1.25\n  # https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke\n  USE_GKE_GCLOUD_AUTH_PLUGIN: True\n\njobs:\n  gcp-install:\n    runs-on: ubuntu-20.04\n    if: github.repository == 'PostHog/charts-clickhouse'\n\n    #\n    # These permissions are needed to interact with GitHub's OIDC Token endpoint.\n    # We use OpenID Connect (OIDC) to allow this GitHub Action to access and manage\n    # GCP resources without needing to store the GCP credentials as long-lived GitHub secrets.\n    #\n    # see: https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform\n    #\n    permissions:\n      id-token: write\n      contents: write\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n\n    - name: Authenticate to Google Cloud\n      uses: google-github-actions/auth@v0\n      with:\n        workload_identity_provider: 'projects/494532703488/locations/global/workloadIdentityPools/github/providers/github'\n        service_account: 'github@posthog-helm-chart-testing.iam.gserviceaccount.com'\n        access_token_lifetime: '7200s'\n\n    - name: Set up Google Cloud SDK\n      uses: google-github-actions/setup-gcloud@v0\n      with:\n        install_components: 'gke-gcloud-auth-plugin'\n\n    - name: Install doctl to manage 'posthog.cc' DNS\n      uses: digitalocean/action-doctl@v2\n      with:\n        token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}\n\n    - name: Declare variables that we can share across steps\n      id: vars\n      run: |\n        TEST_NAME=\"helm-test-e2e-gcp-$(date '+%F')-$(git rev-parse --short HEAD)\"\n        echo \"k8s_cluster_name=${TEST_NAME}\" >> $GITHUB_OUTPUT\n        echo \"dns_record=${TEST_NAME}\" >> $GITHUB_OUTPUT\n        echo \"fqdn_record=${TEST_NAME}.posthog.cc\" >> $GITHUB_OUTPUT\n\n    - name: Deploy a new k8s cluster\n      id: k8s_cluster_creation\n      run: |\n        gcloud container clusters create \\\n          ${{ steps.vars.outputs.k8s_cluster_name }} \\\n          --project ${{ secrets.GCP_PROJECT_ID }} \\\n          --region us-central1 \\\n          --cluster-version 1.24 \\\n          --labels=\"provisioned_by=github_action\" \\\n          --machine-type e2-standard-2 \\\n          --num-nodes 2\n\n        # note: num-nodes will be created in each zone, such that if you specify\n        # --num-nodes=4 and choose two locations 8 nodes will be created.\n\n    - name: Create new GCP global static IP address\n      id: static_ip_creation\n      # note: we need to create the IP address first in order\n      # to get the load balancer successfully provisioned\n      run: |\n        gcloud compute addresses create \\\n          --project ${{ secrets.GCP_PROJECT_ID }} \\\n          --global \\\n          ${{ steps.vars.outputs.dns_record }}\n\n    - name: Create the DNS record\n      id: dns_creation\n      run: |\n        # Get the global static IP address\n        global_static_ip=$(gcloud compute addresses list --project ${{ secrets.GCP_PROJECT_ID }} --global --filter=name:${{ steps.vars.outputs.dns_record }} --format=\"value(ADDRESS)\")\n\n        # Create the DNS record\n        doctl compute domain records create \\\n          posthog.cc \\\n          --record-type A \\\n          --record-ttl 60 \\\n          --record-name \"${{ steps.vars.outputs.dns_record }}\" \\\n          --record-data \"$global_static_ip\"\n\n    - name: Install PostHog using the Helm chart\n      id: helm_install\n      run: |\n        helm upgrade --install \\\n          -f ci/values/google_cloud_platform.yaml \\\n          --set \"ingress.hostname=${{ steps.vars.outputs.fqdn_record }}\" \\\n          --set \"ingress.gcp.ip_name=${{ steps.vars.outputs.dns_record }}\" \\\n          --timeout 30m \\\n          --create-namespace \\\n          --namespace posthog \\\n          posthog ./charts/posthog \\\n          --wait-for-jobs \\\n          --wait\n\n    #\n    # Wait for all k8s resources to be ready.\n    #\n    # Despite the --wait flag used in the command above\n    # there is no guarantee that all the resources will be deployed\n    # when the command returns.\n    #\n    #\n    # Why can't we directly use the 'action-k8s-await-workloads' step below?\n    # Because it's not working for this use case\n    #\n    # ref: https://github.com/jupyterhub/action-k8s-await-workloads/issues/38\n    #\n    - name: Workaround - wait for all the PostHog resources in k8s to be ready\n      timeout-minutes: 15\n      run: ./ci/wait_for_all_the_posthog_resources_to_be_ready.sh\n\n    - name: Workaround - wait for the GCP load balancer to be ready\n      timeout-minutes: 15\n      run: |\n        echo \"Waiting for the GCP Load Balancer to be ready...\"\n        load_balancer_external_ip=\"\"\n        while [ -z \"$load_balancer_external_ip\" ];\n        do\n          echo \"  sleeping 10 seconds\" && sleep 10\n          load_balancer_external_ip=$(kubectl get ingress -n posthog posthog -o jsonpath=\"{.status.loadBalancer.ingress[0].ip}\")\n        done\n        echo \"The GCP Load Balancer is now ready!\"\n\n    - name: Wait until all the resources are fully deployed in k8s\n      uses: jupyterhub/action-k8s-await-workloads@main\n      with:\n        namespace: \"posthog\"\n        timeout: 300\n        max-restarts: 10\n\n    - name: Wait for the Google-managed TLS certificate to be issued and deployed\n      id: tls_certificate_creation\n      timeout-minutes: 60\n      run: |\n        echo \"Wait for the Google-managed TLS certificate to be issued and deployed...\"\n        certificate_status=\"\"\n        while [ \"$certificate_status\" != \"Active\"  ];\n        do\n          echo \"  sleeping 10 seconds\" && sleep 10\n          certificate_status=$(kubectl get managedcertificate -n posthog posthog-gke-cert -o jsonpath=\"{.status.certificateStatus}\")\n        done\n        echo \"The certificate has been issued and it has been deployed!\"\n\n    - name: Setup PostHog for the ingestion test\n      run: ./ci/setup_ingestion_test.sh\n\n    - name: Set PostHog endpoints to use for the ingestion test\n      run: |\n        echo \"POSTHOG_API_ENDPOINT=https://${{ steps.vars.outputs.fqdn_record }}\" | tee -a \"$GITHUB_ENV\"\n        echo \"POSTHOG_EVENT_ENDPOINT=https://${{ steps.vars.outputs.fqdn_record }}\" | tee -a \"$GITHUB_ENV\"\n\n    #\n    # TODO: the GCE Ingress is not picking up health check from readiness probe definition and it's using '/'\n    # instead. We need to fix this issue before being able to enable the k6 ingestion test\n    # See WIP at https://github.com/PostHog/charts-clickhouse/pull/209\n    #\n    # - name: Run ingestion test using k6\n    #   uses: k6io/action@v0.2.0\n    #   with:\n    #     filename: ci/k6/ingestion-test.js\n\n    - name: Emit namespace report\n      uses: jupyterhub/action-k8s-namespace-report@v1\n      if: always()\n      with:\n        namespace: posthog\n\n    #\n    # Due to what I consider as a bad design choice from Google, when a GKE cluster is deleted,\n    # standalone NEGs are not so we need to do the cleanup ourself.\n    #\n    # An additional problem is that we can't delete when they are in use but there's also no\n    # easy way to get the NEG associated to a specific GKE cluster using the 'gcloud' CLI.\n    # In order to do so, we need to fetch the NEG info via 'kubectl' in this step, delete\n    # the cluster in another and then, using the output from this step, finally delete the NEG.\n    #\n    - name: Fetch the associated NEG (Network Endpoint Groups)\n      id: fetch_neg\n      if: ${{ always() }}\n      shell: bash\n      run: |\n        #\n        # posthog-events\n        #\n        POSTHOG_EVENTS_NEG_INFO=$(kubectl get svc -n posthog posthog-events -o json | jq --raw-output '.[\"metadata\"][\"annotations\"][\"cloud.google.com/neg-status\"]')\n        POSTHOG_EVENTS_NEG_NAME=$(echo \"$POSTHOG_EVENTS_NEG_INFO\" | jq --raw-output '.[\"network_endpoint_groups\"][\"8000\"]')\n        IFS=\" \" read -r -a POSTHOG_EVENTS_NEG_ZONES <<< \"$(echo \"$POSTHOG_EVENTS_NEG_INFO\" | jq --raw-output '.[\"zones\"] | join(\",\")')\"\n        echo \"posthog_events_neg_name=${POSTHOG_EVENTS_NEG_NAME}\"\n        echo \"posthog_events_neg_zones=${POSTHOG_EVENTS_NEG_ZONES[@]}\"\n\n        #\n        # posthog-web\n        #\n        POSTHOG_WEB_NEG_INFO=$(kubectl get svc -n posthog posthog-web -o json | jq --raw-output '.[\"metadata\"][\"annotations\"][\"cloud.google.com/neg-status\"]')\n        POSTHOG_WEB_NEG_NAME=$(echo \"$POSTHOG_WEB_NEG_INFO\" | jq --raw-output '.[\"network_endpoint_groups\"][\"8000\"]')\n        IFS=\" \" read -r -a POSTHOG_WEB_NEG_ZONES <<< \"$(echo \"$POSTHOG_WEB_NEG_INFO\" | jq --raw-output '.[\"zones\"] | join(\",\")')\"\n        echo \"posthog_web_neg_name=${POSTHOG_WEB_NEG_NAME}\"\n        echo \"posthog_web_neg_zones=${POSTHOG_WEB_NEG_ZONES[@]}\"\n\n    - name: Delete the k8s cluster and all the associated resources\n      if: ${{ always() && steps.k8s_cluster_creation.outcome == 'success' }}\n      run: |\n        gcloud container clusters delete \\\n          --project ${{ secrets.GCP_PROJECT_ID }} \\\n          --region us-central1 \\\n          --quiet \\\n          ${{ steps.vars.outputs.k8s_cluster_name }}\n\n    - name: Delete the associated NEG (Network Endpoint Groups)\n      if: ${{ always() && steps.fetch_neg.outcome == 'success' }}\n      shell: bash\n      run: |\n        delete_neg() {\n            local NEG_NAME=\"$1\"\n            local NEG_ZONES\n            IFS=',' read -r -a NEG_ZONES <<< \"$2\"\n\n            for NEG_ZONE in \"${NEG_ZONES[@]}\"\n            do\n              gcloud compute network-endpoint-groups delete \\\n                  --project ${{ secrets.GCP_PROJECT_ID }} \\\n                  --zone \"$NEG_ZONE\" \\\n                  --quiet \\\n                  \"$NEG_NAME\"\n            done\n        }\n\n        delete_neg \"${{ steps.vars.outputs.posthog_events_neg_name }}\" \"${{ steps.vars.outputs.posthog_events_neg_zones }}\"\n        delete_neg \"${{ steps.vars.outputs.posthog_web_neg_name }}\" \"${{ steps.vars.outputs.posthog_web_neg_zones }}\"\n\n    - name: Delete the global static IP address\n      if: ${{ always() && steps.static_ip_creation.outcome == 'success' }}\n      run: |\n        gcloud compute addresses delete \\\n          --project ${{ secrets.GCP_PROJECT_ID }} \\\n          --global \\\n          --quiet \\\n          ${{ steps.vars.outputs.dns_record }}\n\n    - name: Delete the DNS record\n      if: ${{ always() && steps.dns_creation.outcome == 'success' }}\n      run: |\n        DNS_RECORD_ID=$(doctl compute domain records list posthog.cc --no-header --format ID,Name | grep ${{ steps.vars.outputs.dns_record }} | awk '{print $1}')\n        doctl compute domain records delete \\\n          posthog.cc \\\n          --force \\\n          \"$DNS_RECORD_ID\"\n\n    - name: Delete the Google-managed TLS certificate\n      if: ${{ always() }}\n      run: |\n        TLS_CERTIFICATE_NAME=$(gcloud compute ssl-certificates list --project ${{ secrets.GCP_PROJECT_ID }} --global --filter=${{ steps.vars.outputs.dns_record }} --format=\"value(NAME)\")\n        if [ -n \"$TLS_CERTIFICATE_NAME\" ];\n        then\n          gcloud compute ssl-certificates delete \\\n            --project ${{ secrets.GCP_PROJECT_ID }} \\\n            --quiet \\\n            \"$TLS_CERTIFICATE_NAME\"\n        fi\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:36.099805", "created_at": "2021-11-24T11:10:46+01:00", "updated_at": "2022-01-20T15:20:28+01:00", "name": "e2e - Amazon Web Services (install)", "path": ".github/workflows/test-amazon-web-services-install.yaml", "contents": "#\n# This is an e2e test to deploy PostHog on Amazon Web Services using Helm.\n#\n# TODO:\n# - run k8s spec test\n#\nname: e2e - Amazon Web Services (install)\n\non:\n  workflow_dispatch:\n  # Please do not add 'pull_request' here as without the proper\n  # GitHub settings might lead 3rd party users to run commands\n  # into our cloud account for testing\n  push:\n    branches:\n      - main\n\njobs:\n  aws-install:\n    runs-on: ubuntu-20.04\n    if: github.repository == 'PostHog/charts-clickhouse'\n\n    #\n    # These permissions are needed to interact with GitHub's OIDC Token endpoint.\n    # We use OpenID Connect (OIDC) to allow this GitHub Action to access and manage\n    # AWS resources without needing to store the AWS credentials as long-lived GitHub secrets.\n    #\n    # see: https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services\n    #\n    permissions:\n      id-token: write\n      contents: write\n\n    steps:\n\n    - name: Checkout\n      uses: actions/checkout@v3\n\n    - name: Configure AWS credentials\n      uses: aws-actions/configure-aws-credentials@v1\n      with:\n        role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_ROLE_TO_ASSUME }}\n        aws-region: us-east-1\n        role-duration-seconds: 7200\n\n    - name: Install doctl to manage 'posthog.cc' DNS\n      uses: digitalocean/action-doctl@v2\n      with:\n        token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}\n\n    - name: Install eksctl to easily manage EKS clusters\n      env:\n        EKSCTL_VERSION: 0.115.0\n      run: |\n        curl --silent --location \"https://github.com/weaveworks/eksctl/releases/download/v${EKSCTL_VERSION}/eksctl_$(uname -s)_amd64.tar.gz\" | tar xz\n        ./eksctl version\n\n    - name: Declare variables that we can share across steps\n      id: vars\n      run: |\n        TEST_NAME=\"helm-test-e2e-aws-$(date '+%F')-$(git rev-parse --short HEAD)\"\n        echo \"k8s_cluster_name=${TEST_NAME}\" >> $GITHUB_OUTPUT\n        echo \"dns_record=${TEST_NAME}\" >> $GITHUB_OUTPUT\n        echo \"fqdn_record=${TEST_NAME}.posthog.cc\" >> $GITHUB_OUTPUT\n\n    - name: Deploy a new k8s cluster\n      id: k8s_cluster_creation\n      run: |\n        # note: we manually specify all the AZs in the region to reduce the\n        # possibility AWS runs out of capacity in a single one, making this\n        # test fail.\n        ./eksctl create cluster \\\n          --name ${{ steps.vars.outputs.k8s_cluster_name }} \\\n          --region=us-east-1 \\\n          --zones=\"us-east-1a,us-east-1b,us-east-1c,us-east-1d,us-east-1f\" \\\n          --instance-types=\"m6i.xlarge\" \\\n          --tags=\"provisioned_by=github_action\" \\\n          --version 1.24 \\\n          --nodes 3\n\n        # EKS clusters use IAM users and roles to control access to the cluster.\n        # The rules are implemented in a config map called aws-auth.\n        # eksctl provides commands to read and edit this config map.\n        ./eksctl create iamidentitymapping \\\n          --cluster ${{ steps.vars.outputs.k8s_cluster_name }} \\\n          --region us-east-1 \\\n          --arn arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/OrganizationAccountAccessRole \\\n          --username admin \\\n          --group system:masters\n\n    - name: Install PostHog using the Helm chart\n      id: helm_install\n      run: |\n        helm upgrade --install \\\n          -f ci/values/amazon_web_services.yaml \\\n          --set \"ingress.hostname=${{ steps.vars.outputs.fqdn_record }}\" \\\n          --timeout 30m \\\n          --create-namespace \\\n          --namespace posthog \\\n          posthog ./charts/posthog \\\n          --wait-for-jobs \\\n          --wait\n\n    #\n    # Wait for all k8s resources to be ready.\n    #\n    # Despite the --wait flag used in the command above\n    # there is no guarantee that all the resources will be deployed\n    # when the command returns.\n    #\n    #\n    # Why can't we directly use the 'action-k8s-await-workloads' step below?\n    # Because it's not working for this use case\n    #\n    # ref: https://github.com/jupyterhub/action-k8s-await-workloads/issues/38\n    #\n    - name: Workaround - wait for all the PostHog resources in k8s to be ready\n      timeout-minutes: 15\n      run: ./ci/wait_for_all_the_posthog_resources_to_be_ready.sh\n\n    - name: Workaround - wait for the AWS load balancer to be ready\n      timeout-minutes: 15\n      run: |\n        echo \"Waiting for the AWS Load Balancer to be ready...\"\n        load_balancer_external_hostname=\"\"\n        while [ -z \"$load_balancer_external_hostname\" ];\n        do\n          echo \"  sleeping 10 seconds\" && sleep 10\n          load_balancer_external_hostname=$(kubectl get ingress -n posthog posthog -o jsonpath=\"{.status.loadBalancer.ingress[0].hostname}\")\n        done\n        echo \"The AWS Load Balancer is now ready!\"\n\n    - name: Wait until all the resources are fully deployed in k8s\n      uses: jupyterhub/action-k8s-await-workloads@main\n      with:\n        namespace: \"posthog\"\n        timeout: 300\n        max-restarts: 10\n\n    - name: Create the DNS record\n      id: dns_creation\n      run: |\n        # Get the Load Balancer IP address\n        load_balancer_external_hostname=$(kubectl get ingress -n posthog posthog -o jsonpath=\"{.status.loadBalancer.ingress[0].hostname}\")\n\n        # Create the DNS record\n        doctl compute domain records create \\\n          posthog.cc \\\n          --record-type CNAME \\\n          --record-ttl 60 \\\n          --record-name \"${{ steps.vars.outputs.dns_record }}\" \\\n          --record-data \"${load_balancer_external_hostname}.\"\n\n    - name: Setup PostHog for the ingestion test\n      run: ./ci/setup_ingestion_test.sh\n\n    - name: Set PostHog endpoints to use for the ingestion test\n      run: |\n        echo \"POSTHOG_API_ENDPOINT=http://${{ steps.vars.outputs.fqdn_record }}\" | tee -a \"$GITHUB_ENV\"\n        echo \"POSTHOG_EVENT_ENDPOINT=http://${{ steps.vars.outputs.fqdn_record }}\" | tee -a \"$GITHUB_ENV\"\n\n    - name: Run ingestion test using k6\n      uses: k6io/action@v0.2.0\n      with:\n        filename: ci/k6/ingestion-test.js\n\n    - name: Emit namespace report\n      uses: jupyterhub/action-k8s-namespace-report@v1\n      if: always()\n      with:\n        namespace: posthog\n\n    - name: Delete the k8s cluster and all the associated resources\n      if: ${{ always() && steps.k8s_cluster_creation.outcome == 'success' }}\n      run: |\n        ./eksctl delete cluster \\\n          --region=us-east-1 \\\n          --name=${{ steps.vars.outputs.k8s_cluster_name }} \\\n          --force \\\n          --wait\n\n    - name: Delete the DNS record\n      if: ${{ always() && steps.dns_creation.outcome == 'success' }}\n      run: |\n        DNS_RECORD_ID=$(doctl compute domain records list posthog.cc --no-header --format ID,Name | grep ${{ steps.vars.outputs.dns_record }} | awk '{print $1}')\n        doctl compute domain records delete \\\n          posthog.cc \\\n          --force \\\n          \"$DNS_RECORD_ID\"\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:37.154859", "created_at": "2021-11-25T10:57:59+01:00", "updated_at": "2021-11-26T11:15:03+01:00", "name": "Lint test", "path": ".github/workflows/test-lint-helm.yaml", "contents": "name: Lint test\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - charts/**\n      - .github/workflows/test-lint-helm.yaml\n  push:\n    branches:\n      - main\n\njobs:\n  helm-lint:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        cloud: [\"aws\", \"azure\", \"do\", \"gcp\", \"other\"]\n    steps:\n      - uses: actions/checkout@v3\n      - run: helm lint --strict --set \"cloud=${{ matrix.cloud }}\" charts/posthog\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:38.197225", "created_at": "2021-11-25T11:02:06+01:00", "updated_at": "2021-11-26T11:15:03+01:00", "name": "Unit tests", "path": ".github/workflows/test-unit-helm.yaml", "contents": "name: Unit tests\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - charts/**\n      - ct.yaml\n      - .github/workflows/test-unit-helm.yaml\n  push:\n    branches:\n      - main\n\njobs:\n  helm-unittest:\n    name: Helm unittest\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Install Helm unittest plugin\n        run: |\n          helm env\n          helm plugin install https://github.com/quintush/helm-unittest.git --version 0.2.8\n\n      - name: Run test suite\n        run: helm unittest --helm3 --strict --file 'tests/*.yaml' --file 'tests/clickhouse-operator/*.yaml' charts/posthog\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:39.222390", "created_at": "2021-11-25T11:10:36+01:00", "updated_at": "2021-11-26T11:15:03+01:00", "name": "Lint test", "path": ".github/workflows/test-lint-eslint.yaml", "contents": "name: Lint test\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - '**.js'\n      - '**.jsx'\n      - '**.ts'\n      - '**.tsx'\n      - package.json'\n      - .github/workflows/test-lint-eslint.yaml\n  push:\n    branches:\n      - main\n\njobs:\n  eslint:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install modules\n        run: yarn\n      - name: Run ESLint\n        run: yarn run eslint . --ext .js,.jsx,.ts,.tsx\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:40.249861", "created_at": "2021-12-17T21:47:43+01:00", "updated_at": "2021-12-17T21:47:43+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:41.324472", "created_at": "2021-12-23T14:10:03+01:00", "updated_at": "2022-04-28T16:11:51+02:00", "name": "e2e - kubetest", "path": ".github/workflows/test-kubetest.yaml", "contents": "name: e2e - kubetest\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - ci/**\n      - charts/**\n      - .github/workflows/test-kubetest.yaml\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  test-kubetest-prep:\n    runs-on: ubuntu-20.04\n\n    name: e2e - kubetest parallel prep\n\n    outputs:\n      test-files: ${{ steps.test-files-generator.outputs.test-files }}\n\n    steps:\n      - uses: actions/checkout@v3\n        name: Checkout\n\n      - run: echo \"test-files=$(cd ./ci/kubetest/ && ls test_*.py | jq -R '[.]' |  jq -s -c 'add')\\n\" >> $GITHUB_OUTPUT\n        id: test-files-generator\n\n\n  test-kubetest:\n    runs-on: ubuntu-20.04\n\n    name: e2e - kubetest (${{ matrix.test-file }})\n\n    needs: test-kubetest-prep\n\n    strategy:\n      fail-fast: false\n      matrix:\n        test-file: ${{ fromJson(needs.test-kubetest-prep.outputs.test-files) }}\n\n    steps:\n      - uses: actions/checkout@v3\n        name: Checkout\n\n      - name: Setup k3s\n        run: |\n          curl -sfL https://get.k3s.io | INSTALL_K3S_CHANNEL=v1.24 INSTALL_K3S_EXEC=\"--disable=traefik --disable=metrics-server\" sh -\n          mkdir ~/.kube\n          sudo k3s kubectl config view --raw > ~/.kube/config\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install -r ci/kubetest/requirements.txt\n\n      - name: Run kubetest\n        run: |\n          cd ci/kubetest\n          export PYTHONUNBUFFERED=1\n          python -m pytest ${{ matrix.test-file }} \\\n            -s \\\n            --maxfail=1\n\n      - name: Emit namespace report\n        uses: jupyterhub/action-k8s-namespace-report@v1\n        if: always()\n        with:\n          namespace: posthog\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:42.403541", "created_at": "2022-01-05T11:09:39+01:00", "updated_at": "2022-01-10T12:22:50+01:00", "name": "Lint test", "path": ".github/workflows/test-lint-kubetest.yaml", "contents": "name: Lint test\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - 'ci/kubetest/**'\n      - .github/workflows/test-lint-flake8.yaml\n  push:\n    branches:\n      - main\n\njobs:\n  kubetest:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install -r ci/kubetest/requirements.txt\n\n      - name: Check formatting\n        run: |\n          black --check ci/kubetest\n          isort --check-only ci/kubetest\n\n      - name: Lint with flake8\n        run: |\n          flake8 --config ci/kubetest/.flake8 ci/kubetest\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:43.445355", "created_at": "2022-01-21T17:28:14+01:00", "updated_at": "2022-01-24T10:30:13+01:00", "name": "Lint test", "path": ".github/workflows/test-lint-github-worklows.yaml", "contents": "name: Lint test\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - .github/workflows/**\n  push:\n    branches:\n      - main\n\njobs:\n  github-workflows-lint:\n    runs-on: ubuntu-20.04\n    steps:\n\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Download actionlint\n        env:\n          ACTIONLINT_VERSION: 1.6.8\n        run: wget -q -O- \"https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}/actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz\" | tar -x -z -C . actionlint\n\n      - name: Run actionlint\n        run: ./actionlint -color -ignore shellcheck\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:44.560322", "created_at": "2022-01-27T11:14:59+01:00", "updated_at": "2022-01-27T11:37:39+01:00", "name": "e2e - k6 ingestion test", "path": ".github/workflows/test-k6.yaml", "contents": "name: e2e - k6 ingestion test\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - ci/**\n      - charts/**\n      - .github/workflows/test-k6.yaml\n  push:\n    branches:\n      - main\n\njobs:\n  test-chart:\n    runs-on: ubuntu-20.04\n    timeout-minutes: 60\n\n    strategy:\n      # Keep running even if one variation of the job fail\n      fail-fast: false\n      matrix:\n        # We run this job multiple times with different parameterization\n        # specified below, these parameters have no meaning on their own and\n        # gain meaning on how job steps use them.\n        include:\n          - k3s-channel: v1.26\n            test: install\n            values: ci/values/k3s.yaml\n          - k3s-channel: v1.25\n            test: install\n            values: ci/values/k3s.yaml\n          - k3s-channel: v1.24\n            test: install\n            values: ci/values/k3s.yaml\n\n          # We run an upgrade test where we first install an already released\n          # Helm chart version and then upgrade to the version we are now\n          # testing. We test upgrading from the latest main version.\n          #\n          # It can be very useful to see the \"Helm diff\" step's output from the\n          # latest dev version.\n          - k3s-channel: v1.26\n            test: upgrade\n            values: ci/values/k3s.yaml\n\n          # We run one install test with split plugin-server ingestion/async\n          - k3s-channel: v1.26\n            test: install\n            values: ci/values/k3s-plugin-server-ingestion-async-split.yaml\n\n          # We run one install test with split plugin-server ingestion/exports/jobs/scheduler\n          - k3s-channel: v1.26\n            test: install\n            values: ci/values/k3s-plugin-server-split.yaml\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup k3s\n        run: |\n          curl -sfL https://get.k3s.io | INSTALL_K3S_CHANNEL=${{ matrix.k3s-channel }} INSTALL_K3S_EXEC=\"--disable=traefik --disable=metrics-server\" sh -\n          mkdir ~/.kube\n          sudo k3s kubectl config view --raw > ~/.kube/config\n\n      - uses: actions/checkout@v3\n        if: matrix.test == 'upgrade'\n        with:\n          ref: main\n          path: main\n\n      - name: (Upgrade) Install our helm chart from main branch\n        if: matrix.test == 'upgrade'\n        run: |\n          helm upgrade --install -f ${{ matrix.values }} --timeout 30m --create-namespace --namespace posthog posthog ./main/charts/posthog --wait --wait-for-jobs --debug\n\n      - name: \"(Upgrade) Install helm diff\"\n        if: matrix.test == 'upgrade'\n        run: |\n          helm plugin install https://github.com/databus23/helm-diff --version 3.1.3\n\n      - name: \"(Upgrade) Helm diff - 'main' branch VS local version\"\n        if: matrix.test == 'upgrade'\n        run: |\n          helm diff upgrade --install -f ${{ matrix.values }} --namespace posthog posthog ./charts/posthog --debug\n\n      - name: \"(Upgrade) Await chart install\"\n        if: matrix.test == 'upgrade'\n        uses: jupyterhub/action-k8s-await-workloads@main\n        with:\n          namespace: \"posthog\"\n          timeout: 300\n          max-restarts: 10\n\n      - name: Install our helm chart\n        run: |\n          helm upgrade --debug --install -f ${{ matrix.values }} --timeout 30m --create-namespace --namespace posthog posthog ./charts/posthog --wait --wait-for-jobs --debug\n\n      #\n      # Wait for all k8s resources to be ready.\n      #\n      # Despite the --wait flag used in the command above\n      # there is no guarantee that all the resources will be deployed\n      # when the command returns.\n      #\n      #\n      # Why can't we directly use the 'action-k8s-await-workloads' step below?\n      # Because it's not working for this use case\n      #\n      # ref: https://github.com/jupyterhub/action-k8s-await-workloads/issues/38\n      #\n      - name: Workaround - wait for all the PostHog resources in k8s to be ready\n        timeout-minutes: 15\n        run: ./ci/wait_for_all_the_posthog_resources_to_be_ready.sh\n\n      - name: Wait until all the resources are fully deployed in k8s\n        uses: jupyterhub/action-k8s-await-workloads@main\n        with:\n          namespace: \"posthog\"\n          timeout: 300\n          max-restarts: 10\n\n      - name: Setup PostHog for the ingestion test\n        run: ./ci/setup_ingestion_test.sh\n\n      - name: Set PostHog endpoints to use for the ingestion test\n        run: |\n          POSTHOG_INGRESS=$(kubectl get --namespace posthog ingress posthog -o jsonpath=\"{.status.loadBalancer.ingress[0].ip}\")\n          echo \"POSTHOG_API_ENDPOINT=http://${POSTHOG_INGRESS}\" | tee -a \"$GITHUB_ENV\"\n          echo \"POSTHOG_EVENT_ENDPOINT=http://${POSTHOG_INGRESS}\" | tee -a \"$GITHUB_ENV\"\n\n          # Skip the source ip address check in ingestion-test.js\n          echo \"SKIP_SOURCE_IP_ADDRESS_CHECK=true\" | tee -a \"$GITHUB_ENV\"\n\n      - name: Run ingestion test using k6\n        uses: k6io/action@v0.2.0\n        with:\n          filename: ci/k6/ingestion-test.js\n\n      - name: Emit namespace report\n        uses: jupyterhub/action-k8s-namespace-report@v1\n        if: always()\n        with:\n          namespace: posthog\n          important-workloads: deployments/posthog-plugins\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:46.313660", "created_at": "2022-08-24T15:54:16+02:00", "updated_at": "2022-08-24T16:47:44+02:00", "name": "PR - Preview Deploy", "path": ".github/workflows/pr-deploy.yaml", "contents": "# This workflow handles deploying a branch to the pull request cluster, for\n# testing purposes. It is locked down so that it can only be used by people who\n# are a member of the PostHog Github org\n\nname: PR - Preview Deploy\n\non:\n  pull_request:\n    types:\n      - labeled\n      - synchronize\n\njobs:\n  deploy:\n    name: Deploy Preview\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v6\n        id: permissions\n        with:\n          script: |\n            let member;\n            try {\n              const resp = await github.rest.repos.getCollaboratorPermissionLevel({\n                username: context.actor,\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n              });\n\n              if (!resp || !resp.data || !resp.data.permission) {\n                member = false;\n              } else {\n                const permission = resp.data.permission;\n                member = permission == \"admin\" || permission == \"write\";\n              }\n            } catch(error) {\n              member = false\n            }\n            return member\n\n      - name: Checkout\n        uses: actions/checkout@v3 # no way of getting the correct ref from the issue event, hence the below\n        if: ${{ steps.permissions.outputs.result == 'true' && contains(github.event.pull_request.labels.*.name, 'deploy') }}\n\n      - name: Declare variables that we can share across steps\n        id: vars\n        run: |\n          GIT_SHORT=\"$(git rev-parse --short HEAD)\"\n          PR_NUM=${{ github.event.number }}\n          BRANCH_NAME=${GITHUB_REF#refs/heads/}\n\n          echo \"git_short=${GIT_SHORT}\" >> $GITHUB_OUTPUT\n          echo \"fqdn_record=${PR_NUM}.pr.posthog.cc\" >> $GITHUB_OUTPUT\n          echo \"pr_number=${PR_NUM}\" >> $GITHUB_OUTPUT\n          echo \"branch_name=$BRANCH_NAME\" >> $GITHUB_OUTPUT\n        if: ${{ steps.permissions.outputs.result == 'true' && contains(github.event.pull_request.labels.*.name, 'deploy') }}\n\n      - name: start deployment\n        uses: bobheadxi/deployments@v1\n        id: deployment\n        with:\n          step: start\n          token: ${{ secrets.GITHUB_TOKEN }}\n          env: ${{ github.head_ref }}\n          ref: ${{ github.head_ref }}\n        if: ${{ steps.permissions.outputs.result == 'true' && contains(github.event.pull_request.labels.*.name, 'deploy') }}\n\n      - name: Install doctl to access k8s config\n        uses: digitalocean/action-doctl@v2\n        with:\n          token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}\n        if: ${{ steps.permissions.outputs.result == 'true' && contains(github.event.pull_request.labels.*.name, 'deploy') }}\n\n      - name: Install PostHog using the Helm chart\n        id: helm_install\n        run: |\n          doctl kubernetes cluster kubeconfig save $PR_CLUSTER_ID\n\n          helm upgrade --install \\\n            -f ci/values/pr/values.yaml \\\n            --set ingress.hostname=${{ steps.vars.outputs.fqdn_record }} \\\n            --timeout 30m \\\n            --create-namespace \\\n            --namespace pr-${{ steps.vars.outputs.pr_number }} \\\n            posthog ./charts/posthog \\\n            --wait \\\n            --wait-for-jobs\n        if: ${{ steps.permissions.outputs.result == 'true' && contains(github.event.pull_request.labels.*.name, 'deploy') }}\n        env:\n          PR_CLUSTER_ID: ${{ secrets.PR_CLUSTER_ID }} # probably not _SECRET_, but best kept out of the YAML\n\n      - name: update deployment status\n        uses: bobheadxi/deployments@v1\n        with:\n          step: finish\n          token: ${{ secrets.GITHUB_TOKEN }}\n          status: ${{ job.status }}\n          env: ${{ steps.deployment.outputs.env }}\n          ref: ${{ github.head_ref }}\n          env_url: https://${{ steps.vars.outputs.fqdn_record }}\n          deployment_id: ${{ steps.deployment.outputs.deployment_id }}\n        if: ${{ steps.permissions.outputs.result == 'true' && contains(github.event.pull_request.labels.*.name, 'deploy') }}\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:47.432977", "created_at": "2022-08-25T13:46:05+02:00", "updated_at": "2022-08-25T18:17:58+02:00", "name": ".github/workflows/pr-deploy-cleanup.yaml", "path": ".github/workflows/pr-deploy-cleanup.yaml", "contents": "on:\n  pull_request:\n    types: [closed]\njobs:\n  cleanup:\n    name: Cleanup merged deploy\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v6\n        id: permissions\n        with:\n          script: |\n            let member;\n            try {\n              const resp = await github.rest.repos.getCollaboratorPermissionLevel({\n                username: context.actor,\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n              });\n\n              if (!resp || !resp.data || !resp.data.permission) {\n                member = false;\n              } else {\n                const permission = resp.data.permission;\n                member = permission == \"admin\" || permission == \"write\";\n              }\n            } catch(error) {\n              member = false\n            }\n            return member\n\n      - name: Checkout\n        uses: actions/checkout@v3 # no way of getting the correct ref from the issue event, hence the below\n        if: ${{ steps.permissions.outputs.result == 'true' && contains(github.event.pull_request.labels.*.name, 'deploy') }}\n\n      - name: Declare variables that we can share across steps\n        id: vars\n        run: |\n          GIT_SHORT=\"$(git rev-parse --short HEAD)\"\n          PR_NUM=${{ github.event.number }}\n          BRANCH_NAME=${GITHUB_REF#refs/heads/}\n\n          echo \"git_short=${GIT_SHORT}\" >> $GITHUB_OUTPUT\n          echo \"fqdn_record=${PR_NUM}.pr.posthog.cc\" >> $GITHUB_OUTPUT\n          echo \"pr_number=${PR_NUM}\" >> $GITHUB_OUTPUT\n          echo \"branch_name=$BRANCH_NAME\" >> $GITHUB_OUTPUT\n        if: ${{ steps.permissions.outputs.result == 'true' && contains(github.event.pull_request.labels.*.name, 'deploy') }}\n\n      - name: Install doctl to access k8s config\n        uses: digitalocean/action-doctl@v2\n        with:\n          token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}\n\n      - name: mark environment as deactivated\n        uses: bobheadxi/deployments@v1\n        with:\n          step: deactivate-env\n          token: ${{ secrets.GITHUB_TOKEN }}\n          env: ${{ steps.vars.outputs.branch_name }}\n          desc: Environment was pruned\n        if: ${{ steps.permissions.outputs.result == 'true' && contains(github.event.pull_request.labels.*.name, 'deploy') }}\n\n      # Only ran if the correct comment is used! We should have automatic cleanup on merge, but this allows us to manually\n      # cleanup. For instance, you may restore a branch, deploy it, and keep it around for demo purposes.\n      - name: Delete preview namespace\n        id: delete_preview\n        run: |\n          doctl kubernetes cluster kubeconfig save $PR_CLUSTER_ID\n\n          kubectl patch chi posthog -n pr-${{ steps.vars.outputs.pr_number }} -p '{\"metadata\":{\"finalizers\":null}}' --type=merge || true # if the resource cannot be found, we still want to clean up\n          kubectl delete chi posthog -n pr-${{ steps.vars.outputs.pr_number }} --ignore-not-found\n          helm uninstall -n pr-${{ steps.vars.outputs.pr_number }} posthog\n\n          # delete all instances of all resources, in the specified namespace\n          # just in case someone has made a change to the chart that stops uninstall cleaning up correctly\n          kubectl delete all --all --namespace pr-${{ steps.vars.outputs.pr_number }}\n          kubectl delete namespace pr-${{ steps.vars.outputs.pr_number }}\n\n        if: ${{ steps.permissions.outputs.result == 'true' && contains(github.event.pull_request.labels.*.name, 'deploy') }}\n        env:\n          PR_CLUSTER_ID: ${{ secrets.PR_CLUSTER_ID }} # probably not _SECRET_, but best kept out of the YAML\n", "state": "active", "repository": "posthog/charts-clickhouse"}
{"mined_at": "2024-07-15T16:58:49.566937", "created_at": "2022-05-18T10:26:01+02:00", "updated_at": "2023-07-31T09:39:20+02:00", "name": "kubernetes-compute-simple-examples", "path": ".github/workflows/kubernetes-compute-simple-examples.yml", "contents": "name: kubernetes-compute-simple-examples\non:\n  schedule:\n    - cron: \"0 23 * * *\"\n  workflow_dispatch:\n    inputs:\n      LOCATION:\n        description: 'Resource Region'\n        required: false\n        default: 'eastus'\n      AMLARC_RELEASE_TRAIN:\n        description: 'Release version: experimental, staging or stable'\n        required: false\n        default: 'stable'\n      REINSTALL_EXTENSION:\n        description: 'Whether to reinstall extension: true or false'\n        required: false\n        default: 'true'\n      CLEANUP_CLUSTER:\n        description: 'Whether to delete cluster: true or false'\n        required: false\n        default: 'false'\n      CLEANUP_WORKSPACE:\n        description: 'Whether to delete workspace: true or false'\n        required: false\n        default: 'false'\n      FILE_TICKET:\n        description: 'Whether to file icm ticket: true or false'\n        required: false\n        default: 'false'\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    env:\n      SUBSCRIPTION: ${{ secrets.SUBSCRIPTION }}\n      RESOURCE_GROUP: ${{ secrets.RESOURCE_GROUP }}\n      KEY_VAULT_NAME: ${{ secrets.KEY_VAULT_NAME }}\n      LOCATION: eastus\n      RELEASE_TRAIN: stable\n      REINSTALL_EXTENSION: true\n      CLUSTER_TYPE: managedClusters\n\n      FILE_TICKET: true\n      REPOSITORY: https://github.com/Azure/AML-Kubernetes\n      WORKFLOW: https://github.com/Azure/AML-Kubernetes/actions/workflows/kubernetes-compute-simple-examples.yml\n\n    steps:\n    - name: replace env from workflow_dispatch\n      if: ${{ github.event_name == 'workflow_dispatch' }}\n      run: |\n        echo \"LOCATION=${{ github.event.inputs.TEST_REGION }}\" | tee -a $GITHUB_ENV\n        echo \"RELEASE_TRAIN=${{ github.event.inputs.AMLARC_RELEASE_TRAIN }}\" | tee -a $GITHUB_ENV\n        echo \"REINSTALL_EXTENSION=${{ github.event.inputs.REINSTALL_EXTENSION }}\" | tee -a $GITHUB_ENV\n        echo \"FILE_TICKET=${{ github.event.inputs.FILE_TICKET }}\" | tee -a $GITHUB_ENV\n    - name: check out repo\n      uses: actions/checkout@v2\n    - name: setup python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.8\"\n    - name: install tools\n      run: bash .github/amlarc-tool.sh install_tools\n      timeout-minutes: 30\n    - name: azure login\n      uses: azure/login@v1\n      with:\n        creds: ${{secrets.AMLARC_SP_CREDS}}\n      timeout-minutes: 30\n    # provision resources\n    - name: setup_aks\n      run: |\n        bash .github/amlarc-tool.sh setup_identity\n        ID=$(bash .github/amlarc-tool.sh get_identity_id)\n        bash .github/amlarc-tool.sh setup_aks --assign-identity \"${ID}\"\n      timeout-minutes: 30\n    # - name: connect_arc\n    #   run: bash .github/amlarc-tool.sh connect_arc\n    #   timeout-minutes: 30\n    - name: install_extension\n      run: |\n        export EXTENSION_SETTINGS=\"enableTraining=True enableInference=True inferenceRouterServiceType=loadBalancer allowInsecureConnections=True\"\n        bash .github/amlarc-tool.sh install_extension\n      timeout-minutes: 30\n    - name: setup_workspace\n      run: bash .github/amlarc-tool.sh setup_workspace\n      timeout-minutes: 30\n    - name: setup_compute\n      run: bash .github/amlarc-tool.sh setup_compute\n      timeout-minutes: 30\n    - name: setup_instance_type\n      run: bash .github/amlarc-tool.sh setup_instance_type\n      timeout-minutes: 30\n    \n    # run training test cases\n    - name: run examples/training/simple-train-cli/job.yml\n      run: |\n        bash .github/amlarc-tool.sh run_cli_job examples/training/simple-train-cli/job.yml -c githubtest -it defaultinstancetype\n        cat examples/training/simple-train-cli/job.yml\n      continue-on-error: true\n      timeout-minutes: 30\n    - name: prepare jupyter dependency\n      run: |\n        bash .github/amlarc-tool.sh generate_workspace_config\n        bash .github/amlarc-tool.sh install_jupyter_dependency\n      continue-on-error: true\n      timeout-minutes: 30\n    - name: run examples/training/simple-train-sdk/img-classification-training.ipynb\n      run: |\n        export AMLARC_COMPUTE_NAME=githubtest\n        bash .github/amlarc-tool.sh run_jupyter_test examples/training/simple-train-sdk/img-classification-training.ipynb\n      continue-on-error: true\n      timeout-minutes: 30\n\n    # run inference test cases\n    - name: run examples/inference/simple-flow/endpoint.yml\n      run: |\n        set +e\n        source .github/amlarc-tool.sh\n        WS_DIR=examples/inference/simple-flow/\n        SUB_RG_WS=\" --subscription ${SUBSCRIPTION} --resource-group ${RESOURCE_GROUP} --workspace-name ${WORKSPACE} \"\n        \n        echo \"[JobSubmission] $WS_DIR/endpoint.yml\" | tee -a $RESULT_FILE\n\n        # create endpoint and deployment\n        az ml online-endpoint create $SUB_RG_WS --name sklearn-mnist -f $WS_DIR/endpoint.yml --set compute=azureml:$COMPUTE --debug\n        sleep 60\n        az ml online-deployment create $SUB_RG_WS --name blue --endpoint sklearn-mnist -f $WS_DIR/blue-deployment.yml --all-traffic --debug\n        # scoring\n        sleep 60\n        primaryKey=$(az ml online-endpoint get-credentials $SUB_RG_WS --name sklearn-mnist -o tsv --query \"primaryKey\" )\n        scoring_uri=$(az ml online-endpoint show $SUB_RG_WS --name sklearn-mnist  -o tsv  --query \"scoring_uri\" )\n        sample_data=$(cat $WS_DIR/sample-request.json)\n        res=$(kubectl exec -n azureml deploy/azureml-fe-v2 -- curl -X POST -H \"Content-Type: application/json\" -H \"Authorization: Bearer $primaryKey\" -s --connect-timeout 5 \"$scoring_uri\" -d \"$sample_data\")\n        \n        echo \"$res\"\n        if [ \"$res\" == \"[8]\" ] ; then\n            echo \"[JobStatus] $WS_DIR/endpoint.yml Completed\" | tee -a $RESULT_FILE\n        else\n            echo \"[JobStatus] $WS_DIR/endpoint.yml Failed\" | tee -a $RESULT_FILE\n        fi\n      continue-on-error: true\n      timeout-minutes: 30\n      \n    # check result\n    - name: count_result\n      if: ${{ always() }}\n      run: |\n        bash .github/amlarc-tool.sh count_result\n      timeout-minutes: 30\n    \n    # report metrics\n    - name: download_metrics_dependency\n      if: ${{ always() && github.event_name != 'pull_request' }}\n      run: |\n        if [ \"$FILE_TICKET\" == \"true\" ]; then\n          bash .github/amlarc-tool.sh install_mdm_dependency\n        fi\n      timeout-minutes: 30\n    - name: start_mdm\n      if: ${{ always() && github.event_name != 'pull_request' }}\n      run: |\n        if [ \"$FILE_TICKET\" == \"true\" ]; then\n          # download certificates\n          export METRIC_ENDPOINT_NAME=METRIC-ENDPOINT-PROD\n          export MDM_ACCOUNT_NAME=MDM-ACCOUNT-PROD\n          export MDM_NAMESPACE_NAME=MDM-NAMESPACE-PROD\n          export KEY_PEM_NAME=AMLARC-KEY-PEM\n          export CERT_PEM_NAME=AMLARC-CERT-PEM\n          bash .github/amlarc-tool.sh download_metrics_info\n          bash .github/amlarc-tool.sh start_mdm_container\n        fi\n      timeout-minutes: 30\n    - name: report_metrics\n      if: ${{ always() && github.event_name != 'pull_request' }}\n      run: |\n        if [ \"$FILE_TICKET\" == \"true\" ]; then\n          bash .github/amlarc-tool.sh report_test_result_metrics\n        fi\n      timeout-minutes: 30   \n    - name: stop_mdm\n      if: ${{ always() && github.event_name != 'pull_request' }}\n      run: |\n        if [ \"$FILE_TICKET\" == \"true\" ]; then\n          bash .github/amlarc-tool.sh stop_mdm_container\n        fi\n      timeout-minutes: 30\n\n    - name: clean up resources\n      if: ${{ always() }}\n      run: |\n        set +e\n        bash .github/amlarc-tool.sh delete_endpoints\n        bash .github/amlarc-tool.sh delete_compute\n        if [ \"${{ github.event.inputs.REINSTALL_EXTENSION }}\" == \"true\" ] ; then\n            bash .github/amlarc-tool.sh delete_extension\n        fi\n        if [ \"${{ github.event.inputs.CLEANUP_CLUSTER }}\" == \"true\" ] ; then\n            bash .github/amlarc-tool.sh delete_arc\n            bash .github/amlarc-tool.sh delete_aks\n        fi\n        if [ \"${{ github.event.inputs.CLEANUP_WORKSPACE }}\" == \"true\" ] ; then\n            bash .github/amlarc-tool.sh delete_workspace\n        fi\n      timeout-minutes: 30\n\n\n\n", "state": "active", "repository": "azure/aml-kubernetes"}
{"mined_at": "2024-07-15T16:58:50.589096", "created_at": "2022-06-01T10:24:41+02:00", "updated_at": "2022-06-01T11:31:27+02:00", "name": "Portal Provision PR Gate", "path": ".github/workflows/portal-provision-pr-gate.yaml", "contents": "name: Portal Provision PR Gate\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master ]\n    # TODO: move these files into a folder\n    paths:\n      - files/deploy.py\n      - files/entry.sh\n  pull_request:\n    branches: [ master ]\n    # TODO: move these files into a folder\n    paths:\n      - files/deploy.py\n      - files/entry.sh\njobs:\n    build:\n        name: Call Azure Pipeline\n        runs-on: ubuntu-latest\n        steps:\n        - name: check out repo\n          uses: actions/checkout@v3\n        - name: Extract branch name\n          shell: bash\n          run: |\n            if [ $EVENT_NAME = \"push\" ]\n            then\n              echo \"##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})\"\n            else\n              echo \"##[set-output name=branch;]$(echo $BASE_BRANCH)\"\n            fi\n          env:\n            BASE_BRANCH: ${{ github.head_ref }}\n            EVENT_NAME: ${{ github.event_name }}\n          id: extract_branch\n\n        - uses: actions/setup-python@v3          \n\n        - name: Install dependencies\n          shell: bash\n          run: |\n            pip install msrest\n            pip install azure-devops\n          id: install_dependencies\n\n        - name: Run pipeline\n          shell: bash\n          env:\n            PAT_TOKEN: ${{ secrets.AMLARC_PORTAL_PROVISION_PIPELINE_PAT }}\n            BRANCH: ${{ steps.extract_branch.outputs.branch }}\n          run: python .github/run_pipeline.py --definition-id 21230 --variables GITHUB_BRANCH=$BRANCH\n          id: run_pipeline\n", "state": "active", "repository": "azure/aml-kubernetes"}
{"mined_at": "2024-07-15T16:58:52.860614", "created_at": "2021-10-19T19:00:42+02:00", "updated_at": "2023-03-15T04:49:31+01:00", "name": "Integration Tests", "path": ".github/workflows/integration.yml", "contents": "name: Integration Tests\non:\n  push:\n    paths-ignore:\n      - \"**.MD\"\n      - \"**.md\"\n      - \"tests/unit/**\"\njobs:\n  run-tox-tests-uc-cluster:\n    runs-on: ubuntu-latest\n    environment: azure-prod\n    env:\n      DBT_DATABRICKS_HOST_NAME: ${{ secrets.DATABRICKS_HOST }}\n      DBT_DATABRICKS_CLIENT_ID: ${{ secrets.TEST_PECO_SP_ID }}\n      DBT_DATABRICKS_CLIENT_SECRET: ${{ secrets.TEST_PECO_SP_SECRET }}\n      DBT_DATABRICKS_UC_INITIAL_CATALOG: peco\n      DBT_DATABRICKS_LOCATION_ROOT: ${{ secrets.TEST_PECO_EXTERNAL_LOCATION }}test\n      TEST_PECO_UC_CLUSTER_ID: ${{ secrets.TEST_PECO_UC_CLUSTER_ID }}\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Get http path from environment\n        run: python .github/workflows/build_cluster_http_path.py\n        shell: sh\n      - name: Install tox\n        id: install-dependencies\n        run: pip install tox\n      - name: Run integration-uc-databricks-cluster\n        run: DBT_TEST_USER=notnecessaryformosttests@example.com DBT_DATABRICKS_LOCATION_ROOT=$DBT_DATABRICKS_LOCATION_ROOT DBT_DATABRICKS_HOST_NAME=$DBT_DATABRICKS_HOST_NAME DBT_DATABRICKS_UC_CLUSTER_HTTP_PATH=$DBT_DATABRICKS_UC_CLUSTER_HTTP_PATH DBT_DATABRICKS_CLIENT_ID=$DBT_DATABRICKS_CLIENT_ID DBT_DATABRICKS_CLIENT_SECRET=$DBT_DATABRICKS_CLIENT_SECRET tox -e integration-databricks-uc-cluster\n\n  run-tox-tests-uc-sql:\n    runs-on: ubuntu-latest\n    environment: azure-prod\n    env:\n      DBT_DATABRICKS_HOST_NAME: ${{ secrets.DATABRICKS_HOST }}\n      DBT_DATABRICKS_CLIENT_ID: ${{ secrets.TEST_PECO_SP_ID }}\n      DBT_DATABRICKS_CLIENT_SECRET: ${{ secrets.TEST_PECO_SP_SECRET }}\n      DBT_DATABRICKS_HTTP_PATH: ${{ secrets.TEST_PECO_WAREHOUSE_HTTP_PATH }}\n      DBT_DATABRICKS_UC_INITIAL_CATALOG: peco\n      DBT_DATABRICKS_LOCATION_ROOT: ${{ secrets.TEST_PECO_EXTERNAL_LOCATION }}test\n      TEST_PECO_UC_CLUSTER_ID: ${{ secrets.TEST_PECO_UC_CLUSTER_ID }}\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Get http path from environment\n        run: python .github/workflows/build_cluster_http_path.py\n        shell: sh\n      - name: Install tox\n        id: install-dependencies\n        run: pip install tox\n      - name: Run integration-databricks-uc-sql-endpoint\n        run: DBT_TEST_USER=notnecessaryformosttests@example.com DBT_DATABRICKS_LOCATION_ROOT=$DBT_DATABRICKS_LOCATION_ROOT DBT_DATABRICKS_HOST_NAME=$DBT_DATABRICKS_HOST_NAME DBT_DATABRICKS_UC_CLUSTER_HTTP_PATH=$DBT_DATABRICKS_UC_CLUSTER_HTTP_PATH DBT_DATABRICKS_CLIENT_ID=$DBT_DATABRICKS_CLIENT_ID DBT_DATABRICKS_CLIENT_SECRET=$DBT_DATABRICKS_CLIENT_SECRET tox -e integration-databricks-uc-sql-endpoint\n\n  run-tox-tests-non-uc:\n    runs-on: ubuntu-latest\n    environment: azure-prod\n    env:\n      DBT_DATABRICKS_HOST_NAME: ${{ secrets.DATABRICKS_HOST }}\n      DBT_DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}\n      TEST_PECO_CLUSTER_ID: ${{ secrets.TEST_PECO_CLUSTER_ID }}\n      DBT_DATABRICKS_LOCATION_ROOT: ${{ secrets.TEST_PECO_EXTERNAL_LOCATION }}test\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Get http path from environment\n        run: python .github/workflows/build_cluster_http_path.py\n        shell: sh\n      - name: Install tox\n        id: install-dependencies\n        run: pip install tox\n      - name: Run integration-databricks-cluster\n        run: DBT_TEST_USER=notnecessaryformosttests@example.com DBT_DATABRICKS_LOCATION_ROOT=$DBT_DATABRICKS_LOCATION_ROOT DBT_DATABRICKS_HOST_NAME=$DBT_DATABRICKS_HOST_NAME DBT_DATABRICKS_HTTP_PATH=$DBT_DATABRICKS_CLUSTER_HTTP_PATH DBT_DATABRICKS_CLIENT_ID=$DBT_DATABRICKS_CLIENT_ID DBT_DATABRICKS_CLIENT_SECRET=$DBT_DATABRICKS_CLIENT_SECRET tox -e integration-databricks-cluster\n", "state": "active", "repository": "databricks/dbt-databricks"}
{"mined_at": "2024-07-15T16:58:54.086989", "created_at": "2021-10-25T21:56:23+02:00", "updated_at": "2021-10-25T22:20:09+02:00", "name": "Tests and Code Checks", "path": ".github/workflows/main.yml", "contents": "# **what?**\n# Runs code quality checks, unit tests, and verifies python build on\n# all code commited to the repository. This workflow should not\n# require any secrets since it runs for PRs from forked repos.\n# By default, secrets are not passed to workflows running from\n# a forked repo.\n\n# **why?**\n# Ensure code for dbt meets a certain quality standard.\n\n# **when?**\n# This will run for all PRs, when code is pushed to a release\n# branch, and when manually triggered.\n\nname: Tests and Code Checks\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"*.latest\"\n      - \"releases/*\"\n    paths-ignore:\n      - \"**.MD\"\n      - \"**.md\"\n  pull_request:\n    paths-ignore:\n      - \"**.MD\"\n      - \"**.md\"\n  workflow_dispatch:\n\npermissions: read-all\n\n# will cancel previous workflows triggered by the same event and for the same ref for PRs or same SHA otherwise\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ contains(github.event_name, 'pull_request') && github.event.pull_request.head.ref || github.sha }}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  code-quality:\n    name: ${{ matrix.toxenv }}\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    strategy:\n      fail-fast: false\n      matrix:\n        toxenv: [linter]\n\n    env:\n      TOXENV: ${{ matrix.toxenv }}\n      PYTEST_ADDOPTS: \"-v --color=yes\"\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v3\n        with:\n          persist-credentials: false\n\n      - name: Set up Python\n        uses: actions/setup-python@v4.3.0\n        with:\n          python-version: \"3.8\"\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --user --upgrade pip\n          python -m pip --version\n          python -m pip install tox\n          tox --version\n\n      - name: Run tox\n        run: tox\n\n  unit:\n    name: unit test / python ${{ matrix.python-version }}\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    env:\n      TOXENV: \"unit\"\n      PYTEST_ADDOPTS: \"-v --color=yes --csv unit_results.csv\"\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v3\n        with:\n          persist-credentials: false\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4.3.0\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --user --upgrade pip\n          python -m pip --version\n          python -m pip install tox\n          tox --version\n      - name: Run tox\n        run: tox\n\n      - name: Get current date\n        if: always()\n        id: date\n        run: echo \"::set-output name=date::$(date +'%Y-%m-%dT%H_%M_%S')\" #no colons allowed for artifacts\n\n      - uses: actions/upload-artifact@v2\n        if: always()\n        with:\n          name: unit_results_${{ matrix.python-version }}-${{ steps.date.outputs.date }}.csv\n          path: unit_results.csv\n\n  build:\n    name: build packages\n\n    runs-on: ubuntu-latest\n\n    outputs:\n      is_alpha: ${{ steps.check-is-alpha.outputs.is_alpha }}\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4.3.0\n        with:\n          python-version: \"3.8\"\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --user --upgrade pip\n          python -m pip install --upgrade setuptools wheel twine check-wheel-contents\n          python -m pip --version\n      - name: Build distributions\n        run: ./scripts/build-dist.sh\n\n      - name: Show distributions\n        run: ls -lh dist/\n\n      - name: Check distribution descriptions\n        run: |\n          twine check dist/*\n      - name: Check wheel contents\n        run: |\n          check-wheel-contents dist/*.whl --ignore W007,W008\n\n      - name: Check if this is an alpha version\n        id: check-is-alpha\n        run: |\n          export is_alpha=0\n          if [[ \"$(ls -lh dist/)\" == *\"a1\"* ]]; then export is_alpha=1; fi\n          echo \"::set-output name=is_alpha::$is_alpha\"\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: dist\n          path: dist/\n\n  test-build:\n    name: verify packages / python ${{ matrix.python-version }} / ${{ matrix.os }}\n\n    if: needs.build.outputs.is_alpha == 0\n\n    needs: build\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4.3.0\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install python dependencies\n        run: |\n          python -m pip install --user --upgrade pip\n          python -m pip install --upgrade wheel\n          python -m pip --version\n      - uses: actions/download-artifact@v3\n        with:\n          name: dist\n          path: dist/\n\n      - name: Show distributions\n        run: ls -lh dist/\n\n      - name: Install wheel distributions\n        run: |\n          find ./dist/*.whl -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/\n      - name: Install dbt-core\n        run: |\n          python -m pip install dbt-core==1.8.0rc2\n      - name: Check wheel distributions\n        run: |\n          dbt --version\n      - name: Install source distributions\n        run: |\n          find ./dist/*.gz -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/\n      - name: Check source distributions\n        run: |\n          dbt --version\n", "state": "active", "repository": "databricks/dbt-databricks"}
{"mined_at": "2024-07-15T16:58:55.224852", "created_at": "2022-01-25T21:50:05+01:00", "updated_at": "2022-01-25T21:50:05+01:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: \"30 1 * * *\"\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      # pinned at v4 (https://github.com/actions/stale/releases/tag/v4.0.0)\n      - uses: actions/stale@cdf15f641adb27a71842045a94023bef6945e3aa\n        with:\n          stale-issue-message: \"This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue.\"\n          stale-pr-message: \"This PR has been marked as Stale because it has been open for 180 days with no activity. If you would like the PR to remain open, please remove the stale label or comment on the PR.\"\n          # mark issues/PRs stale when they haven't seen activity in 180 days\n          days-before-stale: 180\n          # disable auto-close.\n          days-before-close: -1\n          # ignore checking issues with the following labels\n          exempt-issue-labels: \"epic, discussion\"\n", "state": "active", "repository": "databricks/dbt-databricks"}
{"mined_at": "2024-07-15T16:58:57.285655", "created_at": "2022-04-03T21:53:59+02:00", "updated_at": "2023-01-18T17:50:12+01:00", "name": "Publish package release", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Publish package release\n\non:\n  workflow_dispatch:\n    inputs:\n      version-change:\n        description: Version part\n        required: true\n        type: choice\n        options:\n          - patch\n          - minor\n      beta:\n        description: Is beta version\n        required: true\n        type: boolean\n        default: False\njobs:\n  publish:\n    env:\n      VERSION_CHANGE: ${{ github.event.inputs.version-change }}\n      WITH_BETA: ${{ github.event.inputs.beta }}\n      GITHUB_TOKEN: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }}\n      CHANGELOG_FILE: CHANGELOG.md\n      SETUP_PY_PATH: setup.py\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }}\n\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.8'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n\n    - name: read changelog\n      id: read-changelog\n      run: |\n        CHANGELOG=$(cat $CHANGELOG_FILE | sed -e '/^## .*$/,$d')\n        echo \"CHANGELOG<<CHANGELOGEOF_MARKER\" >> $GITHUB_ENV\n        echo \"$CHANGELOG\" >> $GITHUB_ENV\n        echo \"CHANGELOGEOF_MARKER\" >> $GITHUB_ENV\n        echo \"# Changelog\" >> $GITHUB_STEP_SUMMARY\n        echo \"$CHANGELOG\" >> $GITHUB_STEP_SUMMARY\n        \n\n    - name: Increment version\n      id: increment-version\n      run: |\n        NEW_VERSION=$(python3 ./.github/scripts/increment_version.py --inc-type=$VERSION_CHANGE --beta=$WITH_BETA)\n        echo new version: $NEW_VERSION\n        echo \"NEW_VERSION=$NEW_VERSION\" >> $GITHUB_OUTPUT\n        echo \"New version: $NEW_VERSION\" >> $GITHUB_STEP_SUMMARY\n\n    - name: Build package\n      run: python -m build\n\n    - name: Publish release on github\n      run: |\n        if [[ -z \"$CHANGELOG\" ]]\n        then\n          echo \"CHANGELOG empty\"\n          exit 1;\n        fi;\n        \n        TAG=\"${{ steps.increment-version.outputs.NEW_VERSION }}\"\n        \n        # Get previous version from changelog\n        # pre-incremented version not used for consistent changelog with release notes\n        # for example changelog may be rewrited when switch from beta to release\n        # and remove internal beta changes\n        LAST_TAG=$(cat $CHANGELOG_FILE | grep '^## .* ##$' | head -n 2 | tail -n 1 | cut -d ' ' -f 2)\n        \n        git config --global user.email \"robot@umbrella\";\n        git config --global user.name \"robot\";\n        git commit -am \"Release: $TAG\";\n\n        git tag \"$TAG\"\n        git push && git push --tags\n        \n        CHANGELOG=\"$CHANGELOG\n        \n        Full Changelog: [$LAST_TAG...$TAG](https://github.com/ydb-platform/ydb-python-sdk/compare/$LAST_TAG...$TAG)\"\n        if [ \"$WITH_BETA\" = true ]\n        then\n          gh release create --prerelease $TAG --title \"$TAG\" --notes \"$CHANGELOG\"\n        else\n          gh release create $TAG --title \"$TAG\" --notes \"$CHANGELOG\"\n        fi;\n\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "ydb-platform/ydb-python-sdk"}
{"mined_at": "2024-07-15T16:58:58.492245", "created_at": "2023-06-08T15:01:00+02:00", "updated_at": "2023-07-13T13:12:51+02:00", "name": "SLO", "path": ".github/workflows/slo.yml", "contents": "name: SLO\n\non:\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n\njobs:\n  test-slo:\n    concurrency:\n      group: slo-${{ github.ref }}\n    if: (!contains(github.event.pull_request.labels.*.name, 'no slo'))\n\n    runs-on: ubuntu-latest\n    name: SLO test\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        if: env.DOCKER_REPO != null\n        env:\n          DOCKER_REPO: ${{ secrets.SLO_DOCKER_REPO }}\n\n      - name: Run SLO\n        uses: ydb-platform/slo-tests@main\n        if: env.DOCKER_REPO != null\n        env:\n          DOCKER_REPO: ${{ secrets.SLO_DOCKER_REPO }}\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          KUBECONFIG_B64: ${{ secrets.SLO_KUBE_CONFIG }}\n          AWS_CREDENTIALS_B64: ${{ secrets.SLO_AWS_CREDENTIALS }}\n          AWS_CONFIG_B64: ${{ secrets.SLO_AWS_CONFIG }}\n          DOCKER_USERNAME: ${{ secrets.SLO_DOCKER_USERNAME }}\n          DOCKER_PASSWORD: ${{ secrets.SLO_DOCKER_PASSWORD }}\n          DOCKER_REPO: ${{ secrets.SLO_DOCKER_REPO }}\n          DOCKER_FOLDER: ${{ secrets.SLO_DOCKER_FOLDER }}\n          s3_endpoint: ${{ secrets.SLO_S3_ENDPOINT }}\n          s3_images_folder: ${{ vars.SLO_S3_IMAGES_FOLDER }}\n          grafana_domain: ${{ vars.SLO_GRAFANA_DOMAIN }}\n          grafana_dashboard: ${{ vars.SLO_GRAFANA_DASHBOARD }}\n          ydb_version: 'newest'\n          timeBetweenPhases: 30\n          shutdownTime: 30\n\n          language_id0: sync\n          language0: python-sync\n          workload_path0: tests/slo\n          workload_build_context0: ../..\n          workload_build_options0: -f Dockerfile\n\n      - uses: actions/upload-artifact@v3\n        if: env.DOCKER_REPO != null\n        env:\n          DOCKER_REPO: ${{ secrets.SLO_DOCKER_REPO }}\n        with:\n          name: slo-logs\n          path: logs/\n", "state": "active", "repository": "ydb-platform/ydb-python-sdk"}
{"mined_at": "2024-07-15T16:58:59.621763", "created_at": "2022-08-07T19:46:59+02:00", "updated_at": "2023-03-01T16:29:54+01:00", "name": "Style checks", "path": ".github/workflows/style.yaml", "contents": "name: Style checks\n\non:\n  push:\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.8]\n        environment: [style, black]\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox==4.2.6\n    - name: Test with tox\n      run: tox -e ${{ matrix.environment }}\n", "state": "active", "repository": "ydb-platform/ydb-python-sdk"}
{"mined_at": "2024-07-15T16:59:00.755368", "created_at": "2022-08-07T19:46:59+02:00", "updated_at": "2023-02-22T18:32:21+01:00", "name": "Functional tests", "path": ".github/workflows/tests.yaml", "contents": "name: Functional tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    concurrency:\n      group: unit-${{ github.ref }}-${{ matrix.environment }}-${{ matrix.python-version }}-${{ matrix.folder }}\n      cancel-in-progress: true\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        environment: [py, py-tls, py-proto3, py-tls-proto3]\n        folder: [ydb, tests]\n        exclude:\n          - environment: py-tls\n            folder: ydb\n          - environment: py-tls-proto3\n            folder: ydb\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install tox\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox==4.2.6\n\n    - name: Run unit tests\n      run: tox -e ${{ matrix.environment }} -- ${{ matrix.folder }}\n", "state": "active", "repository": "ydb-platform/ydb-python-sdk"}
{"mined_at": "2024-07-15T16:59:03.098082", "created_at": "2023-06-22T15:46:41+02:00", "updated_at": "2023-06-22T15:46:41+02:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\n\non:\n  workflow_call\n\njobs:\n  deploy-pypi:\n    runs-on: ubuntu-latest\n\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@master\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: \"3.8\"\n\n      - name: Make distrib\n        run: |\n          python3 -m pip install wheel\n          bash scripts/make_distrib.sh\n\n      - name: Upload to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "aiplan4eu/unified-planning"}
{"mined_at": "2024-07-15T16:59:04.230270", "created_at": "2021-05-11T17:08:15+02:00", "updated_at": "2023-10-23T15:57:50+02:00", "name": "CI-on-push", "path": ".github/workflows/main.yml", "contents": "name: CI-on-push\n\non:\n  push:\n    branches-ignore:\n      - master\n    tags-ignore:\n      - '*'\n\njobs:\n  test:\n    uses: ./.github/workflows/test.yml\n\n    with:\n      python-version: \"3.10\"\n\n    secrets: inherit\n", "state": "active", "repository": "aiplan4eu/unified-planning"}
{"mined_at": "2024-07-15T16:59:05.332403", "created_at": "2023-06-21T14:42:13+02:00", "updated_at": "2023-06-21T15:02:16+02:00", "name": "CI-on-push", "path": ".github/workflows/push.yml", "contents": null, "state": "active", "repository": "aiplan4eu/unified-planning"}
{"mined_at": "2024-07-15T16:59:06.370634", "created_at": "2023-06-21T17:13:09+02:00", "updated_at": "2023-06-22T15:46:41+02:00", "name": "CI-on-master", "path": ".github/workflows/release.yml", "contents": "name: CI-on-master\n\non:\n  push:\n    branches: master\n\njobs:\n  test:\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n\n    uses: ./.github/workflows/test.yml\n\n    with:\n      python-version: ${{matrix.python-version}}\n\n    secrets: inherit\n\n  deploy:\n    needs: [test]\n    uses: ./.github/workflows/deploy.yml\n", "state": "active", "repository": "aiplan4eu/unified-planning"}
{"mined_at": "2024-07-15T16:59:07.370746", "created_at": "2023-06-21T14:42:12+02:00", "updated_at": "2023-06-21T14:42:12+02:00", "name": ".github/workflows/tag.yml", "path": ".github/workflows/tag.yml", "contents": null, "state": "active", "repository": "aiplan4eu/unified-planning"}
{"mined_at": "2024-07-15T16:59:08.424695", "created_at": "2023-06-22T15:46:41+02:00", "updated_at": "2023-06-22T15:46:41+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  workflow_call:\n    inputs:\n      python-version:\n        required: true\n        type: string\n    secrets:\n      CODECOV_TOKEN:\n        required: true\n\nenv:\n  up_tamer_commit: \"631dfd43a56e7c2dda44fe273ec6f5492e99cfe1\"\n  up_pyperplan_commit: \"a24854213caf5038e1540e31613d24b93825fbb3\"\n  up_fast_downward_commit: \"c60b6ab82cb8c3046cfd4782afe4d4c6071c4109\"\n  up_enhsp_commit: \"78cc3331beb1fcc36380a8f698f49b4312dc411a\"\n  up_fmap_commit: \"f29e66c8483abcb8f17ff1c46a0745ee9b1e95fa\"\n\njobs:\n  basic-check:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{inputs.python-version}}\n\n      - name: Install Python dependencies\n        run: python3 -m pip install -r requirements.txt\n\n      - name: Install Development Python dependencies\n        run: python3 -m pip install -r dev-requirements.txt\n\n      - name: Install graphviz\n        run: sudo apt-get install graphviz graphviz-dev\n\n      - name: Install plot Python dependencies\n        run: python3 -m pip install -r plot-requirements.txt\n\n      - name: Install tarski\n        run: |\n          python3 -m pip install tarski[arithmetic]\n          sudo apt install -y gringo\n\n      - name: Black check\n        run: |\n          python3 -m pip install black==22.6.0\n          python3 -m black --check --exclude=unified_planning/grpc/generated/ .\n\n      - name: MyPy check\n        run: python3 -m mypy unified_planning\n\n      - name: Test all packages imports\n        run: python3 scripts/test_imports.py\n\n  check-documentation:\n    runs-on: ubuntu-latest\n    needs: [\n        basic-check,\n        check-protobuf,\n      ]\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{inputs.python-version}}\n\n      - name: Install pandoc\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y pandoc\n\n      - name: Install python requirements\n        run: |\n          pip install --upgrade pip\n          pip install .\n          pip install -r docs/requirements.txt\n\n      - name: Listing dependency versions\n        run: pip freeze\n\n      - name: Building docs\n        run: make html\n        working-directory: ./docs\n\n  run-tests-ubuntu-20-04:\n    runs-on: ubuntu-20.04\n    needs: [\n        basic-check,\n        check-protobuf,\n      ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{inputs.python-version}}\n\n      - name: Install pyparsing version used in ROS1\n        run: python3 -m pip install pyparsing==2.4.6\n\n      - name: Install Python dependencies\n        run: python3 -m pip install -r requirements.txt\n\n      - name: Install Development Python dependencies\n        run: python3 -m pip install -r dev-requirements.txt\n\n      - name: Checkout up-tamer\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-tamer\n          path: up-tamer\n          ref: ${{env.up_tamer_commit}}\n\n      - name: Install up-tamer\n        run: python3 -m pip install up-tamer/\n\n      - name: Checkout up-pyperplan\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-pyperplan\n          path: up-pyperplan\n          ref: ${{env.up_pyperplan_commit}}\n\n      - name: Install up-pyperplan\n        run: python3 -m pip install up-pyperplan/\n\n      - name: Setup java for ENHSP\n        uses: actions/setup-java@v2\n        with:\n          distribution: \"microsoft\"\n          java-version: \"17\"\n\n      - name: Download and install ENHSP\n        run: |\n          git clone https://gitlab.com/enricos83/ENHSP-Public.git\n          cd ENHSP-Public; git checkout enhsp20-0.14.0; ./compile; cd ..\n          mkdir .planners; mv ENHSP-Public/enhsp-dist .planners/enhsp-20; rm -rf ENHSP-Public\n\n      - name: Run tests\n        run: bash run_tests.sh\n\n  run-tests-ubuntu:\n    runs-on: ubuntu-latest\n    needs: [\n        basic-check,\n        check-protobuf,\n      ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{inputs.python-version}}\n\n      - name: Install Python dependencies\n        run: python3 -m pip install -r requirements.txt\n\n      - name: Install Development Python dependencies\n        run: python3 -m pip install -r dev-requirements.txt\n\n      - name: Install graphviz\n        run: sudo apt-get install graphviz graphviz-dev\n\n      - name: Install plot Python dependencies\n        run: python3 -m pip install -r plot-requirements.txt\n\n      - name: Install tarski\n        run: |\n          python3 -m pip install tarski[arithmetic]\n          sudo apt install -y gringo\n\n      - name: Checkout up-tamer\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-tamer\n          path: up-tamer\n          ref: ${{env.up_tamer_commit}}\n\n      - name: Install up-tamer\n        run: python3 -m pip install up-tamer/\n\n      - name: Checkout up-pyperplan\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-pyperplan\n          path: up-pyperplan\n          ref: ${{env.up_pyperplan_commit}}\n\n      - name: Install up-pyperplan\n        run: python3 -m pip install up-pyperplan/\n\n      - name: Setup java for ENHSP\n        uses: actions/setup-java@v2\n        with:\n          distribution: \"microsoft\"\n          java-version: \"17\"\n\n      - name: Download and install ENHSP\n        run: |\n          git clone https://gitlab.com/enricos83/ENHSP-Public.git\n          cd ENHSP-Public; git checkout enhsp20-0.14.0; ./compile; cd ..\n          mkdir .planners; mv ENHSP-Public/enhsp-dist .planners/enhsp-20; rm -rf ENHSP-Public\n\n      - name: Test code-snippets\n        run: bash scripts/test_code_snippets.sh\n\n      - name: Run tests\n        run: bash run_tests.sh\n\n      - name: \"Upload coverage to Codecov\"\n        if: ${{ github.repository == 'aiplan4eu/unified-planning' && inputs.python-version == '3.10' }}\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./coverage.xml\n          fail_ci_if_error: true\n\n  run-tests-windows:\n    runs-on: windows-latest\n    needs: [\n        basic-check,\n        check-protobuf,\n      ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{inputs.python-version}}\n\n      - name: Install Python dependencies\n        run: python3 -m pip install -r requirements.txt\n\n      - name: Install Development Python dependencies\n        run: python3 -m pip install -r dev-requirements.txt\n\n      - name: Checkout up-tamer\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-tamer\n          path: up-tamer\n          ref: ${{env.up_tamer_commit}}\n\n      - name: Install up-tamer\n        run: python3 -m pip install up-tamer/\n\n      - name: Checkout up-pyperplan\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-pyperplan\n          path: up-pyperplan\n          ref: ${{env.up_pyperplan_commit}}\n\n      - name: Install up-pyperplan\n        run: python3 -m pip install up-pyperplan/\n\n      - name: Setup java for ENHSP\n        uses: actions/setup-java@v2\n        with:\n          distribution: \"microsoft\"\n          java-version: \"17\"\n\n      - name: Download and install ENHSP\n        run: |\n          git clone https://gitlab.com/enricos83/ENHSP-Public.git\n          cd ENHSP-Public; git checkout enhsp20-0.14.0; bash ./compile; cd ..\n          bash -c \"mkdir .planners; mv ENHSP-Public/enhsp-dist .planners/enhsp-20; rm -rf ENHSP-Public\"\n\n      - name: Run tests\n        run: bash run_tests.sh\n\n  run-tests-macos:\n    runs-on: macos-13\n    needs: [\n        basic-check,\n        check-protobuf,\n      ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{inputs.python-version}}\n\n      - name: Install Python dependencies\n        run: python3 -m pip install -r requirements.txt\n\n      - name: Install Development Python dependencies\n        run: python3 -m pip install -r dev-requirements.txt\n\n      - name: Install tarski\n        run: |\n          python3 -m pip install tarski[arithmetic]\n      #          brew install gringo -- Commented because not working on github actions\n      - name: Checkout up-tamer\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-tamer\n          path: up-tamer\n          ref: ${{env.up_tamer_commit}}\n\n      - name: Install up-tamer\n        run: python3 -m pip install up-tamer/\n\n      - name: Checkout up-pyperplan\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-pyperplan\n          path: up-pyperplan\n          ref: ${{env.up_pyperplan_commit}}\n\n      - name: Install up-pyperplan\n        run: python3 -m pip install up-pyperplan/\n\n      - name: Setup java for ENHSP\n        uses: actions/setup-java@v2\n        with:\n          distribution: \"microsoft\"\n          java-version: \"17\"\n\n      - name: Download and install ENHSP\n        run: |\n          git clone https://gitlab.com/enricos83/ENHSP-Public.git\n          cd ENHSP-Public; git checkout enhsp20-0.14.0; bash ./compile; cd ..\n          bash -c \"mkdir .planners; mv ENHSP-Public/enhsp-dist .planners/enhsp-20; rm -rf ENHSP-Public\"\n\n      - name: Run tests\n        run: bash run_tests.sh\n\n  check-protobuf:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{inputs.python-version}}\n\n      - name: Install Protobuf compiler\n        run: |\n          python3 -m pip install grpcio-tools==1.54.2\n\n      - name: Check Protobuf generation\n        run: bash scripts/generate_protobuf_bindings.sh\n\n      - name: Check Protobuf bindings\n        run: |\n          echo \"Checking that the committed protobuf bindings are exactly the one generated from the declaration\"\n          git diff --exit-code\n\n  run-colab-notebooks:\n    runs-on: ubuntu-latest\n    needs: [\n        basic-check,\n        check-protobuf,\n      ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Install Python dependencies\n        run: python3 -m pip install -r requirements.txt\n\n      - name: Install Development Python dependencies\n        run: python3 -m pip install -r dev-requirements.txt\n\n      - name: Install graphviz\n        run: sudo apt-get install graphviz graphviz-dev\n\n      - name: Install plot Python dependencies\n        run: python3 -m pip install -r plot-requirements.txt\n\n      - name: Checkout up-tamer\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-tamer\n          path: up-tamer\n          ref: ${{env.up_tamer_commit}}\n\n      - name: Install up-tamer\n        run: python3 -m pip install up-tamer/\n\n      - name: Checkout up-pyperplan\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-pyperplan\n          path: up-pyperplan\n          ref: ${{env.up_pyperplan_commit}}\n\n      - name: Install up-pyperplan\n        run: python3 -m pip install up-pyperplan/\n\n      - name: Checkout up-fast-downward\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-fast-downward\n          path: up-fast-downward\n          ref: ${{env.up_fast_downward_commit}}\n\n      - name: Install up-fast-downward\n        run: python3 -m pip install up-fast-downward/\n\n      - name: Setup java for ENHSP\n        uses: actions/setup-java@v2\n        with:\n          distribution: \"microsoft\"\n          java-version: \"17\"\n\n      - name: Checkout up-enhsp\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-enhsp\n          path: up-enhsp\n          ref: ${{env.up_enhsp_commit}}\n\n      - name: Install up-enhsp\n        run: python3 -m pip install up-enhsp/\n\n      - name: Install up-aries\n        run: pip3 install up-aries\n\n      - name: Checkout up-fmap\n        uses: actions/checkout@v2\n        with:\n          repository: aiplan4eu/up-fmap\n          path: up-fmap\n          ref: ${{env.up_fmap_commit}}\n\n      - name: Install up-fmap\n        run: python3 -m pip install up-fmap/\n\n      - name: Install jupyter and ipython3\n        run:  |\n          sudo apt-get update\n          sudo apt install jupyter\n          sudo apt install ipython3\n\n      - name: Run colabs\n        run: bash scripts/test_colab.sh\n", "state": "active", "repository": "aiplan4eu/unified-planning"}
{"mined_at": "2024-07-15T16:59:10.461266", "created_at": "2024-02-21T06:31:59+01:00", "updated_at": "2024-02-26T17:08:35+01:00", "name": "Bandit", "path": ".github/workflows/bandit.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# Bandit is a security linter designed to find common security issues in Python code.\n# This action will run Bandit on your codebase.\n# The results of the scan will be found under the Security tab of your repository.\n\n# https://github.com/marketplace/actions/bandit-scan is ISC licensed, by abirismyname\n# https://pypi.org/project/bandit/ is Apache v2.0 licensed, by PyCQA\n\nname: Bandit\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '15 22 * * 2'\n\njobs:\n  bandit:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Bandit Scan\n        uses: shundor/python-bandit-scan@9cc5aa4a006482b8a7f91134412df6772dbda22c\n        with: # optional arguments\n          # exit with 0, even with results found\n          exit_zero: true # optional, default is DEFAULT\n          # Github token of the repository (automatically created by Github)\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information.\n          # File or directory to run bandit on\n          # path: # optional, default is .\n          # Report only issues of a given severity level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything)\n          # level: # optional, default is UNDEFINED\n          # Report only issues of a given confidence level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything)\n          # confidence: # optional, default is UNDEFINED\n          # comma-separated list of paths (glob patterns supported) to exclude from scan (note that these are in addition to the excluded paths provided in the config file) (default: .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg)\n          # excluded_paths: # optional, default is DEFAULT\n          # comma-separated list of test IDs to skip\n          # skips: # optional, default is DEFAULT\n          # path to a .bandit file that supplies command line arguments\n          # ini_path: # optional, default is DEFAULT\n\n", "state": "active", "repository": "jazzband/wagtailmenus"}
{"mined_at": "2024-07-15T16:59:11.701280", "created_at": "2022-02-03T12:32:18+01:00", "updated_at": "2022-02-03T12:32:18+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  build:\n    if: github.repository == 'jazzband/wagtailmenus'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U setuptools twine wheel\n      - name: Build package\n        run: |\n          python setup.py --version\n          python setup.py sdist --format=gztar bdist_wheel\n          twine check dist/*\n      - name: Upload packages to Jazzband\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: jazzband\n          password: ${{ secrets.JAZZBAND_RELEASE_KEY }}\n          repository-url: https://jazzband.co/projects/wagtailmenus/upload \n", "state": "active", "repository": "jazzband/wagtailmenus"}
{"mined_at": "2024-07-15T16:59:12.758326", "created_at": "2022-02-03T12:32:18+01:00", "updated_at": "2022-02-03T12:32:18+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test-python:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade tox tox-gh-actions\n\n      - name: Test with tox\n        run: tox -v\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: Cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.cfg') }}-${{ hashFiles('**/tox.ini') }}\n          restore-keys: |\n            ${{ matrix.python-version }}-v1-\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          name: Python ${{ matrix.python-version }}\n", "state": "active", "repository": "jazzband/wagtailmenus"}
{"mined_at": "2024-07-15T16:59:14.777935", "created_at": "2021-10-12T23:59:13+02:00", "updated_at": "2024-04-03T06:13:44+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "# This workflow will run the tests for the awpy Python library\n\nname: build\n\non:\n  pull_request:\n    branches: [main]\n    paths:\n      - \"awpy/**\"\n      - \"tests/**\"\n      - \"pyproject.toml\"\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    timeout-minutes: 15\n    steps:\n      - name: Checkout awpy library\n        uses: actions/checkout@v4\n\n      - name: Cache test demos\n        id: cache-demos\n        uses: actions/cache@v4\n        env:\n          cache-name: cache-demos\n        with:\n          # demos are downloaded to and looked for in `{repo}/tests`\n          path: ${{ github.workspace }}/tests/*.dem\n          # Invalidate the cache if the file containing the demo urls has changed.\n          key: cache-test-demos-${{ hashFiles('**/test_data.json') }}\n          # Care with this: If a demo changes but the name remains the same\n          # then this could cause issues. So do not do that!\n          restore-keys: cache-test-demos-\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: |\n            poetry.lock\n            pyproject.toml\n\n      - name: Install Poetry\n        uses: abatilo/actions-poetry@v2\n      \n      - name: Setup a local virtual environment for poetry\n        shell: bash\n        run: |\n          poetry config virtualenvs.create true --local\n          poetry config virtualenvs.in-project true --local\n\n      - uses: actions/cache@v4\n        name: Cache awpy dependencies\n        with:\n          path: ./.venv\n          key: venv-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}\n\n      - name: Install awpy\n        shell: bash\n        run: |\n          poetry install --no-interaction\n\n      - name: Formatting + Lint\n        shell: bash\n        run: |\n          poetry run ruff check . --fix --exit-zero\n          poetry run ruff check .\n\n      # - name: Run pyright\n      #   run: poetry run pyright\n\n      # - name: Thorough check with pylint\n      #   run: poetry run pylint awpy\n\n      - name: Test\n        shell: bash\n        run: |\n          poetry run coverage run -m pytest --durations=10\n          poetry run coverage report -m\n\n      # - name: Archive code coverage results\n      #   uses: actions/upload-artifact@v4\n      #   with:\n      #     name: code-coverage-report-${{ github.run_id }}\n      #     path: htmlcov/\n", "state": "active", "repository": "pnxenopoulos/awpy"}
{"mined_at": "2024-07-15T16:59:15.828326", "created_at": "2022-01-31T15:41:17+01:00", "updated_at": "2022-01-31T15:41:17+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pnxenopoulos/awpy"}
{"mined_at": "2024-07-15T16:59:16.923462", "created_at": "2024-04-03T05:17:49+02:00", "updated_at": "2024-06-04T07:52:25+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  push:\n    tags:\n      - 'release-v*.*.*'\n\njobs:\n  build-and-release:\n    runs-on: ubuntu-latest\n    environment:\n      name: prod-release-pypi\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Install Poetry\n        uses: abatilo/actions-poetry@v2\n      - name: Setup a local virtual environment for poetry\n        run: |\n          poetry config virtualenvs.create true --local\n          poetry config virtualenvs.in-project true --local\n          poetry config repositories.testpypi https://test.pypi.org/legacy/\n\n      - name: Install awpy\n        run: |\n          poetry install --no-interaction\n      \n      - name: Publish to PyPI\n        run: |\n          poetry publish --build --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} -vvv", "state": "active", "repository": "pnxenopoulos/awpy"}
{"mined_at": "2024-07-15T16:59:17.908060", "created_at": "2024-04-03T05:23:58+02:00", "updated_at": "2024-04-03T06:13:40+02:00", "name": "Build and Publish to Test PyPI", "path": ".github/workflows/release-test.yml", "contents": null, "state": "disabled_manually", "repository": "pnxenopoulos/awpy"}
{"mined_at": "2024-07-15T16:59:20.097173", "created_at": "2020-09-22T12:03:31+02:00", "updated_at": "2020-09-22T12:03:31+02:00", "name": "Validate python syntax", "path": ".github/workflows/validate-syntax.yaml", "contents": "name: Validate python syntax\n\non: [push, pull_request]\n\njobs:\n  validate:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pycodestyle==2.6.0\n    - name: Validate with pycodestyle\n      run: |\n        pycodestyle\n    - name: Make sure there are no missing migrations\n      run: |\n        echo \"SECRET_KEY='foobar'\" > postgresqleu/local_settings.py\n        echo \"DATABASES={'default': {}}\" >> postgresqleu/local_settings.py\n        pip install Pillow pycryptodomex # Install the \"wrong\" version of pillow and pycryptodomex so it uses a wheel - since we won't actually call it anyway\n        pip install -r <(grep -Ev \"Pillow|pycryptodomex\" tools/devsetup/dev_requirements.txt)\n        python manage.py makemigrations --check --dry-run\n", "state": "active", "repository": "pgeu/pgeu-system"}
{"mined_at": "2024-07-15T16:59:22.247011", "created_at": "2023-01-18T08:09:53+01:00", "updated_at": "2023-04-28T11:35:16+02:00", "name": "Conventional Commit", "path": ".github/workflows/commit-checker.yml", "contents": "name: Conventional Commit\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  check-commit-message:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check for Conventional commit standard type\n        uses: gsactions/commit-message-checker@v2\n        with:\n          pattern: '^(\\bfeat!|\\bfix|\\bfixes|\\bFix|\\bfeat|\\bbuild|\\bchore|\\bci|\\bdocs|\\brefactor|\\bperf|\\btest|\\bchore\\(main\\)|\\bchore\\(deps\\)):.*$'\n          error: \"You need at least one of the Conventional commit types(fix:, feat:, feat!:, build:, chore:, ci:, docs:, refactor:, perf:, test:) at the start of commit message. To understand which commit prefix type to use, read more here: https://github.com/GoogleCloudPlatform/dataproc-templates/blob/main/docs/commit-checker-release-automation.md\"\n", "state": "active", "repository": "googlecloudplatform/dataproc-templates"}
{"mined_at": "2024-07-15T16:59:23.375296", "created_at": "2023-03-22T08:18:28+01:00", "updated_at": "2023-03-22T12:53:24+01:00", "name": "Java Build", "path": ".github/workflows/execute_jenkins_build_java.yml", "contents": "name: Java Build\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  jenkins-build-java:\n    if: (github.event.pull_request.head.ref != 'release-please--branches--main')\n    runs-on: ubuntu-latest\n    outputs:\n      BUILD_URL: ${{ steps.trigger.outputs.BUILD_URL }}\n      EXECUTABLE_URL: ${{ steps.get_executable_url.outputs.POLLING_URL }}\n    env:\n      JENKINS_URL: https://dataproctemplatesci.com/job/dataproc-templates-build/job/ad-hoc/job/build-job-java/buildWithParameters?token=GITHUB_TOKEN&branchName=origin/${{ github.head_ref }}\n      JOB_NAME: build-job-java\n      CREDS: ${{ secrets.JENKINS_CREDS }}\n    steps:\n      - name: Trigger Jenkins Job\n        id: trigger\n        run: |\n          echo -n \"BUILD_URL=$(curl -i -s -u $CREDS $JENKINS_URL | grep \"location\" | awk '{printf $2}' | tr -d '\\r')\" >> $GITHUB_OUTPUT\n          if [[ $? != 0 ]]; then\n            echo \"API request failed. Please check the Jenkins URL and API token.\"\n            exit 1\n          fi  \n      - name: Get the Jenkin job Execution URL\n        id: get_executable_url\n        env:\n          JOB_URL: ${{ steps.trigger.outputs.BUILD_URL }}api/json\n        run: |\n          echo \"Build Job Queue URL received on Jenkins trigger: $JOB_URL\"\n          EXECUTABLE_URL=$(curl -s -u $CREDS $JOB_URL | jq -r '.executable.url')\n          if [[ $? != 0 ]]; then\n            echo \"API request failed. Please check the Jenkins URL and API token.\"\n            exit 1\n          fi           \n          echo \"Executable URL received on the first attempt: [$EXECUTABLE_URL]\"\n          while [[ \"$EXECUTABLE_URL\" == null ]]; do\n            EXECUTABLE_URL=$(curl -s -u $CREDS $JOB_URL | jq -r '.executable.url')\n            if [[ $? != 0 ]]; then\n              echo \"API request failed. Please check the Jenkins URL and API token.\"\n              exit 1\n            fi          \n          done\n          echo \"POLLING_URL=$EXECUTABLE_URL\" >> $GITHUB_OUTPUT\n        \n      - name: Wait for Jenkins Job to Complete\n        id: status_check\n        env:\n          POLLING_URL: ${{ steps.get_executable_url.outputs.POLLING_URL }}api/json\n        run: |        \n          echo \"Executable URL to be polled for the triggered Jenkins job: $POLLING_URL\"\n          status=\"UNKNOWN\"\n          while [[ $status != \"SUCCESS\" ]]; do\n            sleep 20\n            status=$(curl -s -u $CREDS $POLLING_URL | jq -r '.result')\n            if [[ $? != 0 ]]; then\n              echo \"JSON data could not be parsed. Exiting...\"\n              exit 1\n            fi\n            echo \"Result Polled on Job Executable URL: [$status]\"            \n            [ \"$status\" == null  ] && continue\n            if [[ $status == \"FAILURE\" || $status == \"NOT_BUILT\" || $status == \"ABORTED\" || $status == \"UNSTABLE\" ]]; then\n              echo \"Jenkins job $JOB_NAME with Build URL $JOB_URL completed with status [$status]\"\n              exit 99\n            fi\n          done\n          echo \"Jenkins job $JOB_NAME with Build URL $JOB_URL completed with status $status\"\n", "state": "active", "repository": "googlecloudplatform/dataproc-templates"}
{"mined_at": "2024-07-15T16:59:24.496560", "created_at": "2023-03-22T08:18:28+01:00", "updated_at": "2023-03-22T12:53:19+01:00", "name": "Python Build", "path": ".github/workflows/execute_jenkins_build_python.yml", "contents": "name: Python Build\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  jenkins-build-python:\n    if: (github.event.pull_request.head.ref != 'release-please--branches--main')\n    runs-on: ubuntu-latest\n    outputs:\n      BUILD_URL: ${{ steps.trigger.outputs.BUILD_URL }}\n      EXECUTABLE_URL: ${{ steps.get_executable_url.outputs.POLLING_URL }}\n    env:\n      JENKINS_URL: https://dataproctemplatesci.com/job/dataproc-templates-build/job/ad-hoc/job/build-job-python/buildWithParameters?token=GITHUB_TOKEN&branchName=origin/${{ github.head_ref }}\n      JOB_NAME: build-job-python\n      CREDS: ${{ secrets.JENKINS_CREDS }}\n    steps:\n      - name: Trigger Jenkins Job\n        id: trigger\n        run: |\n          echo -n \"BUILD_URL=$(curl -i -s -u $CREDS $JENKINS_URL | grep \"location\" | awk '{printf $2}' | tr -d '\\r')\" >> $GITHUB_OUTPUT\n          if [[ $? != 0 ]]; then\n            echo \"API request failed. Please check the Jenkins URL and API token.\"\n            exit 1\n          fi  \n      - name: Get the Jenkin job Execution URL\n        id: get_executable_url\n        env:\n          JOB_URL: ${{ steps.trigger.outputs.BUILD_URL }}api/json\n        run: |\n          echo \"Build Job Queue URL received on Jenkins trigger: $JOB_URL\"\n          EXECUTABLE_URL=$(curl -s -u $CREDS $JOB_URL | jq -r '.executable.url')\n          if [[ $? != 0 ]]; then\n            echo \"API request failed. Please check the Jenkins URL and API token.\"\n            exit 1\n          fi           \n          echo \"Executable URL received on the first attempt: [$EXECUTABLE_URL]\"\n          while [[ \"$EXECUTABLE_URL\" == null ]]; do\n            EXECUTABLE_URL=$(curl -s -u $CREDS $JOB_URL | jq -r '.executable.url')\n            if [[ $? != 0 ]]; then\n              echo \"API request failed. Please check the Jenkins URL and API token.\"\n              exit 1\n            fi          \n          done\n          echo \"POLLING_URL=$EXECUTABLE_URL\" >> $GITHUB_OUTPUT\n        \n      - name: Wait for Jenkins Job to Complete\n        id: status_check\n        env:\n          POLLING_URL: ${{ steps.get_executable_url.outputs.POLLING_URL }}api/json\n        run: |        \n          echo \"Executable URL to be polled for the triggered Jenkins job: $POLLING_URL\"\n          status=\"UNKNOWN\"\n          while [[ $status != \"SUCCESS\" ]]; do\n            sleep 20\n            status=$(curl -s -u $CREDS $POLLING_URL | jq -r '.result')\n            if [[ $? != 0 ]]; then\n              echo \"JSON data could not be parsed. Exiting...\"\n              exit 1\n            fi\n            echo \"Result Polled on Job Executable URL: [$status]\"            \n            [ \"$status\" == null  ] && continue\n            if [[ $status == \"FAILURE\" || $status == \"NOT_BUILT\" || $status == \"ABORTED\" || $status == \"UNSTABLE\" ]]; then\n              echo \"Jenkins job $JOB_NAME with Build URL $JOB_URL completed with status [$status]\"\n              exit 99\n            fi\n          done\n          echo \"Jenkins job $JOB_NAME with Build URL $JOB_URL completed with status $status\"\n", "state": "active", "repository": "googlecloudplatform/dataproc-templates"}
{"mined_at": "2024-07-15T16:59:25.647496", "created_at": "2023-03-22T08:18:28+01:00", "updated_at": "2023-03-22T12:56:24+01:00", "name": "Java Integration", "path": ".github/workflows/execute_jenkins_integration_tests_java.yml", "contents": "name: Java Integration\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  jenkins-integration-tests-java:\n    if: (github.event.pull_request.head.ref != 'release-please--branches--main')\n    runs-on: ubuntu-latest\n    outputs:\n      BUILD_URL: ${{ steps.trigger.outputs.BUILD_URL }}\n      EXECUTABLE_URL: ${{ steps.get_executable_url.outputs.POLLING_URL }}\n    env:\n      JENKINS_URL: https://dataproctemplatesci.com/job/dataproc-templates-build/job/ad-hoc/job/integration-tests-java/buildWithParameters?token=GITHUB_TOKEN&branchName=origin/${{ github.head_ref }}\n      JOB_NAME: integration-tests-java\n      CREDS: ${{ secrets.JENKINS_CREDS }}\n    steps:\n      - name: Trigger Jenkins Job\n        id: trigger\n        run: |\n          echo -n \"BUILD_URL=$(curl -i -s -u $CREDS $JENKINS_URL | grep \"location\" | awk '{printf $2}' | tr -d '\\r')\" >> $GITHUB_OUTPUT\n          if [[ $? != 0 ]]; then\n            echo \"API request failed. Please check the Jenkins URL and API token.\"\n            exit 1\n          fi  \n      - name: Get the Jenkin job Execution URL\n        id: get_executable_url\n        env:\n          JOB_URL: ${{ steps.trigger.outputs.BUILD_URL }}api/json\n        run: |\n          echo \"Build Job Queue URL received on Jenkins trigger: $JOB_URL\"\n          EXECUTABLE_URL=$(curl -s -u $CREDS $JOB_URL | jq -r '.executable.url')\n          if [[ $? != 0 ]]; then\n            echo \"API request failed. Please check the Jenkins URL and API token.\"\n            exit 1\n          fi           \n          echo \"Executable URL received on the first attempt: [$EXECUTABLE_URL]\"\n          while [[ \"$EXECUTABLE_URL\" == null ]]; do\n            EXECUTABLE_URL=$(curl -s -u $CREDS $JOB_URL | jq -r '.executable.url')\n            if [[ $? != 0 ]]; then\n              echo \"API request failed. Please check the Jenkins URL and API token.\"\n              exit 1\n            fi          \n          done\n          echo \"POLLING_URL=$EXECUTABLE_URL\" >> $GITHUB_OUTPUT\n        \n      - name: Wait for Jenkins Job to Complete\n        id: status_check\n        env:\n          POLLING_URL: ${{ steps.get_executable_url.outputs.POLLING_URL }}api/json\n        run: |        \n          echo \"Executable URL to be polled for the triggered Jenkins job: $POLLING_URL\"\n          status=\"UNKNOWN\"\n          while [[ $status != \"SUCCESS\" ]]; do\n            sleep 90\n            status=$(curl -s -u $CREDS $POLLING_URL | jq -r '.result')\n            if [[ $? != 0 ]]; then\n              echo \"JSON data could not be parsed. Exiting...\"\n              exit 1\n            fi\n            echo \"Result Polled on Job Executable URL: [$status]\"            \n            [ \"$status\" == null  ] && continue\n            if [[ $status == \"FAILURE\" || $status == \"NOT_BUILT\" || $status == \"ABORTED\" || $status == \"UNSTABLE\" ]]; then\n              echo \"Jenkins job $JOB_NAME with Build URL $JOB_URL completed with status [$status]\"\n              exit 99\n            fi\n          done\n          echo \"Jenkins job $JOB_NAME with Build URL $JOB_URL completed with status $status\"\n", "state": "active", "repository": "googlecloudplatform/dataproc-templates"}
{"mined_at": "2024-07-15T16:59:26.855075", "created_at": "2023-03-22T08:18:28+01:00", "updated_at": "2023-03-22T12:56:29+01:00", "name": "Python Integration", "path": ".github/workflows/execute_jenkins_integration_tests_python.yml", "contents": "name: Python Integration\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  jenkins-integration-tests-python:\n    if: (github.event.pull_request.head.ref != 'release-please--branches--main')\n    runs-on: ubuntu-latest\n    outputs:\n      BUILD_URL: ${{ steps.trigger.outputs.BUILD_URL }}\n      EXECUTABLE_URL: ${{ steps.get_executable_url.outputs.POLLING_URL }}\n    env:\n      JENKINS_URL: https://dataproctemplatesci.com/job/dataproc-templates-build/job/ad-hoc/job/integration-tests-python/buildWithParameters?token=GITHUB_TOKEN&branchName=origin/${{ github.head_ref }}\n      JOB_NAME: integration-tests-python\n      CREDS: ${{ secrets.JENKINS_CREDS }}\n    steps:\n      - name: Trigger Jenkins Job\n        id: trigger\n        run: |\n          echo -n \"BUILD_URL=$(curl -i -s -u $CREDS $JENKINS_URL | grep \"location\" | awk '{printf $2}' | tr -d '\\r')\" >> $GITHUB_OUTPUT\n          if [[ $? != 0 ]]; then\n            echo \"API request failed. Please check the Jenkins URL and API token.\"\n            exit 1\n          fi  \n      - name: Get the Jenkin job Execution URL\n        id: get_executable_url\n        env:\n          JOB_URL: ${{ steps.trigger.outputs.BUILD_URL }}api/json\n        run: |\n          echo \"Build Job Queue URL received on Jenkins trigger: $JOB_URL\"\n          EXECUTABLE_URL=$(curl -s -u $CREDS $JOB_URL | jq -r '.executable.url')\n          if [[ $? != 0 ]]; then\n            echo \"API request failed. Please check the Jenkins URL and API token.\"\n            exit 1\n          fi           \n          echo \"Executable URL received on the first attempt: [$EXECUTABLE_URL]\"\n          while [[ \"$EXECUTABLE_URL\" == null ]]; do\n            EXECUTABLE_URL=$(curl -s -u $CREDS $JOB_URL | jq -r '.executable.url')\n            if [[ $? != 0 ]]; then\n              echo \"API request failed. Please check the Jenkins URL and API token.\"\n              exit 1\n            fi          \n          done\n          echo \"POLLING_URL=$EXECUTABLE_URL\" >> $GITHUB_OUTPUT\n        \n      - name: Wait for Jenkins Job to Complete\n        id: status_check\n        env:\n          POLLING_URL: ${{ steps.get_executable_url.outputs.POLLING_URL }}api/json\n        run: |        \n          echo \"Executable URL to be polled for the triggered Jenkins job: $POLLING_URL\"\n          status=\"UNKNOWN\"\n          while [[ $status != \"SUCCESS\" ]]; do\n            sleep 90\n            status=$(curl -s -u $CREDS $POLLING_URL | jq -r '.result')\n            if [[ $? != 0 ]]; then\n              echo \"JSON data could not be parsed. Exiting...\"\n              exit 1\n            fi\n            echo \"Result Polled on Job Executable URL: [$status]\"            \n            [ \"$status\" == null  ] && continue\n            if [[ $status == \"FAILURE\" || $status == \"NOT_BUILT\" || $status == \"ABORTED\" || $status == \"UNSTABLE\" ]]; then\n              echo \"Jenkins job $JOB_NAME with Build URL $JOB_URL completed with status [$status]\"\n              exit 99\n            fi\n          done\n          echo \"Jenkins job $JOB_NAME with Build URL $JOB_URL completed with status $status\"\n", "state": "active", "repository": "googlecloudplatform/dataproc-templates"}
{"mined_at": "2024-07-15T16:59:27.883358", "created_at": "2023-01-18T09:28:30+01:00", "updated_at": "2023-01-18T09:28:30+01:00", "name": "python-publish-trigger", "path": ".github/workflows/python-publish.yml", "contents": "name: python-publish-trigger\n\non:\n  pull_request_target:\n    types:\n      - closed\n\njobs:\n  pypi_publish:\n    if: (github.event.pull_request.merged == true) && (github.event.pull_request.user.login == 'release-please[bot]')\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: |\n          cd python\n          python -m build\n      - name: Publish distribution to PyPI\n        run: |\n          cd python\n          pip install twine\n          twine upload --username __token__ --password \"${{secrets.PYPI_TOKEN}}\" dist/*\n", "state": "active", "repository": "googlecloudplatform/dataproc-templates"}
{"mined_at": "2024-07-15T16:59:28.902316", "created_at": "2023-08-10T00:14:50+02:00", "updated_at": "2023-08-10T00:14:50+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "googlecloudplatform/dataproc-templates"}
{"mined_at": "2024-07-15T16:59:30.008258", "created_at": "2022-11-29T19:06:44+01:00", "updated_at": "2022-11-29T19:06:44+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "googlecloudplatform/dataproc-templates"}
{"mined_at": "2024-07-15T16:59:32.384948", "created_at": "2022-06-27T16:07:07+02:00", "updated_at": "2022-06-27T16:07:07+02:00", "name": "misp-stix", "path": ".github/workflows/misp-stix.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: misp-stix\n\non:\n  push:\n    branches: [ main, dev ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: recursive\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip poetry\n        python -m pip install flake8 pytest\n        poetry install\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Test with pytest\n      run: |\n        poetry run pytest tests/test_stix*_export.py\n        poetry run pytest tests/test_*ternal_stix*_import.py\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n", "state": "active", "repository": "misp/misp-stix"}
{"mined_at": "2024-07-15T16:59:33.496866", "created_at": "2021-12-21T15:22:30+01:00", "updated_at": "2021-12-21T15:22:30+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "misp/misp-stix"}
{"mined_at": "2024-07-15T16:59:35.866389", "created_at": "2023-03-07T19:42:36+01:00", "updated_at": "2023-03-07T20:44:03+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '26 0 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "cshs-cwra/ravenpy"}
{"mined_at": "2024-07-15T16:59:37.002460", "created_at": "2021-04-07T21:25:27+02:00", "updated_at": "2021-04-07T21:25:27+02:00", "name": "RavenPy", "path": ".github/workflows/main.yml", "contents": "name: RavenPy\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\nenv:\n  RAVEN_TESTING_DATA_BRANCH: master\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    name: Code linting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Install tox and setuptools\n        run: |\n          pip install tox\n      - name: Run linting suite\n        run: tox -e black\n\n  pip:\n    name: Python${{ matrix.python-version }} (${{ matrix.os }}, upstream=${{ matrix.upstream-branch }})\n    needs: lint\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - tox-env: py39-linux\n            python-version: \"3.9\"\n            os: ubuntu-latest\n#          - tox-env: py39-macos\n#            python-version: \"3.9\"\n#            os: macos-latest\n          - tox-env: py310-linux-upstream\n            python-version: \"3.10\"\n            os: ubuntu-latest\n            upstream-branch: \"main\"\n#          - tox-env: py310-macos-upstream\n#            python-version: \"3.10\"\n#            os: macos-latest\n#            upstream-branch: \"main\"\n          - tox-env: py311-linux\n            python-version: \"3.11\"\n            os: ubuntu-latest\n#          - tox-env: py311-macos\n#            python-version: \"3.11\"\n#            os: macos-latest\n          - tox-env: py312-linux\n            python-version: \"3.12\"\n            os: ubuntu-latest\n#          - tox-env: py312-macos\n#            python-version: \"3.12\"\n#            os: macos-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install GDAL (Ubuntu)\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        sudo apt-get update\n        sudo apt-get install libgdal-dev\n    - name: Install GDAL (macOS)\n      if: matrix.os == 'macos-latest'\n      uses: tecolicom/actions-use-homebrew-tools@v1\n      with:\n        tools: gdal\n        cache: yes\n    - name: Set GDAL_VERSION (Ubuntu)\n      if: matrix.os == 'ubuntu-latest'\n      run: |\n        echo \"GDAL_VERSION=$(gdal-config --version)\" >> $GITHUB_ENV\n    - name: Set GDAL_VERSION (macOS)\n      if: matrix.os == 'macos-latest'\n      run: |\n        echo \"GDAL_VERSION=$(gdalinfo --version | awk  '{print $2}' | sed s'/.$//')\" >> $GITHUB_ENV\n\n    - name: Install tox\n      run: |\n        python3 -m pip install tox~=4.5.0\n    - name: Test with tox and report coverage\n      run: |\n        python3 -m tox -e ${{ matrix.tox-env }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_FLAG_NAME: run-${{ matrix.tox-env }}\n        COVERALLS_PARALLEL: true\n        COVERALLS_SERVICE_NAME: github\n        UPSTREAM_BRANCH: ${{ matrix.upstream-branch }}\n\n  conda:\n    name: Python${{ matrix.python-version }} (${{ matrix.os }}) (Conda)\n    needs: lint\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          # - macos-latest  # disabled until a new build of raven-hydro is available\n          # - windows-latest  # disabled until xesmf is available\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Patch Environment File\n        if: matrix.os == 'windows-latest'\n        run: |\n          sed -i 's/climpred >=2.4.0/xesmf/' environment.yml\n      - name: Setup Conda (Micromamba) with Python${{ matrix.python-version }}\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          cache-downloads: true\n          cache-environment: true\n          cache-environment-key: environment-${{ matrix.python-version }}-${{ matrix.os }}-${{ github.head_ref }}\n          environment-file: environment.yml\n          create-args: >-\n            conda\n            python=${{ matrix.python-version }}\n      - name: Conda and Mamba versions\n        run: |\n          conda --version\n          echo \"micromamba: $(micromamba --version)\"\n      - name: Install RavenPy\n        run: |\n          python -m pip install -e \".[dev]\"\n      - name: List installed packages\n        run: |\n          conda list\n          python -m pip check || true\n      - name: Test RavenPy\n        run: |\n          python -m pytest --cov --numprocesses=logical\n      - name: Report coverage\n        run: |\n          python -m coveralls\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_FLAG_NAME: run-conda_${{ matrix.python-version }}_${{ matrix.os }}\n          COVERALLS_PARALLEL: true\n          COVERALLS_SERVICE_NAME: github\n\n  finish:\n    needs:\n      - pip\n      - conda\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n    - name: Coveralls Finished\n      run: |\n        python -m pip install --upgrade coveralls\n        python -m coveralls --finish\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_SERVICE_NAME: github\n", "state": "active", "repository": "cshs-cwra/ravenpy"}
{"mined_at": "2024-07-15T16:59:38.224270", "created_at": "2021-10-13T21:59:34+02:00", "updated_at": "2023-06-01T20:21:58+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI", "path": ".github/workflows/publish-pypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI\n\non:\n  release:\n    types:\n      - published\n\npermissions:\n  contents: read\n\njobs:\n  build-n-publish-pypi:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    runs-on: ubuntu-latest\n    environment: production\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            files.pythonhosted.org:443\n            github.com:443\n            pypi.org:443\n            upload.pypi.org:443\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Install packaging libraries\n        run: pip install flit\n      - name: Build a binary wheel and a source tarball\n        run: flit build\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "cshs-cwra/ravenpy"}
{"mined_at": "2024-07-15T16:59:39.451526", "created_at": "2023-09-18T22:48:05+02:00", "updated_at": "2023-09-18T22:48:05+02:00", "name": "Cleanup Caches on PR Merge", "path": ".github/workflows/remove-obsolete-cache.yml", "contents": "# Example taken from https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#managing-caches\nname: Cleanup Caches on PR Merge\n\non:\n  pull_request:\n    types:\n      - closed\n\npermissions:\n  contents: read\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            api.github.com:443\n            github.com:443\n            objects.githubusercontent.com:443\n\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Cleanup\n        run: |\n          gh extension install actions/gh-actions-cache\n\n          REPO=${{ github.repository }}\n          BRANCH=\"refs/pull/${{ github.event.pull_request.number }}/merge\"\n\n          echo \"Fetching list of cache key\"\n          cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH -L 100 | cut -f 1 )\n\n          ## Setting this to not fail the workflow while deleting cache keys.\n          set +e\n          echo \"Deleting caches...\"\n          for cacheKey in $cacheKeysForPR\n          do\n              gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm\n          done\n          echo \"Done\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "cshs-cwra/ravenpy"}
{"mined_at": "2024-07-15T16:59:40.453932", "created_at": "2021-10-13T21:59:34+02:00", "updated_at": "2023-06-01T20:10:55+02:00", "name": "Publish Python 🐍 distributions 📦 to TestPyPI", "path": ".github/workflows/tag-testpypi.yml", "contents": "name: Publish Python 🐍 distributions 📦 to TestPyPI\n\non:\n  push:\n    tags:\n      - '*'\n\npermissions:\n  contents: read\n\njobs:\n  build-n-publish-testpypi:\n    name: Build and publish Python 🐍 distributions 📦 to TestPyPI\n    runs-on: ubuntu-latest\n    environment: staging\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          disable-sudo: true\n          egress-policy: block\n          allowed-endpoints: >\n            files.pythonhosted.org:443\n            github.com:443\n            pypi.org:443\n            test.pypi.org:443\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Install packaging libraries\n        run: pip install flit\n      - name: Build a binary wheel and a source tarball\n        run: flit build\n      - name: Publish distribution 📦 to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n", "state": "active", "repository": "cshs-cwra/ravenpy"}
{"mined_at": "2024-07-15T16:59:42.497692", "created_at": "2023-08-01T17:03:47+02:00", "updated_at": "2023-08-01T17:03:47+02:00", "name": "DangerJS Check", "path": ".github/workflows/dangerjs_pr_checks.yml", "contents": "name: DangerJS Check\non:\n  pull_request_target:\n    types: [opened, edited, reopened, synchronize]\n\npermissions:\n  pull-requests: write\n  contents: write\n\n\njobs:\n  pull-request-style-linter:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out PR head\n      uses: actions/checkout@v3\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n\n    - name: DangerJS pull request linter\n      uses: espressif/github-actions/danger_pr_review@master\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "espressif/idf-component-manager"}
{"mined_at": "2024-07-15T16:59:43.545709", "created_at": "2021-09-13T15:06:31+02:00", "updated_at": "2021-09-13T15:06:31+02:00", "name": "Sync issue comments to JIRA", "path": ".github/workflows/issue_comment.yml", "contents": "name: Sync issue comments to JIRA\n\n# This workflow will be triggered when new issue comment is created (including PR comments)\non: issue_comment\n\njobs:\n  sync_issue_comments_to_jira:\n    name: Sync Issue Comments to Jira\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - name: Sync issue comments to JIRA\n        uses: espressif/github-actions/sync_issues_to_jira@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          JIRA_PASS: ${{ secrets.JIRA_PASS }}\n          JIRA_PROJECT: PACMAN\n          JIRA_COMPONENT: GitHub\n          JIRA_URL: ${{ secrets.JIRA_URL }}\n          JIRA_USER: ${{ secrets.JIRA_USER }}\n", "state": "active", "repository": "espressif/idf-component-manager"}
{"mined_at": "2024-07-15T16:59:44.558106", "created_at": "2021-09-13T15:06:31+02:00", "updated_at": "2021-09-13T15:06:31+02:00", "name": "Sync issues to Jira", "path": ".github/workflows/new_issues.yml", "contents": "name: Sync issues to Jira\n\n# This workflow will be triggered when a new issue is opened\non: issues\n\njobs:\n  sync_issues_to_jira:\n    name: Sync issues to Jira\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - name: Sync GitHub issues to Jira project\n        uses: espressif/github-actions/sync_issues_to_jira@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          JIRA_PASS: ${{ secrets.JIRA_PASS }}\n          JIRA_PROJECT: PACMAN\n          JIRA_COMPONENT: GitHub\n          JIRA_URL: ${{ secrets.JIRA_URL }}\n          JIRA_USER: ${{ secrets.JIRA_USER }}\n", "state": "active", "repository": "espressif/idf-component-manager"}
{"mined_at": "2024-07-15T16:59:45.794974", "created_at": "2021-09-13T15:06:31+02:00", "updated_at": "2021-09-13T15:06:31+02:00", "name": "Sync remain PRs to Jira", "path": ".github/workflows/new_prs.yml", "contents": "name: Sync remain PRs to Jira\n\n# This workflow will be triggered every hour, to sync remaining PRs (i.e. PRs with zero comment) to Jira project\n# Note that, PRs can also get synced when new PR comment is created\non:\n  schedule:\n    - cron: \"0 * * * *\"\n\njobs:\n  sync_prs_to_jira:\n    name: Sync PRs to Jira\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - name: Sync PRs to Jira project\n        uses: espressif/github-actions/sync_issues_to_jira@master\n        with:\n          cron_job: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          JIRA_PASS: ${{ secrets.JIRA_PASS }}\n          JIRA_PROJECT: PACMAN\n          JIRA_COMPONENT: GitHub\n          JIRA_URL: ${{ secrets.JIRA_URL }}\n          JIRA_USER: ${{ secrets.JIRA_USER }}\n", "state": "active", "repository": "espressif/idf-component-manager"}
{"mined_at": "2024-07-15T16:59:48.095572", "created_at": "2023-12-26T22:45:04+01:00", "updated_at": "2024-01-24T22:37:02+01:00", "name": "Dependabot auto-merge", "path": ".github/workflows/dependabot-auto-merge.yml", "contents": "name: Dependabot auto-merge\non: pull_request_target\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: github.actor == 'dependabot[bot]'\n    steps:\n      - name: Generate token\n        id: app-token\n        uses: actions/create-github-app-token@v1\n        with:\n          app-id: ${{ secrets.CI_BOT_APP_ID }}\n          private-key: ${{ secrets.CI_BOT_PRIVATE_KEY }}\n\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v2\n        with:\n          github-token: \"${{ steps.app-token.outputs.token }}\"\n\n      - name: Approve a PR\n        run: gh pr review --approve \"$PR_URL\"\n        env:\n          PR_URL: ${{ github.event.pull_request.html_url }}\n          GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}\n\n      - name: Enable auto-merge for Dependabot PRs\n        run: gh pr merge --auto --squash \"$PR_URL\"\n        env:\n          PR_URL: ${{ github.event.pull_request.html_url }}\n          GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}\n", "state": "active", "repository": "py-mine/mcstatus"}
{"mined_at": "2024-07-15T16:59:49.146191", "created_at": "2024-05-24T01:02:51+02:00", "updated_at": "2024-05-25T18:10:40+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\n# Cancel already running workflows if new ones are scheduled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  validation:\n    uses: ./.github/workflows/validation.yml\n\n  unit-tests:\n    uses: ./.github/workflows/tox-test.yml\n\n  # Produce a pull request payload artifact with various data about the\n  # pull-request event (such as the PR number, title, author, ...).\n  # This data is then be picked up by status-embed.yml action.\n  pr_artifact:\n    name: Produce Pull Request payload artifact\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Prepare Pull Request Payload artifact\n        id: prepare-artifact\n        if: always() && github.event_name == 'pull_request'\n        continue-on-error: true\n        run: cat $GITHUB_EVENT_PATH | jq '.pull_request' > pull_request_payload.json\n\n      - name: Upload a Build Artifact\n        if: always() && steps.prepare-artifact.outcome == 'success'\n        continue-on-error: true\n        uses: actions/upload-artifact@v4\n        with:\n          name: pull-request-payload\n          path: pull_request_payload.json\n", "state": "active", "repository": "py-mine/mcstatus"}
{"mined_at": "2024-07-15T16:59:50.197084", "created_at": "2023-07-02T21:17:20+02:00", "updated_at": "2023-07-02T21:17:20+02:00", "name": "Publish to PyPi", "path": ".github/workflows/publish.yml", "contents": "name: Publish to PyPi\n\non:\n  push:\n    tags:\n      # This pattern is not a typical regular expression, see:\n      # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet\n      - \"v*\"\n\npermissions:\n  id-token: write # Used to authenticate to PyPI via OIDC.\n  contents: read\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment: release\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup poetry\n        id: poetry_setup\n        uses: ItsDrike/setup-poetry@v1\n        with:\n          python-version: 3.12\n          install-args: \"--with release\"\n\n      - name: Prepare pyproject.toml with dynamic version\n        run: poetry run poetry-dynamic-versioning\n\n      - name: Build package\n        run: poetry build\n\n      # This uses PyPI's trusted publishing, so no token is required\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "py-mine/mcstatus"}
{"mined_at": "2024-07-15T16:59:51.295530", "created_at": "2022-02-22T01:09:56+01:00", "updated_at": "2022-02-22T01:09:56+01:00", "name": "Status Embed", "path": ".github/workflows/status_embed.yml", "contents": "name: Status Embed\n\non:\n  workflow_run:\n    workflows:\n      - CI\n    types:\n      - completed\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  status_embed:\n    name: Send Status Embed to Discord\n    runs-on: ubuntu-latest\n    steps:\n      # A workflow_run event does not contain all the information\n      # we need for a PR embed. That's why we upload an artifact\n      # with that information in the Lint workflow.\n      - name: Get Pull Request Information\n        id: pr_info\n        if: github.event.workflow_run.event == 'pull_request'\n        run: |\n          curl -s -H \"Authorization: token $GITHUB_TOKEN\" ${{ github.event.workflow_run.artifacts_url }} > artifacts.json\n          DOWNLOAD_URL=$(cat artifacts.json | jq -r '.artifacts[] | select(.name == \"pull-request-payload\") | .archive_download_url')\n          [ -z \"$DOWNLOAD_URL\" ] && exit 1\n          curl -sSL -H \"Authorization: token $GITHUB_TOKEN\" -o pull_request_payload.zip $DOWNLOAD_URL || exit 2\n          unzip -p pull_request_payload.zip > pull_request_payload.json\n          [ -s pull_request_payload.json ] || exit 3\n          echo \"pr_author_login=$(jq -r '.user.login // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n          echo \"pr_number=$(jq -r '.number // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n          echo \"pr_title=$(jq -r '.title // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n          echo \"pr_source=$(jq -r '.head.label // empty' pull_request_payload.json)\" >> $GITHUB_OUTPUT\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      # Send an informational status embed to Discord instead of the\n      # standard embeds that Discord sends. This embed will contain\n      # more information and we can fine tune when we actually want\n      # to send an embed.\n      - name: GitHub Actions Status Embed for Discord\n        uses: SebastiaanZ/github-status-embed-for-discord@v0.3.0\n        with:\n          # Our GitHub Actions webhook\n          webhook_id: \"942940470059892796\"\n          webhook_token: ${{ secrets.webhook_token }}\n\n          # We need to provide the information of the workflow that\n          # triggered this workflow instead of this workflow.\n          workflow_name: ${{ github.event.workflow_run.name }}\n          run_id: ${{ github.event.workflow_run.id }}\n          run_number: ${{ github.event.workflow_run.run_number }}\n          status: ${{ github.event.workflow_run.conclusion }}\n          sha: ${{ github.event.workflow_run.head_sha }}\n\n          # Now we can use the information extracted in the previous step:\n          pr_author_login: ${{ steps.pr_info.outputs.pr_author_login }}\n          pr_number: ${{ steps.pr_info.outputs.pr_number }}\n          pr_title: ${{ steps.pr_info.outputs.pr_title }}\n          pr_source: ${{ steps.pr_info.outputs.pr_source }}\n", "state": "active", "repository": "py-mine/mcstatus"}
{"mined_at": "2024-07-15T16:59:52.329607", "created_at": "2022-02-15T01:09:10+01:00", "updated_at": "2022-02-15T01:09:10+01:00", "name": "Tox test", "path": ".github/workflows/tox-test.yml", "contents": "name: Tox test\n\non: workflow_call\n\njobs:\n  tox-test:\n    runs-on: ${{ matrix.platform }}\n\n    strategy:\n      fail-fast: false # Allows for matrix sub-jobs to fail without cancelling the rest\n      matrix:\n        platform: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.12\"]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup poetry\n        id: poetry_setup\n        uses: ItsDrike/setup-poetry@v1\n        with:\n          install-args: \"--with workflow-tox --without lint\"\n          python-version: \"${{ matrix.python-version }}\"\n\n      - name: Test with tox\n        shell: bash\n        run: poetry run tox\n        env:\n          PIP_USER: 0 # We want tox to use it's environments, not user installs\n\n  # This job is used purely to provide a workflow status, which we can mark as a\n  # required action in branch protection rules. This is a better option than marking\n  # the tox-test jobs manually, since their names cnange as the supported python\n  # versions change. This job provides an easy single action that can be marked required.\n  tests-done:\n    needs: [tox-test]\n    if: always() && !cancelled()\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Set status based on required jobs\n        env:\n          RESULTS: ${{ join(needs.*.result, ' ') }}\n        run: |\n          for result in $RESULTS; do\n            if [ \"$result\" != \"success\" ]; then\n              exit 1\n            fi\n          done\n", "state": "active", "repository": "py-mine/mcstatus"}
{"mined_at": "2024-07-15T16:59:53.392296", "created_at": "2022-02-15T01:09:10+01:00", "updated_at": "2022-02-15T01:09:10+01:00", "name": "Validation", "path": ".github/workflows/validation.yml", "contents": "name: Validation\n\non: workflow_call\n\nenv:\n  PRE_COMMIT_HOME: \"/home/runner/.cache/pre-commit\"\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup poetry\n        id: poetry_setup\n        uses: ItsDrike/setup-poetry@v1\n        with:\n          python-version: 3.12\n\n      - name: Pre-commit Environment Caching\n        uses: actions/cache@v4\n        with:\n          path: ${{ env.PRE_COMMIT_HOME }}\n          key:\n            \"precommit-${{ runner.os }}-${{ steps.poetry_setup.outputs.python-version }}-\\\n            ${{ hashFiles('./.pre-commit-config.yaml') }}\"\n          # Restore keys allows us to perform a cache restore even if the full cache key wasn't matched.\n          # That way we still end up saving new cache, but we can still make use of the cache from previous\n          # version.\n          restore-keys: \"precommit-${{ runner.os }}-${{ steps.poetry_setup.outputs-python-version}}-\"\n\n      - name: Run pre-commit hooks\n        run: SKIP=black,isort,ruff,pyright pre-commit run --all-files\n\n      - name: Run ruff linter\n        run: ruff check --output-format=github --show-fixes --exit-non-zero-on-fix .\n\n      - name: Run ruff formatter\n        run: ruff format --diff .\n\n      - name: Run pyright type checker\n        run: pyright .\n", "state": "active", "repository": "py-mine/mcstatus"}
{"mined_at": "2024-07-15T16:59:55.489629", "created_at": "2022-02-10T07:11:34+01:00", "updated_at": "2022-02-14T02:51:07+01:00", "name": "Test", "path": ".github/workflows/test.yaml", "contents": "name: Test\non: push\njobs:\n  macos:\n    name: Test\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        platform: [\"macos-12\", \"ubuntu-22.04\"]\n    runs-on: ${{ matrix.platform }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install dev\n        run: |\n          pip install -r dev-requirements.txt\n      - name: Install latch\n        run: |\n          pip install .\n      - name: Test\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n        run: |\n          pytest -s\n", "state": "active", "repository": "latchbio/latch"}
{"mined_at": "2024-07-15T16:59:56.556086", "created_at": "2024-01-17T02:57:03+01:00", "updated_at": "2024-01-17T02:57:03+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "latchbio/latch"}
{"mined_at": "2024-07-15T16:59:58.803485", "created_at": "2021-11-01T17:33:49+01:00", "updated_at": "2021-11-01T17:33:49+01:00", "name": "Django CI", "path": ".github/workflows/django-ci.yml", "contents": "name: Django CI\n\non:\n  push:\n    branches: [ master, dev ]\n  pull_request:\n    branches: [ master, dev ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.7]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements_debug.txt\n    - name: Run Tests\n      run: coverage run --omit=\"*/migrations/*\",\"slack/api.py\",\"rt/api.py\",\"inventory/*\",\"src/*\" manage.py test\n    - name: Upload Coverage\n      run: coveralls --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_FLAG_NAME: ${{ matrix.python-version }}\n        COVERALLS_PARALLEL: true\n  coveralls:\n    name: Indicate completion to coveralls.io\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n    - name: Finished\n      run: |\n        pip install --upgrade coveralls\n        coveralls --service=github --finish\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "wpi-lnl/lnldb"}
{"mined_at": "2024-07-15T17:00:01.055914", "created_at": "2021-01-09T10:44:54+01:00", "updated_at": "2021-01-09T10:44:54+01:00", "name": "Backwards", "path": ".github/workflows/backwards.yml", "contents": "# This workflow is used to check backwards compatibility\n\nname: Backwards\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Merge environments\n      run: |\n        cp .ci_support/environment.yml environment.yml\n        tail --lines=+4 .ci_support/environment-notebooks.yml >> environment.yml\n    - name: Setup Mambaforge\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: '3.10'\n        miniforge-variant: Mambaforge\n        channels: conda-forge\n        channel-priority: strict\n        activate-environment: my-env\n        environment-file: environment.yml\n        use-mamba: true\n    - name: Test\n      shell: bash -l {0}\n      run: |\n        python .ci_support/pyironconfig.py\n        ./.ci_support/test_backwards.sh\n", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:02.057352", "created_at": "2021-08-03T21:01:48+02:00", "updated_at": "2021-08-09T20:44:12+02:00", "name": "Benchmark tests", "path": ".github/workflows/benchmarks.yml", "contents": "# This workflow is used to run benchmarktests based on the unittest framework\n\nname: Benchmark tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  benchmark:\n    runs-on: ${{ matrix.operating-system }}\n    strategy:\n      matrix:\n        include:\n          - operating-system: macos-latest\n            python-version: '3.12'\n            label: osx-64-py-3-12\n            prefix: /Users/runner/miniconda3/envs/my-env\n\n          - operating-system: windows-latest\n            python-version: '3.12'\n            label: win-64-py-3-12\n            prefix: C:\\Miniconda3\\envs\\my-env\n\n          - operating-system: ubuntu-latest\n            python-version: '3.12'\n            label: linux-64-py-3-12\n            prefix: /usr/share/miniconda3/envs/my-env\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Mambaforge\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          miniforge-variant: Mambaforge\n          channels: conda-forge\n          channel-priority: strict\n          activate-environment: my-env\n          environment-file: .ci_support/environment.yml\n          use-mamba: true\n      - name: Tests\n        shell: bash -l {0}\n        timeout-minutes: 30\n        run: |\n          python .ci_support/pyironconfig.py\n          pip install versioneer[toml]==0.29\n          pip install . --no-deps --no-build-isolation\n          python -m unittest discover test_benchmarks\n", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:03.411130", "created_at": "2022-01-20T11:15:52+01:00", "updated_at": "2022-01-20T12:44:33+01:00", "name": "Black", "path": ".github/workflows/black.yml", "contents": "# This workflow is used to check the differences and find conflict markers or whitespace errors\n\nname: Black\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: psf/black@stable\n      with:\n        options: \"--check --diff\"\n        src: ./${{ github.event.repository.name }}\n", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:04.640261", "created_at": "2021-01-09T10:44:54+01:00", "updated_at": "2021-01-09T10:44:54+01:00", "name": "Code scanning - action", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"Code scanning - action\"\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 23 * * 2'\n\njobs:\n  CodeQL-Build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 2\n\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n      \n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: python\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:05.767107", "created_at": "2023-12-03T16:54:34+01:00", "updated_at": "2023-12-03T16:54:34+01:00", "name": "Update Dependabot", "path": ".github/workflows/dependabot.yml", "contents": "name: Update Dependabot\n\non:\n  pull_request_target:\n    branches: [ main ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: (github.actor == 'dependabot[bot]')\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }} # Check out the head of the actual branch, not the PR\n          fetch-depth: 0 # otherwise, you will fail to push refs to dest repo\n          token: ${{ secrets.DEPENDABOT_WORKFLOW_TOKEN }}\n      - name: UpdateEnvironmentFile\n        shell: bash -l {0}\n        run: |\n          package=$(echo \"${{ github.event.pull_request.title }}\" | awk '{print $2}')\n          from=$(echo \"${{ github.event.pull_request.title }}\" | awk '{print $4}')\n          to=$(echo \"${{ github.event.pull_request.title }}\" | awk '{print $6}')\n          sed -i \"/${package}/s/${from}/${to}/g\" binder/environment.yml\n          sed -i \"/${package}/s/${from}/${to}/g\" .ci_support/environment.yml\n          sed -i \"/${package}/s/${from}/${to}/g\" .ci_support/environment-docs.yml\n      - name: UpdateDependabotPR commit\n        run: |\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git commit -m \"[dependabot skip] Update environment\" -a\n      - name: UpdateDependabotPR push\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.DEPENDABOT_WORKFLOW_TOKEN }}\n          branch: ${{ github.event.pull_request.head.ref }}", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:06.840327", "created_at": "2021-01-09T10:44:54+01:00", "updated_at": "2021-01-09T10:44:54+01:00", "name": "PyPi Release", "path": ".github/workflows/deploy.yml", "contents": "# This workflow is used to upload and deploy a new release to PyPi\n# Based on https://github.com/pypa/gh-action-pypi-publish\n\nname: PyPi Release\n\non:\n    push:\n    pull_request:\n    workflow_dispatch:\n\njobs:\n  build:\n    if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/${{ github.event.repository.name }}\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - uses: conda-incubator/setup-miniconda@v2.2.0\n      with:\n        python-version: \"3.12\"\n        mamba-version: \"*\"\n        channels: conda-forge\n        miniforge-variant: Mambaforge\n        channel-priority: strict\n        auto-update-conda: true\n        environment-file: .ci_support/environment.yml\n    - name: Convert dependencies\n      run: |\n        cp .ci_support/environment-old.yml environment.yml\n        python .ci_support/release.py; cat pyproject.toml\n    - name: Build\n      shell: bash -l {0}\n      run: |\n        pip install versioneer[toml]==0.29\n        python setup.py sdist bdist_wheel\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:08.019535", "created_at": "2022-01-20T11:16:40+01:00", "updated_at": "2022-01-20T12:44:33+01:00", "name": "Format black", "path": ".github/workflows/format_black.yml", "contents": "# This workflow will checkout the branch of the PR, apply black formatting and commit the result to the PR. Does not work for forks.\n\nname: Format black\n\non:\n  pull_request:\n    types: [labeled]\n\njobs:\n  build:\n    if: contains(github.event.pull_request.labels.*.name, 'format_black' )\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        token: ${{ secrets.DEPENDABOT_WORKFLOW_TOKEN }}\n        ref: ${{ github.event.pull_request.head.ref }} # Check out the head of the actual branch, not the PR\n        fetch-depth: 0 # otherwise, you will fail to push refs to dest repo\n    - name: format black\n      uses: psf/black@stable\n      with:\n        options: \"\"\n        src: \"./${{ github.event.repository.name }}\"\n    - name: commit\n      run: |\n        git config --local user.email \"pyiron@mpie.de\"\n        git config --local user.name \"pyiron-runner\"\n        git commit -m \"Format black\" -a\n    - name: push\n      uses: ad-m/github-push-action@master\n      with:\n        github_token: ${{ secrets.DEPENDABOT_WORKFLOW_TOKEN }}\n        branch: ${{ github.event.pull_request.head.ref }}", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:09.250165", "created_at": "2021-03-16T16:37:06+01:00", "updated_at": "2021-03-16T16:37:06+01:00", "name": "Notebooks for Integration Tests", "path": ".github/workflows/integration.yml", "contents": "# This workflow is used to test, if the code is compatible with jupyter notebooks providing usage examples\n\nname: Notebooks for Integration Tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    types: [labeled, opened, synchronize, reopened]\n\njobs:\n  build:\n    if: |\n      github.event_name == 'push' ||\n      ( github.event_name == 'pull_request'  && contains(github.event.pull_request.labels.*.name, 'integration' ))\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Merge environment\n        run: |\n          cp .ci_support/environment.yml environment.yml\n          tail --lines=+4 .ci_support/environment-notebooks.yml >> environment.yml\n      - name: Setup Mambaforge\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: '3.12'\n          miniforge-variant: Mambaforge\n          channels: conda-forge\n          channel-priority: strict\n          activate-environment: my-env\n          environment-file: environment.yml\n          use-mamba: true\n      - name: Test\n        shell: bash -l {0}\n        run: |\n          pip install versioneer[toml]==0.29\n          pip install . --no-deps --no-build-isolation\n          ./.ci_support/build_integration_notebooks.sh\n", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:10.472328", "created_at": "2022-08-09T13:13:03+02:00", "updated_at": "2022-10-11T12:05:41+02:00", "name": "Integration Tests using Unittest", "path": ".github/workflows/integration_unittests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Integration Tests using Unittest\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    types: [labeled, opened, synchronize, reopened]\n\njobs:\n  build:\n    if: |\n      github.event_name == 'push' ||\n      ( github.event_name == 'pull_request'  && contains(github.event.pull_request.labels.*.name, 'integration' ))\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Merge Environments\n      shell: bash -l {0}\n      run: |\n        cp .ci_support/environment.yml environment.yml\n        tail --lines=+4 .ci_support/environment-notebooks.yml >> environment.yml\n    - name: Setup Mambaforge\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: '3.12'\n        miniforge-variant: Mambaforge\n        channels: conda-forge\n        channel-priority: strict\n        activate-environment: my-env\n        environment-file: environment.yml\n        use-mamba: true\n    - name: Tests\n      shell: bash -l {0}\n      run: |\n        pip install versioneer[toml]==0.29\n        pip install . --no-deps --no-build-isolation\n        python -m unittest discover test_integration\n", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:11.605002", "created_at": "2021-09-20T16:52:20+02:00", "updated_at": "2021-09-20T18:32:43+02:00", "name": "Automatic Labeler", "path": ".github/workflows/label_integration.yml", "contents": "# This workflow will triage pull requests and apply a label based on the\n# paths that are modified in the pull request.\n#\n# To use this workflow, you will need to set up a .github/labeler.yml\n# file with configuration.  For more information, see:\n# https://github.com/actions/labeler\n\nname: Automatic Labeler\non: \n  pull_request:\n      branches: [ main ]\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write\n\n    steps:\n    - uses: actions/labeler@v2\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:12.832300", "created_at": "2021-01-09T10:44:54+01:00", "updated_at": "2021-09-08T15:42:34+02:00", "name": "Notebooks", "path": ".github/workflows/notebooks.yml", "contents": "# This workflow is used to test, if the code is compatible with jupyter notebooks providing usage examples\n\nname: Notebooks\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Merge environment\n        run: |\n          cp .ci_support/environment.yml environment.yml\n          tail --lines=+4 .ci_support/environment-notebooks.yml >> environment.yml\n      - name: Setup Mambaforge\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: '3.12'\n          miniforge-variant: Mambaforge\n          channels: conda-forge\n          channel-priority: strict\n          activate-environment: my-env\n          environment-file: environment.yml\n          use-mamba: true\n      - name: Test\n        shell: bash -l {0}\n        run: |\n          pip install versioneer[toml]==0.29\n          pip install . --no-deps --no-build-isolation\n          ./.ci_support/build_notebooks.sh\n", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:13.918987", "created_at": "2021-03-17T09:38:15+01:00", "updated_at": "2021-03-17T09:43:34+01:00", "name": "Pip check", "path": ".github/workflows/pypicheck.yml", "contents": "# This workflow is used to test, if the installation of the pypi package works\n\nname: Pip check\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup Mambaforge\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: '3.12'\n        miniforge-variant: Mambaforge\n        channels: conda-forge\n        channel-priority: strict\n        activate-environment: my-env\n        environment-file: .ci_support/environment.yml\n        use-mamba: true\n    - name: Pip check\n      shell: bash -l {0}\n      run: |\n        pip install versioneer[toml]==0.29\n        pip install . --no-deps --no-build-isolation\n        pip check\n", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:14.945879", "created_at": "2021-01-09T10:44:54+01:00", "updated_at": "2022-09-02T07:20:34+02:00", "name": "Unittests", "path": ".github/workflows/unittests.yml", "contents": "# This workflow is used to run the unittest of pyiron\n\nname: Unittests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.operating-system }}\n    strategy:\n      matrix:\n        include:\n          - operating-system: macos-latest\n            python-version: '3.12'\n            label: osx-64-py-3-12\n            prefix: /Users/runner/miniconda3/envs/my-env\n\n          - operating-system: windows-latest\n            python-version: '3.12'\n            label: win-64-py-3-12\n            prefix: C:\\Miniconda3\\envs\\my-env\n\n          - operating-system: ubuntu-latest\n            python-version: '3.12'\n            label: linux-64-py-3-12\n            prefix: /usr/share/miniconda3/envs/my-env\n\n          - operating-system: ubuntu-latest\n            python-version: '3.11'\n            label: linux-64-py-3-11\n            prefix: /usr/share/miniconda3/envs/my-env\n            \n          - operating-system: ubuntu-latest\n            python-version: '3.10'\n            label: linux-64-py-3-10\n            prefix: /usr/share/miniconda3/envs/my-env\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Mambaforge\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          miniforge-variant: Mambaforge\n          channels: conda-forge\n          channel-priority: strict\n          activate-environment: my-env\n          environment-file: .ci_support/environment.yml\n          use-mamba: true\n      - name: Test\n        shell: bash -l {0}\n        timeout-minutes: 30\n        run: |\n          python .ci_support/pyironconfig.py\n          pip install versioneer[toml]==0.29\n          pip install . --no-deps --no-build-isolation\n          coverage run --omit=\"pyiron_atomistics/_version.py,tests/*\" -m unittest discover tests\n          coverage xml\n      - name: Coveralls\n        if: matrix.label == 'linux-64-py-3-12'\n        uses: coverallsapp/github-action@v2\n      - name: Codacy\n        if:  matrix.label == 'linux-64-py-3-12' && github.event_name != 'push'\n        continue-on-error: True\n        shell: bash -l {0}\n        run: |\n          python-codacy-coverage -r coverage.xml\n", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:16.007474", "created_at": "2023-12-03T10:56:51+01:00", "updated_at": "2023-12-03T12:58:32+01:00", "name": "Unittest Lower Bound", "path": ".github/workflows/unittests_old.yml", "contents": "name: Unittest Lower Bound\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup Mambaforge\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: '3.10'\n        miniforge-variant: Mambaforge\n        channels: conda-forge\n        channel-priority: strict\n        activate-environment: my-env\n        environment-file: .ci_support/environment-old.yml\n        use-mamba: true\n    - name: Test\n      shell: bash -l {0}\n      timeout-minutes: 30\n      run: |\n        python .ci_support/pyironconfig.py\n        pip install versioneer[toml]==0.29\n        pip install . --no-deps --no-build-isolation\n        python -m unittest discover tests\n", "state": "active", "repository": "pyiron/pyiron_atomistics"}
{"mined_at": "2024-07-15T17:00:18.287604", "created_at": "2021-12-22T20:53:49+01:00", "updated_at": "2023-06-15T21:34:16+02:00", "name": "Publish Python 🐍 distribution 📦 to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Publish Python 🐍 distribution 📦 to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v3\n      - name: Install poetry\n        run: python -m pip install poetry\n      - name: Publish package\n        env:\n          PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n        run: |\n          poetry config pypi-token.pypi $PYPI_TOKEN\n          poetry publish --build\n", "state": "active", "repository": "injectivelabs/sdk-python"}
{"mined_at": "2024-07-15T17:00:19.410973", "created_at": "2023-09-19T15:50:49+02:00", "updated_at": "2023-09-20T20:31:42+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\non:\n  pull_request:\n  push:\n    branches: [master, dev]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n\n      - name: Install poetry\n        run: python -m pip install poetry\n      - name: Cache the virtualenv\n        id: cache-venv\n        uses: actions/cache@v3\n        with:\n          path: ./.venv\n          key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: python -m poetry install\n\n      - name: Run pre-commit\n        run: |\n          python -m poetry run pre-commit run --show-diff-on-failure --color=always --all-files\n        shell: bash\n", "state": "active", "repository": "injectivelabs/sdk-python"}
{"mined_at": "2024-07-15T17:00:20.506942", "created_at": "2023-09-19T21:20:55+02:00", "updated_at": "2023-09-20T20:31:42+02:00", "name": "run-tests", "path": ".github/workflows/run-tests.yml", "contents": "name: run-tests\non:\n  pull_request:\n  push:\n    branches: [master, dev]\n\njobs:\n  run-tests:\n    strategy:\n      matrix:\n        python: [\"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest, macos-13, windows-latest]\n    runs-on: ${{ matrix.os }}\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install poetry\n        run: python -m pip install poetry\n      - name: Cache the virtualenv\n        id: cache-venv\n        uses: actions/cache@v4\n        with:\n          path: ./.venv\n          key: ${{ runner.os }}-${{ matrix.python }}-venv-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: python -m poetry install\n\n      - name: Run tests and Generate coverage\n        run: |\n          poetry run pytest --cov --cov-report=xml\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          env_vars: OS,PYTHON\n", "state": "active", "repository": "injectivelabs/sdk-python"}
{"mined_at": "2024-07-15T17:00:22.595346", "created_at": "2021-08-20T17:52:55+02:00", "updated_at": "2021-08-20T17:52:55+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  schedule:\n    - cron: '39 0 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "acenglish/truvari"}
{"mined_at": "2024-07-15T17:00:23.608375", "created_at": "2021-08-17T03:45:22+02:00", "updated_at": "2021-08-17T10:07:39+02:00", "name": "FuncTests", "path": ".github/workflows/func_tests.yml", "contents": "name: FuncTests\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n      - name: Set up Python 3.10.4\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.10.4\n      - name: Cache python\n        uses: actions/cache@v3\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --upgrade pip setuptools\n          python3 -m pip install Cython pylint anybadge coverage\n          python3 -m pip install .\n      - name: Running ssshtest\n        run: |\n          TMPDIR=`pwd` bash repo_utils/truvari_ssshtests.sh\n      - name: Uploading coverage\n        uses: actions/upload-artifact@v3\n        with:\n          name: htmlcov\n          path: test_results/htmlcov\n      - name: Commit README\n        run: |\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git commit -m \"Update coverage score\" -a || echo \"No changes to commit\"\n      - name: Push README\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ github.ref }}\n", "state": "active", "repository": "acenglish/truvari"}
{"mined_at": "2024-07-15T17:00:24.710721", "created_at": "2021-08-06T01:34:17+02:00", "updated_at": "2022-10-05T02:21:20+02:00", "name": "pylint", "path": ".github/workflows/pylint.yml", "contents": "name: pylint\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n      - name: Set up Python 3.10.4\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.10.4\n      - name: Cache python\n        uses: actions/cache@v3\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pylint==2.14\n          pip install anybadge\n          python -m pip install .\n      - name: Analysing the code with pylint\n        run: |\n          python repo_utils/pylint_maker.py\n      - name: Commit README\n        run: |\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git commit -m \"Update pylint score\" -a || echo \"No changes to commit\"\n      - name: Push README\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: ${{ github.ref }}\n", "state": "active", "repository": "acenglish/truvari"}
{"mined_at": "2024-07-15T17:00:25.763772", "created_at": "2021-08-14T21:41:09+02:00", "updated_at": "2021-08-14T22:08:07+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Tag or branch to build'\n        required: true\n      skip_test:\n        description: 'Type \"skip\" to bypass test.pypi push'\n        required: true\n        default: run\n      official:\n        description: 'Type \"PUBLISH TO PYPI\" to do an official pypi release'\n        required: true\n        default: test\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.inputs.branch }}\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pylint\n          pip install anybadge\n          python -m pip install .\n      - name: Build the release tarball\n        run: |\n          python -m pip install --upgrade pip setuptools wheel build\n          python3 -m build --wheel --sdist\n      - name: Publish distribution 📦 to Test PyPI\n        if: github.event.inputs.skip_test != 'skip'\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n      - name: Archive release tarball\n        uses: actions/upload-artifact@v2\n        with:\n          name: release-tarball\n          path: dist/truvari*.tar.gz\n          # if-no-files-found: ignore\n      - name: Publish distribution 📦 to PyPI\n        if: github.event.inputs.official == 'PUBLISH TO PYPI'\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "acenglish/truvari"}
{"mined_at": "2024-07-15T17:00:27.914454", "created_at": "2020-12-16T11:09:46+01:00", "updated_at": "2020-12-16T14:38:51+01:00", "name": "Python", "path": ".github/workflows/python.yml", "contents": "name: Python\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - \"**\"\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  lint_and_tests:\n    name: Lint and tests\n    env:\n      DJANGO_SETTINGS_MODULE: backend.settings.test\n      SRC_DIRS: backend metrics-exporter fixtures\n      BACKEND_DB_NAME: backend_default\n      BACKEND_DB_USER: backend\n      BACKEND_DB_PWD: backend\n      BACKEND_DB_HOST: localhost\n      BACKEND_DB_PORT: 5432\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_DB: backend_default\n          POSTGRES_USER: backend\n          POSTGRES_PASSWORD: backend\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - uses: actions/cache@v4.0.2\n        id: cache\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade --upgrade-strategy eager -r backend/dev-requirements.txt\n      - name: Check formatting - Black\n        run: |\n          black --check --diff $SRC_DIRS\n      - name: Check formatting - isort\n        run: |\n          isort --check $SRC_DIRS\n      - name: Lint\n        run: |\n          flake8 $SRC_DIRS\n      - name: Check security - Bandit\n        run: bandit --ini=.bandit\n      - name: Mypy\n        run: mypy backend/substrapp/tasks/\n      - name: Check for missing Django migrations\n        run: |\n          # If this fails, please run `make migrations` and commit the results\n          make check-migrations\n      - name: Check documentation\n        run: python tools/build_settings_doc.py --check\n      - name: Test\n        run: |\n          cd backend/\n          pytest\n", "state": "active", "repository": "substra/substra-backend"}
{"mined_at": "2024-07-15T17:00:29.113935", "created_at": "2020-12-16T14:13:27+01:00", "updated_at": "2023-10-19T15:49:05+02:00", "name": "Helm", "path": ".github/workflows/helm.yml", "contents": "name: Helm\n\non:\n  push:\n    branches:\n      - \"main\"\n    paths:\n      - \"charts/**\"\n  pull_request:\n    branches:\n      - \"main\"\n    paths:\n      - \"charts/**\"\n  workflow_dispatch:\n    inputs:\n      publish-alpha:\n        description: |\n          Publish alpha chart. Chart version must be X.Y.Z-alpha.N.\n        type: boolean\n        required: false\n        default: false\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\njobs:\n  test-generate-publish:\n      uses: substra/substra-gha-workflows/.github/workflows/helm.yml@main\n      secrets: inherit\n      with:\n        helm-repositories: '[{\"name\": \"bitnami\", \"url\": \"https://charts.bitnami.com/bitnami\"},{\"name\": \"std-helm\", \"url\": \"https://charts.helm.sh/stable\"},{\"name\": \"twumi\", \"url\": \"https://helm.twun.io\"},{\"name\": \"localstack\", \"url\": \"https://localstack.github.io/helm-charts\"}]'\n        publish-alpha: ${{ inputs.publish-alpha == true }}\n", "state": "active", "repository": "substra/substra-backend"}
{"mined_at": "2024-07-15T17:00:30.342226", "created_at": "2022-09-05T10:37:39+02:00", "updated_at": "2023-11-03T11:21:07+01:00", "name": "Conventional PR title", "path": ".github/workflows/conventional-pr.yml", "contents": "name: \"Conventional PR title\"\n\non:\n  pull_request:\n    branches:\n      - \"main\"\n    types:\n      - opened\n      - edited\n      - synchronize\n\njobs:\n  conventional_title:\n    uses: substra/substra-gha-workflows/.github/workflows/conventional-pr.yml@main\n    secrets:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n\n", "state": "active", "repository": "substra/substra-backend"}
{"mined_at": "2024-07-15T17:00:31.470362", "created_at": "2022-09-05T10:37:39+02:00", "updated_at": "2022-09-05T10:37:39+02:00", "name": "Sub PR title", "path": ".github/workflows/sub-pr-title.yml", "contents": "name: \"Sub PR title\"\n\non:\n  pull_request:\n    branches:\n      - '**'\n      - '!main'\n    types:\n      - opened\n      - edited\n      - synchronize\n\njobs:\n  sub_pr_title:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: deepakputhraya/action-pr-title@master\n        with:\n          allowed_prefixes: '[sub]'\n          prefix_case_sensitive: false\n", "state": "active", "repository": "substra/substra-backend"}
{"mined_at": "2024-07-15T17:00:32.699590", "created_at": "2022-09-12T13:48:25+02:00", "updated_at": "2022-09-12T13:48:25+02:00", "name": "Pull request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull request Labeler\"\non:\n  - pull_request_target\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v5\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        sync-labels: true\n", "state": "active", "repository": "substra/substra-backend"}
{"mined_at": "2024-07-15T17:00:33.927041", "created_at": "2022-09-22T14:43:59+02:00", "updated_at": "2022-09-28T11:18:17+02:00", "name": "Test migrations", "path": ".github/workflows/migration.yml", "contents": "name: \"Test migrations\"\n\non:\n  pull_request:\n    paths:\n    - 'backend/**/migrations/**'\n\nenv:\n  DJANGO_SETTINGS_MODULE: backend.settings.test\n  BACKEND_DB_NAME: backend_default\n  BACKEND_DB_USER: backend\n  BACKEND_DB_PWD: backend\n  BACKEND_DB_HOST: localhost\n  BACKEND_DB_PORT: 5432\njobs:\n  test-migration:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_DB: backend_default\n          POSTGRES_USER: backend\n          POSTGRES_PASSWORD: backend\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: main\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - uses: actions/cache@v4.0.2\n        id: cache\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade --upgrade-strategy eager -r backend/dev-requirements.txt\n      - name: Run initial migration and feed data\n        run: |\n          cd backend\n          python manage.py migrate\n          python manage.py generate_fixtures\n          echo fixture generated\n      - name: Checkout local branch\n        uses: actions/checkout@v4\n      - name: Update requirements\n        run: |\n          pip install --upgrade --upgrade-strategy eager -r backend/dev-requirements.txt\n      - name: Test migration\n        run: |\n          python backend/manage.py migrate\n", "state": "active", "repository": "substra/substra-backend"}
{"mined_at": "2024-07-15T17:00:35.003153", "created_at": "2023-04-28T18:26:00+02:00", "updated_at": "2023-05-11T10:27:52+02:00", "name": "Docker build", "path": ".github/workflows/docker-build.yaml", "contents": "name: Docker build\non:\n  workflow_dispatch:\n    inputs:\n      force-publish:\n        description: Force publishing the image\n        type: boolean\n        default: false\n        required: false\n  push:\n    branches: [main]\n  release:\n    types: [published, edited]\n  pull_request:\n    branches: [main]\n\nconcurrency: \n  group: \"${{ github.workflow_ref }} - ${{ github.ref }} - ${{ github.event_name }}\"\n  cancel-in-progress: true\n\njobs:\n  backend:\n    uses: substra/substra-gha-workflows/.github/workflows/docker-build.yaml@main\n    with:\n      image: substra-backend\n      force-publish: ${{ github.event.inputs.force-publish || false }}\n  \n  ca-cert-injector:\n    uses: substra/substra-gha-workflows/.github/workflows/docker-build.yaml@main\n    with:\n      image: substra-backend-ca-cert-injector\n      image-folder: ca-cert-injector\n      force-publish: ${{ github.event.inputs.force-publish || false }}\n\n  metrics-exporter:\n    uses: substra/substra-gha-workflows/.github/workflows/docker-build.yaml@main\n    with:\n      image: substra-backend-metrics-exporter\n      image-folder: metrics-exporter\n      force-publish: ${{ github.event.inputs.force-publish || false }}\n", "state": "active", "repository": "substra/substra-backend"}
{"mined_at": "2024-07-15T17:00:36.038436", "created_at": "2023-04-24T18:51:18+02:00", "updated_at": "2024-04-11T12:10:52+02:00", "name": "Docker build", "path": ".github/workflows/build.yaml", "contents": null, "state": "disabled_manually", "repository": "substra/substra-backend"}
{"mined_at": "2024-07-15T17:00:38.212017", "created_at": "2021-08-04T19:54:05+02:00", "updated_at": "2021-08-04T19:54:05+02:00", "name": "Deployment", "path": ".github/workflows/deploy.yml", "contents": "# This code is part of Qiskit.\n#\n# (C) Copyright IBM 2021.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: Deployment\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  Deploy:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    strategy:\n      matrix:\n        python-version: [3.9]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install deps\n        run: pip install -U pip setuptools build\n      - name: Build sdist\n        run: python3 -m build\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./dist/*\n      - name: Deploy to Pypi\n        uses: pypa/gh-action-pypi-publish@release/v1", "state": "active", "repository": "qiskit/qiskit-ibm-provider"}
{"mined_at": "2024-07-15T17:00:39.257262", "created_at": "2021-10-08T04:11:39+02:00", "updated_at": "2024-01-26T17:23:47+01:00", "name": "Docs Upload", "path": ".github/workflows/docs.yml", "contents": "---\nname: Docs Upload\non:\n  push:\n    tags:\n      - \"*\"\n  workflow_dispatch:\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9.12'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U virtualenv setuptools wheel tox\n        sudo apt-get install -y graphviz pandoc\n    - name: Build docs\n      run: tox -e docs\n    - name: Upload artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: html_docs\n        path: docs/_build/html\n", "state": "active", "repository": "qiskit/qiskit-ibm-provider"}
{"mined_at": "2024-07-15T17:00:40.394053", "created_at": "2022-03-02T14:58:13+01:00", "updated_at": "2022-03-04T05:43:14+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "# This code is part of Qiskit.\n#\n# (C) Copyright IBM 2021.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: CI\non:\n  [ push, pull_request ]\n# save resources: cancel redundant workflow runs on the same branch when new commits are pushed\nconcurrency:\n  group: ci-${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  code-quality:\n    if: github.repository_owner == 'Qiskit'\n    name: Run code quality checks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -r requirements-dev.txt -e .\n      - name: Run black\n        run: make style\n      - name: Run lint\n        run: make lint\n      - name: Run mypy\n        run: make mypy\n  documentation:\n    if: github.repository_owner == 'Qiskit'\n    name: Build documentation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -U tox\n          sudo apt install -y graphviz pandoc\n          pip install -c constraints.txt -e .\n      - name: Build documentation\n        run: tox -edocs\n      - name: Upload documentation\n        uses: actions/upload-artifact@v4\n        with:\n          name: html_docs\n          path: docs/_build/html\n  unit-tests:\n    if: github.repository_owner == 'Qiskit'\n    # only kick-off test cases when basic code quality checks succeed\n    needs: [ \"code-quality\" , \"documentation\" ]\n    name: Run unit tests - python${{ matrix.python-version }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [ 3.8, 3.9, '3.10', '3.11']\n        os: [ \"macOS-latest\", \"ubuntu-latest\", \"windows-latest\" ]\n    env:\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -r requirements-dev.txt -e .\n      - name: Run unit tests\n        run: make unit-test-coverage\n      - name: Report coverage to coveralls.io\n        uses: coverallsapp/github-action@v2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          flag-name: unit-tests_python${{ matrix.python-version }}-${{ matrix.os }}\n          parallel: true\n          file: coverage.lcov\n  integration-tests-1:\n    if: github.event_name == 'push' && github.repository_owner == 'Qiskit'\n    # only kick-off resource intensive integration tests if unit tests and all basic checks succeeded\n    needs: [ \"unit-tests\" ]\n    name: Run integration tests 1 - ${{ matrix.environment }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # avoid cancellation of in-progress jobs if any matrix job fails\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n        os: [ \"ubuntu-latest\" ]\n        environment: [ \"ibm-quantum-production\" ]\n    environment: ${{ matrix.environment }}\n    env:\n      QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}\n      QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}\n      QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE }}\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -e . -r requirements-dev.txt\n      - name: Run integration tests 1\n        run: make integration-test-1\n  integration-tests-2:\n    if: github.event_name == 'push' && github.repository_owner == 'Qiskit'\n    # only kick-off resource intensive integration tests if unit tests and all basic checks succeeded\n    needs: [ \"unit-tests\" ]\n    name: Run integration tests 2 - ${{ matrix.environment }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # avoid cancellation of in-progress jobs if any matrix job fails\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n        os: [ \"ubuntu-latest\" ]\n        environment: [ \"ibm-quantum-production\" ]\n    environment: ${{ matrix.environment }}\n    env:\n      QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}\n      QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}\n      QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE }}\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -e . -r requirements-dev.txt\n      - name: Run integration tests 2\n        run: make integration-test-2\n  integration-tests-3:\n    if: github.event_name == 'push' && github.repository_owner == 'Qiskit'\n    # only kick-off resource intensive integration tests if unit tests and all basic checks succeeded\n    needs: [ \"unit-tests\" ]\n    name: Run integration tests 3 - ${{ matrix.environment }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # avoid cancellation of in-progress jobs if any matrix job fails\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n        os: [ \"ubuntu-latest\" ]\n        environment: [ \"ibm-quantum-production\" ]\n    environment: ${{ matrix.environment }}\n    env:\n      QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}\n      QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}\n      QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE }}\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -e . -r requirements-dev.txt\n      - name: Run integration tests 3\n        run: make integration-test-3\n  tests-finished:\n    if: github.repository_owner == 'Qiskit'\n    name: Submit code coverage metrics\n    needs: [ unit-tests ]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Notify coveralls.io that all parallel tests have finished\n        uses: coverallsapp/github-action@v2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          parallel-finished: true\n", "state": "active", "repository": "qiskit/qiskit-ibm-provider"}
{"mined_at": "2024-07-15T17:00:41.710139", "created_at": "2022-03-16T06:28:13+01:00", "updated_at": "2024-06-19T07:04:50+02:00", "name": "Integration Tests", "path": ".github/workflows/integration-tests.yml", "contents": "# This code is part of Qiskit.\n#\n# (C) Copyright IBM 2021.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: Integration Tests\non:\n  schedule:\n    - cron: '0 5 * * *'\n  # allow everyone with write access to the repository to trigger the workflow run manually\n  workflow_dispatch:\njobs:\n  integration-tests-1:\n    if: github.repository_owner == 'Qiskit'\n    name: Run integration tests 1 - ${{ matrix.environment }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # avoid cancellation of in-progress jobs if any matrix job fails\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n        os: [ \"ubuntu-latest\" ]\n        environment: [ \"ibm-quantum-production\", \"ibm-quantum-staging\" ]\n    environment: ${{ matrix.environment }}\n    env:\n      QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}\n      QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}\n      QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE }}\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -e . -r requirements-dev.txt\n      - name: Run integration tests 1\n        run: make integration-test-1\n  integration-tests-2:\n    if: github.repository_owner == 'Qiskit'\n    name: Run integration tests 2 - ${{ matrix.environment }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # avoid cancellation of in-progress jobs if any matrix job fails\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n        os: [ \"ubuntu-latest\" ]\n        environment: [ \"ibm-quantum-production\", \"ibm-quantum-staging\" ]\n    environment: ${{ matrix.environment }}\n    env:\n      QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}\n      QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}\n      QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE }}\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -e . -r requirements-dev.txt\n      - name: Run integration tests 2\n        run: make integration-test-2\n  integration-tests-3:\n    if: github.repository_owner == 'Qiskit'\n    name: Run integration tests 3 - ${{ matrix.environment }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # avoid cancellation of in-progress jobs if any matrix job fails\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n        os: [ \"ubuntu-latest\" ]\n        environment: [ \"ibm-quantum-production\", \"ibm-quantum-staging\" ]\n    environment: ${{ matrix.environment }}\n    env:\n      QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}\n      QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}\n      QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE }}\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .\n          pip install -r requirements-dev.txt\n      - name: Run integration tests 3\n        run: make integration-test-3\n", "state": "disabled_inactivity", "repository": "qiskit/qiskit-ibm-provider"}
{"mined_at": "2024-07-15T17:00:42.836399", "created_at": "2022-04-05T11:05:13+02:00", "updated_at": "2024-06-19T10:06:24+02:00", "name": "E2E Tests", "path": ".github/workflows/e2e-tests.yml", "contents": "# This code is part of Qiskit.\n#\n# (C) Copyright IBM 2022.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: E2E Tests\non:\n  schedule:\n    - cron: '0 8 * * *'\n  # allow everyone with write access to the repository to trigger the workflow run manually\n  workflow_dispatch:\njobs:\n  e2e-tests:\n    if: github.repository_owner == 'Qiskit'\n    name: Run e2e tests - ${{ matrix.environment }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # avoid cancellation of in-progress jobs if any matrix job fails\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n        os: [ \"ubuntu-latest\" ]\n        environment: [ \"ibm-quantum-production\", \"ibm-quantum-staging\"]\n    environment: ${{ matrix.environment }}\n    env:\n      QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}\n      QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}\n      QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE }}\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -e . -r requirements-dev.txt\n      - name: Run e2e tests\n        run: make e2e-test\n", "state": "disabled_inactivity", "repository": "qiskit/qiskit-ibm-provider"}
{"mined_at": "2024-07-15T17:00:43.861614", "created_at": "2022-04-20T01:27:30+02:00", "updated_at": "2024-06-19T07:04:30+02:00", "name": "Unit Tests", "path": ".github/workflows/unit-tests-terra-main.yml", "contents": "# This code is part of Qiskit.\n#\n# (C) Copyright IBM 2022.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: Unit Tests\non:\n  schedule:\n    - cron: '0 5 * * *'\n  workflow_dispatch:\njobs:\n  unit-tests-latest-qiskit-terra:\n    if: github.repository_owner == 'Qiskit'\n    name: Run unit tests with latest code of Qiskit\n    runs-on: \"ubuntu-latest\"\n    env:\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          # Install all in one go to force pip's resolver to avoid invalid states.\n          pip install -c constraints.txt -e . -r requirements-dev.txt git+https://github.com/Qiskit/qiskit.git\n      - name: Run tests\n        # running unit tests against latest (non-released) code of qiskit-terra gives a basic level\n        # of confidence that the integration between qiskit-ibm-provider and qiskit-terra works\n        run: make unit-test\n", "state": "disabled_inactivity", "repository": "qiskit/qiskit-ibm-provider"}
{"mined_at": "2024-07-15T17:00:46.218131", "created_at": "2023-09-25T17:51:39+02:00", "updated_at": "2023-09-28T18:01:09+02:00", "name": "Publish Docker image", "path": ".github/workflows/docker.yaml", "contents": "name: Publish Docker image\n\non:\n  release:\n    types: [published]\n\njobs:\n  push_to_registry:\n    name: Build and push Docker image to Docker Hub\n    runs-on: docker_image_build_runner\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n\n      - name: Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: deepdoctection/deepdoctection\n          tags: |\n            # branch event\n            type=ref,event=branch\n            # tag event\n            type=ref,event=tag\n            # pull request event\n            # minimal\n            type=semver,pattern={{major}}.{{minor}}\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: docker/pytorch-gpu/Dockerfile\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "deepdoctection/deepdoctection"}
{"mined_at": "2024-07-15T17:00:47.339357", "created_at": "2022-09-29T11:10:18+02:00", "updated_at": "2023-09-28T18:01:09+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  pypi-check:\n    if: \"!github.event.release.prerelease\"\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n        architecture: x64\n\n    - name: Install package\n      run: |\n           python3 -m pip install --upgrade pip\n           pip install deepdoctection\n           python -c \"import deepdoctection; print(deepdoctection.__version__)\"", "state": "active", "repository": "deepdoctection/deepdoctection"}
{"mined_at": "2024-07-15T17:00:48.572448", "created_at": "2022-03-24T22:52:41+01:00", "updated_at": "2023-12-22T18:15:26+01:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '43 13 * * *'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'Stale issue message'\n        stale-pr-message: 'Stale pull request message'\n        stale-issue-label: 'no-issue-activity'\n        stale-pr-label: 'no-pr-activity'\n        only-labels: 'answered'", "state": "active", "repository": "deepdoctection/deepdoctection"}
{"mined_at": "2024-07-15T17:00:49.798886", "created_at": "2022-10-23T17:47:26+02:00", "updated_at": "2022-10-23T20:10:00+02:00", "name": "style", "path": ".github/workflows/style.yaml", "contents": "name: style\n\non:\n  push:\n    branches:\n        - \"*\"\n  pull_request:\n    branches: [master]\n\njobs:\n  lint:\n    if: \"contains(github.event.head_commit.message, '[force ci]') || github.ref == 'refs/heads/master' || github.event_name == 'pull_request'\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python: [3.9]\n        dll: [\"torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu\"]\n        pip: [24.0]\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: x64\n\n      - name: Install DL library\n        run: |\n             python -m pip install pip==${{ matrix.pip }}\n             pip install ${{ matrix.dll }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install wheel\n          pip install --no-build-isolation detectron2@git+https://github.com/facebookresearch/detectron2.git\n          pip install -e \".[pt]\"\n          pip install -e \".[dev, test]\"\n\n      - name: Run linter\n        run: make lint\n\n  black:\n    if: \"contains(github.event.head_commit.message, '[force ci]') || github.ref == 'refs/heads/master' || github.event_name == 'pull_request'\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python: [3.9]\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: x64\n\n      - name: Run black\n        run: |\n          pip install black==23.7.0\n          make black\n\n  isort:\n    if: \"contains(github.event.head_commit.message, '[force ci]') || github.ref == 'refs/heads/master' || github.event_name == 'pull_request'\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python: [3.9]\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: x64\n\n      - name: Run isort\n        run: |\n          pip install isort==5.13.2\n          make isort\n\n  mypy:\n    if: \"contains(github.event.head_commit.message, '[force ci]') || github.ref == 'refs/heads/master' || github.event_name == 'pull_request'\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python: [3.9]\n        dll: [\"torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu\"]\n        pip: [24.0]\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: x64\n\n      - name: Install DL library\n        run: |\n           python -m pip install pip==${{ matrix.pip }}\n           pip install ${{ matrix.dll }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install wheel\n          pip install --no-build-isolation detectron2@git+https://github.com/facebookresearch/detectron2.git\n          pip install -e \".[pt]\"\n          pip install -e \".[dev, test]\"\n\n      - name: Run mypy\n        run: |\n          make analyze", "state": "active", "repository": "deepdoctection/deepdoctection"}
{"mined_at": "2024-07-15T17:00:50.835262", "created_at": "2022-09-27T16:36:03+02:00", "updated_at": "2022-09-29T11:10:18+02:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "# This workflow will install Python dependencies, run tests\n\nname: Tests\n\non:\n  push:\n    branches:\n      - \"*\"\n  pull_request:\n    branches: [ master ]\n\npermissions:\n  contents: read\n\njobs:\n  tests:\n    if: \"contains(github.event.head_commit.message, '[force ci]') || github.ref == 'refs/heads/master' || github.event_name == 'pull_request'\"\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        include:\n          - { name: '3.9-basic-tf',\n              python: '3.9',\n              pip: '24.0',\n              os: ubuntu-20.04,\n              dll: tensorflow-cpu==2.11,\n              detectron2: false,\n              extras: ,\n              test: test,\n              test_cases: test-basic }\n          - { name: '3.9-basic-pt',\n              python: '3.9',\n              pip: '24.0',\n              os: ubuntu-20.04,\n              dll: 'torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu',\n              detectron2: false,\n              extras: ,\n              test: test,\n              test_cases: test-basic-pt }\n          - { name: '3.9-tf',\n              python: '3.9',\n              pip: '24.0',\n              os: ubuntu-20.04,\n              dll: tensorflow-cpu==2.11,\n              detectron2: false,\n              extras: tf,\n              test: test,\n              test_cases: test-tf }\n          - { name: '3.9-pt',\n              python: '3.9',\n              pip: '24.0',\n              os: ubuntu-20.04,\n              dll: 'torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu',\n              detectron2: true,\n              extras: pt,\n              test: test,\n              test_cases: test-pt }\n          - { name: '3.10-basic-tf',\n              python: '3.10',\n              pip: '24.0',\n              os: ubuntu-22.04,\n              dll: tensorflow-cpu==2.11,\n              detectron2: false,\n              extras: ,\n              test: test,\n              test_cases: test-basic }\n          - { name: '3.10-basic-pt',\n              python: '3.10',\n              pip: '24.0',\n              os: ubuntu-22.04,\n              dll: 'torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu',\n              detectron2: false,\n              extras: ,\n              test: test,\n              test_cases: test-basic-pt }\n          - { name: '3.10-tf',\n              python: '3.10',\n              pip: '24.0',\n              os: ubuntu-22.04,\n              dll: tensorflow-cpu==2.11,\n              detectron2: false,\n              extras: tf,\n              test: test,\n              test_cases: test-tf }\n          - { name: '3.10-pt',\n              python: '3.10',\n              pip: '24.0',\n              os: ubuntu-22.04,\n              dll: 'torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu',\n              detectron2: true,\n              extras: pt,\n              test: test,\n              test_cases: test-pt }\n          - { name: '3.11-pt',\n              python: '3.11',\n              pip: '24.0',\n              os: ubuntu-22.04,\n              dll: 'torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu',\n              detectron2: true,\n              extras: pt,\n              test: test,\n              test_cases: test-pt }\n          #- { name: '3.12-pt',\n          #    python: '3.12',\n          #    pip: '24.0',\n          #    os: ubuntu-22.04,\n          #    dll: 'torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu',\n          #    detectron2: true,\n          #    extras: pt,\n          #    test: test,\n          #    test_cases: test-pt }\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Upgrade pip\n        run: python3 -m pip install pip==${{ matrix.pip }} && \n             python3 -m pip install wheel\n\n      #- name: Install setuptools\n      #  if: matrix.python == '3.12'\n      #  run: python3 -m pip install setuptools\n\n      - name: Install libcap\n        run: sudo apt-get install build-essential libcap-dev\n\n      - name: Set Python version\n        # See https://pre-commit.com/#github-actions-example\n        run: echo \"PY=$(python -VV | sha256sum | cut -d' ' -f1)\" >> $GITHUB_ENV\n\n      - name: Install tesseract and poppler\n        run: sudo apt-get -y update &&\n             sudo apt-get install -y tesseract-ocr tesseract-ocr-deu &&\n             sudo apt-get install poppler-utils\n\n      - name: Install DL library\n        run: pip install ${{ matrix.dll }}\n\n      - name: cd\n        run: cd deepdoctection\n\n      - name: Install detectron2\n        if: matrix.detectron2\n        run: pip install --no-build-isolation detectron2@git+https://github.com/facebookresearch/detectron2.git\n\n      - name: Test deepdoctection package installation\n        if: matrix.extras == ''\n        run: pip install \".\"\n\n      - name: Test deepdoctection with extras package installation\n        if: matrix.extras!= ''\n        run:  pip install \".[${{ matrix.extras }}]\"\n\n      - name: Install test suite\n        run: pip install \".[${{ matrix.test }}]\"\n\n      - name: Run tests\n        run: make ${{ matrix.test_cases }}", "state": "active", "repository": "deepdoctection/deepdoctection"}
{"mined_at": "2024-07-15T17:00:54.099786", "created_at": "2022-09-20T19:11:42+02:00", "updated_at": "2022-09-20T19:11:42+02:00", "name": "Publish Docker image", "path": ".github/workflows/publish_docker.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Publish Docker image\n\non:\n  release:\n    types: [published]\n\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker Hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81\n        with:\n          images: gsttmriphysics/hazen\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}", "state": "active", "repository": "gstt-csc/hazen"}
{"mined_at": "2024-07-15T17:00:55.255220", "created_at": "2022-09-20T19:11:42+02:00", "updated_at": "2022-09-20T19:11:42+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish_pypi.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "gstt-csc/hazen"}
{"mined_at": "2024-07-15T17:00:56.454839", "created_at": "2022-08-31T11:39:32+02:00", "updated_at": "2022-09-20T19:11:42+02:00", "name": "CLI tests", "path": ".github/workflows/test_cli.yml", "contents": "# Runs on pull request or release - checks CLI tools are working without raising exception\n\n\nname: CLI tests\n\non:\n  pull_request:\n  release:\n\njobs:\n  test_cli:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ '3.9', '3.11' ]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest pytest-cov\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n      - name: Install hazen\n        run: |\n          pip install .\n\n      # \"if: always option\" runs step even if previous fails - useful to ensure all CLI functions tested\n      - name: test_snr\n        if: always()\n        run: |\n          hazen snr tests/data/snr/Siemens --report\n          hazen snr tests/data/snr/Siemens --measured_slice_width 5.0012 --report\n\n      - name: test_acr_snr\n        if: always()\n        run: |\n          hazen acr_snr tests/data/acr/Siemens --report\n          hazen acr_snr tests/data/acr/Siemens --subtract tests/data/acr/Siemens2 --report\n\n      - name: test acr_uniformity\n        if: always()\n        run: |\n          hazen acr_uniformity tests/data/acr/Siemens --report\n      \n      - name: test acr_ghosting\n        if: always()\n        run: |\n          hazen acr_ghosting tests/data/acr/Siemens --report\n          \n      - name: test acr_slice_position\n        if: always()\n        run: |\n          hazen acr_slice_position tests/data/acr/Siemens --report\n\n      - name: test acr_slice_thickness\n        if: always()\n        run: |\n          hazen acr_slice_thickness tests/data/acr/Siemens --report\n\n      - name: test acr_geometric_accuracy\n        if: always()\n        run: |\n          hazen acr_geometric_accuracy tests/data/acr/Siemens --report\n\n      - name: test acr_spatial_resolution\n        if: always()\n        run: |\n          hazen acr_spatial_resolution tests/data/acr/SiemensMTF --report\n\n      - name: test slice_position\n        if: always()\n        run: |\n          hazen slice_position tests/data/slicepos/SLICEPOSITION --report\n\n      - name: test slice_width\n        if: always()\n        run: |\n          hazen slice_width tests/data/slicewidth/512_matrix --report\n          hazen slice_width tests/data/slicewidth/SLICEWIDTH --report\n\n      - name: test spatial_resolution\n        if: always()\n        run: |\n          hazen spatial_resolution tests/data/resolution/RESOLUTION/ --report\n\n      - name: test uniformity\n        if: always()\n        run: |\n           hazen uniformity tests/data/uniformity --report\n\n      - name: test ghosting\n        if: always()\n        run: |\n          hazen ghosting tests/data/ghosting/GHOSTING --report\n          hazen ghosting tests/data/ghosting/PE_COL_PHANTOM_BOTTOM_RIGHT --report\n\n      - name: test snr_map\n        if: always()\n        run: |\n          hazen snr_map tests/data/snr/Siemens --report\n\n      - name: test relaxometry\n        if: always()\n        run: |\n          hazen relaxometry tests/data/relaxometry/T1/site1_20200218/plate5 --calc T1 --plate_number=5 --report\n          hazen relaxometry tests/data/relaxometry/T2/site3_ge/plate4/ --calc T2 --plate_number=4 --report\n\n", "state": "active", "repository": "gstt-csc/hazen"}
{"mined_at": "2024-07-15T17:00:57.583429", "created_at": "2021-11-08T16:20:42+01:00", "updated_at": "2021-12-10T15:20:40+01:00", "name": "Development tests", "path": ".github/workflows/tests_development.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n\nname: Development tests\n\non:\n  pull_request:\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    permissions:\n      pull-requests: write\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ '3.9', '3.11' ]\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Python packages\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest pytest-cov\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n    - name: Display installed pip packages\n      run: |\n        pip list\n\n    - name: Setup flake8 annotations\n      uses: rbialon/flake8-annotations@v1\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Test with pytest\n      run: |\n        set -Eeuxo pipefail\n        pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=hazenlib tests/ | tee pytest-coverage.txt ; echo $?\n\n    - name: Pytest coverage comment\n      id: coverageComment\n      uses: MishaKav/pytest-coverage-comment@main\n      with:\n        pytest-coverage-path: ./pytest-coverage.txt\n        junitxml-path: ./pytest.xml\n", "state": "active", "repository": "gstt-csc/hazen"}
{"mined_at": "2024-07-15T17:00:58.612470", "created_at": "2021-11-08T23:30:48+01:00", "updated_at": "2021-11-24T16:54:12+01:00", "name": "Release tests", "path": ".github/workflows/tests_release.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Release tests\n\non:\n  push:\n    branches:\n      - 'main'\n      - 'release/*'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ '3.9', '3.10' ]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest pytest-cov\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n    - name: Test with pytest\n      run: |\n        set -Eeuxo pipefail\n        pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=hazenlib tests/ | tee pytest-coverage.txt ; echo $?\n\n    - name: Pytest coverage comment\n      id: coverageComment\n      uses: MishaKav/pytest-coverage-comment@main\n      with:\n        pytest-coverage-path: ./pytest-coverage.txt\n        junitxml-path: ./pytest.xml\n\n    - name: Update the coverage Badge\n      uses: schneegans/dynamic-badges-action@v1.7.0\n      with:\n        auth: ${{ secrets.PYTEST_COVERAGE_COMMENT }}\n        gistID: ba102d5f3e592fcd50451c2eff8a803d\n        filename: hazen_pytest-coverage-comment.json\n        label: Test coverage\n        message: ${{ steps.coverageComment.outputs.coverage }}\n        color: ${{ steps.coverageComment.outputs.color }}\n        namedLogo: python\n", "state": "active", "repository": "gstt-csc/hazen"}
{"mined_at": "2024-07-15T17:01:00.755345", "created_at": "2022-04-06T17:57:33+02:00", "updated_at": "2024-05-04T06:15:28+02:00", "name": "Lint with Black", "path": ".github/workflows/black.yml", "contents": "name: Lint with Black\n\non:\n  #push:\n  #  branches: [main]\n  #pull_request:\n  #  branches: [main]\n  workflow_dispatch:\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n", "state": "active", "repository": "blaylockbk/herbie"}
{"mined_at": "2024-07-15T17:01:01.796397", "created_at": "2022-04-06T17:53:33+02:00", "updated_at": "2022-04-07T01:02:36+02:00", "name": "Python Package using Conda", "path": ".github/workflows/python-package-conda.yml", "contents": "name: Python Package using Conda\n\n# THIS WORKFLOW IS NOT USED BECAUSE IT TAKES TOO LONG\n# FOR CONDA TO CREATE THE ENVIRONMENT.\n\non:\n  #push:\n  #  branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  build-linux:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Add conda to system path\n        run: |\n          # $CONDA is an environment variable pointing to the root of the miniconda directory\n          echo $CONDA/bin >> $GITHUB_PATH\n      - name: Install dependencies\n        run: |\n          conda env update --file ci/environment.yml --name base --solver classic\n      - name: Lint with flake8\n        run: |\n          conda install flake8\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n      - name: Test with pytest\n        run: |\n          python -m pytest tests/\n", "state": "active", "repository": "blaylockbk/herbie"}
{"mined_at": "2024-07-15T17:01:02.846888", "created_at": "2023-12-15T06:10:15+01:00", "updated_at": "2023-12-15T06:10:15+01:00", "name": "Publish to PyPI", "path": ".github/workflows/release_to_pypi.yml", "contents": "name: Publish to PyPI\n\non:\n  push:\n    tags:\n      - \"20*\"\n\njobs:\n  pypi-release:\n    name: Publish release on PyPI\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - name: Build source and wheel distributions\n        run: |\n          python -m pip install --upgrade build twine\n          python -m build\n          twine check --strict dist/*\n\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n# Remember to manually create release on GitHub using the same tag.\n", "state": "active", "repository": "blaylockbk/herbie"}
{"mined_at": "2024-07-15T17:01:04.136720", "created_at": "2023-01-07T14:13:42+01:00", "updated_at": "2023-01-11T23:30:31+01:00", "name": "Tests (Conda)", "path": ".github/workflows/tests-conda.yml", "contents": "name: Tests (Conda)\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\n  # Allow job to be triggered manually.\n  workflow_dispatch:\n\n# Cancel in-progress jobs when pushing to the same branch.\nconcurrency:\n  cancel-in-progress: true\n  group: ${{ github.workflow }}-${{ github.ref }}\n\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [\"windows-latest\"]\n        python-version: [\"3.11\"]\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    name: Python ${{ matrix.python-version }} on OS ${{ matrix.os }}\n    steps:\n      - name: Acquire sources\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: CACHING - Anaconda packages\n        uses: actions/cache@v3\n        id: cache-pkg\n        with:\n          path: ~/conda_pkgs_dir\n          key:\n            conda-pkg-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{\n            env.CACHE_NUMBER }}-${{ hashFiles('environment-test.yml') }}\n        env:\n          # Increase this value if `environment-test.yml` has not changed,\n          # but you still want to reset the cache.\n          CACHE_NUMBER: 0\n\n      - name: INSTALL - Anaconda setup (Mambaforge)\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          mamba-version: \"*\"\n          use-mamba: true\n          channels: conda-forge,defaults\n          channel-priority: true\n          activate-environment: herbie-test\n          auto-activate-base: false\n          use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!\n\n      - name: CACHING - Anaconda environment\n        uses: actions/cache@v3\n        id: cache-env\n        with:\n          path: ${{ env.CONDA }}/envs\n          key:\n            conda-env-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{\n            env.CACHE_NUMBER }}-${{ hashFiles('environment-test.yml') }}\n        env:\n          # Increase this value if `environment-test.yml` has not changed,\n          # but you still want to reset the cache.\n          CACHE_NUMBER: 0\n\n      - name: DEBUG - Anaconda info\n        run: conda info\n      - name: DEBUG - Anaconda configuration\n        run: conda config --show\n      - name: DEBUG - Environment variables\n        run: printenv | sort\n      - name: DEBUG - Program paths\n        run: |\n          command -v conda\n          command -v mamba\n\n      - name: INSTALL - Update Anaconda environment\n        run: mamba env update --name herbie-test --file environment-test.yml\n        if: steps.cache-env.outputs.cache-hit != 'true'\n\n      - name: INSTALL - Project\n        run: |\n          pip install --editable=.\n\n      - name: Run tests\n        env:\n          TMPDIR: ${{ runner.temp }}\n        run: |\n          pytest\n", "state": "active", "repository": "blaylockbk/herbie"}
{"mined_at": "2024-07-15T17:01:05.181273", "created_at": "2023-01-07T14:13:42+01:00", "updated_at": "2023-01-11T23:30:31+01:00", "name": "Tests (Python)", "path": ".github/workflows/tests-python.yml", "contents": "name: Tests (Python)\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\n  # Allow job to be triggered manually.\n  workflow_dispatch:\n\n# Cancel in-progress jobs when pushing to the same branch.\nconcurrency:\n  cancel-in-progress: true\n  group: ${{ github.workflow }}-${{ github.ref }}\n\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        # In order to save resources, only run particular\n        # matrix slots on other OS than Linux.\n        include:\n          - os: \"macos-latest\"\n            python-version: \"3.12\"\n          # TODO: Building on Windows fails because it fails to install pygrib; eccodes not found. Must use conda env.\n          #- os: \"windows-latest\"\n          #  python-version: \"3.12\"\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    name: Python ${{ matrix.python-version }} on OS ${{ matrix.os }}\n    steps:\n      - name: Acquire sources\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n          cache: \"pip\"\n          cache-dependency-path: \"setup.cfg\"\n\n      - name: Install prerequisites (Linux)\n        if: runner.os == 'Linux'\n        run: |\n          sudo apt -y install libgeos-dev libeccodes-dev\n\n      - name: Install prerequisites (macOS)\n        if: runner.os == 'macOS'\n        run: |\n          brew install pkg-config geos eccodes\n\n      - name: Install prerequisites (Windows)\n        if: runner.os == 'windows'\n        run: |\n          echo \"Does anything need to be installed?\"\n\n      - name: Install project (Linux)\n        if: runner.os == 'Linux'\n        run: |\n          pip3 install --requirement=requirements-test.txt\n          pip3 install --editable='.[extras]'\n\n      - name: Install project (macOS)\n        if: runner.os == 'macOS'\n        run: |\n          pip3 install --break-system-packages --requirement=requirements-test.txt\n          pip3 install --break-system-packages --editable='.[extras]'\n\n      - name: Install project (Windows)\n        if: runner.os == 'Windows'\n        run: |\n          pip3 install --requirement=requirements-test.txt\n          pip3 install --editable='.[extras]'\n\n      - name: Run tests\n        env:\n          TMPDIR: ${{ runner.temp }}\n        run: |\n          pytest\n", "state": "active", "repository": "blaylockbk/herbie"}
{"mined_at": "2024-07-15T17:01:06.229512", "created_at": "2021-12-16T20:29:33+01:00", "updated_at": "2021-12-16T20:29:33+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "blaylockbk/herbie"}
{"mined_at": "2024-07-15T17:01:08.617637", "created_at": "2021-06-25T13:10:32+02:00", "updated_at": "2022-02-07T18:44:27+01:00", "name": "Test pipeline", "path": ".github/workflows/pipeline.yml", "contents": "name: Test pipeline\non:\n  push:\n    branches:\n      - main\n  pull_request:\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install \"poetry<2\" \"tox<4\" \"tox-gh-actions<3\" \"coveralls<4\"\n    - name: Test with tox\n      run: tox\n    - name: Coveralls\n      run: coveralls --service github\n      env:\n        COVERALLS_PARALLEL: true\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        COVERALLS_FLAG_NAME: test-${{ matrix.python-version }}\n\n  finish-coveralls:\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n    - name: Install \"coveralls<4\"\n      run: pip install coveralls\n    - name: Coveralls Finished\n      run: coveralls --service github --finish\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "spec-first/connexion"}
{"mined_at": "2024-07-15T17:01:09.706828", "created_at": "2022-02-07T17:24:05+01:00", "updated_at": "2023-04-24T18:58:13+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI and TestPyPI", "path": ".github/workflows/release.yml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI\non:\n  push:\n    tags:\n      - '[0-9]+.[0-9]+.[0-9]+*'\n  release:\n    types:\n      - published\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.9\n\n    - name: Update version\n      run: sed -i \"s/^version = .*/version = '${{github.ref_name}}'/\" pyproject.toml\n\n    - name: Build a binary wheel and a source tarball\n      run: |\n        pip install poetry\n        poetry build\n\n    - name: Publish distribution 📦 to Test PyPI\n      if: github.event_name == 'push'\n      uses: pypa/gh-action-pypi-publish@v1.5.0\n      with:\n        user: __token__\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n\n    - name: Publish distribution 📦 to PyPI if triggered by release\n      if: github.event_name == 'release'\n      uses: pypa/gh-action-pypi-publish@v1.5.0\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "spec-first/connexion"}
{"mined_at": "2024-07-15T17:01:12.046988", "created_at": "2022-11-16T23:02:03+01:00", "updated_at": "2022-11-16T23:02:03+01:00", "name": "flawfinder", "path": ".github/workflows/flawfinder.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: flawfinder\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '23 11 * * 3'\n\npermissions:\n  contents: read\n\njobs:\n  flawfinder:\n    name: Flawfinder\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8\n\n      - name: flawfinder_scan\n        uses: david-a-wheeler/flawfinder@8e4a779ad59dbfaee5da586aa9210853b701959c\n        with:\n          arguments: '--sarif ./'\n          output: 'flawfinder_results.sarif'\n\n      - name: Upload analysis results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@678fc3afe258fb2e0cdc165ccf77b85719de7b3c\n        with:\n          sarif_file: ${{github.workspace}}/flawfinder_results.sarif\n", "state": "active", "repository": "trex-coe/qmckl"}
{"mined_at": "2024-07-15T17:01:13.452830", "created_at": "2020-10-29T00:56:54+01:00", "updated_at": "2021-04-30T01:27:29+02:00", "name": "github pages", "path": ".github/workflows/gh-pages.yml", "contents": "name: github pages\n\non:\n  push:\n    branches:\n      - master\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n    permissions:\n      contents: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791\n\n#      - name: install extra repository\n#        run: sudo add-apt-repository ppa:kelleyk/emacs\n\n      - name: refresh apt\n        run: sudo apt-get update\n\n      - name: install dependencies\n        run: sudo apt-get install emacs autoconf\n\n      - name: ./autogen.sh\n        run: ./autogen.sh\n\n      - name: ./configure\n        run: QMCKL_DEVEL=1 ./configure --enable-silent-rules --enable-maintainer-mode --without-trexio\n\n      - name: make\n        run: make -j 8 html\n\n      - name: pwd\n        run: pwd\n\n      - name: ls\n        run: ls -sh ./share/doc/qmckl/html/\n\n      - name: Deploy\n        uses: JamesIves/github-pages-deploy-action@3dbacc7e69578703f91f077118b3475862cb09b8\n        with:\n           branch: gh-pages\n           folder: ./share/doc/qmckl/html/\n\n#          github_token: ${{ secrets.GITHUB_TOKEN }}\n#          publish_dir: ./share/doc/qmckl/html/\n\n", "state": "active", "repository": "trex-coe/qmckl"}
{"mined_at": "2024-07-15T17:01:14.647115", "created_at": "2020-10-15T10:16:07+02:00", "updated_at": "2022-01-06T19:06:35+01:00", "name": "test-build", "path": ".github/workflows/test-build.yml", "contents": "name: test-build\n\non:\n  push:\n  pull_request:\n\npermissions:\n  contents: read\n\njobs:\n  standard:\n\n    runs-on: ubuntu-latest\n    name: Standard\n\n    steps:\n    - uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791\n\n    - name: Install dependencies\n      run: sudo apt-get install emacs autoconf libhdf5-dev\n\n    - name: Install the latest TREXIO from the GitHub clone\n      run: |\n        git clone https://github.com/TREX-CoE/trexio.git\n        cd trexio\n        ./autogen.sh\n        ./configure --prefix=/usr\n        make -j 4\n        sudo make install\n\n    - name: Build QMCkl\n      run: |\n        ./autogen.sh\n        mkdir _build\n        cd _build\n        ../configure --enable-silent-rules --enable-python\n        make -j 4\n        sudo make install\n\n    - name: Run test\n      run: make -j 4 check\n      working-directory: _build\n\n    - name: Archive test log file\n      if: failure()\n      uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2\n      with:\n        name: test-report-ubuntu\n        path: test-suite.log\n\n    - name: Dist test\n      run: make distcheck\n      working-directory: _build\n\n    - name: Setup the virtual environment\n      run: |\n          python3 -m venv --clear pyqmckl\n          source pyqmckl/bin/activate\n\n    - name: Install the Python requirements\n      run: pip install -r requirements.txt\n      working-directory: python\n\n    - name: Install the Python API\n      run: make python-install\n      working-directory: _build\n\n    - name: Test the Python API\n      run: make python-test\n      working-directory: _build\n\n  debug:\n\n    runs-on: ubuntu-latest\n    name: Debug\n\n    steps:\n    - uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791\n\n    - name: Install dependencies\n      run: sudo apt-get install emacs autoconf libhdf5-dev\n\n    - name: Install the latest TREXIO from the GitHub clone\n      run: |\n        git clone https://github.com/TREX-CoE/trexio.git\n        cd trexio\n        ./autogen.sh\n        ./configure --prefix=/usr\n        make -j 4\n        sudo make install\n\n    - name: Build QMCkl in debug mode\n      run: |\n        ./autogen.sh\n        mkdir _build_debug\n        cd _build_debug\n        ../configure --enable-debug --enable-silent-rules\n        make -j2\n\n    - name: Run test\n      run: make -j2 check\n      working-directory: _build_debug\n\n    - name: Archive test log file\n      if: failure()\n      uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2\n      with:\n        name: test-report-ubuntu-debug\n        path: _build_debug/test-suite.log\n\n  hpc:\n\n    runs-on: ubuntu-latest\n    name: HPC\n\n    steps:\n    - uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791\n\n    - name: Install dependencies\n      run: sudo apt-get install emacs autoconf libhdf5-dev\n\n    - name: Install the latest TREXIO from the GitHub clone\n      run: |\n        git clone https://github.com/TREX-CoE/trexio.git\n        cd trexio\n        ./autogen.sh\n        ./configure --prefix=/usr\n        make -j 4\n        sudo make install\n\n    - name: Compile QMCkl in HPC mode\n      run: |\n        ./autogen.sh\n        mkdir _build_hpc\n        cd _build_hpc\n        ../configure --enable-hpc\n        make -j2\n\n    - name: Run test\n      run: make -j2 check\n      working-directory: _build_hpc\n\n    - name: Archive test log file\n      if: failure()\n      uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2\n      with:\n        name: test-report-ubuntu-debug\n        path: _build_hpc/test-suite.log\n\n  macos:\n\n    runs-on: macos-12\n    name: x86 MacOS 12\n\n    steps:\n    - uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791\n\n    - name: Install dependencies\n      run: |\n         brew install emacs\n         brew install automake\n         brew install hdf5\n         brew install gcc\n         brew install gfortran\n         brew --prefix hdf5\n\n    - name: Install the latest TREXIO from the GitHub clone\n      run: |\n        git clone https://github.com/TREX-CoE/trexio.git\n        cd trexio\n        ./autogen.sh\n        ./configure FC=gfortran-12 --enable-silent-rules\n        make -j 4\n        sudo make install\n\n    - name: Compile QMCkl in HPC mode\n      run: |\n        ./autogen.sh\n        mkdir _build_hpc\n        cd _build_hpc\n        ../configure --enable-hpc FC=gfortran-12 CC=gcc-12\n        make -j2\n\n    - name: Run test\n      run: make -j2 check\n      working-directory: _build_hpc\n\n    - name: Archive test log file\n      if: failure()\n      uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2\n      with:\n        name: test-report-macos-x86\n        path: _build_hpc/test-suite.log\n\n", "state": "active", "repository": "trex-coe/qmckl"}
{"mined_at": "2024-07-15T17:01:15.771109", "created_at": "2021-10-13T15:03:52+02:00", "updated_at": "2022-11-16T23:10:37+01:00", "name": "Verificarlo CI (master)", "path": ".github/workflows/vfc_test_workflow.yml", "contents": "# This workflow will be executed when master is updated:\n# it will run the configured tests and upload the results on vfc_ci_master.\n\nname: \"Verificarlo CI (master)\"\n\non:\n  # Triggers the workflow when master is updated\n  push:\n    branches: [ master ]\n\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  run_verificarlo_tests:\n    runs-on: ubuntu-latest\n    container: verificarlo/verificarlo\n    permissions:\n      contents: write\n\n    steps:\n      - uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791\n        with:\n            fetch-depth: 0\n\n      - name: Install dependencies\n        run: |\n          ln -s /usr/bin/python3 /usr/bin/python\n          apt update\n          apt -y install emacs pkg-config wget libhdf5-dev libblas-dev liblapack-dev\n\n      - name: Install trexio\n        run: |\n          export VERSION=2.1.0\n          wget https://github.com/TREX-CoE/trexio/releases/download/v${VERSION}/trexio-${VERSION}.tar.gz\n          tar -zxf trexio-${VERSION}.tar.gz\n          cd trexio-${VERSION}\n          ./configure --prefix=/usr CC=\"gcc-7\" FC=\"gfortran-7\"\n          # modify LDFLAGS to include -lhdf5_hl because autoconf sometime fails to detect the HL component\n          make LDFLAGS=\"-L/usr/lib/x86_64-linux-gnu/hdf5/serial -lhdf5_hl\"\n          make install\n\n      - name: Run tests\n        run: |\n          git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n          vfc_ci test -g -r\n\n      - name: Commit test results\n        run: |\n          git_hash=$(git rev-parse --short \"$GITHUB_SHA\")\n\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n\n          git checkout vfc_ci_master\n          mkdir -p vfcruns\n          mv *.vfcrun.h5 vfcruns\n          git add vfcruns/*\n          git commit -m \"[auto] New test results for commit ${git_hash}\"\n          git push\n\n      - name: Upload raw results as artifacts\n        uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2\n        with:\n          name: ${{github.sha}}.vfcraw\n          path: ./*.vfcraw.h5\n", "state": "active", "repository": "trex-coe/qmckl"}
{"mined_at": "2024-07-15T17:01:16.982177", "created_at": "2022-01-06T02:30:33+01:00", "updated_at": "2022-01-06T02:30:33+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "trex-coe/qmckl"}
{"mined_at": "2024-07-15T17:01:19.114137", "created_at": "2021-06-15T17:03:56+02:00", "updated_at": "2021-06-15T17:03:56+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\non:\n  push:\n    branches: [main]\n    tags: [\"*\"]\n  pull_request:\n    branches: [main]\n  release:\n    types:\n      - published\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  # Always build & lint package.\n  build-package:\n    name: Build & verify package\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: hynek/build-and-inspect-python-package@v2\n\n  # Upload to Test PyPI on every commit on main.\n  release-test-pypi:\n    name: Publish in-dev package to test.pypi.org\n    if: |\n      github.repository_owner == 'hugovk'\n      && github.event_name == 'push'\n      && github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    needs: build-package\n\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Download packages built by build-and-inspect-python-package\n        uses: actions/download-artifact@v4\n        with:\n          name: Packages\n          path: dist\n\n      - name: Upload package to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n\n  # Upload to real PyPI on GitHub Releases.\n  release-pypi:\n    name: Publish released package to pypi.org\n    if: |\n      github.repository_owner == 'hugovk'\n      && github.event.action == 'published'\n    runs-on: ubuntu-latest\n    needs: build-package\n\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Download packages built by build-and-inspect-python-package\n        uses: actions/download-artifact@v4\n        with:\n          name: Packages\n          path: dist\n\n      - name: Upload package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "hugovk/norwegianblue"}
{"mined_at": "2024-07-15T17:01:20.560560", "created_at": "2021-06-15T17:03:56+02:00", "updated_at": "2021-06-15T17:03:56+02:00", "name": "Sync labels", "path": ".github/workflows/labels.yml", "contents": "name: Sync labels\n\npermissions:\n  pull-requests: write\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - .github/labels.yml\n  workflow_dispatch:\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: micnncim/action-label-syncer@v1\n        with:\n          prune: false\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "hugovk/norwegianblue"}
{"mined_at": "2024-07-15T17:01:21.627624", "created_at": "2021-06-15T14:07:00+02:00", "updated_at": "2021-06-15T14:07:00+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non: [push, pull_request, workflow_dispatch]\n\nenv:\n  FORCE_COLOR: 1\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n          cache: pip\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "hugovk/norwegianblue"}
{"mined_at": "2024-07-15T17:01:22.771487", "created_at": "2021-06-15T17:03:56+02:00", "updated_at": "2021-06-15T17:03:56+02:00", "name": "Release drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - main\n  # pull_request event is required only for autolabeler\n  pull_request:\n    # Only following types are handled by the action, but one can default to all as well\n    types: [opened, reopened, synchronize]\n  # pull_request_target event is required for autolabeler to support PRs from forks\n  # pull_request_target:\n  #   types: [opened, reopened, synchronize]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    if: github.repository_owner == 'hugovk'\n    permissions:\n      # write permission is required to create a GitHub Release\n      contents: write\n      # write permission is required for autolabeler\n      # otherwise, read permission is required at least\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next release notes as pull requests are merged into \"main\"\n      - uses: release-drafter/release-drafter@v6\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "hugovk/norwegianblue"}
{"mined_at": "2024-07-15T17:01:23.800016", "created_at": "2022-09-24T09:32:46+02:00", "updated_at": "2022-09-24T09:35:36+02:00", "name": "Require PR label", "path": ".github/workflows/require-pr-label.yml", "contents": "name: Require PR label\n\non:\n  pull_request:\n    types: [opened, reopened, labeled, unlabeled, synchronize]\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n      - uses: mheap/github-action-required-labels@v5\n        with:\n          mode: minimum\n          count: 1\n          labels:\n            \"changelog: Added, changelog: Changed, changelog: Deprecated, changelog:\n            Fixed, changelog: Removed, changelog: Security, changelog: skip\"\n", "state": "active", "repository": "hugovk/norwegianblue"}
{"mined_at": "2024-07-15T17:01:24.820248", "created_at": "2021-06-15T14:07:00+02:00", "updated_at": "2021-06-15T14:07:00+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non: [push, pull_request, workflow_dispatch]\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        # Will be fixed in 3.13.0a6: Tuesday, 2024-04-09\n        #   qs = bytes(qs)\n        #        ~~~~~^^^^\n        #   TypeError: cannot convert 'NoneType' object to bytes\n        python-version:\n          [\"pypy3.10\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13.0-alpha.4\"]\n        os: [windows-latest, macos-latest, ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          allow-prereleases: true\n          cache: pip\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U wheel\n          python -m pip install -U tox\n\n      - name: Tox tests\n        run: |\n          tox -e py\n\n      - name: Test CLI\n        run: |\n          tox -e cli\n\n      - name: Tox tests (pins)\n        if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'\n        run: |\n          tox -e pins\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v3.1.5\n        with:\n          flags: ${{ matrix.os }}\n          name: ${{ matrix.os }} Python ${{ matrix.python-version }}\n\n  success:\n    needs: test\n    runs-on: ubuntu-latest\n    name: Test successful\n    steps:\n      - name: Success\n        run: echo Test successful\n", "state": "active", "repository": "hugovk/norwegianblue"}
{"mined_at": "2024-07-15T17:01:26.993854", "created_at": "2021-03-17T17:19:29+01:00", "updated_at": "2021-04-30T01:04:43+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n  release:\n    types:\n      - published\n\njobs:\n  pre-commit:\n    name: Format\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - uses: pre-commit/action@v3.0.1\n      with:\n        extra_args: --hook-stage manual --all-files\n\n  checks:\n    name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}\n    runs-on: ${{ matrix.runs-on }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.9\", \"3.10\", \"3.11\"]\n        runs-on: [ubuntu-latest, macos-latest, windows-latest]\n        exclude:\n          - runs-on: macos-latest\n            python-version: \"3.9\"\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    # Rely on version of modelspec from PyPI as set by setup.cfg...\n    #- name: Install modelspec\n    #  run: python -m pip install git+https://github.com/ModECI/modelspec.git@main\n\n    # Rely on version of NeuroMLlite from PyPI as set by setup.py...\n    # - name: Install NeuroMLlite\n    #   run: python -m pip install NeuroMLlite>=0.5.0\n\n    # Rely on version of PsyNeuLink from PyPI as set by setup.py...\n    #- name: Install specific PsyNeuLink branch\n    #  run: python -m pip install git+https://github.com/ModECI/PsyNeuLink@devel\n\n    - name: Install HDF5 for pytables on macos-14/latest\n      if: ${{ matrix.runs-on == 'macos-latest' }}\n      run: |\n        brew install hdf5\n\n    - name: Install core package\n      run: python -m pip install .[dev]\n\n    - name: Version info for installed packages\n      run: |\n          pip list\n\n    - name: Test core package\n      run: |\n        python -m pytest -m coremdf tests/\n\n    - name: Install most optional dependencies\n      run: |\n        python -m pip install .[optional]\n\n    - name: Version info for optional installed packages\n      run: |\n          pip list\n\n    - name: Install graphviz\n      uses: ts-graphviz/setup-graphviz@v2\n      with:\n        # Skip to run brew update command on macOS.\n        macos-skip-brew-update: 'true' # default false\n\n    - name: Test interface ACT-R\n      run: |\n        python -m pytest -v -m \"actr\" tests/\n\n    - name: Test interface PyTorch\n      run: |\n        python -m pytest -v -m \"pytorch\" tests/\n\n    - name: Test interface NeuroML\n      run: |\n        python -m pip install .[neuroml]\n        python -m pytest -v -m \"neuroml\" tests/\n\n    - name: Test interface TensorFlow\n      run: |\n        python -m pip install .[tensorflow]\n        dot -V\n        python -m pytest -v -m \"tensorflow\" tests/\n\n    - name: Test interface PsyNeuLink\n      if: ${{ matrix.python-version != '3.11'}}\n      run: |\n        python -m pip install .[psyneulink]\n        python -m pytest -v -m \"psyneulink\" tests/\n\n    - name: Build Documentation\n      run: |\n        cd docs\n        python generate.py\n        cd sphinx\n        make clean\n        make html\n\n    - name: Final version info for optional installed packages\n      run: |\n          pip list\n\n  dist:\n    name: Distribution build\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Build sdist and wheel\n      run: pipx run --spec build pyproject-build\n\n    - uses: actions/upload-artifact@v4\n      with:\n        path: dist\n\n    - uses: pypa/gh-action-pypi-publish@v1.4.1\n      if: github.event_name == 'release' && github.event.action == 'published'\n      with:\n        user: __token__\n        # Remember to generate this and set it in \"GitHub Secrets\"\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "modeci/mdf"}
{"mined_at": "2024-07-15T17:01:29.120441", "created_at": "2022-05-25T22:17:35+02:00", "updated_at": "2022-05-25T22:17:35+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n    paths-ignore:\n      - '**/tests'\n      - '**/docs'\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n    paths-ignore:\n      - '**/tests'\n      - '**/docs'\n  schedule:\n    - cron: '33 19 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "jageo/lobsterpy"}
{"mined_at": "2024-07-15T17:01:30.247325", "created_at": "2023-11-08T17:29:44+01:00", "updated_at": "2023-11-08T17:29:44+01:00", "name": "build-docs", "path": ".github/workflows/docs.yml", "contents": "name: build-docs\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ main ]\n  release:\n    types: [ published ]\n\n# set GITHUB_TOKEN permissions to allow deployment to GitHub Pages\npermissions:\n  contents: write\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: \"3.9\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[docs,featurizer]\n      - name: Sphinx build\n        run: |\n          sphinx-build docs _build\n      - name: Deploy to GitHub Pages\n        uses: peaceiris/actions-gh-pages@v3\n        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}\n        with:\n          publish_branch: gh-pages\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: _build/\n          force_orphan: true\n", "state": "active", "repository": "jageo/lobsterpy"}
{"mined_at": "2024-07-15T17:01:31.289036", "created_at": "2022-02-14T14:27:56+01:00", "updated_at": "2023-06-05T16:13:49+02:00", "name": "Testing Linux", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Testing Linux\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n      - uses: pre-commit/action@v3.0.0\n\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        split: [1, 2, 3, 4, 5, 6]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest pytest-mock pytest-split pytest-cov pytestify\n        python -m pip install types-setuptools\n        pip install .[featurizer]\n    - name: Test with pytest and coverage\n      # run this locally to update tests durations\n      # pytest --cov=lobsterpy --cov-append --splits 1 --group 1 --durations-path ./tests/test_data/.pytest-split-durations --store-durations\n      run: |\n        pytest --cov=lobsterpy --cov-report term-missing --cov-append --splits 6 --group ${{ matrix.split }} -vv --durations-path ./tests/test_data/.pytest-split-durations\n    - name: Upload coverage\n      uses: actions/upload-artifact@v3\n      with:\n        name: coverage-${{ matrix.split }}\n        path: .coverage\n\n  coverage:\n      needs: test\n      runs-on: ubuntu-latest\n      steps:\n        - uses: actions/checkout@v3\n        - name: Set up Python 3.10\n          uses: actions/setup-python@v4\n          with:\n            python-version: '3.10'\n        - name: Install Coverage\n          run: |\n           python -m pip install coverage[toml]\n        - name: Download coverage artifacts\n          continue-on-error: true\n          uses: actions/download-artifact@v3\n        - name: Run coverage\n          continue-on-error: true\n          run: |\n            coverage combine coverage*/.coverage*\n            coverage report --show-missing\n        - name: Upload coverage reports to Codecov\n          uses: codecov/codecov-action@v4.0.1\n          with:\n            token: ${{ secrets.CODECOV_TOKEN }}\n            slug: JaGeo/LobsterPy\n\n  docs:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[docs,featurizer]\n\n      - name: Build\n        run: sphinx-build -W docs _build\n", "state": "active", "repository": "jageo/lobsterpy"}
{"mined_at": "2024-07-15T17:01:32.268470", "created_at": "2022-03-01T11:41:06+01:00", "updated_at": "2022-03-01T11:41:06+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version:  '3.9'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest pytest-mock\n        python -m pip install types-setuptools\n        python -m pip install coverage\n        pip install -e .[featurizer]\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@v1.8.14\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "jageo/lobsterpy"}
{"mined_at": "2024-07-15T17:01:33.276658", "created_at": "2023-11-08T17:39:49+01:00", "updated_at": "2023-11-08T17:39:49+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "jageo/lobsterpy"}
{"mined_at": "2024-07-15T17:01:35.368485", "created_at": "2021-12-28T17:08:51+01:00", "updated_at": "2021-12-28T17:08:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "scverse/scirpy"}
{"mined_at": "2024-07-15T17:01:36.596589", "created_at": "2023-05-18T21:36:51+02:00", "updated_at": "2023-05-24T21:44:49+02:00", "name": "conda", "path": ".github/workflows/conda.yaml", "contents": "name: conda\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -e {0} # -e to fail on error\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: \"3.9\"\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python }}\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          channels: conda-forge,bioconda\n          channel-priority: strict\n          python-version: ${{ matrix.python-version }}\n\n      - name: install conda build\n        run: |\n          mamba install -y boa conda-verify\n        shell: bash\n\n      - name: build and test package\n        run: |\n          cd .conda\n          conda mambabuild --no-anaconda-upload .\n        shell: bash\n", "state": "active", "repository": "scverse/scirpy"}
{"mined_at": "2024-07-15T17:01:37.644620", "created_at": "2023-05-18T21:36:51+02:00", "updated_at": "2023-05-24T21:44:49+02:00", "name": "Test tutorials", "path": ".github/workflows/test-tutorials.yaml", "contents": "name: Test tutorials\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -e {0} # -e to fail on error\n\n    strategy:\n      fail-fast: false\n      matrix:\n        tutorial:\n          - tutorial_3k_tcr.ipynb\n          - tutorial_io.ipynb\n        os:\n          - ubuntu-latest\n        python:\n          - \"3.10\"\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"pip\"\n          cache-dependency-path: \"**/pyproject.toml\"\n\n      - name: Install test dependencies\n        run: |\n          python -m pip install --upgrade pip wheel\n      - name: Install dependencies\n        run: |\n          pip install \".[doc]\"\n      - name: Test\n        env:\n          MPLBACKEND: agg\n          PLATFORM: ${{ matrix.os }}\n          DISPLAY: :42\n        run: |\n          jupytext -k python3 --execute docs/tutorials/${{ matrix.tutorial }}\n", "state": "active", "repository": "scverse/scirpy"}
{"mined_at": "2024-07-15T17:01:38.786089", "created_at": "2023-05-18T21:36:51+02:00", "updated_at": "2023-05-24T21:44:49+02:00", "name": "Check Build", "path": ".github/workflows/build.yaml", "contents": "name: Check Build\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  package:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n          cache-dependency-path: \"**/pyproject.toml\"\n      - name: Install build dependencies\n        run: python -m pip install --upgrade pip wheel twine build\n      - name: Build package\n        run: python -m build\n      - name: Check package\n        run: twine check --strict dist/*.whl\n", "state": "active", "repository": "scverse/scirpy"}
{"mined_at": "2024-07-15T17:01:39.810443", "created_at": "2023-05-18T21:36:51+02:00", "updated_at": "2023-05-24T21:44:49+02:00", "name": "Test", "path": ".github/workflows/test.yaml", "contents": "name: Test\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  schedule:\n    - cron: \"0 5 1,15 * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -e {0} # -e to fail on error\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: \"3.9\"\n          - os: ubuntu-latest\n            python: \"3.11\"\n          - os: ubuntu-latest\n            python: \"3.11\"\n            pip-flags: \"--pre\"\n            name: PRE-RELEASE DEPENDENCIES\n\n    name: ${{ matrix.name }} Python ${{ matrix.python }}\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"pip\"\n          cache-dependency-path: \"**/pyproject.toml\"\n\n      - name: Install test dependencies\n        run: |\n          python -m pip install --upgrade pip wheel\n      - name: Install dependencies\n        run: |\n          # Workaround issue with scikit-bio\n          # This will work in the next release, see https://github.com/biocore/scikit-bio/pull/1813\n          pip install git+https://github.com/grst/scikit-bio.git@main\n          pip install ${{ matrix.pip-flags }} \".[dev,test,rpack,dandelion]\"\n      - name: Test\n        env:\n          MPLBACKEND: agg\n          PLATFORM: ${{ matrix.os }}\n          DISPLAY: :42\n        run: |\n          coverage run -m pytest -v --color=yes\n      - name: Report coverage\n        run: |\n          coverage report\n      - name: Upload coverage\n        uses: codecov/codecov-action@v3\n", "state": "active", "repository": "scverse/scirpy"}
{"mined_at": "2024-07-15T17:01:40.881644", "created_at": "2023-05-24T21:44:49+02:00", "updated_at": "2023-05-24T21:44:49+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n\n# Use \"trusted publishing\", see https://docs.pypi.org/trusted-publishers/\njobs:\n  release:\n    name: Upload release to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/scirpy\n    permissions:\n      id-token: write # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          filter: blob:none\n          fetch-depth: 0\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n          cache: \"pip\"\n      - run: pip install build\n      - run: python -m build\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "scverse/scirpy"}
{"mined_at": "2024-07-15T17:01:43.049697", "created_at": "2021-08-28T21:57:43+02:00", "updated_at": "2022-09-20T18:50:05+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [\"main\"]\n  schedule:\n    - cron: \"32 2 * * 5\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"javascript\", \"python\"]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n          # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n          # queries: security-extended,security-and-quality\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      #   If the Autobuild fails above, remove it and uncomment the following three lines.\n      #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n      # - run: |\n      #   echo \"Run, Build Application using script\"\n      #   ./location_of_script_within_repo/buildscript.sh\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "venhance/otis-web"}
{"mined_at": "2024-07-15T17:01:44.173037", "created_at": "2022-09-22T03:37:03+02:00", "updated_at": "2022-12-06T04:26:37+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [\"*\"]\n  pull_request:\n    branches: [\"*\"]\n\njobs:\n  audit:\n    uses: vEnhance/evans_django_tools/.github/workflows/django-audit.yml@main\n", "state": "active", "repository": "venhance/otis-web"}
{"mined_at": "2024-07-15T17:01:46.181706", "created_at": "2023-11-28T19:41:13+01:00", "updated_at": "2024-01-11T18:32:20+01:00", "name": "Benchmarks", "path": ".github/workflows/benchmark.yml", "contents": "name: Benchmarks\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    defaults:\n        run:\n          shell: bash\n    strategy:\n      max-parallel: 1\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.11\"]\n    steps:\n      - name: Setup Mambaforge\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          activate-environment: xopt-dev\n          use-mamba: true\n          python-version: ${{ matrix.python-version }}\n\n      - uses: actions/checkout@v3\n\n      - name: Get Date\n        id: get-date\n        run: echo \"today=$(/bin/date -u '+%Y%m%d')\" >> $GITHUB_OUTPUT\n        shell: bash\n\n      - name: Cache Conda env\n        uses: actions/cache@v3\n        with:\n          path: ${{ env.CONDA }}/envs\n          key:\n            conda-${{ runner.os }}--${{ runner.arch }}--${{ github.workflow }}--${{\n            steps.get-date.outputs.today }}--${{\n            hashFiles('environment.yml') }}--${{ env.CACHE_NUMBER }}--${{ matrix.python-version }}\n        env:\n          CACHE_NUMBER: 0\n        id: cache\n\n      - name: Setup Mambaforge for real if not cached\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          activate-environment: xopt-dev\n          use-mamba: true\n          python-version: ${{ matrix.python-version }}\n          environment-file: environment.yml\n        if: steps.cache.outputs.cache-hit != 'true'\n\n      - name: Install Xopt\n        shell: bash -l {0}\n        run: |\n          pip uninstall -y xopt || true\n          pip install --no-dependencies .\n\n      - name: Run Benchmarks\n        shell: bash -l {0}\n        run: |\n          python scripts/run_benchmarks.py\n\n      - name: Store benchmark result\n        uses: benchmark-action/github-action-benchmark@v1\n        with:\n          tool: 'pytest'\n          output-file-path: scripts/bench_output.json\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          summary-always: true\n          auto-push: true\n          benchmark-data-dir-path: bench\n", "state": "active", "repository": "christophermayes/xopt"}
{"mined_at": "2024-07-15T17:01:47.245359", "created_at": "2021-08-12T20:05:45+02:00", "updated_at": "2021-08-12T20:12:13+02:00", "name": "Tests", "path": ".github/workflows/ci.yml", "contents": "name: Tests\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 0 * * *'  # every day at midnight\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    defaults:\n        run:\n          shell: bash\n    strategy:\n      max-parallel: 1\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.9\", \"3.11\"]\n    steps:\n      - name: Setup Mambaforge\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          activate-environment: xopt-dev\n          use-mamba: true\n          python-version: ${{ matrix.python-version }}\n\n      - uses: actions/checkout@v3\n\n      - name: Get Date\n        id: get-date\n        run: echo \"today=$(/bin/date -u '+%Y%m%d')\" >> $GITHUB_OUTPUT\n        shell: bash\n\n      - name: Cache Conda env\n        uses: actions/cache@v3\n        with:\n          path: ${{ env.CONDA }}/envs\n          key:\n            conda-${{ runner.os }}--${{ runner.arch }}--${{ github.workflow }}--${{\n            steps.get-date.outputs.today }}--${{\n            hashFiles('environment.yml') }}--${{ env.CACHE_NUMBER }}--${{ matrix.python-version }}\n        env:\n          CACHE_NUMBER: 0\n        id: cache\n\n      - name: Setup Mambaforge for real if not cached\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          activate-environment: xopt-dev\n          use-mamba: true\n          python-version: ${{ matrix.python-version }}\n          environment-file: environment.yml\n        if: steps.cache.outputs.cache-hit != 'true'\n\n      - name: Install Xopt\n        shell: bash -l {0}\n        run: |\n          pip uninstall -y xopt || true\n          pip install --no-dependencies .\n\n      - name: Run Tests\n        shell: bash -l {0}\n        run: |\n          python scripts/run_tests.py\n", "state": "active", "repository": "christophermayes/xopt"}
{"mined_at": "2024-07-15T17:01:48.240427", "created_at": "2021-09-27T23:47:50+02:00", "updated_at": "2023-02-06T21:43:36+01:00", "name": "Examples", "path": ".github/workflows/examples.yml", "contents": "name: Examples\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    defaults:\n        run:\n          shell: bash\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.9]\n    steps:\n      - name: Setup Mambaforge\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          activate-environment: xopt-dev\n          use-mamba: true\n          python-version: ${{ matrix.python-version }}\n\n      - uses: actions/checkout@v3\n\n      - name: Get Date\n        id: get-date\n        run: echo \"today=$(/bin/date -u '+%Y%m%d')\" >> $GITHUB_OUTPUT\n        shell: bash\n\n      - name: Cache Conda env\n        uses: actions/cache@v3\n        with:\n          path: ${{ env.CONDA }}/envs\n          key:\n            conda-${{ runner.os }}--${{ runner.arch }}--${{ github.workflow }}--${{\n            steps.get-date.outputs.today }}--${{\n            hashFiles('environment.yml') }}--${{ env.CACHE_NUMBER }}--${{ matrix.python-version }}\n        env:\n          CACHE_NUMBER: 0\n        id: cache\n\n      - name: Setup Mambaforge for real if not cached\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          activate-environment: xopt-dev\n          use-mamba: true\n          python-version: ${{ matrix.python-version }}\n          environment-file: environment.yml\n        if: steps.cache.outputs.cache-hit != 'true'\n\n      - name: Install extra packages\n        shell: bash -l {0}\n        run: |\n          mamba install nbformat nbconvert ipython matplotlib\n\n      - name: Install Xopt\n        shell: bash -l {0}\n        run: |\n          pip uninstall -y xopt || true\n          pip install --no-dependencies .\n\n      - name: Run Examples\n        shell: bash -l {0}\n        run: |\n          python scripts/run_examples.py -p \"$(pwd)/docs/examples\" -s\n", "state": "active", "repository": "christophermayes/xopt"}
{"mined_at": "2024-07-15T17:01:49.250738", "created_at": "2023-02-06T21:38:27+01:00", "updated_at": "2023-02-09T03:56:38+01:00", "name": "Formatting", "path": ".github/workflows/formatting.yml", "contents": "name: Formatting\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 0 * * *'  # every day at midnight\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    defaults:\n        run:\n          shell: bash\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.9]\n    steps:\n      - name: Setup Mambaforge\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          activate-environment: xopt-dev\n          use-mamba: true\n          python-version: ${{ matrix.python-version }}\n\n      - uses: actions/checkout@v3\n\n      - name: Get Date\n        id: get-date\n        run: echo \"today=$(/bin/date -u '+%Y%m%d')\" >> $GITHUB_OUTPUT\n        shell: bash\n\n      - name: Cache Conda env\n        uses: actions/cache@v3\n        with:\n          path: ${{ env.CONDA }}/envs\n          key:\n            conda-${{ runner.os }}--${{ runner.arch }}--${{ github.workflow }}--${{\n            steps.get-date.outputs.today }}--${{\n            hashFiles('environment.yml') }}--${{ env.CACHE_NUMBER }}--${{ matrix.python-version }}\n        env:\n          CACHE_NUMBER: 0\n        id: cache\n\n      - name: Setup Mambaforge for real if not cached\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          activate-environment: xopt-dev\n          use-mamba: true\n          python-version: ${{ matrix.python-version }}\n          environment-file: environment.yml\n        if: steps.cache.outputs.cache-hit != 'true'\n\n      - name: flake8\n        shell: bash -l {0}\n        run: |\n          flake8 .", "state": "active", "repository": "christophermayes/xopt"}
{"mined_at": "2024-07-15T17:01:50.316637", "created_at": "2021-09-29T00:40:44+02:00", "updated_at": "2021-09-29T00:40:44+02:00", "name": "Publish Documentation", "path": ".github/workflows/gh-pages.yml", "contents": "name: Publish Documentation\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  deploy:\n    if: ${{ github.repository == 'ChristopherMayes/Xopt' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.9]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n          miniforge-variant: Mambaforge\n          channels: conda-forge\n          activate-environment: xopt-dev\n          environment-file: environment.yml\n\n      - name: Execute notebooks\n        shell: bash -l {0}\n        run: |\n          pip install --no-dependencies . \n          scripts/execute_notebooks.bash \n\n      - name: Build Docs\n        shell: bash -l {0}\n        run: |\n          mkdocs build\n          zip -r xopt-examples.zip docs/examples/\n          mv xopt-examples.zip ./site/assets/.\n          \n      - name: Deploy to gh-pages\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./site/\n", "state": "active", "repository": "christophermayes/xopt"}
{"mined_at": "2024-07-15T17:01:51.309345", "created_at": "2021-10-11T19:14:24+02:00", "updated_at": "2021-10-11T19:14:24+02:00", "name": "Publish Python distributions to PyPI", "path": ".github/workflows/pypi_upload.yml", "contents": "name: Publish Python distributions to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  build-n-publish:\n    if: ${{ github.repository == 'ChristopherMayes/Xopt' }}\n    name: Build and publish Python distributions to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n      - name: Build a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --outdir dist/\n          .\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "christophermayes/xopt"}
{"mined_at": "2024-07-15T17:01:52.467060", "created_at": "2022-03-03T22:18:11+01:00", "updated_at": "2022-03-03T22:18:11+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "christophermayes/xopt"}
{"mined_at": "2024-07-15T17:01:54.522293", "created_at": "2022-11-11T11:04:47+01:00", "updated_at": "2022-11-11T11:04:47+01:00", "name": "ros CI", "path": ".github/workflows/ci.yaml", "contents": "name: ros CI\n\non:\n  push:\n    branches: [ humble-dev ]\n  pull_request:\n    branches: [ humble-dev ]\n\njobs:\n  test_docker: # On Linux, iterates on all ROS 1 and ROS 2 distributions.\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        ros_distribution:\n          # - noetic\n          - humble\n          - iron\n\n        # Define the Docker image(s) associated with each ROS distribution.\n        # The include syntax allows additional variables to be defined, like\n        # docker_image in this case. See documentation:\n        # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-configurations-in-a-matrix-build\n        #\n        # Platforms are defined in REP 3 and REP 2000:\n        # https://ros.org/reps/rep-0003.html\n        # https://ros.org/reps/rep-2000.html\n        include:\n          # Noetic Ninjemys (May 2020 - May 2025)\n          # - docker_image: ubuntu:focal\n          #   ros_distribution: noetic\n          #   ros_version: 1\n\n          # Humble Hawksbill (May 2022 - May 2027)\n          - docker_image: ubuntu:jammy\n            ros_distribution: humble\n            ros_version: 2\n\n          # Iron Irwini (May 2023 - November 2024)\n          - docker_image: ubuntu:jammy\n            ros_distribution: iron\n            ros_version: 2\n\n          # # Rolling Ridley (No End-Of-Life)\n          # - docker_image: ubuntu:jammy\n          #   ros_distribution: rolling\n          #   ros_version: 2\n\n    container:\n      image: ${{ matrix.docker_image }}\n    steps:\n      - name: setup ROS environment\n        uses: LCAS/setup-ros@master\n        with:\n          required-ros-distributions: ${{ matrix.ros_distribution }}\n      - name: build and test ROS 1\n        if: ${{ matrix.ros_version == 1 }}\n        uses: ros-tooling/action-ros-ci@v0.3\n        with:\n          target-ros1-distro: ${{ matrix.ros_distribution }}\n      - name: build and test ROS 2\n        if: ${{ matrix.ros_version == 2 }}\n        uses: ros-tooling/action-ros-ci@v0.3\n        with:\n          target-ros2-distro: ${{ matrix.ros_distribution }}\n", "state": "active", "repository": "lcas/topological_navigation"}
{"mined_at": "2024-07-15T17:01:56.665418", "created_at": "2021-10-05T08:29:07+02:00", "updated_at": "2022-08-22T02:37:19+02:00", "name": ".github/workflows/run-cloud-imports.yml", "path": ".github/workflows/run-cloud-imports.yml", "contents": null, "state": "active", "repository": "thegreenwebfoundation/admin-portal"}
{"mined_at": "2024-07-15T17:01:57.786963", "created_at": "2021-03-22T09:09:21+01:00", "updated_at": "2022-08-22T02:37:20+02:00", "name": ".github/workflows/run-database-snapshot.yml", "path": ".github/workflows/run-database-snapshot.yml", "contents": null, "state": "active", "repository": "thegreenwebfoundation/admin-portal"}
{"mined_at": "2024-07-15T17:01:58.926062", "created_at": "2022-10-31T14:54:43+01:00", "updated_at": "2022-10-31T14:54:43+01:00", "name": "Deploy to staging environment", "path": ".github/workflows/run-deploy-staging.yml", "contents": "name: Deploy to staging environment\n\non:\n  push:\n    # TODO: decide whether we should\n    # parameterize our deploy script instead of\n    # duplicating the action\n    branches:\n      - staging\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./\n\njobs:\n  deploy:\n    environment: staging\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Use turnstyle to serialise deploys\n        uses: softprops/turnstyle@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Run playbook\n        uses: dawidd6/action-ansible-playbook@v2\n        with:\n          playbook: ./ansible/deploy.yml\n          directory: ./\n          key: ${{secrets.SSH_PRIVATE_KEY}}\n          inventory: |\n          options: |\n            --inventory ./ansible/inventories/staging.yml\n        env:\n          ANSIBLE_STDOUT_CALLBACK: yaml\n          PYTHONDONTWRITEBYTECODE: 1\n          MAILGUN_API_KEY: ${{ secrets.MAILGUN_API_KEY }}\n          DATABASE_URL: ${{ secrets.DATABASE_URL }}\n          DATABASE_URL_READ_ONLY: ${{ secrets.DATABASE_URL_READ_ONLY }}\n          EXPLORER_TOKEN: ${{ secrets.EXPLORER_TOKEN }}\n          SECRET_KEY: ${{ secrets.SECRET_KEY }}\n          DJANGO_SETTINGS_MODULE: ${{ secrets.DJANGO_SETTINGS_MODULE }}\n          RABBITMQ_URL: ${{ secrets.RABBITMQ_URL }}\n          SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n          SENTRY_DSN: ${{ secrets.SENTRY_DSN }}\n          SENTRY_RELEASE: ${{ secrets.SENTRY_RELEASE }}\n          SENTRY_ENVIRONMENT: ${{ secrets.SENTRY_ENVIRONMENT }}\n          OBJECT_STORAGE_ENDPOINT: ${{ secrets.OBJECT_STORAGE_ENDPOINT }}\n          OBJECT_STORAGE_REGION: ${{ secrets.OBJECT_STORAGE_REGION }}\n          OBJECT_STORAGE_ACCESS_KEY_ID: ${{ secrets.OBJECT_STORAGE_ACCESS_KEY_ID }}\n          OBJECT_STORAGE_SECRET_ACCESS_KEY: ${{ secrets.OBJECT_STORAGE_SECRET_ACCESS_KEY }}\n          OBJECT_STORAGE_BUCKET_NAME: ${{ secrets.OBJECT_STORAGE_BUCKET_NAME }}\n          DOMAIN_SNAPSHOT_BUCKET: ${{ secrets.DOMAIN_SNAPSHOT_BUCKET }}\n          AMAZON_PROVIDER_ID: ${{ secrets.AMAZON_PROVIDER_ID }}\n          AMAZON_REMOTE_API_ENDPOINT: ${{ secrets.AMAZON_REMOTE_API_ENDPOINT }}\n          MICROSOFT_PROVIDER_ID: ${{ secrets.MICROSOFT_PROVIDER_ID }}\n          MICROSOFT_LOCAL_FILE_DIRECTORY: ${{ secrets.MICROSOFT_LOCAL_FILE_DIRECTORY }}\n          EQUINIX_PROVIDER_ID: ${{ secrets.EQUINIX_PROVIDER_ID }}\n          EQUINIX_REMOTE_API_ENDPOINT: ${{ secrets.EQUINIX_REMOTE_API_ENDPOINT }}\n          MAXMIND_USER_ID: ${{ secrets.MAXMIND_USER_ID }}\n          MAXMIND_LICENCE_KEY: ${{ secrets.MAXMIND_LICENCE_KEY }}\n          AWS_SHARED_CREDENTIALS_FILE: ${{ secrets.AWS_SHARED_CREDENTIALS_FILE }}\n          AWS_CONFIG_FILE: ${{ secrets.AWS_CONFIG_FILE }}\n          API_URL: ${{ secrets.API_URL }}\n          TRELLO_REGISTRATION_EMAIL_TO_BOARD_ADDRESS: ${{ secrets.TRELLO_REGISTRATION_EMAIL_TO_BOARD_ADDRESS }}\n", "state": "active", "repository": "thegreenwebfoundation/admin-portal"}
{"mined_at": "2024-07-15T17:01:59.972081", "created_at": "2021-03-20T22:27:40+01:00", "updated_at": "2021-03-20T22:27:40+01:00", "name": "Deploy", "path": ".github/workflows/run-deploy.yml", "contents": "name: Deploy\n\non:\n  push:\n    branches:\n      - master\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./\n\njobs:\n  deploy:\n    environment: prod\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Use turnstyle to serialise deploys\n        uses: softprops/turnstyle@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Run playbook\n        uses: dawidd6/action-ansible-playbook@v2\n        with:\n          playbook: ./ansible/deploy.yml\n          directory: ./\n          key: ${{secrets.SSH_PRIVATE_KEY}}\n          inventory: |\n          options: |\n            --inventory ./ansible/inventories/prod.yml\n        env:\n          ANSIBLE_STDOUT_CALLBACK: yaml\n          PYTHONDONTWRITEBYTECODE: 1\n          MAILGUN_API_KEY: ${{ secrets.MAILGUN_API_KEY }}\n          DATABASE_URL: ${{ secrets.DATABASE_URL }}\n          DATABASE_URL_READ_ONLY: ${{ secrets.DATABASE_URL_READ_ONLY }}\n          EXPLORER_TOKEN: ${{ secrets.EXPLORER_TOKEN }}\n          SECRET_KEY: ${{ secrets.SECRET_KEY }}\n          DJANGO_SETTINGS_MODULE: ${{ secrets.DJANGO_SETTINGS_MODULE }}\n          RABBITMQ_URL: ${{ secrets.RABBITMQ_URL }}\n          SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n          SENTRY_DSN: ${{ secrets.SENTRY_DSN }}\n          SENTRY_RELEASE: ${{ secrets.SENTRY_RELEASE }}\n          SENTRY_ENVIRONMENT: ${{ secrets.SENTRY_ENVIRONMENT }}\n          OBJECT_STORAGE_ENDPOINT: ${{ secrets.OBJECT_STORAGE_ENDPOINT }}\n          OBJECT_STORAGE_REGION: ${{ secrets.OBJECT_STORAGE_REGION }}\n          OBJECT_STORAGE_ACCESS_KEY_ID: ${{ secrets.OBJECT_STORAGE_ACCESS_KEY_ID }}\n          OBJECT_STORAGE_SECRET_ACCESS_KEY: ${{ secrets.OBJECT_STORAGE_SECRET_ACCESS_KEY }}\n          OBJECT_STORAGE_BUCKET_NAME: ${{ secrets.OBJECT_STORAGE_BUCKET_NAME }}\n          DOMAIN_SNAPSHOT_BUCKET: ${{ secrets.DOMAIN_SNAPSHOT_BUCKET }}\n          AMAZON_PROVIDER_ID: ${{ secrets.AMAZON_PROVIDER_ID }}\n          AMAZON_REMOTE_API_ENDPOINT: ${{ secrets.AMAZON_REMOTE_API_ENDPOINT }}\n          MICROSOFT_PROVIDER_ID: ${{ secrets.MICROSOFT_PROVIDER_ID }}\n          MICROSOFT_LOCAL_FILE_DIRECTORY: ${{ secrets.MICROSOFT_LOCAL_FILE_DIRECTORY }}\n          EQUINIX_PROVIDER_ID: ${{ secrets.EQUINIX_PROVIDER_ID }}\n          EQUINIX_REMOTE_API_ENDPOINT: ${{ secrets.EQUINIX_REMOTE_API_ENDPOINT }}\n          MAXMIND_USER_ID: ${{ secrets.MAXMIND_USER_ID }}\n          MAXMIND_LICENCE_KEY: ${{ secrets.MAXMIND_LICENCE_KEY }}\n          AWS_SHARED_CREDENTIALS_FILE: ${{ secrets.AWS_SHARED_CREDENTIALS_FILE }}\n          AWS_CONFIG_FILE: ${{ secrets.AWS_CONFIG_FILE }}\n          API_URL: ${{ secrets.API_URL }}\n          TRELLO_REGISTRATION_EMAIL_TO_BOARD_ADDRESS: ${{ secrets.TRELLO_REGISTRATION_EMAIL_TO_BOARD_ADDRESS }}\n", "state": "active", "repository": "thegreenwebfoundation/admin-portal"}
{"mined_at": "2024-07-15T17:02:01.056635", "created_at": "2021-03-16T16:46:30+01:00", "updated_at": "2021-07-14T15:24:23+02:00", "name": "Run tests", "path": ".github/workflows/run-tests.yml", "contents": "name: Run tests\n\non:\n  push:\n    paths-ignore:\n      - \"**.md\"\n      - \".gitignore\"\n  # make our tests run when we have external PRs\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n      - \".gitignore\"\n\ndefaults:\n  run:\n    working-directory: ./\n\njobs:\n  run_tests:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write # this allows to show table and charts in PRs\n\n    services:\n      mariadb:\n        image: mariadb:10.11\n        ports:\n          - 3306:3306\n        env:\n          MYSQL_ROOT_PASSWORD: just-for-github-actions\n          MYSQL_DATABASE: greencheck\n\n      # rabbitmq\n      rabbitmq:\n        image: rabbitmq:3.8\n        env:\n          RABBITMQ_USERNAME: \"guest\"\n          RABBITMQ_PASSWORD: \"guest\"\n        ports:\n          - 5672:5672\n        options: '--hostname \"rmq\" --health-cmd \"rabbitmqctl status\" --health-interval 10s --health-timeout 10s --health-retries 3 --health-start-period 60s'\n\n    strategy:\n      matrix:\n        python-version: [3.11]\n\n    steps:\n      - name: Eco CI Energy Estimation - Initialize\n        uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3\n        with:\n          task: start-measurement\n          company-uuid: \"7f1d34f0-7666-4378-8d8f-d37cced7ccb0\"\n          project-uuid: \"a9946d61-149b-4757-99e5-aaac24acf289\"\n          machine-uuid: \"90a9ec92-0884-43bc-8b98-9a7885864307\"\n        continue-on-error: true\n\n      - uses: actions/checkout@v4\n      - name: Eco CI Energy Estimation - Get Measurement\n        uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3\n        with:\n          task: get-measurement\n          label: \"checkout\"\n        continue-on-error: true\n\n      - name: Use Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Eco CI Energy Estimation - Get Measurement\n        uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3\n        with:\n          task: get-measurement\n          label: \"setup-python\"\n        continue-on-error: true\n\n      - name: Install tooling for managing dependencies\n        run: |\n          python -m pip install --upgrade uv wheel\n      - name: Eco CI Energy Estimation - Get Measurement\n        uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3\n        with:\n          task: get-measurement\n          label: \"pip install uv wheel\"\n        continue-on-error: true\n\n      # - name: Set up a cache-key for installations of dependencies, in .venv\n      #   id: cache-venv\n      #   uses: actions/cache@v4\n      #   with:\n      #     path: ./.venv\n      #     key: ${{ runner.os }}-venv-${{ hashFiles('**/Pipfile.lock') }}\n\n      - name: Install dependencies\n        # skipping this check to see if we have a collision between cache keys\n        # when deploying versus running tests\n        # if: steps.cache-pipenv.outputs.cache-hit != 'true'\n        run: |\n          uv venv\n          uv pip install -r requirements/requirements.linux.generated.txt\n      - name: Eco CI Energy Estimation - Get Measurement\n        uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3\n        with:\n          task: get-measurement\n          label: \"pip install requirements\"\n        continue-on-error: true\n\n      - name: Run tests\n        run: |\n          source .venv/bin/activate\n          .venv/bin/dotenv -f .env.test run -- pytest\n        env:\n          DOMAIN_SNAPSHOT_BUCKET: ${{ secrets.TESTING_DOMAIN_SNAPSHOT_BUCKET }}\n          DATABASE_URL_READ_ONLY: ${{ secrets.TESTING_DATABASE_URL_READ_ONLY }}\n          OBJECT_STORAGE_ACCESS_KEY_ID: ${{ secrets.TESTING_OBJECT_STORAGE_ACCESS_KEY_ID }}\n          OBJECT_STORAGE_SECRET_ACCESS_KEY: ${{ secrets.TESTING_OBJECT_STORAGE_SECRET_ACCESS_KEY }}\n          OBJECT_STORAGE_ENDPOINT: ${{ secrets.TESTING_OBJECT_STORAGE_ENDPOINT }}\n          OBJECT_STORAGE_REGION: ${{ secrets.TESTING_OBJECT_STORAGE_REGION }}\n          OBJECT_STORAGE_BUCKET_NAME: ${{ secrets.TESTING_OBJECT_STORAGE_BUCKET_NAME }}\n          AMAZON_PROVIDER_ID: ${{ secrets.AMAZON_PROVIDER_ID }}\n          AMAZON_REMOTE_API_ENDPOINT: ${{ secrets.AMAZON_REMOTE_API_ENDPOINT }}\n          MICROSOFT_PROVIDER_ID: ${{ secrets.MICROSOFT_PROVIDER_ID }}\n          MICROSOFT_LOCAL_FILE_DIRECTORY: ${{ secrets.MICROSOFT_LOCAL_FILE_DIRECTORY }}\n          EQUINIX_PROVIDER_ID: ${{ secrets.EQUINIX_PROVIDER_ID }}\n          EQUINIX_REMOTE_API_ENDPOINT: ${{ secrets.EQUINIX_REMOTE_API_ENDPOINT }}\n          AWS_SHARED_CREDENTIALS_FILE: ${{ secrets.AWS_SHARED_CREDENTIALS_FILE }}\n          AWS_CONFIG_FILE: ${{ secrets.AWS_CONFIG_FILE }}\n      - name: Eco CI Energy Estimation - Get Measurement\n        uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3\n        with:\n          task: get-measurement\n          label: \"pytest\"\n        continue-on-error: true\n\n      - name: Eco CI Energy Estimation - End Measurement\n        uses: green-coding-solutions/eco-ci-energy-estimation@v4.0-rc3\n        with:\n          task: display-results\n          pr-comment: true\n          send-data: true\n        continue-on-error: true\n", "state": "active", "repository": "thegreenwebfoundation/admin-portal"}
{"mined_at": "2024-07-15T17:02:03.226271", "created_at": "2024-02-16T04:08:10+01:00", "updated_at": "2024-02-16T04:08:10+01:00", "name": "Check for API breaks", "path": ".github/workflows/change.yaml", "contents": null, "state": "active", "repository": "openfreeenergy/openfe"}
{"mined_at": "2024-07-15T17:02:04.249142", "created_at": "2022-01-25T13:11:26+01:00", "updated_at": "2023-11-20T16:57:50+01:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: \"CI\"\non:\n  pull_request:\n    branches:\n      - main\n   # Skip CI if changed files only affect the following folders\n   # - docs: documentation changes don't need code validation\n   # See here for more details: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-excluding-paths\n    paths-ignore:\n      - \"docs/*\"\n  push:\n    branches:\n      - main\n  schedule:\n    # At 07:00 UTC on Monday and Thursday.\n    - cron: \"0 7 * * *\"\n  workflow_dispatch:\n  release:\n    types:\n      - published\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n    name: \"💻-${{matrix.os }} 🐍-${{ matrix.python-version }} 🗃️${{ matrix.pydantic-version }} oechem: ${{ matrix.openeye }}\"\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        pydantic-version: [\">1\"]\n        python-version:\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        openeye: [\"no\"]\n        ommff-version: [\"0.13\"]\n        include:\n          - os: \"macos-12\"\n            python-version: \"3.12\"\n            pydantic-version: \">1\"\n          - os: \"ubuntu-latest\"\n            python-version: \"3.11\"\n            pydantic-version: \"<2\"\n          - os: \"ubuntu-latest\"\n            python-version: \"3.11\"\n            pydantic-version: \">1\"\n            openeye: \"yes\"\n          - os: \"ubuntu-latest\"\n            python-version: \"3.10\"\n            pydantic-version: \">1\"\n            openeye: \"no\"\n            ommff-version: \"<0.13\"\n          - os: \"macos-latest\"\n            python-version: \"3.12\"\n            pydantic-version: \">1\"\n            omff-version: \"0.13\"\n            openeye: [\"no\"]\n\n    env:\n      OE_LICENSE: ${{ github.workspace }}/oe_license.txt\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +%Y-%m-%d)\" >> \"${GITHUB_OUTPUT}\"\n\n      - name: \"Setup Micromamba\"\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment.yml\n          environment-name: openfe_env\n          cache-environment: true\n          cache-downloads: true\n          cache-environment-key: environment-${{ steps.date.outputs.date }}\n          cache-downloads-key: downloads-${{ steps.date.outputs.date }}\n          create-args: >-\n            python=${{ matrix.python-version }}\n            pydantic=${{ matrix.pydantic-version }}\n            openmmforcefields=${{ matrix.ommff-version }}\n          init-shell: bash\n\n      - name: \"Install OpenEye\"\n        if: ${{ !github.event.pull_request.head.repo.fork\n                && matrix.openeye == 'yes' }}\n        env:\n          OE_LICENSE_TEXT: ${{ secrets.OE_LICENSE }}\n        run: |\n          echo \"${OE_LICENSE_TEXT}\" > ${OE_LICENSE}\n          micromamba install -c openeye openeye-toolkits\n          python -c \"import openeye; assert openeye.oechem.OEChemIsLicensed(), 'oechem license check failed!'\"\n\n      - name: \"Install GUFE from main@HEAD\"\n        run: python -m pip install --no-deps git+https://github.com/OpenFreeEnergy/gufe@main\n\n      - name: \"Install\"\n        run: python -m pip install --no-deps -e .\n\n      - name: \"Test imports\"\n        run: |\n          # if we add more to this, consider changing to for + env vars\n          python -Ic \"import openfe; print(openfe.__version__)\"\n\n      - name: \"Environment Information\"\n        run: |\n          micromamba info\n          micromamba list\n          pip list\n\n      - name: \"Run tests\"\n        env:\n          # Set the OFE_SLOW_TESTS to True if running a Cron job\n          OFE_SLOW_TESTS: ${{ fromJSON('{\"false\":\"false\",\"true\":\"true\"}')[github.event_name != 'pull_request'] }}\n          DUECREDIT_ENABLE: 'yes'\n        run: |\n          pytest -n auto -v --cov=openfe --cov=openfecli --cov-report=xml --durations=10\n\n      - name: codecov-pr\n        if: ${{ github.repository == 'OpenFreeEnergy/openfe'\n                && github.event_name == 'pull_request' }}\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: coverage.xml\n          fail_ci_if_error: False\n          verbose: True\n          flags: fast-tests\n\n      - name: codecov-merge\n        # we only want to upload a slow report if\n        # 1) it isn't a schedule run\n        # 2) it wasn't from a PR (we don't run slow tests on PRs)\n        if: ${{ github.repository == 'OpenFreeEnergy/openfe'  \n                && github.event_name != 'schedule'            \n                && github.event_name != 'pull_request' }}     \n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: coverage.xml\n          fail_ci_if_error: False\n          verbose: True\n          flags: slow-tests\n", "state": "active", "repository": "openfreeenergy/openfe"}
{"mined_at": "2024-07-15T17:02:05.368416", "created_at": "2023-04-10T22:05:44+02:00", "updated_at": "2023-04-10T22:05:44+02:00", "name": "cleanup caches by a branch", "path": ".github/workflows/clean_cache.yaml", "contents": "# from https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries\nname: cleanup caches by a branch\non:\n  pull_request:\n    types:\n      - closed\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n        \n      - name: Cleanup\n        run: |\n          gh extension install actions/gh-actions-cache\n          \n          REPO=${{ github.repository }}\n          BRANCH=\"refs/pull/${{ github.event.pull_request.number }}/merge\"\n\n          echo \"Fetching list of cache key\"\n          cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )\n\n          ## Setting this to not fail the workflow while deleting cache keys. \n          set +e\n          echo \"Deleting caches...\"\n          for cacheKey in $cacheKeysForPR\n          do\n              gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm\n          done\n          echo \"Done\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "openfreeenergy/openfe"}
{"mined_at": "2024-07-15T17:02:06.496952", "created_at": "2023-04-07T12:17:20+02:00", "updated_at": "2023-04-07T12:17:20+02:00", "name": "conda_cron", "path": ".github/workflows/conda_cron.yaml", "contents": null, "state": "active", "repository": "openfreeenergy/openfe"}
{"mined_at": "2024-07-15T17:02:07.624532", "created_at": "2023-04-14T19:48:51+02:00", "updated_at": "2023-04-25T17:19:11+02:00", "name": "Test Docker Image Building", "path": ".github/workflows/docker-cron.yaml", "contents": "name: Test Docker Image Building\n\non:\n  push:\n    branches:\n      - main\n  schedule:\n    # nightly tests\n    - cron: \"0 7 * * *\"\n\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: openfreeenergy/openfe\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Use dev tag for nightly builds\n        id: latest-version\n        run: |\n          VERSION=dev\n          echo $VERSION\n          echo \"VERSION=$VERSION\" >> $GITHUB_OUTPUT\n\n      - name: Print Latest Version\n        run: echo ${{ steps.latest-version.outputs.VERSION }}\n\n      - name: Create fully qualified image registry path\n        id: fqirp\n        run: |\n          FQIRP=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.latest-version.outputs.VERSION }}\n          echo \"FQIRP=$FQIRP\" >> $GITHUB_OUTPUT\n\n      - name: Print FQIRP\n        run: echo ${{ steps.fqirp.outputs.FQIRP  }}\n\n      - name: Build package\n        run: |\n          python3 -m pip install --upgrade build\n          python3 -m build\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n          tags: |\n            type=schedule,pattern=nightly,enable=true,priority=1000\n            type=ref,event=branch,enable=true,priority=600\n            type=ref,event=tag,enable=true,priority=600\n            type=ref,event=pr,prefix=pr-,enable=true,priority=600\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{version}}\n            type=sha\n            ${{ steps.latest-version.outputs.VERSION }}\n\n      - name: Build and export to Docker\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: production/Dockerfile\n          load: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n\n      - name: Test image\n        run: |\n          docker run --rm ${{ steps.fqirp.outputs.FQIRP }} openfe --help\n          docker run --rm ${{ steps.fqirp.outputs.FQIRP }} openfe --version\n          docker run --rm ${{ steps.fqirp.outputs.FQIRP }} python -c \"import gufe; print(gufe.__version__)\"\n          docker run --rm ${{ steps.fqirp.outputs.FQIRP }} pytest --pyargs gufe -v\n          docker run --rm ${{ steps.fqirp.outputs.FQIRP }} pytest --pyargs openfe -v\n", "state": "active", "repository": "openfreeenergy/openfe"}
{"mined_at": "2024-07-15T17:02:08.853131", "created_at": "2023-04-07T12:51:24+02:00", "updated_at": "2023-04-17T23:34:33+02:00", "name": "Create and publish a Docker image", "path": ".github/workflows/docker.yaml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# GitHub recommends pinning actions to a commit SHA.\n# To get a newer version, you will need to update the SHA.\n# You can also reference a tag or branch, but the action may change without warning.\n\nname: Create and publish a Docker image\n\non:\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: openfreeenergy/openfe\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Get Latest Version\n        id: latest-version\n        run: |\n          LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))\n          echo $LATEST_TAG\n          echo \"LATEST_TAG=$LATEST_TAG\" >> $GITHUB_OUTPUT\n          # slice off the v, ie v0.7.2 -> 0.7.2\n          VERSION=${LATEST_TAG:1}\n          echo $VERSION\n          echo \"VERSION=$VERSION\" >> $GITHUB_OUTPUT\n\n      - name: Print Latest Version\n        run: echo ${{ steps.latest-version.outputs.VERSION }}\n\n      - name: Create fully qualified image registry path\n        id: fqirp\n        run: |\n          FQIRP=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.latest-version.outputs.VERSION }}\n          echo \"FQIRP=$FQIRP\" >> $GITHUB_OUTPUT\n\n      - name: Print FQIRP\n        run: echo ${{ steps.fqirp.outputs.FQIRP  }}\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n          tags: |\n            type=schedule,pattern=nightly,enable=true,priority=1000\n            type=ref,event=branch,enable=true,priority=600\n            type=ref,event=tag,enable=true,priority=600\n            type=ref,event=pr,prefix=pr-,enable=true,priority=600\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{version}}\n            type=sha\n            ${{ steps.latest-version.outputs.VERSION }}\n\n      - name: Build and export to Docker\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: production/Dockerfile\n          load: true\n          push: false\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            VERSION=${{ steps.latest-version.outputs.VERSION }}\n\n      - name: Test image\n        run: |\n          docker run --rm ${{ steps.fqirp.outputs.FQIRP }} openfe --help\n          docker run --rm ${{ steps.fqirp.outputs.FQIRP }} openfe --version\n          docker run --rm ${{ steps.fqirp.outputs.FQIRP }} python -c \"import gufe; print(gufe.__version__)\"\n          docker run --rm ${{ steps.fqirp.outputs.FQIRP }} pytest --pyargs gufe -v\n          docker run --rm ${{ steps.fqirp.outputs.FQIRP }} pytest --pyargs openfe -v\n\n      - name: Push Docker image\n        uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n        with:\n          context: .\n          file: production/Dockerfile\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            VERSION=${{ steps.latest-version.outputs.VERSION }}\n\n      - name: Setup Apptainer\n        uses: eWaterCycle/setup-apptainer@v2\n        with:\n          apptainer-version: 1.1.2\n\n      - name: Build Apptainer Image\n        run: singularity build openfe_${{ steps.latest-version.outputs.VERSION }}.sif docker-daemon:${{ steps.fqirp.outputs.FQIRP }}\n\n      - name: Test & Push Apptainer Image\n        run: |\n          mkdir test_apptainer\n          cd test_apptainer\n          singularity run ../openfe_${{ steps.latest-version.outputs.VERSION }}.sif --help\n          singularity run ../openfe_${{ steps.latest-version.outputs.VERSION }}.sif --version\n          singularity run ../openfe_${{ steps.latest-version.outputs.VERSION }}.sif pytest --pyargs openfe -v -n auto\n          echo ${{ secrets.GITHUB_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io\n          singularity push ../openfe_${{ steps.latest-version.outputs.VERSION }}.sif oras://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.latest-version.outputs.VERSION }}-apptainer\n          singularity push ../openfe_${{ steps.latest-version.outputs.VERSION }}.sif oras://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-apptainer\n", "state": "active", "repository": "openfreeenergy/openfe"}
{"mined_at": "2024-07-15T17:02:10.080552", "created_at": "2022-03-31T06:49:27+02:00", "updated_at": "2023-04-13T01:38:34+02:00", "name": "Make single-file installers", "path": ".github/workflows/installer.yaml", "contents": "name: Make single-file installers\n\non:\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash -leo pipefail {0}\n\njobs:\n  test:\n    name: Building single file installer on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-14, macos-12, ubuntu-latest]\n\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Get Latest Version\n      id: latest-version\n      run: |\n        LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))\n        # slice off the v, ie v0.7.2 -> 0.7.2\n        VERSION=${LATEST_TAG:1}\n        echo $VERSION\n        echo \"VERSION=$VERSION\" >> $GITHUB_OUTPUT\n\n    - name: Print Latest Version\n      run: echo ${{ steps.latest-version.outputs.VERSION }}\n\n    - name: Install constructor environment with Micromamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: installer\n        create-args: >-\n          python=3.10\n          jinja2\n          constructor\n        init-shell: bash\n\n    - name: Create installer\n      run: VERSION=${{ steps.latest-version.outputs.VERSION }} constructor devtools/installer/\n\n    - name: Get installer file name\n      id: file-name\n      run: |\n        # This should work as long as we don't have any *.sh files in our root dir\n        FILE_NAME=$(find * -maxdepth 0 -type f -name \"*.sh\")\n        echo $FILE_NAME\n        echo \"FILE_NAME=$FILE_NAME\" >> $GITHUB_OUTPUT\n\n    - name: Test installer\n      run: |\n        chmod +x ${{ steps.file-name.outputs.FILE_NAME }}\n        ./${{ steps.file-name.outputs.FILE_NAME }} -b\n        export PATH=\"$HOME/openfeforge/bin:$PATH\"\n        OFE_SLOW_TESTS=FALSE pytest -v --pyargs openfe\n        # Copy for \"latest\" release by removing version\n        # Inspired by https://github.com/conda-forge/miniforge/blob/main/.github/workflows/ci.yml\n        cp ${{ steps.file-name.outputs.FILE_NAME }} $(echo ${{ steps.file-name.outputs.FILE_NAME }} | sed -e 's/-[^-]*//')\n\n    - uses: actions/upload-artifact@v3\n      with:\n        name: ${{ steps.file-name.outputs.FILE_NAME }}\n        path: OpenFEforge*\n        if-no-files-found: error\n\n    - name: Upload openfe forge to release\n      uses: svenstaro/upload-release-action@v2\n      with:\n        repo_token: ${{ secrets.GITHUB_TOKEN }}\n        file: OpenFEforge*\n        tag: ${{ github.ref }}\n        overwrite: true\n        file_glob: true\n      if: startsWith(github.ref, 'refs/tags/')\n", "state": "active", "repository": "openfreeenergy/openfe"}
{"mined_at": "2024-07-15T17:02:11.309143", "created_at": "2022-02-11T19:25:24+01:00", "updated_at": "2022-02-11T20:17:06+01:00", "name": "mypy", "path": ".github/workflows/mypy.yaml", "contents": "name: \"mypy\"\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: \"${{ github.workflow }}-${{ github.ref }}\"\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +%Y-%m-%d)\" >> \"${GITHUB_OUTPUT}\"\n\n      - name: \"Setup Micromamba\"\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment.yml\n          environment-name: openfe_env\n          cache-environment: true\n          cache-downloads: true\n          cache-environment-key: environment-${{ steps.date.outputs.date }}\n          cache-downloads-key: downloads-${{ steps.date.outputs.date }}\n          create-args: >-\n            python=3\n            rdkit=2023.09.5\n          init-shell: bash\n\n      - name: \"Install steps\"\n        run: |\n          python -m pip install --no-deps git+https://github.com/OpenFreeEnergy/gufe@main\n          python -m pip install mypy\n          python -m pip install types-pkg_resources\n          python -m pip install --no-deps -e .\n\n      - name: \"Environment Information\"\n        run: |\n          micromamba info\n          micromamba list\n\n      - name: \"Lint with mypy\"\n        run: mypy \n", "state": "active", "repository": "openfreeenergy/openfe"}
{"mined_at": "2024-07-15T17:02:12.434445", "created_at": "2023-04-11T19:56:45+02:00", "updated_at": "2023-04-11T21:10:44+02:00", "name": "Package Install Tests", "path": ".github/workflows/package-tests.yaml", "contents": "name: \"Package Install Tests\"\non:\n  schedule:\n    # At 07:00 UTC on Monday and Thursday.\n    - cron: \"0 7 * * *\"\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  package-tests:\n    runs-on: ubuntu-latest\n    name: \"package install tests\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +%Y-%m-%d)\" >> \"${GITHUB_OUTPUT}\"\n\n      - name: \"Setup Micromamba\"\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment.yml\n          environment-name: openfe_env\n          cache-environment: true\n          cache-downloads: true\n          cache-environment-key: environment-${{ steps.date.outputs.date }}\n          cache-downloads-key: downloads-${{ steps.date.outputs.date }}\n          create-args: >-\n            python=3.10\n          init-shell: bash\n\n      - name: \"install extra deps\"\n        run: pip install pipx wheel twine readme-renderer\n\n      - name: \"build sdist\"\n        run: pipx run build --sdist --outdir dist\n\n      - name: \"check package build\"\n        run: |\n          dist=$(ls -t1 dist/openfe-*tar.gz | head -n1)\n          test -n \"${dist}\" || { echo \"no distribution found\"; exit 1; }\n          twine check $dist\n\n      - name: \"install from source dist\"\n        working-directory: ./dist\n        run: python -m pip install openfe-*tar.gz\n\n      - name: \"run tests\"\n        working-directory: ./dist\n        env:\n          OFE_SLOW_TESTS: \"true\"\n        run: |\n          pytest -n auto -v --pyargs openfe.tests\n          pytest -n auto -v --pyargs openfecli.tests\n", "state": "active", "repository": "openfreeenergy/openfe"}
{"mined_at": "2024-07-15T17:02:14.688376", "created_at": "2022-04-27T23:51:24+02:00", "updated_at": "2022-04-27T23:51:24+02:00", "name": "CD", "path": ".github/workflows/CD.yml", "contents": "name: CD\n\non:\n  release:\n    types:\n    - published\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    if: \"startsWith(github.ref, 'refs/tags/')\"\n    outputs:\n      bytewax-version: ${{ steps.get-info.outputs.bytewax-version }}\n      version-image-tag: ${{ steps.get-info.outputs.version-image-tag }}\n      latest-image-tag: ${{ steps.get-info.outputs.latest-image-tag }}\n    steps:\n      - name: Get Version and Tags\n        id: get-info\n        run: |\n          BYTEWAX_VERSION=${GITHUB_REF:11}\n          echo \"::set-output name=bytewax-version::${BYTEWAX_VERSION}\"\n          REPOSITORY=bytewax/bytewax\n          IMAGE_TAG=\"${REPOSITORY}:${GITHUB_REF:11}\"\n          echo \"::set-output name=version-image-tag::${IMAGE_TAG}\"\n          echo \"::set-output name=latest-image-tag::${REPOSITORY}:latest\"\n      - name: Report Info\n        run: |\n          [ -n \"${{steps.get-info.outputs.bytewax-version}}\" ]\n          echo \"::notice title=Bytewax Version::${{ steps.get-info.outputs.bytewax-version }}\"\n          [ -n \"${{steps.get-info.outputs.version-image-tag}}\" ]\n          echo \"::notice title=Base Tag::${{ steps.get-info.outputs.version-image-tag }}\"\n          [ -n \"${{steps.get-info.outputs.latest-image-tag}}\" ]\n          echo \"::notice title=Latest Tag::${{ steps.get-info.outputs.latest-image-tag }}\"\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.ECR_ACCESS_KEY }}\n          aws-secret-access-key: ${{ secrets.ECR_SECRET_KEY }}\n          aws-region: us-west-2\n      - name: Download files from S3 with AWS CLI\n        run: |\n          aws s3 sync s3://${{ secrets.WHEELS_S3_BUCKET }}/${{ github.sha }} .\n          tree\n      - name: Check the Version and Quantity of Wheel files\n        env:\n          NEEDED_VERSION: ${{steps.get-info.outputs.bytewax-version}}\n          WHEELS: 30\n        run: |\n          cat << EOF > ./check_versions.sh\n          #!/bin/bash\n          echo \"Looking for version \\$NEEDED_VERSION in \\$WHEELS wheel files...\"\n          wheels_found=0\n          for file in *.whl\n          do\n            echo \"Processing file: \\$file\"\n            file_version=\\$(echo \\$file | sed 's/bytewax-//' | sed 's/-.*//')\n            echo \"Version in file: \\$file_version\"\n            if [ \"\\$NEEDED_VERSION\" = \"\\$file_version\" ]; then\n              echo \"OK\"\n              wheels_found=\\$((wheels_found+1))\n            else\n              echo \"Versions mismatch. Canceling...\"\n              exit 1\n            fi\n          done\n          echo \"\\$wheels_found wheel files with the right version found.\"\n          if [ \"\\$wheels_found\" = \"\\$WHEELS\" ]; then\n            echo \"Verification passed.\"\n          else\n            echo \"Wrong number of wheel files.\"\n            echo \"You should check if the last CI Workflow ends successfully.\"\n            echo \"https://github.com/bytewax/bytewax/actions/workflows/CI.yml\"\n            exit 1\n          fi\n          EOF\n          chmod +x ./check_versions.sh\n          ./check_versions.sh\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Publish to PyPI\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          pip install --upgrade twine\n          twine upload --skip-existing *.whl\n\n  check-pypi:\n    name: Check PyPI\n    runs-on: ubuntu-latest\n    if: \"startsWith(github.ref, 'refs/tags/')\"\n    needs: [ release ]\n    steps:\n    - name: Install ansible\n      run: |\n        pip install ansible==3.4.0\n        ansible -m ping localhost\n    - name: Create task file\n      run: |\n        cat << EOF > ./pip_task.yaml\n        ---\n        - name: Try install bytewax using pip\n          hosts: localhost\n          tasks:\n          - name: Loop\n            shell: \"pip install bytewax=={{ bytewax_version }} -v\"\n            register: pip_result\n            retries: 60\n            until: pip_result.rc == 0\n            delay: 10\n        EOF\n    - name: Upgrade pip version\n      run: |\n        pip --version\n        pip install --upgrade pip\n    - name: Check PyPI index before building docker images\n      run: |\n        ansible-playbook ./pip_task.yaml -e bytewax_version=${{ needs.release.outputs.bytewax-version }} -vvv\n\n  publish-docker-hub:\n    name: Publish to Docker Hub\n    if: \"startsWith(github.ref, 'refs/tags/')\"\n    needs: [ release, check-pypi ]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v2\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v1\n    - name: Login to Docker Hub\n      uses: docker/login-action@v1\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_PASSWORD }}\n    - name: Build and push to Docker Hub\n      id: docker_build\n      uses: docker/build-push-action@v4\n      with:\n        push: true\n        platforms: linux/amd64, linux/arm64\n        tags: |\n          ${{ needs.release.outputs.version-image-tag }}-python${{ matrix.python-version }}\n          ${{ needs.release.outputs.latest-image-tag }}-python${{ matrix.python-version }}\n        build-args: |\n          BYTEWAX_VERSION=${{ needs.release.outputs.bytewax-version }}\n          PYTHON_VERSION=${{ matrix.python-version }}\n        file: Dockerfile.release\n    - name: Tag latest\n      if: ${{ matrix.python-version == '3.9' }}\n      run: |\n        docker buildx imagetools create -t ${{ needs.release.outputs.latest-image-tag }} ${{ needs.release.outputs.version-image-tag }}-python${{ matrix.python-version }}\n", "state": "active", "repository": "bytewax/bytewax"}
{"mined_at": "2024-07-15T17:02:15.752520", "created_at": "2022-02-04T19:30:04+01:00", "updated_at": "2023-09-08T19:50:03+02:00", "name": "CI", "path": ".github/workflows/CI.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - \".github/ISSUE_TEMPLATE/**\"\n  pull_request: {}\n  merge_group:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number }}\n  cancel-in-progress: true\n\njobs:\n  repo-checks:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: 3.12\n      - name: Install uv\n        run: pipx install uv\n      - uses: extractions/setup-just@v2\n      # Need this because we're running `cargo clippy` and `fmt`\n      # directly.\n      - uses: dsherret/rust-toolchain-file@v1\n      - name: Install cbfmt\n        run: |\n            mkdir /tmp/cbfmt && cd $_\n            curl -fsSL -o cbfmt.tar.gz \"https://github.com/lukas-reineke/cbfmt/releases/download/v0.2.0/cbfmt_linux-x86_64_v0.2.0.tar.gz\"\n            tar --strip-components 1 -xvf cbfmt.tar.gz\n            mv cbfmt /usr/local/bin/\n      - name: Prep venv\n        shell: bash\n        run: |\n          uv venv -p 3.12 venv\n          . venv/bin/activate\n          uv pip sync --strict requirements/dev.txt\n      - name: Check pre-commit hooks\n        shell: bash\n        run: |\n          . venv/bin/activate\n          just lint-pc\n      - name: Run lints\n        shell: bash\n        run: |\n          . venv/bin/activate\n          just lint\n      - name: Run Rust tests\n        shell: bash\n        run: |\n          . venv/bin/activate\n          just test-rs\n      - name: Run documentation tests\n        shell: bash\n        run: |\n          . venv/bin/activate\n          just test-doc\n\n  linux:\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        target: ['x86_64', 'aarch64', 'armv7']\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cargo/bin/\n            ~/.cargo/registry/index/\n            ~/.cargo/registry/cache/\n            ~/.cargo/git/db/\n            target/\n          key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install uv\n        run: pipx install uv\n      - uses: extractions/setup-just@v2\n      - name: Prep build venv\n        shell: bash\n        run: |\n          uv venv -p ${{ matrix.python-version }} venv/\n          . venv/bin/activate\n          uv pip sync --strict requirements/build-py${{ matrix.python-version }}.txt\n      - name: Build wheel\n        uses: PyO3/maturin-action@v1\n        env:\n          RUSTFLAGS: -C force-frame-pointers=yes\n        with:\n          target: ${{ matrix.target }}\n          args: --release --out dist/ -i ${{ matrix.python-version }}\n          sccache: true\n      - name: Run Python tests\n        # Only run tests for the host architecture, as aarch64 and\n        # armv7 are cross-compiled on Ubuntu runners.\n        if: ${{ matrix.target == 'x86_64' }}\n        shell: bash\n        env:\n          TEST_KAFKA_BROKER: ${{ secrets.TEST_KAFKA_BROKER }}\n          CLUSTER_API_KEY: ${{ secrets.CLUSTER_API_KEY }}\n          CLUSTER_API_SECRET: ${{ secrets.CLUSTER_API_SECRET }}\n        run: |\n          . venv/bin/activate\n          WHEEL_FILE=$(ls ./dist/*.whl)\n          uv pip install -v --no-deps $WHEEL_FILE\n          just test-py\n      - name: Upload wheels\n        uses: actions/upload-artifact@v3\n        with:\n          name: wheels\n          path: dist\n\n  macos:\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        target: ['x86_64', 'aarch64']\n    runs-on: macos-latest\n    env:\n      MACOSX_DEPLOYMENT_TARGET: 10.9\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install uv\n        run: pipx install uv\n      - uses: extractions/setup-just@v2\n      - name: Prep build venv\n        shell: bash\n        run: |\n          uv venv -p ${{ matrix.python-version }} venv/\n          . venv/bin/activate\n          uv pip sync --strict requirements/build-py${{ matrix.python-version }}.txt\n      - name: Build wheel\n        uses: PyO3/maturin-action@v1\n        env:\n          RUSTFLAGS: -C force-frame-pointers=yes\n        with:\n          target: ${{ matrix.target }}\n          args: --release --out dist/ -i ${{ matrix.python-version }}\n      - name: Run Python tests\n        # Only run tests for the host architecture, as x86_64 is\n        # cross-compiled on macOS runners.\n        if: ${{ matrix.target == 'aarch64' }}\n        shell: bash\n        env:\n          TEST_KAFKA_BROKER: ${{ secrets.TEST_KAFKA_BROKER }}\n          CLUSTER_API_KEY: ${{ secrets.CLUSTER_API_KEY }}\n          CLUSTER_API_SECRET: ${{ secrets.CLUSTER_API_SECRET }}\n        run: |\n          . venv/bin/activate\n          WHEEL_FILE=$(ls ./dist/*.whl)\n          uv pip install -v --no-deps $WHEEL_FILE\n          just test-py\n      - name: Upload wheels\n        uses: actions/upload-artifact@v3\n        with:\n          name: wheels\n          path: dist\n\n  windows:\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    runs-on: windows-latest\n    steps:\n      - uses: ilammy/msvc-dev-cmd@v1\n      - shell: cmd\n        run: |\n          set PATH=%PATH%;%wix%bin;\"%WindowsSdkVerBinPath%\"\\x86\n      - uses: actions/checkout@v3\n      - uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cargo/bin/\n            ~/.cargo/registry/index/\n            ~/.cargo/registry/cache/\n            ~/.cargo/git/db/\n            target/\n          key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install uv\n        run: pipx install uv\n      - uses: extractions/setup-just@v2\n      - name: Prep build venv\n        run: |\n          uv venv -p ${{ matrix.python-version }} venv/\n          venv/Scripts/activate\n          uv pip sync --strict requirements/build-py${{ matrix.python-version }}.txt\n      - name: Build wheel\n        uses: PyO3/maturin-action@v1\n        env:\n          RUSTFLAGS: -C force-frame-pointers=yes\n        with:\n          target: ${{ matrix.target }}\n          args: --release --out dist/ -i ${{ matrix.python-version }}\n          sccache: true\n      - name: Run Python tests\n        run: |\n          venv/Scripts/activate\n          $WHEEL_FILE=@((gci -path dist *.whl|Resolve-path -relative) -replace \"\",\"\")[0]\n          uv pip install -v --no-deps $WHEEL_FILE\n          just test-py\n      - name: Upload wheels\n        uses: actions/upload-artifact@v3\n        with:\n          name: wheels\n          path: dist\n\n  upload:\n    name: Store wheels in S3\n    runs-on: ubuntu-20.04\n    if: \"github.ref == 'refs/heads/main'\"\n    needs: [ linux, macos, windows ]\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: wheels\n          path: wheels\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.ECR_ACCESS_KEY }}\n          aws-secret-access-key: ${{ secrets.ECR_SECRET_KEY }}\n          aws-region: us-west-2\n      - name: Upload files to S3 with AWS CLI\n        run: |\n          aws s3 sync ./wheels s3://${{ secrets.WHEELS_S3_BUCKET }}/${{ github.sha }} --delete\n          aws s3 ls s3://${{ secrets.WHEELS_S3_BUCKET }}/${{ github.sha }}\n", "state": "active", "repository": "bytewax/bytewax"}
{"mined_at": "2024-07-15T17:02:16.829732", "created_at": "2024-03-11T18:02:32+01:00", "updated_at": "2024-03-11T22:16:19+01:00", "name": "benchmarks", "path": ".github/workflows/benches.yml", "contents": "name: benchmarks\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n  # `workflow_dispatch` allows CodSpeed to trigger backtest\n  # performance analysis in order to generate initial data.\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number }}\n  cancel-in-progress: true\n\njobs:\n  benchmarks:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install uv\n        run: python3 -m pip install uv\n      - uses: mkroening/rust-toolchain-toml@main\n      - uses: extractions/setup-just@v2\n      - name: Prep build venv\n        shell: bash\n        run: |\n          uv venv -p 3.12 venv/\n          . venv/bin/activate\n          uv pip sync --strict requirements/build-py3.12.txt\n      - name: Build wheel\n        shell: bash\n        run: |\n          . venv/bin/activate\n          just build\n      - name: Run benchmarks\n        uses: CodSpeedHQ/action@v2\n        with:\n          token: ${{ secrets.CODSPEED_TOKEN }}\n          run: |\n            . venv/bin/activate\n            WHEEL_FILE=$(ls ./dist/*.whl)\n            uv pip install -v --no-deps $WHEEL_FILE\n            just test-benchmark\n", "state": "active", "repository": "bytewax/bytewax"}
{"mined_at": "2024-07-15T17:02:18.009477", "created_at": "2022-08-25T19:55:23+02:00", "updated_at": "2022-08-25T19:55:23+02:00", "name": "issue-automation", "path": ".github/workflows/issue_automation.yml", "contents": "name: issue-automation\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  automate-issues-labels:\n    runs-on: ubuntu-latest\n    steps:\n      - name: initial labeling\n        uses: andymckay/labeler@1.0.4\n        with:\n          add-labels: \"needs triage\"\n          ignore-if-assigned: true\n", "state": "active", "repository": "bytewax/bytewax"}
{"mined_at": "2024-07-15T17:02:19.755026", "created_at": "2023-06-01T02:12:09+02:00", "updated_at": "2023-06-01T02:12:09+02:00", "name": ".github/workflows/windows.yml", "path": ".github/workflows/windows.yml", "contents": null, "state": "active", "repository": "bytewax/bytewax"}
{"mined_at": "2024-07-15T17:02:22.087273", "created_at": "2023-09-06T17:35:53+02:00", "updated_at": "2023-10-27T18:00:07+02:00", "name": "Sonar", "path": ".github/workflows/sonar.yml", "contents": null, "state": "active", "repository": "giskard-ai/giskard"}
{"mined_at": "2024-07-15T17:02:23.139647", "created_at": "2023-09-21T22:30:14+02:00", "updated_at": "2023-09-21T22:30:14+02:00", "name": "Clear all caches", "path": ".github/workflows/clear-cache.yml", "contents": "name: Clear all caches\non:\n  workflow_dispatch:\n  schedule: \n    - cron: '0 0 * * 0' # Every week\n\npermissions:\n    actions: write\n\njobs:\n  clear:\n    name: Clear all cache\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.0\n        with:\n          fetch-depth: 1\n      - name: Clear cache\n        run: gh cache delete --all\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "giskard-ai/giskard"}
{"mined_at": "2024-07-15T17:02:24.196157", "created_at": "2023-10-02T16:06:08+02:00", "updated_at": "2023-10-03T11:29:50+02:00", "name": "Full CI", "path": ".github/workflows/build-python.yml", "contents": "# https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow\n# https://docs.github.com/fr/actions/using-workflows/workflow-syntax-for-github-actions#exemple--inclusion-de-chemins-dacc%C3%A8s\n\nname: Full CI\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  workflow_dispatch:\n    inputs:\n      run-integration-tests:\n        description: \"If integration test should be run\"\n        required: true\n        type: boolean\n        default: false\n      use-cache:\n        description: \"If cache should be used\"\n        required: true\n        type: boolean\n        default: true\n      is-dispatch:\n        description: \"Just to identify manual dispatch\"\n        required: true\n        type: boolean\n        default: true\n  workflow_call:\n    inputs:\n      run-integration-tests:\n        description: \"If integration test should be run\"\n        required: true\n        type: boolean\n        default: false\n      use-cache:\n        description: \"If cache should be used\"\n        required: true\n        type: boolean\n        default: false\n# Concurrency : auto-cancel \"old\" jobs ie when pushing again\n# https://docs.github.com/fr/actions/using-jobs/using-concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ inputs.run-integration-tests }}-${{ inputs.is-dispatch }}-${{ github.ref || github.run_id }}\n  cancel-in-progress: true\nenv:\n  GSK_DISABLE_ANALYTICS: true\n  GSK_DISABLE_SENTRY: true\ndefaults:\n  run:\n    shell: bash\njobs:\n  build-python:\n    name: \"Python ${{ matrix.python-version }}${{ matrix.pandas_v1 && ' (Pandas V1)' || ''}}${{ matrix.pydantic_v1 && ' (Pydantic V1)' || ''}} ${{ matrix.langchain_minimal && ' (Minimal langchain)' || ''}} on ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false # Do not stop when any job fails\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest]\n        pydantic_v1: [false]\n        pandas_v1: [false]\n        langchain_minimal: [false]\n        # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources\n        include:\n          # - python-version: \"3.10\" # Deactivating windows-2019, since it's trying to use python 3.7 to install PDM. Maybe try to reactivate later ?\n          #   os: windows-2019\n          #   pydantic_v1: false\n          #   pandas_v1: false\n          #   langchain_minimal: false\n          - python-version: \"3.10\"\n            os: windows-2022\n            pydantic_v1: false\n            pandas_v1: false\n            langchain_minimal: false\n          - python-version: \"3.10\"\n            os: macos-12\n            pydantic_v1: false\n            pandas_v1: false\n            langchain_minimal: false\n          - python-version: \"3.10\"\n            os: ubuntu-latest\n            pydantic_v1: true\n            pandas_v1: false\n            langchain_minimal: false\n          - python-version: \"3.10\"\n            os: ubuntu-latest\n            pydantic_v1: false\n            pandas_v1: true\n            langchain_minimal: false\n          - python-version: \"3.10\"\n            os: ubuntu-latest\n            pydantic_v1: false\n            pandas_v1: false\n            langchain_minimal: true\n    continue-on-error: false # https://ncorti.com/blog/howto-github-actions-build-matrix\n    steps:\n      - name: Check disk space\n        run: |\n          df -h\n      - name: Free disk space\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          sudo swapoff -a\n          sudo rm -f /swapfile\n          sudo rm -rf /usr/local/lib/android\n          sudo apt update && sudo apt remove -y \\\n          google-cloud-cli microsoft-edge-stable dotnet-sdk-* llvm-* google-chrome-stable temurin-*\n          sudo apt autoremove -y\n          sudo apt autoclean -y\n\n      - name: Check new disk space\n        run: |\n          df -h\n\n      - name: Checkout code\n        uses: actions/checkout@v4.1.0\n        with:\n          fetch-depth: 0\n\n      - name: Setup PDM\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: false\n\n      - name: Cache Giskard test resources\n        uses: actions/cache@v4\n        if: ${{ github.event_name == 'pull_request' || inputs.use-cache }}\n        with:\n          path: ~/.giskard\n          key: ${{ matrix.os }}-${{ matrix.python-version }}-python-test-resources-${{ hashFiles('tests/fixtures/**/*py')}}\n          restore-keys: ${{ matrix.os }}-${{ matrix.python-version }}-python-giskard-test-resources\n\n      - name: Check again new disk space\n        run: |\n          df -h\n\n      - name: Install dependencies\n        run: |\n          pdm install -G :all\n          pdm list\n\n      - name: Check yet again new disk space\n        run: |\n          df -h\n\n      - name: Re-install lightgbm from sources for MacOS\n        if: ${{ matrix.os == 'macos-12' }}\n        run: |\n          pdm run pip uninstall lightgbm -y\n          pdm run pip install --no-binary lightgbm lightgbm --config-settings=cmake.define.USE_OPENMP=OFF\n      - name: Install pydantic v1\n        if: ${{ matrix.pydantic_v1 }}\n        run: |\n          pdm run pip uninstall pydantic pydantic_core -y\n          pdm run pip install \"pydantic>=1,<2\"\n\n      - name: Check Pydantic installed version\n        run: |\n          pdm run pip freeze | grep '^pydantic'\n          pdm run pip freeze | grep -q '^pydantic==${{ matrix.pydantic_v1 && '1' || '2' }}\\.'\n\n      - name: Install langchain minimal version\n        if: ${{ matrix.langchain_minimal }}\n        run: |\n          pdm run pip uninstall langchain -y\n          pdm run pip install \"langchain==0.0.275\"\n\n      - name: Check langchain installed version\n        if: ${{ matrix.langchain_minimal }}\n        run: |\n          pdm run pip freeze | grep '^langchain'\n          pdm run pip freeze | grep -q '^langchain==0.0.275'\n\n      - name: Install pandas v1\n        if: ${{ matrix.pandas_v1 }}\n        run: |\n          pdm run pip uninstall pandas -y\n          pdm run pip install \"pandas<2\"\n\n      - name: Check Pandas installed version\n        run: |\n          pdm run pip freeze | grep '^pandas'\n          pdm run pip freeze | grep -q '^pandas==${{ matrix.pandas_v1 && '1' || '2' }}\\.'\n\n      - name: Lint code\n        run: pdm run lint\n\n      - name: Test code (concurrency)\n        run: pdm test-worker\n\n      - name: Test code\n        run: pdm test-fast\n        env:\n          PYTEST_XDIST_AUTO_NUM_WORKERS: 2\n\n      - name: SonarCloud Scan\n        if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' && !matrix.langchain_minimal && !matrix.pandas_v1 && !matrix.pydantic_v1 && (github.event.ref == 'refs/heads/main' || github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }}\n        uses: SonarSource/sonarcloud-github-action@v2.2.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n\n      - name: Build\n        run: pdm build\n\n      - name: \"Python client: archive built artifacts\"\n        # Upload needs to be done only once by workflo run, so we need to select one only in the matrix\n        if: ${{ github.event_name == 'push' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' && !matrix.langchain_minimal && !matrix.pandas_v1 && !matrix.pydantic_v1 }}\n        uses: actions/upload-artifact@v4\n        with:\n          path: dist/*whl\n\n      - name: Run integration tests for python\n        if: ${{ inputs.run-integration-tests }}\n        env:\n          PYTEST_XDIST_AUTO_NUM_WORKERS: 2\n        run: pdm test-slow tests/\n\n      - name: \"Memory csv\"\n        if: ${{ always() && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' && !matrix.langchain_minimal && !matrix.pandas_v1 && !matrix.pydantic_v1 }}\n        uses: actions/upload-artifact@v4\n        with:\n          path: memory*.csv\n          name: memory-usage\n          retention-days: 7\n\n  install-poetry:\n    name: \"Check if wheel can be installed with using Poetry\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.0\n      - name: Setup PDM\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: \"3.10\"\n          cache: false\n      - name: Build wheel\n        run: pdm build\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n      - name: Create new project, install wheel and import (Poetry)\n        run: |\n          poetry new ./install-run\n          cd ./install-run\n          sed -i 's/^\\(python *= *\\).*$/\\1\">=3.10,<3.12\"/' pyproject.toml\n          poetry add \"$(ls ../dist/*.whl)\"\n          poetry run python -c \"import giskard\"\n  install-pip:\n    name: \"Check if wheel can be installed with pip\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.0\n      - name: Setup PDM\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: \"3.10\"\n          cache: false\n      - name: Build wheel\n        run: pdm build\n      - name: Create new project, install wheel and import (Pip)\n        run: |\n          python -m venv .venv-test-pip\n          source .venv-test-pip/bin/activate\n          python -m pip install \"$(ls ./dist/*.whl)\"\n          python -c \"import giskard\"\n  install-pdm:\n    name: \"Check if wheel can be installed with PDM\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.0\n      - name: Setup PDM\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: \"3.10\"\n          version: \"2.10.4\" # Fix to repair the CI, use latest version when fixed on pdm\n          cache: false\n      - name: Build wheel\n        run: pdm build\n      - name: Create new project, install wheel and import (PDM)\n        run: |\n          mkdir ./install-run\n          cd ./install-run\n          pdm init --python 3.10 -n .\n          sed -i 's/^\\(requires-python *= *\\).*$/\\1\">=3.10,<3.12\"/' pyproject.toml\n          pdm add \"$(ls ../dist/*.whl)\"\n          pdm run python -c \"import giskard\"\n  check-doc:\n    name: \"Build and check doc\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check disk space\n        run: |\n          df -h\n\n      - name: Free disk space\n        run: |\n          sudo swapoff -a\n          sudo rm -f /swapfile\n          sudo rm -rf /usr/local/lib/android\n          docker rmi $(docker image ls -aq)\n          sudo apt update && sudo apt remove -y \\\n          google-cloud-cli microsoft-edge-stable dotnet-sdk-* llvm-* google-chrome-stable temurin-*\n          sudo apt autoremove -y\n          sudo apt autoclean -y\n\n      - name: Check new disk space\n        run: |\n          df -h\n\n      - name: Checkout code\n        uses: actions/checkout@v4.1.0\n        with:\n          fetch-depth: 0\n\n      - name: Setup PDM\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: \"3.10\"\n          cache: false\n\n      - name: Set up Pandoc (needed for doc)\n        uses: r-lib/actions/setup-pandoc@v2\n        with:\n          pandoc-version: \"3.1.7\" # https://github.com/jgm/pandoc/releases\n\n      - name: Install dependencies\n        run: pdm install -G :all\n\n      - name: Check new disk space\n        run: |\n          df -h\n\n      - name: Build doc\n        run: pdm  doc\n\n      - name: Check doc\n        run: pdm check-doc\n", "state": "active", "repository": "giskard-ai/giskard"}
{"mined_at": "2024-07-15T17:02:25.455004", "created_at": "2023-10-03T11:29:50+02:00", "updated_at": "2024-06-04T14:33:54+02:00", "name": "Release and publish a new version", "path": ".github/workflows/create-release.yml", "contents": "name: Release and publish a new version\n\non:\n  workflow_dispatch:\n    inputs:\n        version:\n          description: 'Tag to be created, in the form X.Y.Z'\n          required: true\n          type: string\n\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check if organization member\n        id: is_organization_member\n        uses: JamesSingleton/is-organization-member@1.0.1\n        with:\n          organization: Giskard-AI\n          username: ${{ github.actor }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Interrupt job\n        if: ${{ steps.is_organization_member.outputs.result == 'false' }}\n        shell: bash\n        run: |\n          echo \"Job failed due to user not being a member of Giskard-AI organization and the 'safe for build' label not being set on the PR\"\n          exit 1\n      \n      - name: Write release version env vars (with/without v)\n        run: |\n          VERSION_NAME=\"v${{ inputs.version }}\"\n          VERSION_NUMBER=\"${VERSION_NAME:1}\"\n          echo \"VERSION_NUMBER=${VERSION_NUMBER}\" >> $GITHUB_ENV\n          echo \"VERSION_NAME=${VERSION_NAME}\" >> $GITHUB_ENV\n\n      - name: Checkout code\n        uses: actions/checkout@v4.1.0\n        with:\n          fetch-tags: true\n          ref: main\n          token: ${{ secrets.RELEASE_PAT_TOKEN }} # Needed to trigger other actions\n\n      - name: Edit pyproject.toml\n        run:  sed -i 's/^\\(version *= *\\).*$/\\1\"${{ env.VERSION_NUMBER }}\"/' pyproject.toml\n\n      - name: Remove dark theme logo from README\n        run:  sed -i 's/.*#gh-dark-mode-only.*//' README.md\n\n      - name: Setup PDM\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: '3.10'\n          cache: false\n\n      - name: \"@slack Release process started\"\n        id: slack\n        uses: slackapi/slack-github-action@v1.26.0\n        with:\n          channel-id: ${{ vars.SLACK_CHANNEL_ID }}\n          slack-message: |-\n            Release *${{ env.VERSION_NAME }}* is on the way :rocket:\n            <${{ github.server_url }}/${{ github.actor }}|@${{ github.actor }}> | <${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|commit> <!channel>\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n\n      - name: Configure git\n        run:  |\n          git config --global user.name 'BotReleaser'\n          git config --global user.email 'bot.releaser@users.noreply.github.com'\n\n      - name: Adding file\n        run:  |\n          git add pyproject.toml\n          git fetch --quiet --tags\n          git commit -m \"${{ env.VERSION_NAME }}\" --allow-empty\n          git tag ${{ env.VERSION_NAME }}\n\n      - name: Push to main and tags\n        run: |\n          git push origin main\n          git push origin ${{ env.VERSION_NAME }}\n\n      # build .tar.gz sdist tarball\n      - name: Build source distribution tarball\n        run: pdm build\n\n      - name: Create Github Release\n        id: github-release\n        uses: softprops/action-gh-release@v2\n        with:\n          tag_name: ${{ env.VERSION_NAME }}\n          fail_on_unmatched_files: true\n          generate_release_notes: true\n          files: |\n            dist/giskard-*.tar.gz\n            dist/giskard-*.whl\n\n      - name: Push to Pipy\n        run: pdm publish --no-build --username \"${{ secrets.PIPY_USERNAME }}\" --password \"${{ secrets.PIPY_PASSWORD }}\"\n\n      - name: Set job success env var\n        run: |\n          echo \"JOB_SUCCESS=true\" >> $GITHUB_ENV\n\n      - name: \"@slack Share release process completion\"\n        # cancellable always() https://docs.github.com/en/actions/learn-github-actions/expressions#status-check-functions\n        if: ${{ !cancelled() }}\n        uses: slackapi/slack-github-action@v1.26.0\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n          ON_SUCCESS: |-\n            *${{ env.VERSION_NAME }}* has been published to PyPI ! :python: :tada:\n            <${{ steps.github-release.outputs.url }}|Release notes> | <https://pypi.org/project/giskard/${{ env.VERSION_NUMBER }}|PyPI> <!channel>\n          ON_FAILURE: |-\n            Could not publish *${{ env.VERSION_NAME }}* to PyPI :x:\n            <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|logs> <!channel>\n        with:\n          channel-id: ${{ vars.SLACK_CHANNEL_ID }}\n          slack-message: ${{ env.JOB_SUCCESS == 'true' && env.ON_SUCCESS || env.ON_FAILURE }}\n          # reploy_broadcast == also send to channel\n          payload: |\n            {\n              \"thread_ts\": \"${{ steps.slack.outputs.thread_ts }}\",\n              \"reply_broadcast\": true\n            }", "state": "active", "repository": "giskard-ai/giskard"}
{"mined_at": "2024-07-15T17:02:26.544358", "created_at": "2023-10-25T15:46:05+02:00", "updated_at": "2023-10-27T19:12:25+02:00", "name": "Lock dependencies", "path": ".github/workflows/lock-deps.yml", "contents": "# https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow\n# https://docs.github.com/fr/actions/using-workflows/workflow-syntax-for-github-actions#exemple--inclusion-de-chemins-dacc%C3%A8s\n\nname: Lock dependencies\non:\n  pull_request:\n    types: [opened, reopened, synchronize, labeled, unlabeled]\n  workflow_dispatch:\n# Concurrency : auto-cancel \"old\" jobs ie when pushing again\n# https://docs.github.com/fr/actions/using-jobs/using-concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref || github.run_id }}\n  cancel-in-progress: true\ndefaults:\n  run:\n    shell: bash\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  lock-deps:\n    if: ${{ !github.event.pull_request || contains( github.event.pull_request.labels.*.name, 'Lockfile') }}\n    name: \"Lock dependencies using PDM\"\n    runs-on: ubuntu-latest\n    continue-on-error: false # https://ncorti.com/blog/howto-github-actions-build-matrix\n    steps:\n      - name: Check if organization member\n        id: is_organization_member\n        uses: JamesSingleton/is-organization-member@1.0.1\n        with:\n          organization: Giskard-AI\n          username: ${{ github.actor }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Interrupt job\n        if: ${{ steps.is_organization_member.outputs.result == 'false' }}\n        shell: bash\n        run: |\n          echo \"Job failed due to user not being a member of Giskard-AI organization and the 'safe for build' label not being set on the PR\"\n          exit 1\n\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}\" >> $GITHUB_OUTPUT\n        id: extract_branch\n\n      - name: Checkout code\n        uses: actions/checkout@v4.1.0\n        with:\n          token: ${{ secrets.RELEASE_PAT_TOKEN }} # Needed to trigger other actions\n          ref: ${{ steps.extract_branch.outputs.branch }}\n\n      - name: Setup PDM\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: \"3.10\"\n          cache: false\n\n      - name: Install dependencies\n        run: rm -rf pdm.lock && pdm lock -G :all\n\n      - name: Configure git\n        run:  |\n          git config --global user.name 'BotLocker'\n          git config --global user.email 'bot.locker@users.noreply.github.com'\n\n      - name: Adding file\n        run:  |\n          git add pdm.lock\n          git commit -m \"Regenerating pdm.lock\" --allow-empty\n\n      - name: Remove label\n        if: ${{ github.event.pull_request}}\n        run: |\n          gh pr edit --remove-label Lockfile\n        env:\n          GH_TOKEN: ${{ github.token }}\n\n      - name: Push to target branch\n        run: |\n          git push origin ${{ steps.extract_branch.outputs.branch }}\n\n", "state": "active", "repository": "giskard-ai/giskard"}
{"mined_at": "2024-07-15T17:02:27.549598", "created_at": "2024-01-02T19:53:29+01:00", "updated_at": "2024-01-02T19:53:29+01:00", "name": "Pre-commit checks", "path": ".github/workflows/pre-commit-checks.yml", "contents": "name: Pre-commit checks\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  workflow_dispatch:\n\nenv:\n  GSK_DISABLE_ANALYTICS: true\n  SENTRY_ENABLED: false\n  GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}\ndefaults:\n  run:\n    shell: bash\njobs:\n  pre-commit:\n    name: Pre-commit checks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - uses: pre-commit/action@v3.0.1\n        env:\n          SKIP: ggshield\n", "state": "active", "repository": "giskard-ai/giskard"}
{"mined_at": "2024-07-15T17:02:28.632878", "created_at": "2023-07-03T18:57:04+02:00", "updated_at": "2024-06-17T23:24:39+02:00", "name": "Nightly test", "path": ".github/workflows/nightly-test.yml", "contents": "name: Nightly test\non:\n  schedule:\n    - cron: '0 1 * * *' # Always run at 1:00 a.m.\n  workflow_dispatch:\n\njobs:\n  call-full-ci:\n    uses: ./.github/workflows/build-python.yml\n    with:\n      run-integration-tests: true\n      use-cache: false", "state": "disabled_manually", "repository": "giskard-ai/giskard"}
{"mined_at": "2024-07-15T17:02:29.645804", "created_at": "2023-09-11T16:11:46+02:00", "updated_at": "2023-10-25T17:56:44+02:00", "name": "Full CI", "path": ".github/workflows/build_backend.yml", "contents": null, "state": "disabled_manually", "repository": "giskard-ai/giskard"}
{"mined_at": "2024-07-15T17:02:31.825078", "created_at": "2020-12-31T06:17:39+01:00", "updated_at": "2021-01-09T09:03:20+01:00", "name": "Pegasus CI", "path": ".github/workflows/ci-test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n\nname: Pegasus CI\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo apt -q update\n        sudo apt install -y libfftw3-dev default-jdk git\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest setuptools wheel cython\n        python -m pip install zarr\n        python -m pip install git+https://github.com/lilab-bcb/pegasusio@master\n        python -m pip install -e .[all]\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n    - name: Fetch test data\n      run: |\n        sudo apt install -y git\n        git clone https://github.com/lilab-bcb/pegasus-test-data.git ./tests/data\n    - name: Pipeline test\n      run: |\n        bash tests/run_pipeline.sh\n        pytest tests/test_pipeline.py\n    - name: One sample input test\n      run: |\n        bash tests/run_one_sample.sh\n    - name: iNMF test\n      run: |\n        bash tests/run_inmf.sh\n        pytest tests/test_inmf.py\n", "state": "active", "repository": "lilab-bcb/pegasus"}
{"mined_at": "2024-07-15T17:02:34.727566", "created_at": "2021-12-24T12:11:54+01:00", "updated_at": "2021-12-24T12:11:54+01:00", "name": "CI to Docker hub [Dev-only latest tag]", "path": ".github/workflows/docker-build-dev.yml", "contents": "name: CI to Docker hub [Dev-only latest tag]\n\non:\n  workflow_dispatch:\n\njobs:\n  docker-build-webapp:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v3\n        with:\n          images: chaosgenius/chaosgenius-webapp\n          tags: latest\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: frontend\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          file: frontend/Dockerfile.prod\n\n  docker-build-server:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v3\n        with:\n          images: chaosgenius/chaosgenius-server\n          tags: latest\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n", "state": "active", "repository": "chaos-genius/chaos_genius"}
{"mined_at": "2024-07-15T17:02:36.326639", "created_at": "2021-10-27T08:48:51+02:00", "updated_at": "2021-10-27T08:48:51+02:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n    - uses: actions/first-interaction@v1\n      continue-on-error: true\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: 'Hello there, thanks for opening your first issue. We welcome you to the community!'\n        pr-message: 'Hello there, thanks for opening your first Pull Request. Someone will review it soon.'\n", "state": "active", "repository": "chaos-genius/chaos_genius"}
{"mined_at": "2024-07-15T17:02:37.523598", "created_at": "2021-10-27T09:26:37+02:00", "updated_at": "2021-10-27T09:26:37+02:00", "name": "Python application", "path": ".github/workflows/python-test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python application\n\non:\n  push:\n    branches:\n    - main\n    - develop\n    - release/*\n  pull_request:\n    branches:\n    - main\n    - develop\n    - release/*\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install wheel flake8 pytest\n        if [ -f requirements/dev.txt ]; then pip install -r requirements/dev.txt; fi\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 chaos_genius --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings.\n        flake8 chaos_genius --count --exit-zero --statistics\n    - name: Test with pytest\n      run: |\n        pytest\n    - name: Check diverged migrations\n      run: |\n        ./scripts/check_diverged_migrations.sh\n", "state": "active", "repository": "chaos-genius/chaos_genius"}
{"mined_at": "2024-07-15T17:02:39.826172", "created_at": "2020-11-16T05:57:09+01:00", "updated_at": "2023-07-05T12:43:12+02:00", "name": "scvi-tools", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:40.887377", "created_at": "2022-05-10T20:00:27+02:00", "updated_at": "2024-04-03T00:20:42+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  release:\n    types: [published]\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n\n    environment:\n      name: pypi\n      url: https://pypi.org/p/scvi-tools\n\n    permissions:\n      id-token: write # IMPORTANT: this permission is mandatory for trusted publishing\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          filter: blob:none\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pip\"\n\n      - name: Install dependencies\n        run: pip install build\n\n      - name: Build package\n        run: python -m build\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:42.018642", "created_at": "2022-12-12T22:53:14+01:00", "updated_at": "2024-04-03T00:05:49+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  push:\n    branches: [main, \"[0-9]+.[0-9]+.x\"]\n  pull_request:\n    branches: [main, \"[0-9]+.[0-9]+.x\"]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  package:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pip\"\n          cache-dependency-path: \"**/pyproject.toml\"\n\n      - name: Install build dependencies\n        run: python -m pip install --upgrade pip wheel twine build\n\n      - name: Build package\n        run: python -m build\n\n      - name: Check package\n        run: twine check --strict dist/*.whl\n", "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:43.124481", "created_at": "2023-07-05T11:04:52+02:00", "updated_at": "2024-04-03T00:50:06+02:00", "name": "test (cuda)", "path": ".github/workflows/test_linux_cuda.yml", "contents": "name: test (cuda)\n\non:\n  pull_request:\n    branches: [main, \"[0-9]+.[0-9]+.x\"]\n    types: [labeled, synchronize, opened]\n  schedule:\n    - cron: \"0 10 * * *\" # runs at 10:00 UTC (03:00 PST) every day\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    # if PR has label \"cuda tests\" or \"all tests\" or if scheduled or manually triggered\n    if: >-\n      (\n        contains(github.event.pull_request.labels.*.name, 'cuda tests') ||\n        contains(github.event.pull_request.labels.*.name, 'all tests') ||\n        contains(github.event_name, 'schedule') ||\n        contains(github.event_name, 'workflow_dispatch')\n      )\n\n    runs-on: [self-hosted, Linux, X64, CUDA]\n\n    defaults:\n      run:\n        shell: bash -e {0} # -e to fail on error\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\"3.11\"]\n        cuda: [\"11\", \"12\"]\n\n    container:\n      image: scverse/scvi-tools:py${{ matrix.python }}-cu${{ matrix.cuda }}-base\n      options: --user root --gpus all\n\n    name: integration\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: |\n          python -m pip install --upgrade pip wheel uv\n          python -m uv pip install --system \"scvi-tools[tests] @ .\"\n\n      - name: Run pytest\n        env:\n          MPLBACKEND: agg\n          PLATFORM: ${{ matrix.os }}\n          DISPLAY: :42\n          COLUMNS: 120\n        run: |\n          coverage run -m pytest -v --color=yes --accelerator cuda --devices auto\n          coverage report\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:44.281693", "created_at": "2024-01-18T19:54:17+01:00", "updated_at": "2024-04-03T00:50:06+02:00", "name": "test", "path": ".github/workflows/test_linux.yml", "contents": "name: test\n\non:\n  push:\n    branches: [main, \"[0-9]+.[0-9]+.x\"]\n  pull_request:\n  schedule:\n    - cron: \"0 10 * * *\" # runs at 10:00 UTC (03:00 PST) every day\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -e {0} # -e to fail on error\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python: [\"3.9\", \"3.10\", \"3.11\"]\n\n    name: integration\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"pip\"\n          cache-dependency-path: \"**/pyproject.toml\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel uv\n          python -m uv pip install --system \"scvi-tools[tests] @ .\"\n\n      - name: Run pytest\n        env:\n          MPLBACKEND: agg\n          PLATFORM: ${{ matrix.os }}\n          DISPLAY: :42\n          COLUMNS: 120\n        run: |\n          coverage run -m pytest -v --color=yes\n          coverage report\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:45.411853", "created_at": "2024-01-18T19:54:17+01:00", "updated_at": "2024-04-02T23:55:12+02:00", "name": "test (macos)", "path": ".github/workflows/test_macos.yml", "contents": "name: test (macos)\n\non:\n  pull_request:\n    branches: [main, \"[0-9]+.[0-9]+.x\"]\n    types: [labeled, synchronize, opened]\n  schedule:\n    - cron: \"0 10 * * *\" # runs at 10:00 UTC (03:00 PST) every day\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    # if PR has label \"macos tests\" or \"all tests\" or if scheduled or manually triggered or on push\n    if: >-\n      (\n        contains(github.event.pull_request.labels.*.name, 'macos tests') ||\n        contains(github.event.pull_request.labels.*.name, 'all tests') ||\n        contains(github.event_name, 'schedule') ||\n        contains(github.event_name, 'workflow_dispatch') ||\n        contains(github.event_name, 'push')\n      )\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -e {0} # -e to fail on error\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-14]\n        python: [\"3.9\", \"3.10\", \"3.11\"]\n\n    name: integration\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"pip\"\n          cache-dependency-path: \"**/pyproject.toml\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel uv\n          python -m uv pip install --system \"scvi-tools[tests] @ .\"\n\n      - name: Run pytest\n        env:\n          MPLBACKEND: agg\n          PLATFORM: ${{ matrix.os }}\n          DISPLAY: :42\n          COLUMNS: 120\n        run: |\n          coverage run -m pytest -v --color=yes\n          coverage report\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:46.465361", "created_at": "2024-01-18T19:54:17+01:00", "updated_at": "2024-04-02T23:55:12+02:00", "name": "test (windows)", "path": ".github/workflows/test_windows.yml", "contents": "name: test (windows)\n\non:\n  pull_request:\n    branches: [main, \"[0-9]+.[0-9]+.x\"]\n    types: [labeled, synchronize, opened]\n  schedule:\n    - cron: \"0 10 * * *\" # runs at 10:00 UTC (03:00 PST) every day\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    # if PR has label \"windows tests\" or \"all tests\" or if scheduled or manually triggered or on push\n    if: >-\n      (\n        contains(github.event.pull_request.labels.*.name, 'windows tests') ||\n        contains(github.event.pull_request.labels.*.name, 'all tests') ||\n        contains(github.event_name, 'schedule') ||\n        contains(github.event_name, 'workflow_dispatch') ||\n        contains(github.event_name, 'push')\n      )\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -e {0} # -e to fail on error\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest]\n        python: [\"3.9\", \"3.10\", \"3.11\"]\n\n    name: integration\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"pip\"\n          cache-dependency-path: \"**/pyproject.toml\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel uv\n          python -m uv pip install --system \"scvi-tools[tests] @ .\"\n\n      - name: Run pytest\n        env:\n          MPLBACKEND: agg\n          PLATFORM: ${{ matrix.os }}\n          DISPLAY: :42\n          COLUMNS: 120\n        run: |\n          coverage run -m pytest -v --color=yes\n          coverage report\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:47.506175", "created_at": "2024-01-18T20:52:22+01:00", "updated_at": "2024-04-03T00:50:06+02:00", "name": "test (private)", "path": ".github/workflows/test_linux_private.yml", "contents": "name: test (private)\n\non:\n  pull_request:\n    branches: [main, \"[0-9]+.[0-9]+.x\"]\n    types: [labeled, synchronize, opened]\n  schedule:\n    - cron: \"0 10 * * *\" # runs at 10:00 UTC (03:00 PST) every day\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    # if PR has label \"private tests\" or \"all tests\" or if scheduled or manually triggered or on push\n    if: >-\n      (\n        contains(github.event.pull_request.labels.*.name, 'private tests') ||\n        contains(github.event.pull_request.labels.*.name, 'all tests') ||\n        contains(github.event_name, 'schedule') ||\n        contains(github.event_name, 'workflow_dispatch') ||\n        contains(github.event_name, 'push')\n      )\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -e {0} # -e to fail on error\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python: [\"3.11\"]\n\n    permissions:\n      id-token: write\n\n    name: unit\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: aws-actions/configure-aws-credentials@v4\n        with:\n          audience: sts.amazonaws.com\n          role-to-assume: arn:aws:iam::${{ secrets.AWS_IAM }}:role/scvi-tools_private_test\n          aws-region: us-west-1\n          role-duration-seconds: 3600 # generous upper limit for the duration of the test\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"pip\"\n          cache-dependency-path: \"**/pyproject.toml\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel uv\n          python -m uv pip install --system \"scvi-tools[tests] @ .\"\n\n      - name: Run pytest\n        env:\n          MPLBACKEND: agg\n          PLATFORM: ${{ matrix.os }}\n          DISPLAY: :42\n          HF_API_TOKEN: ${{ secrets.HF_API_TOKEN }}\n          COLUMNS: 120\n        run: |\n          coverage run -m pytest -v --color=yes --private\n          coverage report\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:48.586559", "created_at": "2024-04-03T01:20:24+02:00", "updated_at": "2024-04-03T01:20:24+02:00", "name": "test (resolutions)", "path": ".github/workflows/test_linux_resolutions.yml", "contents": null, "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:49.696837", "created_at": "2024-04-03T01:21:17+02:00", "updated_at": "2024-04-03T01:23:03+02:00", "name": "test (resolution)", "path": ".github/workflows/test_linux_resolution.yml", "contents": "name: test (resolution)\n\non:\n  pull_request:\n    branches: [main, \"[0-9]+.[0-9]+.x\"]\n    types: [labeled, synchronize, opened]\n  schedule:\n    - cron: \"0 10 * * *\" # runs at 10:00 UTC (03:00 PST) every day\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    # if PR has label \"resolution tests\" or \"all tests\" or if scheduled or manually triggered\n    if: >-\n      (\n        contains(github.event.pull_request.labels.*.name, 'resolution tests') ||\n        contains(github.event.pull_request.labels.*.name, 'all tests') ||\n        contains(github.event_name, 'schedule') ||\n        contains(github.event_name, 'workflow_dispatch')\n      )\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -e {0} # -e to fail on error\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        install-flags:\n          [\n            \"--prerelease if-necessary-or-explicit\",\n            \"--resolution lowest-direct\",\n            \"--resolution lowest\",\n          ]\n\n    name: integration\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"pip\"\n          cache-dependency-path: \"**/pyproject.toml\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel uv\n          python -m uv pip install ${{ matrix.install-flags }} --system \"scvi-tools[tests] @ .\"\n\n      - name: Run pytest\n        env:\n          MPLBACKEND: agg\n          PLATFORM: ${{ matrix.os }}\n          DISPLAY: :42\n          COLUMNS: 120\n        run: |\n          coverage run -m pytest -v --color=yes\n          coverage report\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:50.749708", "created_at": "2024-07-08T22:20:47+02:00", "updated_at": "2024-07-08T22:20:47+02:00", "name": "update tutorials", "path": ".github/workflows/tutorials.yaml", "contents": null, "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:51.852949", "created_at": "2024-07-12T00:58:53+02:00", "updated_at": "2024-07-12T00:58:53+02:00", "name": "build image (base)", "path": ".github/workflows/build_image_base.yaml", "contents": null, "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:52.868098", "created_at": "2024-07-12T23:49:04+02:00", "updated_at": "2024-07-12T23:49:04+02:00", "name": "build image (latest)", "path": ".github/workflows/build_image_latest.yaml", "contents": null, "state": "active", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:54.112134", "created_at": "2023-07-04T16:28:40+02:00", "updated_at": "2024-01-31T23:43:25+01:00", "name": "test-linux-cpu", "path": ".github/workflows/test_linux_cpu.yml", "contents": null, "state": "disabled_manually", "repository": "scverse/scvi-tools"}
{"mined_at": "2024-07-15T17:02:56.364879", "created_at": "2023-11-17T17:45:52+01:00", "updated_at": "2024-05-07T06:49:27+02:00", "name": "test-docs", "path": ".github/workflows/doc-tests.yml", "contents": "name: test-docs\nrun-name: Documentation tests\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\npermissions:\n  contents: read\n\njobs:\n  doc-test:\n    name: Sphinx-${{ matrix.builder }}\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ matrix.experimental || false }}\n    strategy:\n      fail-fast: false\n      matrix:\n        builder: [ html ]\n        include:\n          # Run default html builder with warnings as error\n          - builder: html\n            args: -W\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run sphinx builder ${{ matrix.builder }}\n        run: |\n          pip install hatch\n          hatch run docs:${{ matrix.builder }} ${{ matrix.args }}\n", "state": "active", "repository": "teemtee/tmt"}
{"mined_at": "2024-07-15T17:02:57.392400", "created_at": "2021-04-30T12:06:06+02:00", "updated_at": "2021-04-30T12:32:31+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    env:\n      SKIP: no-commit-to-branch\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: |\n          3.9\n          3.x\n    - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "teemtee/tmt"}
{"mined_at": "2024-07-15T17:02:58.618164", "created_at": "2021-09-13T14:48:01+02:00", "updated_at": "2021-09-13T14:48:01+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs:\n      ref:\n        description: 'Tag to release'\n        required: true\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n\n    # Needed for trusted publishing\n    permissions:\n      id-token: write\n\n    steps:\n\n      # Check out the repo\n      - uses: actions/checkout@v4\n        if: ${{ github.event_name == 'release' }}\n      - uses: actions/checkout@v4\n        if: ${{ github.event_name == 'workflow_dispatch' }}\n        with:\n          ref: ${{ github.event.inputs.ref }}\n\n      # Setup python\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      # Build it\n      - name: Build a binary wheel and a source tarball\n        run: |\n            python -m pip install hatch\n            hatch run docs:man\n            hatch build\n\n      # Publish it\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "teemtee/tmt"}
{"mined_at": "2024-07-15T17:02:59.743610", "created_at": "2023-03-31T09:54:50+02:00", "updated_at": "2023-03-31T10:42:55+02:00", "name": "Differential ShellCheck", "path": ".github/workflows/shellcheck.yml", "contents": "name: Differential ShellCheck\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    permissions:\n      security-events: write\n\n    steps:\n      - name: Repository checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - id: ShellCheck\n        name: Differential ShellCheck\n        uses: redhat-plumbers-in-action/differential-shellcheck@v4\n        with:\n          exclude-path: |\n            tests/**\n            examples/**/test.sh\n            tmt/templates/**\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - if: ${{ always() }}\n        name: Upload artifact with ShellCheck defects in SARIF format\n        uses: actions/upload-artifact@v3\n        with:\n          name: Differential ShellCheck SARIF\n          path: ${{ steps.ShellCheck.outputs.sarif }}\n", "state": "active", "repository": "teemtee/tmt"}
{"mined_at": "2024-07-15T17:03:02.099523", "created_at": "2022-01-16T12:48:44+01:00", "updated_at": "2023-01-05T17:31:17+01:00", "name": "Lock threads", "path": ".github/workflows/lock.yaml", "contents": "name: 'Lock threads'\n# Lock closed issues that have not received any further activity for\n# two weeks. This does not close open issues, only humans may do that.\n# We find that it is easier to respond to new issues with fresh examples\n# rather than continuing discussions on old issues.\non:\n  schedule:\n    - cron: '0 0 * * *'\npermissions:\n  issues: write\n  pull-requests: write\nconcurrency:\n  group: lock\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@7de207be1d3ce97a9abe6ff1306222982d1ca9f9\n        with:\n          issue-inactive-days: 14\n          pr-inactive-days: 14\n", "state": "active", "repository": "flaskcwg/flask-docs-fa"}
{"mined_at": "2024-07-15T17:03:03.226262", "created_at": "2024-02-02T16:19:01+01:00", "updated_at": "2024-02-02T16:19:01+01:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "name: Publish\non:\n  push:\n    tags:\n      - '*'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    outputs:\n      hash: ${{ steps.hash.outputs.hash }}\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c\n        with:\n          python-version: '3.x'\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - run: pip install -r requirements/build.txt\n      # Use the commit date instead of the current date during the build.\n      - run: echo \"SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)\" >> $GITHUB_ENV\n      - run: python -m build\n      # Generate hashes used for provenance.\n      - name: generate hash\n        id: hash\n        run: cd dist && echo \"hash=$(sha256sum * | base64 -w0)\" >> $GITHUB_OUTPUT\n      - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32\n        with:\n          name: dist\n          path: ./dist\n  provenance:\n    needs: [build]\n    permissions:\n      actions: read\n      id-token: write\n      contents: write\n    # Can't pin with hash due to how this workflow works.\n    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.9.0\n    with:\n      base64-subjects: ${{ needs.build.outputs.hash }}\n  create-release:\n    # Upload the sdist, wheels, and provenance to a GitHub release. They remain\n    # available as build artifacts for a while as well.\n    needs: [provenance]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a\n      - name: create release\n        run: >\n          gh release create --draft --repo ${{ github.repository }}\n          ${{ github.ref_name }}\n          *.intoto.jsonl/* dist/*\n        env:\n          GH_TOKEN: ${{ github.token }}\n  publish-pypi:\n    needs: [provenance]\n    # Wait for approval before attempting to upload to PyPI. This allows reviewing the\n    # files in the draft release.\n    environment: publish\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a\n      - uses: pypa/gh-action-pypi-publish@f946db0f765b9ae754e44bfd5ae5b8b91cfb37ef\n        with:\n          repository-url: https://test.pypi.org/legacy/\n      - uses: pypa/gh-action-pypi-publish@f946db0f765b9ae754e44bfd5ae5b8b91cfb37ef\n", "state": "active", "repository": "flaskcwg/flask-docs-fa"}
{"mined_at": "2024-07-15T17:03:04.326787", "created_at": "2021-12-07T15:47:40+01:00", "updated_at": "2024-02-02T16:19:01+01:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\non:\n  push:\n    branches:\n      - main\n      - '*.x'\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {name: Linux, python: '3.12', os: ubuntu-latest, tox: py312}\n          - {name: Windows, python: '3.12', os: windows-latest, tox: py312}\n          - {name: Mac, python: '3.12', os: macos-latest, tox: py312}\n          - {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311}\n          - {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}\n          - {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}\n          - {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}\n          - {name: 'PyPy', python: 'pypy-3.10', os: ubuntu-latest, tox: pypy310}\n          - {name: 'Minimum Versions', python: '3.12', os: ubuntu-latest, tox: py312-min}\n          - {name: 'Development Versions', python: '3.8', os: ubuntu-latest, tox: py38-dev}\n          - {name: Typing, python: '3.12', os: ubuntu-latest, tox: typing}\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11\n      - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n          cache-dependency-path: requirements*/*.txt\n      - name: cache mypy\n        uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2\n        with:\n          path: ./.mypy_cache\n          key: mypy|${{ matrix.python }}|${{ hashFiles('pyproject.toml') }}\n        if: matrix.tox == 'typing'\n      - run: pip install tox\n      - run: tox run -e ${{ matrix.tox }}", "state": "active", "repository": "flaskcwg/flask-docs-fa"}
{"mined_at": "2024-07-15T17:03:06.604780", "created_at": "2022-08-23T11:48:56+02:00", "updated_at": "2023-08-27T14:46:55+02:00", "name": "Test all warehouse platforms", "path": ".github/workflows/test-all-warehouses.yml", "contents": "name: Test all warehouse platforms\non:\n  pull_request:\n    branches: [\"master\"]\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      dbt-version:\n        type: string\n        required: false\n        description: dbt's version to test with\n      elementary-ref:\n        type: string\n        required: false\n        description: Branch or tag to checkout for 'elementary' repository\n      dbt-data-reliability-ref:\n        type: string\n        required: false\n        description: Branch or tag to checkout for 'dbt-data-reliability' repository\n\n  workflow_call:\n    inputs:\n      dbt-version:\n        type: string\n        required: false\n      elementary-ref:\n        type: string\n        required: false\n      dbt-data-reliability-ref:\n        type: string\n        required: false\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        dbt-version:\n          ${{ inputs.dbt-version && fromJSON(format('[\"{0}\"]', inputs.dbt-version)) ||\n          ! contains(github.event_name, 'pull_request') && fromJSON('[\"1.3.0\", \"latest_pre\"]') ||\n          fromJSON('[\"latest_pre\"]') }}\n        warehouse-type:\n          [\n            postgres,\n            snowflake,\n            bigquery,\n            redshift,\n            databricks,\n            databricks_catalog,\n            athena,\n            trino,\n          ]\n        include:\n          # If we're not running on a specific dbt version, then always add postgres on 1.3.0\n          - dbt-version: \"${{ inputs.dbt-version || '1.3.0' }}\"\n            warehouse-type: postgres\n        exclude:\n          - dbt-version: \"1.3.0\"\n            warehouse-type: athena\n          - dbt-version: \"1.3.0\"\n            warehouse-type: trino\n    uses: ./.github/workflows/test-warehouse.yml\n    with:\n      warehouse-type: ${{ matrix.warehouse-type }}\n      dbt-version: ${{ matrix.dbt-version }}\n      elementary-ref: ${{ inputs.elementary-ref }}\n      dbt-data-reliability-ref: ${{ inputs.dbt-data-reliability-ref }}\n    secrets: inherit\n\n  notify_failures:\n    name: Notify Slack\n    secrets: inherit\n    needs: [test]\n    if: |\n      always() &&\n      ! contains(needs.test.result, 'success') &&\n      ! contains(needs.test.result, 'cancelled') &&\n      contains(github.event_name, 'schedule') &&\n      ! cancelled()\n    uses: elementary-data/elementary/.github/workflows/notify_slack.yml@master\n    with:\n      result: \"failure\"\n      run_id: ${{ github.run_id }}\n      workflow_name: ${{ github.workflow }}\n", "state": "active", "repository": "elementary-data/dbt-data-reliability"}
{"mined_at": "2024-07-15T17:03:07.835804", "created_at": "2022-08-23T11:48:56+02:00", "updated_at": "2023-08-09T10:12:28+02:00", "name": "Test warehouse platform", "path": ".github/workflows/test-warehouse.yml", "contents": "name: Test warehouse platform\non:\n  workflow_dispatch:\n    inputs:\n      warehouse-type:\n        type: choice\n        required: true\n        description: Type of warehouse platform\n        options:\n          - postgres\n          - snowflake\n          - bigquery\n          - redshift\n          - databricks\n          - databricks_catalog\n          - spark\n          - athena\n          - trino\n      elementary-ref:\n        type: string\n        required: false\n        description: Branch or tag to checkout for 'elementary' repository\n      dbt-data-reliability-ref:\n        type: string\n        required: false\n        description: Branch or tag to checkout for 'dbt-data-reliability' repository\n      dbt-version:\n        type: string\n        required: false\n        default: \"latest_official\"\n        description: dbt's version to test with\n\n  workflow_call:\n    inputs:\n      warehouse-type:\n        type: string\n        required: true\n      elementary-ref:\n        type: string\n        required: false\n      dbt-data-reliability-ref:\n        type: string\n        required: false\n      dbt-version:\n        type: string\n        default: \"latest_official\"\n        required: false\n\nenv:\n  BRANCH_NAME: ${{ github.head_ref || github.ref_name }}\n  TESTS_DIR: ${{ github.workspace }}/dbt-data-reliability/integration_tests\n\njobs:\n  test:\n    runs-on: ubuntu-20.04\n    concurrency:\n      # This is what eventually defines the schema name in the data platform.\n      group: tests_${{ inputs.warehouse-type }}_dbt_${{ inputs.dbt-version }}_${{ github.head_ref || github.ref_name }}\n      cancel-in-progress: true\n    steps:\n      - name: Checkout Elementary\n        uses: actions/checkout@v3\n        with:\n          repository: elementary-data/elementary\n          path: elementary\n          ref: ${{ inputs.elementary-ref }}\n\n      - name: Checkout dbt package\n        uses: actions/checkout@v3\n        with:\n          path: dbt-data-reliability\n          ref: ${{ inputs.dbt-data-reliability-ref }}\n\n      - name: Start Postgres\n        if: inputs.warehouse-type == 'postgres'\n        working-directory: ${{ env.TESTS_DIR }}\n        run: docker-compose up -d postgres\n\n      - name: Start Trino\n        if: inputs.warehouse-type == 'trino'\n        working-directory: ${{ env.TESTS_DIR }}\n        run: docker-compose -f docker-compose-trino.yml up -d\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n\n      - name: Install Spark requirements\n        if: inputs.warehouse-type == 'spark'\n        run: sudo apt-get install python-dev libsasl2-dev gcc\n\n      - name: Install compatible databricks connector (not limited in older dbt-databricks versions)\n        if: startsWith(inputs.warehouse-type, 'databricks') && inputs.dbt-version < '1.7.0'\n        run: pip install databricks-sql-connector==2.9.3\n\n      - name: Install dbt\n        run:\n          pip install${{ (inputs.dbt-version == 'latest_pre' && ' --pre') || '' }}\n          \"dbt-core${{ (!startsWith(inputs.dbt-version, 'latest') && format('=={0}', inputs.dbt-version)) || '' }}\"\n          \"dbt-${{ (inputs.warehouse-type == 'databricks_catalog' && 'databricks') || (inputs.warehouse-type == 'spark' && 'spark[PyHive]') || (inputs.warehouse-type == 'athena' && 'athena-community') || inputs.warehouse-type }}${{ (!startsWith(inputs.dbt-version, 'latest') && format('<={0}', inputs.dbt-version)) || '' }}\"\n\n      - name: Install Elementary\n        run: pip install \"./elementary[${{ (inputs.warehouse-type == 'databricks_catalog' && 'databricks') || inputs.warehouse-type }}]\"\n\n      - name: Install dependencies\n        working-directory: ${{ env.TESTS_DIR }}\n        run: |\n          dbt deps --project-dir dbt_project\n          pip install -r requirements.txt\n\n      - name: Write dbt profiles\n        env:\n          PROFILES_YML: ${{ secrets.CI_PROFILES_YML }}\n        run: |\n          mkdir -p ~/.dbt\n          DBT_VERSION=$(pip show dbt-core | grep -i version | awk '{print $2}' | sed 's/\\.//g')\n          UNDERSCORED_REF_NAME=$(echo \"${{ inputs.warehouse-type }}_dbt_${DBT_VERSION}_${BRANCH_NAME}\" | awk '{print tolower($0)}' | head -c 40 | sed \"s/-/_/g\")\n          echo \"$PROFILES_YML\" | base64 -d | sed \"s/<SCHEMA_NAME>/dbt_pkg_$UNDERSCORED_REF_NAME/g\" > ~/.dbt/profiles.yml\n\n      - name: Check DWH connection\n        working-directory: ${{ env.TESTS_DIR }}\n        run: |\n          dbt debug -t \"${{ inputs.warehouse-type }}\"\n\n      - name: Test\n        working-directory: \"${{ env.TESTS_DIR }}/tests\"\n        run: py.test -n8 -vvv --target \"${{ inputs.warehouse-type }}\" --junit-xml=test-results.xml --html=detailed_report_${{ inputs.warehouse-type }}_dbt_${{ inputs.dbt-version }}.html --self-contained-html\n\n      - name: Upload test results\n        if: always()\n        uses: pmeier/pytest-results-action@main\n        with:\n          path: ${{ env.TESTS_DIR }}/tests/test-results.xml\n          summary: true\n          display-options: fEX\n          fail-on-empty: true\n\n      - name: Upload HTML report\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: detailed_report_${{ inputs.warehouse-type }}_dbt_${{ inputs.dbt-version }}\n          path: ${{ env.TESTS_DIR }}/tests/detailed_report_${{ inputs.warehouse-type }}_dbt_${{ inputs.dbt-version }}.html\n", "state": "active", "repository": "elementary-data/dbt-data-reliability"}
{"mined_at": "2024-07-15T17:03:09.062733", "created_at": "2022-11-09T15:08:44+01:00", "updated_at": "2022-11-09T15:08:44+01:00", "name": "Bump version", "path": ".github/workflows/bump-version.yml", "contents": "name: Bump version\non:\n  workflow_dispatch:\n    inputs:\n      dbt-package-version:\n        type: string\n        required: true\n        description: New elementary package version\n\n  workflow_call:\n    inputs:\n      dbt-package-version:\n        type: string\n        required: true\n\njobs:\n  validate-version:\n    runs-on: ubuntu-latest\n    outputs:\n      validated-dbt-package-version: ${{ steps.validate-dbt-package-input.outputs.dbt-package-validation }}\n    steps:\n      - name: validate dbt package version\n        id: validate-dbt-package-input\n        run: echo \"dbt-package-validation=$(echo ${{ inputs.dbt-package-version }} | sed -n '/^[0-9][0-9]*\\.[0-9][0-9]*\\.[0-9][0-9]*$/p')\" >> $GITHUB_OUTPUT\n      - name: echo versions\n        run: |\n          echo \"dbt package version: ${{ steps.validate-dbt-package-input.outputs.dbt-package-validation }}\"\n      - name: fail on invalid input\n        if: ${{ steps.validate-dbt-package-input.outputs.dbt-package-validation == '' }}\n        uses: actions/github-script@v6\n        with:\n          script: |\n            core.setFailed(\"Invalid version input - ${{ inputs.dbt-package-version }}\")\n\n  bump-version:\n    needs: validate-version\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Create release branch\n        run: git checkout -b release/${{ inputs.dbt-package-version }}\n      - name: Initial config\n        run: |\n          git config user.name \"GitHub Actions\"\n          git config user.email noreply@github.com\n      - name: Bump package version\n        run: |\n          sed -i 's/version: \"[0-9][0-9]*\\.[0-9][0-9]*\\.[0-9][0-9]*\"$/version: \"${{ inputs.dbt-package-version }}\"/' ./dbt_project.yml\n      - name: Bump readme package version\n        run: |\n          sed -i 's/version: [0-9][0-9]*\\.[0-9][0-9]*\\.[0-9][0-9]*$/version: ${{ inputs.dbt-package-version }}/' ./README.md\n      - name: Commit changes\n        run: git commit -am \"release ${{ inputs.dbt-package-version }}\"\n      - name: Push code\n        run: git push origin release/${{ inputs.dbt-package-version }}\n\n  create-pr:\n    needs: bump-version\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: create pull request\n        uses: repo-sync/pull-request@v2\n        with:\n          source_branch: \"release/${{ inputs.dbt-package-version }}\"\n          destination_branch: \"master\"\n          pr_title: \"release/${{ inputs.dbt-package-version }}\"\n          pr_body: \"Open automatically using bump version workflow\"\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "elementary-data/dbt-data-reliability"}
{"mined_at": "2024-07-15T17:03:10.294026", "created_at": "2022-12-05T11:36:21+01:00", "updated_at": "2022-12-05T15:49:44+01:00", "name": "Remind docs and tests", "path": ".github/workflows/remind-docs-and-tests.yml", "contents": "name: Remind docs and tests\non:\n  pull_request:\n    branches: [\"master\"]\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: wow-actions/auto-comment@v1\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          pullRequestOpened: |\n            👋 @{{ author }}\n            Thank you for raising your pull request.\n            Please make sure to add tests and document all user-facing changes.\n            You can do this by editing the `docs` files in the [`elementary`](https://github.com/elementary-data/elementary) repository.\n", "state": "active", "repository": "elementary-data/dbt-data-reliability"}
{"mined_at": "2024-07-15T17:03:11.403131", "created_at": "2023-07-09T16:48:11+02:00", "updated_at": "2023-07-09T17:19:44+02:00", "name": "Run pre-commit hooks", "path": ".github/workflows/run-precommit.yml", "contents": "name: Run pre-commit hooks\non:\n  workflow_dispatch:\n  pull_request:\n\njobs:\n  code-quality:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Elementary\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4.3.0\n        with:\n          python-version: \"3.8\"\n\n      - name: Install dev requirements\n        run: pip install -r dev-requirements.txt\n\n      - name: Run pre-commit hooks\n        run: pre-commit run --all-files --show-diff-on-failure\n", "state": "active", "repository": "elementary-data/dbt-data-reliability"}
{"mined_at": "2024-07-15T17:03:12.546364", "created_at": "2023-09-12T12:52:22+02:00", "updated_at": "2023-09-12T12:52:22+02:00", "name": "Test all warehouse platforms on dbt pre-releases", "path": ".github/workflows/test-all-warehouses-dbt-pre-releases.yml", "contents": "name: Test all warehouse platforms on dbt pre-releases\non:\n  workflow_dispatch:\n\njobs:\n  test:\n    uses: ./.github/workflows/test-all-warehouses.yml\n    secrets: inherit\n    with:\n      dbt-version: latest_pre\n", "state": "active", "repository": "elementary-data/dbt-data-reliability"}
{"mined_at": "2024-07-15T17:03:14.797963", "created_at": "2024-03-07T01:07:47+01:00", "updated_at": "2024-03-07T01:07:47+01:00", "name": "karrio-build", "path": ".github/workflows/build.yml", "contents": "name: karrio-build\n\non:\n  push:\n    branches: [ \"main\" ]\n\njobs:\n  changes:\n    runs-on: ubuntu-latest\n    outputs:\n      version: ${{ steps.changes.outputs.version }}\n    steps:\n    - uses: actions/checkout@v3\n\n    - uses: dorny/paths-filter@v2\n      id: changes\n      with:\n        filters: |\n          version:\n            - 'apps/api/karrio/server/VERSION'\n\n  server-build:\n\n    needs: changes\n    if: ${{ needs.changes.outputs.version == 'true' }}\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v3\n      \n      - id: get_tag\n        run: |\n          cat ./apps/api/karrio/server/VERSION\n          echo \"tag=$(cat ./apps/api/karrio/server/VERSION)\" >> \"$GITHUB_ENV\"\n\n      - name: Build karrio server image\n        run: |\n          echo 'Building karrio server:${{ env.tag }}...'\n          ./bin/build-server-image-from-source ${{ env.tag }}\n\n      - name: Push karrio server image\n        run: |\n          docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}\n\n          echo 'Pushing karrio server:${{ env.tag }}...'\n          docker push karrio/server:${{ env.tag }}\n          docker tag karrio/server:${{ env.tag }} karrio/server:latest-rc\n          docker push karrio/server:latest-rc\n\n  dashboard-build:\n\n    needs: changes\n    if: ${{ needs.changes.outputs.version == 'true' }}\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v3\n      \n      - id: get_tag\n        run: |\n          cat ./apps/api/karrio/server/VERSION\n          echo \"tag=$(cat ./apps/api/karrio/server/VERSION)\" >> \"$GITHUB_ENV\"\n\n      - name: Build karrio dashboard image\n        run: |\n          echo 'Building karrio dashboard:${{ env.tag }}...'\n          ./bin/build-dashboard-image ${{ env.tag }}\n\n      - name: Push karrio dashboard image\n        run: |\n          docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}\n          \n          echo 'Pushing karrio dashboard:${{ env.tag }}...'\n          docker push karrio/dashboard:${{ env.tag }}\n          docker tag karrio/dashboard:${{ env.tag }} karrio/dashboard:latest-rc\n          docker push karrio/dashboard:latest-rc\n", "state": "active", "repository": "karrioapi/karrio"}
{"mined_at": "2024-07-15T17:03:15.858604", "created_at": "2021-10-21T20:31:28+02:00", "updated_at": "2022-09-09T17:26:56+02:00", "name": "karrio-tests", "path": ".github/workflows/tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: karrio-tests\n\non: [push]\n\njobs:\n  sdk-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run Tests\n        run: |\n          ./bin/setup-sdk-env &&\n          ./bin/run-sdk-typecheck &&\n          ./bin/run-sdk-tests\n\n  server-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run Tests\n        run: |\n          ./bin/setup-server-env &&\n          ./bin/migrate &&\n          ./bin/run-server-tests\n\n  dashbaord-ci:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install\n        run: |\n          npm install\n      - name: Test Build\n        run: |\n          npm run build -w apps/dashboard ", "state": "active", "repository": "karrioapi/karrio"}
{"mined_at": "2024-07-15T17:03:16.905567", "created_at": "2024-05-12T16:14:44+02:00", "updated_at": "2024-05-12T16:14:44+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "karrioapi/karrio"}
{"mined_at": "2024-07-15T17:03:19.004902", "created_at": "2020-03-24T08:47:03+01:00", "updated_at": "2021-04-26T18:31:44+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "---\nname: Release\n\non:\n  workflow_dispatch:\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    environment: deployment\n    name: Build, publish, and release\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          ssh-key: ${{ secrets.DEPLOY_KEY }}\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Cache pip repository\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n\n      - name: Prepare python environment\n        run: |\n          pip install -r requirements.txt\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n\n      - name: Cache poetry virtual environment\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Configure git\n        run: |\n          git config user.name \"${{ github.actor }}\"\n          git config user.email \"${{ github.actor }}@users.noreply.github.com\"\n\n      - name: Determine version and create changelog\n        id: bumper\n        uses: tomerfi/version-bumper-action@1.2.2\n\n      - name: Set new project version\n        uses: sandstromviktor/toml-editor@2.0.0\n        with:\n          file: pyproject.toml\n          key: tool.poetry.version\n          value: ${{ steps.bumper.outputs.new_version }}\n\n      - name: Commit, tag, and push\n        # yamllint disable rule:line-length\n        # editorconfig-checker-disable\n        run: |\n          git add pyproject.toml\n          git commit -m \"build: bump version to ${{ steps.bumper.outputs.new_version }} [skip ci]\"\n          git push\n          git tag ${{ steps.bumper.outputs.new_version }} -m \"${{ steps.bumper.outputs.new_version }}\"\n          git push origin ${{ steps.bumper.outputs.new_version }}\n        # yamllint enable rule:line-length\n        # editorconfig-checker-enable\n\n      - name: Verify documentation site build\n        run: |\n          make install-docs-only-deps\n          make docs-build\n\n      - name: Publish build to PyPi\n        run: PYPI_TOKEN=\"${{ secrets.PYPI_TOKEN }}\" make publish\n\n      - name: Set development project version\n        uses: sandstromviktor/toml-editor@2.0.0\n        with:\n          file: pyproject.toml\n          key: tool.poetry.version\n          value: ${{ steps.bumper.outputs.next_dev_iteration }}\n\n      - name: Commit and push\n        # yamllint disable rule:line-length\n        run: |\n          git add pyproject.toml\n          git commit -m \"build: bump version to ${{ steps.bumper.outputs.next_dev_iteration }} [skip ci]\"\n          git push\n        # yamllint enable rule:line-length\n\n      - name: Create a release\n        id: gh_release\n        uses: actions/github-script@v6\n        with:\n          github-token: ${{ secrets.RELEASE_PAT }}\n          script: |\n            const repo_name = context.payload.repository.full_name\n            const response = await github.request('POST /repos/' + repo_name + '/releases', {\n              tag_name: '${{ steps.bumper.outputs.new_version }}',\n              generate_release_notes: true\n            })\n            core.setOutput('html_url', response.data.html_url)\n", "state": "active", "repository": "tomerfi/aioswitcher"}
{"mined_at": "2024-07-15T17:03:20.060773", "created_at": "2021-12-05T19:25:12+01:00", "updated_at": "2022-02-15T20:56:51+01:00", "name": "Stage", "path": ".github/workflows/stage.yml", "contents": "---\nname: Stage\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - dev\n    paths-ignore:\n      - \".github\"\n      - \".vscode\"\n\njobs:\n  stage:\n    runs-on: ubuntu-latest\n    environment: staging\n    name: Stage project\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v3\n\n      - name: Setup timezone\n        uses: zcong1993/setup-timezone@v2.0.0\n        with:\n          timezone: Asia/Jerusalem\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Cache pip repository\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n\n      - name: Prepare python environment\n        run: |\n          pip install -r requirements.txt\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n\n      - name: Cache poetry virtual environment\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install, test with coverage report, and build\n        run: |\n          make install-all-deps\n          make test-with-coverage-reports\n          make build\n\n      - name: Push to CodeCov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n          fail_ci_if_error: true\n", "state": "active", "repository": "tomerfi/aioswitcher"}
{"mined_at": "2024-07-15T17:03:21.069907", "created_at": "2022-02-27T11:34:01+01:00", "updated_at": "2022-02-27T11:34:01+01:00", "name": "Pages Deploy", "path": ".github/workflows/pages.yml", "contents": "---\nname: Pages Deploy\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy-pages:\n    runs-on: ubuntu-latest\n    environment: github-pages\n    name: Build documentation site and deploy to GH-Pages\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.ref }}\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Cache pip repository\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n\n      - name: Prepare python environment\n        run: |\n          pip install -r requirements.txt\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n\n      - name: Cache poetry virtual environment\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Build documentation site\n        run: |\n          make install-docs-only-deps\n          make docs-build\n\n      - name: Deploy to GH-Pages\n        uses: peaceiris/actions-gh-pages@v3.9.3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./site\n          cname: aioswitcher.tomfi.info\n          commit_message: 'docs: deployed documentation site '\n", "state": "active", "repository": "tomerfi/aioswitcher"}
{"mined_at": "2024-07-15T17:03:22.120912", "created_at": "2022-02-27T11:34:02+01:00", "updated_at": "2022-02-27T11:34:02+01:00", "name": "Pull request build", "path": ".github/workflows/pr.yml", "contents": "---\nname: Pull request build\n\non:\n  pull_request:\n\nenv:\n  MAIN_PY_VER: \"3.10\"\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    name: Lint source files\n    permissions:\n      pull-requests: read\n    steps:\n      - name: Source checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ env.MAIN_PY_VER }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.MAIN_PY_VER }}\n\n      - name: Cache pip repository\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ env.MAIN_PY_VER }}\n\n      - name: Prepare python environment\n        run: |\n          pip install -r requirements.txt\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n\n      - name: Cache poetry virtual environment\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}-${{ env.MAIN_PY_VER }}\n\n      - name: Install deno runtime\n        uses: denoland/setup-deno@v1.1.2\n\n      - name: Lint the project\n        run: |\n          make install-all-deps\n          make lint\n\n  test:\n    runs-on: ubuntu-latest\n    needs: [lint]\n    strategy:\n      matrix:\n        python: [\"3.9\", \"3.10\"]\n    name: Test project with Python ${{ matrix.python }}\n    permissions:\n      checks: write\n      pull-requests: write\n    steps:\n      - name: Source checkout\n        uses: actions/checkout@v3\n\n      - name: Setup timezone\n        uses: zcong1993/setup-timezone@v2.0.0\n        with:\n          timezone: Asia/Jerusalem\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Cache pip repository\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ matrix.python }}\n\n      - name: Prepare python environment\n        run: |\n          pip install -r requirements.txt\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n\n      - name: Cache poetry virtual environment\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}-${{ matrix.python }}\n\n      - name: Install project build dependencies\n        run: make install-all-deps\n\n      - name: Test the project\n        run: >\n          if [ ${{ matrix.python }} == ${{ env.MAIN_PY_VER }} ];\n          then make test-with-coverage-reports;\n          else make test; fi\n\n      - name: Report test summary\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        if: ${{ matrix.python == env.MAIN_PY_VER && always() }}\n        with:\n          test_changes_limit: 0\n          junit_files: ./junit.xml\n          report_individual_runs: true\n\n      - name: Push to CodeCov\n        uses: codecov/codecov-action@v3\n        if: ${{ matrix.python == env.MAIN_PY_VER }}\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./coverage.xml\n\n  docs:\n    runs-on: ubuntu-latest\n    needs: [lint]\n    name: Verify documentation site\n    permissions:\n      pull-requests: read\n    steps:\n      - name: Source checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.MAIN_PY_VER }}\n\n      - name: Cache pip repository\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ env.MAIN_PY_VER }}\n\n      - name: Prepare python environment\n        run: |\n          pip install -r requirements.txt\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n\n      - name: Cache poetry virtual environment\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}-${{ env.MAIN_PY_VER }}\n\n      - name: Build documentation site\n        run: |\n          make install-all-deps\n          make docs-build\n", "state": "active", "repository": "tomerfi/aioswitcher"}
{"mined_at": "2024-07-15T17:03:23.131963", "created_at": "2022-04-05T20:32:06+02:00", "updated_at": "2022-04-05T20:32:06+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tomerfi/aioswitcher"}
{"mined_at": "2024-07-15T17:03:25.656703", "created_at": "2021-12-29T13:22:02+01:00", "updated_at": "2021-12-29T13:22:02+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: true\n    - name: Set up Python\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: '3.x'\n    - name: Install SSH key\n      uses: shimataro/ssh-key-action@v2\n      with:\n        key: ${{ secrets.WORKFLOW_SSH_KEY }}\n        known_hosts: ${{ secrets.KNOWN_HOSTS }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n  push_to_store:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4.1.1\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to ostorlab store\n        uses: docker/login-action@v1\n        with:\n          registry: ostorlab.store\n          username: ${{ secrets.store_user }}\n          password: ${{ secrets.store_password }}\n      - name: truncate current tag\n        run: echo \"TAG=$(echo $GITHUB_REF | cut -c12-17)\" >> $GITHUB_ENV\n      - name: Build image and push to ostorlab Container Registry\n        uses: docker/build-push-action@v2\n        with:\n          # relative path to the place where source code with Dockerfile is located\n          context: .\n          tags: |\n            ostorlab.store/ostorlab/ostorlab:${{env.TAG}}\n            ostorlab.store/ostorlab/ostorlab:latest\n          push: true\n", "state": "active", "repository": "ostorlab/ostorlab"}
{"mined_at": "2024-07-15T17:03:27.189032", "created_at": "2022-09-05T12:16:21+02:00", "updated_at": "2024-06-03T17:55:39+02:00", "name": "Pytest-Windows", "path": ".github/workflows/pytest-windows.yml", "contents": "# This workflow use pytest:\n#  - Install Python dependencies.\n#  - Run pytest for each of the supported Python versions [\"3.8\", \"3.9\", \"3.10\"]. \n# Running pytest with -m \"no docker\" to disable test that require a docker installation.\n\nname: Pytest.\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ \"*\" ]\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  build:\n\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        os: [windows-latest]\n\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies.\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[testing]\n        pip install .[scanner]\n        pip install .[agent]\n        python -m pip install -e .\n    - name: Running tests with pytest.\n      run: |\n        pytest -m \"not docker and not nats\"\n", "state": "active", "repository": "ostorlab/ostorlab"}
{"mined_at": "2024-07-15T17:03:28.457651", "created_at": "2022-09-05T12:16:21+02:00", "updated_at": "2024-06-03T17:55:39+02:00", "name": "Pytest-Linux", "path": ".github/workflows/pytest-linux.yml", "contents": "# This workflow use pytest:\n#  - Install Python dependencies.\n#  - Run pytest for each of the supported Python versions [\"3.8\", \"3.9\", \"3.10\"]. \n# Running pytest with -m \"no docker\" to disable test that require a docker installation.\n\nname: Pytest.\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ \"*\" ]\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  build:\n\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest]\n\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies.\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[testing]\n        pip install .[scanner]\n        pip install .[agent]\n        python -m pip install -e .\n    - name: Running tests with pytest.\n      run: |\n        set -o pipefail\n        pytest -m \"not docker and not nats\"\n", "state": "active", "repository": "ostorlab/ostorlab"}
{"mined_at": "2024-07-15T17:03:29.849786", "created_at": "2024-01-23T14:58:12+01:00", "updated_at": "2024-01-23T16:15:37+01:00", "name": "Lint And Format Checker.", "path": ".github/workflows/lint_format_checker.yaml", "contents": "name: Lint And Format Checker.\n\non:\n  pull_request:\n    branches: [ \"*\" ]\n  push:\n    branches: [ \"main\" ]\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.9\", \"3.10\" ]\n    steps:\n      - uses: actions/checkout@v4.1.1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Checking code formatting.\n        uses: chartboost/ruff-action@v1\n        with:\n          args: format --check\n      - name: Running linter.\n        uses: chartboost/ruff-action@v1\n", "state": "active", "repository": "ostorlab/ostorlab"}
{"mined_at": "2024-07-15T17:03:31.145224", "created_at": "2024-01-23T14:58:12+01:00", "updated_at": "2024-01-23T16:15:37+01:00", "name": "Static Types Checker.", "path": ".github/workflows/typing_checker.yaml", "contents": "name: Static Types Checker.\n\non:\n  pull_request:\n    branches: [ \"*\" ]\n  push:\n    branches: [ \"main\" ]\njobs:\n  mypy:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.9\", \"3.10\" ]\n    steps:\n      - uses: actions/checkout@v4.1.1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: |\n            **/typing_requirements.txt\n      - name: Install dependencies.\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r typing_requirements.txt\n          python -m pip install -e .\n      - name: Running static types checker.\n        run: |\n          mypy src/ostorlab/agent/schema\n          mypy src/ostorlab/agent/kb\n          mypy src/ostorlab/agent/message\n          mypy src/ostorlab/utils\n          mypy src/ostorlab/apis/runners\n          mypy src/ostorlab/agent/mixins/agent_report_vulnerability_mixin.py\n          mypy src/ostorlab/assets\n", "state": "active", "repository": "ostorlab/ostorlab"}
{"mined_at": "2024-07-15T17:03:32.614576", "created_at": "2024-03-12T15:56:46+01:00", "updated_at": "2024-03-12T15:56:46+01:00", "name": ".github/workflows/release_linux_mac_bin.yaml", "path": ".github/workflows/release_linux_mac_bin.yaml", "contents": "on:\n  release:\n    types: [published]\n\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n        os: ['ubuntu-latest', 'macos-latest']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies.\n      run: |\n        python -m pip install --upgrade pip\n        pip install .\n        pip install .[scanner]\n        pip install .[agent]\n        pip install pyinstaller\n\n    - run: |\n        pyinstaller --name oxo_${{ matrix.os }} --onefile --add-data=\"./*:.\" --hidden-import alembic --hidden-import docker --hidden-import click src/ostorlab/main.py\n    - name: Release\n      uses: softprops/action-gh-release@v2\n      with:\n        files: dist/oxo_${{ matrix.os }}", "state": "active", "repository": "ostorlab/ostorlab"}
{"mined_at": "2024-07-15T17:03:33.945475", "created_at": "2024-03-12T15:56:46+01:00", "updated_at": "2024-03-12T15:56:46+01:00", "name": ".github/workflows/release_windows_bin.yaml", "path": ".github/workflows/release_windows_bin.yaml", "contents": "on:\n  release:\n    types: [published]\n\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n        os: ['windows-latest']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies.\n      run: |\n        python -m pip install --upgrade pip\n        pip install .\n        pip install .[scanner]\n        pip install .[agent]\n        pip install pyinstaller\n\n    - run: |\n        pyinstaller --name oxo_${{ matrix.os }} --onefile --add-data=\"./*:.\" --hidden-import alembic --hidden-import docker --hidden-import click src/ostorlab/main.py\n    - name: Release\n      uses: softprops/action-gh-release@v2\n      with:\n        files: dist/oxo_${{ matrix.os }}.exe", "state": "active", "repository": "ostorlab/ostorlab"}
{"mined_at": "2024-07-15T17:03:35.659601", "created_at": "2021-12-27T11:38:47+01:00", "updated_at": "2024-03-20T14:22:58+01:00", "name": "Pytest.", "path": ".github/workflows/pytest.yml", "contents": null, "state": "disabled_manually", "repository": "ostorlab/ostorlab"}
{"mined_at": "2024-07-15T17:03:38.240837", "created_at": "2024-03-04T11:05:48+01:00", "updated_at": "2024-03-04T11:05:48+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - \"[0-9]+.[0-9]+.[0-9]+*\"\n  pull_request:\n    branches:\n      - master\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: arc-runner\n\n    env:\n      TOX_COMMAND: \"tox --skip-missing-interpreters false\"\n      RESOLWE_POSTGRESQL_PORT: 55433\n      RESOLWE_REDIS_PORT: 56380\n    strategy:\n      matrix:\n        toxenv: [\"py311\", \"py312\"]\n\n    services:\n      postgres:\n        image: public.ecr.aws/docker/library/postgres:16\n        ports:\n          - 55433:5432\n        env:\n          POSTGRES_USER: resolwe\n          POSTGRES_DB: resolwe-bio\n          POSTGRES_HOST_AUTH_METHOD: trust\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n      redis:\n        image: public.ecr.aws/docker/library/redis:7-alpine\n        ports:\n          - 56380:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          lfs: true\n          fetch-depth: 0\n\n      # NOTE: If we are building the \"master\" branch or a pull request against the\n      # \"master\" branch, we allow installing pre-releases with the pip command.\n      - name: Allow pre-releases for master branch\n        if: github.ref == 'refs/heads/master'\n        run: echo \"TOX_COMMAND=${{ env.TOX_COMMAND }} --pre\" >> $GITHUB_ENV\n\n      - name: Assert PR is up-to-date\n        if: github.event_name == 'pull_request'\n        run: |\n          git_change_target_merge_base=$(git merge-base HEAD origin/${{ github.base_ref }})\n          git_change_target_sha=$(git rev-parse origin/${{ github.base_ref }})\n\n          if [[ \"${git_change_target_merge_base}\" != \"${git_change_target_sha}\" ]]; then\n            echo \"Pull request is not up-to-date!\"\n            echo \"Please, rebase your pull request on top of '${{ github.base_ref }}' (commit: ${git_change_target_sha}).\"\n            exit 1\n          fi\n\n      - name: Documentation\n        run: |\n          ${{ env.TOX_COMMAND }} -e docs\n\n      - name: Linters\n        run: |\n          ${{ env.TOX_COMMAND }} -e linters\n\n      - name: Packaging\n        run: |\n          ${{ env.TOX_COMMAND }} -e packaging\n\n      - name: Extras\n        run: |\n          ${{ env.TOX_COMMAND }} -e extra\n\n      - name: Migrations\n        run: |\n          ${{ env.TOX_COMMAND }} -e migrations\n\n      - name: Unit tests\n        timeout-minutes: 120\n        run: |\n          ${{ env.TOX_COMMAND }} -e ${{ matrix.toxenv }}\n\n  build:\n    runs-on: arc-runner\n    needs: test\n    if: startsWith(github.ref, 'refs/tags')\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install build\n        run: python3.12 -m pip install --user build\n\n      - name: Build a binary wheel and a source tarball\n        run: python3.12 -m build --sdist --wheel --outdir dist/ .\n\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "genialis/resolwe-bio"}
{"mined_at": "2024-07-15T17:03:39.300597", "created_at": "2024-05-07T12:59:38+02:00", "updated_at": "2024-05-22T17:05:10+02:00", "name": "Type checking", "path": ".github/workflows/mypy.yml", "contents": "name: Type checking\n\non:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}\n  cancel-in-progress: true\n\njobs:\n  type_check:\n    name: Type check\n    runs-on: arc-runner\n\n    env:\n      TOX_COMMAND: \"tox --skip-missing-interpreters false\"\n\n    strategy:\n      matrix:\n        toxenv: [\"py311\", \"py312\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Mypy\n        run: |\n          ${{ env.TOX_COMMAND }} -e mypy\n", "state": "active", "repository": "genialis/resolwe-bio"}
{"mined_at": "2024-07-15T17:03:41.461725", "created_at": "2024-02-27T10:00:03+01:00", "updated_at": "2024-02-27T10:00:03+01:00", "name": "Pull Request Documentation Link", "path": ".github/workflows/build-documentation-on-pr.yml", "contents": "name: Pull Request Documentation Link\n\non:\n  pull_request:\n    branches:\n      - 'master'\n      - 'v3'\n    paths:\n      - 'docs/**'\n\nenv:\n  PR_NUMBER: ${{ github.event.pull_request.number }}\n\njobs:\n  documentation-link:\n    name: Documentation Link\n    runs-on: ubuntu-latest\n    steps:\n      - name: Leave PR comment with the SaaS Documentation URI\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          issue-number: ${{ env.PR_NUMBER }}\n          body: |\n            You can check the documentation for this PR here -> [SaaS Documentation](https://prowler-prowler-docs--${{ env.PR_NUMBER }}.com.readthedocs.build/projects/prowler-open-source/en/${{ env.PR_NUMBER }}/)\n", "state": "active", "repository": "prowler-cloud/prowler"}
{"mined_at": "2024-07-15T17:03:42.698211", "created_at": "2022-05-12T16:37:49+02:00", "updated_at": "2022-05-12T16:46:08+02:00", "name": "build-lint-push-containers", "path": ".github/workflows/build-lint-push-containers.yml", "contents": "name: build-lint-push-containers\n\non:\n  push:\n    branches:\n      - \"v3\"\n      - \"master\"\n    paths-ignore:\n      - \".github/**\"\n      - \"README.md\"\n      - \"docs/**\"\n\n  release:\n    types: [published]\n\nenv:\n  # AWS Configuration\n  AWS_REGION_STG: eu-west-1\n  AWS_REGION_PLATFORM: eu-west-1\n  AWS_REGION: us-east-1\n\n  # Container's configuration\n  IMAGE_NAME: prowler\n  DOCKERFILE_PATH: ./Dockerfile\n\n  # Tags\n  LATEST_TAG: latest\n  STABLE_TAG: stable\n  # The RELEASE_TAG is set during runtime in releases\n  RELEASE_TAG: \"\"\n  # The PROWLER_VERSION and PROWLER_VERSION_MAJOR are set during runtime in releases\n  PROWLER_VERSION: \"\"\n  PROWLER_VERSION_MAJOR: \"\"\n  # TEMPORARY_TAG: temporary\n\n  # Python configuration\n  PYTHON_VERSION: 3.12\n\njobs:\n  # Build Prowler OSS container\n  container-build-push:\n    # needs: dockerfile-linter\n    runs-on: ubuntu-latest\n    outputs:\n      prowler_version_major: ${{ steps.get-prowler-version.outputs.PROWLER_VERSION_MAJOR }}\n      prowler_version: ${{ steps.update-prowler-version.outputs.PROWLER_VERSION }}\n    env:\n      POETRY_VIRTUALENVS_CREATE: \"false\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Install Poetry\n        run: |\n          pipx install poetry\n          pipx inject poetry poetry-bumpversion\n\n      - name: Get Prowler version\n        id: get-prowler-version\n        run: |\n          PROWLER_VERSION=\"$(poetry version -s 2>/dev/null)\"\n\n          # Store prowler version major just for the release\n          PROWLER_VERSION_MAJOR=\"${PROWLER_VERSION%%.*}\"\n          echo \"PROWLER_VERSION_MAJOR=${PROWLER_VERSION_MAJOR}\" >> \"${GITHUB_ENV}\"\n          echo \"PROWLER_VERSION_MAJOR=${PROWLER_VERSION_MAJOR}\" >> \"${GITHUB_OUTPUT}\"\n\n          case ${PROWLER_VERSION_MAJOR} in\n          3)\n              echo \"LATEST_TAG=v3-latest\" >> \"${GITHUB_ENV}\"\n              echo \"STABLE_TAG=v3-stable\" >> \"${GITHUB_ENV}\"\n              ;;\n\n          4)\n              echo \"LATEST_TAG=latest\" >> \"${GITHUB_ENV}\"\n              echo \"STABLE_TAG=stable\" >> \"${GITHUB_ENV}\"\n              ;;\n\n          *)\n              # Fallback if any other version is present\n              echo \"Releasing another Prowler major version, aborting...\"\n              exit 1\n              ;;\n          esac\n\n      - name: Update Prowler version (release)\n        id: update-prowler-version\n        if: github.event_name == 'release'\n        run: |\n          PROWLER_VERSION=\"${{ github.event.release.tag_name }}\"\n          poetry version \"${PROWLER_VERSION}\"\n          echo \"PROWLER_VERSION=${PROWLER_VERSION}\" >> \"${GITHUB_ENV}\"\n          echo \"PROWLER_VERSION=${PROWLER_VERSION}\" >> \"${GITHUB_OUTPUT}\"\n          \n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Login to Public ECR\n        uses: docker/login-action@v3\n        with:\n          registry: public.ecr.aws\n          username: ${{ secrets.PUBLIC_ECR_AWS_ACCESS_KEY_ID }}\n          password: ${{ secrets.PUBLIC_ECR_AWS_SECRET_ACCESS_KEY }}\n        env:\n          AWS_REGION: ${{ env.AWS_REGION }}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build and push container image (latest)\n        if: github.event_name == 'push'\n        uses: docker/build-push-action@v6\n        with:\n          push: true\n          tags: |\n            ${{ secrets.DOCKER_HUB_REPOSITORY }}/${{ env.IMAGE_NAME }}:${{ env.LATEST_TAG }}\n            ${{ secrets.PUBLIC_ECR_REPOSITORY }}/${{ env.IMAGE_NAME }}:${{ env.LATEST_TAG }}\n          file: ${{ env.DOCKERFILE_PATH }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Build and push container image (release)\n        if: github.event_name == 'release'\n        uses: docker/build-push-action@v6\n        with:\n          # Use local context to get changes\n          # https://github.com/docker/build-push-action#path-context\n          context: .\n          push: true\n          tags: |\n            ${{ secrets.DOCKER_HUB_REPOSITORY }}/${{ env.IMAGE_NAME }}:${{ env.PROWLER_VERSION }}\n            ${{ secrets.DOCKER_HUB_REPOSITORY }}/${{ env.IMAGE_NAME }}:${{ env.STABLE_TAG }}\n            ${{ secrets.PUBLIC_ECR_REPOSITORY }}/${{ env.IMAGE_NAME }}:${{ env.PROWLER_VERSION }}\n            ${{ secrets.PUBLIC_ECR_REPOSITORY }}/${{ env.IMAGE_NAME }}:${{ env.STABLE_TAG }}\n          file: ${{ env.DOCKERFILE_PATH }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n  dispatch-action:\n    needs: container-build-push\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get latest commit info (latest)\n        if: github.event_name == 'push'\n        run: |\n          LATEST_COMMIT_HASH=$(echo ${{ github.event.after }} | cut -b -7)\n          echo \"LATEST_COMMIT_HASH=${LATEST_COMMIT_HASH}\" >> $GITHUB_ENV\n\n      - name: Dispatch event (latest)\n        if: github.event_name == 'push' && needs.container-build-push.outputs.prowler_version_major == '3'\n        run: |\n          curl https://api.github.com/repos/${{ secrets.DISPATCH_OWNER }}/${{ secrets.DISPATCH_REPO }}/dispatches \\\n            -H \"Accept: application/vnd.github+json\" \\\n            -H \"Authorization: Bearer ${{ secrets.ACCESS_TOKEN }}\" \\\n            -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n            --data '{\"event_type\":\"dispatch\",\"client_payload\":{\"version\":\"v3-latest\", \"tag\": \"${{ env.LATEST_COMMIT_HASH }}\"}}'\n\n      - name: Dispatch event (release)\n        if: github.event_name == 'release' && needs.container-build-push.outputs.prowler_version_major == '3'\n        run: |\n          curl https://api.github.com/repos/${{ secrets.DISPATCH_OWNER }}/${{ secrets.DISPATCH_REPO }}/dispatches \\\n            -H \"Accept: application/vnd.github+json\" \\\n            -H \"Authorization: Bearer ${{ secrets.ACCESS_TOKEN }}\" \\\n            -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n            --data '{\"event_type\":\"dispatch\",\"client_payload\":{\"version\":\"release\", \"tag\":\"${{ needs.container-build-push.outputs.prowler_version }}\"}}'\n", "state": "active", "repository": "prowler-cloud/prowler"}
{"mined_at": "2024-07-15T17:03:43.777558", "created_at": "2023-01-13T12:48:31+01:00", "updated_at": "2023-01-20T12:31:56+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\", \"v3\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\", \"v3\" ]\n  schedule:\n    - cron: '00 12 * * *'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "prowler-cloud/prowler"}
{"mined_at": "2024-07-15T17:03:44.800016", "created_at": "2022-05-12T16:04:07+02:00", "updated_at": "2022-05-13T02:21:06+02:00", "name": "find-secrets", "path": ".github/workflows/find-secrets.yml", "contents": "name: find-secrets\n\non: pull_request\n\njobs:\n  trufflehog:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: TruffleHog OSS\n        uses: trufflesecurity/trufflehog@v3.78.1\n        with:\n          path: ./\n          base: ${{ github.event.repository.default_branch }}\n          head: HEAD\n          extra_args: --only-verified", "state": "active", "repository": "prowler-cloud/prowler"}
{"mined_at": "2024-07-15T17:03:45.845749", "created_at": "2024-02-14T09:14:26+01:00", "updated_at": "2024-02-15T14:26:42+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\n\non:\n    pull_request_target:\n      branches:\n        - \"master\"\n        - \"v3\"\n\njobs:\n  labeler:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v5\n", "state": "active", "repository": "prowler-cloud/prowler"}
{"mined_at": "2024-07-15T17:03:46.944995", "created_at": "2022-08-31T13:48:01+02:00", "updated_at": "2022-12-22T11:41:12+01:00", "name": "pr-lint-test", "path": ".github/workflows/pull-request.yml", "contents": "name: pr-lint-test\n\non:\n  push:\n    branches:\n      - \"master\"\n      - \"v3\"\n  pull_request:\n    branches:\n      - \"master\"\n      - \"v3\"\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Test if changes are in not ignored paths\n        id: are-non-ignored-files-changed\n        uses: tj-actions/changed-files@v44\n        with:\n          files: ./**\n          files_ignore: |\n            .github/**\n            README.md\n            docs/**\n            permissions/**\n            mkdocs.yml\n      - name: Install poetry\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        run: |\n          python -m pip install --upgrade pip\n          pipx install poetry\n      - name: Set up Python ${{ matrix.python-version }}\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"poetry\"\n      - name: Install dependencies\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        run: |\n          poetry install\n          poetry run pip list\n          VERSION=$(curl --silent \"https://api.github.com/repos/hadolint/hadolint/releases/latest\" | \\\n            grep '\"tag_name\":' | \\\n            sed -E 's/.*\"v([^\"]+)\".*/\\1/' \\\n            ) && curl -L -o /tmp/hadolint \"https://github.com/hadolint/hadolint/releases/download/v${VERSION}/hadolint-Linux-x86_64\" \\\n            && chmod +x /tmp/hadolint\n      - name: Poetry check\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        run: |\n          poetry lock --check\n      - name: Lint with flake8\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        run: |\n          poetry run flake8 . --ignore=E266,W503,E203,E501,W605,E128 --exclude contrib\n      - name: Checking format with black\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        run: |\n          poetry run black --check .\n      - name: Lint with pylint\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        run: |\n          poetry run pylint --disable=W,C,R,E -j 0 -rn -sn prowler/\n      - name: Bandit\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        run: |\n          poetry run bandit -q -lll -x '*_test.py,./contrib/' -r .\n      - name: Safety\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        run: |\n          poetry run safety check --ignore 70612\n      - name: Vulture\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        run: |\n          poetry run vulture --exclude \"contrib\" --min-confidence 100 .\n      - name: Hadolint\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        run: |\n          /tmp/hadolint Dockerfile --ignore=DL3013\n      - name: Test with pytest\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        run: |\n          poetry run pytest -n auto --cov=./prowler --cov-report=xml tests\n      - name: Upload coverage reports to Codecov\n        if: steps.are-non-ignored-files-changed.outputs.any_changed == 'true'\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "prowler-cloud/prowler"}
{"mined_at": "2024-07-15T17:03:48.048304", "created_at": "2023-01-17T14:06:04+01:00", "updated_at": "2023-01-17T14:33:18+01:00", "name": "pypi-release", "path": ".github/workflows/pypi-release.yml", "contents": "name: pypi-release\n\non:\n  release:\n    types: [published]\n\nenv:\n  RELEASE_TAG: ${{ github.event.release.tag_name }}\n  PYTHON_VERSION: 3.11\n  CACHE: \"poetry\"\n  # TODO: create a bot user for this kind of tasks, like prowler-bot\n  GIT_COMMITTER_EMAIL: \"sergio@prowler.com\"\n\njobs:\n  release-prowler-job:\n    runs-on: ubuntu-latest\n    env:\n      POETRY_VIRTUALENVS_CREATE: \"false\"\n    name: Release Prowler to PyPI\n    steps:\n      - name: Get Prowler version\n        run: |\n          PROWLER_VERSION=\"${{ env.RELEASE_TAG }}\"\n\n          case ${PROWLER_VERSION%%.*} in\n          3)\n              echo \"Releasing Prowler v3 with tag ${PROWLER_VERSION}\"\n              ;;\n          4)\n              echo \"Releasing Prowler v4 with tag ${PROWLER_VERSION}\"\n              ;;\n          *)\n              echo \"Releasing another Prowler major version, aborting...\"\n              exit 1\n              ;;\n          esac\n\n      - uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: |\n          pipx install poetry\n          pipx inject poetry poetry-bumpversion\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          cache: ${{ env.CACHE }}\n\n      - name: Update Poetry and config version\n        run: |\n          poetry version ${{ env.RELEASE_TAG }}\n\n      - name: Import GPG key\n        uses: crazy-max/ghaction-import-gpg@v6\n        with:\n          gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}\n          passphrase: ${{ secrets.GPG_PASSPHRASE }}\n          git_user_signingkey: true\n          git_commit_gpgsign: true\n\n      - name: Push updated version to the release tag\n        run: |\n          # Configure Git\n          git config user.name \"github-actions\"\n          git config user.email \"${{ env.GIT_COMMITTER_EMAIL }}\"\n\n          # Add the files with the version changed\n          git add prowler/config/config.py pyproject.toml\n          git commit -m \"chore(release): ${{ env.RELEASE_TAG }}\" --no-verify -S\n\n          # Replace the tag with the version updated\n          git tag -fa ${{ env.RELEASE_TAG }} -m \"chore(release): ${{ env.RELEASE_TAG }}\" --sign\n\n          # Push the tag\n          git push -f origin ${{ env.RELEASE_TAG }}\n\n      - name: Build Prowler package\n        run: |\n          poetry build\n\n      - name: Publish Prowler package to PyPI\n        run: |\n          poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}\n          poetry publish\n\n      - name: Replicate PyPI package\n        run: |\n          rm -rf ./dist && rm -rf ./build && rm -rf prowler.egg-info\n          pip install toml\n          python util/replicate_pypi_package.py\n          poetry build\n\n      - name: Publish prowler-cloud package to PyPI\n        run: |\n          poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}\n          poetry publish\n", "state": "active", "repository": "prowler-cloud/prowler"}
{"mined_at": "2024-07-15T17:03:49.089942", "created_at": "2022-06-23T10:10:58+02:00", "updated_at": "2022-10-28T11:05:25+02:00", "name": "Refresh regions of AWS services", "path": ".github/workflows/refresh_aws_services_regions.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Refresh regions of AWS services\n\non:\n  schedule:\n    - cron: \"0 9 * * *\" #runs at 09:00 UTC everyday\n\nenv:\n  GITHUB_BRANCH: \"master\"\n  AWS_REGION_DEV: us-east-1\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      pull-requests: write\n      contents: write\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.GITHUB_BRANCH }}\n\n      - name: setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9 #install the python needed\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install boto3\n\n      - name: Configure AWS Credentials -- DEV\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-region: ${{ env.AWS_REGION_DEV }}\n          role-to-assume: ${{ secrets.DEV_IAM_ROLE_ARN }}\n          role-session-name: refresh-AWS-regions-dev\n\n      # Runs a single command using the runners shell\n      - name: Run a one-line script\n        run: python3 util/update_aws_services_regions.py\n\n      # Create pull request\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.PROWLER_ACCESS_TOKEN }}\n          commit-message: \"feat(regions_update): Update regions for AWS services.\"\n          branch: \"aws-services-regions-updated-${{ github.sha }}\"\n          labels: \"status/waiting-for-revision, severity/low, provider/aws, backport-v3\"\n          title: \"chore(regions_update): Changes in regions for AWS services.\"\n          body: |\n            ### Description\n\n            This PR updates the regions for AWS services.\n\n            ### License\n\n            By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.\n", "state": "active", "repository": "prowler-cloud/prowler"}
{"mined_at": "2024-07-15T17:03:51.129388", "created_at": "2021-08-03T13:00:22+02:00", "updated_at": "2021-10-05T16:33:33+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install poetry\n    - name: Build and publish\n      run: |\n        poetry publish -u \"${{ secrets.PYPI_USERNAME }}\" -p \"${{ secrets.PYPI_API_TOKEN }}\" --build\n", "state": "active", "repository": "mad-lab-fau/biopsykit"}
{"mined_at": "2024-07-15T17:03:52.198364", "created_at": "2021-08-03T13:00:22+02:00", "updated_at": "2021-10-05T16:33:27+02:00", "name": "Test and Lint", "path": ".github/workflows/test-and-lint.yml", "contents": "name: Test and Lint\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  test_lint:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install poetry\n        pip install poethepoet\n        poetry config virtualenvs.in-project true\n        poetry install -E mne -E jupyter\n    - name: Linting\n      run: |\n        poetry run poe ci_check\n    - name: Testing\n      if: ${{ matrix.python-version == '3.9' }}\n      run: |\n        poetry run poe test\n    - name: \"Upload coverage to Codecov\"\n      if: ${{ matrix.python-version == '3.9' }}\n      uses: codecov/codecov-action@v3\n      with:\n        fail_ci_if_error: true\n\n", "state": "active", "repository": "mad-lab-fau/biopsykit"}
{"mined_at": "2024-07-15T17:03:54.338797", "created_at": "2019-12-21T17:02:11+01:00", "updated_at": "2019-12-21T17:02:11+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches-ignore:\n      - \"wip*\"\n    tags:\n      - \"v*\"\n  pull_request:\n  release:\n    types: [published]\n  schedule:\n    # Daily at 3:21\n    - cron: \"21 3 * * *\"\n  workflow_dispatch:\n\nenv:\n  PIP_DISABLE_PIP_VERSION_CHECK: \"1\"\n  PIP_NO_PYTHON_VERSION_WARNING: \"1\"\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - uses: pre-commit/action@v3.0.1\n\n  list:\n    runs-on: ubuntu-latest\n    outputs:\n      noxenvs: ${{ steps.noxenvs-matrix.outputs.noxenvs }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up nox\n        uses: wntrblm/nox@2024.04.15\n      - id: noxenvs-matrix\n        run: |\n          echo >>$GITHUB_OUTPUT noxenvs=$(\n            nox --list-sessions --json | jq '[.[].session]'\n          )\n\n  ci:\n    needs: list\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, ubuntu-latest, windows-latest]\n        noxenv: ${{ fromJson(needs.list.outputs.noxenvs) }}\n        posargs: [\"\"]\n        include:\n          - os: ubuntu-latest\n            noxenv: \"tests-3.11(format)\"\n            posargs: coverage github\n          - os: ubuntu-latest\n            noxenv: \"tests-3.11(no-extras)\"\n            posargs: coverage github\n        exclude:\n          - os: windows-latest\n            noxenv: \"docs(dirhtml)\"\n          - os: windows-latest\n            noxenv: \"docs(doctest)\"\n          - os: windows-latest\n            noxenv: \"docs(linkcheck)\"\n          - os: windows-latest\n            noxenv: \"docs(spelling)\"\n          - os: windows-latest\n            noxenv: \"docs(style)\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install dependencies\n        run: sudo apt-get update && sudo apt-get install -y libenchant-2-dev\n        if: runner.os == 'Linux' && startsWith(matrix.noxenv, 'docs')\n      - name: Install dependencies\n        run: brew install enchant\n        if: runner.os == 'macOS' && startsWith(matrix.noxenv, 'docs')\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: |\n            3.8\n            3.9\n            3.10\n            3.11\n            3.12\n            pypy3.10\n          allow-prereleases: true\n      - name: Set up nox\n        uses: wntrblm/nox@2024.04.15\n      - name: Enable UTF-8 on Windows\n        run: echo \"PYTHONUTF8=1\" >> $env:GITHUB_ENV\n        if: runner.os == 'Windows' && startsWith(matrix.noxenv, 'tests')\n      - name: Run nox\n        run: nox -s \"${{ matrix.noxenv }}\" -- ${{ matrix.posargs }}\n\n  packaging:\n    needs: ci\n    runs-on: ubuntu-latest\n    environment:\n      name: PyPI\n      url: https://pypi.org/p/jsonschema\n    permissions:\n      contents: write\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: python -m pip install build\n      - name: Create packages\n        run: python -m build .\n      - name: Publish to PyPI\n        if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n      - name: Create a Release\n        if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n        uses: softprops/action-gh-release@v2\n        with:\n          files: |\n            dist/*\n          generate_release_notes: true\n", "state": "active", "repository": "python-jsonschema/jsonschema"}
{"mined_at": "2024-07-15T17:03:55.373019", "created_at": "2019-12-21T16:27:12+01:00", "updated_at": "2023-10-01T00:58:17+02:00", "name": "Coverage", "path": ".github/workflows/coverage.yml", "contents": null, "state": "active", "repository": "python-jsonschema/jsonschema"}
{"mined_at": "2024-07-15T17:03:56.418638", "created_at": "2022-08-19T14:55:23+02:00", "updated_at": "2022-08-19T14:55:23+02:00", "name": "Read the Docs Pull Request Preview", "path": ".github/workflows/documentation-links.yml", "contents": "name: Read the Docs Pull Request Preview\non:\n  pull_request_target:\n    types:\n      - opened\n\npermissions:\n  pull-requests: write\n\njobs:\n  documentation-links:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: readthedocs/actions/preview@v1\n        with:\n          project-slug: \"python-jsonschema\"\n", "state": "active", "repository": "python-jsonschema/jsonschema"}
{"mined_at": "2024-07-15T17:03:57.602770", "created_at": "2021-03-03T01:17:09+01:00", "updated_at": "2021-03-03T01:17:09+01:00", "name": "CIFuzz", "path": ".github/workflows/fuzz.yml", "contents": "name: CIFuzz\n\non:\n  pull_request:\n    branches:\n      - main\n\njobs:\n  Fuzzing:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Build Fuzzers\n        id: build\n        uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master\n        with:\n          oss-fuzz-project-name: \"jsonschema\"\n          language: python\n        continue-on-error: true\n      - name: Run Fuzzers\n        if: steps.build.outcome == 'success'\n        uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master\n        with:\n          oss-fuzz-project-name: \"jsonschema\"\n          fuzz-seconds: 30\n      - name: Upload Crash\n        uses: actions/upload-artifact@v4\n        if: failure() && steps.build.outcome == 'success'\n        with:\n          name: artifacts\n          path: ./out/artifacts\n", "state": "active", "repository": "python-jsonschema/jsonschema"}
{"mined_at": "2024-07-15T17:03:58.720753", "created_at": "2019-12-21T16:21:11+01:00", "updated_at": "2023-10-01T00:58:17+02:00", "name": "Packaging", "path": ".github/workflows/packaging.yml", "contents": null, "state": "active", "repository": "python-jsonschema/jsonschema"}
{"mined_at": "2024-07-15T17:03:59.754300", "created_at": "2020-08-29T23:18:16+02:00", "updated_at": "2023-10-01T00:58:17+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "python-jsonschema/jsonschema"}
{"mined_at": "2024-07-15T17:04:02.105716", "created_at": "2022-04-22T20:24:43+02:00", "updated_at": "2023-05-30T18:27:24+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\njobs:\n  test-ubuntu:\n    name: \"pytest_${{ matrix.suffix }} on ${{ matrix.python-version }} on ubuntu-latest\"\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]  # 3.x disabled b/c of 3.11 grpcio-tools build fail.\n        suffix: [\"core\", \"benchmarks\", \"algorithms\", \"clients\", \"pyglove\", \"raytune\"]\n        include:\n          - suffix: \"clients\"\n            python-version: \"3.8\"\n          - suffix: \"clients\"\n            python-version: \"3.9\"\n          - suffix: \"clients\"\n            python-version: \"3.10\"\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v3.5.2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          # Cache pip packages.\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '**/requirements.txt'\n      - name: Cache dependencies (for faster installation)\n        # This was taken from: https://github.com/actions/setup-python/issues/330#issuecomment-1500667578\n        uses: actions/cache@v3.3.1\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}\n          key: >-\n            ${{ env.pythonLocation }}\n            ${{ hashFiles('**/requirements*.txt') }}\n      - name: Install essential dependencies\n        run: |\n          sudo apt-get install -y libprotobuf-dev\n          python -m pip install --upgrade pip setuptools\n          pip install wheel\n          pip install grpcio-tools==1.48.2\n          pip install pytest pytest-xdist\n          pip wheel -e .\n          pip install -e .\n          pip install -r requirements-test.txt\n      - name: Print installed dependencies\n        run: pip list\n      - name: Install test-specific dependencies and run test\n      # TODO: Split install and run.\n        run: bash run_tests.sh ${{ matrix.suffix }}\n", "state": "active", "repository": "google/vizier"}
{"mined_at": "2024-07-15T17:04:03.334639", "created_at": "2022-04-22T21:50:49+02:00", "updated_at": "2022-04-22T21:50:49+02:00", "name": "pypi", "path": ".github/workflows/pypi-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created.\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: pypi\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'  # 3.11 breaks grpcio-tools.\n    - name: Install dependencies\n      run: |\n        sudo apt-get install -y libprotobuf-dev\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine grpcio-tools==1.48.2\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "google/vizier"}
{"mined_at": "2024-07-15T17:04:04.471448", "created_at": "2022-09-01T16:30:05+02:00", "updated_at": "2022-09-01T18:09:35+02:00", "name": "docs_test", "path": ".github/workflows/docs_test.yml", "contents": "name: docs_test\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\njobs:\n  test-ubuntu:\n    name: \"docs on ${{ matrix.python-version }} on ${{ matrix.os }}\"\n    runs-on: \"${{ matrix.os }}\"\n    strategy:\n      matrix:\n        python-version: [3.9]\n        os: [ubuntu-latest]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r docs/requirements-docs.txt\n    - name: Print installed dependencies\n      run: |\n        pip freeze\n    - name: Make Sphinx Docs to HTML (Test)\n      run: |\n        cd docs\n        bash ./generate_docs.sh html\n    - name: Documentation Test (Test)\n      run: |\n        cd docs\n        bash ./generate_docs.sh doctest\n\n\n", "state": "active", "repository": "google/vizier"}
{"mined_at": "2024-07-15T17:04:05.508642", "created_at": "2023-05-23T16:52:32+02:00", "updated_at": "2023-05-23T16:52:32+02:00", "name": "pytest_raytune", "path": ".github/workflows/pytest_raytune.yml", "contents": null, "state": "active", "repository": "google/vizier"}
{"mined_at": "2024-07-15T17:04:06.586151", "created_at": "2023-05-23T16:52:32+02:00", "updated_at": "2023-05-23T17:40:31+02:00", "name": "pytest_core", "path": ".github/workflows/pytest_core.yml", "contents": null, "state": "active", "repository": "google/vizier"}
{"mined_at": "2024-07-15T17:04:07.716960", "created_at": "2023-05-23T16:52:32+02:00", "updated_at": "2023-05-23T16:52:32+02:00", "name": "pytest_benchmarks", "path": ".github/workflows/pytest_benchmarks.yml", "contents": null, "state": "active", "repository": "google/vizier"}
{"mined_at": "2024-07-15T17:04:08.745696", "created_at": "2023-05-23T16:52:32+02:00", "updated_at": "2023-05-23T16:52:32+02:00", "name": "pytest_clients", "path": ".github/workflows/pytest_clients.yml", "contents": null, "state": "active", "repository": "google/vizier"}
{"mined_at": "2024-07-15T17:04:09.884780", "created_at": "2023-05-23T16:52:32+02:00", "updated_at": "2023-05-23T16:52:32+02:00", "name": "pytest", "path": ".github/workflows/pytest_algorithms.yml", "contents": null, "state": "active", "repository": "google/vizier"}
{"mined_at": "2024-07-15T17:04:10.898783", "created_at": "2023-05-23T16:52:32+02:00", "updated_at": "2023-05-23T16:52:32+02:00", "name": "pytest_pyglove", "path": ".github/workflows/pytest_pyglove.yml", "contents": null, "state": "active", "repository": "google/vizier"}
{"mined_at": "2024-07-15T17:04:12.033917", "created_at": "2023-05-26T01:37:02+02:00", "updated_at": "2023-05-26T01:37:02+02:00", "name": "pytest_all", "path": ".github/workflows/pytest.yml", "contents": null, "state": "active", "repository": "google/vizier"}
{"mined_at": "2024-07-15T17:04:13.164437", "created_at": "2023-08-01T22:09:23+02:00", "updated_at": "2023-08-01T22:09:23+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/vizier"}
{"mined_at": "2024-07-15T17:04:14.283340", "created_at": "2024-04-12T01:49:09+02:00", "updated_at": "2024-04-12T01:49:09+02:00", "name": "pypi-dev", "path": ".github/workflows/pypi-publish-dev.yml", "contents": "# This workflow will upload a dev Python Package to PyPI using Twine when a main branch commit\n# is pushed. For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: pypi-dev\n\n# PyPI push triggers whenever we push a commit to main.\non:\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'  # 3.11 breaks grpcio-tools.\n    - name: Install dependencies\n      run: |\n        sudo apt-get install -y libprotobuf-dev\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine grpcio-tools==1.48.2\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py --dev sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "google/vizier"}
{"mined_at": "2024-07-15T17:04:16.553891", "created_at": "2023-09-25T15:01:44+02:00", "updated_at": "2023-09-25T15:39:10+02:00", "name": "Build and Publish Docker Image", "path": ".github/workflows/docker-build.yaml", "contents": "name: Build and Publish Docker Image\r\n\r\non:\r\n  push:\r\n    branches: [\"master\"]\r\n    paths-ignore: [\"**.md\", \"ext/**\"]\r\n  pull_request:\r\n    branches: [\"master\"]\r\n    paths-ignore: [\"**.md\", \"ext/**\"]\r\n  workflow_dispatch:\r\n\r\njobs:\r\n  build:\r\n    runs-on: ubuntu-latest\r\n\r\n    steps:\r\n      - uses: actions/checkout@v4\r\n        name: Checkout\r\n\r\n      - name: Set up QEMU\r\n        uses: docker/setup-qemu-action@v3\r\n        with:\r\n          platforms: linux/amd64, linux/arm64\r\n\r\n      - name: Set up Docker Buildx\r\n        uses: docker/setup-buildx-action@v3\r\n\r\n      - name: Build\r\n        uses: docker/build-push-action@v5\r\n        with:\r\n          context: .\r\n          platforms: linux/amd64, linux/arm64\r\n          outputs: type=oci,dest=/tmp/docker.tar\r\n          tags: bancho.py:${{ github.sha }}\r\n          cache-from: type=gha\r\n          cache-to: type=gha,mode=max\r\n\r\n      - name: Upload artifact\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: docker\r\n          path: /tmp/docker.tar\r\n\r\n      - name: Login to Docker Hub\r\n        uses: docker/login-action@v3\r\n        if: ${{ github.ref == 'refs/heads/master' }}\r\n        with:\r\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\r\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\r\n\r\n      - name: Push to Docker Hub\r\n        uses: docker/build-push-action@v5\r\n        if: ${{ github.ref == 'refs/heads/master' }}\r\n        with:\r\n          context: .\r\n          platforms: linux/amd64, linux/arm64\r\n          push: true\r\n          tags: |\r\n            ${{ secrets.DOCKERHUB_USERNAME }}/bancho.py:latest\r\n            ${{ secrets.DOCKERHUB_USERNAME }}/bancho.py:${{ github.sha }}\r\n          cache-from: type=gha\r\n          cache-to: type=gha,mode=max\r\n", "state": "active", "repository": "osuakatsuki/bancho.py"}
{"mined_at": "2024-07-15T17:04:17.773166", "created_at": "2023-09-24T00:55:54+02:00", "updated_at": "2023-09-24T04:38:39+02:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": "name: Lint\non:\n  push:\n    branches:\n      - master\n    paths:\n      - \"**.py\"\n  pull_request:\n\njobs:\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pip\"\n      - name: Install poetry\n        run: python -m pip install --upgrade poetry wheel\n      # TODO: add caching of Poetry.lock\n      - name: Install dependencies\n        run: poetry install --no-root --with dev\n      - name: Run mypy\n        run: poetry run mypy .\n", "state": "active", "repository": "osuakatsuki/bancho.py"}
{"mined_at": "2024-07-15T17:04:19.001811", "created_at": "2023-07-19T18:15:47+02:00", "updated_at": "2024-02-09T02:12:02+01:00", "name": "Sync Wiki Documentation", "path": ".github/workflows/sync-docs.yaml", "contents": "name: Sync Wiki Documentation\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - \".github/docs/wiki/**\"\n  repository_dispatch:\n    types: [docs]\n  gollum:\n\nenv:\n  REPO_PATH: \".github/docs/wiki\"\n  WIKI_PATH: \"wiki\"\n  GIT_USERNAME: \"github-actions[bot]\"\n  GIT_EMAIL: \"github-actions@github.com\"\n  GIT_COMMIT_MESSAGE: \"docs: Bidirectional sync between docs and wiki\"\n\njobs:\n  sync-docs-to-wiki:\n    if: github.repository == 'osuAkatsuki/bancho.py' && github.event_name != 'gollum'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Push files into wiki repo\n        uses: newrelic/wiki-sync-action@main\n        with:\n          source: ${{ env.REPO_PATH }}\n          destination: ${{ env.WIKI_PATH }}\n          branch: master\n          token: ${{ secrets.BPY_REPO_TOKEN }}\n          gitAuthorName: ${{ env.GIT_USERNAME }}\n          gitAuthorEmail: ${{ env.GIT_EMAIL }}\n          commitMessage: ${{ env.GIT_COMMIT_MESSAGE }}\n\n  sync-wiki-to-docs:\n    if: github.repository == 'osuAkatsuki/bancho.py' && github.event_name == 'gollum'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          ref: master\n\n      - name: Push files into repo\n        uses: newrelic/wiki-sync-action@main\n        with:\n          source: ${{ env.WIKI_PATH }}\n          destination: ${{ env.REPO_PATH }}\n          branch: master\n          token: ${{ secrets.GITHUB_TOKEN }}\n          gitAuthorName: ${{ env.GIT_USERNAME }}\n          gitAuthorEmail: ${{ env.GIT_EMAIL }}\n          commitMessage: ${{ env.GIT_COMMIT_MESSAGE }}\n", "state": "active", "repository": "osuakatsuki/bancho.py"}
{"mined_at": "2024-07-15T17:04:20.129838", "created_at": "2023-09-25T08:57:17+02:00", "updated_at": "2024-02-09T02:12:02+01:00", "name": "Test Application Code", "path": ".github/workflows/test.yaml", "contents": "name: Test Application Code\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - \"**.py\"\n      - \"**.sh\"\n      - \"**.yml\"\n      - \"**.toml\"\n      - \"**.lock\"\n      - \"**.sql\"\n      - \"Dockerfile\"\n  pull_request:\n\nenv:\n  APP_HOST: \"0.0.0.0\"\n  APP_PORT: \"10000\"\n  AUTOMATICALLY_REPORT_PROBLEMS: \"False\"\n  LOG_WITH_COLORS: \"False\"\n  COMMAND_PREFIX: \"!\"\n  DATA_DIRECTORY: \"not relevant\"\n  DB_HOST: \"mysql\"\n  DB_NAME: \"bancho\"\n  DB_PASS: \"lol123\"\n  DB_PORT: \"3306\"\n  DB_USER: \"cmyui\"\n  DEBUG: \"True\"\n  DEVELOPER_MODE: \"True\"\n  DISALLOWED_NAMES: \"mrekk,vaxei,btmc,cookiezi\"\n  DISALLOWED_PASSWORDS: \"password,abc123\"\n  DISALLOW_OLD_CLIENTS: \"False\"\n  DOMAIN: \"cmyui.xyz\"\n  MENU_ICON_URL: \"https://akatsuki.pw/static/logos/logo_ingame.png\"\n  MENU_ONCLICK_URL: \"https://akatsuki.pw\"\n  MIRROR_DOWNLOAD_ENDPOINT: \"https://catboy.best/d\"\n  MIRROR_SEARCH_ENDPOINT: \"https://catboy.best/api/search\"\n  PP_CACHED_ACCS: \"90,95,98,99,100\"\n  REDIRECT_OSU_URLS: \"True\"\n  REDIS_DB: \"0\"\n  REDIS_HOST: \"redis\"\n  REDIS_PASS: \"pass\"\n  REDIS_PORT: \"6379\"\n  REDIS_USER: \"default\"\n  SEASONAL_BGS: \"https://akatsuki.pw/static/flower.png,https://i.cmyui.xyz/nrMT4V2RR3PR.jpeg\"\n  SSL_CERT_PATH: \"not relevant\"\n  SSL_KEY_PATH: \"not relevant\"\n\njobs:\n  run-test-suite:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Build application image\n        run: docker build -t bancho:latest .\n\n      - name: Start containers\n        run: docker compose -f docker-compose.test.yml up --detach --wait --wait-timeout 30 bancho-test mysql-test redis-test\n\n      - name: Run tests\n        run: docker compose -f docker-compose.test.yml exec -T bancho-test /srv/root/scripts/run-tests.sh\n\n      - name: Stop containers\n        if: always()\n        run: docker-compose down\n\n      - name: Archive code coverage results\n        uses: actions/upload-artifact@v4\n        with:\n          name: code-coverage-report\n          path: coverage/\n", "state": "active", "repository": "osuakatsuki/bancho.py"}
{"mined_at": "2024-07-15T17:04:22.382746", "created_at": "2022-11-11T09:53:18+01:00", "updated_at": "2022-11-11T11:10:51+01:00", "name": "Build and test binaries whether they start", "path": ".github/workflows/binary_checks.yaml", "contents": "name: Build and test binaries whether they start\n\non:\n  pull_request:\n    branches: [ main ]\n    paths:\n      - 'client/poetry.lock'\n\njobs:\n  mac_build:\n    uses: ./.github/workflows/dist-build-mac.yaml\n    secrets: inherit\n  \n  mac_binary_test:\n    needs: mac_build\n    runs-on: macos-11\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set Gefyra tracking config \n        shell: bash\n        run: |\n          mkdir -p ~/.gefyra\n          cd ~/.gefyra\n          touch config.ini\n          echo \"[telemetry]\" >> config.ini\n          echo \"track = False\" >> config.ini\n      - name: Get version\n        working-directory: client/\n        run: |\n          cat pyproject.toml | grep version -m 1 | awk '{ print \"APP_VERSION=\"substr($3, 2, length($3) -2)}' >> $GITHUB_ENV\n      - uses: actions/download-artifact@v4\n        with:\n          name: gefyra-${{ env.APP_VERSION }}-darwin-universal\n      - name: Set up Docker\n        uses: crazy-max/ghaction-setup-docker@v3\n      - name: Sanity run Gefyra\n        run: |\n          ls -la\n          chmod u+x ./gefyra\n          docker info\n          ./gefyra --debug version\n\n  windows_build:\n    uses: ./.github/workflows/dist-build-windows.yaml\n    secrets: inherit\n\n  windows_binary_test:\n    needs: windows_build\n    runs-on: windows-2019\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Set Gefyra tracking config \n        shell: bash\n        run: |\n          mkdir -p ~/.gefyra\n          cd ~/.gefyra\n          touch config.ini\n          echo \"[telemetry]\" >> config.ini\n          echo \"track = False\" >> config.ini\n      - name: Determine App Version\n        working-directory: client/\n        run: |\n          python ..\\.github\\scripts\\get_version.py\n          echo \"${{ env.APP_VERSION }}\"\n      - uses: actions/download-artifact@v4\n        with:\n          name: gefyra-${{ env.APP_VERSION }}-windows-x86_64\n          path: gefyra\n      - name: Print info\n        run: |\n          ls\n          docker info\n      - name: Sanity run Gefyra\n        shell: cmd\n        run: .\\gefyra\\gefyra.exe --debug version\n\n  linux_build:\n    uses: ./.github/workflows/dist-build-linux.yaml\n    secrets: inherit\n  \n  linux_binary_test:\n    needs: linux_build\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set Gefyra tracking config \n        shell: bash\n        run: |\n          mkdir -p ~/.gefyra\n          cd ~/.gefyra\n          touch config.ini\n          echo \"[telemetry]\" >> config.ini\n          echo \"track = False\" >> config.ini\n      - name: Get version\n        working-directory: client/\n        run: |\n          cat pyproject.toml | grep version -m 1 | awk '{ print \"APP_VERSION=\"substr($3, 2, length($3) -2)}' >> $GITHUB_ENV\n      - uses: actions/download-artifact@v4\n        with:\n          name: gefyra-${{ env.APP_VERSION }}-linux-amd64\n      - name: Sanity run Gefyra\n        run: |\n          chmod u+x ./gefyra\n          docker info\n          ./gefyra --debug version\n", "state": "active", "repository": "gefyrahq/gefyra"}
{"mined_at": "2024-07-15T17:04:23.518238", "created_at": "2022-03-17T22:49:29+01:00", "updated_at": "2022-03-17T22:49:29+01:00", "name": "Update Homebrew formula", "path": ".github/workflows/brew-formula.yaml", "contents": "# This workflow creates a PR for the formula update\n\nname: Update Homebrew formula\n\non:\n  workflow_dispatch: {}\n  workflow_run:\n    workflows: [\"Build OSX binary\"]\n    types: [completed]\n\njobs:\n  update_homebrew:\n    runs-on: macos-11\n    steps:\n    - uses: actions/checkout@v4\n    - name: Update Homebrew formula\n      working-directory: client/\n      env:\n        HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.BREW_TOKEN }}\n      run: |\n        export APP_VERSION=`cat pyproject.toml | grep version -m 1 | awk '{ print substr($3, 2, length($3) -2)}'`\n        brew tap gefyrahq/gefyra\n        echo $APP_VERSION\n        brew bump-formula-pr --version=$APP_VERSION gefyra\n", "state": "active", "repository": "gefyrahq/gefyra"}
{"mined_at": "2024-07-15T17:04:24.549363", "created_at": "2022-02-04T00:22:40+01:00", "updated_at": "2022-02-04T00:22:40+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '33 3 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "gefyrahq/gefyra"}
{"mined_at": "2024-07-15T17:04:25.667317", "created_at": "2022-02-21T17:20:46+01:00", "updated_at": "2022-02-22T11:27:15+01:00", "name": "Build Linux binary", "path": ".github/workflows/dist-build-linux.yaml", "contents": "name: Build Linux binary\n\nenv:\n  PYAPP_DOWNLOAD: https://github.com/ofek/pyapp/releases/latest/download/source.tar.gz\n\non:\n  workflow_dispatch: {}\n  workflow_call:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n    - name: Determine App Version\n      working-directory: client/\n      run: |\n        python ../.github/scripts/get_version.py\n    - name: Setup PyAPP and build\n      working-directory: client/\n      env:\n        PYAPP_FULL_ISOLATION: 1\n        PYAPP_PROJECT_NAME: gefyra\n        PYAPP_EXEC_SPEC: gefyra.cli.main:main\n        PYAPP_PIP_EXTRA_ARGS: click alive-progress tabulate cli-tracker\n        PYAPP_DISTRIBUTION_EMBED: 1\n      run: |\n        poetry build\n        curl ${PYAPP_DOWNLOAD}  -Lo pyapp-source.tar.gz\n        tar -xzf pyapp-source.tar.gz\n        mv pyapp-v* pyapp-latest\n        cd pyapp-latest\n        cargo build --release\n        mv target/release/pyapp ../../gefyra && chmod +x ../../gefyra\n        cp ../README.md ../../README.md\n    - name: Upload Artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: gefyra-${{ env.PYAPP_PROJECT_VERSION }}-linux-amd64\n        path: |\n          gefyra\n          LICENSE\n          README.md\n        retention-days: 5\n    - name: Create release zip\n      if: ${{ github.event.release && github.event.action == 'published' }}\n      run: zip gefyra-${{ env.PYAPP_PROJECT_VERSION }}-linux-amd64.zip \"gefyra\" \"LICENSE\" \"README.md\"\n    - name: Attach files to release\n      uses: softprops/action-gh-release@v2\n      if: ${{ github.event.release && github.event.action == 'published' }}\n      with:\n        files: gefyra-${{ env.PYAPP_PROJECT_VERSION }}-linux-amd64.zip", "state": "active", "repository": "gefyrahq/gefyra"}
{"mined_at": "2024-07-15T17:04:26.787046", "created_at": "2022-02-22T09:37:23+01:00", "updated_at": "2022-02-22T11:27:15+01:00", "name": "Build OSX binary", "path": ".github/workflows/dist-build-mac.yaml", "contents": "name: Build OSX binary\n\nenv:\n  PYAPP_DOWNLOAD: https://github.com/ofek/pyapp/releases/latest/download/source.tar.gz\n\non:\n  workflow_call:\n  workflow_dispatch: {}\n  push:\n    tags:\n      - '*'\n\njobs:\n  build:\n    runs-on: macos-12\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Setup XCode\n      uses: maxim-lobanov/setup-xcode@v1\n      with:\n        xcode-version: latest-stable\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n    - name: Determine App Version\n      working-directory: client/\n      run: |\n        python ../.github/scripts/get_version.py\n    - name: Setup PyAPP and build\n      working-directory: client/\n      env:\n        PYAPP_FULL_ISOLATION: 1\n        PYAPP_PROJECT_NAME: gefyra\n        PYAPP_EXEC_SPEC: gefyra.cli.main:main\n        PYAPP_PIP_EXTRA_ARGS: click alive-progress tabulate cli-tracker\n        PYAPP_DISTRIBUTION_EMBED: 1\n      run: |\n        poetry build\n        curl ${PYAPP_DOWNLOAD}  -Lo pyapp-source.tar.gz\n        tar -xzf pyapp-source.tar.gz\n        mv pyapp-v* pyapp-latest\n        cd pyapp-latest\n        cargo build --release\n        mv target/release/pyapp ../../gefyra && chmod +x ../../gefyra\n        cp ../README.md ../../README.md\n    - name: Codesign app bundle\n      # Extract the secrets we defined earlier as environment variables\n      if: ${{ github.actor != 'dependabot[bot]' }}\n      env: \n        MACOS_CERTIFICATE: ${{ secrets.PROD_MACOS_CERTIFICATE }}\n        MACOS_CERTIFICATE_PWD: ${{ secrets.PROD_MACOS_CERTIFICATE_PWD }}\n        MACOS_CERTIFICATE_NAME: ${{ secrets.PROD_MACOS_CERTIFICATE_NAME }}\n        MACOS_CI_KEYCHAIN_PWD: ${{ secrets.PROD_MACOS_CI_KEYCHAIN_PWD }}\n      run: |\n        # Turn our base64-encoded certificate back to a regular .p12 file\n        \n        echo $MACOS_CERTIFICATE | base64 --decode -o certificate.p12\n\n        # We need to create a new keychain, otherwise using the certificate will prompt\n        # with a UI dialog asking for the certificate password, which we can't\n        # use in a headless CI environment\n        \n        security create-keychain -p \"$MACOS_CI_KEYCHAIN_PWD\" build.keychain\n        security default-keychain -s build.keychain\n        security unlock-keychain -p \"$MACOS_CI_KEYCHAIN_PWD\" build.keychain\n        set +e\n        security import --help\n        set -e\n        security import certificate.p12 -k ~/Library/Keychains/build.keychain -P \"$MACOS_CERTIFICATE_PWD\" -T /usr/bin/codesign\n        security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k \"$MACOS_CI_KEYCHAIN_PWD\" build.keychain\n\n        # We finally codesign our app bundle, specifying the Hardened runtime option\n        \n        /usr/bin/codesign --force -s \"$MACOS_CERTIFICATE_NAME\" --options runtime ./gefyra -v\n    - name: Upload Artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: gefyra-${{ env.PYAPP_PROJECT_VERSION }}-darwin-universal\n        path: |\n          gefyra\n          LICENSE\n          README.md\n        retention-days: 5\n    - name: Create release zip\n      if: ${{ github.event.release && github.event.action == 'published' }}\n      run: zip gefyra-${{ env.PYAPP_PROJECT_VERSION }}-darwin-universal.zip \"gefyra\" \"LICENSE\" \"README.md\"\n    - name: Attach files to release\n      uses: softprops/action-gh-release@v2\n      if: ${{ github.event.release && github.event.action == 'published' }}\n      with:\n        files: gefyra-${{ env.PYAPP_PROJECT_VERSION }}-darwin-universal.zip", "state": "active", "repository": "gefyrahq/gefyra"}
{"mined_at": "2024-07-15T17:04:28.013973", "created_at": "2022-05-02T21:19:23+02:00", "updated_at": "2022-05-02T21:56:22+02:00", "name": "Build Windows binary", "path": ".github/workflows/dist-build-windows.yaml", "contents": "name: Build Windows binary\n\non:\n  workflow_dispatch: {}\n  workflow_call:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build:\n    runs-on: windows-2019\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n    - name: Determine App Version\n      working-directory: client/\n      run: |\n        python ..\\.github\\scripts\\get_version.py\n    - name: Build wheel\n      shell: bash\n      working-directory: client/\n      run: |\n        poetry build\n    - name: Setup PyAPP and build\n      env:\n        PYAPP_FULL_ISOLATION: 1\n        PYAPP_PROJECT_NAME: gefyra\n        PYAPP_EXEC_SPEC: gefyra.cli.main:main\n        PYAPP_PIP_EXTRA_ARGS: click alive-progress tabulate cli-tracker\n        PYAPP_DISTRIBUTION_EMBED: 1\n      working-directory: client/\n      run: |\n        Invoke-WebRequest 'https://github.com/ofek/pyapp/releases/latest/download/source.tar.gz' -OutFile .\\pyapp-source.tar.gz\n        7z x pyapp-source.tar.gz\n        7z x pyapp-source.tar\n        mv pyapp-v* pyapp-latest\n        cd pyapp-latest\n        ls\n        cargo build --release\n        mkdir ..\\dist-exe\n        copy .\\target\\release\\pyapp.exe ..\\dist-exe\\gefyra.exe\n        copy README.md ../dist-exe/\n        ls ../dist-exe\n    - name: Upload Artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: gefyra-${{ env.PYAPP_PROJECT_VERSION }}-windows-x86_64\n        path: |\n          client/dist-exe/\n        retention-days: 5\n    - name: Create release zip\n      working-directory: client/\n      if: ${{ github.event.release && github.event.action == 'published' }}\n      run: 7z a -r gefyra-${{ env.PYAPP_PROJECT_VERSION }}-windows-x86_64.zip \"dist-exe/\"\n    - name: Attach files to release\n      uses: softprops/action-gh-release@v2\n      if: ${{ github.event.release && github.event.action == 'published' }}\n      with:\n        files: client/gefyra-${{ env.PYAPP_PROJECT_VERSION }}-windows-x86_64.zip", "state": "active", "repository": "gefyrahq/gefyra"}
{"mined_at": "2024-07-15T17:04:29.113131", "created_at": "2022-03-17T20:43:23+01:00", "updated_at": "2022-03-17T20:45:43+01:00", "name": "Build Container Images", "path": ".github/workflows/docker-build-multiarch.yaml", "contents": "# This workflow will build all of Gefyra's container images multi-arch\n\nname: Build Container Images\n\n# Controls when the workflow will run\non:\n  workflow_dispatch: {}\n  push:\n    branches: [ main ]\n    tags:\n      - \"*\"\n\npermissions:\n  packages: write\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      # https://github.com/docker/setup-qemu-action\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      # https://github.com/docker/setup-buildx-action\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to quay.io\n        uses: docker/login-action@v3\n        with:\n          registry: quay.io\n          username: ${{ secrets.QUAY_ROBOT }}\n          password: ${{ secrets.QUAY_ROBOT_TOKEN }}\n      #\n      # Gefyra Operator\n      #\n      - name: Operator Image meta\n        id: operator_meta\n        uses: docker/metadata-action@v5\n        with:\n          flavor: |\n            latest=false\n          images: |\n            quay.io/gefyra/operator\n          tags: |\n            type=raw,value=latest,enable=${{ !startsWith(github.ref, 'refs/tags/') }}\n            type=raw,value={{tag}},enable=${{ startsWith(github.ref, 'refs/tags/') }}\n      - name: Build and push\n        uses: docker/build-push-action@v6\n        env:\n          DOCKER_BUILD_NO_SUMMARY: true\n        with:\n          context: operator/\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.operator_meta.outputs.tags }}\n          cache-from: type=registry,ref=${{ steps.operator_meta.outputs.tags }}\n          cache-to: type=inline\n      #\n      # Gefyra Cargo\n      #\n      - name: Cargo Image meta\n        uses: docker/metadata-action@v5\n        id: cargo_meta\n        with:\n          flavor: |\n            latest=false\n          images: |\n            quay.io/gefyra/cargo\n          tags: |\n            type=raw,value=latest,enable=${{ !startsWith(github.ref, 'refs/tags/') }}\n            type=raw,value={{tag}},enable=${{ startsWith(github.ref, 'refs/tags/') }}\n      - name: Build and push\n        uses: docker/build-push-action@v6\n        env:\n          DOCKER_BUILD_NO_SUMMARY: true\n        with:\n          context: cargo/\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          target: cargo\n          tags: ${{ steps.cargo_meta.outputs.tags }}\n      \n      - name: Cargo Windows Image meta\n        uses: docker/metadata-action@v5\n        id: cargo_win_meta\n        with:\n          flavor: |\n            latest=false\n          images: |\n            quay.io/gefyra/cargo-win\n          tags: |\n            type=raw,value=latest,enable=${{ !startsWith(github.ref, 'refs/tags/') }}\n            type=raw,value={{tag}},enable=${{ startsWith(github.ref, 'refs/tags/') }}\n      - name: Build and push\n        uses: docker/build-push-action@v6\n        env:\n          DOCKER_BUILD_NO_SUMMARY: true\n        with:\n          context: cargo/\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          target: cargo-win\n          tags: ${{ steps.cargo_win_meta.outputs.tags }}\n      #\n      # Gefyra Carrier\n      #\n      - name: Carrier Image meta\n        uses: docker/metadata-action@v5\n        id: carrier_meta\n        with:\n          flavor: |\n            latest=false\n          images: |\n            quay.io/gefyra/carrier\n          tags: |\n            type=raw,value=latest,enable=${{ !startsWith(github.ref, 'refs/tags/') }}\n            type=raw,value={{tag}},enable=${{ startsWith(github.ref, 'refs/tags/') }}\n      - name: Build and push\n        uses: docker/build-push-action@v6\n        env:\n          DOCKER_BUILD_NO_SUMMARY: true\n        with:\n          context: carrier/\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.carrier_meta.outputs.tags }}\n          cache-from: type=registry,ref=${{ steps.carrier_meta.outputs.tags }}\n          cache-to: type=inline\n      #\n      # Gefyra Stowaway\n      #\n      - name: Stowaway Image meta\n        uses: docker/metadata-action@v5\n        id: stowaway_meta\n        with:\n          flavor: |\n            latest=false\n          images: |\n            quay.io/gefyra/stowaway\n          tags: |\n            type=raw,value=latest,enable=${{ !startsWith(github.ref, 'refs/tags/') }}\n            type=raw,value={{tag}},enable=${{ startsWith(github.ref, 'refs/tags/') }}\n      - name: Build and push\n        uses: docker/build-push-action@v6\n        env:\n          DOCKER_BUILD_NO_SUMMARY: true\n        with:\n          context: stowaway/\n          platforms: linux/amd64,linux/arm64\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.stowaway_meta.outputs.tags }}\n          cache-from: type=registry,ref=${{ steps.stowaway_meta.outputs.tags }}\n          cache-to: type=inline\n", "state": "active", "repository": "gefyrahq/gefyra"}
{"mined_at": "2024-07-15T17:04:30.254547", "created_at": "2022-02-02T19:47:32+01:00", "updated_at": "2022-02-02T19:47:32+01:00", "name": "black and flake8", "path": ".github/workflows/python-linter.yaml", "contents": "name: black and flake8\n\non: \n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n    - name: Lint and flake8 client\n      working-directory: client/\n      run: |\n        poetry install\n        poetry run black . --check\n        poetry run flake8 --config ../setup.cfg\n    - name: Lint and flake8 operator\n      working-directory: operator/\n      run: |\n        poetry install\n        poetry run black . --check\n        poetry run flake8 --config ../setup.cfg", "state": "active", "repository": "gefyrahq/gefyra"}
{"mined_at": "2024-07-15T17:04:31.319482", "created_at": "2022-01-27T16:48:35+01:00", "updated_at": "2022-01-27T16:56:04+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yaml", "contents": "# This workflow will upload a Python Package using Poetry when a release is created\n\nname: Upload Python Package\n\non:\n  workflow_dispatch: {}\n  release:\n    types: [published]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n    - name: Build and publish\n      env:\n        PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n      working-directory: client/\n      run: |\n        poetry config pypi-token.pypi $PYPI_API_TOKEN\n        poetry build\n        poetry publish\n\n  windows_build:\n    uses: ./.github/workflows/dist-build-windows.yaml\n    secrets: inherit\n    needs: publish\n  \n  mac_build:\n    uses: ./.github/workflows/dist-build-mac.yaml\n    secrets: inherit\n    needs: publish\n  \n  linux_build:\n    uses: ./.github/workflows/dist-build-linux.yaml\n    secrets: inherit\n    needs: publish\n\n", "state": "active", "repository": "gefyrahq/gefyra"}
{"mined_at": "2024-07-15T17:04:32.419118", "created_at": "2022-04-22T20:17:03+02:00", "updated_at": "2022-04-25T14:48:03+02:00", "name": "pytest and try it yourself example", "path": ".github/workflows/python-tester.yaml", "contents": "name: pytest and try it yourself example\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build_test_image:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    # https://github.com/docker/setup-qemu-action\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n    # https://github.com/docker/setup-buildx-action\n    - name: Set up Docker Buildx\n      id: buildx\n      uses: docker/setup-buildx-action@v3\n\n    - name: PyServer Test Image meta\n      id: test_image_meta\n      uses: docker/metadata-action@v5\n      with:\n        flavor: |\n          latest=false\n        images: |\n          gefyra/pyserver\n        tags: |\n          type=ref,event=pr,enable=${{ !!github.event.pull_request }}\n          type=raw,value=test-run-${{ github.run_id }},enable=${{ !github.event.pull_request }}\n        labels: |\n          quay.expires-after=24h\n    - name: Build and push\n      uses: docker/build-push-action@v6\n      env:\n        DOCKER_BUILD_NO_SUMMARY: true\n      with:\n        context: testing/images/\n        platforms: linux/amd64\n        push: false\n        load: true\n        file: testing/images/Dockerfile.local\n        tags: pyserver\n        outputs: type=docker,dest=/tmp/pyserver.tar\n    - name: Upload pyserver image\n      uses: actions/upload-artifact@v4\n      with:\n        name: pyserver\n        path: /tmp/pyserver.tar\n\n  build_operator:\n    runs-on: ubuntu-latest\n    outputs:\n      tags: ${{ steps.operator_meta.outputs.tags }}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    # https://github.com/docker/setup-qemu-action\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n    # https://github.com/docker/setup-buildx-action\n    - name: Set up Docker Buildx\n      id: buildx\n      uses: docker/setup-buildx-action@v3\n    - name: Login to quay.io\n      uses: docker/login-action@v3\n      with:\n        registry: quay.io\n        username: ${{ secrets.QUAY_ROBOT }}\n        password: ${{ secrets.QUAY_ROBOT_TOKEN }}\n    #\n    # Gefyra Operator\n    #\n    - name: Operator Image meta\n      id: operator_meta\n      uses: docker/metadata-action@v5\n      with:\n        flavor: |\n          latest=false\n        images: |\n          quay.io/gefyra/operator\n        tags: |\n          type=raw,value=test-run-${{ github.run_id }},enable=${{ !github.event.pull_request }}\n          type=ref,event=pr,enable=${{ !!github.event.pull_request }}\n        labels: |\n          quay.expires-after=24h\n    - name: Build and push\n      uses: docker/build-push-action@v6\n      env:\n        DOCKER_BUILD_NO_SUMMARY: true\n      with:\n        context: operator/\n        platforms: linux/amd64\n        push: true\n        load: false\n        tags: ${{ steps.operator_meta.outputs.tags }}\n        labels: ${{ steps.operator_meta.outputs.labels }}\n        cache-from: type=registry,ref=quay.io/gefyra/operator:latest\n        outputs: type=docker,dest=/tmp/operator.tar\n    - name: Upload operator image\n      uses: actions/upload-artifact@v4\n      with:\n        name: operator\n        path: /tmp/operator.tar\n\n  \n\n  build_cargo:\n    runs-on: ubuntu-latest\n    outputs:\n      tags: ${{ steps.cargo_meta.outputs.tags }}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    # https://github.com/docker/setup-qemu-action\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n    # https://github.com/docker/setup-buildx-action\n    - name: Set up Docker Buildx\n      id: buildx\n      uses: docker/setup-buildx-action@v3\n    #\n    # Gefyra Cargo\n    #\n    - name: Cargo Image meta\n      id: cargo_meta\n      uses: docker/metadata-action@v5\n      with:\n        flavor: |\n          latest=false\n        images: |\n          quay.io/gefyra/cargo\n        tags: |\n          type=raw,value=test-run-${{ github.run_id }},enable=${{ !github.event.pull_request }}\n          type=ref,event=pr,enable=${{ !!github.event.pull_request }}\n        labels: |\n          quay.expires-after=24h\n    - name: Build and push\n      uses: docker/build-push-action@v6\n      env:\n        DOCKER_BUILD_NO_SUMMARY: true\n      with:\n        context: cargo/\n        platforms: linux/amd64\n        push: false\n        target: cargo\n        tags: ${{ steps.cargo_meta.outputs.tags }}\n        labels: ${{ steps.cargo_meta.outputs.labels }}\n        cache-from: type=registry,ref=quay.io/gefyra/cargo:latest\n        outputs: type=docker,dest=/tmp/cargo.tar\n    - name: Upload cargo image\n      uses: actions/upload-artifact@v4\n      with:\n        name: cargo\n        path: /tmp/cargo.tar\n\n  test_python:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set fake kubeconfig\n        shell: bash\n        run: |\n          mkdir -p ~/.kube/\n          cd ~/.kube\n          touch config\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Set Gefyra tracking config / fake kubeconfig\n        shell: bash\n        run: |\n          mkdir -p ~/.gefyra\n          cd ~/.gefyra\n          touch config.ini\n          echo \"[telemetry]\" >> config.ini\n          echo \"track = False\" >> config.ini\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n      - name: Install dependencies\n        working-directory: ./client\n        run: poetry install --with dev --no-interaction --no-root\n      - name: Install k3d\n        run: curl --silent --fail https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.5.1 bash\n      - name: Run PyTest\n        working-directory: ./client\n        run: poetry run coverage run -m pytest tests/unit/\n      - name: Upload coverage data to coveralls.io\n        if: github.repository == 'gefyrahq/gefyra'\n        working-directory: ./client\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n          COVERALLS_FLAG_NAME: client\n          COVERALLS_PARALLEL: true\n        run: poetry run coveralls --service=github-actions\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_data\n          path: ./client/.coverage*\n\n  test_minikube:\n    timeout-minutes: 90\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-latest\n            driver: ''\n            kubectl_os: linux\n          - os: macos-12\n            driver: virtualbox\n            kubectl_os: darwin\n    needs:\n      - build_operator\n      - build_cargo\n      - build_test_image\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      # https://github.com/opensafely-core/job-server/issues/3429\n      - run: brew install docker\n        if: ${{ matrix.os == 'macos-12' }}\n      - run: colima start --memory 8\n        if: ${{ matrix.os == 'macos-12' }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n      - name: Set Gefyra tracking config / fake kubeconfig\n        shell: bash\n        run: |\n          mkdir -p ~/.gefyra\n          mkdir -p ~/.kube\n          cd ~/.gefyra\n          touch config.ini\n          echo \"[telemetry]\" >> config.ini\n          echo \"track = False\" >> config.ini\n          cd ~/.kube\n          touch config\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          path: /tmp\n      - name: start minikube\n        id: minikube\n        uses: medyagh/setup-minikube@latest\n        with:\n          start-args: --ports 127.0.0.1:31820:31820/udp\n      - name: Load Gefyra images\n        run: |\n          eval $(minikube docker-env)\n          docker load --input /tmp/pyserver/pyserver.tar\n          docker load --input /tmp/cargo/cargo.tar\n          docker load --input /tmp/operator/operator.tar\n          docker tag ${{ needs.build_operator.outputs.tags }} quay.io/gefyra/operator:2.1.6\n          docker image ls -a\n      - name: Install dependencies\n        working-directory: ./client\n        run: poetry install --with dev --no-interaction --no-root\n      - name: Run gefyra up\n        timeout-minutes: 8\n        working-directory: ./client\n        run: |\n          poetry run coverage run -a -m gefyra.cli.main --debug up --minikube\n      - name: Show cargo logs\n        working-directory: ./client\n        if: ${{ failure() }}\n        run: |\n          curl -LO \"https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/${{ matrix.kubectl_os }}/amd64/kubectl\"\n          chmod +x ./kubectl\n          ./kubectl get pod -n gefyra\n          ./kubectl logs -n gefyra gefyra-stowaway-0\n          ./kubectl logs --previous -n gefyra deploy/gefyra-operator-webhook\n          ./kubectl logs -n gefyra deploy/gefyra-operator-webhook\n          ./kubectl describe pods -n gefyra -l gefyra.dev/role=webhook\n          ./kubectl logs -n gefyra deploy/gefyra-operator\n          docker inspect minikube\n          docker inspect gefyra-cargo-default\n          docker logs gefyra-cargo-default\n      - name: Show coverage report\n        working-directory: ./client\n        run: |\n          poetry run coverage report\n      - name: Upload coverage data to coveralls.io\n        if: github.repository == 'gefyrahq/gefyra'\n        working-directory: ./client\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n          COVERALLS_FLAG_NAME: client\n          COVERALLS_PARALLEL: true\n        run: |\n          poetry run coveralls --service=github-actions\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_data-${{ matrix.os }}\n          path: ./client/.coverage*\n\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        k3d: [v1.25.16-k3s4, v1.26.15-k3s1, v1.27.14-k3s1, v1.28.10-k3s1, v1.29.5-k3s1, v1.30.1-k3s1]\n    needs:\n      - build_cargo\n      - build_operator\n      - build_test_image\n    runs-on: ubuntu-latest\n    timeout-minutes: 45\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      # https://github.com/docker/setup-qemu-action\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n      - name: Set Gefyra tracking config / fake kubeconfig\n        shell: bash\n        run: |\n          mkdir -p ~/.gefyra\n          mkdir -p ~/.kube\n          cd ~/.gefyra\n          touch config.ini\n          echo \"[telemetry]\" >> config.ini\n          echo \"track = False\" >> config.ini\n          cd ~/.kube\n          touch config\n      #\n      # Create a cluster with registry\n      #\n      - uses: AbsaOSS/k3d-action@v2\n        name: Create Single Cluster\n        with:\n          cluster-name: \"mycluster\"\n          k3d-version: v5.5.1\n          args: >-\n            --agents 1\n            -p \"31820:31820/UDP@agent:0\"\n            --image docker.io/rancher/k3s:${{ matrix.k3d }}\n            --kubeconfig-update-default\n            --kubeconfig-switch-context\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          path: /tmp\n      - name: Load Operator image\n        run: |\n          docker load --input /tmp/pyserver/pyserver.tar\n          docker load --input /tmp/cargo/cargo.tar\n          docker load --input /tmp/operator/operator.tar\n          docker image ls -a\n          docker tag ${{ needs.build_operator.outputs.tags }} quay.io/gefyra/operator:2.1.6\n      - name: Import Operator to k3d\n        run: |\n          k3d image import quay.io/gefyra/operator:2.1.6 -c mycluster --verbose\n      - name: Pytest\n        working-directory: ./client\n        run: poetry install --with dev --no-interaction --no-root\n      # Run the 'Try it yourself'\n      - name: Apply some workload\n        run: |\n          kubectl apply -f testing/workloads/hello.yaml\n\n      - name: Run Gefyra K3D Tests\n        working-directory: ./client\n        run: |\n          poetry run coverage run -m pytest -vvv -s -x --full-trace --timeout=240 tests/e2e/\n      - name: Show gefyra-operator logs\n        working-directory: ./client\n        if: ${{ failure() }}\n        run: |\n          kubectl get pods -n gefyra\n          kubectl describe deployment -n gefyra gefyra-operator\n          kubectl describe deployment -n gefyra gefyra-operator-webhook\n          kubectl logs -n gefyra deployment/gefyra-operator\n          kubectl logs -n gefyra deployment/gefyra-operator-webhook\n          kubectl get -A ValidatingWebhookConfiguration\n          kubectl get cm -n gefyra\n          kubectl describe cm -n gefyra gefyra-stowaway-proxyroutes\n          kubectl describe cm -n gefyra gefyra-stowaway-config\n          kubectl describe pod -n gefyra gefyra-stowaway-0\n          kubectl logs -n gefyra pod/gefyra-stowaway-0\n          kubectl get pvc -A\n          kubectl describe -n gefyra pvc stowaway-config-gefyra-stowaway-0\n      - name: Show coverage report\n        working-directory: ./client\n        run: |\n          poetry run coverage report\n      - name: Upload coverage data to coveralls.io\n        if: github.repository == 'gefyrahq/gefyra'\n        working-directory: ./client\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n          COVERALLS_FLAG_NAME: client\n          COVERALLS_PARALLEL: true\n        run: |\n          poetry run coveralls --service=github-actions\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_data-${{ matrix.k3d }}\n          path: ./client/.coverage*\n  test_operator:\n    name: Test Gefyra Operator\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n      - name: Install dependencies\n        working-directory: ./operator\n        run: poetry install --with dev --no-interaction --no-root\n      - name: Install k3d\n        run: curl --silent --fail https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.5.1 bash\n      - name: Run PyTest\n        working-directory: ./operator\n        run: poetry run coverage run -m pytest -s -x --retries 5\n      - name: Upload coverage data to coveralls.io\n        if: github.repository == 'gefyrahq/gefyra'\n        working-directory: ./operator\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n          COVERALLS_FLAG_NAME: operator\n          COVERALLS_PARALLEL: true\n        run: poetry run coveralls --service=github-actions\n    \n  coveralls:\n    name: Indicate completion to coveralls.io\n    if: github.repository == 'gefyrahq/gefyra'\n    # need secrets.GITHUB_TOKEN\n    needs:\n      - test\n      - test_minikube\n      - test_python\n      - test_operator\n    runs-on: ubuntu-latest\n    container: python:3-slim\n    steps:\n      - name: Finished\n        run: |\n          pip3 install --upgrade coveralls\n          coveralls --service=github-actions --finish\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}\n", "state": "active", "repository": "gefyrahq/gefyra"}
{"mined_at": "2024-07-15T17:04:33.644856", "created_at": "2022-10-04T09:48:32+02:00", "updated_at": "2022-10-04T09:48:32+02:00", "name": "Send mail on release", "path": ".github/workflows/release_notification.yaml", "contents": "name: Send mail on release\n\non:\n  workflow_dispatch: {}\n  release:\n    types:\n      - published\n\njobs:\n  send_mail:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: dawidd6/action-send-mail@v3\n      name: Send Release Mail\n      with:\n        server_address: ${{secrets.SMTP_SERVER}}\n        server_port: ${{secrets.SMTP_PORT}}\n        secure: true\n        username: ${{secrets.MAIL_USERNAME}}\n        password: ${{secrets.MAIL_PASSWORD}}\n        subject: Gefyra Release\n        to: ${{secrets.RELEASE_MAIL_RECIPIENTS}}\n        cc: ${{secrets.RELEASE_MAIL_CC}}\n        from: Gefyra Github\n        body: \"Gefyra Version ${{ github.event.release.tag_name }} is out. 🚀 Here's the changelog: https://github.com/gefyrahq/gefyra/releases/tag/${{ github.event.release.tag_name }}\"\n        reply_to: ${{secrets.REPLY_TO}}\n        ignore_cert: true\n        convert_markdown: true\n\n  post_discord_announcement:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: Ilshidur/action-discord@0.3.2\n      name: Send Discord Release Announcement\n      # add random emoji to the message\n      env:\n        DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}\n      with:\n        args: \"Gefyra Version ${{ github.event.release.tag_name }} is out! 🚀 Here's the changelog: https://github.com/gefyrahq/gefyra/releases/tag/${{ github.event.release.tag_name }}\"", "state": "active", "repository": "gefyrahq/gefyra"}
{"mined_at": "2024-07-15T17:04:35.849925", "created_at": "2020-06-09T02:56:16+02:00", "updated_at": "2020-06-09T02:56:16+02:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\non:\n  push:\n    branches:\n      - master\n\njobs:\n  setup-build-deploy:\n    name: Deploy\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      # Setup and configure gcloud CLI\n      - uses: google-github-actions/setup-gcloud@v0\n        with:\n          version: '290.0.1'\n          project_id: epschedule-v2\n          service_account_key: ${{ secrets.GCP_SA_KEY}}\n          export_default_credentials: true \n\n      - name: Set up dependencies\n        env:\n          SERVICE_ACCOUNT: ${{secrets.GCP_SERVICE_ACCOUNT}}\n        run: |\n          echo '${{secrets.GCP_SERVICE_ACCOUNT}}' > service_account.json\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n\n      - name: Verify tests pass\n        run: python main_test.py\n\n      - name: Upload master_schedule.json\n        run: python scripts/upload_master_schedule.py\n\n      - name: Deploy to App Engine\n        uses: google-github-actions/deploy-appengine@v0.4.0\n        with:\n          deliverables: app.yaml\n          project_id: ${{ secrets.GCP_PROJECT }}\n", "state": "active", "repository": "eastsidepreparatoryschool/epschedule"}
{"mined_at": "2024-07-15T17:04:36.921396", "created_at": "2022-03-15T19:30:15+01:00", "updated_at": "2022-03-21T05:20:23+01:00", "name": "json", "path": ".github/workflows/json.yml", "contents": "name: json\n\non:\n  push:\n    paths:\n      - '**.json'\n  pull_request:\n    paths:\n      - '**.json'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: json-syntax-check\n        uses: limitusus/json-syntax-check@v1\n        with:\n          pattern: \"\\\\.json$\"\n", "state": "active", "repository": "eastsidepreparatoryschool/epschedule"}
{"mined_at": "2024-07-15T17:04:37.960750", "created_at": "2020-06-08T23:05:14+02:00", "updated_at": "2020-06-08T23:07:08+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: tests\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Check style\n        run: |\n          autoflake . --remove-all-unused-imports --quiet --in-place -r --exclude venv --check\n          black . --check\n          isort . --check --profile black\n      - name: Test main\n        env:\n          SERVICE_ACCOUNT: ${{secrets.GCP_SERVICE_ACCOUNT}}\n        run: |\n          echo '${{secrets.GCP_SERVICE_ACCOUNT}}' > service_account.json\n          python main_test.py\n", "state": "active", "repository": "eastsidepreparatoryschool/epschedule"}
{"mined_at": "2024-07-15T17:04:40.090875", "created_at": "2022-03-07T20:35:56+01:00", "updated_at": "2022-03-07T20:40:52+01:00", "name": "CodeQL Analysis", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: CodeQL Analysis\n\non:\n  # push:\n  #  branches: [ main ]\n  # pull_request:\n  #  branches: [ main ]\n  schedule:\n    - cron: '23 1 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "ietf-tools/datatracker"}
{"mined_at": "2024-07-15T17:04:41.225007", "created_at": "2022-03-08T02:09:58+01:00", "updated_at": "2022-03-08T02:09:58+01:00", "name": "Build and Release", "path": ".github/workflows/build.yml", "contents": "name: Build and Release\nrun-name: ${{ github.ref_name == 'release' && '[Prod]' || '[Dev]' }} Build ${{ github.run_number }} of branch ${{ github.ref_name }} by @${{ github.actor }}\n\non:\n  push:\n    branches: [release]\n    \n  workflow_dispatch:\n    inputs:\n      summary:\n        description: 'Release Summary'\n        required: false\n        type: string\n        default: ''\n      sandbox:\n        description: 'Deploy to Sandbox'\n        default: true\n        required: true\n        type: boolean\n      deploy:\n        description: 'Deploy to Staging / Prod'\n        default: false\n        required: true\n        type: boolean\n      sandboxNoDbRefresh:\n        description: 'Sandbox Disable Daily DB Refresh'\n        default: false\n        required: true\n        type: boolean\n      skiptests:\n        description: 'Skip Tests'\n        default: false\n        required: true\n        type: boolean\n      ignoreLowerCoverage:\n        description: 'Ignore Lower Coverage'\n        default: false\n        required: true\n        type: boolean\n      updateCoverage:\n        description: 'Update Baseline Coverage'\n        default: false\n        required: true\n        type: boolean\n\njobs:\n  # -----------------------------------------------------------------\n  # PREPARE\n  # -----------------------------------------------------------------\n  prepare:\n    name: Prepare Release\n    runs-on: ubuntu-latest\n    outputs:\n      should_deploy: ${{ steps.buildvars.outputs.should_deploy }}\n      pkg_version: ${{ steps.buildvars.outputs.pkg_version }}\n      from_tag: ${{ steps.semver.outputs.nextStrict }}\n      to_tag: ${{ steps.semver.outputs.current }}\n\n    steps:   \n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n        fetch-tags: false\n\n    - name: Get Next Version (Prod)\n      if: ${{ github.ref_name == 'release' }}\n      id: semver\n      uses: ietf-tools/semver-action@v1\n      with:\n        token: ${{ github.token }}\n        branch: release\n        skipInvalidTags: true\n\n    - name: Get Dev Version\n      if: ${{ github.ref_name != 'release' }}\n      id: semverdev\n      uses: ietf-tools/semver-action@v1\n      with:\n        token: ${{ github.token }}\n        branch: release\n        skipInvalidTags: true\n        noVersionBumpBehavior: 'current'\n        noNewCommitBehavior: 'current'\n      \n    - name: Set Release Flag\n      if: ${{ github.ref_name == 'release' }}\n      run: |\n        echo \"IS_RELEASE=true\" >> $GITHUB_ENV\n        \n    - name: Create Draft Release\n      uses: ncipollo/release-action@v1.14.0\n      if: ${{ github.ref_name == 'release' }}\n      with:\n        prerelease: true\n        draft: false\n        commit: ${{ github.sha }}\n        tag: ${{ steps.semver.outputs.nextStrict }}\n        name: ${{ steps.semver.outputs.nextStrict }}\n        body: '*pending*'\n        token: ${{ secrets.GITHUB_TOKEN }}\n    \n    - name: Set Build Variables\n      id: buildvars\n      run: |\n        if [[ $IS_RELEASE ]]; then\n          echo \"Using AUTO SEMVER mode: ${{ steps.semver.outputs.nextStrict }}\"\n          echo \"should_deploy=true\" >> $GITHUB_OUTPUT\n          echo \"pkg_version=${{ steps.semver.outputs.nextStrict }}\" >> $GITHUB_OUTPUT\n          echo \"::notice::Release ${{ steps.semver.outputs.nextStrict }} created using branch $GITHUB_REF_NAME\"\n        else\n          echo \"Using TEST mode: ${{ steps.semverdev.outputs.nextMajorStrict }}.0.0-dev.$GITHUB_RUN_NUMBER\"\n          echo \"should_deploy=false\" >> $GITHUB_OUTPUT\n          echo \"pkg_version=${{ steps.semverdev.outputs.nextMajorStrict }}.0.0-dev.$GITHUB_RUN_NUMBER\" >> $GITHUB_OUTPUT\n          echo \"::notice::Non-production build ${{ steps.semverdev.outputs.nextMajorStrict }}.0.0-dev.$GITHUB_RUN_NUMBER created using branch $GITHUB_REF_NAME\"\n        fi\n\n  # -----------------------------------------------------------------\n  # TESTS\n  # -----------------------------------------------------------------\n  \n  tests:\n    name: Run Tests\n    uses: ./.github/workflows/tests.yml\n    if: ${{ github.event.inputs.skiptests == 'false' || github.ref_name == 'release' }}\n    needs: [prepare]\n    with:\n      ignoreLowerCoverage: ${{ github.event.inputs.ignoreLowerCoverage == 'true' }}\n\n  # -----------------------------------------------------------------\n  # RELEASE\n  # -----------------------------------------------------------------\n  release:\n    name: Make Release\n    if: ${{ !failure() && !cancelled() }}\n    needs: [tests, prepare]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      packages: write\n    env:\n      SHOULD_DEPLOY: ${{needs.prepare.outputs.should_deploy}}\n      PKG_VERSION: ${{needs.prepare.outputs.pkg_version}}\n      FROM_TAG: ${{needs.prepare.outputs.from_tag}}\n      TO_TAG: ${{needs.prepare.outputs.to_tag}}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n        fetch-tags: false\n        \n    - name: Setup Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: '16'\n    \n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n        \n    - name: Download a Coverage Results\n      if: ${{ github.event.inputs.skiptests == 'false' || github.ref_name == 'release' }}\n      uses: actions/download-artifact@v4.1.7\n      with:\n        name: coverage\n\n    - name: Make Release Build\n      env:\n        DEBIAN_FRONTEND: noninteractive\n        BROWSERSLIST_IGNORE_OLD_DATA: 1\n      run: |\n        echo \"PKG_VERSION: $PKG_VERSION\"\n        echo \"GITHUB_SHA: $GITHUB_SHA\"\n        echo \"GITHUB_REF_NAME: $GITHUB_REF_NAME\"\n        echo \"Running frontend build script...\"\n        echo \"Compiling native node packages...\"\n        yarn rebuild\n        echo \"Packaging static assets...\"\n        yarn build --base=https://static.ietf.org/dt/$PKG_VERSION/\n        yarn legacy:build\n        echo \"Setting version $PKG_VERSION...\"\n        sed -i -r -e \"s|^__version__ += '.*'$|__version__ = '$PKG_VERSION'|\" ietf/__init__.py\n        sed -i -r -e \"s|^__release_hash__ += '.*'$|__release_hash__ = '$GITHUB_SHA'|\" ietf/__init__.py\n        sed -i -r -e \"s|^__release_branch__ += '.*'$|__release_branch__ = '$GITHUB_REF_NAME'|\" ietf/__init__.py\n\n    - name: Set Production Flags\n      if: ${{ env.SHOULD_DEPLOY == 'true' }}\n      run: |\n        echo \"Setting production flags in settings.py...\"\n        sed -i -r -e 's/^DEBUG *= *.*$/DEBUG = False/' -e \"s/^SERVER_MODE *= *.*\\$/SERVER_MODE = 'production'/\" ietf/settings.py\n        \n    - name: Make Release Tarball\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        echo \"Build release tarball...\"\n        mkdir -p /home/runner/work/release\n        tar -czf /home/runner/work/release/release.tar.gz -X dev/build/exclude-patterns.txt .\n\n    - name: Collect + Push Statics\n      env:\n        DEBIAN_FRONTEND: noninteractive\n        AWS_ACCESS_KEY_ID: ${{ secrets.CF_R2_STATIC_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_STATIC_KEY_SECRET }}\n        AWS_DEFAULT_REGION: auto\n        AWS_ENDPOINT_URL: ${{ secrets.CF_R2_ENDPOINT }}\n      run: |\n        echo \"Collecting statics...\"\n        docker run --rm --name collectstatics -v $(pwd):/workspace ghcr.io/ietf-tools/datatracker-app-base:latest sh dev/build/collectstatics.sh\n        echo \"Pushing statics...\"\n        cd static\n        aws s3 sync . s3://static/dt/$PKG_VERSION --only-show-errors\n\n    - name: Augment dockerignore for docker image build\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        cat >> .dockerignore <<EOL\n        .devcontainer\n        .github\n        .vscode\n        k8s\n        playwright\n        svn-history\n        docker-compose.yml\n        EOL\n\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n    \n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n    - name: Login to GitHub Container Registry\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Build Release Docker Image\n      uses: docker/build-push-action@v6\n      env:\n        DOCKER_BUILD_NO_SUMMARY: true\n      with:\n        context: .\n        file: dev/build/Dockerfile\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: ghcr.io/ietf-tools/datatracker:${{ env.PKG_VERSION }}\n        cache-from: type=gha\n        cache-to: type=gha,mode=max\n        \n    - name: Update CHANGELOG\n      id: changelog\n      uses: Requarks/changelog-action@v1\n      if: ${{ env.SHOULD_DEPLOY == 'true' }}\n      with:\n        token: ${{ github.token }}\n        fromTag: ${{ env.FROM_TAG }}\n        toTag: ${{ env.TO_TAG }}\n        writeToFile: false\n\n    - name: Prepare Coverage Action\n      if: ${{ github.event.inputs.skiptests == 'false' || github.ref_name == 'release' }}\n      working-directory: ./dev/coverage-action\n      run: npm install\n        \n    - name: Process Coverage Stats + Chart\n      id: covprocess\n      uses: ./dev/coverage-action/\n      if: ${{ github.event.inputs.skiptests == 'false' || github.ref_name == 'release' }}\n      with:\n        token: ${{ github.token }}\n        tokenCommon: ${{ secrets.GH_COMMON_TOKEN }}\n        repoCommon: common\n        version: ${{needs.prepare.outputs.pkg_version}}\n        changelog: ${{ steps.changelog.outputs.changes }}\n        summary: ${{ github.event.inputs.summary }}\n        coverageResultsPath: coverage.json\n        histCoveragePath: historical-coverage.json\n        \n    - name: Create Release\n      uses: ncipollo/release-action@v1.14.0\n      if: ${{ env.SHOULD_DEPLOY == 'true' }}\n      with:\n        allowUpdates: true\n        makeLatest: true\n        draft: false\n        tag: ${{ env.PKG_VERSION }}\n        name: ${{ env.PKG_VERSION }}\n        body: ${{ steps.covprocess.outputs.changelog }}\n        artifacts: \"/home/runner/work/release/release.tar.gz,coverage.json,historical-coverage.json\"\n        token: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Update Baseline Coverage\n      uses: ncipollo/release-action@v1.14.0\n      if: ${{ github.event.inputs.updateCoverage == 'true' || github.ref_name == 'release' }}\n      with:\n        allowUpdates: true\n        tag: baseline\n        omitBodyDuringUpdate: true\n        omitNameDuringUpdate: true\n        omitPrereleaseDuringUpdate: true\n        replacesArtifacts: true\n        artifacts: \"coverage.json\"\n        token: ${{ secrets.GITHUB_TOKEN }}\n        \n    - name: Upload Build Artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: release-${{ env.PKG_VERSION }}\n        path: /home/runner/work/release/release.tar.gz\n        \n  # -----------------------------------------------------------------\n  # NOTIFY\n  # -----------------------------------------------------------------\n  notify:\n    name: Notify\n    if: ${{ always() }}\n    needs: [prepare, tests, release]\n    runs-on: ubuntu-latest\n    env:\n      PKG_VERSION: ${{needs.prepare.outputs.pkg_version}}\n        \n    steps:      \n    - name: Notify on Slack (Success)\n      if: ${{ !contains(join(needs.*.result, ','), 'failure') }}\n      uses: slackapi/slack-github-action@v1.26.0\n      with:\n        channel-id: ${{ secrets.SLACK_GH_BUILDS_CHANNEL_ID }}\n        payload: |\n          {\n            \"text\": \"Datatracker Build <https://github.com/ietf-tools/datatracker/actions/runs/${{ github.run_id }}|${{ env.PKG_VERSION }}> by ${{ github.triggering_actor }} - <@${{ secrets.SLACK_UID_RJSPARKS }}>\",\n            \"attachments\": [\n              {\n                \"color\": \"28a745\",\n                \"fields\": [\n                  {\n                    \"title\": \"Status\",\n                    \"short\": true,\n                    \"value\": \"Completed\"\n                  }\n                ]\n              }\n            ]\n          }\n      env:\n        SLACK_BOT_TOKEN: ${{ secrets.SLACK_GH_BOT }}\n    - name: Notify on Slack (Failure)\n      if: ${{ contains(join(needs.*.result, ','), 'failure') }}\n      uses: slackapi/slack-github-action@v1.26.0\n      with:\n        channel-id: ${{ secrets.SLACK_GH_BUILDS_CHANNEL_ID }}\n        payload: |\n          {\n            \"text\": \"Datatracker Build <https://github.com/ietf-tools/datatracker/actions/runs/${{ github.run_id }}|${{ env.PKG_VERSION }}> by ${{ github.triggering_actor }} - <@${{ secrets.SLACK_UID_RJSPARKS }}>\",\n            \"attachments\": [\n              {\n                \"color\": \"a82929\",\n                \"fields\": [\n                  {\n                    \"title\": \"Status\",\n                    \"short\": true,\n                    \"value\": \"Failed\"\n                  }\n                ]\n              }\n            ]\n          }\n      env:\n        SLACK_BOT_TOKEN: ${{ secrets.SLACK_GH_BOT }}\n        \n  # -----------------------------------------------------------------\n  # SANDBOX\n  # -----------------------------------------------------------------\n  sandbox:\n    name: Deploy to Sandbox\n    if: ${{ !failure() && !cancelled() && github.event.inputs.sandbox == 'true' }}\n    needs: [prepare, release]\n    runs-on: [self-hosted, dev-server]\n    environment:\n      name: sandbox\n    env:\n      PKG_VERSION: ${{needs.prepare.outputs.pkg_version}}\n      \n    steps:\n    - uses: actions/checkout@v4\n        \n    - name: Download a Release Artifact\n      uses: actions/download-artifact@v4.1.7\n      with:\n        name: release-${{ env.PKG_VERSION }}\n        \n    - name: Deploy to containers\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        echo \"Reset production flags in settings.py...\"\n        sed -i -r -e 's/^DEBUG *= *.*$/DEBUG = True/' -e \"s/^SERVER_MODE *= *.*\\$/SERVER_MODE = 'development'/\" ietf/settings.py\n        echo \"Install Deploy to Container CLI dependencies...\"\n        cd dev/deploy-to-container\n        npm ci\n        cd ../..\n        echo \"Start Deploy...\"\n        node ./dev/deploy-to-container/cli.js --branch ${{ github.ref_name }} --domain dev.ietf.org --appversion ${{ env.PKG_VERSION }} --commit ${{ github.sha }} --ghrunid ${{ github.run_id }} --nodbrefresh ${{ github.event.inputs.sandboxNoDbRefresh }}\n        \n    - name: Cleanup old docker resources\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        docker image prune -a -f\n\n  # -----------------------------------------------------------------\n  # STAGING\n  # -----------------------------------------------------------------\n  staging:\n    name: Deploy to Staging\n    if: ${{ !failure() && !cancelled() && github.event.inputs.deploy == 'true' }}\n    needs: [prepare, release]\n    runs-on: ubuntu-latest\n    environment:\n      name: staging\n    env:\n      PKG_VERSION: ${{needs.prepare.outputs.pkg_version}}\n      \n    steps:\n      - name: Deploy to staging\n        run: |\n          curl -X POST -H \"Accept: application/vnd.github.v3+json\" -H \"Authorization: Bearer ${{ secrets.GH_INFRA_K8S_TOKEN }}\" ${{ secrets.GHA_K8S_DEPLOY_API }} -d '{\"ref\":\"main\", \"inputs\": { \"environment\":\"${{ secrets.GHA_K8S_CLUSTER }}\", \"app\":\"datatracker\", \"appVersion\":\"${{ env.PKG_VERSION }}\" }}'\n\n  # -----------------------------------------------------------------\n  # PROD\n  # -----------------------------------------------------------------\n  prod:\n    name: Deploy to Production\n    if: ${{ !failure() && !cancelled() && github.event.inputs.deploy == 'true' }}\n    needs: [staging]\n    runs-on: ubuntu-latest\n    environment:\n      name: production\n    env:\n      PKG_VERSION: ${{needs.prepare.outputs.pkg_version}}\n      \n    steps:\n      - name: Deploy to production\n        run: |\n          curl -X POST -H \"Accept: application/vnd.github.v3+json\" -H \"Authorization: Bearer ${{ secrets.GH_INFRA_K8S_TOKEN }}\" ${{ secrets.GHA_K8S_DEPLOY_API }} -d '{\"ref\":\"main\", \"inputs\": { \"environment\":\"${{ secrets.GHA_K8S_CLUSTER }}\", \"app\":\"datatracker\", \"appVersion\":\"${{ env.PKG_VERSION }}\" }}'\n", "state": "active", "repository": "ietf-tools/datatracker"}
{"mined_at": "2024-07-15T17:04:42.450248", "created_at": "2022-03-16T15:19:48+01:00", "updated_at": "2023-09-02T00:03:14+02:00", "name": "PR - Run All Tests", "path": ".github/workflows/ci-run-tests.yml", "contents": "name: PR - Run All Tests\n\non:\n  pull_request:\n    branches:\n      - 'main'\n      - 'feat/rfc'\n    paths:\n      - 'client/**'\n      - 'ietf/**'\n      - 'playwright/**'\n      - 'requirements.txt'\n      - 'package.json'\n\njobs:\n  tests:\n    uses: ./.github/workflows/tests.yml\n    with:\n      ignoreLowerCoverage: false", "state": "active", "repository": "ietf-tools/datatracker"}
{"mined_at": "2024-07-15T17:04:43.681106", "created_at": "2022-05-24T21:50:02+02:00", "updated_at": "2022-05-24T21:50:02+02:00", "name": "Build Base App Docker Image", "path": ".github/workflows/build-base-app.yml", "contents": "name: Build Base App Docker Image\r\n\r\non:\r\n  push:\r\n    branches:\r\n      - 'main'\r\n    paths:\r\n      - 'docker/base.Dockerfile'\r\n      - 'requirements.txt'\r\n\r\n  workflow_dispatch:\r\n\r\njobs:\r\n  publish:\r\n    runs-on: ubuntu-latest\r\n    permissions:\r\n      contents: read\r\n      packages: write\r\n\r\n    steps:\r\n    - uses: actions/checkout@v4\r\n\r\n    - name: Set up QEMU\r\n      uses: docker/setup-qemu-action@v3\r\n    \r\n    - name: Set up Docker Buildx\r\n      uses: docker/setup-buildx-action@v3\r\n\r\n    - name: Login to GitHub Container Registry\r\n      uses: docker/login-action@v3\r\n      with:\r\n        registry: ghcr.io\r\n        username: ${{ github.actor }}\r\n        password: ${{ secrets.GITHUB_TOKEN }}\r\n\r\n    - name: Docker Build & Push\r\n      uses: docker/build-push-action@v6\r\n      env:\r\n        DOCKER_BUILD_NO_SUMMARY: true\r\n      with:\r\n        context: .\r\n        file: docker/base.Dockerfile\r\n        platforms: linux/amd64,linux/arm64\r\n        push: true\r\n        tags: ghcr.io/ietf-tools/datatracker-app-base:latest\r\n", "state": "active", "repository": "ietf-tools/datatracker"}
{"mined_at": "2024-07-15T17:04:44.908501", "created_at": "2022-06-16T20:23:22+02:00", "updated_at": "2024-06-09T02:12:34+02:00", "name": "Lock Threads", "path": ".github/workflows/lock-threads.yml", "contents": "name: Lock Threads\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n  workflow_dispatch:\n\npermissions:\n  issues: write\n  pull-requests: write\n\nconcurrency:\n  group: lock\n\njobs:\n  action:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: ietf-tools/lock-threads@v3.1.1\n        with:\n          github-token: ${{ github.token }}\n          issue-inactive-days: 7\n          pr-inactive-days: 3\n          log-output: true\n", "state": "active", "repository": "ietf-tools/datatracker"}
{"mined_at": "2024-07-15T17:04:46.137598", "created_at": "2022-08-22T20:29:33+02:00", "updated_at": "2022-08-22T20:29:33+02:00", "name": "Build Celery Worker Docker Image", "path": ".github/workflows/build-celery-worker.yml", "contents": "name: Build Celery Worker Docker Image\n\non:\n  push:\n    branches:\n      - 'main'\n    paths:\n      - 'requirements.txt'\n      - 'dev/celery/**'\n      - '.github/workflows/build-celery-worker.yml'\n\n  workflow_dispatch: \n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n    \n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n    - name: Login to GitHub Container Registry\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Docker Build & Push\n      uses: docker/build-push-action@v6\n      env:\n        DOCKER_BUILD_NO_SUMMARY: true\n      with:\n        context: .\n        file: dev/celery/Dockerfile\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: ghcr.io/ietf-tools/datatracker-celery:latest\n\n", "state": "active", "repository": "ietf-tools/datatracker"}
{"mined_at": "2024-07-15T17:04:47.388036", "created_at": "2022-08-22T20:29:33+02:00", "updated_at": "2022-08-22T20:29:33+02:00", "name": "Build MQ Broker Docker Image", "path": ".github/workflows/build-mq-broker.yml", "contents": "name: Build MQ Broker Docker Image\n\non:\n  push:\n    branches:\n      - 'main'\n    paths:\n      - 'dev/mq/**'\n      - '.github/workflows/build-mq-broker.yml'\n\n  workflow_dispatch: \n\nenv:\n  RABBITMQ_VERSION: 3.12-alpine\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n    \n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n    - name: Login to GitHub Container Registry\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Docker Build & Push\n      uses: docker/build-push-action@v6\n      env:\n        DOCKER_BUILD_NO_SUMMARY: true\n      with:\n        context: .\n        file: dev/mq/Dockerfile\n        platforms: linux/amd64,linux/arm64\n        push: true\n        build-args: RABBITMQ_VERSION=${{ env.RABBITMQ_VERSION }}\n        tags: |\n          ghcr.io/ietf-tools/datatracker-mq:${{ env.RABBITMQ_VERSION }}\n          ghcr.io/ietf-tools/datatracker-mq:latest\n", "state": "active", "repository": "ietf-tools/datatracker"}
{"mined_at": "2024-07-15T17:04:48.492302", "created_at": "2022-09-29T15:18:13+02:00", "updated_at": "2022-12-19T22:07:12+01:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v4\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v4\n        with:\n          vulnerability-check: false\n", "state": "active", "repository": "ietf-tools/datatracker"}
{"mined_at": "2024-07-15T17:04:49.722690", "created_at": "2022-12-07T23:50:27+01:00", "updated_at": "2022-12-07T23:50:27+01:00", "name": "Nightly Dev Shared Assets Sync", "path": ".github/workflows/dev-assets-sync-nightly.yml", "contents": "# GITHUB ACTIONS - WORKFLOW\n\n# RSync the assets in the shared assets volume\n\nname: Nightly Dev Shared Assets Sync\n\n# Controls when the workflow will run\non:\n  # Run every night\n  schedule:\n    - cron: '0 1 * * *'\n\n  # Run on app-rsync-extras.sh changes\n  push:\n    branches:\n      - main\n    paths:\n      - 'docker/scripts/app-rsync-extras.sh'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Build Docker Image\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name != 'schedule' }}\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Docker Build & Push\n        uses: docker/build-push-action@v6\n        env:\n          DOCKER_BUILD_NO_SUMMARY: true\n        with:\n          context: .\n          file: dev/shared-assets-sync/Dockerfile\n          push: true\n          tags: ghcr.io/ietf-tools/datatracker-rsync-assets:latest\n          \n  sync:\n    name: Run assets rsync\n    if: ${{ always() }}\n    runs-on: [self-hosted, dev-server]\n    needs: [build]\n    steps:\n    - name: Run rsync\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        docker pull ghcr.io/ietf-tools/datatracker-rsync-assets:latest\n        docker run --rm -v dt-assets:/assets ghcr.io/ietf-tools/datatracker-rsync-assets:latest\n        docker image prune -a -f\n", "state": "active", "repository": "ietf-tools/datatracker"}
{"mined_at": "2024-07-15T17:04:50.849774", "created_at": "2023-05-15T16:28:29+02:00", "updated_at": "2023-05-15T16:28:29+02:00", "name": "Sandbox Refresh", "path": ".github/workflows/sandbox-refresh.yml", "contents": "name: Sandbox Refresh\n\non:\n  # Run every night\n  schedule:\n   - cron: '0 9 * * *'\n  \n  workflow_dispatch:\n\njobs:\n  main:\n    name: Refresh DBs\n    runs-on: [self-hosted, dev-server]\n    permissions:\n      contents: read\n      \n    steps:\n    - uses: actions/checkout@v4\n        \n    - name: Refresh DBs\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        echo \"Install Deploy to Container CLI dependencies...\"\n        cd dev/deploy-to-container\n        npm ci\n        cd ../..\n        echo \"Start Refresh...\"\n        node ./dev/deploy-to-container/refresh.js\n        \n    - name: Cleanup old docker resources\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        docker image prune -a -f\n", "state": "active", "repository": "ietf-tools/datatracker"}
{"mined_at": "2024-07-15T17:04:52.220737", "created_at": "2023-09-01T23:56:42+02:00", "updated_at": "2023-09-01T23:56:42+02:00", "name": "Reusable Tests Workflow", "path": ".github/workflows/tests.yml", "contents": "name: Reusable Tests Workflow\r\n\r\non:\r\n  workflow_call:\r\n    inputs:\r\n      ignoreLowerCoverage:\r\n        description: 'Ignore Lower Coverage'\r\n        default: false\r\n        required: true\r\n        type: boolean\r\n\r\njobs:\r\n  tests-python:\r\n    name: Python Tests\r\n    runs-on: ubuntu-latest\r\n    container: ghcr.io/ietf-tools/datatracker-app-base:latest\r\n    \r\n    services:\r\n      db:\r\n        image: ghcr.io/ietf-tools/datatracker-db:latest\r\n    \r\n    steps:\r\n    - uses: actions/checkout@v4\r\n    \r\n    - name: Prepare for tests\r\n      run: |\r\n        chmod +x ./dev/tests/prepare.sh\r\n        sh ./dev/tests/prepare.sh\r\n        \r\n    - name: Ensure DB is ready\r\n      run: |\r\n        /usr/local/bin/wait-for db:5432 -- echo \"DB ready\"\r\n        \r\n    - name: Run all tests\r\n      shell: bash\r\n      run: |\r\n        echo \"Running checks...\"\r\n        ./ietf/manage.py check\r\n        ./ietf/manage.py migrate --fake-initial\r\n        echo \"Validating migrations...\"\r\n        if ! ( ietf/manage.py makemigrations --dry-run --check --verbosity 3 ) ; then\r\n          echo \"Model changes without migrations found.\"\r\n          exit 1\r\n        fi\r\n        echo \"Running tests...\"\r\n        if [[ \"x${{ github.event.inputs.ignoreLowerCoverage }}\" == \"xtrue\" ]]; then\r\n          echo \"Lower coverage failures will be ignored.\"\r\n          HOME=/root ./ietf/manage.py test -v2 --validate-html-harder --settings=settings_test --ignore-lower-coverage\r\n        else\r\n          HOME=/root ./ietf/manage.py test -v2 --validate-html-harder --settings=settings_test\r\n        fi\r\n        coverage xml\r\n\r\n    - name: Upload geckodriver.log\r\n      uses: actions/upload-artifact@v4\r\n      if: ${{ failure() }}\r\n      with:\r\n        name: geckodriverlog\r\n        path: geckodriver.log\r\n\r\n    - name: Upload Coverage Results to Codecov\r\n      uses: codecov/codecov-action@v4.5.0\r\n      with:\r\n        files: coverage.xml\r\n        \r\n    - name: Convert Coverage Results\r\n      if: ${{ always() }}\r\n      run: |\r\n        mv latest-coverage.json coverage.json\r\n        \r\n    - name: Upload Coverage Results as Build Artifact\r\n      uses: actions/upload-artifact@v4\r\n      if: ${{ always() }}\r\n      with:\r\n        name: coverage\r\n        path: coverage.json\r\n\r\n  tests-playwright:\r\n    name: Playwright Tests\r\n    runs-on: macos-latest\r\n    strategy:\r\n      fail-fast: false\r\n      matrix:\r\n        project: [chromium, firefox]\r\n    \r\n    steps:\r\n    - uses: actions/checkout@v4\r\n\r\n    - uses: actions/setup-node@v4\r\n      with:\r\n        node-version: '18'\r\n\r\n    - name: Run all tests\r\n      run: |\r\n        echo \"Installing dependencies...\"\r\n        yarn\r\n        echo \"Installing Playwright...\"\r\n        cd playwright\r\n        mkdir test-results\r\n        npm ci\r\n        npx playwright install --with-deps ${{ matrix.project }}\r\n        echo \"Running tests...\"\r\n        npx playwright test --project=${{ matrix.project }}\r\n        \r\n    - name: Upload Report\r\n      uses: actions/upload-artifact@v4\r\n      if: ${{ always() }}\r\n      continue-on-error: true\r\n      with:\r\n        name: playwright-results-${{ matrix.project }}\r\n        path: playwright/test-results/\r\n        if-no-files-found: ignore\r\n\r\n  tests-playwright-legacy:\r\n    name: Playwright Legacy Tests\r\n    runs-on: ubuntu-latest\r\n    container: ghcr.io/ietf-tools/datatracker-app-base:latest\r\n    strategy:\r\n      fail-fast: false\r\n      matrix:\r\n        project: [chromium, firefox]\r\n    \r\n    services:\r\n      db:\r\n        image: ghcr.io/ietf-tools/datatracker-db:latest\r\n    \r\n    steps:\r\n    - uses: actions/checkout@v4\r\n    \r\n    - name: Prepare for tests\r\n      run: |\r\n        chmod +x ./dev/tests/prepare.sh\r\n        sh ./dev/tests/prepare.sh\r\n        \r\n    - name: Ensure DB is ready\r\n      run: |\r\n        /usr/local/bin/wait-for db:5432 -- echo \"DB ready\"\r\n        \r\n    - name: Start Datatracker\r\n      run: |\r\n        echo \"Running checks...\"\r\n        ./ietf/manage.py check\r\n        ./ietf/manage.py migrate --fake-initial\r\n        echo \"Starting datatracker...\"\r\n        ./ietf/manage.py runserver 0.0.0.0:8000 --settings=settings_local &\r\n        echo \"Waiting for datatracker to be ready...\"\r\n        /usr/local/bin/wait-for localhost:8000 -- echo \"Datatracker ready\"\r\n\r\n    - name: Run all tests\r\n      env:\r\n        # Required to get firefox to run as root:\r\n        HOME: \"\"\r\n      run: |\r\n        echo \"Installing dependencies...\"\r\n        yarn\r\n        echo \"Installing Playwright...\"\r\n        cd playwright\r\n        mkdir test-results\r\n        npm ci\r\n        npx playwright install --with-deps ${{ matrix.project }}\r\n        echo \"Running tests...\"\r\n        npx playwright test --project=${{ matrix.project }} -c playwright-legacy.config.js\r\n        \r\n    - name: Upload Report\r\n      uses: actions/upload-artifact@v4\r\n      if: ${{ always() }}\r\n      continue-on-error: true\r\n      with:\r\n        name: playwright-legacy-results-${{ matrix.project }}\r\n        path: playwright/test-results/\r\n        if-no-files-found: ignore\r\n", "state": "active", "repository": "ietf-tools/datatracker"}
{"mined_at": "2024-07-15T17:04:53.535274", "created_at": "2023-10-13T04:46:26+02:00", "updated_at": "2023-10-13T04:46:26+02:00", "name": "Tests (Azure Test)", "path": ".github/workflows/tests-az.yml", "contents": "name: Tests (Azure Test)\n\non:\n  workflow_dispatch:\n\njobs:\n  main:\n    name: Run Tests on Azure temp VM\n    runs-on: ubuntu-latest\n    \n    permissions:\n      contents: read\n      \n    steps:\n    - name: Launch VM on Azure\n      id: azlaunch\n      run: |\n        echo \"Authenticating to Azure...\"\n        az login --service-principal -u ${{ secrets.AZ_TESTS_APP_ID }} -p ${{ secrets.AZ_TESTS_PWD }} --tenant ${{ secrets.AZ_TESTS_TENANT_ID }}\n        echo \"Creating VM...\"\n        vminfo=$(az vm create \\\n          --resource-group ghaDatatrackerTests \\\n          --name tmpGhaVM2 \\\n          --image Ubuntu2204 \\\n          --admin-username azureuser \\\n          --generate-ssh-keys \\\n          --priority Spot \\\n          --size Standard_D4as_v5 \\\n          --max-price -1 \\\n          --os-disk-size-gb 30 \\\n          --eviction-policy Delete \\\n          --nic-delete-option Delete \\\n          --output tsv \\\n          --query \"publicIpAddress\")\n        echo \"ipaddr=$vminfo\" >> \"$GITHUB_OUTPUT\"\n        echo \"VM Public IP: $vminfo\"\n        cat ~/.ssh/id_rsa > ${{ github.workspace }}/prvkey.key\n        ssh-keyscan -t rsa $vminfo >> ~/.ssh/known_hosts\n\n    - name: Remote SSH into VM\n      uses: appleboy/ssh-action@029f5b4aeeeb58fdfe1410a5d17f967dacf36262\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        host: ${{ steps.azlaunch.outputs.ipaddr }}\n        port: 22\n        username: azureuser\n        command_timeout: 60m\n        key_path: ${{ github.workspace }}/prvkey.key\n        envs: GITHUB_TOKEN\n        script_stop: true\n        script: |\n          export DEBIAN_FRONTEND=noninteractive\n          lsb_release -a\n          sudo apt-get update\n          sudo apt-get upgrade -y\n          \n          echo \"Installing Docker...\"\n          curl -fsSL https://get.docker.com -o get-docker.sh\n          sudo sh get-docker.sh\n          \n          echo \"Starting Containers...\"\n          sudo docker network create dtnet\n          sudo docker run -d --name db --network=dtnet ghcr.io/ietf-tools/datatracker-db:latest &\n          sudo docker run -d --name app --network=dtnet ghcr.io/ietf-tools/datatracker-app-base:latest sleep infinity &\n          wait\n\n          echo \"Cloning datatracker repo...\"\n          sudo docker exec app git clone --depth=1 https://github.com/ietf-tools/datatracker.git .\n          echo \"Prepare tests...\"\n          sudo docker exec app chmod +x ./dev/tests/prepare.sh\n          sudo docker exec app sh ./dev/tests/prepare.sh\n          echo \"Running checks...\"\n          sudo docker exec app ietf/manage.py check\n          sudo docker exec app ietf/manage.py migrate --fake-initial\n          echo \"Running tests...\"\n          sudo docker exec app ietf/manage.py test -v2 --validate-html-harder --settings=settings_test\n\n    - name: Destroy VM + resources\n      if: always()\n      shell: pwsh\n      run: |\n        echo \"Destroying VM...\"        \n        az vm delete -g ghaDatatrackerTests -n tmpGhaVM2 --yes --force-deletion true\n\n        $resourceOrderRemovalOrder = [ordered]@{\n            \"Microsoft.Compute/virtualMachines\" = 0\n            \"Microsoft.Compute/disks\" = 1\n            \"Microsoft.Network/networkInterfaces\" = 2\n            \"Microsoft.Network/publicIpAddresses\" = 3\n            \"Microsoft.Network/networkSecurityGroups\" = 4\n            \"Microsoft.Network/virtualNetworks\" = 5\n        }\n        echo \"Fetching remaining resources...\"\n        $resources = az resource list --resource-group ghaDatatrackerTests | ConvertFrom-Json\n\n        $orderedResources = $resources \n            | Sort-Object @{\n                Expression = {$resourceOrderRemovalOrder[$_.type]}\n                Descending = $False\n            }\n\n        echo \"Deleting remaining resources...\"\n        $orderedResources | ForEach-Object {\n            az resource delete --resource-group ghaDatatrackerTests --ids $_.id --verbose\n        }\n\n        echo \"Logout from Azure...\"\n        az logout\n", "state": "active", "repository": "ietf-tools/datatracker"}
{"mined_at": "2024-07-15T17:04:56.916741", "created_at": "2020-06-02T19:08:20+02:00", "updated_at": "2020-06-02T19:08:20+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\", \"release/*\"]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        pip install -r requirements.txt\n\n    - name: Black fmt\n      run: |\n        black . --check\n\n    - name: Unittest\n      run: |\n        python -m unittest discover -s tests\n        \n    - name: Coverage\n      run: |\n        coverage run -m unittest discover\n        coverage report\n\n  test-speed:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.11\n\n    - name: Install dependencies\n      run: |\n        pip install -r requirements.txt\n        pip install -r requirements-speed.txt\n\n    - name: Unittest\n      run: |\n        python -m unittest discover -s tests\n\n  deploy:\n    needs: [test, test-speed]\n    runs-on: ubuntu-latest\n    environment:\n      name: deploy\n    if: github.ref == 'refs/heads/master'\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n\n    - name: Install dependencies\n      run: |\n        pip install -r requirements.txt\n\n    - name: Build package and docs\n      run: |\n        python -m build\n        twine check dist/*\n        mkdocs build\n\n    - name: Publish\n      run: |\n        git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n        git config --local user.name \"GitHub Action\"\n        twine upload dist/*\n        mkdocs gh-deploy --force\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "betcode-org/flumine"}
{"mined_at": "2024-07-15T17:04:57.938387", "created_at": "2022-01-06T14:50:06+01:00", "updated_at": "2022-01-06T14:50:06+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "betcode-org/flumine"}
{"mined_at": "2024-07-15T17:05:00.023572", "created_at": "2022-03-09T12:27:10+01:00", "updated_at": "2023-09-15T10:58:47+02:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "name: Documentation\n\non:\n  workflow_dispatch:\n  push:\n    branches: [master, dev]\n\nenv:\n  BRANCH_NAME: ${{ github.head_ref || github.ref_name }}\n\njobs:\n  Documentation:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v4\n      with:\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install '.[dev]'\n    - name: Set up Git\n      run: |\n        git config user.name ${{ github.actor }}\n        git config user.email ${{ github.actor }}@users.noreply.github.com\n    - name: Build documentation\n      run: |\n        git fetch origin gh-pages\n        mike delete $BRANCH_NAME\n        mike deploy --push $BRANCH_NAME\n", "state": "active", "repository": "aphp/edsnlp"}
{"mined_at": "2024-07-15T17:05:01.048692", "created_at": "2022-04-08T13:54:22+02:00", "updated_at": "2022-04-08T13:54:22+02:00", "name": "Upload Python Package", "path": ".github/workflows/release.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}/${{ matrix.arch || '*' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.16.5\n        env:\n          CIBW_ARCHS_MACOS: \"x86_64 arm64\"\n\n      - uses: actions/upload-artifact@v2\n        with:\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Build sdist\n        run: pipx run build --sdist\n\n      - uses: actions/upload-artifact@v2\n        with:\n          path: dist/*.tar.gz\n\n  PyPI:\n    name: Upload to PyPI\n\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/download-artifact@v2\n      with:\n        name: artifact\n        path: dist\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@v1.5.0\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n\n        # password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        # repository_url: https://test.pypi.org/legacy/\n\n  Documentation:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.9\"\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install '.[dev]'\n    - name: Set up Git\n      run: |\n        git config user.name ${{ github.actor }}\n        git config user.email ${{ github.actor }}@users.noreply.github.com\n    - name: Build documentation\n      run: |\n        git fetch origin gh-pages\n        mike deploy --push --no-redirect --update-aliases $GITHUB_REF_NAME latest\n", "state": "active", "repository": "aphp/edsnlp"}
{"mined_at": "2024-07-15T17:05:02.254419", "created_at": "2022-04-09T17:07:13+02:00", "updated_at": "2022-04-11T10:17:08+02:00", "name": "Test Build", "path": ".github/workflows/test-build.yml", "contents": "# This tries to build packages, and tests the packages.\n# It runs on every push to branches following the pattern v*.*.*.\n# It makes sure that everything will run when the version is released.\n\nname: Test Build\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n    - v*.*.*\n    - build-*\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Build wheels\n        # 2.4 is too low (can't build for macos, 2.16 is too high (OpenSSL issues)\n        uses: pypa/cibuildwheel@v2.16.5\n        env:\n          CIBW_ARCHS_MACOS: \"x86_64 arm64\"\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Build sdist\n        run: pipx run build --sdist\n", "state": "active", "repository": "aphp/edsnlp"}
{"mined_at": "2024-07-15T17:05:03.484032", "created_at": "2022-03-09T09:33:43+01:00", "updated_at": "2024-05-15T11:34:38+02:00", "name": "Tests and Linting", "path": ".github/workflows/tests.yml", "contents": "name: Tests and Linting\n\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n    branches: [master]\n\njobs:\n  linting:\n    name: Linting\n    if: github.event_name == 'pull_request'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          # requites to grab the history of the PR\n          fetch-depth: 0\n      - uses: actions/setup-python@v4\n      - uses: pre-commit/action@v3.0.0\n        with:\n          extra_args: --color=always --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}\n\n  pytest:\n    name: Pytest\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\"]\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Cache downloaded resources\n        uses: actions/cache@v3\n        with:\n          path: ~/.data/\n          key: resources\n\n      # - name: Cache pip\n      #   uses: actions/cache@v3\n      #   with:\n      #     path: ~/.cache/pip\n      #     key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip\n\n      - run: echo WEEK=$(date +%V) >>$GITHUB_ENV\n        shell: bash\n\n      - uses: hynek/setup-cached-uv@v1\n        with:\n          cache-suffix: -tests-${{ matrix.python-version }}-${{ env.WEEK }}\n\n      - name: Set up Java\n        uses: actions/setup-java@v2\n        with:\n          distribution: \"temurin\" # See 'Supported distributions' for available options\n          java-version: \"8\"\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          uv venv\n          source .venv/bin/activate\n          uv pip install -e '.[dev,setup]' pytest-xdist poetry pip\n\n      - name: Test with Pytest on Python ${{ matrix.python-version }}\n        env:\n          UMLS_API_KEY: ${{ secrets.UMLS_API_KEY }}\n        run: |\n          source .venv/bin/activate\n          coverage run -m pytest --ignore tests/test_docs.py # -n auto\n          # coverage combine\n          # mv .coverage .coverage.${{ matrix.python-version }}\n        if: matrix.python-version != '3.9'\n\n      - name: Test with Pytest on Python ${{ matrix.python-version }}\n        env:\n          UMLS_API_KEY: ${{ secrets.UMLS_API_KEY }}\n        run: |\n          source .venv/bin/activate\n          coverage run -m pytest # -n auto\n          # coverage combine\n          # mv .coverage .coverage.${{ matrix.python-version }}\n        if: matrix.python-version == '3.9'\n\n      - name: Upload coverage data\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-data-${{ matrix.python-version }}\n          path: .coverage.*\n          if-no-files-found: ignore\n\n  coverage:\n    name: Coverage\n    needs: pytest\n    uses: aphp/foldedtensor/.github/workflows/coverage.yml@main\n    with:\n      base-branch: master\n      coverage-data-pattern: coverage-data-*\n      coverage-report: coverage.txt\n      coverage-badge: coverage.svg\n      coverage-branch: coverage\n\n  documentation:\n    name: Documentation\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.9\"\n        # cache: 'pip'\n\n    - run: echo WEEK=$(date +%V) >>$GITHUB_ENV\n      shell: bash\n\n    - uses: hynek/setup-cached-uv@v1\n      with:\n        cache-suffix: -docs-${{ matrix.python-version }}-${{ env.WEEK }}\n\n    - name: Install dependencies\n      run: |\n        uv venv\n        uv pip install '.[dev]'\n\n    - name: Build documentation\n      run: |\n        source .venv/bin/activate\n        mkdocs build --clean\n\n  simple-installation:\n    name: Simple installation\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\"]\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - run: echo WEEK=$(date +%V) >>$GITHUB_ENV\n        shell: bash\n\n      - uses: hynek/setup-cached-uv@v1\n        with:\n          cache-suffix: -simple-install-${{ matrix.python-version }}-${{ env.WEEK }}\n\n      - name: Install library\n        run: |\n          uv venv\n          uv pip install .\n", "state": "active", "repository": "aphp/edsnlp"}
{"mined_at": "2024-07-15T17:05:04.596013", "created_at": "2022-03-08T17:42:42+01:00", "updated_at": "2022-03-08T17:42:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "aphp/edsnlp"}
{"mined_at": "2024-07-15T17:05:07.499125", "created_at": "2022-01-18T21:51:04+01:00", "updated_at": "2022-01-18T21:51:04+01:00", "name": "Testing and distribution", "path": ".github/workflows/continuous-deployment.yml", "contents": "name: Testing and distribution\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  pre-commit:\n    name: Lint and format with pre-commit\n    runs-on: ubuntu-latest\n    steps:\n      - id: checkout\n        name: Checkout\n        uses: actions/checkout@v4\n\n      - id: setup-python\n        name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n\n      - id: pre-commit\n        name: Pre-commit\n        uses: pre-commit/action@v3.0.1\n\n  test-docs:\n    name: Test Sphinx build\n    runs-on: ubuntu-latest\n    steps:\n      - id: checkout\n        name: Checkout\n        uses: actions/checkout@v4\n\n      - id: setup-python\n        name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n          cache: 'pipenv'\n\n      - id: install-pipenv\n        name: Install pipenv\n        run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python\n        shell: bash\n\n      - id: install-python-dependencies\n        name: Install Python dependencies\n        run: pipenv install --dev --python=`which python`\n        shell: bash\n\n      - id: tally\n        name: Tally sources\n        run: make tally-sources\n\n      - id: build\n        name: Build\n        run: make test-docs\n\n      - id: save\n        name: Save artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs-${{ github.run_number }}\n          path: ./docs\n          if-no-files-found: error\n\n  test-python:\n    strategy:\n      matrix:\n        python: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.12\",]\n    name: Test Python code\n    runs-on: ubuntu-latest\n    steps:\n      - id: checkout\n        name: Checkout\n        uses: actions/checkout@v4\n\n      - id: setup-python\n        name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n          cache: 'pipenv'\n\n      - id: install-pipenv\n        name: Install pipenv\n        run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python\n        shell: bash\n\n      - id: install-python-dependencies\n        name: Install Python dependencies\n        run: pipenv install --dev --python=`which python`\n        shell: bash\n\n      - id: run\n        name: Run tests\n        run: make test\n\n      - id: coverage\n        name: Coverage report\n        run: make coverage\n\n  test-build:\n    name: Build Python package\n    runs-on: ubuntu-latest\n    needs: [test-python]\n    steps:\n      - id: checkout\n        name: Checkout\n        uses: actions/checkout@v4\n\n      - id: setup-python\n        name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n          cache: 'pipenv'\n\n      - id: install-pipenv\n        name: Install pipenv\n        run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python\n        shell: bash\n\n      - id: install-python-dependencies\n        name: Install Python dependencies\n        run: pipenv install --dev --python=`which python`\n        shell: bash\n\n      - id: build\n        name: Build release\n        run: make build-release\n\n      - id: check\n        name: Check release\n        run: make check-release\n\n      - id: save\n        name: Save artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-release-${{ github.run_number }}\n          path: ./dist\n          if-no-files-found: error\n\n  test-release:\n    name: Test PyPI release\n    runs-on: ubuntu-latest\n    needs: [test-build]\n    if: startsWith(github.ref, 'refs/tags') == 0\n    steps:\n      - id: setup-python\n        name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n\n      - id: fetch\n        name: Fetch artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: test-release-${{ github.run_number }}\n          path: ./dist\n\n      - id: publish\n        name: Publish release\n        uses: pypa/gh-action-pypi-publish@release/v1\n        env:\n          PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n        if: env.PYPI_API_TOKEN != null\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository-url: https://test.pypi.org/legacy/\n          verbose: true\n          verify_metadata: false\n\n  tag-release:\n    name: Tagged PyPI release\n    runs-on: ubuntu-latest\n    needs: [test-build]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    steps:\n      - id: setup-python\n        name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n\n      - id: fetch\n        name: Fetch artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: test-release-${{ github.run_number }}\n          path: ./dist\n\n      - id: publish\n        name: Publish release\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          verbose: true\n          verify_metadata: false\n", "state": "active", "repository": "biglocalnews/warn-scraper"}
{"mined_at": "2024-07-15T17:05:09.792355", "created_at": "2020-06-09T09:17:22+02:00", "updated_at": "2020-06-09T09:17:22+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches: [\"master\"]\n  pull_request:\n    branches: [\"master\", \"release/*\"]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        pip install -r requirements.txt\n\n    - name: Black fmt\n      run: |\n        black . --check\n\n    - name: Unittest\n      run: |\n        python -m unittest discover -s tests\n        \n    - name: Coverage\n      run: |\n        coverage run -m unittest discover\n        coverage report\n\n  test-speed:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install -r requirements.txt\n          pip install -r requirements-speed.txt\n\n      - name: Unittest\n        run: |\n          python -m unittest discover -s tests\n\n  deploy:\n    needs: test\n    runs-on: ubuntu-latest\n    environment:\n      name: deploy\n    if: github.ref == 'refs/heads/master'\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.11\n\n    - name: Install dependencies\n      run: |\n        pip install -r requirements.txt\n\n    - name: Build package and docs\n      run: |\n        python -m build\n        twine check dist/*\n        mkdocs build\n\n    - name: Publish\n      run: |\n        git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n        git config --local user.name \"GitHub Action\"\n        twine upload dist/*\n        mkdocs gh-deploy --force\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "betcode-org/betfair"}
{"mined_at": "2024-07-15T17:05:10.772772", "created_at": "2022-02-07T15:00:12+01:00", "updated_at": "2022-02-07T15:00:12+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "betcode-org/betfair"}
{"mined_at": "2024-07-15T17:05:12.969230", "created_at": "2022-11-10T20:05:10+01:00", "updated_at": "2022-11-10T20:05:10+01:00", "name": "Publish Docker image", "path": ".github/workflows/publish-keripy.yml", "contents": "\nname: Publish Docker image\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        required: true\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker Hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v3\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: gleif/keri\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          file: images/keripy.dockerfile\n          push: true\n          tags: |\n            gleif/keri:${{ github.event.inputs.version }}\n            gleif/keri:latest\n          labels: ${{ github.event.inputs.version }}", "state": "active", "repository": "weboftrust/keripy"}
{"mined_at": "2024-07-15T17:05:14.300223", "created_at": "2021-06-09T18:07:45+02:00", "updated_at": "2022-01-20T18:07:05+01:00", "name": "GitHub Actions for keripy", "path": ".github/workflows/python-app-ci.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n\nname: GitHub Actions for keripy\non:\n  push:\n    branches:\n      - 'main'\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ macos-13, ubuntu-latest ]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.12.2\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.12.2\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest hio\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n      - name: Lint changes\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --ignore=E7,F841,E301,E302,E303 --max-complexity=10 --max-line-length=127 --statistics\n      - name: Run core KERI tests\n        run: |\n          pytest tests/ --ignore tests/demo/ --ignore test/scripts\n      - name: Run KERI demo tests\n        run: |\n          pytest tests/demo/\n\n  coverage:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.12.2\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.12.2\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest pytest-cov hio\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n      - name: Run core KERI tests\n        run: |\n          pytest --cov=./ --cov-report=xml\n      - name: Upload\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  scripts:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.12.2\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.12.2\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest pytest-cov hio pytest-shell\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n      - name: Run KERI kli tests\n        run: |\n          ./scripts/demo/test_scripts.sh\n\n  interop-setup:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && github.ref == 'refs/heads/interop'\n    outputs:\n      CACHE_KEY_INTEROP: ${{ steps.cache.outputs.CACHE_KEY_INTEROP }}\n      GITHUB_REPOSITORY_NAME: ${{ steps.cache.outputs.GITHUB_REPOSITORY_NAME }}\n    steps:\n      - name: Git checkout\n        uses: actions/checkout@v3\n      - name: Set outputs\n        id: cache\n        run: |\n          echo \"::set-output name=CACHE_KEY_INTEROP::${{ hashFiles('.github/workflows/interop/Dockerfile') }}\"\n          echo \"::set-output name=GITHUB_REPOSITORY_NAME::$(echo ${GITHUB_REPOSITORY,,})\"\n\n  build-interop-image:\n    needs: [ interop-setup, test ]\n    runs-on: ubuntu-latest\n    env:\n      DOCKER_BUILDKIT: 1\n      CACHE_KEY_INTEROP: ${{ needs.interop-setup.outputs.CACHE_KEY_INTEROP }}\n      GITHUB_REPOSITORY_NAME: ${{ needs.interop-setup.outputs.GITHUB_REPOSITORY_NAME }}\n    if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n    steps:\n      - name: Git checkout\n        uses: actions/checkout@v3\n      - name: interop\n        run: |\n          echo ${{ secrets.CR_PAT }} | docker login ghcr.io --username ${{ secrets.CR_USER }} --password-stdin\n          docker build -f .github/workflows/interop/Dockerfile --no-cache -t ${{ env.GITHUB_REPOSITORY_NAME }}/keripy-interop:${{ env.CACHE_KEY_INTEROP }} .\n          docker tag ${{ env.GITHUB_REPOSITORY_NAME }}/keripy-interop:${{ env.CACHE_KEY_INTEROP }} ghcr.io/${{ env.GITHUB_REPOSITORY_NAME }}/keripy-interop:latest\n          docker push ghcr.io/${{ env.GITHUB_REPOSITORY_NAME }}/keripy-interop:latest\n          mkdir -p ${GITHUB_WORKSPACE}/cache\n          touch ${GITHUB_WORKSPACE}/cache/${{ env.CACHE_KEY_INTEROP }}\n", "state": "active", "repository": "weboftrust/keripy"}
{"mined_at": "2024-07-15T17:05:16.652579", "created_at": "2023-03-14T11:28:32+01:00", "updated_at": "2023-03-14T11:28:32+01:00", "name": "Backport merged pull request", "path": ".github/workflows/backport.yml", "contents": "name: Backport merged pull request\non:\n  pull_request_target:\n    types: [closed]\n  issue_comment:\n    types: [created]\npermissions:\n  contents: write # so it can comment\n  pull-requests: write # so it can create pull requests\njobs:\n  backport:\n    name: Backport pull request\n    runs-on: ubuntu-latest\n\n    # Only run when pull request is merged\n    # or when a comment containing `/backport` is created by someone other than the\n    # https://github.com/backport-action bot user (user id: 97796249). Note that if you use your\n    # own PAT as `github_token`, that you should replace this id with yours.\n    if: >\n      (\n        github.event_name == 'pull_request_target' &&\n        github.event.pull_request.merged\n      ) || (\n        github.event_name == 'issue_comment' &&\n        github.event.issue.pull_request &&\n        github.event.comment.user.id != 97796249 &&\n        contains(github.event.comment.body, '/backport')\n      )\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Create backport pull requests\n        uses: korthout/backport-action@v2\n", "state": "active", "repository": "canonical/microk8s"}
{"mined_at": "2024-07-15T17:05:17.787724", "created_at": "2020-05-20T16:45:09+02:00", "updated_at": "2021-04-22T12:33:15+02:00", "name": "Build MicroK8s Installers", "path": ".github/workflows/build-installer.yml", "contents": "name: Build MicroK8s Installers\n\non:\n  push:\n    branches:\n      - \"**install**\"\n  pull_request:\n    branches:\n      - \"**install**\"\n\njobs:\n  windows:\n    runs-on: windows-latest\n    defaults:\n      run:\n        working-directory: ${{ github.workspace }}/installer/windows\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4.6.1\n        with:\n          python-version: 3.8\n      - name: Install Python requirements\n        run: python -m pip install -r ../requirements.txt\n      - name: Build exe\n        working-directory: ${{ github.workspace }}/installer\n        run: pyinstaller.exe ./microk8s.spec\n      - name: Move exe to installer build directory\n        working-directory: ${{ github.workspace }}/installer\n        run: move microk8s.exe ./windows/microk8s.exe\n      - name: Download EnVar plugin for NSIS\n        uses: carlosperate/download-file-action@v2.0.1\n        with:\n          file-url: https://github.com/GsNSIS/EnVar/releases/download/v0.3.1/EnVar-Plugin.zip\n          file-name: envar_plugin.zip\n          location: ${{ github.workspace }}\n      - name: Extract EnVar plugin\n        run: 7z x -o\"C:/Program Files (x86)/NSIS\" \"${{ github.workspace }}/envar_plugin.zip\"\n      - name: Download Multipass installer\n        uses: carlosperate/download-file-action@v2.0.1\n        with:\n          file-url: https://github.com/canonical/multipass/releases/download/v1.12.2/multipass-1.12.2+win-win64.exe\n          file-name: multipass.exe\n          location: ${{ github.workspace }}/installer/windows\n      - name: Download kubectl\n        uses: carlosperate/download-file-action@v2.0.1\n        with:\n          file-url: https://storage.googleapis.com/kubernetes-release/release/v1.28.3/bin/windows/amd64/kubectl.exe\n          file-name: kubectl.exe\n          location: ${{ github.workspace }}/installer/windows\n      - name: Create installer\n        run: makensis.exe ${{ github.workspace }}/installer/windows/microk8s.nsi\n      - name: Upload installer\n        uses: actions/upload-artifact@v3\n        with:\n          name: Windows installer\n          path: ${{ github.workspace }}/installer/windows/microk8s-installer.exe\n", "state": "active", "repository": "canonical/microk8s"}
{"mined_at": "2024-07-15T17:05:18.808046", "created_at": "2020-03-05T11:10:57+01:00", "updated_at": "2024-03-26T10:34:29+01:00", "name": "Build and test MicroK8s snap", "path": ".github/workflows/build-snap.yml", "contents": "name: Build and test MicroK8s snap\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    name: Create snap package\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checking out repo\n        uses: actions/checkout@v4\n      - name: Install lxd\n        run: |\n          sudo lxd init --auto\n          sudo usermod --append --groups lxd $USER\n          sg lxd -c 'lxc version'\n      - name: Install snapcraft\n        run: |\n          sudo snap install snapcraft --classic\n      - name: Install snapd from candidate\n        run: |\n          # TODO(neoaggelos): revert this after latest/beta is working again\n          sudo snap refresh snapd --channel=latest/stable\n      - name: Build snap\n        run: |\n          sg lxd -c 'snapcraft --use-lxd'\n          sudo mv microk8s*.snap microk8s.snap\n      - name: Uploading snap\n        uses: actions/upload-artifact@v3\n        with:\n          name: microk8s.snap\n          path: microk8s.snap\n\n  test-upgrade:\n    name: Upgrade path test\n    runs-on: ubuntu-20.04\n    needs: build\n\n    steps:\n      - name: Checking out repo\n        uses: actions/checkout@v4\n      - name: Install test dependencies\n        run: |\n          set -x\n          sudo apt-get install python3-setuptools\n          sudo pip3 install --upgrade pip\n          sudo pip3 install -U pytest sh\n          sudo apt-get -y install open-iscsi\n          sudo systemctl enable iscsid\n      - name: Fetch snap\n        uses: actions/download-artifact@v3.0.2\n        with:\n          name: microk8s.snap\n          path: build\n      - name: Running upgrade path test\n        run: |\n          sudo -E UPGRADE_MICROK8S_FROM=latest/edge UPGRADE_MICROK8S_TO=$PWD/build/microk8s.snap pytest -s ./tests/test-upgrade-path.py\n\n  test-addons-core:\n    name: Test core addons\n    runs-on: ubuntu-20.04\n    needs: build\n\n    steps:\n      - name: Checking out repo\n        uses: actions/checkout@v4\n      - name: Install test dependencies\n        run: |\n          set -x\n          sudo apt-get install python3-setuptools\n          sudo pip3 install --upgrade pip\n          sudo pip3 install -U pytest sh\n          sudo apt-get -y install open-iscsi\n          sudo systemctl enable iscsid\n      - name: Fetch snap\n        uses: actions/download-artifact@v3.0.2\n        with:\n          name: microk8s.snap\n          path: build\n      - name: Running addons tests\n        run: |\n          set -x\n          sudo snap install build/microk8s.snap --classic --dangerous\n          ./tests/smoke-test.sh\n          export UNDER_TIME_PRESSURE=\"True\"\n          export SKIP_PROMETHEUS=\"False\"\n          sudo -E bash -c \"cd /var/snap/microk8s/common/addons/core/tests; pytest -s -ra test-addons.py\"\n\n  test-addons-community:\n    name: Test community addons\n    runs-on: ubuntu-20.04\n    needs: build\n\n    steps:\n      - name: Checking out repo\n        uses: actions/checkout@v4\n      - name: Install test dependencies\n        run: |\n          set -x\n          sudo apt-get install python3-setuptools\n          sudo pip3 install --upgrade pip\n          sudo pip3 install -U pytest sh\n          sudo apt-get -y install open-iscsi\n          sudo systemctl enable iscsid\n      - name: Fetch snap\n        uses: actions/download-artifact@v3.0.2\n        with:\n          name: microk8s.snap\n          path: build\n      # - name: Setup tmate session\n      #   uses: mxschmitt/action-tmate@v3\n      - name: Running addons tests\n        run: |\n          set -x\n          sudo snap install build/microk8s.snap --classic --dangerous\n          sudo microk8s enable community\n          export UNDER_TIME_PRESSURE=\"True\"\n          sudo -E bash -c \"cd /var/snap/microk8s/common/addons/community/; pytest -s -ra ./tests/\"\n\n  test-addons-core-upgrade:\n    name: Test core addons upgrade\n    runs-on: ubuntu-20.04\n    needs: build\n\n    steps:\n      - name: Checking out repo\n        uses: actions/checkout@v4\n      # - name: Setup tmate session\n      #   uses: mxschmitt/action-tmate@v3\n      - name: Install test dependencies\n        run: |\n          set -x\n          sudo apt-get install python3-setuptools\n          sudo pip3 install --upgrade pip\n          sudo pip3 install -U pytest sh\n          sudo apt-get -y install open-iscsi\n          sudo systemctl enable iscsid\n      - name: Fetch snap\n        uses: actions/download-artifact@v3.0.2\n        with:\n          name: microk8s.snap\n          path: build\n      - name: Running upgrade tests\n        run: |\n          set -x\n          export UNDER_TIME_PRESSURE=\"True\"\n          sudo -E bash -c \"UPGRADE_MICROK8S_FROM=latest/edge UPGRADE_MICROK8S_TO=$PWD/build/microk8s.snap pytest -s ./tests/test-upgrade.py\"\n\n  test-cluster-agent:\n    name: Cluster agent health check\n    runs-on: ubuntu-20.04\n    needs: build\n\n    steps:\n      - name: Checking out repo\n        uses: actions/checkout@v4\n      - name: Install test dependencies\n        run: |\n          set -x\n          sudo apt-get install python3-setuptools\n          sudo pip3 install --upgrade pip\n          sudo pip3 install -U pytest sh requests\n      - name: Fetch snap\n        uses: actions/download-artifact@v3.0.2\n        with:\n          name: microk8s.snap\n          path: build\n      - name: Running cluster agent health check\n        run: |\n          set -x\n          sudo snap install build/microk8s.snap --classic --dangerous\n          sudo -E bash -c \"pytest -s ./tests/test-cluster-agent.py\"\n\n  test-airgap:\n    name: Test airgap installation\n    runs-on: ubuntu-20.04\n    needs: build\n\n    steps:\n      - name: Checking out repo\n        uses: actions/checkout@v4\n      - name: Fetch snap\n        uses: actions/download-artifact@v3.0.2\n        with:\n          name: microk8s.snap\n          path: build\n      - name: Initialize LXD\n        run: |\n          sudo lxd init --auto\n          sudo lxc network set lxdbr0 ipv6.address=none\n          sudo usermod --append --groups lxd $USER\n          sg lxd -c 'lxc version'\n      - name: Run airgap tests\n        run: |\n          sudo -E bash -x -c \"./tests/libs/airgap.sh --distro ubuntu:20.04 --channel $PWD/build/microk8s.snap\"\n\n  test-spread:\n    name: Test microk8s on multi distros\n    runs-on: ubuntu-20.04\n    needs: build\n    strategy:\n      fail-fast: false\n      matrix:\n        distro: [\"images:centos/7\", \"images:debian/12\"]\n    steps:\n      - name: Checking out repo\n        uses: actions/checkout@v4\n      - name: Fetch snap\n        uses: actions/download-artifact@v3.0.2\n        with:\n          name: microk8s.snap\n          path: build\n      - name: Initialize LXD\n        run: |\n          sudo apt install apparmor apparmor-utils -y\n          sudo lxd init --auto\n          sudo lxc network set lxdbr0 ipv6.address=none\n          sudo usermod --append --groups lxd $USER\n          sg lxd -c 'lxc version'\n      - name: Run spread tests\n        run: |\n          sudo -E bash -x -c \"./tests/libs/spread.sh --distro ${{ matrix.distro }} --channel $PWD/build/microk8s.snap\"\n\n  security-scan:\n    name: Security scan\n    runs-on: ubuntu-20.04\n    needs: build\n    steps:\n      - name: Checking out repo\n        uses: actions/checkout@v4\n      - name: Fetch snap\n        uses: actions/download-artifact@v3.0.2\n        with:\n          name: microk8s.snap\n          path: build\n      - name: Setup Trivy vulnerability scanner\n        run: |\n          mkdir -p sarifs\n          VER=$(curl --silent -qI https://github.com/aquasecurity/trivy/releases/latest | awk -F '/' '/^location/ {print  substr($NF, 1, length($NF)-1)}');\n          wget https://github.com/aquasecurity/trivy/releases/download/${VER}/trivy_${VER#v}_Linux-64bit.tar.gz\n          tar -zxvf ./trivy_${VER#v}_Linux-64bit.tar.gz\n      - name: Run Trivy vulnerability scanner in repo mode\n        uses: aquasecurity/trivy-action@master\n        with:\n          scan-type: \"fs\"\n          ignore-unfixed: true\n          format: \"sarif\"\n          output: \"trivy-microk8s-repo-scan--results.sarif\"\n          severity: \"CRITICAL\"\n      - name: Gather Trivy repo scan results\n        run: |\n          cp trivy-microk8s-repo-scan--results.sarif ./sarifs/\n      - name: Run Trivy vulnerability scanner on images\n        run: |\n          for i in $(cat ./build-scripts/images.txt) ; do\n            name=$(echo  $i | awk -F ':|/' '{print $(NF-1)}')\n            ./trivy image $i --format sarif > sarifs/$name.sarif\n          done\n      - name: Run Trivy vulnerability scanner on the snap\n        run: |\n          cp build/microk8s.snap .\n          unsquashfs microk8s.snap\n          ./trivy rootfs ./squashfs-root/ --format sarif > sarifs/snap.sarif\n      - name: Upload Trivy scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: \"sarifs\"\n", "state": "active", "repository": "canonical/microk8s"}
{"mined_at": "2024-07-15T17:05:19.936031", "created_at": "2023-10-27T19:57:56+02:00", "updated_at": "2023-10-31T19:03:01+01:00", "name": "Build custom MicroK8s flavors", "path": ".github/workflows/check-flavors.yml", "contents": null, "state": "active", "repository": "canonical/microk8s"}
{"mined_at": "2024-07-15T17:05:20.999826", "created_at": "2020-05-29T16:37:33+02:00", "updated_at": "2021-02-03T22:14:39+01:00", "name": "Lint Code", "path": ".github/workflows/check-formatting.yml", "contents": "name: Lint Code\n\non:\n  - pull_request\n\njobs:\n  check-formatting:\n    name: Check Formatting\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install tox --fix-missing\n          sudo snap install node --classic\n          sudo npm install --save-dev --save-exact -g prettier\n      - name: Check Python formatting\n        run: |\n          tox -e lint\n      - name: Check YAML formatting\n        run: |\n          set -eux\n          prettier --check $(find . -name \"*.yaml\" -o -name \"*.yml\" | \\\n            grep -v \"./microk8s-resources/actions/ingress.yaml\" | \\\n            grep -v \"./microk8s-resources/actions/metallb.yaml\" | \\\n            grep -v invalid.yaml | \\\n            grep -v calico)\n", "state": "active", "repository": "canonical/microk8s"}
{"mined_at": "2024-07-15T17:05:22.182222", "created_at": "2022-02-15T09:56:37+01:00", "updated_at": "2022-02-16T20:26:27+01:00", "name": "Unit Tests", "path": ".github/workflows/check-unit-tests.yml", "contents": "name: Unit Tests\n\non:\n  - pull_request\n\njobs:\n  check-unit-tests:\n    name: Check Unit Tests\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install tox --fix-missing\n          sudo pip3 install -U pytest==7.1.3 sh==1.14.3\n      - name: Check Units\n        run: |\n          tox -e scripts\n          tox -e wrappers\n          tox -e cluster\n      - name: Verify branches\n        run: |\n          pytest -s ./tests/verify-branches.py\n", "state": "active", "repository": "canonical/microk8s"}
{"mined_at": "2024-07-15T17:05:23.480981", "created_at": "2021-04-01T11:30:15+02:00", "updated_at": "2021-04-01T11:30:15+02:00", "name": "cla-check", "path": ".github/workflows/cla-check.yml", "contents": "name: cla-check\n\non:\n  pull_request:\n    branches: [master, default]\n\njobs:\n  cla-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check if CLA signed\n        uses: canonical/has-signed-canonical-cla@v1\n", "state": "active", "repository": "canonical/microk8s"}
{"mined_at": "2024-07-15T17:05:24.471905", "created_at": "2024-05-22T18:51:32+02:00", "updated_at": "2024-05-22T18:51:32+02:00", "name": "run-conformance-suite", "path": ".github/workflows/conformance.yml", "contents": null, "state": "active", "repository": "canonical/microk8s"}
{"mined_at": "2024-07-15T17:05:25.490603", "created_at": "2023-05-14T11:52:15+02:00", "updated_at": "2023-05-14T12:32:26+02:00", "name": "Security scan", "path": ".github/workflows/security-scan.yml", "contents": null, "state": "active", "repository": "canonical/microk8s"}
{"mined_at": "2024-07-15T17:05:26.687418", "created_at": "2020-03-11T21:59:49+01:00", "updated_at": "2022-02-01T15:00:21+01:00", "name": "Test Kubeflow", "path": ".github/workflows/test-kubeflow.yaml", "contents": null, "state": "active", "repository": "canonical/microk8s"}
{"mined_at": "2024-07-15T17:05:27.818445", "created_at": "2022-07-04T09:25:12+02:00", "updated_at": "2022-07-05T08:39:54+02:00", "name": "Update list of images", "path": ".github/workflows/update-images.yml", "contents": "name: Update list of images\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 10 * * *\"\n\njobs:\n  update:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          # Latest branches\n          - { branch: master, channel: latest/edge }\n          # Stable branches\n          - { branch: \"1.30\", channel: \"1.30\" }\n          - { branch: \"1.29\", channel: \"1.29\" }\n          - { branch: \"1.28\", channel: \"1.28\" }\n          - { branch: \"1.27\", channel: \"1.27\" }\n          # Stable strict branches\n          - { branch: 1.30-strict, channel: 1.30-strict }\n          - { branch: 1.29-strict, channel: 1.29-strict }\n          - { branch: 1.28-strict, channel: 1.28-strict }\n          - { branch: 1.27-strict, channel: 1.27-strict }\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ matrix.branch }}\n      - name: Update image list\n        run: |\n          ./build-scripts/update-images.sh ${{ matrix.channel }} build-scripts/images.txt\n      - name: Create pull request\n        uses: peter-evans/create-pull-request@v5\n        with:\n          commit-message: update list of images used by ${{ matrix.channel }}\n          title: \"[${{ matrix.channel }}] Update MicroK8s images\"\n          body: update list of images used by ${{ matrix.channel }}\n          reviewers: neoaggelos,ktsakalozos\n          branch: auto-update-images/${{ matrix.branch }}\n          delete-branch: true\n          base: ${{ matrix.branch }}\n", "state": "active", "repository": "canonical/microk8s"}
{"mined_at": "2024-07-15T17:05:29.964863", "created_at": "2020-12-05T20:49:04+01:00", "updated_at": "2024-04-25T21:51:40+02:00", "name": "Lock inactive closed issues", "path": ".github/workflows/lock.yaml", "contents": "name: Lock inactive closed issues\n# Lock closed issues that have not received any further activity for two weeks.\n# This does not close open issues, only humans may do that. It is easier to\n# respond to new issues with fresh examples rather than continuing discussions\n# on old issues.\n\non:\n  schedule:\n    - cron: '0 0 * * *'\npermissions:\n  issues: write\n  pull-requests: write\nconcurrency:\n  group: lock\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1\n        with:\n          issue-inactive-days: 14\n          pr-inactive-days: 14\n          discussion-inactive-days: 14\n", "state": "active", "repository": "pallets-eco/flask-sqlalchemy"}
{"mined_at": "2024-07-15T17:05:31.091044", "created_at": "2023-01-31T16:59:26+01:00", "updated_at": "2023-01-31T16:59:26+01:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "name: Publish\non:\n  push:\n    tags:\n      - '*'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    outputs:\n      hash: ${{ steps.hash.outputs.hash }}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - run: pip install -r requirements/build.txt\n      # Use the commit date instead of the current date during the build.\n      - run: echo \"SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)\" >> $GITHUB_ENV\n      - run: python -m build\n      # Generate hashes used for provenance.\n      - name: generate hash\n        id: hash\n        run: cd dist && echo \"hash=$(sha256sum * | base64 -w0)\" >> $GITHUB_OUTPUT\n      - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          path: ./dist\n  provenance:\n    needs: [build]\n    permissions:\n      actions: read\n      id-token: write\n      contents: write\n    # Can't pin with hash due to how this workflow works.\n    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0\n    with:\n      base64-subjects: ${{ needs.build.outputs.hash }}\n  create-release:\n    # Upload the sdist, wheels, and provenance to a GitHub release. They remain\n    # available as build artifacts for a while as well.\n    needs: [provenance]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      - name: create release\n        run: >\n          gh release create --draft --repo ${{ github.repository }}\n          ${{ github.ref_name }}\n          *.intoto.jsonl/* artifact/*\n        env:\n          GH_TOKEN: ${{ github.token }}\n  publish-pypi:\n    needs: [provenance]\n    # Wait for approval before attempting to upload to PyPI. This allows reviewing the\n    # files in the draft release.\n    environment:\n      name: publish\n      url: https://pypi.org/project/Flask-SQLAlchemy/${{ github.ref_name }}\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          packages-dir: artifact/\n      - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n        with:\n          packages-dir: artifact/\n", "state": "active", "repository": "pallets-eco/flask-sqlalchemy"}
{"mined_at": "2024-07-15T17:05:32.211635", "created_at": "2020-05-25T21:39:26+02:00", "updated_at": "2020-05-25T21:39:26+02:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\non:\n  push:\n    branches:\n      - main\n      - '*.x'\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\njobs:\n  tests:\n    name: ${{ matrix.name || matrix.python }}\n    runs-on: ${{ matrix.os || 'ubuntu-latest' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {python: '3.12'}\n          - {python: '3.11'}\n          - {python: '3.10'}\n          - {python: '3.9'}\n          - {python: '3.8'}\n          - {name: Minimum Versions, python: '3.11', tox: py-min}\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - run: pip install tox\n      - run: tox run -e ${{ matrix.tox || format('py{0}', matrix.python) }}\n  typing:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - name: cache mypy\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: ./.mypy_cache\n          key: mypy|${{ hashFiles('pyproject.toml') }}\n      - run: pip install tox\n      - run: tox run -e typing\n", "state": "active", "repository": "pallets-eco/flask-sqlalchemy"}
{"mined_at": "2024-07-15T17:05:34.368144", "created_at": "2021-10-29T21:10:18+02:00", "updated_at": "2021-11-02T17:27:58+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yaml", "contents": "name: pre-commit\n\non:\n  push:\n    branches: [main]\n  pull_request:\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n          architecture: x64\n          packages: |\n            ufmt==2.5.1\n            black==24.2.0\n            usort==1.0.8\n      - name: Checkout Torchrec\n        uses: actions/checkout@v2\n      - name: Run pre-commit\n        uses: pre-commit/action@v2.0.3\n", "state": "active", "repository": "pytorch/torchrec"}
{"mined_at": "2024-07-15T17:05:35.493296", "created_at": "2022-01-28T20:28:44+01:00", "updated_at": "2022-12-13T00:06:09+01:00", "name": "Unit Test CI", "path": ".github/workflows/unittest_ci.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Unit Test CI\n\non:\n  # TODO: re-enable when GPU unit tests are working\n  # push:\n  #   paths-ignore:\n  #     - \"docs/*\"\n  #     - \"third_party/*\"\n  #     - .gitignore\n  #     - \"*.md\"\n  # pull_request:\n  #   paths-ignore:\n  #     - \"docs/*\"\n  #     - \"third_party/*\"\n  #     - .gitignore\n  #     - \"*.md\"\n  workflow_dispatch:\n\njobs:\n  # build on cpu hosts and upload to GHA\n  build_on_cpu:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n         - os: linux.2xlarge\n          # ideally we run on 3.9 and 3.10 as well, however we are limited in resources.\n           python-version: 3.8\n           python-tag: \"py38\"\n           cuda-tag: \"cu11\"\n    steps:\n    # Checkout the repository to the GitHub Actions runner\n    - name: Check ldd --version\n      run: ldd --version\n    - name: Checkout\n      uses: actions/checkout@v2\n    - name: Update pip\n      run: |\n        sudo yum update -y\n        sudo yum -y install git python3-pip\n        sudo pip3 install --upgrade pip\n    - name: Setup conda\n      run: |\n        wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh\n        bash ~/miniconda.sh -b -p $HOME/miniconda -u\n    - name: setup Path\n      run: |\n        echo \"/home/ec2-user/miniconda/bin\" >> $GITHUB_PATH\n        echo \"CONDA=/home/ec2-user/miniconda\" >> $GITHUB_PATH\n    - name: create conda env\n      run: |\n        conda create --name build_binary python=${{ matrix.python-version }}\n        conda info\n    - name: check python version no Conda\n      run: |\n        python --version\n    - name: check python version\n      run: |\n        conda run -n build_binary python --version\n    - name: Install C/C++ compilers\n      run: |\n        sudo yum install -y gcc gcc-c++\n    - name: Install PyTorch and CUDA\n      shell: bash\n      run: |\n        conda install -n build_binary -y pytorch pytorch-cuda=11.8 -c pytorch-nightly -c nvidia\n    - name: Install Dependencies\n      shell: bash\n      run: |\n        conda run -n build_binary python -m pip install -r requirements.txt\n    - name: Test Installation of dependencies\n      run: |\n        conda run -n build_binary python -c \"import torch.distributed\"\n        echo \"torch.distributed succeeded\"\n        conda run -n build_binary python -c \"import skbuild\"\n        echo \"skbuild succeeded\"\n        conda run -n build_binary python -c \"import numpy\"\n        echo \"numpy succeeded\"\n    # for the conda run with quotes, we have to use \"\\\" and double quotes\n    # here is the issue: https://github.com/conda/conda/issues/10972\n    - name: Build TorchRec Binary\n      run: |\n        conda run -n build_binary \\\n          python setup.py bdist_wheel \\\n          --python-tag=${{ matrix.python-tag }}\n    - name: Upload wheel as GHA artifact\n      uses: actions/upload-artifact@v2\n      with:\n        name: torchrec_${{ matrix.python-version }}_${{ matrix.cuda-tag }}.whl\n        path: dist/*.whl\n\n  # download from GHA, test on gpu\n  test_on_gpu:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [linux.4xlarge.nvidia.gpu]\n        python-version: [3.8]\n        cuda-tag: [\"cu11\"]\n    needs: build_on_cpu\n    # the glibc version should match the version of the one we used to build the binary\n    # for this case, it's 2.26\n    steps:\n    - name: Check ldd --version\n    # Run unit tests\n      run: ldd --version\n    - name: check cpu info\n      shell: bash\n      run: |\n        cat /proc/cpuinfo\n    - name: check distribution info\n      shell: bash\n      run: |\n        cat /proc/version\n    - name: Display EC2 information\n      shell: bash\n      run: |\n        set -euo pipefail\n        function get_ec2_metadata() {\n          # Pulled from instance metadata endpoint for EC2\n          # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html\n          category=$1\n          curl -fsSL \"http://169.254.169.254/latest/meta-data/${category}\"\n        }\n        echo \"ami-id: $(get_ec2_metadata ami-id)\"\n        echo \"instance-id: $(get_ec2_metadata instance-id)\"\n        echo \"instance-type: $(get_ec2_metadata instance-type)\"\n    - name: check gpu info\n      shell: bash\n      run: |\n        sudo yum install lshw -y\n        sudo lshw -C display\n    # Checkout the repository to the GitHub Actions runner\n    - name: Checkout\n      uses: actions/checkout@v2\n    - name: Update pip\n      run: |\n        sudo yum update -y\n        sudo yum -y install git python3-pip\n        sudo pip3 install --upgrade pip\n    - name: Setup conda\n      run: |\n        wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh\n        bash ~/miniconda.sh -b -p $HOME/miniconda\n    - name: setup Path\n      run: |\n        echo \"/home/ec2-user/miniconda/bin\" >> $GITHUB_PATH\n        echo \"CONDA=/home/ec2-user/miniconda\" >> $GITHUB_PATH\n    - name: create conda env\n      run: |\n        conda create --name build_binary python=${{ matrix.python-version }}\n        conda info\n    - name: check python version no Conda\n      run: |\n        python --version\n    - name: check python version\n      run: |\n        conda run -n build_binary python --version\n    - name: Install C/C++ compilers\n      run: |\n        sudo yum install -y gcc gcc-c++\n    - name: Install PyTorch and CUDA\n      shell: bash\n      run: |\n        conda install -n build_binary -y pytorch pytorch-cuda=11.8 -c pytorch-nightly -c nvidia\n    - name: Install fbgemm\n      shell: bash\n      run: |\n        conda run -n build_binary \\\n          pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/nightly/cu118\n    # download wheel from GHA\n    - name: Download wheel\n      uses: actions/download-artifact@v2\n      with:\n        name: torchrec_${{ matrix.python-version }}_${{ matrix.cuda-tag }}.whl\n    - name: Display structure of downloaded files\n      run: ls -R\n    - name: Install TorchRec GPU\n      run: |\n        rm -r dist || true\n        conda run -n build_binary python -m pip install dist/*.whl\n    - name: Test torchrec installation\n      shell: bash\n      run: |\n        conda run -n build_binary \\\n          python -c \"import torchrec\"\n    - name: Test with pytest\n      run: |\n        conda run -n build_binary \\\n          python -m pip install pytest\n        conda run -n build_binary \\\n          python -m pytest torchrec -v -s -W ignore::pytest.PytestCollectionWarning --continue-on-collection-errors\n", "state": "active", "repository": "pytorch/torchrec"}
{"mined_at": "2024-07-15T17:05:36.622423", "created_at": "2022-02-08T21:06:01+01:00", "updated_at": "2022-02-16T20:32:35+01:00", "name": "Generate documentation", "path": ".github/workflows/docs.yml", "contents": "# This workflow builds the torchrec docs and deploys them to gh-pages.\nname: Generate documentation\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\njobs:\n  build_docs_job:\n    runs-on: ${{ matrix.os }}\n    permissions:\n      # Grant write permission here so that the doc can be pushed to gh-pages branch\n      contents: write\n    strategy:\n      matrix:\n        include:\n         - os: linux.2xlarge\n           python-version: 3.8\n    steps:\n    - name: Check ldd --version\n      run: ldd --version\n    - name: Checkout\n      uses: actions/checkout@v2\n    # Update references\n    - name: Update pip\n      run: |\n        sudo yum update -y\n        sudo yum -y install git python3-pip\n        sudo pip3 install --upgrade pip\n    - name: Setup conda\n      run: |\n        wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh\n        bash ~/miniconda.sh -b -p $HOME/miniconda\n    - name: setup Path\n      run: |\n        echo \"/home/ec2-user/miniconda/bin\" >> $GITHUB_PATH\n        echo \"CONDA=/home/ec2-user/miniconda\" >> $GITHUB_PATH\n    - name: create conda env\n      run: |\n        conda create --name build_binary python=${{ matrix.python-version }}\n        conda info\n    - name: check python version no Conda\n      run: |\n        python --version\n    - name: check python version\n      run: |\n        conda run -n build_binary python --version\n    - name: Install gcc\n      shell: bash\n      run: |\n        sudo yum group install -y \"Development Tools\"\n    - name: setup Path\n      run: |\n        echo /usr/local/bin >> $GITHUB_PATH\n    - name: Install PyTorch\n      shell: bash\n      run: |\n        conda install -n build_binary --yes pytorch cpuonly -c pytorch-nightly\n    - name: Install fbgemm\n      run: |\n        conda run -n build_binary pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/nightly/cpu\n    - name: Install torchmetrics\n      run: |\n        conda run -n build_binary pip install torchmetrics==1.0.3\n    - name: Install TorchRec\n      run: |\n        conda run -n build_binary pip install torchrec --index-url https://download.pytorch.org/whl/nightly/cpu\n    - name: Test fbgemm_gpu and torchrec installation\n      shell: bash\n      run: |\n        conda run -n build_binary \\\n          python -c \"import fbgemm_gpu\"\n        conda run -n build_binary \\\n          python -c \"import torchrec\"\n    - name: Build the docset\n      run: |\n        conda run -n build_binary python -m pip install -r docs/requirements.txt\n        cd ./docs\n        conda run -n build_binary make html\n        cd ..\n    - name: Get output time\n      run: echo \"The time was ${{ steps.build.outputs.time }}\"\n    - name: Deploy\n      uses: JamesIves/github-pages-deploy-action@releases/v3\n      with:\n          ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          BRANCH: gh-pages # The branch the action should deploy to.\n          FOLDER: docs/build/html # The folder the action should deploy.\n", "state": "active", "repository": "pytorch/torchrec"}
{"mined_at": "2024-07-15T17:05:37.652667", "created_at": "2022-02-09T22:57:14+01:00", "updated_at": "2022-11-02T01:03:08+01:00", "name": "Push Binary Release", "path": ".github/workflows/release_build.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Push Binary Release\n\non:\n  workflow_call:\n    secrets:\n      PYPI_TOKEN:\n        required: false\n  workflow_dispatch:\n\njobs:\n\n  # build on cpu hosts and upload to GHA\n  build_on_cpu:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n         - os: linux.2xlarge\n           python-version: 3.8\n           python-tag: \"py38\"\n           cuda-tag: \"cu121\"\n         - os: linux.2xlarge\n           python-version: 3.9\n           python-tag: \"py39\"\n           cuda-tag: \"cu121\"\n         - os: linux.2xlarge\n           python-version: '3.10'\n           python-tag: \"py310\"\n           cuda-tag: \"cu121\"\n         - os: linux.2xlarge\n           python-version: '3.11'\n           python-tag: \"py311\"\n           cuda-tag: \"cu121\"\n         - os: linux.2xlarge\n           python-version: '3.12'\n           python-tag: \"py312\"\n           cuda-tag: \"cu121\"\n    steps:\n    # Checkout the repository to the GitHub Actions runner\n    - name: Check ldd --version\n      run: ldd --version\n    - name: Checkout\n      uses: actions/checkout@v2\n    - name: Update pip\n      run: |\n        sudo yum update -y\n        sudo yum -y install git python3-pip\n        sudo pip3 install --upgrade pip\n    - name: Setup conda\n      run: |\n        wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh\n        bash ~/miniconda.sh -b -p $HOME/miniconda -u\n    - name: setup Path\n      run: |\n        echo \"/home/ec2-user/miniconda/bin\" >> $GITHUB_PATH\n        echo \"CONDA=/home/ec2-user/miniconda\" >> $GITHUB_PATH\n    - name: create conda env\n      run: |\n        conda create --name build_binary python=${{ matrix.python-version }}\n        conda info\n    - name: check python version no Conda\n      run: |\n        python --version\n    - name: check python version\n      run: |\n        conda run -n build_binary python --version\n    - name: Install C/C++ compilers\n      run: |\n        sudo yum install -y gcc gcc-c++\n    - name: Install PyTorch and CUDA\n      shell: bash\n      run: |\n        conda run -n build_binary pip install torch --index-url https://download.pytorch.org/whl/test/cu121\n    - name: Install fbgemm\n      shell: bash\n      run: |\n        conda run -n build_binary pip install numpy\n        conda run -n build_binary pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/test/cu121\n    - name: Install Dependencies\n      shell: bash\n      run: |\n        conda run -n build_binary python -m pip install -r requirements.txt\n    - name: Test Installation of dependencies\n      run: |\n        conda run -n build_binary python -c \"import torch.distributed\"\n        echo \"torch.distributed succeeded\"\n        conda run -n build_binary python -c \"import skbuild\"\n        echo \"skbuild succeeded\"\n        conda run -n build_binary python -c \"import numpy\"\n        echo \"numpy succeeded\"\n    # for the conda run with quotes, we have to use \"\\\" and double quotes\n    # here is the issue: https://github.com/conda/conda/issues/10972\n    - name: Build TorchRec\n      env:\n        OFFICIAL_RELEASE: 1\n      run: |\n        rm -r dist || true\n        conda run -n build_binary \\\n          python setup.py bdist_wheel \\\n          --python-tag=${{ matrix.python-tag }}\n    - name: Upload wheel as GHA artifact\n      uses: actions/upload-artifact@v2\n      with:\n        name: torchrec_${{ matrix.python-version }}_${{ matrix.cuda-tag }}.whl\n        path: dist/torchrec-*.whl\n\n  # download from GHA, sanity check on gpu and push to pypi\n  sanity_check_on_gpu_and_push:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [linux.4xlarge.nvidia.gpu]\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n        cuda-tag: [\"cu121\"]\n    needs: build_on_cpu\n    # the glibc version should match the version of the one we used to build the binary\n    # for this case, it's 2.26\n    steps:\n    - name: Check ldd --version\n      run: ldd --version\n    - name: check cpu info\n      shell: bash\n      run: |\n        cat /proc/cpuinfo\n    - name: check distribution info\n      shell: bash\n      run: |\n        cat /proc/version\n    - name: Display EC2 information\n      shell: bash\n      run: |\n        set -euo pipefail\n        function get_ec2_metadata() {\n          # Pulled from instance metadata endpoint for EC2\n          # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html\n          category=$1\n          curl -fsSL \"http://169.254.169.254/latest/meta-data/${category}\"\n        }\n        echo \"ami-id: $(get_ec2_metadata ami-id)\"\n        echo \"instance-id: $(get_ec2_metadata instance-id)\"\n        echo \"instance-type: $(get_ec2_metadata instance-type)\"\n    - name: check gpu info\n      shell: bash\n      run: |\n        sudo yum install lshw -y\n        sudo lshw -C display\n    # Checkout the repository to the GitHub Actions runner\n    - name: Checkout\n      uses: actions/checkout@v2\n    - name: Update pip\n      run: |\n        sudo yum update -y\n        sudo yum -y install git python3-pip\n        sudo pip3 install --upgrade pip\n    - name: Setup conda\n      run: |\n        wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh\n        bash ~/miniconda.sh -b -p $HOME/miniconda\n    - name: setup Path\n      run: |\n        echo \"/home/ec2-user/miniconda/bin\" >> $GITHUB_PATH\n        echo \"CONDA=/home/ec2-user/miniconda\" >> $GITHUB_PATH\n    - name: create conda env\n      run: |\n        conda create --name build_binary python=${{ matrix.python-version }}\n        conda info\n    - name: check python version no Conda\n      run: |\n        python --version\n    - name: check python version\n      run: |\n        conda run -n build_binary python --version\n    - name: Install C/C++ compilers\n      run: |\n        sudo yum install -y gcc gcc-c++\n    - name: Install PyTorch and CUDA\n      shell: bash\n      run: |\n        conda run -n build_binary pip install torch --index-url https://download.pytorch.org/whl/test/cu121\n    # download wheel from GHA\n    - name: Install fbgemm\n      shell: bash\n      run: |\n        conda run -n build_binary pip install numpy\n        conda run -n build_binary pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/test/cu121\n    - name: Install torchmetrics\n      shell: bash\n      run: |\n        conda run -n build_binary pip install torchmetrics==1.0.3\n    - name: Download wheel\n      uses: actions/download-artifact@v2\n      with:\n        name: torchrec_${{ matrix.python-version }}_${{ matrix.cuda-tag }}.whl\n    - name: Display structure of downloaded files\n      run: ls -R\n    - name: Install TorchRec\n      run: |\n        rm -r dist || true\n        conda run -n build_binary python -m pip install *.whl\n    - name: Test fbgemm_gpu and torchrec installation\n      shell: bash\n      run: |\n        conda run -n build_binary \\\n          python -c \"import fbgemm_gpu\"\n        conda run -n build_binary \\\n          python -c \"import torchrec\"\n    # Push to Pypi\n    - name: Push TorchRec Binary to PYPI\n      env:\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n      run: |\n        conda run -n build_binary python -m pip install twine\n        conda run -n build_binary \\\n          python -m twine upload \\\n            --username __token__ \\\n            --password \"$PYPI_TOKEN\" \\\n            --skip-existing \\\n            torchrec-*.whl\n", "state": "active", "repository": "pytorch/torchrec"}
{"mined_at": "2024-07-15T17:05:38.692431", "created_at": "2022-02-23T18:20:48+01:00", "updated_at": "2022-02-23T18:20:48+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pytorch/torchrec"}
{"mined_at": "2024-07-15T17:05:39.820798", "created_at": "2022-03-24T11:20:32+01:00", "updated_at": "2024-04-10T20:45:43+02:00", "name": "CPU Unit Test CI", "path": ".github/workflows/unittest_ci_cpu.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CPU Unit Test CI\n\non:\n  push:\n    paths-ignore:\n      - \"docs/*\"\n      - \"third_party/*\"\n      - .gitignore\n      - \"*.md\"\n  pull_request:\n    paths-ignore:\n      - \"docs/*\"\n      - \"third_party/*\"\n      - .gitignore\n      - \"*.md\"\n\njobs:\n  build_test:\n    strategy:\n        fail-fast: false\n        matrix:\n          include:\n            - os: linux.2xlarge\n              python-version: 3.8\n              python-tag: \"py38\"\n            - os: linux.2xlarge\n              python-version: 3.9\n              python-tag: \"py39\"\n            - os: linux.2xlarge\n              python-version: '3.10'\n              python-tag: \"py310\"\n            - os: linux.2xlarge\n              python-version: '3.11'\n              python-tag: \"py311\"\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: ${{ matrix.os }}\n      timeout: 15\n      script: |\n        ldd --version\n        conda create -y --name build_binary python=${{ matrix.python-version }}\n        conda info\n        python --version\n        conda run -n build_binary python --version\n        conda install -n build_binary \\\n          --yes \\\n          pytorch cpuonly -c pytorch-nightly\n        conda run -n build_binary \\\n          python -c \"import torch.distributed\"\n        conda run -n build_binary \\\n          pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/nightly/cpu\n        conda run -n build_binary \\\n          python -c \"import fbgemm_gpu\"\n        echo \"fbgemm_gpu succeeded\"\n        conda run -n build_binary \\\n          pip install -r requirements.txt\n        conda run -n build_binary \\\n          python setup.py bdist_wheel \\\n          --python-tag=${{ matrix.python-tag }}\n        conda run -n build_binary \\\n          python -c \"import torchrec\"\n        echo \"torch.distributed succeeded\"\n        conda run -n build_binary \\\n          python -c \"import numpy\"\n        echo \"numpy succeeded\"\n        conda install -n build_binary -y pytest\n        conda run -n build_binary \\\n          python -m pytest torchrec -v -s -W ignore::pytest.PytestCollectionWarning --continue-on-collection-errors \\\n          --ignore-glob=**/test_utils/\n        echo \"Starting C++ Tests\"\n        conda install -n build_binary -y gxx_linux-64\n        conda run -n build_binary \\\n          x86_64-conda-linux-gnu-g++ --version\n        conda install -n build_binary -c anaconda redis -y\n        conda run -n build_binary redis-server --daemonize yes\n        mkdir cpp-build\n        cd cpp-build\n        conda run -n build_binary cmake \\\n            -DBUILD_TEST=ON \\\n            -DBUILD_REDIS_IO=ON \\\n            -DCMAKE_PREFIX_PATH=/opt/conda/envs/build_binary/lib/python${{ matrix.python-version }}/site-packages/torch/share/cmake ..\n        conda run -n build_binary make -j\n        conda run -n build_binary ctest -v .\n", "state": "active", "repository": "pytorch/torchrec"}
{"mined_at": "2024-07-15T17:05:40.833235", "created_at": "2022-08-11T04:55:29+02:00", "updated_at": "2023-10-07T02:39:50+02:00", "name": "Build Dynamic Embedding Wheels", "path": ".github/workflows/build_dynamic_embedding_wheels.yml", "contents": "name: Build Dynamic Embedding Wheels\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n  release:\n    types:\n      - published\n\njobs:\n  build_wheels:\n    name: Wheels on ${{ matrix.os }}/${{ matrix.pyver }}/cu${{ matrix.cuver }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest ]\n        pyver: [ cp38, cp39, cp310 ]\n        cuver: [ \"11.8\" ]\n\n    steps:\n      -\n        name: Check disk space\n        run: df . -h\n\n      - name: Remove unnecessary files\n        run: |\n          sudo rm -rf /usr/share/dotnet\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n\n      -\n        name: Check disk space\n        run: df . -h\n\n      - uses: actions/checkout@v3\n        with:\n          submodules: recursive\n\n      - uses: pypa/cibuildwheel@v2.8.0\n        with:\n          package-dir: contrib/dynamic_embedding\n        env:\n          CIBW_BEFORE_BUILD: \"env CUDA_VERSION=${{ matrix.cuver }} contrib/dynamic_embedding/tools/before_linux_build.sh\"\n          CIBW_BUILD: \"${{ matrix.pyver }}-manylinux_x86_64\"\n          CIBW_REPAIR_WHEEL_COMMAND: \"env CUDA_VERSION=${{ matrix.cuver }} contrib/dynamic_embedding/tools/repair_wheel.sh {wheel} {dest_dir}\"\n\n      - name: Verify clean directory\n        run: git diff --exit-code\n        shell: bash\n\n      - name: Upload wheels\n        uses: actions/upload-artifact@v3\n        with:\n          path: wheelhouse/*.whl\n", "state": "active", "repository": "pytorch/torchrec"}
{"mined_at": "2024-07-15T17:05:42.051387", "created_at": "2022-11-29T23:15:17+01:00", "updated_at": "2023-09-02T00:40:30+02:00", "name": "Build Linux Wheels", "path": ".github/workflows/build-wheels-linux.yml", "contents": "name: Build Linux Wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n      # Release candidate tags look like: v1.11.0-rc1\n      - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: linux\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      with-rocm: false\n  filter-matrix:\n    needs: generate-matrix\n    runs-on: linux.2xlarge\n    outputs:\n      matrix: ${{ steps.filter.outputs.matrix }}\n    steps:\n    - uses: actions/setup-python@v4\n    - name: Checkout torchrec repository\n      uses: actions/checkout@v3\n      with:\n        repository: pytorch/torchrec\n    - name: Filter Generated Built Matrix\n      id: filter\n      env:\n        MAT: ${{ needs.generate-matrix.outputs.matrix }}\n      run: |\n        set -ex\n        pwd\n        ls\n        MATRIX_BLOB=\"$(python .github/scripts/filter.py)\"\n        echo \"${MATRIX_BLOB}\"\n        echo \"matrix=${MATRIX_BLOB}\" >> \"${GITHUB_OUTPUT}\"\n  build:\n    needs: filter-matrix\n    name: pytorch/torchrec\n    uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main\n    with:\n      repository: pytorch/torchrec\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.filter-matrix.outputs.matrix }}\n      pre-script: \"\"\n      post-script: .github/scripts/install_fbgemm.sh\n      package-name: torchrec\n      smoke-test-script: \"\"\n      trigger-event: ${{ github.event_name }}\n", "state": "active", "repository": "pytorch/torchrec"}
{"mined_at": "2024-07-15T17:05:43.096647", "created_at": "2022-12-21T18:37:28+01:00", "updated_at": "2023-01-27T20:58:46+01:00", "name": "validate-nightly-binaries", "path": ".github/workflows/validate-nightly-binaries.yml", "contents": "# Scheduled validation of the nightly binaries\nname: validate-nightly-binaries\n\non:\n  schedule:\n    # At 5:30 pm UTC (7:30 am PDT)\n    - cron: \"30 17 * * *\"\n  # Have the ability to trigger this job manually through the API\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - .github/workflows/validate-nightly-binaries.yml\n      - .github/workflows/validate-binaries.yml\n      - .github/scripts/validate-binaries.sh\n  pull_request:\n    paths:\n      - .github/workflows/validate-nightly-binaries.yml\n      - .github/workflows/validate-binaries.yml\n      - .github/scripts/validate-binaries.sh\njobs:\n  nightly:\n    uses: ./.github/workflows/validate-binaries.yml\n    with:\n      channel: nightly\n", "state": "active", "repository": "pytorch/torchrec"}
{"mined_at": "2024-07-15T17:05:44.141396", "created_at": "2022-12-23T20:30:41+01:00", "updated_at": "2022-12-23T20:30:41+01:00", "name": "Validate binaries", "path": ".github/workflows/validate-binaries.yml", "contents": "name: Validate binaries\n\non:\n  workflow_call:\n    inputs:\n      channel:\n        description: \"Channel to use (nightly, release)\"\n        required: false\n        type: string\n        default: release\n      ref:\n        description: 'Reference to checkout, defaults to empty'\n        default: \"\"\n        required: false\n        type: string\n  workflow_dispatch:\n    inputs:\n      channel:\n        description: \"Channel to use (nightly, release, test)\"\n        required: true\n        type: choice\n        options:\n          - release\n          - nightly\n          - test\n      ref:\n        description: 'Reference to checkout, defaults to empty'\n        default: \"\"\n        required: false\n        type: string\n\njobs:\n  validate-binaries:\n    uses: pytorch/test-infra/.github/workflows/validate-domain-library.yml@main\n    with:\n      package_type: \"wheel\"\n      os: \"linux\"\n      channel: ${{ inputs.channel }}\n      repository: \"pytorch/torchrec\"\n      smoke_test: \"source ./.github/scripts/validate_binaries.sh\"\n      with_cuda: enable\n", "state": "active", "repository": "pytorch/torchrec"}
{"mined_at": "2024-07-15T17:05:45.335363", "created_at": "2023-01-31T08:02:01+01:00", "updated_at": "2023-02-02T04:06:29+01:00", "name": "Pyre Check", "path": ".github/workflows/pyre.yml", "contents": "name: Pyre Check\n\non:\n  push:\n    branches: [main]\n  pull_request:\n\njobs:\n  pyre-check:\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash -el {0}\n    steps:\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: 3.8\n      - name: Checkout Torchrec\n        uses: actions/checkout@v2\n      - name: Install dependencies\n        run: >\n          conda install --yes pytorch cpuonly -c pytorch-nightly &&\n          pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/nightly/cpu &&\n          pip install -r requirements.txt &&\n          pip install pyre-check-nightly==$(cat .pyre_configuration | grep version | awk '{print $2}' | sed 's/\\\"//g')\n      - name: Pyre check\n        run: pyre check\n", "state": "active", "repository": "pytorch/torchrec"}
{"mined_at": "2024-07-15T17:05:47.474940", "created_at": "2021-11-17T06:55:11+01:00", "updated_at": "2023-11-17T17:39:59+01:00", "name": "Deployment", "path": ".github/workflows/deploy.yml", "contents": "# This code is part of Qiskit.\n#\n# (C) Copyright IBM 2021.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: Deployment\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  Deploy:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    strategy:\n      matrix:\n        python-version: [3.9]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install deps\n        run: pip install -U pip setuptools build\n      - name: Build sdist\n        run: python3 -m build\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./dist/*\n      - name: Deploy to Pypi\n        uses: pypa/gh-action-pypi-publish@release/v1", "state": "active", "repository": "qiskit/qiskit-ibm-runtime"}
{"mined_at": "2024-07-15T17:05:48.705408", "created_at": "2021-11-17T06:55:11+01:00", "updated_at": "2024-01-26T19:30:25+01:00", "name": "Docs Upload", "path": ".github/workflows/docs.yml", "contents": "---\nname: Docs Upload\non:\n  push:\n    tags:\n      - \"*\"\n  workflow_dispatch:\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9.12'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U virtualenv setuptools wheel tox\n        sudo apt-get install -y graphviz pandoc\n    - name: Build docs\n      run: tox -e docs\n    - name: Upload artifact\n      uses: actions/upload-artifact@v4\n      with:\n        name: html_docs\n        path: docs/_build/html\n", "state": "active", "repository": "qiskit/qiskit-ibm-runtime"}
{"mined_at": "2024-07-15T17:05:49.743718", "created_at": "2022-01-20T16:44:36+01:00", "updated_at": "2024-04-23T18:33:03+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "# This code is part of Qiskit.\n#\n# (C) Copyright IBM 2021.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: CI\non:\n  [ push, pull_request ]\n# save resources: cancel redundant workflow runs on the same branch when new commits are pushed\nconcurrency:\n  group: ci-${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  code-quality:\n    if: github.repository_owner == 'Qiskit'\n    name: Run code quality checks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -r requirements-dev.txt -e .\n      - name: Run black\n        run: make style\n      - name: Run lint\n        run: make lint\n      - name: Run mypy\n        run: make mypy\n  documentation:\n    if: github.repository_owner == 'Qiskit'\n    name: Build documentation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -U tox\n          pip install nbqa docutils\n          sudo apt install -y graphviz pandoc\n          pip install -e .\n\n          wget https://github.com/errata-ai/vale/releases/download/v2.23.0/vale_2.23.0_Linux_64-bit.tar.gz\n          mkdir $HOME/bin && tar -xf vale_2.23.0_Linux_64-bit.tar.gz -C $HOME/bin\n          echo \"$HOME/bin\" >> $GITHUB_PATH\n      - name: Lint documentation\n        run: |\n          make docs-test\n      - name: Build documentation\n        run: tox -edocs\n      - name: Upload documentation\n        uses: actions/upload-artifact@v4\n        with:\n          name: html_docs\n          path: docs/_build/html\n  unit-tests:\n    if: github.repository_owner == 'Qiskit'\n    # only kick-off test cases when basic code quality checks succeed\n    needs: [ \"code-quality\" , \"documentation\" ]\n    name: Run unit tests - python${{ matrix.python-version }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', '3.11', '3.12']\n        os: [ \"macos-latest\", \"ubuntu-latest\", \"windows-latest\" ]\n        exclude:\n          - os: \"macos-latest\"\n            python-version: 3.8\n          - os: \"macos-latest\"\n            python-version: 3.9\n    env:\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -r requirements-dev.txt -e .\n      - name: Run unit tests\n        run: make unit-test-coverage\n      - name: Report coverage to coveralls.io\n        uses: coverallsapp/github-action@v2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          flag-name: unit-tests_python${{ matrix.python-version }}-${{ matrix.os }}\n          parallel: true\n          file: coverage.lcov\n  integration-tests:\n    if: github.event_name == 'push' && github.repository_owner == 'Qiskit'\n    # only kick-off resource intensive integration tests if unit tests and all basic checks succeeded\n    needs: [ \"unit-tests\"  ]\n    name: Run integration tests - ${{ matrix.environment }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # avoid cancellation of in-progress jobs if any matrix job fails\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n        os: [ \"ubuntu-latest\" ]\n        environment: [ \"ibm-quantum-production\", \"ibm-cloud-production\" ]\n    environment: ${{ matrix.environment }}\n    env:\n      QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}\n      QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}\n      QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE }}\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -r requirements-dev.txt -e .\n      - name: Run integration tests\n        run: make integration-test\n  tests-finished:\n    if: github.repository_owner == 'Qiskit'\n    name: Submit code coverage metrics\n    needs: [ unit-tests ]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Notify coveralls.io that all parallel tests have finished\n        uses: coverallsapp/github-action@v2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          parallel-finished: true\n", "state": "active", "repository": "qiskit/qiskit-ibm-runtime"}
{"mined_at": "2024-07-15T17:05:50.848880", "created_at": "2022-01-28T21:50:58+01:00", "updated_at": "2022-01-31T17:30:44+01:00", "name": "Integration Tests", "path": ".github/workflows/integration-tests.yml", "contents": "# This code is part of Qiskit.\n#\n# (C) Copyright IBM 2021.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: Integration Tests\non:\n  schedule:\n    - cron: '0 4 * * *'\n  # allow everyone with write access to the repository to trigger the workflow run manually\n  workflow_dispatch:\njobs:\n  integration-tests:\n    if: github.repository_owner == 'Qiskit'\n    name: Run integration tests - ${{ matrix.environment }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # avoid cancellation of in-progress jobs if any matrix job fails\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n        os: [ \"ubuntu-latest\" ]\n        environment: [ \"ibm-quantum-production\", \"ibm-quantum-staging\", \"ibm-cloud-production\", \"ibm-cloud-staging\" ]\n    environment: ${{ matrix.environment }}\n    env:\n      QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}\n      QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}\n      QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE }}\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -r requirements-dev.txt -e .\n      - name: Run integration tests\n        run: make integration-test\n", "state": "active", "repository": "qiskit/qiskit-ibm-runtime"}
{"mined_at": "2024-07-15T17:05:52.017475", "created_at": "2022-02-09T14:56:01+01:00", "updated_at": "2023-05-08T18:18:49+02:00", "name": "E2E Tests", "path": ".github/workflows/e2e-tests.yml", "contents": "## This code is part of Qiskit.\n#\n# (C) Copyright IBM 2022.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: E2E Tests\non:\n  schedule:\n    - cron: '0 8 * * *'\n  # allow everyone with write access to the repository to trigger the workflow run manually\n  workflow_dispatch:\njobs:\n  e2e-tests:\n    if: github.repository_owner == 'Qiskit'\n    name: Run e2e tests - ${{ matrix.environment }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # avoid cancellation of in-progress jobs if any matrix job fails\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n        os: [ \"ubuntu-latest\" ]\n        environment: [ \"ibm-quantum-production\", \"ibm-quantum-staging\", \"ibm-cloud-production\", \"ibm-cloud-staging\" ]\n    environment: ${{ matrix.environment }}\n    env:\n      QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}\n      QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}\n      QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE }}\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -r requirements-dev.txt -e .\n      - name: Run e2e tests\n        run: make e2e-test\n", "state": "active", "repository": "qiskit/qiskit-ibm-runtime"}
{"mined_at": "2024-07-15T17:05:53.209535", "created_at": "2022-03-09T05:44:40+01:00", "updated_at": "2023-10-16T16:31:20+02:00", "name": "Unit Tests", "path": ".github/workflows/unit-tests-terra-main.yml", "contents": "# This code is part of Qiskit.\n#\n# (C) Copyright IBM 2022.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: Unit Tests\non:\n  schedule:\n    - cron: '0 5 * * *'\n  workflow_dispatch:\njobs:\n  unit-tests-latest-qiskit-terra:\n    if: github.repository_owner == 'Qiskit'\n    name: Run unit tests with latest code of Qiskit\n    runs-on: \"ubuntu-latest\"\n    env:\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          # Installing the complete environment should happen in one `pip install` step,\n          # or pip will generally allow broken combinations of packages to be installed.\n          pip install -c constraints.txt -r requirements-dev.txt -e . git+https://github.com/Qiskit/qiskit.git\n      - name: Run tests\n        # running unit tests against latest (non-released) code of qiskit-terra gives a basic level\n        # of confidence that the integration between qiskit-ibm-runtime and qiskit-terra works\n        run: make unit-test\n", "state": "active", "repository": "qiskit/qiskit-ibm-runtime"}
{"mined_at": "2024-07-15T17:05:54.438260", "created_at": "2023-12-20T18:01:01+01:00", "updated_at": "2023-12-20T18:01:01+01:00", "name": "Q-CTRL Tests", "path": ".github/workflows/q-ctrl-tests.yml", "contents": "# This code is part of Qiskit.\n#\n# (C) Copyright IBM 2023.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: Q-CTRL Tests\non:\n  schedule:\n    - cron: '0 1 * * *'\n  push:\n      tags:\n        - \"*\"\n  workflow_dispatch:\njobs:\n  integration-tests:\n    name: Run integration tests - ${{ matrix.environment }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # avoid cancellation of in-progress jobs if any matrix job fails\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n        os: [ \"ubuntu-latest\" ]\n        environment: [ \"ibm-cloud-staging\" ]\n    environment: ${{ matrix.environment }}\n    env:\n      QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN_QCTRL }}\n      QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}\n      QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE_QCTRL }}\n      CHANNEL_STRATEGY: q-ctrl\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -r requirements-dev.txt -e .\n      - name: Run q-ctrl tests\n        run: python -m unittest test/qctrl/test_qctrl.py\n", "state": "active", "repository": "qiskit/qiskit-ibm-runtime"}
{"mined_at": "2024-07-15T17:05:55.501025", "created_at": "2024-02-05T22:10:48+01:00", "updated_at": "2024-02-05T22:34:14+01:00", "name": "Integration Tests (Qiskit Main)", "path": ".github/workflows/integration-tests-qiskit-main.yml", "contents": "# This code is part of Qiskit.\n#\n# (C) Copyright IBM 2024.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: Integration Tests (Qiskit Main)\non:\n  schedule:\n    # run integration tests against Qiskit main once a week\n    - cron: '0 0 * * 0'\n  workflow_dispatch:\njobs:\n  integration-tests:\n    if: github.repository_owner == 'Qiskit'\n    name: Run integration tests - ${{ matrix.environment }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # avoid cancellation of in-progress jobs if any matrix job fails\n      fail-fast: false\n      matrix:\n        python-version: [ 3.9 ]\n        os: [ \"ubuntu-latest\" ]\n        environment: [ \"ibm-quantum-production\", \"ibm-quantum-staging\", \"ibm-cloud-production\", \"ibm-cloud-staging\" ]\n    environment: ${{ matrix.environment }}\n    env:\n      QISKIT_IBM_TOKEN: ${{ secrets.QISKIT_IBM_TOKEN }}\n      QISKIT_IBM_URL: ${{ secrets.QISKIT_IBM_URL }}\n      QISKIT_IBM_INSTANCE: ${{ secrets.QISKIT_IBM_INSTANCE }}\n      LOG_LEVEL: DEBUG\n      STREAM_LOG: True\n      QISKIT_IN_PARALLEL: True\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -r requirements-dev.txt -e . git+https://github.com/Qiskit/qiskit.git\n      - name: Run integration tests\n        run: make integration-test\n", "state": "active", "repository": "qiskit/qiskit-ibm-runtime"}
{"mined_at": "2024-07-15T17:05:56.489711", "created_at": "2024-02-23T14:06:04+01:00", "updated_at": "2024-02-23T14:06:04+01:00", "name": "Qiskit Neko Integration Tests", "path": ".github/workflows/neko.yml", "contents": null, "state": "active", "repository": "qiskit/qiskit-ibm-runtime"}
{"mined_at": "2024-07-15T17:05:59.865754", "created_at": "2021-12-06T13:07:38+01:00", "updated_at": "2021-12-15T10:38:35+01:00", "name": "CI Skill Manager", "path": ".github/workflows/ci-skill-manager.yml", "contents": "name: \"CI Skill Manager\"\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - \"skill-manager/**\"\n      - \".github/**\"\n  pull_request:\n    branches: [ master ]\n    paths:\n      - \"skill-manager/**\"\n      - \".github/**\"\n  workflow_dispatch:\n\njobs:\n  skill-manager:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n        with:\n          install: true\n\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-skill-manager-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-skill-manager-\n            ${{ runner.os }}-buildx-\n        \n      - name: Build test image\n        uses: docker/build-push-action@v2\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          context: ./skill-manager\n          target: test\n          load: True\n          push: False\n          tags: skill-manager:${{ github.sha }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new\n      \n      - name: Run test image\n        uses: addnab/docker-run-action@v3\n        with:\n          image: skill-manager:${{ github.sha }}\n          options: -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}/skill-manager/test-reports:/app/test-reports\n          run: |\n            python -m pytest --junitxml=test-reports/junit.xml --cov --cov-report=xml:test-reports/coverage.xml --cov-report=html:test-reports/coverage.html\n\n      - uses: actions/upload-artifact@v2\n        with:\n          name: skill-manager-test-reports\n          path: ${{ github.workspace }}/skill-manager/test-reports\n\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n", "state": "active", "repository": "ukp-square/square-core"}
{"mined_at": "2024-07-15T17:06:01.014887", "created_at": "2022-10-06T15:27:42+02:00", "updated_at": "2023-02-01T18:54:16+01:00", "name": "CI Model Manager", "path": ".github/workflows/ci-model-manager.yml", "contents": "name: \"CI Model Manager\"\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - \"model-manager/**\"\n      - \".github/**\"\n  pull_request:\n    branches: [ master ]\n    paths:\n      - \"model-manager/**\"\n      - \".github/**\"\n  workflow_dispatch:\n\njobs:\n  model-management:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Prepare\n        id: prep\n        run: |\n          TAG=$(echo $GITHUB_SHA | head -c7)\n          IMAGE=\"ukpsquare/model-manager\"\n          echo \"image=${IMAGE}\" >> $GITHUB_OUTPUT\n          echo \"tag=${TAG}\" >> $GITHUB_OUTPUT\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n        with:\n          install: true\n\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-model_api-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-model_api-\n            ${{ runner.os }}-buildx-\n\n      - name: Build test image\n        uses: docker/build-push-action@v3\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          context: ./model-manager\n          target: test\n          load: true\n          tags: ${{ steps.prep.outputs.image }}:${{ steps.prep.outputs.tag }}-test\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new\n\n        # Temp fix\n        # https://github.com/docker/build-push-action/issues/252\n        # https://github.com/moby/buildkit/issues/1896\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n\n      - name: Retrieve Test Reports\n        id: extract\n        uses: shrink/actions-docker-extract@v1\n        with:\n          image: ${{ steps.prep.outputs.image }}:${{ steps.prep.outputs.tag }}-test\n          path: /app/test-reports\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: model_api-test-reports\n          path: ${{ steps.extract.outputs.destination }}/test-reports\n\n      - name: Publish Test Report\n        uses: mikepenz/action-junit-report@v3\n        with:\n          report_paths: ${{ steps.extract.outputs.destination }}/test-reports/junit.xml\n          check_name: Model API Test Report\n          fail_on_failure: true\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Build deployable image\n        uses: docker/build-push-action@v3\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          context: ./model-manager\n          target: build\n          push: ${{github.ref == 'refs/heads/master'}}\n          tags: ${{ steps.prep.outputs.image }}:${{ steps.prep.outputs.tag }}, ${{ steps.prep.outputs.image }}:latest\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new\n\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n", "state": "active", "repository": "ukp-square/square-core"}
{"mined_at": "2024-07-15T17:06:02.178678", "created_at": "2022-11-21T11:43:49+01:00", "updated_at": "2022-11-21T18:11:34+01:00", "name": "CI Model", "path": ".github/workflows/ci-model.yml", "contents": "name: \"CI Model\"\n\non:\n  push:\n    branches: [ master, model-api-v3 ]\n    paths:\n      - \"model-inference/**\"\n      - \".github/**\"\n  pull_request:\n    branches: [ master ]\n    paths:\n      - \"model-inference/**\"\n      - \".github/**\"\n  workflow_dispatch:\n\njobs:\n\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        model_type: [\n          \"transformer\",\n          \"graph_transformer\",\n          \"sentence_transformer\",\n           \"onnx\",\n        ]\n        include:\n          - model_type: transformer\n            test_dir: transformer\n            test_setup: transformer\n            image_suffix: transformer\n          - model_type: graph_transformer\n            test_dir: transformer\n            test_setup: transformer\n            image_suffix: graph-transformer\n          - model_type: sentence_transformer\n            test_dir: sentence_transformer\n            test_setup: sentence_transformer\n            image_suffix: sentence-transformer\n          - model_type: onnx\n            test_dir: onnx\n            test_setup: onnx\n            image_suffix: onnx\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Delete huge unnecessary tools folder\n        run: rm -rf /opt/hostedtoolcache\n\n      - name: Prepare\n        id: transformer-prep\n        run: |\n          TAG=$(echo $GITHUB_SHA | head -c7)\n          echo $TAG\n          echo \"tag=${TAG}\" >> $GITHUB_OUTPUT\n      \n          IMAGE=\"ukpsquare/model-inference-${{ matrix.image_suffix }}\"\n          echo $IMAGE\n          echo \"image=${IMAGE}\" >> $GITHUB_OUTPUT\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n        with:\n          install: true\n\n      - name: Build test image\n        uses: docker/build-push-action@v3\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          context: ./model-inference\n          file: ./model-inference/Dockerfile\n          target: test\n          build-args: |\n            MODEL_TYPE=${{ matrix.model_type }}\n            TEST_DIR=${{ matrix.test_dir }}\n            TEST_SETUP=${{ matrix.test_setup }}\n          load: true\n          push: false\n          tags: ${{ steps.transformer-prep.outputs.image }}:ci-${{ steps.transformer-prep.outputs.tag }}\n\n      - name: Retrieve Test Reports\n        id: transformer-extract\n        uses: shrink/actions-docker-extract@v1\n        with:\n          image: ${{ steps.transformer-prep.outputs.image }}:ci-${{ steps.transformer-prep.outputs.tag }}\n          path: /app/test-reports\n\n      - name: Upload Test Reports\n        uses: actions/upload-artifact@v3\n        with:\n          name: model_api-test-reports\n          path: ${{ steps.transformer-extract.outputs.destination }}/test-reports\n\n      - name: Publish Test Report\n        uses: mikepenz/action-junit-report@v3\n        with:\n          report_paths: ${{ steps.transformer-extract.outputs.destination }}/test-reports/junit.xml\n          check_name: Transformers Test Report\n          fail_on_failure: true", "state": "active", "repository": "ukp-square/square-core"}
{"mined_at": "2024-07-15T17:06:03.449334", "created_at": "2022-11-21T11:43:49+01:00", "updated_at": "2022-11-21T18:11:34+01:00", "name": "CI Datastore", "path": ".github/workflows/ci-datastore.yml", "contents": "name: \"CI Datastore\"\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - \"datastore-api/**\"\n      - \".github/**\"\n  pull_request:\n    branches: [ master ]\n    paths:\n      - \"datastore-api/**\"\n      - \".github/**\"\n  workflow_dispatch:\n\njobs:\n  datastore-api:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n        with:\n          install: true\n\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-datastore-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-datastore-\n            ${{ runner.os }}-buildx-\n\n      - name: Build test image\n        uses: docker/build-push-action@v2\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          context: ./datastore-api\n          target: test\n          load: true\n          tags: datastore:${{ github.sha }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new\n\n      - name: Run test image\n        uses: addnab/docker-run-action@v3\n        with:\n          image: datastore:${{ github.sha }}\n          options: -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}/datastore-api/test-reports:/app/test-reports\n          run: |\n            PYTHONPATH=\".\" MOCK_DEPENDENCIES=1 pytest --junitxml=test-reports/junit.xml --cov --cov-report=xml:test-reports/coverage.xml --cov-report=html:test-reports/coverage.html ./tests\n\n      - uses: actions/upload-artifact@v2\n        with:\n          name: datastore_api-test-reports\n          path: ${{ steps.extract.outputs.destination }}/test-reports\n\n      - name: Publish Test Report\n        uses: mikepenz/action-junit-report@v2\n        with:\n          # report_paths: ${{ steps.extract.outputs.destination }}/test-reports/junit.xml\n          report_paths: ${{ github.workspace }}/datastore-api/test-reports/junit.xml\n          check_name: Datastore API Test Report\n          fail_on_failure: true\n\n      #  Temp fix\n      # https://github.com/docker/build-push-action/issues/252\n      # https://github.com/moby/buildkit/issues/1896\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n", "state": "active", "repository": "ukp-square/square-core"}
{"mined_at": "2024-07-15T17:06:04.585917", "created_at": "2022-11-22T17:40:06+01:00", "updated_at": "2022-11-23T10:00:17+01:00", "name": "Build and Deploy", "path": ".github/workflows/build-and-deploy.yml", "contents": "name: Build and Deploy\n\non:\n  push:\n    branches: [ master, cicd ]\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: 'Environment to deploy to'\n        required: true\n        default: 'test'\n        type: choice\n        options:\n          - 'test'\n          - 'production'\n      branch:\n        description: 'Branch to deploy'\n        required: true\n        default: 'master'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    outputs:\n      tag: ${{ steps.image_tag.outputs.tag }}\n    strategy:\n      matrix:\n        service: [\n          \"datastore\",\n          \"docs\",\n          \"frontend\",\n          \"model-manager\",\n          \"model-inference-transformer\",\n          \"model-inference-onnx\",\n          \"model-inference-sentence-transformer\",\n          \"model-inference-graph-transformer\",\n          \"skill-manager\",\n          \"skill-boolq\",\n          \"skill-commonsense-qa\",\n          \"skill-extractive-qa\",\n          \"skill-generative-qa\",\n          \"skill-information-retrieval\",\n          \"skill-multiple-choice-qa\",\n          \"skill-open-extractive-qa\",\n          \"skill-qa-gnn\",\n          \"skill-tweac\",\n          \"skill-metaqa\",\n          \"skill-extractive-metaqa\",\n          \"skill-multiple-choice-metaqa\",\n          \"skill-kgqa-kqapro\",\n          \"evaluator\",\n          \"sensitivity\",\n          \"replicate\",\n        ]\n        include:\n          - build-args: \"\"\n          - service: datastore\n            context: ./datastore-api\n          - service: docs\n            context: ./docs\n          - service: frontend\n            context: ./frontend\n            build-args: \"mode=${{ github.event.inputs.environment || 'test' }}\"\n          - service: model-manager\n            context: ./model-manager\n          - service: model-inference-transformer\n            context: ./model-inference\n            build-args: \"MODEL_TYPE=transformer\"\n          - service: model-inference-onnx\n            context: ./model-inference\n            build-args: \"MODEL_TYPE=onnx\"\n          - service: model-inference-sentence-transformer\n            context: ./model-inference\n            build-args: \"MODEL_TYPE=sentence_transformer\"\n          - service: model-inference-graph-transformer\n            context: ./model-inference\n            build-args: \"MODEL_TYPE=graph_transformer\"\n          - service: skill-manager\n            context: ./skill-manager\n          - service: skill-boolq\n            context: ./skills\n            build-args: \"skill=boolq\"\n          - service: skill-commonsense-qa\n            context: ./skills\n            build-args: \"skill=commonsense-qa\"\n          - service: skill-extractive-qa\n            context: ./skills\n            build-args: \"skill=extractive-qa\"\n          - service: skill-generative-qa\n            context: ./skills\n            build-args: \"skill=generative-qa\"\n          - service: skill-information-retrieval\n            context: ./skills\n            build-args: \"skill=information-retrieval\"\n          - service: skill-multiple-choice-qa\n            context: ./skills\n            build-args: \"skill=multiple-choice-qa\"\n          - service: skill-open-extractive-qa\n            context: ./skills\n            build-args: \"skill=open-extractive-qa\"\n          - service: skill-qa-gnn\n            context: ./skills\n            build-args: \"skill=qa-gnn\"\n          - service: skill-tweac\n            context: ./skills\n            build-args: \"skill=tweac\"\n          - service: skill-extractive-metaqa\n            context: ./skills\n            build-args: \"skill=extractive-metaqa\"\n          - service: skill-multiple-choice-metaqa\n            context: ./skills\n            build-args: \"skill=multiple-choice-metaqa\"\n          - service: skill-metaqa\n            context: ./skills\n            build-args: \"skill=metaqa\"\n          - service: \"skill-kgqa-kqapro\"\n            context: ./skills\n            build-args: \"skill=kgqa-kqapro\"\n          - service: evaluator\n            context: ./evaluator\n          - service: sensitivity\n            context: ./sensitivity\n          - service: replicate\n            context: ./replicate\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      \n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n        with:\n          install: true\n\n      - name: Cache Docker layers\n        uses: actions/cache@v3\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ matrix.service }}-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-${{ matrix.service }}-\n            ${{ runner.os }}-buildx-\n\n      - name: Set Image Tag\n        id: image_tag\n        run: |\n          SHORT_SHA=$(git rev-parse --short ${{ github.sha }})\n          echo $SHORT_SHA\n          TAG=\"${{ github.event.inputs.environment || 'build' }}-$SHORT_SHA\"\n          echo $TAG\n          echo \"tag=$TAG\" >> $GITHUB_OUTPUT\n\n      - name: Add latest tag if deploying to prod\n        uses: haya14busa/action-cond@v1\n        id: latest_tag_str\n        with:\n          cond: ${{ github.event.inputs.environment == 'production' }}\n          if_true: \"ukpsquare/${{matrix.service}}:latest\"\n          if_false: \"\"\n\n      - name: Build deployable image\n        uses: docker/build-push-action@v3\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          context: ${{ matrix.context }}\n          file: ${{ matrix.file }}\n          target: build\n          build-args: ${{ matrix.build-args }}\n          push: ${{ github.event.inputs.environment == 'production' || github.event.inputs.environment == 'test' }}\n          tags: |\n            ukpsquare/${{ matrix.service }}:${{ steps.image_tag.outputs.tag }}\n            ${{ steps.latest_tag_str.outputs.value }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new\n\n      #  Temp fix\n      # https://github.com/docker/build-push-action/issues/252\n      # https://github.com/moby/buildkit/issues/1896\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n  deploy:\n    needs: build\n    if: github.event_name == 'workflow_dispatch'\n    runs-on: ubuntu-latest\n    environment: ${{ github.event.inputs.environment }}\n    steps:\n      - name: Trigger Deployment on ${{ github.event.inputs.environment }}\n        uses: distributhor/workflow-webhook@v2\n        env:\n          webhook_url: ${{ secrets.WEBHOOK_URL }}\n          webhook_secret: ${{ secrets.WEBHOOK_SECRET }}\n          data: '{\"environment\": \"${{ github.event.inputs.environment }}\", \"branch\": \"${{ github.event.inputs.branch }}\", \"tag\": \"${{ needs.build.outputs.tag }}\"}'\n          verify_ssl: false\n", "state": "active", "repository": "ukp-square/square-core"}
{"mined_at": "2024-07-15T17:06:05.687507", "created_at": "2022-12-01T11:43:40+01:00", "updated_at": "2022-12-05T13:34:34+01:00", "name": "CI Evaluator", "path": ".github/workflows/ci-evaluator.yml", "contents": "name: \"CI Evaluator\"\n\non:\n  push:\n    branches: [ master ]\n    paths:\n      - \"evaluator/**\"\n      - \".github/**\"\n  pull_request:\n    branches: [ master ]\n    paths:\n      - \"evaluator/**\"\n      - \".github/**\"\n  workflow_dispatch:\n\njobs:\n  evaluator:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n        with:\n          install: true\n\n      - name: Cache Docker layers\n        uses: actions/cache@v2\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-evaluator-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-evaluator-\n            ${{ runner.os }}-buildx-\n        \n      - name: Build test image\n        uses: docker/build-push-action@v2\n        with:\n          builder: ${{ steps.buildx.outputs.name }}\n          context: ./evaluator\n          target: test\n          load: True\n          push: False\n          tags: evaluator:${{ github.sha }}\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new\n      \n      - name: Run test image\n        uses: addnab/docker-run-action@v3\n        with:\n          image: evaluator:${{ github.sha }}\n          options: -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}/evaluator/test-reports:/app/test-reports\n          run: |\n            python -m pytest --junitxml=test-reports/junit.xml --cov --cov-report=xml:test-reports/coverage.xml --cov-report=html:test-reports/coverage.html\n\n      - uses: actions/upload-artifact@v2\n        with:\n          name: evaluator-test-reports\n          path: ${{ github.workspace }}/evaluator/test-reports\n\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n", "state": "active", "repository": "ukp-square/square-core"}
{"mined_at": "2024-07-15T17:06:06.829345", "created_at": "2023-02-09T08:57:56+01:00", "updated_at": "2023-02-09T08:58:32+01:00", "name": "Element", "path": ".github/workflows/element.yml", "contents": "name: Element\n\non: [deployment, workflow_dispatch]\n\njobs:\n  send-message:\n    runs-on: ubuntu-latest\n    name: Send message via Matrix\n    steps:\n      - name: Echo event\n        run: |\n          echo ${{ github.event_name }}\n          echo ${{ github.event.action }}\n\n      - name: Set Deployment Message (workflow_dispatch)\n        if: github.event_name == 'workflow_dispatch'\n        run: |\n          echo \"MSG=This is a test message from github.\" >> $GITHUB_ENV\n\n      - name: Set Deployment Message (deployment)\n        if: github.event_name == 'deployment'\n        run: |\n          BRANCH=${{ github.event.deployment.ref }}\n          SHA=${{ github.event.deployment.sha }}\n          USER=${{ github.event.deployment.creator.login }}\n          ENVIRONMENT=${{ github.event.deployment.environment }}\n          TIMESTAMP=${{ github.event.deployment.created_at }}\n          TIMESTAMP=$(date -d \"$TIMESTAMP\" \"+%Y-%m-%d %H:%M:%S\")\n          MSG=\"Deployment of branch [$BRANCH](https://github.com/ukp-square/square-core/tree/$BRANCH) with commit [$SHA](https://github.com/UKP-SQuARE/square-core/commit/$SHA) to **$ENVIRONMENT** by [$USER](https://github.com/$USER) at $TIMESTAMP.\"\n          echo \"MSG=$MSG\" >>$GITHUB_ENV\n\n      - name: Send message to square-github channel\n        id: matrix-chat-message\n        uses: fadenb/matrix-chat-message@v0.0.6\n        with:\n          homeserver: ${{ secrets.ELEMENT_HOME_SERVER }}\n          token: ${{ secrets.ELEMENT_ACCESS_TOKEN }}\n          channel: ${{ secrets.ELEMENT_ROOM_ID }}\n          message: ${{ env.MSG }}\n", "state": "active", "repository": "ukp-square/square-core"}
{"mined_at": "2024-07-15T17:06:09.301311", "created_at": "2022-11-17T15:45:33+01:00", "updated_at": "2023-04-04T17:43:34+02:00", "name": "Benchmark", "path": ".github/workflows/benchmark.yml", "contents": "name: Benchmark\n\non:\n  push:\n    branches: [main, \"[0-9]+.[0-9]+.x\"]\n  pull_request:\n    branches: [main]\n\njobs:\n  benchmark:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -el {0} # -e to fail on error, -l for mamba\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\"3.12\"]\n        os: [ubuntu-latest]\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python }}\n      ASV_DIR: \"./benchmarks\"\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - run: git fetch origin main:main\n        if: ${{ github.ref_name != 'main' }}\n        # Errors on main branch\n\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-name: asv\n          cache-environment: true\n          create-args: >-\n            python=3.11\n            asv\n            mamba\n            packaging\n\n      - name: Cache datasets\n        uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache\n          key: benchmark-state-${{ hashFiles('benchmarks/**') }}\n\n      - name: Quick benchmark run\n        working-directory: ${{ env.ASV_DIR }}\n        run: |\n          asv machine --yes\n          asv run --quick --show-stderr --verbose\n", "state": "active", "repository": "scverse/anndata"}
{"mined_at": "2024-07-15T17:06:10.677282", "created_at": "2023-07-21T13:04:46+02:00", "updated_at": "2023-07-21T13:04:46+02:00", "name": "AWS GPU", "path": ".github/workflows/build_gpu.yml", "contents": null, "state": "active", "repository": "scverse/anndata"}
{"mined_at": "2024-07-15T17:06:11.871082", "created_at": "2023-06-21T17:13:18+02:00", "updated_at": "2023-06-21T17:20:41+02:00", "name": "Pull Request Validation", "path": ".github/workflows/check-pr-milestoned.yml", "contents": "name: Pull Request Validation\n\non:\n  pull_request:\n    branches:\n      - main\n      - master\n    types:\n      # milestone changes\n      - milestoned\n      - demilestoned\n      # label changes for “no milestone”\n      - labeled\n      - unlabeled\n      # initial check\n      - opened\n      - edited\n      - reopened\n      # code change (e.g. this workflow)\n      - synchronize\n\nenv:\n  LABELS: ${{ join(github.event.pull_request.labels.*.name, '|') }}\n\njobs:\n  check-milestone:\n    name: \"Triage: Check Milestone\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check if merging isn’t blocked\n        if: contains(env.LABELS, 'DON’T MERGE')\n        run: exit 1\n      - name: Check if a milestone is necessary and exists\n        if: github.event.pull_request.milestone == null && contains(env.LABELS, 'no milestone') == false\n        run: exit 1\n", "state": "active", "repository": "scverse/anndata"}
{"mined_at": "2024-07-15T17:06:12.916636", "created_at": "2022-09-06T12:33:03+02:00", "updated_at": "2022-09-06T12:33:03+02:00", "name": "Close stale issues", "path": ".github/workflows/close-stale.yml", "contents": "name: \"Close stale issues\"\non:\n  schedule:\n    - cron: \"0 2 * * *\"\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v5\n        with:\n          days-before-issue-stale: -1 # We don't want to mark issues as stale in this action\n          days-before-issue-close: 14\n          days-before-pr-close: -1 # don't close PRs\n          days-before-pr-stale: -1 # don't mark PRs as stale\n          stale-issue-label: stale\n          any-of-labels: \"needs info\"\n          debug-only: true # enable dry-run, remove when we know from the logs it's working.\n", "state": "active", "repository": "scverse/anndata"}
{"mined_at": "2024-07-15T17:06:13.940301", "created_at": "2023-08-28T20:03:32+02:00", "updated_at": "2023-08-29T09:43:43+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "---\nname: Codespell\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\npermissions:\n  contents: read\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "scverse/anndata"}
{"mined_at": "2024-07-15T17:06:14.985390", "created_at": "2022-09-06T12:33:03+02:00", "updated_at": "2022-09-06T12:33:03+02:00", "name": "Label stale issues", "path": ".github/workflows/label-stale.yml", "contents": "name: \"Label stale issues\"\non:\n  schedule:\n    - cron: \"30 1 * * 1,2,3,4,5\"\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v5\n        with:\n          days-before-issue-stale: 60\n          days-before-pr-stale: -1 # We don't want to mark PRs as stale\n          days-before-close: -1 # We don't want to close issues in this action\n          stale-issue-label: stale\n          exempt-issue-labels: pinned,enhancement\n          stale-issue-message: |\n            This issue has been automatically marked as stale because it has not had recent activity.\n            Please add a comment if you want to keep the issue open. Thank you for your contributions!\n          debug-only: false # set to `true` to enable dry-run\n", "state": "active", "repository": "scverse/anndata"}
{"mined_at": "2024-07-15T17:06:16.059268", "created_at": "2021-04-06T07:54:11+02:00", "updated_at": "2022-08-30T15:24:15+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "scverse/anndata"}
{"mined_at": "2024-07-15T17:06:17.083810", "created_at": "2023-10-31T12:50:52+01:00", "updated_at": "2023-10-31T12:50:52+01:00", "name": "Publish Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Publish Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    environment: pypi\n    permissions:\n      id-token: write # to authenticate as Trusted Publisher to pypi.org\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n          cache: \"pip\"\n      - run: pip install build\n      - run: python -m build\n      - uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "scverse/anndata"}
{"mined_at": "2024-07-15T17:06:18.137572", "created_at": "2023-07-28T13:34:45+02:00", "updated_at": "2023-07-31T12:18:08+02:00", "name": "AWS GPU", "path": ".github/workflows/test-gpu.yml", "contents": "name: AWS GPU\n\non:\n  push:\n    branches: [main, \"[0-9]+.[0-9]+.x\"]\n  pull_request:\n    types:\n      - labeled\n      - opened\n      - synchronize\n\n# Cancel the job if new commits are pushed\n# https://stackoverflow.com/questions/66335225/how-to-cancel-previous-runs-in-the-pr-when-you-push-new-commitsupdate-the-curre\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\n# There are two jobs:\n# 1. `check` determines if the second job (`test`) will be run (through a job dependency).\n# 2. `test` runs on an AWS runner and executes the GPU tests.\njobs:\n  # If the `skip-gpu-ci` label is set, this job is skipped, and consequently the `test` job too.\n  # If the `run-gpu-ci` label is set or we reacted to a `push` event, this job succeeds (and `test` is run).\n  # If neither is set, this job fails, `test` is skipped, and the whole workflow fails.\n  check:\n    name: \"Triage: Check if GPU tests are allowed to run\"\n    if: (!contains(github.event.pull_request.labels.*.name, 'skip-gpu-ci'))\n    runs-on: ubuntu-latest\n    steps:\n      - uses: flying-sheep/check@v1\n        with:\n          success: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'run-gpu-ci') }}\n  # If `check` wasn’t skipped or failed, start an AWS runner and run the GPU tests on it.\n  test:\n    name: GPU Tests\n    needs: check\n    runs-on: \"cirun-aws-gpu--${{ github.run_id }}\"\n    # Setting a timeout of 30 minutes, as the AWS costs money\n    # At time of writing, a typical run takes about 5 minutes\n    timeout-minutes: 30\n\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Nvidia SMI sanity check\n        run: nvidia-smi\n\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          micromamba-version: \"1.5.6-0\"\n          environment-file: ci/gpu_ci.yml\n          post-cleanup: \"all\"\n\n      - name: Install AnnData\n        run: uv pip install -e .[dev,test,gpu]\n\n      - name: Env list\n        run: |\n          micromamba list\n          pip list\n\n      - name: Run test\n        run: pytest -m gpu --cov --cov-report=xml --cov-context=test -n 4\n\n      - uses: codecov/codecov-action@v3\n        with:\n          flags: gpu-tests\n", "state": "active", "repository": "scverse/anndata"}
{"mined_at": "2024-07-15T17:06:20.272276", "created_at": "2024-04-03T18:11:21+02:00", "updated_at": "2024-04-19T10:28:54+02:00", "name": "Benchmark", "path": ".github/workflows/benchmark.yml", "contents": "name: Benchmark\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  benchmark:\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -e {0} # -e to fail on error\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\"3.12\"]\n        os: [ubuntu-latest]\n\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python }}\n      ASV_DIR: \"./benchmarks\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          filter: blob:none\n\n      - name: Fetch main branch for `asv run`’s hash\n        run: git fetch origin main:main\n        if: ${{ github.ref_name != 'main' }}\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n\n      - name: Cache datasets\n        uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cache\n          key: benchmark-state-${{ hashFiles('benchmarks/**') }}\n\n      - name: Install dependencies\n        # TODO: revert once this PR is merged: https://github.com/airspeed-velocity/asv/pull/1397\n        run: pip install 'asv @ git+https://github.com/ivirshup/asv@fix-conda-usage'\n\n      - name: Configure ASV\n        working-directory: ${{ env.ASV_DIR }}\n        run: asv machine --yes\n\n      - name: Quick benchmark run\n        working-directory: ${{ env.ASV_DIR }}\n        run: asv run --dry-run --quick --show-stderr --verbose HEAD^!\n", "state": "active", "repository": "scverse/scanpy"}
{"mined_at": "2024-07-15T17:06:21.574233", "created_at": "2023-06-19T13:29:10+02:00", "updated_at": "2023-06-20T18:56:06+02:00", "name": "Pull Request Validation", "path": ".github/workflows/check-pr.yml", "contents": "name: Pull Request Validation\n\non:\n  pull_request:\n    branches:\n      - main\n    types:\n      # milestone changes\n      - milestoned\n      - demilestoned\n      # label changes for “no milestone”\n      - labeled\n      - unlabeled\n      # initial check\n      - opened\n      - edited\n      - reopened\n      # code change (e.g. this workflow)\n      - synchronize\n\njobs:\n  # This job verifies that the milestone is present or not necessary\n  # and determines if “check-relnotes” needs to be run.\n  check-milestone:\n    name: Check Milestone\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check if milestone or “no milestone” label is present\n        uses: flying-sheep/check@v1\n        with:\n          success: ${{ github.event.pull_request.milestone != null || contains(github.event.pull_request.labels.*.name, 'no milestone') }}\n      - name: Check if the “Release notes” checkbox is checked and filled\n        uses: kaisugi/action-regex-match@v1.0.0\n        id: checked-relnotes\n        with:\n          text: ${{ github.event.pull_request.body }}\n          regex: '^\\s*- \\[x\\] Release notes not necessary because:(.*)$'\n          flags: m\n    outputs:\n      no-relnotes-reason: ${{ steps.checked-relnotes.outputs.group1 }}\n  # This job verifies that the relevant release notes file has been modified.\n  check-relnotes:\n    name: Check for release notes\n    runs-on: ubuntu-latest\n    needs: check-milestone\n    if: ${{ needs.check-milestone.outputs.no-relnotes-reason == '' && !contains(github.event.pull_request.labels.*.name, 'Development Process 🚀') }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          filter: blob:none\n      - name: Find out if relevant release notes are modified\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: | # this is intentionally a string\n            relnotes: 'docs/release-notes/${{ github.event.pull_request.milestone.title }}.md'\n      - name: Check if relevant release notes are modified\n        uses: flying-sheep/check@v1\n        with:\n          success: ${{ steps.changes.outputs.relnotes }}\n", "state": "active", "repository": "scverse/scanpy"}
{"mined_at": "2024-07-15T17:06:22.649715", "created_at": "2021-02-24T07:46:32+01:00", "updated_at": "2023-02-16T14:03:35+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "scverse/scanpy"}
{"mined_at": "2024-07-15T17:06:23.649231", "created_at": "2023-10-31T15:00:33+01:00", "updated_at": "2023-10-31T15:00:33+01:00", "name": "Publish Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Publish Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    environment: pypi\n    permissions:\n      id-token: write # to authenticate as Trusted Publisher to pypi.org\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          filter: blob:none\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n          cache: \"pip\"\n      - run: pip install build\n      - run: python -m build\n      - uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "scverse/scanpy"}
{"mined_at": "2024-07-15T17:06:25.732583", "created_at": "2022-04-18T06:41:36+02:00", "updated_at": "2022-04-18T06:41:36+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '22 7 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "evil0ctal/douyin_tiktok_download_api"}
{"mined_at": "2024-07-15T17:06:26.796510", "created_at": "2022-08-22T10:48:56+02:00", "updated_at": "2022-08-22T10:48:56+02:00", "name": "Publish Docker image", "path": ".github/workflows/docker-image.yml", "contents": "# docker-image.yml\nname: Publish Docker image   # workflow名称，可以在Github项目主页的【Actions】中看到所有的workflow\n\non:   # 配置触发workflow的事件\n  push:\n    branches:   # main分支有push时触发此workflow\n      - 'main'\n    tags:       # tag更新时触发此workflow\n      - '*'\n  workflow_dispatch:\n          inputs:\n              name:\n                  description: 'Person to greet'\n                  required: true\n                  default: 'Mona the Octocat'\n              home:\n                  description: 'location'\n                  required: false\n                  default: 'The Octoverse'       \n      \n\n# 定义环境变量, 后面会使用\n# 定义 APP_NAME 用于 docker build-args\n# 定义 DOCKERHUB_REPO 标记 docker hub repo 名称\nenv:\n  APP_NAME: douyin_tiktok_download_api\n  DOCKERHUB_REPO: evil0ctal/douyin_tiktok_download_api\n\njobs:\n  main:\n    # 在 Ubuntu 上运行\n    runs-on: ubuntu-latest\n    steps:\n      # git checkout 代码\n      - name: Checkout\n        uses: actions/checkout@v2\n      # 设置 QEMU, 后面 docker buildx 依赖此.\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n      # 设置 Docker buildx, 方便构建 Multi platform 镜像\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      # 登录 docker hub\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          # GitHub Repo => Settings => Secrets 增加 docker hub 登录密钥信息\n          # DOCKERHUB_USERNAME 是 docker hub 账号名.\n          # DOCKERHUB_TOKEN: docker hub => Account Setting => Security 创建.\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      # 通过 git 命令获取当前 tag 信息, 存入环境变量 APP_VERSION\n      - name: Generate App Version\n        run: echo APP_VERSION=`git describe --tags --always` >> $GITHUB_ENV\n      # 构建 Docker 并推送到 Docker hub\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v2\n        with:\n          # 是否 docker push\n          push: true\n          # 生成多平台镜像, see https://github.com/docker-library/bashbrew/blob/v0.1.1/architecture/oci-platform.go\n          platforms: |\n            linux/amd64\n            linux/arm64\n          # docker build arg, 注入 APP_NAME/APP_VERSION\n          build-args: |\n            APP_NAME=${{ env.APP_NAME }}\n            APP_VERSION=${{ env.APP_VERSION }}\n          # 生成两个 docker tag: ${APP_VERSION} 和 latest\n          tags: |\n            ${{ env.DOCKERHUB_REPO }}:latest\n            ${{ env.DOCKERHUB_REPO }}:${{ env.APP_VERSION }}\n", "state": "active", "repository": "evil0ctal/douyin_tiktok_download_api"}
{"mined_at": "2024-07-15T17:06:27.820569", "created_at": "2022-01-03T00:20:58+01:00", "updated_at": "2022-01-03T00:20:58+01:00", "name": "Translate README", "path": ".github/workflows/readme.yml", "contents": "name: Translate README\n\non:\n  push:\n    branches:\n      - main\n      - Dev\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Node.js\n        uses: actions/setup-node@v1\n        with:\n          node-version: 12.x\n      # ISO Langusge Codes: https://cloud.google.com/translate/docs/languages  \n      - name: Adding README - English\n        uses: dephraiim/translate-readme@main\n        with:\n          LANG: en\n", "state": "active", "repository": "evil0ctal/douyin_tiktok_download_api"}
{"mined_at": "2024-07-15T17:06:30.072725", "created_at": "2020-01-23T16:51:36+01:00", "updated_at": "2020-05-03T19:01:10+02:00", "name": "Code style and test", "path": ".github/workflows/on_push.yml", "contents": "name: Code style and test\n\non:\n  push: {}\n  workflow_dispatch: {}\n\njobs:\n  unit-tests:\n    name: Code style & unit tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        version:\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        include:\n          - version: \"3.10\"\n            check-lint: \"true\"\n            check-typing: \"true\"\n          - version: \"3.11\"\n            check-lint: \"true\"\n            check-typing: \"true\"\n          - version: \"3.12\"\n            check-lint: \"true\"\n            check-typing: \"true\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ matrix.version }}\"\n          cache: \"poetry\"\n      - name: Install dependencies\n        run: |\n          poetry install -n\n          poetry run pip install -U --no-dependencies aioboto3 aiobotocore types-aioboto3 types-aiobotocore\n          poetry install -n\n      - name: Lint\n        if: ${{ matrix.check-lint }}\n        run: |\n          poetry run ruff check mypy_boto3_builder --output-format github\n          poetry run ruff check scripts --output-format github\n      - name: Typing\n        if: ${{ matrix.check-typing }}\n        run: |\n          poetry run pyright mypy_boto3_builder\n      - name: Test\n        run: |\n          poetry run pytest\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:31.199826", "created_at": "2020-01-23T18:01:33+01:00", "updated_at": "2020-01-23T18:01:33+01:00", "name": "Bump version and dockerize", "path": ".github/workflows/on_release.yml", "contents": "name: Bump version and dockerize\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs:\n      version:\n        description: Version for publishing\n        required: true\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: main\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n      - name: Get version\n        id: version\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            if (context.payload.inputs && context.payload.inputs.version) {\n              return context.payload.inputs.version\n            }\n            return context.ref.split('/').pop()\n      - name: Install builder\n        run: |\n          poetry install -n\n      - name: Bump version\n        env:\n          VERSION: ${{ steps.version.outputs.result }}\n        run: |\n          echo \"Bumping version to ${VERSION}\"\n          poetry version ${VERSION}\n          rm -rf *.egg-info || true\n          poetry install -n\n      - name: Set up git\n        run: |\n          git config --global user.email \"github-actions@github.com\"\n          git config --global user.name \"github-actions\"\n      - name: Commit changes\n        env:\n          VERSION: ${{ steps.version.outputs.result }}\n        run: |\n          git add pyproject.toml\n          git commit -m \"Release ${VERSION}\"\n          git push\n      - name: Publish to PyPI\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          poetry run pip install -U twine wheel setuptools\n          poetry build\n          poetry run twine upload  --non-interactive dist/*\n      - name: Dockerize\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          poetry run bash ./scripts/dockerize.sh\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:32.251511", "created_at": "2020-02-27T01:05:42+01:00", "updated_at": "2020-02-27T01:05:42+01:00", "name": "Send coverage report", "path": ".github/workflows/on_push_coverage.yml", "contents": "name: Send coverage report\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - mypy_boto3_builder/**\n      - tests/**\n  workflow_dispatch: {}\n\njobs:\n  coverage:\n    name: Coverage\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n          cache: \"poetry\"\n      - name: Install dependencies\n        run: |\n          poetry install -n\n          poetry run pip install -U --no-dependencies aiobotocore\n      - name: Build coverage report\n        run: |\n          poetry run pytest --cov mypy_boto3_builder --cov-report=xml\n      - name: Send coverage report\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:33.660896", "created_at": "2021-05-10T15:50:54+02:00", "updated_at": "2023-07-28T16:20:55+02:00", "name": "Publish boto3-stubs", "path": ".github/workflows/publish_boto3_stubs.yml", "contents": "name: Publish boto3-stubs\nconcurrency: update_boto3_stubs\n\non:\n  schedule:\n    - cron: \"*/15 * * * *\"\n  workflow_dispatch:\n    inputs:\n      boto3_version:\n        description: Target boto3 version\n        required: false\n        default: \"\"\n        type: string\n      stubs_version:\n        description: Specify version explicitly instead of finding it automatically\n        required: false\n        default: \"\"\n        type: string\n      force:\n        description: Continue if version is already published\n        required: false\n        default: false\n        type: boolean\n      build_all:\n        description: Build all packages instead of updated only\n        required: false\n        default: false\n        type: boolean\n      skip_published:\n        description: Skip already published packages\n        required: false\n        default: true\n        type: boolean\n      no_smart_version:\n        description: Use exact version provided in stubs_version\n        required: false\n        default: false\n        type: boolean\n\njobs:\n  versions:\n    runs-on: ubuntu-latest\n    outputs:\n      boto3: ${{ steps.boto3.outputs.result }}\n      botocore: ${{ steps.botocore.outputs.result }}\n      boto3-url: ${{ steps.boto3-url.outputs.result }}\n      botocore-url: ${{ steps.botocore-url.outputs.result }}\n      version: ${{ steps.version.outputs.result }}\n      build-all: ${{ steps.build-all.outputs.result }}\n      extra-flags: ${{ steps.extra-flags.outputs.result }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Find boto3 version\n        id: boto3\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getBoto3Version, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const inputVersion = context.payload.inputs && context.payload.inputs.boto3_version\n            const version = inputVersion ? inputVersion : await getBoto3Version()\n            core.notice(`boto3 version ${version}`)\n            return version\n      - name: Find botocore version\n        id: botocore\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getBotocoreVersion, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const version = getBotocoreVersion(\"${{ steps.boto3.outputs.result }}\")\n            core.notice(`botocore version ${version}`)\n            return version\n      - name: Find build version\n        id: version\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getPackageVersions, getNextPostVersion, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            if (context.payload.inputs && context.payload.inputs.stubs_version) {\n              const version = context.payload.inputs.stubs_version\n              core.notice(`stubs version ${version}`)\n              return version\n            }\n\n            const force = context.payload.inputs ? context.payload.inputs.force !== 'false' : false\n            const boto3Version = \"${{ steps.boto3.outputs.result }}\"\n\n            const versions = await getPackageVersions('boto3-stubs', boto3Version)\n            core.info(`Built versions ${versions}`)\n\n            if (!versions.length) {\n              core.notice(`No builds found, building initial ${boto3Version}`)\n              return boto3Version\n            }\n\n            if (!force) {\n              core.notice(`Builds ${versions} found, skipping`)\n              return ''\n            }\n\n            const lastVersion = versions.pop()\n            core.notice(`Last version ${lastVersion}`)\n\n            const version = getNextPostVersion(lastVersion)\n            core.notice(`Version ${version}`)\n            return version\n      - name: Build all\n        id: build-all\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            if (context.payload.inputs && context.payload.inputs.build_all !== 'false') {\n              core.notice('Build all = true')\n              return 'true'\n            }\n\n            const boto3Version = \"${{ steps.boto3.outputs.result }}\"\n            if (boto3Version.endsWith('.0')) {\n              core.notice('Build all = true (due to minor version update)')\n              return 'true'\n            }\n\n            core.notice('Build all = false')\n            return 'false'\n      - name: Extra flags\n        id: extra-flags\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const extraFlags = []\n\n            const skipPublished = context.payload.inputs ? context.payload.inputs.skip_published !== 'false' : true\n            const noSmartVersion = context.payload.inputs ? context.payload.inputs.no_smart_version !== 'false' : true\n            if (skipPublished) extraFlags.push('--skip-published')\n            if (noSmartVersion) extraFlags.push('--no-smart-version')\n\n            core.notice(`Extra flags = ${extraFlags}`)\n            return extraFlags.join(' ')\n      - name: Boto3 download URL\n        id: boto3-url\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getDownloadURL, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const url = await getDownloadURL('boto3', \"${{ steps.boto3.outputs.result }}\")\n            core.notice(`boto3 download URL ${url}`)\n            return url\n      - name: Botocore download URL\n        id: botocore-url\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getDownloadURL, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const url = await getDownloadURL('botocore', \"${{ steps.botocore.outputs.result }}\")\n            core.notice(`botocore download URL ${url}`)\n            return url\n\n  publish-boto3-stubs:\n    name: Publish boto3-stubs\n    runs-on: ubuntu-latest\n    needs: versions\n    if: needs.versions.outputs.version\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n      - name: Install boto3\n        run: |\n          mkdir installtemp\n          cd installtemp\n          wget ${{ needs.versions.outputs.boto3-url }}\n          wget ${{ needs.versions.outputs.botocore-url }}\n          pip uninstall -y s3transfer\n          pip install botocore*.whl\n          pip install boto3*.whl\n          cd ..\n          rm -rf installtemp\n          python -m pip install newversion\n      - name: Install builder\n        run: |\n          rm -rf mypy_boto3_builder\n          python -m pip install mypy_boto3_builder\n      - name: Build updated packages only\n        if: needs.versions.outputs.build-all == 'false'\n        env:\n          VERSION: ${{ needs.versions.outputs.version }}\n          EXTRA_FLAGS: ${{ needs.versions.outputs.extra-flags }}\n        run: |\n          rm -rf mypy_boto3_output/*\n\n          echo \"Building updated packages\"\n          python -m mypy_boto3_builder mypy_boto3_output -b ${VERSION} --product boto3 boto3-services ${EXTRA_FLAGS} -s updated -d\n      - name: Build all packages\n        if: needs.versions.outputs.build-all == 'true'\n        env:\n          VERSION: ${{ needs.versions.outputs.version }}\n          EXTRA_FLAGS: ${{ needs.versions.outputs.extra-flags }}\n        run: |\n          rm -rf mypy_boto3_output/*\n\n          echo \"Building all packages\"\n          python -m mypy_boto3_builder mypy_boto3_output -b ${VERSION} --product boto3 boto3-services ${EXTRA_FLAGS} -s all -d\n      - name: Install dependencies for publishing\n        run: |\n          python -m pip install setuptools wheel twine\n      - name: Publish to PyPI\n        env:\n          PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python ./scripts/release.py\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:34.783703", "created_at": "2021-07-09T05:08:55+02:00", "updated_at": "2023-07-28T12:44:57+02:00", "name": "boto3-stubs sanity", "path": ".github/workflows/sanity_check.yml", "contents": "name: boto3-stubs sanity\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n    inputs:\n      boto3_version:\n        description: Target boto3 version\n        required: false\n\njobs:\n  versions:\n    runs-on: ubuntu-latest\n    outputs:\n      boto3: ${{ steps.boto3.outputs.result }}\n      botocore: ${{ steps.botocore.outputs.result }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Extract boto3 version\n        id: boto3\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getBoto3Version, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n            const inputBoto3Version = context.payload.inputs && context.payload.inputs.boto3_version\n            const version = inputBoto3Version ? inputBoto3Version : await getBoto3Version()\n            core.notice(`boto3 version ${version}`)\n            return version\n      - name: Extract botocore version\n        id: botocore\n        uses: actions/github-script@v7\n        env:\n          BOTO3_VERSION: ${{ steps.boto3.outputs.result }}\n        with:\n          result-encoding: string\n          script: |\n            const { getBotocoreVersion } = require('./.github/workflows/helpers.js')\n            const version = getBotocoreVersion(process.env.BOTO3_VERSION)\n            core.notice(`botocore version ${version}`)\n            return version\n  sanity-check:\n    runs-on: ubuntu-latest\n    needs: versions\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n          cache: \"poetry\"\n      - name: Install dependencies\n        run: |\n          poetry install -n\n      - name: Install boto3\n        env:\n          BOTO3_VERSION: ${{ needs.versions.outputs.boto3 }}\n          BOTOCORE_VERSION: ${{ needs.versions.outputs.botocore }}\n        run: |\n          poetry run pip install -U boto3==${BOTO3_VERSION} botocore==${BOTOCORE_VERSION}\n      - name: Build master packages\n        run: |\n          rm -rf mypy_boto3_output/*\n          poetry run mypy_boto3_builder mypy_boto3_output --product boto3\n      - name: Install master packages\n        run: |\n          bash ./scripts/install.sh master\n      - name: Check s3 output\n        run: |\n          poetry run mypy_boto3_builder mypy_boto3_output --product boto3-services -s s3\n          poetry run python ./scripts/check_output.py -p ./mypy_boto3_output s3\n      - name: Build packages\n        run: |\n          poetry run mypy_boto3_builder mypy_boto3_output --product boto3-services\n      - name: Check output\n        run: |\n          poetry run python ./scripts/check_output.py -p ./mypy_boto3_output\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:35.814368", "created_at": "2022-01-11T21:17:00+01:00", "updated_at": "2022-01-11T21:17:00+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:36.934069", "created_at": "2022-02-07T12:19:04+01:00", "updated_at": "2023-07-28T16:20:55+02:00", "name": "Publish types-aiobotocore", "path": ".github/workflows/publish_aiobotocore_stubs.yml", "contents": "name: Publish types-aiobotocore\nconcurrency: update_types_aiobotocore\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n    inputs:\n      aiobotocore_version:\n        description: Target aiobotocore version\n        required: false\n        type: string\n      stubs_version:\n        description: Specify version explicitly instead of finding it automatically\n        required: false\n        default: \"\"\n        type: string\n      force:\n        description: Continue if version is already published\n        required: false\n        default: false\n        type: boolean\n      skip_published:\n        description: Skip already published packages\n        required: false\n        default: true\n        type: boolean\n      no_smart_version:\n        description: Use exact version provided in stubs_version\n        required: false\n        default: false\n        type: boolean\n\njobs:\n  versions:\n    runs-on: ubuntu-latest\n    outputs:\n      aiobotocore: ${{ steps.aiobotocore.outputs.result }}\n      aiobotocore-url: ${{ steps.aiobotocore-url.outputs.result }}\n      version: ${{ steps.version.outputs.result }}\n      extra-flags: ${{ steps.extra-flags.outputs.result }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Find aiobotocore version\n        id: aiobotocore\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getAioBotocoreVersion, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const inputVersion = context.payload.inputs && context.payload.inputs.aiobotocore_version\n            const version = inputVersion ? inputVersion : await getAioBotocoreVersion()\n            core.notice(`aiobotocore version ${version}`)\n            return version\n      - name: Find build version\n        id: version\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getPackageVersions, getNextPostVersion, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            if (context.payload.inputs && context.payload.inputs.stubs_version) {\n              const version = context.payload.inputs.stubs_version\n              core.notice(`stubs version ${version}`)\n              return version\n            }\n\n            const force = context.payload.inputs ? context.payload.inputs.force !== 'false' : false\n            const aiobotocoreVersion = \"${{ steps.aiobotocore.outputs.result }}\"\n\n            const versions = await getPackageVersions('types-aiobotocore', aiobotocoreVersion)\n            core.info(`Built versions ${versions}`)\n\n            if (!versions.length) {\n              core.notice(`No builds found, building initial ${aiobotocoreVersion}`)\n              return aiobotocoreVersion\n            }\n\n            if (!force) {\n              core.notice(`Builds ${versions} found, skipping`)\n              return ''\n            }\n\n            const lastVersion = versions.pop()\n            core.notice(`Last version ${lastVersion}`)\n\n            const version = getNextPostVersion(lastVersion)\n            core.notice(`Version ${version}`)\n            return version\n      - name: Extra flags\n        id: extra-flags\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const extraFlags = []\n\n            const skipPublished = context.payload.inputs ? context.payload.inputs.skip_published !== 'false' : true\n            const noSmartVersion = context.payload.inputs ? context.payload.inputs.no_smart_version !== 'false' : true\n            if (skipPublished) extraFlags.push('--skip-published')\n            if (noSmartVersion) extraFlags.push('--no-smart-version')\n\n            core.notice(`Extra flags = ${extraFlags}`)\n            return extraFlags.join(' ')\n      - name: Aiobotocore download URL\n        id: aiobotocore-url\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getDownloadURL, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const url = await getDownloadURL('aiobotocore', \"${{ steps.aiobotocore.outputs.result }}\")\n            core.notice(`aiobotocore download URL ${url}`)\n            return url\n  publish-types-aiobotocore:\n    name: Publish types-aiobotocore\n    runs-on: ubuntu-latest\n    needs: versions\n    if: needs.versions.outputs.version\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n      - name: Install builder\n        run: |\n          rm -rf mypy_boto3_builder\n          python -m pip install mypy_boto3_builder\n      - name: Install aiobotocore\n        run: |\n          mkdir installtemp\n          cd installtemp\n          wget ${{ needs.versions.outputs.aiobotocore-url }}\n          pip uninstall -y s3transfer\n          pip install aiobotocore*.whl s3transfer\n          cd ..\n          rm -rf installtemp\n      - name: Build all packages\n        env:\n          VERSION: ${{ needs.versions.outputs.version }}\n          EXTRA_FLAGS: ${{ needs.versions.outputs.extra-flags }}\n        run: |\n          rm -rf mypy_boto3_output/*\n\n          echo \"Building all packages\"\n          python -m mypy_boto3_builder mypy_boto3_output -b ${VERSION} --product aiobotocore aiobotocore-services ${EXTRA_FLAGS} -s all -d\n      - name: Install dependencies for publishing\n        run: |\n          python -m pip install setuptools wheel twine\n      - name: Publish to PyPI\n        env:\n          PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python ./scripts/release.py\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:38.009681", "created_at": "2022-07-15T15:18:32+02:00", "updated_at": "2023-07-28T16:20:55+02:00", "name": "Publish types-aioboto3", "path": ".github/workflows/publish_types_aioboto3.yml", "contents": "name: Publish types-aioboto3\nconcurrency: update_types_aioboto3\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n    inputs:\n      aioboto3_version:\n        description: Target aioboto3 version\n        required: false\n        type: string\n        default: \"\"\n      force:\n        description: Continue if version is already published\n        required: false\n        default: false\n        type: boolean\n      stubs_version:\n        description: Specify version explicitly instead of finding it automatically\n        required: false\n        type: string\n        default: \"\"\n      no_smart_version:\n        description: Use exact version provided in stubs_version\n        required: false\n        default: false\n        type: boolean\n\njobs:\n  versions:\n    runs-on: ubuntu-latest\n    outputs:\n      aioboto3: ${{ steps.aioboto3.outputs.result }}\n      aioboto3-url: ${{ steps.aioboto3-url.outputs.result }}\n      version: ${{ steps.version.outputs.result }}\n      extra-flags: ${{ steps.extra-flags.outputs.result }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Find aioboto3 version\n        id: aioboto3\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getAioBoto3Version, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const inputVersion = context.payload.inputs && context.payload.inputs.aioboto3_version\n            const version = inputVersion ? inputVersion : await getAioBoto3Version()\n            core.notice(`aioboto3 version ${version}`)\n            return version\n      - name: Find build version\n        id: version\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getPackageVersions, getNextPostVersion, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            if (context.payload.inputs && context.payload.inputs.stubs_version) {\n              const version = context.payload.inputs.stubs_version\n              core.notice(`stubs version ${version}`)\n              return version\n            }\n\n            const force = context.payload.inputs ? context.payload.inputs.force !== 'false' : false\n            const aioboto3Version = \"${{ steps.aioboto3.outputs.result }}\"\n\n            const versions = await getPackageVersions('types-aioboto3', aioboto3Version)\n            core.info(`Built versions ${versions}`)\n\n            if (!versions.length) {\n              core.notice(`No builds found, building initial ${aioboto3Version}`)\n              return aioboto3Version\n            }\n\n            if (!force) {\n              core.notice(`Builds ${versions} found, skipping`)\n              return ''\n            }\n\n            const lastVersion = versions.pop()\n            core.notice(`Last version ${lastVersion}`)\n\n            const version = getNextPostVersion(lastVersion)\n            core.notice(`Version ${version}`)\n            return version\n      - name: Extra flags\n        id: extra-flags\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const extraFlags = []\n\n            const noSmartVersion = context.payload.inputs ? context.payload.inputs.no_smart_version !== 'false' : true\n            if (noSmartVersion) extraFlags.push('--no-smart-version')\n\n            core.notice(`Extra flags = ${extraFlags}`)\n            return extraFlags.join(' ')\n      - name: Aioboto3 download URL\n        id: aioboto3-url\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getDownloadURL, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const url = await getDownloadURL('aioboto3', \"${{ steps.aioboto3.outputs.result }}\")\n            core.notice(`aioboto3 download URL ${url}`)\n            return url\n  publish-types-aioboto3:\n    name: Publish types-aioboto3\n    runs-on: ubuntu-latest\n    needs: versions\n    if: needs.versions.outputs.version\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n      - name: Install builder\n        run: |\n          rm -rf mypy_boto3_builder\n          python -m pip install mypy_boto3_builder\n      - name: Install aioboto3\n        run: |\n          mkdir installtemp\n          cd installtemp\n          wget ${{ needs.versions.outputs.aioboto3-url }}\n          pip uninstall -y s3transfer\n          pip install aioboto3* s3transfer\n          cd ..\n          rm -rf installtemp\n      - name: Build all packages\n        env:\n          VERSION: ${{ needs.versions.outputs.version }}\n          EXTRA_FLAGS: ${{ needs.versions.outputs.extra-flags }}\n        run: |\n          rm -rf mypy_boto3_output/*\n\n          echo \"Building all packages\"\n          python -m mypy_boto3_builder mypy_boto3_output -b ${VERSION} --product aioboto3 ${EXTRA_FLAGS} -s all -d\n      - name: Install dependencies for publishing\n        run: |\n          python -m pip install setuptools wheel twine\n      - name: Publish to PyPI\n        env:\n          PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python ./scripts/release.py\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:39.186735", "created_at": "2022-07-23T17:03:36+02:00", "updated_at": "2022-07-23T17:03:36+02:00", "name": "Generate docs", "path": ".github/workflows/on_release_docs.yml", "contents": "name: Generate docs\nconcurrency:\n  group: generate_docs\n  cancel-in-progress: true\n\non:\n  release:\n    types: [published]\n  workflow_dispatch: {}\n\njobs:\n  build-docs:\n    name: Build docs\n    runs-on: ubuntu-latest\n    env:\n      MAIN_BRANCH: main\n    steps:\n      - name: Checkout main branch\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.MAIN_BRANCH }}\n      - name: Set up git\n        run: |\n          git config --global user.email \"github-actions@github.com\"\n          git config --global user.name \"github-actions\"\n      - name: Create gh-pages branch if not exists\n        run: |\n          GIT_URL=`git config --get remote.origin.url`\n          GH_PAGES_BRANCH=`git ls-remote --heads ${GIT_URL} gh-pages`\n          if [[ \"${GH_PAGES_BRANCH}\" == \"\" ]]; then\n            echo \"creating gh-pages branch\"\n            git symbolic-ref HEAD refs/heads/gh-pages\n            rm .git/index\n            git clean -fdx\n            echo \"Placeholder\" > index.html\n            git add .\n            git commit -am \"First pages commit\"\n            git push origin gh-pages\n            echo \"gh-pages branch created\"\n            git checkout ${MAIN_BRANCH}\n          fi\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n      - name: Install project\n        run: |\n          poetry install -n\n      - name: Install handsdown\n        run: |\n          poetry run pip install -U handsdown mkdocs mkdocs-material\n      - name: Build docs\n        run: |\n          poetry run handsdown --external `git config --get remote.origin.url` -o docsmd --cleanup --theme material --branch main $@\n          rm -rf docs/*\n          poetry run mkdocs build\n      - name: Checkout gh-pages branch\n        uses: actions/checkout@v4\n        with:\n          ref: gh-pages\n          path: ./gh-pages\n          fetch-depth: 0\n      - name: Commit changes\n        run: |\n          cd ./gh-pages\n          rm -rf docs docsmd || true\n          mv ../docs .\n          mv ../docsmd .\n          git add docs\n          git add docsmd\n          git commit -am \"Update docs\"\n          git push\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:40.298073", "created_at": "2023-07-28T12:38:58+02:00", "updated_at": "2023-07-28T12:44:57+02:00", "name": "types-aiobotocore sanity", "path": ".github/workflows/aio_sanity_check.yml", "contents": "name: types-aiobotocore sanity\n\non:\n  schedule:\n    - cron: \"0 0 1 * *\"\n  workflow_dispatch:\n    inputs:\n      boto3_version:\n        description: Target boto3 version\n        required: false\n\njobs:\n  versions:\n    runs-on: ubuntu-latest\n    outputs:\n      boto3: ${{ steps.boto3.outputs.result }}\n      botocore: ${{ steps.botocore.outputs.result }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Extract boto3 version\n        id: boto3\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getBoto3Version, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n            const inputBoto3Version = context.payload.inputs && context.payload.inputs.boto3_version\n            const version = inputBoto3Version ? inputBoto3Version : await getBoto3Version()\n            core.notice(`boto3 version ${version}`)\n            return version\n      - name: Extract botocore version\n        id: botocore\n        uses: actions/github-script@v7\n        env:\n          BOTO3_VERSION: ${{ steps.boto3.outputs.result }}\n        with:\n          result-encoding: string\n          script: |\n            const { getBotocoreVersion } = require('./.github/workflows/helpers.js')\n            const version = getBotocoreVersion(process.env.BOTO3_VERSION)\n            core.notice(`botocore version ${version}`)\n            return version\n  sanity-check:\n    runs-on: ubuntu-latest\n    needs: versions\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n          cache: \"poetry\"\n      - name: Install dependencies\n        run: |\n          poetry install -n\n          poetry run pip install -U aioboto3 boto3-stubs types-aiobotocore types-aioboto3\n          poetry install -n\n      - name: Install boto3\n        env:\n          BOTO3_VERSION: ${{ needs.versions.outputs.boto3 }}\n          BOTOCORE_VERSION: ${{ needs.versions.outputs.botocore }}\n        run: |\n          poetry run pip install -U boto3==${BOTO3_VERSION} botocore==${BOTOCORE_VERSION}\n      - name: Build master packages\n        run: |\n          rm -rf mypy_boto3_output/*\n          poetry run mypy_boto3_builder mypy_boto3_output --product aioboto3 aiobotocore\n      - name: Install master packages\n        run: |\n          bash ./scripts/install_aiobotocore.sh master\n      - name: Check s3 output\n        run: |\n          poetry run mypy_boto3_builder mypy_boto3_output --product aiobotocore-services -s s3\n          poetry run python ./scripts/check_output.py -p ./mypy_boto3_output s3\n      - name: Build packages\n        run: |\n          poetry run mypy_boto3_builder mypy_boto3_output --product aiobotocore-services\n      - name: Check output\n        run: |\n          poetry run python ./scripts/check_output.py -p ./mypy_boto3_output\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:41.404344", "created_at": "2023-10-09T18:57:19+02:00", "updated_at": "2023-10-09T18:57:19+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:42.669470", "created_at": "2023-11-30T04:32:36+01:00", "updated_at": "2023-11-30T04:32:36+01:00", "name": "types-aiobotocore consistency", "path": ".github/workflows/aio_consistency_check.yml", "contents": "name: types-aiobotocore consistency\n\non:\n  schedule:\n    - cron: \"0 0 1 * *\"\n  workflow_dispatch:\n    inputs:\n      boto3_version:\n        description: Target boto3 version\n        required: false\n\njobs:\n  versions:\n    runs-on: ubuntu-latest\n    outputs:\n      boto3: ${{ steps.boto3.outputs.result }}\n      botocore: ${{ steps.botocore.outputs.result }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Extract boto3 version\n        id: boto3\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getBoto3Version, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n            const inputBoto3Version = context.payload.inputs && context.payload.inputs.boto3_version\n            const version = inputBoto3Version ? inputBoto3Version : await getBoto3Version()\n            core.notice(`boto3 version ${version}`)\n            return version\n      - name: Extract botocore version\n        id: botocore\n        uses: actions/github-script@v7\n        env:\n          BOTO3_VERSION: ${{ steps.boto3.outputs.result }}\n        with:\n          result-encoding: string\n          script: |\n            const { getBotocoreVersion } = require('./.github/workflows/helpers.js')\n            const version = getBotocoreVersion(process.env.BOTO3_VERSION)\n            core.notice(`botocore version ${version}`)\n            return version\n  check-aio-stubs:\n    runs-on: ubuntu-latest\n    needs: versions\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          poetry install -n\n      - name: Install aioboto3\n        run: |\n          poetry run pip install -U aiobotocore aioboto3\n      - name: Install boto3\n        env:\n          BOTO3_VERSION: ${{ needs.versions.outputs.boto3 }}\n          BOTOCORE_VERSION: ${{ needs.versions.outputs.botocore }}\n        run: |\n          poetry run pip install -U boto3==${BOTO3_VERSION} botocore==${BOTOCORE_VERSION}\n          poetry run pip install -U botocore-stubs\n      - name: Uninstall stubs\n        run: |\n          poetry run pip uninstall -y boto3-stubs\n      - name: Check aioboto3 stubs\n        run: |\n          poetry run istub -c ./istub_aio.yml -bid aioboto3\n      - name: Check aiobotocore stubs\n        run: |\n          poetry run istub -c ./istub_aio.yml -bid aiobotocore\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:43.731649", "created_at": "2023-11-30T04:32:36+01:00", "updated_at": "2023-11-30T04:32:36+01:00", "name": "boto3-stubs consistency", "path": ".github/workflows/consistency_check.yml", "contents": "name: boto3-stubs consistency\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n    inputs:\n      boto3_version:\n        description: Target boto3 version\n        required: false\n\njobs:\n  versions:\n    runs-on: ubuntu-latest\n    outputs:\n      boto3: ${{ steps.boto3.outputs.result }}\n      botocore: ${{ steps.botocore.outputs.result }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Extract boto3 version\n        id: boto3\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getBoto3Version, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n            const inputBoto3Version = context.payload.inputs && context.payload.inputs.boto3_version\n            const version = inputBoto3Version ? inputBoto3Version : await getBoto3Version()\n            core.notice(`boto3 version ${version}`)\n            return version\n      - name: Extract botocore version\n        id: botocore\n        uses: actions/github-script@v7\n        env:\n          BOTO3_VERSION: ${{ steps.boto3.outputs.result }}\n        with:\n          result-encoding: string\n          script: |\n            const { getBotocoreVersion } = require('./.github/workflows/helpers.js')\n            const version = getBotocoreVersion(process.env.BOTO3_VERSION)\n            core.notice(`botocore version ${version}`)\n            return version\n  check-stubs:\n    runs-on: ubuntu-latest\n    needs: versions\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n      - name: Install dependencies\n        run: |\n          poetry install -n\n      - name: Install boto3\n        env:\n          BOTO3_VERSION: ${{ needs.versions.outputs.boto3 }}\n          BOTOCORE_VERSION: ${{ needs.versions.outputs.botocore }}\n        run: |\n          poetry run pip install -U boto3==${BOTO3_VERSION} botocore==${BOTOCORE_VERSION}\n          poetry run pip install -U botocore-stubs\n      - name: Uninstall stubs\n        run: |\n          poetry run pip uninstall -y boto3-stubs\n      - name: Check boto3 stubs\n        run: |\n          poetry run istub -c ./istub.yml -bid boto3\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:44.818892", "created_at": "2023-12-13T03:01:15+01:00", "updated_at": "2023-12-13T03:03:23+01:00", "name": "types-aiobotocore integration", "path": ".github/workflows/aio_integration.yml", "contents": "name: types-aiobotocore integration\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch: {}\n\njobs:\n  integration:\n    name: AIO integration tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n          cache: \"poetry\"\n      - name: Install dependencies\n        run: |\n          poetry install -n\n          poetry run pip install -U aioboto3 boto3-stubs types-aiobotocore types-aioboto3\n          poetry install -n\n      - name: Integration tests\n        run: |\n          poetry run python scripts/integration.py --product aioboto3 -d\n      - name: Store artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: aio_mypy_boto3_output\n          path: mypy_boto3_output\n\n  sanity-check:\n    name: Sanity check\n    needs: integration\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v3\n        with:\n          name: aio_mypy_boto3_output\n          path: mypy_boto3_output\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.version }}\n          cache: \"pip\"\n      - name: Install dependencies\n        run: |\n          python -m pip install -U requests cryptography types-requests\n          python -m pip install -U mypy ruff pyright aioboto3 boto3-stubs types-aiobotocore types-aioboto3\n      - name: Check output\n        run: |\n          python ./scripts/check_output.py -p ./mypy_boto3_output\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:45.946929", "created_at": "2023-12-13T03:01:15+01:00", "updated_at": "2023-12-13T03:03:23+01:00", "name": "boto3-stubs integration", "path": ".github/workflows/integration.yml", "contents": "name: boto3-stubs integration\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch: {}\n\njobs:\n  integration:\n    name: Integration tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n          cache: \"poetry\"\n      - name: Install dependencies\n        run: |\n          poetry install -n\n          poetry run pip install -U --no-dependencies aiobotocore\n      - name: Integration tests\n        run: |\n          poetry run python scripts/integration.py --product boto3 -d\n      - name: Store artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: mypy_boto3_output\n          path: mypy_boto3_output\n\n  sanity-check:\n    name: Sanity check\n    needs: integration\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v3\n        with:\n          name: mypy_boto3_output\n          path: mypy_boto3_output\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.version }}\n          cache: \"pip\"\n      - name: Install dependencies\n        run: |\n          python -m pip install mypy ruff pyright boto3 botocore botocore-stubs boto3-stubs-lite types-requests\n      - name: Check output\n        run: |\n          python scripts/check_output.py\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:47.174566", "created_at": "2024-06-02T00:50:10+02:00", "updated_at": "2024-06-02T00:50:10+02:00", "name": "Publish types-aiobotocore-full", "path": ".github/workflows/publish_aiobotocore_full.yml", "contents": "name: Publish types-aiobotocore-full\nconcurrency: update_types_aiobotocore_full\n\non:\n  workflow_dispatch:\n    inputs:\n      aiobotocore_version:\n        description: Target aiobotocore version\n        required: false\n        type: string\n      stubs_version:\n        description: Specify version explicitly instead of finding it automatically\n        required: false\n        default: \"\"\n        type: string\n      force:\n        description: Continue if version is already published\n        required: false\n        default: false\n        type: boolean\n      no_smart_version:\n        description: Use exact version provided in stubs_version\n        required: false\n        default: false\n        type: boolean\n\njobs:\n  versions:\n    runs-on: ubuntu-latest\n    outputs:\n      aiobotocore: ${{ steps.aiobotocore.outputs.result }}\n      aiobotocore-url: ${{ steps.aiobotocore-url.outputs.result }}\n      version: ${{ steps.version.outputs.result }}\n      extra-flags: ${{ steps.extra-flags.outputs.result }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Find aiobotocore version\n        id: aiobotocore\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getAioBotocoreVersion, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const inputVersion = context.payload.inputs && context.payload.inputs.aiobotocore_version\n            const version = inputVersion ? inputVersion : await getAioBotocoreVersion()\n            core.notice(`aiobotocore version ${version}`)\n            return version\n      - name: Find build version\n        id: version\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getPackageVersions, getNextPostVersion, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            if (context.payload.inputs && context.payload.inputs.stubs_version) {\n              const version = context.payload.inputs.stubs_version\n              core.notice(`stubs version ${version}`)\n              return version\n            }\n\n            const force = context.payload.inputs ? context.payload.inputs.force !== 'false' : false\n            const aiobotocoreVersion = \"${{ steps.aiobotocore.outputs.result }}\"\n\n            const versions = await getPackageVersions('types-aiobotocore-full', aiobotocoreVersion)\n            core.info(`Built versions ${versions}`)\n\n            if (!versions.length) {\n              core.notice(`No builds found, building initial ${aiobotocoreVersion}`)\n              return aiobotocoreVersion\n            }\n\n            if (!force) {\n              core.notice(`Builds ${versions} found, skipping`)\n              return ''\n            }\n\n            const lastVersion = versions.pop()\n            core.notice(`Last version ${lastVersion}`)\n\n            const version = getNextPostVersion(lastVersion)\n            core.notice(`Version ${version}`)\n            return version\n      - name: Extra flags\n        id: extra-flags\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const extraFlags = []\n\n            const noSmartVersion = context.payload.inputs ? context.payload.inputs.no_smart_version !== 'false' : true\n            if (noSmartVersion) extraFlags.push('--no-smart-version')\n\n            core.notice(`Extra flags = ${extraFlags}`)\n            return extraFlags.join(' ')\n      - name: Aiobotocore download URL\n        id: aiobotocore-url\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getDownloadURL, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const url = await getDownloadURL('aiobotocore', \"${{ steps.aiobotocore.outputs.result }}\")\n            core.notice(`aiobotocore download URL ${url}`)\n            return url\n  publish-types-aiobotocore:\n    name: Publish types-aiobotocore\n    runs-on: ubuntu-latest\n    needs: versions\n    if: needs.versions.outputs.version\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n      - name: Install builder\n        run: |\n          rm -rf mypy_boto3_builder\n          python -m pip install mypy_boto3_builder\n      - name: Install aiobotocore\n        run: |\n          mkdir installtemp\n          cd installtemp\n          wget ${{ needs.versions.outputs.aiobotocore-url }}\n          pip uninstall -y s3transfer\n          pip install aiobotocore*.whl s3transfer\n          cd ..\n          rm -rf installtemp\n      - name: Build\n        env:\n          VERSION: ${{ needs.versions.outputs.version }}\n          EXTRA_FLAGS: ${{ needs.versions.outputs.extra-flags }}\n        run: |\n          rm -rf mypy_boto3_output/*\n\n          echo \"Building\"\n          python -m mypy_boto3_builder mypy_boto3_output -b ${VERSION} --product aiobotocore aiobotocore-full ${EXTRA_FLAGS} -s all -d\n      - name: Install dependencies for publishing\n        run: |\n          python -m pip install setuptools wheel twine\n      - name: Publish to PyPI\n        env:\n          PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python ./scripts/release.py\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:48.200451", "created_at": "2024-06-02T00:50:10+02:00", "updated_at": "2024-06-02T00:50:10+02:00", "name": "Publish boto3-stubs-full", "path": ".github/workflows/publish_boto3_full.yml", "contents": "name: Publish boto3-stubs-full\nconcurrency: update_boto3_stubs_full\n\non:\n  workflow_dispatch:\n    inputs:\n      boto3_version:\n        description: Target boto3 version\n        required: false\n        default: \"\"\n        type: string\n      stubs_version:\n        description: Specify version explicitly instead of finding it automatically\n        required: false\n        default: \"\"\n        type: string\n      force:\n        description: Continue if version is already published\n        required: false\n        default: false\n        type: boolean\n      no_smart_version:\n        description: Use exact version provided in stubs_version\n        required: false\n        default: false\n        type: boolean\n\njobs:\n  versions:\n    runs-on: ubuntu-latest\n    outputs:\n      boto3: ${{ steps.boto3.outputs.result }}\n      botocore: ${{ steps.botocore.outputs.result }}\n      boto3-url: ${{ steps.boto3-url.outputs.result }}\n      botocore-url: ${{ steps.botocore-url.outputs.result }}\n      version: ${{ steps.version.outputs.result }}\n      extra-flags: ${{ steps.extra-flags.outputs.result }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Find boto3 version\n        id: boto3\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getBoto3Version, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const inputVersion = context.payload.inputs && context.payload.inputs.boto3_version\n            const version = inputVersion ? inputVersion : await getBoto3Version()\n            core.notice(`boto3 version ${version}`)\n            return version\n      - name: Find botocore version\n        id: botocore\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getBotocoreVersion, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const version = getBotocoreVersion(\"${{ steps.boto3.outputs.result }}\")\n            core.notice(`botocore version ${version}`)\n            return version\n      - name: Find build version\n        id: version\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getPackageVersions, getNextPostVersion, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            if (context.payload.inputs && context.payload.inputs.stubs_version) {\n              const version = context.payload.inputs.stubs_version\n              core.notice(`stubs version ${version}`)\n              return version\n            }\n\n            const force = context.payload.inputs ? context.payload.inputs.force !== 'false' : false\n            const boto3Version = \"${{ steps.boto3.outputs.result }}\"\n\n            const versions = await getPackageVersions('boto3-stubs-full', boto3Version)\n            core.info(`Built versions ${versions}`)\n\n            if (!versions.length) {\n              core.notice(`No builds found, building initial ${boto3Version}`)\n              return boto3Version\n            }\n\n            if (!force) {\n              core.notice(`Builds ${versions} found, skipping`)\n              return ''\n            }\n\n            const lastVersion = versions.pop()\n            core.notice(`Last version ${lastVersion}`)\n\n            const version = getNextPostVersion(lastVersion)\n            core.notice(`Version ${version}`)\n            return version\n      - name: Extra flags\n        id: extra-flags\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const extraFlags = []\n\n            const noSmartVersion = context.payload.inputs ? context.payload.inputs.no_smart_version !== 'false' : true\n            if (noSmartVersion) extraFlags.push('--no-smart-version')\n\n            core.notice(`Extra flags = ${extraFlags}`)\n            return extraFlags.join(' ')\n      - name: Boto3 download URL\n        id: boto3-url\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getDownloadURL, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const url = await getDownloadURL('boto3', \"${{ steps.boto3.outputs.result }}\")\n            core.notice(`boto3 download URL ${url}`)\n            return url\n      - name: Botocore download URL\n        id: botocore-url\n        if: steps.version.outputs.result\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { getDownloadURL, setupGlobals } = require('./.github/workflows/helpers.js')\n            setupGlobals({ core, context, fetch })\n\n            const url = await getDownloadURL('botocore', \"${{ steps.botocore.outputs.result }}\")\n            core.notice(`botocore download URL ${url}`)\n            return url\n\n  publish-boto3-stubs:\n    name: Publish boto3-stubs\n    runs-on: ubuntu-latest\n    needs: versions\n    if: needs.versions.outputs.version\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: pyproject.toml\n      - name: Install boto3\n        run: |\n          mkdir installtemp\n          cd installtemp\n          wget ${{ needs.versions.outputs.boto3-url }}\n          wget ${{ needs.versions.outputs.botocore-url }}\n          pip uninstall -y s3transfer\n          pip install botocore*.whl\n          pip install boto3*.whl\n          cd ..\n          rm -rf installtemp\n          python -m pip install newversion\n      - name: Install builder\n        run: |\n          rm -rf mypy_boto3_builder\n          python -m pip install mypy_boto3_builder\n      - name: Build\n        env:\n          VERSION: ${{ needs.versions.outputs.version }}\n          EXTRA_FLAGS: ${{ needs.versions.outputs.extra-flags }}\n        run: |\n          rm -rf mypy_boto3_output/*\n\n          echo \"Building\"\n          python -m mypy_boto3_builder mypy_boto3_output -b ${VERSION} --product boto3 boto3-full ${EXTRA_FLAGS} -s all -d\n      - name: Install dependencies for publishing\n        run: |\n          python -m pip install setuptools wheel twine\n      - name: Publish to PyPI\n        env:\n          PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python ./scripts/release.py\n", "state": "active", "repository": "youtype/mypy_boto3_builder"}
{"mined_at": "2024-07-15T17:06:50.553769", "created_at": "2021-09-20T16:21:16+02:00", "updated_at": "2021-09-20T16:21:16+02:00", "name": "Check PR change log", "path": ".github/workflows/changelog_check.yml", "contents": "name: Check PR change log\n\non:\n  pull_request:\n    types: [opened, synchronize, labeled, unlabeled]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  changelog_checker:\n    name: Check if change log entry is correct\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check change log entry\n      uses: scientific-python/action-check-changelogfile@0.3\n      env:\n        CHANGELOG_FILENAME: CHANGES.rst\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "spacetelescope/jdaviz"}
{"mined_at": "2024-07-15T17:06:51.785320", "created_at": "2024-02-15T19:58:58+01:00", "updated_at": "2024-02-15T19:58:58+01:00", "name": "Check PR milestone", "path": ".github/workflows/check_milestone.yml", "contents": "name: Check PR milestone\n\non:\n  # So it cannot be skipped.\n  pull_request_target:\n    types: [opened, synchronize, milestoned, demilestoned]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  # https://stackoverflow.com/questions/69434370/how-can-i-get-the-latest-pr-data-specifically-milestones-when-running-yaml-jobs\n  milestone_checker:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/github-script@v7\n      if: github.repository == 'spacetelescope/jdaviz'\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        script: |\n          const { data } = await github.request(\"GET /repos/{owner}/{repo}/pulls/{pr}\", {\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              pr: context.payload.pull_request.number\n            });\n            if (data.milestone) {\n              core.info(`This pull request has a milestone set: ${data.milestone.title}`);\n            } else {\n              core.setFailed(`A maintainer needs to set the milestone for this pull request.`);\n            }\n", "state": "active", "repository": "spacetelescope/jdaviz"}
{"mined_at": "2024-07-15T17:06:52.889233", "created_at": "2020-11-23T20:55:19+01:00", "updated_at": "2020-11-23T20:55:19+01:00", "name": "Cron Scheduled CI Tests", "path": ".github/workflows/ci_cron_weekly.yml", "contents": "# GitHub Actions workflow that runs on a cron schedule.\nname: Cron Scheduled CI Tests\n\non:\n  workflow_dispatch:\n  schedule:\n    # run at 9am UTC on Mondays\n    - cron: '0 9 * * 1'\n  pull_request:\n    # We also want this workflow triggered if the 'Extra CI' label is added\n    # or present when PR is updated\n    types:\n      - synchronize\n      - labeled\n\npermissions:\n  contents: read\n\njobs:\n  # The linkcheck job tests that the links in the docs point to real places\n  # The if statement is to prevent cron from running on forks.\n  linkcheck:\n    runs-on: ubuntu-latest\n    if: (github.repository == 'spacetelescope/jdaviz' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Extra CI')))\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python to build docs with sphinx\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install base dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox\n    - name: Check links in docs using tox\n      run: tox -e linkcheck\n\n  ci_cron_tests_dev_roman:\n    name: Python 3.11 with latest dev versions of key dependencies and Roman\n    runs-on: ubuntu-latest\n    if: (github.repository == 'spacetelescope/jdaviz' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Extra CI')))\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install base dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox\n    - name: Test with tox\n      run: tox -e py311-test-devdeps-romandeps\n\n  ci_cron_tests_stable_roman:\n    name: Python 3.10 with stable versions of dependencies and Roman\n    runs-on: ubuntu-latest\n    if: (github.repository == 'spacetelescope/jdaviz' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Extra CI')))\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: Install base dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox\n    - name: Test with tox\n      run: tox -e py310-test-romandeps\n", "state": "active", "repository": "spacetelescope/jdaviz"}
{"mined_at": "2024-07-15T17:06:54.063046", "created_at": "2020-11-23T20:55:19+01:00", "updated_at": "2021-04-28T17:23:38+02:00", "name": "CI", "path": ".github/workflows/ci_workflows.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n    - main\n    - 'v*'\n    tags:\n    - 'v*'\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  # Github Actions supports ubuntu, windows, and macos virtual environments:\n  # https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners\n  ci_tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.allow_failure }}\n    strategy:\n      matrix:\n        include:\n          - name: Code style checks\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: codestyle\n            allow_failure: false\n\n          - name: PEP 517\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: pep517\n            allow_failure: false\n\n          - name: Security audit\n            os: ubuntu-latest\n            python: 3.x\n            toxenv: securityaudit\n            allow_failure: false\n\n          - name: Python 3.11 with coverage checking, all deps, and remote data\n            os: ubuntu-latest\n            python: '3.11'\n            toxenv: py311-test-alldeps-cov\n            toxposargs: --remote-data\n            allow_failure: false\n\n          - name: OS X - Python 3.12\n            os: macos-latest\n            python: '3.12'\n            toxenv: py312-test\n            allow_failure: false\n\n          - name: Windows - Python 3.10\n            os: windows-latest\n            python: '3.10'\n            toxenv: py310-test\n            allow_failure: false\n\n          # This also runs on cron but we want to make sure new changes\n          # won't break this job at the PR stage.\n          - name: Python 3.12 with latest dev versions of key dependencies, and remote data\n            os: ubuntu-latest\n            python: '3.12'\n            toxenv: py312-test-devdeps\n            toxposargs: --remote-data --run-slow\n            allow_failure: true\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up python ${{ matrix.python }} on ${{ matrix.os }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install base dependencies\n      run: python -m pip install --upgrade pip tox\n    - name: Test/run with tox\n      run: tox -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}\n    - name: Upload coverage to artifacts\n      if: \"contains(matrix.toxenv, '-cov')\"\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage_${{ matrix.toxenv }}.xml\n        path: coverage.xml\n        if-no-files-found: error\n\n  upload-codecov:\n    needs: [ ci_tests ]\n    permissions:\n      contents: none\n    runs-on: ubuntu-latest\n    name: Upload Coverage\n    steps:\n    - name: Download coverage artifacts\n      uses: actions/download-artifact@v4\n      with:\n        path: coverage\n        pattern: coverage_*\n        merge-multiple: true\n    - name: Upload report to Codecov\n      if: ${{ hashFiles('coverage/') != '' }}\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        directory: coverage\n        fail_ci_if_error: true\n        verbose: true\n", "state": "active", "repository": "spacetelescope/jdaviz"}
{"mined_at": "2024-07-15T17:06:55.180895", "created_at": "2021-04-21T23:01:27+02:00", "updated_at": "2021-05-06T20:30:01+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\r\n# to commit it to your repository.\r\n#\r\n# You may wish to alter this file to override the set of languages analyzed,\r\n# or to provide custom queries or build logic.\r\nname: \"CodeQL\"\r\n\r\non:\r\n  schedule:\r\n    # run every Monday at 3am UTC\r\n    - cron: '0 3 * * 1'\r\n\r\njobs:\r\n  analyze:\r\n    name: Analyze\r\n    runs-on: ubuntu-latest\r\n\r\n    strategy:\r\n      fail-fast: true\r\n      matrix:\r\n        language: [ 'python', 'javascript' ]\r\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\r\n        # Learn more:\r\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\r\n\r\n    steps:\r\n    - name: Checkout repository\r\n      uses: actions/checkout@v4\r\n      with:\r\n        fetch-depth: 0\r\n\r\n    # Initializes the CodeQL tools for scanning.\r\n    - name: Initialize CodeQL\r\n      uses: github/codeql-action/init@v3\r\n      with:\r\n        languages: ${{ matrix.language }}\r\n        # If you wish to specify custom queries, you can do so here or in a config file.\r\n        # By default, queries listed here will override any specified in a config file.\r\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\r\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\r\n\r\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\r\n    # If this step fails, then you should remove it and run the build manually (see below)\r\n    - name: Autobuild\r\n      uses: github/codeql-action/autobuild@v3\r\n\r\n    # ℹ️ Command-line programs to run using the OS shell.\r\n    # 📚 https://git.io/JvXDl\r\n\r\n    # ✏️ If the Autobuild fails above, remove it and build your code if your project\r\n    #    uses a compiled language\r\n\r\n    - name: Perform CodeQL Analysis\r\n      uses: github/codeql-action/analyze@v3\r\n", "state": "active", "repository": "spacetelescope/jdaviz"}
{"mined_at": "2024-07-15T17:06:56.180753", "created_at": "2021-04-23T17:36:21+02:00", "updated_at": "2021-04-23T17:36:21+02:00", "name": "When Opened", "path": ".github/workflows/open_actions.yml", "contents": "name: \"When Opened\"\n\non:\n  issues:\n    types:\n    - opened\n  pull_request_target:\n    types:\n    - opened\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n    # NOTE: sync-labels due to https://github.com/actions/labeler/issues/112\n    - name: Label PR\n      uses: actions/labeler@v5\n      if: github.event_name == 'pull_request_target' && github.event.pull_request.user.login != 'meeseeksmachine'\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n    # Special action for a special day. Until next year!\n    #- name: Special comment\n    #  uses: pllim/action-special_pr_comment@main\n    #  with:\n    #    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "spacetelescope/jdaviz"}
{"mined_at": "2024-07-15T17:06:57.413811", "created_at": "2022-12-09T00:44:25+01:00", "updated_at": "2023-02-08T23:52:15+01:00", "name": "rc-testing", "path": ".github/workflows/predeps_workflows.yml", "contents": "name: rc-testing\n\non:\n  workflow_dispatch:\n  schedule:\n    # run at 9am UTC on Tuesdays\n    - cron: '0 9 * * 2'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\njobs:\n  # Github Actions supports ubuntu, windows, and macos virtual environments:\n  # https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners\n  ci_tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n\n          - name: RC testing on Linux with remote data\n            os: ubuntu-latest\n            python: '3.12'\n            toxenv: py312-test-predeps\n            toxposargs: --remote-data\n\n          - name: RC testing on OSX\n            os: macos-latest\n            python: '3.10'\n            toxenv: py310-test-predeps\n\n          - name: RC testing on Windows\n            os: windows-latest\n            python: '3.11'\n            toxenv: py311-test-predeps\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up python ${{ matrix.python }} on ${{ matrix.os }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install base dependencies\n      run: python -m pip install --upgrade pip tox\n    - name: Test/run with tox\n      run: tox -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}\n", "state": "active", "repository": "spacetelescope/jdaviz"}
{"mined_at": "2024-07-15T17:06:58.540849", "created_at": "2021-03-15T21:11:30+01:00", "updated_at": "2021-09-14T00:48:13+02:00", "name": "Release", "path": ".github/workflows/publish.yml", "contents": "name: Release\n\non:\n  # NOTE: PR trigger is to ensure changes do not break packaging.\n  pull_request:\n  release:\n    types: [released]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    runs-on: ubuntu-latest\n    if: github.repository == 'spacetelescope/jdaviz'\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Install python-build and twine\n      run: python -m pip install build \"twine>=3.3\"\n\n    - name: Build package\n      run: python -m build --sdist --wheel .\n\n    - name: List result\n      run: ls -l dist\n\n    - name: Check dist\n      run: python -m twine check --strict dist/*\n\n    - name: Test package\n      run: |\n        cd ..\n        python -m venv testenv\n        testenv/bin/pip install pytest pytest-astropy pytest-tornasync jdaviz/dist/*.whl\n        testenv/bin/python -c \"import jdaviz; jdaviz.test(remote_data=True)\"\n\n    # NOTE: Do not run this part for PR testing.\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      if: github.event_name != 'pull_request'\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "spacetelescope/jdaviz"}
{"mined_at": "2024-07-15T17:06:59.668908", "created_at": "2023-01-10T16:32:08+01:00", "updated_at": "2023-08-18T17:15:44+02:00", "name": "Build standalone", "path": ".github/workflows/standalone.yml", "contents": "name: Build standalone\n\non:\n  push:\n    branches:\n    - main\n    - 'v*'\n    tags:\n    - 'v*'\n  workflow_dispatch:\n  pull_request:\n\ndefaults:\n  run:\n    shell: bash {0}\n\njobs:\n  build_binary_not_osx:\n    runs-on: ${{ matrix.os }}-latest\n    if: (github.repository == 'spacetelescope/jdaviz' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Build standalone')))\n    strategy:\n      matrix:\n        os: [ubuntu, windows]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n\n    - name: Install jdaviz\n      run: pip install .[test]\n\n    - name: Install pyinstaller\n      run: pip install \"pyinstaller<6\"\n\n    - name: Create standalone binary\n      env:\n        DEVELOPER_ID_APPLICATION: ${{ secrets.DEVELOPER_ID_APPLICATION }}\n      run: (cd standalone; pyinstaller ./jdaviz.spec)\n\n    - name: Run jdaviz cmd in background\n      run: ./standalone/dist/jdaviz/jdaviz-cli imviz&\n\n    - name: Install playwright\n      run: (pip install playwright; playwright install chromium)\n\n    - name: Install pytest\n      run: pip install pytest-playwright\n\n    - name: Wait for Voila to get online\n      uses: ifaxity/wait-on-action@a7d13170ec542bdca4ef8ac4b15e9c6aa00a6866  # v1.2.1\n      with:\n        resource: tcp:8866\n        timeout: 60000\n\n    - name: Test standalone\n      run: (cd standalone; touch pytest.ini; JUPYTER_PLATFORM_DIRS=1 pytest test_standalone.py --video=on)\n\n    - name: Upload Test artifacts\n      if: github.event_name != 'pull_request'\n      uses: actions/upload-artifact@v3\n      with:\n        name: test-results-${{ matrix.os }}\n        path: standalone/test-results\n\n    - name: Upload jdaviz standalone (non-OSX)\n      if: github.event_name != 'pull_request'\n      uses: actions/upload-artifact@v3\n      with:\n        name: jdaviz-standlone-${{ matrix.os }}\n        path: |\n          standalone/dist/jdaviz\n\n  # Do not want to deal with OSX certs in pull request builds.\n  build_binary_osx:\n    runs-on: ${{ matrix.os }}-latest\n    if: (github.repository == 'spacetelescope/jdaviz' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch'))\n    strategy:\n      matrix:\n        os: [macos]\n    steps:\n    # osx signing based on https://melatonin.dev/blog/how-to-code-sign-and-notarize-macos-audio-plugins-in-ci/\n    - name: Import Certificates (macOS)\n      uses: apple-actions/import-codesign-certs@v3\n      if: ${{ matrix.os == 'macos' }}\n      with:\n        p12-file-base64: ${{ secrets.DEV_ID_APP_CERT }}\n        p12-password: ${{ secrets.DEV_ID_APP_PASSWORD }}\n\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n\n    - name: Install jdaviz\n      run: pip install .[test]\n\n    - name: Install pyinstaller\n      run: pip install \"pyinstaller<6\"\n\n    - name: Create standalone binary\n      env:\n        DEVELOPER_ID_APPLICATION: ${{ secrets.DEVELOPER_ID_APPLICATION }}\n      run: (cd standalone; pyinstaller ./jdaviz.spec)\n\n    - name: Remove invalid files for OSX\n      # hopefully we can improve this in the future\n      # by using good hooks\n      # i think the issue is that we have a . in the name, there are many\n      # google hits on pyqt having the same issue\n      # and we might be able to remove it after https://github.com/pyinstaller/pyinstaller/pull/7619\n      # is released (pyinstaller 5.13 probably)\n      if: ${{ matrix.os == 'macos' }}\n      run: |\n        rm -rf standalone/dist/jdaviz.app/Contents/MacOS/skimage/.dylibs\n        rm -rf standalone/dist/jdaviz.app/Contents/Resources/skimage/.dylibs\n        rm -rf standalone/dist/jdaviz.app/Contents/MacOS/shapely/.dylibs\n        rm -rf standalone/dist/jdaviz.app/Contents/Resources/shapely/.dylibs\n        rm -rf standalone/dist/jdaviz.app/Contents/MacOS/scipy/.dylibs\n        rm -rf standalone/dist/jdaviz.app/Contents/Resources/scipy/.dylibs\n\n    - name: Codesign (OSX)\n      if: ${{ matrix.os == 'macos' }}\n      run: |\n        cd standalone/dist\n        codesign --deep --force --options=runtime --entitlements ../entitlements.plist --sign ${{ secrets.DEVELOPER_ID_APPLICATION }} --timestamp jdaviz.app\n\n    - name: Create dmg (OSX)\n      # if we do not call always() GHA will && with success()\n      if: ${{ always() && (matrix.os == 'macos') }}\n      # it seems ditto (not zip) should be used in combination with notarization\n      # see https://developer.apple.com/forums/thread/116831\n      # but dmg also works\n      # see https://github.com/glue-viz/glue-standalone-apps/blob/main/.github/workflows/build_stable.yml\n      run: |\n        rm -rf standalone/dist/jdaviz\n        hdiutil create -volname \"Jdaviz\" -srcfolder standalone/dist -ov -format UDZO standalone/dist/jdaviz.dmg\n\n    - name: Notary step + stapling (OSX)\n      if: ${{ matrix.os == 'macos' }}\n      run: |\n        output=$(xcrun notarytool submit standalone/dist/jdaviz.dmg --apple-id ${{ secrets.NOTARIZATION_USERNAME }} --team-id ${{ secrets.TEAM_ID }} --wait --password ${{ secrets.NOTARIZATION_PASSWORD }}) || true\n        echo \"$output\"\n        uuid=$(echo \"$output\" | awk -F '[ :]+' '/id:/ {print $3; exit}')\n        echo \"UUID: $uuid\"\n        if [[ $output == *\"status: Accepted\"* ]]; then\n          echo \"Great, notarization succeeded, staple it!\"\n          xcrun stapler staple standalone/dist/jdaviz.dmg\n        else\n          echo \"Log output for failed notarization: $uuid\"\n          xcrun notarytool log --apple-id ${{ secrets.NOTARIZATION_USERNAME }} --team-id ${{ secrets.TEAM_ID }} --password ${{ secrets.NOTARIZATION_PASSWORD }} $uuid || true\n        fi\n\n    - name: Validate app (OSX)\n      if: ${{ matrix.os == 'macos' }}\n      run: |\n        spctl -a -vvv -t execute standalone/dist/jdaviz.app\n\n    - name: Run jdaviz cmd in background\n      if: ${{ matrix.os == 'macos' }}\n      run: ./standalone/dist/jdaviz.app/Contents/MacOS/jdaviz-cli imviz&\n\n    - name: Install playwright\n      run: (pip install playwright; playwright install chromium)\n\n    - name: Install pytest\n      run: pip install pytest-playwright\n\n    - name: Wait for Voila to get online\n      uses: ifaxity/wait-on-action@a7d13170ec542bdca4ef8ac4b15e9c6aa00a6866  # v1.2.1\n      with:\n        resource: tcp:8866\n        timeout: 60000\n\n    - name: Test standalone\n      run: (cd standalone; touch pytest.ini; JUPYTER_PLATFORM_DIRS=1 pytest test_standalone.py --video=on)\n\n    - name: Upload Test artifacts\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        name: test-results-${{ matrix.os }}\n        path: standalone/test-results\n\n    - name: Upload jdaviz standalone (OSX)\n      if: ${{ always() && (matrix.os == 'macos') }}\n      uses: actions/upload-artifact@v3\n      with:\n        name: jdaviz-standlone-${{ matrix.os }}\n        path: standalone/dist/jdaviz.dmg\n", "state": "active", "repository": "spacetelescope/jdaviz"}
{"mined_at": "2024-07-15T17:07:01.808875", "created_at": "2022-03-07T08:46:26+01:00", "updated_at": "2022-03-07T08:46:26+01:00", "name": "Periodic Link Checker", "path": ".github/workflows/links-watcher-cron.yml", "contents": "name: Periodic Link Checker\n\non:\n#  schedule:\n#    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\npermissions:\n  contents: read\n  issues: write\n\njobs:\n  link-checker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Checkout source code\"\n        uses: actions/checkout@v4\n      - name: Link Checker\n        id: lychee\n        uses: lycheeverse/lychee-action@v1.9.3\n        with:\n          args: --verbose --no-progress --max-concurrency 2 --exclude-mail --exclude-loopback './**/*.md'\n          output: ./lychee/out.md\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n      - name: Find existing issue\n        id: find_issue\n        uses: micalevisk/last-issue-action@v2\n        if: ${{ steps.lychee.outputs.exit_code }} != 0\n        with:\n          state: open\n          labels: |\n            broken link\n            automated issue      \n      - name: Create or update issue for broken links\n        uses: peter-evans/create-issue-from-file@v5\n        if: ${{ steps.lychee.outputs.exit_code }} != 0\n        with:\n          title: Link Checker Report\n          # If issue number is empty a new issue gets\n          issue-number: ${{ steps.find_issue.outputs.issue-number }}\n          content-filepath: ./lychee/out.md\n          labels: broken link, automated issue\n          ", "state": "active", "repository": "sap-samples/btp-setup-automator"}
{"mined_at": "2024-07-15T17:07:02.933540", "created_at": "2022-03-07T08:48:14+01:00", "updated_at": "2022-03-29T10:38:06+02:00", "name": "Build Python Project and Docker Image", "path": ".github/workflows/build-quality-check.yml", "contents": "name: Build Python Project and Docker Image\n\non:\n  #push:\n  #  branches: [\"main\", \"dev\"]\n  #pull_request:\n  #  types: [opened, edited, synchronize, reopened]\n  #  branches: [\"main\", \"dev\"]\n  workflow_dispatch:\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest\n          pip install -r ./config/python/requirements.txt\n      - name: Check for outdated dependencies\n        run: |\n          pip list --outdated\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 ./libs/python/ --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 ./libs/python/ --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n     \n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v0.11.6\n        #with:\n        #  buildkitd-flags: --debug\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build Docker image\n        uses: docker/build-push-action@v5.1.0\n        with:\n          context: .\n          platforms: linux/amd64\n          file: ./config/Dockerfile\n          build-args: |\n            BTPSA_VERSION_GIT_ARG=${{ github.sha }}\n          push: false\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "sap-samples/btp-setup-automator"}
{"mined_at": "2024-07-15T17:07:04.172766", "created_at": "2022-04-04T12:05:37+02:00", "updated_at": "2022-04-08T16:05:33+02:00", "name": "BTPSA - Integration Test - full (no trial)", "path": ".github/workflows/integration-test-full.yml", "contents": "name: BTPSA - Integration Test - full (no trial)\n# This file represents a complete version of the \"BTP Setup Automator\" integration tests\n# All tests are executed in sequence on one BTP account to avoid entitlement limits\n# This is why not matrix strategy is used\n# The steps of a job must execute in any case, so we use always()\n\non:\n  workflow_dispatch:\n\njobs:\n  integration-test:\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/sap-samples/btp-setup-automator:latest\n      options: --user root\n    env:\n      BTPSA_PARAM_MYEMAIL: ${{ secrets.BTPSA_PARAM_MYEMAIL }}\n      BTPSA_PARAM_GLOBALACCOUNT: ${{ secrets.BTPSA_PARAM_GLOBALACCOUNT }}\n      BTPSA_PARAM_MYPASSWORD: ${{ secrets.BTPSA_PARAM_MYPASSWORD }}\n    steps:\n      - name: 'Integration test 01: Default use case'\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest01.json'\n      - name: \"Integration test 02: Deploy full-stack CAP application running in SAP Launchpad\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest02.json'\n      - name: \"Integration test 04: Only app subscriptions\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest04.json'\n      - name: \"Integration test 05: Only one service without app subscriptions and with an admin, that is the same like the one logging into the script.\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest05.json'\n      - name: \"Integration test 06: Create service keys\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest06.json'\n      - name: 'Integration test 07: Setup SAP Task Center'\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest07.json'\n      - name: \"Integration test 10: Setup a Kyma environment on GCP\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest10.json'\n", "state": "active", "repository": "sap-samples/btp-setup-automator"}
{"mined_at": "2024-07-15T17:07:05.354162", "created_at": "2022-04-04T12:05:37+02:00", "updated_at": "2022-04-08T16:04:35+02:00", "name": "BTPSA - Integration Test - short", "path": ".github/workflows/integration-test-slim.yml", "contents": "name: BTPSA - Integration Test - short\n# This file represents a slim version of the \"BTP Setup Automator\" integration tests\n# All tests are executed in sequence on one BTP account to avoid entitlement limits\n# This is why not matrix strategy is used\n# The steps of a job must execute in any case, so we use always()\n\non:\n  workflow_dispatch:\n\njobs:\n    integration-test:\n        runs-on: ubuntu-latest\n        container:\n          image: ghcr.io/sap-samples/btp-setup-automator:latest\n          options: --user root\n        env: \n            BTPSA_PARAM_MYEMAIL: ${{ secrets.BTPSA_PARAM_MYEMAIL }}\n            BTPSA_PARAM_GLOBALACCOUNT: ${{ secrets.BTPSA_PARAM_GLOBALACCOUNT }}\n            BTPSA_PARAM_MYPASSWORD: ${{ secrets.BTPSA_PARAM_MYPASSWORD }}\n        steps:\n            - name: 'Integration test 01: Default use case'\n              if: ${{ always() }}\n              working-directory: /home/user\n              shell: bash\n              run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest01.json'\n            - name: 'Integration test 07: Setup SAP Task Center'\n              if: ${{ always() }}\n              working-directory: /home/user\n              shell: bash \n              run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest07.json'              \n            - name: 'Integration test 04: Only app subscriptions'\n              if: ${{ always() }}\n              working-directory: /home/user\n              shell: bash \n              run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest04.json'\n            - name: 'Integration test 05: Only one service without app subscriptions and with an admin, that is the same like the one logging into the script.'\n              if: ${{ always() }}\n              working-directory: /home/user\n              shell: bash \n              run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest05.json'\n            - name: 'Integration test 06: create service keys'\n              if: ${{ always() }}\n              working-directory: /home/user\n              shell: bash \n              run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest06.json'\n", "state": "active", "repository": "sap-samples/btp-setup-automator"}
{"mined_at": "2024-07-15T17:07:06.527624", "created_at": "2022-05-06T10:01:53+02:00", "updated_at": "2022-05-06T11:38:00+02:00", "name": "PR Integration Test (branches - slim)", "path": ".github/workflows/stage-integration-test-slim.yml", "contents": "name: PR Integration Test (branches - slim)\n# INTEGRATION TEST FOR PULL REQUESTS ON BRANCHES != MAIN\n# This file represents a slim version of the \"BTP Setup Automator\" integration tests\n# for PRs on branches\n# It executes the following steps:\n# - based on the branch it creates a temporary Docker image and pushes it to the GH registry\n# - it executes the integration tests on the temporary docker image\n# - it deletes the temporary Docker image after execution\n#\n# All tests are executed in sequence on one BTP account to avoid entitlement limits\n# This is why not matrix strategy is used\n# The steps of a job must execute in any case, so we use always()\n\non:\n  workflow_dispatch:\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: tmp-${{ github.ref_name }}\n  LABEL: ${{ github.ref_name }}\n  ORG: sap-samples\n\njobs:\n  build-temporary-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    outputs:\n      image_path: ${{ steps.set-image-path.outputs.image_path }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v0.10.6\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ github.repository }}/${{ env.IMAGE_NAME }}\n      - name: Build Docker image\n        id: dockerbuild\n        uses: docker/build-push-action@v5.1.0\n        with:\n          context: .\n          file: ./config/Dockerfile\n          build-args: |\n            BTPSA_VERSION_GIT_ARG=${{ github.sha }}\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n      - id: set-image-path\n        name: Set image path to output\n        run: echo \"image_path=${{ fromJSON(steps.dockerbuild.outputs.metadata)['image.name'] }}\" >> $GITHUB_OUTPUT\n\n  integration-test-for-pr-slim:\n    needs: build-temporary-image\n    runs-on: ubuntu-latest\n    container:\n      image: ${{ needs.build-temporary-image.outputs.image_path }}\n      options: --user root\n    env:\n      BTPSA_PARAM_MYEMAIL: ${{ secrets.BTPSA_PARAM_MYEMAIL }}\n      BTPSA_PARAM_GLOBALACCOUNT: ${{ secrets.BTPSA_PARAM_GLOBALACCOUNT }}\n      BTPSA_PARAM_MYPASSWORD: ${{ secrets.BTPSA_PARAM_MYPASSWORD }}\n    steps:\n      - name: 'Integration test 01: Default use case'\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest01.json'\n      - name: 'Integration test 07: Setup SAP Task Center'\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest07.json'\n      - name: \"Integration test 04: Only app subscriptions\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest04.json'\n      - name: \"Integration test 05: Only one service without app subscriptions and with an admin, that is the same like the one logging into the script.\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest05.json'\n      - name: \"Integration test 06: create service keys\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest06.json'\n\n  delete-temporary-image:\n    if: ${{ success() }} || ${{ failure() }}\n    needs: [build-temporary-image, integration-test-for-pr-slim]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v7\n        env:\n          IMAGE: ${{ needs.build-temporary-image.outputs.image_path }}\n        with:\n          github-token: ${{ secrets.DELETE_IMAGE_TOKEN }}\n          script: |\n            const imageName = process.env.IMAGE_NAME;\n            const {owner, repo} = context.repo; \n            const imageNameString = `${imageName}`;\n            const imageNameLowerCase = imageNameString.toLowerCase();\n            const packageName = `${repo}/${imageNameLowerCase}`;\n\n            const result = await github.rest.packages.getPackageForOrganization({\n              package_type: \"container\",\n              package_name: packageName,\n              org: owner\n            });\n\n            const deleteResult = await github.rest.packages.deletePackageForOrg({\n              package_type: result.data.package_type,\n              package_name: result.data.name,\n              org: result.data.owner.login\n            });\n", "state": "active", "repository": "sap-samples/btp-setup-automator"}
{"mined_at": "2024-07-15T17:07:07.645055", "created_at": "2022-05-06T11:50:04+02:00", "updated_at": "2022-05-06T11:50:04+02:00", "name": "PR Integration Test (branches - full)", "path": ".github/workflows/stage-integration-test-full.yml", "contents": "name: PR Integration Test (branches - full)\n# INTEGRATION TEST FOR PULL REQUESTS ON BRANCHES != MAIN\n# This file represents a complete version of the \"BTP Setup Automator\" integration tests\n# for PRs on branches\n# It executes the following steps:\n# - based on the branch it creates a temporary Docker image and pushes it to the GH registry\n# - it executes the integration tests on the temporary docker image\n# - it deletes the temporary Docker image after execution\n#\n# All tests are executed in sequence on one BTP account to avoid entitlement limits\n# This is why not matrix strategy is used\n# The steps of a job must execute in any case, so we use always()\n\non:\n  workflow_dispatch:\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: tmp-${{ github.ref_name }}\n  LABEL: ${{ github.ref_name }}\n  ORG: sap-samples\n  \njobs:\n  build-temporary-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    outputs:\n      image_path: ${{ steps.set-image-path.outputs.image_path }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v0.10.6\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ github.repository }}/${{ env.IMAGE_NAME }}\n      - name: Build Docker image\n        id: dockerbuild\n        uses: docker/build-push-action@v5.1.0\n        with:\n          context: .\n          file: ./config/Dockerfile\n          build-args: |\n            BTPSA_VERSION_GIT_ARG=${{ github.sha }}\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n      - id: set-image-path\n        name: Set image path to output\n        run: echo \"image_path=${{ fromJSON(steps.dockerbuild.outputs.metadata)['image.name'] }}\" >> $GITHUB_OUTPUT\n\n  integration-test-for-pr-full:\n    needs: build-temporary-image\n    runs-on: ubuntu-latest\n    container:\n      image: ${{ needs.build-temporary-image.outputs.image_path }}\n      options: --user root\n    env:\n      BTPSA_PARAM_MYEMAIL: ${{ secrets.BTPSA_PARAM_MYEMAIL }}\n      BTPSA_PARAM_GLOBALACCOUNT: ${{ secrets.BTPSA_PARAM_GLOBALACCOUNT }}\n      BTPSA_PARAM_MYPASSWORD: ${{ secrets.BTPSA_PARAM_MYPASSWORD }}\n    steps:\n      - name: 'Integration test 01: Default use case'\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest01.json'\n      - name: \"Integration test 02: Deploy full-stack CAP application running in SAP Launchpad\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest02.json'\n      - name: 'Integration test 07: Setup SAP Task Center'\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest07.json'\n      - name: \"Integration test 04: Only app subscriptions\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest04.json'\n      - name: \"Integration test 05: Only one service without app subscriptions and with an admin, that is the same like the one logging into the script.\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest05.json'\n      - name: \"Integration test 06: Create service keys\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest06.json'\n      - name: \"Integration test 10: Setup a Kyma environment on GCP\"\n        if: ${{ always() }}\n        working-directory: /home/user\n        shell: bash\n        run: ./btpsa -parameterfile 'https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/tests/integrationtests/parameterfiles/integrationtest10.json'\n\n  delete-temporary-image:\n    if: ${{ success() }} || ${{ failure() }}\n    needs: [build-temporary-image, integration-test-for-pr-full]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v7\n        env:\n          IMAGE: ${{ needs.build-temporary-image.outputs.image_path }}\n        with:\n          github-token: ${{ secrets.DELETE_IMAGE_TOKEN }}\n          script: |\n            const imageName = process.env.IMAGE_NAME;\n            const {owner, repo} = context.repo;\n            const imageNameString = `${imageName}`;\n            const imageNameLowerCase = imageNameString.toLowerCase();\n            const packageName = `${repo}/${imageNameLowerCase}`;\n\n            const result = await github.rest.packages.getPackageForOrganization({\n              package_type: \"container\",\n              package_name: packageName,\n              org: owner\n            });\n\n            const deleteResult = await github.rest.packages.deletePackageForOrg({\n              package_type: result.data.package_type,\n              package_name: result.data.name,\n              org: result.data.owner.login\n            });\n", "state": "active", "repository": "sap-samples/btp-setup-automator"}
{"mined_at": "2024-07-15T17:07:08.882913", "created_at": "2022-06-07T09:19:23+02:00", "updated_at": "2022-06-07T09:19:23+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [\"main\", \"dev\"]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [\"main\", \"dev\"]\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"python\", \"javascript\"]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n          # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n          # queries: security-extended,security-and-quality\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      #   If the Autobuild fails above, remove it and uncomment the following three lines.\n      #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n      # - run: |\n      #   echo \"Run, Build Application using script\"\n      #   ./location_of_script_within_repo/buildscript.sh\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "sap-samples/btp-setup-automator"}
{"mined_at": "2024-07-15T17:07:10.111354", "created_at": "2022-11-05T09:47:14+01:00", "updated_at": "2022-11-05T09:47:14+01:00", "name": "REUSE Compliance Check", "path": ".github/workflows/reuse-check.yml", "contents": "name: REUSE Compliance Check\r\n# To manually verify/falsify reuse checks\r\n\r\non:\r\n  workflow_dispatch:\r\n\r\njobs:\r\n  compliance-check:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n    - uses: actions/checkout@v4\r\n    - name: REUSE Compliance Check\r\n      uses: fsfe/reuse-action@v2\r\n", "state": "active", "repository": "sap-samples/btp-setup-automator"}
{"mined_at": "2024-07-15T17:07:11.329295", "created_at": "2022-11-14T12:26:00+01:00", "updated_at": "2022-11-14T12:26:00+01:00", "name": "Build and Push Docker Image (DEV)", "path": ".github/workflows/docker-dev-build-and-push.yml", "contents": "name: Build and Push Docker Image (DEV)\n\non:\n  workflow_dispatch:\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}-dev\n  DEV_BRANCH: dev\n\njobs:\n  build_and_push:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.DEV_BRANCH }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v0.11.6\n        #with:\n        #  buildkitd-flags: --debug\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build Docker image\n        uses: docker/build-push-action@v5.1.0\n        with:\n          context: .\n          platforms: linux/amd64\n          file: ./config/Dockerfile\n          build-args: |\n            BTPSA_VERSION_GIT_ARG=${{ github.sha }}\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "sap-samples/btp-setup-automator"}
{"mined_at": "2024-07-15T17:07:12.438289", "created_at": "2022-11-14T12:26:00+01:00", "updated_at": "2022-11-14T12:26:00+01:00", "name": "Build and Push Docker Image (RELEASE)", "path": ".github/workflows/docker-release-build-and-push.yml", "contents": "name: Build and Push Docker Image (RELEASE)\n\non:\n#  release:\n#    types: [published]\n  workflow_dispatch:  \n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build_and_push:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.release.commitish }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v0.11.6\n            \n        #with:\n        #  buildkitd-flags: --debug\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build Docker image\n        uses: docker/build-push-action@v5.1.0\n        with:\n          context: .\n          platforms: linux/amd64\n          file: ./config/Dockerfile\n          build-args: |\n            BTPSA_VERSION_GIT_ARG=${{ github.sha }}\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "sap-samples/btp-setup-automator"}
{"mined_at": "2024-07-15T17:07:13.591031", "created_at": "2022-11-14T07:51:35+01:00", "updated_at": "2023-12-17T09:56:42+01:00", "name": "Update metadata artifacts", "path": ".github/workflows/update-metadata-artifacts.yml", "contents": "name: Update metadata artifacts\n# This action executes the following up actions needed after an update of the metadata happened\n# 1. Generate the JSON schema for the usecase.json and the parameters.json file\n# 2. Based on the JSON schemas available for the parameters.json and usecase.json generate the documentation as markdown\n\non:\n  workflow_dispatch:\n#  repository_dispatch:\n#    types: [btp-metadata-update]\n\nenv:\n  TARGET_BRANCH: dev\n  METADATA_SOURCE_OWNER: SAP-samples\n  METADATA_SOURCE_REPO: btp-service-metadata\n  METADATA_VERSION: v0\n  METADATA_FOLDER: developer\n  METADATA_TARGET_CONFIG_FOLDER: config\n  METADATA_TARGET_BASE_FOLDER: btp_base\n  EXECUTED_BY_GHACTION: active\n\njobs:\n  update-metadata-artifacts:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.TARGET_BRANCH }}\n\n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"18\"\n\n      # Fetch curated metadata from SAP-samples/btp-service-metadata\n      - name: Clean up temporary metadata folder\n        run: |\n          mkdir -p ${{ env.METADATA_TARGET_CONFIG_FOLDER }}/${{ env.METADATA_TARGET_BASE_FOLDER }}/${{ env.METADATA_VERSION }}/${{ env.METADATA_FOLDER }}\n          rm -rf ${{ env.METADATA_TARGET_CONFIG_FOLDER }}/${{ env.METADATA_TARGET_BASE_FOLDER }}/${{ env.METADATA_VERSION }}/${{ env.METADATA_FOLDER }}/*\n\n      - name: Install dependencies for metadata fetching\n        run: |\n          cd .github/scripts\n          npm ci\n\n      - name: Fetch metadata\n        run: |\n          cd .github/scripts\n          export METADATA_READ_TOKEN=${{ secrets.METADATA_READ_TOKEN }} \n          export METADATA_SOURCE_OWNER=${{ env.METADATA_SOURCE_OWNER }}\n          export METADATA_SOURCE_REPO=${{ env.METADATA_SOURCE_REPO }}\n          export METADATA_VERSION=${{ env.METADATA_VERSION }}\n          export METADATA_FOLDER=${{ env.METADATA_FOLDER }}\n          export METADATA_TARGET_CONFIG_FOLDER=${{ env.METADATA_TARGET_CONFIG_FOLDER }}\n          export METADATA_TARGET_BASE_FOLDER=${{ env.METADATA_TARGET_BASE_FOLDER }}\n          npm run fetch:metadata\n\n      # Generate JSON schema for usecase.json and parameters.json\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies for JSON schema generation\n        run: |\n          cd config/python\n          pip install -r requirements.txt\n\n      - name: Execute generation of JSON schemas\n        run: |\n          cd libs/python\n          export METADATA_READ_TOKEN=${{ secrets.METADATA_READ_TOKEN }} \n          export METADATA_SOURCE_OWNER=${{ env.METADATA_SOURCE_OWNER }}\n          export METADATA_SOURCE_REPO=${{ env.METADATA_SOURCE_REPO }}\n          export METADATA_VERSION=${{ env.METADATA_VERSION }}\n          export METADATA_FOLDER=${{ env.METADATA_FOLDER }}\n          export METADATA_TARGET_CONFIG_FOLDER=${{ env.METADATA_TARGET_CONFIG_FOLDER }}\n          export METADATA_TARGET_BASE_FOLDER=${{ env.METADATA_TARGET_BASE_FOLDER }}\n          export IS_EXECUTED_BY_GHACTION=${{ env.EXECUTED_BY_GHACTION }}\n          python3 generator\n\n      - name: Clean up temporary metadata folder\n        run: rm -rf ${{ env.METADATA_TARGET_CONFIG_FOLDER }}/${{ env.METADATA_TARGET_BASE_FOLDER }}/*\n\n      # Generate documentation for parameters of usecase.json and parameters.json\n      - name: Install jsonschema2md\n        run: npm install -g @adobe/jsonschema2md\n\n      - name: Create/Clear output folder\n        run: |\n          mkdir -p docs/generated/\n          rm -rf docs/generated/*\n\n      - name: Copy base files to output folder\n        run: |\n          cp libs/btpsa-parameters.json docs/generated/\n          cp libs/btpsa-usecase.json docs/generated/\n\n      - name: Generate documentation\n        run: jsonschema2md -d \"docs/generated/\" -o \"docs/generated/\" -e json -v 07 -h false  -x -\n\n      - name: Remove base files from output folder\n        # remove the source files as well as the generated main README.md\n        run: |\n          rm docs/generated/btpsa-parameters.json\n          rm docs/generated/btpsa-usecase.json\n          rm docs/generated/README.md\n\n      - name: Commit and push changes\n        run: |\n          git add -A\n          git config user.email \"btpsabot@users.noreply.github.com\"\n          git config user.name \"[btpsa bot] docu generation\"\n          git diff --quiet && git diff --staged --quiet || git commit -m \"[btpsa bot] Generate parameter documentation\"\n          git push origin ${{ env.TARGET_BRANCH }}\n", "state": "disabled_manually", "repository": "sap-samples/btp-setup-automator"}
{"mined_at": "2024-07-15T17:07:15.765169", "created_at": "2022-08-06T16:37:27+02:00", "updated_at": "2022-08-06T18:15:01+02:00", "name": "Compatibility", "path": ".github/workflows/compatibility.yml", "contents": "name: Compatibility\n\non:\n  create:\n    tags: ['*']\n  push:\n    branches: ['master']\n  schedule:\n  - cron: 0 23 * * *\n\njobs:\n  lint:\n    name: Lint (Python ${{ matrix.python-version }})\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Cache dependencies\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        pip install -r requirements/dev.txt\n        python setup.py build\n    - name: Lint with ruff\n      run: |\n        ruff coredis tests\n    - name: Lint with black\n      run: |\n        black --check coredis tests\n    - name: Check imports\n      run: |\n        isort -c --profile=black coredis tests\n    - name: Check types\n      run: |\n        mypy coredis\n    - name: Check auto generated sources\n      run: |\n        make templated-sources\n        if [ ! -z \"$(git diff coredis)\" ];\n        then\n          echo \"Auto-generated source are not up to date\"\n          git diff\n          exit 1\n        fi;\n  test:\n    name: Test (Python ${{ matrix.python-version }}, Redis ${{ matrix.redis-version }}${{ matrix.uvloop == 'True' && ', uvloop' || ''}}${{ matrix.orjson == 'True' && ', orjson' || ''}}${{ matrix.extensions == 'True' && ', compiled' || ''}}${{ matrix.label && format(', {0}', matrix.label) || '' }})\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ matrix.redis-version == 'next' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n        redis-version: [\"6.2\", \"7.0\", \"7.2\", \"latest\"]\n        test_params: [\"-m '(not (keydb or dragonfly or valkey or redict))'\"]\n        orjson: [\"False\"]\n        uvloop: [\"True\", \"False\"]\n        runtime_type_checks: [\"True\"]\n        extensions: [\"True\"]\n        label: [\"\"]\n        include:\n          - python-version: \"3.11\"\n            redis-version: next\n            test_params: \"-m '(not (keydb or dragonfly or valkey or redict))'\"\n            runtime_type_checks: \"True\"\n            label: \"\"\n          - python-version: \"3.11\"\n            redis-version: latest\n            test_params: \"-m '(not (keydb or dragonfly or valkey or redict))'\"\n            extensions: \"False\"\n            runtime_type_checks: \"True\"\n            label: \"\"\n          - python-version: \"3.11\"\n            redis-version: latest\n            test_params: \"-m '(not (keydb or dragonfly or valkey or redict))'\"\n            runtime_type_checks: \"True\"\n            orjson: \"True\"\n            label: \"\"\n          - python-version: \"3.11\"\n            redis-version: 7.0\n            test_params: \"-m '(not (keydb or dragonfly or valkey or redict))'\"\n            runtime_type_checks: \"False\"\n            label: \"\"\n          - python-version: \"3.11\"\n            redis-version: 7.0\n            test_params: \"-m keydb\"\n            runtime_type_checks: \"False\"\n            label: \"KeyDB\"\n          - python-version: \"3.11\"\n            redis-version: 7.0\n            test_params: \"-m dragonfly\"\n            label: \"Dragonfly\"\n          - python-version: \"3.11\"\n            redis-version: 7.0\n            test_params: \"-m valkey\"\n            label: \"Valkey\"\n          - python-version: \"3.11\"\n            redis-version: 7.0\n            test_params: \"-m redict\"\n            label: \"Redict\"\n          - python-version: \"pypy-3.8\"\n            redis-version: 7.0\n            test_params: \"-m '(not (keydb or dragonfly or valkey or redict))' tests/commands tests/test_tracking_cache.py\"\n            runtime_type_checks: \"False\"\n            extensions: \"False\"\n            uvloop: \"False\"\n            label: \"\"\n          - python-version: \"pypy-3.9\"\n            redis-version: 7.0\n            test_params: \"-m '(not (keydb or dragonfly or valkey or redict))' tests/commands tests/test_tracking_cache.py\"\n            runtime_type_checks: \"False\"\n            extensions: \"False\"\n            uvloop: \"False\"\n            label: \"\"\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Cache dependencies\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.python-version }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        pip install -r requirements/ci.txt\n        python setup.py build\n    - name: Compile extensions\n      if: ${{ matrix.extensions == 'True' }}\n      run: python setup.py build_ext --inplace --use-mypyc\n    - name: Install uvloop\n      if: ${{ matrix.uvloop == 'True' }}\n      run:\n        pip install uvloop\n    - name: Install orjson\n      if: ${{ matrix.orjson == 'True' }}\n      run:\n        pip install orjson\n    - name: Tests with coverage\n      env:\n        COREDIS_UVLOOP: ${{ matrix.uvloop }}\n        HOST_OS: linux\n        CI: \"True\"\n        COREDIS_REDIS_VERSION: ${{matrix.redis-version}}\n        COREDIS_RUNTIME_CHECKS: ${{matrix.runtime_type_checks}}\n        PYTEST_SENTRY_DSN: ${{ matrix.extensions != 'True' && secrets.SENTRY_DSN || ''}}\n      run: |\n        echo \"Runtime checks: $COREDIS_RUNTIME_CHECKS\"\n        echo \"UVLoop: $COREDIS_UVLOOP\"\n        echo \"CI: $CI\"\n        pytest -q --reverse --reruns 2 --cov=coredis --cov-report=xml ${{ matrix.test_params }}\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4.2.0\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "alisaifee/coredis"}
{"mined_at": "2024-07-15T17:07:16.865982", "created_at": "2022-01-23T18:39:16+01:00", "updated_at": "2022-08-06T17:31:46+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  lint:\n    name: Lint (Python ${{ matrix.python-version }})\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Cache dependencies\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        pip install -r requirements/dev.txt\n        python setup.py build\n    - name: Lint with ruff\n      run: |\n        ruff coredis tests\n    - name: Lint with black\n      run: |\n        black --check coredis tests\n    - name: Check imports\n      run: |\n        isort -c --profile=black coredis tests\n    - name: Check types\n      run: |\n        mypy coredis\n    - name: Check auto generated sources\n      run: |\n        make templated-sources\n        if [ ! -z \"$(git diff coredis)\" ];\n        then\n          echo \"Auto-generated source are not up to date\"\n          git diff\n          exit 1\n        fi;\n  test:\n    name: Test (Python ${{ matrix.python-version }}, Redis ${{ matrix.redis-version }}${{ matrix.uvloop == 'True' && ', uvloop' || ''}}${{ matrix.orjson == 'True' && ', orjson' || ''}}${{ matrix.extensions == 'True' && ', compiled' || ''}}${{ matrix.label && format(', {0}', matrix.label) || '' }})\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ matrix.redis-version == 'next' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        redis-version: [\"6.2\", \"7.0\", \"7.2\", \"latest\"]\n        test_params: [\"-m '(not (keydb or dragonfly or valkey or redict))'\"]\n        uvloop: [\"True\", \"False\"]\n        orjson: [\"False\"]\n        runtime_type_checks: [\"True\"]\n        extensions: [\"True\"]\n        label: [\"\"]\n        include:\n          - python-version: \"3.11\"\n            redis-version: \"latest\"\n            test_params: \"-m '(not (keydb or dragonfly or valkey or redict))'\"\n            runtime_type_checks: \"True\"\n            extensions: \"False\"\n          - python-version: \"3.11\"\n            redis-version: \"7.0\"\n            test_params: \"-m keydb\"\n            label: \"KeyDB\"\n          - python-version: \"3.11\"\n            redis-version: \"7.0\"\n            test_params: \"-m dragonfly\"\n            label: \"Dragonfly\"\n          - python-version: \"3.11\"\n            redis-version: \"7.0\"\n            test_params: \"-m valkey\"\n            label: \"Valkey\"\n          - python-version: \"3.11\"\n            redis-version: \"7.0\"\n            test_params: \"-m redict\"\n            label: \"Redict\"\n          - python-version: \"pypy-3.9\"\n            redis-version: \"7.0\"\n            test_params: \"-m '(not (keydb or dragonfly or valkey or redict))' tests/commands tests/test_tracking_cache.py\"\n            runtime_type_checks: \"False\"\n            extensions: \"False\"\n            uvloop: \"False\"\n            label: \"\"\n    steps:\n    - uses: actions/checkout@v3\n    - name: Cache dependencies\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('requirements/**') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.python-version }}-pip-\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n        pip install -r requirements/ci.txt\n        python setup.py build\n    - name: Compile extensions\n      if: ${{ matrix.extensions == 'True' }}\n      run: python setup.py build_ext --inplace --use-mypyc\n    - name: Install uvloop\n      if: ${{ matrix.uvloop == 'True' }}\n      run:\n        pip install uvloop\n    - name: Install orjson\n      if: ${{ matrix.orjson == 'True' }}\n      run:\n        pip install orjson\n    - name: Tests\n      env:\n        COREDIS_UVLOOP: ${{ matrix.uvloop }}\n        HOST_OS: linux\n        CI: \"True\"\n        COREDIS_REDIS_VERSION: ${{matrix.redis-version}}\n        COREDIS_RUNTIME_CHECKS: ${{matrix.runtime_type_checks}}\n        PYTEST_SENTRY_DSN: ${{ matrix.extensions != 'True' && secrets.SENTRY_DSN || ''}}\n      run: |\n        echo \"Runtime checks: $COREDIS_RUNTIME_CHECKS\"\n        echo \"UVLoop: $COREDIS_UVLOOP\"\n        echo \"CI: $CI\"\n        pytest -q --reverse --reruns 2 --cov=coredis --cov-report=xml ${{ matrix.test_params }}\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4.2.0\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n  generate_wheels_matrix:\n    name: Generate wheels matrix\n    runs-on: ubuntu-latest\n    outputs:\n      include: ${{ steps.set-matrix.outputs.include }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install cibuildwheel and pypyp\n        run: |\n          pipx install cibuildwheel==2.16.2\n          pipx install pypyp==1\n      - id: set-matrix\n        run: |\n          MATRIX=$(\n            {\n              cibuildwheel --print-build-identifiers --platform linux . \\\n              | pyp 'json.dumps({\"only\": x, \"os\": \"ubuntu-latest\"})' \\\n              && cibuildwheel --print-build-identifiers --platform macos . \\\n              | pyp 'json.dumps({\"only\": x, \"os\": \"macos-latest\"})'\n            } | pyp 'json.dumps(list(map(json.loads, lines)))'\n          )\n          echo \"include=$MATRIX\" | tee -a $GITHUB_OUTPUT\n        env:\n          CIBW_ARCHS_LINUX: auto aarch64\n          CIBW_ARCHS_MACOS: auto arm64\n          CIBW_SKIP: '*musllinux* pp*'\n  build_wheels:\n    needs: [generate_wheels_matrix]\n    name: Build wheel on ${{ matrix.only }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          ${{ fromJson(needs.generate_wheels_matrix.outputs.include) }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up QEMU\n        if: runner.os == 'Linux'\n        uses: docker/setup-qemu-action@v2\n      - name: Build wheel\n        uses: pypa/cibuildwheel@v2.16.2\n        with:\n          only: ${{ matrix.only }}\n        env:\n          CIBW_BUILD_VERBOSITY: 3\n          CIBW_BUILD_FRONTEND: \"build\"\n          CIBW_CONFIG_SETTINGS: \"--build-option=--use-mypyc\"\n          CIBW_TEST_COMMAND: \"python -c 'import coredis'\"\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./wheelhouse/*.whl\n  build_pure_wheel:\n    needs: [lint]\n    name: Build pure python wheel\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Build wheels\n        run: |\n          python -m pip install build\n          PURE_PYTHON=1 python -m build --wheel\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./dist/*.whl\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Build sdist\n        run: |\n          pipx run build --sdist\n      - uses: actions/upload-artifact@v3\n        with:\n          path: dist/*.tar.gz\n  upload_pypi:\n    needs: [test, build_wheels, build_pure_wheel, build_sdist]\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/master'\n    steps:\n      - uses: actions/download-artifact@v2\n        with:\n          name: artifact\n          path: dist\n      - uses: pypa/gh-action-pypi-publish@v1.4.2\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n          skip_existing: true\n  upload_pypi_release:\n    needs: [test, build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/download-artifact@v2\n        with:\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@v1.4.2\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n  github_release:\n    needs: [upload_pypi_release]\n    name: Create Release\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Download artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: artifact\n          path: dist\n      - name: Generate release notes\n        run: |\n          ./scripts/github_release_notes.sh > release_notes.md\n      - name: Create Release\n        uses: ncipollo/release-action@v1\n        with:\n          artifacts: \"dist/*\"\n          bodyFile: release_notes.md\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n", "state": "active", "repository": "alisaifee/coredis"}
{"mined_at": "2024-07-15T17:07:19.020430", "created_at": "2020-12-21T13:44:32+01:00", "updated_at": "2020-12-21T13:44:32+01:00", "name": "black", "path": ".github/workflows/black.yml", "contents": "# This is a workflow to format Python code with black formatter\n\nname: black\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the master branch\non:\n  pull_request:\n  push:\n    branches: [main]\n\npermissions: read-all\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"black\"\n  black:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-20.04\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n      # Set up a Python environment for use in actions\n      - uses: actions/setup-python@v5\n\n      # Run black code formatter\n      - uses: psf/black@stable\n        with:\n          args: \". --check\"\n          version: \"24.1.1\"\n", "state": "active", "repository": "intelpython/numba-dpex"}
{"mined_at": "2024-07-15T17:07:20.143206", "created_at": "2021-07-25T11:31:25+02:00", "updated_at": "2023-11-13T21:49:01+01:00", "name": "Conda package", "path": ".github/workflows/conda-package.yml", "contents": "name: Conda package\n\non:\n  push:\n    branches:\n      - main\n      - release*\n  pull_request:\n    branches:\n      - main\n      - release*\n\npermissions: read-all\n\nenv:\n  PACKAGE_NAME: numba-dpex\n  MODULE_NAME: numba_dpex\n  # There is a separate action that removes defaults.\n  CHANNELS: 'dppy/label/dev,conda-forge,intel,numba,nodefaults'\n  VER_JSON_NAME: 'version.json'\n  VER_SCRIPT1: \"import json; f = open('version.json', 'r'); j = json.load(f); f.close(); \"\n  VER_SCRIPT2: \"d = j['numba-dpex'][0]; print('='.join((d[s] for s in ('version', 'build'))))\"\n  PYTHONIOENCODING: 'utf-8'\n\njobs:\n  build:\n    name: Build ['${{ matrix.os }}', python='${{ matrix.python }}']\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python: ['3.9', '3.10', '3.11']\n        os: [ubuntu-latest, windows-2019]\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    continue-on-error: false\n\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n        with:\n          access_token: ${{ github.token }}\n\n      - name: Checkout ${{ env.PACKAGE_NAME }} repo\n        uses: actions/checkout@v4\n        with:\n          # We need tags to build proper version\n          fetch-depth: 0\n\n      - name: Setup miniconda\n        uses: ./.github/actions/setup-miniconda\n        with:\n          python-version: ${{ matrix.python }}\n          activate-environment: \"build\"\n          channels: ${{ env.CHANNELS }}\n          channel-priority: \"disabled\"\n          dependencies: \"conda-build\"\n          environment-file: environment/conda-package-build.yml\n\n      - name: Store conda paths as envs\n        run: |\n          echo \"CONDA_BLD=$CONDA_PREFIX/conda-bld/${{ runner.os == 'Linux' && 'linux' || 'win' }}-64/\" | tr \"\\\\\" '/' >> $GITHUB_ENV\n          echo \"WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE${{ runner.os == 'Linux' && '/' || '\\\\' }}\" >> $GITHUB_ENV\n          echo \"WHEELS_NAME=$PACKAGE_NAME\" | tr \"-\" \"_\" >> $GITHUB_ENV\n\n      - name: Build conda package\n        run: conda build --no-test --python ${{ matrix.python }} conda-recipe\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}\n          path: ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.tar.bz2\n\n      - name: Upload wheels artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}\n          path: ${{ env.WHEELS_OUTPUT_FOLDER }}${{ env.WHEELS_NAME }}-*.whl\n\n  test:\n    name: Test ['${{ matrix.os }}', '${{ matrix.scope }}', python='${{ matrix.python }}']\n\n    needs: build\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: ${{ matrix.os == 'windows-latest' && 'cmd /C CALL {0}' || 'bash -l {0}' }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python: ['3.9', '3.10', '3.11']\n        os: [ubuntu-20.04, ubuntu-latest, windows-latest]\n        experimental: [false]\n        scope: ['tests', 'examples', 'gdb']\n        exclude:\n          - os: windows-latest\n            scope: 'gdb'\n\n    continue-on-error: ${{ matrix.experimental }}\n\n    steps:\n      - name: Checkout setup config\n        uses: actions/checkout@v4\n        with:\n          sparse-checkout: |\n            .github/actions\n            environment\n            pyproject.toml\n          sparse-checkout-cone-mode: false\n\n      - name: Setup miniconda\n        uses: ./.github/actions/setup-miniconda\n        with:\n          python-version: ${{ matrix.python }}\n          activate-environment: \"test\"\n          channels: ${{ env.CHANNELS }}\n          channel-priority: \"disabled\"\n          dependencies: \"conda-index;pytest-cov;pexpect;conda-tree\"\n          environment-file: environment/conda-package-test.yml\n\n      - name: Store conda paths as envs\n        shell: bash -l {0}\n        run: |\n          echo \"CHANNEL_PATH=${{ github.workspace }}/channel/\" | tr \"\\\\\" \"/\" >> $GITHUB_ENV\n          echo \"EXTRACTED_PKG_PATH=${{ github.workspace }}/pkg/\" | tr \"\\\\\" \"/\" >> $GITHUB_ENV\n          echo \"VER_JSON_PATH=${{ github.workspace }}/version.json\" | tr \"\\\\\" \"/\" >> $GITHUB_ENV\n          echo \"PKG_PATH_IN_CHANNEL=${{ github.workspace }}/channel/${{ runner.os == 'Linux' && 'linux' || 'win' }}-64/\" | tr \"\\\\\" \"/\" >> $GITHUB_ENV\n          echo \"EXAMPLES_PATH=$CONDA_PREFIX/${{ runner.os == 'Linux' && format('lib/python{0}',matrix.python) || 'Lib' }}/site-packages/numba_dpex/examples/\" | tr \"\\\\\" \"/\" >> $GITHUB_ENV\n\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}\n          path: ${{ env.PKG_PATH_IN_CHANNEL }}\n\n      # We need --force-local because on windows path looks like C:/foo/bar\n      # and tar interprits semicolons as remote device.\n      - name: Extract package archive\n        shell: bash -l {0}\n        run: |\n          mkdir -p ${EXTRACTED_PKG_PATH}\n          tar -xvf ${PKG_PATH_IN_CHANNEL}${PACKAGE_NAME}-*.tar.bz2 -C ${EXTRACTED_PKG_PATH} --force-local\n\n      - name: Create conda channel\n        # Note conda index (instead of python -m conda_index) may find legacy\n        # conda-build index.\n        run: |\n          python -m conda_index ${{ env.CHANNEL_PATH }}\n\n      - name: Test conda channel\n        run: |\n          conda search ${{ env.PACKAGE_NAME }} -c ${{ env.CHANNEL_PATH }} --override-channels --info --json > ${{ env.VER_JSON_PATH }}\n          cat ${{ env.VER_JSON_PATH }}\n\n      - name: Collect dependencies\n        shell: bash -l {0}\n        run: |\n          export PACKAGE_VERSION=$(python -c \"${{ env.VER_SCRIPT1 }} ${{ env.VER_SCRIPT2 }}\")\n          echo \"PACKAGE_VERSION=$PACKAGE_VERSION\" >> $GITHUB_ENV\n\n      # We want to make sure that all dependecies install automatically.\n      # intel::intel-opencl-rt is needed for set-intel-ocl-icd-registry.ps1\n      - name: Install built package\n        run: conda install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} intel::intel-opencl-rt -c ${{ env.CHANNEL_PATH }}\n\n      - name: Setup OpenCL CPU device\n        if: runner.os == 'Windows'\n        shell: pwsh\n        run: |\n          $script_path=\"$env:CONDA_PREFIX\\Scripts\\set-intel-ocl-icd-registry.ps1\"\n          &$script_path\n\n      - name: List installed packages\n        run: conda list\n\n      - name: Check dpcpp-llvm-spirv\n        run: |\n          python -c \"import dpcpp_llvm_spirv as p; print(p.get_llvm_spirv_path())\"\n\n      - name: Check dependency tree\n        run: conda-tree depends -t numba-dpex\n\n      - name: Smoke test\n        run: python -c \"import dpnp, dpctl, numba_dpex; dpctl.lsplatform(verbosity=2)\"\n\n      - name: Smoke test - test import with no default device\n        env:\n          ONEAPI_DEVICE_SELECTOR: unknown:unknown\n        run: python -c \"import numba_dpex\"\n\n      - name: Run tests\n        if: ${{ matrix.scope == 'tests' }}\n        run: |\n          pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv -k \"not test_1d_strided_dpnp_array_in_kernel[2]\"\n\n      - name: Run backendless optimization tests\n        # Running tests that have been found to fail on AMD CPUs with\n        # -cl-opt-disable. The test failures do not happen on other platforms\n        # and are possibly due to some driver/opencl compiler bug.\n        if: ${{ matrix.scope == 'tests' }}\n        env:\n          # Disabling device driver optimization to prevent catching bugs\n          # from driver compiler.\n          ONEAPI_DEVICE_SELECTOR: \"opencl:cpu\"\n          NUMBA_DPEX_BUILD_KERNEL_OPTIONS: \"-cl-opt-disable\"\n        run: |\n          pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv -k \"test_1d_strided_dpnp_array_in_kernel[2]\"\n\n      - name: Run examples\n        if: ${{ matrix.scope == 'examples' }}\n        shell: bash -l {0}\n        run: |\n          cd ${{ env.EXAMPLES_PATH }}\n          for script in $(find . \\( -not -name \"_*\" -not -name \"side-by-side*\" -not -name \"scan.py\" -and -name \"*.py\" \\))\n          do\n            echo \"Executing ${script}\"\n            python ${script} || exit 1\n          done\n\n      - name: Run gdb tests\n        if: ${{ matrix.scope == 'gdb' }}\n        env:\n          GDB_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/fc87666c-d626-47bc-a861-a1578d2ecbd3/l_dpcpp_dbg_p_2024.1.0.439_offline.sh\n          GDB_INSTALLER: l_dpcpp_dbg_p_2024.1.0.439_offline.sh\n          # To read gdb communication in case test fails to determine what the\n          # issue is\n          NUMBA_DPEX_TESTING_LOG_DEBUGGING: 1\n        run: |\n          wget -nc -q ${{ env.GDB_URL }}\n          chmod +x ${{ env.GDB_INSTALLER }}\n          mkdir /tmp/gdb\n          export ONEAPI_ROOT=/tmp/gdb\n          ./${{ env.GDB_INSTALLER }} -a -s --eula accept --install-dir $ONEAPI_ROOT\n          source $ONEAPI_ROOT/debugger/latest/env/vars.sh\n          # We match only major version because latest gdb is not often\n          # available.\n          gdb_version=$(echo \"$GDB_INSTALLER\" | grep -oP '\\d+' | head -n 1)\n          icpx_version=$(conda list dpcpp-cpp-rt | tail -n 1 | awk '{print $2}' | grep -oP '\\d+' | head -n 1)\n          if [ \"$gdb_version\" != \"$icpx_version\" ]; then\n            echo \"Error: GDB version ($gdb_version) does not match icpx version ($icpx_version)\"\n            exit 1\n          fi\n          pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }}.tests.debugging -vv\n\n  upload_anaconda:\n    name: Upload dppy/label/dev ['${{ matrix.os }}', python='${{ matrix.python }}']\n    if: ${{github.ref == 'refs/heads/main' || (startsWith(github.ref, 'refs/heads/release') == true)}}\n\n    needs: [test]\n\n    strategy:\n      matrix:\n        python: ['3.9', '3.10', '3.11']\n        os: [ubuntu-latest, windows-latest]\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    continue-on-error: false\n\n    steps:\n      - name: Checkout setup config\n        uses: actions/checkout@v4\n        with:\n          sparse-checkout: |\n            .github/actions\n            environment\n\n      - name: Download artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}\n\n      - name: Download wheels artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}\n\n      - name: Setup miniconda\n        uses: ./.github/actions/setup-miniconda\n        with:\n          python-version: ${{ matrix.python }}\n          activate-environment: \"anaconda\"\n          channel-priority: \"disabled\"\n          dependencies: \"anaconda-client\"\n          environment-file: environment/conda-package-anaconda.yml\n\n      - name: Upload\n        run: anaconda --token ${{ secrets.ANACONDA_TOKEN }} upload --user dppy --label dev ${{ env.PACKAGE_NAME }}-*.tar.bz2\n\n      - name: Package version\n        run: echo \"PACKAGE_VERSION=$(basename ${{ env.PACKAGE_NAME }}-*.tar.bz2 | sed 's/^${{ env.PACKAGE_NAME }}-\\([^-]*\\).*/\\1/')\" >> $GITHUB_ENV\n\n      - name: Store wheels name\n        run: |\n          echo \"WHEELS_NAME=$PACKAGE_NAME\" | tr \"-\" \"_\" >> $GITHUB_ENV\n\n      - name: Upload Wheels\n        run: anaconda --token ${{ secrets.ANACONDA_TOKEN }} upload --user dppy --label dev ${{ env.WHEELS_NAME }}-*.whl --version ${{ env.PACKAGE_VERSION }}\n\n  cleanup_packages:\n    name: Clean up anaconda packages\n    needs: [upload_anaconda]\n    runs-on: 'ubuntu-latest'\n    defaults:\n      run:\n        shell: bash -el {0}\n    steps:\n      - name: Checkout setup config\n        uses: actions/checkout@v4\n        with:\n          sparse-checkout: |\n            .github/actions\n            environment\n\n      - name: Setup miniconda\n        uses: ./.github/actions/setup-miniconda\n        with:\n          python-version: '3.11'\n          activate-environment: \"anaconda\"\n          channel-priority: \"disabled\"\n          dependencies: \"anaconda-client\"\n          environment-file: environment/conda-package-anaconda.yml\n\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          repository: IntelPython/devops-tools\n\n      - name: Cleanup old packages\n        run: |\n          python scripts/cleanup-old-packages.py \\\n          --verbose --force --token ${{ secrets.ANACONDA_TOKEN }} \\\n          --package dppy/${{ env.PACKAGE_NAME }} --label dev\n", "state": "active", "repository": "intelpython/numba-dpex"}
{"mined_at": "2024-07-15T17:07:21.281404", "created_at": "2022-03-04T08:24:04+01:00", "updated_at": "2022-03-04T08:42:02+01:00", "name": "Coverage", "path": ".github/workflows/coverage.yml", "contents": "name: Coverage\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\npermissions: read-all\n\njobs:\n  main:\n    name: Generate coverage and push to Coveralls.io\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n        with:\n          access_token: ${{ github.token }}\n\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: '3.10'\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          activate-environment: \"coverage\"\n          channel-priority: \"disabled\"\n          environment-file: environment/coverage.yml\n\n      - name: Build numba-dpex\n        run: |\n          export PATH=$CONDA/bin-llvm:$PATH\n          CC=icx CXX=icpx python setup.py develop\n\n      - name: Test installation\n        run: |\n          conda list\n          python -c \"import numba_dpex; print(numba_dpex.__file__)\"\n\n      - name: Dump coverage test environment\n        run: |\n          conda env export > /tmp/env-cov.yml\n          cat /tmp/env-cov.yml\n\n      # Ignoring test due to opencl driver optimization bug\n      - name: Run tests with coverage\n        run: |\n          pytest  -q --cov=./ --cov-report xml --pyargs numba_dpex \\\n            -k 'not test_1d_strided_dpnp_array_in_kernel[2]'\n\n      - name: Coveralls\n        uses: coverallsapp/github-action@v2\n", "state": "active", "repository": "intelpython/numba-dpex"}
{"mined_at": "2024-07-15T17:07:22.434899", "created_at": "2023-09-21T20:11:58+02:00", "updated_at": "2023-09-21T20:11:58+02:00", "name": "Coverity", "path": ".github/workflows/coverity.yml", "contents": "name: Coverity\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\npermissions: read-all\n\njobs:\n  Coverity:\n\n    runs-on: ubuntu-latest\n\n    env:\n      CHECKERS: --concurrency --security --rule --enable-constraint-fpp --enable-fnptr --enable-virtual --webapp-security --enable-audit-checkers --enable-default\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-java@v4\n      with:\n        distribution: zulu\n        java-version: 11\n\n    - name: URL encode project name\n      run: echo \"COV_PROJECT=${{ github.repository }}\" | sed -e 's:/:%2F:g' -e 's/ /%20/g' >> $GITHUB_ENV\n\n    - name: Coverity Download\n      run: |\n        mkdir -p /tmp/cov-analysis\n        wget https://scan.coverity.com/download/linux64 --post-data \"token=${{secrets.COV_TOKEN}}&project=${{env.COV_PROJECT}}\" -O cov-analysis.tgz\n        tar -xzf cov-analysis.tgz --strip 1 -C /tmp/cov-analysis\n        rm cov-analysis.tgz\n\n    - name: Coverity Full Scan\n      if: ${{ github.event_name != 'pull_request' }}\n      run: |\n        export PATH=$PATH:/tmp/cov-analysis/bin\n        set -x\n        cov-build --dir cov-int --fs-capture-search $GITHUB_WORKSPACE --no-command\n        # Not available in package, maybe will be once approved?\n        # cov-analyze --dir cov-int --ticker-mode none --strip-path $GITHUB_WORKSPACE $CHECKERS\n\n        tar czvf numba-dpex.tgz cov-int\n        rm -rf cov-int\n\n        curl --form token=${{ secrets.COV_TOKEN }} \\\n            --form email=${{ secrets.COV_EMAIL }} \\\n            --form file=@numba-dpex.tgz \\\n            --form version=\"${{ github.sha }}\" \\\n            --form description=\"Coverity Scan ${{ github.repository }} / ${{ github.ref }}\" \\\n            https://scan.coverity.com/builds?project=${{env.COV_PROJECT}}\n", "state": "active", "repository": "intelpython/numba-dpex"}
{"mined_at": "2024-07-15T17:07:23.505520", "created_at": "2022-04-06T17:51:20+02:00", "updated_at": "2022-04-06T18:28:17+02:00", "name": "C++ Code Style", "path": ".github/workflows/cpp_style_checks.yml", "contents": "# This is a workflow to format C/C++ sources with clang-format\n\nname: C++ Code Style\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the master branch\non:\n  pull_request:\n  push:\n    branches: [master]\n\npermissions: read-all\n\njobs:\n  formatting-check:\n    name: clang-format\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Run clang-format style check for C/C++ programs.\n      uses: jidicula/clang-format-action@v4.13.0\n      with:\n        clang-format-version: '14'\n        check-path: 'numba_dpex/dpctl_iface'\n", "state": "active", "repository": "intelpython/numba-dpex"}
{"mined_at": "2024-07-15T17:07:25.057013", "created_at": "2023-03-22T04:12:01+01:00", "updated_at": "2023-03-22T04:12:01+01:00", "name": "Docker build", "path": ".github/workflows/docker.yml", "contents": "name: Docker build\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        default: '0.21.0'\n      dpctl_version:\n        default: '0.14.4'\n      dpnp_version:\n        default: '0.12.0'\n      numpy_version:\n        default: '1.24.3'\n      numba_version:\n        default: '0.58'\n      # dpcpp_llvm_spirv_version:\n      #   default: 'main'\n      cython_version:\n        default: \"0.29.35\"\n      scikit_build_version:\n        default: \"0.17.6\"\n      oneapi_version:\n        default: '2023.1.0.46401'\n      python_versions:\n        default: '[\"3.9\", \"3.10\", \"3.11\"]'\n      buildkit_version:\n        default: '0.11.6'\n\npermissions: read-all\n\njobs:\n  env:\n    runs-on: ubuntu-latest\n    outputs:\n      repository: ${{ steps.write.outputs.repository }}\n      BUILD_ARGS: ${{ steps.write.outputs.BUILD_ARGS }}\n      DOCKER_STAGES_IMAGE: ${{ steps.write.outputs.DOCKER_STAGES_IMAGE }}\n      DOCKER_REPO_IMAGE: ${{ steps.write.outputs.DOCKER_REPO_IMAGE }}\n      VERSION: ${{ steps.write.outputs.VERSION }}\n    steps:\n      - name: Write output env\n        id: write\n        run: |\n          export REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')\n          echo repository=$REPOSITORY >> \"$GITHUB_OUTPUT\"\n          echo \"BUILD_ARGS<<EOF\" >> $GITHUB_OUTPUT\n\n          echo \"ONEAPI_VERSION=${{ inputs.oneapi_version }}\" >> $GITHUB_OUTPUT\n          echo \"DPCTL_GIT_BRANCH=${{ inputs.dpctl_version }}\" >> $GITHUB_OUTPUT\n          echo \"DPNP_GIT_BRANCH=${{ inputs.dpnp_version }}\" >> $GITHUB_OUTPUT\n          # echo \"DPCPP_LLVM_SPIRV_GIT_BRANCH=${{ inputs.dpcpp_llvm_spirv_version }}\" >> $GITHUB_OUTPUT\n          echo \"NUMBA_DPEX_GIT_BRANCH=${{ inputs.version }}\" >> $GITHUB_OUTPUT\n          echo \"INTEL_NUMPY_VERSION===${{ inputs.numpy_version }}\" >> $GITHUB_OUTPUT\n          echo \"INTEL_NUMBA_VERSION===${{ inputs.numba_version }}\" >> $GITHUB_OUTPUT\n          echo \"CYTHON_VERSION===${{ inputs.cython_version }}\" >> $GITHUB_OUTPUT\n          echo \"SCIKIT_BUILD_VERSION===${{ inputs.scikit_build_version }}\" >> $GITHUB_OUTPUT\n\n          echo \"EOF\" >> $GITHUB_OUTPUT\n\n          echo \"DOCKER_STAGES_IMAGE=ghcr.io/$REPOSITORY/stages\" >> $GITHUB_OUTPUT\n          echo \"DOCKER_REPO_IMAGE=ghcr.io/$REPOSITORY\" >> $GITHUB_OUTPUT\n          echo \"VERSION=$(echo ${{ inputs.version }} | tr '/' '-')\" >> $GITHUB_OUTPUT\n\n  build-toolkit:\n    needs: env\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: ${{ fromJSON(inputs.python_versions) }}\n    env:\n      BUILD_TARGET: toolkit\n      DOCKER_TAG: ${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v${{ inputs.buildkit_version }}\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        uses: docker/metadata-action@v5\n        id: meta\n        with:\n          images: ${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}\n          tags: ${{ env.DOCKER_TAG }}-${{ env.BUILD_TARGET }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          target: ${{ env.BUILD_TARGET }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            ${{ needs.env.outputs.BUILD_ARGS }}\n            GITHUB_USER=${{ github.actor }}\n            GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }}\n            PYTHON_VERSION=${{ matrix.python_version }}\n\n  build-runtime-base:\n    needs: [env, build-toolkit]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: ${{ fromJSON(inputs.python_versions) }}\n    env:\n      BUILD_TARGET: runtime-base\n      DOCKER_TAG: ${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v${{ inputs.buildkit_version }}\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        uses: docker/metadata-action@v5\n        id: meta\n        with:\n          images: ${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}\n          tags: ${{ env.DOCKER_TAG }}-${{ env.BUILD_TARGET }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          target: ${{ env.BUILD_TARGET }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            ${{ needs.env.outputs.BUILD_ARGS }}\n            GITHUB_USER=${{ github.actor }}\n            GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }}\n            TOOLKIT_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-toolkit\n            PYTHON_VERSION=${{ matrix.python_version }}\n\n  build-builder:\n    needs: [env, build-runtime-base]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: ${{ fromJSON(inputs.python_versions) }}\n    env:\n      BUILD_TARGET: builder\n      DOCKER_TAG: ${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v${{ inputs.buildkit_version }}\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        uses: docker/metadata-action@v5\n        id: meta\n        with:\n          images: ${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}\n          tags: ${{ env.DOCKER_TAG }}-${{ env.BUILD_TARGET }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          target: ${{ env.BUILD_TARGET }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            ${{ needs.env.outputs.BUILD_ARGS }}\n            GITHUB_USER=${{ github.actor }}\n            GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }}\n            TOOLKIT_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-toolkit\n            RUNTIME_BASE_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-runtime-base\n            PYTHON_VERSION=${{ matrix.python_version }}\n\n  build-dpctl-builder:\n    needs: [env, build-builder]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: ${{ fromJSON(inputs.python_versions) }}\n    env:\n      BUILD_TARGET: dpctl-builder\n      DOCKER_TAG: ${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v${{ inputs.buildkit_version }}\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        uses: docker/metadata-action@v5\n        id: meta\n        with:\n          images: ${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}\n          tags: ${{ env.DOCKER_TAG }}-${{ env.BUILD_TARGET }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          target: ${{ env.BUILD_TARGET }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            ${{ needs.env.outputs.BUILD_ARGS }}\n            GITHUB_USER=${{ github.actor }}\n            GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }}\n            BUILDER_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-builder\n            PYTHON_VERSION=${{ matrix.python_version }}\n\n  build-dpnp-builder:\n    needs: [env, build-dpctl-builder]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: ${{ fromJSON(inputs.python_versions) }}\n    env:\n      BUILD_TARGET: dpnp-builder\n      DOCKER_TAG: ${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v${{ inputs.buildkit_version }}\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        uses: docker/metadata-action@v5\n        id: meta\n        with:\n          images: ${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}\n          tags: ${{ env.DOCKER_TAG }}-${{ env.BUILD_TARGET }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          target: ${{ env.BUILD_TARGET }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            ${{ needs.env.outputs.BUILD_ARGS }}\n            GITHUB_USER=${{ github.actor }}\n            GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }}\n            BUILDER_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-builder\n            DPCTL_BUILDER_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-dpctl-builder\n            PYTHON_VERSION=${{ matrix.python_version }}\n\n  build-dpcpp-llvm-spirv:\n    needs: [env, build-builder]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: ${{ fromJSON(inputs.python_versions) }}\n    env:\n      BUILD_TARGET: dpcpp-llvm-spirv-builder\n      DOCKER_TAG: ${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n      DEST_TAG: ${{ needs.env.outputs.DOCKER_REPO_IMAGE }}/builder:${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v${{ inputs.buildkit_version }}\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        uses: docker/metadata-action@v5\n        id: meta\n        with:\n          images: ${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}\n          tags: ${{ env.DOCKER_TAG }}-${{ env.BUILD_TARGET }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          target: ${{ env.BUILD_TARGET }}\n          tags: ${{ steps.meta.outputs.tags }},${{ env.DEST_TAG }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            ${{ needs.env.outputs.BUILD_ARGS }}\n            GITHUB_USER=${{ github.actor }}\n            GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }}\n            BUILDER_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-builder\n\n  build-numba-dpex-builder-runtime:\n    needs: [env, build-dpctl-builder, build-dpnp-builder, build-dpcpp-llvm-spirv]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: ${{ fromJSON(inputs.python_versions) }}\n    env:\n      BUILD_TARGET: numba-dpex-builder-runtime\n      DOCKER_TAG: ${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n      DEST_TAG: ${{ needs.env.outputs.DOCKER_REPO_IMAGE }}/builder:${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v${{ inputs.buildkit_version }}\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        uses: docker/metadata-action@v5\n        id: meta\n        with:\n          images: ${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}\n          tags: ${{ env.DOCKER_TAG }}-${{ env.BUILD_TARGET }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          target: ${{ env.BUILD_TARGET }}\n          tags: ${{ steps.meta.outputs.tags }},${{ env.DEST_TAG }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            ${{ needs.env.outputs.BUILD_ARGS }}\n            GITHUB_USER=${{ github.actor }}\n            GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }}\n            BUILDER_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-builder\n            DPCTL_BUILDER_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-dpctl-builder\n            DPNP_BUILDER_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-dpnp-builder\n            DPCPP_LLVM_SPIRV_BUILDER_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-dpcpp-llvm-spirv-builder\n            PYTHON_VERSION=${{ matrix.python_version }}\n\n  build-runtime:\n    needs: [env, build-runtime-base, build-dpctl-builder, build-dpnp-builder, build-numba-dpex-builder-runtime, build-dpcpp-llvm-spirv]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: ${{ fromJSON(inputs.python_versions) }}\n    env:\n      BUILD_TARGET: runtime\n      DOCKER_TAG: ${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n      DEST_TAG: ${{ needs.env.outputs.DOCKER_REPO_IMAGE }}/runtime:${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v${{ inputs.buildkit_version }}\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        uses: docker/metadata-action@v5\n        id: meta\n        with:\n          images: ${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}\n          tags: ${{ env.DOCKER_TAG }}-${{ env.BUILD_TARGET }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          target: ${{ env.BUILD_TARGET }}\n          tags: ${{ steps.meta.outputs.tags }},${{ env.DEST_TAG }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            ${{ needs.env.outputs.BUILD_ARGS }}\n            GITHUB_USER=${{ github.actor }}\n            GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }}\n            BUILDER_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-builder\n            DPCTL_BUILDER_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-dpctl-builder\n            DPNP_BUILDER_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-dpnp-builder\n            DPCPP_LLVM_SPIRV_BUILDER_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-dpcpp-llvm-spirv-builder\n            NUMBA_DPEX_BUILDER_RUNTIME_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-numba-dpex-builder-runtime\n            RUNTIME_BASE_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-runtime-base\n            PYTHON_VERSION=${{ matrix.python_version }}\n\n  build-drivers:\n    needs: [env]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: ${{ fromJSON(inputs.python_versions) }}\n    env:\n      BUILD_TARGET: drivers\n      DOCKER_TAG: ${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v${{ inputs.buildkit_version }}\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        uses: docker/metadata-action@v5\n        id: meta\n        with:\n          images: ${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}\n          tags: ${{ env.DOCKER_TAG }}-${{ env.BUILD_TARGET }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          target: ${{ env.BUILD_TARGET }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            ${{ needs.env.outputs.BUILD_ARGS }}\n            GITHUB_USER=${{ github.actor }}\n            GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }}\n            PYTHON_VERSION=${{ matrix.python_version }}\n\n  build-runtime-gpu:\n    needs: [env, build-runtime, build-drivers]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: ${{ fromJSON(inputs.python_versions) }}\n    env:\n      BUILD_TARGET: runtime-gpu\n      DOCKER_TAG: ${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n      DEST_TAG: ${{ needs.env.outputs.DOCKER_REPO_IMAGE }}/runtime:${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}-gpu\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v${{ inputs.buildkit_version }}\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        uses: docker/metadata-action@v5\n        id: meta\n        with:\n          images: ${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}\n          tags: ${{ env.DOCKER_TAG }}-${{ env.BUILD_TARGET }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          target: ${{ env.BUILD_TARGET }}\n          tags: ${{ steps.meta.outputs.tags }},${{ env.DEST_TAG }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            ${{ needs.env.outputs.BUILD_ARGS }}\n            GITHUB_USER=${{ github.actor }}\n            GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }}\n            RUNTIME_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-runtime\n            PYTHON_VERSION=${{ matrix.python_version }}\n\n  build-numba-dpex-builder-runtime-gpu:\n    needs: [env, build-numba-dpex-builder-runtime, build-drivers]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version: ${{ fromJSON(inputs.python_versions) }}\n    env:\n      BUILD_TARGET: numba-dpex-builder-runtime-gpu\n      DOCKER_TAG: ${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n      DEST_TAG: ${{ needs.env.outputs.DOCKER_REPO_IMAGE }}/builder:${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}-gpu\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:v${{ inputs.buildkit_version }}\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker meta\n        uses: docker/metadata-action@v5\n        id: meta\n        with:\n          images: ${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}\n          tags: ${{ env.DOCKER_TAG }}-${{ env.BUILD_TARGET }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          target: ${{ env.BUILD_TARGET }}\n          tags: ${{ steps.meta.outputs.tags }},${{ env.DEST_TAG }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            ${{ needs.env.outputs.BUILD_ARGS }}\n            GITHUB_USER=${{ github.actor }}\n            GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }}\n            RUNTIME_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-runtime\n            NUMBA_DPEX_BUILDER_RUNTIME_IMAGE=${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ env.DOCKER_TAG }}-numba-dpex-builder-runtime\n            PYTHON_VERSION=${{ matrix.python_version }}\n\n  test:\n    needs: [env, build-runtime]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: ${{ fromJSON(inputs.python_versions) }}\n        pyargs: ['dpctl', 'numba_dpex.tests', '/opt/dpnp/tests', '/opt/dpnp/tests/third_party']\n    env:\n      DOCKER_TAG: ${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}\n    container:\n      image: ${{ needs.env.outputs.DOCKER_STAGES_IMAGE }}:${{ needs.env.outputs.VERSION }}-py${{ matrix.python_version }}-runtime\n      credentials:\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - name: List devices\n        run: sycl-ls\n      - name: Python version\n        run: python --version\n      - name: Setup pytest\n        run: pip install pytest\n      - name: Testing ${{ matrix.pyargs }}\n        run: pytest --pyargs ${{ matrix.pyargs }}\n", "state": "active", "repository": "intelpython/numba-dpex"}
{"mined_at": "2024-07-15T17:07:26.276676", "created_at": "2022-03-03T18:21:32+01:00", "updated_at": "2022-03-03T19:25:02+01:00", "name": "GitHub Pages", "path": ".github/workflows/gh-pages.yml", "contents": "name: GitHub Pages\non:\n  push:\n    branches:\n      - main\n      - release*\n    tags:\n      - '[0-9]+.[0-9]+*'\n  pull_request:\n    types: [opened, synchronize, reopened, closed]\n    paths:\n      - 'docs/**'\n      - environment/docs.yml\n      - .github/workflows/gh-pages.yml\n\npermissions: read-all\n\njobs:\n  main:\n    if: ${{ !(github.event.pull_request && github.event.action == 'closed') }}\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: '3.10'\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          activate-environment: \"docs\"\n          channels: conda-forge,nodefaults\n          channel-priority: \"disabled\"\n          environment-file: \"environment/docs.yml\"\n\n      - name: Build numba-dpex\n        run: |\n          export PATH=$CONDA/bin-llvm:$PATH\n          CC=icx CXX=icpx python setup.py develop\n\n      - name: Make documentation\n        working-directory: docs\n        run: make html\n\n      - name: GitHub Pages [main]\n        uses: peaceiris/actions-gh-pages@v4.0.0\n        if: ${{ github.ref == 'refs/heads/main' }}\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs/_build/html/\n          destination_dir: ./dev\n          allow_empty_commit : true\n          commit_message: ${{ github.event.head_commit.message }}\n          publish_branch: gh-pages\n          user_name: 'github-actions[bot]'\n          user_email: 'github-actions[bot]@users.noreply.github.com'\n\n      - name: GitHub Pages [PR]\n        uses: peaceiris/actions-gh-pages@v4.0.0\n        if: ${{ github.event.pull_request && github.event.action != 'closed' }}\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs/_build/html/\n          destination_dir: ./pull/${{ github.event.number }}\n          allow_empty_commit : true\n          commit_message: ${{ github.event.head_commit.message }}\n          publish_branch: gh-pages\n          user_name: 'github-actions[bot]'\n          user_email: 'github-actions[bot]@users.noreply.github.com'\n\n      - name: Comment PR [docs created]\n        if: ${{ github.event.pull_request && github.event.action != 'closed' }}\n        env:\n          PR_NUM: ${{ github.event.number }}\n        uses: mshick/add-pr-comment@v2.8.2\n        with:\n          message: |\n            Documentation preview: [show](https://intelpython.github.io/numba-dpex/pull/${{ env.PR_NUM }}).\n          # repo-token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish release\n        if: startsWith(github.ref, 'refs/heads/release')\n        uses: peaceiris/actions-gh-pages@v4.0.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          destination_dir : next_release\n          publish_dir: docs/_build/html/\n          allow_empty_commit : true\n          commit_message: ${{ github.event.head_commit.message }}\n\n      - name: Capture tag\n        id: capture_tag\n        if: startsWith(github.ref, 'refs/tags/')\n        run: |\n          echo ::set-output name=tag_number::${GITHUB_REF#refs/tags/}\n\n      - name: Publish tag\n        if: startsWith(github.ref, 'refs/tags/')\n        uses: peaceiris/actions-gh-pages@v4.0.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          destination_dir : ${{ steps.capture_tag.outputs.tag_number }}\n          publish_dir: docs/_build/html/\n          allow_empty_commit : true\n          commit_message: ${{ github.event.head_commit.message }}\n\n  clean:\n    if: ${{ github.event.pull_request && github.event.action == 'closed' }}\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: GitHub Pages [PR closed]\n        env:\n          PR_NUM: ${{ github.event.number }}\n        shell: bash -l {0}\n        run: |\n          git remote add tokened_docs https://IntelPython:${{ secrets.GITHUB_TOKEN }}@github.com/IntelPython/numba-dpex.git\n          git fetch tokened_docs\n          git checkout --track tokened_docs/gh-pages\n          echo `pwd`\n          [ -d pull/${PR_NUM} ] && git rm -rf pull/${PR_NUM}\n          git config --global user.name 'github-actions[bot]'\n          git config --global user.email 'github-actions[bot]@users.noreply.github.com'\n          git commit -m \"Removing docs for closed pull request ${PR_NUM}\"\n          git push tokened_docs gh-pages\n\n      - name: Comment PR [docs removed]\n        uses: mshick/add-pr-comment@v2.8.2\n        with:\n          message: |\n            Documentation preview removed.\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          repo-token-user-login: 'github-actions[bot]'\n          allow-repeats: true\n", "state": "active", "repository": "intelpython/numba-dpex"}
{"mined_at": "2024-07-15T17:07:27.337850", "created_at": "2021-02-02T11:22:37+01:00", "updated_at": "2021-02-02T11:22:37+01:00", "name": "license", "path": ".github/workflows/license.yml", "contents": "name: license\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\npermissions: read-all\n\njobs:\n  license:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-go@v5\n      with:\n        go-version: '1.18'\n    - name: Install addlicense\n      run: |\n        export PATH=${PATH}:`go env GOPATH`/bin\n        go install github.com/google/addlicense@latest\n    - name: Check license\n      run: |\n        export PATH=${PATH}:`go env GOPATH`/bin\n        addlicense -check -l apache -c \"Intel Corporation\" -ignore numba_dpex/_version.py numba_dpex/**/*.py numba_dpex/*.py setup.py\n", "state": "active", "repository": "intelpython/numba-dpex"}
{"mined_at": "2024-07-15T17:07:28.363518", "created_at": "2024-02-07T23:52:31+01:00", "updated_at": "2024-02-07T23:52:31+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/openssf-scorecard.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '28 2 * * 1'\n    - cron: '28 2 * * 4'\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: ${{ github.event_name == 'push' }}\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 14\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        if: ${{ github.event_name == 'push' }}\n        uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "intelpython/numba-dpex"}
{"mined_at": "2024-07-15T17:07:29.418826", "created_at": "2021-02-25T07:07:03+01:00", "updated_at": "2021-02-25T07:07:03+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\npermissions: read-all\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-20.04\n    defaults:\n      run:\n        shell: bash -el {0}\n    steps:\n    - uses: actions/checkout@v4\n    - uses: conda-incubator/setup-miniconda@v3\n      with:\n        python-version: '3.11'\n        activate-environment: \"coverage\"\n        channel-priority: \"disabled\"\n        environment-file: environment/pre-commit.yml\n    - uses: actions/cache@v4\n      with:\n        path: ~/.cache/pre-commit\n        key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}\n    - run: pre-commit run --show-diff-on-failure --color=always --all-files\n", "state": "active", "repository": "intelpython/numba-dpex"}
{"mined_at": "2024-07-15T17:07:30.504848", "created_at": "2024-02-23T05:16:07+01:00", "updated_at": "2024-02-23T05:16:07+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "intelpython/numba-dpex"}
{"mined_at": "2024-07-15T17:07:31.527956", "created_at": "2022-02-22T13:27:50+01:00", "updated_at": "2022-02-22T13:27:50+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "intelpython/numba-dpex"}
{"mined_at": "2024-07-15T17:07:33.683878", "created_at": "2023-01-05T13:45:26+01:00", "updated_at": "2023-05-11T08:37:03+02:00", "name": "Build and Deploy", "path": ".github/workflows/production.yml", "contents": "name: Build and Deploy\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  test:\n    name: Test\n    uses: ./.github/workflows/test.yml\n\n  deploy:\n    name: Build and Deploy\n    runs-on: ubuntu-latest\n    needs: test\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Checkout build repo\n        uses: actions/checkout@v2\n        with:\n          repository: credmark/models-py-build\n          path: ./build-files\n          ssh-key: ${{ secrets.MODELS_PY_BUILD_DEPLOY_KEY }}\n\n      - name: Copy http build files\n        run: |\n          # Delete Dockerfile for the previous build\n          ./build-files/scripts/copy-http-build-files.sh .\n      - name: Build and Push to Github container registry\n        id: build-tag-push-image-new-registry\n        env:\n          IMAGE_TAG: latest\n          DOCKER_REGISTRY: ${{secrets.DOCKER_REGISTRY}}\n          DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}\n          DOCKER_IMAGE: ${{ github.event.repository.name }}\n          DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}\n          DOCKER_IMAGE_URL: ${{env.DOCKER_REGISTRY}}/${{env.DOCKER_USERNAME}}/${{env.DOCKER_IMAGE}}\n          MODELS_WEBHOOK_URL_PROD: ${{secrets.MODELS_WEBHOOK_URL_PROD}}\n          AUTH_HEADER_PROD: ${{secrets.AUTH_HEADER_PROD}}\n          \n        run: |\n          DOCKER_IMAGE_URL=$DOCKER_REGISTRY/$DOCKER_USERNAME/$DOCKER_IMAGE\n          # Build image\n          docker build --build-arg GITHUB_TOKEN=$GITHUB_TOKEN -t $DOCKER_IMAGE_URL:$IMAGE_TAG .\n          # Login to github registry\n          echo $DOCKER_PASSWORD | docker login $DOCKER_REGISTRY -u $DOCKER_USERNAME --password-stdin\n          # Push images\n          echo \"Pushing image to New Container registry...\"\n          docker push $DOCKER_IMAGE_URL:$IMAGE_TAG\n          echo \"::set-output name=image::$DOCKER_IMAGE_URL:$IMAGE_TAG\"\n          # Logout\n          docker logout $DOCKER_REGISTRY\n          echo \"Sending webhook call...\"\n          curl -X POST -H \"Content-Type: application/json\" -d '{\"message\": \"webhook\"}' -H \"Authorization: $AUTH_HEADER_PROD\" $MODELS_WEBHOOK_URL_PROD\n", "state": "active", "repository": "credmark/credmark-models-py"}
{"mined_at": "2024-07-15T17:07:34.792725", "created_at": "2022-10-31T07:27:08+01:00", "updated_at": "2023-01-05T13:45:26+01:00", "name": "Build and Deploy", "path": ".github/workflows/staging.yml", "contents": "name: Build and Deploy\n\non:\n  push:\n    branches:\n      - staging\n\njobs:\n  test:\n    name: Test\n    uses: ./.github/workflows/test.yml\n\n  deploy:\n    name: Build and Deploy\n    runs-on: ubuntu-latest\n    needs: test\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Checkout build repo\n        uses: actions/checkout@v2\n        with:\n          repository: credmark/models-py-build\n          path: ./build-files\n          ssh-key: ${{ secrets.MODELS_PY_BUILD_DEPLOY_KEY }}\n\n      - name: Copy http build files\n        run: |\n          # Delete Dockerfile for the previous build\n          ./build-files/scripts/copy-http-build-files.sh .\n      - name: Build and Push to Github container registry\n        id: build-tag-push-image-new-registry\n        env:\n          IMAGE_TAG: latest-staging\n          DOCKER_REGISTRY: ${{secrets.DOCKER_REGISTRY}}\n          DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}\n          DOCKER_IMAGE: ${{ github.event.repository.name }}\n          DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}\n          DOCKER_IMAGE_URL: ${{env.DOCKER_REGISTRY}}/${{env.DOCKER_USERNAME}}/${{env.DOCKER_IMAGE}}\n          MODELS_WEBHOOK_URL_STAGE: ${{secrets.MODELS_WEBHOOK_URL_STAGE}}\n          AUTH_HEADER_STAGE: ${{secrets.AUTH_HEADER_STAGE}}\n          \n        run: |\n          DOCKER_IMAGE_URL=$DOCKER_REGISTRY/$DOCKER_USERNAME/$DOCKER_IMAGE\n          # Build image\n          docker build --build-arg GITHUB_TOKEN=$GITHUB_TOKEN -t $DOCKER_IMAGE_URL:$IMAGE_TAG .\n          # Login to github registry\n          echo $DOCKER_PASSWORD | docker login $DOCKER_REGISTRY -u $DOCKER_USERNAME --password-stdin\n          # Push images\n          echo \"Pushing image to New Container registry...\"\n          docker push $DOCKER_IMAGE_URL:$IMAGE_TAG\n          echo \"::set-output name=image::$DOCKER_IMAGE_URL:$IMAGE_TAG\"\n          # Logout\n          docker logout $DOCKER_REGISTRY\n          echo \"Sending webhook call...\"\n          curl -X POST -H \"Content-Type: application/json\" -d '{\"message\": \"webhook\"}' -H \"Authorization: $AUTH_HEADER_STAGE\" $MODELS_WEBHOOK_URL_STAGE\n", "state": "active", "repository": "credmark/credmark-models-py"}
{"mined_at": "2024-07-15T17:07:35.825632", "created_at": "2022-03-26T20:44:31+01:00", "updated_at": "2022-09-24T12:09:33+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  workflow_call:\n  pull_request:\n    branches:\n      - \"main\"\n\njobs:\n  build:\n    name: Verify Code and Test Models\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.11\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n      - name: Run pylint\n        timeout-minutes: 5\n        run: |\n          pylint models\n\n      - name: Test model load\n        run: |\n          credmark-dev list\n", "state": "active", "repository": "credmark/credmark-models-py"}
{"mined_at": "2024-07-15T17:07:38.934525", "created_at": "2022-04-09T17:43:45+02:00", "updated_at": "2023-07-29T01:48:09+02:00", "name": "Tests", "path": ".github/workflows/build.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  check_generated_files:\n    name: \"Check if generated files are up to date\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -qy npm git\n      - name: Check if files are up to date\n        run: make build-js\n      - name: Check for changes\n        run: |\n          git add -u\n          changes=$(git status --porcelain)\n          # Check for changes in regenerated files\n          if test -n \"$changes\"; then\n            echo \"Generated files not up to date.\"\n            echo \"$changes\"\n            echo \"\"\n            git diff --staged || true\n            exit 1\n          fi\n\n  test_with_coverage:\n    name: \"Test with coverage\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Set up dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -qy libdebuginfod-dev libunwind-dev liblz4-dev pkg-config npm gdb lldb lcov\n      - name: Create virtual environment\n        run: |\n          python3 -m venv venv\n      - name: Install Python dependencies\n        run: |\n          ./venv/bin/python -m pip install --upgrade pip\n      - name: Disable ptrace security restrictions\n        run: |\n          echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope\n      - name: Run coverage\n        env:\n          CYTHON_TEST_MACROS: 1\n          PYTHON: ./venv/bin/python\n        run: |\n          make dev-install pycoverage\n\n  test_in_alpine:\n    name: \"Test in Alpine Linux\"\n    runs-on: ubuntu-latest\n    container:\n      image: alpine\n      options: --cap-add=SYS_PTRACE\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up dependencies\n        run: |\n          apk add --update build-base libunwind-dev lz4-dev musl-dev python3-dev python3-dbg gdb lldb git bash perl perl-datetime build-base perl-app-cpanminus\n          cpanm Date::Parse\n          cpanm Capture::Tiny\n          # Build elfutils\n          cd /\n          apk add --update argp-standalone bison bsd-compat-headers bzip2-dev curl curl-dev flex-dev libtool linux-headers musl-fts-dev musl-libintl musl-obstack-dev xz-dev zlib-dev zstd-dev\n          VERS=0.191\n          curl https://sourceware.org/elfutils/ftp/$VERS/elfutils-$VERS.tar.bz2 > ./elfutils.tar.bz2\n          tar -xf elfutils.tar.bz2\n          cd elfutils-$VERS\n          CFLAGS='-Wno-error -DFNM_EXTMATCH=0 -g -O3' CXXFLAGS='-Wno-error -DFNM_EXTMATCH=0 -g -O3' ./configure --enable-libdebuginfod --disable-debuginfod --disable-nls --with-zstd\n          make install\n      - name: Clone lcov repository\n        run: |\n          git clone https://github.com/linux-test-project/lcov.git\n          ls -al\n      - name: Build and install lcov\n        run: |\n          cd lcov\n          make install\n      - name: Create virtual environment\n        run: |\n          python3 -m venv /venv\n      - name: Install Python dependencies\n        run: |\n          /venv/bin/python -m pip install --upgrade pip\n      - name: Run coverage\n        env:\n          CYTHON_TEST_MACROS: 1\n          PYTHON: /venv/bin/python\n          GENHTMLOPTS: \"--ignore-errors inconsistent\"\n        run: |\n          make dev-install pycoverage\n\n  lint_and_docs:\n    name: \"Lint and Docs\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 16\n      - name: Symlink node as nodejs\n        run: ln -sf \"$(which node)\" \"$(which node)js\"\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Set up dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -qy clang-format npm libdebuginfod-dev libunwind-dev liblz4-dev pkg-config\n      - name: Install Python dependencies\n        run: |\n          python3 -m pip install -r requirements-extra.txt\n      - name: Install Package\n        run: |\n          python3 -m pip install -e .\n      - name: Lint sources\n        run: |\n          make lint\n      - name: Build docs\n        run: |\n          towncrier build --version 99.99 --name memray --keep\n          make docs\n\n  valgrind:\n    name: \"Valgrind & Helgrind\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Set up dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -qy libdebuginfod-dev libunwind-dev liblz4-dev pkg-config npm valgrind\n      - name: Install Python dependencies and package\n        run: |\n          python3 -m pip install --upgrade pip\n          python3 -m pip install -r requirements-test.txt\n          python3 -m pip install -e .\n        env:\n          MEMRAY_MINIMIZE_INLINING: 1\n      - name: Run Valgrind\n        run: make valgrind\n      - name: Run Helgrind\n        run: make helgrind\n", "state": "active", "repository": "bloomberg/memray"}
{"mined_at": "2024-07-15T17:07:40.013465", "created_at": "2022-04-11T22:13:31+02:00", "updated_at": "2023-07-13T17:44:53+02:00", "name": "Wheels", "path": ".github/workflows/build_wheels.yml", "contents": "name: Wheels\n\non:\n  push:\n  pull_request:\n  release:\n    types:\n      - published\n  schedule:\n    # At 12:00 on every day-of-month\n    - cron: \"0 12 */1 * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Build sdist\n        run: pipx run build --sdist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: sdist\n          path: dist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: tests\n          path: tests\n\n  choose_linux_wheel_types:\n    name: Decide which wheel types to build\n    runs-on: ubuntu-latest\n    steps:\n      - id: manylinux_x86_64\n        run: echo \"wheel_types=manylinux_x86_64\" >> $GITHUB_OUTPUT\n      - id: musllinux_x86_64\n        run: echo \"wheel_types=musllinux_x86_64\" >> $GITHUB_OUTPUT\n      - id: manylinux_i686\n        run: echo \"wheel_types=manylinux_i686\" >> $GITHUB_OUTPUT\n      - id: manylinux_aarch64\n        if: github.event_name == 'release' && github.event.action == 'published'\n        run: echo \"wheel_types=manylinux_aarch64\" >> $GITHUB_OUTPUT\n    outputs:\n      wheel_types: ${{ toJSON(steps.*.outputs.wheel_types) }}\n\n  build_linux_wheels:\n    needs: [build_sdist, choose_linux_wheel_types]\n    name: ${{ matrix.wheel_type }}${{ matrix.manylinux2010_hack }} wheels\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        wheel_type: ${{ fromJSON(needs.choose_linux_wheel_types.outputs.wheel_types) }}\n        manylinux2010_hack: [\"\"]\n        include:\n          - wheel_type: manylinux_x86_64\n            manylinux2010_hack: \"_manylinux2010_hack\"\n    steps:\n      - name: Build manylinux2010 image containing Python 3.11 and 3.12\n        if: matrix.manylinux2010_hack\n        run: |\n          echo \"CIBW_SKIP=*cp3{7,8,9,10,13}*\" >> $GITHUB_ENV\n          echo \"CIBW_MANYLINUX_X86_64_IMAGE=manylinux2010-with-modern-cpython\" >> $GITHUB_ENV\n          docker build -t manylinux2010-with-modern-cpython - <<'EOF'\n          # syntax=docker/dockerfile:1\n          FROM quay.io/pypa/manylinux2010_x86_64:latest\n          RUN curl https://pyenv.run | bash && \\\n           export PYENV_ROOT=\"$HOME/.pyenv\" && \\\n           export PATH=\"$PYENV_ROOT/bin:$PATH\" && \\\n           eval \"$(pyenv init -)\" && \\\n           yum install -y make patch zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel tk-devel libffi-devel xz-devel perl-IPC-Cmd && \\\n           curl -L https://www.openssl.org/source/openssl-3.0.12.tar.gz >openssl-3.0.12.tar.gz && \\\n           tar xzf openssl-3.0.12.tar.gz && \\\n           (cd openssl-3.0.12 && ./config no-shared --prefix=/usr/local/ssl --openssldir=/usr/local/ssl --libdir=lib && make && make install_sw) && \\\n           rm -rf openssl-3.0.12.tar.gz && \\\n           rm -rf openssl-3.0.12 && \\\n           PYTHON_CONFIGURE_OPTS=--with-openssl=/usr/local/ssl pyenv install 3.11 && \\\n           ln -s /root/.pyenv/versions/3.11* /opt/python/cp311-cp311 && \\\n           PYTHON_CONFIGURE_OPTS=--with-openssl=/usr/local/ssl pyenv install 3.12 && \\\n           ln -s /root/.pyenv/versions/3.12* /opt/python/cp312-cp312 && \\\n           true\n          EOF\n      - uses: actions/download-artifact@v4\n        with:\n          name: sdist\n          path: dist\n      - uses: actions/download-artifact@v4\n        with:\n          name: tests\n          path: tests\n      - uses: docker/setup-qemu-action@v3\n        if: runner.os == 'Linux'\n        name: Set up QEMU\n      - name: Extract sdist\n        run: |\n          tar zxvf dist/*.tar.gz --strip-components=1\n      - name: Disable ptrace security restrictions\n        run: |\n          echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_BUILD: \"cp3{7..13}-${{ matrix.wheel_type }}\"\n          CIBW_ARCHS_LINUX: auto aarch64\n          CIBW_PRERELEASE_PYTHONS: True\n          CIBW_TEST_EXTRAS: test\n          CIBW_TEST_COMMAND: python -m pytest {package}/tests\n          CIBW_TEST_SKIP: \"*aarch64*\"\n      - uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.wheel_type }}${{ matrix.manylinux2010_hack }}-wheels\n          path: ./wheelhouse/*.whl\n\n  build_macosx_wheels:\n    needs: [build_sdist]\n    name: macosx_${{ matrix.arch }} wheels\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          - os: macos-13\n            arch: x86_64\n          - os: macos-14\n            arch: arm64\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: sdist\n          path: dist\n      - uses: actions/download-artifact@v4\n        with:\n          name: tests\n          path: tests\n      - name: Extract sdist\n        run: |\n          tar zxvf dist/*.tar.gz --strip-components=1\n      - name: Sets env vars for compilation\n        run: |\n          echo \"LZ4_INSTALL_DIR=/tmp/lz4_install\" >> $GITHUB_ENV\n          echo \"CFLAGS=-arch ${{matrix.arch}}\" >> $GITHUB_ENV\n      - name: Set x86_64-specific environment variables\n        if: matrix.arch == 'x86_64'\n        run: |\n          echo \"MACOSX_DEPLOYMENT_TARGET=10.14\" >> $GITHUB_ENV\n      - name: Set arm64-specific environment variables\n        if: matrix.arch == 'arm64'\n        run: |\n          echo \"MACOSX_DEPLOYMENT_TARGET=11.0\" >> $GITHUB_ENV\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_BUILD: \"cp3{8..13}-*\"\n          CIBW_PRERELEASE_PYTHONS: True\n          CIBW_TEST_EXTRAS: test\n          CIBW_TEST_COMMAND: pytest {package}/tests\n          CIBW_BUILD_VERBOSITY: 1\n          CFLAGS: \"${{env.CFLAGS}} -I${{env.LZ4_INSTALL_DIR}}/include\"\n          LDFLAGS: \"-L${{env.LZ4_INSTALL_DIR}}/lib -Wl,-rpath,${{env.LZ4_INSTALL_DIR}}/lib\"\n          PKG_CONFIG_PATH: \"${{env.LZ4_INSTALL_DIR}}/lib/pkgconfig\"\n          CIBW_REPAIR_WHEEL_COMMAND_MACOS: \"DYLD_LIBRARY_PATH=${{env.LZ4_INSTALL_DIR}}/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}\"\n      - uses: actions/upload-artifact@v4\n        with:\n          name: macosx_${{ matrix.arch }}-wheels\n          path: ./wheelhouse/*.whl\n\n  build_and_test_wheels:\n    name: Build and test wheels\n    needs: [build_linux_wheels, build_macosx_wheels]\n    runs-on: ubuntu-latest\n    steps:\n      # We can't make a matrix job itself a required check in GitHub,\n      # so we instead add a job that depends on the two matrix jobs,\n      # and we mark this job as required instead. This job doesn't do\n      # any work, it just lets us better manage our required checks.\n      - run: echo \"Done!\"\n\n  upload_pypi:\n    needs: [build_and_test_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          # with no name set, it downloads all of the artifacts\n          path: dist\n      - run: |\n          mv dist/sdist/*.tar.gz dist/\n          mv dist/*-wheels/*.whl dist/\n          rmdir dist/{sdist,*-wheels}\n          rm -r dist/tests\n          ls -R dist\n      - name: Avoid publishing Python 3.13 wheels\n        run: |\n          rm -f dist/*cp313*\n          ls -l dist/\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          skip_existing: true\n          password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "bloomberg/memray"}
{"mined_at": "2024-07-15T17:07:41.045122", "created_at": "2023-05-31T01:23:58+02:00", "updated_at": "2023-06-08T12:34:31+02:00", "name": "Coverage", "path": ".github/workflows/coverage.yml", "contents": "name: Coverage\n\npermissions:\n  pull-requests: write\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  release:\n    types:\n      - published\n  schedule:\n    # At 12:00 on every day-of-month\n    - cron: \"0 12 */1 * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  coverage:\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Set up dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -qy \\\n            pkg-config \\\n            libdebuginfod-dev \\\n            libunwind-dev \\\n            liblz4-dev \\\n            gdb \\\n            lcov \\\n            libdw-dev \\\n            libelf-dev \\\n            python3.10-dev \\\n            python3.10-dbg\n      - name: Install Python dependencies\n        run: |\n          python3 -m pip install --upgrade pip cython pkgconfig\n          make test-install\n      - name: Disable ptrace security restrictions\n        run: |\n          echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope\n      - name: Add ./node_modules/.bin to PATH\n        run: |\n          export PATH=\"./node_modules/.bin:$PATH\"\n      - name: Compute C++ coverage\n        run: |\n          make ccoverage\n      - name: Compute Python + Cython coverage\n        run: |\n          make pycoverage\n      - name: Upload C++ report to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: cppcoverage.lcov\n          flags: cpp\n      - name: Upload {P,C}ython report to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: pycoverage.lcov\n          flags: python_and_cython\n", "state": "active", "repository": "bloomberg/memray"}
{"mined_at": "2024-07-15T17:07:42.163527", "created_at": "2024-05-20T16:30:06+02:00", "updated_at": "2024-05-20T17:04:42+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  publish_docs:\n    name: Publish docs\n    runs-on: ubuntu-latest\n    #if: github.event_name == 'release' && github.event.action == 'published'\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Set up dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install --no-install-recommends -qy libdebuginfod-dev libunwind-dev liblz4-dev pkg-config\n      - name: Install Python dependencies\n        run: |\n          python3 -m pip install -r requirements-extra.txt\n      - name: Install Package\n        run: |\n          python3 -m pip install -e .\n      - name: Build docs\n        run: |\n          make docs\n      - name: Publish docs to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: docs/_build/html\n          single-commit: true\n", "state": "active", "repository": "bloomberg/memray"}
{"mined_at": "2024-07-15T17:07:43.391386", "created_at": "2023-04-25T00:29:04+02:00", "updated_at": "2023-04-25T00:29:04+02:00", "name": "News entry check", "path": ".github/workflows/news-check.yml", "contents": "name: News entry check\non:\n  pull_request:\n    paths:\n      - \"src/memray/**\"\n    types:\n      - \"opened\"\n      - \"reopened\"\n      - \"synchronize\"\n      - \"labeled\"\n      - \"unlabeled\"\n\njobs:\n  news_entry_check:\n    runs-on: ubuntu-latest\n    name: Check for news entry\n    steps:\n      - name: \"Check for news entry\"\n        uses: brettcannon/check-for-changed-files@v1\n        with:\n          file-pattern: \"news/*.rst\"\n          skip-label: \"skip news\"\n          failure-message: \"Missing a news file in ${file-pattern}; please add one or apply the ${skip-label} label to the pull request\"\n", "state": "active", "repository": "bloomberg/memray"}
{"mined_at": "2024-07-15T17:07:44.432501", "created_at": "2022-04-22T12:59:55+02:00", "updated_at": "2023-01-19T14:36:44+01:00", "name": "Sanity check", "path": ".github/workflows/sanity-check.yml", "contents": "name: Sanity check\non:\n  pull_request:\n    types:\n      - \"opened\"\n      - \"reopened\"\n      - \"synchronize\"\n      - \"labeled\"\n      - \"unlabeled\"\n\njobs:\n  commits_check_job:\n    runs-on: ubuntu-latest\n    name: Commits Check\n    steps:\n      - name: Get PR Commits\n        id: \"get-pr-commits\"\n        uses: tim-actions/get-pr-commits@master\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - name: DCO Check\n        uses: tim-actions/dco@master\n        with:\n          commits: ${{ steps.get-pr-commits.outputs.commits }}\n", "state": "active", "repository": "bloomberg/memray"}
{"mined_at": "2024-07-15T17:07:45.443533", "created_at": "2024-07-12T02:46:36+02:00", "updated_at": "2024-07-12T02:46:36+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "bloomberg/memray"}
{"mined_at": "2024-07-15T17:07:46.529548", "created_at": "2024-04-25T17:43:46+02:00", "updated_at": "2024-04-25T17:43:46+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "bloomberg/memray"}
{"mined_at": "2024-07-15T17:07:48.818687", "created_at": "2022-01-26T20:37:49+01:00", "updated_at": "2022-01-26T20:37:49+01:00", "name": "dev workflow", "path": ".github/workflows/dev.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: dev workflow\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master, main ]\n  pull_request:\n    branches: [ master, main ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"test\"\n  test:\n    # The type of runner that the job will run on\n    strategy:\n      matrix:\n        python-versions: ['3.7', '3.8', '3.9', '3.10', '3.11']\n        os: [ubuntu-20.04]\n#        os: [ubuntu-18.04, macos-latest, windows-latest]\n    runs-on: ${{ matrix.os }}\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-versions }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry tox tox-gh-actions\n\n      - name: test with tox\n        run:\n          tox\n        env:\n          NML_DISABLE_USAGE_LOGGING: 1\n\n      - name: list files\n        run: ls -l .\n\n      - uses: codecov/codecov-action@v1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: false\n          files: coverage.xml\n", "state": "active", "repository": "nannyml/nannyml"}
{"mined_at": "2024-07-15T17:07:49.852927", "created_at": "2022-01-26T20:37:49+01:00", "updated_at": "2022-01-26T20:37:49+01:00", "name": "stage & preview workflow", "path": ".github/workflows/preview.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: stage & preview workflow\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push or pull request events but only for the master branch\n  push:\n    branches: [ master, main ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  publish_dev_build:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-versions: [ 3.8 ]\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-versions }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry tox tox-gh-actions\n\n      - name: check env var\n        run:\n          echo $NML_DISABLE_USER_ANALYTICS\n        env:\n          NML_DISABLE_USER_ANALYTICS: 1\n\n      - name: test with tox\n        run:\n          tox\n        env:\n          NML_DISABLE_USAGE_LOGGING: 1\n\n      - name: Build wheels and source tarball\n        run: |\n          poetry version $(poetry version --short)-dev.$GITHUB_RUN_NUMBER\n          poetry version --short\n          poetry build\n\n      - name: publish to Test PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_API_TOKEN}}\n          repository_url: https://test.pypi.org/legacy/\n          skip_existing: true\n", "state": "active", "repository": "nannyml/nannyml"}
{"mined_at": "2024-07-15T17:07:50.969217", "created_at": "2022-01-26T20:37:49+01:00", "updated_at": "2022-01-26T20:37:49+01:00", "name": "release & publish workflow", "path": ".github/workflows/release.yml", "contents": "# Publish package on main branch if it's tagged with 'v*'\n\nname: release & publish workflow\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push events but only for the master branch\n  push:\n    tags:\n      - 'v*'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"release\"\n  release:\n    name: Create Release\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-versions: [3.8]\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - name: Get version from tag\n        id: tag_name\n        run: |\n          echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}\n        shell: bash\n\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n\n      - name: Get Changelog Entry\n        id: changelog_reader\n        uses: mindsers/changelog-reader-action@v2\n        with:\n          validation_depth: 10\n          version: ${{ steps.tag_name.outputs.current_version }}\n          path: ./CHANGELOG.md\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-versions }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry\n\n#      - name: build documentation\n#        run: |\n#          poetry install -E doc\n#          poetry run sphinx-apidoc -o docs/nannyml nannyml tests\n#          poetry run sphinx-build -b html docs/ docs/_build/html\n#\n#      - name: publish documentation\n#        uses: peaceiris/actions-gh-pages@v3\n#        with:\n#          github_token: ${{ secrets.GITHUB_TOKEN }}\n#          publish_dir: ./public\n\n      - name: Build wheels and source tarball\n        run: >-\n          poetry build\n\n      - name: show temporary files\n        run: >-\n          ls -l\n\n      - name: create github release\n        id: create_release\n        uses: softprops/action-gh-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          body: ${{ steps.changelog_reader.outputs.changes }}\n          files: dist/*.whl\n          draft: false\n          prerelease: false\n\n      - name: publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip_existing: true\n", "state": "active", "repository": "nannyml/nannyml"}
{"mined_at": "2024-07-15T17:07:53.213375", "created_at": "2024-07-15T06:18:45+02:00", "updated_at": "2024-07-15T06:18:45+02:00", "name": "Sync to Codeberg", "path": ".github/workflows/codeberg.yaml", "contents": null, "state": "active", "repository": "mov-cli/mov-cli"}
{"mined_at": "2024-07-15T17:07:54.453462", "created_at": "2024-06-23T19:01:18+02:00", "updated_at": "2024-06-23T19:01:18+02:00", "name": "Docs", "path": ".github/workflows/documentation.yaml", "contents": "name: Docs\non: [push, pull_request, workflow_dispatch]\npermissions:\n    contents: write\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install wheel setuptools>=68.2.2 -U\n          pip install .[dev]\n      - name: Sphinx build\n        run: |\n          sphinx-build docs _build\n      - name: Generate CNAME file with python.\n        run: |\n          python -c \"open('./_build/CNAME', mode='w').write('mov-cli.devgoldy.xyz')\"\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/v4' }}\n        with:\n          publish_branch: gh-pages\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: _build/\n          force_orphan: true", "state": "active", "repository": "mov-cli/mov-cli"}
{"mined_at": "2024-07-15T17:07:55.679364", "created_at": "2023-02-19T05:05:23+01:00", "updated_at": "2024-03-15T16:49:40+01:00", "name": "Upload Python Package", "path": ".github/workflows/pypi.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install deps and build package\n      run: python3 -m pip install --upgrade build && python3 -m build\n    - name: Upload package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}", "state": "disabled_manually", "repository": "mov-cli/mov-cli"}
{"mined_at": "2024-07-15T17:07:56.908106", "created_at": "2023-10-05T16:37:26+02:00", "updated_at": "2024-03-10T18:04:41+01:00", "name": "Ruff linting", "path": ".github/workflows/ruff.yml", "contents": "name: Ruff linting\n\non: [push, pull_request, workflow_dispatch]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[dev]\n\n      - name: Lint with ruff\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          ruff check --target-version=py38 .", "state": "active", "repository": "mov-cli/mov-cli"}
{"mined_at": "2024-07-15T17:07:58.136719", "created_at": "2022-09-10T15:31:06+02:00", "updated_at": "2022-09-10T15:31:06+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mov-cli/mov-cli"}
{"mined_at": "2024-07-15T17:08:00.287118", "created_at": "2022-04-16T16:44:07+02:00", "updated_at": "2022-04-16T16:44:07+02:00", "name": "Testing and distribution", "path": ".github/workflows/continuous-deployment.yaml", "contents": "name: Testing and distribution\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  lint-python:\n    name: Lint Python code\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Install pipenv\n        run: pipx install pipenv\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n          cache: 'pipenv'\n\n      - id: pipenv-install\n        name: Install Python dependencies\n        run: pipenv install --dev --python `which python`\n\n      - id: lint\n        name: Lint\n        run: pipenv run flake8 ./calaccess_raw\n\n  test-python:\n    name: \"Test Python code\"\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        settings: ['postgresql', 'multi_dbs']\n        python: ['3.8', '3.9', '3.10']\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: calaccess_raw\n          POSTGRES_USER: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n    steps:\n      - name: Checkout the repo\n        uses: actions/checkout@v2\n\n      - name: Install pipenv\n        run: pipx install pipenv\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pipenv'\n\n      - id: pipenv-install\n        name: Install Python dependencies\n        run: pipenv install --dev --python `which python` --skip-lock\n\n      - name: Test\n        run: |\n          cp example/settings_test_${{ matrix.settings }}.py.template example/settings_local.py\n          pipenv run coverage run example/manage.py test calaccess_raw\n          pipenv run coverage report -m\n        env:\n          IA_STORAGE_ACCESS_KEY: ${{ secrets.IA_STORAGE_ACCESS_KEY }}\n          IA_STORAGE_SECRET_KEY: ${{ secrets.IA_STORAGE_SECRET_KEY }}\n\n  test-build:\n    name: Build Python package\n    runs-on: ubuntu-latest\n    needs: [test-python]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Install pipenv\n        run: pipx install pipenv\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n          cache: 'pipenv'\n\n      - id: pipenv-install\n        name: Install Python dependencies\n        run: pipenv install --dev --python `which python`\n\n      - id: build\n        name: Build release\n        run: |\n          pipenv run python setup.py sdist\n          pipenv run python setup.py bdist_wheel\n        shell: bash\n\n      - id: check\n        name: Check release\n        run: pipenv run twine check dist/*\n        shell: bash\n\n      - id: save\n        name: Save artifact\n        uses: actions/upload-artifact@v2\n        with:\n          name: release\n          path: ./dist\n          if-no-files-found: error\n\n  tag-release:\n    name: Tagged PyPI release\n    runs-on: ubuntu-latest\n    needs: [test-build]\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    steps:\n      - uses: actions/setup-python@v3\n        with:\n          python-version: '3.9'\n\n      - id: fetch\n        name: Fetch artifact\n        uses: actions/download-artifact@v3\n        with:\n          name: release\n          path: ./dist\n\n      - id: publish\n        name: Publish release\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          verbose: true\n          verify_metadata: false\n", "state": "active", "repository": "palewire/django-calaccess-raw-data"}
{"mined_at": "2024-07-15T17:08:01.384284", "created_at": "2024-07-12T03:30:06+02:00", "updated_at": "2024-07-12T03:30:06+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "palewire/django-calaccess-raw-data"}
{"mined_at": "2024-07-15T17:08:03.858492", "created_at": "2023-07-26T09:51:39+02:00", "updated_at": "2023-07-26T09:51:39+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "billyeatcookies/biscuit"}
{"mined_at": "2024-07-15T17:08:05.204211", "created_at": "2023-10-28T12:27:26+02:00", "updated_at": "2023-10-28T12:27:26+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - main\n    # Review gh actions docs if you want to further define triggers, paths, etc\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on\n\npermissions:\n  contents: write\n\njobs:\n  deploy:\n    name: pages\n    runs-on: ubuntu-latest\n    if: contains(github.event.head_commit.message, 'docs')\n    defaults:\n       run:\n         working-directory: ./docs/\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 18\n          cache: yarn\n          cache-dependency-path: './docs/package-lock.json'\n      - name: Install dependencies\n        run: yarn install --frozen-lockfile\n      - name: Build website\n        run: yarn build\n\n      # Popular action to deploy to GitHub Pages:\n      # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus\n      - name: Deploy to GitHub Pages\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          # Build output to publish to the `gh-pages` branch:\n          publish_dir: ./docs/build\n          # The following lines assign commit authorship to the official\n          # GH-Actions bot for deploys to `gh-pages` branch:\n          # https://github.com/actions/checkout/issues/13#issuecomment-724415212\n          # The GH actions bot is used by default if you didn't specify the two fields.\n          # You can swap them out with your own user credentials.\n          user_name: billyeatcookies\n          user_email: billydevbusiness@gmail.com\n", "state": "active", "repository": "billyeatcookies/biscuit"}
{"mined_at": "2024-07-15T17:08:06.433699", "created_at": "2023-10-28T13:10:01+02:00", "updated_at": "2023-10-28T13:10:01+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "billyeatcookies/biscuit"}
{"mined_at": "2024-07-15T17:08:07.766693", "created_at": "2024-01-01T19:28:06+01:00", "updated_at": "2024-01-02T10:18:50+01:00", "name": "Biscuit Nuitka builds (experimental)", "path": ".github/workflows/nuitka.yml", "contents": "# This workflow will install Python dependencies, pyinstaller and build executable with a version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: \"Biscuit Nuitka builds (experimental)\"\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\njobs:\n  build:\n    runs-on: windows-latest\n    if: contains(github.event.head_commit.message, 'nuitka')\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n\n      - name: Install requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install Nuitka\n\n      - name: nuitka build\n        run: echo Yes| python -m nuitka --include-data-dir=biscuit\\\\res=res --include-package-data=tkextrafont --include-package-data=sv_ttk --include-package-data=pygments --include-package-data=tkinterweb --include-package-data=mistune --follow-import-to=pygments --follow-import-to=tkextrafont --follow-import-to=mistune --follow-import-to=tkinterweb --include-package=tkextrafont --include-package=pygments --include-package=mistune --include-package=tkinterweb --include-module=pygments --include-module=mistune --include-module=tkinterweb --include-module=tkextrafont --follow-imports --standalone --enable-plugin=tk-inter biscuit\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v3\n        with:\n            name: \"biscuit-nuitka\"\n            path: \"biscuit.dist\"\n  ", "state": "active", "repository": "billyeatcookies/biscuit"}
{"mined_at": "2024-07-15T17:08:09.196509", "created_at": "2024-01-02T10:18:50+01:00", "updated_at": "2024-06-25T13:51:59+02:00", "name": "Lint and Test", "path": ".github/workflows/codequality.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Code Quality Checks\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n    \n    - name: Install prerequisites\n      run: |\n        sudo apt install python3-dev tcl-dev tk-dev fontconfig libfontconfig1 libfontconfig1-dev cmake cmake-data extra-cmake-modules build-essential\n        pip install scikit-build\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8\n        pip install -r requirements.txt\n        \n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n#     - name: Test with pytest\n#       run: |\n#         pytest\n  qodana:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n      checks: write\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}  # to check out the actual pull request commit, not the merge commit\n          fetch-depth: 0  # a full history is required for pull request analysis\n      - name: 'Codecov'\n        uses: codecov/codecov-action@v3\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "billyeatcookies/biscuit"}
{"mined_at": "2024-07-15T17:08:10.527217", "created_at": "2024-01-02T10:18:50+01:00", "updated_at": "2024-01-02T10:18:50+01:00", "name": "Biscuit Nightly Builds", "path": ".github/workflows/nightly.yml", "contents": "# This workflow will install Python dependencies, pyinstaller and build executable with a version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: \"Biscuit Nightly Builds\"\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\njobs:\n  build-ubuntu:\n    runs-on: ubuntu-latest\n    if: contains(github.event.head_commit.message, 'nightly')\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n      \n      - name: Install prerequisites\n        run: |\n          sudo apt install python3-dev tcl-dev tk-dev fontconfig libfontconfig1 libfontconfig1-dev cmake cmake-data extra-cmake-modules build-essential\n          pip install scikit-build\n\n      - name: Install requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install pyinstaller\n\n      - name: Build biscuit\n        run: pyinstaller scripts/linux.spec\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v3\n        with:\n            name: \"biscuit-nightly-anylinux\"\n            path: \"dist/\"\n  \n\n  build-windows:\n    runs-on: windows-latest\n    if: contains(github.event.head_commit.message, 'nightly')\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n\n      - name: Install requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install pyinstaller\n\n      - name: Build biscuit\n        run: pyinstaller scripts/windows.spec\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v3\n        with:\n            name: \"biscuit-nightly-windows\"\n            path: \"dist/\"\n", "state": "active", "repository": "billyeatcookies/biscuit"}
{"mined_at": "2024-07-15T17:08:12.883808", "created_at": "2020-10-09T16:06:33+02:00", "updated_at": "2023-09-27T14:00:53+02:00", "name": "Python package", "path": ".github/workflows/pytest.yml", "contents": null, "state": "active", "repository": "dice-group/ontolearn"}
{"mined_at": "2024-07-15T17:08:14.010089", "created_at": "2020-10-09T16:12:10+02:00", "updated_at": "2023-10-24T15:38:27+02:00", "name": "Python package", "path": ".github/workflows/test.yml", "contents": "name: Python package\n\non: [push,pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10.14\"]\n      max-parallel: 5\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip3 install -e .\n          \n\n      - name: Test with pytest\n        run: |\n          wget https://files.dice-research.org/projects/Ontolearn/KGs.zip\n          wget https://files.dice-research.org/projects/Ontolearn/LPs.zip\n          unzip KGs.zip && unzip LPs.zip\n          pytest -p no:warnings -x", "state": "active", "repository": "dice-group/ontolearn"}
{"mined_at": "2024-07-15T17:08:15.114639", "created_at": "2021-03-26T21:48:25+01:00", "updated_at": "2023-12-12T17:35:42+01:00", "name": "Build docs", "path": ".github/workflows/docs.yml", "contents": "name: Build docs\n\non:\n  push:\n    branches:\n     - master\n     - develop\n  pull_request:\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.10.13\" ]\n      max-parallel: 5\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python3 -m pip install --upgrade pip\n        pip3 install -e .[\"doc\"]\n\n    - name: Prepare required software\n      run: |\n        # epstopdf & dot & noto-fonts\n        sudo apt update && sudo apt install texlive-font-utils graphviz fonts-noto\\\n\n    - name: Build docs\n      run: |\n        sphinx-build -M html docs/ docs/_build/\n\n    - name: Build LaTeX docs\n      run: |\n        sphinx-build -M latex docs/ docs/_build/\n\n    - name: Compile LaTeX document\n      uses: docker://texlive/texlive:latest\n      with:\n        args: make -C docs/_build/latex\n    - run: |\n        cp docs/_build/latex/ontolearn.pdf docs/_build/html/\n\n    - name: Deploy to netlify\n      uses: nwtgck/actions-netlify@v1.2\n      with:\n        publish-dir: 'docs/_build/html'\n        production-branch: develop\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        deploy-message: \"Deploy from GitHub Actions ${{ github.sha }}\"\n        alias: ${{ github.head_ref }}\n        enable-pull-request-comment: false\n        enable-commit-comment: false\n      env:\n        NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n        NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n      timeout-minutes: 5\n", "state": "active", "repository": "dice-group/ontolearn"}
{"mined_at": "2024-07-15T17:08:16.363759", "created_at": "2021-04-01T22:54:02+02:00", "updated_at": "2021-05-03T17:36:03+02:00", "name": "Depublish docs", "path": ".github/workflows/docs-depublish.yml", "contents": "name: Depublish docs\n\non:\n  pull_request:\n    types: [closed]\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Create placeholder webpage\n      run: |\n        mkdir empty_page\n        echo \"<body onload=\\\"window.location.host = window.location.host.replace(/^.*--/, '')\\\">This branch has been completed</body>\" > empty_page/index.html\n    - name: Depublish from netlify\n      uses: nwtgck/actions-netlify@v1.2\n      with:\n        publish-dir: 'empty_page'\n        production-deploy: false\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        deploy-message: \"Depublish from GitHub Actions ${{ github.sha }}\"\n        alias: ${{ github.head_ref }}\n        enable-pull-request-comment: false\n        enable-commit-comment: false\n      env:\n        NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n        NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n      timeout-minutes: 5\n", "state": "active", "repository": "dice-group/ontolearn"}
{"mined_at": "2024-07-15T17:08:18.618598", "created_at": "2020-06-05T01:16:06+02:00", "updated_at": "2020-06-05T01:16:06+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  pull_request:\n    types: [opened, reopened, labeled, synchronize]\n    paths:\n    - src/**\n    - tests/**\n    - docker-compose*.yml\n    - noxfile.py\n    - pyproject.toml\n    - .github/workflows/tests.yml\n    - .github/workflows/constraints.txt\n    - .github/actions/install-tools/action.yml\n  push:\n    branches:\n    - 'main'\n    paths:\n    - src/**\n    - tests/**\n    - docker-compose*.yml\n    - noxfile.py\n    - pyproject.toml\n    - .github/workflows/tests.yml\n    - .github/workflows/constraints.txt\n    - .github/actions/install-tools/action.yml\n  schedule:\n  - cron: \"25 7 */3 * *\"\n  workflow_dispatch:\n    inputs:\n      all_integrations:\n        description: \"Test against all the latest LimeSurvey docker image tags and all database engines\"\n        required: true\n        default: false\n        type: boolean\n\npermissions: read-all\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: \"1\"\n\njobs:\n  tests:\n    name: \"Test ${{ matrix.python-version }} ${{ matrix.nightly && '(nightly) ' || '' }}/ ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.experimental || false }}\n    env:\n      COVERAGE_FILE: \".coverage.unit\"\n      NOXFORCEPYTHON: \"${{ matrix.python-version }}\"\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n        - \"3.8\"\n        - \"3.9\"\n        - \"3.10\"\n        - \"3.11\"\n        - \"3.12\"\n        - \"3.13\"\n        - \"pypy3.10\"\n        os: [\"ubuntu-latest\"]\n        include:\n        - python-version: \"3.14\"\n          os: \"ubuntu-latest\"\n          session: \"tests\"\n          experimental: true\n          nightly: true\n\n        - python-version: \"3.12\"\n          os: \"windows-latest\"\n          session: \"tests\"\n\n        - python-version: \"3.12\"\n          os: \"macos-latest\"\n          session: \"tests\"\n\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29\n      with:\n        fetch-tags: true\n\n    - name: Setup Python ${{ matrix.python-version }}\n      if: \"${{ !matrix.nightly }}\"\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: x64\n        allow-prereleases: true\n        cache: pip\n        cache-dependency-path: |\n          pyproject.toml\n          .github/workflows/constraint.txt\n\n    - name: Setup Python ${{ matrix.python-version }} (nightly)\n      if: \"${{ matrix.nightly }}\"\n      uses: deadsnakes/action@244dbe68f25c7b218e462ef9e155817fed612c0d\n      with:\n        python-version: \"${{ matrix.python-version }}-dev\"\n\n    - name: Install tools\n      uses: ./.github/actions/install-tools\n\n    - name: Run Tests\n      run: |\n        nox --verbose -s tests\n\n    - name: Upload coverage data\n      uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808\n      with:\n        name: \"coverage-unit-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.nightly && 'nightly' || 'stable' }}\"\n        path: \".coverage.*\"\n\n    - name: Run Doctests\n      run: |\n        nox -s xdoctest\n\n    - name: Run Dependency Checks\n      run: |\n        nox -s deps\n\n    - name: Run Mypy\n      run: |\n        nox -s mypy\n\n  docker_tags:\n    name: Get Docker tags\n    runs-on: ubuntu-latest\n    outputs:\n      tags: ${{ steps.tags.outputs.tags }}\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29\n\n    - name: Setup Python\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n      with:\n        python-version: 3.12\n        architecture: x64\n        allow-prereleases: true\n        cache: pip\n        cache-dependency-path: |\n          pyproject.toml\n          requirements/*.txt\n          .github/workflows/constraints.txt\n\n    - name: Install tools\n      uses: ./.github/actions/install-tools\n\n    - name: Test against required tags\n      if: ${{ contains(github.event.pull_request.labels.*.name, 'Release') || inputs.all_integrations }}\n      run: |\n        nox -s generate-tags > limesurvey-docker-tags.json\n\n    - name: Test against latest tags\n      if: ${{ !contains(github.event.pull_request.labels.*.name, 'Release') && !inputs.all_integrations }}\n      run: |\n        echo '[\"6-apache\", \"5-apache\"]' > limesurvey-docker-tags.json\n\n    - name: Output tags\n      id: tags\n      run: |\n        echo \"tags=$(cat limesurvey-docker-tags.json)\" >> $GITHUB_OUTPUT\n\n  databases:\n    name: Get database engines\n    runs-on: ubuntu-latest\n    outputs:\n      engines: ${{ steps.engines.outputs.engines }}\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29\n\n    - name: Test against all engines\n      if: ${{ contains(github.event.pull_request.labels.*.name, 'Release') || inputs.all_integrations }}\n      run: |\n        echo '[\"postgres\", \"mysql\"]' > database-engines.json\n\n    - name: Test against PostgreSQL\n      if: ${{ !contains(github.event.pull_request.labels.*.name, 'Release') && !inputs.all_integrations }}\n      run: |\n        echo '[\"postgres\"]' > database-engines.json\n\n    - name: Output engines\n      id: engines\n      run: |\n        echo \"engines=$(cat database-engines.json)\" >> $GITHUB_OUTPUT\n\n  integration:\n    name: \"integration ${{ matrix.python-version }} / ${{ matrix.image_tag || matrix.ref }} / ${{ matrix.database }}\"\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    needs: [docker_tags, databases]\n    env:\n      COVERAGE_FILE: \".coverage.integration\"\n      LS_USER: citric_ci\n      LS_PASSWORD: notverysecret\n      LS_PORT: \"8080\"\n      NOXSESSION: integration\n      NOXFORCEPYTHON: \"${{ matrix.python-version }}\"\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.12\"]\n        database: ${{ fromJson(needs.databases.outputs.engines) }}\n        ref: [\"\"]\n        context: [\"\"]\n        image_tag: ${{ fromJson(needs.docker_tags.outputs.tags) }}\n        include:\n        # Test on other Python versions\n        - python-version: \"3.8\"\n          image_tag: \"6-apache\"\n          database: postgres\n\n        - python-version: \"3.9\"\n          image_tag: \"6-apache\"\n          database: postgres\n\n        - python-version: \"3.10\"\n          image_tag: \"6-apache\"\n          database: postgres\n\n        - python-version: \"3.11\"\n          image_tag: \"6-apache\"\n          database: postgres\n\n        - python-version: \"3.13\"\n          image_tag: \"6-apache\"\n          database: postgres\n\n        - python-version: \"pypy3.10\"\n          image_tag: \"6-apache\"\n          database: postgres\n\n        # Test Limesurvey/LimeSurvey branches\n        - python-version: \"3.12\"\n          ref: refs/heads/5.x\n          context: https://github.com/martialblog/docker-limesurvey.git#master:5.0/apache\n          database: postgres\n\n        - python-version: \"3.12\"\n          ref: refs/heads/develop\n          context: https://github.com/martialblog/docker-limesurvey.git#master:6.0/apache\n          database: postgres\n\n        - python-version: \"3.12\"\n          ref: refs/heads/master\n          context: https://github.com/martialblog/docker-limesurvey.git#master:6.0/apache\n          database: postgres\n\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29\n      with:\n        fetch-tags: true\n\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: x64\n        allow-prereleases: true\n        cache: pip\n        cache-dependency-path: |\n          pyproject.toml\n          .github/workflows/constraint.txt\n\n    - name: Install tools\n      uses: ./.github/actions/install-tools\n\n    - name: Download LimeSurvey archive\n      if: ${{ matrix.ref }}\n      run: |\n        wget https://github.com/LimeSurvey/LimeSurvey/archive/${{ matrix.ref }}.tar.gz -O ls.tar.gz -nv\n        echo \"LS_CHECKSUM=$(shasum -a 256 ls.tar.gz | cut -d' ' -f1)\" >> $GITHUB_ENV\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb\n\n    - name: Get Docker\n      uses: actions-hub/docker/cli@f5fdbfc3f9d2a9265ead8962c1314108a7b7ec5d\n      env:\n        SKIP_LOGIN: true\n\n    - name: Start services\n      env:\n        LS_IMAGE_TAG: ${{ matrix.image_tag }}\n        LS_DOCKERFILE_CONTEXT: ${{ matrix.context }}\n        LS_DOCKERFILE: Dockerfile\n        LS_ARCHIVE_URL: \"https://github.com/LimeSurvey/LimeSurvey/archive/${{ matrix.ref }}.tar.gz\"\n        COMPOSE_FILE: \"\\\n          docker-compose.yml\\\n          ${{ matrix.ref && ':docker-compose.ref.yml' }}\\\n          ${{ matrix.database == 'mysql' && ':docker-compose.mysql.yml' || '' }}\"\n      run: |\n        docker compose up -d --wait --quiet-pull\n        docker compose ps -a\n        docker compose config\n\n    - name: Run Nox\n      id: nox-integration\n      env:\n        BACKEND: ${{ matrix.database }}\n        LS_URL: http://localhost:${{ env.LS_PORT }}\n      run: |\n        nox\n\n    - name: Upload coverage data\n      if: always()\n      uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808\n      with:\n        name: \"coverage-integration-${{ matrix.python-version }}-${{ matrix.image_tag || env.LS_CHECKSUM }}-${{ matrix.database }}\"\n        path: \".coverage.*\"\n\n  coverage:\n    name: Coverage\n    runs-on: ubuntu-latest\n    needs: [tests, integration]\n    env:\n      NOXSESSION: coverage\n    strategy:\n      matrix:\n        flag: [\"unit\", \"integration\"]\n      fail-fast: false\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29\n\n    - name: Set up Python\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n      with:\n        python-version: \"3.12\"\n        cache: pip\n\n    - name: Install tools\n      uses: ./.github/actions/install-tools\n\n    - name: Download coverage data\n      uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e\n      with:\n        pattern: \"coverage-${{ matrix.flag }}-*\"\n        merge-multiple: true\n\n    - name: Combine coverage data and display human readable report\n      continue-on-error: true\n      run: |\n        nox\n\n    - name: Create coverage report\n      run: |\n        nox -- xml\n\n    - name: Upload coverage report\n      uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        files: ./coverage.xml\n        fail_ci_if_error: true\n        flags: ${{ matrix.flag }}\n", "state": "active", "repository": "edgarrmondragon/citric"}
{"mined_at": "2024-07-15T17:08:19.631224", "created_at": "2021-11-11T07:29:17+01:00", "updated_at": "2023-12-16T03:44:53+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": null, "state": "active", "repository": "edgarrmondragon/citric"}
{"mined_at": "2024-07-15T17:08:20.695806", "created_at": "2022-04-02T09:15:56+02:00", "updated_at": "2022-04-02T09:15:56+02:00", "name": "Generate release Pull Request", "path": ".github/workflows/gen-release-pr.yml", "contents": "name: Generate release Pull Request\n\non:\n  workflow_dispatch:\n    inputs:\n      next-version:\n        description: 'Next version use vX.Y.Z, patch, minor or major'\n        default: 'auto'\n        required: true\n      changie-version:\n        description: Version of Changie to use\n        default: latest\n        required: false\n      prerelease:\n        description: Prerelease values to append to version\n        required: false\n      metadata:\n        description: Metadata values to append to version\n        required: false\n\npermissions: read-all\n\njobs:\n  generate-pr:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write       # to create a github release\n      pull-requests: write  # to create and update PRs\n      discussions: write    # to create a discussion\n    steps:\n    - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29\n    - name: Batch changes\n      uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23\n      with:\n        version: ${{ github.event.inputs.changie-version }}\n        args: \"\\\n          batch\n          ${{ github.event.inputs.next-version }}\n          ${{ github.event.inputs.prerelease && format('-p {0}', github.event.inputs.prerelease) }}\n          ${{ github.event.inputs.metadata && format('-m {0}', github.event.inputs.metadata) }}\"\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Merge changes\n      uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23\n      with:\n        version: ${{ github.event.inputs.changie-version }}\n        args: merge\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Get the latest version\n      id: latest\n      uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23\n      with:\n        version: ${{ github.event.inputs.changie-version }}\n        args: latest\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Draft Release\n      id: draft-release\n      uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87\n      with:\n        draft: true\n        body_path: \".changes/${{ steps.latest.outputs.output }}.md\"\n        tag_name: ${{ steps.latest.outputs.output }}\n        prerelease: \"${{ github.event.inputs.prerelease != '' }}\"\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a\n      id: generate-token\n      with:\n        app_id: ${{ secrets.APP_ID }}\n        private_key: ${{ secrets.APP_PRIVATE_KEY }}\n\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e\n      with:\n        token: ${{ steps.generate-token.outputs.token }}\n        title: \"chore: Release ${{ steps.latest.outputs.output }}\"\n        branch: release/${{ steps.latest.outputs.output }}\n        commit-message: \"chore: Release ${{ steps.latest.outputs.output }}\"\n        body: |\n          Prepare release for `${{ steps.latest.outputs.output }}`.\n\n          Checklist:\n\n          - [ ] Check that the right version is set in all the files.\n          - [ ] Groom the changelog for wording or missing entries.\n          - [ ] Check that the integration tests table is up to date.\n\n          [Release Draft](${{ steps.draft-release.outputs.url }})\n        reviewers: |\n          edgarrmondragon\n        assignees: |\n          edgarrmondragon\n        delete-branch: true\n        labels: Release\n", "state": "active", "repository": "edgarrmondragon/citric"}
{"mined_at": "2024-07-15T17:08:21.716498", "created_at": "2022-05-01T05:46:32+02:00", "updated_at": "2023-10-13T05:49:07+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  push:\n  workflow_dispatch:\n    inputs:\n      publish:\n        description: \"Publish to PyPI?\"\n        required: true\n        default: false\n        type: boolean\n      tag:\n        description: \"Tag to use for release\"\n        required: true\n\npermissions: read-all\n\njobs:\n  build:\n    name: Build wheel and sdist\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29\n      with:\n        fetch-depth: 0\n        ref: ${{ github.event.inputs.tag || github.ref }}\n    - uses: hynek/build-and-inspect-python-package@b4fc3f6ba2b3da04f09659be99e2a29fb6146a61\n\n  upload-to-release:\n    name: Upload to GitHub Release\n    if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'\n    runs-on: ubuntu-latest\n    needs: [build]\n    permissions:\n      contents: write # IMPORTANT: mandatory for making GitHub Releases\n\n    steps:\n    - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e\n      with:\n        name: Packages\n        path: dist\n    - uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd\n      with:\n        file: dist/**\n        tag: ${{ github.event.inputs.tag || github.ref }}\n        overwrite: false\n        file_glob: true\n\n  publish:\n    name: Publish to PyPI\n    if: startsWith(github.ref, 'refs/tags/') || github.event.inputs.publish == 'true'\n    runs-on: ubuntu-latest\n    needs: [build]\n    environment:\n      name: pypi\n      url: https://pypi.org/p/citric\n    permissions:\n      id-token: write # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n    - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e\n      with:\n        name: Packages\n        path: dist\n    - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450\n\n  # Move this up when PyPI supports signing\n  sign:\n    name: Sign the distribution package\n    if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'\n    runs-on: ubuntu-latest\n    needs: [build]\n    permissions:\n      contents: write     # IMPORTANT: mandatory for making GitHub Releases\n      id-token: write     # IMPORTANT: mandatory for attestations\n      attestations: write # IMPORTANT: mandatory for attestations\n\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e\n        with:\n          name: Packages\n          path: dist\n      - uses: actions/attest-build-provenance@923ac69214ed06972afec765eee56d277654c7bd\n        id: attest\n        with:\n          subject-path: \"./dist/citric*\"\n      - uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd\n        with:\n          file: ${{ steps.attest.outputs.bundle-path }}\n          tag: ${{ github.event.inputs.tag || github.ref }}\n          overwrite: false\n          asset_name: attestations.intoto.jsonl\n", "state": "active", "repository": "edgarrmondragon/citric"}
{"mined_at": "2024-07-15T17:08:22.896381", "created_at": "2022-08-23T01:32:09+02:00", "updated_at": "2022-08-23T01:32:09+02:00", "name": "Read the Docs Pull Request Preview", "path": ".github/workflows/pr-preview-links.yml", "contents": "name: Read the Docs Pull Request Preview\n\non:\n  pull_request_target:\n    types:\n    - opened\n\npermissions:\n  pull-requests: write\n\njobs:\n  pr-preview-links:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: readthedocs/actions/preview@cc0920454cf03ca8a3fbd3cbaa2ce2e509e70636\n      with:\n        project-slug: \"citric\"\n", "state": "active", "repository": "edgarrmondragon/citric"}
{"mined_at": "2024-07-15T17:08:23.912892", "created_at": "2023-08-03T02:59:36+02:00", "updated_at": "2023-08-04T07:07:27+02:00", "name": "API Changes", "path": ".github/workflows/api-changes.yml", "contents": "name: API Changes\n\non:\n  pull_request:\n    paths:\n    - src/**\n    - .github/workflows/api-changes.yml\n    - CHANGELOG.md\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\npermissions:  # added using https://github.com/step-security/secure-repo\n  contents: read\n\njobs:\n  check-api-changes:\n    name: Check API Changes\n    runs-on: ubuntu-latest\n    env:\n      NOXSESSION: api\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29\n      with:\n        fetch-depth: 0\n\n    - name: Setup Python\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d\n      with:\n        python-version: 3.12\n\n    - name: Install tools\n      env:\n        PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt\n      run: |\n        python -Im pip install -U pip\n        pipx install griffe nox uv\n        pipx list\n\n    - name: Set REF\n      id: set-ref\n      if: always() && !startsWith(github.head_ref, 'release/')\n      run: |\n        echo \"ref=${{ github.event.pull_request.base.sha }}\" >> $GITHUB_OUTPUT\n\n    # Check API against the latest commit on the base branch\n    - name: Run Nox\n      run: |\n        nox -- ${{ steps.set-ref.outputs.ref }}\n", "state": "active", "repository": "edgarrmondragon/citric"}
{"mined_at": "2024-07-15T17:08:25.010407", "created_at": "2024-01-05T00:38:43+01:00", "updated_at": "2024-01-05T00:38:43+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n  - cron: \"30 20 * * 1\"\n  push:\n    branches: [ \"main\" ]\n  workflow_dispatch:\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n    - name: \"Checkout code\"\n      uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29\n      with:\n        persist-credentials: false\n\n    - name: \"Run analysis\"\n      uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534\n      with:\n        results_file: results.sarif\n        results_format: sarif\n        # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n        # - you want to enable the Branch-Protection check on a *public* repository, or\n        # - you are installing Scorecard on a *private* repository\n        # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n        # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n        # Public repositories:\n        #   - Publish results to OpenSSF REST API for easy access by consumers\n        #   - Allows the repository to include the Scorecard badge.\n        #   - See https://github.com/ossf/scorecard-action#publishing-results.\n        # For private repositories:\n        #   - `publish_results` will always be set to `false`, regardless\n        #     of the value entered here.\n        publish_results: true\n\n    # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n    # format to the repository Actions tab.\n    - name: \"Upload artifact\"\n      uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808\n      with:\n        name: SARIF file\n        path: results.sarif\n        retention-days: 5\n\n    # Upload the results to GitHub's code scanning dashboard.\n    - name: \"Upload to code-scanning\"\n      uses: github/codeql-action/upload-sarif@f079b8493333aace61c81488f8bd40919487bd9f\n      with:\n        sarif_file: results.sarif\n", "state": "active", "repository": "edgarrmondragon/citric"}
{"mined_at": "2024-07-15T17:08:27.321145", "created_at": "2022-01-10T10:36:54+01:00", "updated_at": "2022-01-10T10:36:54+01:00", "name": "CLA Assistant", "path": ".github/workflows/cla.yml", "contents": "name: \"CLA Assistant\"\non:\n  issue_comment:\n    types: [ created ]\n  pull_request_target:\n    types: [ opened,closed,synchronize ]\n\njobs:\n  CLAssistant:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"CLA Assistant\"\n        if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'\n        # Beta Release\n        uses: cla-assistant/github-action@v2.4.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # the below token should have repo scope and must be manually added by you in the repository's secret\n          PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n        with:\n          path-to-signatures: 'signatures/version1/cla.json'\n          path-to-document: 'https://safe.global/cla'\n          # branch should not be protected\n          branch: 'cla-signatures'\n          allowlist: falvaradorodriguez,hectorgomezv,moisses89,luarx,fmrsabino,luarx,rmeissner,Uxio0,*bot # may need to update this expression if we add new bots\n\n          #below are the optional inputs - If the optional inputs are not given, then default values will be taken\n          #remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #remote-repository-name:  enter the  remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #create-file-commit-message: 'For example: Creating file for storing CLA Signatures'\n          #signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo'\n          #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'\n          #custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'\n          #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'\n          #lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)\n          #use-dco-flag: true - If you are using DCO instead of CLA\n", "state": "active", "repository": "safe-global/safe-transaction-service"}
{"mined_at": "2024-07-15T17:08:28.447529", "created_at": "2021-01-12T16:49:49+01:00", "updated_at": "2021-04-26T12:36:35+02:00", "name": "Python CI", "path": ".github/workflows/python.yml", "contents": "name: Python CI\non:\n  push:\n    branches:\n      - main\n      - develop\n  pull_request:\n  release:\n    types: [ released ]\n\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: pip install pre-commit\n      - name: Run pre-commit\n        run: pre-commit run --all-files\n\n  test-app:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n    services:\n      redis:\n        image: redis\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 6379:6379\n      postgres:\n        image: postgres:14\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n      rabbitmq:\n        image: rabbitmq:alpine\n        options: >-\n          --health-cmd \"rabbitmqctl await_startup\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - \"5672:5672\"\n    steps:\n    - name: Setup and run ganache\n      run: |\n        docker network create ganache\n        docker run --detach --publish 8545:8545 --network ganache -e DOCKER=true trufflesuite/ganache:latest --defaultBalanceEther 10000 --gasLimit 10000000 -a 30 --chain.chainId 1337 --chain.networkId 1337 -d\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: 'requirements*.txt'\n    - name: Install dependencies\n      run: |\n        pip install wheel setuptools\n        pip install -r requirements-test.txt\n      env:\n        PIP_USE_MIRRORS: true\n    - name: Run tests and coverage\n      run: |\n        python manage.py check\n        python manage.py makemigrations --check --dry-run\n        coverage run --source=$SOURCE_FOLDER -m pytest -rxXs --reruns 3\n      env:\n        SOURCE_FOLDER: safe_transaction_service\n        CELERY_BROKER_URL: redis://localhost:6379/0\n        COINMARKETCAP_API_TOKEN: ${{ secrets.COINMARKETCAP_API_TOKEN }}\n        DATABASE_URL: psql://postgres:postgres@localhost/postgres\n        DJANGO_SETTINGS_MODULE: config.settings.test\n        ETHEREUM_MAINNET_NODE: ${{ secrets.ETHEREUM_MAINNET_NODE }}\n        ETHEREUM_NODE_URL: http://localhost:8545\n        ETHEREUM_TRACING_NODE_URL: http://localhost:8545\n        ETHEREUM_4337_BUNDLER_URL: ${{ secrets.ETHEREUM_4337_BUNDLER_URL }}\n        ETH_HASH_BACKEND: pysha3\n        REDIS_URL: redis://localhost:6379/0\n        EVENTS_QUEUE_URL: amqp://guest:guest@localhost:5672/\n    - name: Coveralls\n      uses: coverallsapp/github-action@v2\n  docker-deploy:\n    runs-on: ubuntu-latest\n    needs:\n      - linting\n      - test-app\n    if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' || (github.event_name == 'release' && github.event.action == 'released')\n    steps:\n    - uses: actions/checkout@v4\n    - uses: docker/setup-qemu-action@v3\n      with:\n        platforms: arm64\n    - uses: docker/setup-buildx-action@v3\n    - name: Dockerhub login\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKER_USER }}\n        password: ${{ secrets.DOCKER_PASSWORD }}\n    - name: Deploy Master\n      if: github.ref == 'refs/heads/main'\n      uses: docker/build-push-action@v5\n      with:\n        context: .\n        file: docker/web/Dockerfile\n        push: true\n        tags: safeglobal/safe-transaction-service:staging\n        platforms: |\n          linux/amd64\n          linux/arm64\n        cache-from: type=gha\n        cache-to: type=gha,mode=max\n    - name: Deploy Develop\n      if: github.ref == 'refs/heads/develop'\n      uses: docker/build-push-action@v5\n      with:\n        context: .\n        file: docker/web/Dockerfile\n        push: true\n        tags: safeglobal/safe-transaction-service:develop\n        platforms: |\n          linux/amd64\n          linux/arm64\n        cache-from: type=gha\n        cache-to: type=gha,mode=max\n    - name: Deploy Tag\n      if: (github.event_name == 'release' && github.event.action == 'released')\n      uses: docker/build-push-action@v5\n      with:\n        context: .\n        file: docker/web/Dockerfile\n        push: true\n        tags: |\n          safeglobal/safe-transaction-service:${{ github.event.release.tag_name }}\n          safeglobal/safe-transaction-service:latest\n        platforms: |\n          linux/amd64\n          linux/arm64\n        cache-from: type=gha\n        cache-to: type=gha,mode=max\n  autodeploy:\n    runs-on: ubuntu-latest\n    needs: [docker-deploy]\n    if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'\n    steps:\n    - uses: actions/checkout@v4\n    - name: Deploy Staging\n      if: github.ref == 'refs/heads/main'\n      run: bash scripts/autodeploy.sh\n      env:\n        AUTODEPLOY_URL: ${{ secrets.AUTODEPLOY_URL }}\n        AUTODEPLOY_TOKEN: ${{ secrets.AUTODEPLOY_TOKEN }}\n        TARGET_ENV: \"staging\"\n    - name: Deploy Develop\n      if: github.ref == 'refs/heads/develop'\n      run: bash scripts/autodeploy.sh\n      env:\n        AUTODEPLOY_URL: ${{ secrets.AUTODEPLOY_URL }}\n        AUTODEPLOY_TOKEN: ${{ secrets.AUTODEPLOY_TOKEN }}\n        TARGET_ENV: \"develop\"\n", "state": "active", "repository": "safe-global/safe-transaction-service"}
{"mined_at": "2024-07-15T17:08:29.548923", "created_at": "2024-07-15T08:03:23+02:00", "updated_at": "2024-07-15T08:03:23+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "safe-global/safe-transaction-service"}
{"mined_at": "2024-07-15T17:08:32.028612", "created_at": "2022-04-07T13:50:29+02:00", "updated_at": "2023-08-30T03:45:38+02:00", "name": "Publish on Pypi", "path": ".github/workflows/publish.yml", "contents": "name: Publish on Pypi\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"The tag of the package to publish on Pypi (ex: 1.0.0, 1.0.0.dev0)\"\n        required: true\n\njobs:\n  test-package:\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Extract Github Tag Version\n        id: vars\n        run: echo \"tag=${GITHUB_REF#refs/*/}\" >> $GITHUB_OUTPUT\n\n      - name: Download assets from github release tag\n        run: |\n          gh release download ${{ github.event.inputs.version }} --dir dist\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Verify if all releases exist\n        run: |\n          python tools/release/check_releases.py dist ${{ github.event.inputs.version }}\n\n  publish-subpackages-to-pypi:\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    needs: [test-package]\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        package: [ config, core, gui, rest, templates ]\n      max-parallel: 1\n    environment: publish\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          sparse-checkout: taipy/${{ matrix.package }}\n          sparse-checkout-cone-mode: false\n\n      - name: Checks if package is already on Pypi\n        id: check-version\n        run: |\n          if curl https://pypi.org/simple/taipy-${{ matrix.package }} | grep -o \">taipy-${{ matrix.package }}-${{ github.event.inputs.version }}\\.tar\\.gz<\"; then\n            echo \"exists=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"exists=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Download assets from tag\n        if: steps.check-version.outputs.exists == 'false'\n        run: |\n          gh release download ${{ github.event.inputs.version }}-${{ matrix.package }} --dir dist\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish to PyPI\n        if: steps.check-version.outputs.exists == 'false'\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish-main-package-to-pypi:\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    needs: [publish-subpackages-to-pypi, test-package ]\n    timeout-minutes: 20\n    environment: publish\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Checks if package is already on on Pypi\n        id: check-version\n        run: |\n          if curl https://pypi.org/simple/taipy | grep -o \">taipy-${{ github.event.inputs.version }}\\.tar\\.gz<\"; then\n            echo \"exists=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"exists=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Download assets from tag\n        if: steps.check-version.outputs.exists == 'false'\n        run: |\n          gh release download ${{ github.event.inputs.version }} --dir dist\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish to PyPI\n        if: steps.check-version.outputs.exists == 'false'\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n\n  test-published-package:\n    needs: [publish-main-package-to-pypi]\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        python-versions: ['3.8','3.9','3.10', '3.11', '3.12']\n        os: [ubuntu-latest,windows-latest,macos-13]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-versions }}\n\n      - name: Prepare tests on unix\n        if: matrix.os != 'windows-latest'\n        run: |\n          rm -rf taipy\n\n      - name: Prepare tests on windows\n        if: matrix.os == 'windows-latest'\n        run: |\n          rmdir -Recurse -Force taipy\n\n      - name: Install and test package\n        run: |\n          pip install --upgrade pip\n          pip install --no-cache-dir ${{ github.event.repository.name }}==${{ github.event.inputs.version }}\n          python tools/validate_taipy_install.py\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:33.260505", "created_at": "2022-04-29T16:15:23+02:00", "updated_at": "2022-05-05T08:36:55+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ develop, dev/*, release/* ]\n  pull_request:\n    branches: [ develop, dev/*, release/* ]\n  schedule:\n    - cron: '21 22 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:34.489099", "created_at": "2022-07-21T17:06:49+02:00", "updated_at": "2023-12-21T01:14:15+01:00", "name": "Test package installation", "path": ".github/workflows/packaging.yml", "contents": "name: Test package installation\n\non:\n  push:\n    branches: [ develop, dev/*, release/* ]\n  pull_request:\n    branches: [ develop, dev/*, release/* ]\n  workflow_dispatch:\n    inputs:\n      user-to-notify:\n        description: \"Github username to notify\"\n        required: false\n        default: \"\"\n\njobs:\n  standard-packages:\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        python-versions: [ '3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest, macos-13] #, windows-latest]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-versions }}\n\n      - name: Build frontends\n        run: |\n          python tools/frontend/bundle_build.py\n\n      - name: Install Taipy without dependencies\n        run: |\n          pip install .\n          rm -rf taipy\n      - name: Check Taipy Installation\n        run: |\n          python tools/validate_taipy_install.py\n\n      - name: Notify user if failed\n        if: failure()\n        run: |\n          if [[ -n \"${{ github.event.inputs.user-to-notify }}\" ]]; then\n            curl \"${{ secrets.notify_endpoint }}\" -d '{\"username\": \"${{ github.event.inputs.user-to-notify }}\", \"url\": \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\" }' -H \"Content-Type: application/json\"\n          fi\n        shell: bash\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:35.503281", "created_at": "2022-08-10T09:29:06+02:00", "updated_at": "2024-02-15T16:26:36+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": null, "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:36.631964", "created_at": "2023-12-04T17:17:44+01:00", "updated_at": "2023-12-04T17:17:44+01:00", "name": "Project Issue State Sync", "path": ".github/workflows/sync-project-issue-state.yml", "contents": "name: Project Issue State Sync\n\non:\n  schedule:\n    # Run once every day at mid day\n    - cron: 00 12 * * *\n\n  workflow_dispatch:\n    # Manual trigger\n\njobs:\n  issue-state-sync:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Sync issue states\n        uses: dasmerlon/project-issue-state-sync@v2.0.1\n        with:\n          # The secrets.PROJECT_ISSUE_SYNC_TOKEN is a fine-grained PAT with the following permissions:\n          #   - Repo\n          #     - Deployments: Read and write\n          #     - Issues: Read and write\n          #     - Pull requests: Read and write\n          # - Organization:\n          #     - Administration: Read only\n          #     - Projects: Read and write\n          #     - Secrets: Read only\n          # And has access to the following repos:\n          #     - taipy\n          #     - taipy-enterprise\n          #     - taipy-doc\n          #     - taipy-cloud\n          #     - website\n          #     - taipy-benchmark\n          #     - taipy-integration-testing\n          #     - taipy-enterprise-integration-testing\n          #     - taipy-studio\n          #     - taipy-studio-gui\n          #     - taipy-studio-config\n          #     - Taipy-config-builder\n          # If more repos are added to the project, the PAT needs to be recreated with new access.\n          github_token: ${{ secrets.PROJECT_ISSUE_SYNC_TOKEN }}\n          owner: Avaiga\n          project_number: 6\n          # If the issue is in the Closed column, it will be closed.\n          closed_statuses: Closed\n          # If the issue is in any of the following columns, it will be opened.\n          open_statuses: New Issues - waiting for triage,Icebox,Contributor,Product Backlog,Sprint Backlog,In Progress,Review/QA\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:37.868274", "created_at": "2023-12-12T14:34:15+01:00", "updated_at": "2023-12-12T14:34:15+01:00", "name": "Frontend Tests & Coverage", "path": ".github/workflows/frontend.yml", "contents": "name: Frontend Tests & Coverage\n\non:\n  push:\n    branches: [ develop ]\n  pull_request:\n    branches: [ develop ]\n    paths:\n        - 'frontend/taipy-gui/**'\n  workflow_dispatch:\n\njobs:\n  frontend-jest:\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        node-version: [20.x]\n        os: [ubuntu-latest, windows-latest, macos-13]\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        working-directory: ./frontend/taipy-gui\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: npm build and test with node ${{ matrix.node-version }} on ${{ matrix.os }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n          cache: 'npm'\n          cache-dependency-path: '**/package-lock.json'\n\n      - name: Hash taipy-gui source code\n        id: hash-gui-fe\n        working-directory: ./\n        run: |\n          python tools/frontend/hash_source.py --taipy-gui-only\n          echo \"HASH=$(cat hash.txt)\" >> $GITHUB_OUTPUT\n          rm hash.txt\n        shell: bash\n      - name: Restore cached frontend build\n        id: cache-gui-fe-build\n        uses: actions/cache@v4\n        with:\n          path: taipy/gui/webapp\n          key: taipy-gui-frontend-build-${{ runner.os }}-${{ steps.hash-gui-fe.outputs.HASH }}\n\n      - name: Install dom dependencies\n        if: steps.cache-gui-fe-build.outputs.cache-hit != 'true'\n        working-directory: ./frontend/taipy-gui/dom\n        run: npm ci\n      - name: Install dependencies\n        if: steps.cache-gui-fe-build.outputs.cache-hit != 'true'\n        run: npm ci --omit=optional\n      - if: steps.cache-gui-fe-build.outputs.cache-hit != 'true'\n        run: npm run build --if-present\n\n      - run: npm test\n\n      - name: Code coverage\n        if: matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request'\n        uses: artiomtr/jest-coverage-report-action@v2.2.6\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          threshold: \"80\"\n          working-directory: \"frontend/taipy-gui\"\n          skip-step: \"install\"\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:38.945047", "created_at": "2023-12-13T15:42:34+01:00", "updated_at": "2023-12-19T09:51:22+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "---\nname: Codespell\n\non:\n  push:\n    branches: [develop]\n  pull_request:\n    branches: [develop]\n\npermissions:\n  contents: read\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:40.371481", "created_at": "2023-12-14T00:15:08+01:00", "updated_at": "2023-12-14T02:22:34+01:00", "name": "Test Workflow", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:41.677720", "created_at": "2023-12-15T03:39:00+01:00", "updated_at": "2024-01-12T14:57:03+01:00", "name": "Overall Test Workflow", "path": ".github/workflows/overall-tests.yml", "contents": "name: Overall Test Workflow\n\non:\n  push:\n    branches: [ develop, dev/*, release/* ]\n  pull_request:\n    branches: [ develop, dev/*, release/* ]\n  workflow_dispatch:\n\njobs:\n  partial-tests:\n    uses: ./.github/workflows/partial-tests.yml\n\n  coverage:\n    timeout-minutes: 40\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name == 'pull_request' }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Install dependencies\n        id: install-dependencies\n        uses: ./.github/actions/install\n        with:\n          python-version: '3.11'\n          os: 'ubuntu-latest'\n          pipfile-version: 'min'\n\n      - name: Pytest\n        run: |\n          pipenv run pytest --cov=taipy --cov-report=\"xml:overall-coverage.xml\" tests\n\n      - name: Coverage\n        uses: orgoro/coverage@v3.1\n        with:\n          coverageFile: overall-coverage.xml\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  overall-tests:\n    needs: [partial-tests]\n    timeout-minutes: 50\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest, windows-latest, macos-13]\n        pipfile-version: ['min', 'max']\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python-version}}\n\n      - name: Install dependencies\n        id: install-dependencies\n        uses: ./.github/actions/install\n        with:\n          python-version: ${{ matrix.python-version }}\n          os: ${{ matrix.os }}\n          pipfile-version: ${{ matrix.pipfile-version }}\n\n      - name: Pytest\n        run: |\n          pipenv run pytest -m \"not orchestrator_dispatcher and not standalone and not teste2e\" tests\n\n  intermittent-tests:\n    needs: [partial-tests]\n    timeout-minutes: 40\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest, windows-latest, macos-13]\n        orchestrator: ['orchestrator_dispatcher', 'standalone']\n        pipfile-version: ['min', 'max']\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python-version}}\n\n      - name: Install dependencies\n        uses: ./.github/actions/install\n        with:\n          os: ${{ matrix.os }}\n          install-gui: false\n          python-version: ${{ matrix.python-version }}\n          pipfile-version: ${{ matrix.pipfile-version }}\n\n      - name: Pytest Core orchestrator_dispatcher\n        run: pipenv run pytest -m \"${{ matrix.orchestrator }}\" tests/core\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:42.928578", "created_at": "2023-12-15T04:30:18+01:00", "updated_at": "2023-12-20T11:03:49+01:00", "name": "Partial Tests Workflow", "path": ".github/workflows/partial-tests.yml", "contents": "name: Partial Tests Workflow\n\non:\n  workflow_call:\n\njobs:\n  linter:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: jpetrucciani/mypy-check@master\n        with:\n          mypy_flags:  \"--ignore-missing-imports --implicit-optional --no-namespace-packages --exclude (taipy/templates/|generate_pyi.py|tools) --follow-imports skip --disable-error-code import-untyped\"\n\n      - uses: chartboost/ruff-action@v1\n  tests:\n    needs: linter\n    timeout-minutes: 50\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest, windows-latest, macos-13]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            cli:\n              - 'taipy/_cli/**'\n            config:\n              - 'taipy/config/**'\n            core:\n              - 'taipy/core/**'\n            gui:\n              - 'taipy/gui/**'\n              - 'frontend/taipy-gui/**'\n            gui-core:\n              - 'taipy/gui_core/**'\n            logger:\n              - 'taipy/logger/**'\n            rest:\n              - 'taipy/rest/**'\n            templates:\n              - 'taipy/templates/**'\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python-version}}\n          cache: 'pipenv'\n          cache-dependency-path: 'Pipfile'\n      - name: Install Setuptools and wheel\n        run: pip install --upgrade setuptools wheel\n\n      - name: Install pipenv\n        run: pip install --upgrade pipenv\n\n      - name: Install Dependencies\n        run: pipenv install --dev --python=${{ matrix.python-version }}\n\n      - name: Setup LibMagic (MacOS)\n        if: matrix.os == 'macos-13'\n        run: brew install libmagic\n\n      - name: Setup Node\n        if: steps.changes.outputs.gui == 'true' || steps.changes.outputs.gui-core == 'true'\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: 'npm'\n          cache-dependency-path: '**/package-lock.json'\n\n      - name: Hash frontend source code\n        if: steps.changes.outputs.gui == 'true' || steps.changes.outputs.gui-core == 'true'\n        id: hash-frontend\n        run: |\n          pipenv run python tools/frontend/hash_source.py\n          echo \"HASH=$(cat hash.txt)\" >> $GITHUB_OUTPUT\n          rm hash.txt\n        shell: bash\n      - name: Restore cached frontend build\n        if: steps.changes.outputs.gui == 'true' || steps.changes.outputs.gui-core == 'true'\n        id: cache-fe-build\n        uses: actions/cache@v4\n        with:\n          path: |\n            taipy/gui/webapp\n            taipy/gui_core/lib\n          key: frontend-build-${{ runner.os }}-${{ steps.hash-frontend.outputs.HASH }}\n\n      - name: Frontend Bundle Build\n        if: (steps.changes.outputs.gui == 'true' || steps.changes.outputs.gui-core == 'true') && steps.cache-fe-build.outputs.cache-hit != 'true'\n        run: pipenv run python tools/frontend/bundle_build.py\n\n      - name: Install Playwright\n        if: steps.changes.outputs.gui == 'true' || steps.changes.outputs.gui-core == 'true'\n        run: pipenv run playwright install chromium --with-deps\n\n      - name: Pytest CLI\n        if: steps.changes.outputs.cli == 'true'\n        run: pipenv run pytest tests/cli\n\n      - name: Pytest Config\n        if: steps.changes.outputs.config == 'true'\n        run: pipenv run pytest tests/config\n\n      - name: Pytest Core\n        if: steps.changes.outputs.core == 'true'\n        run: pipenv run pytest -m \"not orchestrator_dispatcher and not standalone\" tests/core\n\n      - name: Run GUI Test Action\n        if: steps.changes.outputs.gui == 'true'\n        uses: ./.github/actions/gui-test\n        with:\n          os: ${{ matrix.os }}\n\n      - name: Pytest GUI Core\n        if: steps.changes.outputs.gui-core == 'true'\n        run: pipenv run pytest tests/gui_core\n\n      - name: Pytest Logger\n        if: steps.changes.outputs.logger == 'true'\n        run: pipenv run pytest tests/logger\n\n      - name: Pytest Rest\n        if: steps.changes.outputs.rest == 'true'\n        run: pipenv run pytest tests/rest\n\n      - name: Pytest Templates\n        if: steps.changes.outputs.templates == 'true'\n        run: pipenv run pytest tests/templates\n\n  submit_tests:\n    needs: linter\n    timeout-minutes: 40\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest, windows-latest, macos-13]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            core:\n              - 'taipy/core/**'\n\n      - name: Setup Python with cache\n        if: steps.changes.outputs.core == 'true'\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python-version}}\n          cache: 'pipenv'\n          cache-dependency-path: 'Pipfile'\n\n      - name: Install pipenv\n        if: steps.changes.outputs.core == 'true'\n        run: pip install --upgrade pipenv\n\n      - name: Install Dependencies\n        if: steps.changes.outputs.core == 'true'\n        run: pipenv install --dev --python=${{ matrix.python-version }}\n\n      - name: Setup LibMagic (MacOS)\n        if: matrix.os == 'macos-13' && steps.changes.outputs.core == 'true'\n        run: brew install libmagic\n\n      - name: Pytest Core orchestrator_dispatcher\n        if: steps.changes.outputs.core == 'true'\n        run: pipenv run pytest -m \"orchestrator_dispatcher\" tests/core\n\n  standalone_tests:\n    needs: linter\n    timeout-minutes: 40\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest, windows-latest, macos-13]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            core:\n              - 'taipy/core/**'\n\n      - name: Setup Python with cache\n        if: steps.changes.outputs.core == 'true'\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python-version}}\n          cache: 'pipenv'\n          cache-dependency-path: 'Pipfile'\n\n      - name: Install pipenv\n        if: steps.changes.outputs.core == 'true'\n        run: pip install --upgrade pipenv\n\n      - name: Install Dependencies\n        if: steps.changes.outputs.core == 'true'\n        run: pipenv install --dev --python=${{ matrix.python-version }}\n\n      - name: Setup LibMagic (MacOS)\n        if: matrix.os == 'macos-13' && steps.changes.outputs.core == 'true'\n        run: brew install libmagic\n\n      - name: Pytest Core standalone\n        if: steps.changes.outputs.core == 'true'\n        run: pipenv run pytest -m \"standalone\" tests/core\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:44.001228", "created_at": "2024-01-11T00:47:41+01:00", "updated_at": "2024-01-11T00:47:41+01:00", "name": "Benchmark on taipy-integration-testing", "path": ".github/workflows/trigger-benchmark.yml", "contents": "name: Benchmark on taipy-integration-testing\non:\n  push:\n    branches: [develop]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Trigger taipy-integration-testing\n        uses: peter-evans/repository-dispatch@v1\n        with:\n          token: ${{secrets.TAIPY_INTEGRATION_TESTING_ACCESS_TOKEN}}\n          repository: avaiga/taipy-benchmark\n          event-type: benchmark\n          client-payload: '{\"repo\": \"taipy\", \"commitSHA\": \"${{ github.sha }}\"}'\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:45.093247", "created_at": "2024-01-26T14:25:07+01:00", "updated_at": "2024-01-26T14:25:07+01:00", "name": "Dependencies management", "path": ".github/workflows/dependencies-management.yml", "contents": "# This workflow is used to manage the dependencies of the Taipy packages.\n# - Runs each Sunday.\n# - For each Python version supported:\n#   - Call a custom script to align dependencies between Taipy packages.\n#   - Call a custom script to update dependencies (Pipfile and requirements.txt).\n#   - If a new package version is available for the Python version:\n#     - The Python version's Pull Request (PR) is created.\n#       - If the Python version is the latest supported, the PR contains an updated Pipfile and requirements.txt.\n#       - Otherwise, the PR contains the updated Pipfile.\n#     - The action triggers tests workflow to test compatibility and link the workflow to the PR in the description.\nname: Dependencies management\n\non:\n  schedule:\n    # Run every 2 weeks on Sunday at mid day UTC\n    - cron: 00 12 */14 * 0\n\n  workflow_dispatch:\n\njobs:\n  latest-versions:\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest]\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{matrix.python-version}}\n\n      - name: Check if the latest version supported is up to date.\n        id: ensure-dependencies-are-up-to-date\n        working-directory: tools/packages\n        run: |\n          # Ensure dependencies are aligned between Taipy packages\n          pip install -r requirements.txt\n          python check-dependencies.py ensure-same-version\n\n          # Try to update the Pipfile.\n          # Any new packages available are printed to stdout.\n          # If nothing is printed, the Pipfile is up to date and workflow can stop.\n          echo 'diff<<EOF' >> \"$GITHUB_OUTPUT\"\n          bash check-dependencies.sh pipfiles/Pipfile${{matrix.python-version}}.max >> \"$GITHUB_OUTPUT\"\n          echo EOF >> \"$GITHUB_OUTPUT\"\n          cat pipfiles/Pipfile${{matrix.python-version}}.max\n\n      - name: Create the pull request updating the dependencies (3.12 only)\n        if: steps.ensure-dependencies-are-up-to-date.outputs.diff != '' && matrix.python-version == '3.12'\n        uses: peter-evans/create-pull-request@v5\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          commit-message: Update Python${{matrix.python-version}} dependencies\n          branch: dependencies/update-python${{matrix.python-version}}\n          base: develop\n          title: 'New dependencies available for Python${{matrix.python-version}}'\n          body: |\n            ${{ steps.ensure-dependencies-are-up-to-date.outputs.diff }}\n          draft: false\n          add-paths: |\n            tools/packages/pipfiles/Pipfile${{matrix.python-version}}.max\n            tools/packages/taipy*/*requirements.txt\n\n      - name: Create the pull request updating the Pipfile max\n        if: steps.ensure-dependencies-are-up-to-date.outputs.diff != '' && matrix.python-version != '3.12'\n        uses: peter-evans/create-pull-request@v5\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          commit-message: Update Python${{matrix.python-version}} Pipfile\n          branch: dependencies/update-python${{matrix.python-version}}\n          base: develop\n          title: 'New Pipfile available for Python${{matrix.python-version}}'\n          body: |\n            ${{ steps.ensure-dependencies-are-up-to-date.outputs.diff }}\n          draft: false\n          add-paths: |\n            tools/packages/pipfiles/Pipfile${{matrix.python-version}}.max\n\n      # PRs created with the GITHUB_TOKEN don't trigger workflows.\n      # This action triggers the overall-tests.yml workflow on the PR\n      # to allow the tests to run on the new dependencies.\n      - name: Run tests on PR\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.TRIGGER_GITHUB_PR }}\n          script: |\n            const runTests = require('.github/scripts/run-workflow.js')\n            const linkTests = require('.github/scripts/link-workflow-to-pr.js')\n\n            // Branch to target with the workflow run.\n            const branchTargeted = \"dependencies/update-python${{matrix.python-version}}\";\n            // The current pull request number to link the workflow run.\n            const pullRequestNumber = process.env.PULL_REQUEST_NUMBER;\n            // The workflow file to trigger.\n            const workflowToTrigger = 'overall-tests.yml';\n            const waitForWorkflowCreation = 120000; // 2 minutes\n\n            // Run the tests.\n            await runTests({github, context, branchTargeted, workflowToTrigger});\n            // Wait for the workflow to be created.\n            await new Promise(r => setTimeout(r, waitForWorkflowCreation));\n            // Link the workflow to the PR.\n            await linkTests({github, context, branchTargeted, pullRequestNumber});\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:46.307258", "created_at": "2024-03-04T15:28:04+01:00", "updated_at": "2024-03-04T15:28:04+01:00", "name": "Build all taipy packages and release them", "path": ".github/workflows/build-and-release.yml", "contents": "name: Build all taipy packages and release them\n\non:\n  workflow_dispatch:\n    inputs:\n      internal_dep_on_pypi:\n        description: \"Point taipy internal dependencies to Pypi? If false it will point to the github .tar.gz release file\"\n        default: \"false\"\n        required: true\n      release_type:\n        description: \"The type of release to be made (dev or production)\"\n        default: \"dev\"\n        required: true\n      target_version:\n        description: \"The version of the package to be released\"\n        required: true\n\njobs:\n  fetch-versions:\n    runs-on: ubuntu-latest\n    outputs:\n        config_VERSION: ${{ steps.version-setup.outputs.config_VERSION }}\n        core_VERSION: ${{ steps.version-setup.outputs.core_VERSION }}\n        gui_VERSION: ${{ steps.version-setup.outputs.gui_VERSION }}\n        rest_VERSION: ${{ steps.version-setup.outputs.rest_VERSION }}\n        templates_VERSION: ${{ steps.version-setup.outputs.templates_VERSION }}\n        VERSION: ${{ steps.version-setup.outputs.VERSION }}\n        NEW_VERSION: ${{ steps.version-setup.outputs.NEW_VERSION }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}\" >> $GITHUB_OUTPUT\n        id: extract_branch\n\n      - name: Setup Version\n        id: version-setup\n        run: |\n          python tools/release/setup_version.py ALL ${{ github.event.inputs.release_type }} ${{ github.event.inputs.target_version }} ${{ steps.extract_branch.outputs.branch }} >> $GITHUB_OUTPUT\n\n  build-and-release-taipy-packages:\n    needs: [fetch-versions]\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        package: [config, core, gui, rest, templates]\n      max-parallel: 1\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ssh-key: ${{secrets.DEPLOY_KEY}}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n\n      - name: Extract commit hash\n        shell: bash\n        run: echo \"HASH=$(git rev-parse HEAD)\" >> $GITHUB_OUTPUT\n        id: extract_hash\n\n      - name: Set Build Variables\n        id: set-variables\n        run: |\n          if [ \"${{ matrix.package }}\" == \"config\" ]; then\n            echo \"package_version=${{needs.fetch-versions.outputs.config_VERSION}}\" >> $GITHUB_OUTPUT\n            echo \"package_dir=./taipy/config\" >> $GITHUB_OUTPUT\n            echo \"release_name=${{needs.fetch-versions.outputs.config_VERSION}}-config\" >> $GITHUB_OUTPUT\n            echo \"tar_path=./dist/${{ github.event.repository.name }}-config-${{needs.fetch-versions.outputs.config_VERSION}}.tar.gz\" >> $GITHUB_OUTPUT\n          elif [ \"${{ matrix.package }}\" == \"core\" ]; then\n            echo \"package_version=${{needs.fetch-versions.outputs.core_VERSION}}\" >> $GITHUB_OUTPUT\n            echo \"package_dir=./taipy/core\" >> $GITHUB_OUTPUT\n            echo \"release_name=${{needs.fetch-versions.outputs.core_VERSION}}-core\" >> $GITHUB_OUTPUT\n            echo \"tar_path=./dist/${{ github.event.repository.name }}-core-${{needs.fetch-versions.outputs.core_VERSION}}.tar.gz\" >> $GITHUB_OUTPUT\n          elif [ \"${{ matrix.package }}\" == \"gui\" ]; then\n            echo \"package_version=${{needs.fetch-versions.outputs.gui_VERSION}}\" >> $GITHUB_OUTPUT\n            echo \"package_dir=./taipy/gui\" >> $GITHUB_OUTPUT\n            echo \"release_name=${{needs.fetch-versions.outputs.gui_VERSION}}-gui\" >> $GITHUB_OUTPUT\n            echo \"tar_path=./dist/${{ github.event.repository.name }}-gui-${{needs.fetch-versions.outputs.gui_VERSION}}.tar.gz\" >> $GITHUB_OUTPUT\n          elif [ \"${{ matrix.package }}\" == \"rest\" ]; then\n            echo \"package_version=${{needs.fetch-versions.outputs.rest_VERSION}}\" >> $GITHUB_OUTPUT\n            echo \"package_dir=./taipy/rest\" >> $GITHUB_OUTPUT\n            echo \"release_name=${{needs.fetch-versions.outputs.rest_VERSION}}-rest\" >> $GITHUB_OUTPUT\n            echo \"tar_path=./dist/${{ github.event.repository.name }}-rest-${{needs.fetch-versions.outputs.rest_VERSION}}.tar.gz\" >> $GITHUB_OUTPUT\n          elif [ \"${{ matrix.package }}\" == \"templates\" ]; then\n            echo \"package_version=${{needs.fetch-versions.outputs.templates_VERSION}}\" >> $GITHUB_OUTPUT\n            echo \"package_dir=./taipy/templates\" >> $GITHUB_OUTPUT\n            echo \"release_name=${{needs.fetch-versions.outputs.templates_VERSION}}-templates\" >> $GITHUB_OUTPUT\n            echo \"tar_path=./dist/${{ github.event.repository.name }}-templates-${{needs.fetch-versions.outputs.templates_VERSION}}.tar.gz\" >> $GITHUB_OUTPUT\n          fi\n        shell: bash\n\n      - name: Update setup.requirements.txt\n        run: |\n          python tools/release/update_setup_requirements.py taipy-${{ matrix.package }} \\\n            ${{needs.fetch-versions.outputs.config_VERSION}} \\\n            ${{needs.fetch-versions.outputs.core_VERSION}} \\\n            ${{needs.fetch-versions.outputs.gui_VERSION}} \\\n            ${{needs.fetch-versions.outputs.rest_VERSION}} \\\n            ${{needs.fetch-versions.outputs.templates_VERSION}} \\\n            ${{ github.event.inputs.internal_dep_on_pypi }}\n\n      - name: Copy tools\n        run: |\n          cp -r tools ${{ steps.set-variables.outputs.package_dir }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build wheel pipenv mypy black isort\n\n      - name: Install GUI dependencies\n        if: matrix.package == 'gui'\n        run: |\n          pipenv install --dev\n\n      - name: Generate GUI pyi file\n        if: matrix.package == 'gui'\n        run: |\n          cp tools/gui/generate_pyi.py pyi_temp.py && pipenv run python pyi_temp.py && rm pyi_temp.py\n\n      - name: Build frontends\n        if: matrix.package == 'gui'\n        run: |\n          python tools/frontend/bundle_build.py\n\n      - name: Copy files from tools\n        run: |\n          cp -r tools/packages/taipy-${{matrix.package}}/. ${{ steps.set-variables.outputs.package_dir }}\n\n      - name: Build Package Structure\n        working-directory: ${{ steps.set-variables.outputs.package_dir }}\n        run: |\n          python tools/release/build_package_structure.py ${{ matrix.package }}\n\n      - name: Copy Taipy Logger\n        if: matrix.package == 'config'\n        run: |\n          cp -r taipy/logger/. ${{ steps.set-variables.outputs.package_dir }}/taipy/logger\n\n      - name: Copy _cli folder\n        run: |\n          cp -r taipy/_cli/. ${{ steps.set-variables.outputs.package_dir }}/taipy/_cli\n\n      - name: Build package\n        working-directory: ${{ steps.set-variables.outputs.package_dir }}\n        run: |\n          python setup.py build_py && python -m build\n\n      - name: Create tag and release\n        working-directory: ${{ steps.set-variables.outputs.package_dir }}\n        run: |\n           if [ \"${{ github.event.inputs.release_type }}\" == \"dev\" ]; then\n            gh release create ${{ steps.set-variables.outputs.release_name }} ${{ steps.set-variables.outputs.tar_path }} --target ${{ steps.extract_hash.outputs.HASH }} --prerelease --title ${{ steps.set-variables.outputs.release_name }} --notes \"Release Draft ${{ steps.set-variables.outputs.release_name }}\"\n           else\n            gh release create ${{ steps.set-variables.outputs.release_name }} ${{ steps.set-variables.outputs.tar_path }} --target ${{ steps.extract_hash.outputs.HASH }} --title ${{ steps.set-variables.outputs.release_name }} --notes \"Release ${{ steps.set-variables.outputs.release_name }}\"\n           fi\n        shell: bash\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  build-and-release-taipy:\n    runs-on: ubuntu-latest\n    needs: [build-and-release-taipy-packages, fetch-versions ]\n    timeout-minutes: 20\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ssh-key: ${{secrets.DEPLOY_KEY}}\n      - name: Extract commit hash\n        shell: bash\n        run: echo \"HASH=$(git rev-parse HEAD)\" >> $GITHUB_OUTPUT\n        id: extract_hash\n\n      - name: Set Build Variables\n        id: set-variables\n        run: |\n          echo \"package_version=${{needs.fetch-versions.outputs.VERSION}}\" >> $GITHUB_OUTPUT\n          echo \"release_name=${{needs.fetch-versions.outputs.VERSION}}\" >> $GITHUB_OUTPUT\n          echo \"tar_path=./dist/${{ github.event.repository.name }}-${{needs.fetch-versions.outputs.VERSION}}.tar.gz\" >> $GITHUB_OUTPUT\n\n      - name: Update setup.requirements.txt\n        run: |\n          python tools/release/update_setup_requirements.py taipy \\\n            ${{needs.fetch-versions.outputs.config_VERSION}} \\\n            ${{needs.fetch-versions.outputs.core_VERSION}} \\\n            ${{needs.fetch-versions.outputs.gui_VERSION}} \\\n            ${{needs.fetch-versions.outputs.rest_VERSION}} \\\n            ${{needs.fetch-versions.outputs.templates_VERSION}} \\\n            ${{ github.event.inputs.internal_dep_on_pypi }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build wheel\n\n\n      - name: Backup setup.py\n        run: |\n          mv setup.py setup.old.py\n\n      - name: Copy files from tools\n        run: |\n          cp -r tools/packages/taipy/. .\n\n      - name: Build Taipy package\n        run: |\n          python setup.py build_py && python -m build\n\n      - name: Create tag and release Taipy\n        run: |\n          if [ \"${{ github.event.inputs.release_type }}\" == \"dev\" ]; then\n            gh release create ${{ steps.set-variables.outputs.release_name }} ${{ steps.set-variables.outputs.tar_path }} --target ${{ steps.extract_hash.outputs.HASH }} --prerelease --title ${{ steps.set-variables.outputs.release_name }} --notes \"Release Draft ${{ steps.set-variables.outputs.release_name }}\"\n          else\n            gh release create ${{ steps.set-variables.outputs.release_name }} ${{ steps.set-variables.outputs.tar_path }} --target ${{ steps.extract_hash.outputs.HASH }} --title ${{ steps.set-variables.outputs.release_name }} --notes \"Release ${{ steps.set-variables.outputs.release_name }}\"\n          fi\n        shell: bash\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Download packages\n        run: |\n          gh release download ${{ needs.fetch-versions.outputs.config_VERSION }}-config --skip-existing --dir dist\n          gh release download ${{ needs.fetch-versions.outputs.core_VERSION }}-core --skip-existing --dir dist\n          gh release download ${{ needs.fetch-versions.outputs.gui_VERSION }}-gui --skip-existing --dir dist\n          gh release download ${{ needs.fetch-versions.outputs.rest_VERSION }}-rest --skip-existing --dir dist\n          gh release download ${{ needs.fetch-versions.outputs.templates_VERSION }}-templates --skip-existing --dir dist\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Bundle all packages in main release tag\n        run: |\n          find dist -type f -print0 | xargs -r0 gh release upload ${{ needs.fetch-versions.outputs.VERSION }} --clobber\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          file_pattern: '*/version.json'\n          commit_message: Update version to ${{ needs.fetch-versions.outputs.NEW_VERSION }}\n\n      - name: Reset changes\n        run: |\n          git reset --hard HEAD\n          git clean -fdx\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:47.373025", "created_at": "2024-03-20T07:31:05+01:00", "updated_at": "2024-03-20T11:19:38+01:00", "name": "Update config.pyi", "path": ".github/workflows/check-config-pyi.yml", "contents": "name: Update config.pyi\n\non:\n  pull_request:\n    branches: [ develop, release/* ]\n\njobs:\n  generate-pyi:\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Update config.pyi\n        run: python taipy/config/stubs/generate_pyi.py\n      - uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: \"Update config.pyi\"\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:48.426582", "created_at": "2024-04-04T02:18:41+02:00", "updated_at": "2024-04-04T02:36:46+02:00", "name": "Publish a taipy package on Pypi", "path": ".github/workflows/publish-single-package.yml", "contents": "name: Publish a taipy package on Pypi\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"The tag of the package to publish on Pypi (ex: 1.0.0, 1.0.0.dev0)\"\n        required: true\n      target_package:\n        description: \"The package to be released (gui, config, core, rest, templates, taipy)\"\n        required: true\n\njobs:\n\n  publish-package-to-pypi:\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    timeout-minutes: 20\n    environment: publish\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          sparse-checkout: taipy/${{ matrix.package }}\n          sparse-checkout-cone-mode: false\n\n      - name: Checks if package is already on Pypi\n        id: check-version\n        run: |\n          if curl https://pypi.org/simple/taipy-${{ github.event.inputs.target_package }}} | grep -o \">taipy-${{ github.event.inputs.target_package }}}-${{ github.event.inputs.version }}\\.tar\\.gz<\"; then\n            echo \"exists=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"exists=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Download assets from tag\n        if: steps.check-version.outputs.exists == 'false'\n        run: |\n          gh release download ${{ github.event.inputs.version }}-${{ github.event.inputs.target_package }} --dir dist\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish to PyPI\n        if: steps.check-version.outputs.exists == 'false'\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:49.538935", "created_at": "2024-04-04T02:22:24+02:00", "updated_at": "2024-04-04T02:36:46+02:00", "name": "Build and release one taipy sub-package", "path": ".github/workflows/build-and-release-single-package.yml", "contents": "name: Build and release one taipy sub-package\n\non:\n  workflow_dispatch:\n    inputs:\n      internal_dep_on_pypi:\n        description: \"Point taipy internal dependencies to Pypi? If false it will point to the github .tar.gz release file\"\n        default: \"false\"\n        required: true\n      release_type:\n        description: \"The type of release to be made (dev or production)\"\n        default: \"dev\"\n        required: true\n      target_version:\n        description: \"The version of the package to be released\"\n        required: true\n      target_package:\n        description: \"The package to be released (gui, config, core, rest, templates, taipy)\"\n        required: true\n\njobs:\n  fetch-versions:\n    runs-on: ubuntu-latest\n    outputs:\n        config_VERSION: ${{ steps.version-setup.outputs.config_VERSION }}\n        core_VERSION: ${{ steps.version-setup.outputs.core_VERSION }}\n        gui_VERSION: ${{ steps.version-setup.outputs.gui_VERSION }}\n        rest_VERSION: ${{ steps.version-setup.outputs.rest_VERSION }}\n        templates_VERSION: ${{ steps.version-setup.outputs.templates_VERSION }}\n        VERSION: ${{ steps.version-setup.outputs.VERSION }}\n        NEW_VERSION: ${{ steps.version-setup.outputs.NEW_VERSION }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}\" >> $GITHUB_OUTPUT\n        id: extract_branch\n\n      - name: Setup Version\n        id: version-setup\n        run: |\n          python tools/release/fetch_latest_versions.py \\\n          ${{ github.event.inputs.release_type }} \\\n          ${{ github.event.inputs.internal_dep_on_pypi }} \\\n          ${{ github.event.inputs.target_version }} \\\n          ${{ github.event.inputs.target_package }} >> $GITHUB_OUTPUT\n\n  build-and-release-package:\n    needs: [fetch-versions]\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ssh-key: ${{secrets.DEPLOY_KEY}}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n\n      - name: Extract commit hash\n        shell: bash\n        run: echo \"HASH=$(git rev-parse HEAD)\" >> $GITHUB_OUTPUT\n        id: extract_hash\n\n      - name: Set Build Variables\n        id: set-variables\n        run: |\n          if [ \"${{ github.event.inputs.target_package }}\" == \"config\" ]; then\n            echo \"package_version=${{needs.fetch-versions.outputs.config_VERSION}}\" >> $GITHUB_OUTPUT\n            echo \"package_dir=./taipy/config\" >> $GITHUB_OUTPUT\n            echo \"release_name=${{needs.fetch-versions.outputs.config_VERSION}}-config\" >> $GITHUB_OUTPUT\n            echo \"tar_path=./dist/${{ github.event.repository.name }}-config-${{needs.fetch-versions.outputs.config_VERSION}}.tar.gz\" >> $GITHUB_OUTPUT\n          elif [ \"${{ github.event.inputs.target_package }}\" == \"core\" ]; then\n            echo \"package_version=${{needs.fetch-versions.outputs.core_VERSION}}\" >> $GITHUB_OUTPUT\n            echo \"package_dir=./taipy/core\" >> $GITHUB_OUTPUT\n            echo \"release_name=${{needs.fetch-versions.outputs.core_VERSION}}-core\" >> $GITHUB_OUTPUT\n            echo \"tar_path=./dist/${{ github.event.repository.name }}-core-${{needs.fetch-versions.outputs.core_VERSION}}.tar.gz\" >> $GITHUB_OUTPUT\n          elif [ \"${{ github.event.inputs.target_package }}\" == \"gui\" ]; then\n            echo \"package_version=${{needs.fetch-versions.outputs.gui_VERSION}}\" >> $GITHUB_OUTPUT\n            echo \"package_dir=./taipy/gui\" >> $GITHUB_OUTPUT\n            echo \"release_name=${{needs.fetch-versions.outputs.gui_VERSION}}-gui\" >> $GITHUB_OUTPUT\n            echo \"tar_path=./dist/${{ github.event.repository.name }}-gui-${{needs.fetch-versions.outputs.gui_VERSION}}.tar.gz\" >> $GITHUB_OUTPUT\n          elif [ \"${{ github.event.inputs.target_package }}\" == \"rest\" ]; then\n            echo \"package_version=${{needs.fetch-versions.outputs.rest_VERSION}}\" >> $GITHUB_OUTPUT\n            echo \"package_dir=./taipy/rest\" >> $GITHUB_OUTPUT\n            echo \"release_name=${{needs.fetch-versions.outputs.rest_VERSION}}-rest\" >> $GITHUB_OUTPUT\n            echo \"tar_path=./dist/${{ github.event.repository.name }}-rest-${{needs.fetch-versions.outputs.rest_VERSION}}.tar.gz\" >> $GITHUB_OUTPUT\n          elif [ \"${{ github.event.inputs.target_package }}\" == \"templates\" ]; then\n            echo \"package_version=${{needs.fetch-versions.outputs.templates_VERSION}}\" >> $GITHUB_OUTPUT\n            echo \"package_dir=./taipy/templates\" >> $GITHUB_OUTPUT\n            echo \"release_name=${{needs.fetch-versions.outputs.templates_VERSION}}-templates\" >> $GITHUB_OUTPUT\n            echo \"tar_path=./dist/${{ github.event.repository.name }}-templates-${{needs.fetch-versions.outputs.templates_VERSION}}.tar.gz\" >> $GITHUB_OUTPUT\n          fi\n        shell: bash\n\n      - name: Update setup.requirements.txt\n        run: |\n          python tools/release/update_setup_requirements.py taipy-${{ github.event.inputs.target_package }} \\\n            ${{needs.fetch-versions.outputs.config_VERSION}} \\\n            ${{needs.fetch-versions.outputs.core_VERSION}} \\\n            ${{needs.fetch-versions.outputs.gui_VERSION}} \\\n            ${{needs.fetch-versions.outputs.rest_VERSION}} \\\n            ${{needs.fetch-versions.outputs.templates_VERSION}} \\\n            ${{ github.event.inputs.internal_dep_on_pypi }}\n\n      - name: Copy tools\n        run: |\n          cp -r tools ${{ steps.set-variables.outputs.package_dir }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build wheel pipenv mypy black isort\n\n      - name: Install GUI dependencies\n        if: github.event.inputs.target_package == 'gui'\n        run: |\n          pipenv install --dev\n\n      - name: Generate GUI pyi file\n        if: github.event.inputs.target_package == 'gui'\n        run: |\n          cp tools/gui/generate_pyi.py pyi_temp.py && pipenv run python pyi_temp.py && rm pyi_temp.py\n\n      - name: Build frontends\n        if: github.event.inputs.target_package == 'gui'\n        run: |\n          python tools/frontend/bundle_build.py\n\n      - name: Copy files from tools\n        run: |\n          cp -r tools/packages/taipy-${{ github.event.inputs.target_package }}/. ${{ steps.set-variables.outputs.package_dir }}\n\n      - name: Build Package Structure\n        working-directory: ${{ steps.set-variables.outputs.package_dir }}\n        run: |\n          python tools/release/build_package_structure.py  ${{ github.event.inputs.target_package }}\n\n      - name: Copy Taipy Logger\n        if: github.event.inputs.target_package == 'config'\n        run: |\n          cp -r taipy/logger/. ${{ steps.set-variables.outputs.package_dir }}/taipy/logger\n\n      - name: Copy _cli folder\n        run: |\n          cp -r taipy/_cli/. ${{ steps.set-variables.outputs.package_dir }}/taipy/_cli\n\n      - name: Build package\n        working-directory: ${{ steps.set-variables.outputs.package_dir }}\n        run: |\n          python setup.py build_py && python -m build\n          for file in ./dist/*; do mv \"$file\" \"${file//_/-}\"; done\n\n      - name: Create tag and release\n        working-directory: ${{ steps.set-variables.outputs.package_dir }}\n        run: |\n           if [ \"${{ github.event.inputs.release_type }}\" == \"dev\" ]; then\n            gh release create ${{ steps.set-variables.outputs.release_name }} ${{ steps.set-variables.outputs.tar_path }} --target ${{ steps.extract_hash.outputs.HASH }} --prerelease --title ${{ steps.set-variables.outputs.release_name }} --notes \"Release Draft ${{ steps.set-variables.outputs.release_name }}\"\n           else\n            gh release create ${{ steps.set-variables.outputs.release_name }} ${{ steps.set-variables.outputs.tar_path }} --target ${{ steps.extract_hash.outputs.HASH }} --title ${{ steps.set-variables.outputs.release_name }} --notes \"Release ${{ steps.set-variables.outputs.release_name }}\"\n           fi\n        shell: bash\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:50.646376", "created_at": "2024-05-21T15:11:49+02:00", "updated_at": "2024-05-21T15:11:49+02:00", "name": "Manage Stale Issues and PRs", "path": ".github/workflows/manage-stale-issue-pr.yml", "contents": "name: Manage Stale Issues and PRs\n\non:\n  schedule:\n    # Run once every day at 9 AM UTC\n    - cron: 00 9 * * *\n\njobs:\n  stale-issues-and-prs:\n    name: Comment on possible stable issues and PRs, and close stale PRs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          operations-per-run: 50  # Max number of operations per run (including fetch or close issues and PRs, set or update labels, add comments, delete branches, etc.)\n          include-only-assigned: true\n          days-before-stale: 14  # Idle number of days before marking issues/PRs stale\n          stale-issue-message: \"This issue has been labelled as \\\"🥶Waiting for contributor\\\" because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. Otherwise, you will be unassigned in 14 days. For more information please refer to the contributing guidelines.\"\n          stale-issue-label: \"🥶Waiting for contributor\"\n          stale-pr-message: \"This PR has been labelled as \\\"🥶Waiting for contributor\\\" because it has been inactive for more than 14 days. If you would like to continue working on this PR, then please add new commit or another comment, otherwise this PR will be closed in 14 days. For more information please refer to the contributing guidelines.\"\n          stale-pr-label: \"🥶Waiting for contributor\"\n          days-before-pr-close: 14\n          close-pr-message: \"This PR has been closed because it has been marked as \\\"🥶Waiting for contributor\\\" for more than 14 days with no activity.\"\n          delete-branch: true  # Delete branch after closing a stale PR\n          days-before-issue-close: -1  # Never close an issue\n          exempt-issue-labels: \"❌ Blocked,💬 Discussion\"  # Issues with label ❌ Blocked or 💬 Discussion are exempted from stale\n          exempt-pr-labels: \"❌ Blocked,💬 Discussion\"  # PRs with label ❌ Blocked or 💬 Discussion are exempted from stale\n          remove-stale-when-updated: true\n\n  unassign-issues-labeled-waiting-for-contributor-after-14-days-of-inactivity:\n    name: Unassign issues labeled \\\"🥶Waiting for contributor\\\" after 14 days of inactivity.\n    runs-on: ubuntu-latest\n    steps:\n      - uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@v1\n        with:\n          last-activity: 14\n          labels: \"🥶Waiting for contributor\"\n          labels-to-remove: \"🥶Waiting for contributor\"\n          message: \"This issue has been unassigned automatically because it has been marked as \\\"🥶Waiting for contributor\\\" for more than 14 days with no activity.\"\n", "state": "active", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:51.842176", "created_at": "2024-01-09T01:39:57+01:00", "updated_at": "2024-02-26T12:54:09+01:00", "name": "Integration testings on taipy-integration-testing", "path": ".github/workflows/trigger-integration-tests.yml", "contents": "name: Integration testings on taipy-integration-testing\non:\n  push:\n    branches: [ develop, dev/* ]\n  pull_request:\n    branches: [ develop , dev/* ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Trigger taipy-integration-testing\n        uses: convictional/trigger-workflow-and-wait@v1.6.1\n        with:\n          owner: Avaiga\n          repo: taipy-integration-testing\n          github_token: ${{secrets.TAIPY_INTEGRATION_TESTING_ACCESS_TOKEN}}\n          workflow_file_name: taipy-trigger-tests.yml\n          ref: develop\n          wait_interval: 60\n          propagate_failure: true\n          trigger_workflow: true\n          wait_workflow: true\n          client_payload: '{\"repo\": \"taipy\", \"commitSHA\": \"${{ github.sha }}\"}'\n", "state": "disabled_manually", "repository": "avaiga/taipy"}
{"mined_at": "2024-07-15T17:08:53.985783", "created_at": "2021-04-19T22:38:06+02:00", "updated_at": "2021-04-23T16:02:05+02:00", "name": "CI", "path": ".github/workflows/test.yml", "contents": "name: \"CI\"\n\n# The workflow should be triggered on any push and release events.\n# Release events can push tags (triggering a push event).\n# Therefore:\n#  - docker-publish-staging – is only triggered on push events to main branch\n#  - docker-publish-release – is only triggered on release events\non:\n  push:\n  pull_request:\n  release:\n    types: [ released ]\n\njobs:\n  flake8:\n    name: flake8\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-dev.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12.2'\n      - name: Install dependencies\n        run: |\n          pip install -U wheel setuptools\n          pip install -r requirements-dev.txt\n      - name: flake8\n        uses: liskin/gh-problem-matcher-wrap@v3\n        with:\n          linters: flake8\n          run: flake8\n\n  isort:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-dev.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12.2'\n      - name: Install dependencies\n        run: |\n          pip install -U wheel setuptools\n          pip install -r requirements-dev.txt\n      - name: isort\n        uses: liskin/gh-problem-matcher-wrap@v3\n        with:\n          linters: isort\n          run: isort --check --profile black src/\n\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-dev.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12.2'\n      - name: Install dependencies\n        run: |\n          pip install -U wheel setuptools\n          pip install -r requirements-dev.txt\n      - name: black\n        run: black --check src/\n\n  django-check:\n    runs-on: ubuntu-latest\n\n    services:\n      postgres:\n        image: postgres:13-alpine\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n    env:\n      SECRET_KEY: 'insecure_key_for_dev'\n      POSTGRES_HOST: localhost\n      POSTGRES_PORT: 5432\n      AWS_ACCESS_KEY_ID: 'example-aws-access-key-id'\n      AWS_SECRET_ACCESS_KEY: 'example-aws-secret-access-key'\n      AWS_STORAGE_BUCKET_NAME: 'example-aws-storage-bucket-name'\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-dev.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12.2'\n      - name: Install dependencies\n        run: |\n          pip install -U wheel setuptools\n          pip install -r requirements-dev.txt\n      - name: Run mypy\n        run: mypy --strict src/chains src/safe_apps\n      - name: Check pending migrations\n        run: python src/manage.py makemigrations --check --dry-run\n      - name: Run migrations\n        run: python src/manage.py migrate\n      - name: Django System Check\n        run: python src/manage.py check\n      - name: Run tests with coverage\n        run: coverage run -m pytest src\n      - name: Coveralls\n        uses: coverallsapp/github-action@v2\n\n  docker-publish-staging:\n    if: (github.event_name == 'push' && github.ref == 'refs/heads/main')\n    needs: [ flake8, isort, black, django-check ]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3.0.0\n        with:\n          platforms: arm64\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3.3.0\n      - name: Cache Docker layers\n        uses: actions/cache@v4\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n      - name: Login to DockerHub\n        uses: docker/login-action@v3.2.0\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v6.0.0\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          build-args: |\n            BUILD_NUMBER=${{ env.BUILD_NUMBER }}\n            VERSION=${{ github.ref_name }}\n          tags: safeglobal/safe-config-service:staging\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache-new\n      - # Temp fix\n        # https://github.com/docker/build-push-action/issues/252\n        # https://github.com/moby/buildkit/issues/1896\n        name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n\n  docker-publish-release:\n    if: (github.event_name == 'release' && github.event.action == 'released')\n    needs: [ flake8, isort, black, django-check ]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3.0.0\n        with:\n          platforms: arm64\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3.3.0\n      - name: Cache Docker layers\n        uses: actions/cache@v4\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n      - name: Login to DockerHub\n        uses: docker/login-action@v3.2.0\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v6.0.0\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          build-args: |\n            BUILD_NUMBER=${{ env.BUILD_NUMBER }}\n            VERSION=${{ github.ref_name }}\n          tags: |\n            safeglobal/safe-config-service:${{ github.event.release.tag_name }}\n            safeglobal/safe-config-service:latest\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache-new\n      - # Temp fix\n        # https://github.com/docker/build-push-action/issues/252\n        # https://github.com/moby/buildkit/issues/1896\n        name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n\n  autodeploy:\n    runs-on: ubuntu-latest\n    needs: [docker-publish-staging]\n    if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n    steps:\n    - uses: actions/checkout@v4\n    - name: Deploy Staging\n      run: bash scripts/autodeploy.sh\n      env:\n        AUTODEPLOY_URL: ${{ secrets.AUTODEPLOY_URL }}\n        AUTODEPLOY_TOKEN: ${{ secrets.AUTODEPLOY_TOKEN }}\n        TARGET_ENV: \"staging\"\n", "state": "active", "repository": "safe-global/safe-config-service"}
{"mined_at": "2024-07-15T17:08:55.018881", "created_at": "2022-01-20T12:53:43+01:00", "updated_at": "2022-01-20T12:53:43+01:00", "name": "CLA Assistant", "path": ".github/workflows/cla.yml", "contents": "name: \"CLA Assistant\"\non:\n  issue_comment:\n    types: [ created ]\n  pull_request_target:\n    types: [ opened,closed,synchronize ]\n\njobs:\n  CLAssistant:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"CLA Assistant\"\n        if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'\n        # Beta Release\n        uses: cla-assistant/github-action@v2.4.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # the below token should have repo scope and must be manually added by you in the repository's secret\n          PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n        with:\n          path-to-signatures: 'signatures/version1/cla.json'\n          path-to-document: 'https://safe.global/cla'\n          # branch should not be protected\n          branch: 'cla-signatures'\n          allowlist: hectorgomezv,moisses89,luarx,fmrsabino,rmeissner,Uxio0,*bot,iamacook # may need to update this expression if we add new bots\n\n          #below are the optional inputs - If the optional inputs are not given, then default values will be taken\n          #remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #remote-repository-name:  enter the  remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #create-file-commit-message: 'For example: Creating file for storing CLA Signatures'\n          #signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo'\n          #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'\n          #custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'\n          #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'\n          #lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)\n          #use-dco-flag: true - If you are using DCO instead of CLA\n", "state": "active", "repository": "safe-global/safe-config-service"}
{"mined_at": "2024-07-15T17:08:56.064049", "created_at": "2024-07-15T15:22:16+02:00", "updated_at": "2024-07-15T15:22:16+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "safe-global/safe-config-service"}
{"mined_at": "2024-07-15T17:08:58.163807", "created_at": "2022-01-11T09:45:18+01:00", "updated_at": "2022-01-12T01:23:58+01:00", "name": "Run Code Checks", "path": ".github/workflows/main.yml", "contents": "name: Run Code Checks\n\non:\n  pull_request:\n  push:\n\njobs:\n  build-wheels:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - uses: actions/cache@v4\n        id: wheels_cache\n        with:\n          path: ./wheels\n          key: wheels-${{ github.sha }}\n\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools\n          python -m pip install --upgrade \\\n           toml \\\n           wheel \\\n           packaging \\\n           twine\n          python -m pip freeze\n\n      - name: Build Clean Packages\n        run: |\n          mkdir -p ./wheels/clean\n          python setup.py bdist_wheel --dist-dir ./wheels/clean/\n          python setup.py sdist --dist-dir ./wheels/clean/\n          find ./wheels/clean -type f\n\n      - name: Patch Package Versions\n        run: |\n          find . -name _version.py | xargs python ./scripts/patch_version.py ${GITHUB_RUN_NUMBER:-0}\n\n      - name: Build Dev Packages\n        run: |\n          mkdir -p ./wheels/dev\n          python setup.py bdist_wheel --dist-dir ./wheels/dev/\n          python setup.py sdist --dist-dir ./wheels/dev/\n          find ./wheels/dev -type f\n\n  build-test-env-base:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/cache@v4\n        id: conda_cache\n        with:\n          path: /tmp/test_env\n          key: ${{ runner.os }}-test-env-py310-${{ hashFiles('tests/test-env-py310.yml') }}\n\n      - uses: conda-incubator/setup-miniconda@v3\n        if: steps.conda_cache.outputs.cache-hit != 'true'\n        with:\n          channels: conda-forge\n          channel-priority: true\n          activate-environment: \"\"\n          mamba-version: \"*\"\n          use-mamba: true\n\n      - name: Dump Conda Environment Info\n        shell: bash -l {0}\n        if: steps.conda_cache.outputs.cache-hit != 'true'\n        run: |\n          conda info\n          conda list\n          mamba -V\n          conda config --show-sources\n          conda config --show\n          printenv | sort\n\n      - name: Build Python Environment for Testing\n        shell: bash -l {0}\n        if: steps.conda_cache.outputs.cache-hit != 'true'\n        run: |\n          mamba env create -f tests/test-env-py310.yml -p /tmp/test_env\n\n      - name: Check Python Env\n        shell: bash -l {0}\n        if: steps.conda_cache.outputs.cache-hit != 'true'\n        run: |\n          mamba env export -p /tmp/test_env\n\n  run-black-check:\n    runs-on: ubuntu-latest\n    needs:\n      - build-test-env-base\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get Conda Environment from Cache\n        uses: actions/cache@v4\n        id: conda_cache\n        with:\n          path: /tmp/test_env\n          key: ${{ runner.os }}-test-env-py310-${{ hashFiles('tests/test-env-py310.yml') }}\n\n      - name: Update PATH\n        shell: bash\n        run: |\n          echo \"/tmp/test_env/bin\" >> $GITHUB_PATH\n\n      - name: Check formatting (black)\n        shell: bash\n        run: |\n          black --check .\n\n  run-pylint:\n    runs-on: ubuntu-latest\n    needs:\n      - build-test-env-base\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get Conda Environment from Cache\n        uses: actions/cache@v4\n        id: conda_cache\n        with:\n          path: /tmp/test_env\n          key: ${{ runner.os }}-test-env-py310-${{ hashFiles('tests/test-env-py310.yml') }}\n\n      - name: Update PATH\n        shell: bash\n        run: |\n          echo \"/tmp/test_env/bin\" >> $GITHUB_PATH\n\n      - name: Install in Edit mode\n        shell: bash\n        run: |\n          pip install -e . --no-deps\n\n      - name: Check with pylint\n        shell: bash\n        run: |\n          pylint -v odc\n\n  run-mypy:\n    runs-on: ubuntu-latest\n    needs:\n      - build-test-env-base\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get Conda Environment from Cache\n        uses: actions/cache@v4\n        id: conda_cache\n        with:\n          path: /tmp/test_env\n          key: ${{ runner.os }}-test-env-py310-${{ hashFiles('tests/test-env-py310.yml') }}\n\n      - name: Update PATH\n        shell: bash\n        run: |\n          echo \"/tmp/test_env/bin\" >> $GITHUB_PATH\n\n      - name: Check with mypy\n        shell: bash\n        run: |\n          mypy odc\n\n  test-with-coverage:\n    runs-on: ubuntu-latest\n\n    needs:\n      - build-test-env-base\n      - run-black-check\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Get Conda Environment from Cache\n        uses: actions/cache@v4\n        id: conda_cache\n        with:\n          path: /tmp/test_env\n\n          key: ${{ runner.os }}-test-env-py310-${{ hashFiles('tests/test-env-py310.yml') }}\n\n      - name: Update PATH\n        shell: bash\n        run: |\n          echo \"/tmp/test_env/bin\" >> $GITHUB_PATH\n\n      - name: Install in Edit mode\n        shell: bash\n        run: |\n          pip install -e . --no-deps\n\n      - name: Run Tests\n        shell: bash\n        run: |\n          echo \"Running Tests\"\n          pytest --cov=odc \\\n          --cov-report=html \\\n          --cov-report=term \\\n          --cov-report=xml:coverage.xml \\\n          --timeout=30 \\\n          tests\n\n        env:\n          DASK_TEMPORARY_DIRECTORY: /tmp/dask\n\n      - name: Upload Coverage\n        if: |\n          github.repository == 'opendatacube/odc-geo'\n\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: false\n          verbose: false\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  test-wheels:\n    runs-on: ubuntu-latest\n\n    needs:\n      - build-test-env-base\n      - run-black-check\n      - build-wheels\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Get Wheels from Cache\n        uses: actions/cache@v4\n        id: wheels_cache\n        with:\n          path: ./wheels\n          key: wheels-${{ github.sha }}\n\n      - name: Get Conda Environment from Cache\n        uses: actions/cache@v4\n        id: conda_cache\n        with:\n          path: /tmp/test_env\n          key: ${{ runner.os }}-test-env-py310-${{ hashFiles('tests/test-env-py310.yml') }}\n\n      - name: Update PATH\n        shell: bash\n        run: |\n          echo \"/tmp/test_env/bin\" >> $GITHUB_PATH\n\n      - name: Install wheels for testing\n        shell: bash\n        run: |\n          which python\n\n          ls -lh wheels/clean\n          python -m pip install --no-deps wheels/clean/*whl\n          python -m pip check || true\n\n      - name: Run Tests\n        shell: bash\n        run: |\n          echo \"Running Tests\"\n          pytest --timeout=30 tests\n\n        env:\n          DASK_TEMPORARY_DIRECTORY: /tmp/dask\n\n  check-docs:\n    runs-on: ubuntu-latest\n\n    needs:\n      - build-test-env-base\n      - run-black-check\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Get Conda Environment from Cache\n        uses: actions/cache@v4\n        id: conda_cache\n        with:\n          path: /tmp/test_env\n          key: ${{ runner.os }}-test-env-py310-${{ hashFiles('tests/test-env-py310.yml') }}\n\n      - name: Update PATH\n        shell: bash\n        run: |\n          echo \"/tmp/test_env/bin\" >> $GITHUB_PATH\n\n      - name: Install in Edit mode\n        shell: bash\n        run: |\n          pip install -e . --no-deps\n\n      - name: Build docs\n        shell: bash\n        run: |\n          make -C docs html\n\n      - name: Deploy to Netlify\n        id: netlify\n        if: github.event_name == 'pull_request'\n        uses: nwtgck/actions-netlify@v3\n        with:\n          production-branch: \"main\"\n          publish-dir: \"docs/_build/html\"\n          deploy-message: \"Deploy from GitHub Actions\"\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          enable-pull-request-comment: true\n          enable-commit-comment: false\n\n        env:\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n\n      - name: Print Notice\n        uses: actions/github-script@v7\n        if: github.event_name == 'pull_request'\n        env:\n          NETLIFY_URL: ${{ steps.netlify.outputs.deploy-url }}\n        with:\n          script: |\n            const {NETLIFY_URL} = process.env\n            core.notice(`Published to: ${NETLIFY_URL}`)\n", "state": "active", "repository": "opendatacube/odc-geo"}
{"mined_at": "2024-07-15T17:08:59.372857", "created_at": "2022-03-11T06:23:51+01:00", "updated_at": "2022-03-11T06:23:51+01:00", "name": "Publish to PyPI", "path": ".github/workflows/publish-pypi.yml", "contents": "name: Publish to PyPI\n\non:\n  workflow_dispatch:\n\njobs:\n  publish-pypi:\n    if: github.repository == 'opendatacube/odc-geo'\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/cache@v4\n        id: wheels_cache\n        with:\n          path: ./wheels\n          key: wheels-${{ github.sha }}\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install Twine\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools\n          python -m pip install --upgrade \\\n           toml \\\n           wheel \\\n           twine\n          python -m pip freeze\n\n      - name: Upload to PyPI\n        if: github.event_name == 'workflow_dispatch' || github.ref_type == 'tag'\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n          TWINE_USERNAME: __token__\n\n        run: |\n          ls wheels/clean/\n          twine upload --non-interactive --skip-existing wheels/clean/*\n", "state": "active", "repository": "opendatacube/odc-geo"}
{"mined_at": "2024-07-15T17:09:01.729006", "created_at": "2023-01-17T18:21:25+01:00", "updated_at": "2023-01-17T18:21:25+01:00", "name": "IBM i build new release", "path": ".github/workflows/ibmi_release.yml", "contents": "name: IBM i build new release\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10\n\nenv:\n  ssh_command: ssh ${{ secrets.IBMI_BUILD_USRPRF }}@${{ secrets.IBMI_BUILD_SYS }}\n  scp_dist_command: scp -r ${{ secrets.IBMI_BUILD_USRPRF }}@${{ secrets.IBMI_BUILD_SYS }}:/home/${{ secrets.IBMI_BUILD_USRPRF }}/build/${{ github.sha }}/rpmbuild/RPMS/ ./rpmbuild/RPMS/\n  remote_build_dir: /home/${{ secrets.IBMI_BUILD_USRPRF }}/build/${{ github.sha }}\n  rsync_command: rsync -a --exclude='.*' --exclude='runners' --rsync-path=/QOpenSys/pkgs/bin/rsync ./ ${{ secrets.IBMI_BUILD_USRPRF }}@${{ secrets.IBMI_BUILD_SYS }}:/home/${{ secrets.IBMI_BUILD_USRPRF }}/build/${{ github.sha }}/\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.9\"\n      - name: Get version from tag\n        id: get_version\n        run: |\n          echo VERSION=${GITHUB_REF#refs/tags/v} >> $GITHUB_OUTPUT\n      - name: Install private key\n        run: |\n          mkdir -p ~/.ssh\n          chmod 0755 ~\n          chmod 0700 ~/.ssh\n          echo  \"${{ secrets.IBMI_BUILD_PVTKEY }}\" > ~/.ssh/id_rsa\n          chmod 0600 ~/.ssh/id_rsa\n      - name: Disable strict host key checking\n        run: |\n          echo \"Host *\" > ~/.ssh/config\n          echo \"  StrictHostKeyChecking no\" >> ~/.ssh/config\n      - name: Generate the RPM spec file\n        run: |\n          python3 tools/release/generate_spec.py ${{ steps.get_version.outputs.VERSION }} CHANGELOG True\n      - name: Create rpmbuild directory\n        run: |\n          mkdir -p rpmbuild/{BUILD,RPMS,SOURCES,SPECS,BUILDROOT}\n          cp bob.spec rpmbuild/SPECS\n      - name: Populate build sandbox\n        run: $rsync_command\n      - name: Get short SHA ID\n        run: |\n          echo \"short_sha=$(echo ${{ github.sha }} | head -c 7)\" >> $GITHUB_ENV\n          cat $GITHUB_ENV\n      - name: Perform remote RPM build\n        id: remote_build\n        run: |\n          $ssh_command \"cd $remote_build_dir && PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/bin time /QOpenSys/pkgs/bin/rpmbuild -ba --define '_topdir $remote_build_dir/rpmbuild' rpmbuild/SPECS/bob.spec\"\n      - name: Find RPM file\n        id: find_rpm\n        run: |\n          $scp_dist_command\n          echo \"RPM_FILE_PATH=$(find . -name '*.rpm' -print -quit)\" >> $GITHUB_OUTPUT\n      - name: Cleanup remote build dir\n        if: always()\n        run: $ssh_command \"rm -fr $remote_build_dir\"\n      - name: Rename RPM before attaching\n        run: mv ${{ steps.find_rpm.outputs.RPM_FILE_PATH }} bob.rpm\n      - name: Create the tag and release\n        uses: softprops/action-gh-release@v1\n        with:\n          tag_name: ${{ github.ref }}\n          name: Release ${{ steps.get_version.outputs.VERSION }}\n          files: bob.rpm", "state": "active", "repository": "ibm/ibmi-bob"}
{"mined_at": "2024-07-15T17:09:02.811067", "created_at": "2022-12-28T10:47:32+01:00", "updated_at": "2022-12-28T10:47:32+01:00", "name": "Publish RPM to the spec repo", "path": ".github/workflows/publish_rpm.yml", "contents": "name: Publish RPM to the spec repo\non:\n  workflow_dispatch:\n  workflow_run:\n    workflows: [IBM i build new release]\n    branches: [ master ]\n    types:\n      - completed\nenv:\n  SPEC_REPO_SPEC_PATH: ${{ secrets.SPEC_REPO_SPEC_PATH }}\n  SPEC_GITHUB_BASE_URL: ${{ secrets.SPEC_GITHUB_BASE_URL }}\n  SPEC_REPO_NAME: ${{ secrets.SPEC_REPO_NAME }}\n  SPEC_REPO_OWNER: ${{ secrets.SPEC_REPO_OWNER }}\n  SPEC_GITHUB_TOKEN: ${{ secrets.SPEC_GITHUB_TOKEN }}\n  SPEC_PROJECT_NAME: ${{ secrets.SPEC_PROJECT_NAME }}\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.9\"\n      - name: install nox\n        run: python -m pip install nox\n      - name: Publish RPM to the spec repo\n        run: |\n          nox -s publish", "state": "active", "repository": "ibm/ibmi-bob"}
{"mined_at": "2024-07-15T17:09:03.839654", "created_at": "2023-04-10T19:56:00+02:00", "updated_at": "2023-04-10T19:56:00+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "ibm/ibmi-bob"}
{"mined_at": "2024-07-15T17:09:04.867765", "created_at": "2022-04-25T17:37:57+02:00", "updated_at": "2022-04-25T17:37:57+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ibm/ibmi-bob"}
{"mined_at": "2024-07-15T17:09:07.052223", "created_at": "2022-03-06T06:48:31+01:00", "updated_at": "2022-03-06T06:48:31+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '41 20 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "eprbell/dali-rp2"}
{"mined_at": "2024-07-15T17:09:08.203032", "created_at": "2022-03-06T06:48:31+01:00", "updated_at": "2022-03-06T06:48:31+01:00", "name": "Documentation Check", "path": ".github/workflows/documentation_check.yml", "contents": "name: Documentation Check\n\non: [push, pull_request]\n\njobs:\n  markdown-link-check:\n    name: Check markdown links\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@main\n    - uses: gaurav-nelson/github-action-markdown-link-check@v1\n", "state": "active", "repository": "eprbell/dali-rp2"}
{"mined_at": "2024-07-15T17:09:09.179495", "created_at": "2022-03-06T06:48:31+01:00", "updated_at": "2022-03-06T06:48:31+01:00", "name": "Static Analysis", "path": ".github/workflows/static_analysis.yml", "contents": "name: Static Analysis\n\non: [push, pull_request]\n\njobs:\n  analyze:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.9]\n    env:\n      PYTHONPATH: ./src:./tests\n      MYPYPATH: ./src:./tests:./src/stubs\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e '.[dev]'\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings.\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=160 --statistics\n      - name: Lint with pylint\n        run: |\n          pylint -r y src tests/*.py\n      - name: Security check with bandit\n        run: |\n          bandit -r src/\n      - name: Type check with mypy\n        run: |\n          mypy src/ tests/\n", "state": "active", "repository": "eprbell/dali-rp2"}
{"mined_at": "2024-07-15T17:09:10.226192", "created_at": "2022-03-06T06:48:31+01:00", "updated_at": "2022-03-06T06:48:31+01:00", "name": "Unix Unit Tests", "path": ".github/workflows/unix_unit_tests.yml", "contents": "name: Unix Unit Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n    env:\n      PYTHONPATH: ./src:./test\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e '.[dev]'\n      - name: Test with pytest\n        run: |\n          pytest --tb=native --verbose\n", "state": "active", "repository": "eprbell/dali-rp2"}
{"mined_at": "2024-07-15T17:09:11.352700", "created_at": "2022-03-06T06:48:31+01:00", "updated_at": "2022-03-06T06:48:31+01:00", "name": "Windows Unit Tests", "path": ".github/workflows/windows_unit_tests.yml", "contents": "name: Windows Unit Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest]\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n    env:\n      PYTHONPATH: .\\src;.\\test\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e '.[dev]'\n      - name: Test with pytest\n        run: |\n          pytest --tb=native --verbose\n", "state": "active", "repository": "eprbell/dali-rp2"}
{"mined_at": "2024-07-15T17:09:13.503059", "created_at": "2021-09-12T22:17:50+02:00", "updated_at": "2021-09-12T23:21:21+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  tests:\n    name: Run Unit Tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n      with:\n        version: 1.8.2\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n        installer-parallel: true\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install tox tox-gh-actions\n    - name: Run tests with tox\n      run: tox\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      if: ${{ matrix.python-version == '3.12' }}\n      with:\n        fail_ci_if_error: true\n        token: ${{ secrets.CODECOV_TOKEN }}\n\n  lint:\n    name: linting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - uses: chartboost/ruff-action@v1\n      - uses: chartboost/ruff-action@v1\n        with:\n          args: \"format --check\"\n", "state": "active", "repository": "dondebonair/slack-machine"}
{"mined_at": "2024-07-15T17:09:14.732864", "created_at": "2021-11-23T23:05:23+01:00", "updated_at": "2021-11-23T23:05:23+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\non:\n  push:\n    branches:\n      - main\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.2.2\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n      - name: Install dependencies\n        run: poetry install --with docs\n      - name: Deploy docs\n        run: poetry run mkdocs gh-deploy --force\n", "state": "active", "repository": "dondebonair/slack-machine"}
{"mined_at": "2024-07-15T17:09:15.709384", "created_at": "2022-02-12T14:07:47+01:00", "updated_at": "2022-02-12T14:07:47+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "dondebonair/slack-machine"}
{"mined_at": "2024-07-15T17:09:17.818344", "created_at": "2021-07-21T12:44:07+02:00", "updated_at": "2021-07-21T12:44:07+02:00", "name": "Publish charts", "path": ".github/workflows/charts-publish.yml", "contents": "# This is a GitHub workflow defining a set of jobs with a set of steps. ref:\n# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions\n#\n# This workflow package and publishes the Helm charts to Helm repository living\n# inside the gh-pages branch of this git repository.\n#\n# Create a tag (on devel) or create release\nname: Publish charts\n\non:\n  push:\n    tags: [\"*\"]\n\ndefaults:\n  run:\n    shell: bash\n    \njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Configure Git\n        run: |\n          git config user.name \"$GITHUB_ACTOR\"\n          git config user.email \"$GITHUB_ACTOR@users.noreply.github.com\"\n\n      - name: Install Helm\n        uses: azure/setup-helm@v1\n        with:\n          version: v3.4.0\n\n      - name: Run chart-releaser\n        uses: helm/chart-releaser-action@v1.2.1\n        env:\n          CR_TOKEN: \"${{ secrets.GH_TOKEN }}\"\n        with:\n          charts_dir: charts\n          charts_repo_url: https://coffeateam.github.io/coffea-casa/\n", "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:19.034596", "created_at": "2021-10-11T17:33:46+02:00", "updated_at": "2021-10-11T17:36:52+02:00", "name": "Lint and Test Charts", "path": ".github/workflows/charts-lint.yml", "contents": "name: Lint and Test Charts\n\non:\n  pull_request:\n\njobs:\n  lint-test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n\n      - name: Set up Helm\n        uses: azure/setup-helm@v1\n        with:\n          version: v3.5.3\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n\n      - name: Set up chart-testing\n        uses: helm/chart-testing-action@v2.1.0\n\n      - name: Run chart-testing (list-changed)\n        id: list-changed\n        run: |\n          changed=$(ct list-changed)\n          if [[ -n \"$changed\" ]]; then\n            echo \"::set-output name=changed::true\"\n          fi\n\n      - name: Run chart-testing (lint)\n        run: ct lint --check-version-increment=false --validate-maintainers=false\n", "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:20.063059", "created_at": "2021-12-08T19:02:28+01:00", "updated_at": "2021-12-08T19:02:28+01:00", "name": "Docker Publish (Tag)", "path": ".github/workflows/dockerpublish-tag.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:21.193628", "created_at": "2022-04-09T15:45:24+02:00", "updated_at": "2022-04-09T16:30:37+02:00", "name": "CI/CD", "path": ".github/workflows/pypi-ci.yml", "contents": "name: CI/CD\n\non:\n  push:\n    paths:\n      - 'coffea_casa/**'\n    branches:\n      - master\n  pull_request:\n    paths:\n      - 'coffea_casa/**'\n    branches:\n      - master\n      - develop\n      \njobs:\n  linter:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.11\"]\n    name: linter - flake8 - python ${{ matrix.python-version }}\n\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Lint with flake8\n      run: |\n        python -m pip install -q flake8\n      #  flake8 coffea_casa\n  test:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest] #\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    name: test coffea_casa (${{ matrix.os }}) - python ${{ matrix.python-version }}\n\n    steps:\n    - uses: actions/checkout@master\n    - run: |\n        git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Set up Conda (Linux/MacOS)\n      if: matrix.os != 'windows-latest'\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        auto-update-conda: true\n        python-version: ${{ matrix.python-version }}\n        miniconda-version: 'latest'\n    - name: Install dependencies\n      if: matrix.os != 'windows-latest'\n      run: |\n        python -m pip install -q --upgrade pip setuptools setuptools_scm wheel six pytest codecov dask distributed\n        python -m pip install -q -e .\n        python -m pip list\n    - name: Test with pytest\n      run: |\n        coverage run -m pytest\n", "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:22.329593", "created_at": "2022-04-09T16:30:36+02:00", "updated_at": "2022-04-09T16:30:36+02:00", "name": "Openscience Harbor Registry Publish (Tag)", "path": ".github/workflows/dockerpublish-harbor-tag-hub.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:23.538682", "created_at": "2022-04-09T16:30:37+02:00", "updated_at": "2022-05-05T11:28:34+02:00", "name": "Deploy to PyPI", "path": ".github/workflows/pypi-tag-deploy.yml", "contents": "name: Deploy to PyPI\n\non:\n  workflow_dispatch:\n  release:\n    types:\n      - published\n\njobs:\n  dist:\n    name: Distribution build\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.x'\n\n      - uses: hynek/build-and-inspect-python-package@v1\n\n  publish:\n    name: Publish\n    needs: [dist]\n    environment:\n      name: pypi\n      url: https://pypi.org/project/coffea-casa/\n    permissions:\n      id-token: write\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: Packages\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:24.533740", "created_at": "2022-04-12T17:59:12+02:00", "updated_at": "2022-04-12T17:59:12+02:00", "name": "Openscience Harbor Registry CD - Analisys", "path": ".github/workflows/dockercd-harbor-analysis-cc7_disable.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:25.546986", "created_at": "2022-04-12T17:59:12+02:00", "updated_at": "2022-04-12T17:59:12+02:00", "name": "Openscience Harbor Registry CD - Base cc7", "path": ".github/workflows/dockercd-harbor-base-cc7_disable.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:26.601397", "created_at": "2022-04-12T17:59:12+02:00", "updated_at": "2022-04-12T17:59:12+02:00", "name": "Openscience Harbor Registry CD - Coffea-casa cc7", "path": ".github/workflows/dockercd-harbor-cc-cc7_disable.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:27.645119", "created_at": "2022-04-12T17:59:12+02:00", "updated_at": "2022-04-12T17:59:12+02:00", "name": "Openscience Harbor Registry CD - Skyhook images cc7", "path": ".github/workflows/dockercd-harbor-skyhook-cc7_disable.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:28.667283", "created_at": "2022-04-12T17:59:12+02:00", "updated_at": "2022-04-12T17:59:12+02:00", "name": "PullRequest-cc-analysis cc7", "path": ".github/workflows/dockerci-dask-analysis-cc7_disable.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:29.666222", "created_at": "2022-04-12T17:59:12+02:00", "updated_at": "2022-04-12T17:59:12+02:00", "name": "PullRequest-Base cc7", "path": ".github/workflows/dockerci-dask-base-cc7_disable.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:30.761213", "created_at": "2022-04-12T17:59:13+02:00", "updated_at": "2022-04-12T17:59:13+02:00", "name": "PullRequest-CC cc7", "path": ".github/workflows/dockerci-dask-cc-cc7_disable.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:31.807102", "created_at": "2022-04-12T17:59:13+02:00", "updated_at": "2022-04-12T17:59:13+02:00", "name": "PullRequest-Skyhook cc7", "path": ".github/workflows/dockerci-dask-skyhook-cc7_disable.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:32.948784", "created_at": "2022-04-22T20:59:32+02:00", "updated_at": "2022-04-22T20:59:32+02:00", "name": "CD-cc-analysis-ubuntu-tag", "path": ".github/workflows/dockerpublish-harbor-tag-cc-analysis-ubuntu.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:33.971957", "created_at": "2022-04-22T20:59:32+02:00", "updated_at": "2022-04-22T20:59:32+02:00", "name": "CD-cc-base-ubuntu-tag", "path": ".github/workflows/dockerpublish-harbor-tag-cc-base-ubuntu.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:34.974691", "created_at": "2022-04-22T20:59:32+02:00", "updated_at": "2022-04-22T20:59:32+02:00", "name": "CD-cc-skyhook-ubuntu-tag", "path": ".github/workflows/dockerpublish-harbor-tag-cc-ubuntu-skyhook.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:35.997293", "created_at": "2022-04-22T20:59:32+02:00", "updated_at": "2022-04-22T20:59:32+02:00", "name": "CD-cc-ubuntu-tag", "path": ".github/workflows/dockerpublish-harbor-tag-cc-ubuntu.yml", "contents": null, "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:37.158184", "created_at": "2022-06-16T14:40:15+02:00", "updated_at": "2022-07-28T16:10:51+02:00", "name": "Test docker images", "path": ".github/workflows/dockerci-dev.yml", "contents": "name: Test docker images\n\non:\n  pull_request:\n    paths:\n      - docker/**\n    branches:\n      - master\n  workflow_dispatch:\n\nenv:\n  PROJECT: 'coffea-casa'\n  GITHUB_ACTIONS: 'true'\n  REGISTRY: 'hub.opensciencegrid.org'\n\njobs:\n  matrix-build:\n    strategy:\n      fail-fast: false\n      matrix:\n        image: [cc-base-ubuntu, cc-analysis-ubuntu, cc-dask-alma8, cc-analysis-alma8, cc-dask-alma9, cc-analysis-alma9]\n        # Keep this line in sync with gh actions @ coffea-dask repo\n        # python: [3.8, 3.9, '3.10']\n        #exclude:\n        #  - image: cc7\n        #    python: 3.8           \n    name: ${{ matrix.image }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fetch current date (with timestamp)\n        id: date\n        run: |\n          echo \"::set-output name=date::$(date +\"%Y-%m-%d_%H-%M-%S\")\"\n      - name: Check out code\n        uses: actions/checkout@v2\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n        with:\n          version: latest\n          driver-opts: network=host\n      - name: Login to Harbor Hub\n        if: success() && github.event_name != 'pull_request'\n        uses: docker/login-action@v2\n        with:\n          registry: hub.opensciencegrid.org\n          username: ${{ secrets.HARBOR_USER }}\n          password: ${{ secrets.HARBOR_PASSWORD }}\n      - name: Build and push\n        uses: docker/build-push-action@v3.0.0\n        with:\n          context: docker/\n          file: docker/Dockerfile.${{ matrix.image }}\n          push: ${{  github.event_name == 'push' }}\n          platforms: linux/amd64\n          tags: ${{ env.REGISTRY }}/coffea-casa/${{ matrix.image }}:${{ steps.date.outputs.date }}\n          build-args: |\n            TAG=${{ steps.date.outputs.date }} \n            PROJECT=${{ env.PROJECT }} \n            GITHUB_ACTIONS=${{ env.GITHUB_ACTIONS }}\n            REGISTRY=${{ env.REGISTRY }}\n", "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:38.284781", "created_at": "2022-07-28T16:10:50+02:00", "updated_at": "2023-12-11T17:28:08+01:00", "name": "Push tag of docker images", "path": ".github/workflows/dockercd-dev.yml", "contents": "name: Push tag of docker images\n\non:\n  push:\n    tags:\n      - \"*\"\n    paths:\n      - docker/**\n    branches:\n      - master\n  workflow_dispatch:\n\nenv:\n  PROJECT: 'coffea-casa'\n  GITHUB_ACTIONS: 'true'\n  REGISTRY: 'hub.opensciencegrid.org'\n\njobs:\n  matrix-build:\n    strategy:\n      fail-fast: false\n      matrix:\n        image: [cc-base-ubuntu, cc-analysis-ubuntu, cc-dask-alma8, cc-analysis-alma8, cc-dask-alma9, cc-analysis-alma9]\n        # Keep this line in sync with gh actions @ coffea-dask repo\n        # python: [3.8, 3.9, '3.10']\n        #exclude:\n        #  - image: cc7\n        #    python: 3.8           \n    name: ${{ matrix.image }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate tags\n        id: tags\n        env:\n          image: ${{ env.REGISTRY }}/coffea-casa/${{ matrix.image }}\n          #python: ${{ matrix.python }}\n          release: ${{ github.ref_name }}\n          stable: ${{ startsWith(github.ref, 'refs/tags') }}\n        run: |\n          if [ \"$stable\" == \"true\" ]; then\n            tag=\"${image}:${release}\"\n            tags=$tag\n            releasetag=${release}\n          else\n            tag=\"${image}:development\"\n            tags=$tag\n            releasetag=\"development\"\n          fi\n\n          echo \"::set-output name=tags::${tags}\"\n          echo \"::set-output name=tag::${tag}\"\n          echo \"::set-output name=releasetag::${releasetag}\"\n      - name: Check out code\n        uses: actions/checkout@v2\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n        with:\n          version: latest\n          driver-opts: network=host\n      - name: Login to Harbor Hub\n        if: success() && github.event_name != 'pull_request'\n        uses: docker/login-action@v2\n        with:\n          registry: hub.opensciencegrid.org\n          username: ${{ secrets.HARBOR_USER }}\n          password: ${{ secrets.HARBOR_PASSWORD }}\n      - name: Build and push\n        uses: docker/build-push-action@v3.0.0\n        with:\n          context: docker/\n          file: docker/Dockerfile.${{ matrix.image }}\n          push: ${{  github.event_name == 'push' }}\n          platforms: linux/amd64\n          tags: ${{ steps.tags.outputs.tags }}\n          build-args: |\n            TAG=${{ steps.tags.outputs.releasetag }}\n            PROJECT=${{ env.PROJECT }} \n            GITHUB_ACTIONS=${{ env.GITHUB_ACTIONS }}\n            REGISTRY=${{ env.REGISTRY }}\n", "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:39.411643", "created_at": "2023-02-03T13:58:59+01:00", "updated_at": "2023-02-03T15:23:38+01:00", "name": "Test chart", "path": ".github/workflows/charts-test-minikube.yaml", "contents": "name: Test chart\n\non:\n  pull_request:\n    paths-ignore:\n      - \"docs/**\"\n      - \"docs-img/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/charts-test.yaml\"\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"docs-img/**\"\n      - \"**.md\"\n      - \".github/workflows/*\"\n      - \"!.github/workflows/charts-test.yaml\"\n    branches-ignore:\n      - \"dependabot/**\"\n      - \"pre-commit-ci-update-config\"\n      - \"update-*\"\n      - \"vuln-scan-*\"\n  workflow_dispatch:\n\njobs:\n  \n  test-local:\n    name: Test local chart deployment (minikube)\n    timeout-minutes: 90\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          # chartpress requires git history to set chart version and image tags\n          # correctly\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n\n      - uses: azure/setup-helm@v3\n        with:\n          version: \"v3.9.1\"\n\n      - name: Setup Minikube-Kubernetes\n        uses: manusa/actions-setup-minikube@v2.7.2\n        with:\n          minikube version: \"v1.28.0\"\n          kubernetes version: \"v1.24.5\"\n          github token: ${{ secrets.GITHUB_TOKEN }}\n          driver: docker\n          start args: --ports=127.0.0.1:30080:30080\n\n      # Build our images if needed and update values.yaml with the tags\n      - name: Install and run chartpress\n        run: |\n          pip install -r charts/dev-requirements.txt\n      #   eval $(minikube -p minikube docker-env)\n      #    cd charts && chartpress\n      #  env:\n      #    DOCKER_BUILDKIT: \"1\"\n\n      # Generate values.schema.json from schema.yaml\n      #- name: Generate values.schema.json from schema.yaml\n      #  run: |\n      #    tools/generate-json-schema.py\n\n      - name: \"Check if the Helm dependencies are pulled\"\n        run: |\n          cd charts/coffea-casa && helm dependency build\n\n      - name: \"Install local chart\"\n        run: |\n          helm upgrade --install coffea-casa ./charts/coffea-casa --values charts/coffea-casa/values.yaml\n          \n      - name: \"Await local chart deployment\"\n        run: |\n          minikube kubectl -- wait --for condition=Available=True --timeout=200s deployment/hub\n\n      #- name: Await local chart cert acquisition\n      #  run: |\n      #    . ./ci/common\n      #    await_autohttps_tls_cert_acquisition\n\n      - name: Run tests\n        run: |\n          export HUB_URL=http://localhost:30080\n          pytest --verbose --color=yes ./tests-charts\n\n      - name: Output some logs in case of failure\n        if: ${{ failure() }}\n        # add set -x to print commands before executing to make logs reading easier\n        run: |\n          set -x\n          minikube ip\n          minikube logs\n          minikube kubectl -- get all\n          minikube kubectl -- get all -o yaml\n          minikube kubectl -- describe pods\n          minikube kubectl -- get cm\n          minikube kubectl -- get cm -o yaml\n          minikube kubectl -- get secrets\n          minikube kubectl -- get secrets -o yaml\n          minikube kubectl -- get pvc\n          minikube kubectl -- get pv\n          set +x\n\n      # Enable tmate debugging of manually-triggered workflows if the input option was provided\n      - name: Setup tmate session\n        uses: mxschmitt/action-tmate@v3\n        if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}\n", "state": "active", "repository": "coffeateam/coffea-casa"}
{"mined_at": "2024-07-15T17:09:41.644915", "created_at": "2024-04-19T12:54:32+02:00", "updated_at": "2024-04-19T12:54:32+02:00", "name": "Build wheels", "path": ".github/workflows/build_wheel.yml", "contents": null, "state": "active", "repository": "shtools/shtools"}
{"mined_at": "2024-07-15T17:09:42.796363", "created_at": "2024-04-18T15:50:32+02:00", "updated_at": "2024-07-09T11:17:35+02:00", "name": "Build wheels", "path": ".github/workflows/build_wheels.yml", "contents": null, "state": "active", "repository": "shtools/shtools"}
{"mined_at": "2024-07-15T17:09:43.792923", "created_at": "2020-09-23T23:16:40+02:00", "updated_at": "2024-03-18T13:46:18+01:00", "name": "Continuous Integration Tests", "path": ".github/workflows/ci_test.yml", "contents": "name: Continuous Integration Tests\n\non:\n  pull_request:\n    branches: [master, develop]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: ['3.9', '3.12']\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 250\n        fetch-tags: true\n\n    - name: Setup Miniconda\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n        mamba-version: \"*\"\n        channels: conda-forge\n        channel-priority: strict\n        auto-update-conda: true\n        miniconda-version: \"latest\"\n        activate-environment: ci_test\n        environment-file: environment.yml\n\n    - name: Set up Conda environment\n      shell: bash -l {0}\n      run: |\n        conda list -n ci_test\n\n    - name: Install gcc for macOS\n      shell: bash -l {0}\n      if: ${{ matrix.os == 'macos-latest' }}\n      run: |\n        brew reinstall gcc\n\n    - name: Build using pip\n      shell: bash -l {0}\n      run: |\n        conda env list\n        pip install --no-deps .\n\n    - name: Run tests\n      shell: bash -l {0}\n      run: |\n        conda env list\n        python examples/notebooks/test_notebooks.py\n        export MPLBACKEND=Agg\n        make -C examples/python -f Makefile no-timing\n        mkdir empty && cd empty\n        python -c \"import pyshtools\"\n", "state": "active", "repository": "shtools/shtools"}
{"mined_at": "2024-07-15T17:09:44.936204", "created_at": "2024-07-09T11:17:35+02:00", "updated_at": "2024-07-09T11:17:35+02:00", "name": "Upload tarball archive to github release page", "path": ".github/workflows/upload_tarball.yml", "contents": null, "state": "active", "repository": "shtools/shtools"}
{"mined_at": "2024-07-15T17:09:46.060361", "created_at": "2022-04-27T12:29:24+02:00", "updated_at": "2022-04-27T12:29:24+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "shtools/shtools"}
{"mined_at": "2024-07-15T17:09:48.217417", "created_at": "2021-08-26T18:07:22+02:00", "updated_at": "2021-08-26T18:07:22+02:00", "name": "Automated Release", "path": ".github/workflows/automated_release.yml", "contents": "name: Automated Release\n\non:\n  push:\n    tags: [ \"v*\" ]\n\n  workflow_dispatch:\n\njobs:\n  tagged-release:\n    if: github.event.base_ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: \"marvinpinto/action-automatic-releases@latest\"\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          prerelease: false\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n         python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n         python setup.py sdist bdist_wheel\n          twine check dist/*\n          twine upload dist/*\n", "state": "active", "repository": "basxsoftwareassociation/basxconnect"}
{"mined_at": "2024-07-15T17:09:49.362843", "created_at": "2021-01-11T21:47:09+01:00", "updated_at": "2021-01-19T09:50:17+01:00", "name": "basxconnect-ci", "path": ".github/workflows/main.yml", "contents": "name: basxconnect-ci\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    strategy:\n      matrix:\n        include:\n          # django 3.2\n          - python-version: \"3.7\"\n            django-version: \"Django>=3.2,<4.0\"\n          - python-version: \"3.8\"\n            django-version: \"Django>=3.2,<4.0\"\n          - python-version: \"3.9\"\n            django-version: \"Django>=3.2,<4.0\"\n          - python-version: \"3.10\"\n            django-version: \"Django>=3.2,<4.0\"\n          # django 4.0\n          - python-version: \"3.8\"\n            django-version: \"Django>=4.0\"\n          - python-version: \"3.9\"\n            django-version: \"Django>=4.0\"\n          - python-version: \"3.10\"\n            django-version: \"Django>=4.0\"\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install \"${{ matrix.django-version }}\"\n        pip install flake8 flake8-black pytest pytest-custom_exit_code black isort bandit safety hypothesis\n        pip install -e .[testing]\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n    - name: Lint with flake8\n      run: flake8 .\n\n    - name: Run black --check .\n      run: black --check .\n\n    - name: Run isort --check-only .\n      run: isort --check-only --profile=black .\n\n    - name: Run bandit\n      run: bandit -c .bandit -r basxconnect\n\n    - name: Run safety\n      run: safety check\n\n    - name: Test basxconnect\n      run: python manage.py test basxbread .\n", "state": "active", "repository": "basxsoftwareassociation/basxconnect"}
{"mined_at": "2024-07-15T17:09:51.493744", "created_at": "2021-02-05T16:36:30+01:00", "updated_at": "2021-02-05T16:36:30+01:00", "name": "Build and push Docker image (Azure Container Registry)", "path": ".github/workflows/acr_push.yml", "contents": "name: Build and push Docker image (Azure Container Registry)\n\non:\n  push:\n    branches:\n      - docker\n\njobs:\n    acr-upload:\n        runs-on: ubuntu-latest\n        steps:\n        # checkout the repo\n        - name: 'Checkout GitHub Action'\n          uses: actions/checkout@master\n\n        - name: 'Login via Azure CLI'\n          uses: azure/login@v1\n          with:\n            creds: ${{ secrets.AZURE_CREDENTIALS }}\n\n        - uses: azure/docker-login@v1\n          with:\n            login-server: poppunk.azurecr.io\n            username: ${{ secrets.AZURE_REGISTRY_USERNAME }}\n            password: ${{ secrets.AZURE_REGISTRY_PASSWORD }}\n        - run: |\n            docker build --file docker/Dockerfile . -t poppunk.azurecr.io/poppunk_api:latest\n            docker push poppunk.azurecr.io/poppunk_api:latest\n", "state": "active", "repository": "bacpop/poppunk"}
{"mined_at": "2024-07-15T17:09:52.634716", "created_at": "2020-12-07T15:49:56+01:00", "updated_at": "2022-11-08T13:01:02+01:00", "name": "Run tests", "path": ".github/workflows/azure_ci.yml", "contents": "# Python package\n# Create and test a Python package on multiple Python versions.\n# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:\n# https://docs.microsoft.com/azure/devops/pipelines/languages/python\n\nname: Run tests\n\non: [push]\n\njobs:\n  test:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Get current date\n      id: date\n      run: echo \"date=$(date +%Y-%m-%d)\" >> \"${GITHUB_OUTPUT}\"\n    - name: Install Conda environment from environment.yml\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        micromamba-version: '1.4.6-0'\n        environment-file: environment.yml\n        # persist on the same day.\n        cache-environment-key: environment-${{ steps.date.outputs.date }}\n        cache-downloads-key: downloads-${{ steps.date.outputs.date }}\n    - name: Install and run_test.py\n      shell: bash -l {0}\n      run: |\n        python -m pip install --no-deps --ignore-installed .\n        cd test && python run_test.py\n\n", "state": "active", "repository": "bacpop/poppunk"}
{"mined_at": "2024-07-15T17:09:53.649350", "created_at": "2020-12-07T16:28:14+01:00", "updated_at": "2021-02-05T16:36:30+01:00", "name": "Build and push Docker image (dockerhub)", "path": ".github/workflows/docker_push.yml", "contents": "name: Build and push Docker image (dockerhub)\n\non:\n  push:\n    branches:\n      - docker\n\njobs:\n  docker-upload:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v1\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v1\n    - name: Login to DockerHub\n      uses: docker/login-action@v1\n      with:\n        username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}\n        password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}\n    - name: Build and push\n      id: docker_build\n      uses: docker/build-push-action@v2\n      with:\n        push: true\n        tags: poppunk/poppunk_api:latest\n        file: docker/Dockerfile\n    - name: Image digest\n      run: echo ${{ steps.docker_build.outputs.digest }}", "state": "active", "repository": "bacpop/poppunk"}
{"mined_at": "2024-07-15T17:09:54.731819", "created_at": "2023-12-12T10:17:59+01:00", "updated_at": "2023-12-12T10:24:43+01:00", "name": "Pull Request Docs Check", "path": ".github/workflows/docs_pr.yml", "contents": "name: \"Pull Request Docs Check\"\n\non: [pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v1\n\n    - uses: ammaraskar/sphinx-action@master\n      with:\n        docs-folder: \"docs/\"\n\n    - uses: actions/upload-artifact@v1\n      with:\n        name: DocumentationHTML\n        path: docs/_build/html/\n", "state": "active", "repository": "bacpop/poppunk"}
{"mined_at": "2024-07-15T17:09:55.800715", "created_at": "2023-12-12T10:24:43+01:00", "updated_at": "2023-12-12T10:29:37+01:00", "name": "Build and publish docs", "path": ".github/workflows/docs_push.yml", "contents": "name: \"Build and publish docs\"\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v1\n\n    - uses: ammaraskar/sphinx-action@master\n      with:\n        docs-folder: \"docs/\"\n\n    - uses: actions/upload-pages-artifact@v2\n      with:\n        name: github-pages\n        path: docs/_build/html/\n        retention-days: 1\n\n  deploy:\n    permissions:\n      contents: read\n      pages: write\n      id-token: write\n\n    needs: build\n\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v3\n", "state": "active", "repository": "bacpop/poppunk"}
{"mined_at": "2024-07-15T17:09:57.141305", "created_at": "2023-12-12T10:28:25+01:00", "updated_at": "2023-12-12T10:28:25+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "bacpop/poppunk"}
{"mined_at": "2024-07-15T17:09:59.936717", "created_at": "2023-06-19T10:31:57+02:00", "updated_at": "2023-06-19T10:31:57+02:00", "name": "Release to ORDA", "path": ".github/workflows/ORDA.yaml", "contents": "name: Release to ORDA\non:\n  workflow_dispatch:\n  release:\n    types: [published]\njobs:\n  upload:\n    runs-on: ubuntu-latest\n    env:\n      ARCHIVE_NAME: ${{ github.event.repository.name }}-${{ github.event.release.tag_name }}\n    steps:\n      - name: prepare-data-folder\n        run : mkdir 'data'\n      - name: download-archive\n        run: |\n          curl -sL \"${{ github.event.release.zipball_url }}\" > \"$ARCHIVE_NAME\".zip\n          curl -sL \"${{ github.event.release.tarball_url }}\" > \"$ARCHIVE_NAME\".tar.gz\n      - name: move-archive\n        run: |\n          mv \"$ARCHIVE_NAME\".zip data/\n          mv \"$ARCHIVE_NAME\".tar.gz data/\n      - name: upload-to-figshare\n        uses: figshare/github-upload-action@v1.1\n        with:\n          FIGSHARE_TOKEN: ${{ secrets.FIGSHARE_TOKEN }}\n          FIGSHARE_ENDPOINT: 'https://api.figshare.com/v2'\n          FIGSHARE_ARTICLE_ID: 23230694\n          DATA_DIR: 'data'\n", "state": "active", "repository": "claritychallenge/clarity"}
{"mined_at": "2024-07-15T17:10:01.041999", "created_at": "2022-07-15T16:07:05+02:00", "updated_at": "2022-09-23T18:18:58+02:00", "name": "Publish package to PyPi", "path": ".github/workflows/pypi.yaml", "contents": "name: Publish package to PyPi\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  build-release:\n    runs-on: ubuntu-latest\n    name: Publish package to PyPi\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v4.3.0\n        with:\n          python-version: 3.9\n      - name: Installing the package\n        run: |\n          pip3 install .\n          pip3 install .[pypi]\n      - name: Build package\n        run: |\n          pip3 install --upgrade setuptools\n          export DEB_PYTHON_INSTALL_LAYOUT=deb_system\n          python -m build --no-isolation\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.8.3\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n      - name: Upload release artifacts to Release Notes\n        uses: Roang-zero1/github-upload-release-artifacts-action@v2\n        with:\n          args: \"dist/\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "claritychallenge/clarity"}
{"mined_at": "2024-07-15T17:10:02.291668", "created_at": "2022-07-13T12:44:24+02:00", "updated_at": "2022-07-14T11:03:15+02:00", "name": "Clarity Tests", "path": ".github/workflows/run_tests.yml", "contents": "name: Clarity Tests\n\non:\n  pull_request:\n    branches:\n      - main\n  merge_group:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    name: Testing ~ (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4.3.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          # cache: 'pip'\n          # cache-dependency-path: setup.cfg\n      - name: Install dependencies\n        run: |\n          sudo apt-get update -yq\n          sudo apt-get install -yq libsndfile1-dev ffmpeg\n      - name: Install package, including extras\n        run: |\n          pip install -e .[tests,docs,dev]\n      - name: CPU information\n        run: |\n          python -m cpuinfo --json\n      - name: Run pytest\n        run: |\n          pytest --cov=clarity --durations 10 .\n      - name: Determine coverage\n        run: |\n          coverage xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n      # - name: pylint\n      #   run: |\n      #     pylint --rcfile .pylintrc\n", "state": "active", "repository": "claritychallenge/clarity"}
{"mined_at": "2024-07-15T17:10:03.386923", "created_at": "2022-11-29T14:19:16+01:00", "updated_at": "2022-11-29T14:19:16+01:00", "name": "Sphinx docs to gh-pages", "path": ".github/workflows/sphinx_docs_to_gh_pages.yaml", "contents": "# Source : https://github.com/marketplace/actions/sphinx-docs-to-github-pages\nname: Sphinx docs to gh-pages\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  sphinx_docs_to_gh-pages:\n    runs-on: ubuntu-latest\n    name: Sphinx docs to gh-pages\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Setup Python\n        uses: actions/setup-python@v4.3.0\n        with:\n          python-version: 3.9\n      - name: Installing the Documentation requirements\n        run: |\n          pip3 install .[docs]\n      - name: Copying recipe README.md\n        run: |\n         rsync -av --exclude-from=\"docs/recipe_rsync_exclude.txt\" recipes docs/.\n      - name: Running Sphinx to gh-pages Action\n        uses: ns-rse/action-sphinx-docs-to-gh-pages@main\n        with:\n          branch: main # Test on branch, switch to main when working\n          dir_docs: docs\n          sphinxapiexclude: '../*setup* ../*tests* ../*.ipynb'\n          sphinxapiopts: '--separate -o . ../'\n          sphinxopts: ''\n", "state": "active", "repository": "claritychallenge/clarity"}
{"mined_at": "2024-07-15T17:10:04.557314", "created_at": "2022-07-21T14:23:36+02:00", "updated_at": "2022-07-21T14:23:36+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "claritychallenge/clarity"}
{"mined_at": "2024-07-15T17:10:06.778622", "created_at": "2021-09-29T01:07:28+02:00", "updated_at": "2023-04-23T22:39:05+02:00", "name": "predicators", "path": ".github/workflows/predicators.yml", "contents": "name: predicators\n\non: [push]\n\njobs:\n  unit-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10.14\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: '**/setup.py'\n    - run: |\n        pip install -e .\n        pip install pytest-cov==2.12.1\n    - name: Pytest\n      run: |\n        pytest -s tests/ --cov-config=.coveragerc --cov=predicators/ --cov=tests/ --cov-fail-under=100 --cov-report=term-missing:skip-covered\n      env:\n        PYTHONHASHSEED: 0\n  static-type-checking:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10.14\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: '**/setup.py'\n    - name: Install dependencies\n      run: |\n        pip install -e .\n        pip install mypy==1.8.0\n    - name: Mypy\n      run: |\n        mypy . --config-file mypy.ini\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10.14\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: '**/setup.py'\n    - name: Install dependencies\n      run: |\n        pip install -e .\n        pip install pytest-pylint==0.18.0\n    - name: Pylint\n      run: |\n        pytest . --pylint -m pylint --pylint-rcfile=.predicators_pylintrc\n      env:\n        PYTHONHASHSEED: 0\n  yapf:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10.14\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: '**/setup.py'\n    - name: Install dependencies\n      run: |\n        pip install yapf==0.32.0\n    - name: Run yapf to detect any autoformatting changes\n      run: |\n        yapf --diff -r --style .style.yapf --exclude '**/third_party' predicators\n        yapf --diff -r --style .style.yapf scripts\n        yapf --diff -r --style .style.yapf tests\n        yapf --diff -r --style .style.yapf setup.py\n      env:\n        PYTHONHASHSEED: 0\n  isort:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10.14\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: '**/setup.py'\n    - name: Install dependencies\n      run: |\n        pip install isort==5.10.1\n    - name: Run isort to detect any changes\n      run: |\n        isort --check-only .\n      env:\n        PYTHONHASHSEED: 0\n  docformatter:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10.14\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: '**/setup.py'\n    - name: Install dependencies\n      run: |\n        pip install docformatter==1.4\n    - name: Run docformatter to detect any autoformatting changes\n      run: |\n        docformatter --check -r . --exclude venv predicators/third_party\n      env:\n        PYTHONHASHSEED: 0\n", "state": "active", "repository": "learning-and-intelligent-systems/predicators"}
{"mined_at": "2024-07-15T17:10:08.902635", "created_at": "2020-09-26T00:35:39+02:00", "updated_at": "2023-05-11T01:09:02+02:00", "name": "Changelog updated?", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog updated?\n\non:\n  pull_request:\n    types:\n      - opened\n      - labeled\n      - unlabeled\n      - synchronize\n    branches:\n      - main\n      - develop\n\njobs:\n  call-changelog-check-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.11.1\n", "state": "active", "repository": "asfhyp3/hyp3"}
{"mined_at": "2024-07-15T17:10:09.994737", "created_at": "2023-06-29T07:56:23+02:00", "updated_at": "2023-06-29T07:56:23+02:00", "name": "Create Jira issue", "path": ".github/workflows/create-jira-issue.yml", "contents": "name: Create Jira issue\n\non:\n  issues:\n    types: [labeled]\n\njobs:\n  call-create-jira-issue-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-create-jira-issue.yml@v0.11.1\n    secrets:\n      JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n      JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n      JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n      JIRA_PROJECT: ${{ secrets.JIRA_PROJECT }}\n      JIRA_FIELDS: ${{ secrets.JIRA_FIELDS }}\n", "state": "active", "repository": "asfhyp3/hyp3"}
{"mined_at": "2024-07-15T17:10:11.142038", "created_at": "2022-02-16T19:54:33+01:00", "updated_at": "2023-05-11T21:06:39+02:00", "name": "Deploy DAAC Stacks to AWS", "path": ".github/workflows/deploy-daac.yml", "contents": "name: Deploy DAAC Stacks to AWS\n\non:\n  push:\n    branches:\n      - main\n      - develop\n\nconcurrency: ${{ github.workflow }}-${{ github.ref }}\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - environment: hyp3-edc-prod\n            domain: ''\n            api_name: hyp3\n            template_bucket: cf-templates-118mtzosmrltk-us-west-2\n            image_tag: latest\n            product_lifetime_in_days: 14\n            default_credits_per_user: 10000\n            default_application_status: APPROVED\n            cost_profile: EDC\n            deploy_ref: refs/heads/main\n            job_files: job_spec/AUTORIFT.yml job_spec/INSAR_GAMMA.yml job_spec/RTC_GAMMA.yml job_spec/INSAR_ISCE_BURST.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 1200\n            expanded_max_vcpus: 2400\n            required_surplus: 2000\n            security_environment: EDC\n            ami_id: image_id_ecs_amz2\n            distribution_url: 'https://d3gm2hf49xd6jj.cloudfront.net'\n\n          - environment: hyp3-edc-uat\n            domain: ''\n            api_name: hyp3-test\n            template_bucket: cf-templates-118ylv0o6jp2n-us-west-2\n            image_tag: test\n            product_lifetime_in_days: 14\n            default_credits_per_user: 10000\n            default_application_status: APPROVED\n            cost_profile: EDC\n            deploy_ref: refs/heads/develop\n            job_files: >-\n              job_spec/AUTORIFT.yml\n              job_spec/INSAR_GAMMA.yml\n              job_spec/RTC_GAMMA.yml\n              job_spec/INSAR_ISCE_BURST.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 1200\n            expanded_max_vcpus: 2400\n            required_surplus: 2000\n            security_environment: EDC\n            ami_id: image_id_ecs_amz2\n            distribution_url: 'https://d1riv60tezqha9.cloudfront.net'\n\n    environment:\n      name: ${{ matrix.environment }}\n      url: https://${{ matrix.domain }}\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n\n      - uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-access-key-id: ${{ secrets.V2_AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.V2_AWS_SECRET_ACCESS_KEY }}\n          aws-session-token: ${{ secrets.V2_AWS_SESSION_TOKEN }}\n          aws-region: ${{ secrets.AWS_REGION }}\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - uses: ./.github/actions/deploy-hyp3\n        if: github.ref == matrix.deploy_ref\n        with:\n          TEMPLATE_BUCKET:  ${{ matrix.template_bucket }}\n          STACK_NAME: ${{ matrix.environment }}\n          DOMAIN_NAME: ${{ matrix.domain }}\n          API_NAME: ${{ matrix.api_name }}\n          CERTIFICATE_ARN:  ${{ secrets.CERTIFICATE_ARN }}\n          IMAGE_TAG: ${{ matrix.image_tag }}\n          PRODUCT_LIFETIME: ${{ matrix.product_lifetime_in_days }}\n          VPC_ID: ${{ secrets.VPC_ID }}\n          SUBNET_IDS: ${{ secrets.SUBNET_IDS }}\n          SECRET_ARN: ${{ secrets.SECRET_ARN }}\n          CLOUDFORMATION_ROLE_ARN: ${{ secrets.CLOUDFORMATION_ROLE_ARN }}\n          DEFAULT_CREDITS_PER_USER: ${{ matrix.default_credits_per_user }}\n          DEFAULT_APPLICATION_STATUS: ${{ matrix.default_application_status }}\n          COST_PROFILE: ${{ matrix.cost_profile }}\n          JOB_FILES: ${{ matrix.job_files }}\n          DEFAULT_MAX_VCPUS: ${{ matrix.default_max_vcpus }}\n          EXPANDED_MAX_VCPUS: ${{ matrix.expanded_max_vcpus }}\n          MONTHLY_BUDGET: ${{ secrets.MONTHLY_BUDGET }}\n          REQUIRED_SURPLUS: ${{ matrix.required_surplus }}\n          ORIGIN_ACCESS_IDENTITY_ID: ${{ secrets.ORIGIN_ACCESS_IDENTITY_ID }}\n          SECURITY_ENVIRONMENT: ${{ matrix.security_environment }}\n          AMI_ID: ${{ matrix.ami_id }}\n          INSTANCE_TYPES: ${{ matrix.instance_types }}\n          DISTRIBUTION_URL: ${{ matrix.distribution_url }}\n          AUTH_PUBLIC_KEY: ${{ secrets.AUTH_PUBLIC_KEY }}\n\n  call-bump-version-workflow:\n    if: github.ref == 'refs/heads/main'\n    needs: deploy\n    uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.11.1\n    secrets:\n      USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }}\n", "state": "active", "repository": "asfhyp3/hyp3"}
{"mined_at": "2024-07-15T17:10:12.382655", "created_at": "2022-07-01T01:11:29+02:00", "updated_at": "2022-07-01T01:11:29+02:00", "name": "Deploy Enterprise Test Stack to AWS", "path": ".github/workflows/deploy-enterprise-test.yml", "contents": "name: Deploy Enterprise Test Stack to AWS\n\non:\n  push:\n    branches:\n      - develop\n\nconcurrency: ${{ github.workflow }}-${{ github.ref }}\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - environment: hyp3-enterprise-test\n            domain: hyp3-enterprise-test.asf.alaska.edu\n            template_bucket: cf-templates-1iw894v4yzqya-us-west-2\n            image_tag: test\n            product_lifetime_in_days: 14\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            deploy_ref: refs/heads/develop\n            job_files: >-\n              job_spec/AUTORIFT_ITS_LIVE.yml\n              job_spec/INSAR_GAMMA.yml\n              job_spec/RTC_GAMMA.yml\n              job_spec/INSAR_ISCE_BURST.yml\n              job_spec/WATER_MAP.yml\n              job_spec/WATER_MAP_EQ.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 640\n            expanded_max_vcpus: 640\n            required_surplus: 0\n            security_environment: ASF\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-a19-jpl-test\n            domain: hyp3-a19-jpl-test.asf.alaska.edu\n            template_bucket: cf-templates-v4pvone059de-us-west-2\n            image_tag: test\n            product_lifetime_in_days: 14\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: >-\n              job_spec/ARIA_RAIDER.yml\n              job_spec/INSAR_ISCE_TEST.yml\n            instance_types: m6id.xlarge,m6id.2xlarge,m6id.4xlarge,m6id.8xlarge,m6idn.xlarge,m6idn.2xlarge,m6idn.4xlarge,m6idn.8xlarge\n            default_max_vcpus: 640\n            expanded_max_vcpus: 640\n            required_surplus: 0\n            security_environment: JPL-public\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-its-live-test\n            domain: hyp3-its-live-test.asf.alaska.edu\n            template_bucket: cf-templates-3o5lnspmwmzg-us-west-2\n            image_tag: test\n            product_lifetime_in_days: 14\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: >-\n              job_spec/AUTORIFT_ITS_LIVE.yml\n              job_spec/S1_CORRECTION_ITS_LIVE.yml\n            instance_types: r6id.xlarge,r6idn.xlarge,r5dn.xlarge,r5d.xlarge\n            default_max_vcpus: 640\n            expanded_max_vcpus: 640\n            required_surplus: 0\n            security_environment: JPL-public\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-lavas-test\n            domain: hyp3-lavas-test.asf.alaska.edu\n            template_bucket: cf-templates-10a5pjrsv3cgo-us-west-2 \n            image_tag: test\n            product_lifetime_in_days: 14\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: >-\n              job_spec/INSAR_ISCE_BURST.yml\n              job_spec/SRG_GSLC_CPU.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 640\n            expanded_max_vcpus: 640\n            required_surplus: 0\n            security_environment: ASF\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n    environment:\n      name: ${{ matrix.environment }}\n      url: https://${{ matrix.domain }}\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n\n      - uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-access-key-id: ${{ secrets.V2_AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.V2_AWS_SECRET_ACCESS_KEY }}\n          aws-session-token: ${{ secrets.V2_AWS_SESSION_TOKEN }}\n          aws-region: ${{ secrets.AWS_REGION }}\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - uses: ./.github/actions/deploy-hyp3\n        with:\n          TEMPLATE_BUCKET:  ${{ matrix.template_bucket }}\n          STACK_NAME: ${{ matrix.environment }}\n          DOMAIN_NAME: ${{ matrix.domain }}\n          API_NAME: ${{ matrix.environment }}\n          CERTIFICATE_ARN:  ${{ secrets.CERTIFICATE_ARN }}\n          IMAGE_TAG: ${{ matrix.image_tag }}\n          PRODUCT_LIFETIME: ${{ matrix.product_lifetime_in_days }}\n          VPC_ID: ${{ secrets.VPC_ID }}\n          SUBNET_IDS: ${{ secrets.SUBNET_IDS }}\n          SECRET_ARN: ${{ secrets.SECRET_ARN }}\n          CLOUDFORMATION_ROLE_ARN: ${{ secrets.CLOUDFORMATION_ROLE_ARN }}\n          DEFAULT_CREDITS_PER_USER: ${{ matrix.default_credits_per_user }}\n          DEFAULT_APPLICATION_STATUS: ${{ matrix.default_application_status }}\n          COST_PROFILE: ${{ matrix.cost_profile }}\n          JOB_FILES: ${{ matrix.job_files }}\n          DEFAULT_MAX_VCPUS: ${{ matrix.default_max_vcpus }}\n          EXPANDED_MAX_VCPUS: ${{ matrix.expanded_max_vcpus }}\n          MONTHLY_BUDGET: ${{ secrets.MONTHLY_BUDGET }}\n          REQUIRED_SURPLUS: ${{ matrix.required_surplus }}\n          ORIGIN_ACCESS_IDENTITY_ID: ${{ secrets.ORIGIN_ACCESS_IDENTITY_ID }}\n          SECURITY_ENVIRONMENT: ${{ matrix.security_environment }}\n          AMI_ID: ${{ matrix.ami_id }}\n          INSTANCE_TYPES: ${{ matrix.instance_types }}\n          DISTRIBUTION_URL: ${{ matrix.distribution_url }}\n          AUTH_PUBLIC_KEY: ${{ secrets.AUTH_PUBLIC_KEY }}\n", "state": "active", "repository": "asfhyp3/hyp3"}
{"mined_at": "2024-07-15T17:10:13.613315", "created_at": "2022-02-16T19:54:33+01:00", "updated_at": "2022-03-23T19:58:20+01:00", "name": "Deploy Enterprise Stacks to AWS", "path": ".github/workflows/deploy-enterprise.yml", "contents": "name: Deploy Enterprise Stacks to AWS\n\non:\n  push:\n    branches:\n      - main\n\nconcurrency: ${{ github.workflow }}-${{ github.ref }}\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - environment: hyp3-its-live\n            domain: hyp3-its-live.asf.alaska.edu\n            template_bucket: cf-templates-3o5lnspmwmzg-us-west-2\n            image_tag: latest\n            product_lifetime_in_days: 14\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: >-\n              job_spec/AUTORIFT_ITS_LIVE.yml\n              job_spec/S1_CORRECTION_ITS_LIVE.yml\n            instance_types: r6id.xlarge,r6idn.xlarge,r5dn.xlarge,r5d.xlarge\n            default_max_vcpus: 2000\n            expanded_max_vcpus: 2000\n            required_surplus: 0\n            security_environment: JPL-public\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-a19-jpl\n            domain: hyp3-a19-jpl.asf.alaska.edu\n            template_bucket: cf-templates-v4pvone059de-us-west-2\n            image_tag: latest\n            product_lifetime_in_days: 14\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: >-\n              job_spec/ARIA_RAIDER.yml\n              job_spec/INSAR_ISCE.yml\n            instance_types: c6id.xlarge,c6id.2xlarge,c6id.4xlarge,c6id.8xlarge\n            default_max_vcpus: 0\n            expanded_max_vcpus: 0\n            required_surplus: 0\n            security_environment: JPL-public\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-tibet-jpl\n            domain: hyp3-tibet-jpl.asf.alaska.edu\n            template_bucket: cf-templates-1or0efwqffkgd-us-west-2\n            image_tag: latest\n            product_lifetime_in_days: 30\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: >-\n              job_spec/ARIA_RAIDER.yml\n              job_spec/INSAR_ISCE_TEST.yml\n            instance_types: m6id.xlarge,m6id.2xlarge,m6id.4xlarge,m6id.8xlarge,m6idn.xlarge,m6idn.2xlarge,m6idn.4xlarge,m6idn.8xlarge\n            default_max_vcpus: 1000\n            expanded_max_vcpus: 1000\n            required_surplus: 0\n            security_environment: JPL-public\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-nisar-jpl\n            domain: hyp3-nisar-jpl.asf.alaska.edu\n            template_bucket: cf-templates-gdeyr9hh8rzs-us-west-2\n            image_tag: latest\n            product_lifetime_in_days: 14\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: job_spec/INSAR_ISCE.yml\n            instance_types: c6id.xlarge,c6id.2xlarge,c6id.4xlarge,c6id.8xlarge\n            default_max_vcpus: 1600\n            expanded_max_vcpus: 1600\n            required_surplus: 0\n            security_environment: JPL-public\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-avo\n            domain: hyp3-avo.asf.alaska.edu\n            template_bucket: cf-templates-1x4a21iq1cba7-us-west-2\n            image_tag: latest\n            product_lifetime_in_days: 365000\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: job_spec/INSAR_GAMMA.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 640\n            expanded_max_vcpus: 640\n            required_surplus: 0\n            security_environment: ASF\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-watermap\n            domain: hyp3-watermap.asf.alaska.edu\n            template_bucket: cf-templates-1217di08q7vwl-us-west-2\n            image_tag: latest\n            product_lifetime_in_days: 14\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: job_spec/RTC_GAMMA.yml job_spec/WATER_MAP.yml job_spec/WATER_MAP_EQ.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 640\n            expanded_max_vcpus: 640\n            required_surplus: 0\n            security_environment: ASF\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-streamflow\n            domain: hyp3-streamflow.asf.alaska.edu\n            template_bucket: cf-templates-15gmiot9prm67-us-west-2\n            image_tag: latest\n            product_lifetime_in_days: 90\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: job_spec/RTC_GAMMA.yml job_spec/WATER_MAP.yml job_spec/WATER_MAP_EQ.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 1600\n            expanded_max_vcpus: 1600\n            required_surplus: 0\n            security_environment: ASF\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: azdwr-hyp3\n            domain: azdwr-hyp3.asf.alaska.edu\n            template_bucket: cf-templates-xlga17noink6-us-west-2\n            image_tag: latest\n            product_lifetime_in_days: 30\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: job_spec/INSAR_GAMMA.yml job_spec/INSAR_ISCE_BURST.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 640\n            expanded_max_vcpus: 640\n            required_surplus: 0\n            security_environment: ASF\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-cargill\n            domain: hyp3-cargill.asf.alaska.edu\n            template_bucket: cf-templates-j4kd746vpsuv-us-east-1\n            image_tag: latest\n            product_lifetime_in_days: 14\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: job_spec/INSAR_GAMMA.yml job_spec/RTC_GAMMA.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 640\n            expanded_max_vcpus: 640\n            required_surplus: 0\n            security_environment: ASF\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-bgc-engineering\n            domain: hyp3-bgc-engineering.asf.alaska.edu\n            template_bucket: cf-templates-ez0805f6vy20-us-west-2\n            image_tag: latest\n            product_lifetime_in_days: 14\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: job_spec/INSAR_GAMMA.yml job_spec/RTC_GAMMA.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 640\n            expanded_max_vcpus: 640\n            required_surplus: 0\n            security_environment: ASF\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-carter\n            domain: hyp3-carter.asf.alaska.edu\n            template_bucket: cf-templates-1qx2mwia5g4kh-us-west-2\n            image_tag: latest\n            product_lifetime_in_days: 30\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: job_spec/INSAR_GAMMA.yml job_spec/RTC_GAMMA.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 640\n            expanded_max_vcpus: 640\n            required_surplus: 0\n            security_environment: ASF\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-pdc\n            domain: hyp3-pdc.asf.alaska.edu\n            template_bucket: cf-templates-tlsr0tnnqt5t-us-west-2\n            image_tag: latest\n            # TODO product lifetime could be much shorter since they all get transferred to a separate\n            # S3 bucket, but maybe we want to allow for a backlog of products-to-be-transferred?\n            product_lifetime_in_days: 14\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: job_spec/WATER_MAP.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 640\n            expanded_max_vcpus: 640\n            required_surplus: 0\n            security_environment: ASF\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n          - environment: hyp3-lavas\n            domain: hyp3-lavas.asf.alaska.edu\n            template_bucket: cf-templates-10a5pjrsv3cgo-us-west-2 \n            image_tag: latest\n            product_lifetime_in_days: 14\n            default_credits_per_user: 0\n            default_application_status: APPROVED\n            cost_profile: DEFAULT\n            job_files: >-\n              job_spec/INSAR_ISCE_BURST.yml\n              job_spec/SRG_GSLC_CPU.yml\n            instance_types: r6id.xlarge,r6id.2xlarge,r6id.4xlarge,r6id.8xlarge,r6idn.xlarge,r6idn.2xlarge,r6idn.4xlarge,r6idn.8xlarge\n            default_max_vcpus: 640\n            expanded_max_vcpus: 640\n            required_surplus: 0\n            security_environment: ASF\n            ami_id: /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id\n            distribution_url: ''\n\n    environment:\n      name: ${{ matrix.environment }}\n      url: https://${{ matrix.domain }}\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n\n      - uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-access-key-id: ${{ secrets.V2_AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.V2_AWS_SECRET_ACCESS_KEY }}\n          aws-session-token: ${{ secrets.V2_AWS_SESSION_TOKEN }}\n          aws-region: ${{ secrets.AWS_REGION }}\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - uses: ./.github/actions/deploy-hyp3\n        with:\n          TEMPLATE_BUCKET:  ${{ matrix.template_bucket }}\n          STACK_NAME: ${{ matrix.environment }}\n          DOMAIN_NAME: ${{ matrix.domain }}\n          API_NAME: ${{ matrix.environment }}\n          CERTIFICATE_ARN:  ${{ secrets.CERTIFICATE_ARN }}\n          IMAGE_TAG: ${{ matrix.image_tag }}\n          PRODUCT_LIFETIME: ${{ matrix.product_lifetime_in_days }}\n          VPC_ID: ${{ secrets.VPC_ID }}\n          SUBNET_IDS: ${{ secrets.SUBNET_IDS }}\n          SECRET_ARN: ${{ secrets.SECRET_ARN }}\n          CLOUDFORMATION_ROLE_ARN: ${{ secrets.CLOUDFORMATION_ROLE_ARN }}\n          DEFAULT_CREDITS_PER_USER: ${{ matrix.default_credits_per_user }}\n          DEFAULT_APPLICATION_STATUS: ${{ matrix.default_application_status }}\n          COST_PROFILE: ${{ matrix.cost_profile }}\n          JOB_FILES: ${{ matrix.job_files }}\n          DEFAULT_MAX_VCPUS: ${{ matrix.default_max_vcpus }}\n          EXPANDED_MAX_VCPUS: ${{ matrix.expanded_max_vcpus }}\n          MONTHLY_BUDGET: ${{ secrets.MONTHLY_BUDGET }}\n          REQUIRED_SURPLUS: ${{ matrix.required_surplus }}\n          ORIGIN_ACCESS_IDENTITY_ID: ${{ secrets.ORIGIN_ACCESS_IDENTITY_ID }}\n          SECURITY_ENVIRONMENT: ${{ matrix.security_environment }}\n          AMI_ID: ${{ matrix.ami_id }}\n          INSTANCE_TYPES: ${{ matrix.instance_types }}\n          DISTRIBUTION_URL: ${{ matrix.distribution_url }}\n          AUTH_PUBLIC_KEY: ${{ secrets.AUTH_PUBLIC_KEY }}\n", "state": "active", "repository": "asfhyp3/hyp3"}
{"mined_at": "2024-07-15T17:10:14.666319", "created_at": "2024-02-22T05:41:13+01:00", "updated_at": "2024-02-22T19:24:13+01:00", "name": "Deploy HyP3 STAC stack to AWS", "path": ".github/workflows/deploy-hyp3-stac.yml", "contents": null, "state": "active", "repository": "asfhyp3/hyp3"}
{"mined_at": "2024-07-15T17:10:15.667034", "created_at": "2023-08-18T01:45:37+02:00", "updated_at": "2023-08-18T01:45:37+02:00", "name": "Deploy hyp3-subscriptions-removal-sandbox Stack to AWS", "path": ".github/workflows/deploy-subscriptions-removal-sandbox.yml", "contents": null, "state": "active", "repository": "asfhyp3/hyp3"}
{"mined_at": "2024-07-15T17:10:16.769873", "created_at": "2020-09-16T22:16:14+02:00", "updated_at": "2020-09-16T22:16:14+02:00", "name": "Is PR labeled?", "path": ".github/workflows/labeled-pr.yml", "contents": "name: Is PR labeled?\n\non:\n  pull_request:\n    types:\n      - opened\n      - labeled\n      - unlabeled\n      - synchronize\n    branches:\n      - main\n\njobs:\n  call-labeled-pr-check-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.11.1\n", "state": "active", "repository": "asfhyp3/hyp3"}
{"mined_at": "2024-07-15T17:10:17.920239", "created_at": "2022-09-17T01:25:10+02:00", "updated_at": "2022-09-17T01:25:10+02:00", "name": ".github/workflows/release-template-comment.yml", "path": ".github/workflows/release-template-comment.yml", "contents": "on:\n  pull_request:\n    types:\n      - opened\n    branches:\n      - main\n\njobs:\n  call-release-checklist-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-release-checklist-comment.yml@v0.11.1\n    permissions:\n      pull-requests: write\n    with:\n      additional_developer_items: |\n        - [ ] If the step function code has changed, have you drained the job queue before merging?\n          * For example, if the interface for a Lambda function has changed to expect different input,\n            then currently running jobs (which use the old step function definition) will call the new\n            function with the old input. So we must drain the job queue before deployment, so that the new\n            function is only called by the new step function definition.\n    secrets:\n      USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "asfhyp3/hyp3"}
{"mined_at": "2024-07-15T17:10:18.891942", "created_at": "2020-07-09T01:56:34+02:00", "updated_at": "2020-07-10T20:05:04+02:00", "name": "Create Release", "path": ".github/workflows/release.yml", "contents": "name: Create Release\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  call-release-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.11.1\n    with:\n      release_prefix: HyP3\n    secrets:\n      USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }}\n", "state": "active", "repository": "asfhyp3/hyp3"}
{"mined_at": "2024-07-15T17:10:19.894151", "created_at": "2020-05-11T21:55:10+02:00", "updated_at": "2023-05-11T01:42:00+02:00", "name": "Static code analysis", "path": ".github/workflows/static-analysis.yml", "contents": "name: Static code analysis\n\non: push\n\njobs:\n  flake8:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.7\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - run: |\n          python -m pip install --upgrade pip\n          make install\n\n      - run: make flake8\n\n  cfn-lint:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        security_environment: [ASF, EDC, JPL, JPL-public]\n    steps:\n      - uses: actions/checkout@v4.1.7\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - run: |\n          python -m pip install --upgrade pip\n          make install\n\n      - run: |\n          make security_environment=${{ matrix.security_environment }} cfn-lint\n\n  openapi-spec-validator:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.7\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - run: |\n          python -m pip install --upgrade pip\n          make install\n\n      - run: make openapi-validate\n\n  statelint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.7\n      - uses: ruby/setup-ruby@v1\n        with:\n          ruby-version: 2.7\n      - run: gem install statelint\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - run: |\n          python -m pip install --upgrade pip\n          make install\n\n      - run: |\n          make render\n          sed -i 's/\"Resource\": \"${.*}\"/\"Resource\": \"foo:bar\"/' apps/step-function.json\n          statelint apps/step-function.json\n\n  snyk:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.7\n      - uses: snyk/actions/setup@0.4.0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - run: |\n          python -m pip install --upgrade pip\n          make install\n          make render security_environment=EDC\n      - name: Run Snyk to check for vulnerabilities\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        run: |\n          snyk test --package-manager=pip --file=requirements-all.txt --severity-threshold=high\n          snyk iac test --severity-threshold=high\n\n  call-secrets-analysis-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.11.1\n", "state": "active", "repository": "asfhyp3/hyp3"}
{"mined_at": "2024-07-15T17:10:20.999865", "created_at": "2020-05-19T22:49:03+02:00", "updated_at": "2020-05-19T22:49:03+02:00", "name": "Run tests", "path": ".github/workflows/tests.yml", "contents": "name: Run tests\n\non: push\n\njobs:\n  pytest:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4.1.7\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - run: |\n          python -m pip install --upgrade pip\n          make install\n\n      - name: run pytest\n        run: make tests\n", "state": "active", "repository": "asfhyp3/hyp3"}
{"mined_at": "2024-07-15T17:10:23.332584", "created_at": "2021-12-17T21:47:30+01:00", "updated_at": "2021-12-17T21:47:30+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "runtimeverification/evm-semantics"}
{"mined_at": "2024-07-15T17:10:24.353532", "created_at": "2022-07-04T02:10:00+02:00", "updated_at": "2022-11-07T19:34:23+01:00", "name": "Update Version", "path": ".github/workflows/update-version.yml", "contents": "name: 'Update Version'\non:\n  push:\n    branches:\n      - '_update-deps/runtimeverification/blockchain-k-plugin'\n      - '_update-deps/runtimeverification/k'\n  workflow_dispatch:\n# Stop in progress workflows on the same branch and same workflow to use latest committed code\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  update-versions:\n    name: 'Update Dependency Versions'\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Check out code'\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n          token: ${{ secrets.JENKINS_GITHUB_PAT }}\n      - name: 'Configure GitHub user'\n        run: |\n          git config user.name devops\n          git config user.email devops@runtimeverification.com\n      - name: 'Install Poetry'\n        uses: Gr1N/setup-poetry@v9\n      - name: 'Update pyk release tag'\n        run: |\n          K_VERSION=$(cat deps/k_release)\n          sed -i 's!kframework = \"[v0-9\\.]*\"!kframework = \"'${K_VERSION}'\"!' kevm-pyk/pyproject.toml\n          poetry -C kevm-pyk update\n          git add kevm-pyk/ && git commit -m \"kevm-pyk/: sync poetry files pyk version ${K_VERSION}\" || true\n      - name: 'Update plugin release file'\n        run: |\n          BKP_VERSION=$(git -C kevm-pyk/src/kevm_pyk/kproj/plugin rev-parse HEAD)\n          echo ${BKP_VERSION} > deps/blockchain-k-plugin_release\n          git add deps/blockchain-k-plugin_release && git commit -m \"deps/blockchain-k-plugin_release: sync release file version ${BKP_VERSION}\" || true\n      - name: 'Install Nix/Cachix'\n        uses: cachix/install-nix-action@v19\n        with:\n          install_url: https://releases.nixos.org/nix/nix-2.13.3/install\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n      - uses: cachix/cachix-action@v12\n        with:\n          name: k-framework\n          authToken: ${{ secrets.CACHIX_PUBLIC_TOKEN }}\n      - name: 'Update nix flake inputs'\n        run: |\n          K_VERSION=v$(cat deps/k_release)\n          BKP_VERSION=$(cat deps/blockchain-k-plugin_release)\n          sed -i 's!    k-framework.url = \"github:runtimeverification/k/[v0-9\\.]*\"!    k-framework.url = \"github:runtimeverification/k/'\"${K_VERSION}\"'\"!' flake.nix\n          sed -i 's!    blockchain-k-plugin.url = \"github:runtimeverification/blockchain-k-plugin/[0-9a-f]*\"!    blockchain-k-plugin.url = \"github:runtimeverification/blockchain-k-plugin/'\"${BKP_VERSION}\"'\"!' flake.nix\n          sed -i 's!    pyk.url = \"github:runtimeverification/k/[v0-9\\.]*?dir=pyk\"!    pyk.url = \"github:runtimeverification/k/'\"${K_VERSION}\"'?dir=pyk\"!' flake.nix\n          nix run .#update-from-submodules\n          nix flake update\n          git add flake.nix flake.lock && git commit -m 'flake.{nix,lock}: update Nix derivations' || true\n      - name: 'Push updates'\n        run: git push\n", "state": "active", "repository": "runtimeverification/evm-semantics"}
{"mined_at": "2024-07-15T17:10:25.533194", "created_at": "2022-09-24T20:54:30+02:00", "updated_at": "2023-08-24T16:51:16+02:00", "name": "Test PR", "path": ".github/workflows/test-pr.yml", "contents": "name: 'Test PR'\non:\n  pull_request:\n    branches:\n      - 'master'\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  version-bump:\n    name: 'Version Bump'\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Check out code'\n        uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.JENKINS_GITHUB_PAT }}\n          # fetch-depth 0 means deep clone the repo\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: 'Configure GitHub user'\n        run: |\n          git config user.name devops\n          git config user.email devops@runtimeverification.com\n      - name: 'Update version'\n        run: |\n          og_version=$(git show origin/${GITHUB_BASE_REF}:package/version)\n          ./package/version.sh bump ${og_version}\n          ./package/version.sh sub\n          new_version=$(cat package/version)\n          sed --in-place \"s/^VERSION: Final = '.*'$/VERSION: Final = '${new_version}'/\" kevm-pyk/src/kevm_pyk/__init__.py\n          git add --update && git commit --message \"Set Version: ${new_version}\" || true\n      - name: 'Push updates'\n        run: git push origin HEAD:${GITHUB_HEAD_REF}\n\n  kevm-pyk-code-quality-checks:\n    name: 'Code Quality Checks'\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Check out code'\n        uses: actions/checkout@v4\n      - name: 'Install Poetry'\n        uses: Gr1N/setup-poetry@v9\n      - name: 'Run code quality checks'\n        run: make -C kevm-pyk check\n      - name: 'Run pyupgrade'\n        run: make -C kevm-pyk pyupgrade\n\n  kevm-pyk-unit-tests:\n    needs: kevm-pyk-code-quality-checks\n    name: 'Unit Tests'\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Check out code'\n        uses: actions/checkout@v4\n      - name: 'Install Poetry'\n        uses: Gr1N/setup-poetry@v9\n      - name: 'Run unit tests'\n        run: make -C kevm-pyk cov-unit\n\n  kevm-pyk-profile:\n    needs: kevm-pyk-code-quality-checks\n    name: 'Profiling'\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Check out code'\n        uses: actions/checkout@v4\n      - name: 'Install Poetry'\n        uses: Gr1N/setup-poetry@v9\n      - name: 'Run profiling'\n        run: |\n          make -C kevm-pyk profile\n\n  test-concrete-execution:\n    name: 'Build and Test KEVM concrete execution'\n    needs: kevm-pyk-code-quality-checks\n    runs-on: [self-hosted, linux, normal]\n    timeout-minutes: 45\n    steps:\n      - name: 'Check out code'\n        uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: 'Set up Docker'\n        uses: ./.github/actions/with-docker\n        with:\n          container-name: kevm-ci-concrete-${{ github.sha }}\n      - name: 'Build kevm-pyk'\n        run: docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'make poetry'\n      - name: 'Build targets'\n        run: docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 poetry -C kevm-pyk run kdist --verbose build -j`nproc` evm-semantics.haskell evm-semantics.kllvm evm-semantics.kllvm-runtime'\n      - name: 'Test integration'\n        run: docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'make test-integration'\n      - name: 'Test conformance'\n        run: docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'make test-conformance'\n      - name: 'Test llvm krun'\n        run: docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'make test-interactive'\n      - name: 'Tear down Docker'\n        if: always()\n        run: |\n          docker stop --time=0 kevm-ci-concrete-${{ github.sha }}\n\n  test-prove:\n    name: 'Build and Test KEVM proofs'\n    needs: kevm-pyk-code-quality-checks\n    runs-on: [self-hosted, linux, fast]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - test-suite: 'test-prove-kprove'\n            test-args:\n            timeout: 45\n          - test-suite: 'test-prove-pyk'\n            test-args: '--no-use-booster'\n            timeout: 180\n          - test-suite: 'test-prove-pyk'\n            test-args:\n            timeout: 150\n          - test-suite: 'test-prove-pyk'\n            test-args: '--use-booster-dev'\n            timeout: 45\n          - test-suite: 'test-prove-optimizations'\n            test-args:\n            timeout: 45\n          - test-suite: 'test-prove-dss'\n            test-args:\n            timeout: 45\n    timeout-minutes: ${{ matrix.timeout }}\n    steps:\n      - name: 'Check out code'\n        uses: actions/checkout@v4\n      - name: 'Check out select submodules'\n        run: |\n          set -eux\n          git submodule update --init --recursive -- kevm-pyk/src/kevm_pyk/kproj/plugin\n      - name: 'Set up Docker'\n        uses: ./.github/actions/with-docker\n        with:\n          container-name: kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }}\n      - name: 'Build kevm-pyk'\n        run: docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c 'make poetry'\n      - name: 'Build distribution'\n        run: docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 poetry -C kevm-pyk run kdist --verbose build -j`nproc` evm-semantics.plugin evm-semantics.haskell'\n      - name: 'Prove Haskell'\n        run: docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c \"make ${{ matrix.test-suite }} PYTEST_ARGS='-vv ${{ matrix.test-args }}' PYTEST_PARALLEL=4\"\n      - name: 'Tear down Docker'\n        if: always()\n        run: |\n          docker stop --time=0 kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }}\n\n  nix:\n    name: 'Nix'\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - runner: normal\n          - runner: macos-13\n          - runner: ARM64\n    needs: kevm-pyk-code-quality-checks\n    runs-on: ${{ matrix.runner }}\n    timeout-minutes: 60\n    steps:\n      - name: 'Check out code'\n        uses: actions/checkout@v4\n        with:\n          # Check out pull request HEAD instead of merge commit.\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: 'Check out select submodules'\n        run: |\n          set -eux\n          git submodule update --init --recursive -- kevm-pyk/src/kevm_pyk/kproj/plugin\n      - name: 'Install Nix'\n        if: ${{ matrix.runner == 'macos-13' }}\n        uses: cachix/install-nix-action@v25\n        with:\n          install_url: https://releases.nixos.org/nix/nix-2.19.3/install\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n            substituters = http://cache.nixos.org https://cache.iog.io\n            trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=\n      - name: 'Install Cachix'\n        if: ${{ matrix.runner == 'macos-13' }}\n        uses: cachix/cachix-action@v14\n        with:\n          name: k-framework\n          authToken: ${{ secrets.CACHIX_PUBLIC_TOKEN }}\n      - name: 'Build KEVM'\n        run: GC_DONT_GC=1 nix build --extra-experimental-features 'nix-command flakes' --print-build-logs\n      - name: 'Test KEVM'\n        run: GC_DONT_GC=1 nix build --extra-experimental-features 'nix-command flakes' --print-build-logs .#kevm-test\n", "state": "active", "repository": "runtimeverification/evm-semantics"}
{"mined_at": "2024-07-15T17:10:26.722005", "created_at": "2022-10-29T02:45:35+02:00", "updated_at": "2023-09-07T08:02:59+02:00", "name": "Master Push", "path": ".github/workflows/master-push.yml", "contents": "name: 'Master Push'\non:\n  push:\n    branches:\n      - 'master'\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n\n  nix-cache:\n    name: 'Populate Nix Cache'\n    strategy:\n      matrix:\n        include:\n          - runner: normal\n          - runner: macos-13\n          - runner: ARM64\n    runs-on: ${{ matrix.runner }}\n    steps:\n      - name: 'Check out code'\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.push.head.sha }}\n          fetch-depth: 0\n      - name: 'Upgrade bash'\n        if: ${{ contains(matrix.os, 'macos') }}\n        run: brew install bash\n      - name: 'Install Nix'\n        if: ${{ matrix.runner == 'macos-13' }}\n        uses: cachix/install-nix-action@v19\n        with:\n          install_url: https://releases.nixos.org/nix/nix-2.13.3/install\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n      - name: 'Install Cachix'\n        if: ${{ matrix.runner == 'macos-13' }}\n        uses: cachix/cachix-action@v12\n        with:\n          name: k-framework\n          signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}\n          skipPush: true\n      - name: 'Build and cache KEVM'\n        uses: workflow/nix-shell-action@v3.0.3\n        env:\n          GC_DONT_GC: 1\n          CACHIX_AUTH_TOKEN: '${{ secrets.CACHIX_PUBLIC_TOKEN }}'\n        with:\n          packages: jq\n          script: |\n            kevm=$(nix build --extra-experimental-features 'nix-command flakes' .#kevm --json | jq -r '.[].outputs | to_entries[].value')\n            drv=$(nix-store --query --deriver ${kevm})\n            nix-store --query --requisites --include-outputs ${drv} | cachix push k-framework\n\n  make-release:\n    name: 'Cut Release'\n    runs-on: ubuntu-latest\n    needs: nix-cache\n    steps:\n      - name: 'Check out code'\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.push.head.sha }}\n          fetch-depth: 0\n      - name: 'Make release'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -x\n          VERSION=v$(cat package/version)\n          gh release create ${VERSION} --target ${{ github.sha }}\n      - name: 'Update dependents'\n        run: |\n          set -x\n          VERSION=$(cat package/version)\n          curl --fail                                                          \\\n            -X POST                                                            \\\n            -H \"Accept: application/vnd.github+json\"                           \\\n            -H \"Authorization: Bearer ${{ secrets.JENKINS_GITHUB_PAT }}\"       \\\n            -H \"X-GitHub-Api-Version: 2022-11-28\"                              \\\n            https://api.github.com/repos/runtimeverification/devops/dispatches \\\n            -d '{\"event_type\":\"on-demand-test\",\"client_payload\":{\"repo\":\"runtimeverification/evm-semantics\",\"version\":\"'${VERSION}'\"}}'\n\n  gh-pages:\n    name: 'Publish GH Pages'\n    runs-on: ubuntu-latest\n    needs: make-release\n    steps:\n      - name: 'Check out gh-pages'\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n          ref: ${{ github.event.push.head.sha }}\n      - run: |\n         git config --global user.email 'devops@runtimeverification.com'\n         git config --global user.name  'RV DevOps'\n      - name: 'Publish gh-pages'\n        run: |\n          git checkout -B gh-pages\n          cd web\n          npm install\n          npm run build\n          npm run build-sitemap\n          cd -\n          mv web/public_content ./\n          rm -rf $(find . -maxdepth 1 -not -name public_content -a -not -name .git -a -not -name .gitmodules -a -not -path . -a -not -path .. -a -not -name CNAME)\n          mv public_content/* ./\n          rm -rf public_content\n          git add ./\n          git commit -m 'gh-pages: Updated the website'\n          git merge --strategy ours origin/gh-pages --allow-unrelated-histories\n          git push origin gh-pages\n      - name: 'Post failure to channel'\n        if: failure()\n        uses: slackapi/slack-github-action@v1.24.0\n        with:\n          channel-id: \"#kevm-notifications\"\n          slack-message: \"Failed to create KEVM release: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n        env:\n            SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n      - name: 'Post success to channel'\n        if: success()\n        uses: slackapi/slack-github-action@v1.24.0\n        with:\n          channel-id: \"#kevm-notifications\"\n          slack-message: \"Created KEVM release: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n        env:\n            SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n", "state": "active", "repository": "runtimeverification/evm-semantics"}
{"mined_at": "2024-07-15T17:10:28.801345", "created_at": "2022-01-18T15:31:02+01:00", "updated_at": "2022-01-18T15:31:02+01:00", "name": "Automatic Rebase", "path": ".github/workflows/auto-rebase.yml", "contents": "name: Automatic Rebase\non:\n  push:\n    branches-ignore:\n      # Ignore branches automatically created by github-rebase\n      - rebase-pull-request**\n      - cherry-pick-rebase-pull-request**\n  pull_request_target:\n    types:\n      - labeled\njobs:\n  auto-rebase:\n    name: AutoRebase\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/create-github-app-token@v1.10.1\n        id: generate-token\n        with:\n          app-id: ${{ secrets.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - uses: Label305/AutoRebase@v0.1\n        with:\n          github_token: ${{ steps.generate-token.outputs.token }}\n", "state": "active", "repository": "ibis-project/ibis-substrait"}
{"mined_at": "2024-07-15T17:10:30.071597", "created_at": "2022-01-18T15:31:02+01:00", "updated_at": "2022-08-03T22:16:29+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  commitlint:\n    if: ${{ github.event_name == 'pull_request' }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: cachix/install-nix-action@v27\n        with:\n          nix_path: nixpkgs=./nix\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - uses: cachix/cachix-action@v15\n        with:\n          name: ibis-substrait\n          extraPullNames: nix-community,poetry2nix,ibis\n\n      - name: commitlint\n        run: nix run -L 'nixpkgs#commitlint' -- --from=${{ github.event.pull_request.base.sha }} --to=${{ github.sha }} --verbose\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: cachix/install-nix-action@v27\n        with:\n          nix_path: nixpkgs=./nix\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - uses: cachix/cachix-action@v15\n        with:\n          name: ibis-substrait\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix,ibis\n\n      - run: nix develop --ignore-environment -f shell.nix -c pre-commit run --all-files\n  nix:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n        python-version:\n          - \"39\"\n          - \"310\"\n          - \"311\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: cachix/install-nix-action@v27\n        with:\n          nix_path: nixpkgs=./nix\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - uses: cachix/cachix-action@v15\n        with:\n          name: ibis-substrait\n          authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}\n          extraPullNames: nix-community,poetry2nix,ibis\n\n      - name: build package and run tests\n        run: |\n          version='${{ matrix.python-version }}'\n          nix build \".#ibisSubstrait${version//./}\" --fallback --keep-going --print-build-logs\n  poetry_ibis:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n        python-version:\n          - \"3.9\"\n          - \"3.11\"\n        ibis-version:\n          - \"4.1\"\n          - \"7.0\"\n          - \"7.1\"\n          - \"7.2\"\n        include:\n         - os: windows-latest\n           python-version: \"3.11\"\n           ibis-version: \"7.0\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install poetry\n        run: pip3 install 'poetry<1.4'\n      - name: poetry sync\n        run: poetry install --sync\n\n      - name: install Ibis version\n        run: poetry run pip install 'ibis-framework==${{ matrix.ibis-version }}'\n\n      - name: show installed deps\n        run: poetry run pip list\n\n      - name: run pytest\n        run: poetry run pytest\n  poetry_ibis_pyarrow_nightly:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n        python-version:\n          - \"3.9\"\n          - \"3.11\"\n        ibis-version:\n          - \"4.1\"\n          - \"7.0\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - run: pip3 install 'poetry<1.4'\n      - run: poetry install --sync\n      - run: poetry run pip install 'ibis-framework==${{ matrix.ibis-version }}'\n      - run: poetry run pip install --extra-index-url https://pypi.fury.io/arrow-nightlies --pre -U pyarrow\n      - run: poetry run pytest\n  dry-run-release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: cachix/install-nix-action@v27\n        with:\n          nix_path: nixpkgs=./nix\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - uses: cachix/cachix-action@v15\n        with:\n          name: ibis-substrait\n          extraPullNames: nix-community,poetry2nix,ibis\n\n      - name: Configure git info\n        run: |\n          set -euo pipefail\n\n          # not incredibly important what user we use here\n          #\n          # we're making a commit in a temporary worktree that is thrown away\n          # if the process exits successfully\n          #\n          # git requires user information to make commits\n          git config user.name 'ibis-squawk-bot[bot]'\n          git config user.email 'ibis-squawk-bot[bot]@users.noreply.github.com'\n\n      - name: dry run semantic-release\n        run: ./ci/release/dry_run.sh\n\n  check-poetry-lock:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - name: install poetry\n        run: pip3 install 'poetry<1.4'\n\n      - name: verify lockfile\n        run: poetry lock --check\n", "state": "active", "repository": "ibis-project/ibis-substrait"}
{"mined_at": "2024-07-15T17:10:31.326956", "created_at": "2022-01-18T15:31:02+01:00", "updated_at": "2022-01-19T00:34:51+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: CodeQL\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n          - python\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n      - uses: github/codeql-action/autobuild@v3\n      - uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "ibis-project/ibis-substrait"}
{"mined_at": "2024-07-15T17:10:32.557240", "created_at": "2023-07-06T13:49:02+02:00", "updated_at": "2023-07-06T13:49:02+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n\n# we do not want more than one release workflow executing at the same time, ever\nconcurrency:\n  group: release\n  # cancelling in the middle of a release would create incomplete releases\n  # so cancel-in-progress is false\n  cancel-in-progress: false\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/create-github-app-token@v1.10.1\n        id: generate_token\n        with:\n          app-id: ${{ secrets.APP_ID }}\n          private-key: ${{ secrets.APP_PRIVATE_KEY }}\n\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          token: ${{ steps.generate_token.outputs.token }}\n\n      - uses: cachix/install-nix-action@v27\n        with:\n          nix_path: nixpkgs=./nix\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - uses: cachix/cachix-action@v15\n        with:\n          name: ibis-substrait\n          extraPullNames: nix-community,poetry2nix,ibis\n\n      - name: run semantic-release\n        run: ./ci/release/run.sh\n        env:\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n          GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}\n", "state": "active", "repository": "ibis-project/ibis-substrait"}
{"mined_at": "2024-07-15T17:10:33.786114", "created_at": "2022-01-18T15:31:02+01:00", "updated_at": "2023-01-12T16:47:11+01:00", "name": "Update Nix Flakes", "path": ".github/workflows/update-deps.yml", "contents": "name: Update Nix Flakes\non:\n  schedule:\n    # run every 3 days at midnight\n    - cron: \"0 0 * * */3\"\n  workflow_dispatch:\n\njobs:\n  get-flakes:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.get-flakes.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: cachix/install-nix-action@v27\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n      - name: generate flake matrix\n        id: get-flakes\n        run: |\n          set -euo pipefail\n\n          flakes=\"$(nix flake metadata --json | jq -rcM '.locks.nodes.root.inputs | {flake: keys}')\"\n          echo \"matrix=${flakes}\" >> \"$GITHUB_OUTPUT\"\n\n  flake-update:\n    runs-on: ubuntu-latest\n    needs:\n      - get-flakes\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJSON(needs.get-flakes.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: cachix/install-nix-action@v27\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n\n      - name: setup cachix\n        uses: cachix/cachix-action@v15\n        with:\n          name: ibis-substrait\n          extraPullNames: nix-community,poetry2nix\n\n      - uses: cpcloud/flake-dep-info-action@v2.0.11\n        id: get_current_commit\n        with:\n          input: ${{ matrix.flake }}\n\n      - name: update ${{ matrix.flake }}\n        run: nix flake lock --update-input ${{ matrix.flake }}\n\n      - uses: cpcloud/flake-dep-info-action@v2.0.11\n        id: get_new_commit\n        with:\n          input: ${{ matrix.flake }}\n\n      - name: create an output indicating whether a PR is needed\n        id: needs_pr\n        run: echo \"did_change=${{ steps.get_current_commit.outputs.rev != steps.get_new_commit.outputs.rev }}\" >> \"$GITHUB_OUTPUT\"\n\n      - uses: actions/create-github-app-token@v1.10.1\n        if: fromJSON(steps.needs_pr.outputs.did_change)\n        id: generate_pr_token\n        with:\n          app-id: ${{ secrets.SQUAWK_BOT_APP_ID }}\n          private-key: ${{ secrets.SQUAWK_BOT_APP_PRIVATE_KEY }}\n\n      - uses: actions/create-github-app-token@v1.10.1\n        if: fromJSON(steps.needs_pr.outputs.did_change)\n        id: generate_pr_approval_token\n        with:\n          app-id: ${{ secrets.PR_APPROVAL_BOT_APP_ID }}\n          private-key: ${{ secrets.PR_APPROVAL_BOT_APP_PRIVATE_KEY }}\n\n      - uses: cpcloud/compare-commits-action@v5.0.39\n        if: fromJSON(steps.needs_pr.outputs.did_change)\n        id: compare_commits\n        with:\n          token: ${{ steps.generate_pr_token.outputs.token }}\n          owner: ${{ steps.get_new_commit.outputs.owner }}\n          repo: ${{ steps.get_new_commit.outputs.repo }}\n          basehead: ${{ steps.get_current_commit.outputs.rev }}...${{ steps.get_new_commit.outputs.rev }}\n          include-merge-commits: false\n\n      - uses: peter-evans/create-pull-request@v6\n        if: fromJSON(steps.needs_pr.outputs.did_change)\n        id: create_pr\n        with:\n          token: ${{ steps.generate_pr_token.outputs.token }}\n          commit-message: \"chore(flake/${{ matrix.flake }}): `${{ steps.get_current_commit.outputs.short-rev }}` -> `${{ steps.get_new_commit.outputs.short-rev }}`\"\n          branch: \"create-pull-request/update-${{ matrix.flake }}\"\n          delete-branch: true\n          author: \"ibis-squawk-bot[bot] <ibis-squawk-bot[bot]@users.noreply.github.com>\"\n          title: \"chore(flake/${{ matrix.flake }}): `${{ steps.get_current_commit.outputs.short-rev }}` -> `${{ steps.get_new_commit.outputs.short-rev }}`\"\n          body: ${{ steps.compare_commits.outputs.differences }}\n          labels: dependencies,nix,autorebase:opt-in\n\n      - uses: juliangruber/approve-pull-request-action@v2.0.6\n        if: fromJSON(steps.needs_pr.outputs.did_change)\n        with:\n          github-token: ${{ steps.generate_pr_approval_token.outputs.token }}\n          number: ${{ steps.create_pr.outputs.pull-request-number }}\n\n      - uses: peter-evans/enable-pull-request-automerge@v3\n        if: fromJSON(steps.needs_pr.outputs.did_change)\n        with:\n          token: ${{ steps.generate_pr_token.outputs.token }}\n          pull-request-number: ${{ steps.create_pr.outputs.pull-request-number }}\n          merge-method: rebase\n", "state": "active", "repository": "ibis-project/ibis-substrait"}
{"mined_at": "2024-07-15T17:10:36.155231", "created_at": "2022-04-29T07:20:22+02:00", "updated_at": "2022-04-29T07:20:22+02:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non:\n  issues:\n    types: [opened]\n  pull_request:\n    branches: [main]\n    types: [opened]\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/first-interaction@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: 'If youre having issues, please remember to read the [wiki](https://github.com/automatic-ripping-machine/automatic-ripping-machine/wiki/FAQ) and follow the instructions carefully'\n        pr-message: 'Thanks for submitting a PR, please try to keep PR as small as possible for faster merge times'\n", "state": "active", "repository": "automatic-ripping-machine/automatic-ripping-machine"}
{"mined_at": "2024-07-15T17:10:37.271681", "created_at": "2022-04-29T07:20:22+02:00", "updated_at": "2023-02-03T01:08:23+01:00", "name": "Quality Checks", "path": ".github/workflows/main.yml", "contents": "name: \"Quality Checks\"\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.ref }}\n    cancel-in-progress: true\n\n# Controls when the action will run. \non:\n  # Triggers the workflow on push or pull request events but only for the v2.5.0_dev branch\n  push:\n    branches: main\n  pull_request:\n    branches: main\n\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n  \njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n\n# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n  test-armui:\n    name: \"Test A.R.M UI\"\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # in this example, there is a newer version already installed, 3.7.7, so the older version will be downloaded\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Fix dependencies\n      run: |\n        sudo apt-get update && sudo apt-get install libgnutls28-dev libcurl4-openssl-dev libssl-dev libdiscid-dev\n    - name: Install A.R.M dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        flake8 . --max-complexity=15 --max-line-length=120 --show-source --statistics\n        # stop the build if there are Python syntax errors or undefined names\n        #flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        #flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Fix config files\n      run: |\n        cp setup/arm.yaml arm.yaml\n        sudo mkdir -p /etc/arm/config/ /home/arm/db /home/arm /home/arm/config /home/arm/media /home/arm/music\n        sudo cp setup/arm.yaml /etc/arm/config/arm.yaml\n        sudo cp setup/apprise.yaml /etc/arm/config/apprise.yaml\n        sudo cp setup/.abcde.conf /etc/arm/config/abcde.conf\n        sudo mkdir -p /opt/arm/arm /opt/arm/setup\n        sudo cp -r arm/migrations /opt/arm/arm\n        cp setup/arm.yaml /opt/arm/setup/arm.yaml\n    - name: Run A.R.M ui\n      run: timeout 1 python ./arm/runui.py || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi\n", "state": "active", "repository": "automatic-ripping-machine/automatic-ripping-machine"}
{"mined_at": "2024-07-15T17:10:38.495658", "created_at": "2022-07-05T00:17:03+02:00", "updated_at": "2023-02-16T03:05:49+01:00", "name": "Publish Docker Image", "path": ".github/workflows/publish-image.yml", "contents": "name: \"Publish Docker Image\"\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.ref }}\n    cancel-in-progress: true\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\non:\n    # run every day at midnight\n    schedule:\n        - cron: '0 0 * * *'\n    # Run on every push\n    push:\n        branches: main\n    # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n\nenv:\n    # Use docker.io for Docker Hub if empty\n    REGISTRY: ghcr.io\n    # use DOCKERHUB_USERNAME as the name maybe different from the github username\n    IMAGE_NAME: ${{ secrets.DOCKERHUB_USERNAME }}/automatic-ripping-machine\n    TAG: latest\n\njobs:\n    build:\n        runs-on: ubuntu-latest\n        permissions: write-all\n\n        steps:\n            -\n                name: Checkout repository\n                uses: actions/checkout@v4\n\n            -\n                name: Get branch name\n                id: branch-name\n                uses: tj-actions/branch-names@v8\n\n            -\n                name: Set tag for non-default branch\n                if: steps.branch-name.outputs.is_default == 'false' && steps.branch-name.outputs.default_branch != ''\n                run: |\n                    echo \"Branch name is ${{ steps.branch-name.outputs.ref_branch }}\"\n                    echo \"Main name is ${{ steps.branch-name.outputs.default_branch }}\"\n                    echo \"TAG=${{ steps.branch-name.outputs.ref_branch }}\" >> $GITHUB_ENV\n\n            # Workaround: https://github.com/docker/build-push-action/issues/461\n            -\n                name: Setup Docker buildx\n                uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb\n\n            # Login against all registries\n            # https://github.com/docker/login-action\n            -\n                name: Log into registry ${{ env.REGISTRY }}\n                uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446\n                with:\n                    registry: ${{ env.REGISTRY }}\n                    username: ${{ github.repository_owner }}\n                    password: ${{ secrets.GITHUB_TOKEN }}\n\n            -\n                name: Login to DockerHub\n                uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446\n                with:\n                    username: ${{ secrets.DOCKERHUB_USERNAME }}\n                    password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n            # Extract metadata (tags, labels) for Docker\n            # https://github.com/docker/metadata-action\n            -\n                name: Extract Docker metadata\n                id: meta\n                uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81\n                with:\n                    images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n                    \n            -\n                name: Set Version number\n                run: |\n                    if [ ${{ steps.branch-name.outputs.is_default }} = true ]; then\n                      VER=$(cat VERSION)\n                      echo \"VERSION=$VER\" >> $GITHUB_ENV\n                    else\n                      echo \"VERSION=${{ env.TAG }}\" >> $GITHUB_ENV\n                      echo \"${{ env.TAG }}\" > ./VERSION\n                    fi\n\n            -\n                name: Set build datetime\n                run: |\n                    TIMESTAMP=$(date -u +'%Y-%m-%d T%H:%M:%SZ')\n                    echo \"BUILD_DATE=$TIMESTAMP\" >> $GITHUB_ENV\n            \n            # Build and push Docker image with Buildx\n            # https://github.com/docker/build-push-action\n            -\n                name: Build and push Docker image\n                id: build-and-push\n                uses: docker/build-push-action@v5\n                with:\n                    context: .\n                    push: ${{ github.event_name != 'pull_request' }}\n                    platforms: linux/amd64,linux/arm64,linux/arm/v7\n                    tags: |\n                      ${{ env.IMAGE_NAME }}:${{ env.TAG }}\n                      ${{ env.IMAGE_NAME }}:${{ env.VERSION }}\n                    labels: ${{ steps.meta.outputs.labels }}\n                  # Fetches all tags for the repo\n            - \n                name: Fetch tags\n                run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n            -\n                name: 'Check: version has corrosponding git tag'\n                id: tagged\n                shell: bash\n                run: git show-ref --tags --verify --quiet -- \"refs/tags/${{ env.VERSION }}\" && echo \"::set-output name=tagged::0\" || echo \"::set-output name=tagged::1\"\n\n            - \n                name: Create Release\n                if: steps.tagged.outputs.tagged == 1\n                uses: \"lauravuo/action-automatic-releases@test-changes\"\n                with:\n                    repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n                    automatic_release_tag: \"${{ env.VERSION }}\"\n                    prerelease: false\n                    auto_generate_release_notes: true\n                    title: \"${{ env.VERSION }}\"\n                    files: |\n                      LICENSE\n                      VERSION\n", "state": "active", "repository": "automatic-ripping-machine/automatic-ripping-machine"}
{"mined_at": "2024-07-15T17:10:39.615976", "created_at": "2024-03-03T22:08:47+01:00", "updated_at": "2024-03-03T22:09:02+01:00", "name": "Publish ARM Wiki Update", "path": ".github/workflows/publish-wiki.yml", "contents": "name: Publish ARM Wiki Update\n\non:\n  push:\n    branches: [main]\n    paths:\n      - arm_wiki/**\n  pull_request_review:\n    types: [submitted]\n  gollum:\n\nenv:\n  GIT_AUTHOR_NAME: Actionbot\n  GIT_AUTHOR_EMAIL: actions@github.com\n\npermissions:\n  contents: write\n\njobs:\n  job-sync-docs-to-wiki:\n    runs-on: ubuntu-latest\n    if: github.event_name != 'gollum'\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n      - name: Sync arm docs to wiki\n        uses: newrelic/wiki-sync-action@main\n        with:\n          source: arm_wiki\n          destination: wiki\n          token: ${{ secrets.ARM_WIKI_TOKEN }}\n          gitAuthorName: ${{ env.GIT_AUTHOR_NAME }}\n          gitAuthorEmail: ${{ env.GIT_AUTHOR_EMAIL }}", "state": "active", "repository": "automatic-ripping-machine/automatic-ripping-machine"}
{"mined_at": "2024-07-15T17:10:40.850202", "created_at": "2023-02-22T03:53:03+01:00", "updated_at": "2023-02-25T02:06:29+01:00", "name": "Run ShellCheck", "path": ".github/workflows/shellcheck.yml", "contents": "name: \"Run ShellCheck\"\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.ref }}\n    cancel-in-progress: true\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\non:\n    push:\n    pull_request:\n    workflow_dispatch:\n\njobs:\n    shellcheck:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Run ShellCheck\n              uses: bewuethr/shellcheck-action@v2.2.0\n", "state": "active", "repository": "automatic-ripping-machine/automatic-ripping-machine"}
{"mined_at": "2024-07-15T17:10:41.852936", "created_at": "2022-04-29T07:20:22+02:00", "updated_at": "2022-04-29T09:30:28+02:00", "name": "Close stale issues", "path": ".github/workflows/stale.yml", "contents": "name: \"Close stale issues\"\non:\n  schedule:\n  - cron: \"30 1 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'\n        days-before-stale: 30\n        days-before-close: 5\n", "state": "disabled_manually", "repository": "automatic-ripping-machine/automatic-ripping-machine"}
{"mined_at": "2024-07-15T17:10:43.002097", "created_at": "2023-02-16T02:00:29+01:00", "updated_at": "2023-02-16T02:48:46+01:00", "name": "PR - Test Docker Build", "path": ".github/workflows/test-pr-image-build.yml", "contents": "name: \"PR - Test Docker Build\"\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.ref }}\n    cancel-in-progress: true\n\n# This workflow builds a docker image for every pull request, to\n# confirm that the changes will still at least build even if the\n# OP has not tried it themselves or configured their fork to use\n# the included repos\n\non:\n    pull_request:\n\njobs:\n    build:\n        runs-on: ubuntu-latest\n        permissions:\n            contents: read\n\n        steps:\n        - \n            uses: actions/checkout@v4\n\n        -\n            name: Setup Docker buildx\n            uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb\n\n        # Build Docker image with Buildx\n        # https://github.com/docker/build-push-action\n        -\n            name: Build Docker image\n            id: build\n            uses: docker/build-push-action@v5\n            with:\n                push: false\n                context: .\n                platforms: linux/amd64,linux/arm64,linux/arm/v7\n                tags: automatic-ripping-machine:pr${{ github.event.number }}\n", "state": "active", "repository": "automatic-ripping-machine/automatic-ripping-machine"}
{"mined_at": "2024-07-15T17:10:44.124975", "created_at": "2022-07-19T13:46:08+02:00", "updated_at": "2023-02-26T08:08:14+01:00", "name": "Version Increment", "path": ".github/workflows/version_bump.yml", "contents": "name: \"Version Increment\"\n\non:\n  # Run this action on any Pull Request raised against ARM\n  pull_request:\n    # Don't run on changes to the below paths\n    paths-ignore:\n      - 'arm_wiki/**'\n      - '.github/**'\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\npermissions:\n  contents: write\n\njobs:\n  version:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get branch name\n        id: branch-name\n        uses: tj-actions/branch-names@v8\n\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n          fetch-depth: 0\n\n      - name: Check for version bump\n        id: version-check\n        run: |\n          if ! git diff origin/main --name-only | grep -q 'VERSION'; then\n            echo \"VERSION_UPDATED=false\" >> \"$GITHUB_ENV\"\n            echo \"No Version update found in commit\"\n          else\n            echo \"VERSION_UPDATED=true\" >> \"$GITHUB_ENV\"\n            echo \"Version update found in commit\"\n          fi\n\n      - name: Determine new version\n        if: env.VERSION_UPDATED == 'false'\n        id: determine-version\n        run: |\n          PR_TITLE=$(jq -r '.pull_request.title' \"$GITHUB_EVENT_PATH\")\n          if [[ \"$PR_TITLE\" == *\"[FEATURE]\"* ]]; then\n            VERSION_TYPE=\"minor\"\n            echo \"PR set to FEATURE updating minor version\"\n          elif [[ \"$PR_TITLE\" == *\"[BUGFIX]\"* ]]; then\n            VERSION_TYPE=\"patch\"\n            echo \"PR set to BUGFIX updating patch version\"\n          else\n            echo \"No version bump flag found in PR title. Exiting.\"\n            echo \"Edit your PR title to include either FEATURE or BUGFIX\"\n            exit 1\n          fi\n          CURRENT_VERSION=$(cat VERSION)\n          IFS='.' read -r -a VERSION_PARTS <<< \"$CURRENT_VERSION\"\n          if [ \"$VERSION_TYPE\" == \"minor\" ]; then\n            VERSION_PARTS[1]=$((VERSION_PARTS[1]+1))\n            VERSION_PARTS[2]=0\n          elif [ \"$VERSION_TYPE\" == \"patch\" ]; then\n            VERSION_PARTS[2]=$((VERSION_PARTS[2]+1))\n          fi\n          NEW_VERSION=\"${VERSION_PARTS[0]}.${VERSION_PARTS[1]}.${VERSION_PARTS[2]}\"\n          echo \"NEW_VERSION=$NEW_VERSION\" >> $GITHUB_ENV\n          echo \"CURRENT_VERSION=$CURRENT_VERSION\" >> $GITHUB_ENV\n          echo \"New Version: \" $NEW_VERSION\n\n      - name: Update VERSION file\n        if: env.VERSION_UPDATED == 'false'\n        run: |\n          echo \"$NEW_VERSION\" > VERSION\n          git add VERSION\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git commit -m \"[Automated] Increment Version from $CURRENT_VERSION to $NEW_VERSION\"\n          git push origin ${{ github.head_ref }}\n\n      - name: Comment on PR\n        if: env.VERSION_UPDATED == 'false'\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const prNumber = context.issue.number;\n            const newVersion = process.env.NEW_VERSION;\n            github.rest.issues.createComment({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: prNumber,\n              body: `The version has been incremented from ${process.env.CURRENT_VERSION} to ${newVersion} based on the PR title flag.`\n            })\n\n      - name: Set tag for non-default branch\n        if: steps.branch-name.outputs.is_default == 'false' && steps.branch-name.outputs.default_branch != ''\n        run: |\n          echo \"Branch name is ${{ steps.branch-name.outputs.ref_branch }}\"\n          echo \"Main name is ${{ steps.branch-name.outputs.default_branch }}\"\n          echo \"TAG=${{ steps.branch-name.outputs.current_branch }}\" >> $GITHUB_ENV\n", "state": "active", "repository": "automatic-ripping-machine/automatic-ripping-machine"}
{"mined_at": "2024-07-15T17:10:45.126966", "created_at": "2024-07-12T23:07:09+02:00", "updated_at": "2024-07-12T23:07:09+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "automatic-ripping-machine/automatic-ripping-machine"}
{"mined_at": "2024-07-15T17:10:47.508515", "created_at": "2023-05-16T14:51:10+02:00", "updated_at": "2023-05-16T14:56:21+02:00", "name": "test-addon", "path": ".github/workflows/CI.yml", "contents": null, "state": "active", "repository": "bradyajohnston/molecularnodes"}
{"mined_at": "2024-07-15T17:10:48.505391", "created_at": "2023-05-16T06:49:02+02:00", "updated_at": "2023-11-09T13:18:52+01:00", "name": "docs-build-deploy", "path": ".github/workflows/docs.yml", "contents": "name: docs-build-deploy\n\non:\n  workflow_dispatch:\n  push:\n    branches: [\"main\", \"docs-*\"]\n  pull_request: \n    branches: [\"*\"]\n  release:\n    types: [published]\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n    permissions: write-all\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11.7\"\n          cache: pip\n      \n      - uses: quarto-dev/quarto-actions/setup@v2\n        with:\n          version: \"1.4.549\"\n      - name: Build docs using blender\n        run: |\n          wget -nv https://download.blender.org/release/Blender4.1/blender-4.1.0-linux-x64.tar.xz\n          tar -xf blender-4.1.0-linux-x64.tar.xz\n\n          blender-4.1.0-linux-x64/blender --version\n          blender-4.1.0-linux-x64/blender -b --python docs/install.py\n          blender-4.1.0-linux-x64/blender -b --python docs/build_node_docs.py\n\n\n      \n      \n      - name: Build Docs\n        run: make docs-build\n  \n      # push to netlify -------------------------------------------------------\n\n      # set release name ----\n\n      - name: Configure pull release name\n        if: ${{github.event_name == 'pull_request'}}\n        run: |\n          echo \"RELEASE_NAME=pr-${PR_NUMBER}\" >> $GITHUB_ENV\n        env:\n          PR_NUMBER: ${{ github.event.number }}\n      - name: Configure branch release name\n        if: ${{github.event_name != 'pull_request'}}\n        run: |\n          # use branch name, but replace slashes. E.g. feat/a -> feat-a\n          echo \"RELEASE_NAME=${GITHUB_REF_NAME/\\//-}\" >> $GITHUB_ENV\n      # deploy ----\n\n      - name: Create Github Deployment\n        uses: bobheadxi/deployments@v0.4.3\n        if: github.event.pull_request.head.repo.full_name == github.repository\n        id: deployment\n        with:\n          step: start\n          token: ${{ secrets.GITHUB_TOKEN }}\n          env: ${{ env.RELEASE_NAME }}\n          ref: ${{ github.head_ref }}\n          transient: true\n          logs: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'\n\n      - name: Netlify docs preview\n        if: github.event.pull_request.head.repo.full_name == github.repository\n        run: |\n          npm install -g netlify-cli\n          # push main branch to production, others to preview --\n          if [ \"${ALIAS}\" == \"main\" ]; then\n            netlify deploy --dir=docs/_build --alias=\"main\"\n          else\n            netlify deploy --dir=docs/_build --alias=\"${ALIAS}\"\n          fi\n        env:\n          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n          ALIAS: ${{ steps.deployment.outputs.env }}\n\n      - name: Update Github Deployment\n        if: github.event.pull_request.head.repo.full_name == github.repository\n        uses: bobheadxi/deployments@v0.4.3\n        with:\n          step: finish\n          token: ${{ secrets.GITHUB_TOKEN }}\n          status: ${{ job.status }}\n          deployment_id: ${{ steps.deployment.outputs.deployment_id }}\n          env_url: 'https://${{ steps.deployment.outputs.env }}--molecularnodes.netlify.app'\n          logs: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'\n          \n      - name: Deploy Release Documentation\n        uses: peaceiris/actions-gh-pages@v3\n        if: github.event_name == 'release'\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: docs/_build\n", "state": "active", "repository": "bradyajohnston/molecularnodes"}
{"mined_at": "2024-07-15T17:10:49.499983", "created_at": "2024-05-25T09:24:17+02:00", "updated_at": "2024-05-25T09:24:17+02:00", "name": ".github/workflows/mypy.yml", "path": ".github/workflows/mypy.yml", "contents": null, "state": "active", "repository": "bradyajohnston/molecularnodes"}
{"mined_at": "2024-07-15T17:10:50.492772", "created_at": "2023-11-09T10:08:32+01:00", "updated_at": "2024-01-18T03:51:28+01:00", "name": ".github/workflows/releases.yml", "path": ".github/workflows/releases.yml", "contents": null, "state": "active", "repository": "bradyajohnston/molecularnodes"}
{"mined_at": "2024-07-15T17:10:51.584642", "created_at": "2024-05-24T11:08:51+02:00", "updated_at": "2024-05-24T11:08:51+02:00", "name": "Ruff", "path": ".github/workflows/ruff.yml", "contents": null, "state": "active", "repository": "bradyajohnston/molecularnodes"}
{"mined_at": "2024-07-15T17:10:52.602867", "created_at": "2023-03-17T06:42:31+01:00", "updated_at": "2023-03-17T06:42:31+01:00", "name": "test-addon", "path": ".github/workflows/run-tests.yml", "contents": null, "state": "active", "repository": "bradyajohnston/molecularnodes"}
{"mined_at": "2024-07-15T17:10:53.647787", "created_at": "2024-04-05T08:16:27+02:00", "updated_at": "2024-04-09T04:42:37+02:00", "name": "Test in Blender", "path": ".github/workflows/test-addon.yml", "contents": "name: Test in Blender\n\non: \n    push:\n      branches: [\"main\"]\n    pull_request:\n      branches: [\"main\", \"4.1\"]\n    \njobs:\n    build:\n        runs-on: ${{ matrix.os }}\n        strategy:\n            max-parallel: 4\n            fail-fast: false\n            matrix:\n              blender-version: [\"4.1\"]\n              os: [ubuntu-latest, windows-latest, macos-13, macos-14]\n              # os: [macos-13]\n        steps:\n            - uses: actions/checkout@v4\n            - uses: actions/setup-python@v5\n              with:\n                python-version: 3.11.7\n              \n            - name: Test in Blender MacOS Intel\n              if: matrix.os == 'macos-13'\n              run: |\n                curl -L -o blender.dmg https://download.blender.org/release/Blender4.1/blender-4.1.0-macos-x64.dmg\n                hdiutil attach blender.dmg\n                cp -R /Volumes/Blender/Blender.app /Applications/\n                hdiutil detach /Volumes/Blender\n                /Applications/Blender.app/Contents/MacOS/Blender --version\n                /Applications/Blender.app/Contents/MacOS/Blender -b --python tests/install.py\n                /Applications/Blender.app/Contents/MacOS/Blender -b --python tests/run.py -- -v \n            \n            - name: Test in Blender MacOS ARM\n              if: matrix.os == 'macos-14'\n              run: |\n                curl -L -o blender.dmg https://download.blender.org/release/Blender4.1/blender-4.1.0-macos-arm64.dmg\n                hdiutil attach blender.dmg\n                cp -R /Volumes/Blender/Blender.app /Applications/\n                hdiutil detach /Volumes/Blender\n                /Applications/Blender.app/Contents/MacOS/Blender --version\n                /Applications/Blender.app/Contents/MacOS/Blender -b --python tests/install.py\n                /Applications/Blender.app/Contents/MacOS/Blender -b --python tests/run.py -- -v \n                \n            - name: Test in Blender Windows\n              if: matrix.os == 'windows-latest'\n              shell: pwsh\n              run: |\n                Invoke-WebRequest -Uri \"https://download.blender.org/release/Blender4.1/blender-4.1.0-windows-x64.zip\" -OutFile \"blender.zip\"\n                Expand-Archive -Path \"blender.zip\" -DestinationPath \"blender\"\n                .\\blender\\blender-4.1.0-windows-x64\\blender.exe --version\n                .\\blender\\blender-4.1.0-windows-x64\\blender.exe -b --python tests/install.py\n                .\\blender\\blender-4.1.0-windows-x64\\blender.exe -b --python tests/run.py -- -v tests/\n            \n            - name: Test in Blender Linux\n              if: matrix.os == 'ubuntu-latest'\n              run: |\n                wget -nv https://download.blender.org/release/Blender4.1/blender-4.1.0-linux-x64.tar.xz\n                tar -xf blender-4.1.0-linux-x64.tar.xz\n\n                blender-4.1.0-linux-x64/blender --version\n                blender-4.1.0-linux-x64/blender -b --python tests/install.py\n                blender-4.1.0-linux-x64/blender -b --python tests/run.py -- -v tests/ --cov=molecularnodes --cov-report=xml:coverage.xml --ignore=molecularnodes/ui/panel.py\n            \n            - name: Expose coverage as a CI download \n              uses: actions/upload-artifact@v1\n              if: matrix.os == 'ubuntu-latest'\n              with:\n                name: coverage.xml\n                path: coverage.xml\n\n            - name: Upload coverage reports to Codecov\n              if: matrix.os == 'ubuntu-latest'\n              uses: codecov/codecov-action@v3\n    ", "state": "active", "repository": "bradyajohnston/molecularnodes"}
{"mined_at": "2024-07-15T17:10:54.674556", "created_at": "2023-05-17T05:12:52+02:00", "updated_at": "2024-04-08T11:53:36+02:00", "name": "test-addon", "path": ".github/workflows/tests.yml", "contents": "name: test-addon\n\non: \n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\", \"4.1\"]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        blender-version: [\"4.1.0\"]\n        python-version: ['3.11.7']\n        os: [ubuntu-latest, windows-latest, macos-13, macos-14]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      # - run: pip install bpy==${{ matrix.blender-version }}\n      - name: Install\n        run: |\n          pip install poetry\n          poetry install --with=dev\n      \n      - name: Install pyopenvdb\n        if: matrix.os == 'ubuntu-latest'\n        run: |\n          cd $(poetry run python -c \"import os; import bpy; print(os.path.dirname(bpy.__file__)+'/../../../../../')\")\n          svn export https://svn.blender.org/svnroot/bf-blender/trunk/lib/linux_x86_64_glibc_228/python/lib/python3.10/site-packages/pyopenvdb.so@r63589\n          pip install patchelf\n          patchelf --set-rpath '$ORIGIN/bpy/lib' pyopenvdb.so\n          \n      - name: Run Tests\n        run: poetry run python -m pytest --verbose --cov=molecularnodes --cov-report=xml:coverage.xml --ignore=molecularnodes/ui/panel.py -k \"not star\"\n\n      - name: Expose coverage as a CI download # Related to test_addon_blender_advanced.py\n        uses: actions/upload-artifact@v1\n        with:\n          name: coverage.xml\n          path: coverage.xml\n      # setup ssh to check on file system state\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n", "state": "disabled_manually", "repository": "bradyajohnston/molecularnodes"}
{"mined_at": "2024-07-15T17:10:55.701276", "created_at": "2022-05-19T05:19:42+02:00", "updated_at": "2022-05-19T05:19:42+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "bradyajohnston/molecularnodes"}
{"mined_at": "2024-07-15T17:10:57.863169", "created_at": "2022-04-28T13:38:51+02:00", "updated_at": "2022-04-28T13:40:17+02:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": "name: Lint\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: psf/black@stable\n", "state": "active", "repository": "jaseci-labs/jaseci"}
{"mined_at": "2024-07-15T17:10:58.971400", "created_at": "2022-12-16T19:59:56+01:00", "updated_at": "2022-12-16T19:59:56+01:00", "name": "Build and Release Jaseci Studio", "path": ".github/workflows/build-and-release-studio.yml", "contents": "# This workflow will also build the jaseci studio binaries\n\nname: Build and Release Jaseci Studio\n\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  create-release:\n    runs-on: ubuntu-20.04\n    outputs:\n      release_id: ${{ steps.create-release.outputs.result }}\n\n\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: setup node\n        uses: actions/setup-node@v3\n        with:\n          node-version: 16\n          projectPath: \"./jaseci_studio\"\n      - name: Set versions\n        uses: actions/github-script@v6\n        id: set_version\n        with:\n          script: |\n            const tag = context.ref.substring(10)\n            const no_v_tag = tag.replace('v', '')\n            core.setOutput('no-v-tag', no_v_tag)\n      - name: create release\n        id: create-release\n        uses: actions/github-script@v6\n        with:\n          projectPath: \"./jaseci_studio\"\n          script: |\n            const { data } = await github.rest.repos.createRelease({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              tag_name: `v${{steps.set_version.outputs.no-v-tag}}`,\n              name: `Jaseci v${{steps.set_version.outputs.no-v-tag}}`,\n              body: 'Source code and Jaseci Studio executables.',\n              draft: true,\n              prerelease: false\n            })\n            return data.id\n  build-tauri:\n    needs: create-release\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [macos-latest, ubuntu-20.04, windows-latest]\n\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set versions\n        uses: actions/github-script@v6\n        id: set_version\n        with:\n          script: |\n            const tag = context.ref.substring(10)\n            let no_v_tag = tag.replace('v', '')\n            if(no_v_tag.split(\".\")[3]) {\n                no_v_tag = no_v_tag.split(\".\").slice(0, 3).join(\".\")\n            }\n            core.setOutput('no-v-tag', no_v_tag)\n      - name: setup node\n        uses: actions/setup-node@v3\n        with:\n          node-version: 16\n          projectPath: \"./jaseci_studio\"\n      - name: install Rust stable\n        uses: dtolnay/rust-toolchain@stable\n      - name: install dependencies (ubuntu only)\n        if: matrix.platform == 'ubuntu-20.04'\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf\n      - name: prepare stencil ui components\n        run: yarn setup:ui\n        working-directory: \"./jaseci_studio\"\n      - name: install app dependencies and build it\n        run: yarn && yarn build\n        working-directory: \"./jaseci_studio\"\n      - name: bump version\n        id: bump-version\n        uses: jossef/action-set-json-field@v2.1\n        with:\n          file: ./jaseci_studio/src-tauri/tauri.conf.json\n          field: package.version\n          value: ${{ steps.set_version.outputs.no-v-tag }}\n      - uses: tauri-apps/tauri-action@v0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          releaseId: ${{ needs.create-release.outputs.release_id }}\n          projectPath: \"./jaseci_studio\"\n\n  publish-release:\n    runs-on: ubuntu-20.04\n    needs: [create-release, build-tauri]\n\n    steps:\n      - name: publish release\n        id: publish-release\n        uses: actions/github-script@v6\n        env:\n          release_id: ${{ needs.create-release.outputs.release_id }}\n        with:\n          projectPath: \"./jaseci_studio\"\n          script: |\n            github.rest.repos.updateRelease({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              release_id: process.env.release_id,\n              draft: false,\n              prerelease: false\n            })", "state": "active", "repository": "jaseci-labs/jaseci"}
{"mined_at": "2024-07-15T17:11:00.207445", "created_at": "2022-11-29T20:27:56+01:00", "updated_at": "2022-11-29T20:27:56+01:00", "name": "Build and Release to Pypi and DockerHub", "path": ".github/workflows/build-and-release.yml", "contents": "# This workflow will upload a Python Package using Twine when a new tag is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# This workflow will also build and upload two docker images to dockerhub\n\nname: Build and Release to Pypi and DockerHub\n\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  push_jaseci_core_to_pypi:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n          pip install build\n\n      - name: Push to pypi\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.JASECI_PYPI_API_TOKEN }}\n        run: |\n          cd jaseci_core\n          python3 -m build\n          python3 -m twine upload --skip-existing dist/*\n\n  push_jaseci_serv_to_pypi:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Setup Node\n        uses: actions/setup-node@v3\n      - name: Generate Studio Files\n        run: |\n          pip install beautifulsoup4==4.12.0\n          sh ./export_studio.sh\n        working-directory: \"./jaseci_studio\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n          pip install build\n      - name: Push to pypi\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.JASECI_SERV_PYPI_API_TOKEN }}\n        run: |\n          cd jaseci_serv\n          python3 -m build\n          python3 -m twine upload --skip-existing dist/*\n\n  push_jac_nlp_to_pypi:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n          pip install build\n\n      - name: Push to pypi\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.JAC_AI_PYPI_TOKEN }}\n        run: |\n          cd jaseci_ai_kit/jac_nlp\n          python3 -m build\n          python3 -m twine upload --skip-existing dist/*\n\n  push_jac_speech_to_pypi:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n          pip install build\n\n      - name: Push to pypi\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.JAC_AI_PYPI_TOKEN }}\n        run: |\n          cd jaseci_ai_kit/jac_speech\n          python3 -m build\n          python3 -m twine upload --skip-existing dist/*\n\n  push_jac_vision_to_pypi:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n          pip install build\n\n      - name: Push to pypi\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.JAC_AI_PYPI_TOKEN }}\n        run: |\n          cd jaseci_ai_kit/jac_vision\n          python3 -m build\n          python3 -m twine upload --skip-existing dist/*\n\n  push_jac_misc_to_pypi:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n          pip install build\n\n      - name: Push to pypi\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.JAC_AI_PYPI_TOKEN }}\n        run: |\n          cd jaseci_ai_kit/jac_misc\n          python3 -m build\n          python3 -m twine upload --skip-existing dist/*\n\n  build-and-release-jaseci-docker-image:\n    name: Build Jaseci Docker image and push to dockerhub\n    runs-on: ubuntu-latest\n    needs: [push_jaseci_core_to_pypi, push_jaseci_serv_to_pypi]\n\n    steps:\n      # Someimtes there is a delay before the new pypi pacakges become available\n      - name: Sleep for 300s\n        uses: juliangruber/sleep-action@v1\n        with:\n          time: 300s\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      # setup Docker build action\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n\n      # login to dockerhub\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      # a little string manipulation to get the tag number without the leading letter v\n      - name: Set versions\n        uses: actions/github-script@v6\n        id: set_version\n        with:\n          script: |\n            const tag = context.ref.substring(10)\n            const no_v_tag = tag.replace('v', '')\n            core.setOutput('no-v-tag', no_v_tag)\n\n      # build the image and push to docker hub\n      # 1. jaseci\n      - name: Build and push image -- Jaseci\n        uses: docker/build-push-action@v3\n        with:\n          push: true\n          context: ./support/docker/\n          tags: |\n            jaseci/jaseci:${{steps.set_version.outputs.no-v-tag}}\n            jaseci/jaseci:latest\n          build-args: |\n            JASECI_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            JASECI_SERV_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n          file: ./support/docker/jaseci.Dockerfile\n\n  build-and-release-jac-nlp-image:\n    name: Build jac-nlp Docker image and push to dockerhub\n    runs-on: ubuntu-latest\n    needs:\n      [\n        push_jaseci_core_to_pypi,\n        push_jaseci_serv_to_pypi,\n        push_jac_nlp_to_pypi,\n      ]\n\n    steps:\n      # Someimtes there is a delay before the new pypi pacakges become available\n      - name: Sleep for 300s\n        uses: juliangruber/sleep-action@v1\n        with:\n          time: 300s\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      # setup Docker build action\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n\n      # login to dockerhub\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      # a little string manipulation to get the tag number without the leading letter v\n      - name: Set versions\n        uses: actions/github-script@v6\n        id: set_version\n        with:\n          script: |\n            const tag = context.ref.substring(10)\n            const no_v_tag = tag.replace('v', '')\n            core.setOutput('no-v-tag', no_v_tag)\n\n      # build the image and push to docker hub\n      - name: Build and push image -- Jaseci with jaseci-ai-kit\n        uses: docker/build-push-action@v3\n        with:\n          push: true\n          context: ./support/docker/\n          tags: |\n            jaseci/jac-nlp:${{steps.set_version.outputs.no-v-tag}}\n            jaseci/jac-nlp:latest\n          build-args: |\n            JASECI_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            JASECI_SERV_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            JASECI_AI_KIT_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            BUILD_WITH=jac-nlp\n          file: ./support/docker/jaseci.Dockerfile\n\n  build-and-release-jac-speech-image:\n    name: Build jac-speech Docker image and push to dockerhub\n    runs-on: ubuntu-latest\n    needs:\n      [\n        push_jaseci_core_to_pypi,\n        push_jaseci_serv_to_pypi,\n        push_jac_speech_to_pypi,\n      ]\n\n    steps:\n      # Someimtes there is a delay before the new pypi pacakges become available\n      - name: Sleep for 300s\n        uses: juliangruber/sleep-action@v1\n        with:\n          time: 300s\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      # setup Docker build action\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n\n      # login to dockerhub\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      # a little string manipulation to get the tag number without the leading letter v\n      - name: Set versions\n        uses: actions/github-script@v6\n        id: set_version\n        with:\n          script: |\n            const tag = context.ref.substring(10)\n            const no_v_tag = tag.replace('v', '')\n            core.setOutput('no-v-tag', no_v_tag)\n\n      # build the image and push to docker hub\n      - name: Build and push image -- Jaseci with jaseci-ai-kit\n        uses: docker/build-push-action@v3\n        with:\n          push: true\n          context: ./support/docker/\n          tags: |\n            jaseci/jac-speech:${{steps.set_version.outputs.no-v-tag}}\n            jaseci/jac-speech:latest\n          build-args: |\n            JASECI_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            JASECI_SERV_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            JASECI_AI_KIT_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            BUILD_WITH=jac-speech\n          file: ./support/docker/jaseci.Dockerfile\n\n  build-and-release-jac-vision-image:\n    name: Build jac-vision Docker image and push to dockerhub\n    runs-on: ubuntu-latest\n    needs:\n      [\n        push_jaseci_core_to_pypi,\n        push_jaseci_serv_to_pypi,\n        push_jac_vision_to_pypi,\n      ]\n\n    steps:\n      # Someimtes there is a delay before the new pypi pacakges become available\n      - name: Sleep for 300s\n        uses: juliangruber/sleep-action@v1\n        with:\n          time: 300s\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      # setup Docker build action\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n\n      # login to dockerhub\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      # a little string manipulation to get the tag number without the leading letter v\n      - name: Set versions\n        uses: actions/github-script@v6\n        id: set_version\n        with:\n          script: |\n            const tag = context.ref.substring(10)\n            const no_v_tag = tag.replace('v', '')\n            core.setOutput('no-v-tag', no_v_tag)\n\n      # build the image and push to docker hub\n      - name: Build and push image -- Jaseci with jaseci-ai-kit\n        uses: docker/build-push-action@v3\n        with:\n          push: true\n          context: ./support/docker/\n          tags: |\n            jaseci/jac-vision:${{steps.set_version.outputs.no-v-tag}}\n            jaseci/jac-vision:latest\n          build-args: |\n            JASECI_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            JASECI_SERV_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            JASECI_AI_KIT_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            BUILD_WITH=jac-vision\n          file: ./support/docker/jaseci.Dockerfile\n\n  build-and-release-jac-misc-image:\n    name: Build jac-misc Docker image and push to dockerhub\n    runs-on: ubuntu-latest\n    needs:\n      [\n        push_jaseci_core_to_pypi,\n        push_jaseci_serv_to_pypi,\n        push_jac_misc_to_pypi,\n      ]\n\n    steps:\n      # Someimtes there is a delay before the new pypi pacakges become available\n      - name: Sleep for 300s\n        uses: juliangruber/sleep-action@v1\n        with:\n          time: 300s\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      # setup Docker build action\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n\n      # login to dockerhub\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      # a little string manipulation to get the tag number without the leading letter v\n      - name: Set versions\n        uses: actions/github-script@v6\n        id: set_version\n        with:\n          script: |\n            const tag = context.ref.substring(10)\n            const no_v_tag = tag.replace('v', '')\n            core.setOutput('no-v-tag', no_v_tag)\n\n      # build the image and push to docker hub\n      - name: Build and push image -- Jaseci with jaseci-ai-kit\n        uses: docker/build-push-action@v3\n        with:\n          push: true\n          context: ./support/docker/\n          tags: |\n            jaseci/jac-misc:${{steps.set_version.outputs.no-v-tag}}\n            jaseci/jac-misc:latest\n          build-args: |\n            JASECI_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            JASECI_SERV_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            JASECI_AI_KIT_PYPI_VERSION=${{steps.set_version.outputs.no-v-tag}}\n            BUILD_WITH=jac-misc\n          file: ./support/docker/jaseci.Dockerfile", "state": "active", "repository": "jaseci-labs/jaseci"}
{"mined_at": "2024-07-15T17:11:01.432823", "created_at": "2023-03-15T13:32:55+01:00", "updated_at": "2023-03-17T14:41:06+01:00", "name": "Jac Extension Unit Tests", "path": ".github/workflows/jac-extension-test.yml", "contents": "name: Jac Extension Unit Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    services:\n      redis:\n        image: redis\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 6379:6379\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install black flake8==3.7.9 isort\n      - name: Install jaseci_core\n        run: |\n          pip3 install jaseci_core/\n      - name: Install other deps\n        run: |\n          pip3 install mock\n      - name: Verify installation\n        run: |\n          jsctl\n      - name: Linting\n        continue-on-error: true\n        run: |\n          flake8 --exclude=settings.py,*migrations*,jac_parse,ci_app --max-line-length=88 --extend-ignore = E203,\n      - name: jac extension unit tests\n        if: always()\n        run: |\n          cd support/vscode_extension/jac\n          pytest -x\n", "state": "active", "repository": "jaseci-labs/jaseci"}
{"mined_at": "2024-07-15T17:11:02.549050", "created_at": "2023-03-28T20:22:59+02:00", "updated_at": "2023-03-30T12:53:57+02:00", "name": "Jac_misc Tests", "path": ".github/workflows/jac-misc-test.yml", "contents": "name: Jac_misc Tests\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - jaseci_ai_kit/jac_misc/**\n  pull_request:\n    branches: [ main ]\n    paths:\n      - jaseci_ai_kit/jac_misc/**\n  workflow_dispatch:\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Set swap space\n      uses: pierotofy/set-swap-space@master\n      with:\n        swap-size-gb: 5\n\n    - uses: actions/checkout@v2\n    - uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libsndfile1 ffmpeg\n        sudo apt-get install -y espeak-ng\n        python -m pip install --upgrade pip\n\n    - name: Install jaseci_core\n      run: |\n        pip3 install jaseci_core/\n\n    - name: Install jac_misc\n      run: |\n        cd jaseci_ai_kit/jac_misc\n        pip install -e .[all]\n        pip install darts==0.24.0\n        pip install jaseci\n\n    - name: Verify jac_misc installation\n      run: |\n        python -c \"import jac_misc\"\n\n    - name: Run tests\n      run: |\n        cd jaseci_ai_kit/jac_misc\n        source ../test.sh\n", "state": "active", "repository": "jaseci-labs/jaseci"}
{"mined_at": "2024-07-15T17:11:03.694260", "created_at": "2023-03-28T20:10:12+02:00", "updated_at": "2023-03-30T12:53:57+02:00", "name": "Jac_nlp Tests", "path": ".github/workflows/jac-nlp-test.yml", "contents": "name: Jac_nlp Tests\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - jaseci_ai_kit/jac_nlp/**\n  pull_request:\n    branches: [ main ]\n    paths:\n      - jaseci_ai_kit/jac_nlp/**\n  workflow_dispatch:\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Set swap space\n      uses: pierotofy/set-swap-space@master\n      with:\n        swap-size-gb: 5\n\n    - uses: actions/checkout@v2\n    - uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libsndfile1 ffmpeg\n        sudo apt-get install -y espeak-ng\n        python -m pip install --upgrade pip\n\n    - name: Install jaseci_core\n      run: |\n        cd jaseci_core\n        pip install -e .\n        cd ..\n\n    - name: Install jac_nlp\n      run: |\n        cd jaseci_ai_kit/jac_nlp\n        pip install -e .[all]\n\n    - name: Verify jac_nlp installation\n      run: |\n        python -c \"import jac_nlp\"\n\n    - name: Run tests\n      run: |\n        cd jaseci_ai_kit/jac_nlp\n        source ../test.sh\n", "state": "active", "repository": "jaseci-labs/jaseci"}
{"mined_at": "2024-07-15T17:11:04.914498", "created_at": "2023-03-28T20:22:59+02:00", "updated_at": "2023-03-30T12:53:57+02:00", "name": "Jac_speech Tests", "path": ".github/workflows/jac-speech-test.yml", "contents": "name: Jac_speech Tests\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - jaseci_ai_kit/jac_speech/**\n  pull_request:\n    branches: [ main ]\n    paths:\n      - jaseci_ai_kit/jac_speech/**\n  workflow_dispatch:\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Set swap space\n      uses: pierotofy/set-swap-space@master\n      with:\n        swap-size-gb: 5\n\n    - uses: actions/checkout@v2\n    - uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libsndfile1 ffmpeg\n        sudo apt-get install -y espeak-ng\n        python -m pip install --upgrade pip\n\n    - name: Install jaseci_core\n      run: |\n        pip3 install jaseci_core/\n\n    - name: Install jac_speech\n      run: |\n        cd jaseci_ai_kit/jac_speech\n        pip install -e .[all]\n        pip install TTS==0.12.0\n\n    - name: Verify jac_speech installation\n      run: |\n        python -c \"import jac_speech\"\n\n    - name: Run tests\n      run: |\n        cd jaseci_ai_kit/jac_speech\n        source ../test.sh\n", "state": "active", "repository": "jaseci-labs/jaseci"}
{"mined_at": "2024-07-15T17:11:06.040611", "created_at": "2023-03-28T20:10:12+02:00", "updated_at": "2023-03-30T12:53:58+02:00", "name": "Jac_vision Tests", "path": ".github/workflows/jac-vision-test.yml", "contents": "name: Jac_vision Tests\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - jaseci_ai_kit/jac_vision/**\n  pull_request:\n    branches: [ main ]\n    paths:\n      - jaseci_ai_kit/jac_vision/**\n  workflow_dispatch:\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Set swap space\n      uses: pierotofy/set-swap-space@master\n      with:\n        swap-size-gb: 5\n\n    - uses: actions/checkout@v2\n    - uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libsndfile1 ffmpeg\n        sudo apt-get install -y espeak-ng\n        python -m pip install --upgrade pip\n\n    - name: Install jaseci_core\n      run: |\n        pip3 install jaseci_core/\n\n    - name: Install jac_vision\n      run: |\n        cd jaseci_ai_kit/jac_vision\n        pip install -e .[all]\n\n    - name: Verify jac_vision installation\n      run: |\n        python -c \"import jac_vision\"\n\n    - name: Run tests\n      run: |\n        cd jaseci_ai_kit/jac_vision\n        source ../test.sh\n", "state": "active", "repository": "jaseci-labs/jaseci"}
{"mined_at": "2024-07-15T17:11:07.051352", "created_at": "2022-12-07T22:14:39+01:00", "updated_at": "2022-12-07T23:10:51+01:00", "name": "jaseci_core Unit Tests", "path": ".github/workflows/jaseci-core-test.yml", "contents": "name: jaseci_core Unit Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    services:\n      redis:\n        image: redis\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 6379:6379\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install black flake8==3.7.9 isort\n\n      - name: Install jaseci_core\n        run: |\n          pip3 install jaseci_core/\n      - name: Verify installation\n        run: |\n          jsctl\n      - name: Linting\n        continue-on-error: true\n        run: |\n          flake8 --exclude=settings.py,*migrations*,jac_parse,ci_app --max-line-length=88 --extend-ignore = E203,\n      - name: jaseci_core unit tests\n        if: always()\n        run: |\n          cd jaseci_core/\n          pip install pytest-cov\n          pytest --cov=./ --cov-report=xml\n      # - name: Upload coverage reports to Codecov\n      #   uses: codecov/codecov-action@v3\n      #   with:\n      #     token: ${{ secrets.CODECOV_TOKEN }}\n      #     directory: jaseci_core/\n\n  elastic-action-tests:\n    runs-on: ubuntu-latest\n\n    services:\n      redis:\n        image: redis\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 6379:6379\n      elasticsearch:\n        image: elasticsearch:8.6.2\n        options: >-\n          -e \"discovery.type=single-node\"\n          -e \"ELASTIC_PASSWORD=changeme\"\n          --health-cmd \"curl --header \\\"Authorization: basic ZWxhc3RpYzpjaGFuZ2VtZQ==\\\" https://localhost:9200/_cluster/health -k\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 10\n        ports:\n          - 9200:9200\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n      - name: Install jaseci_core\n        run: |\n          pip3 install jaseci_core/\n      - name: Elastic action tests\n        if: always()\n        run: |\n          cd jaseci_core/\n          pytest -k ElasticTest -x\n        env:\n          ELASTIC_HOST: localhost\n          ELASTIC_AUTH: \"basic ZWxhc3RpYzpjaGFuZ2VtZQ==\"", "state": "active", "repository": "jaseci-labs/jaseci"}
{"mined_at": "2024-07-15T17:11:08.293314", "created_at": "2022-12-07T22:14:39+01:00", "updated_at": "2022-12-07T23:10:51+01:00", "name": "jaseci_serv Tests", "path": ".github/workflows/jaseci-serv-test.yml", "contents": "name: jaseci_serv Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    services:\n      redis:\n        image: redis\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 6379:6379\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade pytz==2022.1\n          sudo apt-get install -y redis-tools\n\n      - name: Install jaseci_core\n        run: |\n          pip3 install jaseci_core/\n      - name: Verify installation\n        run: |\n          jsctl\n\n      - name: Install jaseci_serv and run tests\n        if: always()\n        run: |\n          redis-cli FLUSHALL\n          cd jaseci_serv/\n          source install_live.sh\n          jsserv test\n        env:\n          REDIS_ENABLED: \"true\"\n\n      - name: test jaseci_serv without redis\n        run: |\n          cd jaseci_serv/\n          pytest -x\n        env:\n          REDIS_ENABLED: \"false\"", "state": "active", "repository": "jaseci-labs/jaseci"}
{"mined_at": "2024-07-15T17:11:09.524275", "created_at": "2023-01-12T11:48:41+01:00", "updated_at": "2023-01-20T14:47:18+01:00", "name": "Jaseci Studio Tests", "path": ".github/workflows/jaseci-studio-test.yml", "contents": "name: Jaseci Studio Tests\n\non:\n  push:\n    branches: [main]\n    paths:\n      - jaseci_studio/**\n  pull_request:\n    branches: [main]\n    paths:\n      - jaseci_studio/**\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: prepare stencil ui components\n        run: yarn setup:ui\n        working-directory: \"./jaseci_studio\"\n      - name: install dependencies\n        run: yarn install && npx playwright install --with-deps\n        working-directory: \"./jaseci_studio\"\n      - name: run unit test\n        run: yarn test:unit\n        working-directory: \"./jaseci_studio\"\n      - name: run end-to-end tests\n        run: yarn test:e2e\n        working-directory: \"./jaseci_studio\"\n", "state": "active", "repository": "jaseci-labs/jaseci"}
{"mined_at": "2024-07-15T17:11:10.545183", "created_at": "2022-03-31T03:55:20+02:00", "updated_at": "2022-04-12T14:38:52+02:00", "name": "jskit regression test", "path": ".github/workflows/jskit_test.yml", "contents": null, "state": "disabled_manually", "repository": "jaseci-labs/jaseci"}
{"mined_at": "2024-07-15T17:11:12.821587", "created_at": "2023-03-22T14:14:33+01:00", "updated_at": "2023-03-22T14:14:33+01:00", "name": "Add new issues to OL Engineering Project", "path": ".github/workflows/project_automation.yaml", "contents": "---\nname: Add new issues to OL Engineering Project\n\non:\n  issues:\n    types:\n    - opened\n\njobs:\n  add-to-project:\n    name: Add issue to project\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/add-to-project@v1.0.1\n      with:\n          # You can target a project in a different organization\n          # to the issue\n        project-url: https://github.com/orgs/mitodl/projects/21\n        github-token: ${{ secrets.GH_PROJECT_AUTOMATION_TOKEN }}\n", "state": "active", "repository": "mitodl/ol-data-platform"}
{"mined_at": "2024-07-15T17:11:14.145024", "created_at": "2023-10-27T17:06:40+02:00", "updated_at": "2023-10-27T17:06:40+02:00", "name": "Publish dbt docs to GH Pages", "path": ".github/workflows/publish_dbt_docs.yaml", "contents": "---\nname: \"Publish dbt docs to GH Pages\"\n\n# Triggers\non:\n  # Triggers the workflow on push to main branch\n  push:\n    branches:\n    - main\n  # Triggers the workflow manually from GUI\n  workflow_dispatch:\n\njobs:\n  # Build job\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: \"Step 01 - Checkout current branch\"\n      id: step-01\n      uses: actions/checkout@v4\n\n    - name: \"Step 02 - Install dbt\"\n      id: step-02\n      run: pip3 install dbt-duckdb\n\n    - name: \"Step 03 - Verify dbt\"\n      id: step-03\n      run: dbt --version\n\n    - name: \"Step 04 - Compile dbt\"\n      id: step-04\n      working-directory: ./src/ol_dbt/\n      run: |\n        ls -ltra\n        export DBT_PROFILES_DIR=$PWD\n        dbt deps\n        dbt debug -t dev\n        dbt compile -t dev\n\n    - name: \"Step 05 - Generate dbt docs\"\n      id: step-05\n      working-directory: ./src/ol_dbt/\n      run: |\n        export DBT_PROFILES_DIR=$PWD\n        dbt deps\n        dbt docs generate -t dev\n        cd target\n        mkdir ${{ github.workspace }}/dbt_docs\n        cp *.json *.html graph.gpickle ${{ github.workspace }}/dbt_docs\n        ls -ltra ${{ github.workspace }}/dbt_docs\n\n    - name: \"Step 06 - Upload pages to artifact\"\n      id: step-06\n      uses: actions/upload-pages-artifact@v3\n      with:\n        path: ${{ github.workspace }}/dbt_docs\n\n    - name: \"Step 07 - Zip artifact\"\n      id: step-07\n      run: zip -jrq dbt_docs.zip ${{ github.workspace }}/dbt_docs\n\n    - name: \"Step 08 - Upload artifact for deployment job\"\n      id: step-08\n      uses: actions/upload-artifact@v4\n      with:\n        name: dbt_docs\n        path: dbt_docs.zip\n\n  # Deploy to Github pages\n  deploy-to-github-pages:\n    # Add a dependency to the build job\n    needs: build\n\n    # Grant GITHUB_TOKEN the permissions required to make a Pages deployment\n    permissions:\n      pages: write # to deploy to Pages\n      id-token: write # to verify the deployment originates from an appropriate source\n\n    # Deploy to the github-pages environment\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    # Specify runner + deployment step\n    runs-on: ubuntu-latest\n    steps:\n    - name: Deploy to GitHub Pages\n      id: deployment\n      uses: actions/deploy-pages@v4   # or the latest \"vX.X.X\" version tag for this action\n", "state": "active", "repository": "mitodl/ol-data-platform"}
{"mined_at": "2024-07-15T17:11:15.410201", "created_at": "2024-04-05T15:48:45+02:00", "updated_at": "2024-04-05T15:48:45+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mitodl/ol-data-platform"}
{"mined_at": "2024-07-15T17:11:18.225740", "created_at": "2024-06-25T00:40:28+02:00", "updated_at": "2024-06-27T23:51:32+02:00", "name": "ReFrame CI", "path": ".github/workflows/codecov.yaml", "contents": null, "state": "active", "repository": "reframe-hpc/reframe"}
{"mined_at": "2024-07-15T17:11:19.306371", "created_at": "2020-11-16T15:31:38+01:00", "updated_at": "2023-03-14T18:21:48+01:00", "name": "ReFrame CI", "path": ".github/workflows/main.yml", "contents": "name: ReFrame CI\n\non: [push, pull_request]\n\njobs:\n  unittest:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        ./bootstrap.sh\n    - name: Generic Unittests\n      if: matrix.python-version != '3.8'\n      run: |\n        ./test_reframe.py\n    - name: Generic Unittests and Coverage Report\n      if:  matrix.python-version == '3.8'\n      run: |\n        python -m pip install coverage\n        coverage run --source=reframe ./test_reframe.py\n        coverage report -m\n\n  unittest-py36:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: ['3.6']\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies and docs\n      run: |\n        ./bootstrap.sh +docs\n    - name: Generic Unittests\n      run: |\n        ./test_reframe.py\n\n  unittest-macos:\n    runs-on: macos-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: |\n        ./bootstrap.sh\n    - name: Generic Unittests\n      run: |\n        ./test_reframe.py\n\n  modulestest:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        modules-version: [lmod, lmod77, tmod32, tmod4]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Login to GitHub Container Registry\n      uses: docker/login-action@v2\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n    - name: Build Image for ${{ matrix.modules-version }}\n      run: |\n        docker build -f ci-scripts/dockerfiles/reframe-${{ matrix.modules-version }}.dockerfile -t reframe-${{ matrix.modules-version }}:latest .\n    - name: Run Unittests\n      run: |\n        docker run reframe-${{ matrix.modules-version }}:latest\n\n  eb-spack-howto:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Login to GitHub Container Registry\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n    - name: Build Image for Tutorial Tests\n      run: |\n        echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login ghcr.io -u $ --password-stdin\n        docker build -f ci-scripts/dockerfiles/eb-spack-howto.dockerfile -t reframe-tutorials:latest .\n        docker logout\n    - name: Run Tutorial Tests\n      run: |\n        docker run reframe-tutorials:latest\n\n  unusedimports:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Lint Code Base\n      uses: super-linter/super-linter@v6\n      env:\n        VALIDATE_ALL_CODEBASE: false\n        VALIDATE_PYTHON_FLAKE8: true\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  wheelvalidation:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Generate Wheel\n        run: |\n          python -m pip install --upgrade pip setuptools build\n          python -m build\n      - name: Install Wheel\n        run: |\n          python -m pip install dist/ReFrame_HPC*.whl\n      - name: Test Installation\n        run: |\n          reframe -V\n          reframe -l\n\n  docvalidation:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Doc Requirements\n        run: |\n          python -m pip install -r docs/requirements.txt\n      - name: Build documentation\n        run: |\n          make -C docs\n", "state": "active", "repository": "reframe-hpc/reframe"}
{"mined_at": "2024-07-15T17:11:20.336850", "created_at": "2021-01-18T12:11:24+01:00", "updated_at": "2021-01-18T12:11:24+01:00", "name": "Deploy and Publish ReFrame to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Deploy and Publish ReFrame to PyPI\n\non:\n  release:\n    types: [prereleased, released]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Generate dist packages\n        run: |\n          python -m pip install --upgrade pip setuptools build\n          python -m build\n      - name: Publish ReFrame to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          verbose: true\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "reframe-hpc/reframe"}
{"mined_at": "2024-07-15T17:11:22.051605", "created_at": "2022-09-17T20:00:44+02:00", "updated_at": "2022-09-28T19:23:32+02:00", "name": "Test Flux Scheduler", "path": ".github/workflows/test-flux.yaml", "contents": "name: Test Flux Scheduler\non:\n  pull_request: []\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      packages: read\n    strategy:\n      fail-fast: false\n      matrix:\n        container: ['fluxrm/flux-sched:focal']\n\n    container:\n      image: ${{ matrix.container }}\n      options: \"--platform=linux/amd64 --user root -it --init\"\n\n    name: ${{ matrix.container }}\n    steps:\n      - name: Make Space\n        run: |\n          rm -rf /usr/share/dotnet\n          rm -rf /opt/ghc\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install Reframe\n        run: |\n          apt-get update && apt-get install -y python3-pip curl\n          /bin/bash ./bootstrap.sh\n          export PATH=$PWD/bin:$PATH\n          which reframe\n\n      # Any additional examples added here will be tested\n      - name: Start Flux and Run Test\n        run: |\n          export PATH=$PWD/bin:$PATH\n          which reframe\n          flux start reframe -c examples/howto/flux -C examples/howto/flux/settings.py -l\n          flux start reframe -c examples/howto/flux -C examples/howto/flux/settings.py -r\n          flux start python3 ./test_reframe.py --rfm-user-config=examples/howto/flux/settings.py -vvvv\n", "state": "active", "repository": "reframe-hpc/reframe"}
{"mined_at": "2024-07-15T17:11:24.279017", "created_at": "2022-07-16T22:43:02+02:00", "updated_at": "2024-02-08T14:41:12+01:00", "name": "Build Test", "path": ".github/workflows/build-test.yml", "contents": null, "state": "disabled_manually", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:25.326957", "created_at": "2024-03-12T14:38:56+01:00", "updated_at": "2024-03-12T14:38:56+01:00", "name": "Build wheels", "path": ".github/workflows/build-wheels.yml", "contents": "name: Build wheels\n\non:\n  # Run daily at 1:23 UTC\n  schedule:\n    - cron: '23 1 * * *'\n  # Run on demand with workflow dispatch\n  workflow_dispatch:\n  # Use from other workflows\n  workflow_call:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  determine-source-date-epoch:\n    name: \"Determine SOURCE_DATE_EPOCH\"\n    runs-on: ubuntu-latest\n    outputs:\n      source-date-epoch: ${{ steps.log.outputs.source-date-epoch }}\n    if: github.repository_owner == 'scikit-hep'\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 0\n\n      - id: log\n        name: Compute SOURCE_DATE_EPOCH\n        run: |\n          # Find latest unix timestamp in awkward-cpp, and the kernel generation files\n          epoch=$( git log -1 --format=%at -- awkward-cpp kernel-specification.yml kernel-test-data.json )\n          echo \"source-date-epoch=$epoch\" >> $GITHUB_OUTPUT\n\n  make_sdist:\n    name: \"Build awkward-cpp sdist\"\n    runs-on: ubuntu-latest\n    needs: [determine-source-date-epoch]\n    env:\n      SOURCE_DATE_EPOCH: ${{ needs.determine-source-date-epoch.outputs.source-date-epoch }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Prepare build files\n      run: pipx run nox -s prepare\n\n    - name: Build awkward-cpp sdist\n      run: pipx run build --sdist awkward-cpp\n\n    - name: Check metadata\n      run: pipx run twine check awkward-cpp/dist/*\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: awkward-cpp-sdist\n        path: awkward-cpp/dist/*.tar.gz\n\n  build_wheels:\n    needs: [determine-source-date-epoch]\n    name: \"Wheel awkward-cpp: ${{ matrix.type }} ${{ matrix.arch }} on ${{ matrix.os }} with ${{ matrix.build }}\"\n    runs-on: ${{ matrix.os }}\n    env:\n      SOURCE_DATE_EPOCH: ${{ needs.determine-source-date-epoch.outputs.source-date-epoch }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-12]\n        arch: [auto64]\n        build: [\"cp\", \"pp\"]\n\n        include:\n        - os: macos-12\n          type: \"Universal\"\n          arch: universal2\n          build: \"cp\"\n\n        - os: windows-latest\n          arch: auto64\n          build: \"cp\"\n\n        - os: windows-latest\n          arch: auto32\n          build: \"cp{38,39}-\"\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Prepare build files\n      run: pipx run nox -s prepare\n\n    - uses: pypa/cibuildwheel@v2.18.1\n      env:\n        CIBW_BUILD: \"${{ matrix.build }}*\"\n        CIBW_ARCHS: ${{ matrix.arch }}\n      with:\n        config-file: cibuildwheel.toml\n        package-dir: awkward-cpp\n\n    - name: Check metadata\n      shell: python\n      run: |\n        import subprocess, glob\n        subprocess.run(\n          [\"pipx\", \"run\", \"twine\", \"check\", *glob.glob(\"wheelhouse/*.whl\")],\n          check=True\n        )\n\n    - name: Upload wheels\n      uses: actions/upload-artifact@v4\n      with:\n        name: awkward-cpp-wheels-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.build }}\n        path: wheelhouse/*.whl\n\n  build_alt_wheels:\n    needs: [determine-source-date-epoch]\n    name: \"Wheel awkward-cpp: ${{ matrix.python }} on ${{ matrix.arch }}\"\n    runs-on: ubuntu-latest\n    env:\n      SOURCE_DATE_EPOCH: ${{ needs.determine-source-date-epoch.outputs.source-date-epoch }}\n    strategy:\n      matrix:\n        python: [38, 39, 310, 311, 312]\n        arch: [aarch64]\n    steps:\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Prepare build files\n      run: pipx run nox -s prepare\n\n    - uses: docker/setup-qemu-action@v3.0.0\n\n    - uses: pypa/cibuildwheel@v2.18.1\n      env:\n        CIBW_BUILD: cp${{ matrix.python }}-*\n        CIBW_ARCHS: ${{ matrix.arch }}\n      with:\n        config-file: cibuildwheel.toml\n        package-dir: awkward-cpp\n\n    - name: Check metadata\n      shell: python\n      run: |\n        import subprocess, glob\n        subprocess.run(\n          [\"pipx\", \"run\", \"twine\", \"check\", *glob.glob(\"wheelhouse/*.whl\")],\n          check=True\n        )\n\n    - name: Upload wheels\n      uses: actions/upload-artifact@v4\n      with:\n        name: awkward-cpp-wheels-${{ matrix.arch }}-py${{ matrix.python }}\n        path: wheelhouse/*.whl\n\n  build_awkward_wheel:\n    name: \"Build awkward sdist and wheel\"\n    runs-on: ubuntu-latest\n    needs: [determine-source-date-epoch]\n    env:\n      SOURCE_DATE_EPOCH: ${{ needs.determine-source-date-epoch.outputs.source-date-epoch }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Prepare build files\n      run: pipx run nox -s prepare\n\n    - name: Build distributions\n      run: pipx run build\n\n    - name: Check metadata\n      run: pipx run twine check dist/*\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: awkward-wheel\n        path: dist/*\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:26.377900", "created_at": "2022-10-03T18:30:06+02:00", "updated_at": "2022-10-03T18:30:06+02:00", "name": "Codecov", "path": ".github/workflows/coverage.yml", "contents": "name: Codecov\n\non:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - README.md\n      - CONTRIBUTING.md\n      - CITATION.cff\n      - LICENSE\n      - .readthedocs.yml\n      - docs-img/**\n      - docs/**\n      - awkward-cpp/docs/**\n      - studies/**\n\n  workflow_dispatch:\n\nconcurrency:\n  group: 'coverage-${{ github.head_ref || github.run_id }}'\n  cancel-in-progress: true\n\nenv:\n  # Leverage reproducible builds by setting a constant SOURCE_DATE_EPOCH\n  # This will ensure that the hash of the awkward-cpp directory remains\n  # constant for unchanged files, meaning that it can be used for caching\n  SOURCE_DATE_EPOCH: \"1668811211\"\n\njobs:\n  coverage:\n    runs-on: ubuntu-20.04\n    name: Run Codecov\n\n    env:\n      PIP_ONLY_BINARY: cmake\n      PYTHON_VERSION: \"3.9\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: 'Python ${{ env.PYTHON_VERSION }}'\n        uses: actions/setup-python@v5\n        with:\n          python-version: '${{ env.PYTHON_VERSION }}'\n\n      - name: Generate build files\n        run: pipx run nox -s prepare -- --headers --signatures --tests\n\n      - name: Cache awkward-cpp wheel\n        id: cache-awkward-cpp-wheel\n        uses: actions/cache@v4\n        with:\n          path: ./awkward-cpp/dist\n          key: ${{ github.job }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('awkward-cpp/**') }}\n\n      - name: Build awkward-cpp wheel\n        if: steps.cache-awkward-cpp-wheel.outputs.cache-hit != 'true'\n        run: |\n          python -m pip install build\n          python -m build -w ./awkward-cpp\n          ls ./awkward-cpp/dist\n\n      - name: Install awkward-cpp\n        run: python -m pip install -v ./awkward-cpp/dist/*.whl\n\n      - name: Build & install awkward\n        run: python -m pip install -v .\n\n      - name: Print versions\n        run: python -m pip list\n\n      - name: Install test requirements\n        run: python -m pip install -v -r requirements-test-full.txt\n\n      - name: Test\n        run: >-\n          python -m pytest -vv -rs tests --cov=awkward --cov-report=term\n          --cov-report=xml\n\n      - name: Upload Codecov results\n        uses: codecov/codecov-action@v4\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:27.468970", "created_at": "2022-11-18T02:19:08+01:00", "updated_at": "2024-03-04T22:55:59+01:00", "name": "Deploy C++", "path": ".github/workflows/deploy-cpp.yml", "contents": "name: Deploy C++\n\non:\n  workflow_dispatch:\n    inputs:\n        publish-pypi:\n            type: boolean\n            description: Publish to PyPI\n\njobs:\n\n  build-wheels:\n    uses: ./.github/workflows/build-wheels.yml\n\n  upload-awkward-cpp:\n    needs: [build-wheels]\n    runs-on: ubuntu-latest\n    if: inputs.publish-pypi\n    permissions:\n      id-token: write\n      attestations: write\n      contents: read\n    environment:\n      name: \"pypi\"\n      url: \"https://pypi.org/project/awkward-cpp/\"\n    steps:\n\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: \"awkward-cpp*\"\n        path: dist\n        merge-multiple: true\n\n    - name: List distributions to be deployed\n      run: ls -l dist/\n\n    - name: Generate artifact attestation for sdist and wheel\n      uses: actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2\n      with:\n        subject-path: \"dist/awkward*cpp-*\"\n\n    - uses: pypa/gh-action-pypi-publish@v1.8.14\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:28.693492", "created_at": "2022-11-18T02:19:08+01:00", "updated_at": "2022-11-18T02:19:08+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\non:\n  workflow_dispatch:\n    inputs:\n        publish-pypi:\n            type: boolean\n            description: Publish to PyPI\n  release:\n    types:\n    - published\n\njobs:\n  determine-source-date-epoch:\n    name: \"Determine SOURCE_DATE_EPOCH\"\n    runs-on: ubuntu-latest\n    outputs:\n      source-date-epoch: ${{ steps.log.outputs.source-date-epoch }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 0\n\n      - id: log\n        name: Compute SOURCE_DATE_EPOCH\n        run: |\n          # Find latest unix timestamp in awkward-cpp, and the kernel generation files\n          epoch=$( git log -1 --format=%at -- awkward-cpp kernel-specification.yml kernel-test-data.json )\n          echo \"source-date-epoch=$epoch\" >> $GITHUB_OUTPUT\n\n  check-requirements:\n    name: \"Check awkward requirements\"\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Check awkward-cpp version matches requirement\n        run: pipx run nox -s check_cpp_constraint\n\n  check-cpp-on-pypi:\n    name: \"Check awkward-cpp dependency on PyPI\"\n    runs-on: ubuntu-latest\n    needs: [determine-source-date-epoch]\n    env:\n      SOURCE_DATE_EPOCH: ${{ needs.determine-source-date-epoch.outputs.source-date-epoch }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Prepare build files\n        run: pipx run nox -s prepare\n\n      - name: Build awkward-cpp sdist\n        run: pipx run build --sdist awkward-cpp\n\n      - name: Check sdist matches PyPI\n        run: pipx run nox -s check_cpp_sdist_released -- awkward-cpp/dist/awkward-cpp*.tar.gz\n\n  build:\n    name: \"Build wheel & sdist\"\n    runs-on: ubuntu-latest\n    needs: [determine-source-date-epoch]\n    permissions:\n      id-token: write\n      attestations: write\n      contents: read\n    env:\n      SOURCE_DATE_EPOCH: ${{ needs.determine-source-date-epoch.outputs.source-date-epoch }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Prepare build files\n      run: pipx run nox -s prepare\n\n    - name: Build distributions\n      run: pipx run build\n\n    - name: Check metadata\n      run: pipx run twine check dist/*\n\n    - name: Generate artifact attestation for sdist and wheel\n      uses: actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2\n      with:\n        subject-path: \"dist/awkward-*\"\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: distributions\n        path: dist/*\n\n  bundle-headers:\n    name: \"Bundle header-only libraries\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/upload-artifact@v4\n      with:\n        name: header-only\n        path: header-only\n\n  upload:\n    needs: [build, check-requirements, check-cpp-on-pypi]\n    runs-on: ubuntu-latest\n    if: (github.event_name == 'release' && github.event.action == 'published') || inputs.publish-pypi\n    permissions:\n      id-token: write\n    environment:\n      name: \"pypi\"\n      url: \"https://pypi.org/project/awkward/\"\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: distributions\n        path: dist\n\n    - name: List distributions to be deployed\n      run: ls -l dist/\n\n    - name: Verify sdist artifact attestation\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: gh attestation verify dist/awkward-*.tar.gz --repo ${{ github.repository }}\n\n    - name: Verify wheel artifact attestation\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: gh attestation verify dist/awkward-*.whl --repo ${{ github.repository }}\n\n    - uses: pypa/gh-action-pypi-publish@v1.8.14\n\n  publish-headers:\n    name: \"Publish header-only libraries alongside release\"\n    runs-on: ubuntu-latest\n    needs: [bundle-headers]\n    if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: header-only\n        path: header-only\n    - name: Create archive\n      run: |\n        # Don't include `header-only` parent directory\n        env -C header-only/ zip -r header-only.zip .\n    - uses: softprops/action-gh-release@v2\n      with:\n        files: header-only/header-only.zip\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:29.818704", "created_at": "2023-05-10T10:29:52+02:00", "updated_at": "2023-05-10T10:34:58+02:00", "name": "Sync Docs Selector", "path": ".github/workflows/docs-version.yml", "contents": "name: Sync Docs Selector\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - docs/switcher.json\n  workflow_dispatch:\n\nconcurrency:\n  group: 'docs-version-${{ github.head_ref || github.run_id }}'\n  cancel-in-progress: true\n\njobs:\n  coverage:\n    runs-on: ubuntu-22.04\n    name: Push version switcher\n    permissions:\n      id-token: write\n      contents: read\n    env:\n      S3_BUCKET: \"awkward-array.org\"\n      CLOUDFRONT_ID: \"EFM4QVENUIXHS\"\n    environment:\n      name: docs\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-region: eu-west-2\n          role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_DEPLOY_ROLE }}\n      # Pushes to main trigger latest\n      - name: Push version selector\n        run: |\n          aws s3 cp docs/switcher.json \"s3://${S3_BUCKET}/doc/switcher.json\"\n          aws cloudfront create-invalidation --distribution-id \"${CLOUDFRONT_ID}\" \\\n            --paths \"/doc/switcher.json\"\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:31.311304", "created_at": "2022-07-18T12:37:40+02:00", "updated_at": "2022-10-17T22:44:34+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  release:\n    types: [released]\n  workflow_dispatch:\n\nconcurrency:\n  group: 'docs-${{ github.head_ref || github.run_id }}'\n  cancel-in-progress: true\n\nenv:\n  X86_64_PYTHON_VERSION: \"3.11.0\"\n  SOURCE_DATE_EPOCH: \"1668811211\"\n\njobs:\n  pyodide-python-version:\n    name: Determine Pyodide Python version\n    runs-on: ubuntu-22.04\n    outputs:\n      python-version: ${{ steps.retrieve-python-version.outputs.python-version }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Cache python version\n      id: cache-pyodide-python-version\n      uses: actions/cache@v4\n      with:\n        path: pyodide-python-version\n        key: ${{ runner.os }}-docs-pyodide-python-version-${{ hashFiles('docs/requirements-wasm.txt') }}\n\n    - name: Setup Python\n      if: steps.cache-pyodide-python-version.outputs.cache-hit != 'true'\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"${{ env.X86_64_PYTHON_VERSION }}\"\n\n    - name: Install dependencies\n      if: steps.cache-pyodide-python-version.outputs.cache-hit != 'true'\n      run: python3 -m pip install -r docs/requirements-wasm.txt\n\n    - name: Determine Python version\n      if: steps.cache-pyodide-python-version.outputs.cache-hit != 'true'\n      id: compute-python-version\n      run: |\n        # Save Python version\n        PYTHON_VERSION=$(pyodide config get python_version)\n        echo $PYTHON_VERSION > pyodide-python-version\n\n    - name: Retrieve Python version\n      id: retrieve-python-version\n      run: |\n        PYTHON_VERSION=$(cat pyodide-python-version)\n        echo \"python-version=$PYTHON_VERSION\" >> \"$GITHUB_OUTPUT\"\n\n  awkward-cpp-wasm:\n    name: Build C++ WASM\n    runs-on: ubuntu-22.04\n    needs: [pyodide-python-version]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"${{ needs.pyodide-python-version.outputs.python-version }}\"\n\n    - name: Generate build files\n      run: pipx run nox -s prepare -- --headers --signatures\n\n    - name: Cache wheel\n      id: cache-awkward-cpp-wasm-wheel\n      uses: actions/cache@v4\n      with:\n        path: ./awkward-cpp/dist\n        key: ${{ runner.os }}-\"${{ needs.pyodide-python-version.outputs.python-version }}-awkward-cpp-wasm-${{ hashFiles('awkward-cpp/**') }}\n\n    - name: Install dependencies\n      if: steps.cache-awkward-cpp-wasm-wheel.outputs.cache-hit != 'true'\n      run: python3 -m pip install -r docs/requirements-wasm.txt\n\n    - name: Determine EMSDK version\n      if: steps.cache-awkward-cpp-wasm-wheel.outputs.cache-hit != 'true'\n      id: compute-emsdk-version\n      run: |\n        # Prepare xbuild environment (side-effect)\n        pyodide config list\n        # Save EMSDK version\n        EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version)\n        echo \"emsdk-version=$EMSCRIPTEN_VERSION\" >> $GITHUB_OUTPUT\n      working-directory: awkward-cpp\n\n    - name: Install EMSDK\n      uses: mymindstorm/setup-emsdk@v14\n      if: steps.cache-awkward-cpp-wasm-wheel.outputs.cache-hit != 'true'\n      with:\n        version: ${{ steps.compute-emsdk-version.outputs.emsdk-version }}\n\n    - name: Build wheel\n      if: steps.cache-awkward-cpp-wasm-wheel.outputs.cache-hit != 'true'\n      id: build-awkward-cpp-wasm-wheel\n      run: |\n        # pyodide-build doesn't work out of the box with pipx\n        CFLAGS=-fexceptions LDFLAGS=-fexceptions pyodide build --exports whole_archive\n      working-directory: awkward-cpp\n\n    - name: Upload wheel\n      uses: actions/upload-artifact@v4\n      with:\n        name: awkward-cpp-wasm\n        path: awkward-cpp/dist/awkward*wasm32.whl\n\n  awkward-cpp-x86-64:\n    runs-on: ubuntu-22.04\n    name: Build C++ x86\n    defaults:\n      run:\n        # Ensure conda env is activated\n        shell: \"bash -l {0}\"\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n      # TODO: remove this once mamba-org/mamba#1726 is fixed\n      #       and replace with `-r requirements.txt` in a\n      #       non-template `environment.yml`\n    - name: Template environment.yml\n      run: pipx run --spec cogapp cog -o environment.yml environment.yml.cog\n      working-directory: docs\n\n      # Technically this give us an environment that is incompatible with\n      # the wheel built in the awkward-x86-64 job if the environments\n      # solve with different external library versions. By default,\n      # ROOT uses cxx-compiler too, so hopefully this won't be an issue\n    - name: Setup Python via Conda\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        # Cache invalidates daily by default\n        cache-environment: true\n        cache-downloads: true\n        environment-file: docs/environment.yml\n        create-args: >-\n           python=${{ env.X86_64_PYTHON_VERSION }}\n           doxygen\n           python-build\n\n    - name: Generate build files\n      run: pipx run nox -s prepare -- --headers --signatures\n\n    - name: Cache wheel\n      id: cache-awkward-cpp-x86-64-wheel\n      uses: actions/cache@v4\n      with:\n        path: ./awkward-cpp/dist\n        key: ${{ runner.os }}-${{ env.X86_64_PYTHON_VERSION }}-awkward-x86-64-wasm-${{ hashFiles('awkward-cpp/**') }}\n\n    - name: Build wheel\n      if: steps.cache-awkward-cpp-x86-64-wheel.outputs.cache-hit != 'true'\n      run: python -m build -w ./awkward-cpp\n\n    - name: Upload wheel\n      uses: actions/upload-artifact@v4\n      with:\n        name: awkward-cpp-x86-64\n        path: awkward-cpp/dist/awkward*.whl\n\n  awkward:\n    runs-on: ubuntu-22.04\n    name: Build Python\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Generate build files\n      run: pipx run nox -s prepare -- --headers --signatures\n\n    - name: Build wheel\n      run: pipx run build -w\n\n    - name: Upload wheel\n      uses: actions/upload-artifact@v4\n      with:\n        name: awkward\n        path: dist/awkward*.whl\n\n  execute-cppyy:\n    needs: [awkward-cpp-x86-64, awkward]\n    runs-on: ubuntu-22.04\n    name: Execute cppyy notebook\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"${{ env.X86_64_PYTHON_VERSION }}\"\n\n    - name: Extract pre-built manylinux cppyy wheels\n      uses: shrink/actions-docker-extract@v3\n      with:\n        image: \"docker.io/agoose77/cppyy-wheels:cp311\"\n        path: \"/wheels/.\"\n        destination: \"/tmp/wheels/\"\n\n    - name: Download awkward wheel\n      uses: actions/download-artifact@v4\n      with:\n        name: awkward\n        path: /tmp/wheels/\n\n    - name: Download awkward-cpp x86_64 wheel\n      uses: actions/download-artifact@v4\n      with:\n        name: awkward-cpp-x86-64\n        path: /tmp/wheels/\n\n    - name: Install dependencies\n      working-directory: docs\n      run: python -m pip install /tmp/wheels/*.whl -r requirements.txt\n\n    - name: Execute cppyy notebook\n      working-directory: docs\n      run: jupyter nbconvert --to notebook --execute --inplace user-guide/how-to-use-in-cpp-cppyy.ipynb\n\n    - name: Save executed notebook\n      uses: actions/upload-artifact@v4\n      with:\n        name: how-to-use-in-cpp-cppyy\n        path: docs/user-guide/how-to-use-in-cpp-cppyy.ipynb\n\n  build-docs:\n    runs-on: ubuntu-22.04\n    needs: [awkward-cpp-wasm, awkward-cpp-x86-64, awkward, execute-cppyy]\n    name: Build Docs\n    defaults:\n      run:\n        # Ensure conda env is activated\n        shell: \"bash -l {0}\"\n    env:\n        DOCS_CANONICAL_VERSION: main\n    steps:\n    - uses: actions/checkout@v4\n\n      # TODO: remove this once mamba-org/mamba#1726 is fixed\n      #       and replace with `-r requirements.txt` in a\n      #       non-template `environment.yml`\n    - name: Template environment.yml\n      run: pipx run --spec cogapp cog -o environment.yml environment.yml.cog\n      working-directory: docs\n\n      # Technically this give us an environment that is incompatible with\n      # the wheel built in the awkward-x86-64 job if the environments\n      # solve with different external library versions. By default,\n      # ROOT uses cxx-compiler too, so hopefully this won't be an issue\n    - name: Setup Python via Conda\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        # Cache invalidates daily by default\n        cache-environment: true\n        cache-downloads: true\n        environment-file: docs/environment.yml\n        create-args: >-\n           python=${{ env.X86_64_PYTHON_VERSION }}\n           doxygen\n\n    - name: Download awkward wheel\n      uses: actions/download-artifact@v4\n      with:\n        name: awkward\n        path: dist\n\n    - name: Copy awkward wheel to JupyterLite\n      run: |\n        mkdir -p docs/lite/pypi/\n        cp dist/awkward*.whl docs/lite/pypi/\n\n    - name: Download & copy awkward-cpp WASM wheel to JupyterLite\n      uses: actions/download-artifact@v4\n      with:\n        name: awkward-cpp-wasm\n        path: docs/lite/pypi\n\n    - name: Download awkward-cpp x86_64 wheel\n      uses: actions/download-artifact@v4\n      with:\n        name: awkward-cpp-x86-64\n        path: dist\n\n    - name: Install awkward and awkward-cpp wheels\n      run: python -m pip install dist/awkward*.whl --force-reinstall --no-deps\n\n    - name: Generate build files\n      run: pipx run nox -s prepare -- --docs --headers\n\n    - name: Generate C++ documentation\n      run: doxygen\n      working-directory: awkward-cpp/docs\n\n    - name: Copy C++ documentation\n      run: cp -r awkward-cpp/docs/html/ docs/_static/doxygen\n\n    - name: Enable analytics & version selector\n      if: github.event_name == 'push' || github.event_name == 'release'\n      run: |\n        echo \"DOCS_REPORT_ANALYTICS=1\" >> $GITHUB_ENV\n        echo \"DOCS_SHOW_VERSION=1\" >> $GITHUB_ENV\n\n    - name: Set version to main\n      if: github.event_name == 'push'\n      run: |\n        echo \"DOCS_VERSION=main\" >> $GITHUB_ENV\n\n    - name: Download cppyy notebook\n      uses: actions/download-artifact@v4\n      with:\n        name: how-to-use-in-cpp-cppyy\n        path: docs/user-guide\n\n    - name: Generate Python documentation\n      run: sphinx-build -M html . _build/ -T\n      working-directory: docs\n\n    - name: Upload docs artefact\n      uses: actions/upload-artifact@v4\n      with:\n        name: docs\n        path: docs/_build/html\n\n    - name: Upload Jupyter Book cache\n      uses: actions/upload-artifact@v4\n      with:\n        name: doctrees\n        path: docs/_build/doctrees\n\n    - name: Upload Jupyter Book cache\n      uses: actions/upload-artifact@v4\n      with:\n        name: jupyter-cache\n        path: docs/_build/.jupyter_cache\n\n  branch-preview:\n    runs-on: ubuntu-22.04\n    needs: [build-docs]\n    name: Deploy Branch Preview\n    # We can only deploy for PRs on host repo\n    if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}\n    permissions:\n      id-token: write\n      contents: read\n    env:\n      S3_BUCKET: \"preview.awkward-array.org\"\n      DEPLOY_URL: \"http://preview.awkward-array.org.s3-website.us-east-1.amazonaws.com\"\n    environment:\n      name: docs\n      url: \"${{ env.DEPLOY_URL }}/${{ github.head_ref }}\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Configure AWS credentials\n      uses: aws-actions/configure-aws-credentials@v4\n      with:\n        aws-region: eu-west-2\n        role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_DEPLOY_ROLE }}\n    - name: Download rendered docs\n      uses: actions/download-artifact@v4\n      with:\n        name: docs\n        path: built-docs\n    - name: Sync artefacts\n      run: |\n        aws s3 sync built-docs/ \"s3://${S3_BUCKET}/${{ github.head_ref }}\"\n\n  deploy:\n    runs-on: ubuntu-22.04\n    needs: [ build-docs ]\n    # We can only deploy for PRs on host repo\n    if: github.event_name == 'push' || github.event_name == 'release'\n    name: Deploy\n    permissions:\n      id-token: write\n      contents: read\n    env:\n      S3_BUCKET: \"awkward-array.org\"\n      PRODUCTION_URL: \"http://awkward-array.org\"\n      CLOUDFRONT_ID: \"EFM4QVENUIXHS\"\n    environment:\n      name: docs\n      url: ${{ env.PRODUCTION_URL }}${{ steps.sync-main.outputs.path || steps.sync-stable.outputs.path }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-region: eu-west-2\n          role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_DEPLOY_ROLE }}\n      - name: Download rendered docs\n        uses: actions/download-artifact@v4\n        with:\n          name: docs\n          path: built-docs\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      # Pushes to main trigger latest\n      - name: Sync `main`\n        if: github.event_name == 'push'\n        id: sync-main\n        run: |\n          aws s3 sync built-docs/ \"s3://${S3_BUCKET}/doc/main/\"\n          aws cloudfront create-invalidation --distribution-id \"${CLOUDFRONT_ID}\" \\\n            --paths \"/doc/main*\"\n          echo \"path=/doc/main\" >> $GITHUB_OUTPUT\n      # Releases trigger versions\n      - name: Sync `stable`\n        if: github.event_name == 'release'\n        id: sync-stable\n        run: |\n          # Take only leading version\n          version=$(echo \"${GITHUB_REF_NAME}\" | sed -n -E \"s/v?([0-9]+\\.[0-9]+)\\.[0-9]+/\\1/p\")\n          aws s3 cp docs/switcher.json \"s3://${S3_BUCKET}/doc/\"\n          aws s3 sync built-docs/ \"s3://${S3_BUCKET}/doc/$version/\"\n          aws s3 sync built-docs/ \"s3://${S3_BUCKET}/doc/stable/\"\n          aws cloudfront create-invalidation --distribution-id \"${CLOUDFRONT_ID}\" \\\n            --paths \"/doc/$version*\" \"/doc/stable*\" \"/doc/switcher.json\"\n          echo \"path=/doc/stable\" >> $GITHUB_OUTPUT\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:32.452453", "created_at": "2023-02-27T23:27:41+01:00", "updated_at": "2023-02-27T23:27:41+01:00", "name": "Downstream Tests", "path": ".github/workflows/downstream-test.yml", "contents": null, "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:33.688637", "created_at": "2023-01-29T14:14:31+01:00", "updated_at": "2023-01-30T17:57:55+01:00", "name": "Header-only Tests", "path": ".github/workflows/header-only-test.yml", "contents": "name: Header-only Tests\n\non:\n  pull_request:\n  workflow_dispatch:\n\n\nconcurrency:\n  group: header-only-test-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: \"Run Tests\"\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-13, windows-latest]\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Run CMake\n      run: |\n        cmake -B build -S header-only -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=bin -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON\n        cmake --build build/\n\n    - name: Run tests\n      run: |\n        import os\n        import pathlib\n        import subprocess\n        for path in pathlib.Path(\"build/tests/bin\").glob(\"test_*\"):\n            if path.is_file():\n                print(f\"Running {path.name}\", flush=True)\n                print(\"::group::Test output\", flush=True)\n                subprocess.run([path], check=True)\n                print(\"::endgroup::\", flush=True)\n      shell: python3 {0}\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:34.917547", "created_at": "2023-01-29T14:10:37+01:00", "updated_at": "2023-01-30T17:57:55+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request:\n  workflow_dispatch:\n\n\nconcurrency:\n  group: lint-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  pylint:\n    name: \"Run PyLint\"\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Run PyLint\n      run: |\n        echo \"::add-matcher::$GITHUB_WORKSPACE/.github/matchers/pylint.json\"\n        pipx run nox -s pylint\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:36.043861", "created_at": "2023-04-13T16:32:48+02:00", "updated_at": "2023-04-13T16:32:48+02:00", "name": "Needs C++ Release", "path": ".github/workflows/needs-cpp-release.yml", "contents": "name: Needs C++ Release\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n\njobs:\n  determine-source-date-epoch:\n    name: \"Determine SOURCE_DATE_EPOCH\"\n    runs-on: ubuntu-latest\n    outputs:\n      source-date-epoch: ${{ steps.log.outputs.source-date-epoch }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 0\n\n      - id: log\n        name: Compute SOURCE_DATE_EPOCH\n        run: |\n          # Find latest unix timestamp in awkward-cpp, and the kernel generation files\n          epoch=$( git log -1 --format=%at -- awkward-cpp kernel-specification.yml kernel-test-data.json )\n          echo \"source-date-epoch=$epoch\" >> $GITHUB_OUTPUT\n\n\n  check-cpp-on-pypi:\n    name: \"Check awkward-cpp dependency on PyPI\"\n    runs-on: ubuntu-latest\n    needs: [determine-source-date-epoch]\n    env:\n      SOURCE_DATE_EPOCH: ${{ needs.determine-source-date-epoch.outputs.source-date-epoch }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Prepare build files\n        run: pipx run nox -s prepare\n\n      - name: Build awkward-cpp sdist\n        run: pipx run build --sdist awkward-cpp\n\n      - name: Check sdist matches PyPI\n        run: pipx run nox -s check_cpp_sdist_released -- awkward-cpp/dist/awkward-cpp*.tar.gz\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:37.274000", "created_at": "2023-01-29T14:10:37+01:00", "updated_at": "2023-01-30T17:57:55+01:00", "name": "Packaging Tests", "path": ".github/workflows/packaging-test.yml", "contents": "name: Packaging Tests\n\non:\n  pull_request:\n  workflow_dispatch:\n\n\nconcurrency:\n  group: packaging-test-${{ github.head_ref }}\n  cancel-in-progress: true\n\nenv:\n  SOURCE_DATE_EPOCH: \"1668811211\"\n\njobs:\n  build_awkward_sdist_wheel:\n    name: \"Build awkward\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Prepare build files\n      run: pipx run nox -s prepare\n\n    - name: Build awkward SDist & wheel\n      run: pipx run build\n\n    - name: Check metadata\n      run: pipx run twine check dist/*\n\n    - name: Build awkward-cpp SDist\n      run: pipx run build --sdist awkward-cpp\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: awkward-sdist\n        path: dist/*.tar.gz\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: awkward-wheel\n        path: dist/*.whl\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: awkward-cpp-sdist\n        path: awkward-cpp/dist/*.tar.gz\n\n\n  build_cpp_wheels:\n    name: \"Build awkward-cpp: ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows-latest, macos-12, ubuntu-latest]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Prepare build files\n      run: pipx run nox -s prepare\n\n    - uses: pypa/cibuildwheel@v2.18.1\n      env:\n        CIBW_ARCHS_MACOS: universal2\n        CIBW_BUILD: cp39-win_amd64 cp310-manylinux_x86_64 cp38-macosx_universal2\n      with:\n        config-file: cibuildwheel.toml\n        package-dir: awkward-cpp\n\n    - uses: pypa/cibuildwheel@v2.18.1\n      if: matrix.os == 'ubuntu-latest'\n      env:\n        CIBW_BUILD: cp312-manylinux_x86_64\n      with:\n        config-file: cibuildwheel.toml\n        package-dir: awkward-cpp\n\n    - name: Upload wheels\n      uses: actions/upload-artifact@v4\n      with:\n        name: awkward-cpp-wheels-${{ matrix.os }}\n        path: wheelhouse/*.whl\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:38.501421", "created_at": "2022-08-10T12:35:33+02:00", "updated_at": "2022-08-22T16:42:21+02:00", "name": "Lint PR", "path": ".github/workflows/semantic-pr-title.yml", "contents": "name: \"Lint PR\"\n\non:\n  pull_request:\n    types:\n      - opened\n      - edited\n      - synchronize\n  workflow_dispatch:\n\nconcurrency:\n  group: semantic-pr-title-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  main:\n    name: Validate PR title\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5.5.2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:39.732984", "created_at": "2022-07-19T11:30:51+02:00", "updated_at": "2024-06-27T12:49:44+02:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  pull_request:\n    paths-ignore:\n      - README.md\n      - CONTRIBUTING.md\n      - CITATION.cff\n      - LICENSE\n      - .readthedocs.yml\n      - docs-img/**\n      - docs/**\n      - awkward-cpp/docs/**\n      - studies/**\n\n  schedule:\n    - cron: 0 12 1 * *\n\n  workflow_dispatch:\n\nconcurrency:\n  group: 'test-${{ github.head_ref || github.run_id }}'\n  cancel-in-progress: true\n\nenv:\n  # Leverage reproducible builds by setting a constant SOURCE_DATE_EPOCH\n  # This will ensure that the hash of the awkward-cpp directory remains\n  # constant for unchanged files, meaning that it can be used for caching\n  SOURCE_DATE_EPOCH: \"1668811211\"\n\njobs:\n  run-tests:\n    name: Run Tests\n    strategy:\n      fail-fast: false\n      matrix:\n        runs-on:\n          - windows-latest\n          - ubuntu-latest\n          - macos-11\n        python-version:\n          - '3.12'\n          - '3.11'\n          - '3.10'\n          - '3.9'\n          - '3.8'\n        python-architecture:\n          - x64\n        dependencies-kind:\n          - full\n        include:\n          - python-version: '3.9'\n            python-architecture: x86\n            runs-on: windows-latest\n            dependencies-kind: full\n          - python-version: '3.9'\n            python-architecture: x86\n            runs-on: windows-latest\n            dependencies-kind: numpy1\n          - python-version: '3.8'\n            python-architecture: x64\n            runs-on: ubuntu-latest\n            dependencies-kind: minimal\n          - python-version: 'pypy3.9'\n            python-architecture: x64\n            runs-on: ubuntu-latest\n            dependencies-kind: pypy\n\n    runs-on: ${{ matrix.runs-on }}\n\n    env:\n      PIP_ONLY_BINARY: numpy,pandas,pyarrow,numexpr,numexpr\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: 'Python ${{ matrix.python-version }}'\n        uses: actions/setup-python@v5\n        with:\n          python-version: '${{ matrix.python-version }}'\n          architecture: '${{ matrix.python-architecture }}'\n          allow-prereleases: true\n\n      - name: Generate build files\n        run: pipx run nox -s prepare -- --headers --signatures --tests\n\n      - name: Cache awkward-cpp wheel\n        id: cache-awkward-cpp-wheel\n        uses: actions/cache@v4\n        with:\n          path: awkward-cpp/dist\n          key: ${{ github.job }}-${{ matrix.runs-on }}-${{ matrix.python-version }}-${{ matrix.python-architecture }}-${{ hashFiles('awkward-cpp/**') }}\n\n      - name: Build awkward-cpp wheel\n        if: steps.cache-awkward-cpp-wheel.outputs.cache-hit != 'true'\n        run: |\n          python -m pip install build\n          python -m build -w awkward-cpp\n\n      - name: Find built wheel\n        uses: tj-actions/glob@v22\n        id: find-wheel\n        with:\n          files: |\n            awkward-cpp/dist/*.whl\n\n      - name: Install awkward, awkward-cpp, and dependencies\n        run: >-\n          python -m pip install -v . ${{ steps.find-wheel.outputs.paths }} pytest-github-actions-annotate-failures\n          -r \"requirements-test-${{ matrix.dependencies-kind }}.txt\"\n\n      - name: Print versions\n        run: python -m pip list\n\n      - name: Check if kernel specification is sorted\n        # We don't need to run this all the time\n        if: (matrix.python-version == '3.12') && (matrix.runs-on == 'ubuntu-latest')\n        run: pipx run nox -s diagnostics -- --check-spec-sorted\n\n      - name: Test specification\n        run: python -m pytest -vv -rs awkward-cpp/tests-spec\n\n      - name: Test specification with explicitly defined values\n        run: python -m pytest -vv -rs awkward-cpp/tests-spec-explicit\n\n      - name: Test CPU kernels\n        run: python -m pytest -vv -rs awkward-cpp/tests-cpu-kernels\n\n      - name: Test CPU kernels with explicitly defined values\n        run: python -m pytest -vv -rs awkward-cpp/tests-cpu-kernels-explicit\n\n      - name: Test non-kernels (Python)\n        run: >-\n          python -m pytest -vv -rs tests --cov=awkward --cov-report=term\n          --cov-report=xml\n        if: startsWith(matrix.python-version, '3.')\n\n      - name: Test non-kernels (PyPy)\n        run: >-\n          python -m pytest -vv -rs tests\n        if: startsWith(matrix.python-version, 'pypy')\n\n      - name: Upload Codecov results\n        if: (matrix.python-version == '3.9') && (matrix.runs-on == 'ubuntu-latest')\n        uses: codecov/codecov-action@v4\n\n  Linux-ROOT:\n    runs-on: ubuntu-20.04\n\n    env:\n      PIP_ONLY_BINARY: numpy,pandas,pyarrow,numexpr,numexpr\n\n    timeout-minutes: 30\n\n    # Required for miniconda to activate conda\n    defaults:\n      run:\n        shell: \"bash -l {0}\"\n\n    steps:\n      - uses: \"actions/checkout@v4\"\n        with:\n          submodules: true\n\n      - name: Setup Python via Conda\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          # Cache invalidates daily by default\n          cache-environment: true\n          environment-name: awkward\n          # Need Python 3.8 for the cached wheels\n          create-args: >-\n            python=3.8\n            numpy\n            root\n\n      - name: Generate build files\n        run: pipx run nox -s prepare -- --headers --signatures --tests\n\n      - name: Cache awkward-cpp wheel\n        id: cache-awkward-cpp-wheel\n        uses: actions/cache@v4\n        with:\n          path: ./awkward-cpp/dist\n          key: ${{ github.job }}-${{ hashFiles('awkward-cpp/**') }}\n\n      - name: Build awkward-cpp wheel\n        if: steps.cache-awkward-cpp-wheel.outputs.cache-hit != 'true'\n        run: |\n          python3 -m pip install build\n          python3 -m build -w ./awkward-cpp\n\n      - name: Install awkward, awkward-cpp, and dependencies\n        run: >-\n          python -m pip install --only-binary \"numpy,pandas,pyarrow,numexpr\"\n          -v . ./awkward-cpp/dist/*.whl\n          pytest-github-actions-annotate-failures\n          -r requirements-test-full.txt\n\n      - name: Print versions\n        run: python -m pip list\n\n      - name: Test\n        run: python -m pytest -vv -rs tests\n\n  Linux-cppyy:\n    # TODO: remove this part of the workflow\n    # cppyy is not yet released. Let's load some pre-built wheels via docker (as a binary store)\n    runs-on: ubuntu-22.04\n\n    env:\n      PIP_ONLY_BINARY: numpy,pandas,pyarrow,numexpr,numexpr\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: 'Python ${{ matrix.python-version }}'\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Generate build files\n        run: pipx run nox -s prepare -- --headers --signatures --tests\n\n      - name: Cache awkward-cpp wheel\n        id: cache-awkward-cpp-wheel\n        uses: actions/cache@v4\n        with:\n          path: ./awkward-cpp/dist\n          key: ${{ github.job }}-${{ hashFiles('awkward-cpp/**') }}\n\n      - name: Build awkward-cpp wheel\n        if: steps.cache-awkward-cpp-wheel.outputs.cache-hit != 'true'\n        run: |\n          python -m pip install build\n          python -m build -w ./awkward-cpp\n\n      - name: Extract pre-built manylinux cppyy wheels\n        uses: shrink/actions-docker-extract@v3\n        with:\n          image: \"docker.io/agoose77/cppyy-wheels:cp311\"\n          path: \"/wheels/.\"\n          destination: \"/tmp/wheelhouse\"\n\n      - name: Install awkward, awkward-cpp, and dependencies\n        run: >-\n          python -m pip install -v --only-binary \"numpy,pandas,pyarrow,numexpr\"\n          ./ ./awkward-cpp/dist/*.whl /tmp/wheelhouse/* pytest-github-actions-annotate-failures\n\n      - name: Print versions\n        run: python -m pip list\n\n      - name: Test\n        run: python -m pytest -vv -rs tests -k cppyy\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:40.961453", "created_at": "2021-06-28T18:17:42+02:00", "updated_at": "2024-02-08T14:41:24+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": null, "state": "disabled_manually", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:42.187740", "created_at": "2024-03-12T14:38:56+01:00", "updated_at": "2024-03-12T14:38:56+01:00", "name": "Upload nightly wheels to Anaconda Cloud", "path": ".github/workflows/upload-nightly-wheels.yml", "contents": "name: Upload nightly wheels to Anaconda Cloud\n\non:\n  # Run daily at 2:34 UTC to upload nightly wheels to Anaconda Cloud\n  schedule:\n    - cron: '34 2 * * *'\n  # Run on demand with workflow dispatch\n  workflow_dispatch:\n\npermissions:\n  actions: read\n\njobs:\n  upload_nightly_wheels:\n    name: Upload nightly wheels to Anaconda Cloud\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        # The login shell is necessary for the setup-micromamba setup\n        # to work in subsequent jobs.\n        # https://github.com/mamba-org/setup-micromamba#about-login-shells\n        shell: bash -e -l {0}\n    if: github.repository_owner == 'scikit-hep'\n\n    steps:\n      # https://github.com/actions/download-artifact/issues/3#issuecomment-1017141067\n      - name: Download wheel artifacts from last build on 'main'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          PROJECT_REPO=\"scikit-hep/awkward\"\n          BRANCH=\"main\"\n          WORKFLOW_NAME=\"build-wheels.yml\"\n          ARTIFACT_PATTERN=\"awkward*wheel*\"  # awkward-wheel and awkward-cpp-wheels-*\n\n          gh run --repo \"${PROJECT_REPO}\" \\\n             list --branch \"${BRANCH}\" \\\n                  --workflow \"${WORKFLOW_NAME}\" \\\n                  --json event,status,conclusion,databaseId > runs.json\n          RUN_ID=$(\n            jq --compact-output \\\n              '[\n                .[] |\n                # Filter on \"schedule\" and \"workflow_dispatch\" events to main (nightly build) ...\n                select(.event == \"schedule\" or .event == \"workflow_dispatch\") |\n                # that have completed successfully ...\n                select(.status == \"completed\" and .conclusion == \"success\")\n               ] |\n              # and get ID of latest build of wheels.\n              sort_by(.databaseId) | reverse | .[0].databaseId' runs.json\n          )\n          gh run --repo \"${PROJECT_REPO}\" view \"${RUN_ID}\"\n          gh run --repo \"${PROJECT_REPO}\" \\\n             download \"${RUN_ID}\" --pattern \"${ARTIFACT_PATTERN}\"\n\n          mkdir dist\n          mv ${ARTIFACT_PATTERN}/*.whl dist/\n          ls -l dist/\n\n      - name: Upload wheels to Anaconda Cloud as nightlies\n        uses: scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # 0.5.0\n        with:\n          artifacts_path: dist\n          anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}\n", "state": "active", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:43.296023", "created_at": "2021-06-24T19:12:01+02:00", "updated_at": "2024-02-08T14:40:45+01:00", "name": "Wheels", "path": ".github/workflows/wheels.yml", "contents": null, "state": "disabled_manually", "repository": "scikit-hep/awkward"}
{"mined_at": "2024-07-15T17:11:45.669913", "created_at": "2020-09-02T12:38:23+02:00", "updated_at": "2022-02-15T08:13:05+01:00", "name": "CI", "path": ".github/workflows/.ansible-test.yml", "contents": "name: CI\non:\n- pull_request\n\njobs:\n  sanity:\n    strategy:\n      matrix:\n        python_version: [\"3.9\", \"3.10\"]\n        ansible_version: [\"stable-2.14\", \"stable-2.15\"]\n    runs-on: ubuntu-20.04\n    steps:\n\n      - name: Check out code\n        uses: actions/checkout@v1\n        with:\n          path: ansible_collections/hpe/oneview\n\n      - name: Set up Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install future\n          if [ -f tests/requirements.txt ]; then pip install -r tests/requirements.txt; fi\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n      - name: Install ansible ${{ matrix.ansible_version }}\n        run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible_version }}.tar.gz --disable-pip-version-check\n\n      - name: Install ansible_collections.hpe.oneview\n        run: ansible-galaxy collection install hpe.oneview -p ../../\n\n      - name: Run sanity tests\n        run: ansible-test sanity --docker -v --color --python ${{ matrix.python_version }}\n        \n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          path: ansible_collections/hpe/oneview\n\n      - name: Lint Ansible Playbook\n        uses: ansible/ansible-lint-action@main\n        with:\n          path: \"./\"         \n  \n  units:\n    runs-on: ubuntu-20.04\n    strategy:\n      # As soon as the first unit test fails, cancel the others to free up the CI queue\n      fail-fast: true\n      matrix:\n        python_version:\n          - 3.9\n          - '3.10'\n        ansible:\n          - stable-2.14\n          - stable-2.15\n\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v1\n        with:\n          path: ansible_collections/hpe/oneview\n\n      - name: Set up Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python_version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip3 install future pytest-cov\n          if [ -f tests/requirements.txt ]; then pip3 install -r tests/requirements.txt; fi\n          if [ -f requirements.txt ]; then pip3 install -r requirements.txt; fi\n\n      - name: Install ansible-base (${{ matrix.ansible }})\n        run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check\n\n      - name: Setting Python env path\n        run: |\n         echo \"PYTHONPATH=/home/runner/work/oneview-ansible-collection:$PYTHONPATH\" >> $GITHUB_ENV\n\n      - name: Generating coverage report\n        run: pytest --cov-report xml --cov=plugins/modules tests/unit/\n\n      - name: \"Upload coverage to Codecov\"\n        uses: codecov/codecov-action@v4.3.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          slug: alisha-k-kalladassery/oneview-ansible-collection\n          fail_ci_if_error: true\n", "state": "active", "repository": "hewlettpackard/oneview-ansible-collection"}
{"mined_at": "2024-07-15T17:11:46.761378", "created_at": "2020-09-02T12:40:35+02:00", "updated_at": "2022-03-22T13:01:00+01:00", "name": "Upload release to Galaxy", "path": ".github/workflows/.release.yml", "contents": "name: Upload release to Galaxy\n\non:\n  release:\n    types: [created]\n\njobs:\n  release:\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v1\n\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.7'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install ansible\n\n    - name: Setup environment for collection publish\n      run: |\n        echo \"GITHUB_REF=${GITHUB_REF:10}\" >> $GITHUB_ENV\n        version=$(echo ${GITHUB_REF:10} | cut -c 2-)\n        echo \"GITHUB_VERSION=${version}\" >> $GITHUB_ENV\n\n    - name: Login to Docker Hub\n      run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin\n\n    - name: Build the tagged Docker image\n      run: docker build . --file Dockerfile --tag hewlettpackardenterprise/hpe-oneview-sdk-for-ansible-collection:${{ env.GITHUB_REF }}-OV8.9\n\n    - name: Push the tagged Docker image\n      run: docker push hewlettpackardenterprise/hpe-oneview-sdk-for-ansible-collection:${{ env.GITHUB_REF }}-OV8.9\n\n    - name: Build and publish\n      run: |\n        ansible-galaxy collection build .\n        ansible-galaxy collection publish hpe-oneview-${{ env.GITHUB_VERSION }}.tar.gz --api-key=\"${{ secrets.GALAXY_API_TOKEN }}\"\n", "state": "active", "repository": "hewlettpackard/oneview-ansible-collection"}
{"mined_at": "2024-07-15T17:11:47.832925", "created_at": "2022-09-19T12:35:52+02:00", "updated_at": "2022-09-19T12:35:52+02:00", "name": "create tag and relese", "path": ".github/workflows/createtagandrelease.yml", "contents": "name: create tag and relese\n\non:\n  pull_request:\n    types: [closed]\njobs:\n  create-tag:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    if: github.event.pull_request.merged && startsWith(github.head_ref, 'PR') && startsWith(github.base_ref, 'master')\n    steps:\n      - uses: actions/checkout@v2\n      - name: Bump version and push tag\n        id: tag_and_prepare_release\n        uses: anothrNick/github-tag-action@1.61.0\n        env:\n          GITHUB_TOKEN:  ${{ secrets.GH_TOKEN }}\n          WITH_V: true\n          CUSTOM_TAG: \"v8.9.0\"\n      - name: Display\n        run: echo ${{ steps.tag_and_prepare_release.outputs.new_tag }}\n      - uses: actions/checkout@v2\n      - uses: ncipollo/release-action@v1\n        with:\n          name:  ${{ steps.tag_and_prepare_release.outputs.new_tag }}\n          tag: ${{ steps.tag_and_prepare_release.outputs.new_tag }}\n          body: See the <a href=\"https://github.com/HewlettPackard/oneview-python/blob/master/CHANGELOG.md\">CHANGELOG.md</a> for details.\n          token:  ${{ secrets.GH_TOKEN }}\n", "state": "active", "repository": "hewlettpackard/oneview-ansible-collection"}
{"mined_at": "2024-07-15T17:11:48.843866", "created_at": "2022-09-19T12:16:12+02:00", "updated_at": "2022-09-19T12:35:52+02:00", "name": "Raise a Pullrequest", "path": ".github/workflows/pullrequestforrelease.yml", "contents": "name: Raise a Pullrequest\n\non:\n  push:\n    branches:\n    - \"PR\"  # Support wildcard matching \n\njobs:\n  pull-request:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n    - uses: actions/checkout@v2\n    - name: pull-request\n      uses: repo-sync/pull-request@v2\n      with:\n        source_branch: \"PR\"                                 # If blank, default: triggered branch\n        destination_branch: \"master\" # If blank, default: master\n        pr_label: \"automation\" \n        pr_title: \"Testing Ansible Automation\" # Title of pull request\n        pr_reviewer: \"nabhajit-ray,AvijitOS\"\n        pr_body: \":crown: *An automated PR*\"              # Full markdown support, requires pr_title to be set\n        pr_template: \".github/PULL_REQUEST_TEMPLATE.md\"   # Path to pull request template, requires pr_title to be set, excludes pr_body                         \n        pr_allow_empty: true\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "hewlettpackard/oneview-ansible-collection"}
{"mined_at": "2024-07-15T17:11:52.071097", "created_at": "2022-05-13T14:37:25+02:00", "updated_at": "2022-12-15T01:21:46+01:00", "name": "CI-COVER-VERSIONS", "path": ".github/workflows/ci.yml", "contents": "name: CI-COVER-VERSIONS\n\non:\n#   push:\n#     paths:\n#       - '**.py'\n#       - '.github/workflows/**'\n#       - '!dev/**'\n  pull_request:\n    branches: [ master ]\n\n  workflow_dispatch:\n\njobs:\n  unit_tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n\n    name: Check Python ${{ matrix.python-version }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Build the stack\n        run: docker-compose up -d mysql postgres presto trino clickhouse vertica\n\n      - name: Install Poetry\n        run: pip install poetry\n\n      - name: Install package\n        run: \"poetry install\"\n\n      # BigQuery start\n    #   - id: 'auth'\n    #     uses: 'google-github-actions/auth@v1'\n    #     with:\n    #       credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'\n\n    #   - name: 'Set up BigQuery Cloud SDK'\n    #     uses: 'google-github-actions/setup-gcloud@v1'\n\n    #   - name: 'Use gcloud CLI'\n    #     run: \"gcloud config configurations list\"\n\n      - name: \"Install BigQuery for Python\"\n        run: poetry add google-cloud-bigquery\n\n      # BigQuery end\n\n      - name: Run unit tests\n        env:\n            DATADIFF_SNOWFLAKE_URI: '${{ secrets.DATADIFF_SNOWFLAKE_URI }}'\n            DATADIFF_PRESTO_URI: '${{ secrets.DATADIFF_PRESTO_URI }}'\n            DATADIFF_TRINO_URI: '${{ secrets.DATADIFF_TRINO_URI }}'\n            # DATADIFF_BIGQUERY_URI: '${{ secrets.DATADIFF_BIGQUERY_URI }}'\n            DATADIFF_CLICKHOUSE_URI: 'clickhouse://clickhouse:Password1@localhost:9000/clickhouse'\n            DATADIFF_VERTICA_URI: 'vertica://vertica:Password1@localhost:5433/vertica'\n            DATADIFF_REDSHIFT_URI: '${{ secrets.DATADIFF_REDSHIFT_URI }}'\n            MOTHERDUCK_TOKEN: '${{ secrets.MOTHERDUCK_TOKEN }}'\n        run: |\n          chmod +x tests/waiting_for_stack_up.sh\n          ./tests/waiting_for_stack_up.sh && TEST_ACROSS_ALL_DBS=0 poetry run unittest-parallel -j 16\n", "state": "active", "repository": "datafold/data-diff"}
{"mined_at": "2024-07-15T17:11:53.248950", "created_at": "2022-11-02T21:07:37+01:00", "updated_at": "2022-11-02T22:23:25+01:00", "name": "CI-COVER-DATABASES", "path": ".github/workflows/ci_full.yml", "contents": "name: CI-COVER-DATABASES\n\non:\n#   push:\n#     paths:\n#       - '**.py'\n#       - '.github/workflows/**'\n#       - '!dev/**'\n  pull_request:\n    branches: [ master ]\n  workflow_dispatch:\n\npermissions:\n  id-token: write # This is required for requesting the JWT\n  contents: read  # This is required for actions/checkout\n\njobs:\n  unit_tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version:\n          - \"3.11\"\n\n    name: Check Python ${{ matrix.python-version }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Build the stack\n        run: docker-compose up -d mysql postgres presto trino clickhouse vertica\n\n      - name: Install Poetry\n        run: pip install poetry\n\n      - name: Install package\n        run: \"poetry install\"\n\n      # BigQuery start\n    #   - id: 'auth'\n    #     uses: 'google-github-actions/auth@v1'\n    #     with:\n    #       credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'\n\n    #   - name: 'Set up BigQuery Cloud SDK'\n    #     uses: 'google-github-actions/setup-gcloud@v1'\n\n    #   - name: \"Install BigQuery for Python\"\n    #     run: poetry add google-cloud-bigquery\n\n      # BigQuery end\n\n      - name: Run unit tests\n        env:\n            DATADIFF_SNOWFLAKE_URI: '${{ secrets.DATADIFF_SNOWFLAKE_URI }}'\n            DATADIFF_PRESTO_URI: '${{ secrets.DATADIFF_PRESTO_URI }}'\n            DATADIFF_CLICKHOUSE_URI: 'clickhouse://clickhouse:Password1@localhost:9000/clickhouse'\n            DATADIFF_VERTICA_URI: 'vertica://vertica:Password1@localhost:5433/vertica'\n            # DATADIFF_BIGQUERY_URI: '${{ secrets.DATADIFF_BIGQUERY_URI }}'\n            DATADIFF_REDSHIFT_URI: '${{ secrets.DATADIFF_REDSHIFT_URI }}'\n            MOTHERDUCK_TOKEN: '${{ secrets.MOTHERDUCK_TOKEN }}'\n        run: |\n          chmod +x tests/waiting_for_stack_up.sh\n          ./tests/waiting_for_stack_up.sh && poetry run unittest-parallel -j 16\n", "state": "active", "repository": "datafold/data-diff"}
{"mined_at": "2024-07-15T17:11:54.387994", "created_at": "2023-06-24T00:48:27+02:00", "updated_at": "2023-06-24T01:04:00+02:00", "name": "formatter", "path": ".github/workflows/formatter.yml", "contents": "name: formatter\non:\n    pull_request:\n        branches: [ master ]\n    \n    workflow_dispatch:\n\njobs:\n  linter_name:\n    name: runner / ruff\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout PR head\n        uses: actions/checkout@v3\n        if: github.event_name == 'pull_request'\n        with:\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          ref: ${{ github.event.pull_request.head.ref }}\n\n      - name: Checkout Repo \n        uses: actions/checkout@v3\n        if: github.event_name == 'workflow_dispatch'\n\n      # This is used for forked PRs as write permissions are required to format files\n      - name: Run and commit changes with `ruff format .` locally on your forked branch to fix errors if they appear\n        if: ${{ github.event.pull_request.head.repo.fork == true }}\n        uses: chartboost/ruff-action@v1\n        id: ruff_formatter_suggestions\n        with:\n          args: format --diff\n\n      # This only runs if the PR is NOT from a forked repo\n      - name: Format files using ruff\n        if: ${{ github.event.pull_request.head.repo.fork == false }}\n        uses: chartboost/ruff-action@v1\n        id: ruff_formatter\n        with:\n          args: format\n\n      # This only runs if the PR is NOT from a forked repo\n      - name: Auto commit ruff formatting\n        if: ${{ github.event.pull_request.head.repo.fork == false }}\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: 'style fixes by ruff'\n", "state": "active", "repository": "datafold/data-diff"}
{"mined_at": "2024-07-15T17:11:55.507023", "created_at": "2023-05-11T00:37:25+02:00", "updated_at": "2023-05-11T00:37:25+02:00", "name": "Awaiting Response --> Triage Label", "path": ".github/workflows/label-update_awaiting-response-to-triage.yml", "contents": "# if a comment is added to an issue awaiting response, remove the \"awaiting_response\" label and add a \"triage\" label\n\nname: Awaiting Response --> Triage Label\n\non: issue_comment\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  issues: write\n\njobs:\n  triage_label:\n    if: contains(github.event.issue.labels.*.name, 'awaiting_response')\n    runs-on: ubuntu-latest\n    steps:\n      - name: initial labeling\n        uses: andymckay/labeler@master\n        with:\n          add-labels: \"triage\"\n          remove-labels: \"awaiting_response\"\n", "state": "active", "repository": "datafold/data-diff"}
{"mined_at": "2024-07-15T17:11:56.625955", "created_at": "2023-05-11T00:46:56+02:00", "updated_at": "2023-05-11T00:46:56+02:00", "name": "Stale --> Triage Label", "path": ".github/workflows/label-update_stale-to-triage.yml", "contents": "# if a comment is added to a stale issue, remove the \"stale\" label and add a \"triage\" label\n\nname: Stale --> Triage Label\n\non: issue_comment\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  issues: write\n\njobs:\n  triage_label:\n    if: contains(github.event.issue.labels.*.name, 'stale')\n    runs-on: ubuntu-latest\n    steps:\n      - name: initial labeling\n        uses: andymckay/labeler@master\n        with:\n          add-labels: \"triage\"\n          remove-labels: \"stale\"\n", "state": "active", "repository": "datafold/data-diff"}
{"mined_at": "2024-07-15T17:11:57.783468", "created_at": "2023-05-09T22:25:03+02:00", "updated_at": "2023-05-09T23:23:49+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '28 6 * * *'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v5\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue has been marked as stale because it has been open for 60 days with no activity. If you would like the issue to remain open, please comment on the issue and it will be added to the triage queue. Otherwise, it will be closed in 7 days.'\n        stale-pr-message: 'This pull request has been marked as stale because it has been open for 60 days with no activity. If you would like the pull request to remain open, please comment on the pull request and it will be added to the triage queue. Otherwise, it will be closed in 7 days.'\n        stale-issue-label: 'stale'\n        stale-pr-label: 'stale'\n        close-issue-message: \"Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment and it will be reopened for triage.\"\n        close-pr-message: \"Although we are closing this pull request as stale, it's not gone forever. PRs can be reopened if there is renewed community interest. Just add a comment and it will be reopened for triage.\"\n        close-issue-reason: \"not_planned\"\n        exempt-issue-labels: \"stale_immune\"\n        exempt-pr-labels: \"stale_immune\"\n", "state": "active", "repository": "datafold/data-diff"}
{"mined_at": "2024-07-15T17:11:58.981686", "created_at": "2023-05-09T19:32:55+02:00", "updated_at": "2023-05-09T19:32:55+02:00", "name": "Label issues", "path": ".github/workflows/triage_labels.yml", "contents": "name: Label issues\non:\n  issues:\n    types:\n      - reopened\n      - opened\njobs:\n  label_issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - uses: actions/github-script@v6\n        with:\n          script: |\n            github.rest.issues.addLabels({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              labels: [\"triage\"]\n            })", "state": "active", "repository": "datafold/data-diff"}
{"mined_at": "2024-07-15T17:12:01.182660", "created_at": "2021-06-20T03:16:21+02:00", "updated_at": "2021-11-03T15:19:30+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '18 13 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "disabled_manually", "repository": "apiflask/apiflask"}
{"mined_at": "2024-07-15T17:12:02.361531", "created_at": "2024-04-21T11:30:05+02:00", "updated_at": "2024-04-21T11:30:05+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  push:\n    tags:\n      - '*'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    outputs:\n      hash: ${{ steps.hash.outputs.hash }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n          cache: pip\n          cache-dependency-path: requirements*/*.txt\n      - run: pip install setuptools wheel build\n      # Use the commit date instead of the current date during the build.\n      - run: echo \"SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)\" >> $GITHUB_ENV\n      - run: python -m build\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./dist\n  create-release:\n    # Upload the sdist, wheels to a GitHub release. They remain\n    # available as build artifacts for a while as well.\n    needs: [build]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/download-artifact@v4\n      - name: create release\n        run: >\n          gh release create --draft --repo ${{ github.repository }}\n          ${{ github.ref_name }}\n        env:\n          GH_TOKEN: ${{ github.token }}\n  publish-pypi:\n    needs: [build]\n    # Wait for approval before attempting to upload to PyPI. This allows reviewing the\n    # files in the draft release.\n    environment: release\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: artifact/\n", "state": "active", "repository": "apiflask/apiflask"}
{"mined_at": "2024-07-15T17:12:03.488616", "created_at": "2021-01-13T05:16:21+01:00", "updated_at": "2022-07-23T06:14:02+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\non:\n  push:\n    branches:\n      - main\n      - 'v*'\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n  pull_request:\n    branches:\n      - main\n      - 'v*'\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {name: Linux, python: '3.12', os: ubuntu-latest, tox: py312}\n          - {name: Windows, python: '3.12', os: windows-latest, tox: py312}\n          - {name: Mac, python: '3.12', os: macos-latest, tox: py312}\n          - {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311}\n          - {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}\n          - {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}\n          - {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}\n          - {name: 'PyPy', python: 'pypy-3.10', os: ubuntu-latest, tox: pypy310}\n          - {name: 'Minimum Versions', python: '3.8', os: ubuntu-latest, tox: 'min-versions'}\n          - {name: Style, python: '3.10', os: ubuntu-latest, tox: style}\n          - {name: Docs, python: '3.10', os: ubuntu-latest, tox: docs}\n          - {name: Typing, python: '3.10', os: ubuntu-latest, tox: typing}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n          cache-dependency-path: 'requirements/*.txt'\n      - name: update pip\n        run: |\n          pip install -U wheel\n          pip install -U setuptools\n          python -m pip install -U pip\n      - name: cache mypy\n        uses: actions/cache@v4.0.2\n        with:\n          path: ./.mypy_cache\n          key: mypy|${{ matrix.python }}|${{ hashFiles('setup.cfg') }}\n        if: matrix.tox == 'typing'\n      - run: pip install tox\n      - run: tox -e ${{ matrix.tox }}\n      - name: collect coverage\n        run: |\n          pip install codecov\n          codecov\n        if: matrix.name == 'Linux'\n", "state": "active", "repository": "apiflask/apiflask"}
{"mined_at": "2024-07-15T17:12:05.741119", "created_at": "2019-12-19T01:54:50+01:00", "updated_at": "2019-12-19T01:54:50+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  # Trigger the workflow on push to main or any pull request\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  build:\n\n    strategy:\n      max-parallel: 4\n      matrix:\n        platform: [ubuntu-latest, macos-latest]\n        python-version: [3.8, 3.9]\n\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Conditionally install pytorch\n      if: matrix.platform == 'windows-latest'\n      run: pip3 install torch -f https://download.pytorch.org/whl/torch_stable.html\n\n    - name: Install locally\n      run: |\n        python -m pip install --upgrade pip\n        git submodule update --init --recursive\n        python -m pip install .\n\n    - name: Check installation\n      working-directory: /tmp\n      run: python $GITHUB_WORKSPACE/scripts/check_installation.py\n\n    - name: Install optional test requirements\n      run: |\n        python -m pip install '.[dev,docs]'\n        python -m pip install iopath transformers pyarrow\n        python -m pip install git+https://github.com/facebookresearch/fairscale.git@main\n        python -m pip install pygit2 pgzip\n        \n    - name: Install xformers for Macos\n      if: matrix.platform == 'macos-latest'\n      run: |\n        brew install llvm libomp\n        CC=/usr/local/opt/llvm/bin/clang CXX=clang++ pip install git+https://github.com/facebookresearch/xformers.git@main\n\n    - name: Install xformers for non-MacOS\n      if: matrix.platform != 'macos-latest'\n      run: |\n        python -m pip install --progress-bar off git+https://github.com/facebookresearch/xformers.git@main\n\n    - name: Lint with black\n      run: black --check --diff .\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n    - name: Build doc\n      run: make singlehtml\n      working-directory: docs/\n\n    - name: Run tests\n      # When installing in non-editable mode, the .so files will be generated in 'site-packages/fairseq'.\n      # But by default, pytest import machinery will load local fairseq, and won't see the .so.\n      # Use --import-mode=append to favorize the 'site-packages/fairseq'.\n      # https://docs.pytest.org/en/7.1.x/explanation/pythonpath.html\n      run: pytest --import-mode=append -vvv tests/\n\n", "state": "active", "repository": "facebookresearch/fairseq"}
{"mined_at": "2024-07-15T17:12:06.779024", "created_at": "2022-07-06T14:31:39+02:00", "updated_at": "2022-07-06T14:31:39+02:00", "name": "cpu_tests", "path": ".github/workflows/cpu_tests.yml", "contents": null, "state": "active", "repository": "facebookresearch/fairseq"}
{"mined_at": "2024-07-15T17:12:07.892086", "created_at": "2024-05-30T23:44:43+02:00", "updated_at": "2024-05-30T23:44:50+02:00", "name": "Dependency Review", "path": ".github/workflows/depreview.yml", "contents": "name: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n     - name: 'Checkout Repository'\n       uses: actions/checkout@v4\n     - name: Dependency Review\n       uses: actions/dependency-review-action@v4\n", "state": "active", "repository": "facebookresearch/fairseq"}
{"mined_at": "2024-07-15T17:12:09.089947", "created_at": "2022-07-06T22:26:15+02:00", "updated_at": "2022-07-06T22:26:15+02:00", "name": "lint_tests", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "facebookresearch/fairseq"}
{"mined_at": "2024-07-15T17:12:10.169963", "created_at": "2022-06-09T01:26:58+02:00", "updated_at": "2022-10-17T21:04:46+02:00", "name": "Fairseq Release", "path": ".github/workflows/release.yml", "contents": "name: Fairseq Release\n\non:\n  workflow_dispatch:\n    inputs:\n      name:\n        description: 'Release Type'\n        default: 'patch'\n        required: true\n\njobs:\n\n  get_next_version:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout-repo-content\n        uses: actions/checkout@v2\n\n      - name: setup-python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: get next version and tag\n        id: get-next-version-and-tag\n        run: |\n          output=$(python3 release_utils.py --release-type ${{ github.event.inputs.name }}) \n          echo $output\n          new_version=$(echo $output | awk '{print $1}')\n          new_tag=$(echo $output | awk '{print $2}')\n          echo \"new version is $new_version\"\n          echo \"new tag is $new_tag\"\n          echo ::set-output name=version::$new_version\n          echo ::set-output name=tag::$new_tag\n          echo ::set-output name=branch_name::$new_version-release\n          echo \"NEW_TAG=$new_tag\" >> $GITHUB_ENV\n          echo \"NEW_BRANCH=$new_version-release\" >> $GITHUB_ENV\n\n\n      # update the version number in version.txt\n      - name: update version\n        id: update-version\n        run : |\n          echo \"current folder = $PWD\"\n          echo \"current branch = $(git branch --show-current)\"\n          output=$(python3 release_utils.py --release-type ${{ github.event.inputs.name }} --update-version)\n\n      - name: add and commit\n        uses: EndBug/add-and-commit@v9\n        with:\n          author_name: ${{ secrets.AUTHOR_NAME }}\n          author_email: ${{ secrets.AUTHOR_EMAIL }}\n\n          # TODO: change this to main once shipit is disabled.\n          new_branch: '${{ env.NEW_BRANCH }}'\n          default_author: github_actor\n          message: '${{ env.NEW_TAG }} release'\n          pathspec_error_handling: exitAtEnd\n\n          # Arguments for the git pull command. Use NO-PULL to avoid the action pulling at all.\n          # pull: 'NO-PULL'\n          tag: '${{ env.NEW_TAG }}'\n\n    outputs:\n      new_version: ${{ steps.get-next-version-and-tag.outputs.version }}\n      new_tag: ${{ steps.get-next-version-and-tag.outputs.tag }}\n      branch_name: ${{ steps.get-next-version-and-tag.outputs.branch_name }}\n\n  create_sdist:\n    runs-on: ubuntu-latest\n    name: Create Source Distribution\n    needs: get_next_version\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ needs.get_next_version.outputs.branch_name }}\n\n      - name: Install Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n\n      - name: Upgrade pip\n        run: |\n          python3 -m pip install --upgrade pip\n\n      - name: Create Source Distribution\n        run: |\n          python3 -m pip install setuptools wheel twine torch\n          python3 setup.py sdist\n \n      - uses: actions/upload-artifact@v2\n        with:\n          path: dist/*.tar.gz\n\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    needs: get_next_version\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ needs.get_next_version.outputs.branch_name }}\n\n      - name: Install Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n\n      - name: Upgrade pip\n        run: |\n          python3 -m pip install --upgrade pip\n\n      - name: Install cibuildwheel\n        run: |\n          python3 -m pip install cibuildwheel\n\n      - name: Build wheels for CPython\n        run: |\n          python3 -m cibuildwheel --output-dir dist\n        env:\n          CIBW_BUILD: \"cp38-*64\"\n          CIBW_MANYLINUX_X86_64_IMAGE: manylinux1\n          CIBW_BEFORE_BUILD: git submodule update --init --recursive && pip install .\n          # Install system library\n          CIBW_BEFORE_BUILD_LINUX: (yum install -y libffi-devel || apt-get install -y libffi-devel || apk add --update --no-cache libffi-devel || true) && (yum install -y libc6 || apt-get install -y libc6 || apk add --update --no-cache libc6 || true)\n          CIBW_ENVIRONMENT: \"PIP_ONLY_BINARY=numpy\"\n          CIBW_SKIP: \"*musllinux*\"\n\n      - uses: actions/upload-artifact@v2\n        with:\n          path: dist\n\n  upload:\n    name: Upload to PyPi and create release\n    runs-on: ubuntu-latest\n    needs: [build_wheels, create_sdist, get_next_version]\n    steps:\n      - uses: actions/download-artifact@v2\n        with:\n          name: artifact\n          path: dist\n\n      # build the PyPI package and upload it\n      - name: upload\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          pip install setuptools wheel twine\n          python3 -m twine upload --repository pypi dist/*\n\n      # create the release on github\n      - name: create release on github\n        uses: ncipollo/release-action@v1\n        with:\n          tag: '${{ needs.get_next_version.outputs.new_tag }}'\n", "state": "active", "repository": "facebookresearch/fairseq"}
{"mined_at": "2024-07-15T17:12:11.247747", "created_at": "2024-05-30T23:37:48+02:00", "updated_at": "2024-05-30T23:37:48+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "facebookresearch/fairseq"}
{"mined_at": "2024-07-15T17:12:13.624481", "created_at": "2021-03-03T14:42:53+01:00", "updated_at": "2021-04-23T03:55:36+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  push:\n    branches: [main]\n    tags: ['v*']\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\nenv:\n  LATEST_PY_VERSION: '3.11'\n  PYTEST_VERBOSE: 'true'\n\njobs:\n  # Run tests for each supported python version\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # Note: pypy 7.3.13 does not appear to work with poetry\n        python-version:\n          [\n            '3.8',\n            '3.9',\n            '3.10',\n            '3.11',\n            '3.12',\n            'pypy3.9-7.3.12',\n            'pypy3.10-7.3.12',\n          ]\n      fail-fast: false\n    services:\n      nginx:\n        image: kennethreitz/httpbin\n        ports:\n          - 8080:80\n\n    steps:\n      # Set up python + poetry\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: snok/install-poetry@v1.3\n        with:\n          virtualenvs-in-project: true\n\n      # Start integration test databases\n      - uses: supercharge/mongodb-github-action@1.11.0\n        with:\n          mongodb-version: 5.0\n      - uses: supercharge/redis-github-action@1.8.0\n        with:\n          redis-version: 6\n      - uses: rrainn/dynamodb-action@v4.0.0\n\n      # Cache packages per python version, and reuse until lockfile changes\n      - name: Cache python packages\n        id: cache\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ matrix.python-version }}-latest-${{ hashFiles('poetry.lock') }}\n      - name: Install dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: poetry install -v -E all\n\n      # Run tests with coverage report\n      - name: Run unit + integration tests\n        if: ${{ !contains(matrix.python-version, 'pypy') }}\n        run: |\n          source $VENV\n          nox -e cov -- xml\n\n      # pypy tests aren't run in parallel, so too slow for integration tests\n      - name: Run unit tests only\n        if: ${{ contains(matrix.python-version, 'pypy') }}\n        run: |\n          source $VENV\n          pytest tests/unit\n\n      # Latest python version: send coverage report to codecov\n      - name: 'Upload coverage report to Codecov'\n        if: ${{ matrix.python-version == env.LATEST_PY_VERSION }}\n        uses: codecov/codecov-action@v4\n\n  # Run code analysis checks via pre-commit hooks\n  analyze:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.LATEST_PY_VERSION }}\n      - name: Run style checks & linting\n        uses: pre-commit/action@v3.0.1\n      - name: Scan dependencies for known vulnerabilities\n        uses: pypa/gh-action-pip-audit@v1.0.8\n        with:\n          vulnerability-service: osv\n          # Ignore issues with pip and setuptools versions used by the action itself\n          ignore-vulns: |\n            PYSEC-2023-228\n            PYSEC-2022-43012\n", "state": "active", "repository": "requests-cache/requests-cache"}
{"mined_at": "2024-07-15T17:12:14.644383", "created_at": "2023-06-02T19:04:11+02:00", "updated_at": "2023-06-02T19:24:26+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# Run CodeQL security analysis; see https://codeql.github.com\nname: CodeQL\n\non:\n  schedule:\n    - cron: '0 5 * * SUN'\n\njobs:\n  codeql:\n    runs-on: ubuntu-latest\n    permissions:\n      security-events: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: github/codeql-action/init@v3\n        with:\n          languages: python\n      - uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "requests-cache/requests-cache"}
{"mined_at": "2024-07-15T17:12:15.777554", "created_at": "2021-05-23T22:11:01+02:00", "updated_at": "2021-05-23T23:48:20+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "# Prior to releases, this will run additional stress tests, plus tests for all supported versions of\n# the requests library. Expected runtime is upwards of 20mins depending on runner availability,\n# which is why these are only run for releases.\nname: Deploy\n\non:\n  push:\n    tags: ['v*']\n  workflow_dispatch:\n    inputs:\n      pre-release-suffix:\n        description: 'Version suffix for pre-releases (\"a\", \"b\", \"rc\", etc.)'\n        required: false\n        default: 'dev'\n      pre-release-version:\n        description: 'Version number for pre-releases; defaults to build number'\n        required: false\n        default: ''\n      skip-stress:\n        description: 'Set to \"true\" to skip stress tests'\n        required: false\n        default: 'false'\n      skip-publish:\n        description: 'Set to \"true\" to skip publishing to PyPI'\n        required: false\n        default: 'false'\n\nenv:\n  LATEST_PY_VERSION: '3.11'\n  PYTEST_VERBOSE: 'true'\n  STRESS_TEST_MULTIPLIER: 7\n\njobs:\n  # Run additional integration stress tests\n  test-stress:\n    if: ${{ github.event.inputs.skip-stress != 'true' }}\n    runs-on: ubuntu-latest\n\n    services:\n      nginx:\n        image: kennethreitz/httpbin\n        ports:\n          - 8080:80\n\n    steps:\n      # Set up python + poetry\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.LATEST_PY_VERSION }}\n      - uses: snok/install-poetry@v1.3\n        with:\n          virtualenvs-in-project: true\n\n      # Start integration test databases\n      - uses: supercharge/mongodb-github-action@1.11.0\n        with:\n          mongodb-version: 5.0\n      - uses: supercharge/redis-github-action@1.8.0\n        with:\n          redis-version: 6\n      - uses: rrainn/dynamodb-action@v4.0.0\n\n      # Cache packages per python version, and reuse until lockfile changes\n      - name: Cache python packages\n        id: cache\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ env.LATEST_PY_VERSION }}-latest-${{ hashFiles('poetry.lock') }}\n      - name: Install dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: poetry install -v -E all\n\n      # Run tests\n      - name: Run stress tests\n        run: |\n          source $VENV\n          nox -e stress -- ${{ env.STRESS_TEST_MULTIPLIER }}\n\n  # Run unit tests without any optional dependencies installed\n  test-minimum-deps:\n    runs-on: ubuntu-latest\n\n    steps:\n      # Set up python + poetry\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.LATEST_PY_VERSION }}\n      - uses: snok/install-poetry@v1.3\n        with:\n          virtualenvs-in-project: true\n\n      # Cache packages per python version, and reuse until lockfile changes\n      - name: Cache python packages\n        id: cache\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ matrix.python-version }}-latest-minimum-deps-${{ hashFiles('poetry.lock') }}\n      - name: Install dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: poetry install -v\n\n      # Run tests\n      - name: Run tests with no optional dependencies\n        run: |\n          source $VENV\n          pytest -n auto tests/unit\n\n  # Run unit tests for all supported platforms and python versions\n  # On python 3.11, run tests for all supported requests versions\n  test:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version:\n          [\n            '3.8',\n            '3.9',\n            '3.10',\n            '3.11',\n            '3.12',\n            'pypy3.9-7.3.12',\n            'pypy3.10-7.3.12',\n          ]\n        requests-version: [latest]\n        exclude:\n          - os: windows-latest\n            python-version: 'pypy3.9'\n        # TODO: Could this be less verbose? Maybe a dynamic matrix? Also, env isn't supported here.\n        include:\n          - python-version: '3.11'\n            os: ubuntu-latest\n            requests-version: '2.22'\n          - python-version: '3.11'\n            os: ubuntu-latest\n            requests-version: '2.23'\n          - python-version: '3.11'\n            os: ubuntu-latest\n            requests-version: '2.24'\n          - python-version: '3.11'\n            os: ubuntu-latest\n            requests-version: '2.25'\n          - python-version: '3.11'\n            os: ubuntu-latest\n            requests-version: '2.26'\n          - python-version: '3.11'\n            os: ubuntu-latest\n            requests-version: '2.27'\n          - python-version: '3.11'\n            os: ubuntu-latest\n            requests-version: '2.28'\n          - python-version: '3.11'\n            os: ubuntu-latest\n            requests-version: '2.29'\n          - python-version: '3.11'\n            os: ubuntu-latest\n            requests-version: '2.30'\n          - python-version: '3.11'\n            os: ubuntu-latest\n            requests-version: '2.31'\n      fail-fast: false\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      # Set up python + poetry\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: snok/install-poetry@v1.3\n        with:\n          virtualenvs-in-project: true\n\n      # Cache packages per python version, and reuse until lockfile changes\n      - name: Cache python packages\n        id: cache\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.requests-version }}-${{ hashFiles('poetry.lock') }}\n      - name: Install dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          # Workaround due to older versions of requests/urllib3 having an upper bound on python version\n          sed -i -r 's/python\\s+= \">=3.8\"/python=\"^3.8\"/g' pyproject.toml\n          poetry add requests@${{ matrix.requests-version }} --lock\n          poetry lock --check\n          poetry lock --no-update\n          poetry install -v -E all\n\n      # Run tests\n      - name: Run tests\n        run: poetry run pytest -n auto tests/unit\n\n  # Deploy stable builds on tags only, and pre-release builds from manual trigger (\"workflow_dispatch\")\n  release:\n    if: ${{ github.event.inputs.skip-publish != 'true' }}\n    needs: [test, test-minimum-deps]\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.LATEST_PY_VERSION }}\n      - uses: snok/install-poetry@v1.3\n        with:\n          virtualenvs-in-project: true\n\n      - name: Set pre-release version\n        if: ${{ !startsWith(github.ref, 'refs/tags/v') }}\n        env:\n          pre-release-suffix: ${{ github.event.inputs.pre-release-suffix || 'dev' }}\n          pre-release-version: ${{ github.event.inputs.pre-release-version || github.run_number }}\n        run: |\n          poetry version $(poetry version -s).${{ env.pre-release-suffix }}${{ env.pre-release-version }}\n          poetry version\n\n      - name: Build package distributions\n        run: poetry build\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "requests-cache/requests-cache"}
{"mined_at": "2024-07-15T17:12:18.130474", "created_at": "2022-01-11T17:26:15+01:00", "updated_at": "2022-01-11T17:26:15+01:00", "name": "CLA Assistant", "path": ".github/workflows/cla.yml", "contents": "name: \"CLA Assistant\"\non:\n  issue_comment:\n    types: [ created ]\n  pull_request_target:\n    types: [ opened,closed,synchronize ]\n\njobs:\n  CLAssistant:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"CLA Assistant\"\n        if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'\n        # Beta Release\n        uses: cla-assistant/github-action@v2.4.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # the below token should have repo scope and must be manually added by you in the repository's secret\n          PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n        with:\n          path-to-signatures: 'signatures/version1/cla.json'\n          path-to-document: 'https://safe.global/cla'\n          # branch should not be protected\n          branch: 'cla-signatures'\n          allowlist: falvaradorodriguez,hectorgomezv,moisses89,fmrsabino,luarx,rmeissner,Uxio0,*bot # may need to update this expression if we add new bots\n\n          #below are the optional inputs - If the optional inputs are not given, then default values will be taken\n          #remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #remote-repository-name:  enter the  remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #create-file-commit-message: 'For example: Creating file for storing CLA Signatures'\n          #signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo'\n          #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'\n          #custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'\n          #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'\n          #lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)\n          #use-dco-flag: true - If you are using DCO instead of CLA\n", "state": "active", "repository": "safe-global/safe-eth-py"}
{"mined_at": "2024-07-15T17:12:19.198471", "created_at": "2024-03-22T13:15:07+01:00", "updated_at": "2024-03-22T13:15:07+01:00", "name": "Process Issue", "path": ".github/workflows/create_pr_with_new_address.yml", "contents": "name: Process Issue\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  process-issue:\n    runs-on: ubuntu-latest\n    if: contains(github.event.issue.labels.*.name, 'add-new-address') && startsWith(github.event.comment.body, '/')\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Check if comment is \"/execute\" by repo owner\n      id: check-comment\n      uses: actions/github-script@v7\n      with:\n        github-token: ${{ secrets.TOKEN_GITHUB_READ_ORG_TEAMS }} # Important: This secret with read permissions on the teams information must be configured in repository settings -> secrets -> actions\n        script: |\n          const comment = context.payload.comment.body;\n          const teamMembers = await github.rest.teams.listMembersInOrg({\n            org: 'safe-global',\n            team_slug: 'core-api',\n          });\n          const isMember = context.payload.sender.type === 'User' && teamMembers.data.some(member => member.login === context.payload.sender.login);\n          if (comment.trim() === '/execute' && isMember) {\n            console.log('The comment is \"/execute\" by a authorised member.');\n            return true;\n          }\n          console.log('The comment is not \"/execute\" or not by a authorised member.');\n          return false;\n\n    - name: Add comment to issue with starting message\n      if: steps.check-comment.outputs.result == 'true'\n      uses: actions/github-script@v7\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        script: |\n          github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: '🚀 Starting to apply the changes for the new address!'\n            })\n\n    - name: Add comment to issue with command failure\n      if: steps.check-comment.outputs.result == 'false'\n      uses: actions/github-script@v7\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        script: |\n          github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: '❌ Wrong comment or invalid permissions!'\n            })\n\n    - name: Get issue inputs\n      if: steps.check-comment.outputs.result == 'true'\n      id: get-issue-inputs\n      uses: actions/github-script@v7\n      with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const issueBody = context.payload.issue.body.replaceAll(\"_No response_\", \"\");\n\n            const titles = {\n              summary: 'Summary',\n              chainId: 'Chain ID',\n              chainDetailUrl: 'Chain detail URL',\n              rpcUrl: 'RPC URL',\n              blockscoutClientUrl: 'Blockscout Client URL',\n              etherscanClientUrl: 'Etherscan Client URL',\n              etherscanClientApiUrl: 'Etherscan Client API URL',\n              version: 'Version',\n              addressMasterCopy: 'Address \\\\(Master copy\\\\)',\n              txHashMasterCopy: 'Deployment Tx hash \\\\(Master copy\\\\)',\n              blockExplorerUrlMasterCopy: 'Block explorer URL \\\\(Master copy\\\\)',\n              addressMasterCopyL2: 'Address \\\\(Master copy L2\\\\)',\n              txHashMasterCopyL2: 'Deployment Tx hash \\\\(Master copy L2\\\\)',\n              blockExplorerUrlMasterCopyL2: 'Block explorer URL \\\\(Master copy L2\\\\)',\n              addressProxy: 'Address \\\\(Proxy factory\\\\)',\n              txHashProxy: 'Deployment Tx hash \\\\(Proxy factory\\\\)',\n              blockExplorerUrlProxy: 'Block explorer URL \\\\(Proxy factory\\\\)',\n            };\n\n            const buildPattern = title => new RegExp(`### ${title}(?:\\\\r\\\\n\\\\r\\\\n|\\\\n\\\\n|\\\\n|\\\\r\\\\n)(.+?)(?:\\\\r\\\\n\\\\r\\\\n|\\\\n\\\\n|\\\\n|\\\\r\\\\n)`);\n\n            const extractInfo = (pattern, text) => {\n              const match = text.match(pattern);\n              return match ? match[1].trim() : null;\n            };\n\n            const extractedInfo = {};\n            Object.keys(titles).forEach(key => {\n              const pattern = buildPattern(titles[key]);\n              extractedInfo[key] = extractInfo(pattern, issueBody);\n            });\n\n            console.log('Extracted Info:', extractedInfo);\n\n            return extractedInfo;\n\n    - name: Setup Python\n      if: steps.check-comment.outputs.result == 'true'\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Install dependencies\n      if: steps.check-comment.outputs.result == 'true'\n      run: |\n        pip install PyGithub safe-eth-py pre-commit\n        pre-commit install\n\n    - name: Process Issue and Create PR\n      if: steps.check-comment.outputs.result == 'true'\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        ISSUE_NUMBER: ${{ github.event.issue.number }}\n        ISSUE_BODY_INFO: ${{ steps.get-issue-inputs.outputs.result }}\n        GITHUB_REPOSITORY_NAME: 'safe-global/safe-eth-py'\n      run: |\n        python .github/scripts/github_adding_addresses/create_pr_with_new_address.py\n\n    - uses: fregante/setup-git-user@v2\n\n    - name: Run pre-commit\n      if: steps.check-comment.outputs.result == 'true'\n      run: |\n        issue_inputs='${{ steps.get-issue-inputs.outputs.result }}'\n        chain_id=$(echo \"$issue_inputs\" | jq -r '.chainId')\n        version=$(echo \"$issue_inputs\" | jq -r '.version')\n        branch_name=\"add-new-chain-${chain_id}-${version}-addresses\"\n        git pull origin main\n        git fetch\n        git checkout -b $branch_name origin/$branch_name\n\n        pre-commit run --all-files || true\n\n        if [[ $(git status --porcelain) ]]; then\n          git add .\n          git commit -m \"Apply linter fixes\"\n          git pull & git push\n        else\n          echo \"No changes to commit.\"\n        fi\n\n    - name: Add comment to issue\n      if: steps.check-comment.outputs.result == 'true'\n      uses: actions/github-script@v7\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        script: |\n          github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: '✅ Execution finished, please review the PR and merge it.'\n            })\n", "state": "active", "repository": "safe-global/safe-eth-py"}
{"mined_at": "2024-07-15T17:12:20.280771", "created_at": "2021-02-02T14:19:26+01:00", "updated_at": "2021-02-02T14:19:26+01:00", "name": "Python CI", "path": ".github/workflows/python.yml", "contents": "name: Python CI\non:\n  push:\n    branches:\n      - main\n      - develop\n  pull_request:\n  release:\n    types: [ released ]\n\n\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.12]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: '.pre-commit-config.yaml'\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}\n      - name: Install dependencies\n        run: pip install -U pre-commit\n      - name: Run pre-commit\n        run: pre-commit run --all-files\n\n  test-app:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9, \"3.10\", 3.11, 3.12]\n    services:\n      postgres:\n        image: postgres:13\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n    steps:\n    - name: Create Ganache network\n      run: docker network create ganache\n    - name: Setup and run ganache\n      run: docker run --detach --publish 8545:8545 --network ganache -e DOCKER=true trufflesuite/ganache:latest --defaultBalanceEther 10000 --gasLimit 10000000 -a 30 --chain.chainId 1337 --chain.networkId 1337 -d\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: 'requirements*.txt'\n    - name: Install dependencies\n      run:\n        pip install -r requirements-test.txt coveralls\n      env:\n        PIP_USE_MIRRORS: true\n    - name: Run tests and coverage\n      run: coverage run --source=$SOURCE_FOLDER -m pytest -W ignore::DeprecationWarning -rxXs --reruns 3\n      env:\n        SOURCE_FOLDER: gnosis\n        DJANGO_SETTINGS_MODULE: config.settings.test\n        ETHEREUM_MAINNET_NODE: ${{ secrets.ETHEREUM_MAINNET_NODE }}\n        ETHEREUM_POLYGON_NODE: ${{ secrets.ETHEREUM_POLYGON_NODE }}\n        ETHEREUM_4337_BUNDLER_URL: ${{ secrets.ETHEREUM_4337_BUNDLER_URL }}\n    - name: Test packaging\n      run: pip install -e .\n    - name: Send results to coveralls\n      # Ignore coveralls issues\n      continue-on-error: true\n      run: coveralls --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Required for coveralls\n\n  publish:\n    runs-on: ubuntu-latest\n    needs:\n      - linting\n      - test-app\n    if: (github.event_name == 'release' && github.event.action == 'released')\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n    - name: Deploy Package\n      run: |\n        python -m pip install --upgrade build twine\n        python -m build\n        twine check dist/*\n        twine upload dist/*\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "safe-global/safe-eth-py"}
{"mined_at": "2024-07-15T17:12:21.391375", "created_at": "2024-03-22T13:15:07+01:00", "updated_at": "2024-03-22T13:15:07+01:00", "name": "Validate the add address issue inputs", "path": ".github/workflows/validate_new_address_issue_input_data.yml", "contents": "name: \"Validate the add address issue inputs\"\n\non:\n  issues:\n    types: [opened, edited]\n\njobs:\n  validate-issue-inputs:\n    runs-on: ubuntu-latest\n    if: contains(github.event.issue.labels.*.name, 'add-new-address')\n    steps:\n    - name: Get issue inputs\n      id: get-issue-inputs\n      uses: actions/github-script@v7\n      with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            const issueBody = context.payload.issue.body.replaceAll(\"_No response_\", \"\");\n\n            const titles = {\n              summary: 'Summary',\n              chainId: 'Chain ID',\n              chainDetailUrl: 'Chain detail URL',\n              rpcUrl: 'RPC URL',\n              blockscoutClientUrl: 'Blockscout Client URL',\n              etherscanClientUrl: 'Etherscan Client URL',\n              etherscanClientApiUrl: 'Etherscan Client API URL',\n              version: 'Version',\n              addressMasterCopy: 'Address \\\\(Master copy\\\\)',\n              txHashMasterCopy: 'Deployment Tx hash \\\\(Master copy\\\\)',\n              blockExplorerUrlMasterCopy: 'Block explorer URL \\\\(Master copy\\\\)',\n              addressMasterCopyL2: 'Address \\\\(Master copy L2\\\\)',\n              txHashMasterCopyL2: 'Deployment Tx hash \\\\(Master copy L2\\\\)',\n              blockExplorerUrlMasterCopyL2: 'Block explorer URL \\\\(Master copy L2\\\\)',\n              addressProxy: 'Address \\\\(Proxy factory\\\\)',\n              txHashProxy: 'Deployment Tx hash \\\\(Proxy factory\\\\)',\n              blockExplorerUrlProxy: 'Block explorer URL \\\\(Proxy factory\\\\)',\n            };\n\n            const buildPattern = title => new RegExp(`### ${title}(?:\\\\r\\\\n\\\\r\\\\n|\\\\n\\\\n|\\\\n|\\\\r\\\\n)(.+?)(?:\\\\r\\\\n\\\\r\\\\n|\\\\n\\\\n|\\\\n|\\\\r\\\\n)`);\n\n            const extractInfo = (pattern, text) => {\n              const match = text.match(pattern);\n              return match ? match[1].trim() : null;\n            };\n\n            const extractedInfo = {};\n            Object.keys(titles).forEach(key => {\n              const pattern = buildPattern(titles[key]);\n              extractedInfo[key] = extractInfo(pattern, issueBody);\n            });\n\n            console.log('Extracted Info:', extractedInfo);\n\n            return extractedInfo;\n\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Install dependencies\n      run: |\n        pip install safe-eth-py validators tldextract\n\n    - name: Validate input data\n      id: validate-input-data\n      env:\n        ISSUE_BODY_INFO: ${{ steps.get-issue-inputs.outputs.result }}\n      run: |\n        python .github/scripts/github_adding_addresses/validate_new_address_issue_input_data.py\n\n    - name: Add comment to issue\n      uses: actions/github-script@v7\n      env:\n        COMMENT_OUTPUT: ${{ steps.validate-input-data.outputs.comment_message }}\n      with:\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        script: |\n          github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: process.env.COMMENT_OUTPUT\n            })\n", "state": "active", "repository": "safe-global/safe-eth-py"}
{"mined_at": "2024-07-15T17:12:22.428197", "created_at": "2024-07-15T08:23:16+02:00", "updated_at": "2024-07-15T08:23:16+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "safe-global/safe-eth-py"}
{"mined_at": "2024-07-15T17:12:24.565447", "created_at": "2022-10-28T19:05:51+02:00", "updated_at": "2023-04-13T23:38:58+02:00", "name": "Add new issue/PR to project", "path": ".github/workflows/add_to_project.yml", "contents": null, "state": "active", "repository": "nv-morpheus/morpheus"}
{"mined_at": "2024-07-15T17:12:25.607457", "created_at": "2022-11-04T20:52:14+01:00", "updated_at": "2023-12-21T05:18:36+01:00", "name": "CI Pipeline", "path": ".github/workflows/ci_pipe.yml", "contents": "# SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n# SPDX-License-Identifier: Apache-2.0\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: CI Pipeline\n\non:\n  workflow_call:\n    inputs:\n      run_check:\n        required: true\n        type: boolean\n      conda_run_build:\n        description: 'Runs the conda-build stage to ensure the conda package builds successfully'\n        required: true\n        type: boolean\n      conda_upload_label:\n        description: 'The label to use when uploading the conda package. Leave empty to disable uploading'\n        required: true\n        type: string\n      container:\n        required: true\n        type: string\n      test_container:\n        required: true\n        type: string\n    secrets:\n      NGC_API_KEY:\n        required: true\n\nenv:\n  CHANGE_TARGET: \"${{ github.base_ref }}\"\n  CUDA_PATH: \"/usr/local/cuda/\"\n  CUDA_VER: \"12.1\"\n  GH_TOKEN: \"${{ github.token }}\"\n  GIT_COMMIT: \"${{ github.sha }}\"\n  MORPHEUS_ROOT: \"${{ github.workspace }}/morpheus\"\n  WORKSPACE: \"${{ github.workspace }}/morpheus\"\n  WORKSPACE_TMP: \"${{ github.workspace }}/tmp\"\n\npermissions:\n  actions: none\n  checks: none\n  contents: read\n  deployments: none\n  discussions: none\n  id-token: write\n  issues: none\n  packages: read\n  pages: none\n  pull-requests: read\n  repository-projects: none\n  security-events: none\n  statuses: none\n\njobs:\n  check:\n    if: ${{ inputs.run_check }}\n    name: Check\n    runs-on: linux-amd64-cpu4\n    timeout-minutes: 60\n    container:\n      credentials:\n        username: '$oauthtoken'\n        password: ${{ secrets.NGC_API_KEY }}\n      image: ${{ inputs.container }}\n    strategy:\n      fail-fast: true\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          lfs: false\n          path: 'morpheus'\n          fetch-depth: 0\n          submodules: 'recursive'\n\n      - name: Get AWS credentials using OIDC\n        uses: aws-actions/configure-aws-credentials@v1-node16\n        with:\n          role-to-assume: ${{ vars.AWS_ROLE_ARN }}\n          aws-region: ${{ vars.AWS_REGION }}\n          role-duration-seconds: 43200 # 12h\n\n      - name: Check\n        shell: bash\n        run: ./morpheus/ci/scripts/github/checks.sh\n\n  build:\n    name: Build\n    runs-on: linux-amd64-cpu16\n    timeout-minutes: 60\n    container:\n      credentials:\n        username: '$oauthtoken'\n        password: ${{ secrets.NGC_API_KEY }}\n      image: ${{ inputs.container }}\n    strategy:\n      fail-fast: true\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          lfs: false\n          path: 'morpheus'\n          submodules: 'recursive'\n\n      - name: Get AWS credentials using OIDC\n        uses: aws-actions/configure-aws-credentials@v1-node16\n        with:\n          role-to-assume: ${{ vars.AWS_ROLE_ARN }}\n          aws-region: ${{ vars.AWS_REGION }}\n          role-duration-seconds: 43200 # 12h\n\n      - name: Build:linux:x86_64:gcc\n        shell: bash\n        run: ./morpheus/ci/scripts/github/build.sh\n\n  test:\n    name: Test\n    runs-on: linux-amd64-gpu-v100-latest-1\n    timeout-minutes: 60\n    container:\n      credentials:\n        username: '$oauthtoken'\n        password: ${{ secrets.NGC_API_KEY }}\n      image: ${{ inputs.test_container }}\n      options: --cap-add=sys_nice\n      env:\n        NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}\n        PARALLEL_LEVEL: '10'\n    strategy:\n      fail-fast: true\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          lfs: false\n          path: 'morpheus'\n          submodules: 'recursive'\n\n      - name: Get AWS credentials using OIDC\n        uses: aws-actions/configure-aws-credentials@v1-node16\n        with:\n          role-to-assume: ${{ vars.AWS_ROLE_ARN }}\n          aws-region: ${{ vars.AWS_REGION }}\n          role-duration-seconds: 43200 # 12h\n\n      - name: Test:linux:x86_64:gcc\n        shell: bash\n        run: ./morpheus/ci/scripts/github/test.sh\n\n  documentation:\n    name: Documentation\n    needs: [build]\n    runs-on: linux-amd64-cpu4\n    timeout-minutes: 60\n    container:\n      credentials:\n        username: '$oauthtoken'\n        password: ${{ secrets.NGC_API_KEY }}\n      image: ${{ inputs.container }}\n    strategy:\n      fail-fast: true\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          lfs: false\n          path: 'morpheus'\n          # Fetch tags so that documentation builds for releases will report the version number correctly\n          fetch-tags: true\n          submodules: 'recursive'\n\n      - name: Get AWS credentials using OIDC\n        uses: aws-actions/configure-aws-credentials@v1-node16\n        with:\n          role-to-assume: ${{ vars.AWS_ROLE_ARN }}\n          aws-region: ${{ vars.AWS_REGION }}\n          role-duration-seconds: 43200 # 12h\n\n      - name: build_docs\n        shell: bash\n        run: ./morpheus/ci/scripts/github/docs.sh\n\n  package:\n    name: Package\n    if: ${{ inputs.conda_run_build }}\n    needs: [check, documentation, test]\n    runs-on: linux-amd64-cpu16\n    timeout-minutes: 60\n    container:\n      credentials:\n        username: '$oauthtoken'\n        password: ${{ secrets.NGC_API_KEY }}\n      image: ${{ inputs.container }}\n    strategy:\n      fail-fast: true\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          lfs: false\n          path: 'morpheus'\n          fetch-depth: 0\n          submodules: 'recursive'\n\n      - name: Get AWS credentials using OIDC\n        uses: aws-actions/configure-aws-credentials@v1-node16\n        with:\n          role-to-assume: ${{ vars.AWS_ROLE_ARN }}\n          aws-region: ${{ vars.AWS_REGION }}\n          role-duration-seconds: 43200 # 12h\n\n      - name: conda\n        shell: bash\n        env:\n          CONDA_TOKEN: \"${{ secrets.CONDA_TOKEN }}\"\n          SCRIPT_ARGS: \"${{ inputs.conda_upload_label != '' && 'upload' || '' }}\"\n          CONDA_PKG_LABEL: \"${{ inputs.conda_upload_label }}\"\n        run: ./morpheus/ci/scripts/github/conda.sh $SCRIPT_ARGS\n", "state": "active", "repository": "nv-morpheus/morpheus"}
{"mined_at": "2024-07-15T17:12:26.731923", "created_at": "2023-03-06T18:47:26+01:00", "updated_at": "2023-04-28T17:31:54+02:00", "name": "Triage outside issues", "path": ".github/workflows/label-external-issues.yml", "contents": "# SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n# SPDX-License-Identifier: Apache-2.0\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Triage outside issues\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  Label-Issue:\n    runs-on: ubuntu-latest\n    # Only run if the issue author is not part of NV-Morpheus\n    if: ${{ ! contains(fromJSON('[\"OWNER\", \"MEMBER\", \"CONTRIBUTOR\", \"COLLABORATOR\"]'), github.event.issue.author_association)}}\n    steps:\n      - name: Generate Token\n        uses: actions/create-github-app-token@v1\n        id: generate-token\n        with:\n          app-id: ${{ secrets.ACTIONS_APP_ID }}\n          private-key: ${{ secrets.ACTIONS_APP_KEY }}\n\n      - name: add-triage-label\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n          issue_url=${{ github.event.issue.html_url }}\n          gh issue edit ${issue_url} --add-label \"Needs Triage,external\"\n\n      - name: add-comment-to-issue\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n           issue_url=${{ github.event.issue.html_url }}\n           author=${{ github.event.issue.user.login }}\n           echo ${author}\n           gh issue comment ${issue_url} --body \"Hi @${author}!\n\n             Thanks for submitting this issue - our team has been notified and we'll get back to you as soon as we can!\n             In the meantime, feel free to add any relevant information to this issue.\"\n", "state": "active", "repository": "nv-morpheus/morpheus"}
{"mined_at": "2024-07-15T17:12:27.859531", "created_at": "2023-12-15T20:27:21+01:00", "updated_at": "2023-12-21T05:18:36+01:00", "name": "Build pull request", "path": ".github/workflows/pr.yaml", "contents": "# SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n# SPDX-License-Identifier: Apache-2.0\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Build pull request\n\non:\n  push:\n    branches:\n      - 'pull-request/**'\n      - 'branch-*'\n\n# This allows a subsequently queued workflow run to interrupt previous runs\nconcurrency:\n  group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'\n  cancel-in-progress: true\n\npermissions:\n  actions: none\n  checks: none\n  contents: read\n  deployments: none\n  discussions: none\n  id-token: write\n  issues: none\n  packages: read\n  pages: none\n  pull-requests: read\n  repository-projects: none\n  security-events: none\n  statuses: none\n\njobs:\n\n  prepare:\n    # Executes the get-pr-info action to determine if the PR has the skip-ci label, if the action fails we assume the\n    # PR does not have the label\n    name: Prepare\n    runs-on: ubuntu-latest\n    container:\n      image: rapidsai/ci-conda:latest\n    steps:\n      - name: Get PR Info\n        id: get-pr-info\n        uses: rapidsai/shared-action-workflows/get-pr-info@branch-23.08\n        if: ${{ startsWith(github.ref_name, 'pull-request/') }}\n    outputs:\n      is_pr: ${{ startsWith(github.ref_name, 'pull-request/') }}\n      is_main_branch: ${{ github.ref_name == 'main' }}\n      is_dev_branch: ${{ startsWith(github.ref_name, 'branch-') }}\n      has_conda_build_label: ${{ steps.get-pr-info.outcome == 'success' && contains(fromJSON(steps.get-pr-info.outputs.pr-info).labels.*.name, 'conda-build') || false }}\n      has_skip_ci_label: ${{ steps.get-pr-info.outcome == 'success' && contains(fromJSON(steps.get-pr-info.outputs.pr-info).labels.*.name, 'skip-ci') || false }}\n      pr_info: ${{ steps.get-pr-info.outcome == 'success' && steps.get-pr-info.outputs.pr-info || '' }}\n\n  checks:\n    needs: [prepare]\n    # Only run the CI pipeline if the PR does not have the skip-ci label and we are on a PR branch\n    if: ${{ !fromJSON(needs.prepare.outputs.has_skip_ci_label) && fromJSON(needs.prepare.outputs.is_pr )}}\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@branch-24.02\n    with:\n      enable_check_generated_files: false\n\n  ci_pipe:\n    name: CI Pipeline\n    needs: [prepare]\n    uses: ./.github/workflows/ci_pipe.yml\n    # Only run the CI pipeline if the PR does not have the skip-ci label\n    if: ${{ ! fromJSON(needs.prepare.outputs.has_skip_ci_label) }}\n    with:\n      # Run checks for any PR branch\n      run_check: ${{ fromJSON(needs.prepare.outputs.is_pr) }}\n      # Run conda-build for main/dev branches and PRs with the conda-build label\n      conda_run_build: ${{ !fromJSON(needs.prepare.outputs.is_pr) || fromJSON(needs.prepare.outputs.has_conda_build_label) }}\n      # Update conda package only for non PR branches. Use 'main' for main branch and 'dev' for all other branches\n      # Disable conda upload for now, once we have morpheus packages in conda forge set the value to\n      # !fromJSON(needs.prepare.outputs.is_pr) && (fromJSON(needs.prepare.outputs.is_main_branch) && 'main' || 'dev') || ''\n      conda_upload_label: \"\"\n      container: nvcr.io/ea-nvidia-morpheus/morpheus:morpheus-ci-build-240524\n      test_container: nvcr.io/ea-nvidia-morpheus/morpheus:morpheus-ci-test-240524\n    secrets:\n      NGC_API_KEY: ${{ secrets.NGC_API_KEY }}\n\n  pr-builder:\n    # Always run this step even if others are skipped or cancelled\n    if: '!cancelled()'\n    needs:\n      - prepare\n      - checks\n      - ci_pipe\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-24.02\n", "state": "active", "repository": "nv-morpheus/morpheus"}
{"mined_at": "2024-07-15T17:12:28.986149", "created_at": "2023-09-07T22:53:06+02:00", "updated_at": "2023-09-08T18:26:08+02:00", "name": "Project - Set PR and Linked Issues to In Progress", "path": ".github/workflows/project_automation_set_in_progress.yml", "contents": "# SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n# SPDX-License-Identifier: Apache-2.0\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Project - Set PR and Linked Issues to In Progress\n\non:\n  pull_request_target:\n    # Run this action when a PR is opened or edited\n    # Issues do not have a graphQL connection to linked PRs so we can't use that event\n    types: [opened, converted_to_draft]\n  pull_request_review:\n    # Run this action when a PR is reviewed\n    types: [submitted]\n\nenv:\n  ORG: ${{ github.event.repository.owner.login }}\n  PR_NUMBER: ${{ github.event.pull_request.number }}\n  REPO: ${{ github.event.repository.name }}\n  PR_GLOBAL_ID: ${{ github.event.pull_request.node_id}}\n\n  # The environment vars below are hard-coded from external queries to save time + complexity here\n  # Note: PVT means Project V2, not \"Private\"\n  # PVT = Project V2, PVTSSF = Project V2 Single Select Field, PVTIF = Project V2 Iteration Field\n  PROJECT_ID: \"PVT_kwDOBkAsks4ACeio\"\n  STATUS_FIELD_ID: \"PVTSSF_lADOBkAsks4ACeiozgBbno0\"\n  WORKING_SPRINT_FIELD_ID: \"PVTIF_lADOBkAsks4ACeiozgJ_KCY\"\n  START_SPRINT_FIELD_ID: \"PVTIF_lADOBkAsks4ACeiozgI90p0\"\n  IN_PROGRESS_PROJECT_OPTION_ID: \"47fc9ee4\"\n  IN_REVIEW_PROJECT_OPTION_ID: \"eb7a6302\"\n\njobs:\n  project_automation_in_progress:\n    runs-on: ubuntu-latest\n\n    # We use the default GitHub token to perform the draft update because\n    # The pull_request_review trigger does not grant access to secrets\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n      - name: Check if changes requested from a reviewer\n        id: check_changes_requested\n        if: github.event_name == 'pull_request_review'\n        run: |\n          if [ ${{ github.event.review.state }} != 'changes_requested' ]; then\n            echo \"Changes not requested, exiting\"\n            exit 0\n\n          # If it is requesting changes, set PR to draft\n          # We use the default token here since we're granting write access to the PR\n          elif [ ${{ github.event.pull_request.draft }} == false ]; then\n            gh api graphql -f query='\n              mutation {\n                convertPullRequestToDraft(input: {pullRequestId: \"${{ env.PR_GLOBAL_ID }}\"}) {\n                  clientMutationId\n                }\n              }'\n            exit 0\n          fi\n        continue-on-error: true\n\n      - name: Wait 1 Second\n        id: sleep\n        if: github.event_name == 'pull_request_target'\n        run: sleep 1  # We sleep here to ensure the pr is added to the project before we query for it\n\n      - name: Select Status Field Value\n        id: select_status_field_value\n        if: github.event_name == 'pull_request_target'\n        run: |\n          # If it's not a draft and it's an opened trigger, the status should be \"Ready for Review\", otherwise \"In Progress\"\n          if [ ${{ github.event.pull_request.draft }} == false ] && [ ${{ github.event.action }} == \"opened\" ]; then\n            echo \"Setting status to 'In Review'\"\n            echo \"STATUS_OPTION_ID=$IN_REVIEW_PROJECT_OPTION_ID\" >> $GITHUB_ENV\n          else\n            echo \"Setting status to 'In Progress'\"\n            echo \"STATUS_OPTION_ID=$IN_PROGRESS_PROJECT_OPTION_ID\" >> $GITHUB_ENV\n          fi\n        continue-on-error: true\n\n      - name: Get PR Project ID\n        id: get_pr_id\n        if: github.event_name == 'pull_request_target'\n        run: |\n            # Query up to 10 projects for the PR\n            gh api graphql -f query='\n              query {\n                organization(login: \"${{ env.ORG }}\") {\n                  repository(name: \"${{ env.REPO }}\") {\n                    issueOrPullRequest(number: ${{ env.PR_NUMBER }}) {\n                      ... on PullRequest {\n                        id\n                        projectItems(first: 10) {\n                          edges {\n                            node {\n                              id\n                              project {\n                                id\n                              }\n                            }\n                          }\n                        }\n                      }\n                    }\n                  }\n                }\n              }' > project_data.json\n\n            # Filter the json result to only the project-specific ID for the PR\n            # A PR can be in multiple projects so we need to filter by the project ID we want\n            pr_id=$(jq -r '.data.organization.repository.issueOrPullRequest.projectItems.edges[] |\n                           select(.node.project.id == \"${{ env.PROJECT_ID }}\") |\n                           .node.id' project_data.json)\n            echo \"PR_ID=$pr_id\" >> $GITHUB_ENV\n        continue-on-error: true\n\n      - name: Set PR Fields\n        id: set_pr_fields\n        if: github.event_name == 'pull_request_target'\n        run: |\n            gh api graphql -f query='\n                mutation {\n                    updateProjectV2ItemFieldValue(\n                        input: {\n                            projectId: \"${{ env.PROJECT_ID }}\"\n                            itemId: \"${{ env.PR_ID }}\"\n                            fieldId: \"${{ env.STATUS_FIELD_ID }}\"\n                        value: {\n                            singleSelectOptionId: \"${{ env.STATUS_OPTION_ID }}\"\n                                }\n                            }\n                        ) {\n                            projectV2Item {\n                                id\n                            }\n                        }\n                    }'\n\n            # Check if the PR has a start sprint assigned, save the result for the linked issues\n            gh api graphql -f query='\n                query {\n                  node(id: \"${{ env.PR_ID }}\") {\n                    ... on ProjectV2Item {\n                      id\n                      fieldValueByName(name: \"Start Sprint\") {\n                        ... on ProjectV2ItemFieldIterationValue {\n                          id\n                        }\n                      }\n                    }\n                  }\n                }' > start_sprint_exists_data.json\n              start_sprint_option_id=$(jq -r '.data.node.fieldValueByName.id' start_sprint_exists_data.json)\n              echo \"START_SPRINT_OPTION_ID=$start_sprint_option_id\" >> $GITHUB_ENV\n\n            # If there is no start sprint assigned, assign the current start sprint\n            if [ \"$start_sprint_option_id\" == 'null' ]; then\n                # Get current start sprint iteration id\n                # The current sprint is always the first iteration in the list\n                gh api graphql -f query='\n                query MyQuery {\n                    node(id: \"${{ env.PROJECT_ID }}\") {\n                        ... on ProjectV2 {\n                        id\n                        field(name: \"Start Sprint\") {\n                            ... on ProjectV2IterationField {\n                            id\n                            name\n                            configuration {\n                                iterations {\n                                id\n                                }\n                            }\n                            }\n                        }\n                        }\n                    }\n                    }' > start_sprint_option_data.json\n                current_start_sprint_option_id=$(jq -r '.data.node.field.configuration.iterations[0].id' start_sprint_option_data.json)\n                echo \"CURRENT_START_SPRINT_OPTION_ID=$current_start_sprint_option_id\" >> $GITHUB_ENV\n\n                # The query below is constructed differently than the ones above due to bash variable syntax + github actions syntax interactions\n                QUERY=\"mutation {\n                    updateProjectV2ItemFieldValue(\n                    input: {\n                        projectId: \\\"$PROJECT_ID\\\"\n                        itemId: \\\"$PR_ID\\\"\n                        fieldId: \\\"$START_SPRINT_FIELD_ID\\\"\n                    value: {\n                        iterationId: \\\"$current_start_sprint_option_id\\\"\n                        }\n                        }\n                    ) {\n                        projectV2Item {\n                        id\n                        }\n                    }\n                    }\"\n                gh api graphql --field query=\"$QUERY\"\n            fi\n\n            # Assign the current working sprint to the PR (faster/simpler to just overwrite even if it is the same)\n            gh api graphql -f query='\n            query {\n                node(id: \"${{ env.PROJECT_ID }}\") {\n                    ... on ProjectV2 {\n                    id\n                    field(name: \"Working Sprint\") {\n                        ... on ProjectV2IterationField {\n                        id\n                        name\n                        configuration {\n                            iterations {\n                            id\n                            }\n                        }\n                        }\n                    }\n                    }\n                }\n                }' > working_sprint_options_data.json\n            current_working_sprint_option_id=$(jq -r '.data.node.field.configuration.iterations[0].id' working_sprint_options_data.json)\n            echo \"CURRENT_WORKING_SPRINT_OPTION_ID=$current_working_sprint_option_id\" >> $GITHUB_ENV\n\n            # Set the working sprint to the current working sprint\n            QUERY=\"mutation {\n                updateProjectV2ItemFieldValue(\n                input: {\n                    projectId: \\\"$PROJECT_ID\\\"\n                    itemId: \\\"$PR_ID\\\"\n                    fieldId: \\\"$WORKING_SPRINT_FIELD_ID\\\"\n                value: {\n                    iterationId: \\\"$current_working_sprint_option_id\\\"\n                    }\n                    }\n                ) {\n                    projectV2Item {\n                    id\n                    }\n                }\n                }\"\n            gh api graphql --field query=\"$QUERY\"\n        continue-on-error: true\n\n      - name: Sync Linked Issues\n        id: sync_linked_issues\n        if: github.event_name == 'pull_request_target'\n        run: |\n            # Find the linked issues to the PR\n            gh api graphql -f query='\n                query {\n                organization(login: \"${{ env.ORG }}\") {\n                    repository(name: \"${{ env.REPO }}\") {\n                    issueOrPullRequest(number: ${{ env.PR_NUMBER }}) {\n                        ... on PullRequest {\n                        id\n                        closingIssuesReferences(first: 10) {\n                            edges {\n                            node {\n                                id\n                                projectItems(first: 10) {\n                                nodes {\n                                    id\n                                }\n                                edges {\n                                    node {\n                                    id\n                                    project {\n                                        id\n                                    }\n                                    }\n                                }\n                                }\n                            }\n                            }\n                        }\n                        }\n                    }\n                    }\n                }\n                }' > linked_issues.json\n            issue_ids=$(jq -r '.data.organization.repository.issueOrPullRequest.closingIssuesReferences.edges[].node.projectItems.edges[] |\n                                select(.node.project.id == \"${{ env.PROJECT_ID }}\") |\n                                .node.id' linked_issues.json)\n\n            # For each linked issue, set the status to \"In Progress\", the Working Sprint to the current working sprint\n            # If there's no Start Sprint, set that to the current Start Sprint as well\n            for issue_id in $issue_ids; do\n                # Set the status of the linked issues to \"In Progress\"\n                QUERY=\"mutation {\n                updateProjectV2ItemFieldValue(\n                    input: {\n                        projectId: \\\"$PROJECT_ID\\\"\n                        itemId: \\\"$issue_id\\\"\n                        fieldId: \\\"$STATUS_FIELD_ID\\\"\n                    value: {\n                        singleSelectOptionId: \\\"$STATUS_OPTION_ID\\\"\n                        }\n                    }\n                    ) {\n                    projectV2Item {\n                        id\n                    }\n                    }\n                }\"\n                gh api graphql --field query=\"$QUERY\"\n                # Set the working sprint of the linked issues to the current working sprint\n                QUERY=\"mutation {\n                    updateProjectV2ItemFieldValue(\n                    input: {\n                        projectId: \\\"$PROJECT_ID\\\"\n                        itemId: \\\"$issue_id\\\"\n                        fieldId: \\\"$WORKING_SPRINT_FIELD_ID\\\"\n                    value: {\n                        iterationId: \\\"$CURRENT_WORKING_SPRINT_OPTION_ID\\\"\n                        }\n                        }\n                    ) {\n                        projectV2Item {\n                          id\n                        }\n                    }\n                    }\"\n                gh api graphql --field query=\"$QUERY\"\n                # Set the start sprint of the linked issues to the current start sprint if it's null\n                if [ ${{ env.START_SPRINT_OPTION_ID }} == 'null' ]; then\n                    QUERY=\"mutation {\n                    updateProjectV2ItemFieldValue(\n                    input: {\n                        projectId: \\\"$PROJECT_ID\\\"\n                        itemId: \\\"$issue_id\\\"\n                        fieldId: \\\"$START_SPRINT_FIELD_ID\\\"\n                    value: {\n                        iterationId: \\\"$CURRENT_START_SPRINT_OPTION_ID\\\"\n                        }\n                        }\n                    ) {\n                        projectV2Item {\n                          id\n                        }\n                    }\n                    }\"\n                    gh api graphql --field query=\"$QUERY\"\n                fi\n            done\n        continue-on-error: true\n", "state": "active", "repository": "nv-morpheus/morpheus"}
{"mined_at": "2024-07-15T17:12:30.297169", "created_at": "2023-09-08T18:26:08+02:00", "updated_at": "2023-09-08T18:26:08+02:00", "name": "Project - Set PR and Linked Issues to In Review", "path": ".github/workflows/project_automation_set_in_review.yml", "contents": "# SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n# SPDX-License-Identifier: Apache-2.0\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Project - Set PR and Linked Issues to In Review\n\non:\n  pull_request_target:\n    # Run this action when a PR is opened or edited\n    # Issues do not have a graphQL connection to linked PRs so we can't use that event\n    types: [ready_for_review, review_requested]\n\nenv:\n ORG: ${{ github.event.repository.owner.login }}\n PR_NUMBER: ${{ github.event.pull_request.number }}\n REPO: ${{ github.event.repository.name }}\n\n # The environment vars below are hard-coded from external queries to save time + complexity here\n # Note: PVT means Project V2, not \"Private\"\n # PVT = Project V2, PVTSSF = Project V2 Single Select Field, PVTIF = Project V2 Iteration Field\n PROJECT_ID: \"PVT_kwDOBkAsks4ACeio\"\n STATUS_FIELD_ID: \"PVTSSF_lADOBkAsks4ACeiozgBbno0\"\n IN_REVIEW_PROJECT_OPTION_ID: \"eb7a6302\"\n\njobs:\n  project_automation_in_review:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Generate Token\n        uses: actions/create-github-app-token@v1\n        id: generate-token\n        with:\n          app-id: ${{ secrets.ACTIONS_APP_ID }}\n          private-key: ${{ secrets.ACTIONS_APP_KEY }}\n\n      - name: Wait 1 Second\n        id: sleep\n        run: sleep 1\n\n      - name: Get PR Project ID\n        id: get_pr_id\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            # Query up to 10 projects for the PR\n            gh api graphql -f query='\n              query {\n                organization(login: \"${{ env.ORG }}\") {\n                  repository(name: \"${{ env.REPO }}\") {\n                    issueOrPullRequest(number: ${{ env.PR_NUMBER }}) {\n                      ... on PullRequest {\n                        id\n                        projectItems(first: 10) {\n                          edges {\n                            node {\n                              id\n                              project {\n                                id\n                              }\n                            }\n                          }\n                        }\n                      }\n                    }\n                  }\n                }\n              }' > project_data.json\n\n            # Filter the json result to only the project-specific ID for the PR\n            # A PR can be in multiple projects so we need to filter by the project ID we want\n            pr_id=$(jq -r '.data.organization.repository.issueOrPullRequest.projectItems.edges[] |\n                           select(.node.project.id == \"${{ env.PROJECT_ID }}\") |\n                           .node.id' project_data.json)\n            echo \"PR_ID=$pr_id\" >> $GITHUB_ENV\n        continue-on-error: true\n\n      - name: Set PR to In Review\n        id: set_pr_in_review\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            # Update the PR status to In Review\n            gh api graphql -f query='\n              mutation {\n              updateProjectV2ItemFieldValue(\n                  input: {\n                      projectId: \"${{ env.PROJECT_ID }}\"\n                      itemId: \"${{ env.PR_ID }}\"\n                      fieldId: \"${{ env.STATUS_FIELD_ID }}\"\n                      value: {\n                          singleSelectOptionId: \"${{ env.IN_REVIEW_PROJECT_OPTION_ID }}\"\n                      }\n                      }\n                  ) {\n                      projectV2Item {\n                      id\n                      }\n                  }\n                }'\n        continue-on-error: true\n\n      - name: Set Linked Issues to In Review\n        id: update_linked_issues\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            gh api graphql -f query='\n              query {\n                organization(login: \"${{ env.ORG }}\") {\n                  repository(name: \"${{ env.REPO }}\") {\n                    issueOrPullRequest(number: ${{ env.PR_NUMBER }}) {\n                      ... on PullRequest {\n                        id\n                        closingIssuesReferences(first: 10) {\n                          edges {\n                            node {\n                              id\n                              projectItems(first: 10) {\n                                nodes {\n                                  id\n                                }\n                                edges {\n                                  node {\n                                    id\n                                    project {\n                                      id\n                                    }\n                                  }\n                                }\n                              }\n                            }\n                          }\n                        }\n                      }\n                    }\n                  }\n                }\n              }' > linked_issue_data.json\n            issue_ids=$(jq -r '.data.organization.repository.issueOrPullRequest.closingIssuesReferences.edges[].node.projectItems.edges[] |\n                               select(.node.project.id == \"${{ env.PROJECT_ID }}\") |\n                               .node.id' linked_issue_data.json)\n\n            # Set Linked Issues to In Review\n            for issue_id in $issue_ids; do\n              # The query below is constructed differently than the others due to bash variable syntax + github actions syntax interactions\n              QUERY=\"mutation {\n                updateProjectV2ItemFieldValue(\n                  input: {\n                    projectId: \\\"$PROJECT_ID\\\"\n                    itemId: \\\"$issue_id\\\"\n                    fieldId: \\\"$STATUS_FIELD_ID\\\"\n                  value: {\n                      singleSelectOptionId: \\\"$IN_REVIEW_PROJECT_OPTION_ID\\\"\n                      }\n                    }\n                  ) {\n                    projectV2Item {\n                      id\n                    }\n                  }\n                }\"\n              gh api graphql --field query=\"$QUERY\"\n            done\n        continue-on-error: true\n", "state": "active", "repository": "nv-morpheus/morpheus"}
{"mined_at": "2024-07-15T17:12:31.848145", "created_at": "2023-09-08T18:26:08+02:00", "updated_at": "2023-09-08T18:26:08+02:00", "name": "Project - Set PR or Issue Roadmap Value on Close", "path": ".github/workflows/project_automation_set_roadmap.yml", "contents": "# SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n# SPDX-License-Identifier: Apache-2.0\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Project - Set PR or Issue Roadmap Value on Close\n\non:\n  pull_request_target:\n    # Run this action when a PR is closed\n    types: [closed]\n  issues:\n    # Run this action when an issue is closed\n    types: [closed]\n\nenv:\n ORG: ${{ github.event.repository.owner.login }}\n PR_NUMBER: ${{ github.event.pull_request.number }} # evaluates to null for issues\n ISSUE_NUMBER: ${{ github.event.issue.number }} # evaluates to null for PRs\n REPO: ${{ github.event.repository.name }}\n\n # The environment vars below are hard-coded from external queries to save time + complexity here\n # Note: PVT means Project V2, not \"Private\"\n # PVT = Project V2, PVTSSF = Project V2 Single Select Field, PVTIF = Project V2 Iteration Field\n PROJECT_ID: \"PVT_kwDOBkAsks4ACeio\"\n ROADMAP_FIELD_ID: \"PVTSSF_lADOBkAsks4ACeiozgCCFL4\"\n\njobs:\n  project_automation_roadmap_on_close:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Generate Token\n        uses: actions/create-github-app-token@v1\n        id: generate-token\n        with:\n          app-id: ${{ secrets.ACTIONS_APP_ID }}\n          private-key: ${{ secrets.ACTIONS_APP_KEY }}\n\n      - name: Get PR Project ID\n        if: github.event_name == 'pull_request_target'\n        id: get_pr_id\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            # Query up to 10 projects for the PR\n            gh api graphql -f query='\n              query {\n                organization(login: \"${{ env.ORG }}\") {\n                  repository(name: \"${{ env.REPO }}\") {\n                    issueOrPullRequest(number: ${{ env.PR_NUMBER }}) {\n                      ... on PullRequest {\n                        id\n                        projectItems(first: 10) {\n                          edges {\n                            node {\n                              id\n                              project {\n                                id\n                              }\n                            }\n                          }\n                        }\n                      }\n                    }\n                  }\n                }\n              }' > project_data.json\n\n            # Filter the json result to only the project-specific ID for the PR\n            # A PR can be in multiple projects so we need to filter by the project ID we want\n            pr_id=$(jq -r '.data.organization.repository.issueOrPullRequest.projectItems.edges[] |\n                           select(.node.project.id == \"${{ env.PROJECT_ID }}\") |\n                           .node.id' project_data.json)\n            echo \"ITEM_ID=$pr_id\" >> $GITHUB_ENV\n        continue-on-error: true\n\n      - name: Get Issue Project ID\n        if: github.event_name == 'issues'\n        id: get_issue_id\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            # Query up to 10 projects for the Issue\n            gh api graphql -f query='\n              query {\n                organization(login: \"${{ env.ORG }}\") {\n                  repository(name: \"${{ env.REPO }}\") {\n                    issueOrPullRequest(number: ${{ env.ISSUE_NUMBER }}) {\n                      ... on Issue {\n                        id\n                        projectItems(first: 10) {\n                          edges {\n                            node {\n                              id\n                              project {\n                                id\n                              }\n                            }\n                          }\n                        }\n                      }\n                    }\n                  }\n                }\n              }' > project_data.json\n\n            # Filter the json result to only the project-specific ID for the PR\n            # A PR can be in multiple projects so we need to filter by the project ID we want\n            issue_id=$(jq -r '.data.organization.repository.issueOrPullRequest.projectItems.edges[] |\n                           select(.node.project.id == \"${{ env.PROJECT_ID }}\") |\n                           .node.id' project_data.json)\n            echo \"ITEM_ID=$issue_id\" >> $GITHUB_ENV\n        continue-on-error: true\n\n      - name: Get Current Release\n        id: get_current_release\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            # Get current roadmap id\n            # We maintain the roadmap as a single select field in the project, with the first value being the upcoming release\n\n            gh api graphql -f query='\n            query MyQuery {\n                node(id: \"${{ env.PROJECT_ID }}\") {\n                    ... on ProjectV2 {\n                    id\n                    field(name: \"Roadmap\") {\n                        ... on ProjectV2SingleSelectField {\n                        id\n                        options {\n                            id\n                        }\n                        }\n                    }\n                    }\n                }\n                }' > roadmap_option_data.json\n            current_roadmap_option_id=$(jq -r '.data.node.field.options[0].id' roadmap_option_data.json)\n            echo \"CURRENT_ROADMAP_OPTION_ID=$current_roadmap_option_id\" >> $GITHUB_ENV\n        continue-on-error: true\n\n      - name: Set Item Roadmap\n        id: set_item_roadmap\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            # Perform the mutation to update the Roadmap\n            gh api graphql -f query='\n              mutation {\n              updateProjectV2ItemFieldValue(\n                  input: {\n                      projectId: \"${{ env.PROJECT_ID }}\"\n                      itemId: \"${{ env.ITEM_ID }}\"\n                      fieldId: \"${{ env.ROADMAP_FIELD_ID }}\"\n                      value: {\n                          singleSelectOptionId: \"${{ env.CURRENT_ROADMAP_OPTION_ID }}\"\n                      }\n                      }\n                  ) {\n                      projectV2Item {\n                      id\n                      }\n                  }\n                }'\n        continue-on-error: true\n", "state": "active", "repository": "nv-morpheus/morpheus"}
{"mined_at": "2024-07-15T17:12:33.166777", "created_at": "2023-09-08T18:26:08+02:00", "updated_at": "2023-09-08T18:26:08+02:00", "name": "Project - Synchronize Linked Issues", "path": ".github/workflows/project_automation_sync_pr_issues.yml", "contents": "# SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n# SPDX-License-Identifier: Apache-2.0\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Project - Synchronize Linked Issues\n\non:\n  pull_request_target:\n    # Run this action when a PR is opened or edited\n    # Issues do not have a graphQL connection to linked PRs so we can't use that event\n    types: [edited]\n\nenv:\n ORG: ${{ github.event.repository.owner.login }}\n PR_NUMBER: ${{ github.event.pull_request.number }}\n REPO: ${{ github.event.repository.name }}\n\n # The environment vars below are hard-coded from external queries to save time + complexity here\n # Note: PVT means Project V2, not \"Private\"\n PROJECT_ID: \"PVT_kwDOBkAsks4ACeio\"\n STATUS_FIELD_ID: \"PVTSSF_lADOBkAsks4ACeiozgBbno0\"\n WORKING_SPRINT_FIELD_ID: \"PVTIF_lADOBkAsks4ACeiozgJ_KCY\"\n START_SPRINT_FIELD_ID: \"PVTIF_lADOBkAsks4ACeiozgI90p0\"\n\njobs:\n  project_automation_sync_pr_with_issues:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Generate Token\n        uses: actions/create-github-app-token@v1\n        id: generate-token\n        with:\n          app-id: ${{ secrets.ACTIONS_APP_ID }}\n          private-key: ${{ secrets.ACTIONS_APP_KEY }}\n\n      - name: Wait 1 Second\n        id: sleep\n        run: sleep 1\n\n      - name: Get PR Project ID\n        id: get_pr_id\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            # Query up to 10 projects for the PR\n            gh api graphql -f query='\n              query {\n                organization(login: \"${{ env.ORG }}\") {\n                  repository(name: \"${{ env.REPO }}\") {\n                    issueOrPullRequest(number: ${{ env.PR_NUMBER }}) {\n                      ... on PullRequest {\n                        id\n                        projectItems(first: 10) {\n                          edges {\n                            node {\n                              id\n                              project {\n                                id\n                              }\n                            }\n                          }\n                        }\n                      }\n                    }\n                  }\n                }\n              }' > project_data.json\n\n            # Filter the json result to only the project-specific ID for the PR\n            # A PR can be in multiple projects so we need to filter by the project ID we want\n            pr_id=$(jq -r '.data.organization.repository.issueOrPullRequest.projectItems.edges[] |\n                           select(.node.project.id == \"${{ env.PROJECT_ID }}\") |\n                           .node.id' project_data.json)\n            echo \"PR_ID=$pr_id\" >> $GITHUB_ENV\n        continue-on-error: true\n\n      - name: Get Status, Start Sprint, and Working Sprint Fields from the PR\n        id: get_pr_status\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            # Query the PR's status from the project\n            gh api graphql -f query='\n              query {\n                node(id: \"${{ env.PR_ID }}\") {\n                  ... on ProjectV2Item {\n                    id\n                    fieldValueByName(name: \"Status\") {\n                      ... on ProjectV2ItemFieldSingleSelectValue {\n                        id\n                      }\n                    }\n                  }\n                }\n              }' > status_field_data.json\n            status_option_id=$(jq -r '.data.node.fieldValueByName.id' status_field_data.json)\n            echo \"STATUS_OPTION_ID=$status_option_id\" >> $GITHUB_ENV\n\n            # Query the PR's start sprint from the project\n            gh api graphql -f query='\n              query {\n                node(id: \"${{ env.PR_ID }}\") {\n                  ... on ProjectV2Item {\n                    id\n                    fieldValueByName(name: \"Start Sprint\") {\n                      ... on ProjectV2ItemFieldIterationValue {\n                        id\n                      }\n                    }\n                  }\n                }\n              }' > start_sprint_data.json\n            start_sprint_option_id=$(jq -r '.data.node.fieldValueByName.id' start_sprint_data.json)\n            echo \"START_SPRINT_OPTION_ID=$start_sprint_option_id\" >> $GITHUB_ENV\n\n            # Query the PR's working sprint from the project\n            gh api graphql -f query='\n              query {\n                node(id: \"${{ env.PR_ID }}\") {\n                  ... on ProjectV2Item {\n                    id\n                    fieldValueByName(name: \"Working Sprint\") {\n                      ... on ProjectV2ItemFieldIterationValue {\n                        id\n                      }\n                    }\n                  }\n                }\n              }' > working_sprint_data.json\n            working_sprint_option_id=$(jq -r '.data.node.fieldValueByName.id' working_sprint_data.json)\n            echo \"WORKING_SPRINT_OPTION_ID=$working_sprint_option_id\" >> $GITHUB_ENV\n\n        continue-on-error: true\n\n      - name: Sync Linked Issues\n        id: update_linked_issues\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            gh api graphql -f query='\n              query {\n                organization(login: \"${{ env.ORG }}\") {\n                  repository(name: \"${{ env.REPO }}\") {\n                    issueOrPullRequest(number: ${{ env.PR_NUMBER }}) {\n                      ... on PullRequest {\n                        id\n                        closingIssuesReferences(first: 10) {\n                          edges {\n                            node {\n                              id\n                              projectItems(first: 10) {\n                                nodes {\n                                  id\n                                }\n                                edges {\n                                  node {\n                                    id\n                                    project {\n                                      id\n                                    }\n                                  }\n                                }\n                              }\n                            }\n                          }\n                        }\n                      }\n                    }\n                  }\n                }\n              }' > project_data.json\n            issue_ids=$(jq -r '.data.organization.repository.issueOrPullRequest.closingIssuesReferences.edges[].node.projectItems.edges[] |\n                               select(.node.project.id == \"${{ env.PROJECT_ID }}\") |\n                               .node.id' project_data.json)\n\n            for issue_id in $issue_ids; do\n              # The query below is constructed differently than the others due to bash variable syntax + github actions syntax interactions\n              # Update Status\n              QUERY=\"mutation {\n                updateProjectV2ItemFieldValue(\n                  input: {\n                    projectId: \\\"$PROJECT_ID\\\"\n                    itemId: \\\"$issue_id\\\"\n                    fieldId: \\\"$STATUS_FIELD_ID\\\"\n                  value: {\n                      singleSelectOptionId: \\\"$STATUS_OPTION_ID\\\"\n                      }\n                    }\n                  ) {\n                    projectV2Item {\n                      id\n                    }\n                  }\n                }\"\n              gh api graphql --field query=\"$QUERY\"\n\n              # Update Start Sprint\n              QUERY=\"mutation {\n                updateProjectV2ItemFieldValue(\n                  input: {\n                    projectId: \\\"$PROJECT_ID\\\"\n                    itemId: \\\"$issue_id\\\"\n                    fieldId: \\\"$START_SPRINT_FIELD_ID\\\"\n                  value: {\n                      iterationId: \\\"$START_SPRINT_OPTION_ID\\\"\n                      }\n                    }\n                  ) {\n                    projectV2Item {\n                      id\n                    }\n                  }\n                }\"\n              gh api graphql --field query=\"$QUERY\"\n\n              # Update Working Sprint\n              QUERY=\"mutation {\n                updateProjectV2ItemFieldValue(\n                  input: {\n                    projectId: \\\"$PROJECT_ID\\\"\n                    itemId: \\\"$issue_id\\\"\n                    fieldId: \\\"$WORKING_SPRINT_FIELD_ID\\\"\n                  value: {\n                      iterationId: \\\"$WORKING_SPRINT_OPTION_ID\\\"\n                      }\n                    }\n                  ) {\n                    projectV2Item {\n                      id\n                    }\n                  }\n                }\"\n              gh api graphql --field query=\"$QUERY\"\n\n            done\n        continue-on-error: true\n", "state": "active", "repository": "nv-morpheus/morpheus"}
{"mined_at": "2024-07-15T17:12:34.404671", "created_at": "2023-09-08T18:26:08+02:00", "updated_at": "2023-09-08T18:26:08+02:00", "name": "Project - Set PR Dates", "path": ".github/workflows/project_automation_track_pr_dates.yml", "contents": "# SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n# SPDX-License-Identifier: Apache-2.0\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Project - Set PR Dates\n\non:\n  pull_request_target:\n    # Run this action when a PR is opened, ready for review, or closed\n    types: [opened, closed, ready_for_review]\n\nenv:\n ORG: ${{ github.event.repository.owner.login }}\n PR_NUMBER: ${{ github.event.pull_request.number }}\n REPO: ${{ github.event.repository.name }}\n OPENED_DATE: ${{ github.event.pull_request.created_at }}\n CLOSED_DATE: ${{ github.event.pull_request.closed_at }}\n TRIGGER: ${{ github.event.action }}\n\n # The environment vars below are hard-coded from external queries to save time + complexity here\n # Note: PVT means Project V2, not \"Private\" - although this is a private project\n # PVT = Project V2, PVTSSF = Project V2 Single Select Field, PVTIF = Project V2 Iteration Field, PVTF = Project V2 Date or Text Field\n PROJECT_ID: \"PVT_kwDOBkAsks4ACeio\"\n START_DATE_FIELD_ID: \"PVTF_lADOBkAsks4ACeiozgLiId4\"\n REVIEW_START_DATE_FIELD_ID: \"PVTF_lADOBkAsks4ACeiozgNUjEs\"\n END_DATE_FIELD_ID: \"PVTF_lADOBkAsks4ACeiozgLiIf4\"\n\njobs:\n  set_pr_date_fields:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Generate Token\n        uses: actions/create-github-app-token@v1\n        id: generate-token\n        with:\n          app-id: ${{ secrets.ACTIONS_APP_ID }}\n          private-key: ${{ secrets.ACTIONS_APP_KEY }}\n\n      - name: Sleep 1s\n        id: sleep_1s\n        run: sleep 1\n\n      - name: Get PR Project ID\n        id: get_pr_id\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            # Query up to 10 projects for the PR\n            gh api graphql -f query='\n              query {\n                organization(login: \"${{ env.ORG }}\") {\n                  repository(name: \"${{ env.REPO }}\") {\n                    issueOrPullRequest(number: ${{ env.PR_NUMBER }}) {\n                      ... on PullRequest {\n                        id\n                        projectItems(first: 10) {\n                          edges {\n                            node {\n                              id\n                              project {\n                                id\n                              }\n                            }\n                          }\n                        }\n                      }\n                    }\n                  }\n                }\n              }' > project_data.json\n\n            # Filter the json result to only the project-specific ID for the PR\n            # A PR can be in multiple projects so we need to filter by the project ID we want\n            pr_id=$(jq -r '.data.organization.repository.issueOrPullRequest.projectItems.edges[] |\n                           select(.node.project.id == \"${{ env.PROJECT_ID }}\") |\n                           .node.id' project_data.json)\n            echo \"PR_PROJECT_ID=$pr_id\" >> $GITHUB_ENV\n        continue-on-error: true\n\n      - name: Get Date for Review Start\n        if: ${{ env.TRIGGER == 'ready_for_review' }} || (${{ env.TRIGGER == 'opened' }} && ${{ github.event.pull_request.draft == false }})\n        id: get_date\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            # Get the current date in the format required by ProjectsV2 GraphQL\n            # Uses EST timezone\n            # There's no github.action.date so we have to make one for the Review Date\n            # Otherwise we use the opened date or closed date\n            # If the PR is opened as a draft we will set both the open date and the review date as the same date\n            # An improvement could be to use the first commit date as the start date\n\n            review_date=$(TZ=America/New_York date +\"%Y-%m-%dT%H:%M:%SZ\")\n            echo \"REVIEW_DATE=$review_date\" >> $GITHUB_ENV\n        continue-on-error: true\n\n      - name: Set PR Opened Date\n        id: set_open_date\n        if: ${{ env.TRIGGER == 'opened' }}\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n            # Mutation to update the PRs's Opened Date field\n            echo \"${{ env.OPENED_DATE }}\"\n            gh api graphql -f query='\n              mutation {\n              updateProjectV2ItemFieldValue(\n                  input: {\n                      projectId: \"${{ env.PROJECT_ID }}\"\n                      itemId: \"${{ env.PR_PROJECT_ID }}\"\n                      fieldId: \"${{ env.START_DATE_FIELD_ID }}\"\n                      value: {\n                          date: \"${{ env.OPENED_DATE }}\"\n                      }\n                      }\n                  ) {\n                      projectV2Item {\n                      id\n                      }\n                  }\n                }'\n            echo \"PR Opened Date set to ${{ env.OPENED_DATE }}\"\n        continue-on-error: true\n\n      - name: Set PR Review Start Date\n        id: set_review_date\n        if: ${{ env.TRIGGER == 'ready_for_review' }} || (${{ env.TRIGGER == 'opened' }} && ${{ github.event.pull_request.draft == false }})\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n          # Check the Review Start Date\n            gh api graphql -f query='\n              query {\n                node(id: \"${{ env.PR_PROJECT_ID }}\") {\n                  ... on ProjectV2Item {\n                    fieldValueByName(name: \"Review Start Date\") {\n                      ... on ProjectV2ItemFieldDateValue {\n                        date\n                      }\n                    }\n                  }\n                }\n              }' > pr_date_data.json\n              date=$(jq -r '.data.node.fieldValueByName' pr_date_data.json)\n\n          # If the Review Start Date is not set, set it\n          if [ \"$date\" == \"null\" ]; then\n            # Mutation to update the PR's Review Start Date field\n              gh api graphql -f query='\n                mutation {\n                updateProjectV2ItemFieldValue(\n                    input: {\n                        projectId: \"${{ env.PROJECT_ID }}\"\n                        itemId: \"${{ env.PR_PROJECT_ID }}\"\n                        fieldId: \"${{ env.REVIEW_START_DATE_FIELD_ID }}\"\n                        value: {\n                            date: \"${{ env.REVIEW_DATE }}\"\n                        }\n                        }\n                    ) {\n                        projectV2Item {\n                        id\n                        }\n                    }\n                  }'\n              echo \"PR Review Start Date set to ${{ env.REVIEW_DATE }}\"\n          fi\n        continue-on-error: true\n\n      - name: Set PR Closed Date\n        id: set_closed_date\n        if: ${{ env.TRIGGER == 'closed' }}\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n          # Mutation to update the PR's Closed Date field\n            gh api graphql -f query='\n              mutation {\n              updateProjectV2ItemFieldValue(\n                  input: {\n                      projectId: \"${{ env.PROJECT_ID }}\"\n                      itemId: \"${{ env.PR_PROJECT_ID }}\"\n                      fieldId: \"${{ env.END_DATE_FIELD_ID }}\"\n                      value: {\n                          date: \"${{ env.CLOSED_DATE }}\"\n                      }\n                      }\n                  ) {\n                      projectV2Item {\n                      id\n                      }\n                  }\n                }'\n            echo \"PR Closed Date set to ${{ env.CLOSED_DATE }}\"\n        continue-on-error: true\n", "state": "active", "repository": "nv-morpheus/morpheus"}
{"mined_at": "2024-07-15T17:12:35.450701", "created_at": "2022-08-25T01:34:34+02:00", "updated_at": "2023-12-29T18:32:12+01:00", "name": "Build pull request", "path": ".github/workflows/pull_request.yml", "contents": null, "state": "active", "repository": "nv-morpheus/morpheus"}
{"mined_at": "2024-07-15T17:12:37.547803", "created_at": "2022-05-04T00:34:04+02:00", "updated_at": "2022-05-04T00:34:04+02:00", "name": "Python package", "path": ".github/workflows/main.yml", "contents": "name: Python package\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pipenv\n        pipenv sync --dev\n    - name: Test with pytest\n      run: |\n        pipenv run coverage run\n        pipenv run coverage report\n    - name: Build a source tarball\n      if: startsWith(github.ref, 'refs/tags')\n      run: |\n        pipenv run python setup.py sdist\n    - name: Publish distribution 📦 to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "dllllb/pytorch-lifestream"}
{"mined_at": "2024-07-15T17:12:39.692515", "created_at": "2022-05-16T04:33:23+02:00", "updated_at": "2022-05-16T04:33:23+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\non: [push, pull_request]\njobs:\n  tests:\n    runs-on: ${{ matrix.os }}\n    name: test\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, macos-latest] # macos-latest disabled to save quota\n        python-version: [\"3.10\"]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n      - name: install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --no-cache-dir -r requirements/requirements.txt\n          pip install --no-cache-dir -r requirements/requirements-extra.txt\n          pip install --no-cache-dir -r requirements/requirements-dev.txt\n          pip install --no-cache-dir -r requirements/requirements-types.txt\n      - name: black linter\n        run: |\n          black . --check\n      - name: mypy checker\n        run: |\n          mypy tensorcircuit\n      - name: pylint checker\n        run: |\n          pylint tensorcircuit tests\n      - name: test scripts\n        run: |\n          pytest --cov=tensorcircuit --cov-report=xml -svv --benchmark-skip\n      - name: Upload coverage to Codecov\n        if: matrix.os == 'ubuntu-20.04'\n        uses: codecov/codecov-action@v2\n        with:\n          verbose: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n      - name: run example demos\n        run: |\n          cd examples\n          python mcnoise_check.py\n          python vqnhe_h6.py\n          python mcnoise_boost.py\n          python quantumng.py\n          python universal_lr.py\n          python parameter_shift.py\n          python mpsvsexact.py\n      - name: setup build\n        run: |\n          python3 setup.py build\n", "state": "active", "repository": "tencent-quantum-lab/tensorcircuit"}
{"mined_at": "2024-07-15T17:12:40.768680", "created_at": "2022-07-06T10:46:39+02:00", "updated_at": "2022-07-06T10:47:02+02:00", "name": "release", "path": ".github/workflows/nightly_release.yml", "contents": "name: release\non:\n  # push:\n  #   branches:\n  #     - beta\n  schedule:\n    - cron: \"0 12 * * *\"\njobs:\n  tests:\n    runs-on: ubuntu-20.04\n    name: test\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: beta\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n      - name: install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --no-cache-dir -r requirements/requirements.txt\n          pip install --no-cache-dir -r requirements/requirements-extra.txt\n          pip install --no-cache-dir -r requirements/requirements-dev.txt\n          pip install --no-cache-dir -r requirements/requirements-types.txt\n          pip install requests\n      - name: black linter\n        run: |\n          black . --check\n      - name: mypy checker\n        run: |\n          mypy tensorcircuit\n      - name: pylint checker\n        run: |\n          pylint tensorcircuit tests\n      - name: test scripts\n        run: |\n          pytest --cov=tensorcircuit --cov-report=xml -svv --benchmark-skip\n      - name: setup build\n        run: |\n          python3 .github/nightly_build/darkify.py\n          cat setup.py\n          python3 setup.py bdist_wheel sdist\n      - name: upload to pypi\n        # if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          # skip_existing: true\n", "state": "disabled_manually", "repository": "tencent-quantum-lab/tensorcircuit"}
{"mined_at": "2024-07-15T17:12:42.372864", "created_at": "2023-07-09T17:06:40+02:00", "updated_at": "2023-07-09T17:06:40+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tencent-quantum-lab/tensorcircuit"}
{"mined_at": "2024-07-15T17:12:44.648785", "created_at": "2022-01-03T22:46:16+01:00", "updated_at": "2022-01-15T02:07:09+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  check-code:\n    name: Check code quality\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@master\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n          architecture: x64\n      - name: Install dependencies\n        run: make install-dev\n      - name: Check code quality\n        run: make check\n  build:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python: [3.8, 3.9]\n        os: [ubuntu-20.04]\n    name: Test on Python ${{ matrix.python }}\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v3\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: x64\n          cache: 'pip'\n          cache-dependency-path: |\n            setup.py\n            requirements.txt\n            dev-requirements.txt\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          make install-all\n      - name: Run tests\n        run: make test\n      # - name: Upload coverage\n      #   run: bash <(curl -s https://codecov.io/bash)\n      #   env:\n      #     CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "aristoteleo/spateo-release"}
{"mined_at": "2024-07-15T17:12:45.701087", "created_at": "2022-12-12T17:25:28+01:00", "updated_at": "2022-12-12T17:25:28+01:00", "name": "package build", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: package build\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7, 3.8, 3.9]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install git+https://github.com/pypa/pip.git@611e9253ff74ca5b8ce438c2423373ab0d44c961\n        pip install flake8 pytest\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Install package\n      run: |\n        pip install -e .[test]\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n#    - name: Test with pytest\n#      run: |\n#        pytest\n", "state": "active", "repository": "aristoteleo/spateo-release"}
{"mined_at": "2024-07-15T17:12:47.018542", "created_at": "2022-12-12T17:25:28+01:00", "updated_at": "2022-12-12T17:25:28+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10\n  # workflow_dispatch:\n\njobs:\n  release:\n    name: Create Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@master\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1.1.2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: Release ${{ github.ref }}\n          body: |\n            Changes in this Release\n          draft: true\n          prerelease: true\n  deploy:\n    needs: release\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.7'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "aristoteleo/spateo-release"}
{"mined_at": "2024-07-15T17:12:48.260796", "created_at": "2022-12-12T17:25:28+01:00", "updated_at": "2022-12-12T17:25:28+01:00", "name": "Close stale issues", "path": ".github/workflows/stale.yml", "contents": "name: \"Close stale issues\"\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days'\n        days-before-stale: 120\n        days-before-close: 30\n", "state": "active", "repository": "aristoteleo/spateo-release"}
{"mined_at": "2024-07-15T17:12:50.387008", "created_at": "2022-05-08T00:31:40+02:00", "updated_at": "2022-05-09T01:18:59+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  schedule:\n    - cron: \"0 16 * * 1,4\"\n  push:\n    paths:\n    - 'gget/**'\n    - 'tests/**'\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python: ['3.9', '3.10']\n        os: ['ubuntu-22.04']\n    name: Test on Python ${{ matrix.python }}\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@main\n      - name: Setup python\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python }}\n          architecture: x64\n      - name: Install dependencies\n        run: pip install -r requirements.txt && pip install -r dev-requirements.txt\n      - name: Run tests\n        run: coverage run -m pytest -ra -v tests && coverage report --omit=main.py,tests*\n", "state": "active", "repository": "pachterlab/gget"}
{"mined_at": "2024-07-15T17:12:51.614680", "created_at": "2022-11-03T23:46:42+01:00", "updated_at": "2022-11-03T23:54:07+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\non:\n  push:\n    branches:\n    - main\n    \n    paths:\n    - 'docs/**'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - name: Install mdbook\n      run: |\n        mkdir mdbook\n        curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.34/mdbook-v0.4.34-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook\n        echo `pwd`/mdbook >> $GITHUB_PATH\n    - name: Deploy GitHub Pages\n      run: |\n        cd docs/\n        mdbook build\n        git worktree add gh-pages\n        git config user.name \"Deploy from CI\"\n        git config user.email \"\"\n        cd gh-pages\n        # Delete the ref to avoid keeping history.\n        git update-ref -d refs/heads/gh-pages\n        rm -rf *\n        mv ../book/* .\n        git add .\n        git commit -m \"Deploy $GITHUB_SHA to gh-pages\"\n        git push --force --set-upstream origin gh-pages\n", "state": "active", "repository": "pachterlab/gget"}
{"mined_at": "2024-07-15T17:12:52.752725", "created_at": "2022-11-12T01:18:30+01:00", "updated_at": "2022-11-15T21:24:22+01:00", "name": "Plot_traffic", "path": ".github/workflows/plot_traffic.yml", "contents": null, "state": "active", "repository": "pachterlab/gget"}
{"mined_at": "2024-07-15T17:12:53.971931", "created_at": "2022-11-12T02:22:23+01:00", "updated_at": "2022-11-15T21:06:51+01:00", "name": "Traffic", "path": ".github/workflows/traffic.yml", "contents": "name: Traffic\non:\n  schedule: \n    # Runs every week\n    - cron: \"0 0 */7 * *\"\n    \njobs:\n  # This workflow stores repository traffic and clones past the default 2 week period\n  traffic:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    steps:\n    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n    - uses: actions/checkout@v2\n      with:\n        ref: \"traffic\"\n    \n    # Calculates traffic and clones and stores them in a CSV file\n    # This workflow is based on https://github.com/marketplace/actions/repository-traffic\n    - name: GitHub traffic \n      uses: sangonzal/repository-traffic-action@v.0.1.6\n      env:\n        TRAFFIC_ACTION_TOKEN: ${{ secrets.TRAFFIC_ACTION_TOKEN }} \n     \n    # Commits files to traffic branch\n    - name: Commit changes\n      uses: EndBug/add-and-commit@v4\n      with:\n        author_name: Laura Luebbert\n        message: \"GitHub traffic\"\n        add: \"./traffic/*\"\n        ref: \"traffic\"\n", "state": "active", "repository": "pachterlab/gget"}
{"mined_at": "2024-07-15T17:12:55.092733", "created_at": "2022-11-04T00:58:47+01:00", "updated_at": "2022-11-04T00:58:47+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pachterlab/gget"}
{"mined_at": "2024-07-15T17:12:57.453075", "created_at": "2021-02-02T14:48:55+01:00", "updated_at": "2023-07-09T02:04:01+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 0 * * 0' # weekly\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - run: docker-compose run --rm web python wait_for_postgres.py\n      - run: docker-compose run --rm web python manage.py collectstatic --no-input\n      - name: Run tests\n        run: docker-compose run --rm -e DJANGO_Q_SYNC=true web pytest /app/tests\n      - name: Run instance monitoring\n        run: docker-compose run --rm web df -h\n      - run: docker-compose up -d selenium\n      - name: Run selenium tests\n        run: docker-compose run --rm -e DJANGO_Q_SYNC=true web python3 manage.py test test_selenium\n      - name: Run instance monitoring\n        run: docker-compose run --rm web df -h\n\n        # Dev environment smoke test\n      - name: Migrate schema\n        run: docker-compose run --rm web python manage.py migrate\n      - name: Loading a shapefile\n        run: docker-compose run --rm web python manage.py loadshp /scripts/shapefiles/country.shp code=code,parent_cod=parent_code,name=name,area=area \"demo hierarchy\" country demo_version --allow-root --create-hierarchy | grep \"Loading shape 1 succeeded\"\n      - name: Load demo data fixture\n        run: docker-compose run --rm web python manage.py loaddata demodata.json\n      - name: Start server\n        run: docker-compose up -d\n      - name: Check that the server has a profile\n        run: wget --retry-connrefused --waitretry=1 --read-timeout=10 --timeout=10 --tries=10 -O-  \"http://localhost:8000/api/v1/profiles/1/\" | grep \"Demo\"\n", "state": "disabled_inactivity", "repository": "openupsa/wazimap-ng"}
{"mined_at": "2024-07-15T17:12:59.704662", "created_at": "2023-02-01T18:30:25+01:00", "updated_at": "2023-02-07T18:26:05+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  push:\n    branches: [ main ]\n    paths-ignore:\n      - 'docs/**'\n  pull_request:\n    branches: [ main ]\n    paths-ignore:\n      - 'docs/**'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.11\"]\n        mpi: ['openmpi']\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Set up MPI ${{ matrix.mpi }}\n      uses: mpi4py/setup-mpi@v1\n      with:\n          mpi: ${{ matrix.mpi }}\n    - name: Install package and dependencies\n      run: |\n        sudo apt install libopenmpi-dev\n        python -m pip install --upgrade pip   \n        python -m pip install flake8             \n        python -m pip install -e \".[dev,examples,analytics]\"\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors \n        flake8 . --count --select=E9,F63,F7 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test pytest with MPI\n      run: |\n        mpirun -n 2 python3 -m pytest --with-mpi      \n", "state": "active", "repository": "appfl/appfl"}
{"mined_at": "2024-07-15T17:13:00.830638", "created_at": "2022-02-05T06:09:38+01:00", "updated_at": "2022-02-05T06:09:38+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "appfl/appfl"}
{"mined_at": "2024-07-15T17:13:02.966589", "created_at": "2022-04-29T16:31:11+02:00", "updated_at": "2022-06-15T20:34:59+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ develop, release/** ]\n  pull_request:\n    branches: [ develop ]\n  schedule:\n    - cron: '45 17 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "avaiga/taipy-gui"}
{"mined_at": "2024-07-15T17:13:03.963328", "created_at": "2023-04-12T19:42:04+02:00", "updated_at": "2023-07-26T10:02:24+02:00", "name": "Generate gui.pyi", "path": ".github/workflows/generate_pyi.yml", "contents": null, "state": "active", "repository": "avaiga/taipy-gui"}
{"mined_at": "2024-07-15T17:13:05.131493", "created_at": "2023-05-10T19:03:15+02:00", "updated_at": "2023-05-11T10:28:48+02:00", "name": "Prefix (baseURL) Test", "path": ".github/workflows/prefix-test.yml", "contents": "name: Prefix (baseURL) Test\n\non:\n  push:\n    branches: [ develop ]\n  pull_request:\n    branches: [ develop ]\n\njobs:\n\n  prefix-test:\n    timeout-minutes: 40\n    strategy:\n      matrix:\n        node-version: [20.x]\n        python-versions: ['3.8', '3.9', '3.10', '3.11']\n        os: [ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-versions }}\n      - name: testing with ${{ matrix.node-version }} on ${{ matrix.os }}\n        uses: actions/setup-node@v4\n        with:\n            node-version: ${{ matrix.node-version }}\n\n      - name: Build the Docker image\n        working-directory: ./tools/docker/nginx-prefix\n        run: docker build . --file Dockerfile --tag taipy-nginx-proxy\n      - name: run nginx reverse proxy docker container\n        run: docker run -d -p 4000:4000 taipy-nginx-proxy\n\n      - name: Install dom dependencies\n        working-directory: ./frontend/taipy-gui/dom\n        run: npm ci\n      - name: Install dependencies\n        working-directory: ./frontend/taipy-gui\n        run: npm ci --omit=optional\n      - name: Run npm build\n        run: npm run build --if-present\n        working-directory: ./frontend/taipy-gui\n      - name: install libmagic on macos\n        if: matrix.os == 'macos-latest'\n        run: brew install libmagic\n\n      - name: install pipenv and install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install pipenv==2023.7.23\n          pipenv install --dev\n          pipenv run pip install jsonschema==4.17.3 \"pandas>=2.0.0,<2.1\"\n          pipenv run pip freeze\n          pipenv run playwright install chromium --with-deps\n      - name: run pytest\n        run: |\n          pipenv run pytest -m teste2e tests --e2e-base-url=\"/prefix/\" --e2e-port=\"4000\"\n", "state": "active", "repository": "avaiga/taipy-gui"}
{"mined_at": "2024-07-15T17:13:06.360787", "created_at": "2022-04-07T15:00:32+02:00", "updated_at": "2022-09-05T17:04:20+02:00", "name": "Publish on Pypi", "path": ".github/workflows/publish.yml", "contents": "name: Publish on Pypi\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"The tag of the package to publish on Pypi (ex: 1.0.0, 1.0.0.dev0)\"\n        required: true\n\njobs:\n  test-package:\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n\n      - name: Extract branch name\n        shell: bash\n        run: echo \"BRANCH=${GITHUB_REF#refs/heads/}\" >> $GITHUB_OUTPUT\n        id: extract_branch\n\n      - name: Extract Github Tag Version\n        id: vars\n        run: echo \"tag=${GITHUB_REF#refs/*/}\" >> $GITHUB_OUTPUT\n\n      - name: Ensure package version is properly set\n        run: |\n          echo \"\"\"\n          import json, sys, os\n          with open(f\\\"src{os.sep}taipy{os.sep}gui{os.sep}version.json\\\") as version_file:\n            version_o = json.load(version_file)\n          version = f'{version_o.get(\\\"major\\\")}.{version_o.get(\\\"minor\\\")}.{version_o.get(\\\"patch\\\")}'\n          if vext := version_o.get(\\\"ext\\\"):\n            version = f'{version}.{vext}'\n          if version != sys.argv[1]:\n            raise ValueError(f\\\"Invalid version {version} / {sys.argv[1]}\\\")\n          if sys.argv[1] != sys.argv[2]:\n            raise ValueError(f\\\"Invalid tag version {sys.argv[2]} with package version {sys.argv[1]}\\\")\n          \"\"\" > ${{ runner.temp }}/check.py\n          python ${{ runner.temp }}/check.py \"${{ github.event.inputs.version }}\" \"${{ steps.vars.outputs.tag }}\"\n\n      - name: Download assets from github release tag\n        run: |\n          gh release download ${{ github.event.inputs.version }} --dir dist\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Verify there is a release asset\n        run: |\n          if [ ! -f dist/taipy-gui-${{ github.event.inputs.version }}.tar.gz ]; then\n            echo \"No release asset found\"\n            exit 1\n          fi\n\n  publish-to-pypi:\n    needs: [test-package]\n    timeout-minutes: 20\n    environment: publish\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Download assets from tag\n        run: |\n          gh release download ${{ github.event.inputs.version }} --dir dist\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n  test-published-package:\n    needs: [publish-to-pypi]\n    timeout-minutes: 40\n    strategy:\n      matrix:\n        python-versions: ['3.8','3.9','3.10', '3.11']\n        os: [ubuntu-latest,windows-latest,macos-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-versions }}\n\n      - name: Prepare tests on unix\n        if: matrix.os != 'windows-latest'\n        run: |\n          rm -rf src\n\n      - name: Prepare tests on windows\n        if: matrix.os == 'windows-latest'\n        run: |\n          rmdir -Recurse -Force src\n\n      - name: Prepare tests\n        run: |\n          pip install --upgrade pip\n          pip install pytest pytest-mock playwright pytest-playwright pytest-timeout testbook\n          pip install ipython ipykernel\n          ipython kernel install --name \"python3\" --user\n          playwright install chromium --with-deps\n\n      - name: Install and test package\n        run: |\n          pip install --no-cache-dir ${{ github.event.repository.name }}==${{ github.event.inputs.version }}\n          pytest\n", "state": "active", "repository": "avaiga/taipy-gui"}
{"mined_at": "2024-07-15T17:13:07.373384", "created_at": "2023-06-10T14:08:21+02:00", "updated_at": "2023-08-02T07:08:50+02:00", "name": "Create Github Dev Release", "path": ".github/workflows/release-dev.yml", "contents": "name: Create Github Dev Release\n\non:\n  workflow_dispatch:\n    inputs:\n      taipy-config-version:\n        description: \"The taipy-config version to use (ex: 1.0.0.dev0)\"\n\njobs:\n  release-dev-package:\n    timeout-minutes: 30\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ssh-key: ${{secrets.DEPLOY_KEY}}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n\n      - name: Ensure package version has 'dev' suffix\n        run: |\n          echo \"\"\"\n          import json, sys, os\n          SUFFIX = 'dev'\n          with open(f\\\"src{os.sep}taipy{os.sep}gui{os.sep}version.json\\\") as version_file:\n              version_o = json.load(version_file)\n          version = f'{version_o.get(\\\"major\\\")}.{version_o.get(\\\"minor\\\")}.{version_o.get(\\\"patch\\\")}'\n          if vext := version_o.get(\\\"ext\\\"):\n              version = f'{version}.{vext}'\n          if SUFFIX not in version:\n              raise ValueError(f\\\"version {version} does not contain suffix {SUFFIX}\\\")\n          \"\"\" > ${{ runner.temp }}/check1.py\n          python ${{ runner.temp }}/check1.py\n\n      - name: Extract package version\n        id: current-version\n        run: |\n          echo \"\"\"\n          import json, os\n          with open(f\\\"src{os.sep}taipy{os.sep}gui{os.sep}version.json\\\") as version_file:\n              version_o = json.load(version_file)\n          version = f'{version_o.get(\\\"major\\\")}.{version_o.get(\\\"minor\\\")}.{version_o.get(\\\"patch\\\")}'\n          if vext := version_o.get(\\\"ext\\\"):\n              version = f'{version}.{vext}'\n          print(f'VERSION={version}')\n          \"\"\" > ${{ runner.temp }}/check2.py\n          python ${{ runner.temp }}/check2.py >> $GITHUB_OUTPUT\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n\n      - name: Check dependencies are available\n        if: github.event.inputs.taipy-config-version != ''\n        run: |\n          curl https://pypi.org/simple/taipy-config/ | grep -o \">taipy-config-${{ github.event.inputs.taipy-config-version }}\\.tar\\.gz<\"\n\n      - name: Update setup.py locally\n        if: github.event.inputs.taipy-config-version != ''\n        run: |\n          mv setup.py setup.taipy.py\n          echo \"\"\"\n          import sys\n          with open('setup.taipy.py', mode='r') as setup_r, open('setup.py', mode='w') as setup_w:\n              in_requirements = False\n              looking = True\n              for line in setup_r:\n                  if looking:\n                      if line.lstrip().startswith('requirements') and line.rstrip().endswith('['):\n                          in_requirements = True\n                      elif in_requirements:\n                          if line.strip() == ']':\n                              looking = False\n                          else:\n                              if line.lstrip().startswith('\\\"taipy-config@git+https'):\n                                  start = line.find('\\\"taipy-config')\n                                  end = line.rstrip().find(',')\n                                  line = f'{line[:start]}\\\"taipy-config=={sys.argv[1]}\\\"{line[end:]}'\n                  setup_w.write(line)\n          \"\"\" > ${{ runner.temp }}/write_setup_taipy.py\n          python ${{ runner.temp }}/write_setup_taipy.py \"${{ github.event.inputs.taipy-config-version }}\"\n\n      - name: Generate pyi files\n        run: |\n          pip install pipenv==2023.7.23\n          pipenv install --dev\n          cp tools/generate_pyi.py temp.py && pipenv run python temp.py && rm temp.py\n          pipenv --rm\n\n      - name: Build package\n        run: python setup.py build_py && python -m build\n\n      - name: Install the package and test it\n        run: |\n          # Install package\n          echo \"Installing package...\"\n          pip install ./dist/taipy-gui-${{ steps.current-version.outputs.VERSION }}.tar.gz\n          rm -r src\n\n          # Install test packages\n          echo \"Installing test packages...\"\n          pip install pytest pytest-mock playwright pytest-playwright pytest-timeout testbook\n          pip install ipython ipykernel\n          ipython kernel install --name \"python3\" --user\n          playwright install chromium --with-deps\n\n          # Run tests\n          echo \"running pytest\"\n          pytest -s\n\n          echo \"running test import tp\"\n          python -c \"import taipy as tp; tp.Gui\"\n\n      - name: Extract commit hash\n        shell: bash\n        run: echo \"HASH=$(git rev-parse HEAD)\" >> $GITHUB_OUTPUT\n        id: extract_hash\n\n      - name: Create/update release and tag\n        run: |\n          echo \"Creating release dev-${{ steps.current-version.outputs.VERSION }}\"\n          gh release create ${{ steps.current-version.outputs.VERSION }} ./dist/taipy-gui-${{ steps.current-version.outputs.VERSION }}.tar.gz --target ${{ steps.extract_hash.outputs.HASH }} --prerelease --title ${{ steps.current-version.outputs.VERSION }} --notes \"Release Draft ${{ steps.current-version.outputs.VERSION }}\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Reset changes\n        run: |\n          git reset --hard HEAD\n          git clean -fdx\n\n      - name: Increase dev version\n        id: new-version\n        run: |\n          echo \"\"\"\n          import json, os\n          with open(f'src{os.sep}taipy{os.sep}gui{os.sep}version.json') as version_file:\n              version_o = json.load(version_file)\n              if version_o is None or 'dev' not in version_o['ext']:\n                  raise ValueError('Invalid version file. Version must contain dev suffix.')\n              prev_version = version_o['ext']\n              new_version = 'dev' + str(int(version_o['ext'].replace('dev', '')) + 1)\n              with open(f'src{os.sep}taipy{os.sep}gui{os.sep}version.json') as r:\n                  text = r.read().replace(prev_version, new_version)\n              with open(f'src{os.sep}taipy{os.sep}gui{os.sep}version.json', mode='w') as w:\n                  w.write(text)\n              with open(f\\\"src{os.sep}taipy{os.sep}gui{os.sep}version.json\\\") as version_file:\n                  version_o = json.load(version_file)\n              version = f'{version_o.get(\\\"major\\\")}.{version_o.get(\\\"minor\\\")}.{version_o.get(\\\"patch\\\")}'\n              if vext := version_o.get(\\\"ext\\\"):\n                  version = f'{version}.{vext}'\n              print(f'VERSION={version}')\n          \"\"\" > ${{ runner.temp }}/increase_dev_version.py\n          python ${{ runner.temp }}/increase_dev_version.py >> $GITHUB_OUTPUT\n\n      - uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: Update version to ${{ steps.new-version.outputs.VERSION }}\n", "state": "active", "repository": "avaiga/taipy-gui"}
{"mined_at": "2024-07-15T17:13:08.387141", "created_at": "2022-02-08T07:23:56+01:00", "updated_at": "2022-04-21T11:48:48+02:00", "name": "Create Github Release", "path": ".github/workflows/release.yml", "contents": "name: Create Github Release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"The release/package version to create (ex: 1.0.0)\"\n        required: true\n\njobs:\n  release-package:\n    timeout-minutes: 30\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install npm\n        uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n\n      - name: Extract branch name\n        shell: bash\n        run: echo \"BRANCH=${GITHUB_REF#refs/heads/}\" >> $GITHUB_OUTPUT\n        id: extract_branch\n\n      - name: Ensure package version is properly set\n        run: |\n          echo \"\"\"\n          import json, sys, os\n          with open(f\\\"src{os.sep}taipy{os.sep}gui{os.sep}version.json\\\") as version_file:\n              version_o = json.load(version_file)\n          version = f'{version_o.get(\\\"major\\\")}.{version_o.get(\\\"minor\\\")}.{version_o.get(\\\"patch\\\")}'\n          if vext := version_o.get(\\\"ext\\\"):\n              version = f'{version}.{vext}'\n          if version != sys.argv[1]:\n              raise ValueError(f\\\"Invalid version {version} / {sys.argv[1]}\\\")\n          \"\"\" > ${{ runner.temp }}/check1.py\n          python ${{ runner.temp }}/check1.py \"${{ github.event.inputs.version }}\"\n\n      - name: Validate branch name\n        run: |\n          echo \"\"\"\n          import json, sys, os\n          with open(f\\\"src{os.sep}taipy{os.sep}gui{os.sep}version.json\\\") as version_file:\n              version = json.load(version_file)\n          if f'release/{version.get(\\\"major\\\")}.{version.get(\\\"minor\\\")}' != sys.argv[1]:\n              raise ValueError(f'Branch name mismatch: release/{version.get(\\\"major\\\")}.{version.get(\\\"minor\\\")} != {sys.argv[1]}')\n          \"\"\" > ${{ runner.temp }}/check.py\n          python ${{ runner.temp }}/check.py \"${{ steps.extract_branch.outputs.BRANCH }}\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n\n      - name: Generate pyi files\n        run: |\n          pip install pipenv==2023.7.23\n          pipenv install --dev\n          cp tools/generate_pyi.py temp.py && pipenv run python temp.py && rm temp.py\n          pipenv --rm\n\n      - name: Build and test the package\n        run: |\n          python setup.py build_py && python -m build\n          rm -rf src\n          pip install dist/*.tar.gz\n          pip install pytest pytest-mock playwright pytest-playwright pytest-timeout testbook\n          pip install ipython ipykernel\n          ipython kernel install --name \"python3\" --user\n          playwright install chromium --with-deps\n          pytest\n\n      - name: Extract commit hash\n        shell: bash\n        run: echo \"HASH=$(git rev-parse HEAD)\" >> $GITHUB_OUTPUT\n        id: extract_hash\n\n      - name: Create/update release and tag\n        run: |\n            gh release create ${{ github.event.inputs.version }} ./dist/taipy-gui-${{ github.event.inputs.version }}.tar.gz --target ${{ steps.extract_hash.outputs.HASH }} --notes \"Release created using Github Workflows\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "avaiga/taipy-gui"}
{"mined_at": "2024-07-15T17:13:09.416365", "created_at": "2022-02-08T07:23:56+01:00", "updated_at": "2022-02-08T07:23:56+01:00", "name": "Setuptools", "path": ".github/workflows/setuptools.yml", "contents": "name: Setuptools\n\non:\n  push:\n    branches: [ develop ]\n  pull_request:\n    branches: [ develop ]\n  workflow_dispatch:\n\njobs:\n  standard-packages:\n    timeout-minutes: 60\n    strategy:\n      matrix:\n        python-versions: ['3.8', '3.9', '3.10', '3.11']\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-versions }}\n      - name: Install npm\n        uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n\n      - name: Install Taipy without dependencies\n        run: |\n          # Install package\n          echo \"Install package\"\n          pip install .\n          rm -r src\n\n          # Ensure `webapp` folder is present in lib package\n          echo \"Ensure webapp folder is present in lib package\"\n          python -c \"import taipy.gui as gui;from pathlib import Path; assert Path(f'{gui.__path__[0]}/webapp/index.html').exists(), f'{gui.__path__[0]}/webapp/index.html not found!'\"\n\n          # Run tests\n          echo \"installing playwright\"\n          pip install pytest pytest-mock playwright pytest-playwright pytest-timeout testbook\n          pip install ipython ipykernel\n          ipython kernel install --name \"python3\" --user\n          playwright install chromium --with-deps\n\n          echo \"running pytest\"\n          pytest -s\n\n          echo \"running test import tp\"\n          python -c \"import taipy as tp; tp.Gui\"\n\n\n  optional-packages:\n    timeout-minutes: 60\n    strategy:\n      matrix:\n        python-versions: ['3.8', '3.9', '3.10', '3.11']\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-versions }}\n      - name: Install npm\n        uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n\n      - name: install libmagic on macos\n        if: matrix.os == 'macos-latest'\n        run: brew install libmagic\n\n      - name: Add optionals dependencies\n        run: |\n          # Extract optionals packages before installing them\n          grep -n 'setup(' setup.py | cut -d \":\" -f 1 | xargs -I% bash -c \"expr % - 1\" | xargs -I% bash -c 'head -n% setup.py' > setup_packages.py\n          echo \"[print(k) for k in extras_require.keys()]\" >> setup_packages.py\n          python setup_packages.py | xargs -I% bash -c \"pip install .[%]\"\n\n          # Ensure `webapp` folder is present in lib package\n          python -c \"import taipy.gui as gui;from pathlib import Path; assert Path(f'{gui.__path__[0]}/webapp/index.html').exists(), f'{gui.__path__[0]}/webapp/index.html not found!'\"\n\n          # Removal of Taipy code to ensure the use of the installed package.\n          rm -r src\n\n          # Run test with optionals packages installed\n          echo \"installing playwright\"\n          pip install pytest pytest-mock playwright pytest-playwright pytest-timeout testbook\n          pip install ipython ipykernel\n          ipython kernel install --name \"python3\" --user\n          playwright install chromium --with-deps\n\n          echo \"running pytest\"\n          pytest -s | tee pytest_res\n          cat pytest_res\n          echo \"Ensure that no tests are skipped\"\n          tail -n1 pytest_res | grep --invert-match \"skipped\"\n          echo \"Ensure that no warnings are issued\"\n          tail -n1 pytest_res | grep --invert-match \"warning\"\n          echo \"Ensure that no tests are failed\"\n          tail -n1 pytest_res | grep --invert-match \"failed\"\n", "state": "active", "repository": "avaiga/taipy-gui"}
{"mined_at": "2024-07-15T17:13:10.663058", "created_at": "2022-02-08T07:23:56+01:00", "updated_at": "2022-02-08T07:23:56+01:00", "name": "Tests & Coverage", "path": ".github/workflows/test.yml", "contents": "name: Tests & Coverage\n\non:\n  push:\n    branches: [ develop ]\n  pull_request:\n    branches: [ develop ]\n  workflow_dispatch:\n\njobs:\n  backend:\n    timeout-minutes: 40\n    strategy:\n      matrix:\n        node-version: [20.x]\n        python-versions: ['3.8', '3.9', '3.10', '3.11']\n        os: [ubuntu-latest, windows-latest, macos-latest]\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-versions }}\n\n      - name: npm build and test with node ${{ matrix.node-version }} on ${{ matrix.os }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n      - name: Install dom dependencies\n        working-directory: ./frontend/taipy-gui/dom\n        run: npm ci\n      - name: Install dependencies\n        working-directory: ./frontend/taipy-gui\n        run: npm ci --omit=optional\n      - name: Run npm build\n        run: npm run build --if-present\n        working-directory: ./frontend/taipy-gui\n\n      - name: install libmagic on macos\n        if: matrix.os == 'macos-latest'\n        run: brew install libmagic\n\n      - name: test with tox\n        env:\n          TOX_PARALLEL_NO_SPINNER: 1\n        run: |\n          pip install tox\n          tox -p all\n\n      - name: Code coverage\n        if: matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request' && matrix.python-versions == '3.9'\n        uses: orgoro/coverage@v3.1\n        with:\n          coverageFile: coverage.xml\n          token: ${{ secrets.GITHUB_TOKEN }}\n          thresholdAll: 0.85\n\n  gui:\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        node-version: [20.x]\n        os: [ubuntu-latest, windows-latest, macos-latest]\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        working-directory: ./frontend/taipy-gui\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: npm build and test with node ${{ matrix.node-version }} on ${{ matrix.os }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n\n      - name: Install dom dependencies\n        working-directory: ./frontend/taipy-gui/dom\n        run: npm ci\n      - name: Install dependencies\n        run: npm ci --omit=optional\n      - run: npm run build --if-present\n      - run: npm test\n\n      - name: Code coverage\n        if: matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request'\n        uses: artiomtr/jest-coverage-report-action@v2.2.6\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          threshold: \"80\"\n          working-directory: \"frontend/taipy-gui\"\n          skip-step: \"install\"\n", "state": "active", "repository": "avaiga/taipy-gui"}
{"mined_at": "2024-07-15T17:13:11.696228", "created_at": "2023-07-21T09:05:19+02:00", "updated_at": "2023-07-24T19:35:11+02:00", "name": "Verify pyi file generation", "path": ".github/workflows/verify-pyi.yml", "contents": "name: Verify pyi file generation\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches: [ develop ]\n\njobs:\n  generate-pyi:\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        python-versions: ['3.10']\n        os: [ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n    permissions:\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-versions }}\n      - name: Install pipenv\n        run: |\n          pip install pipenv==2023.7.23\n          pipenv install --dev\n      - name: Generate pyi\n        run: cp tools/generate_pyi.py temp.py && pipenv run python temp.py && rm temp.py\n", "state": "active", "repository": "avaiga/taipy-gui"}
{"mined_at": "2024-07-15T17:13:14.161179", "created_at": "2020-06-11T22:36:45+02:00", "updated_at": "2021-07-08T18:25:45+02:00", "name": "Reformats source files", "path": ".github/workflows/reformat.yml", "contents": "name: Reformats source files\n# write [skip reformat] to skip this workflow!\n\non:\n  push:\n    branches: [ main ]\n\nenv:\n  ACTIONS_PYTHON_VERSION: 3.9\n\n\njobs:\n  # NOTE: Do all jobs SEQUENTIALLY to avoid merges\n\n  reformat-altlabel:\n    if: \"! contains(toJSON(github.event.commits.*.message), '[skip reformat]')\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: ${{ github.head_ref }}\n    - name: Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.ACTIONS_PYTHON_VERSION }}\n    - name: Reformat\n      run: ./scripts/reformat-altlabels\n    - name: Git Auto Commit\n      uses: stefanzweifel/git-auto-commit-action@v4.3.0\n      with:\n        commit_message: \"🤖🧹 reformat crk.altlabel [skip ci]\"\n\n  reformat-python:\n    runs-on: ubuntu-latest\n    # Ensure this is run **sequentially**\n    needs: reformat-altlabel\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: ${{ github.head_ref }}\n    - name: Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.ACTIONS_PYTHON_VERSION }}\n    - name: Install dependencies\n      run: \"pip install black\"\n    - name: Reformat Python\n      run: |\n        black .\n    - name: Git Auto Commit\n      uses: stefanzweifel/git-auto-commit-action@v4.3.0\n      with:\n        commit_message: \"🤖🧹 reformat Python files [skip ci]\"\n\n  reformat-javascript:\n    runs-on: ubuntu-latest\n    # Ensure this is run **sequentially**\n    needs: reformat-python\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: ${{ github.head_ref }}\n    - name: Setup Node.js environment\n      uses: actions/setup-node@v2\n      with:\n        node-version: 14\n        cache: npm\n    - name: Install dependencies\n      run: npm ci\n    - name: Reformat JavaScript\n      run: npm run reformat\n    - name: Git Auto Commit\n      uses: stefanzweifel/git-auto-commit-action@v4.3.0\n      with:\n        commit_message: \"🤖🧹 reformat JavaScript files [skip ci]\"\n\n  reformat-importjson:\n    if: \"! contains(toJSON(github.event.commits.*.message), '[skip reformat]')\"\n    needs: reformat-javascript\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: ${{ github.head_ref }}\n\n    # For prettier\n    - name: Setup Node.js environment\n      uses: actions/setup-node@v2\n      with:\n        node-version: 14\n        cache: npm\n\n    - name: Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}\n      # actions/cache below uses this id to get the exact python version\n      id: setup-python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.ACTIONS_PYTHON_VERSION }}\n    - uses: actions/cache@v2\n      with:\n        path: ~/.local/share/virtualenvs\n        key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile.lock') }}\n    # sortimportjsondict is currently a django management command. If\n    # installing all the morphodict dependencies becomes too cumbersome,\n    # the command could be ported to a script without dependencies instead.\n    - name: 🖥 Install system dependencies\n      run: sudo apt-get install -y libfoma0\n    - name: ☤ Install pipenv\n      run: python3 -m pip install pipenv\n    - name: 📥 Install dependencies\n      run: pipenv install --dev\n\n    - name: Reformat files\n      run: \"pipenv run ./crkeng-manage sortimportjson --git-files\"\n\n    - name: Git Auto Commit\n      uses: stefanzweifel/git-auto-commit-action@v4.3.0\n      with:\n        commit_message: \"🤖🧹 reformat importjson files [skip ci]\"\n", "state": "active", "repository": "ualbertaaltlab/morphodict"}
{"mined_at": "2024-07-15T17:13:15.372283", "created_at": "2020-10-22T00:17:02+02:00", "updated_at": "2024-07-05T18:40:56+02:00", "name": "Test and deploy", "path": ".github/workflows/test-and-deploy.yml", "contents": "name: Test and deploy\non: [ push, pull_request ]\n\nenv:\n  # Version required to run itwêwina:\n  ACTIONS_PYTHON_VERSION: 3.9\n  # Version required to run npm build:\n  ACTIONS_NODE_VERSION: 14\n\njobs:\n  # Skips deploy if [skip deploy] is present in the commit message\n  should-deploy:\n    runs-on: ubuntu-latest\n\n    outputs:\n      should-run: ${{ steps.ci-skip.outputs.ci-skip-not }}\n\n    if: github.repository_owner == 'UAlbertaALTLab' && github.ref == 'refs/heads/main'\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          # ci-skip needs to do a partial checkout\n          fetch-depth: '0'\n      - id: ci-skip\n        uses: mstachniuk/ci-skip@v1\n        with:\n          commit-filter: '[skip deploy]'\n\n  # Run Pytest unit tests\n  unit-test:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: 🐍 Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}\n        uses: actions/setup-python@v2\n        # actions/cache below uses this id to get the exact python version\n        id: setup-python\n        with:\n          python-version: ${{ env.ACTIONS_PYTHON_VERSION }}\n      - name: 🖥 Install system dependencies\n        run: sudo apt-get install -y libfoma0\n      - name: ☤ Install pipenv\n        run: python3 -m pip install pipenv==2021.11.9\n\n      # This started out life as a copy-paste from\n      # https://github.com/actions/cache/blob/main/examples.md#python---pipenv\n      - uses: actions/cache@v2\n        with:\n          path: ~/.local/share/virtualenvs\n          key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile.lock') }}\n      - name: 📥 Install dependencies\n        run: |\n          pipenv install --dev\n          # Install pytest plugin to show failed tests on the web\n          pipenv run pip install pytest-github-actions-annotate-failures\n      - name: Do LFS checkout\n        # actions/checkout@v2 has a `with: lfs: true` option, but it only\n        # knows how to talk to GitHub’s LFS server.\n        #\n        # These actions are automatic if you have run `git lfs install`\n        # even once on your dev machine.\n        run: git lfs install --local && git lfs fetch && git lfs checkout\n      - name: 🧶 Run linters/static-analysis\n        run: |\n          pipenv run mypy src\n      - name: 🩺 Run unit tests\n        env:\n          DEBUG: \"True\"\n        run: pipenv run test -v --cov=src --cov-report=xml\n      - name: Check working directory clean\n        run: ./libexec/check-git-status\n      - name: Check that generated files are up-to-date\n        # A few auto-generated files are checked in for convenience; ensure\n        # that they are up-to-date.\n        run: \"pipenv run docker/helper.py make-yaml\n        && if ! ./libexec/check-git-status ; then\n            echo Error: running make-yaml resulted in changed files. When\n              changing template files, please ensure that updated generated\n              files get checked in too. 1>&2 ;\n            exit 1 ;\n        fi\"\n      - name: 📤 Upload Codecov coverage report\n        uses: codecov/codecov-action@v1.5.0\n\n  # Runs Cypress acceptance tests\n  integration-test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: 🐍 Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}\n        uses: actions/setup-python@v2\n        id: setup-python\n        with:\n          python-version: ${{ env.ACTIONS_PYTHON_VERSION }}\n      - name: Setup Node ${{ env.ACTIONS_NODE_VERSION }}\n        uses: actions/setup-node@v2\n        with:\n          node-version: ${{ env.ACTIONS_NODE_VERSION }}\n          cache: npm\n      - name: 🖥 Install system dependencies\n        run: sudo apt-get install -y libfoma0 libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb\n      - name: ☤ Install pipenv\n        run: python3 -m pip install pipenv==2021.11.9\n\n      # This started out life as a copy-paste from\n      # https://github.com/actions/cache/blob/main/examples.md#python---pipenv\n      - uses: actions/cache@v2\n        with:\n          path: ~/.local/share/virtualenvs\n          key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile.lock') }}\n      - name: 📥 Install Python dependencies\n        run: |\n          pipenv install --dev\n      - name: Do LFS checkout\n        # actions/checkout@v2 has a `with: lfs: true` option, but it only\n        # knows how to talk to GitHub’s LFS server.\n        #\n        # These actions are automatic if you have run `git lfs install`\n        # even once on your dev machine.\n        run: git lfs install --local && git lfs fetch && git lfs checkout\n      - name: 📥 Install Node dependencies\n        run: npm ci\n      - name: 🛑 Halt tests if Cypress tests are marked as '.only'\n        run: npm run stop-only\n      - name: 🏗 Build frontend\n        run: npm run build\n      - name: 🌲 Run Cypress tests\n        env:\n          DEBUG: \"True\"\n          # NOTE: only set on the upstream repo, i.e., UAlbertaALTLab/morphodict\n          CYPRESS_RECORD_KEY: \"${{ secrets.CYPRESS_RECORD_KEY }}\"\n        run: |\n          # Enables uploading test runs to Cypress Dashboard:\n          if [ -n \"$CYPRESS_RECORD_KEY\" ] ; then export CYPRESS_OPTS=\"--key $CYPRESS_RECORD_KEY\" ; fi\n          pipenv run ./scripts/run-cypress --no-interactive\n      - name: Archive cypress videos\n        uses: actions/upload-artifact@v2\n        with:\n          name: cypress-videos\n          path: |\n            cypress/videos\n\n  build-docker-image:\n    runs-on: ubuntu-latest\n\n    # Only build the Docker Image when we're deploying!\n    needs:\n      - should-deploy\n    if: needs.should-deploy.outputs.should-run == 'true'\n\n    steps:\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GHCR_PERSONAL_ACCESS_TOKEN }}\n      - uses: actions/checkout@v2\n      - name: Build and push Docker images\n        uses: docker/build-push-action@v2\n        with:\n          # build-push-action with the default ‘git context’ ignores the\n          # .dockerignore file\n          # https://github.com/docker/build-push-action/issues/182\n          context: .\n          file: docker/Dockerfile\n          push: true\n          # hopefully this will speed up builds and save disk space by\n          # sharing layers with the existing docker image, where possible\n          cache-from: |\n            type=registry,ref=ghcr.io/ualbertaaltlab/itwewina.altlab.app:latest\n          tags: |\n            ghcr.io/ualbertaaltlab/itwewina.altlab.app:${{ github.sha }}\n\n  trigger-deployment:\n    runs-on: ubuntu-latest\n\n    needs:\n      - should-deploy\n      - unit-test\n      - integration-test\n      - build-docker-image\n\n    if: needs.should-deploy.outputs.should-run == 'true'\n\n    steps:\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GHCR_PERSONAL_ACCESS_TOKEN }}\n      - uses: actions/checkout@v2\n      - name: 🐍 Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ env.ACTIONS_PYTHON_VERSION }}\n      - name: Install requests\n        run: pip install requests\n      - name: Update tag\n        run: docker/copy-registry-tag ${{ github.sha }} latest\n        env:\n          GHCR_PERSONAL_ACCESS_TOKEN: ${{ secrets.GHCR_PERSONAL_ACCESS_TOKEN }}\n      - name: send HTTP request to deploy.altlab.dev webhook\n        # Be careful with spacing here.\n        #\n        # What https://yaml-multiline.info *doesn’t* warn you about: although\n        # `>-` means “replace newlines with spaces,” if you have an extra\n        # space on the next line, the newline gets preserved!\n        #\n        # So although\n        #\n        #     foo: >-\n        #       a\n        #       a\n        #\n        # means `{ \"foo\": \"a a\" }`,\n        #\n        #     foo: >-\n        #       a\n        #        a\n        #\n        # turns into `{ \"foo\": \"a\\n a\" }` !\n        # run: >-\n        #  curl -X POST https://deploy.altlab.dev/itwewina --fail\n        #  -d '{ \"secret\": \"${{ secrets.DEPLOY_ALTLAB_DEV_ITWEWINA_KEY }}\" }'\n        #  -H 'Content-Type: application/json'\n        run: echo \"This step has been temporarily disabled, call the deploy script.\"\n", "state": "active", "repository": "ualbertaaltlab/morphodict"}
{"mined_at": "2024-07-15T17:13:17.727406", "created_at": "2023-05-10T11:20:24+02:00", "updated_at": "2023-05-12T12:03:11+02:00", "name": "Astro Deploy", "path": ".github/workflows/ci-astro-deploy.yml", "contents": "name: \"Astro Deploy\"\non:\n  # Since we have a job to test upstream RCs, and additionally our CI runs integrations tests on every PR,\n  # we can disable this scheduled job for now. In the future, in case we need to run this on schedule, we\n  # can enable it again by uncommenting the below schedule.\n  # schedule:\n  #   - cron: '0 19 * * *'\n  workflow_dispatch:\n    inputs:\n      git_rev:\n        description: 'The git revision to deploy'\n        required: false\n        default: ''\n\n      environment_to_deploy:\n        description: 'astro cloud deployment to deploy to'\n        required: true\n        type: choice\n        options:\n          - both\n          - astro-sdk-integration-tests\n          - astro-sdk-integration-tests-on-KE\n      dags_to_trigger_after_deployment:\n        description: |\n          Comma separated list of dag_ids to trigger after deployment\n          (e.g. \"example_mssql_transform, example_load_file\")\n        required: false\n        type: string\n        default: ''\n  workflow_call:\n    inputs:\n      git_rev:\n        description: 'The git revision to deploy'\n        type: string\n        required: false\n        default: ''\n      environment_to_deploy:\n        description: 'astro cloud deployment to deploy to'\n        required: true\n        type: string\n        default: both\n      dags_to_trigger_after_deployment:\n        description: |\n          Comma separated list of dag_ids to trigger after deployment\n          (e.g. \"example_mssql_transform, example_load_file\")\n        required: false\n        type: string\n        default: ''\n\njobs:\n  deploy-to-astro-sdk-integration-tests:\n    if: |\n      contains(fromJSON('[\"both\", \"astro-sdk-integration-tests\"]'), inputs.environment_to_deploy) ||\n      github.event_name == 'schedule'\n    uses: ./.github/workflows/reuse-wf-deploy-to-astro-cloud.yaml\n    with:\n      git_rev: ${{ inputs.git_rev }}\n      environment_to_deploy: 'astro-sdk-integration-tests'\n    secrets:\n      docker_registry:  ${{ secrets.ASTRO_DOCKER_REGISTRY }}\n      organization_id:  ${{ secrets.ORGANIZATION_ID }}\n      deployment_id:  ${{ secrets.ASTRO_DEPLOYMENT_ID }}\n      bearer_token: ${{ secrets.BEARER_TOKEN }}\n      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n      GCP_SERVICE_ACCOUNT_JSON: ${{ secrets.GCP_SERVICE_ACCOUNT_JSON }}\n\n  wait-for-deployment-to-be-ready-and-trigger-dags-for-astro-sdk-integration-tests:\n    if: |\n      github.event_name == 'schedule' ||\n      (github.event_name == 'workflow_dispatch' && inputs.dags_to_trigger_after_deployment != '')\n    needs: deploy-to-astro-sdk-integration-tests\n    uses: ./.github/workflows/reuse-wf-trigger-dag.yaml\n    with:\n      git_rev: ${{ inputs.git_rev }}\n      dags_to_trigger_after_deployment: ${{ inputs.dags_to_trigger_after_deployment }}\n    secrets:\n      astro_subdomain: ${{ secrets.ASTRO_SUBDOMAIN }}\n      deployment_id: ${{ secrets.ASTRO_DEPLOYMENT_ID }}\n      bearer_token: ${{ secrets.BEARER_TOKEN }}\n      organization_id: ${{ secrets.ORGANIZATION_ID }}\n\n  deploy-to-astro-sdk-integration-tests-on-KE:\n    if: |\n      contains(fromJSON('[\"both\", \"astro-sdk-integration-tests-on-KE\"]'), inputs.environment_to_deploy) ||\n      github.event_name == 'schedule'\n    uses: ./.github/workflows/reuse-wf-deploy-to-astro-cloud.yaml\n    with:\n      git_rev: ${{ inputs.git_rev }}\n      environment_to_deploy: 'astro-sdk-integration-tests-on-KE'\n    secrets:\n      docker_registry:  ${{ secrets.ASTRO_DOCKER_REGISTRY }}\n      organization_id:  ${{ secrets.ORGANIZATION_ID }}\n      deployment_id:  ${{ secrets.ASTRO_DEPLOYMENT_ID_KE }}\n      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n      bearer_token: ${{ secrets.BEARER_TOKEN }}\n      GCP_SERVICE_ACCOUNT_JSON: ${{ secrets.GCP_SERVICE_ACCOUNT_JSON }}\n\n  wait-for-deployment-to-be-ready-and-trigger-dags-for-astro-sdk-integration-tests-on-KE:\n    if: |\n      github.event_name == 'schedule' ||\n      (github.event_name == 'workflow_dispatch' && inputs.dags_to_trigger_after_deployment != '')\n    needs: deploy-to-astro-sdk-integration-tests-on-KE\n    uses: ./.github/workflows/reuse-wf-trigger-dag.yaml\n    with:\n      git_rev: ${{ inputs.git_rev }}\n      dags_to_trigger_after_deployment: ${{ inputs.dags_to_trigger_after_deployment }}\n    secrets:\n      astro_subdomain: ${{ secrets.ASTRO_SUBDOMAIN }}\n      deployment_id: ${{ secrets.ASTRO_DEPLOYMENT_ID_KE }}\n      organization_id: ${{ secrets.ORGANIZATION_ID }}\n      bearer_token: ${{ secrets.BEARER_TOKEN }}\n", "state": "active", "repository": "astronomer/astro-sdk"}
{"mined_at": "2024-07-15T17:13:18.857110", "created_at": "2022-09-14T14:21:22+02:00", "updated_at": "2023-01-17T09:44:44+01:00", "name": "Run benchmarks", "path": ".github/workflows/ci-benchmark.yaml", "contents": "name: Run benchmarks\non:\n  pull_request:\n    types:\n      - labeled\n\n# This allows a subsequently queued workflow run to interrupt and cancel previous runs\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  Run-Benchmark:\n    if: >-\n      (\n        github.event.label.name == 'run_benchmark' &&\n        github.event.name != 'pull_request_target'\n      )\n    runs-on: ubuntu-latest\n    env:\n      SETUPTOOLS_USE_DISTUTILS: stdlib\n      GOOGLE_APPLICATION_CREDENTIALS_JSON: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}\n      GOOGLE_APPLICATION_CREDENTIALS: /tmp/google_credentials.json\n      POSTGRES_HOST: 0.0.0.0\n      POSTGRES_PORT: 5432\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      AIRFLOW__ASTRO_SDK__SQL_SCHEMA: astroflow_ci\n      REDSHIFT_NATIVE_LOAD_IAM_ROLE_ARN: ${{ secrets.REDSHIFT_NATIVE_LOAD_IAM_ROLE_ARN }}\n      REDSHIFT_DATABASE: dev\n      REDSHIFT_HOST: utkarsh-cluster.cdru7mxqmtyx.us-east-2.redshift.amazonaws.com\n      REDSHIFT_USERNAME: ${{ secrets.REDSHIFT_USERNAME }}\n      REDSHIFT_PASSWORD: ${{ secrets.REDSHIFT_PASSWORD }}\n      SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_UNAME }}\n      SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}\n      SNOWFLAKE_SCHEMA: ASTROFLOW_CI\n      SNOWFLAKE_DATABASE: SANDBOX\n      SNOWFLAKE_WAREHOUSE: DEMO\n      SNOWFLAKE_HOST: https://gp21411.us-east-1.snowflakecomputing.com\n      SNOWFLAKE_ACCOUNT: gp21411\n      SNOWFLAKE_REGION: us-east-1\n      SNOWFLAKE_ROLE: AIRFLOW_TEST_USER\n      AIRFLOW__CORE__LOAD_DEFAULT_CONNECTIONS: True\n      AIRFLOW__CORE__ENABLE_XCOM_PICKLING: True\n      AIRFLOW_VAR_FOO: templated_file_name\n      AIRFLOW__ASTRO_SDK__DATAFRAME_ALLOW_UNSAFE_STORAGE: True\n      FORCE_COLOR: \"true\"\n      ASTRO_PUBLISH_BENCHMARK_DATA: True\n      USE_GKE_GCLOUD_AUTH_PLUGIN: True\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install google-cloud-sdk-auth-plugin\n        run: |\n          echo \"deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main\" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list\n          curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -\n          sudo apt update\n          sudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin kubectl\n      - name: Run benchmark\n        run: |\n          rm -f python-sdk/test-connections.yaml\n          ( echo \"cat <<EOF >python-sdk/test-connections.yaml\"; cat .github/ci-test-connections.yaml; ) >python-sdk/test-connections.yaml && . python-sdk/test-connections.yaml\n          python -c 'import os; print(os.getenv(\"GOOGLE_APPLICATION_CREDENTIALS_JSON\", \"\").strip())' > ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}\n          cd python-sdk/tests/benchmark && make\n", "state": "active", "repository": "astronomer/astro-sdk"}
{"mined_at": "2024-07-15T17:13:19.982643", "created_at": "2022-08-24T20:58:24+02:00", "updated_at": "2023-12-26T16:46:27+01:00", "name": "Build and test astro Python SDK", "path": ".github/workflows/ci-python-sdk.yaml", "contents": "name: Build and test astro Python SDK\non:\n  push:\n    branches: [ 'main', 'release-**' ]\n    paths:\n      - 'python-sdk/**'\n      - '.github/workflows/ci-python-sdk.yaml'\n  pull_request:\n    branches: [ 'main', 'release-**' ]\n    paths:\n      - 'python-sdk/**'\n      - '.github/workflows/ci-python-sdk.yaml'\n      - '*'\n  # Run on PRs from forks\n  pull_request_target:\n    branches: [ 'main' ]\n    types: ['labeled']\n    paths:\n      - 'python-sdk/**'\n      - '.github/workflows/ci-python-sdk.yaml'\n      - '*'\n  release:\n    types: [ 'created' ]\ndefaults:\n  run:\n    working-directory: python-sdk\n\n# This allows a subsequently queued workflow run to interrupt and cancel previous runs\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\n# This list should only have non-sensitive env vars\n# Env vars with secrets should be in the specific jobs\nenv:\n  SETUPTOOLS_USE_DISTUTILS: stdlib\n  POSTGRES_HOST: postgres\n  POSTGRES_PORT: 5432\n  AIRFLOW__ASTRO_SDK__SQL_SCHEMA: astroflow_ci\n  REDSHIFT_DATABASE: dev\n  REDSHIFT_HOST: utkarsh-cluster.cdru7mxqmtyx.us-east-2.redshift.amazonaws.com\n  SNOWFLAKE_SCHEMA: ASTROFLOW_CI\n  SNOWFLAKE_DATABASE: SANDBOX\n  SNOWFLAKE_WAREHOUSE: DEMO\n  SNOWFLAKE_HOST: https://gp21411.us-east-1.snowflakecomputing.com\n  SNOWFLAKE_ACCOUNT: gp21411\n  SNOWFLAKE_REGION: us-east-1\n  SNOWFLAKE_ROLE: AIRFLOW_TEST_USER\n  SFTP_HOSTNAME: ${{ secrets.SFTP_HOSTNAME }}\n  SFTP_USERNAME: ${{ secrets.SFTP_USERNAME }}\n  SFTP_PASSWORD: ${{ secrets.SFTP_PASSWORD }}\n  AIRFLOW__CORE__LOAD_DEFAULT_CONNECTIONS: True\n  AIRFLOW__ASTRO_SDK__DATABRICKS_CLUSTER_ID: ${{ secrets.DATABRICKS_CLUSTER_ID }}\n  AZURE_WASB_ACCESS_KEY: ${{ secrets.AZURE_WASB_ACCESS_KEY }}\n  AZURE_WASB_CONN_STRING: ${{ secrets.AZURE_WASB_CONN_STRING }}\n  AIRFLOW_VAR_FOO: templated_file_name\n  AWS_BUCKET: tmp9\n  GOOGLE_BUCKET: dag-authoring\n  FORCE_COLOR: \"true\"\n  MSSQL_DB: ${{ secrets.MSSQL_DB }}\n  MSSQL_HOST: ${{ secrets.MSSQL_HOST }}\n  MSSQL_LOGIN: ${{ secrets.MSSQL_LOGIN }}\n  MSSQL_PASSWORD: ${{ secrets.MSSQL_PASSWORD }}\n  MYSQL_DB: ${{ secrets.MYSQL_DB }}\n  MYSQL_HOST: ${{ secrets.MYSQL_HOST }}\n  MYSQL_LOGIN: ${{ secrets.MYSQL_LOGIN }}\n  MYSQL_PASSWORD: ${{ secrets.MYSQL_PASSWORD }}\n\njobs:\n  Markdown-link-check:\n    if: github.event.action != 'labeled'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: gaurav-nelson/github-action-markdown-link-check@v1\n        with:\n          config-file: '.github/workflows/mlc_config.json'\n\n  Type-Check:\n    if: github.event.action != 'labeled'\n    runs-on: ubuntu-latest\n    env:\n      MYPY_FORCE_COLOR: 1\n      TERM: xterm-color\n      SETUPTOOLS_USE_DISTUTILS: stdlib\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - uses: actions/cache@v3\n        with:\n           path: |\n             ~/.cache/pip\n             .nox\n           key: ${{ runner.os }}-${{ hashFiles('python-sdk/pyproject.toml') }}\n      - run: |\n          sudo apt update\n          sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl\n      - run: pip3 install nox\n      - run: nox -s type_check\n\n  Build-Docs:\n    if: github.event.action != 'labeled'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            .nox\n          key: ${{ runner.os }}-${{ hashFiles('python-sdk/pyproject.toml') }}\n      - run: |\n          sudo apt update\n          sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl\n      - run: pip3 install nox\n      - run: nox -s build_docs\n\n  Run-Optional-Packages-tests-python-sdk:\n    if: >-\n      github.event_name == 'push' ||\n      (\n        github.event_name == 'pull_request' &&\n        github.event.pull_request.head.repo.fork == false\n      ) ||\n      (\n        github.event_name == 'pull_request_target' &&\n        contains(github.event.pull_request.labels.*.name, 'safe to test')\n      ) ||\n      (\n        github.event_name == 'release'\n      )\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: dimberman/pagila-test\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n          --name postgres\n        ports:\n          - 5432:5432\n      sftp:\n        image: ghcr.io/astronomer/astro-sdk/sftp_docker\n        ports:\n          - 2222:22\n      ftp:\n        image: ghcr.io/astronomer/astro-sdk/ftp_docker\n        ports:\n          - 21:21\n          - 30000-30009:30000-30009\n        env:\n          FTP_USER_NAME: ${{ secrets.SFTP_USERNAME }}\n          FTP_USER_PASS: ${{ secrets.SFTP_PASSWORD }}\n          FTP_USER_HOME: /home/foo\n          PUBLICHOST: \"localhost\"\n    steps:\n      - uses: actions/checkout@v3\n        if: github.event_name != 'pull_request_target'\n\n      - name: Checkout pull/${{ github.event.number }}\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n        if: github.event_name == 'pull_request_target'\n\n      - uses: actions/setup-python@v3\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            .nox\n          key: ${{ runner.os }}-${{ hashFiles('python-sdk/pyproject.toml') }}-${{ hashFiles('python-sdk/src/astro/__init__.py') }}\n      - run: cat ../.github/ci-test-connections.yaml > test-connections.yaml\n      - run: python -c 'import os; print(os.getenv(\"GOOGLE_APPLICATION_CREDENTIALS_JSON\", \"\").strip())' > ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}\n      - run: sqlite3 /tmp/sqlite_default.db \"VACUUM;\"\n      - run: |\n          sudo apt update\n          sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl\n      - run: pip3 install nox\n      - run: nox -s test_examples_by_dependency -- --cov=src --cov-report=xml --cov-branch\n      - name: Upload coverage\n        uses: actions/upload-artifact@v2\n        with:\n          name: coverage${{ matrix.group }}\n          path: ./python-sdk/.coverage\n    env:\n      GOOGLE_APPLICATION_CREDENTIALS_JSON: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}\n      GOOGLE_APPLICATION_CREDENTIALS: /tmp/google_credentials.json\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      REDSHIFT_NATIVE_LOAD_IAM_ROLE_ARN: ${{ secrets.REDSHIFT_NATIVE_LOAD_IAM_ROLE_ARN }}\n      REDSHIFT_USERNAME: ${{ secrets.REDSHIFT_USERNAME }}\n      REDSHIFT_PASSWORD: ${{ secrets.REDSHIFT_PASSWORD }}\n      SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_UNAME }}\n      SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}\n      DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}\n      DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}\n      DATABRICKS_HTTP_PATH: ${{ secrets.DATABRICKS_HTTP_PATH }}\n      AIRFLOW__ASTRO_SDK__DATABRICKS_CLUSTER_ID: ${{ secrets.DATABRICKS_CLUSTER_ID }}\n      AZURE_WASB_CONN_STRING: ${{ secrets.AZURE_WASB_CONN_STRING }}\n      AZURE_WASB_ACCESS_KEY: ${{ secrets.AZURE_WASB_ACCESS_KEY }}\n\n  Run-Unit-tests-Airflow-2-8:\n    strategy:\n      matrix:\n        version: [ '3.8', '3.9', '3.10', '3.11' ]\n    if: >-\n      github.event_name == 'push' ||\n      (\n        github.event_name == 'pull_request' &&\n        github.event.pull_request.head.repo.fork == false\n      ) ||\n      (\n        github.event_name == 'pull_request_target' &&\n        contains(github.event.pull_request.labels.*.name, 'safe to test')\n      ) ||\n      (\n        github.event_name == 'release'\n      )\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        if: github.event_name != 'pull_request_target'\n\n      - name: Checkout pull/${{ github.event.number }}\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n        if: github.event_name == 'pull_request_target'\n      - uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.version }}\n          architecture: 'x64'\n      - uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            .nox\n          key: ${{ runner.os }}-2.8-${{ hashFiles('python-sdk/pyproject.toml') }}-${{ hashFiles('python-sdk/src/astro/__init__.py') }}\n      - run: sqlite3 /tmp/sqlite_default.db \"VACUUM;\"\n      - run: |\n          sudo apt update\n          sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl\n      - run: pip3 install nox\n      - run: nox -s \"test-${{ matrix.version }}(airflow='2.8')\" -- tests/ --cov=src --cov-report=xml --cov-branch\n      - name: Upload coverage\n        uses: actions/upload-artifact@v2\n        with:\n          name: coverage-unit-test\n          path: ./python-sdk/.coverage\n\n  Run-load-file-Integration-Airflow-2-8:\n    if: >-\n      github.event_name == 'push' ||\n      (\n        github.event_name == 'pull_request' &&\n        github.event.pull_request.head.repo.fork == false\n      ) ||\n      (\n        github.event_name == 'pull_request_target' &&\n        contains(github.event.pull_request.labels.*.name, 'safe to test')\n      ) ||\n      (\n        github.event_name == 'release'\n      )\n    strategy:\n      fail-fast: false\n      matrix:\n        group: [ 1, 2, 3]\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        # Docker Hub image\n        image: dimberman/pagila-test\n        env:\n          POSTGRES_PASSWORD: postgres\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n      sftp:\n        image: ghcr.io/astronomer/astro-sdk/sftp_docker\n        ports:\n          - 2222:22\n      ftp:\n        image: ghcr.io/astronomer/astro-sdk/ftp_docker\n        ports:\n          - 21:21\n          - 30000-30009:30000-30009\n        env:\n          FTP_USER_NAME: ${{ secrets.SFTP_USERNAME }}\n          FTP_USER_PASS: ${{ secrets.SFTP_PASSWORD }}\n          FTP_USER_HOME: /home/foo\n          PUBLICHOST: \"localhost\"\n    steps:\n      - uses: actions/checkout@v3\n        if: github.event_name != 'pull_request_target'\n\n      - name: Checkout pull/${{ github.event.number }}\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n        if: github.event_name == 'pull_request_target'\n      - uses: actions/setup-python@v3\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            .nox\n          key: ${{ runner.os }}-2.5-${{ hashFiles('python-sdk/pyproject.toml') }}-${{ hashFiles('python-sdk/src/astro/__init__.py') }}\n      - run: cat ../.github/ci-test-connections.yaml > test-connections.yaml\n      - run: python -c 'import os; print(os.getenv(\"GOOGLE_APPLICATION_CREDENTIALS_JSON\", \"\").strip())' > ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}\n      - run: sqlite3 /tmp/sqlite_default.db \"VACUUM;\"\n      - run: |\n          sudo apt update\n          sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl\n      - run: pip3 install nox\n      - run: nox -s \"test-3.10(airflow='2.8')\" -- tests_integration/ -k \"test_load_file.py and not redshift\" --splits 3 --group ${{ matrix.group }} --store-durations --durations-path /tmp/durations-${{ matrix.group }} --cov=src --cov-report=xml --cov-branch\n      - run: cat /tmp/durations-${{ matrix.group }}\n      - name: Upload coverage\n        uses: actions/upload-artifact@v2\n        with:\n          name: coverage-${{ matrix.group }}-integration-tests\n          path: ./python-sdk/.coverage\n      - name: Collect pytest durations\n        uses: actions/upload-artifact@v2\n        with:\n          name: pytest_durations_load_file_${{ matrix.group }}\n          path: /tmp/durations-${{ matrix.group }}\n    env:\n      GOOGLE_APPLICATION_CREDENTIALS_JSON: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}\n      GOOGLE_APPLICATION_CREDENTIALS: /tmp/google_credentials.json\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      REDSHIFT_NATIVE_LOAD_IAM_ROLE_ARN: ${{ secrets.REDSHIFT_NATIVE_LOAD_IAM_ROLE_ARN }}\n      REDSHIFT_USERNAME: ${{ secrets.REDSHIFT_USERNAME }}\n      REDSHIFT_PASSWORD: ${{ secrets.REDSHIFT_PASSWORD }}\n      SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_UNAME }}\n      SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}\n      DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}\n      DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}\n      DATABRICKS_HTTP_PATH: ${{ secrets.DATABRICKS_HTTP_PATH }}\n      AIRFLOW__ASTRO_SDK__DATABRICKS_CLUSTER_ID: ${{ secrets.DATABRICKS_CLUSTER_ID }}\n      AZURE_WASB_CONN_STRING: ${{ secrets.AZURE_WASB_CONN_STRING }}\n\n  Run-example-dag-Integration-Airflow-2-8:\n    if: >-\n      github.event_name == 'push' ||\n      (\n        github.event_name == 'pull_request' &&\n        github.event.pull_request.head.repo.fork == false\n      ) ||\n      (\n        github.event_name == 'pull_request_target' &&\n        contains(github.event.pull_request.labels.*.name, 'safe to test')\n      ) ||\n      (\n        github.event_name == 'release'\n      )\n    strategy:\n      fail-fast: false\n      matrix:\n        group: [ 1, 2, 3]\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        # Docker Hub image\n        image: dimberman/pagila-test\n        env:\n          POSTGRES_PASSWORD: postgres\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n      sftp:\n        image: ghcr.io/astronomer/astro-sdk/sftp_docker\n        ports:\n          - 2222:22\n      ftp:\n        image: ghcr.io/astronomer/astro-sdk/ftp_docker\n        ports:\n          - 21:21\n          - 30000-30009:30000-30009\n        env:\n          FTP_USER_NAME: ${{ secrets.SFTP_USERNAME }}\n          FTP_USER_PASS: ${{ secrets.SFTP_PASSWORD }}\n          FTP_USER_HOME: /home/foo\n          PUBLICHOST: \"localhost\"\n    steps:\n      - uses: actions/checkout@v3\n        if: github.event_name != 'pull_request_target'\n\n      - name: Checkout pull/${{ github.event.number }}\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n        if: github.event_name == 'pull_request_target'\n      - uses: actions/setup-python@v3\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            .nox\n          key: ${{ runner.os }}-2.8-${{ hashFiles('python-sdk/pyproject.toml') }}-${{ hashFiles('python-sdk/src/astro/__init__.py') }}\n      - run: cat ../.github/ci-test-connections.yaml > test-connections.yaml\n      - run: python -c 'import os; print(os.getenv(\"GOOGLE_APPLICATION_CREDENTIALS_JSON\", \"\").strip())' > ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}\n      - run: sqlite3 /tmp/sqlite_default.db \"VACUUM;\"\n      - run: |\n          sudo apt update\n          sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl\n      - run: pip3 install nox\n      - run: nox -s \"test-3.10(airflow='2.8')\" -- tests_integration/ -k \"test_example_dags.py and not redshift\" --splits 3 --group ${{ matrix.group }} --store-durations --durations-path /tmp/durations-${{ matrix.group }} --cov=src --cov-report=xml --cov-branch\n      - run: cat /tmp/durations-${{ matrix.group }}\n      - name: Upload coverage\n        uses: actions/upload-artifact@v2\n        with:\n          name: coverage-${{ matrix.group }}-integration-tests\n          path: ./python-sdk/.coverage\n      - name: Collect pytest durations\n        uses: actions/upload-artifact@v2\n        with:\n          name: pytest_durations_example_dags_${{ matrix.group }}\n          path: /tmp/durations-${{ matrix.group }}\n    env:\n      GOOGLE_APPLICATION_CREDENTIALS_JSON: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}\n      GOOGLE_APPLICATION_CREDENTIALS: /tmp/google_credentials.json\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      REDSHIFT_NATIVE_LOAD_IAM_ROLE_ARN: ${{ secrets.REDSHIFT_NATIVE_LOAD_IAM_ROLE_ARN }}\n      REDSHIFT_USERNAME: ${{ secrets.REDSHIFT_USERNAME }}\n      REDSHIFT_PASSWORD: ${{ secrets.REDSHIFT_PASSWORD }}\n      SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_UNAME }}\n      SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}\n      DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}\n      DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}\n      DATABRICKS_HTTP_PATH: ${{ secrets.DATABRICKS_HTTP_PATH }}\n      AIRFLOW__ASTRO_SDK__DATABRICKS_CLUSTER_ID: ${{ secrets.DATABRICKS_CLUSTER_ID }}\n      AZURE_WASB_CONN_STRING: ${{ secrets.AZURE_WASB_CONN_STRING }}\n\n  Run-Integration-tests-Airflow-2-8:\n    if: >-\n      github.event_name == 'push' ||\n      (\n        github.event_name == 'pull_request' &&\n        github.event.pull_request.head.repo.fork == false\n      ) ||\n      (\n        github.event_name == 'pull_request_target' &&\n        contains(github.event.pull_request.labels.*.name, 'safe to test')\n      ) ||\n      (\n        github.event_name == 'release'\n      )\n    strategy:\n      fail-fast: false\n      matrix:\n        group: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 ]\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        # Docker Hub image\n        image: dimberman/pagila-test\n        env:\n          POSTGRES_PASSWORD: postgres\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n      sftp:\n        image: ghcr.io/astronomer/astro-sdk/sftp_docker\n        ports:\n          - 2222:22\n      ftp:\n        image: ghcr.io/astronomer/astro-sdk/ftp_docker\n        ports:\n          - 21:21\n          - 30000-30009:30000-30009\n        env:\n          FTP_USER_NAME: ${{ secrets.SFTP_USERNAME }}\n          FTP_USER_PASS: ${{ secrets.SFTP_PASSWORD }}\n          FTP_USER_HOME: /home/foo\n          PUBLICHOST: \"localhost\"\n    steps:\n      - uses: actions/checkout@v3\n        if: github.event_name != 'pull_request_target'\n\n      - name: Checkout pull/${{ github.event.number }}\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n        if: github.event_name == 'pull_request_target'\n      - uses: actions/setup-python@v3\n        with:\n          python-version: '3.10'\n          architecture: 'x64'\n      - uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            .nox\n          key: ${{ runner.os }}-2.8-${{ hashFiles('python-sdk/pyproject.toml') }}-${{ hashFiles('python-sdk/src/astro/__init__.py') }}\n      - run: cat ../.github/ci-test-connections.yaml > test-connections.yaml\n      - run: python -c 'import os; print(os.getenv(\"GOOGLE_APPLICATION_CREDENTIALS_JSON\", \"\").strip())' > ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}\n      - run: sqlite3 /tmp/sqlite_default.db \"VACUUM;\"\n      - run: |\n          sudo apt update\n          sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl\n      - run: pip3 install nox\n      - run: nox -s \"test-3.10(airflow='2.8')\" -- tests_integration/ -k \"not test_load_file.py and not test_example_dags.py and not redshift\" --splits 11 --group ${{ matrix.group }} --store-durations --durations-path /tmp/durations-${{ matrix.group }} --cov=src --cov-report=xml --cov-branch\n      - run: cat /tmp/durations-${{ matrix.group }}\n      - name: Upload coverage\n        uses: actions/upload-artifact@v2\n        with:\n          name: coverage-${{ matrix.group }}-integration-tests\n          path: ./python-sdk/.coverage\n      - name: Collect pytest durations\n        uses: actions/upload-artifact@v2\n        with:\n          name: pytest_durations_integration_tests_${{ matrix.group }}\n          path: /tmp/durations-${{ matrix.group }}\n    env:\n      GOOGLE_APPLICATION_CREDENTIALS_JSON: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}\n      GOOGLE_APPLICATION_CREDENTIALS: /tmp/google_credentials.json\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      REDSHIFT_NATIVE_LOAD_IAM_ROLE_ARN: ${{ secrets.REDSHIFT_NATIVE_LOAD_IAM_ROLE_ARN }}\n      REDSHIFT_USERNAME: ${{ secrets.REDSHIFT_USERNAME }}\n      REDSHIFT_PASSWORD: ${{ secrets.REDSHIFT_PASSWORD }}\n      SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_UNAME }}\n      SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}\n      DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}\n      DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}\n      DATABRICKS_HTTP_PATH: ${{ secrets.DATABRICKS_HTTP_PATH }}\n      AIRFLOW__ASTRO_SDK__DATABRICKS_CLUSTER_ID: ${{ secrets.DATABRICKS_CLUSTER_ID }}\n      AZURE_WASB_CONN_STRING: ${{ secrets.AZURE_WASB_CONN_STRING }}\n      AZURE_WASB_ACCESS_KEY: ${{ secrets.AZURE_WASB_ACCESS_KEY }}\n\n\n  Generate-Constraints:\n    if: (github.event_name == 'release' || github.event_name == 'push')\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [ '3.8', '3.9', '3.10', '3.11' ]\n        airflow: [ '2.7', '2.8']\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: '${{ matrix.python }}'\n          architecture: 'x64'\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"pip_cache_dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.pip_cache_dir }}\n          key: constraints-${{ matrix.python }}-${{ matrix.airflow }}-${{ hashFiles('python-sdk/pyproject.toml') }}-${{ hashFiles('python-sdk/src/astro/__init__.py') }}\n      - run: pip3 install -U pip wheel build nox\n      - run: nox -s build\n      - run: pip3 install 'apache-airflow~=${{ matrix.airflow }}' \"$(ls dist/*.whl)[all]\"\n      - run: pip3 list --format=freeze > constraints-${{ matrix.python }}-${{ matrix.airflow }}\n      - run: cat constraints-${{ matrix.python }}-${{ matrix.airflow }}\n      - name: Upload constraints\n        uses: actions/upload-artifact@v3\n        with:\n          name: constraints-${{ matrix.python }}-${{ matrix.airflow }}\n          path: ./python-sdk/constraints-${{ matrix.python }}-${{ matrix.airflow }}\n          if-no-files-found: error\n\n  Code-Coverage:\n    if: github.event.action != 'labeled'\n    needs:\n      - Run-Unit-tests-Airflow-2-8\n      - Run-Integration-tests-Airflow-2-8\n      - Run-load-file-Integration-Airflow-2-8\n      - Run-example-dag-Integration-Airflow-2-8\n      - Run-Optional-Packages-tests-python-sdk\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.10'\n      - name: Install coverage\n        run: |\n          pip3 install coverage\n      - name: Download all artifacts\n        uses: actions/download-artifact@v2\n        with:\n          path: ./python-sdk/coverage\n      - name: Run coverage\n        run: |\n          coverage combine ./coverage/coverage*/.coverage\n          coverage report\n          coverage xml\n      - name: Upload coverage\n        uses: codecov/codecov-action@v2\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: PythonSDK\n          files: ./python-sdk/coverage.xml\n\n  collect-durations:\n    runs-on: ubuntu-latest\n    needs:\n      - Run-Unit-tests-Airflow-2-8\n      - Run-Integration-tests-Airflow-2-8\n      - Run-load-file-Integration-Airflow-2-8\n    steps:\n      - uses: actions/checkout@v3\n      - name: Cache\n        uses: actions/cache@v3\n        with:\n          path: .test_durations\n          key: test_durations-0-${{ github.run_id }}\n      - name: Collect\n        uses: actions/download-artifact@v3\n        with:\n          path: ./python-sdk/artifacts\n      - name: Consolidate and print durations\n        run: |\n          jq -n -S \\\n            'reduce (inputs | to_entries[]) as {$key, $value} ({}; .[$key] += $value)' \\\n            artifacts/pytest_durations_*/* > .test_durations_print && \\\n            cat .test_durations_print\n      - name: Consolidate\n        run: |\n          jq -n -S \\\n            'reduce (inputs | to_entries[]) as {$key, $value} ({}; .[$key] += $value)' \\\n            artifacts/pytest_durations_*/* > .test_durations\n\n  build-n-publish:\n    if: github.event_name == 'release'\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    needs:\n      - Run-Unit-tests-Airflow-2-8\n      - Run-Integration-tests-Airflow-2-8\n      - Run-load-file-Integration-Airflow-2-8\n      - Run-example-dag-Integration-Airflow-2-8\n      - Run-Optional-Packages-tests-python-sdk\n      - Generate-Constraints\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n        architecture: 'x64'\n    - uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ${{ hashFiles('python-sdk/pyproject.toml') }}\n    - run: |\n        sudo apt update\n        sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl\n    - run: pip3 install nox\n    - run: nox -s build\n    - run: nox -s release -- dist/*\n    env:\n      TWINE_USERNAME: __token__\n      TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "astronomer/astro-sdk"}
{"mined_at": "2024-07-15T17:13:21.146000", "created_at": "2023-08-09T16:48:53+02:00", "updated_at": "2023-10-06T02:19:08+02:00", "name": "Test providers RC releases", "path": ".github/workflows/ci-rc-test.yaml", "contents": "---\nname: Test providers RC releases\n\non: # yamllint disable-line rule:truthy\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n    inputs:\n      rc_testing_branch:\n        # If a branch is given, the workflow will use it for deployment and testing.\n        # If no branch is provided, the workflow will create a new rc testing branch\n        # for deployment and testing.\n        description: |\n          rc_testing_branch: existing testing branch\n          (Either rc_testing_branch or issue_url is required, and you cannot give both.)\n        required: false\n        default: \"\"\n      issue_url:\n        description: |\n          issue_url: the GitHub issue URL that tracks the status of Providers release\n          (Either rc_testing_branch or issue_url is required, and you cannot give both.)\n        required: false\n      base_git_rev:\n        description: \"The base git revision to test Providers RCs\"\n        required: false\n        type: string\n        default: \"main\"\ndefaults:\n  run:\n    working-directory: python-sdk\n\njobs:\n  check-airflow-provider-rc-release:\n    uses: astronomer/astronomer-providers/.github/workflows/reuse-wf-check-rc-release.yaml@main\n    with:\n      rc_testing_branch: ${{ inputs.rc_testing_branch }}\n      issue_url: ${{ inputs.issue_url }}\n      base_git_rev: ${{ inputs.base_git_rev }}\n      git_email: \"airflow-oss-bot@astronomer.io\"\n      git_username: \"airflow-oss-bot\"\n      working_directory: \"python-sdk\"\n    secrets:\n      BOT_ACCESS_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }}\n\n  deploy-and-trigger-example-dag:\n    needs: check-airflow-provider-rc-release\n    if: |\n      always() &&\n      needs.check-airflow-provider-rc-release.outputs.rc_issue_url != '' || ${{ inputs.issue_url }} != ''\n    uses:  ./.github/workflows/ci-astro-deploy.yml\n    with:\n       environment_to_deploy: \"both\"\n       dags_to_trigger_after_deployment: \"example_master_dag\"\n       git_rev: ${{ needs.check-airflow-provider-rc-release.outputs.rc_testing_branch }}\n    secrets: inherit\n", "state": "active", "repository": "astronomer/astro-sdk"}
{"mined_at": "2024-07-15T17:13:22.228504", "created_at": "2022-08-25T22:54:41+02:00", "updated_at": "2023-05-25T14:37:20+02:00", "name": "Build and test astro SQL CLI", "path": ".github/workflows/ci-sql-cli.yaml", "contents": null, "state": "active", "repository": "astronomer/astro-sdk"}
{"mined_at": "2024-07-15T17:13:23.347805", "created_at": "2023-02-22T12:15:42+01:00", "updated_at": "2023-05-25T15:54:10+02:00", "name": "Build and test Universal Transfer Operator", "path": ".github/workflows/ci-uto.yaml", "contents": null, "state": "active", "repository": "astronomer/astro-sdk"}
{"mined_at": "2024-07-15T17:13:24.465045", "created_at": "2022-12-08T13:08:48+01:00", "updated_at": "2023-05-25T14:37:20+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/pr-labeler.yml", "contents": null, "state": "active", "repository": "astronomer/astro-sdk"}
{"mined_at": "2024-07-15T17:13:25.571948", "created_at": "2023-09-21T08:23:24+02:00", "updated_at": "2023-09-21T08:23:24+02:00", "name": "(Reusable workflows) Deploy to astro cloud", "path": ".github/workflows/reuse-wf-deploy-to-astro-cloud.yaml", "contents": "---\nname: (Reusable workflows) Deploy to astro cloud\n\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      git_rev:\n        description: 'The git revision to deploy'\n        required: false\n        type: string\n        default: ''\n      environment_to_deploy:\n        description: 'astro cloud deployment to deploy to'\n        required: true\n        type: string\n    secrets:\n      docker_registry:\n        description: 'astro cloud docker registry'\n        required: true\n      organization_id:\n        description: 'astro cloud organization_id'\n        required: true\n      deployment_id:\n        description: 'astro cloud deployment_id'\n        required: true\n      bearer_token:\n        description: 'workspace bearer token'\n        required: true\n      SLACK_WEBHOOK_URL:\n        description: 'slack webhook url for sending notification'\n        required: true\n      GCP_SERVICE_ACCOUNT_JSON:\n        description: 'GCP service account json'\n        required: true\n\n\njobs:\n  deploy-to-astro-cloud:\n    runs-on: 'ubuntu-20.04'\n    steps:\n      - name: checkout\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ inputs.git_rev }}\n\n      - name: get git revision\n        id: get_git_revision\n        run: echo \"git_rev=$(git rev-parse HEAD)\" >> $GITHUB_OUTPUT\n\n      - name: deploy\n        working-directory: python-sdk/tests_integration/astro_deploy\n        run: |\n          echo \"deploying ${{ inputs.git_rev }} to ${{ inputs.environment_to_deploy }}\"\n          echo \"${{ secrets.GCP_SERVICE_ACCOUNT_JSON }}\" | base64 --decode > service-account-key.json\n          bash deploy.sh  ${{ secrets.docker_registry }}\\\n            ${{ secrets.organization_id }} \\\n            ${{ secrets.deployment_id }} \\\n            ${{ secrets.bearer_token }} \\\n\n\n      - name: send succeeded notification to Slack\n        if: success() && github.event_name == 'workflow_dispatch'\n        uses: slackapi/slack-github-action@v1.23.0\n        with:\n          # yamllint disable rule:line-length\n          payload: |\n            {\n              \"blocks\": [\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"✅ Deploy succeeded\"\n                  }\n                },\n                {\n                  \"type\": \"section\",\n                  \"fields\": [\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Environment to deploy:*\\n ${{ inputs.environment_to_deploy }}\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Deployed git revision*:\\n<${{ github.server_url }}/${{ github.repository }}/tree/${{ steps.get_git_revision.outputs.git_rev }}|${{ steps.get_git_revision.outputs.git_rev }}>\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Link to workflow run:*\\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}|link>\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Triggered by:*\\n<${{ github.server_url }}/${{ github.triggering_actor }}|${{ github.triggering_actor }}>\"\n                    }\n                  ]\n                },\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"*---Workflow Detail---*\"\n                  }\n                },\n                {\n                  \"type\": \"section\",\n                  \"fields\": [\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Workflow name:*\\n<${{ github.server_url }}/${{ github.repository }}/actions/workflows/${{ github.workflow }}|${{ github.workflow }}>\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Event name:*\\n${{ github.event_name }}\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Workflow Ref:*\\n<${{ github.server_url }}/${{ github.repository }}/tree/${{ github.ref }}|${{ github.ref_name }}>\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Workflow Sha:*\\n<${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>\"\n                    }\n                  ]\n                }\n              ]\n            }\n          # yamllint enable rule:line-length\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n          SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n\n      - name: send failure notification to Slack\n        if: failure()\n        uses: slackapi/slack-github-action@v1.23.0\n        with:\n          # yamllint disable rule:line-length\n          payload: |\n            {\n              \"blocks\": [\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"❌ Deploy failed\"\n                  }\n                },\n                {\n                  \"type\": \"section\",\n                  \"fields\": [\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Environment to deploy:*\\n ${{ inputs.environment_to_deploy }}\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Deployed git revision*:\\n<${{ github.server_url }}/${{ github.repository }}/tree/${{ steps.get_git_revision.outputs.git_rev }}|${{ steps.get_git_revision.outputs.git_rev }}>\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Link to workflow run:*\\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}|link>\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Triggered by:*\\n<${{ github.server_url }}/${{ github.triggering_actor }}|${{ github.triggering_actor }}>\"\n                    }\n                  ]\n                },\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"*---Workflow Detail---*\"\n                  }\n                },\n                {\n                  \"type\": \"section\",\n                  \"fields\": [\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Workflow name:*\\n<${{ github.server_url }}/${{ github.repository }}/actions/workflows/${{ github.workflow }}|${{ github.workflow }}>\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Event name:*\\n${{ github.event_name }}\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Workflow Ref:*\\n<${{ github.server_url }}/${{ github.repository }}/tree/${{ github.ref }}|${{ github.ref_name }}>\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Workflow Sha:*\\n<${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>\"\n                    }\n                  ]\n                }\n              ]\n            }\n          # yamllint enable rule:line-length\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n          SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n", "state": "active", "repository": "astronomer/astro-sdk"}
{"mined_at": "2024-07-15T17:13:26.840592", "created_at": "2023-09-21T08:23:24+02:00", "updated_at": "2023-09-21T08:23:24+02:00", "name": "(Reusable workflows) Wait for deployment and trigger dags", "path": ".github/workflows/reuse-wf-trigger-dag.yaml", "contents": "---\nname: (Reusable workflows) Wait for deployment and trigger dags\n\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      git_rev:\n        description: 'The git revision to deploy'\n        required: false\n        type: string\n        default: ''\n      dags_to_trigger_after_deployment:\n        description: |\n          Comma separated list of dag_ids to trigger after deployment\n          (e.g. \"example_mssql_transform, example_load_file\")\n        required: false\n        type: string\n        default: ''\n    secrets:\n      astro_subdomain:\n        description: 'astro cloud subdomain'\n        required: true\n      deployment_id:\n        description: 'astro cloud deployment_id'\n        required: true\n      organization_id:\n        description: 'astro cloud organization_id'\n        required: true\n      bearer_token:\n        description: 'workspace bearer token'\n        required: true\n\njobs:\n  wait-for-deployment-to-be-ready-and-trigger-dag:\n    runs-on: 'ubuntu-20.04'\n    steps:\n\n      - name: Wait for deployment to be healthy\n        run: |\n          astro_core_api=\"https://api.astronomer-stage.io/v1alpha1/organizations/\\\n          ${{secrets.organization_id }}/deployments\"\n          tries=15\n          health_flag=false\n\n          while [[ $tries -gt 0 && $health_flag == false ]]; do\n              sleep 120\n              response=$(curl -s -H \"Authorization: Bearer ${{ secrets.bearer_token }}\" -X GET \\\n              \"$astro_core_api?deploymentIds=${{ secrets.deployment_id }}\")\n              echo \"response is $response\"\n              deployment_status=$(echo \"$response\" | jq -r '.deployments[0].status')\n              echo \"Deployment status is: $deployment_status\"\n              echo \"Waiting for deployment to be in ready state!!!\"\n              if [[ $deployment_status == \"HEALTHY\" ]]; then\n                  health_flag=true\n              fi\n              tries=$((tries - 1))\n          done\n          if [[ $health_flag == false ]]; then\n              echo \"Timed out waiting for deployment ${{ secrets.deployment_id }} to be HEALTHY\"\n              exit 1\n          fi\n          echo \"${{ secrets.deployment_id }} is in HEALTHY state now\"\n\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ inputs.git_rev }}\n\n      - name: Trigger DAG(s)\n        run: |\n          python3 python-sdk/dev/integration_test_scripts/trigger_dag.py \\\n            ${{secrets.organization_id }} \\\n            ${{ secrets.deployment_id }} \\\n            ${{ secrets.bearer_token }} \\\n            --dag-ids \"${{ inputs.dags_to_trigger_after_deployment }}\"\n", "state": "active", "repository": "astronomer/astro-sdk"}
{"mined_at": "2024-07-15T17:13:27.968670", "created_at": "2023-08-18T20:25:03+02:00", "updated_at": "2023-12-26T14:51:40+01:00", "name": "Update runtime image tag", "path": ".github/workflows/runtime-image-update.yaml", "contents": "---\nname: Update runtime image tag\n\non:  # yamllint disable-line rule:truthy\n  schedule:\n    - cron: '0 0 * * *'  # Run every day at midnight UTC\n  workflow_dispatch:\n    inputs:\n      quay_repo:\n        description: 'Quay Repository'\n        default: 'astronomer/astro-runtime'\ndefaults:\n  run:\n    working-directory: python-sdk\n\njobs:\n  runtime-image-tag-update-job:\n    runs-on: 'ubuntu-20.04'\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.10'\n\n      - name: Install dependencies\n        run: pip install requests semantic-version\n\n      - name: Get current tag from Dockerfile\n        id: get_current_tag\n        # yamllint disable rule:line-length\n        run: |\n          CURRENT_TAG=$(awk -F: '/quay.io\\/astronomer\\/astro-runtime/ {print $NF}' ./dev/Dockerfile)\n          echo \"CURRENT_TAG=$CURRENT_TAG\"\n          echo \"tag=$CURRENT_TAG\" >> $GITHUB_OUTPUT\n        # yamllint enable rule:line-length\n\n      - name: Get latest tag from Quay.io\n        id: get_latest_tag\n        # yamllint disable rule:line-length\n        run: |\n          LATEST_TAG=$(python ./dev/integration_test_scripts/get_latest_runtime_image_tag.py ${{ github.event.inputs.quay_repo }})\n          echo \"LATEST_TAG=$LATEST_TAG\"\n          echo \"tag=$LATEST_TAG\" >> $GITHUB_OUTPUT\n        # yamllint enable rule:line-length\n\n      - name: Check if tag was updated\n        id: check_tag_updated\n        run: |\n          if [ \"${{ steps.get_current_tag.outputs.tag }}\" != \"${{ steps.get_latest_tag.outputs.tag }}\" ]; then\n            echo \"Tag was updated\"\n            echo \"tag_updated=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"Tag was not updated\"\n            echo \"tag_updated=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Create runtime image tag update branch\n        id: create_runtime_image_update_branch\n        run: |\n          BRANCH_NAME=\"update-runtime-image-tag-${{ steps.get_latest_tag.outputs.tag }}\"\n          git fetch origin main\n          git checkout main\n          git checkout -b $BRANCH_NAME\n          echo \"BRANCH_NAME=$BRANCH_NAME\"\n          echo \"runtime_image_update_branch=$BRANCH_NAME\" >> $GITHUB_OUTPUT\n\n      - name: Replace tag in dev Dockerfile\n        if: steps.check_tag_updated.outputs.tag_updated == 'true'\n        # yamllint disable rule:line-length\n        run: |\n          sed -i \"s@quay.io/astronomer/astro-runtime:${{ steps.get_current_tag.outputs.tag }}@quay.io/astronomer/astro-runtime:${{ steps.get_latest_tag.outputs.tag }}@g\" ./dev/Dockerfile\n          echo \"::group::cat Dockerfile\"\n          cat  ./dev/Dockerfile\n          echo \"::endgroup::\"\n        # yamllint enable rule:line-length\n\n      - name: Replace tag in Astro Dockerfile\n        if: steps.check_tag_updated.outputs.tag_updated == 'true'\n        # yamllint disable rule:line-length\n        run: |\n          sed -i \"s@quay.io/astronomer/astro-runtime:${{ steps.get_current_tag.outputs.tag }}@quay.io/astronomer/astro-runtime:${{ steps.get_latest_tag.outputs.tag }}@g\" ./tests_integration/astro_deploy/Dockerfile\n          echo \"::group::cat Dockerfile\"\n          cat ./tests_integration/astro_deploy/Dockerfile\n          echo \"::endgroup::\"\n        # yamllint enable rule:line-length\n\n      - name: Replace tag in Astro Dockerfile single worker\n        if: steps.check_tag_updated.outputs.tag_updated == 'true'\n        # yamllint disable rule:line-length\n        run: |\n          sed -i \"s@quay.io/astronomer/astro-runtime:${{ steps.get_current_tag.outputs.tag }}@quay.io/astronomer/astro-runtime:${{ steps.get_latest_tag.outputs.tag }}@g\" ./tests_integration/astro_deploy/Dockerfile.single_worker\n          echo \"::group::cat Dockerfile.single_worker\"\n          cat ./tests_integration/astro_deploy/Dockerfile.single_worker\n          echo \"::endgroup::\"\n        # yamllint enable rule:line-length\n\n      - name: Setup Github Actions git user\n        if: steps.check_tag_updated.outputs.tag_updated == 'true'\n        run: |\n          git config --global user.email \"action@github.com\"\n          git config --global user.name \"GitHub Actions\"\n\n      - name: Commit changes and create a pull request\n        if: steps.check_tag_updated.outputs.tag_updated == 'true'\n        env:\n          GH_TOKEN: ${{ github.token }}\n        # yamllint disable rule:line-length\n        run: |\n          set -e\n          git add ./tests_integration/astro_deploy/ ./dev/Dockerfile\n          git commit -m \"Update runtime image tag to ${{ steps.get_latest_tag.outputs.tag }}\"\n          git push origin ${{ steps.create_runtime_image_update_branch.outputs.runtime_image_update_branch }}\n          gh pr create --base main \\\n            --title \"Update runtime image tag to ${{ steps.get_latest_tag.outputs.tag }}\" \\\n            --body \"This pull request updates the runtime image tag in the `Dockerfile` to the latest tag.\" --fill\n        # yamllint enable rule:line-length\n", "state": "active", "repository": "astronomer/astro-sdk"}
{"mined_at": "2024-07-15T17:13:29.219345", "created_at": "2023-05-05T12:00:45+02:00", "updated_at": "2023-09-28T05:11:07+02:00", "name": "astro deploy", "path": ".github/workflows/test-astro-deploy.yaml", "contents": null, "state": "disabled_manually", "repository": "astronomer/astro-sdk"}
{"mined_at": "2024-07-15T17:13:30.322259", "created_at": "2023-06-01T17:35:23+02:00", "updated_at": "2023-06-02T13:44:00+02:00", "name": "testRCRelease", "path": ".github/workflows/test-rc-release.yml", "contents": null, "state": "active", "repository": "astronomer/astro-sdk"}
{"mined_at": "2024-07-15T17:13:32.369904", "created_at": "2023-09-25T12:44:42+02:00", "updated_at": "2023-09-25T12:44:42+02:00", "name": "ci-approve", "path": ".github/workflows/ci-approve.yml", "contents": "# Reference:\n#   - https://github.com/tibdex/github-app-token\n#   - https://github.com/hmarr/auto-approve-action\n\nname: ci-approve\n\non: pull_request_target\n\njobs:\n  auto-approve:\n    name: \"auto-approve\"\n\n    runs-on: ubuntu-latest\n\n    permissions:\n      pull-requests: write\n\n    if: github.actor == 'dependabot[bot]'\n    steps:\n      - name: \"generate token\"\n        uses: tibdex/github-app-token@v2\n        id: generate-token\n        with:\n          app_id: ${{ secrets.AUTH_APP_ID }}\n          private_key: ${{ secrets.AUTH_APP_PRIVATE_KEY }}\n\n      - uses: hmarr/auto-approve-action@v4\n        with:\n          github-token: ${{ steps.generate-token.outputs.token }}\n          review-message: |\n            🤖 Bleep! Bloop!\n\n            Dependabot[bot] pull-request auto-approved 👍\n", "state": "active", "repository": "bjlittle/geovista"}
{"mined_at": "2024-07-15T17:13:33.424402", "created_at": "2023-02-24T13:11:57+01:00", "updated_at": "2023-02-24T13:11:57+01:00", "name": "ci-citation", "path": ".github/workflows/ci-citation.yml", "contents": "name: ci-citation\n\non:\n  pull_request:\n    paths:\n      - \"CITATION.cff\"\n\n  push:\n    paths:\n      - \"CITATION.cff\"\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  validate:\n    name: \"validate\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: \"check CITATION.cff\"\n        uses: citation-file-format/cffconvert-github-action@2.0.0\n        with:\n          args: \"--validate\"\n", "state": "active", "repository": "bjlittle/geovista"}
{"mined_at": "2024-07-15T17:13:34.432693", "created_at": "2022-02-08T22:46:28+01:00", "updated_at": "2024-05-23T12:09:04+02:00", "name": "ci-docs", "path": ".github/workflows/ci-docs.yml", "contents": "# Reference:\n#   - https://github.com/actions/checkout\n#   - https://github.com/awalsh128/cache-apt-pkgs-action\n#   - https://github.com/conda-incubator/setup-miniconda\n\nname: ci-docs\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - \"main\"\n      - \"v*x\"\n      - \"!conda-lock-auto-update\"\n      - \"!pre-commit-ci-update-config\"\n      - \"!dependabot/*\"\n    tags:\n      - \"v*\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    name: \"${{ matrix.session }} (${{ matrix.version }})\"\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    env:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      ENV_NAME: \"ci-docs\"\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        version: [\"py312\"]\n        session: [\"doctest\", \"linkcheck\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: \"environment configure\"\n      env:\n        # Maximum cache period (in weeks) before forcing a cache refresh.\n        CACHE_WEEKS: 2\n      run: |\n        echo \"CACHE_PERIOD=$(date +%Y).$(expr $(date +%U) / ${CACHE_WEEKS})\" >> ${GITHUB_ENV}\n        echo \"LOCK_FILE=requirements/locks/${{ matrix.version }}-lock-linux-64.txt\" >> ${GITHUB_ENV}\n\n    - name: \"conda package cache\"\n      uses: ./.github/workflows/composite/conda-pkg-cache\n      with:\n        cache_period: ${{ env.CACHE_PERIOD }}\n        env_name: ${{ env.ENV_NAME }}\n\n    - name: \"conda install\"\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniforge-version: latest\n        channels: conda-forge,defaults\n        channel-priority: true\n        auto-update-conda: true\n        activate-environment: ${{ env.ENV_NAME }}\n        use-only-tar-bz2: false\n\n    - name: \"conda environment cache\"\n      uses: ./.github/workflows/composite/conda-env-cache\n      with:\n        cache_period: ${{ env.CACHE_PERIOD }}\n        env_name: ${{ env.ENV_NAME }}\n        install_packages: \"cartopy pip 'tox<4'\"\n\n    - name: \"conda info\"\n      run: |\n        conda info\n        conda list\n\n    - name: \"cartopy cache\"\n      uses: ./.github/workflows/composite/cartopy-cache\n      with:\n        cache_period: ${{ env.CACHE_PERIOD }}\n        env_name: ${{ env.ENV_NAME }}\n\n    - name: \"tox cache\"\n      uses: ./.github/workflows/composite/tox-cache\n      with:\n        lock_file: ${{ env.LOCK_FILE }}\n\n    - name: \"apt cache\"\n      uses: awalsh128/cache-apt-pkgs-action@v1.4.2\n      with:\n        packages: libgl1-mesa-glx xvfb\n        version: 1.0\n\n    - name: \"geovista cache\"\n      uses: ./.github/workflows/composite/geovista-cache\n      with:\n        cache_period: ${{ env.CACHE_PERIOD }}\n\n    - name: \"${{ matrix.session }} (${{ matrix.version }})\"\n      run: |\n        tox -e ${{ matrix.version }}-${{ matrix.session }}\n", "state": "active", "repository": "bjlittle/geovista"}
{"mined_at": "2024-07-15T17:13:35.412729", "created_at": "2023-05-10T00:56:15+02:00", "updated_at": "2023-05-10T00:56:15+02:00", "name": "ci-label", "path": ".github/workflows/ci-label.yml", "contents": "# Reference:\n#   - https://github.com/actions/labeler\n#   - https://github.com/actions-ecosystem/action-add-labels\n\nname: ci-label\n\non:\n  pull_request_target:\n    types: [opened, edited, reopened]\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/labeler@v5\n\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'breaking-change') || startsWith(github.event.pull_request.head.ref, 'breaking') || startsWith(github.event.pull_request.head.ref, 'break')\n        with:\n          labels: 'breaking-change'\n\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'bug') || startsWith(github.event.pull_request.head.ref, 'fix') || startsWith(github.event.pull_request.head.ref, 'patch')\n        with:\n          labels: 'type: bug'\n\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'debt')\n        with:\n          labels: 'type: tech debt'\n\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'doc') || startsWith(github.event.pull_request.head.ref, 'docs')\n        with:\n          labels: 'type: documentation'\n\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'feat') || startsWith(github.event.pull_request.head.ref, 'feature')\n        with:\n          labels: 'type: enhancement'\n\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'ex') || startsWith(github.event.pull_request.head.ref, 'example') || startsWith(github.event.pull_request.head.ref, 'examples')\n        with:\n          labels: 'type: examples'\n\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'nep') || startsWith(github.event.pull_request.head.ref, 'nep29')\n        with:\n          labels: 'type: nep-29'\n\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'perf') || startsWith(github.event.pull_request.head.ref, 'performance')\n        with:\n          labels: 'type: performance'\n\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: github.actor == 'dependabot[bot]' || github.actor == 'geovista-ci[bot]' || github.actor == 'pre-commit-ci[bot]'\n        with:\n          labels: 'skip changelog'\n\n      - uses: actions-ecosystem/action-add-labels@v1\n        if: startsWith(github.event.pull_request.head.ref, 'merge-back') || startsWith(github.event.pull_request.head.ref, 'mb')\n        with:\n          labels: 'type: merge-back'\n", "state": "active", "repository": "bjlittle/geovista"}
{"mined_at": "2024-07-15T17:13:36.466006", "created_at": "2022-02-05T22:16:02+01:00", "updated_at": "2023-06-10T23:39:04+02:00", "name": "ci-locks", "path": ".github/workflows/ci-locks.yml", "contents": "# Reference:\n#   - https://github.com/actions/cache\n#   - https://github.com/actions/checkout\n#   - https://github.com/actions/download-artifact\n#   - https://github.com/actions/upload-artifact\n#   - https://github.com/conda-incubator/setup-miniconda\n\nname: ci-locks\n\non:\n  workflow_dispatch:\n  schedule:\n    # every sunday @ 00h03\n    - cron: \"3 0 * * 0\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-locks:\n    name: \"${{ matrix.session }} (${{ matrix.version }})\"\n\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    env:\n      ENV_NAME: \"ci-locks\"\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        version: [\"py310\", \"py311\", \"py312\"]\n        session: [\"lock\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: \"environment configure\"\n      env:\n        # Maximum cache period (in weeks) before forcing a cache refresh.\n        CACHE_WEEKS: 2\n      run: |\n        echo \"CACHE_PERIOD=$(date +%Y).$(expr $(date +%U) / ${CACHE_WEEKS})\" >> ${GITHUB_ENV}\n\n    - name: \"conda package cache\"\n      uses: ./.github/workflows/composite/conda-pkg-cache\n      with:\n        cache_period: ${{ env.CACHE_PERIOD }}\n        env_name: ${{ env.ENV_NAME }}\n\n    - name: \"conda install\"\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniforge-version: latest\n        channels: conda-forge,defaults\n        channel-priority: true\n        auto-update-conda: true\n        activate-environment: ${{ env.ENV_NAME }}\n        use-only-tar-bz2: false\n\n    - name: \"conda environment cache\"\n      uses: ./.github/workflows/composite/conda-env-cache\n      with:\n        cache_period: ${{ env.CACHE_PERIOD }}\n        env_name: ${{ env.ENV_NAME }}\n        install_packages: \"pip 'tox<4'\"\n\n    - name: \"conda info\"\n      run: |\n        conda info\n        conda list\n\n    - name: \"tox cache\"\n      uses: ./.github/workflows/composite/tox-cache\n\n    - name: \"lock (${{ matrix.version }})\"\n      env:\n        VTK_BUILD: \"  - vtk=*=qt_*\"\n      run: |\n        tox -e ${{ matrix.version }}-lock\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: lock-artifacts-${{ github.job }}-${{ strategy.job-index }}\n        path: |\n          ${{ github.workspace }}/requirements/locks/${{ matrix.version }}*.txt\n          ${{ github.workspace }}/requirements/locks/${{ matrix.version }}*.yml\n\n\n  create-pr:\n    needs: build-locks\n    name: \"create pull-request\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: lock-artifacts-*\n        path: ${{ github.workspace }}/requirements/locks\n        merge-multiple: true\n\n    - name: \"generate token\"\n      uses: tibdex/github-app-token@v2\n      id: generate-token\n      with:\n        app_id: ${{ secrets.AUTH_APP_ID }}\n        private_key: ${{ secrets.AUTH_APP_PRIVATE_KEY }}\n\n    - name: \"generate pull-request\"\n      id: cpr\n      uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c\n      with:\n        token: ${{ steps.generate-token.outputs.token }}\n        add-paths: |\n          ${{ github.workspace }}/requirements/locks/*.txt\n          ${{ github.workspace }}/requirements/locks/*.yml\n        commit-message: \"updated conda lock files\"\n        branch: conda-lock-auto-update\n        delete-branch: true\n        title: \"[geovista.ci] conda lock auto-update\"\n        body: |\n          🤖 Bleep! Bloop!\n\n          Conda lock files for `linux-64` auto-updated to latest resolved environment of `geovista` dependencies.\n        labels: |\n          new: pull request\n          bot\n\n    - name: \"show pull-request\"\n      if: steps.cpr.outputs.pull-request-number != ''\n      run: |\n        echo \"### :rocket: Pull-Request Summary\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"The following locks pull-request has been auto-generated:\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"- **PR** #${{ steps.cpr.outputs.pull-request-number }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"- **URL** ${{ steps.cpr.outputs.pull-request-url }}\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"- **Operation** [${{ steps.cpr.outputs.pull-request-operation }}]\" >> ${GITHUB_STEP_SUMMARY}\n        echo \"- **SHA** ${{ steps.cpr.outputs.pull-request-head-sha }}\" >> ${GITHUB_STEP_SUMMARY}\n", "state": "active", "repository": "bjlittle/geovista"}
{"mined_at": "2024-07-15T17:13:37.592711", "created_at": "2022-07-20T09:28:16+02:00", "updated_at": "2022-07-20T09:30:52+02:00", "name": "ci-manifest", "path": ".github/workflows/ci-manifest.yml", "contents": "# Reference:\n#   - https://github.com/actions/checkout\n\nname: ci-manifest\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - \"main\"\n      - \"v*x\"\n      - \"!conda-lock-auto-update\"\n      - \"!pre-commit-ci-update-config\"\n      - \"!dependabot/*\"\n    tags:\n      - \"v*\"\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  manifest:\n    name: \"check-manifest\"\n\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: \"check-manifest\"\n        run: |\n          pipx run check-manifest\n", "state": "active", "repository": "bjlittle/geovista"}
{"mined_at": "2024-07-15T17:13:38.570643", "created_at": "2022-02-05T22:16:02+01:00", "updated_at": "2022-02-06T00:28:02+01:00", "name": "ci-stale", "path": ".github/workflows/ci-stale.yml", "contents": "# See https://github.com/actions/stale\n\nname: ci-stale\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n\n        # Idle number of days before marking issues/prs stale.\n        days-before-stale: 180\n\n        # Idle number of days before closing stale issues/prs.\n        days-before-close: 28\n\n        # Comment on the staled issues.\n        stale-issue-message: |\n          In order to maintain a backlog of relevant issues, we automatically label them as stale after 180 days of inactivity.\n\n          If this issue is still important to you, then please comment on this issue and the stale label will be removed.\n\n          Otherwise this issue will be automatically closed in 28 days time.\n\n        # Comment on the staled prs.\n        stale-pr-message: |\n          In order to maintain a backlog of relevant PRs, we automatically label them as stale after 180 days of inactivity.\n\n          If this PR is still important to you, then please comment on this PR and the stale label will be removed.\n\n          Otherwise this PR will be automatically closed in 28 days time.\n\n        # Comment on the staled issues while closed.\n        close-issue-message: |\n          This stale issue has been automatically closed due to a lack of community activity.\n\n          If you still care about this issue, then please either:\n            * Re-open this issue, if you have sufficient permissions, or\n            * Add a comment pinging `@bjlittle` who will re-open on your behalf.\n\n        # Comment on the staled prs while closed.\n        close-pr-message: |\n          This stale PR has been automatically closed due to a lack of community activity.\n\n          If you still care about this PR, then please either:\n            * Re-open this PR, if you have sufficient permissions, or\n            * Add a comment pinging `@bjlittle` who will re-open on your behalf.\n\n        # Label to apply on staled issues.\n        stale-issue-label: stale\n\n        # Label to apply on staled prs.\n        stale-pr-label: stale\n\n        # Labels on issues exempted from stale.\n        exempt-issue-labels: |\n          \"status: blocked,status: decision required,good first issue\"\n\n        # Labels on prs exempted from stale.\n        exempt-pr-labels: |\n          \"status: blocked,status: decision required,good first issue\"\n\n        # Max number of operations per run.\n        operations-per-run: 100\n\n        # Remove stale label from issues/prs on updates/comments.\n        remove-stale-when-updated: true\n\n        # Order to get issues/PRs.\n        ascending: true\n\n        # Exempt all issues/prs with milestones from stale.\n        exempt-all-milestones: true\n", "state": "active", "repository": "bjlittle/geovista"}
{"mined_at": "2024-07-15T17:13:39.848412", "created_at": "2022-02-08T17:32:09+01:00", "updated_at": "2022-07-14T13:42:03+02:00", "name": "ci-tests", "path": ".github/workflows/ci-tests.yml", "contents": "# Reference:\n#   - https://github.com/actions/checkout\n#   - https://github.com/actions/download-artifact\n#   - https://github.com/actions/setup-python\n#   - https://github.com/actions/upload-artifact\n#   - https://github.com/awalsh128/cache-apt-pkgs-action\n#   - https://github.com/codecov/codecov-action\n#   - https://github.com/conda-incubator/setup-miniconda\n\nname: ci-tests\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - \"main\"\n      - \"v*x\"\n      - \"!conda-lock-auto-update\"\n      - \"!pre-commit-ci-update-config\"\n      - \"!dependabot/*\"\n    tags:\n      - \"v*\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    name: \"${{ matrix.session }} ${{ matrix.marker }} (${{ matrix.version }})\"\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    env:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      ENV_NAME: \"ci-tests\"\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        version: [\"py310\", \"py311\", \"py312\"]\n        session: [\"tests\"]\n        marker: [\"image\", \"not image\"]\n        posargs: [\"--xvfb-backend xvfb --durations=10\"]\n        include:\n          - version: \"py312\"\n            coverage: \"--cov-report=xml --cov=geovista\"\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: \"environment configure\"\n      env:\n        # Maximum cache period (in weeks) before forcing a cache refresh.\n        CACHE_WEEKS: 2\n      run: |\n        echo \"CACHE_PERIOD=$(date +%Y).$(expr $(date +%U) / ${CACHE_WEEKS})\" >> ${GITHUB_ENV}\n        echo \"LOCK_FILE=requirements/locks/${{ matrix.version }}-lock-linux-64.txt\" >> ${GITHUB_ENV}\n\n    - name: \"conda package cache\"\n      uses: ./.github/workflows/composite/conda-pkg-cache\n      with:\n        cache_period: ${{ env.CACHE_PERIOD }}\n        env_name: ${{ env.ENV_NAME }}\n\n    - name: \"conda install\"\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniforge-version: latest\n        channels: conda-forge,defaults\n        channel-priority: true\n        auto-update-conda: true\n        activate-environment: ${{ env.ENV_NAME }}\n        use-only-tar-bz2: false\n\n    - name: \"conda environment cache\"\n      uses: ./.github/workflows/composite/conda-env-cache\n      with:\n        cache_period: ${{ env.CACHE_PERIOD }}\n        env_name: ${{ env.ENV_NAME }}\n        install_packages: \"cartopy pip 'tox<4'\"\n\n    - name: \"conda info\"\n      run: |\n        conda info\n        conda list\n\n    - name: \"cartopy cache\"\n      uses: ./.github/workflows/composite/cartopy-cache\n      with:\n        cache_period: ${{ env.CACHE_PERIOD }}\n        env_name: ${{ env.ENV_NAME }}\n\n    - name: \"tox cache\"\n      uses: ./.github/workflows/composite/tox-cache\n      with:\n        lock_file: ${{ env.LOCK_FILE }}\n\n    - name: \"apt cache\"\n      uses: awalsh128/cache-apt-pkgs-action@v1.4.2\n      with:\n        packages: libgl1-mesa-glx xvfb\n        version: 1.0\n\n    - name: \"geovista cache\"\n      uses: ./.github/workflows/composite/geovista-cache\n      with:\n        cache_period: ${{ env.CACHE_PERIOD }}\n\n    - name: \"${{ matrix.session }} ${{ matrix.marker }} (${{ matrix.version }})\"\n      env:\n        PY_COLORS: \"1\"\n      run: |\n        tox -e ${{ matrix.version }}-${{ matrix.session }} -- -m \"${{ matrix.marker }}\" ${{ matrix.coverage }} ${{ matrix.posargs }}\n\n    - name: \"upload test images\"\n      if: ${{ failure() }}\n      uses: actions/upload-artifact@v4\n      with:\n        name: test-images-${{ github.job }}-${{ strategy.job-index }}\n        path: ${{ github.workspace }}/test_images\n\n    - name: \"prepare coverage\"\n      if: ${{ matrix.coverage }}\n      run: |\n        mv .coverage .coverage${{ strategy.job-index }}\n\n    - if: ${{ matrix.coverage }}\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage-artifacts-${{ github.job }}-${{ strategy.job-index }}\n        path: ${{ github.workspace }}/.coverage*\n\n\n  coverage:\n    name: \"upload coverage\"\n    needs: tests\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - run: |\n          python -m pip install --upgrade pip\n          pip install coverage\n\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: coverage-artifacts-*\n          merge-multiple: true\n\n      - name: \"create coverage report\"\n        run: |\n          coverage combine .coverage*\n          coverage xml --omit=*/_version.py\n\n      - name: \"upload coverage report\"\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "bjlittle/geovista"}
{"mined_at": "2024-07-15T17:13:40.872195", "created_at": "2024-07-14T01:56:23+02:00", "updated_at": "2024-07-14T20:05:12+02:00", "name": "ci-update", "path": ".github/workflows/ci-update-pr-branch.yml", "contents": null, "state": "active", "repository": "bjlittle/geovista"}
{"mined_at": "2024-07-15T17:13:42.048469", "created_at": "2022-02-06T00:28:02+01:00", "updated_at": "2022-02-06T00:28:02+01:00", "name": "ci-wheels", "path": ".github/workflows/ci-wheels.yml", "contents": "# Reference:\n#   - https://github.com/actions/cache\n#   - https://github.com/actions/checkout\n#   - https://github.com/actions/download-artifact\n#   - https://github.com/actions/upload-artifact\n#   - https://github.com/conda-incubator/setup-miniconda\n#   - https://github.com/pypa/build\n#   - https://github.com/pypa/gh-action-pypi-publish\n#   - https://test.pypi.org/help/#apitoken\n\nname: ci-wheels\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - \"main\"\n      - \"v*x\"\n      - \"!conda-lock-auto-update\"\n      - \"!pre-commit-ci-update-config\"\n      - \"!dependabot/*\"\n    tags:\n      - \"v*\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-artifacts:\n    name: \"build pypi artifacts\"\n\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: \"build sdist and wheel\"\n      run: |\n        # geovista is a pure python package, so simply use pypa/build\n        pipx run build\n\n    - name: \"show sdist and wheel\"\n      run: |\n        ls -l ${{ github.workspace }}/dist\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: pypi-artifacts-${{ github.job }}-${{ strategy.job-index }}\n        path: ${{ github.workspace }}/dist\n\n\n  test-artifacts:\n    needs: [build-artifacts]\n\n    name: \"test wheel (${{ matrix.version }})\"\n\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    env:\n      ENV_NAME: \"ci-wheels\"\n\n    strategy:\n      fail-fast: false\n      matrix:\n        version: [\"py310\", \"py311\", \"py312\"]\n        session: [\"env\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: pypi-artifacts-*\n        path: ${{ github.workspace }}/dist\n        merge-multiple: true\n\n    - name: \"environment configure\"\n      env:\n        # Maximum cache period (in weeks) before forcing a cache refresh.\n        CACHE_WEEKS: 2\n      run: |\n        echo \"CACHE_PERIOD=$(date +%Y).$(expr $(date +%U) / ${CACHE_WEEKS})\" >> ${GITHUB_ENV}\n        echo \"LOCK_FILE=requirements/locks/${{ matrix.version }}-lock-linux-64.txt\" >> ${GITHUB_ENV}\n\n    - name: \"conda package cache\"\n      uses: ./.github/workflows/composite/conda-pkg-cache\n      with:\n        cache_period: ${{ env.CACHE_PERIOD }}\n        env_name: ${{ env.ENV_NAME }}\n\n    - name: \"conda install\"\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        miniforge-version: latest\n        channels: conda-forge,defaults\n        channel-priority: true\n        auto-update-conda: true\n        activate-environment: ${{ env.ENV_NAME }}\n        use-only-tar-bz2: false\n\n    - name: \"conda environment cache\"\n      uses: ./.github/workflows/composite/conda-env-cache\n      with:\n        cache_period: ${{ env.CACHE_PERIOD }}\n        env_name: ${{ env.ENV_NAME }}\n        install_packages: \"pip 'tox<4'\"\n\n    - name: \"conda info\"\n      run: |\n        conda info\n        conda list\n\n    - name: \"tox cache\"\n      uses: ./.github/workflows/composite/tox-cache\n      with:\n        lock_file: ${{ env.LOCK_FILE }}\n\n    - name: \"test wheel (${{ matrix.version }})\"\n      env:\n        TESTENV: \"${{ matrix.version }}-${{ matrix.session }}\"\n      run: |\n        WHEEL=$(ls -1 dist/*.whl)\n        tox -e ${{ env.TESTENV }} --run-command \"python -m pip uninstall --yes ${WHEEL}\"\n        tox -e ${{ env.TESTENV }} --run-command \"python -m pip install --no-deps ${WHEEL}\"\n        tox -e ${{ env.TESTENV }} --run-command \"python -c 'import geovista; print(geovista.__version__)'\"\n\n\n  show-artifacts:\n    needs: [build-artifacts]\n    name: \"show artifacts\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: pypi-artifacts-*\n        path: ${{ github.workspace }}/dist\n        merge-multiple: true\n\n    - shell: bash\n      run: |\n        ls -l ${{ github.workspace }}/dist\n\n\n  publish-artifacts-test-pypi:\n    needs: [test-artifacts]\n    name: \"Publish to Test PyPI\"\n    runs-on: ubuntu-latest\n    # upload to Test PyPI for every commit on main branch\n    if: github.event_name == 'push' && github.event.ref == 'refs/heads/main'\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: pypi-artifacts-*\n        path: ${{ github.workspace }}/dist\n        merge-multiple: true\n\n    - uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n        skip_existing: true\n        print_hash: true\n\n\n  publish-artifacts-pypi:\n    needs: [test-artifacts]\n    name: \"Publish to PyPI\"\n    runs-on: ubuntu-latest\n    # upload to PyPI for every tag starting with 'v'\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: pypi-artifacts-*\n        path: ${{ github.workspace }}/dist\n        merge-multiple: true\n\n    - uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        print_hash: true\n", "state": "active", "repository": "bjlittle/geovista"}
{"mined_at": "2024-07-15T17:13:43.224560", "created_at": "2022-12-25T00:48:47+01:00", "updated_at": "2022-12-25T00:48:47+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '19 1 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "bjlittle/geovista"}
{"mined_at": "2024-07-15T17:13:44.350413", "created_at": "2023-08-12T17:29:29+02:00", "updated_at": "2023-08-12T17:29:29+02:00", "name": "Codespaces Prebuilds", "path": "dynamic/codespaces/create_codespaces_prebuilds", "contents": null, "state": "active", "repository": "bjlittle/geovista"}
{"mined_at": "2024-07-15T17:13:47.218396", "created_at": "2022-05-17T17:36:57+02:00", "updated_at": "2022-12-10T06:04:41+01:00", "name": "Nightly Release", "path": ".github/workflows/nightly.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Nightly Release\n\non:\n  schedule:\n    - cron: '0 5 * * *'\n  workflow_dispatch:\n\njobs:\n  windows-build:\n    runs-on: 7950X\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Compute version\n      shell: powershell\n      run: |\n        $package_version = $(Get-Date -UFormat \"%Y%m%d\")+\".\"+${{ github.run_number }}\n        $package_version_ = $(Get-Date -UFormat \"%Y%m%d\")+\"_\"+${{ github.run_number }}\n        $tag_name=$package_version\n        echo \"package_version=$package_version\" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append\n        echo \"package_version_=$package_version_\" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append\n        echo \"tag_name=$tag_name\" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append\n\n    - name: Create Release\n      id: create_release\n      uses: actions/create-release@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.NODAI_INVOCATION_TOKEN }}\n      with:\n        tag_name: ${{ env.tag_name }}\n        release_name: nod.ai SHARK ${{ env.tag_name }}\n        body: |\n          Automatic snapshot release of nod.ai SHARK.\n        draft: true\n        prerelease: true\n\n    - name: Build Package \n      shell: powershell\n      run: |\n        ./setup_venv.ps1\n        python process_skipfiles.py\n        $env:SHARK_PACKAGE_VERSION=${{ env.package_version }}\n        pip install -e .\n        pip freeze -l\n        pyinstaller .\\apps\\shark_studio\\shark_studio.spec\n        mv ./dist/nodai_shark_studio.exe ./dist/nodai_shark_studio_${{ env.package_version_ }}.exe\n        signtool sign /f c:\\g\\shark_02152023.cer /fd certHash /csp \"eToken Base Cryptographic Provider\" /k \"${{ secrets.CI_CERT }}\" ./dist/nodai_shark_studio_${{ env.package_version_ }}.exe\n  \n    - name: Upload Release Assets\n      id: upload-release-assets\n      uses: dwenegar/upload-release-assets@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.NODAI_INVOCATION_TOKEN }}\n      with:\n        release_id: ${{ steps.create_release.outputs.id }}\n        assets_path: ./dist/nodai*\n        #asset_content_type: application/vnd.microsoft.portable-executable \n\n    - name: Publish Release\n      id: publish_release\n      uses: eregon/publish-release@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.NODAI_INVOCATION_TOKEN }}\n      with:\n        release_id: ${{ steps.create_release.outputs.id }}\n", "state": "active", "repository": "nod-ai/shark"}
{"mined_at": "2024-07-15T17:13:48.720708", "created_at": "2022-10-12T05:03:35+02:00", "updated_at": "2022-10-12T05:03:35+02:00", "name": "Publish releases page", "path": ".github/workflows/gh-pages-releases.yml", "contents": "# See: https://github.com/llvm/torch-mlir/issues/1374\nname: Publish releases page\n\non:\n  workflow_dispatch:\n\njobs:\n  scrape_and_publish_releases:\n    name: \"Scrape and publish releases\"\n    runs-on: ubuntu-latest\n\n    # Don't run this in everyone's forks.\n    if: github.repository == 'nod-ai/SHARK'\n\n    steps:\n      - name: Checking out repository\n        uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.NODAI_INVOCATION_TOKEN }}\n      - name: Run scrape releases script\n        run: python ./build_tools/scrape_releases.py nod-ai SHARK > /tmp/index.html\n        shell: bash\n      - run: git fetch --all\n      - run: git switch github-pages\n      - run: git config --global user.email \"none@none.com\"\n      - run: git config --global user.name \"nod-ai\"\n      - run: mv /tmp/index.html package-index/index.html\n      - run: git add package-index/index.html\n\n      # Only try to make a commit if the file has changed.\n      - run: git diff --cached --exit-code || git commit -m \"Update releases.\"\n\n      - name: GitHub Push\n        uses: ad-m/github-push-action@v0.6.0\n        with:\n          github_token: ${{ secrets.NODAI_INVOCATION_TOKEN }}\n          branch: github-pages\n", "state": "active", "repository": "nod-ai/shark"}
{"mined_at": "2024-07-15T17:13:49.783516", "created_at": "2023-12-12T17:22:50+01:00", "updated_at": "2023-12-15T04:44:40+01:00", "name": "Validate Shark Studio", "path": ".github/workflows/test-studio.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Validate Shark Studio\n\non:\n  push:\n    branches: [ main ]\n    paths-ignore:\n      - '**.md'\n      - 'shark/examples/**'\n  pull_request:\n    branches: [ main ]\n    paths-ignore:\n      - '**.md'\n      - 'shark/examples/**'\n  workflow_dispatch:\n\n# Ensure that only a single job or workflow using the same\n# concurrency group will run at a time. This would cancel\n# any in-progress jobs in the same github workflow and github\n# ref (e.g. refs/heads/main or refs/pull/<pr_number>/merge).\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-validate:\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [nodai-ubuntu-builder-large]\n        suite: [cpu] #,cuda,vulkan]\n        python-version: [\"3.11\"]\n        include:\n          - os: nodai-ubuntu-builder-large\n            suite: lint\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v3\n    \n    - name: Set Environment Variables\n      run: |\n        echo \"SHORT_SHA=`git rev-parse --short=4 HEAD`\" >> $GITHUB_ENV\n        echo \"DATE=$(date +'%Y-%m-%d')\" >> $GITHUB_ENV\n        \n    - name: Set up Python Version File ${{ matrix.python-version }}\n      run: |\n        echo ${{ matrix.python-version }} >> $GITHUB_WORKSPACE/.python-version\n    \n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: '${{ matrix.python-version }}'\n          \n    - name: Install dependencies\n      if: matrix.suite == 'lint'\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest toml black\n        \n    - name: Lint with flake8\n      if: matrix.suite == 'lint'\n      run: |\n        # black format check\n        black --version\n        black --check apps/shark_studio \n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --isolated --count --exit-zero --max-complexity=10 --max-line-length=127 \\\n          --statistics --exclude lit.cfg.py\n\n    - name: Validate Models on CPU\n      if: matrix.suite == 'cpu'\n      run: |\n        cd $GITHUB_WORKSPACE\n        python${{ matrix.python-version }} -m venv shark.venv\n        source shark.venv/bin/activate\n        pip install -r requirements.txt --no-cache-dir\n        pip install -e .\n        # Disabled due to hang when exporting test llama2\n        # python apps/shark_studio/tests/api_test.py\n", "state": "active", "repository": "nod-ai/shark"}
{"mined_at": "2024-07-15T17:13:51.873466", "created_at": "2020-01-10T17:14:51+01:00", "updated_at": "2020-01-11T17:00:17+01:00", "name": "Core", "path": "", "contents": null, "state": "active", "repository": "academysoftwarefoundation/rez"}
{"mined_at": "2024-07-15T17:13:52.966208", "created_at": "2021-03-02T06:04:02+01:00", "updated_at": "2021-03-02T06:04:02+01:00", "name": "installation", "path": ".github/workflows/installation.yaml", "contents": "name: installation\non:\n  pull_request:\n    paths:\n      - 'src/**'\n      - 'install.py'\n      - 'setup.py'\n      - 'MANIFEST.in'\n      - 'pyproject.toml'\n      - '.github/workflows/installation.yaml'\n      - '!src/rez/utils/_version.py'\n      - '!**.md'\n  push:  \n    paths:\n      - 'src/**'\n      - 'install.py'\n      - 'setup.py'\n      - 'MANIFEST.in'\n      - 'pyproject.toml'\n      - '.github/workflows/installation.yaml'\n      - '!src/rez/utils/_version.py'\n      - '!**.md'\n  workflow_dispatch:\n\njobs:\n  main:\n    name: ${{ matrix.os }} - ${{ matrix.python-version }} - ${{ matrix.method }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: ['ubuntu-latest', 'macos-latest', 'windows-latest']\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        method: ['install' ,'pip']\n\n        include:\n        # ubuntu\n        - os: ubuntu-latest\n          method: install\n          REZ_SET_PATH_COMMAND: 'export PATH=${PATH}:/opt/rez/bin/rez'\n          REZ_INSTALL_COMMAND: python ./install.py /opt/rez\n        - os: ubuntu-latest\n          method: pip\n          REZ_SET_PATH_COMMAND: 'export PATH=${PATH}:/opt/rez/bin PYTHONPATH=${PYTHONPATH}:/opt/rez'\n          REZ_INSTALL_COMMAND: pip install --target /opt/rez .\n        # macOS\n        - os: macos-latest\n          method: install\n          REZ_SET_PATH_COMMAND: 'export PATH=${PATH}:~/rez/bin/rez'\n          REZ_INSTALL_COMMAND: python ./install.py ~/rez\n        - os: macos-latest\n          method: pip\n          REZ_SET_PATH_COMMAND: 'export PATH=\"$PATH:~/rez/bin\" PYTHONPATH=$PYTHONPATH:$HOME/rez'\n          REZ_INSTALL_COMMAND: pip install --target ~/rez .\n        # macOS\n        # Python 3.7 is not supported on Apple Silicon.\n        # macos-13 is the last macos runner image to run on Intel CPUs.\n        - os: macos-13\n          python-version: '3.7'\n          method: install\n          REZ_SET_PATH_COMMAND: 'export PATH=${PATH}:~/rez/bin/rez'\n          REZ_INSTALL_COMMAND: python ./install.py ~/rez\n        - os: macos-13\n          python-version: '3.7'\n          method: pip\n          REZ_SET_PATH_COMMAND: 'export PATH=\"$PATH:~/rez/bin\" PYTHONPATH=$PYTHONPATH:$HOME/rez'\n          REZ_INSTALL_COMMAND: pip install --target ~/rez .\n        # windows\n        - os: windows-latest\n          method: install\n          REZ_SET_PATH_COMMAND: '$env:PATH=\"$env:PATH;C:\\ProgramData\\rez\\Scripts\\rez\"'\n          REZ_INSTALL_COMMAND: python ./install.py C:\\ProgramData\\rez\n        - os: windows-latest\n          method: pip\n          REZ_SET_PATH_COMMAND: '[System.Environment]::SetEnvironmentVariable(\"PATH\",\"$env:PATH;C:\\ProgramData\\rez\\bin\"); $env:PYTHONPATH=\"$env:PYTHONPATH;C:\\ProgramData\\rez\"'\n          REZ_INSTALL_COMMAND: pip install --target C:\\ProgramData\\rez .\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install\n      env:\n        MATRIX_PYTHON_VERSION: ${{ matrix.python-version }}\n      run: |\n        ${{ matrix.REZ_INSTALL_COMMAND }}\n\n    - name: Run rez-status\n      env:\n        MATRIX_PYTHON_VERSION: ${{ matrix.python-version }}\n      run: |\n        ${{ matrix.REZ_SET_PATH_COMMAND }}\n        rez-status\n\n    - name: Install rez with rez-pip\n      env:\n        MATRIX_PYTHON_VERSION: ${{ matrix.python-version }}\n      run: |\n        ${{ matrix.REZ_SET_PATH_COMMAND }}\n        rez-pip --install .\n", "state": "active", "repository": "academysoftwarefoundation/rez"}
{"mined_at": "2024-07-15T17:13:54.066432", "created_at": "2021-03-03T00:50:50+01:00", "updated_at": "2021-03-03T00:50:50+01:00", "name": "pypi", "path": ".github/workflows/pypi.yaml", "contents": "name: pypi\non:\n  release:\n    types: [released]\n\njobs:\n  publish:\n    name: Publish to PyPI\n    runs-on: ubuntu-latest\n\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Install Dependencies\n        run: |\n          pip install build\n\n      - name: Build rez\n        run: |\n          python -m build --sdist --wheel --outdir dist .\n\n      # Note that we don't need credentials.\n      # We rely on https://docs.pypi.org/trusted-publishers/.\n      - name: Upload to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: dist\n", "state": "active", "repository": "academysoftwarefoundation/rez"}
{"mined_at": "2024-07-15T17:13:55.203786", "created_at": "2021-03-16T06:09:00+01:00", "updated_at": "2021-03-16T06:09:00+01:00", "name": "benchmark", "path": ".github/workflows/benchmark.yaml", "contents": "# Run resolving benchmark and store results. Fail if any resolved runtimes\n# change from previous result\n#\nname: benchmark\non:\n  release:\n    types: [released]\n  pull_request:\n    types: [opened, synchronize, reopened, labeled]\n\njobs:\n  run_benchmark:\n    name: run_benchmark\n    runs-on: ubuntu-latest\n\n    if: ${{ github.event_name == 'release' || contains(github.event.pull_request.labels.*.name, 'run-benchmarks') }}\n\n    strategy:\n      matrix:\n        python-version:\n          - '3.7'\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Rez\n        run: |\n          mkdir ./installdir\n\n          python ./install.py ./installdir\n\n      - name: Run Benchmark\n        run: |\n          ./installdir/bin/rez/rez-benchmark --out ./out\n\n          # remove benchmarking suite package repo\n          rm -rf ./out/packages\n\n      - name: Validate Result\n        run: |\n          python ./.github/scripts/validate_benchmark.py\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: \"benchmark-result-${{ matrix.python-version }}\"\n          path: ./out\n\n  store_benchmark_result:\n    name: store_benchmark_result\n    runs-on: ubuntu-latest\n    needs: run_benchmark\n\n    strategy:\n      matrix:\n        python-version:\n          - '3.7'\n\n      # so we don't have jobs trying to push to git at the same time\n      max-parallel: 1\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: \"benchmark-result-${{ matrix.python-version }}\"\n          path: .\n\n      - name: Checkout (release)\n        uses: actions/checkout@v4\n        if: ${{ github.event_name =='release' }}\n        with:\n          ref: main\n          path: src\n\n          # This is a PAT from an Admin user. We do this in order to be able to write to a\n          # protected branch (main) from this workflow.\n          # See https://github.community/t/how-to-push-to-protected-branches-in-a-github-action/16101/14\n          #\n          # Disable for now until we find a better solution.\n          # token: \"${{ secrets.GH_ACTION_TOKEN }}\"\n\n      - name: Checkout (pr)\n        uses: actions/checkout@v4\n        if: ${{ github.event_name !='release' }}\n        with:\n          path: src\n\n      - name: Setup python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Note failing due to\n      # https://github.com/actions/virtual-environments/issues/675\n      #\n      # We'll just skip on failure, this just means the gnuplot doesn't render\n      #\n      - name: Install gnuplot\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y gnuplot || /bin/true\n\n      - name: Store Benchmark Result\n        run: |\n          python ./.github/scripts/store_benchmark.py\n        working-directory: src\n\n      - name: Create summary\n        run: |\n          echo '<details>' >> $GITHUB_STEP_SUMMARY\n          echo '<summary>Results</summary>' >> $GITHUB_STEP_SUMMARY\n          cat metrics/benchmarking/RESULTS.md >> $GITHUB_STEP_SUMMARY\n          echo '</details>' >> $GITHUB_STEP_SUMMARY\n        working-directory: src\n\n      # - name: Setup git config\n      #   if: ${{ github.event_name == 'release' }}\n      #   run: |\n      #     git config user.name 'github-actions[bot]'\n      #     git config user.email 'github-actions[bot]@users.noreply.github.com'\n      #   working-directory: src\n\n      # - name: Git commit and push\n      #   if: ${{ github.event_name == 'release' }}\n      #   run: |\n      #     if [[ \"$(git status --porcelain)\" == \"\" ]]; then\n      #       echo \"Nothing new to commit\"\n      #     else\n      #       git add --all\n      #       git commit -m \"Generated from GitHub \"${{ github.workflow }}\" Workflow\"\n      #       git push origin main\n      #     fi\n      #   working-directory: src\n", "state": "active", "repository": "academysoftwarefoundation/rez"}
{"mined_at": "2024-07-15T17:13:56.433657", "created_at": "2021-03-30T07:36:51+02:00", "updated_at": "2021-03-30T07:37:39+02:00", "name": "flake8", "path": ".github/workflows/flake8.yaml", "contents": "name: flake8\non:\n  pull_request:\n    paths:\n      - 'src/rez/**.py'\n      - 'src/rezplugins/**.py'\n      - '.github/workflows/flake8.yaml'\n      - '!src/rez/utils/_version.py'\n      - '!src/rez/data/**'\n      - '!src/rez/vendor/**'\n      - '!src/rez/backport/**'\n  push:\n    paths:\n      - 'src/rez/**.py'\n      - 'src/rezplugins/**.py'\n      - '.github/workflows/flake8.yaml'\n      - '!src/rez/utils/_version.py'\n      - '!src/rez/data/**'\n      - '!src/rez/vendor/**'\n      - '!src/rez/backport/**'\n\njobs:\n  lint:\n    name: Run Linter\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.7\n\n      - name: Install Dependencies\n        run: |\n          pip install flake8\n\n      - name: Run flake8\n        run: >-\n          find -name '*.py'\n          -not -path './rez/vendor/*'\n          -not -path './rez/data/*'\n          -not -path './rez/backport/*'\n          -not -path './build_utils/*'\n          -not -path './support/*'\n          -not -path './rezgui/*'\n          | xargs flake8\n        working-directory: src\n", "state": "active", "repository": "academysoftwarefoundation/rez"}
{"mined_at": "2024-07-15T17:13:57.677798", "created_at": "2022-02-15T22:09:51+01:00", "updated_at": "2022-02-16T04:52:10+01:00", "name": "copyright", "path": ".github/workflows/copyright.yaml", "contents": "name: copyright\non:\n  pull_request:\n    paths:\n      - 'src/**'\n      - '!**.md'\n  push:\n    paths:\n      - 'src/**'\n      - '!**.md'\n  workflow_dispatch:\n\njobs:\n  main:\n    name: Enforce copyright notices\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3\n\n      - name: Run copyright checker\n        run: |\n          bash ./src/build_utils/license/apply_copyright\n          if [[ \"$(git status | grep modified)\" != \"\" ]]; then\n            echo \"Some sourcefiles are missing copyright notice!\" 1>&2\n            echo \"Run ./src/build_utils/license/apply_copyright to apply.\" 1>&2\n            exit 1\n          fi\n", "state": "active", "repository": "academysoftwarefoundation/rez"}
{"mined_at": "2024-07-15T17:13:58.692658", "created_at": "2023-09-19T00:23:23+02:00", "updated_at": "2023-09-19T00:23:23+02:00", "name": "wheel", "path": ".github/workflows/wheel.yaml", "contents": null, "state": "active", "repository": "academysoftwarefoundation/rez"}
{"mined_at": "2024-07-15T17:14:00.017158", "created_at": "2023-11-18T21:32:33+01:00", "updated_at": "2024-02-08T01:03:49+01:00", "name": "slack-notification", "path": ".github/workflows/release-notice.yaml", "contents": "name: slack-notification\n\non:\n  release:\n    types:\n      # published should cover both 'released' and 'prereleased'\n      - published\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n    - name: Notify Slack\n      id: slack\n      with:\n        project_name: \"rez\"\n        slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}\n        slack_channel: \"#release-announcements\"\n        project_logo: \"https://artwork.aswf.io/projects/rez/icon/black/rez-icon-black.png\"\n      uses: jmertic/slack-release-notifier@main\n", "state": "active", "repository": "academysoftwarefoundation/rez"}
{"mined_at": "2024-07-15T17:14:01.132267", "created_at": "2024-01-07T01:53:12+01:00", "updated_at": "2024-01-27T16:49:08+01:00", "name": "tests", "path": ".github/workflows/tests.yaml", "contents": "name: tests\non:\n  pull_request:\n    paths:\n    - 'src/**'\n    - 'install.py'\n    - 'setup.py'\n    - 'MANIFEST.in'\n    - 'pyproject.toml'\n    - '.github/workflows/tests.yaml'\n    - '!src/rez/utils/_version.py'\n    - '!**.md'\n  push:\n    paths:\n    - 'src/**'\n    - 'install.py'\n    - 'setup.py'\n    - 'MANIFEST.in'\n    - 'pyproject.toml'\n    - '.github/workflows/tests.yaml'\n    - '!src/rez/utils/_version.py'\n    - '!**.md'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  core:\n    name: Tests\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: ['macos-latest', 'ubuntu-latest', 'windows-latest']\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        include:\n        - os: macos-latest\n          shells: 'sh,csh,bash,tcsh,zsh,pwsh'\n          rez-path: /installdir/bin/rez\n        - os: ubuntu-latest\n          shells: 'sh,csh,bash,tcsh,zsh,pwsh'\n          rez-path: /installdir/bin/rez\n        - os: windows-latest\n          shells: 'cmd,pwsh,gitbash'\n          rez-path: \\installdir\\Scripts\\rez\n        # Python 3.7 is not supported on Apple Silicon.\n        # macos-13 is the last macos runner image to run on Intel CPUs.\n        - os: macos-13\n          shells: 'sh,csh,bash,tcsh,zsh,pwsh'\n          rez-path: /installdir/bin/rez\n          python-version: '3.7'\n\n      fail-fast: false\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Setup python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install test system dependencies (linux)\n      if: ${{ startsWith(matrix.os, 'ubuntu-') }}\n      run: |\n        set -ex\n        sudo apt-get update\n\n        cmake --version\n        pwsh --version\n\n        sudo apt-get install -y csh tcsh zsh\n\n    - name: Install rez\n      run: python ./install.py ./installdir\n\n    - name: Setup environment variables\n      shell: bash\n      env:\n        _GH_REZ_INSTALL_PATH: ${{ github.workspace }}${{ matrix.rez-path }}\n      run: |\n        echo \"$_GH_REZ_INSTALL_PATH\" >> $GITHUB_PATH\n\n    - name: Install test dependencies\n      run: rez-python -m pip install pytest-cov parameterized\n\n    - name: Run tests\n      id: tests\n      run: rez-selftest -v -- --cov=rez --cov-report=xml:coverage.xml\n      env:\n        _REZ_ENSURE_TEST_SHELLS: ${{ matrix.shells }}\n\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v4\n      # Run on both success and failure, but only if coverage.xml exists.\n      if: ${{ hashFiles('coverage.xml') != '' && (steps.tests.outcome == 'success' || steps.tests.outcome == 'failure') }}\n      with:\n        slug: AcademySoftwareFoundation/rez\n        files: 'coverage.xml'\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "academysoftwarefoundation/rez"}
{"mined_at": "2024-07-15T17:14:02.377291", "created_at": "2024-04-28T19:49:56+02:00", "updated_at": "2024-04-28T19:49:56+02:00", "name": "OpenSSF Scorecard", "path": ".github/workflows/scorecard.yml", "contents": "name: OpenSSF Scorecard\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '21 4 * * 3'\n  push:\n    branches: [ \"main\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard (optional).\n      # Commenting out will disable upload of results to your repo's Code Scanning dashboard\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "academysoftwarefoundation/rez"}
{"mined_at": "2024-07-15T17:14:04.525021", "created_at": "2022-05-30T15:12:21+02:00", "updated_at": "2022-05-30T15:12:21+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "---\nname: \"CodeQL\"\n\non: # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  schedule:\n    - cron: \"34 3 * * 2\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"python\"]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n          # yamllint disable-line rule:line-length\n          # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n          # queries: security-extended,security-and-quality\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # yamllint disable-line rule:line-length\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      #   If the Autobuild fails above, remove it and uncomment the following three lines.\n      #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE\n      #   below for guidance.\n\n      # - run: |\n      #   echo \"Run, Build Application using script\"\n      #   ./location_of_script_within_repo/buildscript.sh\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "rstcheck/rstcheck"}
{"mined_at": "2024-07-15T17:14:05.649851", "created_at": "2022-12-16T15:48:08+01:00", "updated_at": "2022-12-16T15:48:08+01:00", "name": "Test documentation", "path": ".github/workflows/documentation.yml", "contents": "---\nname: Test documentation\n\nenv:\n  CI_FORCE_COLORS_SPHINX: --color\n\non: # yamllint disable-line rule:truthy\n  workflow_dispatch:\n\n  push:\n    tags:\n      - \"!*\"\n    branches:\n      - main\n      - \"test-me-*\"\n\n  pull_request:\n    branches:\n      - \"**\"\n\njobs:\n  build:\n    name: Tests on ${{ matrix.os }} with default python\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"windows-latest\", \"macos-latest\"]\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Display Python version\n        run: python --version\n\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n\n      - name: Install pipx\n        run: python -m pip install --upgrade pipx\n\n      - name: Install tox via pipx\n        run: pipx install tox\n\n      - name: Run tests with tox except linkcheck and spelling\n        if: runner.os != 'Linux'\n        run: tox -m docs\n\n      - name: Run all tests with tox\n        if: runner.os == 'Linux'\n        run: tox -m docs-full\n", "state": "active", "repository": "rstcheck/rstcheck"}
{"mined_at": "2024-07-15T17:14:06.980981", "created_at": "2022-12-16T15:48:08+01:00", "updated_at": "2022-12-16T15:48:08+01:00", "name": "QA", "path": ".github/workflows/qa.yml", "contents": "---\nname: QA\n\nenv:\n  CI_FORCE_COLORS_PRE_COMMIT: --color always\n\non: # yamllint disable-line rule:truthy\n  workflow_dispatch:\n\n  push:\n    tags:\n      - \"!*\"\n    branches:\n      - main\n      - \"test-me-*\"\n\n  pull_request:\n    branches:\n      - \"**\"\n\njobs:\n  build:\n    name: Run QA Tools\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Display Python version\n        run: python --version\n\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n\n      - name: Install pipx\n        run: python -m pip install --upgrade pipx\n\n      - name: Install tox via pipx\n        run: pipx install tox\n\n      - name: Run pre-commit via tox\n        run: tox -e pre-commit-run\n", "state": "active", "repository": "rstcheck/rstcheck"}
{"mined_at": "2024-07-15T17:14:08.098506", "created_at": "2022-12-16T15:48:08+01:00", "updated_at": "2022-12-16T15:48:08+01:00", "name": "Test code", "path": ".github/workflows/test.yml", "contents": "---\nname: Test code\n\nenv:\n  CI_FORCE_COLORS_PYTEST: --color yes\n\non: # yamllint disable-line rule:truthy\n  workflow_dispatch:\n\n  push:\n    tags:\n      - \"!*\"\n    branches:\n      - main\n      - \"test-me-*\"\n\n  pull_request:\n    branches:\n      - \"**\"\n\njobs:\n  build:\n    name: Tests on ${{ matrix.os }} with python ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"windows-latest\", \"macos-latest\"]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12-dev\"]\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Fetch origin/main\n        #: https://github.com/Bachmann1234/diff_cover#troubleshooting\n        run: git fetch --no-tags origin main:refs/remotes/origin/main\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Display Python version\n        run: python --version\n\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n\n      - name: Install pipx\n        run: python -m pip install --upgrade pipx\n\n      - name: Install tox via pipx\n        run: pipx install tox\n\n      - name: Run tests via tox (linux/macos)\n        if: runner.os != 'Windows'\n        run: |\n          major=$(python -c \"import sys;print(sys.version_info[0])\")\n          minor=$(python -c \"import sys;print(sys.version_info[1])\")\n          tox -m py${major}.${minor}\n\n      - name: Run tests via tox (windows)\n        if: runner.os == 'Windows'\n        run: |\n          $major = python -c \"import sys;print(sys.version_info[0])\"\n          $minor = python -c \"import sys;print(sys.version_info[1])\"\n          tox -m py${major}.${minor}\n", "state": "active", "repository": "rstcheck/rstcheck"}
{"mined_at": "2024-07-15T17:14:09.234098", "created_at": "2022-04-16T11:20:46+02:00", "updated_at": "2022-04-16T11:20:46+02:00", "name": "Update AUTHORS.rst", "path": ".github/workflows/update-authors.yaml", "contents": "---\nname: Update AUTHORS.rst\n\n# What this workflow does:\n# 1. Update the AUTHORS.rst file\n# 2. Git commit and push the file if there are changes.\n\non: # yamllint disable-line rule:truthy\n  workflow_dispatch:\n\n  push:\n    tags:\n      - \"!*\"\n    branches:\n      - main\n      - \"test-me-*\"\n\njobs:\n  update-authors:\n    name: Update AUTHORS.rst file\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Update AUTHORS.rst file\n        shell: python\n        run: |\n          import subprocess\n\n          git_authors = subprocess.run(\n              [\"git\", \"log\", \"--format=%aN <%aE>\"], capture_output=True, check=True\n          ).stdout.decode()\n\n          skip_list = (\n              \"Steven Myint\",\n              \"dependabot\",\n              \"pre-commit-ci\",\n              \"github-action\",\n              \"GitHub Actions\",\n          )\n          authors = [\n              author\n              for author in set(git_authors.strip().split(\"\\n\"))\n              if not author.startswith(skip_list)\n          ]\n          authors.sort()\n\n          file_head = (\n              \".. This file is automatically generated/updated by a github actions workflow.\\n\"\n              \".. Every manual change will be overwritten on push to main.\\n\"\n              \".. You can find it here: ``.github/workflows/update-authors.yaml``\\n\"\n              \".. For more information see \"\n              \"`https://github.com/rstcheck/rstcheck/graphs/contributors`\\n\\n\"\n              \"Author\\n\"\n              \"------\\n\"\n              \"Steven Myint <git@stevenmyint.com>\\n\\n\"\n              \"Additional contributions by (sorted by name)\\n\"\n              \"--------------------------------------------\\n\"\n          )\n\n          with open(\"AUTHORS.rst\", \"w\") as authors_file:\n              authors_file.write(file_head)\n              authors_file.write(\"- \")\n              authors_file.write(\"\\n- \".join(authors))\n              authors_file.write(\"\\n\")\n\n      - name: Check if diff\n        continue-on-error: true\n        run: >\n          git diff --exit-code AUTHORS.rst &&\n          (echo \"### No update\" && exit 1) || (echo \"### Commit update\")\n\n      - uses: EndBug/add-and-commit@v9\n        name: Commit and push if diff\n        if: success()\n        with:\n          add: AUTHORS.rst\n          message: Update AUTHORS.rst file with new author(s)\n          author_name: GitHub Actions\n          author_email: action@github.com\n          committer_name: GitHub Actions\n          committer_email: actions@github.com\n          push: true\n", "state": "active", "repository": "rstcheck/rstcheck"}
{"mined_at": "2024-07-15T17:14:11.383951", "created_at": "2022-09-02T00:51:06+02:00", "updated_at": "2022-10-24T22:16:54+02:00", "name": "Advanced Tests (on demand)", "path": ".github/workflows/advanced-on-demand.yml", "contents": "# run advanced tests when `test advanced` comment is entered\nname: Advanced Tests (on demand)\n\non:\n  issue_comment:\n    types: [created, edited]\n\njobs:\n  verify:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\"]\n        poetry-version: [1.5.1]\n        test-group: [1, 2, 3, 4]\n\n    if: ${{ github.event.comment.body == 'test advanced'}}\n    steps:\n      - name: Message Initiating\n        uses: actions/github-script@v7\n        with:\n          script: |\n            github.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Launching advanced tests 🚀',\n            });\n      - name: Get PR SHA\n        id: sha\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            const { owner, repo, number } = context.issue;\n            const pr = await github.pulls.get({\n              owner,\n              repo,\n              pull_number: number,\n            });\n            return pr.data.head.sha\n\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ steps.sha.outputs.result }}\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Poetry ${{ matrix.poetry-version }}\n        uses: abatilo/actions-poetry@v3.0.0\n        with:\n          poetry-version: ${{ matrix.poetry-version }}\n\n      - name: Install graphviz\n        run: |\n          sudo apt install graphviz libgraphviz-dev graphviz-dev pkg-config\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          echo \"installing poetry dependencies\"\n          poetry install -E plotting -E pydot -E pygraphviz -E econml --with docs\n\n      - name: Run Advanced Tests\n        run: poetry run poe test_advanced  --splits 4 --group ${{ matrix.test-group }}\n\n      - name: Message success\n        if: ${{ success() }}\n        uses: actions/github-script@v7\n        with:\n          script: |\n            github.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Advanced tests succeeded! ✅',\n            });\n      - name: Message failure\n        if: ${{ failure() }}\n        uses: actions/github-script@v7\n        with:\n          script: |\n            github.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Advanced tests failed! ❌',\n            });\n", "state": "active", "repository": "py-why/dowhy"}
{"mined_at": "2024-07-15T17:14:12.510692", "created_at": "2022-10-26T20:34:17+02:00", "updated_at": "2022-10-26T23:10:02+02:00", "name": "Build Docker image (docs)", "path": ".github/workflows/build-docker-image-docs.yml", "contents": "name: Build Docker image (docs)\n\non:\n  push:\n    branches: [main]\n    paths: ['docs/Dockerfile']\n  pull_request:\n    branches: [main]\n    paths: ['docs/Dockerfile']\n\njobs:\n  build-and-push-docker-image:\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n    steps:\n      - uses: actions/checkout@v4\n        name: Checkout repository\n\n      - uses: pmorelli92/github-container-registry-build-push@2.2.1\n        name: Build and Publish latest service image\n        with:\n          github-push-secret: ${{secrets.GITHUB_TOKEN}}\n          docker-image-name: dowhy-docs-generation\n          docker-image-tag: latest # optional\n          dockerfile-path: ./docs/Dockerfile # optional\n", "state": "active", "repository": "py-why/dowhy"}
{"mined_at": "2024-07-15T17:14:13.549678", "created_at": "2022-12-13T22:40:47+01:00", "updated_at": "2022-12-15T15:13:26+01:00", "name": "CI Installation Check", "path": ".github/workflows/ci-install.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\nname: CI Installation Check\n\non:\n  push:\n    branches: [main]\n    paths:\n      - '.github/workflows/ci-install.yml'\n      - 'dowhy/**'\n      - 'tests/**'\n      - 'pyproject.toml'\n      - 'poetry.lock'\n\n  pull_request:\n    branches: [main]\n    paths:\n      - '.github/workflows/ci-install.yml'\n      - 'dowhy/**'\n      - 'tests/**'\n      - 'pyproject.toml'\n      - 'poetry.lock'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install graphviz\n      run: |\n        sudo apt install graphviz libgraphviz-dev graphviz-dev pkg-config\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        echo \"HEAD_REPO='$HEAD_REPO'\"\n        echo \"HEAD_BRANCH='$HEAD_BRANCH'\"\n        echo \"GITHUB_CONTEXT='$GITHUB_CONTEXT'\"\n        pip install git+https://github.com/${HEAD_REPO}@${HEAD_BRANCH:-main}\n      env:\n        GITHUB_CONTEXT: ${{ toJson(github) }}\n        HEAD_REPO: ${{ github.event.pull_request.head.repo.full_name || github.repository }}\n        HEAD_BRANCH: ${{ github.event.pull_request.head.ref || github.head_ref || 'main' }}\n\n    - name: Notify Discord\n      if: failure() && github.ref == 'refs/heads/main'\n      uses: th0th/notify-discord@v0.4.1\n      env:\n        DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK }}\n        GITHUB_ACTOR: ${{ github.actor }}\n        GITHUB_JOB_NAME: CI Install Check Failed on Main\n        GITHUB_JOB_STATUS: ${{ job.status }}\n", "state": "active", "repository": "py-why/dowhy"}
{"mined_at": "2024-07-15T17:14:14.570583", "created_at": "2022-08-27T01:17:33+02:00", "updated_at": "2024-01-16T21:16:50+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\nname: CI\n\non:\n  push:\n    branches: [main]\n    paths:\n      - '.github/workflows/ci.yml'\n      - 'dowhy/**'\n      - 'tests/**'\n      - 'docs/source/example_notebooks/**'\n      - 'pyproject.toml'\n      - 'poetry.lock'\n  pull_request:\n    branches: [main]\n    paths:\n      - '.github/workflows/ci.yml'\n      - 'dowhy/**'\n      - 'tests/**'\n      - 'docs/source/example_notebooks/**'\n      - 'pyproject.toml'\n      - 'poetry.lock'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\"]\n        poetry-version: [1.5.1]\n        test-group: [1, 2, 3, 4, 5, 6]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Poetry ${{ matrix.poetry-version }}\n      uses: abatilo/actions-poetry@v3.0.0\n      with:\n        poetry-version: ${{ matrix.poetry-version }}\n\n    - name: Install graphviz\n      run: |\n        sudo apt install graphviz libgraphviz-dev graphviz-dev pkg-config\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        echo \"installing poetry dependencies\"\n        poetry install -E plotting -E pygraphviz\n\n    - name: Lint\n      run: poetry run poe lint\n\n    - name: Check Formatting\n      run: poetry run poe format_check\n\n    - name: Test\n      run: poetry run poe test --splits 6 --group ${{ matrix.test-group }}\n\n    - name: Install EconML dependency\n      run: |\n        poetry install -E plotting -E pygraphviz -E econml\n\n    - name: Test EconML based functionality\n      run: poetry run poe test_econml\n\n    - name: Test README errors for PyPI\n      run: |\n          pip install poetry-dynamic-versioning\n          pip install twine\n          poetry-dynamic-versioning\n          poetry build\n          twine check dist/*\n\n    - name: Notify Discord\n      if: failure() && github.ref == 'refs/heads/main'\n      uses: th0th/notify-discord@v0.4.1\n      env:\n        DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK }}\n        GITHUB_ACTOR: ${{ github.actor }}\n        GITHUB_JOB_NAME: CI Failed on Main\n        GITHUB_JOB_STATUS: ${{ job.status }}\n", "state": "active", "repository": "py-why/dowhy"}
{"mined_at": "2024-07-15T17:14:15.618641", "created_at": "2022-10-26T20:06:39+02:00", "updated_at": "2022-10-26T20:06:39+02:00", "name": "Close inactive issues", "path": ".github/workflows/close-inactive-issues.yml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v9\n        with:\n          days-before-issue-stale: 14\n          days-before-issue-close: 7\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue is stale because it has been open for 14 days with no activity.\"\n          close-issue-message: \"This issue was closed because it has been inactive for 7 days since being marked as stale.\"\n          # in case of issue, only process issues with any of the following labels:\n          any-of-issue-labels: \"question,help wanted,waiting for author\"\n\n          days-before-pr-stale: 60\n          days-before-pr-close: 14\n          stale-pr-label: \"stale\"\n          stale-pr-message: \"This PR is stale because it has been open for 60 days with no activity.\"\n          close-pr-message: \"This PR was closed because it has been inactive for 7 days since being marked as stale.\"\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "py-why/dowhy"}
{"mined_at": "2024-07-15T17:14:16.739682", "created_at": "2022-11-08T18:53:08+01:00", "updated_at": "2022-11-09T17:51:06+01:00", "name": "Build Docs (CI)", "path": ".github/workflows/docs-ci.yml", "contents": "name: Build Docs (CI)\n\non:\n  pull_request:\n    branches: [main]\n    paths:\n      - \".github/workflows/docs-ci.yml\"\n      - \"dowhy/**\"\n      - \"docs/**\"\n      - \"pyproject.toml\"\n      - \"poetry.lock\"\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    container:\n      image: \"ghcr.io/${{ github.repository_owner }}/dowhy-docs-generation:latest\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Python Dependencies\n        run: poetry install -E plotting -E pydot -E pygraphviz -E econml --with docs\n\n      - run: git config --global --add safe.directory /__w/dowhy/dowhy\n\n      - name: Build\n        run: ./docs/generate_docs.sh\n", "state": "active", "repository": "py-why/dowhy"}
{"mined_at": "2024-07-15T17:14:17.939433", "created_at": "2022-11-09T17:51:07+01:00", "updated_at": "2022-11-09T17:51:07+01:00", "name": "Build & Deploy Docs (For Release)", "path": ".github/workflows/docs-release.yml", "contents": "name: Build & Deploy Docs (For Release)\n\non:\n  release:\n    types: [created]\n  workflow_dispatch:\n    inputs:\n      release_tag:\n        description: 'Release tag'\n        required: true\n        type: string\n\nenv:\n  # Pull the tag either from the release event if this workflow was triggered by a release\n  # or from the input if this workflow was triggered manually\n  release_tag: ${{ github.event_name == 'release' && github.event.release.tag_name || inputs.release_tag }}\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    container:\n      image: \"ghcr.io/${{ github.repository_owner }}/dowhy-docs-generation:latest\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Python Dependencies  \n        run: poetry install -E plotting -E pydot -E pygraphviz -E econml --with docs\n\n      - run: git config --global --add safe.directory /__w/dowhy/dowhy\n\n      - name: Build\n        run: ./docs/generate_docs.sh\n        env:\n          DOCS_VERSION: ${{ env.release_tag }}\n          \n      - name: Commit and push to gh-pages branch\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./dowhy-docs\n", "state": "active", "repository": "py-why/dowhy"}
{"mined_at": "2024-07-15T17:14:18.950653", "created_at": "2022-09-02T00:51:06+02:00", "updated_at": "2022-12-01T15:19:58+01:00", "name": "Build & Deploy Docs", "path": ".github/workflows/docs.yml", "contents": "name: Build & Deploy Docs\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \".github/workflows/docs.yml\"\n      - \"dowhy/**\"\n      - \"docs/**\"\n      - \"pyproject.toml\"\n      - \"poetry.lock\"\n  workflow_run:\n    workflows: [ \"Build Docker image (docs)\" ]\n    types:\n      - completed\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    container:\n      image: \"ghcr.io/${{ github.repository_owner }}/dowhy-docs-generation:latest\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Install Python Dependencies\n        run: poetry install -E plotting -E pydot -E pygraphviz -E econml --with docs\n\n      - run: git config --global --add safe.directory /__w/dowhy/dowhy\n\n      - name: Build\n        run: ./docs/generate_docs.sh\n\n      - name: Commit and push to gh-pages branch\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./dowhy-docs\n", "state": "active", "repository": "py-why/dowhy"}
{"mined_at": "2024-07-15T17:14:19.985414", "created_at": "2022-09-02T00:51:06+02:00", "updated_at": "2022-10-24T22:16:54+02:00", "name": "Advanced Tests (nightly)", "path": ".github/workflows/nightly-tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\nname: Advanced Tests (nightly)\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\"]\n        poetry-version: [1.5.1]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Poetry ${{ matrix.poetry-version }}\n        uses: abatilo/actions-poetry@v3.0.0\n        with:\n          poetry-version: ${{ matrix.poetry-version }}\n\n      - name: Install graphviz\n        run: |\n          sudo apt install graphviz libgraphviz-dev graphviz-dev pkg-config\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          echo \"installing poetry dependencies\"\n          poetry install -E plotting -E pydot -E pygraphviz -E econml --with docs\n\n      - name: Run Advanced Tests\n        run: poetry run poe test_advanced\n\n      - name: Notify Discord\n        if: github.ref == 'refs/heads/main'\n        uses: th0th/notify-discord@v0.4.1\n        env:\n          DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK }}\n          GITHUB_ACTOR: ${{ github.actor }}\n          GITHUB_JOB_NAME: Nightly Tests ${{ job.status == 'success' && 'Passed' || 'Failed' }}\n          GITHUB_JOB_STATUS: ${{ job.status }}\n", "state": "active", "repository": "py-why/dowhy"}
{"mined_at": "2024-07-15T17:14:20.990892", "created_at": "2020-11-21T17:10:47+01:00", "updated_at": "2022-10-24T22:16:54+02:00", "name": "Publish Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Publish Package\n\non:\n  release:\n    types: [created]\n  workflow_dispatch:\n\njobs:\n  deploy:\n    name: Upload release to PyPI\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    \n    - name: Install Poetry\n      uses: abatilo/actions-poetry@v3.0.0\n      with:\n        poetry-version: '1.5.1'\n\n    - name: Install Poetry Dynamic Versioning Plugin\n      run: pip install poetry-dynamic-versioning\n\n    - name: Install dependencies\n      run: poetry install\n        \n    - name: Build and publish\n      run: |\n        poetry-dynamic-versioning\n        poetry build\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "py-why/dowhy"}
{"mined_at": "2024-07-15T17:14:22.116786", "created_at": "2024-07-15T07:46:56+02:00", "updated_at": "2024-07-15T07:46:56+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "py-why/dowhy"}
{"mined_at": "2024-07-15T17:14:23.367101", "created_at": "2022-03-02T10:17:59+01:00", "updated_at": "2022-03-02T10:17:59+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "py-why/dowhy"}
{"mined_at": "2024-07-15T17:14:25.619028", "created_at": "2022-08-12T17:48:07+02:00", "updated_at": "2022-12-30T12:51:37+01:00", "name": "Check coding conventions with flake8", "path": ".github/workflows/flake8.yml", "contents": "name: Check coding conventions with flake8\n\non:\n  push:\n    branches:\n      - '**'\n    tags:\n      - '**'\n  pull_request:\n    branches:\n      - '**'\n\njobs:\n  flake8:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@v4\n      - name: Set up Python environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: flake8 Lint\n        uses: py-actions/flake8@v2\n", "state": "active", "repository": "contactengineering/contactmechanics"}
{"mined_at": "2024-07-15T17:14:26.639302", "created_at": "2022-12-30T14:20:34+01:00", "updated_at": "2022-12-31T13:52:41+01:00", "name": "Publish source package and wheel", "path": ".github/workflows/publish.yml", "contents": "name: Publish source package and wheel\n\non:\n  push:\n    branches:\n      - '**'\n    tags:\n      - '**'\n  pull_request:\n    branches:\n      - '**'\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: recursive\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update -qy\n        sudo apt-get install -y python3 python3-pip python3-venv\n        python3 -m venv ../venv\n        source ../venv/bin/activate\n        python3 -m pip install flit pip-tools build\n        # We need to install all dependencies before executing flit build,\n        # because flit build loads the package to determine the version.\n        pip-compile -q --resolver=backtracking pyproject.toml\n        pip install -r requirements.txt\n        rm requirements.txt\n\n    - name: Build package\n      run: |\n        source ../venv/bin/activate\n        python3 -m build\n\n    - name: Build documentation\n      run: |\n        source ../venv/bin/activate\n        python3 -m pip install .[docs]\n        python3 -m pip install dist/*.whl\n        cd docs\n        sphinx-apidoc -o source/ ../ContactMechanics\n        make html\n        cd ..\n\n    - name: Commit documentation changes\n      run: |\n        git clone https://github.com/ContactEngineering/ContactMechanics.git --branch gh-pages --single-branch gh-pages\n        cp -r docs/_build/html/* gh-pages/\n        cd gh-pages\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        git add .\n        git commit -m \"Update documentation\" -a || true\n        # The above command will fail if no changes were present, so we ignore\n        # the return code.\n\n    - name: Push documentation changes\n      if: github.ref == 'refs/heads/master'\n      uses: ad-m/github-push-action@master\n      with:\n        branch: gh-pages\n        directory: gh-pages\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Publish package\n      if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "contactengineering/contactmechanics"}
{"mined_at": "2024-07-15T17:14:27.768371", "created_at": "2022-12-30T14:20:34+01:00", "updated_at": "2024-05-17T14:44:59+02:00", "name": "Test code functionality", "path": ".github/workflows/test.yml", "contents": "name: Test code functionality\n\non:\n  push:\n    branches:\n      - '**'\n    tags:\n      - '**'\n  pull_request:\n    branches:\n      - '**'\n  schedule:\n    - cron: \"0 2 * * 5\"\n\njobs:\n  tests:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 40\n\n    strategy:\n      matrix:\n        mpi: ['yes', 'no']\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        mpi4py-version: [3.1.5]\n        netcdf4-python-version: [1.6.2]\n        mufft-version: [0.91.2]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: recursive\n\n    - name: Set up python3 ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies and extension module\n      run: |\n        set -x\n        sudo apt-get update -qy\n        sudo apt-get install -y python3-dev python3-venv libfftw3-dev libopenblas-dev\n        python3 -m venv venv\n        source venv/bin/activate\n        python3 -m pip install --upgrade pip\n        python3 -m pip install flit numpy pip-tools setuptools wheel\n        if [ \"${{ matrix.mpi }}\" == \"yes\" ]; then\n          # We now need to recompile some modules to link with native MPI\n          sudo apt-get install openmpi-bin libopenmpi-dev libfftw3-mpi-dev libhdf5-mpi-dev libpnetcdf-dev libnetcdf-pnetcdf-dev\n          # Install mpi4py first (because netCDF4 depends on it)\n          export NETCDF4_DIR=/usr/lib/x86_64-linux-gnu/netcdf/pnetcdf\n          export CC=mpicc\n          python3 -m pip install -v --no-binary mpi4py mpi4py==${{ matrix.mpi4py-version }}\n          python3 -m pip install -v cython\n          python3 -m pip install -v --no-build-isolation --no-binary netCDF4 netCDF4==${{ matrix.netcdf4-python-version }}\n          python3 -m pip install -v --no-binary muFFT muFFT==${{ matrix.mufft-version }}\n        else\n          sudo apt-get install libhdf5-dev libnetcdf-dev\n        fi\n        python3 -m pip install -v .[test]\n        # Check that NetCDF install was not overriden\n        python3 .check_netcdf_capabilities.py ${{ matrix.mpi }}\n        python3 .check_mufft_capabilities.py ${{ matrix.mpi }}\n\n    - name: Test with pytest\n      run: |\n        source venv/bin/activate\n        if [ \"${{ matrix.mpi }}\" == \"yes\" ]; then\n          python3 run-tests.py --no-build --verbose --full-trace\n        else\n          python3 -m pytest --verbose --full-trace -s\n        fi\n", "state": "active", "repository": "contactengineering/contactmechanics"}
{"mined_at": "2024-07-15T17:14:28.799106", "created_at": "2023-01-17T11:39:57+01:00", "updated_at": "2024-05-17T14:44:59+02:00", "name": "Test examples run without failure", "path": ".github/workflows/test_examples.yml", "contents": "name: Test examples run without failure\n\non:\n  push:\n    branches:\n      - '**'\n    tags:\n      - '**'\n  pull_request:\n    branches:\n      - '**'\n  schedule:\n    - cron: \"0 2 * * 5\"\n\njobs:\n  tests:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 40\n\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        submodules: recursive\n\n    - name: Set up python3 ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies and extension module\n      run: |\n        set -x\n        sudo apt-get update -qy\n        sudo apt-get install -y python3-dev python3-venv libfftw3-dev libopenblas-dev\n        python3 -m venv venv\n        source venv/bin/activate\n        python3 -m pip install --upgrade pip\n        python3 -m pip install flit numpy pip-tools setuptools wheel\n        sudo apt-get install libhdf5-dev libnetcdf-dev\n        python3 -m pip install -v .[test]\n        # Check that NetCDF install was not overriden\n        python3 .check_netcdf_capabilities.py no\n        python3 .check_mufft_capabilities.py no\n\n    - name: Test example files\n      run: |\n        source venv/bin/activate\n        python3 -m pip install jupytext\n        python3 -m pip list\n        cd examples\n        for f in *.ipynb\n        do\n            jupytext --check  pytest --warn-only $f\n        done\n\n        for f in *.py\n        do\n            jupytext --check pytest --warn-only $f\n        done\n", "state": "active", "repository": "contactengineering/contactmechanics"}
{"mined_at": "2024-07-15T17:14:29.911554", "created_at": "2022-02-14T09:36:05+01:00", "updated_at": "2022-02-14T09:36:05+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "contactengineering/contactmechanics"}
{"mined_at": "2024-07-15T17:14:32.172430", "created_at": "2023-11-27T14:21:30+01:00", "updated_at": "2023-11-28T13:13:35+01:00", "name": "Build Docs", "path": ".github/workflows/build_docs.yml", "contents": "name: Build Docs\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push and pull request events but only for the main branch\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main, refactoring]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  build_docs:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - name: Install full package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 lightfm==1.17\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh --experimental install --all-extras\n      - name: Build docs\n        run: |\n          . ./venv/bin/activate\n          make -C docs clean html\n", "state": "active", "repository": "sb-ai-lab/replay"}
{"mined_at": "2024-07-15T17:14:33.263920", "created_at": "2023-12-18T06:59:18+01:00", "updated_at": "2023-12-18T06:59:18+01:00", "name": "Publish to PyPI", "path": ".github/workflows/build_packages.yml", "contents": null, "state": "active", "repository": "sb-ai-lab/replay"}
{"mined_at": "2024-07-15T17:14:34.476987", "created_at": "2024-01-11T09:33:13+01:00", "updated_at": "2024-01-11T09:33:13+01:00", "name": "Deploy Docs to Pages", "path": ".github/workflows/deploy_docs.yml", "contents": "name: Deploy Docs to Pages\n\non:\n  push:\n    branches: [release]\n    tags:\n      - 'v*.*.*'\n  \n  workflow_dispatch:\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  deploy_docs:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - name: Install full package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 lightfm==1.17\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh --experimental install --all-extras\n      - name: Build docs\n        run: |\n          . ./venv/bin/activate\n          make -C docs clean html\n      - name: Setup Pages\n        uses: actions/configure-pages@v4\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v2\n        with:\n          path: 'docs/_build/html/'\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v3\n", "state": "active", "repository": "sb-ai-lab/replay"}
{"mined_at": "2024-07-15T17:14:35.653111", "created_at": "2022-04-19T15:43:43+02:00", "updated_at": "2024-01-12T06:51:43+01:00", "name": "CI Pipeline", "path": ".github/workflows/main.yml", "contents": "name: CI Pipeline\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push and pull request events but only for the main branch\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main, refactoring]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  static_tests:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - name: Install full package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 lightfm==1.17\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh --experimental install --all-extras\n      - name: ruff\n        run: |\n          . ./venv/bin/activate\n          ./poetry_wrapper.sh --generate\n          ruff check .\n      - name: black\n        run: |\n          . ./venv/bin/activate\n          ./poetry_wrapper.sh --generate\n          black --check --diff -- .\n      - name: poetry-check\n        run: |\n          . ./venv/bin/activate\n          ./poetry_wrapper.sh check\n          ./poetry_wrapper.sh --experimental check\n      - name: toml-sort\n        run: |\n          . ./venv/bin/activate\n          ./poetry_wrapper.sh --generate\n          toml-sort --check pyproject.toml\n          ./poetry_wrapper.sh --experimental --generate\n          toml-sort --check pyproject.toml\n          \n  pytest_core:\n    needs: static_tests\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install core package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 lightfm==1.17\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh install\n      - name: pytest\n        run: |\n          . ./venv/bin/activate\n          pytest -m core tests/ --ignore=tests/experimental\n          mv .coverage .coverage_core_${{ matrix.python-version }}\n      - name: Upload coverage\n        uses: actions/upload-artifact@v4\n        with:\n          name: .coverage_core_${{ matrix.python-version }}\n          path: .coverage_core_${{ matrix.python-version }}\n\n  pytest_torch:\n    needs: static_tests\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install torch package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 lightfm==1.17\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh install -E torch\n      - name: pytest\n        run: |\n          . ./venv/bin/activate\n          pytest -m \"not spark and not experimental\" tests/ --ignore=tests/experimental\n          mv .coverage .coverage_torch_${{ matrix.python-version }}\n      - name: Upload coverage\n        uses: actions/upload-artifact@v4\n        with:\n          name: .coverage_torch_${{ matrix.python-version }}\n          path: .coverage_torch_${{ matrix.python-version }}\n\n  pytest_spark:\n    needs: static_tests\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install spark package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 lightfm==1.17\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh install -E spark\n      - name: pytest\n        run: |\n          . ./venv/bin/activate\n          pytest -m \"not torch and not experimental\" tests/ --ignore=tests/experimental\n          mv .coverage .coverage_spark_${{ matrix.python-version }}\n      - name: Upload coverage\n        uses: actions/upload-artifact@v4\n        with:\n          name: .coverage_spark_${{ matrix.python-version }}\n          path: .coverage_spark_${{ matrix.python-version }}\n\n  pytest_spark_torch:\n    needs: static_tests\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install full package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 lightfm==1.17\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh install --all-extras\n      - name: pytest\n        run: |\n          . ./venv/bin/activate\n          pytest -m \"not experimental\" --ignore=replay/experimental --ignore=tests/experimental\n          mv .coverage .coverage_all_${{ matrix.python-version }}\n      - name: Upload coverage\n        uses: actions/upload-artifact@v4\n        with:\n          name: .coverage_all_${{ matrix.python-version }}\n          path: .coverage_all_${{ matrix.python-version }}\n\n  pytest_experimental:\n    needs: static_tests\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install experimental package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 lightfm==1.17\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh --experimental install --all-extras\n      - name: pytest\n        run: |\n          . ./venv/bin/activate\n          pytest -m \"experimental\"\n          mv .coverage .coverage_experimental_${{ matrix.python-version }}\n      - name: Upload coverage\n        uses: actions/upload-artifact@v4\n        with:\n          name: .coverage_experimental_${{ matrix.python-version }}\n          path: .coverage_experimental_${{ matrix.python-version }}\n\n  merge_coverage:\n    needs: [pytest_core, pytest_torch, pytest_spark, pytest_spark_torch, pytest_experimental]\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install only dev package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 poetry-dynamic-versioning lightfm==1.17\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh install --only dev\n      - name: Download coverage reports\n        uses: actions/download-artifact@v4\n        with:\n          pattern: .coverage_*\n          merge-multiple: true\n      - name: Combine coverage\n        run: |\n          . ./venv/bin/activate\n          coverage combine .coverage_core_${{ matrix.python-version }} .coverage_torch_${{ matrix.python-version }} .coverage_spark_${{ matrix.python-version }} .coverage_all_${{ matrix.python-version }} .coverage_experimental_${{ matrix.python-version }}\n          coverage report --fail-under=100\n          coverage xml\n\n  build_production:\n    needs: merge_coverage\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - name: Install production package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 poetry-dynamic-versioning\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh install --all-extras\n      - name: Build\n        run: |\n          . ./venv/bin/activate\n          export PACKAGE_SUFFIX=.dev\n          ./poetry_wrapper.sh build\n\n  build_experimental:\n    needs: merge_coverage\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - name: Install full package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 poetry-dynamic-versioning lightfm==1.17\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh --experimental install --all-extras\n      - name: Build\n        run: |\n          . ./venv/bin/activate\n          export PACKAGE_SUFFIX=.preview\n          ./poetry_wrapper.sh --experimental build", "state": "active", "repository": "sb-ai-lab/replay"}
{"mined_at": "2024-07-15T17:14:36.779569", "created_at": "2024-01-11T09:33:13+01:00", "updated_at": "2024-01-11T09:33:13+01:00", "name": "Publish to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Publish to PyPI\n\non: \n  push:\n    branches: [release]\n    tags:\n      - 'v*.*.*'\n\njobs:\n  publish_experimental:\n    runs-on: ubuntu-20.04\n    permissions:\n        id-token: write\n    environment:\n        name: release\n        url: https://pypi.org/p/replay-rec\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Install experimental package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 poetry-dynamic-versioning lightfm==1.17\n\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh --experimental install --all-extras\n\n      - name: Build Experimental\n        run: |\n          . ./venv/bin/activate\n          export PACKAGE_SUFFIX=.preview\n          ./poetry_wrapper.sh --experimental build\n\n      - name: Publish Experimental\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  publish_production:\n    runs-on: ubuntu-20.04\n    permissions:\n        id-token: write\n    environment:\n        name: release\n        url: https://pypi.org/p/replay-rec\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Install production package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 poetry-dynamic-versioning\n\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh install --all-extras\n\n      - name: Build Production\n        run: |\n          . ./venv/bin/activate\n          ./poetry_wrapper.sh build\n\n      - name: Publish Production\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "sb-ai-lab/replay"}
{"mined_at": "2024-07-15T17:14:37.905720", "created_at": "2023-12-19T21:36:56+01:00", "updated_at": "2023-12-19T21:36:56+01:00", "name": "Publish to test PyPI", "path": ".github/workflows/publish_test.yml", "contents": "name: Publish to test PyPI\n\non: \n  workflow_dispatch:\n\njobs:\n  \n  publish_test:\n    runs-on: ubuntu-20.04\n    permissions:\n        id-token: write\n    environment:\n        name: testpypi\n        url: https://test.pypi.org/p/replay-rec\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Install full package\n        run: |\n          python -m venv venv\n          . ./venv/bin/activate\n          pip install --upgrade pip wheel poetry==1.5.1 poetry-dynamic-versioning lightfm==1.17\n\n          poetry cache clear pypi --all\n          ./poetry_wrapper.sh --experimental install --all-extras\n\n      - name: Build\n        run: |\n          . ./venv/bin/activate\n          export PACKAGE_SUFFIX=.preview\n          echo $PACKAGE_SUFFIX\n          ./poetry_wrapper.sh --experimental build\n\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with: \n          repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "sb-ai-lab/replay"}
{"mined_at": "2024-07-15T17:14:39.021011", "created_at": "2022-04-20T14:00:17+02:00", "updated_at": "2022-04-20T14:00:17+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sb-ai-lab/replay"}
{"mined_at": "2024-07-15T17:14:41.080949", "created_at": "2022-06-01T07:56:45+02:00", "updated_at": "2022-06-01T07:56:45+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: build\n\non:\n  push:\n    paths-ignore:\n      - \".dev_scripts/**\"\n      - \".github/**.md\"\n      - \"demo/**\"\n      - \"docker/**\"\n      - \"tools/**\"\n\n  pull_request:\n    paths-ignore:\n      - \".dev_scripts/**\"\n      - \".github/**.md\"\n      - \"demo/**\"\n      - \"docker/**\"\n      - \"tools/**\"\n      - \"docs/**\"\n      - \"docs_zh-CN/**\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    env:\n      FORCE_CUDA: 1\n      CUDA_ARCH: ${{matrix.cuda_arch}}\n    runs-on: ubuntu-18.04\n    container:\n      image: pytorch/pytorch:1.6.0-cuda10.1-cudnn7-devel\n\n    strategy:\n      matrix:\n        python-version: [3.6, 3.7]\n        torch: [1.5.0+cu101, 1.6.0+cu101, 1.7.0+cu101, 1.8.0+cu101]\n        include:\n          - torch: 1.5.0+cu101\n            torch_version: torch1.5\n            torchvision: 0.6.0+cu101\n            mmcv_link: \"torch1.5.0\"\n            cuda_arch: \"7.0\"\n          - torch: 1.6.0+cu101\n            torch_version: torch1.6\n            mmcv_link: \"torch1.6.0\"\n            torchvision: 0.7.0+cu101\n            cuda_arch: \"7.0\"\n          - torch: 1.7.0+cu101\n            torch_version: torch1.7\n            mmcv_link: \"torch1.7.0\"\n            torchvision: 0.8.1+cu101\n            cuda_arch: \"7.0\"\n          - torch: 1.8.0+cu101\n            torch_version: torch1.8\n            mmcv_link: \"torch1.8.0\"\n            torchvision: 0.9.0+cu101\n            cuda_arch: \"7.0\"\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Fetch GPG keys\n        run: |\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub\n          apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub\n      - name: Install system dependencies\n        run: |\n          apt-get update && apt-get install -y ffmpeg libsm6 git ninja-build libglib2.0-0 libsm6 libxrender-dev python${{matrix.python-version}}-dev\n          apt-get clean\n          rm -rf /var/lib/apt/lists/*\n      - name: Install PyTorch\n        run: python -m pip install numpy==1.19.5 torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install mmdet3d dependencies\n        run: |\n          python -m pip install mmcv-full==1.6.0 -f https://download.openmmlab.com/mmcv/dist/cu101/${{matrix.torch_version}}/index.html\n          python -m pip install mmdet\n          python -m pip install mmsegmentation\n          python -m pip install -r requirements.txt\n      - name: Build and install\n        run: |\n          rm -rf .eggs\n          python setup.py check -m -s\n          TORCH_CUDA_ARCH_LIST=${CUDA_ARCH} python setup.py build_ext --inplace\n      - name: Run unittests and generate coverage report\n        run: |\n          coverage run --branch --source mmdet3d -m pytest tests/\n          coverage xml\n          coverage report -m\n      # Only upload coverage report for python3.7 && pytorch1.5\n      - name: Upload coverage to Codecov\n        if: ${{matrix.torch == '1.5.0+cu101' && matrix.python-version == '3.7'}}\n        uses: codecov/codecov-action@v1.0.10\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n  build_windows:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-2022]\n        python: [3.8]\n        platform: [cpu]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Upgrade pip\n        run: python -m pip install pip --upgrade --user\n      - name: Install PyTorch\n        # As a complement to Linux CI, we test on PyTorch LTS version\n        run: pip install torch==1.8.2+${{ matrix.platform }} torchvision==0.9.2+${{ matrix.platform }} -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html\n      - name: Install mmdet3d dependencies\n        run: |\n          pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.8/index.html --only-binary mmcv-full\n          python -m pip install mmdet\n          python -m pip install mmsegmentation\n          python -m pip install -r requirements/build.txt -r requirements/runtime.txt -r requirements/tests.txt\n      - name: Build and install\n        run: pip install -e .\n      - name: Run unittests and generate coverage report\n        run: coverage run --branch --source mmdet3d -m pytest tests/\n      - name: Generate coverage report\n        run: |\n          coverage xml\n          coverage report -m\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v2\n        with:\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n", "state": "active", "repository": "huangjunjie2017/bevdet"}
{"mined_at": "2024-07-15T17:14:42.123954", "created_at": "2022-06-01T07:56:45+02:00", "updated_at": "2022-06-01T07:56:45+02:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\n\non: push\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-n-publish:\n    runs-on: ubuntu-18.04\n    if: startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.7\n      - name: Install torch\n        run: pip install torch\n      - name: Build MMDet3D\n        run: python setup.py sdist\n      - name: Publish distribution to PyPI\n        run: |\n          pip install twine\n          twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}\n", "state": "active", "repository": "huangjunjie2017/bevdet"}
{"mined_at": "2024-07-15T17:14:43.230213", "created_at": "2022-11-01T07:36:56+01:00", "updated_at": "2022-11-25T07:51:47+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    runs-on: ubuntu-18.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Install linting dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8==3.8.3 isort==5.10.1 yapf==v0.30.0 interrogate\n      - name: Lint with flake8\n        run: flake8 .\n      - name: Lint with isort\n        run: isort --recursive --check-only --diff mmdet3d/ tests/ examples/\n      - name: Format python codes with yapf\n        run: yapf -r -d mmdet3d/ tests/ examples/\n      - name: Check docstring\n        run: interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --exclude mmdet3d/ops --ignore-regex \"__repr__\" --fail-under 95 mmdet3d\n", "state": "active", "repository": "huangjunjie2017/bevdet"}
{"mined_at": "2024-07-15T17:14:44.358167", "created_at": "2022-11-01T07:36:56+01:00", "updated_at": "2022-11-25T07:51:47+01:00", "name": "test-mim", "path": ".github/workflows/test_mim.yml", "contents": "name: test-mim\n\non:\n  push:\n    paths:\n      - 'model-index.yml'\n      - 'configs/**'\n\n  pull_request:\n    paths:\n      - 'model-index.yml'\n      - 'configs/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_cpu:\n    runs-on: ubuntu-18.04\n    strategy:\n      matrix:\n        python-version: [3.7]\n        torch: [1.8.0]\n        include:\n          - torch: 1.8.0\n            torch_version: torch1.8\n            torchvision: 0.9.0\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade pip\n        run: pip install pip --upgrade\n      - name: Install Pillow\n        run: pip install Pillow==6.2.2\n        if: ${{matrix.torchvision == '0.4.2'}}\n      - name: Install PyTorch\n        run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html\n      - name: Install openmim\n        run: pip install openmim\n      - name: Build and install\n        run: rm -rf .eggs && mim install -e .\n      - name: test commands of mim\n        run: mim search mmdet3d\n", "state": "active", "repository": "huangjunjie2017/bevdet"}
{"mined_at": "2024-07-15T17:14:46.611226", "created_at": "2024-04-25T00:36:37+02:00", "updated_at": "2024-04-25T00:36:37+02:00", "name": "Snowpark pandas Changedoc Check", "path": ".github/workflows/changedoc_snowpark_pandas.yml", "contents": "name: Snowpark pandas Changedoc Check\n\non:\n  pull_request:\n    types: [opened, synchronize, labeled, unlabeled]\n    branches:\n      - main\n    paths:\n      - 'src/snowflake/snowpark/modin/**'\n\njobs:\n  check_pandas_change_doc:\n    runs-on: ubuntu-latest\n    if: ${{!contains(github.event.pull_request.labels.*.name, 'NO-PANDAS-CHANGEDOC-UPDATES')}}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Ensure Snowpark pandas docs is updated\n      run: git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -q \"docs/source/modin\"\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:14:47.838491", "created_at": "2023-03-13T21:31:49+01:00", "updated_at": "2023-03-14T17:02:46+01:00", "name": "Changelog Check", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog Check\n\non:\n  pull_request:\n    types: [opened, synchronize, labeled, unlabeled]\n    branches:\n      - main\n\njobs:\n  check_change_log:\n    runs-on: ubuntu-latest\n    if: ${{!contains(github.event.pull_request.labels.*.name, 'NO-CHANGELOG-UPDATES')}}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Ensure CHANGELOG.md is updated\n      run: git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -wq \"CHANGELOG.md\"\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:14:48.966130", "created_at": "2024-04-17T20:07:50+02:00", "updated_at": "2024-04-17T20:07:50+02:00", "name": "PR Checker", "path": ".github/workflows/checkprs.yml", "contents": "name: PR Checker\n\non:\n  schedule:\n    - cron: \"0 0 * * *\" # Runs 0:0 UTC on every day\n  workflow_dispatch:\n    inputs:\n      logLevel:\n        default: warning\n        description: \"Log level\"\n        required: true\n      tags:\n        description: \"Check PRs\"\n\npermissions:\n  contents: read\n  pull-requests: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n    - name: Setup Python 3.10\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n\n    - name: Dependencies\n      run: |\n        python3 -m pip install --upgrade pip\n        pip3 install requests\n    - name: Run script\n      env:\n        TOKEN: ${{secrets.GITHUB_TOKEN}}\n      run:\n        python3 ./scripts/longprs.py\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:14:50.091403", "created_at": "2022-05-20T01:01:15+02:00", "updated_at": "2022-05-20T01:01:15+02:00", "name": "CLA Assistant", "path": ".github/workflows/cla_bot.yml", "contents": "name: \"CLA Assistant\"\non:\n  issue_comment:\n    types: [created]\n  pull_request_target:\n    types: [opened,closed,synchronize]\n\njobs:\n  CLAssistant:\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n      contents: write\n      pull-requests: write\n      statuses: write\n    steps:\n      - name: \"CLA Assistant\"\n        if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'\n        uses: contributor-assistant/github-action/@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOT_TOKEN }}\n        with:\n          path-to-signatures: 'signatures/version1.json'\n          path-to-document: 'https://github.com/snowflakedb/CLA/blob/main/README.md'\n          branch: 'main'\n          allowlist: 'dependabot[bot],github-actions,sfc-gh-snyk-sca-sa'\n          remote-organization-name: 'snowflakedb'\n          remote-repository-name: 'cla-db'\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:14:51.322138", "created_at": "2024-04-29T21:43:02+02:00", "updated_at": "2024-05-14T03:15:19+02:00", "name": "Daily Snowpark pandas jupyter notebook test", "path": ".github/workflows/daily_jupyter_nb_test.yml", "contents": "name: Daily Snowpark pandas jupyter notebook test\n\non:\n    schedule:\n      - cron: \"0 16 * * *\" # Runs 16:00 UTC on every day\n    workflow_dispatch:\n        inputs:\n            logLevel:\n                default: warning\n                description: \"Log level\"\n                required: true\n\njobs:\n    lint:\n        name: Check linting\n        runs-on: ubuntu-latest\n        steps:\n          - uses: actions/checkout@v4\n          - name: Set up Python\n            uses: actions/setup-python@v4\n            with:\n              python-version: '3.9'\n          - name: Display Python version\n            run: python -c \"import sys; import os; print(\\\"\\n\\\".join(os.environ[\\\"PATH\\\"].split(os.pathsep))); print(sys.version); print(sys.executable);\"\n          - name: Upgrade setuptools and pip\n            run: python -m pip install -U setuptools pip\n          - name: Install tox\n            run: python -m pip install tox\n          - name: Run fix_lint\n            run: python -m tox -e fix_lint\n\n    build:\n        needs: lint\n        name: Build Wheel File\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout Code\n              uses: actions/checkout@v4\n            - name: Setup Python\n              uses: actions/setup-python@v4\n              with:\n                python-version: 3.9\n            - name: Upgrade setuptools and pip\n              run: python -m pip install -U setuptools pip wheel\n            - name: Generate wheel\n              run: python -m pip wheel -v -w dist --no-deps .\n            - name: Show wheels generated\n              run: ls -lh dist\n            - uses: actions/upload-artifact@v1\n              with:\n                name: wheel\n                path: dist/\n    test:\n        name: Test modin-${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n        needs: build\n        runs-on: ${{ matrix.os.image_name }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os:\n                  - image_name: ubuntu-latest\n                    download_name: linux\n                  - image_name: macos-latest\n                    download_name: macos\n                  - image_name: windows-latest\n                    download_name: windows\n                python-version: [\"3.9\", \"3.10\", \"3.11\"]\n                # FINANCIAL__ECONOMIC_ESSENTIALS database unavailable in gcp, azure\n                cloud-provider: [aws]\n        steps:\n            - name: Checkout Code\n              uses: actions/checkout@v4\n            - name: Set up Python\n              uses: actions/setup-python@v4\n              with:\n                    python-version: ${{ matrix.python-version }}\n            - name: Display Python version\n              run: python -c \"import sys; print(sys.version)\"\n            - name: Decrypt parameters.py\n              shell: bash\n              run: .github/scripts/decrypt_parameters.sh\n              env:\n                  PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n                  CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n            - name: Download wheel(s)\n              uses: actions/download-artifact@v3\n              with:\n                name: wheel\n                path: dist\n            - name: Show wheels downloaded\n              run: ls -lh dist\n              shell: bash\n            - name: Upgrade setuptools, pip and wheel\n              run: python -m pip install -U setuptools pip wheel\n            - name: Install project\n              run: python -m pip install -e \".[modin-development]\"\n            - name: Install test requirements\n              run: python -m pip install -r tests/notebooks/test_requirements.txt\n            - name: Run notebook tests\n              run: |\n                python -c \"import sys; sys.path.append('../')\"\n                python -m pytest -ra --nbmake --nbmake-timeout=1000 tests/notebooks/modin\n              env:\n                PYTHON_VERSION: ${{ matrix.python-version }}\n                cloud_provider: ${{ matrix.cloud-provider }}\n                PYTEST_ADDOPTS: --color=yes --tb=short\n                # Specify SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1 when adding >= python3.11 with no server-side support\n                # For example, see https://github.com/snowflakedb/snowpark-python/pull/681\n              shell: bash\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:14:52.550617", "created_at": "2024-04-26T01:27:06+02:00", "updated_at": "2024-04-26T01:27:06+02:00", "name": "Daily Snowpark pandas API test", "path": ".github/workflows/daily_modin_precommit.yml", "contents": "# This is copied from original daily_precommit.yml with one change: only run Snowpark pandas tests\n\nname: Daily Snowpark pandas API test\non:\n  schedule:\n    # 9 AM UTC\n    - cron: \"0 9 * * *\"\n  workflow_dispatch:\n      inputs:\n        logLevel:\n          default: warning\n          description: \"Log level\"\n          required: true\n        tags:\n          description: \"Test scenario tags\"\n\njobs:\n  lint:\n    name: Check linting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Display Python version\n        run: python -c \"import sys; import os; print(\\\"\\n\\\".join(os.environ[\\\"PATH\\\"].split(os.pathsep))); print(sys.version); print(sys.executable);\"\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run fix_lint\n        run: python -m tox -e fix_lint\n\n  build:\n    needs: lint\n    name: Build Wheel File\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip wheel\n      - name: Generate wheel\n        run: python -m pip wheel -v -w dist --no-deps .\n      - name: Show wheels generated\n        run: ls -lh dist\n      - uses: actions/upload-artifact@v1\n        with:\n          name: wheel\n          path: dist/\n\n  test-unsupported-py38:\n    name: Test importing Snowpark pandas with Python 3.8 fails\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Ensure importing Snowpark pandas fails on Python 3.8\n        run: tox -e snowpark_pandas_py38_import_error\n\n  test:\n    name: Test modin-${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ${{ matrix.os.image_name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - image_name: ubuntu-latest-64-cores\n            download_name: linux\n          - image_name: macos-latest\n            download_name: macos\n          - image_name: windows-latest-64-cores\n            download_name: windows\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        cloud-provider: [aws, azure, gcp]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v3\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n      - if: ${{ contains('macos', matrix.os.download_name) }}\n        name: Run Snowpark pandas API doctests\n        run: python -m tox -e \"py${PYTHON_VERSION}-doctest-snowparkpandasdoctest-modin-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n          # Specify SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1 when adding >= python3.11 with no server-side support\n          # For example, see https://github.com/snowflakedb/snowpark-python/pull/681\n        shell: bash\n      - name: Run Snowpark pandas API tests (excluding doctests)\n        run: python -m tox -e \"py${PYTHON_VERSION/\\./}-snowparkpandasdailynotdoctest-modin-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n        env:\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n      - uses: actions/upload-artifact@v3\n        with:\n          name: coverage_${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  test-disable-sql-simplifier: # Will be removed after sql simplifier is stable and no option to opt out.\n    name: Test Disable SQL Simplifier modin-${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ${{ matrix.os.image_name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - image_name: macos-latest\n            download_name: macos  # it includes doctest\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        cloud-provider: [aws]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v3\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n      - if: ${{ contains('macos', matrix.os.download_name) }}\n        name: Run Snowpark pandas API doctests\n        run: python -m tox -e \"py${PYTHON_VERSION}-doctest-snowparkpandasdoctest-modin-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short --disable_sql_simplifier\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Run Snowpark pandas API tests (excluding doctests)\n        run: python -m tox -e \"py${PYTHON_VERSION/\\./}-snowparkpandasdailynotdoctest-modin-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short --disable_sql_simplifier\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n        env:\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n      - uses: actions/upload-artifact@v3\n        with:\n          name: coverage_${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}-disable-sql-simplifier\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  test-enable-cte-optimization:\n    name: Test Enable CTE Optimization modin-${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ${{ matrix.os.image_name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - image_name: ubuntu-latest-64-cores\n            download_name: linux\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        cloud-provider: [aws]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v3\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n      - if: ${{ contains('macos', matrix.os.download_name) }}\n        name: Run Snowpark pandas API doctests\n        run: python -m tox -e \"py${PYTHON_VERSION}-doctest-snowparkpandasdoctest-modin-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short --enable_cte_optimization\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Run Snowpark pandas API tests (excluding doctests)\n        run: python -m tox -e \"py${PYTHON_VERSION/\\./}-snowparkpandasdailynotdoctest-modin-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short --enable_cte_optimization --skip_sql_count_check --ignore=tests/integ/modin/test_sql_counter.py\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n        env:\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}-enable-cte-optimization\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  combine-coverage:\n    if: ${{ success() || failure() }}\n    name: Combine coverage\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/download-artifact@v3\n        with:\n          path: artifacts\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Collect all coverages to one dir\n        run: |\n          python -c '\n          from pathlib import Path\n          import shutil\n\n          src_dir = Path(\"artifacts\")\n          dst_dir = Path(\".\") / \".tox\"\n          dst_dir.mkdir()\n          for src_file in src_dir.glob(\"*/.coverage\"):\n              dst_file = dst_dir / \".coverage.{}\".format(src_file.parent.name[9:])\n              print(\"{} copy to {}\".format(src_file, dst_file))\n              shutil.copy(str(src_file), str(dst_file))'\n      - name: Combine coverages\n        run: python -m tox -e coverage\n      - name: Publish html coverage\n        uses: actions/upload-artifact@v3\n        with:\n          name: overall_cov_html\n          path: .tox/htmlcov\n      - name: Publish xml coverage\n        uses: actions/upload-artifact@v3\n        with:\n          name: overall_cov_xml\n          path: .tox/coverage.xml\n      - uses: codecov/codecov-action@v1\n        with:\n          file: .tox/coverage.xml\n\n  doc:\n    needs: lint\n    name: Build Doc\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip\n      - name: Install Snowpark\n        run: python -m pip install \".[modin-development]\"\n      - name: Install Sphinx\n        run: python -m pip install sphinx\n      - name: Build document\n        working-directory: docs\n        # treat warning as failure but complete the entire process\n        run: |\n          make clean\n          make html SPHINXOPTS=\"-W --keep-going\"\n      - name: Upload html files\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs\n          path: docs/build/html\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:14:53.779800", "created_at": "2024-04-10T22:16:05+02:00", "updated_at": "2024-04-12T00:30:35+02:00", "name": "Daily precommit test", "path": ".github/workflows/daily_precommit.yml", "contents": "# This is copied from original precommit.yml with one change: only run precommit tests daily\n\nname: Daily precommit test\non:\n  schedule:\n    # 10 AM UTC\n    - cron: \"0 10 * * *\"\n\n  workflow_dispatch:\n      inputs:\n        logLevel:\n          default: warning\n          description: \"Log level\"\n          required: true\n        tags:\n          description: \"Test scenario tags\"\n\njobs:\n  lint:\n    name: Check linting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Display Python version\n        run: python -c \"import sys; import os; print(\\\"\\n\\\".join(os.environ[\\\"PATH\\\"].split(os.pathsep))); print(sys.version); print(sys.executable);\"\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run fix_lint\n        run: python -m tox -e fix_lint\n\n  type_checking:\n    name: Type Checking\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Display Python version\n        run: python -c \"import sys; import os; print(\\\"\\n\\\".join(os.environ[\\\"PATH\\\"].split(os.pathsep))); print(sys.version); print(sys.executable);\"\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run pyright on Selected Files\n        run: python -m tox -e pyright\n\n  build:\n    needs: lint\n    name: Build Wheel File\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip wheel\n      - name: Generate wheel\n        run: python -m pip wheel -v -w dist --no-deps .\n      - name: Show wheels generated\n        run: ls -lh dist\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheel\n          path: dist/\n\n  test:\n    name: Test py-${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ${{ matrix.os.image_name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - image_name: ubuntu-latest-64-cores\n            download_name: linux\n          - image_name: macos-latest\n            download_name: macos\n          - image_name: windows-latest-64-cores\n            download_name: windows\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        cloud-provider: [aws, azure, gcp]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n      - if: ${{ contains('macos', matrix.os.download_name) }}\n        name: Run doctests\n        run: python -m tox -e \"py${PYTHON_VERSION}-doctest-notudf-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n          # Specify SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1 when adding >= python3.12 with no server-side support\n          # For example, see https://github.com/snowflakedb/snowpark-python/pull/681\n        shell: bash\n      - name: Run tests (excluding doctests)\n        run: python -m tox -e \"py${PYTHON_VERSION/\\./}-dailynotdoctest-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n        env:\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  test-fips:\n    name: Test FIPS py-linux-3.8-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ubuntu-latest-64-cores\n    strategy:\n      fail-fast: false\n      matrix:\n        cloud-provider: [aws]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Run tests\n        run: ./ci/test_fips_docker.sh\n        env:\n          PYTHON_VERSION: 3.8\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_linux-fips-3.8-${{ matrix.cloud-provider }}\n          path: |\n            .coverage\n            coverage.xml\n\n  test-disable-sql-simplifier: # Will be removed after sql simplifier is stable and no option to opt out.\n    name: Test Disable SQL Simplifier py-${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ${{ matrix.os.image_name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - image_name: macos-latest\n            download_name: macos  # it includes doctest\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        cloud-provider: [aws]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n      - if: ${{ contains('macos', matrix.os.download_name) }}\n        name: Run doctests\n        run: python -m tox -e \"py${PYTHON_VERSION}-doctest-notudf-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short --disable_sql_simplifier\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Run tests (excluding doctests)\n        run: python -m tox -e \"py${PYTHON_VERSION/\\./}-dailynotdoctest-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short --disable_sql_simplifier\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n        env:\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}-disable-sql-simplifier\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  test-no-pandas:\n    name: Test when pandas is not installed py-${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ${{ matrix.os.image_name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - image_name: macos-latest\n            download_name: macos\n        python-version: [\"3.8\"]\n        cloud-provider: [aws]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run all tests\n        run: python -m tox -e \"nopandas\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n          # Specify SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1 when adding >= python3.12 with no server-side support\n          # For example, see https://github.com/snowflakedb/snowpark-python/pull/681\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n        env:\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_nopandas\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  test-local-testing:\n    name: Test Local Testing Module py-${{ matrix.os.download_name }}-${{ matrix.python-version }}\n    needs: build\n    runs-on: ${{ matrix.os.image_name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - image_name: macos-latest\n            download_name: macos  # it includes doctest\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        cloud-provider: [aws]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run tests\n        run: python -m tox -e \"py${PYTHON_VERSION/\\./}-local\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n        env:\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_${{ matrix.os.download_name }}-${{ matrix.python-version }}-local-testing\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  test-enable-cte-optimization:\n    name: Test Enable CTE Optimization py-${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ${{ matrix.os.image_name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - image_name: macos-latest\n            download_name: macos  # it includes doctest\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        cloud-provider: [aws]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n      - if: ${{ contains('macos', matrix.os.download_name) }}\n        name: Run doctests\n        run: python -m tox -e \"py${PYTHON_VERSION}-doctest-notudf-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short --enable_cte_optimization\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Run tests (excluding doctests)\n        run: python -m tox -e \"py${PYTHON_VERSION/\\./}-dailynotdoctest-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short --enable_cte_optimization\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n        env:\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}-enable-cte-optimization\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  combine-coverage:\n    if: ${{ success() || failure() }}\n    name: Combine coverage\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n        with:\n          path: artifacts\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Collect all coverages to one dir\n        run: |\n          python -c '\n          from pathlib import Path\n          import shutil\n\n          src_dir = Path(\"artifacts\")\n          dst_dir = Path(\".\") / \".tox\"\n          dst_dir.mkdir()\n          for src_file in src_dir.glob(\"*/.coverage\"):\n              dst_file = dst_dir / \".coverage.{}\".format(src_file.parent.name[9:])\n              print(\"{} copy to {}\".format(src_file, dst_file))\n              shutil.copy(str(src_file), str(dst_file))'\n      - name: Combine coverages\n        run: python -m tox -e coverage\n      - name: Publish html coverage\n        uses: actions/upload-artifact@v4\n        with:\n          name: overall_cov_html\n          path: .tox/htmlcov\n      - name: Publish xml coverage\n        uses: actions/upload-artifact@v4\n        with:\n          name: overall_cov_xml\n          path: .tox/coverage.xml\n      - uses: codecov/codecov-action@v1\n        with:\n          file: .tox/coverage.xml\n\n  doc:\n    needs: lint\n    name: Build Doc\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip\n      - name: Install Snowpark\n        run: python -m pip install \".[modin-development]\"\n      - name: Install Sphinx\n        run: python -m pip install sphinx\n      - name: Build document\n        working-directory: docs\n        # treat warning as failure but complete the entire process\n        run: |\n          make clean\n          make html SPHINXOPTS=\"-W --keep-going\"\n      - name: Upload html files\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs\n          path: docs/build/html\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:14:54.794471", "created_at": "2024-05-20T22:30:14+02:00", "updated_at": "2024-06-05T05:18:32+02:00", "name": "Request Local Testing approval if necessary", "path": ".github/workflows/enforce_localtest.yml", "contents": "name: Request Local Testing approval if necessary\n\non:\n  pull_request:\n    branches: '**'\n\njobs:\n  request_review:\n    if: ${{!contains(toJSON(github.event.pull_request.requested_teams), 'local-testing')}}\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Request Local Testing review if PR contains local_testing_mode\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        url: ${{ github.event.pull_request.html_url }}\n      run: |\n        (gh pr diff \"$url\" | grep \"^+\" | grep \"local_testing_mode\" && gh pr comment \"$url\" --body \"Seems like your changes contain some Local Testing changes, please request review from @snowflakedb/local-testing\") || echo \"PR does not seem to contain Local Testing changes\"\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:14:55.841264", "created_at": "2022-05-20T01:01:15+02:00", "updated_at": "2022-05-20T01:01:15+02:00", "name": "Jira closure", "path": ".github/workflows/jira_close.yml", "contents": "name: Jira closure\n\non:\n  issues:\n    types: [closed, deleted]\n\njobs:\n  close-issue:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          repository: snowflakedb/gh-actions\n          ref: jira_v1\n          token: ${{ secrets.SNOWFLAKE_GITHUB_TOKEN }} # stored in GitHub secrets\n          path: .\n      - name: Jira login\n        uses: atlassian/gajira-login@master\n        env:\n          JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n          JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n          JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n      - name: Extract issue from title\n        id: extract\n        env:\n          TITLE: \"${{ github.event.issue.title }}\"\n        run: |\n          jira=$(echo -n $TITLE | awk '{print $1}' | sed -e 's/://')\n          echo ::set-output name=jira::$jira\n      - name: Close issue\n        uses: ./jira/gajira-close\n        if: startsWith(steps.extract.outputs.jira, 'SNOW-')\n        with:\n          issue: \"${{ steps.extract.outputs.jira }}\"\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:14:57.056355", "created_at": "2022-05-20T01:01:15+02:00", "updated_at": "2022-05-20T01:01:15+02:00", "name": "Jira comment", "path": ".github/workflows/jira_comment.yml", "contents": "name: Jira comment\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  comment-issue:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Jira login\n        uses: atlassian/gajira-login@master\n        env:\n          JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n          JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n          JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n      - name: Extract issue from title\n        id: extract\n        env:\n          TITLE: \"${{ github.event.issue.title }}\"\n        run: |\n          jira=$(echo -n $TITLE | awk '{print $1}' | sed -e 's/://')\n          echo ::set-output name=jira::$jira\n      - name: Comment on issue\n        uses: atlassian/gajira-comment@master\n        if: startsWith(steps.extract.outputs.jira, 'SNOW-')\n        with:\n          issue: \"${{ steps.extract.outputs.jira }}\"\n          comment: \"${{ github.event.comment.user.login }} commented:\\n\\n${{ github.event.comment.body }}\\n\\n${{ github.event.comment.html_url }}\"\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:14:58.181087", "created_at": "2022-05-20T01:01:15+02:00", "updated_at": "2022-05-20T01:01:15+02:00", "name": "Jira creation", "path": ".github/workflows/jira_issue.yml", "contents": "name: Jira creation\n\non:\n  issues:\n    types: [opened]\n  issue_comment:\n    types: [created]\n\njobs:\n  create-issue:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    if: (github.event_name == 'issues' && github.event.pull_request.user.login != 'whitesource-for-github-com[bot]')\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          repository: snowflakedb/gh-actions\n          ref: jira_v1\n          token: ${{ secrets.SNOWFLAKE_GITHUB_TOKEN }} # stored in GitHub secrets\n          path: .\n\n      - name: Login\n        uses: atlassian/gajira-login@v2.0.0\n        env:\n          JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n          JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n          JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n\n      - name: Create JIRA Ticket\n        id: create\n        uses: atlassian/gajira-create@v2.0.1\n        with:\n          project: SNOW\n          issuetype: Bug\n          summary: '${{ github.event.issue.title }}'\n          description: |\n            ${{ github.event.issue.body }} \\\\ \\\\ _Created from GitHub Action_ for ${{ github.event.issue.html_url }}\n          fields: '{\"customfield_11401\":{\"id\":\"14586\"},\"assignee\":{\"id\":\"61027b1d627b560068c6fef8\"},\"components\":[{\"id\":\"16406\"}]}'\n\n      - name: Update GitHub Issue\n        uses: ./jira/gajira-issue-update\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          issue_number: \"{{ event.issue.id }}\"\n          owner: \"{{ event.repository.owner.login }}\"\n          name: \"{{ event.repository.name }}\"\n          jira: \"${{ steps.create.outputs.issue }}\"\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:14:59.307356", "created_at": "2024-05-24T00:33:55+02:00", "updated_at": "2024-05-24T01:50:18+02:00", "name": "Snowpark pandas PR Labeler", "path": ".github/workflows/label_snowpark_pandas.yml", "contents": "name: \"Snowpark pandas PR Labeler\"\n\non:\n  pull_request:\n    types: [opened, synchronize]\n    branches:\n      - main\n\njobs:\n  labeler:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - name: label-the-pr\n      uses: actions/labeler@v5\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:15:00.414588", "created_at": "2024-05-24T00:22:43+02:00", "updated_at": "2024-05-24T00:22:43+02:00", "name": ".github/workflows/labeler.yml", "path": ".github/workflows/labeler.yml", "contents": null, "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:15:01.564906", "created_at": "2021-05-29T06:06:53+02:00", "updated_at": "2024-04-16T22:46:34+02:00", "name": "precommit test", "path": ".github/workflows/precommit.yml", "contents": "name: precommit test\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: '**'\n  workflow_dispatch:\n      inputs:\n        logLevel:\n          default: warning\n          description: \"Log level\"\n          required: true\n        tags:\n          description: \"Test scenario tags\"\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    name: Check linting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Display Python version\n        run: python -c \"import sys; import os; print(\\\"\\n\\\".join(os.environ[\\\"PATH\\\"].split(os.pathsep))); print(sys.version); print(sys.executable);\"\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run fix_lint\n        run: python -m tox -e fix_lint\n\n  type_checking:\n    name: Type Checking\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Display Python version\n        run: python -c \"import sys; import os; print(\\\"\\n\\\".join(os.environ[\\\"PATH\\\"].split(os.pathsep))); print(sys.version); print(sys.executable);\"\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run pyright on Selected Files\n        run: python -m tox -e pyright\n\n  build:\n    needs: lint\n    name: Build Wheel File\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip wheel\n      - name: Generate wheel\n        run: python -m pip wheel -v -w dist --no-deps .\n      - name: Show wheels generated\n        run: ls -lh dist\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheel\n          path: dist/\n\n  test:\n    name: Test py-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest-64-cores, ubuntu-latest-64-cores]\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        cloud-provider: [aws, azure, gcp]\n        exclude:\n          # only run macos with aws py3.9 for doctest\n          - os: macos-latest\n            python-version: \"3.10\"\n          - os: macos-latest\n            python-version: \"3.11\"\n          - os: macos-latest\n            python-version: \"3.9\"\n            cloud-provider: azure\n          - os: macos-latest\n            python-version: \"3.9\"\n            cloud-provider: gcp\n          # only run ubuntu with py3.9 on aws and py3.10 on azure\n          - os: ubuntu-latest-64-cores\n            python-version: \"3.11\"\n          - os: ubuntu-latest-64-cores\n            python-version: \"3.9\"\n            cloud-provider: azure\n          - os: ubuntu-latest-64-cores\n            python-version: \"3.9\"\n            cloud-provider: gcp\n          - os: ubuntu-latest-64-cores\n            python-version: \"3.10\"\n            cloud-provider: aws\n          - os: ubuntu-latest-64-cores\n            python-version: \"3.10\"\n            cloud-provider: gcp\n          # only run windows with py3.10 on gcp\n          - os: windows-latest-64-cores\n            python-version: \"3.9\"\n          - os: windows-latest-64-cores\n            python-version: \"3.10\"\n          - os: windows-latest-64-cores\n            python-version: \"3.11\"\n            cloud-provider: aws\n          - os: windows-latest-64-cores\n            python-version: \"3.11\"\n            cloud-provider: azure\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n      # we only run doctest on macos\n      - if: ${{ matrix.os == 'macos-latest' }}\n        name: Run doctests\n        run: python -m tox -e \"py${PYTHON_VERSION}-doctest-notudf-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n          # Specify SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1 when adding >= python3.12 with no server-side support\n          # For example, see https://github.com/snowflakedb/snowpark-python/pull/681\n        shell: bash\n      # do not run other tests for macos\n      - if: ${{ matrix.os != 'macos-latest' }}\n        name: Run tests (excluding doctests)\n        run: python -m tox -e \"py${PYTHON_VERSION/\\./}-notdoctest-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n        env:\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  test-local-testing:\n    name: Test Local Testing Module py-${{ matrix.os }}-${{ matrix.python-version }}\n    needs: build\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest, ubuntu-latest]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n        cloud-provider: [aws]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run tests\n        run: python -m tox -e \"py${PYTHON_VERSION/\\./}-local\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n        env:\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_${{ matrix.os }}-${{ matrix.python-version }}-local-testing\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  test-enable-cte-optimization:\n    name: Test Enable CTE Optimization py-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest-64-cores]\n        python-version: [\"3.9\"]\n        cloud-provider: [aws]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run tests (excluding doctests)\n        run: python -m tox -e \"py${PYTHON_VERSION/\\./}-notdoctest-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short --enable_cte_optimization\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n        env:\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}-enable-cte-optimization\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  test-snowpark-pandas:\n    name: Test modin-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}\n    needs: build\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest-64-cores, ubuntu-latest-64-cores]\n        python-version: [ \"3.9\", \"3.10\", \"3.11\" ]\n        cloud-provider: [aws, azure, gcp]\n        exclude:\n          # only run macos with aws py3.9 for doctest\n          - os: macos-latest\n            python-version: \"3.10\"\n          - os: macos-latest\n            python-version: \"3.11\"\n          - os: macos-latest\n            python-version: \"3.9\"\n            cloud-provider: azure\n          - os: macos-latest\n            python-version: \"3.9\"\n            cloud-provider: gcp\n          # only run ubuntu with py3.9 on aws and py3.10 on azure\n          - os: ubuntu-latest-64-cores\n            python-version: \"3.11\"\n          - os: ubuntu-latest-64-cores\n            python-version: \"3.9\"\n            cloud-provider: azure\n          - os: ubuntu-latest-64-cores\n            python-version: \"3.9\"\n            cloud-provider: gcp\n          - os: ubuntu-latest-64-cores\n            python-version: \"3.10\"\n            cloud-provider: aws\n          - os: ubuntu-latest-64-cores\n            python-version: \"3.10\"\n            cloud-provider: gcp\n          # only run windows with py3.10 on gcp\n          - os: windows-latest-64-cores\n            python-version: \"3.9\"\n          - os: windows-latest-64-cores\n            python-version: \"3.10\"\n          - os: windows-latest-64-cores\n            python-version: \"3.11\"\n            cloud-provider: aws\n          - os: windows-latest-64-cores\n            python-version: \"3.11\"\n            cloud-provider: azure\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n        # only run doctest for macos on aws\n      - if: ${{ matrix.os == 'macos-latest' && matrix.cloud-provider == 'aws' }}\n        name: Run Snowpark pandas API doctests\n        run: python -m tox -e \"py${PYTHON_VERSION}-doctest-snowparkpandasdoctest-modin-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n          # Specify SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1 when adding >= python3.11 with no server-side support\n          # For example, see https://github.com/snowflakedb/snowpark-python/pull/681\n        shell: bash\n        # do not run other tests for macos on aws\n      - if: ${{ !(matrix.os == 'macos-latest' && matrix.cloud-provider == 'aws') }}\n        name: Run Snowpark pandas API tests (excluding doctests)\n        run: python -m tox -e \"py${PYTHON_VERSION/\\./}-snowparkpandasnotdoctest-modin-ci\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n        env:\n          SNOWFLAKE_IS_PYTHON_RUNTIME_TEST: 1\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}-snowpark-pandas-testing\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  test-modin-extra-without-pandas-extra:\n    name: Test modin extra without pandas extra py-${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}.\n    needs: build\n    runs-on: ${{ matrix.os.image_name }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - image_name: macos-latest\n            download_name: macos\n        python-version: [\"3.9\"]\n        cloud-provider: [aws]\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Decrypt parameters.py\n        shell: bash\n        run: .github/scripts/decrypt_parameters.sh\n        env:\n          PARAMETER_PASSWORD: ${{ secrets.PARAMETER_PASSWORD }}\n          CLOUD_PROVIDER: ${{ matrix.cloud-provider }}\n      - name: Download wheel(s)\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel\n          path: dist\n      - name: Show wheels downloaded\n        run: ls -lh dist\n        shell: bash\n      - name: Upgrade setuptools, pip and wheel\n        run: python -m pip install -U setuptools pip wheel\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Run all tests\n        run: python -m tox -e \"modin_extra_without_pandas_extra\"\n        env:\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          cloud_provider: ${{ matrix.cloud-provider }}\n          PYTEST_ADDOPTS: --color=yes --tb=short\n          TOX_PARALLEL_NO_SPINNER: 1\n        shell: bash\n      - name: Combine coverages\n        run: python -m tox -e coverage --skip-missing-interpreters false\n        shell: bash\n      - uses: actions/upload-artifact@v4\n        with:\n          name: coverage_modin_extra_without_pandas_extra\n          path: |\n            .tox/.coverage\n            .tox/coverage.xml\n\n  combine-coverage:\n    if: ${{ success() || failure() }}\n    name: Combine coverage\n    needs:\n      - test\n      - test-local-testing\n      - test-enable-cte-optimization\n      - test-snowpark-pandas\n      - test-modin-extra-without-pandas-extra\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/download-artifact@v4\n        with:\n          path: artifacts\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip\n      - name: Install tox\n        run: python -m pip install tox\n      - name: Collect all coverages to one dir\n        run: |\n          python -c '\n          from pathlib import Path\n          import shutil\n\n          src_dir = Path(\"artifacts\")\n          dst_dir = Path(\".\") / \".tox\"\n          dst_dir.mkdir()\n          for src_file in src_dir.glob(\"*/.coverage\"):\n              dst_file = dst_dir / \".coverage.{}\".format(src_file.parent.name[9:])\n              print(\"{} copy to {}\".format(src_file, dst_file))\n              shutil.copy(str(src_file), str(dst_file))'\n      - name: Combine coverages\n        run: python -m tox -e coverage\n      - name: Publish html coverage\n        uses: actions/upload-artifact@v4\n        with:\n          name: overall_cov_html\n          path: .tox/htmlcov\n      - name: Publish xml coverage\n        uses: actions/upload-artifact@v4\n        with:\n          name: overall_cov_xml\n          path: .tox/coverage.xml\n      - uses: codecov/codecov-action@v4\n        with:\n          file: .tox/coverage.xml\n          token: ${{ secrets.CODECOV_TOKEN }}\n      - name: Show coverage diff\n        run: |\n          pip install diff_cover\n          git log -n 5 --pretty=oneline\n          git fetch -f origin main:main || true\n          diff-cover .tox/coverage.xml --compare-branch=main --fail-under=95\n\n  doc:\n    needs: lint\n    name: Build Doc\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n      - name: Upgrade setuptools and pip\n        run: python -m pip install -U setuptools pip\n      - name: Install Snowpark\n        run: python -m pip install \".[modin-development]\"\n      - name: Install Sphinx\n        run: python -m pip install sphinx\n      - name: Build document\n        working-directory: docs\n        # treat warning as failure but complete the entire process\n        run: |\n          make clean\n          make html SPHINXOPTS=\"-W --keep-going\"\n      - name: Upload html files\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs\n          path: docs/build/html\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:15:03.020214", "created_at": "2022-05-26T02:00:48+02:00", "updated_at": "2024-07-03T22:46:05+02:00", "name": ".github/workflows/python-publish.yml", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:15:04.543618", "created_at": "2022-10-24T22:38:38+02:00", "updated_at": "2023-05-11T01:58:43+02:00", "name": "Run semgrep checks", "path": ".github/workflows/semgrep.yml", "contents": "---\nname: Run semgrep checks\n\non:\n  pull_request:\n    branches: [main]\n\npermissions:\n  contents: read\n\njobs:\n  run-semgrep-reusable-workflow:\n    uses: snowflakedb/reusable-workflows/.github/workflows/semgrep-v2.yml@main\n    secrets:\n      token: ${{ secrets.SEMGREP_APP_TOKEN }}\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:15:05.812209", "created_at": "2023-03-07T18:27:43+01:00", "updated_at": "2023-03-07T18:27:43+01:00", "name": "Snyk Issue", "path": ".github/workflows/snyk-issue.yml", "contents": "name: Snyk Issue\n\non:\n  schedule:\n    - cron: '* */12 * * *'\n\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n\nconcurrency: snyk-issue\n\njobs:\n  snyk:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Action\n      uses: actions/checkout@v4\n      with:\n        repository: snowflakedb/whitesource-actions\n        token: ${{ secrets.whitesource_action_token }}\n        path: whitesource-actions\n    - name: Set Env\n      run: echo \"repo=$(basename $GITHUB_REPOSITORY)\" >> $GITHUB_ENV\n    - name: Jira Creation\n      uses: ./whitesource-actions/snyk-issue\n      with:\n        snyk_org: ${{ secrets.snyk_org_id_public_repo }}\n        snyk_token:  ${{ secrets.snyk_github_integration_token_public_repo }}\n        jira_token: ${{ secrets.jira_token_public_repo }}\n      env:\n        gh_token: ${{ secrets.github_token }}\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:15:07.109831", "created_at": "2023-03-01T20:15:02+01:00", "updated_at": "2023-03-07T18:27:43+01:00", "name": "Snyk PR", "path": ".github/workflows/snyk-pr.yml", "contents": "name: Snyk PR\non:\n  pull_request:\n    branches: '**'\n\n\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n\njobs:\n  snyk:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.pull_request.user.login == 'sfc-gh-snyk-sca-sa' }}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.ref }}\n        fetch-depth: 0\n\n    - name: Checkout Action\n      uses: actions/checkout@v4\n      with:\n        repository: snowflakedb/whitesource-actions\n        token: ${{ secrets.whitesource_action_token }}\n        path: whitesource-actions\n\n    - name: Snyk Pull Request Scan Check\n      uses: ./whitesource-actions/snyk-pr\n      env:\n        pr_title: ${{ github.event.pull_request.title }}\n      with:\n        jira_token: ${{ secrets.jira_token_public_repo }}\n        gh_token: ${{ secrets.github_token }}\n        amend: false\n", "state": "active", "repository": "snowflakedb/snowpark-python"}
{"mined_at": "2024-07-15T17:15:09.199516", "created_at": "2022-04-02T23:35:14+02:00", "updated_at": "2022-04-02T23:35:14+02:00", "name": "New version check", "path": ".github/workflows/new_version_check.yml", "contents": "name: New version check\n\non:\n  # enabling manual trigger\n  workflow_dispatch:\n  # running every hour\n  schedule:\n    - cron: '48 * * * *'\n\njobs:\n  check:\n    # do not run in forks\n    if: github.repository == 'ungoogled-software/ungoogled-chromium'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set maintainer groups\n        id: maintainers\n        run: |\n          echo \"all=@networkException\" >> $GITHUB_OUTPUT\n          echo \"linux=@rany2 @clickot @emilylange\" >> $GITHUB_OUTPUT\n          echo \"windows=\" >> $GITHUB_OUTPUT\n          echo \"macos=\" >> $GITHUB_OUTPUT\n      - name: Get the latest Chromium version\n        id: latest-version\n        run: |\n          set -eo pipefail\n          BASE_URL=\"https://versionhistory.googleapis.com/v1/chrome/platforms\"\n          END_URL=\"channels/stable/versions/all/releases?filter=endtime=none,fraction>=0.5&order_by=version%20desc\"\n          JQ_FILTER='if .releases | select(type==\"array\") | length > 0 then .releases | first | .version else \"null\" end'\n          for platform in linux win mac; do\n            printf %s \"${platform}_version=\" >> $GITHUB_OUTPUT\n            curl -sf \"${BASE_URL}/${platform}/${END_URL}\" | jq -re \"${JQ_FILTER}\" >> $GITHUB_OUTPUT\n          done\n      - uses: actions/checkout@v3\n      - name: Create Issue for all platforms\n        if: |\n          contains(steps.latest-version.outputs.win_version, steps.latest-version.outputs.mac_version) &&\n          contains(steps.latest-version.outputs.mac_version, steps.latest-version.outputs.linux_version) &&\n          !contains(steps.latest-version.outputs.linux_version, 'null')\n        uses: dblock/create-a-github-issue@v3\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VERSION: ${{ steps.latest-version.outputs.linux_version }}\n          PLATFORM: all platforms\n          NOTIFY_MAINTAINERS: \"${{ steps.maintainers.outputs.all }} ${{ steps.maintainers.outputs.linux }} ${{ steps.maintainers.outputs.windows }} ${{ steps.maintainers.outputs.macos }}\"\n        with:\n          update_existing: false\n          search_existing: all\n          filename:  .github/ISSUE_TEMPLATE/create-an--updating-to-chromium-x-x-x-x-.md\n      - name: Create Issue for Linux\n        if: |\n          (\n            !contains(steps.latest-version.outputs.win_version, steps.latest-version.outputs.mac_version) ||\n            !contains(steps.latest-version.outputs.mac_version, steps.latest-version.outputs.linux_version)\n          ) && !contains(steps.latest-version.outputs.linux_version, 'null')\n        uses: dblock/create-a-github-issue@v3\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VERSION: ${{ steps.latest-version.outputs.linux_version }}\n          PLATFORM: Linux\n          NOTIFY_MAINTAINERS: \"${{ steps.maintainers.outputs.all }} ${{ steps.maintainers.outputs.linux }}\"\n        with:\n          update_existing: false\n          search_existing: all\n          filename:  .github/ISSUE_TEMPLATE/create-an--updating-to-chromium-x-x-x-x-.md\n      - name: Create Issue for macOS\n        if: |\n          (\n            !contains(steps.latest-version.outputs.win_version, steps.latest-version.outputs.mac_version) ||\n            !contains(steps.latest-version.outputs.mac_version, steps.latest-version.outputs.linux_version)\n          ) && !contains(steps.latest-version.outputs.mac_version, 'null')\n        uses: dblock/create-a-github-issue@v3\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VERSION: ${{ steps.latest-version.outputs.mac_version }}\n          PLATFORM: macOS\n          NOTIFY_MAINTAINERS: \"${{ steps.maintainers.outputs.all }} ${{ steps.maintainers.outputs.macos }}\"\n        with:\n          update_existing: false\n          search_existing: all\n          filename:  .github/ISSUE_TEMPLATE/create-an--updating-to-chromium-x-x-x-x-.md\n      - name: Create Issue for Windows\n        if: |\n          (\n            !contains(steps.latest-version.outputs.win_version, steps.latest-version.outputs.mac_version) ||\n            !contains(steps.latest-version.outputs.mac_version, steps.latest-version.outputs.linux_version)\n          ) && !contains(steps.latest-version.outputs.win_version, 'null')\n        uses: dblock/create-a-github-issue@v3\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VERSION: ${{ steps.latest-version.outputs.win_version }}\n          PLATFORM: Windows\n          NOTIFY_MAINTAINERS: \"${{ steps.maintainers.outputs.all }} ${{ steps.maintainers.outputs.windows }}\"\n        with:\n          update_existing: false\n          search_existing: all\n          filename:  .github/ISSUE_TEMPLATE/create-an--updating-to-chromium-x-x-x-x-.md\n", "state": "active", "repository": "ungoogled-software/ungoogled-chromium"}
{"mined_at": "2024-07-15T17:15:10.248827", "created_at": "2021-03-31T20:03:00+02:00", "updated_at": "2021-03-31T20:03:00+02:00", "name": "Create new empty release", "path": ".github/workflows/release-on-tag.yml", "contents": "name: Create new empty release\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build:\n    name: Create Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@latest\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: ${{ github.ref }}\n          draft: false\n          prerelease: false\n", "state": "active", "repository": "ungoogled-software/ungoogled-chromium"}
{"mined_at": "2024-07-15T17:15:11.288231", "created_at": "2021-11-04T23:35:16+01:00", "updated_at": "2021-11-04T23:39:39+01:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and PRs'\n\non:\n    schedule:\n        - cron: '30 1 * * *'\n\npermissions:\n    issues: write\n    pull-requests: write\n\njobs:\n    stale:\n        runs-on: ubuntu-latest\n        steps:\n          - uses: actions/stale@v6\n            with:\n                exempt-all-milestones: true\n                any-of-labels: 'need info'\n                days-before-stale: 30\n                days-before-close: 7\n                stale-issue-message: \"This issue has been automatically marked as stale as there has been no recent activity in response to our request for more information. Please respond so that we can proceed with this issue.\"\n                close-issue-message: \"This issue has been automatically closed as sufficient information hasn't been provided on the issue for further actions to be taken. Feel free to add more information.\"\n", "state": "active", "repository": "ungoogled-software/ungoogled-chromium"}
{"mined_at": "2024-07-15T17:15:13.386116", "created_at": "2021-01-03T20:28:51+01:00", "updated_at": "2024-05-05T15:37:04+02:00", "name": "Linter (Black)", "path": ".github/workflows/linter.yml", "contents": null, "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:14.444410", "created_at": "2021-01-03T20:28:51+01:00", "updated_at": "2024-05-05T15:37:04+02:00", "name": "Tests (unit)", "path": ".github/workflows/tests.yml", "contents": null, "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:15.482232", "created_at": "2021-01-09T18:35:58+01:00", "updated_at": "2024-05-05T15:37:04+02:00", "name": "Security tests", "path": ".github/workflows/security.yml", "contents": null, "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:16.531713", "created_at": "2021-05-03T17:25:16+02:00", "updated_at": "2024-05-05T15:37:05+02:00", "name": "Tests (acceptance)", "path": ".github/workflows/acceptance.yml", "contents": null, "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:17.580317", "created_at": "2022-05-30T09:46:48+02:00", "updated_at": "2022-05-30T09:46:48+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:18.654432", "created_at": "2024-05-11T10:50:04+02:00", "updated_at": "2024-05-17T10:29:07+02:00", "name": "Main branch", "path": ".github/workflows/_main.yml", "contents": "name: Main branch\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n\n  build-docs:\n    uses: ./.github/workflows/docs.yml\n    with:\n      BRANCH_REF: ${{ github.ref }}\n\n  linters:\n    uses: ./.github/workflows/linters.yml\n    with:\n      BRANCH_REF: ${{ github.ref }}\n\n  tests-standard:\n    uses: ./.github/workflows/tests-standard.yml\n    with:\n      BRANCH_REF: ${{ github.ref }}\n\n  tests-premium:\n    uses: ./.github/workflows/tests-premium.yml\n    with:\n      BRANCH_REF: ${{ github.ref }}\n    secrets: inherit\n\n  tests-ultimate:\n    uses: ./.github/workflows/tests-ultimate.yml\n    with:\n      BRANCH_REF: ${{ github.ref }}\n    secrets: inherit", "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:19.701697", "created_at": "2024-05-11T10:50:04+02:00", "updated_at": "2024-05-11T10:50:04+02:00", "name": "Linter and tests (PRs)", "path": ".github/workflows/_prs.yml", "contents": "name: Linter and tests (PRs)\n\non:\n  pull_request_target:\n    branches:\n      - main\n\njobs:\n\n  approve:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Approve\n        run: echo For security reasons, all pull requests need to be approved first before running the Premium Acceptance Tests.\n\n  codeql:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: python\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n\n  build-docs:\n    uses: ./.github/workflows/docs.yml\n    with:\n      branch_ref: ${{ github.event.pull_request.head.sha }}\n\n  linters:\n    uses: ./.github/workflows/linters.yml\n    with:\n      branch_ref: ${{ github.event.pull_request.head.sha }}\n\n  tests-standard:\n    uses: ./.github/workflows/tests-standard.yml\n    with:\n      branch_ref: ${{ github.event.pull_request.head.sha }}\n\n  # you cannot use reusable workflows with an \"environment\" key,\n  # so we have to copy \"tests-premium.yml\" here :(\n  acceptance-tests-premium:\n    runs-on: ubuntu-latest\n\n    needs: [ approve ] # Require the first step to finish\n    environment:\n      name: Integrate Pull Request # Our dummy environment\n\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [3.12]\n      fail-fast : false\n    steps:\n      - name: Checkout code from the PR\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          fetch-depth: 2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install test dependencies\n        run: |\n          pip install wheel\n          pip install -e .[test]\n      - name: Run acceptance tests that require premium license\n        env:\n          GITLAB_EE_LICENSE: ${{ secrets.GITLAB_EE_LICENSE }}\n        run: |\n          ./dev/run_gitlab_in_docker.sh\n          pytest --cov=. --cov-report=xml --durations=0 --reruns 3 --reruns-delay 10 tests/acceptance/premium\n      - name: Upload coverage to Codecov\n        uses: Wandalen/wretry.action@v1\n        with:\n          action: codecov/codecov-action@v3\n          with: |\n            name: codecov-acceptance-test-premium\n            flags: integration\n            fail_ci_if_error: true\n            override_pr: ${{ github.event.number }}\n            override_commit: ${{ github.event.pull_request.head.sha }}\n            token: 3e6d6cb5-fcdb-41ea-b134-f6c5856363e9\n          attempt_limit: 5\n          attempt_delay: 10000\n\n  # you cannot use reusable workflows with an \"environment\" key,\n  # so we have to copy \"tests-ultimate.yml\" here :(\n  acceptance-tests-ultimate:\n    runs-on: ubuntu-latest\n\n    needs: [ approve ] # Require the first step to finish\n    environment:\n      name: Integrate Pull Request # Our dummy environment\n\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [3.12]\n      fail-fast : false\n    steps:\n      - name: Checkout code from the PR\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          fetch-depth: 2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install test dependencies\n        run: |\n          pip install wheel\n          pip install -e .[test]\n      - name: Run acceptance tests that require Ultimate license (OPTIONAL)\n        continue-on-error: true # Ultimate License via link only lasts for 90days so may need renewing, don't block other PRs\n        env:\n          # requested via: https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributing-to-the-gitlab-enterprise-edition-ee\n          # https://gitlab.com/gitlab-org/developer-relations/contributor-success/team-task/-/issues\n          GITLAB_EE_LICENSE: ${{ secrets.GITLAB_EE_ULTIMATE_LICENSE }}\n        run: |\n          ./dev/run_gitlab_in_docker.sh\n          pytest --cov=. --cov-report=xml --durations=0 --reruns 3 --reruns-delay 10 tests/acceptance/ultimate\n      - name: Upload coverage to Codecov\n        uses: Wandalen/wretry.action@v1\n        with:\n          action: codecov/codecov-action@v3\n          with: |\n            name: codecov-acceptance-test-ultimate\n            flags: integration\n            override_pr: ${{ github.event.number }}\n            override_commit: ${{ github.event.pull_request.head.sha }}\n            token: 3e6d6cb5-fcdb-41ea-b134-f6c5856363e9\n          attempt_limit: 5\n          attempt_delay: 10000\n", "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:20.838720", "created_at": "2024-05-11T10:50:04+02:00", "updated_at": "2024-05-16T13:13:58+02:00", "name": "Releases", "path": ".github/workflows/_releases.yml", "contents": "name: Releases\n\non:\n  push:\n    tags:\n      - 'v*'\n\npermissions:\n  contents: write\n  packages: write\n\njobs:\n\n  linters:\n    uses: ./.github/workflows/linters.yml\n    with:\n      BRANCH_REF: ${{ github.ref }}\n\n  tests-standard:\n    uses: ./.github/workflows/tests-standard.yml\n    with:\n      BRANCH_REF: ${{ github.ref }}\n\n  tests-premium:\n    uses: ./.github/workflows/tests-premium.yml\n    with:\n      BRANCH_REF: ${{ github.ref }}\n    secrets: inherit\n\n  tests-ultimate:\n    uses: ./.github/workflows/tests-ultimate.yml\n    with:\n      BRANCH_REF: ${{ github.ref }}\n    secrets: inherit\n\n  publish-docs:\n    needs:\n      - linters\n      - tests-standard\n      - tests-premium\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.ref }}\n          fetch-depth: 2\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.12\n      - name: Install dependencies\n        run: |\n          pip install -e .[docs]\n      - name: Build docs\n        run: |\n          mkdocs build\n      - name: Deploy 🚀\n        uses: JamesIves/github-pages-deploy-action@v4.4.1\n        with:\n          branch: gh-pages\n          folder: site\n\n  publish-to-github:\n    needs:\n      - linters\n      - tests-standard\n      - tests-premium\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create release in GitHub\n        uses: ncipollo/release-action@v1\n        with:\n          name: ${{ github.ref }}\n          body: \"(this is a placeholder, it will be replaced with a changelog contents)\"\n          # This token is provided by Actions, you do not need to create your own token\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  publish-to-pypi:\n    needs:\n      - linters\n      - tests-standard\n      - tests-premium\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.12\n      - name: Build\n        run: |\n          pip install wheel setuptools\n          python setup.py build sdist bdist_wheel\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.5.0\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n  publish-to-ghcr:\n    needs:\n      - linters\n      - tests-standard\n      - tests-premium\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.12\n      - name: Install dependencies\n        run: |\n          pip install wheel\n          pip install packaging\n      - name: Get the version from the tag\n        run: echo \"VERSION=${GITHUB_REF/refs\\/tags\\//}\" >> $GITHUB_ENV\n      - name: Wait for PyPI release\n        run: |\n          pip download gitlabform==${{ env.VERSION }} > /dev/null\n          while [ $? -ne 0 ]; do sleep 10; pip3 download gitlabform==${{ env.VERSION }} > /dev/null ; done\n        shell: bash {0}\n      - name: Docker metadata\n        id: metadata\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ghcr.io/gitlabform/gitlabform\n          flavor: |\n            latest=auto\n          tags: |\n            type=pep440,pattern={{version}}\n            type=pep440,pattern={{major}}.{{minor}}\n            type=pep440,pattern={{major}}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      # gitlabform/gitlabform image is going to be here\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          # This token is provided by Actions, you do not need to create your own token\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Publish image to registries\n        uses: docker/build-push-action@v3\n        with:\n          push: true\n          context: .\n          file: ./dev/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          tags: ${{ steps.metadata.outputs.tags }}\n          labels: ${{ steps.metadata.outputs.labels }}\n", "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:21.850264", "created_at": "2024-05-11T10:50:04+02:00", "updated_at": "2024-05-11T10:50:04+02:00", "name": "Linters", "path": ".github/workflows/linters.yml", "contents": "name: Linters\n\non:\n  workflow_call:\n    inputs:\n      BRANCH_REF:\n        type: string\n        required: true\n\njobs:\n  black-formatting:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.BRANCH_REF }}\n      - name: Black Code Formatter\n        uses: psf/black@stable\n        with:\n          options: \"--check\"\n          src: \".\"\n\n  types:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.BRANCH_REF }}\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.12\n      - name: Install test dependencies\n        run: |\n          pip install wheel\n          pip install -e .[test]\n      - name: Run mypy\n        run: |\n          mypy . || true\n          mypy --install-types --non-interactive\n          mypy .\n", "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:23.066568", "created_at": "2024-05-11T10:50:04+02:00", "updated_at": "2024-05-11T10:50:04+02:00", "name": "Tests premium", "path": ".github/workflows/tests-premium.yml", "contents": "name: Tests premium\n\non:\n  workflow_call:\n    inputs:\n      BRANCH_REF:\n        type: string\n        required: true\n\njobs:\n  acceptance-tests-premium:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [3.12]\n      fail-fast : false\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.BRANCH_REF }}\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install test dependencies\n        run: |\n          pip install wheel\n          pip install -e .[test]\n      - name: Run acceptance tests that require premium license\n        env:\n          GITLAB_EE_LICENSE: ${{ secrets.GITLAB_EE_LICENSE }}\n        run: |\n          ./dev/run_gitlab_in_docker.sh\n          pytest --cov=. --cov-report=xml --durations=0 --reruns 3 --reruns-delay 10 tests/acceptance/premium\n      - name: Upload coverage to Codecov\n        uses: Wandalen/wretry.action@v1\n        with:\n          action: codecov/codecov-action@v3\n          with: |\n            name: codecov-acceptance-test-premium\n            flags: integration\n            fail_ci_if_error: true\n            token: 3e6d6cb5-fcdb-41ea-b134-f6c5856363e9\n          attempt_limit: 5\n          attempt_delay: 10000\n", "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:24.190693", "created_at": "2024-05-11T10:50:04+02:00", "updated_at": "2024-05-11T10:50:04+02:00", "name": "Tests standard", "path": ".github/workflows/tests-standard.yml", "contents": "name: Tests standard\n\non:\n  workflow_call:\n    inputs:\n      BRANCH_REF:\n        type: string\n        required: true\n\njobs:\n\n  acceptance-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n      fail-fast : false\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.BRANCH_REF }}\n          fetch-depth: 2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install test dependencies\n        run: |\n          pip install wheel\n          pip install -e .[test]\n      - name: Run acceptance tests\n        run: |\n          ./dev/run_gitlab_in_docker.sh\n          pytest --cov=. --cov-report=xml --durations=0 --reruns 3 --reruns-delay 10 tests/acceptance/standard\n      - name: Upload coverage to Codecov\n        uses: Wandalen/wretry.action@v1\n        with:\n          action: codecov/codecov-action@v3\n          with: |\n            name: codecov-acceptance-test-standard\n            flags: integration\n            fail_ci_if_error: true\n            token: 3e6d6cb5-fcdb-41ea-b134-f6c5856363e9\n          attempt_limit: 5\n          attempt_delay: 10000\n\n  unit-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n      fail-fast : false\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.BRANCH_REF }}\n          fetch-depth: 2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install test dependencies\n        run: |\n          pip install wheel\n          pip install -e .[test]\n      - name: Run unit tests\n        run: |\n          pytest --cov=. --cov-report=xml tests/unit\n      - name: Upload coverage to Codecov\n        uses: Wandalen/wretry.action@v1\n        with:\n          action: codecov/codecov-action@v3\n          with: |\n            flags: unittests\n            fail_ci_if_error: true\n            token: 3e6d6cb5-fcdb-41ea-b134-f6c5856363e9\n          attempt_limit: 5\n          attempt_delay: 10000\n\n  security-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.BRANCH_REF }}\n          fetch-depth: 2\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.12\n      - name: Install dependencies\n        run: |\n          pip install wheel\n          pip install bandit\n      - name: Run bandit\n        run: |\n          bandit -r gitlabform\n\n  smoke-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n      fail-fast : false\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.BRANCH_REF }}\n          fetch-depth: 2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install runtime dependencies\n        run: |\n          pip install wheel\n          pip install -e .\n      - name: Check if the app starts\n        run: |\n          gitlabform -V\n", "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:25.300255", "created_at": "2024-05-24T12:13:39+02:00", "updated_at": "2024-05-24T12:13:39+02:00", "name": "Tests Ultimate", "path": ".github/workflows/tests-ultimate.yml", "contents": "name: Tests Ultimate\n\non:\n  workflow_call:\n    inputs:\n      BRANCH_REF:\n        type: string\n        required: true\n\njobs:\n  acceptance-tests-ultimate:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [3.12]\n      fail-fast : false\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.BRANCH_REF }}\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install test dependencies\n        run: |\n          pip install wheel\n          pip install -e .[test]\n      - name: Run acceptance tests that require Ultimate license (OPTIONAL)\n        continue-on-error: true # Ultimate License via link only lasts for 90days so may need renewing, don't block other PRs\n        env:\n          # requested via: https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributing-to-the-gitlab-enterprise-edition-ee\n          # https://gitlab.com/gitlab-org/developer-relations/contributor-success/team-task/-/issues\n          GITLAB_EE_LICENSE: ${{ secrets.GITLAB_EE_ULTIMATE_LICENSE }}\n        run: |\n          ./dev/run_gitlab_in_docker.sh\n          pytest --durations=0 --reruns 3 --reruns-delay 10 tests/acceptance/ultimate\n      - name: Upload coverage to Codecov\n        uses: Wandalen/wretry.action@v1\n        continue-on-error: true # Ultimate License via link only lasts for 90days so may need renewing, don't block other PRs\n        with:\n          action: codecov/codecov-action@v3\n          with: |\n            name: codecov-acceptance-test-ultimate\n            flags: integration\n            token: 3e6d6cb5-fcdb-41ea-b134-f6c5856363e9\n          attempt_limit: 5\n          attempt_delay: 10000", "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:26.443052", "created_at": "2024-05-30T15:48:26+02:00", "updated_at": "2024-05-30T15:48:26+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non:\n  workflow_call:\n    inputs:\n      BRANCH_REF:\n        type: string\n        required: true\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.BRANCH_REF }}\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.12\n      - name: Install dependencies\n        run: |\n          pip install -e .[docs]\n      - name: Build docs\n        run: |\n          mkdocs build", "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:27.565151", "created_at": "2024-07-15T13:30:14+02:00", "updated_at": "2024-07-15T13:30:14+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "gitlabform/gitlabform"}
{"mined_at": "2024-07-15T17:15:29.822814", "created_at": "2022-10-18T17:27:26+02:00", "updated_at": "2022-10-18T17:27:26+02:00", "name": "Build Python Package", "path": ".github/workflows/build-ast.yml", "contents": "name: Build Python Package\n\non:\n  workflow_call:\n\ndefaults:\n  run:\n    working-directory: source/openqasm\n\njobs:\n  build:\n    name: Build wheels\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        # This is pure Python, so it shouldn't matter what version we use to\n        # build the sdist and wheel.\n\n      - name: Update pip\n        run: pip install --upgrade pip\n\n      - uses: actions/setup-java@v4\n        with:\n          java-version: '15'\n          distribution: 'adopt'\n\n      - name: Generate all ANTLR files\n        run: |\n          set -e\n\n          antlr_jar_dir=\"$PWD/.antlr_jars\"\n          antlr_out_dir=\"$PWD/openqasm3/_antlr\"\n          mkdir -p \"${antlr_jar_dir}\"\n          mkdir -p \"${antlr_out_dir}\"\n\n          # Parse the full ANTLR versions we need.  The 'sed' strips out\n          # comments from the file.  We have to use `<<<` redirection rather\n          # than pipelining to avoid running in a subshell, which would prevent\n          # use from modifying the `antlr_versions` variable in the loop.\n          declare -a antlr_versions\n          while read -r line; do\n            if [ -n \"$line\" ]; then\n              antlr_versions+=(\"$line\")\n            fi\n          done <<< $(sed 's/#.*//g' ANTLR_VERSIONS.txt);\n\n          # Download ANTLR.\n          pushd \"${antlr_jar_dir}\"\n          for version_string in \"${antlr_versions[@]}\"; do\n            curl -LO \"https://www.antlr.org/download/antlr-${version_string}-complete.jar\"\n          done\n          popd\n\n          # Build the ANTLR files.\n          pushd ${{ github.workspace }}/source/grammar\n          for version_string in \"${antlr_versions[@]}\"; do\n            echo \"Handling version ${version_string}\"\n            IFS=. read -ra version <<< \"${version_string}\"\n            out_dir=\"${antlr_out_dir}/_${version[0]}_${version[1]}\"\n            mkdir -p \"$out_dir\"\n            java -Xmx500M -jar \"${antlr_jar_dir}/antlr-${version_string}-complete.jar\" -o \"$out_dir\" -Dlanguage=Python3 -visitor qasm3Lexer.g4 qasm3Parser.g4\n          done\n          popd\n\n          # Replace version requirements in setup.cfg.\n          python tools/update_antlr_version_requirements.py setup.cfg ANTLR_VERSIONS.txt\n\n      - name: Install Python build dependencies\n        run: pip install --upgrade build\n\n      - name: Build package\n        run: python -m build --wheel --sdist .\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: openqasm3-python-wheel\n          path: ./source/openqasm/dist/*.whl\n          if-no-files-found: error\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: openqasm3-python-sdist\n          path: ./source/openqasm/dist/*.tar.gz\n          if-no-files-found: error\n", "state": "active", "repository": "openqasm/openqasm"}
{"mined_at": "2024-07-15T17:15:30.950397", "created_at": "2020-11-11T13:30:19+01:00", "updated_at": "2020-11-11T13:30:19+01:00", "name": "Build Live Version", "path": ".github/workflows/build-live-version.yml", "contents": "name: Build Live Version\n\non:\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -r requirements.txt\n\n      - name: Generate HTML\n        run: make html\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: html\n          path: build/html\n", "state": "active", "repository": "openqasm/openqasm"}
{"mined_at": "2024-07-15T17:15:32.074713", "created_at": "2022-10-18T17:32:30+02:00", "updated_at": "2022-10-18T17:32:30+02:00", "name": "Deploy Reference Python Package", "path": ".github/workflows/deploy-ast.yml", "contents": "name: Deploy Reference Python Package\n\non:\n  push:\n    tags:\n      - 'ast-py/v*'\n\njobs:\n  build:\n    uses: ./.github/workflows/build-ast.yml\n\n  deploy:\n    name: Deploy to PyPI\n    needs: build\n    runs-on: ubuntu-latest\n\n    steps:\n      # There's deliberately no check-out step here, because we don't want the\n      # checkout anywhere near us complicating matters; we're just trying to\n      # ensure that the pre-built wheel works, and its version matches what we\n      # expect from the tag.\n\n      - uses: actions/setup-python@v5\n        with:\n          # The version checker uses 'importlib.metadata' which is Python 3.10+.\n          python-version: '3.10'\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: openqasm3-python-wheel\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: openqasm3-python-sdist\n\n      - name: Verify package\n        run: |\n          set -e\n          python3 -mvenv .venv\n          source .venv/bin/activate\n\n          python3 -mpip install -U pip wheel\n          python3 -mpip install openqasm3-*.whl\n\n          # Extract the version information from the end of the tag.\n          tag_version=${GITHUB_REF#refs/tags/ast-py/v}\n          # We could get this from the wheel filename too, but it's easier to\n          # test with Python built-ins.\n          wheel_version=$(python3 -c 'from importlib.metadata import version; print(version(\"openqasm3\"))')\n\n          if [[ \"$tag_version\" != \"$wheel_version\" ]]; then\n            echo \"Version mismatch: tag says '$tag_version', wheel says '$wheel_version'\" >&2\n            exit 1\n          fi\n\n          # Last-ditch validity check that the wheel actually imports.\n          python3 -c 'import openqasm3'\n\n      - name: Upload to PyPI\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.OPENQASM_BOT_PYPI_TOKEN }}\n        run: |\n          set -e\n          source .venv/bin/activate\n\n          python3 -mpip install -U twine\n          twine upload openqasm3-*.whl openqasm3-*.tar.gz\n", "state": "active", "repository": "openqasm/openqasm"}
{"mined_at": "2024-07-15T17:15:33.195990", "created_at": "2024-01-17T15:55:08+01:00", "updated_at": "2024-01-17T15:55:08+01:00", "name": "Publish All Versions", "path": ".github/workflows/publish-all-versions.yml", "contents": "name: Publish All Versions\n\non:\n  push:\n    branches: [ main, 'stable/**' ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -c constraints.txt -r requirements.txt\n\n      - name: Generate HTML\n        run: |\n          ./buildPublishable.sh main ./publish_build remotes/origin\n\n      - name: Deploy 🚀\n        uses: JamesIves/github-pages-deploy-action@v4.6.1\n        with:\n          token: ${{ secrets.GHPAGES_DEPLOY_TOKEN }}\n          repository-name: openqasm/openqasm.github.io\n          branch: main\n          folder: publish_build/\n", "state": "active", "repository": "openqasm/openqasm"}
{"mined_at": "2024-07-15T17:15:34.273063", "created_at": "2021-08-31T23:12:45+02:00", "updated_at": "2023-05-11T01:38:58+02:00", "name": "Reference Python Package", "path": ".github/workflows/tests-ast.yml", "contents": "name: Reference Python Package\n\non:\n  [push, pull_request]\n\njobs:\n  build:\n      uses: ./.github/workflows/build-ast.yml\n\n  tests:\n    name: ANTLR AST tests\n    needs: build\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # Just using minimum and maximum to avoid exploding the matrix.\n        python-version: ['3.7', '3.12']\n        antlr-version: ['4.7', '4.13']\n    defaults:\n      run:\n        working-directory: source/openqasm\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: openqasm3-python-wheel\n          path: ./source/openqasm/\n\n      - name: Install package\n        run: |\n          set -e\n          pip install --upgrade pip wheel\n          pip install -r requirements-dev.txt\n          pip install 'antlr4_python3_runtime==${{ matrix.antlr-version }}'\n          pip install \"$(echo openqasm3-*.whl)[all]\"\n\n      - name: Run tests\n        run: |\n          # Swap into the testing directory so the imported `openqasm3` is the\n          # wheel version not the current-directory version.  The\n          # `--import-mode=importlib` stops pytest from modifying the path to\n          # accidentally put the checked-out version (with no ANTLR) back.\n          cd tests\n          pytest -vv --color=yes --import-mode=importlib .\n\n  style:\n    name: Check AST style\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: source/openqasm\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: Prepare environment\n        run: |\n          set -e\n          python -m pip install --upgrade pip wheel\n          python -m pip install -r requirements-dev.txt\n\n      - name: Check formatting\n        run: black --check --diff openqasm3 tests\n\n      - name: Check lint\n        run: pylint openqasm3 tests\n\n  docs:\n    name: AST documentation build\n    needs: build\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: source/openqasm\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: openqasm3-python-wheel\n          path: ./source/openqasm/\n\n      - name: Install package\n        run: |\n          set -e\n          pip install --upgrade pip wheel\n          pip install -r requirements-dev.txt\n          pip install \"$(echo openqasm3-*.whl)[all]\"\n\n      - name: Build documentation\n        working-directory: source/openqasm/docs\n        run: make html\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: openqasm3-html-documentation\n          path: source/openqasm/docs/_build/html/*\n          if-no-files-found: error\n", "state": "active", "repository": "openqasm/openqasm"}
{"mined_at": "2024-07-15T17:15:35.340817", "created_at": "2021-08-12T15:07:01+02:00", "updated_at": "2021-08-12T22:08:52+02:00", "name": "Tests (Grammar)", "path": ".github/workflows/tests-grammar.yml", "contents": "name: Tests (Grammar)\n\non:\n  [push, pull_request]\n\njobs:\n  tests:\n    name: ANTLR grammar tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        antlr-version: ['4.9.2']\n    defaults:\n      run:\n        working-directory: source/grammar\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n\n      - uses: actions/setup-java@v4\n        with:\n          java-version: '15'\n          distribution: 'adopt'\n\n      - name: Update pip\n        run: python -mpip install --upgrade pip\n\n      - name: Install ANTLR4\n        run: curl -O https://www.antlr.org/download/antlr-${{ matrix.antlr-version }}-complete.jar\n\n      - name: Install ANTLR4 Python runtime\n        run: python -mpip install antlr4-python3-runtime==${{ matrix.antlr-version }}\n\n      - name: Generate grammar\n        run: java -Xmx500M -jar antlr-${{ matrix.antlr-version }}-complete.jar -o openqasm_reference_parser -Dlanguage=Python3 qasm3Lexer.g4 qasm3Parser.g4\n\n      - name: Install Python package\n        run: python -mpip install -e .[all]\n\n      - name: Run tests\n        run: pytest -vv --color=yes tests\n", "state": "active", "repository": "openqasm/openqasm"}
{"mined_at": "2024-07-15T17:15:36.475288", "created_at": "2024-01-11T17:04:49+01:00", "updated_at": "2024-01-17T15:55:08+01:00", "name": "Validate release notes", "path": ".github/workflows/validate-releasenotes.yml", "contents": "name: Validate release notes\non:\n  push:\n    branches:\n      - 'main'\n      - 'release/**'\n  pull_request:\n    types: [opened, reopened, labeled, unlabeled, synchronize]\njobs:\n  Build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - name: Install pip packages\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n      - name: Lint releasenotes\n        run: |\n          reno --rel-notes-dir spec_releasenotes/releasenotes lint\n          reno --rel-notes-dir ast_releasenotes/releasenotes lint\n      - name: Check releasenotes updated\n        if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'no-reno')\n        run: ./.github/renos_updated.sh\n", "state": "active", "repository": "openqasm/openqasm"}
{"mined_at": "2024-07-15T17:15:37.490804", "created_at": "2024-07-15T14:28:43+02:00", "updated_at": "2024-07-15T14:28:43+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "openqasm/openqasm"}
{"mined_at": "2024-07-15T17:15:39.655692", "created_at": "2020-11-10T12:40:58+01:00", "updated_at": "2020-11-14T13:32:22+01:00", "name": "Agent Docker Publisher", "path": ".github/workflows/agent-docker-publish.yml", "contents": "name: Agent Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: agent\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Run tests\n        run: |\n          if [ -f docker-compose.test.yml ]; then\n            docker-compose --file docker-compose.test.yml build\n            docker-compose --file docker-compose.test.yml run sut\n          else\n            docker buildx build . --file agent.Dockerfile\n          fi\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: ppc64le\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x\n          context: .\n          file: agent.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:40.674072", "created_at": "2020-11-14T13:32:22+01:00", "updated_at": "2023-05-09T00:11:35+02:00", "name": "AIXExplainer Docker Publisher", "path": ".github/workflows/aiexplainer-docker-publish.yml", "contents": null, "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:41.783873", "created_at": "2021-03-08T03:03:51+01:00", "updated_at": "2024-04-16T12:10:57+02:00", "name": "Alibi Explainer Docker Publisher", "path": ".github/workflows/alibiexplainer-docker-publish.yml", "contents": null, "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:43.032580", "created_at": "2020-12-10T01:07:12+01:00", "updated_at": "2021-04-14T08:58:14+02:00", "name": "ARTExplainer Docker Publisher", "path": ".github/workflows/artexplainer-docker-publish.yml", "contents": "name: ARTExplainer Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: art-explainer\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Run tests\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/artexplainer.Dockerfile\n          push: false\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/artexplainer.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:44.074562", "created_at": "2024-01-09T04:40:14+01:00", "updated_at": "2024-01-09T04:40:14+01:00", "name": "Automated Release", "path": ".github/workflows/automated-release.yml", "contents": "name: Automated Release\non:\n  workflow_dispatch:\n    inputs:\n      releaseBranch:\n        description: 'The existing branch name to release from, e.g. release-0.12'\n        required: true\n      releaseTag:\n        description: 'The release tag, e.g. v0.12.0-rc1'\n        required: true\n\njobs:\n  prepare-release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: 1.21\n\n      - name: Checkout source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ inputs.releaseBranch }}\n\n      - name: Install dependencies\n        run: |\n          go mod download\n\n      - name: Prepare Release\n        shell: bash\n        run: |\n          GOPATH=$(go env GOPATH)\n          KSERVE_PATH=$GOPATH/src/github.com/kserve/kserve\n          echo \"KSERVE_PATH=$KSERVE_PATH\" >> \"$GITHUB_ENV\"\n          mkdir -p $KSERVE_PATH\n          cp -a . $KSERVE_PATH\n          cd $KSERVE_PATH\n          export RELEASE_BRANCH=${{ inputs.releaseBranch }}\n          export RELEASE_TAG=${{ inputs.releaseTag }}\n          \n          # Bump Versions\n          make bump-version\n          ./hack/generate-install.sh $RELEASE_TAG\n          ./hack/python-release.sh\n          \n          # Update Release Branch and Push Tag\n          git diff\n          git config --global user.email \"terrytangyuan@gmail.com\"\n          git config --global user.name \"terrytangyuan\"\n          git add -A\n          git commit -m \"Prepare release\" || exit 0\n          git push\n\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          prerelease: ${{ contains(inputs.releaseTag, 'rc') }}\n          target_commitish: ${{ inputs.releaseBranch }}\n          tag_name: ${{ inputs.releaseTag }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:45.214886", "created_at": "2024-05-04T02:46:52+02:00", "updated_at": "2024-05-04T02:46:52+02:00", "name": "Cherry Pick On Comment", "path": ".github/workflows/comment-cherry-pick.yml", "contents": "name: Cherry Pick On Comment\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  cherry-pick:\n    \n    name: Cherry Pick\n    if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/cherry-pick') && github.event.comment.author_association == 'CONTRIBUTOR'\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout the latest code\n        uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          fetch-depth: 0 # otherwise, you will fail to push refs to dest repo\n      - name: Automatic Cherry Pick\n        uses: hianhianhian/gha-cherry-pick@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:46.286199", "created_at": "2022-09-30T11:24:44+02:00", "updated_at": "2022-11-05T18:25:11+01:00", "name": "Custom model gRPC Docker Publisher", "path": ".github/workflows/custom-model-grpc-publish.yml", "contents": "name: Custom model gRPC Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: custom-model-grpc\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Run tests\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64\n          context: python\n          file: python/custom_model_grpc.Dockerfile\n          push: false\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64\n          context: python\n          file: python/custom_model_grpc.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:47.437248", "created_at": "2022-05-30T01:51:56+02:00", "updated_at": "2024-07-08T10:09:02+02:00", "name": "E2E Tests", "path": ".github/workflows/e2e-test.yml", "contents": "name: E2E Tests\n\non:\n  pull_request:\n    branches: [master, release*]\n    paths:\n      - \"**\"\n      - \"!.github/**\"\n      - \"!docs/**\"\n      - \"!**.md\"\n      - \".github/workflows/e2e-test.yml\"\n  workflow_dispatch:\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  DOCKER_IMAGES_PATH: \"/mnt/docker-images\"\n  DOCKER_REPO: \"kserve\"\n  # artifact prefixes for bulk download\n  PREDICTOR_ARTIFACT_PREFIX: \"pred\"\n  EXPLAINER_ARTIFACT_PREFIX: \"exp\"\n  TRANSFORMER_ARTIFACT_PREFIX: \"trans\"\n  GRAPH_ARTIFACT_PREFIX: \"graph\"\n  BASE_ARTIFACT_PREFIX: \"base\"\n  # Controller images\n  CONTROLLER_IMG: \"kserve-controller\"\n  STORAGE_INIT_IMG: \"storage-initializer\"\n  AGENT_IMG: \"agent\"\n  ROUTER_IMG: \"router\"\n  # Predictor runtime server images\n  SKLEARN_IMG: \"sklearnserver\"\n  XGB_IMG: \"xgbserver\"\n  LGB_IMG: \"lgbserver\"\n  PMML_IMG: \"pmmlserver\"\n  PADDLE_IMG: \"paddleserver\"\n  CUSTOM_MODEL_GRPC_IMG: \"custom-model-grpc\"\n  HUGGINGFACE_IMG: \"huggingfaceserver\"\n  # Explainer images\n  ART_IMG: \"art-explainer\"\n  # Transformer images\n  IMAGE_TRANSFORMER_IMG: \"image-transformer\"\n  IMAGE_TRANSFORMER_IMG_TAG: \"kserve/image-transformer:${{ github.sha }}\"\n  CUSTOM_TRANSFORMER_GRPC_IMG: \"custom-image-transformer-grpc\"\n  # Graph images\n  SUCCESS_200_ISVC_IMG: \"success-200-isvc\"\n  ERROR_404_ISVC_IMG: \"error-404-isvc\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  kserve-image-build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build KServe images\n        run: |\n          sudo mkdir -p ${DOCKER_IMAGES_PATH}\n          sudo chown -R $USER ${DOCKER_IMAGES_PATH}\n          ./test/scripts/gh-actions/build-images.sh\n          docker image ls\n          sudo ls -lh ${DOCKER_IMAGES_PATH}\n\n      - name: Upload controller image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.BASE_ARTIFACT_PREFIX }}-${{ env.CONTROLLER_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.CONTROLLER_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n      - name: Upload agent image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.BASE_ARTIFACT_PREFIX }}-${{ env.AGENT_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.AGENT_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n      - name: Upload storage initializer image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.BASE_ARTIFACT_PREFIX }}-${{ env.STORAGE_INIT_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.STORAGE_INIT_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n      - name: Upload router image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.BASE_ARTIFACT_PREFIX }}-${{ env.ROUTER_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.ROUTER_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n  poetry-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Install Poetry and version plugin\n        run: ./test/scripts/gh-actions/setup-poetry.sh\n\n      - name: Check poetry lock file consistency\n        run: ./test/scripts/gh-actions/check-poetry-lockfile.sh\n\n  predictor-runtime-build:\n    runs-on: ubuntu-latest\n    needs: [poetry-check]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build runtime server images\n        run: |\n          sudo mkdir -p ${DOCKER_IMAGES_PATH}\n          sudo chown -R $USER ${DOCKER_IMAGES_PATH}\n          ./test/scripts/gh-actions/build-server-runtimes.sh predictor,transformer\n          docker image ls\n          sudo ls -lh ${DOCKER_IMAGES_PATH}\n\n      - name: Upload sklearn artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.SKLEARN_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.SKLEARN_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n      - name: Upload xgb server image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.XGB_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.XGB_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n      - name: Upload lgb server image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.LGB_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.LGB_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n      - name: Upload pmml server image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.PMML_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.PMML_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n      - name: Upload paddle image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.PADDLE_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.PADDLE_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n      - name: Upload image transformer image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.TRANSFORMER_ARTIFACT_PREFIX }}-${{ env.IMAGE_TRANSFORMER_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.IMAGE_TRANSFORMER_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n      - name: Upload custom model grpc image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.CUSTOM_MODEL_GRPC_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.CUSTOM_MODEL_GRPC_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n      - name: Upload custom model transformer grpc image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.TRANSFORMER_ARTIFACT_PREFIX }}-${{ env.CUSTOM_TRANSFORMER_GRPC_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.CUSTOM_TRANSFORMER_GRPC_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n      - name: Upload huggingface image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.HUGGINGFACE_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.HUGGINGFACE_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n  explainer-runtime-build:\n    runs-on: ubuntu-latest\n    needs: [poetry-check]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build runtime server images\n        run: |\n          sudo mkdir -p ${DOCKER_IMAGES_PATH}\n          sudo chown -R $USER ${DOCKER_IMAGES_PATH}\n          ./test/scripts/gh-actions/build-server-runtimes.sh explainer\n          docker image ls\n          sudo ls -lh ${DOCKER_IMAGES_PATH}\n\n      - name: Upload art explainer image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.EXPLAINER_ARTIFACT_PREFIX }}-${{ env.ART_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.ART_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n  graph-tests-images-build:\n    runs-on: ubuntu-latest\n    needs: [poetry-check]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build test images needed for graph tests\n        run: |\n          sudo mkdir -p ${DOCKER_IMAGES_PATH}\n          sudo chown -R $USER ${DOCKER_IMAGES_PATH}\n          ./test/scripts/gh-actions/build-graph-tests-images.sh\n          docker image ls\n          sudo ls -lh ${DOCKER_IMAGES_PATH}\n\n      - name: Upload success_200_isvc predictor image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.GRAPH_ARTIFACT_PREFIX }}-${{ env.SUCCESS_200_ISVC_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.SUCCESS_200_ISVC_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n      - name: Upload error_404_isvc predictor image\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ env.GRAPH_ARTIFACT_PREFIX }}-${{ env.ERROR_404_ISVC_IMG }}-${{ github.sha }}\n          path: ${{ env.DOCKER_IMAGES_PATH }}/${{ env.ERROR_404_ISVC_IMG }}-${{ github.sha }}\n          compression-level: 0\n          if-no-files-found: error\n\n  test-predictor:\n    runs-on: ubuntu-latest\n    needs:\n      [\n        kserve-image-build,\n        predictor-runtime-build,\n      ]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: \"1.21\"\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Setup Minikube\n        uses: ./.github/actions/minikube-setup\n\n      - name: KServe dependency setup\n        uses: ./.github/actions/kserve-dep-setup\n\n      - name: Download base images\n        uses: ./.github/actions/base-download\n\n      - name: Download predictor artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: ./tmp\n          pattern: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-*\n          merge-multiple: true\n\n      - name: Load docker images\n        uses: ./.github/actions/load-docker-images\n        with:\n          directory: ./tmp\n\n      - name: Install Poetry and version plugin\n        run: ./test/scripts/gh-actions/setup-poetry.sh\n\n      - name: Install KServe\n        run: |\n          ./test/scripts/gh-actions/setup-kserve.sh\n\n          kubectl get pods -n kserve\n          kubectl describe pods -n kserve\n\n      - name: Run predictor E2E tests\n        timeout-minutes: 40\n        run: |\n          ./test/scripts/gh-actions/run-e2e-tests.sh \"predictor\" \"6\"\n\n      - name: Check system status\n        if: always()\n        run: |\n          ./test/scripts/gh-actions/status-check.sh\n\n  test-transformer-explainer-mms:\n    runs-on: ubuntu-latest\n    needs:\n      [kserve-image-build, predictor-runtime-build, explainer-runtime-build]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: \"1.21\"\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Setup Minikube\n        uses: ./.github/actions/minikube-setup\n\n      - name: KServe dependency setup\n        uses: ./.github/actions/kserve-dep-setup\n\n      - name: Download base images\n        uses: ./.github/actions/base-download\n\n      - name: Download transformer and explainer artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: ./tmp\n          pattern: +(${{ env.TRANSFORMER_ARTIFACT_PREFIX }}|${{ env.EXPLAINER_ARTIFACT_PREFIX }})-*\n          merge-multiple: true\n\n      - name: Download sklearn server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.SKLEARN_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Download custom model grpc image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.CUSTOM_MODEL_GRPC_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Download xgb server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.XGB_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Load docker images\n        uses: ./.github/actions/load-docker-images\n        with:\n          directory: ./tmp\n\n      - name: Install Poetry and version plugin\n        run: ./test/scripts/gh-actions/setup-poetry.sh\n\n      - name: Install KServe\n        run: |\n          ./test/scripts/gh-actions/setup-kserve.sh\n          \n          kubectl get pods -n kserve\n          kubectl describe pods -n kserve\n\n      - name: Run E2E tests\n        timeout-minutes: 30\n        run: |\n          ./test/scripts/gh-actions/run-e2e-tests.sh \"transformer or mms or collocation or explainer\" \"6\"\n\n      - name: Check system status\n        if: always()\n        run: |\n          ./test/scripts/gh-actions/status-check.sh\n\n  test-graph:\n    runs-on: ubuntu-latest\n    needs:\n      [\n        kserve-image-build,\n        predictor-runtime-build,\n        graph-tests-images-build,\n      ]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: \"1.21\"\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Setup Minikube\n        uses: ./.github/actions/minikube-setup\n\n      - name: Download base images\n        uses: ./.github/actions/base-download\n\n      - name: KServe dependency setup\n        uses: ./.github/actions/kserve-dep-setup\n\n      - name: Download graph artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: ./tmp\n          pattern: ${{ env.GRAPH_ARTIFACT_PREFIX }}-*\n          merge-multiple: true\n\n      - name: Download sklearn server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.SKLEARN_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Download xgb server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.XGB_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Load docker images\n        uses: ./.github/actions/load-docker-images\n        with:\n          directory: ./tmp\n\n      - name: Install Poetry and version plugin\n        run: ./test/scripts/gh-actions/setup-poetry.sh\n\n      - name: Install KServe\n        run: |\n          ./test/scripts/gh-actions/setup-kserve.sh\n\n          kubectl get pods -n kserve\n          kubectl describe pods -n kserve\n\n      - name: Run E2E tests for graph\n        timeout-minutes: 30\n        run: |\n          ./test/scripts/gh-actions/run-e2e-tests.sh \"graph\" \"6\"\n\n      - name: Check system status\n        if: always()\n        run: |\n          ./test/scripts/gh-actions/status-check.sh\n\n\n  test-path-based-routing:\n    runs-on: ubuntu-latest\n    needs:\n      [\n        kserve-image-build,\n        predictor-runtime-build\n      ]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: \"1.21\"\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Setup Minikube\n        uses: ./.github/actions/minikube-setup\n\n      - name: Download base images\n        uses: ./.github/actions/base-download\n\n      - name: KServe dependency setup\n        uses: ./.github/actions/kserve-dep-setup\n\n      - name: Download sklearn server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.SKLEARN_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Download xgb server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.XGB_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Download lgb server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.LGB_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Download transformer image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.TRANSFORMER_ARTIFACT_PREFIX }}-${{ env.IMAGE_TRANSFORMER_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Load docker images\n        uses: ./.github/actions/load-docker-images\n        with:\n          directory: ./tmp\n\n      - name: Install Poetry and version plugin\n        run: ./test/scripts/gh-actions/setup-poetry.sh\n\n      - name: Install KServe\n        run: |\n          ./test/scripts/gh-actions/setup-kserve.sh\n\n          kubectl get pods -n kserve\n          kubectl describe pods -n kserve\n\n      - name: Patch inferenceservice config\n        run: |\n          kubectl patch configmaps -n kserve inferenceservice-config --patch-file config/overlays/test/configmap/inferenceservice-ingress.yaml\n          kubectl describe configmaps -n kserve inferenceservice-config\n\n      - name: Run E2E tests with path-based routing\n        timeout-minutes: 30\n        run: |\n          ./test/scripts/gh-actions/run-e2e-tests.sh \"path_based_routing\" \"6\"\n\n      - name: Check system status\n        if: always()\n        run: |\n          ./test/scripts/gh-actions/status-check.sh\n\n  test-qpext:\n    runs-on: ubuntu-latest\n    needs: [kserve-image-build, predictor-runtime-build]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: \"1.21\"\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Setup Minikube\n        uses: ./.github/actions/minikube-setup\n\n      - name: KServe dependency setup\n        uses: ./.github/actions/kserve-dep-setup\n\n      - name: Download base images\n        uses: ./.github/actions/base-download\n\n      - name: Build queue proxy extension image\n        run: |\n          ./test/scripts/gh-actions/build-qpext-image.sh\n          docker image ls\n\n      - name: Download sklearn server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.SKLEARN_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Load docker images\n        uses: ./.github/actions/load-docker-images\n        with:\n          directory: ./tmp\n\n      - name: Install Poetry and version plugin\n        run: ./test/scripts/gh-actions/setup-poetry.sh\n      - name: Install KServe\n        run: |\n          ./test/scripts/gh-actions/setup-kserve.sh\n          kubectl get pods -n kserve\n          kubectl describe pods -n kserve\n      - name: Patch qpext image\n        run: |\n          kubectl patch configmaps -n knative-serving config-deployment --patch '{\"data\": {\"queue-sidecar-image\": \"kserve/qpext:${{ github.sha }}\"}}'\n          kubectl describe configmaps -n knative-serving config-deployment\n      - name: Run queue proxy extension E2E tests\n        timeout-minutes: 30\n        run: |\n          ./test/scripts/gh-actions/run-qpext-test.sh\n\n      - name: Check system status\n        if: always()\n        run: |\n          ./test/scripts/gh-actions/status-check.sh\n\n  test-with-helm:\n    runs-on: ubuntu-latest\n    needs:\n      [kserve-image-build]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: \"1.21\"\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - uses: ./.github/actions/free-up-disk-space\n      - name: Setup Minikube\n        uses: ./.github/actions/minikube-setup\n\n      - name: KServe dependency setup\n        uses: ./.github/actions/kserve-dep-setup\n\n      - name: Download base images\n        uses: ./.github/actions/base-download\n\n      - name: Install Poetry and version plugin\n        run: ./test/scripts/gh-actions/setup-poetry.sh\n\n      - name: Install Kserve from helm\n        run: |\n          ./test/scripts/gh-actions/setup-modelmesh-dep.sh\n          ./test/scripts/gh-actions/setup-kserve-helm.sh\n          kubectl get pods -n kserve\n          kubectl describe pods -n kserve\n\n      - name: Run E2E tests\n        timeout-minutes: 20\n        run: |\n          ./test/scripts/gh-actions/run-e2e-tests.sh \"helm\"\n          kubectl get pods -n kserve\n\n      - name: Check system status\n        if: always()\n        run: |\n          ./test/scripts/gh-actions/status-check.sh\n\n  test-raw:\n    runs-on: ubuntu-latest\n    needs:\n      [kserve-image-build, predictor-runtime-build]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: \"1.21\"\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Setup Minikube\n        uses: ./.github/actions/minikube-setup\n\n      - name: KServe dependency setup\n        uses: ./.github/actions/kserve-dep-setup\n        with:\n          deployment-mode: \"raw\"\n\n      - name: Download base images\n        uses: ./.github/actions/base-download\n\n      - name: Download sklearn server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.SKLEARN_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Download xgb server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.XGB_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Download custom model grpc image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.CUSTOM_MODEL_GRPC_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Download transformer image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.TRANSFORMER_ARTIFACT_PREFIX }}-${{ env.IMAGE_TRANSFORMER_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Load docker images\n        uses: ./.github/actions/load-docker-images\n        with:\n          directory: ./tmp\n\n      - name: Install Poetry and version plugin\n        run: ./test/scripts/gh-actions/setup-poetry.sh\n\n      - name: Install KServe\n        run: |\n          ./test/scripts/gh-actions/setup-kserve.sh \"raw\"\n\n          kubectl get pods -n kserve\n          kubectl describe pods -n kserve\n\n      - name: Run E2E tests\n        timeout-minutes: 30\n        run: |\n          ./test/scripts/gh-actions/run-e2e-tests.sh \"raw\" \"6\"\n\n      - name: Check system status\n        if: always()\n        run: |\n          ./test/scripts/gh-actions/status-check.sh\n\n  test-kourier:\n    runs-on: ubuntu-latest\n    needs:\n      [kserve-image-build, predictor-runtime-build, graph-tests-images-build]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: \"1.21\"\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Setup Minikube\n        uses: ./.github/actions/minikube-setup\n\n      - name: KServe dependency setup\n        uses: ./.github/actions/kserve-dep-setup\n        with:\n          network-layer: \"kourier\"\n\n      - name: Download base images\n        uses: ./.github/actions/base-download\n\n      - name: Download graph artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: ./tmp\n          pattern: ${{ env.GRAPH_ARTIFACT_PREFIX }}-*\n          merge-multiple: true\n\n      - name: Download sklearn server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.SKLEARN_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Download xgb server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.PREDICTOR_ARTIFACT_PREFIX }}-${{ env.XGB_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Load docker images\n        uses: ./.github/actions/load-docker-images\n        with:\n          directory: ./tmp\n\n      - name: Install Poetry and version plugin\n        run: ./test/scripts/gh-actions/setup-poetry.sh\n\n      - name: Install KServe\n        run: |\n          ./test/scripts/gh-actions/setup-kserve.sh\n\n          kubectl get pods -n kserve\n          kubectl describe pods -n kserve\n\n      - name: Patch inferenceservice config to disable istio\n        run: |\n          kubectl patch configmaps -n kserve inferenceservice-config --patch-file config/overlays/test/configmap/inferenceservice-disable-istio.yaml\n          kubectl describe configmaps -n kserve inferenceservice-config\n\n      - name: Run E2E tests\n        timeout-minutes: 30\n        run: |\n          export KSERVE_INGRESS_HOST_PORT=$(kubectl get pod -n knative-serving -l \"app=3scale-kourier-gateway\" \\\n          --output=jsonpath=\"{.items[0].status.podIP}\"):$(kubectl get pod -n knative-serving -l \"app=3scale-kourier-gateway\" \\\n          --output=jsonpath=\"{.items[0].spec.containers[0].ports[0].containerPort}\")\n\n          ./test/scripts/gh-actions/run-e2e-tests.sh \"kourier\" \"6\"\n\n      - name: Check system status\n        if: always()\n        run: |\n          ./test/scripts/gh-actions/status-check.sh \"kourier\"\n\n  test-llm:\n    runs-on: ubuntu-latest\n    needs:\n      [ kserve-image-build, predictor-runtime-build]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: \"1.21\"\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Setup Minikube\n        uses: ./.github/actions/minikube-setup\n\n      - name: KServe dependency setup\n        uses: ./.github/actions/kserve-dep-setup\n\n      - name: Download base images\n        uses: ./.github/actions/base-download\n\n      - name: Download huggingface server image\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ env.HUGGINGFACE_IMG }}-${{ github.sha }}\n          path: ./tmp\n\n      - name: Load docker images\n        uses: ./.github/actions/load-docker-images\n        with:\n          directory: ./tmp\n\n      - name: Install Poetry and version plugin\n        run: ./test/scripts/gh-actions/setup-poetry.sh\n\n      - name: Install KServe\n        run: |\n          ./test/scripts/gh-actions/setup-kserve.sh\n\n          kubectl get pods -n kserve\n          kubectl describe pods -n kserve\n\n      - name: Run E2E tests\n        timeout-minutes: 30\n        run: |\n          ./test/scripts/gh-actions/run-e2e-tests.sh \"llm\" \"2\"\n\n      - name: Check system status\n        if: always()\n        run: |\n          ./test/scripts/gh-actions/status-check.sh\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:48.441909", "created_at": "2020-08-30T15:06:13+02:00", "updated_at": "2020-08-30T15:06:13+02:00", "name": "Go", "path": ".github/workflows/go.yml", "contents": "name: Go\n\non:\n  push:\n    branches: [master, release*]\n  pull_request:\n    branches: []\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up Go 1.x\n        uses: actions/setup-go@v5\n        with:\n          go-version: \"1.21\"\n        id: go\n\n      - name: Check out code into the Go module directory\n        uses: actions/checkout@v4\n\n      - name: Get dependencies\n        run: |\n          go get -v -t -d ./...\n\n      - name: Test\n        id: test\n        run: |\n          export GOPATH=/home/runner/go\n          export PATH=$PATH:/usr/local/kubebuilder/bin:/home/runner/go/bin\n          wget -O $GOPATH/bin/yq https://github.com/mikefarah/yq/releases/download/v4.28.1/yq_linux_amd64\n          chmod +x $GOPATH/bin/yq\n          make test\n          ./coverage.sh\n          echo ::set-output name=coverage::$(./coverage.sh | tr -s '\\t' | cut -d$'\\t' -f 3)\n\n      - name: Print coverage\n        run: |\n          echo \"Coverage output is ${{ steps.test.outputs.coverage }}\"\n\n      - name: Update coverage badge\n        if: github.ref == 'refs/heads/master'\n        uses: schneegans/dynamic-badges-action@v1.7.0\n        with:\n          auth: ${{ secrets.GIST_SECRET }}\n          gistID: 5174bd748ac63a6e4803afea902e9810\n          filename: coverage.json\n          label: coverage\n          message: ${{ steps.test.outputs.coverage }}\n          color: green", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:49.460800", "created_at": "2023-12-18T04:49:16+01:00", "updated_at": "2024-04-21T15:22:22+02:00", "name": "golangci-lint", "path": ".github/workflows/golangci-lint.yml", "contents": "name: golangci-lint\non:\n  push:\n    branches:\n      - master\n      - main\n  pull_request:\n\npermissions:\n  contents: read\n  pull-requests: read\n\njobs:\n  golangci:\n    name: lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-go@v5\n        with:\n          go-version: '1.21'\n          cache: false\n      - name: golangci-lint\n        uses: golangci/golangci-lint-action@v4\n        with:\n          version: v1.56\n          args: --out-format=line-number\n\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:50.610574", "created_at": "2022-06-07T04:16:59+02:00", "updated_at": "2022-06-07T04:16:59+02:00", "name": "helm-publish", "path": ".github/workflows/helm-publish.yml", "contents": "name: helm-publish\n\non:\n  release:\n    types: [prereleased, released]\n\nenv:\n  HELM_CHARTS_PATH: charts\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: write\n  packages: write\n\njobs:\n  upload-helm-charts:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup Helm\n        uses: azure/setup-helm@v4\n\n      - name: Login to GHCR\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Package helm charts\n        run: for dir in ./*/; do helm package $dir; done\n        working-directory: ${{ env.HELM_CHARTS_PATH }}\n\n      - name: Push Charts to GHCR\n        working-directory: ${{ env.HELM_CHARTS_PATH }}\n        run: |\n          for pkg in *.tgz; do\n            if [ -z \"${pkg:-}\" ]; then\n              break\n            fi\n            helm push \"${pkg}\" oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/charts\n          done\n\n      - name: Rename helm chart archives\n        run: for filename in *.tgz; do mv \"$filename\" \"helm-chart-$filename\"; done\n        working-directory: ${{ env.HELM_CHARTS_PATH }}\n\n      - uses: softprops/action-gh-release@v1\n        with:\n          files: ${{ env.HELM_CHARTS_PATH }}/*.tgz\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:51.838653", "created_at": "2024-01-08T00:17:29+01:00", "updated_at": "2024-01-27T05:14:44+01:00", "name": "Huggingface Docker Publisher", "path": ".github/workflows/huggingface-docker-publish.yml", "contents": "name: Huggingface Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: huggingfaceserver \n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Run tests\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64\n          context: python\n          file: python/huggingface_server.Dockerfile\n          push: false\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64\n          context: python\n          file: python/huggingface_server.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:52.872962", "created_at": "2021-09-22T21:25:32+02:00", "updated_at": "2021-09-23T15:54:13+02:00", "name": "Kserve controller Docker Publisher", "path": ".github/workflows/kserve-controller-docker-publish.yml", "contents": "name: Kserve controller Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: kserve-controller\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Run tests\n        run: |\n          if [ -f docker-compose.test.yml ]; then\n            docker-compose --file docker-compose.test.yml build\n            docker-compose --file docker-compose.test.yml run sut\n          else\n            docker buildx build . --file Dockerfile\n          fi\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x\n          context: .\n          file: Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:53.991730", "created_at": "2020-12-14T08:22:13+01:00", "updated_at": "2020-12-14T08:22:13+01:00", "name": "LightGBMServer Docker Publisher", "path": ".github/workflows/lightgbm-docker-publish.yml", "contents": "name: LightGBMServer Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: lgbserver\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Run tests\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/lgb.Dockerfile\n          push: false\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/lgb.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:55.015420", "created_at": "2021-06-16T09:19:20+02:00", "updated_at": "2021-06-26T16:00:22+02:00", "name": "PaddleServer Docker Publisher", "path": ".github/workflows/paddle-docker-publish.yml", "contents": "name: PaddleServer Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: paddleserver\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Run tests\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/paddle.Dockerfile\n          push: false\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/paddle.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:56.032902", "created_at": "2020-11-12T16:30:13+01:00", "updated_at": "2020-11-14T13:32:22+01:00", "name": "PMMLServer Docker Publisher", "path": ".github/workflows/pmml-docker-publish.yml", "contents": "name: PMMLServer Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: pmmlserver\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Run tests\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/pmml.Dockerfile\n          push: false\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/pmml.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:57.063264", "created_at": "2020-11-14T21:19:06+01:00", "updated_at": "2020-11-14T21:19:06+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.x\"\n\n      - name: Install Poetry and version plugin\n        run: ./test/scripts/gh-actions/setup-poetry.sh\n\n      - name: Build and publish\n        env:\n          POETRY_HTTP_BASIC_PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          cd python/kserve\n          poetry build\n          poetry publish\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:58.156670", "created_at": "2020-11-09T14:46:33+01:00", "updated_at": "2023-05-02T11:43:12+02:00", "name": "Python package", "path": ".github/workflows/python-test.yml", "contents": "name: Python package\n\non:\n  push:\n    branches: [master, release*]\n  pull_request:\n    branches: []\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n    name: Lint\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@v4\n      - name: Set up Python environment ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Lint with flake8\n        uses: py-actions/flake8@v2\n        with:\n          args: \"--config .flake8\"\n          path: \".\"\n      - name: Check formatting with black\n        uses: psf/black@stable\n        with:\n          options: \"--check --diff --config python/pyproject.toml\"\n          src: \".\"\n          version: \"~= 24.3\"\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Free-up disk space\n        uses: ./.github/actions/free-up-disk-space\n\n      - name: Set up Python ${{ matrix.python-version }}\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Poetry and version plugin\n        run: ./test/scripts/gh-actions/setup-poetry.sh\n\n      - name: Configure Poetry cache\n        run: |\n          sudo mkdir -p /mnt/poetry\n          # change permission so that poetry can install without sudo\n          sudo chown -R $USER /mnt/poetry\n          poetry config cache-dir /mnt/poetry\n\n      # load poetry cache if cache exists\n      - name: Load poetry cache\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: /mnt/poetry\n          key: poetry-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      # ----------------------------------------Kserve Unit Tests--------------------------------------------------------\n      # load cached kserve venv if cache exists\n      - name: Load cached kserve venv\n        id: cached-kserve-dependencies\n        uses: actions/cache@v4\n        with:\n          path: python/kserve/.venv\n          key: kserve-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/kserve/poetry.lock') }}\n      # install kserve dependencies if cache does not exist\n      - name: Install kserve dependencies\n        if: steps.cached-kserve-dependencies.outputs.cache-hit != 'true'\n        run: |\n          cd python/kserve\n          make install_dependencies\n      - name: Install kserve\n        run: |\n          cd python/kserve\n          make dev_install\n      - name: Test kserve\n        run: |\n          cd python\n          source kserve/.venv/bin/activate\n          pytest --cov=kserve ./kserve\n\n      # ----------------------------------------Kserve Pydantic V1 Unit Tests--------------------------------------------\n      - name: Setup kserve pydantic v1 directory\n        run: |\n          mkdir -p python/kserve-pydantic-v1\n          cp -r python/kserve/* python/kserve-pydantic-v1\n          cd python/kserve-pydantic-v1\n          # update the lock file without installing dependencies\n          poetry update \"pydantic<2.0\" --lock\n      - name: Load cached kserve pydantic v1 venv\n        id: cached-kserve-pydantic-v1-dependencies\n        uses: actions/cache@v3\n        with:\n          path: python/kserve-pydantic-v1/.venv\n          key: kserve-pydantic-v1-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/kserve-pydantic-v1/poetry.lock') }}\n      # install kserve pydantic v1 dependencies if cache does not exist\n      - name: Install kserve pydantic v1 dependencies\n        if: steps.cached-kserve-pydantic-v1-dependencies.outputs.cache-hit != 'true'\n        run: |\n          cd python/kserve-pydantic-v1\n          make install_dependencies\n      - name: Install kserve pydantic v1\n        run: |\n          cd python/kserve-pydantic-v1\n          make dev_install\n      - name: Test kserve pydantic v1\n        run: |\n          cd python\n          source kserve-pydantic-v1/.venv/bin/activate\n          pytest --cov=kserve ./kserve-pydantic-v1\n\n      # ----------------------------------------Sklearn Server Unit Tests------------------------------------------------\n      # load cached sklearn venv if cache exists\n      - name: Load cached sklearn venv\n        id: cached-sklearn-dependencies\n        uses: actions/cache@v4\n        with:\n          path: python/sklearnserver/.venv\n          key: sklearn-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/kserve/poetry.lock', '**/sklearnserver/poetry.lock') }}\n        # install sklearn server dependencies if cache does not exist\n      - name: Install sklearn dependencies\n        if: steps.cached-sklearn-dependencies.outputs.cache-hit != 'true'\n        run: |\n          cd python/sklearnserver\n          make install_dependencies\n      - name: Install sklearnserver\n        run: |\n          cd python/sklearnserver\n          make dev_install\n      - name: Test sklearnserver\n        run: |\n          cd python\n          source sklearnserver/.venv/bin/activate\n          pytest --cov=sklearnserver ./sklearnserver\n\n      # ----------------------------------------Xgb Server Unit Tests------------------------------------------------\n      # load cached xgb venv if cache exists\n      - name: Load cached xgb venv\n        id: cached-xgb-dependencies\n        uses: actions/cache@v4\n        with:\n          path: python/xgbserver/.venv\n          key: xgb-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/kserve/poetry.lock', '**/xgbserver/poetry.lock') }}\n        # install xgb server dependencies if cache does not exist\n      - name: Install xgb dependencies\n        if: steps.cached-xgb-dependencies.outputs.cache-hit != 'true'\n        run: |\n          cd python/xgbserver\n          make install_dependencies\n      - name: Install xgbserver\n        run: |\n          cd python/xgbserver\n          make dev_install\n      - name: Test xgbserver\n        run: |\n          cd python\n          source xgbserver/.venv/bin/activate\n          pytest --cov=xgbserver ./xgbserver\n\n      # ----------------------------------------Pmml Server Unit Tests------------------------------------------------\n      # load cached pmml venv if cache exists\n      - name: Load cached pmml venv\n        id: cached-pmml-dependencies\n        uses: actions/cache@v4\n        with:\n          path: python/pmmlserver/.venv\n          key: pmml-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/kserve/poetry.lock', '**/pmmlserver/poetry.lock') }}\n        # install pmml server dependencies if cache does not exist\n      - name: Install pmml dependencies\n        if: steps.cached-pmml-dependencies.outputs.cache-hit != 'true'\n        run: |\n          cd python/pmmlserver\n          make install_dependencies\n      - name: Install pmmlserver\n        run: |\n          cd python/pmmlserver\n          make dev_install\n      - name: Test pmmlserver\n        run: |\n          cd python\n          source pmmlserver/.venv/bin/activate\n          pytest --cov=pmmlserver ./pmmlserver\n\n      # ----------------------------------------Lgb Server Unit Tests------------------------------------------------\n      # load cached lgb venv if cache exists\n      - name: Load cached lgb venv\n        id: cached-lgb-dependencies\n        uses: actions/cache@v4\n        with:\n          path: python/lgbserver/.venv\n          key: lgb-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/kserve/poetry.lock', '**/lgbserver/poetry.lock') }}\n        # install lgb server dependencies if cache does not exist\n      - name: Install lgb dependencies\n        if: steps.cached-lgb-dependencies.outputs.cache-hit != 'true'\n        run: |\n          cd python/lgbserver\n          make install_dependencies\n      - name: Install lgbserver\n        run: |\n          cd python/lgbserver\n          make dev_install\n      - name: Test lgbserver\n        run: |\n          cd python\n          source lgbserver/.venv/bin/activate\n          pytest --cov=lgbserver ./lgbserver\n\n      # ----------------------------------------Paddle Server Unit Tests------------------------------------------------\n      # load cached paddle venv if cache exists\n      - name: Load cached paddle venv\n        id: cached-paddle-dependencies\n        uses: actions/cache@v4\n        with:\n          path: python/paddleserver/.venv\n          key: paddle-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/kserve/poetry.lock', '**/paddleserver/poetry.lock') }}\n        # install paddle server dependencies if cache does not exist\n      - name: Install paddle dependencies\n        if: steps.cached-paddle-dependencies.outputs.cache-hit != 'true'\n        run: |\n          echo \"python version ${{ steps.setup-python.outputs.python-version }}\"\n          cd python/paddleserver\n          make install_dependencies\n      - name: Install paddleserver\n        run: |\n          cd python/paddleserver\n          make dev_install\n      - name: Test paddleserver\n        run: |\n          cd python\n          source paddleserver/.venv/bin/activate\n          pytest --cov=paddleserver ./paddleserver\n\n      # ----------------------------------------Huggingface Server Unit Tests------------------------------------------------\n      # load cached huggingface venv if cache exists\n      - name: Load cached huggingface venv\n        if: ${{ !startsWith(steps.setup-python.outputs.python-version, '3.8') }}\n        id: huggingface-dependencies\n        uses: actions/cache@v4\n        with:\n          path: /mnt/python/huggingfaceserver-venv\n          key: huggingface-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/kserve/poetry.lock', '**/huggingfaceserver/poetry.lock') }}\n        # install huggingface server dependencies if cache does not exist\n      - name: Configure poetry for huggingface server\n        if: ${{ !startsWith(steps.setup-python.outputs.python-version, '3.8') }}\n        run: |\n          poetry config virtualenvs.path /mnt/python/huggingfaceserver-venv\n          poetry config virtualenvs.in-project false\n      - name: Install huggingface dependencies\n        if: ${{ steps.cached-huggingface-dependencies.outputs.cache-hit != 'true' && !startsWith(steps.setup-python.outputs.python-version, '3.8') }}\n        run: |\n          sudo mkdir -p /mnt/python/huggingfaceserver-venv\n          # change permission so that poetry can install without sudo\n          sudo chown -R $USER /mnt/python/huggingfaceserver-venv\n          cd python/huggingfaceserver\n          make install_dependencies\n      - name: Install huggingface server\n        if: ${{ !startsWith(steps.setup-python.outputs.python-version, '3.8') }}\n        run: |\n          cd python/huggingfaceserver\n          make dev_install\n      - name: Test huggingfaceserver\n        if: ${{ !startsWith(steps.setup-python.outputs.python-version, '3.8') }}\n        run: |\n          cd python/huggingfaceserver\n          poetry run -- pytest --cov=huggingfaceserver -vv\n\n      - name: Free space after tests\n        run: |\n          df -hT\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:15:59.146338", "created_at": "2022-10-20T00:40:57+02:00", "updated_at": "2022-10-25T19:42:15+02:00", "name": "Queue Proxy Extension Docker Publisher", "path": ".github/workflows/qpext-docker-publish.yml", "contents": "name: Queue Proxy Extension Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: qpext\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Run tests\n        run: |\n          if [ -f docker-compose.test.yml ]; then\n            docker-compose --file docker-compose.test.yml build\n            docker-compose --file docker-compose.test.yml run sut\n          else\n            docker buildx build . --file qpext/qpext.Dockerfile\n          fi\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x\n          context: \".\"\n          file: qpext/qpext.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:16:00.235158", "created_at": "2024-04-25T14:00:59+02:00", "updated_at": "2024-04-25T14:00:59+02:00", "name": "Re-Run PR tests", "path": ".github/workflows/re-run-actions.yml", "contents": "name: Re-Run PR tests\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  rerun_pr_tests:\n    name: rerun_pr_tests\n    if: ${{ github.event.issue.pull_request }}\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: estroz/rerun-actions@main\n      with:\n        repo_token: ${{ secrets.GITHUB_TOKEN }}\n        comment_id: ${{ github.event.comment.id }}\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:16:01.389474", "created_at": "2022-06-11T14:17:07+02:00", "updated_at": "2022-06-13T04:05:58+02:00", "name": "Router Docker Publisher", "path": ".github/workflows/router-docker-publish.yml", "contents": "name: Router Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: router\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Run tests\n        run: |\n          if [ -f docker-compose.test.yml ]; then\n            docker-compose --file docker-compose.test.yml build\n            docker-compose --file docker-compose.test.yml run sut\n          else\n            docker buildx build . --file router.Dockerfile\n          fi\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x\n          context: .\n          file: router.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:16:02.495523", "created_at": "2023-10-06T11:22:26+02:00", "updated_at": "2023-10-21T18:19:04+02:00", "name": "Go Security Scan", "path": ".github/workflows/scheduled-go-security-scan.yml", "contents": "name: \"Go Security Scan\"\n\non:\n  pull_request:\n  schedule:\n    # The scheduled workflow runs every Sunday at 00:00 UTC time.\n    - cron: '0 0 * * 0'\n  workflow_dispatch: { }\n\njobs:\n  go-security-scan:\n    runs-on: ubuntu-latest\n    env:\n      GO111MODULE: on\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Run Gosec Security Scanner\n        uses: securego/gosec@master\n        with:\n          args: '-no-fail -fmt=sarif -out=go-security-scan-results.sarif -exclude-dir=pkg/client -exclude-dir=pkg/clientv1alpha1 ./...'\n\n      - name: Upload SARIF file to Github Code Scanning\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: go-security-scan-results.sarif\n          category: gosec-tool\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:16:03.629082", "created_at": "2022-08-16T07:49:36+02:00", "updated_at": "2022-12-05T06:37:53+01:00", "name": "Twice a week image scan", "path": ".github/workflows/scheduled-image-scan.yml", "contents": "name: Twice a week image scan\n# Temporarily adding on push for testing\non:\n  schedule:\n    - cron: \"0 0 * * 0,3\"\n  workflow_dispatch: {}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  base-image-scan:\n    name: scan images\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        image:\n          [\n            { name: kserve-controller, file: Dockerfile },\n            { name: agent, file: agent.Dockerfile },\n            {\n              name: storage-initializer,\n              file: python/storage-initializer.Dockerfile,\n            },\n            { name: router, file: router.Dockerfile },\n          ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Security scan on docker image\n        uses: snyk/actions/docker@master\n        id: docker-image-scan\n        continue-on-error: true\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          image: kserve/${{ matrix.image.name }}\n          args: --severity-threshold=low\n            --file=${{ matrix.image.file }}\n            --sarif-file-output=./application/${{ matrix.image.name }}/docker.snyk.sarif\n          sarif: false\n\n      - name: Upload sarif file to Github Code Scanning\n        if: always()\n        continue-on-error: true #avoid fail the pipeline if the SARIF upload fails.\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: application/${{ matrix.image.name }}/docker.snyk.sarif\n\n  predictor-image-scan:\n    name: scan predictor images\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        image:\n          [\n            { name: sklearnserver, file: python/sklearn.Dockerfile },\n            { name: xgbserver, file: python/xgb.Dockerfile },\n            { name: pmmlserver, file: python/pmml.Dockerfile },\n            { name: paddleserver, file: python/paddle.Dockerfile },\n          ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Security scan on docker image\n        uses: snyk/actions/docker@master\n        id: docker-image-scan\n        continue-on-error: true\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          image: kserve/${{ matrix.image.name }}\n          args: --severity-threshold=low\n            --file=${{ matrix.image.file }}\n            --sarif-file-output=./application/${{ matrix.image.name }}/docker.snyk.sarif\n          sarif: false\n\n      - name: Upload sarif file to Github Code Scanning\n        if: always()\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: application/${{ matrix.image.name }}/docker.snyk.sarif\n\n  explainer-image-scan:\n    name: scan explainer images\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        image:\n          [\n            { name: art-explainer, file: python/artexplainer.Dockerfile },\n          ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Security scan on docker image\n        uses: snyk/actions/docker@master\n        id: docker-image-scan\n        continue-on-error: true\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          image: kserve/${{ matrix.image.name }}\n          args: --severity-threshold=low\n            --file=${{ matrix.image.file }}\n            --sarif-file-output=./application/${{ matrix.image.name }}/docker.snyk.sarif\n          sarif: false\n\n      - name: Upload sarif file to Github Code Scanning\n        if: always()\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: application/${{ matrix.image.name }}/docker.snyk.sarif\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:16:04.741048", "created_at": "2021-08-25T23:47:59+02:00", "updated_at": "2021-09-23T15:54:14+02:00", "name": "Sklearn Server Docker Publisher", "path": ".github/workflows/sklearnserver-docker-publish.yml", "contents": "name: Sklearn Server Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: sklearnserver\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Run tests\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/sklearn.Dockerfile\n          push: false\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/sklearn.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:16:05.970013", "created_at": "2021-08-25T23:47:59+02:00", "updated_at": "2021-09-23T15:54:14+02:00", "name": "Storage Intializer Docker Publisher", "path": ".github/workflows/storage-initializer-docker-publisher.yml", "contents": "name: Storage Intializer Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: storage-initializer\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Run tests\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/storage-initializer.Dockerfile\n          push: false\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/storage-initializer.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:16:06.970514", "created_at": "2021-09-22T21:25:32+02:00", "updated_at": "2021-09-23T15:54:14+02:00", "name": "Tf2Openapi Docker Publisher", "path": ".github/workflows/tf2openapi-docker-publisher.yml", "contents": "name: Tf2Openapi Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: tf2openapi\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Run tests\n        run: |\n          if [ -f docker-compose.test.yml ]; then\n            docker-compose --file docker-compose.test.yml build\n            docker-compose --file docker-compose.test.yml run sut\n          else\n            docker buildx build . --file tools/tf2openapi/Dockerfile\n          fi\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Build image\n        run: |\n          docker buildx build . --file tools/tf2openapi/Dockerfile --tag $IMAGE_NAME\n\n      - name: Log into registry\n        run: docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Push image\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo IMAGE_ID=$IMAGE_ID\n          echo VERSION=$VERSION\n\n          docker tag $IMAGE_NAME $IMAGE_ID:$VERSION\n          docker push $IMAGE_ID:$VERSION\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:16:08.019449", "created_at": "2021-12-27T21:51:14+01:00", "updated_at": "2021-12-28T05:07:39+01:00", "name": "Transformer Docker Publisher", "path": ".github/workflows/transformer-docker-publish.yml", "contents": "name: Transformer Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: image-transformer\n  GRPC_IMAGE_NAME: custom-image-transformer-grpc\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Run tests\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64\n          context: python\n          file: python/custom_transformer.Dockerfile\n          push: false\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n     \n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64\n          context: python\n          file: python/custom_transformer.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test-transformer-grpc:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Run tests\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64\n          context: python\n          file: python/custom_transformer_grpc.Dockerfile\n          push: false\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push-transformer-grpc:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Export version variable\n        run: |\n          IMAGE_ID=kserve/$GRPC_IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n          \n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64\n          context: python\n          file: python/custom_transformer_grpc.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:16:09.139816", "created_at": "2023-10-17T12:41:07+02:00", "updated_at": "2023-10-29T19:40:37+01:00", "name": "Verify Generated Code", "path": ".github/workflows/verify-codegen.yml", "contents": "name: \"Verify Generated Code\"\n\non:\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  verify-codegen:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source code\n        uses: actions/checkout@v4\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: 1.21\n\n      - name: Install dependencies\n        run: |\n          go mod download\n      \n      - name: Update Codegen\n        shell: bash\n        run: |\n          GOPATH=$(go env GOPATH)\n          KSERVE_PATH=$GOPATH/src/github.com/kserve/kserve\n          echo \"KSERVE_PATH=$KSERVE_PATH\" >> \"$GITHUB_ENV\"\n          mkdir -p $KSERVE_PATH\n          cp -a . $KSERVE_PATH\n          cd $KSERVE_PATH\n          make generate\n          make manifests\n\n      - name: Verify\n        shell: bash\n        run: |\n          cd $KSERVE_PATH \n          \n          # From: https://backreference.org/2009/12/23/how-to-match-newlines-in-sed/\n          # This is to leverage this workaround:\n          # https://github.com/actions/toolkit/issues/193#issuecomment-605394935\n          urlencode() {\n            sed ':begin;$!N;s/\\n/%0A/;tbegin'\n          }\n          \n          # When running make generate, it introduces some lint errors which is fixed manually.\n          # Reset these files to avoid false triggers due to those changes.\n          git checkout -- python/kserve/test/__init__.py python/kserve/kserve/api_client.py\n          \n          if [ -z \"$(git status --porcelain ./pkg ./python ./config ./charts)\" ]; then\n              echo \"${{ github.repository }} up to date.\"\n          else\n              echo \"Found diffs in: $(git diff-index --name-only HEAD -- ./pkg ./python ./charts)\"\n              for x in $(git diff-index --name-only HEAD -- ./pkg ./python ./charts); do\n                  echo \"::error file=$x::Please run make generate.%0A$(git diff $x | urlencode)\"\n              done\n              echo \"${{ github.repository }} is out of date. Please run make generate\"\n              exit 1\n          fi\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:16:10.329472", "created_at": "2021-09-22T21:25:32+02:00", "updated_at": "2021-09-23T15:54:14+02:00", "name": "Xgbserver Server Docker Publisher", "path": ".github/workflows/xgbserver-docker-publisher.yml", "contents": "name: Xgbserver Server Docker Publisher\n\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n\n  # Run tests for any PRs.\n  pull_request:\n\nenv:\n  IMAGE_NAME: xgbserver\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout source code\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Run tests\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/xgb.Dockerfile\n          push: false\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - name: Checkout source code\n        uses: actions/checkout@v4\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Export version variable\n        run: |\n          IMAGE_ID=kserve/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          # [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo VERSION=$VERSION >> $GITHUB_ENV\n          echo IMAGE_ID=$IMAGE_ID >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          platforms: linux/amd64, linux/arm64/v8\n          context: python\n          file: python/xgb.Dockerfile\n          push: true\n          tags: ${{ env.IMAGE_ID }}:${{ env.VERSION }}\n          # https://github.com/docker/buildx/issues/1533\n          provenance: false\n", "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:16:11.363413", "created_at": "2021-12-17T03:57:06+01:00", "updated_at": "2021-12-17T03:57:06+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "kserve/kserve"}
{"mined_at": "2024-07-15T17:16:13.448320", "created_at": "2021-10-05T01:26:54+02:00", "updated_at": "2022-06-05T00:57:18+02:00", "name": "Build and Scan", "path": ".github/workflows/build_and_validate.yml", "contents": "---\nname: Build and Scan\non:\n  push:\n    branches: [ main, master, dev, v*.* ]\n  pull_request:\n    branches: [ main, master, dev, v*.* ]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n        - uses: actions/checkout@v3\n\n        - name: Setup python\n          uses: actions/setup-python@v4.1.0\n          with:\n              python-version: 3.11.7\n              architecture: x64\n\n        - name: Install linters\n          run: pip install black pycodestyle pydocstyle djlint\n\n        - name: Run black\n          run: black . --check -l 200\n\n        - name: Run pycodestyle\n          run: pycodestyle --ignore E501,W605,W503,E203,E741 .\n\n        - name: Run pydocstyle\n          run: pydocstyle .\n\n  pytest:\n    runs-on: ubuntu-latest\n    name: Run Tests\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup python\n        uses: actions/setup-python@v4.1.0\n        with:\n            python-version: 3.11.7\n            architecture: x64\n\n      - name: Install packages\n        run: pip install -r requirements-dev.txt\n\n      - name: Run pytest\n        run:  pytest -n 4 -v --cov --cov-report xml:coverage.xml ${GITHUB_WORKSPACE}/tests\n\n      - name: Get Cover \n        uses: orgoro/coverage@v3.1\n        with:\n            coverageFile: ./coverage.xml\n            token: ${{ secrets.GITHUB_TOKEN }}\n\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n\n  build:\n    runs-on: macos-latest\n    name: Build Desktop Apps\n    steps:\n        - uses: actions/checkout@v3\n\n        - name: Setup python\n          uses: actions/setup-python@v4.1.0\n          with:\n              python-version: 3.10.9\n              architecture: x64\n\n        - name: Update Brew\n          if: ${{ github.event_name == 'push' }}\n          run: brew update\n\n        - name: Install Node\n          if: ${{ github.event_name == 'push' }}\n          run: brew install node\n\n        - name: Install packages\n          if: ${{ github.event_name == 'push' }}\n          run: |\n            npm install\n            pip install -r requirements-dev.txt\n\n        - name: Build pack\n          if: ${{ github.event_name == 'push' }}\n          run: |\n            python3 ./tools/prepare_offline.py\n            npm run distall\n\n        - uses: actions/upload-artifact@v3\n          with:\n            name: dk64randomizer-setup.exe\n            path: \"${{ github.workspace }}/dist/dk64randomizer.exe\"\n\n        - uses: actions/upload-artifact@v3\n          with:\n            name: dk64randomizer.dmg\n            path: \"${{ github.workspace }}/dist/dk64randomizer.dmg\"\n\n        - uses: actions/upload-artifact@v3\n          with:\n            name: dk64randomizer.deb\n            path: \"${{ github.workspace }}/dist/dk64randomizer.deb\"\n", "state": "active", "repository": "2dos/dk64-randomizer"}
{"mined_at": "2024-07-15T17:16:14.470434", "created_at": "2022-09-16T02:39:56+02:00", "updated_at": "2022-09-17T00:01:41+02:00", "name": "Release to Github Pages Prod", "path": ".github/workflows/release_pages_main.yml", "contents": "---\nname: Release to Github Pages Prod\non:\n  push:\n    branches: [ master ]\njobs:\n  build-and-deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Setup python\n      uses: actions/setup-python@v4.1.0\n      with:\n          python-version: 3.10.9\n          architecture: x64\n\n    - name: Install packages\n      run: |\n        pip install -r requirements-dev.txt\n        pip install wheel setuptools\n\n    - name: Build minified versions\n      run: python3 ./tools/prepare_live.py\n    \n    - name: Remove Git Ignore (This might be changed in the future)\n      run: rm .gitignore\n\n    - name: Move Files\n      run: mkdir ./deploy-directory && mv -f ./* ./deploy-directory/ || true\n    \n    - name: Pre Write Files\n      run: echo 'This repo is for Github Pages for DK64Rando, you need to go to https://github.com/2dos/DK64-Randomizer' > ./deploy-directory/README.md && echo 'dk64randomizer.com' > ./deploy-directory/CNAME && touch ./deploy-directory/.nojekyll\n\n    - name: Deploy to Github Pages\n      uses: hpcodecraft/action-deploy-workspace-to-repo@v2.2\n      env:\n        GITHUB_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}\n        SRC_FOLDER: ./deploy-directory\n        DEST_OWNER: 2dos\n        DEST_REPO: DK64-Randomizer-Release\n        DEST_BRANCH: main\n        DEST_FOLDER: ./\n        DEST_PREDEPLOY_CLEANUP: rm -rf ./*\n\n", "state": "active", "repository": "2dos/dk64-randomizer"}
{"mined_at": "2024-07-15T17:16:15.595425", "created_at": "2022-09-16T02:39:56+02:00", "updated_at": "2022-09-17T00:01:41+02:00", "name": "Release to Github Pages", "path": ".github/workflows/release_pages_dev.yml", "contents": "---\nname: Release to Github Pages\non:\n  push:\n    branches: [ dev ]\njobs:\n  build-and-deploy:\n    runs-on: ubuntu-latest\n    if: contains(github.actor, '[bot]')\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Setup python\n      uses: actions/setup-python@v4.1.0\n      with:\n          python-version: 3.10.9\n          architecture: x64\n\n    - name: Install packages\n      run: |\n        pip install -r requirements-dev.txt\n        pip install wheel setuptools\n\n    - name: Build minified versions\n      run: python3 ./tools/prepare_live.py\n    \n    - name: Remove Git Ignore (This might be changed in the future)\n      run: rm .gitignore\n\n    - name: Move Files\n      run: mkdir ./deploy-directory && mv -f ./* ./deploy-directory/ || true\n    \n    - name: Pre Write Files\n      run: echo 'This repo Dev Github Pages for DK64Rando, you need to go to https://github.com/2dos/DK64-Randomizer' > ./deploy-directory/README.md && echo 'dev.dk64randomizer.com' > ./deploy-directory/CNAME && touch ./deploy-directory/.nojekyll\n\n    - name: Deploy to Github Pages\n      uses: hpcodecraft/action-deploy-workspace-to-repo@v2.2\n      env:\n        GITHUB_ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}\n        SRC_FOLDER: ./deploy-directory\n        DEST_OWNER: 2dos\n        DEST_REPO: DK64-Randomizer-Dev\n        DEST_BRANCH: main\n        DEST_FOLDER: ./\n        DEST_PREDEPLOY_CLEANUP: rm -rf ./*\n", "state": "active", "repository": "2dos/dk64-randomizer"}
{"mined_at": "2024-07-15T17:16:16.615343", "created_at": "2023-12-17T07:29:44+01:00", "updated_at": "2023-12-17T07:29:44+01:00", "name": "Bump Version", "path": ".github/workflows/bump_version.yml", "contents": "---\nname: Bump Version\non:\n  push:\n    branches: [ master, dev]\njobs:\n  version-bump:\n    runs-on: ubuntu-latest\n    if: ${{ !contains(github.actor, '[bot]') }}\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n\n      - name: Setup python\n        uses: actions/setup-python@v4.1.0\n        with:\n            python-version: 3.10.9\n            architecture: x64\n\n      - name: Install bump2version\n        run: pip install bump2version\n\n      - name: Determine Version Increment\n        id: bump\n        run: |\n          BRANCH_NAME=${GITHUB_REF#refs/heads/}\n          COMMIT_MESSAGE=$(git log -1 --pretty=%B)\n          git config --global user.email \"bump2version@dk64randomizer.com\"\n          git config --global user.name \"Bump2Version\"\n          git config --unset-all http.https://github.com/.extraheader\n          echo \"Branch: $BRANCH_NAME, Commit Message: $COMMIT_MESSAGE\"\n          if [[ \"$BRANCH_NAME\" == \"dev\" ]]; then\n              if [[ \"$COMMIT_MESSAGE\" == *\"Major Release\"* ]]; then\n                  echo \"Bumping major version\"\n                  echo \"VERSION_PART=major\" >> $GITHUB_OUTPUT\n              elif [[ \"$COMMIT_MESSAGE\" == *\"Breaks older cosmetics packs\"* ]]; then\n                  echo \"Bumping minor version\"\n                  echo \"VERSION_PART=minor\" >> $GITHUB_OUTPUT\n              else\n                  echo \"Bumping patch version\"\n                  echo \"VERSION_PART=patch\" >> $GITHUB_OUTPUT\n              fi\n          fi \n\n      - name: Bump Version\n        run: bump2version ${{ steps.bump.outputs.VERSION_PART }}\n\n      - id: create_token\n        uses: tibdex/github-app-token@v1\n        with:\n          app_id: 715479\n          installation_id: 45211287\n          private_key: ${{ secrets.BRANCHPROTECTION }}\n\n      - name: Push Changes\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ steps.create_token.outputs.token }}\n          branch: ${{ github.ref }}", "state": "active", "repository": "2dos/dk64-randomizer"}
{"mined_at": "2024-07-15T17:16:19.059615", "created_at": "2023-12-19T14:03:49+01:00", "updated_at": "2024-01-12T11:24:20+01:00", "name": "Delete Inactive Users in Github Organization", "path": ".github/workflows/org-inactive-user-management.yml", "contents": "name: 'Delete Inactive Users in Github Organization'\n\non:\n  schedule:\n  - cron: '0 0 */32,1-7 * 1'\n  workflow_dispatch:\n  push:\n    branches:\n      - \"add-inactive-user-removal-automation\"\n\njobs:\n  org-config-generation-check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - uses: actions/checkout@v4\n        with:\n          path: community\n      - name: Clean inactive github org users\n        id: uds\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r community/org/requirements.txt\n          python community/org/org_user_management.py\n        env:\n          GH_TOKEN: ${{ secrets.GH_TOKEN }}\n          INACTIVE_USER_MANAGEMENT_TAG_USERS: ${{ secrets.INACTIVE_USER_MANAGEMENT_TAG_USERS }}\n      - name: Create Pull Request\n        if: ${{ steps.uds.outputs.inactive_users_pr_description }}\n        uses: peter-evans/create-pull-request@v5\n        with:\n          path: community\n          add-paths: org/contributors.yml\n          commit-message: Delete inactive users\n          branch: delete-inactive-users\n          title: 'Inactive users to be deleted'\n          body: ${{ steps.uds.outputs.inactive_users_pr_description }}\n", "state": "active", "repository": "cloudfoundry/community"}
{"mined_at": "2024-07-15T17:16:20.231746", "created_at": "2022-04-12T15:52:20+02:00", "updated_at": "2022-04-12T15:52:20+02:00", "name": "Check Github Organization Settings PRs", "path": ".github/workflows/org-management-check-prs.yml", "contents": "name: 'Check Github Organization Settings PRs'\non:\n  pull_request:\n    paths:\n      - 'org/*'\n      - 'toc/TOC.md'\n      - 'toc/working-groups/*.md'\n      - '.github/workflows/org-management-check-prs.yml'\njobs:\n  org-config-generation-check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - uses: actions/checkout@v4\n        with:\n          path: community\n      - name: Generate github org configuration\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r community/org/requirements.txt\n          python community/org/org_management.py -o cloudfoundry.out.yml -b branchprotection.out.yml\n", "state": "active", "repository": "cloudfoundry/community"}
{"mined_at": "2024-07-15T17:16:21.432291", "created_at": "2022-07-26T17:15:30+02:00", "updated_at": "2022-07-26T17:15:30+02:00", "name": "Dump Github Organization Settings", "path": ".github/workflows/org-management-peribolos-dump.yml", "contents": "name: 'Dump Github Organization Settings'\non:\n  workflow_dispatch\n\njobs:  \n  generate-peribolos-dump:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: peribolos\n    services:\n      ghproxy:\n        image: rkoster/ghproxy\n        options: >-\n          --mount type=bind,source=/etc/passwd,target=/etc/passwd,readonly\n          --mount type=bind,source=/etc/group,target=/etc/group,readonly\n        ports:\n          - 8888:8888\n        volumes:\n          - ${{ github.workspace }}/ghproxy-cache:/cache\n    steps:\n      - name: ghproxy-cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ github.workspace }}/ghproxy-cache\n          key: ghproxy-cache-${{ github.run_number }}\n          restore-keys: |\n            ghproxy-cache-\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # full clone so a PR can be created if needed\n          path: community\n      - name: write github private key\n        run: |\n          echo \"${GH_PRIVATE_KEY}\" > private_key\n          echo \"${GH_TOKEN}\" > token\n        env:\n          GH_TOKEN: ${{ secrets.GH_TOKEN }}\n          GH_PRIVATE_KEY: ${{ secrets.GH_PRIVATE_KEY }}\n      - name: generate-peribolos-dump\n        uses: docker://gcr.io/k8s-prow/peribolos\n        with:\n          entrypoint: /bin/sh\n          # Switch back to app auth once following PR gets merged: https://github.com/kubernetes/test-infra/pull/24882\n          # args: --dump-full --dump cloudfoundry --github-app-id=${{ secrets.GH_APP_ID }} --github-app-private-key-path=private_key > org/cloudfoundry.yml\n          args: -c \"/ko-app/peribolos --dump-full --dump cloudfoundry --github-endpoint http://ghproxy:8888 --github-token-path=token > community/org/cloudfoundry.yml\"\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v5\n        with:\n          path: community\n          add-paths: org/cloudfoundry.yml\n          commit-message: Run peribolos -dump-full\n          branch: peribolos-dump\n          draft: true\n          title: 'Sync org/cloudfoundry.yml with reality'\n          body: |\n            This PR contains a fresh peribolos dump.\n            PR is intended for debugging. Don't merge as-is because parts of the cloudfoundry org configuration are generated from WG charters.\n", "state": "active", "repository": "cloudfoundry/community"}
{"mined_at": "2024-07-15T17:16:22.559596", "created_at": "2021-12-07T16:37:29+01:00", "updated_at": "2022-01-04T16:43:44+01:00", "name": "Sync Github Organization Settings", "path": ".github/workflows/org-management.yml", "contents": "name: 'Sync Github Organization Settings'\non:\n  push:\n    branches:\n      - 'main'\n    paths:\n      - 'org/*'\n      - 'toc/TOC.md'\n      - 'toc/working-groups/*.md'\n      - '.github/workflows/org-management.yml'\n  schedule:\n    - cron: '0 */7 * * *'\n\njobs:\n  peribolos:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: peribolos\n    services:\n      ghproxy:\n        image: rkoster/ghproxy\n        options: >-\n          --mount type=bind,source=/etc/passwd,target=/etc/passwd,readonly\n          --mount type=bind,source=/etc/group,target=/etc/group,readonly\n        ports:\n          - 8888:8888\n        volumes:\n          - ${{ github.workspace }}/ghproxy-cache:/cache\n    steps:\n      - name: ghproxy-cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ github.workspace }}/ghproxy-cache\n          key: ghproxy-cache-${{ github.run_number }}\n          restore-keys: |\n            ghproxy-cache-\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - uses: actions/checkout@v4\n        with:\n          path: community\n      - name: Generate github org configuration\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r community/org/requirements.txt\n          python community/org/org_management.py -o cloudfoundry.out.yml -b branchprotection.out.yml\n      - name: write github private key\n        run: |\n          echo \"${GH_PRIVATE_KEY}\" > private_key\n          echo \"${GH_TOKEN}\" > token\n        env:\n          GH_TOKEN: ${{ secrets.GH_TOKEN }}\n          GH_PRIVATE_KEY: ${{ secrets.GH_PRIVATE_KEY }}\n      - name: peribolos\n        id: peribolos\n        uses: docker://gcr.io/k8s-prow/peribolos\n        with:\n          entrypoint: /ko-app/peribolos\n          args: >-\n            --confirm=true\n            --github-endpoint http://ghproxy:8888\n            --required-admins=thelinuxfoundation\n            --min-admins=5\n            --github-app-id=${{ secrets.GH_APP_ID }}\n            --github-app-private-key-path=private_key\n            --require-self=false\n            --config-path=cloudfoundry.out.yml\n            --fix-org\n            --fix-org-members\n            --fix-repos\n            --fix-teams\n            --fix-team-members\n            --fix-team-repos\n            --allow-repo-archival\n  branchprotector:\n    needs: peribolos\n    runs-on: ubuntu-latest\n    concurrency:\n      group: peribolos\n    services:\n      ghproxy:\n        image: rkoster/ghproxy\n        options: >-\n          --mount type=bind,source=/etc/passwd,target=/etc/passwd,readonly\n          --mount type=bind,source=/etc/group,target=/etc/group,readonly\n        ports:\n          - 8888:8888\n        volumes:\n          - ${{ github.workspace }}/ghproxy-cache:/cache\n    steps:\n      - name: ghproxy-cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ github.workspace }}/ghproxy-cache\n          key: ghproxy-cache-${{ github.run_number }}\n          restore-keys: |\n            ghproxy-cache-\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - uses: actions/checkout@v4\n        with:\n          path: community\n      - name: Generate github org configuration\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r community/org/requirements.txt\n          python community/org/org_management.py -o cloudfoundry.out.yml -b branchprotection.out.yml\n      - name: write github private key\n        run: |\n          echo \"${GH_PRIVATE_KEY}\" > private_key\n          echo \"${GH_TOKEN}\" > token\n        env:\n          GH_TOKEN: ${{ secrets.GH_TOKEN }}\n          GH_PRIVATE_KEY: ${{ secrets.GH_PRIVATE_KEY }}\n      - name: branchprotector\n        id: branchprotector\n        uses: docker://gcr.io/k8s-prow/branchprotector\n        with:\n          args: >-\n            --confirm=true\n            --github-endpoint http://ghproxy:8888\n            --github-app-id=${{ secrets.GH_APP_ID }}\n            --github-app-private-key-path=private_key\n            --config-path=branchprotection.out.yml\n", "state": "active", "repository": "cloudfoundry/community"}
{"mined_at": "2024-07-15T17:16:23.704585", "created_at": "2022-05-03T17:04:14+02:00", "updated_at": "2022-05-03T17:04:14+02:00", "name": "Sync working group project boards", "path": ".github/workflows/project-sync.yml", "contents": "name: 'Sync working group project boards'\n\non:\n  schedule:\n  - cron: '0 */1 * * *'\n\njobs:\n  configs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - id: matrix\n        run: |\n          echo \"::set-output name=matrix::$(./org/generate_working_group_projects_sync_config.sh)\"\n    outputs:\n      matrix: ${{ steps.matrix.outputs.matrix }}\n\n  sync_projects:\n    needs: configs\n    runs-on: ubuntu-latest\n    container:\n      image: rkoster/github-multi-repo-project-card-sync\n\n    strategy:\n      fail-fast: false\n      matrix:\n        config: ${{ fromJson(needs.configs.outputs.matrix) }}\n\n    steps:\n    - name: write-config\n      run:  echo '${{ toJSON(matrix.config) }}' > config.json\n    - name: github-projects-sync\n      run: /root/sync --config config.json\n      env:\n        GITHUB_APP_ID: ${{ secrets.GH_APP_ID }}\n        GITHUB_PRIVATE_KEY: ${{ secrets.GH_PRIVATE_KEY }}\n", "state": "active", "repository": "cloudfoundry/community"}
{"mined_at": "2024-07-15T17:16:24.754532", "created_at": "2024-01-18T22:01:23+01:00", "updated_at": "2024-01-18T22:01:23+01:00", "name": "Remove individual access to repos", "path": ".github/workflows/remove-individual-access.yml", "contents": "name: 'Remove individual access to repos'\non:\n  push:\n    branches:\n      - main\n  schedule:\n  - cron: '0 */1 * * *'\n\njobs:\n  remove-individual-access-to-repos:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: community\n      - name: Remove individual access to repos\n        env:\n          GH_TOKEN: ${{ secrets.GH_TOKEN }}\n        run: |\n          set -e\n          set -o pipefail\n\n          ./community/toc/working-groups/parsable-working-groups.sh | jq -r .[].areas[].repositories[] | grep -E '^cloudfoundry/' | while read -r repo; do\n              gh api \"repos/${repo}/collaborators?affiliation=direct\" | jq -r .[].login | while read -r user; do\n                  echo \"remove ${user} from ${repo}\"\n                  gh api -X delete \"/repos/${repo}/collaborators/${user}\"\n              done\n          done\n", "state": "active", "repository": "cloudfoundry/community"}
{"mined_at": "2024-07-15T17:16:26.883242", "created_at": "2024-03-09T22:10:27+01:00", "updated_at": "2024-03-10T18:13:57+01:00", "name": "ExoBLAS", "path": ".github/workflows/ExoBLAS.yml", "contents": "name: ExoBLAS\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  build-test:\n    uses: exo-lang/ExoBLAS/.github/workflows/build-test.yml@main\n    with:\n      exo-ref: ${{ github.ref }}\n      exo-blas-ref: main\n", "state": "active", "repository": "exo-lang/exo"}
{"mined_at": "2024-07-15T17:16:27.935263", "created_at": "2022-10-05T17:29:27+02:00", "updated_at": "2024-06-06T03:02:32+02:00", "name": "Gemmini CI", "path": ".github/workflows/gemmini.yml", "contents": "name: Gemmini CI\non:\n  push:\n    branches:\n      - main\n  pull_request:\njobs:\n  gemmini:\n    runs-on: ubuntu-22.04\n\n    container:\n      image: ghcr.io/exo-lang/gemmini:latest\n      credentials:\n        username: ${{ github.actor }}\n        password: ${{ secrets.github_token }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Install dependencies\n        run: |\n          apt-get update\n          apt-get install -y ninja-build\n          python -m pip install -r requirements.txt\n          python -m pip install -r dev-requirements.txt\n          python -m pip install cmake build\n\n      - name: Install exo\n        run: |\n          python -m build\n          python -m pip install dist/*.whl\n\n      - name: Configure, build, and run GEMMINI tests\n        shell: bash\n        run: |\n          cd /root/chipyard\n          source $(conda info --base)/etc/profile.d/conda.sh\n          source env.sh\n          cd -\n          cmake -G Ninja -S apps/gemmini -B build -DCMAKE_BUILD_TYPE=Release\n          cmake --build build --verbose\n          cd build\n          ctest -V\n", "state": "active", "repository": "exo-lang/exo"}
{"mined_at": "2024-07-15T17:16:29.064619", "created_at": "2022-02-15T03:37:40+01:00", "updated_at": "2022-02-28T23:46:52+01:00", "name": "Lint", "path": ".github/workflows/linting.yml", "contents": "name: Lint\non:\n  pull_request_target:\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n\n      # Format C files\n      - uses: DoozyX/clang-format-lint-action@v0.13\n        with:\n          source: '.'\n          exclude: './dependencies ./tests/gemmini/gemmini-rocc-tests'\n          clangFormatVersion: 12\n          inplace: ${{ github.event.pull_request.head.repo.full_name == github.repository }}\n\n      # Format Python files\n      - uses: psf/black@stable\n        with:\n          options: \"\"\n          version: \"22.10.0\"\n\n      # Push changes to internal PRs\n      - uses: EndBug/add-and-commit@v4\n        if: github.event.pull_request.head.repo.full_name == github.repository\n        with:\n          message: '🤖 apply linter changes (will not trigger CI)'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "exo-lang/exo"}
{"mined_at": "2024-07-15T17:16:30.239161", "created_at": "2021-05-20T23:45:45+02:00", "updated_at": "2022-10-04T21:47:21+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\non:\n  push:\n    branches: [ 'main' ]\n  pull_request:\njobs:\n  build:\n    strategy:\n      matrix:\n        runner: [ ubuntu-latest, macos-14 ]\n        include:\n          - runner: ubuntu-latest\n            CC: clang-13\n            CXX: clang++-13\n            CLANG: clang-13\n          - runner: macos-14\n            CC: clang # This will be system AppleClang\n            CXX: clang++ # This will be system AppleClang\n            CLANG: /usr/local/opt/llvm/bin/clang\n    env:\n      CC: ${{matrix.CC}}\n      CXX: ${{matrix.CXX}}\n      CLANG: ${{matrix.CLANG}}\n    runs-on: ${{matrix.runner}}\n    steps:\n      - name: Checkout sources (including submodules)\n        uses: actions/checkout@v4\n        with:\n          submodules: recursive\n\n      - name: Setup Python environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n          cache: 'pip'\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install -U pip wheel\n          python -m pip install tox==3.24.5\n\n      - name: Get latest CMake and ninja\n        uses: lukka/get-cmake@latest\n\n      - name: Setup SDE binaries\n        if: runner.os != 'macOS'\n        uses: petarpetrovt/setup-sde@v2.3\n\n      - name: Install Clang 13 (Linux)\n        if: runner.os == 'Linux'\n        run: |\n          wget https://apt.llvm.org/llvm.sh\n          chmod +x llvm.sh\n          sudo ./llvm.sh 13\n\n      - name: Install Clang 13 (macOS)\n        if: runner.os == 'macOS'\n        run: brew install llvm@13\n\n      - name: Run tox\n        run: tox\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "exo-lang/exo"}
{"mined_at": "2024-07-15T17:16:31.365358", "created_at": "2022-02-28T23:46:52+01:00", "updated_at": "2022-03-01T01:58:01+01:00", "name": "Packaging", "path": ".github/workflows/packaging.yml", "contents": "name: Packaging\non:\n  release:\n    types: [ created ]\n  push:\n    branches: [ 'main' ]\n  pull_request:\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v4\n\n      - name: Install Python dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install setuptools wheel twine build\n\n      - name: Build Python package\n        run: python -m build --sdist --wheel --outdir dist/ .\n\n      # Will only run on release.\n      - name: Publish distribution to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "exo-lang/exo"}
{"mined_at": "2024-07-15T17:16:32.354028", "created_at": "2024-07-15T11:16:59+02:00", "updated_at": "2024-07-15T11:16:59+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "exo-lang/exo"}
{"mined_at": "2024-07-15T17:16:34.444951", "created_at": "2022-05-17T10:16:14+02:00", "updated_at": "2022-05-17T10:19:22+02:00", "name": "Draft PDF", "path": ".github/workflows/draft-pdf.yml", "contents": "name: Draft PDF\r\n\r\non: [push]\r\n\r\njobs:\r\n  paper:\r\n    runs-on: ubuntu-latest\r\n    name: Paper Draft\r\n    steps:\r\n      - name: Checkout\r\n        uses: actions/checkout@v2\r\n      - name: Build draft PDF\r\n        uses: openjournals/openjournals-draft-action@master\r\n        with:\r\n          journal: joss\r\n          paper-path: paper/paper.md\r\n      - name: Upload\r\n        uses: actions/upload-artifact@v1\r\n        with:\r\n          name: paper\r\n          path: paper/paper.pdf", "state": "active", "repository": "jammy2211/pyautogalaxy"}
{"mined_at": "2024-07-15T17:16:35.507871", "created_at": "2021-02-10T17:55:26+01:00", "updated_at": "2023-03-05T22:29:46+01:00", "name": "Tests", "path": ".github/workflows/main.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  unittest:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', '3.11']\n    steps:\n    - name: Checkout PyAutoConf\n      uses: actions/checkout@v2\n      with:\n        repository: rhayes777/PyAutoConf\n        path: PyAutoConf\n    - name: Checkout PyAutoFit\n      uses: actions/checkout@v2\n      with:\n        repository: rhayes777/PyAutoFit\n        path: PyAutoFit\n    - name: Checkout PyAutoArray\n      uses: actions/checkout@v2\n      with:\n        repository: Jammy2211/PyAutoArray\n        path: PyAutoArray\n    - name: Checkout PyAutoGalaxy\n      uses: actions/checkout@v2\n      with:\n        path: PyAutoGalaxy\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/cache@v2\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Extract branch name\n      shell: bash\n      run: |\n        cd PyAutoGalaxy\n        echo \"##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})\"\n      id: extract_branch\n    - name: Change to same branch if exists in deps\n      shell: bash\n      run: |\n        export PACKAGES=(\"PyAutoConf\" \"PyAutoFit\" \"PyAutoArray\")\n        export BRANCH=\"${{ steps.extract_branch.outputs.branch }}\"\n        for PACKAGE in ${PACKAGES[@]}; do\n          pushd $PACKAGE\n          export existed_in_remote=$(git ls-remote --heads origin ${BRANCH})\n          if [[ -z ${existed_in_remote} ]]; then\n            echo \"Branch $BRANCH did not exist in $PACKAGE\"\n          else\n            echo \"Branch $BRANCH did exist in $PACKAGE\"\n            git fetch\n            git checkout $BRANCH\n          fi\n          popd\n        done\n    - name: Install dependencies\n   #   if: steps.cache-pip.outputs.cache-hit != 'true'\n      run: |\n        pip3 install --upgrade pip\n        pip3 install setuptools\n        pip3 install wheel\n        pip3 install pytest coverage pytest-cov\n        pip3 install -r PyAutoConf/requirements.txt\n        pip3 install -r PyAutoFit/requirements.txt\n        pip3 install -r PyAutoArray/requirements.txt\n        pip3 install -r PyAutoArray/optional_requirements.txt\n        pip3 install -r PyAutoGalaxy/requirements.txt\n        pip3 install -r PyAutoGalaxy/optional_requirements.txt\n    - name: Run tests\n      run: |\n        export ROOT_DIR=`pwd`\n        export PYTHONPATH=$PYTHONPATH:$ROOT_DIR/PyAutoConf\n        export PYTHONPATH=$PYTHONPATH:$ROOT_DIR/PyAutoFit\n        export PYTHONPATH=$PYTHONPATH:$ROOT_DIR/PyAutoArray\n        export PYTHONPATH=$PYTHONPATH:$ROOT_DIR/PyAutoGalaxy\n        pushd PyAutoGalaxy\n        python3 -m pytest --cov autogalaxy --cov-report xml:coverage.xml\n    - name: Slack send\n      if: ${{ failure() }}\n      id: slack\n      uses: slackapi/slack-github-action@v1.21.0\n      env:\n        SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n      with:\n        channel-id: C03S98FEDK2\n        payload: |\n                {\n                  \"text\": \"${{ github.repository }}/${{ github.ref_name }} (Python ${{ matrix.python-version }}) build result: ${{ job.status }}\\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n                }", "state": "active", "repository": "jammy2211/pyautogalaxy"}
{"mined_at": "2024-07-15T17:16:37.714448", "created_at": "2021-06-11T15:01:56+02:00", "updated_at": "2021-06-11T15:01:56+02:00", "name": "Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: Labeler\n\non:\n    push:\n        branches:\n            - main\n            - master\n\njobs:\n    labeler:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Check out the repository\n              uses: actions/checkout@v4\n\n            - name: Run Labeler\n              uses: crazy-max/ghaction-github-labeler@v4.1.0\n              with:\n                  skip-delete: true\n", "state": "active", "repository": "theislab/ehrapy"}
{"mined_at": "2024-07-15T17:16:38.813249", "created_at": "2021-06-11T15:01:56+02:00", "updated_at": "2023-08-25T09:26:47+02:00", "name": "Run ehrapy Tests", "path": ".github/workflows/run_tests.yml", "contents": null, "state": "active", "repository": "theislab/ehrapy"}
{"mined_at": "2024-07-15T17:16:39.858962", "created_at": "2021-11-03T10:55:41+01:00", "updated_at": "2021-11-10T12:32:33+01:00", "name": "Run Notebooks", "path": ".github/workflows/run_notebooks.yml", "contents": "name: Run Notebooks\n\non:\n    - push\n    - pull_request_target\n\njobs:\n    run:\n        runs-on: ubuntu-latest\n        strategy:\n            matrix:\n                notebook: [\n                        \"docs/tutorials/notebooks/ehrapy_introduction.ipynb\",\n                        \"docs/tutorials/notebooks/mimic_2_introduction.ipynb\",\n                        \"docs/tutorials/notebooks/mimic_2_survival_analysis.ipynb\",\n                        \"docs/tutorials/notebooks/mimic_2_fate.ipynb\",\n                        \"docs/tutorials/notebooks/mimic_2_causal_inference.ipynb\",\n                        # \"docs/tutorials/notebooks/mimic_3_demo.ipynb\",\n                        # \"docs/tutorials/notebooks/medcat.ipynb\",\n                    ]\n        steps:\n            - uses: actions/checkout@v4\n              with:\n                  submodules: \"true\"\n                  token: \"${{ secrets.CT_SYNC_TOKEN }}\"\n            - name: Set up Python\n              uses: actions/setup-python@v5\n              with:\n                  python-version: \"3.11\"\n\n            - name: Install UV\n              run: pip install uv\n\n            - name: Install ehrapy\n              run: uv pip install --system .\n\n            - name: Install additional dependencies\n              run: uv pip install --system cellrank\n\n            - name: Install nbconvert ipykernel\n              run: uv pip install --system nbconvert ipykernel\n\n            - name: Run ${{ matrix.notebook }} Notebook\n              run: jupyter nbconvert --to notebook --execute ${{ matrix.notebook }}\n", "state": "active", "repository": "theislab/ehrapy"}
{"mined_at": "2024-07-15T17:16:40.964568", "created_at": "2021-12-26T21:57:21+01:00", "updated_at": "2023-08-25T09:25:28+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n    push:\n        branches: [main]\n    pull_request:\n        branches: [main]\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.ref }}\n    cancel-in-progress: true\n\njobs:\n    test:\n        runs-on: ${{ matrix.os }}\n        defaults:\n            run:\n                shell: bash -e {0} # -e to fail on error\n\n        strategy:\n            fail-fast: false\n            matrix:\n                include:\n                    - os: ubuntu-latest\n                      python: \"3.10\"\n                    - os: ubuntu-latest\n                      python: \"3.11\"\n                    - os: ubuntu-latest\n                      python: \"3.11\"\n                      pip-flags: \"--pre\"\n\n        env:\n            OS: ${{ matrix.os }}\n            PYTHON: ${{ matrix.python }}\n\n        steps:\n            - uses: actions/checkout@v4\n            - name: Set up Python ${{ matrix.python }}\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.python }}\n\n            - name: Install test dependencies\n              run: python -m pip install --upgrade uv wheel\n            - name: Install dependencies\n              run: uv pip install --system ${{ matrix.pip-flags }} .[dev,test]\n\n            - name: Test\n              env:\n                  MPLBACKEND: agg\n                  PLATFORM: ${{ matrix.os }}\n                  DISPLAY: :42\n              run: pytest -v --cov --color=yes\n\n            - name: Upload coverage\n              uses: codecov/codecov-action@v3\n", "state": "active", "repository": "theislab/ehrapy"}
{"mined_at": "2024-07-15T17:16:41.993196", "created_at": "2021-12-30T10:41:00+01:00", "updated_at": "2021-12-30T11:34:00+01:00", "name": "Release Drafter", "path": ".github/workflows/release_drafter.yml", "contents": "name: Release Drafter\non:\n    push:\n        branches:\n            - main\n    pull_request:\n        branches:\n            - main\n        types:\n            - opened\n            - reopened\n            - synchronize\njobs:\n    update_release_draft:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: release-drafter/release-drafter@v5\n              env:\n                  GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "theislab/ehrapy"}
{"mined_at": "2024-07-15T17:16:43.245091", "created_at": "2023-08-25T09:25:28+02:00", "updated_at": "2023-08-25T09:25:28+02:00", "name": "Check Build", "path": ".github/workflows/build.yml", "contents": "name: Check Build\n\non:\n    push:\n        branches: [main]\n    pull_request:\n        branches: [main]\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.ref }}\n    cancel-in-progress: true\n\njobs:\n    package:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v3\n\n            - name: Set up Python 3.11\n              uses: actions/setup-python@v5\n              with:\n                  python-version: \"3.11\"\n                  cache: \"pip\"\n                  cache-dependency-path: \"**/pyproject.toml\"\n\n            - name: Install build dependencies\n              run: python -m pip install --upgrade pip wheel twine build\n\n            - name: Build package\n              run: python -m build\n\n            - name: Check package\n              run: twine check --strict dist/*.whl\n", "state": "active", "repository": "theislab/ehrapy"}
{"mined_at": "2024-07-15T17:16:44.574223", "created_at": "2023-08-25T09:25:28+02:00", "updated_at": "2023-08-25T09:25:28+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n    push:\n        tags:\n            - \"*.*.*\"\n\njobs:\n    release:\n        name: Release\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout code\n              uses: actions/checkout@v3\n\n            - name: Set up Python 3.11\n              uses: actions/setup-python@v5\n              with:\n                  python-version: \"3.11\"\n\n            - name: Install hatch\n              run: pip install hatch\n\n            - name: Build project for distribution\n              run: hatch build\n\n            - name: Publish a Python distribution to PyPI\n              uses: pypa/gh-action-pypi-publish@release/v1\n              with:\n                  password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "theislab/ehrapy"}
{"mined_at": "2024-07-15T17:16:45.677976", "created_at": "2023-07-17T15:27:39+02:00", "updated_at": "2023-08-25T09:39:32+02:00", "name": "Test windows stuff", "path": ".github/workflows/test_windows_stuff.yml", "contents": null, "state": "disabled_manually", "repository": "theislab/ehrapy"}
{"mined_at": "2024-07-15T17:16:47.955611", "created_at": "2022-06-21T16:42:58+02:00", "updated_at": "2023-09-20T22:37:40+02:00", "name": "Publish Release", "path": ".github/workflows/publish-release.yml", "contents": "name: \"Publish Release\"\n\non:\n    release:\n        types: [published]\n\ndefaults:\n    run:\n        working-directory: ./pyscript.core\n\njobs:\n    publish-release:\n        runs-on: ubuntu-latest\n        permissions:\n            id-token: write\n            contents: read\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n\n            - name: Install node\n              uses: actions/setup-node@v4\n              with:\n                  node-version: 18.x\n\n            - name: Cache node modules\n              uses: actions/cache@v4\n              env:\n                  cache-name: cache-node-modules\n              with:\n                  # npm cache files are stored in `~/.npm` on Linux/macOS\n                  path: ~/.npm\n                  key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}\n                  restore-keys: |\n                      ${{ runner.os }}-build-${{ env.cache-name }}-\n                      ${{ runner.os }}-build-\n                      ${{ runner.os }}-\n\n            - name: npm install\n              run: npm install && npx playwright install\n\n            - name: build\n              run: npm run build\n\n            - name: Generate index.html in snapshot\n              working-directory: .\n              run: sed 's#_PATH_#https://pyscript.net/releases/${{ github.ref_name }}/#' ./public/index.html > ./pyscript.core/dist/index.html\n\n            - name: Generate release.tar from snapshot and put it in dist/\n              working-directory: .\n              run: tar -cvf ../release.tar * && mv ../release.tar .\n\n            - name: Configure AWS credentials\n              uses: aws-actions/configure-aws-credentials@v4\n              with:\n                  aws-region: ${{ secrets.AWS_REGION }}\n                  role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}\n\n            - name: Sync to S3\n              run:\n                  | # Update /latest and create an explicitly versioned directory under releases/YYYY.MM.MICRO/\n                  aws s3 sync --quiet ./dist/ s3://pyscript.net/latest/\n                  aws s3 sync --quiet ./dist/ s3://pyscript.net/releases/${{ github.ref_name }}/\n", "state": "active", "repository": "pyscript/pyscript"}
{"mined_at": "2024-07-15T17:16:49.156066", "created_at": "2022-06-23T18:22:37+02:00", "updated_at": "2023-09-20T22:37:40+02:00", "name": "Prepare Release", "path": ".github/workflows/prepare-release.yml", "contents": "name: \"Prepare Release\"\n\non:\n    push:\n        tags:\n            - \"[0-9][0-9][0-9][0-9].[0-9][0-9].[0-9]+\" # YYYY.MM.MICRO\n\ndefaults:\n    run:\n        working-directory: ./pyscript.core\n\njobs:\n    prepare-release:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n\n            - name: Install node\n              uses: actions/setup-node@v4\n              with:\n                  node-version: 18.x\n\n            - name: Cache node modules\n              uses: actions/cache@v4\n              env:\n                  cache-name: cache-node-modules\n              with:\n                  # npm cache files are stored in `~/.npm` on Linux/macOS\n                  path: ~/.npm\n                  key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}\n                  restore-keys: |\n                      ${{ runner.os }}-build-${{ env.cache-name }}-\n                      ${{ runner.os }}-build-\n                      ${{ runner.os }}-\n\n            - name: NPM Install\n              run: npm install && npx playwright install\n\n            - name: Build\n              run: npm run build\n\n            - name: Generate index.html\n              working-directory: .\n              run: sed 's#_PATH_#./#' ./public/index.html > ./pyscript.core/dist/index.html\n\n            - name: Zip dist folder\n              run: zip -r -q ./build.zip ./dist\n\n            - name: Prepare Release\n              uses: softprops/action-gh-release@v2\n              with:\n                  draft: true\n                  prerelease: true\n                  generate_release_notes: true\n                  files: ./build.zip\n", "state": "active", "repository": "pyscript/pyscript"}
{"mined_at": "2024-07-15T17:16:50.411277", "created_at": "2022-09-25T19:24:43+02:00", "updated_at": "2023-09-20T20:40:28+02:00", "name": "Publish Snapshot", "path": ".github/workflows/publish-snapshot.yml", "contents": "name: \"Publish Snapshot\"\n\non:\n    workflow_dispatch:\n        inputs:\n            snapshot_version:\n                description: \"The calver version of this snapshot: 2022.09.1 or 2022.09.1.RC1\"\n                type: string\n                required: true\n\ndefaults:\n    run:\n        working-directory: ./pyscript.core\n\njobs:\n    publish-snapshot:\n        runs-on: ubuntu-latest\n        permissions:\n            contents: read\n            id-token: write\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n\n            - name: Install node\n              uses: actions/setup-node@v4\n              with:\n                  node-version: 18.x\n\n            - name: Cache node modules\n              uses: actions/cache@v4\n              env:\n                  cache-name: cache-node-modules\n              with:\n                  # npm cache files are stored in `~/.npm` on Linux/macOS\n                  path: ~/.npm\n                  key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}\n                  restore-keys: |\n                      ${{ runner.os }}-build-${{ env.cache-name }}-\n                      ${{ runner.os }}-build-\n                      ${{ runner.os }}-\n\n            - name: Install Dependencies\n              run: npm install && npx playwright install\n\n            - name: Build Pyscript.core\n              run: npm run build\n\n            - name: Configure AWS credentials\n              uses: aws-actions/configure-aws-credentials@v4\n              with:\n                  aws-region: ${{ secrets.AWS_REGION }}\n                  role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}\n\n            - name: Generate index.html in snapshot\n              working-directory: .\n              run: sed 's#_PATH_#https://pyscript.net/snapshots/${{ inputs.snapshot_version }}/#' ./public/index.html > ./pyscript.core/dist/index.html\n\n            - name: Copy to Snapshot\n              run: >\n                  aws s3 sync ./dist/ s3://pyscript.net/snapshots/${{ inputs.snapshot_version }}/\n", "state": "active", "repository": "pyscript/pyscript"}
{"mined_at": "2024-07-15T17:16:51.446115", "created_at": "2023-03-02T13:38:53+01:00", "updated_at": "2023-09-27T17:02:53+02:00", "name": "Test Report", "path": ".github/workflows/test_report.yml", "contents": "name: Test Report\non:\n    workflow_run:\n        workflows: ['\\[CI\\] Test']\n        types:\n            - completed\njobs:\n    report:\n        runs-on: ubuntu-latest-8core\n        steps:\n            - uses: dorny/test-reporter@v1.9.0\n              with:\n                  artifact: test_results\n                  name: Test reports\n                  path: \"*.xml\"\n                  reporter: java-junit\n", "state": "active", "repository": "pyscript/pyscript"}
{"mined_at": "2024-07-15T17:16:52.561658", "created_at": "2023-09-20T21:30:24+02:00", "updated_at": "2023-09-20T21:53:22+02:00", "name": "Publish Unstable", "path": ".github/workflows/publish-unstable.yml", "contents": "name: \"Publish Unstable\"\n\non:\n    push: # Only run on merges into main that modify files under pyscript.core/ and examples/\n        branches:\n            - main\n        paths:\n            - pyscript.core/**\n            - examples/**\n\n    workflow_dispatch:\n\njobs:\n    publish-unstable:\n        runs-on: ubuntu-latest\n        permissions:\n            id-token: write\n            contents: read\n        defaults:\n            run:\n                working-directory: ./pyscript.core\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n\n            - name: Install node\n              uses: actions/setup-node@v4\n              with:\n                  node-version: 18.x\n\n            - name: Cache node modules\n              uses: actions/cache@v4\n              env:\n                  cache-name: cache-node-modules\n              with:\n                  # npm cache files are stored in `~/.npm` on Linux/macOS\n                  path: ~/.npm\n                  key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}\n                  restore-keys: |\n                      ${{ runner.os }}-build-${{ env.cache-name }}-\n                      ${{ runner.os }}-build-\n                      ${{ runner.os }}-\n\n            - name: NPM Install\n              run: npm install && npx playwright install\n\n            - name: Build\n              run: npm run build\n\n            - name: Generate index.html in snapshot\n              working-directory: .\n              run: sed 's#_PATH_#https://pyscript.net/unstable/#' ./public/index.html > ./pyscript.core/dist/index.html\n\n            - name: Configure AWS credentials\n              uses: aws-actions/configure-aws-credentials@v4\n              with:\n                  aws-region: ${{ secrets.AWS_REGION }}\n                  role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}\n\n            - name: Sync to S3\n              run: aws s3 sync --quiet ./dist/ s3://pyscript.net/unstable/\n", "state": "active", "repository": "pyscript/pyscript"}
{"mined_at": "2024-07-15T17:16:53.614474", "created_at": "2023-09-27T10:55:58+02:00", "updated_at": "2023-10-10T10:53:20+02:00", "name": "[CI] Test", "path": ".github/workflows/test.yml", "contents": "name: \"[CI] Test\"\n\non:\n    push: # Only run on merges into main that modify certain files\n        branches:\n            - main\n        paths:\n            - pyscript.core/**\n            - .github/workflows/test.yml\n\n    pull_request: # Only run on merges into main that modify certain files\n        branches:\n            - main\n        paths:\n            - pyscript.core/**\n            - .github/workflows/test.yml\n    workflow_dispatch:\n\njobs:\n    BuildAndTest:\n        runs-on: ubuntu-latest-8core\n        env:\n            MINICONDA_PYTHON_VERSION: py38\n            MINICONDA_VERSION: 4.11.0\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n              with:\n                  fetch-depth: 3\n\n            # display a git log: when you run CI on PRs, github automatically\n            # merges the PR into main and run the CI on that commit. The idea\n            # here is to show enough of git log to understand what is the\n            # actual commit (in the PR) that we are using. See also\n            # 'fetch-depth: 3' above.\n            - name: git log\n              run: git log --graph -3\n\n            - name: Install node\n              uses: actions/setup-node@v4\n              with:\n                  node-version: 20.x\n\n            - name: Cache node modules\n              uses: actions/cache@v4\n              env:\n                  cache-name: cache-node-modules\n              with:\n                  # npm cache files are stored in `~/.npm` on Linux/macOS\n                  path: ~/.npm\n                  key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}\n                  restore-keys: |\n                      ${{ runner.os }}-build-${{ env.cache-name }}-\n                      ${{ runner.os }}-build-\n                      ${{ runner.os }}-\n\n            - name: setup Miniconda\n              uses: conda-incubator/setup-miniconda@v3\n\n            - name: Create and activate virtual environment\n              run: |\n                  python3 -m venv test_venv\n                  source test_venv/bin/activate\n                  echo PATH=$PATH >> $GITHUB_ENV\n                  echo VIRTUAL_ENV=$VIRTUAL_ENV >> $GITHUB_ENV\n\n            - name: Setup dependencies in virtual environment\n              run: |\n                  make setup\n\n            - name: Build\n              run: make build\n\n            - name: Integration Tests\n              #run: make test-integration-parallel\n              run: |\n                  make test-integration\n\n            - uses: actions/upload-artifact@v4\n              with:\n                  name: pyscript\n                  path: |\n                      pyscript.core/dist/\n                  if-no-files-found: error\n                  retention-days: 7\n\n            - uses: actions/upload-artifact@v4\n              if: success() || failure()\n              with:\n                  name: test_results\n                  path: test_results/\n                  if-no-files-found: error\n", "state": "active", "repository": "pyscript/pyscript"}
{"mined_at": "2024-07-15T17:16:55.734938", "created_at": "2022-09-08T17:59:52+02:00", "updated_at": "2022-09-12T17:13:14+02:00", "name": "Lint code", "path": ".github/workflows/lint.yml", "contents": "name: Lint code\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  stable:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: ['ubuntu-latest']\n        python-version: [\"3.10\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n      - name: Install flake8 and related packages\n        run: python -m pip install \\\n          flake8 flake8-absolute-import flake8-black flake8-docstrings \\\n          flake8-isort flake8-pyproject flake8-unused-arguments \\\n          flake8-use-fstring pep8-naming\n      - name: Check xcp_d\n        run: python -m flake8 xcp_d\n", "state": "active", "repository": "pennlinc/xcp_d"}
{"mined_at": "2024-07-15T17:16:57.850481", "created_at": "2023-06-07T18:18:59+02:00", "updated_at": "2023-09-24T04:47:41+02:00", "name": "Build Docker", "path": ".github/workflows/build.yml", "contents": "name: Build Docker\n\non:\n  pull_request:\n    types:\n      - closed\n    branches:\n      - main\n  push:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.11'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          if [ -f backend/requirements.txt ]; then pip install -r backend/requirements.txt; fi\n          pip install pytest\n      - name: Test\n        working-directory: ./backend/src\n        run: |\n          mkdir -p config\n          pytest\n\n  webui-test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - uses: pnpm/action-setup@v4\n        name: Install pnpm\n        with:\n          version: 9\n          run_install: false\n\n      - name: Get pnpm store directory\n        shell: bash\n        run: |\n          echo \"STORE_PATH=$(pnpm store path --silent)\" >> $GITHUB_ENV\n\n      - uses: actions/cache@v4\n        name: Setup pnpm cache\n        with:\n          path: ${{ env.STORE_PATH }}\n          key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pnpm-store-\n\n      - name: Install dependencies\n        run: cd webui && pnpm install\n\n      - name: build test\n        run: |\n          cd webui && pnpm test:build\n\n  version-info:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: If release\n        id: release\n        run: |\n          if [[ '${{ github.event_name }}' == 'pull_request' && '${{ github.event.pull_request.head.ref }}' == *'dev'* ]]; then\n            if [ ${{ github.event.pull_request.merged }} == true ]; then\n              echo \"release=1\" >> $GITHUB_OUTPUT\n            else\n              echo \"release=0\" >> $GITHUB_OUTPUT\n            fi\n          elif [[ '${{ github.event_name }}' == 'push' && (${{ github.ref }} == *'alpha'* || ${{ github.ref }} == *'beta'*) ]]; then\n            echo \"release=1\" >> $GITHUB_OUTPUT\n          else\n            echo \"release=0\" >> $GITHUB_OUTPUT\n          fi\n      - name: If dev\n        id: dev\n        run: |\n          if [[ '${{ github.event_name }}' == 'push' && (${{ github.ref }} == *'alpha'* || ${{ github.ref }} == *'beta'*) ]]; then\n            echo \"dev=1\" >> $GITHUB_OUTPUT\n          else\n            echo \"dev=0\" >> $GITHUB_OUTPUT\n          fi\n      - name: Check version\n        id: version\n        run: |\n          if [ '${{ github.event_name }}' == 'pull_request' ]; then\n            if [ ${{ github.event.pull_request.merged }} == true ]; then\n              echo \"version=${{ github.event.pull_request.title }}\" >> $GITHUB_OUTPUT\n            fi\n          elif [[ ${{ github.event_name }} == 'push' && (${{ github.ref }} == *'alpha'* || ${{ github.ref }} == *'beta'*) ]]; then\n            echo \"version=${{ github.ref_name }}\" >> $GITHUB_OUTPUT\n          else\n            echo \"version=Test\" >> $GITHUB_OUTPUT\n          fi\n      - name: Check result\n        run: |\n          echo \"release: ${{ steps.release.outputs.release }}\"\n          echo \"dev: ${{ steps.dev.outputs.dev }}\"\n          echo \"version: ${{ steps.version.outputs.version }}\"\n    outputs:\n      release: ${{ steps.release.outputs.release }}\n      dev: ${{ steps.dev.outputs.dev }}\n      version: ${{ steps.version.outputs.version }}\n\n  build-webui:\n    runs-on: ubuntu-latest\n    needs: [test, webui-test, version-info]\n    if: ${{ needs.version-info.outputs.release == 1 || needs.version-info.outputs.dev == 1 }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - uses: pnpm/action-setup@v4\n        name: Install pnpm\n        with:\n          version: 9\n          run_install: false\n\n      - name: Get pnpm store directory\n        shell: bash\n        run: |\n          echo \"STORE_PATH=$(pnpm store path --silent)\" >> $GITHUB_ENV\n\n      - uses: actions/cache@v4\n        name: Setup pnpm cache\n        with:\n          path: ${{ env.STORE_PATH }}\n          key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}\n          restore-keys: |\n            ${{ runner.os }}-pnpm-store-\n\n      - name: Install dependencies\n        run: cd webui && pnpm install\n\n      - name: Build\n        run: |\n          cd webui && pnpm build\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist\n          path: webui/dist\n\n  build-docker:\n    runs-on: ubuntu-latest\n    needs: [build-webui, version-info]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Create Version info via tag\n        working-directory: ./backend/src\n        run: |\n          echo ${{ needs.version-info.outputs.version }}\n          echo \"VERSION='${{ needs.version-info.outputs.version }}'\" >> module/__version__.py\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Docker metadata main\n        if: ${{ needs.version-info.outputs.release == 1 && needs.version-info.outputs.dev != 1 }}\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            estrellaxd/auto_bangumi\n            ghcr.io/${{ github.repository }}\n          tags: |\n            type=raw,value=${{ needs.version-info.outputs.version }}\n            type=raw,value=latest\n\n      - name: Docker metadata dev\n        if: ${{ needs.version-info.outputs.dev == 1 }}\n        id: meta-dev\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            estrellaxd/auto_bangumi\n            ghcr.io/${{ github.repository }}\n          tags: |\n            type=raw,value=${{ needs.version-info.outputs.version }}\n            type=raw,value=dev-latest\n\n      - name: Login to DockerHub\n        if: ${{ needs.version-info.outputs.release == 1 }}\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Login to ghcr.io\n        if: ${{ needs.version-info.outputs.release == 1 }}\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.ACCESS_TOKEN }}\n\n      - name: Download artifact\n        uses: actions/download-artifact@v3\n        with:\n          name: dist\n          path: backend/src/dist\n\n      - name: Build and push\n        if: ${{ needs.version-info.outputs.release == 1 && needs.version-info.outputs.dev != 1 }}\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          builder: ${{ steps.buildx.output.name }}\n          platforms: linux/amd64,linux/arm64,linux/arm/v7\n          push: True\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=gha, scope=${{ github.workflow }}\n          cache-to: type=gha, scope=${{ github.workflow }}\n\n      - name: Build and push dev\n        if: ${{ needs.version-info.outputs.dev == 1 }}\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          builder: ${{ steps.buildx.output.name }}\n          platforms: linux/amd64,linux/arm64,linux/arm/v7\n          push: ${{ github.event_name == 'push' }}\n          tags: ${{ steps.meta-dev.outputs.tags }}\n          labels: ${{ steps.meta-dev.outputs.labels }}\n          cache-from: type=gha, scope=${{ github.workflow }}\n          cache-to: type=gha, scope=${{ github.workflow }}\n\n      - name: Build test\n        if: ${{ needs.version-info.outputs.release == 0 }}\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          builder: ${{ steps.buildx.output.name }}\n          platforms: linux/amd64,linux/arm64,linux/arm/v7\n          push: false\n          tags: estrellaxd/auto_bangumi:test\n          cache-from: type=gha, scope=${{ github.workflow }}\n          cache-to: type=gha, scope=${{ github.workflow }}\n\n  release:\n    runs-on: ubuntu-latest\n    needs: [build-docker, version-info]\n    if: ${{ needs.version-info.outputs.release == 1 }}\n    outputs:\n      url: ${{ steps.release.outputs.url }}\n      version: ${{ needs.version-info.outputs.version }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Download artifact webui\n        uses: actions/download-artifact@v3\n        with:\n          name: dist\n          path: webui/dist\n\n      - name: Zip webui\n        run: |\n          cd webui && ls -al && tree && zip -r dist.zip dist\n\n      - name: Download artifact app\n        uses: actions/download-artifact@v3\n        with:\n          name: dist\n          path: backend/src/dist\n\n      - name: Create Version info via tag\n        working-directory: ./backend/src\n        run: |\n          echo ${{ needs.version-info.outputs.version }}\n          echo \"VERSION='${{ needs.version-info.outputs.version }}'\" >> module/__version__.py\n\n      - name: Copy requirements.txt\n        working-directory: ./backend\n        run: cp requirements.txt src/requirements.txt\n\n      - name: Zip app\n        run: |\n          cd backend && zip -r app-v${{ needs.version-info.outputs.version }}.zip src\n\n      - name: Generate Release info\n        id: release-info\n        run: |\n          if ${{ needs.version-info.outputs.dev == 1 }}; then\n            echo \"version=🌙${{ needs.version-info.outputs.version }}\" >> $GITHUB_OUTPUT\n            echo \"pre_release=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"version=🌟${{ needs.version-info.outputs.version }}\" >> $GITHUB_OUTPUT\n            echo \"pre_release=false\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Release\n        id: release\n        uses: softprops/action-gh-release@v1\n        with:\n          tag_name: ${{ needs.version-info.outputs.version }}\n          name: ${{ steps.release-info.outputs.version }}\n          body: ${{ github.event.pull_request.body }}\n          draft: false\n          prerelease: ${{ steps.release-info.outputs.pre_release == 'true' }}\n          files: |\n            webui/dist.zip\n            backend/app-v${{ needs.version-info.outputs.version }}.zip\n        env:\n          GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}\n\n  telegram:\n    runs-on: ubuntu-latest\n    needs: [release]\n    steps:\n      - name: send telegram message on push\n        uses: appleboy/telegram-action@master\n        with:\n          to: ${{ secrets.TELEGRAM_TO }}\n          token: ${{ secrets.TELEGRAM_TOKEN }}\n          message: |\n            New release: ${{ needs.release.outputs.version }}\n            Link: ${{ needs.release.outputs.url }}\n", "state": "active", "repository": "estrellaxd/auto_bangumi"}
{"mined_at": "2024-07-15T17:17:02.084833", "created_at": "2022-07-05T04:58:07+02:00", "updated_at": "2022-07-14T08:14:34+02:00", "name": "Node.js - Build & Auto-Commit to CLI data/report/**", "path": ".github/workflows/build-statics.yaml", "contents": "\nname: Node.js - Build & Auto-Commit to CLI data/report/**\n\non:\n  pull_request:\n    types:\n      - closed\n      # Trigger when PR is closed\n    paths:\n      - \"static_report/**\"\n      - \"piperider_cli/**\"\n      # Trigger when diffs detected in cli and report sources\n    branches:\n      - main\n      # Only PR target is `main`\n\njobs:\n  if_merged_build:\n    if: github.event.pull_request.merged == true\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./static_report\n\n    steps:\n    - uses: actions/checkout@v3\n    \n    - name: Use Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: 16\n\n    - uses: pnpm/action-setup@v2.2.2\n      with:\n        version: 7\n\n    - name: Install dependencies\n      working-directory: ./static_report\n      run: pnpm install --frozen-lockfile\n\n\n    - name: Build Apps\n      run: pnpm run build\n\n    - name: Pull Remote Changes (before AC)\n      run: git pull origin main\n\n    - uses: stefanzweifel/git-auto-commit-action@v4\n      with:\n        commit_message: AUTO-COMMIT - build report statics to CLI data/report\n        branch: ${{ github.base_ref }}\n        # Auto-commits to target merge branch\n", "state": "active", "repository": "infuseai/piperider"}
{"mined_at": "2024-07-15T17:17:03.415662", "created_at": "2022-07-14T08:14:34+02:00", "updated_at": "2022-07-14T08:14:34+02:00", "name": "Node.js - E2E, Unit Tests, Lint (for PR)", "path": ".github/workflows/ci-statics.yaml", "contents": "\nname: Node.js - E2E, Unit Tests, Lint (for PR)\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n      # Trigger when PR is created and/or head of branch is updated.\n    paths:\n      - \"static_report/**\"\n      - \"piperider_cli/**\"\n      # Trigger when diffs detected in statics source code\n    branches:\n      - main\n      # Only PR target is `main`\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./static_report\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Use Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@v3\n      with:\n        node-version: 16\n\n    - uses: pnpm/action-setup@v2.2.2\n      with:\n        version: 7\n\n    - name: Install dependencies\n      working-directory: ./static_report\n      run: pnpm install --frozen-lockfile\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n\n    - name: Prepare Piperider Data & E2E Builds (2+1 runs; 1+1 comparison)\n      working-directory: .\n      run: |\n        pip install -r requirements.txt\n\n        which piperider\n        piperider version\n\n        bash static_report/src/sdlc/generate-e2e-data.sh first\n\n        cd static_report\n        pnpm run embed:html e2e\n        pnpm run bundle:e2e\n        cd ..\n\n        bash static_report/src/sdlc/generate-e2e-data.sh second\n\n        cd static_report\n        pnpm run embed:html e2e\n        pnpm run bundle:e2e:case\n        cd ..\n\n        zip -r reports.zip ./static_report/build\n\n    - name: Cypress run (E2E)\n    # Parallelization only for cypress dashboard https://www.cypress.io/pricing/\n      uses: cypress-io/github-action@v2\n      with:\n        install: false\n        record: false\n        working-directory: ./static_report\n        config-file: cypress.config.ts\n        start: |\n          pnpm run serve:e2e:norm:single\n          pnpm run serve:e2e:norm:comparison\n          pnpm run serve:e2e:case:single-edge\n          pnpm run serve:e2e:case:comparison-asymmetric\n        wait-on: 'http://localhost:3000, http://localhost:3001, http://localhost:4000, http://localhost:4001'\n\n    - uses: actions/upload-artifact@v3\n      with:\n        working-directory: ./static_report\n        name: report-artifacts\n        path: reports.zip\n\n    - name: Build Apps\n      run: pnpm run build\n    \n", "state": "active", "repository": "infuseai/piperider"}
{"mined_at": "2024-07-15T17:17:04.533768", "created_at": "2023-06-12T09:30:50+02:00", "updated_at": "2023-08-10T10:20:18+02:00", "name": "Run dbt tests", "path": ".github/workflows/dbt-compatible-tests.yaml", "contents": "name: Run dbt tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        version: [ '3.8', '3.9', '3.10', '3.11' ]\n        dbt: [ \">=1.3,<1.4\", \">=1.4,<1.5\", \">=1.5,<1.6\", \">=1.6,<1.7\", \">=1.7,<1.8\" ]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest \"dbt-core${{ matrix.dbt }}\"\n          pip install '.[duckdb]'\n      - name: Run tests\n        run: |\n          set +e\n          output=$(python -c \"from dbt import version as v\" 2>&1)\n          exit_code=$?\n          set -e\n\n          if [ $exit_code -eq 0 ]; then\n              python -mpytest tests/test_dbt_manifest_compatible.py tests/test_dbt_integeration.py tests/test_dbt_util.py\n          else\n              # https://github.com/dbt-labs/dbt-core/issues/6203#issuecomment-1319112890\n              echo \"Skip! dbt-core v1.3 only works with python less than 3.11\"\n          fi\n      - name: Run jaffle shop\n        if: matrix.dbt != '>=1.3,<1.4'\n        run: |\n          pip install \"dbt-duckdb${{ matrix.dbt }}\"\n\n          ./e2e-jaffle-shop/run.sh\n          \n          path=\"/home/runner/work/piperider/piperider/e2e-jaffle-shop/jaffle_shop/.piperider/comparisons/latest/summary.md\"\n          if [ ! -e \"$path\" ]; then\n            echo \"The path '$path' does not exist.\"\n            exit 1\n          fi\n          \n\n\n          \n", "state": "active", "repository": "infuseai/piperider"}
{"mined_at": "2024-07-15T17:17:05.770382", "created_at": "2023-07-25T10:38:52+02:00", "updated_at": "2023-08-10T10:20:18+02:00", "name": "Run dbt tests on win", "path": ".github/workflows/e2e-windows-tests.yaml", "contents": "name: Run dbt tests on win\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        version: [ '3.11' ]\n        dbt: [ \">=1.5,<1.6\", \">=1.6,<1.7\" ]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest \"dbt-core${{ matrix.dbt }}\" \"dbt-duckdb${{ matrix.dbt }}\"\n          pip install '.[duckdb]'\n\n      - name: Run jaffle shop\n        run: |\n          ./e2e-jaffle-shop/run.bat\n          python ./e2e-jaffle-shop/windows-result-checker.py\n", "state": "active", "repository": "infuseai/piperider"}
{"mined_at": "2024-07-15T17:17:06.772489", "created_at": "2022-06-08T09:49:59+02:00", "updated_at": "2022-06-08T10:55:09+02:00", "name": "Lint by Flake8", "path": ".github/workflows/flake8.yaml", "contents": "name: Lint by Flake8\n\non: [ push, pull_request ]\n\njobs:\n  flake8:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n          architecture: x64\n\n      - name: Checkout Code\n        uses: actions/checkout@master\n\n      - name: Install flake8\n        run: pip install flake8\n\n      - name: Run flake8\n        uses: suo/flake8-github-action@releases/v1\n        with:\n          checkName: 'flake8'   # NOTE: this needs to be the same as the job name\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "infuseai/piperider"}
{"mined_at": "2024-07-15T17:17:08.026017", "created_at": "2022-06-13T09:39:20+02:00", "updated_at": "2022-06-20T10:17:26+02:00", "name": "Nightly Build", "path": ".github/workflows/nightly.yaml", "contents": "name: Nightly Build\non:\n  schedule:\n    - cron: '0 18 * * 0,1,2,3,4' # run at 2 AM (UTC + 8) every working day\n  workflow_dispatch:\n    branches:\n      - main\n    inputs:\n      alpha_version:\n        description: 'Alpha version serial number'\n        required: true\n        type: number\n        default: '0'\n\njobs:\n  build-nightly-release:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0 # fetch all the code, we need the full log history for shortcut integration\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n      - name: Release to PyPi\n        id: release_pypi\n        run: |\n          # remove tracking config for nightly build\n          echo \"\" > ./piperider_cli/data/CONFIG\n\n          # generate pypirc\n          echo \"$PYPIRC\" > $HOME/.pypirc\n\n          # change package name to piperider-nightly\n          sed -i.bak \"s/name='piperider'/name='piperider-nightly'/\" setup.py\n\n\n          # update version number\n          echo \"Nightly build version: $(date '+%Y%m%d')\"\n          if [ \"$ALPHA_VERSION\" != \"\" ]; then\n            echo \"Manually alpha version serial number: $ALPHA_VERSION\"\n            sed -i.bak \"s/\\.dev\\$/\\.$(date '+%Y%m%d')a$ALPHA_VERSION/\" piperider_cli/VERSION\n          else\n            sed -i.bak \"s/\\.dev\\$/\\.$(date '+%Y%m%d')/\" piperider_cli/VERSION\n          fi\n          echo \"Nightly build version: $(cat piperider_cli/VERSION)\"\n          echo \"::set-output name=nightly_version::$(cat piperider_cli/VERSION)\"\n\n          # add commit sha to version command\n          echo \"$GITHUB_SHA\" > piperider_cli/data/COMMIT\n\n          # put config includes tracking api key\n          echo \"$CONFIG\" > ./piperider_cli/data/CONFIG\n\n          # release to PyPI\n          make release\n        env:\n          PYPIRC: ${{ secrets.PYPI_NIGHTLY }}\n          CONFIG: ${{ secrets.DEV_CONFIG }}\n          ALPHA_VERSION: ${{ inputs.alpha_version || '' }}\n\n      - name: Mark Sentry Release\n        uses: getsentry/action-release@v1\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: infuseai\n          SENTRY_PROJECT: piperider\n        with:\n          environment: nightly\n          ignore_empty: true\n          ignore_missing: true\n          version: ${{ steps.release_pypi.outputs.nightly_version }}\n\n      - name: Notify Release to Slack and Update Shortcut Stories\n        run: |\n          if [ \"$ALPHA_VERSION\" != '' ]; then\n            echo \"[Skip] Notify release to Slack and Update Shortcut Stories\"\n            echo \"PipeRider Alpha version: $(cat piperider_cli/VERSION)\"\n          else\n            echo \"Notify release to Slack and Update Shortcut Stories\"\n            echo \"PipeRider version: $(cat piperider_cli/VERSION)\"\n            bash .github/scripts/deploy_notify.sh $(cat piperider_cli/VERSION)\n          fi\n        env:\n          ALPHA_VERSION: ${{ inputs.alpha_version || '' }}\n          SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }}\n          SHORTCUT_API_TOKEN: ${{ secrets.SHORTCUT_API_TOKEN }}\n          SLACK_CHANNEL: '#dev'\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Mark Amplitude Release\n        run: |\n          if [ \"$ALPHA_VERSION\" != '' ]; then\n            echo \"[Skip] Mark Amplitude Release\"\n          else\n            bash .github/scripts/bump_amplitude_release.sh $VERSION\n          fi\n        env:\n          ALPHA_VERSION: ${{ inputs.alpha_version || '' }}\n          VERSION: ${{ steps.release_pypi.outputs.nightly_version }}\n          AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_DEV_API_KEY }}\n          AMPLITUDE_SECRET_KEY: ${{ secrets.AMPLITUDE_DEV_SECRET_KEY }}\n", "state": "active", "repository": "infuseai/piperider"}
{"mined_at": "2024-07-15T17:17:09.149789", "created_at": "2022-07-28T05:00:37+02:00", "updated_at": "2022-07-28T05:00:37+02:00", "name": "PipeRider PR Title Checker", "path": ".github/workflows/pr.yaml", "contents": "name: \"PipeRider PR Title Checker\"\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n      - labeled\n      - unlabeled\n\njobs:\n  pr-title-check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: thehanimo/pr-title-checker@v1.3.4\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          pass_on_octokit_error: false\n          configuration_path: \".github/PULL_REQUEST_TITLE_CHECKER.json\"\n", "state": "active", "repository": "infuseai/piperider"}
{"mined_at": "2024-07-15T17:17:10.288168", "created_at": "2022-05-25T08:47:47+02:00", "updated_at": "2022-06-02T07:55:12+02:00", "name": "Release to PyPI", "path": ".github/workflows/pypi.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Release to PyPI\n\non:\n  push:\n    tags: 'v*'\n\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n      - name: Run tests\n        run: |\n          make test\n      - name: Release\n        id: release_pypi\n        run: |\n          # get version from GITHUB_REF\n          # input: \"refs/tags/v0.1.0\"\n          # output: \"0.1.0\"\n\n          # update version number\n          echo \"${GITHUB_REF:11}\" > ./piperider_cli/VERSION\n          echo \"::set-output name=version::$(cat piperider_cli/VERSION)\"\n          # put config includes tracking api key\n          echo \"$CONFIG\" > ./piperider_cli/data/CONFIG\n\n          # set sentry environment\n          if [[ \"$(cat piperider_cli/VERSION)\" == *\"a\"* ]]; then\n            echo \"::set-output name=sentry_env::alpha\"\n          elif [[ \"$(cat piperider_cli/VERSION)\" == *\"b\"* ]]; then\n            echo \"::set-output name=sentry_env::beta\"\n          elif [[ \"$(cat piperider_cli/VERSION)\" == *\"rc\"* ]]; then\n            echo \"::set-output name=sentry_env::release-candidate\"\n          else\n            echo \"::set-output name=sentry_env::production\"\n          fi\n\n          # generate pypirc\n          echo \"$PYPIRC\" > $HOME/.pypirc\n\n          # release to PyPI\n          make release\n        env:\n          PYPIRC: ${{ secrets.PYPI }}\n          CONFIG: ${{ secrets.CONFIG }}\n      - name: Mark Sentry Release\n        uses: getsentry/action-release@v1\n        env:\n          SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n          SENTRY_ORG: infuseai\n          SENTRY_PROJECT: piperider\n        with:\n          environment: ${{ steps.release_pypi.outputs.sentry_env || 'production' }}\n          ignore_empty: true\n          ignore_missing: true\n          version: ${{ steps.release_pypi.outputs.version }}\n      - name: Mark Amplitude Release\n        run: |\n          bash .github/scripts/bump_amplitude_release.sh $VERSION $ENVIRONMENT\n        env:\n          VERSION: ${{ steps.release_pypi.outputs.version }}\n          ENVIRONMENT: ${{ steps.release_pypi.outputs.sentry_env || 'production' }}\n          AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_PROD_API_KEY }}\n          AMPLITUDE_SECRET_KEY: ${{ secrets.AMPLITUDE_PROD_SECRET_KEY }}\n      - name: Notify release to Slack\n        id: slack\n        uses: slackapi/slack-github-action@v1.19.0\n        with:\n          payload: |\n            {\n              \"text\": \":chai_dog::chai_dog::chai_dog:*PipeRider Release*:chai_dog::chai_dog::chai_dog:\\n*Version*: ${{ steps.release_pypi.outputs.version }}\\n*GitHub Release*: <https://github.com/InfuseAI/piperider/releases/tag/v${{ steps.release_pypi.outputs.version }}|v${{ steps.release_pypi.outputs.version }}>\"\n            }\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_API_TOKEN }}\n    outputs:\n      piperider_version: ${{ steps.release_pypi.outputs.version }}\n      sentry_env: ${{ steps.release_pypi.outputs.sentry_env || 'production' }}\n\n  deploy-docker:\n    runs-on: ubuntu-latest\n    needs: [ build ]\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Sleep for 30 seconds\n        run: |\n          sleep 30\n\n      - name: Build & deploy Docker images\n        run: |\n          echo \"Build & deploy Docker images: piperider:$VERSION\"\n          make docker-deploy VERSION=$VERSION\n          if [ \"$SENTRY_ENV\" == \"production\" ]; then\n            echo \"Set piperider:$VERSION as piperider:latest\"\n            make docker-deploy-latest VERSION=$VERSION\n          fi\n        env:\n          VERSION: ${{ needs.build.outputs.piperider_version }}\n          SENTRY_ENV: ${{ needs.build.outputs.sentry_env }}\n\n  generate-sample-report:\n    runs-on: ubuntu-latest\n    needs: [ build ]\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Sleep for 30 seconds\n        run: |\n          sleep 30\n\n      - name: Generate Sample Report by Repository Dispatch\n        uses: peter-evans/repository-dispatch@v2\n        with:\n          token: ${{ secrets.PIPERIDER_INTERNAL_PROJECTS_GITHUB_TOKEN }}\n          repository: InfuseAI/git-repo-analytics\n          event-type: generate-sample-report\n          client-payload: '{\"piperider_version\": \"${{ needs.build.outputs.piperider_version }}\"}'\n", "state": "active", "repository": "infuseai/piperider"}
{"mined_at": "2024-07-15T17:17:11.608331", "created_at": "2022-05-25T08:58:37+02:00", "updated_at": "2022-05-25T09:00:18+02:00", "name": "Run tests", "path": ".github/workflows/tests.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Run tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          pip install -e '.[duckdb]'\n      - name: Run tests\n        run: |\n          make test\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "infuseai/piperider"}
{"mined_at": "2024-07-15T17:17:12.734456", "created_at": "2023-11-07T09:10:58+01:00", "updated_at": "2023-11-07T10:13:09+01:00", "name": "Run tox tests", "path": ".github/workflows/tox.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Run tox tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          pip install -e '.[duckdb]'\n          pip install tox\n      - name: Run tox-sqlalchemy\n        run: tox -c tox-sqlalchemy.ini\n      - name: Run tox-ruamel\n        run: tox -c tox-ruamel.ini\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "infuseai/piperider"}
{"mined_at": "2024-07-15T17:17:14.987129", "created_at": "2021-06-07T15:38:24+02:00", "updated_at": "2021-06-07T15:38:24+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  # We run CI on pushes to the main branch\n  push:\n    branches:\n      - main\n  # and on all pull requests to the main branch\n  pull_request:\n    branches:\n      - main\n  # as well as upon manual triggers through the 'Actions' tab of the Github UI\n  workflow_dispatch:\n\njobs:\n  build-and-test:\n    name: Testing on ${{matrix.os}} Py${{matrix.python-version}}- OpenMP ${{matrix.openmp}}\n    runs-on: ${{matrix.os}}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, macos-11, windows-2022]\n        python-version: [\"3.8\", \"3.12\"]\n        openmp: ['ON', 'OFF']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: 'recursive'\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install OpenMP\n      if: runner.os == 'macOS' && matrix.openmp == 'ON'\n      run: brew install libomp\n\n    - name: make build directory\n      run: cmake -E make_directory ${{runner.workspace}}/build\n\n    - name: configure cmake\n      shell: bash\n      working-directory: ${{runner.workspace}}/build\n      run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DBUILD_DOCS=OFF -DBUILD_BENCHMARKS=ON -DPY4DGEO_WITH_OPENMP=${{matrix.openmp}}\n\n    - name: build\n      shell: bash\n      working-directory: ${{runner.workspace}}/build\n      run: cmake --build .\n\n    - name: Install Python package and development requirements\n      run: |\n        python -m pip install -r requirements-dev.txt\n        python -m pip install -v .\n\n    - name: Install py4dgeo test data\n      shell: bash\n      run: |\n        mkdir -p $GITHUB_WORKSPACE/tests/data\n        copy_py4dgeo_test_data $GITHUB_WORKSPACE/tests/data\n\n    - name: run tests\n      shell: bash\n      working-directory: ${{runner.workspace}}/build\n      run: ctest --output-on-failure -C Debug\n\n    - name: Run Python tests\n      run: |\n        python -m pytest --nbval\n\n  coverage-test:\n    name: Coverage Testing\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: 'recursive'\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - name: Install LCov\n      run: |\n        sudo apt-get install -y lcov\n\n    - name: Install Python package and development requirements\n      run: |\n        python -m pip install -r requirements-dev.txt\n        python -m pip install -v --editable .\n\n    - name: Install py4dgeo test data\n      shell: bash\n      run: |\n        mkdir -p $GITHUB_WORKSPACE/tests/data\n        copy_py4dgeo_test_data $GITHUB_WORKSPACE/tests/data\n\n    - name: make build directory\n      run: cmake -E make_directory ${{runner.workspace}}/build\n\n    - name: configure cmake\n      shell: bash\n      working-directory: ${{runner.workspace}}/build\n      run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS=\"--coverage\" -DBUILD_DOCS=OFF\n\n    - name: build\n      shell: bash\n      working-directory: ${{runner.workspace}}/build\n      run: cmake --build .\n\n    - name: run tests\n      shell: bash\n      working-directory: ${{runner.workspace}}/build\n      run: ctest -C Debug\n\n    - name: collect coverage report\n      shell: bash\n      working-directory: ${{runner.workspace}}\n      run: |\n        lcov --directory ./build --capture --output-file coverage.info\n        lcov_cobertura coverage.info -o coverage2.xml\n\n    - name: Run coverage tests\n      run: |\n        python -m pytest --cov=src --cov-report=xml\n\n    - name: Upload coverage to Codecov.io\n      working-directory: ${{runner.workspace}}\n      run: |\n        curl --connect-timeout 10 --retry 5 -Os https://uploader.codecov.io/latest/linux/codecov\n        chmod +x codecov\n        ./codecov -f py4dgeo/coverage.xml -F python\n        ./codecov -f coverage2.xml -F cxx\n\n  address-sanitizer:\n    name: Address sanitizer run\n    runs-on: ubuntu-20.04\n    env:\n      ASAN_OPTIONS: \"detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1\"\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: 'recursive'\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n\n    - name: Install Python development requirements\n      run: |\n        python -m pip install -r requirements-dev.txt\n        python -m pip install -v .\n\n    - name: Install py4dgeo test data\n      shell: bash\n      run: |\n        mkdir -p $GITHUB_WORKSPACE/tests/data\n        copy_py4dgeo_test_data $GITHUB_WORKSPACE/tests/data\n\n    - name: make build directory\n      run: cmake -E make_directory ${{runner.workspace}}/build\n\n    - name: configure cmake\n      shell: bash\n      working-directory: ${{runner.workspace}}/build\n      run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS=\"-fsanitize=address -fsanitize-address-use-after-scope -fno-omit-frame-pointer\" -DCMAKE_EXE_LINKER_FLAGS=\"-fsanitize=address -fsanitize-address-use-after-scope -fno-omit-frame-pointer\" -DBUILD_DOCS=OFF\n\n    - name: build\n      shell: bash\n      working-directory: ${{runner.workspace}}/build\n      run: cmake --build .\n\n    - name: run c++ tests\n      shell: bash\n      working-directory: ${{runner.workspace}}/build\n      run: ctest --rerun-failed --output-on-failure -C Debug\n\n    - name: run python tests\n      shell: bash\n      working-directory: ${{runner.workspace}}/py4dgeo\n      # for LD_PRELOAD see https://github.com/google/sanitizers/issues/934#issuecomment-649516500\n      run: |\n        mv ../build/_py4dgeo.*.so src/py4dgeo/.\n        echo \"leak:/usr/bin/bash\" > supp.txt\n        echo \"leak:_PyObject_New\" >> supp.txt\n        echo \"leak:_PyObject_GC\" >> supp.txt\n        echo \"leak:insert_to_emptydict\" >> supp.txt\n        echo \"leak:new_keys_object\" >> supp.txt\n        echo \"leak:PyDict_Copy\" >> supp.txt\n        echo \"leak:PyUnicode_New\" >> supp.txt\n        echo \"leak:pyo3::types::function::PyCFunction::internal_new_from_pointers\" >> supp.txt\n        echo \"leak:pyo3::types::function::PyCFunction::internal_new::\" >> supp.txt\n        # hack to prevent external libs from dlclosing libraries,\n        # which otherwise results in <module not found> LSAN leaks that cannot be suppressed\n        # https://github.com/google/sanitizers/issues/89#issuecomment-406316683\n        echo \"#include <stdio.h>\" > dlclose.c\n        echo \"int dlclose(void *handle) { return 0; }\" >> dlclose.c\n        clang -shared dlclose.c -o libdlclose.so\n        LSAN_OPTIONS=suppressions=\"$(pwd)/supp.txt\" PYTHONPATH=src LD_PRELOAD=\"$(gcc -print-file-name=libasan.so) /usr/lib/x86_64-linux-gnu/libstdc++.so.6 $(pwd)/libdlclose.so\" PYTHONMALLOC=malloc pytest -s\n", "state": "active", "repository": "3dgeo-heidelberg/py4dgeo"}
{"mined_at": "2024-07-15T17:17:16.132981", "created_at": "2021-06-18T16:29:31+02:00", "updated_at": "2021-06-18T16:29:31+02:00", "name": "Build Wheels + PyPI deploy", "path": ".github/workflows/pypi.yml", "contents": "name: Build Wheels + PyPI deploy\n\non:\n  workflow_dispatch:\n    inputs:\n      deploy_to_testpypi:\n        description: \"Whether the build should be deployed to test.pypi.org\"\n        required: true\n        default: \"false\"\n      deploy_to_pypi:\n        description: \"Whether the build should be deployed to pypi.org\"\n        required: true\n        default: \"true\"\n\njobs:\n  build-wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-20.04\n            arch: \"x86_64\"\n          - os: windows-2022\n            arch: \"AMD64\"\n          - os: macos-11\n            arch: \"x86_64\"\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: 'recursive'\n\n    - name: Build wheels (arch=${{ matrix.arch }})\n      uses: pypa/cibuildwheel@v2.17\n      env:\n        CIBW_ARCHS: \"${{ matrix.arch }}\"\n\n    - uses: actions/upload-artifact@v4\n      with:\n        path: ./wheelhouse/*.whl\n\n  build-sdist:\n    name: Build source distribution\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n\n      - name: Build SDist\n        run: pipx run build --sdist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: dist/*.tar.gz\n\n  test-sdist:\n    name: Test source distribution on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    needs: [build-sdist]\n    strategy:\n      matrix:\n        os:\n          - ubuntu-20.04\n          - windows-2022\n          - macos-11\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.9'\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: artifact\n          path: dist\n\n      - name: Install OpenMP\n        if: runner.os == 'macOS'\n        run: brew install libomp\n\n      - name: Install from SDist\n        shell: bash\n        run:\n          python -m pip install dist/*.tar.gz\n\n      - name: Install test requirements\n        run:\n          python -m pip install -r requirements-dev.txt\n\n      - name: Run test suite\n        run:\n          python -m pytest\n\n  upload_testpypi:\n    needs: [build-sdist, test-sdist, build-wheels]\n    runs-on: ubuntu-20.04\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        if: github.event.inputs.deploy_to_testpypi == 'true'\n        with:\n          repository_url: https://test.pypi.org/legacy/\n\n  upload_pypi:\n    needs: [build-sdist, build-wheels, upload_testpypi]\n    runs-on: ubuntu-20.04\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        if: github.event.inputs.deploy_to_pypi == 'true'\n", "state": "active", "repository": "3dgeo-heidelberg/py4dgeo"}
{"mined_at": "2024-07-15T17:17:18.266210", "created_at": "2023-08-01T22:10:30+02:00", "updated_at": "2023-08-01T22:10:30+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/paxml"}
{"mined_at": "2024-07-15T17:17:20.619300", "created_at": "2022-09-19T09:55:38+02:00", "updated_at": "2022-09-19T11:15:49+02:00", "name": "Database Iterators Standalone", "path": ".github/workflows/buildAndTestDatabaseIteratorsStandalone.yml", "contents": "name: Database Iterators Standalone\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Build and Test\n    runs-on: ubuntu-22.04\n    env:\n      LLVM_SYMBOLIZER_PATH: /usr/lib/llvm-14/bin/llvm-symbolizer\n    steps:\n    - name: Set up Python\n      uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0\n      with:\n        python-version: 3.11\n\n    - name: Checkout project\n      uses: actions/checkout@v3\n      with:\n        path: sandbox\n\n    - name: Install Ninja\n      uses: llvm/actions/install-ninja@6a57890d0e3f9f35dfc72e7e48bc5e1e527cdd6c # Jan 17\n\n    - name: Install doxygen\n      run: |\n        sudo apt-get install -y doxygen graphviz\n\n    - name: Define build dir\n      run: |\n        echo \"DATABASE_ITERATORS_STANDALONE_BUILD_DIR=${GITHUB_WORKSPACE}/sandbox/examples/database-iterators-standalone/build\" >> $GITHUB_ENV\n\n    - name: Setup CMake\n      run: |\n        mkdir ${DATABASE_ITERATORS_STANDALONE_BUILD_DIR}\n        cd ${DATABASE_ITERATORS_STANDALONE_BUILD_DIR}\n        cmake -G Ninja ..\n\n    - name: Build\n      run: |\n        cd ${DATABASE_ITERATORS_STANDALONE_BUILD_DIR}\n        ninja\n        ninja DatabaseIteratorsDocs\n\n    - name: Test\n      run: |\n        cd ${DATABASE_ITERATORS_STANDALONE_BUILD_DIR}\n        ninja test\n", "state": "active", "repository": "iree-org/iree-llvm-sandbox"}
{"mined_at": "2024-07-15T17:17:21.703947", "created_at": "2023-04-15T06:30:51+02:00", "updated_at": "2023-06-12T14:29:40+02:00", "name": "Structured Build and Test", "path": ".github/workflows/buildAndTestStructured.yml", "contents": "name: Structured Build and Test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Structured Build and Test (Release Asserts)\n    runs-on: ubuntu-22.04\n    env:\n      LLVM_SYMBOLIZER_PATH: /usr/lib/llvm-14/bin/llvm-symbolizer\n    steps:\n    - name: Compute Structured base path\n      run: |\n        echo \"STRUCTURED_MAIN_SRC_DIR=${GITHUB_WORKSPACE}/sandbox\" | tee -a $GITHUB_ENV\n        echo \"STRUCTURED_MAIN_BINARY_DIR=${GITHUB_WORKSPACE}/sandbox/build\" | tee -a $GITHUB_ENV\n        echo \"LLVM_SYSPATH=${GITHUB_WORKSPACE}/sandbox/build\" | tee -a $GITHUB_ENV\n        echo \"MLIR_RUNNER_UTILS_LIB=${GITHUB_WORKSPACE}/sandbox/build/lib/libmlir_runner_utils.so\" | tee -a $GITHUB_ENV\n        echo \"MLIR_C_RUNNER_UTILS_LIB=${GITHUB_WORKSPACE}/sandbox/build/lib/libmlir_c_runner_utils.so\" | tee -a $GITHUB_ENV\n\n    - name: Set up Python\n      uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0\n      with:\n        python-version: 3.11\n\n    - name: Cache git folder\n      uses: actions/cache@v3\n      with:\n        path: sandbox/.git\n        key: git-folder\n\n    - name: Install protobuf\n      run: |\n        sudo apt-get install -y protobuf-compiler libprotobuf-dev\n\n    - name: Install libcurl\n      run: |\n        sudo apt-get install -y libcurl4-gnutls-dev\n\n    - name: Checkout project\n      uses: actions/checkout@v3\n      with:\n        path: sandbox\n        submodules: recursive\n\n    - name: Install Ninja\n      uses: llvm/actions/install-ninja@6a57890d0e3f9f35dfc72e7e48bc5e1e527cdd6c # Jan 17\n\n    - name: Ccache for C++ compilation\n      uses: hendrikmuhs/ccache-action@621a41397ed83711c72862638d9ff6e63fca3041 # v1.2.3\n      with:\n        key: ${{ runner.os }}-structured\n        # LLVM needs serious cache size\n        max-size: 6G\n\n    - name: Install Python depends\n      run: |\n        cd ${STRUCTURED_MAIN_SRC_DIR}\n        python -m pip install -v -r requirements.txt\n\n    - name: Configure CMake\n      run: |\n        cmake \\\n          -DPython3_EXECUTABLE=$(which python) \\\n          -DBUILD_SHARED_LIBS=ON \\\n          -DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE \\\n          -DCMAKE_BUILD_TYPE=RelWithDebInfo \\\n          -DCMAKE_C_COMPILER:FILEPATH=clang \\\n          -DCMAKE_CXX_COMPILER:FILEPATH=clang++ \\\n          -DLLVM_ENABLE_PROJECTS=\"mlir;clang;clang-tools-extra\" \\\n          -DLLVM_TARGETS_TO_BUILD=\"X86\" \\\n          -DLLVM_ENABLE_ASSERTIONS=ON \\\n          -DLLVM_INCLUDE_TESTS=OFF \\\n          -DLLVM_INCLUDE_UTILS=ON \\\n          -DLLVM_INSTALL_UTILS=ON \\\n          -DLLVM_LIT_ARGS=-v \\\n          -DLLVM_EXTERNAL_PROJECTS=structured \\\n          -DLLVM_EXTERNAL_STRUCTURED_SOURCE_DIR=${STRUCTURED_MAIN_SRC_DIR} \\\n          -DLLVM_ENABLE_LLD=ON \\\n          -DLLVM_CCACHE_BUILD=ON \\\n          -DMLIR_INCLUDE_INTEGRATION_TESTS=ON \\\n          -DMLIR_ENABLE_BINDINGS_PYTHON=ON \\\n          -DMLIR_ENABLE_PYTHON_BENCHMARKS=ON \\\n          -S${STRUCTURED_MAIN_SRC_DIR}/third_party/llvm-project/llvm \\\n          -B${STRUCTURED_MAIN_BINARY_DIR} -G Ninja\n        echo \"PYTHONPATH=${PYTHONPATH}:${STRUCTURED_MAIN_BINARY_DIR}/tools/structured/python_packages\" | tee -a $GITHUB_ENV\n\n    - name: Build main project\n      run: |\n        cmake --build ${STRUCTURED_MAIN_BINARY_DIR} --target structured-all\n        ccache -s\n\n    - name: Run lit tests\n      run: |\n        cmake --build ${STRUCTURED_MAIN_BINARY_DIR} --target check-structured\n\n    - name: Run benchmarks\n      shell: bash # This enables the `-eo pipefail` flag to propagate script failures.\n      run: |\n        ${GITHUB_WORKSPACE}/sandbox/benchmarks/inner_product/run.sh test | tee /tmp/result.jsonl\n        ${GITHUB_WORKSPACE}/sandbox/benchmarks/inner_product/plot.sh -i /tmp/result.jsonl\n\n    - name: Archive benchmark plots\n      uses: actions/upload-artifact@v3\n      with:\n        name: structured-benchmark-plots\n        path: |\n          sandbox/benchmarks/**/*.pdf\n", "state": "active", "repository": "iree-org/iree-llvm-sandbox"}
{"mined_at": "2024-07-15T17:17:22.871820", "created_at": "2023-08-10T00:57:56+02:00", "updated_at": "2023-08-10T00:57:56+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "iree-org/iree-llvm-sandbox"}
{"mined_at": "2024-07-15T17:17:25.111518", "created_at": "2022-02-25T19:18:45+01:00", "updated_at": "2022-04-12T18:22:55+02:00", "name": "check_formatting", "path": ".github/workflows/check_formatting.yml", "contents": "name: check_formatting\non: [push, pull_request]\njobs:\n  formatting_job:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-version: latest\n          miniforge-variant: mambaforge\n          channel-priority: strict\n          channels: conda-forge\n          show-channel-urls: true\n          use-only-tar-bz2: true\n\n      - name: Install dependencies and check formatting\n        shell: bash -l {0}\n        run:\n          mamba install --quiet --yes --file requirements.txt black &&\n          black --version &&\n          black tobac --check --diff \n", "state": "active", "repository": "tobac-project/tobac"}
{"mined_at": "2024-07-15T17:17:26.353068", "created_at": "2023-06-01T16:04:00+02:00", "updated_at": "2023-07-12T22:09:34+02:00", "name": "Check Zenodo JSON Formatting", "path": ".github/workflows/check_json.yml", "contents": "name: Check Zenodo JSON Formatting\non: [push, pull_request]\njobs:\n  check-json-formatting:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -el {0}\n    steps:\n      - name: check out repository code\n        uses: actions/checkout@v3\n      - name: set up conda environment\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          auto-activate-base: false\n          activate-environment: checkjson-env\n      - name: Install check-jsonschema\n        run: |\n          pip install check-jsonschema\n      - name: Check zenodo JSON formatting\n        run: |\n          check-jsonschema --schemafile https://zenodraft.github.io/metadata-schema-zenodo/latest/schema.json .zenodo.json", "state": "active", "repository": "tobac-project/tobac"}
{"mined_at": "2024-07-15T17:17:27.517541", "created_at": "2023-03-17T11:19:31+01:00", "updated_at": "2023-07-12T22:09:34+02:00", "name": "Jupyter Notebooks CI", "path": ".github/workflows/check_notebooks.yml", "contents": "name: Jupyter Notebooks CI\non: [push, pull_request]\njobs:\n  Check-Notebooks:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -el {0}\n    steps:\n      - name: check out repository code\n        uses: actions/checkout@v3\n      - name: set up conda environment\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-version: latest\n          miniforge-variant: mambaforge\n          channel-priority: strict\n          channels: conda-forge\n          show-channel-urls: true\n          use-only-tar-bz2: true\n          auto-update-conda: true\n          auto-activate-base: false\n          activate-environment: notebook-env\n      - name: Install tobac dependencies\n        run: |\n          mamba install -c conda-forge --yes ffmpeg gcc jupyter pytables\n          mamba install -c conda-forge --yes --file example_requirements.txt\n      - name: Install tobac\n        run: |\n          pip install .\n      - name: Find all notebook files\n        run: |\n          find . -type f -name '*.ipynb' > nbfiles.txt\n          cat nbfiles.txt\n      - name: Execute all notebook files\n        run: |\n          while IFS= read -r nbpath; do\n            jupyter nbconvert --inplace --ClearMetadataPreprocessor.enabled=True --clear-output $nbpath\n            jupyter nbconvert --to notebook --inplace --execute $nbpath\n          done < nbfiles.txt", "state": "active", "repository": "tobac-project/tobac"}
{"mined_at": "2024-07-15T17:17:28.710053", "created_at": "2022-04-24T06:47:35+02:00", "updated_at": "2022-07-18T19:40:28+02:00", "name": "Codecov CI", "path": ".github/workflows/codecov-CI.yml", "contents": "name: Codecov CI\n\non: [push, pull_request]\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    env:\n      OS: ubuntu-latest\n      PYTHON: \"3.9\"\n    steps:\n      - uses: actions/checkout@v2\n      # Similar to MetPy install-conda action\n      - name: Set up conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-version: latest\n          miniforge-variant: mambaforge\n          channel-priority: strict\n          channels: conda-forge\n          show-channel-urls: true\n          use-only-tar-bz2: true\n\n      - name: Install dependencies and generate report\n        shell: bash -l {0}\n        run:\n          mamba install --quiet --yes --file requirements.txt coverage pytest-cov &&\n          python -m coverage run -m pytest --cov=./ --cov-report=xml\n      - name: Upload Coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n          flags: unittests\n", "state": "active", "repository": "tobac-project/tobac"}
{"mined_at": "2024-07-15T17:17:29.840578", "created_at": "2022-01-23T17:35:40+01:00", "updated_at": "2022-02-18T09:03:05+01:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Docker Image CI\n\non: [push, pull_request]\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Build the Docker image\n      run: docker build . --file tobac/tests/Dockerfile --tag my-image-name:$(date +%s)\n", "state": "active", "repository": "tobac-project/tobac"}
{"mined_at": "2024-07-15T17:17:30.963755", "created_at": "2023-05-24T09:59:11+02:00", "updated_at": "2023-05-24T09:59:11+02:00", "name": "Generate Jupyter Notebooks", "path": ".github/workflows/generate_notebooks.yml", "contents": null, "state": "active", "repository": "tobac-project/tobac"}
{"mined_at": "2024-07-15T17:17:32.091067", "created_at": "2023-10-10T19:26:19+02:00", "updated_at": "2023-12-08T19:25:58+01:00", "name": "Matrix Testing CI", "path": ".github/workflows/matrix_ci.yml", "contents": "name: Matrix Testing CI\n# this is similar to the pyart CI action\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\n# This job installs dependencies and runs tests across a matrix of python and OS versions.\n#Add if: github.repository == 'tobac-project/tobac' to limit runs to tobac repo\n\njobs:\n  build:\n    name: ${{ matrix.os }}-${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}-latest\n    if: github.repository == 'tobac-project/tobac'\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        os: [macos, ubuntu, windows]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      # Install micromamba and dependencies\n      - name: Setup Conda Environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment-ci.yml\n          activate-environment: pyart-dev\n          cache-downloads: true\n          channels: conda-forge\n          channel-priority: strict\n          python-version: ${{ matrix.python-version }}\n\n      - name: Fetch all history for all tags and branches\n        run: |\n           git fetch --prune --unshallow\n\n      - name: Install tobac\n        shell: bash -l {0}\n        run: |\n          python -m pip install -e . --no-deps --force-reinstall\n\n      - name: Run Tests\n        id: run_tests\n        shell: bash -l {0}\n        run: |\n          python -m pytest -v \n", "state": "active", "repository": "tobac-project/tobac"}
{"mined_at": "2024-07-15T17:17:33.227406", "created_at": "2023-05-11T01:27:58+02:00", "updated_at": "2023-12-08T19:25:58+01:00", "name": "Linting", "path": ".github/workflows/pylint.yml", "contents": "name: Linting\non:\n  pull_request_target:\n    branches:\n      - '*'\npermissions:\n  pull-requests: write\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v3\n\n      - name: Set up conda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniforge-version: latest\n          miniforge-variant: mambaforge\n          channel-priority: strict\n          channels: conda-forge\n          show-channel-urls: true\n          use-only-tar-bz2: true\n\n      - name: Install tobac and pylint\n        run: |\n          mamba install --yes pylint\n          pip install .\n\n      - name: Store the PR branch\n        run: |\n          echo \"SHA=$(git rev-parse \"$GITHUB_SHA\")\" >> $GITHUB_OUTPUT\n        id: git\n\n      - name: Checkout RC branch\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.base_ref }}\n          \n      - name: Get pylint score of RC branch\n        run: |\n          pylint tobac --disable=C --exit-zero\n        id: main_score\n\n      - name: Checkout PR branch\n        uses: actions/checkout@v3\n        with:\n          ref: \"${{ steps.git.outputs.SHA }}\"  \n\n      - name: Get pylint score of PR branch\n        run: |\n          # use shell script to save only tail of output  \n          OUTPUT_PART=$(pylint tobac --disable=C --exit-zero | tail -n 2)\n          # but post entire output in the action details \n          pylint tobac --disable=C --exit-zero\n          # define random delimiter for multiline string\n          EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)\n          echo \"MESSAGE<<$EOF\" >> \"$GITHUB_OUTPUT\"\n          echo \"$OUTPUT_PART\" >> \"$GITHUB_OUTPUT\"\n          echo \"$EOF\" >> \"$GITHUB_OUTPUT\"\n        id: pr_score\n\n      - name: Find Comment\n        uses: peter-evans/find-comment@v2\n        id: comment\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-author: 'github-actions[bot]'\n          body-includes: Linting results by Pylint\n\n      - name: Post result to PR\n        uses: peter-evans/create-or-update-comment@v3\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-id: ${{ steps.comment.outputs.comment-id }}\n          edit-mode: replace\n          body: |\n            Linting results by Pylint:\n            --------------------------\n            ${{ steps.pr_score.outputs.MESSAGE }}\n            <sub>The linting score is an indicator that reflects how well your code version follows Pylint’s coding standards and quality metrics with respect to the ${{ github.base_ref }} branch.\n            A decrease usually indicates your new code does not fully meet style guidelines or has potential errors.<sup>\n", "state": "active", "repository": "tobac-project/tobac"}
{"mined_at": "2024-07-15T17:17:35.696372", "created_at": "2024-03-14T10:04:11+01:00", "updated_at": "2024-03-14T10:08:57+01:00", "name": "Check if installing from conda-forge works", "path": ".github/workflows/check_conda_forge.yml", "contents": "name: Check if installing from conda-forge works\non:\n  workflow_dispatch:\n\njobs:\n  Install-miniconda:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          activate-environment: cellpy_dev\n          environment-file: github_actions_environment.yml\n          python-version: ${{ matrix.python-version }}\n\n      - name: Conda info\n        run: conda info\n\n      - name: Conda list\n        run: conda list\n\n      - name: create conda environment\n        run: |\n          conda create -n cellpy_conda\n          conda activate cellpy_conda\n          conda install -c conda-forge cellpy\n\n      - name: check cellpy\n        run: |\n          conda activate cellpy_conda\n          cellpy setup -s\n          \n", "state": "active", "repository": "jepegit/cellpy"}
{"mined_at": "2024-07-15T17:17:37.063137", "created_at": "2023-10-20T15:18:27+02:00", "updated_at": "2023-10-20T15:18:27+02:00", "name": "joss pdf", "path": ".github/workflows/draft-pdf.yml", "contents": "name: joss pdf\non:\n  workflow_dispatch:\n\njobs:\n  paper:\n    runs-on: ubuntu-latest\n    name: Paper Draft\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Build draft PDF\n        uses: openjournals/openjournals-draft-action@master\n        with:\n          journal: joss\n          # This should be the path to the paper within your repo.\n          paper-path: paper/paper.md\n      - name: Upload\n        uses: actions/upload-artifact@v3\n        with:\n          name: paper\n          # This is the output path where Pandoc will write the compiled\n          # PDF. Note, this should be the same directory as the input\n          # paper.md\n          path: paper/paper.pdf\n", "state": "active", "repository": "jepegit/cellpy"}
{"mined_at": "2024-07-15T17:17:38.552186", "created_at": "2024-02-16T10:19:08+01:00", "updated_at": "2024-02-17T10:25:01+01:00", "name": "Installing using pip on Mac M chip", "path": ".github/workflows/pip-install-macos-14.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Installing using pip on Mac M chip\n\non:\n  push:\n    branches:\n      - \"**\"\n  pull_request:\n    branches: [ \"master\" ]\n  workflow_dispatch:\n\njobs:\n  build:\n\n    runs-on: macos-14\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install mdbtools\n      run: |\n        brew install mdbtools\n    - name: Install unixodbc\n      run: |\n            brew install unixodbc\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install pytest pytest-timeout pytest-benchmark lmfit\n        python -m pip install cython\n        brew install hdf5\n        brew install c-blosc\n        export HDF5_DIR=/opt/homebrew/opt/hdf5\n        export BLOSC_DIR=/opt/homebrew/opt/c-blosc\n        python -m pip install tables\n        # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Install cellpy\n      run: |\n        python -m pip install -e .\n    - name: Test with pytest\n      run: |\n        python -m pytest\n    - name: Run cellpy setup\n      run: |\n        cellpy setup --silent\n    - name: Run the cellpy check\n      run: |\n        cellpy info --check\n    - name: Show the configuration\n      run: |\n        cellpy info -p\n", "state": "active", "repository": "jepegit/cellpy"}
{"mined_at": "2024-07-15T17:17:39.602329", "created_at": "2023-10-25T16:05:40+02:00", "updated_at": "2023-10-25T21:26:57+02:00", "name": "Installing using pip on posix", "path": ".github/workflows/pip-install-posix.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Installing using pip on posix\n\non:\n  push:\n    branches:\n      - \"**\"\n  pull_request:\n    branches: [ \"master\" ]\n  workflow_dispatch:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install mdbtools\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y mdbtools\n#        sudo apt-get install -y libhdf5-serial-dev\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install pytest pytest-timeout pytest-benchmark lmfit\n        # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Install cellpy\n      run: |\n        python -m pip install -e .\n    - name: Test with pytest\n      run: |\n        pytest\n    - name: Run cellpy setup\n      run: |\n        cellpy setup --silent\n    - name: Run the cellpy check\n      run: |\n        cellpy info --check\n    - name: Show the configuration\n      run: |\n        cellpy info -p\n", "state": "active", "repository": "jepegit/cellpy"}
{"mined_at": "2024-07-15T17:17:40.935265", "created_at": "2023-10-25T21:24:48+02:00", "updated_at": "2023-10-26T10:38:26+02:00", "name": "Installing using pip on windows", "path": ".github/workflows/pip-install-win.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Installing using pip on windows\n\non:\n  push:\n    branches:\n      - \"**\"\n  pull_request:\n    branches: [ \"master\" ]\n  workflow_dispatch:\n\njobs:\n  build:\n\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install pytest pytest-timeout pytest-benchmark lmfit\n        # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Install cellpy\n      run: |\n        python -m pip install -e .\n    - name: Test with pytest\n      run: |\n        pytest tests/test_maccor.py\n    - name: Run cellpy setup\n      run: |\n        cellpy setup --silent\n    - name: Run the cellpy check\n      run: |\n        cellpy info --check\n    - name: Show the configuration\n      run: |\n        cellpy info -p\n", "state": "active", "repository": "jepegit/cellpy"}
{"mined_at": "2024-07-15T17:17:41.986780", "created_at": "2024-02-16T10:19:08+01:00", "updated_at": "2024-02-16T14:50:16+01:00", "name": "Run pytest on macos (conda)", "path": ".github/workflows/pytest_macos.yml", "contents": "name: Run pytest on macos (conda)\non:\n  push:\n    branches:\n      - \"**\"\n  pull_request:\n    branches: [ master ]\n  workflow_dispatch:\n\njobs:\n  Install-miniconda-and-run-pytest:\n    runs-on: macos-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          miniconda-version: latest\n          activate-environment: cellpy_dev\n          environment-file: github_actions_environment.yml\n          python-version: ${{ matrix.python-version }}\n\n      - name: Conda info\n        run: conda info\n\n      - name: Conda list\n        run: conda list\n\n      - name: Install mdbtools\n        run: |\n          brew install mdbtools\n#          sudo apt-get install -y mdbtools\n\n      - name: pytest\n        run: pytest\n", "state": "active", "repository": "jepegit/cellpy"}
{"mined_at": "2024-07-15T17:17:43.017220", "created_at": "2024-02-16T10:19:08+01:00", "updated_at": "2024-02-16T14:50:16+01:00", "name": "Run pytest on macos M (conda)", "path": ".github/workflows/pytest_macos_14.yml", "contents": "name: Run pytest on macos M (conda)\non:\n  push:\n    branches:\n      - \"**\"\n  pull_request:\n    branches: [ master ]\n  workflow_dispatch:\n\njobs:\n  Install-miniconda-and-run-pytest:\n    runs-on: macos-14\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          miniconda-version: latest\n          activate-environment: cellpy_dev\n          environment-file: github_actions_environment.yml\n          python-version: ${{ matrix.python-version }}\n\n      - name: Conda info\n        run: conda info\n\n      - name: Conda list\n        run: conda list\n\n      - name: Install mdbtools\n        run: |\n          brew install mdbtools\n#          sudo apt-get install -y mdbtools\n\n      - name: pytest\n        run: pytest\n", "state": "active", "repository": "jepegit/cellpy"}
{"mined_at": "2024-07-15T17:17:44.010746", "created_at": "2022-02-01T10:28:49+01:00", "updated_at": "2024-03-19T11:15:51+01:00", "name": "Run pytest on linux (conda)", "path": ".github/workflows/pytest_posix.yml", "contents": "name: Run pytest on linux (conda)\non:\n  push:\n    branches:\n      - \"**\"\n  pull_request:\n    branches: [ master ]\n  workflow_dispatch:\n\njobs:\n  Install-miniconda-and-run-pytest:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          activate-environment: cellpy_dev\n          environment-file: github_actions_environment.yml\n          python-version: ${{ matrix.python-version }}\n\n      - name: Conda info\n        run: conda info\n\n      - name: Conda list\n        run: conda list\n\n      - name: Install mdbtools\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y mdbtools\n\n      - name: pytest\n        run: pytest\n\n      - name: pytest with nbmake (cellpy_batch_processing)\n        run: |\n          python -m pip install -e .\n          python -m pip install kaleido==0.1.*\n          python -m ipykernel install --user --name=cellpy_dev\n          pytest -v --nbmake  --nbmake-timeout=3600 --nbmake-kernel=cellpy_dev \"examples/cellpy batch utility/cellpy_batch_processing.ipynb\"\n", "state": "active", "repository": "jepegit/cellpy"}
{"mined_at": "2024-07-15T17:17:45.125806", "created_at": "2022-07-29T21:10:19+02:00", "updated_at": "2022-07-29T23:53:01+02:00", "name": "Run pytest on win - NOT WORKING DUE TO MISSING ACCESSDATABASEENGINE", "path": ".github/workflows/pytest_win.yml", "contents": "name: Run pytest on win - NOT WORKING DUE TO MISSING ACCESSDATABASEENGINE\non:\n#  push:\n#    branches:\n#      - \"**\"\n#  pull_request:\n#    branches: [ master ]\n  workflow_dispatch:\n\njobs:\n  Install-miniconda-and-run-pytest:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          activate-environment: cellpy_dev\n          environment-file: dev_environment.yml\n          python-version: ${{ matrix.python-version }}\n\n      - name: Conda info\n        run: conda info\n\n      - name: Conda list\n        run: conda list\n\n      - name: pytest\n        run: pytest\n", "state": "active", "repository": "jepegit/cellpy"}
{"mined_at": "2024-07-15T17:17:46.135671", "created_at": "2022-07-29T22:04:05+02:00", "updated_at": "2022-07-29T23:53:25+02:00", "name": "test setup exe on win - DID NOT WORK", "path": ".github/workflows/test-win.yml", "contents": "name: test setup exe on win - DID NOT WORK\non:\n  workflow_dispatch:\n\njobs:\n  Install-exe:\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: find out where we are\n        shell: cmd\n        run: dir\n      - name: Install AccessDatabaseEngine\n        shell: powershell\n        run: Start-Process -Wait -FilePath \"D:\\a\\cellpy\\cellpy\\bin\\AccessDatabaseEngine.exe\" -ArgumentList \"/S\" -PassThru\n\n\n", "state": "active", "repository": "jepegit/cellpy"}
{"mined_at": "2024-07-15T17:17:48.642831", "created_at": "2024-06-05T18:31:50+02:00", "updated_at": "2024-06-05T18:31:50+02:00", "name": "Dependabot Pull Request Metadata", "path": ".github/workflows/dependabot-prs.yml", "contents": "name: Dependabot Pull Request Metadata\non: pull_request_target\n\njobs:\n  build:\n    permissions:\n      pull-requests: read\n\n    runs-on: ubuntu-latest\n    if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}\n\n    steps:\n      - name: Fetch Dependabot metadata\n        id: dependabot-metadata\n        uses: dependabot/fetch-metadata@v2\n        with:\n          alert-lookup: true\n          compat-lookup: true\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Add a label for all PRs with an alert state\n        if: ${{ steps.dependabot-metadata.outputs.alert-state != '' }}\n        run: gh pr edit \"$PR_URL\" --add-label \"vulnerability\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "awslabs/seed-farmer"}
{"mined_at": "2024-07-15T17:17:49.818292", "created_at": "2022-06-22T21:18:59+02:00", "updated_at": "2022-06-22T21:18:59+02:00", "name": "Static Checking", "path": ".github/workflows/main.yml", "contents": "name: Static Checking\n\non:\n  # Triggers the workflow on push or pull request events but only for the \"main\" branch\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\", \"release/*\", \"stable\", \"wip/*\" ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n\n  seedfarmer-cli:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\",\"3.12\"]\n    defaults:\n      run:\n        working-directory: .\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n          pip install -e .\n      - name: Ruff Format Check\n        run: ruff format --check .\n      - name: Ruff Check\n        run: ruff check --output-format=github .\n      - name: Mypy Check\n        run: mypy ./seedfarmer\n      - name: PyTest\n        run: cp test/unit-test/mock_data/seedfarmer.yaml . && pytest\n", "state": "active", "repository": "awslabs/seed-farmer"}
{"mined_at": "2024-07-15T17:17:51.003798", "created_at": "2024-06-06T21:28:32+02:00", "updated_at": "2024-06-06T21:28:32+02:00", "name": "Snyk", "path": ".github/workflows/snyk.yml", "contents": "name: Snyk\n\non:\n  workflow_dispatch:\n\n  schedule:\n    - cron: \"0 9 * * 1\"  # runs each Monday at 9:00 UTC\n\npermissions:\n  contents: read\n  security-events: write\n\njobs:\n  security:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run Snyk to check for vulnerabilities\n        uses: snyk/actions/python-3.8@master\n        continue-on-error: true # To make sure that SARIF upload gets called\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          args: --severity-threshold=medium --file=requirements.txt --sarif-file-output=snyk.sarif\n      - name: Upload result to GitHub Code Scanning\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: snyk.sarif\n", "state": "active", "repository": "awslabs/seed-farmer"}
{"mined_at": "2024-07-15T17:17:52.382944", "created_at": "2024-07-15T10:41:00+02:00", "updated_at": "2024-07-15T10:41:00+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "awslabs/seed-farmer"}
{"mined_at": "2024-07-15T17:17:54.922284", "created_at": "2022-04-13T10:24:38+02:00", "updated_at": "2022-04-13T10:46:49+02:00", "name": ".github/workflows/Dependabot.yml", "path": ".github/workflows/Dependabot.yml", "contents": null, "state": "active", "repository": "centre-for-humanities-computing/danish-foundation-models"}
{"mined_at": "2024-07-15T17:17:55.993426", "created_at": "2023-10-23T15:57:17+02:00", "updated_at": "2023-10-23T15:57:17+02:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "# creates the documentation on pushes it to the gh-pages branch\nname: Documentation\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: write\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: echo \"cache_id=$(date --utc '+%V')\" >> $GITHUB_ENV \n      - uses: actions/cache@v3\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n      \n      - name: Dependencies\n        run: |\n          pip install -r docs/requirements.txt\n\n      - name: Build\n        run: mkdocs gh-deploy --force\n          ", "state": "active", "repository": "centre-for-humanities-computing/danish-foundation-models"}
{"mined_at": "2024-07-15T17:17:57.034048", "created_at": "2023-10-12T13:52:36+02:00", "updated_at": "2023-10-12T13:52:36+02:00", "name": "lint and build dev container", "path": ".github/workflows/lint-and-build-dev-container.yml", "contents": null, "state": "active", "repository": "centre-for-humanities-computing/danish-foundation-models"}
{"mined_at": "2024-07-15T17:17:58.097016", "created_at": "2023-10-12T13:29:06+02:00", "updated_at": "2023-10-12T13:29:06+02:00", "name": "run-pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "centre-for-humanities-computing/danish-foundation-models"}
{"mined_at": "2024-07-15T17:17:59.212655", "created_at": "2023-10-12T13:29:06+02:00", "updated_at": "2023-10-12T13:29:06+02:00", "name": "static_type_checks", "path": ".github/workflows/static_type_checks.yml", "contents": null, "state": "active", "repository": "centre-for-humanities-computing/danish-foundation-models"}
{"mined_at": "2024-07-15T17:18:00.203510", "created_at": "2023-10-12T13:52:36+02:00", "updated_at": "2023-10-12T13:52:36+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "centre-for-humanities-computing/danish-foundation-models"}
{"mined_at": "2024-07-15T17:18:01.287554", "created_at": "2023-10-12T13:52:36+02:00", "updated_at": "2023-10-12T13:52:36+02:00", "name": "type-check", "path": ".github/workflows/type-check.yml", "contents": null, "state": "active", "repository": "centre-for-humanities-computing/danish-foundation-models"}
{"mined_at": "2024-07-15T17:18:02.319518", "created_at": "2023-10-23T21:10:26+02:00", "updated_at": "2023-10-23T21:10:26+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "centre-for-humanities-computing/danish-foundation-models"}
{"mined_at": "2024-07-15T17:18:04.527700", "created_at": "2020-01-10T17:30:45+01:00", "updated_at": "2020-01-10T17:30:45+01:00", "name": "Warehouse", "path": "", "contents": null, "state": "active", "repository": "pypi/warehouse"}
{"mined_at": "2024-07-15T17:18:05.777113", "created_at": "2021-02-12T07:21:48+01:00", "updated_at": "2024-03-14T17:32:14+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  merge_group:\n    types: [checks_requested]\n  workflow_dispatch:  # generally only for the \"combine-prs\" workflow\npermissions:\n  id-token: write\n  contents: read\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\njobs:\n  build:\n    if: github.repository == 'pypi/warehouse'\n    runs-on: depot-ubuntu-22.04-arm\n    outputs:\n      buildId: ${{ steps.build.outputs.build-id}}\n      token: ${{ steps.pull-token.outputs.token }}\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n      - name: Set up Depot CLI\n        uses: depot/setup-action@v1\n      - name: Build image\n        id: build\n        uses: depot/build-push-action@v1\n        with:\n          save: true\n          build-args: |\n            DEVEL=yes\n            CI=yes\n          tags: pypi/warehouse:ci-${{ github.run_id }}\n      - name: Export Token\n        id: pull-token\n        run: echo \"token=$(depot pull-token)\" >> \"$GITHUB_OUTPUT\"\n  test:\n    # Time out if our test suite has gotten hung\n    timeout-minutes: 15\n    needs: build\n    strategy:\n      matrix:\n        include:\n          - name: Tests\n            command: bin/tests --postgresql-host postgres\n          - name: Lint\n            command: bin/lint\n          - name: User Documentation\n            command: bin/user-docs\n          - name: Developer Documentation\n            command: bin/dev-docs\n          - name: Dependencies\n            command: bin/deps\n          - name: Licenses\n            command: bin/licenses\n          - name: Translations\n            command: bin/translations\n    runs-on: depot-ubuntu-22.04-arm\n    container:\n      image: registry.depot.dev/rltf7cln5v:${{ needs.build.outputs.buildId }}\n      credentials:\n        username: x-token\n        password: ${{ needs.build.outputs.token }}\n      env:\n        BILLING_BACKEND: warehouse.subscriptions.services.MockStripeBillingService api_base=http://stripe:12111 api_version=2020-08-27\n    services:\n      postgres:\n        image: ${{ (matrix.name == 'Tests') && 'postgres:16.1' || '' }}\n        ports:\n          - 5432:5432\n        env:\n          POSTGRES_HOST_AUTH_METHOD: trust  # never do this in production!\n        # Set health checks to wait until postgres has started\n        options: --health-cmd \"pg_isready --username=postgres --dbname=postgres\" --health-interval 10s --health-timeout 5s --health-retries 5\n      stripe:\n        image: ${{ (matrix.name == 'Tests') && 'stripe/stripe-mock:v0.162.0' || '' }}\n        ports:\n          - 12111:12111\n    name: ${{ matrix.name }}\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n      - name: Cache mypy results\n        if: ${{ (matrix.name == 'Lint') }}\n        uses: actions/cache@v4\n        with:\n          path: |\n              dev/.mypy_cache\n          key: ${{ runner.os }}-mypy-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt', 'requirements/*.txt') }}\n      - name: Run ${{ matrix.name }}\n        run: ${{ matrix.command }}\n", "state": "active", "repository": "pypi/warehouse"}
{"mined_at": "2024-07-15T17:18:08.565732", "created_at": "2022-06-22T05:31:34+02:00", "updated_at": "2022-07-07T01:59:07+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '39 14 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      if: matrix.language == 'python'\n      uses: actions/setup-python@v5\n      with:\n        python-version-file: '.python-version'\n\n    - name: Install dependencies\n      # Needed for pycurl\n      run: |\n        sudo apt-get update\n        sudo apt install libcurl4-openssl-dev libssl-dev\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "pypi/warehouse"}
{"mined_at": "2024-07-15T17:18:10.078510", "created_at": "2020-10-12T20:02:51+02:00", "updated_at": "2024-05-10T17:04:09+02:00", "name": "Combine PRs", "path": ".github/workflows/combine-prs.yml", "contents": "# Origin: https://github.com/marketplace/actions/combine-prs\n\nname: 'Combine PRs'\n\n# Controls when the action will run - in this case triggered manually\non:\n  workflow_dispatch:\n    inputs:\n      ignoreLabel:\n        description: 'Exclude PRs with this label'\n        required: true\n        default: 'blocked'\n\n# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token\npermissions:\n  contents: write\n  pull-requests: write\n  checks: read\n  actions: write\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"combine-prs\"\n  combine-prs:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Use GitHub App Token\n        uses: wow-actions/use-app-token@v2.0.2\n        id: generate_token\n        with:\n          app_id: ${{ secrets.COMBINE_PRS_APP_ID }}\n          private_key: ${{ secrets.COMBINE_PRS_PRIVATE_KEY }}\n          fallback: ${{ secrets.GITHUB_TOKEN }} # fall back to the default token if the app token is\n\n      - name: combine-prs\n        id: combine-prs\n        uses: github/combine-prs@v5.0.0\n        with:\n          github_token: ${{ steps.generate_token.outputs.BOT_TOKEN }}\n          ignore_label: ${{ github.event.inputs.ignoreLabel || 'blocked' }}\n", "state": "active", "repository": "pypi/warehouse"}
{"mined_at": "2024-07-15T17:18:11.216907", "created_at": "2023-06-26T22:01:45+02:00", "updated_at": "2023-06-30T15:11:36+02:00", "name": "Development Environment", "path": ".github/workflows/dev-env-test.yml", "contents": "name: Development Environment\n\non:\n  schedule:\n    - cron: '0 13 * * *'  # once a day at around 9am eastern\n  workflow_dispatch:\n\njobs:\n  build:\n    # TODO: Should we test on other platforms like Windows and Mac?\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - run: make build\n      - run: docker compose up -d\n      - run: docker compose ps\n      - run: make initdb\n      - run: make tests\n", "state": "active", "repository": "pypi/warehouse"}
{"mined_at": "2024-07-15T17:18:12.378659", "created_at": "2023-02-22T21:19:02+01:00", "updated_at": "2023-02-22T22:47:41+01:00", "name": "Node CI", "path": ".github/workflows/node-ci.yml", "contents": "name: Node CI\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  merge_group:\n    types: [checks_requested]\n  workflow_dispatch:  # generally only for the \"combine-prs\" workflow\npermissions:\n  contents: read\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\njobs:\n  test:\n    strategy:\n      matrix:\n        include:\n          - name: Static Tests\n            command: bin/static_tests\n          - name: Static Lint\n            command: bin/static_lint\n          - name: Static Pipeline\n            command: bin/static_pipeline\n    runs-on: ubuntu-latest\n    name: ${{ matrix.name }}\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 22.3.0\n          cache: 'npm'\n      - name: Install Node dependencies\n        run: npm ci\n      - name: Run ${{ matrix.name }}\n        run: ${{ matrix.command }}\n", "state": "active", "repository": "pypi/warehouse"}
{"mined_at": "2024-07-15T17:18:13.561181", "created_at": "2024-03-20T16:38:14+01:00", "updated_at": "2024-03-20T16:38:14+01:00", "name": "Add comment & close", "path": ".github/workflows/not-this-repo.yml", "contents": "name: Add comment & close\non:\n  issues:\n    types:\n      - labeled\njobs:\n  add-comment:\n    if: github.event.label.name == 'not-this-repo'\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - name: Add comment\n        run: gh issue close \"$NUMBER\" --reason \"not planned\" --comment \"$BODY\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GH_REPO: ${{ github.repository }}\n          NUMBER: ${{ github.event.issue.number }}\n          BODY: >\n            Hi, this issue tracker is for issues with the codebase behind pypi.org itself,\n            not the projects hosted on PyPI.\n            \n            You should report this issue to the tracker for the project in question instead.\n", "state": "active", "repository": "pypi/warehouse"}
{"mined_at": "2024-07-15T17:18:14.585165", "created_at": "2024-07-12T11:18:47+02:00", "updated_at": "2024-07-12T11:18:47+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "pypi/warehouse"}
{"mined_at": "2024-07-15T17:18:16.850989", "created_at": "2023-11-17T07:22:48+01:00", "updated_at": "2023-12-12T06:33:38+01:00", "name": "Benchmarking tests", "path": ".github/workflows/benchmark.yml", "contents": "name: Benchmarking tests\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"30 1 1,15 * *\" # every 2 weeks on the 1st and the 15th of every month at 1:30 AM\n\nenv:\n  DIFFUSERS_IS_CI: yes\n  HF_HOME: /mnt/cache\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n\njobs:\n  torch_pipelines_cuda_benchmark_tests:\n    name: Torch Core Pipelines CUDA Benchmarking Tests\n    strategy:\n      fail-fast: false\n      max-parallel: 1\n    runs-on: [single-gpu, nvidia-gpu, a10, ci]\n    container:\n      image: diffusers/diffusers-pytorch-cuda\n      options: --shm-size \"16gb\" --ipc host -v /mnt/hf_cache:/mnt/cache/ --gpus 0\n    steps:\n      - name: Checkout diffusers\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n      - name: Install dependencies\n        run: |\n          python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n          python -m uv pip install -e [quality,test]\n          python -m uv pip install pandas peft\n      - name: Environment\n        run: |\n          python utils/print_env.py\n      - name: Diffusers Benchmarking\n        env:\n            HF_TOKEN: ${{ secrets.DIFFUSERS_BOT_TOKEN }}\n            BASE_PATH: benchmark_outputs\n        run: |\n          export TOTAL_GPU_MEMORY=$(python -c \"import torch; print(torch.cuda.get_device_properties(0).total_memory / (1024**3))\")\n          cd benchmarks && mkdir ${BASE_PATH} && python run_all.py && python push_results.py\n\n      - name: Test suite reports artifacts\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: benchmark_test_reports\n          path: benchmarks/benchmark_outputs", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:18.065855", "created_at": "2022-10-26T18:15:06+02:00", "updated_at": "2024-03-11T03:35:36+01:00", "name": "Test, build, and push Docker images", "path": ".github/workflows/build_docker_images.yml", "contents": "name: Test, build, and push Docker images\n\non:\n  pull_request: # During PRs, we just check if the changes Dockerfiles can be successfully built\n    branches:\n      - main\n    paths:\n      - \"docker/**\"\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\" # every day at midnight\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  REGISTRY: diffusers\n  CI_SLACK_CHANNEL: ${{ secrets.CI_DOCKER_CHANNEL }}\n\njobs:\n  test-build-docker-images:\n    runs-on: [ self-hosted, intel-cpu, 8-cpu, ci ]\n    if: github.event_name == 'pull_request'\n    steps:\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Check out code\n        uses: actions/checkout@v3\n\n      - name: Find Changed Dockerfiles\n        id: file_changes\n        uses: jitterbit/get-changed-files@v1\n        with:\n          format: 'space-delimited'\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build Changed Docker Images\n        run: |\n          CHANGED_FILES=\"${{ steps.file_changes.outputs.all }}\"\n          for FILE in $CHANGED_FILES; do\n            if [[ \"$FILE\" == docker/*Dockerfile ]]; then\n              DOCKER_PATH=\"${FILE%/Dockerfile}\"\n              DOCKER_TAG=$(basename \"$DOCKER_PATH\")\n              echo \"Building Docker image for $DOCKER_TAG\"\n              docker build -t \"$DOCKER_TAG\" \"$DOCKER_PATH\"\n            fi\n          done\n        if: steps.file_changes.outputs.all != ''\n\n  build-and-push-docker-images:\n    runs-on: [ self-hosted, intel-cpu, 8-cpu, ci ]\n    if: github.event_name != 'pull_request'\n\n    permissions:\n      contents: read\n      packages: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        image-name:\n          - diffusers-pytorch-cpu\n          - diffusers-pytorch-cuda\n          - diffusers-pytorch-compile-cuda\n          - diffusers-pytorch-xformers-cuda\n          - diffusers-flax-cpu\n          - diffusers-flax-tpu\n          - diffusers-onnxruntime-cpu\n          - diffusers-onnxruntime-cuda\n          - diffusers-doc-builder\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ env.REGISTRY }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          no-cache: true\n          context: ./docker/${{ matrix.image-name }}\n          push: true\n          tags: ${{ env.REGISTRY }}/${{ matrix.image-name }}:latest\n\n      - name: Post to a Slack channel\n        id: slack\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          # Slack channel id, channel name, or user id to post message.\n          # See also: https://api.slack.com/methods/chat.postMessage#channels\n          slack_channel: ${{ env.CI_SLACK_CHANNEL }}\n          title: \"🤗 Results of the ${{ matrix.image-name }} Docker Image build\"\n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:19.294477", "created_at": "2022-07-13T17:42:07+02:00", "updated_at": "2023-07-06T19:28:36+02:00", "name": "Build documentation", "path": ".github/workflows/build_documentation.yml", "contents": "name: Build documentation\n\non:\n  push:\n    branches:\n      - main\n      - doc-builder*\n      - v*-release\n      - v*-patch\n    paths:\n      - \"src/diffusers/**.py\"\n      - \"examples/**\"\n      - \"docs/**\"\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main\n    with:\n      commit_sha: ${{ github.sha }}\n      install_libgl1: true\n      package: diffusers\n      notebook_folder: diffusers_doc\n      languages: en ko zh ja pt\n      custom_container: diffusers/diffusers-doc-builder\n    secrets:\n      token: ${{ secrets.HUGGINGFACE_PUSH }}\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:20.416755", "created_at": "2022-06-29T17:50:22+02:00", "updated_at": "2023-07-06T19:11:03+02:00", "name": "Build PR Documentation", "path": ".github/workflows/build_pr_documentation.yml", "contents": "name: Build PR Documentation\n\non:\n  pull_request:\n    paths:\n      - \"src/diffusers/**.py\"\n      - \"examples/**\"\n      - \"docs/**\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main\n    with:\n      commit_sha: ${{ github.event.pull_request.head.sha }}\n      pr_number: ${{ github.event.number }}\n      install_libgl1: true\n      package: diffusers\n      languages: en ko zh ja pt\n      custom_container: diffusers/diffusers-doc-builder\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:21.510917", "created_at": "2024-02-29T10:29:15+01:00", "updated_at": "2024-02-29T10:29:15+01:00", "name": ".github/workflows/doctests.yml", "path": ".github/workflows/doctests.yml", "contents": null, "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:22.673475", "created_at": "2024-06-06T17:47:10+02:00", "updated_at": "2024-06-07T11:00:06+02:00", "name": "Mirror Community Pipeline", "path": ".github/workflows/mirror_community_pipeline.yml", "contents": "name: Mirror Community Pipeline\n\non:\n  # Push changes on the main branch\n  push:\n    branches:\n      - main\n    paths:\n      - 'examples/community/**.py'\n\n    # And on tag creation (e.g. `v0.28.1`)\n    tags:\n      - '*'\n\n  # Manual trigger with ref input\n  workflow_dispatch:\n    inputs:\n      ref:\n        description: \"Either 'main' or a tag ref\"\n        required: true\n        default: 'main'\n\njobs:\n  mirror_community_pipeline:\n    runs-on: ubuntu-latest\n    steps:\n      # Checkout to correct ref\n      #   If workflow dispatch\n      #     If ref is 'main', set:\n      #       CHECKOUT_REF=refs/heads/main\n      #       PATH_IN_REPO=main\n      #     Else it must be a tag. Set:\n      #       CHECKOUT_REF=refs/tags/{tag}\n      #       PATH_IN_REPO={tag}\n      #   If not workflow dispatch\n      #     If ref is 'refs/heads/main' => set 'main'\n      #     Else it must be a tag => set {tag}\n      - name: Set checkout_ref and path_in_repo\n        run: | \n          if [ \"${{ github.event_name }}\" == \"workflow_dispatch\" ]; then\n            if [ -z \"${{ github.event.inputs.ref }}\" ]; then\n              echo \"Error: Missing ref input\"\n              exit 1\n            elif [ \"${{ github.event.inputs.ref }}\" == \"main\" ]; then\n              echo \"CHECKOUT_REF=refs/heads/main\" >> $GITHUB_ENV\n              echo \"PATH_IN_REPO=main\" >> $GITHUB_ENV\n            else\n              echo \"CHECKOUT_REF=refs/tags/${{ github.event.inputs.ref }}\" >> $GITHUB_ENV\n              echo \"PATH_IN_REPO=${{ github.event.inputs.ref }}\" >> $GITHUB_ENV\n            fi\n          elif [ \"${{ github.ref }}\" == \"refs/heads/main\" ]; then\n            echo \"CHECKOUT_REF=${{ github.ref }}\" >> $GITHUB_ENV\n            echo \"PATH_IN_REPO=main\" >> $GITHUB_ENV\n          else\n            # e.g. refs/tags/v0.28.1 -> v0.28.1\n            echo \"CHECKOUT_REF=${{ github.ref }}\" >> $GITHUB_ENV\n            echo \"PATH_IN_REPO=$(echo ${{ github.ref }} | sed 's/^refs\\/tags\\///')\" >> $GITHUB_ENV\n          fi\n      - name: Print env vars\n        run: |\n          echo \"CHECKOUT_REF: ${{ env.CHECKOUT_REF }}\"\n          echo \"PATH_IN_REPO: ${{ env.PATH_IN_REPO }}\"\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ env.CHECKOUT_REF }}\n\n      # Setup + install dependencies\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade huggingface_hub\n\n      # Check secret is set\n      - name: whoami\n        run: huggingface-cli whoami\n        env:\n            HF_TOKEN: ${{ secrets.HF_TOKEN_MIRROR_COMMUNITY_PIPELINES }}\n\n      # Push to HF! (under subfolder based on checkout ref)\n      # https://huggingface.co/datasets/diffusers/community-pipelines-mirror\n      - name: Mirror community pipeline to HF\n        run: huggingface-cli upload diffusers/community-pipelines-mirror ./examples/community ${PATH_IN_REPO} --repo-type dataset\n        env:\n            PATH_IN_REPO: ${{ env.PATH_IN_REPO }}\n            HF_TOKEN: ${{ secrets.HF_TOKEN_MIRROR_COMMUNITY_PIPELINES }}", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:23.800348", "created_at": "2022-12-05T11:50:27+01:00", "updated_at": "2024-04-02T08:51:19+02:00", "name": "Nightly and release tests on main/release branch", "path": ".github/workflows/nightly_tests.yml", "contents": "name: Nightly and release tests on main/release branch\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\" # every day at midnight\n\nenv:\n  DIFFUSERS_IS_CI: yes\n  HF_HOME: /mnt/cache\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n  PYTEST_TIMEOUT: 600\n  RUN_SLOW: yes\n  RUN_NIGHTLY: yes\n  PIPELINE_USAGE_CUTOFF: 5000\n  SLACK_API_TOKEN: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\njobs:\n  setup_torch_cuda_pipeline_matrix:\n    name: Setup Torch Pipelines Matrix\n    runs-on: diffusers/diffusers-pytorch-cpu\n    outputs:\n      pipeline_test_matrix: ${{ steps.fetch_pipeline_matrix.outputs.pipeline_test_matrix }}\n    steps:\n      - name: Checkout diffusers\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          pip install -e .\n          pip install huggingface_hub\n      - name: Fetch Pipeline Matrix\n        id: fetch_pipeline_matrix\n        run: |\n          matrix=$(python utils/fetch_torch_cuda_pipeline_test_matrix.py)\n          echo $matrix\n          echo \"pipeline_test_matrix=$matrix\" >> $GITHUB_OUTPUT\n\n      - name: Pipeline Tests Artifacts\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: test-pipelines.json\n          path: reports\n\n  run_nightly_tests_for_torch_pipelines:\n    name: Torch Pipelines CUDA Nightly Tests\n    needs: setup_torch_cuda_pipeline_matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        module: ${{ fromJson(needs.setup_torch_cuda_pipeline_matrix.outputs.pipeline_test_matrix) }}\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    container:\n      image: diffusers/diffusers-pytorch-cuda\n      options: --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0\n    steps:\n      - name: Checkout diffusers\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n      - name: NVIDIA-SMI\n        run: nvidia-smi\n\n      - name: Install dependencies\n        run: |\n          python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n          python -m uv pip install -e [quality,test]\n          python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git\n          python -m uv pip install pytest-reportlog\n\n      - name: Environment\n        run: |\n          python utils/print_env.py\n\n      - name: Nightly PyTorch CUDA checkpoint (pipelines) tests\n        env:\n          HF_TOKEN: ${{ secrets.HF_TOKEN }}\n          # https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms\n          CUBLAS_WORKSPACE_CONFIG: :16:8\n        run: |\n          python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \\\n            -s -v -k \"not Flax and not Onnx\" \\\n            --make-reports=tests_pipeline_${{ matrix.module }}_cuda \\\n            --report-log=tests_pipeline_${{ matrix.module }}_cuda.log \\\n            tests/pipelines/${{ matrix.module }}\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        run: |\n          cat reports/tests_pipeline_${{ matrix.module }}_cuda_stats.txt\n          cat reports/tests_pipeline_${{ matrix.module }}_cuda_failures_short.txt\n\n      - name: Test suite reports artifacts\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: pipeline_${{ matrix.module }}_test_reports\n          path: reports\n\n      - name: Generate Report and Notify Channel\n        if: always()\n        run: |\n          pip install slack_sdk tabulate\n          python scripts/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  run_nightly_tests_for_other_torch_modules:\n    name: Torch Non-Pipelines CUDA Nightly Tests\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    container:\n      image: diffusers/diffusers-pytorch-cuda\n      options: --shm-size \"16gb\" --ipc host -v /mnt/hf_cache:/mnt/cache/ --gpus 0\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        module: [models, schedulers, others, examples]\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n        python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git\n        python -m uv pip install pytest-reportlog\n\n    - name: Environment\n      run: python utils/print_env.py\n\n    - name: Run nightly PyTorch CUDA tests for non-pipeline modules\n      if: ${{ matrix.module != 'examples'}}\n      env:\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n        # https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms\n        CUBLAS_WORKSPACE_CONFIG: :16:8\n      run: |\n        python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"not Flax and not Onnx\" \\\n          --make-reports=tests_torch_${{ matrix.module }}_cuda \\\n          --report-log=tests_torch_${{ matrix.module }}_cuda.log \\\n          tests/${{ matrix.module }}\n\n    - name: Run nightly example tests with Torch\n      if: ${{ matrix.module == 'examples' }}\n      env:\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n        # https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms\n        CUBLAS_WORKSPACE_CONFIG: :16:8\n      run: |\n        python -m uv pip install peft@git+https://github.com/huggingface/peft.git\n        python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \\\n          -s -v --make-reports=examples_torch_cuda \\\n          --report-log=examples_torch_cuda.log \\\n          examples/\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: |\n        cat reports/tests_torch_${{ matrix.module }}_cuda_stats.txt\n        cat reports/tests_torch_${{ matrix.module }}_cuda_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: torch_${{ matrix.module }}_cuda_test_reports\n        path: reports\n\n    - name: Generate Report and Notify Channel\n      if: always()\n      run: |\n        pip install slack_sdk tabulate\n        python scripts/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  run_lora_nightly_tests:\n    name: Nightly LoRA Tests with PEFT and TORCH\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    container:\n      image: diffusers/diffusers-pytorch-cuda\n      options: --shm-size \"16gb\" --ipc host -v /mnt/hf_cache:/mnt/cache/ --gpus 0\n    defaults:\n      run:\n        shell: bash\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n        python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git\n        python -m uv pip install peft@git+https://github.com/huggingface/peft.git\n        python -m uv pip install pytest-reportlog\n\n    - name: Environment\n      run: python utils/print_env.py\n\n    - name: Run nightly LoRA tests with PEFT and Torch\n      env:\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n        # https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms\n        CUBLAS_WORKSPACE_CONFIG: :16:8\n      run: |\n        python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"not Flax and not Onnx\" \\\n          --make-reports=tests_torch_lora_cuda \\\n          --report-log=tests_torch_lora_cuda.log \\\n          tests/lora\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: |\n        cat reports/tests_torch_lora_cuda_stats.txt\n        cat reports/tests_torch_lora_cuda_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: torch_lora_cuda_test_reports\n        path: reports\n\n    - name: Generate Report and Notify Channel\n      if: always()\n      run: |\n        pip install slack_sdk tabulate\n        python scripts/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  run_flax_tpu_tests:\n    name: Nightly Flax TPU Tests\n    runs-on: docker-tpu\n    if: github.event_name == 'schedule'\n\n    container:\n      image: diffusers/diffusers-flax-tpu\n      options: --shm-size \"16gb\" --ipc host -v /mnt/hf_cache:/mnt/cache/ --privileged\n    defaults:\n      run:\n        shell: bash\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n        python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git\n        python -m uv pip install pytest-reportlog\n\n    - name: Environment\n      run: python utils/print_env.py\n\n    - name: Run nightly Flax TPU tests\n      env:\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n      run: |\n        python -m pytest -n 0 \\\n          -s -v -k \"Flax\" \\\n          --make-reports=tests_flax_tpu \\\n          --report-log=tests_flax_tpu.log \\\n          tests/\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: |\n        cat reports/tests_flax_tpu_stats.txt\n        cat reports/tests_flax_tpu_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: flax_tpu_test_reports\n        path: reports\n\n    - name: Generate Report and Notify Channel\n      if: always()\n      run: |\n        pip install slack_sdk tabulate\n        python scripts/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  run_nightly_onnx_tests:\n    name: Nightly ONNXRuntime CUDA tests on Ubuntu\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    container:\n      image: diffusers/diffusers-onnxruntime-cuda\n      options: --gpus 0 --shm-size \"16gb\" --ipc host -v /mnt/hf_cache:/mnt/cache/\n\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: NVIDIA-SMI\n      run: nvidia-smi\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n        python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git\n        python -m uv pip install pytest-reportlog\n\n    - name: Environment\n      run: python utils/print_env.py\n\n    - name: Run nightly ONNXRuntime CUDA tests\n      env:\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n      run: |\n        python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"Onnx\" \\\n          --make-reports=tests_onnx_cuda \\\n          --report-log=tests_onnx_cuda.log \\\n          tests/\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: |\n        cat reports/tests_onnx_cuda_stats.txt\n        cat reports/tests_onnx_cuda_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: ${{ matrix.config.report }}_test_reports\n        path: reports\n\n    - name: Generate Report and Notify Channel\n      if: always()\n      run: |\n        pip install slack_sdk tabulate\n        python scripts/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  run_nightly_tests_apple_m1:\n    name: Nightly PyTorch MPS tests on MacOS\n    runs-on: [ self-hosted, apple-m1 ]\n    if: github.event_name == 'schedule'\n\n    steps:\n      - name: Checkout diffusers\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: Clean checkout\n        shell: arch -arch arm64 bash {0}\n        run: |\n          git clean -fxd\n\n      - name: Setup miniconda\n        uses: ./.github/actions/setup-miniconda\n        with:\n          python-version: 3.9\n\n      - name: Install dependencies\n        shell: arch -arch arm64 bash {0}\n        run: |\n          ${CONDA_RUN} python -m pip install --upgrade pip uv\n          ${CONDA_RUN} python -m uv pip install -e [quality,test]\n          ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu\n          ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate\n          ${CONDA_RUN} python -m uv pip install pytest-reportlog\n\n      - name: Environment\n        shell: arch -arch arm64 bash {0}\n        run: |\n          ${CONDA_RUN} python utils/print_env.py\n\n      - name: Run nightly PyTorch tests on M1 (MPS)\n        shell: arch -arch arm64 bash {0}\n        env:\n          HF_HOME: /System/Volumes/Data/mnt/cache\n          HF_TOKEN: ${{ secrets.HF_TOKEN }}\n        run: |\n          ${CONDA_RUN} python -m pytest -n 1 -s -v --make-reports=tests_torch_mps \\\n            --report-log=tests_torch_mps.log \\\n            tests/\n\n      - name: Failure short reports\n        if: ${{ failure() }}\n        run: cat reports/tests_torch_mps_failures_short.txt\n\n      - name: Test suite reports artifacts\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: torch_mps_test_reports\n          path: reports\n\n      - name: Generate Report and Notify Channel\n        if: always()\n        run: |\n          pip install slack_sdk tabulate\n          python scripts/log_reports.py >> $GITHUB_STEP_SUMMARY\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:24.927648", "created_at": "2024-03-13T11:58:00+01:00", "updated_at": "2024-03-13T11:58:00+01:00", "name": "Notify Slack about a release", "path": ".github/workflows/notify_slack_about_release.yml", "contents": "name: Notify Slack about a release\n\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    \n    - name: Setup Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n    \n    - name: Notify Slack about the release\n      env:\n        SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n      run: pip install requests && python utils/notify_slack_about_release.py\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:26.009198", "created_at": "2023-06-22T09:09:22+02:00", "updated_at": "2023-06-28T18:35:28+02:00", "name": "Run dependency tests", "path": ".github/workflows/pr_dependency_test.yml", "contents": "name: Run dependency tests\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"src/diffusers/**.py\"\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  check_dependencies:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n          python -m pip install --upgrade pip uv\n          python -m uv pip install -e .\n          python -m uv pip install pytest\n      - name: Check for soft dependencies\n        run: |\n          python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n          pytest tests/others/test_dependencies.py\n      ", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:27.026906", "created_at": "2023-11-07T07:47:09+01:00", "updated_at": "2023-11-07T16:38:23+01:00", "name": "Run Flax dependency tests", "path": ".github/workflows/pr_flax_dependency_test.yml", "contents": "name: Run Flax dependency tests\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"src/diffusers/**.py\"\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  check_flax_dependencies:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n          python -m pip install --upgrade pip uv\n          python -m uv pip install -e .\n          python -m uv pip install \"jax[cpu]>=0.2.16,!=0.3.2\"\n          python -m uv pip install \"flax>=0.4.1\"\n          python -m uv pip install \"jaxlib>=0.1.65\"\n          python -m uv pip install pytest\n      - name: Check for soft dependencies\n        run: |\n          python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n          pytest tests/others/test_dependencies.py\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:28.106860", "created_at": "2023-11-20T13:05:05+01:00", "updated_at": "2023-11-27T14:12:37+01:00", "name": "Fast tests for PRs - Test Fetcher", "path": ".github/workflows/pr_test_fetcher.yml", "contents": "name: Fast tests for PRs - Test Fetcher\n\non: workflow_dispatch\n\nenv:\n  DIFFUSERS_IS_CI: yes\n  OMP_NUM_THREADS: 4\n  MKL_NUM_THREADS: 4\n  PYTEST_TIMEOUT: 60\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  setup_pr_tests:\n    name: Setup PR Tests\n    runs-on: [ self-hosted, intel-cpu, 8-cpu, ci ]\n    container:\n      image: diffusers/diffusers-pytorch-cpu\n      options: --shm-size \"16gb\" --ipc host -v /mnt/hf_cache:/mnt/cache/\n    defaults:\n      run:\n        shell: bash\n    outputs:\n      matrix: ${{ steps.set_matrix.outputs.matrix }}\n      test_map: ${{ steps.set_matrix.outputs.test_map }}\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n    - name: Environment\n      run: |\n        python utils/print_env.py\n        echo $(git --version)\n    - name: Fetch Tests\n      run: |\n        python utils/tests_fetcher.py | tee test_preparation.txt\n    - name: Report fetched tests\n      uses: actions/upload-artifact@v3\n      with:\n        name: test_fetched\n        path: test_preparation.txt\n    - id: set_matrix\n      name: Create Test Matrix\n      # The `keys` is used as GitHub actions matrix for jobs, i.e. `models`, `pipelines`, etc.\n      # The `test_map` is used to get the actual identified test files under each key.\n      # If no test to run (so no `test_map.json` file), create a dummy map (empty matrix will fail)\n      run: |\n        if [ -f test_map.json ]; then\n            keys=$(python3 -c 'import json; fp = open(\"test_map.json\"); test_map = json.load(fp); fp.close(); d = list(test_map.keys()); print(json.dumps(d))')\n            test_map=$(python3 -c 'import json; fp = open(\"test_map.json\"); test_map = json.load(fp); fp.close(); print(json.dumps(test_map))')\n        else\n            keys=$(python3 -c 'keys = [\"dummy\"]; print(keys)')\n            test_map=$(python3 -c 'test_map = {\"dummy\": []}; print(test_map)')\n        fi\n        echo $keys\n        echo $test_map\n        echo \"matrix=$keys\" >> $GITHUB_OUTPUT\n        echo \"test_map=$test_map\" >> $GITHUB_OUTPUT\n\n  run_pr_tests:\n    name: Run PR Tests\n    needs: setup_pr_tests\n    if: contains(fromJson(needs.setup_pr_tests.outputs.matrix), 'dummy') != true\n    strategy:\n      fail-fast: false\n      max-parallel: 2\n      matrix:\n        modules: ${{ fromJson(needs.setup_pr_tests.outputs.matrix) }}\n    runs-on: [ self-hosted, intel-cpu, 8-cpu, ci ]\n    container:\n      image: diffusers/diffusers-pytorch-cpu\n      options: --shm-size \"16gb\" --ipc host -v /mnt/hf_cache:/mnt/cache/\n    defaults:\n      run:\n        shell: bash\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m pip install -e [quality,test]\n        python -m pip install accelerate\n\n    - name: Environment\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python utils/print_env.py\n\n    - name: Run all selected tests on CPU\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m pytest -n 2 --dist=loadfile -v --make-reports=${{ matrix.modules }}_tests_cpu ${{ fromJson(needs.setup_pr_tests.outputs.test_map)[matrix.modules] }}\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      continue-on-error: true\n      run: |\n        cat reports/${{ matrix.modules }}_tests_cpu_stats.txt\n        cat reports/${{ matrix.modules }}_tests_cpu_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v3\n      with:\n          name: ${{ matrix.modules }}_test_reports\n          path: reports\n\n  run_staging_tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        config:\n          - name: Hub tests for models, schedulers, and pipelines\n            framework: hub_tests_pytorch\n            runner: [ self-hosted, intel-cpu, 8-cpu, ci ]\n            image: diffusers/diffusers-pytorch-cpu\n            report: torch_hub\n\n    name: ${{ matrix.config.name }}\n    runs-on: ${{ matrix.config.runner }}\n    container:\n      image: ${{ matrix.config.image }}\n      options: --shm-size \"16gb\" --ipc host -v /mnt/hf_cache:/mnt/cache/\n\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m pip install -e [quality,test]\n\n    - name: Environment\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python utils/print_env.py\n\n    - name: Run Hub tests for models, schedulers, and pipelines on a staging env\n      if: ${{ matrix.config.framework == 'hub_tests_pytorch' }}\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        HUGGINGFACE_CO_STAGING=true python -m pytest \\\n          -m \"is_staging_test\" \\\n          --make-reports=tests_${{ matrix.config.report }} \\\n          tests\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: cat reports/tests_${{ matrix.config.report }}_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: pr_${{ matrix.config.report }}_test_reports\n        path: reports\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:29.435926", "created_at": "2023-09-22T12:11:11+02:00", "updated_at": "2023-09-22T13:03:42+02:00", "name": "Fast tests for PRs - PEFT backend", "path": ".github/workflows/pr_test_peft_backend.yml", "contents": "name: Fast tests for PRs - PEFT backend\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"src/diffusers/**.py\"\n      - \"tests/**.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  DIFFUSERS_IS_CI: yes\n  OMP_NUM_THREADS: 4\n  MKL_NUM_THREADS: 4\n  PYTEST_TIMEOUT: 60\n\njobs:\n  check_code_quality:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[quality]\n      - name: Check quality\n        run: make quality\n      - name: Check if failure\n        if: ${{ failure() }}\n        run: |\n          echo \"Quality check failed. Please ensure the right dependency versions are installed with 'pip install -e .[quality]' and run 'make style && make quality'\" >> $GITHUB_STEP_SUMMARY\n\n  check_repository_consistency:\n    needs: check_code_quality\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[quality]\n      - name: Check repo consistency\n        run: |\n          python utils/check_copies.py\n          python utils/check_dummies.py\n          make deps_table_check_updated\n      - name: Check if failure\n        if: ${{ failure() }}\n        run: |\n          echo \"Repo consistency check failed. Please ensure the right dependency versions are installed with 'pip install -e .[quality]' and run 'make fix-copies'\" >> $GITHUB_STEP_SUMMARY\n\n  run_fast_tests:\n    needs: [check_code_quality, check_repository_consistency]\n    strategy:\n      fail-fast: false\n      matrix:\n        lib-versions: [\"main\", \"latest\"]\n\n\n    name: LoRA - ${{ matrix.lib-versions }}\n\n    runs-on: [ self-hosted, intel-cpu, 8-cpu, ci ]\n\n    container:\n      image: diffusers/diffusers-pytorch-cpu\n      options: --shm-size \"16gb\" --ipc host -v /mnt/hf_cache:/mnt/cache/\n\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n        if [ \"${{ matrix.lib-versions }}\" == \"main\" ]; then\n            python -m pip install -U peft@git+https://github.com/huggingface/peft.git\n            python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git\n            python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git\n        else\n            python -m uv pip install -U peft transformers accelerate\n        fi\n\n    - name: Environment\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python utils/print_env.py\n\n    - name: Run fast PyTorch LoRA CPU tests with PEFT backend\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \\\n          -s -v \\\n          --make-reports=tests_${{ matrix.config.report }} \\\n          tests/lora/\n        python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \\\n          -s -v \\\n          --make-reports=tests_models_lora_${{ matrix.config.report }} \\\n          tests/models/ -k \"lora\"\n        \n    \n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: |\n        cat reports/tests_${{ matrix.config.report }}_failures_short.txt\n        cat reports/tests_models_lora_${{ matrix.config.report }}_failures_short.txt\n    \n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: pr_${{ matrix.config.report }}_test_reports\n        path: reports", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:30.661049", "created_at": "2022-08-26T14:21:05+02:00", "updated_at": "2023-02-08T14:00:13+01:00", "name": "Fast tests for PRs", "path": ".github/workflows/pr_tests.yml", "contents": "name: Fast tests for PRs\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"src/diffusers/**.py\"\n      - \"benchmarks/**.py\"\n      - \"examples/**.py\"\n      - \"scripts/**.py\"\n      - \"tests/**.py\"\n      - \".github/**.yml\"\n      - \"utils/**.py\"\n  push:\n    branches:\n      - ci-*\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  DIFFUSERS_IS_CI: yes\n  OMP_NUM_THREADS: 4\n  MKL_NUM_THREADS: 4\n  PYTEST_TIMEOUT: 60\n\njobs:\n  check_code_quality:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[quality]\n      - name: Check quality\n        run: make quality\n      - name: Check if failure\n        if: ${{ failure() }}\n        run: |\n          echo \"Quality check failed. Please ensure the right dependency versions are installed with 'pip install -e .[quality]' and run 'make style && make quality'\" >> $GITHUB_STEP_SUMMARY\n\n  check_repository_consistency:\n    needs: check_code_quality\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[quality]\n      - name: Check repo consistency\n        run: |\n          python utils/check_copies.py\n          python utils/check_dummies.py\n          make deps_table_check_updated\n      - name: Check if failure\n        if: ${{ failure() }}\n        run: |\n          echo \"Repo consistency check failed. Please ensure the right dependency versions are installed with 'pip install -e .[quality]' and run 'make fix-copies'\" >> $GITHUB_STEP_SUMMARY\n\n  run_fast_tests:\n    needs: [check_code_quality, check_repository_consistency]\n    strategy:\n      fail-fast: false\n      matrix:\n        config:\n          - name: Fast PyTorch Pipeline CPU tests\n            framework: pytorch_pipelines\n            runner: [ self-hosted, intel-cpu, 32-cpu, 256-ram, ci ]\n            image: diffusers/diffusers-pytorch-cpu\n            report: torch_cpu_pipelines\n          - name: Fast PyTorch Models & Schedulers CPU tests\n            framework: pytorch_models\n            runner: [ self-hosted, intel-cpu, 8-cpu, ci ]\n            image: diffusers/diffusers-pytorch-cpu\n            report: torch_cpu_models_schedulers\n          - name: Fast Flax CPU tests\n            framework: flax\n            runner: [ self-hosted, intel-cpu, 8-cpu, ci ]\n            image: diffusers/diffusers-flax-cpu\n            report: flax_cpu\n          - name: PyTorch Example CPU tests\n            framework: pytorch_examples\n            runner: [ self-hosted, intel-cpu, 8-cpu, ci ]\n            image: diffusers/diffusers-pytorch-cpu\n            report: torch_example_cpu\n\n    name: ${{ matrix.config.name }}\n\n    runs-on: ${{ matrix.config.runner }}\n\n    container:\n      image: ${{ matrix.config.image }}\n      options: --shm-size \"16gb\" --ipc host -v /mnt/hf_cache:/mnt/cache/\n\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n        python -m uv pip install accelerate\n\n    - name: Environment\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python utils/print_env.py\n\n    - name: Run fast PyTorch Pipeline CPU tests\n      if: ${{ matrix.config.framework == 'pytorch_pipelines' }}\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m pytest -n 8 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"not Flax and not Onnx\" \\\n          --make-reports=tests_${{ matrix.config.report }} \\\n          tests/pipelines\n\n    - name: Run fast PyTorch Model Scheduler CPU tests\n      if: ${{ matrix.config.framework == 'pytorch_models' }}\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"not Flax and not Onnx and not Dependency\" \\\n          --make-reports=tests_${{ matrix.config.report }} \\\n          tests/models tests/schedulers tests/others\n\n    - name: Run fast Flax TPU tests\n      if: ${{ matrix.config.framework == 'flax' }}\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"Flax\" \\\n          --make-reports=tests_${{ matrix.config.report }} \\\n          tests\n\n    - name: Run example PyTorch CPU tests\n      if: ${{ matrix.config.framework == 'pytorch_examples' }}\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install peft timm\n        python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \\\n          --make-reports=tests_${{ matrix.config.report }} \\\n          examples\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: cat reports/tests_${{ matrix.config.report }}_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: pr_${{ matrix.config.report }}_test_reports\n        path: reports\n\n  run_staging_tests:\n    needs: [check_code_quality, check_repository_consistency]\n    strategy:\n      fail-fast: false\n      matrix:\n        config:\n          - name: Hub tests for models, schedulers, and pipelines\n            framework: hub_tests_pytorch\n            runner: [ self-hosted, intel-cpu, 8-cpu, ci ]\n            image: diffusers/diffusers-pytorch-cpu\n            report: torch_hub\n\n    name: ${{ matrix.config.name }}\n\n    runs-on: ${{ matrix.config.runner }}\n\n    container:\n      image: ${{ matrix.config.image }}\n      options: --shm-size \"16gb\" --ipc host -v /mnt/hf_cache:/mnt/cache/\n\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n\n    - name: Environment\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python utils/print_env.py\n\n    - name: Run Hub tests for models, schedulers, and pipelines on a staging env\n      if: ${{ matrix.config.framework == 'hub_tests_pytorch' }}\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        HUGGINGFACE_CO_STAGING=true python -m pytest \\\n          -m \"is_staging_test\" \\\n          --make-reports=tests_${{ matrix.config.report }} \\\n          tests\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: cat reports/tests_${{ matrix.config.report }}_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: pr_${{ matrix.config.report }}_test_reports\n        path: reports\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:31.689731", "created_at": "2023-11-07T07:07:18+01:00", "updated_at": "2023-11-07T16:38:23+01:00", "name": "Run Torch dependency tests", "path": ".github/workflows/pr_torch_dependency_test.yml", "contents": "name: Run Torch dependency tests\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"src/diffusers/**.py\"\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  check_torch_dependencies:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n          python -m pip install --upgrade pip uv\n          python -m uv pip install -e .\n          python -m uv pip install torch torchvision torchaudio\n          python -m uv pip install pytest\n      - name: Check for soft dependencies\n        run: |\n          python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n          pytest tests/others/test_dependencies.py\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:32.733562", "created_at": "2024-03-21T09:18:51+01:00", "updated_at": "2024-03-22T09:11:20+01:00", "name": "Slow Test Memory Checks", "path": ".github/workflows/push_check.yml", "contents": null, "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:33.835089", "created_at": "2022-08-26T17:35:00+02:00", "updated_at": "2023-10-04T11:42:21+02:00", "name": "Slow Tests on main", "path": ".github/workflows/push_tests.yml", "contents": "name: Slow Tests on main\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"src/diffusers/**.py\"\n      - \"examples/**.py\"\n      - \"tests/**.py\"\n\nenv:\n  DIFFUSERS_IS_CI: yes\n  HF_HOME: /mnt/cache\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n  PYTEST_TIMEOUT: 600\n  RUN_SLOW: yes\n  PIPELINE_USAGE_CUTOFF: 50000\n\njobs:\n  setup_torch_cuda_pipeline_matrix:\n    name: Setup Torch Pipelines CUDA Slow Tests Matrix\n    runs-on: [ self-hosted, intel-cpu, 8-cpu, ci ]\n    container:\n      image: diffusers/diffusers-pytorch-cpu\n    outputs:\n      pipeline_test_matrix: ${{ steps.fetch_pipeline_matrix.outputs.pipeline_test_matrix }}\n    steps:\n      - name: Checkout diffusers\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n      - name: Install dependencies\n        run: |\n          python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n          python -m uv pip install -e [quality,test]\n      - name: Environment\n        run: |\n          python utils/print_env.py\n      - name: Fetch Pipeline Matrix\n        id: fetch_pipeline_matrix\n        run: |\n          matrix=$(python utils/fetch_torch_cuda_pipeline_test_matrix.py)\n          echo $matrix\n          echo \"pipeline_test_matrix=$matrix\" >> $GITHUB_OUTPUT\n      - name: Pipeline Tests Artifacts\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: test-pipelines.json\n          path: reports\n\n  torch_pipelines_cuda_tests:\n    name: Torch Pipelines CUDA Slow Tests\n    needs: setup_torch_cuda_pipeline_matrix\n    strategy:\n      fail-fast: false\n      max-parallel: 8\n      matrix:\n        module: ${{ fromJson(needs.setup_torch_cuda_pipeline_matrix.outputs.pipeline_test_matrix) }}\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    container:\n      image: diffusers/diffusers-pytorch-cuda\n      options: --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0\n    steps:\n      - name: Checkout diffusers\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n      - name: Install dependencies\n        run: |\n          python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n          python -m uv pip install -e [quality,test]\n          python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git\n      - name: Environment\n        run: |\n          python utils/print_env.py\n      - name: Slow PyTorch CUDA checkpoint tests on Ubuntu\n        env:\n          HF_TOKEN: ${{ secrets.HF_TOKEN }}\n          # https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms\n          CUBLAS_WORKSPACE_CONFIG: :16:8\n        run: |\n          python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \\\n            -s -v -k \"not Flax and not Onnx\" \\\n            --make-reports=tests_pipeline_${{ matrix.module }}_cuda \\\n            tests/pipelines/${{ matrix.module }}\n      - name: Failure short reports\n        if: ${{ failure() }}\n        run: |\n          cat reports/tests_pipeline_${{ matrix.module }}_cuda_stats.txt\n          cat reports/tests_pipeline_${{ matrix.module }}_cuda_failures_short.txt\n      - name: Test suite reports artifacts\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: pipeline_${{ matrix.module }}_test_reports\n          path: reports\n\n  torch_cuda_tests:\n    name: Torch CUDA Tests\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    container:\n      image: diffusers/diffusers-pytorch-cuda\n      options: --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      matrix:\n        module: [models, schedulers, lora, others, single_file]\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n        python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git\n\n    - name: Environment\n      run: |\n        python utils/print_env.py\n\n    - name: Run slow PyTorch CUDA tests\n      env:\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n        # https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms\n        CUBLAS_WORKSPACE_CONFIG: :16:8\n      run: |\n        python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"not Flax and not Onnx\" \\\n          --make-reports=tests_torch_cuda \\\n          tests/${{ matrix.module }}\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: |\n        cat reports/tests_torch_cuda_stats.txt\n        cat reports/tests_torch_cuda_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: torch_cuda_test_reports\n        path: reports\n\n  peft_cuda_tests:\n    name: PEFT CUDA Tests\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    container:\n      image: diffusers/diffusers-pytorch-cuda\n      options: --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0\n    defaults:\n      run:\n        shell: bash\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n        python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git\n        python -m pip install -U peft@git+https://github.com/huggingface/peft.git\n\n    - name: Environment\n      run: |\n        python utils/print_env.py\n\n    - name: Run slow PEFT CUDA tests\n      env:\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n        # https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms\n        CUBLAS_WORKSPACE_CONFIG: :16:8\n      run: |\n        python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"not Flax and not Onnx and not PEFTLoRALoading\" \\\n          --make-reports=tests_peft_cuda \\\n          tests/lora/\n        python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"lora and not Flax and not Onnx and not PEFTLoRALoading\" \\\n          --make-reports=tests_peft_cuda_models_lora \\\n          tests/models/\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: |\n        cat reports/tests_peft_cuda_stats.txt\n        cat reports/tests_peft_cuda_failures_short.txt\n        cat reports/tests_peft_cuda_models_lora_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: torch_peft_test_reports\n        path: reports\n\n  flax_tpu_tests:\n    name: Flax TPU Tests\n    runs-on: docker-tpu\n    container:\n      image: diffusers/diffusers-flax-tpu\n      options: --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ --privileged\n    defaults:\n      run:\n        shell: bash\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n        python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git\n\n    - name: Environment\n      run: |\n        python utils/print_env.py\n\n    - name: Run slow Flax TPU tests\n      env:\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n      run: |\n        python -m pytest -n 0 \\\n          -s -v -k \"Flax\" \\\n          --make-reports=tests_flax_tpu \\\n          tests/\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: |\n        cat reports/tests_flax_tpu_stats.txt\n        cat reports/tests_flax_tpu_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: flax_tpu_test_reports\n        path: reports\n\n  onnx_cuda_tests:\n    name: ONNX CUDA Tests\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    container:\n      image: diffusers/diffusers-onnxruntime-cuda\n      options: --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ --gpus 0\n    defaults:\n      run:\n        shell: bash\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n        python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git\n\n    - name: Environment\n      run: |\n        python utils/print_env.py\n\n    - name: Run slow ONNXRuntime CUDA tests\n      env:\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n      run: |\n        python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"Onnx\" \\\n          --make-reports=tests_onnx_cuda \\\n          tests/\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: |\n        cat reports/tests_onnx_cuda_stats.txt\n        cat reports/tests_onnx_cuda_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: onnx_cuda_test_reports\n        path: reports\n\n  run_torch_compile_tests:\n    name: PyTorch Compile CUDA tests\n\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n\n    container:\n      image: diffusers/diffusers-pytorch-compile-cuda\n      options: --gpus 0 --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: NVIDIA-SMI\n      run: |\n        nvidia-smi\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test,training]\n    - name: Environment\n      run: |\n        python utils/print_env.py\n    - name: Run example tests on GPU\n      env:\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n      run: |\n        python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v -k \"compile\" --make-reports=tests_torch_compile_cuda tests/\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: cat reports/tests_torch_compile_cuda_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: torch_compile_test_reports\n        path: reports\n\n  run_xformers_tests:\n    name: PyTorch xformers CUDA tests\n\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n\n    container:\n      image: diffusers/diffusers-pytorch-xformers-cuda\n      options: --gpus 0 --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: NVIDIA-SMI\n      run: |\n        nvidia-smi\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test,training]\n    - name: Environment\n      run: |\n        python utils/print_env.py\n    - name: Run example tests on GPU\n      env:\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n      run: |\n        python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v -k \"xformers\" --make-reports=tests_torch_xformers_cuda tests/\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: cat reports/tests_torch_xformers_cuda_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: torch_xformers_test_reports\n        path: reports\n\n  run_examples_tests:\n    name: Examples PyTorch CUDA tests on Ubuntu\n\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n\n    container:\n      image: diffusers/diffusers-pytorch-cuda\n      options: --gpus 0 --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: NVIDIA-SMI\n      run: |\n        nvidia-smi\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test,training]\n\n    - name: Environment\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python utils/print_env.py\n\n    - name: Run example tests on GPU\n      env:\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install timm\n        python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v --make-reports=examples_torch_cuda examples/\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: |\n        cat reports/examples_torch_cuda_stats.txt\n        cat reports/examples_torch_cuda_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: examples_test_reports\n        path: reports\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:34.961417", "created_at": "2023-02-13T09:34:55+01:00", "updated_at": "2023-12-19T07:28:37+01:00", "name": "Fast tests on main", "path": ".github/workflows/push_tests_fast.yml", "contents": "name: Fast tests on main\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"src/diffusers/**.py\"\n      - \"examples/**.py\"\n      - \"tests/**.py\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  DIFFUSERS_IS_CI: yes\n  HF_HOME: /mnt/cache\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n  PYTEST_TIMEOUT: 600\n  RUN_SLOW: no\n\njobs:\n  run_fast_tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        config:\n          - name: Fast PyTorch CPU tests on Ubuntu\n            framework: pytorch\n            runner: [ self-hosted, intel-cpu, 8-cpu, ci ]\n            image: diffusers/diffusers-pytorch-cpu\n            report: torch_cpu\n          - name: Fast Flax CPU tests on Ubuntu\n            framework: flax\n            runner: [ self-hosted, intel-cpu, 8-cpu, ci ]\n            image: diffusers/diffusers-flax-cpu\n            report: flax_cpu\n          - name: Fast ONNXRuntime CPU tests on Ubuntu\n            framework: onnxruntime\n            runner: [ self-hosted, intel-cpu, 8-cpu, ci ]\n            image: diffusers/diffusers-onnxruntime-cpu\n            report: onnx_cpu\n          - name: PyTorch Example CPU tests on Ubuntu\n            framework: pytorch_examples\n            runner: [ self-hosted, intel-cpu, 8-cpu, ci ]\n            image: diffusers/diffusers-pytorch-cpu\n            report: torch_example_cpu\n\n    name: ${{ matrix.config.name }}\n\n    runs-on: ${{ matrix.config.runner }}\n\n    container:\n      image: ${{ matrix.config.image }}\n      options: --shm-size \"16gb\" --ipc host -v /mnt/hf_cache:/mnt/cache/\n\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install -e [quality,test]\n\n    - name: Environment\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python utils/print_env.py\n\n    - name: Run fast PyTorch CPU tests\n      if: ${{ matrix.config.framework == 'pytorch' }}\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"not Flax and not Onnx\" \\\n          --make-reports=tests_${{ matrix.config.report }} \\\n          tests/\n\n    - name: Run fast Flax TPU tests\n      if: ${{ matrix.config.framework == 'flax' }}\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"Flax\" \\\n          --make-reports=tests_${{ matrix.config.report }} \\\n          tests/\n\n    - name: Run fast ONNXRuntime CPU tests\n      if: ${{ matrix.config.framework == 'onnxruntime' }}\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \\\n          -s -v -k \"Onnx\" \\\n          --make-reports=tests_${{ matrix.config.report }} \\\n          tests/\n\n    - name: Run example PyTorch CPU tests\n      if: ${{ matrix.config.framework == 'pytorch_examples' }}\n      run: |\n        python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n        python -m uv pip install peft timm\n        python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \\\n          --make-reports=tests_${{ matrix.config.report }} \\\n          examples\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: cat reports/tests_${{ matrix.config.report }}_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: pr_${{ matrix.config.report }}_test_reports\n        path: reports\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:36.087887", "created_at": "2023-05-18T16:05:09+02:00", "updated_at": "2023-05-20T13:43:10+02:00", "name": "Fast mps tests on main", "path": ".github/workflows/push_tests_mps.yml", "contents": "name: Fast mps tests on main\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"src/diffusers/**.py\"\n      - \"tests/**.py\"\n\nenv:\n  DIFFUSERS_IS_CI: yes\n  HF_HOME: /mnt/cache\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n  PYTEST_TIMEOUT: 600\n  RUN_SLOW: no\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  run_fast_tests_apple_m1:\n    name: Fast PyTorch MPS tests on MacOS\n    runs-on: macos-13-xlarge\n\n    steps:\n    - name: Checkout diffusers\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 2\n\n    - name: Clean checkout\n      shell: arch -arch arm64 bash {0}\n      run: |\n        git clean -fxd\n\n    - name: Setup miniconda\n      uses: ./.github/actions/setup-miniconda\n      with:\n        python-version: 3.9\n\n    - name: Install dependencies\n      shell: arch -arch arm64 bash {0}\n      run: |\n        ${CONDA_RUN} python -m pip install --upgrade pip uv\n        ${CONDA_RUN} python -m uv pip install -e [quality,test]\n        ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio\n        ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git\n        ${CONDA_RUN} python -m uv pip install transformers --upgrade\n\n    - name: Environment\n      shell: arch -arch arm64 bash {0}\n      run: |\n        ${CONDA_RUN} python utils/print_env.py\n\n    - name: Run fast PyTorch tests on M1 (MPS)\n      shell: arch -arch arm64 bash {0}\n      env:\n        HF_HOME: /System/Volumes/Data/mnt/cache\n        HF_TOKEN: ${{ secrets.HF_TOKEN }}\n      run: |\n        ${CONDA_RUN} python -m pytest -n 0 -s -v --make-reports=tests_torch_mps tests/\n\n    - name: Failure short reports\n      if: ${{ failure() }}\n      run: cat reports/tests_torch_mps_failures_short.txt\n\n    - name: Test suite reports artifacts\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: pr_torch_mps_test_reports\n        path: reports\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:37.201223", "created_at": "2024-03-13T11:58:00+01:00", "updated_at": "2024-03-13T11:58:00+01:00", "name": "PyPI release", "path": ".github/workflows/pypi_publish.yaml", "contents": "# Adapted from https://blog.deepjyoti30.dev/pypi-release-github-action\n\nname: PyPI release\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  find-and-checkout-latest-branch:\n    runs-on: ubuntu-latest\n    outputs:\n      latest_branch: ${{ steps.set_latest_branch.outputs.latest_branch }}\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - name: Fetch latest branch\n        id: fetch_latest_branch\n        run: |\n          pip install -U requests packaging\n          LATEST_BRANCH=$(python utils/fetch_latest_release_branch.py)\n          echo \"Latest branch: $LATEST_BRANCH\"\n          echo \"latest_branch=$LATEST_BRANCH\" >> $GITHUB_ENV\n          \n      - name: Set latest branch output\n        id: set_latest_branch\n        run: echo \"::set-output name=latest_branch::${{ env.latest_branch }}\"\n\n  release:\n    needs: find-and-checkout-latest-branch\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ needs.find-and-checkout-latest-branch.outputs.latest_branch }}\n          \n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      \n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -U setuptools wheel twine\n          pip install -U torch --index-url https://download.pytorch.org/whl/cpu\n          pip install -U transformers\n      \n      - name: Build the dist files\n        run: python setup.py bdist_wheel && python setup.py sdist\n      \n      - name: Publish to the test PyPI\n        env:\n          TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}\n        run: twine upload dist/* -r pypitest --repository-url=https://test.pypi.org/legacy/    \n\n      - name: Test installing diffusers and importing\n        run: |\n          pip install diffusers && pip uninstall diffusers -y\n          pip install -i https://testpypi.python.org/pypi diffusers\n          python -c \"from diffusers import __version__; print(__version__)\"\n          python -c \"from diffusers import DiffusionPipeline; pipe = DiffusionPipeline.from_pretrained('fusing/unet-ldm-dummy-update'); pipe()\"\n          python -c \"from diffusers import DiffusionPipeline; pipe = DiffusionPipeline.from_pretrained('hf-internal-testing/tiny-stable-diffusion-pipe', safety_checker=None); pipe('ah suh du')\"\n          python -c \"from diffusers import *\"\n\n      - name: Publish to PyPI\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: twine upload dist/* -r pypi\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:38.374444", "created_at": "2024-05-27T10:17:51+02:00", "updated_at": "2024-05-27T10:17:51+02:00", "name": "Check running SLOW tests from a PR (only GPU)", "path": ".github/workflows/run_tests_from_a_pr.yml", "contents": "name: Check running SLOW tests from a PR (only GPU)\n\non:\n  workflow_dispatch:\n    inputs:\n      docker_image:\n        default: 'diffusers/diffusers-pytorch-cuda'\n        description: 'Name of the Docker image'\n        required: true\n      branch: \n        description: 'PR Branch to test on'\n        required: true\n      test:\n        description: 'Tests to run (e.g.: `tests/models`).'\n        required: true\n\nenv:\n  DIFFUSERS_IS_CI: yes\n  IS_GITHUB_CI: \"1\"\n  HF_HOME: /mnt/cache\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n  PYTEST_TIMEOUT: 600\n  RUN_SLOW: yes\n\njobs:\n  run_tests:\n    name: \"Run a test on our runner from a PR\"\n    runs-on: [single-gpu, nvidia-gpu, t4, ci]\n    container:\n      image: ${{ github.event.inputs.docker_image }}\n      options: --gpus 0 --privileged --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n\n    steps:\n      - name: Validate test files input\n        id: validate_test_files\n        env: \n          PY_TEST: ${{ github.event.inputs.test }}\n        run: |\n          if [[ ! \"$PY_TEST\" =~ ^tests/ ]]; then\n            echo \"Error: The input string must start with 'tests/'.\"\n            exit 1\n          fi\n          \n          if [[ ! \"$PY_TEST\" =~ ^tests/(models|pipelines) ]]; then\n            echo \"Error: The input string must contain either 'models' or 'pipelines' after 'tests/'.\"\n            exit 1\n          fi\n          \n          if [[ \"$PY_TEST\" == *\";\"* ]]; then\n            echo \"Error: The input string must not contain ';'.\"\n            exit 1\n          fi\n          echo \"$PY_TEST\"\n\n      - name: Checkout PR branch\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.branch }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n\n\n      - name: Install pytest \n        run: | \n          python -m venv /opt/venv && export PATH=\"/opt/venv/bin:$PATH\"\n          python -m uv pip install -e [quality,test]\n          python -m uv pip install peft\n      \n      - name: Run tests\n        env: \n            PY_TEST: ${{ github.event.inputs.test }}\n        run: |\n          pytest \"$PY_TEST\"", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:39.468660", "created_at": "2024-04-29T10:14:41+02:00", "updated_at": "2024-04-29T10:14:41+02:00", "name": "SSH into runners", "path": ".github/workflows/ssh-runner.yml", "contents": "name: SSH into runners\n\non:\n  workflow_dispatch:\n    inputs:\n      runner_type:\n        description: 'Type of runner to test (a10 or t4)'\n        required: true\n      docker_image:\n        description: 'Name of the Docker image'\n        required: true\n\nenv:\n  IS_GITHUB_CI: \"1\"\n  HF_HUB_READ_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}\n  HF_HOME: /mnt/cache\n  DIFFUSERS_IS_CI: yes\n  OMP_NUM_THREADS: 8\n  MKL_NUM_THREADS: 8\n  RUN_SLOW: yes\n\njobs:\n  ssh_runner:\n    name: \"SSH\"\n    runs-on: [single-gpu, nvidia-gpu, \"${{ github.event.inputs.runner_type }}\", ci]\n    container:\n      image: ${{ github.event.inputs.docker_image }}\n      options: --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface/diffusers:/mnt/cache/ --gpus 0 --privileged\n\n    steps:\n      - name: Checkout diffusers\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: NVIDIA-SMI\n        run: |\n          nvidia-smi\n\n      - name: Tailscale # In order to be able to SSH when a test fails\n        uses: huggingface/tailscale-action@main\n        with:\n          authkey: ${{ secrets.TAILSCALE_SSH_AUTHKEY }}\n          slackChannel: ${{ secrets.SLACK_CIFEEDBACK_CHANNEL }}\n          slackToken: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n          waitForSSH: true\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:40.695524", "created_at": "2022-09-16T12:03:07+02:00", "updated_at": "2022-09-16T12:03:07+02:00", "name": "Stale Bot", "path": ".github/workflows/stale.yml", "contents": "name: Stale Bot\n\non:\n  schedule:\n    - cron: \"0 15 * * *\"\n\njobs:\n  close_stale_issues:\n    name: Close Stale Issues\n    if: github.repository == 'huggingface/diffusers'\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Setup Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.8\n\n    - name: Install requirements\n      run: |\n        pip install PyGithub\n    - name: Close stale issues\n      run: |\n        python utils/stale.py\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:41.821890", "created_at": "2024-02-27T12:53:04+01:00", "updated_at": "2024-02-27T12:53:04+01:00", "name": "Temporary workflow to check if the notifications are working as expected", "path": ".github/workflows/temp_workflow.yml", "contents": null, "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:42.810698", "created_at": "2024-02-28T09:22:39+01:00", "updated_at": "2024-02-28T09:22:39+01:00", "name": ".github/workflows/test_docker_build.yml", "path": ".github/workflows/test_docker_build.yml", "contents": null, "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:43.869155", "created_at": "2024-06-07T18:06:17+02:00", "updated_at": "2024-06-08T04:26:48+02:00", "name": "Secret Leaks", "path": ".github/workflows/trufflehog.yml", "contents": "on:\n  push:\n\nname: Secret Leaks\n\njobs:\n  trufflehog:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Secret Scanning\n      uses: trufflesecurity/trufflehog@main\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:44.893648", "created_at": "2022-09-12T17:16:09+02:00", "updated_at": "2022-09-16T15:36:53+02:00", "name": "Check typos", "path": ".github/workflows/typos.yml", "contents": "name: Check typos\n\non:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: typos-action\n        uses: crate-ci/typos@v1.12.4\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:46.008208", "created_at": "2024-04-10T04:58:51+02:00", "updated_at": "2024-04-10T04:58:51+02:00", "name": "Update Diffusers metadata", "path": ".github/workflows/update_metadata.yml", "contents": "name: Update Diffusers metadata\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n      - update_diffusers_metadata*\n\njobs:\n  update_metadata:\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup environment\n        run: |\n          pip install --upgrade pip\n          pip install datasets pandas\n          pip install .[torch]\n\n      - name: Update metadata\n        env:\n          HF_TOKEN: ${{ secrets.SAYAK_HF_TOKEN }}\n        run: |\n          python utils/update_metadata.py --commit_sha ${{ github.sha }}\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:47.041928", "created_at": "2023-06-07T20:01:19+02:00", "updated_at": "2023-12-01T14:13:34+01:00", "name": "Upload PR Documentation", "path": ".github/workflows/upload_pr_documentation.yml", "contents": "name: Upload PR Documentation\n\non:\n  workflow_run:\n    workflows: [\"Build PR Documentation\"]\n    types:\n      - completed\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main\n    with:\n      package_name: diffusers\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n      comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}\n", "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:48.153781", "created_at": "2023-02-06T18:40:57+01:00", "updated_at": "2023-02-06T18:40:57+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "huggingface/diffusers"}
{"mined_at": "2024-07-15T17:18:50.220143", "created_at": "2022-07-07T23:12:39+02:00", "updated_at": "2022-07-07T23:34:33+02:00", "name": "PyPI", "path": ".github/workflows/python-publish.yml", "contents": "name: PyPI\n\non:\n  push:\n    tags:\n      - \"v*.*.*\"\n    paths-ignore:\n      - '**.md'\n      - 'docs/**'\n      - 'docsrc/**'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Publish GH release\n        uses: softprops/action-gh-release@v0.1.14\n      - name: Build using poetry and publish to PyPi\n        uses: JRubics/poetry-publish@v1.11\n        with:\n          pypi_token: ${{ secrets.PYPI_API_KEY }}\n", "state": "active", "repository": "upstreamdata/pyasic"}
{"mined_at": "2024-07-15T17:18:52.984349", "created_at": "2022-03-30T06:25:15+02:00", "updated_at": "2022-03-31T03:50:35+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  merge_group:\n    branches: [ master ]\n\n\npermissions: {}\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'go', 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "google/osv.dev"}
{"mined_at": "2024-07-15T17:18:54.443683", "created_at": "2024-05-14T08:09:24+02:00", "updated_at": "2024-05-14T08:09:24+02:00", "name": "Add comments to specifically labeled issues", "path": ".github/workflows/issue-signposting.yml", "contents": "name: Add comments to specifically labeled issues\non:\n  issues:\n    types:\n      - labeled\njobs:\n  add-comment:\n    if: github.event.label.name == 'data quality'\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - name: Add comment signposting to FAQ\n        run: gh issue comment \"$NUMBER\" --body \"$BODY\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GH_REPO: ${{ github.repository }}\n          NUMBER: ${{ github.event.issue.number }}\n          BODY: |\n            :sparkles: Thank you for your interest in OSV.dev's data quality! :sparkles:\n            \n            **Please review our [FAQ entry](https://google.github.io/osv.dev/faq/#ive-found-something-wrong-with-the-data) on how to most efficiently have this addressed.**\n\n", "state": "active", "repository": "google/osv.dev"}
{"mined_at": "2024-07-15T17:18:55.492578", "created_at": "2023-06-13T23:24:13+02:00", "updated_at": "2023-06-13T23:24:13+02:00", "name": "Check links on push", "path": ".github/workflows/link-checker-on-push.yml", "contents": "name: Check links on push\n\non: push\npermissions:  # added using https://github.com/step-security/secure-repo\n  contents: read\n\njobs:\n  markdown-link-check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - uses: gaurav-nelson/github-action-markdown-link-check@7d83e59a57f3c201c76eed3d33dff64ec4452d27\n      with:\n        use-quiet-mode: \"yes\"\n        check-modified-files-only: \"yes\"\n# Documentation available here: https://github.com/marketplace/actions/markdown-link-check\n", "state": "active", "repository": "google/osv.dev"}
{"mined_at": "2024-07-15T17:18:56.799486", "created_at": "2023-06-13T02:22:09+02:00", "updated_at": "2023-06-13T23:24:13+02:00", "name": "Scheduled link check", "path": ".github/workflows/link-checker.yml", "contents": "name: Scheduled link check\n\non: \n  schedule:\n    - cron: '30 22 * * 1,4'\npermissions:  # added using https://github.com/step-security/secure-repo\n  contents: read\njobs:\n  markdown-link-check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - uses: gaurav-nelson/github-action-markdown-link-check@7d83e59a57f3c201c76eed3d33dff64ec4452d27\n      with:\n        use-quiet-mode: \"yes\"\n        \n# Documentation available here: https://github.com/marketplace/actions/markdown-link-check\n", "state": "active", "repository": "google/osv.dev"}
{"mined_at": "2024-07-15T17:18:57.842660", "created_at": "2021-01-11T02:38:09+01:00", "updated_at": "2021-01-11T02:38:09+01:00", "name": "lint", "path": ".github/workflows/lint.yaml", "contents": "# Copyright 2021 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: lint\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  merge_group:\n    branches: [ master ]\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    name: Lint and format\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Install pipenv\n        run: pip install pipenv==2023.12.1\n      - name: Set up pipenv\n        run: pipenv sync --dev\n      - name: Set up Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: '>=1.22.4'\n      - name: Set up terraform\n        uses: hashicorp/setup-terraform@v2\n      - name: Run pylint and yapf, go vet\n        run: pipenv run ./tools/lint_and_format.sh\n", "state": "active", "repository": "google/osv.dev"}
{"mined_at": "2024-07-15T17:18:58.891592", "created_at": "2024-01-19T01:48:03+01:00", "updated_at": "2024-01-19T01:55:55+01:00", "name": "OSV-Scanner", "path": ".github/workflows/osv-scanner-unified.yml", "contents": "# Copyright 2024 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: OSV-Scanner\n\non:\n  pull_request:\n    branches: [\"master\"]\n  merge_group:\n    branches: [\"master\"]\n  schedule:\n    - cron: \"12 12 * * 1\"\n  push:\n    branches: [\"master\"]\n\npermissions:\n  # Require writing security events to upload SARIF file to security tab\n  security-events: write\n  # Read commit contents\n  contents: read\n\njobs:\n  scan-scheduled:\n    if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}\n    uses: \"google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@staging\"\n  scan-pr:\n    if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}\n    uses: \"google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@staging\"\n", "state": "active", "repository": "google/osv.dev"}
{"mined_at": "2024-07-15T17:18:59.982668", "created_at": "2021-09-08T05:15:11+02:00", "updated_at": "2021-09-08T05:15:11+02:00", "name": "Publish PyPI package", "path": ".github/workflows/publish-to-pypi.yaml", "contents": "# Copyright 2021 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Publish PyPI package\non:\n  release:\n    types: [published]\n\npermissions: read-all\n\njobs:\n  publish:\n    name: Publish\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6\n      with:\n        fetch-depth: 0\n        submodules: recursive\n    - name: Set up Python 3\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: 3.7\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python3 -m\n        build\n        --sdist --wheel --outdir dist/ .\n    - name: Publish distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        packages_dir: dist/\n", "state": "active", "repository": "google/osv.dev"}
{"mined_at": "2024-07-15T17:19:01.020429", "created_at": "2022-03-31T04:29:21+02:00", "updated_at": "2022-03-31T04:29:21+02:00", "name": "Scorecards supply-chain security", "path": ".github/workflows/scorecards.yml", "contents": "name: Scorecards supply-chain security\non:\n  # Only the default branch is supported.\n  branch_protection_rule:\n  schedule:\n    - cron: '36 3 * * 6'\n  push:\n    branches: [ master ]\n\n# Declare default permissions as read only.\npermissions: {}\n\njobs:\n  analysis:\n    name: Scorecards analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      actions: read\n      contents: read\n      id-token: write\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # Read-only PAT token. To create it,\n          # follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation.\n          repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}\n          # Publish the results to enable scorecard badges. For more details, see\n          # https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories, `publish_results` will automatically be set to `false`,\n          # regardless of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional).\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@6ac9fc7e8e290bda8fac86290b68e176def71959 # v2.25.8\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "google/osv.dev"}
{"mined_at": "2024-07-15T17:19:02.130134", "created_at": "2023-04-12T04:02:52+02:00", "updated_at": "2023-04-12T04:02:52+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "google/osv.dev"}
{"mined_at": "2024-07-15T17:19:04.412216", "created_at": "2022-09-13T14:32:31+02:00", "updated_at": "2022-09-26T16:49:12+02:00", "name": "Benchmark", "path": ".github/workflows/benchmark.yaml", "contents": "name: Benchmark\non:\n  push:\n    branches:\n      - master\njobs:\n  benchmarks:\n    name: \"Benchmark time & memory\"\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set Up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Update pip\n        run: python -m pip install --upgrade pip\n      - name: Install dependencies\n        run: |\n          python -m pip install -e .[test,benchmark,docs]\n      - name: Run Benchmark for time\n        run: pytest --benchmark-json output.json -k _time tests/benchmarks\n\n      - name: Download previous benchmark data\n        uses: actions/cache@v4\n        with:\n          path: ./cache\n          key: ${{ runner.os }}-benchmark\n      - name: Extract benchmark data\n        run:  python .github/scripts/extract_benchmark_data.py output.json output_action.json\n      - name: Store benchmark result\n        uses: benchmark-action/github-action-benchmark@v1\n        with:\n          # What benchmark tool the output.txt came from\n          tool: 'customSmallerIsBetter'\n          # Where the output from the benchmark tool is stored\n          output-file-path: output_action.json\n          # Where the previous data file is stored\n          # external-data-json-path: ./cache/benchmark-data.json\n          # Workflow will fail when an alert happens\n          fail-on-alert: true\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          alert-threshold: '150%'\n          comment-on-alert: true\n          comment-always: false\n          auto-push: true\n          gh-pages-branch: \"benchmarks\"\n          benchmark-data-dir-path: \"docs/bench\"\n          alert-comment-cc-users: '@danwos'\n\n      - name: Run Benchmark for memory\n        run: pytest --benchmark-json output.json -k _memory tests/benchmarks\n      - name: Create memory flamegraph\n        run: memray flamegraph -o mem_out.html mem_out.bin\n      - name: Publish memory flamegraph\n        run: |\n          git checkout benchmarks\n          cp mem_out.html docs/memory.html\n          git add docs/memory.html\n          git -c \"user.name=Sphinx-Needs CI\" -c \"user.email=ci@sphinx-needs.com\" commit -m \"memory.html update\"\n      - name: Push changes   \n        run: git push origin benchmarks\n", "state": "active", "repository": "useblocks/sphinx-needs"}
{"mined_at": "2024-07-15T17:19:05.549267", "created_at": "2021-04-19T16:38:33+02:00", "updated_at": "2022-06-21T14:17:50+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\non:\n  push:\n    branches: [master]\n  pull_request:\njobs:\n\n  lint:\n    name: Lint\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - uses: pre-commit/action@v3.0.1\n\n  tests-core:\n    name: \"Core py${{ matrix.python-version }} sphinx~=${{ matrix.sphinx-version }} ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false  # Set on \"false\" to get the results of ALL builds\n      matrix:\n        os: [\"ubuntu-latest\"]\n        # 3.9.8 seems to be broken with type_ast\n        # https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1829077.html\n        python-version: [\"3.8\", \"3.11\"]\n        sphinx-version: [\"5.0\", \"6.0\", \"7.0\"]\n        include:\n          - os: \"windows-latest\"\n            python-version: \"3.8\"\n            sphinx-version: \"5.0\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set Up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Update pip\n        run: python -m pip install --upgrade pip\n      - name: Install dependencies\n        run: |\n          python -m pip install sphinx~=${{ matrix.sphinx-version }} -e .[test]\n          python -m pip freeze\n      - name: Run pytest\n        run: python -m pytest -v --ignore=tests/benchmarks -m \"not jstest\" --cov=sphinx_needs --cov-report=xml --cov-report=term-missing tests\n      - name: Create coverage\n        run: coverage xml\n      - name: Upload to Codecov\n        if: github.repository == 'useblocks/sphinx-needs' && matrix.os == 'ubuntu-latest'\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: sphinx-need-pytests\n          flags: pytests\n          file: ./coverage.xml\n          fail_ci_if_error: true\n\n  tests-js:\n    name: \"JS py${{ matrix.python-version }} sphinx~=${{ matrix.sphinx-version }} ${{ matrix.os }}\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          - os: \"ubuntu-latest\"\n            python-version: \"3.8\"\n            sphinx-version: \"5.0\"\n          - os: \"ubuntu-latest\"\n            python-version: \"3.11\"\n            sphinx-version: \"7.0\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Use Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 18\n      - name: Install Cypress Test Framework\n        run: npm install cypress\n      - name: Set Up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Update pip\n        run: python -m pip install --upgrade pip\n      - name: Install dependencies\n        run: |\n          python -m pip install sphinx~=${{ matrix.sphinx-version }} -e .[test]\n          python -m pip freeze\n      - name: Run pytest\n        run: |\n          python -m pytest -v --ignore=tests/benchmarks -m \"jstest\" tests\n\n  tests-no-mpl:\n    name: Test matplotlib uninstalled\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set Up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Update pip\n        run: python -m pip install --upgrade pip\n      - name: Install Dependencies\n        run: |\n          python -m pip install -e .[test,docs]\n          python -m pip uninstall -y matplotlib numpy\n          python -m pip freeze\n      - name: Run pytest\n        run: |\n          python -m pytest -v tests/no_mpl_tests.py\n      - name: Run HTML build\n        # the docs should build without matplotlib (just issuing warnings)\n        run: sphinx-build -b html . _build \n        working-directory: docs\n\n  check:\n  \n    # This job does nothing and is only used for the branch protection\n    # see https://github.com/marketplace/actions/alls-green#why\n\n    if: always()\n\n    needs:\n    - lint\n    - tests-core\n    - tests-js\n    - tests-no-mpl\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "useblocks/sphinx-needs"}
{"mined_at": "2024-07-15T17:19:06.789285", "created_at": "2022-05-02T22:15:37+02:00", "updated_at": "2022-05-03T10:19:20+02:00", "name": "Docker-Image", "path": ".github/workflows/docker.yaml", "contents": "name: Docker-Image\n\non:\n  # Allow manual trigger\n  workflow_dispatch:\n    inputs:\n      # Ask if docker deployment needed when manually triggered\n      deploy:\n        description: 'Deploy Docker Image (y/n)?'\n        required: true\n        default: 'n'\n  push:\n    tags:\n      - '*.*.*'\n  pull_request:\n    paths: ['docker/**']\n\nenv:\n  NEEDS_VERSION: 2.0.0\n  DEPLOY_IMAGE: ${{ github.event_name != 'pull_request' }}\n\njobs:\n  build:\n    strategy:\n      fail-fast: ${{ github.event_name != 'pull_request' }}\n      matrix:\n        base-image: [\"sphinxdoc/sphinx:latest\", \"sphinxdoc/sphinx-latexpdf:latest\"]\n        image: [\"sphinxneeds\", \"sphinxneeds-latexpdf\"]\n        exclude:\n        - base-image: \"sphinxdoc/sphinx:latest\"\n          image: \"sphinxneeds-latexpdf\"\n        - base-image: \"sphinxdoc/sphinx-latexpdf:latest\"\n          image: \"sphinxneeds\"\n    name: \"Image: ${{ matrix.image }} | Baseimage: ${{ matrix.base-image }}\"\n    runs-on: ubuntu-latest\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE\n      - name: Checkout 🛎️\n        uses: actions/checkout@v4\n      -\n        name: Set up Docker Build 🐋\n        uses: docker/setup-buildx-action@v3\n      -\n        name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.image }}\n          flavor: |\n            latest=true\n          tags: |\n            type=pep440,pattern={{version}}\n\n      - name: Check if deployment manually disabled\n        if: github.event.inputs.deploy == 'n'\n        run: |\n          echo \"DEPLOY_IMAGE=false\" >> \"$GITHUB_ENV\"\n\n      - name: Login to Docker Hub Docker Registry 🐸\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push html image to Doker Hub Docker Registry 🐳\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          push: ${{ env.DEPLOY_IMAGE == 'true' }}\n          file: docker/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          build-args: |\n            NEEDS_VERSION=${{ env.NEEDS_VERSION }}\n            BASE_IMAGE=${{ matrix.base-image }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "useblocks/sphinx-needs"}
{"mined_at": "2024-07-15T17:19:07.849254", "created_at": "2022-06-01T12:29:48+02:00", "updated_at": "2022-07-08T10:45:20+02:00", "name": "Docs CI", "path": ".github/workflows/docs.yaml", "contents": "name: Docs CI\non:\n  pull_request:\n    paths: [docs/**]\njobs:\n  linkcheck:\n    name: Docs-Linkcheck\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set Up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Update pip\n        run: python -m pip install --upgrade pip\n      - name: Install Dependencies\n        run: |\n          python -m pip install -e .[docs]\n      - name: Run linkcheck\n        run: sphinx-build -b linkcheck . _build \n        working-directory: docs\n", "state": "active", "repository": "useblocks/sphinx-needs"}
{"mined_at": "2024-07-15T17:19:08.990994", "created_at": "2022-11-28T10:23:12+01:00", "updated_at": "2022-11-29T13:04:24+01:00", "name": "Cypress E2E tests for Sphinx Needs", "path": ".github/workflows/js_test.yml", "contents": "name: Cypress E2E tests for Sphinx Needs\non: [pull_request]\njobs:\n  js_tests:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set Up Python 3.10.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.10.8\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: 18\n    - uses: actions/checkout@v4\n    - name: Update pip\n      run: |\n        pip install -U wheel\n        pip install -U setuptools\n        python -m pip install -U pip\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: Pip cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Install package\n      run: |\n        pip install -e .[docs]\n    - name: Install Node dependencies\n      run: npm install cypress\n    - name: Build Docs\n      id: sphinx-build-docs\n      run: sphinx-build -a -T -E -j 4 -b html -d /tmp/sphinx_build/doctrees ./docs /tmp/sphinx_build/html\n    - name: E2E Cypress Test on Chrome\n      uses: cypress-io/github-action@v6\n      with:\n        browser: chrome\n        config-file: tests/js_test/cypress.config.js\n        start: npm start\n        # quote the url to be safe against YML parsing surprises\n        wait-on: 'http://localhost:8080'\n\n\n\n", "state": "active", "repository": "useblocks/sphinx-needs"}
{"mined_at": "2024-07-15T17:19:10.426130", "created_at": "2022-01-20T08:21:41+01:00", "updated_at": "2022-01-21T14:39:23+01:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\non:\n  push:\n    tags:\n      - '[0-9].[0-9]+.[0-9]+'\njobs:\n  build:\n    name: Build packages\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: install Poetry\n        run: python -m pip install poetry\n      - name: poetry build\n        run: poetry build\n      - uses: actions/upload-artifact@v4\n        with:\n          name: poetry_build\n          path: dist/\n\n  publish_oficial:\n    name: Publish on PyPi\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - uses: actions/download-artifact@v4\n        with:\n          name:  poetry_build\n          path: dist/\n      - name: Display structure of downloaded files\n        run: ls -R\n      # PyPi Release\n      - name: install Poetry\n        run: python -m pip install poetry\n      - name: poetry configure PyPI Token\n        run: poetry config pypi-token.pypi ${{ secrets.PYPI }}\n      - name: poetry publish PyPi\n        run: poetry publish\n", "state": "active", "repository": "useblocks/sphinx-needs"}
{"mined_at": "2024-07-15T17:19:11.486918", "created_at": "2024-07-12T06:56:23+02:00", "updated_at": "2024-07-12T06:56:23+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "useblocks/sphinx-needs"}
{"mined_at": "2024-07-15T17:19:12.475883", "created_at": "2022-09-13T14:44:49+02:00", "updated_at": "2022-09-13T14:44:49+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "useblocks/sphinx-needs"}
{"mined_at": "2024-07-15T17:19:14.796038", "created_at": "2022-07-04T14:46:39+02:00", "updated_at": "2023-09-30T20:05:28+02:00", "name": "Lock threads", "path": ".github/workflows/lock.yaml", "contents": "name: 'Lock threads'\n# Lock closed issues that have not received any further activity for\n# two weeks. This does not close open issues, only humans may do that.\n# We find that it is easier to respond to new issues with fresh examples\n# rather than continuing discussions on old issues.\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n\npermissions:\n  issues: write\n  pull-requests: write\n\nconcurrency:\n  group: lock\n\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v5\n        with:\n          issue-inactive-days: 14\n          pr-inactive-days: 14\n", "state": "active", "repository": "pallets/quart"}
{"mined_at": "2024-07-15T17:19:15.814182", "created_at": "2023-09-30T19:58:17+02:00", "updated_at": "2023-09-30T20:04:12+02:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "name: Publish\non:\n  push:\n    tags:\n      - '*'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    outputs:\n      hash: ${{ steps.hash.outputs.hash }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n      - run: pip install poetry\n      - run: poetry build\n      # Generate hashes used for provenance.\n      - name: generate hash\n        id: hash\n        run: cd dist && echo \"hash=$(sha256sum * | base64 -w0)\" >> $GITHUB_OUTPUT\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./dist\n\n  provenance:\n    needs: ['build']\n    permissions:\n      actions: read\n      id-token: write\n      contents: write\n    # Can't pin with hash due to how this workflow works.\n    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.10.0\n    with:\n      base64-subjects: ${{ needs.build.outputs.hash }}\n\n  create-release:\n    # Upload the sdist, wheels, and provenance to a GitHub release. They remain\n    # available as build artifacts for a while as well.\n    needs: ['provenance']\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/download-artifact@v4\n      - name: create release\n        run: >\n          gh release create --draft --repo ${{ github.repository }}\n          ${{ github.ref_name }}\n          *.intoto.jsonl/* artifact/*\n        env:\n          GH_TOKEN: ${{ github.token }}\n  publish-pypi:\n    needs: ['provenance']\n    # Wait for approval before attempting to upload to PyPI. This allows reviewing the\n    # files in the draft release.\n    environment: 'publish'\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v4\n      # Try uploading to Test PyPI first, in case something fails.\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          packages-dir: artifact/\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: artifact/\n", "state": "active", "repository": "pallets/quart"}
{"mined_at": "2024-07-15T17:19:16.947095", "created_at": "2022-07-04T10:59:35+02:00", "updated_at": "2022-07-04T14:46:39+02:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\non:\n  push:\n    branches:\n      - main\n      - pallets\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\n  pull_request:\n    branches:\n      - main\n    paths-ignore:\n      - 'docs/**'\n      - '*.md'\n      - '*.rst'\njobs:\n  tests:\n    name: ${{ matrix.name }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {name: Linux, python: '3.12', os: ubuntu-latest, tox: py312}\n          - {name: Windows, python: '3.12', os: windows-latest, tox: py312}\n          - {name: Mac, python: '3.12', os: macos-latest, tox: py312}\n          - {name: '3.12', python: '3.12', os: ubuntu-latest, tox: py312}\n          - {name: '3.11', python: '3.11', os: ubuntu-latest, tox: py311}\n          - {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}\n          - {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}\n          - {name: Typing, python: '3.12', os: ubuntu-latest, tox: mypy}\n          - {name: Package, python: '3.12', os: ubuntu-latest, tox: package}\n          - {name: Lint, python: '3.12', os: ubuntu-latest, tox: pep8}\n          - {name: Format, python: '3.12', os: ubuntu-latest, tox: format}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: update pip\n        run: |\n          pip install -U wheel\n          pip install -U setuptools\n          python -m pip install -U pip\n      - name: cache mypy\n        uses: actions/cache@v4.0.0\n        with:\n          path: ./.mypy_cache\n          key: mypy|${{ matrix.python }}|${{ hashFiles('pyproject.toml') }}\n        if: matrix.tox == 'typing'\n      - run: pip install tox\n      - run: tox -e ${{ matrix.tox }}\n", "state": "active", "repository": "pallets/quart"}
{"mined_at": "2024-07-15T17:19:19.676488", "created_at": "2021-03-06T04:12:57+01:00", "updated_at": "2021-03-06T04:12:57+01:00", "name": "pypi build", "path": ".github/workflows/publish_to_pypi.yml", "contents": "name: pypi build\n\non:\n   push:\n     tags:\n       - 'v*'\n\njobs:\n  build-n-publish:\n    name: pypi build\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest wheel twine\n        pip install -r requirements.txt\n    - name: Build distribution\n      run: |\n        python setup.py sdist bdist_wheel\n    - name: Publish on PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "flamteam/flamedisx"}
{"mined_at": "2024-07-15T17:19:20.835927", "created_at": "2021-03-04T22:26:02+01:00", "updated_at": "2021-03-06T03:49:58+01:00", "name": "build", "path": ".github/workflows/test_flamedisx.yml", "contents": "name: build\n\non: [push, pull_request]\n\njobs:\n  test_flamedisx:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest wheel\n        pip install -r requirements.txt\n    - name: Install flamedisx\n      run: |\n        pip install .\n    - name: Test with pytest\n      run: |\n        pytest\n    - name: Lint with flake8\n      run: |\n        flake8 --per-file-ignores=\"__init__.py:F401,F403\" --max-line-length=120 --exclude \"x1t_sr1.py, tfp_files, itp_map.py\" --count flamedisx\n", "state": "active", "repository": "flamteam/flamedisx"}
{"mined_at": "2024-07-15T17:19:23.058959", "created_at": "2023-11-28T18:10:30+01:00", "updated_at": "2023-11-28T18:10:30+01:00", "name": "dev release", "path": ".github/workflows/dev-release.yml", "contents": "name: dev release\non:\n  workflow_run:\n    workflows: [\"unit tests\"]\n    types:\n      - completed\n    branches:\n      - dev\n\npermissions:\n  id-token: write\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    steps:\n      - name: checkout\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.workflow_run.head_branch }}\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10' \n\n      - name: Build package\n        run: |\n          rm -rf dist/\n          python -m pip install build\n          python -m build\n\n      - name: authenticate to google cloud\n        id: \"auth\"\n        uses: google-github-actions/auth@v0\n        with:\n          workload_identity_provider: \"${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}\"\n          service_account: \"${{ secrets.RUN_SA_EMAIL }}\"\n\n      - name: \"setup gcloud sdk\"\n        uses: google-github-actions/setup-gcloud@v0\n\n      - name: Copy files to release directory\n        run: |-\n          gcloud storage rm -r gs://seqr-luigi/releases/dev/latest/ || echo 'No latest release'\n          gcloud storage cp v03_pipeline/bin/* gs://seqr-luigi/releases/dev/latest/\n          gcloud storage cp dist/*.whl gs://seqr-luigi/releases/dev/latest/pyscripts.zip\n", "state": "active", "repository": "broadinstitute/seqr-loading-pipelines"}
{"mined_at": "2024-07-15T17:19:24.256575", "created_at": "2023-11-28T18:10:30+01:00", "updated_at": "2023-11-28T18:10:30+01:00", "name": "prod release", "path": ".github/workflows/prod-release.yml", "contents": "name: prod release\non:\n  workflow_run:\n    workflows: [\"unit tests\"]\n    types:\n      - completed\n    branches:\n      - main\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    steps:\n      - name: checkout\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.workflow_run.head_branch }}\n\n      - name: set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10' \n\n      - name: build package\n        run: |\n          rm -rf dist/\n          python -m pip install build\n          python -m build\n\n      - name: set tag name\n        shell: bash\n        run: |\n          tag_name=`python3 -c \"import v03_pipeline;print(v03_pipeline.__version__)\"`\n          echo \"TAG_NAME=$tag_name\" >> $GITHUB_ENV\n\n      - name: authenticate to google cloud\n        id: \"auth\"\n        uses: google-github-actions/auth@v0\n        with:\n          workload_identity_provider: \"${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}\"\n          service_account: \"${{ secrets.RUN_SA_EMAIL }}\"\n\n      - name: \"setup gcloud sdk\"\n        uses: google-github-actions/setup-gcloud@v0\n\n      - name: Copy files to release directory\n        shell: bash\n        run: |-\n          gcloud storage rm -r gs://seqr-luigi/releases/prod/latest/ || echo 'No latest release'\n          gcloud storage cp v03_pipeline/bin/* gs://seqr-luigi/releases/prod/latest/\n          gcloud storage cp dist/*.whl gs://seqr-luigi/releases/prod/latest/pyscripts.zip\n          gcloud storage cp v03_pipeline/bin/* gs://seqr-luigi/releases/prod/$TAG_NAME/\n          gcloud storage cp dist/*.whl gs://seqr-luigi/releases/prod/$TAG_NAME/pyscripts.zip\n\n      - name: Create tag\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            github.rest.git.createRef({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              ref: 'refs/tags/${{ env.TAG_NAME }}',\n              sha: context.sha\n            })\n", "state": "active", "repository": "broadinstitute/seqr-loading-pipelines"}
{"mined_at": "2024-07-15T17:19:25.284012", "created_at": "2023-03-16T22:35:16+01:00", "updated_at": "2023-11-28T18:10:31+01:00", "name": "unit tests", "path": ".github/workflows/unit-tests.yml", "contents": "name: unit tests\n\n# Run the test suite on pushes (incl. merges) to main and dev\n# Run the test suite when a PR is opened, pushed to, or reopened\non:\n  push:\n    branches:\n      - dev\n      - main\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  unit_tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10']\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: 'requirements**.txt'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n      - name: Check Ruff Format\n        run: ruff format --check v03_pipeline --diff\n      - name: Check Ruff\n        run: ruff . --output-format github\n      - name: Unit Tests\n        run: |\n          export REFERENCE_DATA_AUTO_UPDATE=1\n          export ACCESS_PRIVATE_REFERENCE_DATASETS=1\n          export PYSPARK_SUBMIT_ARGS='--driver-memory 8G pyspark-shell'\n          nosetests --with-coverage --cover-package v03_pipeline/lib v03_pipeline/lib\n          coverage report --omit '*test*' --fail-under=75\n", "state": "active", "repository": "broadinstitute/seqr-loading-pipelines"}
{"mined_at": "2024-07-15T17:19:26.269782", "created_at": "2024-05-21T22:52:31+02:00", "updated_at": "2024-05-21T22:52:31+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "broadinstitute/seqr-loading-pipelines"}
{"mined_at": "2024-07-15T17:19:28.618694", "created_at": "2020-11-02T18:50:59+01:00", "updated_at": "2020-11-02T20:08:36+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [push]\njobs:\n  python-tests:\n    runs-on: ubuntu-latest\n\n    services:\n      # Label used to access the service container\n      db:\n        # Docker Hub image\n        image: postgres:12.19\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres # pragma: allowlist secret\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n\n      redis:\n        image: redis:5.0.14\n        ports:\n          - 6379:6379\n\n      elastic:\n        image: docker.elastic.co/elasticsearch/elasticsearch:7.17.21\n        env:\n          network.host: \"0.0.0.0\"\n          http.cors.enabled: \"true\"\n          http.cors.allow-origin: \"*\"\n          http.max_content_length: \"10mb\"\n          rest.action.multi.allow_explicit_index: \"false\"\n          ES_JAVA_OPTS: \"-Xms1024m -Xmx1024m\"\n          discovery.type: \"single-node\"\n        ports:\n          - 9200:9200\n\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3\n\n      - name: update apt\n        run: sudo apt-get update -y\n\n      - name: Apt install\n        run: cat Aptfile | sudo xargs apt-get install\n\n      - name: Install poetry\n        uses: snok/install-poetry@93ada01c735cc8a383ce0ce2ae205a21c415379b # v1\n        with:\n          version: 1.5.1\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n\n      - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4\n        with:\n          python-version: '3.11.4'\n          cache: 'poetry'\n\n      - name: Install dependencies\n        run: poetry install --no-interaction\n\n      - name: Code formatting\n        run: poetry run black --check .\n\n      - name: Lint\n        run: poetry run pylint ./**/*.py\n\n      - name: Create test local state\n        run: ./scripts/test/stub-data.sh\n      - name: Tests\n        run: |\n          export MEDIA_ROOT=\"$(mktemp -d)\"\n          ./scripts/test/python_tests.sh\n        env:\n          DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres # pragma: allowlist secret\n          OPEN_DISCUSSIONS_SECURE_SSL_REDIRECT: 'False'\n          OPEN_DISCUSSIONS_DB_DISABLE_SSL: 'True'\n          OPEN_DISCUSSIONS_FEATURES_DEFAULT: 'True'\n          OPEN_DISCUSSIONS_REDDIT_URL: https://reddit.local\n          OPEN_DISCUSSIONS_REDDIT_VALIDATE_SSL: 'False'\n          OPEN_DISCUSSIONS_REDDIT_CLIENT_ID: od_client_id\n          OPEN_DISCUSSIONS_REDDIT_SECRET: od_client_secret # pragma: allowlist secret\n          OPENSEARCH_URL: localhost:9200\n          CELERY_TASK_ALWAYS_EAGER: 'True'\n          CELERY_BROKER_URL: redis://localhost:6379/4\n          CELERY_RESULT_BACKEND: redis://localhost:6379/4\n          TIKA_CLIENT_ONLY: 'True'\n          AKISMET_IS_TESTING: 'True'\n          OPEN_DISCUSSIONS_BASE_URL: http://localhost:8063/\n          MAILGUN_KEY: fake_mailgun_key\n          MAILGUN_SENDER_DOMAIN: other.fake.site\n          OPENSEARCH_INDEX: testindex\n          INDEXING_API_USERNAME: mitodl\n          OPEN_DISCUSSIONS_COOKIE_DOMAIN: localhost\n          OPEN_DISCUSSIONS_COOKIE_NAME: cookie_monster\n\n      - name: Upload coverage to CodeCov\n        uses: codecov/codecov-action@29386c70ef20e286228c72b668a06fd0e8399192 # v1\n        with:\n          file: ./coverage.xml\n\n  javascript-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3\n      - uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3\n        with:\n          node-version: '16.15.1'\n          cache: 'yarn'\n\n      - name: Setup environment\n        run: sudo apt-get install libelf1\n\n      - name: Install dependencies\n        run: yarn install --immutable\n\n      - name: Webpack build\n        run: yarn run build\n\n      - name: Lints\n        run: yarn run lint-check\n\n      - name: Code formatting\n        run: yarn run fmt-check\n\n      - name: Scss lint\n        run: yarn run scss-lint\n\n      - name: Typecheck\n        run: yarn run typecheck\n\n      - name: Tests (old; mocha)\n        run:  yarn workspace open-discussions run test\n        env:\n          NODE_ENV: test\n\n      - name: Get number of CPU cores\n        id: cpu-cores\n        uses: SimenB/github-actions-cpu-cores@410541432439795d30db6501fb1d8178eb41e502 # v1\n\n      - name: Tests\n        run: yarn test --max-workers ${{ steps.cpu-cores.outputs.count }}\n        env:\n          CODECOV: true\n          NODE_ENV: test\n\n      - name: Upload coverage to CodeCov\n        uses: codecov/codecov-action@29386c70ef20e286228c72b668a06fd0e8399192 # v1\n        with:\n          file: coverage/lcov.info\n", "state": "active", "repository": "mitodl/open-discussions"}
{"mined_at": "2024-07-15T17:19:29.652842", "created_at": "2022-05-12T20:21:46+02:00", "updated_at": "2022-05-12T20:21:46+02:00", "name": "Production Deploy", "path": ".github/workflows/production.yml", "contents": "name: Production Deploy\n\non:\n  workflow_run:\n    workflows: [CI]\n    types: [completed]\n    branches: [release]\n  workflow_dispatch: # manual trigger\n\njobs:\n  # runs if CI workflow was successful OR if this was manually triggered\n  on-success:\n    runs-on: ubuntu-latest\n    if: >\n      github.event_name == 'workflow_dispatch' ||\n      github.event.workflow_run.conclusion == 'success'\n    steps:\n      - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2\n        with:\n          ref: release\n      - uses: akhileshns/heroku-deploy@581dd286c962b6972d427fcf8980f60755c15520\n        with:\n          heroku_api_key: ${{ secrets.HEROKU_API_KEY }}\n          heroku_app_name: \"odl-open-discussions\"\n          heroku_email: ${{ secrets.HEROKU_EMAIL }}\n          branch: release\n  # runs ONLY on a failure of the CI workflow\n  on-failure:\n    runs-on: ubuntu-latest\n    if: >\n      github.event_name == 'workflow_dispatch' ||\n      github.event.workflow_run.conclusion == 'failure'\n    steps:\n      - run: echo 'The triggering workflow failed'\n", "state": "active", "repository": "mitodl/open-discussions"}
{"mined_at": "2024-07-15T17:19:30.674756", "created_at": "2022-05-12T20:21:46+02:00", "updated_at": "2022-05-12T20:21:46+02:00", "name": "Release Candidate Deploy", "path": ".github/workflows/release-candiate.yml", "contents": "name: Release Candidate Deploy\n\non:\n  workflow_run:\n    workflows: [CI]\n    types: [completed]\n    branches: [release-candidate]\n  workflow_dispatch: # manual trigger\n\njobs:\n  # runs if CI workflow was successful OR if this was manually triggered\n  on-success:\n    runs-on: ubuntu-latest\n    if: >\n      github.event_name == 'workflow_dispatch' ||\n      github.event.workflow_run.conclusion == 'success'\n    steps:\n      - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2\n        with:\n          ref: release-candidate\n      - uses: akhileshns/heroku-deploy@581dd286c962b6972d427fcf8980f60755c15520\n        with:\n          heroku_api_key: ${{ secrets.HEROKU_API_KEY }}\n          heroku_app_name: \"odl-open-discussions-rc\"\n          heroku_email: ${{ secrets.HEROKU_EMAIL }}\n          branch: release-candidate\n  # runs ONLY on a failure of the CI workflow\n  on-failure:\n    runs-on: ubuntu-latest\n    if: >\n      github.event_name == 'workflow_dispatch' ||\n      github.event.workflow_run.conclusion == 'failure'\n    steps:\n      - run: echo 'The triggering workflow failed'", "state": "active", "repository": "mitodl/open-discussions"}
{"mined_at": "2024-07-15T17:19:31.738975", "created_at": "2024-04-05T15:49:39+02:00", "updated_at": "2024-04-05T15:49:39+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mitodl/open-discussions"}
{"mined_at": "2024-07-15T17:19:32.740237", "created_at": "2023-09-25T21:57:41+02:00", "updated_at": "2023-09-25T21:57:41+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mitodl/open-discussions"}
{"mined_at": "2024-07-15T17:19:34.890719", "created_at": "2024-06-06T02:47:31+02:00", "updated_at": "2024-06-06T02:47:31+02:00", "name": "~test template", "path": ".github/workflows/_test_template.yml", "contents": "name: ~test template\n\non:\n  workflow_call:\n    inputs:\n      RUNNER:\n        type: string\n        description: Runner to use for test\n        required: true\n      TIMEOUT:\n        type: number\n        description: Max runtime of test in minutes\n        required: false\n        default: 10\n      SCRIPT:\n        type: string\n        description: Test script to execute\n        required: true\n      AFTER_SCRIPT:\n        type: string\n        description: Script to run after main test\n        required: false\n        default: \":\"\n      IS_OPTIONAL:\n        type: boolean\n        description: Failure will cancel all other tests if set to true\n        required: false\n        default: false\n    outputs:\n      conclusion:\n        description: Conclusion of main test step\n        value: ${{ jobs.main.outputs.conclusion }}\n      log:\n        description: Last 2000 characters of the test step's log\n        value: ${{ jobs.main.outputs.log }} \njobs:\n  main:\n    runs-on: ${{ inputs.RUNNER }} \n    timeout-minutes: ${{ inputs.TIMEOUT }}\n    outputs:\n      conclusion: ${{ steps.main.conclusion }}\n      log: ${{ steps.main.outputs.log }}\n    container:\n      image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n      options: \n        --device=/dev/nvidia0\n        --gpus all\n        --shm-size=8g\n        --env TRANSFORMERS_OFFLINE=0 \n        --env HYDRA_FULL_ERROR=1\n        --volume /mnt/datadrive/TestData:/home/TestData\n    steps:\n        - name: Checkout repository\n          uses: actions/checkout@v4\n        - id: main\n          name: Run main script\n          run: |\n            set +e \n            (  \n              set -e\n\n              ${{ inputs.SCRIPT }}\n            ) 2> >(tee err.log)\n\n            EXIT_CODE=$?\n            \n            echo \"log=$(tail -c 2000 err.log |  base64 -w 0)\" >> \"$GITHUB_OUTPUT\"\n            \n            exit $EXIT_CODE\n            \n        - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n          if: failure() && inputs.IS_OPTIONAL == false\n        - name: after_script\n          if: always() && inputs.AFTER_SCRIPT != ':'\n          run: ${{ inputs.AFTER_SCRIPT }}", "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:36.094037", "created_at": "2022-01-27T23:51:35+01:00", "updated_at": "2022-01-27T23:51:35+01:00", "name": "Changelog Build (Release)", "path": ".github/workflows/changelog-build.yml", "contents": "name: 'Changelog Build (Release)'\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  changelog:\n    if: startsWith(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0 # Required due to the way Git works, without it this action won't be able to find any or the correct tags\n\n      - name: Get Previous tag\n        id: previous_tag\n        # git for-each-ref --sort=-creatordate --format '%(refname)' refs/tags ==> refs/tags/vX.Y.Z in descending order of date\n        # awk 'FNR == 2 {print substr($1, 11, length($1))}') ==> Selects the 2nd tag from the list, then strips the /refs/tags/ part of the tag\n        # set-output name=tag_name:: ==> Takes the clean tag vX.Y.Z and sets it to steps.previous_tag.outputs.tag_name\n        run: |\n          echo \"::set-output name=tag_name::$(git for-each-ref --sort=-creatordate --format '%(refname)' refs/tags | awk 'FNR == 2 {print substr($1, 11, length($1))}')\"\n          echo ${{ steps.previous_tag.outputs.tag_name }}\n\n      - name: Build Changelog\n        id: github_tag\n        uses: mikepenz/release-changelog-builder-action@v3.3.1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          # Configuration file is setup with filters for domains\n          # owner:repo must point to current repo\n          # fromTag: Auto resolved from historical tag order (previous tag compared to current tag)\n          # toTag: Current tag reference\n          configuration: \".github/workflows/config/changelog-config.json\"\n          owner: \"NVIDIA\"\n          repo: \"NeMo\"\n          ignorePreReleases: \"false\"\n          failOnError: \"false\"\n          fromTag: ${{ steps.previous_tag.outputs.tag_name }}\n          toTag: ${{ github.ref_name }}\n\n      - name: Print Changelog\n        run: |\n          echo \"${{steps.github_tag.outputs.changelog}}\"\n          echo \"--- DONE ---\"\n", "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:37.216106", "created_at": "2022-09-20T23:33:46+02:00", "updated_at": "2022-09-21T00:11:02+02:00", "name": "Create PR to main with cherry-pick from release", "path": ".github/workflows/cherry-pick-release-commit.yml", "contents": "name: Create PR to main with cherry-pick from release\n\non: \n  pull_request_target:\n    branches:\n      - 'r*.*.*'\n    types: [\"closed\"]\n\njobs:\n  cherry-pick-release-commit:\n    name: Cherry-pick release commit\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: github-cherry-pick-action v1.0.3\n        uses: carloscastrojumo/github-cherry-pick-action@bb0869df47c27be4ae4c7a2d93d22827aa5a0054\n        with:\n          branch: main\n          labels: |\n            cherry-pick\n          reviewers: |\n            ${{ github.event.pull_request.user.login }}\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:38.394707", "created_at": "2024-01-12T23:16:27+01:00", "updated_at": "2024-05-28T11:14:39+02:00", "name": "CICD NeMo", "path": ".github/workflows/cicd-main.yml", "contents": "# Copyright (c) 2020-2021, NVIDIA CORPORATION.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\nname: \"CICD NeMo\"\n\non:\n  pull_request:\n    branches:\n      - 'main'\n      - 'r**'\n    types: [ labeled ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  gpu-test:\n    runs-on: self-hosted-azure\n    if: ${{ github.event.label.name == 'Run CICD' }}\n    steps:\n    - name: Run nvidia-smi test\n      run: |\n        whoami\n        nvidia-smi\n\n  cicd-cluster-clean:\n    runs-on: self-hosted-azure-builder\n    if: ${{ github.event.label.name == 'Run CICD' }}\n    steps:\n    - name: Clean server from old files\n      run: |\n        docker container prune --filter \"until=24h\" --force\n        docker image prune -a --filter \"until=24h\" --force\n\n\n  cicd-test-container-setup:\n    needs: [cicd-cluster-clean]\n    runs-on: self-hosted-azure-builder\n    if: ${{ github.event.label.name == 'Run CICD' }}\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        path: ${{ github.run_id }}\n    \n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n      with: \n        # We use `docker` driver as this speeds things up for \n        # trivial (non-multi-stage) builds.\n        driver: docker\n\n    - name: Build and push\n      uses: docker/build-push-action@v5\n      with:\n        file: Dockerfile.ci\n        push: true\n        cache-from: nemoci.azurecr.io/nemo_container:latest\n        cache-to: type=inline\n        tags: |\n          nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n          nemoci.azurecr.io/nemo_container:latest\n\n    - name: Run some checks\n      run: |\n        docker run --rm --device=/dev/nvidia0 --gpus all --shm-size=8g --env TRANSFORMERS_OFFLINE=0 --env HYDRA_FULL_ERROR=1 --env PYTHONUNBUFFERED=1 nemoci.azurecr.io/nemo_container_${{ github.run_id }} bash -c '\\\n          # PyTorch Lightning version\n          python -c \"import pytorch_lightning; print(pytorch_lightning.__version__)\"\n\n          # PyTorch Lightning DDP Checks\n          CUDA_VISIBLE_DEVICES=\"0,1\" python \"tests/core_ptl/check_for_ranks.py\"\n\n          # Basic Import Checks\n          python -c \"import nemo.collections.asr as nemo_asr\"\n          python -c \"import nemo.collections.nlp as nemo_nlp\"\n          python -c \"import nemo.collections.tts as nemo_tts\"\n\n          python setup.py style\n          python tests/check_copyright_header.py --dir .\n\n          # These checks are not crucial\n          exit 0\n        '\n        ### \\'\\'\n\n\n  OPTIONAL_L0_Unit_Tests_GPU:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      TIMEOUT: 30\n      SCRIPT: |\n        NEMO_NUMBA_MINVER=0.53 pytest -m \"not pleasefixme\" --with_downloads\n      IS_OPTIONAL: true\n\n  L0_Unit_Tests_CPU:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-cpu\n      TIMEOUT: 60\n      SCRIPT: |\n        CUDA_VISIBLE_DEVICES=\"\" NEMO_NUMBA_MINVER=0.53 pytest -m \"not pleasefixme\" --cpu --with_downloads --relax_numba_compat\n\n  L0_Setup_Test_Data_And_Models:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python -m tests.setup --save_dir /home/TestData/nlp\n\n  ##     - name: L2: Multimodal Imagen Train\n\n  # L2: Community LLM Checkpoints tests\n  L2_Community_LLM_Checkpoints_tests_Llama:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        CUDA_VISIBLE_DEVICES=0 python scripts/checkpoint_converters/convert_llama_hf_to_nemo.py \\\n          --input_name_or_path=/home/TestData/nlp/megatron_llama/llama-ci-hf-tiny \\\n          --output_path=/home/TestData/nlp/megatron_llama/llama_ci.nemo \\\n          --precision=16\n      AFTER_SCRIPT: |\n        rm -rf /home/TestData/nlp/megatron_llama/model_weights\n\n  L2_Community_LLM_Checkpoints_tests_Llama3:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        CUDA_VISIBLE_DEVICES=0 python scripts/checkpoint_converters/convert_llama_hf_to_nemo.py \\\n          --input_name_or_path=/home/TestData/nlp/megatron_llama/llama3-ci-hf \\\n          --output_path=/home/TestData/nlp/megatron_llama/llama3-ci-hf/llama3_ci.nemo \\\n          --precision=16          \n      AFTER_SCRIPT: |\n        rm -f /home/TestData/nlp/megatron_llama/llama3-ci-hf/llama3_ci.nemo\n        rm -rf /home/TestData/nlp/megatron_llama/llama3-ci-hf/model_weights\n\n  L2_Community_LLM_Checkpoints_tests_StarCoder:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        mkdir -p /home/TestData/nlp/megatron_gpt/starcoder-ci-hf/${{ github.run_id }};\n        python scripts/checkpoint_converters/convert_starcoder_hf_to_nemo.py \\\n        --input_name_or_path /home/TestData/nlp/megatron_gpt/starcoder-ci-hf \\\n        --output_path /home/TestData/nlp/megatron_gpt/starcoder-ci-hf/${{ github.run_id }}\n      AFTER_SCRIPT: |\n        rm -rf /home/TestData/nlp/megatron_gpt/starcoder-ci-hf/megatron_starcoder_tp1_pp1.nemo; \n        rm -rf /home/TestData/nlp/megatron_gpt/starcoder-ci-hf/${{ github.run_id }}/\n        rm -rf /home/TestData/nlp/megatron_gpt/starcoder-ci-hf/model_weights\n\n  L2_Community_LLM_Checkpoints_tests_Falcon:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n          python scripts/checkpoint_converters/convert_falcon_hf_to_nemo.py \\\n          --input_name_or_path /home/TestData/nlp/megatron_gpt/falcon-ci-hf \\\n          --output_path /home/TestData/nlp/megatron_gpt/falcon-ci-hf/falcon_ci.nemo\n          rm -f /home/TestData/nlp/megatron_gpt/falcon-ci-hf/falcon_ci.nemo\n      AFTER_SCRIPT: |\n        rm -rf /home/TestData/nlp/megatron_gpt/falcon-ci-hf/model_weights\n        \n  # this test is using a 7B model which is too large for GitHub CI\n  # replace the model in this test with a toy model or move the test\n  # to the nightly CI\n  # OPTIONAL_L2_Community_LLM_Checkpoints_tests_Baichuan2:\n  #   needs: [cicd-test-container-setup]\n  #   runs-on: self-hosted-azure\n  #   container:\n  #     image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n  #     options: \n  #       # --user 0:128\n  #       --device=/dev/nvidia0\n  #       --gpus all\n  #       --shm-size=8g\n  #       --env TRANSFORMERS_OFFLINE=0 \n  #       --env HYDRA_FULL_ERROR=1\n  #       --volume /mnt/datadrive/TestData:/home/TestData\n  #   steps:\n  #       - name: Checkout repository\n  #         uses: actions/checkout@v4\n  #       - run: |\n  #           python scripts/checkpoint_converters/convert_baichuan2_hf_to_nemo.py \\\n  #           --input_name_or_path=/home/TestData/nlp/megatron_gpt/Baichuan2-7B-Base \\\n  #           --output_path=/home/TestData/nlp/megatron_gpt/Baichuan2-7B-Base/ci.nemo\n  #           rm -f /home/TestData/nlp/megatron_gpt/Baichuan2-7B-Base/ci.nemo\n  #       - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n  #         if: \"failure()\"\n\n  L2_PTQ_Llama2_Export_Only:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_gpt_quantization.py \\\n          model.restore_from_path=/home/TestData/nlp/megatron_llama/llama_ci.nemo \\\n          quantization.algorithm=null \\\n          export.save_path=/home/TestData/nlp/megatron_llama/ci_baseline\n      AFTER_SCRIPT: |\n        rm -rf /home/TestData/nlp/megatron_llama/ci_baseline\n\n  L2_PTQ_Llama2_FP8:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_gpt_quantization.py \\\n          model.restore_from_path=/home/TestData/nlp/megatron_llama/llama_ci.nemo \\\n          model.tensor_model_parallel_size=2 \\\n          trainer.devices=2 \\\n          quantization.calib_dataset=/home/TestData/nlp/test_quantization/test.json \\\n          quantization.algorithm=fp8 \\\n          quantization.num_calib_size=8 \\\n          inference.batch_size=2 \\\n          export.inference_tensor_parallel=2 \\\n          export.save_path=/home/TestData/nlp/megatron_llama/ci_fp8.qnemo\n      AFTER_SCRIPT: |\n        rm -rf /home/TestData/nlp/megatron_llama/ci_fp8.qnemo\n\n  L2_PTQ_Llama2_INT8_SQ:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_gpt_quantization.py \\\n        model.restore_from_path=/home/TestData/nlp/megatron_llama/llama_ci.nemo \\\n        quantization.calib_dataset=/home/TestData/nlp/test_quantization/test.json \\\n        quantization.algorithm=int8_sq \\\n        quantization.num_calib_size=8 \\\n        inference.batch_size=2 \\\n        export.save_path=/home/TestData/nlp/megatron_llama/ci_int8_sq.qnemo\n      AFTER_SCRIPT: |\n        rm -rf /home/TestData/nlp/megatron_llama/ci_int8_sq.qnemo\n\n  # TODO: investigate int4_awq stuck issues and restore the test\n  #L2_PTQ_Llama2_INT4_AWQ:\n  #  needs: [cicd-test-container-setup]\n  #  runs-on: self-hosted-azure\n  #  timeout-minutes: 10\n  #  container:\n  #    image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n  #    options:\n  #      # --user 0:128\n  #      --device=/dev/nvidia0\n  #      --gpus all\n  #      --shm-size=8g\n  #      --env TRANSFORMERS_OFFLINE=0\n  #      --env HYDRA_FULL_ERROR=1\n  #      --volume /mnt/datadrive/TestData:/home/TestData\n  #  steps:\n  #      - name: Checkout repository\n  #        uses: actions/checkout@v4\n  #      - run: |\n  #          python examples/nlp/language_modeling/megatron_gpt_quantization.py \\\n  #          model.restore_from_path=/home/TestData/nlp/megatron_llama/llama_ci.nemo \\\n  #          model.tensor_model_parallel_size=1 \\\n  #          trainer.devices=1 \\\n  #          quantization.calib_dataset=/home/TestData/nlp/test_quantization/test.json \\\n  #          quantization.algorithm=int4_awq \\\n  #          quantization.num_calib_size=8 \\\n  #          inference.batch_size=2 \\\n  #          export.save_path=/home/TestData/nlp/megatron_llama/ci_int4_awq.qnemo\n  #\n  #          rm -rf /home/TestData/nlp/megatron_llama/ci_int4_awq.qnemo\n        #- uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n        #  if: \"failure()\"\n\n  # L2: ASR dev run\n  ASR_dev_run_Speech_to_Text:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/asr/asr_ctc/speech_to_text_ctc.py \\\n          model.train_ds.manifest_filepath=/home/TestData/an4_dataset/an4_train.json \\\n          model.validation_ds.manifest_filepath=/home/TestData/an4_dataset/an4_val.json \\\n          trainer.devices=1 \\\n          trainer.accelerator=\"gpu\" \\\n          +trainer.fast_dev_run=True \\\n          exp_manager.exp_dir=examples/asr/speech_to_text_results\n      AFTER_SCRIPT: |\n          rm -rf examples/asr/speech_to_text_results\n\n  ASR_dev_run_Speech_to_Text_WPE_-_CitriNet:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/asr/asr_ctc/speech_to_text_ctc_bpe.py \\\n          --config-path=\"../conf/citrinet/\" --config-name=\"config_bpe\" \\\n          model.train_ds.manifest_filepath=/home/TestData/an4_dataset/an4_train.json \\\n          model.validation_ds.manifest_filepath=/home/TestData/an4_dataset/an4_val.json \\\n          model.tokenizer.dir=\"/home/TestData/asr_tokenizers/an4_wpe_128/\" \\\n          model.tokenizer.type=\"wpe\" \\\n          trainer.devices=1 \\\n          trainer.accelerator=\"gpu\" \\\n          +trainer.fast_dev_run=True \\\n          exp_manager.exp_dir=examples/asr/speech_to_text_wpe_results\n      AFTER_SCRIPT: |\n          rm -rf examples/asr/speech_to_text_wpe_results\n\n  ASR_dev_run_Speech_Pre-training_-_CitriNet:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/asr/speech_pretraining/speech_pre_training.py \\\n        --config-path=\"../conf/ssl/citrinet/\" --config-name=\"citrinet_ssl_ci\" \\\n        model.train_ds.manifest_filepath=/home/TestData/an4_dataset/an4_train.json \\\n        model.validation_ds.manifest_filepath=/home/TestData/an4_dataset/an4_val.json \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=True \\\n        exp_manager.exp_dir=examples/asr/speech_pre_training_results\n      AFTER_SCRIPT: |\n        rm -rf examples/asr/speech_pre_training_results\n\n  ASR_dev_run_Speech_To_Text_Finetuning:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/asr/speech_to_text_finetune.py \\\n        --config-path=\"conf/asr_finetune\" --config-name=\"speech_to_text_finetune\" \\\n        model.train_ds.manifest_filepath=/home/TestData/an4_dataset/an4_train.json \\\n        model.validation_ds.manifest_filepath=/home/TestData/an4_dataset/an4_val.json \\\n        init_from_nemo_model=/home/TestData/asr/stt_en_fastconformer_transducer_large.nemo \\\n        model.tokenizer.update_tokenizer=False \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=True \\\n        exp_manager.exp_dir=examples/asr/speech_finetuning_results\n      AFTER_SCRIPT: |\n        rm -rf examples/asr/speech_finetuning_results\n\n  OPTIONAL_ASR_dev_run_Speech_To_Text_HF_Finetuning:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |-\n        python examples/asr/speech_to_text_finetune.py \\\n        --config-path=\"conf/asr_finetune\" --config-name=\"speech_to_text_hf_finetune\" \\\n        ~model.train_ds.hf_data_cfg \\\n        model.train_ds.num_workers=1 \\\n        model.train_ds.batch_size=2 model.validation_ds.batch_size=2 \\\n        model.train_ds.streaming=true \\\n        +model.train_ds.hf_data_cfg.path=\"librispeech_asr\" \\\n        +model.train_ds.hf_data_cfg.name=null \\\n        +model.train_ds.hf_data_cfg.split=\"test.clean\" \\\n        +model.train_ds.hf_data_cfg.streaming=true \\\n        ~model.validation_ds.hf_data_cfg \\\n        model.validation_ds.streaming=true \\\n        +model.validation_ds.hf_data_cfg.path=\"librispeech_asr\" \\\n        +model.validation_ds.hf_data_cfg.name=null \\\n        +model.validation_ds.hf_data_cfg.split=\"test.clean\" \\\n        +model.validation_ds.hf_data_cfg.streaming=true \\\n        ~model.test_ds \\\n        init_from_nemo_model=/home/TestData/asr/stt_en_fastconformer_transducer_large.nemo \\\n        model.tokenizer.update_tokenizer=False \\\n        model.optim.sched.warmup_steps=0 \\\n        +model.optim.sched.max_steps=3 \\\n        trainer.max_epochs=null \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=True \\\n        exp_manager.exp_dir=examples/asr/speech_finetuning_results\n      AFTER_SCRIPT: |\n        rm -rf examples/asr/speech_finetuning_results\n      IS_OPTIONAL: true\n\n  ASR_dev_run_Speech_to_Text_WPE_-_Conformer:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/asr/asr_ctc/speech_to_text_ctc_bpe.py \\\n        --config-path=\"../conf/conformer\" --config-name=\"conformer_ctc_bpe\" \\\n        model.train_ds.manifest_filepath=/home/TestData/an4_dataset/an4_train.json \\\n        model.validation_ds.manifest_filepath=/home/TestData/an4_dataset/an4_val.json \\\n        model.tokenizer.dir=\"/home/TestData/asr_tokenizers/an4_wpe_128/\" \\\n        model.tokenizer.type=\"wpe\" \\\n        model.train_ds.batch_size=4 \\\n        model.validation_ds.batch_size=4 \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=True \\\n        exp_manager.exp_dir=examples/asr/speech_to_text_wpe_conformer_results\n      AFTER_SCRIPT: |\n        rm -rf examples/asr/speech_to_text_wpe_conformer_results\n\n  # L2: ASR dev run - part two\n  ASR_dev_run-part_two_Speech_to_Text_WPE_-_Squeezeformer:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/asr/asr_ctc/speech_to_text_ctc_bpe.py \\\n        --config-path=\"../conf/squeezeformer\" --config-name=\"squeezeformer_ctc_bpe\" \\\n        model.train_ds.manifest_filepath=/home/TestData/an4_dataset/an4_train.json \\\n        model.validation_ds.manifest_filepath=/home/TestData/an4_dataset/an4_val.json \\\n        model.tokenizer.dir=\"/home/TestData/asr_tokenizers/an4_wpe_128/\" \\\n        model.tokenizer.type=\"wpe\" \\\n        model.encoder.d_model=144 \\\n        model.train_ds.batch_size=4 \\\n        model.validation_ds.batch_size=4 \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=True \\\n        exp_manager.exp_dir=examples/asr/speech_to_text_wpe_squeezeformer_results\n      AFTER_SCRIPT: |\n        rm -rf examples/asr/speech_to_text_wpe_squeezeformer_results\n\n  L2_Speech_to_Text_EMA:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/asr/asr_ctc/speech_to_text_ctc.py \\\n        model.train_ds.manifest_filepath=/home/TestData/an4_dataset/an4_train.json \\\n        model.validation_ds.manifest_filepath=/home/TestData/an4_dataset/an4_val.json \\\n        trainer.devices=2 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=True \\\n        +exp_manager.ema.enable=True \\\n        exp_manager.exp_dir=examples/asr/speech_to_text_results\n      AFTER_SCRIPT: |\n        rm -rf examples/asr/speech_to_text_results\n\n\n  # L2_Speech_to_Text_AED:\n  #   needs: [cicd-test-container-setup]\n  #   runs-on: self-hosted-azure-gpus-1\n  #   container:\n  #     image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n  #     options: \n  #       # --user 0:128\n  #       --device=/dev/nvidia0\n  #       --gpus all\n  #       --shm-size=8g \n  #       --env TRANSFORMERS_OFFLINE=0 \n  #       --env HYDRA_FULL_ERROR=1\n  #       --volume /mnt/datadrive/TestData:/home/TestData\n  #   steps:\n  #       - name: Checkout repository\n  #         uses: actions/checkout@v4\n  #       - run: |\n  #           python examples/asr/speech_multitask/speech_to_text_aed.py \\\n  #           model.prompt_format=canary \\\n  #           model.model_defaults.asr_enc_hidden=256 \\\n  #           model.model_defaults.lm_dec_hidden=256 \\\n  #           model.encoder.n_layers=12 \\\n  #           model.transf_encoder.num_layers=0 \\\n  #           model.transf_decoder.config_dict.num_layers=12 \\\n  #           model.train_ds.manifest_filepath=/home/TestData/asr/manifests/canary/an4_canary_train.json \\\n  #           ++model.train_ds.is_tarred=false \\\n  #           model.train_ds.batch_duration=60 \\\n  #           +model.train_ds.text_field=\"answer\" \\\n  #           +model.train_ds.lang_field=\"target_lang\" \\\n  #           model.validation_ds.manifest_filepath=/home/TestData/asr/manifests/canary/an4_canary_val.json \\\n  #           +model.validation_ds.text_field=\"answer\" \\\n  #           +model.validation_ds.lang_field=\"target_lang\" \\\n  #           model.test_ds.manifest_filepath=/home/TestData/asr/manifests/canary/an4_canary_val.json \\\n  #           +model.test_ds.text_field=\"answer\" \\\n  #           +model.test_ds.lang_field=\"target_lang\" \\\n  #           model.tokenizer.langs.spl_tokens.dir=/home/TestData/asr_tokenizers/canary/canary_spl_tokenizer_v32 \\\n  #           model.tokenizer.langs.spl_tokens.type=\"bpe\" \\\n  #           model.tokenizer.langs.en.dir=/home/TestData/asr_tokenizers/canary/en/tokenizer_spe_bpe_v1024_max_4 \\\n  #           model.tokenizer.langs.en.type=bpe \\\n  #           ++model.tokenizer.langs.es.dir=/home/TestData/asr_tokenizers/canary/es/tokenizer_spe_bpe_v1024_max_4 \\\n  #           ++model.tokenizer.langs.es.type=bpe \\\n  #           trainer.devices=1 \\\n  #           trainer.accelerator=\"gpu\" \\\n  #           +trainer.use_distributed_sampler=false \\\n  #           +trainer.fast_dev_run=True \\\n  #           exp_manager.exp_dir=examples/asr/speech_to_text_aed_results\n  #           rm -rf examples/asr/speech_to_text_results\n\n\n  # L2: Speaker dev run\n  L2_Speaker_dev_run_Speaker_Recognition:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/speaker_tasks/recognition/speaker_reco.py \\\n        model.train_ds.batch_size=10 \\\n        model.validation_ds.batch_size=2 \\\n        model.train_ds.manifest_filepath=/home/TestData/an4_speaker/train.json \\\n        model.validation_ds.manifest_filepath=/home/TestData/an4_speaker/dev.json \\\n        model.decoder.num_classes=2 \\\n        trainer.max_epochs=10 \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=True \\\n        exp_manager.exp_dir=examples/speaker_tasks/recognition/speaker_recognition_results\n      AFTER_SCRIPT: |\n        rm -rf examples/speaker_tasks/recognition/speaker_recognition_results\n\n  L2_Speaker_dev_run_Speaker_Diarization:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/speaker_tasks/diarization/neural_diarizer/multiscale_diar_decoder.py \\\n        model.diarizer.speaker_embeddings.model_path=titanet_large \\\n        model.train_ds.batch_size=5 \\\n        model.validation_ds.batch_size=5 \\\n        model.train_ds.emb_dir=examples/speaker_tasks/diarization/speaker_diarization_results \\\n        model.validation_ds.emb_dir=examples/speaker_tasks/diarization/speaker_diarization_results \\\n        model.train_ds.manifest_filepath=/home/TestData/an4_diarizer/simulated_train/msdd_data.50step.json \\\n        model.validation_ds.manifest_filepath=/home/TestData/an4_diarizer/simulated_valid/msdd_data.50step.json \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=True \\\n        exp_manager.exp_dir=examples/speaker_tasks/diarization/speaker_diarization_results\n      AFTER_SCRIPT: |\n        rm -rf examples/speaker_tasks/diarization/speaker_diarization_results\n\n  L2_Speaker_dev_run_Speech_to_Label:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/asr/speech_classification/speech_to_label.py \\\n        model.train_ds.manifest_filepath=/home/TestData/speech_commands/train_manifest.json \\\n        model.validation_ds.manifest_filepath=/home/TestData/speech_commands/test_manifest.json \\\n        model.test_ds.manifest_filepath=/home/TestData/speech_commands/test_manifest.json \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=True \\\n        model.preprocessor._target_=nemo.collections.asr.modules.AudioToMelSpectrogramPreprocessor \\\n        ~model.preprocessor.window_size \\\n        ~model.preprocessor.window_stride \\\n        ~model.preprocessor.window \\\n        ~model.preprocessor.n_mels \\\n        ~model.preprocessor.n_mfcc \\\n        ~model.preprocessor.n_fft \\\n        exp_manager.exp_dir=examples/asr/speech_to_label_results\n      AFTER_SCRIPT: |\n        rm -rf examples/asr/speech_to_label_results\n\n  L2_Speaker_dev_run_Speaker_Diarization_with_ASR_Inference:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/speaker_tasks/diarization/clustering_diarizer/offline_diar_with_asr_infer.py \\\n        diarizer.manifest_filepath=/home/TestData/an4_diarizer/an4_manifest.json \\\n        diarizer.speaker_embeddings.model_path=/home/TestData/an4_diarizer/spkr.nemo \\\n        diarizer.speaker_embeddings.parameters.save_embeddings=True \\\n        diarizer.speaker_embeddings.parameters.window_length_in_sec=[1.5] \\\n        diarizer.speaker_embeddings.parameters.shift_length_in_sec=[0.75] \\\n        diarizer.speaker_embeddings.parameters.multiscale_weights=[1.0] \\\n        diarizer.asr.model_path=QuartzNet15x5Base-En \\\n        diarizer.asr.parameters.asr_based_vad=True \\\n        diarizer.out_dir=examples/speaker_tasks/diarization/speaker_diarization_asr_results\n      AFTER_SCRIPT: |\n        rm -rf examples/speaker_tasks/diarization/speaker_diarization_asr_results\n\n  L2_Speaker_dev_run_Clustering_Diarizer_Inference:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/speaker_tasks/diarization/clustering_diarizer/offline_diar_infer.py \\\n        diarizer.manifest_filepath=/home/TestData/an4_diarizer/an4_manifest.json \\\n        diarizer.speaker_embeddings.model_path=/home/TestData/an4_diarizer/spkr.nemo \\\n        diarizer.speaker_embeddings.parameters.save_embeddings=True \\\n        diarizer.speaker_embeddings.parameters.window_length_in_sec=1.5 \\\n        diarizer.speaker_embeddings.parameters.shift_length_in_sec=0.75 \\\n        diarizer.speaker_embeddings.parameters.multiscale_weights=null \\\n        diarizer.vad.model_path=/home/TestData/an4_diarizer/MatchboxNet_VAD_3x2.nemo \\\n        diarizer.out_dir=examples/speaker_tasks/diarization/clustering_diarizer_results\n      AFTER_SCRIPT: |\n        rm -rf examples/speaker_tasks/diarization/clustering_diarizer_results\n\n  L2_Speaker_dev_run_Neural_Diarizer_Inference:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/speaker_tasks/diarization/neural_diarizer/multiscale_diar_decoder_infer.py \\\n        diarizer.manifest_filepath=/home/TestData/an4_diarizer/an4_manifest.json \\\n        diarizer.msdd_model.model_path=/home/TestData/an4_diarizer/diar_msdd_telephonic.nemo \\\n        diarizer.speaker_embeddings.parameters.save_embeddings=True \\\n        diarizer.vad.model_path=/home/TestData/an4_diarizer/MatchboxNet_VAD_3x2.nemo \\\n        diarizer.out_dir=examples/speaker_tasks/diarization/neural_diarizer_results\n      AFTER_SCRIPT: |\n        rm -rf examples/speaker_tasks/diarization/neural_diarizer_results\n\n  L2_Speaker_dev_run_Multispeaker_ASR_Data_Simulation:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python tools/speech_data_simulator/multispeaker_simulator.py \\\n        --config-path=conf --config-name=data_simulator.yaml \\\n        data_simulator.random_seed=42 \\\n        data_simulator.manifest_filepath=/home/TestData/LibriSpeechShort/dev-clean-align-short.json \\\n        data_simulator.outputs.output_dir=./test_simulator \\\n        data_simulator.session_config.num_sessions=2 \\\n        data_simulator.session_config.session_length=60\n      AFTER_SCRIPT: |\n        rm -rf ./test_simulator\n\n  # L2: ASR Multi-dataloader dev run\n  L2_ASR_Multi-dataloader_dev_run_Speech_to_Text_multi-dataloader:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/asr/asr_ctc/speech_to_text_ctc.py \\\n        model.train_ds.manifest_filepath=/home/TestData/an4_dataset/an4_train.json \\\n        model.validation_ds.manifest_filepath=[/home/TestData/an4_dataset/an4_val.json,/home/TestData/an4_dataset/an4_val.json] \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        trainer.max_epochs=1 \\\n        trainer.max_steps=1 \\\n        +trainer.num_sanity_val_steps=1 \\\n        exp_manager.exp_dir=examples/asr/speech_to_text_results\n      AFTER_SCRIPT: |\n        rm -rf examples/asr/speech_to_text_results\n\n  L2_ASR_Multi-dataloader_dev_run_Speech_to_Label_multi-dataloader:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/asr/speech_classification/speech_to_label.py \\\n        model.train_ds.manifest_filepath=/home/TestData/speech_commands/train_manifest.json \\\n        model.validation_ds.manifest_filepath=[/home/TestData/speech_commands/test_manifest.json,/home/TestData/speech_commands/test_manifest.json] \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        trainer.max_epochs=1 \\\n        trainer.max_steps=1 \\\n        +trainer.num_sanity_val_steps=1 \\\n        model.preprocessor._target_=nemo.collections.asr.modules.AudioToMelSpectrogramPreprocessor \\\n        ~model.preprocessor.window_size \\\n        ~model.preprocessor.window_stride \\\n        ~model.preprocessor.window \\\n        ~model.preprocessor.n_mels \\\n        ~model.preprocessor.n_mfcc \\\n        ~model.preprocessor.n_fft \\\n        exp_manager.exp_dir=examples/asr/speech_to_label_results\n      AFTER_SCRIPT: |\n        rm -rf examples/asr/speech_to_label_results\n\n  # L2: ASR Adapters\n  L2_ASR_Adapters_Linear_Adapters:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/asr/asr_adapters/train_asr_adapter.py \\\n        model.pretrained_model=\"stt_en_conformer_ctc_small\" \\\n        model.adapter.adapter_name=\"an4\" \\\n        model.adapter.linear.in_features=176 \\\n        model.train_ds.manifest_filepath=/home/TestData/an4_dataset/an4_train.json \\\n        model.validation_ds.manifest_filepath=/home/TestData/an4_dataset/an4_val.json \\\n        trainer.max_steps=5 \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=True \\\n        exp_manager.exp_dir=examples/asr/speech_to_text_adapters_results\n      AFTER_SCRIPT: |\n        rm -rf examples/asr/speech_to_text_adapters_results\n\n  L2_ASR_Adapters_RelPos_MHA_Adapters:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/asr/asr_adapters/train_asr_adapter.py \\\n        model.pretrained_model=\"stt_en_conformer_ctc_small\" \\\n        model.adapter.adapter_name=\"encoder:an4\" \\\n        model.adapter.adapter_type=\"tiny_attn\" \\\n        model.adapter.tiny_attn.n_feat=176 \\\n        model.train_ds.manifest_filepath=/home/TestData/an4_dataset/an4_train.json \\\n        model.validation_ds.manifest_filepath=/home/TestData/an4_dataset/an4_val.json \\\n        trainer.max_steps=5 \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=True \\\n        exp_manager.exp_dir=examples/asr/speech_to_text_adapters_mha_results\n      AFTER_SCRIPT: |\n        rm -rf examples/asr/speech_to_text_adapters_mha_results\n\n  # L2: Speech Transcription\n  L2_Speech_Transcription_Speech_to_Text_Transcribe:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/asr/transcribe_speech.py \\\n        pretrained_name=\"QuartzNet15x5Base-En\" \\\n        audio_dir=\"/home/TestData/an4_transcribe/test_subset/\" \\\n        output_filename=\"stt_test_res.json\" \\\n        amp=true\n      AFTER_SCRIPT: |\n        rm -rf stt_test_res.json\n\n  # L2: Transducer alignment\n  L2_Transducer_alignment_Running_pytest:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        pytest tests/collections/asr/decoding/rnnt_alignments_check.py --durations=-1\n\n  # L2: Segmentation Tool\n  L2_Segmentation_Tool_Parallel_ctc_segmentation_test_L2_Eng_CitriNet_with_wav:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        cd tools/ctc_segmentation && \\\n        TIME=`date +\"%Y-%m-%d-%T\"` && \\\n        /bin/bash run_segmentation.sh \\\n        --MODEL_NAME_OR_PATH=\"stt_en_citrinet_512_gamma_0_25\" \\\n        --DATA_DIR=/home/TestData/ctc_segmentation/eng \\\n        --OUTPUT_DIR=/home/TestData/ctc_segmentation/eng/output${TIME} \\\n        --LANGUAGE=en \\\n        --USE_NEMO_NORMALIZATION=\"TRUE\" && \\\n        python /home/TestData/ctc_segmentation/verify_alignment.py \\\n        -r /home/TestData/ctc_segmentation/eng/eng_valid_segments_1.7.txt \\\n        -g /home/TestData/ctc_segmentation/eng/output${TIME}/verified_segments/nv_test_segments.txt;\n      AFTER_SCRIPT: |\n        rm -rf /home/TestData/ctc_segmentation/eng/output${TIME}\n\n  L2_Segmentation_Tool_Parallel_ctc_segmentation_test_L2_Ru_QN_with_mp3:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        cd tools/ctc_segmentation && \\\n        TIME=`date +\"%Y-%m-%d-%T\"` && \\\n        /bin/bash run_segmentation.sh \\\n        --MODEL_NAME_OR_PATH=/home/TestData/ctc_segmentation/QuartzNet15x5-Ru-e512-wer14.45.nemo \\\n        --DATA_DIR=/home/TestData/ctc_segmentation/ru \\\n        --OUTPUT_DIR=/home/TestData/ctc_segmentation/ru/output${TIME} \\\n        --LANGUAGE=ru \\\n        --ADDITIONAL_SPLIT_SYMBOLS=\";\" && \\\n        python /home/TestData/ctc_segmentation/verify_alignment.py \\\n        -r /home/TestData/ctc_segmentation/ru/valid_ru_segments_1.7.txt \\\n        -g /home/TestData/ctc_segmentation/ru/output${TIME}/verified_segments/ru_segments.txt;\n\n        rm -rf /home/TestData/ctc_segmentation/eng/output${TIME}\n\n  # L2: G2P Models\n  L2_G2P_Models_G2P_Conformer_training_evaluation_and_inference:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        cd examples/tts/g2p && \\\n            TIME=`date +\"%Y-%m-%d-%T\"` && OUTPUT_DIR_CONFORMER=output_ctc_${TIME} && \\\n            python g2p_train_and_evaluate.py \\\n                train_manifest=/home/TestData/g2p/g2p.json \\\n                validation_manifest=/home/TestData/g2p/g2p.json \\\n                model.test_ds.manifest_filepath=/home/TestData/g2p/g2p.json \\\n                model.tokenizer.dir=/home/TestData/g2p/tokenizer_spe_unigram_v512 \\\n                trainer.max_epochs=1 \\\n                model.max_source_len=64 \\\n                trainer.devices=1 \\\n                do_training=True \\\n                do_testing=True \\\n                exp_manager.exp_dir=${OUTPUT_DIR_CONFORMER} \\\n                +exp_manager.use_datetime_version=False\\\n                +exp_manager.version=test \\\n                --config-name=g2p_conformer_ctc && \\\n            python g2p_inference.py \\\n                pretrained_model=${OUTPUT_DIR_CONFORMER}/G2P-Conformer-CTC/test/checkpoints/G2P-Conformer-CTC.nemo \\\n                manifest_filepath=/home/TestData/g2p/g2p.json \\\n                phoneme_field=text\n\n    # TODO: pleasefixme @redoctopus\n    # - name: ByT5G2P training, evaluation and inference\n    #   run: |\n    #     cd examples/tts/g2p && \\\n    #         TIME=`date +\"%Y-%m-%d-%T\"` && OUTPUT_DIR_T5=output_byt5_${TIME} && \\\n    #         python g2p_train_and_evaluate.py \\\n    #             train_manifest=/home/TestData/g2p/g2p.json \\\n    #             validation_manifest=/home/TestData/g2p/g2p.json \\\n    #             model.test_ds.manifest_filepath=/home/TestData/g2p/g2p.json \\\n    #             trainer.max_epochs=1 \\\n    #             model.max_source_len=64 \\\n    #             trainer.devices=1 \\\n    #             do_training=True \\\n    #             do_testing=True \\\n    #             exp_manager.exp_dir=${OUTPUT_DIR_T5} \\\n    #             +exp_manager.use_datetime_version=False\\\n    #             +exp_manager.version=test && \\\n    #         python g2p_inference.py \\\n    #             pretrained_model=${OUTPUT_DIR_T5}/T5G2P/test/checkpoints/T5G2P.nemo \\\n    #             manifest_filepath=/home/TestData/g2p/g2p.json \\\n    #             phoneme_field=text\n    #   }\n    # }\n    # - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n    # if: \"failure()\"\n\n  L2_G2P_Models_HeteronymClassificationModel_training_evaluation_and_inference:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        cd examples/tts/g2p && \\\n            TIME=`date +\"%Y-%m-%d-%T\"` && OUTPUT_DIR=output_${TIME} && \\\n            python g2p_heteronym_classification_train_and_evaluate.py \\\n                train_manifest=/home/TestData/g2p/manifest.json \\\n                validation_manifest=/home/TestData/g2p/manifest.json \\\n                test_manifest=/home/TestData/g2p/manifest.json \\\n                model.wordids=/home/TestData/g2p/wordids.tsv \\\n                trainer.max_epochs=1 \\\n                model.max_seq_length=64 \\\n                do_training=True \\\n                do_testing=True \\\n                exp_manager.exp_dir=${OUTPUT_DIR} \\\n                +exp_manager.use_datetime_version=False\\\n                +exp_manager.version=test && \\\n            python g2p_heteronym_classification_inference.py \\\n                manifest=/home/TestData/g2p/manifest.json \\\n                pretrained_model=${OUTPUT_DIR}/HeteronymClassification/test/checkpoints/HeteronymClassification.nemo \\\n                output_manifest=preds.json\n\n  # L2: Duplex Text Normalization\n  L2_Duplex_Text_Normalization_with_Tarred_dataset:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        cd examples/nlp/duplex_text_normalization && \\\n        python duplex_text_normalization_train.py \\\n        data.validation_ds.data_path=/home/TestData/nlp/duplex_text_norm/small_test.tsv \\\n        mode=tn \\\n        lang=en \\\n        tagger_model.do_training=false \\\n        decoder_model.transformer=t5-small \\\n        data.validation_ds.batch_size=2 \\\n        data.train_ds.use_cache=false \\\n        data.validation_ds.use_cache=false \\\n        data.test_ds.batch_size=2 \\\n        data.train_ds.decoder_data_augmentation=false \\\n        data.train_ds.num_workers=2 \\\n        decoder_trainer.devices=[0,1] \\\n        decoder_trainer.accelerator=\"gpu\" \\\n        data.train_ds.use_tarred_dataset=true \\\n        +decoder_trainer.fast_dev_run=true \\\n        decoder_exp_manager.create_checkpoint_callback=false \\\n        data.train_ds.tar_metadata_file=/home/TestData/nlp/duplex_text_norm/tarred_small/metadata.json \\\n        data.test_ds.use_cache=false \\\n        data.test_ds.data_path=/home/TestData/nlp/duplex_text_norm/small_test.tsv\n\n\n  # L2: Intent and Slot Classification Tasks\n  L2_Intent_and_Slot_Classification_Tasks_Intent_and_Slot_Classification:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        cd examples/nlp/intent_slot_classification && \\\n        python intent_slot_classification.py \\\n        model.data_dir=/home/TestData/nlp/retail \\\n        model.validation_ds.prefix=dev \\\n        model.test_ds.prefix=dev \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=true \\\n        exp_manager.exp_dir=checkpoints\n      AFTER_SCRIPT: |\n        rm -rf checkpoints\n\n  L2_Intent_and_Slot_Classification_Tasks_Multi-Label_Intent_and_Slot_Classification:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        cd examples/nlp/intent_slot_classification && \\\n        python multi_label_intent_slot_classification.py \\\n        model.data_dir=/home/TestData/nlp/new_multiatis \\\n        model.validation_ds.prefix=dev \\\n        model.test_ds.prefix=dev \\\n        trainer.devices=1 \\\n        +trainer.fast_dev_run=true \\\n        exp_manager.exp_dir=checkpoints2\n      AFTER_SCRIPT: |\n        rm -rf checkpoints2\n\n    # TODO: add when megatron-bert is supported again\n    # stage('L2: Model Parallel Size 2 Megatron Text Classification') {\n    #   when {\n    #     anyOf{\n    #       branch 'main'\n    #       changeRequest target: 'main'\n    #     }\n    #   }\n    #   failFast true\n    #   steps{\n    #     cd examples/nlp/text_classification && \\\n    #     python text_classification_with_bert.py \\\n    #     trainer.devices=[0,1] \\\n    #     trainer.accelerator=\"gpu\" \\\n    #     trainer.num_nodes=1 \\\n    #     trainer.precision=16 \\\n    #     trainer.gradient_clip_val=1.0 \\\n    #     +trainer.fast_dev_run=true \\\n    #     model.dataset.num_classes=6 \\\n    #     model.train_ds.file_path=/home/TestData/nlp/retail_text_classification/train.tsv \\\n    #     model.train_ds.batch_size=4 \\\n    #     model.language_model.pretrained_model_name=megatron-bert-uncased \\\n    #     model.language_model.config_file=/home/TestData/nlp/mp_2_bert_toy/config.json \\\n    #     model.language_model.lm_checkpoint=/home/TestData/nlp/mp_2_bert_toy/iter_2000000 \\\n    #     model.nemo_path=null \\\n    #     ~model.infer_samples \\\n    #     exp_manager=null\n    #   }\n    # }\n\n    # stage('L2: Model Parallel Size 2 Megatron Autoresume') {\n    #   when {\n    #     anyOf{\n    #       branch 'main'\n    #       changeRequest target: 'main'\n    #     }\n    #   }\n    #   failFast true\n    #   steps{\n    #     cd examples/nlp/text_classification && \\\n    #     python text_classification_with_bert.py \\\n    #     trainer.devices=[0,1] \\\n    #     trainer.accelerator=\"gpu\" \\\n    #     trainer.num_nodes=1 \\\n    #     trainer.precision=16 \\\n    #     trainer.gradient_clip_val=1.0 \\\n    #     trainer.max_epochs=1 \\\n    #     +trainer.fast_dev_run=true \\\n    #     model.dataset.num_classes=6 \\\n    #     model.train_ds.file_path=/home/TestData/nlp/retail_text_classification/train.tsv \\\n    #     model.train_ds.batch_size=4 \\\n    #     model.language_model.pretrained_model_name=megatron-bert-uncased \\\n    #     model.language_model.config_file=/home/TestData/nlp/mp_2_bert_toy/config.json \\\n    #     model.language_model.lm_checkpoint=/home/TestData/nlp/mp_2_bert_toy/iter_2000000 \\\n    #     model.nemo_path=null \\\n    #     ~model.infer_samples \\\n    #     +exp_manager.explicit_log_dir=/home/TestData/nlp/mp_autoresume \\\n    #     +exp_manager.resume_if_exists=true\n    #   }\n    # }\n\n    # stage('L2: Model Parallel Size 2 Megatron Evaluation from .nemo') {\n    #   when {\n    #     anyOf{\n    #       branch 'main'\n    #       changeRequest target: 'main'\n    #     }\n    #   }\n    #   failFast true\n    #   steps{\n    #     cd examples/nlp/text_classification && \\\n    #     python model_parallel_text_classification_evaluation.py \\\n    #     trainer.devices=[0,1] \\\n    #     trainer.accelerator=\"gpu\" \\\n    #     trainer.num_nodes=1 \\\n    #     model.dataset.num_classes=6 \\\n    #     model.test_ds.file_path=/home/TestData/nlp/retail_text_classification/dev.tsv \\\n    #     model.nemo_path=/home/TestData/nlp/mp_2_nemo/retail_text_class_350M.nemo \\\n    #     exp_manager=null\n    #   }\n    # }\n\n    # stage('L2: Model Parallel Size 2 Megatron Train from .nemo') {\n    #   when {\n    #     anyOf{\n    #       branch 'main'\n    #       changeRequest target: 'main'\n    #     }\n    #   }\n    #   failFast true\n    #   steps{\n    #     cd examples/nlp/token_classification && \\\n    #     python token_classification_train.py \\\n    #     pretrained_model=/home/TestData/nlp/mp_2_nemo/ner_350M.nemo \\\n    #     model.dataset.data_dir=/home/TestData/nlp/ner/ \\\n    #     model.train_ds.batch_size=2 \\\n    #     model.dataset.use_cache=false \\\n    #     trainer.devices=[0,1] \\\n    #     trainer.accelerator=\"gpu\" \\\n    #     +trainer.fast_dev_run=true \\\n    #     model.dataset.class_balancing=\"weighted_loss\" \\\n    #     exp_manager=null\n    #   }\n    # }\n\n\n  # L2: Parallel NLP Examples 2\n  L2_Parallel_NLP_Examples2_NER_finetuning_from_pretrained_Test:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        cd examples/nlp/token_classification && \\\n        python token_classification_train.py \\\n        pretrained_model=ner_en_bert \\\n        model.dataset.data_dir=/home/TestData/nlp/ner/ \\\n        model.train_ds.batch_size=2 \\\n        model.dataset.use_cache=false \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=true \\\n        model.dataset.class_balancing=\"weighted_loss\" \\\n        exp_manager.exp_dir=null\n\n  L2_Parallel_NLP_Examples2_Punctuation_and_capitalization_finetuning_from_pretrained_test:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        cd examples/nlp/token_classification && \\\n        data_dir=\"$(mktemp -d -p \"$(pwd)\")\" && \\\n        cp /home/TestData/nlp/token_classification_punctuation/*.txt \"${data_dir}\"/ && \\\n        python punctuation_capitalization_train_evaluate.py \\\n          pretrained_model=punctuation_en_bert \\\n          model.train_ds.ds_item=\"${data_dir}\" \\\n          model.validation_ds.ds_item=\"${data_dir}\" \\\n          model.test_ds.ds_item=\"${data_dir}\" \\\n          +model.train_ds.use_cache=false \\\n          +model.validation_ds.use_cache=false \\\n          +model.test_ds.use_cache=false \\\n          trainer.devices=1 \\\n          trainer.accelerator=\"gpu\" \\\n          +trainer.fast_dev_run=true \\\n          exp_manager.exp_dir=null;\n\n        rm -rf \"${data_dir}\"\n\n  L2_Parallel_NLP_Examples2_NER_with_TurkuNLP__bert-base-finnish-cased-v1:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        cd examples/nlp/token_classification && \\\n        python token_classification_train.py \\\n        model.dataset.data_dir=/home/TestData/nlp/token_classification_punctuation/ \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=true \\\n        model.dataset.use_cache=false \\\n        model.language_model.pretrained_model_name=\"TurkuNLP/bert-base-finnish-cased-v1\" \\\n        exp_manager.exp_dir=null\n\n  L2_Parallel_NLP_Examples2_Evaluation_script_for_Token_Classification:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/token_classification/token_classification_evaluate.py \\\n        model.dataset.data_dir=/home/TestData/nlp/ner/ \\\n        model.dataset.use_cache=false \\\n        pretrained_model=/home/TestData/nlp/pretrained_models/NER_Model_with_BERT_base_uncased.nemo\n\n  L2_Parallel_NLP_Examples2_Evaluation_script_for_Punctuation:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        data_dir=\"$(mktemp -d -p \"$(pwd)\")\" && \\\n        cp /home/TestData/nlp/token_classification_punctuation/*.txt \"${data_dir}\"/ && \\\n        python examples/nlp/token_classification/punctuation_capitalization_train_evaluate.py \\\n          +do_training=false \\\n          +do_testing=true \\\n          model.test_ds.ds_item=\"${data_dir}\" \\\n          ~model.train_ds \\\n          ~model.validation_ds \\\n          +model.test_ds.use_cache=false \\\n          pretrained_model=/home/TestData/nlp/pretrained_models/Punctuation_Capitalization_with_DistilBERT_base_uncased.nemo;\n\n        rm -rf \"${data_dir}\"\n\n\n  # L2: Parallel Pretraining BERT pretraining from Text/Preprocessed\n  L2_Pretraining_BERT_pretraining_from_Text:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        cd examples/nlp/language_modeling && \\\n        python bert_pretraining.py \\\n        --config-name=bert_pretraining_from_text_config.yaml \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        trainer.precision=16 \\\n        +trainer.fast_dev_run=true \\\n        model.train_ds.data_file=/home/TestData/nlp/wikitext-2/train.txt  \\\n        model.train_ds.batch_size=32 \\\n        model.validation_ds.data_file=/home/TestData/nlp/wikitext-2/valid.txt  \\\n        model.validation_ds.batch_size=32 \\\n        model.language_model.config_file=/home/TestData/nlp/bert_configs/bert_3200.json \\\n        model.optim.lr=0.01 \\\n        model.optim.sched.warmup_ratio=0.1 \\\n        model.tokenizer.tokenizer_name=sentencepiece \\\n        model.tokenizer.tokenizer_model=/home/TestData/nlp/wikitext-2/tokenizer_bpe_v3193/tokenizer.model \\\n        model.mask_prob=0.15 \\\n        model.short_seq_prob=0.1 \\\n        exp_manager.exp_dir=PretrainingBERTFromText;\n      AFTER_SCRIPT: |\n        rm -f /home/TestData/nlp/wikitext-2/*.pkl\n        #rm -rf examples/nlp/language_modeling/PretrainingBERTFromText\n\n  L2_Pretraining_BERT_from_Preprocessed:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        cd examples/nlp/language_modeling && \\\n            python bert_pretraining.py \\\n            --config-name=bert_pretraining_from_preprocessed_config.yaml \\\n            trainer.devices=1 \\\n            trainer.accelerator=\"gpu\" \\\n            trainer.precision=16 \\\n            +trainer.fast_dev_run=false \\\n            +trainer.max_epochs=1 \\\n            +trainer.limit_val_batches=0 \\\n            +trainer.limit_train_batches=1 \\\n            model.train_ds.data_file=/home/TestData/nlp/wiki_book_mini/training \\\n            model.train_ds.batch_size=8 \\\n            model.language_model.lm_checkpoint=/home/TestData/nlp/bert_ckpts/nemo1.0/bert_base_uncased_mlm_final_1074591_nemo1.0.pt \\\n            model.language_model.config_file=/home/TestData/nlp/bert_configs/uncased_L-12_H-768_A-12.json \\\n            model.optim.lr=0.875e-4 \\\n            model.optim.weight_decay=0.01 \\\n            model.optim.sched.warmup_ratio=0.01 \\\n            exp_manager.exp_dir=PretrainingBERTFromPreprocessed \\\n            exp_manager.create_checkpoint_callback=False  \\\n\n            #rm -rf examples/nlp/language_modeling/PretrainingBERTFromPreprocessed\n\n\n  # TODO: remove +model.optim.capturable=True when Pytorch fix: https://github.com/pytorch/pytorch/pull/81858\n  # is in the release container\n  # L2: NMT Attention is All You Need Training\n  L2_NMT_Attention_is_All_You_Need_Training_NMT_Training_Post-LN:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/nlp/machine_translation/enc_dec_nmt.py \\\n          --config-path=conf \\\n          --config-name=aayn_base \\\n          do_testing=false \\\n          model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n          model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n          model.validation_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n          model.validation_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n          model.test_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n          model.test_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n          model.encoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/spm_4k_ende.model \\\n          model.decoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/spm_4k_ende.model \\\n          model.encoder.num_layers=1 \\\n          model.encoder.hidden_size=64 \\\n          model.encoder.inner_size=256 \\\n          model.decoder.num_layers=1 \\\n          model.decoder.hidden_size=64 \\\n          model.decoder.inner_size=256 \\\n          +model.optim.capturable=True \\\n          trainer.devices=1 \\\n          trainer.accelerator=\"gpu\" \\\n          +trainer.val_check_interval=2 \\\n          +trainer.limit_val_batches=1 \\\n          +trainer.max_steps=2 \\\n          trainer.precision=16 \\\n          +exp_manager.explicit_log_dir=examples/nlp/machine_translation/nmt_results \\\n          +exp_manager.create_checkpoint_callback=true\n          \n        python examples/nlp/machine_translation/enc_dec_nmt.py \\\n          --config-path=conf \\\n          --config-name=aayn_base \\\n          do_testing=true \\\n          model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n          model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n          model.validation_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n          model.validation_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n          model.test_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n          model.test_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n          model.encoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/spm_4k_ende.model \\\n          model.decoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/spm_4k_ende.model \\\n          model.encoder.num_layers=1 \\\n          model.encoder.hidden_size=64 \\\n          model.encoder.inner_size=256 \\\n          model.decoder.num_layers=1 \\\n          model.decoder.hidden_size=64 \\\n          model.decoder.inner_size=256 \\\n          +model.optim.capturable=True \\\n          trainer.devices=1 \\\n          trainer.accelerator=\"gpu\" \\\n          +trainer.val_check_interval=10 \\\n          +trainer.limit_val_batches=1 \\\n          +trainer.limit_test_batches=1 \\\n          +trainer.max_steps=10 \\\n          +exp_manager.explicit_log_dir=examples/nlp/machine_translation/nmt_results \\\n          +exp_manager.create_checkpoint_callback=true \\\n          +exp_manager.resume_if_exists=True\n      AFTER_SCRIPT: |    \n        rm -rf examples/nlp/machine_translation/nmt_results\n  L2_NMT_Attention_is_All_You_Need_Training_NMT_Training_Pre-LN:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        cd examples/nlp/machine_translation && \\\n        python enc_dec_nmt.py \\\n        --config-path=conf \\\n        --config-name=aayn_base \\\n        do_testing=true \\\n        model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n        model.validation_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.validation_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.test_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.test_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.encoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/spm_4k_ende.model \\\n        model.decoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/spm_4k_ende.model \\\n        model.encoder.pre_ln=true \\\n        model.decoder.pre_ln=true \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=true \\\n        +trainer.limit_test_batches=2 \\\n        exp_manager=null\n\n  L2_NMT_Attention_is_All_You_Need_Training_NMT_Multi-Validation:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        cd examples/nlp/machine_translation && \\\n        python enc_dec_nmt.py \\\n        --config-path=conf \\\n        --config-name=aayn_base \\\n        do_testing=true \\\n        model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-en-de.src \\\n        model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-en-de.ref \\\n        model.validation_ds.src_file_name=[/home/TestData/nlp/nmt/toy_data/wmt13-en-de.src,/home/TestData/nlp/nmt/toy_data/wmt14-en-de.src] \\\n        model.validation_ds.tgt_file_name=[/home/TestData/nlp/nmt/toy_data/wmt13-en-de.ref,/home/TestData/nlp/nmt/toy_data/wmt14-en-de.ref] \\\n        model.test_ds.src_file_name=[/home/TestData/nlp/nmt/toy_data/wmt13-en-de.src,/home/TestData/nlp/nmt/toy_data/wmt14-en-de.src] \\\n        model.test_ds.tgt_file_name=[/home/TestData/nlp/nmt/toy_data/wmt13-en-de.ref,/home/TestData/nlp/nmt/toy_data/wmt14-en-de.ref] \\\n        model.encoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/spm_4k_ende.model \\\n        model.decoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/spm_4k_ende.model \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=true \\\n        +trainer.limit_test_batches=2 \\\n        exp_manager=null\n\n  # L2: NMT Attention is All You Need Inference\n  L2_NMT_Attention_is_All_You_Need_Inference:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        cd examples/nlp/machine_translation && \\\n        python nmt_transformer_infer.py \\\n        --model=/home/TestData/nlp/nmt/toy_data/enes_v16k_s100k_6x6.nemo \\\n        --srctext=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.test.src \\\n        --tgtout=/home/TestData/nlp/nmt/toy_data/out.txt \\\n        --target_lang en \\\n        --source_lang de\n\n  # L2: NMT Attention is All You Need Finetuning\n  L2_NMT_Attention_is_All_You_Need_Finetuning:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        cd examples/nlp/machine_translation && \\\n        python enc_dec_nmt_finetune.py \\\n        model_path=/home/TestData/nlp/nmt/toy_data/enes_v16k_s100k_6x6.nemo \\\n        trainer.devices=1 \\\n        ~trainer.max_epochs \\\n        model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n        model.validation_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.validation_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.test_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.test_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        +trainer.val_check_interval=10 \\\n        +trainer.limit_val_batches=1 \\\n        +trainer.limit_test_batches=1 \\\n        +trainer.max_steps=10 \\\n        +exp_manager.exp_dir=examples/nlp/machine_translation/nmt_finetune \\\n        +exp_manager.create_checkpoint_callback=True \\\n        +exp_manager.checkpoint_callback_params.monitor=val_sacreBLEU \\\n        +exp_manager.checkpoint_callback_params.mode=max \\\n        +exp_manager.checkpoint_callback_params.save_best_model=true\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/machine_translation/nmt_finetune\n\n  # L2: NMT Tarred Dataset Creation\n  L2_NMT_Tarred_Dataset_Creation_Auto_Tarred_Dataset_Creation:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        cd examples/nlp/machine_translation && \\\n        python enc_dec_nmt.py \\\n        --config-path=conf \\\n        --config-name=aayn_base \\\n        do_training=false \\\n        model.preproc_out_dir=$PWD/preproc_out_dir \\\n        model.train_ds.use_tarred_dataset=true \\\n        model.train_ds.n_preproc_jobs=2 \\\n        model.train_ds.lines_per_dataset_fragment=500 \\\n        model.train_ds.num_batches_per_tarfile=10 \\\n        model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n        model.validation_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.validation_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.encoder_tokenizer.vocab_size=2000 \\\n        model.decoder_tokenizer.vocab_size=2000 \\\n        ~model.test_ds \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.fast_dev_run=true \\\n        exp_manager=null\n\n  L2_NMT_Tarred_Dataset_Creation_Script_Tarred_Dataset_Creation:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        cd examples/nlp/machine_translation && \\\n        python create_tarred_parallel_dataset.py \\\n        --src_fname /home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        --tgt_fname /home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n        --out_dir $PWD/out_dir \\\n        --encoder_tokenizer_vocab_size=2000 \\\n        --decoder_tokenizer_vocab_size=2000 \\\n        --tokens_in_batch=1000 \\\n        --lines_per_dataset_fragment=500 \\\n        --num_batches_per_tarfile=10 \\\n        --n_preproc_jobs=2\n\n  L2_Megatron_NMT_Training_TP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/machine_translation/megatron_nmt_training.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=10 \\\n        +trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/machine_translation/megatron_nmt_results \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation='swiglu' \\\n        model.encoder.masked_softmax_fusion=False \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method='block' \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.decoder.num_layers=2 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation='swiglu' \\\n        model.decoder.masked_softmax_fusion=False \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method='block' \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.micro_batch_size=2 \\\n        model.global_batch_size=4 \\\n        model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n        model.validation_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.validation_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n        model.train_ds.num_workers=1 \\\n        model.validation_ds.num_workers=1 \\\n        ~model.test_ds \\\n        model.train_ds.dataset_type=text_memmap \\\n        model.encoder_tokenizer.library=sentencepiece \\\n        model.encoder_tokenizer.model=/home/TestData/nlp/nmt/toy_data/spm_64k_all_langs_plus_en.model \\\n        model.decoder_tokenizer.library=sentencepiece \\\n        model.decoder_tokenizer.model=/home/TestData/nlp/nmt/toy_data/spm_64k_all_langs_plus_en.model\n        # Change val_check_interval to 1 for resume as the len(dataloder) is 1 due to max_steps being the same as that of training and Lightning 2.0 raises an error\n        # if val_check_interval > len(dataloder: https://github.com/Lightning-AI/lightning/blob/2.0.6/src/lightning/pytorch/loops/fit_loop.py#L259 at the beginning of fit_loop.run()\n        python examples/nlp/machine_translation/megatron_nmt_training.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=1 \\\n        +trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/machine_translation/megatron_nmt_results \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation='swiglu' \\\n        model.encoder.masked_softmax_fusion=False \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method='block' \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.decoder.num_layers=2 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation='swiglu' \\\n        model.decoder.masked_softmax_fusion=False \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method='block' \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.micro_batch_size=2 \\\n        model.global_batch_size=4 \\\n        model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n        model.validation_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n        model.validation_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n        model.train_ds.num_workers=1 \\\n        model.validation_ds.num_workers=1 \\\n        ~model.test_ds \\\n        model.train_ds.dataset_type=text_memmap \\\n        model.encoder_tokenizer.library=sentencepiece \\\n        model.encoder_tokenizer.model=/home/TestData/nlp/nmt/toy_data/spm_64k_all_langs_plus_en.model \\\n        model.decoder_tokenizer.library=sentencepiece \\\n        model.decoder_tokenizer.model=/home/TestData/nlp/nmt/toy_data/spm_64k_all_langs_plus_en.model\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/machine_translation/megatron_nmt_results\n\n  L2_Megatron_BART_Perceiver_MIM_Training_TP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_bart_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=10 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/megatron_mim_results \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.arch=perceiver \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation='swiglu' \\\n        model.encoder.masked_softmax_fusion=False \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method='block' \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.decoder.num_layers=2 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation='swiglu' \\\n        model.decoder.masked_softmax_fusion=False \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method='block' \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.micro_batch_size=2 \\\n        model.global_batch_size=4 \\\n        model.data.data_impl=text_mmap \\\n        model.data.data_prefix=[1.0,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src] \\\n        model.data.splits_string='\"800,100,100\"' \\\n        model.data.whole_word_masking=False \\\n        model.tokenizer.library=sentencepiece \\\n        model.tokenizer.model=/home/TestData/nlp/nmt/toy_data/spm_64k_all_langs_plus_en.model \\\n        ++model.hiddens.enc_output_name=z \\\n        ++model.hiddens.transform.q_z_given_x.cls_name=cond_gaussian \\\n        ++model.hiddens.transform.q_z_given_x.hidden_size=64 \\\n        ++model.hiddens.loss.mim.cls_name=a_mim \\\n        ++model.hiddens.loss.mim.loss_weight=0.5\n        # Change val_check_interval to 1 for resume as the len(dataloder) is 1 due to max_steps being the same as that of training and Lightning 2.0 raises an error\n        # if val_check_interval > len(dataloder: https://github.com/Lightning-AI/lightning/blob/2.0.6/src/lightning/pytorch/loops/fit_loop.py#L259 at the beginning of fit_loop.run()\n        python examples/nlp/language_modeling/megatron_bart_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=1 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/megatron_mim_results \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.arch=perceiver \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation='swiglu' \\\n        model.encoder.masked_softmax_fusion=False \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method='block' \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.decoder.num_layers=2 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation='swiglu' \\\n        model.decoder.masked_softmax_fusion=False \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method='block' \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.micro_batch_size=2 \\\n        model.global_batch_size=4 \\\n        model.data.data_impl=text_mmap \\\n        model.data.data_prefix=[1.0,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src] \\\n        model.data.splits_string='\"800,100,100\"' \\\n        model.data.whole_word_masking=False \\\n        model.tokenizer.library=sentencepiece \\\n        model.tokenizer.model=/home/TestData/nlp/nmt/toy_data/spm_64k_all_langs_plus_en.model \\\n        ++model.hiddens.enc_output_name=z \\\n        ++model.hiddens.transform.q_z_given_x.cls_name=cond_gaussian \\\n        ++model.hiddens.transform.q_z_given_x.hidden_size=64 \\\n        ++model.hiddens.loss.mim.cls_name=a_mim \\\n        ++model.hiddens.loss.mim.loss_weight=0.5\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/megatron_mim_results\n\n    # stage('L2: NMT Bottleneck Fallback') {\n    #   when {\n    #     anyOf {\n    #       branch 'main'\n    #       changeRequest target: 'main'\n    #     }\n    #   }\n    #   failFast true\n    #   parallel {\n    #     stage('L2: seq2seq (no bottleneck)') {\n    #         steps {\n    #           cd examples/nlp/machine_translation && \\\n    #           enc_dec_nmt-bottleneck.py \\\n    #           --config-path=conf \\\n    #           --config-name=aayn_bottleneck \\\n    #           do_testing=true \\\n    #           model.model_type=nll \\\n    #           model.encoder.arch=seq2seq \\\n    #           model.encoder.hidden_steps=1 \\\n    #           model.encoder.hidden_blocks=1 \\\n    #           model.encoder.hidden_init_method=params \\\n    #           model.encoder.hidden_size=64 \\\n    #           model.encoder.inner_size=128 \\\n    #           model.encoder.num_attention_heads=2 \\\n    #           model.encoder.num_layers=2 \\\n    #           model.decoder.hidden_size=64 \\\n    #           model.decoder.inner_size=128 \\\n    #           model.decoder.num_attention_heads=2 \\\n    #           model.decoder.num_layers=2 \\\n    #           model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-en-de.src \\\n    #           model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-en-de.ref \\\n    #           model.validation_ds.src_file_name=[/home/TestData/nlp/nmt/toy_data/wmt13-en-de.src,/home/TestData/nlp/nmt/toy_data/wmt14-en-de.src] \\\n    #           model.validation_ds.tgt_file_name=[/home/TestData/nlp/nmt/toy_data/wmt13-en-de.ref,/home/TestData/nlp/nmt/toy_data/wmt14-en-de.ref] \\\n    #           model.test_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt13-en-de.src \\\n    #           model.test_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt13-en-de.ref \\\n    #           model.encoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/tt_tokenizer.BPE.4096.model \\\n    #           model.decoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/tt_tokenizer.BPE.4096.model \\\n    #           trainer.devices=1 \\\n    #           trainer.accelerator=\"gpu\" \\\n    #           +trainer.fast_dev_run=true \\\n    #           +trainer.limit_test_batches=2 \\\n    #           exp_manager=null \\\n    #         }\n    #     }\n    #   }\n    # }\n    # stage('L2: NMT Bottleneck Architecture') {\n    #   when {\n    #     anyOf {\n    #       branch 'main'\n    #       changeRequest target: 'main'\n    #     }\n    #   }\n    #   failFast true\n    #   parallel {\n    #     stage('Bridge Encoder (identity)') {\n    #         steps {\n    #           cd examples/nlp/machine_translation && \\\n    #           enc_dec_nmt-bottleneck.py \\\n    #           --config-path=conf \\\n    #           --config-name=aayn_bottleneck \\\n    #           do_testing=true \\\n    #           model.model_type=nll \\\n    #           model.encoder.arch=bridge \\\n    #           model.encoder.hidden_steps=1 \\\n    #           model.encoder.hidden_blocks=1 \\\n    #           model.encoder.hidden_init_method=identity \\\n    #           model.encoder.hidden_size=64 \\\n    #           model.encoder.inner_size=128 \\\n    #           model.encoder.num_attention_heads=2 \\\n    #           model.encoder.num_layers=2 \\\n    #           model.decoder.hidden_size=64 \\\n    #           model.decoder.inner_size=128 \\\n    #           model.decoder.num_attention_heads=2 \\\n    #           model.decoder.num_layers=2 \\\n    #           model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n    #           model.validation_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.validation_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.test_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.test_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.encoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/tt_tokenizer.BPE.4096.model \\\n    #           model.decoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/tt_tokenizer.BPE.4096.model \\\n    #           trainer.devices=1 \\\n    #           trainer.accelerator=\"gpu\" \\\n    #           +trainer.fast_dev_run=true \\\n    #           +trainer.limit_test_batches=2 \\\n    #           exp_manager=null\n    #         }\n    #     }\n    #     stage('Perceiver Encoder (params)') {\n    #         steps {\n    #           cd examples/nlp/machine_translation && \\\n    #           enc_dec_nmt-bottleneck.py \\\n    #           --config-path=conf \\\n    #           --config-name=aayn_bottleneck \\\n    #           do_testing=true \\\n    #           model.model_type=nll \\\n    #           model.encoder.arch=perceiver \\\n    #           model.encoder.hidden_steps=1 \\\n    #           model.encoder.hidden_blocks=1 \\\n    #           model.encoder.hidden_init_method=params \\\n    #           model.encoder.hidden_size=64 \\\n    #           model.encoder.inner_size=128 \\\n    #           model.encoder.num_attention_heads=2 \\\n    #           model.encoder.num_layers=2 \\\n    #           model.decoder.hidden_size=64 \\\n    #           model.decoder.inner_size=128 \\\n    #           model.decoder.num_attention_heads=2 \\\n    #           model.decoder.num_layers=2 \\\n    #           model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n    #           model.validation_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.validation_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.test_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.test_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.encoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/tt_tokenizer.BPE.4096.model \\\n    #           model.decoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/tt_tokenizer.BPE.4096.model \\\n    #           trainer.devices=1 \\\n    #           trainer.accelerator=\"gpu\" \\\n    #           +trainer.fast_dev_run=true \\\n    #           +trainer.limit_test_batches=2 \\\n    #           exp_manager=null\n    #         }\n    #     }\n    #   }\n    # }\n    # stage('L2: NMT Bottleneck LVM') {\n    #   when {\n    #     anyOf {\n    #       branch 'main'\n    #       changeRequest target: 'main'\n    #     }\n    #   }\n    #   failFast true\n    #   parallel {\n    #     stage('VAE') {\n    #         steps {\n    #           cd examples/nlp/machine_translation && \\\n    #           enc_dec_nmt-bottleneck.py \\\n    #           --config-path=conf \\\n    #           --config-name=aayn_bottleneck \\\n    #           do_testing=true \\\n    #           model.model_type=vae \\\n    #           model.encoder.arch=perceiver \\\n    #           model.encoder.hidden_steps=1 \\\n    #           model.encoder.hidden_blocks=1 \\\n    #           model.encoder.hidden_init_method=params \\\n    #           model.encoder.hidden_size=64 \\\n    #           model.encoder.inner_size=128 \\\n    #           model.encoder.num_attention_heads=2 \\\n    #           model.encoder.num_layers=2 \\\n    #           model.decoder.hidden_size=64 \\\n    #           model.decoder.inner_size=128 \\\n    #           model.decoder.num_attention_heads=2 \\\n    #           model.decoder.num_layers=2 \\\n    #           model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n    #           model.validation_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.validation_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.test_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.test_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.encoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/tt_tokenizer.BPE.4096.model \\\n    #           model.decoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/tt_tokenizer.BPE.4096.model \\\n    #           trainer.devices=1 \\\n    #           trainer.accelerator=\"gpu\" \\\n    #           +trainer.fast_dev_run=true \\\n    #           +trainer.limit_test_batches=2 \\\n    #           exp_manager=null\n    #         }\n    #     }\n    #     stage('MIM') {\n    #         steps {\n    #           cd examples/nlp/machine_translation && \\\n    #           enc_dec_nmt-bottleneck.py \\\n    #           --config-path=conf \\\n    #           --config-name=aayn_bottleneck \\\n    #           do_testing=true \\\n    #           model.model_type=mim \\\n    #           model.encoder.arch=perceiver \\\n    #           model.encoder.hidden_steps=1 \\\n    #           model.encoder.hidden_blocks=1 \\\n    #           model.encoder.hidden_init_method=params \\\n    #           model.encoder.hidden_size=64 \\\n    #           model.encoder.inner_size=128 \\\n    #           model.encoder.num_attention_heads=2 \\\n    #           model.encoder.num_layers=2 \\\n    #           model.decoder.hidden_size=64 \\\n    #           model.decoder.inner_size=128 \\\n    #           model.decoder.num_attention_heads=2 \\\n    #           model.decoder.num_layers=2 \\\n    #           model.train_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.train_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref \\\n    #           model.validation_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.validation_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.test_ds.src_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.test_ds.tgt_file_name=/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src \\\n    #           model.encoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/tt_tokenizer.BPE.4096.model \\\n    #           model.decoder_tokenizer.tokenizer_model=/home/TestData/nlp/nmt/toy_data/tt_tokenizer.BPE.4096.model \\\n    #           trainer.devices=1 \\\n    #           trainer.accelerator=\"gpu\" \\\n    #           +trainer.fast_dev_run=true \\\n    #           +trainer.limit_test_batches=2 \\\n    #           exp_manager=null\n    #         }\n    #     }\n    #   }\n    # }\n        \n  L2_Megatron_Bert_Pretraining_and_Resume_Training_with_Pipeline_Parallelism:\n    needs: [cicd-test-container-setup]\n    runs-on: self-hosted-azure\n    timeout-minutes: 10\n    container:\n      image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n      options: \n        # --user 0:128\n        --device=/dev/nvidia0\n        --gpus all\n        --shm-size=8g\n        --env TRANSFORMERS_OFFLINE=0 \n        --env HYDRA_FULL_ERROR=1\n        --volume /mnt/datadrive/TestData:/home/TestData\n    steps:\n        - name: Checkout repository\n          uses: actions/checkout@v4\n        - run: |\n            NVTE_FUSED_ATTN=0 NVTE_FLASH_ATTN=0 python examples/nlp/language_modeling/megatron_bert_pretraining.py \\\n            trainer.devices=2 \\\n            trainer.accelerator=gpu \\\n            trainer.log_every_n_steps=1 \\\n            trainer.val_check_interval=10 \\\n            trainer.limit_val_batches=2 \\\n            trainer.accumulate_grad_batches=1 \\\n            trainer.max_steps=10 \\\n            trainer.precision=bf16 \\\n            model.megatron_amp_O2=True \\\n            trainer.gradient_clip_val=1.0 \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/bert_pretrain_results \\\n            model.tensor_model_parallel_size=2 \\\n            model.optim.name=fused_adam \\\n            model.optim.lr=2e-4 \\\n            model.optim.sched.warmup_steps=2 \\\n            model.optim.sched.constant_steps=2 \\\n            model.optim.sched.min_lr=8e-5 \\\n            model.max_position_embeddings=128 \\\n            model.encoder_seq_length=128 \\\n            model.data.seq_length=128 \\\n            model.tokenizer.vocab_file=/home/TestData/nlp/megatron_bert/data/bert/vocab.txt \\\n            model.num_layers=8 \\\n            model.hidden_size=256 \\\n            model.num_attention_heads=8 \\\n            model.activations_checkpoint_method=block \\\n            model.activations_checkpoint_num_layers=1 \\\n            model.data.data_prefix=[.5,/home/TestData/nlp/megatron_bert/data/bert/simple_wiki_bert_preproc_text_sentence,.5,/home/TestData/nlp/megatron_bert/data/bert/simple_wiki_bert_preproc_text_sentence] \\\n            model.data.index_mapping_dir=examples/nlp/language_modeling/bert_index_mappings\n\n            NVTE_FUSED_ATTN=0 NVTE_FLASH_ATTN=0 python examples/nlp/language_modeling/megatron_bert_pretraining.py \\\n            trainer.devices=2 \\\n            trainer.accelerator=gpu \\\n            trainer.log_every_n_steps=1 \\\n            trainer.val_check_interval=10 \\\n            trainer.limit_val_batches=2 \\\n            trainer.accumulate_grad_batches=1 \\\n            trainer.max_steps=20 \\\n            trainer.precision=bf16 \\\n            model.megatron_amp_O2=True \\\n            trainer.gradient_clip_val=1.0 \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/bert_pretrain_results \\\n            exp_manager.resume_if_exists=True \\\n            model.tensor_model_parallel_size=2 \\\n            model.optim.name=fused_adam \\\n            model.optim.lr=2e-4 \\\n            model.optim.sched.warmup_steps=2 \\\n            model.optim.sched.constant_steps=2 \\\n            model.optim.sched.min_lr=8e-5 \\\n            model.max_position_embeddings=128 \\\n            model.encoder_seq_length=128 \\\n            model.data.seq_length=128 \\\n            model.tokenizer.vocab_file=/home/TestData/nlp/megatron_bert/data/bert/vocab.txt \\\n            model.num_layers=8 \\\n            model.hidden_size=256 \\\n            model.num_attention_heads=8 \\\n            model.activations_checkpoint_method=block \\\n            model.activations_checkpoint_num_layers=1 \\\n            model.data.data_prefix=[.5,/home/TestData/nlp/megatron_bert/data/bert/simple_wiki_bert_preproc_text_sentence,.5,/home/TestData/nlp/megatron_bert/data/bert/simple_wiki_bert_preproc_text_sentence] \\\n            model.data.index_mapping_dir=examples/nlp/language_modeling/bert_index_mappings\n\n  L2_Megatron_Bert_Pretraining_and_Resume_Training:\n    needs: [cicd-test-container-setup]\n    runs-on: self-hosted-azure\n    timeout-minutes: 10\n    container:\n      image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n      options: \n        # --user 0:128\n        --device=/dev/nvidia0\n        --gpus all\n        --shm-size=8g\n        --env TRANSFORMERS_OFFLINE=0 \n        --env HYDRA_FULL_ERROR=1\n        --volume /mnt/datadrive/TestData:/home/TestData\n    steps:\n        - name: Checkout repository\n          uses: actions/checkout@v4\n        - run: |\n            NVTE_FUSED_ATTN=0 NVTE_FLASH_ATTN=0 python examples/nlp/language_modeling/megatron_bert_pretraining.py \\\n            trainer.devices=2 \\\n            trainer.accelerator=gpu \\\n            trainer.log_every_n_steps=1 \\\n            trainer.val_check_interval=10 \\\n            trainer.limit_val_batches=2 \\\n            trainer.accumulate_grad_batches=1 \\\n            trainer.max_steps=10 \\\n            trainer.precision=bf16 \\\n            model.megatron_amp_O2=True \\\n            trainer.gradient_clip_val=1.0 \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/bert_pretrain_results \\\n            model.tensor_model_parallel_size=2 \\\n            model.optim.name=fused_adam \\\n            model.optim.lr=2e-4 \\\n            model.sequence_parallel=True \\\n            model.optim.sched.warmup_steps=2 \\\n            model.optim.sched.constant_steps=2 \\\n            model.optim.sched.min_lr=8e-5 \\\n            model.max_position_embeddings=128 \\\n            model.encoder_seq_length=128 \\\n            model.data.seq_length=128 \\\n            model.tokenizer.vocab_file=/home/TestData/nlp/megatron_bert/data/bert/vocab.txt \\\n            model.num_layers=8 \\\n            model.hidden_size=256 \\\n            model.num_attention_heads=8 \\\n            model.activations_checkpoint_method=block \\\n            model.activations_checkpoint_num_layers=1 \\\n            model.data.data_prefix=[.5,/home/TestData/nlp/megatron_bert/data/bert/simple_wiki_bert_preproc_text_sentence,.5,/home/TestData/nlp/megatron_bert/data/bert/simple_wiki_bert_preproc_text_sentence] \\\n            model.data.index_mapping_dir=examples/nlp/language_modeling/bert_index_mappings\n\n            NVTE_FUSED_ATTN=0 NVTE_FLASH_ATTN=0 python examples/nlp/language_modeling/megatron_bert_pretraining.py \\\n            trainer.devices=2 \\\n            trainer.accelerator=gpu \\\n            trainer.log_every_n_steps=1 \\\n            trainer.val_check_interval=10 \\\n            trainer.limit_val_batches=2 \\\n            trainer.accumulate_grad_batches=1 \\\n            trainer.max_steps=20 \\\n            trainer.precision=bf16 \\\n            model.megatron_amp_O2=True \\\n            trainer.gradient_clip_val=1.0 \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/bert_pretrain_results \\\n            exp_manager.resume_if_exists=True \\\n            model.tensor_model_parallel_size=2 \\\n            model.optim.name=fused_adam \\\n            model.optim.lr=2e-4 \\\n            model.optim.sched.warmup_steps=2 \\\n            model.optim.sched.constant_steps=2 \\\n            model.optim.sched.min_lr=8e-5 \\\n            model.max_position_embeddings=128 \\\n            model.encoder_seq_length=128 \\\n            model.data.seq_length=128 \\\n            model.tokenizer.vocab_file=/home/TestData/nlp/megatron_bert/data/bert/vocab.txt \\\n            model.num_layers=8 \\\n            model.hidden_size=256 \\\n            model.num_attention_heads=8 \\\n            model.activations_checkpoint_method=block \\\n            model.activations_checkpoint_num_layers=1 \\\n            model.data.data_prefix=[.5,/home/TestData/nlp/megatron_bert/data/bert/simple_wiki_bert_preproc_text_sentence,.5,/home/TestData/nlp/megatron_bert/data/bert/simple_wiki_bert_preproc_text_sentence] \\\n            model.data.index_mapping_dir=examples/nlp/language_modeling/bert_index_mappings\n\n            rm -rf examples/nlp/language_modeling/bert_pretrain_results\n            rm -rf examples/nlp/language_modeling/bert_index_mappings\n        - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n          if: \"failure()\"\n\n  L2_Megatron_Core_Bert_Pretraining_and_Resume_Training:\n    needs: [cicd-test-container-setup]\n    runs-on: self-hosted-azure\n    timeout-minutes: 10\n    container:\n      image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n      options: \n        # --user 0:128\n        --device=/dev/nvidia0\n        --gpus all\n        --shm-size=8g\n        --env TRANSFORMERS_OFFLINE=0 \n        --env HYDRA_FULL_ERROR=1\n        --volume /mnt/datadrive/TestData:/home/TestData\n    steps:\n        - name: Checkout repository\n          uses: actions/checkout@v4\n        - run: |\n            NVTE_FLASH_ATTN=0 NVTE_FUSED_ATTN=0 python examples/nlp/language_modeling/megatron_bert_pretraining.py \\\n            trainer.devices=2 \\\n            trainer.accelerator=gpu \\\n            trainer.log_every_n_steps=1 \\\n            trainer.val_check_interval=10 \\\n            trainer.limit_val_batches=2 \\\n            trainer.accumulate_grad_batches=1 \\\n            trainer.max_steps=10 \\\n            trainer.gradient_clip_val=1.0 \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/bert_pretrain_results \\\n            model.mcore_bert=True \\\n            model.tensor_model_parallel_size=2 \\\n            model.optim.name=fused_adam \\\n            model.optim.lr=2e-4 \\\n            model.sequence_parallel=True \\\n            model.optim.sched.warmup_steps=2 \\\n            model.optim.sched.constant_steps=2 \\\n            model.optim.sched.min_lr=8e-5 \\\n            model.max_position_embeddings=128 \\\n            model.encoder_seq_length=128 \\\n            model.data.seq_length=128 \\\n            model.tokenizer.vocab_file=/home/TestData/nlp/megatron_bert/data/bert/vocab.txt \\\n            model.num_layers=8 \\\n            model.hidden_size=256 \\\n            model.num_attention_heads=8 \\\n            model.activations_checkpoint_method='block' \\\n            model.activations_checkpoint_num_layers=1 \\\n            model.data.data_prefix=[.5,/home/TestData/nlp/megatron_bert/data/bert/simple_wiki_bert_preproc_text_sentence,.5,/home/TestData/nlp/megatron_bert/data/bert/simple_wiki_bert_preproc_text_sentence] \\\n            model.data.index_mapping_dir=examples/nlp/language_modeling/bert_index_mappings\n\n            NVTE_FLASH_ATTN=0 NVTE_FUSED_ATTN=0 python examples/nlp/language_modeling/megatron_bert_pretraining.py \\\n            trainer.devices=2 \\\n            trainer.accelerator=gpu \\\n            trainer.log_every_n_steps=1 \\\n            trainer.val_check_interval=10 \\\n            trainer.limit_val_batches=2 \\\n            trainer.accumulate_grad_batches=1 \\\n            trainer.max_steps=20 \\\n            trainer.gradient_clip_val=1.0 \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/bert_pretrain_results \\\n            exp_manager.resume_if_exists=True \\\n            model.mcore_bert=True \\\n            model.tensor_model_parallel_size=2 \\\n            model.optim.name=fused_adam \\\n            model.optim.lr=2e-4 \\\n            model.optim.sched.warmup_steps=2 \\\n            model.optim.sched.constant_steps=2 \\\n            model.optim.sched.min_lr=8e-5 \\\n            model.max_position_embeddings=128 \\\n            model.encoder_seq_length=128 \\\n            model.data.seq_length=128 \\\n            model.tokenizer.vocab_file=/home/TestData/nlp/megatron_bert/data/bert/vocab.txt \\\n            model.num_layers=8 \\\n            model.hidden_size=256 \\\n            model.num_attention_heads=8 \\\n            model.activations_checkpoint_method='block' \\\n            model.activations_checkpoint_num_layers=1 \\\n            model.data.data_prefix=[.5,/home/TestData/nlp/megatron_bert/data/bert/simple_wiki_bert_preproc_text_sentence,.5,/home/TestData/nlp/megatron_bert/data/bert/simple_wiki_bert_preproc_text_sentence] \\\n            model.data.index_mapping_dir=examples/nlp/language_modeling/bert_index_mappings\n\n            rm -rf examples/nlp/language_modeling/bert_pretrain_results\n            rm -rf examples/nlp/language_modeling/bert_index_mappings\n        - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n          if: \"failure()\"\n\n  L2_Megatron_RETRO_Pretraining_and_Resume_Training:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_retro_pretraining.py \\\n        trainer.num_nodes=1 \\\n        trainer.devices=2 \\\n        trainer.precision=bf16 \\\n        trainer.accelerator=gpu \\\n        model.data.data_prefix=['none'] \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/mcore_retro_results \\\n        model.mcore_gpt=True \\\n        model.tensor_model_parallel_size=1 \\\n        model.pipeline_model_parallel_size=1 \\\n        model.optim.name=distributed_fused_adam \\\n        model.retro.retro_project_dir=/home/TestData/nlp/megatron_retro/mcore_retro/micro-wiki-core \\\n        model.data.num_workers=4 \\\n        model.micro_batch_size=1 \\\n        model.data.shuffle_documents=False \\\n        trainer.val_check_interval=30 \\\n        +trainer.num_sanity_val_steps=0 \\\n        model.init_method_std=0.023 \\\n        model.optim.lr=6.0e-4 \\\n        model.megatron_amp_O2=True \\\n        model.data.splits_string=\\'\\\"98,2,0\\\"\\' \\\n        model.data.dataloader_type=cyclic \\\n        trainer.max_steps=10\n\n        python examples/nlp/language_modeling/megatron_retro_pretraining.py \\\n        trainer.num_nodes=1 \\\n        trainer.devices=2 \\\n        trainer.precision=bf16 \\\n        trainer.accelerator=gpu \\\n        model.data.data_prefix=['none'] \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/mcore_retro_results \\\n        model.mcore_gpt=True \\\n        model.tensor_model_parallel_size=1 \\\n        model.pipeline_model_parallel_size=1 \\\n        model.optim.name=distributed_fused_adam \\\n        model.retro.retro_project_dir=/home/TestData/nlp/megatron_retro/mcore_retro/micro-wiki-core \\\n        model.data.num_workers=4 \\\n        model.micro_batch_size=1 \\\n        model.data.shuffle_documents=False \\\n        trainer.val_check_interval=30 \\\n        +trainer.num_sanity_val_steps=0 \\\n        model.init_method_std=0.023 \\\n        model.optim.lr=6.0e-4 \\\n        model.megatron_amp_O2=True \\\n        model.data.splits_string=\\'\\\"98,2,0\\\"\\' \\\n        model.data.dataloader_type=cyclic \\\n        trainer.max_steps=20\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/mcore_retro_results\n\n  L2_Legacy_Megatron_RETRO_Pretraining_and_Resume_Training:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_retro_pretraining_legacy.py \\\n        trainer.devices=2 \\\n        trainer.num_nodes=1 \\\n        trainer.accelerator=gpu \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.limit_val_batches=2 \\\n        exp_manager.resume_if_exists=True \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        trainer.val_check_interval=10 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/retro_legacy_results \\\n        model.data.data_prefix= \\\n        model.data.knn_index= \\\n        model.data.retrieval_prefix= \\\n        model.tensor_model_parallel_size=2 \\\n        model.micro_batch_size=4 \\\n        model.optim.name=fused_adam \\\n        model.optim.lr=2e-4 \\\n        model.optim.sched.warmup_steps=2 \\\n        model.optim.sched.constant_steps=2 \\\n        model.optim.sched.min_lr=8e-5 \\\n        model.max_position_embeddings=128 \\\n        model.encoder_seq_length=128 \\\n        model.chunk_size=32 \\\n        model.enc_num_layers=2 \\\n        model.dec_num_layers=2 \\\n        model.enc_cross_attention=[1] \\\n        model.dec_cross_attention=[1] \\\n        +model.data.mock=True\n\n            python examples/nlp/language_modeling/megatron_retro_pretraining_legacy.py \\\n            trainer.devices=2 \\\n            trainer.num_nodes=1 \\\n            trainer.accelerator=gpu \\\n            trainer.accumulate_grad_batches=1 \\\n            trainer.limit_val_batches=2 \\\n            exp_manager.resume_if_exists=True \\\n            trainer.max_steps=20 \\\n            trainer.precision=16 \\\n            trainer.gradient_clip_val=1.0 \\\n            trainer.val_check_interval=10 \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/retro_legacy_results \\\n            model.data.data_prefix= \\\n            model.data.knn_index= \\\n            model.data.retrieval_prefix= \\\n            model.tensor_model_parallel_size=2 \\\n            model.micro_batch_size=4 \\\n            model.optim.name=fused_adam \\\n            model.optim.lr=2e-4 \\\n            model.optim.sched.warmup_steps=2 \\\n            model.optim.sched.constant_steps=2 \\\n            model.optim.sched.min_lr=8e-5 \\\n            model.max_position_embeddings=128 \\\n            model.encoder_seq_length=128 \\\n            model.chunk_size=32 \\\n            model.enc_num_layers=2 \\\n            model.dec_num_layers=2 \\\n            model.enc_cross_attention=[1] \\\n            model.dec_cross_attention=[1] \\\n            +model.data.mock=True\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/retro_legacy_results\n\n  # L2_Megatron_RETRO_muTransfer_Pretraining_Performance:\n  #   needs: [cicd-test-container-setup]\n  #   runs-on: self-hosted-azure\n  #   container:\n  #     image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n  #     options: \n  #       # --user 0:128\n  #       --device=/dev/nvidia0\n  #       --gpus all\n  #       --shm-size=8g \n  #       --env TRANSFORMERS_OFFLINE=0 \n  #       --env HYDRA_FULL_ERROR=1\n  #       --volume /mnt/datadrive/TestData:/home/TestData\n  #   steps:\n  #       - name: Checkout repository\n  #         uses: actions/checkout@v4\n  #       - run: |\n  #           python examples/nlp/language_modeling/megatron_retro_mutransfer_pretrain.py \\\n  #               trainer.devices=2 \\\n  #               trainer.num_nodes=1 \\\n  #               trainer.accelerator=gpu \\\n  #               trainer.accumulate_grad_batches=1 \\\n  #               trainer.max_steps=100 \\\n  #               trainer.log_every_n_steps=1 \\\n  #               trainer.precision=16 \\\n  #               trainer.val_check_interval=100 \\\n  #               trainer.limit_val_batches=0 \\\n  #               trainer.gradient_clip_val=1.0 \\\n  #               +trainer.num_sanity_val_steps=0 \\\n  #               exp_manager.exp_dir=examples/nlp/language_modeling/retro_results/ \\\n  #               +exp_manager.version=smalltest \\\n  #               model.data.neighbors=2 \\\n  #               model.megatron_amp_O2=False \\\n  #               model.apply_query_key_layer_scaling=False \\\n  #               model.tensor_model_parallel_size=1 \\\n  #               model.optim.name=muadamw \\\n  #               model.optim.weight_decay=0.1 \\\n  #               model.optim.betas=[0.9,0.95] \\\n  #               model.optim.lr=6e-4 \\\n  #               model.optim.sched.warmup_steps=1000 \\\n  #               model.optim.sched.constant_steps=0 \\\n  #               model.optim.sched.min_lr=6e-5 \\\n  #               model.add_position_embedding=False \\\n  #               model.enc_num_layers=2 \\\n  #               model.dec_num_layers=6 \\\n  #               model.enc_cross_attention=[0] \\\n  #               model.dec_cross_attention=[3,5] \\\n  #               model.hidden_size=96 \\\n  #               model.ffn_hidden_size=384 \\\n  #               model.init_method_std=0.023 \\\n  #               model.num_attention_heads=12 \\\n  #               model.max_position_embeddings=1024 \\\n  #               model.encoder_seq_length=1024 \\\n  #               model.tokenizer.library=megatron \\\n  #               model.tokenizer.type=GPT2BPETokenizer \\\n  #               model.tokenizer.merge_file=/home/TestData/nlp/megatron_retro/gpt2-merges.txt \\\n  #               model.tokenizer.vocab_file=/home/TestData/nlp/megatron_retro/gpt2-vocab.json \\\n  #               model.data.data_prefix=[/home/TestData/nlp/megatron_retro/retro_wiki_test_text_document] \\\n  #               model.data.knn_index=[/home/TestData/nlp/megatron_retro/knn2_map_wiki_test.idx] \\\n  #               model.data.retrieval_prefix=/home/TestData/nlp/megatron_retro/retro_wiki_test_text_document \\\n  #               model.data.index_mapping_dir=/home/TestData/nlp/megatron_retro \\\n  #               model.data.num_workers=8 \\\n  #               model.micro_batch_size=8 \\\n  #               model.normalization=rmsnorm \\\n  #               model.transformer_block_type=pre_ln \\\n  #               model.bias_activation_fusion=True \\\n  #               model.bias_dropout_add_fusion=False \\\n  #               model.masked_softmax_fusion=True \\\n  #               model.hidden_dropout=0 \\\n  #               model.attention_dropout=0 \\\n  #               model.fp32_residual_connection=True \\\n  #               model.shape_file=/home/TestData/nlp/megatron_retro/o1_rel_shape_info_tiny.yaml\n\n  #               python -c \"import pandas as pd\n  #               import pathlib\n  #               from pandas.testing import assert_frame_equal\n  #               from tensorboard.backend.event_processing.event_accumulator import EventAccumulator\n  #               import torch\n  #               if not (torch.cuda.is_available() and 'A100' in torch.cuda.get_device_name()):\n  #                   import sys\n  #                   sys.exit(0)\n  #               event_file = list(pathlib.Path('examples/nlp/language_modeling/retro_results/megatron_retro/smalltest').glob('events.out.tfevents*'))[0]\n  #               ea = EventAccumulator(str(event_file)).Reload()\n  #               vals = []\n  #               for i in ea.Scalars('reduced_train_loss'):\n  #                   vals.append(i.value)\n  #               training_curve = pd.DataFrame({'loss': vals})\n  #               gt_curve = pd.read_csv('/home/TestData/nlp/megatron_retro/expected_learning_curve.csv')\n  #               assert_frame_equal(training_curve, gt_curve, rtol=1e-3, atol=1e-3)\"\n\n  #               rm -rf examples/nlp/language_modeling/retro_results\n  #       - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n  #         if: \"failure()\"\n\n  L2_RAG_Pipeline_Indexing:\n    needs: [cicd-test-container-setup]\n    runs-on: self-hosted-azure\n    timeout-minutes: 10\n    container:\n      image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n      options: \n        # --user 0:128\n        --device=/dev/nvidia0\n        --gpus all\n        --shm-size=8g\n        --env TRANSFORMERS_OFFLINE=0 \n        --env HYDRA_FULL_ERROR=1\n        --volume /mnt/datadrive/TestData:/home/TestData\n    steps:\n        - name: Checkout repository\n          uses: actions/checkout@v4\n        - run: |\n            python examples/nlp/rag/rag_indexing.py \\\n            trainer.num_nodes=1 \\\n            trainer.devices=1 \\\n            trainer.precision='bf16-mixed' \\\n            indexing.embedder.model_path='/home/TestData/nlp/rag_pipeline/testing_models/embedders/sbert_nemo.nemo' \\\n            indexing.embedder.embed_batch_size=128 \\\n            indexing.data.data_path='/home/TestData/nlp/rag_pipeline/testing_data/corpus_data/sample_data' \\\n            indexing.data.chunk_size=256 \\\n            indexing.data.chunk_overlap=10 \\\n            indexing.index_path='/home/TestData/nlp/rag_pipeline/testing_data/saved_index/sample_index'\n        - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n          if: \"failure()\"\n\n  L2_RAG_Pipeline_Generating:\n    needs: [cicd-test-container-setup]\n    runs-on: self-hosted-azure\n    timeout-minutes: 10\n    container:\n      image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n      options: \n        # --user 0:128\n        --device=/dev/nvidia0\n        --gpus all\n        --shm-size=8g\n        --env TRANSFORMERS_OFFLINE=0 \n        --env HYDRA_FULL_ERROR=1\n        --volume /mnt/datadrive/TestData:/home/TestData\n    steps:\n        - name: Checkout repository\n          uses: actions/checkout@v4\n        - run: |\n            python examples/nlp/rag/rag_generating.py \\\n            trainer.devices=1 \\\n            trainer.precision='bf16-mixed' \\\n            indexing.embedder.model_path='/home/TestData/nlp/rag_pipeline/testing_models/embedders/sbert_nemo.nemo' \\\n            indexing.index_path='/home/TestData/nlp/rag_pipeline/testing_data/saved_index/sample_index' \\\n            generating.llm.model_path='/home/TestData/nlp/rag_pipeline/testing_models/llms/megatron_gpt_125m.nemo' \\\n            generating.inference.tokens_to_generate=50 \\\n            generating.inference.greedy=False \\\n            generating.inference.temperature=1.0 \\\n            generating.query='Which art schools did I applied to?'\n        - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n          if: \"failure()\"\n\n  L2_BioMegatron_Bert_NER_Task:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/token_classification/token_classification_train.py \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/token_classification_results \\\n        trainer.max_epochs=1 \\\n        model.dataset.data_dir=/home/TestData/nlp/ner \\\n        model.language_model.pretrained_model_name=biomegatron345m_biovocab_30k_cased \\\n        model.tokenizer.tokenizer_name=null\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/token_classification_results\n\n  L2_Megatron_GPT_Pretraining_and_Resume_Training_TP2:\n    needs: [cicd-test-container-setup]\n    runs-on: self-hosted-azure\n    timeout-minutes: 10\n    container:\n      image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n      options: \n        # --user 0:128\n        --device=/dev/nvidia0\n        --gpus all\n        --shm-size=8g\n        --env TRANSFORMERS_OFFLINE=0 \n        --env HYDRA_FULL_ERROR=1\n        --volume /mnt/datadrive/TestData:/home/TestData\n    steps:\n        - name: Checkout repository\n          uses: actions/checkout@v4\n        - run: |\n            python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n            trainer.devices=2 \\\n            trainer.accelerator=gpu \\\n            trainer.log_every_n_steps=1 \\\n            trainer.val_check_interval=2 \\\n            trainer.limit_val_batches=2 \\\n            trainer.accumulate_grad_batches=1 \\\n            trainer.max_steps=3 \\\n            trainer.gradient_clip_val=1.0 \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n            model.tensor_model_parallel_size=2 \\\n            model.optim.name=fused_adam \\\n            model.optim.lr=2e-4 \\\n            model.optim.sched.warmup_steps=1 \\\n            model.optim.sched.constant_steps=1 \\\n            model.optim.sched.min_lr=8e-5 \\\n            model.max_position_embeddings=128 \\\n            model.encoder_seq_length=128 \\\n            model.data.seq_length=128 \\\n            model.bias=False \\\n            model.bias_activation_fusion=False \\\n            model.bias_dropout_add_fusion=False \\\n            model.tokenizer.vocab_file=/home/TestData/nlp/megatron_gpt/data/gpt/vocab.json \\\n            model.tokenizer.merge_file=/home/TestData/nlp/megatron_gpt/data/gpt/merges.txt \\\n            model.num_layers=8 \\\n            model.hidden_size=256 \\\n            model.num_attention_heads=8 \\\n            model.activations_checkpoint_method=block \\\n            model.activations_checkpoint_granularity=full \\\n            model.activations_checkpoint_num_layers=1 \\\n            model.data.validation_drop_last=False \\\n            model.data.data_prefix=[.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document,.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document] \\\n            model.data.index_mapping_dir=examples/nlp/language_modeling/gpt_index_mappings\n\n            python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n            trainer.devices=2 \\\n            trainer.accelerator=gpu \\\n            trainer.log_every_n_steps=1 \\\n            trainer.val_check_interval=2 \\\n            trainer.limit_val_batches=2 \\\n            trainer.accumulate_grad_batches=1 \\\n            trainer.max_steps=6 \\\n            trainer.gradient_clip_val=1.0 \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n            exp_manager.resume_if_exists=True \\\n            model.tensor_model_parallel_size=2 \\\n            model.optim.name=fused_adam \\\n            model.optim.lr=2e-4 \\\n            model.optim.sched.warmup_steps=2 \\\n            model.optim.sched.constant_steps=2 \\\n            model.optim.sched.min_lr=8e-5 \\\n            model.max_position_embeddings=128 \\\n            model.encoder_seq_length=128 \\\n            model.data.seq_length=128 \\\n            model.bias=False \\\n            model.bias_activation_fusion=False \\\n            model.bias_dropout_add_fusion=False \\\n            model.tokenizer.vocab_file=/home/TestData/nlp/megatron_gpt/data/gpt/vocab.json \\\n            model.tokenizer.merge_file=/home/TestData/nlp/megatron_gpt/data/gpt/merges.txt \\\n            model.num_layers=8 \\\n            model.hidden_size=256 \\\n            model.num_attention_heads=8 \\\n            model.activations_checkpoint_method=block \\\n            model.activations_checkpoint_granularity=full \\\n            model.activations_checkpoint_num_layers=1 \\\n            model.data.validation_drop_last=False \\\n            model.data.data_prefix=[.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document,.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document] \\\n            model.data.index_mapping_dir=examples/nlp/language_modeling/gpt_index_mappings\n        \n            rm -rf examples/nlp/language_modeling/gpt_pretrain_results\n            rm -rf examples/nlp/language_modeling/gpt_index_mappings\n        - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n          if: \"failure()\"\n\n  L2_Megatron_GPT_with_Rope_Pretraining_and_Resume_Training_TP2:\n    needs: [cicd-test-container-setup]\n    runs-on: self-hosted-azure\n    timeout-minutes: 10\n    container:\n      image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n      options: \n        # --user 0:128\n        --device=/dev/nvidia0\n        --gpus all\n        --shm-size=8g\n        --env TRANSFORMERS_OFFLINE=0 \n        --env HYDRA_FULL_ERROR=1\n        --volume /mnt/datadrive/TestData:/home/TestData\n    steps:\n        - name: Checkout repository\n          uses: actions/checkout@v4\n        - run: |\n           python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n           trainer.devices=2 \\\n           trainer.accelerator=gpu \\\n           trainer.log_every_n_steps=1 \\\n           trainer.val_check_interval=2 \\\n           trainer.limit_val_batches=2 \\\n           trainer.accumulate_grad_batches=1 \\\n           trainer.max_steps=3 \\\n           trainer.gradient_clip_val=1.0 \\\n           exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n           model.tensor_model_parallel_size=2 \\\n           model.optim.name=fused_adam \\\n           model.optim.lr=2e-4 \\\n           model.optim.sched.warmup_steps=1 \\\n           model.optim.sched.constant_steps=1 \\\n           model.optim.sched.min_lr=8e-5 \\\n           model.max_position_embeddings=128 \\\n           model.encoder_seq_length=128 \\\n           model.data.seq_length=128 \\\n           model.position_embedding_type=rope \\\n           model.rotary_percentage=0.5 \\\n           model.bias=False \\\n           model.bias_activation_fusion=False \\\n           model.bias_dropout_add_fusion=False \\\n           model.tokenizer.vocab_file=/home/TestData/nlp/megatron_gpt/data/gpt/vocab.json \\\n           model.tokenizer.merge_file=/home/TestData/nlp/megatron_gpt/data/gpt/merges.txt \\\n           model.num_layers=8 \\\n           model.hidden_size=256 \\\n           model.num_attention_heads=8 \\\n           model.activations_checkpoint_method=block \\\n           model.activations_checkpoint_granularity=full \\\n           model.activations_checkpoint_num_layers=1 \\\n           model.data.data_prefix=[.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document,.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document] \\\n           model.data.index_mapping_dir=examples/nlp/language_modeling/gpt_index_mappings\n        \n            #  commented out to save time on github ci @adithyare\n            # python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n            # trainer.devices=2 \\\n            # trainer.accelerator=gpu \\\n            # trainer.log_every_n_steps=1 \\\n            # trainer.val_check_interval=2 \\\n            # trainer.limit_val_batches=1 \\\n            # trainer.accumulate_grad_batches=1 \\\n            # trainer.max_steps=6 \\\n            # trainer.gradient_clip_val=1.0 \\\n            # exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n            # exp_manager.resume_if_exists=True \\\n            # model.tensor_model_parallel_size=2 \\\n            # model.optim.name=fused_adam \\\n            # model.optim.lr=2e-4 \\\n            # model.optim.sched.warmup_steps=2 \\\n            # model.optim.sched.constant_steps=2 \\\n            # model.optim.sched.min_lr=8e-5 \\\n            # model.max_position_embeddings=128 \\\n            # model.encoder_seq_length=128 \\\n            # model.data.seq_length=128 \\\n            # model.position_embedding_type=rope \\\n            # model.rotary_percentage=0.5 \\\n            # model.normalization=rmsnorm \\\n            # model.bias=False \\\n            # model.bias_activation_fusion=False \\\n            # model.bias_dropout_add_fusion=False \\\n            # model.tokenizer.vocab_file=/home/TestData/nlp/megatron_gpt/data/gpt/vocab.json \\\n            # model.tokenizer.merge_file=/home/TestData/nlp/megatron_gpt/data/gpt/merges.txt \\\n            # model.num_layers=8 \\\n            # model.hidden_size=256 \\\n            # model.num_attention_heads=8 \\\n            # model.activations_checkpoint_method=block \\\n            # model.activations_checkpoint_granularity=full \\\n            # model.activations_checkpoint_num_layers=1 \\\n            # model.data.data_prefix=[.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document,.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document] \\\n            # model.data.index_mapping_dir=examples/nlp/language_modeling/gpt_index_mappings\"\n\n           rm -rf examples/nlp/language_modeling/gpt_pretrain_results\n           rm -rf examples/nlp/language_modeling/gpt_index_mappings\n        - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n          if: \"failure()\"\n\n    #  This test requires Ampere but some of the test GPUs are Volta\n    #  Need to add a check for compute capability before uncommenting this test\n    #  - name: L2: Megatron GPT with Rope Pretraining using Flash Attention and Resume Training TP=2\n    #    when {\n    #      anyOf {\n    #        branch main\n    #        changeRequest target: main\n    #      }\n    #    }\n    #    failFast true\n    #    - run: |\n    #      python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n    #      trainer.devices=2 \\\n    #      trainer.accelerator=gpu \\\n    #      trainer.log_every_n_steps=1 \\\n    #      trainer.val_check_interval=2 \\\n    #      trainer.limit_val_batches=2 \\\n    #      trainer.accumulate_grad_batches=1 \\\n    #      trainer.max_steps=3 \\\n    #      trainer.precision=16 \\\n    #      trainer.gradient_clip_val=1.0 \\\n    #      exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n    #      model.tensor_model_parallel_size=2 \\\n    #      model.optim.name=fused_adam \\\n    #      model.optim.lr=2e-4 \\\n    #      model.optim.sched.warmup_steps=1 \\\n    #      model.optim.sched.constant_steps=1 \\\n    #      model.optim.sched.min_lr=8e-5 \\\n    #      model.max_position_embeddings=128 \\\n    #      model.encoder_seq_length=128 \\\n    #      model.data.seq_length=128 \\\n    #      model.position_embedding_type=rope \\\n    #      model.rotary_percentage=0.5 \\\n    #      model.normalization=rmsnorm \\\n    #      model.bias=False \\\n    #      model.bias_activation_fusion=False \\\n    #      model.bias_dropout_add_fusion=False \\\n    #      model.tokenizer.vocab_file=/home/TestData/nlp/megatron_gpt/data/gpt/vocab.json \\\n    #      model.tokenizer.merge_file=/home/TestData/nlp/megatron_gpt/data/gpt/merges.txt \\\n    #      model.num_layers=8 \\\n    #      model.hidden_size=256 \\\n    #      model.num_attention_heads=8 \\\n    #      model.activations_checkpoint_method=block \\\n    #      model.activations_checkpoint_granularity=full \\\n    #      model.activations_checkpoint_num_layers=1 \\\n    #      model.data.data_prefix=[.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document,.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document] \\\n    #      model.data.index_mapping_dir=examples/nlp/language_modeling/gpt_index_mappings \\\n    #      model.use_flash_attention=True \"\n    #      #  commented out to save time on github ci @adithyare\n    #      # python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n    #      # trainer.devices=2 \\\n    #      # trainer.accelerator=gpu \\\n    #      # trainer.log_every_n_steps=1 \\\n    #      # trainer.val_check_interval=2 \\\n    #      # trainer.limit_val_batches=1 \\\n    #      # trainer.accumulate_grad_batches=1 \\\n    #      # trainer.max_steps=6 \\\n    #      # trainer.precision=16 \\\n    #      # trainer.gradient_clip_val=1.0 \\\n    #      # exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n    #      # exp_manager.resume_if_exists=True \\\n    #      # model.tensor_model_parallel_size=2 \\\n    #      # model.optim.name=fused_adam \\\n    #      # model.optim.lr=2e-4 \\\n    #      # model.optim.sched.warmup_steps=2 \\\n    #      # model.optim.sched.constant_steps=2 \\\n    #      # model.optim.sched.min_lr=8e-5 \\\n    #      # model.max_position_embeddings=128 \\\n    #      # model.encoder_seq_length=128 \\\n    #      # model.data.seq_length=128 \\\n    #      # model.position_embedding_type=rope \\\n    #      # model.rotary_percentage=0.5 \\\n    #      # model.normalization=rmsnorm \\\n    #      # model.bias=False \\\n    #      # model.bias_activation_fusion=False \\\n    #      # model.bias_dropout_add_fusion=False \\\n    #      # model.tokenizer.vocab_file=/home/TestData/nlp/megatron_gpt/data/gpt/vocab.json \\\n    #      # model.tokenizer.merge_file=/home/TestData/nlp/megatron_gpt/data/gpt/merges.txt \\\n    #      # model.num_layers=8 \\\n    #      # model.hidden_size=256 \\\n    #      # model.num_attention_heads=8 \\\n    #      # model.activations_checkpoint_method=block \\\n    #      # model.activations_checkpoint_granularity=full \\\n    #      # model.activations_checkpoint_num_layers=1 \\\n    #      # model.data.data_prefix=[.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document,.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document] \\\n    #      # model.data.index_mapping_dir=examples/nlp/language_modeling/gpt_index_mappings \\\n    #      # model.use_flash_attention=True\"\n    #      rm -rf examples/nlp/language_modeling/gpt_pretrain_results\"\n    #      rm -rf examples/nlp/language_modeling/gpt_index_mappings\"\n    #    }\n    #  }\n\n  L2_Megatron_GPT_with_ALiBi_Pretraining_and_Resume_Training_TP2:\n    needs: [cicd-test-container-setup]\n    runs-on: self-hosted-azure\n    timeout-minutes: 10\n    container:\n      image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n      options: \n        # --user 0:128\n        --device=/dev/nvidia0\n        --gpus all\n        --shm-size=8g\n        --env TRANSFORMERS_OFFLINE=0 \n        --env HYDRA_FULL_ERROR=1\n        --volume /mnt/datadrive/TestData:/home/TestData\n    steps:\n        - name: Checkout repository\n          uses: actions/checkout@v4\n        - run: |\n            python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n            trainer.devices=2 \\\n            trainer.accelerator=gpu \\\n            trainer.log_every_n_steps=1 \\\n            trainer.val_check_interval=2 \\\n            trainer.limit_val_batches=2 \\\n            trainer.accumulate_grad_batches=1 \\\n            trainer.max_steps=3 \\\n            trainer.gradient_clip_val=1.0 \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n            model.tensor_model_parallel_size=2 \\\n            model.optim.name=fused_adam \\\n            model.optim.lr=2e-4 \\\n            model.optim.sched.warmup_steps=1 \\\n            model.optim.sched.constant_steps=1 \\\n            model.optim.sched.min_lr=8e-5 \\\n            model.max_position_embeddings=128 \\\n            model.encoder_seq_length=128 \\\n            model.data.seq_length=128 \\\n            model.position_embedding_type=alibi \\\n            model.bias=False \\\n            model.bias_activation_fusion=False \\\n            model.bias_dropout_add_fusion=False \\\n            model.tokenizer.vocab_file=/home/TestData/nlp/megatron_gpt/data/gpt/vocab.json \\\n            model.tokenizer.merge_file=/home/TestData/nlp/megatron_gpt/data/gpt/merges.txt \\\n            model.num_layers=8 \\\n            model.hidden_size=256 \\\n            model.num_attention_heads=8 \\\n            model.activations_checkpoint_method=block \\\n            model.activations_checkpoint_granularity=full \\\n            model.activations_checkpoint_num_layers=1 \\\n            model.data.data_prefix=[.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document,.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document] \\\n            model.data.index_mapping_dir=examples/nlp/language_modeling/gpt_index_mappings\n        \n            # not testing resume functionality to save time on ci @adithyare\n            #python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n            #trainer.devices=2 \\\n            #trainer.accelerator=gpu \\\n            #trainer.log_every_n_steps=1 \\\n            #trainer.val_check_interval=2 \\\n            #trainer.limit_val_batches=1 \\\n            #trainer.accumulate_grad_batches=1 \\\n            #trainer.max_steps=6 \\\n            #trainer.gradient_clip_val=1.0 \\\n            #exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n            #exp_manager.resume_if_exists=True \\\n            #model.tensor_model_parallel_size=2 \\\n            #model.optim.name=fused_adam \\\n            #model.optim.lr=2e-4 \\\n            #model.optim.sched.warmup_steps=2 \\\n            #model.optim.sched.constant_steps=2 \\\n            #model.optim.sched.min_lr=8e-5 \\\n            #model.max_position_embeddings=128 \\\n            #model.encoder_seq_length=128 \\\n            #model.data.seq_length=128 \\\n            #model.position_embedding_type=alibi \\\n            #model.normalization=rmsnorm \\\n            #model.bias=False \\\n            #model.bias_activation_fusion=False \\\n            #model.bias_dropout_add_fusion=False \\\n            #model.tokenizer.vocab_file=/home/TestData/nlp/megatron_gpt/data/gpt/vocab.json \\\n            #model.tokenizer.merge_file=/home/TestData/nlp/megatron_gpt/data/gpt/merges.txt \\\n            #model.num_layers=8 \\\n            #model.hidden_size=256 \\\n            #model.num_attention_heads=8 \\\n            #model.activations_checkpoint_method=block \\\n            #model.activations_checkpoint_granularity=full \\\n            #model.activations_checkpoint_num_layers=1 \\\n            #model.data.data_prefix=[.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document,.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document] \\\n            #model.data.index_mapping_dir=examples/nlp/language_modeling/gpt_index_mappings\"\n        \n            rm -rf examples/nlp/language_modeling/gpt_pretrain_results\n            rm -rf examples/nlp/language_modeling/gpt_index_mappings\n        - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n          if: \"failure()\"\n\n  L2_Megatron_GPT_with_KERPLE_Pretraining_and_Resume_Training_TP2:\n    needs: [cicd-test-container-setup]\n    runs-on: self-hosted-azure\n    timeout-minutes: 10\n    container:\n      image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n      options: \n        # --user 0:128\n        --device=/dev/nvidia0\n        --gpus all\n        --shm-size=8g\n        --env TRANSFORMERS_OFFLINE=0 \n        --env HYDRA_FULL_ERROR=1\n        --volume /mnt/datadrive/TestData:/home/TestData\n    steps:\n        - name: Checkout repository\n          uses: actions/checkout@v4\n        - run: |\n            python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n            trainer.devices=2 \\\n            trainer.accelerator=gpu \\\n            trainer.log_every_n_steps=1 \\\n            trainer.val_check_interval=2 \\\n            trainer.limit_val_batches=2 \\\n            trainer.accumulate_grad_batches=1 \\\n            trainer.max_steps=3 \\\n            trainer.gradient_clip_val=1.0 \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n            model.tensor_model_parallel_size=2 \\\n            model.optim.name=fused_adam \\\n            model.optim.lr=2e-4 \\\n            model.optim.sched.warmup_steps=1 \\\n            model.optim.sched.constant_steps=1 \\\n            model.optim.sched.min_lr=8e-5 \\\n            model.max_position_embeddings=128 \\\n            model.encoder_seq_length=128 \\\n            model.data.seq_length=128 \\\n            model.position_embedding_type=kerple \\\n            model.bias=False \\\n            model.bias_activation_fusion=False \\\n            model.bias_dropout_add_fusion=False \\\n            model.tokenizer.vocab_file=/home/TestData/nlp/megatron_gpt/data/gpt/vocab.json \\\n            model.tokenizer.merge_file=/home/TestData/nlp/megatron_gpt/data/gpt/merges.txt \\\n            model.num_layers=8 \\\n            model.hidden_size=256 \\\n            model.num_attention_heads=8 \\\n            model.activations_checkpoint_method=block \\\n            model.activations_checkpoint_granularity=full \\\n            model.activations_checkpoint_num_layers=1 \\\n            model.data.data_prefix=[.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document,.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document] \\\n            model.data.index_mapping_dir=examples/nlp/language_modeling/gpt_index_mappings\n            \n            # commented out to save time on github ci @adithyare\n            #python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n            #trainer.devices=2 \\\n            #trainer.accelerator=gpu \\\n            #trainer.log_every_n_steps=1 \\\n            #trainer.val_check_interval=2 \\\n            #trainer.limit_val_batches=1 \\\n            #trainer.accumulate_grad_batches=1 \\\n            #trainer.max_steps=6 \\\n            #trainer.precision=16 \\\n            #trainer.gradient_clip_val=1.0 \\\n            #exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n            #exp_manager.resume_if_exists=True \\\n            #model.tensor_model_parallel_size=2 \\\n            #model.optim.name=fused_adam \\\n            #model.optim.lr=2e-4 \\\n            #model.optim.sched.warmup_steps=2 \\\n            #model.optim.sched.constant_steps=2 \\\n            #model.optim.sched.min_lr=8e-5 \\\n            #model.max_position_embeddings=128 \\\n            #model.encoder_seq_length=128 \\\n            #model.data.seq_length=128 \\\n            #model.position_embedding_type=kerple \\\n            #model.normalization=rmsnorm \\\n            #model.bias=False \\\n            #model.bias_activation_fusion=False \\\n            #model.bias_dropout_add_fusion=False \\\n            #model.tokenizer.vocab_file=/home/TestData/nlp/megatron_gpt/data/gpt/vocab.json \\\n            #model.tokenizer.merge_file=/home/TestData/nlp/megatron_gpt/data/gpt/merges.txt \\\n            #model.num_layers=8 \\\n            #model.hidden_size=256 \\\n            #model.num_attention_heads=8 \\\n            #model.activations_checkpoint_method=block \\\n            #model.activations_checkpoint_granularity=full \\\n            #model.activations_checkpoint_num_layers=1 \\\n            #model.data.data_prefix=[.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document,.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document] \\\n            #model.data.index_mapping_dir=examples/nlp/language_modeling/gpt_index_mappings\"\n            \n            rm -rf examples/nlp/language_modeling/gpt_pretrain_results\n            rm -rf examples/nlp/language_modeling/gpt_index_mappings\n        - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n          if: \"failure()\"\n\n  L2_Megatron_GPT_Pretraining_and_Resume_Training_PP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=2 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=3 \\\n        trainer.precision=bf16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n        model.pipeline_model_parallel_size=2 \\\n        model.tensor_model_parallel_size=1 \\\n        model.mcore_gpt=True \\\n        model.megatron_amp_O2=True \\\n        model.optim.name=distributed_fused_adam \\\n        model.optim.lr=2e-4 \\\n        model.optim.sched.warmup_steps=1 \\\n        model.optim.sched.constant_steps=1 \\\n        model.optim.sched.min_lr=8e-5 \\\n        model.max_position_embeddings=128 \\\n        model.encoder_seq_length=128 \\\n        model.activation=fast-swiglu \\\n        model.bias_activation_fusion=False \\\n        model.hidden_dropout=0.0 \\\n        model.attention_dropout=0.0 \\\n        model.transformer_block_type=normformer \\\n        model.headscale=True \\\n        model.data.seq_length=128 \\\n        model.tokenizer.vocab_file=/home/TestData/nlp/megatron_gpt/data/gpt/vocab.json \\\n        model.tokenizer.merge_file=/home/TestData/nlp/megatron_gpt/data/gpt/merges.txt \\\n        model.num_layers=8 \\\n        model.hidden_size=256 \\\n        model.num_attention_heads=8 \\\n        model.activations_checkpoint_method=block \\\n        model.activations_checkpoint_num_layers=1 \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document,.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/gpt_index_mappings\n\n        python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=2 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=6 \\\n        trainer.precision=bf16 \\\n        trainer.gradient_clip_val=1.0 \\\n        model.mcore_gpt=True \\\n        model.megatron_amp_O2=True \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n        exp_manager.resume_if_exists=True \\\n        model.pipeline_model_parallel_size=2 \\\n        model.tensor_model_parallel_size=1 \\\n        model.optim.name=distributed_fused_adam \\\n        model.optim.lr=2e-4 \\\n        model.optim.sched.warmup_steps=2 \\\n        model.optim.sched.constant_steps=2 \\\n        model.optim.sched.min_lr=8e-5 \\\n        model.max_position_embeddings=128 \\\n        model.encoder_seq_length=128 \\\n        model.activation=fast-swiglu \\\n        model.bias_activation_fusion=False \\\n        model.hidden_dropout=0.0 \\\n        model.attention_dropout=0.0 \\\n        model.transformer_block_type=normformer \\\n        model.headscale=True \\\n        model.data.seq_length=128 \\\n        model.tokenizer.vocab_file=/home/TestData/nlp/megatron_gpt/data/gpt/vocab.json \\\n        model.tokenizer.merge_file=/home/TestData/nlp/megatron_gpt/data/gpt/merges.txt \\\n        model.num_layers=8 \\\n        model.hidden_size=256 \\\n        model.num_attention_heads=8 \\\n        model.activations_checkpoint_method=block \\\n        model.activations_checkpoint_num_layers=1 \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document,.5,/home/TestData/nlp/megatron_gpt/data/gpt/simple_wiki_gpt_preproc_text_document] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/gpt_index_mappings\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/gpt_pretrain_results\n        rm -rf examples/nlp/language_modeling/gpt_index_mappings\n\n  L2_Megatron_GPT_Finetuning_PP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/tuning/megatron_gpt_finetuning.py \\\n        trainer.devices=2 \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=2 \\\n        +trainer.limit_val_batches=2 \\\n        trainer.max_steps=3 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/gpt_sft_results \\\n        model.pipeline_model_parallel_size=2 \\\n        model.tensor_model_parallel_size=1 \\\n        model.restore_from_path=/home/TestData/nlp/megatron_gpt/PP2/gpt_pp2_tp1.nemo \\\n        model.optim.name=fused_adam \\\n        model.optim.lr=2e-4 \\\n        model.peft.peft_scheme=null \\\n        model.data.train_ds.micro_batch_size=1 \\\n        model.data.train_ds.global_batch_size=4 \\\n        model.data.train_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl,/home/TestData/nlp/megatron_sft/trec.jsonl] \\\n        model.data.train_ds.concat_sampling_probabilities=[0.3,0.7] \\\n        model.data.train_ds.num_workers=0 \\\n        model.data.test_ds.micro_batch_size=1 \\\n        model.data.test_ds.global_batch_size=1 \\\n        model.data.test_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n        model.data.test_ds.names=[quarel] \\\n        model.data.validation_ds.micro_batch_size=1 \\\n        model.data.validation_ds.global_batch_size=1 \\\n        model.data.validation_ds.num_workers=0 \\\n        model.data.validation_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n        model.data.validation_ds.names=[quarel]\n\n        python examples/nlp/language_modeling/tuning/megatron_gpt_finetuning.py \\\n        trainer.devices=2 \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=1 \\\n        +trainer.limit_val_batches=2 \\\n        trainer.max_steps=3 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/gpt_sft_results \\\n        model.pipeline_model_parallel_size=2 \\\n        model.tensor_model_parallel_size=1 \\\n        model.restore_from_path=/home/TestData/nlp/megatron_gpt/PP2/gpt_pp2_tp1.nemo \\\n        model.optim.name=fused_adam \\\n        model.optim.lr=2e-4 \\\n        model.peft.peft_scheme=null \\\n        model.data.train_ds.micro_batch_size=1 \\\n        model.data.train_ds.global_batch_size=4 \\\n        model.data.train_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl,/home/TestData/nlp/megatron_sft/trec.jsonl] \\\n        model.data.train_ds.concat_sampling_probabilities=[0.3,0.7] \\\n        model.data.train_ds.num_workers=0 \\\n        model.data.test_ds.micro_batch_size=1 \\\n        model.data.test_ds.global_batch_size=1 \\\n        model.data.test_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n        model.data.test_ds.names=[quarel] \\\n        model.data.validation_ds.micro_batch_size=1 \\\n        model.data.validation_ds.global_batch_size=1 \\\n        model.data.validation_ds.num_workers=0 \\\n        model.data.validation_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n        model.data.validation_ds.names=[quarel]\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/gpt_sft_results\n\n  L2_Megatron_GPT_Finetuning_StarCoder_PP1:\n    needs: [cicd-test-container-setup]\n    runs-on: self-hosted-azure-gpus-1\n    timeout-minutes: 10\n    container:\n      image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n      options: \n        # --user 0:128\n        --device=/dev/nvidia0\n        --gpus all\n        --shm-size=8g\n        --env TRANSFORMERS_OFFLINE=0 \n        --env HYDRA_FULL_ERROR=1\n        --volume /mnt/datadrive/TestData:/home/TestData\n    steps:\n        - name: Checkout repository\n          uses: actions/checkout@v4\n        - run: |\n            python examples/nlp/language_modeling/tuning/megatron_gpt_finetuning.py \\\n            trainer.devices=1 \\\n            trainer.num_nodes=1 \\\n            trainer.precision=bf16 \\\n            trainer.max_steps=4 \\\n            trainer.val_check_interval=4 \\\n            trainer.enable_checkpointing=False \\\n            +trainer.limit_val_batches=2 \\\n            +trainer.limit_test_batches=2 \\\n            exp_manager.checkpoint_callback_params.save_best_model=False \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/gpt_sft_results \\\n            model.peft.peft_scheme=none \\\n            model.optim.name=distributed_fused_adam \\\n            model.restore_from_path=/home/TestData/nlp/megatron_gpt/starcoder-ci-nemo/megatron_starcoder_tp1_pp1.nemo \\\n            model.tensor_model_parallel_size=1 \\\n            model.pipeline_model_parallel_size=1 \\\n            model.data.train_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n            model.data.train_ds.num_workers=0 \\\n            model.data.test_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n            model.data.validation_ds.num_workers=0 \\\n            model.data.validation_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n            model.data.test_ds.num_workers=0 \\\n            model.data.train_ds.concat_sampling_probabilities=[1.0]\n        \n            rm -rf examples/nlp/language_modeling/gpt_sft_results\n        - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n          if: \"failure()\"\n  \n  L2_Megatron_GPT_Embedding:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        rm -rf /home/TestData/nlp/megatron_ir/working_dir\n\n        python examples/nlp/information_retrieval/megatron_gpt_embedding_finetuning.py \\\n        exp_manager.exp_dir='/home/TestData/nlp/megatron_ir/working_dir' \\\n        model.global_batch_size=4 \\\n        model.micro_batch_size=4 \\\n        trainer.devices=1 \\\n        trainer.num_nodes=1 \\\n        trainer.max_epochs=null \\\n        trainer.max_steps=20 \\\n        trainer.val_check_interval=10 \\\n        model.restore_from_path='/home/TestData/nlp/megatron_gpt/mcore_45M/megatron_llama.nemo' \\\n        model.peft.lora_tuning.adapter_dim=8 \\\n        model.data.validation_ds.query_file_names=[/home/TestData/nlp/megatron_ir/test_query.jsonl] \\\n        model.data.validation_ds.doc_file_names=[/home/TestData/nlp/megatron_ir/test_doc.jsonl] \\\n        model.data.validation_ds.write_embeddings_to_file=True \\\n        model.data.validation_ds.output_file_path_prefix='/home/TestData/nlp/megatron_ir/working_dir/val_embs' \\\n        model.data.train_ds.file_names=[/home/TestData/nlp/megatron_ir/train.jsonl]\n\n\n        python examples/nlp/information_retrieval/megatron_gpt_embedding_generate.py \\\n        trainer.devices=1 \\\n        trainer.num_nodes=1 \\\n        model.restore_from_path='/home/TestData/nlp/megatron_gpt/mcore_45M/megatron_llama.nemo' \\\n        model.peft.restore_from_path='/home/TestData/nlp/megatron_ir/working_dir/megatron_gpt_peft_lora_tuning/checkpoints/megatron_gpt_peft_lora_tuning.nemo' \\\n        model.global_batch_size=4 \\\n        model.micro_batch_size=4 \\\n        model.peft.lora_tuning.adapter_dim=8 \\\n        model.data.test_ds.write_embeddings_to_file=True \\\n        model.data.test_ds.output_file_path_prefix='/home/TestData/nlp/megatron_ir/working_dir/test_embs' \\\n        model.data.test_ds.query_file_names=[/home/TestData/nlp/megatron_ir/test_query.jsonl] \\\n        model.data.test_ds.doc_file_names=[/home/TestData/nlp/megatron_ir/test_doc.jsonl]\n      AFTER_SCRIPT: |\n        rm -rf /home/TestData/nlp/megatron_ir/working_dir\n\n  L2_Megatron_GPT_PEFT_Lora_PP2_O2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        rm -rf /home/TestData/nlp/lora_tuning_pp2\n\n        python examples/nlp/language_modeling/tuning/megatron_gpt_finetuning.py \\\n        trainer.devices=2 \\\n        trainer.log_every_n_steps=1 \\\n        trainer.max_epochs=9999 \\\n        trainer.max_steps=3 \\\n        trainer.val_check_interval=3 \\\n        ++trainer.limit_val_batches=2 \\\n        trainer.precision=bf16 \\\n        exp_manager.exp_dir=/home/TestData/nlp/lora_tuning_pp2 \\\n        model.pipeline_model_parallel_size=2 \\\n        model.tensor_model_parallel_size=1 \\\n        model.restore_from_path=/home/TestData/nlp/megatron_gpt/mcore_45M/megatron_llama.nemo \\\n        model.megatron_amp_O2=True \\\n        model.peft.peft_scheme=lora \\\n        model.answer_only_loss=True \\\n        model.micro_batch_size=1 \\\n        model.global_batch_size=1 \\\n        model.data.train_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n        model.data.train_ds.concat_sampling_probabilities=[1.0] \\\n        model.data.train_ds.num_workers=0 \\\n        model.data.validation_ds.num_workers=0 \\\n        model.data.validation_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n        model.data.validation_ds.names=[quarel]\n        \n        python examples/nlp/language_modeling/tuning/megatron_gpt_generate.py \\\n        model.restore_from_path=/home/TestData/nlp/megatron_gpt/mcore_45M/megatron_llama.nemo \\\n        model.peft.restore_from_path=/home/TestData/nlp/lora_tuning_pp2/megatron_gpt_peft_lora_tuning/checkpoints/megatron_gpt_peft_lora_tuning.nemo \\\n        model.pipeline_model_parallel_size=2 \\\n        model.tensor_model_parallel_size=1 \\\n        trainer.devices=2 \\\n        model.megatron_amp_O2=True \\\n        model.data.test_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel_4.jsonl] \\\n        model.data.test_ds.names=['quarel4'] \\\n        model.global_batch_size=2 \\\n        model.micro_batch_size=1 \\\n        model.data.test_ds.tokens_to_generate=10 \\\n        model.data.test_ds.write_predictions_to_file=True \\\n        model.data.test_ds.output_file_path_prefix='/home/TestData/nlp/lora_tuning_pp2/out' \\\n        inference.greedy=True \\\n        inference.repetition_penalty=1.0 \\\n        inference.outfile_path='/home/TestData/nlp/lora_tuning_pp2/out.jsonl'\n      AFTER_SCRIPT: |\n        rm -rf /home/TestData/nlp/lora_tuning_pp2\n\n  L2_Megatron_GPT_PEFT_Lora_TP2_O1:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        rm -rf /home/TestData/nlp/lora_tuning_tp2\n\n        python examples/nlp/language_modeling/tuning/megatron_gpt_finetuning.py \\\n        trainer.devices=2 \\\n        trainer.log_every_n_steps=1 \\\n        trainer.max_epochs=9999 \\\n        trainer.max_steps=3 \\\n        trainer.val_check_interval=3 \\\n        ++trainer.limit_val_batches=2 \\\n        trainer.precision=bf16 \\\n        exp_manager.exp_dir=/home/TestData/nlp/lora_tuning_tp2 \\\n        model.pipeline_model_parallel_size=1 \\\n        model.tensor_model_parallel_size=2 \\\n        model.restore_from_path=/home/TestData/nlp/megatron_gpt/mcore_45M/megatron_llama.nemo \\\n        model.peft.peft_scheme='lora' \\\n        model.answer_only_loss=True \\\n        model.micro_batch_size=1 \\\n        model.global_batch_size=1 \\\n        model.data.train_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n        model.data.train_ds.concat_sampling_probabilities=[1.0] \\\n        model.data.train_ds.num_workers=0 \\\n        model.data.validation_ds.num_workers=0 \\\n        model.data.validation_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n        model.data.validation_ds.names=[quarel]\n\n        python examples/nlp/language_modeling/tuning/megatron_gpt_generate.py \\\n        model.restore_from_path=/home/TestData/nlp/megatron_gpt/mcore_45M/megatron_llama.nemo \\\n        model.peft.restore_from_path=/home/TestData/nlp/lora_tuning_tp2/megatron_gpt_peft_lora_tuning/checkpoints/megatron_gpt_peft_lora_tuning.nemo \\\n        model.tensor_model_parallel_size=2 \\\n        trainer.devices=2 \\\n        model.data.test_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel_4.jsonl] \\\n        model.data.test_ds.names=['quarel4'] \\\n        model.global_batch_size=2 \\\n        model.micro_batch_size=1 \\\n        model.data.test_ds.tokens_to_generate=10 \\\n        model.data.test_ds.write_predictions_to_file=True \\\n        model.data.test_ds.output_file_path_prefix='/home/TestData/nlp/lora_tuning_tp2/out' \\\n        inference.greedy=True \\\n        inference.repetition_penalty=1.0 \\\n        inference.outfile_path='/home/TestData/nlp/lora_tuning_tp2/out.jsonl'\n      AFTER_SCRIPT: |\n        rm -rf /home/TestData/nlp/lora_tuning_tp2\n\n  L2_Megatron_GPT_Eval:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_gpt_eval.py \\\n            gpt_model_file=/home/TestData/nlp/megatron_gpt/125M/megatron_gpt.nemo \\\n            prompts=['How to fix GPU memory? A:'] \\\n            tensor_model_parallel_size=1 \\\n            inference.tokens_to_generate=32 \\\n            trainer.precision=32\n\n  L2_Megatron_GPT_Eval_PP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_gpt_eval.py \\\n            gpt_model_file=/home/TestData/nlp/megatron_gpt/PP2/gpt_pp2_tp1.nemo \\\n            server=False \\\n            tensor_model_parallel_size=1 \\\n            pipeline_model_parallel_size=2 \\\n            trainer.devices=2 \\\n            trainer.num_nodes=1 \\\n            trainer.precision=32\n\n  L2_Megatron_GPT_SFT_Eval_inference_seq_len_greaterThan_training_seq_len:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/tuning/megatron_gpt_generate.py \\\n            model.restore_from_path=/home/TestData/nlp/megatron_gpt_sft/megatron_gpt_rope_sft.nemo \\\n            model.peft.restore_from_path=null \\\n            model.data.test_ds.file_names=[/home/TestData/nlp/megatron_gpt_sft/sample.jsonl] \\\n            model.data.test_ds.names=[test] \\\n            model.data.test_ds.global_batch_size=1 \\\n            model.data.test_ds.micro_batch_size=1 \\\n            model.data.test_ds.tokens_to_generate=30 \\\n            model.data.test_ds.max_seq_length=6000 \\\n            model.data.test_ds.write_predictions_to_file=True \\\n            model.data.test_ds.output_file_path_prefix=examples/nlp/language_modeling/out \\\n            inference.greedy=True \\\n            inference.repetition_penalty=1.0 \\\n            inference.outfile_path=examples/nlp/language_modeling/out.jsonl \n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/out.jsonl\n\n    # TODO: Add this test back. Test was failing on CI machines due to HW error\n    # - name: L2: Megatron GPT Convert from Megatron-LM checkpoing and Eval\n    #   when {\n    #     anyOf {\n    #       branch main\n    #       changeRequest target: main\n    #     }\n    #   }\n    #   failFast true\n    #   - run: |\n    #     python -m torch.distributed.launch --nproc_per_node=2 \\\n    #     examples/nlp/language_modeling/megatron_lm_ckpt_to_nemo.py \\\n    #     --checkpoint_folder=/home/TestData/nlp/megatron_gpt/data/gpt/iter_0008700 \\\n    #     --checkpoint_name=model_optim_rng.pt \\\n    #     --hparams_file=/home/TestData/nlp/megatron_gpt/data/gpt/iter_0008700/hparams.yaml \\\n    #     --nemo_file_path=examples/nlp/language_modeling/small_gpt.nemo \\\n    #     --model_type=gpt \\\n    #     --pipeline_model_parallel_size=1 \\\n    #     --gpus_per_node=2 \\\n    #     --tensor_model_parallel_size=2\"\n    #     python examples/nlp/language_modeling/megatron_gpt_eval.py \\\n    #     --gpt_model_file=examples/nlp/language_modeling/small_gpt.nemo \\\n    #     --tokens_to_generate=32 \\\n    #     --tensor_model_parallel_size=2 \\\n    #     --prompt=This is a test.\n    #     rm examples/nlp/language_modeling/small_gpt.nemo\n  \n  # L2_Megatron_Change_Partitions\n  L2_Megatron_Change_Partitions_Reduce_TP_Num_Partitions_-2_to_1-_and_PP_Num_Partitions_-1_to_2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_change_num_partitions.py \\\n            --model_file /home/TestData/nlp/megatron_gpt/TP2/megatron_gpt_tp2.nemo \\\n            --target_file /home/TestData/nlp/megatron_gpt/TP2-Temp/test-reduce.nemo \\\n            --tensor_model_parallel_size 2 \\\n            --target_tensor_model_parallel_size 1 \\\n            --pipeline_model_parallel_size 1 \\\n            --target_pipeline_model_parallel_size 2\n      AFTER_SCRIPT: |\n        rm /home/TestData/nlp/megatron_gpt/TP2-Temp/test-reduce.nemo\n\n  L2_Megatron_Change_Partitions_Increase_TP_Num_Partitions_-2_to_4-_and_PP_Num_Partitions_-1_to_2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_change_num_partitions.py \\\n            --model_file /home/TestData/nlp/megatron_gpt/TP2/megatron_gpt_tp2.nemo \\\n            --target_file /home/TestData/nlp/megatron_gpt/TP2-Temp/test-increase.nemo \\\n            --tensor_model_parallel_size 2 \\\n            --target_tensor_model_parallel_size 4 \\\n            --pipeline_model_parallel_size 1 \\\n            --target_pipeline_model_parallel_size 1\n      AFTER_SCRIPT: |\n        rm /home/TestData/nlp/megatron_gpt/TP2-Temp/test-increase.nemo\n\n  L2_Megatron_T5_Pretraining_and_Resume_Training_TP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_t5_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=10 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/t5_pretrain_results \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation=swiglu \\\n        model.encoder.masked_softmax_fusion=False \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.position_embedding_type=relative \\\n        model.decoder.num_layers=2 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation=fast-swiglu \\\n        model.decoder.masked_softmax_fusion=False \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method=block \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.transformer_block_type=pre_ln \\\n        model.decoder.transformer_block_type=pre_ln \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src,.5,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/t5_index_mappings \\\n        model.data.data_impl=text_mmap \\\n        +model.data.data_impl_kwargs.newline_int=10 \\\n        +model.data.data_impl_kwargs.header_lines=0 \\\n        +model.data.data_impl_kwargs.workers=null \\\n        +model.data.data_impl_kwargs.sort_dataset_paths=False \\\n        model.share_token_embeddings=False \\\n        model.share_decoder_tokens_head_embeddings=False\n\n        python examples/nlp/language_modeling/megatron_t5_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=1 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/t5_pretrain_results \\\n        exp_manager.resume_if_exists=True \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation=swiglu \\\n        model.encoder.masked_softmax_fusion=False \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.position_embedding_type=relative \\\n        model.decoder.num_layers=2 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation=fast-swiglu \\\n        model.decoder.masked_softmax_fusion=False \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method=block \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.transformer_block_type=pre_ln \\\n        model.decoder.transformer_block_type=pre_ln \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src,.5,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/t5_index_mappings \\\n        model.data.data_impl=text_mmap \\\n        +model.data.data_impl_kwargs.newline_int=10 \\\n        +model.data.data_impl_kwargs.header_lines=0 \\\n        +model.data.data_impl_kwargs.workers=null \\\n        +model.data.data_impl_kwargs.sort_dataset_paths=False \\\n        model.share_token_embeddings=False \\\n        model.share_decoder_tokens_head_embeddings=False\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/t5_pretrain_results\n        rm -rf examples/nlp/language_modeling/t5_index_mappings\n\n  L2_Megatron_T5_with_ALiBi_Pretraining_and_Resume_Training_TP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_t5_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=10 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/t5_pretrain_results \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation=swiglu \\\n        model.encoder.masked_softmax_fusion=False \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.position_embedding_type=alibi \\\n        model.decoder.num_layers=2 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation=swiglu \\\n        model.decoder.masked_softmax_fusion=False \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method=block \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.transformer_block_type=pre_ln \\\n        model.decoder.transformer_block_type=pre_ln \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src,.5,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/t5_index_mappings \\\n        model.data.data_impl=text_mmap \\\n        +model.data.data_impl_kwargs.newline_int=10 \\\n        +model.data.data_impl_kwargs.header_lines=0 \\\n        +model.data.data_impl_kwargs.workers=null \\\n        +model.data.data_impl_kwargs.sort_dataset_paths=False \\\n        model.share_token_embeddings=False \\\n        model.share_decoder_tokens_head_embeddings=False\n\n        python examples/nlp/language_modeling/megatron_t5_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=1 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/t5_pretrain_results \\\n        exp_manager.resume_if_exists=True \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation=swiglu \\\n        model.encoder.masked_softmax_fusion=False \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.position_embedding_type=alibi \\\n        model.decoder.num_layers=2 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation=swiglu \\\n        model.decoder.masked_softmax_fusion=False \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method=block \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.transformer_block_type=pre_ln \\\n        model.decoder.transformer_block_type=pre_ln \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src,.5,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/t5_index_mappings \\\n        model.data.data_impl=text_mmap \\\n        +model.data.data_impl_kwargs.newline_int=10 \\\n        +model.data.data_impl_kwargs.header_lines=0 \\\n        +model.data.data_impl_kwargs.workers=null \\\n        +model.data.data_impl_kwargs.sort_dataset_paths=False \\\n        model.share_token_embeddings=False \\\n        model.share_decoder_tokens_head_embeddings=False\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/t5_pretrain_results\n        rm -rf examples/nlp/language_modeling/t5_index_mappings\n\n  L2_Megatron_T5_with_KERPLE_Pretraining_and_Resume_Training_TP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_t5_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=10 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/t5_pretrain_results \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation=swiglu \\\n        model.encoder.masked_softmax_fusion=False \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.position_embedding_type=kerple \\\n        model.decoder.num_layers=2 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation=swiglu \\\n        model.decoder.masked_softmax_fusion=False \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method=block \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.transformer_block_type=pre_ln \\\n        model.decoder.transformer_block_type=pre_ln \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src,.5,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/t5_index_mappings \\\n        model.data.data_impl=text_mmap \\\n        +model.data.data_impl_kwargs.newline_int=10 \\\n        +model.data.data_impl_kwargs.header_lines=0 \\\n        +model.data.data_impl_kwargs.workers=null \\\n        +model.data.data_impl_kwargs.sort_dataset_paths=False \\\n        model.share_token_embeddings=False \\\n        model.share_decoder_tokens_head_embeddings=False\n\n        python examples/nlp/language_modeling/megatron_t5_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=1 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/t5_pretrain_results \\\n        exp_manager.resume_if_exists=True \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation=swiglu \\\n        model.encoder.masked_softmax_fusion=False \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.position_embedding_type=kerple \\\n        model.decoder.num_layers=2 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation=swiglu \\\n        model.decoder.masked_softmax_fusion=False \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method=block \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.transformer_block_type=pre_ln \\\n        model.decoder.transformer_block_type=pre_ln \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.src,.5,/home/TestData/nlp/nmt/toy_data/wmt14-de-en.ref] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/t5_index_mappings \\\n        model.data.data_impl=text_mmap \\\n        +model.data.data_impl_kwargs.newline_int=10 \\\n        +model.data.data_impl_kwargs.header_lines=0 \\\n        +model.data.data_impl_kwargs.workers=null \\\n        +model.data.data_impl_kwargs.sort_dataset_paths=False \\\n        model.share_token_embeddings=False \\\n        model.share_decoder_tokens_head_embeddings=False\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/t5_pretrain_results\n        rm -rf examples/nlp/language_modeling/t5_index_mappings\n\n  L2_Megatron_T5_Pretraining_and_Resume_Training_PP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_t5_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=10 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/t5_pretrain_results \\\n        model.pipeline_model_parallel_size=2 \\\n        model.pipeline_model_parallel_split_rank=1 \\\n        model.seq_length=256 \\\n        model.encoder.num_layers=4 \\\n        model.decoder.num_layers=1 \\\n        model.encoder.hidden_size=64 \\\n        model.decoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.ffn_hidden_size=2048 \\\n        model.encoder.activation=gelu \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.transformer_block_type=pre_ln \\\n        model.decoder.transformer_block_type=post_ln \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document,.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/t5_index_mappings\n\n        python examples/nlp/language_modeling/megatron_t5_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=1 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/t5_pretrain_results \\\n        exp_manager.resume_if_exists=True \\\n        model.pipeline_model_parallel_size=2 \\\n        model.pipeline_model_parallel_split_rank=1 \\\n        model.seq_length=256 \\\n        model.encoder.num_layers=4 \\\n        model.decoder.num_layers=1 \\\n        model.encoder.hidden_size=64 \\\n        model.decoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.ffn_hidden_size=2048 \\\n        model.encoder.activation=gelu \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.transformer_block_type=pre_ln \\\n        model.decoder.transformer_block_type=post_ln \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document,.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/t5_index_mappings\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/t5_pretrain_results\n        rm -rf examples/nlp/language_modeling/t5_index_mappings\n\n  L2_Megatron_T5_w_Mixture_of_Expert_Pretraining:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_t5_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=10 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/t5_pretrain_results \\\n        model.pipeline_model_parallel_split_rank=1 \\\n        model.seq_length=256 \\\n        model.encoder.num_layers=4 \\\n        model.decoder.num_layers=1 \\\n        model.encoder.num_moe_experts=4 \\\n        model.decoder.num_moe_experts=4 \\\n        model.encoder.moe_frequency=3 \\\n        model.decoder.moe_frequency=1 \\\n        model.encoder.hidden_size=64 \\\n        model.decoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.ffn_hidden_size=2048 \\\n        model.encoder.activation=gelu \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.transformer_block_type=pre_ln \\\n        model.decoder.transformer_block_type=post_ln \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document,.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/t5_index_mappings\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/t5_pretrain_results\n        rm -rf examples/nlp/language_modeling/t5_index_mappings\n\n  L2_Megatron_UL2_Pretraining_and_Resume_Training_TP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_t5_pretraining.py -cn megatron_ul2_config \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=10 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/t5_pretrain_results \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation=swiglu \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.transformer_block_type=normformer \\\n        model.encoder.headscale=True \\\n        model.decoder.num_layers=4 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation=geglu \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method=block \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.decoder.transformer_block_type=normformer \\\n        model.decoder.headscale=False \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document,.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/t5_index_mappings\n\n        python examples/nlp/language_modeling/megatron_t5_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=1 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/t5_pretrain_results \\\n        exp_manager.resume_if_exists=True \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation=swiglu \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.encoder.transformer_block_type=normformer \\\n        model.encoder.headscale=True \\\n        model.decoder.num_layers=4 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation=geglu \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method=block \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.decoder.transformer_block_type=normformer \\\n        model.decoder.headscale=False \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document,.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document] \\\n        model.data.index_mapping_dir=examples/nlp/language_modeling/t5_index_mappings\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/t5_pretrain_results\n        rm -rf examples/nlp/language_modeling/t5_index_mappings\n\n  L2_Megatron_T5_Eval:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_t5_eval.py \\\n            --model_file /home/TestData/nlp/megatron_t5/8m/megatron_t5_8m-refactor.nemo \\\n            --prompt 'How do I fix my GPU memory issue? I am seeing <mask> out of memory.' \\\n            --tensor_model_parallel_size 1\n\n  L2_Megatron_BART_Pretraining_and_Resume_Training_TP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_bart_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=2 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=3 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/bart_pretrain_results \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation='reglu' \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method='block' \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.decoder.num_layers=4 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation='reglu' \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method='block' \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.data.data_prefix='{train:[1.0,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document],test:[/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document], validation:[/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document]}'\n\n        python examples/nlp/language_modeling/megatron_bart_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=2 \\\n        trainer.limit_val_batches=5 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=6 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/bart_pretrain_results \\\n        exp_manager.resume_if_exists=True \\\n        model.tensor_model_parallel_size=2 \\\n        model.seq_length=128 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation='reglu' \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method='block' \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.decoder.num_layers=4 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation='reglu' \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method='block' \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.data.data_prefix='{train:[1.0,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document],test:[/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document], validation:[/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document]}'\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/bart_pretrain_results\n\n  L2_Megatron_BART_Pretraining_and_Resume_Training_PP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_bart_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=10 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/bart_pretrain_results \\\n        model.pipeline_model_parallel_size=2 \\\n        model.pipeline_model_parallel_split_rank=1 \\\n        model.seq_length=256 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation=geglu \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.decoder.num_layers=4 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation=geglu \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method=block \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.data.respect_document_boundaries=False \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document,.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document]\n\n        python examples/nlp/language_modeling/megatron_bart_pretraining.py \\\n        trainer.devices=2 \\\n        trainer.accelerator=gpu \\\n        trainer.log_every_n_steps=1 \\\n        trainer.val_check_interval=1 \\\n        trainer.limit_val_batches=2 \\\n        trainer.accumulate_grad_batches=1 \\\n        trainer.max_steps=10 \\\n        trainer.precision=16 \\\n        trainer.gradient_clip_val=1.0 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/bart_pretrain_results \\\n        exp_manager.resume_if_exists=True \\\n        model.pipeline_model_parallel_size=2 \\\n        model.pipeline_model_parallel_split_rank=1 \\\n        model.seq_length=256 \\\n        model.encoder.num_layers=4 \\\n        model.encoder.hidden_size=64 \\\n        model.encoder.num_attention_heads=8 \\\n        model.encoder.activation=geglu \\\n        model.encoder.bias_activation_fusion=False \\\n        model.encoder.activations_checkpoint_method=block \\\n        model.encoder.activations_checkpoint_num_layers=1 \\\n        model.decoder.num_layers=4 \\\n        model.decoder.hidden_size=64 \\\n        model.decoder.num_attention_heads=8 \\\n        model.decoder.activation=geglu \\\n        model.decoder.bias_activation_fusion=False \\\n        model.decoder.activations_checkpoint_method=block \\\n        model.decoder.activations_checkpoint_num_layers=1 \\\n        model.data.respect_document_boundaries=False \\\n        model.data.data_prefix=[.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document,.5,/home/TestData/nlp/megatron_t5/data/pile_val_small_bert_tokenizer_text_document]\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/bart_pretrain_results\n\n \n  L2_Megatron_T5_PEFT_Lora_TP2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        rm -rf /home/TestData/nlp/t5_lora_tuning_tp2\n\n        python examples/nlp/language_modeling/tuning/megatron_t5_finetuning.py \\\n        trainer.devices=2 \\\n        trainer.log_every_n_steps=1 \\\n        trainer.max_epochs=9999 \\\n        trainer.max_steps=3 \\\n        trainer.val_check_interval=3 \\\n        ++trainer.limit_val_batches=2 \\\n        trainer.precision=16 \\\n        exp_manager.exp_dir=/home/TestData/nlp/t5_lora_tuning_tp2 \\\n        model.pipeline_model_parallel_size=1 \\\n        model.tensor_model_parallel_size=2 \\\n        model.restore_from_path=/home/TestData/nlp/megatron_t5/8m/megatron_t5_8m_tp2.nemo \\\n        model.peft.peft_scheme=lora \\\n        model.answer_only_loss=True \\\n        model.micro_batch_size=1 \\\n        model.global_batch_size=1 \\\n        model.data.train_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n        model.data.train_ds.concat_sampling_probabilities=[1.0] \\\n        model.data.train_ds.num_workers=0 \\\n        model.data.validation_ds.num_workers=0 \\\n        model.data.validation_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel.jsonl] \\\n        model.data.validation_ds.names=[quarel]\n\n        python examples/nlp/language_modeling/tuning/megatron_t5_generate.py \\\n        model.restore_from_path=/home/TestData/nlp/megatron_t5/8m/megatron_t5_8m_tp2.nemo \\\n        model.peft.restore_from_path=/home/TestData/nlp/t5_lora_tuning_tp2/megatron_t5_peft_lora_tuning/checkpoints/megatron_t5_peft_lora_tuning.nemo \\\n        model.peft.restore_from_ckpt_name=null \\\n        model.peft.restore_from_hparams_path=null \\\n        model.tensor_model_parallel_size=2 \\\n        trainer.devices=2 \\\n        model.data.test_ds.file_names=[/home/TestData/nlp/megatron_sft/quarel_4.jsonl] \\\n        model.data.test_ds.names=[quarel4] \\\n        model.global_batch_size=2 \\\n        model.micro_batch_size=1 \\\n        model.data.test_ds.tokens_to_generate=10 \\\n        model.data.test_ds.write_predictions_to_file=True \\\n        model.data.test_ds.output_file_path_prefix=/home/TestData/nlp/t5_lora_tuning_tp2/out \\\n        inference.greedy=True \\\n        inference.repetition_penalty=1.0 \\\n        inference.outfile_path=/home/TestData/nlp/t5_lora_tuning_tp2/out.jsonl\n      AFTER_SCRIPT: |\n        rm -rf /home/TestData/nlp/t5_lora_tuning_tp2\n\n  # L2: Megatron Mock Data Generation                \n  L2_Megatron_Mock_Data_Generation_MockGPTDataset:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_gpt_pretraining.py \\\n            trainer.max_steps=10 \\\n            trainer.limit_val_batches=7 \\\n            trainer.val_check_interval=10 \\\n            exp_manager.exp_dir=examples/nlp/language_modeling/gpt_pretrain_results \\\n            model.mcore_gpt=True \\\n            model.data.data_impl=mock \\\n            model.data.data_prefix=[]\n\n  L2_Megatron_Mock_Data_Generation_MockT5Dataset:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/nlp/language_modeling/megatron_t5_pretraining.py \\\n        trainer.max_steps=10 \\\n        trainer.limit_val_batches=3 \\\n        trainer.val_check_interval=10 \\\n        exp_manager.exp_dir=examples/nlp/language_modeling/t5_pretrain_results \\\n        model.data.data_impl=mock \\\n        model.data.data_prefix=[]\n      AFTER_SCRIPT: |\n        rm -rf examples/nlp/language_modeling/t5_pretrain_results\n\n  # L2: TTS Fast dev runs 1\n  L2_TTS_Fast_dev_runs_1_Tacotron_2:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure-gpus-1\n      SCRIPT: |\n        python examples/tts/tacotron2.py \\\n        train_dataset=/home/TestData/an4_dataset/an4_train.json \\\n        validation_datasets=/home/TestData/an4_dataset/an4_val.json \\\n        trainer.devices=1 \\\n        trainer.accelerator=\"gpu\" \\\n        +trainer.limit_train_batches=1 +trainer.limit_val_batches=1 trainer.max_epochs=1 \\\n        trainer.strategy=auto \\\n        model.decoder.decoder_rnn_dim=256 \\\n        model.decoder.attention_rnn_dim=1024 \\\n        model.decoder.prenet_dim=128 \\\n        model.postnet.postnet_n_convolutions=3 \\\n        model.train_ds.dataloader_params.batch_size=4 \\\n        model.train_ds.dataloader_params.num_workers=0 \\\n        model.validation_ds.dataloader_params.batch_size=4 \\\n        model.validation_ds.dataloader_params.num_workers=0 \\\n        ~model.text_normalizer \\\n        ~model.text_normalizer_call_kwargs \\\n        ~trainer.check_val_every_n_epoch\n\n  L2_TTS_Fast_dev_runs_1_WaveGlow:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/tts/waveglow.py \\\n        train_dataset=/home/TestData/an4_dataset/an4_train.json \\\n        validation_datasets=/home/TestData/an4_dataset/an4_val.json \\\n        trainer.devices=\"[0]\" \\\n        +trainer.limit_train_batches=1 +trainer.limit_val_batches=1 trainer.max_epochs=1 \\\n        trainer.strategy=auto \\\n        model.train_ds.dataloader_params.batch_size=4 \\\n        model.train_ds.dataloader_params.num_workers=0 \\\n        model.validation_ds.dataloader_params.batch_size=4 \\\n        model.validation_ds.dataloader_params.num_workers=0 \\\n        model.waveglow.n_flows=4 \\\n        model.waveglow.n_wn_layers=2 \\\n        model.waveglow.n_wn_channels=32 \\\n        ~trainer.check_val_every_n_epoch\n\n  L2_TTS_Fast_dev_runs_1_FastPitch:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/tts/fastpitch.py \\\n        --config-name fastpitch_align_v1.05 \\\n        train_dataset=/home/TestData/an4_dataset/an4_train.json \\\n        validation_datasets=/home/TestData/an4_dataset/an4_val.json \\\n        sup_data_path=/home/TestData/an4_dataset/beta_priors \\\n        trainer.devices=\"[0]\" \\\n        +trainer.limit_train_batches=1 \\\n        +trainer.limit_val_batches=1 \\\n        trainer.max_epochs=1 \\\n        trainer.strategy=auto \\\n        model.pitch_mean=212.35873413085938 \\\n        model.pitch_std=68.52806091308594 \\\n        model.train_ds.dataloader_params.batch_size=4 \\\n        model.train_ds.dataloader_params.num_workers=0 \\\n        model.validation_ds.dataloader_params.batch_size=4 \\\n        model.validation_ds.dataloader_params.num_workers=0 \\\n        model.symbols_embedding_dim=64 \\\n        model.input_fft.d_inner=384 \\\n        model.input_fft.n_layer=2 \\\n        model.output_fft.d_inner=384 \\\n        model.output_fft.n_layer=2 \\\n        ~trainer.check_val_every_n_epoch \\\n        ~model.text_normalizer \\\n        ~model.text_normalizer_call_kwargs\n\n  # OPTIONAL_L2_TTS_Fast_dev_runs_1_RADTTS:\n  #   needs: [cicd-test-container-setup]\n  #   runs-on: self-hosted-azure\n  #   timeout-minutes: 10\n  #   container:\n  #     image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n  #     options: \n  #       # --user 0:128\n  #       --device=/dev/nvidia0\n  #       --gpus all\n  #       --shm-size=8g\n  #       --env TRANSFORMERS_OFFLINE=0 \n  #       --env HYDRA_FULL_ERROR=1\n  #       --volume /mnt/datadrive/TestData:/home/TestData\n  #   steps:\n  #       - name: Checkout repository\n  #         uses: actions/checkout@v4\n  #       - run: |\n  #           python examples/tts/radtts.py \\\n  #           train_dataset=/home/TestData/an4_dataset/an4_train.json \\\n  #           validation_datasets=/home/TestData/an4_dataset/an4_val.json \\\n  #           sup_data_path=/home/TestData/an4_dataset/radtts_beta_priors \\\n  #           trainer.devices=\"[0]\" \\\n  #           +trainer.limit_train_batches=1 \\\n  #           +trainer.limit_val_batches=1 \\\n  #           trainer.max_epochs=1 \\\n  #           trainer.strategy=auto \\\n  #           model.pitch_mean=212.35873413085938 \\\n  #           model.pitch_std=68.52806091308594 \\\n  #           model.train_ds.dataloader_params.batch_size=4 \\\n  #           model.train_ds.dataloader_params.num_workers=0 \\\n  #           model.validation_ds.dataloader_params.batch_size=4 \\\n  #           model.validation_ds.dataloader_params.num_workers=0 \\\n  #           export_dir=/home/TestData/radtts_test \\\n  #           model.optim.lr=0.0001 \\\n  #           model.modelConfig.decoder_use_partial_padding=True \\\n  #           ~trainer.check_val_every_n_epoch \\\n  #           ~model.text_normalizer \\\n  #           ~model.text_normalizer_call_kwargs\n  #       #- uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n  #       #  if: \"failure()\"\n\n  L2_TTS_Fast_dev_runs_1_Mixer-TTS:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/tts/mixer_tts.py \\\n        train_dataset=/home/TestData/an4_dataset/an4_train.json \\\n        validation_datasets=/home/TestData/an4_dataset/an4_val.json \\\n        sup_data_path=/home/TestData/an4_dataset/sup_data \\\n        trainer.devices=\"[0]\" \\\n        +trainer.limit_train_batches=1 \\\n        +trainer.limit_val_batches=1 \\\n        trainer.max_epochs=1 \\\n        trainer.strategy=auto \\\n        model.pitch_mean=212.35873413085938 \\\n        model.pitch_std=68.52806091308594 \\\n        model.train_ds.dataloader_params.batch_size=4 \\\n        model.train_ds.dataloader_params.num_workers=0 \\\n        model.validation_ds.dataloader_params.batch_size=4 \\\n        model.validation_ds.dataloader_params.num_workers=0 \\\n        ~trainer.check_val_every_n_epoch \\\n        ~model.text_normalizer \\\n        ~model.text_normalizer_call_kwargs\n\n  L2_TTS_Fast_dev_runs_1_Hifigan:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      SCRIPT: |\n        python examples/tts/hifigan.py \\\n        train_dataset=/home/TestData/an4_dataset/an4_train.json \\\n        validation_datasets=/home/TestData/an4_dataset/an4_val.json \\\n        trainer.devices=\"[0]\" \\\n        +trainer.limit_train_batches=1 \\\n        +trainer.limit_val_batches=1 \\\n        +trainer.max_epochs=1 \\\n        trainer.strategy=auto \\\n        model.train_ds.dataloader_params.batch_size=4 \\\n        model.train_ds.dataloader_params.num_workers=0 \\\n        model.validation_ds.dataloader_params.batch_size=4 \\\n        model.validation_ds.dataloader_params.num_workers=0 \\\n        model.generator.upsample_initial_channel=64 \\\n        +model.debug=true \\\n        ~trainer.check_val_every_n_epoch\n\n  # L2: NeRF\n  # L2_NeRF_DreamFusion:\n  #   needs: [cicd-test-container-setup]\n  #   runs-on: self-hosted-azure\n  #   container:\n  #     image: nemoci.azurecr.io/nemo_container_${{ github.run_id }}\n  #     options: \n  #       # --user 0:128\n  #       --device=/dev/nvidia0\n  #       --gpus all\n  #       --shm-size=8g \n  #       --env TRANSFORMERS_OFFLINE=0 \n  #       --env HYDRA_FULL_ERROR=1\n  #       --volume /mnt/datadrive/TestData:/home/TestData\n  #   steps:\n  #       - name: Checkout repository\n  #         uses: actions/checkout@v4\n  #       - run: |\n  #           python examples/multimodal/text_to_image/nerf/main.py \\\n  #           trainer.num_nodes=1 \\\n  #           trainer.devices=\"[0]\" \\\n  #           trainer.max_steps=1000 \\\n  #           model.prompt=\"a DSLR photo of a delicious hamburger\" \\\n  #           exp_manager.exp_dir=examples/multimodal/text_to_image/nerf/dreamfusion_results\n  #\n  #           rm -rf examples/multimodal/text_to_image/nerf/dreamfusion_results\n  #       - uses: \"NVIDIA/NeMo/.github/actions/cancel-workflow@main\"\n  #         if: \"failure()\"\n\n  Speech_Checkpoints_tests:\n    needs: [cicd-test-container-setup]\n    uses: ./.github/workflows/_test_template.yml\n    with:\n      RUNNER: self-hosted-azure\n      TIMEOUT: 20\n      SCRIPT: |\n        CUDA_VISIBLE_DEVICES=0 python examples/asr/speech_to_text_eval.py \\\n            pretrained_name=QuartzNet15x5Base-En  \\\n            dataset_manifest=/home/TestData/librispeech/librivox-dev-other.json \\\n            batch_size=64 \\\n            tolerance=0.1012\n      AFTER_SCRIPT: |\n        rm -f examples/asr/evaluation_transcripts.json\n\n  Nemo_CICD_Test:\n    needs: \n      #- OPTIONAL_L0_Unit_Tests_GPU\n      - L0_Unit_Tests_CPU\n      - L2_Community_LLM_Checkpoints_tests_Llama\n      - L2_Community_LLM_Checkpoints_tests_StarCoder\n      - L2_Community_LLM_Checkpoints_tests_Falcon\n      #- OPTIONAL_L2_Community_LLM_Checkpoints_tests_Baichuan2\n      - ASR_dev_run_Speech_to_Text\n      - ASR_dev_run_Speech_to_Text_WPE_-_CitriNet\n      - ASR_dev_run_Speech_Pre-training_-_CitriNet\n      - ASR_dev_run_Speech_To_Text_Finetuning\n      #- OPTIONAL_ASR_dev_run_Speech_To_Text_HF_Finetuning\n      - ASR_dev_run_Speech_to_Text_WPE_-_Conformer\n      - ASR_dev_run-part_two_Speech_to_Text_WPE_-_Squeezeformer\n      - L2_Speech_to_Text_EMA\n      - L2_Speaker_dev_run_Speaker_Recognition\n      - L2_Speaker_dev_run_Speaker_Diarization\n      - L2_Speaker_dev_run_Speech_to_Label\n      - L2_Speaker_dev_run_Speaker_Diarization_with_ASR_Inference\n      - L2_Speaker_dev_run_Clustering_Diarizer_Inference\n      - L2_Speaker_dev_run_Neural_Diarizer_Inference\n      - L2_Speaker_dev_run_Multispeaker_ASR_Data_Simulation\n      - L2_ASR_Multi-dataloader_dev_run_Speech_to_Text_multi-dataloader\n      - L2_ASR_Multi-dataloader_dev_run_Speech_to_Label_multi-dataloader\n      - L2_ASR_Adapters_Linear_Adapters\n      - L2_ASR_Adapters_RelPos_MHA_Adapters\n      - L2_Speech_Transcription_Speech_to_Text_Transcribe\n      - L2_Transducer_alignment_Running_pytest\n      - L2_Segmentation_Tool_Parallel_ctc_segmentation_test_L2_Eng_CitriNet_with_wav\n      - L2_Segmentation_Tool_Parallel_ctc_segmentation_test_L2_Ru_QN_with_mp3\n      - L2_G2P_Models_G2P_Conformer_training_evaluation_and_inference\n      - L2_G2P_Models_HeteronymClassificationModel_training_evaluation_and_inference\n      - L2_Duplex_Text_Normalization_with_Tarred_dataset\n      - L2_Intent_and_Slot_Classification_Tasks_Intent_and_Slot_Classification\n      - L2_Intent_and_Slot_Classification_Tasks_Multi-Label_Intent_and_Slot_Classification\n      - L2_Parallel_NLP_Examples2_NER_finetuning_from_pretrained_Test\n      - L2_Parallel_NLP_Examples2_Punctuation_and_capitalization_finetuning_from_pretrained_test\n      - L2_Parallel_NLP_Examples2_NER_with_TurkuNLP__bert-base-finnish-cased-v1\n      - L2_Parallel_NLP_Examples2_Evaluation_script_for_Token_Classification\n      - L2_Parallel_NLP_Examples2_Evaluation_script_for_Punctuation\n      - L2_Pretraining_BERT_pretraining_from_Text\n      - L2_Pretraining_BERT_from_Preprocessed\n      - L2_NMT_Attention_is_All_You_Need_Training_NMT_Training_Post-LN\n      - L2_NMT_Attention_is_All_You_Need_Training_NMT_Training_Pre-LN\n      - L2_NMT_Attention_is_All_You_Need_Training_NMT_Multi-Validation\n      - L2_NMT_Attention_is_All_You_Need_Inference\n      - L2_NMT_Attention_is_All_You_Need_Finetuning\n      - L2_NMT_Tarred_Dataset_Creation_Auto_Tarred_Dataset_Creation\n      - L2_NMT_Tarred_Dataset_Creation_Script_Tarred_Dataset_Creation\n      - L2_Megatron_NMT_Training_TP2\n      - L2_Megatron_BART_Perceiver_MIM_Training_TP2\n      - L2_Megatron_Bert_Pretraining_and_Resume_Training_with_Pipeline_Parallelism\n      - L2_Megatron_Bert_Pretraining_and_Resume_Training\n      - L2_Megatron_Core_Bert_Pretraining_and_Resume_Training\n      - L2_Legacy_Megatron_RETRO_Pretraining_and_Resume_Training\n      - L2_Megatron_RETRO_Pretraining_and_Resume_Training\n      - L2_RAG_Pipeline_Indexing\n      - L2_RAG_Pipeline_Generating\n      - L2_BioMegatron_Bert_NER_Task\n      - L2_Megatron_GPT_Pretraining_and_Resume_Training_TP2\n      - L2_Megatron_GPT_with_Rope_Pretraining_and_Resume_Training_TP2\n      - L2_Megatron_GPT_with_ALiBi_Pretraining_and_Resume_Training_TP2\n      - L2_Megatron_GPT_with_KERPLE_Pretraining_and_Resume_Training_TP2\n      - L2_Megatron_GPT_Pretraining_and_Resume_Training_PP2\n      - L2_Megatron_GPT_Finetuning_PP2\n      - L2_Megatron_GPT_Finetuning_StarCoder_PP1\n      - L2_Megatron_GPT_Embedding \n      - L2_Megatron_GPT_PEFT_Lora_PP2_O2\n      - L2_Megatron_GPT_PEFT_Lora_TP2_O1\n      - L2_Megatron_GPT_Eval\n      - L2_Megatron_GPT_Eval_PP2\n      - L2_Megatron_GPT_SFT_Eval_inference_seq_len_greaterThan_training_seq_len\n      - L2_Megatron_Change_Partitions_Reduce_TP_Num_Partitions_-2_to_1-_and_PP_Num_Partitions_-1_to_2\n      - L2_Megatron_Change_Partitions_Increase_TP_Num_Partitions_-2_to_4-_and_PP_Num_Partitions_-1_to_2\n      - L2_Megatron_T5_Pretraining_and_Resume_Training_TP2\n      - L2_Megatron_T5_with_ALiBi_Pretraining_and_Resume_Training_TP2\n      - L2_Megatron_T5_with_KERPLE_Pretraining_and_Resume_Training_TP2\n      - L2_Megatron_T5_Pretraining_and_Resume_Training_PP2\n      - L2_Megatron_T5_w_Mixture_of_Expert_Pretraining\n      - L2_Megatron_UL2_Pretraining_and_Resume_Training_TP2\n      - L2_Megatron_T5_Eval\n      - L2_Megatron_BART_Pretraining_and_Resume_Training_TP2\n      - L2_Megatron_BART_Pretraining_and_Resume_Training_PP2\n      - L2_Megatron_T5_PEFT_Lora_TP2\n      - L2_Megatron_Mock_Data_Generation_MockGPTDataset\n      - L2_Megatron_Mock_Data_Generation_MockT5Dataset\n      - L2_TTS_Fast_dev_runs_1_Tacotron_2\n      - L2_TTS_Fast_dev_runs_1_WaveGlow\n      - L2_TTS_Fast_dev_runs_1_FastPitch\n      #- OPTIONAL_L2_TTS_Fast_dev_runs_1_RADTTS\n      - L2_TTS_Fast_dev_runs_1_Mixer-TTS\n      - L2_TTS_Fast_dev_runs_1_Hifigan\n      - Speech_Checkpoints_tests\n    if: always()\n    runs-on: ubuntu-latest\n    steps:  \n      - if: ${{ always() }}\n        id: pipeline-conclusion\n        run: |\n          # Slack notifications are send only on test failure (not cancelled):\n          FAILED=${{ contains(needs.*.outputs.conclusion, 'failure') }}\n          echo \"FAILED=$FAILED\" >> $GITHUB_OUTPUT\n\n          # Mark as successful if no job was cancelled:\n          SUCCESS=${{ !contains(needs.*.result, 'cancelled') }}\n          echo \"SUCCESS=$SUCCESS\" >> $GITHUB_OUTPUT\n\n      # This should depend on all the tests so we block/unblock based on all tests passing\n      - if: ${{ always() && steps.pipeline-conclusion.outputs.SUCCESS == 'true' }}\n        run: exit 0\n\n      - if: ${{ always() && steps.pipeline-conclusion.outputs.FAILED == 'true' }}\n        name: Checkout repository\n        uses: actions/checkout@v4\n      \n      - if: ${{ always() && steps.pipeline-conclusion.outputs.FAILED == 'true' }}\n        run: |\n          set -x\n\n          PR_INFO=$(curl -L \\\n            -H \"Accept: application/vnd.github+json\" \\\n            -H \"Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}\" \\\n            -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n            https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.number }}\n          )\n          PR_URL=$(echo -E $PR_INFO | jq '.html_url' | tr -d '\"')\n          PR_TITLE=$(echo -E $PR_INFO | jq '.title' | tr -d '\"')\n          \n          PIPELINE_URL=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n          BASE_MESSAGE='\n            {\n              \"blocks\": [\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"🚨 *CI/CD failure at <'$PIPELINE_URL'|NeMo CI>*.\"\n                  }\n                }\n              ]\n            }\n          '\n\n          # We are close to reaching 100 jobs: Once we break that barrier, we have to iterate pages\n          JOBS_URL=\"https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs?per_page=100\"  \n          SUMMARY=\"[]\"\n          while IFS= read -r JOB; do\n            JOB_NAME=\"$(echo $JOB | jq '.key' | tr -d '\"') / main\"\n            JOB_ID=$(curl -s -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" $JOBS_URL | jq --arg job_name \"$JOB_NAME\" -r '.jobs[] | select(.name == $job_name) | .id')\n            JOB_URL=\"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/job/$JOB_ID\"\n\n            LOGS=$(echo $JOB | yq '(.value.outputs.log | @base64d)' | tr -d '\"')\n\n            SUMMARY=$(echo \"$SUMMARY\" | jq \\\n              --arg pr \"<$PR_URL|$PR_TITLE>\" \\\n              --arg job \"<$JOB_URL|$JOB_NAME>\" \\\n              --arg logs \"$LOGS\" \\\n              --arg author \"<https://github.com/${{ github.actor }}|${{ github.actor }}>\" \\\n              --arg branch \"<https://github.com/${{ github.repository }}/tree/${{ github.head_ref || github.ref_name }}|${{ github.head_ref || github.ref_name }}>\"\\\n              '. += [\n              {\n                \"type\": \"section\",\n                \"text\": {\n                  \"type\": \"mrkdwn\",\n                  \"text\": (\n                    \"PR: \" + $pr\n                    + \"\\nJob: \" + $job\n                    + \"\\nAuthor: \" + $author\n                    + \"\\nBranch: \" + $branch\n                    + \"\\nLogs:\" \n                    + \"```\\n\" + $logs + \"\\n```\" \n                  )\n                }\n              }\n            ]')\n          done <<<$(echo '${{ toJSON(needs) }}' | jq -c 'to_entries | .[] | select(.value.outputs.conclusion == \"failure\")')\n\n          MESSAGE=$(echo $BASE_MESSAGE | jq -c --argjson summary \"$SUMMARY\" '.blocks += $summary')\n\n          curl -X POST -H \"Content-type: application/json\" --data \"$MESSAGE\" ${{ secrets.SLACK_WEBHOOK }}\n\n      - if: ${{ always() && steps.pipeline-conclusion.outputs.SUCCESS == 'false' }}\n        run: |\n          exit 1\n", "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:39.575411", "created_at": "2022-09-27T11:19:06+02:00", "updated_at": "2022-10-05T17:42:00+02:00", "name": "Stale-Close-Inactive-Issues-PRs", "path": ".github/workflows/close-inactive-issue-pr.yml", "contents": "name: Stale-Close-Inactive-Issues-PRs\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v6\n        with:\n          operations-per-run: 100\n          days-before-issue-stale: 30\n          days-before-issue-close: 7 \n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.\"\n          close-issue-message: \"This issue was closed because it has been inactive for 7 days since being marked as stale.\"\n          days-before-pr-stale: 14 \n          days-before-pr-close: 7 \n          stale-pr-message: \"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.\"\n          close-pr-message: \"This PR was closed because it has been inactive for 7 days since being marked as stale.\"\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:40.804069", "created_at": "2024-02-23T13:37:19+01:00", "updated_at": "2024-05-10T06:05:51+02:00", "name": "Isort and Black Formatting", "path": ".github/workflows/code-formatting.yml", "contents": "name: Isort and Black Formatting\n# Incrementally reformat only changed files with black, all files with isort\n#\n# Replaces pre-commit.ci, since it reformats all the files.\n# See issue https://github.com/pre-commit-ci/issues/issues/90\n#\n# The action requires a custom token to trigger workflow after pushing reformatted files back to the branch.\n# `secrets.GITHUB_TOKEN` can be used instead, but this will result\n# in not running necessary checks after reformatting, which is undesirable.\n# For details see https://github.com/orgs/community/discussions/25702\n\non:\n  pull_request_target:\n    paths:\n      - '**.py'\n\njobs:\n  reformat_with_isort_and_black:\n    runs-on: ubuntu-latest\n    permissions:\n      # write permissions required to commit changes\n      contents: write\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v4\n        with:\n          # setup repository and ref for PRs, see\n          # https://github.com/EndBug/add-and-commit?tab=readme-ov-file#working-with-prs\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          ref: ${{ github.event.pull_request.head.ref }}\n          # custom token is required to trigger actions after reformatting + pushing\n          token: ${{ secrets.NEMO_REFORMAT_TOKEN }}\n\n      # https://github.com/tj-actions/changed-files\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v44\n        with:\n          files: |\n            **.py\n\n      - name: Setup Python env\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: black\n        uses: psf/black@stable\n        with:\n          options: \"--verbose\"\n          # apply only to changed files (pass explicitly the files)\n          src: \"${{ steps.changed-files.outputs.all_changed_files }}\"\n          version: \"~= 24.3\"\n\n      - name: isort\n        uses: isort/isort-action@v1\n        with:\n          isort-version: \"5.13.2\"\n          # reformat all files with isort – safe since the whole repo is already reformatted\n          configuration: \"\"\n\n      - uses: EndBug/add-and-commit@v9\n        # Commit changes. Nothing is committed if no changes.\n        with:\n            message: Apply isort and black reformatting\n            commit: --signoff\n", "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:42.033578", "created_at": "2022-11-09T15:04:07+01:00", "updated_at": "2023-01-20T04:00:54+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\", \"[rv][0-9]*\",  \"gh-pages-src\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '19 1 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        queries: security-and-quality  # security-extended,\n        config-file: ./.github/workflows/config/codeql.yml\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:43.159511", "created_at": "2022-08-02T00:11:08+02:00", "updated_at": "2022-08-02T01:02:25+02:00", "name": "gh-docs-build", "path": ".github/workflows/gh-docs.yml", "contents": "name: gh-docs-build\non:\n  push:\n  pull_request:\n    paths:\n      - \"**\"\n\n# Set the access for individual scopes\npermissions: write-all\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    container:\n      image: squidfunk/mkdocs-material\n\n    steps:\n      - uses: actions/checkout@v3\n        if: github.event.repository.fork == false\n        with:\n          ref: gh-pages-src\n\n      - name: \"Correct github config\"\n        if: github.event.repository.fork == false\n        run: |\n          git config --global --add safe.directory \"$GITHUB_WORKSPACE\"\n          git config --global user.name \"${GITHUB_ACTOR}\"\n          git config --global user.email \"${GITHUB_ACTOR}@users.noreply.${GITHUB_DOMAIN:-\"github.com\"}\"\n          remote_repo=\"https://x-access-token:${GITHUB_TOKEN}@${GITHUB_DOMAIN:-\"github.com\"}/${GITHUB_REPOSITORY}.git\"\n          echo \"${remote_repo}\"\n          git remote rm origin\n          git remote add origin \"${remote_repo}\"\n\n      - name: \"Deploy Github Page\"\n        continue-on-error: true\n        run:  mkdocs gh-deploy --force\n\n", "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:44.178914", "created_at": "2022-02-18T02:02:22+01:00", "updated_at": "2024-02-26T19:21:41+01:00", "name": "CI-Import-Check", "path": ".github/workflows/import-test.yml", "contents": "name: CI-Import-Check\n\non:\n  push:\n  pull_request:\n    paths:\n      - \"**\"\n\n# Check https://hub.docker.com/r/pytorch/pytorch/tags for latest tags\njobs:\n\n  test-asr-imports:\n    runs-on: ubuntu-latest\n    container:\n      image: pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v2\n    - name: Update base dependencies\n      run: |\n        apt-get update && apt-get install -y build-essential\n        apt-get install -y libsndfile1 make\n    - name: Install nemo dependencies\n      id: nemo-wheel\n      run:  |\n        pip install Cython\n        # install test requirements\n        pip install -r requirements/requirements_test.txt\n        # Build nemo as a wheel\n        pip install build\n        python -m build --no-isolation --wheel\n        # Preserve wheel location\n        DIST_FILE=$(find ./dist -name \"*.whl\" | head -n 1)\n        echo \"::set-output name=DIST_FILE::${DIST_FILE}\"\n    - name: Test ASR Domain Imports\n      run: |\n        # Install NeMo Domain\n        pip install \"${{ steps.nemo-wheel.outputs.DIST_FILE }}[asr]\"\n        # Run import checks\n        python tests/core_ptl/check_imports.py --domain \"asr\"\n        # Uninstall NeMo\n        pip uninstall -y nemo_toolkit\n  test-tts-imports:\n    runs-on: ubuntu-latest\n    container:\n      image: pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v2\n    - name: Update base dependencies\n      run: |\n        apt-get update && apt-get install -y build-essential\n        apt-get install -y libsndfile1 make\n    - name: Install nemo dependencies\n      id: nemo-wheel\n      run:  |\n        pip install Cython\n        # install test requirements\n        pip install -r requirements/requirements_test.txt\n        # Build nemo as a wheel\n        pip install build\n        python -m build --no-isolation --wheel\n        # Preserve wheel location\n        DIST_FILE=$(find ./dist -name \"*.whl\" | head -n 1)\n        echo \"::set-output name=DIST_FILE::${DIST_FILE}\"\n    - name: Test TTS Domain Imports\n      run: |\n        # Install NeMo Domain\n        pip install \"${{ steps.nemo-wheel.outputs.DIST_FILE }}[tts]\"\n        # Run import checks\n        python tests/core_ptl/check_imports.py --domain \"tts\"\n        # Uninstall NeMo\n        pip uninstall -y nemo_toolkit", "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:45.412413", "created_at": "2022-11-25T05:43:42+01:00", "updated_at": "2022-11-25T05:43:42+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v4\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"", "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:46.497605", "created_at": "2024-07-11T11:05:13+02:00", "updated_at": "2024-07-11T11:05:13+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": null, "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:47.612670", "created_at": "2023-07-12T02:13:02+02:00", "updated_at": "2023-07-12T02:13:02+02:00", "name": "Linter-TorchFix", "path": ".github/workflows/torchfix-check.yml", "contents": null, "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:48.608345", "created_at": "2022-08-02T00:03:33+02:00", "updated_at": "2022-08-02T00:03:33+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nvidia/nemo"}
{"mined_at": "2024-07-15T17:19:50.737060", "created_at": "2021-06-08T13:32:55+02:00", "updated_at": "2021-06-08T16:12:15+02:00", "name": "Send PR Approval Status", "path": ".github/workflows/approved_status.yml", "contents": "name: Send PR Approval Status\n\non:\n  pull_request:\n    branches:\n      - master\n    types: [\"review_requested\", \"synchronize\", \"opened\", \"reopened\"]\n  pull_request_review:\n    types:\n      - submitted\n      - dismissed\n\njobs:\n  send_status:\n    runs-on: ubuntu-latest\n    if: >\n      github.event.pull_request.draft == false &&\n      !contains(github.event.pull_request.labels.*.name, 'ci/skip') &&\n      !contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/') &&\n      contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/')\n    steps:\n      - name: Get GitHub App token\n        id: get_token\n        uses: tibdex/github-app-token@v1\n        with:\n          app_id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}\n          private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}\n          repository: DataDog/datadog-api-spec\n      - name: Post PR review status check\n        uses: DataDog/github-actions/post-review-status@v2\n        with:\n          github-token: ${{ steps.get_token.outputs.token }}\n          repo: datadog-api-spec\n", "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:19:51.967884", "created_at": "2023-05-26T16:35:48+02:00", "updated_at": "2023-05-30T16:10:54+02:00", "name": "Ensure labels", "path": ".github/workflows/changelog.yml", "contents": "name: \"Ensure labels\"\non: # yamllint disable-line rule:truthy\n  pull_request:\n    types:\n      - labeled\n      - unlabeled\n      - opened\n      - synchronize\n      - reopened\n      - ready_for_review\n\njobs:\n  changelog:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check changelog labels\n        if: github.event.pull_request.draft == false && false == contains(join(github.event.pull_request.labels.*.name, ','), 'changelog/')\n        run: |-\n          echo \"::error Add 'changelog/*' label\";\n          exit 1;\n      - name: OK\n        run: echo \"Thank you!\"\n", "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:19:53.081385", "created_at": "2022-07-13T11:36:24+02:00", "updated_at": "2022-07-13T14:09:04+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:19:54.239211", "created_at": "2020-10-14T18:11:15+02:00", "updated_at": "2020-10-14T18:11:15+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          # Fetch all history for applying timestamps to every page\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n          cache: \"pip\"\n\n      - name: Upgrade Python packaging tools\n        run: pip install --disable-pip-version-check --upgrade pip setuptools wheel\n\n      - name: Install tox\n        run: pip install tox\n\n      - name: set SPHINX_VERSION\n        run: |\n          tox -edocs --notest\n          echo \"SPHINX_VERSION=$(.tox/docs/bin/python -c \"import importlib.metadata;print(importlib.metadata.version('sphinx'))\")\" >> $GITHUB_ENV\n\n      - name: Cache sphinx\n        uses: actions/cache@v3\n        with:\n          path: docs/.sphinx\n          key: sphinx-${{ env.SPHINX_VERSION }}-${{ hashFiles('.generator/schemas/**/openapi.yaml') }}\n          restore-keys: sphinx-${{ env.SPHINX_VERSION }}\n\n      - name: Build documentation\n        run: tox -e docs\n\n      - name: Compress site\n        run: tar czf site.tar.gz site\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: documentation\n          path: site.tar.gz\n\n  publish:\n    runs-on: ubuntu-latest\n\n    if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n    needs:\n      - build\n\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: documentation\n          path: site\n\n      - name: Uncompress site\n        run: tar xzf site/site.tar.gz && rm site/site.tar.gz\n\n      - uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./site\n          commit_message: ${{ github.event.head_commit.message }}\n          # Write .nojekyll at the root, see:\n          # https://help.github.com/en/github/working-with-github-pages/about-github-pages#static-site-generators\n          enable_jekyll: false\n          # Only deploy if there were changes\n          allow_empty_commit: false\n", "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:19:55.231619", "created_at": "2020-06-10T15:08:54+02:00", "updated_at": "2020-06-10T15:08:54+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n  - pull_request\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: DataDog/labeler@glob-all\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:19:56.315840", "created_at": "2022-01-26T15:11:30+01:00", "updated_at": "2022-01-27T21:02:43+01:00", "name": "Prepare release", "path": ".github/workflows/prepare_release.yml", "contents": "name: Prepare release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: New version number (e.g. '1.2.3' without the 'v' prefix)\n\njobs:\n  prepare_release:\n    name: Create release PR\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get GitHub App token\n        id: get_token\n        uses: tibdex/github-app-token@v1\n        with:\n          app_id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}\n          private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}\n\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Calculate version\n        id: get_version\n        run: |\n          if [ \"${VERSION}\" = \"\" ] ; then\n            LATEST_TAG=$(git describe --tags --abbrev=0)\n            NEXT_TAG=$(echo ${LATEST_TAG} | awk '{split($0, a, \".\"); print a[1] \".\" a[2] + 1 \".0\"}')\n            echo \"version=$NEXT_TAG\" >> $GITHUB_OUTPUT\n          else\n            echo \"version=$VERSION\" >> $GITHUB_OUTPUT\n          fi\n        env:\n          VERSION: ${{ github.event.inputs.version }}\n\n      - name: Create PR\n        uses: actions/github-script@v6\n        env:\n          RELEASE_VERSION: ${{ steps.get_version.outputs.version }}\n        with:\n          github-token: ${{ steps.get_token.outputs.token }}\n          script: |\n            const { data: notes } = await github.rest.repos.generateReleaseNotes({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              tag_name: process.env.RELEASE_VERSION,\n            });\n\n            const today = new Date().toJSON().slice(0, 10);\n            const header = [`# Changelog\\n\\n## ${process.env.RELEASE_VERSION} / ${today}\\n`];\n            const changes = header.concat(notes.body.split(\"\\n\").slice(3));\n\n            const { data: content } = await github.rest.repos.getContent({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              path: \"CHANGELOG.md\",\n            });\n\n            const rawContent = Buffer.from(content.content, \"base64\")\n              .toString(\"utf-8\")\n              .split(\"\\n\");\n            const newContent = changes.concat(rawContent.slice(1)).join(\"\\n\");\n\n            const { data: master } = await github.rest.git.getRef({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              ref: \"heads/master\",\n            });\n            await github.rest.git.createRef({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              ref: `refs/heads/release/${process.env.RELEASE_VERSION}`,\n              sha: master.object.sha,\n            });\n\n            const { data: commit } = await github.rest.repos.createOrUpdateFileContents({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              message: \"Update CHANGELOG\",\n              content: Buffer.from(newContent).toString(\"base64\"),\n              path: \"CHANGELOG.md\",\n              branch: `release/${process.env.RELEASE_VERSION}`,\n              sha: content.sha,\n            });\n\n            const { data: pr } = await github.rest.pulls.create({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              head: `release/${process.env.RELEASE_VERSION}`,\n              base: \"master\",\n              title: `Release ${process.env.RELEASE_VERSION}`,\n              body: \"Update CHANGELOG\",\n            });\n            await github.rest.issues.addLabels({\n              issue_number: pr.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              labels: [\"changelog/no-changelog\"],\n            });\n", "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:19:57.347517", "created_at": "2022-02-01T10:56:20+01:00", "updated_at": "2022-02-01T10:56:20+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  upload_release:\n    name: Upload release\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n        # Include all history and tags, needed for building the right version\n        with:\n          ref: ${{ github.event.release.tag_name }}\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v4\n        name: Install Python\n        with:\n          python-version: \"3.11\"\n          cache: \"pip\"\n\n      - name: Install pypa/build\n        run: python -m pip install build --user\n\n      - name: Build a binary wheel and a source tarball\n        run: python -m build --sdist --wheel --outdir dist/ .\n\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:19:58.459371", "created_at": "2020-11-04T22:04:46+01:00", "updated_at": "2022-02-01T10:56:20+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  pull_request:\n    types: [closed]\n    branches:\n      - master\n\njobs:\n  create_release:\n    name: Create release\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/')\n    steps:\n      - name: Get GitHub App token\n        id: get_token\n        uses: tibdex/github-app-token@v1\n        with:\n          app_id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}\n          private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}\n      - name: Create release\n        uses: actions/github-script@v6\n        env:\n          RELEASE_BRANCH: ${{ github.head_ref }}\n        with:\n          github-token: ${{ steps.get_token.outputs.token }}\n          script: |\n            const tagName = process.env.RELEASE_BRANCH.split(\"/\")[1];\n            await github.rest.git.createRef({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              ref: `refs/tags/${tagName}`,\n              sha: context.payload.pull_request.merge_commit_sha,\n            });\n            await github.rest.repos.createRelease({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              generate_release_notes: true,\n              tag_name: tagName,\n            });\n", "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:19:59.476981", "created_at": "2020-06-11T12:40:33+02:00", "updated_at": "2020-06-11T12:40:33+02:00", "name": "Stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# Configuration for https://github.com/actions/stale\n\nname: \"Stale issues and pull requests\"\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v8\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          stale-issue-message: >-\n            Thanks for your contribution!\n\n\n            This issue has been automatically marked as stale because it has not had\n            activity in the last 30 days. Note that the issue will not be automatically\n            closed, but this notification will remind us to investigate why there's\n            been inactivity. Thank you for participating in the Datadog open source community.\n\n\n            If you would like this issue to remain open:\n\n              1. Verify that you can still reproduce the issue in the latest version of this project.\n\n              1. Comment that the issue is still reproducible and include updated details requested in the issue template.\n          days-before-stale: 30\n          days-before-close: 99999\n          stale-issue-label: \"stale\"\n          exempt-issue-label: \"stale/exempt\"\n          stale-pr-message: >-\n            This issue has been automatically marked as stale because it has not had activity in the last 30 days.\n\n            Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity.\n          stale-pr-label: \"stale\"\n          exempt-pr-label: \"stale/exempt\"\n", "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:20:00.475565", "created_at": "2023-06-27T17:18:19+02:00", "updated_at": "2023-06-27T17:18:19+02:00", "name": ".github/workflows/static-analysis.yml", "path": ".github/workflows/static-analysis.yml", "contents": null, "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:20:01.697038", "created_at": "2020-06-10T15:08:54+02:00", "updated_at": "2022-08-26T23:23:05+02:00", "name": "Run Tests", "path": ".github/workflows/test.yml", "contents": "name: Run Tests\n\nenv:\n  GIT_AUTHOR_EMAIL: \"packages@datadoghq.com\"\n  GIT_AUTHOR_NAME: \"ci.datadog-api-spec\"\n\non:\n  pull_request:\n    branches:\n      - master\n  schedule:\n    - cron: \"0 2 * * *\"\n\nconcurrency:\n  group: unit-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    if: >\n      (github.event.pull_request.draft == false &&\n       !contains(github.event.pull_request.labels.*.name, 'ci/skip') &&\n       !contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/')) ||\n      github.event_name == 'schedule'\n    steps:\n      - name: Get GitHub App token\n        id: get_token\n        uses: tibdex/github-app-token@v1\n        with:\n          app_id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}\n          private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n          token: ${{ steps.get_token.outputs.token }}\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n      - name: Install pre-commit\n        run: python -m pip install pre-commit\n      - name: set PY\n        run: echo \"PY=$(python -c 'import platform;print(platform.python_version())')\" >> $GITHUB_ENV\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}\n      - id: pre_commit\n        name: Run pre-commit\n        if: github.event.action != 'closed' && github.event.pull_request.merged != true\n        run: |\n          pre-commit run --from-ref \"${FROM_REF}\" --to-ref \"${TO_REF}\" --show-diff-on-failure --color=always\n        env:\n          FROM_REF: ${{ github.event.pull_request.base.sha }}\n          TO_REF: ${{ github.event.pull_request.head.sha }}\n      - name: Commit changes\n        if: ${{ failure() }}\n        run: |-\n          git add -A\n          git config user.name \"${GIT_AUTHOR_NAME}\"\n          git config user.email \"${GIT_AUTHOR_EMAIL}\"\n          git commit -m \"pre-commit fixes\"\n          git push origin \"HEAD:${HEAD_REF}\"\n          exit 1\n        env:\n          HEAD_REF: ${{ github.event.pull_request.head.ref }}\n      - id: pre_commit_schedule\n        name: Run pre-commit in schedule\n        if: github.event_name == 'schedule'\n        run: |\n          pre-commit run --all-files --show-diff-on-failure --color=always\n\n  test:\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.12\"]\n        platform: [ubuntu-latest, macos-latest] # windows-latest\n        # test only latest version on macos and windows\n        exclude:\n          - platform: macos-latest\n            python-version: \"3.7\"\n          # TODO enable once dd-trace-py is updated\n          # - platform: windows-latest\n          #  python-version: 3.7\n          # - platform: windows-latest\n          #   python-version: 3.7\n    runs-on: ${{ matrix.platform }}\n    if: (github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'ci/skip') && !contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/')) || github.event_name == 'schedule'\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n      - name: Upgrade pip\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade wheel setuptools build\n      - name: Install\n        run: pip install --disable-pip-version-check -e .[tests]\n      - name: Test\n        run: ./run-tests.sh\n        shell: bash\n\n  examples:\n    runs-on: ubuntu-latest\n    if: (github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'ci/skip') && !contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/')) || github.event_name == 'schedule'\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n      - name: Upgrade pip\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade wheel setuptools build\n      - name: Install\n        run: pip install --disable-pip-version-check pyflakes\n      - name: Check examples\n        run: ./check-examples.sh\n        shell: bash\n\n  report:\n    runs-on: ubuntu-latest\n    if: always() && github.event_name == 'pull_request' && contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/')\n    needs:\n      - test\n      - examples\n    steps:\n      - name: Get GitHub App token\n        if: github.event_name == 'pull_request'\n        id: get_token\n        uses: tibdex/github-app-token@v1\n        with:\n          app_id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}\n          private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}\n          repository: DataDog/datadog-api-spec\n      - name: Post status check\n        uses: DataDog/github-actions/post-status-check@v2\n        with:\n          github-token: ${{ steps.get_token.outputs.token }}\n          repo: datadog-api-spec\n          status: ${{ (needs.test.result == 'cancelled' || needs.examples.result == 'cancelled') && 'pending' || needs.test.result == 'success' && needs.examples.result == 'success' && 'success' || 'failure' }}\n          context: unit\n", "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:20:02.820290", "created_at": "2021-05-25T13:24:12+02:00", "updated_at": "2022-03-10T11:13:13+01:00", "name": "Run Integration Tests", "path": ".github/workflows/test_integration.yml", "contents": "name: Run Integration Tests\n\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n      - ready_for_review\n      - synchronize\n      - labeled\n      - unlabeled\n    branches:\n      - master\n  schedule:\n    - cron: \"0 1 * * *\"\n\nconcurrency:\n  group: integration-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  test_integration:\n    runs-on: ubuntu-latest\n    if: >\n      (github.event_name == 'pull_request' &&\n      github.event.pull_request.draft == false &&\n      !contains(github.event.pull_request.labels.*.name, 'ci/skip') &&\n      !contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/') &&\n      contains(github.event.pull_request.labels.*.name, 'ci/integrations')) ||\n      github.event_name == 'schedule'\n    services:\n      datadog-agent:\n        image: gcr.io/datadoghq/agent:latest\n        ports:\n          - 8126:8126\n        env:\n          DD_API_KEY: ${{ secrets.DD_API_KEY }}\n          DD_HOSTNAME: \"none\"\n          DD_INSIDE_CI: \"true\"\n    steps:\n      - name: Get GitHub App token\n        if: github.event_name == 'pull_request'\n        id: get_token\n        uses: tibdex/github-app-token@v1\n        with:\n          app_id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}\n          private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}\n          repository: DataDog/datadog-api-spec\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Post pending status check\n        if: github.event_name == 'pull_request' && contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/')\n        uses: DataDog/github-actions/post-status-check@v2\n        with:\n          github-token: ${{ steps.get_token.outputs.token }}\n          repo: datadog-api-spec\n          status: pending\n          context: integration\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n      - name: Upgrade pip\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade wheel setuptools build\n      - name: Install\n        run: pip install --disable-pip-version-check -e .[apm,tests]\n      - name: Test\n        run: ./run-tests.sh\n        shell: bash\n        env:\n          DD_AGENT_HOST: localhost\n          DD_ENV: prod\n          DD_SERVICE: datadog-api-client-python\n          DD_TAGS: \"team:integrations-tools-and-libraries\"\n          DD_TEST_CLIENT_API_KEY: ${{ secrets.DD_CLIENT_API_KEY }}\n          DD_TEST_CLIENT_APP_KEY: ${{ secrets.DD_CLIENT_APP_KEY }}\n          RECORD: \"none\"\n          SLEEP_AFTER_REQUEST: ${{ vars.SLEEP_AFTER_REQUEST }}\n          PYTEST_ADDOPTS: \"--ddtrace\"\n          DD_PYTEST_OPERATION_NAME: \"test\"\n          DD_TRACE_PROPAGATION_STYLE_INJECT: \"datadog\" \n      - name: Post failure status check\n        if: failure() && github.event_name == 'pull_request' && contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/')\n        uses: DataDog/github-actions/post-status-check@v2\n        with:\n          github-token: ${{ steps.get_token.outputs.token }}\n          repo: datadog-api-spec\n          status: failure\n          context: integration\n      - name: Post success status check\n        if: \"!failure() && github.event_name == 'pull_request' && contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/')\"\n        uses: DataDog/github-actions/post-status-check@v2\n        with:\n          github-token: ${{ steps.get_token.outputs.token }}\n          repo: datadog-api-spec\n          status: success\n          context: integration\n", "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:20:03.845809", "created_at": "2021-12-17T14:19:57+01:00", "updated_at": "2021-12-17T14:19:57+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "datadog/datadog-api-client-python"}
{"mined_at": "2024-07-15T17:20:06.098004", "created_at": "2021-12-03T09:29:33+01:00", "updated_at": "2021-12-03T09:29:33+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non: [push, pull_request]\n\nenv:\n  X_PYTHON_VERSION: \"3.12\"\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.10\", \"3.12\"]\n    env:\n      COUCHDB_ADMIN_PASSWORD: \"yo0Quai3\"\n      AAS_SPECS_RELEASE_TAG: \"V3.0.7\"\n    services:\n      couchdb:\n        image: couchdb:3\n        ports:\n          - 5984:5984\n        env:\n          COUCHDB_USER: \"admin\"\n          COUCHDB_PASSWORD: ${{ env.COUCHDB_ADMIN_PASSWORD }}\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Collect schema files from aas-specs\n      run: |\n        mkdir -p ./test/adapter/schema\n        curl -sSL -o ./test/adapter/schema/aasJSONSchema.json https://raw.githubusercontent.com/admin-shell-io/aas-specs/${{ env.AAS_SPECS_RELEASE_TAG }}/schemas/json/aas.json\n        curl -sSL -o ./test/adapter/schema/aasXMLSchema.xsd https://raw.githubusercontent.com/admin-shell-io/aas-specs/${{ env.AAS_SPECS_RELEASE_TAG }}/schemas/xml/AAS.xsd\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install coverage\n        pip install -r requirements.txt\n    - name: Setup test config and CouchDB database server\n      run: |\n        python test/_helper/setup_testdb.py -u \"admin\" -p \"$COUCHDB_ADMIN_PASSWORD\"\n    - name: Test with coverage + unittest\n      run: |\n        coverage run --source=basyx -m unittest\n    - name: Report test coverage\n      if: ${{ always() }}\n      run: |\n        coverage report -m\n\n  static-analysis:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ env.X_PYTHON_VERSION }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.X_PYTHON_VERSION }}\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pycodestyle mypy\n        pip install -r requirements.txt\n    - name: Check typing with MyPy\n      run: |\n        mypy basyx test\n    - name: Check code style with PyCodestyle\n      run: |\n        pycodestyle --count --max-line-length 120 basyx test\n\n  readme-codeblocks:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ env.X_PYTHON_VERSION }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.X_PYTHON_VERSION }}\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pycodestyle mypy codeblocks\n        pip install -r requirements.txt\n    - name: Check typing with MyPy\n      run: |\n        mypy <(codeblocks python README.md)\n    - name: Check code style with PyCodestyle\n      run: |\n        codeblocks --wrap python README.md | pycodestyle --count --max-line-length 120 -\n    - name: Run readme codeblocks with Python\n      run: |\n        codeblocks python README.md | python\n\n  docs:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ env.X_PYTHON_VERSION }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.X_PYTHON_VERSION }}\n    - name: Install Python dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install -r docs/add-requirements.txt\n    - name: Check documentation for errors\n      run: |\n        SPHINXOPTS=\"-a -E -n -W --keep-going\" make -C docs html\n\n  package:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ env.X_PYTHON_VERSION }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ env.X_PYTHON_VERSION }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel\n    - name: Create source and wheel dist\n      run: |\n        python setup.py sdist bdist_wheel\n", "state": "active", "repository": "eclipse-basyx/basyx-python-sdk"}
{"mined_at": "2024-07-15T17:20:07.224308", "created_at": "2022-02-03T15:06:56+01:00", "updated_at": "2022-02-03T15:06:56+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel\n    - name: Create source and wheel dist\n      run: |\n        python setup.py sdist bdist_wheel\n    - name: Publish distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_ORG_TOKEN }}\n", "state": "active", "repository": "eclipse-basyx/basyx-python-sdk"}
{"mined_at": "2024-07-15T17:20:09.938656", "created_at": "2023-06-02T08:03:25+02:00", "updated_at": "2023-06-02T08:03:25+02:00", "name": "onnx docker", "path": ".github/workflows/onnx.yml", "contents": null, "state": "active", "repository": "flagai-open/flagai"}
{"mined_at": "2024-07-15T17:20:11.551584", "created_at": "2022-06-01T16:32:37+02:00", "updated_at": "2022-06-07T11:04:51+02:00", "name": "Python application", "path": ".github/workflows/python-app.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n\nname: Python application\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: self-hosted\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.9\"\n    - name: Install dependencies\n      run: |\n        python -m pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/\n        python -m pip install --upgrade pip\n        python -m pip install flake8 pytest\n        python -m pip install torch\n        python setup.py install\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --statistics --ignore=E405,E501,F401,W504,F405,E722,E262,E127,W503,W605,E265,E402,F403,E126,F811,E129,W293,E741\n    - name: Test with pytest\n      run: |\n        sh prepare_test.sh\n        pytest\n", "state": "active", "repository": "flagai-open/flagai"}
{"mined_at": "2024-07-15T17:20:13.018764", "created_at": "2022-06-07T05:57:27+02:00", "updated_at": "2022-06-07T05:57:27+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: self-hosted\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install build\n      - name: Build package\n        run: python -m build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "flagai-open/flagai"}
{"mined_at": "2024-07-15T17:20:15.193602", "created_at": "2020-08-27T23:45:24+02:00", "updated_at": "2020-08-27T23:45:24+02:00", "name": "Python application", "path": ".github/workflows/python-app.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python application\n\non: [pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pytest\n", "state": "active", "repository": "nasa-impact/pyquarc"}
{"mined_at": "2024-07-15T17:20:17.570639", "created_at": "2024-07-03T00:05:36+02:00", "updated_at": "2024-07-03T00:05:36+02:00", "name": "Check Modules for Integration Tests", "path": ".github/workflows/check-integration-tests.yml", "contents": null, "state": "active", "repository": "awslabs/autonomous-driving-data-framework"}
{"mined_at": "2024-07-15T17:20:18.807375", "created_at": "2023-09-08T21:26:15+02:00", "updated_at": "2023-10-23T22:22:58+02:00", "name": "Sync GitHub with AWS CodeCommit for Scene Intelligence with Rosbag on AWS", "path": ".github/workflows/gh-sync-cc.yaml", "contents": null, "state": "active", "repository": "awslabs/autonomous-driving-data-framework"}
{"mined_at": "2024-07-15T17:20:19.903996", "created_at": "2023-08-29T20:40:48+02:00", "updated_at": "2023-08-29T20:40:48+02:00", "name": "Sync GitHub with AWS CodeCommit for AV/ADAS Solutions", "path": ".github/workflows/gh-sync-cc.yml", "contents": null, "state": "active", "repository": "awslabs/autonomous-driving-data-framework"}
{"mined_at": "2024-07-15T17:20:21.021698", "created_at": "2023-12-08T19:00:45+01:00", "updated_at": "2024-01-08T22:17:31+01:00", "name": "Module Checks", "path": ".github/workflows/module-checks.yml", "contents": "name: Module Checks\n\non:\n  push:\n    branches: [\"main\"]\n    paths: ['modules/**', 'scripts/validate.sh']\n\n  pull_request:\n    branches: [\"main\", \"release/*\", \"stable\"]\n    paths: ['modules/**', 'scripts/validate.sh']\n\n  workflow_dispatch:\n\njobs:\n  get-modules:\n    name: Get Modules\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.get-modules.outputs.matrix }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Get modules\n        id: get-modules\n        run: |\n          set -x\n          # Get all the modules that have the directory \"tests\"\n          MODULES=$(find modules/ -type d -name \"tests\" | cut -d/ -f 2-3 | uniq)\n          # Create our json structure [{\"module_name\": \"...\"}]\n          MODULES_JSON=$(echo \"$MODULES\" | jq -R -s 'split(\"\\n\")' | jq '[ .[] | select(length > 0) ]' | jq 'map({\"module_name\": .})')\n          # Export the modules as json to the outputs\n          echo 'matrix<<EOF' >> $GITHUB_OUTPUT\n          echo $MODULES_JSON >> $GITHUB_OUTPUT\n          echo 'EOF' >> $GITHUB_OUTPUT\n\n  test:\n    name: (${{ matrix.python-version }}) Run unit tests for module ${{ matrix.modules.module_name }}\n    needs: get-modules\n    strategy:\n      fail-fast: false\n      matrix:\n        modules: ${{ fromJson(needs.get-modules.outputs.matrix) }}\n        python-version: ['3.9', '3.10']\n    runs-on: ubuntu-latest\n    env:\n      MODULE_PATH: 'modules/${{ matrix.modules.module_name }}'\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Requirements\n        run: |\n          set -x\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n          pip install -r $MODULE_PATH/requirements.txt\n      - name: Static checks and linting (mypy, ruff)\n        run: scripts/validate.sh --language python --path $MODULE_PATH/\n      - name: Pytest\n        run: |\n          pip install -r $MODULE_PATH/requirements-dev.txt || true\n          cd $MODULE_PATH/ && pytest", "state": "active", "repository": "awslabs/autonomous-driving-data-framework"}
{"mined_at": "2024-07-15T17:20:22.046419", "created_at": "2024-07-11T22:57:21+02:00", "updated_at": "2024-07-11T22:57:21+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "awslabs/autonomous-driving-data-framework"}
{"mined_at": "2024-07-15T17:20:24.070600", "created_at": "2022-02-07T21:23:11+01:00", "updated_at": "2022-08-24T20:50:45+02:00", "name": "build-sphinx-html", "path": ".github/workflows/build-sphinx-html.yml", "contents": "name: build-sphinx-html\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\n  workflow_dispatch:\n\njobs:\n  build-sphinx:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        name: Checkout pypose/pypose\n        with:\n          repository: pypose/pypose\n          ref: docs\n          token: ${{ secrets.JEKYLL_PAT }}\n      - uses: ammaraskar/sphinx-action@master\n        name: Build Sphinx documentation\n        with:\n          docs-folder: \"docs/\"\n      - uses: actions/upload-artifact@v1\n        name: Save html artifacts\n        with:\n          name: DocumentationHTML\n          path: docs/build/html\n", "state": "active", "repository": "pypose/pypose"}
{"mined_at": "2024-07-15T17:20:25.077559", "created_at": "2023-02-01T05:11:26+01:00", "updated_at": "2023-02-01T05:11:26+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "pypose/pypose"}
{"mined_at": "2024-07-15T17:20:27.188955", "created_at": "2023-10-30T21:52:21+01:00", "updated_at": "2023-12-04T19:04:37+01:00", "name": "Build", "path": ".github/workflows/docker-build.yml", "contents": "name: Build\n\non: \n  workflow_call:\n    inputs:\n      IMAGE_TAG:\n        description: \"Kafka connector version\"\n        required: true\n        type: string\n        default: \"latest\"\n    secrets:\n      DOCKERHUB_USERNAME:\n        required: false\n      DOCKERHUB_TOKEN:\n        required: false\n\nenv:\n  DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}\n  IMAGE_TAG: ${{ inputs.IMAGE_TAG }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up JDK 17\n        uses: actions/setup-java@v2\n        with:\n          java-version: '17'\n          distribution: 'temurin'\n          cache: maven\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        if: ${{ env.DOCKERHUB_USERNAME != '' }}\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Update Kafka version\n        working-directory: sink-connector\n        if: ${{ github.event_name == 'release' }}\n        run: mvn -B versions:set -DnewVersion=${{ github.event.release.tag_name }} -DgenerateBackupPoms=false\n\n      - name: Update Lightweight version\n        working-directory: sink-connector-lightweight\n        if: ${{ github.event_name == 'release' }}\n        run: mvn -B versions:set -DnewVersion=${{ github.event.release.tag_name }} -DgenerateBackupPoms=false\n\n      - name: Setup env\n        working-directory: sink-connector\n        run: echo \"PROJECT_VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)\" >> \"$GITHUB_ENV\"\n\n      - name: Build with Maven (Kafka)\n        working-directory: sink-connector\n        run: mvn -B package install -DskipTests=true --file pom.xml\n\n      - name: Upload Maven build (Kafka)\n        uses: actions/upload-artifact@v3\n        with:\n          name: clickhouse-sink-connector-kafka-${{ env.IMAGE_TAG }}.jar\n          path: sink-connector/target/clickhouse-kafka-sink-connector-${{ env.PROJECT_VERSION }}.jar\n\n      - name: Build Docker image (Kafka)\n        working-directory: sink-connector\n        run: |\n          docker build . --file docker/Dockerfile-sink-on-debezium-base-image --tag altinityinfra/clickhouse-sink-connector:${{ env.IMAGE_TAG }}-kafka\n          docker save altinityinfra/clickhouse-sink-connector:${{ env.IMAGE_TAG }}-kafka | gzip > clickhouse-sink-connector_${{ env.IMAGE_TAG }}-kafka.tar.gz\n\n      - name: Upload Docker tar (Kafka)\n        uses: actions/upload-artifact@v3\n        if: ${{ github.event.pull_request.head.repo.full_name != 'Altinity/clickhouse-sink-connector' && github.event_name != 'workflow_dispatch' }}\n        with:\n          name: clickhouse-sink-connector_${{ env.IMAGE_TAG }}-kafka.tar.gz\n          path: sink-connector/clickhouse-sink-connector_${{ env.IMAGE_TAG }}-kafka.tar.gz\n\n      - name: Upload Docker image (Kafka)\n        if: ${{ env.DOCKERHUB_USERNAME != '' }}\n        run: docker image push altinityinfra/clickhouse-sink-connector:${{ env.IMAGE_TAG }}-kafka\n\n      - name: Update sink connector jar file version in sink-connector-lightweight pom.xml\n        working-directory: sink-connector-lightweight\n        run:  mvn versions:set-property -Dproperty=sink-connector-library-version -DnewVersion=${{ env.PROJECT_VERSION }}\n\n      - name: Build with Maven (Lightweight)\n        working-directory: sink-connector-lightweight\n        run:  mvn -B package -DskipTests=true --file pom.xml\n\n      - name: Upload Maven build (Lightweight)\n        uses: actions/upload-artifact@v3\n        with:\n          name: clickhouse-sink-connector-lt-${{ env.IMAGE_TAG }}.jar\n          path: sink-connector-lightweight/target/clickhouse-debezium-embedded-${{ env.PROJECT_VERSION }}.jar\n\n      - name: Build with Go\n        working-directory: sink-connector-client\n        run: CGO_ENABLED=0 go build\n\n      - name: Build Docker image (Lightweight)\n        run: |\n          docker build . --file sink-connector-lightweight/Dockerfile --tag altinityinfra/clickhouse-sink-connector:${{ env.IMAGE_TAG }}-lt\n          docker save altinityinfra/clickhouse-sink-connector:${{ env.IMAGE_TAG }}-lt | gzip > clickhouse-sink-connector_${{ env.IMAGE_TAG }}-lt.tar.gz\n\n      - name: Upload Docker tar (Lightweight)\n        uses: actions/upload-artifact@v3\n        if: ${{ github.event.pull_request.head.repo.full_name != 'Altinity/clickhouse-sink-connector' && github.event_name != 'workflow_dispatch' }}\n        with:\n          name: clickhouse-sink-connector_${{ env.IMAGE_TAG }}-lt.tar.gz\n          path: clickhouse-sink-connector_${{ env.IMAGE_TAG }}-lt.tar.gz\n\n      - name: Upload Docker image (Lightweight)\n        if: ${{ env.DOCKERHUB_USERNAME != '' }}\n        run: docker image push altinityinfra/clickhouse-sink-connector:${{ env.IMAGE_TAG }}-lt\n", "state": "active", "repository": "altinity/clickhouse-sink-connector"}
{"mined_at": "2024-07-15T17:20:28.308152", "created_at": "2023-10-30T21:52:23+01:00", "updated_at": "2023-11-28T19:53:41+01:00", "name": "Lightweight - Java Tests", "path": ".github/workflows/sink-connector-lightweight-tests.yml", "contents": "name: Lightweight - Java Tests\n\non:\n  workflow_call:\n    inputs:\n      SINK_CONNECTOR_IMAGE:\n        description: \"Lightweight connector docker image\"\n        required: true\n        type: string\n  workflow_dispatch:\n    inputs:\n      SINK_CONNECTOR_IMAGE:\n        description: \"Lightweight connector docker image\"\n        required: true\n        type: string\n\nenv:\n  SINK_CONNECTOR_IMAGE: ${{ inputs.SINK_CONNECTOR_IMAGE }}\n\njobs:\n  java-lightweight:\n    runs-on: [ self-hosted, on-demand, type-cpx51, image-x86-app-docker-ce ]\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up JDK 17\n        uses: actions/setup-java@v2\n        with:\n          java-version: '17'\n          distribution: 'temurin'\n          cache: maven\n      - name: Display hostname of runner\n        run: echo $(hostname -I | cut -d ' ' -f 1)\n      - name: Install maven\n        run: sudo apt-get update && sudo apt-get install -y maven\n      - name: Build Library with Maven\n        working-directory: sink-connector\n        run: mvn clean install -DskipTests=true\n      - name: Build Replicator with Maven\n        working-directory: sink-connector-lightweight\n        run: mvn --quiet surefire-report:report\n      - name: Publish Test Report\n        uses: mikepenz/action-junit-report@v4\n        if: success() || failure() # always run even if the previous step fails\n        with:\n          report_paths: 'sink-connector-lightweight/target/surefire-reports/TEST-*.xml'\n", "state": "active", "repository": "altinity/clickhouse-sink-connector"}
{"mined_at": "2024-07-15T17:20:29.337704", "created_at": "2023-10-30T21:52:23+01:00", "updated_at": "2023-12-04T19:05:49+01:00", "name": "Kafka - Java Tests", "path": ".github/workflows/sink-connector-kafka-tests.yml", "contents": "name: Kafka - Java Tests\n\non:\n  workflow_call:\n    inputs:\n      SINK_CONNECTOR_IMAGE:\n        description: \"Kafka connector docker image\"\n        required: true\n        type: string\n  workflow_dispatch:\n    inputs:\n      SINK_CONNECTOR_IMAGE:\n        description: \"Kafka connector docker image\"\n        required: true\n        type: string\n\nenv:\n  SINK_CONNECTOR_IMAGE: ${{ inputs.SINK_CONNECTOR_IMAGE }}\n        \njobs:\n  java-kafka:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up JDK 17\n      uses: actions/setup-java@v2\n      with:\n        java-version: '17'\n        distribution: 'temurin'\n        cache: maven\n    - name: Build with Maven\n      working-directory: sink-connector\n      run: mvn -B package --file pom.xml\n    - name: Run Unit tests\n      working-directory: sink-connector\n      run: mvn test -Dgroups=IntegrationTest --file pom.xml\n", "state": "active", "repository": "altinity/clickhouse-sink-connector"}
{"mined_at": "2024-07-15T17:20:30.469234", "created_at": "2023-11-23T01:03:08+01:00", "updated_at": "2023-12-01T09:35:47+01:00", "name": "Pull Request Pipeline", "path": ".github/workflows/pull-request.yml", "contents": "name: Pull Request Pipeline\n\non:\n  pull_request:\n    types:\n      - synchronize\n      - reopened\n      - opened\n    branches:\n      - '**'\n\njobs:\n  build-kafka-lightweight:\n    uses: ./.github/workflows/docker-build.yml\n    secrets: inherit\n    with:\n      IMAGE_TAG: ${{ github.event.number }}-${{ github.sha }}\n\n  testflows-kafka:\n    needs: [build-kafka-lightweight]\n    uses: ./.github/workflows/testflows-sink-connector-kafka.yml\n    secrets: inherit\n    with:\n      SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ github.event.number }}-${{ github.sha }}-kafka\n\n  testflows-lightweight:\n    needs: [build-kafka-lightweight]\n    uses: ./.github/workflows/testflows-sink-connector-lightweight.yml\n    secrets: inherit\n    with:\n      SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ github.event.number }}-${{ github.sha }}-lt\n\n  java-tests-kafka:\n    needs: [build-kafka-lightweight]\n    uses: ./.github/workflows/sink-connector-kafka-tests.yml\n    with:\n      SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ github.event.number }}-${{ github.sha }}-kafka\n      \n  java-tests-lightweight:\n    needs: [build-kafka-lightweight]\n    uses: ./.github/workflows/sink-connector-lightweight-tests.yml\n    with:\n      SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ github.event.number }}-${{ github.sha }}-lt\n", "state": "active", "repository": "altinity/clickhouse-sink-connector"}
{"mined_at": "2024-07-15T17:20:31.528755", "created_at": "2023-11-28T19:53:42+01:00", "updated_at": "2023-11-28T19:53:42+01:00", "name": "Kafka - TestFlows Tests", "path": ".github/workflows/testflows-sink-connector-kafka.yml", "contents": "name: Kafka - TestFlows Tests\n\non:\n  workflow_call:\n    inputs:\n      SINK_CONNECTOR_IMAGE:\n        description: \"Kafka connector docker image\"\n        required: true\n        type: string\n    secrets:\n      DOCKERHUB_USERNAME:\n        required: false\n      DOCKERHUB_TOKEN:\n        required: false\n      AWS_ACCESS_KEY_ID:\n        required: false\n      AWS_SECRET_ACCESS_KEY:\n        required: false\n  workflow_dispatch:\n    inputs:\n      SINK_CONNECTOR_IMAGE:\n        description: \"Kafka connector docker image\"\n        required: true\n        type: string\n\nenv:\n  SINK_CONNECTOR_IMAGE: ${{ inputs.SINK_CONNECTOR_IMAGE }}\n\njobs:\n  testflows-kafka:\n    runs-on: [self-hosted, on-demand, type-cpx51, image-x86-app-docker-ce]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/download-artifact@v3\n        if: ${{ github.event.pull_request.head.repo.full_name != 'Altinity/clickhouse-sink-connector' && github.event_name != 'workflow_dispatch' }}\n        with:\n          name: clickhouse-sink-connector_${{ github.event.number }}-${{ github.sha }}-kafka.tar.gz\n\n      - name: Load Docker image\n        if: ${{ github.event.pull_request.head.repo.full_name != 'Altinity/clickhouse-sink-connector' && github.event_name != 'workflow_dispatch' }}\n        run: |\n          docker load  < clickhouse-sink-connector_${{ github.event.number }}-${{ github.sha }}-kafka.tar.gz\n          docker image ls\n\n      - name: Runner ssh command\n        working-directory: sink-connector/tests/integration\n        run: echo \"ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@$(hostname -I | cut -d ' ' -f 1)\"\n\n      - name: Install all dependencies\n        working-directory: sink-connector/tests/integration\n        run: pip3 install -r requirements.txt\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y-%m-%d_%H%M%S')\" >> $GITHUB_OUTPUT\n\n      - name: Add ~./local/bin to the PATH\n        if: always()\n        working-directory: sink-connector/tests/integration\n        run: echo ~/.local/bin >> $GITHUB_PATH\n\n      - name: Run testflows tests\n        working-directory: sink-connector/tests/integration\n        run: python3 -u regression.py --only \"/mysql to clickhouse replication/*\" --clickhouse-binary-path=docker://clickhouse/clickhouse-server:22.8 --test-to-end -o classic --collect-service-logs --attr project=\"${GITHUB_REPOSITORY}\" project.id=\"$GITHUB_RUN_NUMBER\" user.name=\"$GITHUB_ACTOR\" github_actions_run=\"$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\" sink_version=\"altinity/clickhouse-sink-connector:${SINK_CONNECTOR_VERSION}\" s3_url=\"https://altinity-test-reports.s3.amazonaws.com/index.html#altinity-sink-connector/testflows/${{ steps.date.outputs.date }}_${{github.run.number}}/\" --log logs/raw.log\n\n      - name: Create tfs results report\n        if: always()\n        working-directory: sink-connector/tests/integration/logs\n        run: cat raw.log | tfs report results | tfs document convert > report.html\n\n      - name: Create tfs coverage report\n        if: always()\n        working-directory: sink-connector/tests/integration/logs\n        run: cat raw.log | tfs report coverage ../requirements/requirements.py | tfs document convert > coverage.html\n\n      - name: Upload artifacts to Altinity Test Reports S3 bucket\n        if: ${{ github.event.pull_request.head.repo.full_name != 'Altinity/clickhouse-sink-connector' && github.event_name != 'workflow_dispatch' }}\n        working-directory: sink-connector/tests/integration/logs\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: 'eu-west-2'\n        run: aws s3 cp . s3://altinity-test-reports/altinity-sink-connector/testflows/${{ steps.date.outputs.date }}_sink/ --recursive --exclude \"*\" --include \"*.log\" --include \"*.html\"\n\n      - uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: testflows-sink-connector-kafka-artefacts\n          path: |\n            sink-connector/tests/integration/logs/*.log\n          if-no-files-found: error\n          retention-days: 60", "state": "active", "repository": "altinity/clickhouse-sink-connector"}
{"mined_at": "2024-07-15T17:20:32.562503", "created_at": "2023-11-28T19:53:42+01:00", "updated_at": "2023-11-28T19:53:42+01:00", "name": "Lightweight - TestFlows Tests", "path": ".github/workflows/testflows-sink-connector-lightweight.yml", "contents": "name: Lightweight - TestFlows Tests \nrun-name: ${{ inputs.custom_run_name || 'Lightweight - TestFlows Tests' }}\n\non:    \n  workflow_call:\n    inputs:\n      SINK_CONNECTOR_IMAGE:\n        description: \"Lightweight connector docker image\"\n        required: true\n        type: string\n      package:\n        description: \"Package either 'docker://' or 'https://'. Example: 'https://s3.amazonaws.com/clickhouse-builds/23.3/.../package_release/clickhouse-common-static_23.3.1.64_amd64.deb', or 'docker://altinity/clickhouse-server:23.8.8'\"\n        type: string\n        default: docker://clickhouse/clickhouse-server:23.3\n    secrets:\n      DOCKERHUB_USERNAME:\n        required: false\n      DOCKERHUB_TOKEN:\n        required: false\n      AWS_ACCESS_KEY_ID:\n        required: false\n      AWS_SECRET_ACCESS_KEY:\n        required: false\n  workflow_dispatch:\n    inputs:\n      SINK_CONNECTOR_IMAGE:\n        description: \"Lightweight connector docker image\"\n        required: true\n        type: string\n      package:\n        description: \"Package either 'docker://' or 'https://'. Example: 'https://s3.amazonaws.com/clickhouse-builds/23.3/.../package_release/clickhouse-common-static_23.3.1.64_amd64.deb', or 'docker://altinity/clickhouse-server:23.8.8'\"\n        type: string\n        default: docker://clickhouse/clickhouse-server:23.3\n      extra_args:\n        description: \"Specific Suite To Run (Default * to run everything).\"\n        required: false\n        type: string\n      custom_run_name:\n        description: 'Custom run name (optional)'\n        required: false\n\nenv:\n  SINK_CONNECTOR_IMAGE: ${{ inputs.SINK_CONNECTOR_IMAGE }}\n\njobs:\n  testflows-lightweight:\n    runs-on: [self-hosted, on-demand, type-cpx51, image-x86-app-docker-ce]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/download-artifact@v3\n        if: ${{ github.event.pull_request.head.repo.full_name != 'Altinity/clickhouse-sink-connector' && github.event_name != 'workflow_dispatch' }}\n        with:\n          name: clickhouse-sink-connector_${{ github.event.number }}-${{ github.sha }}-lt.tar.gz\n\n      - name: Load Docker image\n        if: ${{ github.event.pull_request.head.repo.full_name != 'Altinity/clickhouse-sink-connector' && github.event_name != 'workflow_dispatch' }}\n        run: |\n          docker load  < clickhouse-sink-connector_${{ github.event.number }}-${{ github.sha }}-lt.tar.gz\n          docker image ls\n\n      - name: Runner ssh command\n        working-directory: sink-connector/tests/integration\n        run: echo \"ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@$(hostname -I | cut -d ' ' -f 1)\"\n\n      - name: Install all dependencies\n        working-directory: sink-connector-lightweight/tests/integration\n        run: pip3 install -r requirements.txt\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y-%m-%d_%H%M%S')\" >> $GITHUB_OUTPUT\n\n      - name: Add ~./local/bin to the PATH\n        if: always()\n        working-directory: sink-connector-lightweight/tests/integration\n        run: echo ~/.local/bin >> $GITHUB_PATH\n\n      - name: Run testflows tests\n        working-directory: sink-connector-lightweight/tests/integration\n        run: python3 -u regression.py --only \"/mysql to clickhouse replication/auto table creation/${{ inputs.extra_args != '' && inputs.extra_args || '*' }}\" --clickhouse-binary-path=\"${{inputs.package}}\" --test-to-end -o classic --collect-service-logs --attr project=\"${GITHUB_REPOSITORY}\" project.id=\"$GITHUB_RUN_NUMBER\" user.name=\"$GITHUB_ACTOR\" github_actions_run=\"$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\" sink_version=\"registry.gitlab.com/altinity-public/container-images/clickhouse_debezium_embedded:latest\" s3_url=\"https://altinity-test-reports.s3.amazonaws.com/index.html#altinity-sink-connector/testflows/${{ steps.date.outputs.date }}_${{github.run.number}}/\" --log logs/raw.log\n\n      - name: Create tfs results report\n        if: always()\n        working-directory: sink-connector-lightweight/tests/integration/logs\n        run: cat raw.log | tfs report results | tfs document convert > report.html\n\n      - name: Create tfs coverage report\n        if: always()\n        working-directory: sink-connector-lightweight/tests/integration/logs\n        run: cat raw.log | tfs report coverage ../requirements/requirements.py | tfs document convert > coverage.html\n\n      - name: Upload artifacts to Altinity Test Reports S3 bucket\n        if: ${{ github.event.pull_request.head.repo.full_name != 'Altinity/clickhouse-sink-connector' && github.event_name != 'workflow_dispatch' }}\n        working-directory: sink-connector-lightweight/tests/integration/logs\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: 'eu-west-2'\n        run: aws s3 cp . s3://altinity-test-reports/altinity-sink-connector/testflows/${{ steps.date.outputs.date }}_sink_lw/ --recursive --exclude \"*\" --include \"*.log\" --include \"*.html\"\n\n      - uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: testflows-sink-connector-lightweight-artefacts\n          path: |\n            sink-connector-lightweight/tests/integration/logs/*.log\n            sink-connector-lightweight/tests/integration/env/auto/configs/*.yml\n          if-no-files-found: error\n          retention-days: 60\n  testflows-lightweight-replicated:\n    runs-on: [self-hosted, on-demand, type-cpx51, image-x86-app-docker-ce]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/download-artifact@v3\n        if: ${{ github.event.pull_request.head.repo.full_name != 'Altinity/clickhouse-sink-connector' && github.event_name != 'workflow_dispatch' }}\n        with:\n          name: clickhouse-sink-connector_${{ github.event.number }}-${{ github.sha }}-lt.tar.gz\n\n      - name: Load Docker image\n        if: ${{ github.event.pull_request.head.repo.full_name != 'Altinity/clickhouse-sink-connector' && github.event_name != 'workflow_dispatch' }}\n        run: |\n          docker load  < clickhouse-sink-connector_${{ github.event.number }}-${{ github.sha }}-lt.tar.gz\n          docker image ls\n\n      - name: Runner ssh command\n        working-directory: sink-connector/tests/integration\n        run: echo \"ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@$(hostname -I | cut -d ' ' -f 1)\"\n\n      - name: Install all dependencies\n        working-directory: sink-connector-lightweight/tests/integration\n        run: pip3 install -r requirements.txt\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y-%m-%d_%H%M%S')\" >> $GITHUB_OUTPUT\n\n      - name: Add ~./local/bin to the PATH\n        if: always()\n        working-directory: sink-connector-lightweight/tests/integration\n        run: echo ~/.local/bin >> $GITHUB_PATH\n\n      - name: Run testflows tests\n        working-directory: sink-connector-lightweight/tests/integration\n        run: python3 -u regression.py --only \"/mysql to clickhouse replication/auto replicated table creation/${{ inputs.extra_args != '' && inputs.extra_args || '*' }}\" --clickhouse-binary-path=\"${{inputs.package}}\" --test-to-end -o classic --collect-service-logs --attr project=\"${GITHUB_REPOSITORY}\" project.id=\"$GITHUB_RUN_NUMBER\" user.name=\"$GITHUB_ACTOR\" github_actions_run=\"$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\" sink_version=\"registry.gitlab.com/altinity-public/container-images/clickhouse_debezium_embedded:latest\" s3_url=\"https://altinity-test-reports.s3.amazonaws.com/index.html#altinity-sink-connector/testflows/${{ steps.date.outputs.date }}_${{github.run.number}}/\" --log logs/raw.log\n\n      - name: Create tfs results report\n        if: always()\n        working-directory: sink-connector-lightweight/tests/integration/logs\n        run: cat raw.log | tfs report results | tfs document convert > report.html\n\n      - name: Create tfs coverage report\n        if: always()\n        working-directory: sink-connector-lightweight/tests/integration/logs\n        run: cat raw.log | tfs report coverage ../requirements/requirements.py | tfs document convert > coverage.html\n\n      - name: Upload artifacts to Altinity Test Reports S3 bucket\n        if: ${{ github.event.pull_request.head.repo.full_name != 'Altinity/clickhouse-sink-connector' && github.event_name != 'workflow_dispatch' }}\n        working-directory: sink-connector-lightweight/tests/integration/logs\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: 'eu-west-2'\n        run: aws s3 cp . s3://altinity-test-reports/altinity-sink-connector/testflows/${{ steps.date.outputs.date }}_sink_lw/ --recursive --exclude \"*\" --include \"*.log\" --include \"*.html\"\n\n      - uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: testflows-sink-connector-lightweight-replicated-artefacts\n          path: |\n            sink-connector-lightweight/tests/integration/logs/*.log\n            sink-connector-lightweight/tests/integration/env/auto_replicated/configs/*.yml\n          if-no-files-found: error\n          retention-days: 60", "state": "active", "repository": "altinity/clickhouse-sink-connector"}
{"mined_at": "2024-07-15T17:20:33.745257", "created_at": "2023-12-01T04:08:40+01:00", "updated_at": "2023-12-01T08:33:47+01:00", "name": "Publish Release", "path": ".github/workflows/publish.yml", "contents": "name: Publish Release\n\non: \n  workflow_call:\n    inputs: \n      release_tag:\n        required: true\n        type: string\n      prerelease:\n        required: true\n        type: boolean\n        default: true\n      draft:\n        required: true\n        type: boolean\n        default: false\n    secrets:\n      DOCKERHUB_USERNAME:\n        required: false\n      DOCKERHUB_TOKEN:\n        required: false\n\nenv:\n  release_tag: ${{ inputs.release_tag }}\n\njobs:\n  publish-docker:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      \n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Pull test images\n        if: ${{ !inputs.prerelease && !inputs.draft}}\n        run: |\n          docker pull altinityinfra/clickhouse-sink-connector:$release_tag-test-kafka\n          docker pull altinityinfra/clickhouse-sink-connector:$release_tag-test-lt\n\n      - name: Tag images\n        if: ${{ !inputs.prerelease && !inputs.draft}}\n        run: |\n          docker image tag altinityinfra/clickhouse-sink-connector:$release_tag-test-kafka altinity/clickhouse-sink-connector:$release_tag-kafka\n          docker image tag altinityinfra/clickhouse-sink-connector:$release_tag-test-lt altinity/clickhouse-sink-connector:$release_tag-lt\n\n      - name: Push images\n        if: ${{ !inputs.prerelease && !inputs.draft }}\n        run: |\n          docker push altinity/clickhouse-sink-connector:$release_tag-kafka\n          docker push altinity/clickhouse-sink-connector:$release_tag-lt\n\n      - name: Update Docker links\n        working-directory: release-notes\n        if: ${{ !inputs.prerelease && !inputs.draft}}\n        run: sed -i \"s/release_tag/$release_tag/\" ${{ env.release_tag }}.md\n\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ env.release_tag }}\n          release_name: Release v${{ env.release_tag }}\n          prerelease: ${{ inputs.prerelease }}\n          draft: ${{ inputs.draft }}\n          body_path: ${{ github.workspace }}/release-notes/${{ env.release_tag }}.md\n\n      - name: Download jar files\n        uses: actions/download-artifact@v3\n\n#      - name: Zip jar files\n#        run: |\n#          zip clickhouse-sink-connector-kafka-${{ env.release_tag }}-test.jar.zip clickhouse-sink-connector-kafka-${{ env.release_tag }}-test.jar\n#          zip clickhouse-sink-connector-lt-${{ env.release_tag }}-test.jar.zip clickhouse-sink-connector-lt-${{ env.release_tag }}-test.jar\n#\n#      - name: Upload jar file to release (Kafka)\n#        uses: actions/upload-release-asset@v1\n#        env:\n#          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n#        with:\n#          upload_url: ${{ steps.create_release.outputs.upload_url }}\n#          asset_name: clickhouse-sink-connector-kafka-${{ env.release_tag }}.jar.zip\n#          asset_path: clickhouse-sink-connector-kafka-${{ env.release_tag }}-test.jar.zip\n#          asset_content_type: application/zip\n#\n#      - name: Upload jar file to release (Lightweight)\n#        uses: actions/upload-release-asset@v1\n#        env:\n#          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n#        with:\n#          upload_url: ${{ steps.create_release.outputs.upload_url }}\n#          asset_name: clickhouse-sink-connector-lt-${{ env.release_tag }}.jar.zip\n#          asset_path: clickhouse-sink-connector-lt-${{ env.release_tag }}-test.jar.zip\n#          asset_content_type: application/zip\n\n      - name: Zip and tar source code\n        run: |\n          cd ..\n          zip -r Source.zip clickhouse-sink-connector\n          tar czf Source.tar.gz clickhouse-sink-connector\n\n      - name: Upload source zip\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_name: Source.zip\n          asset_path: ../Source.zip\n          asset_content_type: application/zip\n\n      - name: Upload source tar\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_name: Source.tar.gz\n          asset_path: ../Source.tar.gz\n          asset_content_type: application/gzip\n", "state": "active", "repository": "altinity/clickhouse-sink-connector"}
{"mined_at": "2024-07-15T17:20:34.882815", "created_at": "2023-12-01T04:08:40+01:00", "updated_at": "2023-12-01T20:51:35+01:00", "name": "Release Pipeline", "path": ".github/workflows/release.yml", "contents": "name: Release Pipeline\n\non: \n  workflow_dispatch:\n    inputs:\n      release_tag:\n        required: true\n        type: string\n      prerelease:\n        required: true\n        type: boolean\n        default: true\n      draft:\n        required: true\n        type: boolean\n        default: false\n\njobs:\n  build-kafka-lightweight:\n    uses: ./.github/workflows/docker-build.yml\n    secrets: inherit\n    with:\n      IMAGE_TAG: ${{ inputs.release_tag }}-test\n\n  testflows-kafka:\n    needs: [build-kafka-lightweight]\n    uses: ./.github/workflows/testflows-sink-connector-kafka.yml\n    secrets: inherit\n    with:\n      SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ inputs.release_tag }}-test-kafka\n\n  testflows-lightweight:\n    needs: [build-kafka-lightweight]\n    uses: ./.github/workflows/testflows-sink-connector-lightweight.yml\n    secrets: inherit\n    with:\n      SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ inputs.release_tag }}-test-lt\n\n  java-tests-kafka:\n    needs: [build-kafka-lightweight]\n    uses: ./.github/workflows/sink-connector-kafka-tests.yml\n    with:\n      SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ github.event.number }}-${{ github.sha }}-kafka\n      \n  java-tests-lightweight:\n    needs: [build-kafka-lightweight]\n    uses: ./.github/workflows/sink-connector-lightweight-tests.yml\n    with:\n      SINK_CONNECTOR_IMAGE: altinityinfra/clickhouse-sink-connector:${{ github.event.number }}-${{ github.sha }}-lt\n\n  publish:\n    needs: [testflows-kafka, testflows-lightweight, java-tests-kafka, java-tests-lightweight]\n    uses: ./.github/workflows/publish.yml\n    secrets: inherit\n    with:\n      release_tag: ${{ inputs.release_tag }}\n      prerelease: ${{ inputs.prerelease }}\n      draft: ${{ inputs.draft }}\n", "state": "active", "repository": "altinity/clickhouse-sink-connector"}
{"mined_at": "2024-07-15T17:20:35.899768", "created_at": "2023-12-01T09:35:47+01:00", "updated_at": "2023-12-01T09:42:59+01:00", "name": "Cancel", "path": ".github/workflows/cancel.yml", "contents": "name: Cancel\n\non:\n  workflow_run:\n    workflows: [\"Pull Request Pipeline\", \"Release Pipeline\"]\n    types:\n      - requested\n\njobs:\n  cancel:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: styfle/cancel-workflow-action@0.9.1\n        with:\n          workflow_id: ${{ github.event.workflow.id }}\n          all_but_latest: true", "state": "active", "repository": "altinity/clickhouse-sink-connector"}
{"mined_at": "2024-07-15T17:20:38.070732", "created_at": "2022-06-08T18:28:11+02:00", "updated_at": "2022-06-09T13:00:15+02:00", "name": "Push results of react build", "path": ".github/workflows/build.js.yml", "contents": "name: Push results of react build\n\non:\n  push:\n    branches: [  main ]\n    paths-ignore:\n      - label_sleuth/**\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x]\n        # See supported Node.js release schedule at https://nodejs.org/en/about/releases/\n\n    steps:\n      - uses: wow-actions/use-app-token@v1\n        id: generate_token\n        with:\n          app_id: ${{ secrets.APP_ID_PUSH_BOT }}\n          private_key: ${{ secrets.PRIVATE_KEY_PUSH_BOT }}\n\n      - name: Checkout project\n        uses: actions/checkout@v3\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n\n      - name: Setup Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{ matrix.node-version }}\n          cache: 'npm'\n          cache-dependency-path: ./frontend/package-lock.json\n\n      - name: Install our dependencies\n        run: npm ci\n        working-directory: ./frontend\n\n      - name: Run js tests\n        run: npm run test --if-present\n        working-directory: ./frontend\n\n      - name: Build static web site\n        run: npm run build\n        working-directory: ./frontend\n        env:\n          CI: false\n\n      - name: remove old build\n        run: rm -r label_sleuth/build\n\n      - name: Move static web site inside label_sleuth\n        run: mv frontend/build label_sleuth\n\n      - name: Commit changes\n        uses: EndBug/add-and-commit@v8\n        with:\n          author_name: ${{ github.actor }}\n          author_email: ${{ github.actor }}@users.noreply.github.com\n          message: 'Pushed latest compiled by github action bot following changes in /fronted'\n          add: 'label_sleuth/build/'\n", "state": "active", "repository": "label-sleuth/label-sleuth"}
{"mined_at": "2024-07-15T17:20:39.171890", "created_at": "2022-06-08T17:52:45+02:00", "updated_at": "2022-06-09T12:45:59+02:00", "name": "Test Python code", "path": ".github/workflows/test_python.yml", "contents": "name: Test Python code\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  pytest:\n\n    runs-on: ubuntu-latest\n    env:\n      OS: ubuntu-latest\n      PYTHON: '3.10'\n\n    steps:\n    - name: Checkout the project\n      uses: actions/checkout@v3\n\n    - name: Setup Python\n      uses: actions/setup-python@master\n      with:\n        python-version: ${{ env.PYTHON }}\n        cache: 'pip'\n\n    - name: Install Requirements\n      run: pip install -r requirements.txt\n\n    - name: Install the package that is required for testing and coverage calculation\n      run: pip install coverage\n\n    - name: Generate Report\n      run:  coverage run -m unittest\n\n    - name: Upload Coverage to Codecov\n      uses: codecov/codecov-action@v2\n\n", "state": "active", "repository": "label-sleuth/label-sleuth"}
{"mined_at": "2024-07-15T17:20:40.336800", "created_at": "2022-06-08T18:06:45+02:00", "updated_at": "2022-06-09T12:45:59+02:00", "name": "Publish Python Code", "path": ".github/workflows/upload_python_package.yml", "contents": "name: Publish Python Code\n\non:\n  push:\n    branches:\n      - \"!*\"\n    tags:\n      - \"v*\"\n\njobs:\n  package:\n\n    runs-on: ubuntu-latest\n    env:\n      OS: ubuntu-latest\n      PYTHON: '3.10'\n\n    steps:\n    - name: Checkout the project\n      uses: actions/checkout@v3\n\n    - name: Setup Python\n      uses: actions/setup-python@master\n      with:\n        python-version: ${{ env.PYTHON }}\n        cache: 'pip'\n\n    - name: Set env\n      run: echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n\n    - name: fix release version\n      run: |\n        sed -i /^RELEASE_VERSION/d setup.py\n        sed -i /RELEASE_VERSION$/d setup.py\n        sed -i s/{RELEASE_VERSION}/${{ env.RELEASE_VERSION }}/ setup.py\n\n    - name: Install packages required for publishing\n      run: pip install twine wheel setuptools\n\n    - name: Build the library\n      run: python setup.py sdist\n\n    - name: check the library\n      run: twine check dist/*\n\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "label-sleuth/label-sleuth"}
{"mined_at": "2024-07-15T17:20:41.425066", "created_at": "2022-06-08T17:22:30+02:00", "updated_at": "2022-07-06T14:58:45+02:00", "name": "Test React code", "path": ".github/workflows/verify_react.yml", "contents": "# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions\n\nname: Test React code\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - frontend/**\n\n  pull_request:\n    branches: [ main ]\n    paths:\n      - frontend/**\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [16.x]\n        # See supported Node.js release schedule at https://nodejs.org/en/about/releases/\n    steps:\n      - name: Checkout project\n        uses: actions/checkout@v3\n\n      - name: Setup Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{ matrix.node-version }}\n          cache: 'npm'\n          cache-dependency-path: ./frontend/package-lock.json\n\n      - name: Install our dependencies\n        run: npm ci\n        working-directory: ./frontend\n\n      - name: Run react tests\n        run: npm test\n        working-directory: ./frontend\n\n      - name: Build static web site\n        run: npm run build\n        working-directory: ./frontend\n        env:\n          CI: false\n\n", "state": "active", "repository": "label-sleuth/label-sleuth"}
{"mined_at": "2024-07-15T17:20:43.675422", "created_at": "2021-03-19T14:41:27+01:00", "updated_at": "2021-03-19T14:41:27+01:00", "name": "autocloseissue", "path": ".github/workflows/autoclose.yml", "contents": "name: autocloseissue\n\non:\n  issues:\n    types: [opened, edited]\n\njobs:\n  auto_close_issues:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v1\n      - name: Automatically close issues that don't follow the issue template\n        uses: lucasbento/auto-close-issues@v1.0.2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          issue-close-message: \"@${{ github.event.issue.user.login }}: 嗨 :wave:\\n\\n這個 issue 似乎沒有使用 issue 樣板提出，因此被我自動關閉了。\"\n          closed-issues-label: \"🙁 未依照樣板提出\"\n", "state": "active", "repository": "futaguard/lowtechfilter"}
{"mined_at": "2024-07-15T17:20:44.792401", "created_at": "2021-12-19T05:01:28+01:00", "updated_at": "2021-12-19T05:01:28+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "futaguard/lowtechfilter"}
{"mined_at": "2024-07-15T17:20:45.809576", "created_at": "2023-07-08T08:59:22+02:00", "updated_at": "2023-07-08T10:20:07+02:00", "name": "TW165", "path": ".github/workflows/tw165.yml", "contents": "name: TW165\n\non:\n  schedule:\n    - cron:  '0 0 * * *'\n  workflow_dispatch:\n\njobs:\n  update_165_data:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n          cache: 'pip' # caching pip dependencies\n      - run: pip install -r AutoBuild/requirements.txt && python AutoBuild/tw_165.py\n        env:\n          tw165json: ${{ vars.TW165JSON }}\n          tw165csv: ${{ vars.TW165CSV }}\n          auth: ${{ secrets.AUTH }}\n      - name: push\n        uses: github-actions-x/commit@v2.9\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          push-branch: 'master'\n          commit-message: '🤖 自動更新 165 詐騙網址'\n          files: TW165.txt\n          name: tdc\n          email: tdc@sudo.host\n\n", "state": "active", "repository": "futaguard/lowtechfilter"}
{"mined_at": "2024-07-15T17:20:47.025404", "created_at": "2023-07-29T17:57:41+02:00", "updated_at": "2023-07-29T17:57:41+02:00", "name": "TWNIC RPZ", "path": ".github/workflows/twnic_rpz.yml", "contents": "name: TWNIC RPZ\n\non:\n  schedule:\n    - cron:  '0 0 * * *'\n  workflow_dispatch:\n\njobs:\n  update_twnic_rpz_data:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n          cache: 'pip' # caching pip dependencies\n      - run: pip install -r AutoBuild/requirements.txt && python AutoBuild/twnic_rpz.py\n      - name: push\n        uses: github-actions-x/commit@v2.9\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          push-branch: 'master'\n          commit-message: '🤖 自動更新 TWNIC RPZ 封鎖域名'\n          files: TWNIC-RPZ.txt\n          name: tdc\n          email: tdc@sudo.host\n", "state": "active", "repository": "futaguard/lowtechfilter"}
{"mined_at": "2024-07-15T17:20:49.105726", "created_at": "2022-03-03T21:45:58+01:00", "updated_at": "2022-03-03T21:45:58+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tommadness/kh2randomizer"}
{"mined_at": "2024-07-15T17:20:51.255290", "created_at": "2024-05-07T14:14:17+02:00", "updated_at": "2024-05-07T14:14:17+02:00", "name": "Generate and publish documentation", "path": ".github/workflows/publish-documentation.yml", "contents": "---\n\nname: Generate and publish documentation\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  publish_documentation:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    environment:\n      name: pypi\n      url: https://pypi.org/p/fakeredis\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Configure Git Credentials\n        run: |\n          git config user.name github-actions[bot]\n          git config user.email 41898282+github-actions[bot]@users.noreply.github.com\n      - name: Publish documentation\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}\n        run: |\n          pip install -r docs/requirements.txt\n          mkdocs gh-deploy --force\n          mkdocs --version\n", "state": "active", "repository": "cunla/fakeredis-py"}
{"mined_at": "2024-07-15T17:20:52.279552", "created_at": "2024-05-07T14:14:17+02:00", "updated_at": "2024-05-07T14:14:17+02:00", "name": "Upload Python Package to PyPI", "path": ".github/workflows/publish-pypi.yml", "contents": "---\n\nname: Upload Python Package to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    environment:\n      name: pypi\n      url: https://pypi.org/p/fakeredis\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        env:\n          PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: python -m build\n\n      - name: Publish package to pypi\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          print-hash: true\n", "state": "active", "repository": "cunla/fakeredis-py"}
{"mined_at": "2024-07-15T17:20:53.390543", "created_at": "2022-04-15T18:03:22+02:00", "updated_at": "2022-07-23T20:47:49+02:00", "name": "Unit tests", "path": ".github/workflows/test.yml", "contents": "---\nname: Unit tests\n\non:\n  push:\n    branches:\n      - master\n  pull_request_target:\n    branches:\n      - master\n\nconcurrency:\n  group: test-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    name: \"flake8 on code\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          cache-dependency-path: poetry.lock\n          python-version: \"3.11\"\n      - name: Install dependencies\n        env:\n          PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring\n        run: |\n          python -m pip --quiet install poetry\n          echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n          poetry install\n      - name: Run flake8\n        shell: bash\n        run: |\n          poetry run flake8 fakeredis/\n      - name: Test import\n        run: |\n          poetry build\n          pip install dist/fakeredis-*.tar.gz\n          python -c \"import fakeredis\"\n  test:\n    name: >\n      py:${{ matrix.python-version }},${{ matrix.redis-image }},\n      redis-py:${{ matrix.redis-py }},cov:${{ matrix.coverage }},\n      extra:${{matrix.extra}}\n    needs:\n      - \"lint\"\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 8\n      fail-fast: false\n      matrix:\n        redis-image: [ \"redis:6.2.14\", \"redis:7.0.15\", \"redis:7.2.4\" ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n        redis-py: [ \"4.3.6\", \"4.6.0\", \"5.0.6\", \"5.1.0b6\" ]\n        include:\n          - python-version: \"3.11\"\n            redis-image: \"redis/redis-stack:6.2.6-v13\"\n            redis-py: \"5.0.6\"\n            extra: true  # json, bf, lupa, cf\n            hypothesis: true\n          - python-version: \"3.11\"\n            redis-image: \"redis/redis-stack-server:7.2.0-v9\"\n            redis-py: \"5.0.6\"\n            extra: true  # json, bf, lupa, cf\n            coverage: true\n            hypothesis: true\n\n    permissions:\n      pull-requests: write\n    services:\n      redis:\n        image: ${{ matrix.redis-image }}\n        ports:\n          - 6380:6379\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n    outputs:\n      version: ${{ steps.getVersion.outputs.VERSION }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          cache-dependency-path: poetry.lock\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        env:\n          PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring\n        run: |\n          python -m pip --quiet install poetry\n          echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n          poetry install\n          poetry run pip install redis==${{ matrix.redis-py }}\n      - name: Install json\n        if: ${{ matrix.extra }}\n        run: |\n          poetry run pip install \"fakeredis[json,bf,cf,lua]\"\n      - name: Get version\n        id: getVersion\n        shell: bash\n        run: |\n          VERSION=$(poetry version -s --no-ansi -n)\n          echo \"VERSION=$VERSION\" >> $GITHUB_OUTPUT\n      - name: Test without coverage\n        if: ${{ !matrix.coverage }}\n        run: |\n          poetry run pytest -v -m \"not slow\"\n      - name: Test with coverage\n        if: ${{ matrix.coverage }}\n        uses: ./.github/actions/test-coverage\n        with:\n          github-secret: ${{ secrets.GITHUB_TOKEN }}\n          gist-secret: ${{ secrets.GIST_SECRET }}\n  # Prepare a draft release for GitHub Releases page for the manual verification\n  # If accepted and published, release workflow would be triggered\n  update_release_draft:\n    name: \"Create or Update release draft\"\n    permissions:\n      # write permission is required to create a GitHub release\n      contents: write\n      # write permission is required for auto-labeler\n      # otherwise, read permission is required at least\n      pull-requests: write\n    needs:\n      - \"test\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v6\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "cunla/fakeredis-py"}
{"mined_at": "2024-07-15T17:20:54.526717", "created_at": "2023-05-08T01:55:30+02:00", "updated_at": "2023-05-08T01:55:30+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "cunla/fakeredis-py"}
{"mined_at": "2024-07-15T17:20:55.556632", "created_at": "2023-01-26T03:54:46+01:00", "updated_at": "2023-01-26T03:54:46+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "cunla/fakeredis-py"}
{"mined_at": "2024-07-15T17:20:57.563339", "created_at": "2021-04-01T20:25:33+02:00", "updated_at": "2022-07-29T00:39:18+02:00", "name": "DCO", "path": ".github/workflows/dco.yml", "contents": "name: DCO\non:\n  pull_request:\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Check DCO\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        pip3 install -U dco-check\n        dco-check --verbose\n", "state": "active", "repository": "ros2/ros2_tracing"}
{"mined_at": "2024-07-15T17:20:58.628072", "created_at": "2022-07-26T20:31:35+02:00", "updated_at": "2022-07-26T20:31:49+02:00", "name": "Mirror rolling to master", "path": ".github/workflows/mirror-rolling-to-master.yaml", "contents": "name: Mirror rolling to master\n\non:\n  push:\n    branches: [ rolling ]\n\njobs:\n  mirror-to-master:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: zofrex/mirror-branch@v1\n      with:\n        target-branch: master\n", "state": "active", "repository": "ros2/ros2_tracing"}
{"mined_at": "2024-07-15T17:20:59.859406", "created_at": "2022-07-20T20:13:17+02:00", "updated_at": "2022-07-29T00:39:18+02:00", "name": "Sanity checks", "path": ".github/workflows/sanity.yml", "contents": "name: Sanity checks\non:\n  pull_request:\n  push:\n    branches:\n      - rolling\n  schedule:\n    - cron: \"0 5 * * *\"\ndefaults:\n  run:\n    shell: bash\njobs:\n  binary:\n    runs-on: ubuntu-latest\n    container:\n      image: ubuntu:24.04\n    continue-on-error: true\n    strategy:\n      fail-fast: false\n      matrix:\n        distro:\n          - rolling\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        path: ws/src/ros2/ros2_tracing\n    - uses: ros-tooling/setup-ros@master\n      with:\n        required-ros-distributions: ${{ matrix.distro }}\n        use-ros2-testing: true\n    - name: Install other dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y -q ros-${{ matrix.distro }}-*tracetools* babeltrace\n    - name: Make sure that tracing instrumentation is available\n      run: |\n        source /opt/ros/${{ matrix.distro }}/setup.bash\n        ros2 run tracetools status\n    - name: Build test_tracetools\n      run: |\n        source /opt/ros/${{ matrix.distro }}/setup.bash\n        colcon build --packages-select test_tracetools\n    - name: Generate trace and make sure it is not empty\n      run: |\n        source install/setup.bash\n        ros2 launch tracetools_launch example.launch.py\n        babeltrace ~/.ros/tracing/\n    - name: Build tracetools without tracepoints\n      run: |\n        cd $GITHUB_WORKSPACE/ws\n        source /opt/ros/${{ matrix.distro }}/setup.bash\n        colcon build --packages-select tracetools --cmake-args -DTRACETOOLS_TRACEPOINTS_EXCLUDED=ON\n    - name: Make sure that tracing instrumentation is not available\n      run: |\n        cd $GITHUB_WORKSPACE/ws\n        source install/setup.bash\n        (! ros2 run tracetools status)\n  source:\n    runs-on: ubuntu-latest\n    container:\n      image: ubuntu:24.04\n    continue-on-error: true\n    strategy:\n      fail-fast: false\n      matrix:\n        distro:\n          - rolling\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        path: ws/src/ros2/ros2_tracing\n    - uses: ros-tooling/setup-ros@master\n    - name: Build\n      run: |\n        cd $GITHUB_WORKSPACE/ws\n        vcs import src/ --input https://raw.githubusercontent.com/ros2/ros2/${{ matrix.distro }}/ros2.repos --skip-existing\n        vcs log -l1 src/\n        rosdep update\n        rosdep install -r --from-paths src --ignore-src -y --rosdistro ${{ matrix.distro }} --skip-keys \"fastcdr rti-connext-dds-6.0.1 urdfdom_headers\"\n        colcon build --packages-up-to tracetools ros2run ros2launch demo_nodes_cpp tracetools_launch test_tracetools\n    - name: Make sure that tracing instrumentation is available\n      run: |\n        cd $GITHUB_WORKSPACE/ws\n        source install/setup.bash\n        ros2 run tracetools status\n    - name: Generate trace and make sure it is not empty\n      run: |\n        cd $GITHUB_WORKSPACE/ws\n        source install/setup.bash\n        ros2 launch tracetools_launch example.launch.py\n        babeltrace ~/.ros/tracing/\n    - name: Build tracetools without tracepoints\n      run: |\n        cd $GITHUB_WORKSPACE/ws\n        colcon build --packages-select tracetools --cmake-clean-cache --cmake-args -DTRACETOOLS_TRACEPOINTS_EXCLUDED=ON\n    - name: Make sure that tracing instrumentation is not available\n      run: |\n        cd $GITHUB_WORKSPACE/ws\n        source install/setup.bash\n        (! ros2 run tracetools status)\n    - name: Remove LTTng-UST\n      run: |\n        sudo apt-get purge -y liblttng-ust-dev\n    - name: Make sure building tracetools without LTTng fails\n      run: |\n        cd $GITHUB_WORKSPACE/ws\n        (! colcon build --packages-select tracetools --cmake-clean-cache)\n    - name: Make sure building tracetools without LTTng and without tracepoints works\n      run: |\n        cd $GITHUB_WORKSPACE/ws\n        colcon build --packages-select tracetools --cmake-clean-cache --cmake-args -DTRACETOOLS_TRACEPOINTS_EXCLUDED=ON\n    - name: Make sure that tracing instrumentation is not available\n      run: |\n        cd $GITHUB_WORKSPACE/ws\n        source install/setup.bash\n        (! ros2 run tracetools status)\n", "state": "active", "repository": "ros2/ros2_tracing"}
{"mined_at": "2024-07-15T17:21:00.869978", "created_at": "2022-07-20T23:25:46+02:00", "updated_at": "2022-07-29T00:39:18+02:00", "name": "ros2_tracing", "path": ".github/workflows/test.yml", "contents": "name: ros2_tracing\non:\n  pull_request:\n  push:\n    branches:\n      - rolling\n  schedule:\n    - cron: \"0 5 * * *\"\ndefaults:\n  run:\n    shell: bash\njobs:\n  test:\n    runs-on: ubuntu-latest\n    container:\n      image: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.build-type == 'binary' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # Normal build (binary)\n          - os: ubuntu:24.04\n            distro: rolling\n            build-type: binary\n            instrumentation: instr-enabled\n            tracepoints: tp-included\n          # Normal build (source)\n          - os: ubuntu:24.04\n            distro: rolling\n            build-type: source\n            instrumentation: instr-enabled\n            tracepoints: tp-included\n          # Build with instrumentation disabled\n          - os: ubuntu:24.04\n            distro: rolling\n            build-type: source\n            instrumentation: instr-disabled\n            tracepoints: tp-included\n          # Normal build with tracepoints excluded\n          - os: ubuntu:24.04\n            distro: rolling\n            build-type: source\n            instrumentation: instr-enabled\n            tracepoints: tp-excluded\n    env:\n      ROS2_REPOS_FILE_URL: 'https://raw.githubusercontent.com/ros2/ros2/${{ matrix.distro }}/ros2.repos'\n    steps:\n    - uses: actions/checkout@v4\n    - uses: ros-tooling/setup-ros@master\n      with:\n        required-ros-distributions: ${{ matrix.build-type == 'binary' && matrix.distro || '' }}\n        use-ros2-testing: true\n    - uses: ros-tooling/action-ros-ci@master\n      with:\n        package-name: >\n          lttngpy\n          ros2trace\n          test_ros2trace\n          test_tracetools\n          test_tracetools_launch\n          tracetools\n          tracetools_launch\n          tracetools_read\n          tracetools_test\n          tracetools_trace\n        target-ros2-distro: ${{ matrix.distro }}\n        vcs-repo-file-url: ${{ matrix.build-type == 'source' && env.ROS2_REPOS_FILE_URL || '' }}\n        extra-cmake-args: >\n          ${{ endsWith(matrix.instrumentation, '-disabled') && '-DTRACETOOLS_DISABLED=ON' || '' }}\n          ${{ endsWith(matrix.tracepoints, '-excluded') && '-DTRACETOOLS_TRACEPOINTS_EXCLUDED=ON' || '' }}\n        colcon-defaults: |\n          {\n            \"build\": {\n              \"mixin\": [\n                \"coverage-gcc\",\n                \"coverage-pytest\"\n              ]\n            },\n            \"test\": {\n              \"mixin\": [\n                \"coverage-pytest\"\n              ],\n              \"executor\": \"sequential\",\n              \"retest-until-pass\": 2,\n              \"ctest-args\": [\"-LE\", \"xfail\"],\n              \"pytest-args\": [\"-m\", \"not xfail\"]\n            }\n          }\n    - name: Make sure tracing instrumentation is available\n      run: |\n        source ros_ws/install/setup.bash\n        ./ros_ws/build/tracetools/status\n      if: endsWith(matrix.instrumentation, '-enabled') && endsWith(matrix.tracepoints, '-included')\n    - name: Make sure tracing instrumentation is disabled\n      run: |\n        source ros_ws/install/setup.bash\n        (! ./ros_ws/build/tracetools/status)\n      if: endsWith(matrix.instrumentation, '-disabled') || endsWith(matrix.tracepoints, '-excluded')\n    - uses: codecov/codecov-action@v3\n      with:\n        files: ros_ws/lcov/total_coverage.info,ros_ws/coveragepy/.coverage\n", "state": "active", "repository": "ros2/ros2_tracing"}
{"mined_at": "2024-07-15T17:21:03.236253", "created_at": "2022-07-29T00:50:53+02:00", "updated_at": "2024-06-06T11:20:40+02:00", "name": "CI Test", "path": ".github/workflows/ci-test.yml", "contents": "name: CI Test\n\non: [push, pull_request]\n\njobs:\n  ci-test:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 1\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: false\n          virtualenvs-in-project: false\n          version: 1.5.1\n      - name: Get dependencies\n        run: |\n          sudo apt-get update && sudo apt-get install -y --no-install-recommends \\\n            build-essential \\\n            cmake \\\n            g++ \\\n            gcc \\\n            git \\\n            libboost-all-dev \\\n            libev-dev \\\n            libopencv-dev \\\n            libuhd-dev \\\n            libunwind-dev \\\n            make \\\n            pkg-config \\\n            software-properties-common \\\n            sox \\\n            uhd-host \\\n            wget \\\n            yamllint \\\n          && grep -h 'git clone https' docker/*|grep -v pytorch|sed -E 's/RUN\\s+git clone\\s+//g'|sort|uniq|xargs -L1 git clone\n      - name: install gnuradio\n        run: |\n          sudo add-apt-repository ppa:gnuradio/gnuradio-releases && sudo apt-get update && \\\n            sudo apt-get install -y --no-install-recommends gnuradio-dev python3-packaging\n      - name: Install dependencies\n        run: |\n          for repodir in flatbuffers json libsigmf gr-iqtlabs ; do \\\n              mkdir -p ${repodir}/build && cd ${repodir}/build && \\\n              cmake -DUSE_SYSTEM_JSON=ON -DUSE_SYSTEM_FLATBUFFERS=ON .. && make -j \"$(nproc)\" && sudo make install && cd ../.. ; \\\n          done && \\\n          sudo ldconfig -v && \\\n          poetry config virtualenvs.create false && \\\n          poetry install --no-interaction -C gamutrflib && \\\n          poetry install --no-interaction -C gamutrfwaterfall && \\\n          poetry install --no-interaction -C utils/mavlink-api && \\\n          poetry install --no-interaction && \\\n          sudo dpkg -r --force-depends python3-numpy\n      - name: Code Quality - yamllint\n        run: |\n          yamllint -s *yml\n      - name: Code Quality - Black\n        run: |\n          poetry run black augment --check\n          poetry run black gamutrf --check\n          poetry run black gamutrflib --check\n          poetry run black gamutrfwaterfall --check\n          poetry run black utils --check\n      - name: Code Quality - Pylint\n        run: |\n          poetry run pylint --fail-under=6 gamutrf/ gamutrflib/ gamutrfwaterfall/\n      - name: Code Quality - Pytype\n        env:\n          PYTHONPATH: /usr/local/lib/python3.10/dist-packages:/usr/lib/python3/dist-packages\n        run: |\n          sudo pip3 install pytype==\"$(grep -E \"pytype = \" pyproject.toml | grep -Eo \"[0-9\\.]+\")\" && \\\n            sudo pip3 install -U pyserial && \\\n            pytype -k gamutrf/ && \\\n            pytype -k gamutrflib/ && \\\n            pytype -k utils/mavlink-api\n      - name: Test with pytest\n        env:\n          PYTHONPATH: /usr/local/lib/python3.10/dist-packages:/usr/lib/python3/dist-packages\n        run: |\n          ldconfig -p|grep iqtlabs\n          poetry run pytest --cov-report term-missing --cov=. --cov-report=xml tests/ gamutrfwaterfall/tests\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./coverage.xml\n          verbose: false # optional (default = false)\n          fail_ci_if_error: false\n        if: github.repository == 'iqtlabs/gamutrf'\n", "state": "active", "repository": "iqtlabs/gamutrf"}
{"mined_at": "2024-07-15T17:21:04.363408", "created_at": "2021-09-28T20:50:31+02:00", "updated_at": "2021-09-28T20:50:31+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '28 10 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "iqtlabs/gamutrf"}
{"mined_at": "2024-07-15T17:21:05.592402", "created_at": "2022-05-17T00:29:19+02:00", "updated_at": "2022-05-17T00:30:03+02:00", "name": "buildx-extras", "path": ".github/workflows/docker-extras.yml", "contents": "name: buildx-extras\n\non:\n  push:\n    branches: main\n    tags: 'v*'\n\njobs:\n  buildx-mavlink-api:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Get the version\n      id: get_version\n      run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)\n    - name: Change for main\n      id: change_version\n      run: if [ \"${{ steps.get_version.outputs.VERSION }}\" == \"main\" ]; then echo ::set-output name=VERSION::latest; else echo ::set-output name=VERSION::${{ steps.get_version.outputs.VERSION }}; fi\n    - name: Set up qemu\n      uses: docker/setup-qemu-action@v3\n      with:\n        platforms: all\n    - name: Set up Docker Buildx\n      id: buildx\n      uses: docker/setup-buildx-action@v3\n    - name: Docker Login\n      env:\n        DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}\n      run: |\n        echo \"${DOCKER_PASSWORD}\" | docker login --username \"${{ secrets.DOCKER_USERNAME }}\" --password-stdin\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n    - name: Build and push platforms\n      uses: docker/build-push-action@v6\n      with:\n        context: utils/mavlink-api\n        file: utils/mavlink-api/Dockerfile.mavlink-api\n        platforms: linux/amd64\n        push: true\n        tags: iqtlabs/gamutrf-mavlink-api:${{ steps.change_version.outputs.VERSION }}\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n  buildx-airspyfm:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Get the version\n      id: get_version\n      run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)\n    - name: Change for main\n      id: change_version\n      run: if [ \"${{ steps.get_version.outputs.VERSION }}\" == \"main\" ]; then echo ::set-output name=VERSION::latest; else echo ::set-output name=VERSION::${{ steps.get_version.outputs.VERSION }}; fi\n    - name: Set up qemu\n      uses: docker/setup-qemu-action@v3\n      with:\n        platforms: all\n    - name: Set up Docker Buildx\n      id: buildx\n      uses: docker/setup-buildx-action@v3\n    - name: Docker Login\n      env:\n        DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}\n      run: |\n        echo \"${DOCKER_PASSWORD}\" | docker login --username \"${{ secrets.DOCKER_USERNAME }}\" --password-stdin\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n\n    - name: Build and push platforms\n      uses: docker/build-push-action@v6\n      with:\n        context: docker\n        file: docker/Dockerfile.airspyfm\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: iqtlabs/gamutrf-airspyfm:${{ steps.change_version.outputs.VERSION }}\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n", "state": "active", "repository": "iqtlabs/gamutrf"}
{"mined_at": "2024-07-15T17:21:06.700691", "created_at": "2021-10-19T20:43:18+02:00", "updated_at": "2024-02-23T00:32:02+01:00", "name": "docker-test", "path": ".github/workflows/docker-test.yml", "contents": "name: docker-test\non: [push, pull_request]\njobs:\n  test-gamutrf-extra-images:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: docker build\n      run: |\n        cd docker\n        docker build -f Dockerfile.airspyfm . -t iqtlabs/gamutrf-airspyfm:latest\n  test-gamutrf-mavlink-api:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: docker build\n      run: |\n        docker build -f utils/mavlink-api/Dockerfile.mavlink-api utils/mavlink-api -t iqtlabs/gamutrf-mavlink-api:latest\n  test-gamutrf-waterfall-images:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: docker build\n      run: |\n        docker build -f docker/Dockerfile.waterfall . -t iqtlabs/gamutrf-waterfall:latest\n        docker run -t iqtlabs/gamutrf-waterfall:latest gamutrf-waterfall --help\n  test-gamutrf-images:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: docker build\n      run: |\n        docker build -f docker/Dockerfile.vkfft . -t iqtlabs/gamutrf-vkfft:latest\n        docker build -f docker/Dockerfile.sigmf docker -t iqtlabs/gamutrf-sigmf:latest\n        docker build -f docker/Dockerfile.driver docker -t iqtlabs/gamutrf-driver:latest\n        docker build -f docker/Dockerfile.uhd-sr docker -t iqtlabs/gamutrf-uhd-sr:latest\n        docker build -f docker/Dockerfile.base docker -t iqtlabs/gamutrf-base:latest\n        docker rmi -f iqtlabs/gamutrf-vkfft:latest iqtlabs/gamutrf-driver:latest iqtlabs/gamutrf-uhd-sr:latest\n        docker build -f Dockerfile . -t iqtlabs/gamutrf:latest\n        docker build -f docker/Dockerfile.torchsig . -t iqtlabs/gamutrf-torchsig:latest\n        docker run -t iqtlabs/gamutrf:latest gamutrf-compress_dirs --help\n        docker run -t iqtlabs/gamutrf:latest gamutrf-offline --help\n        docker run -t iqtlabs/gamutrf:latest gamutrf-scan --help\n        docker run -t iqtlabs/gamutrf:latest gamutrf-sigfinder --help\n        docker run -t iqtlabs/gamutrf:latest gamutrf-worker --help\n    - name: offline consistency\n      # VkFFT is more consistent, but still not perfectly consistent.\n      run: |\n        sudo apt-get -yq update && sudo apt-get -yq install python3-numpy\n        tests/test_offline.sh\n        tests/test_offline_consistent.sh || true\n", "state": "active", "repository": "iqtlabs/gamutrf"}
{"mined_at": "2024-07-15T17:21:07.948197", "created_at": "2021-09-28T21:47:01+02:00", "updated_at": "2023-09-08T05:23:28+02:00", "name": "buildx", "path": ".github/workflows/docker.yml", "contents": "name: buildx\n\non:\n  push:\n    branches: main\n    tags: 'v*'\n\njobs:\n  buildx-base:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Get the version\n      id: get_version\n      run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)\n    - name: Change for main\n      id: change_version\n      run: if [ \"${{ steps.get_version.outputs.VERSION }}\" == \"main\" ]; then echo ::set-output name=VERSION::latest; else echo ::set-output name=VERSION::${{ steps.get_version.outputs.VERSION }}; fi\n    - name: Set up qemu\n      uses: docker/setup-qemu-action@v3\n      with:\n        platforms: all\n    - name: Set up Docker Buildx\n      id: buildx\n      uses: docker/setup-buildx-action@v3\n    - name: Docker Login\n      env:\n        DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}\n      run: |\n        echo \"${DOCKER_PASSWORD}\" | docker login --username \"${{ secrets.DOCKER_USERNAME }}\" --password-stdin\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n    - name: Build and push platforms vkfft\n      uses: docker/build-push-action@v6\n      with:\n        context: .\n        file: docker/Dockerfile.vkfft\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: iqtlabs/gamutrf-vkfft:${{ steps.change_version.outputs.VERSION }}\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n    - name: Build and push platforms sigmf\n      uses: docker/build-push-action@v6\n      with:\n        context: .\n        file: docker/Dockerfile.sigmf\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: iqtlabs/gamutrf-sigmf:${{ steps.change_version.outputs.VERSION }}\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n    - name: Build and push platforms driver\n      uses: docker/build-push-action@v6\n      with:\n        context: docker\n        file: docker/Dockerfile.driver\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: iqtlabs/gamutrf-driver:${{ steps.change_version.outputs.VERSION }}\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n    - name: Build and push platforms uhd-sr\n      uses: docker/build-push-action@v6\n      with:\n        context: docker\n        file: docker/Dockerfile.uhd-sr\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: iqtlabs/gamutrf-uhd-sr:${{ steps.change_version.outputs.VERSION }}\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n    - name: Build and push platforms base\n      uses: docker/build-push-action@v6\n      with:\n        context: docker\n        file: docker/Dockerfile.base\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: iqtlabs/gamutrf-base:${{ steps.change_version.outputs.VERSION }}\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n    - name: Build and push platforms waterfall\n      uses: docker/build-push-action@v6\n      with:\n        context: .\n        file: docker/Dockerfile.waterfall\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: iqtlabs/gamutrf-waterfall:${{ steps.change_version.outputs.VERSION }}\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n  buildx-gamutrf:\n    needs: [buildx-base]\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Get the version\n      id: get_version\n      run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)\n    - name: Change for main\n      id: change_version\n      run: if [ \"${{ steps.get_version.outputs.VERSION }}\" == \"main\" ]; then echo ::set-output name=VERSION::latest; else echo ::set-output name=VERSION::${{ steps.get_version.outputs.VERSION }}; fi\n    - name: Set up qemu\n      uses: docker/setup-qemu-action@v3\n      with:\n        platforms: all\n    - name: Set up Docker Buildx\n      id: buildx\n      uses: docker/setup-buildx-action@v3\n    - name: Docker Login\n      env:\n        DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}\n      run: |\n        echo \"${DOCKER_PASSWORD}\" | docker login --username \"${{ secrets.DOCKER_USERNAME }}\" --password-stdin\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n    - name: Build and push platforms\n      uses: docker/build-push-action@v6\n      with:\n        context: .\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: iqtlabs/gamutrf:${{ steps.change_version.outputs.VERSION }}\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n    - name: Build and push gamutrf-torchsig\n      uses: docker/build-push-action@v6\n      with:\n        context: .\n        file: docker/Dockerfile.torchsig\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: iqtlabs/gamutrf-torchsig:${{ steps.change_version.outputs.VERSION }}\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push'\n", "state": "active", "repository": "iqtlabs/gamutrf"}
{"mined_at": "2024-07-15T17:21:09.174710", "created_at": "2021-10-19T22:32:26+02:00", "updated_at": "2021-10-19T22:32:26+02:00", "name": "release", "path": ".github/workflows/pypi.yml", "contents": "name: release\n\non:\n  push:\n    branches: main\n    tags: 'v*.*.*'\n\njobs:\n  release:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n      with:\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n    - name: Build and publish packages\n      id: build_and_publish_packages\n      run: |\n        sudo apt-get update && \\\n        sudo apt-get install -yq --no-install-recommends curl gcc g++ libev-dev python3-pip python3 python3-dev && \\\n        poetry build && poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }}\n      if: github.repository == 'iqtlabs/gamutrf' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n", "state": "active", "repository": "iqtlabs/gamutrf"}
{"mined_at": "2024-07-15T17:21:10.303470", "created_at": "2022-10-07T20:33:17+02:00", "updated_at": "2022-10-07T22:10:32+02:00", "name": "secrets", "path": ".github/workflows/secrets-scan.yml", "contents": "name: secrets\n\non: [push, pull_request]\n\njobs:\n  scan:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: scan\n      run: |\n        export DEBIAN_FRONTEND=noninteractive && \\\n        echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \\\n        sudo apt-get update && \\\n        python3 -m pip install --upgrade pip && \\\n        pip3 install whispers && \\\n        mkdir /home/runner/reports/ && \\\n        whispers --severity BLOCKER,CRITICAL -o /home/runner/reports/whispers.json -c ${GITHUB_WORKSPACE}/.github/workflows/config/whispers-config.yml ${GITHUB_WORKSPACE} && \\\n        echo \"::set-output name=found-count::$(wc -l /home/runner/reports/whispers.json | cut -d' ' -f1)\"\n    - name: Fail if found\n      if: steps.scan.outputs.found-count != 0\n      uses: actions/github-script@v7\n      with:\n        script: |\n            echo {{steps.scan.outputs.found-count}} && \\\n            core.setFailed('Secrets found. Please check the uploaded report')\n    - name: Upload scan reports\n      uses: actions/upload-artifact@v4.3.3\n      if: failure()\n      with:\n        name: whispers-report\n        path: /home/runner/reports/whispers.json", "state": "active", "repository": "iqtlabs/gamutrf"}
{"mined_at": "2024-07-15T17:21:11.425124", "created_at": "2022-10-07T22:10:32+02:00", "updated_at": "2022-10-07T22:10:32+02:00", "name": "semgrep", "path": ".github/workflows/semgrep.yml", "contents": "name: semgrep\non:\n  pull_request_target:\n    types:\n      - opened\n      - synchronize\n      - reopened\npermissions:\n  pull-requests: write\njobs:\n  docker_scan:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: ${{ github.event.pull_request.head.repo.full_name }}\n        ref: ${{ github.event.pull_request.head.ref }}\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: install semgrep\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        sudo apt-get update && sudo apt-get install jq && python3 -m pip install semgrep==1.37.0\n    - name: scan\n      id: d_scan\n      run: |\n        mkdir /home/runner/reports/ && \\\n        semgrep --config=.github/workflows/config/semgrep-dockerfile.yml --json -o /home/runner/reports/semgrep.out \\\n        --severity ERROR ./ &&\\\n        echo \"## Validation Issues Found (Docker) :whale: \" >> /home/runner/reports/docker-msg && \\\n        cat /home/runner/reports/semgrep.out | jq -r --arg ws \"$GITHUB_WORKSPACE\" --arg url \"$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/blob/$GITHUB_SHA\" '.results[] | \"**File:** [\\(.path | sub($ws; \".\"; \"g\"))](\\(.path | sub($ws; $url; \"g\"))#L\\(.start.line)) \\n**Line Number:** \\(.start.line) \\n**Statement(s):** \\n``` \\n\\(.extra.lines) \\n``` \\n**Rule:** \\n\\(.extra.message)\\n\\n\"' >> /home/runner/reports/docker-msg && \\\n        echo \"::set-output name=found-count::$(cat /home/runner/reports/semgrep.out | jq '.results | length')\"\n    - name: Fail if found\n      if: steps.d_scan.outputs.found-count != 0\n      uses: actions/github-script@v7\n      with:\n        script: |\n          const fs = require('fs')\n\n          var msg = fs.readFileSync('/home/runner/reports/docker-msg', 'utf8');\n          console.log('${{steps.d_scan.outputs.found-count}} errors found in docker/docker-compose files');\n          github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: msg\n            });\n\n          core.setFailed('Semgrep found errors in Dockerfiles or docker-compose files. Please check the uploaded report');\n    - name: Upload scan reports\n      uses: actions/upload-artifact@v4.3.3\n      if: failure()\n      with:\n        name: semgrep-docker-report\n        path: /home/runner/reports/semgrep.out\n  python_scan:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        repository: ${{ github.event.pull_request.head.repo.full_name }}\n        ref: ${{ github.event.pull_request.head.ref }}\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: install semgrep\n      env:\n        DEBIAN_FRONTEND: noninteractive\n      run: |\n        sudo apt-get update && sudo apt-get install jq && python3 -m pip install semgrep==1.37.0\n    - name: run semgrep\n      run: |\n        mkdir -p /home/runner/reports/ && \\\n          semgrep --verbose --config=.github/workflows/config/semgrep-python.yml --json -o /home/runner/reports/semgrep.out --severity ERROR ./\n    - name: scan\n      id: py_scan\n      run: |\n        echo \"## Validation Issues Found (Python) :snake: \" >> /home/runner/reports/python-msg && \\\n        cat /home/runner/reports/semgrep.out | jq -r --arg ws \"$GITHUB_WORKSPACE\" --arg url \"$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/blob/$GITHUB_SHA\" '.results[] | \"**File:** [\\(.path | sub($ws; \".\"; \"g\"))](\\(.path | sub($ws; $url; \"g\"))#L\\(.start.line)) \\n**Line Number:** \\(.start.line) \\n**Statement(s):** \\n``` \\n\\(.extra.lines) \\n``` \\n**Rule:** \\n\\(.extra.message)\\n\\n\"' >> /home/runner/reports/python-msg && \\\n        echo \"::set-output name=python-found-count::$(cat /home/runner/reports/semgrep.out | jq '.results | length')\"\n    - name: Fail if found\n      if: steps.py_scan.outputs.python-found-count > 0\n      uses: actions/github-script@v7\n      with:\n        github-token: ${{secrets.GITHUB_TOKEN}}\n        script: |\n          const fs = require('fs')\n\n          var msg = fs.readFileSync('/home/runner/reports/python-msg', 'utf8');\n          console.log('${{steps.py_scan.outputs.python-found-count}} errors found in python files');\n          github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: msg\n            });\n\n          core.setFailed('Semgrep found errors in Python files. Please check the uploaded report');\n    - name: Upload scan reports\n      uses: actions/upload-artifact@v4.3.3\n      if: failure()\n      with:\n        name: semgrep-python-report\n        path: /home/runner/reports/semgrep.out\n  \n", "state": "active", "repository": "iqtlabs/gamutrf"}
{"mined_at": "2024-07-15T17:21:12.658119", "created_at": "2022-01-03T18:17:48+01:00", "updated_at": "2022-01-03T18:17:48+01:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'\n          stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'\n          close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'\n          close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'\n          days-before-issue-stale: 30\n          days-before-pr-stale: 45\n          days-before-issue-close: 5\n          days-before-pr-close: 10\n          exempt-issue-labels: 'dependencies'\n", "state": "active", "repository": "iqtlabs/gamutrf"}
{"mined_at": "2024-07-15T17:21:14.808153", "created_at": "2021-03-16T09:31:38+01:00", "updated_at": "2021-03-18T12:18:50+01:00", "name": "Compatibility with pyiron_atomistics", "path": ".github/workflows/atomistics-compat.yml", "contents": "# This workflow is used to check the compatibility with the pyiron_atomistics\n\nname: Compatibility with pyiron_atomistics\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    types: [labeled, opened, synchronize, reopened]\n\njobs:\n  build:\n    if: |\n      github.event_name == 'push' ||\n      ( github.event_name == 'pull_request'  && contains(github.event.pull_request.labels.*.name, 'integration' ))\n    \n    runs-on: ${{ matrix.operating-system }}\n    strategy:\n      matrix:\n        include:\n          - operating-system: macos-latest\n            python-version: '3.12'\n            label: osx-64-py-3-12\n            prefix: /Users/runner/miniconda3/envs/my-env\n\n          - operating-system: windows-latest\n            python-version: '3.12'\n            label: win-64-py-3-12\n            prefix: C:\\Miniconda3\\envs\\my-env\n\n          - operating-system: ubuntu-latest\n            python-version: '3.12'\n            label: linux-64-py-3-12\n            prefix: /usr/share/miniconda3/envs/my-env\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Merge environment\n      run: |\n        git clone https://github.com/pyiron/pyiron_atomistics ../pyiron_atomistics\n        grep -v \"pyiron_base\" ../pyiron_atomistics/.ci_support/environment.yml > ../pyiron_atomistics/environment.yml\n        cp .ci_support/environment.yml environment.yml\n        tail --lines=+4 ../pyiron_atomistics/environment.yml >> environment.yml\n    - name: Setup Mambaforge\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        miniforge-variant: Mambaforge\n        channels: conda-forge\n        channel-priority: strict\n        activate-environment: my-env\n        environment-file: environment.yml\n        use-mamba: true\n    - name: Tests\n      shell: bash -l {0}\n      timeout-minutes: 30\n      run: |\n        pip install versioneer[toml]==0.29\n        pip install . --no-deps --no-build-isolation\n        cd ../pyiron_atomistics\n        pip install . --no-deps --no-build-isolation\n        python .ci_support/pyironconfig.py\n        python -m unittest discover tests/\n", "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:01.079341", "created_at": "2021-11-10T12:59:51+01:00", "updated_at": "2021-11-11T14:22:45+01:00", "name": "Benchmark tests", "path": ".github/workflows/benchmarks.yml", "contents": "# This workflow is used to run benchmarktests based on the unittest framework\n\nname: Benchmark tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  benchmark:\n    runs-on: ${{ matrix.operating-system }}\n    strategy:\n      matrix:\n        include:\n        - operating-system: macos-latest\n          python-version: '3.12'\n          label: osx-64-py-3-12\n          prefix: /Users/runner/miniconda3/envs/my-env\n\n        - operating-system: windows-latest\n          python-version: '3.12'\n          label: win-64-py-3-12\n          prefix: C:\\Miniconda3\\envs\\my-env\n          \n        - operating-system: ubuntu-latest\n          python-version: '3.12'\n          label: linux-64-py-3-12\n          prefix: /usr/share/miniconda3/envs/my-env\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup Mambaforge\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        miniforge-variant: Mambaforge\n        channels: conda-forge\n        channel-priority: strict\n        activate-environment: my-env\n        environment-file: .ci_support/environment.yml\n        use-mamba: true\n    - name: Tests\n      shell: bash -l {0}\n      timeout-minutes: 30\n      run: |\n        python .ci_support/pyironconfig.py\n        bash .ci_support/pip_install.sh\n        python -m unittest discover test_benchmarks\n", "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:02.194432", "created_at": "2021-12-15T16:36:17+01:00", "updated_at": "2021-12-20T17:47:42+01:00", "name": "Black", "path": ".github/workflows/black.yml", "contents": "# This workflow is used to check the differences and find conflict markers or whitespace errors\n\nname: Black\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: psf/black@stable\n      with:\n        options: \"--check --diff\"\n        src: ./${{ github.event.repository.name }}\n", "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:03.236619", "created_at": "2024-03-19T02:52:57+01:00", "updated_at": "2024-03-19T02:59:58+01:00", "name": "Broken Test", "path": ".github/workflows/brokentest.yml", "contents": null, "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:04.445419", "created_at": "2020-09-17T15:51:34+02:00", "updated_at": "2020-09-17T15:51:34+02:00", "name": "Code scanning - action", "path": ".github/workflows/codeql-analysis.yml", "contents": "# This workflow is used to find vulnerablities inside the codebase with CodeQL\n\nname: \"Code scanning - action\"\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 23 * * 2'\n\njobs:\n  CodeQL-Build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 2\n\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n      \n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: python\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:05.588694", "created_at": "2021-03-18T11:40:40+01:00", "updated_at": "2021-03-18T11:40:40+01:00", "name": "Compatibility with pyiron_contrib", "path": ".github/workflows/contrib-compat.yml", "contents": "# This workflow is used to check the compatibility with the pyiron_contrib\n\nname: Compatibility with pyiron_contrib\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    types: [labeled, opened, synchronize, reopened]\n\njobs:\n  build:\n    if: |\n      github.event_name == 'push' ||\n      ( github.event_name == 'pull_request'  && contains(github.event.pull_request.labels.*.name, 'integration' ))\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Merge environment\n      run: |\n        git clone https://github.com/pyiron/pyiron_contrib ../pyiron_contrib\n        grep -v \"pyiron_base\" ../pyiron_contrib/.ci_support/environment.yml > ../pyiron_contrib/environment.yml\n        cp .ci_support/environment.yml environment.yml\n        tail --lines=+4 ../pyiron_contrib/environment.yml >> environment.yml\n    - name: Setup Mambaforge\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: '3.11'\n        miniforge-variant: Mambaforge\n        channels: conda-forge\n        channel-priority: strict\n        activate-environment: my-env\n        environment-file: environment.yml\n        use-mamba: true\n    - name: Test\n      shell: bash -l {0}\n      timeout-minutes: 30\n      run: |\n        cd ../pyiron_contrib\n        python ../pyiron_base/.ci_support/pyironconfig.py\n        pip install versioneer[toml]==0.29\n        pip install . --no-deps --no-build-isolation\n        cd ../pyiron_base\n        pip install . --no-deps --no-build-isolation\n        cd ../pyiron_contrib\n        python -m unittest discover tests/\n", "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:06.599785", "created_at": "2023-12-02T13:48:58+01:00", "updated_at": "2023-12-02T13:48:58+01:00", "name": "Update Dependabot", "path": ".github/workflows/dependabot.yml", "contents": "name: Update Dependabot\n\non:\n  pull_request_target:\n    branches: [ main ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: (github.actor == 'dependabot[bot]')\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }} # Check out the head of the actual branch, not the PR\n          fetch-depth: 0 # otherwise, you will fail to push refs to dest repo\n          token: ${{ secrets.DEPENDABOT_WORKFLOW_TOKEN }}\n      - name: UpdateEnvironmentFile\n        shell: bash -l {0}\n        run: |\n          package=$(echo \"${{ github.event.pull_request.title }}\" | awk '{print $2}')\n          from=$(echo \"${{ github.event.pull_request.title }}\" | awk '{print $4}')\n          to=$(echo \"${{ github.event.pull_request.title }}\" | awk '{print $6}')\n          sed -i \"/${package}/s/${from}/${to}/g\" binder/environment.yml\n          sed -i \"/${package}/s/${from}/${to}/g\" .ci_support/environment.yml\n          sed -i \"/${package}/s/${from}/${to}/g\" .ci_support/environment-docs.yml\n      - name: UpdateDependabotPR commit\n        run: |\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git commit -m \"[dependabot skip] Update environment\" -a\n      - name: UpdateDependabotPR push\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.DEPENDABOT_WORKFLOW_TOKEN }}\n          branch: ${{ github.event.pull_request.head.ref }}\n", "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:07.716185", "created_at": "2020-11-03T15:40:49+01:00", "updated_at": "2020-11-03T15:40:49+01:00", "name": "PyPi Release", "path": ".github/workflows/deploy.yml", "contents": "# This workflow is used to upload and deploy a new release to PyPi\n# Based on https://github.com/pypa/gh-action-pypi-publish\n\nname: PyPi Release\n\non:\n    push:\n    pull_request:\n    workflow_dispatch:\n\njobs:\n  build:\n    if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/${{ github.event.repository.name }}\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - uses: conda-incubator/setup-miniconda@v2.2.0\n      with:\n        python-version: \"3.12\"\n        mamba-version: \"*\"\n        channels: conda-forge\n        miniforge-variant: Mambaforge\n        channel-priority: strict\n        auto-update-conda: true\n        environment-file: .ci_support/environment.yml\n    - uses: pyiron/actions/update-pyproject-dependencies@actions-3.1.0\n      with:\n        lower-bound-yaml: .ci_support/environment-old.yml\n        semantic-upper-bound: 'patch'\n    - name: Build\n      shell: bash -l {0}\n      run: |\n        pip install versioneer[toml]==0.29\n        python setup.py sdist bdist_wheel\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:08.847957", "created_at": "2022-01-10T16:57:55+01:00", "updated_at": "2022-01-17T23:03:47+01:00", "name": "Format black", "path": ".github/workflows/format_black.yml", "contents": "# This workflow will checkout the branch of the PR, apply black formatting and commit the result to the PR. Does not work for forks.\n\nname: Format black\n\non:\n  pull_request:\n    types: [labeled]\n\njobs:\n  build:\n    if: contains(github.event.pull_request.labels.*.name, 'format_black' )\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        token: ${{ secrets.DEPENDABOT_WORKFLOW_TOKEN }}\n        ref: ${{ github.event.pull_request.head.ref }} # Check out the head of the actual branch, not the PR\n        fetch-depth: 0 # otherwise, you will fail to push refs to dest repo\n    - name: format black\n      uses: psf/black@stable\n      with:\n        options: \"\"\n        src: \"./${{ github.event.repository.name }}\"\n    - name: commit\n      run: |\n        git config --local user.email \"pyiron@mpie.de\"\n        git config --local user.name \"pyiron-runner\"\n        git commit -m \"Format black\" -a\n    - name: push\n      uses: ad-m/github-push-action@master\n      with:\n        github_token: ${{ secrets.DEPENDABOT_WORKFLOW_TOKEN }}\n        branch: ${{ github.event.pull_request.head.ref }}", "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:09.861114", "created_at": "2024-03-17T16:46:24+01:00", "updated_at": "2024-03-17T16:49:44+01:00", "name": "Mac Test Debug", "path": ".github/workflows/macunittests.yml", "contents": null, "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:11.001938", "created_at": "2020-11-03T17:33:02+01:00", "updated_at": "2020-11-03T17:33:02+01:00", "name": "Notebooks", "path": ".github/workflows/notebooks.yml", "contents": "# This workflow is used to test, if the code is compatible with jupyter notebooks providing usage examples\n\nname: Notebooks\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Merge Notebook environment\n      run: |\n        cp .ci_support/environment.yml environment.yml\n        tail --lines=+4 .ci_support/environment-notebooks.yml >> environment.yml\n    - uses: conda-incubator/setup-miniconda@v2.2.0\n      with:\n        python-version: \"3.12\"\n        mamba-version: \"*\"\n        channels: conda-forge\n        miniforge-variant: Mambaforge\n        channel-priority: strict\n        auto-update-conda: true\n        environment-file: environment.yml\n    - name: Test\n      shell: bash -l {0}\n      run: |\n        bash .ci_support/pip_install.sh\n        ./.ci_support/build_notebooks.sh\n", "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:11.995961", "created_at": "2024-05-13T22:39:04+02:00", "updated_at": "2024-05-13T22:39:04+02:00", "name": "Push-Pull", "path": ".github/workflows/push-pull.yml", "contents": null, "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:13.052519", "created_at": "2021-03-17T09:39:20+01:00", "updated_at": "2021-03-17T09:42:18+01:00", "name": "Pip check", "path": ".github/workflows/pypicheck.yml", "contents": "# This workflow is used to test, if the installation of the pypi package works\n\nname: Pip check\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup Mambaforge\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: '3.12'\n        miniforge-variant: Mambaforge\n        channels: conda-forge\n        channel-priority: strict\n        activate-environment: my-env\n        environment-file: .ci_support/environment.yml\n        use-mamba: true\n    - name: Pip check\n      shell: bash -l {0}\n      run: |\n        bash .ci_support/pip_install.sh\n        pip check\n", "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:14.177843", "created_at": "2020-11-03T13:47:26+01:00", "updated_at": "2023-01-23T13:46:34+01:00", "name": "Unittests", "path": ".github/workflows/unittests.yml", "contents": "# This workflow is used to run the unittest of pyiron\n\nname: Unittests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n    runs-on: ${{ matrix.operating-system }}\n    strategy:\n      matrix:\n        include:\n        - operating-system: macos-latest\n          python-version: '3.12'\n          label: osx-64-py-3-12\n          prefix: /Users/runner/miniconda3/envs/my-env\n\n        - operating-system: windows-latest\n          python-version: '3.12'\n          label: win-64-py-3-12\n          prefix: C:\\Miniconda3\\envs\\my-env\n\n        - operating-system: ubuntu-latest\n          python-version: '3.12'\n          label: linux-64-py-3-12\n          prefix: /usr/share/miniconda3/envs/my-env\n          \n        - operating-system: ubuntu-latest\n          python-version: '3.11'\n          label: linux-64-py-3-11\n          prefix: /usr/share/miniconda3/envs/my-env\n          \n        - operating-system: ubuntu-latest\n          python-version: '3.10'\n          label: linux-64-py-3-10\n          prefix: /usr/share/miniconda3/envs/my-env\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup Mambaforge\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n        miniforge-variant: Mambaforge\n        channels: conda-forge\n        channel-priority: strict\n        activate-environment: my-env\n        environment-file: .ci_support/environment.yml\n        use-mamba: true\n    - name: Test\n      shell: bash -l {0}\n      timeout-minutes: 10\n      run: |\n        python .ci_support/pyironconfig.py\n        bash .ci_support/pip_install.sh\n        coverage run --omit=\"pyiron_base/_version.py,tests/*\" -m unittest discover tests\n        coverage xml\n    - name: Coveralls\n      if: matrix.label == 'linux-64-py-3-11'\n      uses: coverallsapp/github-action@v2\n    - name: Codacy\n      if:  matrix.label == 'linux-64-py-3-11' && github.event_name != 'push'\n      continue-on-error: True\n      shell: bash -l {0}\n      run: |\n        python-codacy-coverage -r coverage.xml\n", "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:15.296697", "created_at": "2023-12-02T12:04:58+01:00", "updated_at": "2023-12-02T13:48:58+01:00", "name": "Unittest Lower Bound", "path": ".github/workflows/unittests_old.yml", "contents": "name: Unittest Lower Bound\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup Mambaforge\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        python-version: '3.9'\n        miniforge-variant: Mambaforge\n        channels: conda-forge\n        channel-priority: strict\n        activate-environment: my-env\n        environment-file: .ci_support/environment-old.yml\n        use-mamba: true\n    - name: Test\n      shell: bash -l {0}\n      timeout-minutes: 30\n      run: |\n        bash .ci_support/pip_install.sh\n        python -m unittest discover tests\n", "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:16.436820", "created_at": "2024-07-10T10:26:11+02:00", "updated_at": "2024-07-10T10:37:12+02:00", "name": "Usecase ADIS", "path": ".github/workflows/usecase_ADIS.yml", "contents": null, "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:17.521655", "created_at": "2024-07-10T10:26:11+02:00", "updated_at": "2024-07-10T10:37:12+02:00", "name": "Usecase NFDI4Ing", "path": ".github/workflows/usecase_NFDI4ING.yml", "contents": null, "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:18.578212", "created_at": "2024-05-13T22:39:03+02:00", "updated_at": "2024-05-13T22:39:03+02:00", "name": "View release-updated pyproject", "path": ".github/workflows/view_release_pyproject.yml", "contents": null, "state": "active", "repository": "pyiron/pyiron_base"}
{"mined_at": "2024-07-15T17:35:20.718340", "created_at": "2020-04-10T22:55:51+02:00", "updated_at": "2021-04-26T18:30:30+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "---\nname: Release\n\non:\n  workflow_dispatch:\n    inputs:\n      title:\n        description: \"Release title\"\n        required: false\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    environment: deployment\n    name: Build, publish, release, and announce\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          ssh-key: ${{ secrets.DEPLOY_KEY }}\n\n      - name: Configure git\n        run: |\n          git config user.name \"${{ github.actor }}\"\n          git config user.email \"${{ github.actor }}@users.noreply.github.com\"\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Cache pip repository\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt', 'requirements_docs.txt') }}\n\n      - name: Prepare python environment\n        run: |\n          pip install --upgrade pip\n          pip install -r requirements.txt -r requirements_docs.txt\n\n      - name: Build documentation site\n        run: mkdocs build\n\n      - name: Cache Docker layers\n        uses: actions/cache@v3\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2.2.0\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2.9.1\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2.2.0\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Determine next SemVer\n        id: bumper\n        uses: tomerfi/version-bumper-action@1.2.2\n\n      - name: Set new project version\n        # yamllint disable rule:line-length\n        # editorconfig-checker-disable\n        run: |\n          echo \"${{ steps.bumper.outputs.new_version }}\" > VERSION\n          sed -i 's/  version: .*/  version: \"${{ steps.bumper.outputs.new_version }}\"/g' mkdocs.yml\n        # yamllint enable rule:line-length\n        # editorconfig-checker-enable\n\n      - name: Commit, tag, and push\n        run: |\n          git add VERSION\n          git add mkdocs.yml\n          git commit -m \"build: bump version to ${{ steps.bumper.outputs.new_version }}\"\n          git push\n\n      - name: Get current date\n        id: current_date\n        run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n      - name: Build images and push to DockerHub\n        uses: docker/build-push-action@v4.1.1\n        with:\n          context: .\n          push: true\n          platforms: linux/amd64,linux/arm/v7,linux/arm64/v8\n          tags: |\n            tomerfi/switcher_webapi:latest\n            tomerfi/switcher_webapi:${{ steps.bumper.outputs.new_version }}\n          build-args: |\n            VCS_REF=${{ github.sha }}\n            BUILD_DATE=${{ steps.current_date.outputs.date }}\n            VERSION=${{ steps.bumper.outputs.new_version }}\n          cache-from: |\n            type=local,src=/tmp/.buildx-cache\n            ghcr.io/tomerfi/switcher_webapi:early-access\n          cache-to: type=local,dest=/tmp/.buildx-cache\n\n      - name: Create a release name\n        id: release_name\n        uses: actions/github-script@v6\n        with:\n          script: |\n            var retval = '${{ steps.bumper.outputs.new_version }}'\n            if ('${{ github.event.inputs.title }}') {\n              retval = retval.concat(' - ${{ github.event.inputs.title }}')\n            }\n            core.setOutput('value', retval)\n\n      - name: Create a release\n        id: gh_release\n        uses: actions/github-script@v6\n        with:\n          github-token: ${{ secrets.RELEASE_PAT }}\n          script: |\n            const repo_name = context.payload.repository.full_name\n            const response = await github.request('POST /repos/' + repo_name + '/releases', {\n              tag_name: '${{ steps.bumper.outputs.new_version }}',\n              name: '${{ steps.release_name.outputs.value }}',\n              generate_release_notes: true\n            })\n            core.setOutput('html_url', response.data.html_url)\n\n      - name: Set development project version\n        run: echo \"${{ steps.bumper.outputs.next_dev_iteration }}\" > VERSION\n\n      - name: Commit and push\n        # yamllint disable rule:line-length\n        # editorconfig-checker-disable\n        run: |\n          git add VERSION\n          git commit -m \"build: bump version to ${{ steps.bumper.outputs.next_dev_iteration }} [skip ci]\"\n          git push\n        # yamllint enable rule:line-length\n        # editorconfig-checker-enable\n", "state": "active", "repository": "tomerfi/switcher_webapi"}
{"mined_at": "2024-07-15T17:35:21.767700", "created_at": "2021-12-07T21:01:26+01:00", "updated_at": "2022-02-15T20:58:07+01:00", "name": "Stage", "path": ".github/workflows/stage.yml", "contents": "---\nname: Stage\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - dev\n\njobs:\n  stage:\n    runs-on: ubuntu-latest\n    environment: staging\n    name: Build and publish early access to GitHub\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v3\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Cache pip repository\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt', 'requirements_test.txt') }}\n\n      - name: Prepare python environment\n        run: |\n          pip install --upgrade pip\n          pip install -r requirements.txt -r requirements_test.txt\n\n      - name: Test project\n        run: pytest -v --cov --cov-report=xml:coverage.xml\n\n      - name: Cache Docker layers\n        uses: actions/cache@v3\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2.2.0\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2.9.1\n\n      - name: Login to GHCR\n        uses: docker/login-action@v2.2.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GHCR_PAT }}\n\n      - name: Get current date\n        id: getDate\n        run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n      - name: Build images and push to GHCR\n        uses: docker/build-push-action@v4.1.1\n        with:\n          context: .\n          push: true\n          platforms: linux/amd64,linux/arm/v7,linux/arm64/v8\n          tags: ghcr.io/tomerfi/switcher_webapi:early-access\n          build-args: |\n            VCS_REF=${{ github.sha }}\n            BUILD_DATE=${{ steps.getDate.outputs.date }}\n            VERSION=early-access\n          cache-from: |\n            type=local,src=/tmp/.buildx-cache\n            ghcr.io/tomerfi/switcher_webapi:early-access\n          cache-to: type=local,dest=/tmp/.buildx-cache\n\n      - name: Push coverage report to CodeCov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n          fail_ci_if_error: true\n", "state": "active", "repository": "tomerfi/switcher_webapi"}
{"mined_at": "2024-07-15T17:35:22.796393", "created_at": "2022-02-27T11:35:58+01:00", "updated_at": "2022-02-27T11:35:58+01:00", "name": "Pages Deploy", "path": ".github/workflows/pages.yml", "contents": "---\nname: Pages Deploy\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy-pages:\n    runs-on: ubuntu-latest\n    environment: github-pages\n    if: ${{ github.ref != 'refs/tags/early-access' }}\n    name: Build documentation site and deploy to GH-Pages\n    steps:\n      - name: Source checkout\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.ref }}\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Cache pip repository\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt', 'requirements_docs.txt') }}\n\n      - name: Prepare python environment\n        run: |\n          pip install --upgrade pip\n          pip install -r requirements.txt -r requirements_docs.txt\n\n      - name: Build documentation site\n        run: mkdocs build\n\n      - name: Deploy to GH-Pages\n        uses: peaceiris/actions-gh-pages@v3.9.3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./site\n          cname: switcher-webapi.tomfi.info\n          commit_message: 'docs: deployed to gh-pages for ${{ github.ref }}'\n", "state": "active", "repository": "tomerfi/switcher_webapi"}
{"mined_at": "2024-07-15T17:35:23.919972", "created_at": "2022-02-27T11:35:58+01:00", "updated_at": "2022-02-27T11:35:58+01:00", "name": "Pull request build", "path": ".github/workflows/pr.yml", "contents": "---\nname: Pull request build\n\non:\n  pull_request:\n    branches:\n      - dev\n\njobs:\n  build-app:\n    runs-on: ubuntu-latest\n    name: Build project\n    permissions:\n      checks: write\n      pull-requests: write\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v3\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Cache pip repository\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt', 'requirements_test.txt') }}\n\n      - name: Prepare python environment\n        run: |\n          pip install --upgrade pip\n          pip install -r requirements.txt -r requirements_test.txt\n\n      - name: Lint project with python linters\n        run: |\n          black --check app/\n          flake8 --count --statistics app/\n          isort --check-only app/\n          mypy --ignore-missing-imports app/\n          yamllint --format colored --strict .\n\n      - name: Test project\n        run: pytest -v --cov --cov-report=xml:coverage.xml --junit-xml junit.xml\n\n      - name: Report test summary\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        if: always()\n        with:\n          test_changes_limit: 0\n          files: ./junit.xml\n          report_individual_runs: true\n\n      - name: Push to CodeCov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./coverage.xml\n\n  build-docker:\n    runs-on: ubuntu-latest\n    name: Build docker\n    permissions:\n      pull-requests: read\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Get current date\n        id: getDate\n        run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n      - name: Cache Docker layers\n        uses: actions/cache@v3\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}\n          restore-keys: ${{ runner.os }}-buildx-\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2.2.0\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2.9.1\n\n      - name: Build docker image (no push)\n        uses: docker/build-push-action@v4.1.1\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm/v7,linux/arm64/v8\n          build-args: |\n            VCS_REF=${{ github.sha }}\n            BUILD_DATE=${{ steps.getDate.outputs.date }}\n            VERSION=testing\n          tags: tomerfi/switcher_webapi:testing\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache\n", "state": "active", "repository": "tomerfi/switcher_webapi"}
{"mined_at": "2024-07-15T17:35:24.969439", "created_at": "2022-04-06T10:31:48+02:00", "updated_at": "2022-04-06T10:31:48+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tomerfi/switcher_webapi"}
{"mined_at": "2024-07-15T17:35:27.078678", "created_at": "2021-06-14T21:05:20+02:00", "updated_at": "2022-01-12T12:25:04+01:00", "name": "Test and Deploy bioimageio.spec", "path": ".github/workflows/build.yml", "contents": "name: Test and Deploy bioimageio.spec\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [\"**\"]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - python-version: \"3.8\"\n            test-format: true\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install -e .[dev]\n      - name: Get Date\n        id: get-date\n        run: |\n          echo \"week=$(/bin/date -u \"+%Y-%U\")\" >> $GITHUB_OUTPUT\n        shell: bash\n      - uses: actions/cache@v3\n        with:\n          path: tests/cache\n          key: ${{ runner.os }}-${{ matrix.python-version }}-${{ steps.get-date.outputs.week }}-${{ hashFiles('**/lockfiles') }}\n      - name: Check autogenerated imports\n        run: python scripts/generate_version_submodule_imports.py check\n      - run: black .\n        if: matrix.test-format\n      - run: ruff check **/*.py # ignore notebooks for now\n        if: matrix.test-format\n      - run: pyright --version\n      - run: pyright -p pyproject.toml\n      - run: pytest\n\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install -e .[dev]\n      - name: Generate spec docs\n        run: python scripts/generate_spec_documentation.py --dist dist/user_docs\n      - name: Generate JSON schemas\n        run: python scripts/generate_json_schemas.py\n      - id: get_version\n        run: python -c 'import bioimageio.spec;print(f\"version={bioimageio.spec.__version__}\")' >> $GITHUB_OUTPUT\n      - name: Generate developer docs\n        run: |\n          pdoc \\\n          --logo \"https://bioimage.io/static/img/bioimage-io-logo.svg\" \\\n          --logo-link \"https://bioimage.io/\" \\\n          --favicon \"https://bioimage.io/static/img/bioimage-io-icon-small.svg\" \\\n          --footer-text \"bioimageio.spec ${{steps.get_version.outputs.version}}\" \\\n          -o ./dist bioimageio.spec bioimageio.spec._internal\n      - name: copy legacy file until BioImage.IO-packager is updated  # TODO: remove if packager does not depend on it anymore\n        run: cp weight_formats_spec.json ./dist/weight_formats_spec.json\n      - name: Get branch name to deploy to\n        id: get_branch\n        shell: bash\n        run: |\n          if [[ -n '${{ github.event.pull_request.head.ref }}' ]]; then branch=gh-pages-${{ github.event.pull_request.head.ref }}; else branch=gh-pages; fi\n          echo \"::set-output name=branch::$branch\"\n      - name: Deploy to ${{ steps.get_branch.outputs.branch }} 🚀\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          branch: ${{ steps.get_branch.outputs.branch }}\n          folder: dist\n\n  mamba-build:\n    runs-on: ubuntu-latest\n    needs: test\n    steps:\n      - name: checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Install Conda environment with Micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          cache-downloads: true\n          cache-environment: true\n          environment-name: build-env\n          condarc: |\n            channels:\n            - conda-forge\n          create-args: >-\n            boa\n      - name: linux conda build\n        run: |\n          conda mambabuild -c conda-forge conda-recipe\n        shell: bash -l {0}\n\n#  rattler-build:\n#    name: Build package\n#    runs-on: ubuntu-latest\n#    steps:\n#    - uses: actions/checkout@v4\n#    - name: Build conda package\n#      uses: prefix-dev/rattler-build-action@v0.2.2\n#      with:\n#        recipe-path: conda-recipe/recipe.yaml\n", "state": "active", "repository": "bioimage-io/spec-bioimage-io"}
{"mined_at": "2024-07-15T17:35:28.148705", "created_at": "2021-07-05T19:51:16+02:00", "updated_at": "2021-07-06T08:58:28+02:00", "name": "Draft release", "path": ".github/workflows/draft-release.yml", "contents": "name: Draft release\n\non:\n  workflow_dispatch:\n  # pull_request event is required only for autolabeler\n  pull_request:\n    types: [opened, reopened, synchronize]\n\njobs:\n  update-release-draft:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v5.15.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bioimage-io/spec-bioimage-io"}
{"mined_at": "2024-07-15T17:35:29.226411", "created_at": "2021-07-06T08:58:28+02:00", "updated_at": "2021-07-06T08:58:28+02:00", "name": "Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: Labeler\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  labeler:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v3\n\n      - name: Run Labeler\n        uses: crazy-max/ghaction-github-labeler@v4\n        with:\n          skip-delete: true\n", "state": "active", "repository": "bioimage-io/spec-bioimage-io"}
{"mined_at": "2024-07-15T17:35:30.439985", "created_at": "2021-11-11T20:45:49+01:00", "updated_at": "2022-01-25T18:51:29+01:00", "name": "Delete gh-pages preview after PR merge", "path": ".github/workflows/post-merge-cleanup.yaml", "contents": "name: Delete gh-pages preview after PR merge\n\non:\n  pull_request:\n    types: [ closed ]\n\njobs:\n  delete_gh-pages_preview:\n    if: github.event.pull_request.merged == true\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: check if branch still exists\n        id: ls-remote\n        run: |\n          out=$(git ls-remote --heads origin gh-pages-${{ github.event.pull_request.head.ref }})\n          echo \"::set-output name=out::$out\"\n      - name: delete gh-pages preview branch gh-pages-${{ github.event.pull_request.head.ref }}\n        if: steps.ls-remote.outputs.out\n        run: git push origin --delete gh-pages-${{ github.event.pull_request.head.ref }}\n", "state": "active", "repository": "bioimage-io/spec-bioimage-io"}
{"mined_at": "2024-07-15T17:35:31.570069", "created_at": "2024-03-10T14:55:53+01:00", "updated_at": "2024-03-10T14:55:53+01:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  publish-pypi:\n    name: Publish to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 2\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install wheel\n          pip install -e .[dev]\n      - name: Test with pytest\n        run: pytest\n      - name: Check version submodule imports\n        run: python scripts/generate_version_submodule_imports.py check\n\n      - name: Check if there is a parent commit\n        id: check-parent-commit\n        run: |\n          echo \"sha=$(git rev-parse --verify --quiet HEAD^)\" >> $GITHUB_OUTPUT\n\n      - name: Detect new version\n        id: check-version\n        if: steps.check-parent-commit.outputs.sha\n        uses: salsify/action-detect-and-tag-new-version@v2.0.1\n        with:\n          create-tag: false\n          version-command: |\n            bash -o pipefail -c \"cat bioimageio/spec/VERSION | jq -r '.version'\"\n\n      - name: Push tag\n        id: tag-version\n        if: steps.check-version.outputs.previous-version != steps.check-version.outputs.current-version\n        uses: mathieudutour/github-tag-action@v6.1\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          custom_tag: ${{ steps.check-version.outputs.current-version }}\n\n      - name: Build package\n        run: |\n          python setup.py sdist bdist_wheel\n\n      - name: Publish package on PyPI\n        if: steps.tag-version.outputs.new_tag\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: \"${{ secrets.PYPI_TOKEN }}\"\n          packages-dir: dist/\n\n      - name: Publish the release notes\n        uses: release-drafter/release-drafter@v6.0.0\n        with:\n          publish: \"${{ steps.tag-version.outputs.new_tag != '' }}\"\n          tag: \"${{ steps.tag-version.outputs.new_tag }}\"\n        env:\n          GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "bioimage-io/spec-bioimage-io"}
{"mined_at": "2024-07-15T17:35:32.654366", "created_at": "2021-12-22T15:35:26+01:00", "updated_at": "2021-12-22T15:35:26+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "bioimage-io/spec-bioimage-io"}
{"mined_at": "2024-07-15T17:35:34.820438", "created_at": "2021-05-19T10:55:30+02:00", "updated_at": "2021-05-19T10:55:30+02:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yaml", "contents": "name: Python package\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, '3.10']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install pip\n      run: |\n        python -m pip install --upgrade pip\n    - name: Lint with flake8\n      run: |\n        pip install flake8 darglint\n        flake8 .\n    - name: Test with pytest\n      run: |\n        pip install pytest\n        python -m pytest tests/\n    - name: Build documentation\n      run: |\n        pip install -r doc/requirements.txt\n        make -C doc html\n", "state": "active", "repository": "rl-institut/spice_ev"}
{"mined_at": "2024-07-15T17:35:37.011239", "created_at": "2022-11-12T00:46:32+01:00", "updated_at": "2023-05-15T04:53:31+02:00", "name": ".github/workflows/cypress.yml", "path": ".github/workflows/cypress.yml", "contents": "name: Cypress Tests\n\non:\n  pull_request:\n    branches: [\"main\"]\n\njobs:\n  cypress-tests:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: .\n\n    services:\n      postgres:\n        image: timescale/timescaledb:latest-pg14\n        env:\n          POSTGRES_USER: lotus\n          POSTGRES_PASSWORD: lotus\n          SSLMODE: PREFER\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n        # Set health checks to wait until redis has started\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    environment: Development\n\n    env:\n      DJANGO_SETTINGS_MODULE: \"lotus.settings\"\n      PYTHONPATH: \".\"\n      SECRET_KEY: ${{ secrets.SECRET_KEY }}\n      STRIPE_LIVE_SECRET_KEY: ${{ secrets.STRIPE_LIVE_SECRET_KEY }}\n      STRIPE_TEST_SECRET_KEY: ${{ secrets.STRIPE_TEST_SECRET_KEY }}\n      DEBUG: False\n      KAFKA_URL: \"localhost:9092\"\n      PYTHONDONTWRITEBYTECODE: 1\n      VITE_API_URL: \"http://localhost:8000/\"\n      ADMIN_EMAIL: \"change_me@change_me.com\"\n      ADMIN_PASSWORD: \"change_me\"\n      ADMIN_USERNAME: \"change_me\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: start redpanda\n        uses: redpanda-data/github-action@v0.1.3\n        with:\n          version: \"latest\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.9\"\n\n      - name: Install poetry\n        run: |\n          cd ./backend && python -m pip install --upgrade poetry wheel\n\n      - id: cache-poetry\n        uses: actions/cache@v1\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install backend dependencies\n        if: steps.cache-poetry.outputs.cache-hit != 'true'\n        run: |\n          cd ./backend && poetry install\n\n      - name: Migrate\n        run: |\n          cd ./backend && poetry run python manage.py migrate --noinput\n\n      - name: Demo up\n        run: |\n          cd ./backend && poetry run python manage.py demo_up\n\n      - name: Init Admin\n        run: |\n          cd ./backend && poetry run python manage.py initadmin\n\n      - name: Run Django server\n        run: |\n          cd ./backend && poetry run python manage.py runserver 0.0.0.0:8000 &\n\n      - name: Cypress run\n        uses: cypress-io/github-action@v5\n        with:\n          working-directory: ./frontend\n          start: yarn run dev --port 3000 --host 127.0.0.1\n          wait-on: \"http://localhost:8000/api/healthcheck/, http://localhost:\n", "state": "active", "repository": "uselotus/lotus"}
{"mined_at": "2024-07-15T17:35:38.129992", "created_at": "2023-01-22T03:30:53+01:00", "updated_at": "2023-01-22T05:16:02+01:00", "name": "Lint and Prettier", "path": ".github/workflows/lint-and-format.yml", "contents": "name: Lint and Prettier\n\non: [push]\n\njobs:\n  format-ts:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          path: frontend\n      - name: Setup Node.js\n        uses: actions/setup-node@v2\n        with:\n          node-version: 16\n\n      - name: Install dependencies\n        run: cd frontend/frontend && yarn\n\n      # - name: Lint with ESLint\n      #   run: yarn lint\n      - name: Run Prettier\n        run: cd frontend/frontend && yarn pretty\n\n  format-py:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies\n        run: pip install black\n\n      - name: Run black\n        run: black backend/\n", "state": "active", "repository": "uselotus/lotus"}
{"mined_at": "2024-07-15T17:35:39.466911", "created_at": "2023-02-09T18:56:19+01:00", "updated_at": "2023-02-09T22:34:18+01:00", "name": "Pytest", "path": ".github/workflows/pytest.yml", "contents": "name: Pytest\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n\npermissions:\n  contents: read\n\njobs:\n  pytest:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./backend\n\n    services:\n      postgres:\n        image: timescale/timescaledb:latest-pg14\n        env:\n          POSTGRES_USER: lotus\n          POSTGRES_PASSWORD: lotus\n          SSLMODE: PREFER\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n        # Set health checks to wait until redis has started\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    environment: Development\n\n    env:\n      DJANGO_SETTINGS_MODULE: \"lotus.settings\"\n      PYTHONPATH: \".\"\n      SECRET_KEY: \"${{ secrets.SECRET_KEY }}\"\n      STRIPE_LIVE_SECRET_KEY: \"${{ secrets.STRIPE_LIVE_SECRET_KEY }}\"\n      STRIPE_TEST_SECRET_KEY: \"${{ secrets.STRIPE_TEST_SECRET_KEY }}\"\n      DEBUG: False\n      KAFKA_URL: \"localhost:9092\"\n      PYTHONDONTWRITEBYTECODE: 1\n      SELF_HOSTED: \"${{ secrets.SELF_HOSTED }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: start redpanda\n        uses: redpanda-data/github-action@v0.1.3\n        with:\n          version: \"latest\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.9\"\n\n      - name: Install poetry\n        run: |\n          python -m pip install --upgrade poetry wheel\n\n      - id: cache-poetry\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        if: steps.cache-poetry.outputs.cache-hit != 'true'\n        run: |\n          poetry install\n\n      - name: Migrate\n        run: |\n          poetry run python manage.py migrate --noinput\n\n      - name: Run tests with coverage\n        run: |\n          for i in 1 2 3; do\n            if poetry run pytest -x --cov=. --cov-report term-missing --cov-fail-under=30; then\n              export PYTEST_COVERAGE_SUCCEEDED=true\n              break\n            else\n              export PYTEST_COVERAGE_SUCCEEDED=false\n            fi\n            sleep 5s\n          done \n          if [[ \"${PYTEST_COVERAGE_SUCCEEDED}\" == \"true\" ]]; then\n            echo \"Pytest succeeded\"\n          else\n            echo \"Pytest failed\"\n            exit 1\n          fi\n        env:\n          RETRY_DESCRIPTION: \"Running tests with coverage\"\n\n      - name: Test Setup Tasks\n        run: |\n          poetry run python manage.py setup_tasks\n", "state": "active", "repository": "uselotus/lotus"}
{"mined_at": "2024-07-15T17:35:40.594803", "created_at": "2023-02-09T23:29:42+01:00", "updated_at": "2023-02-18T10:18:42+01:00", "name": "Public API Tests", "path": ".github/workflows/public_api_tests.yml", "contents": "name: Public API Tests\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n\njobs:\n  postman-and-sdk-tests:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./backend\n\n    services:\n      postgres:\n        image: timescale/timescaledb:latest-pg14\n        env:\n          POSTGRES_USER: lotus\n          POSTGRES_PASSWORD: lotus\n          SSLMODE: PREFER\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n      redis:\n        image: redis\n        ports:\n          - 6379:6379\n        # Set health checks to wait until redis has started\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    environment: Development\n\n    env:\n      DJANGO_SETTINGS_MODULE: \"lotus.settings\"\n      PYTHONPATH: \".\"\n      SECRET_KEY: ${{ secrets.SECRET_KEY }}\n      STRIPE_LIVE_SECRET_KEY: ${{ secrets.STRIPE_LIVE_SECRET_KEY }}\n      STRIPE_TEST_SECRET_KEY: ${{ secrets.STRIPE_TEST_SECRET_KEY }}\n      DEBUG: False\n      KAFKA_URL: \"localhost:9092\"\n      PYTHONDONTWRITEBYTECODE: 1\n      SENTRY_DSN: ${{ secrets.SENTRY_DSN }}\n      SELF_HOSTED: \"${{ secrets.SELF_HOSTED }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: start redpanda\n        uses: redpanda-data/github-action@v0.1.3\n        with:\n          version: \"latest\"\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.9\"\n\n      - name: Install poetry\n        run: |\n          python -m pip install --upgrade poetry wheel\n\n      - id: cache-poetry\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        if: steps.cache-poetry.outputs.cache-hit != 'true'\n        run: |\n          poetry install\n\n      - name: Migrate\n        run: |\n          poetry run python manage.py migrate --noinput\n\n      - name: Install jq\n        run: sudo apt-get install -y jq\n\n      - name: Capture Outputs\n        run: |\n          OUTPUTS=$(poetry run python manage.py postman_ci_outputs)\n          KEY=$(echo \"$OUTPUTS\" | grep \"KEY=\" | cut -d= -f2)\n          PLAN_ID=$(echo \"$OUTPUTS\" | grep \"PLAN_ID=\" | cut -d= -f2)\n          INVOICE_ID=$(echo \"$OUTPUTS\" | grep \"INVOICE_ID=\" | cut -d= -f2)\n          ADDON_ID=$(echo \"$OUTPUTS\" | grep \"ADDON_ID=\" | cut -d= -f2)\n          METRIC_ID=$(echo \"$OUTPUTS\" | grep \"METRIC_ID=\" | cut -d= -f2)\n          UNUSED_METRIC_ID=$(echo \"$OUTPUTS\" | grep \"UNUSED_MID=\" | cut -d= -f2)\n          FEATURE_ID=$(echo \"$OUTPUTS\" | grep \"FEATURE_ID=\" | cut -d= -f2)\n          FEATURE_NAME=$(echo \"$OUTPUTS\" | grep \"FEATURE_NAME=\" | cut -d= -f2)\n          EVENT_NAME=$(echo \"$OUTPUTS\" | grep \"EVENT_NAME=\" | cut -d= -f2)\n          CUSTOMER_ID=$(echo \"$OUTPUTS\" | grep \"CUSTOMER_ID=\" | cut -d= -f2)\n          ENV_JSON=$(jq -n \\\n            --arg key \"$KEY\" \\\n            --arg plan_id \"$PLAN_ID\" \\\n            --arg invoice_id \"$INVOICE_ID\" \\\n            --arg addon_id \"$ADDON_ID\" \\\n            --arg metric_id \"$METRIC_ID\" \\\n            --arg feature_name \"$FEATURE_NAME\" \\\n            --arg feature_id \"$FEATURE_ID\" \\\n            --arg event_name \"$EVENT_NAME\" \\\n            --arg customer_id \"$CUSTOMER_ID\" \\\n            '{KEY: $key, PLAN_ID: $plan_id, INVOICE_ID: $invoice_id, ADDON_ID: $addon_id, METRIC_ID: $metric_id, FEATURE_NAME: $feature_name, FEATURE_ID: $feature_id,EVENT_NAME: $event_name, CUSTOMER_ID: $customer_id, URL: \"http://localhost:8000\"}')\n          echo \"$ENV_JSON\" > environment.json\n          echo \"LOTUS_API_KEY=$KEY\" >> $GITHUB_ENV\n          echo \"PLAN_ID=$PLAN_ID\" >> $GITHUB_ENV\n          echo \"METRIC_ID=$METRIC_ID\" >> $GITHUB_ENV\n          echo \"UNUSED_METRIC_ID=$UNUSED_METRIC_ID\" >> $GITHUB_ENV\n          echo \"FEATURE_ID=$FEATURE_ID\" >> $GITHUB_ENV\n          echo \"ADDON_ID=$ADDON_ID\" >> $GITHUB_ENV\n          echo \"LOTUS_HOST=http://localhost:8000\" >> $GITHUB_ENV\n\n      - name: Run server\n        run: |\n          poetry run python manage.py runserver &\n\n      - name: Run Postman\n        uses: anthonyvscode/newman-action@v1\n        with:\n          apiKey: ${{ secrets.postmanApiKey }}\n          collection: 18225965-f895719c-ab58-4f3d-ba21-5c918691697e\n          environment: environment.json\n          reporters: cli\n\n      - name: Output summary to console\n        run: echo ${{ steps.run-newman.outputs.summary }}\n", "state": "active", "repository": "uselotus/lotus"}
{"mined_at": "2024-07-15T17:35:41.823530", "created_at": "2023-03-23T22:06:31+01:00", "updated_at": "2023-03-25T23:54:51+01:00", "name": "E2E Events", "path": ".github/workflows/events-e2e.yml", "contents": "name: E2E Events\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n\npermissions:\n  contents: read\n\njobs:\n  e2e-events:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: .\n\n    environment: Development\n\n    env:\n      DJANGO_SETTINGS_MODULE: \"lotus.settings\"\n      PYTHONPATH: \".\"\n      SECRET_KEY: \"${{ secrets.SECRET_KEY }}\"\n      STRIPE_LIVE_SECRET_KEY: \"${{ secrets.STRIPE_LIVE_SECRET_KEY }}\"\n      STRIPE_TEST_SECRET_KEY: \"${{ secrets.STRIPE_TEST_SECRET_KEY }}\"\n      DEBUG: False\n      PYTHONDONTWRITEBYTECODE: 1\n      SELF_HOSTED: \"${{ secrets.SELF_HOSTED }}\"\n      DOCKERIZED: True\n      POSTGRES_USER: lotus\n      POSTGRES_PASSWORD: lotus\n      POSTGRES_DB: lotus\n      KAFKA_URL: redpanda:29092\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: start-all\n        run: |\n          sh -c \"./scripts/dev.sh --no-webhooks --no-beat &\"\n\n      - name: Wait for API to be ready\n        run: |\n          sleep 480s\n          for i in {1..200}; do\n            if curl -s -f http://localhost:8000/api/healthcheck/; then\n              export STARTUP_SUCCEEDED=true\n              break\n            else\n              export STARTUP_SUCCEEDED=false\n            fi\n            sleep 5s\n          done\n          if [[ \"${STARTUP_SUCCEEDED}\" == \"true\" ]]; then\n            echo \"Startup succeeded\"\n          else\n            echo \"Startup failed\"\n            exit 1\n          fi\n\n      - name: Install jq\n        run: sudo apt-get install -y jq\n\n      - name: get-api-key\n        run: |\n          OUTPUTS=$(docker-compose -f docker-compose.dev.yaml exec -T backend python manage.py postman_ci_outputs)\n          KEY=$(echo \"$OUTPUTS\" | grep \"KEY=\" | cut -d= -f2)\n          ENV_JSON=$(jq -n \\\n            --arg key \"$KEY\" \\\n          '{KEY: $key}')\n          echo \"$ENV_JSON\" > environment.json\n          echo \"LOTUS_API_KEY=$KEY\" >> $GITHUB_ENV\n\n      - name: track-events\n        run: |\n          response=$(curl -sw \"\\n%{http_code}\" --location --request POST 'http://localhost:7998/api/track/' \\\n            --header \"X-API-KEY: $LOTUS_API_KEY\" \\\n            --header 'Content-Type: application/json' \\\n            --data-raw '{\n              \"batch\":[\n                {\n                  \"customer_id\": \"rto\",\n                  \"event_name\":\"boaaaby\",\n                  \"idempotency_id\": \"16b6aa05-790c-42fc-bbdc-a41afa0f9d2e\",\n                  \"properties\":{\n                      \"shard_id\": \"2\",\n                      \"shard_type\": \"professional\",\n                      \"change\": 5\n                  },\n                  \"time_created\":\"'$(date -u +\"%Y-%m-%dT%H:%M:%S.%3NZ\")'\"\n                }\n              ]\n            }')\n\n          response_body=$(echo \"$response\" | head -n -1)\n          status_code=$(echo \"$response\" | tail -n 1)\n\n          echo \"Response body: $response_body\"\n          echo \"Status code: $status_code\"\n\n      - name: verify event\n        run: |\n          sleep 10s\n          response=$(curl -sw \"\\n%{http_code}\" --location --request POST 'http://localhost:8000/api/verify_idems_received/' \\\n            --header \"X-API-KEY: $LOTUS_API_KEY\" \\\n            --header 'Content-Type: application/json' \\\n            --data '{\n              \"idempotency_ids\": [\"16b6aa05-790c-42fc-bbdc-a41afa0f9d2e\"]\n            }')\n\n          response_body=$(echo \"$response\" | head -n -1)\n          status_code=$(echo \"$response\" | tail -n 1)\n\n          echo \"Response body: $response_body\"\n          echo \"Status code: $status_code\"\n\n          if echo \"${response}\" | jq -e '.ids_not_found | index(\"16b6aa05-790c-42fc-bbdc-a41afa0f9d2e\")' &> /dev/null; then\n              echo \"Idempotency ID was not found\"\n              exit 1\n          fi\n", "state": "active", "repository": "uselotus/lotus"}
{"mined_at": "2024-07-15T17:35:44.074976", "created_at": "2022-06-25T23:09:32+02:00", "updated_at": "2022-06-25T23:59:09+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '17 15 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "valory-xyz/open-autonomy"}
{"mined_at": "2024-07-15T17:35:45.303275", "created_at": "2021-07-14T11:46:21+02:00", "updated_at": "2021-07-16T10:55:30+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - develop\n      - main\n  pull_request:\n\njobs:\n  run:\n    continue-on-error: True\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n\n    timeout-minutes: 30\n\n    steps:\n    - uses: actions/checkout@master\n    - uses: actions/setup-python@master\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/setup-node@v1\n      with:\n        node-version: 12.x\n    - name: Install dependencies\n      run: |\n        sudo apt-get update --fix-missing\n        sudo apt-get autoremove\n        sudo apt-get autoclean\n        pip install tomte[tox]==0.2.17\n        sudo npm install -g markdown-spellcheck\n    - name: Generate Documentation\n      run: tox -e docs\n    - name: Check spelling\n      run: tox -e spell-check\n", "state": "active", "repository": "valory-xyz/open-autonomy"}
{"mined_at": "2024-07-15T17:35:46.534461", "created_at": "2021-08-08T00:53:10+02:00", "updated_at": "2022-09-29T12:24:00+02:00", "name": "main_workflow", "path": ".github/workflows/main_workflow.yml", "contents": "name: main_workflow\n\non:\n  push:\n    branches:\n      - develop\n      - main\n  pull_request:\n\nenv:\n  TENDERMINT_IMAGE_VERSION: latest\n\njobs:\n  lock_check:\n    continue-on-error: False\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest, macos-12, windows-latest ]\n        python-version: [\"3.10.9\"]\n\n    timeout-minutes: 18\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@master\n      with:\n        python-version: ${{ matrix.python-version }}\n    - if: matrix.os != 'windows-latest'\n      name: Pipenv install requirements and check it can be locked\n      run: |\n        pip install pipenv==2023.7.23\n        pipenv --clear\n        time pipenv install --verbose --dev --skip-lock\n        time pipenv run pip install -e .[all]\n        time pipenv lock\n    - if: matrix.os == 'windows-latest'\n      name: Pipenv install requirements and check it can be locked\n      run: |\n        choco install ptime\n        pip install pipenv==2023.7.23\n        pipenv --clear\n        ptime pipenv install --verbose --dev --skip-lock\n        ptime pipenv run pip install -e .[all]\n        ptime pipenv lock\n\n  install_check:\n    continue-on-error: False\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [\"3.10.9\"]\n    timeout-minutes: 10\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@master\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Check clean installation\n      run: |\n        pip install .[all] --no-cache\n        autonomy --help\n\n  copyright_doc_and_dependencies_check:\n    continue-on-error: False\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10.9\"]\n\n    timeout-minutes: 30\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - uses: actions/setup-python@master\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run:  |\n        sudo apt-get update --fix-missing\n        sudo apt-get autoremove\n        sudo apt-get autoclean\n        pip install tomte[tox,cli]==0.2.17\n        pip install --user --upgrade setuptools\n    - name: Check copyright headers\n      run: tomte format-copyright --author valory --author fetchai\n    - name: License compatibility check\n      run: tox -e liccheck\n    - name: Check docs\n      run: tox -e check-api-docs\n    # - name: Check doc links\n    #   run: tomte check-doc-links --http-skips http://host.docker.internal:8545 --http-skips http://www.fipa.org/repository/ips.php3 --url-skips \"https://gateway.autonolas.tech/ipfs/<hash>,\" --url-skips \"https://github.com/valory-xyz/open-autonomy/trunk/infrastructure\" --url-skips \"http://host.docker.internal:8545\" --url-skips \"https://github.com/valory-xyz/open-operator\"\n    - name: Check doc IPFS hashes\n      run: tox -e check-doc-hashes\n    - name: Check dependencies\n      run: tox -e check-dependencies\n\n  linter_checks:\n    continue-on-error: False\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10.9\"]\n\n    timeout-minutes: 30\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@master\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/setup-go@v3\n      with:\n        go-version: \"1.17.7\"\n    - name: Install dependencies\n      run:  |\n        sudo apt-get update --fix-missing\n        sudo apt-get autoremove\n        sudo apt-get autoclean\n        pip install tomte[tox]==0.2.17\n        pip install --user --upgrade setuptools\n        # install Protobuf compiler\n        wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-linux-x86_64.zip\n        unzip protoc-24.3-linux-x86_64.zip -d protoc\n        sudo mv protoc/bin/protoc /usr/local/bin/protoc\n        # install IPFS\n        sudo apt-get install -y wget\n        sudo npm install -g markdown-spellcheck\n        wget -O ./go-ipfs.tar.gz https://dist.ipfs.io/go-ipfs/v0.6.0/go-ipfs_v0.6.0_linux-amd64.tar.gz\n        tar xvfz go-ipfs.tar.gz\n        sudo mv go-ipfs/ipfs /usr/local/bin/ipfs\n        ipfs init\n        make protolint_install\n    - name: Check generate protocols\n      run: tox -e check-generate-all-protocols\n    - name: Security checks\n      run: |\n        tox -e bandit\n        tox -e safety\n    - name: Check packages\n      run: tox -e check-packages\n    - name: Check hash\n      run: tox -e check-hash\n    - name: Code style check\n      run: |\n        tox -e black-check\n        tox -e isort-check\n        tox -e flake8\n        tox -e vulture\n        tox -e darglint\n    - name: Static type check\n      run: tox -e mypy\n    - name: Pylint\n      run: tox -e pylint\n    - name: Check spelling\n      run: tox -e spell-check\n    - name: AbciApp consistency checks\n      run: |\n        tox -e check-abci-docstrings\n        tox -e check-abciapp-specs\n        tox -e check-handlers\n        tox -e check-dialogues\n\n  scan:\n    name: gitleaks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-go@v3\n        with:\n          go-version: \"1.17.7\"\n      - run: |\n          wget https://github.com/zricethezav/gitleaks/releases/download/v8.10.1/gitleaks_8.10.1_linux_x64.tar.gz && \\\n          tar -xzf gitleaks_8.10.1_linux_x64.tar.gz && \\\n          sudo install gitleaks /usr/bin && \\\n          gitleaks detect --report-format json --report-path leak_report -v\n\n  test:\n    continue-on-error: True\n    needs:\n      - lock_check\n      - install_check\n      - copyright_doc_and_dependencies_check\n      - linter_checks\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest, macos-12, windows-latest ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10.9\", \"3.11\" ]\n\n    timeout-minutes: 90\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: recursive\n          fetch-depth: 0\n      - uses: actions/setup-python@master\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/setup-go@v3\n        with:\n          go-version: \"1.17.7\"\n      - if: matrix.os == 'ubuntu-latest'\n        name: Install dependencies (ubuntu-latest)\n        run: |\n          sudo apt-get update --fix-missing\n          sudo apt-get autoremove\n          sudo apt-get autoclean\n          pip install tomte[tox]==0.2.17\n          pip install --user --upgrade setuptools\n\n          # install Protobuf compiler\n          wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-linux-x86_64.zip\n          unzip protoc-24.3-linux-x86_64.zip -d protoc\n          sudo mv protoc/bin/protoc /usr/local/bin/protoc\n\n          # install IPFS\n          sudo apt-get install -y wget\n          wget -O ./go-ipfs.tar.gz https://dist.ipfs.io/go-ipfs/v0.6.0/go-ipfs_v0.6.0_linux-amd64.tar.gz\n          tar xvfz go-ipfs.tar.gz\n          sudo mv go-ipfs/ipfs /usr/local/bin/ipfs\n          ipfs init\n\n          # install Tendermint\n          wget -O tendermint.tar.gz https://github.com/tendermint/tendermint/releases/download/v0.34.19/tendermint_0.34.19_linux_amd64.tar.gz\n          tar -xf tendermint.tar.gz\n          sudo mv tendermint /usr/local/bin/tendermint\n\n          # install skaffold\n          curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v1.39.1/skaffold-linux-amd64 && \\\n          sudo chmod +x skaffold\n          sudo install skaffold /usr/local/bin/\n          skaffold --help\n\n          # build required images\n          skaffold build --push=false\n          skaffold build -p ci --push=false\n          TM_DEPLOYMENT_PATH=\"deployments/Dockerfiles/tendermint/\"\n          TM_IMG_NAME=\"valory/open-autonomy-tendermint\"\n          docker build $TM_DEPLOYMENT_PATH -t $TM_IMG_NAME:0.1.0 -t $TM_IMG_NAME:1.0.0 -t $TM_IMG_NAME:latest\n\n          # pull pre-built images\n          docker pull valory/autonolas-registries:latest\n          docker pull valory/contracts-amm:latest\n          docker pull valory/safe-contract-net:latest\n          docker pull valory/acn-node:latest\n          docker pull tendermint/tendermint:v0.34.19\n          docker pull trufflesuite/ganache:beta\n\n      - if: matrix.os == 'ubuntu-latest'\n        name: Framework unit tests ubuntu-latest\n        run: |\n          tox -e py${{ matrix.python-version }}-linux -- -m 'not e2e'\n\n      - if: matrix.os == 'ubuntu-latest'\n        name: Packages unit tests ubuntu-latest\n        run: |\n          tox -e packages-py${{ matrix.python-version }}-linux -- -m 'not e2e'\n\n      - if: matrix.os == 'macos-12'\n        name: Install dependencies (macos-12)\n        run: |\n          pip install tomte[tox]==0.2.17\n          brew install gcc\n          # brew install protobuf\n          # brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/72457f0166d5619a83f508f2345b22d0617b5021/Formula/protobuf.rb\n          wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-osx-x86_64.zip\n          unzip protoc-24.3-osx-x86_64.zip -d protoc\n          sudo mv protoc/bin/protoc /usr/local/bin/protoc\n          brew tap yoheimuta/protolint\n          brew install protolint\n\n          # install ipfs\n          curl -O https://dist.ipfs.io/go-ipfs/v0.6.0/go-ipfs_v0.6.0_darwin-amd64.tar.gz\n          tar -xvzf go-ipfs_v0.6.0_darwin-amd64.tar.gz\n          cd go-ipfs\n          sudo ./install.sh\n          cd ..\n          rm -rf go-ipfs\n          ipfs init\n\n          # install Tendermint\n          wget -O tendermint.tar.gz https://github.com/tendermint/tendermint/releases/download/v0.34.19/tendermint_0.34.19_darwin_amd64.tar.gz\n          tar -xf tendermint.tar.gz\n          sudo mv tendermint /usr/local/bin/tendermint\n\n          # install skaffold\n          curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v1.39.1/skaffold-darwin-amd64 && \\\n          sudo chmod +x skaffold\n          sudo install skaffold /usr/local/bin/\n          skaffold --help\n\n      - if: matrix.os == 'macos-12'\n        name: Framework unit tests macos-12\n        run: |\n          tox -e py${{ matrix.python-version }}-darwin -- -m 'not e2e'\n\n      - if: matrix.os == 'macos-12'\n        name: Packages unit tests macos-12\n        run: |\n          tox -e packages-py${{ matrix.python-version }}-darwin -- -m 'not e2e'\n\n      - if: matrix.os == 'windows-latest'\n        name: Install dependencies (windows-latest)\n        env:\n          ACTIONS_ALLOW_UNSECURE_COMMANDS: true\n        run: |\n          python -m pip install -U pip\n          echo \"::add-path::C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\"\n\n          choco source add -n chocolatey -s 'https://chocolatey.org/api/v2/'\n          choco source enable -n chocolatey\n\n          choco install wget -y\n          choco install protoc --version 24.3\n          choco install mingw -y\n          choco install make -y\n          # to check make was installed\n          make --version\n          pip install tomte[tox]==0.2.17\n          # wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-win64.zip\n          # unzip protoc-24.3-win64.zip -d protoc\n          # sudo mv protoc/bin/protoc /usr/local/bin/protoc\n\n          # TODO: install protolint\n          #echo \"::set-env name=GOPATH::$(go env GOPATH)\"\n          #echo \"::add-path::$(go env GOPATH)/bin\"\n          #make protolint_install_win\n          # just check protolint runs\n          #protolint version\n\n          # install ipfs\n          curl https://dist.ipfs.io/go-ipfs/v0.6.0/go-ipfs_v0.6.0_windows-amd64.zip -o go-ipfs_v0.6.0.zip\n          Expand-Archive -Path go-ipfs_v0.6.0.zip -DestinationPath ~\\Apps\\\n          cp ~\\Apps\\go-ipfs\\ipfs.exe C:\\Users\\runneradmin\\go\\bin\\\n          ipfs init\n\n          # install Tendermint\n          wget -O tendermint.tar.gz https://github.com/tendermint/tendermint/releases/download/v0.34.19/tendermint_0.34.19_windows_amd64.tar.gz\n          tar -xvzf tendermint.tar.gz\n          cp tendermint.exe C:\\Users\\runneradmin\\go\\bin\\\n\n          # install skaffold\n          curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v1.39.1/skaffold-windows-amd64.exe\n          cp skaffold C:\\Users\\runneradmin\\go\\bin\\\n          skaffold --help\n\n      - if: matrix.os == 'windows-latest'\n        name: Framework unit tests windows-latest\n        run: |\n          tox -e py${{ matrix.python-version }}-win -- -m 'not e2e'\n\n      - if: matrix.os == 'windows-latest'\n        name: Packages unit tests windows-latest\n        run: |\n          tox -e packages-py${{ matrix.python-version }}-win -- -m 'not e2e'\n\n      - if: matrix.os == 'ubuntu-latest'\n        name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n  e2e:\n    continue-on-error: True\n    needs:\n      - lock_check\n      - install_check\n      - copyright_doc_and_dependencies_check\n      - linter_checks\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ \"3.10.9\" ]\n\n    timeout-minutes: 150\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: recursive\n      - uses: actions/setup-python@master\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get update --fix-missing\n          sudo apt-get autoremove\n          sudo apt-get autoclean\n          pip install tomte[tox]==0.2.17\n          pip install --user --upgrade setuptools\n\n          # install Protobuf compiler\n          wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-linux-x86_64.zip\n          unzip protoc-24.3-linux-x86_64.zip -d protoc\n          sudo mv protoc/bin/protoc /usr/local/bin/protoc\n\n          # install IPFS\n          sudo apt-get install -y wget\n          wget -O ./go-ipfs.tar.gz https://dist.ipfs.io/go-ipfs/v0.6.0/go-ipfs_v0.6.0_linux-amd64.tar.gz\n          tar xvfz go-ipfs.tar.gz\n          sudo mv go-ipfs/ipfs /usr/local/bin/ipfs\n          ipfs init\n\n          # install Tendermint\n          wget -O tendermint.tar.gz https://github.com/tendermint/tendermint/releases/download/v0.34.19/tendermint_0.34.19_linux_amd64.tar.gz\n          tar -xf tendermint.tar.gz\n          sudo mv tendermint /usr/local/bin/tendermint\n\n          # install Skaffold needed in order to build the Flask with Tendermint image\n          curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v1.39.1/skaffold-linux-amd64 &&\\\n            sudo install skaffold /usr/local/bin/\n\n          # build the Flask with Tendermint image\n          TM_DEPLOYMENT_PATH=\"deployments/Dockerfiles/tendermint/\"\n          TM_IMG_NAME=\"valory/open-autonomy-tendermint\"\n          docker build $TM_DEPLOYMENT_PATH -t $TM_IMG_NAME:0.1.0 -t $TM_IMG_NAME:1.0.0 -t $TM_IMG_NAME:latest\n\n          # pull pre-built images\n          docker pull valory/autonolas-registries:latest\n          docker pull valory/contracts-amm:latest\n          docker pull valory/safe-contract-net:latest\n          docker pull tendermint/tendermint:v0.34.19\n          docker pull valory/slow-tendermint-server:0.1.0\n\n      - name: Unit tests\n        run: |\n          tox --develop -e e2e-py${{ matrix.python-version }}-linux -- -m 'e2e'\n", "state": "active", "repository": "valory-xyz/open-autonomy"}
{"mined_at": "2024-07-15T17:35:47.609937", "created_at": "2023-01-17T10:29:46+01:00", "updated_at": "2023-01-17T10:29:46+01:00", "name": "Release Flow", "path": ".github/workflows/release.yml", "contents": "name: Release Flow\n\n# Controls when the action will run.\non:\n  release:\n    types: [published]\n\njobs:\n  publish-pip-packages:\n    name: Create Framework & Plugin Releases\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n    steps:\n      - uses: actions/checkout@master\n      - uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-versions }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get update --fix-missing\n          sudo apt-get autoremove\n          sudo apt-get autoclean\n          python -m pip install --upgrade pip\n          pip install pipenv twine\n          python --version\n\n      - name: Build wheels and source tarball\n        run: |\n          echo Processing open-autonomy\n          pipenv run make dist\n\n          echo Processing aea-test-autonomy\n          cd plugins/aea-test-autonomy\n          pipenv run python setup.py sdist bdist_wheel\n          cd ../..\n\n      - name: Publish open-autonomy Framework to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip_existing: true\n          packages_dir: dist/\n\n      - name: Publish open-aea-test-autonomy Plugin to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip_existing: true\n          packages_dir: plugins/aea-test-autonomy/dist/\n\n  publish-autonomy-packages:\n    name: Push Open Autonomy Packages\n    runs-on: ${{ matrix.os }}\n    needs:\n      - publish-pip-packages\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n\n    steps:\n      - uses: actions/checkout@master\n      - uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-versions }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get update --fix-missing\n          sudo apt-get autoremove\n          sudo apt-get autoclean\n          python -m pip install --upgrade pip\n          pip install open-autonomy[all] --no-cache\n\n      - name: Push Packages\n        run: |\n          autonomy init --reset --author valory --ipfs --remote\n          autonomy push-all\n\n  publish-docs-images:\n    name: Publish Docs Images\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n    needs:\n      - publish-autonomy-packages\n    steps:\n    - uses: actions/checkout@v2\n    - name: Docker login\n      env:\n        DOCKER_USER: ${{secrets.DOCKER_USER}}\n        DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}\n      run: |\n        docker login -u $DOCKER_USER -p $DOCKER_PASSWORD\n    - name: Set up tag\n      run: echo export TAG=$(python3 -c \"from setup import about; print(about[\\\"__version__\\\"])\") > env.sh\n    - name: Build version tagged images\n      run: |\n        source env.sh\n        docker build -t valory/open-autonomy-docs:$TAG -f deployments/Dockerfiles/documentation/Dockerfile . --push\n        docker build -t valory/open-autonomy-docs:latest -f deployments/Dockerfiles/documentation/Dockerfile . --push\n\n  publish-deploy-images:\n    name: Publish Deploy Images\n    runs-on: ubuntu-latest\n    needs:\n      - publish-autonomy-packages\n    steps:\n      - uses: actions/checkout@v2\n      - name: Docker login\n        env:\n          DOCKER_USER: ${{secrets.DOCKER_USER}}\n          DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}\n        run: |\n          docker login -u $DOCKER_USER -p $DOCKER_PASSWORD\n      - name: Set up support for multi platform build\n        run: |\n          docker run --privileged --rm tonistiigi/binfmt --install all\n          docker buildx create --use --name multibuild\n          docker buildx inspect --bootstrap\n      - name: Set up tag\n        run: echo export TAG=$(python3 -c \"from setup import about; print(about[\\\"__version__\\\"])\") > env.sh\n      - name: Build and push version tagged images\n        run: |\n          # export `TAG` variable\n          source env.sh\n          docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t valory/open-autonomy:$TAG deployments/Dockerfiles/autonomy --push\n          docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t valory/open-autonomy:latest deployments/Dockerfiles/autonomy --push\n\n  publish-user-images:\n    name: Publish User Images\n    runs-on: ubuntu-latest\n    needs:\n      - publish-autonomy-packages\n    steps:\n      - uses: actions/checkout@v2\n      - name: Docker login\n        env:\n          DOCKER_USER: ${{secrets.DOCKER_USER}}\n          DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}\n        run: |\n          docker login -u $DOCKER_USER -p $DOCKER_PASSWORD\n      - name: Set up support for multi platform build\n        run: |\n          docker run --privileged --rm tonistiigi/binfmt --install all\n          docker buildx create --use --name multibuild\n          docker buildx inspect --bootstrap\n      - name: Set up tag\n        run: echo export TAG=$(python3 -c \"from setup import about; print(about[\\\"__version__\\\"])\") > env.sh\n      - name: Build and push version tagged images\n        run: |\n          # export `TAG` variable\n          source env.sh\n          docker buildx build --platform linux/amd64,linux/arm64 -t valory/open-autonomy-user:$TAG deployments/Dockerfiles/autonomy-user --push\n          docker buildx build --platform linux/amd64,linux/arm64 -t valory/open-autonomy-user:latest deployments/Dockerfiles/autonomy-user --push\n\n  publish-helper-images:\n    name: Publish Helper Images\n    runs-on: ubuntu-latest\n    needs:\n      - publish-autonomy-packages\n    steps:\n      - uses: actions/checkout@v2\n      - name: Docker login\n        env:\n          DOCKER_USER: ${{secrets.DOCKER_USER}}\n          DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}\n        run: |\n          docker login -u $DOCKER_USER -p $DOCKER_PASSWORD\n      - name: Set up support for multi platform build\n        run: |\n          docker run --privileged --rm tonistiigi/binfmt --install all\n          docker buildx create --use --name multibuild\n          docker buildx inspect --bootstrap\n      - name: Set up tag\n        run: echo export TAG=$(python3 -c \"from setup import about; print(about[\\\"__version__\\\"])\") > env.sh\n      - name: Build and push version tagged images\n        run: |\n          # export `TAG` variable\n          source env.sh\n\n          docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t valory/open-autonomy-tendermint:$TAG deployments/Dockerfiles/tendermint --push\n          docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t valory/open-autonomy-tendermint:latest deployments/Dockerfiles/tendermint --push\n\n          docker buildx build --platform linux/amd64,linux/arm64 -t valory/open-autonomy-hardhat:$TAG deployments/Dockerfiles/hardhat --push\n          docker buildx build --platform linux/amd64,linux/arm64 -t valory/open-autonomy-hardhat:latest deployments/Dockerfiles/hardhat --push\n\n  publish-dev-image:\n    name: Publish Develop Image\n    runs-on: ubuntu-latest\n    needs:\n      - publish-autonomy-packages\n    steps:\n      - uses: actions/checkout@v2\n      - name: Docker login\n        env:\n          DOCKER_USER: ${{secrets.DOCKER_USER}}\n          DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}\n        run: |\n          docker login -u $DOCKER_USER -p $DOCKER_PASSWORD\n      - name: Set up support for multi platform build\n        run: |\n          docker run --privileged --rm tonistiigi/binfmt --install all\n          docker buildx create --use --name multibuild\n          docker buildx inspect --bootstrap\n      - name: Set up tag\n        run: echo export TAG=$(python3 -c \"from setup import about; print(about[\\\"__version__\\\"])\") > env.sh\n      - name: Build and push version tagged images\n        run: |\n          # export `TAG` variable\n          source env.sh\n          \n          docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t valory/open-autonomy-dev:$TAG deployments/Dockerfiles/development --push\n          docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t valory/open-autonomy-dev:latest deployments/Dockerfiles/development --push\n", "state": "active", "repository": "valory-xyz/open-autonomy"}
{"mined_at": "2024-07-15T17:35:49.811405", "created_at": "2022-04-12T22:05:49+02:00", "updated_at": "2022-04-12T22:05:49+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - '**'\n  pull_request: {}\n\nenv:\n  COLUMNS: 150\n\njobs:\n  coverage:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: install rust nightly\n        uses: dtolnay/rust-toolchain@nightly\n\n      - id: cache-rust\n        name: cache rust\n        uses: Swatinem/rust-cache@v2\n\n      - run: cargo install rustfilt coverage-prepare\n        if: steps.cache-rust.outputs.cache-hit != 'true'\n\n      - run: rustup component add llvm-tools-preview\n\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - run: pip install -r tests/requirements.txt\n\n      - run: rustc --version --verbose\n\n      - run: pip install -e .\n        env:\n          RUST_BACKTRACE: 1\n          RUSTFLAGS: '-C instrument-coverage'\n\n      - run: pip freeze\n\n      - run: coverage run -m pytest\n\n      - run: ls -lha\n      - run: coverage xml\n\n      - run: coverage-prepare lcov python/pydantic_core/*.so\n\n      - uses: codecov/codecov-action@v4\n\n  # See https://github.com/PyO3/pyo3/discussions/2781\n  # tests intermittently segfault with pypy and cpython 3.7 when using `coverage run ...`, hence separate job\n  test-python:\n    name: test ${{ matrix.python-version }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n          - 'pypy3.9'\n          - 'pypy3.10'\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: install rust stable\n        uses: dtolnay/rust-toolchain@stable\n\n      - name: cache rust\n        uses: Swatinem/rust-cache@v2\n        with:\n          key: test-v3\n\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - run: pip install -r tests/requirements.txt\n\n      - run: pip install -e .\n        env:\n          RUST_BACKTRACE: 1\n\n      - run: pip freeze\n\n      - run: pytest\n        env:\n          HYPOTHESIS_PROFILE: slow\n\n  test-os:\n    name: test on ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu, macos, windows]\n\n    runs-on: ${{ matrix.os }}-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: install rust stable\n        uses: dtolnay/rust-toolchain@stable\n\n      - name: cache rust\n        uses: Swatinem/rust-cache@v2\n\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - run: pip install -r tests/requirements.txt\n\n      - run: pip install -e .\n        env:\n          RUST_BACKTRACE: 1\n\n      - run: pip freeze\n\n      - run: pytest\n\n      - run: cargo test\n\n  test-msrv:\n    name: test MSRV\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: resolve MSRV\n        id: resolve-msrv\n        run:\n          echo MSRV=`python -c 'import tomllib; print(tomllib.load(open(\"Cargo.toml\", \"rb\"))[\"package\"][\"rust-version\"])'` >> $GITHUB_OUTPUT\n\n      - name: install rust MSRV\n        uses: dtolnay/rust-toolchain@master\n        with:\n          toolchain: ${{ steps.resolve-msrv.outputs.MSRV }}\n\n      - name: cache rust\n        uses: Swatinem/rust-cache@v2\n\n      - run: pip install -r tests/requirements.txt\n\n      - run: pip install -e .\n        env:\n          RUST_BACKTRACE: 1\n\n      - run: pip freeze\n\n      - run: pytest\n\n      - run: cargo test\n\n  # test with a debug build as it picks up errors which optimised release builds do not\n  test-debug:\n    name: test-debug ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - '3.11'\n          - 'pypy3.10'\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: install rust stable\n        uses: dtolnay/rust-toolchain@stable\n\n      - name: cache rust\n        uses: Swatinem/rust-cache@v2\n\n      - run: pip install -r tests/requirements.txt\n      - run: make build-dev\n\n      - run: pip freeze\n      - run: pytest\n\n  test-pydantic-integration:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: pydantic/pydantic\n          path: pydantic\n\n      - uses: actions/checkout@v4\n        with:\n          path: pydantic-core\n\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: install rust stable\n        uses: dtolnay/rust-toolchain@stable\n\n      - name: cache rust\n        uses: Swatinem/rust-cache@v2\n\n      - name: install deps\n        run: |\n          pip install pdm maturin\n          pdm venv create --with-pip\n          pdm install -G testing -G email\n          pdm run pip install maturin\n          pdm run bash -c 'cd ../pydantic-core && make build-dev'\n        working-directory: pydantic\n\n      - run: pdm info && pdm list\n        working-directory: pydantic\n        # Run pytest with lax xfail because we often add tests to pydantic\n        # which xfail on a pending release of pydantic-core\n      - run: pdm run pytest --override-ini=xfail_strict=False\n        working-directory: pydantic\n\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: install rust stable\n        uses: dtolnay/rust-toolchain@stable\n        with:\n          components: rustfmt, clippy\n\n      - name: cache rust\n        uses: Swatinem/rust-cache@v2\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      # used to lint js code\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '18'\n\n      - uses: actions/cache@v4\n        id: cache-py\n        name: cache python\n        with:\n          path: ${{ env.pythonLocation }}\n          key: >\n            py\n            ${{ env.pythonLocation }}\n            ${{ hashFiles('tests/requirements-linting.txt') }}\n            ${{ hashFiles('pyproject.toml') }}\n\n      - run: pip install -r tests/requirements-linting.txt\n        if: steps.cache-py.outputs.cache-hit != 'true'\n\n      - run: make build-dev\n\n      - run: pip freeze\n\n      - run: make lint\n      - run: make pyright\n\n      - run: npm install\n      - run: npm run lint\n\n  bench:\n    name: rust benchmarks\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: install rust nightly\n        uses: dtolnay/rust-toolchain@nightly\n\n      - name: cache rust\n        uses: Swatinem/rust-cache@v2\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - run: pip install typing_extensions\n\n      - run: cargo bench\n\n  build-wasm-emscripten:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: set up python\n        id: setup-python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: install rust nightly\n        uses: dtolnay/rust-toolchain@nightly\n        with:\n          components: rust-src\n          targets: wasm32-unknown-emscripten\n\n      - name: cache rust\n        uses: Swatinem/rust-cache@v2\n\n      - uses: mymindstorm/setup-emsdk@v14\n        with:\n          # NOTE!: as per https://github.com/pydantic/pydantic-core/pull/149 this version needs to match the version\n          # in node_modules/pyodide/repodata.json, to get the version, run:\n          # `cat node_modules/pyodide/repodata.json | python -m json.tool | rg platform`\n          version: '3.1.46'\n          actions-cache-folder: emsdk-cache\n\n      - run: pip install 'maturin>=1,<2' 'ruff==0.1.3' typing_extensions\n\n      - name: build wheels\n        run: make build-wasm\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: '18'\n\n      - run: npm install\n\n      - run: npm run test\n\n      - run: |\n         ls -lh dist/\n         ls -l dist/\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wasm_wheels\n          path: dist\n\n  # https://github.com/marketplace/actions/alls-green#why used for branch protection checks\n  check:\n    if: always()\n    needs: [coverage, test-python, test-os, test-debug, lint, bench, build-wasm-emscripten]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          jobs: ${{ toJSON(needs) }}\n          allowed-failures: coverage\n\n  build-sdist:\n    name: build sdist\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: PyO3/maturin-action@v1\n        with:\n          command: sdist\n          args: --out dist\n          rust-toolchain: stable\n      - uses: actions/upload-artifact@v4\n        with:\n          name: pypi_files_sdist\n          path: dist\n\n  build:\n    name: build on ${{ matrix.os }} (${{ matrix.target }} - ${{ matrix.interpreter || 'all' }}${{ matrix.os == 'linux' && format(' - {0}', matrix.manylinux == 'auto' && 'manylinux' || matrix.manylinux) || '' }})\n    # only run on push to main and on release\n    if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'Full Build')\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [linux, macos, windows]\n        target: [x86_64, aarch64]\n        manylinux: [auto]\n        include:\n          # manylinux for various platforms, plus x86_64 pypy\n          - os: linux\n            manylinux: auto\n            target: i686\n          - os: linux\n            manylinux: auto\n            target: aarch64\n          - os: linux\n            manylinux: auto\n            target: armv7\n            interpreter: 3.8 3.9 3.10 3.11 3.12\n          - os: linux\n            manylinux: auto\n            target: ppc64le\n            interpreter: 3.8 3.9 3.10 3.11 3.12\n          - os: linux\n            manylinux: auto\n            target: s390x\n            interpreter: 3.8 3.9 3.10 3.11 3.12\n          - os: linux\n            manylinux: auto\n            target: x86_64\n            interpreter: pypy3.9 pypy3.10\n\n          # musllinux\n          - os: linux\n            manylinux: musllinux_1_1\n            target: x86_64\n          - os: linux\n            manylinux: musllinux_1_1\n            target: aarch64\n\n          # macos;\n          # all versions x86_64\n          # arm pypy and older pythons which can't be run on the arm hardware for PGO\n          - os: macos\n            target: x86_64\n          - os: macos\n            target: aarch64\n            interpreter: 3.8 3.9 pypy3.9 pypy3.10\n\n          # windows;\n          # x86_64 pypy builds are not PGO optimized\n          # i686 not supported by pypy\n          # aarch64 only 3.11 and up, also not PGO optimized\n          - os: windows\n            target: x86_64\n            interpreter: pypy3.9 pypy3.10\n          - os: windows\n            target: i686\n            python-architecture: x86\n            interpreter: 3.8 3.9 3.10 3.11 3.12\n          # FIXME aarch64 builds broken, see https://github.com/PyO3/maturin/issues/2110\n          # - os: windows\n          #   target: aarch64\n          #   interpreter: 3.11 3.12\n\n        exclude:\n          # See above; disabled for now.\n          - os: windows\n            target: aarch64\n\n    runs-on: ${{ (matrix.os == 'linux' && 'ubuntu') || matrix.os }}-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          architecture: ${{ matrix.python-architecture || 'x64' }}\n\n      - run: pip install -U twine 'ruff==0.1.3' typing_extensions\n\n      # generate self-schema now, so we don't have to do so inside docker in maturin build\n      - run: python generate_self_schema.py\n\n      - name: build wheels\n        uses: PyO3/maturin-action@v1\n        with:\n          target: ${{ matrix.target }}\n          manylinux: ${{ matrix.manylinux }}\n          args: --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10' }}\n          rust-toolchain: stable\n          docker-options: -e CI\n\n      - run: ${{ (matrix.os == 'windows' && 'dir') || 'ls -lh' }} dist/\n\n      - run: twine check --strict dist/*\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: pypi_files_${{ matrix.os }}_${{ matrix.target }}_${{ matrix.interpreter || 'all' }}_${{ matrix.manylinux }}\n          path: dist\n\n  build-pgo:\n    name: build pgo-optimized on ${{ matrix.os }} / ${{ matrix.interpreter }}\n    # only run on push to main and on release\n    if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'Full Build')\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [linux, windows, macos]\n        interpreter: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        include:\n          # standard runners with override for macos arm\n          - os: linux\n            runs-on: ubuntu-latest\n          - os: windows\n            ls: dir\n            runs-on: windows-latest\n          - os: macos\n            runs-on: macos-latest-xlarge\n        exclude:\n          # macos arm only supported from 3.10 and up\n          - os: macos\n            interpreter: '3.8'\n          - os: macos\n            interpreter: '3.9'\n\n    runs-on: ${{ matrix.runs-on }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.interpreter }}\n\n      - name: install rust stable\n        id: rust-toolchain\n        uses: dtolnay/rust-toolchain@stable\n        with:\n          components: llvm-tools\n\n      - run: pip install -U 'ruff==0.1.3' typing_extensions\n\n      # generate self-schema now, so we don't have to do so inside docker in maturin build\n      - run: python generate_self_schema.py\n\n      - run: rustc --version --verbose\n\n      - name: build initial wheel\n        uses: PyO3/maturin-action@v1\n        with:\n          manylinux: auto\n          args: >\n            --release\n            --out pgo-wheel\n            --interpreter ${{ matrix.interpreter }}\n          rust-toolchain: stable\n          docker-options: -e CI\n        env:\n          RUSTFLAGS: \"-Cprofile-generate=${{ github.workspace }}/profdata\"\n\n      - name: detect rust host\n        run: echo RUST_HOST=$(rustc -Vv | grep host | cut -d ' ' -f 2) >> \"$GITHUB_ENV\"\n        shell: bash\n\n      - name: generate pgo data\n        run: |\n          pip install -U pip\n          pip install -r tests/requirements.txt\n          pip install pydantic-core --no-index --no-deps --find-links pgo-wheel --force-reinstall\n          pytest tests/benchmarks\n          rustup run stable bash -c 'echo LLVM_PROFDATA=$RUSTUP_HOME/toolchains/$RUSTUP_TOOLCHAIN/lib/rustlib/${{ env.RUST_HOST }}/bin/llvm-profdata >> \"$GITHUB_ENV\"'\n\n      - name: merge pgo data\n        run: ${{ env.LLVM_PROFDATA }} merge -o ${{ github.workspace }}/merged.profdata ${{ github.workspace }}/profdata\n\n      - name: build pgo-optimized wheel\n        uses: PyO3/maturin-action@v1\n        with:\n          manylinux: auto\n          args: >\n            --release\n            --out dist\n            --interpreter ${{ matrix.interpreter }}\n          rust-toolchain: stable\n          docker-options: -e CI\n        env:\n          RUSTFLAGS: \"-Cprofile-use=${{ github.workspace }}/merged.profdata\"\n\n      - run: ${{ matrix.ls || 'ls -lh' }} dist/\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: pypi_files_${{ matrix.os }}_${{ matrix.interpreter }}\n          path: dist\n\n  inspect-pypi-assets:\n    needs: [build, build-sdist, build-pgo]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: get dist artifacts\n        uses: actions/download-artifact@v4\n        with:\n          pattern: pypi_files_*\n          merge-multiple: true\n          path: dist\n\n      - name: list dist files\n        run: |\n         ls -lh dist/\n         ls -l dist/\n         echo \"`ls dist | wc -l` files\"\n\n      - name: extract and list sdist file\n        run: |\n         mkdir sdist-files\n         tar -xvf dist/*.tar.gz -C sdist-files\n         tree -a sdist-files\n\n      - name: extract and list wheel file\n        run: |\n         ls dist/*cp310-manylinux*x86_64.whl | head -n 1\n         python -m zipfile --list `ls dist/*cp310-manylinux*x86_64.whl | head -n 1`\n\n  test-builds-arch:\n    name: test build on ${{ matrix.target }}-${{ matrix.distro }}\n    needs: [build]\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        target: [aarch64, armv7, s390x, ppc64le]\n        distro: ['ubuntu22.04']\n        include:\n          - target: aarch64\n            distro: alpine_latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: get dist artifacts\n        uses: actions/download-artifact@v4\n        with:\n          pattern: pypi_files_linux_*\n          merge-multiple: true\n          path: dist\n\n      - uses: uraimo/run-on-arch-action@v2.7.2\n        name: install & test\n        with:\n          arch: ${{ matrix.target }}\n          distro: ${{ matrix.distro }}\n          githubToken: ${{ github.token }}\n          install: |\n            set -x\n            if command -v apt-get &> /dev/null; then\n              echo \"installing python & pip with apt-get...\"\n              apt-get update\n              apt-get install -y --no-install-recommends python3 python3-pip python3-venv git\n            else\n              echo \"installing python & pip with apk...\"\n              apk update\n              apk add python3 py3-pip git\n            fi\n          run: |\n            set -x\n            python3 -m venv venv\n            source venv/bin/activate\n            python3 -m pip install -r tests/requirements.txt\n            python3 -m pip install pydantic-core --no-index --no-deps --find-links dist --force-reinstall\n            python3 -m pytest --ignore=tests/test_docstrings.py\n            python3 -c 'import pydantic_core._pydantic_core; print(pydantic_core._pydantic_core.__version__)'\n\n  test-builds-os:\n    name: test build on ${{ matrix.os }}\n    needs: [build, build-pgo]\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu, macos, windows]\n\n    runs-on: ${{ matrix.os }}-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: get dist artifacts\n        uses: actions/download-artifact@v4\n        with:\n          pattern: pypi_files_*\n          merge-multiple: true\n          path: dist\n\n      - run: pip install -r tests/requirements.txt\n      - run: pip install pydantic-core --no-index --no-deps --find-links dist --force-reinstall\n      - run: pytest --ignore=tests/test_docstrings.py\n\n  release:\n    needs: [test-builds-arch, test-builds-os, build-sdist, check]\n    if: success() && startsWith(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - run: pip install -U twine\n\n      - name: check package version\n        run: python .github/check_version.py\n\n      - name: get dist artifacts\n        uses: actions/download-artifact@v4\n        with:\n          pattern: pypi_files_*\n          merge-multiple: true\n          path: dist\n\n      - run: twine check --strict dist/*\n\n      - name: upload to pypi\n        run: twine upload dist/*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.pypi_token }}\n\n      - name: get wasm dist artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: wasm_wheels\n          path: wasm\n\n      - name: upload to github release\n        uses: softprops/action-gh-release@v2\n        with:\n          files: |\n            wasm/*.whl\n          prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}\n", "state": "active", "repository": "pydantic/pydantic-core"}
{"mined_at": "2024-07-15T17:35:50.959363", "created_at": "2022-11-10T20:50:32+01:00", "updated_at": "2022-11-14T11:51:11+01:00", "name": "codspeed", "path": ".github/workflows/codspeed.yml", "contents": "name: codspeed\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  # `workflow_dispatch` allows CodSpeed to trigger backtest\n  # performance analysis in order to generate initial data.\n  workflow_dispatch:\n\njobs:\n  benchmarks:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - uses: actions/cache@v4\n        id: cache-py\n        name: cache python\n        with:\n          path: ${{ env.pythonLocation }}\n          key: >\n            py-v2\n            ${{ env.pythonLocation }}\n            ${{ hashFiles('tests/requirements.txt') }}\n            ${{ hashFiles('pyproject.toml') }}\n\n      - run: pip install -r tests/requirements.txt\n        if: steps.cache-py.outputs.cache-hit != 'true'\n\n      - run: pip uninstall pytest-speed -y\n        if: steps.cache-py.outputs.cache-hit != 'true'\n\n      - run: pip install pytest-benchmark==4.0.0\n        if: steps.cache-py.outputs.cache-hit != 'true'\n\n      - name: install rust stable\n        id: rust-toolchain\n        uses: dtolnay/rust-toolchain@stable\n        with:\n          components: llvm-tools\n\n      - name: cache rust\n        uses: Swatinem/rust-cache@v2\n\n      - name: Compile pydantic-core for profiling\n        run: make build-profiling\n        env:\n          CONST_RANDOM_SEED: 0 # Fix the compile time RNG seed\n          RUSTFLAGS: \"-Cprofile-generate=${{ github.workspace }}/profdata\"\n\n      - name: Gather pgo data\n        run: pytest tests/benchmarks\n\n      - name: Prepare merged pgo data\n        run: rustup run stable bash -c '$RUSTUP_HOME/toolchains/$RUSTUP_TOOLCHAIN/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-profdata merge -o ${{ github.workspace }}/merged.profdata ${{ github.workspace }}/profdata'\n\n      - name: Compile pydantic-core for benchmarking\n        run: make build-profiling\n        env:\n          CONST_RANDOM_SEED: 0 # Fix the compile time RNG seed\n          RUSTFLAGS: \"-Cprofile-use=${{ github.workspace }}/merged.profdata\"\n\n      - name: Run CodSpeed benchmarks\n        uses: CodSpeedHQ/action@v2\n        with:\n          run: pytest tests/benchmarks/ --codspeed\n", "state": "active", "repository": "pydantic/pydantic-core"}
{"mined_at": "2024-07-15T17:35:52.970483", "created_at": "2022-10-26T14:20:49+02:00", "updated_at": "2022-11-12T13:23:57+01:00", "name": "Test fhempy FHEM Modules", "path": ".github/workflows/fhem_test.yml", "contents": "\r\n# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\r\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\r\n\r\nname: Test fhempy FHEM Modules\r\n\r\non:\r\n  pull_request:\r\n      paths: \r\n      - 'FHEM/**.pm'\r\n      - 't/**'\r\n      - '.github/workflows/fhem_test.yml'\r\n\r\n  push:\r\n    branches: [ master ]\r\n\r\n  workflow_dispatch:\r\n\r\njobs:\r\n  update_controls:\r\n    needs: [runtest]\r\n    runs-on: ubuntu-latest\r\n\r\n    steps: \r\n    - name: Checkout Repostory\r\n      uses: actions/checkout@v4\r\n      with:\r\n        repository: ${{ github.event.pull_request.head.repo.full_name }}\r\n        ref: ${{ github.event.pull_request.head.ref }}\r\n        fetch-depth: 0\r\n        \r\n    - name: update controls file for FHEM Module\r\n      uses: fhem/fhem-controls-actions@v2.3.0\r\n      with:\r\n        filename: controls_pythonbinding.txt \r\n\r\n    - name: update controls file for python binary\r\n      uses: fhem/fhem-controls-actions@v2.3.0\r\n      with:\r\n        filename: controls_pythonbinding.txt \r\n        directory: FHEM/bindings/python/bin\r\n        writemode: a\r\n        extension: ''\r\n\r\n    - name: Commit changes\r\n      uses: EndBug/add-and-commit@v9\r\n      with:\r\n        default_author: github_actions \r\n        commit: --signoff\r\n        message: \"action: auto update controls\"\r\n        push: true\r\n        add: controls_pythonbinding.txt \r\n\r\n  runtest:\r\n    strategy:\r\n      matrix:\r\n        os: ['ubuntu-latest']\r\n        perl: [ '5.28', '5.32' ]\r\n\r\n    runs-on: ${{ matrix.os }}\r\n\r\n    steps: \r\n    - name: Checkout Repostory\r\n      uses: actions/checkout@v4\r\n\r\n    - uses: shogo82148/actions-setup-perl@v1.29.0\r\n      with:\r\n        perl-version: ${{ matrix.perl }}\r\n        install-modules-with: cpanm\r\n        multi-thread: true\r\n        install-modules: |\r\n            Test2::Suite\r\n            JSON\r\n            Protocol::WebSocket::Frame\r\n            File::Basename\r\n            Devel::Cover\r\n\r\n    - name: Install FHEM via debian nightly \r\n      uses: fhem/setup-fhem@v1.0.1\r\n\r\n    - name: fix permissions\r\n      run: |\r\n        sudo chown -R --reference=controls_pythonbinding.txt /opt/fhem\r\n\r\n    - name: run prove on fhem with perl ${{ matrix.perl }}\r\n      run: |\r\n        cp -R ${GITHUB_WORKSPACE}/FHEM/*.pm ${FHEM_DIR}/FHEM/\r\n        prove -j1 --exec 'perl -MDevel::Cover=-silent,1 fhem.pl -t' -I FHEM -vv -r ${GITHUB_WORKSPACE}/t/FHEM/\r\n      shell: bash\r\n      working-directory: /opt/fhem/\r\n      env:\r\n        FHEM_DIR: /opt/fhem\r\n   \r\n", "state": "active", "repository": "fhempy/fhempy"}
{"mined_at": "2024-07-15T17:35:54.021404", "created_at": "2020-12-05T20:10:12+01:00", "updated_at": "2020-12-05T20:10:12+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: release\n\n# Controls when the action will run. \non:\n  #release:\n  #  types: [created]\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  release:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n    concurrency: release\n    permissions:\n      id-token: write\n      contents: write\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: \"master\"\n          fetch-depth: 0\n      \n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Python Semantic Release\n        id: release\n        uses: python-semantic-release/python-semantic-release@v9.6.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          force: \"patch\"\n          push: \"true\"\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        # NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.\n        # See https://github.com/actions/runner/issues/1173\n        if: steps.release.outputs.released == 'true'\n  \n      - name: Publish package distributions to GitHub Releases\n        uses: python-semantic-release/upload-to-gh-release@main\n        if: steps.release.outputs.released == 'true'\n\n", "state": "active", "repository": "fhempy/fhempy"}
{"mined_at": "2024-07-15T17:35:55.056050", "created_at": "2020-12-05T11:03:17+01:00", "updated_at": "2020-12-05T11:03:17+01:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: \"30 1 * * *\"\n\npermissions:\n  issues: write\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-label: 'no-issue-activity'\n        stale-pr-label: 'no-pr-activity'\n        days-before-stale: 60\n        close-issue-message: Please reopen the issue if the issue still occurs.\n", "state": "active", "repository": "fhempy/fhempy"}
{"mined_at": "2024-07-15T17:35:56.095582", "created_at": "2021-01-29T21:25:51+01:00", "updated_at": "2021-01-29T21:26:32+01:00", "name": "Test fhempy", "path": ".github/workflows/tests.yml", "contents": "\nname: Test fhempy\n\non:\n  push:\n    branches: [master]\n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\", \"3.11\"]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install apt depencies\n      run: |\n        sudo apt update\n        sudo apt install python3-dev libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libglib2.0-dev libdbus-1-dev bluez libbluetooth-dev\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install pytest tox-gh-actions tox\n    - name: Test with tox\n      run: |\n        tox\n", "state": "active", "repository": "fhempy/fhempy"}
{"mined_at": "2024-07-15T17:35:57.139048", "created_at": "2023-12-20T20:58:47+01:00", "updated_at": "2023-12-23T12:30:12+01:00", "name": "Test update manifest", "path": ".github/workflows/update_manifest.yml", "contents": "\nname: Test update manifest\n\non:\n  pull_request:\n  workflow_dispatch:\n\npermissions:\n  contents: write\n\njobs:    \n  call_tests:\n    needs: [update_manifest]\n    uses: ./.github/workflows/tests.yml\n    secrets: inherit\n\n  update_manifest:\n    runs-on: ubuntu-latest\n\n    steps: \n    - name: Checkout Repostory\n      uses: actions/checkout@v4\n      with:\n        repository: ${{ github.event.pull_request.head.repo.full_name }}\n        ref: ${{ github.event.pull_request.head.ref }}\n        fetch-depth: 0\n        \n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install toml\n\n    - name: Update dependencies in manifest.json\n      run: |\n        python3 pyproject2manifest.py\n\n    - name: Commit changes\n      uses: EndBug/add-and-commit@v9\n      with:\n        default_author: github_actions\n        commit: --signoff\n        message: \"action: auto update manifest.json\"\n        push: true\n", "state": "active", "repository": "fhempy/fhempy"}
{"mined_at": "2024-07-15T17:35:59.435178", "created_at": "2024-03-31T21:03:48+02:00", "updated_at": "2024-04-01T06:39:36+02:00", "name": "Downstream", "path": ".github/workflows/test_downstream.yaml", "contents": "name: Downstream\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  test_covasim:\n    name: Covasim tests\n    timeout-minutes: 10\n    strategy:\n      fail-fast: false\n      max-parallel: 8\n      matrix:\n        os: ['ubuntu-latest']\n        python-version: ['3.11']\n    runs-on: ${{ matrix.os }}\n    \n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v2\n      - uses: actions/setup-python@master\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n\n      - name: Install Sciris\n        run: pip install -e .\n\n      - name: Check out Covasim\n        uses: actions/checkout@v2\n        with:\n          repository: 'institutefordiseasemodeling/covasim'\n          path: 'covasim'\n\n      - name: Install Covasim\n        working-directory: ./covasim\n        run: pip install -e .\n\n      - name: Install Covasim tests\n        working-directory: ./covasim/tests\n        run: pip install -r requirements_test.txt\n\n      - name: Run Covasim tests\n        working-directory: ./covasim/tests\n        run: pytest --durations=0 --junitxml=covasim-test-results.xml # Run actual tests\n      - name: Upload test results\n        uses: actions/upload-artifact@v1\n        if: failure()\n        with:\n          name: test_results\n          path: covasim/tests/covasim-test-results.xml\n\n  test_starsim:\n    name: Starsim tests\n    timeout-minutes: 10\n    strategy:\n      fail-fast: false\n      max-parallel: 8\n      matrix:\n        os: ['ubuntu-latest']\n        python-version: ['3.11']\n    runs-on: ${{ matrix.os }}\n    \n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v2\n      - uses: actions/setup-python@master\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n\n      - name: Install Sciris\n        run: pip install -e .\n\n      - name: Check out Starsim\n        uses: actions/checkout@v2\n        with:\n          repository: 'starsimhub/starsim'\n          path: 'starsim'\n\n      - name: Install Starsim\n        working-directory: ./starsim\n        run: pip install -e .\n\n      - name: Install Starsim tests\n        working-directory: ./starsim/tests\n        run: pip install -r requirements.txt\n\n      - name: Run Starsim tests\n        working-directory: ./starsim/tests\n        run: pytest --durations=0 --junitxml=starsim-test-results.xml # Run actual tests\n      - name: Upload test results\n        uses: actions/upload-artifact@v1\n        if: failure()\n        with:\n          name: test_results\n          path: starsim/tests/starsim-test-results.xml\n\n  test_atomica:\n    name: Atomica tests\n    timeout-minutes: 10\n    strategy:\n      fail-fast: false\n      max-parallel: 8\n      matrix:\n        os: ['ubuntu-latest']\n        python-version: ['3.11']\n    runs-on: ${{ matrix.os }}\n    \n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v2\n      - uses: actions/setup-python@master\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n\n      - name: Install Sciris\n        run: pip install -e .\n\n      - name: Check out Atomica\n        uses: actions/checkout@v2\n        with:\n          repository: 'atomicateam/atomica'\n          path: 'atomica'\n\n      - name: Install Atomica\n        working-directory: ./atomica\n        run: pip install -e .\n\n      - name: Install Atomica tests\n        run: pip install pytest pytest-xdist pytest-cov pytest-env\n\n      - name: Run Atomica tox tests\n        working-directory: ./atomica/tests\n        run: pytest test_tox_*.py --durations=0 --junitxml=starsim-test-results.xml # Run actual tests\n      - name: Upload test results\n        uses: actions/upload-artifact@v1\n        if: failure()\n        with:\n          name: test_results\n          path: starsim/tests/starsim-test-results.xml", "state": "active", "repository": "sciris/sciris"}
{"mined_at": "2024-07-15T17:36:00.563618", "created_at": "2020-11-30T06:18:02+01:00", "updated_at": "2024-07-01T00:55:25+02:00", "name": "Sciris", "path": ".github/workflows/tests.yaml", "contents": "name: Sciris\non:\n  workflow_dispatch:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  install_and_test:\n    timeout-minutes: 8\n    strategy:\n      fail-fast: false\n      max-parallel: 8\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python-version: '3.9'\n          - os: ubuntu-latest\n            python-version: '3.10'\n          - os: ubuntu-latest\n            python-version: '3.11'\n          - os: ubuntu-latest\n            python-version: '3.12'\n          - os: windows-latest\n            python-version: '3.12'\n          - os: macos-latest\n            python-version: '3.12'\n    runs-on: ${{ matrix.os }}\n    name: CI tests\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v2\n      - uses: actions/setup-python@master\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Install Sciris\n        run: pip install -e .\n      - name: Install tests\n        working-directory: ./tests\n        run: pip install -r requirements.txt\n      - name: Run API tests\n        working-directory: ./tests\n        run: pytest --durations=0 --junitxml=test-results.xml # Run actual tests\n      - name: Upload test results\n        uses: actions/upload-artifact@v1\n        if: failure()\n        with:\n          name: test_results\n          path: tests/test-results.xml\n", "state": "active", "repository": "sciris/sciris"}
{"mined_at": "2024-07-15T17:36:02.866895", "created_at": "2023-06-09T07:37:35+02:00", "updated_at": "2023-06-09T07:52:11+02:00", "name": "Auto Labels PR", "path": ".github/workflows/auto-label-pr.yaml", "contents": "name: Auto Labels PR\n\n# how usage: https://github.com/marketplace/actions/labeler\n\non:\n- pull_request_target\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/labeler@v4\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          configuration-path: .github/labeler.yml # update role in this file\n", "state": "active", "repository": "daocloud/daocloud-docs"}
{"mined_at": "2024-07-15T17:36:04.145592", "created_at": "2024-01-30T03:42:37+01:00", "updated_at": "2024-01-30T03:43:09+01:00", "name": "Size labeler", "path": ".github/workflows/auto-size-pr.yaml", "contents": "name: Size labeler\n\non:\n- pull_request_target\n\njobs:\n  size-labeler:\n    permissions:\n      issues: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    name: Label the PR size\n    steps:\n      - uses: codelytv/pr-size-labeler@v1\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          xs_label: \"size/xs\"\n          xs_max_size: \"9\"\n          s_label: \"size/s\"\n          s_max_size: \"29\"\n          m_label: \"size/m\"\n          m_max_size: \"99\"\n          l_label: \"size/l\"\n          l_max_size: \"499\"\n          xl_label: \"size/xl\"\n          xl_max_size: \"999\"\n          xll_label: \"size/xll\"\n          xll_max_size: \"1999\"\n          fail_if_xll: \"false\"\n          message_if_xll: >\n            This PR exceeds the recommended size of 2000 lines.\n            Please make sure you are NOT addressing multiple issues with one PR.\n            Note this PR might be rejected due to its size.\n", "state": "active", "repository": "daocloud/daocloud-docs"}
{"mined_at": "2024-07-15T17:36:05.234466", "created_at": "2023-05-04T11:50:51+02:00", "updated_at": "2023-05-30T12:23:28+02:00", "name": "automerge", "path": ".github/workflows/automerge.yml", "contents": null, "state": "active", "repository": "daocloud/daocloud-docs"}
{"mined_at": "2024-07-15T17:36:06.343493", "created_at": "2023-08-21T18:10:46+02:00", "updated_at": "2023-08-21T18:10:46+02:00", "name": "find corrupted hyperlink", "path": ".github/workflows/corrupted-hyperlink.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: find corrupted hyperlink\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the main branch\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build-test:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0 # Required for mkdocs to be able to display pages last update info\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n\n      # Runs a single command using the runners shell\n      - run: pip install mkdocs-material \\\n              mkdocs-git-revision-date-plugin \\\n              mkdocs-mermaid2-plugin \\\n              mkdocs-rss-plugin \\\n              mkdocs-minify-plugin \\\n              mkdocs-macros-plugin \\\n              mkdocs-git-revision-date-localized-plugin \\\n              mkdocs-awesome-pages-plugin \\\n              mkdocs-redirects \\\n              mkdocs-print-site-plugin \\\n              mkdocs-swagger-ui-tag \\\n              pyyaml\n      \n      # add custom plugin with pdf support\n      - run: pip install git+https://github.com/SAMZONG/mkdocs-with-pdf-support-material-v8\n\n      # check corrupted hyperlink\n      - run: pwd\n      - run: mkdocs build -f docs/zh/mkdocs.yml -d ../../public/  >> zh_build.log\n      - run: mkdocs build -f docs/en/mkdocs.yml -d ../../public/en/ >> en_build.log\n      - run: ls -lha\n      - run: echo \"# zh_build.log\" >> issue-body.txt\n      - run: grep -e 'WARNING.*\\.md.*contains a link to.*not found' zh_build.log >> issue-body.txt\n      - run: echo \"# en_build.log\" >> issue-body.txt\n      - run: grep -e 'WARNING.*\\.md.*contains a link to.*not found' en_build.log >> issue-body.txt\n\n      # Create an issue if there are any warnings\n      - name: Create issue\n        uses: peter-evans/create-issue-from-file@v2\n        with:\n          title: 'Corrupted document hyperlink'\n          body: |\n            ${{ steps.get_issue_body.outputs.body }}\n          labels: |\n            bug\n            corrupted-hyperlink\n          assignees: |\n            windsonsea\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          ISSUE_BODY_PATH: ./issue-body.txt\n        id: get_issue_body", "state": "active", "repository": "daocloud/daocloud-docs"}
{"mined_at": "2024-07-15T17:36:07.441932", "created_at": "2024-01-19T08:47:20+01:00", "updated_at": "2024-01-19T08:47:20+01:00", "name": "Label PR size", "path": ".github/workflows/label_pr_size.yml", "contents": null, "state": "active", "repository": "daocloud/daocloud-docs"}
{"mined_at": "2024-07-15T17:36:08.598692", "created_at": "2023-11-30T04:47:23+01:00", "updated_at": "2023-11-30T04:48:47+01:00", "name": "deploy-for-main-path", "path": ".github/workflows/main.path.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: deploy-for-main-path\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the main branch\n  push:\n    branches: [ main ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nenv:\n  UCLOUD_PUBLICKEY : ${{ secrets.UCLOUD_PUBLICKEY }}\n  UCLOUD_PRIVATEKEY : ${{ secrets.UCLOUD_PRIVATEKEY }}\n  UCLOUD_REGION : ${{ secrets.UCLOUD_REGION }}\n  UCLOUD_BUCKET : ${{ secrets.UCLOUD_BUCKET }}\n  CI: 1\n\nconcurrency:\n  group: ${{ github.workflow_ref }}\n  cancel-in-progress: true\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  deploy:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0 # Required for mkdocs to be able to display pages last update info\n      \n      # Clone \n      - name: Checkout public repository\n        uses: actions/checkout@v2\n        with:\n          repository: daocloud/daocloud-api-docs\n          path: dao-openapi\n          fetch-depth: 0 # Required for mkdocs to be able to display pages last update info\n      \n      - uses: actions/setup-python@v2\n#       - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n#           cache: 'pip'\n      \n      # Add ssh private key\n      - name: Setup SSH\n        uses: MrSquaare/ssh-setup-action@v1\n        with:\n          host: github.com\n          private-key: ${{ secrets.SSH_PRIVATE_KEY }}\n        \n#       - run: pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple\n\n      # Install mkdocs-material-insiders\n      - run: git clone git@github.com:DaoCloud/mkdocs-material-insiders.git mkdocs-material\n      - run: pip install -e mkdocs-material\n\n      # Runs a single command using the runners shell\n      - run: pip install mkdocs-git-revision-date-plugin \\\n              mkdocs-mermaid2-plugin \\\n              mkdocs-rss-plugin \\\n              mkdocs-minify-plugin \\\n              mkdocs-macros-plugin \\\n              mkdocs-git-revision-date-localized-plugin \\\n              mkdocs-awesome-pages-plugin \\\n              mkdocs-redirects \\\n              mkdocs-print-site-plugin \\\n              mkdocs-swagger-ui-tag \\\n              pyyaml\n      \n      # add custom plugin with pdf support\n      - run: pip install git+https://github.com/SAMZONG/mkdocs-with-pdf-support-material-v8\n\n      # merged openapi docs\n      - run: cp -av dao-openapi/docs/openapi docs/zh/docs/\n      - run: python scripts/merged_nav.py\n\n      # build docs\n      - run: pwd\n      - run: mkdocs build -f docs/zh/mkdocs.path.yaml -d ../../public/\n      - run: mkdocs build -f docs/en/mkdocs.path.yaml -d ../../public/en/\n\n      # upload to ucloud bucket\n      - run: cd public && pwd && python ../scripts/upload-ucloud.py \\\n                public_key=$UCLOUD_PUBLICKEY \\\n                private_key=$UCLOUD_PRIVATEKEY \\\n                region=$UCLOUD_REGION \\\n                bucket=$UCLOUD_BUCKET\n\n      # refresh docs site cdn cache\n      - run: python scripts/refresh_cdn_cache.py \\\n            publickey=$UCLOUD_PUBLICKEY \\\n            privatekey=$UCLOUD_PRIVATEKEY\n", "state": "active", "repository": "daocloud/daocloud-docs"}
{"mined_at": "2024-07-15T17:36:09.799172", "created_at": "2022-08-19T19:05:11+02:00", "updated_at": "2022-09-17T17:06:36+02:00", "name": "deploy-for-main", "path": ".github/workflows/main.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: deploy-for-main\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the main branch\n  push:\n    branches: [ main ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nenv:\n  UCLOUD_PUBLICKEY : ${{ secrets.UCLOUD_PUBLICKEY }}\n  UCLOUD_PRIVATEKEY : ${{ secrets.UCLOUD_PRIVATEKEY }}\n  UCLOUD_REGION : ${{ secrets.UCLOUD_REGION }}\n  UCLOUD_BUCKET : ${{ secrets.UCLOUD_BUCKET }}\n  CI: 1\n\nconcurrency:\n  group: ${{ github.workflow_ref }}\n  cancel-in-progress: true\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  deploy:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0 # Required for mkdocs to be able to display pages last update info\n      \n      # Clone \n      - name: Checkout public repository\n        uses: actions/checkout@v2\n        with:\n          repository: daocloud/daocloud-api-docs\n          path: dao-openapi\n          fetch-depth: 0 # Required for mkdocs to be able to display pages last update info\n      \n      - uses: actions/setup-python@v2\n#       - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n#           cache: 'pip'\n      \n      # Add ssh private key\n      - name: Setup SSH\n        uses: MrSquaare/ssh-setup-action@v1\n        with:\n          host: github.com\n          private-key: ${{ secrets.SSH_PRIVATE_KEY }}\n        \n#       - run: pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple\n\n      # Install mkdocs-material-insiders\n      - run: git clone git@github.com:DaoCloud/mkdocs-material-insiders.git mkdocs-material\n      - run: pip install -e mkdocs-material\n\n      # Runs a single command using the runners shell\n      - run: pip install mkdocs-git-revision-date-plugin \\\n              mkdocs-mermaid2-plugin \\\n              mkdocs-rss-plugin \\\n              mkdocs-minify-plugin \\\n              mkdocs-macros-plugin \\\n              mkdocs-git-revision-date-localized-plugin \\\n              mkdocs-awesome-pages-plugin \\\n              mkdocs-redirects \\\n              mkdocs-print-site-plugin \\\n              mkdocs-swagger-ui-tag \\\n              pyyaml\n      \n      # add custom plugin with pdf support\n      - run: pip install git+https://github.com/SAMZONG/mkdocs-with-pdf-support-material-v8\n\n      # merged openapi docs\n      - run: cp -av dao-openapi/docs/openapi docs/zh/docs/\n      - run: python scripts/merged_nav.py\n\n      # build docs\n      - run: pwd\n      - run: mkdocs build -f docs/zh/mkdocs.yml -d ../../public/\n      - run: mkdocs build -f docs/en/mkdocs.yml -d ../../public/en/\n\n      # upload to ucloud bucket\n      - run: cd public && pwd && python ../scripts/upload-ucloud.py \\\n                public_key=$UCLOUD_PUBLICKEY \\\n                private_key=$UCLOUD_PRIVATEKEY \\\n                region=$UCLOUD_REGION \\\n                bucket=$UCLOUD_BUCKET\n\n      # refresh docs site cdn cache\n      - run: python scripts/refresh_cdn_cache.py \\\n            publickey=$UCLOUD_PUBLICKEY \\\n            privatekey=$UCLOUD_PRIVATEKEY\n", "state": "active", "repository": "daocloud/daocloud-docs"}
{"mined_at": "2024-07-15T17:36:11.211527", "created_at": "2023-08-30T08:02:34+02:00", "updated_at": "2023-08-30T08:02:40+02:00", "name": "pull-request-test", "path": ".github/workflows/pull-request-test.yaml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: pull-request-test\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push or pull request events but only for the main branch\n  pull_request:\n    branches:    \n      - main\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build-test:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0 # Required for mkdocs to be able to display pages last update info\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n\n#       # Add ssh private key\n#       - name: Setup SSH\n#         uses: MrSquaare/ssh-setup-action@v1\n#         with:\n#           host: github.com\n#           private-key: ${{ secrets.SSH_PRIVATE_KEY }}\n      \n#       # Install mkdocs-material-insiders\n#       - run: git clone git@github.com:DaoCloud/mkdocs-material-insiders.git mkdocs-material\n#       - run: pip install -e mkdocs-material\n\n      # Runs a single command using the runners shell\n      - run: pip install mkdocs-git-revision-date-plugin \\\n              mkdocs-mermaid2-plugin \\\n              mkdocs-rss-plugin \\\n              mkdocs-minify-plugin \\\n              mkdocs-macros-plugin \\\n              mkdocs-git-revision-date-localized-plugin \\\n              mkdocs-awesome-pages-plugin \\\n              mkdocs-redirects \\\n              mkdocs-print-site-plugin \\\n              mkdocs-swagger-ui-tag \\\n              pyyaml\n              \n      # add custom plugin with pdf support\n      - run: pip install git+https://github.com/SAMZONG/mkdocs-with-pdf-support-material-v8\n\n      # build docs\n      - run: pwd\n      - run: mkdocs build -f docs/zh/mkdocs.yml -d ../../public/\n      - run: mkdocs build -f docs/en/mkdocs.yml -d ../../public/en/\n", "state": "active", "repository": "daocloud/daocloud-docs"}
{"mined_at": "2024-07-15T17:36:12.418616", "created_at": "2023-04-25T04:10:53+02:00", "updated_at": "2023-04-25T04:10:53+02:00", "name": "Upstream Sync", "path": ".github/workflows/sync_from_upstream.yml", "contents": "name: Upstream Sync\n\npermissions:\n  contents: write\n\non:\n  schedule:\n    - cron: \"0 * * * *\" # every hour\n  workflow_dispatch:\n\njobs:\n  sync_latest_from_upstream:\n    name: Sync latest commits from upstream repo\n    runs-on: ubuntu-latest\n    if: ${{ github.event.repository.fork }}\n\n    steps:\n      # Step 1: run a standard checkout action\n      - name: Checkout target repo\n        uses: actions/checkout@v3\n\n      # Step 2: run the sync action\n      - name: Sync upstream changes\n        id: sync\n        uses: aormsby/Fork-Sync-With-Upstream-action@v3.4\n        with:\n          # set your upstream repo and branch\n          upstream_sync_repo: DaoCloud/DaoCloud-docs\n          upstream_sync_branch: main\n          target_sync_branch: main\n          target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set\n\n          # Set test_mode true to run tests instead of the true action!!\n          test_mode: false\n\n      - name: Sync check\n        if: failure()\n        run: |\n          echo \"::error::由于权限不足，导致同步失败（这是预期的行为），请前往仓库首页手动执行[Sync fork]。\"\n          echo \"::error::Due to insufficient permissions, synchronization failed (as expected). Please go to the repository homepage and manually perform [Sync fork].\"\n          exit 1\n", "state": "active", "repository": "daocloud/daocloud-docs"}
{"mined_at": "2024-07-15T17:36:13.542763", "created_at": "2024-07-15T10:05:38+02:00", "updated_at": "2024-07-15T10:05:38+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "daocloud/daocloud-docs"}
{"mined_at": "2024-07-15T17:36:15.819196", "created_at": "2024-04-05T17:18:50+02:00", "updated_at": "2024-04-05T17:18:50+02:00", "name": "🫸 Bot comment", "path": ".github/workflows/bot_comment.yml", "contents": "name: 🫸 Bot comment\n\non:\n  pull_request_target:\n    types: [synchronize, reopened, opened, ready_for_review]\n    branches:\n    - main\n    paths:\n    - \"gqlauth/**\"\n    - \".github/workflows/bot_comment.yml\"\n    - \"RELEASE.md\"\n\njobs:\n  bot_comment:\n    name:  Create or update bot status comment\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: setup poetry\n        run: |\n          pip install poetry\n          poetry install\n      - name: upload comment\n        run:\n          cd .github && poetry run python -m workflows.management bot_comment\n        env:\n          PR_NUMBER: ${{ github.event.number }}\n          BOT_TOKEN: ${{ secrets.BOT_TOKEN }}\n", "state": "active", "repository": "nrbnlulu/strawberry-django-auth"}
{"mined_at": "2024-07-15T17:36:17.091834", "created_at": "2022-05-28T21:17:26+02:00", "updated_at": "2022-05-28T21:17:26+02:00", "name": ".github/workflows/dependabot.yml", "path": ".github/workflows/dependabot.yml", "contents": "version: 2\nupdates:\n  - package-ecosystem: github-actions\n    directory: \"/\"\n    schedule:\n      interval: daily\n  - package-ecosystem: pip\n    directory: \"/.github/workflows\"\n    schedule:\n      interval: daily\n  - package-ecosystem: pip\n    directory: \"/\"\n    schedule:\n      interval: daily\n", "state": "active", "repository": "nrbnlulu/strawberry-django-auth"}
{"mined_at": "2024-07-15T17:36:18.126792", "created_at": "2022-05-26T15:08:27+02:00", "updated_at": "2022-05-28T21:00:25+02:00", "name": "docs deploy", "path": ".github/workflows/gh-pages.yml", "contents": "name: docs deploy\non:\n  push:\n    branches:\n      - main\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n      - run: |\n          pip install poetry\n          poetry install\n          make deploy-docs\n", "state": "active", "repository": "nrbnlulu/strawberry-django-auth"}
{"mined_at": "2024-07-15T17:36:19.199159", "created_at": "2023-05-07T18:21:17+02:00", "updated_at": "2023-05-29T21:12:49+02:00", "name": "🦺 MyPy", "path": ".github/workflows/mypy.yml", "contents": "name: 🦺 MyPy\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n    paths:\n      - \"gqlauth/**\"\n      - \"tests/**\"\n      - \".github/workflows/mypy.yml\"\nenv:\n  IS_GITHUB_ACTION: 1\n\njobs:\n  mypy:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n\n\n    steps:\n\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      #----------------------------------------------\n      #        load pip cache if cache exists\n      #----------------------------------------------\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip\n          restore-keys: ${{ runner.os }}-pip\n\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: abatilo/actions-poetry@v2\n\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --all-extras\n\n\n      - name: mypy checks\n        run: |\n          poetry run mypy ./gqlauth\n", "state": "active", "repository": "nrbnlulu/strawberry-django-auth"}
{"mined_at": "2024-07-15T17:36:20.529698", "created_at": "2023-03-24T14:48:43+01:00", "updated_at": "2023-05-29T21:12:49+02:00", "name": "🆙 Release", "path": ".github/workflows/release.yml", "contents": "name: 🆙 Release\n\non:\n  push:\n    branches:\n      - main\njobs:\n  deploy:\n    name: Deploy\n    permissions: write-all\n    environment: Deployment\n    runs-on: ubuntu-latest\n    if: ${{ github.ref=='refs/heads/main' && github.event_name!='pull_request' }}\n\n    steps:\n        - uses: actions/checkout@v3\n        - name: Set up Python\n          uses: actions/setup-python@v4\n          with:\n            python-version: 3.11\n        - name: Install deps\n          run: |\n            python -m pip install poetry\n            poetry install\n            poetry run pip install githubrelease\n\n        - name: Check if we should release\n          id: check_release\n          run: cd .github && poetry run python -m workflows.management check-release\n        - name: Publish\n          if: steps.check_release.outputs.status == ''\n          env:\n            BOT_TOKEN: ${{ secrets.BOT_TOKEN }}\n            POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n          run: |\n            git remote set-url origin https://${{ secrets.BOT_TOKEN }}@github.com/${{ github.repository }}\n            cd .github && poetry run python -m workflows.management release\n            poetry publish --username __token__\n", "state": "active", "repository": "nrbnlulu/strawberry-django-auth"}
{"mined_at": "2024-07-15T17:36:21.572743", "created_at": "2022-04-17T23:02:38+02:00", "updated_at": "2022-07-07T17:30:36+02:00", "name": "Run Tests", "path": ".github/workflows/tests.yml", "contents": "---\nname: Run Tests\n\non:\n  push:\n    branches: [master, main]\n  pull_request:\n    branches: [master, main]\n  release:\n    types: [released]\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        django-version: [\"3.2.0\", \"4.1.3\", \"4.2.8\", \"5.0\"]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          # excludes Python 3.8 and 3.9 for Django 5.0.\n          - django-version: \"5.0\"\n            python-version: \"3.8\"\n          - django-version: \"5.0\"\n            python-version: \"3.9\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n\n      - name: Load cached venv\n        id: cached-poetry\n        uses: actions/cache@v4\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Run tests\n        run: |\n          poetry install -E captcha\n          poetry run pip install \"Django~=${{ matrix.django-version }}\"\n          make test\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n", "state": "active", "repository": "nrbnlulu/strawberry-django-auth"}
{"mined_at": "2024-07-15T17:36:22.583441", "created_at": "2022-05-26T10:40:34+02:00", "updated_at": "2022-05-26T10:40:34+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nrbnlulu/strawberry-django-auth"}
{"mined_at": "2024-07-15T17:36:24.601772", "created_at": "2023-06-09T17:33:01+02:00", "updated_at": "2023-06-09T17:33:01+02:00", "name": "Check Markdown links", "path": ".github/workflows/check-links.yml", "contents": null, "state": "active", "repository": "pydantic/pydantic"}
{"mined_at": "2024-07-15T17:36:25.853555", "created_at": "2022-09-20T15:21:21+02:00", "updated_at": "2022-09-20T19:33:03+02:00", "name": "Cherry Pick", "path": ".github/workflows/cherry-pick.yml", "contents": "name: Cherry Pick\n\non:\n  pull_request_target:\n    branches:\n      - main\n    types:\n      - closed\n\njobs:\n  cherry_pick:\n    runs-on: ubuntu-latest\n\n    name: Cherry pick into 1.10.X-fixes\n\n    if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'cherry-pick-v1')\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Cherry pick into 1.10.X-fixes\n        uses: carloscastrojumo/github-cherry-pick-action@v1.0.10\n        with:\n          branch: 1.10.X-fixes\n          labels: from-cherry-pick\n          token: ${{ secrets.GITHUB_TOKEN }}\n          title: '[cherry-pick] {old_title}'\n          body: 'Cherry picking #{old_pull_request_id} onto this branch'\n", "state": "active", "repository": "pydantic/pydantic"}
{"mined_at": "2024-07-15T17:36:27.085254", "created_at": "2019-12-21T15:50:34+01:00", "updated_at": "2024-04-30T21:51:33+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - '**'\n  pull_request: {}\n\nenv:\n  COLUMNS: 150\n  PDM_DEPS: 'urllib3<2'\n  FINDPYTHON_GET_VERSION_TIMEOUT: 30\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    name: lint ${{ matrix.python-version }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: true\n          allow-python-prereleases: true\n\n      - name: install\n        run: |\n          pdm venv create --with-pip --force $PYTHON\n          pdm install -G linting -G email\n\n      - uses: pre-commit/action@v3.0.1\n        with:\n          extra_args: --all-files --verbose\n        env:\n          SKIP: no-commit-to-branch\n\n  docs-build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: pdm-project/setup-pdm@v4\n      with:\n        # cloudflare pages build containers run 3.8, hence using it here\n        python-version: '3.8'\n\n    - name: install dependencies\n      # Unlike the docs build, we don't use mkdocs_material-insiders\n      # Because the secret for accessing the library is not accessible from forks, but we still want to run\n      # this job on public CI runs.\n      run: |\n        pdm venv create --with-pip --force $PYTHON\n        pdm install -G docs\n\n    - run: pdm run python -c 'import docs.plugins.main'\n\n    # Adding local symlinks gets nice source locations like\n    #   pydantic_core/core_schema.py\n    # instead of\n    #   .venv/lib/python3.10/site-packages/pydantic_core/core_schema.py\n    - name: prepare shortcuts for extra modules\n      run: |\n        ln -s .venv/lib/python*/site-packages/pydantic_core pydantic_core\n        ln -s .venv/lib/python*/site-packages/pydantic_settings pydantic_settings\n        ln -s .venv/lib/python*/site-packages/pydantic_extra_types pydantic_extra_types\n\n    - run: pdm run mkdocs build\n\n  test-memray:\n    name: test memray\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: '3.12'\n          cache: true\n\n      - name: install deps\n        run: |\n          pdm venv create --with-pip --force $PYTHON\n          pdm install -G testing -G testing-extra -G email -G memray\n          pdm add pytest-memray\n\n      - name: test\n        run: pdm run pytest --ignore=tests/mypy/ --ignore=tests/test_docs.py --memray\n\n  test:\n    name: test ${{ matrix.os }} / ${{ matrix.python-version }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-13, macos-latest, windows-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        include:\n          # no pydantic-core binaries for pypy on windows, so tests take absolute ages\n          # macos tests with pypy take ages (>10mins) since pypy is very slow\n          # so we only test pypy on ubuntu\n          - os: ubuntu-latest\n            python-version: 'pypy3.9'\n          - os: ubuntu-latest\n            python-version: 'pypy3.10'\n        exclude:\n          # Python 3.8 and 3.9 are not available on macOS 14\n          - os: macos-13\n            python-version: '3.10'\n          - os: macos-13\n            python-version: '3.11'\n          - os: macos-13\n            python-version: '3.12'\n          - os: macos-latest\n            python-version: '3.8'\n          - os: macos-latest\n            python-version: '3.9'\n\n    env:\n      OS: ${{ matrix.os }}\n      DEPS: yes\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: pdm-project/setup-pdm@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: true\n        allow-python-prereleases: true\n\n    - name: install deps\n      run: |\n        pdm venv create --with-pip --force $PYTHON\n        pdm install -G testing -G email\n\n    - run: pdm info && pdm list\n\n    - run: 'pdm run python -c \"import pydantic.version; print(pydantic.version.version_info())\"'\n\n    - run: mkdir coverage\n\n    - name: test without deps\n      # speed up by skipping this step on pypy\n      if: \"!startsWith(matrix.python-version, 'pypy')\"\n      run: make test\n      env:\n        COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}-without-deps\n        CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}-without-deps\n\n    - name: install extra deps\n      run: pdm install -G testing-extra -G email\n\n    - name: test with deps\n      run: make test\n      env:\n        COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}-with-deps\n        CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}-with-deps\n\n    - name: store coverage files\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage-${{ matrix.os }}-${{ matrix.python-version }}\n        path: coverage\n\n  test-fastapi:\n    # If some tests start failing due to out-of-date schemas/validation errors/etc.,\n    # update the `tests/test_fastapi.sh` script to exclude tests that have known-acceptable failures.\n    name: test fastapi\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: test\n        run: make test-fastapi\n\n  test-plugin:\n    name: test pydantic plugin\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: '3.12'\n          cache: true\n\n      - name: install deps\n        run: |\n          pdm venv create --with-pip --force $PYTHON\n          pdm install -G testing\n\n      - name: install example plugin\n        run: pdm add ./tests/plugin\n\n      - run: pdm run pytest ./tests/plugin\n        env:\n          TEST_PLUGIN: 1\n\n      # uninstalling is necessary to avoid creating a pdm cache shared with other jobs\n      # which includes the plugin\n      - name: uninstall example plugin\n        run: pdm remove ./tests/plugin\n\n  test-mypy:\n    name: mypy ${{ matrix.mypy-version }} / ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # test recent mypy versions on 3.10 and mypy 1.0.1 on all supported python versions\n        # if you change the value in the lockfile add the old value to this list\n        mypy-version: ['1.0.1', 'lockfile', '1.2.0', '1.4.1', '1.5.1']\n        python-version: ['3.10']\n        include:\n          - mypy-version: 'lockfile'\n            python-version: '3.8'\n          - mypy-version: 'lockfile'\n            python-version: '3.9'\n          - mypy-version: 'lockfile'\n            python-version: '3.11'\n          # TODO: Once Python 3.7 is removed, and mypy is bumped on the lockfile, we can add 'lockfile' again.\n          - mypy-version: '1.5.1'\n            python-version: '3.12'\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: pdm-project/setup-pdm@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: true\n        allow-python-prereleases: true\n\n    - name: install deps\n      run: |\n        pdm venv create --with-pip --force $PYTHON\n        pdm install -G testing -G mypy\n\n    - name: install mypy\n      if: steps.cache.outputs.cache-hit != 'true'\n      run: |\n        if [ ${{ matrix.mypy-version }} != 'lockfile' ]; then\n          pdm remove -G linting mypy && pdm remove -G mypy mypy && pdm add mypy==${{ matrix.mypy-version }}\n        fi\n        pdm list\n\n    - run: mkdir coverage\n\n    - name: run mypy tests\n      run: pdm run coverage run -m pytest tests/mypy --test-mypy\n      env:\n        COVERAGE_FILE: coverage/.coverage.linux-py${{ matrix.python-version }}-mypy${{ matrix.mypy-version }}\n        CONTEXT: linux-py${{ matrix.python-version }}-mypy${{ matrix.mypy-version }}\n\n    - name: install node for pyright\n      uses: actions/setup-node@v4\n      with:\n        node-version: '18'\n\n    - name: install pyright\n      run: npm install -g pyright@1.1.367  # try to keep this in sync with .pre-commit-config.yaml\n\n    - name: run pyright tests\n      run: make test-pyright\n      env:\n        COVERAGE_FILE: coverage/.coverage.linux-py${{ matrix.python-version }}-pyright\n        CONTEXT: linux-py${{ matrix.python-version }}-pyright\n\n    - name: store coverage files\n      uses: actions/upload-artifact@v4\n      with:\n        name: coverage-${{ matrix.os }}-${{ matrix.python-version }}-mypy${{ matrix.mypy-version }}\n        path: coverage\n\n  coverage-combine:\n    needs: [test, test-mypy]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: get coverage files\n        uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n          pattern: coverage-*\n          path: coverage\n\n      - run: pip install coverage[toml]\n\n      - run: ls -la coverage\n      - run: coverage combine coverage\n      - run: coverage report\n      - run: coverage html --show-contexts --title \"pydantic coverage for ${{ github.sha }}\"\n\n      - name: Store coverage html\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-html\n          path: htmlcov\n\n  test-typing-extensions:\n    name: test typing-extensions ${{ matrix.typing-extensions-version }} on Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # test the oldest supported version and main\n        typing-extensions-version: ['4.6.1', 'main']\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: pdm-project/setup-pdm@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: true\n        allow-python-prereleases: true\n\n    - name: install deps\n      run: |\n        pdm venv create --with-pip --force $PYTHON\n        pdm install -G testing -G email\n\n    - name: install typing-extensions\n      run: |\n        if [ ${{ matrix.typing-extensions-version }} == 'main' ]; then\n          pdm remove typing-extensions && pdm add 'typing-extensions @ git+https://github.com/python/typing_extensions.git'\n        else\n          pdm remove typing-extensions && pdm add 'typing-extensions==${{ matrix.typing-extensions-version }}'\n        fi\n        pdm list\n    - name: test\n      run: make test\n\n  # https://github.com/marketplace/actions/alls-green\n  check:  # This job does nothing and is only used for the branch protection\n\n    if: always()\n\n    outputs:\n      result: ${{ steps.all-green.outputs.result }}\n\n    needs:\n      - lint\n      - docs-build\n      - test\n      - test-memray\n      - test-mypy\n      - test-fastapi\n      - test-plugin\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        id: all-green\n        with:\n          jobs: ${{ toJSON(needs) }}\n\n  release:\n    needs: [check]\n    if: needs.check.outputs.result == 'success' && startsWith(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n    environment: release\n\n    permissions:\n      id-token: write\n\n    outputs:\n      pydantic-version: ${{ steps.check-tag.outputs.VERSION }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: install\n        run: pip install -U build\n\n      - name: check version\n        id: check-tag\n        uses: samuelcolvin/check-python-version@v4.1\n        with:\n          version_file_path: pydantic/version.py\n\n      - name: build\n        run: python -m build\n\n      - name: Upload package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  send-tweet:\n    name: Send tweet\n    needs: [release]\n    if: needs.release.result == 'success'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - name: Install dependencies\n        run: pip install tweepy==4.14.0\n      - name: Send tweet\n        shell: python\n        run: |\n          import os\n          import tweepy\n\n          client = tweepy.Client(\n              access_token=os.getenv(\"TWITTER_ACCESS_TOKEN\"),\n              access_token_secret=os.getenv(\"TWITTER_ACCESS_TOKEN_SECRET\"),\n              consumer_key=os.getenv(\"TWITTER_CONSUMER_KEY\"),\n              consumer_secret=os.getenv(\"TWITTER_CONSUMER_SECRET\"),\n          )\n          version = os.getenv(\"VERSION\").strip('\"')\n          tweet = os.getenv(\"TWEET\").format(version=version)\n          client.create_tweet(text=tweet)\n        env:\n          VERSION: ${{ needs.release.outputs.pydantic-version }}\n          TWEET: |\n            Pydantic version {version} is out! 🎉\n\n            https://github.com/pydantic/pydantic/releases/tag/v{version}\n          TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}\n          TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }}\n          TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}\n          TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}\n", "state": "active", "repository": "pydantic/pydantic"}
{"mined_at": "2024-07-15T17:36:28.139064", "created_at": "2023-11-08T07:21:18+01:00", "updated_at": "2023-11-13T18:59:35+01:00", "name": "codspeed", "path": ".github/workflows/codspeed.yml", "contents": "name: codspeed\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  # `workflow_dispatch` allows CodSpeed to trigger backtest\n  # performance analysis in order to generate initial data.\n  workflow_dispatch:\n\njobs:\n  codspeed-profiling:\n    name: codspeed profiling\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: '3.12'\n          cache: true\n\n      - name: install deps\n        run: |\n          pdm venv create --with-pip --force $PYTHON\n          pdm install -G testing -G testing-extra -G email\n\n      - name: Run CodSpeed benchmarks\n        uses: CodSpeedHQ/action@v2\n        with:\n          run: pdm run pytest ./tests/benchmarks --codspeed\n", "state": "active", "repository": "pydantic/pydantic"}
{"mined_at": "2024-07-15T17:36:29.168867", "created_at": "2024-07-03T21:18:11+02:00", "updated_at": "2024-07-03T21:18:11+02:00", "name": "Post coverage comment", "path": ".github/workflows/coverage.yml", "contents": null, "state": "active", "repository": "pydantic/pydantic"}
{"mined_at": "2024-07-15T17:36:30.217009", "created_at": "2022-12-30T19:52:46+01:00", "updated_at": "2022-12-30T19:52:46+01:00", "name": "Dependencies Check", "path": ".github/workflows/dependencies-check.yml", "contents": "name: Dependencies Check\n\non:\n  schedule:\n  - cron: '43 3 * * 6,3'\n  workflow_dispatch: {}\n\njobs:\n  find_dependency_cases:\n    runs-on: ubuntu-latest\n\n    outputs:\n      PYTHON_DEPENDENCY_CASES: ${{ steps.list-python-dependencies.outputs.PYTHON_DEPENDENCY_CASES }}\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: samuelcolvin/list-python-dependencies@main\n      id: list-python-dependencies\n      with:\n        mode: first-last\n\n  test:\n    name: test py${{ matrix.python-version }} on ${{ matrix.PYTHON_DEPENDENCY_CASE }}\n\n    needs:\n    - find_dependency_cases\n\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: ['3.8', '3.11']\n        PYTHON_DEPENDENCY_CASE: ${{ fromJSON(needs.find_dependency_cases.outputs.PYTHON_DEPENDENCY_CASES) }}\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: set up python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - run: pip install pdm && pdm install --no-isolation\n\n    - run: pdm run pip install ${{ matrix.PYTHON_DEPENDENCY_CASE }}\n\n    - run: pdm run pip freeze\n\n    - run: make test\n", "state": "active", "repository": "pydantic/pydantic"}
{"mined_at": "2024-07-15T17:36:31.283736", "created_at": "2023-07-10T18:14:55+02:00", "updated_at": "2023-07-15T19:00:55+02:00", "name": "Publish Documentation", "path": ".github/workflows/docs-update.yml", "contents": "name: Publish Documentation\n\non:\n  push:\n    branches:\n      - main\n      - docs-update\n    tags:\n      - '**'\n\nenv:\n  COLUMNS: 150\n  PDM_DEPS: 'urllib3<2'\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: '3.11'\n          cache: true\n\n      - name: install\n        run: pdm install -G linting -G email\n\n      - uses: pre-commit/action@v3.0.1\n        with:\n          extra_args: --all-files --verbose\n        env:\n          SKIP: no-commit-to-branch\n\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: '3.11'\n          cache: true\n\n      - name: install deps\n        run: pdm install -G testing -G email\n\n      - run: pdm info && pdm list\n\n      - run: 'pdm run python -c \"import pydantic.version; print(pydantic.version.version_info())\"'\n\n      - run: make test\n\n  publish:\n    # Compare with the docs-build job in .github/workflows/ci.yml\n    needs: [lint, test]\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    steps:\n      - name: checkout docs-site\n        uses: actions/checkout@v4\n        with:\n          ref: docs-site\n\n      - name: checkout current branch\n        uses: actions/checkout@v4\n\n      - uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: '3.10'\n\n      - name: install\n        run: |\n          pdm venv create --with-pip --force $PYTHON\n          pdm install -G docs\n          pdm run python -m pip install https://files.scolvin.com/${MKDOCS_TOKEN}/mkdocs_material-9.5.17+insiders.4.53.5-py3-none-any.whl\n        env:\n          MKDOCS_TOKEN: ${{ secrets.MKDOCS_TOKEN }}\n\n      - run: pdm run python -c 'import docs.plugins.main'\n\n      # Adding local symlinks gets nice source locations like\n      #   pydantic_core/core_schema.py\n      # instead of\n      #   .venv/lib/python3.10/site-packages/pydantic_core/core_schema.py\n      - name: prepare shortcuts for extra modules\n        run: |\n          ln -s .venv/lib/python*/site-packages/pydantic_core pydantic_core\n          ln -s .venv/lib/python*/site-packages/pydantic_settings pydantic_settings\n          ln -s .venv/lib/python*/site-packages/pydantic_extra_types pydantic_extra_types\n\n      - name: Set git credentials\n        run: |\n          git config --global user.name \"${{ github.actor }}\"\n          git config --global user.email \"${{ github.actor }}@users.noreply.github.com\"\n\n      - run: pdm run mike deploy -b docs-site dev --push\n        if: \"github.ref == 'refs/heads/main'\"\n\n      - if: \"github.ref == 'refs/heads/docs-update' || startsWith(github.ref, 'refs/tags/')\"\n        id: check-version\n        uses: samuelcolvin/check-python-version@v4.1\n        with:\n          version_file_path: 'pydantic/version.py'\n          skip_env_check: true\n\n      - run: pdm run mike deploy -b docs-site ${{ steps.check-version.outputs.VERSION_MAJOR_MINOR }} latest --update-aliases --push\n        if: \"(github.ref == 'refs/heads/docs-update' || startsWith(github.ref, 'refs/tags/')) && !fromJSON(steps.check-version.outputs.IS_PRERELEASE)\"\n        env:\n          PYDANTIC_VERSION: v${{ steps.check-version.outputs.VERSION }}\n", "state": "active", "repository": "pydantic/pydantic"}
{"mined_at": "2024-07-15T17:36:32.448080", "created_at": "2023-06-22T16:38:19+02:00", "updated_at": "2023-06-22T16:38:19+02:00", "name": "Pydantic Family Integration Tests", "path": ".github/workflows/integration.yml", "contents": "name: Pydantic Family Integration Tests\n\non:\n  schedule:\n  - cron: '21 3 * * 1,2,3,4,5'\n  workflow_dispatch: {}\n\njobs:\n  test-pydantic-settings:\n    name: test pydantic settings\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: test\n      run: make test-pydantic-settings\n\n  test-pydantic-extra-types:\n    name: test pydantic extra types\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: test\n      run: make test-pydantic-extra-types\n", "state": "active", "repository": "pydantic/pydantic"}
{"mined_at": "2024-07-15T17:36:33.739270", "created_at": "2024-05-01T16:26:43+02:00", "updated_at": "2024-05-01T17:18:23+02:00", "name": "release notes", "path": ".github/workflows/labeler.yml", "contents": "name: release notes\n\non:\n  pull_request_target:\n    types: [opened]\n\njobs:\n  auto-labeler:\n    name: auto-labeler\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: label-PR-by-branch-name\n        uses: actions/labeler@v5\n        with:\n          configuration-path: '.github/labels/first_pass.yml'\n\n      - id: add-default-if-no-labels\n        if: ${{ !contains(steps.label-PR-by-branch-name.outputs.all-labels, 'relnotes') || !contains(steps.label-PR-by-branch-name.outputs.all-labels, 'documentation') }}\n        uses: actions/labeler@v5\n        with:\n          configuration-path: '.github/labels/default_pass.yml'\n", "state": "active", "repository": "pydantic/pydantic"}
{"mined_at": "2024-07-15T17:36:35.070653", "created_at": "2023-09-21T11:52:02+02:00", "updated_at": "2024-05-28T19:02:47+02:00", "name": "release notes", "path": ".github/workflows/relnotes.yml", "contents": null, "state": "active", "repository": "pydantic/pydantic"}
{"mined_at": "2024-07-15T17:36:36.140822", "created_at": "2023-12-14T17:00:59+01:00", "updated_at": "2023-12-15T13:28:35+01:00", "name": "Pydantic People Update", "path": ".github/workflows/update-pydantic-people.yml", "contents": "name: Pydantic People Update\n\non:\n  schedule:\n    - cron: \"0 12 1 * *\"\n  workflow_dispatch: {}\n\njobs:\n  pydantic-people:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/people\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pydantic/pydantic"}
{"mined_at": "2024-07-15T17:36:37.232347", "created_at": "2021-04-01T21:46:35+02:00", "updated_at": "2021-05-02T12:54:09+02:00", "name": "Upload Previews", "path": ".github/workflows/upload-previews.yml", "contents": "name: Upload Previews\n\non:\n  workflow_run:\n    workflows: [CI]\n    types: [completed]\n\npermissions:\n  statuses: write\n\njobs:\n  upload-previews:\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - run: pip install smokeshow\n\n      - uses: dawidd6/action-download-artifact@v3\n        with:\n          workflow: ci.yml\n          commit: ${{ github.event.workflow_run.head_sha }}\n\n      - run: smokeshow upload coverage-html\n        env:\n          SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}\n          # 5 is set here while V2 is in development and coverage is far from complete\n          SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 91\n          SMOKESHOW_GITHUB_CONTEXT: coverage\n          SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.workflow_run.head_sha }}\n          SMOKESHOW_AUTH_KEY: ${{ secrets.SMOKESHOW_AUTH_KEY }}\n", "state": "active", "repository": "pydantic/pydantic"}
{"mined_at": "2024-07-15T17:36:39.576515", "created_at": "2021-10-28T02:30:52+02:00", "updated_at": "2021-10-28T22:30:59+02:00", "name": "Tests", "path": ".github/workflows/ci_test.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.11]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade pytest\n          python -m pip install flake8 pytest pytest-cov\n          python -m pip install codecov\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          if [ -f test_requirements.txt ]; then pip install -r test_requirements.txt; fi\n          python -m pip install .\n      #- name: Lint with flake8\n      #  run: |\n          # stop the build if there are Python syntax errors or undefined names\n      #    flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n      #    flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n      - name: Test with pytest\n        run: |\n          pytest --cov=./ --cov-report=xml\n          codecov\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        with:\n          files: ./coverage.xml\n\n#      - name: Coveralls\n#        env:\n#          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n#        run: |\n#          coveralls --service=github\n\n      # from this source for coveralls: https://github.com/marketplace/actions/coveralls-github-action\n      #- uses: actions/checkout@v1\n\n      #- name: Use Node.js 10.x\n      #  uses: actions/setup-node@v1\n      #  with:\n      #    node-version: 10.x\n\n      #- name: npm install, make test-coverage\n      #  run: |\n      #    npm install\n      #    make test-coverage\n\n      #- name: Coveralls\n      #  uses: coverallsapp/github-action@master\n      #  with:\n      #    github-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "lenstronomy/lenstronomy"}
{"mined_at": "2024-07-15T17:36:40.727669", "created_at": "2023-08-21T22:55:49+02:00", "updated_at": "2023-08-21T22:55:49+02:00", "name": "Pre-commit hooks", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "lenstronomy/lenstronomy"}
{"mined_at": "2024-07-15T17:36:44.070373", "created_at": "2023-06-07T13:23:00+02:00", "updated_at": "2023-06-07T13:23:00+02:00", "name": "ASH", "path": ".github/workflows/ash.yml", "contents": null, "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:45.412984", "created_at": "2022-01-31T22:23:56+01:00", "updated_at": "2022-02-01T12:34:40+01:00", "name": "Bandit", "path": ".github/workflows/bandit.yml", "contents": "name: Bandit\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n    - main\n  pull_request:\n    branches:\n    - main\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install bandit\n      - name: Bandit\n        run: bandit -r -lll -ii .\n", "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:46.539892", "created_at": "2022-01-27T22:07:14+01:00", "updated_at": "2022-01-31T17:59:13+01:00", "name": "CFN Nag", "path": ".github/workflows/cfn-nag.yml", "contents": "name: CFN Nag\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n    - \"test_infra/**\"\n    branches:\n    - main\n  pull_request:\n    paths:\n    - \"test_infra/**\"\n    branches:\n    - main\n\npermissions:\n  contents: read\n\nenv:\n  CDK_DEFAULT_ACCOUNT: 111111111111\n  CDK_DEFAULT_REGION: us-east-1\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Use Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 16\n      - name: Cache Node.js modules\n        uses: actions/cache@v4\n        with:\n          path: ~/.npm\n          key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}\n          restore-keys: |\n            ${{ runner.OS }}-node-\n            ${{ runner.OS }}-\n      - name: Install CDK \n        run: |\n          npm install -g aws-cdk\n          cdk --version\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install Requirements\n        run: |\n          cd test_infra\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          poetry env use python\n          poetry env info\n          source $(poetry env info --path)/bin/activate\n          poetry install -vvv\n      - name: Set up cdk.json\n        run: |\n          cd test_infra\n          cat <<EOT >> cdk.context.json\n          {\n            \"availability-zones:account=111111111111:region=us-east-1\": [\n              \"us-east-1a\",\n              \"us-east-1b\",\n              \"us-east-1c\",\n              \"us-east-1d\",\n              \"us-east-1e\",\n              \"us-east-1f\"\n            ]\n          }\n          EOT\n          cat cdk.json | jq -r '.context.databases.neptune = true' | jq -r '.context.databases.oracle = true' | jq -r '.context.databases.sqlserver = true' > overwrite.cdk.json\n          rm cdk.json && mv overwrite.cdk.json cdk.json\n      - name: CDK Synth\n        run: |\n          cd test_infra\n          source $(poetry env info --path)/bin/activate\n          cdk synth\n      - uses: stelligent/cfn_nag@master\n        with:\n          input_path: test_infra/cdk.out\n          extra_args: --ignore-fatal\n", "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:47.768443", "created_at": "2023-01-18T21:05:55+01:00", "updated_at": "2023-01-19T23:42:34+01:00", "name": "Check Tests for Unspecific XFails", "path": ".github/workflows/check-pytest-xfails.yml", "contents": "name: Check Tests for Unspecific XFails\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  Check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: check xfails\n        run: if grep -ro \"@pytest.mark.xfail()\" tests/; then echo \"xfails must catch a specific error, e.g. '@pytest.mark.xfail(raises=NotImplementedError)'\" && exit 1; else echo \"success\" && exit 0; fi", "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:48.865354", "created_at": "2024-01-10T22:00:00+01:00", "updated_at": "2024-01-10T22:00:00+01:00", "name": "Dependabot Pull Request Metadata", "path": ".github/workflows/dependabot-prs.yml", "contents": "name: Dependabot Pull Request Metadata\non: pull_request_target\njobs:\n  build:\n    permissions:\n      pull-requests: read\n    runs-on: ubuntu-latest\n    if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}\n    steps:\n    - name: Fetch Dependabot metadata\n      id: dependabot-metadata\n      uses: dependabot/fetch-metadata@v2\n      with:\n        alert-lookup: true\n        compat-lookup: true\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n    - name: Add a label for all PRs with an alert state\n      if: ${{ steps.dependabot-metadata.outputs.alert-state != '' }}\n      run: gh pr edit \"$PR_URL\" --add-label \"vulnerability\"\n      env:\n        PR_URL: ${{github.event.pull_request.html_url}}\n        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}", "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:49.930604", "created_at": "2022-02-24T18:42:08+01:00", "updated_at": "2022-02-24T18:42:08+01:00", "name": "Close Stale Issues", "path": ".github/workflows/git-hygiene.yml", "contents": "name: \"Close Stale Issues\"\n\non:\n  workflow_dispatch:\n  schedule:\n  - cron: \"0 */3 * * *\"\n\njobs:\n  cleanup:\n    permissions:\n      issues: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    name: Stale issue job\n    steps:\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        days-before-stale: 60\n        days-before-close: 7\n        exempt-issue-labels: 'needs-triage,help wanted,backlog'\n        exempt-pr-labels: 'needs-triage'\n        stale-issue-label: 'closing-soon'\n        operations-per-run: 100\n        enable-statistics: true\n        stale-issue-message: |\n          Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 7 days it will automatically be closed. \n        stale-pr-label: 'closing-soon'\n        stale-pr-message: |\n          Marking this pull request as stale due to inactivity. This helps our maintainers find and focus on the active pull requests.\n        debug-only: false\n        ascending: true\n        exempt-all-milestones: true\n        exempt-all-assignees: true\n", "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:51.063846", "created_at": "2021-03-09T13:54:34+01:00", "updated_at": "2021-03-09T13:54:34+01:00", "name": "Minimal Tests", "path": ".github/workflows/minimal-tests.yml", "contents": "name: Minimal Tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  Check:\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.11\", \"3.12\"]\n        platform: [ubuntu-latest, macos-latest, windows-latest]\n\n    env:\n      AWS_DEFAULT_REGION: us-east-1\n\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Upgrade Pip\n        run: python -m pip install --upgrade pip\n      - name: Install Poetry\n        run: python -m pip install poetry\n      - name: Install Requirements\n        run: |\n          poetry config virtualenvs.in-project true\n          poetry config virtualenvs.path .venv\n          poetry install -vvv\n      - name: Test Metadata\n        run: poetry run pytest tests/unit/test_metadata.py\n      - name: Test Session\n        run: poetry run pytest tests/unit/test_session.py\n      - name: Test Utils\n        run: poetry run pytest tests/unit/test_utils.py\n      - name: Test Moto\n        run: poetry run pytest -n 4 tests/unit/test_moto.py\n", "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:52.158157", "created_at": "2022-03-11T22:59:06+01:00", "updated_at": "2022-03-11T22:59:06+01:00", "name": "Issue Minimum Response Time", "path": ".github/workflows/minimum-response-time.yml", "contents": "name: Issue Minimum Response Time\non:\n  workflow_dispatch:\n  schedule:\n  - cron: \"0 */3 * * *\"\njobs:\n  evaluate:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - name: Issue Minimum Response ⏰\n        uses: malachi-constant/issue-minimum-response@latest\n        with:\n          exempt_user_list: \"github-actions[bot]\"\n          exempt_labels: \"help wanted\"\n          exempt_authors: \"malachi-constant,jaidisido,kukushking,LeonLuttenberger,cnfait,dependabot[bot]\"\n          token: ${{secrets.GITHUB_TOKEN}}\n          label: needs-triage\n", "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:53.280357", "created_at": "2023-03-09T15:19:48+01:00", "updated_at": "2023-03-09T15:19:48+01:00", "name": "Check PR title", "path": ".github/workflows/pr-linter.yml", "contents": "name: Check PR title\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - edited\n      - synchronize\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    permissions:\n      statuses: write\n    steps:\n      - uses: aslafy-z/conventional-pr-title-action@v3\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:54.416098", "created_at": "2022-04-11T16:19:26+02:00", "updated_at": "2022-04-11T16:19:26+02:00", "name": "Snyk", "path": ".github/workflows/snyk.yml", "contents": "name: Snyk\n\non:\n  workflow_dispatch:\n\n  schedule:\n    - cron: \"0 9 * * 1\"  # runs each Monday at 9:00 UTC\n\npermissions:\n  contents: read\n  security-events: write\n\njobs:\n  security:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run Snyk to check for vulnerabilities\n        uses: snyk/actions/python-3.8@master\n        continue-on-error: true  # To make sure that SARIF upload gets called\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          args: --severity-threshold=high --sarif-file-output=snyk.sarif\n      - name: Upload result to GitHub Code Scanning\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: snyk.sarif\n", "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:55.583542", "created_at": "2020-04-12T20:09:12+02:00", "updated_at": "2020-04-12T20:09:12+02:00", "name": "Static Checking", "path": ".github/workflows/static-checking.yml", "contents": "name: Static Checking\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  Check:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Requirements\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          poetry config virtualenvs.create false --local\n          poetry install --all-extras -vvv\n      - name: ruff format check\n        run: ruff format --check .\n      - name: ruff check\n        run: ruff check --output-format=github .\n      - name: mypy check\n        run: mypy --install-types --non-interactive awswrangler\n      - name: Documentation check\n        run: doc8 --max-line-length 120 docs/source\n      - name: Check poetry.lock consistency with pyproject.toml\n        run: poetry check --lock\n", "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:56.616350", "created_at": "2022-04-21T20:54:03+02:00", "updated_at": "2022-04-21T20:54:03+02:00", "name": "Unlabel Assigned Issues", "path": ".github/workflows/unlabel-assigned-issue.yml", "contents": "name: Unlabel Assigned Issues\non:\n  issues:\n    types:\n      - assigned\npermissions:\n  contents: read\n\njobs:\n  unlabel-issue:\n    permissions:\n      issues: write  # for andymckay/labeler to label issues\n      pull-requests: write  # for andymckay/labeler to label PRs\n    runs-on: ubuntu-latest\n    steps:\n      - name: unlabel-issues\n        uses: andymckay/labeler@master\n        with:\n          remove-labels: \"needs-triage\"\n", "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:57.632999", "created_at": "2024-07-15T10:12:38+02:00", "updated_at": "2024-07-15T10:12:38+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:36:58.671955", "created_at": "2023-11-02T15:06:45+01:00", "updated_at": "2023-11-02T15:06:45+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "aws/aws-sdk-pandas"}
{"mined_at": "2024-07-15T17:37:00.980156", "created_at": "2022-08-24T06:06:13+02:00", "updated_at": "2023-09-16T20:00:26+02:00", "name": "Auto Assign PRs once opened", "path": ".github/workflows/auto-assign.yml", "contents": "name: Auto Assign PRs once opened\non:\n  pull_request:\n    types: [opened]\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: bubkoo/auto-assign@v1\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          CONFIG_FILE: .github/auto-assign.yml\n", "state": "active", "repository": "rocketpy-team/rocketpy"}
{"mined_at": "2024-07-15T17:37:02.207232", "created_at": "2023-12-18T03:01:31+01:00", "updated_at": "2024-02-12T17:28:44+01:00", "name": ".github/workflows/codecov.yml", "path": ".github/workflows/codecov.yml", "contents": "coverage:\n  status:\n    project:\n      default:\n        # basic\n        target: auto\n        threshold: 1%\n        base: auto\n        flags:\n          - unit\n        paths:\n          - \"rocketpy\"\n        # advanced settings\n        branches:\n          - master\n          - develop\n        if_ci_failed: error #success, failure, error, ignore\n        informational: false\n        only_pulls: false\n    patch:\n      default:\n        # basic\n        target: auto\n        threshold: 1%\n        base: auto\n        # advanced\n        branches:\n          - master\n          - develop\n        if_ci_failed: error #success, failure, error, ignore\n        only_pulls: false\n        flags:\n          - \"unit\"\n        paths:\n          - \"rocketpy\"\n", "state": "active", "repository": "rocketpy-team/rocketpy"}
{"mined_at": "2024-07-15T17:37:03.378729", "created_at": "2021-10-20T04:47:55+02:00", "updated_at": "2021-10-20T04:47:55+02:00", "name": "LintBlack", "path": ".github/workflows/lint_black.yaml", "contents": "name: LintBlack\n\n# Adapted: https://github.com/marketplace/actions/lint-action\n\non: [pull_request]\n\njobs:\n  run-linters:\n    name: Run linters\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n\n      - name: Install Python dependencies\n        run: pip install black[jupyter]\n\n      - name: Run linters\n        uses: wearerequired/lint-action@v1\n        with:\n          black: true\n          auto_fix: true\n", "state": "active", "repository": "rocketpy-team/rocketpy"}
{"mined_at": "2024-07-15T17:37:04.766858", "created_at": "2024-06-14T03:55:10+02:00", "updated_at": "2024-06-14T03:55:10+02:00", "name": "Linters", "path": ".github/workflows/linters.yml", "contents": null, "state": "active", "repository": "rocketpy-team/rocketpy"}
{"mined_at": "2024-07-15T17:37:05.996024", "created_at": "2022-10-24T02:20:04+02:00", "updated_at": "2022-10-24T02:20:04+02:00", "name": "Publish New Version to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n\nname: Publish New Version to PyPI\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: python -m build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "rocketpy-team/rocketpy"}
{"mined_at": "2024-07-15T17:37:07.124329", "created_at": "2021-10-20T04:47:55+02:00", "updated_at": "2024-01-26T17:05:02+01:00", "name": "Tests", "path": ".github/workflows/test_pytest.yaml", "contents": "name: Tests\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n    paths:\n      - \"**.py\"\n      - \".github/**\"\n      - \"pyproject.toml\"\n      - \"requirements*\"\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  Pytest:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [3.8, 3.12]\n        include:\n          - os: macos-latest\n            python-version: 3.12\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Cache Python dependencies\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-tests.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install rocketpy\n        run: pip install .\n\n      - name: Test importing rocketpy\n        run: python -c \"import sys, rocketpy; print(f'{rocketpy.__name__} running on Python {sys.version}')\"\n\n      - name: Install test dependencies\n        run: pip install -r requirements-tests.txt\n\n      - name: Run Unit Tests\n        run: pytest tests/unit --cov=rocketpy\n\n      - name: Run Integration Tests\n        run: pytest $(find tests -maxdepth 1 -name \"*.py\") --cov=rocketpy --cov-append\n\n      - name: Run Documentation Tests\n        run: pytest rocketpy --doctest-modules --cov=rocketpy --cov-append\n\n      - name: Run Acceptance Tests\n        run: pytest tests/acceptance --cov=rocketpy --cov-append --cov-report=xml\n\n      - name: Upload coverage to artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: coverage\n          path: coverage.xml\n\n  CodecovUpload:\n    needs: Pytest\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Download all coverage reports\n        uses: actions/download-artifact@v2\n      - name: Upload to Codecov\n        uses: codecov/codecov-action@v2\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: |\n            coverage.xml\n", "state": "active", "repository": "rocketpy-team/rocketpy"}
{"mined_at": "2024-07-15T17:37:08.351296", "created_at": "2024-02-12T17:28:44+01:00", "updated_at": "2024-02-12T17:28:44+01:00", "name": "Upload to Codecov", "path": ".github/workflows/upload-to-codecov.yml", "contents": "name: Upload to Codecov\n\non:\n  workflow_call:\n    inputs:\n      codecov_token:\n        required: true\n        type: string\n      os:\n        required: true\n        type: string\n      python:\n        required: true\n        type: string\n\njobs:\n  upload:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Upload coverage report to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ inputs.codecov_token }}\n          directory: ./coverage/reports/\n          env_vars: OS,PYTHON\n          files: ./coverage.xml, ./rocketpy/coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n          verbose: true\n", "state": "active", "repository": "rocketpy-team/rocketpy"}
{"mined_at": "2024-07-15T17:37:09.385899", "created_at": "2023-10-29T18:27:17+01:00", "updated_at": "2023-10-29T18:27:17+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "rocketpy-team/rocketpy"}
{"mined_at": "2024-07-15T17:37:11.609470", "created_at": "2021-07-01T19:58:28+02:00", "updated_at": "2021-07-01T19:58:28+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  push:\n    branches: [ main ]\n    paths-ignore: [ '**.svg', '**.md' ]\n  pull_request:\n    branches: [ main ]\n\npermissions:\n  contents: read\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Run Python unit tests\n      run: |\n        python3 -u -m unittest tests/tests.py\n      env:\n        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n\n    - name: Verify that the Docker image for the action builds\n      run: docker build . --file Dockerfile\n\n    - name: Integration test\n      id: integration\n      uses: ./\n      with:\n        colors: dark\n        commit-and-push: false\n        featured-repository: Chips-n-Salsa\n        animated-language-chart: true\n        locale: en\n        #fail-on-error: false\n        #category-order: general, repositories, languages, contributions\n      env:\n        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n\n    - name: Output the outputs of the integration test of the action\n      run: |\n        echo \"exit-code = ${{ steps.integration.outputs.exit-code }}\"\n\n    - name: Upload generated SVG as a workflow artifact for inspection if necessary\n      uses: actions/upload-artifact@v4\n      with:\n        name: generated-image\n        path: images/userstats.svg\n", "state": "active", "repository": "cicirello/user-statistician"}
{"mined_at": "2024-07-15T17:37:12.857089", "created_at": "2021-07-13T22:45:51+02:00", "updated_at": "2021-07-13T22:45:51+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '34 20 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "cicirello/user-statistician"}
{"mined_at": "2024-07-15T17:37:14.085813", "created_at": "2021-09-29T16:42:17+02:00", "updated_at": "2021-09-29T16:42:17+02:00", "name": "international samples", "path": ".github/workflows/generate-international-samples.yml", "contents": "name: international samples\n\non:\n  workflow_dispatch:\n\njobs:\n  samples:\n\n    runs-on: ubuntu-latest\n      \n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: samples\n\n    - name: Sample German\n      uses: cicirello/user-statistician@v1\n      with:\n        colors: light\n        locale: de\n        image-file: images/de.svg\n      env:\n        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n\n    - name: Sample Italian\n      uses: cicirello/user-statistician@v1\n      with:\n        colors: dark\n        locale: it\n        image-file: images/it.svg\n      env:\n        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "cicirello/user-statistician"}
{"mined_at": "2024-07-15T17:37:15.187279", "created_at": "2021-07-07T18:48:05+02:00", "updated_at": "2021-07-16T16:22:07+02:00", "name": "samples", "path": ".github/workflows/generate-samples.yml", "contents": "name: samples\n\non:\n  schedule:\n    - cron: '0 1 * * 6'\n  workflow_dispatch:\n\njobs:\n  samples:\n\n    runs-on: ubuntu-latest\n      \n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: samples\n\n    - name: Sample light\n      uses: cicirello/user-statistician@v1\n      with:\n        colors: light\n        image-file: images/light.svg\n        # Using custom-title is not necessary here in general.\n        # I'm just using it so that the sample has a more generic name\n        # of user rather than my name. The format this uses is identical\n        # to if this input was not used, but with my name replaced by a\n        # generic name.\n        custom-title: Firstname Lastname's GitHub Activity\n      env:\n        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n\n    - name: Sample dark\n      uses: cicirello/user-statistician@v1\n      with:\n        colors: dark\n        image-file: images/dark.svg\n        include-title: false\n      env:\n        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n\n    - name: Sample dark-dimmed\n      uses: cicirello/user-statistician@v1\n      with:\n        colors: dark-dimmed\n        image-file: images/dark-dimmed.svg\n        custom-title: My GitHub Statistics\n        hide-keys: joined, mostStarred, mostForked, followers, following, private\n        max-languages: 100\n        animated-language-chart: true\n      env:\n        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "cicirello/user-statistician"}
{"mined_at": "2024-07-15T17:37:16.379328", "created_at": "2021-07-01T19:58:28+02:00", "updated_at": "2021-07-01T19:58:28+02:00", "name": "Move Major Release Tag", "path": ".github/workflows/major-release-num.yml", "contents": "name: Move Major Release Tag\n\non:\n  release:\n    types: [created]\n\njobs:\n  movetag:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Get major version num and update tag\n      run: |\n        VERSION=${GITHUB_REF#refs/tags/}\n        MAJOR=${VERSION%%.*}\n        git config --global user.name 'Vincent A Cicirello'\n        git config --global user.email 'cicirello@users.noreply.github.com'\n        git tag -fa ${MAJOR} -m \"Update major version tag\"\n        git push origin ${MAJOR} --force\n\n        \n", "state": "active", "repository": "cicirello/user-statistician"}
{"mined_at": "2024-07-15T17:37:17.669880", "created_at": "2022-09-09T16:08:05+02:00", "updated_at": "2022-09-09T16:08:05+02:00", "name": "Generate Theme Sample", "path": ".github/workflows/manual-theme-sample.yml", "contents": "name: Generate Theme Sample\n\non:\n  workflow_dispatch:\n    inputs:\n      THEME:\n        description: 'Theme Key'\n        required: true\n\njobs:\n  theme-sample:\n\n    runs-on: ubuntu-latest\n      \n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: samples\n\n    - name: Theme sample\n      uses: cicirello/user-statistician@v1\n      with:\n        colors: ${{ github.event.inputs.THEME }}\n        image-file: images/${{ github.event.inputs.THEME }}.svg\n        # Using custom-title is not necessary here in general.\n        # I'm just using it so that the sample has a more generic name\n        # of user rather than my name. The format this uses is identical\n        # to if this input was not used, but with my name replaced by a\n        # generic name.\n        custom-title: Firstname Lastname's GitHub Activity\n      env:\n        GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "cicirello/user-statistician"}
{"mined_at": "2024-07-15T17:37:18.897249", "created_at": "2022-10-17T18:50:43+02:00", "updated_at": "2022-10-17T18:50:43+02:00", "name": "Close stale PRs", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale PRs'\non:\n  schedule:\n    - cron: '45 1 * * *'\n\npermissions:\n  pull-requests: write\n  \njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          stale-pr-message: 'This PR has been automarked as stale for 30 days of inactivity, and will autoclose if still inactive in 5 days.'\n          close-pr-message: 'Autoclosing this stale PR.'\n          days-before-stale: 30\n          days-before-close: 5\n", "state": "active", "repository": "cicirello/user-statistician"}
{"mined_at": "2024-07-15T17:37:21.229280", "created_at": "2022-10-03T10:25:19+02:00", "updated_at": "2022-12-07T01:13:18+01:00", "name": "CodeSee", "path": ".github/workflows/codesee-arch-diagram.yml", "contents": "# SPDX-License-Identifier: MIT\n\n# This workflow was added by CodeSee. Learn more at https://codesee.io/\n# This is v2.0 of this workflow file\n\non:\n  push:\n    branches:\n      - main\n  pull_request_target:\n    types: [opened, synchronize, reopened]\n\nname: CodeSee\n\npermissions: read-all\n\njobs:\n  codesee:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    name: Analyze the repo with CodeSee\n    steps:\n      - uses: Codesee-io/codesee-action@v2\n        with:\n          codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}\n", "state": "active", "repository": "igknitedev/igknite"}
{"mined_at": "2024-07-15T17:37:22.356342", "created_at": "2022-10-03T09:40:18+02:00", "updated_at": "2023-06-02T20:05:51+02:00", "name": "Create, Publish & Deploy Docker Image", "path": ".github/workflows/deploy.yml", "contents": "# SPDX-License-Identifier: MIT\n\nname: Create, Publish & Deploy Docker Image\n\non:\n  release:\n    types: [published]\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "igknitedev/igknite"}
{"mined_at": "2024-07-15T17:37:23.630578", "created_at": "2022-10-21T08:46:35+02:00", "updated_at": "2024-01-27T09:31:43+01:00", "name": "Format", "path": ".github/workflows/formatting.yml", "contents": "# SPDX-License-Identifier: MIT\n\nname: Format\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  contents: write\n  pull-requests: write\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  ruff:\n    name: Ruff\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Check\n        id: formatcheck\n        uses: chartboost/ruff-action@v1\n        continue-on-error: true\n        with:\n          args: format --check .\n\n      - name: Format\n        uses: chartboost/ruff-action@v1\n        with:\n          args: format .\n\n      - name: Create pull request\n        if: steps.formatcheck.outcome != 'success'\n        uses: peter-evans/create-pull-request@v5\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          title: \"🎨 Automated formatting errors fix\"\n          commit-message: \"fixed formatting errors (ruff)\"\n          body: |\n            Formatter errors found in: ${{ github.sha }}.\n          base: ${{ github.head_ref }}\n          branch: actions/ruff\n          delete-branch: true\n          reviewers: hitblast", "state": "active", "repository": "igknitedev/igknite"}
{"mined_at": "2024-07-15T17:37:24.715472", "created_at": "2022-08-09T18:59:32+02:00", "updated_at": "2024-01-27T09:31:43+01:00", "name": "Lint", "path": ".github/workflows/linting.yml", "contents": "# SPDX-License-Identifier: MIT\n\nname: Lint\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  contents: write\n  pull-requests: write\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  ruff:\n    name: Ruff\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Check\n        id: lintcheck\n        uses: chartboost/ruff-action@v1\n        continue-on-error: true\n        with:\n          args: check .\n\n      - name: Lint\n        uses: chartboost/ruff-action@v1\n        with:\n          args: check . --fix\n\n      - name: Create pull request\n        if: steps.lintcheck.outcome != 'success'\n        uses: peter-evans/create-pull-request@v5\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          title: \"🎨 Automated linting errors fix\"\n          commit-message: \"fixed linting errors (ruff)\"\n          body: |\n            Linter errors found in: ${{ github.sha }}.\n          base: ${{ github.head_ref }}\n          branch: actions/ruff\n          reviewers: hitblast\n          delete-branch: true", "state": "active", "repository": "igknitedev/igknite"}
{"mined_at": "2024-07-15T17:37:25.822015", "created_at": "2023-02-16T20:01:24+01:00", "updated_at": "2023-02-16T20:01:24+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "igknitedev/igknite"}
{"mined_at": "2024-07-15T17:37:28.319956", "created_at": "2021-02-17T18:29:58+01:00", "updated_at": "2024-06-20T09:35:14+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '38 7 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "disabled_manually", "repository": "azure/azure-network-security"}
{"mined_at": "2024-07-15T17:37:29.487152", "created_at": "2024-02-05T17:36:57+01:00", "updated_at": "2024-06-20T09:35:27+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '31 5 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'csharp', 'javascript-typescript', 'python' ]\n        # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]\n        # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "disabled_manually", "repository": "azure/azure-network-security"}
{"mined_at": "2024-07-15T17:37:30.512561", "created_at": "2022-06-23T22:48:30+02:00", "updated_at": "2023-11-28T19:02:59+01:00", "name": "DevSkim", "path": ".github/workflows/devskim.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: DevSkim\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '37 13 * * 0'\n\njobs:\n  lint:\n    name: DevSkim\n    runs-on: ubuntu-20.04\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Run DevSkim scanner\n        uses: microsoft/DevSkim-Action@v1\n        \n      - name: Upload DevSkim scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: devskim-results.sarif\n", "state": "active", "repository": "azure/azure-network-security"}
{"mined_at": "2024-07-15T17:37:31.596195", "created_at": "2023-12-21T19:23:49+01:00", "updated_at": "2023-12-21T19:23:49+01:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n\non: [pull_request_target, issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n    - uses: actions/first-interaction@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: \"Message that will be displayed on users' first issue\"\n        pr-message: \"Message that will be displayed on users' first pull request\"\n", "state": "active", "repository": "azure/azure-network-security"}
{"mined_at": "2024-07-15T17:37:32.725010", "created_at": "2022-12-16T07:38:11+01:00", "updated_at": "2023-11-28T19:02:59+01:00", "name": ".github/workflows/trafficcounter.yml", "path": ".github/workflows/trafficcounter.yml", "contents": "on:\n  schedule: \n\n    # runs every tuesday @ 3:00pm\n    - cron: \"0 14 * * 0\"\n\n    \njobs:\n  # This workflow contains a single job called \"traffic\"\n  traffic:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n      contents: read\n      deployments: read\n      packages: none\n      pull-requests: write\n      security-events: write\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n    - uses: actions/checkout@v4\n      with:\n        ref: \"traffic\"\n    \n    # Calculates traffic and clones and stores in CSV file\n    - name: Repository Traffic\n      uses: sangonzal/repository-traffic-action@v.0.1.6      \n      env:\n        TRAFFIC_ACTION_TOKEN: ${{secrets.TRAFFIC_ACTION_TOKEN}} \n     \n    # Commits files to repository\n    - name: Commit changes\n      uses: EndBug/add-and-commit@v4\n      with:\n        author_name: Tobi Otolorin\n        message: \"GitHub traffic\"\n        add: \"./traffic/*\"\n        ref: \"traffic\"  # commits to branch \"traffic\"\n\n", "state": "active", "repository": "azure/azure-network-security"}
{"mined_at": "2024-07-15T17:37:33.782584", "created_at": "2024-06-20T10:08:46+02:00", "updated_at": "2024-06-20T10:08:46+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "azure/azure-network-security"}
{"mined_at": "2024-07-15T17:37:36.204720", "created_at": "2020-06-06T07:19:34+02:00", "updated_at": "2024-05-23T18:38:49+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  push:\n    tags:        \n      - v*\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python oncopipe/setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "lcr-bccrc/lcr-modules"}
{"mined_at": "2024-07-15T17:37:38.659157", "created_at": "2023-08-01T22:10:28+02:00", "updated_at": "2023-08-01T22:10:28+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/praxis"}
{"mined_at": "2024-07-15T17:37:40.710533", "created_at": "2021-11-14T02:10:08+01:00", "updated_at": "2023-11-28T15:32:42+01:00", "name": "CI", "path": ".github/workflows/build-test-release.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"develop\"\n  pull_request:\n    branches: [main, develop]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.7\"\n      - name: Install actionlint\n        run: |\n          bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/v1.6.3/scripts/download-actionlint.bash)\n      - uses: pre-commit/action@v3.0.0\n\n  review_secrets:\n    name: security-detect-secrets\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: false\n          fetch-depth: \"0\"\n      - name: Trufflehog Actions Scan\n        uses: edplato/trufflehog-actions-scan@v0.9j-beta\n        with:\n          scanArguments: \"--max_depth 30 -x .github/workflows/exclude-patterns.txt\"\n\n  semgrep:\n    runs-on: ubuntu-latest\n    name: security-sast-semgrep\n    steps:\n      - uses: actions/checkout@v4\n      - name: Semgrep\n        id: semgrep\n        uses: semgrep/semgrep-action@v1\n        with:\n          publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}\n\n  publish:\n    name: Build Release\n    permissions:\n      actions: write\n      contents: write\n      issues: write\n      id-token: write\n    environment: release    \n    needs:\n      #- pre-commit\n      #- review_secrets\n      - semgrep\n      #- run-unit-tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: false\n          persist-credentials: false\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.7\"\n      - name: Run image\n        uses: abatilo/actions-poetry@v2.3.0\n        with:\n          poetry-version: \"1.3.2\"\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"20\"          \n      - name: Semantic Release\n        uses: cycjimmy/semantic-release-action@v4.0.0\n        id: semantic   # Need an `id` for output variables\n        with:\n          #semantic_version: 19.0.5\n          extra_plugins: |\n            semantic-release-replace-plugin\n            @semantic-release/git@10.0.1\n            @semantic-release/changelog@6.0.3\n            conventional-changelog-conventionalcommits@6.1.0\n            @semantic-release/exec@6.0.3               \n        env:\n          GITHUB_TOKEN: ${{ secrets.SEMREL_TOKEN }}\n      - name: Publish package distributions to PyPI\n        if: steps.semantic.outputs.new_release_published == 'true'\n        uses: pypa/gh-action-pypi-publish@release/v1          \n      - uses: actions/upload-artifact@v3\n        if: steps.semantic.outputs.new_release_published == 'true'\n        with:\n          name: dist\n          path: dist\n", "state": "active", "repository": "pysnmp/pysnmp"}
{"mined_at": "2024-07-15T17:37:41.941164", "created_at": "2021-11-14T02:10:08+01:00", "updated_at": "2021-11-14T02:10:08+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '38 15 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "pysnmp/pysnmp"}
{"mined_at": "2024-07-15T17:37:43.167079", "created_at": "2021-11-14T02:10:08+01:00", "updated_at": "2021-11-14T02:10:08+01:00", "name": "Release-Notes-Preview", "path": ".github/workflows/release-notes.yaml", "contents": "name: Release-Notes-Preview\n\non:\n  pull_request:\n  issue_comment:\n    types: [edited]\n\njobs:\n  preview:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - run: |\n          git fetch --prune --unshallow --tags\n      - uses: snyk/release-notes-preview@v1.6.2\n        with:\n          releaseBranch: main\n        env:\n          GITHUB_PR_USERNAME: ${{ github.actor }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pysnmp/pysnmp"}
{"mined_at": "2024-07-15T17:37:44.396583", "created_at": "2023-02-23T14:05:27+01:00", "updated_at": "2023-11-28T14:21:20+01:00", "name": "Update Semver", "path": ".github/workflows/update-tags.yaml", "contents": "name: Update Semver\non:\n  push:\n    branches-ignore:\n      - \"**\"\n    tags:\n      - \"v*.*.*\"\njobs:\n  update-semver:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: haya14busa/action-update-semver@v1\n", "state": "active", "repository": "pysnmp/pysnmp"}
{"mined_at": "2024-07-15T17:37:47.570898", "created_at": "2022-09-18T16:41:44+02:00", "updated_at": "2022-09-19T17:44:47+02:00", "name": "Build docs", "path": ".github/workflows/build-docs.yml", "contents": "\n# Build html docs. Any warning building the docs will produce an error.\n\nname: Build docs\n\non: [push, pull_request]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - name: Install dependencies\n        run: |\n          pip install .\n          pip install -r docs/requirements.txt\n      - name: Test build html\n        run: |\n          cd docs\n          make html SPHINXOPTS=\"-W\"\n", "state": "active", "repository": "sdxorg/pysd"}
{"mined_at": "2024-07-15T17:37:48.778063", "created_at": "2021-07-26T09:16:01+02:00", "updated_at": "2021-08-09T15:50:42+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "# Run CI tests with pytest and update coverage to coveralls\n\nname: CI\n\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 6 * * 1'\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: ['3.9', '3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: recursive\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install -U pip\n          pip install -U wheel\n          pip install --prefer-binary -r tests/requirements.txt\n          pip install --prefer-binary -e .\n      - name: Test and coverage\n        run: |\n          pytest tests/ --cov=pysd -n 2\n          coverage xml\n      - name: Coveralls\n        uses: coverallsapp/github-action@v2\n        with:\n          file: coverage.xml\n        if: ${{ matrix.python-version == 3.9 && matrix.os == 'ubuntu-latest' }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n", "state": "active", "repository": "sdxorg/pysd"}
{"mined_at": "2024-07-15T17:37:50.029751", "created_at": "2022-09-08T21:07:53+02:00", "updated_at": "2022-09-19T17:44:47+02:00", "name": "Link check", "path": ".github/workflows/link-check.yml", "contents": "name: Link check\n\non:\n  push:\n  pull_request:\n\njobs:\n  linkChecker:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Link Checker\n        uses: lycheeverse/lychee-action@v1.10.0\n        with:\n          fail: true\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "sdxorg/pysd"}
{"mined_at": "2024-07-15T17:37:51.077762", "created_at": "2021-05-04T16:42:04+02:00", "updated_at": "2021-05-05T13:37:50+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        TWINE_REPOSITORY: pypi\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload --verbose dist/*\n", "state": "active", "repository": "sdxorg/pysd"}
{"mined_at": "2024-07-15T17:37:53.119806", "created_at": "2022-08-24T23:51:59+02:00", "updated_at": "2022-08-24T23:51:59+02:00", "name": "deploy pages", "path": ".github/workflows/deploy_pages.yml", "contents": "name: deploy pages\non:\n  push:\n    branches:\n      - master\n      - main\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n      - run: pip install -e .\n      - run: bigfun docs generate --project bigfunctions --dataset eu,us,europe_west1,asia_east1\n      - run: mkdocs gh-deploy --force\n", "state": "active", "repository": "unytics/bigfunctions"}
{"mined_at": "2024-07-15T17:37:54.136063", "created_at": "2024-06-18T09:05:25+02:00", "updated_at": "2024-06-18T09:05:25+02:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "unytics/bigfunctions"}
{"mined_at": "2024-07-15T17:37:55.182279", "created_at": "2022-08-24T23:25:50+02:00", "updated_at": "2022-08-24T23:25:50+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "unytics/bigfunctions"}
{"mined_at": "2024-07-15T17:37:57.290735", "created_at": "2024-07-02T16:59:20+02:00", "updated_at": "2024-07-02T16:59:20+02:00", "name": "Update requirements.txt", "path": ".github/workflows/auto-poetry.yml", "contents": null, "state": "active", "repository": "jdsprojects/jdbot"}
{"mined_at": "2024-07-15T17:37:58.428223", "created_at": "2022-01-06T23:03:59+01:00", "updated_at": "2022-01-06T23:03:59+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Run linter\n        uses: psf/black@stable\n        with:\n          options: \"--line-length 120\"\n          src: \".\"\n\n      - name: Commit & push changes (main only)\n        if: github.event_name == 'push' && github.ref_name == 'master'\n        continue-on-error: true\n        run: |\n          git config user.name \"github-actions\"\n          git config user.email \"github-actions@example.com\"\n          git add -A\n          git commit -m \"[ci] Autoformat with black\"\n          git push\n\n      - name: Fail job if changes were made (PR only)\n        if: github.event_name == 'pull_request'\n        run: git diff-index --quiet HEAD -- || (git diff && exit 1)\n", "state": "active", "repository": "jdsprojects/jdbot"}
{"mined_at": "2024-07-15T17:37:59.663889", "created_at": "2022-08-23T17:16:18+02:00", "updated_at": "2022-08-23T17:16:18+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '27 21 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "jdsprojects/jdbot"}
{"mined_at": "2024-07-15T17:38:02.009705", "created_at": "2020-05-18T09:15:40+02:00", "updated_at": "2020-05-18T09:15:40+02:00", "name": ".github/workflows/automerge.yml", "path": ".github/workflows/automerge.yml", "contents": "on:\n  status: {}\n  check_suite:\n    types:\n      - completed\n\njobs:\n  automerge-action:\n    runs-on: ubuntu-latest\n    name: automerge\n    steps:\n      - name: automerge-action\n        id: automerge-action\n        uses: conda-forge/automerge-action@main\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }}\n", "state": "active", "repository": "conda-forge/conda-forge-pinning-feedstock"}
{"mined_at": "2024-07-15T17:38:03.238657", "created_at": "2020-03-13T14:18:06+01:00", "updated_at": "2020-03-13T14:18:06+01:00", "name": ".github/workflows/webservices.yml", "path": ".github/workflows/webservices.yml", "contents": "on: repository_dispatch\n\njobs:\n  webservices:\n    runs-on: ubuntu-latest\n    name: webservices\n    steps:\n      - name: webservices\n        id: webservices\n        uses: conda-forge/webservices-dispatch-action@main\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }}\n", "state": "active", "repository": "conda-forge/conda-forge-pinning-feedstock"}
{"mined_at": "2024-07-15T17:38:05.593658", "created_at": "2024-01-22T23:42:33+01:00", "updated_at": "2024-01-28T08:12:18+01:00", "name": "docker-nightly-build", "path": ".github/workflows/docker-nightly-build.yaml", "contents": "name: docker-nightly-build\n\non:\n  schedule:\n    # Set the time to be 20 mins after the pypi nightly build\n    - cron: '55 10 * * *' # 10:55am UTC, 2:55am PST, 5:55am EST\n  workflow_dispatch:\n  \njobs:\n  \n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Find the release version\n        id: version\n        run: |\n          PACKAGE_NAME=\"skypilot-nightly\"\n          # Fetch package info from PyPI\n          PACKAGE_INFO=$(curl -s https://pypi.org/pypi/$PACKAGE_NAME/json)\n          # Parse JSON and get the latest version\n          LATEST_VERSION=$(echo $PACKAGE_INFO | jq -r '.info.version')\n          echo \"latest_version=$LATEST_VERSION\" >> $GITHUB_OUTPUT\n\n      - name: Setup Dockerfile\n        run: |\n          touch Dockerfile\n          cat <<EOF > Dockerfile\n          # Use the latest version with Python 3.10\n          FROM continuumio/miniconda3:23.3.1-0\n\n          # Install dependencies\n          RUN conda install -c conda-forge google-cloud-sdk && \\\n              apt update -y && \\\n              apt install rsync vim -y && \\\n              rm -rf /var/lib/apt/lists/*\n          \n          RUN pip install \"skypilot-nightly[all]==${{ steps.version.outputs.latest_version }}\" --no-cache-dir\n          EOF\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          # TODO: add support for linux/arm64 for M series Macs\n          # It currently fails due to the failure to install google-cloud-sdk\n          platforms: linux/amd64\n          push: true\n          tags: \"${{ secrets.DOCKER_USERNAME }}/skypilot-nightly:latest,${{ secrets.DOCKER_USERNAME }}/skypilot-nightly:${{ steps.version.outputs.latest_version }}\"\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n", "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:06.823065", "created_at": "2023-02-09T11:26:18+01:00", "updated_at": "2023-02-09T19:36:59+01:00", "name": "format", "path": ".github/workflows/format.yml", "contents": "name: format\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - master\n      - 'releases/**'\n  pull_request:\n    branches:\n      - master\n      - 'releases/**'\njobs:\n  format:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install yapf==0.32.0\n        pip install toml==0.10.2\n        pip install black==22.10.0\n        pip install isort==5.12.0\n    - name: Running yapf\n      run: |\n        yapf --diff --recursive ./ --exclude 'sky/skylet/ray_patches/**' \\\n            --exclude 'sky/skylet/providers/azure/**' \\\n            --exclude 'sky/skylet/providers/ibm/**'\n    - name: Running black\n      run: |\n        black --diff --check sky/skylet/providers/azure/ \\\n            sky/skylet/providers/ibm/\n    - name: Running isort for black formatted files\n      run: |\n        isort --diff --check --profile black -l 88 -m 3 \\\n            sky/skylet/providers/ibm/\n    - name: Running isort for yapf formatted files\n      run: |\n        isort --diff --check ./ --sg 'sky/skylet/ray_patches/**' \\\n            --sg 'sky/skylet/providers/azure/**' \\\n            --sg 'sky/skylet/providers/ibm/**'\n", "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:08.051569", "created_at": "2022-12-14T11:59:51+01:00", "updated_at": "2022-12-16T20:06:45+01:00", "name": "mypy", "path": ".github/workflows/mypy-generic.yml", "contents": "# This is needed for GitHub Actions for the \"Waiting for status to be reported\" problem,\n# according to https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks\nname: mypy\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - master\n      - 'releases/**'\n  pull_request:\n    branches:\n      - master\n      - 'releases/**'\njobs:\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - run: 'echo \"No mypy to run\"'\n", "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:09.219715", "created_at": "2022-12-14T11:55:03+01:00", "updated_at": "2022-12-16T20:06:45+01:00", "name": "mypy", "path": ".github/workflows/mypy.yml", "contents": "name: mypy\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - master\n      - 'releases/**'\n  pull_request:\n    branches:\n      - master\n      - 'releases/**'\njobs:\n  mypy:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install mypy==$(grep mypy requirements-dev.txt | cut -d'=' -f3)\n        pip install $(grep types- requirements-dev.txt | tr '\\n' ' ')\n    - name: Running mypy\n      run: |\n        mypy $(cat tests/mypy_files.txt)\n", "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:10.297222", "created_at": "2023-07-13T21:08:01+02:00", "updated_at": "2023-07-13T21:08:01+02:00", "name": "Nightly Build", "path": ".github/workflows/nightly-build.yaml", "contents": null, "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:11.445815", "created_at": "2021-11-19T02:10:36+01:00", "updated_at": "2021-11-19T23:03:37+01:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": "name: Pylint\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - master\n      - 'releases/**'\n  pull_request:\n    branches:\n      - master\n      - 'releases/**'\n\njobs:\n  pylint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install \".[all]\"\n        pip install pylint==2.14.5\n        pip install pylint-quotes==0.2.3\n    - name: Analysing the code with pylint\n      run: |\n        pylint --load-plugins pylint_quotes sky\n", "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:12.492435", "created_at": "2022-11-26T05:50:21+01:00", "updated_at": "2023-07-14T05:47:50+02:00", "name": "pypi-publish-nightly", "path": ".github/workflows/pypi-nightly-build.yml", "contents": "name: pypi-publish-nightly\non:\n  schedule:\n    - cron: '35 10 * * *' # 10:35am UTC, 2:35am PST, 5:35am EST\n  workflow_dispatch:\n\njobs:\n  # nightly release check from https://stackoverflow.com/a/67527144\n  check-date:\n    runs-on: ubuntu-latest\n    outputs:\n      should_run: ${{ steps.should_run.outputs.should_run }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: print latest_commit\n        run: echo ${{ github.sha }}\n      - id: should_run\n        continue-on-error: true\n        name: check latest commit is less than a day\n        if: ${{ github.event_name == 'schedule' }}\n        run: test -z $(git rev-list  --after=\"24 hours\"  ${{ github.sha }}) && echo \"::set-output name=should_run::false\"\n\n  nightly-build-pypi:\n    runs-on: ubuntu-latest\n    needs: check-date\n    if: ${{ needs.check_date.outputs.should_run != 'false' }}\n    steps:\n      - name: Clone repository\n        uses: actions/checkout@v3\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n          cache: 'pip' # caching pip dependencies\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n      - name: Set release version\n        run: |\n          RELEASE_VERSION=$(date +%Y%m%d)\n          sed -i \"s/{{SKYPILOT_COMMIT_SHA}}/${{ github.sha }}/g\" sky/__init__.py\n          sed -i \"s/__version__ = '.*'/__version__ = '1.0.0.dev${RELEASE_VERSION}'/g\" sky/__init__.py\n          sed -i \"s/name='skypilot',/name='skypilot-nightly',/g\" sky/setup_files/setup.py\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n          .\n      - name: Publish distribution to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          skip-existing: true\n\n", "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:13.888421", "created_at": "2022-04-04T02:46:37+02:00", "updated_at": "2022-12-07T09:48:31+01:00", "name": "Python Tests", "path": ".github/workflows/pytest-generic.yml", "contents": "# This is needed for GitHub Actions for the \"Waiting for status to be reported\" problem,\n# according to https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks\nname: Python Tests\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - master\n      - 'releases/**'\n  pull_request:\n    branches:\n      - master\n      - 'releases/**'\njobs:\n  python-test:\n    runs-on: ubuntu-latest\n    steps:\n      - run: 'echo \"No tests to run\"'\n", "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:14.992715", "created_at": "2021-11-17T06:26:11+01:00", "updated_at": "2022-12-07T09:48:31+01:00", "name": "Python Tests", "path": ".github/workflows/pytest.yml", "contents": "name: Python Tests\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - master\n      - 'releases/**'\n  pull_request:\n    branches:\n      - master\n      - 'releases/**'\njobs:\n  python-test:\n    strategy:\n      matrix:\n        python-version: [3.8]\n        test-path:\n          - tests/unit_tests\n          - tests/test_api.py\n          - tests/test_cli.py\n          - tests/test_config.py\n          - tests/test_global_user_state.py\n          - tests/test_jobs.py\n          - tests/test_list_accelerators.py\n          - tests/test_optimizer_dryruns.py\n          - tests/test_optimizer_random_dag.py\n          - tests/test_storage.py\n          - tests/test_wheels.py\n          - tests/test_jobs_and_serve.py\n          - tests/test_yaml_parser.py\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Install Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Cache dependencies\n        uses: actions/cache@v3\n        if: startsWith(runner.os, 'Linux')\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-pytest-${{ matrix.python-version }}\n          restore-keys: |\n            ${{ runner.os }}-pip-pytest-${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \".[all]\"\n          pip install pytest pytest-xdist pytest-env>=0.6 memory-profiler==0.61.0\n\n      - name: Run tests with pytest\n        run: SKYPILOT_DISABLE_USAGE_COLLECTION=1 SKYPILOT_SKIP_CLOUD_IDENTITY_CHECK=1 pytest -n 1 --dist no ${{ matrix.test-path }}\n", "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:16.140741", "created_at": "2023-07-13T21:08:01+02:00", "updated_at": "2023-07-13T21:08:01+02:00", "name": "Release Build", "path": ".github/workflows/release-build.yaml", "contents": null, "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:17.302240", "created_at": "2023-05-12T07:58:30+02:00", "updated_at": "2023-05-12T07:58:30+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v8\n        with:\n          stale-issue-message: 'This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.'\n          stale-pr-message: 'This PR is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.'\n          close-issue-message: 'This issue was closed because it has been stalled for 10 days with no activity.'\n          close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'\n          days-before-issue-stale: 120\n          days-before-pr-stale: 120\n          days-before-issue-close: 10\n          days-before-pr-close: 10\n          exempt-issue-labels: 'P0,P1'\n          exempt-pr-labels: 'P0,P1'\n          ascending: true\n          operations-per-run: 100\n\n", "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:18.425306", "created_at": "2024-03-14T20:06:06+01:00", "updated_at": "2024-03-21T17:33:57+01:00", "name": "Documentation Build", "path": ".github/workflows/test-doc-build.yml", "contents": "name: Documentation Build\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the master branch\n  push:\n    branches:\n      - master\n      - 'releases/**'\n  pull_request:\n    branches:\n      - master\n      - 'releases/**'\njobs:\n  format:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .\n        cd docs\n        pip install -r ./requirements-docs.txt\n    - name: Build documentation\n      run: |\n        cd ./docs\n        ./build.sh\n", "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:19.622615", "created_at": "2023-09-05T07:53:33+02:00", "updated_at": "2023-09-08T06:39:45+02:00", "name": "Poetry Test", "path": ".github/workflows/test-poetry-build.yml", "contents": "name: Poetry Test\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - master\n      - 'releases/**'\n  pull_request:\n    branches:\n      - master\n      - 'releases/**'\njobs:\n  poetry-build-test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org | python -\n          echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n      - name: Create foo package\n        run: |\n          mkdir foo\n          MASTER_REPO_URL=${{ github.server_url }}/${{ github.repository }}\n          REPO_URL=${{ github.event.pull_request.head.repo.html_url }}\n          if [ -z \"$REPO_URL\" ]; then\n            # This is a push, not a PR, so use the repo URL\n            REPO_URL=$MASTER_REPO_URL\n          fi\n          echo Master repo URL: $MASTER_REPO_URL\n          echo Using repo URL: $REPO_URL\n          cat <<EOF > foo/pyproject.toml\n          [tool.poetry]\n          name = \"foo\"\n          version = \"1.0.0\"\n          authors = [\"skypilot-bot\"]\n          description = \"\"\n\n          [tool.poetry.dependencies]\n          python = \"3.10.x\"\n\n          [tool.poetry.group.dev.dependencies]\n          skypilot = {git = \"${REPO_URL}.git\", branch = \"${{ github.head_ref }}\"}\n\n          [build-system]\n          requires = [\"poetry-core\"]\n          build-backend = \"poetry.core.masonry.api\"\n          \n          EOF\n\n      - name: Check poetry lock time\n        run: |\n          cd foo\n          poetry lock --no-update\n        timeout-minutes: 2\n\n\n", "state": "active", "repository": "skypilot-org/skypilot"}
{"mined_at": "2024-07-15T17:38:21.987492", "created_at": "2022-05-10T14:02:38+02:00", "updated_at": "2023-05-01T15:42:42+02:00", "name": "black", "path": ".github/workflows/black.yml", "contents": null, "state": "active", "repository": "graphnet-team/graphnet"}
{"mined_at": "2024-07-15T17:38:23.051259", "created_at": "2022-05-09T12:08:14+02:00", "updated_at": "2023-05-01T15:42:42+02:00", "name": "build-icetray", "path": ".github/workflows/build-icetray.yml", "contents": null, "state": "active", "repository": "graphnet-team/graphnet"}
{"mined_at": "2024-07-15T17:38:24.080404", "created_at": "2022-05-09T12:03:26+02:00", "updated_at": "2023-05-01T15:42:42+02:00", "name": "build-matrix", "path": ".github/workflows/build-matrix.yml", "contents": null, "state": "active", "repository": "graphnet-team/graphnet"}
{"mined_at": "2024-07-15T17:38:25.091027", "created_at": "2021-09-24T11:32:43+02:00", "updated_at": "2022-11-03T20:30:16+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "# This is a simple workflow to run unit tests and code coverage\nname: Build\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push and PRs\n  push:\n  pull_request:\n    branches: [ main ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n\n  check-codeclimate-credentials:\n    name: Check CodeClimate credentials\n    runs-on: ubuntu-latest\n    outputs:\n      has_credentials: ${{ steps.setvar.outputs.has_credentials }}\n    steps:\n      - name: Check secrets\n        id: setvar\n        run: |\n         if [[ \"${{ secrets.CODECLIMATE_TEST_REPORTER_ID }}\" != \"\" ]]; \\\n         then\n           echo \"Credentials to access CodeClimate found\"\n           echo has_credentials=\"true\" >> $GITHUB_OUTPUT\n         else\n           echo \"Credentials to access CodeClimate not found\"\n           echo has_credentials=\"false\" >> $GITHUB_OUTPUT\n         fi\n\n  build-icetray:\n    name: Unit tests - IceTray\n    needs: [ check-codeclimate-credentials ]\n    runs-on: ubuntu-latest\n    container:\n      image: icecube/icetray:icetray-prod-v1.8.1-ubuntu20.04-X64\n      options: --user root\n    steps:\n      - name: install git\n        run: |\n          apt-get --yes install sudo\n          sudo apt update --fix-missing --yes\n          sudo apt upgrade --yes\n          sudo apt-get install --yes git-all\n      - name: Set environment variables\n        run: |\n          echo \"PATH=/usr/local/icetray/bin:$PATH\" >> $GITHUB_ENV\n          echo \"PYTHONPATH=/usr/local/icetray/lib:$PYTHONPATH\" >> $GITHUB_ENV\n          echo \"LD_LIBRARY_PATH=/usr/local/icetray/lib:/usr/local/icetray/cernroot/lib:/usr/local/icetray/lib/tools:$LD_LIBRARY_PATH\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Print available disk space before graphnet install\n        run: df -h\n      - name: Upgrade packages already installed on icecube/icetray\n        run: |\n          pip install --upgrade astropy  # Installed version incompatible with numpy 1.23.0 [https://github.com/astropy/astropy/issues/12534]\n          pip install --ignore-installed PyYAML  # Distutils installed [https://github.com/pypa/pip/issues/5247]\n          pip install --upgrade psutil # Original version from IceTray Environment incompatible\n      - name: Install package\n        uses: ./.github/actions/install\n        with:\n          editable: true\n      - name: Run unit tests and generate coverage report\n        run: |\n          coverage run --source=graphnet -m pytest tests/ --ignore=tests/examples/04_training --ignore=tests/utilities \n          coverage run -a --source=graphnet -m pytest tests/examples/04_training\n          coverage run -a --source=graphnet -m pytest tests/utilities \n          coverage xml -o coverage.xml\n    \n      - name: Work around permission issue\n        run: |\n          git config --global --add safe.directory /__w/graphnet/graphnet\n      - name: Publish code coverage\n        uses: paambaati/codeclimate-action@v3.0.0\n        if: needs.check-codeclimate-credentials.outputs.has_credentials == 'true'\n        env:\n          CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_TEST_REPORTER_ID }}\n        with:\n          coverageCommand: coverage report\n          coverageLocations: coverage.xml:coverage.py\n\n  build-matrix:\n    name: Unit tests - Python versions\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', '3.11']\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Print available disk space before graphnet install\n        run: df -h\n      - name: Install package\n        uses: ./.github/actions/install\n        with:\n          editable: true\n      - name: Print available disk space after graphnet install\n        run: df -h\n      - name: Print packages in pip\n        run: |\n          pip show torch\n          pip show torch-geometric\n          pip show torch-cluster\n          pip show torch-sparse\n          pip show torch-scatter\n      - name: Run unit tests and generate coverage report\n        run: |\n          set -o pipefail  # To propagate exit code from pytest\n          coverage run --source=graphnet -m pytest tests/ --ignore=tests/utilities --ignore=tests/data/ --ignore=tests/deployment/ --ignore=tests/examples/01_icetray/\n          coverage run -a --source=graphnet -m pytest tests/utilities\n          coverage report -m\n      - name: Print available disk space after unit tests\n        run: df -h\n\n  build-macos:\n    name: Unit tests - macOS\n    runs-on: macos-13\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Install package\n        uses: ./.github/actions/install\n        with:\n          editable: true\n          hardware: \"cpu\"\n      - name: Print packages in pip\n        run: |\n            pip show torch\n            pip show torch-geometric\n            pip show torch-cluster\n            pip show torch-sparse\n            pip show torch-scatter\n      - name: Run unit tests and generate coverage report\n        run: |\n          set -o pipefail  # To propagate exit code from pytest\n          coverage run --source=graphnet -m pytest tests/  --ignore=tests/data/ --ignore=tests/deployment/ --ignore=tests/examples/ --ignore=tests/utilities\n          coverage run -a --source=graphnet -m pytest tests/utilities\n          coverage report -m\n\n  docs:\n    name: Documentation Compilation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install package\n        uses: ./.github/actions/install\n      - name: Build documentation\n        run: |\n          cd docs\n          make clean\n          sphinx-apidoc \\\n            --module-first \\\n            --separate \\\n            --force \\\n            -d 2 \\\n            --templatedir=source/_templates/ \\\n            -o source/api ../src/\n          sed -i \"2s/.*/API/\" source/api/graphnet.rst\n          make html\n", "state": "active", "repository": "graphnet-team/graphnet"}
{"mined_at": "2024-07-15T17:38:26.172513", "created_at": "2022-10-28T16:50:55+02:00", "updated_at": "2022-11-03T20:30:16+01:00", "name": "Code quality", "path": ".github/workflows/code-quality.yml", "contents": "# This is a simple workflow to check that all modified files satisfy code\n# quality requirements\nname: Code quality\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push and PRs\n  push:\n  pull_request:\n    branches: [ main ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n\n  pre-commit:\n    name: Pre-commit - ${{ matrix.hook }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        hook: [\"black\", \"flake8\", \"docformatter\", \"pydocstyle\", \"mypy\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install package\n        uses: ./.github/actions/install\n      - name: Run ${{ matrix.hook }}\n        run: |\n          pre-commit run ${{ matrix.hook }} --all-files\n", "state": "active", "repository": "graphnet-team/graphnet"}
{"mined_at": "2024-07-15T17:38:27.176017", "created_at": "2022-06-17T11:30:44+02:00", "updated_at": "2022-11-03T20:30:08+01:00", "name": "Docker", "path": ".github/workflows/docker.yml", "contents": "name: Docker\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push/tag\n  push:\n    branches: [ main ]\n    tags: [ 'v*' ]\n\nenv:\n  IMAGE: asogaard/graphnet\n\njobs:\n  docker:\n    name: Build and Publish Docker Image\n    if: github.repository == 'graphnet-team/graphnet'\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n      contents: read\n    steps:\n      - name: Before Clean-up\n        run: |\n          echo \"Free space:\"\n          df -h\n\n      - name: Free Disk Space\n        uses: jlumbroso/free-disk-space@main\n        with:\n          tool-cache: true\n\n          # all of these default to true, but feel free to set to\n          # false if necessary for your workflow\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: true\n          swap-storage: true\n\n      - name: After Clean-up\n        run: |\n          echo \"Free space:\"\n          df -h\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      - name: Log in to the Container registry\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ${{ env.IMAGE }}\n            ghcr.io/${{ github.repository }}\n      - name: Build and push\n        uses: docker/build-push-action@v3\n        with:\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}", "state": "active", "repository": "graphnet-team/graphnet"}
{"mined_at": "2024-07-15T17:38:28.255453", "created_at": "2021-12-16T09:58:07+01:00", "updated_at": "2022-11-03T20:30:07+01:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "# This is a simple workflow to automatically generate API docs\nname: Docs\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push to the main branch\n  push:\n    branches: [ main ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  docs:\n    name: Build and publish Documentation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install package\n        uses: ./.github/actions/install\n      - name: Build documentation\n        run: |\n          cd docs\n          make clean\n          sphinx-apidoc \\\n            --module-first \\\n            --separate \\\n            --force \\\n            -d 2 \\\n            --templatedir=source/_templates/ \\\n            -o source/api ../src/\n          sed -i \"2s/.*/API/\" source/api/graphnet.rst\n          make html\n      - name: Deploy to Github Pages\n        uses: JamesIves/github-pages-deploy-action@4.1.5\n        with:\n          branch: gh-pages  # The branch the action should deploy to.\n          folder: docs/build/html  # The folder the action should deploy.\n          git-config-email: andreas.sogaard@gmail.com\n          git-config-name: Andreas Søgaard\n", "state": "active", "repository": "graphnet-team/graphnet"}
{"mined_at": "2024-07-15T17:38:29.285609", "created_at": "2022-10-06T12:37:48+02:00", "updated_at": "2022-11-03T20:30:06+01:00", "name": "Paper", "path": ".github/workflows/paper.yml", "contents": "# This is a simple action to generate paper draft PDFs.\nname: Paper\n\non:\n  push:\n    branches: [ main ]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  paper-2022-joss:\n    name: Compile draft PDF\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Build draft PDF\n        uses: openjournals/openjournals-draft-action@master\n        with:\n          journal: joss\n          # This should be the path to the paper within your repo.\n          paper-path: paper/paper.md\n      - name: Upload\n        uses: actions/upload-artifact@v1\n        with:\n          name: paper\n          # This is the output path where Pandoc will write the compiled\n          # PDF. Note, this should be the same directory as the input\n          # paper.md\n          path: paper/paper.pdf", "state": "active", "repository": "graphnet-team/graphnet"}
{"mined_at": "2024-07-15T17:38:30.352925", "created_at": "2021-12-21T08:53:06+01:00", "updated_at": "2021-12-21T08:53:06+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "graphnet-team/graphnet"}
{"mined_at": "2024-07-15T17:38:32.544097", "created_at": "2024-01-22T06:12:16+01:00", "updated_at": "2024-01-22T06:12:16+01:00", "name": "Build and Test", "path": ".github/workflows/build_and_test.yaml", "contents": null, "state": "active", "repository": "qut-motorsport/qutms_driverless"}
{"mined_at": "2024-07-15T17:38:33.627139", "created_at": "2022-07-02T14:54:32+02:00", "updated_at": "2022-07-04T03:26:18+02:00", "name": "pre-commit Check", "path": ".github/workflows/pre_commit.yaml", "contents": "name: pre-commit Check\non: [push]\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n\n      - name: pre-commit\n        run: |\n          pip install pre-commit\n          pre-commit run --all-files --show-diff-on-failure\n", "state": "active", "repository": "qut-motorsport/qutms_driverless"}
{"mined_at": "2024-07-15T17:38:35.709307", "created_at": "2021-08-17T06:24:28+02:00", "updated_at": "2021-08-17T06:24:28+02:00", "name": "Automated Release", "path": ".github/workflows/automated_release.yml", "contents": "name: Automated Release\n\non:\n  push:\n    tags: [ \"v*\" ]\n\n  workflow_dispatch:\n\njobs:\n  tagged-release:\n    if: github.event.base_ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: \"marvinpinto/action-automatic-releases@latest\"\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          prerelease: false\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n         python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n         python setup.py sdist bdist_wheel\n          twine check dist/*\n          twine upload dist/*\n", "state": "active", "repository": "basxsoftwareassociation/bread"}
{"mined_at": "2024-07-15T17:38:36.821841", "created_at": "2021-01-19T09:40:45+01:00", "updated_at": "2021-01-19T09:49:27+01:00", "name": "basxconnect-ci", "path": ".github/workflows/main.yml", "contents": "name: basxconnect-ci\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          # django 3.2\n          - python-version: \"3.7\"\n            django-version: \"Django>=3.2,<4.0\"\n          - python-version: \"3.8\"\n            django-version: \"Django>=3.2,<4.0\"\n          - python-version: \"3.9\"\n            django-version: \"Django>=3.2,<4.0\"\n          - python-version: \"3.10\"\n            django-version: \"Django>=3.2,<4.0\"\n          - python-version: \"3.11\"\n            django-version: \"Django>=3.2,<4.0\"\n          # django 4.0\n          - python-version: \"3.8\"\n            django-version: \"Django>=4.0\"\n          - python-version: \"3.9\"\n            django-version: \"Django>=4.0\"\n          - python-version: \"3.10\"\n            django-version: \"Django>=4.0\"\n          - python-version: \"3.11\"\n            django-version: \"Django>=4.0\"\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade \"${{ matrix.django-version }}\"\n        pip install --upgrade flake8 flake8-black pytest pytest-custom_exit_code black isort bandit safety mypy types-setuptools types-python-dateutil types-requests types-backports setuptools\n        pip install --upgrade -e .[all]\n\n    - name: Lint with flake8\n      run: flake8 . \n\n    - name: Run black --check .\n      run: black --check .\n\n    - name: Run isort --check-only .\n      run: isort --check-only --profile=black .\n\n    - name: Run bandit\n      run: bandit -c .bandit -r . \n\n    - name: Run Safety\n      run: safety check\n\n    - name: Test with pytest\n      run: ./manage.py test\n\n    - name: Check types\n      run: mypy --install-types --non-interactive basxbread\n", "state": "active", "repository": "basxsoftwareassociation/bread"}
{"mined_at": "2024-07-15T17:38:40.410226", "created_at": "2023-03-06T16:11:54+01:00", "updated_at": "2023-10-06T21:45:08+02:00", "name": "Python testing", "path": ".github/workflows/CI.yaml", "contents": "name: Python testing\n\non:\n  pull_request: \n    branches:\n      - main\n      - dev\n  push:\n    branches:\n      - main\n      - dev\n\njobs:\n  test:\n\n    runs-on: ${{matrix.os}}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\"]\n        os: [ubuntu-latest, macos-latest] # [ubuntu-latest, macos-latest, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip build\n      - name: Install package (Ubuntu)\n        if: startsWith(matrix.os, 'ubuntu')\n        run: |\n          pip install -e .[tests,lint] --no-binary pyzmq\n      - name: Install package (Mac)\n        if: startsWith(matrix.os, 'macos')\n        run: |\n          pip install -e .[tests,lint] \n          \n      - name: Test with pytest\n        run: |\n          python -m pytest --cov=improv \n\n      - name: Coveralls\n        uses: coverallsapp/github-action@v2\n\n\n  check-format:\n    runs-on: ubuntu-latest\n    \n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Install package (Ubuntu)\n        run: |\n          pip install -e .[lint] --no-binary pyzmq\n\n      - name: Check format with Black\n        uses: psf/black@stable\n\n      - name: Check format with flake8\n        run: |\n          pip install flake8\n          flake8 \n\n", "state": "active", "repository": "project-improv/improv"}
{"mined_at": "2024-07-15T17:38:41.536833", "created_at": "2024-01-15T20:27:35+01:00", "updated_at": "2024-01-15T20:27:35+01:00", "name": "build docs", "path": ".github/workflows/docs.yaml", "contents": "name: build docs\n\non:\n  # Trigger the workflow on push to main branch\n  push:\n    branches:\n      - main\n\n# This job installs dependencies, build the book, and pushes it to `gh-pages`\njobs:\n  build-and-deploy-book:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    # Install dependencies\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install -e .[docs]\n\n    # Build the book\n    - name: Build the book\n      run: |\n        jupyter-book build docs\n\n    # Deploy the book's HTML to gh-pages branch\n    - name: GitHub Pages action\n      uses: peaceiris/actions-gh-pages@v3.6.1\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: docs/_build/html", "state": "active", "repository": "project-improv/improv"}
{"mined_at": "2024-07-15T17:38:42.532172", "created_at": "2023-12-22T02:24:46+01:00", "updated_at": "2023-12-31T22:56:55+01:00", "name": "Publish Python 🐍 distribution 📦 to PyPI", "path": ".github/workflows/pypi.yaml", "contents": "# based on https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\nname: Publish Python 🐍 distribution 📦 to PyPI \n\non: \n  push:\n    tags: \n      - 'v[0-9]+.[0-9]+.[0-9]+'\n\njobs:\n  build:\n    name: Build distribution 📦\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install pypa/build\n      run: >-\n        python3 -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: python3 -m build\n    - name: Store the distribution packages\n      uses: actions/upload-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n\n  publish-to-pypi:\n    name: >-\n      Publish Python 🐍 distribution 📦 to PyPI\n    # if: startsWith(github.ref, 'refs/tags/')  # only publish to PyPI on tag pushes\n    needs:\n    - build\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/improv\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  github-release:\n    name: >-\n      Sign the Python 🐍 distribution 📦 with Sigstore\n      and upload them to GitHub Release\n    needs:\n    - publish-to-pypi\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write  # IMPORTANT: mandatory for making GitHub Releases\n      id-token: write  # IMPORTANT: mandatory for sigstore\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Sign the dists with Sigstore\n      uses: sigstore/gh-action-sigstore-python@v1.2.3\n      with:\n        inputs: >-\n          ./dist/*.tar.gz\n          ./dist/*.whl\n    - name: Create GitHub Release\n      env:\n        GITHUB_TOKEN: ${{ github.token }}\n      run: >-\n        gh release create\n        '${{ github.ref_name }}'\n        --repo '${{ github.repository }}'\n        --notes \"\"\n    - name: Upload artifact signatures to GitHub Release\n      env:\n        GITHUB_TOKEN: ${{ github.token }}\n      # Upload to GitHub Release using the `gh` CLI.\n      # `dist/` contains the built packages, and the\n      # sigstore-produced signatures and certificates.\n      run: >-\n        gh release upload\n        '${{ github.ref_name }}' dist/**\n        --repo '${{ github.repository }}'\n", "state": "active", "repository": "project-improv/improv"}
{"mined_at": "2024-07-15T17:38:43.687427", "created_at": "2023-12-22T02:24:47+01:00", "updated_at": "2023-12-31T22:56:55+01:00", "name": "Publish Python 🐍 distribution 📦 to TestPyPI", "path": ".github/workflows/test-pypi.yaml", "contents": "\n# based on https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\nname: Publish Python 🐍 distribution 📦 to TestPyPI\n\non: \n  push:\n    branches:\n      - 'main'\n      - 'dev'\n\njobs:\n  build:\n    name: Build distribution 📦\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install pypa/build\n      run: >-\n        python3 -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: python3 -m build\n    - name: Store the distribution packages\n      uses: actions/upload-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n\n  publish-to-testpypi:\n    name: Publish Python 🐍 distribution 📦 to TestPyPI\n    needs:\n    - build\n    runs-on: ubuntu-latest\n\n    environment:\n      name: testpypi\n      url: https://test.pypi.org/p/improv\n\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution 📦 to TestPyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/", "state": "active", "repository": "project-improv/improv"}
{"mined_at": "2024-07-15T17:38:44.675020", "created_at": "2022-12-28T14:46:51+01:00", "updated_at": "2022-12-28T14:46:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "project-improv/improv"}
{"mined_at": "2024-07-15T17:38:46.861466", "created_at": "2024-04-24T08:27:30+02:00", "updated_at": "2024-04-24T08:27:30+02:00", "name": "documentation", "path": ".github/workflows/docs.yml", "contents": "# GitHub action for the task table generation.\n\nname: documentation\n\non:\n  push:\n    branches: [main]\n\njobs:\n  create-table:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.RELEASE }}\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n\n      - name: Install dependencies\n        run: |\n          make install\n\n      - name: Create table\n        run: python docs/create_tasks_table.py\n    \n      - name: Push table\n        if: github.event_name == 'push'\n        run: |\n          git config --global user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --global user.name \"github-actions[bot]\"\n          # Check if changes exist\n          if git diff --quiet; then\n            echo \"No changes detected\"\n          else\n            git add docs/tasks.md\n            git commit -m \"Update tasks table\"\n            git push\n          fi\n          ", "state": "active", "repository": "embeddings-benchmark/mteb"}
{"mined_at": "2024-07-15T17:38:48.090513", "created_at": "2024-03-24T13:39:32+01:00", "updated_at": "2024-03-24T13:48:07+01:00", "name": "run-linting", "path": ".github/workflows/lint.yml", "contents": "# GitHub action to run linting\n\nname: run-linting\n\non:\n  push:\n    branches: [main]\n  pull_request:\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n\n      - name: Install dependencies\n        run: make install\n\n      - name: Lint\n        id: lint\n        run: |\n          make lint-check\n      \n", "state": "active", "repository": "embeddings-benchmark/mteb"}
{"mined_at": "2024-07-15T17:38:49.319534", "created_at": "2024-04-20T19:31:29+02:00", "updated_at": "2024-04-20T20:41:13+02:00", "name": "mmteb", "path": ".github/workflows/mmteb.yml", "contents": "# GitHub action for the mmteb contributions\n# this way the CI related to the mmteb contributions will be separated from the linting CI\n\nname: mmteb\n\non:\n  push:\n    branches: [main]\n  pull_request:\n\njobs:\n  check-points:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n      \n      - name: Install dependencies\n        run: |\n          pip install jsonlines pydantic\n\n      - name: Validate jsonl points files\n        run: python docs/mmteb/validate_points.py\n\n  create-table:\n    # only run on push to main\n    if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    needs: check-points\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.RELEASE }}\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n\n      - name: Install dependencies\n        run: |\n          pip install pandas tabulate # for the table creation\n\n      - name: Create table\n        run: python docs/mmteb/create_points_table.py\n    \n      - name: Push table\n        run: |\n          git config --global user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --global user.name \"github-actions[bot]\"\n          # Check if changes exist in points_table.md\n          if git diff --quiet; then\n            echo \"No changes detected\"\n          else\n            git add docs/mmteb/points_table.md\n            git commit -m \"Update points table\"\n            git push\n          fi\n          ", "state": "active", "repository": "embeddings-benchmark/mteb"}
{"mined_at": "2024-07-15T17:38:50.343098", "created_at": "2024-03-26T13:35:58+01:00", "updated_at": "2024-03-26T13:35:58+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "# This workflow will\n# - Find the latest version tag based on the commit history\n#   - Create a git tag for the new version\n#   - Update the version number in pyproject.toml based on the commit history\n# - Upload the package to PyPI\n# - Create a release on GitHub\n\n# This workflow required the following secrets to be set:\n# - a GitHub personal access token with the `repo` scope called `RELEASE`\n# - and that you setup trusted publishing using PyPI as described here: https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/\n\nname: Release\non:\n  workflow_run:\n    workflows: [\"test\"]\n    types:\n      - completed\njobs:\n  release:\n    runs-on: ubuntu-latest\n    concurrency: release\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing using PyPI \n\n\n    if: ${{ github.ref == 'refs/heads/main' && github.event.workflow_run.conclusion == 'success'}}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.RELEASE }}\n\n      - name: Python Semantic Release\n        id: release\n        uses: python-semantic-release/python-semantic-release@v8.0.4\n        with:\n          github_token: ${{ secrets.RELEASE }}\n          changelog: \"false\"\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        if: steps.release.outputs.released == 'true'\n        # This action supports PyPI's trusted publishing implementation, which allows authentication to PyPI without a manually \n        # configured API token or username/password combination. To perform trusted publishing with this action, your project's \n        # publisher must already be configured on PyPI.\n\n      - name: Publish package distributions to GitHub Releases\n        uses: python-semantic-release/upload-to-gh-release@main\n        if: steps.release.outputs.released == 'true'\n        with:\n          github_token: ${{ secrets.RELEASE }}\n", "state": "active", "repository": "embeddings-benchmark/mteb"}
{"mined_at": "2024-07-15T17:38:51.503895", "created_at": "2024-03-25T09:29:28+01:00", "updated_at": "2024-03-25T09:46:44+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "# This workflow will:\n# 1) install Python dependencies\n# 2) run make test\n\n\nname: Test\non:\n  push:\n    branches: [main]\n  pull_request:\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest] #, macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n        include:\n          # Add Windows with Python 3.8 only to avoid tests taking too long\n          - os: windows-latest\n            python-version: \"3.8\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n        \n      - name: Install dependencies\n        shell: bash\n        run: |\n          make install-for-tests\n\n      - name: Run tests\n        if: runner.os != 'Windows'\n        shell: bash\n        run: |\n          make test\n\n      - name: Run tests on Windows\n        # Run tests on Windows\n        # this step will run the workflow twice since we have experienced\n        # failures when running on windows when loading the datasets\n        if: runner.os == 'Windows'\n        shell: bash\n        run: |\n          # run the test once and if it fails, run it again\n          # if it fails again, the workflow will fail.\n          # If it passes the first time the test will not run again\n          make test || make test\n\n", "state": "active", "repository": "embeddings-benchmark/mteb"}
{"mined_at": "2024-07-15T17:38:54.849046", "created_at": "2022-09-13T21:27:37+02:00", "updated_at": "2022-10-25T12:38:46+02:00", "name": "Build main branch documentation website", "path": ".github/workflows/build-docs.yml", "contents": "name: Build main branch documentation website\n\non:\n  push:\n    branches: [main]\n\npermissions:\n  contents: write\n\njobs:\n  docs:\n    name: Generate Website\n    runs-on: ubuntu-latest\n    env:\n      SPHINX_GITHUB_CHANGELOG_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n            python-version: '3.9'\n\n      - name: Install dependencies\n        run: pip install -r docs/requirements.txt\n\n      - name: Install Gymnasium\n        run: pip install .[box2d,mujoco,jax] torch\n\n      - name: Build Envs Docs\n        run: python docs/_scripts/gen_mds.py && python docs/_scripts/gen_envs_display.py\n\n      - name: Build\n        run: sphinx-build -b dirhtml -v docs _build\n\n      - name: Move 404\n        run: mv _build/404/index.html _build/404.html\n\n      - name: Update 404 links\n        run: python docs/_scripts/move_404.py _build/404.html\n\n      - name: Remove .doctrees\n        run: rm -r _build/.doctrees\n\n      - name: Upload to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: _build\n          target-folder: main\n          clean: false\n", "state": "active", "repository": "farama-foundation/gymnasium"}
{"mined_at": "2024-07-15T17:38:55.880767", "created_at": "2022-09-08T05:12:43+02:00", "updated_at": "2022-09-08T09:34:17+02:00", "name": "build-publish", "path": ".github/workflows/build-publish.yml", "contents": "# This workflow will build and (if release) publish Python distributions to PyPI\n# For more information see:\n#   - https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n#   - https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n#\n# derived from https://github.com/Farama-Foundation/PettingZoo/blob/e230f4d80a5df3baf9bd905149f6d4e8ce22be31/.github/workflows/build-publish.yml\nname: build-publish\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  release:\n    types: [published]\n\njobs:\n  build-wheels:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n\n    - name: Install dependencies\n      run: python -m pip install --upgrade pip setuptools build\n\n    - name: Build sdist and wheels\n      run: python -m build\n\n    - name: Store wheels\n      uses: actions/upload-artifact@v4\n      with:\n        path: dist\n\n  publish:\n    runs-on: ubuntu-latest\n    needs:\n    - build-wheels\n    if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n    - name: Download dists\n      uses: actions/download-artifact@v4\n      with:\n        name: artifact\n        path: dist\n\n    - name: Publish\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "farama-foundation/gymnasium"}
{"mined_at": "2024-07-15T17:38:56.999326", "created_at": "2022-09-08T04:11:21+02:00", "updated_at": "2022-09-08T04:11:21+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\non: [pull_request, push]\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  build-all:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n      - uses: actions/checkout@v4\n      - run: |\n           docker build -f bin/all-py.Dockerfile \\\n             --build-arg PYTHON_VERSION=${{ matrix.python-version }} \\\n             --tag gymnasium-all-docker .\n      - name: Run tests\n        run: docker run gymnasium-all-docker pytest tests/*\n      - name: Run doctests\n        run: docker run gymnasium-all-docker pytest --doctest-modules gymnasium/\n\n  build-necessary:\n    runs-on:\n      ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - run: |\n           docker build -f bin/necessary-py.Dockerfile \\\n             --build-arg PYTHON_VERSION='3.10' \\\n             --tag gymnasium-necessary-docker .\n      - name: Run tests\n        run: |\n           docker run gymnasium-necessary-docker pytest tests/test_core.py tests/envs/test_envs.py tests/spaces\n", "state": "active", "repository": "farama-foundation/gymnasium"}
{"mined_at": "2024-07-15T17:38:58.140763", "created_at": "2022-10-25T12:38:46+02:00", "updated_at": "2022-10-25T12:38:46+02:00", "name": "Manual Docs Versioning", "path": ".github/workflows/docs-manual-versioning.yml", "contents": "name: Manual Docs Versioning\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n          description: 'Documentation version to create'\n          required: true\n      commit:\n          description: 'Commit used to build the Documentation version'\n          required: false\n      latest:\n          description: 'Latest version'\n          type: boolean\n\npermissions:\n  contents: write\n\njobs:\n  docs:\n    name: Generate Website for new version\n    runs-on: ubuntu-latest\n    env:\n      SPHINX_GITHUB_CHANGELOG_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v4\n        if: inputs.commit == ''\n\n      - uses: actions/checkout@v4\n        if: inputs.commit != ''\n        with:\n          ref: ${{ inputs.commit }}\n\n      - uses: actions/setup-python@v5\n        with:\n            python-version: '3.9'\n\n      - name: Install dependencies\n        run: pip install -r docs/requirements.txt\n\n      - name: Install Gymnasium\n        run: pip install .[box2d,mujoco,jax] torch\n\n      - name: Build Envs Docs\n        run: python docs/_scripts/gen_mds.py && python docs/_scripts/gen_envs_display.py\n\n      - name: Build\n        run: sphinx-build -b dirhtml -v docs _build\n\n      - name: Move 404\n        run: mv _build/404/index.html _build/404.html\n\n      - name: Update 404 links\n        run: python docs/_scripts/move_404.py _build/404.html\n\n      - name: Remove .doctrees\n        run: rm -r _build/.doctrees\n\n      - name: Upload to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: _build\n          target-folder: ${{ inputs.version }}\n          clean: false\n\n      - name: Upload to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4\n        if: inputs.latest\n        with:\n          folder: _build\n          clean-exclude: |\n            *.*.*/\n            main\n", "state": "active", "repository": "farama-foundation/gymnasium"}
{"mined_at": "2024-07-15T17:38:59.566028", "created_at": "2022-10-25T12:38:46+02:00", "updated_at": "2022-10-25T12:38:46+02:00", "name": "Docs Versioning", "path": ".github/workflows/docs-versioning.yml", "contents": "name: Docs Versioning\n\non:\n  push:\n    tags:\n      - 'v?*.*.*'\n      -\npermissions:\n  contents: write\n\njobs:\n  docs:\n    name: Generate Website for new version\n    runs-on: ubuntu-latest\n    env:\n      SPHINX_GITHUB_CHANGELOG_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n            python-version: '3.9'\n\n      - name: Install dependencies\n        run: pip install -r docs/requirements.txt\n\n      - name: Install Gymnasium\n        run: pip install .[box2d,mujoco,jax] torch\n\n      - name: Build Envs Docs\n        run: python docs/_scripts/gen_mds.py && python docs/_scripts/gen_envs_display.py\n\n      - name: Build\n        run: sphinx-build -b dirhtml -v docs _build\n\n      - name: Move 404\n        run: mv _build/404/index.html _build/404.html\n\n      - name: Update 404 links\n        run: python docs/_scripts/move_404.py _build/404.html\n\n      - name: Remove .doctrees\n        run: rm -r _build/.doctrees\n\n      - name: Upload to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: _build\n          target-folder: ${{github.ref_name}}\n          clean: false\n\n      - name: Upload to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4\n        if: ${{ !contains(github.ref_name, 'a') }}\n        with:\n          folder: _build\n          clean-exclude: |\n            *.*.*/\n            main\n", "state": "active", "repository": "farama-foundation/gymnasium"}
{"mined_at": "2024-07-15T17:39:00.790364", "created_at": "2022-09-08T04:11:21+02:00", "updated_at": "2022-09-08T04:11:21+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "# https://pre-commit.com\n# This GitHub Action assumes that the repo contains a valid .pre-commit-config.yaml file.\nname: pre-commit\non:\n  pull_request:\n  push:\n    branches: [main]\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - run: python -m pip install pre-commit\n      - run: python -m pre_commit --version\n      - run: python -m pre_commit run --all-files\n", "state": "active", "repository": "farama-foundation/gymnasium"}
{"mined_at": "2024-07-15T17:39:01.874254", "created_at": "2022-09-14T15:21:21+02:00", "updated_at": "2022-09-14T15:21:21+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "farama-foundation/gymnasium"}
{"mined_at": "2024-07-15T17:39:03.962493", "created_at": "2021-10-07T23:18:24+02:00", "updated_at": "2021-10-07T23:18:24+02:00", "name": "issue-tracker", "path": ".github/workflows/issue-tracker.yml", "contents": "name: issue-tracker\n\non:\n  issues:\n    types: [ assigned ]\n  issue_comment:\n    types: [ created ]\n  pull_request:\n    types: [ closed ]\n\njobs:\n  create_issue_branch_job:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create Issue Branch\n        uses: robvanderleek/create-issue-branch@main\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "rwth-ebc/filip"}
{"mined_at": "2024-07-15T17:39:04.946212", "created_at": "2024-07-15T17:26:56+02:00", "updated_at": "2024-07-15T17:26:56+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "rwth-ebc/filip"}
{"mined_at": "2024-07-15T17:39:05.949988", "created_at": "2024-07-15T10:34:09+02:00", "updated_at": "2024-07-15T10:34:09+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "rwth-ebc/filip"}
{"mined_at": "2024-07-15T17:39:08.058667", "created_at": "2021-12-04T12:33:21+01:00", "updated_at": "2021-12-30T11:24:37+01:00", "name": "black codestyle", "path": ".github/workflows/black_codestyle.yml", "contents": "name: black codestyle\n\non: [pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: set up python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install black==23.3.0 click==8.0.2\n\n      - name: run codestyle\n        run: |\n          black --line-length=120 --check .\n", "state": "active", "repository": "deeppavlov/dream"}
{"mined_at": "2024-07-15T17:39:09.081915", "created_at": "2021-12-04T12:34:10+01:00", "updated_at": "2021-12-30T11:24:37+01:00", "name": "flake8 codestyle", "path": ".github/workflows/flake8_codestyle.yml", "contents": "name: flake8 codestyle\n\non: [pull_request]\n  \njobs:\n  codestyle:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - name: set up python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n    - name: run_codestyle.sh\n      run: |\n        ./bin/run_codestyle.sh DIFF_BRANCH=${BASE_BRANCH}\n      env:\n        BASE_BRANCH: ${{github.base_ref}}\n", "state": "active", "repository": "deeppavlov/dream"}
{"mined_at": "2024-07-15T17:39:11.211092", "created_at": "2023-03-31T22:30:38+02:00", "updated_at": "2023-03-31T22:30:38+02:00", "name": "Send repository dispatch", "path": ".github/workflows/emach-update.yml", "contents": "name: Send repository dispatch\n\n# Trigger events: Manual trigger, or Pushes to develop branch\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - develop\n\njobs:\n  send-dispatch:\n    runs-on: ubuntu-20.04\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n      with:\n        # Number of commits to fetch. 0 indicates all history for all branches and tags.\n        fetch-depth: '0'\n\n    - name: debug\n      run: |\n        whoami\n        pwd\n        cd ~\n        pwd\n        ls -a\n        cd /home/runner/work/eMach/eMach\n\n    - name: Send Dispatch\n      run: |\n        curl -X POST \\\n        -u \"${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}\" \\\n        -H \"Accept: application/vnd.github.everest-preview+json\" \\\n        -H \"Content-Type: application/json\" \\\n        https://api.github.com/repos/Severson-Group/eMachPrivate/actions/workflows/emach-update.yml/dispatches \\\n        --data '{\"ref\": \"develop\"}'\n\n", "state": "active", "repository": "severson-group/emach"}
{"mined_at": "2024-07-15T17:39:13.269871", "created_at": "2023-09-10T08:13:32+02:00", "updated_at": "2023-09-10T10:49:51+02:00", "name": "Comment on Pull Request", "path": ".github/workflows/comment_on_pr.yml", "contents": "name: Comment on Pull Request\n\non:\n  pull_request_target:\n    types: [opened]\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v6\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: 'Greetings! This is an automated message from GitHub Actions. :robot:\\nYour pull request has been received and is awaiting for a review by the repository owner or a maintainer. This may take some time, so please be patient.\\nWhile you wait, you can continue to work on other issues or pull requests, or explore the project further. Or you can simply relax and enjoy your day.\\nThank you for your contribution to this project! You are awesome! :star:'\n            })\n", "state": "active", "repository": "mrinank-bhowmick/python-beginner-projects"}
{"mined_at": "2024-07-15T17:39:14.305436", "created_at": "2022-04-25T08:33:37+02:00", "updated_at": "2022-04-25T08:33:37+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non: [push]\n\njobs:\n  run-linters:\n    name: Run linters\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n\n      - name: Install Python dependencies\n        run: pip install black flake8\n\n      - name: Run linters\n        uses: wearerequired/lint-action@v2\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          black: true\n          auto_fix: true\n", "state": "active", "repository": "mrinank-bhowmick/python-beginner-projects"}
{"mined_at": "2024-07-15T17:39:15.431687", "created_at": "2022-02-11T12:40:46+01:00", "updated_at": "2022-04-07T13:22:20+02:00", "name": ".github/workflows/main.yml", "path": ".github/workflows/main.yml", "contents": "on:\n    push:\n        branches:\n            - main\n\njobs:\n    contrib-readme-job:\n        runs-on: ubuntu-latest\n        name: A job to automate contrib in readme\n        steps:\n            - name: Contribute List\n              uses: akhilmhdh/contributors-readme-action@v2.3.3\n              env:\n                  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "mrinank-bhowmick/python-beginner-projects"}
{"mined_at": "2024-07-15T17:39:17.788018", "created_at": "2020-01-10T06:46:56+01:00", "updated_at": "2020-01-11T16:50:17+01:00", "name": "Python package", "path": "", "contents": null, "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:18.912113", "created_at": "2020-06-03T18:31:42+02:00", "updated_at": "2020-06-03T18:31:42+02:00", "name": "Code scanning - action", "path": ".github/workflows/codeql.yml", "contents": "name: \"Code scanning - action\"\n\non:\n  push:\n  pull_request:\n  schedule:\n    #        ┌───────────── minute (0 - 59)\n    #        │  ┌───────────── hour (0 - 23)\n    #        │  │ ┌───────────── day of the month (1 - 31)\n    #        │  │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │  │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │  │ │ │ │\n    #        │  │ │ │ │\n    #        │  │ │ │ │\n    #        *  * * * *\n    - cron: '0 19 * * 0'\n\njobs:\n  CodeQL-Build:\n\n    # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest\n    runs-on: ubuntu-latest\n    \n    permissions:\n      # required for all workflows\n      security-events: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          # We must fetch at least the immediate parents so that if this is\n          # a pull request then we can checkout the head.\n          fetch-depth: 2\n\n      # If this run was triggered by a pull request event, then checkout\n      # the head of the pull request instead of the merge commit.\n      - run: git checkout HEAD^2\n        if: ${{ github.event_name == 'pull_request' }}\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        # Override language selection by uncommenting this and choosing your languages\n        # with:\n        #   languages: go, javascript, csharp, python, cpp, java\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:20.039638", "created_at": "2019-12-19T11:26:59+01:00", "updated_at": "2022-06-27T15:07:26+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non: [push, pull_request]\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  docs-build:\n    runs-on: ubuntu-latest\n\n    permissions:\n      id-token: write\n      contents: read\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: extractions/setup-just@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n\n    - name: Install dependencies\n      run: |\n        pip install \".[arrow]\" \\\n          -r requirements/requirements-docs.txt \\\n          -r requirements/requirements-mxnet.txt \\\n          -r requirements/requirements-pytorch.txt \\\n          -r requirements/requirements-rotbaum.txt \\\n          -r requirements/requirements-extras-statsforecast.txt\n\n    - name: Install Pandoc\n      run: |\n        sudo apt-get install pandoc\n\n    - name: Build docs\n      run: |\n        SKIP_NOTEBOOKS=${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'pr:docs-build-notebook') }}\n        if [ $SKIP_NOTEBOOKS = true ]; then\n          DOCS_BUILD_MODE=skip\n        else\n          DOCS_BUILD_MODE=release\n        fi\n        echo \"Running in '$DOCS_BUILD_MODE' mode\"\n        just mode=$DOCS_BUILD_MODE docs\n\n    - name: Configure AWS Credentials\n      if: ${{ github.event_name == 'push' && ( github.ref_name == 'dev' || startsWith(github.ref_name, 'v0.')) }}\n      uses: aws-actions/configure-aws-credentials@v2\n      with:\n        role-to-assume: arn:aws:iam::671929771060:role/WebsitePublisher\n        role-session-name: docs-push\n        aws-region: us-east-1\n\n    - name: Publish docs\n      if: ${{ github.event_name == 'push' }}\n      run: |\n        aws s3 sync docs/_build/html s3://gluonts-website/${GITHUB_REF#refs/heads/} --delete --acl bucket-owner-full-control\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:21.229076", "created_at": "2023-02-22T13:16:14+01:00", "updated_at": "2023-02-22T13:55:46+01:00", "name": "Doctests", "path": ".github/workflows/doctests.yaml", "contents": "name: Doctests\n\non: [push, pull_request]\n\njobs:\n  test:\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        python-version: ['3.9']\n        platform: [ubuntu-latest]\n\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install other dependencies\n      run: |\n        pip install -e . \\\n          -r requirements/requirements-test.txt \\\n          -r requirements/requirements-arrow.txt\n    - name: Test with pytest\n      run: |\n        pytest -n2 --doctest-modules \\\n          src/gluonts/core \\\n          src/gluonts/dataset \\\n          src/gluonts/model \\\n          src/gluonts/time_feature \\\n          src/gluonts/zebras \\\n          src/gluonts/maybe.py \\\n          src/gluonts/itertools.py\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:22.226260", "created_at": "2024-04-05T22:07:26+02:00", "updated_at": "2024-04-05T22:49:01+02:00", "name": "Type & license checks", "path": ".github/workflows/just_checks.yml", "contents": null, "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:23.286831", "created_at": "2024-02-20T10:55:57+01:00", "updated_at": "2024-02-20T10:55:57+01:00", "name": "Lint checks by pre-commit", "path": ".github/workflows/lint_precommit.yml", "contents": null, "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:24.351200", "created_at": "2024-02-20T16:31:22+01:00", "updated_at": "2024-05-07T13:59:06+02:00", "name": "Ruff & Docformat", "path": ".github/workflows/lints.yml", "contents": "name: Ruff & Docformat\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        check: [\"ruff\", \"docformatter\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n    - name: Install tools\n      run: pip install \"ruff==0.2.2\" \"docformatter[tomli]==1.5.0\"\n    - name: Ruff (Flake8)\n      if: matrix.check == 'ruff'\n      working-directory: src/\n      run: ruff check .\n    - name: Docformatter\n      if: matrix.check == 'docformatter'\n      run: docformatter --check -r src/\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:25.350459", "created_at": "2020-04-17T02:09:07+02:00", "updated_at": "2023-08-31T10:20:26+02:00", "name": "MXNet nightly", "path": ".github/workflows/mxnet_nightly.yml", "contents": "name: MXNet nightly\n\non:\n  schedule:\n    - cron:  '0 0 * * *'\n\njobs:\n  test-mxnet-nightly:\n\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        python-version: ['3.8']\n        platform: [ubuntu-latest, windows-latest]\n\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install pip==20.2\n        pip install --pre \"mxnet<2\" -f https://dist.mxnet.io/python\n        pip install \"torch==1.10.0\" \"pytorch-lightning~=1.5\" -f https://download.pytorch.org/whl/cpu/torch_stable.html\n        pip install -e \".[shell]\" \\\n          -r requirements/requirements-test.txt \\\n          -r requirements/requirements-extras-sagemaker-sdk.txt \\\n          -r requirements/requirements-extras-m-competitions.txt \\\n          -r requirements/requirements-rotbaum.txt \\\n          -r requirements/requirements-extras-anomaly-evaluation.txt \\\n          -r requirements/requirements-extras-autogluon.txt\n    - name: Test with pytest\n      run: |\n        pytest -m 'not (gpu or serial)' --cov=gluonts --cov-report=term --cov-report xml test\n", "state": "disabled_manually", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:26.324544", "created_at": "2023-09-08T11:39:27+02:00", "updated_at": "2023-09-08T11:39:27+02:00", "name": "Debug git", "path": ".github/workflows/pypi-debug.yml", "contents": null, "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:27.515186", "created_at": "2021-07-05T10:34:49+02:00", "updated_at": "2021-07-05T10:34:49+02:00", "name": "Publish to PyPI", "path": ".github/workflows/pypi.yml", "contents": "name: Publish to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish-to-pypi:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Get tags\n      run: git fetch --tags origin\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        python -m pip install -U pip\n        python -m pip install setuptools wheel\n    - name: Create `dist` folder\n      run: |\n        python setup.py sdist bdist_wheel\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        skip_existing: true\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:28.641448", "created_at": "2020-08-31T17:46:53+02:00", "updated_at": "2024-04-05T22:55:11+02:00", "name": "Style and type checks", "path": ".github/workflows/style_type_checks.yml", "contents": "name: Style and type checks\n\non: [push, pull_request]\n\njobs:\n  style-type-checks:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: extractions/setup-just@v1\n    - uses: actions/setup-python@v4\n    - name: Install dependencies\n      run: |\n        pip install .\n        # todo: install also `black[jupyter]`\n        pip install click \"black==24.02\" \"mypy==1.8.0\" \\\n            types-python-dateutil types-waitress types-PyYAML\n    - name: Style check\n      run: just black\n    - name: Type check\n      run: just mypy\n    - name: Check license headers\n      run: just license\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:29.768014", "created_at": "2020-05-02T02:09:11+02:00", "updated_at": "2023-08-31T10:20:37+02:00", "name": "Test latest release nightly Ubuntu", "path": ".github/workflows/test_release_unix_nightly.yml", "contents": "name: Test latest release nightly Ubuntu\n\non:\n  schedule:\n    - cron:  '0 0 * * *'\n\njobs:\n  test-stable-ubuntu:\n\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        python-version: ['3.8']\n\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Clone and install dependencies\n      run: |\n        git clone https://github.com/awslabs/gluonts --branch $(curl https://api.github.com/repos/awslabs/gluonts/releases/latest | grep tag_name | cut -d : -f 2,3 | tr -d \\\"\\ | tr -d \\,\\ )\n        cd gluon-ts\n        pip install pip==20.2\n        pip install \"mxnet~=1.8.0\" \"torch==1.10.0\" \"pytorch-lightning~=1.5\" \\\n          -f https://download.pytorch.org/whl/cpu/torch_stable.html\n        pip install -e \".[shell]\" \\\n          -r requirements/requirements-test.txt \\\n          -r requirements/requirements-extras-sagemaker-sdk.txt \\\n          -r requirements/requirements-extras-m-competitions.txt \\\n          -r requirements/requirements-rotbaum.txt \\\n          -r requirements/requirements-extras-anomaly-evaluation.txt \\\n          -r requirements/requirements-extras-autogluon.txt\n    - name: Test with pytest\n      run: |\n        cd gluon-ts\n        pytest -m 'not (gpu or serial)' --cov=gluonts --cov-report=term --cov-report xml test\n", "state": "disabled_manually", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:30.895067", "created_at": "2020-05-02T02:06:38+02:00", "updated_at": "2023-08-31T10:20:44+02:00", "name": "Test latest release nightly Windows", "path": ".github/workflows/test_release_win32_nightly.yml", "contents": "name: Test latest release nightly Windows\n\non:\n  schedule:\n    - cron:  '0 0 * * *'\n\njobs:\n  test-stable-windows:\n\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        python-version: ['3.8']\n\n    runs-on: windows-latest\n    steps:\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Clone and install dependencies\n      run: |\n        $tmp=(Invoke-WebRequest -Uri https://api.github.com/repos/awslabs/gluonts/releases/latest).Content | ConvertFrom-Json | Select-Object tag_name\n        $tmp=$tmp.psobject.properties.value.trim() \n        git clone https://github.com/awslabs/gluonts --branch $tmp\n        cd gluon-ts\n        pip install \"mxnet~=1.7.0\" torch \"pytorch-lightning~=1.5\"\n        pip install -e \".[shell]\" \\\n          -r requirements/requirements-test.txt \\\n          -r requirements/requirements-extras-sagemaker-sdk.txt \\\n          -r requirements/requirements-extras-m-competitions.txt \\\n          -r requirements/requirements-rotbaum.txt \\\n          -r requirements/requirements-extras-anomaly-evaluation.txt \\\n          -r requirements/requirements-extras-autogluon.txt\n      shell: powershell\n    - name: Test with pytest\n      run: |\n        cd gluon-ts\n        pytest -m 'not (gpu or serial)' --cov=gluonts --cov-report=term --cov-report xml test\n", "state": "disabled_manually", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:32.012344", "created_at": "2023-02-16T11:58:17+01:00", "updated_at": "2023-02-16T13:51:53+01:00", "name": "Nixtla tests", "path": ".github/workflows/tests-nixtla.yaml", "contents": "name: Nixtla tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        python-version: ['3.8']\n        platform: [ubuntu-latest]\n\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install other dependencies\n      run: |\n        pip install . \\\n          -r requirements/requirements-test.txt \\\n          -r requirements/requirements-extras-statsforecast.txt \\\n          -r requirements/requirements-extras-hierarchicalforecast.txt\n    - name: Test with pytest\n      run: |\n        pytest -n2 --doctest-modules test/ext/statsforecast\n        pytest -n2 --doctest-modules test/ext/hierarchicalforecast\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:33.005519", "created_at": "2021-11-22T14:18:29+01:00", "updated_at": "2021-11-22T20:50:28+01:00", "name": "Nursery Tests", "path": ".github/workflows/tests-nursery.yml", "contents": "name: Nursery Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    strategy:\n      max-parallel: 1\n      fail-fast: false\n      matrix:\n        python-version: ['3.8']\n        platform: [ubuntu-latest]\n\n    runs-on: ${{ matrix.platform }}\n\n    if: contains(github.event.pull_request.labels.*.name, 'pr:test-nursery')\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install MXNet (Linux)\n      if: ${{ runner.os == 'Linux' }}\n      run: pip install mxnet~=1.8.0\n    - name: Install MXNet (Windows)\n      if: ${{ runner.os == 'Windows' }}\n      run: pip install mxnet~=1.7.0\n    - name: Install other dependencies\n      run: |\n        pip install \"torch==1.10.0\" \"pytorch-lightning~=1.5\" \\\n          -f https://download.pytorch.org/whl/cpu/torch_stable.html\n        pip install \n        pip install -e \".[shell]\" \\\n          -r requirements/requirements-test.txt \\\n          -r requirements/requirements-extras-sagemaker-sdk.txt \\\n          -r requirements/requirements-extras-m-competitions.txt \\\n          -r requirements/requirements-rotbaum.txt \\\n          -r requirements/requirements-extras-anomaly-evaluation.txt \\\n          -r requirements/requirements-extras-autogluon.txt\n    - name: Test with pytest\n      run: |\n        pytest -n2 --doctest-modules test/nursery\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:34.117784", "created_at": "2022-08-01T15:44:33+02:00", "updated_at": "2022-08-01T16:23:39+02:00", "name": "Prophet Tests", "path": ".github/workflows/tests-prophet.yaml", "contents": "name: Prophet Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        python-version: ['3.8']\n        platform: [ubuntu-latest]\n\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install other dependencies\n      run: |\n        pip install . \\\n          -r requirements/requirements-test.txt \\\n          -r requirements/requirements-extras-prophet.txt\n    - name: Test with pytest\n      run: |\n        pytest -n2 --doctest-modules test/ext/prophet\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:35.179365", "created_at": "2023-04-20T10:34:29+02:00", "updated_at": "2023-04-20T13:48:27+02:00", "name": "R Tests", "path": ".github/workflows/tests-r.yml", "contents": "name: R Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        python-version: ['3.9']\n        platform: [ubuntu-latest]\n\n    runs-on: ${{ matrix.platform }}\n\n    if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'pr:test-r')\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up R\n      uses: r-lib/actions/setup-r@v2\n      with:\n        r-version: '4.2.3'\n    - name: Install R dependencies\n      run: |\n        wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc\n        sudo add-apt-repository \"deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/\"\n        sudo apt-get install -y \\\n          libcairo-dev \\\n          libedit-dev \\\n          libnlopt-dev \\\n          libxml2-dev \\\n          libcurl4-openssl-dev\n        Rscript -e 'install.packages(c(\"forecast\", \"nnfor\", \"hts\"), repos=\"https://cloud.r-project.org\")'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Python dependencies\n      run: |\n        pip install . \\\n          -r requirements/requirements-test.txt \\\n          -r requirements/requirements-extras-r.txt\n    - name: Test with pytest\n      run: |\n        pytest -n2 test/ext/r_forecast\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:36.196940", "created_at": "2022-10-11T21:48:04+02:00", "updated_at": "2023-02-20T14:42:49+01:00", "name": "StatsForecast tests", "path": ".github/workflows/tests-statsforecast.yaml", "contents": null, "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:37.447705", "created_at": "2021-11-29T10:15:00+01:00", "updated_at": "2021-11-29T17:08:57+01:00", "name": "PyTorch Tests", "path": ".github/workflows/tests-torch.yml", "contents": "name: PyTorch Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10']\n        platform: [ubuntu-latest]\n\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install \".[arrow]\" \\\n          -r requirements/requirements-test.txt \\\n          -r requirements/requirements-extras-m-competitions.txt \\\n          -r requirements/requirements-pytorch.txt \\\n          -r requirements/requirements-extras-cpflows.txt\n    - name: Test with pytest\n      run: |\n        pytest -n2 --doctest-modules --ignore test/nursery test\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:38.462556", "created_at": "2021-11-29T10:15:00+01:00", "updated_at": "2021-11-29T17:08:57+01:00", "name": "XGBoost Tests", "path": ".github/workflows/tests-xgboost.yaml", "contents": "name: XGBoost Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10']\n        platform: [ubuntu-latest]\n\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install other dependencies\n      run: |\n        pip install \"Cython<3.0\"\n        pip install . \\\n          -r requirements/requirements-test.txt \\\n          -r requirements/requirements-rotbaum.txt \\\n          -r requirements/requirements-rotbaum-extra-methods.txt\n    - name: Test with pytest\n      run: |\n        pytest -n2 --timeout 120 --doctest-modules test/ext/rotbaum\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:39.702732", "created_at": "2020-04-16T12:08:41+02:00", "updated_at": "2023-02-15T11:06:00+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    strategy:\n      max-parallel: 4\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10']\n        platform: [ubuntu-latest]\n\n    runs-on: ${{ matrix.platform }}\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install other dependencies\n      run: |\n        pip install \".[mxnet,arrow,shell]\" \\\n          -r requirements/requirements-test.txt \\\n          -r requirements/requirements-extras-m-competitions.txt\n    - name: Test with pytest\n      run: |\n        pytest -n2 --doctest-modules --ignore test/nursery test\n", "state": "active", "repository": "awslabs/gluonts"}
{"mined_at": "2024-07-15T17:39:41.953524", "created_at": "2021-10-06T18:12:26+02:00", "updated_at": "2021-10-06T18:12:26+02:00", "name": "Release new EMMOntoPy version", "path": ".github/workflows/cd_publish.yml", "contents": "name: Release new EMMOntoPy version\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    name: External\n    uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.7.4\n    if: github.repository == 'emmo-repo/EMMOntoPy' && startsWith(github.ref, 'refs/tags/v')\n    with:\n      git_username: EMMOntoPy Developers\n      git_email: \"Team4.0@SINTEF.no\"\n      release_branch: master\n\n      # Publish package\n      python_package: true\n      python_version_build: \"3.9\"\n      # We're mentioning only 'ontopy', since the version is set statically only in\n      # ontopy/__init__.py\n      package_dirs: ontopy\n      install_extras: \"[dev]\"\n      build_cmd: \"python -m build\"\n      publish_on_pypi: true\n\n      # Update documentation\n      update_docs: true\n      python_version_docs: \"3.9\"\n      doc_extras: \"[docs]\"\n      changelog_exclude_labels: dependencies\n\n    secrets:\n      PyPI_token: ${{ secrets.PYPI_TOKEN }}\n      PAT: ${{ secrets.RELEASE_PAT }}\n", "state": "active", "repository": "emmo-repo/emmontopy"}
{"mined_at": "2024-07-15T17:39:43.080129", "created_at": "2021-11-10T14:42:28+01:00", "updated_at": "2021-11-10T14:42:28+01:00", "name": "CI - Activate auto-merging for Dependabot PRs", "path": ".github/workflows/ci_automerge_dependabot.yml", "contents": "name: CI - Activate auto-merging for Dependabot PRs\n\non:\n  pull_request_target:\n    branches: [ci/dependabot-updates]\n\njobs:\n  update-dependabot-branch:\n    name: External\n    uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.7.4\n    if: github.repository_owner == 'emmo-repo' && startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]'\n    secrets:\n      PAT: ${{ secrets.RELEASE_PAT }}\n", "state": "active", "repository": "emmo-repo/emmontopy"}
{"mined_at": "2024-07-15T17:39:44.308987", "created_at": "2021-11-10T14:42:28+01:00", "updated_at": "2021-11-10T14:42:28+01:00", "name": "CI/CD - New updates to 'master'", "path": ".github/workflows/ci_cd_updated_master.yml", "contents": "name: CI/CD - New updates to 'master'\n\non:\n  push:\n    branches: [master]\n\njobs:\n  updates-to-master:\n    name: External\n    uses: SINTEF/ci-cd/.github/workflows/ci_cd_updated_default_branch.yml@v2.7.4\n    if: github.repository_owner == 'emmo-repo'\n    with:\n      git_username: EMMOntoPy Developers\n      git_email: \"Team4.0@SINTEF.no\"\n      permanent_dependencies_branch: ci/dependabot-updates\n      default_repo_branch: master\n\n      # Update documentation\n      update_docs: true\n      update_python_api_ref: true\n      update_docs_landing_page: true\n      package_dirs: |\n        emmopy\n        ontopy\n      python_version: \"3.9\"\n      doc_extras: \"[docs]\"\n      special_file_api_ref_options: \"emmopy/emmocheck.py,show_bases: false\"\n      landing_page_replacements: |\n        (LICENSE.txt),(LICENSE.md)\n        (tools),(../tools)\n      changelog_exclude_labels: dependencies\n", "state": "active", "repository": "emmo-repo/emmontopy"}
{"mined_at": "2024-07-15T17:39:45.537510", "created_at": "2021-11-10T14:42:28+01:00", "updated_at": "2021-11-10T14:42:28+01:00", "name": "CI - Single Dependabot PR", "path": ".github/workflows/ci_dependabot.yml", "contents": "name: CI - Single Dependabot PR\n\non:\n  schedule:\n    # At 8:30 every Wednesday (6:30 UTC)\n    # Dependabot runs once a week (every Monday) (pip)\n    # and every day (GH Actions) between 7:00 and 7:30 (5:00-5:30 UTC)\n    - cron: \"30 6 * * 3\"\n  workflow_dispatch:\n\njobs:\n  create-collected-pr:\n    name: External\n    uses: SINTEF/ci-cd/.github/workflows/ci_update_dependencies.yml@v2.7.4\n    if: github.repository_owner == 'emmo-repo'\n    with:\n      git_username: EMMOntoPy Developers\n      git_email: \"Team4.0@SINTEF.no\"\n      permanent_dependencies_branch: ci/dependabot-updates\n      default_repo_branch: master\n      pr_labels: dependencies,github_actions\n      extra_to_dos: \"- [ ] Make sure that the PR is **squash** merged, with a sensible commit message.\"\n      update_pre-commit: true\n      python_version: \"3.9\"\n      install_extras: \"[dev,docs]\"\n      skip_pre-commit_hooks: pylint\n    secrets:\n      PAT: ${{ secrets.RELEASE_PAT }}\n", "state": "active", "repository": "emmo-repo/emmontopy"}
{"mined_at": "2024-07-15T17:39:46.766989", "created_at": "2020-01-08T20:08:29+01:00", "updated_at": "2020-02-16T17:01:34+01:00", "name": "CI Tests", "path": ".github/workflows/ci_workflow.yml", "contents": "name: CI Tests\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n      - 'push-action/**'\n\njobs:\n  tests:\n    name: External\n    uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.7.4\n    with:\n      # General\n      install_extras: \"[dev,docs]\"\n\n      # pre-commit\n      run_pre-commit: true\n      python_version_pre-commit: \"3.9\"\n      skip_pre-commit_hooks: pylint\n\n      # pylint\n      run_pylint: true\n      python_version_pylint_safety: \"3.9\"\n      pylint_options: \"--rcfile=pyproject.toml\"\n      pylint_targets: \"*.py tools emmopy ontopy\"\n\n\n      # safety-specific settings\n      run_safety: true\n      # 48547: RDFLib vulnerability: https://pyup.io/vulnerabilities/PVE-2022-48547/48547/\n      # 44715-44717: NumPy vulnerabilities:\n      #  https://pyup.io/vulnerabilities/CVE-2021-41495/44715/\n      #  https://pyup.io/vulnerabilities/CVE-2021-41496/44716/\n      #  https://pyup.io/vulnerabilities/CVE-2021-34141/44717/\n      # 70612: Jinja2 vulnerability. Only used as subdependency for mkdocs++ in tripper.\n      #  https://data.safetycli.com/v/70612/97c/\n      safety_options: |\n        --ignore=48547\n        --ignore=44715\n        --ignore=44716\n        --ignore=44717\n        --ignore=70612\n\n      # Build distribution\n      run_build_package: true\n      python_version_package: \"3.9\"\n      build_cmd: \"python -m build\"\n\n      # Build documentation\n      # Exclude base classes in emmopy.emmocheck\n      run_build_docs: true\n      python_version_docs: \"3.9\"\n      update_python_api_ref: true\n      update_docs_landing_page: true\n      package_dirs: |\n        emmopy\n        ontopy\n      special_file_api_ref_options: \"emmopy/emmocheck.py,show_bases: false\"\n      landing_page_replacements: |\n        (LICENSE.txt),(LICENSE.md)\n        (tools),(../tools)\n\n\n  pytest:\n    name: pytest\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install system dependencies\n      run: sudo apt-get update && sudo apt-get install -y graphviz openjdk-11-jre-headless\n\n    - name: Install Python dependencies (and EMMOntoPy)\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U setuptools wheel\n        pip install -U -e .[dev]\n\n    - name: Test\n      run: pytest -vvv --cov=ontopy --cov=emmopy --cov-report=xml --cov-report=term --doctest-modules\n\n    - name: Upload coverage to Codecov\n      if: matrix.python-version == '3.9' && github.repository == 'emmo-repo/EMMOntoPy'\n      uses: codecov/codecov-action@v3\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n\n    # - name: Run vertical demo\n    #   run: |\n    #     cd demo/vertical\n    #     python define_ontology.py\n    #     python plot_ontology.py\n    #     cd -\n\n    # - name: Run horizontal demo\n    #   run: |\n    #     cd demo/horizontal\n    #     python step1_generate_metadata.py\n    #     python step2_define_metadata.py\n    #     python step3_instantiate.py\n    #     python step4_map_instance.py\n    #     cd -\n\n\n  ontodoc:\n    name: EMMO documentation (test using ontodoc)\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.9\"\n\n    - name: Check Ubuntu version we are running under\n      run: |\n        uname -a\n        sudo apt-get update\n\n    - name: Current environment\n      run: env\n\n    - name: Install pandoc 2.1.2\n      run: |\n        #sudo apt-get install -y pandoc\n        wget https://github.com/jgm/pandoc/releases/download/2.1.2/pandoc-2.1.2-1-amd64.deb\n        sudo apt-get install -y ./pandoc-2.1.2-1-amd64.deb\n\n    - name: Install tzdata non-interactively\n      run: |\n        sudo ln -fs /usr/share/zoneinfo/Europe/Oslo /etc/localtime\n        DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --no-install-recommends tzdata\n        sudo dpkg-reconfigure --frontend noninteractive tzdata\n\n    - name: Install other dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        sudo apt-get update\n        sudo apt-get install -y graphviz\n        sudo apt-get install -y texlive-xetex\n        sudo apt-get install -y texlive-latex-extra\n\n    - name: Install EMMOntoPy\n      run: |\n        python setup.py install\n\n    - name: Create EMMO documentation\n      run: |\n        cd examples/emmodoc\n        python ../../tools/ontodoc -f simple-html emmo-inferred emmo-simple.html\n        python ../../tools/ontodoc -t emmo.md -p no-self-contained emmo-inferred emmo.html\n        # pdf generation is commented out as there is a xetex error which\n        # needs to be resolved if we decide to keep ontodoc as a tool.\n        # python ../../tools/ontodoc -t emmo.md emmo-inferred emmo.pdf\n        cd -\n", "state": "active", "repository": "emmo-repo/emmontopy"}
{"mined_at": "2024-07-15T17:39:47.761203", "created_at": "2022-01-03T12:44:42+01:00", "updated_at": "2022-01-03T12:44:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "emmo-repo/emmontopy"}
{"mined_at": "2024-07-15T17:39:49.838965", "created_at": "2023-12-19T18:13:02+01:00", "updated_at": "2024-01-10T17:07:56+01:00", "name": "Lint and Build", "path": ".github/workflows/build.yaml", "contents": "name: Lint and Build\non:\n  push:\n    ## do not lint and build when tagged, we just need to build when tagged\n    tags-ignore:\n      - '*'\n    branches:\n      - '*'\n  pull_request:\n    branches: ['main', 'master']\n\njobs:\n  lint-and-build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Shallow clones disabled for a linting job\n\n      - name: Run golangci-lint\n        uses: reviewdog/action-golangci-lint@v2\n        with:\n          golangci_lint_flags: \"--config=./.golangci.yml --timeout=6m0s\"\n          go_version_file: go.mod\n\n      - name: Setup Go\n        uses: actions/setup-go@v4\n        with:\n          go-version-file: go.mod\n\n      - name: Check if go.mod and go.sum are up to date\n        run: |\n          go mod tidy\n          git diff --exit-code go.mod go.sum\n\n      - name: Install dependencies\n        run: go get ./...\n\n      - name: Test\n        run: go test -v ./... --race\n\n      - name: Build\n        run: go build -v ./...\n\n  build-scan-docker-images:\n    runs-on: ubuntu-latest\n    needs: lint-and-build\n    steps:\n      - name: Checkout source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build and tag dev image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile.dev\n          tags: |\n            controlplane/simulator:dev\n          load: true\n          push: false\n\n      - name: Run Trivy vulnerability scanner on the dev image\n        uses: aquasecurity/trivy-action@0.16.0\n        with:\n          image-ref: 'controlplane/simulator:dev'\n          format: 'table'\n          exit-code: '1'\n          vuln-type: 'os,library'\n          severity: 'CRITICAL,HIGH'\n          trivyignores: './.trivy-config/.trivyignore'\n\n      - name: Build and tag simulator image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile\n          tags: controlplane/simulator:${{ github.sha }}\n          load: true\n          push: false\n\n      - name: Run Trivy vulnerability scanner on simulator image\n        uses: aquasecurity/trivy-action@0.16.0\n        with:\n          image-ref: controlplane/simulator:${{ github.sha }}\n          format: 'table'\n          exit-code: '1'\n          vuln-type: 'os,library'\n          severity: 'CRITICAL,HIGH'\n          trivyignores: './.trivy-config/.trivyignore'\n", "state": "active", "repository": "controlplaneio/simulator"}
{"mined_at": "2024-07-15T17:39:50.959661", "created_at": "2019-12-19T11:48:58+01:00", "updated_at": "2024-02-20T02:01:56+01:00", "name": "Hadolint", "path": ".github/workflows/hadolint.yml", "contents": null, "state": "active", "repository": "controlplaneio/simulator"}
{"mined_at": "2024-07-15T17:39:52.033688", "created_at": "2023-12-20T12:29:45+01:00", "updated_at": "2024-01-10T17:07:56+01:00", "name": "release-binary-docker-images", "path": ".github/workflows/release.yaml", "contents": "name: release-binary-docker-images\n\non:\n  push:\n    tags:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n      - \"v2.0.0-alpha1\"\n\npermissions:\n  contents: write\n\njobs:\n  build-push-docker-images:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cache container layers\n        uses: actions/cache@v3\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}${{ matrix.containers.suffix }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}${{ matrix.containers.suffix }}-buildx-\n\n      - name: Checkout source code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and tag dev image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile.dev\n          tags: |\n            controlplane/simulator:dev\n          load: true\n          push: false\n\n      - name: Run Trivy vulnerability scanner on the dev image\n        uses: aquasecurity/trivy-action@0.16.0\n        with:\n          image-ref: 'controlplane/simulator:dev'\n          format: 'table'\n          exit-code: '1'\n          vuln-type: 'os,library'\n          severity: 'CRITICAL,HIGH'\n          trivyignores: './.trivy-config/.trivyignore'\n\n      - name: Build and tag simulator image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile\n          tags: controlplane/simulator:${{ github.ref_name }}\n          load: true\n          push: false\n\n      - name: Run Trivy vulnerability scanner on simulator image\n        uses: aquasecurity/trivy-action@0.16.0\n        with:\n          image-ref: controlplane/simulator:${{ github.ref_name }}\n          format: 'table'\n          exit-code: '1'\n          vuln-type: 'os,library'\n          severity: 'CRITICAL,HIGH'\n          trivyignores: './.trivy-config/.trivyignore'\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          platforms: linux/amd64,linux/arm64\n\n      - name: Build and push dev image ## should use cache image from the previous step\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile.dev\n          tags: 'controlplane/simulator:dev'\n          load: false ## push and load cannot be set at the same time\n          push: true\n\n      - name: pull dev image\n        run: |\n          docker images ls\n          docker pull controlplane/simulator:dev\n          docker images ls\n\n      - name: Build and push simulator image ## should use cache image from the previous step\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile\n          tags: |\n            controlplane/simulator:${{ github.ref_name }}\n            controlplane/simulator:latest\n          load: false\n          push: true\n\n  goreleaser:\n    runs-on: ubuntu-latest\n    name: goreleaser\n    needs: build-push-docker-images\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Go\n        uses: actions/setup-go@v4\n        with:\n          go-version-file: go.mod\n\n      - run: go version\n\n      - uses: anchore/sbom-action/download-syft@v0\n      - name: Run GoReleaser\n        uses: goreleaser/goreleaser-action@v5\n        with:\n          distribution: goreleaser\n          args: release --clean\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "controlplaneio/simulator"}
{"mined_at": "2024-07-15T17:39:53.035369", "created_at": "2019-12-19T11:48:59+01:00", "updated_at": "2024-02-20T02:01:56+01:00", "name": "Shellcheck", "path": ".github/workflows/shellcheck.yml", "contents": null, "state": "active", "repository": "controlplaneio/simulator"}
{"mined_at": "2024-07-15T17:39:54.061608", "created_at": "2019-12-19T11:48:59+01:00", "updated_at": "2024-02-20T02:01:56+01:00", "name": "Terraform Format", "path": ".github/workflows/terraform-fmt.yml", "contents": null, "state": "active", "repository": "controlplaneio/simulator"}
{"mined_at": "2024-07-15T17:39:55.033969", "created_at": "2024-07-15T08:22:00+02:00", "updated_at": "2024-07-15T08:22:00+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "controlplaneio/simulator"}
{"mined_at": "2024-07-15T17:39:57.110517", "created_at": "2023-02-20T11:05:52+01:00", "updated_at": "2023-02-20T11:05:52+01:00", "name": "Mirror to Ebrains", "path": ".github/workflows/mirror-ebrains.yml", "contents": "name: Mirror to Ebrains\n\non:\n  push:\n    branches: [ master ]\n\njobs:\n  to_ebrains:\n    runs-on: ubuntu-latest\n    steps:\n      - name: syncmaster\n        uses: wei/git-sync@v3\n        with:\n          source_repo: \"BlueBrain/NeuroM\"\n          source_branch: \"master\"\n          destination_repo: \"https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/BlueBrain/NeuroM.git\"\n          destination_branch: \"main\"\n      - name: synctags\n        uses: wei/git-sync@v3\n        with:\n          source_repo: \"BlueBrain/NeuroM\"\n          source_branch: \"refs/tags/*\"\n          destination_repo: \"https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/BlueBrain/NeuroM.git\"\n          destination_branch: \"refs/tags/*\"\n", "state": "active", "repository": "bluebrain/neurom"}
{"mined_at": "2024-07-15T17:39:58.337378", "created_at": "2020-11-17T14:26:49+01:00", "updated_at": "2024-02-07T13:00:55+01:00", "name": "PyPI", "path": ".github/workflows/publish-sdist.yml", "contents": "name: PyPI\n\non:\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n\njobs:\n  build-n-publish:\n    name: Build and publish on PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install build\n\n      - name: Build distribution packages\n        run:\n            python -m build\n\n      - name: Publish distribution packages to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "bluebrain/neurom"}
{"mined_at": "2024-07-15T17:39:59.464397", "created_at": "2020-11-17T14:28:25+01:00", "updated_at": "2020-11-17T14:28:25+01:00", "name": "Run all tox python3", "path": ".github/workflows/run-tox.yml", "contents": "name: Run all tox python3\n\non:\n    pull_request:\n    push:\n      branches:\n        - master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools\n        pip install tox-gh-actions\n    - name: Run tox\n      run: |\n        tox\n    - name: Upload to codecov\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: false\n        files: ./coverage.xml\n        flags: pytest\n        name: \"neurom-py${{ matrix.python-version }}\"\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "bluebrain/neurom"}
{"mined_at": "2024-07-15T17:40:02.022033", "created_at": "2022-06-03T10:48:48+02:00", "updated_at": "2022-06-03T10:48:48+02:00", "name": "Check Python code quality", "path": ".github/workflows/_quality-python.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Check Python code quality\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\nenv:\n  # required to get access to use a cached poetry venv in \"/home/runner/.cache/pypoetry/virtualenvs\"\n  POETRY_VIRTUALENVS_IN_PROJECT: false\n  python-version: \"3.9.18\"\n  poetry-version: \"1.7.1\"\njobs:\n  code-quality:\n    defaults:\n      run:\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry==${{ env.poetry-version }}\n      - name: Use Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.python-version }}\n          cache: \"poetry\"\n          cache-dependency-path: |\n            ${{ inputs.working-directory }}/poetry.lock\n      - name: Install packages\n        run: sudo apt update; sudo apt install -y ffmpeg libavcodec-extra libsndfile1\n      - name: Verify consistency of poetry.lock with pyproject.toml\n        run: poetry lock --no-update --check\n      - name: Install dependencies\n        # \"poetry env use\" is required: https://github.com/actions/setup-python/issues/374#issuecomment-1088938718\n        run: |\n          poetry env use \"${{ env.python-version }}\"\n          poetry install\n      - name: Run ruff linter on src\n        run: poetry run ruff check src\n      - name: Run ruff linter on tests\n        run: poetry run ruff check tests --ignore=ARG\n      - name: Run ruff formatter\n        run: poetry run ruff format --check src tests\n      - name: Run mypy\n        run: poetry run mypy tests src\n      - name: Run bandit\n        run: poetry run bandit -r src\n      #- name: Run pip-audit\n      #  run: bash -c \"poetry run pip-audit --ignore-vuln GHSA-wfm5-v35h-vwf4 --ignore-vuln GHSA-cwvm-v4w8-q58c --ignore-vuln PYSEC-2022-43059 -r <(poetry export -f requirements.txt --with dev | sed '/^kenlm @/d' | sed '/^torch @/d' | sed '/^libapi @/d' | sed '/^libcommon @/d' | sed '/^trec-car-tools @/d' | sed 's/^huggingface-hub @ git.*/huggingface-hub==0.15.1 ; python_full_version == \\\"3.9.18\\\" --hash=sha256:05b0fb0abbf1f625dfee864648ac3049fe225ac4371c7bafaca0c2d3a2f83445 --hash=sha256:a61b7d1a7769fe10119e730277c72ab99d95c48d86a3d6da3e9f3d0f632a4081/')\"\n      # ^ 20231121 - disabled until we upgrade to huggingface-hub@0.20\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:03.560745", "created_at": "2022-06-03T10:48:48+02:00", "updated_at": "2022-06-03T10:48:48+02:00", "name": "Launch Python unit tests", "path": ".github/workflows/_unit-tests-python.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Launch Python unit tests\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\nenv:\n  # required to get access to use a cached poetry venv in \"/home/runner/.cache/pypoetry/virtualenvs\"\n  POETRY_VIRTUALENVS_IN_PROJECT: false\n  mongo-port: \"27017\"\n  mongo-version: \"6.0.9\"\n  python-version: \"3.9.18\"\n  poetry-version: \"1.7.1\"\n  replicaset: \"rs0\"\njobs:\n  unit-tests:\n    defaults:\n      run:\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry==${{ env.poetry-version }}\n      - name: Use Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.python-version }}\n          cache: \"poetry\"\n          cache-dependency-path: |\n            ${{ inputs.working-directory }}/poetry.lock\n      - name: Install packages\n        run: sudo apt update; sudo apt install -y ffmpeg libavcodec-extra libsndfile1\n      - name: Install dependencies\n        # \"poetry env use\" is required: https://github.com/actions/setup-python/issues/374#issuecomment-1088938718\n        run: |\n          poetry env use \"${{ env.python-version }}\"\n          poetry install\n      - name: Launch mongo\n        env:\n          MONGO_PORT: ${{ env.mongo-port }}\n          MONGO_REPLICASET: ${{ env.replicaset }}\n        run: docker compose -f docker-compose-mongo.yml up -d --wait --wait-timeout 20\n        working-directory: ./tools\n      - name: Run unit tests\n        env:\n          CACHE_MONGO_URL: mongodb://localhost:${{ env.mongo-port }}\n          QUEUE_MONGO_URL: mongodb://localhost:${{ env.mongo-port }}\n          DATABASE_MIGRATIONS_MONGO_URL: mongodb://localhost:${{ env.mongo-port }}\n          CI_SPAWNING_TOKEN: ${{ secrets.CI_SPAWNING_TOKEN }}\n          ASSETS_STORAGE_ROOT: /tmp/assets\n          CACHED_ASSETS_STORAGE_ROOT: /tmp/cached-assets\n          S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}\n          S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}\n          CLOUDFRONT_KEY_PAIR_ID: \"K3814DK2QUJ71H\"\n          CLOUDFRONT_PRIVATE_KEY: ${{ secrets.CLOUDFRONT_PRIVATE_KEY }}\n        run: poetry run python -m pytest -s\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:05.096485", "created_at": "2022-06-03T10:48:48+02:00", "updated_at": "2023-05-10T19:16:41+02:00", "name": "e2e", "path": ".github/workflows/e2e.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: e2e\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"e2e/**\"\n      - \"libs/**\"\n      - \"services/**\"\n      - \"docs/source/openapi.json\"\n      - \".github/workflows/_e2e_tests.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/e2e.yml\"\n      - \"tools/Python.mk\"\n      - \"tools/docker-compose-datasets-server.yml\"\n  pull_request:\n    paths:\n      - \"e2e/**\"\n      - \"libs/**\"\n      - \"services/**\"\n      - \"docs/source/openapi.json\"\n      - \".github/workflows/_e2e_tests.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/e2e.yml\"\n      - \"tools/Python.mk\"\n      - \"tools/docker-compose-datasets-server.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: e2e\n  e2e-tests:\n    uses: ./.github/workflows/_e2e_tests.yml\n    secrets: inherit\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:06.427528", "created_at": "2022-06-03T10:48:48+02:00", "updated_at": "2023-05-10T19:05:28+02:00", "name": "services/worker", "path": ".github/workflows/s-worker.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: services/worker\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libcommon/**\"\n      - \"services/worker/**\"\n      - \".github/workflows/s-worker.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libcommon/**\"\n      - \"services/worker/**\"\n      - \".github/workflows/s-worker.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/worker\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/worker\n    secrets: inherit\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:07.861949", "created_at": "2022-06-03T11:55:56+02:00", "updated_at": "2022-10-24T21:05:39+02:00", "name": "Launch end-to-end tests", "path": ".github/workflows/_e2e_tests.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Launch end-to-end tests\non:\n  workflow_call:\nenv:\n  python-version: 3.9.18\n  poetry-version: \"1.7.1\"\n  # required to get access to use a cached poetry venv in \"/home/runner/.cache/pypoetry/virtualenvs\"\n  POETRY_VIRTUALENVS_IN_PROJECT: false\n  working-directory: e2e\n  replicaset: \"rs0\"\n  mongo-port: 27017\njobs:\n  e2e-tests:\n    defaults:\n      run:\n        shell: bash\n        working-directory: e2e\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Build and launch the services (no cache)\n        env:\n          ADMIN_UVICORN_NUM_WORKERS: \"2\"\n          ADMIN_UVICORN_PORT: \"8081\"\n          API_HF_JWT_ALGORITHM: \"EdDSA\"\n          API_HF_JWT_PUBLIC_KEY_URL: \"https://hub-ci.huggingface.co/api/keys/jwt\"\n          # ^ it's not tested in the e2e tests, but it's good to ensure we're able to fetch it at least.\n          ADMIN_HF_TIMEOUT_SECONDS: \"10\"\n          API_HF_TIMEOUT_SECONDS: \"10\"\n          # ^ allow hub-ci to be slow to answer\n          API_UVICORN_NUM_WORKERS: \"2\"\n          API_UVICORN_PORT: \"8080\"\n          ROWS_UVICORN_NUM_WORKERS: \"2\"\n          ROWS_UVICORN_PORT: \"8082\"\n          SEARCH_UVICORN_NUM_WORKERS: \"2\"\n          SEARCH_UVICORN_PORT: \"8083\"\n          SSE_API_UVICORN_NUM_WORKERS: \"2\"\n          SSE_API_UVICORN_PORT: \"8085\"\n          COMMON_HF_ENDPOINT: \"https://hub-ci.huggingface.co\"\n          COMMON_HF_TOKEN: \"hf_app_datasets-server_token\"\n          # ^ hard coded, see e2e/tests/fixtures/hub.py\n          LOG_LEVEL: \"DEBUG\"\n          PARQUET_AND_INFO_COMMITTER_HF_TOKEN: \"hf_app_datasets-server-parquet-converter_token\"\n          DUCKDB_INDEX_COMMITTER_HF_TOKEN: \"hf_app_datasets-server-parquet-converter_token\"\n          PORT_REVERSE_PROXY: \"8000\"\n          PROMETHEUS_MULTIPROC_DIR: \"/tmp\"\n          WORKER_SLEEP_SECONDS: \"1\"\n          MONGO_PORT: ${{ env.mongo-port }}\n          MONGO_REPLICASET: ${{ env.replicaset }}\n          COMMON_BLOCKED_DATASETS: \"DSSUser/blocked-*\"\n          ADMIN_HF_ORGANIZATION: \"valid_org\"\n          E2E_ADMIN_USER_TOKEN: \"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\"\n          # the containers need to access S3 and Cloudfront\n          ASSETS_BASE_URL: \"https://datasets-server-test.us.dev.moon.huggingface.tech/assets\"\n          ASSETS_STORAGE_PROTOCOL: \"s3\"\n          ASSETS_STORAGE_ROOT: \"hf-datasets-server-statics-test/assets\"\n          CACHED_ASSETS_BASE_URL: \"https://datasets-server-test.us.dev.moon.huggingface.tech/cached-assets\"\n          CACHED_ASSETS_STORAGE_PROTOCOL: \"s3\"\n          CACHED_ASSETS_STORAGE_ROOT: \"hf-datasets-server-statics-test/cached-assets\"\n          S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}\n          S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}\n          S3_REGION_NAME: \"us-east-1\"\n          CLOUDFRONT_KEY_PAIR_ID: \"K3814DK2QUJ71H\"\n          CLOUDFRONT_PRIVATE_KEY: ${{ secrets.CLOUDFRONT_PRIVATE_KEY }}\n          HF_HUB_ENABLE_HF_TRANSFER: \"1\"\n        run: docker compose -f docker-compose-datasets-server.yml up -d --wait --wait-timeout 20\n        working-directory: ./tools\n      - name: Install poetry\n        run: pipx install poetry==${{ env.poetry-version }}\n      - name: Use Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.python-version }}\n          cache: \"poetry\"\n          cache-dependency-path: |\n            ${{ env.working-directory }}/poetry.lock\n      - name: Install dependencies\n        run: |\n          poetry env use \"${{ env.python-version }}\"\n          poetry install\n      - name: End-to-end tests\n        env:\n          ADMIN_UVICORN_NUM_WORKERS: \"2\"\n          ADMIN_UVICORN_PORT: \"8081\"\n          API_HF_JWT_ALGORITHM: \"EdDSA\"\n          API_HF_JWT_PUBLIC_KEY_URL: \"https://hub-ci.huggingface.co/api/keys/jwt\"\n          # ^ it's not tested in the e2e tests, but it's good to ensure we're able to fetch it at least.\n          ADMIN_HF_TIMEOUT_SECONDS: \"10\"\n          API_HF_TIMEOUT_SECONDS: \"10\"\n          # ^ allow hub-ci to be slow to answer\n          API_UVICORN_NUM_WORKERS: \"2\"\n          API_UVICORN_PORT: \"8080\"\n          ROWS_UVICORN_NUM_WORKERS: \"2\"\n          ROWS_UVICORN_PORT: \"8082\"\n          SEARCH_UVICORN_NUM_WORKERS: \"2\"\n          SEARCH_UVICORN_PORT: \"8083\"\n          SSE_API_UVICORN_NUM_WORKERS: \"2\"\n          SSE_API_UVICORN_PORT: \"8085\"\n          COMMON_HF_ENDPOINT: \"https://hub-ci.huggingface.co\"\n          COMMON_HF_TOKEN: \"hf_app_datasets-server_token\"\n          # ^ hard coded, see e2e/tests/fixtures/hub.py\n          LOG_LEVEL: \"DEBUG\"\n          PARQUET_AND_INFO_COMMITTER_HF_TOKEN: \"hf_app_datasets-server-parquet-converter_token\"\n          DUCKDB_INDEX_COMMITTER_HF_TOKEN: \"hf_app_datasets-server-parquet-converter_token\"\n          PORT_REVERSE_PROXY: \"8000\"\n          PROMETHEUS_MULTIPROC_DIR: \"/tmp\"\n          WORKER_SLEEP_SECONDS: \"1\"\n          COMMON_BLOCKED_DATASETS: \"DSSUser/blocked-*\"\n          ADMIN_HF_ORGANIZATION: \"valid_org\"\n          E2E_ADMIN_USER_TOKEN: \"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\"\n        run: |\n          poetry run python -m pytest -vv -s tests\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:09.192650", "created_at": "2022-07-25T17:18:58+02:00", "updated_at": "2023-05-10T23:50:38+02:00", "name": "services/admin", "path": ".github/workflows/s-admin.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: services/admin\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libcommon/**\"\n      - \"services/admin/**\"\n      - \".github/workflows/s-admin.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libcommon/**\"\n      - \"services/admin/**\"\n      - \".github/workflows/s-admin.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/admin\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/admin\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:10.625850", "created_at": "2022-07-25T17:18:58+02:00", "updated_at": "2023-05-10T23:50:38+02:00", "name": "services/api", "path": ".github/workflows/s-api.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: services/api\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/api/**\"\n      - \".github/workflows/s-api.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/api/**\"\n      - \".github/workflows/s-api.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/api\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/api\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:12.059718", "created_at": "2022-08-05T19:22:35+02:00", "updated_at": "2023-05-10T23:50:38+02:00", "name": "Build PR Documentation", "path": ".github/workflows/doc-pr-build.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Build PR Documentation\n\non:\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - \".github/workflows/doc-pr-build.yml\"\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main\n    with:\n      commit_sha: ${{ github.event.pull_request.head.sha }}\n      pr_number: ${{ github.event.number }}\n      package: datasets-server\n      additional_args: --not_python_module\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:13.343341", "created_at": "2022-08-05T21:28:40+02:00", "updated_at": "2022-08-05T21:28:40+02:00", "name": "Build documentation", "path": ".github/workflows/doc-build.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Build documentation\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"docs/**\"\n      - \".github/workflows/doc-build.yml\"\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main\n    with:\n      commit_sha: ${{ github.sha }}\n      package: datasets-server\n      notebook_folder: datasets-server_doc\n      additional_args: --not_python_module\n    secrets:\n      token: ${{ secrets.HUGGINGFACE_PUSH }}\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:14.610836", "created_at": "2022-08-08T21:32:11+02:00", "updated_at": "2022-08-08T21:32:11+02:00", "name": "Check openapi specification", "path": ".github/workflows/openapi-spec.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Check openapi specification\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"docs/source/openapi.json\"\n      - \".github/workflows/openapi-spec.yml\"\n      - \".spectral.yml\"\n  pull_request:\n    paths:\n      - \"docs/source/openapi.json\"\n      - \".github/workflows/openapi-spec.yml\"\n      - \".spectral.yml\"\njobs:\n  check-openapi-spec-against-spectral:\n    name: Run Spectral\n    runs-on: ubuntu-latest\n    steps:\n      # Check out the repository\n      - uses: actions/checkout@v4\n\n      # Run Spectral\n      - uses: stoplightio/spectral-action@latest\n        with:\n          file_glob: 'docs/source/openapi.json'\n          spectral_ruleset: '.spectral.yml'\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:16.053418", "created_at": "2022-09-15T19:32:50+02:00", "updated_at": "2022-09-15T19:32:50+02:00", "name": "Stale Bot", "path": ".github/workflows/stale.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Stale Bot\n\non:\n  schedule:\n    - cron: \"0 15 * * *\"\n\njobs:\n  close_stale_issues:\n    name: Close Stale Issues\n    if: github.repository == 'huggingface/datasets-server'\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.7\n\n      - name: Install requirements\n        run: |\n          pip install PyGithub\n      - name: Close stale issues\n        run: |\n          python tools/stale.py\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:17.384845", "created_at": "2022-10-20T18:47:09+02:00", "updated_at": "2023-05-10T23:50:38+02:00", "name": "libs/libcommon", "path": ".github/workflows/l-libcommon.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: libs/libcommon\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libcommon/**\"\n      - \".github/workflows/l-libcommon.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libcommon/**\"\n      - \".github/workflows/l-libcommon.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: libs/libcommon\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: libs/libcommon\n    secrets: inherit\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:18.818437", "created_at": "2022-11-14T22:47:03+01:00", "updated_at": "2023-05-10T17:13:35+02:00", "name": "jobs/mongodb_migration", "path": ".github/workflows/j-migration.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: jobs/mongodb_migration\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/mongodb_migration/**\"\n      - \"libs/libcommon/**\"\n      - \".github/workflows/j-migration.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"jobs/mongodb_migration/**\"\n      - \"libs/libcommon/**\"\n      - \".github/workflows/j-migration.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: jobs/mongodb_migration\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: jobs/mongodb_migration\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:20.135418", "created_at": "2023-02-06T17:01:23+01:00", "updated_at": "2023-02-06T17:01:23+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:21.573779", "created_at": "2023-02-24T16:06:09+01:00", "updated_at": "2023-02-24T16:32:34+01:00", "name": "chart PR", "path": ".github/workflows/chart-pr.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: chart PR\non:\n  pull_request:\n    paths:\n      - \"chart/**\"\n      - \".github/workflows/chart-pr.yml\"\njobs:\n  code-quality-helm:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v4\n      - name: Update dependencies\n        run: helm dependencies update\n        working-directory: chart\n      - name: Lint chart with default values\n        run: helm lint\n        working-directory: chart\n      - name: Lint chart with staging values\n        run: helm lint --values env/staging.yaml\n        working-directory: chart\n      - name: Lint chart with prod values\n        run: helm lint --values env/prod.yaml\n        working-directory: chart\n  helm-diff:\n    name: Diff\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Update dependencies\n        run: helm dependencies update\n        working-directory: chart\n      - name: Tailscale\n        uses: tailscale/github-action@main\n        with:\n          authkey: ${{ secrets.TAILSCALE_AUTHKEY }}\n          version: ${{ vars.TAILSCALE_CLIENT_VERSION }}\n      - uses: XciD/argocd-diff-action@master\n        name: ArgoCD Diff\n        with:\n          argocd-server-url: ${{ secrets.ARGO_CD_URL }}\n          argocd-token: ${{ secrets.ARGO_CD_CI_TOKEN }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          argocd-version: v2.6.1\n          argocd-extra-cli-args: --grpc-web --loglevel error\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:22.873985", "created_at": "2023-02-24T16:32:34+01:00", "updated_at": "2023-02-24T16:32:34+01:00", "name": "Continuous deployment", "path": ".github/workflows/cd.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Continuous deployment\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  repository-prefix: huggingface/datasets-server-\n\njobs:\n  build-and-push-images:\n    name: Build and push docker images to public Docker Hub\n    strategy:\n      matrix:\n        include:\n          - directory: jobs\n            project: mongodb_migration\n          - directory: jobs\n            project: cache_maintenance\n          - directory: services\n            project: admin\n          - directory: services\n            project: api\n          - directory: services\n            project: rows\n          - directory: services\n            project: search\n          - directory: services\n            project: sse-api\n          - directory: services\n            project: storage-admin\n          - directory: services\n            project: worker\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Set outputs\n        id: vars\n        run: echo \"sha_short=$(git rev-parse --short HEAD)\" >> $GITHUB_OUTPUT\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.repository-prefix }}${{ matrix.directory }}-${{ matrix.project }}\n          tags: |\n            type=raw,value=sha-${{ steps.vars.outputs.sha_short }}\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ${{ matrix.directory }}/${{ matrix.project }}/Dockerfile\n          build-args: COMMIT=${{ steps.vars.outputs.sha_short }}\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          # see https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#registry-cache\n          cache-from: type=registry,ref=${{ env.repository-prefix }}${{ matrix.directory }}-${{ matrix.project }}:buildcache\n          cache-to: type=registry,ref=${{ env.repository-prefix }}${{ matrix.directory }}-${{ matrix.project }}:buildcache,mode=max\n\n  code-quality-helm:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v4\n      - name: Update dependencies\n        run: helm dependencies update\n        working-directory: chart\n      - name: Lint chart with default values\n        run: helm lint\n        working-directory: chart\n      - name: Lint chart with staging values\n        run: helm lint --values env/staging.yaml\n        working-directory: chart\n      - name: Lint chart with prod values\n        run: helm lint --values env/prod.yaml\n        working-directory: chart\n\n  deploy-staging-and-prod:\n    if: ${{ endsWith(github.ref, '/main') }}\n    runs-on: ubuntu-latest\n    needs: [build-and-push-images]\n    environment: production\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v4\n      - name: Set outputs\n        id: vars\n        run: echo \"sha_short=$(git rev-parse --short HEAD)\" >> $GITHUB_OUTPUT\n      - name: Gen values\n        run: |\n          VALUES=$(cat <<-END\n            images:\n              jobs:\n                mongodbMigration:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                cacheMaintenance:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n              services:\n                admin:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                api:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                rows:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                search:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                sseApi:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                storageAdmin:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                worker:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n          END\n          )\n          echo \"VALUES=$(echo \"$VALUES\" | yq -o=json | jq tostring)\" >> $GITHUB_ENV\n      - name: Deploy on infra-deployments\n        uses: aurelien-baudet/workflow-dispatch@v2\n        with:\n          workflow: Update application values\n          repo: huggingface/infra-deployments\n          wait-for-completion: true\n          ref: refs/heads/main\n          token: ${{ secrets.ARGO_CD_TOKEN }}\n          inputs: '{\"path\": \"datasets-server/*.yaml\", \"values\": ${{ env.VALUES }}, \"url\": \"${{ github.event.head_commit.url }}\"}'\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:24.231019", "created_at": "2023-04-06T00:02:33+02:00", "updated_at": "2023-05-10T19:16:41+02:00", "name": "jobs/cache_maintenance", "path": ".github/workflows/j-cache-maintenance.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: jobs/cache_maintenance\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/cache_maintenance/**\"\n      - \"libs/libcommon/**\"\n      - \".github/workflows/j-cache-maintenance.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"jobs/cache_maintenance/**\"\n      - \"libs/libcommon/**\"\n      - \".github/workflows/j-cache-maintenance.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: jobs/cache_maintenance\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: jobs/cache_maintenance\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:25.638277", "created_at": "2023-06-09T17:30:54+02:00", "updated_at": "2023-06-09T17:30:54+02:00", "name": "Upload PR Documentation", "path": ".github/workflows/doc-pr-upload.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Upload PR Documentation\n\non:\n  workflow_run:\n    workflows: [\"Build PR Documentation\"]\n    types:\n      - completed\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main\n    with:\n      package_name: datasets-server\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n      comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:27.010224", "created_at": "2023-07-04T11:14:38+02:00", "updated_at": "2023-07-04T15:32:21+02:00", "name": "libs/libapi", "path": ".github/workflows/l-libapi.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: libs/libapi\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libapi/**\"\n      - \".github/workflows/l-libapi.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libapi/**\"\n      - \".github/workflows/l-libapi.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: libs/libapi\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: libs/libapi\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:28.444208", "created_at": "2023-07-04T15:44:27+02:00", "updated_at": "2023-07-04T18:26:18+02:00", "name": "services/rows", "path": ".github/workflows/s-rows.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2023 The HuggingFace Authors.\n\nname: services/rows\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/rows/**\"\n      - \".github/workflows/s-rows.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/rows/**\"\n      - \".github/workflows/s-rows.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/rows\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/rows\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:29.879498", "created_at": "2023-07-25T22:42:34+02:00", "updated_at": "2023-08-02T20:52:50+02:00", "name": "services/search", "path": ".github/workflows/s-search.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2023 The HuggingFace Authors.\n\nname: services/search\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/search/**\"\n      - \".github/workflows/s-search.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/search/**\"\n      - \".github/workflows/s-search.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/search\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/search\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:31.190198", "created_at": "2023-09-06T22:50:43+02:00", "updated_at": "2023-09-12T21:41:23+02:00", "name": "services/sse-api", "path": ".github/workflows/s-sse-api.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2023 The HuggingFace Authors.\n\nname: services/sse-api\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/sse-api/**\"\n      - \".github/workflows/s-sse-api.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/sse-api/**\"\n      - \".github/workflows/s-sse-api.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/sse-api\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/sse-api\n", "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:32.561449", "created_at": "2023-09-11T16:15:51+02:00", "updated_at": "2023-09-11T16:15:51+02:00", "name": "services/filter", "path": ".github/workflows/s-filter.yml", "contents": null, "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:33.813456", "created_at": "2024-05-22T14:35:07+02:00", "updated_at": "2024-05-22T17:40:05+02:00", "name": "services/webhook", "path": ".github/workflows/s-webhook.yml", "contents": null, "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:35.043172", "created_at": "2024-06-10T10:57:35+02:00", "updated_at": "2024-06-10T11:18:37+02:00", "name": "Secret Leaks", "path": ".github/workflows/trufflehog.yml", "contents": null, "state": "active", "repository": "huggingface/datasets-server"}
{"mined_at": "2024-07-15T17:40:37.064064", "created_at": "2022-09-01T10:55:52+02:00", "updated_at": "2022-09-05T14:05:25+02:00", "name": "docs build", "path": ".github/workflows/pylake_docs_test.yml", "contents": "name: docs build\n\non: [push]\n\nenv:\n  JUPYTER_PLATFORM_DIRS: \"1\"\n\njobs:\n    build_docs:\n        runs-on: ubuntu-latest\n        steps:\n        - uses: actions/checkout@v4\n          with:\n            lfs: true\n        - name: Set up Python\n          uses: actions/setup-python@v5\n          with:\n              python-version: '3.10'\n              cache: 'pip'\n              cache-dependency-path: setup.py\n        - name: Install dependencies\n          run: |\n            python -m pip install --upgrade pip\n            pip install .\n            pip install -r docs/requirements.txt\n        - name: Build the docs\n          run: |\n            python -m sphinx -W -b html docs build/html\n", "state": "active", "repository": "lumicks/pylake"}
{"mined_at": "2024-07-15T17:40:38.274640", "created_at": "2020-10-28T18:42:56+01:00", "updated_at": "2020-10-28T18:42:56+01:00", "name": "deploy", "path": ".github/workflows/pylake_release.yml", "contents": "name: deploy\n\non:\n  push:\n    tags:\n      - v*\n\nenv:\n  JUPYTER_PLATFORM_DIRS: \"1\"\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        lfs: true\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n        cache: 'pip'\n        cache-dependency-path: setup.py\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Publish to PyPI\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "lumicks/pylake"}
{"mined_at": "2024-07-15T17:40:39.410409", "created_at": "2020-10-27T15:04:02+01:00", "updated_at": "2020-11-03T13:13:51+01:00", "name": "pytest", "path": ".github/workflows/pylake_test.yml", "contents": "name: pytest\n\non: [push]\n\nenv:\n  # See: https://github.com/jupyter/jupyter_core/pull/292#issuecomment-1258284246\n  JUPYTER_PLATFORM_DIRS: \"1\"\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: [\"3.10\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        lfs: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: setup.py\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[notebook]\n    - name: Pytest\n      run: |\n        cd .github/workflows\n        python pylake_test.py\n    - name: Benchmark\n      run: python -c \"import lumicks.pylake as lk; lk.benchmark(repeat=1)\"\n    - name: Black\n      run: |\n        pip install black==23.7.0 isort==5.12.0\n        black --check --diff --color .\n        isort --check-only --diff .\n    - name: flake8\n      run: |\n        pip install flake8 flake8-bugbear\n        flake8 .\n", "state": "active", "repository": "lumicks/pylake"}
{"mined_at": "2024-07-15T17:40:40.537172", "created_at": "2022-09-05T12:01:14+02:00", "updated_at": "2022-09-05T16:05:52+02:00", "name": "no notebook deps", "path": ".github/workflows/pylake_test_no_notebook.yml", "contents": "name: no notebook deps\n\non: [push]\n\nenv:\n  JUPYTER_PLATFORM_DIRS: \"1\"\n\njobs:\n    build_no_nb:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v4\n              with:\n                  lfs: true\n            - name: Set up Python\n              uses: actions/setup-python@v5\n              with:\n                  python-version: '3.10'\n                  cache: 'pip'\n                  cache-dependency-path: setup.py\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install .\n                  pip install -r docs/requirements.txt\n            - name: Pytest\n              run: |\n                  cd .github/workflows\n                  python pylake_test.py\n", "state": "active", "repository": "lumicks/pylake"}
{"mined_at": "2024-07-15T17:40:42.780483", "created_at": "2022-01-26T08:19:30+01:00", "updated_at": "2022-01-26T13:00:46+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yaml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: \"34 21 * * 5\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"javascript\", \"python\"]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "scylladb/sphinx-scylladb-theme"}
{"mined_at": "2024-07-15T17:40:43.886357", "created_at": "2022-02-09T12:52:47+01:00", "updated_at": "2022-02-09T12:52:47+01:00", "name": "Docs / Publish", "path": ".github/workflows/docs-pages.yaml", "contents": "name: \"Docs / Publish\"\n# For more information,\n# see https://sphinx-theme.scylladb.com/stable/deployment/production.html#available-workflows\n\non:\n  push:\n    branches:\n      - master\n      - 'branch-**'\n    paths:\n      - \"docs/**\"\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.repository.default_branch }}\n          persist-credentials: false\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Set up env\n        run: make -C docs setupenv\n\n      - name: Build docs\n        run: make -C docs multiversion\n\n      - name: Build redirects\n        run: make -C docs redirects\n\n      - name: Tar folder\n        run: |\n          tar \\\n            --dereference --hard-dereference \\\n            --directory docs/_build/dirhtml/ \\\n            -cvf ${{ runner.temp }}/artifact.tar \\\n            .\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: github-pages\n          path: ${{ runner.temp }}/artifact.tar\n          retention-days: \"1\"\n\n  release:\n    # Add a dependency to the build job\n    needs: build\n\n    # Grant GITHUB_TOKEN the permissions required to make a Pages deployment\n    permissions:\n      pages: write # to deploy to Pages\n      id-token: write # to verify the deployment originates from an appropriate source\n      contents: read # to read private repo\n\n    # Deploy to the github-pages environment\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    # Specify runner + deployment step\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "scylladb/sphinx-scylladb-theme"}
{"mined_at": "2024-07-15T17:40:45.018651", "created_at": "2022-02-09T12:52:47+01:00", "updated_at": "2022-02-09T12:52:47+01:00", "name": "Docs / Build PR", "path": ".github/workflows/docs-pr.yaml", "contents": "name: \"Docs / Build PR\"\n# For more information,\n# see https://sphinx-theme.scylladb.com/stable/deployment/production.html#available-workflows\n\non:\n  pull_request:\n    branches:\n      - master\n    paths:\n      - \"docs/**\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Set up env\n        run: make -C docs setupenv\n\n      - name: Build docs\n        run: make -C docs test\n", "state": "active", "repository": "scylladb/sphinx-scylladb-theme"}
{"mined_at": "2024-07-15T17:40:46.159608", "created_at": "2022-03-09T13:07:40+01:00", "updated_at": "2022-03-09T13:07:40+01:00", "name": "Docs / Links", "path": ".github/workflows/docs-links.yaml", "contents": "name: \"Docs / Links\"\n# For more information,\n# see https://sphinx-theme.scylladb.com/stable/deployment/production.html#available-workflows\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * 0\" # At 00:00 on Sunday\n\njobs:\n  linkChecker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Link Checker\n        id: lychee\n        uses: lycheeverse/lychee-action@v1.10.0\n        with:\n          args: --verbose --no-progress './**/*.md' './**/*.rst'\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n\n      - name: Create Issue From File\n        if: ${{ steps.lychee.outputs.exit_code != 0 }}\n        uses: peter-evans/create-issue-from-file@v4\n        with:\n          title: Link Checker Report\n          content-filepath: ./lychee/out.md\n          labels: report, automated issue\n", "state": "active", "repository": "scylladb/sphinx-scylladb-theme"}
{"mined_at": "2024-07-15T17:40:47.288926", "created_at": "2022-03-15T12:44:46+01:00", "updated_at": "2022-03-17T20:02:40+01:00", "name": "Theme / Unit tests", "path": ".github/workflows/theme-tests.yaml", "contents": "name: \"Theme / Unit tests\"\n\non:\n  pull_request:\n    branches:\n      - master\n    paths:\n      - \"sphinx_scylladb_theme/**\"\n  push:\n    branches:\n      - master\n    paths:\n      - \"sphinx_scylladb_theme/**\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.7\n\n      - name: Set up env\n        run: |\n          make -C docs setupenv\n          poetry install\n\n      - name: Run tests\n        run: poetry run pytest .\n", "state": "active", "repository": "scylladb/sphinx-scylladb-theme"}
{"mined_at": "2024-07-15T17:40:48.412288", "created_at": "2022-08-19T19:34:37+02:00", "updated_at": "2022-09-16T11:23:55+02:00", "name": "Sphinx Multiversion Extension / Unit tests", "path": ".github/workflows/multiversion-tests.yaml", "contents": "name: \"Sphinx Multiversion Extension / Unit tests\"\n\non:\n  pull_request:\n    branches:\n      - master\n    paths:\n      - \"extensions/sphinx-multiversion/**\"\n  push:\n    branches:\n      - master\n    paths:\n      - \"extensions/sphinx-multiversion/**\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./extensions/sphinx-multiversion\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.7\n\n      - name: Set up requirements\n        run: python -m pip install -r requirements.txt\n\n      - name: Setup extension\n        run: python setup.py install\n\n      - name: Run tests\n        run: python -m unittest --verbose\n", "state": "active", "repository": "scylladb/sphinx-scylladb-theme"}
{"mined_at": "2024-07-15T17:40:50.665217", "created_at": "2020-10-01T16:58:53+02:00", "updated_at": "2021-04-23T03:03:35+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master]\n  schedule:\n    - cron: '0 0 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python', 'javascript']\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n\n    # If this run was triggered by a pull request event, then checkout\n    # the head of the pull request instead of the merge commit.\n    - run: git checkout HEAD^2\n      if: ${{ github.event_name == 'pull_request' }}\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file. \n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "disabled_inactivity", "repository": "sciebo-rds/sciebo-rds"}
{"mined_at": "2024-07-15T17:40:53.819078", "created_at": "2022-08-12T19:23:30+02:00", "updated_at": "2022-08-12T19:23:30+02:00", "name": "Build and Publish Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Build and Publish Documentation\n\non:\n  push:\n    branches: main\n\njobs:\n  build_docs:\n    name: Build documentation\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v2\n\n      - name: Update packages\n        run: sudo apt-get update\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.11\n\n      - name: Install Dependencies\n        run: pip install -e '.[dev]'\n\n      - name: Remove old documentation\n        run: |\n          rm -rf docs/build\n          rm -rf docs/_autosummary\n\n      - name: Build new documentation\n        run: make docs\n\n      - name: Commit generated documentation\n        run: |\n          cd docs/build\n          git init\n          touch .nojekyll\n          echo 'docs.pylabrobot.org' > CNAME\n          git add -A\n          git config --local user.name \"GitHub Action\"\n          git config --local user.email \"action@github.com\"\n          git commit -m 'deploy docs'\n\n      - name: Push to docs branch\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: docs\n          force: true\n          directory: ./docs/build/\n", "state": "active", "repository": "pylabrobot/pylabrobot"}
{"mined_at": "2024-07-15T17:40:54.817677", "created_at": "2022-09-08T17:06:28+02:00", "updated_at": "2022-09-08T17:06:28+02:00", "name": "Linting", "path": ".github/workflows/lint.yml", "contents": "name: Linting\n\non: [push, pull_request]\n\njobs:\n  lint:\n    name: Linting\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v2\n      - name: Update packages\n        run: sudo apt-get update\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install Dependencies\n        run: pip install -e '.[dev]'\n      - name: Run Pytest\n        run: make lint\n", "state": "active", "repository": "pylabrobot/pylabrobot"}
{"mined_at": "2024-07-15T17:40:55.869355", "created_at": "2022-09-15T03:33:26+02:00", "updated_at": "2022-09-15T03:33:26+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "pylabrobot/pylabrobot"}
{"mined_at": "2024-07-15T17:40:56.947220", "created_at": "2022-08-12T19:23:30+02:00", "updated_at": "2022-08-12T19:23:30+02:00", "name": "Unit Tests", "path": ".github/workflows/test.yml", "contents": "name: Unit Tests\n\non: [push, pull_request]\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        version: [3.8, 3.9, \"3.10\", 3.11, 3.12]\n\n    name: Tests\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v2\n      - name: Update packages\n        run: sudo apt-get update\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.version }}\n      - name: Install Dependencies\n        run: pip install -e '.[dev]'\n      - name: Run Pytest\n        run: make test\n", "state": "active", "repository": "pylabrobot/pylabrobot"}
{"mined_at": "2024-07-15T17:40:57.957221", "created_at": "2022-11-21T21:19:10+01:00", "updated_at": "2022-11-21T21:19:10+01:00", "name": "Type checking", "path": ".github/workflows/typecheck.yml", "contents": "name: Type checking\n\non: [push, pull_request]\n\njobs:\n  typecheck:\n    name: Type checking\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v2\n      - name: Update packages\n        run: sudo apt-get update\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install Dependencies\n        run: pip install -e '.[dev]'\n      - name: Run Pytest\n        run: make typecheck\n", "state": "active", "repository": "pylabrobot/pylabrobot"}
{"mined_at": "2024-07-15T17:40:58.997209", "created_at": "2022-08-16T21:07:20+02:00", "updated_at": "2022-08-16T21:07:20+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pylabrobot/pylabrobot"}
{"mined_at": "2024-07-15T17:41:01.083405", "created_at": "2020-03-19T18:14:29+01:00", "updated_at": "2020-05-13T18:09:02+02:00", "name": "Test & Release", "path": ".github/workflows/main.yml", "contents": "---\nname: Test & Release\n\non:\n  push:\n    branches:\n      - master\n      - main\n      - \"pre/*\"\n\njobs:\n  test:\n    name: Python ${{ matrix.python-version }} tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install .[test]\n          python -m pip install pytest-github-actions-annotate-failures\n\n      - name: pytest\n        id: tests\n        run: |\n          python -m pytest              \\\n            -vv                         \\\n            -nauto                      \\\n            --cov=semantic_release      \\\n            --cov-context=test          \\\n            --cov-report=term-missing   \\\n            --cov-fail-under=80         \\\n            --junit-xml=tests/reports/pytest-results.xml\n\n      - name: Report | Upload Test Results\n        uses: mikepenz/action-junit-report@v4.2.2\n        if: ${{ always() && steps.tests.outcome != 'skipped' }}\n        with:\n          report_paths: ./tests/reports/*.xml\n\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Install mypy & dev packages\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install \".[dev, mypy]\"\n\n      - name: ruff\n        run: |\n          python -m ruff check . \\\n            --config pyproject.toml \\\n            --output-format=full \\\n            --exit-non-zero-on-fix\n\n      - name: mypy\n        run: |\n          python -m mypy --ignore-missing-imports semantic_release\n\n  beautify:\n    name: Beautify\n    runs-on: ubuntu-latest\n    concurrency: push\n    needs: [test, lint]\n    outputs:\n      new_sha: ${{ steps.sha.outputs.SHA }}\n    permissions:\n      id-token: write\n      contents: write\n\n    steps:\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Install Ruff\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install \".[dev]\"\n\n      - name: Format\n        run: |\n          python -m ruff format .\n\n      - name: Commit and push changes\n        uses: github-actions-x/commit@v2.9\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          commit-message: \"style: beautify ${{ github.sha }}\"\n          name: github-actions\n          email: action@github.com\n\n      - name: Get new SHA\n        id: sha\n        run: |\n          new_sha=$(git rev-parse HEAD)\n          echo \"SHA=$new_sha\" >> $GITHUB_OUTPUT\n\n  release:\n    name: Semantic Release\n    runs-on: ubuntu-latest\n    concurrency: push\n    needs: [test, lint, beautify]\n    if: github.repository == 'python-semantic-release/python-semantic-release'\n    environment:\n      name: pypi\n      url: https://pypi.org/project/python-semantic-release/\n    permissions:\n      # https://docs.github.com/en/rest/overview/permissions-required-for-github-apps?apiVersion=2022-11-28#metadata\n      id-token: write\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.ref_name }}\n\n      - name: Python Semantic Release\n        id: release\n        uses: ./\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          root_options: \"-vv\"\n\n      # see https://docs.pypi.org/trusted-publishers/\n      - name: Publish package distributions to PyPI\n        id: pypi-publish\n        # NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.\n        # See https://github.com/actions/runner/issues/1173\n        if: steps.release.outputs.released == 'true'\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          verbose: true\n\n      - name: Publish package distributions to GitHub Releases\n        id: github-release\n\n        # NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.\n        # See https://github.com/actions/runner/issues/1173\n        if: steps.release.outputs.released == 'true'\n        uses: python-semantic-release/upload-to-gh-release@main\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          tag: ${{ steps.release.outputs.tag }}\n", "state": "active", "repository": "python-semantic-release/python-semantic-release"}
{"mined_at": "2024-07-15T17:41:02.236797", "created_at": "2020-04-13T13:40:19+02:00", "updated_at": "2020-04-13T13:40:19+02:00", "name": "Checks", "path": ".github/workflows/pr.yml", "contents": "---\nname: Checks\n\non:\n  pull_request:\n\njobs:\n  test:\n    name: Python ${{ matrix.python-version }} tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install .[test]\n          python -m pip install pytest-github-actions-annotate-failures\n\n      - name: pytest\n        id: tests\n        run: |\n          python -m pytest              \\\n            -vv                         \\\n            -nauto                      \\\n            --cov=semantic_release      \\\n            --cov-context=test          \\\n            --cov-report=term-missing   \\\n            --cov-fail-under=80         \\\n            --junit-xml=tests/reports/pytest-results.xml\n\n      - name: Report | Upload Test Results\n        uses: mikepenz/action-junit-report@v4.2.2\n        if: ${{ always() && steps.tests.outcome != 'skipped' }}\n        with:\n          report_paths: ./tests/reports/*.xml\n\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Install mypy & dev packages\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install \".[dev, mypy]\"\n\n      - name: ruff\n        run: |\n          python -m ruff check . \\\n            --output-format=full \\\n            --exit-non-zero-on-fix\n\n      - name: mypy\n        run: python -m mypy --ignore-missing-imports semantic_release\n\n  commitlint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: wagoid/commitlint-github-action@v6\n", "state": "active", "repository": "python-semantic-release/python-semantic-release"}
{"mined_at": "2024-07-15T17:41:03.318587", "created_at": "2020-05-03T02:09:24+02:00", "updated_at": "2024-03-24T17:15:48+01:00", "name": "Stale Bot", "path": ".github/workflows/stale.yml", "contents": "name: 'Stale Bot'\non:\n  schedule:\n    # Execute Daily at 7:15 AM UTC\n    - cron: '15 7 * * *'\n\n# Default token permissions = None\npermissions: {}\n\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      issues: write\n      pull-requests: write\n      actions: write          # required to delete/update cache\n    env:\n      STALE_ISSUE_WARNING_DAYS: 90\n      STALE_ISSUE_CLOSURE_DAYS: 7\n      STALE_PR_WARNING_DAYS: 60\n      STALE_PR_CLOSURE_DAYS: 10\n      UNRESPONSIVE_WARNING_DAYS: 14\n      UNRESPONSIVE_CLOSURE_DAYS: 7\n      REMINDER_WINDOW: 60\n      OPERATIONS_RATE_LIMIT: 330  # 1000 api/hr / 3 jobs\n    steps:\n\n      - name: Stale Issues/PRs\n        uses: actions/stale@v9\n        with:\n          # default: 30, GitHub Actions API Rate limit is 1000/hr\n          operations-per-run: ${{ env.OPERATIONS_RATE_LIMIT }}\n          # exempt-all-milestones: false (default)\n          # exempt-all-assignees: false (default)\n          stale-issue-label: stale\n          days-before-issue-stale: ${{ env.STALE_ISSUE_WARNING_DAYS }}\n          days-before-issue-close: ${{ env.STALE_ISSUE_CLOSURE_DAYS }}\n          exempt-issue-labels: confirmed, help-wanted\n          stale-issue-message: >\n            This issue is stale because it has not been confirmed or planned by the maintainers\n            and has been open ${{ env.STALE_ISSUE_WARNING_DAYS }} days with no recent activity.\n            It will be closed in ${{ env.STALE_ISSUE_CLOSURE_DAYS }} days, if no further\n            activity occurs. Thank you for your contributions.\n          close-issue-message: >\n            This issue was closed due to lack of activity.\n\n          # PR Configurations\n          stale-pr-label: stale\n          days-before-pr-stale: ${{ env.STALE_PR_WARNING_DAYS }}\n          days-before-pr-close: ${{ env.STALE_PR_CLOSURE_DAYS }}\n          exempt-pr-labels: confirmed, dependabot\n          stale-pr-message: >\n            This PR is stale because it has not been confirmed or considered ready for merge\n            by the maintainers but has been open ${{ env.STALE_PR_WARNING_DAYS }} days with\n            no recent activity. It will be closed in ${{ env.STALE_PR_CLOSURE_DAYS }} days,\n            if no further activity occurs. Please make sure to add the proper testing, docs,\n            and descriptions of changes before your PR can be merged. Thank you for your\n            contributions.\n          close-pr-message: >\n            This PR was closed due to lack of activity.\n\n      - name: Unresponsive Issues/PRs\n        # Closes issues rapidly when submitter is unresponsive. The timer is initiated\n        # by maintainer by placing the awaiting-reply label on the issue or PR. From\n        # that point the submitter has 14 days before a reminder/warning is given. If\n        # no response has been received within 3 weeks, the issue is closed. There are\n        # no exemptions besides removing the awaiting-reply label.\n        uses: actions/stale@v9\n        with:\n          # GitHub Actions API Rate limit is 1000/hr\n          operations-per-run: ${{ env.OPERATIONS_RATE_LIMIT }}\n          only-labels: awaiting-reply\n          stale-issue-label: unresponsive\n          stale-pr-label: unresponsive\n          remove-stale-when-updated: awaiting-reply\n          days-before-stale: ${{ env.UNRESPONSIVE_WARNING_DAYS }}\n          days-before-close: ${{ env.UNRESPONSIVE_CLOSURE_DAYS }}\n          stale-issue-message: >\n            This issue has not received a response in ${{ env.UNRESPONSIVE_WARNING_DAYS }} days.\n            If no response is received in ${{ env.UNRESPONSIVE_CLOSURE_DAYS }} days, it will be\n            closed. We look forward to hearing from you.\n          close-issue-message: >\n            This issue was closed because no response was received.\n          stale-pr-message: >\n            This PR has not received a response in ${{ env.UNRESPONSIVE_WARNING_DAYS }} days.\n            If no response is received in ${{ env.UNRESPONSIVE_CLOSURE_DAYS }} days, it will be\n            closed. We look forward to hearing from you.\n          close-pr-message: >\n            This PR was closed because no response was received.\n\n      - name: Reminders on Confirmed Issues/PRs\n        # Posts a reminder when confirmed issues are not updated in a timely manner.\n        # The timer is initiated by a maintainer by placing the confirmed label on\n        # the issue or PR (which prevents stale closure), however, to prevent it being\n        # forgotten completely, this job will post a reminder message to the maintainers\n        # No closures will occur and there are no exemptions besides removing the confirmed\n        # label.\n        uses: actions/stale@v9\n        with:\n          # GitHub Actions API Rate limit is 1000/hr\n          operations-per-run: ${{ env.OPERATIONS_RATE_LIMIT }}\n          only-labels: confirmed\n          stale-issue-label: needs-update\n          stale-pr-label: needs-update\n          days-before-stale: ${{ env.REMINDER_WINDOW }}\n          days-before-close: -1 # never close\n          stale-issue-message: >\n            It has been ${{ env.REMINDER_WINDOW }} days since the last update on this confirmed\n            issue. @python-semantic-release/team can you provide an update on the status of this\n            issue?\n          stale-pr-message: >\n            It has been ${{ env.REMINDER_WINDOW }} days since the last update on this confirmed\n            PR. @python-semantic-release/team can you provide an update on the status of this PR?\n", "state": "active", "repository": "python-semantic-release/python-semantic-release"}
{"mined_at": "2024-07-15T17:41:04.314356", "created_at": "2023-05-29T18:22:21+02:00", "updated_at": "2023-05-29T18:22:21+02:00", "name": "Test & Release", "path": ".github/workflows/v8.yaml", "contents": null, "state": "active", "repository": "python-semantic-release/python-semantic-release"}
{"mined_at": "2024-07-15T17:41:06.489838", "created_at": "2021-05-13T21:18:58+02:00", "updated_at": "2021-05-13T21:18:58+02:00", "name": "Dockertests", "path": ".github/workflows/dockertests.yml", "contents": "name: Dockertests\n\non:\n  [push]\n\njobs:\n  dockertests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        docker-image: [debian, fedora, ubuntu, redhat]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Setup docker container\n      run: |\n        docker build -t pyfakefs -f $GITHUB_WORKSPACE/.github/workflows/dockerfiles/Dockerfile_${{ matrix.docker-image }} . --build-arg github_repo=$GITHUB_REPOSITORY --build-arg github_branch=$GITHUB_REF_NAME\n    - name: Run tests\n      run: docker run -t pyfakefs\n", "state": "active", "repository": "pytest-dev/pyfakefs"}
{"mined_at": "2024-07-15T17:41:07.507653", "created_at": "2022-10-08T15:23:32+02:00", "updated_at": "2022-10-08T15:23:32+02:00", "name": "release-deploy", "path": ".github/workflows/release-deploy.yml", "contents": "name: release-deploy\n\non:\n  release:\n    types: [ published ]\n\njobs:\n\n  deploy:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [ '3.10' ]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Build package\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install build\n        python -m build\n\n    - name: Publish package to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "pytest-dev/pyfakefs"}
{"mined_at": "2024-07-15T17:41:08.688294", "created_at": "2022-10-16T13:22:46+02:00", "updated_at": "2022-10-16T17:14:43+02:00", "name": "Testsuite", "path": ".github/workflows/testsuite.yml", "contents": "name: Testsuite\n\non:\n  [push, pull_request]\n\njobs:\n  pytype:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: install pytype\n      run: pip install setuptools pytype pytest scandir pathlib2 pandas xlrd django pyarrow\n    - name: Run pytype\n      run: |\n        pytype pyfakefs --keep-going --exclude pyfakefs/tests/* --exclude pyfakefs/pytest_tests/*\n\n  tests:\n    runs-on: ${{ matrix.os }}\n    env:\n      PYTHONWARNDEFAULTENCODING: true\n      PIP_DISABLE_PIP_VERSION_CHECK: 1\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n        python-version: [3.7, 3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - python-version: \"pypy-3.7\"\n            os: ubuntu-latest\n          - python-version: \"pypy-3.9\"\n            os: ubuntu-latest\n          - python-version: \"pypy-3.10\"\n            os: ubuntu-latest\n        exclude:\n          - python-version: 3.7\n            os: macOS-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Get pip cache dir\n      id: pip-cache\n      shell: bash\n      run: |\n        python -m pip install --upgrade pip\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n        echo \"dir=$(pip cache dir)\" >> $env:GITHUB_OUTPUT\n\n    - name: Cache dependencies\n      id: cache-dep\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: ${{ matrix.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/extra_requirements.txt') }}-${{ hashFiles('**/legacy_requirements.txt') }}\n        restore-keys: |\n          ${{ matrix.os }}-${{ matrix.python-version }}-pip-\n\n    - name: Install dependencies\n      run: |\n        pip install setuptools wheel\n        pip install -r requirements.txt\n    - name: Run unit tests without extra packages as non-root user\n      run: |\n        export TEST_REAL_FS=1\n        python -bb -m pyfakefs.tests.all_tests_without_extra_packages\n      shell: bash\n    - name: Run setup.py test (uses pytest)\n      run: |\n        python setup.py test\n      shell: bash\n    - name: Run unit tests without extra packages as root\n      run: |\n        if [[ '${{ matrix.os }}' != 'windows-latest' ]]; then\n          # provide the same path as non-root to get the correct virtualenv\n          sudo env \"PATH=$PATH\" python -m pyfakefs.tests.all_tests_without_extra_packages\n        fi\n      shell: bash\n    - name: Install extra dependencies\n      if: ${{ matrix.python-version != 'pypy-3.10' }}\n      run: |\n        pip install -r extra_requirements.txt\n        pip install -r legacy_requirements.txt\n        pip install zstandard cffi  # needed to test #910\n      shell: bash\n    - name: Run unit tests with extra packages as non-root user\n      if: ${{ matrix.python-version != 'pypy-3.10' }}\n      run: |\n        export PYTHON_ZSTANDARD_IMPORT_POLICY=cffi  # needed to test #910\n        python -m pyfakefs.tests.all_tests\n      shell: bash\n    - name: Run performance tests\n      run: |\n        if [[ '${{ matrix.os }}' != 'macOS-latest' ]]; then\n          export TEST_PERFORMANCE=1\n          python -m pyfakefs.tests.performance_test\n        fi\n      shell: bash\n\n  pytest-test:\n    runs-on: ${{ matrix.os }}\n    env:\n      PIP_DISABLE_PIP_VERSION_CHECK: 1\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n        python-version: [\"3.9\"]\n        pytest-version: [3.0.0, 3.5.1, 4.0.2, 4.5.0, 5.0.1, 5.4.3, 6.0.2, 6.2.5, 7.0.1, 7.4.4, 8.0.2, 8.1.2, 8.2.0]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r requirements.txt\n          python -m pip install -U pytest==${{ matrix.pytest-version }}\n          python -m pip install opentimelineio pandas parquet pyarrow\n          python -m pip install -e .\n          if [[ '${{ matrix.pytest-version }}' == '4.0.2' ]]; then\n             python -m pip install -U attrs==19.1.0\n          fi\n        shell: bash\n      - name: Run pytest tests\n        run: |\n          echo \"$(python -m pytest pyfakefs/pytest_tests/pytest_plugin_failing_helper.py)\" > ./testresult.txt\n          python -m pytest pyfakefs/pytest_tests\n          if [[ '${{ matrix.pytest-version }}' > '3.0.0' ]]; then\n            cd pyfakefs/pytest_tests/ns_package\n            python -m pytest --log-cli-level=INFO test\n          fi\n        shell: bash\n\n  dependency-check:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version:  [\"3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          pip install -r requirements.txt\n          pip install -r extra_requirements.txt\n          pip install -r legacy_requirements.txt\n          pip install pytest-find-dependencies\n      - name: Check dependencies\n        run: python -m pytest --find-dependencies pyfakefs/tests\n        shell: bash\n", "state": "active", "repository": "pytest-dev/pyfakefs"}
{"mined_at": "2024-07-15T17:41:10.986678", "created_at": "2022-01-21T16:36:23+01:00", "updated_at": "2022-01-22T12:43:56+01:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": "name: Lint\n\non: [push, pull_request]\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Extract black version from setup.py\n        run: |\n          echo \"BLACK_VERSION=$(python -c 'from setup import black_version; print(black_version)')\" >> $GITHUB_ENV\n\n      # ensure conformity with https://github.com/mlcommons/GaNDLF/blob/master/setup.py#L77\n      - uses: psf/black@23.11.0\n        with:\n          version: ${{ env.BLACK_VERSION }}\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      \n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install black==${{ env.BLACK_VERSION }}\n      \n      - name: Run tests\n        run: |\n          python -m black --check .\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:12.039921", "created_at": "2023-03-05T14:50:43+01:00", "updated_at": "2023-03-07T03:27:44+01:00", "name": "Check PR title", "path": ".github/workflows/check_pull_request_title.yml", "contents": "name: 'Check PR title'\non:\n  pull_request:\n    types: [edited, opened, synchronize, reopened]\n\njobs:\n  pr-title-check:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.pull_request.user.login != 'allcontributors[bot]' }}\n    steps:\n      - uses: naveenk1223/action-pr-title@master\n        with:\n          # Valid titles: \"Do something\"\n          # Invalid title:\n          # - \"do something\"\n          # - \"Do something.\"\n          # - \"Does something\"\n          # - \"Do\"\n          regex: '^[A-Z][a-zA-Z]*( [a-zA-Z]+)+[^.]$'  # use regex101.com for explanation\n          min_length: 10\n          max_length: 72\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:13.207078", "created_at": "2022-10-19T00:57:17+02:00", "updated_at": "2022-10-19T00:57:17+02:00", "name": "cla-bot", "path": ".github/workflows/cla.yml", "contents": "\nname: \"cla-bot\"\non:\n  issue_comment:\n    types: [created]\n  pull_request_target:\n    types: [opened,closed,synchronize]\n\njobs:\n  cla-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"MLCommons CLA bot check\"\n        if: (github.event.comment.body == 'recheck') || github.event_name == 'pull_request_target'\n        # Alpha Release\n        uses: mlcommons/cla-bot@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # the below token should have repo scope and must be manually added by you in the repository's secret\n          PERSONAL_ACCESS_TOKEN : ${{ secrets.MLCOMMONS_BOT_CLA_TOKEN }}\n        with:\n          path-to-signatures: 'cla-bot/v1/cla.json'\n          # branch should not be protected\n          branch: 'main'\n          allowlist: user1,bot*\n          remote-organization-name: mlcommons\n          remote-repository-name: systems\n          \n         #below are the optional inputs - If the optional inputs are not given, then default values will be taken\n          #remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #remote-repository-name:  enter the  remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)\n          #create-file-commit-message: 'For example: Creating file for storing CLA Signatures'\n          #signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo'\n          #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'\n          #custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'\n          #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:14.227001", "created_at": "2022-03-24T17:34:58+01:00", "updated_at": "2022-03-24T21:36:53+01:00", "name": "Codacy Security Scan", "path": ".github/workflows/codacy.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# This workflow checks out code, performs a Codacy security scan\n# and integrates the results with the\n# GitHub Advanced Security code scanning feature.  For more information on\n# the Codacy security scan action usage and parameters, see\n# https://github.com/codacy/codacy-analysis-cli-action.\n# For more information on Codacy Analysis CLI in general, see\n# https://github.com/codacy/codacy-analysis-cli.\n\nname: Codacy Security Scan\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n\npermissions:\n  contents: read\n\njobs:\n  codacy-security-scan:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n    name: Codacy Security Scan\n    runs-on: ubuntu-latest\n    steps:\n      # Checkout the repository to the GitHub Actions runner\n      - name: Checkout code\n        uses: actions/checkout@v2\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:15.306195", "created_at": "2021-06-17T21:14:39+02:00", "updated_at": "2021-06-17T22:23:49+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '25 5 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:16.340685", "created_at": "2023-03-24T14:37:21+01:00", "updated_at": "2023-03-29T22:18:11+02:00", "name": "Dev-Container CI", "path": ".github/workflows/devcontainer.yml", "contents": "# this CI workflow is to test running a dev container task in a GitHub Action.\nname: Dev-Container CI\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  dev-container-test:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Free space\n      run: |\n        df -h\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf \"$ANDROID_SDK_ROOT\"\n        df -h\n\n    - name: Checkout (GitHub)\n      uses: actions/checkout@v3\n\n    # Use changed-files-specific action to collect file changes.\n    # The following commented condition applied to a step will run that step only if non-docs files have changed.\n    # It should be applied to all functionality-related steps.\n    # if: steps.changed-files-specific.outputs.only_modified == 'false'\n    - name: Detect and screen file changes\n      id: changed-files-specific\n      uses: tj-actions/changed-files@v41\n      with:\n          files: |\n            docs/**\n            *.md\n            LICENSE\n\n    - name: Summarize docs and non-docs modifications\n      run: |\n        echo \"List of docs files that have changed: ${{ steps.changed-files-specific.outputs.all_modified_files }}\"\n        echo \"Changed non-docs files: ${{ steps.changed-files-specific.outputs.other_modified_files }}\"\n    \n    - name: Log into GitHub Packages registry (ghcr.io)\n      if: github.event_name != 'pull_request'\n      uses: docker/login-action@v2\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n    \n    - name: Pre-build dev container image\n      if: github.event_name != 'pull_request' # push when not on PR\n      uses: devcontainers/ci@v0.3\n      with:\n        imageName: ghcr.io/mlcommons/gandlf # This is the image name that will be built and pushed to the registry\n        cacheFrom: ghcr.io/mlcommons/gandlf # This is the image name that will be used as a cache source\n        imageTag: devcontainer # This is the tag that will be used for the image\n        push: always\n    \n    - name: Build and run dev container task\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      uses: devcontainers/ci@v0.3\n      with:\n        imageName: ghcr.io/mlcommons/gandlf # This is the image name that will be built and pushed to the registry\n        cacheFrom: ghcr.io/mlcommons/gandlf # This is the image name that will be used as a cache source\n        imageTag: devcontainer # This is the tag that will be used for the image\n        push: never\n        # Change this to be your CI task/script\n        runCmd: pytest --cov=. --cov-report=xml -k \"generic and not docker\"\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:17.495855", "created_at": "2022-03-18T01:11:44+01:00", "updated_at": "2022-03-18T15:52:17+01:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Docker Image CI\n\non:\n  push:\n    branches: [ master ]\n    tags: [ '*.*.*' ]\n  pull_request:\n    branches: [ master ]\n  workflow_dispatch:\n    inputs:\n      versionTag:\n        description: 'Version tag to push to Docker Hub (lowercase, alphanumeric)'\n        required: true\n        type: string\n        \njobs:\n\n  build_test_push:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      id-token: write\n    strategy:\n      fail-fast: false # So that remaining jobs don't instantly quit if one fails (e.g, CPU/ROCm don't upload if CUDA just fails to push to ghcr...)\n      matrix:\n        include: # Platform locates Dockerfile (\"Dockerfile-{PLATFORM}\"), docker tag has to be all lowercase alphanumeric for mysterious docker reasons\n          - platform: CUDA12.1\n            dockertag: cuda121\n          - platform: CUDA11.8\n            dockertag: cuda118\n          - platform: CPU\n            dockertag: cpu\n          # - platform: ROCm\n          #   dockertag: rocm\n\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@v2\n      with:\n        lfs: true\n        submodules: 'recursive'\n        \n\n    - name: Log in to Docker Hub (docker.io)\n      uses: docker/login-action@v2\n      if: github.event_name != 'pull_request'\n      with:\n        username: ${{ secrets.DOCKER_HUB_USER }} # These two fields need to be set on GitHub under Secrets.\n        password: ${{ secrets.DOCKER_HUB_TOKEN }} # Recommend using a revokable token here.\n        \n    - name: Docker prune to save space # If you switch to self-hosted runners, this should be removed.\n      run: echo y | docker system prune -a\n    \n    \n    # Below steps are for GitHub Packages integration, metadata and signing\n    # See https://github.com/mlcommons/GaNDLF/new/master?filename=.github%2Fworkflows%2Fdocker-publish.yml&workflow_template=docker-publish\n    \n    # Install the cosign tool except on PR\n    # https://github.com/sigstore/cosign-installer\n    - name: Install cosign\n      uses: sigstore/cosign-installer@v3.2.0\n        \n    - name: Log into GitHub Packages registry (ghcr.io)\n      if: github.event_name != 'pull_request'\n      uses: docker/login-action@v2\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n        \n    # Extract metadata (tags, labels) for Docker\n    # https://github.com/docker/metadata-action\n    - name: Extract Docker metadata\n      id: meta\n      uses: docker/metadata-action@v3\n      with:\n        images: docker.io/mlcommons/gandlf, ghcr.io/mlcommons/gandlf # Push to both registries\n        flavor: | # Handle prefixing and \"latest\" generation -- use \"tags\" property to specify events/tags further\n          latest=true\n          suffix=-${{ matrix.dockertag }},onlatest=true\n        tags: |\n          type=semver,pattern={{version}}\n          type=ref,event=branch\n          type=ref,event=pr\n          type=ref,event=tag\n          \n    # Build Docker Image (but don't push yet -- wait for the test step first).\n    # https://github.com/docker/build-push-action\n    - name: Build Docker images\n      id: build\n      uses: docker/build-push-action@v2\n      with:\n        context: .\n        file: ./Dockerfile-${{ matrix.platform }}\n        push: false\n        load: true\n        tags: ${{ steps.meta.outputs.tags }}\n        labels: ${{ steps.meta.outputs.labels }}\n        \n    \n    # Run the image from the base entrypoint as a test\n    - name: Test container with entrypoint\n      # Run a tag we generated from the metadata extraction above -- they're all the same image, but echo it regardless just so we know.\n      run: echo \"Running docker.io/mlcommons/gandlf:latest-${{ matrix.dockertag }} ...\" && docker run --rm docker.io/mlcommons/gandlf:latest-${{ matrix.dockertag }}\n\n    # Push Docker image with Buildx (but don't push on PR)\n    # https://github.com/docker/build-push-action\n    # This won't re-build the images fully or anything, they should already exist from the build step and use the cache.\n    - name: Upload to Docker Hub (docker.io) and GitHub Packages (ghcr.io)\n      id: upload\n      if: github.event_name != 'pull_request'\n      uses: docker/build-push-action@v2\n      with:\n        context: .\n        file: ./Dockerfile-${{ matrix.platform }}\n        push: true\n        tags: ${{ steps.meta.outputs.tags }}\n        labels: ${{ steps.meta.outputs.labels }}\n    \n    # Below is for signing images (keyless) with cosign. But this adds confusing sha256-digest.sig tags to the container registry.\n    # Leave this commented if container signing is not required.\n    # # Sign the resulting Docker image digest except on PRs.\n    # # Uses cosign keyless signing: https://github.com/sigstore/cosign/blob/main/KEYLESS.md\n    # # This will only write to the public Rekor transparency log when the Docker\n    # # repository is public to avoid leaking data.  If you would like to publish\n    # # transparency data even for private images, pass --force to cosign below.\n    # # https://github.com/sigstore/cosign\n    #- name: Sign published Docker image (ghcr.io)\n    #  if: ${{ github.event_name != 'pull_request' }}\n    #  env:\n    #    COSIGN_EXPERIMENTAL: \"true\"\n    #  # This step uses the identity token to provision an ephemeral certificate\n    #  # against the sigstore community Fulcio instance.\n    #  run: cosign sign ghcr.io/cbica/gandlf@${{ steps.upload.outputs.digest }}\n\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:18.723310", "created_at": "2023-03-24T02:56:29+01:00", "updated_at": "2023-03-24T02:56:29+01:00", "name": "docs-ci", "path": ".github/workflows/docs-ci.yml", "contents": "name: docs-ci\non:\n  push:\n    branches:\n      - master\n\npermissions:\n  contents: write\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - run: pip install -r docs/requirements.txt\n      - run: git config --global user.email \"github-actions[bot]@users.noreply.github.com\"\n      - run: git config --global user.name \"github-actions[bot]\"\n      - run: mkdocs gh-deploy --force", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:19.734254", "created_at": "2024-03-15T12:43:45+01:00", "updated_at": "2024-03-15T12:43:45+01:00", "name": "Entrypoints-existence", "path": ".github/workflows/entrypoints-existence.yml", "contents": null, "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:20.768065", "created_at": "2023-03-20T20:52:28+01:00", "updated_at": "2023-03-20T20:52:28+01:00", "name": "Upload Python Package", "path": ".github/workflows/main.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    # This second step is unnecessary but highly recommended because\n    # It will cache database and saves time re-downloading it if database isn't stale.\n    - name: Cache pip\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install scikit-build\n        pip install -e .\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:21.821438", "created_at": "2023-08-09T15:01:41+02:00", "updated_at": "2023-08-14T16:45:59+02:00", "name": "MLCube-Test", "path": ".github/workflows/mlcube-test.yml", "contents": "# This workflow will test gandlf_deploy for model and metrics MLCubes\n\nname: MLCube-Test\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n    \n\njobs:\n  test-deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Free space\n      run: |\n        df -h\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf \"$ANDROID_SDK_ROOT\"\n        df -h\n    - name: Checkout\n      uses: actions/checkout@v3\n    \n    # Use changed-files-specific action to collect file changes.\n    # The following commented condition applied to a step will run that step only if non-docs files have changed.\n    # It should be applied to all functionality-related steps.\n    # if: steps.changed-files-specific.outputs.only_modified == 'false'\n    - name: Detect and screen file changes\n      id: changed-files-specific\n      uses: tj-actions/changed-files@v41\n      with:\n          files: |\n            .github/*.md\n            .github/ISSUE_TEMPLATE/*.md\n            .github/workflows/devcontainer.yml\n            .github/workflows/docker-image.yml\n            .devcontainer/**\n            docs/**\n            mlcube/**\n            *.md\n            LICENSE\n            Dockerfile-*\n\n    - name: Summarize docs and non-docs modifications\n      run: |\n        echo \"List of docs files that have changed: ${{ steps.changed-files-specific.outputs.all_modified_files }}\"\n        echo \"Changed non-docs files: ${{ steps.changed-files-specific.outputs.other_modified_files }}\"\n    \n    # This second step is unnecessary but highly recommended because\n    # It will cache database and saves time re-downloading it if database isn't stale.\n    - name: Cache pip\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python 3.9\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - name: Install dependencies and package\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      run: |\n        sudo apt-get update\n        sudo apt-get install libvips libvips-tools -y\n        python -m pip install --upgrade pip\n        python -m pip install wheel\n        python -m pip install openvino-dev==2023.0.1 mlcube_docker\n        pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu\n        pip install -e .\n    - name: Run mlcube deploy tests\n      working-directory: ./testing\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      run: |\n        sh test_deploy.sh\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:22.842635", "created_at": "2023-03-21T20:08:02+01:00", "updated_at": "2023-03-23T07:07:33+01:00", "name": "OpenFL-Test", "path": ".github/workflows/openfl-test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: OpenFL-Test\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n    \n\njobs:\n  openfl-test:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Free space\n      run: |\n        df -h\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf \"$ANDROID_SDK_ROOT\"\n        df -h\n    - name: Checkout\n      uses: actions/checkout@v3\n    \n    # Use changed-files-specific action to collect file changes.\n    # The following commented condition applied to a step will run that step only if non-docs files have changed.\n    # It should be applied to all functionality-related steps.\n    # if: steps.changed-files-specific.outputs.only_modified == 'false'\n    - name: Detect and screen file changes\n      id: changed-files-specific\n      uses: tj-actions/changed-files@v41\n      with:\n          files: |\n            .github/*.md\n            .github/ISSUE_TEMPLATE/*.md\n            .github/workflows/devcontainer.yml\n            .github/workflows/docker-image.yml\n            .devcontainer/**\n            docs/**\n            mlcube/**\n            *.md\n            LICENSE\n            Dockerfile-*\n\n    - name: Summarize docs and non-docs modifications\n      run: |\n        echo \"List of docs files that have changed: ${{ steps.changed-files-specific.outputs.all_modified_files }}\"\n        echo \"Changed non-docs files: ${{ steps.changed-files-specific.outputs.other_modified_files }}\"\n    \n    # This second step is unnecessary but highly recommended because\n    # It will cache database and saves time re-downloading it if database isn't stale.\n    - name: Cache pip\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python 3.9\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - name: Install dependencies and package\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      run: |\n        sudo apt-get update\n        sudo apt-get install libvips libvips-tools -y\n        python -m pip install --upgrade pip\n        python -m pip install wheel\n        pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu\n        pip install -e .\n    - name: Run generic unit tests to download data and construct CSVs\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      run: |\n        pytest --cov=. --cov-report=xml -k \"prepare_data_for_ci\"\n    # openfl tests start here\n    - name: Run OpenFL tests\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      run: |\n        echo \"Removing onnx because of protobuf version conflict\"\n        pip uninstall onnx -y\n        echo \"Installing OpenFL\"\n        git clone --depth=1 https://github.com/securefederatedai/openfl.git\n        cd openfl\n        git fetch --tags\n        # echo \"Checkout the latest OpenFL tag\"\n        # latestTag=$(git describe --tags \"$(git rev-list --tags --max-count=1)\")\n        # git checkout $latestTag\n        # sed -i -e 's/protobuf==3.19.6/protobuf/g' setup.py ## this should NOT be there\n        pip install -e .\n        cd ..\n        echo \"Copying files to appropriate directories and updated headers\"\n        head -n 1 testing/data/train_2d_rad_segmentation.csv > /home/runner/work/GaNDLF/GaNDLF/openfl/valid.csv\n        tail -n +9 testing/data/train_2d_rad_segmentation.csv >> /home/runner/work/GaNDLF/GaNDLF/openfl/valid.csv\n        head -n 8 testing/data/train_2d_rad_segmentation.csv > /home/runner/work/GaNDLF/GaNDLF/openfl/train.csv\n        sed -i 's/# n_channels: 3/num_channels: 3/g' testing/config_segmentation.yaml\n        config_to_use=$(pwd)/testing/config_segmentation.yaml\n        cd openfl\n        python -m tests.github.test_gandlf --template gandlf_seg_test --fed_workspace aggregator --col1 one --col2 two --rounds-to-train 1 --gandlf_config $config_to_use\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:23.871210", "created_at": "2021-08-03T05:20:34+02:00", "updated_at": "2021-08-03T23:07:15+02:00", "name": "OSSAR", "path": ".github/workflows/ossar-analysis.yml", "contents": "# This workflow integrates a collection of open source static analysis tools\n# with GitHub code scanning. For documentation, or to provide feedback, visit\n# https://github.com/github/ossar-action\nname: OSSAR\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '32 20 * * 3'\n\njobs:\n  OSSAR-Scan:\n    # OSSAR runs on windows-latest.\n    # ubuntu-latest and macos-latest support coming soon\n    runs-on: windows-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Ensure a compatible version of dotnet is installed.\n    # The [Microsoft Security Code Analysis CLI](https://aka.ms/mscadocs) is built with dotnet v3.1.201.\n    # A version greater than or equal to v3.1.201 of dotnet must be installed on the agent in order to run this action.\n    # GitHub hosted runners already have a compatible version of dotnet installed and this step may be skipped.\n    # For self-hosted runners, ensure dotnet version 3.1.201 or later is installed by including this action:\n    # - name: Install .NET\n    #   uses: actions/setup-dotnet@v1\n    #   with:\n    #     dotnet-version: '3.1.x'\n\n      # Run open source static analysis tools\n    - name: Run OSSAR\n      uses: github/ossar-action@v1\n      id: ossar\n\n      # Upload results to the Security tab\n    - name: Upload OSSAR results\n      uses: github/codeql-action/upload-sarif@v1\n      with:\n        sarif_file: ${{ steps.ossar.outputs.sarifFile }}\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:24.918465", "created_at": "2023-03-21T22:38:05+01:00", "updated_at": "2023-03-21T22:38:05+01:00", "name": "Nightly Prerelease Publishing", "path": ".github/workflows/publish-nightly.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Nightly Prerelease Publishing\n\non:\n  workflow_dispatch:  # Allow manual triggers\n  schedule:\n    # Runs every day at 3:07am UTC.\n    - cron: '7 3 * * *'\n\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n          ref: master\n\n    # This second step is unnecessary but highly recommended because\n    # It will cache database and saves time re-downloading it if database isn't stale.\n    - name: Cache pip\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - name: Check dev version\n      run: | # Get current canonical version, append current date as an identifier\n        currentVer=$(python -c \"from GANDLF import version; print(version)\")\n        if [[ $currentVer == *\"dev\"* ]]; then\n          echo \"publish_nightly=true\" >> $GITHUB_ENV\n        else\n          echo \"publish_nightly=false\" >> $GITHUB_ENV\n        fi  \n    - name: Install dependencies\n      if: env.publish_nightly\n      run: |\n        python -m pip install --upgrade pip\n        pip install scikit-build\n        pip install -e .\n        pip install build\n    - name: Annotate version\n      if: env.publish_nightly\n      run: | # Get current canonical version, append current date as an identifier\n        currentVer=$(python -c \"from GANDLF import version; print(version)\")\n        datestampnow=$(date +'%Y%m%d')\n        echo __version__ = \\\"$currentVer$datestampnow\\\" > ./GANDLF/version.py        \n        \n    - name: Build package\n      if: env.publish_nightly\n      run: python -m build\n    - name: Publish package    \n      if: env.publish_nightly\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:25.960517", "created_at": "2023-11-30T22:41:16+01:00", "updated_at": "2023-11-30T23:23:24+01:00", "name": "Install across python versions", "path": ".github/workflows/python-install-check.yml", "contents": "name: Install across python versions\n\non: [push, pull_request]\n\njobs:\n  pyversion_install:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      \n      - name: Install dependencies\n        run: |\n          # all good if installation finishes\n          python -m pip install -e .\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:27.146012", "created_at": "2021-06-16T12:57:25+02:00", "updated_at": "2023-03-16T19:59:38+01:00", "name": "CI-PyTest", "path": ".github/workflows/python-test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CI-PyTest\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n    \n\njobs:\n  full-test:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Free space\n      run: |\n        df -h\n        sudo rm -rf /opt/ghc\n        sudo rm -rf \"/usr/local/share/boost\"\n        sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n        sudo rm -rf \"$ANDROID_SDK_ROOT\"\n        df -h\n    - name: Checkout\n      uses: actions/checkout@v3\n    \n    # Use changed-files-specific action to collect file changes.\n    # The following commented condition applied to a step will run that step only if non-docs files have changed.\n    # It should be applied to all functionality-related steps.\n    # if: steps.changed-files-specific.outputs.only_modified == 'false'\n    - name: Detect and screen file changes\n      id: changed-files-specific\n      uses: tj-actions/changed-files@v41\n      with:\n          files: |\n            .github/*.md\n            .github/ISSUE_TEMPLATE/*.md\n            .github/workflows/devcontainer.yml\n            .github/workflows/docker-image.yml\n            .devcontainer/**\n            docs/**\n            mlcube/**\n            *.md\n            LICENSE\n            Dockerfile-*\n\n    - name: Summarize docs and non-docs modifications\n      run: |\n        echo \"List of docs files that have changed: ${{ steps.changed-files-specific.outputs.all_modified_files }}\"\n        echo \"Changed non-docs files: ${{ steps.changed-files-specific.outputs.other_modified_files }}\"\n    \n    # This second step is unnecessary but highly recommended because\n    # It will cache database and saves time re-downloading it if database isn't stale.\n    - name: Cache pip\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n    - name: Set up Python 3.9\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n    - name: Install dependencies and package\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      run: |\n        sudo apt-get update\n        sudo apt-get install libvips libvips-tools -y\n        python -m pip install --upgrade pip\n        python -m pip install wheel\n        python -m pip install openvino-dev==2023.0.1 mlcube_docker\n        pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu\n        pip install -e .\n    - name: Run generic unit tests\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      run: |\n        pytest --cov=. --cov-report=xml -k \"generic\"        \n    - name: Run classification unit tests with histology\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      run: |\n        pytest --cov=. --cov-report=xml --cov-append -k \"classification and histology\"\n    - name: Run classification unit tests\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      run: |\n        pytest --cov=. --cov-report=xml --cov-append -k \"classification and not histology\"\n    - name: Run segmentation unit tests\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      run: |\n        pytest --cov=. --cov-report=xml --cov-append -k \"segmentation and not transunet\"\n    - name: Run regression unit tests\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      run: |\n        pytest --cov=. --cov-report=xml --cov-append -k \"regression\"\n    - name: Run transunet unit tests\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      run: |\n        pytest --cov=. --cov-report=xml --cov-append -k \"transunet\"\n\n\n    - name: Upload coverage\n      if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change\n      uses: codecov/codecov-action@v1\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./coverage.xml\n        flags: unittests\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:28.165090", "created_at": "2024-02-08T19:11:05+01:00", "updated_at": "2024-02-08T19:11:05+01:00", "name": "Lint and Commit", "path": ".github/workflows/ruff.yml", "contents": null, "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:29.282901", "created_at": "2021-10-07T23:33:03+02:00", "updated_at": "2021-10-07T23:33:03+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '45 19 * * *'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'Stale issue message'\n        stale-pr-message: 'Stale pull request message'\n        stale-issue-label: 'no-issue-activity'\n        stale-pr-label: 'no-pr-activity'\n", "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:30.353379", "created_at": "2023-03-27T21:04:05+02:00", "updated_at": "2023-03-27T21:04:05+02:00", "name": "Codespaces Prebuilds", "path": "dynamic/codespaces/create_codespaces_prebuilds", "contents": null, "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:31.378526", "created_at": "2021-12-18T01:13:46+01:00", "updated_at": "2021-12-18T01:13:46+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mlcommons/gandlf"}
{"mined_at": "2024-07-15T17:41:33.776403", "created_at": "2023-12-31T12:04:36+01:00", "updated_at": "2024-07-07T17:38:33+02:00", "name": "DirectX", "path": ".github/workflows/DirectX.yml", "contents": "name: \"DirectX\"\n\n# Test that DirectX 11 and 12 build work on Windows\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n\njobs:\n  build:\n    name: DirectX\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        directx_version: [11, 12]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Build\n        shell: bash\n        run: |\n          mkdir build\n          cd build\n          if [ \"${{ matrix.directx_version }}\" = \"11\" ]; then\n            cmake .. -DHELLOIMGUI_USE_SDL_DIRECTX11=ON  -DCMAKE_BUILD_TYPE=Release;\n          fi\n          if [ \"${{ matrix.directx_version }}\" = \"12\" ]; then\n            cmake .. -DHELLOIMGUI_USE_SDL_DIRECTX12=ON  -DCMAKE_BUILD_TYPE=Release;\n          fi\n          cmake --build . -j 3\n", "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:34.766906", "created_at": "2023-12-31T12:04:36+01:00", "updated_at": "2024-07-07T17:38:33+02:00", "name": "Metal", "path": ".github/workflows/Metal.yml", "contents": "name: \"Metal\"\n\n# Test that Metal build works on Apple\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n\n\njobs:\n  build:\n    name: Metal\n    runs-on: macos-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Install glfw2 and sdl2\n        shell: bash\n        run: |\n          brew install glfw sdl2\n\n      - name: Build and install\n        shell: bash\n        run: |\n          mkdir build\n          cd build\n          cmake .. -DHELLOIMGUI_USE_GLFW_METAL=ON -DHELLOIMGUI_USE_SDL_METAL=ON -DCMAKE_BUILD_TYPE=Release\n          cmake --build . -j 3\n", "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:35.824622", "created_at": "2023-12-31T12:04:36+01:00", "updated_at": "2024-07-07T17:38:33+02:00", "name": "Vulkan", "path": ".github/workflows/Vulkan.yml", "contents": "name: \"Vulkan\"\n\n# Test that Vulkan builds work\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n\n# https://sdk.lunarg.com/sdk/download/1.3.268.0/windows/VulkanSDK-1.3.268.0-Installer.exe\n\njobs:\n  build:\n    name: Vulkan\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [windows-latest, macos-latest, ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: apt install xorg-dev  libglfw3-dev libsdl2-dev (ubuntu only)\n        if: ${{ matrix.platform == 'ubuntu-latest' }}\n        run: sudo apt-get update && sudo apt-get install -y xorg-dev  libglfw3-dev libsdl2-dev\n\n      - name: Install Vulkan Sdk Win\n        if: ${{ matrix.platform == 'windows-latest' }}\n        shell: powershell\n        run: |\n          Invoke-WebRequest -Uri \"https://github.com/ocornut/imgui/files/3789205/vulkan-sdk-1.1.121.2.zip\" -OutFile vulkan-sdk-1.1.121.2.zip\n          Expand-Archive -Path vulkan-sdk-1.1.121.2.zip\n          echo \"VULKAN_SDK=$(pwd)\\vulkan-sdk-1.1.121.2\\\" >>${env:GITHUB_ENV}\n\n      - name: Install Vulkan Sdk macOS\n        if: ${{ matrix.platform == 'macos-latest' }}\n        shell: bash\n        run: |\n          wget -q https://github.com/pthom/hello_imgui/releases/download/v1.0.0/VulkanSDK_1.3.268.1_macos.tgz\n          tar xfz VulkanSDK_1.3.268.1_macos.tgz\n          echo \"VULKAN_SDK=$(pwd)/VulkanSDK/1.3.268.1/macOS\" >> $GITHUB_ENV\n\n      - name: Build and install\n        shell: bash\n        run: |\n          mkdir build\n          cd build\n          cmake .. -DHELLOIMGUI_USE_GLFW_VULKAN=ON -DHELLOIMGUI_USE_SDL_VULKAN=ON -DCMAKE_BUILD_TYPE=Release -DHELLOIMGUI_DOWNLOAD_FREETYPE_IF_NEEDED=ON\n          cmake --build . -j 3\n", "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:36.848288", "created_at": "2024-01-14T09:45:37+01:00", "updated_at": "2024-07-07T17:38:33+02:00", "name": "android", "path": ".github/workflows/android.yml", "contents": "name: android\n\n# Builds _example_integration for Android\n\non:\n  push:\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Checkout submodules\n      run: git submodule update --init --recursive\n\n    - name: Set up JDK 17\n      uses: actions/setup-java@v4\n      with:\n        java-version: '17'\n        distribution: 'temurin'\n\n#    - name: Setup interactive tmate session\n#      uses: mxschmitt/action-tmate@v3\n\n    - name: invoke cmake to create gradle / android studio project\n      # This will create the project\n      # build_android/hello_imgui_demodocking_AndroidStudio\n      run: |\n        cd _example_integration\n        mkdir -p external\n        cd external\n        ln -s ../../ imgui_bundle\n        cd ..\n        mkdir build_android\n        cd build_android\n        export ANDROID_HOME=/usr/local/lib/android/sdk\n        ../external/imgui_bundle/external/hello_imgui/hello_imgui/tools/android/cmake_arm-android.sh ..\n\n    - name: gradlew build\n      # This will build for all android architectures\n      run: |\n          export ANDROID_HOME=/usr/local/lib/android/sdk\n          cd _example_integration/build_android/imgui_bundle_example_integration_AndroidStudio\n          ./gradlew build\n", "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:37.975008", "created_at": "2023-11-03T17:59:53+01:00", "updated_at": "2024-07-07T17:38:33+02:00", "name": "ci_automation_test", "path": ".github/workflows/ci_automation_test.yml", "contents": "name: \"ci_automation_test\"\n\n# Run an app with automation thanks to imgui_test_engine / ensure it works\n\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n\n\njobs:\n  build:\n    name: Automation Test\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [ubuntu-latest]\n        # platform: [windows-latest, ubuntu-latest]\n        # this does not work under macos-latest (may be \"Off-screen Mesa\" could help)\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: install libglfw3-dev xorg-dev & start Xvfb (ubuntu only)\n        if: ${{ matrix.platform == 'ubuntu-latest' }}\n        run: |\n          sudo apt-get update && sudo apt-get install -y xorg-dev\n          sudo apt-get install -y xvfb\n          sudo apt-get install -y libglfw3-dev\n          Xvfb :99 &\n          echo \"DISPLAY=:99.0\" >> $GITHUB_ENV\n\n      #      - name: Setup interactive tmate session\n      #        uses: mxschmitt/action-tmate@v3\n\n      - name: Build C++ automation app\n        shell: bash\n        run: |\n          cd .github/ci_automation_tests\n          mkdir build\n          cd build\n          cmake ..  -DCMAKE_BUILD_TYPE=Release -DHELLOIMGUI_WIN32_NO_CONSOLE=OFF -DHELLOIMGUI_WIN32_AUTO_WINMAIN=OFF -DHELLOIMGUI_DOWNLOAD_FREETYPE_IF_NEEDED=ON\n          cmake --build . -j 3 --config Release\n\n#      - name: install mesa OpenGL software renderer (windows only)\n#        shell: bash\n#        if: ${{ matrix.platform == 'windows-latest' }}\n#        run: |\n#          # Download the archive\n#          curl -L -O https://github.com/pal1000/mesa-dist-win/releases/download/23.1.9/mesa3d-23.1.9-release-msvc.7z\n#\n#          # Extract the archive using 7-zip which is preinstalled on the GitHub Actions Windows runner\n#          7z x mesa3d-23.1.9-release-msvc.7z -omesa3d\n#\n#          # Optionally move/copy the required DLLs to the directory of your executable\n#          # For this example, I'll assume your executable is in '.github/ci_automation_tests/build'\n#          # Copy the opengl32.dll to your executable directory\n#          cp mesa3d/x64/*.* .github/ci_automation_tests/build/Release\n\n#      - name: Run C++ Automation Test (windows)\n#        shell: bash\n#        if: ${{ matrix.platform == 'windows-latest' }}\n#        run: |\n#          cd .github/ci_automation_tests/build/Release\n#\n#          # Run the application, but don't exit the script even if it fails\n#          # Under windows, the app works well a local machine and on GitHub CI\n#          # However it ends with a segfault on Github CI, althought it did run to the end.\n#          # Let's detect this via an old-style hack.\n#          ./ci_automation_test_app_bundle.exe || true\n#\n#          # Now check for the success file\n#          if [[ ! -f ci_automation_test_app_success.txt ]]; then\n#            echo \"Error: ci_automation_test_app_success.txt not found!\"\n#            exit 1\n#          fi\n\n      - name: Run C++ Automation Test (nixes)\n        shell: bash\n        if: ${{ matrix.platform != 'windows-latest' }}\n        run: |\n          cd .github/ci_automation_tests/build\n          ./ci_automation_test_app_bundle\n", "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:38.952393", "created_at": "2022-07-10T06:54:59+02:00", "updated_at": "2022-07-12T16:58:23+02:00", "name": "Conda", "path": ".github/workflows/conda.yml", "contents": null, "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:40.022655", "created_at": "2023-12-31T03:39:23+01:00", "updated_at": "2024-07-07T12:20:34+02:00", "name": "CppLib", "path": ".github/workflows/cpp_lib.yml", "contents": "name: \"CppLib\"\n\n\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n\nenv:\n  MACOSX_DEPLOYMENT_TARGET: \"11.0\"\n\njobs:\n  build:\n    name: CppLib\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [windows-latest, macos-latest, ubuntu-latest]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n#    - name: Setup interactive tmate session\n#      if: ${{ matrix.platform == 'ubuntu-latest' }}\n#      uses: mxschmitt/action-tmate@v3\n\n    - name: apt install xorg-dev  libglfw3-dev libsdl2-dev (ubuntu only)\n      if: ${{ matrix.platform == 'ubuntu-latest' }}\n      run: sudo apt-get update && sudo apt-get install -y xorg-dev  libglfw3-dev libsdl2-dev\n\n    - name: Build and install\n      shell: bash\n      run: |\n        mkdir build\n        cd build\n        cmake .. -DHELLOIMGUI_USE_GLFW3=ON -DHELLOIMGUI_USE_SDL2=ON  -DHELLOIMGUI_HAS_OPENGL3=ON -DCMAKE_BUILD_TYPE=Release -DHELLOIMGUI_DOWNLOAD_FREETYPE_IF_NEEDED=ON\n        cmake --build . --config Release -j 3\n", "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:41.046956", "created_at": "2023-12-31T03:39:23+01:00", "updated_at": "2024-07-07T17:38:33+02:00", "name": "CppLib_WithBindings", "path": ".github/workflows/cpp_lib_with_bindings.yml", "contents": "name: \"CppLib_WithBindings\"\n\n\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n\nenv:\n  MACOSX_DEPLOYMENT_TARGET: \"11.0\"\n\njobs:\n  build:\n    name: CppLib_WithBindings\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [windows-latest, macos-latest, ubuntu-latest]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: install xorg-dev on ubuntu\n      run: ./ci_scripts/install_xorg_dev.sh\n\n#    - name: Setup interactive tmate session\n#      uses: mxschmitt/action-tmate@v3\n\n    - name: Build and install (*nixes)\n      if: ${{ matrix.platform != 'windows-latest' }}\n      shell: bash\n      run: |\n        python3 -m venv venv\n        source venv/bin/activate\n        pip install pybind11\n        mkdir build && cd build\n        cmake .. -DIMGUI_BUNDLE_BUILD_PYTHON=ON -DCMAKE_BUILD_TYPE=Release\n        cmake --build . --config Release -j 3\n\n    - name: Build and install (Windows)\n      if: ${{ matrix.platform == 'windows-latest' }}\n      shell: bash\n      run: |\n        python3 -m venv venv\n        source venv/Scripts/activate # only difference from *nixes...\n        pip install pybind11\n        mkdir build && cd build\n        cmake .. -DIMGUI_BUNDLE_BUILD_PYTHON=ON -DCMAKE_BUILD_TYPE=Release\n        cmake --build . --config Release -j 3\n", "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:42.057765", "created_at": "2023-01-06T09:15:42+01:00", "updated_at": "2024-07-07T17:38:33+02:00", "name": "Emscripten", "path": ".github/workflows/emscripten.yml", "contents": "name: \"Emscripten\"\n\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n\n\njobs:\n  build:\n    name: Emscripten\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n#      - name: Setup interactive tmate session\n#        uses: mxschmitt/action-tmate@v3\n\n      - name: Build and install\n        shell: bash\n        run: |\n          ./external/hello_imgui/hello_imgui/tools/emscripten/install_emscripten.sh\n          mkdir build_ems\n          cd build_ems\n          source ~/emsdk/emsdk_env.sh\n          emcmake cmake .. -DCMAKE_BUILD_TYPE=Release\n          make -j 4\n", "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:43.196908", "created_at": "2024-01-14T09:45:37+01:00", "updated_at": "2024-07-07T17:38:33+02:00", "name": "ios", "path": ".github/workflows/ios.yml", "contents": "name: \"ios\"\n\n# Builds _example_integration for iOS simulator\n\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n\njobs:\n  build:\n    name: \"ios\"\n    runs-on: macos-latest\n    strategy:\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Checkout submodules\n      run: git submodule update --init --recursive\n\n#    - name: Setup interactive tmate session\n#      uses: mxschmitt/action-tmate@v3\n\n\n    - name: CMake\n      run: |\n        cd _example_integration\n        mkdir -p external\n        cd external\n        ln -s ../.. imgui_bundle\n        cd ..\n        mkdir build-ios\n        cd build-ios\n        cmake .. \\\n          -GXcode \\\n          -DCMAKE_TOOLCHAIN_FILE=../external/imgui_bundle/external/hello_imgui/hello_imgui/hello_imgui_cmake/ios-cmake/ios.toolchain.cmake \\\n          -DPLATFORM=SIMULATOR64\n\n    - name: Build for simulator\n      working-directory: _example_integration/build-ios\n      run: |\n        xcodebuild -configuration Release -project imgui_bundle_example_integration.xcodeproj -target ALL_BUILD -arch x86_64 -sdk iphonesimulator\n", "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:44.319678", "created_at": "2022-07-10T06:54:59+02:00", "updated_at": "2024-07-07T17:38:33+02:00", "name": "Pip", "path": ".github/workflows/pip.yml", "contents": "name: \"Pip\"\n\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n\nenv:\n  MACOSX_DEPLOYMENT_TARGET: \"11.0\"\n  DISPLAY: \":0\"\n\njobs:\n  build:\n    name: Pip\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform: [windows-latest, macos-latest, ubuntu-latest]\n        python-version: [\"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: install xorg-dev & start Xvfb (ubuntu only)\n      if: ${{ matrix.platform == 'ubuntu-latest' }}\n      run: |\n        sudo apt-get update && sudo apt-get install -y xorg-dev\n        sudo apt-get install -y xvfb\n        Xvfb :99 &\n        echo \"DISPLAY=:99.0\" >> $GITHUB_ENV\n\n    - name: install mesa OpenGL software renderer (windows only)\n      shell: bash\n      if: ${{ matrix.platform == 'windows-latest' }}\n      run: |\n        # Download the archive\n        curl -L -O https://github.com/pal1000/mesa-dist-win/releases/download/23.1.9/mesa3d-23.1.9-release-msvc.7z\n\n        # Extract the archive using 7-zip which is preinstalled on the GitHub Actions Windows runner\n        7z x mesa3d-23.1.9-release-msvc.7z -omesa3d\n\n        # copy the mesa DLLs to the python directory\n        python_dir=$(dirname $(which python))\n        cp mesa3d/x64/*.* $python_dir\n\n#    - name: Setup interactive tmate session\n#      uses: mxschmitt/action-tmate@v3\n\n    - name: Build and install\n      shell: bash\n      run: |\n        # optionally: export IMMVISION_FETCH_OPENCV=OFF\n        pip install --verbose .[test]\n\n    - name: pytest\n      run: pytest\n\n    - name: CI Automation python test (ubuntu)\n      shell: bash\n      if: ${{ matrix.platform == 'ubuntu-latest' }}\n      run: |\n        cd .github/ci_automation_tests\n        python ci_automation_test_app_bundle.py\n", "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:45.347640", "created_at": "2022-07-10T06:54:59+02:00", "updated_at": "2024-07-07T17:38:33+02:00", "name": "Wheels", "path": ".github/workflows/wheels.yml", "contents": "name: Wheels\n\n# Note: the cibuildwheel options are inside pyproject.toml\n\non:\n  workflow_dispatch:\n  pull_request:\n  release:\n    types:\n      - published\n  push:\n    branches:\n      - master\n      - main\n\njobs:\n  build_sdist:\n    name: Build SDist\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - name: Build SDist\n      run: pipx run build --sdist\n\n    - name: Check metadata\n      run: pipx run twine check dist/*\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: dist-sdist\n        path: dist/*.tar.gz\n\n\n  build_wheels:\n    name: Wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - uses: pypa/cibuildwheel@v2.19.1\n\n    - name: Verify clean directory\n      run: git diff --exit-code\n      shell: bash\n\n    - name: Upload wheels\n      uses: actions/upload-artifact@v4\n      with:\n        name: dist-${{ matrix.os }}\n        path: wheelhouse/*.whl\n\n\n  upload_all:\n    name: Upload if release\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release' && github.event.action == 'published'\n\n    steps:\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: dist-*\n        merge-multiple: true\n        path: dist\n\n    - uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:46.456250", "created_at": "2023-01-06T23:25:31+01:00", "updated_at": "2023-01-06T23:25:31+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pthom/imgui_bundle"}
{"mined_at": "2024-07-15T17:41:48.466569", "created_at": "2024-05-06T19:50:51+02:00", "updated_at": "2024-05-06T19:50:51+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "eylles/pywal16"}
{"mined_at": "2024-07-15T17:41:50.776866", "created_at": "2020-05-04T14:51:06+02:00", "updated_at": "2020-05-04T14:51:06+02:00", "name": "identify merge conflicts", "path": ".github/workflows/merge-conflicts.yml", "contents": "# This workflow will check pull requests for merge conflicts and\n# automatically add (and remove) a relevant label\n\nname: identify merge conflicts\non:\n  # So that PRs touching the same files as the push are updated\n  push:\n  # So that the `dirtyLabel` is removed if conflicts are resolved\n  pull_request:\n    types: [synchronize]\n\njobs:\n  label:\n    runs-on: ubuntu-20.04\n\n    steps:\n    - name: Label Conflicting Pull Requests\n      uses: eps1lon/actions-label-merge-conflict@72a2cf9eb9640428abbd99bc0aa6dd522073b9d3\n            # This is tagged version v1.2.3, but do not use version tags\n            # https://julienrenaux.fr/2019/12/20/github-actions-security-risk/\n      with:\n        dirtyLabel: 'PR: merge conflicts'\n        removeOnDirtyLabel: 'PR: ready to ship'\n        repoToken: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "xia2/xia2"}
{"mined_at": "2024-07-15T17:41:51.907463", "created_at": "2020-12-10T19:31:40+01:00", "updated_at": "2020-12-10T19:31:40+01:00", "name": "Newsfragments", "path": ".github/workflows/newsfragments.yml", "contents": "name: Newsfragments\n\non:\n  pull_request_target:\n    types: [opened, synchronize, reopened, ready_for_review]\n    branches-ignore:\n    - dials-?.*\n\njobs:\n  rename-news:\n    name: Newsfragment\n    runs-on: ubuntu-20.04\n    if: github.event.pull_request.draft == false\n    steps:\n    - name: Check out the repository\n      uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n        token: ${{ secrets.USER_TOKEN }}\n    - name: Added a newsfragment\n      run: |\n        set -x\n        echo \"Triggering commit: ${GITHUB_REF} ${GITHUB_SHA}\"\n        git fetch --unshallow\n        git log HEAD -n 1\n        commit_merge_base=\"$(git merge-base ${{ github.event.pull_request.head.sha }} ${{ github.event.pull_request.base.sha }})\"\n        if ! git diff --name-status $commit_merge_base ${{ github.event.pull_request.head.sha }} -- newsfragments/ | grep '^A'; then\n          echo \"::error ::PR Branch is missing a newsfragment. Please add one with a number or named XXX.<type>.\"\n          exit 1\n        else\n          echo \"✅  Newsfragment entry present\"\n        fi\n    - name: Rename placeholder newsfragments\n      run: |\n        rename_candidates=\"$(find newsfragments -regex 'newsfragments/[xX]+\\..*')\"\n        if [[ -n \"$rename_candidates\" ]]; then\n          git config user.name \"DiamondLightSource-build-server\"\n          git config user.email \"DiamondLightSource-build-server@users.noreply.github.com\"\n          HEAD_REPO=\"${{github.event.pull_request.head.repo.full_name}}\"\n          HEAD_BRANCH=\"${{ github.event.pull_request.head.ref }}\"\n          message=\"\"\n          git remote add fork https://x-access-token:${USER_TOKEN}@github.com/$HEAD_REPO.git\n          for fragment in ${rename_candidates}; do\n            target_file=\"$(echo \"${fragment}\" | sed -E \"s/[xX]+/${{github.event.number}}/\")\"\n            if [[ -f \"${target_file}\" ]]; then\n              echo \"::error ::Cannot rename ${fragment} to ${target_file} as it already exists. Merge manually.\"\n              exit 1\n            fi\n            git mv $fragment $target_file\n            git add $target_file\n            if [[ -z \"${message}\" ]]; then\n              message=\"Rename ${fragment} to ${target_file}\"\n            else\n              message=\"Rename XXX.* to ${{github.event.number}}.*\"\n            fi\n          done\n          git commit -m \"${message}\"\n          git push fork HEAD:\"${HEAD_BRANCH}\"\n        else\n          echo \"No Newsfragments need to be renamed.\"\n        fi\n", "state": "active", "repository": "xia2/xia2"}
{"mined_at": "2024-07-15T17:41:54.951007", "created_at": "2021-01-20T13:51:35+01:00", "updated_at": "2021-01-20T13:51:35+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\non: [push, pull_request]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, '3.10', 3.11, 3.12, 3.13, pypy3.9-nightly, pypy3.10-nightly]\n        coverage: [false]\n        nogmpy: [false]\n        default: [false]\n        include:\n          - python-version: 3.11\n            coverage: true\n            nogmpy: true\n          - python-version: 3.12\n            coverage: true\n            default: true\n    env:\n      PYTEST_ADDOPTS: -n auto\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        allow-prereleases: true\n    - name: Install libs\n      run: |\n        sudo apt update\n        sudo apt install latexmk texlive-xetex\n    - name: Install dependencies\n      run: |\n        pip install --upgrade setuptools pip\n        pip install --upgrade .[develop,gmpy,docs,ci]\n    - name: Remove gmpy (for coverage tests)\n      if: matrix.nogmpy\n      run: pip uninstall -y gmpy2\n    - name: Install ~/.python_history\n      run: touch ~/.python_history\n    - name: Linting with flake8, etc\n      if: matrix.default\n      run: |\n        python -We:invalid -m compileall -f mpmath -q\n        flake518 mpmath\n    - name: Tests\n      if: ${{ ! matrix.coverage }}\n      run: pytest\n    - name: Run coverage tests\n      env:\n        PYTEST_ADDOPTS: --cov mpmath --cov-append --cov-report=xml -n auto\n      if: matrix.coverage\n      run: |\n        pytest\n        pip uninstall -y ipython\n        pytest mpmath/tests/test_cli.py\n        coverage html\n        coverage xml\n        diff-cover coverage.xml --fail-under=100 --compare-branch=origin/master\n    - name: Upload coverage data\n      if: matrix.coverage\n      uses: codecov/codecov-action@v4\n      with:\n        files: ./coverage.xml\n        fail_ci_if_error: false\n    - name: Building docs\n      if: matrix.default\n      run: |\n        sphinx-build --color -W --keep-going -b html docs build/sphinx/html\n        sphinx-build --color -W --keep-going -b latex docs build/sphinx/latex\n        make -C build/sphinx/latex all-pdf\n    - name: Make packages\n      if: matrix.default\n      run: python -m build\n    - name: Archive production artifacts\n      uses: actions/upload-artifact@v4\n      if: matrix.default\n      with:\n        path: |\n          dist/\n          build/sphinx/html/\n          build/sphinx/latex/mpmath.pdf\n          coverage.xml\n          build/coverage/html/\n    - name: Publish package on PyPI\n      if: matrix.default && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "mpmath/mpmath"}
{"mined_at": "2024-07-15T17:41:56.971557", "created_at": "2022-02-24T21:44:56+01:00", "updated_at": "2022-02-24T21:44:56+01:00", "name": "Add newly created DEPR issues to the DEPR project board", "path": ".github/workflows/add-depr-ticket-to-depr-board.yml", "contents": "# Run the workflow that adds new tickets that are either:\n# - labelled \"DEPR\"\n# - title starts with \"[DEPR]\"\n# - body starts with \"Proposal Date\" (this is the first template field)\n# to the org-wide DEPR project board\n\nname: Add newly created DEPR issues to the DEPR project board\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  routeissue:\n    uses: openedx/.github/.github/workflows/add-depr-ticket-to-depr-board.yml@master\n    secrets:\n      GITHUB_APP_ID: ${{ secrets.GRAPHQL_AUTH_APP_ID }}\n      GITHUB_APP_PRIVATE_KEY: ${{ secrets.GRAPHQL_AUTH_APP_PEM }}\n      SLACK_BOT_TOKEN: ${{ secrets.SLACK_ISSUE_BOT_TOKEN }}\n", "state": "active", "repository": "openedx/openedx-webhooks"}
{"mined_at": "2024-07-15T17:41:58.093191", "created_at": "2023-02-28T16:36:42+01:00", "updated_at": "2023-02-28T16:36:42+01:00", "name": "Allows for the adding and removing of labels via comment", "path": ".github/workflows/add-remove-label-on-comment.yml", "contents": "# This workflow runs when a comment is made on the ticket\n# If the comment starts with \"label: \" it tries to apply\n# the label indicated in rest of comment.\n# If the comment starts with \"remove label: \", it tries\n# to remove the indicated label.\n# Note: Labels are allowed to have spaces and this script does\n# not parse spaces (as often a space is legitimate), so the command\n# \"label: really long lots of words label\" will apply the\n# label \"really long lots of words label\"\n\nname: Allows for the adding and removing of labels via comment\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  add_remove_labels:\n    uses: openedx/.github/.github/workflows/add-remove-label-on-comment.yml@master\n\n", "state": "active", "repository": "openedx/openedx-webhooks"}
{"mined_at": "2024-07-15T17:41:59.123350", "created_at": "2021-11-02T13:42:17+01:00", "updated_at": "2021-11-04T07:49:14+01:00", "name": "Python CI", "path": ".github/workflows/ci.yml", "contents": "name: Python CI\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - '**'\n\njobs:\n  run_tests:\n    name: Tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - ubuntu-20.04\n        python-version:\n          - \"3.11\"\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: setup python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: pip install -r requirements/test.txt\n\n    - name: Run Tests\n      run: |\n        make test\n        cd docs && make html\n\n    - name: Run Coverage\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        fail_ci_if_error: true\n", "state": "active", "repository": "openedx/openedx-webhooks"}
{"mined_at": "2024-07-15T17:42:00.142916", "created_at": "2021-09-15T23:21:09+02:00", "updated_at": "2021-10-07T19:48:12+02:00", "name": "Lint Commit Messages", "path": ".github/workflows/commitlint.yml", "contents": "# Run commitlint on the commit messages in a pull request.\n\nname: Lint Commit Messages\n\non:\n  - pull_request\n\njobs:\n  commitlint:\n    uses: openedx/.github/.github/workflows/commitlint.yml@master\n", "state": "active", "repository": "openedx/openedx-webhooks"}
{"mined_at": "2024-07-15T17:42:01.169605", "created_at": "2023-02-28T16:36:42+01:00", "updated_at": "2023-02-28T16:36:42+01:00", "name": "Assign comment author to ticket if they say \"assign me\"", "path": ".github/workflows/self-assign-issue.yml", "contents": "# This workflow runs when a comment is made on the ticket\n# If the comment starts with \"assign me\" it assigns the author to the\n# ticket (case insensitive)\n\nname: Assign comment author to ticket if they say \"assign me\"\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  self_assign_by_comment:\n    uses: openedx/.github/.github/workflows/self-assign-issue.yml@master\n", "state": "active", "repository": "openedx/openedx-webhooks"}
{"mined_at": "2024-07-15T17:42:03.370399", "created_at": "2020-02-05T00:56:28+01:00", "updated_at": "2020-04-11T01:20:20+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.9', '3.10', '3.11']\n\n    # Skip CI if 'skip ci' is contained in latest commit message\n    if: \"!contains(github.event.head_commit.message, 'skip ci')\"\n\n    steps:\n\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .\n\n    - name: Test with pytest\n      run: |\n        python setup.py test\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        file: ./coverage.xml\n        flags: unittests\n", "state": "active", "repository": "rs-station/reciprocalspaceship"}
{"mined_at": "2024-07-15T17:42:04.599278", "created_at": "2020-04-10T22:18:21+02:00", "updated_at": "2020-04-13T20:22:02+02:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "name: Documentation\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    # Skip docs if 'skip docs' is contained in latest commit message\n    if: \"!contains(github.event.head_commit.message, 'skip docs')\"\n\n    steps:\n\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .[dev]\n\n    - name: Set up Pandoc\n      uses: r-lib/actions/setup-pandoc@v2\n\n    - name: Build documentation\n      run: |\n        cd docs\n        make clean\n        make html\n\n    - name: Commit documentation changes to gh-pages\n      run: |\n        cd docs\n        git clone https://github.com/rs-station/reciprocalspaceship.git --branch gh-pages --single-branch gh-pages\n        cd gh-pages\n        cp -r ../_build/html/* .\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        git add .\n        git diff --quiet && git diff --staged --quiet || git commit -m \"Upload documentation from latest commit\"\n\n    - name: Push changes to gh-pages\n      uses: ad-m/github-push-action@master\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        branch: \"gh-pages\"\n        directory: \"docs/gh-pages\"\n", "state": "active", "repository": "rs-station/reciprocalspaceship"}
{"mined_at": "2024-07-15T17:42:05.725567", "created_at": "2020-11-16T23:50:43+01:00", "updated_at": "2020-11-16T23:50:43+01:00", "name": "Publish to PyPI", "path": ".github/workflows/publish.yml", "contents": "# heavily based on https://github.com/jupyterlab/jupyterlab-git/blob/v0.22.2/.github/workflows/publish.yml\nname: Publish to PyPI\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install matplotlib packaging setuptools twine wheel typing-extensions\n    - name: Publish the Python package\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "rs-station/reciprocalspaceship"}
{"mined_at": "2024-07-15T17:42:06.829669", "created_at": "2023-02-20T19:42:27+01:00", "updated_at": "2023-02-20T19:52:12+01:00", "name": "Test Documentation", "path": ".github/workflows/testdocumentation.yml", "contents": "name: Test Documentation\n\non:\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    # Skip docs if 'skip docs' is contained in latest commit message\n    if: \"!contains(github.event.head_commit.message, 'skip docs')\"\n\n    steps:\n\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .[dev]\n\n    - name: Set up Pandoc\n      uses: r-lib/actions/setup-pandoc@v2\n\n    - name: Build documentation\n      run: |\n        cd docs\n        make clean\n        make html\n", "state": "active", "repository": "rs-station/reciprocalspaceship"}
{"mined_at": "2024-07-15T17:42:07.999418", "created_at": "2021-12-28T00:28:55+01:00", "updated_at": "2021-12-28T00:28:55+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "rs-station/reciprocalspaceship"}
{"mined_at": "2024-07-15T17:42:11.123727", "created_at": "2023-09-11T18:27:17+02:00", "updated_at": "2024-05-24T17:36:17+02:00", "name": "Benchmark with ASV", "path": ".github/workflows/asv.yml", "contents": null, "state": "active", "repository": "scqubits/scqubits"}
{"mined_at": "2024-07-15T17:42:12.262916", "created_at": "2021-02-06T17:49:56+01:00", "updated_at": "2021-02-06T17:49:56+01:00", "name": "black-check-latest", "path": ".github/workflows/black-check-latest.yml", "contents": "name: black-check-latest\non: [pull_request, push]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install latest Black version\n        run: pip install black\n      - name: Run black --check --diff .\n        run: black --check --diff .\n", "state": "active", "repository": "scqubits/scqubits"}
{"mined_at": "2024-07-15T17:42:13.316797", "created_at": "2021-02-05T02:38:04+01:00", "updated_at": "2024-05-14T03:01:29+02:00", "name": "Python Package using Conda", "path": ".github/workflows/python-package-conda.yml", "contents": "name: Python Package using Conda\n\non: [push, workflow_dispatch]\n\njobs:\n  build-all:\n    name: scqubits testing (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -el {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n      - uses: actions/checkout@v4\n        name: Checkout repository\n      - name: Python setup for macos-latest with python 3.7\n        if: ${{matrix.python-version == '3.7' && matrix.os == 'macos-latest'}}\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n            miniforge-variant: Mambaforge\n            use-mamba: true\n            auto-update-conda: true\n            python-version: ${{ matrix.python-version }}\n            architecture: x64\n            channels: conda-forge\n\n      - name: Python setup for the rest of the jobs\n        if: ${{!(matrix.python-version == '3.7' && matrix.os == 'macos-latest')}}\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n            miniforge-variant: Mambaforge\n            use-mamba: true\n            auto-update-conda: true\n            python-version: ${{ matrix.python-version }}\n            channels: conda-forge\n\n      - name: conda info\n        run: conda info\n\n      - name: Add conda to system path\n        run: |\n          # $CONDA is an environment variable pointing to the root of the miniconda directory\n          echo $CONDA/bin >> $GITHUB_PATH\n\n      - name: Lint with flake8\n        run: |\n          mamba install flake8\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n      - name: Build with conda and run tests\n        run: |\n          mamba install boa\n          conda mambabuild .", "state": "active", "repository": "scqubits/scqubits"}
{"mined_at": "2024-07-15T17:42:14.532076", "created_at": "2019-12-21T23:18:41+01:00", "updated_at": "2019-12-21T23:18:41+01:00", "name": "Upload Python Package to PyPi", "path": ".github/workflows/pythonpublish.yml", "contents": "name: Upload Python Package to PyPi\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "scqubits/scqubits"}
{"mined_at": "2024-07-15T17:42:17.807189", "created_at": "2020-12-19T19:10:23+01:00", "updated_at": "2022-01-26T19:24:30+01:00", "name": "CI", "path": ".github/workflows/build_and_test.yml", "contents": "name: CI\non:\n    push:\n      paths-ignore:\n        - \"README.md\"\n        - \"**/docs/**\"\n        - \".github/workflows/docs.yml\"\n\n    pull_request:\n      branches:\n        - master\n        - dev\n\n    schedule:\n        - cron: \"0 11 * * *\"\n\njobs:\n    skip_duplicate:\n        runs-on: ubuntu-latest\n        outputs:\n            should_skip: ${{ steps.skip_check.outputs.should_skip }}\n        steps:\n            - id: skip_check\n              uses: fkirc/skip-duplicate-actions@master\n              with:\n                  github_token: ${{ github.token }}\n                  concurrent_skipping: never\n                  skip_after_successful_duplicate: true\n                  paths_ignore: '[\"**/README.md\", \"**/docs/**\"]'\n                  do_not_skip: '[\"pull_request\",  \"schedule\"]'\n\n    test-pip:\n        name: Test on Pip\n        needs: skip_duplicate\n        if: ${{ needs.skip_duplicate.outputs.should_skip == 'false' }}\n        strategy:\n            fail-fast: false\n            matrix:\n                python-version: [\"3.9\",\"3.10\",\"3.11\"]\n                os: [\"ubuntu-latest\", \"macos-latest\", \"macos-12\"]\n        runs-on:  ${{ matrix.os }}\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip wheel setuptools numpy\n                  \n                  # Temp fix due to speclite not supporting the latest version\n                  pip install \"matplotlib<3.9\"\n\n                  if [[ ${{matrix.os}} == macos-latest ]];\n                  then\n                    brew update\n                    brew install hdf5\n                  fi\n\n                  if [[ \"${ISDEV}\" == \"true\" ]]; then\n                    pip install --upgrade --pre astromodels\n                  else\n                    pip install --upgrade astromodels\n                  fi\n                  \n                  pip install --upgrade flake8 coverage pytest-cov cython\n\n                  pip install -e .\n              env:\n                  ISDEV: ${{contains(github.ref, 'dev') || contains(github.base_ref, 'dev')}}\n            - name: Lint with flake8\n              run: |\n                  # stop the build if there are Python syntax errors or undefined names\n                  flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n                  # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n                  flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n            - name: Test pip on ${{ matrix.python-version }}\n              run: |\n                  python -m pytest -vv --cov=threeML --cov-report=xml\n              env:\n                  PYTEST_ADDOPTS: \"--color=yes\"\n                  OMP_NUM_THREADS: 1\n                  MKL_NUM_THREADS: 1\n                  NUMEXPR_NUM_THREADS: 1\n                  MPLBACKEND: \"Agg\"\n\n    test-dev:\n        name: Test on Pip against astromodels-dev\n        needs: skip_duplicate\n        if: ${{ needs.skip_duplicate.outputs.should_skip == 'false' }}\n        strategy:\n            fail-fast: false\n            matrix:\n                python-version: [\"3.9\",\"3.10\",\"3.11\"]\n                os: [ \"ubuntu-latest\", \"macos-latest\", \"macos-12\"]\n        runs-on: ${{ matrix.os }}\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip wheel\n\n                  # Temp fix due to speclite not supporting the latest version\n                  pip install \"matplotlib<3.9\"\n\n                  if [[ ${{matrix.os}} == macos-latest ]];\n                  then\n                    brew update\n                    brew install hdf5\n                  fi\n\n                  git clone https://github.com/threeML/astromodels\n                  cd astromodels\n                  git checkout dev\n\n                  python -m pip install -e .\n\n                  cd ..\n\n                  pip install --upgrade flake8 coverage pytest-cov cython\n\n                  pip install -e .\n            - name: Lint with flake8\n              run: |\n                  # stop the build if there are Python syntax errors or undefined names\n                  flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n                  # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n                  flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n            - name: Test pip on ${{ matrix.python-version }}\n              run: |\n                  python -m pytest -vv --cov=threeML --cov-report=xml\n              env:\n                  PYTEST_ADDOPTS: \"--color=yes\"\n                  OMP_NUM_THREADS: 1\n                  MKL_NUM_THREADS: 1\n                  NUMEXPR_NUM_THREADS: 1\n                  MPLBACKEND: \"Agg\"\n\n\n\n    test-conda:\n        name: Test on Conda\n        needs: skip_duplicate\n        if: ${{ needs.skip_duplicate.outputs.should_skip == 'false' }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [\"ubuntu-latest\", \"macos-12\"]\n                python-version: [3.9]\n        runs-on: ${{ matrix.os }}\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: XCode\n              uses: maxim-lobanov/setup-xcode@v1\n              with:\n                  xcode-version: latest\n              if: runner.os == 'macOS'\n            #- name: Cache conda\n            #  uses: actions/cache@v2\n            #  env:\n                # Increase this value to reset cache if etc/example-environment.yml has not changed\n            #    CACHE_NUMBER: 0\n            #  with:\n            #      path: ~/conda_pkgs_dir\n            #      key: conda-${{ matrix.os }}-python-${{ matrix.python-version }}-${{ hashFiles('ci/environment.yml') }}\n            - name: Setup Miniconda\n              uses: conda-incubator/setup-miniconda@v3\n              with:\n                  auto-update-conda: true\n                  auto-activate-base: false\n                  #miniforge-variant: Mambaforge\n                  miniforge-version: latest\n                  activate-environment: test_env\n                  python-version: ${{ matrix.python-version }}\n                  channels: conda-forge, xspecmodels, threeml, fermi, defaults\n                  environment-file: ci/environment.yml\n                  use-only-tar-bz2: true\n\n            - name: Init Env\n              shell: bash -l {0}\n              run: |\n\n                  export PKG_VERSION=$(python -c \"import versioneer;print(versioneer.get_version())\")\n\n                  echo \"HOME= ${HOME}\"\n                  echo \"Building ${PKG_VERSION} ...\"\n                  echo \"Python version: ${{matrix.python-version}}\"\n                  echo \"Running on development branch: ${ISDEV} \"\n\n                  if [[ \"${ISDEV}\" == \"true\" ]]; then\n                  \n                  mamba install -c conda-forge -c threeml/label/dev \"threeml/label/dev::astromodels\"\n                  \n                  fi\n                  pip install --upgrade speclite\n                  pip install fermipy \"matplotlib<3.9\"\n              env:\n                  ISDEV: ${{contains(github.ref, 'dev') || contains(github.base_ref, 'dev')}}\n            - name: Conda list\n              shell: bash -l {0}\n              run: |\n                  conda list\n            - name: install it\n              shell: bash -l {0}\n              run: |\n                  pip install -e .\n            - name: Lint with flake8\n              shell: bash -l {0}\n              run: |\n                  # stop the build if there are Python syntax errors or undefined names\n                  flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n                  # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n                  flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n            - name: test it\n              shell: bash -l {0}\n              run: |\n                  wget https://raw.githubusercontent.com/fermi-lat/pyBurstAnalysisGUI/master/python/GtBurst/updater.py -O $CONDA_PREFIX/lib/python${{ matrix.python-version }}/site-packages/fermitools/GtBurst/updater.py\n                  python $CONDA_PREFIX/lib/python${{ matrix.python-version }}/site-packages/fermitools/GtBurst/updater.py\n                  python -m pytest -vv --cov=threeML --cov-report=xml\n\n              env:\n                  PYTEST_ADDOPTS: \"--color=yes\"\n                  OMP_NUM_THREADS: 1\n                  MKL_NUM_THREADS: 1\n                  NUMEXPR_NUM_THREADS: 1\n                  MPLBACKEND: \"Agg\"\n\n            - name: Upload coverage to Codecov\n              uses: codecov/codecov-action@v1\n              with:\n                  file: ./coverage.xml\n                  files: ./coverage1.xml,./coverage2.xml\n                  Directory: ./coverage/reports/\n\n    publish-pypi:\n        name: Publish to PyPi\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        runs-on: ubuntu-latest\n        permissions:\n            # IMPORTANT: this permission is mandatory for trusted publishing\n            id-token: write\n        steps:\n            - name: Checkout source\n              uses: actions/checkout@v4\n            - name: Set up Python\n              uses: actions/setup-python@v1\n              with:\n                  python-version: 3.9\n            - name: Build package\n              run: |\n                  pip install wheel setuptools -U\n                  python setup.py sdist bdist_wheel\n            - name: Publish\n              uses: pypa/gh-action-pypi-publish@release/v1\n              with:\n                  skip-existing: true\n\n    test-publish-pypi:\n        name: Build & verify package\n        runs-on: ubuntu-latest\n\n        steps:\n            - uses: actions/checkout@v4\n            - uses: actions/setup-python@v5\n              with:\n                  python-version: 3.9\n\n            - name: Install twine\n              run: |\n                  python -m pip install twine\n                  pip install wheel setuptools -U\n            - name: Build package\n              run: |\n                  python setup.py sdist bdist_wheel\n            - name: List result\n              run: |\n                  ls -lh dist\n            - name: Check long_description\n              run: |\n                  python -m twine check dist/*\n", "state": "active", "repository": "threeml/threeml"}
{"mined_at": "2024-07-15T17:42:18.850556", "created_at": "2021-03-29T22:39:23+02:00", "updated_at": "2022-01-26T19:59:46+01:00", "name": "Conda Build and Publish", "path": ".github/workflows/conda_build.yml", "contents": "name: Conda Build and Publish\non:\n    push:\n    pull_request:\n    schedule:\n        - cron: \"0 11 * * *\"\n\njobs:\n    build-conda:\n        name: Build and verify with Conda\n        if: startsWith(github.ref, 'refs/tags') == false\n        runs-on: ${{ matrix.os }}\n        strategy:\n            fail-fast: false\n            matrix:\n                os: [\"ubuntu-latest\", \"macos-latest\", \"macos-12\"]\n                python-version: [3.9]\n\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n              with:\n                  fetch-depth: 0\n            - name: XCode\n              uses: maxim-lobanov/setup-xcode@v1\n              with:\n                  xcode-version: latest\n              if: runner.os == 'macOS'\n            - name: Set up Python\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.python-version }}\n              #- name: Cache conda\n              #uses: actions/cache@v4\n              #with:\n              #    path: ~/conda_pkgs_dir\n              #    key: conda-${{ matrix.os }}-python-${{ matrix.python-version }}-${{ hashFiles('ci/environment.yml') }}\n            - name: Add conda ${{ matrix.python-version }} to system path\n              uses: conda-incubator/setup-miniconda@v3\n              with:\n                  activate-environment: \"test_env\"\n                  auto-activate-base: false\n                  miniforge-variant: Mambaforge\n                  architecture: \"x64\"\n                  #conda-build-version: \"*\"\n                  python-version: ${{ matrix.python-version }}\n                  auto-update-conda: true\n                  environment-file: ci/environment.yml\n                  channels: conda-forge, xspecmodels, threeml, fermi, defaults\n                  use-only-tar-bz2: true\n                  \n            - name: Init Env\n              shell: bash -l {0}\n              run: |\n\n                  export PKG_VERSION=$(python -c \"import versioneer;print(versioneer.get_version())\")\n                  echo \"PKG_VERSION=$PKG_VERSION\" >> $GITHUB_ENV\n\n                  echo \"HOME= ${HOME}\"\n                  echo \"Conda installation path ${CONDA}\"\n                  echo \"Building ${PKG_VERSION} ...\"\n                  echo \"Python version: ${{matrix.python-version}}\"\n                  echo \"Running on development branch: ${ISDEV} \"\n                \n                  if [[ \"${ISDEV}\" == \"true\" ]]; then\n\n                  mamba install -c conda-forge -c threeml/label/dev \"threeml/label/dev::astromodels\"\n                  \n                  fi\n                  pip install --upgrade speclite\n                  pip install fermipy \"matplotlib<3.9\"\n              env:\n                  ISDEV: ${{contains(github.ref, 'dev') || contains(github.base_ref, 'dev')}}\n            - name: Conda list\n              shell: bash -l {0}\n              run: |\n                  conda list\n            - name: Build the Distribution\n              shell: bash -l {0}\n              run: |\n                  # Build package\n\n                  #conda install conda-build -n base\n                  mamba install -c conda-forge boa\n\n                  conda mambabuild --python=${{matrix.python-version}} conda-dist/recipes/threeml\n\n                  #conda install --use-local -c conda-forge threeml\n                  conda install -c ${CONDA}/envs/test_env/conda-bld/ threeml\n\n            - name: Test conda build\n              shell: bash -l {0}\n              run: |\n                #wget https://raw.githubusercontent.com/fermi-lat/pyBurstAnalysisGUI/master/python/GtBurst/updater.py -O $CONDA_PREFIX/lib/python${{ matrix.python-version }}/site-packages/fermitools/GtBurst/updater.py\n                #python $CONDA_PREFIX/lib/python${{ matrix.python-version }}/site-packages/fermitools/GtBurst/updater.py\n                python -m pytest -vv --cov=threeML --cov-report=xml\n\n              env:\n                  PYTEST_ADDOPTS: \"--color=yes\"\n                  OMP_NUM_THREADS: 1\n                  MKL_NUM_THREADS: 1\n                  NUMEXPR_NUM_THREADS: 1\n                  MPLBACKEND: \"Agg\"\n\n    publish-conda:\n        name: Publish to Conda\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        runs-on: ${{ matrix.os }}\n        strategy:\n            matrix:\n                os: [ubuntu-latest, macos-latest]\n                python-version: [3.9]\n\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n              with:\n                  fetch-depth: 0\n            #- name: Set up Python\n            #  uses: actions/setup-python@v5\n            #  with:\n            #      python-version: ${{ matrix.python-version }}\n            #- name: Cache conda\n            #  uses: actions/cache@v4\n            #  with:\n            #      path: ~/conda_pkgs_dir\n            #      key: conda-${{ matrix.os }}-python-${{ matrix.python-version }}-${{ hashFiles('ci/environment.yml') }}\n            - name: Add conda ${{ matrix.python-version }} to system path\n              uses: conda-incubator/setup-miniconda@v3\n              with:\n                  activate-environment: \"test_env\"\n                  auto-activate-base: false\n                  miniforge-variant: Mambaforge\n                  architecture: \"x64\"\n                  #conda-build-version: \"*\"\n                  python-version: ${{ matrix.python-version }}\n                  auto-update-conda: true\n                  environment-file: ci/environment.yml\n                  channels: conda-forge, xspecmodels, threeml, fermi, defaults\n                  use-only-tar-bz2: true\n                  \n            - name: Init Env\n              shell: bash -l {0}\n              run: |\n\n                  export PKG_VERSION=$(python -c \"import versioneer;print(versioneer.get_version())\")\n                  echo \"PKG_VERSION=$PKG_VERSION\" >> $GITHUB_ENV\n\n                  echo \"HOME= ${HOME}\"\n                  echo \"Conda installation path ${CONDA}\"\n                  echo \"Building ${PKG_VERSION} ...\"\n                  echo \"Python version: ${{matrix.python-version}}\"\n\n            - name: Build the Distribution\n              shell: bash -l {0}\n              run: |\n                  # Build package\n\n                  #conda install conda-build -n base\n                  mamba install -c conda-forge boa\n\n                  conda mambabuild --python=${{matrix.python-version}} conda-dist/recipes/threeml\n\n\n            - name: Publish to Conda\n              shell: bash -l {0}\n              run: |\n\n                  conda install -c conda-forge anaconda-client\n                  echo \"Uploading ${{matrix.os}} IsDev: ${ISDEV} \"\n\n                  if [[ \"${ISDEV}\" == \"true\" ]]; then\n\n                  LABEL=\"--label dev\"\n\n                  fi\n\n                  if [[ \"${{matrix.os}}\" == \"ubuntu-latest\" ]]; then\n\n\n                  anaconda -v --show-traceback -t $UPLOAD_TOKEN upload -u threeml ${CONDA}/envs/test_env/conda-bld/linux-64/*.tar.bz2 --force $LABEL\n\n                  else\n\n                  anaconda -v --show-traceback -t $UPLOAD_TOKEN upload -u threeml ${CONDA}/envs/test_env/conda-bld/osx-64/*.tar.bz2 --force $LABEL\n\n                  fi\n\n              env:\n                  UPLOAD_TOKEN: ${{secrets.CONDA_TOKEN}}\n                  CURRENT_OS: ${{matrix.os}}\n                  ISDEV: ${{contains(github.ref, 'dev')}}\n\n", "state": "active", "repository": "threeml/threeml"}
{"mined_at": "2024-07-15T17:42:19.929736", "created_at": "2021-08-27T15:48:22+02:00", "updated_at": "2021-08-28T07:26:52+02:00", "name": "Docker Image CI", "path": ".github/workflows/deploy_docker.yml", "contents": "name: Docker Image CI\n\non:\n  release:\n    types:\n      [published]\n  \n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n        - name: Get the docker file\n          run: |\n            git clone https://github.com/threeML/docker_base.git\n            cd docker_base\n          \n        - name: Login to DockerHub Registry\n          run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin\n        - name: Get the version\n          id: vars\n          run: echo ::set-output name=tag::$(echo ${GITHUB_REF:11})\n        - name: Build the tagged Docker image for ${{steps.vars.outputs.tag}}\n          run: |\n            cd docker_base\n            docker build . --file Dockerfile --tag threeml/base:${{steps.vars.outputs.tag}}\n        - name: Push the tagged Docker image\n          run: docker push threeml/base:${{steps.vars.outputs.tag}}\n        - name: Build the latest Docker image\n          run: |\n            cd docker_base\n            docker build . --file Dockerfile --tag threeml/base:latest\n        - name: Push the latest Docker image\n          run: docker push threeml/base:latest\n", "state": "active", "repository": "threeml/threeml"}
{"mined_at": "2024-07-15T17:42:20.928080", "created_at": "2020-12-21T17:13:21+01:00", "updated_at": "2021-08-23T09:49:03+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\non: [push, release]\n\njobs:\n  fast_notebooks:\n    name: \"Build the fast notebooks\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: install latex\n        uses: xu-cheng/texlive-action/small@v1\n          \n      - name: Init Environment\n        shell: bash -l {0}\n        run: |\n          set -e\n          # brew update\n          # brew install --cask basictex\n \n          pip install -U cython\n          pip install -U numpy scipy matplotlib\n          pip install -U jupytext jupyterthemes jupyter_latex_envs\n          pip install -U astropy\n          pip install emcee ultranest\n          \n          \n          pip install zeus-mcmc\n          #pip install git+https://github.com/desihub/speclite.git\n          pip install --upgrade speclite\n          pip install \"black<24\"\n          pip install astromodels\n          \n          \n      - name: Install the package\n        shell: bash -l {0}\n        run: |\n          if [[ \"${ISDEV}\" == \"true\" ]]; then\n            pip install --upgrade --pre astromodels\n            #pip install git+https://github.com/threeML/astromodels.git@dev\n          else\n            pip install --upgrade astromodels\n          fi\n          pip install -e .\n        env:\n          ISDEV: ${{contains(github.ref, 'dev') || contains(github.base_ref, 'dev')}}\n\n      - name: Execute the notebooks\n        shell: bash -l {0}\n        run: |\n          # Make sure we fail in case of error\n          set -e\n          # copy the doc configuration over\n          mkdir -p ~/.config/threeML\n          cp threeML/data/doc_config.yml ~/.config/threeML/\n\n          jupytext --to ipynb --pipe black --execute docs/md_docs/fast_execute/*.md\n\n          mv docs/md_docs/fast_execute/*.ipynb docs/notebooks/\n\n          ls docs/notebooks\n\n        env:\n          OMP_NUM_THREADS: 1\n          MKL_NUM_THREADS: 1\n          NUMEXPR_NUM_THREADS: 1\n          MPLBACKEND: \"Agg\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: notebooks-for-fast-${{ github.sha }}\n          path: docs/notebooks\n\n \n  hal_notebooks:\n    name: \"Build the HAL notebooks\"\n    runs-on: macos-12\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Cache conda\n        uses: actions/cache@v4\n        env:\n          # Increase this value to reset cache if etc/example-environment.yml has not changed\n          CACHE_NUMBER: 0\n        with:\n          path: ~/conda_pkgs_dir\n          key: conda-hal_notebooks-python-3.9-${{ hashFiles('ci/environment_hal.yml') }}\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          auto-activate-base: false\n          #mamba-version: \"*\"\n          activate-environment: test_env\n          python-version: 3.9\n          channels: conda-forge, threeml, defaults\n          environment-file: ci/environment_hal.yml\n          use-only-tar-bz2: true\n\n      - name: Init Environment\n        shell: bash -l {0}\n        run: |\n          # Make sure we fail in case of error\n          set -e\n\n          # miniconda_os=Linux\n          # compilers=\"gcc_linux-64 gxx_linux-64 gfortran_linux-64\"\n\n          miniconda_os=MacOSX\n          compilers=\"clang_osx-64 clangxx_osx-64 gfortran_osx-64\"\n\n          brew update\n          brew install --cask basictex\n\n          eval \"$(/usr/libexec/path_helper)\"\n          #sudo apt-get install texlive\n\n          conda install ${compilers} jupytext jupyterthemes jupyter_latex_envs emcee pymultinest ultranest\n\n      - name: Install the package\n        shell: bash -l {0}\n        run: |\n          pip install \"black<24\"\n          pip install --upgrade speclite\n          pip install git+https://github.com/threeml/hawc_hal.git\n          if [[ \"${ISDEV}\" == \"true\" ]]; then\n            pip install --upgrade --pre astromodels\n            #pip install git+https://github.com/threeML/astromodels.git@dev\n          else\n            pip install --upgrade astromodels\n          fi\n          pip install -e .\n        env:\n          ISDEV: ${{contains(github.ref, 'dev') || contains(github.base_ref, 'dev')}}\n      - name: Execute the notebooks\n        shell: bash -l {0}\n        run: |\n          # Make sure we fail in case of error\n          set -e\n          # copy the doc configuration over\n          mkdir -p ~/.config/threeML\n          cp threeML/data/doc_config.yml ~/.config/threeML/\n\n          jupytext --to ipynb --pipe black --execute docs/md_docs/slow_execute/hal_example.md\n          mv docs/md_docs/slow_execute/hal_example.ipynb docs/notebooks/\n          ls docs/notebooks\n        env:\n          OMP_NUM_THREADS: 1\n          MKL_NUM_THREADS: 1\n          NUMEXPR_NUM_THREADS: 1\n          MPLBACKEND: \"Agg\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: notebooks-for-hal-${{ github.sha }}\n          path: docs/notebooks\n\n  fermi_notebooks:\n    name: \"Build the Fermi notebooks\"\n    runs-on: macos-12\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Cache conda\n        uses: actions/cache@v4\n        env:\n          # Increase this value to reset cache if etc/example-environment.yml has not changed\n          CACHE_NUMBER: 0\n        with:\n          path: ~/conda_pkgs_dir\n          key: conda-fermi_notebooks-python-3.7-${{ hashFiles('ci/environment_fermi.yml') }}\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          auto-activate-base: false\n          #mamba-version: \"*\"\n          activate-environment: test_env\n          python-version: 3.9\n          channels: conda-forge, fermi, threeml, defaults\n          environment-file: ci/environment_fermi.yml\n          use-only-tar-bz2: true\n\n      - name: Init Environment\n        shell: bash -l {0}\n        run: |\n          # Make sure we fail in case of error\n          set -e\n          # miniconda_os=Linux\n          # compilers=\"gcc_linux-64 gxx_linux-64 gfortran_linux-64\"\n\n          miniconda_os=MacOSX\n          compilers=\"clang_osx-64 clangxx_osx-64 gfortran_osx-64\"\n\n          brew update\n          brew install --cask basictex\n\n          eval \"$(/usr/libexec/path_helper)\"\n          #sudo apt-get install texlive\n\n          conda install ${compilers} jupytext jupyterthemes jupyter_latex_envs emcee pymultinest ultranest\n          \n      - name: Install the package\n        shell: bash -l {0}\n        run: |\n          pip install \"black<24\" fermipy\n          pip install --upgrade speclite\n          \n          if [[ \"${ISDEV}\" == \"true\" ]]; then\n            pip install --upgrade --pre astromodels\n            #pip install git+https://github.com/threeML/astromodels.git@dev\n          else\n            pip install --upgrade astromodels\n          fi\n          pip install -e .\n        env:\n          ISDEV: ${{contains(github.ref, 'dev') || contains(github.base_ref, 'dev')}}\n\n      - name: Execute the notebooks\n        shell: bash -l {0}\n        run: |\n          # Make sure we fail in case of error\n          set -e\n          # copy the doc configuration over\n          mkdir -p ~/.config/threeML\n          cp threeML/data/doc_config.yml ~/.config/threeML/\n\n\n          jupytext --to ipynb --pipe black --execute docs/md_docs/slow_execute/Fermipy_LAT.md\n\n          jupytext --to ipynb --pipe black --execute docs/md_docs/slow_execute/LAT_Transient_Builder_Example.md\n\n          #jupytext --to ipynb --pipe black --execute docs/md_docs/slow_execute/optimizer_docs.md\n\n          mv docs/md_docs/slow_execute/*.ipynb docs/notebooks/\n          ls docs/notebooks\n          \n        env:\n          OMP_NUM_THREADS: 1\n          MKL_NUM_THREADS: 1\n          NUMEXPR_NUM_THREADS: 1\n          MPLBACKEND: \"Agg\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: notebooks-for-fermi-${{ github.sha }}\n          path: docs/notebooks\n    \n  xspec_notebooks:\n    name: \"Build the XSPEC notebooks\"\n    runs-on: macos-12\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Cache conda\n        uses: actions/cache@v4\n        env:\n          # Increase this value to reset cache if etc/example-environment.yml has not changed\n          CACHE_NUMBER: 0\n        with:\n          path: ~/conda_pkgs_dir\n          key: conda-xspec_notebooks-python-3.9-${{ hashFiles('ci/environment_xspec.yml') }}\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          auto-activate-base: false\n          miniforge-variant: Mambaforge\n          activate-environment: test_env\n          python-version: 3.9\n          channels: threeml, conda-forge, xspecmodels, defaults\n          environment-file: ci/environment_xspec.yml\n          use-only-tar-bz2: true\n\n      - name: Init Environment\n        shell: bash -l {0}\n        run: |\n          # Make sure we fail in case of error\n          set -e\n          # miniconda_os=Linux\n          # compilers=\"gcc_linux-64 gxx_linux-64 gfortran_linux-64\"\n\n          miniconda_os=MacOSX\n          compilers=\"clang_osx-64 clangxx_osx-64 gfortran_osx-64\"\n\n          brew update\n          brew install --cask basictex\n\n          eval \"$(/usr/libexec/path_helper)\"\n          #sudo apt-get install texlive\n\n          mamba install ${compilers} jupytext jupyterthemes jupyter_latex_envs emcee pymultinest ultranest\n\n      - name: Install the package\n        shell: bash -l {0}\n        run: |\n          pip install zeus_mcmc dynesty \"black<24\" \n          pip install --upgrade speclite\n          #pip install git+https://github.com/desihub/speclite.git\n          if [[ \"${ISDEV}\" == \"true\" ]]; then\n            pip install --upgrade --pre astromodels\n            #pip install git+https://github.com/threeML/astromodels.git@dev\n          else\n            pip install --upgrade astromodels\n          fi\n          pip install -e .\n        env:\n          ISDEV: ${{contains(github.ref, 'dev') || contains(github.base_ref, 'dev')}}\n      - name: Execute the notebooks\n        shell: bash -l {0}\n        run: |\n          # Make sure we fail in case of error\n          set -e\n          # copy the doc configuration over\n          mkdir -p ~/.config/threeML\n          cp threeML/data/doc_config.yml ~/.config/threeML/\n\n          jupytext --to ipynb --pipe black --execute docs/md_docs/slow_execute/xspec_models.md\n          jupytext --to ipynb --pipe black --execute docs/md_docs/slow_execute/joint_fitting_xrt_and_gbm_xspec_models.md\n          jupytext --to ipynb --pipe black --execute docs/md_docs/slow_execute/Photometry_demo.md\n\n          mv docs/md_docs/slow_execute/*.ipynb docs/notebooks/\n          ls docs/notebooks\n\n        env:\n          OMP_NUM_THREADS: 1\n          MKL_NUM_THREADS: 1\n          NUMEXPR_NUM_THREADS: 1\n          MPLBACKEND: \"Agg\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: notebooks-for-xspec-${{ github.sha }}\n          path: docs/notebooks\n  \n  multinest_notebooks:\n    name: \"Build the multinest notebooks\"\n    runs-on: macos-12\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Cache conda\n        uses: actions/cache@v4\n        env:\n          # Increase this value to reset cache if etc/example-environment.yml has not changed\n          CACHE_NUMBER: 0\n        with:\n          path: ~/conda_pkgs_dir\n          key: conda-hal_notebooks-python-3.7-${{ hashFiles('ci/environment_hal.yml') }}\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          auto-activate-base: false\n          #mamba-version: \"*\"\n          activate-environment: test_env\n          python-version: ${{ matrix.python-version }}\n          channels: conda-forge, threeml, defaults\n          environment-file: ci/environment_hal.yml\n          use-only-tar-bz2: true\n\n      - name: Init Environment\n        shell: bash -l {0}\n        run: |\n          # Make sure we fail in case of error\n          set -e\n          # miniconda_os=Linux\n          # compilers=\"gcc_linux-64 gxx_linux-64 gfortran_linux-64\"\n\n          miniconda_os=MacOSX\n          compilers=\"clang_osx-64 clangxx_osx-64 gfortran_osx-64\"\n\n          brew update\n          brew install --cask basictex\n\n          eval \"$(/usr/libexec/path_helper)\"\n          #sudo apt-get install texlive\n\n          conda install ${compilers} jupytext jupyterthemes jupyter_latex_envs emcee ultranest\n\n      - name: Install the package\n        shell: bash -l {0}\n        run: |\n          pip install zeus_mcmc dynesty \"black<24\"\n          pip install --upgrade speclite\n          #pip install git+https://github.com/desihub/speclite.git\n          #pip install --no-binary :all: root_numpy\n          \n          if [[ \"${ISDEV}\" == \"true\" ]]; then\n            pip install --upgrade --pre astromodels\n            #pip install git+https://github.com/threeML/astromodels.git@dev\n          else\n            pip install --upgrade astromodels\n          fi\n          pip install -e .\n        env:\n          ISDEV: ${{contains(github.ref, 'dev') || contains(github.base_ref, 'dev')}}\n\n      - name: Execute the notebooks\n        shell: bash -l {0}\n        run: |\n          # Make sure we fail in case of error\n          set -e\n          # copy the doc configuration over\n          mkdir -p ~/.config/threeML\n          cp threeML/data/doc_config.yml ~/.config/threeML/\n\n          jupytext --to ipynb --pipe black --execute docs/md_docs/slow_execute/Bayesian_tutorial.md\n\n          jupytext --to ipynb --pipe black --execute docs/md_docs/slow_execute/sampler_docs.md\n\n          jupytext --to ipynb --pipe black --execute docs/md_docs/slow_execute/Minimization_tutorial.md          \n          jupytext --to ipynb --pipe black --execute docs/md_docs/slow_execute/grb080916C.md\n\n          jupytext --to ipynb --pipe black --execute docs/md_docs/slow_execute/joint_BAT_gbm_demo.md\n          \n\n          mv docs/md_docs/slow_execute/*.ipynb docs/notebooks/\n          ls docs/notebooks\n          \n          \n        env:\n          OMP_NUM_THREADS: 1\n          MKL_NUM_THREADS: 1\n          NUMEXPR_NUM_THREADS: 1\n          MPLBACKEND: \"Agg\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: notebooks-for-multinest-${{ github.sha }}\n          path: docs/notebooks\n\n          \n          \n  upload_notebooks:\n    needs: [fast_notebooks, fermi_notebooks, hal_notebooks, xspec_notebooks, multinest_notebooks]\n    name: \"Upload notebooks and trigger RTD\"\n    runs-on: macos-12\n    \n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n\n      - uses: actions/download-artifact@master\n        with:\n          name: notebooks-for-fermi-${{ github.sha }}\n          path: docs/notebooks\n\n      - uses: actions/download-artifact@master\n        with:\n          name: notebooks-for-fast-${{ github.sha }}\n          path: docs/notebooks\n\n      - uses: actions/download-artifact@master\n        with:\n          name: notebooks-for-hal-${{ github.sha }}\n          path: docs/notebooks\n\n      - uses: actions/download-artifact@master\n        with:\n          name: notebooks-for-xspec-${{ github.sha }}\n          path: docs/notebooks\n\n      - uses: actions/download-artifact@master\n        with:\n          name: notebooks-for-multinest-${{ github.sha }}\n          path: docs/notebooks\n\n      - name: Check that all notebooks are there\n        shell: bash -l {0}\n        run: |\n\n          ls docs/notebooks\n          \n      - uses: actions/upload-artifact@v4\n        with:\n          name: notebooks-for-${{ github.sha }}\n          path: docs/notebooks\n          \n      - name: Sleep for 10 min\n        uses: juliangruber/sleep-action@v1\n        with:\n          time: 10m\n          \n      - name: Trigger RTDs build\n        uses: dfm/rtds-action@main\n        with:\n          webhook_url: ${{ secrets.RTDS_WEBHOOK_URL }}\n          webhook_token: ${{ secrets.RTDS_WEBHOOK_TOKEN }}\n          commit_ref: ${{ github.ref }}\n\n\n  api_doc:\n    name: \"Create the API stubs\"\n    runs-on: macos-12\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token\n          fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Build the API doc\n        run: |\n\n          brew install c-blosc\n          brew install hdf5\n\n          pip3 install cython tempita\n          pip3 install cython blosc2 h5py\n          pip3 install numpy scipy numba astropy pandas\n          pip3 install wheel pkgconfig numexpr\n\n          #python setup.py develop\n          pip3 install -e .\n\n          brew install sphinx-doc pandoc\n\n          pip3 install mock recommonmark\n          pip3 install sphinx-rtd-dark-mode\n          pip3 install -U sphinx\n\n\n          sphinx-apidoc -f -o docs/api/ threeML\n\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: api-stubs-for-${{ github.sha }}\n          path: docs/api\n\n\n\n\n  build_docs:\n    name: \"Build the Documentation\"\n    runs-on: macos-12\n    needs: [upload_notebooks, api_doc]\n    steps:\n\n\n      - uses: actions/checkout@v4\n        with:\n          persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token\n          fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Install package\n        run: |\n\n          brew install c-blosc\n          brew install hdf5\n\n          pip3 install wheel pkgconfig\n          pip3 install tempita\n          pip3 install cython blosc2 h5py\n          pip3 install numpy scipy numba astropy\n\n          brew install sphinx-doc pandoc\n\n          pip3 install mock recommonmark\n          pip3 install sphinx-rtd-dark-mode sphinx-math-dollar\n          pip3 install -U sphinx\n          pip3 install -r docs/requirements.txt\n\n          if [[ \"${ISDEV}\" == \"true\" ]]; then\n            pip install --upgrade --pre astromodels\n            #pip install git+https://github.com/threeML/astromodels.git@dev\n          else\n            pip install --upgrade astromodels\n          fi\n          pip install -e .\n\n          rm -rf docs/md_docs/*\n        env:\n          ISDEV: ${{contains(github.ref, 'dev') || contains(github.base_ref, 'dev')}}\n\n      - uses: actions/download-artifact@master\n        with:\n          name: notebooks-for-${{ github.sha }}\n          path: docs/notebooks\n\n\n      - uses: actions/download-artifact@master\n        with:\n          name: api-stubs-for-${{ github.sha }}\n          path: docs/notebooks/api\n\n\n      - name: Build and Commit\n        uses: sphinx-notes/pages@v2\n        with:\n          documentation_path: docs\n          sphinx_version: 5.1.1\n          requirements_path: docs/requirements.txt\n\n\n      - name: Push changes\n        if: github.event_name == 'push' #&& startsWith(github.event.ref, 'refs/tags')\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: gh-pages", "state": "active", "repository": "threeml/threeml"}
{"mined_at": "2024-07-15T17:42:21.934877", "created_at": "2021-04-08T00:34:02+02:00", "updated_at": "2024-05-08T23:39:34+02:00", "name": "Install and test using Conda", "path": ".github/workflows/install_and_test.yml", "contents": "name: Install and test using Conda\n\non:\n  #push:\n  schedule:\n    - cron: \"0 20 * * 1\"\n  \njobs:\n  test-install-threeml:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\"]\n        python-version: [3.9]\n        package: [\" \", \"--with-xspec\", \"--with-xspec --with-root\", \"--with-xspec --with-fermi\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: XCode\n      uses: maxim-lobanov/setup-xcode@v1\n      with:\n        xcode-version: latest\n      if: runner.os == 'macOS'\n    - name: Setup Miniconda\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        auto-update-conda: true\n        auto-activate-base: true\n        activate-environment: \"\"\n        channels: conda-forge, xspecmodels, threeml, defaults\n    - name: Install threeML\n      run: |\n        bash install_3ML.sh --batch --python ${{ matrix.python-version }} ${{ matrix.package }}\n    - name: test threeML\n      run: |\n        source threeML_init.sh\n        pytest -vv --pyargs threeML\n        pytest -vv --pyargs astromodels\n      env:\n        OMP_NUM_THREADS: 1\n        MKL_NUM_THREADS: 1\n        NUMEXPR_NUM_THREADS: 1\n        MPLBACKEND: \"Agg\"\n\n  test-install-threeml-dev:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\"]\n        python-version: [3.9]\n        package: [\" \", \"--with-xspec\", \"--with-xspec --with-root\", \"--with-xspec --with-fermi\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: XCode\n      uses: maxim-lobanov/setup-xcode@v1\n      with:\n        xcode-version: latest\n      if: runner.os == 'macOS'\n    - name: Setup Miniconda\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        auto-update-conda: true\n        auto-activate-base: true\n        activate-environment: \"\"\n        channels: conda-forge, xspecmodels, threeml, defaults\n    - name: Install threeML\n      run: |\n        bash install_3ML.sh --batch --dev --python ${{ matrix.python-version }} ${{ matrix.package }}\n    - name: test threeML\n      run: |\n        source threeML_init.sh\n        pytest -vv --pyargs threeML\n        pytest -vv --pyargs astromodels\n      env:\n        OMP_NUM_THREADS: 1\n        MKL_NUM_THREADS: 1\n        NUMEXPR_NUM_THREADS: 1\n        MPLBACKEND: \"Agg\"\n", "state": "disabled_manually", "repository": "threeml/threeml"}
{"mined_at": "2024-07-15T17:42:23.003159", "created_at": "2020-12-30T07:58:25+01:00", "updated_at": "2021-08-17T06:20:20+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/issues.yml", "contents": "name: Close stale issues and PRs\non:\n  schedule:\n  - cron: 30 1 * * *\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue has become stale. Is there an update? We will close in 15 days'\n        stale-pr-message: 'This PR has become stale. We will close in 60 days'\n        stale-issue-label: 'no-issue-activity'\n        stale-pr-label: 'no-pr-activity'\n        days-before-pr-stale: 90\n        days-before-issue-stale: 30\n        days-before-issue-close: 15\n        days-before-pr-close: 60\n\n", "state": "disabled_manually", "repository": "threeml/threeml"}
{"mined_at": "2024-07-15T17:42:24.207866", "created_at": "2022-03-01T13:40:55+01:00", "updated_at": "2022-05-25T20:39:12+02:00", "name": "Test clean install", "path": ".github/workflows/pip_install.yml", "contents": "name: Test clean install\n\non:\n  schedule:\n    - cron: \"0 20 * * *\"\n\njobs:\n  test-install-direct:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\"]\n        python-version: [3.9]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: XCode\n      uses: maxim-lobanov/setup-xcode@v1\n      with:\n        xcode-version: latest\n      if: runner.os == 'macOS'\n    - name: setup python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install base wheel\n      run: |\n        python -m pip install --upgrade pip wheel\n        if [[ ${{matrix.os}} == macos-latest ]];\n        then\n          brew update\n          brew install hdf5\n          # This installation of numpy is currently needed to avoid an issue\n          # while running pip install of astromodels\n          pip install numpy\n        fi\n        python -m pip install astromodels\n\n    - name: Install 3ML\n      run: |\n        python setup.py install\n\n  test-install-pip:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\"]\n        python-version: [3.9]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: XCode\n      uses: maxim-lobanov/setup-xcode@v1\n      with:\n        xcode-version: latest\n      if: runner.os == 'macOS'\n    - name: setup python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install base wheel\n      run: |\n        python -m pip install --upgrade pip wheel\n        if [[ ${{matrix.os}} == macos-latest ]];\n        then\n          brew update\n          brew install hdf5\n          # This installation of numpy is currently needed to avoid an issue\n          # while running pip install of astromodels\n          pip install numpy \n        fi\n        python -m pip install astromodels\n\n    - name: Install 3ML\n      run: |\n        pip install threeML\n\n  test-install-conda:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\"]\n        python-version: [3.9]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: XCode\n      uses: maxim-lobanov/setup-xcode@v1\n      with:\n        xcode-version: latest\n      if: runner.os == 'macOS'\n    - name: Setup Miniconda\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        activate-environment: \"test_env\"\n        auto-activate-base: false\n        miniforge-variant: Mambaforge\n        architecture: \"x64\"\n        python-version: ${{ matrix.python-version }}\n        auto-update-conda: true\n        channels:  threeml, xspecmodels, fermi, conda-forge\n    - name: Install packages\n      run: |\n        mamba activate test_env\n        mamba install threeML astromodels xspec-modelsonly fermitools #fermipy\n    - name: Test threeML and astromodels\n      run: |\n        pytest -vv --pyargs astromodels\n        pytest -vv --pyargs threeML\n      env:\n        OMP_NUM_THREADS: 1\n        MKL_NUM_THREADS: 1\n        NUMEXPR_NUM_THREADS: 1\n        MPLBACKEND: \"Agg\"\n\n  test-install-conda-dev:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\"]\n        python-version: [3.9]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: XCode\n      uses: maxim-lobanov/setup-xcode@v1\n      with:\n        xcode-version: latest\n      if: runner.os == 'macOS'\n    - name: Setup Miniconda\n      uses: conda-incubator/setup-miniconda@v3\n      with:\n        activate-environment: \"test_env\"\n        auto-activate-base: false\n        miniforge-variant: Mambaforge\n        architecture: \"x64\"\n        python-version: ${{ matrix.python-version }}\n        auto-update-conda: true\n        channels:  threeml/label/dev, xspecmodels, fermi, conda-forge\n    - name: Install packages\n      run: |\n        mamba activate test_env\n        mamba install threeML astromodels xspec-modelsonly fermitools #fermipy\n    - name: Test threeML and astromodels\n      run: |\n        pytest -vv --pyargs astromodels\n        pytest -vv --pyargs threeML\n      env:\n        OMP_NUM_THREADS: 1\n        MKL_NUM_THREADS: 1\n        NUMEXPR_NUM_THREADS: 1\n        MPLBACKEND: \"Agg\"", "state": "active", "repository": "threeml/threeml"}
{"mined_at": "2024-07-15T17:42:25.525090", "created_at": "2021-01-30T10:48:57+01:00", "updated_at": "2021-01-30T10:53:09+01:00", "name": "Test Against XSPEC", "path": ".github/workflows/test_against_xspec.yml", "contents": "name: Test Against XSPEC\n\non:\n    push:\n    schedule:\n        - cron: \"0 22 * * 0\"\n\njobs:\n    xspec-standard:\n        name: Test against XSPEC\n        runs-on: ubuntu-latest\n        steps:\n          - name: Set up Python 3.9\n            uses: actions/setup-python@v5\n            with:\n              python-version: 3.9\n       \n          - name: Cache XPSEC\n            uses: actions/cache@v4\n            id: cache-xspec\n            with:\n              path: ~/xspec_home\n              key: xspec-ver3\n          - name: Get XSPEC\n            env:\n              CACHE_HIT: ${{steps.cache-xspec.outputs.cache-hit}}\n            run: |\n              echo \"getting latest heasoft bundle\";\n              if [[ \"$CACHE_HIT\" == 'true' ]]; then\n              \n\n              echo \"NOOOO\"\n            \n              \n            \n              else\n\n              mkdir -p ~/xspec_home\n              \n              wget -O heasoft-src.tar.gz 'https://heasarc.gsfc.nasa.gov/cgi-bin/Tools/tarit/tarit.pl?mode=download&arch=src&src_pc_linux_ubuntu=Y&src_other_specify=&general=heasptools&general=heagen&xanadu=xspec' --header 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' --header 'Accept-Language: en-US' --header 'DNT: 1' --header 'Connection: keep-alive' --header 'Referer: https://heasarc.gsfc.nasa.gov/lheasoft/download.html' --header 'Upgrade-Insecure-Requests: 1' --header 'Sec-GPC: 1' --progress=dot:giga\n\n              mv heasoft-src.tar.gz ~/xspec_home/\n                \n              \n              fi\n                \n          - name: Extract XSPEC\n            env:\n              CACHE_HIT: ${{steps.cache-xspec.outputs.cache-hit}}\n            run: |\n\n              if [[ \"$CACHE_HIT\" == 'true' ]]; then\n\n              echo \"NOOOOOO\"\n\n              else\n\n              \n              echo \"unpacking heasoft\";\n\n              cd ~/xspec_home\n              \n              #rm -rf heasoft*/;\n              tar -xzf heasoft-src.tar.gz;\n              ls heasoft*;\n              ls;   \n              echo \"compiling xspec\";\n              sudo apt-get install -y gfortran build-essential cmake liblapack3 liblapack-dev libatlas3-base libatlas-base-dev libblas3 libblas-dev libreadline-dev;\n              ls heasoft*;\n              XSPEC_BUILD_DIR=`ls -d heasoft-*/BUILD_DIR`;\n              \n              pushd $XSPEC_BUILD_DIR;\n              mkdir -p ~/xspec_home/xspec-install/;\n              ./configure --prefix=/home/runner/xspec_home/xspec-install/ --with-components=\"Xspec\" && make && make install | grep -v hd_install;\n              ls ~/xspec_home/xspec-install/x86_64-pc-linux-gnu-libc*/;\n              \n              ls \n              popd;\n              rm -rf $XSPEC_BUILD_DIR ~/xspec_home/heasoft-src.tar.gz\n              fi\n                 \n          - name: Checkout\n            uses: actions/checkout@v4\n          - name: Install dependencies\n            run: |\n              export HEADAS=`ls -d ~/xspec_home/xspec-install/x86_64-pc-linux-gnu-libc*/`;\n              echo \"loading xspec from \" $HEADAS;\n              source ${HEADAS}/headas-init.sh;\n              python -c 'import xspec' || true;\n              \n              python -m pip install --upgrade pip wheel\n              pip install --upgrade astromodels\n              pip install --upgrade flake8 coverage pytest-cov cython\n              pip install -e .\n            env:\n              ASTRO_XSPEC_VERSION: 12.12.1\n\n\n          - name: Test xspec\n            run: |\n              export HEADAS=`ls -d ~/xspec_home/xspec-install/x86_64-pc-linux-gnu-libc*/`;\n              echo \"loading xspec from \" $HEADAS;\n              source ${HEADAS}/headas-init.sh;\n              python -m pytest threeML/test/test_AAA_against_xspec.py\n              \n    xspec-astro-master:\n        name: Test against XSPEC astro master\n        runs-on: ubuntu-latest\n        steps:\n          - name: Set up Python 3.9\n            uses: actions/setup-python@v5\n            with:\n              python-version: 3.9\n\n          - name: Cache XPSEC\n            uses: actions/cache@v4\n            id: cache-xspec\n            with:\n              path: ~/xspec_home\n              key: xspec-ver3\n          - name: Get XSPEC\n            env:\n              CACHE_HIT: ${{steps.cache-xspec.outputs.cache-hit}}\n            run: |\n              echo \"getting latest heasoft bundle\";\n              if [[ \"$CACHE_HIT\" == 'true' ]]; then\n\n\n              echo \"NOOOO\"\n\n\n\n              else\n\n              mkdir -p ~/xspec_home\n\n              wget -O heasoft-src.tar.gz 'https://heasarc.gsfc.nasa.gov/cgi-bin/Tools/tarit/tarit.pl?mode=download&arch=src&src_pc_linux_ubuntu=Y&src_other_specify=&general=heasptools&general=heagen&xanadu=xspec' --header 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' --header 'Accept-Language: en-US' --header 'DNT: 1' --header 'Connection: keep-alive' --header 'Referer: https://heasarc.gsfc.nasa.gov/lheasoft/download.html' --header 'Upgrade-Insecure-Requests: 1' --header 'Sec-GPC: 1' --progress=dot:giga\n\n              mv heasoft-src.tar.gz ~/xspec_home/\n\n\n              fi\n\n          - name: Extract XSPEC\n            env:\n              CACHE_HIT: ${{steps.cache-xspec.outputs.cache-hit}}\n            run: |\n\n              if [[ \"$CACHE_HIT\" == 'true' ]]; then\n\n              echo \"NOOOOOO\"\n\n              else\n\n\n              echo \"unpacking heasoft\";\n\n              cd ~/xspec_home\n\n              #rm -rf heasoft*/;\n              tar -xzf heasoft-src.tar.gz;\n              ls heasoft*;\n              ls;\n              echo \"compiling xspec\";\n              sudo apt-get install -y gfortran build-essential cmake liblapack3 liblapack-dev libatlas3-base libatlas-base-dev libblas3 libblas-dev libreadline-dev;\n              ls heasoft*;\n              XSPEC_BUILD_DIR=`ls -d heasoft-*/BUILD_DIR`;\n\n              pushd $XSPEC_BUILD_DIR;\n              mkdir -p ~/xspec_home/xspec-install/;\n              ./configure --prefix=/home/runner/xspec_home/xspec-install/ --with-components=\"Xspec\" && make && make install | grep -v hd_install;\n              ls ~/xspec_home/xspec-install/x86_64-pc-linux-gnu-libc*/;\n\n              ls\n              popd;\n              rm -rf $XSPEC_BUILD_DIR ~/xspec_home/heasoft-src.tar.gz\n              fi\n\n          - name: Checkout\n            uses: actions/checkout@v4\n          - name: Install dependencies\n            run: |\n              export HEADAS=`ls -d ~/xspec_home/xspec-install/x86_64-pc-linux-gnu-libc*/`;\n              echo \"loading xspec from \" $HEADAS;\n              source ${HEADAS}/headas-init.sh;\n              python -c 'import xspec' || true;\n\n              python -m pip install --upgrade pip wheel\n              python -m pip install numpy numba\n\n              git clone https://github.com/threeML/astromodels\n              cd astromodels\n\n              pip install -e .\n\n              cd ..\n\n              pip install --upgrade flake8 coverage pytest-cov cython\n              pip install -e .\n            env:\n              ASTRO_XSPEC_VERSION: 12.12.1\n\n\n          - name: Test xspec\n            run: |\n              export HEADAS=`ls -d ~/xspec_home/xspec-install/x86_64-pc-linux-gnu-libc*/`;\n              echo \"loading xspec from \" $HEADAS;\n              source ${HEADAS}/headas-init.sh;\n              python -m pytest threeML/test/test_AAA_against_xspec.py\n\n    xspec-astro-dev:\n        name: Test against XSPEC astro dev\n        runs-on: ubuntu-latest\n        steps:\n          - name: Set up Python 3.9\n            uses: actions/setup-python@v5\n            with:\n              python-version: 3.9\n\n          - name: Cache XPSEC\n            uses: actions/cache@v4\n            id: cache-xspec\n            with:\n              path: ~/xspec_home\n              key: xspec-ver3\n          - name: Get XSPEC\n            env:\n              CACHE_HIT: ${{steps.cache-xspec.outputs.cache-hit}}\n            run: |\n              echo \"getting latest heasoft bundle\";\n              if [[ \"$CACHE_HIT\" == 'true' ]]; then\n\n\n              echo \"NOOOO\"\n\n\n\n              else\n\n              mkdir -p ~/xspec_home\n\n              wget -O heasoft-src.tar.gz 'https://heasarc.gsfc.nasa.gov/cgi-bin/Tools/tarit/tarit.pl?mode=download&arch=src&src_pc_linux_ubuntu=Y&src_other_specify=&general=heasptools&general=heagen&xanadu=xspec' --header 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' --header 'Accept-Language: en-US' --header 'DNT: 1' --header 'Connection: keep-alive' --header 'Referer: https://heasarc.gsfc.nasa.gov/lheasoft/download.html' --header 'Upgrade-Insecure-Requests: 1' --header 'Sec-GPC: 1' --progress=dot:giga\n\n              mv heasoft-src.tar.gz ~/xspec_home/\n\n\n              fi\n\n          - name: Extract XSPEC\n            env:\n              CACHE_HIT: ${{steps.cache-xspec.outputs.cache-hit}}\n            run: |\n\n              if [[ \"$CACHE_HIT\" == 'true' ]]; then\n\n              echo \"NOOOOOO\"\n\n              else\n\n\n              echo \"unpacking heasoft\";\n\n              cd ~/xspec_home\n\n              #rm -rf heasoft*/;\n              tar -xzf heasoft-src.tar.gz;\n              ls heasoft*;\n              ls;\n              echo \"compiling xspec\";\n              sudo apt-get install -y gfortran build-essential cmake liblapack3 liblapack-dev libatlas3-base libatlas-base-dev libblas3 libblas-dev libreadline-dev;\n              ls heasoft*;\n              XSPEC_BUILD_DIR=`ls -d heasoft-*/BUILD_DIR`;\n\n              pushd $XSPEC_BUILD_DIR;\n              mkdir -p ~/xspec_home/xspec-install/;\n              ./configure --prefix=/home/runner/xspec_home/xspec-install/ --with-components=\"Xspec\" && make && make install | grep -v hd_install;\n              ls ~/xspec_home/xspec-install/x86_64-pc-linux-gnu-libc*/;\n\n              ls\n              popd;\n              rm -rf $XSPEC_BUILD_DIR ~/xspec_home/heasoft-src.tar.gz\n              fi\n\n          - name: Checkout\n            uses: actions/checkout@v4\n          - name: Install dependencies\n            run: |\n              export HEADAS=`ls -d ~/xspec_home/xspec-install/x86_64-pc-linux-gnu-libc*/`;\n              echo \"loading xspec from \" $HEADAS;\n              source ${HEADAS}/headas-init.sh;\n              python -c 'import xspec' || true;\n\n              python -m pip install --upgrade pip wheel\n              python -m pip install numpy numba\n\n              git clone https://github.com/threeML/astromodels\n              cd astromodels\n              git checkout dev\n              pip install -e .\n\n              cd ..\n\n              pip install --upgrade flake8 coverage pytest-cov cython\n              pip install -e .\n            env:\n              ASTRO_XSPEC_VERSION: 12.12.1\n\n\n          - name: Test xspec\n            run: |\n              export HEADAS=`ls -d ~/xspec_home/xspec-install/x86_64-pc-linux-gnu-libc*/`;\n              echo \"loading xspec from \" $HEADAS;\n              source ${HEADAS}/headas-init.sh;\n              python -m pytest threeML/test/test_AAA_against_xspec.py\n\n    xspec-astro-conda:\n        name: Test against XSPEC astro conda\n        runs-on: ubuntu-latest\n        steps:\n          - name: Set up Python 3.9\n            uses: actions/setup-python@v5\n            with:\n              python-version: 3.9\n          - name: Add conda ${{ matrix.python-version }} to system path\n            uses: conda-incubator/setup-miniconda@v3\n            with:\n                  activate-environment: \"test_env\"\n                  auto-activate-base: false\n                  miniforge-variant: Mambaforge\n                  architecture: \"x64\"\n                  #conda-build-version: \"*\"\n                  python-version: ${{ matrix.python-version }}\n                  auto-update-conda: true\n                  channels: conda-forge, threeml, fermi, defaults\n                  use-only-tar-bz2: true\n\n          - name: Cache XPSEC\n            uses: actions/cache@v4\n            id: cache-xspec\n            with:\n              path: ~/xspec_home\n              key: xspec-ver3\n          - name: Get XSPEC\n            env:\n              CACHE_HIT: ${{steps.cache-xspec.outputs.cache-hit}}\n            run: |\n              echo \"getting latest heasoft bundle\";\n              if [[ \"$CACHE_HIT\" == 'true' ]]; then\n\n\n              echo \"NOOOO\"\n\n\n\n              else\n\n              mkdir -p ~/xspec_home\n\n              wget -O heasoft-src.tar.gz 'https://heasarc.gsfc.nasa.gov/cgi-bin/Tools/tarit/tarit.pl?mode=download&arch=src&src_pc_linux_ubuntu=Y&src_other_specify=&general=heasptools&general=heagen&xanadu=xspec' --header 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' --header 'Accept-Language: en-US' --header 'DNT: 1' --header 'Connection: keep-alive' --header 'Referer: https://heasarc.gsfc.nasa.gov/lheasoft/download.html' --header 'Upgrade-Insecure-Requests: 1' --header 'Sec-GPC: 1' --progress=dot:giga\n\n              mv heasoft-src.tar.gz ~/xspec_home/\n\n\n              fi\n\n          - name: Extract XSPEC\n            env:\n              CACHE_HIT: ${{steps.cache-xspec.outputs.cache-hit}}\n            run: |\n\n              if [[ \"$CACHE_HIT\" == 'true' ]]; then\n\n              echo \"NOOOOOO\"\n\n              else\n\n\n              echo \"unpacking heasoft\";\n\n              cd ~/xspec_home\n\n              #rm -rf heasoft*/;\n              tar -xzf heasoft-src.tar.gz;\n              ls heasoft*;\n              ls;\n              echo \"compiling xspec\";\n              sudo apt-get install -y gfortran build-essential cmake liblapack3 liblapack-dev libatlas3-base libatlas-base-dev libblas3 libblas-dev libreadline-dev;\n              ls heasoft*;\n              XSPEC_BUILD_DIR=`ls -d heasoft-*/BUILD_DIR`;\n\n              pushd $XSPEC_BUILD_DIR;\n              mkdir -p ~/xspec_home/xspec-install/;\n              ./configure --prefix=/home/runner/xspec_home/xspec-install/ --with-components=\"Xspec\" && make && make install | grep -v hd_install;\n              ls ~/xspec_home/xspec-install/x86_64-pc-linux-gnu-libc*/;\n\n              ls\n              popd;\n              rm -rf $XSPEC_BUILD_DIR ~/xspec_home/heasoft-src.tar.gz\n              fi\n          - name: Checkout\n            uses: actions/checkout@v4\n          - name: Install dependencies\n            shell: bash -l {0}\n            run: |\n              export HEADAS=`ls -d ~/xspec_home/xspec-install/x86_64-pc-linux-gnu-libc*/`;\n              echo \"loading xspec from \" $HEADAS;\n              source ${HEADAS}/headas-init.sh;\n\n              conda install -c conda-forge -c threeml astromodels\n\n              pip install --upgrade flake8 coverage pytest-cov cython\n              pip install -e .\n            env:\n              ASTRO_XSPEC_VERSION: 12.12.1\n\n\n          - name: Test xspec\n            shell: bash -l {0}\n            run: |\n              export HEADAS=`ls -d ~/xspec_home/xspec-install/x86_64-pc-linux-gnu-libc*/`;\n              echo \"loading xspec from \" $HEADAS;\n              source ${HEADAS}/headas-init.sh;\n              python -m pytest threeML/test/test_AAA_against_xspec.py\n", "state": "active", "repository": "threeml/threeml"}
{"mined_at": "2024-07-15T17:42:26.518278", "created_at": "2022-09-27T15:27:36+02:00", "updated_at": "2022-09-27T15:27:36+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "threeml/threeml"}
{"mined_at": "2024-07-15T17:42:28.650543", "created_at": "2021-10-29T16:30:58+02:00", "updated_at": "2021-10-29T17:15:12+02:00", "name": "Base", "path": ".github/workflows/Testbase.yml", "contents": "name: Base\n\non:\n    workflow_call:\n      inputs:\n        python:\n          required: true\n          type: string\n        qt5:\n          required: true\n          type: string\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      DISPLAY: ':99.0'\n      QT_DEBUG_PLUGINS: 1\n    steps:\n      - name: Set up Python ${{ inputs.python }}\n        uses: actions/checkout@v3\n      - name: Install dependencies\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ inputs.python }}\n      - name: Install package\n        run: |\n          sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils\n          python -m pip install --upgrade pip\n          export QT_DEBUG_PLUGINS=1\n          pip install flake8 pytest pytest-cov pytest-qt pytest-xdist pytest-xvfb setuptools wheel numpy h5py ${{ inputs.qt5 }}\n          git branch\n          pip install -e .    \n      - name: create local pymodaq folder and setting permissions\n        run: |\n          sudo mkdir /etc/.pymodaq\n          sudo chmod uo+rw /etc/.pymodaq\n      - name: Linting with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=src/pymodaq/resources/QtDesigner_Ressources,docs\n      - name: Test with pytest\n        run: |\n          pytest --cov=pymodaq --cov-report=xml -n auto\n      - name: Upload coverage to codecov.io\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./coverage.xml\n", "state": "disabled_manually", "repository": "pymodaq/pymodaq"}
{"mined_at": "2024-07-15T17:42:29.977576", "created_at": "2022-03-03T13:08:29+01:00", "updated_at": "2022-03-03T13:08:29+01:00", "name": "Base", "path": ".github/workflows/Testbase_win.yml", "contents": "name: Base\n\non:\n    workflow_call:\n      inputs:\n        python:\n          required: true\n          type: string\n        qt5:\n          required: true\n          type: string\n\njobs:\n  build:\n    runs-on: windows-latest\n    env:\n      DISPLAY: ':99.0'\n      QT_DEBUG_PLUGINS: 1\n    steps:\n      - name: Set up Python ${{ inputs.python }}\n        uses: actions/checkout@v3\n      - name: Install dependencies\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ inputs.python }}\n      - name: Install package\n        run: |\n          python -m pip install --upgrade pip\n          set QT_DEBUG_PLUGINS=1\n          pip install flake8 pytest pytest-cov pytest-qt pytest-xdist pytest-xvfb setuptools wheel numpy h5py ${{ inputs.qt5 }}\n          git branch\n          pip install -e .\n      - name: Linting with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=src/pymodaq/resources/QtDesigner_Ressources,docs\n      - name: Test with pytest\n        run: |\n          pytest --cov=pymodaq --cov-report=xml -n auto\n      - name: Upload coverage to codecov.io\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ./coverage.xml\n", "state": "active", "repository": "pymodaq/pymodaq"}
{"mined_at": "2024-07-15T17:42:31.214900", "created_at": "2023-03-03T22:58:28+01:00", "updated_at": "2023-04-25T18:32:57+02:00", "name": "3.10 PyQt5", "path": ".github/workflows/Testp310pyqt5.yml", "contents": "name: '3.10 PyQt5'\n\non: [push, pull_request]\n\njobs:\n  call_workflow:\n    uses: ./.github/workflows/Testbase.yml\n    with:\n      python: '3.10'\n      qt5: 'pyqt5'", "state": "active", "repository": "pymodaq/pymodaq"}
{"mined_at": "2024-07-15T17:42:32.242302", "created_at": "2023-03-03T22:58:28+01:00", "updated_at": "2023-04-25T18:32:57+02:00", "name": "3.11 PyQt5", "path": ".github/workflows/Testp311pyqt5.yml", "contents": "name: '3.11 PyQt5'\n\non: [push, pull_request]\n\njobs:\n  call_workflow:\n    uses: ./.github/workflows/Testbase.yml\n    with:\n      python: '3.11'\n      qt5: 'pyqt5'", "state": "active", "repository": "pymodaq/pymodaq"}
{"mined_at": "2024-07-15T17:42:33.271143", "created_at": "2021-10-29T16:58:53+02:00", "updated_at": "2023-04-25T18:32:12+02:00", "name": "3.7 PyQt5", "path": ".github/workflows/Testp37pyqt5.yml", "contents": null, "state": "active", "repository": "pymodaq/pymodaq"}
{"mined_at": "2024-07-15T17:42:34.254840", "created_at": "2021-10-29T16:58:53+02:00", "updated_at": "2023-11-12T18:28:42+01:00", "name": "3.8 PySide2", "path": ".github/workflows/Testp37pyside2.yml", "contents": null, "state": "disabled_manually", "repository": "pymodaq/pymodaq"}
{"mined_at": "2024-07-15T17:42:35.297341", "created_at": "2021-10-29T17:06:15+02:00", "updated_at": "2023-06-30T15:05:09+02:00", "name": "3.8 PyQt5", "path": ".github/workflows/Testp38pyqt5.yml", "contents": "name: '3.8 PyQt5'\n\non: [push, pull_request]\n\njobs:\n  call_workflow:\n    uses: ./.github/workflows/Testbase.yml\n    with:\n      python: '3.8'\n      qt5: 'pyqt5'\n", "state": "active", "repository": "pymodaq/pymodaq"}
{"mined_at": "2024-07-15T17:42:36.314670", "created_at": "2022-03-03T13:08:29+01:00", "updated_at": "2023-04-25T18:32:57+02:00", "name": "3.8 PyQt5 Windows", "path": ".github/workflows/Testp38pyqt5_win.yml", "contents": "name: '3.8 PyQt5 Windows'\n\non: [push, pull_request]\n\njobs:\n  call_workflow:\n    uses: ./.github/workflows/Testbase.yml\n    with:\n      python: '3.8'\n      qt5: 'pyqt5'\n", "state": "active", "repository": "pymodaq/pymodaq"}
{"mined_at": "2024-07-15T17:42:37.348282", "created_at": "2023-03-03T19:56:10+01:00", "updated_at": "2023-11-12T18:29:09+01:00", "name": "3.8 PySide2", "path": ".github/workflows/Testp38pyside2.yml", "contents": "name: '3.8 PySide2'\n\non: [push, pull_request]\n\njobs:\n  call_workflow:\n    uses: ./.github/workflows/Testbase.yml\n    with:\n      python: '3.8'\n      qt5: 'pyside2'", "state": "disabled_manually", "repository": "pymodaq/pymodaq"}
{"mined_at": "2024-07-15T17:42:38.394753", "created_at": "2021-10-29T17:06:15+02:00", "updated_at": "2023-04-25T18:32:57+02:00", "name": "3.9 PyQt5", "path": ".github/workflows/Testp39pyqt5.yml", "contents": "name: '3.9 PyQt5'\n\non: [push, pull_request]\n\njobs:\n  call_workflow:\n    uses: ./.github/workflows/Testbase.yml\n    with:\n      python: '3.9'\n      qt5: 'pyqt5'", "state": "active", "repository": "pymodaq/pymodaq"}
{"mined_at": "2024-07-15T17:42:39.407655", "created_at": "2023-03-07T18:59:33+01:00", "updated_at": "2023-11-12T18:28:58+01:00", "name": "3.9 PyQt6", "path": ".github/workflows/Testp39pyqt6.yml", "contents": "name: '3.9 PyQt6'\n\non: [push, pull_request]\n\njobs:\n  call_workflow:\n    uses: ./.github/workflows/Testbase.yml\n    with:\n      python: '3.8'\n      qt5: 'pyqt6'\n", "state": "disabled_manually", "repository": "pymodaq/pymodaq"}
{"mined_at": "2024-07-15T17:42:40.642243", "created_at": "2021-01-08T20:30:12+01:00", "updated_at": "2021-01-08T20:30:12+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n          \n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install hatch hatchling\n    - name: Build\n      run: hatch build\n    - name: publish\n      env:\n        HATCH_INDEX_USER: ${{ secrets.PYPI_USERNAME }}\n        HATCH_INDEX_AUTH: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        hatch publish\n", "state": "active", "repository": "pymodaq/pymodaq"}
{"mined_at": "2024-07-15T17:42:43.002449", "created_at": "2023-05-16T22:08:35+02:00", "updated_at": "2023-06-07T01:32:01+02:00", "name": "Build and Test on Linux", "path": ".github/workflows/build_linux.yml", "contents": "name: Build and Test on Linux\n\non: [push, pull_request]\n\njobs:\n  build-linux:\n    \n    name: Python (${{ matrix.python-version }})\n    runs-on: ubuntu-latest\n    #env:\n    strategy:\n      matrix:\n        python-version: [\"3.8\",\"3.9\",\"3.10\",\"3.11\",\"3.12\"]\n   \n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Ubuntu Dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install cmake gfortran libopenjp2-7 libopenjp2-7-dev libpng16-16 libpng-dev libaec0 libaec-dev\n\n    - name: Install python dependencies via pip\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade setuptools\n        python -m pip install --upgrade wheel\n        python -m pip install -r requirements.txt\n\n    - name: Install NCEPLIBS-g2c\n      run: |\n        wget https://github.com/NOAA-EMC/NCEPLIBS-g2c/archive/refs/tags/v1.8.0.tar.gz\n        tar -xzvf v1.8.0.tar.gz\n        cd NCEPLIBS-g2c-1.8.0\n        mkdir build && cd build\n        cmake -DUSE_Jasper=OFF -DUSE_OpenJPEG=ON -DBUILD_PNG=ON -DBUILD_AEC=ON -DBUILD_SHARED_LIBS=ON ..\n        make -j2\n        sudo make install\n        \n    - name: Install grib2io and test\n      run: |\n        python --version\n        pip install .\n        pytest ./tests/\n", "state": "active", "repository": "noaa-mdl/grib2io"}
{"mined_at": "2024-07-15T17:42:44.215453", "created_at": "2023-06-06T19:29:55+02:00", "updated_at": "2023-06-06T19:29:55+02:00", "name": "Build and Test on macOS", "path": ".github/workflows/build_macos.yml", "contents": "name: Build and Test on macOS\n\non: [push, pull_request]\n\njobs:\n  build-macos:\n    \n    name: Python (${{ matrix.python-version }})\n    runs-on: ${{ matrix.os }}\n    env:\n      CC: gcc-12\n    strategy:\n      matrix:\n        os: [\"macos-latest\",]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n   \n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install macOS Dependencies\n      run: |\n        brew install jasper libpng libaec\n        brew tap eengl/nceplibs\n        brew install nceplibs-g2c\n\n    - name: Install python dependencies via pip\n      run: |\n        python3 -m pip install --upgrade pip\n        python3 -m pip install --upgrade setuptools\n        python3 -m pip install --upgrade wheel\n        python3 -m pip install -r requirements.txt\n\n    - name: Install grib2io and test\n      run: |\n        python --version\n        pip install .\n        pytest ./tests/\t\n", "state": "active", "repository": "noaa-mdl/grib2io"}
{"mined_at": "2024-07-15T17:42:45.199003", "created_at": "2022-01-07T17:28:32+01:00", "updated_at": "2022-01-07T17:28:32+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "noaa-mdl/grib2io"}
{"mined_at": "2024-07-15T17:42:47.238446", "created_at": "2021-04-07T13:16:22+02:00", "updated_at": "2021-04-07T13:16:22+02:00", "name": "charm-helpers CI", "path": ".github/workflows/build.yml", "contents": "name: charm-helpers CI\n\non:\n  push:\n    branches:\n      - master\n      - 'stable/**'\n  pull_request:\n    branches:\n      - master\n      - 'stable/**'\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        include:\n          - python-version: 3.6\n            env: pep8,py36\n          - python-version: 3.7\n            env: pep8,py37\n          - python-version: 3.8\n            env: pep8,py38\n          - python-version: \"3.10\"\n            env: pep8,py310\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install juju\n      run: |\n        sudo snap install juju --classic\n    - name: Install packages\n      run: |\n        sudo apt -qq update\n        sudo apt install --yes libapt-pkg-dev # For python-apt wheel build\n        sudo apt install --yes bzr\n    - name: Install tox\n      run: pip install tox\n    - name: Test\n      run: tox -c tox.ini -e ${{ matrix.env }}\n", "state": "active", "repository": "juju/charm-helpers"}
{"mined_at": "2024-07-15T17:42:49.451538", "created_at": "2020-08-12T22:22:54+02:00", "updated_at": "2020-08-12T22:22:54+02:00", "name": "Generate Database", "path": ".github/workflows/gen-db.yml", "contents": "# This workflow will install Python dependencies,\n# run the python script to generate the database,\n# and upload the regenerated database to the binary repo\n\nname: Generate Database\n\non:\n  # More details on trigger events: \n  #  https://docs.github.com/en/actions/reference/events-that-trigger-workflows\n  workflow_dispatch:  # manual execution\n  release:\n    types: [published]\n\njobs:\n  build:\n    # Only run for the SIMPLE-AstroDB/SIMPLE-db repo, not on any forks\n    if: github.repository == 'SIMPLE-AstroDB/SIMPLE-db'\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    \n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    \n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install astrodbkit2\n        pip install git+https://github.com/astrodbtoolkit/astrodb_utils.git@main\n\n    - name: Generate sqlite (file) database\n      run: |\n        python simple/utils/generate_database.py\n      working-directory: .\n\n    - name: Push database file\n      uses: dmnemec/copy_file_to_another_repo_action@main\n      # Details for this action at https://github.com/marketplace/actions/push-a-file-to-another-repository\n      env:\n          API_TOKEN_GITHUB: ${{ secrets.SIMPLE_TOKEN }}\n      with:\n          source_file: 'SIMPLE.sqlite'\n          destination_repo: 'SIMPLE-AstroDB/SIMPLE-binary'\n          destination_branch: 'main'\n          user_email: 'github-actions@github.com'\n          user_name: 'github-actions'\n", "state": "active", "repository": "simple-astrodb/simple-db"}
{"mined_at": "2024-07-15T17:42:50.518659", "created_at": "2020-07-14T22:08:44+02:00", "updated_at": "2020-08-11T20:58:15+02:00", "name": "Database Integration Tests", "path": ".github/workflows/python-app.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Database Integration Tests\n\non:\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch:  # manual execution\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n\n    - name: Test with pytest\n      run: |\n        pytest -s\n", "state": "active", "repository": "simple-astrodb/simple-db"}
{"mined_at": "2024-07-15T17:42:51.679065", "created_at": "2023-10-17T22:26:41+02:00", "updated_at": "2023-10-17T22:26:41+02:00", "name": "Scheduled Checks", "path": ".github/workflows/scheduled-tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Scheduled Checks\n\non:\n  schedule:\n    - cron: '30 1 1 * *'\n  workflow_dispatch:  # manual execution\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n\n    - name: Test with pytest\n      run: |\n        pytest -s -rpP tests/scheduled_checks.py\n", "state": "active", "repository": "simple-astrodb/simple-db"}
{"mined_at": "2024-07-15T17:42:52.674281", "created_at": "2023-08-17T18:59:39+02:00", "updated_at": "2023-08-17T18:59:39+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "simple-astrodb/simple-db"}
{"mined_at": "2024-07-15T17:42:54.776211", "created_at": "2022-08-08T21:24:32+02:00", "updated_at": "2022-08-08T21:24:32+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '32 18 * * 3'\n  workflow_dispatch:\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        \n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "mrlvsb/kelvin"}
{"mined_at": "2024-07-15T17:42:55.825746", "created_at": "2021-05-07T13:25:40+02:00", "updated_at": "2021-05-07T13:25:40+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\nconcurrency: deploy\non:\n  workflow_dispatch:\n  push:\n    branches: [ master ]\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - run: 'curl --fail --silent --show-error -H\"Authorization: Bearer ${{ secrets.DEPLOY_TOKEN }}\" ${{ secrets.DEPLOY_URL }}'\n", "state": "active", "repository": "mrlvsb/kelvin"}
{"mined_at": "2024-07-15T17:42:56.839853", "created_at": "2024-04-03T17:24:18+02:00", "updated_at": "2024-04-04T16:01:44+02:00", "name": "Pyright in virtual environment", "path": ".github/workflows/pyright-venv.yml", "contents": "name: Pyright in virtual environment\non:\n  workflow_dispatch:\n  pull_request:\njobs:\n  pyright:\n    name: pyright\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n          cache: 'pip'\n      - run: |\n          sudo apt-get install libgraphviz-dev\n          python -m venv .venv\n          source .venv/bin/activate\n          pip install -r requirements.txt\n\n      - run: echo \"$PWD/.venv/bin\" >> $GITHUB_PATH\n      - uses: jakebailey/pyright-action@v2\n", "state": "active", "repository": "mrlvsb/kelvin"}
{"mined_at": "2024-07-15T17:42:57.892055", "created_at": "2024-03-07T16:17:29+01:00", "updated_at": "2024-04-04T09:11:25+02:00", "name": "Pyright", "path": ".github/workflows/pyright.yml", "contents": "name: Pyright\non: [pull_request]\njobs:\n  pyright:\n    name: pyright\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jakebailey/pyright-action@v2\n        with:\n          version: 1.1.356\n          lib: true\n", "state": "active", "repository": "mrlvsb/kelvin"}
{"mined_at": "2024-07-15T17:42:58.910338", "created_at": "2024-03-06T17:05:08+01:00", "updated_at": "2024-03-06T17:05:08+01:00", "name": "Ruff", "path": ".github/workflows/ruff.yml", "contents": "name: Ruff\non: push\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install ruff\n      # Update output format to enable automatic inline annotations.\n      - name: Run Ruff\n        run: ruff check --output-format=github api common survey web\n", "state": "active", "repository": "mrlvsb/kelvin"}
{"mined_at": "2024-07-15T17:43:01.124913", "created_at": "2023-09-11T21:10:16+02:00", "updated_at": "2023-09-11T21:10:16+02:00", "name": "Build & Test", "path": ".github/workflows/build-test-python-package.yml", "contents": null, "state": "active", "repository": "kerneltuner/kernel_tuner"}
{"mined_at": "2024-07-15T17:43:02.317909", "created_at": "2022-02-04T08:57:03+01:00", "updated_at": "2023-10-03T16:51:04+02:00", "name": "Citation file validation", "path": ".github/workflows/cffconvert.yml", "contents": "# This workflow validates the citation file in the repository\n\nname: Citation file validation\n\non:\n    push:\n        paths:\n            - CITATION.cff\n\njobs:\n    validate:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Check out a copy of the repository\n              uses: actions/checkout@v4\n\n            - name: Check whether the citation metadata from CITATION.cff is valid\n              uses: citation-file-format/cffconvert-github-action@2.0.0\n              with:\n                  args: \"--validate\"\n", "state": "active", "repository": "kerneltuner/kernel_tuner"}
{"mined_at": "2024-07-15T17:43:03.583022", "created_at": "2022-10-06T10:13:18+02:00", "updated_at": "2023-10-03T16:51:04+02:00", "name": "Build versioned documentation on release", "path": ".github/workflows/docs-on-release.yml", "contents": "name: Build versioned documentation on release\n\non:\n    release:\n        types: [published]\n\n    # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n\njobs:\n    build:\n        environment: dev_environment\n        runs-on: ubuntu-latest\n        steps:\n            - name: Get Python 3.10\n              uses: actions/setup-python@v4\n              with:\n                  python-version: \"3.10\"\n            - name: Checkout\n              uses: actions/checkout@v4\n              with:\n                  fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n            - name: Get version set env, exit if beta release\n              run: |\n                  echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n                  if [[ \"$RELEASE_VERSION\" == *\"b\"* ]]; then\n                    echo \"Version is a beta release. Cancel workflow.\"\n                    exit 0\n                  fi\n            - name: Install dependencies\n              run: |\n                  sudo apt-get update;\n                  sudo apt-get install pandoc;\n                  pip install -e .\n            - name: Build and Commit\n              uses: sphinx-notes/pages@v2\n              with:\n                  requirements_path: doc/requirements.txt\n                  documentation_path: doc/source\n                  target_path: ${{ env.RELEASE_VERSION }}\n            - name: Redirect stable to new release\n              run: |\n                  echo \"Redirecting stable to newly released version \" $RELEASE_VERSION\n                  rm -rf stable\n                  ln -s $RELEASE_VERSION stable\n                  git add stable\n                  git commit -m \"redirect stable to new version $RELEASE_VERSION\"\n            - name: Push changes\n              uses: ad-m/github-push-action@master\n              with:\n                  github_token: ${{ secrets.GITHUB_TOKEN }}\n                  branch: gh-pages\n", "state": "active", "repository": "kerneltuner/kernel_tuner"}
{"mined_at": "2024-07-15T17:43:04.709814", "created_at": "2021-07-16T19:41:25+02:00", "updated_at": "2021-07-16T19:41:25+02:00", "name": "Build documentation", "path": ".github/workflows/docs.yml", "contents": "name: Build documentation\n\non:\n    push:\n        branches: [master]\n\n    # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n\njobs:\n    # This workflow contains a single job called \"build\"\n    build:\n        # The type of runner that the job will run on\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/setup-python@v4\n              with:\n                  python-version: \"3.10\"\n            - name: Checkout\n              uses: actions/checkout@v4\n              with:\n                  fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n            - name: Install dependencies\n              run: |\n                  sudo apt-get update;\n                  sudo apt-get install pandoc;\n                  pip install -e .\n            - name: Build and Commit\n              uses: sphinx-notes/pages@v2\n              with:\n                  requirements_path: doc/requirements.txt\n                  documentation_path: doc/source\n                  target_path: latest\n            - name: Push changes\n              uses: ad-m/github-push-action@master\n              with:\n                  github_token: ${{ secrets.GITHUB_TOKEN }}\n                  branch: gh-pages\n", "state": "active", "repository": "kerneltuner/kernel_tuner"}
{"mined_at": "2024-07-15T17:43:05.835820", "created_at": "2023-09-12T12:04:20+02:00", "updated_at": "2023-10-03T16:51:04+02:00", "name": "Publish Package", "path": ".github/workflows/publish-python-package.yml", "contents": "# This workflow checks out a new release, builds it as a package (source and wheel) and publishes it to PyPI.\n\nname: Publish Package\n\n# Controls when the workflow will run\non:\n    # Workflow will run when a release has been published for the package\n    release:\n        types:\n            - published\n\n    # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n\njobs:\n    build_and_publish_as_package:\n        name: Package and upload release to PyPI\n        runs-on: ubuntu-latest\n        environment:\n            name: pypi\n            url: https://pypi.org/p/kernel_tuner\n        permissions:\n            id-token: write # IMPORTANT: this permission is mandatory for trusted publishing\n        steps:\n            - uses: actions/checkout@v4\n            - name: Setup Python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: \"3.12\"\n            - name: Setup Poetry\n              uses: Gr1N/setup-poetry@v9\n            - name: Build the source distribution and pure-Python wheel\n              run: |\n                  poetry install\n                  poetry build\n                  ls ./dist\n            - name: Check that the number of wheels is as expected and there is one source distribution\n              run: |\n                  SOURCES_COUNT=$(ls -lR ./dist/*.tar.gz | wc -l)\n                  echo \"Number of source distributions: $SOURCES_COUNT\"\n                  if [ \"$SOURCES_COUNT\" -ne 1 ]; then\n                    echo \"::error::Number of source distributions $SOURCES_COUNT not equal to 1\"\n                    exit 1;\n                  fi\n\n                  EXPECTED_WHEELS_COUNT=1\n                  WHEELS_COUNT=$(ls -lR ./dist/*.whl | wc -l)\n                  echo \"Number of wheel distributions: $WHEELS_COUNT\"\n                  if [ \"$WHEELS_COUNT\" -ne \"$EXPECTED_WHEELS_COUNT\" ]; then\n                    echo \"::error::Number of wheel distributions $WHEELS_COUNT not equal to $EXPECTED_WHEELS_COUNT\"\n                    exit 1;\n                  fi\n            - name: Publish package distributions to PyPI\n              uses: pypa/gh-action-pypi-publish@release/v1\n              with:\n                  skip-existing: true\n", "state": "active", "repository": "kerneltuner/kernel_tuner"}
{"mined_at": "2024-07-15T17:43:07.064589", "created_at": "2023-09-15T11:54:41+02:00", "updated_at": "2023-10-03T16:51:04+02:00", "name": "Test", "path": ".github/workflows/test-python-package.yml", "contents": "# This workflow will use Nox to run tests and lint for the supported Python versions, and upload the test coverage data.\n\nname: Test\n\non:\n    push:\n        branches:\n            - master\n            - release/*\n    pull_request:\n        branches:\n            - master\n\n    # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n\njobs:\n    build:\n        name: Test on ${{ matrix.os }} with all supported Python versions\n        runs-on: ${{ format('{0}', matrix.os)  }} # \"-latest\" is added here so we can use OS in the format expected by CodeCov\n\n        strategy:\n            matrix:\n                os: [ubuntu-latest, macos-13]\n\n        steps:\n            - uses: actions/checkout@v4\n            - name: Setup Nox\n              uses: fjwillemsen/setup-nox2@v3.0.0\n            - name: Setup Poetry\n              uses: Gr1N/setup-poetry@v9\n            - run: poetry self add poetry-plugin-export\n            - name: Run tests with Nox\n              run: |\n                  pip install nox-poetry\n                  nox -- skip-gpu github-action\n            # - name: Upload Coverage report to CodeCov\n            #   uses: codecov/codecov-action@v3\n            #   with:\n            #       token: ${{ secrets.CODECOV_TOKEN }}\n            #       files: ./coverage\n            #       os: ${{ matrix.os }}\n            #       fail_ci_if_error: false # option to Specify if CI pipeline should fail when Codecov runs into errors during upload\n", "state": "active", "repository": "kerneltuner/kernel_tuner"}
{"mined_at": "2024-07-15T17:43:08.293214", "created_at": "2022-10-10T15:39:08+02:00", "updated_at": "2023-10-03T16:51:04+02:00", "name": "FAIR software badge creation", "path": ".github/workflows/update-fair-software-badge.yml", "contents": "name: FAIR software badge creation\n\non:\n    push:\n        branches: [master]\n\n    # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n\njobs:\n    verify:\n        name: \"fair-software badge check\"\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout repo\n              uses: actions/checkout@v4\n\n            - uses: benvanwerkhoven/howfairis-github-action@main\n              name: Measure compliance with fair-software.eu recommendations\n              env:\n                  PYCHARM_HOSTED: \"Trick colorama into displaying colored output\"\n              with:\n                  MY_REPO_URL: \"https://github.com/${{ github.repository }}\"\n\n            - name: Commit changes\n              uses: EndBug/add-and-commit@v9\n              with:\n                  author_name: GitHub actions user\n                  author_email: action@github.com\n                  message: \"Update README\"\n                  add: \"README.*\"\n", "state": "active", "repository": "kerneltuner/kernel_tuner"}
{"mined_at": "2024-07-15T17:43:09.404086", "created_at": "2021-12-17T13:02:38+01:00", "updated_at": "2021-12-17T13:02:38+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "kerneltuner/kernel_tuner"}
{"mined_at": "2024-07-15T17:43:13.208710", "created_at": "2023-06-28T15:53:17+02:00", "updated_at": "2023-07-02T23:41:23+02:00", "name": "ci", "path": ".github/workflows/build-and-validate-image.yml", "contents": "name: ci\n\non:\n push:\n pull_request:\n\njobs:\n canary:\n   runs-on: ubuntu-latest\n   steps:\n     - name: Checkout\n       uses: actions/checkout@v3\n\n     - name: Install Container Canary\n       run: |\n         curl -L https://github.com/NVIDIA/container-canary/releases/download/v0.2.1/canary_linux_amd64 > /usr/local/bin/canary\n         chmod +x /usr/local/bin/canary\n\n     - name: Build Container\n       run: docker build -t bluesky/tiled:latest .\n\n     - name: Validate container\n       run: canary validate --file canary-validator.yml bluesky/tiled:latest\n", "state": "active", "repository": "bluesky/tiled"}
{"mined_at": "2024-07-15T17:43:14.642580", "created_at": "2023-07-09T17:29:11+02:00", "updated_at": "2023-07-09T21:17:19+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n  push:\n    branches:\n    - main\n  schedule:\n      - cron: '00 4 * * *'  # daily at 4AM\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n        cache: 'pip'\n    - uses: pre-commit/action@v3.0.0\n\n  linux_checks:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n        - \"3.8\"\n        - \"3.9\"\n        - \"3.10\"\n        - \"3.11\"\n        - \"3.12\"\n      fail-fast: false\n    steps:\n\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n\n    - name: Install\n      shell: bash -l {0}\n      run: source continuous_integration/scripts/install.sh\n\n    - name: Install test requirements\n      shell: bash -l {0}\n      run: |\n        set -vxeuo pipefail\n        python -m pip install .[dev]\n        python -m pip list\n\n    - name: Start LDAP service in container.\n      shell: bash -l {0}\n      run: source continuous_integration/scripts/start_LDAP.sh\n\n    - name: Download SQLite example data.\n      shell: bash -l {0}\n      run: source continuous_integration/scripts/download_sqlite_data.sh\n\n    - name: Start PostgreSQL service in container.\n      shell: bash -l {0}\n      run: source continuous_integration/scripts/start_postgres.sh\n\n\n    - name: Ensure example data is migrated to current catalog database schema.\n      # The example data is expected to be kept up to date to the latest Tiled\n      # release, but this CI run may include some unreleased schema changes,\n      # so we run a migration here.\n      shell: bash -l {0}\n      run: |\n        set -vxeuo pipefail\n        tiled catalog upgrade-database sqlite+aiosqlite:///tiled_test_db_sqlite.db\n        tiled catalog upgrade-database postgresql+asyncpg://postgres:secret@localhost:5432/tiled-example-data\n\n    - name: Test with pytest\n      shell: bash -l {0}\n      run: |\n        set -vxeuo pipefail\n        coverage run -m pytest -v\n        coverage report\n      env:\n        # Provide test suite with a PostgreSQL database to use.\n        TILED_TEST_POSTGRESQL_URI: postgresql+asyncpg://postgres:secret@localhost:5432\n        # Opt in to LDAPAuthenticator tests.\n        TILED_TEST_LDAP: 1\n\n  windows_checks:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n      fail-fast: false\n    steps:\n\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n\n    - name: Install\n      run: |\n        git fetch --tags --unshallow  # to set __version__ correctly\n        set TILED_BUILD_SKIP_UI=1\n        python -m pip install '.[all]'\n        python -m pip list\n\n    - name: Install test requirements\n      run: |\n        set TILED_BUILD_SKIP_UI=1\n        python -m pip install .[dev]\n        python -m pip list\n\n    - name: Test with pytest\n      run: pytest -v\n", "state": "active", "repository": "bluesky/tiled"}
{"mined_at": "2024-07-15T17:43:15.771138", "created_at": "2021-03-31T15:39:42+02:00", "updated_at": "2021-03-31T15:39:42+02:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n      fail-fast: false\n\n    steps:\n\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n\n    - name: Install\n      shell: bash -l {0}\n      run: source continuous_integration/scripts/install.sh\n\n    - name: Install documentation-building requirements\n      shell: bash -l {0}\n      run: |\n        set -vxeuo pipefail\n        python -m pip install .[dev]\n        python -m pip list\n\n    - name: Build Docs\n      shell: bash -l {0}\n      run: make -C docs/ html\n", "state": "active", "repository": "bluesky/tiled"}
{"mined_at": "2024-07-15T17:43:16.831517", "created_at": "2021-03-31T15:39:42+02:00", "updated_at": "2021-03-31T15:39:42+02:00", "name": "Publish Documentation", "path": ".github/workflows/publish-docs.yml", "contents": "name: Publish Documentation\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    if: github.repository_owner == 'bluesky'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n      fail-fast: false\n\n    steps:\n\n    - name: Set env.REPOSITORY_NAME  # just the repo, as opposed to org/repo\n      shell: bash -l {0}\n      run: |\n        export REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}\n        echo \"REPOSITORY_NAME=${REPOSITORY_NAME}\" >> $GITHUB_ENV\n\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 1000  # should be enough to reach the most recent tag\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n\n    - name: Install\n      shell: bash -l {0}\n      run: source continuous_integration/scripts/install.sh\n\n    - name: Install documentation-building requirements\n      shell: bash -l {0}\n      run: |\n        set -vxeuo pipefail\n        python -m pip install .[dev]\n        python -m pip list\n\n    - name: Build Docs\n      shell: bash -l {0}\n      run: make -C docs/ html\n\n    - name: Deploy documentation to blueskyproject.io.\n      # We pin to the SHA, not the tag, for security reasons.\n      # https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions\n      uses: peaceiris/actions-gh-pages@bbdfb200618d235585ad98e965f4aafc39b4c501  # v3.7.3\n      with:\n        deploy_key: ${{ secrets.ACTIONS_DOCUMENTATION_DEPLOY_KEY }}\n        publish_branch: master\n        publish_dir: ./docs/build/html\n        external_repository: bluesky/bluesky.github.io\n        destination_dir: ${{ env.REPOSITORY_NAME }}  # just the repo name, without the \"bluesky/\"\n        keep_files: true  # Keep old files.\n        force_orphan: false  # Keep git history.\n", "state": "active", "repository": "bluesky/tiled"}
{"mined_at": "2024-07-15T17:43:17.909195", "created_at": "2021-08-05T02:11:34+02:00", "updated_at": "2021-08-05T02:11:34+02:00", "name": "Create and publish image", "path": ".github/workflows/publish-image.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Create and publish image\n\non:\n  push:\n    branches: ['main']\n    tags: ['v*']\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n        with:\n          context: .\n          file: Dockerfile\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "bluesky/tiled"}
{"mined_at": "2024-07-15T17:43:18.914328", "created_at": "2023-07-02T23:41:23+02:00", "updated_at": "2023-07-02T23:41:23+02:00", "name": "Publish package on PyPI", "path": ".github/workflows/publish-pypi.yml", "contents": "name: Publish package on PyPI\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n  release:\n    types:\n      - published\n\njobs:\n  dist:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n        with:\n          fetch-depth: 0\n\n      - name: Build SDist and wheel\n        run: pipx run build\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: dist/*\n\n      - name: Check metadata\n        run: pipx run twine check dist/*\n\n  publish:\n    needs: [dist]\n    environment: pypi\n    permissions:\n      id-token: write\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release' && github.event.action == 'published'\n\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "bluesky/tiled"}
{"mined_at": "2024-07-15T17:43:21.120444", "created_at": "2021-09-15T19:44:37+02:00", "updated_at": "2021-09-15T19:44:37+02:00", "name": "pysiaf CI", "path": ".github/workflows/ci.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: pysiaf CI\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: 'pyproject.toml'\n    - run: pip install \".[test]\"\n    - run: pytest", "state": "active", "repository": "spacetelescope/pysiaf"}
{"mined_at": "2024-07-15T17:43:22.155488", "created_at": "2021-09-15T19:44:37+02:00", "updated_at": "2022-04-15T18:57:50+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish to PyPI\n\non:\n  release:\n    types: [released]\n  workflow_dispatch:\n\njobs:\n  publish:\n    uses: spacetelescope/action-publish_to_pypi/.github/workflows/workflow.yml@master\n    with:\n      test: false\n      build_platform_wheels: false # Set to true if your package contains a C extension\n    secrets:\n      user: ${{ secrets.PYPI_USERNAME_STSCI_MAINTAINER }}\n      password: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }} # WARNING: Do not hardcode secret values here! If you want to use a different user or password, you can override this secret by creating one with the same name in your Github repository settings.\n      test_password: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER_TEST }}\n", "state": "active", "repository": "spacetelescope/pysiaf"}
{"mined_at": "2024-07-15T17:43:24.200534", "created_at": "2020-03-02T16:32:08+01:00", "updated_at": "2020-03-02T16:32:08+01:00", "name": "Deploy to Github", "path": ".github/workflows/deploy-to-github.yml", "contents": "name: Deploy to Github\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Ruby 2.6\n      uses: actions/setup-ruby@v1\n      with:\n        ruby-version: 2.6.x\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.7\n    - name: Install dependencies\n      run: |\n        pip install -r requirements.txt\n        bundle install\n    - name: Build the data and site\n      run: |\n        make build_data\n        make build_site\n    - name: Deploy to GitHub Pages\n      uses: JamesIves/github-pages-deploy-action@releases/v3\n      with:\n        ACCESS_TOKEN: ${{ secrets.token }}\n        BRANCH: gh-pages\n        FOLDER: _site\n        CLEAN: true\n", "state": "active", "repository": "open-sdg/sdg-translations"}
{"mined_at": "2024-07-15T17:43:25.393173", "created_at": "2020-03-03T11:55:14+01:00", "updated_at": "2020-03-03T11:55:14+01:00", "name": "Test PRs", "path": ".github/workflows/test-pull-requests.yml", "contents": "name: Test PRs\n\non: [pull_request]\n\njobs:\n  test:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.7\n    - name: Install dependencies\n      run: pip install -r requirements.txt\n    - name: Test the translations\n      run: make test\n", "state": "active", "repository": "open-sdg/sdg-translations"}
{"mined_at": "2024-07-15T17:43:27.415062", "created_at": "2021-03-25T17:12:28+01:00", "updated_at": "2021-03-25T17:12:28+01:00", "name": "Deploy to PyPI", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy to PyPI\n\non:\n  push:\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]+\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n\n      - name: Create source distribution\n        run: python setup.py sdist\n\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "ucfopen/canvasapi"}
{"mined_at": "2024-07-15T17:43:28.566305", "created_at": "2021-03-19T17:06:15+01:00", "updated_at": "2021-03-24T17:59:12+01:00", "name": "Run tests", "path": ".github/workflows/run-tests.yml", "contents": "name: Run tests\n\non:\n  push:\n    branches: [master, develop]\n  pull_request:\n    branches: [master, develop]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r tests_requirements.txt\n      - name: Lint with flake8\n        run: flake8\n      - name: Check formatting\n        run: black --check canvasapi tests\n      - name: Check import sorting\n        run: isort --check canvasapi tests\n      - name: Run tests\n        run: coverage run -m unittest discover\n      - name: Lint markdown files\n        uses: bewuethr/mdl-action@v1\n      - name: Check if all modules are visible to inspect\n        run: python scripts/find_missing_modules.py\n      - name: Check if methods are alphabetical\n        run: python scripts/alphabetic.py\n      - name: Check for missing kwargs\n        run: python scripts/find_missing_kwargs.py\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "ucfopen/canvasapi"}
{"mined_at": "2024-07-15T17:43:29.609935", "created_at": "2022-09-21T23:57:22+02:00", "updated_at": "2022-09-21T23:57:22+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ucfopen/canvasapi"}
{"mined_at": "2024-07-15T17:43:31.846191", "created_at": "2024-05-23T15:17:51+02:00", "updated_at": "2024-05-29T17:47:02+02:00", "name": "Unit test", "path": ".github/workflows/unit_test.yaml", "contents": "name: Unit test\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - \"trunk-*\"\n\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  UV_VERSION: 0.2.2\n\njobs:\n  unit_test:\n    name: Unit test [py${{ matrix.python }} ${{ matrix.c_compiler }} ${{ matrix.os }}]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n        ##############\n        # Windows\n        - os: windows-2019\n          python: '3.12'\n        - os: windows-2022\n          python: '3.12'\n        ##############\n        # Mac\n        # macos-x86_64\n        - os: macos-12\n          python: '3.12'\n        # macos-arm64\n        - os: macos-14\n          python: '3.12'\n        ##############\n        # Ubuntu 24.04\n        - os: ubuntu-24.04\n          python: '3.9'\n          c_compiler: gcc-13\n          cxx_compiler: g++-14\n        - os: ubuntu-24.04\n          python: '3.10'\n          c_compiler: gcc-14\n          cxx_compiler: g++-14\n        - os: ubuntu-24.04\n          python: '3.11'\n          c_compiler: clang-16\n          cxx_compiler: clang++-16\n        - os: ubuntu-24.04\n          python: '3.12'\n          c_compiler: clang-17\n          cxx_compiler: clang++-17\n        - os: ubuntu-24.04\n          python: '3.12'\n          c_compiler: clang-18\n          cxx_compiler: clang++-18\n        ##############\n        # Ubuntu 22.04\n        - os: ubuntu-22.04\n          python: '3.9'\n          c_compiler: gcc-11\n          cxx_compiler: g++-11\n        - os: ubuntu-22.04\n          python: '3.10'\n          c_compiler: gcc-12\n          cxx_compiler: g++-12\n        - os: ubuntu-22.04\n          python: '3.11'\n          c_compiler: clang-13\n          cxx_compiler: clang++-13\n        - os: ubuntu-22.04\n          python: '3.12'\n          c_compiler: clang-14\n          cxx_compiler: clang++-14\n        - os: ubuntu-22.04\n          python: '3.12'\n          c_compiler: clang-15\n          cxx_compiler: clang++-15\n        ##############\n        # Ubuntu 20.04\n        - os: ubuntu-20.04\n          python: '3.9'\n          c_compiler: gcc-10\n          cxx_compiler: g++-10\n        - os: ubuntu-20.04\n          python: '3.10'\n          c_compiler: clang-10\n          cxx_compiler: clang++-10\n        - os: ubuntu-20.04\n          python: '3.11'\n          c_compiler: clang-11\n          cxx_compiler: clang++-11\n        - os: ubuntu-20.04\n          python: '3.12'\n          c_compiler: clang-12\n          cxx_compiler: clang++-12\n\n    steps:\n      - uses: actions/checkout@v4.1.6\n        with:\n          path: code\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install uv\n        run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/${{ env.UV_VERSION }}/uv-installer.sh | bash\n      - name: Install prereqs\n        run: 'uv pip install -r code/.github/requirements-test.txt --only-binary :all: --system --reinstall'\n      - name: Set Linux compiler\n        if: ${{ startsWith(matrix.os, 'ubuntu') }}\n        run: |\n          echo \"CC=${{ matrix.c_compiler }}\" >> \"$GITHUB_ENV\"\n          echo \"CXX=${{ matrix.cxx_compiler }}\" >> \"$GITHUB_ENV\"\n      - name: Configure\n        run: cmake -S code -B build\n      - name: Build\n        run: cmake --build build -j 6 --config Release\n      - if: runner.os == 'Windows'\n        name: Copy pyd files\n        run: cp ./gsd/Release/*.pyd gsd/\n        working-directory: build\n      - name: Run tests\n        run: python3 -m pytest --pyargs gsd -p gsd.pytest_plugin_validate --validate -v --log-level=DEBUG\n        env:\n          PYTHONPATH: ${{ github.workspace }}/build\n\n  # This job is used to provide a single requirement for branch merge conditions.\n  tests_complete:\n    name: Unit test\n    if: always()\n    needs: [unit_test]\n    runs-on: ubuntu-latest\n\n    steps:\n    - run: jq --exit-status 'all(.result == \"success\")' <<< '${{ toJson(needs) }}'\n    - name: Done\n      run: exit 0\n", "state": "active", "repository": "glotzerlab/gsd"}
{"mined_at": "2024-07-15T17:43:32.906960", "created_at": "2024-05-23T15:26:41+02:00", "updated_at": "2024-05-29T17:47:02+02:00", "name": "Style check", "path": ".github/workflows/style_check.yaml", "contents": "name: Style check\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - \"trunk-*\"\n\n  workflow_dispatch:\n\nenv:\n  UV_VERSION: 0.2.2\n\njobs:\n  clang-tidy:\n    name: Run clang-tidy\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4.1.6\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: 3.12\n      - name: Install uv\n        run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/${{ env.UV_VERSION }}/uv-installer.sh | bash\n      - name: Install prereqs\n        run: 'uv pip install -r .github/requirements-test.txt --only-binary :all: --system --reinstall'\n      - name: Configure\n        run: cmake -B build\n      - name: Execute clang-tidy\n        run: clang-tidy-14 -p=build gsd/*.c gsd/*.h scripts/*.cc --quiet --warnings-as-errors=\"*\"\n\n  # This job is used to provide a single requirement for branch merge conditions.\n  checks_complete:\n    name: Style check\n    if: always()\n    needs: [clang-tidy]\n    runs-on: ubuntu-latest\n\n    steps:\n    - run: jq --exit-status 'all(.result == \"success\")' <<< '${{ toJson(needs) }}'\n    - name: Done\n      run: exit 0\n", "state": "active", "repository": "glotzerlab/gsd"}
{"mined_at": "2024-07-15T17:43:33.915689", "created_at": "2024-05-23T15:46:52+02:00", "updated_at": "2024-05-29T17:47:02+02:00", "name": "GitHub Release", "path": ".github/workflows/release.yaml", "contents": "name: GitHub Release\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - \"trunk-*\"\n    tags:\n      - \"v*\"\n\n  workflow_dispatch:\n\nenv:\n  name: gsd\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  release:\n    name: Build release tarball\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4.1.6\n        with:\n          fetch-depth: 0\n          submodules: true\n          path: code\n\n      - name: Install tools\n        run: sudo apt-get install pcregrep pandoc\n\n      - name: Determine last tag via git describe\n        if: ${{ ! startsWith(github.ref, 'refs/tags/v') }}\n        run: echo tag=\"$(git describe --abbrev=0)\" >> \"$GITHUB_ENV\"\n        working-directory: code\n\n      # git describe does not return the current tag in tag pushes on GitHub Actions, use GITHUB_REF instead\n      - name: Determine tag from GITHUB_REF\n        if:  startsWith(github.ref, 'refs/tags/v')\n        run: echo tag=\"$(echo \"${GITHUB_REF}\" | sed  -e 's/refs\\/tags\\///g')\" >> \"$GITHUB_ENV\"\n\n      - name: Write version change log\n        run: .github/workflows/make-changelog-md.sh  \"${tag:1}\" | tee \"${GITHUB_WORKSPACE}/changelog.md\"\n        working-directory: code\n\n      - name: Copy source\n        run: cp -R code \"${name}-${tag:1}\"\n\n      - name: Remove .git\n        run: rm -rf \"${name}-${tag:1}/.git\" && ls -laR \"${name}-${tag:1}\"\n\n      - name: Tar source\n        run: tar -cvzf \"${name}-${tag:1}.tar.gz\" \"${name}-${tag:1}\"\n\n      - name: Tar source\n        run: tar -cvJf \"${name}-${tag:1}.tar.xz\" \"${name}-${tag:1}\"\n\n      - uses: actions/upload-artifact@v4.3.3\n        with:\n          name: release\n          path: |\n            *.tar.*\n            changelog.md\n\n  publish:\n    name: Publish [GitHub]\n    needs: [release]\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: release\n\n      - name: Create release\n        uses: softprops/action-gh-release@v2\n        if: startsWith(github.ref, 'refs/tags/v')\n        with:\n          files: \"*.tar.*\"\n          body_path: changelog.md\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "glotzerlab/gsd"}
{"mined_at": "2024-07-15T17:43:34.996366", "created_at": "2024-05-23T15:46:52+02:00", "updated_at": "2024-05-29T17:47:02+02:00", "name": "PyPI", "path": ".github/workflows/build_wheels.yaml", "contents": "name: PyPI\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - \"trunk-*\"\n    tags:\n      - \"v*\"\n\n  workflow_dispatch:\n\nenv:\n  UV_VERSION: 0.2.2\n\njobs:\n  build_wheels:\n    name: Build wheels [${{ matrix.python.version }}, ${{ matrix.os.base }}-${{ matrix.os.arch }}]\n    runs-on: ${{ matrix.os.base }}-${{ matrix.os.version }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n        - base: ubuntu\n          version: latest\n          arch: 'x86_64'\n        - base: windows\n          version: latest\n          arch: 'amd64'\n        - base: macos\n          version: 14\n          arch: 'arm64'\n        - base: macos\n          version: 13\n          arch: 'x86_64'\n\n        python:\n        - version: 'cp39'\n          oldest_numpy: '1.21.6'\n        - version: 'cp310'\n          oldest_numpy: '1.21.6'\n        - version: 'cp311'\n          oldest_numpy: '1.23.2'\n        - version: 'cp312'\n          oldest_numpy: '1.26.2'\n\n    steps:\n      - uses: actions/checkout@v4.1.6\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.18.1\n        env:\n          CIBW_BUILD: \"${{ matrix.python.version }}-*\"\n          CIBW_TEST_REQUIRES: pytest==8.2.1 numpy==${{ matrix.python.oldest_numpy }}\n\n      - uses: actions/upload-artifact@v4.3.3\n        with:\n          name: dist-python-${{ matrix.python.version }}-${{ matrix.os.base }}-${{ matrix.os.arch }}\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.6\n\n      - uses: actions/setup-python@v5.1.0\n        name: Install Python\n        with:\n          python-version: '3.12'\n\n      - name: Install uv\n        run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/${{ env.UV_VERSION }}/uv-installer.sh | bash\n\n      - name: Install build\n        run: 'uv pip install -r .github/requirements-build-sdist.txt --only-binary :all: --system --reinstall'\n\n      - name: Build sdist\n        run: python -m build --sdist --outdir dist/ .\n\n      - uses: actions/upload-artifact@v4.3.3\n        with:\n          name: dist-sdist\n          path: dist/*.tar.gz\n\n  upload_pypi:\n    name: Publish [PyPI]\n    needs: [build_wheels, build_sdist]\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v4.1.7\n        with:\n          merge-multiple: 'true'\n          pattern: dist-*\n          path: dist\n\n      - name: Check files\n        run: ls -lR dist\n\n      - name: Upload to PyPI\n        # upload to PyPI on every tag starting with 'v'\n        if: startsWith(github.ref, 'refs/tags/v')\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n      - name: Upload to TestPyPI\n        # otherwise, upload to TestPyPi\n        if: ${{ !startsWith(github.ref, 'refs/tags/v') && (github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')) }}\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository-url: https://test.pypi.org/legacy/\n          skip-existing: true\n", "state": "active", "repository": "glotzerlab/gsd"}
{"mined_at": "2024-07-15T17:43:36.146459", "created_at": "2024-05-29T17:47:02+02:00", "updated_at": "2024-05-29T17:47:02+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yaml", "contents": "name: Close stale issues and PRs\n\non:\n  schedule:\n    - cron: '0 19 * * *'\n\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/stale@v9.0.0\n      with:\n        days-before-close: 10\n        stale-issue-label: stale\n        stale-pr-label: stale\n        exempt-issue-labels: essential\n        exempt-pr-labels: essential\n\n        days-before-issue-stale: 170\n        stale-issue-message: >\n          This issue has been automatically marked as stale because it has not had\n          recent activity. It will be closed if no further activity occurs.\n        close-issue-message: >\n          This issue has been automatically closed because it has not had\n          recent activity.\n\n        days-before-pr-stale: 20\n        stale-pr-message: >\n          This pull request has been automatically marked as stale because it has not had\n          recent activity. It will be closed if no further activity occurs.\n        close-pr-message: >\n          This pull request has been automatically closed because it has not had\n          recent activity.\n", "state": "active", "repository": "glotzerlab/gsd"}
{"mined_at": "2024-07-15T17:43:37.255163", "created_at": "2024-06-01T13:32:11+02:00", "updated_at": "2024-06-01T13:32:11+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "glotzerlab/gsd"}
{"mined_at": "2024-07-15T17:43:39.323290", "created_at": "2022-09-19T09:10:37+02:00", "updated_at": "2022-09-19T09:10:37+02:00", "name": "i18n:pull translations", "path": ".github/workflows/i18n-pull.yml", "contents": "# -*- coding: utf-8 -*-\n#\n# Copyright (C) 2023 Graz University of Technology.\n#\n# Invenio is free software; you can redistribute it and/or modify\n# it under the terms of the MIT License; see LICENSE file for more details.\n\nname: i18n:pull translations\non: workflow_dispatch # manually trigger\n\njobs:\n  i18n-pull:\n    uses: inveniosoftware/invenio-i18n/.github/workflows/i18n-pull-base.yml@master\n    secrets: inherit\n", "state": "active", "repository": "inveniosoftware/invenio-rdm-records"}
{"mined_at": "2024-07-15T17:43:40.321787", "created_at": "2022-09-19T09:10:37+02:00", "updated_at": "2022-09-19T09:10:37+02:00", "name": "i18n:push translations", "path": ".github/workflows/i18n-push.yml", "contents": "# -*- coding: utf-8 -*-\n#\n# Copyright (C) 2023 Graz University of Technology.\n#\n# Invenio is free software; you can redistribute it and/or modify\n# it under the terms of the MIT License; see LICENSE file for more details.\n\nname: i18n:push translations\non: workflow_dispatch # manually trigger\n\njobs:\n  i18n-extract:\n    uses: inveniosoftware/invenio-i18n/.github/workflows/i18n-push-base.yml@master\n    with:\n      extract-backend: true\n      frontend-package-path: invenio_rdm_records/assets/semantic-ui/translations/invenio_rdm_records\n    secrets: inherit\n", "state": "active", "repository": "inveniosoftware/invenio-rdm-records"}
{"mined_at": "2024-07-15T17:43:41.344792", "created_at": "2020-10-01T10:55:06+02:00", "updated_at": "2022-05-12T19:39:25+02:00", "name": "Publish", "path": ".github/workflows/pypi-publish.yml", "contents": "# -*- coding: utf-8 -*-\n#\n# Copyright (C) 2021 CERN.\n#\n# Invenio-RDM-Records is free software; you can redistribute it and/or modify\n# it under the terms of the MIT License; see LICENSE file for more details.\n\nname: Publish\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  build-n-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel babel\n      - name: Build package\n        run: |\n          python setup.py compile_catalog sdist bdist_wheel\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@v1.3.1\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_token }}\n", "state": "active", "repository": "inveniosoftware/invenio-rdm-records"}
{"mined_at": "2024-07-15T17:43:42.495567", "created_at": "2021-01-28T01:18:56+01:00", "updated_at": "2021-01-28T01:18:56+01:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues and pull requests\n\non:\n  workflow_dispatch:\n  schedule:\n  - cron: \"00 6 * * *\"\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        # Never close stale issues\n        days-before-close: -1\n        stale-issue-message: 'This issue was automatically marked as stale.'\n        stale-pr-message: 'This PR was automatically marked as stale.'\n        stale-issue-label: 'stale'\n        stale-pr-label: 'stale'\n\n", "state": "active", "repository": "inveniosoftware/invenio-rdm-records"}
{"mined_at": "2024-07-15T17:43:43.531175", "created_at": "2022-07-28T17:04:12+02:00", "updated_at": "2022-08-24T14:19:02+02:00", "name": "Feature development CI", "path": ".github/workflows/tests-feature.yml", "contents": "# -*- coding: utf-8 -*-\n#\n# This file is part of Invenio.\n# Copyright (C) 2022 CERN.\n#\n# Invenio is free software; you can redistribute it and/or modify it\n# under the terms of the MIT License; see LICENSE file for more details.\n\nname: Feature development CI\n\non:\n  pull_request:\n    branches:\n      - \"feature/**\"\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    - cron: \"0 3 * * 6\"\n  workflow_dispatch:\n    inputs:\n      reason:\n        description: \"Reason\"\n        required: false\n        default: \"Manual trigger\"\n\njobs:\n  Tests:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: [3.8] # for efficiency test only one specific python version\n        requirements-level: [pypi]\n        cache-service: [redis]\n        db-service: [postgresql14]\n        search-service: [opensearch2,elasticsearch7]\n        include:\n          - db-service: postgresql14\n            DB_EXTRAS: \"postgresql\"\n\n          - search-service: opensearch2\n            SEARCH_EXTRAS: \"opensearch2\"\n\n          - search-service: elasticsearch7\n            SEARCH_EXTRAS: \"elasticsearch7\"\n\n    env:\n      CACHE: ${{ matrix.cache-service }}\n      DB: ${{ matrix.db-service }}\n      SEARCH: ${{ matrix.search-service }}\n      EXTRAS: tests,${{ matrix.SEARCH_EXTRAS }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Generate dependencies\n        run: |\n          pip install wheel requirements-builder\n          requirements-builder -e \"$EXTRAS\" --level=${{ matrix.requirements-level }} setup.py > .${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt\n          cat .${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt\n\n      - name: Cache pip\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('.${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt') }}\n\n      - name: Install dependencies\n        run: |\n          pip install -r .${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt -c constraints-${{ matrix.requirements-level }}.txt\n          pip install -r requirements-feature.txt # this file is used only when targeting a feature/* branch\n          pip install \".[$EXTRAS]\"\n          pip freeze\n          docker --version\n          docker-compose --version\n\n      - name: Run tests\n        run: |\n          ./run-tests.sh\n", "state": "active", "repository": "inveniosoftware/invenio-rdm-records"}
{"mined_at": "2024-07-15T17:43:44.748462", "created_at": "2020-10-28T12:02:04+01:00", "updated_at": "2020-10-28T12:02:04+01:00", "name": "CI", "path": ".github/workflows/tests.yml", "contents": "# -*- coding: utf-8 -*-\n#\n# Copyright (C) 2020-2024 CERN.\n# Copyright (C) 2020 Northwestern University.\n#\n# Invenio-RDM-Records is free software; you can redistribute it and/or modify\n# it under the terms of the MIT License; see LICENSE file for more details.\n\nname: CI\n\non:\n  push:\n    branches: master\n  pull_request:\n    branches:\n      - master\n      - \"maint-**\"\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    - cron: \"0 3 * * 6\"\n  workflow_dispatch:\n    inputs:\n      reason:\n        description: \"Reason\"\n        required: false\n        default: \"Manual trigger\"\n\njobs:\n  Tests:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9, 3.12]\n        db-service: [postgresql14]\n        search-service: [opensearch2]\n        node-version: [18.x, 20.x]\n        include:\n          - db-service: postgresql14\n            DB_EXTRAS: \"postgresql\"\n\n          - search-service: opensearch2\n            SEARCH_EXTRAS: \"opensearch2\"\n\n    env:\n      DB: ${{ matrix.db-service }}\n      SEARCH: ${{ matrix.search-service }}\n      EXTRAS: tests,${{ matrix.SEARCH_EXTRAS }}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: setup.cfg\n\n      - name: Install dependencies\n        run: |\n          pip install \".[$EXTRAS]\"\n          pip freeze\n          docker version\n\n      - name: Run backend tests\n        run: ./run-tests.sh\n\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n\n      - name: Run eslint test\n        run: ./run-js-linter.sh -i\n\n      - name: Run translations test\n        run: ./run-i18n-tests.sh\n\n      - name: Install deps for frontend tests\n        working-directory: ./invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records\n        run: npm install\n\n      - name: Install deps for frontend tests - translations\n        working-directory: ./invenio_rdm_records/assets/semantic-ui/translations/invenio_rdm_records\n        run: npm install\n\n      - name: Run frontend tests\n        working-directory: ./invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records\n        run: npm test\n", "state": "active", "repository": "inveniosoftware/invenio-rdm-records"}
{"mined_at": "2024-07-15T17:43:46.733353", "created_at": "2021-08-15T14:15:32+02:00", "updated_at": "2021-08-15T14:15:32+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '33 15 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "hhatto/autopep8"}
{"mined_at": "2024-07-15T17:43:47.821701", "created_at": "2020-07-23T18:26:09+02:00", "updated_at": "2020-07-24T17:36:00+02:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ main, v2 ]\n  pull_request:\n    branches: [ main, v2 ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\", \"pypy3.10\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .\n        pip install flake8 pytest pytest-cov pydiff\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        flake8 autopep8.py\n        pycodestyle autopep8.py\n    - name: doctest for readme\n      if: matrix.python-version == 3.11\n      run: |\n        python -m doctest -v README.rst\n    - name: Test with pytest\n      run: |\n        pytest --cov-report xml --cov=autopep8\n        python test/acid.py -aaa --experimental test/example.py\n        python test/acid.py -aaa --experimental test/example_with_reduce.py\n        python test/acid.py --pycodestyle= -aaa --compare-bytecode --experimental test/example.py\n        python test/acid.py --pycodestyle= --aggressive --line-range 550 610 test/inspect_example.py\n        python test/acid.py --pycodestyle= --line-range 289 925 test/vectors_example.py\n        python test/test_suite.py\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      if: (matrix.python-version == 3.11 || matrix.python-version == 3.12) && success()\n      with:\n        fail_ci_if_error: true\n        flags: ${{ matrix.python-version }}\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "hhatto/autopep8"}
{"mined_at": "2024-07-15T17:43:48.838640", "created_at": "2020-07-23T18:25:08+02:00", "updated_at": "2020-07-23T18:25:08+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/autopep8\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip build\n        pip install setuptools wheel twine\n    - name: Build\n      run: |\n        python -m build\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "hhatto/autopep8"}
{"mined_at": "2024-07-15T17:43:50.995434", "created_at": "2021-06-11T14:32:02+02:00", "updated_at": "2021-08-20T23:02:09+02:00", "name": "tulip tests", "path": ".github/workflows/main.yml", "contents": "---\n# configuration for GitHub Actions\nname: tulip tests\non:\n    push:\n    pull_request:\n    schedule:\n        # the start of every hour is\n        # a high-load time for GitHub Actions\n        # <https://docs.github.com/en/actions/reference/\n        #     events-that-trigger-workflows#scheduled-events>\n        - cron: '37 5 5 * *'\njobs:\n    build:\n        name: Build\n        runs-on: ubuntu-22.04\n        strategy:\n            matrix:\n                python-version: [\n                    '3.10',\n                    '3.11',\n                    ]\n        steps:\n            - uses: actions/checkout@v2\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Define CI directory\n              run: |\n                echo \"CI_DIR=.github/workflows\" >> $GITHUB_ENV\n            - name: Setup testing environment\n              run: |\n                ./$CI_DIR/setup_basic_testing.sh\n            - name: Run \"base\" tests\n              run: |\n                set -o posix\n                echo \"Exported environment variables:\"\n                export -p\n                ./run_tests.py --outofsource base\n            - name: Prepare for \"hybrid\" tests\n              run: |\n                ./$CI_DIR/setup_hybrid_testing.sh\n            - name: Run \"hybrid\" tests\n              run: |\n                set -o posix\n                echo \"Exported environment variables:\"\n                export -p\n                ./run_tests.py \\\n                    --outofsource \\\n                    --fast hybrid\n            - name: Prepare for \"full\" tests\n              if: endsWith(github.ref, '_fast_ci') == false\n              run: |\n                ./$CI_DIR/setup_full_testing.sh\n            - name: Run \"full\" tests\n              if: endsWith(github.ref, '_fast_ci') == false\n              run: |\n                set -o posix\n                echo \"Exported environment variables:\"\n                export -p\n                # run all tests, including\n                # slow hybrid tests, and\n                # alternative game solvers\n                ./run_tests.py --outofsource full\n    static_analysis:\n        name: Static analysis of Python code\n        runs-on: ubuntu-22.04\n        continue-on-error: true\n        strategy:\n            matrix:\n                python-version: [\n                    '3.10',\n                    ]\n        steps:\n            - uses: actions/checkout@v2\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies from PyPI\n              run: |\n                pip install \\\n                    --ignore-installed \\\n                    --upgrade \\\n                        pip \\\n                        setuptools \\\n                        wheel\n            - name: Create sdist for `tulip`\n              run: |\n                python setup.py sdist\n            - name: Install only `tulip` dependencies\n              run: |\n                pip install dist/tulip-*.tar.gz\n                pip uninstall --yes tulip\n            - name: Install analysis tools\n              run: |\n                pip install \\\n                    --upgrade \\\n                        pytype\n            - name: Statically analyze `tulip`\n              run: |\n                pytype --tree tulip\n                pytype --unresolved tulip\n                pytype \\\n                    -v 1 \\\n                    -k \\\n                    -j 'auto' \\\n                        tulip \\\n                        setup.py \\\n                        run_tests.py \\\n                    -x tulip/interfaces/stormpy.py\n    docs:\n        name: Build documentation\n        runs-on: ubuntu-22.04\n        if: github.ref == 'refs/heads/main'\n        strategy:\n            matrix:\n                python-version: ['3.10']\n        steps:\n            - uses: actions/checkout@v2\n            - name: Install `apt` packages\n              run: |\n                sudo apt update\n                sudo apt install \\\n                    dvipng \\\n                    texlive-latex-extra \\\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies from PyPI\n              run: |\n                pip install -U pip setuptools sphinx gitpython\n                pip install .\n            - name: Build\n              run: |\n                cd doc\n                BIN_BRANCH=\"docs_bin\"\n                git fetch origin $BIN_BRANCH\n                git restore --source=origin/$BIN_BRANCH '*.png'\n                make html\n            - name: Push built documentation to `git` branch\n              run: |\n                DOCS_BRANCH=\"docs_pages\"\n                DOCS_BUILD_ROOT=\"doc/_build/html\"\n                git config --global user.name 'GitHub Actions'\n                git config --global user.email '<>'\n                git fetch origin $DOCS_BRANCH\n                git checkout -b $DOCS_BRANCH\n                git status\n                git clone --filter=blob:none --no-checkout https://github.com/tulip-control/tulip-control.git temporary\n                cd temporary\n                THIS_COMMIT=`git log --pretty=%H -1 origin/main -- doc tulip examples`\n                cd ..\n                echo $THIS_COMMIT > COMMIT\n                git add COMMIT\n                mkdir docs\n                touch docs/.nojekyll\n                cp -R $DOCS_BUILD_ROOT/. docs/\n                git add -f docs\n                git commit -m 'BIN: built documentation files\n\n                committed by GitHub Actions.'\n                # detect changes to the built documentation\n                git diff --exit-code --quiet $DOCS_BRANCH \\\n                    origin/$DOCS_BRANCH -- COMMIT \\\n                    || ret=$?\n                if [[ \"${ret}\" -eq 1 ]]; then\n                    echo 'The built documentation changed, \\\n                        will now push changes.'\n                    git push -f origin $DOCS_BRANCH;\n                else\n                    echo 'The built documentation did not change.\n                        No git pushing to do.'\n                fi\n", "state": "active", "repository": "tulip-control/tulip-control"}
{"mined_at": "2024-07-15T17:43:52.067457", "created_at": "2022-01-05T06:42:17+01:00", "updated_at": "2022-01-05T06:42:17+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tulip-control/tulip-control"}
{"mined_at": "2024-07-15T17:43:54.374082", "created_at": "2022-12-05T07:22:52+01:00", "updated_at": "2022-12-05T07:22:52+01:00", "name": "Add issue or pull request to project", "path": ".github/workflows/add_to_project.yml", "contents": "name: Add issue or pull request to project\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  add_issue_to_project:\n    name: Add issue to project\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v0.4.0\n        with:\n          project-url: https://github.com/orgs/CUQI-DTU/projects/2\n          github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}\n\n", "state": "active", "repository": "cuqi-dtu/cuqipy"}
{"mined_at": "2024-07-15T17:43:55.530832", "created_at": "2022-08-16T23:05:52+02:00", "updated_at": "2022-08-16T23:05:52+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install --upgrade pip setuptools==65.7.0\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n      - name: Sphinx build\n        run: |\n          sphinx-build docs ./public\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}\n        with:\n          publish_branch: gh-pages\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./public\n          force_orphan: true\n", "state": "active", "repository": "cuqi-dtu/cuqipy"}
{"mined_at": "2024-07-15T17:43:56.603190", "created_at": "2022-09-18T00:26:31+02:00", "updated_at": "2022-09-19T10:23:05+02:00", "name": "Publish to PyPI and TestPyPI", "path": ".github/workflows/publish_pypi.yml", "contents": "name: Publish to PyPI and TestPyPI\n\non:\n  push:\n    branches:\n      - main\n  release:\n    types: [created]\n\njobs:\n  build-n-publish:\n    name: Build and publish to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0 # Fetch all history to determine version\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish pre-release to PyPI\n      if: github.event_name == 'push'\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n    - name: Publish to PyPI\n      if: github.event_name == 'release' && github.event.action == 'created' && startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n  dispatch-tests: # This job will trigger the plugin tests workflow in the other repositories (waits for the previous job to finish and then 5 minutes)\n    name: Dispatch tests on downstream plugins after publishing to PyPI\n    needs: build-n-publish\n    strategy:\n      matrix:\n        repo: ['CUQI-DTU/CUQIpy-PyTorch', 'CUQI-DTU/CUQIpy-CIL', 'CUQI-DTU/CUQIpy-FEniCS']\n    runs-on: ubuntu-latest\n    steps:\n      - name: Sleep for 5 minutes\n        run: sleep 300s\n        shell: bash\n      - name: Dispatch tests on downstream plugins\n        uses: peter-evans/repository-dispatch@v2\n        with:\n          token: ${{ secrets.REPO_ACCESS_TOKEN }}\n          repository: ${{ matrix.repo }}\n          event-type: run-tests-on-cuqipy-update\n          client-payload: '{\"event_name\": \"${{ github.event_name }}\"}'\n", "state": "active", "repository": "cuqi-dtu/cuqipy"}
{"mined_at": "2024-07-15T17:43:57.680828", "created_at": "2022-08-16T23:05:52+02:00", "updated_at": "2022-08-16T23:05:52+02:00", "name": "pytest", "path": ".github/workflows/tests.yml", "contents": "name: pytest\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest] # Add windows-latest, macos-latest to test on multiple OS\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n      - name: Test with pytest\n        run: |\n          python -m pytest\n", "state": "active", "repository": "cuqi-dtu/cuqipy"}
{"mined_at": "2024-07-15T17:43:58.711054", "created_at": "2022-08-16T23:19:24+02:00", "updated_at": "2022-08-16T23:19:24+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "cuqi-dtu/cuqipy"}
{"mined_at": "2024-07-15T17:44:00.855586", "created_at": "2024-04-04T09:59:41+02:00", "updated_at": "2024-04-04T09:59:41+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI and TestPyPI", "path": ".github/workflows/python-package-deploy.yml", "contents": "---\n# Inspired from:\n# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\nname: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n\non:\n  push:\n    branches: [main]\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --outdir dist/\n        .\n    - name: Publish distribution 📦 to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://test.pypi.org/legacy/\n        skip-existing: true\n    - name: Publish distribution 📦 to PyPI\n      #if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "brightway-lca/brightway2-io"}
{"mined_at": "2024-07-15T17:44:01.929047", "created_at": "2024-03-27T16:24:50+01:00", "updated_at": "2024-04-04T09:59:41+02:00", "name": "Python 🐍 CI/CD tests", "path": ".github/workflows/python-test.yml", "contents": "---\n# This workflow will install Python dependencies and run tests\n# across operating systems, select versions of Python, and user + dev environments\n# For more info see:\n# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python 🐍 CI/CD tests\n\non:\n  push:\n    # We might want to have a separate workflow for legacy branch, since that one supports\n    # python >= 3.8\n    # branches: [main]\n    paths-ignore: # prevents workflow execution when only these types of files are modified\n      - \"**.md\" # wildcards prevent file in any repo dir from trigering workflow\n      - \"**.bib\"\n      - \"**.ya?ml\" # captures both .yml and .yaml\n      - \"LICENSE\"\n      - \".gitignore\"\n  pull_request:\n    branches: [main]\n    types: [opened, reopened] # excludes syncronize to avoid redundant trigger from commits on PRs\n    paths-ignore:\n      - \"**.md\"\n      - \"**.bib\"\n      - \"**.ya?ml\"\n      - \"LICENSE.txt\"\n      - \"README.rst\"\n      - \".gitignore\"\n  workflow_dispatch: # also allow manual trigger, for testing purposes\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13, ubuntu-20.04, macos-latest, windows-2019]\n        py-version: [\"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      # general Python setup\n      - name: Set up Python ${{ matrix.py-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.py-version }}\n\n      - name: Update pip & install testing pkgs\n        run: |\n          python -VV\n          python -m pip install --upgrade pip setuptools wheel\n\n      # install testing\n      - name: Install package and test deps\n        run: |\n          pip install .[testing] # install the package and the testing deps\n\n      - name: Test with pytest\n        run: |\n          # the options are configured in the pyproject.toml file\n          pytest\n\n      #- name: Upload coverage reports to Codecov\n      #  uses: codecov/codecov-action@v4\n", "state": "active", "repository": "brightway-lca/brightway2-io"}
{"mined_at": "2024-07-15T17:44:02.976569", "created_at": "2023-12-02T07:50:35+01:00", "updated_at": "2023-12-02T07:50:35+01:00", "name": "Re-Use Workflow - Create Workflow Dispatch (Trigger Submodule Update)", "path": ".github/workflows/trigger_submodule_update_reuse.yml", "contents": "# This workflow re-uses the workflow 'trigger_submodule_update_main.yml'\n# from the brightway-documentation repository.\nname: Re-Use Workflow - Create Workflow Dispatch (Trigger Submodule Update)\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n    re-use_workflow:\n      uses:\n        brightway-lca/brightway-documentation/.github/workflows/trigger_submodule_update_main.yml@main\n      secrets: inherit # https://docs.github.com/en/actions/using-workflows/reusing-workflows#passing-secrets-to-nested-workflows\n", "state": "active", "repository": "brightway-lca/brightway2-io"}
{"mined_at": "2024-07-15T17:44:05.230306", "created_at": "2020-01-11T07:05:52+01:00", "updated_at": "2020-01-11T17:15:25+01:00", "name": "CI Checks", "path": "", "contents": null, "state": "active", "repository": "city-bureau/city-scrapers"}
{"mined_at": "2024-07-15T17:44:06.431013", "created_at": "2020-07-15T16:08:07+02:00", "updated_at": "2020-07-15T16:08:07+02:00", "name": "Archive", "path": ".github/workflows/archive.yml", "contents": "name: Archive\n\non:\n  schedule:\n    - cron: \"12 7 * * *\"\n  workflow_dispatch:\n\nenv:\n  CI: true\n  PIPENV_VENV_IN_PROJECT: true\n  SCRAPY_SETTINGS_MODULE: city_scrapers.settings.archive\n  AUTOTHROTTLE_MAX_DELAY: 30.0\n  AUTOTHROTTLE_START_DELAY: 1.5\n  AUTOTHROTTLE_TARGET_CONCURRENCY: 3.0\n  OPENVPN_USER: ${{ secrets.OPENVPN_USER }}\n  OPENVPN_PASS: ${{ secrets.OPENVPN_PASS }}\n  OPENVPN_CONFIG: ${{ secrets.OPENVPN_CONFIG }}\n\njobs:\n  crawl:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n\n      - name: Connect to OpenVPN\n        run: |\n          sudo apt-get install -y openvpn\n          echo \"$OPENVPN_USER\" | sudo tee -a /etc/openvpn/client/auth\n          echo \"$OPENVPN_PASS\" | sudo tee -a /etc/openvpn/client/auth\n          echo \"$OPENVPN_CONFIG\" | sudo tee -a /etc/openvpn/ovpn.conf\n          sudo openvpn --config /etc/openvpn/ovpn.conf --daemon\n          sleep 120\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n\n      - name: Install Pipenv\n        uses: dschep/install-pipenv-action@v1\n\n      - name: Install dependencies\n        run: pipenv sync\n        env:\n          PIPENV_DEFAULT_PYTHON_VERSION: 3.9\n\n      - name: Run scrapers\n        run: |\n          export PYTHONPATH=$(pwd):$PYTHONPATH\n          ./.deploy.sh\n", "state": "active", "repository": "city-bureau/city-scrapers"}
{"mined_at": "2024-07-15T17:44:07.713154", "created_at": "2019-12-19T15:11:32+01:00", "updated_at": "2020-01-13T10:35:43+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request]\n\nenv:\n  CI: true\n  PIPENV_VENV_IN_PROJECT: true\n  AUTOTHROTTLE_MAX_DELAY: 30.0\n  AUTOTHROTTLE_START_DELAY: 1.5\n  AUTOTHROTTLE_TARGET_CONCURRENCY: 3.0\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.9]\n\n    steps:\n      - uses: actions/checkout@v1\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Pipenv\n        uses: dschep/install-pipenv-action@v1\n\n      - name: Install dependencies\n        run: pipenv sync --dev\n        env:\n          PIPENV_DEFAULT_PYTHON_VERSION: ${{ matrix.python-version }}\n\n      - name: Check imports with isort\n        run: pipenv run isort . --check-only\n\n      - name: Check style with black\n        run: pipenv run black . --check\n\n      - name: Lint with flake8\n        run: pipenv run flake8 .\n\n      - name: Test with pytest\n        run: pipenv run pytest\n\n      - name: Validate output with scrapy\n        if: github.event_name == 'pull_request'\n        run: |\n          git checkout ${{ github.base_ref }}\n          git checkout $(git show-ref | grep pull | awk '{ print $2 }')\n          git diff-index --name-only --diff-filter=d $(git merge-base HEAD ${{ github.base_ref }}) | \\\n          grep -Pio '(?<=/spiders/).*(?=\\.py)' | \\\n          xargs pipenv run scrapy validate\n", "state": "active", "repository": "city-bureau/city-scrapers"}
{"mined_at": "2024-07-15T17:44:08.915343", "created_at": "2019-12-19T10:34:35+01:00", "updated_at": "2020-07-15T16:08:07+02:00", "name": "Cron", "path": ".github/workflows/cron.yml", "contents": "name: Cron\n\non:\n  schedule:\n    - cron: \"12 8 * * *\"\n  workflow_dispatch:\n\nenv:\n  CI: true\n  PIPENV_VENV_IN_PROJECT: true\n  SCRAPY_SETTINGS_MODULE: city_scrapers.settings.prod\n  AUTOTHROTTLE_MAX_DELAY: 30.0\n  AUTOTHROTTLE_START_DELAY: 1.5\n  AUTOTHROTTLE_TARGET_CONCURRENCY: 3.0\n  AZURE_ACCOUNT_KEY: ${{ secrets.AZURE_ACCOUNT_KEY }}\n  AZURE_ACCOUNT_NAME: ${{ secrets.AZURE_ACCOUNT_NAME }}\n  AZURE_CONTAINER: ${{ secrets.AZURE_CONTAINER }}\n  AZURE_STATUS_CONTAINER: ${{ secrets.AZURE_STATUS_CONTAINER }}\n  SENTRY_DSN: ${{ secrets.SENTRY_DSN }}\n  OPENVPN_USER: ${{ secrets.OPENVPN_USER }}\n  OPENVPN_PASS: ${{ secrets.OPENVPN_PASS }}\n  OPENVPN_CONFIG: ${{ secrets.OPENVPN_CONFIG }}\n\njobs:\n  crawl:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n\n      - name: Connect to OpenVPN\n        run: |\n          sudo apt-get install -y openvpn\n          echo \"$OPENVPN_USER\" | sudo tee -a /etc/openvpn/client/auth\n          echo \"$OPENVPN_PASS\" | sudo tee -a /etc/openvpn/client/auth\n          echo \"$OPENVPN_CONFIG\" | sudo tee -a /etc/openvpn/ovpn.conf\n          sudo openvpn --config /etc/openvpn/ovpn.conf --daemon\n          sleep 120\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n\n      - name: Install Pipenv\n        uses: dschep/install-pipenv-action@v1\n\n      - name: Install dependencies\n        run: pipenv sync\n        env:\n          PIPENV_DEFAULT_PYTHON_VERSION: 3.9\n\n      - name: Run scrapers\n        run: |\n          export PYTHONPATH=$(pwd):$PYTHONPATH\n          ./.deploy.sh\n\n      - name: Combine output feeds\n        run: |\n          export PYTHONPATH=$(pwd):$PYTHONPATH\n          pipenv run scrapy combinefeeds -s LOG_ENABLED=False\n\n      - name: Prevent workflow deactivation\n        uses: gautamkrishnar/keepalive-workflow@v1\n        with:\n          committer_username: \"citybureau-bot\"\n          committer_email: \"documenters@citybureau.org\"\n", "state": "active", "repository": "city-bureau/city-scrapers"}
{"mined_at": "2024-07-15T17:44:10.964422", "created_at": "2023-06-27T00:38:56+02:00", "updated_at": "2023-07-05T22:13:23+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "# From https://github.com/eeholmes/readthedoc-test/blob/main/.github/workflows/docs_pages.yml\nname: docs\n\n# execute this workflow automatically when we push to master\non:\n  push:\n    branches:\n      - master\n\njobs:\n\n  build_docs:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout main\n        uses: actions/checkout@v3\n        with:\n          path: master\n\n      - name: Checkout gh-pages\n        uses: actions/checkout@v3\n        with:\n          path: gh-pages\n          ref: gh-pages\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n          cache: \"pip\"\n\n      - name: Install dependencies\n        run: |\n          cd ./master\n          python -m pip install .[docs]\n      - name: Make the Sphinx docs\n        run: |\n          cd ./master/docsrc\n          make clean\n          make github\n      - name: Commit changes to docs\n        run: |\n          cd ./gh-pages\n          cp -R ../master/docs/* ./\n          git config --local user.email \"\"\n          git config --local user.name \"github-actions\"\n          git add -A\n          if ! git diff-index --quiet HEAD; then\n            git commit -m \"auto: Rebuild docs.\"\n            git  push\n          else\n            echo No commit made because the docs have not changed.\n          fi\n", "state": "active", "repository": "stefanradev93/bayesflow"}
{"mined_at": "2024-07-15T17:44:11.958752", "created_at": "2023-06-22T12:29:53+02:00", "updated_at": "2023-06-22T12:29:53+02:00", "name": ".github/workflows/draft-pdf.yml", "path": ".github/workflows/draft-pdf.yml", "contents": null, "state": "active", "repository": "stefanradev93/bayesflow"}
{"mined_at": "2024-07-15T17:44:12.976106", "created_at": "2023-06-22T15:51:15+02:00", "updated_at": "2023-06-22T15:51:15+02:00", "name": "Publish to PyPI.org", "path": ".github/workflows/publish.yml", "contents": "name: Publish to PyPI.org\non:\n  release:\n    types: [published]\njobs:\n  pypi:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - run: python3 -m pip install -U build && python3 -m build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "stefanradev93/bayesflow"}
{"mined_at": "2024-07-15T17:44:14.003069", "created_at": "2024-06-14T13:06:04+02:00", "updated_at": "2024-06-14T13:06:04+02:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": null, "state": "active", "repository": "stefanradev93/bayesflow"}
{"mined_at": "2024-07-15T17:44:15.031249", "created_at": "2022-09-11T10:10:09+02:00", "updated_at": "2023-09-18T23:46:13+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  pull_request:\n  push:\n    branches:\n      - master\n      - Development\n\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m ensurepip\n        python -m pip install -U pip setuptools wheel\n        python -m pip install tox tox-gh-actions\n    - name: Test with tox\n      run: tox\n", "state": "active", "repository": "stefanradev93/bayesflow"}
{"mined_at": "2024-07-15T17:44:16.068091", "created_at": "2023-06-26T16:14:21+02:00", "updated_at": "2023-06-26T16:14:21+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "stefanradev93/bayesflow"}
{"mined_at": "2024-07-15T17:44:18.263766", "created_at": "2021-11-15T20:57:22+01:00", "updated_at": "2023-05-26T18:26:18+02:00", "name": "Build and Test", "path": ".github/workflows/main.yml", "contents": "---\nname: \"Build and Test\"\n\"on\": [push, pull_request]\njobs:\n  pre_build:\n    runs-on: ubuntu-latest\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n      - id: skip_check\n        uses: fkirc/skip-duplicate-actions@v5\n        with:\n          concurrent_skipping: 'same_content'\n          skip_after_successful_duplicate: 'true'\n          do_not_skip: '[\"pull_request\", \"workflow_dispatch\", \"schedule\"]'\n  build:\n    needs: pre_build\n    if: ${{ needs.pre_build.outputs.should_skip != 'true' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [self-hosted, ubuntu-latest, macos-latest]\n        python-version: ['3.8', '3.10']\n        include:\n          - os: ubuntu-20.04\n            python-version: '3.6'\n          - os: macos-latest\n            python-version: '3.6'\n      fail-fast: false\n    steps:\n      - name: \"Software Install - Ubuntu\"\n        if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04' || matrix.os == 'self-hosted' }}\n        run: |\n          sudo apt-get update && \\\n          sudo apt-get install -y \\\n            build-essential \\\n            ca-certificates \\\n            curl \\\n            exuberant-ctags \\\n            gfortran \\\n            git \\\n            libopenblas-dev \\\n            pkg-config \\\n            software-properties-common\n      - name: \"Software Install - MacOS\"\n        if: ${{ matrix.os == 'macos-latest' }}\n        run: |\n          brew install \\\n            curl \\\n            ctags-exuberant \\\n            gawk \\\n            gnu-sed \\\n            pkg-config\n      - uses: actions/setup-python@v5.0.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: \"Software Install - Python\"\n        run: python -m pip install \\\n               setuptools \\\n               numpy \\\n               matplotlib \\\n               contextlib2 \\\n               simplejson \\\n               pint \\\n               graphviz \\\n               ctypesgen==1.0.2 \\\n               pylint \\\n               coverage\n      - name: \"Software Install - Python, part 2\"\n        if: ${{ matrix.os == 'self-hosted' }}\n        # Setting CPLUS_INCLUDE_PATH helps pycuda find the right\n        # Python header files <pyconfig.h> to use with its embedded\n        # subset of Boost.\n        env:\n          CPLUS_INCLUDE_PATH: \"${{ env.pythonLocation }}/include/python\\\n            ${{ matrix.python-version }}\"\n        run: python -m pip install \\\n               cupy-cuda12x \\\n               pycuda \\\n               numba \\\n               jupyterlab \\\n               jupyter_client \\\n               nbformat \\\n               nbconvert\n      - uses: actions/checkout@v3\n      - name: \"Build and Install\"\n        run: |\n          ./configure\n          make -j all\n          sudo make install\n      - name: Test\n        env:\n          LD_LIBRARY_PATH: /usr/local/lib:${{ env.LD_LIBRARY_PATH }}\n        run: |\n          python -m pip install scipy\n          cd test\n          bash ./download_test_data.sh\n          python -c \"from bifrost import telemetry; telemetry.disable()\"\n          coverage run --source=bifrost.ring,bifrost,bifrost.pipeline \\\n            -m unittest discover\n          coverage xml\n      - name: \"Test, part 2\"\n        if: ${{ matrix.os == 'self-hosted' }}\n        env:\n          LD_LIBRARY_PATH: /usr/local/lib:${{ env.LD_LIBRARY_PATH }}\n        run: |\n          cd testbench\n          python generate_test_data.py\n          coverage run --source=bifrost.ring,bifrost,bifrost.pipeline test_file_read_write.py\n          coverage run --source=bifrost.ring,bifrost,bifrost.pipeline test_fft.py\n          coverage run --source=bifrost.ring,bifrost,bifrost.pipeline your_first_block.py\n          python download_breakthrough_listen_data.py -y\n          coverage run --source=bifrost.ring,bifrost,bifrost.pipeline test_guppi.py\n          coverage run --source=bifrost.ring,bifrost,bifrost.pipeline test_guppi_reader.py\n          coverage run --source=bifrost.ring,bifrost,bifrost.pipeline test_fdmt.py ./testdata/pulsars/blc0_guppi_57407_61054_PSR_J1840%2B5640_0004.fil\n          coverage xml\n      - name: \"Upload Coverage\"\n        env:\n          UNITTEST_OS: ${{ matrix.os }}\n          UNITTEST_PY: ${{ matrix.python-version }}\n        if: ${{ matrix.os == 'self-hosted' && matrix.python-version == '3.8' }}\n        uses: codecov/codecov-action@v4\n        with:\n          files: ./test/coverage.xml, ./testbench/coverage.xml\n          env_vars: UNITTEST_OS,UNITTEST_PY\n          fail_ci_if_error: false\n          verbose: true\n", "state": "active", "repository": "ledatelescope/bifrost"}
{"mined_at": "2024-07-15T17:44:20.398335", "created_at": "2022-08-12T13:55:24+02:00", "updated_at": "2022-12-02T08:55:03+01:00", "name": "Check coding conventions with flake8", "path": ".github/workflows/flake8.yml", "contents": "name: Check coding conventions with flake8\n\non:\n  push:\n    branches:\n      - '**'\n    tags:\n      - '**'\n  pull_request:\n    branches:\n      - '**'\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n        submodules: recursive\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update -qy\n        sudo apt-get install -y flake8\n\n    - name: Flake8\n      run: |\n        flake8 SurfaceTopography test\n", "state": "active", "repository": "contactengineering/surfacetopography"}
{"mined_at": "2024-07-15T17:44:21.492789", "created_at": "2021-08-09T09:35:23+02:00", "updated_at": "2022-12-02T13:17:15+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - '*'\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - name: Installing Python\n        run: |\n          sudo apt-get update -qy\n          sudo apt-get install -y \\\n            python3-dev \\\n            python3-pip \\\n            python3-venv \\\n            meson \\\n            ninja-build\n          python3 -m venv ../venv\n          source ../venv/bin/activate\n          pip install build\n\n      - name: Build package\n        run: |\n          source ../venv/bin/activate\n          python3 -m build . -s\n\n      - name: Install extension module\n        run: |\n          source ../venv/bin/activate\n          pip install dist/*.tar.gz\n\n      - name: Install sphinx\n        run: |\n          source ../venv/bin/activate\n          pip install sphinx sphinx_rtd_theme\n\n      - name: Build documentation\n        run: |\n          source ../venv/bin/activate\n          cd docs\n          sphinx-apidoc -o source/ ../SurfaceTopography\n          make html\n          cd ..\n\n      - name: Commit documentation changes\n        run: |\n          git clone https://github.com/ContactEngineering/SurfaceTopography.git --branch gh-pages --single-branch gh-pages\n          cp -r docs/_build/html/* gh-pages/\n          cd gh-pages\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git add .\n          git commit -m \"Update documentation\" -a || true\n          # The above command will fail if no changes were present, so we ignore\n          # that.\n\n      - name: Push documentation changes\n        uses: ad-m/github-push-action@master\n        with:\n          branch: gh-pages\n          directory: gh-pages\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish package\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "contactengineering/surfacetopography"}
{"mined_at": "2024-07-15T17:44:22.588478", "created_at": "2022-12-02T08:37:06+01:00", "updated_at": "2022-12-02T13:17:15+01:00", "name": "Test code functionality", "path": ".github/workflows/test-code-functionality.yml", "contents": "name: Test code functionality\n\non:\n  push:\n    branches:\n      - '**'\n    tags:\n      - '**'\n  pull_request:\n    branches:\n      - '**'\n  schedule:\n    - cron: \"0 2 * * 5\"  \njobs:\n  tests:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 45\n\n    strategy:\n      matrix:\n        mpi: ['no', 'mpi']\n        python-version: ['3.8', '3.9', '3.10', '3.11' , '3.12']\n        mpi4py-version: [3.1.4]\n        netcdf4-python-version: [1.6.1]\n        exclude:\n          - mpi: 'mpi'\n            python-version: '3.12'\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - name: Set up python3 ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update -qy\n          python3 -m venv venv\n          source venv/bin/activate\n          python3 -m pip install --upgrade pip pip-tools meson build\n          if [ \"${{ matrix.mpi }}\" == \"yes\" ]; then\n            sudo apt-get install -y \\\n              openmpi-bin \\\n              libopenmpi-dev \\\n              libfftw3-dev \\\n              libfftw3-mpi-dev \\\n              libhdf5-mpi-dev \\\n              libpnetcdf-dev \\\n              libnetcdf-pnetcdf-dev \\\n              meson \\\n              ninja-build\n            # Compute mpi4py, numpy, muGrid and muFFT versions\n            pip-compile pyproject.toml\n            NUMPY_VERSION=$(grep 'numpy==' requirements.txt)        \n            MUFFT_VERSION=$(grep 'mufft==' requirements.txt)\n            # Install numpy\n            pip install -v ${NUMPY_VERSION}\n            # Install mpi4py\n            echo \"Installing mpi4py==${{ matrix.mpi4py-version }}\"\n            CC=mpicc python3 -m pip install -v \\\n              --no-binary mpi4py \\\n              mpi4py==${{ matrix.mpi4py-version }}\n            # Install netCDF4 with MPI support\n            echo \"Installing netCD4==${{ matrix.netcdf4-python-version }}\"\n            CC=mpicc NETCDF4_DIR=/usr/lib/x86_64-linux-gnu/netcdf/pnetcdf python3 -m pip install -v \\\n              --no-binary mpi4py --no-binary netCDF4 \\\n              netCDF4==${{ matrix.netcdf4-python-version }}\n            # Manually install muFFT with MPI enabled\n            echo \"Installing ${MUFFT_VERSION}\"\n            pip install -v --no-binary muGrid --no-binary mufft ${MUFFT_VERSION}\n          else\n            sudo apt-get install -y \\\n              libfftw3-dev \\\n              libhdf5-dev \\\n              libnetcdf-dev\n          fi\n          python3 -m pip list\n\n      - name: Install extension module\n        run: |\n          source venv/bin/activate\n          python3 -m pip install .[test]\n\n      - name: Test with pytest\n        run: |\n          source venv/bin/activate\n          python3 .check_netcdf_capabilities.py ${{ matrix.mpi }}\n          python3 .check_mufft_capabilities.py ${{ matrix.mpi }}\n          if [ \"${{ matrix.mpi }}\" == \"yes\" ]; then python3 run-tests.py --no-build --verbose --full-trace; else python3 -m pytest --verbose --full-trace -s; fi\n", "state": "active", "repository": "contactengineering/surfacetopography"}
{"mined_at": "2024-07-15T17:44:23.647069", "created_at": "2022-12-02T22:13:43+01:00", "updated_at": "2022-12-04T19:31:11+01:00", "name": "Test build and install of source package", "path": ".github/workflows/test-source-package.yml", "contents": "name: Test build and install of source package\n\non:\n  push:\n    branches:\n      - '**'\n    tags:\n      - '**'\n  pull_request:\n    branches:\n      - '**'\n\njobs:\n  tests:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - name: Installing Python\n        run: |\n          sudo apt-get update -qy\n          sudo apt-get install -y \\\n            python3-dev \\\n            python3-pip \\\n            python3-venv \\\n            ninja-build\n          python3 -m venv ../venv\n          source ../venv/bin/activate\n          python3 -m pip install --upgrade pip pip-tools meson build\n\n      - name: Build package\n        run: |\n          source ../venv/bin/activate\n          python3 -m build . -s\n\n      - name: Install package\n        run: |\n          source ../venv/bin/activate\n          pip install -v dist/*.tar.gz\n", "state": "active", "repository": "contactengineering/surfacetopography"}
{"mined_at": "2024-07-15T17:44:24.787445", "created_at": "2022-12-29T11:41:34+01:00", "updated_at": "2022-12-29T15:02:30+01:00", "name": "Wheels", "path": ".github/workflows/wheels.yml", "contents": "name: Wheels\n\non:\n  push:\n    branches:\n      - '**'\n    tags:\n      - '**'\n  pull_request:\n    branches:\n      - '**'\n\njobs:\n  build_wheels:\n    name: Build wheel for ${{ matrix.python }}-${{ matrix.buildplat[1] }} ${{ matrix.buildplat[2] }}\n    runs-on: ${{ matrix.buildplat[0] }}\n    strategy:\n      matrix:\n        buildplat:\n        - [ubuntu-22.04, manylinux, x86_64]\n        # - [macos-10.15, macosx, x86_64]\n        # - [windows-2019, win, AMD64]\n        python: [\"cp38\", \"cp39\", \"cp310\", \"cp311\", \"cp312\"]\n      fail-fast: false\n\n    env:\n      IS_32_BIT: ${{ matrix.buildplat[2] == 'x86' }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: recursive\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_BEFORE_ALL_LINUX: yum install -y hdf5 hdf5-devel netcdf netcdf-devel\n          CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}*\n          CIBW_ARCHS: ${{ matrix.buildplat[2] }}\n          CIBW_ENVIRONMENT_PASS_LINUX: RUNNER_OS\n          CIBW_TEST_COMMAND: python -c 'import SurfaceTopography; print(SurfaceTopography.__version__)'\n\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./wheelhouse/*.whl\n          name: ${{ matrix.python }}-${{ matrix.buildplat[1] }}-${{ matrix.buildplat[2] }}\n\n      - name: Release wheels\n        uses: softprops/action-gh-release@v2\n        if: startsWith(github.ref, 'refs/tags/')\n        with:\n          files: wheelhouse/*.whl\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Check tag\n        id: check-tag\n        run: |\n          if [[ ${{ github.ref }} =~ ^refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+$ ]]; then\n              echo ::set-output name=match::true\n          fi\n        shell: bash\n\n      - name: Deploy to PyPI\n        if: steps.check-tag.outputs.match == 'true'\n        run: |\n          pip install twine\n          twine upload wheelhouse/*.whl\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        shell: bash\n", "state": "active", "repository": "contactengineering/surfacetopography"}
{"mined_at": "2024-07-15T17:44:25.883493", "created_at": "2022-01-24T11:45:22+01:00", "updated_at": "2022-01-24T11:45:22+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "contactengineering/surfacetopography"}
{"mined_at": "2024-07-15T17:44:27.962955", "created_at": "2021-03-28T23:54:12+02:00", "updated_at": "2021-03-28T23:54:12+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "# https://docs.github.com/en/actions\n# https://github.com/codecov/example-python\n# https://stackoverflow.com/a/3237883\n# https://stackoverflow.com/a/5688592\n# https://stackoverflow.com/a/6270803\n# https://github.com/actions/virtual-environments/issues/1341\n\nname: CI\n\non:\n  schedule:\n    - cron: '37 4 * * 0'\n  push:\n    branches:\n      - '**'\n  pull_request:\n    branches:\n      - '**'\n\njobs:\n  enable-workflow:\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' || (github.event_name == 'schedule' && github.repository == 'apriha/snps') }}\n    steps:\n      - name: Enable workflow based on preconditions\n        run: echo \"Workflow enabled.\"\n\n  lint-format:\n    needs: [enable-workflow]\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install Ruff\n      run: |\n        pip install ruff\n    - name: Lint with Ruff\n      run: |\n        ruff check\n    - name: Format with Ruff\n      run: |\n        ruff format --check\n\n  build-docs:\n    needs: [enable-workflow]\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install Sphinx\n      run: |\n        pip install -r docs/requirements.txt\n        pip install .\n    - name: Build docs with Sphinx\n      run: |\n        sphinx-build -W --keep-going -T -E -D language=en docs docs/_build\n\n  test:\n    needs: [lint-format, build-docs]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        include:\n          - os: macos-latest\n            python-version: '3.12'\n          - os: windows-latest\n            python-version: '3.12'\n\n    env:\n      JOB_ID: ${{ strategy.job-index }}\n      NUM_JOBS: ${{ strategy.job-total }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        persist-credentials: false\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Ensure Python and source code are on same drive (Windows)\n      if: ${{ matrix.os == 'windows-latest' }}\n      shell: cmd\n      run: |\n        mkdir C:\\a\n        xcopy D:\\a C:\\a /s /e\n    - name: Determine if downloads are enabled for this job\n      # for testing, limit downloads from the resource servers to only the selected job for\n      # PRs and the master branch; note that the master branch is tested weekly via `cron`,\n      # so this ensures all Python versions will be periodically integration tested with the\n      # resource servers\n      if: ${{ github.event_name == 'pull_request' || github.ref == 'refs/heads/master' }}\n      shell: bash\n      run: |\n        SELECTED_JOB=$((10#$(date +%V) % $NUM_JOBS))\n        if [[ $SELECTED_JOB == $JOB_ID ]]; then\n          # set environment variable to download resources for selected job\n          echo \"DOWNLOADS_ENABLED=true\" >> $GITHUB_ENV\n        fi\n    - name: Install dependencies\n      run: |\n        pip install pytest-cov\n        pip install .\n    - name: Test with pytest (Ubuntu & macOS)\n      if: ${{ matrix.os != 'windows-latest' }}\n      run: |\n        pytest --cov=snps tests\n    - name: Test with pytest (Windows)\n      if: ${{ matrix.os == 'windows-latest' }}\n      working-directory: C:\\a\\snps\\snps\n      run: |\n        pytest --cov=snps tests\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n\n  test-extras:\n    needs: [lint-format, build-docs]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        persist-credentials: false\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip setuptools wheel\n        pip install pytest-cov\n        pip install .[ezancestry]\n    - name: Test with pytest\n      run: |\n        pytest --cov=snps tests\n", "state": "active", "repository": "apriha/snps"}
{"mined_at": "2024-07-15T17:44:28.975306", "created_at": "2021-03-29T08:30:35+02:00", "updated_at": "2021-03-29T08:30:35+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is published\n# For more information see: https://docs.github.com/en/actions/guides/building-and-testing-python#publishing-to-package-registries\n\nname: Deploy\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "apriha/snps"}
{"mined_at": "2024-07-15T17:44:32.057469", "created_at": "2020-11-21T14:12:56+01:00", "updated_at": "2021-04-28T19:08:38+02:00", "name": "Nikola Plugins CI", "path": ".github/workflows/ci.yml", "contents": "name: Nikola Plugins CI\non:\n  # Run on all pushes to master (including merge of PR)\n  push:\n    branches: master\n  # Run on all changes in pull requests\n  pull_request:\n\njobs:\n  nikola:\n    name: Nikola plugin tests (Python ${{ matrix.python }} on ${{ matrix.image }})\n    strategy:\n      fail-fast: false\n      matrix:\n        python: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        image:\n          - ubuntu-latest\n    runs-on: '${{ matrix.image }}'\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '${{ matrix.python }}'\n      - name: Upgrade packaging stack, install pytest and requests\n        run: |\n          pip install --upgrade-strategy eager -U pip setuptools wheel pytest requests\n      - name: Install Nikola\n        run: |\n          pip install git+https://github.com/getnikola/nikola.git#egg=Nikola\n      - name: Install test dependencies\n        run: |\n          pip install pybtex\n      - name: Setup Java\n        uses: actions/setup-java@v2.2.0\n        with:\n          java-version: 11\n          distribution: 'temurin'\n      - name: Install PlantUML\n        env:\n          PLANTUML_VERSION: 1.2020.24\n        run: |\n          # Not using \"apt-get install plantuml\" because it's usually an old version\n          wget -q -O \"${{github.workspace}}/plantuml.jar\" \"https://repo1.maven.org/maven2/net/sourceforge/plantuml/plantuml/${PLANTUML_VERSION}/plantuml-${PLANTUML_VERSION}.jar\"\n      - name: Run tests\n        env:\n          PLANTUML_EXEC: java -Djava.awt.headless=true -jar ${{github.workspace}}/plantuml.jar\n        run: |\n          py.test --color=yes tests/\n  site:\n    name: plugins.getnikola.com site build\n    strategy:\n      fail-fast: false\n      matrix:\n        python: ['3.12']\n        image:\n          - ubuntu-latest\n    runs-on: '${{ matrix.image }}'\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '${{ matrix.python }}'\n      - name: Upgrade packaging stack\n        run: |\n          pip install --upgrade-strategy eager -U pip setuptools wheel\n      - name: Install Nikola\n        run: |\n          pip install git+https://github.com/getnikola/nikola.git#egg=Nikola[extras]\n      - name: Build site\n        env:\n          NIKOLA_SHOW_TRACEBACKS: 1\n          NIKOLA_PLUGINS_LOCAL_BUILD: 1\n        working-directory: site\n        run: |\n          nikola build -v 2\n  flake8:\n    name: Linting (flake8)\n    strategy:\n      matrix:\n        python:\n          - '3.12'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '${{ matrix.python }}'\n      - name: Install requirements\n        run: |\n          pip install flake8\n      - name: Run flake8\n        run: |\n          flake8 v*/\n", "state": "active", "repository": "getnikola/plugins"}
{"mined_at": "2024-07-15T17:44:34.261138", "created_at": "2022-04-11T10:43:28+02:00", "updated_at": "2022-10-14T22:45:51+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [ main, update-** ]\n  pull_request:\n    branches: [ '**' ]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n        os: [macos-latest] #, ubuntu-latest]\n        include:\n          - os: macos-latest\n            path: ~/Library/Caches/pip\n          #- os: ubuntu-latest\n          #  path: ~/.cache/pip\n          #- os: windows-latest\n          #  path: ~\\AppData\\Local\\pip\\Cache\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v4\n      - uses: mpi4py/setup-mpi@v1\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-in-project: true\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n      - uses: FedericoCarboni/setup-ffmpeg@v3\n        id: setup-ffmpeg\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      # - name: Set up cache\n      #   uses: actions/cache@v3\n      #   with:\n      #     path: ${{ matrix.path }}\n      #     key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}\n      #     restore-keys: |\n      #       ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          #poetry lock --no-update\n          poetry install --all-extras --with=algorithmExtension,sortingExtension,mpi\n      # Test MiV-OS using pytest\n      - name: Run tests\n        run: |\n          source $VENV\n          make test\n  report-coverage:  # Report coverage from python 3.8 and mac-os. May change later\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n        os: [macos-latest]\n        include:\n          - os: macos-latest\n            path: ~/Library/Caches/pip\n    steps:\n      - uses: actions/checkout@v4\n      - uses: mpi4py/setup-mpi@v1\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-in-project: true\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n      - uses: FedericoCarboni/setup-ffmpeg@v3\n        id: setup-ffmpeg\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      # - name: Set up cache\n      #   uses: actions/cache@v3\n      #   with:\n      #     path: ${{ matrix.path }}\n      #     key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}\n      #     restore-keys: |\n      #       ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          #poetry lock --no-update\n          poetry install --all-extras --with=algorithmExtension,sortingExtension,mpi\n      # Set environment variables for coverage test. Coverage test is done using python 3.8\n      - name: Run style checks\n        run: |\n          make check-codestyle\n      - name: Test MiV-OS using pytest\n        if: startsWith(runner.os, 'macOS')\n        run: |\n          make test_ci\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          env_vars: OS,PYTHON\n          fail_ci_if_error: true\n          flags: unittests\n          name: codecov-umbrella\n          verbose: true\n", "state": "active", "repository": "gazzolalab/miv-os"}
{"mined_at": "2024-07-15T17:44:35.331808", "created_at": "2022-06-01T04:01:39+02:00", "updated_at": "2022-06-01T04:01:39+02:00", "name": "publish", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: publish\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: \"3.x\"\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3\n      - name: Build\n        run: |\n          poetry build\n      - name: Publish distribution 📦 to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "gazzolalab/miv-os"}
{"mined_at": "2024-07-15T17:44:36.460900", "created_at": "2022-06-17T12:40:01+02:00", "updated_at": "2022-06-17T12:40:01+02:00", "name": "WIP", "path": ".github/workflows/wip_PR.yml", "contents": "name: WIP\non:\n  pull_request:\n    types: [ opened, synchronize, reopened, edited ]\n\njobs:\n  wip:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - uses: wip/action@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "gazzolalab/miv-os"}
{"mined_at": "2024-07-15T17:44:38.493766", "created_at": "2024-02-21T12:39:35+01:00", "updated_at": "2024-04-07T08:52:11+02:00", "name": "docs | deploy docs", "path": ".github/workflows/deploy_docs.yml", "contents": "name: docs | deploy docs\n\non:\n  schedule:\n    - cron:  '0 2 * * *'\n  workflow_dispatch:\n\nenv:\n  NETLIFY_DOCS_PRODUCTION_DEPLOY_HOOK: ${{ secrets.NETLIFY_DOCS_PRODUCTION_DEPLOY_HOOK }}\n    \njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    if: ${{ !github.event.pull_request.head.repo.fork }}\n    steps:\n      - name: Trigger deploy hook\n        run: curl ${{ env.NETLIFY_DOCS_PRODUCTION_DEPLOY_HOOK }} -X POST\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:39.740394", "created_at": "2023-04-05T21:04:06+02:00", "updated_at": "2024-04-07T08:52:11+02:00", "name": "util | get docs changes", "path": ".github/workflows/get_docs_changes.yml", "contents": "name: util | get docs changes\n\non:\n  workflow_call:\n    outputs:\n      changes_outside_docs:\n        description: \"Changes outside docs\"\n        value: ${{ jobs.get_docs_changes.outputs.changes_outside_docs }}\n\nenv:\n  EXCLUDED_FILE_PATTERNS: '^docs/|^README.md|^CONTRIBUTING.md|^LICENSE\\.txt|\\.editorconfig|\\.gitignore|get_docs_changes.yml'\n\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    runs-on: ubuntu-latest\n    outputs:\n      changes_outside_docs: ${{ steps.check_changes.outputs.changes_outside_docs }}\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Check changes outside docs\n        id: check_changes\n        run: |\n          echo \"base.sha: ${{ github.event.pull_request.base.sha }}\"\n          echo \"head.sha: ${{ github.event.pull_request.head.sha }}\"\n\n          merge_base_sha=$(git merge-base ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }})\n\n          echo \"merge_base_sha: $merge_base_sha\"\n\n          changes_outside_docs=$(\n            git diff --name-only $merge_base_sha ${{ github.event.pull_request.head.sha }} \\\n              | grep -vE \"${{ env.EXCLUDED_FILE_PATTERNS }}\" || true\n          )\n\n          echo $changes_outside_docs\n          if [ -z \"$changes_outside_docs\" ]; then\n            echo \"No changes outside docs. Skipping tests.\"\n            echo \"changes_outside_docs=false\" >> $GITHUB_OUTPUT\n          else\n            echo \"Changes detected outside docs.\"\n            echo \"changes_outside_docs=true\" >> $GITHUB_OUTPUT\n          fi\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:40.884354", "created_at": "2022-06-03T19:08:35+02:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "lint | code & tests", "path": ".github/workflows/lint.yml", "contents": "\nname: lint | code & tests\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n\n  run_lint:\n    name: lint\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    strategy:\n      fail-fast: true\n      matrix:\n        os:\n          - ubuntu-latest\n        python-version: [\"3.8.x\", \"3.9.x\", \"3.10.x\", \"3.11.x\"]\n\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        # if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --all-extras --with airflow,providers,pipeline,sentry-sdk,dbt\n\n      - name: Run make lint\n        run: |\n          export PATH=$PATH:\"/c/Program Files/usr/bin\" # needed for Windows\n          make lint\n\n  matrix_job_required_check:\n    name: lint | code & tests\n    needs: run_lint\n    runs-on: ubuntu-latest\n    if: always()\n    steps:\n      - name: Check matrix job results\n        if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')\n        run: |\n          echo \"One or more matrix job tests failed or were cancelled. You may need to re-run them.\" && exit 1\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:41.982312", "created_at": "2023-04-19T22:32:38+02:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "tools | airflow", "path": ".github/workflows/test_airflow.yml", "contents": "name: tools | airflow\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n\n  run_airflow:\n    name: tools | airflow tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-airflow-runner\n\n      - name: Install dependencies\n        run: poetry install --no-interaction --with airflow --with pipeline -E duckdb -E parquet --with sentry-sdk\n\n      - run: |\n          poetry run pytest tests/helpers/airflow_tests\n        name: Run tests\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:43.117315", "created_at": "2023-06-02T20:11:29+02:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "tools | docker images", "path": ".github/workflows/test_build_images.yml", "contents": "name: tools | docker images\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n\n  run_airflow:\n    name: tools | docker images build\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Build images\n        run: make test-build-images\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:44.140889", "created_at": "2022-06-09T22:00:29+02:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "common | common", "path": ".github/workflows/test_common.yml", "contents": "name: common | common\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n\n  run_common:\n    name: test\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        python-version: [\"3.11.x\"]\n        # Test all python versions on ubuntu only\n        include:\n          - python-version: \"3.8.x\"\n            os: \"ubuntu-latest\"\n          - python-version: \"3.9.x\"\n            os: \"ubuntu-latest\"\n          - python-version: \"3.10.x\"\n            os: \"ubuntu-latest\"\n          - python-version: \"3.12.x\"\n            os: \"ubuntu-latest\"\n\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install tzdata on windows\n        run: |\n          cd %USERPROFILE%\n          curl https://data.iana.org/time-zones/releases/tzdata2021e.tar.gz --output tzdata.tar.gz\n          mkdir tzdata\n          tar --extract --file tzdata.tar.gz --directory tzdata\n          mkdir %USERPROFILE%\\Downloads\\tzdata\n          copy tzdata %USERPROFILE%\\Downloads\\tzdata\n          curl https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml --output %USERPROFILE%\\Downloads\\tzdata\\windowsZones.xml\n        if: runner.os == 'Windows'\n        shell: cmd\n\n      - name: Install Poetry\n        # https://github.com/snok/install-poetry#running-on-windows\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      # NOTE: do not cache. we want to have a clean state each run and we upgrade depdendencies later\n      # - name: Load cached venv\n      #   id: cached-poetry-dependencies\n      #   uses: actions/cache@v3\n      #   with:\n      #     # path: ${{ steps.pip-cache.outputs.dir }}\n      #     path: .venv\n      #     key: venv-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        run: poetry install --no-interaction --with sentry-sdk\n\n      - run: |\n          poetry run pytest tests/common tests/normalize tests/reflection tests/sources tests/load/test_dummy_client.py tests/extract/test_extract.py tests/extract/test_sources.py tests/pipeline/test_pipeline_state.py\n        if: runner.os != 'Windows'\n        name: Run common tests with minimum dependencies Linux/MAC\n      - run: |\n          poetry run pytest tests/common tests/normalize tests/reflection tests/sources tests/load/test_dummy_client.py tests/extract/test_extract.py tests/extract/test_sources.py tests/pipeline/test_pipeline_state.py -m \"not forked\"\n        if: runner.os == 'Windows'\n        name: Run common tests with minimum dependencies Windows\n        shell: cmd\n\n      - name: Install duckdb dependencies\n        run: poetry install --no-interaction -E duckdb --with sentry-sdk\n\n      - run: |\n          poetry run pytest tests/pipeline/test_pipeline.py tests/pipeline/test_import_export_schema.py\n        if: runner.os != 'Windows'\n        name: Run pipeline smoke tests with minimum deps Linux/MAC\n      - run: |\n          poetry run pytest tests/pipeline/test_pipeline.py tests/pipeline/test_import_export_schema.py -m \"not forked\"\n        if: runner.os == 'Windows'\n        name: Run smoke tests with minimum deps Windows\n        shell: cmd\n\n      - name: Install pyarrow\n        run: poetry install --no-interaction -E duckdb -E cli -E parquet --with sentry-sdk\n\n      - run: |\n          poetry run pytest tests/pipeline/test_pipeline_extra.py -k arrow\n        if: runner.os != 'Windows'\n        name: Run pipeline tests with pyarrow but no pandas installed\n      - run: |\n          poetry run pytest tests/pipeline/test_pipeline_extra.py -k arrow  -m \"not forked\"\n        if: runner.os == 'Windows'\n        name: Run pipeline tests with pyarrow but no pandas installed Windows\n        shell: cmd\n\n      - name: Install pipeline dependencies\n        run: poetry install --no-interaction -E duckdb -E cli -E parquet --with sentry-sdk --with pipeline -E deltalake\n\n      - run: |\n          poetry run pytest tests/extract tests/pipeline tests/libs tests/cli/common tests/destinations\n        if: runner.os != 'Windows'\n        name: Run extract and pipeline tests Linux/MAC\n      - run: |\n          poetry run pytest tests/extract tests/pipeline tests/libs tests/cli/common tests/destinations  -m \"not forked\"\n        if: runner.os == 'Windows'\n        name: Run extract tests Windows\n        shell: cmd\n\n      # - name: Install Pydantic 1.0\n      #   run: pip install \"pydantic<2\"\n\n      # - run: |\n      #     poetry run pytest tests/libs\n      #   if: runner.os != 'Windows'\n      #   name: Run extract and pipeline tests Linux/MAC\n      # - run: |\n      #     poetry run pytest tests/libs\n      #   if: runner.os == 'Windows'\n      #   name: Run extract tests Windows\n      #   shell: cmd\n\n  matrix_job_required_check:\n    name: common | common tests\n    needs: run_common\n    runs-on: ubuntu-latest\n    if: always()\n    steps:\n      - name: Check matrix job results\n        if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')\n        run: |\n          echo \"One or more matrix job tests failed or were cancelled. You may need to re-run them.\" && exit 1\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:45.263579", "created_at": "2023-10-17T11:11:11+02:00", "updated_at": "2024-04-07T08:52:11+02:00", "name": "tools | dbt cloud", "path": ".github/workflows/test_dbt_cloud.yml", "contents": "\nname: tools | dbt cloud\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  # all credentials must be present to be passed to dbt cloud\n  DBT_CLOUD__ACCOUNT_ID: ${{ secrets.DBT_CLOUD__ACCOUNT_ID }}\n  DBT_CLOUD__JOB_ID: ${{ secrets.DBT_CLOUD__JOB_ID }}\n  DBT_CLOUD__API_TOKEN: ${{ secrets.DBT_CLOUD__API_TOKEN }}\n\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_dbt_cloud:\n    name: tools | dbt cloud tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry without dbt\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          # path: ${{ steps.pip-cache.outputs.dir }}\n          path: .venv\n          key: venv-${{ matrix.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-dbt-cloud\n\n      - name: Install dependencies\n        # install dlt with postgres support\n        run: poetry install --no-interaction\n\n      - run: |\n          poetry run pytest tests/helpers/dbt_cloud_tests -k '(not venv)'\n        name: Run dbt cloud - Linux/MAC\n", "state": "disabled_manually", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:46.394702", "created_at": "2023-01-26T18:54:45+01:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "tools | dbt runner", "path": ".github/workflows/test_dbt_runner.yml", "contents": "\nname: tools | dbt runner\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n\n  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_dbt:\n    name: tools | dbt runner tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry without dbt\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          # path: ${{ steps.pip-cache.outputs.dir }}\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-dbt-runner\n\n      - name: Install dependencies\n        # install dlt with postgres support\n        run: poetry install --no-interaction -E postgres --with sentry-sdk,dbt\n\n      - name: create secrets.toml\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > tests/.dlt/secrets.toml\n\n      - run: |\n          poetry run pytest tests/helpers/dbt_tests -k '(not venv)'\n        if: runner.os != 'Windows'\n        name: Run dbt runner - Linux/MAC\n      - run: |\n          poetry run pytest tests/helpers/dbt_tests -k \"(not venv)\"\n        if: runner.os == 'Windows'\n        name: Run dbt runner - Windows\n        shell: cmd\n\n      - name: Remove dbt-core\n        # install dlt with postgres support\n        run: poetry run pip uninstall dbt-core -y\n\n      - run: |\n          poetry run pytest tests/helpers/dbt_tests --ignore=tests/helpers/dbt_tests/local -k '(not local)'\n        name: Run dbt runner with venv - Linux/MAC\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:47.383371", "created_at": "2023-08-09T14:45:38+02:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "dest | athena", "path": ".github/workflows/test_destination_athena.yml", "contents": "\nname: dest | athena\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 2 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n\n  RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n  ACTIVE_DESTINATIONS: \"[\\\"athena\\\"]\"\n  ALL_FILESYSTEM_DRIVERS: \"[\\\"memory\\\"]\"\n  EXCLUDED_DESTINATION_CONFIGURATIONS: \"[\\\"athena-parquet-staging-iceberg\\\", \\\"athena-parquet-no-staging-iceberg\\\"]\"\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    # Tests that require credentials do not run in forks\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_loader:\n    name: dest | athena tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          # path: ${{ steps.pip-cache.outputs.dir }}\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-athena\n\n      - name: Install dependencies\n        # if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction -E athena --with sentry-sdk --with pipeline\n\n      - name: create secrets.toml\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > tests/.dlt/secrets.toml\n\n      - run: |\n          poetry run pytest tests/load -m \"essential\"\n        name: Run essential tests Linux\n        if: ${{ ! (contains(github.event.pull_request.labels.*.name, 'ci full') || !github.event_name == 'schedule')}}\n\n      - run: |\n          poetry run pytest tests/load\n        name: Run all tests Linux\n        if: ${{ contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule'}}\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:48.404493", "created_at": "2023-10-06T13:58:21+02:00", "updated_at": "2024-04-17T14:34:24+02:00", "name": "dest | athena iceberg", "path": ".github/workflows/test_destination_athena_iceberg.yml", "contents": "\nname: dest | athena iceberg\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 2 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n\n  RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n  ACTIVE_DESTINATIONS: \"[\\\"athena\\\"]\"\n  ALL_FILESYSTEM_DRIVERS: \"[\\\"memory\\\"]\"\n  EXCLUDED_DESTINATION_CONFIGURATIONS: \"[\\\"athena-no-staging\\\", \\\"athena-parquet-no-staging\\\"]\"\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    # Tests that require credentials do not run in forks\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_loader:\n    name: dest | athena iceberg tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          # path: ${{ steps.pip-cache.outputs.dir }}\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-athena\n\n      - name: Install dependencies\n        # if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction -E athena --with sentry-sdk --with pipeline\n\n      - name: create secrets.toml\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > tests/.dlt/secrets.toml\n\n      - run: |\n          poetry run pytest tests/load -m \"essential\"\n        name: Run essential tests Linux\n        if: ${{ ! (contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule')}}\n\n      - run: |\n          poetry run pytest tests/load\n        name: Run all tests Linux\n        if: ${{ contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule'}}\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:49.660788", "created_at": "2023-02-07T23:08:57+01:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "dest | bigquery", "path": ".github/workflows/test_destination_bigquery.yml", "contents": "\nname: dest | bigquery\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 2 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n\n  RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n\n  ACTIVE_DESTINATIONS: \"[\\\"bigquery\\\"]\"\n  ALL_FILESYSTEM_DRIVERS: \"[\\\"memory\\\"]\"\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_loader:\n    name: dest | bigquery tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          # path: ${{ steps.pip-cache.outputs.dir }}\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-gcp\n\n      - name: Install dependencies\n        # if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction -E bigquery --with providers -E parquet --with sentry-sdk --with pipeline\n\n      - name: create secrets.toml\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > tests/.dlt/secrets.toml\n\n      - run: |\n          poetry run pytest tests/load\n        name: Run all tests Linux\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:50.899886", "created_at": "2024-04-02T20:28:12+02:00", "updated_at": "2024-04-26T15:32:21+02:00", "name": "test | clickhouse", "path": ".github/workflows/test_destination_clickhouse.yml", "contents": "\nname: test | clickhouse\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 2 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752\n  RUNTIME__LOG_LEVEL: ERROR\n  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n\n  ACTIVE_DESTINATIONS: \"[\\\"clickhouse\\\"]\"\n  ALL_FILESYSTEM_DRIVERS: \"[\\\"memory\\\"]\"\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_loader:\n    name: test | clickhouse tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-gcp\n\n      - name: Install dependencies\n        run: poetry install --no-interaction -E clickhouse --with providers -E parquet --with sentry-sdk --with pipeline\n\n      - name: create secrets.toml\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > tests/.dlt/secrets.toml\n\n      - run: |\n          poetry run pytest tests/load -m \"essential\"\n        name: Run essential tests Linux\n        if: ${{ ! (contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule')}}\n\n      - run: |\n          poetry run pytest tests/load\n        name: Run all tests Linux\n        if: ${{ contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule'}}\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:52.011513", "created_at": "2024-01-15T17:23:22+01:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "dest | databricks", "path": ".github/workflows/test_destination_databricks.yml", "contents": "\nname: dest | databricks\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 2 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n\n  RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n\n  ACTIVE_DESTINATIONS: \"[\\\"databricks\\\"]\"\n  ALL_FILESYSTEM_DRIVERS: \"[\\\"memory\\\"]\"\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_loader:\n    name: dest | databricks tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-gcp\n\n      - name: Install dependencies\n        run: poetry install --no-interaction -E databricks -E s3 -E gs -E az -E parquet --with sentry-sdk --with pipeline\n\n      - name: create secrets.toml\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > tests/.dlt/secrets.toml\n\n      - run: |\n          poetry run pytest tests/load -m \"essential\"\n        name: Run essential tests Linux\n        if: ${{ ! (contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule')}}\n\n      - run: |\n          poetry run pytest tests/load\n        name: Run all tests Linux\n        if: ${{ contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule'}}\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:53.054674", "created_at": "2024-03-27T14:26:55+01:00", "updated_at": "2024-04-08T20:53:04+02:00", "name": "test | dremio", "path": ".github/workflows/test_destination_dremio.yml", "contents": "\nname: test | dremio\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 2 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n\n  ACTIVE_DESTINATIONS: \"[\\\"dremio\\\"]\"\n  ALL_FILESYSTEM_DRIVERS: \"[\\\"memory\\\"]\"\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_loader:\n    name: test | dremio tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Start dremio\n        run: docker-compose -f \"tests/load/dremio/docker-compose.yml\" up -d\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-gcp\n\n      - name: Install dependencies\n        run: poetry install --no-interaction -E s3 -E gs -E az -E parquet --with sentry-sdk --with pipeline\n\n      - run: |\n          poetry run pytest tests/load\n        if: runner.os != 'Windows'\n        name: Run tests Linux/MAC\n        env:\n          DESTINATION__DREMIO__CREDENTIALS: grpc://dremio:dremio123@localhost:32010/nas\n          DESTINATION__DREMIO__STAGING_DATA_SOURCE: minio\n          DESTINATION__MINIO__BUCKET_URL: s3://dlt-ci-test-bucket\n          DESTINATION__MINIO__CREDENTIALS__AWS_ACCESS_KEY_ID: minioadmin\n          DESTINATION__MINIO__CREDENTIALS__AWS_SECRET_ACCESS_KEY: minioadmin\n          DESTINATION__MINIO__CREDENTIALS__ENDPOINT_URL: http://127.0.0.1:9010\n\n      - run: |\n          poetry run pytest tests/load\n        if: runner.os == 'Windows'\n        name: Run tests Windows\n        shell: cmd\n\n      - name: Stop dremio\n        if: always()\n        run: docker-compose -f \"tests/load/dremio/docker-compose.yml\" down -v\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:54.139932", "created_at": "2024-06-01T23:41:01+02:00", "updated_at": "2024-06-27T16:24:54+02:00", "name": "dest | lancedb", "path": ".github/workflows/test_destination_lancedb.yml", "contents": null, "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:55.148425", "created_at": "2023-09-05T22:13:08+02:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "dest | mssql", "path": ".github/workflows/test_destination_mssql.yml", "contents": "\nname: dest | mssql\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 2 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n\n  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n\n  RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n\n  ACTIVE_DESTINATIONS: \"[\\\"mssql\\\"]\"\n  ALL_FILESYSTEM_DRIVERS: \"[\\\"memory\\\"]\"\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_loader:\n    name: dest | mssql tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Install ODBC driver for SQL Server\n        run: |\n          sudo ACCEPT_EULA=Y apt-get install --yes msodbcsql18\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-gcp\n\n      - name: Install dependencies\n        run: poetry install --no-interaction -E mssql -E s3 -E gs -E az -E parquet --with sentry-sdk --with pipeline\n\n      - name: create secrets.toml\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > tests/.dlt/secrets.toml\n\n      # always run full suite, also on branches\n      - run: poetry run pytest tests/load\n        name: Run tests Linux\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:56.196483", "created_at": "2023-10-29T16:31:45+01:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "dest | qdrant", "path": ".github/workflows/test_destination_qdrant.yml", "contents": "name: dest | qdrant\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 2 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n\n  RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n\n  ACTIVE_DESTINATIONS: \"[\\\"qdrant\\\"]\"\n  ALL_FILESYSTEM_DRIVERS: \"[\\\"memory\\\"]\"\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_loader:\n    name: dest | qdrant tests\n    needs: get_docs_changes\n    # if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    if: false # TODO re-enable with above line\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-gcp\n\n      - name: create secrets.toml\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > tests/.dlt/secrets.toml\n\n      - name: Install dependencies\n        run: poetry install --no-interaction -E qdrant -E parquet --with sentry-sdk --with pipeline\n\n      - run: |\n          poetry run pytest tests/load -m \"essential\"\n        name: Run essential tests Linux\n        if: ${{ ! (contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule')}}\n\n      - run: |\n          poetry run pytest tests/load\n        name: Run all tests Linux\n        if: ${{ contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule'}}\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:57.213400", "created_at": "2023-06-19T06:45:13+02:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "dest | snowflake", "path": ".github/workflows/test_destination_snowflake.yml", "contents": "\nname: dest | snowflake\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 2 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n\n  RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n\n  ACTIVE_DESTINATIONS: \"[\\\"snowflake\\\"]\"\n  ALL_FILESYSTEM_DRIVERS: \"[\\\"memory\\\"]\"\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_loader:\n    name: dest | snowflake tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-gcp\n\n      - name: Install dependencies\n        run: poetry install --no-interaction -E snowflake -E s3 -E gs -E az -E parquet --with sentry-sdk --with pipeline\n\n      - name: create secrets.toml\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > tests/.dlt/secrets.toml\n\n      - run: |\n          poetry run pytest tests/load -m \"essential\"\n        name: Run essential tests Linux\n        if: ${{ ! (contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule')}}\n\n      - run: |\n          poetry run pytest tests/load\n        name: Run all tests Linux\n        if: ${{ contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule'}}\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:58.287902", "created_at": "2023-10-04T17:54:00+02:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "dest | synapse", "path": ".github/workflows/test_destination_synapse.yml", "contents": "name: dest | synapse\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 2 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n\n  RUNTIME__SENTRY_DSN: https://cf6086f7d263462088b9fb9f9947caee@o4505514867163136.ingest.sentry.io/4505516212682752\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n\n  ACTIVE_DESTINATIONS: \"[\\\"synapse\\\"]\"\n  ALL_FILESYSTEM_DRIVERS: \"[\\\"memory\\\"]\"\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_loader:\n    name: dest | synapse tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Install ODBC driver for SQL Server\n        run: |\n          sudo ACCEPT_EULA=Y apt-get install --yes msodbcsql18\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-gcp\n\n      - name: Install dependencies\n        run: poetry install --no-interaction -E synapse -E parquet --with sentry-sdk --with pipeline\n\n      - name: create secrets.toml\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > tests/.dlt/secrets.toml\n\n      - run: |\n          poetry run pytest tests/load -m \"essential\"\n        name: Run essential tests Linux\n        if: ${{ ! (contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule')}}\n\n      - run: |\n          poetry run pytest tests/load\n        name: Run all tests Linux\n        if: ${{ contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule'}}\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:44:59.314794", "created_at": "2023-08-13T20:03:02+02:00", "updated_at": "2024-01-08T12:46:05+01:00", "name": "test weaviate", "path": ".github/workflows/test_destination_weaviate.yml", "contents": null, "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:45:00.730392", "created_at": "2023-02-07T23:08:57+01:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "dest | redshift, postgres and fs", "path": ".github/workflows/test_destinations.yml", "contents": "\nname: dest | redshift, postgres and fs\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 2 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n\n  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n\n  # For s3 compatible tests\n  TESTS__R2_AWS_ACCESS_KEY_ID: a4950a5003b26f5a71ac97ef3848ff4c\n  TESTS__R2_AWS_SECRET_ACCESS_KEY: ${{ secrets.CLOUDFLARE_R2_SECRET_ACCESS_KEY }}\n  TESTS__R2_ENDPOINT_URL: https://9830548e4e4b582989be0811f2a0a97f.r2.cloudflarestorage.com\n\n  RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n  # Test redshift and filesystem with all buckets\n  # postgres runs again here so we can test on mac/windows\n  ACTIVE_DESTINATIONS: \"[\\\"redshift\\\", \\\"postgres\\\", \\\"duckdb\\\", \\\"filesystem\\\", \\\"dummy\\\", \\\"motherduck\\\"]\"\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n    # Tests that require credentials do not run in forks\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n  run_loader:\n    name: dest | redshift, postgres and fs tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    strategy:\n      fail-fast: false\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          # path: ${{ steps.pip-cache.outputs.dir }}\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-redshift\n\n      - name: Install dependencies\n        # if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction -E redshift -E gs -E s3 -E az -E parquet -E duckdb -E cli --with sentry-sdk --with pipeline -E deltalake\n\n      - name: create secrets.toml\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > tests/.dlt/secrets.toml\n\n      - run: |\n          poetry run pytest tests/load -m \"essential\"\n        name: Run essential tests Linux\n        if: ${{ ! (contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule')}}\n\n      - run: |\n          poetry run pytest tests/load\n        name: Run all tests Linux\n        if: ${{ contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule'}}\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:45:01.918214", "created_at": "2023-08-03T01:58:47+02:00", "updated_at": "2023-08-03T01:58:47+02:00", "name": "test redshift and filesystem buckets", "path": ".github/workflows/test_destinations_redshift.yml", "contents": null, "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:45:02.957435", "created_at": "2023-08-21T11:36:22+02:00", "updated_at": "2024-04-09T11:19:20+02:00", "name": "docs | snippets & examples", "path": ".github/workflows/test_doc_snippets.yml", "contents": "\nname: docs | snippets & examples\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n\n  RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n\n  # Slack hook for chess in production example\n  RUNTIME__SLACK_INCOMING_HOOK: ${{ secrets.RUNTIME__SLACK_INCOMING_HOOK }}\n  # detect if the workflow is executed in a repo fork\n  IS_FORK: ${{ github.event.pull_request.head.repo.fork }}\n\njobs:\n\n  run_lint:\n    name: docs | snippets & examples lint and test\n    runs-on: ubuntu-latest\n    # Do not run on forks, unless allowed, secrets are used here\n    if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}\n\n    steps:\n\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Start weaviate\n        run: docker-compose -f \".github/weaviate-compose.yml\" up -d\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        # if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction -E duckdb -E weaviate -E parquet -E qdrant -E bigquery -E postgres --with docs,sentry-sdk --without airflow\n\n      - name: create secrets.toml for examples\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > docs/examples/.dlt/secrets.toml\n\n      - name: create secrets.toml for snippets\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > docs/website/docs/.dlt/secrets.toml\n\n      - name: Run linter and tests on examples\n        run: make lint-and-test-examples\n\n      - name: Run linter and tests on snippets\n        run: make lint-and-test-snippets\n\n\n\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:45:04.022780", "created_at": "2024-01-02T18:22:26+01:00", "updated_at": "2024-01-02T18:22:26+01:00", "name": "test magics integration", "path": ".github/workflows/test_ipython_magics.yml", "contents": null, "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:45:05.129248", "created_at": "2023-08-02T03:19:21+02:00", "updated_at": "2024-06-26T23:05:04+02:00", "name": "dest | postgres, duckdb and fs", "path": ".github/workflows/test_local_destinations.yml", "contents": "# Tests destinations that can run without credentials.\n# i.e. local postgres, duckdb, filesystem (with local fs/memory bucket)\n\nname: dest | postgres, duckdb and fs\n\non:\n  pull_request:\n    branches:\n      - master\n      - devel\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  # NOTE: this workflow can't use github secrets!\n  # DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}\n\n  RUNTIME__SENTRY_DSN: https://6f6f7b6f8e0f458a89be4187603b55fe@o1061158.ingest.sentry.io/4504819859914752\n  RUNTIME__LOG_LEVEL: ERROR\n  RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }}\n  ACTIVE_DESTINATIONS: \"[\\\"duckdb\\\", \\\"postgres\\\", \\\"filesystem\\\", \\\"weaviate\\\"]\"\n  ALL_FILESYSTEM_DRIVERS: \"[\\\"memory\\\", \\\"file\\\"]\"\n\n  DESTINATION__WEAVIATE__VECTORIZER: text2vec-contextionary\n  DESTINATION__WEAVIATE__MODULE_CONFIG: \"{\\\"text2vec-contextionary\\\": {\\\"vectorizeClassName\\\": false, \\\"vectorizePropertyName\\\": true}}\"\n\njobs:\n  get_docs_changes:\n    name: docs changes\n    uses: ./.github/workflows/get_docs_changes.yml\n\n  run_loader:\n    name: dest | postgres, duckdb and fs local tests\n    needs: get_docs_changes\n    if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'\n    strategy:\n      fail-fast: false\n    defaults:\n      run:\n        shell: bash\n    runs-on: \"ubuntu-latest\"\n\n    # Service containers to run with `container-job`\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgres\n        # Provide the password for postgres\n        env:\n          POSTGRES_DB: dlt_data\n          POSTGRES_USER: loader\n          POSTGRES_PASSWORD: loader\n        ports:\n          - 5432:5432\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - name: Check out\n        uses: actions/checkout@master\n\n      - name: Start weaviate\n        run: docker-compose -f \".github/weaviate-compose.yml\" up -d\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10.x\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.2\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-local-destinations\n\n      - name: Install dependencies\n        run: poetry install --no-interaction -E postgres -E duckdb -E parquet -E filesystem -E cli -E weaviate --with sentry-sdk --with pipeline -E deltalake\n\n      - name: create secrets.toml\n        run: pwd && echo \"$DLT_SECRETS_TOML\" > tests/.dlt/secrets.toml\n\n      # always run full suite, also on branches\n      - run: poetry run pytest tests/load && poetry run pytest tests/cli\n        name: Run tests Linux\n        env:\n          DESTINATION__POSTGRES__CREDENTIALS: postgresql://loader:loader@localhost:5432/dlt_data\n\n      - name: Stop weaviate\n        if: always()\n        run: docker-compose -f \".github/weaviate-compose.yml\" down -v\n", "state": "active", "repository": "dlt-hub/dlt"}
{"mined_at": "2024-07-15T17:45:07.135807", "created_at": "2024-01-26T16:21:33+01:00", "updated_at": "2024-01-26T16:21:33+01:00", "name": "Black formatting", "path": ".github/workflows/black-formatting.yml", "contents": "name: Black formatting\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 12 * * 0\"  # Weekly at noon UTC on Sundays\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Check black formatting\n        id: black-check\n        uses: psf/black@stable\n        with:\n            options: \"--check --verbose\"\n        continue-on-error: true\n\n      - name: Apply black formatting\n        id: black-apply\n        uses: psf/black@stable\n        if : ${{ steps.black-check.outcome == 'failure' }}\n        with:\n            options: \"--verbose\"\n\n      - name: Create PR\n        uses: peter-evans/create-pull-request@v5\n        if : ${{ steps.black-check.outcome == 'failure' }}\n        with:\n            commit-message: black formatting\n            title: Black formatting\n            body: Reformatting code with black style\n            branch: black-formatting\n", "state": "active", "repository": "neuralensemble/python-neo"}
{"mined_at": "2024-07-15T17:45:08.309773", "created_at": "2023-03-17T08:22:02+01:00", "updated_at": "2023-03-20T15:31:20+01:00", "name": "Create caches for ephy_testing_data and conda env", "path": ".github/workflows/caches_cron_job.yml", "contents": "name: Create caches for ephy_testing_data and conda env\n\non:\n  workflow_dispatch: # Workflow can be triggered manually via GH actions webinterface\n  push:  # When something is pushed into master this checks if caches need to re-created\n    branches:\n      - master\n  schedule:\n    - cron: \"0 12 * * *\"  # Daily at noon UTC\n\njobs:\n\n  create-conda-env-cache-if-missing:\n    name: Caching conda env\n    runs-on: \"ubuntu-latest\"\n    strategy:\n      fail-fast: true\n    defaults:\n      # by default run in bash mode (required for conda usage)\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Get current year-month\n        id: date\n        run: |\n          echo \"date=$(date +'%Y-%m')\" >> $GITHUB_OUTPUT\n\n      - name: Get current dependencies hash\n        id: dependencies\n        run: |\n          echo \"hash=${{hashFiles('**/pyproject.toml', '**/environment_testing.yml')}}\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache@v3\n        # the cache for python package is reset:\n        #   * every month\n        #   * when package dependencies change\n        id: cache-conda-env\n        with:\n          path: /usr/share/miniconda/envs/neo-test-env\n          key: ${{ runner.os }}-conda-env-${{ steps.dependencies.outputs.hash }}-${{ steps.date.outputs.date }}\n\n      - name: Cache found?\n        run: echo \"Cache-hit == ${{steps.cache-conda-env.outputs.cache-hit == 'true'}}\"\n\n      # activate environment if not restored from cache\n      - uses: conda-incubator/setup-miniconda@v2.2.0\n        if: steps.cache-conda-env.outputs.cache-hit != 'true'\n        with:\n          activate-environment: neo-test-env\n          environment-file: environment_testing.yml\n          python-version: 3.9\n\n      - name: Create the conda environment to be cached\n        if: steps.cache-conda-env.outputs.cache-hit != 'true'\n        # create conda env, configure git and install pip, neo and test dependencies from master\n        # for PRs that change dependencies, this environment will be updated in the test workflow\n        run: |\n          git config --global user.email \"neo_ci@fake_mail.com\"\n          git config --global user.name \"neo CI\"\n          python -m pip install -U pip  # Official recommended way\n          pip install --upgrade -e .[test]\n\n  create-data-cache-if-missing:\n    name: Caching data env\n    runs-on: \"ubuntu-latest\"\n    steps:\n\n      - name: Get current hash (SHA) of the ephy_testing_data repo\n        id: ephy_testing_data\n        run: |\n          echo \"dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache@v3\n        # Loading cache of ephys_testing_dataset\n        id: cache-datasets\n        with:\n          path: ~/ephy_testing_data\n          key: ${{ runner.os }}-datasets-${{ steps.ephy_testing_data.outputs.dataset_hash }}\n\n      - name: Cache found?\n        run: echo \"Cache-hit == ${{steps.cache-datasets.outputs.cache-hit == 'true'}}\"\n\n      - name: Installing datalad and git-annex\n        if: steps.cache-datasets.outputs.cache-hit != 'true'\n        run: |\n          git config --global user.email \"neo_ci@fake_mail.com\"\n          git config --global user.name \"neo CI\"\n          python -m pip install -U pip  # Official recommended way\n          pip install datalad-installer\n          datalad-installer --sudo ok git-annex --method datalad/packages\n          pip install datalad\n          git config --global filter.annex.process \"git-annex filter-process\"  # recommended for efficiency\n\n      - name: Download dataset\n        if: steps.cache-datasets.outputs.cache-hit != 'true'\n        # Download repository and also fetch data\n        run: |\n          cd ~\n          datalad install --recursive --get-data https://gin.g-node.org/NeuralEnsemble/ephy_testing_data\n\n      - name: Show size of the cache to assert data is downloaded\n        run: |\n          cd ~\n          pwd\n          du -hs ephy_testing_data\n          cd ephy_testing_data\n          pwd\n", "state": "active", "repository": "neuralensemble/python-neo"}
{"mined_at": "2024-07-15T17:45:09.372411", "created_at": "2022-03-08T15:49:47+01:00", "updated_at": "2023-03-08T12:09:23+01:00", "name": "NeoCoreTest", "path": ".github/workflows/core-test.yml", "contents": "name: NeoCoreTest\n\non:\n  pull_request:\n    branches: [master]\n    types: [synchronize, opened, reopened, ready_for_review]\n    paths:\n      - 'neo/core/**'\n      - 'pyproject.toml'\n      - '.github/workflows/*.yml'\n\n  # run checks on any change of master, including merge of PRs\n  push:\n    branches: [master]\n\nconcurrency: # Cancel previous workflows on the same pull request\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  multi-os-python-numpy:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [\"ubuntu-latest\", \"windows-latest\"]\n        # \"macos-latest\",\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n        numpy-version: ['1.20.3', '1.21.6', '1.22.4', '1.23.5', '1.24.1', '1.25.1', '1.26.4']\n        exclude:\n           - python-version: '3.8'\n             numpy-version: '1.25.1'\n           - python-version: '3.8'\n             numpy-version: '1.26.4'\n           - python-version: '3.10'\n             numpy-version: '1.20.3'\n           - python-version: '3.11'\n             numpy-version: '1.20.3'\n           - python-version: '3.11'\n             numpy-version: '1.21.6'\n           - python-version: '3.12'\n             numpy-version: '1.20.3'\n           # python 3.12 only works on latest numpy\n           - python-version: '3.12'\n             numpy-version: '1.21.6'\n           - python-version: '3.12'\n             numpy-version: '1.22.4'\n           - python-version: '3.12'\n             numpy-version: '1.23.5'\n           - python-version: '3.12'\n             numpy-version: '1.24.1'\n           - python-version: '3.12'\n             numpy-version: '1.25.1'\n    steps:\n        - name: Set up Python ${{ matrix.python-version }}\n          uses: actions/setup-python@v4\n          with:\n            python-version: ${{ matrix.python-version }}\n\n        - name: Checkout repository\n          uses: actions/checkout@v3\n\n        - name: Install numpy ${{ matrix.numpy-version }}\n          run: |\n            python -m pip install --upgrade pip\n            pip install numpy==${{ matrix.numpy-version }}\n            pip install pytest pytest-cov\n            pip install .\n\n        - name: List pip packages\n          run: |\n            pip -V\n            pip list\n\n        - name: Run tests\n          run: |\n            pytest --cov=neo neo/test/coretest\n", "state": "active", "repository": "neuralensemble/python-neo"}
{"mined_at": "2024-07-15T17:45:10.471749", "created_at": "2023-01-04T11:11:04+01:00", "updated_at": "2023-04-03T11:39:13+02:00", "name": "Mirror to EBRAINS", "path": ".github/workflows/ebrains.yml", "contents": "name: Mirror to EBRAINS\n\n# Configure the events that are going to trigger tha automated update of the mirror\non:\n  push:\n    branches: [ master ]\n\n# Configure what will be updated\njobs:\n  # set the job name\n  to_ebrains:\n    runs-on: ubuntu-latest\n    steps:\n      # this task will push the master branch of the source_repo (github) to the\n      # destination_repo (ebrains gitlab)\n      - name: syncmaster\n        uses: wei/git-sync@v3\n        with:\n          source_repo: https://github.com/NeuralEnsemble/python-neo\n          source_branch: \"master\"\n          destination_repo: \"https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/NeuralEnsemble/neo.git\"\n          destination_branch: \"main\"\n      # this task will push all tags from the source_repo to the destination_repo\n      - name: synctags\n        uses: wei/git-sync@v3\n        with:\n          source_repo: https://github.com/NeuralEnsemble/python-neo\n          source_branch: \"refs/tags/*\"\n          destination_repo: \"https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/NeuralEnsemble/neo.git\"\n          destination_branch: \"refs/tags/*\"\n", "state": "active", "repository": "neuralensemble/python-neo"}
{"mined_at": "2024-07-15T17:45:11.621935", "created_at": "2022-03-09T12:52:20+01:00", "updated_at": "2023-06-24T15:14:01+02:00", "name": "NeoIoTest", "path": ".github/workflows/io-test.yml", "contents": "name: NeoIoTest\n\non:\n  workflow_call:\n    inputs:\n      os:\n        required: true\n        type: string\n\nconcurrency:  # Cancel previous workflows on the same pull request\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-and-test:\n    name: Test on (${{ inputs.os }}) (${{ matrix.python-version}})\n    runs-on: ${{ inputs.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: ['3.9', '3.11']\n    defaults:\n      # by default run in bash mode (required for conda usage)\n      run:\n        shell: bash -l {0}\n    steps:\n\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Get current year-month\n        id: date\n        run: echo \"date=$(date +'%Y-%m')\" >> $GITHUB_OUTPUT\n\n      - name: Get ephy_testing_data current head hash\n        # the key depend on the last commit repo https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git\n        id: ephy_testing_data\n        run: |\n          echo \"dataset_hash=$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache/restore@v3\n        # Loading cache of ephys_testing_dataset\n        id: cache-datasets\n        with:\n          path: ~/ephy_testing_data\n          key: ${{ runner.os }}-datasets-${{ steps.ephy_testing_data.outputs.dataset_hash }}\n          restore-keys: ${{ runner.os }}-datasets-\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: neo-test-env\n          python-version: \"${{ matrix.python-version }}\"\n\n      - name: Get current dependencies hash\n        id: dependencies\n        run: |\n          echo \"hash=${{hashFiles('**/pyproject.toml', '**/environment_testing.yml')}}\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache/restore@v3\n        # the cache for python package is reset:\n        #   * every month\n        #   * when package dependencies change\n        id: cache-conda-env\n        with:\n          path: /usr/share/miniconda/envs/neo-test-env\n          key: ${{ runner.os }}-conda-env-${{ steps.dependencies.outputs.hash }}-${{ steps.date.outputs.date }}\n          # restore-keys match any key that starts with the restore-key\n          restore-keys: |\n            ${{ runner.os }}-conda-env-${{ steps.dependencies.outputs.hash }}-\n            ${{ runner.os }}-conda-env-\n\n      - name: Install testing dependencies\n        # testing environment is only created from yml if no cache was found\n        # restore-key hits should result in `cache-hit` == 'false'\n        if: steps.cache-conda-env.outputs.cache-hit != 'true'\n        run: |\n          conda env update --name neo-test-env --file environment_testing.yml --prune\n          conda install python=${{ matrix.python-version }}\n\n      - name: Configure git\n        run: |\n          git config --global user.email \"neo_ci@fake_mail.com\"\n          git config --global user.name \"neo CI\"\n\n      - name: Python version\n        run: |\n          which python\n          python --version\n\n      - name: Install neo including dependencies\n        # installation with dependencies is only required if no cache was found\n        # restore-key hits should result in `cache-hit` == 'false'\n        if: steps.cache-conda-env.outputs.cache-hit != 'true'\n        run: |\n          pip install --upgrade -e .\n          pip install .[test]\n\n      - name: Install neo without dependencies\n        # only installing neo version to test as dependencies should be in cached conda env already\n        if: steps.cache-conda-env.outputs.cache-hit == 'true'\n        run: |\n          pip install --no-dependencies -e .\n\n      - name: Install wine\n        run: |\n          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list\n          sudo dpkg --add-architecture i386\n          sudo apt-get update -qq\n          sudo apt-get install -yqq --allow-downgrades libc6:i386 libgcc-s1:i386 libstdc++6:i386 wine\n\n      - name: Pip list\n        run: |\n          pip list\n\n      - name: Conda list\n        run: |\n          conda list\n\n      - name: Test with pytest\n        env:\n          HDF5_PLUGIN_PATH: ${{ github.workspace }}/hdf5_local_plugin_path\n        run: |\n          # only neo.rawio and neo.io\n          pytest --cov=neo neo/test/rawiotest\n          pytest --cov=neo neo/test/iotest\n", "state": "active", "repository": "neuralensemble/python-neo"}
{"mined_at": "2024-07-15T17:45:12.721016", "created_at": "2023-06-23T10:51:47+02:00", "updated_at": "2023-06-27T16:54:57+02:00", "name": "NeoIoTest-manual-trigger", "path": ".github/workflows/io-test_dispatch.yml", "contents": "name: NeoIoTest-manual-trigger\n\non:\n  workflow_dispatch:\n    inputs:\n      os:\n        description: 'The operating system to run the tests on'\n        required: True\n        default: 'ubuntu-latest'\n        type: choice\n        options:\n          - macos-latest\n          - windows-latest\n\njobs:\n  call-iotests:\n    uses: ./.github/workflows/io-test.yml\n    with:\n      os: ${{ inputs.os }}", "state": "active", "repository": "neuralensemble/python-neo"}
{"mined_at": "2024-07-15T17:45:13.763023", "created_at": "2023-06-23T10:51:48+02:00", "updated_at": "2023-06-27T16:54:57+02:00", "name": "NeoIoTest-automatic-trigger", "path": ".github/workflows/io-test_trigger.yml", "contents": "name: NeoIoTest-automatic-trigger\n\non:\n  pull_request:\n    branches: [master]\n    types: [synchronize, opened, reopened, ready_for_review]\n\n  # run checks on any change of master, including merge of PRs\n  push:\n    branches: [master]\n\njobs:\n  call-iotests:\n    uses: ./.github/workflows/io-test.yml\n    with:\n      os: ubuntu-latest\n", "state": "active", "repository": "neuralensemble/python-neo"}
{"mined_at": "2024-07-15T17:45:14.964237", "created_at": "2024-01-26T15:29:37+01:00", "updated_at": "2024-01-26T15:29:37+01:00", "name": "Release to Test PyPI", "path": ".github/workflows/publish-to-pypi-test.yml", "contents": "name: Release to Test PyPI\n\non:\n  push:\n    tags:\n       - '*'\njobs:\n  release:\n    environment: TEST_PYPI_API_TOKEN\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Install Tools\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine build\n        pip install .\n    - name: Get the tag version\n      id: get-version\n      run: |\n        echo ${GITHUB_REF#refs/tags/}\n        echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}\n    - name: Test version/tag correspondence\n      id: version-check\n      run: |\n        neo_version=$(python -c \"import neo; print(neo.__version__)\")\n        tag_version=${{ steps.get-version.outputs.TAG }}\n        echo $neo_version\n        echo $tag_version\n        if [[ $tag_version == $neo_version ]]; then\n            echo \"VERSION_TAG_MATCH=true\" >> $GITHUB_OUTPUT\n            echo \"Version matches tag, proceeding with release to Test PyPI\"\n        else\n            echo \"VERSION_TAG_MATCH=false\" >> $GITHUB_OUTPUT\n            echo \"Version does not match tag! Fix this before proceeding.\"\n            exit 1\n        fi\n    - name: Package and Upload\n      env:\n        STACKMANAGER_VERSION: ${{ github.event.release.tag_name }}\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}\n      if: ${{ steps.version-check.outputs.VERSION_TAG_MATCH == 'true' }}\n      run: |\n        python -m build --sdist --wheel\n        twine upload --repository testpypi dist/*\n", "state": "active", "repository": "neuralensemble/python-neo"}
{"mined_at": "2024-07-15T17:45:16.087914", "created_at": "2024-01-26T15:29:37+01:00", "updated_at": "2024-01-26T15:29:37+01:00", "name": "Release to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Release to PyPI\n\non:\n  workflow_dispatch:\n\njobs:\n  release:\n    environment: PYPI_API_TOKEN\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Install Tools\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine build\n    - name: Package and Upload\n      env:\n        STACKMANAGER_VERSION: ${{ github.event.release.tag_name }}\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        python -m build --sdist --wheel\n        twine upload dist/*\n", "state": "active", "repository": "neuralensemble/python-neo"}
{"mined_at": "2024-07-15T17:45:18.421010", "created_at": "2021-02-11T22:47:38+01:00", "updated_at": "2022-03-26T21:59:23+01:00", "name": "Push tests", "path": ".github/workflows/push_tests.yml", "contents": "name: Push tests\n\non:\n  push:\n    branches: main\n  pull_request:\n    branches: \"*\"\n\njobs:\n\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n      - uses: actions/setup-python@v5\n      - name: Pre-commit checks\n        uses: pre-commit/action@v3.0.1\n      - name: Install dependencies\n        run: |\n          pip install -r ./requirements-dev.txt\n      # We can't have mypy in the pre-commit hook without having it run on all files\n      # in the repo, because (probably) the --all-files argument in pre-commit overrides\n      # the more narrow specifying of files in pyproject.toml\n      # TODO: Remove this if/when all files are mypy-compliant\n      - name: Run mypy\n        run: |\n          mypy --config-file pyproject.toml\n\n  unit-tests-cli:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Python cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install -r ./requirements-dev.txt\n          pip install -e ./cellxgene_schema_cli\n      - name: cellxgene_schema_cli Unit tests\n        run: make unit-test\n      - name: Upload coverage results as an artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-cli\n          path: ./.coverage*\n          retention-days: 3\n\n  unit-tests-migration-assistant:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Python cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install -r scripts/migration_assistant/requirements.txt\n          pip install -r ./requirements-dev.txt\n      - name: migration_assistant Unit tests\n        run: make migration-assistant-tests\n      - name: Upload coverage results as an artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-migration-assisstant\n          path: ./.coverage*\n          retention-days: 3\n\n  unit-test-ontology-dry-run:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Python cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install -r scripts/schema_bump_dry_run_ontologies/requirements.txt\n          pip install -r ./requirements-dev.txt\n      - name: Ontology Dry Run Unit Tests\n        run: make ontology-dry-run-tests\n      - name: Upload coverage results as an artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-ontology-dry-run\n          path: ./.coverage*\n          retention-days: 3\n\n  unit-test-genes-dry-run:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Python cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install -r scripts/schema_bump_dry_run_genes/requirements.txt\n          pip install -r ./requirements-dev.txt\n      - name: Gene Dry Run Unit Tests\n        run: make gene-dry-run-tests\n      - name: Upload coverage results as an artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-genes-dry-run\n          path: ./.coverage*\n          retention-days: 3\n\n  submit-codecoverage:\n    needs:\n      - unit-test-genes-dry-run\n      - unit-test-ontology-dry-run\n      - unit-tests-migration-assistant\n      - unit-tests-cli\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref:\n            ${{ github.event.pull_request.head.ref }}\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          pip install coverage\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: coverage-*\n          merge-multiple: true\n          path: .\n      - name: coverage report\n        run: |\n          make coverage/report-xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          env_vars: OS,PYTHON\n          files: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n", "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:19.436586", "created_at": "2023-05-09T21:05:49+02:00", "updated_at": "2023-05-09T21:05:49+02:00", "name": "Updated Gene info", "path": ".github/workflows/gene_info_updates.yml", "contents": null, "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:20.434636", "created_at": "2023-05-09T23:11:14+02:00", "updated_at": "2023-05-09T23:11:14+02:00", "name": "Updated Genes", "path": ".github/workflows/gene_update.yml", "contents": null, "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:21.593164", "created_at": "2023-05-09T23:26:09+02:00", "updated_at": "2023-05-09T23:26:09+02:00", "name": "Updated Ontologies", "path": ".github/workflows/ontology_update.yml", "contents": null, "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:22.623111", "created_at": "2023-05-11T18:11:42+02:00", "updated_at": "2023-05-11T18:11:42+02:00", "name": "Push tests", "path": ".github/workflows/push_jobs.yml", "contents": null, "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:23.646807", "created_at": "2023-05-25T02:10:36+02:00", "updated_at": "2023-06-09T22:31:27+02:00", "name": ".github/workflows/gene_bump_dry_run.yml", "path": ".github/workflows/gene_bump_dry_run.yml", "contents": null, "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:24.804874", "created_at": "2023-07-11T20:49:11+02:00", "updated_at": "2023-07-11T20:49:11+02:00", "name": "Test update ontology mappings", "path": ".github/workflows/tmp-update-ontology-mappings.yml", "contents": null, "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:25.817905", "created_at": "2023-07-19T15:07:50+02:00", "updated_at": "2024-04-10T00:42:06+02:00", "name": "Trigger Schema Migration", "path": ".github/workflows/trigger-schema-migration.yml", "contents": "name: Trigger Schema Migration\n\non:\n  workflow_dispatch\n\njobs:\n  publish-to-pypi:\n    name: Build and publish Python distributions to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          check-latest: true\n      - name: Build dist\n        id: build\n        run: |\n          pip install wheel\n          make pydist\n          cd cellxgene_schema_cli\n          echo \"version=`python setup.py --version`\" >> $GITHUB_OUTPUT\n          cd ..\n      - name: Publish distribution to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository-url: https://test.pypi.org/legacy/\n          packages-dir: cellxgene_schema_cli/dist/\n      - name: Confirm publish to Test PyPI\n        uses: nick-fields/retry@v3\n        with:\n          max_attempts: 15\n          timeout_seconds: 30\n          polling_interval_seconds: 5\n          command: pip index versions --index-url https://test.pypi.org/simple/ cellxgene-schema | grep Available.*${{ steps.build.outputs.version }}\n      - name: Install and Test Package from Test PyPI\n        run: |\n          pip install -r cellxgene_schema_cli/requirements.txt\n          pip install --index-url https://test.pypi.org/simple/ cellxgene-schema\n          cellxgene-schema validate cellxgene_schema_cli/tests/fixtures/h5ads/example_valid.h5ad\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          packages-dir: cellxgene_schema_cli/dist/\n      - name: Confirm publish to PyPI\n        uses: nick-fields/retry@v3\n        with:\n          max_attempts: 15\n          timeout_seconds: 30\n          polling_interval_seconds: 5\n          command: pip index versions cellxgene-schema | grep Available.*${{ steps.build.outputs.version }}\n      - name: Trigger rebuild of Data Portal Processing Image and Schema Migration\n        run: |\n          curl -X POST https://api.github.com/repos/chanzuckerberg/single-cell-data-portal/dispatches \\\n          -H 'Accept: application/vnd.github.everest-preview+json' \\\n          --header 'authorization: Bearer ${{ secrets.CZIBUILDBOT_GITHUB_TOKEN }}' \\\n          --data '{\"event_type\": \"schema-migration\"}'\n", "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:26.944912", "created_at": "2023-08-21T23:25:22+02:00", "updated_at": "2023-08-21T23:25:22+02:00", "name": "Close inactive pull requests", "path": ".github/workflows/close-inactive-prs.yml", "contents": "name: Close inactive pull requests\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v9\n        with:\n          days-before-issue-stale: -1 # Do not mark any issues as stale\n          days-before-pr-stale: 14\n          days-before-pr-close: 3\n          stale-pr-message: \"This PR has not seen any activity in the past 2 weeks; if no one comments or reviews it in the next 3 days, this PR will be closed.\"\n          close-pr-message: \"This PR was closed because it has been inactive for 17 days, 3 days since being marked as stale. Please re-open if you still need this to be addressed.\"\n          stale-pr-label: \"stale\"\n          close-pr-label: \"autoclosed\"\n          exempt-draft-pr: true\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:27.969391", "created_at": "2023-10-06T20:35:09+02:00", "updated_at": "2023-10-19T21:04:17+02:00", "name": "Schema Version Bump Workflow", "path": ".github/workflows/schema-version-bump.yml", "contents": "name: Schema Version Bump Workflow\n\non:\n  workflow_dispatch:\n    inputs:\n      is-major-schema-bump:\n        description: \"Set to 'true' to kickoff major schema update; otherwise trigger a minor schema update\"\n        required: true\n        default: 'false'\n\npermissions:\n  id-token: write\n  contents: write\n  pull-requests: write\n\njobs:\n  ontology-dry-run:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Python cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install -r scripts/schema_bump_dry_run_ontologies/requirements.txt\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-region: us-west-2\n          role-to-assume: ${{ secrets.AWS_PROD_ROLE_TO_ASSUME }}\n          role-duration-seconds: 2700\n      - name: Pull AWS Secrets\n        uses: aws-actions/aws-secretsmanager-get-secrets@v2\n        with:\n          secret-ids:\n            AUTH0_SECRETS, corpora/backend/prod/auth0-secret\n      - name: Run Dry-Run Script\n        run: python3 -m scripts.schema_bump_dry_run_ontologies.ontology_bump_dry_run\n        env:\n          corpus_env: \"prod\"\n      - name: Store JSON with Replaced By Ontology Term Mappings\n        uses: actions/cache/save@v4\n        with:\n          path: \"./replaced-by.json\"\n          key: replaced-by-map\n      - name: upload dry run to slack\n        run: |\n          curl -F file=@ontologies-curator-report.txt -F \"initial_comment=Ontology Dry Run Report\" -F channels=${{secrets.SLACK_CURATOR_REPORTING_CHANNEL}} -H \"Authorization: Bearer ${{secrets.SLACK_CURATOR_REPORTING_APP_AUTH}}\" https://slack.com/api/files.upload\n\n  gencode-dry-run:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Python cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install -r scripts/schema_bump_dry_run_genes/requirements.txt\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-region: us-west-2\n          role-to-assume: ${{ secrets.AWS_PROD_ROLE_TO_ASSUME }}\n          role-duration-seconds: 2700\n      - name: Pull AWS Secrets\n        uses: aws-actions/aws-secretsmanager-get-secrets@v2\n        with:\n          secret-ids:\n            AUTH0_SECRETS, corpora/backend/prod/auth0-secret\n      - name: Check if any GENCODE csv files have changed\n        id: changed-files\n        uses: tj-actions/changed-files@v44\n        with:\n          files: cellxgene_schema_cli/cellxgene_schema/gencode_files/*.csv.gz\n      - name: Run Dry-Run Script\n        if: steps.changed-files.outputs.any_changed == 'true'\n        run: python3 -m scripts.schema_bump_dry_run_genes.gene_bump_dry_run\n        env:\n          corpus_env: \"prod\"\n      - name: upload to slack\n        if: steps.changed-files.outputs.any_changed == 'true'\n        run: |\n          curl -F file=@genes-curator-report.txt -F \"initial_comment=Gene Dry Run Report\" -F channels=${{secrets\n          .SLACK_CURATOR_REPORTING_CHANNEL}} -H \"Authorization: Bearer ${{secrets.SLACK_CURATOR_REPORTING_APP_AUTH}}\" https://slack.com/api/files.upload\n\n  generate-conversion-script:\n    runs-on: ubuntu-latest\n    needs: ontology-dry-run\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }} # checking out the last commit to this branch\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Python cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install -r scripts/migration_assistant/requirements.txt\n      - name: Retrieve Replaced By Ontology Term Mapping\n        uses: actions/cache/restore@v4\n        with:\n          path: ./replaced-by.json\n          key: replaced-by-map\n      - name: Run Conversion Script Generator\n        run: |\n          make generate-conversion-script\n      - name: Get Version\n        id: get_version\n        run: |\n          echo \"old_version=$(make show-current-version)\" >> $GITHUB_ENV\n      - name: setup git\n        run: |\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n      - name: remove diff files\n        run: |\n          git rm --ignore-unmatch ./cellxgene_schema_cli/cellxgene_schema/gencode_files/*_diff.txt\n      - name: Bump Patch Version\n        if: ${{ github.event.inputs.is-major-schema-bump }} == 'false'\n        run: |\n          pip install bumpversion\n          pip install wheel\n          bumpversion --config-file .bumpversion.cfg minor --allow-dirty\n          bumpversion --config-file .bumpversion.cfg prerel --allow-dirty --tag\n          echo \"new_version=$(make show-current-version)\" >> $GITHUB_ENV\n      - name: Bump RC to Major Version\n        if: ${{ github.event.inputs.is-major-schema-bump }} == 'true'\n        run: |\n          pip install bumpversion\n          pip install wheel\n          bumpversion --config-file .bumpversion.cfg major --allow-dirty\n          bumpversion --config-file .bumpversion.cfg prerel --allow-dirty --tag\n          echo \"new_version=$(make show-current-version)\" >> $GITHUB_ENV\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          commit-message: 'AUTO: update migrate.py schema_version ${{ env.old_version }}->${{ env.new_version }}'\n          title: 'AUTO: update migrate.py schema_version ${{ env.old_version }}->${{ env.new_version }}'\n          body: 'This is an automated PR to update migrate.py from schema_version ${{ env.old_version }}->${{ env.new_version }}.'\n          branch: auto/update-convert-py-to-${{ env.new_version }}\n          base: main\n          reviewers: ${{ vars.MIGRATION_REVIEWERS }}\n          add-paths: |\n            cellxgene_schema_cli/setup.py\n            cellxgene_schema_cli/cellxgene_schema/__init__.py\n            cellxgene_schema_cli/cellxgene_schema/migrate.py\n            .bumpversion.cfg\n", "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:29.094823", "created_at": "2023-10-19T22:55:10+02:00", "updated_at": "2023-10-19T22:55:10+02:00", "name": "Generate Conversion Script", "path": ".github/workflows/generate-conversion-script.yml", "contents": "name: Generate Conversion Script\n\non:\n  workflow_dispatch\n\npermissions:\n  id-token: write\n  contents: write\n  pull-requests: write\n\njobs:\n  generate-conversion-script:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }} # checking out the last commit to this branch\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Python cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install -r scripts/migration_assistant/requirements.txt\n      - name: Retrieve Replaced By Ontology Term Mapping\n        uses: actions/cache/restore@v4\n        with:\n          path: ./replaced-by.json\n          key: replaced-by-map\n      - name: Run Conversion Script Generator\n        run: |\n          make generate-conversion-script\n      - name: Get Version\n        id: get_version\n        run: |\n          echo \"old_version=$(make show-current-version)\" >> $GITHUB_ENV\n      - name: setup git\n        run: |\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n      - name: remove diff files\n        run: |\n          git rm --ignore-unmatch ./cellxgene_schema_cli/cellxgene_schema/gencode_files/*_diff.txt\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          commit-message: 'AUTO: update migrate.py schema_version ${{ env.old_version }}->${{ env.new_version }}'\n          title: 'AUTO: update migrate.py schema_version ${{ env.old_version }}->${{ env.new_version }}'\n          body: 'This is an automated PR to update migrate.py from schema_version ${{ env.old_version }}->${{ env.new_version }}.'\n          branch: auto/update-convert-py-to-${{ env.new_version }}\n          base: main\n          reviewers: ${{ vars.MIGRATION_REVIEWERS }}\n          add-paths: |\n            cellxgene_schema_cli/setup.py\n            cellxgene_schema_cli/cellxgene_schema/__init__.py\n            cellxgene_schema_cli/cellxgene_schema/migrate.py\n            .bumpversion.cfg\n", "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:30.326634", "created_at": "2024-01-02T16:51:56+01:00", "updated_at": "2024-01-02T16:51:56+01:00", "name": "Run GENCODE Bump Dry Run", "path": ".github/workflows/gencode-bump-dry-run.yml", "contents": "name: Run GENCODE Bump Dry Run\n\non:\n  workflow_dispatch\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  gencode-dry-run:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Python cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install -r scripts/schema_bump_dry_run_genes/requirements.txt\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-region: us-west-2\n          role-to-assume: ${{ secrets.AWS_PROD_ROLE_TO_ASSUME }}\n          role-duration-seconds: 5400\n      - name: Pull AWS Secrets\n        uses: aws-actions/aws-secretsmanager-get-secrets@v2\n        with:\n          secret-ids:\n            AUTH0_SECRETS, corpora/backend/prod/auth0-secret\n      - name: Run Dry-Run Script\n        run: python3 -m scripts.schema_bump_dry_run_genes.gene_bump_dry_run\n        env:\n          corpus_env: \"prod\"\n      - name: upload to slack\n        run: |\n          curl -F file=@genes-curator-report.txt -F \"initial_comment=Gene Dry Run Report\" -F channels=${{secrets\n          .SLACK_CURATOR_REPORTING_CHANNEL}} -H \"Authorization: Bearer ${{secrets.SLACK_CURATOR_REPORTING_APP_AUTH}}\" https://slack.com/api/files.upload\n", "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:31.450893", "created_at": "2024-01-02T16:51:56+01:00", "updated_at": "2024-01-02T16:51:56+01:00", "name": "Run Ontology Bump Dry Run", "path": ".github/workflows/ontology-bump-dry-run.yml", "contents": "name: Run Ontology Bump Dry Run\n\non:\n  workflow_dispatch\n\npermissions:\n  id-token: write\n  contents: write\n\njobs:\n  ontology-dry-run:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Python cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install -r scripts/schema_bump_dry_run_ontologies/requirements.txt\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-region: us-west-2\n          role-to-assume: ${{ secrets.AWS_PROD_ROLE_TO_ASSUME }}\n          role-duration-seconds: 2700\n      - name: Pull AWS Secrets\n        uses: aws-actions/aws-secretsmanager-get-secrets@v2\n        with:\n          secret-ids:\n            AUTH0_SECRETS, corpora/backend/prod/auth0-secret\n      - name: Run Dry-Run Script\n        run: python3 -m scripts.schema_bump_dry_run_ontologies.ontology_bump_dry_run\n        env:\n          corpus_env: \"prod\"\n      - name: Store JSON with Replaced By Ontology Term Mappings\n        uses: actions/cache/save@v4\n        with:\n          path: \"./replaced-by.json\"\n          key: replaced-by-map\n      - name: upload dry run to slack\n        run: |\n          curl -F file=@ontologies-curator-report.txt -F \"initial_comment=Ontology Dry Run Report\" -F channels=${{secrets.SLACK_CURATOR_REPORTING_CHANNEL}} -H \"Authorization: Bearer ${{secrets.SLACK_CURATOR_REPORTING_APP_AUTH}}\" https://slack.com/api/files.upload\n", "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:32.680427", "created_at": "2024-04-09T23:14:39+02:00", "updated_at": "2024-04-09T23:14:39+02:00", "name": "Updates to GENCODE Files", "path": ".github/workflows/gencode-process.yml", "contents": "name: Updates to GENCODE Files\n\non:\n  push:\n    paths:\n      - '**/cellxgene_schema_cli/cellxgene_schema/gencode_files/gene_info.yml'\n    branches-ignore:\n      - main\n\njobs:\n  gencode-processing:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Python cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: install requirements\n        run: |\n          pip install -r cellxgene_schema_cli/requirements.txt\n      - name: setup git\n        run: |\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n      - name: gene-processing\n        run: |\n          make gene-processing -C cellxgene_schema_cli\n          git add ./cellxgene_schema_cli/cellxgene_schema/gencode_files/genes_*.csv.gz\n          git add ./cellxgene_schema_cli/cellxgene_schema/gencode_files/*_diff.txt\n      - name: Commit\n        run: |\n          git commit -m \"AUTO: update gencode files\"\n          git push\n\n  unit-tests:\n    runs-on: ubuntu-latest\n    needs: gencode-processing\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.ref }}\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Python cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install -r cellxgene_schema_cli/requirements.txt\n          pip install -r requirements-dev.txt\n      - name: Unit tests\n        run: make unit-test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n", "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:33.805778", "created_at": "2024-06-03T20:24:17+02:00", "updated_at": "2024-06-03T20:24:17+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:34.905045", "created_at": "2023-06-02T20:11:29+02:00", "updated_at": "2023-09-26T17:26:27+02:00", "name": ".github/workflows/conversion_script.yml", "path": ".github/workflows/conversion_script.yml", "contents": null, "state": "disabled_manually", "repository": "chanzuckerberg/single-cell-curation"}
{"mined_at": "2024-07-15T17:45:36.980731", "created_at": "2020-02-24T20:14:48+01:00", "updated_at": "2020-02-24T20:16:21+01:00", "name": "Code Checks", "path": ".github/workflows/ci.yaml", "contents": "name: Code Checks\non: [push]\njobs:\n  qa:\n    name: Check builds and code quality\n    runs-on: ubuntu-latest\n\n    steps:\n        - uses: actions/checkout@v2\n\n        - name: Setup Python\n          uses: actions/setup-python@v2\n          with:\n            python-version: '3.10'\n\n        - uses: actions/setup-node@v2\n          with:\n            node-version: '14'\n\n        - name: Cache Python dependencies\n          id: cache\n          uses: actions/cache@v2\n          with:\n            path: ~/.cache/pip\n            key: ${{ runner.os }}-pip-${{ hashFiles('**/**/requirements/dev.txt' ) }}\n            restore-keys: |\n              ${{ runner.os }}-pip-\n\n        - name: Cache node modules\n          uses: actions/cache@v2\n          with:\n            path: ~/.npm\n            key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n            restore-keys: |\n              ${{ runner.os }}-node-\n\n        - name: Setup flake8 annotations\n          uses: rbialon/flake8-annotations@v1\n\n        - name: Install Python Dependences\n          run: |\n            pip install -r hedera/requirements/dev.txt\n\n        - name: Run linting and import sorting\n          run: |\n            isort -c **/*.py\n            flake8 --show-source hedera lattices lemmatization lemmatized_text vocab_list lti\n\n        - name: Install Static Dependences\n          run: npm i --include=dev\n\n        # - name: Lint JavaScript\n        #   run: npm run lint\n\n  python_tests:\n    name: Running python unit tests\n    runs-on: ubuntu-latest\n\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_DB: hedera\n          POSTGRES_USER: hedera\n          POSTGRES_PASSWORD: hedera\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n      redis:\n        image: redis\n        # Set health checks to wait until redis has started\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps port 6379 on service container to the host\n          - 6379:6379\n\n    steps:\n        - uses: actions/checkout@v2\n\n        - name: Setup Python\n          uses: actions/setup-python@v2\n          with:\n            python-version: '3.10'\n\n        - name: Setup Cache\n          id: cache\n          uses: actions/cache@v2\n          with:\n            path: ~/.cache/pip\n            key: ${{ runner.os }}-pip-${{ hashFiles('**/**/requirements/dev.txt' ) }}\n            restore-keys: |\n              ${{ runner.os }}-pip-\n\n        - name: Install Python Dependences\n          run: |\n            pip install wheel && \\\n            pip install -r hedera/requirements/base.txt && \\\n            pip install -r hedera/requirements/dev.txt\n\n        - name: Run tests\n          env:\n            DJANGO_SETTINGS_MODULE: hedera.test_settings\n          run: python manage.py test\n\n  js_tests:\n    name: Running javascript unit tests\n    runs-on: ubuntu-latest\n\n    steps:\n        - uses: actions/checkout@v2\n\n        - uses: actions/setup-node@v2\n          with:\n            node-version: '14'\n\n        - name: Cache node modules\n          uses: actions/cache@v2\n          with:\n            path: ~/.npm\n            key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n            restore-keys: |\n              ${{ runner.os }}-node-\n\n        - name: Install Static Dependences\n          run: npm i --include=dev\n\n        - name: Run unit tests\n          run: npm run test:unit\n", "state": "active", "repository": "hedera-lang-learn/hedera"}
{"mined_at": "2024-07-15T17:45:39.233292", "created_at": "2022-02-08T12:05:36+01:00", "updated_at": "2022-02-08T12:05:36+01:00", "name": "pre-commit", "path": ".github/workflows/ci-pre-commit.yml", "contents": "name: pre-commit\n\non: [push, pull_request]\n\njobs:\n  build:\n    name: \"Linux - pre-commit checks - Python 3.10\"\n    timeout-minutes: 30\n    runs-on: ubuntu-latest\n    env:\n      PRE_COMMIT_USE_MICROMAMBA: 1\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v4\n      - name: Set up micromamba\n        uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822\n      - name: Add micromamba to GITHUB_PATH\n        run: echo \"${HOME}/micromamba-bin\" >> \"$GITHUB_PATH\"\n      - name: Install Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Run pre-commit checks\n        uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "data-engineering-collective/plateau"}
{"mined_at": "2024-07-15T17:45:40.563773", "created_at": "2022-02-08T12:05:37+01:00", "updated_at": "2023-09-25T14:51:23+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n  push:\n    branches:\n      - \"main\"\n      - \"pre-commit-autoupdate\"\n    tags:\n      - \"*\"\n  schedule:\n    # daily (`@daily` not supported, see\n    # https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events )\n    #\n    # Runs on default/base branch (see\n    # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onschedule )\n    - cron: \"0 0 * * *\"\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        numfocus_nightly: [false]\n        os: [\"ubuntu-latest\"]\n        pandas: [\"\"]\n        pyarrow: [\"4.0.1\", \"nightly\"]\n        python: [\"3.8\"]\n        include:\n          - numfocus_nightly: true\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"nightly\"\n            python: \"3.10\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"1.5.3\"\n            pyarrow: \"4.0.1\"\n            python: \"3.11\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"1.5.3\"\n            pyarrow: \"13.0.0\"\n            python: \"3.11\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"5.0.0\"\n            python: \"3.9\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"6.0.1\"\n            python: \"3.9\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"7.0.0\"\n            python: \"3.10\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"8.0.1\"\n            python: \"3.10\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"9.0.0\"\n            python: \"3.10\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"10.0.1\"\n            python: \"3.11\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"11.0.0\"\n            python: \"3.11\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"12.0.0\"\n            python: \"3.11\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"13.0.0\"\n            python: \"3.11\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"13.0.0\"\n            python: \"3.12\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"14.0.1\"\n            python: \"3.12\"\n          - numfocus_nightly: false\n            os: \"ubuntu-latest\"\n            pandas: \"\"\n            pyarrow: \"15.0.0\"\n            python: \"3.12\"\n          - numfocus_nightly: false\n            os: \"macos-latest\"\n            pandas: \"\"\n            pyarrow: \"4.0.1\"\n            python: \"3.8\"\n    continue-on-error: ${{ matrix.numfocus_nightly || matrix.pyarrow == 'nightly' }}\n\n    runs-on: ${{ matrix.os }}\n\n    defaults:\n      run:\n        # see https://github.com/conda-incubator/setup-miniconda/#important\n        shell: bash -l {0}\n\n    env:\n      IS_MASTER_BUILD: ${{ !matrix.numfocus_nightly && matrix.os == 'ubuntu-latest' && matrix.pyarrow == '4.0.1' && matrix.python == '3.8' }}\n      IS_TAG: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')}}\n\n    steps:\n      # CI setup\n      - name: Is Master Build?\n        run: echo $IS_MASTER_BUILD\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Conda env\n        uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822\n        with:\n          environment-file: environment.yml\n          cache-environment: true\n          create-args: >-\n            python=${{ matrix.python }}\n      - name: Install Pyarrow (non-nightly)\n        run: micromamba install -y pyarrow==${{ matrix.pyarrow }}\n        if: matrix.pyarrow != 'nightly' && matrix.pandas == ''\n      - name: Install Pyarrow (nightly)\n        # Install both arrow-cpp and pyarrow to make sure that we have the\n        # latest nightly of both packages. It is sadly not guaranteed that the\n        # nightlies and the latest release would otherwise work together.\n        run: micromamba update -c arrow-nightlies -c conda-forge arrow-cpp pyarrow\n        if: matrix.pyarrow == 'nightly'\n      - name: Install Pyarrow (downgrade pandas)\n        run: micromamba install -y --no-py-pin pyarrow==${{ matrix.pyarrow }} pandas==${{ matrix.pandas }}\n        if: matrix.pyarrow != 'nightly' && matrix.pandas != ''\n      - name: Pip Install NumFOCUS nightly\n        # NumFOCUS nightly wheels, contains numpy and pandas\n        # TODO(gh-45): Re-add numpy\n        run: python -m pip install --pre --upgrade --timeout=60 --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/ pandas\n        if: matrix.numfocus_nightly\n      - name: Install repository\n        run: python -m pip install --no-build-isolation --no-deps --disable-pip-version-check -e .\n      - name: Test import\n        run: |\n          python -c \"import plateau\"\n          python -c \"import plateau.api\"\n          python -c \"import plateau.api.dataset\"\n          python -c \"import plateau.api.serialization\"\n          python -c \"import plateau.core\"\n          python -c \"import plateau.io\"\n          python -c \"import plateau.io_components\"\n          python -c \"import plateau.serialization\"\n          python -c \"import plateau.utils\"\n\n      # Tests\n      - name: Pytest\n        # FIXME: Add `-n auto` again to allow for parallelism here.\n        run: pytest --cov --cov-report xml\n\n      - name: Running benchmarks\n        run: |\n          asv --config ./asv_bench/asv.conf.json machine --machine github --os unknown --arch unknown --cpu unknown --ram unknown\n          asv --config ./asv_bench/asv.conf.json run -E existing:same | sed \"/failed$/ s/^/##[error]/\" | tee benchmarks.log\n          if grep \"failed\" benchmarks.log > /dev/null ; then\n              exit 1\n          fi\n        if: env.IS_MASTER_BUILD == 'true'\n\n      # Builds\n      - name: Build Wheel and sdist\n        run: python -m build --no-isolation\n\n      - name: Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          file: ./coverage.xml\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: pytest-numfocus_nightly_${{ matrix.numfocus_nightly }}-os_${{ matrix.os }}-pyarrow_${{ matrix.pyarrow }}-python_${{ matrix.python }}\n\n      # Release\n      - name: Publish to PyPI\n        if: env.IS_MASTER_BUILD == 'true' && env.IS_TAG == 'true'\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "data-engineering-collective/plateau"}
{"mined_at": "2024-07-15T17:45:41.793519", "created_at": "2022-12-08T14:40:34+01:00", "updated_at": "2022-12-13T16:10:49+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches:\n     - \"main\"\n     - \"pre-commit-autoupdate\"\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '38 17 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "data-engineering-collective/plateau"}
{"mined_at": "2024-07-15T17:45:43.124878", "created_at": "2022-02-08T12:05:37+01:00", "updated_at": "2022-02-08T12:05:37+01:00", "name": "Documentation CI", "path": ".github/workflows/docs.yml", "contents": "name: Documentation CI\n\non:\n  pull_request:\n  push:\n    branches:\n      - \"main\"\n      - \"pre-commit-autoupdate\"\n    tags:\n      - \"*\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Setup Conda Environment\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          miniforge-variant: Mambaforge\n          miniforge-version: 4.11.0-0\n          use-mamba: true\n          environment-file: docs/environment-docs.yml\n          activate-environment: plateau-docs\n          python-version: 3.8\n\n      - name: List conda\n        shell: bash -l {0}\n        run: conda list\n\n      - name: Build docs\n        shell: bash -l {0}\n        run: |\n          python -m pip install --no-build-isolation --no-deps -e .\n          sphinx-build -b html docs docs/_build\n", "state": "active", "repository": "data-engineering-collective/plateau"}
{"mined_at": "2024-07-15T17:45:44.256070", "created_at": "2022-12-09T11:42:17+01:00", "updated_at": "2022-12-09T11:42:17+01:00", "name": "pre-commit autoupdate", "path": ".github/workflows/pre-commit-autoupdate.yml", "contents": "name: pre-commit autoupdate\non:\n workflow_dispatch:\n schedule:\n   - cron: \"0 6 4 * *\"\n\ndefaults:\n  run:\n    shell:\n      bash -el {0}\n\njobs:\n  check_update:\n    name: Check if newer version exists\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout branch\n        uses: actions/checkout@v4\n        # We need to checkout with SSH here to have actions run on the PR.\n        with:\n          ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}\n      - name: Set up Conda env\n        uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822\n        with:\n          environment-name: pre-commit\n          create-args: >-\n            -c\n            conda-forge\n            pre-commit\n            mamba\n      - name: Update pre-commit hooks and run\n        id: versions\n        env:\n          PRE_COMMIT_USE_MAMBA: 1\n        run: |\n          pre-commit autoupdate\n          pre-commit run -a || true\n      - uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c\n        with:\n          commit-message: \"Auto-update pre-commit hooks\"\n          title: \"Auto-update pre-commit hooks\"\n          body: |\n            New versions of the used pre-commit hooks were detected.\n            This PR updates them to the latest and already ran `pre-commit run -a` for you to fix any changes in formatting.\n          branch: pre-commit-autoupdate\n          delete-branch: true\n", "state": "active", "repository": "data-engineering-collective/plateau"}
{"mined_at": "2024-07-15T17:45:46.348136", "created_at": "2022-10-09T12:14:25+02:00", "updated_at": "2022-10-12T14:00:56+02:00", "name": "citest", "path": ".github/workflows/citest.yaml", "contents": "name: citest\n\non:\n  push:\n    branches:\n      - master\n      - \"release/**\"\n    paths-ignore:\n      - \"setup.*\"\n      - \"requirements.txt\"\n      - \"requirements/**\"\n      - \"docs/**\"\n      - \"tools/**\"\n      - \".dev_scripts/**\"\n      - \"README.md\"\n      - \"README_zh-CN.md\"\n      - \"NOTICE\"\n      - \".github/workflows/lint.yaml\"\n      - \".github/workflows/publish.yaml\"\n\n  pull_request:\n    paths-ignore:\n      - \"setup.*\"\n      - \"requirements.txt\"\n      - \"requirements/**\"\n      - \"docs/**\"\n      - \"tools/**\"\n      - \".dev_scripts/**\"\n      - \"README.md\"\n      - \"README_*.md\"\n      - \"NOTICE\"\n      - \".github/workflows/lint.yaml\"\n      - \".github/workflows/publish.yaml\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unittest:\n    # The type of runner that the job will run on\n    runs-on: [modelscope-self-hosted-us]\n    timeout-minutes: 240\n    steps:\n      - name: ResetFileMode\n        shell: bash\n        run: |\n          # reset filemode to allow action runner to delete files\n          # generated by root in docker\n          set -e\n          source ~/.bashrc\n          sudo chown -R $USER:$USER  $ACTION_RUNNER_DIR\n\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n            lfs: 'true'\n            submodules: 'true'\n            fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}\n      - name: Get changed files\n        id: changed-files\n        run: |\n            if ${{ github.event_name == 'pull_request' }}; then\n                echo \"PR_CHANGED_FILES=$(git diff --name-only -r HEAD^1 HEAD | xargs)\" >> $GITHUB_ENV\n            else\n                echo \"PR_CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }} | xargs)\" >> $GITHUB_ENV\n            fi\n      - name: Checkout LFS objects\n        run: git lfs checkout\n      - name: Run unittest\n        shell: bash\n        run: |\n          set -e\n          source /mnt/modelscope/ci_env.sh\n          bash .dev_scripts/dockerci.sh\n", "state": "active", "repository": "modelscope/modelscope"}
{"mined_at": "2024-07-15T17:45:47.527793", "created_at": "2023-02-09T09:54:42+01:00", "updated_at": "2024-05-13T13:50:14+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/close_stale_issue.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v7\n        with:\n          stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'\n          stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'\n          close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'\n          close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'\n          days-before-issue-stale: 30\n          days-before-pr-stale: 45\n          days-before-issue-close: 5\n          days-before-pr-close: 45\n\npermissions:\n  contents: write # only for delete-branch option\n  issues: write\n  pull-requests: write\n", "state": "active", "repository": "modelscope/modelscope"}
{"mined_at": "2024-07-15T17:45:48.538155", "created_at": "2023-06-01T08:26:31+02:00", "updated_at": "2023-06-03T00:14:56+02:00", "name": "daily_regression", "path": ".github/workflows/daily_regression.yaml", "contents": "name: daily_regression\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    - cron:  '0 0 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  unittest:\n    # The type of runner that the job will run on\n    runs-on: [modelscope-self-hosted-us]\n    steps:\n      - name: ResetFileMode\n        shell: bash\n        run: |\n          # reset filemode to allow action runner to delete files\n          # generated by root in docker\n          set -e\n          source ~/.bashrc\n          sudo chown -R $USER:$USER  $ACTION_RUNNER_DIR\n\n      - name: Checkout\n        uses: actions/checkout@v2\n        with:\n            lfs: 'true'\n            submodules: 'true'\n      - name: Checkout LFS objects\n        run: git lfs checkout\n      - name: Run unittest\n        shell: bash\n        run: |\n          set -e\n          source /mnt/modelscope/regression_env.sh\n          bash .dev_scripts/dockerci.sh\n", "state": "active", "repository": "modelscope/modelscope"}
{"mined_at": "2024-07-15T17:45:49.677645", "created_at": "2022-10-09T12:13:14+02:00", "updated_at": "2022-10-12T14:00:56+02:00", "name": "Lint test", "path": ".github/workflows/lint.yaml", "contents": "name: Lint test\n\non: [push, pull_request]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.10'\n      - name: Install pre-commit hook\n        run: |\n          pip install pre-commit\n      - name: Linting\n        run: pre-commit run --all-files\n", "state": "active", "repository": "modelscope/modelscope"}
{"mined_at": "2024-07-15T17:45:50.804073", "created_at": "2022-12-06T17:02:56+01:00", "updated_at": "2022-12-06T17:02:56+01:00", "name": "release", "path": ".github/workflows/publish.yaml", "contents": "name: release\n\non:\n  push:\n    tags:\n      - 'v**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-publish\n  cancel-in-progress: true\n\njobs:\n  build-n-publish:\n    runs-on: ubuntu-20.04\n    #if: startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.10'\n      - name: Install wheel\n        run: pip install wheel && pip install -r requirements/framework.txt\n      - name: Build ModelScope\n        run: python setup.py sdist bdist_wheel\n      - name: Publish package to PyPI\n        run: |\n          pip install twine\n          twine upload package/dist/* --skip-existing -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "modelscope/modelscope"}
{"mined_at": "2024-07-15T17:45:52.752678", "created_at": "2023-03-15T01:58:56+01:00", "updated_at": "2023-03-15T01:58:56+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  push:\n    branches: [ \"master\", \"release\"]\n    paths:\n      - '.github/workflows/build.yml'\n      - 'src/**'\n      - 'Makefile'\n  pull_request:\n    branches: [ \"master\", \"release\"]\n    paths:\n      - '.github/workflows/build.yml'\n      - 'src/**'\n      - 'Makefile'\n\njobs:\n  test_build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Local build checking\n      run: make build\n", "state": "active", "repository": "andreidrang/python-rucaptcha"}
{"mined_at": "2024-07-15T17:45:53.754814", "created_at": "2023-03-15T01:35:24+01:00", "updated_at": "2023-03-15T01:35:24+01:00", "name": "Installation", "path": ".github/workflows/install.yml", "contents": "name: Installation\n\non:\n  push:\n    branches: [ \"master\", \"release\"]\n    paths:\n      - '.github/workflows/install.yml'\n      - 'src/**'\n      - 'Makefile'\n  pull_request:\n    branches: [ \"master\", \"release\"]\n    paths:\n      - '.github/workflows/install.yml'\n      - 'src/**'\n      - 'Makefile'\n\njobs:\n  install:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Local install checking\n      run: make install\n\n    - name: PYPI install checking\n      run: pip install python-rucaptcha\n", "state": "active", "repository": "andreidrang/python-rucaptcha"}
{"mined_at": "2024-07-15T17:45:54.770399", "created_at": "2023-03-10T15:18:04+01:00", "updated_at": "2023-03-10T15:18:04+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n    branches: [ \"master\", \"release\"]\n    paths:\n      - '.github/workflows/lint.yml'\n      - 'src/**'\n      - 'Makefile'\n      - 'requirements.style.txt'\n  pull_request:\n    branches: [ \"master\", \"release\"]\n    paths:\n      - '.github/workflows/lint.yml'\n      - 'src/**'\n      - 'Makefile'\n      - 'requirements.style.txt'\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    env:\n      API_KEY: ${{ secrets.API_KEY }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install -r requirements.style.txt\n\n    - name: Lint\n      run: make lint\n", "state": "active", "repository": "andreidrang/python-rucaptcha"}
{"mined_at": "2024-07-15T17:45:55.867659", "created_at": "2023-03-16T00:40:08+01:00", "updated_at": "2023-03-16T01:17:13+01:00", "name": "Sphinx docs", "path": ".github/workflows/sphinx.yml", "contents": "name: Sphinx docs\n\non:\n  push:\n    branches: [ \"release\" ]\n    paths:\n      - '.github/workflows/sphinx.yml'\n      - 'src/**'\n      - 'docs/**'\n      - 'files/**'\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n\n      - name: Build docs requirements\n        run: pip install -r docs/requirements.txt\n\n      - name: Build docs\n        run: make doc\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          publish_branch: gh-pages\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: docs/_build/html/\n          force_orphan: true\n", "state": "active", "repository": "andreidrang/python-rucaptcha"}
{"mined_at": "2024-07-15T17:45:56.842869", "created_at": "2023-03-10T18:01:29+01:00", "updated_at": "2023-03-10T18:01:29+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ \"master\", \"release\"]\n    paths:\n      - '.github/workflows/test.yml'\n      - 'src/**'\n      - 'tests/**'\n      - 'Makefile'\n      - 'requirements.test.txt'\n  pull_request:\n    branches: [ \"master\", \"release\"]\n    paths:\n      - '.github/workflows/test.yml'\n      - 'src/**'\n      - 'tests/**'\n      - 'Makefile'\n      - 'requirements.test.txt'\n  schedule:\n    - cron: \"5 0 * * 1\"\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    env:\n      RUCAPTCHA_KEY: ${{ secrets.RUCAPTCHA_KEY }}\n      DEATHBYCAPTCHA_KEY: ${{ secrets.DEATHBYCAPTCHA_KEY }}\n      CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_COVERAGE_ID }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install -r requirements.test.txt\n\n      - name: Test\n        run: make tests\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: ${{github.workspace}}/coverage/coverage.xml\n          fail_ci_if_error: true\n          verbose: true\n\n      - name: Upload coverage to Code Climate\n        uses: paambaati/codeclimate-action@v8.0.0\n        with:\n          coverageLocations: ${{github.workspace}}/coverage/coverage.xml:coverage.py\n", "state": "active", "repository": "andreidrang/python-rucaptcha"}
{"mined_at": "2024-07-15T17:45:57.834981", "created_at": "2022-01-06T23:35:00+01:00", "updated_at": "2022-01-06T23:35:00+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "andreidrang/python-rucaptcha"}
{"mined_at": "2024-07-15T17:45:59.917826", "created_at": "2022-05-17T16:15:30+02:00", "updated_at": "2024-04-15T13:43:45+02:00", "name": ".github/workflows/integration.yml", "path": ".github/workflows/integration.yml", "contents": null, "state": "active", "repository": "widgetti/solara"}
{"mined_at": "2024-07-15T17:46:01.044816", "created_at": "2022-08-23T10:54:01+02:00", "updated_at": "2022-08-23T10:54:01+02:00", "name": "Release solara-vuetify-app package", "path": ".github/workflows/release_solara_vuetify_app.yaml", "contents": "# Unlike the Python package release, the javascript release doesn't depend on tests passing\n# If a broken version is release without a Python release it isn't used, since the version\n# is fixed in the Python package\nname: Release solara-vuetify-app package\n\non:\n  push:\n    tags:\n      - \"@widgetti/solara-vuetify-app@*\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          registry-url: \"https://registry.npmjs.org\"\n      - name: Build the JS packages\n        run: |\n          cd packages\n          cd solara-widget-manager\n          npm install\n          npm run build\n          cd ..\n          cd solara-widget-manager8\n          npm install\n          npm run build\n          cd ..\n          cd solara-vuetify-app\n          npm install\n          npm run build\n      - name: Publish the NPM package\n        run: |\n          cd packages/solara-vuetify-app\n          echo $PRE_RELEASE\n          if [[ $PRE_RELEASE == \"true\" ]]; then export TAG=\"next\"; else export TAG=\"latest\"; fi\n          npm publish --tag ${TAG} --access public\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n          PRE_RELEASE: ${{ github.event.release.prerelease }}\n", "state": "active", "repository": "widgetti/solara"}
{"mined_at": "2024-07-15T17:46:02.171234", "created_at": "2023-04-18T13:15:13+02:00", "updated_at": "2023-04-18T13:15:13+02:00", "name": "Update server side generated pages", "path": ".github/workflows/webdeploy.yml", "contents": "name: Update server side generated pages\n\non:\n  push:\n    branches:\n      - stable\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ !(github.ref == 'refs/heads/master') }}\n\njobs:\n  update-ssg:\n    name: Update server side generated pages\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Configure git to use https\n        run: git config --global hub.protocol https\n\n      - name: Checkout the branch\n        run: |\n          git checkout stable\n          git checkout -B stable-ssg\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n\n      - name: Install solara\n        run: |\n          pip install -e .\"[all]\" -e packages/solara-server\"[starlette]\" -e packages/solara-meta\"[documentation]\" -e packages/solara-enterprise\"[all]\" playwright==1.39.0\n\n      - name: Install Playwright\n        run: |\n          playwright install chromium\n\n      - name: Generate pages\n        run: solara ssg solara.website.pages\n\n      - name: Commit reference images\n        run: |\n          git config user.name 'github-actions[bot]'\n          git config user.email 'github-actions[bot]@users.noreply.github.com'\n\n          git add -f solara/website/build\n          git commit -m \"Update SSG pages\"\n          git push origin stable-ssg -f\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "widgetti/solara"}
{"mined_at": "2024-07-15T17:46:03.297742", "created_at": "2023-11-13T13:36:16+01:00", "updated_at": "2023-11-13T13:36:16+01:00", "name": "Release solara-vuetify3-app package", "path": ".github/workflows/release_solara_vuetify_app-v3.yaml", "contents": "# Unlike the Python package release, the javascript release doesn't depend on tests passing\n# If a broken version is release without a Python release it isn't used, since the version\n# is fixed in the Python package\nname: Release solara-vuetify3-app package\n\non:\n  push:\n    tags:\n      - \"@widgetti/solara-vuetify3-app@*\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          registry-url: \"https://registry.npmjs.org\"\n      - name: Build the JS packages\n        run: |\n          cd packages\n          cd solara-widget-manager\n          npm install\n          npm run build\n          cd ..\n          cd solara-widget-manager8\n          npm install\n          npm run build\n          cd ..\n          cd solara-vuetify3-app\n          npm install\n          npm run build\n      - name: Publish the NPM package\n        run: |\n          cd packages/solara-vuetify3-app\n          echo $PRE_RELEASE\n          if [[ $PRE_RELEASE == \"true\" ]]; then export TAG=\"next\"; else export TAG=\"latest\"; fi\n          npm publish --tag ${TAG} --access public\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n          PRE_RELEASE: ${{ github.event.release.prerelease }}\n", "state": "active", "repository": "widgetti/solara"}
{"mined_at": "2024-07-15T17:46:04.418288", "created_at": "2024-03-15T15:57:26+01:00", "updated_at": "2024-03-21T15:32:42+01:00", "name": "Test", "path": ".github/workflows/test.yaml", "contents": "name: Test\n\non:\n  push:\n    branches:\n      - master\n    tags:\n      - v*\n  pull_request:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 6 * * *'  # at 06:00 UTC every day\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ !(github.ref == 'refs/heads/master') }}\n\nenv:\n  SOLARA_TELEMETRY_SERVER_USER_ID: \"install-test\"\n  SOLARA_TELEMETRY_MIXPANEL_TOKEN: adbf863d17cba80db608788e7fce9843\n\ndefaults:\n  run:\n    shell: bash {0}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - name: Cache JS bundle\n        id: cache-js-bundle-v2\n        uses: actions/cache@v4\n        with:\n          path: |\n            packages/solara-vuetify-app/dist\n            packages/solara-vuetify3-app/dist\n          key: ${{ runner.os }}-js-bundle-${{ hashFiles('packages/solara-vuetify-app/**', 'packages/solara-vuetify3-app/**', 'packages/solara-widget-manager/**', 'packages/solara-widget-manager8/src/**') }}\n\n      - name: Build solara widget manager\n        if: steps.cache-js-bundle-v2.outputs.cache-hit != 'true'\n        run: |\n          cd packages/solara-widget-manager\n          npm install\n          npm run build\n          cd ../../\n          cd packages/solara-widget-manager8\n          npm install\n          npm run build\n          cd ../../\n\n      - name: Build solara app package\n        if: steps.cache-js-bundle-v2.outputs.cache-hit != 'true'\n        run: |\n          cd packages/solara-vuetify-app\n          npm install\n          npm run build\n          cd ../../\n          cd packages/solara-vuetify3-app\n          npm install\n          npm run build\n\n      - name: Install build tools\n        run: pip install hatch\n\n      - name: Build solara\n        run: hatch build\n\n      - name: Build solara-assets\n        run: (cd packages/solara-assets; hatch build)\n\n      - name: Build solara-server\n        run: (cd packages/solara-server; hatch build)\n\n      - name: Build pytest-ipywidgets\n        run: (cd packages/pytest-ipywidgets; hatch build)\n\n      - name: Build solara-meta\n        run: (cd packages/solara-meta; hatch build)\n\n      - name: Build solara-enterprise\n        run: (cd packages/solara-enterprise; hatch build)\n\n      - name: Upload Test artifacts\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: solara-builds-${{ github.run_number }}\n          path: |\n            dist\n            packages/solara-assets/dist\n            packages/solara-server/dist\n            packages/solara-meta/dist\n            packages/pytest-ipywidgets/dist\n            packages/solara-enterprise/dist\n            packages/solara-vuetify-app/dist\n            packages/solara-vuetify3-app/dist\n\n  code-quality:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, \"3.9\"]\n    env:\n      LOCK_FILE_LOCATION: .ci-package-locks/code-quality/python${{ matrix.python-version }}.txt\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Prepare\n        id: prepare\n        run: |\n          if [ -f ${{ env.LOCK_FILE_LOCATION }} ]; then\n            echo \"LOCKS_EXIST=true\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"LOCKS_EXIST=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Install without locking versions\n        if: github.event_name == 'schedule' || steps.prepare.outputs.LOCKS_EXIST == 'false'\n        id: install_no_lock\n        run: |\n          mkdir -p .ci-package-locks/code-quality\n          pip install pre-commit\n          pip freeze --exclude solara --exclude solara-enterprise > ${{ env.LOCK_FILE_LOCATION }}\n          git diff --quiet || echo \"HAS_DIFF=true\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Install\n        if: github.event_name != 'schedule' && steps.prepare.outputs.LOCKS_EXIST == 'true'\n        run: pip install -r ${{ env.LOCK_FILE_LOCATION }}\n\n      - name: Install pre-commit\n        run: pre-commit install\n\n      - name: Run pre-commit\n        run: pre-commit run --all-files\n\n      - name: Upload CI package locks\n        if: steps.install_no_lock.outputs.HAS_DIFF == 'true' || steps.prepare.outputs.LOCKS_EXIST == 'false'\n        uses: actions/upload-artifact@v4\n        with:\n          name: ci-package-locks-code-quality-python${{ matrix.python-version }}\n          path: ./**/${{ env.LOCK_FILE_LOCATION }}\n\n  test-install:\n    needs: [build]\n    runs-on: ${{ matrix.os }}-${{(matrix.os == 'ubuntu' && matrix.python == '3.6') && '20.04' || (matrix.os == 'macos' && matrix.python == '3.6') && '13' || 'latest' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu, macos, windows]\n        python: [\"3.6\", \"3.10\"]\n        exclude:\n          - os: windows\n            python: 3.6\n\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n\n      - uses: actions/checkout@v4\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: solara-builds-${{ github.run_number }}\n\n      - name: Debug\n        run: ls -R dist\n\n      - name: Install solara-ui\n        run:\n          pip install dist/*.whl\n\n      - name: Test import\n        run: python -c \"import solara\"\n\n      - name: Install solara-server\n        run:\n          pip install `echo packages/solara-server/dist/*.whl`[starlette]\n\n      - name: Run solara create\n        run: solara create button test.py\n\n      - name: Run solara server\n        run: solara run test.py&\n\n      - name: Wait for Solara server to get online\n        run: |\n          curl --head --retry 35 --retry-connrefused --retry-delay 5 http://localhost:8765\n\n      - name: Install\n        run: pip install packages/solara-enterprise/dist/*.whl\n\n      - name: Test import\n        run: python -c \"import solara_enterprise\"\n\n      - name: Install solara-meta\n        run:\n          pip install packages/solara-meta/dist/*.whl\n\n\n  integration-test:\n    needs: [build]\n    timeout-minutes: 15\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # just ubuntu and windows give enough confidence\n        # osx should work fine (and we test that locally often)\n        os: [ubuntu, windows]\n        # just 1 version, it's heavy\n        python-version: [3.8]\n        ipywidgets_major: [\"7\", \"8\"]\n        include:\n          - ipywidgets_major: \"7\"\n            ipywidgets: \"7.7\"\n          - ipywidgets_major: \"8\"\n            ipywidgets: \"8.0\"\n    env:\n      LOCK_FILE_LOCATION: .ci-package-locks/integration/os${{ matrix.os }}-python${{ matrix.python-version }}-ipywidgets${{ matrix.ipywidgets_major }}.txt\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: solara-builds-${{ github.run_number }}\n\n      - name: Link solara app package\n        run: |\n          cd packages/solara-vuetify-app\n          npm run devlink\n\n      - name: Prepare\n        id: prepare\n        run: |\n          mkdir test-results\n          if [ -f ${{ env.LOCK_FILE_LOCATION }} ]; then\n            echo \"LOCKS_EXIST=true\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"LOCKS_EXIST=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Install without locking versions\n        if: github.event_name == 'schedule' || steps.prepare.outputs.LOCKS_EXIST == 'false'\n        id: install_no_lock\n        run: |\n          mkdir -p .ci-package-locks/integration\n          pip install `echo dist/*.whl`[all]\n          pip install `echo packages/solara-server/dist/*.whl`[all]\n          pip install `echo packages/pytest-ipywidgets/dist/*.whl`[all,ipywidgets${{ matrix.ipywidgets_major }}]\n          pip install `echo packages/solara-meta/dist/*.whl`[dev,documentation]\n          pip install `echo packages/solara-enterprise/dist/*.whl`[ssg,auth]\n          pip install \"jupyterlab<4\"  \"pydantic<2\" \"playwright==1.41.2\" \"ipywidgets~=${{ matrix.ipywidgets }}\"\n          pip freeze --exclude solara --exclude solara-ui --exclude solara-server --exclude pytest-ipywidgets --exclude solara-enterprise > ${{ env.LOCK_FILE_LOCATION }}\n          git diff --quiet || echo \"HAS_DIFF=true\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Install\n        if: github.event_name != 'schedule' && steps.prepare.outputs.LOCKS_EXIST == 'true'\n        run: |\n          pip install -r ${{ env.LOCK_FILE_LOCATION }}\n          pip install `echo dist/*.whl`[all]\n          pip install `echo packages/solara-server/dist/*.whl`[all]\n          pip install `echo packages/pytest-ipywidgets/dist/*.whl`[all,ipywidgets${{ matrix.ipywidgets_major }}]\n          pip install `echo packages/solara-meta/dist/*.whl`[dev,documentation]\n          pip install `echo packages/solara-enterprise/dist/*.whl`[ssg,auth]\n\n      - name: Install playwright\n        run: playwright install\n\n      - name: test\n        if: github.event_name != 'schedule' || steps.install_no_lock.outputs.HAS_DIFF == 'true'\n        env:\n          AUTH0_USERNAME: maartenbreddels+solara-test@gmail.com\n          AUTH0_PASSWORD: ${{ secrets.AUTH0_PASSWORD }}\n          FIEF_USERNAME: maartenbreddels+solara-test@gmail.com\n          FIEF_PASSWORD: ${{ secrets.FIEF_PASSWORD }}\n        # TODO: we used to also run the (cheap) unittests, to get better coverage report, but that gives errors\n        # it seems on CI that the default playwright timeout is not (always?) respected, also, if the --timeout argument\n        # is shorter than the timeout of playwright, we get no good error message, summary: always keep above 30!\n        run: pytest tests/integration --timeout=360 --video=retain-on-failure --output=test-results -vv -s --log-cli-level=warning\n\n      - name: Upload Test artifacts\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-results-integration-os${{ matrix.os }}-python${{ matrix.python-version }}-ipywidgets${{ matrix.ipywidgets_major }}\n          path: test-results\n\n      - name: Upload CI package locks\n        if: steps.install_no_lock.outputs.HAS_DIFF == 'true' || steps.prepare.outputs.LOCKS_EXIST == 'false'\n        uses: actions/upload-artifact@v4\n        with:\n          name: ci-package-locks-integration-os${{ matrix.os }}-python${{ matrix.python-version }}-ipywidgets${{ matrix.ipywidgets_major }}\n          path: ./**/${{ env.LOCK_FILE_LOCATION }}\n\n  integration-test-vue3:\n    needs: [build]\n    timeout-minutes: 15\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        # just ubuntu and windows give enough confidence\n        # osx should work fine (and we test that locally often)\n        os: [ubuntu]\n        # just 1 version, it's heavy\n        python-version: [3.8]\n        ipywidgets_major: [\"8\"]\n        include:\n          - ipywidgets_major: \"8\"\n            ipywidgets: \"8.0\"\n    env:\n      LOCK_FILE_LOCATION: .ci-package-locks/integration-vue3/os${{ matrix.os }}-ipywidgets${{ matrix.ipywidgets_major }}.txt\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: solara-builds-${{ github.run_number }}\n\n      - name: Link solara app package\n        run: |\n          (cd packages/solara-vuetify-app; npm run devlink)\n          (cd packages/solara-vuetify3-app; npm run devlink)\n\n      - name: Prepare\n        id: prepare\n        run: |\n          mkdir test-results\n          if [ -f ${{ env.LOCK_FILE_LOCATION }} ]; then\n            echo \"LOCKS_EXIST=true\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"LOCKS_EXIST=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Install without locking versions\n        id: install_no_lock\n        if: github.event_name == 'schedule' || steps.prepare.outputs.LOCKS_EXIST == 'false'\n        run: |\n          mkdir -p .ci-package-locks/integration-vue3\n          pip install `echo dist/*.whl`[all]\n          pip install `echo packages/solara-server/dist/*.whl`[all]\n          pip install `echo packages/pytest-ipywidgets/dist/*.whl`[all,ipywidgets${{ matrix.ipywidgets_major }}]\n          pip install `echo packages/solara-meta/dist/*.whl`[dev,documentation]\n          pip install `echo packages/solara-enterprise/dist/*.whl`[ssg,auth]\n          pip install \"jupyterlab<4\" \"playwright==1.41.2\" \"pydantic<2\" \"ipywidgets~=${{ matrix.ipywidgets }}\"\n          pip install jupyter_core jupyter-packaging\n          pip install --pre ipyvue ipyvuetify\n          pip freeze --exclude solara --exclude solara-ui --exclude solara-server --exclude pytest-ipywidgets --exclude solara-enterprise > ${{ env.LOCK_FILE_LOCATION }}\n          git diff --quiet || echo \"HAS_DIFF=true\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Install\n        if: github.event_name != 'schedule' && steps.prepare.outputs.LOCKS_EXIST == 'true'\n        run: |\n          pip install -r ${{ env.LOCK_FILE_LOCATION }}\n          pip install `echo dist/*.whl`[all]\n          pip install `echo packages/solara-server/dist/*.whl`[all]\n          pip install `echo packages/pytest-ipywidgets/dist/*.whl`[all,ipywidgets${{ matrix.ipywidgets_major }}]\n          pip install `echo packages/solara-meta/dist/*.whl`[dev,documentation]\n          pip install `echo packages/solara-enterprise/dist/*.whl`[ssg,auth]\n\n      - name: Install playwright\n        run: playwright install\n\n      - name: test\n        if: github.event_name != 'schedule' || steps.install_no_lock.outputs.HAS_DIFF == 'true'\n        env:\n          AUTH0_USERNAME: maartenbreddels+solara-test@gmail.com\n          AUTH0_PASSWORD: ${{ secrets.AUTH0_PASSWORD }}\n          FIEF_USERNAME: maartenbreddels+solara-test@gmail.com\n          FIEF_PASSWORD: ${{ secrets.FIEF_PASSWORD }}\n        # TODO: we used to also run the (cheap) unittests, to get better coverage report, but that gives errors\n        # it seems on CI that the default playwright timeout is not (always?) respected, also, if the --timeout argument\n        # is shorter than the timeout of playwright, we get no good error message, summary: always keep above 30!\n        run: pytest tests/integration/widget_test.py --timeout=360 --video=retain-on-failure --output=test-results -vv -s --log-cli-level=warning\n\n      - name: Upload Test artifacts\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-results-integration-vue3-os${{ matrix.os }}-ipywidgets${{ matrix.ipywidgets_major }}\n          path: test-results\n\n      - name: Upload CI package locks\n        if: steps.install_no_lock.outputs.HAS_DIFF == 'true' || steps.prepare.outputs.LOCKS_EXIST == 'false'\n        uses: actions/upload-artifact@v4\n        with:\n          name: ci-package-locks-integration-vue3-os${{ matrix.os }}-ipywidgets${{ matrix.ipywidgets_major }}\n          path: ./**/${{ env.LOCK_FILE_LOCATION }}\n\n  unit-test:\n    needs: [build]\n    runs-on: ${{ matrix.os }}-${{(matrix.os == 'ubuntu' && matrix.python == '3.6') && '20.04' || (matrix.os == 'macos' && matrix.python == '3.6') && '13' || 'latest' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu, macos, windows]\n        python: [3.6, 3.9]\n        ipywidgets: [\"7.7\", \"8.0\"]\n        exclude:\n          - os: windows\n            python: 3.6\n          - os: ubuntu\n            python: 3.6\n            ipywidgets: \"8.0\"\n          - os: macos\n            python: 3.6\n            ipywidgets: \"8.0\"\n    env:\n      LOCK_FILE_LOCATION: .ci-package-locks/unit/os${{ matrix.os }}-python${{ matrix.python }}-ipywidgets${{ matrix.ipywidgets }}.txt\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: \"pip\"\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: solara-builds-${{ github.run_number }}\n\n      - name: Prepare\n        id: prepare\n        run: |\n          if [ -f ${{ env.LOCK_FILE_LOCATION }} ]; then\n            echo \"LOCKS_EXIST=true\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"LOCKS_EXIST=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Install without locking versions\n        id: install_no_lock\n        if: github.event_name == 'schedule' || steps.prepare.outputs.LOCKS_EXIST == 'false'\n        run: |\n          mkdir -p .ci-package-locks/unit\n          pip install `echo dist/*.whl`[all]\n          pip install `echo packages/solara-server/dist/*.whl`[all]\n          pip install `echo packages/pytest-ipywidgets/dist/*.whl`[all]\n          pip install `echo packages/solara-meta/dist/*.whl`[dev,extra]\n          pip install `echo packages/solara-enterprise/dist/*.whl`[ssg,auth]\n          pip install \"jupyterlab<4\" diskcache redis \"ipywidgets~=${{ matrix.ipywidgets }}\"\n          pip freeze --exclude solara --exclude solara-ui --exclude solara-server --exclude pytest-ipywidgets --exclude solara-enterprise > ${{ env.LOCK_FILE_LOCATION }}\n          git diff --quiet || echo \"HAS_DIFF=true\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Install\n        if: github.event_name != 'schedule' && steps.prepare.outputs.LOCKS_EXIST == 'true'\n        run: |\n          pip install -r ${{ env.LOCK_FILE_LOCATION }}\n          pip install `echo dist/*.whl`[all]\n          pip install `echo packages/solara-server/dist/*.whl`[all]\n          pip install `echo packages/pytest-ipywidgets/dist/*.whl`[all]\n          pip install `echo packages/solara-meta/dist/*.whl`[dev,extra]\n          pip install `echo packages/solara-enterprise/dist/*.whl`[ssg,auth]\n\n      - name: Start Redis\n        if: ( github.event_name != 'schedule' || steps.install_no_lock.outputs.HAS_DIFF == 'true' ) && matrix.os != 'windows'\n        uses: shogo82148/actions-setup-redis@v1\n\n      - name: test\n        if: github.event_name != 'schedule' || steps.install_no_lock.outputs.HAS_DIFF == 'true'\n        run: pytest tests/unit --doctest-modules --timeout=60\n\n      - name: Upload CI package locks\n        if: steps.install_no_lock.outputs.HAS_DIFF == 'true' || steps.prepare.outputs.LOCKS_EXIST == 'false'\n        uses: actions/upload-artifact@v4\n        with:\n          name: ci-package-locks-unit-os${{ matrix.os }}-python${{ matrix.python }}-ipywidgets${{ matrix.ipywidgets }}\n          path: ./**/${{ env.LOCK_FILE_LOCATION }}\n\n  update-ci-package-locks:\n    needs: [build, code-quality, integration-test, integration-test-vue3, unit-test]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.head_ref || github.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name || github.event.repository.full_name }}\n\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: ci-package-locks-*\n          merge-multiple: true\n\n      - name: Prepare\n        id: prepare\n        # We check if lock files have changed. This should only be the case if we are either running on a schedule\n        # or if some lock files did not exist yet.\n        run: |\n          git config user.name 'github-actions[bot]'\n          git config user.email 'github-actions[bot]@users.noreply.github.com'\n\n          git add -N .ci-package-locks\n          git diff --quiet || echo \"HAS_DIFF=true\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Update CI package locks\n        if: steps.prepare.outputs.HAS_DIFF == 'true'\n        run: |\n          git add .ci-package-locks\n          git commit -m \"Update CI package locks\"\n          git push\n\n  release:\n    needs: [build, code-quality, test-install, integration-test, integration-test-vue3, unit-test]\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write  # this permission is mandatory for trusted publishing\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.7\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: solara-builds-${{ github.run_number }}\n\n      - name: Install build tools\n        run: pip install hatch\n\n      - name: Install solara-ui\n        run: pip install dist/*.whl\n\n      - name: Test import solara-ui\n        run: python -c \"import solara\"\n\n      - name: Install solara-server\n        run: pip install `echo packages/solara-server/dist/*.whl`[starlette]\n\n      - name: Test import of solara-server\n        run: python -c \"import solara; import solara.server.starlette\"\n\n      - name: Install solara-enterprise\n        run: pip install packages/solara-enterprise/dist/*.whl\n\n      - name: Test import solara-enterprise\n        run: python -c \"import solara_enterprise\"\n\n      - name: Publish solara-meta to PyPI\n        if: startsWith(github.event.ref, 'refs/tags/v')\n        env:\n          HATCH_INDEX_USER: __token__\n          HATCH_INDEX_AUTH: ${{ secrets.pypi_password }}\n        run: |\n          cd packages/solara-meta\n          openssl sha256 dist/*\n          hatch publish\n          openssl sha256 dist/*\n\n      - name: Publish solara-enterprise to PyPI\n        if: startsWith(github.event.ref, 'refs/tags/v')\n        env:\n          HATCH_INDEX_USER: __token__\n          HATCH_INDEX_AUTH: ${{ secrets.pypi_enterprise }}\n        run: |\n          cd packages/solara-enterprise\n          openssl sha256 dist/*\n          hatch publish\n          openssl sha256 dist/*\n\n      - name: Publish solara-assets to PyPI\n        if: startsWith(github.event.ref, 'refs/tags/v')\n        env:\n          HATCH_INDEX_USER: __token__\n          HATCH_INDEX_AUTH: ${{ secrets.pypi_assets }}\n        run: |\n          cd packages/solara-assets\n          openssl sha256 dist/*\n          hatch publish\n          openssl sha256 dist/*\n\n      - name: Publish solara-ui to PyPI\n        if: startsWith(github.event.ref, 'refs/tags/v')\n        env:\n          HATCH_INDEX_USER: __token__\n          HATCH_INDEX_AUTH: ${{ secrets.pypi_ui }}\n        run: |\n          openssl sha256 dist/*\n          hatch publish\n          openssl sha256 dist/*\n\n      - name: Publish solara-server to PyPI\n        if: startsWith(github.event.ref, 'refs/tags/v')\n        env:\n          HATCH_INDEX_USER: __token__\n          HATCH_INDEX_AUTH: ${{ secrets.pypi_server }}\n        run: |\n          cd packages/solara-server\n          openssl sha256 dist/*\n          hatch publish\n          openssl sha256 dist/*\n\n      - name: Publish package distributions to PyPI\n        if: startsWith(github.event.ref, 'refs/tags/v')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: packages/pytest-ipywidgets/dist\n\n      - name: remove assets\n        run: rm -rf packages/solara-assets/dist\n", "state": "active", "repository": "widgetti/solara"}
{"mined_at": "2024-07-15T17:46:06.500198", "created_at": "2023-10-09T20:11:55+02:00", "updated_at": "2023-10-09T20:11:55+02:00", "name": "check", "path": ".github/workflows/python_package.yml", "contents": "name: check\non:\n  push:\n  pull_request:\n\nconcurrency:\n  group: check-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: test with ${{ matrix.py }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        py:\n          - \"3.11\"\n          - \"3.10\"\n          - \"3.9\"\n        os:\n          - ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Setup python for test ${{ matrix.py }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.py }}\n      - name: Install tox\n        run: python -m pip install -r tests/requirements.txt\n      - name: Run test suite\n        run: tox\n", "state": "active", "repository": "haikuports/haikuporter"}
{"mined_at": "2024-07-15T17:46:08.663473", "created_at": "2023-08-18T11:49:40+02:00", "updated_at": "2023-08-18T11:49:40+02:00", "name": "Check For dead code", "path": ".github/workflows/check_for_dead_code.yml", "contents": "name: Check For dead code\n\non:\n  schedule:\n    # At 09:00 on day 1 of the month, see https://crontab.guru/#0_9_1_*_*\n    - cron: '0 9 1 * *'\n\n  workflow_dispatch:\n\njobs:\n  dead-code-check:\n    runs-on: [ubuntu-latest]\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Git checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: pip\n\n      - name: create venv and install dependencies\n        run: |\n          rm -r /tmp/kazu-env || true\n\n          PIP_CACHE_DIR=$(pip cache dir)\n          echo \"pip cache dir is \"${PIP_CACHE_DIR}\n          python -m venv /tmp/kazu-env\n          . /tmp/kazu-env/bin/activate\n          python -m pip install --upgrade pip\n          pip install --upgrade --upgrade-strategy eager --index-url https://download.pytorch.org/whl/cpu \"torch>=2.0.0\"\n          pip install -e .\"[dev]\"  --cache-dir $PIP_CACHE_DIR --upgrade --upgrade-strategy eager\n      - name: run vulture\n        run: |\n          . /tmp/kazu-env/bin/activate\n          cd $GITHUB_WORKSPACE\n          git ls-files | vulture\n", "state": "active", "repository": "astrazeneca/kazu"}
{"mined_at": "2024-07-15T17:46:09.853942", "created_at": "2023-07-24T10:12:44+02:00", "updated_at": "2023-07-24T10:12:44+02:00", "name": "Deploy GitHub Pages", "path": ".github/workflows/deploy-github-pages.yaml", "contents": "name: Deploy GitHub Pages\non:\n  push:\n    branches: [main]\n\njobs:\n  # Build job\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n    - name: Git checkout\n      uses: actions/checkout@v3\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n        cache: pip\n\n    - name: create venv and install dependencies\n      run: |\n        rm -r /tmp/kazu-env || true\n\n        PIP_CACHE_DIR=$(pip cache dir)\n        echo \"pip cache dir is \"${PIP_CACHE_DIR}\n        python -m venv /tmp/kazu-env\n        . /tmp/kazu-env/bin/activate\n        python -m pip install --upgrade pip\n        pip install --upgrade --upgrade-strategy eager --index-url https://download.pytorch.org/whl/cpu \"torch>=2.0.0\"\n        pip install -e .\"[dev]\" --cache-dir $PIP_CACHE_DIR --upgrade --upgrade-strategy eager\n\n    - name: make sphinx docs\n      # note: we don't make the 'doctest' target, because\n      # we don't have the model pack here. This will have\n      # been done already in the integration tests.\n      run: |\n        . /tmp/kazu-env/bin/activate\n        make -C docs html\n    - name: upload pages artifact\n      uses: actions/upload-pages-artifact@v1\n      with:\n        path: ./docs/_build/html\n\n  # Deploy job\n  deploy:\n    # Add a dependency to the build job\n    needs: build\n\n    # Grant GITHUB_TOKEN the permissions required to make a Pages deployment\n    permissions:\n      pages: write      # to deploy to Pages\n      id-token: write   # to verify the deployment originates from an appropriate source\n\n    # Deploy to the github-pages environment\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    # Specify runner + deployment step\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "astrazeneca/kazu"}
{"mined_at": "2024-07-15T17:46:11.082523", "created_at": "2022-11-22T10:34:03+01:00", "updated_at": "2024-06-04T15:34:53+02:00", "name": "Integration tests", "path": ".github/workflows/integration_test.yml", "contents": "name: Integration tests\n\non:\n  pull_request_review:\n    branches: [ main ]\n    types: [submitted]\n\n  workflow_dispatch:\n\njobs:\n  model-pack-tests:\n    if: github.event.review.state == 'approved' || github.event_name == 'workflow_dispatch'\n    runs-on: [ubuntu-latest]\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Git checkout\n        uses: actions/checkout@v4\n        with:\n          lfs: true\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: pip\n\n      - name: create venv and install dependencies\n        run: |\n          rm -r /tmp/kazu-env || true\n\n          PIP_CACHE_DIR=$(pip cache dir)\n          echo \"pip cache dir is \"${PIP_CACHE_DIR}\n          python -m venv /tmp/kazu-env\n          . /tmp/kazu-env/bin/activate\n          python -m pip install --upgrade pip\n          pip install --upgrade --upgrade-strategy eager --index-url https://download.pytorch.org/whl/cpu \"torch>=2.0.0\"\n          pip install -e .\"[dev]\" --cache-dir $PIP_CACHE_DIR --upgrade --upgrade-strategy eager\n\n      - name: Set up JDK 11\n        uses: actions/setup-java@v3\n        with:\n          java-version: '11'\n          distribution: 'temurin'\n\n# TODO: network issue on gradle DL\n#      - name: Setup and execute Gradle 'test' task\n#        uses: gradle/gradle-build-action@v2\n#        with:\n#          arguments: test\n#          build-root-directory: kazu-jvm/\n\n      - name: Build model pack caches and test\n        id: model_pack_cache_build\n        run: |\n          export BASE_KAZU_CONF_PATH=$GITHUB_WORKSPACE\"/kazu/conf\"\n          # set PYTHONUNBUFFERED so that we see failures in logs before freeze\n          export PYTHONUNBUFFERED=1\n\n          # random suffix to prevent clashes with other runs\n          export MODEL_PACK_BUILD_PATH=$GITHUB_WORKSPACE\"/temp_model_pack_test_dir_\"$RANDOM\n          export KAZU_LOGGING_CONF=$GITHUB_WORKSPACE\"/kazu/utils/model_pack_build_logging.conf\"\n          export KAZU_MODEL_PACK_BUILD_RESOURCES_PATH=$GITHUB_WORKSPACE\"/resources/\"\n\n          mkdir $MODEL_PACK_BUILD_PATH\n\n          . /tmp/kazu-env/bin/activate\n\n          python -m kazu.utils.build_and_test_model_packs \\\n          --base_configuration_path $BASE_KAZU_CONF_PATH \\\n          --model_packs_to_build kazu_model_pack_public \\\n          --model_pack_output_path $MODEL_PACK_BUILD_PATH \\\n          --skip_tests \\\n          --logging_config_path $KAZU_LOGGING_CONF \\\n          --debug\n\n          export KAZU_MODEL_PACK=$(echo $MODEL_PACK_BUILD_PATH/kazu_model_pack_public)\n\n          # skip server tests on runner due to low shared memory.\n          export SKIP_KAZU_SERVER_TESTS=1\n          # skip experimental modules\n          export SKIP_KAZU_EXPERIMENTAL_TESTS=1\n\n\n          # separate out hypothesis and non-hypothesis tests\n          # because the hypothesis cache causes memory to grow significantly and\n          # cause the run to fail.\n          pytest -m \"not hypothesis\"\n          pytest -m \"hypothesis\"\n          # build sphinx html and run doctests\n          # this needs to be after the model pack build because they depend on the\n          # model pack being present for doctests that load the full pipeline.\n          # We've already built the html docs in the pre-commit and docs\n          # check, but doctest can only be done here. It seems worth it to double\n          # check and build the html target while sphinx is running, just in case\n          # it interacts weirdly with the model pack build somehow.\n          make -C docs html doctest\n\n          # need to call twice, for NFS bug\n          rm -r /tmp/kazu-env || true\n          rm -r /tmp/kazu-env || true\n\n          rm -r $MODEL_PACK_BUILD_PATH || true\n          rm -r $MODEL_PACK_BUILD_PATH || true\n", "state": "active", "repository": "astrazeneca/kazu"}
{"mined_at": "2024-07-15T17:46:12.309197", "created_at": "2024-01-29T11:27:36+01:00", "updated_at": "2024-01-29T11:27:36+01:00", "name": "Pre-commit and docs build check", "path": ".github/workflows/precommit_and_docs_build_check.yml", "contents": "name: Pre-commit and docs build check\n\non:\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  pre-commit-and-docs:\n    runs-on: [ubuntu-latest]\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Git checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: pip\n\n      - name: create venv and install dependencies\n        run: |\n          rm -r /tmp/kazu-env || true\n\n          PIP_CACHE_DIR=$(pip cache dir)\n          echo \"pip cache dir is \"${PIP_CACHE_DIR}\n          python -m venv /tmp/kazu-env\n          . /tmp/kazu-env/bin/activate\n          python -m pip install --upgrade pip\n          pip install --upgrade --upgrade-strategy eager --index-url https://download.pytorch.org/whl/cpu \"torch>=2.0.0\"\n          pip install -e .\"[dev]\" --cache-dir $PIP_CACHE_DIR --upgrade --upgrade-strategy eager\n\n      - name: Check precommit\n        run: |\n          . /tmp/kazu-env/bin/activate\n          pre-commit run --all-files\n\n      - name: Check docs build successfully\n        # still run even if the pre-commit fails, so we\n        # have the output on if the docs build succeeded or not\n        if: '!cancelled()'\n        run: |\n          . /tmp/kazu-env/bin/activate\n          make -C docs html\n          # need to call twice, for NFS bug\n          rm -r /tmp/kazu-env || true\n          rm -r /tmp/kazu-env || true\n", "state": "active", "repository": "astrazeneca/kazu"}
{"mined_at": "2024-07-15T17:46:13.396417", "created_at": "2022-11-22T10:34:03+01:00", "updated_at": "2024-06-04T15:34:48+02:00", "name": "Create Release", "path": ".github/workflows/release.yml", "contents": "name: Create Release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: The version to create (semantic versioning, passed to hatch version)\n        required: true\n\njobs:\n  release_new_version:\n    runs-on: [ubuntu-latest]\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Git checkout\n        uses: actions/checkout@v4\n        with:\n          lfs: true\n\n      - name: fetch tags\n        run: |\n          git fetch --prune --tags --prune-tags --force\n          echo exit code $?\n          git tag --list\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: pip\n\n      - name: Set up JDK 11\n        uses: actions/setup-java@v3\n        with:\n          java-version: '11'\n          distribution: 'temurin'\n\n      - name: bump version without commit or tag and build\n        id: build\n        run: |\n          rm -r dist || true\n          pip install hatch\n          echo \"KAZU_OLD_VERSION=$(hatch version)\" >> $GITHUB_ENV\n          hatch version $KAZU_NEW_VERSION_SEGMENT\n          echo \"KAZU_NEW_VERSION=$(hatch version)\" >> $GITHUB_ENV\n\n          # if hatch build is not working, try removing ~/.config/hatch and ~/.local/share/hatch\n          hatch build\n\n          PIP_CACHE_DIR=$(pip cache dir)\n          echo \"pip cache dir is \"${PIP_CACHE_DIR}\n          echo \"PIP_CACHE_DIR=${PIP_CACHE_DIR}\" >> $GITHUB_ENV\n        env:\n          KAZU_NEW_VERSION_SEGMENT: ${{ inputs.version }}\n\n      - name: create venv and install wheel\n        run: |\n          PIP_CACHE_DIR=$(echo \"${{ env.PIP_CACHE_DIR }}\")\n          echo \"pip cache dir is \"${PIP_CACHE_DIR}\n          python -m venv kazu-env\n          . kazu-env/bin/activate\n          python -m pip install --upgrade pip\n          WHEEL_PATH=$(echo $GITHUB_WORKSPACE/dist/*whl)\n          pip install --upgrade --upgrade-strategy eager --index-url https://download.pytorch.org/whl/cpu \"torch>=2.0.0\"\n          pip install \"${WHEEL_PATH}[dev]\" --cache-dir $PIP_CACHE_DIR --upgrade --upgrade-strategy eager\n\n      - name: Check precommit\n        run: |\n          . kazu-env/bin/activate\n          pre-commit run --all-files\n\n      - name: Build model pack caches and test (with acceptance tests)\n        id: model_pack_cache_build_and_test\n        run: |\n\n          export BASE_KAZU_CONF_PATH=$GITHUB_WORKSPACE\"/kazu/conf\"\n          # random suffix to prevent clashes with other runs\n          export MODEL_PACK_BUILD_PATH=$GITHUB_WORKSPACE\"/temp_model_pack_test_dir_\"$RANDOM\n          export KAZU_MODEL_PACK_BUILD_RESOURCES_PATH=$GITHUB_WORKSPACE\"/resources/\"\n\n          mkdir $MODEL_PACK_BUILD_PATH\n\n          . kazu-env/bin/activate\n\n          KAZU_LOGGING_CONF=$GITHUB_WORKSPACE\"/kazu/utils/model_pack_build_logging.conf\"\n\n          python -m kazu.utils.build_and_test_model_packs \\\n          --base_configuration_path $BASE_KAZU_CONF_PATH \\\n          --model_packs_to_build kazu_model_pack_public \\\n          --zip_model_pack \\\n          --logging_config_path $KAZU_LOGGING_CONF \\\n          --model_pack_output_path $MODEL_PACK_BUILD_PATH \\\n          --skip_tests \\\n          --debug\n\n          export KAZU_MODEL_PACK=$(echo $MODEL_PACK_BUILD_PATH/kazu_model_pack_public)\n\n          # we now skip the acceptance tests above and run in a separate process here\n          # since we previously had memory issues on the GitHub runners when trying to\n          # do it all in the same process.\n          python $GITHUB_WORKSPACE/.github/workflows/run_acceptance_tests.py\n\n          # skip server tests on runner due to low shared memory.\n          export SKIP_KAZU_SERVER_TESTS=1\n          # skip experimental modules\n          export SKIP_KAZU_EXPERIMENTAL_TESTS=1\n\n          cd /tmp\n          # separate out hypothesis and non-hypothesis tests\n          # because the hypothesis cache causes memory to grow significantly and\n          # cause the run to fail.\n          pytest -m \"not hypothesis\" $GITHUB_WORKSPACE/kazu/tests\n          pytest -m \"hypothesis\" $GITHUB_WORKSPACE/kazu/tests\n\n          NEW_MODEL_PACK_ZIP=$(echo $MODEL_PACK_BUILD_PATH/*.zip)\n          echo \"NEW_MODEL_PACK_ZIP=${NEW_MODEL_PACK_ZIP}\" >> $GITHUB_ENV\n\n        env:\n          LS_TOKEN: ${{ secrets.LS_TOKEN }}\n          LS_URL_PORT: ${{ secrets.LS_URL_PORT }}\n\n      - name: Build changelogs\n        run: |\n          . kazu-env/bin/activate\n\n          # reset to make sure only the outputs of the next steps are committed\n          cd $GITHUB_WORKSPACE\n          GITHUB_BOT=\"kazu.versionbump@users.noreply.github.com\"\n          git config --global user.name 'Kazu Version Bump'\n          git config --global user.email $GITHUB_BOT\n          git reset --hard\n\n          # first, generate release notes for just this release, to pass\n          # to the gh release command further down\n          current_release_file=\"/tmp/${KAZU_NEW_VERSION}-notes.md\"\n          echo \"CURRENT_RELEASE_FILE=$current_release_file\" >> $GITHUB_ENV\n          python -m towncrier build --draft --version=${KAZU_NEW_VERSION} > $current_release_file\n\n          python -m towncrier build --yes --version=${KAZU_NEW_VERSION}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Bump version with commit and tag, commit, and push\n        run: |\n          cd $GITHUB_WORKSPACE\n\n          hatch version $KAZU_NEW_VERSION_SEGMENT\n          BUMP_MESSAGE=\"Bump version: ${KAZU_OLD_VERSION} → ${KAZU_NEW_VERSION}\"\n          git add -u\n          git commit -m \"${BUMP_MESSAGE}\"\n          KAZU_RELEASE_VERSION=v${KAZU_NEW_VERSION}\n          echo \"KAZU_RELEASE_VERSION=${KAZU_RELEASE_VERSION}\" >> $GITHUB_ENV\n          git tag -a $KAZU_RELEASE_VERSION -m \"${BUMP_MESSAGE}\"\n          git checkout -b releases/$KAZU_RELEASE_VERSION\n          rm -r dist || true\n          . kazu-env/bin/activate\n\n          hatch build --clean\n\n          git push -u origin --follow-tags releases/$KAZU_RELEASE_VERSION\n\n          PR_MERGING_WARNING=\"Make sure to merge using 'create a merge commit' or the tag for the release will no longer point to a commit on main\"\n          PR_ID=$(gh pr create -b main --title \"version bump ${KAZU_NEW_VERSION_SEGMENT}: ${KAZU_OLD_VERSION} -> ${KAZU_RELEASE_VERSION}\" --body \"${PR_MERGING_WARNING}\")\n          # todo: auto merge when we have a solution for this\n          # gh pr merge $PR_ID --admin --rebase\n          NEW_MODEL_PACK_ZIP=$(echo \"${{ env.NEW_MODEL_PACK_ZIP }}\")\n          gh release create $KAZU_RELEASE_VERSION --notes-file $CURRENT_RELEASE_FILE --title $KAZU_RELEASE_VERSION\n          gh release upload $KAZU_RELEASE_VERSION dist/* --clobber\n          gh release upload $KAZU_RELEASE_VERSION $NEW_MODEL_PACK_ZIP --clobber\n          rm -r $NEW_MODEL_PACK_ZIP\n\n        env:\n          KAZU_NEW_VERSION_SEGMENT: ${{ inputs.version }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Push artifacts\n        run: |\n          . kazu-env/bin/activate\n\n          hatch publish --user $ARTIFACT_USERNAME --auth $ARTIFACT_TOKEN --repo $ARTIFACT_PYPI_URL\n          export KAZU_BASE_CONF_ZIP=\"base-conf-\"$(echo \"${{ env.KAZU_RELEASE_VERSION }}\")\".zip\"\n          (cd kazu && zip -r ../${KAZU_BASE_CONF_ZIP} conf )\n          curl -u $ARTIFACT_USERNAME:$ARTIFACT_TOKEN  -T ${KAZU_BASE_CONF_ZIP} \"${ARTIFACT_GENERIC_URL}${KAZU_BASE_CONF_ZIP}\"\n\n        env:\n          ARTIFACT_USERNAME: ${{ secrets.ARTIFACT_USERNAME }}\n          ARTIFACT_TOKEN: ${{ secrets.ARTIFACT_TOKEN }}\n          ARTIFACT_PYPI_URL: ${{ secrets.ARTIFACT_PYPI_URL }}\n          ARTIFACT_GENERIC_URL: ${{ secrets.ARTIFACT_GENERIC_URL }}\n\n      - name: remove temp resources\n        run: |\n          # need to call twice, for NFS bug\n          MODEL_PACK_BUILD_PATH=$(echo \"${{ env.MODEL_PACK_BUILD_PATH }}\")\n          rm -r $MODEL_PACK_BUILD_PATH || true\n          rm -r $MODEL_PACK_BUILD_PATH || true\n", "state": "active", "repository": "astrazeneca/kazu"}
{"mined_at": "2024-07-15T17:46:15.586433", "created_at": "2022-10-10T22:22:03+02:00", "updated_at": "2022-11-30T17:47:45+01:00", "name": "R backfill corrections", "path": ".github/workflows/backfill-corr-ci.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n#\n# See https://github.com/r-lib/actions/tree/master/examples#readme for\n# additional example workflows available for the R community.\n\nname: R backfill corrections\n\non:\n  push:\n    branches: [main, prod]\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n    branches: [main, prod]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.draft == false\n    defaults:\n      run:\n        working-directory: backfill_corrections/delphiBackfillCorrection\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up R 4.2\n        uses: r-lib/actions/setup-r@v2\n        with:\n          use-public-rspm: true\n          r-version: 4.2\n\n      - name: Install and cache dependencies\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        uses: r-lib/actions/setup-r-dependencies@v2\n        with:\n          extra-packages: any::rcmdcheck\n          working-directory: backfill_corrections/delphiBackfillCorrection\n          upgrade: \"TRUE\"\n\n      - name: Check package\n        uses: r-lib/actions/check-r-package@v2\n        with:\n          working-directory: backfill_corrections/delphiBackfillCorrection\n          args: 'c(\"--no-manual\", \"--test-dir=unit-tests\")'\n          error-on: '\"error\"'\n", "state": "active", "repository": "cmu-delphi/covidcast-indicators"}
{"mined_at": "2024-07-15T17:46:16.814785", "created_at": "2021-07-03T01:21:43+02:00", "updated_at": "2023-01-10T20:12:10+01:00", "name": "Build indicator container images and upload to registry", "path": ".github/workflows/build-container-images.yml", "contents": "name: Build indicator container images and upload to registry\n\non:\n  push:\n    branches: [main, prod]\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        packages: [backfill_corrections]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v1\n        with:\n          registry: ghcr.io\n          username: cmu-delphi-deploy-machine\n          password: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_PAT }}\n\n      - name: Build, tag, and push image to Github\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          baseRef=\"${GITHUB_REF#*/}\"\n          baseRef=\"${baseRef#*/}\"\n          case \"${baseRef}\" in\n          main)\n            imageTag=\"dev\"\n            ;;\n          prod)\n            imageTag=\"latest\"\n            ;;\n          *)\n            imageTag=\"${baseRef//\\//_}\" # replace `/` with `_` in branch name\n            ;;\n          esac\n          if [ -z ${{ matrix.packages }} ]; then\n            echo \"The matrix list is empty so we will not build any images.\"\n          else\n            cd ${{ github.workspace }}/${{ matrix.packages }}\n            echo \"using tag: --${imageTag}--\"\n            DOCKER_BUILDKIT=1 BUILDKIT_PROGRESS=plain docker build --secret id=GITHUB_TOKEN -t ghcr.io/${{ github.repository }}-${{ matrix.packages }}:$imageTag --file Dockerfile .\n            docker push ghcr.io/${{ github.repository }}-${{ matrix.packages }}:$imageTag\n          fi\n", "state": "active", "repository": "cmu-delphi/covidcast-indicators"}
{"mined_at": "2024-07-15T17:46:18.045980", "created_at": "2021-08-20T17:45:40+02:00", "updated_at": "2022-12-07T19:08:19+01:00", "name": "Create Release", "path": ".github/workflows/create-release.yml", "contents": "name: Create Release\n\non:\n  workflow_dispatch:\n    inputs:\n      versionName:\n        description: 'Semantic Version Number (i.e., 5.5.0 or patch, minor, major, prepatch, preminor, premajor, prerelease)'\n        required: true\n        default: patch\n\njobs:\n  create-release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n        with:\n          ref: prod\n          ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}\n      - name: Reset prod branch\n        run: |\n          git fetch origin main:main\n          git reset --hard main\n          git config --global user.email delphibot@example.com\n          git config --global user.name \"Delphi Deploy Bot\"\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install bump2version\n        run: python -m pip install bump2version\n      - name: Check for delphi-utils changes\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          base: 'prod'\n          ref: 'main'\n          filters: |\n            utils:\n              - '_delphi_utils_python/**'\n      - name: Bump delphi-utils version\n        id: utils-changed\n        if: steps.changes.outputs.utils == 'true'\n        working-directory: ./_delphi_utils_python\n        run: |\n          echo -n \"::set-output name=version::\"\n          bump2version --list ${{ github.event.inputs.versionName }} | grep ^new_version | sed -r s,\"^.*=\",,\n          echo -e \"\\n::set-output name=msg::(*new*)\"\n      - name: Detect delphi-utils version\n        id: utils-unchanged\n        if: steps.changes.outputs.utils == 'false'\n        working-directory: ./_delphi_utils_python\n        run: |\n          echo -n \"::set-output name=version::\"\n          bump2version --list -n ${{ github.event.inputs.versionName }} | grep ^current_version | sed -r s,\"^.*=\",,\n          echo -e \"\\n::set-output name=msg::(same as it was)\"\n      - name: Bump covidcast-indicators version\n        id: indicators\n        run: |\n          echo -n \"::set-output name=version::\"\n          bump2version --list ${{ github.event.inputs.versionName }} | grep ^new_version | sed -r s,\"^.*=\",,\n      - name: Copy version to indicator directory\n        run: |\n          indicator_list=(\"changehc\" \"claims_hosp\" \"doctor_visits\" \"google_symptoms\" \"hhs_hosp\" \"nchs_mortality\" \"quidel_covidtest\" \"sir_complainsalot\")\n          for path in ${indicator_list[@]}; do\n            echo \"current_version = ${{ steps.indicators.outputs.version }}\" > $path/version.cfg\n          done\n      - name: Create pull request into prod\n        uses: peter-evans/create-pull-request@v3\n        with:\n          branch: release/indicators_v${{ steps.indicators.outputs.version }}_utils_v${{ steps.utils-changed.outputs.version }}${{ steps.utils-unchanged.outputs.version }}\n          base: prod\n          title: Release covidcast-indicators ${{ steps.indicators.outputs.version }}\n          labels: chore\n          reviewers: melange396\n          assignees: melange396\n          body: |\n            Releasing:\n            * covidcast-indicators ${{ steps.indicators.outputs.version }}\n            * delphi-utils ${{ steps.utils-changed.outputs.version }}${{ steps.utils-unchanged.outputs.version }} ${{steps.utils-changed.outputs.msg }}${{ steps.utils-unchanged.outputs.msg }}\n", "state": "active", "repository": "cmu-delphi/covidcast-indicators"}
{"mined_at": "2024-07-15T17:46:19.272374", "created_at": "2023-06-29T00:28:58+02:00", "updated_at": "2023-06-29T20:33:53+02:00", "name": "Dependabot auto-assign reviewer", "path": ".github/workflows/dependabot-assignments.yml", "contents": "name: Dependabot auto-assign reviewer\non: pull_request\n\npermissions:\n  pull-requests: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    env: \n        GH_TOKEN: ${{ secrets.CMU_DELPHI_AUTOMATION_MACHINE_DEPENDABOT_PAT }}\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: Assign team to PR\n        run: gh pr edit \"$PR_URL\" --add-reviewer \"cmu-delphi/code-reviewers\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}", "state": "active", "repository": "cmu-delphi/covidcast-indicators"}
{"mined_at": "2024-07-15T17:46:20.313806", "created_at": "2021-01-18T19:42:03+01:00", "updated_at": "2021-01-18T19:51:14+01:00", "name": "JSON check", "path": ".github/workflows/json-check.yml", "contents": "# This workflow will verify all JSON files in the directory, excluding venv files\n\nname: JSON check\n\non:\n  push:\n    branches: [ main, prod ]\n  pull_request:\n    types: [ opened, synchronize, reopened, ready_for_review ]\n    branches: [ main, prod ]\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    if: github.event.pull_request.draft == false\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Check JSONs\n      run: |\n        python3 -c \"import json; from pathlib import Path\n        for i in Path('.').glob('**/*.json*'):\n            if '/env/' not in str(i):\n                print(i)\n                json.load(open(str(i)))\"", "state": "active", "repository": "cmu-delphi/covidcast-indicators"}
{"mined_at": "2024-07-15T17:46:21.579480", "created_at": "2021-08-20T17:45:40+02:00", "updated_at": "2021-08-20T17:45:40+02:00", "name": "Publish release", "path": ".github/workflows/publish-release.yml", "contents": "name: Publish release\n\non:\n  push:\n    branches: [ prod ]\n  workflow_dispatch:\n\njobs:\n  correct_repository:\n    runs-on: ubuntu-latest\n    steps:\n      - name: fail on fork\n        if: github.repository_owner != 'cmu-delphi'\n        run: exit 1\n\n  check:\n    runs-on: ubuntu-latest\n    needs: correct_repository\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n        with:\n          ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}\n          fetch-depth: 5\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install bump2version\n        run: python -m pip install bump2version\n      - name: Check for delphi-utils changes\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          # when base and ref are the same, changes are detected against the most recent commit before the push.\n          # see https://github.com/dorny/paths-filter#usage for details.\n          base: 'prod'\n          ref: 'prod'\n          filters: |\n            utils:\n              - '_delphi_utils_python/**'\n      - name: Extract indicators version\n        id: indicators\n        run: |\n          echo -n \"::set-output name=version::\"\n          bump2version --dry-run --list patch | grep ^current_version | sed -r s,\"^.*=\",,\n      - name: Tag indicators\n        run: git tag covidcast-indicators/v${{ steps.indicators.outputs.version }}\n      - name: Extract utils version\n        id: utils\n        working-directory: ./_delphi_utils_python\n        run: |\n          echo -n \"::set-output name=version::\"\n          bump2version --dry-run --list patch | grep ^current_version | sed -r s,\"^.*=\",,\n      - name: Tag utils\n        if: ${{ steps.changes.outputs.utils == 'true' }}\n        run: git tag delphi-utils/v${{ steps.utils.outputs.version }}\n      - name: Publish tags\n        run: git push --tags \n    outputs:\n      indicators-version: ${{ steps.indicators.outputs.version }}\n      utils-version: ${{ steps.utils.outputs.version }}\n      publish-utils: ${{ steps.changes.outputs.utils }}\n\n  upload_pypi:\n    needs: check\n    if: ${{ needs.check.outputs.publish-utils == 'true' }}\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: _delphi_utils_python\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install testing dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pylint pytest pydocstyle wheel twine\n      - name: Install\n        run: |\n          make install\n      - name: Release\n        run: |\n          make release\n      - uses: actions/upload-artifact@v2\n        with:\n          name: delphi_utils\n          path: _delphi_utils_python/dist/*.tar.gz\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.DELPHI_PYPI_PROD_TOKEN }}\n          packages_dir: _delphi_utils_python/dist/\n          skip_existing: true\n\n  sync_main:\n    needs: correct_repository\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n        with:\n          ref: main\n          ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }}\n      - name: Reset main branch\n        run: |\n          git fetch origin prod:prod\n          git reset --hard prod\n      - name: Create pull request into main\n        uses: peter-evans/create-pull-request@v3\n        with:\n          token: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_PAT }}\n          branch: bot/sync-prod-main\n          commit-message: 'chore: sync prod-main'\n          base: main\n          title: 'chore: sync prod->main'\n          labels: chore\n          reviewers: melange396\n          assignees: melange396\n          body: |\n            Syncing Prod->Main.\n", "state": "active", "repository": "cmu-delphi/covidcast-indicators"}
{"mined_at": "2024-07-15T17:46:22.633047", "created_at": "2020-11-06T19:52:53+01:00", "updated_at": "2020-11-06T19:52:53+01:00", "name": "Python package", "path": ".github/workflows/python-ci.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [main, prod]\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n    branches: [main, prod]\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    if: github.event.pull_request.draft == false\n    strategy:\n      matrix:\n        include:\n          - package: \"_delphi_utils_python\"\n            dir: \"delphi_utils\"\n          - package: \"changehc\"\n            dir: \"delphi_changehc\"\n          - package: \"claims_hosp\"\n            dir: \"delphi_claims_hosp\"\n          - package: \"doctor_visits\"\n            dir: \"delphi_doctor_visits\"\n          - package: \"google_symptoms\"\n            dir: \"delphi_google_symptoms\"\n          - package: \"hhs_hosp\"\n            dir: \"delphi_hhs\"\n          - package: \"nchs_mortality\"\n            dir: \"delphi_nchs_mortality\"\n          - package: \"nssp\"\n            dir: \"delphi_nssp\"\n          - package: \"nwss_wastewater\"\n            dir: \"delphi_nwss\"\n          - package: \"quidel_covidtest\"\n            dir: \"delphi_quidel_covidtest\"\n          - package: \"sir_complainsalot\"\n            dir: \"delphi_sir_complainsalot\"\n    defaults:\n      run:\n        working-directory: ${{ matrix.package }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n          cache: \"pip\"\n          cache-dependency-path: \"setup.py\"\n      - name: Install testing dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pylint pytest pydocstyle wheel\n      - name: Install\n        run: |\n          make install-ci\n      - name: Lint\n        run: |\n          make lint\n      - name: Test\n        run: |\n          make test\n      - uses: akaihola/darker@v2.1.1\n        with:\n          options: \"--check --diff --isort --color\"\n          src: \"${{ matrix.package }}/${{ matrix.dir }}\"\n          version: \"~=2.1.1\"\n", "state": "active", "repository": "cmu-delphi/covidcast-indicators"}
{"mined_at": "2024-07-15T17:46:24.872607", "created_at": "2022-06-29T17:49:41+02:00", "updated_at": "2022-06-29T19:37:01+02:00", "name": "TESTS-CONDA-ENV", "path": ".github/workflows/tests_conda.yml", "contents": "name: TESTS-CONDA-ENV\n\non:\n  pull_request:\n  push:\n    branches: [master]\n\njobs:\n  run:\n    runs-on: ${{ matrix.os }}\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n        os: [windows-latest, ubuntu-latest, macos-latest]\n        platform: [x64, x32]\n        experimental: [false]\n        exclude:\n          - os: macos-latest  \n            platform: x32\n        include:\n          - python-version: \"3.12\"\n            os: \"ubuntu-latest\"\n            experimental: true\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup micromamba Env\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        create-args: >-\n          python=${{ matrix.python-version }}\n          numpy>1.13.3\n          cython>=0.29.20\n          pytest\n          pytest-cov\n    - name: Install unstable dependencies\n      if: matrix.experimental == true\n      shell: bash -l {0}\n      run: |\n        python -m pip install \\\n        --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/ \\\n        --trusted-host pypi.anaconda.org \\\n        --no-deps --pre --upgrade \\\n        numpy;\n        python -m pip install -v -e  . --no-deps --no-build-isolation --force-reinstall\n\n    - name: Install cftime\n      if: matrix.experimental != true\n      shell: bash -l {0}\n      run: |\n        python -m pip install -v -e  . --no-deps --force-reinstall\n\n    - name: Run Tests\n      shell: bash -l {0}\n      run: |\n        pytest -vv test\n", "state": "active", "repository": "unidata/cftime"}
{"mined_at": "2024-07-15T17:46:25.972174", "created_at": "2022-06-29T19:37:00+02:00", "updated_at": "2022-06-29T19:37:00+02:00", "name": "Build and Deploy docs", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Build and Deploy docs\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Setup Mamba\n      uses: mamba-org/setup-micromamba@v1\n      with:\n        environment-name: TEST\n        create-args: >-\n          python=3\n          numpy>1.13.3\n          sphinx\n\n    - name: Build environment\n      shell: bash -l {0}\n      run: |\n        python -m pip install -e . --no-deps --force-reinstall\n\n    - name: Get the version\n      shell: bash -l {0}\n      id: get_version\n      run: echo \"name=VERSION::$(python setup.py --version)\" >> $GITHUB_OUTPUT\n\n    - name: Build documentation\n      shell: bash -l {0}\n      run: |\n        set -e\n        pushd docs\n        make html linkcheck O=-W\n        popd\n\n    - name: Deploy\n      uses: peaceiris/actions-gh-pages@v4\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: docs/_build/html\n", "state": "active", "repository": "unidata/cftime"}
{"mined_at": "2024-07-15T17:46:26.989632", "created_at": "2022-06-29T19:38:47+02:00", "updated_at": "2022-06-29T19:38:47+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "unidata/cftime"}
{"mined_at": "2024-07-15T17:46:28.067865", "created_at": "2022-09-12T18:31:23+02:00", "updated_at": "2024-04-12T17:39:48+02:00", "name": "Wheels", "path": ".github/workflows/cibuildwheel.yml", "contents": "name: Wheels\n\non:\n  pull_request:\n    branches:\n      - master\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  build_bdist:\n    name: \"Build ${{ matrix.os }} (${{ matrix.arch }}) wheels\"\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60  # should be long enough even on tags, but let's prevent hangs\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: ubuntu-22.04\n            arch: x86_64\n          - os: ubuntu-22.04\n            arch: aarch64\n          - os: windows-2022\n            arch: AMD64\n          - os: macos-14\n            arch: arm64\n          - os: macos-13\n            arch: x86_64\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    # For aarch64 support\n    # https://cibuildwheel.pypa.io/en/stable/faq/#emulation\n    - uses: docker/setup-qemu-action@v3\n      with:\n        platforms: all\n      if: runner.os == 'Linux' && matrix.arch == 'aarch64'\n\n    - name: Build just oldest and newest on PRs, all on tags\n      shell: bash\n      # - Always omit musl 3.8 b/c NumPy does not provide wheels for it\n      # - Always omit musllinux_aarch64 because it's slow and niche\n      # - On PPs, omit musllinux for speed\n      # - On PRs, run just oldest and newest Python versions (and omit 3.8 aarch64)\n      run: |\n        if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then\n          CIBW_SKIP=\"pp* cp36-* cp37-* cp38-musllinux* cp39-* cp310-* cp311-* cp38-*_aarch64 *musllinux*\"\n        else\n          CIBW_SKIP=\"pp* cp36-* cp37-* cp38-musllinux* *musllinux_aarch64\"\n        fi\n        echo \"CIBW_SKIP=$CIBW_SKIP\" >> $GITHUB_ENV\n        echo \"Setting CIBW_SKIP=$CIBW_SKIP\"\n\n    - name: \"Building ${{ matrix.os }} (${{ matrix.arch }}) wheels\"\n      uses: pypa/cibuildwheel@v2.19.1\n      env:\n        # Skips pypy py36,37\n        CIBW_SKIP: ${{ env.CIBW_SKIP }}\n        CIBW_ARCHS: ${{ matrix.arch }}\n        CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014\n        CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014\n        # Emulated testing is slow, so trust that the Python 3.12 test is good enough on aarch64\n        # (takes about 5 minutes per wheel to build, and 5 minutes to test)\n        CIBW_TEST_SKIP: \"cp38-*_aarch64 cp39-*_aarch64 cp310-*_aarch64 cp311-*_aarch64\"\n        CIBW_TEST_REQUIRES: pytest\n        CIBW_TEST_COMMAND: >\n          python -c \"import cftime; print(f'cftime v{cftime.__version__}')\" &&\n          python -m pip install check-manifest cython pytest pytest-cov &&\n          python -m pytest -vv {package}/test\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: pypi-artifacts-${{ matrix.os }}-${{ matrix.arch }}\n        path: ${{ github.workspace }}/wheelhouse/*.whl\n\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Build sdist\n        run: >\n          pip install build\n          && python -m build --sdist . --outdir dist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: pypi-artifacts\n          path: ${{ github.workspace }}/dist/*.tar.gz\n\n  show-artifacts:\n    needs: [build_bdist, build_sdist]\n    name: \"Show artifacts\"\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: pypi-artifacts*\n        path: ${{ github.workspace }}/dist\n        merge-multiple: true\n\n    - shell: bash\n      run: |\n        ls -l ${{ github.workspace }}/dist\n\n\n  publish-artifacts-pypi:\n    needs: [build_bdist, build_sdist]\n    name: \"Publish to PyPI\"\n    runs-on: ubuntu-22.04\n    # upload to PyPI for every tag starting with 'v'\n    if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        pattern: pypi-artifacts*\n        path: ${{ github.workspace }}/dist\n        merge-multiple: true\n\n    - uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_PASSWORD }}\n        print_hash: true\n", "state": "active", "repository": "unidata/cftime"}
{"mined_at": "2024-07-15T17:46:29.236530", "created_at": "2022-06-29T17:49:41+02:00", "updated_at": "2023-10-27T17:09:52+02:00", "name": "Build and test with development python", "path": ".github/workflows/tests_latest.yml", "contents": "name: Build and test with development python\non: [push, pull_request]\njobs:\n  build-linux:\n    name: Python (${{ matrix.python-version }})\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.13.0-alpha.1\"]\n    steps:\n\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Update Pip\n      run: |\n        python -m pip install --upgrade pip\n\n    - name: Install unstable cftime dependencies via pip\n      run: |\n        python -m pip install --pre -r requirements-dev.txt\n        # get nightly wheels for numpy\n        python -m pip install \\\n          --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/ \\\n          --trusted-host pypi.anaconda.org \\\n          --no-deps --pre --upgrade \\\n          numpy\n\n    - name: Install cftime\n      run: |\n        python -m pip install .\n\n    - name: Test cftime\n      run: |\n        pytest -vv test\n", "state": "disabled_manually", "repository": "unidata/cftime"}
{"mined_at": "2024-07-15T17:46:31.254152", "created_at": "2024-04-11T14:31:30+02:00", "updated_at": "2024-07-11T12:45:02+02:00", "name": "Evmone Coverage Report", "path": ".github/workflows/coverage.yaml", "contents": "name: Evmone Coverage Report\n\non:\n  pull_request:\n    paths:\n      - 'converted-ethereum-tests.txt' # This triggers the workflow only for changes in file.txt\n\njobs:\n  evmone-coverage-diff:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        driver: [retesteth, native]\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Fetch target branch\n        run: git fetch origin ${{ github.base_ref }}:refs/remotes/origin/${{ github.base_ref }}\n\n      - name: Install deps\n        run: |\n          echo $(pwd)\n          echo ${{ github.workspace }}\n\n          #install pyspec deps from root repo\n          python3 --version\n          pip install --upgrade pip\n          python3 -m venv ./venv/\n          source ./venv/bin/activate\n          pip install -e .\n          solc-select use 0.8.25 --always-install\n\n      # Required to fill .py tests\n      - name: Build GO EVM\n        uses: ./.github/actions/build-evm\n        id: evm-builder\n        with:\n          type: 'main'\n\n      - name: Build EVMONE EVM\n        uses: ./.github/actions/build-evmone-evm\n        id: evm-builder2\n        with:\n          type: 'main'\n\n      - name: Checkout ethereum/tests\n        uses: actions/checkout@v4\n        with:\n          repository: ethereum/tests\n          path: testpath\n          sparse-checkout: |\n            GeneralStateTests\n            EOFTests\n\n      - name: Checkout ethereum/legacytests\n        uses: actions/checkout@v4\n        with:\n          repository: ethereum/legacytests\n          path: legacytestpath\n          sparse-checkout: |\n            Cancun/GeneralStateTests\n\n\n      # This command diffs the file and filters in new lines\n      - name: Parse converted tests from converted-ethereum-tests.txt\n        run: |\n          echo \"New lines introduced in converted-ethereum-tests.txt:\"\n          lines=$(git diff origin/${{ github.base_ref }} HEAD -- converted-ethereum-tests.txt | grep \"^+\" | grep -v \"^+++\")\n          files=$(echo \"$lines\" | grep -oP '(?<=\\+).+\\.json')\n\n          if [ -z \"$files\" ]; then\n             echo \"Error: No new JSON files found in converted-ethereum-tests.txt\"\n              exit 1\n          fi\n\n          for file in $files; do\n              echo $file\n          done\n          echo \"----------------\"\n          echo \"Discovered existing json tests that will be BASE files:\"\n\n\n          BASE_TESTS_PATH=${{ github.workspace }}/evmtest_coverage/coverage/BASE_TESTS\n          mkdir -p $BASE_TESTS_PATH\n          for file in $files; do\n              # Make sure each file exist at least in develop or legacy tests\n              file_found=0\n              file_path=${{ github.workspace }}/testpath/$file\n              if [ -e \"$file_path\" ]; then\n                file_found=1\n                cp $file_path $BASE_TESTS_PATH\n                echo $file_path\n              fi\n\n              # Do not search EOF files in legacy tests (assuming blockchain files we do not cover yet)\n              if [[ \"$file\" == *\"GeneralStateTests\"* ]]; then\n                  file_path=${{ github.workspace }}/legacytestpath/Cancun/$file\n                  base_name=$(basename \"$file\")\n                  legacy_file_name=\"legacy_$base_name\"\n                  if [ -e \"$file_path\" ]; then\n                    file_found=1\n                    cp $file_path $BASE_TESTS_PATH/$legacy_file_name\n                    echo $file_path\n                  fi\n              fi\n\n              if [ $file_found -eq 0 ]; then\n               echo \"Error: Failed to find the test file $file in test repo\"\n                exit 1\n              fi\n          done\n          \n\n     # This command diffs the .py scripts introduced by a PR\n      - name: Parse and fill introduced test sources\n        run: |\n          python3 -m venv ./venv/\n          source ./venv/bin/activate\n\n          # Fetch the base branch and the head branch\n          git fetch origin ${{ github.base_ref }}:refs/remotes/origin/${{ github.base_ref }}\n          git fetch origin ${{ github.head_ref }}:refs/remotes/origin/${{ github.head_ref }}\n\n          # Perform the diff\n          files=$(git diff --name-status origin/${{ github.base_ref }}...origin/${{ github.head_ref }} -- tests/ | grep -E '^[AM]' | grep '\\.py$')\n\n          echo \"Modified or new .py files in tests folder:\"\n          echo \"$files\" | while read line; do\n            file=$(echo \"$line\" | cut -c 3-)\n            echo $file\n          done\n\n          # fill new tests\n          mkdir -p fixtures/state_tests\n          mkdir -p fixtures/eof_tests\n          echo \"$files\" | while read line; do\n            file=$(echo \"$line\" | cut -c 3-)\n            fill $file --until=Cancun --evm-bin evmone-t8n || true\n            fill $file --fork=CancunEIP7692 --evm-bin evmone-t8n -k eof_test || true\n          done\n\n          filesState=$(find fixtures/state_tests -type f -name \"*.json\")\n          filesEOF=$(find fixtures/eof_tests -type f -name \"*.json\")\n          if [ -z \"$filesState\" ] && [ -z \"$filesEOF\" ]; then\n              echo \"Error: No filled JSON fixtures found in fixtures.\"\n               exit 1\n          fi\n\n          PATCH_TEST_PATH=${{ github.workspace }}/evmtest_coverage/coverage/PATCH_TESTS\n          mkdir -p $PATCH_TEST_PATH\n          find fixtures/state_tests -type f -name \"*.json\" -exec cp {} $PATCH_TEST_PATH \\;\n          find fixtures/eof_tests -type f -name \"*.json\" -exec cp {} $PATCH_TEST_PATH \\;\n\n      - name: Print tests that will be covered\n        run: |\n          echo \"Original BASE tests:\"\n          ls ${{ github.workspace }}/evmtest_coverage/coverage/BASE_TESTS\n          echo \"--------------------\"\n          echo \"Ported PATCH tests:\"\n          ls ${{ github.workspace }}/evmtest_coverage/coverage/PATCH_TESTS\n\n      - name: Run coverage of the BASE tests\n        uses: addnab/docker-run-action@v3\n        with:\n          image: winsvega/evmone-coverage-script:latest\n          options: -v ${{ github.workspace }}/evmtest_coverage/coverage:/tests\n          run: /entrypoint.sh --mode=cover --driver=${{ matrix.driver }} --testpath=/tests/BASE_TESTS --outputname=BASE\n\n      - name: Run coverage of the PATCH tests\n        uses: addnab/docker-run-action@v3\n        with:\n          image: winsvega/evmone-coverage-script:latest\n          options: -v ${{ github.workspace }}/evmtest_coverage/coverage:/tests\n          run: /entrypoint.sh --mode=cover --driver=${{ matrix.driver }} --testpath=/tests/PATCH_TESTS --outputname=PATCH\n\n      - name: Run coverage DIFF of the PATCH tests compared to BASE tests\n        uses: addnab/docker-run-action@v3\n        with:\n          image: winsvega/evmone-coverage-script:latest\n          options: -v ${{ github.workspace }}/evmtest_coverage/coverage:/tests\n          run: /entrypoint.sh --mode=diff --basefile=coverage_BASE.lcov --patchfile=coverage_PATCH.lcov\n\n      - name: Chmod coverage results\n        run: |\n          user=$(whoami)\n          sudo chown -R $user:$user ${{ github.workspace }}/evmtest_coverage/coverage\n\n      - name: Upload coverage results\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-diff\n          path: ${{ github.workspace }}/evmtest_coverage/coverage\n\n      - name: Verify coverage results\n        uses: addnab/docker-run-action@v3\n        with:\n          image: winsvega/evmone-coverage-script:latest\n          options: -v ${{ github.workspace }}/evmtest_coverage/coverage:/tests\n          run: /check.sh\n", "state": "active", "repository": "ethereum/execution-spec-tests"}
{"mined_at": "2024-07-15T17:46:32.483408", "created_at": "2023-06-28T18:22:23+02:00", "updated_at": "2023-09-21T23:48:45+02:00", "name": "Deploy Docs Main", "path": ".github/workflows/docs_main.yaml", "contents": "name: Deploy Docs Main\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    if: github.repository_owner == 'ethereum'  # don't run on forks\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        ssh-key: ${{secrets.GH_ACTIONS_DEPLOY_KEY}}\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .[docs]\n\n    - name: Setup doc deploy\n      run: |\n        git config --global user.name \"github-actions[bot]\"\n        git config --global user.email github-actions[bot]@users.noreply.github.com\n\n    - name: Build and deploy docs to gh-pages\n      run: |\n        mike deploy --update-aliases --push --remote origin main development\n", "state": "active", "repository": "ethereum/execution-spec-tests"}
{"mined_at": "2024-07-15T17:46:33.704718", "created_at": "2023-06-28T18:22:23+02:00", "updated_at": "2023-09-21T23:48:45+02:00", "name": "Deploy Docs Tags", "path": ".github/workflows/docs_tags.yaml", "contents": "name: Deploy Docs Tags\n\non:\n  push:\n    tags:\n      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10, v0.1.1a1\n\njobs:\n  deploy:\n    if: github.repository_owner == 'ethereum'  # don't run on forks\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        ssh-key: ${{secrets.GH_ACTIONS_DEPLOY_KEY}}\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .[docs]\n\n    - name: Setup doc deploy\n      run: |\n        git config --global user.name \"github-actions[bot]\"\n        git config --global user.email github-actions[bot]@users.noreply.github.com\n\n    - name: Build and deploy docs to gh-pages\n      run: |\n        mike deploy --update-aliases --push --remote origin ${{ github.ref_name }} latest\n", "state": "active", "repository": "ethereum/execution-spec-tests"}
{"mined_at": "2024-07-15T17:46:34.752333", "created_at": "2024-06-13T10:40:40+02:00", "updated_at": "2024-06-13T10:40:40+02:00", "name": "Evmone Coverage Report (Native)", "path": ".github/workflows/evmone_coverage_native.yaml", "contents": null, "state": "active", "repository": "ethereum/execution-spec-tests"}
{"mined_at": "2024-07-15T17:46:35.794528", "created_at": "2024-06-13T10:40:39+02:00", "updated_at": "2024-06-13T10:40:39+02:00", "name": "Evmone Coverage Report (Retesteth)", "path": ".github/workflows/evmone_coverage_retesteth.yaml", "contents": null, "state": "active", "repository": "ethereum/execution-spec-tests"}
{"mined_at": "2024-07-15T17:46:36.895393", "created_at": "2023-09-21T18:19:24+02:00", "updated_at": "2024-05-30T23:19:15+02:00", "name": "Build and Package Fixtures", "path": ".github/workflows/fixtures.yaml", "contents": "name: Build and Package Fixtures\n\non:\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+*'\n  workflow_dispatch:\n\njobs:\n  features:\n    runs-on: ubuntu-latest\n    outputs:\n      features: ${{ steps.parse.outputs.features }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get names from configs/feature.yaml\n        id: parse\n        shell: bash\n        run: |\n          echo \"features=$(grep -Po \"^[0-9a-zA-Z_\\-]+\" ./configs/feature.yaml | jq -R . | jq -cs .)\" >> \"$GITHUB_OUTPUT\"\n  build:\n    needs: features\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        name: ${{ fromJson(needs.features.outputs.features) }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n      - uses: ./.github/actions/build-fixtures\n        with:\n          name: ${{ matrix.name }}\n  release:\n    runs-on: ubuntu-latest\n    needs: build\n    if: startsWith(github.ref, 'refs/tags/')\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: .\n      - name: Draft Release\n        uses: softprops/action-gh-release@v2\n        with:\n          files: './**'\n          draft: true\n          generate_release_notes: true\n          fail_on_unmatched_files: true", "state": "active", "repository": "ethereum/execution-spec-tests"}
{"mined_at": "2024-07-15T17:46:37.893782", "created_at": "2024-05-30T23:19:15+02:00", "updated_at": "2024-05-30T23:19:15+02:00", "name": "Build and Package Fixtures for a feature", "path": ".github/workflows/fixtures_feature.yaml", "contents": "name: Build and Package Fixtures for a feature\n\non:\n  push:\n    tags:\n      - '*@v*'\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n      - name: Get feature name\n        id: feature-name\n        shell: bash\n        run: |\n          echo name=${GITHUB_REF_NAME//@*/} >> \"$GITHUB_OUTPUT\"\n      - uses: ./.github/actions/build-fixtures\n        with:\n          name: ${{ steps.feature-name.outputs.name }}\n  release:\n    runs-on: ubuntu-latest\n    needs: build\n    if: startsWith(github.ref, 'refs/tags/')\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: .\n      - name: Draft Pre-release\n        uses: softprops/action-gh-release@v2\n        with:\n          files: './**'\n          draft: true\n          prerelease: true\n          generate_release_notes: true\n          fail_on_unmatched_files: true", "state": "active", "repository": "ethereum/execution-spec-tests"}
{"mined_at": "2024-07-15T17:46:38.891865", "created_at": "2022-10-18T21:05:41+02:00", "updated_at": "2024-06-03T09:50:53+02:00", "name": "Run Tox Verifications", "path": ".github/workflows/test.yaml", "contents": null, "state": "active", "repository": "ethereum/execution-spec-tests"}
{"mined_at": "2024-07-15T17:46:40.027384", "created_at": "2024-03-04T14:50:30+01:00", "updated_at": "2024-03-04T14:50:30+01:00", "name": "Run Tox Verifications", "path": ".github/workflows/tox.yaml", "contents": null, "state": "active", "repository": "ethereum/execution-spec-tests"}
{"mined_at": "2024-07-15T17:46:41.128954", "created_at": "2024-05-31T18:01:42+02:00", "updated_at": "2024-05-31T18:12:52+02:00", "name": "Run Tox Verifications", "path": ".github/workflows/tox_verify.yaml", "contents": "name: Run Tox Verifications\n\non: [push, pull_request, workflow_dispatch]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          - os: ubuntu-latest\n            python: '3.10'\n            evm-type: 'stable'\n            tox-cmd: 'tox run-parallel --parallel-no-spinner'\n          - os: ubuntu-latest\n            python: '3.12'\n            evm-type: 'stable'\n            tox-cmd: 'tox run-parallel --parallel-no-spinner'\n          # Disabled due to unavailable evm implementation for devnet-1\n          # - os: ubuntu-latest\n          #   python: '3.11'\n          #   evm-type: 'develop'\n          #   tox-cmd: 'tox -e tests-develop'\n          # Disabled to not be gated by evmone implementation\n          # - os: ubuntu-latest\n          #   python: '3.11'\n          #   evm-type: 'eip7692'\n          #   tox-cmd: 'tox -e tests-eip7692'\n          - os: macos-latest\n            python: '3.11'\n            evm-type: 'stable'\n            tox-cmd: 'tox run-parallel --parallel-no-spinner'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n      - uses: ./.github/actions/build-evm\n        id: evm-builder\n        with:\n          type: ${{ matrix.evm-type }}\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          allow-prereleases: true\n      - name: Setup Tools/Dependencies Ubuntu\n        if: runner.os == 'Linux'\n        run: |\n          sudo apt-get update && sudo apt-get install -y aspell aspell-en\n      - name: Setup Tools/Dependencies macOS\n        if: runner.os == 'macOS'\n        run: |\n          brew install aspell\n          # Add additional packages on 3.11: https://github.com/ethereum/execution-spec-tests/issues/274\n          if [ ${{ matrix.python }} == '3.11' ]; then brew install autoconf automake libtool; fi\n      - name: Install Tox and any other packages\n        run: pip install tox\n      - name: Run Tox (CPython)\n        run: ${{ matrix.tox-cmd }}\n      - uses: DavidAnson/markdownlint-cli2-action@v16\n        with:\n          globs: |\n            README.md\n            docs/**/*.md\n", "state": "active", "repository": "ethereum/execution-spec-tests"}
{"mined_at": "2024-07-15T17:46:44.463419", "created_at": "2022-03-29T10:03:56+02:00", "updated_at": "2022-08-22T16:27:38+02:00", "name": "build_and_test", "path": ".github/workflows/build.yaml", "contents": "name: build_and_test\n\non:\n  push:\n    branches:\n      - main\n      - lsst-dev\n      - master\n  pull_request:\n\njobs:\n  build_and_test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: \"3.11\"\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          show-channel-urls: true\n          activate-environment: test\n\n      - name: Install dependencies\n        # Might be quicker to install rubin-env plus any necessary additions.\n        shell: bash -l {0}\n        run: |\n          mamba install -y  \"numpy>1.15\" scipy \"matplotlib>3.1\" pandas llvmlite numba \"astropy>=3.2\" \"photutils>=1.7\" astroquery coloredlogs scikit-image>=0.20 h5py emcee tqdm mpi4py schwimmbad \"iminuit>=2\" \"coverage>=3.6\" configparser coveralls deprecated pyyaml \"pytest==8.0.0\" pytest-cov rubin-libradtran \"getCalspec>=2.0.0\"\n          # python -c \"from getCalspec.rebuild import rebuild_tables; rebuild_tables()\"\n          pip install lsst.utils\n          pip install git+https://github.com/LSSTDESC/getObsAtmo.git@main\n          mamba install astrometry\n\n      - name: Download test data\n        shell: bash -l {0}\n        run: |\n          wget -r -q -nc http://data.astrometry.net/5000/index-5002-24.fits\n          wget -r -q -nc http://data.astrometry.net/5000/index-5000-40.fits\n          mv data.astrometry.net/5000/index-*.fits $CONDA_PREFIX/data/\n          export ASTROMETRYNET_DIR=$CONDA_PREFIX\n\n      - name: List installed packages\n        shell: bash -l {0}\n        run: |\n          conda list\n          pip list -v\n\n      - name: Build and install\n        shell: bash -l {0}\n        run: |\n          pip install -v --no-deps -e .\n\n      - name: Run full chain test\n        shell: bash -l {0}\n        run: |\n          pytest tests/test_fullchain.py --log-cli-level=INFO --cov --cov-report lcov\n\n      - name: Run pytests\n        shell: bash -l {0}\n        run: |\n          pytest tests/test_extractor.py --log-cli-level=INFO --cov --cov-append --cov-report lcov\n          pytest tests/test_simulator.py --log-cli-level=INFO --cov --cov-append --cov-report lcov\n          pytest tests/test_utils.py --log-cli-level=INFO --cov --cov-append --cov-report lcov\n          pytest tests/test_fitter.py --log-cli-level=INFO --cov --cov-append --cov-report lcov\n          pytest tests/test_multispectra.py --log-cli-level=INFO --cov --cov-append --cov-report lcov\n\n      - name: Run doctests and coverage\n        shell: bash -l {0}\n        run: pytest spectractor tests/test_fullchain.py -v --cov --cov-append --cov-report lcov --doctest-modules spectractor --doctest-continue-on-failure\n        continue-on-error: true\n      - name: Coveralls\n        uses: coverallsapp/github-action@master\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          path-to-lcov: coverage.lcov\n", "state": "active", "repository": "lsstdesc/spectractor"}
{"mined_at": "2024-07-15T17:46:47.666726", "created_at": "2020-08-14T17:54:33+02:00", "updated_at": "2023-08-14T14:47:32+02:00", "name": "Tests", "path": ".github/workflows/test.yaml", "contents": "name: \"Tests\"\n\non:\n  pull_request:\n    paths:\n      - \".github/workflows/test.yaml\"\n      - \"tests/**\"\n      - \"scripts/**\"\n      - \"src/**\"\n      - \"pyproject.toml\"\n      - \"pytest.ini\"\n  push:\n    branches:\n      - main\n      - develop\n      - release/\\d{4}.\\d{1,2}.\\d{1,2}\n    paths:\n      - \".github/workflows/test.yaml\"\n      - \"tests/**\"\n      - \"scripts/**\"\n      - \"src/**\"\n      - \"pyproject.toml\"\n      - \"pytest.ini\"\n\njobs:\n  test-general:\n    name: \"Pytest\"\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -el {0}\n    strategy:\n      matrix:\n        python-version:\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n      fail-fast: false\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.python-version }}\n      cancel-in-progress: true\n    steps:\n      - name: \"Checkout Infrastructure\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup miniconda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n          channels: conda-forge,defaults\n          activate-environment: nebari-dev\n\n      - name: Install Nebari\n        run: |\n          python --version\n          pip install -e .[dev]\n\n      - name: Test Nebari\n        run: |\n          pytest --version\n          pytest --cov=src --cov-report=xml --cov-config=pyproject.toml tests/tests_unit\n\n      - name: Report Coverage\n        run: |\n          coverage report -m\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:46:48.767062", "created_at": "2020-08-14T17:54:35+02:00", "updated_at": "2022-08-18T17:08:06+02:00", "name": "Test & Publish PyPi release", "path": ".github/workflows/release.yaml", "contents": "name: Test & Publish PyPi release\n\non:\n  release:\n    types: [created]\n\njobs:\n  test-pypi:\n    name: Test PyPi release\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip build\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Create tag\n        # if present, remove leading `v`\n        run: |\n          echo \"NEBARI_TAG=$(git describe --tags | sed 's/^v//')\" >> $GITHUB_ENV\n          echo ${{ env.NEBARI_TAG }}\n\n      - name: Build source and binary\n        run: python -m build --sdist --wheel .\n\n      - name: Publish to test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n\n      - name: Sleep\n        run: sleep 120\n\n      - name: Test install from Test PyPI\n        run: |\n          pip install \\\n          --index-url https://test.pypi.org/simple/ \\\n          --extra-index-url https://pypi.org/simple \\\n          nebari==${{ env.NEBARI_TAG }}\n\n  release-pypi:\n    name: Publish Nebari on PyPi\n    runs-on: ubuntu-latest\n    needs: test-pypi\n    permissions:\n      id-token: write\n      contents: read\n\n    steps:\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip build\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Build source and binary\n        run: python -m build --sdist --wheel .\n\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:46:49.890264", "created_at": "2021-10-22T22:59:34+02:00", "updated_at": "2023-10-26T05:05:05+02:00", "name": "Test Nebari Provider", "path": ".github/workflows/test-provider.yaml", "contents": "# This is only workflow that requires cloud credentials and therefore will not run on PRs coming from forks.\nname: \"Test Nebari Provider\"\n\non:\n  schedule:\n    - cron: \"0 3 * * *\"\n  pull_request:\n    paths:\n      - \".github/workflows/test-provider.yaml\"\n      - \".github/failed-workflow-issue-templates/test-provider.md\"\n      - \".github/actions/publish-from-template\"\n      - \"tests/**\"\n      - \"scripts/**\"\n      - \"src/**\"\n      - \"pyproject.toml\"\n  push:\n    branches:\n      - main\n      - develop\n      - release/\\d{4}.\\d{1,2}.\\d{1,2}\n    paths:\n      - \".github/workflows/test-provider.yaml\"\n      - \"tests/**\"\n      - \"scripts/**\"\n      - \"src/**\"\n      - \"pyproject.toml\"\n  workflow_call:\n    inputs:\n      pr_number:\n        required: true\n        type: string\n\njobs:\n  test-render-providers:\n    # Prevents the execution of this test under the following conditions:\n    # 1. When the 'NO_PROVIDER_CREDENTIALS' GitHub variable is set, indicating the absence of provider credentials.\n    # 2. For pull requests (PRs) originating from a fork, since GitHub does not provide the fork's credentials to the destination repository.\n    # ref. https://github.com/nebari-dev/nebari/issues/2379\n    if: |\n      vars.NO_PROVIDER_CREDENTIALS == '' &&\n      (github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request')\n    name: \"Test Nebari Provider\"\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n      pull-requests: write\n    strategy:\n      matrix:\n        provider:\n          - aws\n          - azure\n          - do\n          - gcp\n          - local\n          - existing\n        cicd:\n          - none\n          - github-actions\n          - gitlab-ci\n      fail-fast: false\n    steps:\n      - name: \"Checkout Infrastructure\"\n        uses: actions/checkout@v4\n\n      - name: Checkout the branch from the PR that triggered the job\n        if: ${{ github.event_name == 'issue_comment' }}\n        run: hub pr checkout ${{ inputs.pr_number }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Retrieve secret from Vault\n        uses: hashicorp/vault-action@v2.5.0\n        with:\n          method: jwt\n          url: \"https://quansight-vault-public-vault-b2379fa7.d415e30e.z1.hashicorp.cloud:8200\"\n          namespace: \"admin/quansight\"\n          role: \"repository-nebari-dev-nebari-role\"\n          secrets: |\n            kv/data/repository/nebari-dev/nebari/amazon_web_services/nebari-dev-ci role_name | AWS_ROLE_ARN;\n            kv/data/repository/nebari-dev/nebari/google_cloud_platform/nebari-dev-ci/github-nebari-dev-repo-ci project_id | PROJECT_ID;\n            kv/data/repository/nebari-dev/nebari/google_cloud_platform/nebari-dev-ci/github-nebari-dev-repo-ci workload_identity_provider | GCP_WORKFLOW_PROVIDER;\n            kv/data/repository/nebari-dev/nebari/google_cloud_platform/nebari-dev-ci/github-nebari-dev-repo-ci service_account_name | GCP_SERVICE_ACCOUNT;\n            kv/data/repository/nebari-dev/nebari/azure/nebari-dev-ci/github-nebari-dev-repo-ci client_id | ARM_CLIENT_ID;\n            kv/data/repository/nebari-dev/nebari/azure/nebari-dev-ci/github-nebari-dev-repo-ci tenant_id | ARM_TENANT_ID;\n            kv/data/repository/nebari-dev/nebari/azure/nebari-dev-ci/github-nebari-dev-repo-ci subscription_id | ARM_SUBSCRIPTION_ID;\n            kv/data/repository/nebari-dev/nebari/shared_secrets DIGITALOCEAN_TOKEN | DIGITALOCEAN_TOKEN;\n            kv/data/repository/nebari-dev/nebari/shared_secrets SPACES_ACCESS_KEY_ID | SPACES_ACCESS_KEY_ID;\n            kv/data/repository/nebari-dev/nebari/shared_secrets SPACES_SECRET_ACCESS_KEY | SPACES_SECRET_ACCESS_KEY;\n\n      - name: 'Authenticate to GCP'\n        if: ${{ matrix.provider == 'gcp' }}\n        uses: 'google-github-actions/auth@v1'\n        with:\n          token_format: access_token\n          create_credentials_file: 'true'\n          workload_identity_provider: ${{ env.GCP_WORKFLOW_PROVIDER }}\n          service_account: ${{ env.GCP_SERVICE_ACCOUNT }}\n\n      - name: Set required environment variables\n        if: ${{ matrix.provider == 'gcp' }}\n        run: |\n          echo \"GOOGLE_CREDENTIALS=${{ env.GOOGLE_APPLICATION_CREDENTIALS }}\" >> $GITHUB_ENV\n\n      - name: 'Authenticate to AWS'\n        if: ${{ matrix.provider == 'aws' }}\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: ${{ env.AWS_ROLE_ARN }}\n          role-session-name: github-action\n          aws-region: us-east-1\n\n      - name: 'Azure login'\n        if: ${{ matrix.provider == 'azure' }}\n        uses: azure/login@v1\n        with:\n          client-id: ${{ env.ARM_CLIENT_ID }}\n          tenant-id: ${{ env.ARM_TENANT_ID }}\n          subscription-id: ${{ env.ARM_SUBSCRIPTION_ID }}\n\n      - name: Install Nebari\n        run: |\n          pip install --upgrade pip\n          pip install .[dev]\n\n      - name: Nebari Initialize\n        run: |\n          nebari init \"${{ matrix.provider }}\" --project \"TestProvider\" --domain \"${{ matrix.provider }}.nebari.dev\" --auth-provider password --disable-prompt --ci-provider ${{ matrix.cicd }}\n          cat \"nebari-config.yaml\"\n\n      - name: Nebari Render\n        run: |\n          nebari render -c \"nebari-config.yaml\" -o \"nebari-${{ matrix.provider }}-${{ matrix.cicd }}-deployment\"\n          cp \"nebari-config.yaml\" \"nebari-${{ matrix.provider }}-${{ matrix.cicd }}-deployment/nebari-config.yaml\"\n\n      - name: Nebari Render Artifact\n        uses: actions/upload-artifact@master\n        with:\n          name: \"nebari-${{ matrix.provider }}-${{ matrix.cicd }}-artifact\"\n          path: \"nebari-${{ matrix.provider }}-${{ matrix.cicd }}-deployment\"\n\n      - if: failure() || github.event_name == 'pull_request'\n        name: Publish information from template\n        uses: ./.github/actions/publish-from-template\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PROVIDER: ${{ matrix.provider }}\n          CICD: ${{ matrix.cicd }}\n        with:\n          filename: .github/failed-workflow-issue-templates/test-provider.md\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:46:51.135538", "created_at": "2022-06-08T14:16:37+02:00", "updated_at": "2023-06-18T15:37:19+02:00", "name": "Infracost CI", "path": ".github/workflows/infracost.yml", "contents": null, "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:46:52.209098", "created_at": "2022-11-30T17:48:30+01:00", "updated_at": "2022-11-30T17:48:30+01:00", "name": "Sync release notes with nebari.dev/docs", "path": ".github/workflows/release-notes-sync.yaml", "contents": "name: Sync release notes with nebari.dev/docs\n\non:\n  release:\n    types: [created]\n  workflow_dispatch:\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@master\n      - name: Run Release File Sync ♻️\n        uses: BetaHuhn/repo-file-sync-action@v1\n        with:\n          GH_PAT: ${{ secrets.NEBARI_SENSEI_API_DOCS_PR_OPENER }}\n          CONFIG_PATH: .github/release-notes-sync-config.yaml\n          COMMIT_BODY: \"MAINT - Sync release notes :robot:\"\n          PR_LABELS: |\n            type: file sync ♻️\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:46:53.285260", "created_at": "2022-12-14T17:37:01+01:00", "updated_at": "2022-12-15T15:55:13+01:00", "name": "Run pre-commit", "path": ".github/workflows/run-precommit.yaml", "contents": "name: Run pre-commit\n\non:\n  push:\n    branches:\n      - main\n      - develop\n      - release/\\d{4}.\\d{1,2}.\\d{1,2}\n  pull_request:\n\njobs:\n  pre-commit:\n    if: github.event.pull_request.merged == false\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Checkout repository 🔔\n        uses: actions/checkout@v4.1.1\n\n      - name: Run terraform pre-commit ⚡️\n        uses: pre-commit/action@v3.0.1\n        with:\n          extra_args: --all-files terraform_fmt\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:46:54.393854", "created_at": "2023-03-14T04:47:06+01:00", "updated_at": "2023-05-26T17:54:51+02:00", "name": "Validate Helm Charts downloads", "path": ".github/workflows/test_helm_charts.yaml", "contents": "# Right now the trigger is set to run on every Monday at 13:00 UTC,\n# or when the workflow file is modified. An aditional manual trigger\n# is also available.\nname: \"Validate Helm Charts downloads\"\n\non:\n  schedule:\n    # Run every Monday at 13:00 UTC\n    - cron: \"0 13 * * 1\"\n  pull_request:\n    paths:\n      - \".github/workflows/test_helm_charts.yaml\"\n      - \"scripts/helm-validate.py\"\n  push:\n    paths:\n      - \".github/workflows/test_helm_charts.yaml\"\n      - \"scripts/helm-validate.py\"\n  workflow_dispatch:\n\njobs:\n  test-helm-charts:\n    name: \"Helm Charts Validation\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Checkout Infrastructure\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install additional Python dependencies\n        run: |\n          pip install python-hcl2\n          pip install tqdm\n      - name: Install nebari\n        run: |\n          pip install .\n      - name: Install Helm\n        run: |\n          curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3\n          chmod 700 get_helm.sh\n          ./get_helm.sh\n      - name: Test Helm installation\n        run: |\n          helm version\n      - name: Test Helm Charts\n        run: |\n          python scripts/helm-validate.py\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:46:55.555837", "created_at": "2023-03-20T15:52:15+01:00", "updated_at": "2023-09-12T21:58:33+02:00", "name": "Update API docs", "path": ".github/workflows/generate_cli_doc.yml", "contents": "name: Update API docs\n\non:\n  pull_request:\n    paths:\n    - \"src/_nebari/subcommands/**\"\n    - \"src/_nebari/cli.py\"\n  push:\n    branches:\n      - main\n    paths:\n    - \"src/_nebari/subcommands/**\"\n    - \"src/_nebari/cli.py\"\n  workflow_dispatch:\n\njobs:\n  update_api:\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n        working-directory: ./docs-sphinx\n    steps:\n      - name: Check out repository 🛎️\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install nebari and docs dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e \"../[docs]\"\n\n      - name: Generate new API docs\n        run: |\n          make html\n\n      - name: Copy cli doc\n        run: |\n          cp _build/html/cli.html cli.html\n\n      - name: Look for changes to generated docs\n        uses: tj-actions/verify-changed-files@v12\n        id: verify-changed-files\n        with:\n          files: |\n            docs-sphinx/cli.html\n\n      - name: Create Pull Request in code repo\n        id: create_pull_request\n        uses: peter-evans/create-pull-request@v4\n        if: steps.verify-changed-files.outputs.files_changed == 'true' && github.event_name != 'pull_request'\n        with:\n          token: ${{ secrets.NEBARI_SENSEI_API_DOCS_PR_OPENER }}\n          commit-message: Update api docs\n          committer: GitHub <noreply@github.com>\n          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n          signoff: false\n          branch: auto_cli_doc_update\n          delete-branch: true\n          title: '[AUTO] Update CLI doc'\n          body: |\n            Update CLI doc\n            - Auto-generated by [create-pull-request][1]\n\n            [1]: https://github.com/peter-evans/create-pull-request\n          labels: |\n            \"area: documentation 📖\"\n          draft: false\n          base: ${{ github.head_ref }}\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:46:56.582293", "created_at": "2023-07-21T01:05:15+02:00", "updated_at": "2023-07-21T11:06:32+02:00", "name": "Deploy on Digital Ocean", "path": ".github/workflows/integration_test.yaml", "contents": null, "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:46:57.775569", "created_at": "2023-09-13T17:34:21+02:00", "updated_at": "2024-05-31T23:32:35+02:00", "name": "AWS Deployment", "path": ".github/workflows/test_aws_integration.yaml", "contents": "name: AWS Deployment\n\non:\n  schedule:\n    - cron: \"0 0 * * MON\"\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Nebari branch to deploy, test, destroy'\n        required: true\n        default: develop\n        type: string\n      image-tag:\n        description: 'Nebari image tag created by the nebari-docker-images repo'\n        required: true\n        default: main\n        type: string\n      tf-log-level:\n        description: 'Change Terraform log levels'\n        required: false\n        default: info\n        type: choice\n        options:\n        - info\n        - warn\n        - debug\n        - trace\n        - error\n\n\nenv:\n  AWS_DEFAULT_REGION: \"us-west-2\"\n  NEBARI_GH_BRANCH: ${{ github.event.inputs.branch || 'develop' }}\n  NEBARI_IMAGE_TAG: ${{ github.event.inputs.image-tag || 'main' }}\n  TF_LOG: ${{ github.event.inputs.tf-log-level || 'info' }}\n\n\njobs:\n  test-aws-integration:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.NEBARI_GH_BRANCH }}\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Install Nebari\n        run: |\n          pip install .[dev]\n          playwright install\n\n      - name: Retrieve secret from Vault\n        uses: hashicorp/vault-action@v2.5.0\n        with:\n          method: jwt\n          url: \"https://quansight-vault-public-vault-b2379fa7.d415e30e.z1.hashicorp.cloud:8200\"\n          namespace: \"admin/quansight\"\n          role: \"repository-nebari-dev-nebari-role\"\n          secrets: |\n            kv/data/repository/nebari-dev/nebari/amazon_web_services/nebari-dev-ci role_name | AWS_ROLE_ARN;\n            kv/data/repository/nebari-dev/nebari/cloudflare/internal-devops@quansight.com/nebari-dev-ci token | CLOUDFLARE_TOKEN;\n\n      - name: Authenticate to AWS\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: ${{ env.AWS_ROLE_ARN }}\n          role-session-name: github-action\n          aws-region: ${{ env.AWS_DEFAULT_REGION }}\n\n      - name: Integration Tests\n        run: |\n          pytest --version\n          pytest tests/tests_integration/ -vvv -s --cloud aws\n        env:\n          NEBARI_SECRET__default_images__jupyterhub: \"quay.io/nebari/nebari-jupyterhub:${{ env.NEBARI_IMAGE_TAG }}\"\n          NEBARI_SECRET__default_images__jupyterlab: \"quay.io/nebari/nebari-jupyterlab:${{ env.NEBARI_IMAGE_TAG }}\"\n          NEBARI_SECRET__default_images__dask_worker: \"quay.io/nebari/nebari-dask-worker:${{ env.NEBARI_IMAGE_TAG }}\"\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:46:58.892618", "created_at": "2023-09-19T16:43:01+02:00", "updated_at": "2024-05-31T23:32:35+02:00", "name": "GCP Deployment", "path": ".github/workflows/test_gcp_integration.yaml", "contents": "name: GCP Deployment\n\non:\n  schedule:\n    - cron: \"0 0 * * MON\"\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Nebari branch to deploy, test, destroy'\n        required: true\n        default: develop\n        type: string\n      image-tag:\n        description: 'Nebari image tag created by the nebari-docker-images repo'\n        required: true\n        default: main\n        type: string\n      tf-log-level:\n        description: 'Change Terraform log levels'\n        required: false\n        default: info\n        type: choice\n        options:\n        - info\n        - warn\n        - debug\n        - trace\n        - error\n\nenv:\n  NEBARI_GH_BRANCH: ${{ github.event.inputs.branch || 'develop' }}\n  NEBARI_IMAGE_TAG: ${{ github.event.inputs.image-tag || 'main' }}\n  TF_LOG: ${{ github.event.inputs.tf-log-level || 'info' }}\n\n\njobs:\n  test-gcp-integration:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n      pull-requests: write\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.NEBARI_GH_BRANCH }}\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Install Nebari\n        run: |\n          pip install .[dev]\n          playwright install\n\n      - name: Retrieve secret from Vault\n        uses: hashicorp/vault-action@v2.5.0\n        with:\n          method: jwt\n          url: \"https://quansight-vault-public-vault-b2379fa7.d415e30e.z1.hashicorp.cloud:8200\"\n          namespace: \"admin/quansight\"\n          role: \"repository-nebari-dev-nebari-role\"\n          secrets: |\n            kv/data/repository/nebari-dev/nebari/google_cloud_platform/nebari-dev-ci/github-nebari-dev-repo-ci project_id | PROJECT_ID;\n            kv/data/repository/nebari-dev/nebari/google_cloud_platform/nebari-dev-ci/github-nebari-dev-repo-ci workload_identity_provider | GCP_WORKFLOW_PROVIDER;\n            kv/data/repository/nebari-dev/nebari/google_cloud_platform/nebari-dev-ci/github-nebari-dev-repo-ci service_account_name | GCP_SERVICE_ACCOUNT;\n            kv/data/repository/nebari-dev/nebari/cloudflare/internal-devops@quansight.com/nebari-dev-ci token | CLOUDFLARE_TOKEN;\n\n      - name: 'Authenticate to GCP'\n        uses: 'google-github-actions/auth@v1'\n        with:\n            token_format: access_token\n            workload_identity_provider: ${{ env.GCP_WORKFLOW_PROVIDER }}\n            service_account: ${{ env.GCP_SERVICE_ACCOUNT }}\n\n      - name: Set required environment variables\n        run: |\n          echo \"GOOGLE_CREDENTIALS=${{ env.GOOGLE_APPLICATION_CREDENTIALS }}\" >> $GITHUB_ENV\n\n      - name: Integration Tests\n        run: |\n          pytest --version\n          pytest tests/tests_integration/ -vvv -s --cloud gcp\n        env:\n          NEBARI_SECRET__default_images__jupyterhub: \"quay.io/nebari/nebari-jupyterhub:${{ env.NEBARI_IMAGE_TAG }}\"\n          NEBARI_SECRET__default_images__jupyterlab: \"quay.io/nebari/nebari-jupyterlab:${{ env.NEBARI_IMAGE_TAG }}\"\n          NEBARI_SECRET__default_images__dask_worker: \"quay.io/nebari/nebari-dask-worker:${{ env.NEBARI_IMAGE_TAG }}\"\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:47:00.022763", "created_at": "2023-10-11T18:51:29+02:00", "updated_at": "2024-05-31T23:32:35+02:00", "name": "Digital Ocean Deployment", "path": ".github/workflows/test_do_integration.yaml", "contents": "name: Digital Ocean Deployment\n\non:\n  schedule:\n    - cron: \"0 0 * * MON\"\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Nebari branch to deploy, test, destroy'\n        required: true\n        default: develop\n        type: string\n      image-tag:\n        description: 'Nebari image tag created by the nebari-docker-images repo'\n        required: true\n        default: main\n        type: string\n      tf-log-level:\n        description: 'Change Terraform log levels'\n        required: false\n        default: info\n        type: choice\n        options:\n        - info\n        - warn\n        - debug\n        - trace\n        - error\n\nenv:\n  NEBARI_GH_BRANCH: ${{ github.event.inputs.branch || 'develop' }}\n  NEBARI_IMAGE_TAG: ${{ github.event.inputs.image-tag || 'main' }}\n  TF_LOG: ${{ github.event.inputs.tf-log-level || 'info' }}\n\n\njobs:\n  test-do-integration:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n      pull-requests: write\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.NEBARI_GH_BRANCH }}\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n            python-version: 3.11\n\n      - name: Install Nebari\n        run: |\n            pip install .[dev]\n            playwright install\n\n      - name: Retrieve secret from Vault\n        uses: hashicorp/vault-action@v2.5.0\n        with:\n          method: jwt\n          url: \"https://quansight-vault-public-vault-b2379fa7.d415e30e.z1.hashicorp.cloud:8200\"\n          namespace: \"admin/quansight\"\n          role: \"repository-nebari-dev-nebari-role\"\n          secrets: |\n            kv/data/repository/nebari-dev/nebari/shared_secrets DIGITALOCEAN_TOKEN | DIGITALOCEAN_TOKEN;\n            kv/data/repository/nebari-dev/nebari/cloudflare/internal-devops@quansight.com/nebari-dev-ci token | CLOUDFLARE_TOKEN;\n\n      - name: Set Environment DO\n        run: |\n          echo \"SPACES_ACCESS_KEY_ID=${{ secrets.SPACES_ACCESS_KEY_ID }}\" >> $GITHUB_ENV\n          echo \"SPACES_SECRET_ACCESS_KEY=${{ secrets.SPACES_SECRET_ACCESS_KEY }}\" >> $GITHUB_ENV\n          echo \"NEBARI_K8S_VERSION\"=1.25.12-do.0 >> $GITHUB_ENV\n\n      - name: Integration Tests\n        run: |\n          pytest --version\n          pytest tests/tests_integration/ -vvv -s --cloud do\n        env:\n            NEBARI_SECRET__default_images__jupyterhub: \"quay.io/nebari/nebari-jupyterhub:${{ env.NEBARI_IMAGE_TAG }}\"\n            NEBARI_SECRET__default_images__jupyterlab: \"quay.io/nebari/nebari-jupyterlab:${{ env.NEBARI_IMAGE_TAG }}\"\n            NEBARI_SECRET__default_images__dask_worker: \"quay.io/nebari/nebari-dask-worker:${{ env.NEBARI_IMAGE_TAG }}\"\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:47:01.054749", "created_at": "2023-10-11T20:19:48+02:00", "updated_at": "2024-05-31T23:32:35+02:00", "name": "Azure Delpoyment", "path": ".github/workflows/test_azure_integration.yaml", "contents": "name: Azure Delpoyment\n\non:\n  schedule:\n    - cron: \"0 0 * * MON\"\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Nebari branch to deploy, test, destroy'\n        required: true\n        default: develop\n        type: string\n      image-tag:\n        description: 'Nebari image tag created by the nebari-docker-images repo'\n        required: true\n        default: main\n        type: string\n      tf-log-level:\n        description: 'Change Terraform log levels'\n        required: false\n        default: info\n        type: choice\n        options:\n        - info\n        - warn\n        - debug\n        - trace\n        - error\n\nenv:\n  NEBARI_GH_BRANCH: ${{ github.event.inputs.branch || 'develop' }}\n  NEBARI_IMAGE_TAG: ${{ github.event.inputs.image-tag || 'main' }}\n  TF_LOG: ${{ github.event.inputs.tf-log-level || 'info' }}\n\njobs:\n  test-azure-integration:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ env.NEBARI_GH_BRANCH }}\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n\n      - name: Install Nebari\n        run: |\n          pip install .[dev]\n          conda install --quiet --yes conda-build\n          playwright install\n\n      - name: Retrieve secret from Vault\n        uses: hashicorp/vault-action@v2.5.0\n        with:\n          method: jwt\n          url: \"https://quansight-vault-public-vault-b2379fa7.d415e30e.z1.hashicorp.cloud:8200\"\n          namespace: \"admin/quansight\"\n          role: \"repository-nebari-dev-nebari-role\"\n          secrets: |\n            kv/data/repository/nebari-dev/nebari/azure/nebari-dev-ci/github-nebari-dev-repo-ci client_id | ARM_CLIENT_ID;\n            kv/data/repository/nebari-dev/nebari/azure/nebari-dev-ci/github-nebari-dev-repo-ci tenant_id | ARM_TENANT_ID;\n            kv/data/repository/nebari-dev/nebari/azure/nebari-dev-ci/github-nebari-dev-repo-ci subscription_id | ARM_SUBSCRIPTION_ID;\n            kv/data/repository/nebari-dev/nebari/cloudflare/internal-devops@quansight.com/nebari-dev-ci token | CLOUDFLARE_TOKEN;\n\n      - name: 'Azure login'\n        uses: azure/login@v2\n        with:\n          client-id: ${{ env.ARM_CLIENT_ID }}\n          tenant-id: ${{ env.ARM_TENANT_ID }}\n          subscription-id: ${{ env.ARM_SUBSCRIPTION_ID }}\n\n      - name: Integration Tests\n        run: |\n          pytest --version\n          pytest tests/tests_integration/ -vvv -s --cloud azure\n        env:\n          NEBARI_SECRET__default_images__jupyterhub: \"quay.io/nebari/nebari-jupyterhub:${{ env.NEBARI_IMAGE_TAG }}\"\n          NEBARI_SECRET__default_images__jupyterlab: \"quay.io/nebari/nebari-jupyterlab:${{ env.NEBARI_IMAGE_TAG }}\"\n          NEBARI_SECRET__default_images__dask_worker: \"quay.io/nebari/nebari-dask-worker:${{ env.NEBARI_IMAGE_TAG }}\"\n          ARM_CLIENT_ID: ${{ env.ARM_CLIENT_ID }}\n          ARM_TENANT_ID: ${{ env.ARM_TENANT_ID }}\n          ARM_SUBSCRIPTION_ID: ${{ env.ARM_SUBSCRIPTION_ID }}\n          ARM_USE_OIDC: \"true\"\n          CLOUDFLARE_TOKEN: ${{ env.CLOUDFLARE_TOKEN }}\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:47:02.280866", "created_at": "2023-10-17T06:13:22+02:00", "updated_at": "2023-10-18T20:10:44+02:00", "name": "Test Conda Build", "path": ".github/workflows/test_conda_build.yaml", "contents": "name: \"Test Conda Build\"\n\non:\n  pull_request:\n    paths:\n      - \".github/workflows/test_conda_build.yaml\"\n      - \"pyproject.toml\"\n  push:\n    branches:\n      - main\n      - develop\n      - release/\\d{4}.\\d{1,2}.\\d{1,2}\n    paths:\n      - \".github/workflows/test_conda_build.yaml\"\n      - \"pyproject.toml\"\n\njobs:\n  test-conda-build:\n    runs-on: ubuntu-latest\n    defaults:\n        run:\n          shell: bash -el {0}\n    concurrency:\n        group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n        cancel-in-progress: true\n    steps:\n      - name: \"Checkout Infrastructure\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup miniconda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: \"3.10\"\n          channels: conda-forge\n          activate-environment: nebari-dev\n\n      - name: Install dependencies\n        run: |\n          conda install build grayskull conda-build conda-verify\n\n      - name: Generate sdist\n        run: |\n          python -m build --sdist\n\n      - name: Generate meta.yaml\n        run: |\n          python -m grayskull pypi dist/*.tar.gz\n\n      - name: Build conda package\n        run: |\n          conda build nebari\n\n      - name: Test conda package\n        run: |\n          conda install --use-local nebari\n          nebari --version\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:47:03.379466", "created_at": "2023-10-18T21:00:43+02:00", "updated_at": "2023-10-20T03:52:41+02:00", "name": "Typing Check", "path": ".github/workflows/typing.yaml", "contents": "name: \"Typing Check\"\n\non:\n  pull_request:\n    paths:\n      - \".github/workflows/typing.yaml\"\n      - \"src/**\"\n      - \"pyproject.toml\"\n  push:\n    branches:\n      - main\n      - develop\n      - release/\\d{4}.\\d{1,2}.\\d{1,2}\n    paths:\n      - \".github/workflows/typing.yaml\"\n      - \"src/**\"\n      - \"pyproject.toml\"\n\njobs:\n  typing-check:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n      cancel-in-progress: true\n    steps:\n      - name: \"Checkout Repository\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pip\"\n\n      - name: Install Nebari and type stubs\n        run: |\n          python --version\n          pip install -e .[dev]\n          pip install types-Pygments types-requests types-six\n\n      - name: Run MyPy\n        continue-on-error: true\n        run: |\n          mypy\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:47:04.533349", "created_at": "2023-10-19T07:24:29+02:00", "updated_at": "2024-01-11T10:31:18+01:00", "name": "Local Integration Tests", "path": ".github/workflows/test_local_integration.yaml", "contents": "name: \"Local Integration Tests\"\n\nenv:\n  TEST_USERNAME: \"test-user\"\n  TEST_PASSWORD: \"P@sswo3d\"\n  NEBARI_IMAGE_TAG: \"main\"\n\non:\n  pull_request:\n    paths:\n      - \".github/workflows/test_local_integration.yaml\"\n      - \"tests/**\"\n      - \"scripts/**\"\n      - \"src/**\"\n      - \"pyproject.toml\"\n      - \"pytest.ini\"\n      - \".cirun.yml\"\n  push:\n    branches:\n      - main\n      - develop\n      - release/\\d{4}.\\d{1,2}.\\d{1,2}\n    paths:\n      - \".github/workflows/test_local_integration.yaml\"\n      - \"tests/**\"\n      - \"scripts/**\"\n      - \"src/**\"\n      - \"pyproject.toml\"\n      - \"pytest.ini\"\n      - \".cirun.yml\"\n  workflow_call:\n    inputs:\n      pr_number:\n        required: true\n        type: string\n  workflow_dispatch:\n\n# When the cancel-in-progress: true option is specified, any concurrent jobs or workflows using the same\n# concurrency group will cancel both the pending and currently running jobs or workflows. This allows only\n# one job or workflow in the concurrency group to be in progress at a time.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  test-local-integration:\n    runs-on: \"cirun-runner--${{ github.run_id }}\"\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: 'Checkout Infrastructure'\n        uses: actions/checkout@main\n        with:\n          fetch-depth: 0\n\n      - name: Checkout the branch from the PR that triggered the job\n        if: ${{ github.event_name == 'issue_comment' }}\n        run: |\n          hub version\n          hub pr checkout ${{ inputs.pr_number }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set up Python\n        uses: conda-incubator/setup-miniconda@v3\n        env:\n          CONDA: /home/runnerx/miniconda3\n        with:\n          auto-update-conda: true\n          python-version: \"3.11\"\n          miniconda-version: \"latest\"\n\n      - name: Install Nebari and playwright\n        run: |\n          pip install .[dev]\n          playwright install\n\n      - uses: azure/setup-kubectl@v4.0.0\n        with:\n          version: v1.19.16\n\n      - name: Enable docker permissions for user\n        run: |\n          sudo docker ps\n          sudo usermod -aG docker $USER && newgrp docker\n\n          docker info\n          docker ps\n\n      - name: Get routing table for docker pods\n        run: |\n          ip route\n\n      - name: Initialize Nebari Cloud\n        run: |\n          mkdir -p local-deployment\n          cd local-deployment\n          nebari init local --project=thisisatest --domain github-actions.nebari.dev --auth-provider=password\n\n          # Need smaller profiles on Local Kind\n          sed -i -E 's/(cpu_guarantee):\\s+[0-9\\.]+/\\1: 0.25/g' \"nebari-config.yaml\"\n          sed -i -E 's/(mem_guarantee):\\s+[A-Za-z0-9\\.]+/\\1: 0.25G/g' \"nebari-config.yaml\"\n\n          # Change default JupyterLab theme\n          cat >> nebari-config.yaml <<- EOM\n          jupyterlab:\n            default_settings:\n              \"@jupyterlab/apputils-extension:themes\":\n                theme: JupyterLab Dark\n          EOM\n\n          # Change default value for minio persistence size\n          cat >> nebari-config.yaml <<- EOM\n          monitoring:\n            enabled: true\n            overrides:\n              minio:\n                persistence:\n                  size: 1Gi\n          EOM\n\n          cat nebari-config.yaml\n\n      - name: Deploy Nebari\n        working-directory: local-deployment\n        run: |\n          nebari deploy --config nebari-config.yaml --disable-prompt\n\n      - name: Basic kubectl checks after deployment\n        if: always()\n        run: |\n          kubectl get all,cm,secret,pv,pvc,ing -A\n\n      - name: Check github-actions.nebari.dev resolves\n        run: |\n          nslookup github-actions.nebari.dev\n\n      - name: Curl jupyterhub login page\n        run: |\n          curl -k https://github-actions.nebari.dev/hub/home -i\n\n      - name: Create example-user\n        working-directory: local-deployment\n        run: |\n          nebari keycloak adduser --user \"${TEST_USERNAME}\" \"${TEST_PASSWORD}\" --config nebari-config.yaml\n          nebari keycloak listusers --config nebari-config.yaml\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - name: Get nebari-config.yaml full path\n        run: echo \"NEBARI_CONFIG_PATH=`realpath ./local-deployment/nebari-config.yaml`\" >> \"$GITHUB_ENV\"\n\n      - name: Cypress run\n        uses: cypress-io/github-action@v6\n        env:\n          CYPRESS_EXAMPLE_USER_NAME: ${{ env.TEST_USERNAME }}\n          CYPRESS_EXAMPLE_USER_PASSWORD: ${{ env.TEST_PASSWORD }}\n          CYPRESS_BASE_URL: https://github-actions.nebari.dev/\n        with:\n          working-directory: tests/tests_e2e\n\n      - name: Playwright Tests\n        env:\n          KEYCLOAK_USERNAME: ${{ env.TEST_USERNAME }}\n          KEYCLOAK_PASSWORD: ${{ env.TEST_PASSWORD }}\n          NEBARI_FULL_URL: https://github-actions.nebari.dev/\n        working-directory: tests/tests_e2e/playwright\n        run: |\n          # create environment file\n          envsubst < .env.tpl > .env\n          # run playwright pytest tests in headed mode with the chromium browser\n          xvfb-run pytest --browser chromium\n\n      - name: Save Cypress screenshots and videos\n        if: always()\n        uses: actions/upload-artifact@v4.3.1\n        with:\n          name: e2e-cypress\n          path: |\n            ./tests/tests_e2e/cypress/screenshots/\n            ./tests/tests_e2e/cypress/videos/\n            ./tests/tests_e2e/playwright/videos/\n\n      - name: Deployment Pytests\n        env:\n          KEYCLOAK_USERNAME: ${{ env.TEST_USERNAME }}\n          KEYCLOAK_PASSWORD: ${{ env.TEST_PASSWORD }}\n        run: |\n          pytest tests/tests_deployment/ -v -s\n\n      ### CLEANUP AFTER TESTS\n      - name: Cleanup nebari deployment\n        # Since this is not critical for most pull requests and takes more than half of the time\n        # in the CI, it makes sense to only run on merge to main or workflow_dispatch to speed\n        # up feedback cycle\n        if: github.ref_name == 'develop' || github.event_name == 'workflow_dispatch'\n        working-directory: local-deployment\n        run: |\n          nebari destroy --config nebari-config.yaml --disable-prompt\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:47:05.664392", "created_at": "2024-05-09T19:32:42+02:00", "updated_at": "2024-05-31T15:58:43+02:00", "name": "Code Scanning", "path": ".github/workflows/trivy.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Code Scanning\n\non:\n  push:\n    branches: [ \"develop\", \"release/*\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"develop\" ]\n  schedule:\n    - cron: '19 23 * * 6'\n\npermissions:\n  contents: read\n\njobs:\n  SAST:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    name: Trivy config Scan\n    runs-on: \"ubuntu-20.04\"\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Run Trivy vulnerability scanner in fs mode\n        uses: aquasecurity/trivy-action@master\n        with:\n          scan-type: 'config'\n          hide-progress: true\n          format: 'sarif'\n          output: 'trivy-results.sarif'\n          ignore-unfixed: true\n          severity: 'CRITICAL,HIGH'\n\n      - name: Upload Trivy scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v3\n        if: always()\n        with:\n          sarif_file: 'trivy-results.sarif'\n", "state": "active", "repository": "nebari-dev/nebari"}
{"mined_at": "2024-07-15T17:47:07.777152", "created_at": "2022-09-15T19:45:07+02:00", "updated_at": "2023-05-11T14:11:29+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n      - '*x'\n    tags:\n      - '*'\n  pull_request:\n  schedule:\n    # Weekly Monday 9AM build\n    - cron: \"2 20 * * 3\"\n\njobs:\n  check:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    with:\n      envs: |\n        - linux: check-style\n  crds_contexts:\n    uses: spacetelescope/crds/.github/workflows/contexts.yml@master\n  test:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    needs: [ crds_contexts ]\n    with:\n      setenv: |\n        CRDS_PATH: /tmp/data/crds_cache/\n        CRDS_SERVER_URL: https://hst-crds.stsci.edu\n        CRDS_CLIENT_RETRY_COUNT: 3\n        CRDS_CLIENT_RETRY_DELAY_SECONDS: 20\n      cache-path: /tmp/data/crds_cache/\n      cache-key: ${{ needs.crds_contexts.outputs.hst }}\n      libraries: |\n        brew:\n          - hdf5\n      envs: |\n        - linux: py310-xdist\n        - linux: py311-xdist\n        - macos: py311-xdist\n        - linux: py3-cov-xdist\n          coverage: codecov\n", "state": "active", "repository": "spacetelescope/drizzlepac"}
{"mined_at": "2024-07-15T17:47:08.872923", "created_at": "2023-03-15T15:06:53+01:00", "updated_at": "2023-03-17T13:54:53+01:00", "name": "Weekly cron", "path": ".github/workflows/ci_cron.yml", "contents": "name: Weekly cron\n\non:\n  schedule:\n    # Weekly Monday 6AM build\n    - cron: \"0 0 * * 1\"\n  workflow_dispatch:\n\njobs:\n  crds_contexts:\n    uses: spacetelescope/crds/.github/workflows/contexts.yml@master\n  test:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    needs: [ crds_contexts ]\n    with:\n      setenv: |\n        CRDS_PATH: /tmp/data/crds_cache/\n        CRDS_SERVER_URL: https://hst-crds.stsci.edu\n        CRDS_CLIENT_RETRY_COUNT: 3\n        CRDS_CLIENT_RETRY_DELAY_SECONDS: 20\n      cache-path: /tmp/data/crds_cache/\n      cache-key: ${{ needs.crds_contexts.outputs.hst }}\n      libraries: |\n        brew:\n          - hdf5\n      envs: |\n        - macos: py310-xdist\n        - macos: py311-xdist\n        - linux: py3-devdeps-xdist\n        - macos: py3-devdeps-xdist\n", "state": "active", "repository": "spacetelescope/drizzlepac"}
{"mined_at": "2024-07-15T17:47:09.981148", "created_at": "2023-10-02T16:36:13+02:00", "updated_at": "2023-10-05T14:52:03+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  release:\n    types: [ released ]\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  build:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1\n    with:\n      upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}\n      targets: |\n        # Linux wheels\n        - cp3*-manylinux_x86_64\n        # MacOS wheels\n        - cp3*-macosx_x86_64\n        # Until we have arm64 runners, we can't automatically test arm64 wheels\n#        - cp3*-macosx_arm64\n      sdist: true\n      test_command: python -c \"from drizzlepac import cdriz\"\n    secrets:\n      pypi_token: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }}\n", "state": "active", "repository": "spacetelescope/drizzlepac"}
{"mined_at": "2024-07-15T17:47:13.347397", "created_at": "2021-07-06T23:51:25+02:00", "updated_at": "2021-07-06T23:51:25+02:00", "name": "Build debian packages for release", "path": ".github/workflows/release-debian.yml", "contents": "name: Build debian packages for release\n\non:\n  push:\n    tags:\n      - '[0-9]+.[0-9]+.[0-9]+'\n\nenv:\n  DEBIAN_FRONTEND: noninteractive\n\njobs:\n  debian-package:\n    name: \"Build debian packages\"\n    runs-on: ubuntu-latest\n    environment:\n      name: \"release\"\n    container:\n      image: \"debian:latest\"\n    steps:\n      - name: Install dependencies\n        run: |\n          apt-get update\n          apt-get -y upgrade\n          apt-get -y install devscripts dpkg-dev debhelper equivs\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Bump version\n        run: |\n          export DEBEMAIL='maintainers@faucet.nz'\n          export DEBFULLNAME='Faucet Maintainers'\n          debchange --newversion \"${GITHUB_REF_NAME}\" -b \"New upstream release\"\n      - name: Build package\n        run: |\n          mk-build-deps -i -r -t 'apt-get -f -y --force-yes'\n          dpkg-buildpackage -b -us -uc -rfakeroot\n      - name: Store package\n        run: |\n          mkdir -p packages/all\n          cp ../*.deb packages/all\n      - name: Publish package on packagecloud\n        uses: faucetsdn/action-packagecloud-upload-debian-packages@v1\n        with:\n          path: packages/\n          repo: faucetsdn/faucet-test\n          token: ${{ secrets.PACKAGECLOUD_TOKEN }}\n", "state": "active", "repository": "faucetsdn/chewie"}
{"mined_at": "2024-07-15T17:47:14.706932", "created_at": "2021-07-06T23:51:25+02:00", "updated_at": "2021-07-06T23:51:25+02:00", "name": "Build docker images for release", "path": ".github/workflows/release-docker.yml", "contents": "name: Build docker images for release\n\non:\n  push:\n    tags:\n      - '[0-9]+.[0-9]+.[0-9]+'\n\njobs:\n  chewie-docker-image:\n    name: \"Build chewie docker image\"\n    runs-on: ubuntu-latest\n    environment:\n      name: \"release\"\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Set up qemu\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: all\n      - name: Set up docker buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          version: latest\n      - name: Login to docker registry\n        run: |\n          docker login --username ${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_TOKEN }}\n      - name: Run buildx\n        run: |\n          docker buildx build \\\n            --tag \"faucet/chewie:${GITHUB_REF_NAME}\" \\\n            --tag faucet/chewie:latest \\\n            --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x \\\n            --output \"type=registry\" \\\n            --file Dockerfile.chewie \\\n            .\n", "state": "active", "repository": "faucetsdn/chewie"}
{"mined_at": "2024-07-15T17:47:15.900522", "created_at": "2021-07-06T23:51:25+02:00", "updated_at": "2021-07-06T23:51:25+02:00", "name": "Build python packages for release", "path": ".github/workflows/release-python.yml", "contents": "name: Build python packages for release\n\non:\n  push:\n    tags:\n      - '[0-9]+.[0-9]+.[0-9]+'\n\nenv:\n  RELEASE_PY_VER: '3.10'\n\njobs:\n  python-package:\n    name: \"Build and publish python packages\"\n    runs-on: ubuntu-latest\n    environment:\n      name: \"release\"\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Set up python-${{ env.RELEASE_PY_VER }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.RELEASE_PY_VER }}\n      - name: Build python package\n        run: python3 setup.py sdist\n      - name: Publish python package to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.9.0\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "faucetsdn/chewie"}
{"mined_at": "2024-07-15T17:47:17.041363", "created_at": "2020-09-13T23:55:06+02:00", "updated_at": "2020-09-13T23:55:06+02:00", "name": "Code health checks", "path": ".github/workflows/tests-codecheck.yml", "contents": "name: Code health checks\n\non: [push, pull_request]\n\nenv:\n  CODECHECK_PY_VER: '3.10'\n\njobs:\n  pylint:\n    name: Pylint\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Set up python-${{ env.CODECHECK_PY_VER }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.CODECHECK_PY_VER }}\n      - name: Install dependencies\n        run: |\n          ./docker/pip_deps.sh --extra-requirements=\"codecheck-requirements.txt\"\n      - name: Run pylint\n        run: |\n          ./test/codecheck/pylint.sh\n\n  pytype:\n    name: Pytype\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10']\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Set up python-${{ env.CODECHECK_PY_VER }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.CODECHECK_PY_VER }}\n      - name: Install dependencies\n        run: |\n          ./docker/pip_deps.sh --extra-requirements=\"codecheck-requirements.txt\"\n      - name: Run pytype\n        run: |\n          PYTHONPATH=. pytype --config setup.cfg chewie\n", "state": "active", "repository": "faucetsdn/chewie"}
{"mined_at": "2024-07-15T17:47:18.153473", "created_at": "2020-09-13T23:55:06+02:00", "updated_at": "2021-07-06T23:51:25+02:00", "name": "Integration tests", "path": ".github/workflows/tests-integration.yml", "contents": "name: Integration tests\n\non: [push, pull_request]\n\njobs:\n  integration-tests:\n    name: Integration tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Integration tests\n        run: |\n          time docker run -t --rm --privileged --cap-add NET_ADMIN -e CHEWIE_ROOT=\"/chewie-src/\" \\\n            -e PIP_INSTALL=1 -v $(pwd):/chewie-src:ro \\\n            faucet/test-base bash /chewie-src/docker/run_integration_tests.sh\n", "state": "active", "repository": "faucetsdn/chewie"}
{"mined_at": "2024-07-15T17:47:19.381944", "created_at": "2020-09-13T23:55:06+02:00", "updated_at": "2021-07-06T23:51:25+02:00", "name": "Unit tests", "path": ".github/workflows/tests-unit.yml", "contents": "name: Unit tests\n\non: [push, pull_request]\n\nenv:\n  CODECOV_PY_VER: '3.10'\n\njobs:\n  unit-tests:\n    name: Unit tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, '3.10', 3.11]\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n      - name: Set up python-${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          ./docker/pip_deps.sh\n      - name: Run unit tests\n        run: |\n          time env PYTHONPATH=. pytest -v --cov=chewie test/unit/test_*.py\n      - if: ${{ matrix.python-version == env.CODECOV_PY_VER }}\n        name: Upload codecov\n        uses: codecov/codecov-action@v4\n", "state": "active", "repository": "faucetsdn/chewie"}
{"mined_at": "2024-07-15T17:47:20.610703", "created_at": "2021-07-19T00:42:42+02:00", "updated_at": "2021-07-29T01:59:13+02:00", "name": "YAML Lint", "path": ".github/workflows/tests-yaml-lint.yml", "contents": "name: YAML Lint\non: [push, pull_request]\njobs:\n  yamllint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: yaml-lint\n      uses: ibiqlik/action-yamllint@v3\n      with:\n        config_data: \"{extends: default, ignore: .github}\"\n", "state": "active", "repository": "faucetsdn/chewie"}
{"mined_at": "2024-07-15T17:47:22.792723", "created_at": "2023-02-08T14:18:52+01:00", "updated_at": "2023-02-08T14:26:48+01:00", "name": "Auto-merge dependabot updates", "path": ".github/workflows/auto-merge-dependabot.yml", "contents": "name: Auto-merge dependabot updates\n\non:\n  pull_request:\n    branches: [main]\n\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  dependabot-merge:\n    runs-on: ubuntu-latest\n\n    if: ${{ github.actor == 'dependabot[bot]' }}\n\n    steps:\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v2.1.0\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n      - name: Enable auto-merge for Dependabot PRs\n        # Only if version bump is not a major version change\n        if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}\n        run: gh pr merge --auto --merge \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "microsoftgraph/msgraph-sdk-python"}
{"mined_at": "2024-07-15T17:47:23.862823", "created_at": "2024-01-11T08:15:44+01:00", "updated_at": "2024-01-11T12:17:00+01:00", "name": "Build and validate generated code", "path": ".github/workflows/build.yml", "contents": "name: Build and validate generated code\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main, dev ]\n  workflow_call:\n\njobs:\n  validate:\n    name: Validate code accuracy\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements-dev.txt\n    - name: Lint with Pylint\n      run: pylint msgraph --disable=W --rcfile=.pylintrc\n\n", "state": "active", "repository": "microsoftgraph/msgraph-sdk-python"}
{"mined_at": "2024-07-15T17:47:25.118229", "created_at": "2023-08-24T23:26:51+02:00", "updated_at": "2023-08-25T00:37:10+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '1 * * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "microsoftgraph/msgraph-sdk-python"}
{"mined_at": "2024-07-15T17:47:26.129689", "created_at": "2023-02-08T14:26:48+01:00", "updated_at": "2023-02-08T14:26:48+01:00", "name": "PullRequestConflicting", "path": ".github/workflows/conflicting-pr-label.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: PullRequestConflicting\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the master branch\non:\n  push:\n    branches: [main]\n  pull_request:\n    types: [synchronize]\n    branches: [main]\n\npermissions:\n  pull-requests: write\n  contents: read\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - name: check if prs are dirty\n        uses: eps1lon/actions-label-merge-conflict@releases/2.x\n        if: env.LABELING_TOKEN != '' && env.LABELING_TOKEN != null\n        id: check\n        with:\n          dirtyLabel: \"conflicting\"\n          repoToken: \"${{ secrets.GITHUB_TOKEN  }}\"\n          continueOnMissingPermissions: true\n          commentOnDirty: \"This pull request has conflicting changes, the author must resolve the conflicts before this pull request can be merged.\"\n          commentOnClean: \"Conflicts have been resolved. A maintainer will take a look shortly.\"\n        env:\n          LABELING_TOKEN: ${{secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "microsoftgraph/msgraph-sdk-python"}
{"mined_at": "2024-07-15T17:47:27.258715", "created_at": "2024-05-08T14:28:34+02:00", "updated_at": "2024-05-08T15:23:06+02:00", "name": "Add Issue or PR to project", "path": ".github/workflows/project-auto-add.yml", "contents": "# This workflow is used to add new issues to GitHub GraphSDKs Project\n\nname: Add Issue or PR to project\non:\n  issues:\n    types:\n      - opened\n  pull_request:\n    types:\n      - opened\n    branches:\n      - \"main\"\n\njobs:\n  track_issue:\n    if: github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate token\n        id: generate_token\n        uses: actions/create-github-app-token@v1\n        with:\n          app-id: ${{ secrets.GRAPHBOT_APP_ID }}\n          private-key: ${{ secrets.GRAPHBOT_APP_PEM }}\n\n      - name: Get project data\n        env:\n          GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}\n          ORGANIZATION: microsoftgraph\n          PROJECT_NUMBER: 55\n        run: |\n          gh api graphql -f query='\n            query($org: String!, $number: Int!) {\n              organization(login: $org){\n                projectV2(number: $number) {\n                  id\n                  fields(first:20) {\n                    nodes {\n                      ... on ProjectV2SingleSelectField {\n                        id\n                        name\n                        options {\n                          id\n                          name\n                        }\n                      }\n                    }\n                  }\n                }\n              }\n            }' -f org=$ORGANIZATION -F number=$PROJECT_NUMBER > project_data.json\n\n          echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV\n          echo 'LANGUAGE_FIELD_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== \"Language\") | .id' project_data.json) >> $GITHUB_ENV\n          echo 'LANGUAGE_OPTION_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== \"Language\") | .options[] | select(.name==\"Python\") |.id' project_data.json) >> $GITHUB_ENV\n\n      - name: Add Issue or PR to project\n        env:\n          GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}\n          ISSUE_ID: ${{ github.event_name == 'issues' && github.event.issue.node_id || github.event.pull_request.node_id }}\n        run: |\n          item_id=\"$( gh api graphql -f query='\n            mutation($project:ID!, $issue:ID!) {\n              addProjectV2ItemById(input: {projectId: $project, contentId: $issue}) {\n                item {\n                  id\n                }\n              }\n            }' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectV2ItemById.item.id')\"\n\n          echo 'ITEM_ID='$item_id >> $GITHUB_ENV\n\n      - name: Set Language\n        env:\n          GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}\n        run: |\n          gh api graphql -f query='\n            mutation (\n              $project: ID!\n              $item: ID!\n              $language_field: ID!\n              $language_value: String!\n            ) {\n              set_status: updateProjectV2ItemFieldValue(input: {\n                projectId: $project\n                itemId: $item\n                fieldId: $language_field\n                value: {singleSelectOptionId: $language_value}\n              }) {\n                projectV2Item {\n                  id\n                  }\n              }\n            }' -f project=$PROJECT_ID -f item=$ITEM_ID -f language_field=$LANGUAGE_FIELD_ID -f language_value=${{ env.LANGUAGE_OPTION_ID }} --silent\n", "state": "active", "repository": "microsoftgraph/msgraph-sdk-python"}
{"mined_at": "2024-07-15T17:47:28.330440", "created_at": "2022-11-23T14:17:17+01:00", "updated_at": "2024-01-11T12:17:00+01:00", "name": "Publish package to PyPI and create release", "path": ".github/workflows/publish.yml", "contents": "name: Publish package to PyPI and create release\n\non:\n  push:\n    tags:\n      - \"v*\" # Push events to matching v*, i.e. v1.0, v20.15.10\n\njobs:\n  build:\n    uses: ./.github/workflows/build.yml\n\n  publish:\n    name: Publish distribution to PyPI\n    runs-on: ubuntu-latest\n    if: startsWith(github.ref, 'refs/tags/v')\n    environment: pypi_prod\n    needs: [build]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n      - name: Install flit\n        run: |\n          pip install flit\n      - name: Publish the distibution to PyPI\n        run: flit publish\n        env:\n          FLIT_INDEX_URL: https://upload.pypi.org/legacy/\n          FLIT_USERNAME: __token__\n          FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "microsoftgraph/msgraph-sdk-python"}
{"mined_at": "2024-07-15T17:47:29.357457", "created_at": "2024-07-15T07:34:25+02:00", "updated_at": "2024-07-15T07:34:25+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "microsoftgraph/msgraph-sdk-python"}
{"mined_at": "2024-07-15T17:47:31.465092", "created_at": "2020-12-15T17:35:39+01:00", "updated_at": "2021-04-22T15:05:21+02:00", "name": "hydropandas", "path": ".github/workflows/ci.yml", "contents": "name: hydropandas\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n      - dev\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      matrix:\n        include:\n          - name: Test suite with py312-ubuntu\n            python: \"3.12\"\n            os: ubuntu-latest\n            toxenv: py312\n          - name: Test suite with py311-ubuntu\n            python: \"3.11\"\n            os: ubuntu-latest\n            toxenv: py311\n          - name: Test suite with py310-ubuntu\n            python: \"3.10\"\n            os: ubuntu-latest\n            toxenv: py310\n          - name: Formatting with black + isort\n            python: \"3.9\"\n            os: ubuntu-latest\n            toxenv: format\n          - name: Linting with flake8 + ruff\n            python: \"3.9\"\n            os: ubuntu-latest\n            toxenv: lint\n          - name: Test suite for notebooks and coverage\n            python: \"3.9\"\n            os: ubuntu-latest\n            toxenv: notebooks\n\n    name: ${{ matrix.name }}\n    env:\n      # Color Output\n      # Rich (pip)\n      FORCE_COLOR: 1\n      # Tox\n      PY_COLORS: 1\n      # Pytest\n      PYTEST_ADDOPTS: \"--color=yes\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          check-latest: true\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox\n\n      - name: Setup tox environment\n        run: tox -e ${{ matrix.toxenv }} --notest\n\n      - name: Test\n        run: tox -e ${{ matrix.toxenv }} --skip-pkg-install\n\n      - name: Run codacy-coverage-reporter\n        if: ${{ matrix.toxenv == 'notebooks' && github.repository == 'ArtesiaWater/hydropandas' && success() }}\n        uses: codacy/codacy-coverage-reporter-action@master\n        with:\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          coverage-reports: coverage.xml\n", "state": "active", "repository": "artesiawater/hydropandas"}
{"mined_at": "2024-07-15T17:47:32.482822", "created_at": "2020-12-15T18:07:39+01:00", "updated_at": "2020-12-15T18:07:39+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build setuptools wheel\n    - name: build binary wheel and a source tarball\n      run: |\n        python -m build --sdist --wheel --outdir dist/\n    - name: Publish a Python distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "artesiawater/hydropandas"}
{"mined_at": "2024-07-15T17:47:34.605502", "created_at": "2023-07-14T12:01:44+02:00", "updated_at": "2023-07-14T12:37:16+02:00", "name": "docker-compose test", "path": ".github/workflows/docker-compose.yaml", "contents": "  name: docker-compose test\n  on:\n    push:\n      branches: [ main ]\n    pull_request:\n      branches: [ \"*\" ]\n\n  jobs:\n    docker:\n      timeout-minutes: 10\n      runs-on: ubuntu-latest\n\n      steps:        \n\n        - name: Checkout\n          uses: actions/checkout@v3\n\n        - name: Where I am?\n          run: | \n            pwd\n            ls -al \n\n        - name: Setup example projects - folder creation\n          run: | \n            cp -R examples example-docker \n\n        - name: Setup example projects - strings replacement\n          run: |\n            bash docker-prepare.sh\n        \n        # permission denied -> obvious :-)\n        #- name: Adds fake hosts\n          #run: | \n            #echo 127.0.0.1   localhost  trust-anchor.org relying-party.org cie-provider.org wallet.trust-anchor.org > /etc/hosts\n\n        - name: Start containers\n          run: docker-compose -f \"docker-compose.yml\" up -d --build\n\n        - name: Stop containers\n          if: always()\n          run: docker-compose -f \"docker-compose.yml\" down\n", "state": "active", "repository": "italia/spid-cie-oidc-django"}
{"mined_at": "2024-07-15T17:47:35.766361", "created_at": "2022-04-02T15:52:50+02:00", "updated_at": "2022-04-02T15:52:50+02:00", "name": "Create and publish a Docker image", "path": ".github/workflows/docker-ghcr-cd.yaml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Create and publish a Docker image\n\non:\n  release:\n    types:\n      - published\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GH_SECRET }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "italia/spid-cie-oidc-django"}
{"mined_at": "2024-07-15T17:47:36.994344", "created_at": "2022-03-16T19:45:13+01:00", "updated_at": "2022-03-16T19:45:13+01:00", "name": "Publish Python distribution to PyPI", "path": ".github/workflows/pypi.yml", "contents": "name: Publish Python distribution to PyPI\non:\n  release:\n    types:\n      - published\n\njobs:\n  build-n-publish:\n    name: Publish Python distribution to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - name: Setup Python 3.8\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n          .\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "italia/spid-cie-oidc-django"}
{"mined_at": "2024-07-15T17:47:38.224213", "created_at": "2022-02-14T18:51:11+01:00", "updated_at": "2022-02-14T18:51:11+01:00", "name": "spid_cie_oidc", "path": ".github/workflows/python-app.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: spid_cie_oidc\n\non:\n  push:\n    branches: '*'\n  pull_request:\n    branches: '*'\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - '3.10'\n          - '3.11'\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install python dependencies\n      run: |\n        # sudo apt update && sudo apt python3-dev python3-pip\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements-dev.txt\n\n    - name: Install Django Bootstrap Italia template\n      run: pip install design-django-theme\n\n    - name: Install spid-cie-oidc\n      run: |\n        pip install -e .\n\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 ./spid_cie_oidc  --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 ./spid_cie_oidc --count --exit-zero --statistics --max-line-length 120\n\n    - name: Bandit Security Scan\n      run: |\n        bandit -r -x tests/ spid_cie_oidc/*\n\n    - name: spid_cie_oidc unit tests\n      run: |\n        cp examples/federation_authority/federation_authority/settingslocal.py.example examples/federation_authority/federation_authority/settingslocal.py\n        coverage erase\n        coverage run examples/federation_authority/manage.py test spid_cie_oidc\n        coverage report -m --skip-covered\n\n    - name: spid_cie_oidc example data imports\n      run: |\n        cp examples/federation_authority/federation_authority/settingslocal.py.example examples/federation_authority/federation_authority/settingslocal.py\n        cd examples/federation_authority/\n        ./manage.py migrate\n        ./manage.py loaddata dumps/example.json\n\n    - uses: paambaati/codeclimate-action@v5.0.0\n      if: always()\n      env:\n        CC_TEST_REPORTER_ID: ${{ secrets.CodeClimate }}\n      with:\n        coverageCommand: coverage xml\n\n    #- name: Upload coverage to Codecov\n      #uses: codecov/codecov-action@v1\n      #with:\n        #token: ${{ secrets.CODECOV_TOKEN }}\n        #file: example/coverage.xml\n        #flags: unittests\n        #env_vars: OS,PYTHON\n        #name: codecov-umbrella\n        #fail_ci_if_error: true\n        #path_to_write_report: ./codecov_report.txt\n        # verbose: true\n", "state": "active", "repository": "italia/spid-cie-oidc-django"}
{"mined_at": "2024-07-15T17:47:41.399195", "created_at": "2023-05-04T19:05:19+02:00", "updated_at": "2023-08-12T04:55:55+02:00", "name": "Check for keywords and GPL license", "path": ".github/workflows/checker.yml", "contents": "name: Check for keywords and GPL license\n\non: push\n\njobs:\n  combined_check:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    - name: Check for keywords and GPL license\n      run: |\n        KEYWORDS=(\"CONFIDENTIAL\" \"PROPRIETARY\")\n\n        GPL_LICENSE_TEXTS=(\"GNU GENERAL PUBLIC LICENSE\" \"GPL\")\n\n        found=0\n        for keyword in \"${KEYWORDS[@]}\"; do\n          if git diff --name-only HEAD~..HEAD | xargs grep -l -i \"$keyword\"\n          then\n            echo \"Error: The keyword \\\"$keyword\\\" was found in the code.\"\n            found=1\n          fi\n        done\n\n        for gpl_text in \"${GPL_LICENSE_TEXTS[@]}\"; do\n          if git diff --name-only HEAD~..HEAD | xargs grep -l -i \"$gpl_text\"\n          then\n            echo \"Error: GPL license text \\\"$gpl_text\\\" was found in the code.\"\n            found=1\n          fi\n        done\n\n        if [ $found -eq 1 ]\n        then\n          echo \"Push rejected due to presence of restricted keywords or GPL licensed code.\"\n          exit 1\n        else\n          echo \"Combined check passed.\"\n          exit 0\n        fi\n", "state": "active", "repository": "feagi/feagi"}
{"mined_at": "2024-07-15T17:47:42.627398", "created_at": "2023-10-09T20:48:00+02:00", "updated_at": "2023-10-16T20:08:00+02:00", "name": "Update FEAGI on Docker Hub", "path": ".github/workflows/docker-image-feagi.yml", "contents": "name: Update FEAGI on Docker Hub\n\non:\n  push:\n    branches:\n      - \"main\"\n    paths:\n      - 'src/**'\n      - 'generate_version.sh'\n\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    if: github.repository == 'feagi/feagi'\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: docker/\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: neuraville/feagi:latest\n", "state": "active", "repository": "feagi/feagi"}
{"mined_at": "2024-07-15T17:47:43.617764", "created_at": "2023-10-13T14:25:16+02:00", "updated_at": "2023-10-13T14:25:16+02:00", "name": "Update Feagi Hub", "path": ".github/workflows/Update_feagi_hub.yml", "contents": null, "state": "active", "repository": "feagi/feagi"}
{"mined_at": "2024-07-15T17:47:44.880435", "created_at": "2023-10-18T00:33:07+02:00", "updated_at": "2023-10-18T00:33:07+02:00", "name": "Contribute to public FEAGI", "path": ".github/workflows/contribute_to_public_feagi.yml", "contents": "name: Contribute to public FEAGI\n\non:\n  workflow_dispatch:\n  push:\n    paths-ignore:\n      - '.github/workflows/**'\n    branches:\n      - pre-pub\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Check out Neuraville code\n      uses: actions/checkout@v4\n      with:\n        repository: Neuraville/feagi\n        ref: pre-pub\n        fetch-depth: 0\n        path: neuraville-feagi\n\n    - name: Generate branch name\n      run: echo \"BRANCH_NAME=neuraville-$(date +'%Y-%m-%d-%H-%M-%S')\" >> $GITHUB_ENV\n\n    - name: Check out Community code\n      uses: actions/checkout@v4\n      with:\n        repository: feagi/feagi\n        ref: staging\n        path: community-feagi\n        token: ${{ secrets.PUBLIC_PAT_MNT }}\n        sparse-checkout: .\n        fetch-depth: 0\n\n\n    - name: Setup Git Identity for Merge\n      run: |\n        cd community-feagi\n        git config user.email \"dev@neuraville.com\"\n        git config user.name \"NeuravilleDeveloper\"\n\n\n    - name: Merge Neuraville code into Community code\n      run: |\n        cd community-feagi\n        git remote add neuraville ../neuraville-feagi\n        git fetch neuraville\n        git merge neuraville/pre-pub --allow-unrelated-histories\n\n    - name: Check for merge conflicts\n      run: |\n        if git diff --name-only --diff-filter=U | grep -q .; then\n          echo \"Merge conflicts detected!\"\n          exit 1\n        fi\n\n    - name: Setup Git with PAT and commit changes\n      run: |\n        cd community-feagi\n        git config user.email \"dev@neuraville.com\"\n        git config user.name \"NeuravilleDeveloper\"\n        git remote | grep public && git remote remove public\n        git remote add public https://github.com/feagi/feagi.git\n        git branch --all\n        git status\n        git checkout $BRANCH_NAME || git checkout -b $BRANCH_NAME\n        git diff --exit-code || git commit -m \"Sync with pre-pub excluding .env and .github directory changes\"\n        git push public ${{ env.BRANCH_NAME }}\n\n    - name: Create PR using GitHub CLI\n      run: |\n        gh auth login --with-token <<< \"${{ secrets.PUBLIC_PAT_MNT }}\"\n        gh pr create \\\n          --repo feagi/feagi \\\n          --base staging \\\n          --head ${{ env.BRANCH_NAME }} \\\n          --title \"Updates from Neuraville Inc\" \\\n          --body \"This PR syncs with latest Neuraville Inc. development code.\"\n      env:\n        GH_CLI_TOKEN: ${{ secrets.PUBLIC_PAT_MNT }}\n", "state": "active", "repository": "feagi/feagi"}
{"mined_at": "2024-07-15T17:47:46.006806", "created_at": "2023-10-18T00:33:07+02:00", "updated_at": "2023-10-18T00:33:07+02:00", "name": "Upload Feagi agent video capture4", "path": ".github/workflows/test_push_to_public_feagi.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Feagi agent video capture4\n\non:\n  workflow_dispatch:\n    branches:\n      - pre-pub\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n    if: github.repository == 'feagi/feagi'\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n        ls -a\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: ${{ secrets.PYPI_USER_TOKEN }}\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "feagi/feagi"}
{"mined_at": "2024-07-15T17:47:47.129606", "created_at": "2023-11-01T20:11:57+01:00", "updated_at": "2023-11-01T20:12:57+01:00", "name": "Code Analysis using PyLint", "path": ".github/workflows/test_pylint.yml", "contents": "name: Code Analysis using PyLint\n\non:\n  push:\n    branches: \n      - staging\n  pull_request:\n    branches: \n      - staging\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      timeout-minutes: 2\n      run: |\n        python setup.py install\n        python -m pip install --upgrade pip\n        pip install pytest pytest-cov pylint\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        export PYTHONPATH=\"$PWD\"\n        cd src && python3 main.py &\n    - name: Analyze code using pylint\n      run: |\n        files=`git diff --name-only --diff-filter=d HEAD^ | grep -E '\\.py$' | tr '\\n' ' '` \n        if [[ $files ]]; then pylint --fail-under=5 $files; fi\n      working-directory: ./\n    - name: Run tests using pytest\n      run: pytest ../tests\n      working-directory: ./src\n", "state": "active", "repository": "feagi/feagi"}
{"mined_at": "2024-07-15T17:47:48.167547", "created_at": "2023-11-01T20:11:57+01:00", "updated_at": "2023-11-23T01:17:19+01:00", "name": "Community FEAGI Mergability Test", "path": ".github/workflows/test_public_mergability.yml", "contents": "name: Community FEAGI Mergability Test\n\non:\n  pull_request:\n    branches:\n      - staging\n\njobs:\n  sync:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Check out PR code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        path: source-branch-code\n\n    - name: Generate branch name\n      run: echo \"BRANCH_NAME=neuraville-$(date +'%Y-%m-%d-%H-%M-%S')\" >> $GITHUB_ENV\n\n    - name: Check out Community code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        repository: feagi/feagi\n        path: community-code\n        token: ${{ secrets.PUBLIC_PAT_MNT }}\n\n    - name: Setup Git Identity for Merge\n      run: |\n        cd community-code\n        git config user.email \"dev@neuraville.com\"\n        git config user.name \"NeuravilleDeveloper\"\n\n\n    - name: Merge code from source branch into Community code\n      run: |\n        cd community-code\n        git remote add neuraville ../source-branch-code\n        git fetch neuraville\n        git merge neuraville/${{ github.head_ref }} --allow-unrelated-histories\n\n    - name: Check for merge conflicts\n      run: |\n        if git diff --name-only --diff-filter=U | grep -q .; then\n          echo \"Merge conflicts detected!\"\n          exit 1\n        fi\n", "state": "active", "repository": "feagi/feagi"}
{"mined_at": "2024-07-15T17:47:49.281355", "created_at": "2023-11-01T22:25:46+01:00", "updated_at": "2023-11-01T22:25:46+01:00", "name": "Update FEAGI versions", "path": ".github/workflows/feagi_version_update.yml", "contents": "name: Update FEAGI versions\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - \"staging\"\n    paths:\n      - 'src/**'\n      - '!src/version.py'\n      - 'generate_version.sh'\n\njobs:\n  feagi_version:\n    runs-on: ubuntu-latest\n    if: github.repository == 'feagi/feagi'\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Merge in New Changes\n        run: |\n          # Set up Git\n          git config --global user.name \"BrainVisualizerPushAction\"\n          git config --global user.email \"BrainVisualizerPushAction@neuraville.com\"\n          git config --global --add safe.directory /__w/brain-visualizer/brain-visualizer\n          echo \"set vars\"\n          git checkout -b temp\n      - name: Update Dockerfile and version\n        run: |\n          export FEAGI_PATH=$(pwd)\n          cd src/\n          bash $FEAGI_PATH/generate_version.sh\n      - name: Push version changes\n        run: |\n          if git ls-remote --heads origin pre-release | grep -q 'pre-release'; then\n            git pull origin pre-release\n          else\n            echo \"pre-release branch does not exist on remote repository. Continuing with the workflow.\"\n          fi\n          git add .\n          git commit -m \"Updated FEAGI Version\"\n          echo \"committed\"\n          if git ls-remote --heads origin pre-release | grep -q 'pre-release'; then\n            git pull origin pre-release\n            git push origin temp:pre-release\n          else\n              git push origin temp:pre-release\n          fi\n", "state": "active", "repository": "feagi/feagi"}
{"mined_at": "2024-07-15T17:47:51.357747", "created_at": "2020-06-26T06:22:18+02:00", "updated_at": "2020-06-26T06:22:18+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "jobs:\n  ci:\n    name: CI\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/ci.yml@main\n    with:\n      package: asyncpraw\nname: CI\non: [ pull_request, push ]\npermissions: read-all\n", "state": "active", "repository": "praw-dev/asyncpraw"}
{"mined_at": "2024-07-15T17:47:52.414300", "created_at": "2023-10-01T22:13:38+02:00", "updated_at": "2024-06-12T20:06:30+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "jobs:\n  analyze:\n    name: Analyze\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{matrix.language}}\"\nname: \"CodeQL\"\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    branches: [ \"master\" ]\n  schedule:\n    - cron: 30 1 * * 6\n", "state": "disabled_manually", "repository": "praw-dev/asyncpraw"}
{"mined_at": "2024-07-15T17:47:53.421132", "created_at": "2021-11-14T01:55:51+01:00", "updated_at": "2021-11-14T01:55:51+01:00", "name": "Manual Tag Release", "path": ".github/workflows/manual_tag_release.yml", "contents": "jobs:\n  manual_tag_release:\n    name: Manual Tag Release\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/manual_tag_release.yml@main\n    with:\n      commit: ${{ inputs.commit }}\nname: Manual Tag Release\non:\n  workflow_dispatch:\n    inputs:\n      commit:\n        description: The commit the version bump occurred\n        required: true\npermissions:\n  contents: write\n", "state": "active", "repository": "praw-dev/asyncpraw"}
{"mined_at": "2024-07-15T17:47:54.494812", "created_at": "2021-11-01T20:04:38+01:00", "updated_at": "2023-09-18T17:17:36+02:00", "name": "Update pre-commit hooks", "path": ".github/workflows/pre-commit_autoupdate.yml", "contents": "jobs:\n  pre-commit_autoupdate:\n    name: Update pre-commit hooks\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/pre-commit_autoupdate.yml@main\nname: Update pre-commit hooks\non:\n  schedule:\n    - cron: 0 15 * * 1\n  workflow_dispatch:\npermissions:\n  contents: write\n  pull-requests: write\n", "state": "active", "repository": "praw-dev/asyncpraw"}
{"mined_at": "2024-07-15T17:47:55.482541", "created_at": "2021-02-08T05:49:22+01:00", "updated_at": "2021-02-08T05:49:22+01:00", "name": "Prepare Release", "path": ".github/workflows/prepare_release.yml", "contents": "jobs:\n  prepare_release:\n    name: Prepare Release\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/prepare_release.yml@main\n    with:\n      version: ${{ inputs.version }}\nname: Prepare Release\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: The version to prepare for release\n        required: true\npermissions:\n  contents: read\n  pull-requests: write\n", "state": "active", "repository": "praw-dev/asyncpraw"}
{"mined_at": "2024-07-15T17:47:56.586767", "created_at": "2023-01-08T23:29:04+01:00", "updated_at": "2023-10-01T23:51:23+02:00", "name": "Upload Python Package", "path": ".github/workflows/pypi.yml", "contents": "jobs:\n  pypi-publish:\n    environment: release\n    name: Upload release to PyPI\n    permissions:\n      id-token: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: python -m build\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\nname: Upload Python Package\non:\n  release:\n    types: [ published ]\n", "state": "active", "repository": "praw-dev/asyncpraw"}
{"mined_at": "2024-07-15T17:47:57.674339", "created_at": "2022-06-11T21:42:31+02:00", "updated_at": "2022-06-11T21:42:31+02:00", "name": "Scorecards supply-chain security", "path": ".github/workflows/scorecards-analysis.yml", "contents": "jobs:\n  analysis:\n    name: Scorecards analysis\n    permissions:\n      actions: read\n      contents: read\n      id-token: write\n      security-events: write\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0\n        with:\n          persist-credentials: false\n      - name: Run analysis\n        uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}\n          publish_results: true\n      - name: Upload artifact\n        uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n      - name: Upload to code-scanning\n        uses: github/codeql-action/upload-sarif@5f532563584d71fdef14ee64d17bafb34f751ce5 # v1.0.26\n        with:\n          sarif_file: results.sarif\nname: Scorecards supply-chain security\non:\n  branch_protection_rule:\n  push:\n    branches: [ master ]\n  schedule:\n    - cron: 30 1 * * 6\npermissions: read-all\n", "state": "active", "repository": "praw-dev/asyncpraw"}
{"mined_at": "2024-07-15T17:47:58.924478", "created_at": "2023-01-08T23:29:04+01:00", "updated_at": "2023-01-08T23:29:04+01:00", "name": "Set Active Docs", "path": ".github/workflows/set_active_docs.yml", "contents": "jobs:\n  set_active_docs:\n    name: Set Active Docs\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/set_active_docs.yml@main\nname: Set Active Docs\non:\n  release:\n    types: [ published ]\npermissions:\n  contents: read\n", "state": "active", "repository": "praw-dev/asyncpraw"}
{"mined_at": "2024-07-15T17:47:59.886678", "created_at": "2023-01-08T23:29:04+01:00", "updated_at": "2023-01-08T23:29:04+01:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale_action.yml", "contents": "jobs:\n  stale_action:\n    name: Close stale issues and PRs\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/stale_action.yml@main\nname: Close stale issues and PRs\non:\n  schedule:\n    - cron: 0 */6 * * *\n  workflow_dispatch:\npermissions:\n  issues: write\n  pull-requests: write\n", "state": "active", "repository": "praw-dev/asyncpraw"}
{"mined_at": "2024-07-15T17:48:01.055124", "created_at": "2021-02-08T05:49:22+01:00", "updated_at": "2021-02-08T05:49:22+01:00", "name": "Tag Release", "path": ".github/workflows/tag_release.yml", "contents": "jobs:\n  tag_release:\n    name: Tag Release\n    secrets: inherit\n    uses: praw-dev/.github/.github/workflows/tag_release.yml@main\nname: Tag Release\non:\n  push:\n    branches: [ master, release_test ]\npermissions:\n  contents: write\n", "state": "active", "repository": "praw-dev/asyncpraw"}
{"mined_at": "2024-07-15T17:48:02.167499", "created_at": "2024-06-12T20:06:30+02:00", "updated_at": "2024-06-12T20:06:30+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "praw-dev/asyncpraw"}
{"mined_at": "2024-07-15T17:48:05.667661", "created_at": "2022-02-02T17:31:17+01:00", "updated_at": "2022-02-02T17:31:17+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master, dev ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master, dev ]\n  schedule:\n    - cron: '24 7 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "fortran-lang/fortls"}
{"mined_at": "2024-07-15T17:48:06.793995", "created_at": "2022-01-11T17:49:14+01:00", "updated_at": "2022-05-10T09:57:48+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: \"Docs\"\non: [push, pull_request]\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Build docs\n        run: |\n          pip install -e .[dev,docs]\n          make -C docs html\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v4\n        if: github.ref == 'refs/heads/master'\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: docs/_build/html\n", "state": "active", "repository": "fortran-lang/fortls"}
{"mined_at": "2024-07-15T17:48:07.813380", "created_at": "2024-04-14T20:59:58+02:00", "updated_at": "2024-04-14T20:59:58+02:00", "name": "Docs Preview", "path": ".github/workflows/docs_preview.yml", "contents": "name: Docs Preview\n\npermissions:\n  pull-requests: write\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - edited\n      - closed\n    paths:\n      - \"docs/**\"\n      - \"fortls/interface.py\"\n  workflow_dispatch:\n\nconcurrency: preview-${{github.ref}}\n\njobs:\n  deploy-preview:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Build docs\n        run: |\n          pip install -e .[dev,docs]\n          make -C docs html\n      - name: Deploy Preview\n        uses: rossjrw/pr-preview-action@v1.4.7\n        with:\n          source-dir: docs/_build/html\n          preview-branch: gh-pages\n          custom-url: fortls.fortran-lang.org\n", "state": "active", "repository": "fortran-lang/fortls"}
{"mined_at": "2024-07-15T17:48:08.852784", "created_at": "2021-12-13T03:53:13+01:00", "updated_at": "2021-12-13T03:53:13+01:00", "name": "Tests", "path": ".github/workflows/main.yml", "contents": "name: Tests\n\non:\n  [push, pull_request]\n  # Allows you to run this workflow manually from the Actions tab\n  # workflow_dispatch:\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n\n      - name: Setup\n        run: pip install .[dev]\n\n      - name: Lint\n        run: black --diff --check --verbose .\n\n      - name: Check schema is up to date\n        run: |\n          python3 -m fortls.schema\n          git diff --exit-code ./fortls/fortls.schema.json\n\n      - name: Unittests\n        run: pytest --doctest-modules -n auto\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          fail_ci_if_error: true\n          verbose: true\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "fortran-lang/fortls"}
{"mined_at": "2024-07-15T17:48:09.862963", "created_at": "2021-12-13T06:26:08+01:00", "updated_at": "2022-01-22T02:25:34+01:00", "name": "PyPi Release", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: PyPi Release\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n\n      - uses: softprops/action-gh-release@master\n        if: startsWith(github.ref, 'refs/tags/v')\n        with:\n          files: ./fortls/fortls.schema.json\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n\n      - name: Build package\n        run: python -m build\n\n      - name: Publish to Test PyPi\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository-url: https://test.pypi.org/legacy/\n      - name: Publish to PyPi\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "fortran-lang/fortls"}
{"mined_at": "2024-07-15T17:48:10.989972", "created_at": "2022-11-13T23:50:29+01:00", "updated_at": "2022-11-13T23:50:29+01:00", "name": "Check M_intrinsics for updates", "path": ".github/workflows/update-intrinsics.yml", "contents": "on:\n  # fire at 00:00 every 7th day of the month\n  schedule:\n    - cron: \"0 0 */7 * *\"\n  workflow_dispatch:\n\nname: Check M_intrinsics for updates\njobs:\n  update-intrinsics:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup\n        run: |\n          python3 -m pip install --upgrade pip\n          pip install .[dev]\n\n      - name: Download M_intrinsics\n        run: |\n          git clone https://github.com/urbanjost/M_intrinsics\n\n      - name: Update Markdown intrinsics\n        run: |\n          python3 -m fortls.parsers.internal.intrinsics\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          commit-message: \"docs: update M_intrinsics\"\n          title: Update M_intrinsics\n          body: |\n            Auto-generated Pull Request to update M_intrinsics JSON definitions.\n          branch: docs/update-intrinsics\n          delete-branch: true\n          reviewers: gnikit\n", "state": "active", "repository": "fortran-lang/fortls"}
{"mined_at": "2024-07-15T17:48:12.013338", "created_at": "2022-01-11T17:39:34+01:00", "updated_at": "2022-01-11T17:39:34+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "fortran-lang/fortls"}
{"mined_at": "2024-07-15T17:48:14.166952", "created_at": "2020-11-26T21:34:43+01:00", "updated_at": "2023-12-17T15:08:36+01:00", "name": "coverage", "path": ".github/workflows/coverage.yml", "contents": "name: coverage\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"*\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v1\n        with:\n          python-version: \"3.8\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox virtualenv\n\n      - name: Test build with coverage\n        run: \"tox -e cov-report\"\n\n      - name: Send coverage report to codecov\n        uses: codecov/codecov-action@v1\n        with:\n          file: ./coverage.xml\n", "state": "active", "repository": "sudoblockio/tackle"}
{"mined_at": "2024-07-15T17:48:15.396207", "created_at": "2020-11-27T04:57:40+01:00", "updated_at": "2023-12-17T15:08:36+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v1\n        with:\n          python-version: \"3.11\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .\n          pip install -r requirements-docs.txt\n          pip install -e .[all]\n\n      - name: Build docs\n        run: |\n          make docs\n\n      - uses: actions/upload-artifact@v1\n        with:\n          name: DocumentationHTML\n          path: site/\n\n      - name: Commit documentation changes\n        run: |\n          git clone https://github.com/robcxyz/tackle.git --branch docs --single-branch gh-pages\n          cp -r site/* gh-pages/\n          cd gh-pages\n          touch .nojekyll\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git add .\n          git commit -m \"Update documentation\" -a || true\n          # The above command will fail if no changes were present, so we ignore\n          # the return code.\n\n      - name: Push changes\n        uses: ad-m/github-push-action@master\n        with:\n          branch: docs\n          directory: gh-pages\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n\n", "state": "active", "repository": "sudoblockio/tackle"}
{"mined_at": "2024-07-15T17:48:16.521993", "created_at": "2021-12-31T01:24:41+01:00", "updated_at": "2021-12-31T01:24:41+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sudoblockio/tackle"}
{"mined_at": "2024-07-15T17:48:17.648722", "created_at": "2022-08-28T05:31:23+02:00", "updated_at": "2022-08-28T05:31:23+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      # Create changelog and release PR on normal commits. When release PR is merged,\n      # create a new release with the changelog in the release notes\n      - uses: google-github-actions/release-please-action@v3\n        id: release-please\n        with:\n          release-type: python\n          extra-files: |\n            tackle/__init__.py\n          changelog-types: |\n            [\n              {\"type\":\"feat\",\"section\":\"Features\",\"hidden\":false},\n              {\"type\":\"fix\",\"section\":\"Bug Fixes\",\"hidden\":false},\n              {\"type\":\"perf\",\"section\":\"Performance Improvements\",\"hidden\":false},\n              {\"type\":\"refactor\",\"section\":\"Refactors\",\"hidden\":false},\n              {\"type\":\"revert\",\"section\":\"Reversions\",\"hidden\":false},\n              {\"type\":\"provider\",\"section\":\"Provider Changes\",\"hidden\":false}\n            ]\n\n      # Release to pypi if previous action resulted in creating a new release which\n      # happens when the release-please PR is merged\n      - name: Set up Python\n        if: ${{ steps.release-please.outputs.release_created }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: \"3.7\"\n\n      - name: Install dependencies\n        if: ${{ steps.release-please.outputs.release_created }}\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install setuptools wheel twine\n\n      - name: Package project\n        if: ${{ steps.release-please.outputs.release_created }}\n        run: python setup.py sdist bdist_wheel\n\n      - name: Upload distributions\n        if: ${{ steps.release-please.outputs.release_created }}\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n        run: twine upload dist/*\n\n", "state": "active", "repository": "sudoblockio/tackle"}
{"mined_at": "2024-07-15T17:48:18.879261", "created_at": "2022-10-12T19:49:06+02:00", "updated_at": "2022-10-22T19:50:04+02:00", "name": "codeql", "path": ".github/workflows/codeql.yml", "contents": "name: codeql\n\non:\n  push:\n    branches: [main, ]\n  pull_request:\n    branches: [main]\n\njobs:\n  analyse:\n    name: Analyse\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        config-file: ./.github/codeql/codeql-config.yml\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1", "state": "active", "repository": "sudoblockio/tackle"}
{"mined_at": "2024-07-15T17:48:20.106234", "created_at": "2023-12-17T15:08:36+01:00", "updated_at": "2023-12-17T15:08:36+01:00", "name": "test-all-platforms", "path": ".github/workflows/test-all-platforms.yml", "contents": "name: test-all-platforms\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"*\"\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n          - \"ubuntu-py311\"\n          - \"macos-py310\"\n          - \"macos-py311\"\n#          - \"windows-py310\"\n#          - \"windows-py311\"\n\n        include:\n          - name: \"ubuntu-py311\"\n            python: \"3.11\"\n            os: ubuntu-latest\n            tox_env: \"py311\"\n          - name: \"macos-py310\"\n            python: \"3.10\"\n            os: macos-latest\n            tox_env: \"py310\"\n          - name: \"macos-py311\"\n            python: \"3.11\"\n            os: macos-latest\n            tox_env: \"py311\"\n#          - name: \"windows-py310\"\n#            python: \"3.10\"\n#            os: windows-latest\n#            tox_env: \"py310\"\n#          - name: \"windows-py311\"\n#            python: \"3.11\"\n#            os: windows-latest\n#            tox_env: \"py311\"\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox virtualenv\n      - name: Test build\n        run: \"tox -e ${{ matrix.tox_env }}\"\n", "state": "active", "repository": "sudoblockio/tackle"}
{"mined_at": "2024-07-15T17:48:21.121993", "created_at": "2023-12-17T15:08:36+01:00", "updated_at": "2023-12-17T15:08:36+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n  pull_request:\n    branches:\n      - \"*\"\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n          - \"linting\"\n          - \"ubuntu-py310\"\n\n        include:\n          - name: \"linting\"\n            python: \"3.10\"\n            os: ubuntu-latest\n            tox_env: \"lint\"\n          - name: \"ubuntu-py310\"\n            python: \"3.10\"\n            os: ubuntu-latest\n            tox_env: \"py310\"\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox virtualenv\n      - name: Test build\n        run: \"tox -e ${{ matrix.tox_env }}\"\n", "state": "active", "repository": "sudoblockio/tackle"}
{"mined_at": "2024-07-15T17:48:24.217733", "created_at": "2022-07-10T17:18:20+02:00", "updated_at": "2022-07-12T10:06:27+02:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": "name: Lint\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: psf/black@stable\n", "state": "active", "repository": "ai4finance-foundation/finrl-meta"}
{"mined_at": "2024-07-15T17:48:25.534380", "created_at": "2022-07-12T10:06:27+02:00", "updated_at": "2022-07-12T10:06:27+02:00", "name": "Python package", "path": ".github/workflows/python-test.yml", "contents": "name: Python package\n\non:\n  push:\n    branches: [ $default-branch ]\n  pull_request:\n    branches: [ $default-branch ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install pytest\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Test with pytest\n      run: |\n        pytest\n", "state": "active", "repository": "ai4finance-foundation/finrl-meta"}
{"mined_at": "2024-07-15T17:48:27.642064", "created_at": "2022-01-23T14:50:15+01:00", "updated_at": "2022-01-23T14:50:15+01:00", "name": "Docker Build", "path": ".github/workflows/docker.yml", "contents": "# Triggers a Docker workflow on completion of the \"build\" workflow but\n# pushes to DockerHub\n#\n# Author: Just van den Broecke & Edward Lewis - 2021\n#\nname: Docker Build\n\non:\n  workflow_run:\n    workflows: [\"build ⚙️\"]\n    types: [completed]\n\njobs:\n  # Single job now to build Docker Image and push to DockerHub\n  on-success:\n    name: Build, Test and Push Docker Image to DockerHub\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    \n    # v2 https://github.com/docker/build-push-action/blob/master/UPGRADE.md\n    steps:\n      - name: Checkout ✅\n        uses: actions/checkout@v2\n\n      - name: Prepare 📦\n        id: prep\n        run: |\n          DOCKER_IMAGE=geopython/pycsw\n          VERSION=latest\n          if [[ $GITHUB_REF == refs/tags/* ]]; then\n            VERSION=${GITHUB_REF#refs/tags/}\n          elif [[ $GITHUB_REF == refs/heads/* ]]; then\n            VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')\n          elif [[ $GITHUB_REF == refs/pull/* ]]; then\n            VERSION=pr-${{ github.event.number }}\n          fi\n          if [[ $VERSION == master ]]; then\n            VERSION=latest\n          fi\n          TAGS=\"${DOCKER_IMAGE}:${VERSION}\"\n          echo ::set-output name=image::${DOCKER_IMAGE}\n          echo ::set-output name=version::${VERSION}\n          echo ::set-output name=tags::${TAGS}\n          echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')\n      - name: Show Image Settings 📦\n        run: echo \"IMAGE=${{ steps.prep.outputs.image }} VERSION=${{ steps.prep.outputs.version }} TAGS=${{ steps.prep.outputs.tags }}\"\n\n      - name: Set up Docker Buildx 📦\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to DockerHub 📦\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Docker Build only - retain local Image 📦\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          load: true\n          push: false\n          tags: ${{ steps.prep.outputs.tags }}\n          labels: |\n            org.opencontainers.image.source=${{ github.event.repository.html_url }}\n            org.opencontainers.image.created=${{ steps.prep.outputs.created }}\n            org.opencontainers.image.revision=${{ github.sha }}\n\n      - name: Push to Docker repo ☁️\n        run: docker push ${{ steps.prep.outputs.image }}:${{ steps.prep.outputs.version }}\n\n  on-failure:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'failure' }}\n    steps:\n      - name: Print Test Fail\n        run: echo Tests Failed\n", "state": "active", "repository": "geopython/pycsw"}
{"mined_at": "2024-07-15T17:48:28.660361", "created_at": "2021-10-20T15:13:46+02:00", "updated_at": "2022-01-23T14:50:15+01:00", "name": "GHCR", "path": ".github/workflows/ghcr.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n# Triggers a Docker workflow on completion of the \"build\" workflow but\n# pushes to GitHub Container Registry \n#\n# Author: Edward Lewis - 2021\n\nname: GHCR\n\non:\n  workflow_run:\n    workflows: [\"build ⚙️\"]\n    types: [completed]\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: pycsw\n\njobs:\n  # Push image to GitHub Packages.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'success' }}\n    permissions:\n      packages: write\n      contents: read\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Build image\n        run: docker build . --file Dockerfile --tag $IMAGE_NAME --label \"runnumber=${GITHUB_RUN_ID}\"\n\n      - name: Log in to registry\n        # This is where you will update the PAT to GITHUB_TOKEN\n        run: echo \"${{ secrets.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n\n      - name: Rename image for publication\n        run: |\n          IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME\n\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n          # Strip \"v\" prefix from tag name\n          [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n          echo IMAGE_ID=$IMAGE_ID\n          echo VERSION=$VERSION\n          echo FULLCONTAINERNAME=$IMAGE_ID:$VERSION >> $GITHUB_ENV\n          docker tag $IMAGE_NAME $IMAGE_ID:$VERSION\n\n      #- uses: Azure/container-scan@v0\n        #with:\n          #image-name: ${{ env.FULLCONTAINERNAME }}\n\n      - name: Push to CR\n        run: docker push ${{ env.FULLCONTAINERNAME }}\n\n  on-failure:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.workflow_run.conclusion == 'failure' }}\n    steps:\n      - name: Print Test Fail\n        run: echo Tests Failed        \n", "state": "active", "repository": "geopython/pycsw"}
{"mined_at": "2024-07-15T17:48:29.798592", "created_at": "2021-01-20T19:44:14+01:00", "updated_at": "2023-06-16T10:26:59+02:00", "name": "build ⚙️", "path": ".github/workflows/main.yml", "contents": "name: build ⚙️\n\non: \n  push:\n    branches:\n      - master\n    paths-ignore:\n      - '**.md'  \n  pull_request:\n    branches:\n      - master\n    paths-ignore:\n      - '**.md'  \n  release:\n    types:\n      - released\n\njobs:\n  main:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        include:\n          - python-version: \"3.8\"\n            toxenv: \"py38-sqlite\"\n          - python-version: \"3.9\"\n            toxenv: \"py39-sqlite\"\n          - python-version: \"3.10\"\n            toxenv: \"py310-sqlite\"\n          - python-version: \"3.11\"\n            toxenv: \"py311-sqlite\"\n    env:\n        TOXENV: ${{ matrix.toxenv }}\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      name: Setup Python ${{ matrix.python-version }}\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install requirements 📦\n      run: |\n        sudo apt install -y libgeos-dev libpq-dev libxml2-dev libxslt1-dev libz-dev libexpat1\n        pip3 install -r requirements.txt\n        pip3 install -r requirements-standalone.txt\n        pip3 install -r requirements-dev.txt\n        pip3 install --upgrade https://github.com/geopython/OWSLib/archive/master.zip\n        pip3 install tox\n        echo \"TOXENV => $TOXENV\"\n    - name: run unit tests ⚙️\n      run: tox -- --exitfirst -m unit\n    - name: run integration tests ⚙️\n      run: tox -- --exitfirst -m functional -k 'not harvesting'\n    - name: build docs 🏗️\n      run: cd docs && make html\n", "state": "active", "repository": "geopython/pycsw"}
{"mined_at": "2024-07-15T17:48:30.799406", "created_at": "2024-01-06T17:41:43+01:00", "updated_at": "2024-01-06T17:46:34+01:00", "name": "Check vulnerabilities", "path": ".github/workflows/vulnerabilities.yml", "contents": "name: Check vulnerabilities\n\non:\n  push:\n    paths-ignore:\n      - '**.md'\n  pull_request:\n    branches:\n      - master\n    paths-ignore:\n      - '!**.md'\n  release:\n    types:\n      - released\n\njobs:\n  clone:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n          architecture: x64\n      - name: Checkout pycsw\n        uses: actions/checkout@master\n\n  vulnerabilities:\n    needs: [clone]\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Scan vulnerabilities with trivy\n      run: |\n        sudo apt-get install -y wget apt-transport-https gnupg lsb-release\n        wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg --dearmor | sudo tee /usr/share/keyrings/trivy.gpg > /dev/null\n        echo \"deb [signed-by=/usr/share/keyrings/trivy.gpg] https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main\" | sudo tee -a /etc/apt/sources.list.d/trivy.list\n        sudo apt-get update\n        sudo apt-get install -y trivy\n        trivy --exit-code 1 fs --scanners vuln,misconfig,secret --severity HIGH,CRITICAL --ignore-unfixed .\n", "state": "active", "repository": "geopython/pycsw"}
{"mined_at": "2024-07-15T17:48:32.803793", "created_at": "2020-03-28T22:14:58+01:00", "updated_at": "2020-03-28T22:14:58+01:00", "name": "GSEApy", "path": ".github/workflows/test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: GSEApy\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --upgrade setuptools\n        python -m pip install wheel\n        python -m pip install tqdm\n        pip install -r requirements.txt\n    - name: Lint with flake8\n      run: |\n        pip install flake8 flake8-black flake8-isort\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82,BLK100,I001,I002,I003,I004,I005 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    \n    # - name: Test with covarege\n    #   run: |\n    #     cd ${GITHUB_WORKSPACE}\n    #     pip install coverage\n    #     pip install coveralls\n    #     python setup.py install\n    #     # coverage run setup.py test\n    - name: Test with pytest\n      run: |\n        cd ${GITHUB_WORKSPACE}\n        pip install pytest\n        pip install pytest-cov\n        pip install -e .\n        pytest\n        \n\n", "state": "active", "repository": "zqfang/gseapy"}
{"mined_at": "2024-07-15T17:48:33.807798", "created_at": "2022-10-13T06:56:04+02:00", "updated_at": "2022-10-13T06:56:04+02:00", "name": "Wheel Builds", "path": ".github/workflows/wheels.yml", "contents": "# modified from https://github.com/Qiskit/rustworkx/blob/main/.github/workflows/wheels.yml\nname: Wheel Builds\n# on:\n#   push:\n#     tags:\n#       - '*'\n\non:\n  release:\n    types:\n      - published\njobs:\n  # gsea-core:\n  #   name: Publish gsea-core\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - uses: actions/checkout@v2\n  #     - uses: actions-rs/toolchain@v1\n  #       with:\n  #         toolchain: stable\n  #         override: true\n  #     - name: Run cargo publish\n  #       run: |\n  #         cd rustworkx-core\n  #         cargo publish\n  #       env:\n  #         CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}\n  sdist:\n    name: Build sdist\n    runs-on: ubuntu-latest\n    # needs: [\"build_wheels\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n      - uses: actions-rs/toolchain@v1\n        with:\n          toolchain: stable\n      - name: Install deps\n        run: pip install -U twine setuptools-rust\n      - name: Build sdist\n        run: python setup.py sdist\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./dist/*\n      - name: Upload to PyPI\n        run: twine upload ./dist/*\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n          TWINE_USERNAME: __token__\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n      - uses: dtolnay/rust-toolchain@stable\n        with:\n          toolchain: stable\n      - name: Install cibuildwheel\n        run: |\n          python -m pip install cibuildwheel==2.17.0 twine wheel\n      - name: Build wheels\n        run: |\n          python -m cibuildwheel --output-dir wheelhouse\n        env:\n          CIBW_BEFORE_ALL_LINUX: \"curl https://sh.rustup.rs -sSf | sh -s -- -y\"\n          CIBW_ENVIRONMENT_LINUX: 'PATH=\"$PATH:$HOME/.cargo/bin\"'\n          # CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.9\n          CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux2014_x86_64:latest\n          CIBW_MANYLINUX_I686_IMAGE: quay.io/pypa/manylinux2014_i686:latest\n          CIBW_SKIP: cp36-* pp* *win32 *musl*\n          CIBW_PRERELEASE_PYTHONS: True\n          CIBW_BEFORE_BUILD: pip install -U setuptools-rust\n      - name: Upload to PyPI\n        run: twine upload ./wheelhouse/*.whl\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n          TWINE_USERNAME: __token__\n  build_wheels_aarch64:\n    name: Build linux aarch64 wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n      - uses: dtolnay/rust-toolchain@stable\n        with:\n          toolchain: stable\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n        with:\n          platforms: all\n      - name: Install cibuildwheel\n        run: |\n          python -m pip install cibuildwheel==2.17.0 twine\n      - name: Build wheels\n        run: |\n          python -m cibuildwheel --output-dir wheelhouse\n        env:\n          CIBW_BEFORE_ALL_LINUX: \"curl https://sh.rustup.rs -sSf | sh -s -- -y\"\n          CIBW_ENVIRONMENT_LINUX: 'PATH=\"$PATH:$HOME/.cargo/bin\"'\n          CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.9\n          CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux2014_x86_64:latest\n          CIBW_MANYLINUX_I686_IMAGE: quay.io/pypa/manylinux2014_i686:latest\n          CIBW_SKIP: cp36-* pp* *win32 *musl*\n          CIBW_PRERELEASE_PYTHONS: True\n          CIBW_BEFORE_BUILD: pip install -U setuptools-rust\n          # CIBW_TEST_REQUIRES: numpy scipy pandas requests\n          # CIBW_TEST_COMMAND: python -m unittest discover {project}/tests/\n          CIBW_ARCHS_LINUX: aarch64\n      # - uses: actions/upload-artifact@v4\n      #   with:\n      #     path: ./wheelhouse/*.whl\n      - name: Upload to PyPI\n        run: twine upload ./wheelhouse/*.whl\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n          TWINE_USERNAME: __token__\n  ## mac arm64 build shipped with cibuildwhell@2.17.0. not extra builds for arm64 now\n  # build-mac-arm-wheels:\n  #   name: Build wheels on macos for arm\n  #   runs-on: macos-latest\n  #   steps:\n  #     - uses: actions/checkout@v4\n  #     - name: Build wheels\n  #       uses: joerick/cibuildwheel@v2.17.0\n  #       env:\n  #         CIBW_BEFORE_ALL: rustup target add aarch64-apple-darwin\n  #         CIBW_ARCHS_MACOS: arm64\n  #         CIBW_PRERELEASE_PYTHONS: True\n  #         CIBW_BEFORE_BUILD: pip install -U setuptools-rust\n  #         CIBW_ENVIRONMENT: CARGO_BUILD_TARGET=\"aarch64-apple-darwin\" PYO3_CROSS_LIB_DIR=\"/Library/Frameworks/Python.framework/Versions/$(python -c 'import sys; print(str(sys.version_info[0])+\".\"+str(sys.version_info[1]))')/lib/python$(python -c 'import sys; print(str(sys.version_info[0])+\".\"+str(sys.version_info[1]))')\"\n  #     # - uses: actions/upload-artifact@v4\n  #     #   with:\n  #     #     path: ./wheelhouse/*.whl\n  #     - uses: actions/setup-python@v5\n  #       name: Install Python\n  #       with:\n  #         python-version: '3.10'\n  #     - name: Install twine\n  #       run: |\n  #         python -m pip install twine\n  #     - name: Upload to PyPI\n  #       run: twine upload ./wheelhouse/*.whl\n  #       env:\n  #         TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n  #         TWINE_USERNAME: __token__\n\n  build-win32-wheels:\n    name: Build wheels on win32\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: '3.10'\n          architecture: 'x86'\n      - uses: dtolnay/rust-toolchain@stable\n        with:\n          toolchain: stable\n          target: i686-pc-windows-msvc\n      - name: Force win32 rust\n        run: rustup default stable-i686-pc-windows-msvc\n      - name: Install cibuildwheel\n        run: |\n          python -m pip install cibuildwheel==2.17.0 twine\n      - name: Build wheels\n        run: |\n          python -m cibuildwheel --output-dir wheelhouse\n        env:\n          CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.9\n          CIBW_SKIP: cp36-* pp* *amd64 *musl*\n          CIBW_PRERELEASE_PYTHONS: True\n          CIBW_BEFORE_BUILD: pip install -U setuptools-rust\n          # CIBW_TEST_REQUIRES: numpy scipy pandas requests\n          # CIBW_TEST_COMMAND: python -m unittest discover {project}/tests/\n      # - uses: actions/upload-artifact@v4\n      #   with:\n      #     path: ./wheelhouse/*.whl\n      - name: Upload to PyPI\n        run: twine upload ./wheelhouse/*.whl\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n          TWINE_USERNAME: __token__", "state": "active", "repository": "zqfang/gseapy"}
{"mined_at": "2024-07-15T17:48:35.824110", "created_at": "2023-08-26T11:17:20+02:00", "updated_at": "2023-08-26T11:17:20+02:00", "name": "Create and publish a Docker image", "path": ".github/workflows/deploy-image-arm.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# GitHub recommends pinning actions to a commit SHA.\n# To get a newer version, you will need to update the SHA.\n# You can also reference a tag or branch, but the action may change without warning.\n\nname: Create and publish a Docker image\n\non:\n  push:\n    branches: ['master']\n  create:\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    if: github.repository == 'zhayujie/chatgpt-on-wechat'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Available platforms\n        run: echo ${{ steps.buildx.outputs.platforms }}\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          push: true\n          file: ./docker/Dockerfile.latest\n          platforms: linux/arm64\n          tags: ${{ steps.meta.outputs.tags }}-arm64\n          labels: ${{ steps.meta.outputs.labels }}\n\n      - uses: actions/delete-package-versions@v4\n        with:\n          package-name: 'chatgpt-on-wechat'\n          package-type: 'container'\n          min-versions-to-keep: 10\n          delete-only-untagged-versions: 'true'\n          token: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "zhayujie/chatgpt-on-wechat"}
{"mined_at": "2024-07-15T17:48:36.829638", "created_at": "2023-03-29T20:06:26+02:00", "updated_at": "2023-03-29T20:06:26+02:00", "name": "Create and publish a Docker image", "path": ".github/workflows/deploy-image.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# GitHub recommends pinning actions to a commit SHA.\n# To get a newer version, you will need to update the SHA.\n# You can also reference a tag or branch, but the action may change without warning.\n\nname: Create and publish a Docker image\n\non:\n  push:\n    branches: ['master']\n  create:\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    if: github.repository == 'zhayujie/chatgpt-on-wechat'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ${{ env.IMAGE_NAME }}\n            ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          push: true\n          file: ./docker/Dockerfile.latest\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n\n      - uses: actions/delete-package-versions@v4\n        with:\n          package-name: 'chatgpt-on-wechat'\n          package-type: 'container'\n          min-versions-to-keep: 10\n          delete-only-untagged-versions: 'true'\n          token: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "zhayujie/chatgpt-on-wechat"}
{"mined_at": "2024-07-15T17:48:38.947795", "created_at": "2022-07-21T13:14:33+02:00", "updated_at": "2024-02-21T23:27:05+01:00", "name": "Minimal and Full Tests", "path": ".github/workflows/testing.yml", "contents": "name: Minimal and Full Tests\non:\n  workflow_call:\n    secrets:\n      AWS_ACCESS_KEY_ID:\n        required: true\n      AWS_SECRET_ACCESS_KEY:\n        required: true\n      S3_GIN_BUCKET:\n        required: true\n      CODECOV_TOKEN:\n        required: true\n  workflow_dispatch:\n\njobs:\n  run:\n    name: ${{ matrix.os }} Python ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, macos-13, windows-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - run: git fetch --prune --unshallow --tags\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Global Setup\n        run: |\n          python -m pip install -U pip  # Official recommended way\n          git config --global user.email \"CI@example.com\"\n          git config --global user.name \"CI Almighty\"\n      - name: Install NeuroConv with minimal requirements\n        run: pip install .\n      - name: Test initial import of all non-lazy dependencies\n        run: python -c \"import neuroconv\"\n\n      - name: Install NeuroConv with testing requirements\n        run: pip install .[test]\n      - name: Run import tests\n        run: |\n          pytest tests/imports.py::TestImportStructure::test_top_level\n          pytest tests/imports.py::TestImportStructure::test_tools\n          pytest tests/imports.py::TestImportStructure::test_datainterfaces\n      - name: Run minimal tests\n        run: pytest tests/test_minimal -vv -rsx -n auto --dist loadscope\n\n      - name: Install additional specific testing-only requirements\n        run: pip install .[test]\n\n      - name: Install with ecephys requirements\n        run: pip install .[ecephys]\n      - name: Run ecephys tests\n        run: pytest tests/test_ecephys -vv -rsx -n auto --dist loadscope\n\n      - name: Install with ophys requirements\n        run: pip install .[ophys]\n      - name: Run ophys tests\n        run: pytest tests/test_ophys -vv -rsx -n auto --dist loadscope\n\n      - name: Install with behavior requirements\n        run: pip install .[behavior]\n      - name: Run behavior tests\n        run: pytest tests/test_behavior -vv -rsx -n auto --dist loadscope\n\n      - name: Install with icephys requirements\n        run: pip install .[icephys]\n\n      #- name: Run icephys tests  # There are no icephys specific tests without data\n      #  run: pytest tests/test_icephys -rsx -n auto --dist loadscope\n\n\n\n      - name: Install full requirements\n        run: pip install .[full]\n\n\n\n      - name: Get ephy_testing_data current head hash\n        id: ephys\n        run: echo \"::set-output name=HASH_EPHY_DATASET::$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ephys dataset - ${{ steps.ephys.outputs.HASH_EPHY_DATASET }}\n        uses: actions/cache@v4\n        id: cache-ephys-datasets\n        with:\n          path: ./ephy_testing_data\n          key: ephys-datasets-2024-03-27-${{ matrix.os }}-${{ steps.ephys.outputs.HASH_EPHY_DATASET }}\n      - name: Get ophys_testing_data current head hash\n        id: ophys\n        run: echo \"::set-output name=HASH_OPHYS_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/ophys_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ophys dataset - ${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n        uses: actions/cache@v4\n        id: cache-ophys-datasets\n        with:\n          path: ./ophys_testing_data\n          key: ophys-datasets-2022-08-18-${{ matrix.os }}-${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n      - name: Get behavior_testing_data current head hash\n        id: behavior\n        run: echo \"::set-output name=HASH_BEHAVIOR_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/behavior_testing_data.git HEAD | cut -f1)\"\n      - name: Cache behavior dataset - ${{ steps.behavior.outputs.HASH_BEHAVIOR_DATASET }}\n        uses: actions/cache@v4\n        id: cache-behavior-datasets\n        with:\n          path: ./behavior_testing_data\n          key: behavior-datasets-2023-07-26-${{ matrix.os }}-${{ steps.behavior.outputs.HASH_behavior_DATASET }}\n\n\n\n      - if: steps.cache-ephys-datasets.outputs.cache-hit != 'true' || steps.cache-ophys-datasets.outputs.cache-hit != 'true' || steps.cache-behavior-datasets.outputs.cache-hit != 'true'\n        name: Install and configure AWS CLI\n        run: |\n          pip install awscli\n          aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      - if: steps.cache-ephys-datasets.outputs.cache-hit != 'true'\n        name: Download ephys dataset from S3\n        run: aws s3 cp --recursive ${{ secrets.S3_GIN_BUCKET }}/ephy_testing_data ./ephy_testing_data\n      - if: steps.cache-ophys-datasets.outputs.cache-hit != 'true'\n        name: Download ophys dataset from S3\n        run: aws s3 cp --recursive ${{ secrets.S3_GIN_BUCKET }}/ophys_testing_data ./ophys_testing_data\n      - if: steps.cache-behavior-datasets.outputs.cache-hit != 'true'\n        name: Download behavior dataset from S3\n        run: aws s3 cp --recursive ${{ secrets.S3_GIN_BUCKET }}/behavior_testing_data ./behavior_testing_data\n\n      - name: Run full pytest with coverage\n        run: pytest -vv -rsx -n auto --dist loadscope --cov=neuroconv --cov-report xml:./codecov.xml\n      - name: Upload full coverage to Codecov\n        if: ${{ matrix.python-version == '3.9' && matrix.os == 'ubuntu-latest' }}\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./codecov.xml\n          flags: unittests\n          name: codecov-umbrella\n          codecov_yml_path: ./codecov.yml\n          fail_ci_if_error: true\n          verbose: true\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:40.117309", "created_at": "2022-07-21T13:27:12+02:00", "updated_at": "2023-11-26T20:17:42+01:00", "name": "Add Issue or Pull Request to Dashboard", "path": ".github/workflows/add-to-dashboard.yml", "contents": "name: Add Issue or Pull Request to Dashboard\n\non:\n  issues:\n    types:\n      - opened\n  pull_request:\n    types:\n      - opened\n\njobs:\n  add-to-project:\n    name: Add issue or pull request to project\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v0.5.0\n        with:\n          project-url: https://github.com/orgs/catalystneuro/projects/3\n          github-token: ${{ secrets.PROJECT_TOKEN }}\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:41.303280", "created_at": "2022-07-21T13:27:12+02:00", "updated_at": "2022-07-21T13:27:12+02:00", "name": "Upload Package to PyPI", "path": ".github/workflows/auto-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Package to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install wheel\n      - name: Build package\n        run: |\n          python setup.py sdist bdist_wheel\n      - name: pypi-publish\n        uses: pypa/gh-action-pypi-publish@v1.4.2\n        with:\n          verbose: true\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:42.426975", "created_at": "2022-09-08T18:12:41+02:00", "updated_at": "2024-02-21T22:48:56+01:00", "name": "Deploy tests", "path": ".github/workflows/deploy-tests.yml", "contents": "name: Deploy tests\n\non:\n  pull_request:\n  merge_group:\n  workflow_dispatch:\n\nconcurrency:  # Cancel previous workflows on the same pull request\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  assess-file-changes:\n    uses: ./.github/workflows/assess-file-changes.yml\n\n  detect-changelog-updates:\n    needs: assess-file-changes\n    if: ${{ needs.assess-file-changes.outputs.SOURCE_CHANGED == 'true' }}\n    name: Auto-detecting CHANGELOG.md updates\n    runs-on: ubuntu-latest\n    steps:\n      - if:  ${{ needs.assess-file-changes.outputs.CHANGELOG_UPDATED == 'true' }}\n        run: echo \"CHANGELOG.md has been updated.\"\n      - if:  ${{ needs.assess-file-changes.outputs.CHANGELOG_UPDATED == 'false' }}\n        run: |\n          echo \"CHANGELOG.md has not been updated.\"\n          0\n\n  run-tests:\n    needs: assess-file-changes\n    if: ${{ needs.assess-file-changes.outputs.SOURCE_CHANGED == 'true' }}\n    uses: ./.github/workflows/testing.yml\n    secrets:\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      S3_GIN_BUCKET: ${{ secrets.S3_GIN_BUCKET }}\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n\n  run-live-service-tests:\n    needs: assess-file-changes\n    if: ${{ needs.assess-file-changes.outputs.SOURCE_CHANGED == 'true' }}\n    uses: ./.github/workflows/live-service-testing.yml\n    secrets:\n      DANDI_API_KEY: ${{ secrets.DANDI_API_KEY }}\n\n  run-dev-tests:\n    needs: assess-file-changes\n    if: ${{ needs.assess-file-changes.outputs.SOURCE_CHANGED == 'true' }}\n    uses: ./.github/workflows/dev-testing.yml\n    secrets:\n      DANDI_API_KEY: ${{ secrets.DANDI_API_KEY }}\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      S3_GIN_BUCKET: ${{ secrets.S3_GIN_BUCKET }}\n\n  run-doctests-only:\n    needs: assess-file-changes\n    if: ${{ needs.assess-file-changes.outputs.CONVERSION_GALLERY_CHANGED == 'true' || needs.assess-file-changes.outputs.SOURCE_CHANGED != 'true' }}\n    uses: ./.github/workflows/doctests.yml\n\n  check-final-status:\n    name: All tests passing\n    if: always()\n\n    needs:\n    - run-tests\n    - run-doctests-only\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the all jobs succeeded or at least one failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        allowed-skips: run-tests, run-doctests-only  # Each has the option to skip depending on whether src changed\n        jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:43.659061", "created_at": "2022-09-20T14:55:39+02:00", "updated_at": "2022-09-20T14:55:39+02:00", "name": "Assess file changes", "path": ".github/workflows/assess-file-changes.yml", "contents": "name: Assess file changes\n\non:\n  workflow_call:\n    # Map the workflow outputs to job outputs\n    outputs:\n      SOURCE_CHANGED:\n        description: \"Whether the files under /src/ were changed.\"\n        value: ${{ jobs.build.outputs.SOURCE_CHANGED }}\n      CONVERSION_GALLERY_CHANGED:\n        description: \"Whether the files under /docs/conversion_examples_gallery/ were changed.\"\n        value: ${{ jobs.build.outputs.CONVERSION_GALLERY_CHANGED }}\n      CHANGELOG_UPDATED:\n        description: \"Whether or the CHANGELOG.md file was updated.\"\n        value: ${{ jobs.build.outputs.CHANGELOG_UPDATED }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    # Map the job outputs to step outputs\n    outputs:\n      SOURCE_CHANGED: ${{ steps.assess-changes.outputs.SOURCE_CHANGED }}\n      CONVERSION_GALLERY_CHANGED: ${{ steps.assess-changes.outputs.CONVERSION_GALLERY_CHANGED }}\n      CHANGELOG_UPDATED: ${{ steps.assess-changes.outputs.CHANGELOG_UPDATED }}\n\n    name: Test changed-files\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v29.0.4\n\n      - name: Assess Source Code Changes\n        id: assess-changes\n        run: |\n          echo \"SOURCE_CHANGED=false\" >> $GITHUB_OUTPUT\n          echo \"CONVERSION_GALLERY_CHANGED=false\" >> $GITHUB_OUTPUT\n          echo \"CHANGELOG_UPDATED=false\" >> $GITHUB_OUTPUT\n          for file in ${{ steps.changed-files.outputs.all_changed_files }}; do\n            echo $file\n            if [[ $file == \"src/\"* || $file == \"tests/\"* || $file == \"requirements-minimal.txt\" || $file == \"requirements-testing.txt\" || $file == \"setup.py\" || $file == \".github/\"* ]]\n            then\n              echo \"Source changed\"\n              echo \"SOURCE_CHANGED=true\" >> $GITHUB_OUTPUT\n            else\n              echo \"Source not changed\"\n            fi\n            if [[ $file == \"docs/conversion_examples_gallery/\"* ]]\n            then\n              echo \"Conversion gallery changed\"\n              echo \"CONVERSION_GALLERY_CHANGED=true\" >> $GITHUB_OUTPUT\n            else\n              echo \"Conversion gallery not changed\"\n            fi\n            if [[ $file == \"CHANGELOG.md\" ]]\n            then\n              echo \"Changelog updated\"\n              echo \"CHANGELOG_UPDATED=true\" >> $GITHUB_OUTPUT\n            else\n              echo \"Changelog not updated\"\n            fi\n          done\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:44.669011", "created_at": "2022-09-20T14:55:39+02:00", "updated_at": "2022-09-20T14:55:39+02:00", "name": "Run doctests", "path": ".github/workflows/doctests.yml", "contents": "name: Run doctests\non:\n  workflow_call:\n\njobs:\n  run:\n    name: ${{ matrix.os }} Python ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, macos-13, windows-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - run: git fetch --prune --unshallow --tags\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Global Setup\n        run: |\n          python -m pip install -U pip  # Official recommended way\n          pip install pytest-xdist\n          git config --global user.email \"CI@example.com\"\n          git config --global user.name \"CI Almighty\"\n          pip install wheel # Needed for scan image\n      - name: Install neuroconv with minimal requirements\n        run: pip install .[full,test]\n\n\n\n      - name: Get ephy_testing_data current head hash\n        id: ephys\n        run: echo \"::set-output name=HASH_EPHY_DATASET::$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ephys dataset - ${{ steps.ephys.outputs.HASH_EPHY_DATASET }}\n        uses: actions/cache@v4\n        id: cache-ephys-datasets\n        with:\n          path: ./ephy_testing_data\n          key: ephys-datasets-2024-03-27-${{ matrix.os }}-${{ steps.ephys.outputs.HASH_EPHY_DATASET }}\n      - name: Get ophys_testing_data current head hash\n        id: ophys\n        run: echo \"::set-output name=HASH_OPHYS_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/ophys_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ophys dataset - ${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n        uses: actions/cache@v4\n        id: cache-ophys-datasets\n        with:\n          path: ./ophys_testing_data\n          key: ophys-datasets-2022-08-18-${{ matrix.os }}-${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n      - name: Get behavior_testing_data current head hash\n        id: behavior\n        run: echo \"::set-output name=HASH_BEHAVIOR_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/behavior_testing_data.git HEAD | cut -f1)\"\n      - name: Cache behavior dataset - ${{ steps.behavior.outputs.HASH_BEHAVIOR_DATASET }}\n        uses: actions/cache@v4\n        id: cache-behavior-datasets\n        with:\n          path: ./behavior_testing_data\n          key: behavior-datasets-2023-07-26-${{ matrix.os }}-${{ steps.behavior.outputs.HASH_behavior_DATASET }}\n\n\n\n      - name: Run doctests\n        run: pytest docs\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:45.690946", "created_at": "2022-10-18T17:26:15+02:00", "updated_at": "2022-10-18T17:57:09+02:00", "name": "Dev Branch Testing", "path": ".github/workflows/dev-testing.yml", "contents": "name: Dev Branch Testing\non:\n  schedule:\n    - cron: \"0 16 * * *\"  # Daily at noon EST\n  workflow_call:\n    secrets:\n      DANDI_API_KEY:\n        required: true\n      AWS_ACCESS_KEY_ID:\n        required: true\n      AWS_SECRET_ACCESS_KEY:\n        required: true\n      S3_GIN_BUCKET:\n        required: true\n\nenv:\n  DANDI_API_KEY: ${{ secrets.DANDI_API_KEY }}\n\njobs:\n  run:\n    name: Ubuntu tests with Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n      - run: git fetch --prune --unshallow --tags\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Global Setup\n        run: |\n          python -m pip install -U pip  # Official recommended way\n          git config --global user.email \"CI@example.com\"\n          git config --global user.name \"CI Almighty\"\n\n      - name: Install full requirements\n        run: pip install --no-cache-dir .[full,test]\n\n      - name: Dev gallery - ROIExtractors\n        run: pip install --no-cache-dir git+https://github.com/CatalystNeuro/roiextractors@main\n      - name: Dev gallery - DANDI\n        run: pip install --no-cache-dir git+https://github.com/dandi/dandi-cli@master\n      - name: Dev gallery - PyNWB\n        run: pip install --no-cache-dir git+https://github.com/NeurodataWithoutBorders/pynwb@dev\n      - name: Dev gallery - ProbeInterface\n        run: pip install --no-cache-dir git+https://github.com/spikeinterface/probeinterface@main\n      - name: Dev gallery - SpikeInterface\n        run: pip install --no-cache-dir \"spikeinterface[test_core] @ git+https://github.com/spikeinterface/spikeinterface@main\"\n      - name: Dev gallery - NEO\n        run: pip install --no-cache-dir git+https://github.com/NeuralEnsemble/python-neo@master\n      - name: Dev gallery - HDMF\n        run: pip install --no-cache-dir git+https://github.com/hdmf-dev/hdmf@dev\n      - name: Dev gallery - HDMF-ZARR\n        run : pip install --no-cache-dir git+https://github.com/hdmf-dev/hdmf-zarr@dev\n\n      - name: Display installed packages and their sources\n        run: |\n          pip list\n\n      - name: Get ephy_testing_data current head hash\n        id: ephys\n        run: echo \"::set-output name=HASH_EPHY_DATASET::$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ephys dataset - ${{ steps.ephys.outputs.HASH_EPHY_DATASET }}\n        uses: actions/cache@v4\n        id: cache-ephys-datasets\n        with:\n          path: ./ephy_testing_data\n          key: ephys-datasets-2024-03-27-${{ matrix.os }}-${{ steps.ephys.outputs.HASH_EPHY_DATASET }}\n      - name: Get ophys_testing_data current head hash\n        id: ophys\n        run: echo \"::set-output name=HASH_OPHYS_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/ophys_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ophys dataset - ${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n        uses: actions/cache@v4\n        id: cache-ophys-datasets\n        with:\n          path: ./ophys_testing_data\n          key: ophys-datasets-2022-08-18-${{ matrix.os }}-${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n      - name: Get behavior_testing_data current head hash\n        id: behavior\n        run: echo \"::set-output name=HASH_BEHAVIOR_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/behavior_testing_data.git HEAD | cut -f1)\"\n      - name: Cache behavior dataset - ${{ steps.behavior.outputs.HASH_BEHAVIOR_DATASET }}\n        uses: actions/cache@v4\n        id: cache-behavior-datasets\n        with:\n          path: ./behavior_testing_data\n          key: behavior-datasets-2023-07-26-${{ matrix.os }}-${{ steps.behavior.outputs.HASH_behavior_DATASET }}\n\n\n\n      - if: steps.cache-ephys-datasets.outputs.cache-hit != 'true' || steps.cache-ophys-datasets.outputs.cache-hit != 'true' || steps.cache-behavior-datasets.outputs.cache-hit != 'true'\n        name: Install and configure AWS CLI\n        run: |\n          pip install awscli\n          aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      - if: steps.cache-ephys-datasets.outputs.cache-hit != 'true'\n        name: Download ephys dataset from S3\n        run: aws s3 cp --recursive ${{ secrets.S3_GIN_BUCKET }}/ephy_testing_data ./ephy_testing_data\n      - if: steps.cache-ophys-datasets.outputs.cache-hit != 'true'\n        name: Download ophys dataset from S3\n        run: aws s3 cp --recursive ${{ secrets.S3_GIN_BUCKET }}/ophys_testing_data ./ophys_testing_data\n      - if: steps.cache-behavior-datasets.outputs.cache-hit != 'true'\n        name: Download behavior dataset from S3\n        run: aws s3 cp --recursive ${{ secrets.S3_GIN_BUCKET }}/behavior_testing_data ./behavior_testing_data\n\n\n\n      - name: Run full pytest\n        run: pytest -rsx -n auto --dist loadscope\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:46.832872", "created_at": "2022-10-18T17:27:19+02:00", "updated_at": "2022-10-18T17:27:19+02:00", "name": "Testing External Links", "path": ".github/workflows/test-external-links.yml", "contents": "name: Testing External Links\non:\n  pull_request:\n  merge_group:\n  workflow_call:\n\njobs:\n  build-and-test:\n    name: Testing External Links\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - run: git fetch --prune --unshallow --tags\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install package for API docs\n        run: pip install .[docs]\n      - name: Test External Links\n        run: sphinx-build -b linkcheck ./docs ./docs/_build/\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:47.842326", "created_at": "2023-04-24T18:50:35+02:00", "updated_at": "2023-04-24T18:50:35+02:00", "name": "Live service testing", "path": ".github/workflows/live-service-testing.yml", "contents": "name: Live service testing\non:\n  schedule:\n    - cron: \"0 16 * * *\"  # Daily at noon EST\n  workflow_call:\n    secrets:\n      DANDI_API_KEY:\n        required: true\n\nenv:\n  DANDI_API_KEY: ${{ secrets.DANDI_API_KEY }}\n\njobs:\n  run:\n    name: ${{ matrix.os }} Python ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, macos-13, windows-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - run: git fetch --prune --unshallow --tags\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Global Setup\n        run: |\n          python -m pip install -U pip  # Official recommended way\n          git config --global user.email \"CI@example.com\"\n          git config --global user.name \"CI Almighty\"\n\n      - name: Install full requirements\n        run: pip install .[test,full]\n\n      - name: Run subset of tests that use S3 live services\n        run: pytest -rsx -n auto tests/test_minimal/test_tools/s3_tools.py\n      - name: Run subset of tests that use DANDI live services\n        run: pytest -rsx -n auto tests/test_minimal/test_tools/dandi_transfer_tools.py\n      - name: Run subset of tests that use Globus live services\n        run: pytest -rsx -n auto tests/test_minimal/test_tools/globus_transfer_tools.py\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:49.090692", "created_at": "2023-09-30T01:04:56+02:00", "updated_at": "2024-02-21T19:41:06+01:00", "name": "Daily workflows", "path": ".github/workflows/dailies.yml", "contents": "name: Daily workflows\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 16 * * *\" # Daily at noon EST\n\njobs:\n  run-daily-tests:\n    uses: ./.github/workflows/testing.yml\n    secrets:\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      S3_GIN_BUCKET: ${{ secrets.S3_GIN_BUCKET }}\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  run-daily-doc-link-checks:\n    uses: ./.github/workflows/test-external-links.yml\n\n  notify-test-failure:\n    runs-on: ubuntu-latest\n    needs: [run-daily-tests]\n    if: ${{ always() && needs.run-daily-tests.result == 'failure' }}\n    steps:\n      - uses: dawidd6/action-send-mail@v3\n        with:\n          server_address: smtp.gmail.com\n          server_port: 465\n          username: ${{ secrets.MAIL_USERNAME }}\n          password: ${{ secrets.MAIL_PASSWORD }}\n          subject: NeuroConv Daily Test Failure\n          to: ${{ secrets.DAILY_FAILURE_EMAIL_LIST }}\n          from: NeuroConv\n          body: \"The daily test workflow failed, please check status at https://github.com/catalystneuro/neuroconv/actions/workflows/dailies.yml\"\n\n  notify-link-check-failure:\n    runs-on: ubuntu-latest\n    needs: [run-daily-doc-link-checks]\n    if: ${{ always() && needs.run-daily-doc-link-checks.result == 'failure' }}\n    steps:\n      - uses: dawidd6/action-send-mail@v3\n        with:\n          server_address: smtp.gmail.com\n          server_port: 465\n          username: ${{ secrets.MAIL_USERNAME }}\n          password: ${{ secrets.MAIL_PASSWORD }}\n          subject: NeuroConv Daily Doc Link Check Failure\n          to: ${{ secrets.DAILY_FAILURE_EMAIL_LIST }}\n          from: NeuroConv\n          body: \"The daily check for working links in the documentation failed, please check status at https://github.com/catalystneuro/neuroconv/actions/workflows/dailies.yml\"\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:50.120837", "created_at": "2024-03-21T20:38:47+01:00", "updated_at": "2024-04-08T17:21:59+02:00", "name": "Build and Upload Docker Image of Current Dev Branch to GHCR", "path": ".github/workflows/build_and_upload_docker_image_dev.yml", "contents": "name: Build and Upload Docker Image of Current Dev Branch to GHCR\n\non:\n  schedule:\n    - cron: \"0 16 * * 1\"  # Weekly at noon EST on Monday\n  workflow_dispatch:\n\nconcurrency:  # Cancel previous workflows on the same pull request\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  release-image:\n    name: Build and Upload Docker Image of Current Dev Branch to GHCR\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ secrets.DOCKER_UPLOADER_USERNAME }}\n          password: ${{ secrets.DOCKER_UPLOADER_PASSWORD }}\n      - name: Get current date\n        id: date\n        run: |\n          date_tag=\"$(date +'%Y-%m-%d')\"\n          echo \"date_tag=$date_tag\" >> $GITHUB_OUTPUT\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true  # Push is a shorthand for --output=type=registry\n          tags: ghcr.io/catalystneuro/neuroconv:dev,ghcr.io/catalystneuro/neuroconv:${{ steps.date.outputs.date_tag }}\n          context: .\n          file: dockerfiles/neuroconv_dev_dockerfile\n          provenance: false\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:51.198388", "created_at": "2024-03-21T20:39:04+01:00", "updated_at": "2024-04-08T17:21:59+02:00", "name": "Build and Upload Docker Image of Latest Release to GHCR", "path": ".github/workflows/build_and_upload_docker_image_latest_release.yml", "contents": "name: Build and Upload Docker Image of Latest Release to GHCR\n\non:\n  workflow_run:\n    workflows: [auto-publish]\n    types: [completed]\n  workflow_dispatch:\n\nconcurrency:  # Cancel previous workflows on the same pull request\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  release-image:\n    name: Build and Upload Docker Image of Latest Release to GHCR\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Parse the version from the GitHub latest release tag\n        id: parsed_version\n        run: |\n          git fetch --prune --unshallow --tags\n          tags=\"$(git tag --list)\"\n          version_tag=${tags: -6 : 6}\n          echo \"version_tag=$version_tag\" >> $GITHUB_OUTPUT\n      - name: Printout parsed version for GitHub Action log\n        run: echo ${{ steps.parsed_version.outputs.version_tag }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ secrets.DOCKER_UPLOADER_USERNAME }}\n          password: ${{ secrets.DOCKER_UPLOADER_PASSWORD }}\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true  # Push is a shorthand for --output=type=registry\n          tags: ghcr.io/catalystneuro/neuroconv:latest,ghcr.io/catalystneuro/neuroconv:${{ steps.parsed_version.outputs.version_tag }}\n          context: .\n          file: dockerfiles/neuroconv_latest_release_dockerfile\n          provenance: false\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:52.259805", "created_at": "2024-03-21T22:53:19+01:00", "updated_at": "2024-04-08T17:21:59+02:00", "name": "Build and Upload Docker Image of latest with YAML variable to GHCR", "path": ".github/workflows/build_and_upload_docker_image_yaml_variable.yml", "contents": "name: Build and Upload Docker Image of latest with YAML variable to GHCR\n\non:\n  workflow_run:\n    workflows: [build_and_upload_docker_image_latest_release]\n    types: [completed]\n  workflow_dispatch:\n\nconcurrency:  # Cancel previous workflows on the same pull request\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  release-image:\n    name: Build and Upload Docker Image of latest with YAML variable to GHCR\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ secrets.DOCKER_UPLOADER_USERNAME }}\n          password: ${{ secrets.DOCKER_UPLOADER_PASSWORD }}\n      - name: Build and push YAML variable image based on latest\n        uses: docker/build-push-action@v5\n        with:\n          push: true  # Push is a shorthand for --output=type=registry\n          tags: ghcr.io/catalystneuro/neuroconv:yaml_variable\n          context: .\n          file: dockerfiles/neuroconv_latest_yaml_variable\n          provenance: false\n", "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:53.254947", "created_at": "2024-06-13T19:57:51+02:00", "updated_at": "2024-07-08T18:03:33+02:00", "name": "Rclone Docker Tests", "path": ".github/workflows/rclone_docker_testing.yml", "contents": null, "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:54.394757", "created_at": "2024-06-13T20:43:25+02:00", "updated_at": "2024-07-08T18:03:33+02:00", "name": "Build and Upload Docker Image of Rclone With Config to GHCR", "path": ".github/workflows/build_and_upload_docker_image_rclone_with_config.yml", "contents": null, "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:55.401490", "created_at": "2024-07-08T18:03:33+02:00", "updated_at": "2024-07-08T18:03:33+02:00", "name": "NeuroConv Docker CLI tests", "path": ".github/workflows/neuroconv_docker_testing.yml", "contents": null, "state": "active", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:56.462473", "created_at": "2022-10-18T17:27:57+02:00", "updated_at": "2024-02-26T16:20:52+01:00", "name": "Formwatwise gallery tests", "path": ".github/workflows/formatwise-installation-testing.yml", "contents": "name: Formwatwise gallery tests\non:\n  schedule:\n    - cron: \"0 16 * * 1\"  # Every Monday at noon EST\n  workflow_dispatch:\n\njobs:\n  run:\n    name: ${{ format.type }}:${{ format.name }} on ${{ matrix.os }} with Python ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        # Disabling these due to multiplicative nature\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        format: [ {type: recording, name: spikeglx}, {type: recording, name: edf}, {type: recording, name: intan}, {type: recording, name: neuralynx}, {type: recording, name: neuroscope}, {type: recording, name: openephys}, {type: sorting, name: cellexplorer}, {type: sorting, name: neuralynx}, {type: sorting, name: neuroscope}, {type: imaging, name: scanimage}, {type: imaging, name: tiff}, {type: behavior, name: deeplabcut} ]  # SpikeGLX is the test of the 'empty' requirements functionality - missing: ced recording gallery and video behavior gallery\n    steps:\n      - uses: s-weigand/setup-conda@v1\n      - uses: actions/checkout@v4\n      - run: git fetch --prune --unshallow --tags\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Global Setup\n        run: |\n          python -m pip install -U pip  # Official recommended way\n          git config --global user.email \"CI@example.com\"\n          git config --global user.name \"CI Almighty\"\n      - name: Install neuroconv with minimal requirements\n        run: pip install .[test]\n\n\n\n\n      # Only rely on caches in matrix - absolutely no S3 transfer in a matrix this large.\n      - name: Get ephy_testing_data current head hash\n        id: ephys\n        run: echo \"::set-output name=HASH_EPHY_DATASET::$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ephys dataset - ${{ steps.ephys.outputs.HASH_EPHY_DATASET }}\n        uses: actions/cache@v4\n        id: cache-ephys-datasets\n        with:\n          path: ./ephy_testing_data\n          key: ephys-datasets-2024-03-27-${{ matrix.os }}-${{ steps.ephys.outputs.HASH_EPHY_DATASET }}\n      - name: Get ophys_testing_data current head hash\n        id: ophys\n        run: echo \"::set-output name=HASH_OPHYS_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/ophys_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ophys dataset - ${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n        uses: actions/cache@v4\n        id: cache-ophys-datasets\n        with:\n          path: ./ophys_testing_data\n          key: ophys-datasets-2022-08-18-${{ matrix.os }}-${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n      - name: Get behavior_testing_data current head hash\n        id: behavior\n        run: echo \"::set-output name=HASH_BEHAVIOR_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/behavior_testing_data.git HEAD | cut -f1)\"\n      - name: Cache behavior dataset - ${{ steps.behavior.outputs.HASH_BEHAVIOR_DATASET }}\n        uses: actions/cache@v4\n        id: cache-behavior-datasets\n        with:\n          path: ./behavior_testing_data\n          key: behavior-datasets-2022-08-18-${{ matrix.os }}-${{ steps.behavior.outputs.HASH_behavior_DATASET }}\n\n\n\n      - name: Install a specific format\n        run: pip install .[${{ matrix.format.name }}]\n      - name: Run that particular file in the doctest gallery\n        run: pytest --doctest-glob=\"*.rst\" docs/conversion_examples_gallery/${{ matrix.format.type }}/${{ matrix.format.name }}.rst\n", "state": "disabled_manually", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:57.472195", "created_at": "2022-11-18T17:02:57+01:00", "updated_at": "2023-07-26T18:44:23+02:00", "name": "Update S3 Testing Data", "path": ".github/workflows/update-s3-testing-data.yml", "contents": "name: Update S3 Testing Data\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  run:\n    name: Update S3 Testing Data\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n      - run: git fetch --prune --unshallow --tags\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Setup Environment\n        run: |\n          pip install -U pip\n          git config --global user.email \"CI@example.com\"\n          git config --global user.name \"CI Almighty\"\n\n      - name: Get ephys_testing_data current head hash\n        id: ephys\n        run: echo \"::set-output name=HASH_EPHY_DATASET::$(git ls-remote https://gin.g-node.org/NeuralEnsemble/ephy_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ephys dataset - ${{ steps.ephys.outputs.HASH_EPHY_DATASET }}\n        uses: actions/cache@v4\n        id: cache-ephys-datasets\n        with:\n          path: ./ephy_testing_data\n          key: ephys-datasets-s3-ubuntu-latest-${{ steps.ephys.outputs.HASH_EPHY_DATASET }}\n\n      - name: Get ophys_testing_data current head hash\n        id: ophys\n        run: echo \"::set-output name=HASH_OPHYS_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/ophys_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ophys dataset - ${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n        uses: actions/cache@v4\n        id: cache-ophys-datasets\n        with:\n          path: ./ophys_testing_data\n          key: ophys-datasets-s3-ubuntu-latest-${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n\n      - name: Get behavior_testing_data current head hash\n        id: behavior\n        run: echo \"::set-output name=HASH_BEHAVIOR_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/behavior_testing_data.git HEAD | cut -f1)\"\n      - name: Cache behavior dataset - ${{ steps.behavior.outputs.HASH_BEHAVIOR_DATASET }}\n        uses: actions/cache@v4\n        id: cache-behavior-datasets\n        with:\n          path: ./behavior_testing_data\n          key: behavior-datasets-s3-ubuntu-latest-${{ steps.behavior.outputs.HASH_behavior_DATASET }}\n\n\n\n      - name: Install datalad if needed\n        if: steps.cache-ephys-datasets.outputs.cache-hit == false || steps.cache-ophys-datasets.outputs.cache-hit == false || steps.cache-behavior-datasets.outputs.cache-hit == false\n        run: conda install -c conda-forge datalad==0.16.3\n\n\n\n      - name: \"Force GIN: ephys download\"\n        if: steps.cache-ephys-datasets.outputs.cache-hit == false\n        run: datalad install -rg https://gin.g-node.org/NeuralEnsemble/ephy_testing_data\n      - name: Cleanup unneeded files to minimize AWS billing\n        if: steps.cache-ephys-datasets.outputs.cache-hit == false\n        run: |\n          chmod -R +w ./ephy_testing_data/\n          rm -rf ./ephy_testing_data/.gitattributes\n          rm -rf ./ephy_testing_data/.gitignore\n          rm -rf ./ephy_testing_data/config.yml\n          rm -rf ./ephy_testing_data/datacite.yml\n          rm -rf ./ephy_testing_data/LICENSE\n          rm -rf ./ephy_testing_data/README.md\n          rm -rf ./ephy_testing_data/utils.py\n      - name: Upload ephys dataset to S3\n        if: steps.cache-ephys-datasets.outputs.cache-hit == false\n        uses: keithweaver/aws-s3-github-action@v1.0.0\n        with:\n          command: sync\n          source: ./ephy_testing_data\n          destination: ${{ secrets.S3_GIN_BUCKET }}/ephy_testing_data\n          aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws_region: us-east-2\n\n\n\n      - name: \"Force GIN: ophys download\"\n        if: steps.cache-ophys-datasets.outputs.cache-hit == false\n        run: datalad install -rg https://gin.g-node.org/CatalystNeuro/ophys_testing_data\n      - name: Cleanup unneeded files to minimize AWS billing\n        if: steps.cache-ophys-datasets.outputs.cache-hit == false\n        run: |\n          chmod -R +w ./ophys_testing_data/\n          rm -rf ./ophys_testing_data/.datalad/\n          rm -rf ./ophys_testing_data/.gitattributes\n          rm -rf ./ophys_testing_data/.gitignore\n          rm -rf ./ophys_testing_data/README.md\n      - name: Upload ophys dataset to S3\n        if: steps.cache-ophys-datasets.outputs.cache-hit == false\n        uses: keithweaver/aws-s3-github-action@v1.0.0\n        with:\n          command: sync\n          source: ./ophys_testing_data\n          destination: ${{ secrets.S3_GIN_BUCKET }}/ophys_testing_data\n          aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws_region: us-east-2\n\n\n\n      - name: \"Force GIN: behavior download\"\n        if: steps.cache-behavior-datasets.outputs.cache-hit == false\n        run: datalad install -rg https://gin.g-node.org/CatalystNeuro/behavior_testing_data\n      - name: Cleanup unneeded files to minimize AWS billing\n        if: steps.cache-behavior-datasets.outputs.cache-hit == false\n        run: |\n          chmod -R +w ./behavior_testing_data/\n          rm -rf ./behavior_testing_data/.datalad/\n          rm -rf ./behavior_testing_data/.gitattributes\n          rm -rf ./behavior_testing_data/.gitignore\n          rm -rf ./behavior_testing_data/README.md\n      - name: Upload behavior dataset to S3\n        if: steps.cache-behavior-datasets.outputs.cache-hit == false\n        uses: keithweaver/aws-s3-github-action@v1.0.0\n        with:\n          command: sync\n          source: ./behavior_testing_data\n          destination: ${{ secrets.S3_GIN_BUCKET }}/behavior_testing_data\n          aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws_region: us-east-2\n", "state": "disabled_manually", "repository": "catalystneuro/neuroconv"}
{"mined_at": "2024-07-15T17:48:59.840327", "created_at": "2024-03-21T22:12:32+01:00", "updated_at": "2024-03-21T22:12:32+01:00", "name": "Auto-merge", "path": ".github/workflows/automerge.yml", "contents": "# The pull_request_target workflow trigger is dangerous. Do not add unrelated logic to this workflow.\n# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target\nname: Auto-merge\non: pull_request_target\npermissions:\n  pull-requests: write  # to approve the PR\n  contents: write  # to merge the PR\njobs:\n  dependabot:\n    if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}\n    runs-on: ubuntu-latest\n    steps:\n      - id: dependabot-metadata\n        uses: dependabot/fetch-metadata@v2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n      - if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' || steps.dependabot-metadata.outputs.package-ecosystem == 'github_actions' }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: gh pr review --approve ${{ github.event.pull_request.html_url }}\n      - if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' || steps.dependabot-metadata.outputs.package-ecosystem == 'github_actions' }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }}\n", "state": "active", "repository": "open-contracting/kingfisher-collect"}
{"mined_at": "2024-07-15T17:49:01.067321", "created_at": "2020-04-09T04:12:08+02:00", "updated_at": "2020-04-09T04:12:08+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [push, pull_request]\njobs:\n  build:\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: pip\n          cache-dependency-path: '**/requirements*.txt'\n      # Don't install editable projects in the current working directory.\n      # https://pip.pypa.io/en/latest/reference/pip_install/#install-src\n      - run: pip install --src $GITHUB_WORKSPACE/../src -r requirements_dev.txt\n      - env:\n          KINGFISHER_COLLECT_DATABASE_URL: postgresql://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres\n          # Use 127.0.0.1 to avoid log messages about IPv6.\n          RABBIT_URL: amqp://127.0.0.1:${{ job.services.rabbitmq.ports[5672] }}\n          KINGFISHER_API2_TEST_URL: http://localhost:${{ job.services.httpbin.ports[8080] }}/anything/\n        # For requests.post() in KingfisherProcessAPI2._post_synchronous().\n        run: pytest -W error -W ignore::ResourceWarning -rs --cov kingfisher_scrapy\n      - run: python test_delayed_request_middleware.py\n      - env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: coveralls --service=github\n    services:\n      postgres:\n        image: postgres:15\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432/tcp\n      rabbitmq:\n        image: rabbitmq:latest\n        options: >-\n          --health-cmd \"rabbitmq-diagnostics -q check_running\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5672/tcp\n      httpbin:\n        image: mccutchen/go-httpbin:latest\n        ports:\n          - 8080/tcp\n", "state": "active", "repository": "open-contracting/kingfisher-collect"}
{"mined_at": "2024-07-15T17:49:02.398406", "created_at": "2021-11-04T18:35:30+01:00", "updated_at": "2021-11-04T18:35:30+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\non: [push, pull_request]\nenv:\n  BASEDIR: https://raw.githubusercontent.com/open-contracting/standard-maintenance-scripts/main\njobs:\n  build:\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: pip\n          cache-dependency-path: '**/requirements*.txt'\n      - shell: bash\n        run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -\n      - shell: bash\n        run: curl -s -S --retry 3 $BASEDIR/tests/script.sh | bash -\n      # Don't install editable projects in the current working directory.\n      # https://pip.pypa.io/en/latest/reference/pip_install/#install-src\n      - run: pip install --src $GITHUB_WORKSPACE/../src -r requirements_dev.txt\n      - env:\n          # scrapyd is run as a command in production. scrapyd-client is run as a command for deployment.\n          STANDARD_MAINTENANCE_SCRIPTS_IGNORE: scrapyd,scrapyd-client\n        run: pytest /tmp/test_requirements.py\n      - run: shasum -c requirements.txt.sha256\n", "state": "active", "repository": "open-contracting/kingfisher-collect"}
{"mined_at": "2024-07-15T17:49:03.527882", "created_at": "2022-05-20T00:00:43+02:00", "updated_at": "2022-05-20T00:23:36+02:00", "name": "CI (Non-Linux)", "path": ".github/workflows/nonlinux.yml", "contents": "name: CI (Non-Linux)\non: [push, pull_request]\njobs:\n  build:\n    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-latest, windows-latest]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n          cache: pip\n          cache-dependency-path: '**/requirements*.txt'\n      - name: Install postgresql (macOS)\n        if: matrix.os == 'macos-latest'\n        run: brew install postgresql\n      # Don't install editable projects in the current working directory.\n      # https://pip.pypa.io/en/latest/reference/pip_install/#install-src\n      - run: pip install --src $GITHUB_WORKSPACE/../src -r requirements_dev.txt\n      - env:\n          CI_SKIP: true\n        run: pytest -W error -rs --cov kingfisher_scrapy\n      - run: python test_delayed_request_middleware.py\n", "state": "active", "repository": "open-contracting/kingfisher-collect"}
{"mined_at": "2024-07-15T17:49:05.656616", "created_at": "2022-02-01T02:09:03+01:00", "updated_at": "2022-02-01T02:09:03+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nixtla/neuralforecast"}
{"mined_at": "2024-07-15T17:49:06.801359", "created_at": "2022-04-12T20:17:50+02:00", "updated_at": "2022-04-12T20:17:50+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "nixtla/neuralforecast"}
{"mined_at": "2024-07-15T17:49:08.032081", "created_at": "2022-10-03T21:58:14+02:00", "updated_at": "2022-10-03T22:45:02+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run-tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-13, windows-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        exclude:\n          - os: windows-latest\n            python-version: '3.11'\n    env:\n      AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_NIXTLA_TMP }}\n      AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_NIXTLA_TMP }}\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v3\n\n      - name: Set up environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment-cpu.yml\n          create-args: python=${{ matrix.python-version }}\n          cache-environment: true\n      \n      - name: Install pip requirements\n        run: pip install ./ \n      \n      - name: Tests\n        run: nbdev_test --do_print --timing --n_workers 0 --flags polars\n", "state": "active", "repository": "nixtla/neuralforecast"}
{"mined_at": "2024-07-15T17:49:09.159750", "created_at": "2022-10-03T21:58:14+02:00", "updated_at": "2022-10-03T22:45:02+02:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": "name: Lint\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v2\n\n      - name: Set up python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: pip install black nbdev pre-commit\n\n      - name: Run pre-commit\n        run: pre-commit run --files neuralforecast/*\n", "state": "active", "repository": "nixtla/neuralforecast"}
{"mined_at": "2024-07-15T17:49:10.225197", "created_at": "2023-09-12T02:37:49+02:00", "updated_at": "2023-09-12T02:37:49+02:00", "name": "No Response Bot", "path": ".github/workflows/no-response.yaml", "contents": "name: No Response Bot\n\non:\n  issue_comment:\n    types: [created]\n  schedule:\n    - cron: '0 4 * * *'\n\njobs:\n  noResponse:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: lee-dohm/no-response@v0.5.0\n        with:\n          closeComment: >\n              This issue has been automatically closed because it has been awaiting a response for too long.\n              When you have time to to work with the maintainers to resolve this issue, please post a new comment and it will be re-opened.\n              If the issue has been locked for editing by the time you return to it, please open a new issue and reference this one.\n          daysUntilClose: 30\n          responseRequiredLabel: awaiting response\n          token: ${{ github.token }}\n", "state": "active", "repository": "nixtla/neuralforecast"}
{"mined_at": "2024-07-15T17:49:11.302034", "created_at": "2023-10-09T17:55:51+02:00", "updated_at": "2023-10-09T17:55:51+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write\n      pull-requests: read\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "nixtla/neuralforecast"}
{"mined_at": "2024-07-15T17:49:12.536025", "created_at": "2023-10-24T03:23:18+02:00", "updated_at": "2023-10-24T03:37:16+02:00", "name": "build-docs", "path": ".github/workflows/build-docs.yaml", "contents": "name: \"build-docs\"\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v3\n\n      - name: Clone docs repo\n        uses: actions/checkout@v3\n        with:\n          repository: Nixtla/docs\n          ref: scripts\n          path: docs-scripts\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n          cache-dependency-path: settings.ini\n\n      - name: Install dependencies\n        run: pip install uv && uv pip install \".[dev]\" --system\n\n      - name: Build docs\n        run: |\n          mkdir nbs/_extensions\n          cp -r docs-scripts/mintlify/ nbs/_extensions/\n          python docs-scripts/update-quarto.py\n          nbdev_docs\n\n      - name: Apply final formats\n        run: bash ./docs-scripts/docs-final-formatting.bash\n\n      - name: Copy over necessary assets\n        run: cp nbs/mint.json _docs/mint.json && cp docs-scripts/imgs/* _docs/\n\n      - name: Deploy to Mintlify Docs\n        if: github.event_name == 'push'\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_branch: docs\n          publish_dir: ./_docs\n          user_name: github-actions[bot]\n          user_email: 41898282+github-actions[bot]@users.noreply.github.com\n\n      - name: Trigger mintlify workflow\n        if: github.event_name == 'push'\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.DOCS_WORKFLOW_TOKEN }}\n          script: |\n            await github.rest.actions.createWorkflowDispatch({\n              owner: 'nixtla',\n              repo: 'docs',\n              workflow_id: 'mintlify-action.yml',\n              ref: 'main',\n            });\n\n      - name: Configure redirects for gh-pages\n        run: python docs-scripts/configure-redirects.py neuralforecast\n\n      - name: Deploy to Github Pages\n        if: github.event_name == 'push'\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_branch: gh-pages\n          publish_dir: ./gh-pages\n          user_name: github-actions[bot]\n          user_email: 41898282+github-actions[bot]@users.noreply.github.com\n", "state": "active", "repository": "nixtla/neuralforecast"}
{"mined_at": "2024-07-15T17:49:14.891082", "created_at": "2023-07-07T23:46:39+02:00", "updated_at": "2023-07-24T23:50:12+02:00", "name": "RTX-KG2 Continous Integration", "path": ".github/workflows/main.yml", "contents": "# This workflow is based on GitHub's CI example for Python\n\nname: RTX-KG2 Continous Integration\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Export Path\n      run: |\n        export PATH=$PATH:~/kg2-build/\n    - name: Setup KG2 Build\n      run: |\n        git clone https://github.com/RTXteam/RTX-KG2\n        cd RTX-KG2\n        git checkout $GITHUB_REF_NAME\n        bash -x ./setup-kg2-build.sh ci\n    - name: Run Tests\n      run: |\n        cd /home/runner/work/RTX-KG2/RTX-KG2/RTX-KG2\n        bash -x ./run-validation-tests.sh\n        bash -x ./build-kg2-snakemake.sh all -n ci\n        bash -x ./build-kg2-snakemake.sh all -n ci\n        bash -x ./build-kg2-snakemake.sh all -R_Merge -n ci\n        bash -x ./build-kg2-snakemake.sh all -R_Finish -n ci\n        bash -x ./build-kg2-snakemake.sh all -F -n ci\n    - name: Test Building One File\n      run: |\n        cd /home/runner/work/RTX-KG2/RTX-KG2/RTX-KG2\n        bash -x ./extract-mirbase.sh ~/kg2-build/miRNA.dat\n        ~/kg2-venv/bin/python3 -u mirbase_dat_to_kg_jsonl.py ~/kg2-build/miRNA.dat ~/kg2-build/kg2-mirbase-nodes.jsonl ~/kg2-build/kg2-mirbase-edges.jsonl --test\n        ~/kg2-venv/bin/python3 -u report_stats_on_kg_jsonl.py ~/kg2-build/kg2-mirbase-nodes.jsonl ~/kg2-build/kg2-mirbase-edges.jsonl ~/kg2-build/kg2-mirbase-report.json\n        cat ~/kg2-build/kg2-mirbase-report.json", "state": "active", "repository": "rtxteam/rtx-kg2"}
{"mined_at": "2024-07-15T17:49:18.167994", "created_at": "2022-04-14T23:51:29+02:00", "updated_at": "2023-08-30T15:44:04+02:00", "name": ".github/workflows/linting.yml", "path": ".github/workflows/linting.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n#name: Linting\n\n#on:\n#  push:\n#    branches: [ master ]\n#  pull_request:\n#    branches: [ master ]\n\n#jobs:\n#  build:\n\n#    runs-on: linux\n#    strategy:\n#      matrix:\n#        python-version: [3.5.4, 3.6.7, 3.7.1, 3.8.1, 3.9.0]\n\n#    steps:\n#    - uses: actions/checkout@v3\n#    - name: Set up Python ${{ matrix.python-version }}\n#      uses: actions/setup-python@v4\n#      with:\n#        python-version: ${{ matrix.python-version }}\n#    - name: Install dependencies\n#      run: |\n#        python -m pip install --upgrade pip\n#        pip install flake8\n#    - name: Lint with flake8\n#      run: |\n#        # stop the build if there are Python syntax errors or undefined names\n#        flake8 pyTigerGraph --count --select=E9,F63,F7,F82 --show-source --statistics\n#        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n#        flake8 pyTigerGraph --exit-zero --extend-ignore=E501 --exclude=__init__.py --count --show-source --statistics\n", "state": "active", "repository": "tigergraph/pytigergraph"}
{"mined_at": "2024-07-15T17:49:20.523091", "created_at": "2023-02-06T16:21:04+01:00", "updated_at": "2023-02-09T17:32:47+01:00", "name": "Build and Push Image", "path": ".github/workflows/build-push-image.yml", "contents": "name: Build and Push Image\n\non:\n  workflow_call:\n    inputs:\n      push:\n        type: boolean\n        required: true\n\njobs:\n  build-push-image:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install unzip\n        run: sudo apt-get update && sudo apt-get install unzip\n\n      - name: Download OpenAPI Spec\n        shell: bash\n        run: make clean && make api_specs\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        if: ${{ inputs.push }}\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Get Operator App Version\n        id: operatorAppVersion\n        uses: mikefarah/yq@master\n        with:\n          cmd: yq eval '.appVersion' k8s/operator/Chart.yaml\n\n      - name: Build and Push Image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: docker/Dockerfile\n          push: ${{ inputs.push }}\n          tags: |\n            ghcr.io/${{ github.repository }}/sdp-operator:${{ steps.operatorAppVersion.outputs.result }}\n            ghcr.io/${{ github.repository }}/sdp-operator:latest\n", "state": "active", "repository": "appgate/sdp-operator"}
{"mined_at": "2024-07-15T17:49:21.564727", "created_at": "2023-10-04T00:12:30+02:00", "updated_at": "2023-10-04T00:12:30+02:00", "name": "Merge", "path": ".github/workflows/merge.yml", "contents": "name: Merge\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    uses: ./.github/workflows/build-push-image.yml\n    with:\n      push: true\n\n  release-chart:\n    uses: ./.github/workflows/release-chart.yml\n    needs: build\n    with:\n      push: true\n\n  releae-chart-oci:\n    uses: ./.github/workflows/release-chart-oci.yml\n    needs: build\n    with:\n      push: true\n", "state": "active", "repository": "appgate/sdp-operator"}
{"mined_at": "2024-07-15T17:49:22.673498", "created_at": "2023-10-04T00:06:47+02:00", "updated_at": "2023-10-04T00:12:30+02:00", "name": "Pull Request", "path": ".github/workflows/pull_request.yml", "contents": "name: Pull Request\n\non:\n  pull_request:\n    branches:\n      - main\n\njobs:\n  test:\n    uses: ./.github/workflows/test.yml\n\n  build:\n    uses: ./.github/workflows/build-push-image.yml\n    needs: test\n    with:\n      push: false\n", "state": "active", "repository": "appgate/sdp-operator"}
{"mined_at": "2024-07-15T17:49:23.902929", "created_at": "2023-02-06T16:21:05+01:00", "updated_at": "2023-02-09T17:32:47+01:00", "name": "Release Chart OCI", "path": ".github/workflows/release-chart-oci.yml", "contents": "name: Release Chart OCI\n\non:\n  workflow_call:\n    inputs:\n      push:\n        type: boolean\n        required: true\n\njobs:\n  operator:\n    runs-on: ubuntu-latest\n    env:\n      HELM_EXPERIMENTAL_OCI: 1\n    steps:\n      - uses: actions/checkout@v4\n      - name: Read operator chart version\n        run: |\n          echo \"chart_version=$(grep version: k8s/operator/Chart.yaml | awk '/version:/{print $NF}')\" >> $GITHUB_ENV\n      - uses: azure/setup-helm@v3\n      - name: Login to GitHub Container Registry\n        if: ${{ inputs.push }}\n        run: helm registry login ghcr.io/${{ github.repository }} --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }}\n      - name: Lint chart\n        run: helm lint k8s/operator\n      - name: Package chart\n        run: helm package k8s/operator\n      - name: Push chart\n        if: ${{ inputs.push }}\n        run: helm push sdp-operator-${{ env.chart_version }}.tgz oci://ghcr.io/appgate/charts\n\n  crd:\n    runs-on: ubuntu-latest\n    env:\n      HELM_EXPERIMENTAL_OCI: 1\n    steps:\n      - uses: actions/checkout@v4\n      - name: Read crd chart version\n        run: |\n          echo \"chart_version=$(grep version: k8s/crd/Chart.yaml | awk '/version:/{print $NF}')\" >> $GITHUB_ENV\n      - uses: azure/setup-helm@v3\n      - name: Login to GitHub Container Registry\n        if: ${{ inputs.push }}\n        run: helm registry login ghcr.io/${{ github.repository }} --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }}\n      - name: Lint chart\n        run: helm lint k8s/crd\n      - name: Package chart\n        run: helm package k8s/crd\n      - name: Push chart\n        if: ${{ inputs.push }}\n        run: helm push sdp-operator-crd-${{ env.chart_version }}.tgz oci://ghcr.io/appgate/charts\n", "state": "active", "repository": "appgate/sdp-operator"}
{"mined_at": "2024-07-15T17:49:25.131331", "created_at": "2023-02-06T16:21:05+01:00", "updated_at": "2023-02-09T17:32:47+01:00", "name": "Release Chart", "path": ".github/workflows/release-chart.yml", "contents": "name: Release Chart\n\non:\n  workflow_call:\n    inputs:\n      push:\n        type: boolean\n        required: true\n\njobs:\n  release:\n    permissions:\n      contents: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Configure Git\n        run: |\n          git config user.name \"Appgate Cybersecurity\"\n          git config user.email \"noreply@appgate.com\"\n\n      - name: Install Helm\n        uses: azure/setup-helm@v3\n\n      - name: Run chart-releaser\n        if: ${{ inputs.push }}\n        uses: helm/chart-releaser-action@v1.5.0\n        with:\n          charts_dir: \"k8s\"\n        env:\n          CR_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n          CR_OWNER: \"appgate\"\n          CR_GIT_REPO: \"sdp-operator\"\n          CR_CHARTS_DIR: \"k8s\"\n          CR_SKIP_EXISTING: true\n          CR_RELEASE_NAME_TEMPLATE: \"v{{ .Version }}-{{ .Name }}\"\n          CR_GENERATE_RELEASE_NOTES: true\n", "state": "active", "repository": "appgate/sdp-operator"}
{"mined_at": "2024-07-15T17:49:26.127314", "created_at": "2023-10-04T00:12:30+02:00", "updated_at": "2023-10-04T00:12:30+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  workflow_call:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install unzip\n        run: sudo apt-get update && sudo apt-get install unzip\n\n      - name: Download OpenApi Spec\n        run: make clean && make api_specs\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Install dependencies\n        run: python -m pip install --upgrade pip && pip install -r requirements.txt -r requirements-build.txt\n\n      - name: Lint with mypy\n        run: MYPYPATH=mypy-stubs mypy appgate\n\n      - name: Test with pytest\n        run: PYTHONPATH=. pytest tests\n\n      - name: Check formatting with black\n        run: black --check --diff appgate tests\n", "state": "active", "repository": "appgate/sdp-operator"}
{"mined_at": "2024-07-15T17:49:27.141786", "created_at": "2023-02-06T15:27:35+01:00", "updated_at": "2023-02-06T15:27:35+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "appgate/sdp-operator"}
{"mined_at": "2024-07-15T17:49:29.432134", "created_at": "2022-02-07T13:12:59+01:00", "updated_at": "2022-02-07T13:17:10+01:00", "name": "Codecov", "path": ".github/workflows/codecov.yml", "contents": "name: Codecov\non: [push, pull_request]\njobs:\n  test:\n    name: codecov\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.10'\n    steps:\n      - uses: actions/checkout@v2\n      - name: setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: install deps\n        run: |\n          pip install .[test,sentiment]\n      - name: Run tests and collect coverage\n        run: |\n          coverage run -m pytest --run_sentiment\n          coverage xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v2\n", "state": "active", "repository": "digitraceslab/niimpy"}
{"mined_at": "2024-07-15T17:49:30.556728", "created_at": "2020-11-11T09:35:52+01:00", "updated_at": "2021-04-26T23:22:26+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\non: [push, pull_request]\njobs:\n  test:\n    name: sphinx build\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.10'\n    steps:\n      - uses: actions/checkout@v2\n      - name: setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: install deps\n        run: |\n          pip install .[docs,test,sentiment]\n      - name: install pandoc\n        run: |\n          sudo apt-get install pandoc\n      #- name: setup extension\n      - name: sphinx\n        run: |\n          cd docs\n          make clean dirhtml #SPHINXOPTS='-W --keep-going'\n      - name: deploy\n        uses: peaceiris/actions-gh-pages@v3\n        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}\n        with:\n          publish_branch: gh-pages\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: docs/_build/dirhtml/\n          force_orphan: true\n", "state": "active", "repository": "digitraceslab/niimpy"}
{"mined_at": "2024-07-15T17:49:31.576018", "created_at": "2021-07-16T11:39:43+02:00", "updated_at": "2021-07-21T17:13:16+02:00", "name": "Test installation from source", "path": ".github/workflows/install.yml", "contents": "name: Test installation from source\non: [push, pull_request]\njobs:\n  test:\n    name: pytest\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v2\n      - name: setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: install\n        run: |\n          pip install .\n", "state": "active", "repository": "digitraceslab/niimpy"}
{"mined_at": "2024-07-15T17:49:32.825221", "created_at": "2020-11-11T09:17:02+01:00", "updated_at": "2021-07-24T13:07:23+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\non: [push, pull_request]\njobs:\n  test:\n    name: pytest\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v2\n      - name: setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: install deps\n        run: |\n          pip install .[test,sentiment]\n      - name: pytest\n        run: |\n          pytest --run_sentiment\n", "state": "active", "repository": "digitraceslab/niimpy"}
{"mined_at": "2024-07-15T17:49:34.040116", "created_at": "2024-03-13T15:20:59+01:00", "updated_at": "2024-03-14T08:29:57+01:00", "name": "Warnings", "path": ".github/workflows/warnings.yml", "contents": "name: Warnings\non: [push, pull_request]\njobs:\n  test:\n    name: pytest warnings\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - '3.12'\n    steps:\n      - uses: actions/checkout@v2\n      - name: setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: install deps\n        run: |\n          pip install .[test,sentiment]\n      - name: pytest -W error\n        run: |\n          pytest -W error --run_sentiment\n", "state": "active", "repository": "digitraceslab/niimpy"}
{"mined_at": "2024-07-15T17:49:35.153614", "created_at": "2022-01-20T15:02:30+01:00", "updated_at": "2022-01-20T15:02:30+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "digitraceslab/niimpy"}
{"mined_at": "2024-07-15T17:49:37.215170", "created_at": "2022-10-16T10:14:52+02:00", "updated_at": "2022-10-17T07:29:22+02:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\njobs:\n  build:\n    name: Test on Python ${{ matrix.python-version }} and ${{ matrix.os }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.7\", \"3.8\" ]\n        os: [ ubuntu-18.04 ]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install flake8 pytest pytest-cov\n          pip install pip==21.0\n          pip install -r requirements.txt\n          pip install .\n          \n          sudo apt install -qqy lsb-release gnupg2 curl\n          echo \"deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -cs) robotpkg\" | sudo tee /etc/apt/sources.list.d/robotpkg.list\n          curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -\n          sudo apt-get update\n          sudo apt install -qqy robotpkg-py3*-pinocchio\n          export PATH=/opt/openrobots/bin:$PATH\n          export PKG_CONFIG_PATH=/opt/openrobots/lib/pkgconfig:$PKG_CONFIG_PATH\n          export LD_LIBRARY_PATH=/opt/openrobots/lib:$LD_LIBRARY_PATH\n          export CMAKE_PREFIX_PATH=/opt/openrobots:$CMAKE_PREFIX_PATH\n      - name: Test with pytest\n        run: |\n          cd tests\n          pytest test_*.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html", "state": "active", "repository": "skylark0924/rofunc"}
{"mined_at": "2024-07-15T17:49:39.470990", "created_at": "2024-05-20T09:24:25+02:00", "updated_at": "2024-05-21T07:35:18+02:00", "name": "Scanner BDBA", "path": ".github/workflows/Scaner_BDBA.yaml", "contents": "name: Scanner BDBA\n\non:\n  workflow_dispatch:\n\njobs:\n  bdba_job:\n    name: BDBA Scan\n    uses: intel-innersource/frameworks.ai.infrastructure.code-scan-tools/.github/workflows/Scanner_Bdba.yml@one-ci-cd\n    with:\n      org: \"intel-innersource\"\n      repo: ${{ github.event.repository.name }}\n      refs: ${{ github.ref_name }}\n      group: \"22\"\n      runners: \"['inner-source']\"\n    secrets:\n      token: ${{ secrets.GITHUB_TOKEN }}\n      BDBA_TOKEN: ${{ secrets.BDBA_TOKEN }}\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:40.591140", "created_at": "2024-05-20T09:24:25+02:00", "updated_at": "2024-05-20T09:24:25+02:00", "name": "Scanner Coverity PYTHON", "path": ".github/workflows/Scaner_Coverity.yaml", "contents": "name: Scanner Coverity PYTHON\n\non:\n    workflow_dispatch:\n\njobs:\n  coverity_job:\n    name: Coverity\n    runs-on: inner-source\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: \"recursive\"\n      - name: Scan\n        uses: intel-innersource/frameworks.devops.github.actions.coverity@main\n        with:\n          server: 'https://coverityent.devtools.intel.com/prod4'\n          username: ${{secrets.COVERITY_NAME }}\n          password: ${{secrets.COVERITY }}\n          project: IntelExtensionForTransformers\n          stream: 'IntelExtensionForTransformers12cpp'\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:41.604402", "created_at": "2024-05-20T09:24:25+02:00", "updated_at": "2024-05-20T09:24:25+02:00", "name": "Trivy Scan for Containers", "path": ".github/workflows/Scaner_Trivy.yaml", "contents": "name: Trivy Scan for Containers\n\non:\n    workflow_dispatch:\njobs:\n  trivy_container_job:\n    uses: \"intel-innersource/frameworks.ai.infrastructure.code-scan-tools/.github/workflows/Scanner_Trivy.yml@one-ci-cd\"\n    with:\n      container: ${{ vars.TRIVY_CONTAINER_NAME }}\n      runners: \"['inner-source']\"\n      lmc: false\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:42.743945", "created_at": "2023-10-31T04:13:17+01:00", "updated_at": "2023-10-31T04:13:17+01:00", "name": "Auto Comment", "path": ".github/workflows/auto-comments.yml", "contents": null, "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:43.853521", "created_at": "2023-10-31T17:52:10+01:00", "updated_at": "2023-10-31T17:52:10+01:00", "name": "Auto Comment", "path": ".github/workflows/autocomment.yml", "contents": null, "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:45.099949", "created_at": "2023-05-27T10:05:54+02:00", "updated_at": "2023-07-07T08:46:32+02:00", "name": "ITREX Containers Weekly Builder", "path": ".github/workflows/build-container.yaml", "contents": "name: ITREX Containers Weekly Builder\non:\n  workflow_dispatch: # Can be manually executed\n  schedule: # 1/week Sunday at 07:00AM\n    - cron: \"5 7 * * 0\"\npermissions:\n  contents: read\n\njobs:\n  build:\n    container: # MLOps Dev container for Compose Automation\n      image: ${{ vars.GHA_IMAGE }}\n      env: # Add ENVS to control compose building\n        http_proxy: ${{ secrets.HTTP_PROXY }}\n        https_proxy: ${{ secrets.HTTPS_PROXY }}\n        no_proxy: ${{ secrets.NO_PROXY }}\n      credentials: # CAAS Registry Creds\n        username: ${{ secrets.REGISTRY_USER }}\n        password: ${{ secrets.REGISTRY_TOKEN }}\n    runs-on: [aia-devops] # Runner Label\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        # fetch-depth: 0\n        # submodules: recursive\n        set-safe-directory: true\n    - name: Build Container\n      run: docker compose build\n      working-directory: ./docker\n  push:\n    needs: [build]\n    strategy:\n      matrix:\n        container: [\"devel\", \"prod\"] # name of Compose container\n    container:\n      image: ${{ vars.GHA_IMAGE }}\n      env: # Add ENVS to control compose building\n        http_proxy: ${{ secrets.HTTP_PROXY }}\n        https_proxy: ${{ secrets.HTTPS_PROXY }}\n        no_proxy: ${{ secrets.NO_PROXY }}\n      credentials: # CAAS Registry Creds\n        username: ${{ secrets.REGISTRY_USER }}\n        password: ${{ secrets.REGISTRY_TOKEN }}\n    runs-on: [aia-devops]\n    steps:\n    - uses: docker/login-action@v2\n      with: # CAAS Registry Creds\n        registry: ${{ secrets.REGISTRY }}\n        username: ${{ secrets.REGISTRY_USER }}\n        password: ${{ secrets.REGISTRY_TOKEN }}\n    - name: Push Container # tlt-<num>-<container>\n      run: |\n        docker tag intel/ai-tools:itrex-${{ matrix.container }}-latest ${{ secrets.REGISTRY }}/aiops/mlops-ci:itrex-ww$(date +\"%U\")-${{ matrix.container }}\n        docker push ${{ secrets.REGISTRY }}/aiops/mlops-ci:itrex-ww$(date +\"%U\")-${{ matrix.container }}\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:46.222226", "created_at": "2023-08-31T11:51:54+02:00", "updated_at": "2023-09-18T05:21:07+02:00", "name": "Chatbot finetune on mosaicml/mpt-7b-chat with hpu", "path": ".github/workflows/chatbot-finetune-mpt-7b-chat-hpu.yml", "contents": "name: Chatbot finetune on mosaicml/mpt-7b-chat with hpu\n\non:\n  workflow_call:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-ft-mpt-7b-hpu\n  cancel-in-progress: true\npermissions:\n  contents: read\n\njobs:\n  finetuning:\n    name: finetuning test\n    runs-on: guadi2-4\n    steps:\n      - name: Clean Up Working Directory\n        run: sudo rm -rf ~/itrex-actions-runner/_work/intel-extension-for-transformers/intel-extension-for-transformers/*\n\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n\n      - name: Load environment variables\n        run:\n          cat ~/itrex-actions-runner/.env >> $GITHUB_ENV\n\n      - name: Build Docker Image\n        run:\n          docker build --no-cache ./ --target hpu --build-arg REPO=${{ github.server_url }}/${{ github.event.pull_request.head.repo.full_name }}.git --build-arg REPO_PATH=\".\" --build-arg http_proxy=\"${{ env.HTTP_PROXY_IMAGE_BUILD }}\" --build-arg https_proxy=\"${{ env.HTTPS_PROXY_IMAGE_BUILD }}\" -f intel_extension_for_transformers/neural_chat/docker/Dockerfile -t chatbotfinetune-hpu:latest && yes | docker container prune && yes | docker image prune\n\n      - name: Start Docker Container\n        id: master_container\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotfinetune-hpu-s0\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n          docker run -tid --runtime=habana -v /mnt/DP_disk1/huggingface/cache/:/root/.cache/huggingface/hub -e http_proxy=\"${{ env.HTTP_PROXY_CONTAINER_RUN }}\" -e https_proxy=\"${{ env.HTTPS_PROXY_CONTAINER_RUN }}\" --name=\"chatbotfinetune-hpu-s0\" --hostname=\"chatbotfinetune-container-mpi-s0\" chatbotfinetune-hpu:latest\n\n      - name: Run Finetuning\n        run: |\n          cmd=\"python3 /intel-extension-for-transformers/workflows/chatbot/fine_tuning/instruction_tuning_pipeline/finetune_clm.py \\\n            --model_name_or_path mosaicml/mpt-7b-chat \\\n            --train_file /intel-extension-for-transformers/.github/workflows/sample_data/alpaca_data_sample_45.json \\\n            --bf16 True \\\n            --output_dir ./mpt_peft_finetuned_model \\\n            --num_train_epochs 3 \\\n            --per_device_train_batch_size 4 \\\n            --per_device_eval_batch_size 4 \\\n            --gradient_accumulation_steps 1 \\\n            --save_strategy \\\"epoch\\\" \\\n            --save_steps 2000 \\\n            --save_total_limit 1 \\\n            --learning_rate 1e-4  \\\n            --logging_steps 10 \\\n            --peft lora \\\n            --dataset_concatenation \\\n            --do_train \\\n            --tokenizer_name \\\"EleutherAI/gpt-neox-20b\\\" \\\n            --use_fast_tokenizer True \\\n            --max_eval_samples 64 \\\n            --device hpu \\\n            --use_habana \\\n            --use_lazy_mode \"\n\n          docker exec \"chatbotfinetune-hpu-s0\" bash -c \"$cmd\"\n\n      - name: Stop Container\n        if: success() || failure()\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotfinetune-hpu-s0\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n\n      - name: Test Summary\n        run: echo \"Finetuning completed successfully\"\n", "state": "disabled_manually", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:47.557313", "created_at": "2023-08-25T06:59:21+02:00", "updated_at": "2023-08-25T06:59:21+02:00", "name": "Chatbot finetune on mosaicml/mpt-7b-chat", "path": ".github/workflows/chatbot-finetune-mpt-7b-chat.yml", "contents": "name: Chatbot finetune on mosaicml/mpt-7b-chat\n\non:\n  workflow_call:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-ft-mpt-7b\n  cancel-in-progress: true\npermissions:\n  contents: read\n\njobs:\n  finetuning:\n    name: finetuning test\n    runs-on: lms-lab\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Load environment variables\n        run:\n          cat ~/itrex-actions-runner/.env >> $GITHUB_ENV\n      - name: Prepare Cache\n        run: cp ${{ env.CACHE }}/torch/* ./\n\n      - name: Build Docker Image\n        run:\n          if [[ $(docker images | grep chatbotfinetune-mpi | wc -l) == 0 ]]; then\n            docker build ./ --target cpu --build-arg REPO=${{ github.server_url }}/${{ github.repository }}.git --build-arg REPO_PATH=\".\" --build-arg http_proxy=\"${{ env.HTTP_PROXY_IMAGE_BUILD }}\" --build-arg https_proxy=\"${{ env.HTTPS_PROXY_IMAGE_BUILD }}\" -f intel_extension_for_transformers/neural_chat/docker/Dockerfile -t chatbotfinetune-mpi:latest && yes | docker container prune && yes | docker image prune;\n          fi\n\n      - name: Start Docker Container on socket 0\n        id: master_container\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotfinetune-mpi-s0\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n          numactl --cpunodebind=0 -- docker run -tid -v /mnt/DP_disk1/huggingface/cache/:/root/.cache/huggingface/hub -e http_proxy=\"${{ env.HTTP_PROXY_CONTAINER_RUN }}\" -e https_proxy=\"${{ env.HTTPS_PROXY_CONTAINER_RUN }}\" --name=\"chatbotfinetune-mpi-s0\" --hostname=\"chatbotfinetune-container-mpi-s0\" chatbotfinetune-mpi:latest\n          master=$(docker inspect -f \"{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}\" \"chatbotfinetune-mpi-s0\")\n          echo \"master_node=$master\" >> $GITHUB_OUTPUT\n\n      - name: Start Docker Container on socket 1\n        id: slave_container\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotfinetune-mpi-s1\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n          numactl --cpunodebind=1 -- docker run -tid -v /mnt/DP_disk1/huggingface/cache/:/root/.cache/huggingface/hub -e http_proxy=\"${{ env.HTTP_PROXY_CONTAINER_RUN }}\" -e https_proxy=\"${{ env.HTTPS_PROXY_CONTAINER_RUN }}\" --name=\"chatbotfinetune-mpi-s1\" --hostname=\"chatbotfinetune-container-mpi-s1\" chatbotfinetune-mpi:latest\n          slave=$(docker inspect -f \"{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}\" \"chatbotfinetune-mpi-s1\")\n          echo \"slave_node=$slave\" >> $GITHUB_OUTPUT\n\n      - name: Run Finetuning\n        run: |\n          sh .github/workflows/script/chatbot/prepare_ft_mpt-7b-chat_mpi.sh ${{ steps.master_container.outputs.master_node }} ${{ steps.slave_container.outputs.slave_node }}\n          docker exec \"chatbotfinetune-mpi-s0\" bash -c \"cd /intel-extension-for-transformers && pip uninstall intel-extension-for-transformers -y && python setup.py install\"\n          docker exec \"chatbotfinetune-mpi-s1\" bash -c \"cd /intel-extension-for-transformers && pip uninstall intel-extension-for-transformers -y && python setup.py install\"\n          docker exec \"chatbotfinetune-mpi-s0\" bash -c \"cd /intel-extension-for-transformers; source ./bash_setup.sh; mpirun -f ./hosts2 -n 2 -ppn 1 -genv OMP_NUM_THREADS=48 sh .github/workflows/script/chatbot/start_ft_mpt-7b-chat_mpi.sh\"\n\n      - name: Print Logs and Check Finetuning Status\n        if: success() || failure()\n        run: |\n          sh .github/workflows/script/chatbot/finish_ft_mpt-7b-chat_mpi.sh\n\n      - name: Stop Container\n        if: success() || failure()\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotfinetune-mpi-s0\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n          cid=$(docker ps -q --filter \"name=chatbotfinetune-mpi-s1\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n\n      - name: Test Summary\n        run: echo \"Finetuning completed successfully\"\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:48.683776", "created_at": "2023-08-21T15:10:48+02:00", "updated_at": "2023-08-23T03:35:54+02:00", "name": "Chatbot inference on llama-2-7b-chat-hf", "path": ".github/workflows/chatbot-inference-llama-2-7b-chat-hf.yml", "contents": "name: Chatbot inference on llama-2-7b-chat-hf\n\non:\n  workflow_call:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-inf-lla-7b\n  cancel-in-progress: true\npermissions:\n  contents: read\n\njobs:\n  inference:\n    name: inference test\n    runs-on: neural-chat-inference\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Load environment variables\n        run: cat ~/actions-runner/.env >> $GITHUB_ENV\n\n      - name: Build Docker Image\n        run:\n          if [ $(docker images | grep chatbotinfer-1-gha | wc -l) == 0 ]; then\n            docker build  --no-cache ./ --target cpu --build-arg REPO=${{ github.server_url }}/${{ github.repository }}.git --build-arg REPO_PATH=\".\" --build-arg http_proxy=\"${{ env.HTTP_PROXY_IMAGE_BUILD }}\" --build-arg https_proxy=\"${{ env.HTTPS_PROXY_IMAGE_BUILD }}\" -f intel_extension_for_transformers/neural_chat/docker/Dockerfile -t chatbotinfer-1-gha:latest && yes | docker container prune && yes | docker image prune;\n          fi\n\n      - name: Start Docker Container\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotinfer-gha\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n          docker run -tid -v /home/sdp/.cache/huggingface/hub:/root/.cache/huggingface/hub -e http_proxy=\"${{ env.HTTP_PROXY_CONTAINER_RUN }}\" -e https_proxy=\"${{ env.HTTPS_PROXY_CONTAINER_RUN }}\" --name=\"chatbotinfer-gha\" --hostname=\"chatbotinfer-gha-container\" chatbotinfer-1-gha:latest\n\n      - name: Run Inference Test\n        run: |\n          docker exec \"chatbotinfer-gha\" bash -c \"cd /intel-extension-for-transformers; \\\n                 git config --global --add safe.directory '*' && \\\n                 git submodule update --init --recursive && \\\n                 pip uninstall intel-extension-for-transformers -y; \\\n                 pip install -r requirements.txt; \\\n                 python setup.py install; \\\n                 pip install -r intel_extension_for_transformers/neural_chat/requirements.txt; \\\n                 python workflows/chatbot/inference/generate.py --base_model_path \\\"meta-llama/Llama-2-7b-chat-hf\\\" --hf_access_token \\\"${{ env.HF_ACCESS_TOKEN }}\\\" --instructions \\\"Transform the following sentence into one that shows contrast. The tree is rotten.\\\" \"\n\n      - name: Stop Container\n        if: always()\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotinfer-gha\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n\n      - name: Test Summary\n        run: echo \"Inference completed successfully\"\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:49.799793", "created_at": "2023-10-26T07:59:45+02:00", "updated_at": "2023-10-26T07:59:45+02:00", "name": "Chatbot inference on llama-2-7b-chat-hf with hpu and deepspeed", "path": ".github/workflows/chatbot-inference-llama-2-7b_70b-chat-hf-hpu.yml", "contents": "name: Chatbot inference on llama-2-7b-chat-hf with hpu and deepspeed\n\non:\n  workflow_call:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-inf-lla-7b-hpu\n  cancel-in-progress: true\npermissions:\n  contents: read\n\njobs:\n  inference:\n    name: inference test\n    runs-on: guadi2-4\n    steps:\n      - name: Clean Up Working Directory\n        run: sudo rm -rf ~/itrex-actions-runner/_work/intel-extension-for-transformers/intel-extension-for-transformers/*\n\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n\n      - name: Load environment variables\n        run: cat ~/itrex-actions-runner/.env >> $GITHUB_ENV\n\n      - name: Build Docker Image\n        run: docker build --no-cache ./ --target hpu --build-arg REPO=${{ github.server_url }}/${{ github.event.pull_request.head.repo.full_name }}.git --build-arg REPO_PATH=\".\" --build-arg http_proxy=\"${{ env.HTTP_PROXY_IMAGE_BUILD }}\" --build-arg https_proxy=\"${{ env.HTTPS_PROXY_IMAGE_BUILD }}\" -f intel_extension_for_transformers/neural_chat/docker/Dockerfile -t chatbotinfer-hpu:latest && yes | docker container prune && yes | docker image prune\n\n      - name: Start Docker Container\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotinfer-hpu\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n          docker run -tid --runtime=habana -v /mnt/DP_disk1/huggingface/cache/:/root/.cache/huggingface/hub -e http_proxy=\"${{ env.HTTP_PROXY_CONTAINER_RUN }}\" -e https_proxy=\"${{ env.HTTPS_PROXY_CONTAINER_RUN }}\" --name=\"chatbotinfer-hpu\" --hostname=\"chatbotinfer-hpu-container\" chatbotinfer-hpu:latest\n\n      - name: Run Inference Test without DeepSpeed\n        run: |\n          docker exec \"chatbotinfer-hpu\" bash -c \"cd /intel-extension-for-transformers; python workflows/chatbot/inference/generate.py --base_model_path \\\"meta-llama/Llama-2-7b-chat-hf\\\" --hf_access_token \\\"${{ env.HF_ACCESS_TOKEN }}\\\" --habana --use_hpu_graphs --instructions \\\"Transform the following sentence into one that shows contrast. The tree is rotten.\\\" \"\n\n      - name: Run Inference Test with DeepSpeed\n        run: |\n          docker exec \"chatbotinfer-hpu\" bash -c \"cd /intel-extension-for-transformers; export HABANA_VISIBLE_MODULES=\\\"0,1\\\"; python workflows/chatbot/utils/gaudi_spawn.py --use_deepspeed --world_size 2 workflows/chatbot/inference/generate.py --base_model_path \\\"meta-llama/Llama-2-7b-chat-hf\\\" --hf_access_token \\\"${{ env.HF_ACCESS_TOKEN }}\\\" --habana --use_hpu_graphs --use_kv_cache --task chat --instructions \\\"Transform the following sentence into one that shows contrast. The tree is rotten.\\\" \"\n\n      - name: Stop Container\n        if: success() || failure()\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotinfer-hpu\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n\n      - name: Test Summary\n        run: echo \"Inference completed successfully\"\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:50.858008", "created_at": "2023-09-01T02:57:43+02:00", "updated_at": "2023-09-18T05:21:20+02:00", "name": "Chatbot inference on mosaicml/mpt-7b-chat with hpu", "path": ".github/workflows/chatbot-inference-mpt-7b-chat-hpu.yml", "contents": "name: Chatbot inference on mosaicml/mpt-7b-chat with hpu\n\non:\n  workflow_call:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-inf-mpt-7b-hpu\n  cancel-in-progress: true\npermissions:\n  contents: read\n\njobs:\n  inference:\n    name: inference test\n    runs-on: guadi2-4\n    steps:\n      - name: Clean Up Working Directory\n        run: sudo rm -rf ~/itrex-actions-runner/_work/intel-extension-for-transformers/intel-extension-for-transformers/*\n\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n\n      - name: Load environment variables\n        run:\n          cat ~/itrex-actions-runner/.env >> $GITHUB_ENV\n\n      - name: Build Docker Image\n        run: docker build --no-cache ./ --target hpu --build-arg REPO=${{ github.server_url }}/${{ github.event.pull_request.head.repo.full_name }}.git --build-arg REPO_PATH=\".\" --build-arg http_proxy=\"${{ env.HTTP_PROXY_IMAGE_BUILD }}\" --build-arg https_proxy=\"${{ env.HTTPS_PROXY_IMAGE_BUILD }}\" -f intel_extension_for_transformers/neural_chat/docker/Dockerfile -t chatbotinfer-hpu:latest && yes | docker container prune && yes | docker image prune\n\n      - name: Start Docker Container\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotinfer-hpu\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n          docker run -tid --runtime=habana -v /mnt/DP_disk1/huggingface/cache/:/root/.cache/huggingface/hub -e http_proxy=\"${{ env.HTTP_PROXY_CONTAINER_RUN }}\" -e https_proxy=\"${{ env.HTTPS_PROXY_CONTAINER_RUN }}\" --name=\"chatbotinfer-hpu\" --hostname=\"chatbotinfer-hpu-container\" chatbotinfer-hpu:latest\n\n      - name: Run Inference Test\n        run: |\n          docker exec \"chatbotinfer-hpu\" bash -c \"cd /intel-extension-for-transformers; python workflows/chatbot/inference/generate.py --base_model_path \\\"mosaicml/mpt-7b-chat\\\" --habana --use_hpu_graphs --instructions \\\"Transform the following sentence into one that shows contrast. The tree is rotten.\\\" \"\n\n      - name: Stop Container\n        if: success() || failure()\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotinfer-hpu\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n\n      - name: Test Summary\n        run: echo \"Inference completed successfully\"\n", "state": "disabled_manually", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:51.864781", "created_at": "2023-08-23T03:35:54+02:00", "updated_at": "2023-08-23T03:35:54+02:00", "name": "Chatbot inference on mosaicml/mpt-7b-chat", "path": ".github/workflows/chatbot-inference-mpt-7b-chat.yml", "contents": "name: Chatbot inference on mosaicml/mpt-7b-chat\n\non:\n  workflow_call:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-inf-mpt-7b\n  cancel-in-progress: true\npermissions:\n  contents: read\n\njobs:\n  inference:\n    name: inference test\n    runs-on: neural-chat-inference\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Load environment variables\n        run:\n          cat ~/actions-runner/.env >> $GITHUB_ENV\n\n      - name: Build Docker Image\n        run:\n          if [ $(docker images | grep chatbotinfer-1-gha | wc -l) == 0 ]; then\n            docker build  --no-cache ./ --target cpu --build-arg REPO=${{ github.server_url }}/${{ github.repository }}.git --build-arg REPO_PATH=\".\" --build-arg http_proxy=\"${{ env.HTTP_PROXY_IMAGE_BUILD }}\" --build-arg https_proxy=\"${{ env.HTTPS_PROXY_IMAGE_BUILD }}\" -f intel_extension_for_transformers/neural_chat/docker/Dockerfile -t chatbotinfer-1-gha:latest && yes | docker container prune && yes | docker image prune;\n          fi\n\n      - name: Start Docker Container\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotinfer-gha\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n          docker run -tid -v /home/sdp/.cache/huggingface/hub:/root/.cache/huggingface/hub -e http_proxy=\"${{ env.HTTP_PROXY_CONTAINER_RUN }}\" -e https_proxy=\"${{ env.HTTPS_PROXY_CONTAINER_RUN }}\" --name=\"chatbotinfer-gha\" --hostname=\"chatbotinfer-gha-container\" chatbotinfer-1-gha:latest\n\n      - name: Run Inference Test\n        run: |\n          docker exec \"chatbotinfer-gha\" bash -c \"cd /intel-extension-for-transformers; \\\n                 git config --global --add safe.directory '*' && \\\n                 git submodule update --init --recursive && \\\n                 pip uninstall intel-extension-for-transformers -y; \\\n                 pip install -r requirements.txt; \\\n                 python setup.py install; \\\n                 pip install -r intel_extension_for_transformers/neural_chat/requirements.txt; \\\n                 python workflows/chatbot/inference/generate.py --base_model_path \\\"mosaicml/mpt-7b-chat\\\" --instructions \\\"Transform the following sentence into one that shows contrast. The tree is rotten.\\\" \"\n\n      - name: Stop Container\n        if: always()\n        run: |\n          cid=$(docker ps -q --filter \"name=chatbotinfer-gha\")\n          if [[ ! -z \"$cid\" ]]; then docker stop $cid && docker rm $cid; fi\n\n      - name: Test Summary\n        run: echo \"Inference completed successfully\"\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:52.860391", "created_at": "2023-08-17T04:50:18+02:00", "updated_at": "2024-07-02T05:33:30+02:00", "name": "Chat Bot Test", "path": ".github/workflows/chatbot-test.yml", "contents": "name: Chat Bot Test\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - '.github/workflows/chatbot-test.yml'\n      - '.github/workflows/chatbot-inference-llama-2-7b-chat-hf.yml'\n      - '.github/workflows/chatbot-inference-mpt-7b-chat.yml'\n      - '.github/workflows/chatbot-finetune-mpt-7b-chat.yml'\n      - '.github/workflows/chatbot-inference-llama-2-7b-chat-hf-hpu.yml'\n      - '.github/workflows/chatbot-inference-mpt-7b-chat-hpu.yml'\n      - '.github/workflows/chatbot-finetune-mpt-7b-chat-hpu.yml'\n      - '.github/workflows/script/chatbot/**'\n      - '.github/workflows/sample_data/**'\n      - 'intel_extension_for_transformers/neural_chat/**'\n      - 'intel_extension_for_transformers/transformers/llm/finetuning/**'\n      - 'intel_extension_for_transformers/transformers/llm/quantization/**'\n      - 'intel_extension_for_transformers/transformers/**'\n      - 'workflows/chatbot/inference/**'\n      - 'workflows/chatbot/fine_tuning/**'\n      - '!intel_extension_for_transformers/neural_chat/docs/**'\n      - '!intel_extension_for_transformers/neural_chat/tests/ci/**'\n      - '!intel_extension_for_transformers/neural_chat/examples/**'\n      - '!intel_extension_for_transformers/neural_chat/assets/**'\n      - '!intel_extension_for_transformers/neural_chat/README.md'\n\n  workflow_dispatch:\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  call-inference-llama-2-7b-chat-hf:\n    uses: ./.github/workflows/chatbot-inference-llama-2-7b-chat-hf.yml\n\n  call-inference-mpt-7b-chat:\n    uses: ./.github/workflows/chatbot-inference-mpt-7b-chat.yml\n\n\n#  call-inference-llama-2-7b-chat-hf-hpu:\n#    uses: ./.github/workflows/chatbot-inference-llama-2-7b_70b-chat-hf-hpu.yml\n#\n#  call-inference-mpt-7b-chat-hpu:\n#    uses: ./.github/workflows/chatbot-inference-mpt-7b-chat-hpu.yml\n#\n#  call-finetune-mpt-7b-chat-hpu:\n#    uses: ./.github/workflows/chatbot-finetune-mpt-7b-chat-hpu.yml\n", "state": "disabled_manually", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:53.884418", "created_at": "2023-10-27T05:53:52+02:00", "updated_at": "2023-10-27T05:53:52+02:00", "name": "Chat Bot Finetuning Test", "path": ".github/workflows/chatbot_finetuning.yml", "contents": "name: Chat Bot Finetuning Test\n\non:\n  workflow_dispatch:\n\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\njobs:\n  call-finetune-mpt-7b-chat:\n    uses: ./.github/workflows/chatbot-finetune-mpt-7b-chat.yml\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:54.939208", "created_at": "2023-07-28T15:01:40+02:00", "updated_at": "2023-07-28T15:01:40+02:00", "name": ".github/workflows/coverity-test.yml", "path": ".github/workflows/coverity-test.yml", "contents": null, "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:55.947240", "created_at": "2023-07-28T15:01:40+02:00", "updated_at": "2023-07-31T15:22:35+02:00", "name": "Deploy Model Test", "path": ".github/workflows/deploy-test.yml", "contents": "name: Deploy Model Test\n\non:\n  workflow_dispatch:\n\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\nenv:\n  OUT_SCRIPT_PATH: ${{ github.workspace }}/.github/workflows/script/models\n  SCRIPT_PATH: /intel-extension-for-transformers/.github/workflows/script\n  DOCKER_CONFIG_NAME: \"commonDockerConfig\"\n  REPO_NAME: \"intel-extension-for-transformers\"\n  REPO_TAG: \"py38\"\n  DOCKER_FILE_NAME: \"devel\"\n  CONTAINER_NAME: \"modelTest\"\n  EXTRA_CONTAINER_NAME: \"utTest\"\n  EXTRA_CONTAINER_NAME2: \"codeScan\"\n\npermissions:\n  contents: read\n\njobs:\n  Deploy-Workflow:\n    permissions:\n      actions: read  # for dawidd6/action-download-artifact to query and download artifacts\n      contents: read  # for actions/checkout to fetch code\n      pull-requests: read  # for dawidd6/action-download-artifact to query commit hash\n    runs-on: itrex-node\n    strategy:\n      matrix:\n        include:\n          - modelName: \"bert_mini_sparse\"\n            framework: \"engine\"\n            mode: \"accuracy,performance\"\n            precision: \"int8\"\n          - modelName: \"distilbert_base_squad_ipex\"\n            framework: \"ipex\"\n            mode: \"accuracy,performance\"\n            precision: \"int8\"\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.EXTRA_CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.EXTRA_CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.EXTRA_CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n          fetch-tags: true\n      # We need this because GitHub needs to clone the branch to pipeline\n      - name: Docker Build\n        run: |\n          docker build -f ${{ github.workspace }}/.github/workflows/docker/${{ env.DOCKER_FILE_NAME }}.dockerfile -t ${{ env.REPO_NAME }}:${{ env.REPO_TAG }} .\n\n      - name: Docker Run\n        run: |\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n            docker stop ${{ env.CONTAINER_NAME }}\n            docker rm -vf ${{ env.CONTAINER_NAME }} || true\n          fi\n          docker run -dit --disable-content-trust --privileged --name=${{ env.CONTAINER_NAME }} -v /dev/shm:/dev/shm \\\n          -v ${{ github.workspace }}:/intel-extension-for-transformers \\\n          -v ~/.cache/oneAPI:/cache \\\n          -v /dataset/cache/huggingface:/root/.cache/huggingface \\\n          ${{ env.REPO_NAME }}:${{ env.REPO_TAG }}\n\n      - name: Binary build\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script \\\n          && bash install_binary.sh\"\n\n      - name: Download Reference Artifact\n        id: download-artifact\n        uses: dawidd6/action-download-artifact@v3.1.2\n        with:\n          workflow: deploy-test.yml\n          name: ${{ matrix.framework }}-${{ matrix.modelName }}\n          run_id: ${{ vars.DEPLOY_REF_ID }}\n          path: ${{ github.workspace }}/${{ matrix.framework }}_${{ matrix.modelName }}_refer_log\n          name_is_regexp: true\n          repo: ${{ github.repository }}\n          check_artifacts: false\n          search_artifacts: false\n          skip_unpack: false\n          if_no_artifact_found: warn\n\n      - name: Display structure of downloaded files\n        run: ls -R\n\n      - name: FP32 Benchmark\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script/models \\\n          && bash run_deploy.sh --model=${{ matrix.modelName }} --framework=${{ matrix.framework }} --mode=${{ matrix.mode }} --precision=fp32 --PERF_STABLE_CHECK=${{ vars.PERF_STABLE_CHECK }}\"\n\n      - name: INT8 Benchmark\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script/models \\\n          && bash run_deploy.sh --model=${{ matrix.modelName }} --framework=${{ matrix.framework }} --mode=${{ matrix.mode }} --precision=int8 --PERF_STABLE_CHECK=${{ vars.PERF_STABLE_CHECK }}\"\n\n      - name: Collect Log\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script/models \\\n          && python collect_model_log.py --model=${{ matrix.modelName }} \\\n           --framework=${{ matrix.framework }} \\\n           --logs_dir=/intel-extension-for-transformers/${{matrix.framework}}_${{matrix.modelName}} \\\n           --output_dir=/intel-extension-for-transformers/${{matrix.framework}}_${{matrix.modelName}} \\\n           --build_id=${{ github.run_id }} \\\n           --model_test_type=deploy\"\n\n      - name: Publish pipeline artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: ${{ matrix.framework }}-${{ matrix.modelName }}\n          path: ${{ github.workspace }}/${{ matrix.framework }}_${{ matrix.modelName }}\n          if-no-files-found: ignore # 'warn' or 'ignore' are also available, defaults to `warn`\n          retention-days: 60 # 1 <= retention-days <= 90\n\n  Genreate-Report:\n    permissions:\n      actions: read  # for dawidd6/action-download-artifact to query and download artifacts\n      contents: read  # for actions/checkout to fetch code\n      pull-requests: read  # for dawidd6/action-download-artifact to query commit hash\n    runs-on: itrex-node-spell\n    needs: [Deploy-Workflow]\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.EXTRA_CONTAINER_NAME2 }}-${{ runner.name }}'$) ]]; then\n              docker start ${{ env.EXTRA_CONTAINER_NAME2 }}-${{ runner.name }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.EXTRA_CONTAINER_NAME2 }}-${{ runner.name }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n\n      - name: Download Summary Log\n        uses: actions/download-artifact@v4\n        with:\n          path: ${{ env.OUT_SCRIPT_PATH }}/log\n\n      - name: Analysis Summary\n        run: |\n          cd ${{ env.OUT_SCRIPT_PATH }}\n          mkdir generated\n          pip install requests\n          python summary.py --logs_dir ${{ env.OUT_SCRIPT_PATH }}/log --output_dir=generated\n\n      - name: Download Reference Artifact\n        id: download-artifact\n        uses: dawidd6/action-download-artifact@v3.1.2\n        with:\n          workflow: deploy-test.yml\n          name: FinalReport\n          run_id: ${{ vars.DEPLOY_REF_ID }}\n          path: ${{ env.OUT_SCRIPT_PATH }}\n          name_is_regexp: true\n          repo: ${{ github.repository }}\n          check_artifacts: false\n          search_artifacts: false\n          skip_unpack: false\n          if_no_artifact_found: warn\n\n      - name: Display structure of downloaded files\n        run: cd ${{ env.OUT_SCRIPT_PATH }}/log && ls -R\n\n      - name: Generate report\n        run: |\n          echo \"------ Generating final report.html ------\"\n          cd ${{ env.OUT_SCRIPT_PATH }}\n          /usr/bin/bash generate_report.sh --workflow=deploy\n        env:\n          RUN_DISPLAY_URL: https://github.com/VincyZhang/intel-extension-for-transformers/actions/runs/${{ github.run_id }}\n          BUILD_NUMBER: ${{ github.run_id }}\n          JOB_STATUS: succeed\n          MR_source_branch: ${{ github.event.pull_request._links.html.href }}\n          ghprbActualCommit: ${{ github.event.pull_request.head.sha }}\n\n      - name: Publish Report\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: FinalReport\n          path: ${{ env.OUT_SCRIPT_PATH }}/generated\n\n      - name: Specify performance regression\n        if: ${{ !cancelled() }}\n        run: |\n          if [ ${{ env.is_perf_reg }} == 'true' ]; then\n            echo \"[Performance Regression] Some model performance regression occurred, please check artifacts and reports.\"\n            exit 1\n          fi\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:57.015992", "created_at": "2023-07-28T15:01:40+02:00", "updated_at": "2023-07-31T15:22:35+02:00", "name": "Format Scan", "path": ".github/workflows/format_scan.yml", "contents": "name: Format Scan\n\non:\n  pull_request:\n    branches: [main]\n    paths:\n      - intel_extension_for_transformers/**\n      - neural_chat/**\n      - workflows/**\n      - setup.py\n      - .github/workflows/format_scan.yml\n      - .github/workflows/script/formatScan/**\n  workflow_dispatch:\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  DOCKER_CONFIG_NAME: \"commonDockerConfig\"\n  REPO_NAME: \"code-scan\"\n  REPO_TAG: \"1.0\"\n  DOCKER_FILE_NAME: \"codeScan\"\n  CONTAINER_NAME: \"codeScan\"\n\npermissions:\n  contents: read\n\njobs:\n  format-scan:\n    runs-on: itrex-node-spell\n    strategy:\n      matrix:\n        job_name: [\n            \"pylint\",\n            \"bandit\",\n            # \"clangformat\",\n            \"cloc\",\n            \"cpplint\",\n            # \"pydocstyle\",\n            #\"pyspelling\",\n            \"hadolint\"\n          ]\n      fail-fast: false\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}-${{ runner.name }}'$) ]]; then\n              docker start ${{ env.CONTAINER_NAME }}-${{ runner.name }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.CONTAINER_NAME }}-${{ runner.name }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n\n      - name: Docker Build\n        run: |\n          docker build -f ${{ github.workspace }}/.github/workflows/docker/${{ env.DOCKER_FILE_NAME }}.dockerfile -t ${{ env.REPO_NAME }}:${{ env.REPO_TAG }} .\n\n      - name: Docker Run\n        run: |\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}-${{ runner.name }}'$) ]]; then\n            docker stop ${{ env.CONTAINER_NAME }}-${{ runner.name }}\n            docker rm -vf ${{ env.CONTAINER_NAME }}-${{ runner.name }} || true\n          fi\n          docker run -dit --memory=\"4g\" --memory-reservation=\"1g\" --disable-content-trust --privileged --name=${{ env.CONTAINER_NAME }}-${{ runner.name }} --shm-size=\"1g\" \\\n          -v ${{ github.workspace }}:/intel-extension-for-transformers \\\n          ${{ env.REPO_NAME }}:${{ env.REPO_TAG }}\n\n      - name: Code scan check\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }}-${{ runner.name }} \\\n          bash -c \"bash /intel-extension-for-transformers/.github/workflows/script/formatScan/${{ matrix.job_name }}.sh\"\n\n      - name: Publish pipeline artifact\n        if: ${{ !cancelled() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.job_name }}\n          path: ${{ github.workspace }}/.github/workflows/script/formatScan/${{ matrix.job_name }}.*\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:58.104306", "created_at": "2023-07-28T15:01:40+02:00", "updated_at": "2024-07-03T06:48:50+02:00", "name": "LLM Model Test", "path": ".github/workflows/llm-test.yml", "contents": "name: LLM Model Test\n\non:\n  pull_request:\n    branches: [main]\n    paths:\n       - '.github/workflows/llm-test.yml'\n       - '.github/workflows/script/models/run_llm.sh'\n       - \"intel_extension_for_transformers/transformers/runtime/**\"\n       - \"!intel_extension_for_transformers/transformers/runtime/kernels/**\"\n       - \"!intel_extension_for_transformers/transformers/llm/runtime/neural_speed/**\"\n       - \"!intel_extension_for_transformers/transformers/runtime/test/**\"\n       - \"!intel_extension_for_transformers/transformers/runtime/third_party/**\"\n       - \"!intel_extension_for_transformers/transformers/runtime/docs/**\"\n  workflow_dispatch:\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  OUT_SCRIPT_PATH: ${{ github.workspace }}/.github/workflows/script/models\n  SCRIPT_PATH: ${{ github.workspace }}/.github/workflows/script\n  WORKING_DIR: ${{ github.workspace }}\n  EXTRA_CONTAINER_NAME: \"codeScan\"\n\n\npermissions:\n  contents: read\n\njobs:\n  LLM-Workflow:\n    runs-on: spr\n    strategy:\n      matrix:\n        include:\n          - modelName: \"gpt-j-6b\"\n            framework: \"engine\"\n            mode: \"latency\"\n            precision: \"bf16,int8,fp8\"\n    steps:\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n          fetch-tags: true\n\n      - name: Env build\n        run: |\n          bash ${{ github.workspace }}/.github/workflows/script/prepare_env_with_conda.sh \"llm-test\" \"3.8\"\n\n      - name: Binary build\n        run: |\n          cd ${{ github.workspace }}\n          source ~/.bashrc\n          conda activate llm-test || source activate llm-test\n          compiler_version=11.1.0\n          conda install --update-deps -c conda-forge gxx==${compiler_version} gcc==${compiler_version} gxx_linux-64==${compiler_version} libstdcxx-ng sysroot_linux-64 libxcrypt -y\n          python setup.py sdist bdist_wheel\n          pip install dist/intel_extension_for_transformers*.whl\n          pip list\n\n      - name: BF16 Benchmark\n        run: |\n          cd ${{ github.workspace }}/.github/workflows/script/models\n          bash run_llm.sh --model=${{ matrix.modelName }} --framework=${{ matrix.framework }} --mode=${{ matrix.mode }} --conda_env_name=llm-test --precision=bf16\n\n      - name: INT8 Benchmark\n        run: |\n          cd ${{ github.workspace }}/.github/workflows/script/models\n          bash run_llm.sh --model=${{ matrix.modelName }} --framework=${{ matrix.framework }} --mode=${{ matrix.mode }} --conda_env_name=llm-test --precision=int8\n\n      - name: FP8 Benchmark\n        run: |\n          cd ${{ github.workspace }}/.github/workflows/script/models\n          bash run_llm.sh --model=${{ matrix.modelName }} --framework=${{ matrix.framework }} --mode=${{ matrix.mode }} --conda_env_name=llm-test --precision=fp8\n\n\n      - name: Publish pipeline artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: llm\n          path: ${{ github.workspace }}/*.log\n          if-no-files-found: ignore # 'warn' or 'ignore' are also available, defaults to `warn`\n          retention-days: 60 # 1 <= retention-days <= 90\n\n  Generate-LLM-Report:\n    permissions:\n      actions: read  # for dawidd6/action-download-artifact to query and download artifacts\n      contents: read  # for actions/checkout to fetch code\n      pull-requests: read  # for dawidd6/action-download-artifact to query commit hash\n    runs-on: itrex-node-spell\n    needs: [LLM-Workflow]\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.EXTRA_CONTAINER_NAME }}-${{ runner.name }}'$) ]]; then\n              docker start ${{ env.EXTRA_CONTAINER_NAME }}-${{ runner.name }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.EXTRA_CONTAINER_NAME }}-${{ runner.name }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n\n      - name: Download Summary Log\n        uses: actions/download-artifact@v4\n        with:\n          path: ${{ env.OUT_SCRIPT_PATH }}/generated/log\n\n      - name: Download Reference Artifact\n        id: download-artifact\n        uses: dawidd6/action-download-artifact@v3.1.2\n        with:\n          workflow: llm-test.yml\n          name: FinalReport\n          run_id: ${{ vars.LLM_REF_ID }}\n          path: ${{ env.OUT_SCRIPT_PATH }}\n          name_is_regexp: true\n          repo: ${{ github.repository }}\n          check_artifacts: false\n          search_artifacts: false\n          skip_unpack: false\n          if_no_artifact_found: warn\n\n      - name: Display structure of downloaded files\n        run: cd ${{ env.OUT_SCRIPT_PATH }} && ls -R\n\n      - name: Generate report\n        run: |\n          echo \"------ Generating final report.html ------\"\n          cd ${{ env.OUT_SCRIPT_PATH }}\n          /usr/bin/bash generate_report.sh --workflow=deploy\n        env:\n          RUN_DISPLAY_URL: https://github.com/intel/intel-extension-for-transformers/actions/runs/${{ github.run_id }}\n          BUILD_NUMBER: ${{ github.run_id }}\n          JOB_STATUS: succeed\n          MR_source_branch: ${{ github.event.pull_request._links.html.href }}\n          ghprbActualCommit: ${{ github.event.pull_request.head.sha }}\n\n      - name: Publish Report\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: FinalReport\n          path: ${{ env.OUT_SCRIPT_PATH }}/generated\n\n      - name: Specify performance regression\n        run: |\n          if [ $(is_perf_reg) == 'true' ]; then\n            echo \"[Performance Regression] Some model performance regression occurred, please check artifacts and reports.\"\n            exit 1\n          fi\n", "state": "disabled_manually", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:49:59.140445", "created_at": "2023-07-28T15:01:40+02:00", "updated_at": "2023-07-31T15:22:35+02:00", "name": "Optimize Model Test", "path": ".github/workflows/optimize-test.yml", "contents": "name: Optimize Model Test\n\non:\n  workflow_dispatch:\n\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\nenv:\n  OUT_SCRIPT_PATH: ${{ github.workspace }}/.github/workflows/script/models\n  SCRIPT_PATH: /intel-extension-for-transformers/.github/workflows/script\n  DOCKER_CONFIG_NAME: \"commonDockerConfig\"\n  REPO_NAME: \"intel-extension-for-transformers\"\n  REPO_TAG: \"py38\"\n  DOCKER_FILE_NAME: \"devel\"\n  CONTAINER_NAME: \"modelTest\"\n  EXTRA_CONTAINER_NAME: \"utTest\"\n  EXTRA_CONTAINER_NAME2: \"codeScan\"\n\n\npermissions:\n  contents: read\n\njobs:\n  Optimize-Workflow:\n    permissions:\n      actions: read  # for dawidd6/action-download-artifact to query and download artifacts\n      contents: read  # for actions/checkout to fetch code\n      pull-requests: read  # for dawidd6/action-download-artifact to query commit hash\n    runs-on: itrex-node\n    strategy:\n      matrix:\n        include:\n          - modelName: \"bert_base_mrpc_static\"\n            framework: \"pytorch\"\n            mode: \"accuracy,performance\"\n          - modelName: \"bert_base_mrpc_static\"\n            framework: \"tensorflow\"\n            mode: \"accuracy,performance\"\n      fail-fast: true\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n          if [[ $(docker ps -a | grep -i '${{ env.EXTRA_CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.EXTRA_CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.EXTRA_CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n          fetch-tags: true\n    # We need this because GitHub needs to clone the branch to pipeline\n      - name: Docker Build\n        run: |\n          docker build -f ${{ github.workspace }}/.github/workflows/docker/${{ env.DOCKER_FILE_NAME }}.dockerfile -t ${{ env.REPO_NAME }}:${{ env.REPO_TAG }} .\n\n      - name: Docker Run\n        run: |\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n            docker stop ${{ env.CONTAINER_NAME }}\n            docker rm -vf ${{ env.CONTAINER_NAME }} || true\n          fi\n          docker run -dit --disable-content-trust --privileged --name=${{ env.CONTAINER_NAME }} -v /dev/shm:/dev/shm \\\n          -v ${{ github.workspace }}:/intel-extension-for-transformers \\\n          -v /dataset/cache/huggingface:/root/.cache/huggingface \\\n          -v ~/.cache/oneAPI:/cache \\\n          ${{ env.REPO_NAME }}:${{ env.REPO_TAG }}\n\n      - name: Binary build\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script \\\n          && bash install_binary.sh\"\n\n      - name: Download Reference Artifact\n        id: download-artifact\n        uses: dawidd6/action-download-artifact@v3.1.2\n        with:\n          workflow: optimize-test.yml\n          name: ${{ matrix.framework }}-${{ matrix.modelName }}\n          run_id: ${{ vars.OPTIMIZE_REF_ID }}\n          path: ${{ github.workspace }}/${{ matrix.framework }}_${{ matrix.modelName }}_refer_log\n          name_is_regexp: true\n          repo: ${{ github.repository }}\n          check_artifacts: false\n          search_artifacts: false\n          skip_unpack: false\n          if_no_artifact_found: warn\n\n      - name: Display structure of downloaded files\n        run: ls -R\n\n      - name: Tuning\n        run: |\n            docker exec ${{ env.CONTAINER_NAME }} \\\n            bash -c \"cd /intel-extension-for-transformers/.github/workflows/script/models \\\n            && bash run_optimize.sh --model=${{ matrix.modelName }} --framework=${{ matrix.framework }} --mode='tuning'\"\n\n      - name: INT8 Benchmark\n        run: |\n            docker exec ${{ env.CONTAINER_NAME }} \\\n            bash -c \"cd /intel-extension-for-transformers/.github/workflows/script/models \\\n            && bash run_optimize.sh --model=${{ matrix.modelName }} --framework=${{ matrix.framework }} --mode=${{ matrix.mode }} --precision=int8 --PERF_STABLE_CHECK=${{ vars.PERF_STABLE_CHECK }}\"\n\n      - name: FP32 Benchmark\n        run: |\n            docker exec ${{ env.CONTAINER_NAME }} \\\n            bash -c \"cd /intel-extension-for-transformers/.github/workflows/script/models \\\n            && bash run_optimize.sh --model=${{ matrix.modelName }} --framework=${{ matrix.framework }} --mode=${{ matrix.mode }} --precision=fp32 --PERF_STABLE_CHECK=${{ vars.PERF_STABLE_CHECK }}\"\n\n      - name: Collect Log\n        run: |\n            docker exec ${{ env.CONTAINER_NAME }} \\\n            bash -c \"cd /intel-extension-for-transformers/.github/workflows/script/models \\\n            && python collect_model_log.py --model=${{ matrix.modelName }} \\\n             --framework=${{ matrix.framework }} \\\n             --logs_dir=/intel-extension-for-transformers/${{matrix.framework}}_${{matrix.modelName}} \\\n             --output_dir=/intel-extension-for-transformers/${{matrix.framework}}_${{matrix.modelName}} \\\n             --build_id=${{ github.run_id }} \\\n             --model_test_type=optimize\"\n\n      - name: Publish pipeline artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: ${{ matrix.framework }}-${{ matrix.modelName }}\n          path: ${{ github.workspace }}/${{ matrix.framework }}_${{ matrix.modelName }}\n          if-no-files-found: ignore # 'warn' or 'ignore' are also available, defaults to `warn`\n          retention-days: 60 # 1 <= retention-days <= 90\n\n  Genreate-Report:\n    permissions:\n      actions: read  # for dawidd6/action-download-artifact to query and download artifacts\n      contents: read  # for actions/checkout to fetch code\n      pull-requests: read  # for dawidd6/action-download-artifact to query commit hash\n    runs-on: itrex-node-spell\n    needs: [Optimize-Workflow]\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.EXTRA_CONTAINER_NAME2 }}-${{ runner.name }}'$) ]]; then\n              docker start ${{ env.EXTRA_CONTAINER_NAME2 }}-${{ runner.name }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.EXTRA_CONTAINER_NAME2 }}-${{ runner.name }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n\n      - name: Download Summary Log\n        uses: actions/download-artifact@v4\n        with:\n          path: ${{ env.OUT_SCRIPT_PATH }}/log\n\n      - name: Analysis Summary\n        run: |\n            cd ${{ env.OUT_SCRIPT_PATH }}\n            mkdir generated\n            pip install requests\n            python summary.py --logs_dir ${{ env.OUT_SCRIPT_PATH }}/log --output_dir=generated\n\n      - name: Download Reference Artifact\n        id: download-artifact\n        uses: dawidd6/action-download-artifact@v3.1.2\n        with:\n          workflow: optimize-test.yml\n          name: FinalReport\n          run_id: ${{ vars.OPTIMIZE_REF_ID }}\n          path: ${{ env.OUT_SCRIPT_PATH }}\n          name_is_regexp: true\n          repo: ${{ github.repository }}\n          check_artifacts: false\n          search_artifacts: false\n          skip_unpack: false\n          if_no_artifact_found: warn\n\n      - name: Display structure of downloaded files\n        run: cd ${{ env.OUT_SCRIPT_PATH }}/log && ls -R\n\n      - name: Generate report\n        run: |\n          echo \"------ Generating final report.html ------\"\n          cd ${{ env.OUT_SCRIPT_PATH }}\n          /usr/bin/bash generate_report.sh --workflow=optimize\n        env:\n          RUN_DISPLAY_URL: https://github.com/intel/intel-extension-for-transformers/actions/runs/${{ github.run_id }}\n          BUILD_NUMBER: ${{ github.run_id }}\n          JOB_STATUS: succeed\n          MR_source_branch: ${{ github.event.pull_request._links.html.href }}\n          ghprbActualCommit: ${{ github.event.pull_request.head.sha }}\n\n\n      - name: Publish Report\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: FinalReport\n          path: ${{ env.OUT_SCRIPT_PATH }}/generated\n\n      - name: Specify performance regression\n        if: ${{ !cancelled() }}\n        run: |\n          if [ ${{ env.is_perf_reg }} == 'true' ]; then\n            echo \"[Performance Regression] Some model performance regression occurred, please check artifacts and reports.\"\n            exit 1\n          fi\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:00.332891", "created_at": "2024-03-04T08:33:50+01:00", "updated_at": "2024-03-11T04:16:46+01:00", "name": "CI-Summary", "path": ".github/workflows/probot.yml", "contents": "name: CI-Summary\n\non:\n  pull_request:\n    branches: [main]\n    types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: true\npermissions: write-all\njobs:\n  required-jobs:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.draft == false\n    timeout-minutes: 361 # in case something is wrong with the internal timeout\n    steps:\n      - uses: XuehaoSun/probot@0.2+itrex\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          job: check-group\n          interval: 180 # seconds\n          timeout: 360 # minutes\n          token: ${{ secrets.GITHUB_TOKEN }}\n          maintainers: \"[VincyZhang](https://github.com/VincyZhang)\"\n          owner: \"[VincyZhang](https://github.com/VincyZhang) or [XuehaoSun](https://github.com/XuehaoSun)\"\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:01.384326", "created_at": "2022-12-29T09:53:30+01:00", "updated_at": "2022-12-29T09:53:30+01:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    permissions:\n      contents: write  # for peaceiris/actions-gh-pages to push pages branch\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Build Online Document\n      run: |\n        git config --local --get remote.origin.url\n        cd docs/build_docs\n        bash build.sh latest\n\n    - name: Push to github\n      uses: peaceiris/actions-gh-pages@v3\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: ./build_tmp/gh-pages\n        publish_branch: gh-pages\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:02.508097", "created_at": "2023-07-28T15:01:40+02:00", "updated_at": "2024-03-11T06:25:46+01:00", "name": "SparseLib", "path": ".github/workflows/sparse_lib_CI.yml", "contents": "name: SparseLib\n\non:\n  workflow_dispatch:\n\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\n\nenv:\n  DOCKER_CONFIG_NAME: \"commonDockerConfig\"\n  REPO_NAME: \"intel-extension-for-transformers\"\n  REPO_TAG: \"py38\"\n  DOCKER_FILE_NAME: \"unitTest\"\n  CONTAINER_NAME: \"utTest\"\n\npermissions:\n  contents: read\n\njobs:\n  sparselib:\n    runs-on: itrex-node\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n\n      - name: Docker Build\n        run: |\n          docker build -f ${{ github.workspace }}/.github/workflows/docker/${{ env.DOCKER_FILE_NAME }}.dockerfile -t ${{ env.REPO_NAME }}:${{ env.REPO_TAG }} .\n\n      - name: Docker Run\n        run: |\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n            docker stop ${{ env.CONTAINER_NAME }}\n            docker rm -vf ${{ env.CONTAINER_NAME }} || true\n          fi\n          docker run -dit --disable-content-trust --privileged --name=${{ env.CONTAINER_NAME }} -v /dev/shm:/dev/shm \\\n            -v ${{ github.workspace }}:/intel-extension-for-transformers \\\n            -e report_title=\"SparseLib Test\" \\\n            -e BUILD_NUMBER=\"${{ github.run_number }}\" \\\n            -e BUILD_ID=\"${{ github.run_id }}\" \\\n            -e job_params=\"pre-CI\" \\\n            -e qtools_branch=\"${{ github.event.pull_request._links.html.href }}\" \\\n            -e qtools_commit=\"${{ github.event.pull_request._links.commits.href }}\" \\\n            -e summary_dir=\"/intel-extension-for-transformers\" \\\n            -e device_list=\"spr-itrex\" \\\n            -e overview_log=\"/intel-extension-for-transformers/benchmark_log/summary_overview.log\" \\\n            -e github_actions_job_status=\"${{ steps.SparseLib-Test.outcome }}\" \\\n            -e ghprbActualCommit=\"${{ github.event.pull_request.head.sha }}\" \\\n            -e ghprbHeadLink=\"${{ github.event.pull_request.head.repo.html_url }}\" \\\n            -e ghprbPullLink=\"${{ github.event.pull_request._links.html.href }}\" \\\n            -e ghprbPullId=\"${{ github.event.number }}\" \\\n            -e MR_source_branch=\"${{ github.event.pull_request._links.html.href }}\" \\\n            -e MR_target_branch=\"${{ github.base_ref }}\" \\\n            ${{ env.REPO_NAME }}:${{ env.REPO_TAG }}\n\n      - name: SparseLib Test\n        id: SparseLib-Test\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"bash /intel-extension-for-transformers/.github/workflows/script/SparseLibCI/run_sparse_lib.sh\"\n\n      - name: Generate Report\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"bash /generate_sparse_lib.sh\"\n\n      - name: Publish pipeline artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: SparseLib Test\n          path: ${{ github.workspace }}/benchmark_log\n          retention-days: 60\n", "state": "disabled_manually", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:03.736573", "created_at": "2024-05-20T09:24:25+02:00", "updated_at": "2024-05-20T09:24:25+02:00", "name": "Trellix Command Line Scanner", "path": ".github/workflows/trellix.yaml", "contents": "name: Trellix Command Line Scanner\n\non:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  Trellix:\n    runs-on: inner-source\n    steps:\n      - name: Clean Up Working Directory\n        run: sudo rm -rf ${{github.workspace}}/*\n\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n\n      - name: Run Trellix Scanner\n        env:\n          workspace: ${{ github.workspace }}\n        run: bash .github/workflows/script/formatScan/trellix.sh\n\n      - name: Publish pipeline artifact\n        if: ${{ !cancelled() }}\n        uses: actions/upload-artifact@v4\n        with:\n          path: ${{ github.workspace }}/.github/workflows/script/formatScan/report.html\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:04.863313", "created_at": "2023-07-28T15:01:40+02:00", "updated_at": "2024-07-11T04:41:35+02:00", "name": "Engine Unit Test", "path": ".github/workflows/unit-test-engine.yml", "contents": "name: Engine Unit Test\n\non:\n  pull_request:\n    branches: [main]\n    paths:\n      - \".github/workflows/unit-test-engine.yml\"\n      - \"requirements.txt\"\n      - \"setup.py\"\n      - intel_extension_for_transformers/transformers/**\n      - \"intel_extension_for_transformers/transformers/runtime/**\"\n      - \"!intel_extension_for_transformers/transformers/runtime/kernels/**\"\n      - \"!intel_extension_for_transformers/transformers/llm/runtime/neural_speed/**\"\n      - \"!intel_extension_for_transformers/transformers/runtime/third_party/**\"\n      - \"!intel_extension_for_transformers/transformers/runtime/docs/**\"\n  workflow_dispatch:\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  DOCKER_CONFIG_NAME: \"commonDockerConfig\"\n  REPO_NAME: \"intel-extension-for-transformers\"\n  REPO_TAG: \"py38\"\n  DOCKER_FILE_NAME: \"devel\"\n  CONTAINER_NAME: \"utTest\"\n  EXTRA_CONTAINER_NAME: \"modelTest\"\n  CONTAINER_SCAN: \"codeScan\"\n\npermissions:\n  contents: read\n\njobs:\n  engine-unit-test:\n    runs-on: [self-hosted, linux, X64, itrex-node]\n    strategy:\n      matrix:\n        include:\n          - test_branch: ${{ github.ref }}\n            test_name: \"PR-test\"\n          - test_branch: \"main\"\n            test_name: \"baseline\"\n    name: engine-unit-test-${{ matrix.test_name }}\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n          if [[ $(docker ps -a | grep -i '${{ env.EXTRA_CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.EXTRA_CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.EXTRA_CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n          ref: ${{ matrix.test_branch }}\n          fetch-tags: true\n\n      - name: Docker Build\n        run: |\n          docker build -f ${{ github.workspace }}/.github/workflows/docker/${{ env.DOCKER_FILE_NAME }}.dockerfile -t ${{ env.REPO_NAME }}:${{ env.REPO_TAG }} .\n\n      - name: Docker Run\n        run: |\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n            docker stop ${{ env.CONTAINER_NAME }}\n            docker rm -vf ${{ env.CONTAINER_NAME }} || true\n          fi\n          docker run -dit --disable-content-trust --privileged --name=${{ env.CONTAINER_NAME }} -v /dev/shm:/dev/shm \\\n          -v ${{ github.workspace }}:/intel-extension-for-transformers \\\n          -v ~/.cache/oneAPI:/cache \\\n          -v /dataset/tf_dataset2/inc-ut/nlptoolkit_ut_model:/tf_dataset2/inc-ut/nlptoolkit_ut_model \\\n          -v /dataset/models:/tf_dataset2/models \\\n          -v /dataset/cache/huggingface:/root/.cache/huggingface \\\n          ${{ env.REPO_NAME }}:${{ env.REPO_TAG }}\n\n      - name: Binary build\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script \\\n          && bash install_binary.sh\"\n\n      - name: Run UT\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script/unitTest \\\n          && export HF_HOME=/dataset/cache/ \\\n          && bash run_unit_test_engine.sh --test_name=${{ matrix.test_name }}\"\n\n      - name: Collect log\n        if: ${{ !cancelled() }}\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers && \\\n                   mv /log_dir . \"\n\n      - name: Publish pipeline artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: \"UnitTest${{ matrix.test_name }}\"\n          path: ${{ github.workspace }}/log_dir\n          retention-days: 5\n\n  Genreate-Engine-Report:\n    runs-on: itrex-node-spell\n    needs: [engine-unit-test]\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_SCAN }}-${{ runner.name }}'$) ]]; then\n              docker start ${{ env.CONTAINER_SCAN }}-${{ runner.name }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.CONTAINER_SCAN }}-${{ runner.name }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n\n      - name: Download UT PR Log\n        uses: actions/download-artifact@v4\n        with:\n          path: ${{ github.workspace }}/log_dir\n\n      - name: Display structure of downloaded files\n        run: cd ${{ github.workspace }}/log_dir && ls -R\n\n      - name: Calculate coverage\n        run: |\n          cd ${{ github.workspace }}/.github/workflows/script/unitTest/coverage\n          /usr/bin/bash calc_coverage.sh ${{ github.workspace }}/log_dir\n\n      - name: Publish pipeline artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: Engine Unit Test\n          path: ${{ github.workspace }}/log_dir\n          retention-days: 5\n", "state": "disabled_manually", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:05.979926", "created_at": "2023-07-28T15:01:40+02:00", "updated_at": "2023-07-31T15:22:35+02:00", "name": "Kernel Unit Test", "path": ".github/workflows/unit-test-kernel.yml", "contents": "name: Kernel Unit Test\n\non:\n  pull_request:\n    branches: [main]\n    paths:\n      - intel_extension_for_transformers/transformers/runtime/kernels/**\"\n      - .github/workflows/unit-test-kernel.yml\n      - '!intel_extension_for_transformers/transformers/runtime/kernels/README.md'\n      - '!intel_extension_for_transformers/transformers/runtime/kernels/docs/**'\n  workflow_dispatch:\n\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\nenv:\n  DOCKER_CONFIG_NAME: \"commonDockerConfig\"\n  REPO_NAME: \"intel-extension-for-transformers\"\n  REPO_TAG: \"py38\"\n  DOCKER_FILE_NAME: \"devel\"\n  CONTAINER_NAME: \"utTest\"\n  EXTRA_CONTAINER_NAME: \"modelTest\"\n\npermissions:\n  contents: read\n\njobs:\n  unit-test:\n    runs-on: [self-hosted, linux, X64, itrex-node]\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n          if [[ $(docker ps -a | grep -i '${{ env.EXTRA_CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.EXTRA_CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.EXTRA_CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n          fetch-tags: true\n\n      - name: Docker Build\n        run: |\n          docker build -f ${{ github.workspace }}/.github/workflows/docker/${{ env.DOCKER_FILE_NAME }}.dockerfile -t ${{ env.REPO_NAME }}:${{ env.REPO_TAG }} .\n\n      - name: Docker Run\n        run: |\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n            docker stop ${{ env.CONTAINER_NAME }}\n            docker rm -vf ${{ env.CONTAINER_NAME }} || true\n          fi\n          docker run -dit --disable-content-trust --privileged --name=${{ env.CONTAINER_NAME }} -v /dev/shm:/dev/shm \\\n          -v ${{ github.workspace }}:/intel-extension-for-transformers \\\n          -v /dataset/tf_dataset2:/tf_dataset2 \\\n          -v ~/.cache/oneAPI:/cache \\\n          ${{ env.REPO_NAME }}:${{ env.REPO_TAG }}\n\n      - name: Binary build\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script \\\n          && bash install_binary.sh\"\n\n      - name: Run UT\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script/unitTest \\\n          && export HF_HOME=/dataset/cache/ \\\n          && bash run_unit_test_kernel.sh\"\n\n      - name: Publish pipeline artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: Kernel Unit Test\n          path: ${{ github.workspace }}/log_dir/unit_test*.*\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:07.116290", "created_at": "2023-08-30T09:12:25+02:00", "updated_at": "2024-07-11T05:22:02+02:00", "name": "NeuralChat Unit Test", "path": ".github/workflows/unit-test-neuralchat.yml", "contents": "name: NeuralChat Unit Test\n\non:\n  pull_request:\n    branches: [main]\n    paths:\n      - '.github/workflows/unit-test-neuralchat.yml'\n      - '.github/workflows/script/unitTest/run_unit_test_neuralchat.sh'\n      - 'intel_extension_for_transformers/neural_chat/**'\n      - 'requirements.txt'\n      - 'setup.py'\n      - 'intel_extension_for_transformers/transformers/llm/finetuning/**'\n      - 'intel_extension_for_transformers/transformers/llm/quantization/**'\n      - 'intel_extension_for_transformers/transformers/llm/runtime/neural_speed/**'\n      - 'intel_extension_for_transformers/transformers/**'\n      - 'intel_extension_for_transformers/langchain/**'\n      - '!intel_extension_for_transformers/neural_chat/docs/**'\n      - '!intel_extension_for_transformers/neural_chat/examples/**'\n      - '!intel_extension_for_transformers/neural_chat/assets/**'\n      - '!intel_extension_for_transformers/neural_chat/README.md'\n      - '!intel_extension_for_transformers/transformers/llm/runtime/neural_speed/*.md'\n  workflow_dispatch:\n\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\nenv:\n  DOCKER_CONFIG_NAME: \"commonDockerConfig\"\n  REPO_NAME: \"intel-extension-for-transformers\"\n  REPO_TAG: \"py38\"\n  DOCKER_FILE_NAME: \"devel\"\n  CONTAINER_NAME: \"utTest\"\n  EXTRA_CONTAINER_NAME: \"modelTest\"\n  CONTAINER_SCAN: \"codeScan\"\n  GOOGLE_API_KEY: ${{ vars.GOOGLE_API_KEY }}\n\npermissions:\n  contents: read\n\njobs:\n  neuralchat-unit-test:\n    runs-on: [self-hosted, Linux, X64, itrex-node]\n    strategy:\n      matrix:\n        include:\n          - test_branch: ${{ github.ref }}\n            test_name: \"PR-test\"\n          - test_branch: \"main\"\n            test_name: \"baseline\"\n    name: neuralchat-unit-test-${{ matrix.test_name }}\n    steps:\n      - name: docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n          if [[ $(docker ps -a | grep -i '${{ env.EXTRA_CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.EXTRA_CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.EXTRA_CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n          ref: ${{ matrix.test_branch }}\n          fetch-tags: true\n\n      - name: docker Build\n        run: |\n          docker build -f ${{ github.workspace }}/.github/workflows/docker/${{ env.DOCKER_FILE_NAME }}.dockerfile -t ${{ env.REPO_NAME }}:${{ env.REPO_TAG }} .\n\n      - name: docker Run\n        run: |\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n            docker stop ${{ env.CONTAINER_NAME }}\n            docker rm -vf ${{ env.CONTAINER_NAME }} || true\n          fi\n          docker run -dit --disable-content-trust --privileged --name=${{ env.CONTAINER_NAME }} -v /dev/shm:/dev/shm \\\n          -v ${{ github.workspace }}:/intel-extension-for-transformers \\\n          -v ~/.cache/oneAPI:/cache \\\n          -v /home/itrex-docker/models:/models \\\n          -v /dataset/media:/media \\\n          -v /dataset/tf_dataset2:/tf_dataset2 \\\n          -e \"GOOGLE_API_KEY=${{ vars.GOOGLE_API_KEY }}\" \\\n          ${{ env.REPO_NAME }}:${{ env.REPO_TAG }}\n\n      - name: Binary build\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script \\\n          && bash install_binary.sh\"\n\n      - name: Run UT\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script/unitTest \\\n          && bash run_unit_test_neuralchat.sh --test_name=${{ matrix.test_name }}\"\n\n      - name: Collect log\n        if: ${{ !cancelled() }}\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers && \\\n                 mv /log_dir . \"\n\n      - name: Publish pipeline artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: \"UnitTest${{ matrix.test_name }}\"\n          path: ${{ github.workspace }}/log_dir\n\n\n  Generate-NeuralChat-Report:\n    runs-on: itrex-node-spell\n    needs: [neuralchat-unit-test]\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_SCAN }}-${{ runner.name }}'$) ]]; then\n              docker start ${{ env.CONTAINER_SCAN }}-${{ runner.name }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.CONTAINER_SCAN }}-${{ runner.name }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n\n      - name: Download UT PR Log\n        uses: actions/download-artifact@v4\n        with:\n          path: ${{ github.workspace }}/log_dir\n\n      - name: Display structure of downloaded files\n        run: cd ${{ github.workspace }}/log_dir && ls -R\n\n      - name: Calculate coverage\n        run: |\n          cd ${{ github.workspace }}/.github/workflows/script/unitTest/coverage\n          /usr/bin/bash calc_coverage.sh ${{ github.workspace }}/log_dir\n\n      - name: Publish pipeline artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: Neural Chat Unit Test\n          path: ${{ github.workspace }}/log_dir\n          retention-days: 5\n", "state": "disabled_manually", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:08.346608", "created_at": "2024-02-04T02:34:17+01:00", "updated_at": "2024-04-08T09:19:53+02:00", "name": "Neural Speed Unit Test", "path": ".github/workflows/unit-test-neuralspeed.yml", "contents": "name: Neural Speed Unit Test\n\non:\n  pull_request:\n    branches: [main]\n    paths:\n      - .github/workflows/unit-test-neuralspeed.yml\n      - '.github/workflows/script/unitTest/run_unit_test_neuraspeed.sh'\n  workflow_dispatch:\n\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\nenv:\n  DOCKER_CONFIG_NAME: \"commonDockerConfig\"\n  REPO_NAME: \"intel-extension-for-transformers\"\n  REPO_TAG: \"py38\"\n  DOCKER_FILE_NAME: \"devel\"\n  CONTAINER_NAME: \"utTest\"\n  EXTRA_CONTAINER_NAME: \"modelTest\"\n\npermissions:\n  contents: read\n\njobs:\n  neural-speed-unit-test:\n    runs-on: [self-hosted, linux, X64, llmruntime-node]\n    steps:\n      - name: Load environment variables\n        run: cat ~/actions-runner2/.env >> $GITHUB_ENV\n\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}-${{ runner.name }}'$) ]]; then\n              docker start ${{ env.CONTAINER_NAME }}-${{ runner.name }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.CONTAINER_NAME }}-${{ runner.name }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n          if [[ $(docker ps -a | grep -i '${{ env.EXTRA_CONTAINER_NAME }}-${{ runner.name }}'$) ]]; then\n              docker start ${{ env.EXTRA_CONTAINER_NAME }}-${{ runner.name }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.EXTRA_CONTAINER_NAME }}-${{ runner.name }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n          fetch-tags: true\n\n      - name: Docker Build\n        run: |\n          docker build -f ${{ github.workspace }}/.github/workflows/docker/${{ env.DOCKER_FILE_NAME }}.dockerfile --build-arg http_proxy=\"${{ env.HTTP_PROXY }}\" --build-arg https_proxy=\"${{ env.HTTPS_PROXY }}\" -t ${{ env.REPO_NAME }}:${{ env.REPO_TAG }} .\n\n      - name: Docker Run\n        run: |\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}-${{ runner.name }}'$) ]]; then\n            docker stop ${{ env.CONTAINER_NAME }}-${{ runner.name }}\n            docker rm -vf ${{ env.CONTAINER_NAME }}-${{ runner.name }} || true\n          fi\n          docker run -dit --disable-content-trust --privileged --name=${{ env.CONTAINER_NAME }}-${{ runner.name }} -v /dev/shm:/dev/shm \\\n          -e http_proxy=\"${{ env.HTTP_PROXY }}\" \\\n          -e https_proxy=\"${{ env.HTTPS_PROXY }}\" \\\n          -v ${{ github.workspace }}:/intel-extension-for-transformers \\\n          -v /tf_dataset2:/tf_dataset2 \\\n          -v ~/.cache/oneAPI:/cache \\\n          ${{ env.REPO_NAME }}:${{ env.REPO_TAG }}\n\n      - name: Binary build\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }}-${{ runner.name }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script \\\n          && bash install_binary.sh\"\n\n      - name: Run UT\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }}-${{ runner.name }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script/unitTest \\\n          && bash run_unit_test_neuralspeed.sh\"\n\n      - name: Publish pipeline artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: LLM Runtime Unit Test\n          path: ${{ github.workspace }}/log_dir/unit_test*.*\n", "state": "disabled_manually", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:09.574010", "created_at": "2023-07-28T15:01:40+02:00", "updated_at": "2023-07-31T15:22:35+02:00", "name": "Optimize Unit Test", "path": ".github/workflows/unit-test-optimize.yml", "contents": "name: Optimize Unit Test\n\non:\n  pull_request:\n    branches: [main]\n    paths:\n      - intel_extension_for_transformers/transformers/**\n      - requirements.txt\n      - setup.py\n      - intel_extension_for_transformers/transformers/llm/evaluation/**\n      - intel_extension_for_transformers/transformers/llm/quantization/**\n      - intel_extension_for_transformers/transformers/llm/runtime/neural_speed/**\n      - intel_extension_for_transformers/qbits/**\n      - tests/**\n      - .github/workflows/unit-test-optimize.yml\n      - '.github/workflows/script/unitTest/run_unit_test_optimize.sh'\n      - '!intel_extension_for_transformers/transformers/llm/runtime/neural_speed/*.md'\n      - intel_extension_for_transformers/qbits/qbits_ut/**\n\n  workflow_dispatch:\n\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\nenv:\n  DOCKER_CONFIG_NAME: \"commonDockerConfig\"\n  REPO_NAME: \"intel-extension-for-transformers\"\n  REPO_TAG: \"py38\"\n  DOCKER_FILE_NAME: \"devel\"\n  CONTAINER_NAME: \"utTest\"\n  EXTRA_CONTAINER_NAME: \"modelTest\"\n  CONTAINER_SCAN: \"codeScan\"\n\npermissions:\n  contents: read\n\njobs:\n  optimize-unit-test:\n    runs-on: [self-hosted, Linux, X64, itrex-node]\n    strategy:\n      matrix:\n        include:\n          - test_branch: ${{ github.ref }}\n            test_name: \"PR-test\"\n          - test_branch: \"main\"\n            test_name: \"baseline\"\n      fail-fast: true\n    name: optimize-unit-test-${{ matrix.test_name }}\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n          if [[ $(docker ps -a | grep -i '${{ env.EXTRA_CONTAINER_NAME }}'$) ]]; then\n              docker start ${{ env.EXTRA_CONTAINER_NAME }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.EXTRA_CONTAINER_NAME }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n          ref: ${{ matrix.test_branch }}\n          fetch-tags: true\n\n      - name: Docker Build\n        run: |\n          docker build -f ${{ github.workspace }}/.github/workflows/docker/${{ env.DOCKER_FILE_NAME }}.dockerfile -t ${{ env.REPO_NAME }}:${{ env.REPO_TAG }} .\n\n      - name: Docker Run\n        run: |\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_NAME }}'$) ]]; then\n            docker stop ${{ env.CONTAINER_NAME }}\n            docker rm -vf ${{ env.CONTAINER_NAME }} || true\n          fi\n          docker run -dit --disable-content-trust --privileged --name=${{ env.CONTAINER_NAME }} -v /dev/shm:/dev/shm \\\n          -v ${{ github.workspace }}:/intel-extension-for-transformers \\\n          -v /dataset/tf_dataset2:/tf_dataset2 \\\n          -v /dataset/cache/huggingface:/root/.cache/huggingface \\\n          -v ~/.cache/oneAPI:/cache \\\n          ${{ env.REPO_NAME }}:${{ env.REPO_TAG }}\n\n      - name: Binary build\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script \\\n          && bash install_binary.sh\"\n\n      - name: Run UT\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers/.github/workflows/script/unitTest \\\n          && export HF_HOME=/dataset/cache/ \\\n          && bash run_unit_test_optimize.sh --test_name=${{ matrix.test_name }}\"\n\n      - name: Collect log\n        if: ${{ !cancelled() }}\n        run: |\n          docker exec ${{ env.CONTAINER_NAME }} \\\n          bash -c \"cd /intel-extension-for-transformers && \\\n                   mv /log_dir . \"\n      - name: Publish pipeline artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: \"UnitTest${{ matrix.test_name }}\"\n          path: ${{ github.workspace }}/log_dir\n\n  Genreate-OptimizeUT-Report:\n    runs-on: itrex-node-spell\n    needs: [optimize-unit-test]\n    steps:\n      - name: Docker Clean Up\n        run: |\n          docker ps -a\n          if [[ $(docker ps -a | grep -i '${{ env.CONTAINER_SCAN }}-${{ runner.name }}'$) ]]; then\n              docker start ${{ env.CONTAINER_SCAN }}-${{ runner.name }}\n              echo \"remove left files through container ...\"\n              docker exec ${{ env.CONTAINER_SCAN }}-${{ runner.name }} bash -c \"ls -a /intel-extension-for-transformers && rm -fr /intel-extension-for-transformers/* && rm -fr /intel-extension-for-transformers/.* || true\"\n          fi\n      - name: Checkout out Repo\n        uses: actions/checkout@v4\n\n      - name: Download UT PR Log\n        uses: actions/download-artifact@v4\n        with:\n          path: ${{ github.workspace }}/log_dir\n\n      - name: Display structure of downloaded files\n        run: cd ${{ github.workspace }}/log_dir && ls -R\n\n      - name: Calculate coverage\n        run: |\n          cd ${{ github.workspace }}/.github/workflows/script/unitTest/coverage\n          /usr/bin/bash calc_coverage.sh ${{ github.workspace }}/log_dir\n\n      - name: Publish pipeline artifact\n        uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: Optimize Unit Test\n          path: ${{ github.workspace }}/log_dir\n          retention-days: 5\n", "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:10.803006", "created_at": "2023-12-06T14:32:19+01:00", "updated_at": "2024-06-28T05:57:13+02:00", "name": "Windows Binary Test", "path": ".github/workflows/windows-test.yml", "contents": "name: Windows Binary Test\n\non:\n  pull_request:\n    branches: [main]\n    paths:\n      - \".github/workflows/windows-test.yml\"\n      - \"requirements.txt\"\n      - \"setup.py\"\n      - \"intel_extension_for_transformers/transformers/runtime/**\"\n      - \"intel_extension_for_transformers/qbits/**\"\n      - \"!intel_extension_for_transformers/transformers/runtime/third_party/**\"\n      - \"!intel_extension_for_transformers/transformers/runtime/docs/**\"\n      - \"!intel_extension_for_transformers/transformers/runtime/test/**\"\n      - \"!intel_extension_for_transformers/qbits/qbits_ut/**\"\n  workflow_dispatch:\n# If there is a new commit, the previous jobs will be canceled\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n    cancel-in-progress: true\n\nenv:\n    SCRIPT_PATH: ${{ github.workspace }}\\.github\\workflows\\script\n    WORKING_DIR: ${{ github.workspace }}\n\npermissions:\n  contents: read\n\njobs:\n    Windows-Binary-Test:\n      runs-on: 'Windows'\n      steps:\n        - name: Checkout out Repo\n          uses: actions/checkout@v4\n          with:\n            submodules: \"recursive\"\n            fetch-tags: true\n            path: \"a\"\n\n        - name: Binary build\n          shell: cmd\n          run: |\n            SET HTTP_PROXY=${{ vars.HTTP_PROXY_WINDOWS }}\n            SET HTTPS_PROXY=${{ vars.HTTP_PROXY_WINDOWS }}\n            cd ${{ github.workspace }}\\a\\.github\\workflows\\script\n            prepare_env_with_conda.bat\n", "state": "disabled_manually", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:11.897169", "created_at": "2024-05-06T05:41:03+02:00", "updated_at": "2024-05-06T05:41:03+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:13.554172", "created_at": "2022-11-24T06:27:09+01:00", "updated_at": "2022-11-24T06:27:09+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "intel/intel-extension-for-transformers"}
{"mined_at": "2024-07-15T17:50:15.819774", "created_at": "2023-11-28T01:43:36+01:00", "updated_at": "2024-03-03T01:00:19+01:00", "name": "Check examples run", "path": ".github/workflows/check-examples.yml", "contents": "name: Check examples run\non:\n  push:\n    branches:\n      - \"master\"\n  pull_request:\n    branches:\n      - \"master\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - name: Checkout repository code\n        uses: actions/checkout@v4\n\n      # Setup Python (faster than using Python container)\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Install Python Kernel\n        run: |\n          pip install ipykernel\n          python -m ipykernel install --user --name python3\n\n      - name: Install dev dependencies\n        run: pip install -r requirements-dev.txt\n\n      - name: Install dependencies\n        run: pip install -r requirements.txt\n\n      - name: Build package\n        run: |\n          pip install build\n          python -m build\n\n      - name: Install built package\n        run: pip install --force-reinstall dist/*.whl\n\n      - name: Remove source\n        run: rm -rf ./src\n\n      - name: Setup node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 18\n\n      - name: Checkout PS\n        uses: actions/checkout@v4\n        with:\n          repository: smogon/pokemon-showdown\n          path: pokemon-showdown\n          submodules: recursive\n\n      - name: Get last showdown commit hash\n        id: showdown-hash\n        run: |\n          cd pokemon-showdown/\n          export hash=`git log -1 --pretty=format:%H`\n          echo \"hash=$hash\" >> $GITHUB_OUTPUT\n\n      - name: Restore server cache\n        uses: actions/cache@v4\n        with:\n          path: pokemon-showdown/node_modules\n          key: showdown-python${{ matrix.version }}-${{ steps.showdown-hash.outputs.hash }}\n          restore-keys: showdown-python${{ matrix.version }}-\n\n      - name: Install PS dependencies & setup config\n        run: |\n            cd pokemon-showdown\n            npm install\n            cp config/config-example.js config/config.js\n            sed  -i 's/backdoor = true/backdoor = false/g' config/config.js\n            sed  -i 's/simulatorprocesses = 1/simulatorprocesses = 2/g' config/config.js\n            sed  -i 's/.workers = 1 = 1/.workers = 2/g' config/config.js\n\n      - name: Start PS\n        run: cd pokemon-showdown;node pokemon-showdown start --no-security --max-old-space-size=3000 &\n\n      - name: Wait for server to be up\n        run: |\n            until $(curl --output /dev/null --silent --head --fail http://localhost:8000); do\n              sleep .01\n            done\n            sleep 1\n\n      - name: Run example notebooks\n        run: |\n            for notebook in $(find examples -name '*.ipynb'); do\n              jupyter nbconvert --to notebook --execute \"$notebook\" --output temp.ipynb\n              if [ $? -ne 0 ]; then\n              echo \"Execution of $notebook failed\"\n              exit 1\n              fi\n              rm examples/temp.ipynb\n            done", "state": "active", "repository": "hsahovic/poke-env"}
{"mined_at": "2024-07-15T17:50:16.946445", "created_at": "2022-12-02T02:00:36+01:00", "updated_at": "2024-03-03T00:56:27+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\non:\n  push:\n    branches:\n      - \"master\"\n  pull_request:\n    branches:\n      - \"master\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - name: Checkout repository code\n        uses: actions/checkout@v4\n\n      # Setup Python (faster than using Python container)\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dev dependencies\n        run: pip install -r requirements-dev.txt\n\n      - name: Install dependencies\n        run: pip install -r requirements.txt\n\n      - name: Download Pandoc\n        run: |\n          wget https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-linux-amd64.tar.gz\n          tar xvzf pandoc-3.1.9-linux-amd64.tar.gz --strip-components 2 -C /usr/local/bin\n\n      - name: Run black\n        run: black --check src/ unit_tests/ integration_tests/\n\n      - name: Run flake8\n        run: flake8 src/ unit_tests/ integration_tests/\n\n      - name: Run isort\n        run: isort --check .\n\n      - name: Run pyright\n        run: pyright src/\n\n      - name: Build docs\n        run: |\n            cd docs\n            make html\n", "state": "active", "repository": "hsahovic/poke-env"}
{"mined_at": "2024-07-15T17:50:18.072861", "created_at": "2020-09-16T02:27:05+02:00", "updated_at": "2020-09-16T02:27:05+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine build\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python -m build\n        twine upload dist/*\n", "state": "active", "repository": "hsahovic/poke-env"}
{"mined_at": "2024-07-15T17:50:19.064430", "created_at": "2022-12-02T03:57:55+01:00", "updated_at": "2024-03-03T00:56:27+01:00", "name": "Run tests", "path": ".github/workflows/tests.yml", "contents": "name: Run tests\non:\n  push:\n    branches:\n      - \"master\"\n  pull_request:\n    branches:\n      - \"master\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    strategy:\n      matrix:\n        version: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n      - name: Checkout repository code\n        uses: actions/checkout@v4\n\n      # Setup Python (faster than using Python container)\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.version }}\n\n      - name: Install dev dependencies\n        run: pip install -r requirements-dev.txt\n\n      - name: Install dependencies\n        run: pip install -r requirements.txt\n\n      - name: Run tests\n        run: PYTHONPATH=src pytest -x --cov=src/poke_env unit_tests/\n\n      - name: Convert coverage to XML\n        run: coverage xml\n\n      - name: Upload coverage report to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: coverage.xml\n\n      - name: Build package\n        run: |\n          pip install build\n          python -m build\n\n      - name: Install built package\n        run: pip install --force-reinstall dist/*.whl\n\n      - name: Remove source\n        run: rm -rf ./src\n\n      - name: Run package-based tests\n        run: pytest -x unit_tests/\n\n      - name: Setup node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 18\n\n      - name: Checkout PS\n        uses: actions/checkout@v4\n        with:\n          repository: smogon/pokemon-showdown\n          path: pokemon-showdown\n          submodules: recursive\n\n      - name: Get last showdown commit hash\n        id: showdown-hash\n        run: |\n          cd pokemon-showdown/\n          export hash=`git log -1 --pretty=format:%H`\n          echo \"hash=$hash\" >> $GITHUB_OUTPUT\n\n      - name: Restore server cache\n        uses: actions/cache@v4\n        with:\n          path: pokemon-showdown/node_modules\n          key: showdown-python${{ matrix.version }}-${{ steps.showdown-hash.outputs.hash }}\n          restore-keys: showdown-python${{ matrix.version }}-\n\n      - name: Install PS dependencies & setup config\n        run: |\n            cd pokemon-showdown\n            npm install\n            cp config/config-example.js config/config.js\n            sed  -i 's/backdoor = true/backdoor = false/g' config/config.js\n            sed  -i 's/simulatorprocesses = 1/simulatorprocesses = 2/g' config/config.js\n            sed  -i 's/.workers = 1 = 1/.workers = 2/g' config/config.js\n\n      - name: Start PS\n        run: cd pokemon-showdown;node pokemon-showdown start --no-security --max-old-space-size=3000 &\n\n      - name: Wait for server to be up\n        run: |\n            until $(curl --output /dev/null --silent --head --fail http://localhost:8000); do\n              sleep .01\n            done\n            sleep 1\n\n      - name: Run integration tests\n        run: pytest -x integration_tests/", "state": "active", "repository": "hsahovic/poke-env"}
{"mined_at": "2024-07-15T17:50:20.120784", "created_at": "2022-03-25T19:23:52+01:00", "updated_at": "2022-03-25T19:23:52+01:00", "name": "Update data files from smogon database", "path": ".github/workflows/update-data.yml", "contents": "name: Update data files from smogon database\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 0 * * *\njobs:\n  Update-data-files:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: master\n      - name: Run update script\n        run: |\n          chmod +x ./scripts/update_all_data.sh\n          ./scripts/update_all_data.sh\n          chmod -x ./scripts/update_all_data.sh\n      - name: Create or update pull request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          commit-message: JSON data update from smogon\n          branch: create-pull-request/update-data\n          delete-branch: true\n          title: Automatic data update from smogon\n          body: |\n            Automated data update by [update-data.yml](https://github.com/hsahovic/poke-env/tree/master/.github/workflows/update-data.yml)\n          assignees: ${{ github.repository_owner }}\n          reviewers: ${{ github.repository_owner }}\n          author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>", "state": "active", "repository": "hsahovic/poke-env"}
{"mined_at": "2024-07-15T17:50:23.398131", "created_at": "2023-03-23T14:11:55+01:00", "updated_at": "2023-04-19T15:26:52+02:00", "name": "Run Tests", "path": ".github/workflows/tests.yml", "contents": "name: Run Tests\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  unit-tests:\n    name: Run Tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # Select the Python versions to test against\n        os: [\"ubuntu-latest\", \"macos-latest\"]\n        python-version: [\"3.10\", \"3.11\"]\n      fail-fast: true\n    steps:\n      - name: Check out the code\n        uses: actions/checkout@v3.5.2\n        with:\n          fetch-depth: 1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Install Poetry\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.3\n        with:\n          version: 1.4.0\n\n      # Configure Poetry to use the virtual environment in the project\n      - name: Setup Poetry\n        run: |\n          poetry config virtualenvs.in-project true\n\n      # Install the dependencies\n      - name: Install Package\n        run: |\n          poetry install --with tests\n\n      - name: Check docstrings\n        run: |\n          poetry run xdoctest ./gpjax\n\n      # Run the unit tests and build the coverage report\n      - name: Run Tests\n        run: poetry run pytest -v --cov=./gpjax --cov-report=xml:./coverage.xml\n\n      - name: Upload code coverage\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          name: gpjax\n          flags: unittests\n          env_vars: OS,PYTHON\n", "state": "active", "repository": "jaxgaussianprocesses/gpjax"}
{"mined_at": "2024-07-15T17:50:24.565662", "created_at": "2023-04-10T21:29:45+02:00", "updated_at": "2023-05-11T23:33:36+02:00", "name": "PR Greetings", "path": ".github/workflows/pr_greeting.yml", "contents": "---\nname: PR Greetings\n\non: [pull_request_target]\n\npermissions:\n  pull-requests: write\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/first-interaction@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          pr-message: >+\n            Thank you for opening your first PR into GPJax!\n\n\n            If you have not heard from us in a while, please feel free to ping\n            `@gpjax/developers` or anyone who has commented on the PR.\n            Most of our reviewers are volunteers and sometimes things fall\n            through the cracks.\n\n\n            You can also join us [on\n            Slack](https://join.slack.com/t/gpjax/shared_invite/zt-1da57pmjn-rdBCVg9kApirEEn2E5Q2Zw) for real-time\n            discussion.\n\n\n            For details on testing, writing docs, and our review process,\n            please see [the developer\n            guide](https://docs.jaxgaussianprocesses.com/contributing/)\n\n\n            We strive to be a welcoming and open project. Please follow our\n            [Code of\n            Conduct](https://github.com/JaxGaussianProcesses/GPJax/blob/main/.github/CODE_OF_CONDUCT.md).\n", "state": "active", "repository": "jaxgaussianprocesses/gpjax"}
{"mined_at": "2024-07-15T17:50:25.612720", "created_at": "2023-04-22T16:26:07+02:00", "updated_at": "2023-05-11T23:33:37+02:00", "name": "Check linting", "path": ".github/workflows/ruff.yml", "contents": "name: Check linting\non:\n  pull_request:\n  push:\n    branches:\n      - main\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3.5.2\n      - uses: chartboost/ruff-action@v1\n", "state": "active", "repository": "jaxgaussianprocesses/gpjax"}
{"mined_at": "2024-07-15T17:50:26.650260", "created_at": "2023-04-24T23:11:43+02:00", "updated_at": "2023-05-11T23:33:36+02:00", "name": "Build the documentation", "path": ".github/workflows/build_docs.yml", "contents": "name: Build the documentation\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: write\n\njobs:\n  build-docs:\n    concurrency: ci-${{ github.ref }}\n    name: Build docs (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.10\"]\n\n    steps:\n      # Grap the latest commit from the branch\n      - name: Checkout the branch\n        uses: actions/checkout@v3.5.2\n        with:\n          persist-credentials: false\n\n      # Create a virtual environment\n      - name: create Conda environment\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n\n      # Install katex for math support\n      - name: Install NPM\n        uses: actions/setup-node@v3\n        with:\n          node-version: 16\n      - name: Install KaTeX\n        run: |\n          npm install katex\n      # Install Poetry and build the documentation\n      - name: Install and configure Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.2.2\n          virtualenvs-create: false\n          virtualenvs-in-project: false\n          installer-parallel: true\n\n      - name: Install LaTex\n        run: |\n          sudo apt-get update\n          sudo apt-get install texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra dvipng cm-super\n\n      - name: Build the documentation with MKDocs\n        run: |\n          cp docs/examples/gpjax.mplstyle .\n          poetry install --all-extras --with docs\n          conda install pandoc\n          poetry run mkdocs build\n\n      - name: Deploy Page 🚀\n        uses: JamesIves/github-pages-deploy-action@v4.4.1\n        with:\n          branch: gh-pages\n          folder: site\n", "state": "active", "repository": "jaxgaussianprocesses/gpjax"}
{"mined_at": "2024-07-15T17:50:27.705447", "created_at": "2023-04-24T23:11:43+02:00", "updated_at": "2023-05-11T23:33:37+02:00", "name": "Test documentation", "path": ".github/workflows/test_docs.yml", "contents": "name: Test documentation\n\non:\n  pull_request:\n\njobs:\n  test-docs:\n    # Functionality for testing documentation builds on multiple OSes and Python versions\n    name: Build docs (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    concurrency:\n      group: ${{ github.head_ref }}\n      cancel-in-progress: true\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.10\"]\n\n    steps:\n      # Grap the latest commit from the branch\n      - name: Checkout the branch\n        uses: actions/checkout@v3.5.2\n        with:\n          persist-credentials: false\n\n      # Create a virtual environment\n      - name: create Conda environment\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n\n      # Install katex for math support\n      - name: Install NPM\n        uses: actions/setup-node@v3\n        with:\n          node-version: 16\n      - name: Install KaTeX\n        run: |\n          npm install katex\n\n      - name: Install LaTex\n        run: |\n          sudo apt-get update\n          sudo apt-get install texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra dvipng cm-super\n\n      # Install Poetry and build the documentation\n      - name: Install and configure Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.2.2\n          virtualenvs-create: false\n          virtualenvs-in-project: false\n          installer-parallel: true\n\n      - name: Build the documentation with MKDocs\n        run: |\n          cp docs/examples/gpjax.mplstyle .\n          poetry install --all-extras --with docs\n          conda install pandoc\n          poetry run mkdocs build\n", "state": "active", "repository": "jaxgaussianprocesses/gpjax"}
{"mined_at": "2024-07-15T17:50:28.821905", "created_at": "2023-04-25T08:39:24+02:00", "updated_at": "2023-04-25T08:39:24+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "jaxgaussianprocesses/gpjax"}
{"mined_at": "2024-07-15T17:50:29.903803", "created_at": "2023-05-11T23:33:32+02:00", "updated_at": "2023-05-11T23:33:32+02:00", "name": "Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: Labeler\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  labeler:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v3.5.2\n\n      - name: Run Labeler\n        uses: crazy-max/ghaction-github-labeler@v4.1.0\n        with:\n          skip-delete: true\n", "state": "active", "repository": "jaxgaussianprocesses/gpjax"}
{"mined_at": "2024-07-15T17:50:31.059154", "created_at": "2023-05-30T21:58:54+02:00", "updated_at": "2023-05-30T21:58:54+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "jaxgaussianprocesses/gpjax"}
{"mined_at": "2024-07-15T17:50:32.075601", "created_at": "2023-06-11T22:42:56+02:00", "updated_at": "2023-06-13T20:11:30+02:00", "name": "Smoke Tests", "path": ".github/workflows/smoke.yml", "contents": null, "state": "active", "repository": "jaxgaussianprocesses/gpjax"}
{"mined_at": "2024-07-15T17:50:33.097324", "created_at": "2023-06-15T22:33:24+02:00", "updated_at": "2023-06-16T14:11:46+02:00", "name": "Integration Tests", "path": ".github/workflows/integration.yml", "contents": "name: Integration Tests\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  integration-tests:\n    name: Run Integration Tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # Select the Python versions to test against\n        os: [\"ubuntu-latest\", \"macos-latest\"]\n        python-version: [\"3.10\", \"3.11\"]\n      fail-fast: true\n    steps:\n      - name: Check out the code\n        uses: actions/checkout@v3.5.2\n        with:\n          fetch-depth: 1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # Install Poetry\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.3\n        with:\n          version: 1.4.0\n\n      # Configure Poetry to use the virtual environment in the project\n      - name: Setup Poetry\n        run: |\n          poetry config virtualenvs.in-project true\n\n      # Install the dependencies\n      - name: Install Package\n        run: |\n          poetry install --all-extras --with docs\n\n      # Run the unit tests and build the coverage report\n      - name: Run Integration Tests\n        run: poetry run python tests/integration_tests.py\n", "state": "active", "repository": "jaxgaussianprocesses/gpjax"}
{"mined_at": "2024-07-15T17:50:34.079387", "created_at": "2023-06-17T12:09:40+02:00", "updated_at": "2023-06-17T12:09:40+02:00", "name": ".github/workflows/docstring_coverage.yml", "path": ".github/workflows/docstring_coverage.yml", "contents": null, "state": "active", "repository": "jaxgaussianprocesses/gpjax"}
{"mined_at": "2024-07-15T17:50:36.299861", "created_at": "2022-05-10T22:37:41+02:00", "updated_at": "2022-05-10T22:37:41+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "3cn-ecn/nantralplatform"}
{"mined_at": "2024-07-15T17:50:37.382801", "created_at": "2022-05-14T22:25:07+02:00", "updated_at": "2022-05-14T22:56:06+02:00", "name": "Deploy Docs", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Deploy Docs\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - docs/**\n      - .github/workflows/deploy-docs.yml\n\ndefaults:\n  run:\n    working-directory: docs\n\njobs:\n  deploy:\n    name: Deploy docs to GitHub Pages\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Clone the repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0 # History of commits needed for lastUpdate author/time\n\n      - name: Setup Node\n        uses: actions/setup-node@v3\n        with:\n          node-version-file: docs/.nvmrc\n          cache: npm\n          cache-dependency-path: docs/package-lock.json\n\n      - name: Install dependencies\n        run: npm ci --omit=dev\n\n      - name: Build website\n        run: npm run build\n\n      - name: Deploy to GitHub Pages\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs/build\n          user_name: nantralplatform-bot\n          user_email: nantralplatform@gmail.com\n", "state": "active", "repository": "3cn-ecn/nantralplatform"}
{"mined_at": "2024-07-15T17:50:38.553516", "created_at": "2022-05-14T22:56:06+02:00", "updated_at": "2023-10-03T19:00:01+02:00", "name": "Deploy Server", "path": ".github/workflows/deploy-server.yml", "contents": "name: Deploy Server\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - backend/**\n      - deployment/**\n      - frontend/**\n      - email-templates-generator/**\n      - .github/workflows/deploy-server.yml\n\njobs:\n  changes:\n    name: Check changes on Front end\n    runs-on: ubuntu-latest\n    outputs:\n      backend: ${{ steps.filter.outputs.backend}}\n      frontend: ${{ steps.filter.outputs.frontend }}\n      email-templates: ${{ steps.filter.outputs.email-templates }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: dorny/paths-filter@v2\n        id: filter\n        with:\n          base: ${{ github.ref }}\n          filters: |\n            backend:\n              - 'backend/**'\n            frontend:\n              - 'frontend/**'\n            email-templates:\n              - 'email-templates-generator/**'\n\n  frontend-quality:\n    name: Test front end quality\n    needs: changes\n    if: ${{ needs.changes.outputs.frontend == 'true' }}\n    uses: ./.github/workflows/quality-frontend.yml\n    secrets: inherit\n\n  backend-quality:\n    name: Test Back End Quality\n    needs: changes\n    if: ${{ needs.changes.outputs.backend == 'true' }}\n    uses: ./.github/workflows/quality-backend.yml\n    secrets: inherit\n\n  email-templates-quality:\n    name: Test Email Templates Quality\n    needs: changes\n    if: ${{ needs.changes.outputs.email-templates == 'true' }}\n    uses: ./.github/workflows/quality-email-templates.yml\n    secrets: inherit\n\n  frontend-build:\n    name: Build front end\n    needs: frontend-quality\n    uses: ./.github/workflows/build-frontend.yml\n    with:\n      target-directory: \"nantralPlatform\"\n    secrets: inherit\n\n  email-templates-build:\n    name: Build email templates\n    needs: email-templates-quality\n    uses: ./.github/workflows/build-email-templates.yml\n    with:\n      target-directory: \"nantralPlatform\"\n    secrets: inherit\n\n  backup-database:\n    name: Create a backup of the database\n    runs-on: ubuntu-latest\n    steps:\n      - name: Backup before deploy\n        uses: appleboy/ssh-action@v1.0.0\n        with:\n          host: ${{ secrets.INSTANCE_ADDRESS }}\n          username: \"ubuntu\"\n          key: ${{ secrets.SSH_KEY_DEPLOY }}\n          script: |\n            cd nantralPlatform/deployment/scripts\n            ./db_backup.sh\n\n  deploy:\n    name: Deploy on VPS\n    needs:\n      [frontend-build, email-templates-build, backend-quality, backup-database]\n    if: ${{ always() }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to the VPS\n        uses: appleboy/ssh-action@master\n        with:\n          host: ${{ secrets.INSTANCE_ADDRESS }}\n          username: \"ubuntu\"\n          key: ${{ secrets.SSH_KEY_DEPLOY }}\n          script: |\n            cd nantralPlatform/deployment\n            git pull\n            sudo cp /etc/letsencrypt/live/nantral-platform.fr/privkey.pem /home/ubuntu/nantralPlatform/deployment/certs/key.pem\n            sudo cp /etc/letsencrypt/live/nantral-platform.fr/fullchain.pem /home/ubuntu/nantralPlatform/deployment/certs/cert.pem\n            sudo docker-compose -f docker-compose.yml -f docker-compose.prod.yml build --no-cache nginx backend celery celery-beat\n            docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d\n", "state": "active", "repository": "3cn-ecn/nantralplatform"}
{"mined_at": "2024-07-15T17:50:39.679648", "created_at": "2022-05-14T22:56:06+02:00", "updated_at": "2023-10-03T19:00:01+02:00", "name": "Deploy Staging", "path": ".github/workflows/deploy-staging.yml", "contents": "name: Deploy Staging\n\non: workflow_dispatch\n\njobs:\n  frontend-quality:\n    name: Test front end quality\n    uses: ./.github/workflows/quality-frontend.yml\n    secrets: inherit\n\n  backend-quality:\n    name: Test Back End Quality\n    uses: ./.github/workflows/quality-backend.yml\n    secrets: inherit\n\n  email-templates-quality:\n    name: Test Email Templates Quality\n    uses: ./.github/workflows/quality-email-templates.yml\n    secrets: inherit\n\n  frontend-build:\n    name: Build front end\n    needs: frontend-quality\n    uses: ./.github/workflows/build-frontend.yml\n    with:\n      target-directory: \"nantralPlatform-staging\"\n    secrets: inherit\n\n  email-templates-build:\n    name: Build email templates\n    needs: email-templates-quality\n    uses: ./.github/workflows/build-email-templates.yml\n    with:\n      target-directory: \"nantralPlatform-staging\"\n    secrets: inherit\n\n  clone-database:\n    name: Make a copy of the database\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone the prod database to staging database\n        uses: appleboy/ssh-action@v1.0.0\n        with:\n          host: ${{ secrets.INSTANCE_ADDRESS }}\n          username: \"ubuntu\"\n          key: ${{ secrets.SSH_KEY_DEPLOY }}\n          script: |\n            cd nantralPlatform/deployment/scripts\n            sudo apt-get install python3-psycopg2 -y\n            python3 -m venv env\n            source env/bin/activate\n            pip install -r requirements.txt\n            python3 db_staging.py\n            deactivate\n            rm -r env\n\n  deploy:\n    name: Deploy to staging\n    needs:\n      [frontend-build, email-templates-build, backend-quality, clone-database]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to the VPS\n        uses: appleboy/ssh-action@master\n        with:\n          host: ${{ secrets.INSTANCE_ADDRESS }}\n          username: \"ubuntu\"\n          key: ${{ secrets.SSH_KEY_DEPLOY }}\n          script: |\n            cd nantralPlatform-staging\n            git fetch origin ${{ github.ref_name }}:${{ github.ref_name }}\n            git switch ${{ github.ref_name }}\n            git reset --hard origin/${{ github.ref_name }}\n            cd ../nantralPlatform/deployment\n            sudo docker-compose -f docker-compose.yml -f docker-compose.prod.yml build backend-staging\n            docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d\n", "state": "active", "repository": "3cn-ecn/nantralplatform"}
{"mined_at": "2024-07-15T17:50:40.760332", "created_at": "2023-06-08T14:45:38+02:00", "updated_at": "2023-10-03T18:59:03+02:00", "name": "Quality Tests", "path": ".github/workflows/quality.yml", "contents": "name: Quality Tests\n\non: pull_request\n\njobs:\n  changes:\n    name: Check changes\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n    outputs:\n      backend: ${{ steps.filter.outputs.backend }}\n      frontend: ${{ steps.filter.outputs.frontend }}\n      docs: ${{ steps.filter.outputs.docs }}\n      email_templates: ${{ steps.filter.outputs.email_templates }}\n    steps:\n      - uses: dorny/paths-filter@v2\n        id: filter\n        with:\n          filters: |\n            backend:\n              - 'backend/**'\n            frontend:\n              - 'frontend/**'\n            docs:\n              - 'docs/**'\n            email_templates:\n              - 'email-templates-generator/**'\n\n  backend:\n    name: Back End Quality\n    needs: changes\n    if: ${{ needs.changes.outputs.backend == 'true' }}\n    uses: ./.github/workflows/quality-backend.yml\n    secrets: inherit\n\n  frontend:\n    name: Front End Quality\n    needs: changes\n    if: ${{ needs.changes.outputs.frontend == 'true' }}\n    uses: ./.github/workflows/quality-frontend.yml\n    secrets: inherit\n\n  email_templates:\n    name: Email Templates Quality\n    needs: changes\n    if: ${{ needs.changes.outputs.email_templates == 'true' }}\n    uses: ./.github/workflows/quality-email-templates.yml\n    secrets: inherit\n\n  docs:\n    name: Docs Quality\n    needs: changes\n    if: ${{ needs.changes.outputs.docs == 'true' }}\n    uses: ./.github/workflows/quality-docs.yml\n    secrets: inherit\n\n  final-check:\n    name: Final Check\n    needs: [backend, frontend, docs, email_templates]\n    if: ${{ always() }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check previous jobs status\n        run: |\n          status=$(echo \"${{ needs.backend.result }}\" | tr '[:upper:]' '[:lower:]')\n          status+=$(echo \" ${{ needs.frontend.result }}\" | tr '[:upper:]' '[:lower:]')\n          status+=$(echo \" ${{ needs.docs.result }}\" | tr '[:upper:]' '[:lower:]')\n          status+=$(echo \" ${{ needs.email_templates.result }}\" | tr '[:upper:]' '[:lower:]')\n          if [[ \"$status\" == *\"failure\"* ]]; then\n            echo \"One or more previous jobs failed.\"\n            exit 1\n          else\n            echo \"All previous jobs succeeded or were skipped.\"\n            exit 0\n          fi\n", "state": "active", "repository": "3cn-ecn/nantralplatform"}
{"mined_at": "2024-07-15T17:50:42.138399", "created_at": "2023-06-08T14:50:54+02:00", "updated_at": "2023-06-08T14:50:54+02:00", "name": "Test Back End Quality", "path": ".github/workflows/quality-backend.yml", "contents": "name: Test Back End Quality\n\non: workflow_call\n\njobs:\n  backend-quality:\n    name: Back End Quality\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        # default directory for 'run' actions only in steps\n        working-directory: backend\n\n    steps:\n      - name: Pull latest commit\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0 # History of commits needed for SonarCloud\n\n      - name: Setup Node for email templates\n        uses: actions/setup-node@v3\n        with:\n          node-version-file: email-templates-generator/.nvmrc\n          cache: npm\n          cache-dependency-path: email-templates-generator/package-lock.json\n\n      - name: Build email templates\n        run: |\n          cd ../email-templates-generator\n          npm ci\n          npm run build\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version-file: backend/.python-version\n          cache: pipenv\n          cache-dependency-path: backend/Pipfile.lock\n\n      - name: Install dependencies\n        run: |\n          curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python\n          pipenv verify\n          pipenv sync --dev\n\n      - name: Linter\n        run: |\n          pipenv run lint\n\n      - name: Run tests and collect coverage\n        run: |\n          pipenv run test:coverage\n          pipenv run coverage xml\n\n      - name: SonarCloud Scan\n        uses: SonarSource/sonarcloud-github-action@master\n        with:\n          projectBaseDir: backend\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_BACKEND }}\n", "state": "active", "repository": "3cn-ecn/nantralplatform"}
{"mined_at": "2024-07-15T17:50:43.366015", "created_at": "2023-06-08T14:50:54+02:00", "updated_at": "2023-06-08T14:50:54+02:00", "name": "Test Docs Quality", "path": ".github/workflows/quality-docs.yml", "contents": "name: Test Docs Quality\n\non: workflow_call\n\njobs:\n  docs-quality:\n    name: Docs Quality\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        # default directory for 'run' actions only in steps\n        working-directory: docs\n\n    steps:\n      - name: Pull latest commit\n        uses: actions/checkout@v3\n\n      - name: Set up Node\n        uses: actions/setup-node@v3\n        with:\n          node-version-file: docs/.nvmrc\n          cache: npm\n          cache-dependency-path: docs/package-lock.json\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Types test\n        run: npm run typecheck\n\n      - name: Lint test\n        run: npm run lint\n\n      - name: Try to build website\n        run: npm run build\n", "state": "active", "repository": "3cn-ecn/nantralplatform"}
{"mined_at": "2024-07-15T17:50:44.594813", "created_at": "2023-06-08T14:50:54+02:00", "updated_at": "2023-06-08T14:50:54+02:00", "name": "Test Front End Quality", "path": ".github/workflows/quality-frontend.yml", "contents": "name: Test Front End Quality\n\non: workflow_call\n\njobs:\n  frontend-quality:\n    name: Front End Quality\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        # default directory for 'run' actions only in steps\n        working-directory: frontend\n\n    steps:\n      - name: Clone the repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0 # History of commits needed for SonarCloud\n\n      - name: Setup Node\n        uses: actions/setup-node@v3\n        with:\n          node-version-file: frontend/.nvmrc\n          cache: npm\n          cache-dependency-path: frontend/package-lock.json\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Types test\n        run: npm run types\n\n      - name: Lint test\n        run: npm run lint\n\n      - name: Unit test\n        run: npm run jest -- --coverage\n\n      - name: Run SonarCloud scan\n        uses: SonarSource/sonarcloud-github-action@master\n        with:\n          projectBaseDir: frontend/\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_FRONTEND }}\n", "state": "active", "repository": "3cn-ecn/nantralplatform"}
{"mined_at": "2024-07-15T17:50:45.926205", "created_at": "2023-10-03T17:09:06+02:00", "updated_at": "2023-10-03T17:09:06+02:00", "name": "Test Email Templates Quality", "path": ".github/workflows/quality-email-templates.yml", "contents": "name: Test Email Templates Quality\n\non: workflow_call\n\njobs:\n  email-templates-quality:\n    name: Email Templates Quality\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        # default directory for 'run' actions only in steps\n        working-directory: email-templates-generator\n\n    steps:\n      - name: Clone the repository\n        uses: actions/checkout@v3\n\n      - name: Setup Node\n        uses: actions/setup-node@v3\n        with:\n          node-version-file: email-templates-generator/.nvmrc\n          cache: npm\n          cache-dependency-path: email-templates-generator/package-lock.json\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Types test\n        run: npm run types\n\n      - name: Lint test\n        run: npm run lint\n", "state": "active", "repository": "3cn-ecn/nantralplatform"}
{"mined_at": "2024-07-15T17:50:47.052643", "created_at": "2023-10-03T19:00:01+02:00", "updated_at": "2023-10-03T19:00:01+02:00", "name": "Build Email Templates", "path": ".github/workflows/build-email-templates.yml", "contents": "name: Build Email Templates\n\non:\n  workflow_call:\n    inputs:\n      target-directory:\n        required: true\n        type: string\n\njobs:\n  email-templates-build:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: email-templates-generator\n\n    steps:\n      - name: Clone the repository\n        uses: actions/checkout@v3\n\n      - name: Setup Node\n        uses: actions/setup-node@v3\n        with:\n          node-version-file: email-templates-generator/.nvmrc\n          cache: npm\n          cache-dependency-path: email-templates-generator/package-lock.json\n\n      - name: Install dependencies\n        run: npm ci --omit=dev\n\n      - name: Build email templates\n        run: npm run build\n\n      - name: Upload files to the VPS\n        uses: appleboy/scp-action@master\n        with:\n          host: ${{ secrets.INSTANCE_ADDRESS }}\n          username: \"ubuntu\"\n          key: ${{ secrets.SSH_KEY_DEPLOY }}\n          source: \"backend/templates/emails/*\"\n          target: ${{ inputs.target-directory }}\n", "state": "active", "repository": "3cn-ecn/nantralplatform"}
{"mined_at": "2024-07-15T17:50:48.281261", "created_at": "2023-10-03T19:00:01+02:00", "updated_at": "2023-10-03T19:00:01+02:00", "name": "Build Frontend", "path": ".github/workflows/build-frontend.yml", "contents": "name: Build Frontend\n\non:\n  workflow_call:\n    inputs:\n      target-directory:\n        required: true\n        type: string\n\njobs:\n  frontend-build:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: frontend\n\n    steps:\n      - name: Clone the repository\n        uses: actions/checkout@v3\n\n      - name: Setup Node\n        uses: actions/setup-node@v3\n        with:\n          node-version-file: frontend/.nvmrc\n          cache: npm\n          cache-dependency-path: frontend/package-lock.json\n\n      - name: Install dependencies\n        run: npm ci --omit=dev\n\n      - name: Build React\n        run: npm run build\n\n      - name: Upload files to the VPS\n        uses: appleboy/scp-action@master\n        with:\n          host: ${{ secrets.INSTANCE_ADDRESS }}\n          username: \"ubuntu\"\n          key: ${{ secrets.SSH_KEY_DEPLOY }}\n          source: \"backend/static/front/*\"\n          target: ${{ inputs.target-directory }}\n", "state": "active", "repository": "3cn-ecn/nantralplatform"}
{"mined_at": "2024-07-15T17:50:50.534132", "created_at": "2023-01-04T11:06:36+01:00", "updated_at": "2023-01-04T12:26:49+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13] # macos-latest broken atm\n        python-version: ['3.9', '3.11']\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n    - name: Build Morph-KGC\n      run: |\n        pip install .[test]\n    - name: Test with pytest\n      run: |\n        pytest\n", "state": "active", "repository": "morph-kgc/morph-kgc"}
{"mined_at": "2024-07-15T17:50:51.564365", "created_at": "2021-10-06T14:54:56+02:00", "updated_at": "2022-02-10T14:51:34+01:00", "name": "Publish to PyPi", "path": ".github/workflows/pypi-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Publish to PyPi\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine build\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python -m build --sdist --wheel\n        twine upload dist/*\n", "state": "active", "repository": "morph-kgc/morph-kgc"}
{"mined_at": "2024-07-15T17:50:53.706822", "created_at": "2022-11-21T12:04:28+01:00", "updated_at": "2022-11-21T12:04:28+01:00", "name": "Contributor License Agreement", "path": ".github/workflows/cla.yml", "contents": "name: Contributor License Agreement\n\non:\n  issue_comment:\n    types: [created]\n  pull_request_target:\n    types: [opened, closed, synchronize]\n\njobs:\n  cla:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Get CLA Manager access token\n      id: cla-token\n      uses: getsentry/action-github-app-token@v2.0.0\n      with:\n        app_id: ${{ secrets.CLA_MANAGER_APP_ID }}\n        private_key: ${{ secrets.CLA_MANAGER_PRIVATE_KEY}}\n\n    - name: cla\n      if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'\n      uses: contributor-assistant/github-action@v2.2.0\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        PERSONAL_ACCESS_TOKEN: ${{ steps.cla-token.outputs.token }}\n      with:\n        path-to-document: 'https://cla.qunasys.com'\n        remote-organization-name: 'QunaSys'\n        remote-repository-name: 'cla'\n        branch: 'main'\n        path-to-signatures: 'signatures/v1/cla.json'\n        custom-notsigned-prcomment: '<br/>Thank you for your submission, we really appreciate it. We ask that $you sign our [Contributor License Agreement](https://cla.qunasys.com) before we can accept your contribution. This CLA will also cover your future contributions submitted to QunaSys. You can sign the CLA by just posting a pull request comment same as the below format.<br/>'\n        allowlist: dependabot*\n", "state": "active", "repository": "qunasys/quri-parts"}
{"mined_at": "2024-07-15T17:50:54.769294", "created_at": "2022-11-21T12:04:28+01:00", "updated_at": "2022-11-21T12:04:28+01:00", "name": "Document", "path": ".github/workflows/doc.yml", "contents": "name: Document\n\non:\n  pull_request:\n    paths:\n      - packages/**/*.py\n      - docs\n      - poetry.lock\n      - .github/workflows/doc.yml\n  push:\n    branches: [main]\n\njobs:\n  build-deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - uses: ./.github/actions/python-poetry-install\n      with:\n        poetry-version: '1.4.0'\n        python-version: '3.9'\n\n    - uses: actions/cache@v3\n      with:\n        path: |\n          ~/.julia/\n        key: ci-${{ runner.os }}-julia-${{ hashFiles('poetry.lock') }}-cache\n        restore-keys: ci-${{ runner.os }}-julia-\n\n    - name: Download pandoc\n      if: steps.cache-pandoc.outputs.cache-hit != 'true'\n      run: |\n        wget https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb\n\n    - name: Install pandoc\n      run: |\n        yes | sudo dpkg -i pandoc-2.18-1-amd64.deb\n\n    - run: |\n        poetry env use 3.9\n        poetry install --only main,dev,doc\n\n    - run: poetry run julia -e 'using Pkg; Pkg.add(\"PythonCall\")'\n  \n    - run: poetry run make html\n      working-directory: docs\n\n    - name: deploy to Netlify\n      uses: nwtgck/actions-netlify@v2.0\n      with:\n        publish-dir: './docs/_build'\n        production-branch: main\n        alias: deploy-preview-${{ github.event.number }}\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n        enable-pull-request-comment: true\n      env:\n        NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n        NETLIFY_SITE_ID: c809dd00-1b20-41de-adc9-ad4c882d452d\n", "state": "active", "repository": "qunasys/quri-parts"}
{"mined_at": "2024-07-15T17:50:55.772448", "created_at": "2022-11-21T12:04:28+01:00", "updated_at": "2022-11-21T12:04:28+01:00", "name": "Check licenses of dependencies", "path": ".github/workflows/licensed.yml", "contents": "name: Check licenses of dependencies\n\non:\n  pull_request:\n    paths:\n      - .licenses/**\n      - packages/*/pyproject.toml\n  push:\n    branches: [main]\n    paths:\n      - packages/*/pyproject.toml\n  schedule:\n    - cron: '0 0 * * MON-FRI'\n  workflow_dispatch:\n    branches: [main]\n\njobs:\n  check-licenses:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n        cache: 'pip'\n        cache-dependency-path: 'packages/*/pyproject.toml'\n\n    - run: python -m venv venv\n    - run: . venv/bin/activate\n    - run: pip install -e packages/*\n\n    - uses: jonabc/setup-licensed@v1.1.2\n      with:\n        version: '3.x'\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n    \n    - run: licensed cache\n    - run: licensed status\n\n    - uses: slackapi/slack-github-action@v1.22.0\n      if: failure() && github.event_name == 'schedule'\n      with:\n        payload: |\n          {\n            \"message\": \"License check for QURI Parts failed.\",\n            \"url\": \"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n          }\n      env:\n        SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}", "state": "active", "repository": "qunasys/quri-parts"}
{"mined_at": "2024-07-15T17:50:56.985451", "created_at": "2022-11-21T12:04:28+01:00", "updated_at": "2022-11-21T12:04:28+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request:\n    paths:\n      - packages/**/*.py\n      - pyproject.toml\n      - poetry.lock\n      - .flake8\n      - .github/workflows/lint.yml\n  push:\n    branches: [main]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - uses: ./.github/actions/python-poetry-install\n      with:\n        poetry-version: '1.4.0'\n        python-version: '3.9'\n\n    - run: |\n        poetry env use 3.9\n        poetry install --only lint\n\n    - run: poetry run isort packages --check --diff\n      if: success() || failure()\n\n    - run: poetry run black packages --check\n      if: success() || failure()\n\n    - run: poetry run flake8 packages\n      if: success() || failure()\n\n    - run: poetry run docformatter -c -r packages\n      if: success() || failure()\n", "state": "active", "repository": "qunasys/quri-parts"}
{"mined_at": "2024-07-15T17:50:58.112067", "created_at": "2022-11-21T12:04:28+01:00", "updated_at": "2023-06-17T10:19:30+02:00", "name": "Package and release", "path": ".github/workflows/package.yml", "contents": "name: Package and release\n\non:\n  pull_request:\n  push:\n    branches: [main]\n  release:\n    types: [published]\n\njobs:\n  package:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        # Necessary to get tags for correct versioning\n        fetch-depth: 0\n\n    - uses: ./.github/actions/python-poetry-install\n      with:\n        poetry-version: '1.4.0'\n        python-version: '3.9'\n\n    - run: |\n        poetry self add \"poetry-dynamic-versioning[plugin]\"\n\n    - run: |\n        poetry env use 3.9\n        mkdir -p dist\n        cp -f NOTICE quri_parts/\n        poetry build\n        cd packages\n        for pkg in *\n        do\n          cd $pkg\n          cp -f NOTICE quri_parts/$pkg/\n          poetry build\n          mv dist/* ../../dist\n          cd ..\n        done\n\n    - uses: actions/upload-artifact@v3\n      with:\n        name: QURI parts packages\n        path: dist/*\n        if-no-files-found: error\n\n  release:\n    needs: [package]\n    if: github.event_name == 'release'\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/download-artifact@v3\n      with:\n        name: QURI parts packages\n\n    - name: Install Twine\n      run: python -m pip install twine\n\n    - name: Release to PyPI\n      run: python -m twine upload *\n      env:\n        TWINE_USERNAME: \"__token__\"\n        TWINE_PASSWORD: ${{ secrets.TWINE_API_TOKEN }}\n", "state": "active", "repository": "qunasys/quri-parts"}
{"mined_at": "2024-07-15T17:50:59.238609", "created_at": "2022-11-21T12:04:28+01:00", "updated_at": "2023-03-27T07:13:02+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  pull_request:\n    paths:\n      - packages/**/*.py\n      - poetry.lock\n      - .github/workflows/test.yml\n  push:\n    branches: [main]\n\njobs:\n  test:\n\n    strategy:\n      matrix:\n        python_version:\n          - 3.9\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - uses: ./.github/actions/python-poetry-install\n      with:\n        poetry-version: '1.4.0'\n        python-version: ${{ matrix.python_version }}\n\n    - uses: actions/cache@v3\n      with:\n        path: |\n          ~/.julia/\n        key: ci-${{ runner.os }}-julia-${{ hashFiles('poetry.lock') }}-cache\n        restore-keys: ci-${{ runner.os }}-julia-\n\n    - run: |\n        poetry env use ${{ matrix.python_version }}\n        poetry install --only main,dev\n\n    - run: poetry run python -c \"import juliapkg; print('PROJECT={}'.format(juliapkg.project()))\" | sed -ne '/^PROJECT=/p' >> \"$GITHUB_OUTPUT\"\n      id: julia_project\n\n    - run: poetry run julia  \"--project=${{ steps.julia_project.outputs.PROJECT }}\" -e 'using Pkg; Pkg.add(\"PythonCall\"); Pkg.instantiate()'\n\n    - run: poetry run pytest\n", "state": "active", "repository": "qunasys/quri-parts"}
{"mined_at": "2024-07-15T17:51:00.250517", "created_at": "2023-06-14T05:48:33+02:00", "updated_at": "2023-06-15T04:21:44+02:00", "name": "Type check", "path": ".github/workflows/typecheck.yml", "contents": "name: Type check\n\non:\n  pull_request:\n    paths:\n      - packages/**/*.py\n      - poetry.lock\n      - mypy.ini\n      - .github/workflows/typecheck.yml\n  push:\n    branches: [main]\n\njobs:\n  typecheck:\n\n    strategy:\n      matrix:\n        python_version:\n          - 3.9\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - uses: ./.github/actions/python-poetry-install\n      with:\n        poetry-version: '1.4.0'\n        python-version: ${{ matrix.python_version }}\n\n    - run: |\n        poetry env use ${{ matrix.python_version }}\n        poetry install --only main,dev,typecheck\n\n    - name: Cache mypy cache\n      uses: AustinScola/mypy-cache-github-action@v1.0.0\n\n    - run: poetry run mypy .\n      if: success() || failure()\n", "state": "active", "repository": "qunasys/quri-parts"}
{"mined_at": "2024-07-15T17:51:02.413091", "created_at": "2023-10-19T22:47:15+02:00", "updated_at": "2023-10-20T00:09:54+02:00", "name": "build-docs", "path": ".github/workflows/build-docs.yaml", "contents": "name: \"build-docs\"\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v3\n      - name: Clone docs repo\n        uses: actions/checkout@v3\n        with:\n          repository: Nixtla/docs\n          ref: scripts\n          path: docs-scripts\n      - uses: actions/setup-python@v4\n        with:\n          cache: \"pip\"\n          python-version: '3.10'\n          cache-dependency-path: settings.ini\n      - name: Build docs\n        run: |\n          set -ux\n          python -m pip install --upgrade pip\n          pip install -Uq nbdev\n          pip install -e \".[dev]\"\n          mkdir nbs/_extensions\n          cp -r docs-scripts/mintlify/ nbs/_extensions/\n          python docs-scripts/update-quarto.py\n          echo \"procs = nbdev_plotly.plotly:PlotlyProc\" >> settings.ini\n          nbdev_docs\n      - name: Apply final formats\n        run: bash ./docs-scripts/docs-final-formatting.bash\n      - name: Copy over necessary assets\n        run: |\n          cp nbs/mint.json _docs/mint.json\n          cp docs-scripts/imgs/* _docs/\n      - name: Deploy to Mintlify Docs\n        if: github.event_name == 'push'\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_branch: docs\n          publish_dir: ./_docs\n          user_name: github-actions[bot]\n          user_email: 41898282+github-actions[bot]@users.noreply.github.com\n      - name: Trigger mintlify workflow\n        if: github.event_name == 'push'\n        uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.DOCS_WORKFLOW_TOKEN }}\n          script: |\n            await github.rest.actions.createWorkflowDispatch({\n              owner: 'nixtla',\n              repo: 'docs',\n              workflow_id: 'mintlify-action.yml',\n              ref: 'main',\n            });\n      - name: Configure redirects for gh-pages\n        run: python docs-scripts/configure-redirects.py statsforecast\n      - name: Deploy to Github Pages\n        if: github.event_name == 'push'\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_branch: gh-pages\n          publish_dir: ./gh-pages\n          user_name: github-actions[bot]\n          user_email: 41898282+github-actions[bot]@users.noreply.github.com\n", "state": "active", "repository": "nixtla/statsforecast"}
{"mined_at": "2024-07-15T17:51:03.569746", "created_at": "2021-11-25T02:24:30+01:00", "updated_at": "2023-03-04T04:05:26+01:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  NIXTLA_NUMBA_CACHE: '1'\n\njobs:\n  nb-sync:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v2\n\n      - name: Set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Install nbdev\n        run: pip install nbdev\n\n      - name: Check if all notebooks are cleaned\n        run: |\n          echo \"Check we are starting with clean git checkout\"\n          if [ -n \"$(git status -uno -s)\" ]; then echo \"git status is not clean\"; false; fi\n          echo \"Trying to strip out notebooks\"\n          ./action_files/clean_nbs\n          echo \"Check that strip out was unnecessary\"\n          git status -s # display the status to see which nbs need cleaning up\n          if [ -n \"$(git status -uno -s)\" ]; then echo -e \"!!! Detected unstripped out notebooks\\n!!!Remember to run nbdev_install_git_hooks and running ./action_files/clean_nbs before committing\"; false; fi\n\n  run-local-tests:\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v3\n\n      - name: Set up environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: dev/local_environment.yml\n          create-args: python=${{ matrix.python-version }}\n          cache-environment: true\n\n      - name: Install pip requirements\n        run: pip install ./\n\n      - name: Run local tests\n        run: nbdev_test --skip_file_re '(models|distributed|ets).*.ipynb' --pause 1.0 --do_print --timing\n\n  run-tests:\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-13]\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v3\n\n      - name: Set up environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: dev/environment.yml\n          create-args: python=${{ matrix.python-version }}\n          cache-environment: true\n\n      - name: Install pip requirements\n        run: pip install ./\n\n      - name: Run tests \n        run: nbdev_test --skip_file_re '(distributed).*.ipynb' --pause 1.0 --do_print --timing\n\n      - name: Run integration tests\n        run: |\n          pip install \".[dev]\" pytest\n          pytest --durations=0 action_files\n\n  test-m3-performance:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v3\n\n      - name: Set up environment\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: dev/environment.yml\n          create-args: python=3.10\n          cache-environment: true\n\n      - name: Install library and extra deps\n        run: pip install \".[dev]\" fire\n\n      - name: Run M3 experiment\n        run: |\n          python -m src.experiment\n          python -m src.evaluation --test\n        working-directory: ./experiments/m3\n", "state": "active", "repository": "nixtla/statsforecast"}
{"mined_at": "2024-07-15T17:51:04.668576", "created_at": "2022-08-22T23:10:41+02:00", "updated_at": "2022-08-23T01:12:03+02:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": "name: Lint\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone repo\n        uses: actions/checkout@v3\n\n      - name: Set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Install linters\n        run: pip install black nbdev pre-commit\n\n      - name: Run pre-commit\n        run: pre-commit run --files statsforecast/*", "state": "active", "repository": "nixtla/statsforecast"}
{"mined_at": "2024-07-15T17:51:05.894047", "created_at": "2023-08-16T22:50:26+02:00", "updated_at": "2023-08-16T22:50:26+02:00", "name": "No Response Bot", "path": ".github/workflows/no-response.yaml", "contents": "name: No Response Bot\n\non:\n  issue_comment:\n    types: [created]\n  schedule:\n    - cron: '0 4 * * *'\n\njobs:\n  noResponse:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: lee-dohm/no-response@v0.5.0\n        with:\n          closeComment: >\n              This issue has been automatically closed because it has been awaiting a response for too long.\n              When you have time to to work with the maintainers to resolve this issue, please post a new comment and it will be re-opened.\n              If the issue has been locked for editing by the time you return to it, please open a new issue and reference this one.\n          daysUntilClose: 30\n          responseRequiredLabel: awaiting response\n          token: ${{ github.token }}\n", "state": "active", "repository": "nixtla/statsforecast"}
{"mined_at": "2024-07-15T17:51:06.956346", "created_at": "2022-04-11T22:43:36+02:00", "updated_at": "2022-08-15T22:29:36+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: python -m pip install build wheel\n    - name: Build package\n      run: python -m build -sw\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "nixtla/statsforecast"}
{"mined_at": "2024-07-15T17:51:08.150083", "created_at": "2023-12-19T23:52:35+01:00", "updated_at": "2023-12-19T23:52:35+01:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write\n      pull-requests: read\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "nixtla/statsforecast"}
{"mined_at": "2024-07-15T17:51:09.273729", "created_at": "2022-02-16T23:49:13+01:00", "updated_at": "2022-02-16T23:49:13+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nixtla/statsforecast"}
{"mined_at": "2024-07-15T17:51:11.527602", "created_at": "2023-11-14T17:55:57+01:00", "updated_at": "2024-01-05T18:12:41+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - 'main'\n  pull_request:\n\nenv:\n  SRC_DIR: discopy\n  TEST_DIR: test\n  DOCS_DIR: docs\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ 3.9 ]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install linter\n      run:\n        python -m pip install pyproject-flake8 coverage pylint\n    - name: Check for errors\n      run:\n        # stop the build if there are Python syntax errors or undefined names\n        pflake8 discopy\n    - name: pylint\n      run:\n        pylint discopy\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ 3.9, \"3.10\", \"3.11\", \"3.12\" ]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'  # caching pip dependencies\n    - name: Install\n      run: |\n        pip install coverage pytest\n        pip install torch --index-url https://download.pytorch.org/whl/cpu  # Install PyTorch without CUDA\n        pip install .[test]\n    - name: Test\n      run:\n        coverage run -m pytest\n    - name: Coverage\n      run:\n        coverage report --fail-under=98 --show-missing\n  docs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ 3.9 ]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Cache\n      id: cache\n      uses: actions/cache@v3\n      with:\n        path: |\n          ${{ env.DOCS_DIR }}/_api\n          ${{ env.DOCS_DIR }}/_build\n        key: ${{ runner.os }}-docs-${{ hashFiles('discopy/**', 'docs/**') }}  # TODO: refactor to use env.SRC_DIR and DOCS_DIR\n        restore-keys: |\n          ${{ runner.os }}-docs\n    - name: Install\n      if: steps.cache.outputs.cache-hit != 'true'\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y pandoc\n        pip install .[docs]\n    - name: Build\n      if: steps.cache.outputs.cache-hit != 'true'\n      run: |\n        sphinx-build ${{ env.DOCS_DIR }} ${{ env.DOCS_DIR }}/_build/html\n    - name: Upload\n      uses: actions/upload-artifact@v4\n      with:\n        name: docs\n        path: ${{ env.DOCS_DIR }}/_build/html # or path/to/artifact\n", "state": "active", "repository": "discopy/discopy"}
{"mined_at": "2024-07-15T17:51:12.497490", "created_at": "2022-05-11T20:16:15+02:00", "updated_at": "2023-11-20T18:47:38+01:00", "name": "build", "path": ".github/workflows/build_test.yml", "contents": null, "state": "active", "repository": "discopy/discopy"}
{"mined_at": "2024-07-15T17:51:14.514543", "created_at": "2023-01-08T15:27:54+01:00", "updated_at": "2024-05-19T22:24:34+02:00", "name": "Build Linux package v1.0.2", "path": ".github/workflows/build_lin.yml", "contents": "name: 'Build Linux package v1.0.2'\n\non:\n  workflow_call:\n    inputs:\n      TAG:\n        default: 'testing'\n        required: true\n        type: string\n  workflow_dispatch:\n    inputs:\n      TAG:\n        default: 'testing'\n        required: true\n        type: string\n\njobs:\n  linux:\n    name: Build Linux BIN\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r res/requirements.txt\n        pip install pyinstaller\n        pip install pyinstaller-hooks-contrib\n    - name: Build with Pyinstaller\n      run: |\n        pyinstaller --clean --noconfirm .github/workflows/JWLManager.bin.spec\n        mv dist/JWLManager dist/JWLManager_${{ inputs.TAG }}\n    - name: Upload BIN\n      uses: actions/upload-artifact@v4\n      with:\n        name: LinuxBIN\n        path: dist/JWLManager_${{ inputs.TAG }}\n", "state": "active", "repository": "erykjj/jwlmanager"}
{"mined_at": "2024-07-15T17:51:15.515174", "created_at": "2023-01-08T15:27:54+01:00", "updated_at": "2024-05-31T19:38:11+02:00", "name": "Build Mac package v1.0.2", "path": ".github/workflows/build_mac.yml", "contents": "name: 'Build Mac package v1.0.2'\n\non:\n  workflow_call:\n    inputs:\n      TAG:\n        default: 'testing'\n        required: true\n        type: string\n  workflow_dispatch:\n    inputs:\n      TAG:\n        default: 'testing'\n        required: true\n        type: string\n\njobs:\n  macos:\n    name: Build macOS APP\n    runs-on: macos-12\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r res/requirements.txt\n        pip install pyinstaller==5.13\n        pip install pyinstaller-hooks-contrib\n    - name: Build with Pyinstaller\n      run: pyinstaller --clean --noconfirm .github/workflows/JWLManager.app.spec\n    - name: Zip app\n      run: |\n        cd dist/\n        zip -r9 JWLManager_${{ inputs.TAG }}.app.zip JWLManager.app/\n    - name: Upload APP\n      uses: actions/upload-artifact@v4\n      with:\n        name: MacAPP\n        path: dist/JWLManager_${{ inputs.TAG }}.app.zip\n", "state": "active", "repository": "erykjj/jwlmanager"}
{"mined_at": "2024-07-15T17:51:16.531065", "created_at": "2023-01-08T03:07:41+01:00", "updated_at": "2024-05-02T16:30:31+02:00", "name": "Build Windows packages v1.0.1", "path": ".github/workflows/build_win.yml", "contents": "name: 'Build Windows packages v1.0.1'\n\non:\n  workflow_call:\n    inputs:\n      TAG:\n        default: 'testing'\n        required: true\n        type: string\n  workflow_dispatch:\n    inputs:\n      TAG:\n        default: 'testing'\n        required: true\n        type: string\n\njobs:\n  windows:\n    name: Build Windows EXE & ZIP\n    runs-on: windows-2019\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r res/requirements.txt\n        pip install pyinstaller\n        pip install pyinstaller-hooks-contrib\n    - name: Build EXE with Pyinstaller\n      run: |\n        pyinstaller --noconfirm .github/workflows/JWLManager.exe.spec\n    - name: Rename EXE\n      run: |\n        cd dist\n        ren JWLManager.exe JWLManager_${{ inputs.TAG }}.exe\n    - name: Build with Pyinstaller\n      run: |\n        pyinstaller --clean --noconfirm .github/workflows/JWLManager.zip.spec\n    - name: Rename & zip folder\n      run: |\n        cd dist\n        tar.exe -a -c -f JWLManager_${{ inputs.TAG }}.zip JWLManager\n    - name: Upload EXE\n      uses: actions/upload-artifact@v4\n      with:\n        name: WindowsEXE\n        path: dist/JWLManager_${{ inputs.TAG }}.exe\n    - name: Upload ZIP\n      uses: actions/upload-artifact@v4\n      with:\n        name: WindowsZIP\n        path: dist/JWLManager_${{ inputs.TAG }}.zip", "state": "active", "repository": "erykjj/jwlmanager"}
{"mined_at": "2024-07-15T17:51:17.517236", "created_at": "2023-01-08T16:08:15+01:00", "updated_at": "2024-05-02T17:59:16+02:00", "name": "Draft Release v1.0.0", "path": ".github/workflows/release.yml", "contents": "name: 'Draft Release v1.0.0'\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  linux:\n    uses: ./.github/workflows/build_lin.yml\n    with:\n      TAG:  ${{ github.ref_name }}\n  windows:\n    uses: ./.github/workflows/build_win.yml\n    with:\n      TAG:  ${{ github.ref_name }}\n  macOS:\n    uses: ./.github/workflows/build_mac.yml\n    with:\n      TAG:  ${{ github.ref_name }}\n  release:\n    name: Create Release Draft\n    needs: [linux, windows, macos]\n    runs-on: ubuntu-latest\n    env:\n      TAG: ${{ github.ref_name }}\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Download LinuxBIN\n      uses: actions/download-artifact@v4\n      with:\n        name: LinuxBIN\n    - name: Download WindowsEXE\n      uses: actions/download-artifact@v4\n      with:\n        name: WindowsEXE\n    - name: Download WindowsZIP\n      uses: actions/download-artifact@v4\n      with:\n        name: WindowsZIP\n    - name: Download MacAPP\n      uses: actions/download-artifact@v4\n      with:\n        name: MacAPP\n    - name: Extract release notes\n      id: extract-release-notes\n      uses: ffurrer2/extract-release-notes@v2\n    - name: Create release\n      uses: softprops/action-gh-release@v2\n      with:\n        tag_name: ${{ github.ref_name }}\n        name: ${{ github.ref_name }}\n        draft: true\n        prerelease: false\n        body: |\n          ${{ steps.extract-release-notes.outputs.release_notes }}\n          ____\n          You can download the latest source script and execute it from the commandline, or try these self-contained packages, which don't require the installation of Python or dependencies:\n          - Linux:\n            - Stand-alone: [JWLManager_${{ github.ref_name }}](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/JWLManager_${{ github.ref_name }})\n          - Windows 10/11:\n            - Stand-alone: [JWLManager_${{ github.ref_name }}.exe](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/JWLManager_${{ github.ref_name }}.exe)\n            - Zipped folder: [JWLManager_${{ github.ref_name }}.zip](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/JWLManager_${{ github.ref_name }}.zip)\n          - macOS 11/12/13:\n            - Zipped app: [JWLManager_${{ github.ref_name }}.app.zip](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/JWLManager_${{ github.ref_name }}.app.zip)\n        files: |\n          JWLManager_${{ github.ref_name }}\n          JWLManager_${{ github.ref_name }}.exe\n          JWLManager_${{ github.ref_name }}.zip\n          JWLManager_${{ github.ref_name }}.app.zip\n", "state": "active", "repository": "erykjj/jwlmanager"}
{"mined_at": "2024-07-15T17:51:18.534416", "created_at": "2024-05-25T20:23:51+02:00", "updated_at": "2024-05-25T20:23:51+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "erykjj/jwlmanager"}
{"mined_at": "2024-07-15T17:51:20.571884", "created_at": "2022-03-08T13:03:09+01:00", "updated_at": "2022-03-08T13:03:09+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "roshan-research/hazm"}
{"mined_at": "2024-07-15T17:51:21.616233", "created_at": "2023-03-29T15:03:50+02:00", "updated_at": "2023-05-17T17:39:17+02:00", "name": "Publish", "path": ".github/workflows/publish.yml", "contents": "name: Publish\n\non:\n  workflow_dispatch:\n  release:\n    types: [created]\n\njobs:\n  publish:    \n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n    - name: Install and configure Poetry\n      uses: snok/install-poetry@v1\n      with:\n        virtualenvs-create: false\n        virtualenvs-in-project: false\n    - name: Publish to pypi\n      run: |\n        poetry config pypi-token.pypi ${{secrets.PYPI_TOKEN}}\n        poetry --build publish\n", "state": "active", "repository": "roshan-research/hazm"}
{"mined_at": "2024-07-15T17:51:22.688856", "created_at": "2023-03-29T19:40:41+02:00", "updated_at": "2023-03-29T19:40:41+02:00", "name": "Build docs", "path": ".github/workflows/doc.yml", "contents": "name: Build docs\non:\n  workflow_dispatch:\n  release:\n    types: [published]\n\njobs:\n  update-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Install python\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.x\n        \n      - name: Install and configure Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: false\n          virtualenvs-in-project: false\n          \n      - name: Install requirements\n        run: |\n          poetry lock\n          poetry install --with docs\n\n      - name: Build docs\n        run: mkdocs build --clean\n\n      - name: Push back changes\n        uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: \"update docs\"\n          commit_user_name: \"documentation-bot\"\n          commit_user_email: \"documentation-bot@users.noreply.github.com\"\n", "state": "active", "repository": "roshan-research/hazm"}
{"mined_at": "2024-07-15T17:51:23.815227", "created_at": "2023-05-21T13:17:08+02:00", "updated_at": "2023-05-21T13:17:08+02:00", "name": "Run tests", "path": ".github/workflows/test.yml", "contents": "name: Run tests\n\non:\n    workflow_dispatch:\n    push:\n        branches: [master]\n        paths: [\"**.py\", \"pyproject.toml\"]\n    pull_request:\n        branches: [master]\n\njobs:\n    build:\n        runs-on: ubuntu-20.04\n        strategy:\n            matrix:\n                python-versions: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]               \n\n        steps:\n            - name: Checkout master\n              uses: actions/checkout@v4\n\n            - name: Install Python ${{ matrix.python-versions }}\n              uses: actions/setup-python@v4\n              with:\n                  python-version: ${{ matrix.python-versions }}\n\n            - name: Install poetry\n              run: curl -sSL https://install.python-poetry.org | python3 -\n\n            - name: Install dependencies\n              run: |\n                poetry lock\n                poetry install --with dev            \n\n            - uses: actions/setup-java@v3\n              with:\n                distribution: 'oracle'\n                java-version: '17'\n\n            - name: Download test files\n              run: |                  \n                  git clone https://github.com/roshan-research/hazm-test.git tests/files/\n\n            - name: Run tests\n              run: poetry run poe test\n", "state": "active", "repository": "roshan-research/hazm"}
{"mined_at": "2024-07-15T17:51:25.037369", "created_at": "2023-05-21T13:24:32+02:00", "updated_at": "2023-05-21T13:24:32+02:00", "name": "Run lints", "path": ".github/workflows/lint.yml", "contents": "name: Run lints\n\non:\n    workflow_dispatch:\n    push:        \n        paths: [\"**.py\"]    \njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n        - name: Checkout master\n          uses: actions/checkout@v3\n          \n        - name: Get changed files\n          id: changed-files\n          uses: tj-actions/changed-files@v41\n          with:\n            files: |\n              **/*.py\n          \n        - name: Upgrade pip\n          run: pip install --upgrade pip\n          \n        - name: Install ruff\n          run: pip install ruff\n          \n        - name: Ruff check          \n          run: ruff check ${{ steps.changed-files.outputs.all_changed_files }}\n          \n        - name: Push back changes\n          uses: stefanzweifel/git-auto-commit-action@v4\n          with:\n            commit_message: \"fix auto-fixable linting errors\"\n            commit_user_name: \"linter-bot\"\n            commit_user_email: \"linter-bot@users.noreply.github.com\"\n", "state": "active", "repository": "roshan-research/hazm"}
{"mined_at": "2024-07-15T17:51:27.147525", "created_at": "2022-10-25T13:11:17+02:00", "updated_at": "2024-06-26T12:59:15+02:00", "name": "Main", "path": ".github/workflows/main.yaml", "contents": "name: Main\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - '**'\n    paths-ignore:\n      - docs/**\n      - README.rst\n      - LICENSE.md\n      - publishing.md\n  pull_request:\n\nenv:\n  WEAVIATE_123: 1.23.14\n  WEAVIATE_124: 1.24.10\n  WEAVIATE_125: preview--c57fecf\n\n\njobs:\n  lint-and-format:\n    name: Run Linter and Formatter\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n        with:\n            version: \"23.9.1\"\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: 'pip' # caching pip dependencies\n      - run: pip install -r requirements-devel.txt\n      - name: \"Flake 8\"\n        run: flake8 weaviate test mock_tests integration\n      - name: \"Check release for pypi\"\n        run: |\n          python -m build\n          python -m twine check dist/*\n\n  type-checking:\n    name: Run Type Checking\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        folder: [\"weaviate\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: 'pip' # caching pip dependencies\n      - run: pip install -r requirements-devel.txt\n      - name: Run mypy\n        run: mypy --warn-unused-ignores --python-version ${{matrix.version}} ${{ matrix.folder }}\n      - uses: jakebailey/pyright-action@v2\n        with:\n          version: 1.1.347\n\n  unit-tests:\n    name: Run Unit Tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        folder: [\"test\", \"mock_tests\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.version }}\n          cache: 'pip' # caching pip dependencies\n      - run: pip install -r requirements-devel.txt\n      - name: Run unittests\n        run: pytest --cov -v --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-${{ matrix.folder }}.xml ${{ matrix.folder }}\n      - name: Archive code coverage results\n        if: matrix.version == '3.10' && (github.ref_name != 'main')\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-report-${{ matrix.folder }}\n          path: coverage-${{ matrix.folder }}.xml\n\n  integration-tests-embedded:\n    name: Run Integration Tests Embedded\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        optional_dependencies: [false]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.version }}\n          cache: 'pip' # caching pip dependencies\n      - run: |\n          pip install -r requirements-devel.txt\n          pip install .\n      - name: Run integration tests\n        if: ${{ !github.event.pull_request.head.repo.fork }}\n        run: pytest -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration-embedded.xml integration_embedded\n      - name: Archive code coverage results\n        if: matrix.version == '3.10' && (github.ref_name != 'main')\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-report-integration-embedded\n          path: coverage-integration-embedded.xml\n\n  integration-tests-v3:\n    name: Run Integration Tests v3\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        versions: [\n          { py: \"3.8\", weaviate: $WEAVIATE_125},\n          { py: \"3.9\", weaviate: $WEAVIATE_125},\n          { py: \"3.10\", weaviate: $WEAVIATE_125},\n          { py: \"3.11\", weaviate: $WEAVIATE_123},\n          { py: \"3.11\", weaviate: $WEAVIATE_124},\n          { py: \"3.11\", weaviate: $WEAVIATE_125},\n          { py: \"3.12\", weaviate: $WEAVIATE_125}\n        ]\n        optional_dependencies: [false]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.versions.py }}\n          cache: 'pip' # caching pip dependencies\n      - run: |\n          pip install -r requirements-devel.txt\n          pip install .\n      - name: free space\n        run: sudo rm -rf /usr/local/lib/android\n      - name: start weaviate\n        run: /bin/bash ci/start_weaviate.sh ${{ matrix.versions.weaviate }}\n      - name: Run integration tests with auth secrets\n        if: ${{ !github.event.pull_request.head.repo.fork }}\n        env:\n          AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}\n          OKTA_CLIENT_SECRET: ${{ secrets.OKTA_CLIENT_SECRET }}\n          WCS_DUMMY_CI_PW: ${{ secrets.WCS_DUMMY_CI_PW }}\n          OKTA_DUMMY_CI_PW: ${{ secrets.OKTA_DUMMY_CI_PW }}\n#          OPENAI_APIKEY: ${{ secrets.OPENAI_APIKEY }}  disabled until we have a working key\n        run: pytest -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration-v3.xml integration_v3\n      - name: Run integration tests without auth secrets (for forks)\n        if: ${{ github.event.pull_request.head.repo.fork }}\n        run: pytest -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration-v3.xml integration_v3\n      - name: Archive code coverage results\n        if: matrix.versions.py == '3.10' && (github.ref_name != 'main')\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-report-integration-v3\n          path: coverage-integration-v3.xml\n\n  integration-tests:\n    name: Run Integration Tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        versions: [\n          { py: \"3.8\", weaviate: $WEAVIATE_125},\n          { py: \"3.9\", weaviate: $WEAVIATE_125},\n          { py: \"3.10\", weaviate: $WEAVIATE_125},\n          { py: \"3.11\", weaviate: $WEAVIATE_123},\n          { py: \"3.11\", weaviate: $WEAVIATE_124},\n          { py: \"3.11\", weaviate: $WEAVIATE_125},\n          { py: \"3.12\", weaviate: $WEAVIATE_125}\n        ]\n        optional_dependencies: [false]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.versions.py }}\n          cache: 'pip' # caching pip dependencies\n      - run: |\n          pip install -r requirements-devel.txt\n          pip install .\n      - name: free space\n        run: sudo rm -rf /usr/local/lib/android\n      - name: start weaviate\n        run: /bin/bash ci/start_weaviate.sh ${{ matrix.versions.weaviate }}\n      - name: Run integration tests with auth secrets\n        if: ${{ !github.event.pull_request.head.repo.fork }}\n        env:\n          AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}\n          OKTA_CLIENT_SECRET: ${{ secrets.OKTA_CLIENT_SECRET }}\n          WCS_DUMMY_CI_PW: ${{ secrets.WCS_DUMMY_CI_PW }}\n          OKTA_DUMMY_CI_PW: ${{ secrets.OKTA_DUMMY_CI_PW }}\n#          OPENAI_APIKEY: ${{ secrets.OPENAI_APIKEY }}  disabled until we have a working key\n        run: pytest -n auto -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration.xml integration\n      - name: Run integration tests without auth secrets (for forks)\n        if: ${{ github.event.pull_request.head.repo.fork }}\n        run: pytest -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration.xml integration\n      - name: Archive code coverage results\n        if: matrix.versions.py == '3.10' && (github.ref_name != 'main')\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-report-integration\n          path: coverage-integration.xml\n\n  Codecov:\n    needs: [Unit-Tests, Integration-Tests, Integration-Tests-v3]\n    runs-on: ubuntu-latest\n    if: github.ref_name != 'main'\n    steps:\n      - uses: actions/checkout@v4\n      - name: Download coverage artifacts mock\n        uses: actions/download-artifact@v4\n        with:\n          name: coverage-report-mock_tests\n      - name: Download coverage artifacts unit\n        uses: actions/download-artifact@v4\n        with:\n          name: coverage-report-test\n      - name: Download coverage integration\n        uses: actions/download-artifact@v4\n        with:\n          name: coverage-report-integration\n      - name: Download coverage integration v3\n        uses: actions/download-artifact@v4\n        with:\n          name: coverage-report-integration-v3\n      - name: Download coverage integration embedded\n        uses: actions/download-artifact@v4\n        with:\n          name: coverage-report-integration-embedded\n      - name: Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          fail_ci_if_error: true\n          files: ./coverage-integration.xml, ./coverage-integration-v3.xml, ./coverage-integration-embedded.xml, ./coverage-test.xml, ./coverage-mock_tests.xml\n          verbose: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n\n  build-package:\n    name: Build package\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: 'pip' # caching pip dependencies\n      - name: Install dependencies\n        run: pip install -r requirements-devel.txt\n      - name: Build a binary wheel\n        run: python -m build\n      - name: Create Wheel Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          path: \"dist/*.whl\"\n          name: weaviate-python-client-wheel\n          retention-days: 30\n\n  test-package:\n    needs: [build-package]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        server: [\n          $WEAVIATE_123,\n          $WEAVIATE_124,\n          $WEAVIATE_125\n        ]\n    steps:\n      - name: Download build artifact to append to release\n        uses: actions/download-artifact@v4\n        with:\n          name: weaviate-python-client-wheel\n      - run: |\n          pip install weaviate_client-*.whl\n          pip install pytest pytest-benchmark pytest-profiling grpcio grpcio-tools pytest-xdist\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: free space\n        run: sudo rm -rf /usr/local/lib/android\n      - run: rm -r weaviate\n      - name: start weaviate\n        run: /bin/bash ci/start_weaviate.sh ${{ matrix.server }}\n      - name: Run integration tests with auth secrets\n        if: ${{ !github.event.pull_request.head.repo.fork }}\n        env:\n          AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}\n          OKTA_CLIENT_SECRET: ${{ secrets.OKTA_CLIENT_SECRET }}\n          WCS_DUMMY_CI_PW: ${{ secrets.WCS_DUMMY_CI_PW }}\n          OKTA_DUMMY_CI_PW: ${{ secrets.OKTA_DUMMY_CI_PW }}\n        run: pytest -v -n auto integration\n      - name: Run integration tests without auth secrets (for forks)\n        if: ${{ github.event.pull_request.head.repo.fork }}\n        run: pytest -v -n auto integration\n\n\n  build-and-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    needs: [integration-tests, unit-tests, lint-and-format, type-checking, test-package]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: 'pip' # caching pip dependencies\n      - name: Install dependencies\n        run: pip install -r requirements-devel.txt\n      - name: Build a binary wheel\n        run: python -m build\n      - name: Publish distribution 📦 to PyPI on new tags\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          verbose: true\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n  gh-release:\n    name: Create a GitHub Release on new tags\n    if: startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    needs: [build-and-publish]\n    steps:\n      - name: Download build artifact to append to release\n        uses: actions/download-artifact@v4\n        with:\n          name: weaviate-python-client-wheel\n          path: dist\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          generate_release_notes: true\n          draft: true\n          files: dist/*.whl", "state": "active", "repository": "weaviate/weaviate-python-client"}
{"mined_at": "2024-07-15T17:51:28.176351", "created_at": "2024-07-15T10:40:53+02:00", "updated_at": "2024-07-15T10:40:53+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "weaviate/weaviate-python-client"}
{"mined_at": "2024-07-15T17:51:30.370480", "created_at": "2023-02-07T15:28:08+01:00", "updated_at": "2023-02-07T15:28:08+01:00", "name": "Add issues to Backlog", "path": ".github/workflows/add-issue-to-backlog.yml", "contents": "name: Add issues to Backlog\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  add-to-project:\n    name: Add issue to project\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v0.4.0\n        with:\n          project-url: https://github.com/orgs/IFRCGo/projects/12\n          github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}\n", "state": "active", "repository": "ifrcgo/go-api"}
{"mined_at": "2024-07-15T17:51:31.393887", "created_at": "2024-03-20T05:58:34+01:00", "updated_at": "2024-03-20T05:58:34+01:00", "name": "Black Check", "path": ".github/workflows/black.yml", "contents": null, "state": "active", "repository": "ifrcgo/go-api"}
{"mined_at": "2024-07-15T17:51:32.461882", "created_at": "2024-07-05T12:28:28+02:00", "updated_at": "2024-07-05T12:28:28+02:00", "name": "Builds and pushes Docker Images and Helm charts to Github Registry", "path": ".github/workflows/build-publish-docker-helm.yaml", "contents": null, "state": "active", "repository": "ifrcgo/go-api"}
{"mined_at": "2024-07-15T17:51:33.482714", "created_at": "2023-03-09T13:11:47+01:00", "updated_at": "2023-03-09T13:11:47+01:00", "name": "Chartpress Build, Publish & Deploy", "path": ".github/workflows/chartpress.yml", "contents": null, "state": "active", "repository": "ifrcgo/go-api"}
{"mined_at": "2024-07-15T17:51:34.536649", "created_at": "2024-05-02T10:42:28+02:00", "updated_at": "2024-06-12T10:39:20+02:00", "name": "Python check", "path": ".github/workflows/ci.yaml", "contents": "name: Python check\n\non:\n  push:\n    branches:\n      - develop\n  pull_request:\n\n\njobs:\n  pre_commit_checks:\n    name: 🚴 Pre-Commit checks 🚴\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@main\n      - name: Install poetry\n        run: pipx install poetry\n      - uses: actions/setup-python@main\n        with:\n          cache: 'poetry'\n      - run: poetry install\n      - uses: pre-commit/action@main\n", "state": "active", "repository": "ifrcgo/go-api"}
{"mined_at": "2024-07-15T17:51:35.551051", "created_at": "2024-03-20T05:58:34+01:00", "updated_at": "2024-03-20T05:58:34+01:00", "name": "Flake8 check.", "path": ".github/workflows/flake8.yml", "contents": null, "state": "active", "repository": "ifrcgo/go-api"}
{"mined_at": "2024-07-15T17:51:38.667225", "created_at": "2021-12-01T19:01:25+01:00", "updated_at": "2024-03-30T18:28:19+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n      - name: Uninstall meshtastic\n        run: |\n          pip3 uninstall meshtastic\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip3 install -r requirements.txt\n      - name: Install meshtastic from local\n        run: |\n          pip3 install .\n          which meshtastic\n          meshtastic --version\n      - name: Run pylint\n        run: pylint meshtastic examples/ --ignore-patterns \".*_pb2.pyi?$\"\n      - name: Check types with mypy\n        run: mypy meshtastic/\n      - name: Run tests with pytest\n        run: pytest --cov=meshtastic\n      - name: Generate coverage report\n        run: |\n          pytest --cov=meshtastic --cov-report=xml\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          env_vars: OS, PYTHON\n          files: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n          fail_ci_if_error: true\n          verbose: true\n  validate:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Python 3\n        uses: actions/setup-python@v1\n      - name: Install meshtastic from local\n        run: |\n          pip3 install .\n          which meshtastic\n          meshtastic --version\n", "state": "active", "repository": "meshtastic/python"}
{"mined_at": "2024-07-15T17:51:39.891700", "created_at": "2021-12-30T06:49:59+01:00", "updated_at": "2021-12-30T06:49:59+01:00", "name": "Update protobufs", "path": ".github/workflows/update_protobufs.yml", "contents": "name: \"Update protobufs\"\non: workflow_dispatch\n\njobs:\n  update-protobufs:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          submodules: true\n\n      - name: Update Submodule\n        run: |\n          git pull --recurse-submodules\n          git submodule update --remote --recursive\n\n      - name: Download nanopb\n        run: |\n          wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.6-linux-x86.tar.gz\n          tar xvzf nanopb-0.4.6-linux-x86.tar.gz\n          mv nanopb-0.4.6-linux-x86 nanopb-0.4.6\n\n      - name: Re-generate protocol buffers\n        run: |\n          ./bin/regen-protobufs.sh\n\n      - name: Commit update\n        run: |\n          git config --global user.name 'github-actions'\n          git config --global user.email 'bot@noreply.github.com'\n          git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\n          git add protobufs\n          git add meshtastic\n          git commit -m \"Update protobuf submodule\" && git push || echo \"No changes to commit\"\n", "state": "active", "repository": "meshtastic/python"}
{"mined_at": "2024-07-15T17:51:40.987967", "created_at": "2022-01-23T20:44:34+01:00", "updated_at": "2022-02-26T07:06:28+01:00", "name": "Make Release", "path": ".github/workflows/release.yml", "contents": "name: Make Release\non: workflow_dispatch\n\njobs:\n  release_create:\n    runs-on: ubuntu-latest\n\n    outputs:\n      version: ${{ steps.get_version.outputs.version }}\n      upload_url: ${{ steps.create_release.outputs.upload_url }}\n      new_sha: ${{ steps.commit_updated.outputs.sha }}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Bump version\n        run: >-\n          bin/bump_version.py\n\n      - name: Commit updated version.py\n        id: commit_updated\n        run: |\n          git config --global user.name 'github-actions'\n          git config --global user.email 'bot@noreply.github.com'\n          git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\n          git add setup.py\n          git commit -m \"bump version\" && git push || echo \"No changes to commit\"\n          git log -n 1 --pretty=format:\"%H\" | tail -n 1 | awk '{print \"::set-output name=sha::\"$0}'\n\n      - name: Get version\n        id: get_version\n        run: >-\n          bin/show_version.py\n\n      - name: Create GitHub release\n        uses: actions/create-release@v1\n        id: create_release\n\n        with:\n          draft: true\n          prerelease: true\n          release_name: Meshtastic Python ${{ steps.get_version.outputs.version }}\n          tag_name: ${{ steps.get_version.outputs.version }}\n          body: |\n            Autogenerated by github action, developer should edit as required before publishing...\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n          .\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n  # build-and-publish-mac:\n  #   runs-on: macos-latest\n  #   needs: release_create\n  #   steps:\n  #     - name: Checkout\n  #       uses: actions/checkout@v3\n  #       with:\n  #         ref: ${{ needs.release_create.outputs.new_sha }}\n\n  #     - name: Set up Python 3.9\n  #       uses: actions/setup-python@v2\n  #       with:\n  #         python-version: 3.9\n\n  #     - name: Setup code signing\n  #       env:\n  #         MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}\n  #         MACOS_CERTIFICATE_PWD: ${{ secrets.MACOS_CERTIFICATE_PWD }}\n  #         MACOS_KEYCHAIN_PASSWORD: ${{ secrets.MACOS_KEYCHAIN_PASSWORD }}\n  #       run: |\n  #         echo $MACOS_CERTIFICATE | base64 --decode > certificate.p12\n  #         security create-keychain -p \"$MACOS_KEYCHAIN_PASSWORD\" meshtastic.keychain\n  #         security default-keychain -s meshtastic.keychain\n  #         security unlock-keychain -p \"$MACOS_KEYCHAIN_PASSWORD\" meshtastic.keychain\n  #         security import certificate.p12 -k meshtastic.keychain -P \"$MACOS_CERTIFICATE_PWD\" -T /usr/bin/codesign\n  #         security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k \"$MACOS_KEYCHAIN_PASSWORD\" meshtastic.keychain\n\n  #     - name: Build\n  #       env:\n  #         MACOS_SIGNING_IDENTITY: ${{ secrets.MACOS_SIGNING_IDENTITY }}\n  #       run: |\n  #         pip install pyinstaller\n  #         pip install -r requirements.txt\n  #         pip install .\n  #         pyinstaller -F -n meshtastic --collect-all meshtastic --codesign-identity \"$MACOS_SIGNING_IDENTITY\" meshtastic/__main__.py\n\n  #     - name: Add mac to release\n  #       uses: actions/upload-release-asset@v1\n  #       env:\n  #         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  #       with:\n  #         upload_url: ${{ needs.release_create.outputs.upload_url }}\n  #         asset_path: dist/meshtastic\n  #         asset_name: meshtastic_mac\n  #         asset_content_type: application/zip\n\n  build-and-publish-ubuntu:\n    runs-on: ubuntu-latest\n    needs: release_create\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ needs.release_create.outputs.new_sha }}\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Build\n        run: |\n          pip install pyinstaller\n          pip install -r requirements.txt\n          pip install .\n          pyinstaller -F -n meshtastic --collect-all meshtastic meshtastic/__main__.py\n\n      - name: Add ubuntu to release\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ needs.release_create.outputs.upload_url }}\n          asset_path: dist/meshtastic\n          asset_name: meshtastic_ubuntu\n          asset_content_type: application/zip\n\n      - name: Add readme.txt to release\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ needs.release_create.outputs.upload_url }}\n          asset_path: standalone_readme.txt\n          asset_name: readme.txt\n          asset_content_type: text/plain\n\n  build-and-publish-windows:\n    runs-on: windows-latest\n    needs: release_create\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ needs.release_create.outputs.new_sha }}\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Build\n        run: |\n          pip install pyinstaller\n          pip install -r requirements.txt\n          pip install .\n          pyinstaller -F -n meshtastic --collect-all meshtastic meshtastic/__main__.py\n\n      - name: Add windows to release\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ needs.release_create.outputs.upload_url }}\n          asset_path: dist/meshtastic.exe\n          asset_name: meshtastic_windows\n          asset_content_type: application/zip\n", "state": "active", "repository": "meshtastic/python"}
{"mined_at": "2024-07-15T17:51:42.042101", "created_at": "2022-11-05T12:52:29+01:00", "updated_at": "2022-11-05T12:52:29+01:00", "name": "Remove old artifacts", "path": ".github/workflows/cleanup_artifacts.yml", "contents": "name: Remove old artifacts\n\non:\n  schedule:\n    # Every day at 1am\n    - cron: \"0 1 * * *\"\n\n  workflow_dispatch:\n\njobs:\n  remove-old-artifacts:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    steps:\n      - name: Remove old artifacts\n        uses: c-hive/gha-remove-artifacts@v1\n        with:\n          age: \"1 month\"\n          skip-tags: true\n", "state": "active", "repository": "meshtastic/python"}
{"mined_at": "2024-07-15T17:51:44.066208", "created_at": "2024-06-28T00:20:32+02:00", "updated_at": "2024-06-28T00:20:32+02:00", "name": "Documentation", "path": ".github/workflows/documentation.yaml", "contents": null, "state": "active", "repository": "dtcenter/metplotpy"}
{"mined_at": "2024-07-15T17:51:45.216582", "created_at": "2021-06-17T22:30:15+02:00", "updated_at": "2022-03-11T22:43:10+01:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "name: Documentation\non:\n  push:\n    branches:\n      - develop\n      - develop-ref\n      - feature_*\n      - main_*\n      - bugfix_*\n    paths: \n      - docs/**\n  pull_request:\n    types: [opened, reopened, synchronize]\n\njobs:\n  documentation:\n    name: Build Documentation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade python-dateutil requests sphinx \\\n          sphinx-gallery matplotlib Pillow sphinx_rtd_theme\n          python -m pip install -r docs/requirements.txt\n      - name: Build docs\n        run: ./.github/jobs/build_documentation.sh   \n      - uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: documentation\n          path: artifact/documentation\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: documentation_warnings.log\n          path: artifact/doc_warnings.log\n          if-no-files-found: ignore\n", "state": "active", "repository": "dtcenter/metplotpy"}
{"mined_at": "2024-07-15T17:51:46.306652", "created_at": "2024-07-01T02:18:15+02:00", "updated_at": "2024-07-01T02:18:15+02:00", "name": "Add checksum to release", "path": ".github/workflows/release-checksum.yaml", "contents": null, "state": "active", "repository": "dtcenter/metplotpy"}
{"mined_at": "2024-07-15T17:51:47.324517", "created_at": "2022-09-09T01:20:13+02:00", "updated_at": "2022-12-09T02:54:51+01:00", "name": "Add checksum to release", "path": ".github/workflows/release-checksum.yml", "contents": "name: Add checksum to release\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  add-checksum:\n     runs-on: ubuntu-latest\n     steps:\n        - uses: dtcenter/metplus-action-release-checksum@v1\n          with:\n             token: ${{ secrets.METPLUS_BOT_TOKEN }}\n", "state": "active", "repository": "dtcenter/metplotpy"}
{"mined_at": "2024-07-15T17:51:48.357407", "created_at": "2024-06-28T00:20:32+02:00", "updated_at": "2024-06-28T00:20:32+02:00", "name": "SonarQube Scan", "path": ".github/workflows/sonarqube.yaml", "contents": null, "state": "active", "repository": "dtcenter/metplotpy"}
{"mined_at": "2024-07-15T17:51:49.383686", "created_at": "2024-04-05T00:05:20+02:00", "updated_at": "2024-04-08T21:45:23+02:00", "name": "SonarQube Scan", "path": ".github/workflows/sonarqube.yml", "contents": "name: SonarQube Scan\n\n# Run SonarQube for Pull Requests and changes to the develop and main_vX.Y branches\n\non:\n\n  # Trigger analysis for pushes to develop and main_vX.Y branches\n  push:\n    branches:\n      - develop\n      - 'main_v**'\n    paths-ignore:\n      - 'docs/**'\n      - '.github/pull_request_template.md'\n      - '.github/ISSUE_TEMPLATE/**'\n      - '**/README.md'\n      - '**/LICENSE.md'\n\n  # Trigger analysis for pull requests to develop and main_vX.Y branches\n  pull_request:\n    types: [opened, synchronize, reopened]\n    branches:\n      - develop\n      - 'main_v**'\n    paths-ignore:\n      - 'docs/**'\n      - '.github/pull_request_template.md'\n      - '.github/ISSUE_TEMPLATE/**'\n      - '**/README.md'\n      - '**/LICENSE.md'\n\n  workflow_dispatch:\n    inputs:\n      reference_branch:\n        description: 'Reference Branch'\n        default: develop\n        type: string\n\njobs:\n  sonarqube:\n    name: SonarQube Scan\n    runs-on: ubuntu-latest\n\n    steps:\n\n    - uses: actions/checkout@v4\n      with:\n        # Disable shallow clones for better analysis\n        fetch-depth: 0\n\n    - name: Get branch name\n      id: get_branch_name\n      run: echo branch_name=${GITHUB_REF#refs/heads/} >> $GITHUB_OUTPUT\n\n    - name: Configure SonarQube\n      run: .github/jobs/configure_sonarqube.sh\n      env:\n        SOURCE_BRANCH: ${{ steps.get_branch_name.outputs.branch_name }}\n        WD_REFERENCE_BRANCH: ${{ github.event.inputs.reference_branch }}\n        SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}\n        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n\n    - name: SonarQube Scan\n      uses: sonarsource/sonarqube-scan-action@master\n      env:\n        SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}\n        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n\n    - name: SonarQube Quality Gate check\n      id: sonarqube-quality-gate-check\n      uses: sonarsource/sonarqube-quality-gate-action@master\n      # Force to fail step after specific time.\n      timeout-minutes: 5\n      env:\n       SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}\n       SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "dtcenter/metplotpy"}
{"mined_at": "2024-07-15T17:51:50.541722", "created_at": "2022-01-07T21:17:24+01:00", "updated_at": "2022-03-11T22:43:10+01:00", "name": "Trigger METplus Workflow", "path": ".github/workflows/trigger_metplus.yml", "contents": "name: Trigger METplus Workflow\n\non:\n  push:\n    branches:\n      - develop\n    paths-ignore:\n      - 'docs/**'\n      - '.github/pull_request_template.md'\n      - '.github/ISSUE_TEMPLATE/**'\n      - '**/README.md'\n      - '**/LICENSE.md'\n\njobs:\n  trigger_metplus:\n    name: Trigger METplus testing workflow\n    runs-on: ubuntu-latest\n    steps:\n      - name: Print GitHub values for reference\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/github-script@v7\n        with:\n          github-token: ${{ secrets.METPLUS_BOT_TOKEN }}\n          script: |\n            await github.rest.actions.createWorkflowDispatch({\n              owner: 'dtcenter',\n              repo: 'METplus',\n              workflow_id: 'testing.yml',\n              ref: 'develop',\n              inputs: {\n                repository: '${{ github.repository }}',\n                ref: '${{ github.ref }}',\n                actor: '${{ github.actor }}',\n                sha: '${{ github.sha }}',\n                pusher_email: '${{ github.event.pusher.email }}'\n              },\n            });\n", "state": "active", "repository": "dtcenter/metplotpy"}
{"mined_at": "2024-07-15T17:51:51.565906", "created_at": "2022-02-17T21:41:48+01:00", "updated_at": "2023-01-31T17:13:08+01:00", "name": "Python tests", "path": ".github/workflows/unit_tests.yaml", "contents": "# This workflow will install Python dependencies, run tests the specified Python version\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python tests\n\non:\n  push:\n    branches: \n      - develop\n      - develop-ref\n      - feature_*\n      - main_*\n      - bugfix_*    \n    paths-ignore:\n      - 'docs/**'\n      - '.github/pull_request_template.md'\n      - '.github/ISSUE_TEMPLATE/**'\n      - '**/README.md'\n      - '**/LICENSE.md'\n      \n  pull_request:\n    types: [opened, reopened, synchronize]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        \n    - name: Retrieve METcalcpy repository develop branch\n      run: |\n         /usr/bin/git clone https://github.com/dtcenter/METcalcpy\n         cd METcalcpy\n         /usr/bin/git checkout develop\n         python -m pip install -e .\n            \n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        \n#   Checking the branch name, not necessary but useful when setting things up. \n#     - name: Extract branch name\n#       shell: bash\n#       run: echo \"##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})\"\n#       id: extract_branch\n\n\n    - name: Test with pytest\n      run: |\n          cd test\n          cd bar \n          pytest test_bar.py\n          cd ../box\n          pytest test_box.py\n          cd ../contour\n          pytest test_contour.py\n          cd ../eclv\n          pytest test_eclv.py\n          cd ../ens_ss\n          pytest test_ens_ss.py\n          cd ../equivalence_testing_bounds\n          pytest test_equivalence_testing_bounds.py\n          cd ../line\n          pytest test_line_groups_plot.py\n          pytest test_line_plot.py\n          cd ../mpr_plot\n          pytest test_mpr_plot.py\n          cd ../performance_diagram\n          pytest test_performance_diagram.py\n          cd ../reliability_diagram\n          pytest test_reliability_diagram.py\n          cd ../roc_diagram\n          pytest test_roc_diagram.py\n          cd ../taylor_diagram\n          pytest test_taylor_diagram.py\n          cd ../wind_rose\n          pytest test_wind_rose.py\n          cd ../histogram\n          pytest test_prob_hist.py\n          pytest test_rank_hist.py\n          pytest test_rel_hist.py\n          \n         \n", "state": "active", "repository": "dtcenter/metplotpy"}
{"mined_at": "2024-07-15T17:51:52.574318", "created_at": "2023-01-28T23:56:16+01:00", "updated_at": "2023-08-01T23:36:13+02:00", "name": "Python vulnerability check", "path": ".github/workflows/vulnerabilities.yaml", "contents": "# This workflow will check third-party Python packages for vulnerabilities using pip-audit.\n# pip-audit finds vulnerabilities from packages that are dependencies of\n# the packages in the requirements.txt file. A summary is generated at the end of the action.\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python vulnerability check\n\non:\n  push:\n    branches:\n      - develop\n      - develop-ref\n      - feature_*\n      - main_*\n      - bugfix_*\n      - test_*\n      - issue_*\n  pull_request:\n    types: [opened, reopened, synchronize]\n\njobs:  \n  selftest:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: install\n        run: |\n          python -m venv env/\n          source env/bin/activate\n          python -m pip install .\n      - uses: pypa/gh-action-pip-audit@v1.0.5\n        with:\n          inputs: requirements.txt\n          virtual-environment: env/\n          local: true\n          summary: true\n", "state": "active", "repository": "dtcenter/metplotpy"}
{"mined_at": "2024-07-15T17:51:54.647591", "created_at": "2022-04-05T21:57:46+02:00", "updated_at": "2022-05-31T22:56:15+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non: \n  pull_request: \n  push: \n    branches: \n      - og-develop\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: Run Tests\n    runs-on: [self-hosted, linux, gpu, dataset-enabled]\n\n    defaults:\n      run:\n        shell: micromamba run -n omnigibson /bin/bash -leo pipefail {0}\n\n    steps:\n      - name: Fix home\n        run: echo \"HOME=/root\" >> $GITHUB_ENV\n\n      - name: Checkout source\n        uses: actions/checkout@v2\n        with:\n          submodules: true\n          path: omnigibson-src\n\n      - name: Install dev requirements\n        working-directory: omnigibson-src\n        run: pip install -r requirements-dev.txt\n\n      - name: Install\n        working-directory: omnigibson-src\n        run: pip install -e .\n\n      - name: Run tests\n        working-directory: omnigibson-src\n        run: pytest --junitxml=results.xml\n\n      - name: Test Report\n        uses: dorny/test-reporter@v1\n        with:\n          name: Test Results\n          working-directory: omnigibson-src\n          path: results.xml\n          reporter: java-junit\n          fail-on-error: 'true'\n          fail-on-empty: 'true'\n\n      # - name: Upload coverage to Codecov\n      #   uses: codecov/codecov-action@v2.1.0\n      #   with:\n      #     token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "stanfordvl/omnigibson"}
{"mined_at": "2024-07-15T17:51:55.673061", "created_at": "2022-04-05T21:57:46+02:00", "updated_at": "2022-05-31T22:56:15+02:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": "name: Lint\n\non: [pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: psf/black@stable\n        with:\n          options: \"-t py37\"\n", "state": "active", "repository": "stanfordvl/omnigibson"}
{"mined_at": "2024-07-15T17:51:56.788260", "created_at": "2022-05-31T22:56:15+02:00", "updated_at": "2022-05-31T22:56:15+02:00", "name": "Examples as Test", "path": ".github/workflows/examples-as-test.yml", "contents": "name: Examples as Test\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    # Format: minute hour day-of-month month day-of-week(starts on sunday)\n    # Scheduled for 2 am, every sunday, tuesday, friday\n    - cron: '0 10 * * 0,2,5'\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    runs-on: [self-hosted, linux, gpu]\n    if: github.repository == 'StanfordVL/OmniGibson-dev'\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v2\n        with:\n          submodules: true\n          path: omnigibson\n\n      - name: Add CUDA to env\n        run: echo \"/usr/local/cuda/bin\" >> $GITHUB_PATH\n\n      - name: Setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8\"\n          architecture: x64\n\n      - name: Install dev requirements\n        working-directory: omnigibson\n        run: pip install -r requirements-dev.txt\n\n      - name: Install additional dev requirements\n        working-directory: omnigibson\n        run: pip install -r tests/requirements-tests.txt\n\n      - name: Install\n        working-directory: omnigibson\n        run: pip install -e .\n\n      - name: Uninstall pip bddl\n        working-directory: omnigibson\n        run: pip uninstall -y bddl\n\n      - name: Checkout BDDL\n        uses: actions/checkout@v2\n        with:\n          repository: StanfordVL/bddl-dev\n          ref: 581be50e7cfd2b3a1447aaa1b4fc2424b673339c\n          token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}  # PAT is required since this is a different repo\n          path: bddl\n          submodules: recursive\n          lfs: true\n\n      - name: Install BDDL\n        working-directory: bddl\n        run: pip install -e .\n\n      - name: Link Dataset\n        working-directory: omnigibson\n        run: ln -s /scr/ig-data omnigibson/data\n\n      - name: Create tests of examples\n        working-directory: omnigibson\n        run: python tests/create_tests_of_examples.py\n\n      - name: Run tests\n        working-directory: omnigibson\n        run: pytest /tmp/tests_of_examples\n\n      - name: Remove Files\n        uses: JesseTG/rm@v1.0.2\n        with:\n          path: /tmp/tests_of_examples\n", "state": "active", "repository": "stanfordvl/omnigibson"}
{"mined_at": "2024-07-15T17:51:57.914501", "created_at": "2023-02-22T02:48:14+01:00", "updated_at": "2023-04-06T19:10:26+02:00", "name": "Disallow PRs to main branch", "path": ".github/workflows/protect-main.yml", "contents": "name: Disallow PRs to main branch\n\non: [pull_request]\n\njobs:\n  protect-main:\n    name: Disallow PRs to main branch\n    runs-on: ubuntu-latest\n    if: ${{ github.base_ref == 'main' }}\n\n    steps:\n    - name: Comment on PR\n      uses: thollander/actions-comment-pull-request@v2\n      with:\n        message: |\n          Hi, research friend! :wave:\n          It looks like you are trying to merge a PR to the `main` branch.\n          This branch is for released code only. **Please PR your code onto `og-develop` instead.**\n          Thank you!\n\n    - name: Fail\n      run: exit 1\n", "state": "active", "repository": "stanfordvl/omnigibson"}
{"mined_at": "2024-07-15T17:51:58.894370", "created_at": "2023-04-11T20:11:25+02:00", "updated_at": "2023-04-11T20:11:25+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "stanfordvl/omnigibson"}
{"mined_at": "2024-07-15T17:51:59.895941", "created_at": "2023-04-11T20:16:34+02:00", "updated_at": "2023-04-11T22:40:15+02:00", "name": "Benchmark", "path": ".github/workflows/benchmark.yml", "contents": null, "state": "active", "repository": "stanfordvl/omnigibson"}
{"mined_at": "2024-07-15T17:52:00.913585", "created_at": "2023-07-19T20:50:28+02:00", "updated_at": "2023-08-07T08:20:29+02:00", "name": "build-push-containers", "path": ".github/workflows/build-push-containers.yml", "contents": "name: build-push-containers\n\non:\n  release:\n    types: [published]\n  push:\n    branches:\n      - 'main'\n      - 'og-develop'\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - \n        name: Check disk space\n        run: df . -h\n      - \n        name: Free disk space\n        run: |\n          sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true\n          sudo rm -rf \\\n            /usr/share/dotnet /usr/local/lib/android /opt/ghc \\\n            /usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \\\n            /usr/lib/jvm || true\n          echo \"some directories deleted\"\n          sudo apt install aptitude -y >/dev/null 2>&1\n          sudo aptitude purge aria2 ansible azure-cli shellcheck rpm xorriso zsync \\\n            esl-erlang firefox gfortran-8 gfortran-9 google-chrome-stable \\\n            google-cloud-sdk imagemagick \\\n            libmagickcore-dev libmagickwand-dev libmagic-dev ant ant-optional kubectl \\\n            mercurial apt-transport-https mono-complete libmysqlclient \\\n            unixodbc-dev yarn chrpath libssl-dev libxft-dev \\\n            libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev \\\n            snmp pollinate libpq-dev postgresql-client powershell ruby-full \\\n            sphinxsearch subversion mongodb-org azure-cli microsoft-edge-stable \\\n            -y -f >/dev/null 2>&1\n          sudo aptitude purge google-cloud-sdk -f -y >/dev/null 2>&1\n          sudo aptitude purge microsoft-edge-stable -f -y >/dev/null 2>&1 || true\n          sudo apt purge microsoft-edge-stable -f -y >/dev/null 2>&1 || true\n          sudo aptitude purge '~n ^mysql' -f -y >/dev/null 2>&1\n          sudo aptitude purge '~n ^php' -f -y >/dev/null 2>&1\n          sudo aptitude purge '~n ^dotnet' -f -y >/dev/null 2>&1\n          sudo apt-get autoremove -y >/dev/null 2>&1\n          sudo apt-get autoclean -y >/dev/null 2>&1\n          echo \"some packages purged\"\n      - \n        name: Check disk space\n        run: |\n          df . -h\n      -\n        name: Checkout\n        uses: actions/checkout@v4\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      -\n        name: Login to NVCR\n        uses: docker/login-action@v3\n        with:\n          registry: nvcr.io\n          username: ${{ secrets.NVCR_USERNAME }}\n          password: ${{ secrets.NVCR_PASSWORD }}   \n      -\n        name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_PASSWORD }}\n      -\n        name: Metadata for dev Image\n        id: meta-dev\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            stanfordvl/omnigibson-dev\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n      -\n        name: Metadata for prod Image\n        id: meta-prod\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            stanfordvl/omnigibson\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n      -\n        name: Metadata for vscode Image\n        id: meta-vscode\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            stanfordvl/omnigibson-vscode\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n      -\n        name: Build and push dev image\n        id: build-dev\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta-dev.outputs.tags }}\n          labels: ${{ steps.meta-dev.outputs.labels }}\n          file: docker/dev.Dockerfile\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Update prod image Dockerfile with dev image tag\n        run: |\n          sed -i \"s/omnigibson-dev:latest/omnigibson-dev@${{ steps.build-dev.outputs.digest }}/g\" docker/prod.Dockerfile && cat docker/prod.Dockerfile\n      -\n        name: Build and push prod image\n        id: build-prod\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta-prod.outputs.tags }}\n          labels: ${{ steps.meta-prod.outputs.labels }}\n          file: docker/prod.Dockerfile\n          cache-from: type=gha\n          cache-to: type=gha,mode=min\n\n      - name: Update vscode image Dockerfile with prod image tag\n        run: |\n          sed -i \"s/omnigibson:latest/omnigibson@${{ steps.build-prod.outputs.digest }}/g\" docker/vscode.Dockerfile && cat docker/vscode.Dockerfile\n      -\n        name: Build and push vscode image\n        id: build-vscode\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta-vscode.outputs.tags }}\n          labels: ${{ steps.meta-vscode.outputs.labels }}\n          file: docker/vscode.Dockerfile\n          cache-from: type=gha\n          cache-to: type=gha,mode=min", "state": "active", "repository": "stanfordvl/omnigibson"}
{"mined_at": "2024-07-15T17:52:02.020098", "created_at": "2024-01-24T23:01:07+01:00", "updated_at": "2024-03-18T07:54:54+01:00", "name": "Profiling", "path": ".github/workflows/profiling.yml", "contents": "name: Profiling\n\non: \n  workflow_dispatch:\n  push:\n    branches:\n      - og-develop\n\npermissions:\n  # deployments permission to deploy GitHub pages website\n  deployments: write\n  # contents permission to update profiling contents in gh-pages branch\n  contents: write\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  profiling:\n    name: Speed Profiling\n    runs-on: [self-hosted, linux, gpu, dataset-enabled]\n\n    defaults:\n      run:\n        shell: micromamba run -n omnigibson /bin/bash -leo pipefail {0}\n\n    steps:\n      - name: Fix home\n        run: echo \"HOME=/root\" >> $GITHUB_ENV\n\n      - name: Checkout source\n        uses: actions/checkout@v3\n\n      - name: Install dev requirements\n        run: pip install -r requirements-dev.txt\n\n      - name: Install\n        run: pip install -e .\n      \n      - name: Run performance benchmark\n        run: bash scripts/profiling.sh\n          \n      - name: Store benchmark result\n        uses: benchmark-action/github-action-benchmark@v1\n        with:\n          tool: 'customSmallerIsBetter'\n          output-file-path: output.json\n          benchmark-data-dir-path: profiling\n          fail-on-alert: false\n          alert-threshold: '200%'\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          comment-on-alert: false\n          auto-push: true\n", "state": "active", "repository": "stanfordvl/omnigibson"}
{"mined_at": "2024-07-15T17:52:04.263499", "created_at": "2022-09-22T23:06:28+02:00", "updated_at": "2022-10-17T22:13:27+02:00", "name": "Daily test (GitHub, CPU)", "path": ".github/workflows/cron_test_gh.yaml", "contents": "# This is a workflow that should run daily\nname: Daily test (GitHub, CPU)\n\n# Controls when the action will run.\non:\n  schedule:\n    - cron: '00 19 * * *'  # run at 19:00 UTC daily\n\n# This workflow calls the test_gh.yaml workflow passing the default\n# branches as inputs\njobs:\n  run-tests-cron-gh:\n    uses: ./.github/workflows/test_gh.yaml\n    with:\n      xobjects_test_contexts: \"ContextCpu\"\n  run-tests-cron-gh-precompiled:\n    uses: ./.github/workflows/test_gh.yaml\n    with:\n      precompile_kernels: true\n      xobjects_test_contexts: \"ContextCpu\"\n", "state": "active", "repository": "xsuite/xsuite"}
{"mined_at": "2024-07-15T17:52:05.492259", "created_at": "2024-02-12T10:18:52+01:00", "updated_at": "2024-02-12T10:18:52+01:00", "name": "Daily test (GitHub, OpenMP)", "path": ".github/workflows/cron_test_gh_omp.yaml", "contents": "# This is a workflow that should run daily\nname: Daily test (GitHub, OpenMP)\n\n# Controls when the action will run.\non:\n  schedule:\n    - cron: '00 19 * * *'  # run at 19:00 UTC daily\n\n# This workflow calls the test_gh.yaml workflow passing the default\n# branches as inputs\njobs:\n  run-tests-cron-gh-omp:\n    uses: ./.github/workflows/test_gh.yaml\n    with:\n      xobjects_test_contexts: \"ContextCpu:auto\"\n", "state": "active", "repository": "xsuite/xsuite"}
{"mined_at": "2024-07-15T17:52:06.618568", "created_at": "2023-06-29T11:55:59+02:00", "updated_at": "2023-06-29T11:55:59+02:00", "name": "Daily test (self-hosted, OpenCL)", "path": ".github/workflows/cron_test_gpu_cl.yaml", "contents": "# This is a workflow that should run daily\nname: Daily test (self-hosted, OpenCL)\n\n# Controls when the action will run.\non:\n  schedule:\n    - cron: '00 19 * * *'  # run at 19:00 UTC daily\n\n# This workflow calls the test_gpu.yaml workflow passing the default\n# branches as inputs. The cron workflow will not run on forks.\njobs:\n  run-tests-cron-gpu:\n    if: github.repository == 'xsuite/xsuite'\n    uses: ./.github/workflows/test_sh.yaml\n    with:\n      test_contexts: 'ContextPyopencl'\n      platform: 'alma'\n", "state": "active", "repository": "xsuite/xsuite"}
{"mined_at": "2024-07-15T17:52:07.847233", "created_at": "2023-06-29T11:55:59+02:00", "updated_at": "2023-06-29T11:55:59+02:00", "name": "Daily test (self-hosted, CUDA)", "path": ".github/workflows/cron_test_gpu_cuda.yaml", "contents": "# This is a workflow that should run daily\nname: Daily test (self-hosted, CUDA)\n\n# Controls when the action will run.\non:\n  schedule:\n    - cron: '00 19 * * *'  # run at 19:00 UTC daily\n\n# This workflow calls the test_gpu.yaml workflow passing the default\n# branches as inputs. The cron workflow will not run on forks.\njobs:\n  run-tests-cron-gpu:\n    if: github.repository == 'xsuite/xsuite'\n    uses: ./.github/workflows/test_sh.yaml\n    with:\n      test_contexts: 'ContextCupy'\n      platform: 'ubuntu'\n", "state": "active", "repository": "xsuite/xsuite"}
{"mined_at": "2024-07-15T17:52:08.973781", "created_at": "2023-10-27T09:23:46+02:00", "updated_at": "2023-10-27T09:23:46+02:00", "name": "Daily test (self-hosted, CPU)", "path": ".github/workflows/cron_test_sh_cpu.yaml", "contents": "# This is a workflow that should run daily\nname: Daily test (self-hosted, CPU)\n\n# Controls when the action will run.\non:\n  schedule:\n    - cron: '00 19 * * *'  # run at 19:00 UTC daily\n\n# This workflow calls the test_gpu.yaml workflow passing the default\n# branches as inputs. The cron workflow will not run on forks.\njobs:\n  run-tests-cron-sh-cpu-no-xmask-serial:\n    if: github.repository == 'xsuite/xsuite'\n    uses: ./.github/workflows/test_sh.yaml\n    with:\n      test_contexts: 'ContextCpu'\n      platform: 'alma-cpu-1'\n      suites: '[\"xobjects\", \"xdeps\", \"xpart\", \"xtrack\", \"xfields\", \"xcoll\"]'\n  run-tests-cron-sh-cpu-no-xmask-openmp:\n    if: github.repository == 'xsuite/xsuite'\n    uses: ./.github/workflows/test_sh.yaml\n    with:\n      test_contexts: 'ContextCpu:auto'\n      platform: 'alma-cpu-2'\n      suites: '[\"xobjects\", \"xdeps\", \"xpart\", \"xtrack\", \"xfields\", \"xcoll\"]'\n  run-tests-cron-sh-cpu-xmask:\n    if: github.repository == 'xsuite/xsuite'\n    uses: ./.github/workflows/test_sh.yaml\n    with:\n      test_contexts: 'ContextCpu;ContextCpu:auto'\n      platform: 'alma-cpu-smaller'\n      suites: '[\"xmask\"]'\n", "state": "active", "repository": "xsuite/xsuite"}
{"mined_at": "2024-07-15T17:52:10.087378", "created_at": "2022-09-22T23:06:28+02:00", "updated_at": "2022-10-17T22:13:27+02:00", "name": "Manual test (GitHub, CPU)", "path": ".github/workflows/manual_test_gh.yaml", "contents": "# This is a test workflow that is manually triggered\nname: Manual test (GitHub, CPU)\n\n# Controls when the action will run. Workflow runs when manually triggered using the UI\n# or API.\non:\n  workflow_dispatch:\n    # Inputs the workflow accepts.\n    # Specify branches using the refspec-like syntax: <user>:<branch>\n    inputs:\n      xobjects_location:\n        description: 'xobjects branch'\n        default: 'xsuite:main'\n        required: true\n      xdeps_location:\n        description: 'xdeps branch'\n        default: 'xsuite:main'\n        required: true\n      xpart_location:\n        description: 'xpart branch'\n        default: 'xsuite:main'\n        required: true\n      xtrack_location:\n        description: 'xtrack branch'\n        default: 'xsuite:main'\n        required: true\n      xfields_location:\n        description: 'xfields branch'\n        default: 'xsuite:main'\n        required: true\n      xmask_location:\n        description: 'xmask branch'\n        default: 'xsuite:main'\n        required: true\n      xcoll_location:\n        description: 'xcoll branch'\n        default: 'xsuite:main'\n        required: true\n      precompile_kernels:\n        description: 'precompile kernels?'\n        type: boolean\n        default: false\n        required: true\n      xobjects_test_contexts:\n        description: xobjects test contexts\n        default: \"ContextCpu;ContextCpu:auto\"\n        required: true\n\n# This workflow calls the test_gh.yaml workflow passing the specified\n# branches as inputs\njobs:\n  run-tests-manual-gh:\n    uses: ./.github/workflows/test_gh.yaml\n    with:\n      xobjects_location: ${{ inputs.xobjects_location }}\n      xdeps_location: ${{ inputs.xdeps_location }}\n      xpart_location: ${{ inputs.xpart_location }}\n      xtrack_location: ${{ inputs.xtrack_location }}\n      xfields_location: ${{ inputs.xfields_location }}\n      xmask_location: ${{ inputs.xmask_location }}\n      xcoll_location: ${{ inputs.xcoll_location }}\n      precompile_kernels: ${{ inputs.precompile_kernels }}\n      xobjects_test_contexts: ${{ inputs.xobjects_test_contexts }}\n", "state": "active", "repository": "xsuite/xsuite"}
{"mined_at": "2024-07-15T17:52:11.105303", "created_at": "2023-10-27T09:23:46+02:00", "updated_at": "2024-04-26T15:25:29+02:00", "name": "Manual test (self-hosted)", "path": ".github/workflows/manual_test_sh.yaml", "contents": "# This is a test workflow that is manually triggered\nname: Manual test (self-hosted)\nrun-name: Manual test (${{ inputs.platform }}, ${{ inputs.test_contexts }})\n\n# Controls when the action will run. Workflow runs when manually triggered using the UI\n# or API.\non:\n  workflow_dispatch:\n    # Inputs the workflow accepts.\n    # Specify branches using the refspec-like syntax: <user>:<branch>\n    inputs:\n      xobjects_location:\n        description: 'xobjects branch'\n        default: 'xsuite:main'\n        required: true\n      xdeps_location:\n        description: 'xdeps branch'\n        default: 'xsuite:main'\n        required: true\n      xpart_location:\n        description: 'xpart branch'\n        default: 'xsuite:main'\n        required: true\n      xtrack_location:\n        description: 'xtrack branch'\n        default: 'xsuite:main'\n        required: true\n      xfields_location:\n        description: 'xfields branch'\n        default: 'xsuite:main'\n        required: true\n      xmask_location:\n        description: 'xmask branch'\n        default: 'xsuite:main'\n        required: true\n      xcoll_location:\n        description: 'xcoll branch'\n        default: 'xsuite:main'\n        required: true\n      test_contexts:\n        description: test contexts\n        default: 'ContextCpu;ContextCpu:auto;ContextCupy;ContextPyopencl'\n        required: false\n      platform:\n        description: platform\n        default: 'ubuntu'\n        required: true\n      suites:\n        description: test suites (JSON array string)\n        required: true\n        type: string\n        default: '[\"xobjects\", \"xdeps\", \"xpart\", \"xtrack\", \"xfields\", \"xmask\", \"xcoll\"]'\n\n# This workflow calls the test_sh.yaml workflow passing the specified\n# branches as inputs\njobs:\n  run-tests-manual-sh:\n    uses: ./.github/workflows/test_sh.yaml\n    secrets: inherit\n    with:\n      xobjects_location: ${{ inputs.xobjects_location }}\n      xdeps_location: ${{ inputs.xdeps_location }}\n      xpart_location: ${{ inputs.xpart_location }}\n      xtrack_location: ${{ inputs.xtrack_location }}\n      xfields_location: ${{ inputs.xfields_location }}\n      xmask_location: ${{ inputs.xmask_location }}\n      xcoll_location: ${{ inputs.xcoll_location }}\n      test_contexts: ${{ inputs.test_contexts }}\n      platform: ${{ inputs.platform }}\n      suites: ${{ inputs.suites }}\n", "state": "active", "repository": "xsuite/xsuite"}
{"mined_at": "2024-07-15T17:52:12.119603", "created_at": "2024-05-02T15:45:49+02:00", "updated_at": "2024-05-02T15:45:49+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\nrun-name: Release ${{ github.ref_name }}\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  build-wheels:\n    name: Build wheels for ${{ matrix.pyver }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-13, macos-14]\n        pyver: [cp38, cp39, cp310, cp311, cp312]\n        exclude:\n          - os: macos-14\n            pyver: cp38\n          - os: macos-13\n            pyver: cp38\n          - os: ubuntu-latest\n            pyver: cp38\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n\n      - name: Install cibuildwheel\n        run: python -m pip install cibuildwheel==2.17.0\n\n      - name: Build wheels\n        run: python -m cibuildwheel --output-dir wheelhouse\n        env:\n          CIBW_BUILD: ${{ matrix.pyver }}-*\n          CIBW_ENVIRONMENT_PASS_LINUX: LDFLAGS\n          LDFLAGS: \"-Wl,-S\"  # Strip debug symbols: otherwise added by manylinux\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: dist-wheels-${{ matrix.os }}-${{ strategy.job-index }}\n          path: ./wheelhouse/*.whl\n\n  build-sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Build sdist\n        run: pipx run build --sdist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: dist-sdist\n          path: dist/*.tar.gz\n\n  publish-to-pypi:\n    name: Publish to PyPI\n    runs-on: ubuntu-latest\n    needs: [build-wheels, build-sdist]\n    environment:\n      name: pypi\n      url: https://pypi.org/p/xsuite\n    permissions:\n      id-token: write\n\n    steps:\n    - name: Check tag is a public release\n      id: check-tag\n      run: |\n        # Only if a tag matches the pattern vX.Y.Z, upload to PyPI\n        if [[ ${{ github.event.ref }} =~ ^refs/tags/v[0-9]+\\.[0-9]+\\.[0-9]+$ ]]; then\n            echo \"match=true\" >> $GITHUB_OUTPUT\n        fi\n\n    - name: Download all the dists\n      if: steps.check-tag.outputs.match == 'true'\n      uses: actions/download-artifact@v4\n      with:\n        pattern: dist-*\n        path: dist\n        merge-multiple: true\n\n    - name: Publish to PyPI\n      if: steps.check-tag.outputs.match == 'true'\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "xsuite/xsuite"}
{"mined_at": "2024-07-15T17:52:13.280475", "created_at": "2022-09-22T23:06:28+02:00", "updated_at": "2022-10-17T22:13:27+02:00", "name": "Test workflow (GitHub, CPU)", "path": ".github/workflows/test_gh.yaml", "contents": "# This is a test workflow the other (GitHub runner based) workflows rely on\nname: Test workflow (GitHub, CPU)\n\n# Controls when the action will run. This is a reusable workflow.\non:\n  workflow_call:\n    # Inputs the workflow accepts.\n    inputs:\n      xobjects_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      xdeps_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      xpart_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      xtrack_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      xfields_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      xmask_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      xcoll_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      precompile_kernels:\n        required: false\n        default: false\n        type: boolean\n      xobjects_test_contexts:\n        required: false\n        default: \"ContextCpu;ContextCpu:auto\"\n        type: string\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\n# The jobs are all run in independent environments. Here we will run a separate job\n# for each of the test suites specified in the matrix below.\njobs:\n  run-tests:\n    # The type of runner that the job will run on: this one is provided by GitHub\n    runs-on: ubuntu-latest\n    \n    # Run tests for all the xsuite packages in separate jobs in parallel\n    strategy:\n      fail-fast: false\n      matrix:\n        test-suite:\n        - xobjects\n        - xdeps\n        - xpart\n        - xtrack\n        - xfields\n        - xmask\n        - xcoll\n    \n    # Make the default shell a login shell, so that conda is initialised properly\n    defaults:\n      run:\n        shell: bash -el {0}\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n    - name: Set up dynamic swapping\n      run: |\n        sudo swapoff -a\n        sudo apt-get install -y swapspace\n        sudo systemctl start swapspace.service\n        df -h\n    - name: Setup Miniforge\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        miniforge-version: latest\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        conda install openmp\n        pip install cython\n    - name: Checkout xsuite\n      uses: actions/checkout@v4\n      with:\n        path: xsuite\n    - name: Check out xsuite repos & pip install\n      env:\n        xobjects_branch: ${{ inputs.xobjects_location }}\n        xdeps_branch: ${{ inputs.xdeps_location }}\n        xpart_branch: ${{ inputs.xpart_location }}\n        xtrack_branch: ${{ inputs.xtrack_location }}\n        xfields_branch: ${{ inputs.xfields_location }}\n        xmask_branch: ${{ inputs.xmask_location }}\n        xcoll_branch: ${{ inputs.xcoll_location }}\n        precompile_kernels: ${{ inputs.precompile_kernels }}\n      run: |\n        export xsuite_prefix=\"$GITHUB_WORKSPACE\"\n        bash $GITHUB_WORKSPACE/xsuite/.github/scripts/install_branches.sh\n    - name: Precompile kernels\n      if: ${{ inputs.precompile_kernels == true }}\n      run: |\n        xsuite-prebuild r\n    - name: Print versions\n      run: conda list\n    - name: Run tests (${{ matrix.test-suite }})\n      env:\n        XOBJECTS_TEST_CONTEXTS: ${{ inputs.xobjects_test_contexts }}\n      run: |\n        cd $GITHUB_WORKSPACE/${{ matrix.test-suite }}\n        python -m pytest --color=yes -v tests\n", "state": "active", "repository": "xsuite/xsuite"}
{"mined_at": "2024-07-15T17:52:14.720793", "created_at": "2023-10-27T09:23:46+02:00", "updated_at": "2023-10-27T09:23:46+02:00", "name": "Test workflow (self-hosted)", "path": ".github/workflows/test_sh.yaml", "contents": "# This is a test workflow the other (self-hosted runner based) workflows rely on\nname: Test workflow (self-hosted)\n\n# Controls when the action will run. This is a reusable workflow.\non:\n  workflow_call:\n    # Inputs the workflow accepts.\n    inputs:\n      xobjects_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      xdeps_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      xpart_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      xtrack_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      xfields_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      xmask_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      xcoll_location:\n        required: false\n        default: \"xsuite:main\"\n        type: string\n      test_contexts:\n        required: false\n        type: string\n        default: 'ContextCpu;ContextCpu:auto;ContextCupy;ContextPyopencl'\n      platform:\n        required: true\n        type: string\n      suites:\n        description: a list of the suites to run as a JSON string\n        required: false\n        type: string\n        default: '[\"xobjects\", \"xdeps\", \"xpart\", \"xtrack\", \"xfields\", \"xcoll\"]'\n\nenv:\n  with_gpu: ${{ contains(inputs.test_contexts, 'Cupy') || contains(inputs.test_contexts, 'Pyopencl') }}\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\n# The jobs are all run in independent environments. Here we will run a separate job\n# for each of the test suites specified in the matrix below.\njobs:\n  # First, we build our test image\n  build-test-image:\n    runs-on: [self-hosted, \"${{ inputs.platform }}\"]\n    outputs:\n      image_id: ${{ steps.build-image.outputs.image_id }}\n    steps:\n      - id: checkout-repo\n        name: Checkout the repo\n        uses: actions/checkout@v3\n      - id: build-image\n        name: Build the test image\n        env:\n          xobjects_branch: ${{ inputs.xobjects_location }}\n          xdeps_branch: ${{ inputs.xdeps_location }}\n          xpart_branch: ${{ inputs.xpart_location }}\n          xtrack_branch: ${{ inputs.xtrack_location }}\n          xfields_branch: ${{ inputs.xfields_location }}\n          xmask_branch: ${{ inputs.xmask_location }}\n          xcoll_branch: ${{ inputs.xcoll_location }}\n        run: |\n          IMAGE=\"xsuite-test-runner-$(cat /proc/sys/kernel/random/uuid)\"\n          echo \"image_id=$IMAGE\" >> $GITHUB_OUTPUT\n          docker build \\\n            --network=host \\\n            --no-cache=true \\\n            --build-arg xobjects_branch=${xobjects_branch} \\\n            --build-arg xdeps_branch=${xdeps_branch} \\\n            --build-arg xpart_branch=${xpart_branch} \\\n            --build-arg xtrack_branch=${xtrack_branch} \\\n            --build-arg xfields_branch=${xfields_branch} \\\n            --build-arg xmask_branch=${xmask_branch} \\\n            --build-arg xcoll_branch=${xcoll_branch} \\\n            --build-arg with_gpu=${with_gpu} \\\n            -t $IMAGE .\n\n  # Print out some stuff about the test environment\n  image-sanity-checks:\n    runs-on: [self-hosted, \"${{ inputs.platform }}\"]\n    needs: build-test-image\n    env:\n      image_id: ${{ needs.build-test-image.outputs.image_id }}\n    steps:\n      - name: CUDA/ROCm info\n        if: ${{ env.with_gpu == 'true' }}\n        run: docker run --rm --gpus all ${image_id} bash -c \"nvidia-smi || rocm-smi\"\n      - name: OpenCL info\n        if: ${{ env.with_gpu == 'true' }}\n        run: docker run --rm --gpus all ${image_id} clinfo\n      - name: Package paths\n        run: docker run --rm --gpus all ${image_id} python3 /opt/xsuite/xtrack/examples/print_package_paths.py\n      - name: List dependencies\n        run: docker run --rm --gpus all ${image_id} pip freeze\n\n  # Run the tests for each repo in parallel in a test container\n  run-tests:\n    runs-on: [self-hosted, \"${{ inputs.platform }}\"]\n    needs: [build-test-image, image-sanity-checks]\n    timeout-minutes: 540\n    strategy:\n      fail-fast: false\n      matrix:\n        test-suite: ${{ fromJson(inputs.suites) }}\n\n    steps:\n    - name: Run pytest\n      env:\n        image_id: ${{ needs.build-test-image.outputs.image_id }}\n        test_contexts: ${{ inputs.test_contexts }}\n      run: |\n        mkdir -p reports/${{ matrix.test-suite }}\n        docker run --rm --gpus all \\\n          --env XOBJECTS_TEST_CONTEXTS=\"${test_contexts}\" \\\n          -v $PWD/reports/${{ matrix.test-suite }}:/opt/reports:Z \\\n          ${image_id} \\\n          /opt/run_tests.sh /opt/xsuite/${{ matrix.test-suite }}/tests\n\n  wait:\n    runs-on: [self-hosted, \"${{ inputs.platform }}\"]\n    needs: [build-test-image, run-tests]\n    if: success() || failure()\n    steps:\n      - name: Wait\n        run: sleep 300\n\n  # Cleanup after the tests by removing the image and making sure there are\n  # no unused images and stopped containers\n  teardown:\n    runs-on: [self-hosted, \"${{ inputs.platform }}\"]\n    needs: [build-test-image, wait]\n    env:\n      image_id: ${{ needs.build-test-image.outputs.image_id }}\n    if: always()\n    steps:\n      - name: Stop the containers and remove the image\n        run: |\n          docker container stop \\\n            $(docker ps -q --filter ancestor=${image_id}) || true\n          docker container rm --volumes \\\n            $(docker ps -qa --filter ancestor=${image_id}) || true\n          docker image rm ${image_id}\n", "state": "active", "repository": "xsuite/xsuite"}
{"mined_at": "2024-07-15T17:52:15.784425", "created_at": "2024-01-07T13:44:04+01:00", "updated_at": "2024-01-07T13:44:04+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "xsuite/xsuite"}
{"mined_at": "2024-07-15T17:52:18.087207", "created_at": "2023-01-10T07:17:05+01:00", "updated_at": "2023-01-10T07:17:05+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "cloudforet-io/inventory"}
{"mined_at": "2024-07-15T17:52:19.270978", "created_at": "2023-05-08T03:10:57+02:00", "updated_at": "2023-05-08T03:10:57+02:00", "name": "[Dispatch] Release", "path": ".github/workflows/dispatch_release.yaml", "contents": "name: \"[Dispatch] Release\"\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'enter version(x.y.z)'\n        required: true\n        default: '2.0.0'\n      container_arch:\n        type: choice\n        description: 'choose container architecture'\n        default: linux/amd64\n        options:\n        - \"linux/amd64\"\n        - \"linux/amd64,linux/arm64\"\n\n\nenv:\n  ARCH: ${{ github.event.inputs.container_arch }}\n  VERSION: ${{ github.event.inputs.version }}\n  PACKAGE_VERSION: ${{ github.event.inputs.version }}\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n  BRANCH_NAME: ${{ github.ref_name }}\n\njobs:\n  tagging:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.PAT_TOKEN }}\n\n      - name: tagging\n        run: |\n          git config user.email admin@cloudforet.io\n          git config user.name cloudforet-admin\n          git tag ${{ env.VERSION }}\n          git push origin ${{ env.VERSION }}\n\n      - name: Notice when job fails\n        if: failure()\n        uses: 8398a7/action-slack@v3.15.0\n        with:\n          status: ${{job.status}}\n          fields: repo,workflow,job\n          author_name: Github Action Slack\n\n  pypi:\n    needs: tagging\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.PAT_TOKEN }}\n\n      - name: Set python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n\n      - name: Install dependencies\n        run: |\n            python -m pip install --upgrade pip\n            pip install setuptools wheel twine\n\n      - name: Make all and Packaging\n        run: |\n          cd src\n          python setup.py sdist bdist_wheel\n\n      - name: Publish a Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          verbose: true\n          packages-dir: src/dist/\n\n      - name: Notice when job fails\n        if: failure()\n        uses: 8398a7/action-slack@v3.15.0\n        with:\n          status: ${{job.status}}\n          fields: repo,workflow,job\n          author_name: Github Action Slack\n\n  docker:\n    needs: pypi\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.PAT_TOKEN }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.CLOUDFORET_DEV_DOCKER_USERNAME }}\n          password: ${{ secrets.CLOUDFORET_DEV_DOCKER_PASSWORD }}\n\n      - name: Build and push to dockerhub\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          platforms: ${{ env.ARCH }}\n          push: true\n          tags: cloudforet/${{ github.event.repository.name }}:${{ env.VERSION }}\n          build-args: |\n            PACKAGE_VERSION=${{ env.PACKAGE_VERSION }}\n            BRANCH_NAME=${{ env.BRANCH_NAME }}\n\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v2\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: us-east-1\n\n      - name: Login to Amazon ECR\n        run: aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin ${{ secrets.ECR_REPO }}\n\n      - name: Build and push to ECR\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          platforms: ${{ env.ARCH }}\n          push: true\n          tags: ${{ secrets.ECR_REPO }}/${{ github.event.repository.name }}:${{ env.VERSION }}\n          build-args: |\n            PACKAGE_VERSION=${{ env.PACKAGE_VERSION }}\n            BRANCH_NAME=${{ env.BRANCH_NAME }}\n          provenance: false\n\n      - name: Notice when job fails\n        if: failure()\n        uses: 8398a7/action-slack@v3.15.0\n        with:\n          status: ${{job.status}}\n          fields: repo,workflow,job\n          author_name: Github Action Slack\n\n  notification:\n    needs: docker\n    runs-on: ubuntu-latest\n    steps:\n      - name: Slack\n        if: always()\n        uses: 8398a7/action-slack@v3.15.0\n        with:\n          status: ${{job.status}}\n          fields: repo,message,commit,author,action,ref,workflow,job\n          author_name: Github Action Slack\n", "state": "active", "repository": "cloudforet-io/inventory"}
{"mined_at": "2024-07-15T17:52:20.340493", "created_at": "2023-05-08T03:22:00+02:00", "updated_at": "2023-05-09T04:34:30+02:00", "name": "[Dispatch] Make Helm Chart", "path": ".github/workflows/dispatch_make_helm_chart.yaml", "contents": "name: \"[Dispatch] Make Helm Chart\"\non:\n  workflow_dispatch:\n  repository_dispatch:\n    types: [make_helm_chart]\n\nenv:\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n\njobs:\n  helm_cloudforet:\n    if: github.repository_owner == 'cloudforet-io'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n          \n      - name: Install Helm\n        uses: azure/setup-helm@v1\n        with:\n          version: '3.4.0'\n\n      - name: Run Helm packaging\n        run: |\n          export cache_dir=/tmp/helm\n          mkdir -p \"$cache_dir\"\n          echo \"Installing chart-releaser...\"\n          curl -sSLo cr.tar.gz \"https://github.com/helm/chart-releaser/releases/download/v1.2.0/chart-releaser_1.2.0_linux_amd64.tar.gz\"\n          tar -xzf cr.tar.gz -C \"$cache_dir\"\n          rm -f cr.tar.gz\n          echo 'Adding cr directory to PATH...'\n          export PATH=\"$cache_dir:$PATH\"\n          rm -rf .deploy\n          echo 'Print Version ...'\n          export SERVICE=$(echo ${{ github.repository }} | cut -d '/' -f2)\n          echo 'Update helm version in chart.yaml and values.yaml'\n          echo \"SERVICE=${SERVICE}\" >> $GITHUB_ENV\n          helm package deploy/helm --destination .deploy\n          cr upload -o cloudforet-io -r charts -p .deploy --token ${{ secrets.PAT_TOKEN }}\n          cr index -i ./index.yaml -p .deploy/ -o cloudforet-io -r charts -c https://cloudforet-io.github.io/charts --token ${{ secrets.PAT_TOKEN }}\n          cp index.yaml /tmp/index.yaml\n\n      - name: Check out chart repo\n        uses: actions/checkout@master\n        with:\n          repository: cloudforet-io/charts\n          ref: gh-pages\n          token: ${{ secrets.PAT_TOKEN }}\n\n      - name: Update Helm repository index.yaml\n        run: |\n          git config --global user.email admin@cloudforet.io\n          git config --global user.name cloudforet-admin\n          cp /tmp/index.yaml ./\n          git add index.yaml\n          git pull\n          git commit -m \"Add ${SERVICE} chart\"\n          git push origin gh-pages\n\n      - name: Notice when job fails\n        if: failure()\n        uses: 8398a7/action-slack@v3.15.0\n        with:\n          status: ${{job.status}}\n          fields: repo,workflow,job\n          author_name: Github Action Slack\n\n  notify_to_slack:\n    if: github.repository_owner == 'cloudforet-io'\n    needs: [helm_cloudforet]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Slack\n        if: always()\n        uses: 8398a7/action-slack@v3.15.0\n        with:\n          status: ${{job.status}}\n          fields: repo,message,commit,author,action,eventName,ref,workflow,job,took\n          author_name: Github Action Slack", "state": "active", "repository": "cloudforet-io/inventory"}
{"mined_at": "2024-07-15T17:52:21.460168", "created_at": "2023-05-08T03:22:01+02:00", "updated_at": "2023-05-08T03:22:01+02:00", "name": "[Dispatch] Create Branch", "path": ".github/workflows/dispatch_create_branch.yaml", "contents": "name: \"[Dispatch] Create Branch\"\n\non:\n  workflow_dispatch:\n    inputs:\n      branch_name:\n        description: enter branch (release-x.y)\n        required: true\n        default: 'release-1.0'\n\njobs:\n  create_branch:\n    runs-on: ubuntu-latest\n    steps:\n      - name: create branch\n        uses: peterjgrainger/action-create-branch@v2.2.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}\n        with:\n          branch: '${{ github.event.inputs.branch_name }}'\n", "state": "active", "repository": "cloudforet-io/inventory"}
{"mined_at": "2024-07-15T17:52:22.494845", "created_at": "2023-05-08T03:22:04+02:00", "updated_at": "2023-05-08T03:22:04+02:00", "name": "[Dispatch] Daily build", "path": ".github/workflows/dispatch_daily_build.yaml", "contents": "name: \"[Dispatch] Daily build\"\n\non:\n  workflow_dispatch:\n\nenv:\n  BRANCH_NAME: master\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    outputs:\n      TIME: ${{ steps.get_date.outputs.TIME }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ env.BRANCH_NAME }}\n          token: ${{ secrets.PAT_TOKEN }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.CLOUDFORET_DEV_DOCKER_USERNAME }}\n          password: ${{ secrets.CLOUDFORET_DEV_DOCKER_PASSWORD }}\n\n      - name: Get Date\n        id: get_date\n        run: |\n          sudo ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime\n          CURRENT_TIME=$(date +'%Y%m%d.%H%M%S')\n          \n          echo \"TIME=$CURRENT_TIME\" >> $GITHUB_ENV\n          echo \"TIME=$CURRENT_TIME\" >> $GITHUB_OUTPUT\n\n      - name: Build and push to dockerhub\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          push: true\n          tags: |\n            cloudforetdev/${{ github.event.repository.name }}:latest\n            cloudforetdev/${{ github.event.repository.name }}:${{ env.TIME }}\n          build-args: |\n            PACKAGE_VERSION=${{ env.PACKAGE_VERSION }}\n            BRANCH_NAME=${{ env.BRANCH_NAME }}\n          provenance: false\n\n      - name: Notice when job fails\n        if: failure()\n        uses: 8398a7/action-slack@v3.15.0\n        with:\n          status: ${{job.status}}\n          fields: repo,workflow,job\n          author_name: Github Action Slack\n\n  scan:\n    needs: docker\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Run Trivy vulnerability scanner\n        id: trivy-scan\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: cloudforetdev/${{ github.event.repository.name }}:${{ needs.docker.outputs.TIME }}\n          format: 'sarif'\n          output: 'trivy-results.sarif'\n          ignore-unfixed: true\n          vuln-type: 'os,library'\n          severity: 'CRITICAL,HIGH'\n\n      - name: Upload Trivy scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: 'trivy-results.sarif'\n\n      - name: Count vulnerabilities\n        id: vulnerabilities\n        run: |\n          count=$(jq '.runs[].results[].ruleId' ./trivy-results.sarif | wc -c)\n          echo \"result_count=$count\" >> $GITHUB_OUTPUT\n          echo \"$count\"\n\n      - name: slack\n        if:  ${{ steps.vulnerabilities.outputs.result_count != 0 }}\n        uses: 8398a7/action-slack@v3\n        with:\n          status: custom\n          fields: workflowRun\n          custom_payload: |\n            {\n              \"blocks\": [\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \":warning: Image vulnerability detected\"\n                  }\n                },\n                {\n                  \"type\": \"section\",\n                  \"fields\": [\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Image:*\\ncloudforetdev/${{ github.event.repository.name }}:${{ needs.docker.outputs.TIME }}\"\n                    },\n                    {\n                      \"type\": \"mrkdwn\",\n                      \"text\": \"*Repo name:*\\n${{ github.repository }}\"\n                    }\n                  ]\n                },\n                {\n                  \"type\": \"actions\",\n                  \"elements\": [\n                    {\n                      \"type\": \"button\",\n                      \"text\": {\n                        \"type\": \"plain_text\",\n                        \"emoji\": true,\n                        \"text\": \"View Detail\"\n                      },\n                      \"style\": \"danger\",\n                      \"url\": \"https://github.com/${{ github.repository }}/security/code-scanning\"\n                    }\n                  ]\n                }\n              ]\n            }\n        env:\n          SLACK_WEBHOOK_URL: ${{secrets.VULNERABILITY_SLACK_WEBHOOK_URL}}\n\n  notification:\n    needs: docker\n    runs-on: ubuntu-latest\n    steps:\n      - name: Slack\n        if: always()\n        uses: 8398a7/action-slack@v3.15.0\n        with:\n          status: ${{job.status}}\n          fields: repo,message,commit,author,action,ref,workflow,job\n          author_name: Github Action Slack\n", "state": "active", "repository": "cloudforet-io/inventory"}
{"mined_at": "2024-07-15T17:52:23.499209", "created_at": "2023-05-08T03:22:05+02:00", "updated_at": "2023-05-08T03:22:05+02:00", "name": "[PR Open] example", "path": ".github/workflows/pr_open_example.yaml", "contents": "name: \"[PR Open] example\"\n\non:\n  pull_request:\n    types: [opened]\n\njobs:\n  example:\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo \"Implement here with test codes!\"", "state": "active", "repository": "cloudforet-io/inventory"}
{"mined_at": "2024-07-15T17:52:24.626943", "created_at": "2023-05-08T08:50:28+02:00", "updated_at": "2023-05-08T08:50:28+02:00", "name": "[Dispatch] Sync CI", "path": ".github/workflows/dispatch_sync_ci.yaml", "contents": "name: \"[Dispatch] Sync CI\"\n\non:\n  workflow_dispatch:\n\nenv:\n  REPO: cloudforet-io/actions\n  WORKFLOW_NAME: dispatch_apply_workflows.yaml\n\njobs:\n  owner_check:\n    if: github.repository_owner == 'cloudforet-io'\n    runs-on: ubuntu-latest\n    steps:\n      - run: echo ${{ github.repository_owner }}\n  pull_workflows:\n    runs-on: ubuntu-latest\n    needs: owner_check\n    steps:\n      - name: request workflows\n        uses: benc-uk/workflow-dispatch@v1\n        with:\n          token: ${{ secrets.PAT_TOKEN }}\n          repo: ${{ env.REPO }}\n          workflow: ${{ env.WORKFLOW_NAME }}\n          inputs: '{\"dest\" : \"${{ github.event.repository.name }}\"}'\n", "state": "active", "repository": "cloudforet-io/inventory"}
{"mined_at": "2024-07-15T17:52:25.711725", "created_at": "2024-03-21T17:36:51+01:00", "updated_at": "2024-03-21T17:36:51+01:00", "name": "Check Pull Request", "path": ".github/workflows/check-pull-request.yml", "contents": "# .github/workflows/check-pull-request.yml\nname: Check Pull Request\n\non:\n  pull_request_target:\n\njobs:\n  check-pull-request:\n    name: Check Pull Request\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: Check signed commits\n        id: review\n        uses: cloudforet-io/check-pr-action@v1\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Notify Result\n        if: ${{ steps.review.outputs.signedoff == 'false' }}\n        run: |\n          echo \"The review result is ${{ steps.review.outputs.signedoff }}\"\n          exit 1\n", "state": "active", "repository": "cloudforet-io/inventory"}
{"mined_at": "2024-07-15T17:52:27.740873", "created_at": "2021-08-18T19:42:30+02:00", "updated_at": "2021-08-19T17:54:21+02:00", "name": "CodeCov", "path": ".github/workflows/codecov.yml", "contents": "name: CodeCov\non: [push, pull_request]\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    env:\n      OS: ubuntu-latest\n      PYTHON: '3.10'\n\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version:\n        - '3.10'\n\n    services:\n      postgres:\n        image: postgres:10.8\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: djangogirls\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: '2'\n\n    - name: Setup Python ${{ matrix.python-version }}\n      uses: actions/setup-python@master\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Generate Report\n      run: |\n        pip install -r requirements.txt\n        coverage run -m pytest\n        coverage xml\n      env:\n        POSTGRES_DB: djangogirls\n        POSTGRES_HOST: localhost\n        POSTGRES_PASSWORD: postgres\n        POSTGRES_USER: postgres\n    - name: Upload Coverage to Codecov\n      uses: codecov/codecov-action@v2", "state": "active", "repository": "djangogirls/djangogirls"}
{"mined_at": "2024-07-15T17:52:28.856438", "created_at": "2023-02-25T07:16:48+01:00", "updated_at": "2023-03-30T09:09:19+02:00", "name": "Deploy to 🐍anywhere", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy to 🐍anywhere\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  deploy:\n    name: Deploy to 🐍anywhere \n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Run deploy script\n      uses: appleboy/ssh-action@v0.1.7\n      with:\n        host: ${{ secrets.HOST }}\n        username: ${{ secrets.USERNAME }}\n        key: ${{ secrets.KEY }}\n        port: ${{ secrets.PORT }}\n        script: |\n          ./deploy.sh", "state": "active", "repository": "djangogirls/djangogirls"}
{"mined_at": "2024-07-15T17:52:30.070094", "created_at": "2021-07-09T10:11:21+02:00", "updated_at": "2021-07-12T21:25:15+02:00", "name": "Tests", "path": ".github/workflows/django.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    services:\n      postgres:\n        image: postgres:10.8\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: djangogirls\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version:\n        - '3.10'\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: psycopg2 prerequisites\n        run: sudo apt-get install libpq-dev\n\n      - uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ hashFiles('package.json') }}-${{ hashFiles('requirements.txt') }}\n\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install -r requirements.txt\n\n      - name: Run migrations\n        run: |\n          python manage.py migrate\n        env:\n          POSTGRES_PASSWORD: postgres\n\n      - name: Run Tests\n        run: |\n          py.test --cov\n        env:\n          POSTGRES_PASSWORD: postgres\n", "state": "active", "repository": "djangogirls/djangogirls"}
{"mined_at": "2024-07-15T17:52:31.168831", "created_at": "2021-08-14T23:05:34+02:00", "updated_at": "2024-02-01T11:28:22+01:00", "name": "flake8", "path": ".github/workflows/flake8.yml", "contents": null, "state": "active", "repository": "djangogirls/djangogirls"}
{"mined_at": "2024-07-15T17:52:32.503994", "created_at": "2023-11-24T14:15:19+01:00", "updated_at": "2024-02-01T22:54:00+01:00", "name": "Ruff", "path": ".github/workflows/ruff.yml", "contents": "name: Ruff\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  ruff:\n    name: ruff\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - run: python -Im pip install --user ruff\n\n    - name: Run Ruff\n      run: ruff --output-format=github .\n", "state": "active", "repository": "djangogirls/djangogirls"}
{"mined_at": "2024-07-15T17:52:36.700122", "created_at": "2021-07-27T14:15:15+02:00", "updated_at": "2022-01-31T16:41:23+01:00", "name": "Build and Test", "path": ".github/workflows/python-app.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Build and Test\n\non: push\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n\n    - name: Install nox\n      run: |\n          python -m pip install nox\n      \n    - name: Install poetry\n      run: |\n          python -m pip install poetry\n\n    - name: Install dependencies\n      run: |\n        poetry install --with dev\n    \n    - name: Make sure the code can run\n      run: |\n        # cd src; poetry run python -m folio_migration_tools -h\n\n    - name: Run the nox test session\n      env:\n        GITHUB_TOKEN: ${{ secrets.TESTS_GITHUB_TOKEN }}\n      run: |\n        nox -rs tests\n\n    - name: Run the nox lint session\n      run: |\n        nox -rs lint\n\n    - name: Run the nox safety session\n      run: |\n        nox -rs safety\n\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3.1.4        \n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        directory: ./\n        env_vars: OS,PYTHON\n        fail_ci_if_error: true\n        files: ./coverage.xml\n        flags: unittests\n        name: codecov-umbrella\n        verbose: true\n\n    \n    - name: clone repo_template\n      uses: actions/checkout@master\n      with:\n        repository: FOLIO-FSE/migration_repo_template\n        path: ./migration_repo_template\n", "state": "active", "repository": "folio-fse/folio_migration_tools"}
{"mined_at": "2024-07-15T17:52:39.130846", "created_at": "2020-04-17T16:08:28+02:00", "updated_at": "2020-11-21T18:27:32+01:00", "name": "Tests", "path": ".github/workflows/Tests.yml", "contents": "name: Tests\n\non:\n  pull_request:\n      branches:\n        - master\n        - dev\n  push:\n    branches:\n      - master\n      - dev\njobs:\n  #Eslint:\n  #  runs-on: ubuntu-latest\n  #  steps:\n  #  - uses: actions/checkout@v3\n  #  - name: Setup Node.js environment\n  #    uses: actions/setup-node@v1.4.1\n  #    with:\n  #        node-version: '8.17'\n  #  - run: npm install -g eslint@6.8.0\n  #  - run: eslint static/js --ignore-path=static/js/.eslintignore\n  Pylint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r test_requirements.txt -r requirements.txt\n    - name: Pylint\n      run: |\n        bin/pylint.sh\n  Black:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n    - name: Install Dependencies\n      run: |\n        pip install -r test_requirements.txt\n    - name: black formatting\n      run: |\n        bin/black.sh\n  Tests:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Starting Server and DB\n      run: |\n        cd ./anyway-newsflash-infographics/\n        bash run.bash\n        cd ../\n        docker-compose -f docker-compose.yml up -d --build anyway\n    - name: Waiting for DB startup\n      run: |\n        bash ./wait_for_postgres.sh\n    - name: DB Initialization\n      run: |\n        docker exec anyway alembic upgrade head\n        docker exec anyway ./main.py process registered-vehicles\n        docker exec anyway ./main.py process cbs --source local_dir_for_tests_only\n        docker exec anyway ./main.py process road-segments\n    - name: Tests\n      env:\n        TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}\n        TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }}\n        TWITTER_ACCESS_KEY:  ${{ secrets.TWITTER_ACCESS_KEY }}\n        TWITTER_ACCESS_SECRET:  ${{ secrets.TWITTER_ACCESS_SECRET }}\n        GOOGLE_MAPS_KEY: ${{ secrets.GOOGLE_MAPS_KEY }}\n        APP_SECRET_KEY: ${{ secrets.APP_SECRET_KEY }}\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        docker exec anyway pip install -r ./test_requirements.txt\n        docker exec \\\n          -e TWITTER_CONSUMER_KEY=$TWITTER_CONSUMER_KEY \\\n          -e TWITTER_CONSUMER_SECRET=$TWITTER_CONSUMER_SECRET \\\n          -e TWITTER_ACCESS_KEY=$TWITTER_ACCESS_KEY \\\n          -e TWITTER_ACCESS_SECRET=$TWITTER_ACCESS_SECRET \\\n          -e GOOGLE_MAPS_KEY=$GOOGLE_MAPS_KEY \\\n          -e APP_SECRET_KEY=$APP_SECRET_KEY \\\n          anyway pytest -v tests -m \"not browser\" --cov=. --cov-report=xml\n\n    - name: Logging docker in case of failure\n      if: failure()\n      run : |\n        docker ps\n        docker container inspect anyway\n        docker logs --details anyway\n        echo +-+-+-\n        docker container inspect db\n        docker logs --details db\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        file: ./coverage.xml\n        flags: unittests\n        env_vars: OS,PYTHON\n        name: codecov-umbrella\n        fail_ci_if_error: false\n", "state": "active", "repository": "data-for-change/anyway"}
{"mined_at": "2024-07-15T17:52:40.180022", "created_at": "2020-04-19T17:07:38+02:00", "updated_at": "2020-04-19T17:07:38+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\non:\n  push:\n    branches:\n      - master\n      - dev\nenv:\n  DOCKER_REPOSITORY_ANYWAY: \"${{ github.repository }}/anyway\"\n  DOCKER_REPOSITORY_DB: \"${{ github.repository }}/db\"\n  DOCKER_REPOSITORY_DB_BACKUP: \"${{ github.repository }}/db_backup\"\n  DOCKER_REPOSITORY_NGINX: \"${{ github.repository }}/nginx\"\n  SERVER: \"docker.pkg.github.com\"\njobs:\n  Build-anyway:\n    if: github.repository == \"${{ github.repository_owner }}/anyway\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Build and push anyway Docker image\n      uses: docker/build-push-action@v1.1.1\n      with:\n        name: ${{ env.DOCKER_REPOSITORY_ANYWAY }}\n        username: ${{ github.repository_owner }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n        registry: docker.pkg.github.com\n        repository: ${{ env.DOCKER_REPOSITORY_ANYWAY }}\n        tag_with_ref: true\n        tag_with_sha: true\n        cache_froms: ${{ env.DOCKER_REPOSITORY_ANYWAY }}:dev\n  Build-db:\n    if: github.repository == \"${{ github.repository_owner }}/anyway\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Build and push database Docker image\n      uses: docker/build-push-action@v1.1.1\n      with:\n        registry: docker.pkg.github.com\n        username: ${{ github.repository_owner }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n        repository: ${{ env.DOCKER_REPOSITORY_DB }}\n        path: 'db_docker'\n        tag_with_ref: true\n        tag_with_sha: true\n        cache_froms: ${{ env.DOCKER_REPOSITORY_DB }}:dev\n  Build-db-backup:\n    if: github.repository == \"${{ github.repository_owner }}/anyway\"\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Build and push database backup Docker image\n      uses: docker/build-push-action@v1.1.1\n      with:\n        registry: docker.pkg.github.com\n        repository: ${{ env.DOCKER_REPOSITORY_DB_BACKUP }}\n        dockerfile: 'db_docker/backup.Dockerfile'\n        username: ${{ github.repository_owner }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n        path: 'db_docker'\n        tag_with_ref: true\n        tag_with_sha: true\n        cache_froms: ${{ env.DOCKER_REPOSITORY_DB_BACKUP }}:dev\n  Build-nginx:\n    if: github.repository == \"${{ github.repository_owner }}/anyway\"\n    needs: Build-anyway\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - env:\n        DOCKER_USERNAME: ${{ github.repository_owner }}\n        DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        bin/nginx_docker_build_push.sh\n  deploy:\n    needs:\n    - Build-anyway\n    - Build-db\n    - Build-db-backup\n    - Build-nginx\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - env:\n        DOCKER_REPOSITORY_ANYWAY: ${{ env.SERVER }}/${{ env.DOCKER_REPOSITORY_ANYWAY }}\n        DOCKER_REPOSITORY_DB: ${{ env.SERVER }}/${{ env.DOCKER_REPOSITORY_DB }}\n        DOCKER_REPOSITORY_DB_BACKUP: ${{ env.SERVER }}/${{ env.DOCKER_REPOSITORY_DB_BACKUP }}\n        DOCKER_REPOSITORY_NGINX: ${{ env.SERVER }}/${{ env.DOCKER_REPOSITORY_NGINX }}\n        DFC_IAC_DEPLOY_KEY: ${{ secrets.DFC_IAC_DEPLOY_KEY }}\n        ANYWAY_ETL_DEPLOY_KEY: ${{ secrets.ANYWAY_ETL_DEPLOY_KEY }}\n      run: |\n        if [ \"${GITHUB_REF}\" == \"refs/heads/master\" ] || [ \"${GITHUB_REF}\" == \"refs/heads/dev\" ]; then\n          SHA_TAG=sha-`git rev-parse --short $GITHUB_SHA` &&\\\n          echo SHA_TAG=$SHA_TAG &&\\\n          ANYWAY_IMAGE=\"${DOCKER_REPOSITORY_ANYWAY}:${SHA_TAG}\" &&\\\n          echo ANYWAY_IMAGE=$ANYWAY_IMAGE &&\\\n          DB_IMAGE=\"${DOCKER_REPOSITORY_DB}:${SHA_TAG}\" &&\\\n          echo DB_IMAGE=$DB_IMAGE &&\\\n          DB_BACKUP_IMAGE=\"${DOCKER_REPOSITORY_DB_BACKUP}:${SHA_TAG}\" &&\\\n          echo DB_BACKUP_IMAGE=$DB_BACKUP_IMAGE &&\\\n          NGINX_IMAGE=\"${DOCKER_REPOSITORY_NGINX}:${SHA_TAG}\" &&\\\n          echo NGINX_IMAGE=$NGINX_IMAGE &&\\\n          if ! git log -1 --pretty=format:\"%s\" | grep -- --no-deploy; then\n            git config --global user.name \"Anyway CI\" &&\\\n            git config --global user.email \"anyway-ci@localhost\" &&\\\n            if [ \"${GITHUB_REF}\" == \"refs/heads/master\" ]; then\n              cd `mktemp -d` &&\\\n              echo \"${DFC_IAC_DEPLOY_KEY}\" > dfc_iac_deploy_key &&\\\n              chmod 400 dfc_iac_deploy_key &&\\\n              export GIT_SSH_COMMAND=\"ssh -i `pwd`/dfc_iac_deploy_key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no\" &&\\\n              git clone git@github.com:data-for-change/dfc-iac.git &&\\\n              cd dfc-iac &&\\\n              bin/update_anyway_env.py '{\"image\":\"'${ANYWAY_IMAGE}'\",\"dbImage\":\"'${DB_IMAGE}'\",\"dbBackupImage\":\"'${DB_BACKUP_IMAGE}'\",\"nginxImage\":\"'${NGINX_IMAGE}'\"}' &&\\\n              git add apps/anyway/.env && git commit -m \"automatic update of anyway\" &&\\\n              git push origin main\n            fi &&\\\n            cd `mktemp -d` &&\\\n            echo \"${ANYWAY_ETL_DEPLOY_KEY}\" > anyway_etl_deploy_key &&\\\n            chmod 400 anyway_etl_deploy_key &&\\\n            export GIT_SSH_COMMAND=\"ssh -i `pwd`/anyway_etl_deploy_key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no\" &&\\\n            git clone git@github.com:data-for-change/anyway-etl.git &&\\\n            cd anyway-etl &&\\\n            if [ \"${GITHUB_REF}\" == \"refs/heads/dev\" ]; then\n              ANYWAY_ETL_COMMIT_FILENAME=anyway-dev-commit.txt\n            else\n              ANYWAY_ETL_COMMIT_FILENAME=anyway-master-commit.txt\n            fi &&\\\n            echo \"${GITHUB_SHA}\" > $ANYWAY_ETL_COMMIT_FILENAME &&\\\n            git add ./$ANYWAY_ETL_COMMIT_FILENAME &&\\\n            git commit -m \"automatic update of $ANYWAY_ETL_COMMIT_FILENAME\" &&\\\n            git push origin main\n          fi\n        fi\n", "state": "active", "repository": "data-for-change/anyway"}
{"mined_at": "2024-07-15T17:52:42.871130", "created_at": "2023-10-12T15:55:25+02:00", "updated_at": "2023-10-19T11:56:04+02:00", "name": "autoconf", "path": ".github/workflows/autoconf.yml", "contents": "name: autoconf\n\non:\n  pull_request:\n    branches:\n      - 'master'\n\njobs:\n  unit_tests:\n    runs-on: ubuntu-latest\n    env:\n      working-directory: ./auto_configurator\n\n    steps:\n      - name: checkout the repo\n        uses: actions/checkout@v3\n\n      - name: install dependencies\n        run: |\n          python -m pip install pytest\n          pip install -r requirements.txt\n          pip install requests-mock\n\n      - name: run unit tests\n        run: pytest\n        working-directory: ${{env.working-directory}}", "state": "active", "repository": "nvidia/nemo-megatron-launcher"}
{"mined_at": "2024-07-15T17:52:44.499174", "created_at": "2023-10-12T15:55:25+02:00", "updated_at": "2023-10-19T11:56:04+02:00", "name": "launcher", "path": ".github/workflows/launcher.yml", "contents": "name: launcher\n\non:\n  pull_request:\n    branches:\n      - 'master'\n\njobs:\n  unit_tests:\n    runs-on: ubuntu-latest\n    env:\n      working-directory: ./launcher_scripts\n\n    steps:\n      - name: checkout the repo\n        uses: actions/checkout@v3\n\n      - name: install dependencies\n        run: |\n          python -m pip install pytest\n          pip install -r requirements.txt\n          pip install requests-mock\n\n      - name: run unit tests\n        run: pytest\n        working-directory: ${{env.working-directory}}", "state": "active", "repository": "nvidia/nemo-megatron-launcher"}
{"mined_at": "2024-07-15T17:52:45.944936", "created_at": "2023-10-12T15:55:25+02:00", "updated_at": "2023-10-19T11:56:04+02:00", "name": "code_style", "path": ".github/workflows/style.yml", "contents": "name: code_style\n\non:\n  pull_request:\n    branches:\n      - 'master'\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    env:\n      working-directory: .\n\n    steps:\n      - name: checkout the repo\n        uses: actions/checkout@v3\n\n      - name: install dependencies\n        run: pip install --upgrade black==19.10b0 click==8.0.2\n\n      - name: code style check\n        run: black . --check --verbose --diff\n        working-directory: ${{env.working-directory}}", "state": "active", "repository": "nvidia/nemo-megatron-launcher"}
{"mined_at": "2024-07-15T17:52:47.386500", "created_at": "2023-10-12T13:07:08+02:00", "updated_at": "2023-10-12T13:26:48+02:00", "name": "unit_tests", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "nvidia/nemo-megatron-launcher"}
{"mined_at": "2024-07-15T17:52:49.645778", "created_at": "2022-07-15T14:35:13+02:00", "updated_at": "2022-11-22T13:39:05+01:00", "name": "integration test", "path": ".github/workflows/integration-test.yml", "contents": "name: integration test\n\non: workflow_dispatch\n\njobs:\n  # phase 1\n  list:\n    env:\n      s3_bucket: s3://openproblems-data/resources_test/\n    runs-on: ubuntu-latest\n\n    outputs:\n      component_matrix: ${{ steps.set_matrix.outputs.components }}\n      workflow_matrix: ${{ steps.set_matrix.outputs.workflows }}\n      cache_key: ${{ steps.cache.outputs.cache_key }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - uses: viash-io/viash-actions/project/sync-and-cache-s3@v5\n      id: cache\n      with:\n        s3_bucket: $s3_bucket\n        dest_path: resources_test\n        cache_key_prefix: resources_test__\n\n    - name: Remove target folder from .gitignore\n      run: |\n        # allow publishing the target folder\n        sed -i 's#^/target/$##g' .gitignore\n\n    - uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: .functionality.version := 'integration_build'\n        parallel: true\n\n    - name: Deploy to target branch\n      uses: peaceiris/actions-gh-pages@v4\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: .\n        publish_branch: integration_build\n        exclude_assets: ''\n\n    - id: ns_list\n      uses: viash-io/viash-actions/ns-list@v5\n      with:\n        platform: docker\n        src: src\n        format: json\n\n    - id: set_matrix\n      run: |\n        echo \"components=$(jq -c '[ .[] | \n          { \n            \"name\": (.functionality.namespace + (.platforms | map(select(.type == \"docker\"))[0].namespace_separator) + .functionality.name),\n            \"config\": .info.config,\n            \"dir\": .info.config | capture(\"^(?<dir>.*\\/)\").dir\n          }\n        ]' ${{ steps.ns_list.outputs.output_file }} )\" >> $GITHUB_OUTPUT\n\n        echo \"workflows=$(jq -c '[ .[] | . as $config | (.functionality.test_resources // [])[] | select(.type == \"nextflow_script\", .entrypoint) |\n          { \n            \"name\": ($config.functionality.namespace + \"/\" + $config.functionality.name),\n            \"main_script\": (($config.info.config | capture(\"^(?<dir>.*\\/)\").dir) + \"/\" + .path),\n            \"entry\": .entrypoint,\n            \"config\": $config.info.config\n          }\n        ] | unique' ${{ steps.ns_list.outputs.output_file }} )\" >> $GITHUB_OUTPUT\n\n  # phase 2\n  build:\n    needs: list\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        component: ${{ fromJson(needs.list.outputs.component_matrix) }}\n\n    steps:\n    # Remove unnecessary files to free up space. Otherwise, we get 'no space left on device.'\n    - uses: data-intuitive/reclaim-the-bytes@v2\n    \n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - name: Build container\n      uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: .functionality.version := 'integration_build'\n        setup: build\n        src: ${{ matrix.component.dir }}\n        \n    - name: Login to container registry\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ secrets.GTHB_USER }}\n        password: ${{ secrets.GTHB_PAT }}\n\n    - name: Push container\n      uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: .functionality.version := 'integration_build'\n        platform: docker\n        src: ${{ matrix.component.dir }}\n        setup: push\n\n  ###################################\n  # phase 3\n  integration_test:\n    needs: [ build, list ]\n    if: \"${{ needs.list.outputs.workflow_matrix != '[]' }}\"\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        component: ${{ fromJson(needs.list.outputs.workflow_matrix) }}\n\n    steps:\n    # Remove unnecessary files to free up space. Otherwise, we get 'no space left on device.'\n    - uses: data-intuitive/reclaim-the-bytes@v2\n        \n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - uses: nf-core/setup-nextflow@v2.0.0\n\n    # build target dir\n    # use containers from integration_build branch, hopefully these are available\n    - name: Build target dir\n      uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: \".functionality.version := 'integration_build'\"\n        parallel: true\n\n    # use cache\n    - name: Cache resources data\n      uses: actions/cache@v4\n      timeout-minutes: 5\n      with:\n        path: resources_test\n        key: ${{ needs.list.outputs.cache_key }}\n        fail-on-cache-miss: true\n\n    - name: Run integration test\n      timeout-minutes: 45\n      run: |\n        # todo: replace with viash test command\n        export NXF_VER=22.04.5\n        nextflow run . \\\n          -main-script \"${{ matrix.component.main_script }}\" \\\n          -entry \"${{ matrix.component.entry }}\" \\\n          -profile docker,mount_temp,no_publish \\\n          -c workflows/utils/labels_ci.config\n", "state": "active", "repository": "openproblems-bio/openproblems-v2"}
{"mined_at": "2024-07-15T17:52:50.812749", "created_at": "2022-07-15T14:35:13+02:00", "updated_at": "2022-07-15T14:35:13+02:00", "name": "main build", "path": ".github/workflows/main-build.yml", "contents": "name: main build\n\non:\n  push:\n    branches: [ 'main' ]\n\njobs:\n  # phase 1\n  list:\n    runs-on: ubuntu-latest\n\n    outputs:\n      component_matrix: ${{ steps.set_matrix.outputs.matrix }}\n      cache_key: ${{ steps.cache.outputs.cache_key }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - name: Remove target folder from .gitignore\n      run: |\n        # allow publishing the target folder\n        sed -i 's#^/target/$##g' .gitignore\n\n    - uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: .functionality.version := 'main_build'\n        parallel: true\n\n    # - name: Build nextflow schemas\n    #   uses: viash-io/viash-actions/pro/build-nextflow-schemas@v4\n    #   with:\n    #     workflows: src\n    #     components: src\n    #     viash_pro_token: ${{ secrets.GTHB_PAT }}\n    #     tools_version: 'main_build'\n   \n    # - name: Build parameter files\n    #   uses: viash-io/viash-actions/pro/build-nextflow-params@v4\n    #   with:\n    #     workflows: src\n    #     components: src\n    #     viash_pro_token: ${{ secrets.GTHB_PAT }}\n    #     tools_version: 'main_build'\n\n    - name: Deploy to target branch\n      uses: peaceiris/actions-gh-pages@v4\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: .\n        publish_branch: main_build\n\n    - id: ns_list\n      uses: viash-io/viash-actions/ns-list@v5\n      with:\n        platform: docker\n        src: src\n        format: json\n\n    - id: set_matrix\n      run: |\n        echo \"matrix=$(jq -c '[ .[] | \n          { \n            \"name\": (.functionality.namespace + \"/\" + .functionality.name),\n            \"dir\": .info.config | capture(\"^(?<dir>.*\\/)\").dir\n          }\n        ]' ${{ steps.ns_list.outputs.output_file }} )\" >> $GITHUB_OUTPUT\n\n  # phase 2\n  build:\n    needs: list\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        component: ${{ fromJson(needs.list.outputs.component_matrix) }}\n\n    steps:\n    # Remove unnecessary files to free up space. Otherwise, we get 'no space left on device.'\n    - uses: data-intuitive/reclaim-the-bytes@v2\n    \n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - name: Build container\n      uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: .functionality.version := 'main_build'\n        platform: docker\n        src: ${{ matrix.component.dir }}\n        setup: build\n        \n    - name: Login to container registry\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ secrets.GTHB_USER }}\n        password: ${{ secrets.GTHB_PAT }}\n\n    - name: Push container\n      uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: .functionality.version := 'main_build'\n        platform: docker\n        src: ${{ matrix.component.dir }}\n        setup: push", "state": "active", "repository": "openproblems-bio/openproblems-v2"}
{"mined_at": "2024-07-15T17:52:52.239642", "created_at": "2022-11-22T13:39:05+01:00", "updated_at": "2022-11-22T13:39:05+01:00", "name": "release build", "path": ".github/workflows/release-build.yml", "contents": "name: release build\n\non: \n  workflow_dispatch:\n    inputs:\n      version_tag:\n        description: Version tag\n        required: true\n\njobs:\n  # phase 1\n  list:\n    env:\n      s3_bucket: s3://openproblems-data/resources_test/\n    runs-on: ubuntu-latest\n      \n    outputs:\n      component_matrix: ${{ steps.set_matrix.outputs.components }}\n      workflow_matrix: ${{ steps.set_matrix.outputs.workflows }}\n      cache_key: ${{ steps.cache.outputs.cache_key }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - uses: viash-io/viash-actions/project/sync-and-cache-s3@v5\n      id: cache\n      with:\n        s3_bucket: $s3_bucket\n        dest_path: resources_test\n        cache_key_prefix: resources_test__\n\n    - name: Remove target folder from .gitignore\n      run: |\n        # allow publishing the target folder\n        sed -i 's#^/target/$##g' .gitignore\n\n    - uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: \".functionality.version := '${{ github.event.inputs.version_tag }}'\"\n        parallel: true\n\n    - name: Build nextflow schemas\n      uses: viash-io/viash-actions/pro/build-nextflow-schemas@v5\n      with:\n        workflows: src\n        components: src\n        viash_pro_token: ${{ secrets.GTHB_PAT }}\n        tools_version: 'main_build'\n   \n    - name: Build parameter files\n      uses: viash-io/viash-actions/pro/build-nextflow-params@v5\n      with:\n        workflows: src\n        components: src\n        viash_pro_token: ${{ secrets.GTHB_PAT }}\n        tools_version: 'main_build'\n\n    - name: Deploy to target branch\n      uses: peaceiris/actions-gh-pages@v4\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: .\n        publish_branch: release\n        full_commit_message: \"Deploy for release ${{ github.event.inputs.version_tag }} from ${{ github.sha }}\"\n\n    - id: ns_list_components\n      uses: viash-io/viash-actions/ns-list@v5\n      with:\n        platform: docker\n        src: src\n        format: json\n\n    - id: ns_list_workflows\n      uses: viash-io/viash-actions/ns-list@v5\n      with:\n        src: workflows\n        format: json\n\n    - id: set_matrix\n      run: |\n        echo \"components=$(jq -c '[ .[] | \n          { \n            \"name\": (.functionality.namespace + \"/\" + .functionality.name),\n            \"config\": .info.config,\n            \"dir\": .info.config | capture(\"^(?<dir>.*\\/)\").dir\n          }\n        ]' ${{ steps.ns_list_components.outputs.output_file }} )\" >> $GITHUB_OUTPUT\n\n        echo \"workflows=$(jq -c '[ .[] | \n          { \n            \"name\": (.functionality.namespace + \"/\" + .functionality.name),\n            \"main_script\": (.info.config | capture(\"^(?<dir>.*\\/)\").dir + \"/\" + .functionality.test_resources[].path),\n            \"entry\": .functionality.test_resources[].entrypoint\n          }\n        ]' ${{ steps.ns_list_workflows.outputs.output_file }} )\" >> $GITHUB_OUTPUT\n\n  # phase 2\n  build:\n    needs: list\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        component: ${{ fromJson(needs.list.outputs.component_matrix) }}\n\n    steps:\n    # Remove unnecessary files to free up space. Otherwise, we get 'no space left on device.'\n    - uses: data-intuitive/reclaim-the-bytes@v2\n\n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - name: Build container\n      uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: .functionality.version := 'main_build'\n        platform: docker\n        src: ${{ matrix.component.dir }}\n        setup: build\n        \n    - name: Login to container registry\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ secrets.GTHB_USER }}\n        password: ${{ secrets.GTHB_PAT }}\n\n    - name: Push container\n      uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: .functionality.version := '${{ github.event.inputs.version_tag }}'\n        platform: docker\n        src: ${{ matrix.component.dir }}\n        setup: push\n\n  ###################################3\n  # phase 3\n  integration_test:\n    needs: [ build, list ]\n    if: \"${{ needs.list.outputs.workflow_matrix != '[]' }}\"\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        component: ${{ fromJson(needs.list.outputs.workflow_matrix) }}\n\n    steps:\n    # Remove unnecessary files to free up space. Otherwise, we get 'no space left on device.'\n    - uses: data-intuitive/reclaim-the-bytes@v2\n    \n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - uses: nf-core/setup-nextflow@v2.0.0\n\n    # build target dir\n    # use containers from release branch, hopefully these are available\n    - name: Build target dir\n      uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: \".functionality.version := '${{ github.event.inputs.version_tag }}'\"\n        parallel: true\n\n    # use cache\n    - name: Cache resources data\n      uses: actions/cache@v4\n      timeout-minutes: 5\n      with:\n        path: resources_test\n        key: ${{ needs.list.outputs.cache_key }}\n\n    - name: Run integration test\n      timeout-minutes: 45\n      run: |\n        # todo: replace with viash test command\n        export NXF_VER=22.04.5\n        nextflow run . \\\n          -main-script \"${{ matrix.component.main_script }}\" \\\n          -entry ${{ matrix.component.entry }} \\\n          -profile docker,mount_temp,no_publish \\\n          -c workflows/utils/labels_ci.config\n\n  ###################################3\n  # phase 4\n  component_test:\n    needs: [ build, list ]\n    if: ${{ needs.list.outputs.matrix != '[]' && needs.list.outputs.matrix != '' }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        component: ${{ fromJson(needs.list.outputs.component_matrix) }}\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    # use cache\n    - name: Cache resources data\n      uses: actions/cache@v4\n      timeout-minutes: 5\n      with:\n        path: resources_test\n        key: ${{ needs.list.outputs.cache_key }}\n\n    - name: Test component\n      timeout-minutes: 30\n      run: |\n        viash test \\\n          --config_mod \".functionality.version := '${{ github.event.inputs.version_tag }}'\" \\\n          \"${{ matrix.component.config }}\" \\\n          --cpus 2 \\\n          --memory \"5gb\"", "state": "active", "repository": "openproblems-bio/openproblems-v2"}
{"mined_at": "2024-07-15T17:52:53.373465", "created_at": "2021-06-01T12:15:17+02:00", "updated_at": "2022-11-16T11:06:59+01:00", "name": "viash test", "path": ".github/workflows/viash-test.yml", "contents": "name: viash test\n\non:\n  pull_request:\n  push:\n    branches: [ '**' ]\n\njobs:\n  run_ci_check_job:\n    runs-on: ubuntu-latest\n    outputs:\n      run_ci: ${{ steps.github_cli.outputs.check }}\n    steps:\n      - name: 'Check if branch has an existing pull request and the trigger was a push'\n        id: github_cli\n        run: |\n          pull_request=$(gh pr list -R ${{ github.repository }} -H ${{ github.ref_name }} --json url --state open --limit 1 | jq '.[0].url')\n          # If the branch has a PR and this run was triggered by a push event, do not run\n          if [[ \"$pull_request\" != \"null\" && \"$GITHUB_REF_NAME\" != \"main\" && \"${{ github.event_name == 'push' }}\" == \"true\" && \"${{ !contains(github.event.head_commit.message, 'ci force') }}\" == \"true\" ]]; then\n            echo \"check=false\" >> $GITHUB_OUTPUT\n          else\n            echo \"check=true\" >> $GITHUB_OUTPUT\n          fi\n        env:\n          GITHUB_TOKEN: ${{ secrets.GTHB_PAT }}\n\n  # phase 1\n  list:\n    needs: run_ci_check_job\n    env:\n      s3_bucket: s3://openproblems-data/resources_test/\n    runs-on: ubuntu-latest\n    if: \"needs.run_ci_check_job.outputs.run_ci == 'true'\"\n\n    outputs:\n      matrix: ${{ steps.set_matrix.outputs.matrix }}\n      cache_key: ${{ steps.cache.outputs.cache_key }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0 \n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - uses: viash-io/viash-actions/project/sync-and-cache-s3@v5\n      id: cache\n      with:\n        s3_bucket: $s3_bucket\n        dest_path: resources_test\n        cache_key_prefix: resources_test__\n\n    - id: ns_list\n      uses: viash-io/viash-actions/ns-list@v5\n      with:\n        platform: docker\n        format: json\n\n    - id: ns_list_filtered\n      uses: viash-io/viash-actions/project/detect-changed-components@v5\n      with:\n        input_file: \"${{ steps.ns_list.outputs.output_file }}\"\n\n    - id: set_matrix\n      run: |\n        echo \"matrix=$(jq -c '[ .[] | \n          { \n            \"name\": (.functionality.namespace + \"/\" + .functionality.name),\n            \"config\": .info.config\n          }\n        ]' ${{ steps.ns_list_filtered.outputs.output_file }} )\" >> $GITHUB_OUTPUT\n\n  # phase 2\n  viash_test:\n    needs: list\n    if: ${{ needs.list.outputs.matrix != '[]' && needs.list.outputs.matrix != '' }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        component: ${{ fromJson(needs.list.outputs.matrix) }}\n\n    steps:\n    # Remove unnecessary files to free up space. Otherwise, we get 'no space left on device.'\n    - uses: data-intuitive/reclaim-the-bytes@v2\n    \n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    # use cache\n    - name: Cache resources data\n      uses: actions/cache@v4\n      timeout-minutes: 10\n      with:\n        path: resources_test\n        key: ${{ needs.list.outputs.cache_key }}\n\n    - name: Run test\n      timeout-minutes: 30\n      run: |\n        VIASH_TEMP=$RUNNER_TEMP/viash viash test \\\n          \"${{ matrix.component.config }}\" \\\n          --cpus 2 \\\n          --memory \"5gb\"\n\n", "state": "active", "repository": "openproblems-bio/openproblems-v2"}
{"mined_at": "2024-07-15T17:52:55.714313", "created_at": "2020-11-18T01:40:28+01:00", "updated_at": "2020-11-18T01:43:45+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  pull_request: {}\n  push: {}\n\njobs:\n  linux:\n    runs-on: ${{ matrix.PYTHON.OS || 'ubuntu-22.04' }}\n    strategy:\n      matrix:\n        PYTHON:\n          # Base builds\n          - {VERSION: \"3.7\", TOXENV: \"py37\"}\n          - {VERSION: \"3.8\", TOXENV: \"py38\"}\n          - {VERSION: \"3.9\", TOXENV: \"py39\"}\n          - {VERSION: \"3.10\", TOXENV: \"py310\"}\n          - {VERSION: \"3.11\", TOXENV: \"py311\"}\n          - {VERSION: \"3.12\", TOXENV: \"py312\"}\n          - {VERSION: \"pypy-3.8\", TOXENV: \"pypy3\"}\n          - {VERSION: \"pypy-3.9\", TOXENV: \"pypy3\"}\n          - {VERSION: \"3.11\", TOXENV: \"py311-useWheel\", OS: \"windows-2022\" }\n          # -cryptographyMain\n          - {VERSION: \"3.7\", TOXENV: \"py37-cryptographyMain\"}\n          - {VERSION: \"3.8\", TOXENV: \"py38-cryptographyMain\"}\n          - {VERSION: \"3.9\", TOXENV: \"py39-cryptographyMain\"}\n          - {VERSION: \"3.10\", TOXENV: \"py310-cryptographyMain\"}\n          - {VERSION: \"3.11\", TOXENV: \"py311-cryptographyMain\"}\n          - {VERSION: \"3.12\", TOXENV: \"py312-cryptographyMain\"}\n          - {VERSION: \"pypy-3.8\", TOXENV: \"pypy3-cryptographyMain\"}\n          - {VERSION: \"pypy-3.9\", TOXENV: \"pypy3-cryptographyMain\"}\n          # -cryptographyMinimum\n          - {VERSION: \"3.7\", TOXENV: \"py37-cryptographyMinimum\"}\n          - {VERSION: \"3.8\", TOXENV: \"py38-cryptographyMinimum\"}\n          - {VERSION: \"3.9\", TOXENV: \"py39-cryptographyMinimum\"}\n          - {VERSION: \"3.10\", TOXENV: \"py310-cryptographyMinimum\"}\n          - {VERSION: \"3.11\", TOXENV: \"py311-cryptographyMinimum\"}\n          - {VERSION: \"3.12\", TOXENV: \"py312-cryptographyMinimum\"}\n          - {VERSION: \"pypy-3.8\", TOXENV: \"pypy3-cryptographyMinimum\"}\n          # Cryptography wheels\n          - {VERSION: \"3.9\", TOXENV: \"py39-cryptographyMinimum-useWheel\"}\n          - {VERSION: \"3.9\", TOXENV: \"py39-useWheel\"}\n          # Random order\n          - {VERSION: \"3.9\", TOXENV: \"py39-randomorder\"}\n          # Downstreams\n          - {VERSION: \"3.11\", TOXENV: \"py311-twistedTrunk\"}\n          # Meta\n          - {VERSION: \"3.9\", TOXENV: \"check-manifest\"}\n          - {VERSION: \"3.11\", TOXENV: \"lint\"}\n          - {VERSION: \"3.11\", TOXENV: \"py311-mypy\"}\n          - {VERSION: \"3.9\", TOXENV: \"docs\"}\n    name: \"${{ matrix.PYTHON.TOXENV }}${{ matrix.PYTHON.OS && format(' on {0}', matrix.PYTHON.OS) || '' }}\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.PYTHON.VERSION }}\n      - run: python -m pip install tox coverage\n      - run: tox -v\n        env:\n          TOXENV: ${{ matrix.PYTHON.TOXENV }}\n      - name: Upload coverage\n        run: |\n          curl -o codecov.sh -f https://codecov.io/bash || curl -o codecov.sh -f https://codecov.io/bash || curl -o codecov.sh -f https://codecov.io/bash\n          bash codecov.sh -n \"tox -e ${{ matrix.PYTHON.TOXENV }}\"\n\n  linux-docker:\n    runs-on: ubuntu-latest\n    container: ghcr.io/pyca/cryptography-runner-${{ matrix.TEST.CONTAINER }}\n    strategy:\n      matrix:\n        TEST:\n          # cryptographyMain used since there's no wheel\n          - {CONTAINER: \"ubuntu-rolling\", TOXENV: \"py312-cryptographyMain\"}\n    name: \"${{ matrix.TEST.TOXENV }} on ${{ matrix.TEST.CONTAINER }}\"\n    steps:\n      - uses: actions/checkout@v4\n      - run: /venv/bin/pip install tox\n      - run: /venv/bin/tox -v\n        env:\n          TOXENV: ${{ matrix.TEST.TOXENV }}\n          RUSTUP_HOME: /root/.rustup\n      - name: Upload coverage\n        run: |\n          curl -o codecov.sh -f https://codecov.io/bash || curl -o codecov.sh -f https://codecov.io/bash || curl -o codecov.sh -f https://codecov.io/bash\n          bash codecov.sh -n \"tox -e ${{ matrix.TEST.TOXENV }} on ${{ matrix.TEST.CONTAINER }}\"\n\n  all-green:\n    runs-on: ubuntu-latest\n    needs: [linux, linux-docker]\n    if: ${{ always() }}\n    timeout-minutes: 3\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2\n        with:\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "pyca/pyopenssl"}
{"mined_at": "2024-07-15T17:52:56.769820", "created_at": "2020-08-14T15:46:57+02:00", "updated_at": "2020-08-14T15:46:57+02:00", "name": "Lock Issues", "path": ".github/workflows/lock.yml", "contents": "name: Lock Issues\non:\n  schedule:\n    - cron: '0 0 * * *'\n\npermissions:\n  issues: \"write\"\n\njobs:\n  lock:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v5\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          issue-inactive-days: 90\n          pr-inactive-days: 90\n", "state": "active", "repository": "pyca/pyopenssl"}
{"mined_at": "2024-07-15T17:52:58.847095", "created_at": "2021-09-09T03:05:26+02:00", "updated_at": "2021-09-09T03:19:52+02:00", "name": "Continuous Test + Deploy", "path": ".github/workflows/ci.yml", "contents": "name: Continuous Test + Deploy\n\non:\n  push:\n    branches: [main]\n    tags: [\"v*.*.*\"]\n  pull_request:\n    branches: [main]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        # pytype currently doesn't work with python >= 3.9\n        python-version: 3.8\n  test:\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      matrix:\n        python-version: [3.9]\n        platform: [ubuntu-latest]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Requirements\n      run: pip install -r requirements.txt\n    - name: Install\n      run: pip install -e .\n    - name: Run the tests\n      run: ./precommit.sh\n  deploy:\n    # only run if the commit is tagged...\n    if: startsWith(github.ref, 'refs/tags/v')\n    # ... and both the lint and test jobs completed successfully\n    needs:\n      - lint\n      - test\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        # setuptools_scm requires the git clone to not be 'shallow'\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.x\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Extract release notes from annotated tag message\n      id: release_notes\n      env:\n        # e.g. v0.1.0a1, v1.2.0b2 or v2.3.0rc3, but not v1.0.0\n        PRERELEASE_TAG_PATTERN: \"v[[:digit:]]+\\\\.[[:digit:]]+\\\\.[[:digit:]]+([ab]|rc)[[:digit:]]+\"\n      run: |\n        # GH checkout action doesn't preserve tag annotations, we must fetch them\n        # https://github.com/actions/checkout/issues/290\n        git fetch --tags --force\n        # strip leading 'refs/tags/' to get the tag name\n        TAG_NAME=\"${GITHUB_REF##*/}\"\n        # Dump tag message to temporary .md file (excluding the PGP signature at the bottom)\n        TAG_MESSAGE=$(git tag -l --format='%(contents)' $TAG_NAME | sed -n '/-----BEGIN PGP SIGNATURE-----/q;p')\n        echo \"$TAG_MESSAGE\" > \"${{ runner.temp }}/release_notes.md\"\n        # if the tag has a pre-release suffix mark the Github Release accordingly\n        if egrep -q \"$PRERELEASE_TAG_PATTERN\" <<< \"$TAG_NAME\"; then\n          echo \"Tag contains a pre-release suffix\"\n          echo \"IS_PRERELEASE=true\" >> \"$GITHUB_ENV\"\n        else\n          echo \"Tag does not contain pre-release suffix\"\n          echo \"IS_PRERELEASE=false\" >> \"$GITHUB_ENV\"\n        fi\n    - name: Create GitHub release\n      id: create_release\n      uses: actions/create-release@v1\n      env:\n        # This token is provided by Actions, you do not need to create your own token\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        tag_name: ${{ github.ref }}\n        release_name: ${{ github.ref }}\n        body_path: \"${{ runner.temp }}/release_notes.md\"\n        draft: false\n        prerelease: ${{ env.IS_PRERELEASE }}\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        if [ \"$IS_PRERELEASE\" == true ]; then\n          echo \"DEBUG: This is a pre-release\"\n        else\n          echo \"DEBUG: This is a final release\"\n        fi\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "notofonts/nototools"}
{"mined_at": "2024-07-15T17:52:59.941756", "created_at": "2024-07-12T19:02:21+02:00", "updated_at": "2024-07-12T19:02:21+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "notofonts/nototools"}
{"mined_at": "2024-07-15T17:53:00.994211", "created_at": "2023-08-10T00:57:18+02:00", "updated_at": "2023-08-10T00:57:18+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "notofonts/nototools"}
{"mined_at": "2024-07-15T17:53:03.896023", "created_at": "2021-01-28T20:53:16+01:00", "updated_at": "2021-01-28T20:53:16+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non: \n  push:\n    paths:\n      - 'docs/**'\n  pull_request:\n    paths:\n      - 'docs/**'\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    name: build up document and deploy\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@master\n    \n    - name: Install sphinx and manim env\n      run: |\n        pip3 install --upgrade pip\n        sudo apt install python3-setuptools libpango1.0-dev\n        pip3 install -r docs/requirements.txt\n        pip3 install -r requirements.txt\n    \n    - name: Build document with Sphinx\n      run: |\n        cd docs\n        export PATH=\"$PATH:/home/runner/.local/bin\"\n        export SPHINXBUILD=\"python3 -m sphinx\"\n        make html\n        \n    - name: Deploy to GitHub pages\n      if: ${{ github.event_name == 'push' }}\n      uses: JamesIves/github-pages-deploy-action@3.7.1\n      with:\n        ACCESS_TOKEN: ${{ secrets.DOC_DEPLOY_TOKEN }}\n        BRANCH: gh-pages\n        FOLDER: docs/build/html\n", "state": "active", "repository": "3b1b/manim"}
{"mined_at": "2024-07-15T17:53:04.935588", "created_at": "2021-02-06T01:17:35+01:00", "updated_at": "2021-02-06T01:17:35+01:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\"py37\", \"py38\", \"py39\", \"py310\"]\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine build\n\n    - name: Build wheels\n      run: python setup.py bdist_wheel --python-tag ${{ matrix.python }}\n\n    - name: Upload wheels\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        twine upload dist/*", "state": "active", "repository": "3b1b/manim"}
{"mined_at": "2024-07-15T17:53:05.885928", "created_at": "2021-12-23T03:36:04+01:00", "updated_at": "2021-12-23T03:36:04+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "3b1b/manim"}
{"mined_at": "2024-07-15T17:53:08.062007", "created_at": "2022-07-27T05:12:16+02:00", "updated_at": "2022-07-27T05:12:16+02:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Python package\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: requirements/test-requirements.txt\n    - name: Install build dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install build wheel setuptools pytest\n    - name: Build and install package Python 3.10 and above\n      if: matrix.python-version == '3.10' || matrix.python-version == '3.11'\n      run: |\n        output=$(python -m build --wheel)\n        pip install dist/${output##* }[full,test]\n    - name: Test with pytest Python 3.10 and above\n      if: matrix.python-version == '3.10' || matrix.python-version == '3.11'\n      run: |\n        pytest\n", "state": "active", "repository": "emi-group/evox"}
{"mined_at": "2024-07-15T17:53:09.288301", "created_at": "2023-06-13T08:52:00+02:00", "updated_at": "2023-06-13T08:52:00+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build wheel setuptools\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "emi-group/evox"}
{"mined_at": "2024-07-15T17:53:12.668250", "created_at": "2020-03-10T06:11:42+01:00", "updated_at": "2021-07-06T12:58:24+02:00", "name": "Installer Tests", "path": ".github/workflows/ballerina-test-installers.yml", "contents": "name: Installer Tests\n\non:\n  workflow_dispatch:\n    inputs:\n      stagingUpdate:\n        description: 'Ballerina Staging Update'\n        default: 'true'\n        required: false\n\njobs:\n  installer-ubuntu-build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up JDK 1.8\n      uses: actions/setup-java@v1\n      with:\n        java-version: 1.8\n    - name: Build with Gradle\n      working-directory: ./test-scripts/ballerina-test-automation/installer-test\n      run: .././gradlew build --stacktrace -scan --console=plain --no-daemon\n  installer-macos-build:\n    runs-on: macos-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up JDK 1.8\n      uses: actions/setup-java@v1\n      with:\n        java-version: 1.8\n    - name: Build with Gradle\n      working-directory: ./test-scripts/ballerina-test-automation/installer-test\n      run: .././gradlew build --stacktrace -scan --console=plain --no-daemon\n  update-tool-ubuntu-build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up JDK 1.8\n      uses: actions/setup-java@v1\n      with:\n        java-version: 1.8\n    - name: Build with Gradle\n      env:\n        BALLERINA_STAGING_UPDATE: ${{ github.event.inputs.stagingUpdate }}\n      working-directory: ./test-scripts/ballerina-test-automation/update-tool-test\n      run: .././gradlew build --stacktrace -scan --console=plain --no-daemon\n  update-tool-macos-build:\n    runs-on: macos-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up JDK 1.8\n      uses: actions/setup-java@v1\n      with:\n        java-version: 1.8\n    - name: Build with Gradle\n      env:\n        BALLERINA_STAGING_UPDATE: ${{ github.event.inputs.stagingUpdate }}\n      working-directory: ./test-scripts/ballerina-test-automation/update-tool-test\n      run: .././gradlew build --stacktrace -scan --console=plain --no-daemon\n  # windows-build:\n  #   runs-on: windows-latest\n  #   steps:\n  #   - uses: actions/checkout@v2\n  #   - name: Set up JDK 1.8\n  #     uses: actions/setup-java@v1\n  #     with:\n  #       java-version: 1.8\n  #   - name: Disable Firewall\n  #     run: netsh advfirewall set allprofiles state off\n  #   - name: Build with Gradle\n  #     working-directory: ./test-scripts/ballerina-test-automation\n  #     run: ./gradlew.bat build --stacktrace -scan --console=plain --no-daemon\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:13.694145", "created_at": "2020-03-10T06:11:43+01:00", "updated_at": "2021-07-01T07:54:31+02:00", "name": "Python package", "path": ".github/workflows/ballerina-website-generation.yml", "contents": "name: Website Update\n\non:\n  push:\n    branches: [ website-update ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v2\n    - name: Set up Python 3.x\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.x'\n    - name: wget required files\n      run: |\n        wget -O ./publish_scripts/archived_releases.json https://product-dist.ballerina.io/downloads/archived_releases.json\n        wget -O ./publish_scripts/latest_release.json https://product-dist.ballerina.io/downloads/latest_release.json?982\n        wget -O ./publish_scripts/release_note.md https://raw.githubusercontent.com/keizer619/release-notes/master/release-notes-1.1.3.md\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r ./publish_scripts/requirements.txt\n    - name: Run release_note_md_to_html script\n      run: python3 ./publish_scripts/release_note_md_to_html.py ./publish_scripts/release_note.md\n    - name: Run publish_json script\n      run: python3 ./publish_scripts/publish_json.py ./publish_scripts/archived_releases.json ./publish_scripts/latest_release.json\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:14.817872", "created_at": "2021-02-02T18:32:50+01:00", "updated_at": "2021-02-02T18:32:50+01:00", "name": "Generate and archive a Jacoco code coverage report", "path": ".github/workflows/code-cov.yml", "contents": "# This workflow will generate a code coverage report\n\nname: Generate and archive a Jacoco code coverage report\n\non:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    - cron:  '30 18 * * *'    # 00:00 in LK time (GMT+5:30)\n  workflow_dispatch:\n\njobs:\n  ubuntu-build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up JDK 1.8\n        uses: actions/setup-java@v1\n        with:\n          java-version: 1.8\n\n      - name: Build with Gradle\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n        working-directory: ./coverage-reports\n        run: ./gradlew codeCoverageReport --stacktrace -scan --console=plain --no-daemon\n\n      - name: Archive Code Coverage Zip\n        uses: actions/upload-artifact@v2\n        with:\n          name: CoverageReport\n          path: coverage-reports/build/reports/jacoco/codeCoverageReport\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:15.821415", "created_at": "2021-03-26T11:53:59+01:00", "updated_at": "2022-06-22T07:14:44+02:00", "name": "Nightly update lang version in distribution", "path": ".github/workflows/update_lang_version.yml", "contents": "name: Nightly update lang version in distribution\n\non:\n  repository_dispatch:\n    types: [update_timestamped_version]\n\njobs:\n  Update_ballerina_lang_version_in_distribution:\n    name: Send a nightly PR to master and patch branches\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install httplib2\n          pip install PyGithub\n          pip install cryptography\n\n      - name: Send pull request\n        run: |\n          python3 dependabot/update_lang_version.py ${{ github.event.client_payload.branch }} ${{ github.event.client_payload.timestamped_version }}\n        env:\n          BALLERINA_BOT_USERNAME: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          BALLERINA_BOT_EMAIL: ${{ secrets.BALLERINA_BOT_EMAIL }}\n          BALLERINA_REVIEWER_BOT_TOKEN: ${{ secrets.BALLERINA_REVIEWER_BOT_TOKEN }}\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:16.860129", "created_at": "2021-04-08T09:11:23+02:00", "updated_at": "2021-04-27T13:55:00+02:00", "name": "Update Dependency Graph", "path": ".github/workflows/update_dependency_graph.yml", "contents": "name: Update Dependency Graph\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 18 * * *'   # 00:00 in LK time (GMT+5:30)\n  push:\n    branches:\n      - master\n    paths:\n      - 'dependabot/resources/module_list.json'\n\njobs:\n  dependency:\n    name: Derive module dependencies\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install Python packages\n        run: |\n          pip install requests\n          pip install networkx\n          pip install retry\n          pip install PyGithub\n          pip install semver\n          pip install cryptography\n\n      - name: Get Dependencies and update files\n        run: |\n          python dependabot/update_dependency_graph.py\n        env:\n          BALLERINA_BOT_USERNAME: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          BALLERINA_BOT_EMAIL: ${{ secrets.BALLERINA_BOT_EMAIL }}\n          BALLERINA_REVIEWER_BOT_TOKEN: ${{ secrets.BALLERINA_REVIEWER_BOT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:17.911257", "created_at": "2021-04-08T11:03:11+02:00", "updated_at": "2022-03-21T04:17:40+01:00", "name": "Extensions - Update Ballerina Version", "path": ".github/workflows/update_dependency_version.yml", "contents": "name: Extensions - Update Ballerina Version\n\non:\n  workflow_dispatch:\n    inputs:\n      isRetrigger:\n        description: 'Re-trigger a failed dependency bump workflow'\n        required: false\n        default: 'false'\n      skipLang:\n        description: 'Skip lang version update'\n        required: false\n        default: 'false'\n      ballerinaVersion:\n        description: 'Ballerina Version (Mandatory only when re-triggering failed workflow)'\n        required: false\n        default: ''\n      autoMergePRs:\n        description: 'Auto Merge PRs'\n        required: false\n        default: 'true'\n      sendNotification:\n        description: 'Send failure notification to Google Chat'\n        required: false\n        default: 'true'\n  # schedule:\n  #   - cron: '30 6 * * *'\n\njobs:\n  update-lang-version:\n    name: Update Ballerina Lang Version\n    if: github.repository_owner == 'ballerina-platform'\n    runs-on: ubuntu-latest\n    concurrency:\n        group: ${{ github.ref }}-dependency-update\n        cancel-in-progress: true\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install httplib2\n          pip install cryptography\n\n      - name: Update Ballerina Language Version\n        run: |\n          if ${IS_SCHEDULE_WORKFLOW} == true; then\n            echo \"Schedule Workflow Triggered\"\n            python dependabot/update_dependencies_in_pipeline.py \"false\" \"false\" \"\" \"true\" \"true\" \"schedule\"\n           else\n             echo \"Manual Trigger\"\n             python dependabot/update_dependencies_in_pipeline.py \"${{ github.event.inputs.isRetrigger }}\" \\\n                                                            \"${{ github.event.inputs.skipLang }}\" \\\n                                                            \"${{ github.event.inputs.ballerinaVersion }}\" \\\n                                                            \"${{ github.event.inputs.autoMergePRs }}\" \\\n                                                            \"${{ github.event.inputs.sendNotification }}\"\n           fi\n        env:\n          IS_SCHEDULE_WORKFLOW: ${{ github.event_name == 'schedule' }}\n          BALLERINA_BOT_USERNAME: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          BALLERINA_BOT_EMAIL: ${{ secrets.BALLERINA_BOT_EMAIL }}\n          BALLERINA_REVIEWER_BOT_TOKEN: ${{ secrets.BALLERINA_REVIEWER_BOT_TOKEN }}\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n\n      - name: Trigger Dashboard Update\n        if: always()\n        run: |\n          curl -X POST \\\n          https://api.github.com/repos/ballerina-platform/ballerina-release/dispatches \\\n          -H 'Accept: application/vnd.github.v3+json' \\\n          -H 'Authorization: token ${{ secrets.BALLERINA_BOT_TOKEN }}' \\\n          --data \"{\n            \\\"event_type\\\": \\\"dashboard-update\\\",\n            \\\"client_payload\\\": {\n              \\\"sendNotification\\\": \\\"false\\\"\n            }\n          }\"\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:19.018917", "created_at": "2021-04-20T12:31:06+02:00", "updated_at": "2021-04-29T18:28:48+02:00", "name": "DeletePackages", "path": ".github/workflows/delete-package.yml", "contents": "# Users with delete access can run this workflow to delete packages\n\nname: DeletePackages\n\non: \n  workflow_dispatch:\n      inputs:\n        owner:\n          description: 'Repo Owner'     \n          required: true\n          default: 'ballerina-platform'\n        repo:\n          description: 'Repository'     \n          required: true\n          default: 'ballerina-lang'\n        package:\n          description: 'Specific package(groupId.artifactId)'\n          required: true\n        version:\n          description: 'Package version'\n          required: true\n\njobs:\n  delete:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.1.0\n      - name: Read access list\n        run: \"cat ./delete-packages-scripts/usernames_with_package_delete_access.json | jq -r '.usernames[]|select(.username==\\\"${{github.actor}}\\\").username' > /tmp/auth-user.json\"\n      - name: Set authorized username\n        id: setUname\n        run: printf \"::set-output name=foundUname::%s\" $(cat /tmp/auth-user.json)\n      - name: Get package version ids\n        if: steps.setUname.outputs.foundUname != ''\n        run: |\n          curl -H \"Authorization: bearer ${{ secrets.GITHUB_TOKEN }}\" -H \"Accept: application/vnd.github.v3+json\" https://api.github.com/orgs/${{ github.event.inputs.owner }}/packages/maven/${{ github.event.inputs.package }}/versions -o /tmp/version-ids.json\n      - name: Filter packages and set version ID\n        id: setid\n        if: steps.setUname.outputs.foundUname != ''\n        run: printf \"::set-output name=versionId::%s\" $(cat /tmp/version-ids.json | jq -r '.[] | select(.name==\"${{ github.event.inputs.version }}\")|.id')\n      - name: Delete selected package\n        if: steps.setUname.outputs.foundUname != '' && steps.setid.outputs.versionId != ''\n        run: |\n          curl -X DELETE -H \"Authorization: bearer ${{ secrets.DELETE_PACKAGE_PAT }}\" -H \"Accept: application/vnd.github.v3+json\" https://api.github.com/orgs/${{ github.event.inputs.owner }}/packages/maven/${{ github.event.inputs.package }}/versions/${{ steps.setid.outputs.versionId }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:20.031831", "created_at": "2021-04-29T18:28:48+02:00", "updated_at": "2021-04-29T18:28:48+02:00", "name": "DeleteAllUnusedPackages", "path": ".github/workflows/delete-all-unused-packages.yml", "contents": "name: DeleteAllUnusedPackages\n\non: workflow_dispatch\n\njobs:\n  delete:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.1.0\n      - name: Read access list\n        run: \"cat ./delete-packages-scripts/usernames_with_package_delete_access.json | jq -r '.usernames[]|select(.username==\\\"${{github.actor}}\\\").username' > /tmp/auth-user.json\"\n      - name: Set authorized username\n        id: setUname\n        run: printf \"::set-output name=foundUname::%s\" $(cat /tmp/auth-user.json)\n      - name: Read all repos\n        if: steps.setUname.outputs.foundUname != ''\n        run: |\n          jq -r .modules[].name ./dependabot/resources/extensions.json > /tmp/repos.json\n      - name: Collect & delete unused packages\n        if: steps.setUname.outputs.foundUname != ''\n        run: |\n          chmod +x \"./delete-packages-scripts/delete-all-unused-packages.sh\"\n          \"./delete-packages-scripts/delete-all-unused-packages.sh\"\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n          DELETE_PACKAGE_PAT: ${{secrets.DELETE_PACKAGE_PAT}}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:21.217061", "created_at": "2021-05-08T15:38:58+02:00", "updated_at": "2022-02-27T18:11:11+01:00", "name": "Update Status Dashboard", "path": ".github/workflows/update_lag_status_dashboard.yml", "contents": "name: Update Status Dashboard\n\non:\n  # schedule:\n  #   - cron: '30 3 * * *'\n  repository_dispatch:\n    types: [ dashboard-update ]\n  workflow_dispatch:\n    inputs:\n      sendReminderNotification:\n        description: 'Remind lagging modules with chat notification'\n        required: false\n        default: 'false'\n\njobs:\n  update-lag-status:\n    if: github.repository_owner == 'ballerina-platform'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install matplotlib\n          pip install httplib2\n          pip install Image\n          pip install cryptography\n\n      - name: Update Status Dashboard\n        run: |\n          if ${IS_SCHEDULE_WORKFLOW} == true; then\n            echo \"Schedule Workflow Triggered\"\n            python dependabot/update_lag_status.py \"true\"\n          elif ${IS_REPOSITORY_DISPATCH} == true; then\n            echo \"Repository Dispatch Workflow Triggered\"\n            python dependabot/update_lag_status.py \"${{ github.event.client_payload.sendNotification }}\"\n          else\n            echo \"Manual Trigger\"\n            python dependabot/update_lag_status.py \"${{ github.event.inputs.sendReminderNotification }}\"\n          fi\n        env:\n          IS_SCHEDULE_WORKFLOW: ${{ github.event_name == 'schedule' }}\n          IS_REPOSITORY_DISPATCH: ${{ github.event_name == 'repository_dispatch' }}\n          BALLERINA_BOT_USERNAME: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          BALLERINA_BOT_EMAIL: ${{ secrets.BALLERINA_BOT_EMAIL }}\n          BALLERINA_REVIEWER_BOT_TOKEN: ${{ secrets.BALLERINA_REVIEWER_BOT_TOKEN }}\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:22.245975", "created_at": "2021-05-12T22:40:51+02:00", "updated_at": "2021-05-13T08:02:48+02:00", "name": "Connectors - Update Ballerina Version", "path": ".github/workflows/update_connectors.yml", "contents": "name: Connectors - Update Ballerina Version\n\non:\n  workflow_dispatch:\n    inputs:\n      ballerinaVersion:\n        description: 'Ballerina Version'\n        required: true\n      autoMergePRs:\n        description: 'Auto Merge PRs'\n        required: false\n        default: 'true'\n  repository_dispatch:\n    types: [ connector-update ]\n\njobs:\n  update-lang-version:\n    name: Update Ballerina Lang Version\n    if: github.repository_owner == 'ballerina-platform'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install cryptography\n\n      - name: Update Ballerina Language Version\n        run: |\n          if ${IS_SCHEDULE_WORKFLOW} == true; then\n            echo \"Schedule Workflow Triggered\"\n            python dependabot/update_connectors.py \"${{ github.event.client_payload.ballerinaVersion }}\" \\\n                                                                          \"true\" \"repository_dispatch\"\n           else\n             echo \"Manual Trigger\"\n             python dependabot/update_connectors.py \"${{ github.event.inputs.ballerinaVersion }}\" \\\n                                                    \"${{ github.event.inputs.autoMergePRs }}\"\n           fi\n        env:\n          IS_SCHEDULE_WORKFLOW: ${{ github.event_name == 'repository_dispatch' }}\n          BALLERINA_BOT_USERNAME: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          BALLERINA_BOT_EMAIL: ${{ secrets.BALLERINA_BOT_EMAIL }}\n          BALLERINA_REVIEWER_BOT_TOKEN: ${{ secrets.BALLERINA_REVIEWER_BOT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:23.422721", "created_at": "2021-05-14T10:58:52+02:00", "updated_at": "2021-05-21T08:52:55+02:00", "name": "Ballerina Central Tests", "path": ".github/workflows/ballerina-central-test.yml", "contents": "name: Ballerina Central Tests\n\non: workflow_dispatch\n\njobs:\n  ballerina-central-test:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n\n    - name: Install Docker\n      id: buildx\n      uses: docker/setup-buildx-action@v1\n\n    - name: Run Script\n      working-directory: ./test-scripts/ballerina-central/\n      run: docker build --build-arg BALLERINA_CENTRAL_ACCESS_TOKEN=${{ secrets.BALLERINA_CENTRAL_DEV_USER_ACCESS_TOKEN }} .\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:24.460513", "created_at": "2021-08-17T17:00:59+02:00", "updated_at": "2021-08-17T17:00:59+02:00", "name": "Update Standard Library Dependency Graph", "path": ".github/workflows/update_stdlib_dependency_graph.yml", "contents": "name: Update Standard Library Dependency Graph\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 12 * * *'\n\njobs:\n  create:\n    name: Update Standard Library Dependency Graph\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install Python Packages\n        run: |\n          pip install graphviz\n          pip install requests\n          sudo apt-get install graphviz\n          pip install retry\n          pip install PyGithub\n          pip install cryptography\n\n      - name: Get Dependencies and Update Dependency Graph\n        run: |\n          python dependabot/update_stdlib_dependency_graph.py\n        env:\n          BALLERINA_BOT_USERNAME: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          BALLERINA_BOT_EMAIL: ${{ secrets.BALLERINA_BOT_EMAIL }}\n          BALLERINA_REVIEWER_BOT_TOKEN: ${{ secrets.BALLERINA_REVIEWER_BOT_TOKEN }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:25.472777", "created_at": "2021-09-08T06:55:58+02:00", "updated_at": "2021-09-08T06:55:58+02:00", "name": "Close stale pull requests", "path": ".github/workflows/stale_check.yml", "contents": "name: 'Close stale pull requests'\n\non:\n  schedule:\n    - cron: '30 19 * * *'\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v3\n        with:\n          stale-pr-message: 'This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the `stale` label is removed or commented.'\n          close-pr-message: 'Closed PR due to inactivity for more than 18 days.'\n          days-before-pr-stale: 15\n          days-before-pr-close: 3\n          days-before-issue-stale: -1\n          days-before-issue-close: -1\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:26.594379", "created_at": "2021-10-26T18:38:24+02:00", "updated_at": "2021-10-26T18:38:24+02:00", "name": "Notify Notifications chat", "path": ".github/workflows/notify-build-failures.yml", "contents": "name: Notify Notifications chat\n\non:\n  repository_dispatch:\n    types: [notify-build-failure, notify-ballerinax-connector-build-failure, notify-trivy-failure]\n\njobs:\n  send-chat-message:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Set up JDK 17\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'adopt'\n          java-version: '17'\n\n      - name: Set up Python 3.x\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.x'\n\n      - name: Install Python packages\n        run: |\n          pip install cryptography\n          pip install httplib2\n          pip install PyGithub\n          \n      - name: Wget required files\n        run: |\n          python3 dependabot/notify_build_failure.py ${{ github.event.client_payload.repoName }} \"${{ github.event.client_payload.workflow }}\" ${{ github.event.action }} ${{ github.event.client_payload.branch }}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:27.712307", "created_at": "2021-11-04T07:10:46+01:00", "updated_at": "2021-11-04T07:10:46+01:00", "name": "Update User Id", "path": ".github/workflows/update_user_id.yml", "contents": "name: Update User Id\n\non:\n  workflow_dispatch:\n    inputs:\n      ghUsername:\n        description: 'Github username'\n        required: true\n      wso2Id:\n        description: 'Wso2 id (email id w/o postfix, ex : alice / harry)'\n        required: true\n      userId:\n        description: 'Google chat id (required for add operation)'\n      teamName:\n        description: 'Team name (required for add operation, ex : ballerina / Ecosystem)'\n      operation:\n        description: 'Operation (type \"a\" to add, \"r\" to remove a field in csv)'\n        required: true\n\njobs:\n  update-user-id:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install Python Packages\n        run: |\n          pip install cryptography\n          pip install retry\n          pip install PyGithub\n\n      - name: Update csv\n        run: |\n          python3 dependabot/update_user_id.py \"${{ github.event.inputs.ghUsername }}\" \\\n                                              \"${{ github.event.inputs.wso2Id }}\"\\\n                                              \"${{ github.event.inputs.userId }}\"\\\n                                              \"${{ github.event.inputs.teamName }}\"\\\n                                              \"${{ github.event.inputs.operation }}\"\n        env:\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_USERNAME: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          BALLERINA_BOT_EMAIL: ${{ secrets.BALLERINA_BOT_EMAIL }}\n          BALLERINA_REVIEWER_BOT_TOKEN: ${{ secrets.BALLERINA_REVIEWER_BOT_TOKEN }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:28.849402", "created_at": "2021-11-15T10:12:01+01:00", "updated_at": "2021-11-15T10:12:01+01:00", "name": "Full Build Pipeline", "path": ".github/workflows/full_build_pipeline.yml", "contents": "name: Full Build Pipeline\n\non:\n  workflow_dispatch:\n    inputs:\n      lang_branch:\n        description: 'ballerina-lang branch'\n        required: true\n        default: 'master'\n      lang_version:\n        description: 'ballerina-lang version [OPTIONAL] (This will use the version instead of a branch)'\n        required: false\n      patch_level:\n        type: choice\n        description: 'Patch Level (e.g.; 2201.4.x, 2201.3.x, master)'\n        required: true\n        options:\n          - 'master'\n          - '2201.9.x'\n          - '2201.8.x'\n          - '2201.7.x'\n          - '2201.6.x'\n          - '2201.5.x'\n          - '2201.4.x'\n          - '2201.3.x'\n        default: 'master'\n      downstream_branch:\n        description: 'downstream repo branch [OPTIONAL]'\n        required: false\n      skip_tests:\n        type: boolean\n        description: 'Skip tests'\n        deprecationMessage: 'true or false'\n        required: true\n      update_stdlib_dependencies:\n        type: boolean\n        description: 'Update stdlib dependencies'\n        deprecationMessage: 'true or false'\n        required: true\n      build_released_versions:\n        type: boolean\n        description: 'Build released standard library versions'\n        deprecationMessage: 'true or false'\n        required: true\n\njobs:\n  build-lang:\n    name: Build ballerina-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Get Java Verison\n        id: java-version\n        run: |\n          JAVA_VERSION=\"\"\n          patch_level=${{ github.event.inputs.patch_level }}\n          if [[ \"$patch_level\" == \"master\" ]]; then\n            JAVA_VERSION=\"17\";\n          else\n            update_version=\"$(cut -d'.' -f2 <<<\"$patch_level\")\" &&\n            update_version=$((update_version)) &&\n            if [[ $update_version -ge 8 ]]; then JAVA_VERSION=\"17\"; else JAVA_VERSION=\"11\"; fi;\n          fi;\n\n          echo \"::set-output name=version::$JAVA_VERSION\"\n      - name: Set up JDK 17.0.7\n        if: ${{ steps.java-version.outputs.version == '17' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Set up JDK 11\n        if: ${{ steps.java-version.outputs.version == '11' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Set command\n        id: set-command\n        shell: bash\n        run: |\n          FILE_PATH=\"./\"\n          commands=($FILE_PATH)\n          if (${{github.event.inputs.lang_version != ''}})\n          then\n          commands+=(\"--lang-version\" \"${{ github.event.inputs.lang_version }}\")\n          else\n          commands+=(\"--lang-branch\" \"${{ github.event.inputs.lang_branch }}\")\n          fi\n          if (${{github.event.inputs.skip_tests}})\n          then\n          commands+=(\"--skip-tests\")\n          fi\n\n          command_string=\"\"\n          for value in \"${commands[@]}\"\n          do\n          command_string+=\" $value\"\n          done\n\n          echo $command_string\n          echo \"::set-output name=command::$command_string\"\n      - name: Build ballerina-lang\n        run: |\n          python -u dependabot/full_build_pipeline.py ${{ steps.set-command.outputs.command }} --build-level 0\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Get lang version\n        id: lang-version\n        run: |\n          VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          SPEC_VERSION=$((grep -w \"specVersion\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          echo \"::set-output name=version::$VERSION\"\n          echo \"::set-output name=specVersion::$SPEC_VERSION\"\n      - name: Archive Lang Artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n    outputs:\n      lang-version: ${{ steps.lang-version.outputs.version }}\n      spec-version: ${{ steps.lang-version.outputs.specVersion }}\n      java-version: ${{ steps.java-version.outputs.version }}\n\n  build-stdlibs:\n    name: Build Standard Libraries & Tools\n    needs: build-lang\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 17.0.7\n        if: ${{ needs.build-lang.outputs.java-version == '17' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Set up JDK 11\n        if: ${{ needs.build-lang.outputs.java-version == '11' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Setup NodeJs\n        uses: actions/setup-node@v3\n        with:\n          node-version: 10.22.1\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Set command\n        id: set-command\n        shell: bash\n        run: |\n          FILE_PATH=\"./\"\n          commands=($FILE_PATH)\n          if (${{github.event.inputs.patch_level != 'master'}})\n          then\n          commands+=(\"--patch-level\" \"${{ github.event.inputs.patch_level}}\")\n          fi\n          if (${{ github.event.inputs.downstream_branch != ''}})\n          then\n          commands+=(\"--downstream-branch\" \"${{ github.event.inputs.downstream_branch}}\")\n          fi\n          if (${{github.event.inputs.skip_tests}})\n          then\n          commands+=(\"--skip-tests\")\n          fi\n          if (${{ github.event.inputs.update_stdlib_dependencies}})\n          then\n          commands+=(\"--update-stdlib-dependencies\")\n          fi\n          if (${{ github.event.inputs.build_released_versions}})\n          then\n          commands+=(\"--build-released-versions\")\n          fi\n\n          command_string=\"\"\n          for value in \"${commands[@]}\"\n          do\n          command_string+=\" $value\"\n          done\n\n          echo $command_string\n          echo \"::set-output name=command::$command_string\"\n      - name: Build Standard Libraries & Tools\n        run: |\n          python -u dependabot/full_build_pipeline.py ${{ steps.set-command.outputs.command }} \\\n          --lang-version ${{ needs.build-lang.outputs.lang-version }} --skip-build-distribution\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          CLIENT_ID: ${{ secrets.CLIENT_ID }}\n          CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}\n          REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }}\n          TEST_MODE_ACTIVE: true\n          CENTRAL_VERBOSE_ENABLED: true\n      - name: Archive Standard Library Artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: Standard Library Artifacts\n          path: ~/.m2/\n\n  build-distribution:\n    name: Build ballerina-distribution\n    needs: [build-lang, build-stdlibs]\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 17.0.7\n        if: ${{ needs.build-lang.outputs.java-version == '17' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Set up JDK 11\n        if: ${{ needs.build-lang.outputs.java-version == '11' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Download Standard Library Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Standard Library Artifacts\n          path: ~/.m2/\n      - name: Set command\n        id: set-command\n        shell: bash\n        run: |\n          FILE_PATH=\"./\"\n          commands=($FILE_PATH)\n          if (${{github.event.inputs.patch_level != 'master'}})\n          then\n          commands+=(\"--patch-level\" \"${{ github.event.inputs.patch_level}}\")\n          fi\n          if (${{ github.event.inputs.downstream_branch != ''}})\n          then\n          commands+=(\"--downstream-branch\" \"${{ github.event.inputs.downstream_branch}}\")\n          fi\n          if (${{github.event.inputs.skip_tests}})\n          then\n          commands+=(\"--skip-tests\")\n          fi\n          if (${{ github.event.inputs.update_stdlib_dependencies}})\n          then\n          commands+=(\"--update-stdlib-dependencies\")\n          fi\n          if (${{ github.event.inputs.build_released_versions}})\n          then\n          commands+=(\"--build-released-versions\")\n          fi\n\n          command_string=\"\"\n          for value in \"${commands[@]}\"\n          do\n          command_string+=\" $value\"\n          done\n\n          echo $command_string\n          echo \"::set-output name=command::$command_string\"\n      - name: Build ballerina-distribution\n        run: |\n          python -u dependabot/full_build_pipeline.py ${{ steps.set-command.outputs.command }} \\\n          --lang-version ${{ needs.build-lang.outputs.lang-version }} --only-build-distribution\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n      - name: Get project version\n        id: project-version\n        run: |\n          SHORT_VERSION=$((grep -w \"version\" | cut -d= -f2 | cut -d- -f1 | xargs) < ballerina-distribution/gradle.properties)\n          DIST_VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          CODE_NAME=$((grep -w 'codeName' | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          RELEASE_VERSION=$DIST_VERSION-$CODE_NAME\n          echo \"::set-output name=version::$RELEASE_VERSION\"\n          echo \"::set-output name=sVersion::$SHORT_VERSION\"\n      - name: Archive Ballerina ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-swan-lake.zip\n      - name: Archive Ballerina Short Name ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Short Name ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-22*.zip\n      - name: Archive MacOS Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos.zip\n      - name: Archive Windows Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-windows.zip\n      - name: Create linux-deb\n        id: run_installers_deb\n        working-directory: ballerina-distribution/installers/linux-deb\n        run: ./build-ballerina-linux-deb-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Create linux-rpm\n        id: run_installers_rpm\n        working-directory: ballerina-distribution/installers/linux-rpm\n        run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Archive Linux deb\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer deb\n          path: ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Archive Linux rpm\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer rpm\n          path: ballerina-distribution/installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ steps.project-version.outputs.sVersion }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n    outputs:\n      project-version: ${{ steps.project-version.outputs.version }}\n      short-version: ${{ steps.project-version.outputs.sVersion }}\n\n  ubuntu-rpm-installer-test:\n    needs: [build-lang, build-distribution]\n    name: Ubuntu rpm Installer\n    runs-on: ubuntu-latest\n    container: centos:latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        if: ${{ needs.build-lang.outputs.java-version == '17' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Set up JDK 11\n        if: ${{ needs.build-lang.outputs.java-version == '11' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Setup Files\n        run: |\n          cd /etc/yum.repos.d/\n          sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*\n          sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*\n      - name: Install Git\n        run: |\n          yum install sudo -y\n          sudo dnf install git -y\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download Ballerina rpm Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer rpm\n      - name: Install Ballerina RPM\n        run: rpm -ivh ballerina-*-linux-x64.rpm\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        if: ${{ needs.build-lang.outputs.java-version == '17' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Set up JDK 11\n        if: ${{ needs.build-lang.outputs.java-version == '11' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg\n      - name: Install Ballerina PKG\n        run: sudo installer -pkg ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg -target /\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  windows-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build Windows Installer\n    runs-on: windows-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        if: ${{ needs.build-lang.outputs.java-version == '17' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Set up JDK 11\n        if: ${{ needs.build-lang.outputs.java-version == '11' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - uses: actions/setup-dotnet@v1\n        with:\n          dotnet-version: '2.1.x'\n      - name: Install GUID Generator\n        run: dotnet tool install -g dotnet-guid --version 0.5.2\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download Windows Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: Windows Installer ZIP\n      - name: Create windows-msi\n        id: run_installers_msi\n        run: |\n          $env:Path += \";C:\\Program Files (x86)\\WiX Toolset v3.11\\bin\"\n          move ballerina-distribution\\installers\\windows .\\\n          ren windows w\n          cd w\n          .\\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\\..\\\n      - name: Archive Windows msi\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer msi\n          path: w\\target\\msi\\ballerina-*-windows-x64.msi\n      - name: Install Ballerina msi\n        run: msiexec /i w\\target\\msi\\ballerina-${{ needs.build-distribution.outputs.project-version }}-windows-x64.msi /quiet /qr\n        shell: cmd\n      - name: Update Installer Test Configs\n        run: |\n          set DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          set SWAN_LAKE_LATEST_VERSION=swan-lake-%DISPLAY_TEXT%\n          set SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=%DISPLAY_TEXT%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=%SWAN_LAKE_LATEST_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=%SPEC_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n        shell: cmd\n      - name: Run Installer Tests\n        working-directory: .\\ballerina-distribution\\ballerina-test-automation\\installer-test\n        run: |\n          $env:Path += \";C:\\Program Files\\Ballerina\\bin\"\n          .\\..\\gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  nballerina-build:\n    needs: [build-lang, build-distribution]\n    name: Build nBallerina\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        if: ${{ needs.build-lang.outputs.java-version == '17' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Set up JDK 11\n        if: ${{ needs.build-lang.outputs.java-version == '11' }}\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install cryptography\n          pip install httplib2\n      - name: Clone nBallerina repository\n        run: git clone https://github.com/ballerina-platform/nballerina.git\n      - name: Download Linux Deb Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer deb\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-*-linux-x64.deb\n      - name: Run compiler tests\n        working-directory: nballerina/compiler\n        run: bal test --disable-groups private\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:30.098259", "created_at": "2021-11-25T17:57:50+01:00", "updated_at": "2021-11-25T17:57:50+01:00", "name": "Ballerina Staging Central Tests", "path": ".github/workflows/ballerina-staging-central-test.yml", "contents": "name: Ballerina Staging Central Tests\n\non: workflow_dispatch\n\njobs:\n  ballerina-central-test:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n\n    - name: Install Docker\n      id: buildx\n      uses: docker/setup-buildx-action@v1\n\n    - name: Run Script\n      working-directory: ./test-scripts/ballerina-central/\n      run: docker build --build-arg BALLERINA_CENTRAL_ACCESS_TOKEN=${{ secrets.BALLERINA_STAGING_CENTRAL_ACCESS_TOKEN }} --build-arg BALLERINA_STAGE_CENTRAL=true .\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:31.185831", "created_at": "2022-01-12T12:04:57+01:00", "updated_at": "2022-01-12T12:04:57+01:00", "name": "Full Build Pipeline For Updated Stages", "path": ".github/workflows/full_build_pipeline_for_updated_stages.yml", "contents": "name: Full Build Pipeline For Updated Stages\n\non:\n  workflow_dispatch:\n      inputs:\n        ballerina_lang_branch:\n          description: 'Ballerina-lang branch'\n          required: true\n          default: 'master'\n        enable_tests:\n          type: choice\n          description: 'Enable Tests'\n          deprecationMessage: 'true or false'\n          required: true\n          options:\n            - 'true'\n            - 'false'\n          default: 'true'\n        patch_level:\n          type: choice\n          description: 'Patch Level'\n          required: true\n          options:\n            - '2201.2.x'\n            - '2201.1.x'\n            - '2201.0.x'\n            - 'master'\n          default: '2201.2.x'\n\njobs:\n  build-pipeline:\n    name: Build Pipeline\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n\n      - name: Set up JDK 17\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '17'\n\n      - name: Setup NodeJs\n        uses: actions/setup-node@v3\n        with:\n          node-version: 10.22.1\n\n      - name: Build Modules\n        run: |\n          python dependabot/full_build_pipeline_for_updated_stages.py ${{ github.event.inputs.ballerina_lang_branch }} ${{ github.event.inputs.enable_tests }} ${{ github.repository_owner }} ${{ github.event.inputs.patch_level }}\n        env:\n          BALLERINA_BOT_USERNAME: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          BALLERINA_BOT_EMAIL: ${{ secrets.BALLERINA_BOT_EMAIL }}\n          BALLERINA_REVIEWER_BOT_TOKEN: ${{ secrets.BALLERINA_REVIEWER_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          CENTRAL_VERBOSE_ENABLED: true\n      - name: Get project version\n        id: project-version\n        run: |\n          SHORT_VERSION=$((grep -w \"version\" | cut -d= -f2 | cut -d- -f1) < ballerina-distribution/gradle.properties)\n          DIST_VERSION=$((grep -w \"version\" | cut -d= -f2) < ballerina-distribution/gradle.properties)\n          CODE_NAME=$((grep -w 'codeName' | cut -d= -f2) < ballerina-distribution/gradle.properties)\n          RELEASE_VERSION=$DIST_VERSION-$CODE_NAME\n          echo \"::set-output name=version::$RELEASE_VERSION\"\n          echo \"::set-output name=sversion::$SHORT_VERSION\"\n      - name: Archive Ballerina ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-swan-lake.zip\n      - name: Archive Ballerina Short Name ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Short Name ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-22*.zip\n      - name: Archive MacOS Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos.zip\n      - name: Archive Windows Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-windows.zip\n      - name: Create linux-deb\n        id: run_installers_deb\n        working-directory: ballerina-distribution/installers/linux-deb\n        run: ./build-ballerina-linux-deb-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Create linux-rpm\n        id: run_installers_rpm\n        working-directory: ballerina-distribution/installers/linux-rpm\n        run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Archive Linux deb\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer deb\n          path: ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Archive Linux rpm\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer rpm\n          path: ballerina-distribution/installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm\n    outputs:\n      project-version: ${{ steps.project-version.outputs.version }}\n\n  macos-installer-build:\n    needs: build-pipeline\n    name: Build MacOS Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '17'\n      - name: Download Ballerina Distribution\n        run: git clone https://github.com/ballerina-platform/ballerina-distribution.git\n      - name: Download MacOS Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-pipeline.outputs.project-version }} -p ./../../../\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg\n\n\n  windows-installer-build:\n    needs: build-pipeline\n    name: Build Windows Installer\n    runs-on: windows-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - uses: actions/setup-dotnet@v1\n        with:\n          dotnet-version: '2.1.x'\n      - name: Install GUID Generator\n        run: dotnet tool install -g dotnet-guid --version 0.5.2\n      - name: Download Ballerina Distribution\n        run: git clone https://github.com/ballerina-platform/ballerina-distribution.git\n      - name: Download Windows Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: Windows Installer ZIP\n      - name: Create windows-msi\n        id: run_installers_msi\n        run: |\n          $env:Path += \";C:\\Program Files (x86)\\WiX Toolset v3.11\\bin\"\n          move ballerina-distribution\\installers\\windows .\\\n          ren windows w\n          cd w\n          .\\build-ballerina-windows-x64.bat --version ${{ needs.build-pipeline.outputs.project-version }} --path .\\..\\\n          echo \"Created windows-msi successfully\"\n      - name: Archive Windows msi\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer msi\n          path: w\\target\\msi\\ballerina-*-windows-x64.msi\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:32.306442", "created_at": "2022-02-21T04:18:56+01:00", "updated_at": "2022-02-21T04:18:56+01:00", "name": "Create Lang Branch For Updated Stage", "path": ".github/workflows/create_stage_lang_branch.yml", "contents": "name: Create Lang Branch For Updated Stage\n\non:\n  workflow_dispatch:\n    inputs:\n      new_lang_branch:\n        description: 'New ballerina-lang branch'\n        required: true\n        default: 'updated-stage-branch'\n\njobs:\n  create_branch:\n    name: Create New Lang Branch\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Get Stage Version Of Ballerina Language\n        id: stage-version\n        run: |\n          wget https://raw.githubusercontent.com/ballerina-platform/ballerina-distribution/master/gradle.properties\n          STAGE_LANG_VERSION=$((grep -w \"ballerinaLangVersion\" | cut -d= -f2) < gradle.properties)\n          LANG_VERSION=$((cut -d'-' -f1) <<< $STAGE_LANG_VERSION)\n          COMMIT_ID=${STAGE_LANG_VERSION##*-}\n          isStableVersion=\n          if [[ $LANG_VERSION == $COMMIT_ID ]]; then isStableVersion=true; else isStableVersion=false; fi\n          echo \"::set-output name=langVersion::$LANG_VERSION\"\n          echo \"::set-output name=commitId::$COMMIT_ID\"\n          echo \"::set-output name=isStableVersion::$isStableVersion\"\n\n      - name: Clone Ballerina Lang Repository\n        run: |\n           git clone https://github.com/${{ github.actor }}/ballerina-lang.git || echo \"please fork ballerina-lang repository to your github account\"\n\n      - name: Create New Lang Branch\n        working-directory: ballerina-lang\n        run:\n          if ( ( ${{steps.stage-version.outputs.isStableVersion}} ) );\n          then git fetch https://github.com/ballerina-platform/ballerina-lang.git release-${{steps.stage-version.outputs.langVersion}}:${{ github.event.inputs.new_lang_branch }} &&\n          git checkout ${{ github.event.inputs.new_lang_branch }};\n          else git fetch https://github.com/ballerina-platform/ballerina-lang.git stage-swan-lake:temporary-lang-branch &&\n          git checkout temporary-lang-branch &&\n          git checkout -b ${{ github.event.inputs.new_lang_branch }} ${{steps.stage-version.outputs.commitId}};\n          fi\n\n      - name: Push New Lang Branch\n        working-directory: ballerina-lang\n        run: |\n          git config remote.origin.url \"https://${BALLERINA_BOT_TOKEN}@github.com/${BALLERINA_BOT_USERNAME}/ballerina-lang.git\"\n          git push --set-upstream origin ${{ github.event.inputs.new_lang_branch }}\n        env:\n          BALLERINA_BOT_USERNAME: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:33.330136", "created_at": "2022-03-22T03:06:36+01:00", "updated_at": "2023-11-17T07:25:36+01:00", "name": "Daily Full Build Pipeline (master)", "path": ".github/workflows/daily-full-build-master.yml", "contents": "name: Daily Full Build Pipeline (master)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 18 * * *'   # 00:00 in LK time (GMT+5:30)\n\nenv:\n  PATCH_LEVEL: master\n\njobs:\n  build-lang:\n    name: Build ballerina-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Build ballerina-lang\n        run: python -u dependabot/full_build_pipeline.py ./ --lang-branch $PATCH_LEVEL --build-level 0\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n      - name: Get lang version\n        id: lang-version\n        run: |\n          VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          SPEC_VERSION=$((grep -w \"specVersion\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          echo \"::set-output name=version::$VERSION\"\n          echo \"::set-output name=specVersion::$SPEC_VERSION\"\n      - name: Archive Lang Artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n    outputs:\n      lang-version: ${{ steps.lang-version.outputs.version }}\n      spec-version: ${{ steps.lang-version.outputs.specVersion }}\n\n  build-stdlibs:\n    name: Build Standard Libraries & Tools\n    needs: build-lang\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Setup NodeJs\n        uses: actions/setup-node@v3\n        with:\n          node-version: 10.22.1\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build Standard Libraries & Tools\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --update-stdlib-dependencies --skip-build-distribution --continue-on-error --remove-after-build\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          CLIENT_ID: ${{ secrets.CLIENT_ID }}\n          CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}\n          REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Archive Standard Library Artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: Standard Library Artifacts\n          path: ~/.m2/\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n\n  build-distribution:\n    name: Build ballerina-distribution\n    needs: [build-lang, build-stdlibs]\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Download Standard Library Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Standard Library Artifacts\n          path: ~/.m2/\n      - name: Build ballerina-distribution\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --update-stdlib-dependencies --only-build-distribution --continue-on-error\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Get project version\n        id: project-version\n        run: |\n          SHORT_VERSION=$((grep -w \"version\" | cut -d= -f2 | cut -d- -f1 | xargs) < ballerina-distribution/gradle.properties)\n          DIST_VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          CODE_NAME=$((grep -w 'codeName' | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          RELEASE_VERSION=$DIST_VERSION-$CODE_NAME\n          echo \"::set-output name=version::$RELEASE_VERSION\"\n          echo \"::set-output name=sVersion::$SHORT_VERSION\"\n      - name: Archive Ballerina ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-swan-lake.zip\n      - name: Archive Ballerina Short Name ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Short Name ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-22*.zip\n      - name: Archive MacOS Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos.zip\n      - name: Archive MacOS-ARM Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS-ARM Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos-arm.zip\n      - name: Archive Windows Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-windows.zip\n      - name: Create linux-deb\n        id: run_installers_deb\n        working-directory: ballerina-distribution/installers/linux-deb\n        run: ./build-ballerina-linux-deb-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Create linux-rpm\n        id: run_installers_rpm\n        working-directory: ballerina-distribution/installers/linux-rpm\n        run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Archive Linux deb\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer deb\n          path: ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Archive Linux rpm\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer rpm\n          path: ballerina-distribution/installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ steps.project-version.outputs.sVersion }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n    outputs:\n      project-version: ${{ steps.project-version.outputs.version }}\n      short-version: ${{ steps.project-version.outputs.sVersion }}\n\n  ubuntu-rpm-installer-test:\n    needs: [build-lang, build-distribution]\n    name: Ubuntu rpm Installer\n    runs-on: ubuntu-latest\n    container: centos:latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'adopt'\n          java-version: '17.0.7'\n      - name: Setup Files\n        run: |\n          cd /etc/yum.repos.d/\n          sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*\n          sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*\n      - name: Install Git\n        run: |\n          yum install sudo -y\n          sudo dnf install git -y\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download Ballerina rpm Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer rpm\n      - name: Install Ballerina RPM\n        run: rpm -ivh ballerina-*-linux-x64.rpm\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg\n      - name: Install Ballerina PKG\n        run: sudo installer -pkg ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg -target /\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-arm-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS ARM Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS-ARM Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS-ARM Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../ -a arm\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg\n\n  windows-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build Windows Installer\n    runs-on: windows-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - uses: actions/setup-dotnet@v1\n        with:\n          dotnet-version: '2.1.x'\n      - name: Install GUID Generator\n        run: dotnet tool install -g dotnet-guid --version 0.5.2\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $env:PATCH_LEVEL\n      - name: Download Windows Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: Windows Installer ZIP\n      - name: Create windows-msi\n        id: run_installers_msi\n        run: |\n          $env:Path += \";C:\\Program Files (x86)\\WiX Toolset v3.11\\bin\"\n          move ballerina-distribution\\installers\\windows .\\\n          ren windows w\n          cd w\n          .\\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\\..\\\n      - name: Archive Windows msi\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer msi\n          path: w\\target\\msi\\ballerina-*-windows-x64.msi\n      - name: Install Ballerina msi\n        run: msiexec /i w\\target\\msi\\ballerina-${{ needs.build-distribution.outputs.project-version }}-windows-x64.msi /quiet /qr\n        shell: cmd\n      - name: Update Installer Test Configs\n        run: |\n          set DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          set SWAN_LAKE_LATEST_VERSION=swan-lake-%DISPLAY_TEXT%\n          set SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=%DISPLAY_TEXT%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=%SWAN_LAKE_LATEST_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=%SPEC_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n        shell: cmd\n      - name: Run Installer Tests\n        working-directory: .\\ballerina-distribution\\ballerina-test-automation\\installer-test\n        run: |\n          $env:Path += \";C:\\Program Files\\Ballerina\\bin\"\n          .\\..\\gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  nballerina-build:\n    needs: build-distribution\n    name: Build nBallerina\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'adopt'\n          java-version: '17.0.7'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install cryptography\n          pip install httplib2\n      - name: Clone nBallerina repository\n        run: git clone https://github.com/ballerina-platform/nballerina.git\n      - name: Download Linux Deb Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer deb\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-*-linux-x64.deb\n      - name: Run compiler tests\n        working-directory: nballerina/compiler\n        run: bal test --disable-groups private\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run: python3 dependabot/notify_full_build_failure.py nballerina $PATCH_LEVEL\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:34.366119", "created_at": "2022-05-25T05:58:01+02:00", "updated_at": "2022-05-25T05:58:01+02:00", "name": "Delete stdlibs in staging central", "path": ".github/workflows/delete_stdlibs_staging-central.yml", "contents": "name: Delete stdlibs in staging central\n\non:\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: Release tag (v220x.x.x) / Branch (master)\n        required: true\n        default: master\n\njobs:\n  delete-from-staging-central:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - name: Get gradle.properties from the distribution\n        uses: wei/wget@v1\n        with:\n          args: https://raw.githubusercontent.com/ballerina-platform/ballerina-distribution/${{github.event.inputs.tag}}/gradle.properties\n             -P ./dependabot/resources\n      - name: Create JSON file to store module details\n        run: touch ModuleDetails.json\n      - name: Execute Ballerina script\n        uses: ballerina-platform/ballerina-action@2201.0.3\n        with:\n          args: run ./dependabot/delete_staging_central_stdlibs.bal\n      - name: Store module details in a JSON\n        id: store_module_details\n        run: echo \"::set-output name=module_details::`cat ModuleDetails.json`\"\n      - name: Trigger workflow to delete stdlibs\n        run: |\n          curl -X POST \\\n          -d '{\"event_type\": \"trigger_delete_stdlibs_from_staging\", \"client_payload\": ${{steps.store_module_details.outputs.module_details}}}' \\\n          -H 'Content-Type: application/json' \\\n          -H 'Authorization: token ${{secrets.BALLERINA_BOT_TOKEN}}' \\\n          -H 'Accept: application/vnd.github.everest-preview+json' \\\n          'https://api.github.com/repos/wso2-enterprise/ballerina-registry/dispatches'\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:35.488438", "created_at": "2022-05-25T05:58:01+02:00", "updated_at": "2022-05-25T05:58:01+02:00", "name": "Sync dev and staging central after release", "path": ".github/workflows/sync_dev_and_staging_central_on_release.yml", "contents": "name: Sync dev and staging central after release\n\non:\n  workflow_dispatch: \n    inputs:\n      release_tag:\n        description: Release version\n        required: true\n        default: 2201.0.3\n\n      code_name:\n        description: Version code name\n        required: true\n        default: swan-lake\n\n      update_env:\n        description: Central environment to be synced\n        required: true\n        default: staging\n        type: choice\n        options:\n          - staging\n          - dev\n\njobs:\n  update-staging-and-dev-central:\n    runs-on: ubuntu-latest\n    env:\n      BAL_VERSION_CODE_NAME: ${{github.event.inputs.code_name}}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - name: Extract version ID\n        if: contains(${{github.event.inputs.release_tag}}, '-rc')\n        uses: rishabhgupta/split-by@v1\n        id: split_version\n        with:\n          string: ${{github.event.inputs.release_tag}}\n          split-by: '-'\n      - name: Download Ballerina distribution zip\n        uses: wei/wget@v1\n        with:\n          args:\n            https://github.com/ballerina-platform/ballerina-distribution/releases/download/v${{github.event.inputs.release_tag}}/ballerina-${{steps.split_version.outputs._0}}-${{env.BAL_VERSION_CODE_NAME}}.zip \n      - name: Extract Ballerina distribution\n        run: unzip -qq ./ballerina-${{steps.split_version.outputs._0}}-${{env.BAL_VERSION_CODE_NAME}}.zip -d .\n      - run: rm ballerina-${{steps.split_version.outputs._0}}-${{env.BAL_VERSION_CODE_NAME}}.zip\n      - name: Execute Ballerina script\n        uses: ballerina-platform/ballerina-action@2201.0.3\n        with:\n          args: run ./dependabot/sync_dev_and_staging_central.bal\n        env:\n          BAL_VERSION_ID: ${{steps.split_version.outputs._0}}\n      - name: Iterate through modules and compress to .bala\n        run: |\n          mkdir ./bala-archive\n          cd ./bala ;\n          for dir in */; do\n            cd ./$dir ; zip -r ../../bala-archive/${dir::-1}.bala . ; cd ..\n          done\n      - name: Push to staging central\n        if: ${{github.event.inputs.update_env == 'staging'}}\n        run: |\n          cd ./bala-archive ;\n          upload_failure=false\n          for dir in *; do\n            echo -e \"\\n\" $dir ;\n            response=$(curl -X POST -w \"\\n\" -H \"Content-Type:application/octet-stream\" \\\n            -H \"Authorization: Bearer ${{secrets.BALLERINA_CENTRAL_STAGE_ACCESS_TOKEN}}\" \\\n            --data-binary @\"$dir\" https://api.staging-central.ballerina.io/2.0/registry/packages ;)\n            if [ -z \"$response\" ]; then\n              echo \"Upload Success\";\n            else\n              echo $response;\n              upload_failure=true;\n            fi;\n          done\n          if $upload_failure ; then\n            exit 1;\n          fi;\n      - name: Push to dev central\n        if: ${{github.event.inputs.update_env == 'dev'}}\n        run: |\n          cd ./bala-archive ;\n          upload_failure=false\n          for dir in *; do\n            echo -e \"\\n\" $dir ;\n            response=$(curl -X POST -w \"\\n\" -H \"Content-Type:application/octet-stream\" \\\n            -H \"Authorization: Bearer ${{secrets.BALLERINA_CENTRAL_DEV_ACCESS_TOKEN}}\" \\\n            --data-binary @\"$dir\" https://api.dev-central.ballerina.io/2.0/registry/packages ;)\n            if [ -z \"$response\" ]; then\n              echo \"Upload Success\";\n            else\n              echo $response;\n              upload_failure=true;\n            fi;\n          done\n          if $upload_failure ; then\n            exit 1;\n          fi;\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:36.567580", "created_at": "2022-05-31T09:05:32+02:00", "updated_at": "2022-06-17T08:18:55+02:00", "name": "Generate build time statistics", "path": ".github/workflows/generate-build-time-stats.yml", "contents": "name: Generate build time statistics \n\non: \n  workflow_dispatch:\n  schedule:\n    - cron: '0 12 * * 0' \n\njobs: \n  build-examples:\n    name: Build Examples and Push statistics back to the repo\n    runs-on: ubuntu-latest\n    steps:         \n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: build-time-data\n\n      - name: Get the Ballerina examples \n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout bbe-refactor\n          cd ..\n          git clone https://github.com/ballerina-platform/nballerina.git\n      - name: Build nBallerina sample\n        uses: ballerina-platform/ballerina-action/@nightly\n        with:\n          args:\n            build --dump-build-time --offline ./nballerina/compiler\n\n      - name: Copy nBallerina build-time.json file to build-time-data\n        run: |\n          cp ./nballerina/compiler/target/build-time.json ./build-time-data/nballerina.json\n      - name: Build hello_world sample\n        uses: ballerina-platform/ballerina-action/@nightly\n        with:\n          args:\n            build --dump-build-time --offline ./ballerina-distribution/examples/hello-world/hello_world.bal\n\n      - name: Copy hello_world build-time.json file to build-time-data\n        run: |\n          cp build-time.json ./build-time-data/hello_world.json\n      - name: Build hello_world_service sample\n        uses: ballerina-platform/ballerina-action/@nightly\n        with:\n          args:\n            build --dump-build-time --offline ./ballerina-distribution/examples/hello-world-service/hello_world_service.bal\n\n      - name: Copy hello_world_service build-time.json file to build-time-data\n        run: |\n          cp build-time.json ./build-time-data/hello_world_service.json\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install httplib2\n          pip install PyGithub\n          pip install cryptography\n      - name: Send, Review and Merge PR\n        run: |\n          python3 dependabot/generate-build-time-stats.py \n        env:\n          BALLERINA_BOT_USERNAME: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          BALLERINA_BOT_EMAIL: ${{ secrets.BALLERINA_BOT_EMAIL }}\n          BALLERINA_REVIEWER_BOT_TOKEN: ${{ secrets.BALLERINA_REVIEWER_BOT_TOKEN }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:37.568244", "created_at": "2022-06-23T19:13:49+02:00", "updated_at": "2022-06-23T19:13:49+02:00", "name": "Trigger ballerinax connectors build", "path": ".github/workflows/trigger-ballerinax-connectors-build.yml", "contents": "name: Trigger ballerinax connectors build\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 19 * * *'   # 01:00AM IST (GMT+5:30) \n\njobs:\n  get_extended_library_list:\n    name: Get extended library repository names\n    if: github.repository_owner == 'ballerina-platform'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get extended library names\n        id: set-matrix\n        run: |\n            curl https://raw.githubusercontent.com/ballerina-platform/ballerina-release/master/dependabot/resources/extensions.json | jq '.extended_library | .[] | {name}' > modules.txt\n            cat modules.txt | jq -s '.' | sed \"s: ::g\" | tr -d '\\n' > processed.txt\n            echo \"::set-output name=matrix::{\\\"include\\\":$(cat processed.txt)}\"\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    \n  trigger_repository_disptach_in_extended_library_modules:\n    name: Trigger repository dispatch in extended standard library repos\n    if: github.repository_owner == 'ballerina-platform'\n    needs: get_extended_library_list\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix: ${{fromJSON(needs.get_extended_library_list.outputs.matrix)}}\n    steps:\n      - name: Trigger repository dispatch\n        run: |\n          curl --request \\\n          POST 'https://api.github.com/repos/ballerina-platform/${{matrix.name}}/dispatches' \\\n          --header 'Accept: application/vnd.github.v3+json' \\\n          --header 'Content-Type: application/json' \\\n          --header 'Authorization: token ${{secrets.BALLERINA_BOT_TOKEN}}' \\\n          --data-raw '{\n              \"event_type\":\"check_connector_for_breaking_changes\"\n          }'\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:38.782079", "created_at": "2023-01-27T06:23:48+01:00", "updated_at": "2023-01-27T06:23:48+01:00", "name": "Module Testing Pipeline", "path": ".github/workflows/pipeline_for_module_testing.yml", "contents": "name: Module Testing Pipeline\n\non:\n  workflow_dispatch:\n    inputs:\n      ballerina_lang_branch:\n        description: 'Ballerina-lang branch'\n        required: true\n        default: 'master'\n      downstream_repo_branch:\n        description: 'Downstream repository branch'\n        required: true\n        default: 'master'\n      test_module:\n        description: 'Test module e.g., module-ballerina-io'\n        deprecationMessage: 'standard library module needs to be tested'\n        required: true\n        default: ''\n\njobs:\n  module-test-pipeline:\n    name: Build Pipeline\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Set up JDK 17\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '17'\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install cryptography\n          pip install httplib2\n\n      - name: Set up JDK 17\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '17'\n\n      - name: Setup NodeJs\n        uses: actions/setup-node@v3\n        with:\n          node-version: 10.22.1\n\n      - name: Build Modules\n        run: |\n          python dependabot/pipeline_for_module_testing.py ${{ github.event.inputs.ballerina_lang_branch }} true \\\n          ${{ github.repository_owner }} ${{ github.event.inputs.downstream_repo_branch }} \\\n          ${{ github.event.inputs.test_module }}\n        env:\n          BALLERINA_BOT_USERNAME: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          BALLERINA_BOT_EMAIL: ${{ secrets.BALLERINA_BOT_EMAIL }}\n          BALLERINA_REVIEWER_BOT_TOKEN: ${{ secrets.BALLERINA_REVIEWER_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:39.965877", "created_at": "2023-06-19T06:40:41+02:00", "updated_at": "2023-11-17T07:25:44+01:00", "name": "Daily Full Build Pipeline (2201.7.x)", "path": ".github/workflows/daily-full-build-2201.7.x.yml", "contents": "name: Daily Full Build Pipeline (2201.7.x)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 18 * * *'   # 00:00 in LK time (GMT+5:30)\n\nenv:\n  PATCH_LEVEL: 2201.7.x\n\njobs:\n  build-lang:\n    name: Build ballerina-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Build ballerina-lang\n        run: python -u dependabot/full_build_pipeline.py ./ --lang-branch $PATCH_LEVEL --build-level 0\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n      - name: Get lang version\n        id: lang-version\n        run: |\n          VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          SPEC_VERSION=$((grep -w \"specVersion\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          echo \"::set-output name=version::$VERSION\"\n          echo \"::set-output name=specVersion::$SPEC_VERSION\"\n      - name: Archive Lang Artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n    outputs:\n      lang-version: ${{ steps.lang-version.outputs.version }}\n      spec-version: ${{ steps.lang-version.outputs.specVersion }}\n\n  build-stdlibs:\n    name: Build Standard Libraries & Tools\n    needs: build-lang\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Setup NodeJs\n        uses: actions/setup-node@v3\n        with:\n          node-version: 10.22.1\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build Standard Libraries & Tools\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --build-released-versions --patch-level $PATCH_LEVEL --skip-build-distribution --continue-on-error --remove-after-build\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          CLIENT_ID: ${{ secrets.CLIENT_ID }}\n          CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}\n          REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n\n  build-distribution:\n    name: Build ballerina-distribution\n    needs: build-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build ballerina-distribution\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --patch-level $PATCH_LEVEL --only-build-distribution --continue-on-error\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Get project version\n        id: project-version\n        run: |\n          SHORT_VERSION=$((grep -w \"version\" | cut -d= -f2 | cut -d- -f1 | xargs) < ballerina-distribution/gradle.properties)\n          DIST_VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          CODE_NAME=$((grep -w 'codeName' | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          RELEASE_VERSION=$DIST_VERSION-$CODE_NAME\n          echo \"::set-output name=version::$RELEASE_VERSION\"\n          echo \"::set-output name=sVersion::$SHORT_VERSION\"\n      - name: Archive Ballerina ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-swan-lake.zip\n      - name: Archive Ballerina Short Name ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Short Name ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-22*.zip\n      - name: Archive MacOS Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos.zip\n      - name: Archive MacOS-ARM Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS-ARM Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos-arm.zip\n      - name: Archive Windows Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-windows.zip\n      - name: Create linux-deb\n        id: run_installers_deb\n        working-directory: ballerina-distribution/installers/linux-deb\n        run: ./build-ballerina-linux-deb-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Create linux-rpm\n        id: run_installers_rpm\n        working-directory: ballerina-distribution/installers/linux-rpm\n        run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Archive Linux deb\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer deb\n          path: ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Archive Linux rpm\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer rpm\n          path: ballerina-distribution/installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ steps.project-version.outputs.sVersion }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n    outputs:\n      project-version: ${{ steps.project-version.outputs.version }}\n      short-version: ${{ steps.project-version.outputs.sVersion }}\n\n  ubuntu-rpm-installer-test:\n    needs: [build-lang, build-distribution]\n    name: Ubuntu rpm Installer\n    runs-on: ubuntu-latest\n    container: centos:latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'adopt'\n          java-version: '11'\n      - name: Setup Files\n        run: |\n          cd /etc/yum.repos.d/\n          sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*\n          sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*\n      - name: Install Git\n        run: |\n          yum install sudo -y\n          sudo dnf install git -y\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download Ballerina rpm Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer rpm\n      - name: Install Ballerina RPM\n        run: rpm -ivh ballerina-*-linux-x64.rpm\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg\n      - name: Install Ballerina PKG\n        run: sudo installer -pkg ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg -target /\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-arm-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS ARM Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS-ARM Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS-ARM Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../ -a arm\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg\n\n  windows-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build Windows Installer\n    runs-on: windows-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - uses: actions/setup-dotnet@v1\n        with:\n          dotnet-version: '2.1.x'\n      - name: Install GUID Generator\n        run: dotnet tool install -g dotnet-guid --version 0.5.2\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $env:PATCH_LEVEL\n      - name: Download Windows Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: Windows Installer ZIP\n      - name: Create windows-msi\n        id: run_installers_msi\n        run: |\n          $env:Path += \";C:\\Program Files (x86)\\WiX Toolset v3.11\\bin\"\n          move ballerina-distribution\\installers\\windows .\\\n          ren windows w\n          cd w\n          .\\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\\..\\\n      - name: Archive Windows msi\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer msi\n          path: w\\target\\msi\\ballerina-*-windows-x64.msi\n      - name: Install Ballerina msi\n        run: msiexec /i w\\target\\msi\\ballerina-${{ needs.build-distribution.outputs.project-version }}-windows-x64.msi /quiet /qr\n        shell: cmd\n      - name: Update Installer Test Configs\n        run: |\n          set DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          set SWAN_LAKE_LATEST_VERSION=swan-lake-%DISPLAY_TEXT%\n          set SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=%DISPLAY_TEXT%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=%SWAN_LAKE_LATEST_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=%SPEC_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n        shell: cmd\n      - name: Run Installer Tests\n        working-directory: .\\ballerina-distribution\\ballerina-test-automation\\installer-test\n        run: |\n          $env:Path += \";C:\\Program Files\\Ballerina\\bin\"\n          .\\..\\gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  nballerina-build:\n    needs: build-distribution\n    name: Build nBallerina\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'adopt'\n          java-version: '11'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install cryptography\n          pip install httplib2\n      - name: Clone nBallerina repository\n        run: git clone https://github.com/ballerina-platform/nballerina.git\n      - name: Download Linux Deb Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer deb\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-*-linux-x64.deb\n      - name: Run compiler tests\n        working-directory: nballerina/compiler\n        run: bal test --disable-groups private\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run: python3 dependabot/notify_full_build_failure.py nballerina $PATCH_LEVEL\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:41.049734", "created_at": "2023-07-27T14:10:20+02:00", "updated_at": "2023-07-27T14:10:20+02:00", "name": "Notify Notifications chat", "path": ".github/workflows/notify-simulator-failure.yml", "contents": "name: Notify Notifications chat\n\non:\n  repository_dispatch:\n    types: [notify-simulator-failure]\n\njobs:\n  send-chat-message:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n\n      - name: Set up Python 3.x\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.x'\n\n      - name: Install Python packages\n        run: |\n          pip install cryptography\n          pip install httplib2\n          pip install PyGithub\n\n      - name: Wget required files\n        run: |\n          python3 dependabot/notify_simulator_failure.py ${{ github.event.client_payload.branch }} ${{ github.event.client_payload.runId }} \n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:42.264070", "created_at": "2023-08-21T13:27:05+02:00", "updated_at": "2023-11-17T07:25:03+01:00", "name": "Daily Full Build Pipeline (2201.8.x)", "path": ".github/workflows/daily-full-build-2201.8.x.yml", "contents": "name: Daily Full Build Pipeline (2201.8.x)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 18 * * *'   # 00:00 in LK time (GMT+5:30)\n\nenv:\n  PATCH_LEVEL: 2201.8.x\n\njobs:\n  build-lang:\n    name: Build ballerina-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 17\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Build ballerina-lang\n        run: python -u dependabot/full_build_pipeline.py ./ --lang-branch $PATCH_LEVEL --build-level 0\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n      - name: Get lang version\n        id: lang-version\n        run: |\n          VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          SPEC_VERSION=$((grep -w \"specVersion\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          echo \"::set-output name=version::$VERSION\"\n          echo \"::set-output name=specVersion::$SPEC_VERSION\"\n      - name: Archive Lang Artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n    outputs:\n      lang-version: ${{ steps.lang-version.outputs.version }}\n      spec-version: ${{ steps.lang-version.outputs.specVersion }}\n\n  build-stdlibs:\n    name: Build Standard Libraries & Tools\n    needs: build-lang\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 17\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Setup NodeJs\n        uses: actions/setup-node@v3\n        with:\n          node-version: 10.22.1\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build Standard Libraries & Tools\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --build-released-versions --patch-level $PATCH_LEVEL --skip-build-distribution --continue-on-error --remove-after-build\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          CLIENT_ID: ${{ secrets.CLIENT_ID }}\n          CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}\n          REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n\n  build-distribution:\n    name: Build ballerina-distribution\n    needs: build-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 17\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build ballerina-distribution\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --patch-level $PATCH_LEVEL --only-build-distribution --continue-on-error\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Get project version\n        id: project-version\n        run: |\n          SHORT_VERSION=$((grep -w \"version\" | cut -d= -f2 | cut -d- -f1 | xargs) < ballerina-distribution/gradle.properties)\n          DIST_VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          CODE_NAME=$((grep -w 'codeName' | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          RELEASE_VERSION=$DIST_VERSION-$CODE_NAME\n          echo \"::set-output name=version::$RELEASE_VERSION\"\n          echo \"::set-output name=sVersion::$SHORT_VERSION\"\n      - name: Archive Ballerina ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-swan-lake.zip\n      - name: Archive Ballerina Short Name ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Short Name ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-22*.zip\n      - name: Archive MacOS Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos.zip\n      - name: Archive MacOS-ARM Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS-ARM Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos-arm.zip\n      - name: Archive Windows Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-windows.zip\n      - name: Create linux-deb\n        id: run_installers_deb\n        working-directory: ballerina-distribution/installers/linux-deb\n        run: ./build-ballerina-linux-deb-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Create linux-rpm\n        id: run_installers_rpm\n        working-directory: ballerina-distribution/installers/linux-rpm\n        run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Archive Linux deb\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer deb\n          path: ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Archive Linux rpm\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer rpm\n          path: ballerina-distribution/installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ steps.project-version.outputs.sVersion }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n    outputs:\n      project-version: ${{ steps.project-version.outputs.version }}\n      short-version: ${{ steps.project-version.outputs.sVersion }}\n\n  ubuntu-rpm-installer-test:\n    needs: [build-lang, build-distribution]\n    name: Ubuntu rpm Installer\n    runs-on: ubuntu-latest\n    container: centos:latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Setup Files\n        run: |\n          cd /etc/yum.repos.d/\n          sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*\n          sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*\n      - name: Install Git\n        run: |\n          yum install sudo -y\n          sudo dnf install git -y\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download Ballerina rpm Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer rpm\n      - name: Install Ballerina RPM\n        run: rpm -ivh ballerina-*-linux-x64.rpm\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg\n      - name: Install Ballerina PKG\n        run: sudo installer -pkg ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg -target /\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-arm-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS ARM Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS-ARM Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS-ARM Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../ -a arm\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg\n\n  windows-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build Windows Installer\n    runs-on: windows-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - uses: actions/setup-dotnet@v1\n        with:\n          dotnet-version: '2.1.x'\n      - name: Install GUID Generator\n        run: dotnet tool install -g dotnet-guid --version 0.5.2\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $env:PATCH_LEVEL\n      - name: Download Windows Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: Windows Installer ZIP\n      - name: Create windows-msi\n        id: run_installers_msi\n        run: |\n          $env:Path += \";C:\\Program Files (x86)\\WiX Toolset v3.11\\bin\"\n          move ballerina-distribution\\installers\\windows .\\\n          ren windows w\n          cd w\n          .\\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\\..\\\n      - name: Archive Windows msi\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer msi\n          path: w\\target\\msi\\ballerina-*-windows-x64.msi\n      - name: Install Ballerina msi\n        run: msiexec /i w\\target\\msi\\ballerina-${{ needs.build-distribution.outputs.project-version }}-windows-x64.msi /quiet /qr\n        shell: cmd\n      - name: Update Installer Test Configs\n        run: |\n          set DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          set SWAN_LAKE_LATEST_VERSION=swan-lake-%DISPLAY_TEXT%\n          set SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=%DISPLAY_TEXT%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=%SWAN_LAKE_LATEST_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=%SPEC_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n        shell: cmd\n      - name: Run Installer Tests\n        working-directory: .\\ballerina-distribution\\ballerina-test-automation\\installer-test\n        run: |\n          $env:Path += \";C:\\Program Files\\Ballerina\\bin\"\n          .\\..\\gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  nballerina-build:\n    needs: build-distribution\n    name: Build nBallerina\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install cryptography\n          pip install httplib2\n      - name: Clone nBallerina repository\n        run: git clone https://github.com/ballerina-platform/nballerina.git\n      - name: Download Linux Deb Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer deb\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-*-linux-x64.deb\n      - name: Run compiler tests\n        working-directory: nballerina/compiler\n        run: bal test --disable-groups private\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run: python3 dependabot/notify_full_build_failure.py nballerina $PATCH_LEVEL\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:43.490604", "created_at": "2023-12-06T09:57:43+01:00", "updated_at": "2023-12-06T09:57:43+01:00", "name": "Dashboard Extractor", "path": ".github/workflows/ballerina-central-stats.yml", "contents": "name: Dashboard Extractor\nrun-name: Daily write - Central Stats to excel sheet \non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 18 * * *'   # 00:00 in LK time (GMT+5:30)\n\n\njobs:\n  daily-central-stats-build:\n    name: Write Central Stats\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: ballerina-platform/setup-ballerina@v1\n        name: Install Ballerina\n        with:\n          version: 2201.8.4\n      - run: bal version\n      - name: Run Script\n        working-directory: ./central_stats/\n        env:\n          BCENTRAL_SPREADSHEET_CLIENT_ID: ${{secrets.BCENTRAL_SPREADSHEET_CLIENT_ID}}\n          BCENTRAL_SPREADSHEET_CLIENT_SECRET: ${{secrets.BCENTRAL_SPREADSHEET_CLIENT_SECRET}}\n          BCENTRAL_SPREADSHEET_REFRESH_TOKEN: ${{secrets.BCENTRAL_SPREADSHEET_REFRESH_TOKEN}}\n          BCENTRAL_SPREADSHEET_ID: ${{secrets.BCENTRAL_SPREADSHEET_ID}}\n          AZURE_BCENTRAL_APP_ID: ${{ secrets.AZURE_BCENTRAL_APP_ID }}\n          AZURE_BCENTRAL_API_KEY: ${{secrets.AZURE_BCENTRAL_API_KEY}}\n        run: bal run \n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:44.617678", "created_at": "2024-04-09T07:19:49+02:00", "updated_at": "2024-04-09T07:19:49+02:00", "name": "Daily Full Build Pipeline (2201.9.x)", "path": ".github/workflows/daily-full-build-2201.9.x.yml", "contents": "name: Daily Full Build Pipeline (2201.9.x)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 18 * * *'   # 00:00 in LK time (GMT+5:30)\n\nenv:\n  PATCH_LEVEL: 2201.9.x\n\njobs:\n  build-lang:\n    name: Build ballerina-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Build ballerina-lang\n        run: python -u dependabot/full_build_pipeline.py ./ --lang-branch $PATCH_LEVEL --build-level 0\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n      - name: Get lang version\n        id: lang-version\n        run: |\n          VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          SPEC_VERSION=$((grep -w \"specVersion\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          echo \"::set-output name=version::$VERSION\"\n          echo \"::set-output name=specVersion::$SPEC_VERSION\"\n      - name: Archive Lang Artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n    outputs:\n      lang-version: ${{ steps.lang-version.outputs.version }}\n      spec-version: ${{ steps.lang-version.outputs.specVersion }}\n\n  build-stdlibs:\n    name: Build Standard Libraries & Tools\n    needs: build-lang\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Setup NodeJs\n        uses: actions/setup-node@v3\n        with:\n          node-version: 10.22.1\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build Standard Libraries & Tools\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --build-released-versions --patch-level $PATCH_LEVEL --skip-build-distribution --continue-on-error --remove-after-build\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          CLIENT_ID: ${{ secrets.CLIENT_ID }}\n          CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}\n          REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n\n  build-distribution:\n    name: Build ballerina-distribution\n    needs: build-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build ballerina-distribution\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --patch-level $PATCH_LEVEL --only-build-distribution --continue-on-error\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Get project version\n        id: project-version\n        run: |\n          SHORT_VERSION=$((grep -w \"version\" | cut -d= -f2 | cut -d- -f1 | xargs) < ballerina-distribution/gradle.properties)\n          DIST_VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          CODE_NAME=$((grep -w 'codeName' | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          RELEASE_VERSION=$DIST_VERSION-$CODE_NAME\n          echo \"::set-output name=version::$RELEASE_VERSION\"\n          echo \"::set-output name=sVersion::$SHORT_VERSION\"\n      - name: Archive Ballerina ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-swan-lake.zip\n      - name: Archive Ballerina Short Name ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Short Name ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-22*.zip\n      - name: Archive MacOS Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos.zip\n      - name: Archive MacOS-ARM Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS-ARM Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos-arm.zip\n      - name: Archive Windows Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-windows.zip\n      - name: Create linux-deb\n        id: run_installers_deb\n        working-directory: ballerina-distribution/installers/linux-deb\n        run: ./build-ballerina-linux-deb-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Create linux-rpm\n        id: run_installers_rpm\n        working-directory: ballerina-distribution/installers/linux-rpm\n        run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Archive Linux deb\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer deb\n          path: ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Archive Linux rpm\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer rpm\n          path: ballerina-distribution/installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ steps.project-version.outputs.sVersion }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n    outputs:\n      project-version: ${{ steps.project-version.outputs.version }}\n      short-version: ${{ steps.project-version.outputs.sVersion }}\n\n  ubuntu-rpm-installer-test:\n    needs: [build-lang, build-distribution]\n    name: Ubuntu rpm Installer\n    runs-on: ubuntu-latest\n    container: centos:latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Setup Files\n        run: |\n          cd /etc/yum.repos.d/\n          sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*\n          sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*\n      - name: Install Git\n        run: |\n          yum install sudo -y\n          sudo dnf install git -y\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download Ballerina rpm Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer rpm\n      - name: Install Ballerina RPM\n        run: rpm -ivh ballerina-*-linux-x64.rpm\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg\n      - name: Install Ballerina PKG\n        run: sudo installer -pkg ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg -target /\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-arm-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS ARM Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS-ARM Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS-ARM Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../ -a arm\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg\n\n  windows-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build Windows Installer\n    runs-on: windows-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - uses: actions/setup-dotnet@v1\n        with:\n          dotnet-version: '2.1.x'\n      - name: Install GUID Generator\n        run: dotnet tool install -g dotnet-guid --version 0.5.2\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $env:PATCH_LEVEL\n      - name: Download Windows Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: Windows Installer ZIP\n      - name: Create windows-msi\n        id: run_installers_msi\n        run: |\n          $env:Path += \";C:\\Program Files (x86)\\WiX Toolset v3.11\\bin\"\n          move ballerina-distribution\\installers\\windows .\\\n          ren windows w\n          cd w\n          .\\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\\..\\\n      - name: Archive Windows msi\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer msi\n          path: w\\target\\msi\\ballerina-*-windows-x64.msi\n      - name: Install Ballerina msi\n        run: msiexec /i w\\target\\msi\\ballerina-${{ needs.build-distribution.outputs.project-version }}-windows-x64.msi /quiet /qr\n        shell: cmd\n      - name: Update Installer Test Configs\n        run: |\n          set DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          set SWAN_LAKE_LATEST_VERSION=swan-lake-%DISPLAY_TEXT%\n          set SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=%DISPLAY_TEXT%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=%SWAN_LAKE_LATEST_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=%SPEC_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n        shell: cmd\n      - name: Run Installer Tests\n        working-directory: .\\ballerina-distribution\\ballerina-test-automation\\installer-test\n        run: |\n          $env:Path += \";C:\\Program Files\\Ballerina\\bin\"\n          .\\..\\gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  nballerina-build:\n    needs: build-distribution\n    name: Build nBallerina\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 17.0.7\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17.0.7'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install cryptography\n          pip install httplib2\n      - name: Clone nBallerina repository\n        run: git clone https://github.com/ballerina-platform/nballerina.git\n      - name: Download Linux Deb Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer deb\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-*-linux-x64.deb\n      - name: Run compiler tests\n        working-directory: nballerina/compiler\n        run: bal test --disable-groups private\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run: python3 dependabot/notify_full_build_failure.py nballerina $PATCH_LEVEL\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n", "state": "active", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:46.146491", "created_at": "2021-06-09T09:30:15+02:00", "updated_at": "2024-02-12T07:19:55+01:00", "name": "Scheduled Ballerina Central Tests on Dev", "path": ".github/workflows/ballerina-central-test-on-dev-schedule.yml", "contents": "name: Scheduled Ballerina Central Tests on Dev \n\non:\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 */6 * * *'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n\n    - name: Install Docker\n      id: buildx\n      uses: docker/setup-buildx-action@v1\n\n    - name: Run Script\n      working-directory: ./test-scripts/ballerina-central/\n      run: docker build --build-arg BALLERINA_CENTRAL_ACCESS_TOKEN=${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }} --build-arg BALLERINA_DEV_CENTRAL=true .\n", "state": "disabled_manually", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:47.277483", "created_at": "2022-10-05T11:32:13+02:00", "updated_at": "2024-04-05T06:24:06+02:00", "name": "Daily Full Build Pipeline (2201.3.x)", "path": ".github/workflows/daily-full-build-2201.3.x.yml", "contents": "name: Daily Full Build Pipeline (2201.3.x)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 18 * * *'   # 00:00 in LK time (GMT+5:30)\n\nenv:\n  PATCH_LEVEL: 2201.3.x\n  DISTRIBUTION_BUILD_LEVEL: 11\n\njobs:\n  build-lang:\n    name: Build ballerina-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Build ballerina-lang\n        run: python -u dependabot/full_build_pipeline.py ./ --lang-branch $PATCH_LEVEL --build-level 0\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n          python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n      - name: Get lang version\n        id: lang-version\n        run: |\n          VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          SPEC_VERSION=$((grep -w \"specVersion\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          echo \"::set-output name=version::$VERSION\"\n          echo \"::set-output name=specVersion::$SPEC_VERSION\"\n      - name: Archive Lang Artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n    outputs:\n      lang-version: ${{ steps.lang-version.outputs.version }}\n      spec-version: ${{ steps.lang-version.outputs.specVersion }}\n\n  build-stdlibs:\n    name: Build Standard Libraries & Tools\n    needs: build-lang\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Setup NodeJs\n        uses: actions/setup-node@v3\n        with:\n          node-version: 10.22.1\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build Standard Libraries & Tools\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --build-released-versions --patch-level $PATCH_LEVEL --skip-build-distribution --continue-on-error --remove-after-build\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n          python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n\n  build-distribution:\n    name: Build ballerina-distribution\n    needs: build-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build ballerina-distribution\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --patch-level $PATCH_LEVEL --build-level $DISTRIBUTION_BUILD_LEVEL --continue-on-error\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Get project version\n        id: project-version\n        run: |\n          SHORT_VERSION=$((grep -w \"version\" | cut -d= -f2 | cut -d- -f1 | xargs) < ballerina-distribution/gradle.properties)\n          DIST_VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          CODE_NAME=$((grep -w 'codeName' | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          RELEASE_VERSION=$DIST_VERSION-$CODE_NAME\n          echo \"::set-output name=version::$RELEASE_VERSION\"\n          echo \"::set-output name=sVersion::$SHORT_VERSION\"\n      - name: Archive Ballerina ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-swan-lake.zip\n      - name: Archive Ballerina Short Name ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Short Name ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-22*.zip\n      - name: Archive MacOS Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos.zip\n      - name: Archive Windows Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-windows.zip\n      - name: Create linux-deb\n        id: run_installers_deb\n        working-directory: ballerina-distribution/installers/linux-deb\n        run: ./build-ballerina-linux-deb-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Create linux-rpm\n        id: run_installers_rpm\n        working-directory: ballerina-distribution/installers/linux-rpm\n        run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Archive Linux deb\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer deb\n          path: ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Archive Linux rpm\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer rpm\n          path: ballerina-distribution/installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ steps.project-version.outputs.sVersion }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n          python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n    outputs:\n      project-version: ${{ steps.project-version.outputs.version }}\n      short-version: ${{ steps.project-version.outputs.sVersion }}\n\n  ubuntu-rpm-installer-test:\n    needs: [build-lang, build-distribution]\n    name: Ubuntu rpm Installer\n    runs-on: ubuntu-latest\n    container: centos:latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'adopt'\n          java-version: '11'\n      - name: Setup Files\n        run: |\n          cd /etc/yum.repos.d/\n          sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*\n          sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*\n      - name: Install Git\n        run: |\n          yum install sudo -y\n          sudo dnf install git -y\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download Ballerina rpm Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer rpm\n      - name: Install Ballerina RPM\n        run: rpm -ivh ballerina-*-linux-x64.rpm\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg\n      - name: Install Ballerina PKG\n        run: sudo installer -pkg ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg -target /\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  windows-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build Windows Installer\n    runs-on: windows-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - uses: actions/setup-dotnet@v1\n        with:\n          dotnet-version: '2.1.x'\n      - name: Install GUID Generator\n        run: dotnet tool install -g dotnet-guid --version 0.5.2\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $env:PATCH_LEVEL\n      - name: Download Windows Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: Windows Installer ZIP\n      - name: Create windows-msi\n        id: run_installers_msi\n        run: |\n          $env:Path += \";C:\\Program Files (x86)\\WiX Toolset v3.11\\bin\"\n          move ballerina-distribution\\installers\\windows .\\\n          ren windows w\n          cd w\n          .\\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\\..\\\n      - name: Archive Windows msi\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer msi\n          path: w\\target\\msi\\ballerina-*-windows-x64.msi\n      - name: Install Ballerina msi\n        run: msiexec /i w\\target\\msi\\ballerina-${{ needs.build-distribution.outputs.project-version }}-windows-x64.msi /quiet /qr\n        shell: cmd\n      - name: Update Installer Test Configs\n        run: |\n          set DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          set SWAN_LAKE_LATEST_VERSION=swan-lake-%DISPLAY_TEXT%\n          set SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=%DISPLAY_TEXT%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=%SWAN_LAKE_LATEST_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=%SPEC_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n        shell: cmd\n      - name: Run Installer Tests\n        working-directory: .\\ballerina-distribution\\ballerina-test-automation\\installer-test\n        run: |\n          $env:Path += \";C:\\Program Files\\Ballerina\\bin\"\n          .\\..\\gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  nballerina-build:\n    needs: build-distribution\n    name: Build nBallerina\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'adopt'\n          java-version: '11'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install cryptography\n          pip install httplib2\n      - name: Clone nBallerina repository\n        run: git clone https://github.com/ballerina-platform/nballerina.git\n      - name: Switch to last working nBallerina commit\n        run: git checkout jballerina-2201.3\n        working-directory: nballerina\n      - name: Download Linux Deb Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer deb\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-*-linux-x64.deb\n      - name: Run compiler tests\n        working-directory: nballerina/compiler\n        run: bal test --disable-groups private\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run: python3 dependabot/notify_full_build_failure.py nballerina $PATCH_LEVEL\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n", "state": "disabled_manually", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:48.408070", "created_at": "2023-01-30T07:30:28+01:00", "updated_at": "2024-04-05T06:24:13+02:00", "name": "Daily Full Build Pipeline (2201.4.x)", "path": ".github/workflows/daily-full-build-2201.4.x.yml", "contents": "name: Daily Full Build Pipeline (2201.4.x)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 18 * * *'   # 00:00 in LK time (GMT+5:30)\n\nenv:\n  PATCH_LEVEL: 2201.4.x\n  DISTRIBUTION_BUILD_LEVEL: 11\n\njobs:\n  build-lang:\n    name: Build ballerina-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Build ballerina-lang\n        run: python -u dependabot/full_build_pipeline.py ./ --lang-branch $PATCH_LEVEL --build-level 0\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n          python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n      - name: Get lang version\n        id: lang-version\n        run: |\n          VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          SPEC_VERSION=$((grep -w \"specVersion\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          echo \"::set-output name=version::$VERSION\"\n          echo \"::set-output name=specVersion::$SPEC_VERSION\"\n      - name: Archive Lang Artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n    outputs:\n      lang-version: ${{ steps.lang-version.outputs.version }}\n      spec-version: ${{ steps.lang-version.outputs.specVersion }}\n\n  build-stdlibs:\n    name: Build Standard Libraries & Tools\n    needs: build-lang\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Setup NodeJs\n        uses: actions/setup-node@v3\n        with:\n          node-version: 10.22.1\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build Standard Libraries & Tools\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --build-released-versions --patch-level $PATCH_LEVEL --skip-build-distribution --continue-on-error --remove-after-build\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n          python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n\n  build-distribution:\n    name: Build ballerina-distribution\n    needs: build-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build ballerina-distribution\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --patch-level $PATCH_LEVEL --build-level $DISTRIBUTION_BUILD_LEVEL --continue-on-error\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Get project version\n        id: project-version\n        run: |\n          SHORT_VERSION=$((grep -w \"version\" | cut -d= -f2 | cut -d- -f1 | xargs) < ballerina-distribution/gradle.properties)\n          DIST_VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          CODE_NAME=$((grep -w 'codeName' | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          RELEASE_VERSION=$DIST_VERSION-$CODE_NAME\n          echo \"::set-output name=version::$RELEASE_VERSION\"\n          echo \"::set-output name=sVersion::$SHORT_VERSION\"\n      - name: Archive Ballerina ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-swan-lake.zip\n      - name: Archive Ballerina Short Name ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Short Name ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-22*.zip\n      - name: Archive MacOS Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos.zip\n      - name: Archive Windows Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-windows.zip\n      - name: Create linux-deb\n        id: run_installers_deb\n        working-directory: ballerina-distribution/installers/linux-deb\n        run: ./build-ballerina-linux-deb-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Create linux-rpm\n        id: run_installers_rpm\n        working-directory: ballerina-distribution/installers/linux-rpm\n        run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Archive Linux deb\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer deb\n          path: ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Archive Linux rpm\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer rpm\n          path: ballerina-distribution/installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ steps.project-version.outputs.sVersion }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n          python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n    outputs:\n      project-version: ${{ steps.project-version.outputs.version }}\n      short-version: ${{ steps.project-version.outputs.sVersion }}\n\n  ubuntu-rpm-installer-test:\n    needs: [build-lang, build-distribution]\n    name: Ubuntu rpm Installer\n    runs-on: ubuntu-latest\n    container: centos:latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'adopt'\n          java-version: '11'\n      - name: Setup Files\n        run: |\n          cd /etc/yum.repos.d/\n          sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*\n          sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*\n      - name: Install Git\n        run: |\n          yum install sudo -y\n          sudo dnf install git -y\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download Ballerina rpm Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer rpm\n      - name: Install Ballerina RPM\n        run: rpm -ivh ballerina-*-linux-x64.rpm\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg\n      - name: Install Ballerina PKG\n        run: sudo installer -pkg ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg -target /\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  windows-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build Windows Installer\n    runs-on: windows-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - uses: actions/setup-dotnet@v1\n        with:\n          dotnet-version: '2.1.x'\n      - name: Install GUID Generator\n        run: dotnet tool install -g dotnet-guid --version 0.5.2\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $env:PATCH_LEVEL\n      - name: Download Windows Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: Windows Installer ZIP\n      - name: Create windows-msi\n        id: run_installers_msi\n        run: |\n          $env:Path += \";C:\\Program Files (x86)\\WiX Toolset v3.11\\bin\"\n          move ballerina-distribution\\installers\\windows .\\\n          ren windows w\n          cd w\n          .\\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\\..\\\n      - name: Archive Windows msi\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer msi\n          path: w\\target\\msi\\ballerina-*-windows-x64.msi\n      - name: Install Ballerina msi\n        run: msiexec /i w\\target\\msi\\ballerina-${{ needs.build-distribution.outputs.project-version }}-windows-x64.msi /quiet /qr\n        shell: cmd\n      - name: Update Installer Test Configs\n        run: |\n          set DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          set SWAN_LAKE_LATEST_VERSION=swan-lake-%DISPLAY_TEXT%\n          set SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=%DISPLAY_TEXT%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=%SWAN_LAKE_LATEST_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=%SPEC_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n        shell: cmd\n      - name: Run Installer Tests\n        working-directory: .\\ballerina-distribution\\ballerina-test-automation\\installer-test\n        run: |\n          $env:Path += \";C:\\Program Files\\Ballerina\\bin\"\n          .\\..\\gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  nballerina-build:\n    needs: build-distribution\n    name: Build nBallerina\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'adopt'\n          java-version: '11'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install cryptography\n          pip install httplib2\n      - name: Clone nBallerina repository\n        run: git clone https://github.com/ballerina-platform/nballerina.git\n      - name: Switch to last working nBallerina commit\n        run: git checkout jballerina-2201.4\n        working-directory: nballerina\n      - name: Download Linux Deb Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer deb\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-*-linux-x64.deb\n      - name: Run compiler tests\n        working-directory: nballerina/compiler\n        run: bal test --disable-groups private\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run: python3 dependabot/notify_full_build_failure.py nballerina $PATCH_LEVEL\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n", "state": "disabled_manually", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:49.432187", "created_at": "2023-03-16T04:58:49+01:00", "updated_at": "2024-04-05T06:24:18+02:00", "name": "Daily Full Build Pipeline (2201.5.x)", "path": ".github/workflows/daily-full-build-2201.5.x.yml", "contents": "name: Daily Full Build Pipeline (2201.5.x)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 18 * * *'   # 00:00 in LK time (GMT+5:30)\n\nenv:\n  PATCH_LEVEL: 2201.5.x\n  DISTRIBUTION_BUILD_LEVEL: 11\n\njobs:\n  build-lang:\n    name: Build ballerina-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Build ballerina-lang\n        run: python -u dependabot/full_build_pipeline.py ./ --lang-branch $PATCH_LEVEL --build-level 0\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n          python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n      - name: Get lang version\n        id: lang-version\n        run: |\n          VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          SPEC_VERSION=$((grep -w \"specVersion\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          echo \"::set-output name=version::$VERSION\"\n          echo \"::set-output name=specVersion::$SPEC_VERSION\"\n      - name: Archive Lang Artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n    outputs:\n      lang-version: ${{ steps.lang-version.outputs.version }}\n      spec-version: ${{ steps.lang-version.outputs.specVersion }}\n\n  build-stdlibs:\n    name: Build Standard Libraries & Tools\n    needs: build-lang\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Setup NodeJs\n        uses: actions/setup-node@v3\n        with:\n          node-version: 10.22.1\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build Standard Libraries & Tools\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --build-released-versions --patch-level $PATCH_LEVEL --skip-build-distribution --continue-on-error --remove-after-build\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n          python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n\n  build-distribution:\n    name: Build ballerina-distribution\n    needs: build-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build ballerina-distribution\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --patch-level $PATCH_LEVEL --build-level $DISTRIBUTION_BUILD_LEVEL --continue-on-error\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Get project version\n        id: project-version\n        run: |\n          SHORT_VERSION=$((grep -w \"version\" | cut -d= -f2 | cut -d- -f1 | xargs) < ballerina-distribution/gradle.properties)\n          DIST_VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          CODE_NAME=$((grep -w 'codeName' | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          RELEASE_VERSION=$DIST_VERSION-$CODE_NAME\n          echo \"::set-output name=version::$RELEASE_VERSION\"\n          echo \"::set-output name=sVersion::$SHORT_VERSION\"\n      - name: Archive Ballerina ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-swan-lake.zip\n      - name: Archive Ballerina Short Name ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Short Name ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-22*.zip\n      - name: Archive MacOS Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos.zip\n      - name: Archive MacOS-ARM Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS-ARM Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos-arm.zip\n      - name: Archive Windows Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-windows.zip\n      - name: Create linux-deb\n        id: run_installers_deb\n        working-directory: ballerina-distribution/installers/linux-deb\n        run: ./build-ballerina-linux-deb-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Create linux-rpm\n        id: run_installers_rpm\n        working-directory: ballerina-distribution/installers/linux-rpm\n        run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Archive Linux deb\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer deb\n          path: ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Archive Linux rpm\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer rpm\n          path: ballerina-distribution/installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ steps.project-version.outputs.sVersion }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n          python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n    outputs:\n      project-version: ${{ steps.project-version.outputs.version }}\n      short-version: ${{ steps.project-version.outputs.sVersion }}\n\n  ubuntu-rpm-installer-test:\n    needs: [build-lang, build-distribution]\n    name: Ubuntu rpm Installer\n    runs-on: ubuntu-latest\n    container: centos:latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'adopt'\n          java-version: '11'\n      - name: Setup Files\n        run: |\n          cd /etc/yum.repos.d/\n          sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*\n          sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*\n      - name: Install Git\n        run: |\n          yum install sudo -y\n          sudo dnf install git -y\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download Ballerina rpm Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer rpm\n      - name: Install Ballerina RPM\n        run: rpm -ivh ballerina-*-linux-x64.rpm\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg\n      - name: Install Ballerina PKG\n        run: sudo installer -pkg ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg -target /\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-arm-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS ARM Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS-ARM Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS-ARM Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../ -a arm\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg\n\n  windows-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build Windows Installer\n    runs-on: windows-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - uses: actions/setup-dotnet@v1\n        with:\n          dotnet-version: '2.1.x'\n      - name: Install GUID Generator\n        run: dotnet tool install -g dotnet-guid --version 0.5.2\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $env:PATCH_LEVEL\n      - name: Download Windows Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: Windows Installer ZIP\n      - name: Create windows-msi\n        id: run_installers_msi\n        run: |\n          $env:Path += \";C:\\Program Files (x86)\\WiX Toolset v3.11\\bin\"\n          move ballerina-distribution\\installers\\windows .\\\n          ren windows w\n          cd w\n          .\\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\\..\\\n      - name: Archive Windows msi\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer msi\n          path: w\\target\\msi\\ballerina-*-windows-x64.msi\n      - name: Install Ballerina msi\n        run: msiexec /i w\\target\\msi\\ballerina-${{ needs.build-distribution.outputs.project-version }}-windows-x64.msi /quiet /qr\n        shell: cmd\n      - name: Update Installer Test Configs\n        run: |\n          set DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          set SWAN_LAKE_LATEST_VERSION=swan-lake-%DISPLAY_TEXT%\n          set SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=%DISPLAY_TEXT%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=%SWAN_LAKE_LATEST_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=%SPEC_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n        shell: cmd\n      - name: Run Installer Tests\n        working-directory: .\\ballerina-distribution\\ballerina-test-automation\\installer-test\n        run: |\n          $env:Path += \";C:\\Program Files\\Ballerina\\bin\"\n          .\\..\\gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  nballerina-build:\n    needs: build-distribution\n    name: Build nBallerina\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'adopt'\n          java-version: '11'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install cryptography\n          pip install httplib2\n      - name: Clone nBallerina repository\n        run: git clone https://github.com/ballerina-platform/nballerina.git\n      - name: Switch to last working nBallerina commit\n        run: git checkout jballerina-2201.5\n        working-directory: nballerina\n      - name: Download Linux Deb Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer deb\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-*-linux-x64.deb\n      - name: Run compiler tests\n        working-directory: nballerina/compiler\n        run: bal test --disable-groups private\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run: python3 dependabot/notify_full_build_failure.py nballerina $PATCH_LEVEL\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n", "state": "disabled_manually", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:50.558446", "created_at": "2023-05-16T06:44:49+02:00", "updated_at": "2024-04-05T06:24:24+02:00", "name": "Daily Full Build Pipeline (2201.6.x)", "path": ".github/workflows/daily-full-build-2201.6.x.yml", "contents": "name: Daily Full Build Pipeline (2201.6.x)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '30 18 * * *'   # 00:00 in LK time (GMT+5:30)\n\nenv:\n  PATCH_LEVEL: 2201.6.x\n\njobs:\n  build-lang:\n    name: Build ballerina-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Build ballerina-lang\n        run: python -u dependabot/full_build_pipeline.py ./ --lang-branch $PATCH_LEVEL --build-level 0\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n      - name: Get lang version\n        id: lang-version\n        run: |\n          VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          SPEC_VERSION=$((grep -w \"specVersion\" | cut -d= -f2 | xargs) < ballerina-lang/gradle.properties)\n          echo \"::set-output name=version::$VERSION\"\n          echo \"::set-output name=specVersion::$SPEC_VERSION\"\n      - name: Archive Lang Artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n    outputs:\n      lang-version: ${{ steps.lang-version.outputs.version }}\n      spec-version: ${{ steps.lang-version.outputs.specVersion }}\n\n  build-stdlibs:\n    name: Build Standard Libraries & Tools\n    needs: build-lang\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Setup NodeJs\n        uses: actions/setup-node@v3\n        with:\n          node-version: 10.22.1\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build Standard Libraries & Tools\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --build-released-versions --patch-level $PATCH_LEVEL --skip-build-distribution --continue-on-error --remove-after-build\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          CLIENT_ID: ${{ secrets.CLIENT_ID }}\n          CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}\n          REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n\n  build-distribution:\n    name: Build ballerina-distribution\n    needs: build-lang\n    runs-on: ubuntu-latest\n    timeout-minutes: 150\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install httplib2\n          pip install colorama\n          pip install configobj\n          pip install requests\n          pip install PyGithub\n          pip install cryptography\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Lang Artifacts\n        uses: actions/download-artifact@v2\n        with:\n          name: Ballerina Lang Artifacts\n          path: ~/.m2/\n      - name: Build ballerina-distribution\n        run: |\n          python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \\\n          --patch-level $PATCH_LEVEL --only-build-distribution --continue-on-error\n        env:\n          packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}\n          packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}\n          devCentralToken: ${{ secrets.BALLERINA_DEV_CENTRAL_ACCESS_TOKEN }}\n          TEST_MODE_ACTIVE: true\n      - name: Get project version\n        id: project-version\n        run: |\n          SHORT_VERSION=$((grep -w \"version\" | cut -d= -f2 | cut -d- -f1 | xargs) < ballerina-distribution/gradle.properties)\n          DIST_VERSION=$((grep -w \"version\" | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          CODE_NAME=$((grep -w 'codeName' | cut -d= -f2 | xargs) < ballerina-distribution/gradle.properties)\n          RELEASE_VERSION=$DIST_VERSION-$CODE_NAME\n          echo \"::set-output name=version::$RELEASE_VERSION\"\n          echo \"::set-output name=sVersion::$SHORT_VERSION\"\n      - name: Archive Ballerina ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-swan-lake.zip\n      - name: Archive Ballerina Short Name ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Ballerina Short Name ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-22*.zip\n      - name: Archive MacOS Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos.zip\n      - name: Archive MacOS-ARM Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS-ARM Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-macos-arm.zip\n      - name: Archive Windows Installer ZIP\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer ZIP\n          path: ballerina-distribution/ballerina/build/distributions/ballerina-*-windows.zip\n      - name: Create linux-deb\n        id: run_installers_deb\n        working-directory: ballerina-distribution/installers/linux-deb\n        run: ./build-ballerina-linux-deb-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Create linux-rpm\n        id: run_installers_rpm\n        working-directory: ballerina-distribution/installers/linux-rpm\n        run: ./build-ballerina-linux-rpm-x64.sh -v ${{ steps.project-version.outputs.version }} -p ./../../ballerina/build/distributions\n      - name: Archive Linux deb\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer deb\n          path: ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Archive Linux rpm\n        uses: actions/upload-artifact@v2\n        with:\n          name: Linux Installer rpm\n          path: ballerina-distribution/installers/linux-rpm/rpmbuild/RPMS/x86_64/ballerina-*-linux-x64.rpm\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-distribution/installers/linux-deb/target/ballerina-*-linux-x64.deb\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ steps.project-version.outputs.sVersion }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run:\n          FILE=\"failed_modules.txt\"\n\n          while read module; do\n            python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;\n          done < ${FILE}\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n    outputs:\n      project-version: ${{ steps.project-version.outputs.version }}\n      short-version: ${{ steps.project-version.outputs.sVersion }}\n\n  ubuntu-rpm-installer-test:\n    needs: [build-lang, build-distribution]\n    name: Ubuntu rpm Installer\n    runs-on: ubuntu-latest\n    container: centos:latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'adopt'\n          java-version: '11'\n      - name: Setup Files\n        run: |\n          cd /etc/yum.repos.d/\n          sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*\n          sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*\n      - name: Install Git\n        run: |\n          yum install sudo -y\n          sudo dnf install git -y\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download Ballerina rpm Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer rpm\n      - name: Install Ballerina RPM\n        run: rpm -ivh ballerina-*-linux-x64.rpm\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg\n      - name: Install Ballerina PKG\n        run: sudo installer -pkg ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-x64.pkg -target /\n      - name: Update Installer Test Configs\n        run: |\n          DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          SWAN_LAKE_LATEST_VERSION=\"swan-lake-\"+$DISPLAY_TEXT\n          SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=$DISPLAY_TEXT/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=$SWAN_LAKE_LATEST_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=$SPEC_VERSION/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n      - name: Run Installer Tests\n        working-directory: ./ballerina-distribution/ballerina-test-automation/installer-test\n        run: ./../gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  macos-arm-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build MacOS ARM Installer\n    runs-on: macos-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $PATCH_LEVEL\n      - name: Download MacOS-ARM Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: MacOS-ARM Installer ZIP\n      - name: Create macos-pkg\n        id: run_installers_pkg\n        working-directory: ballerina-distribution/installers/mac\n        run: ./build-ballerina-macos-x64.sh -v ${{ needs.build-distribution.outputs.project-version }} -p ./../../../ -a arm\n      - name: Archive MacOS pkg\n        uses: actions/upload-artifact@v2\n        with:\n          name: MacOS Installer pkg\n          path: ballerina-distribution/installers/mac/target/pkg/ballerina-*-macos-arm-x64.pkg\n\n  windows-installer-build:\n    needs: [build-lang, build-distribution]\n    name: Build Windows Installer\n    runs-on: windows-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'temurin'\n          java-version: '11'\n      - uses: actions/setup-dotnet@v1\n        with:\n          dotnet-version: '2.1.x'\n      - name: Install GUID Generator\n        run: dotnet tool install -g dotnet-guid --version 0.5.2\n      - name: Download Ballerina Distribution\n        run: |\n          git clone https://github.com/ballerina-platform/ballerina-distribution.git\n          cd ballerina-distribution\n          git checkout $env:PATCH_LEVEL\n      - name: Download Windows Intaller Zip\n        uses: actions/download-artifact@v2\n        with:\n          name: Windows Installer ZIP\n      - name: Create windows-msi\n        id: run_installers_msi\n        run: |\n          $env:Path += \";C:\\Program Files (x86)\\WiX Toolset v3.11\\bin\"\n          move ballerina-distribution\\installers\\windows .\\\n          ren windows w\n          cd w\n          .\\build-ballerina-windows-x64.bat --version ${{ needs.build-distribution.outputs.project-version }} --path .\\..\\\n      - name: Archive Windows msi\n        uses: actions/upload-artifact@v2\n        with:\n          name: Windows Installer msi\n          path: w\\target\\msi\\ballerina-*-windows-x64.msi\n      - name: Install Ballerina msi\n        run: msiexec /i w\\target\\msi\\ballerina-${{ needs.build-distribution.outputs.project-version }}-windows-x64.msi /quiet /qr\n        shell: cmd\n      - name: Update Installer Test Configs\n        run: |\n          set DISPLAY_TEXT=${{ needs.build-distribution.outputs.short-version }}\n          set SWAN_LAKE_LATEST_VERSION=swan-lake-%DISPLAY_TEXT%\n          set SPEC_VERSION=${{ needs.build-lang.outputs.spec-version }}\n          perl -pi -e \"s/^\\s*swan-lake-latest-version-display-text=.*/swan-lake-latest-version-display-text=%DISPLAY_TEXT%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-version=.*/swan-lake-latest-version=%SWAN_LAKE_LATEST_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n          perl -pi -e \"s/^\\s*swan-lake-latest-spec-version=.*/swan-lake-latest-spec-version=%SPEC_VERSION%/\" ballerina-distribution/ballerina-test-automation/gradle.properties\n        shell: cmd\n      - name: Run Installer Tests\n        working-directory: .\\ballerina-distribution\\ballerina-test-automation\\installer-test\n        run: |\n          $env:Path += \";C:\\Program Files\\Ballerina\\bin\"\n          .\\..\\gradlew build --stacktrace -scan --console=plain --no-daemon -DballerinaInstalled=true\n        env:\n          TEST_MODE_ACTIVE: true\n\n  nballerina-build:\n    needs: build-distribution\n    name: Build nBallerina\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n      - name: Set up JDK 11\n        uses: actions/setup-java@v2\n        with:\n          distribution: 'adopt'\n          java-version: '11'\n      - name: Install Python Packages\n        run: |\n          pip install requests\n          pip install retry\n          pip install PyGithub\n          pip install cryptography\n          pip install httplib2\n      - name: Clone nBallerina repository\n        run: git clone https://github.com/ballerina-platform/nballerina.git\n      - name: Switch to last working nBallerina commit\n        run: git checkout jballerina-2201.6\n        working-directory: nballerina\n      - name: Download Linux Deb Installer\n        uses: actions/download-artifact@v2\n        with:\n          name: Linux Installer deb\n      - name: Install Ballerina DEB\n        run: sudo dpkg -i ballerina-*-linux-x64.deb\n      - name: Run compiler tests\n        working-directory: nballerina/compiler\n        run: bal test --disable-groups private\n      - name: Notify Build Failure\n        if: ${{ failure() }}\n        shell: bash\n        run: python3 dependabot/notify_full_build_failure.py nballerina $PATCH_LEVEL\n        env:\n          CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}\n          CHAT_KEY: ${{ secrets.NOTIFICATIONS_CHAT_KEY }}\n          CHAT_TOKEN: ${{ secrets.NOTIFICATIONS_CHAT_TOKEN }}\n          ENV_USER_ENCRYPTION_KEY: ${{secrets.USER_ENCRYPTION_KEY}}\n          BALLERINA_BOT_TOKEN: ${{ secrets.BALLERINA_BOT_TOKEN }}\n", "state": "disabled_manually", "repository": "ballerina-platform/ballerina-release"}
{"mined_at": "2024-07-15T17:53:52.809069", "created_at": "2021-02-14T15:21:35+01:00", "updated_at": "2024-07-15T03:04:36+02:00", "name": "Weekly global Tool Linting and Tests", "path": ".github/workflows/ci.yaml", "contents": "name: Weekly global Tool Linting and Tests\non:\n  schedule:\n    # Run at midnight every monday\n    - cron: '0 0 * * 1'\n  repository_dispatch:\n    types: [run-all-tool-tests-command]\nenv:\n  GALAXY_FORK: galaxyproject\n  GALAXY_BRANCH: release_22.05\n  MAX_CHUNKS: 40\njobs:\n  setup:\n    name: Setup cache and determine changed repositories\n    if: ${{ github.repository_owner == 'drosofff' }}\n    runs-on: ubuntu-latest\n    outputs:\n      galaxy-head-sha: ${{ steps.get-galaxy-sha.outputs.galaxy-head-sha }}\n      fork: ${{ steps.get-fork-branch.outputs.fork }}\n      branch: ${{ steps.get-fork-branch.outputs.branch }}\n      repository-list: ${{ steps.discover.outputs.repository-list }}\n      chunk-count: ${{ steps.discover.outputs.chunk-count }}\n      chunk-list: ${{ steps.discover.outputs.chunk-list }}\n    strategy:\n      matrix:\n        python-version: ['3.7']\n    steps:\n    - name: Add reaction\n      if: ${{ github.event.client_payload.slash_command.command == 'run-all-tool-tests' }}\n      uses: peter-evans/create-or-update-comment@v2\n      with:\n        token: ${{ secrets.PAT }}\n        repository: ${{ github.event.client_payload.github.payload.repository.full_name }}\n        comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n        reaction-type: hooray\n    - name: Set galaxy fork and branch\n      id: get-fork-branch\n      run: |\n        TMP=\"${{ github.event.client_payload.slash_command.args.named.fork }}\"\n        echo \"fork=${TMP:-$GALAXY_FORK}\" >> $GITHUB_OUTPUT\n        TMP=\"${{ github.event.client_payload.slash_command.args.named.branch }}\"\n        echo \"branch=${TMP:-$GALAXY_BRANCH}\" >> $GITHUB_OUTPUT\n    - name: Determine latest commit in the Galaxy repo\n      id: get-galaxy-sha\n      run: echo \"galaxy-head-sha=$(git ls-remote https://github.com/${{ steps.get-fork-branch.outputs.fork }}/galaxy refs/heads/${{ steps.get-fork-branch.outputs.branch }} | cut -f1)\" >> $GITHUB_OUTPUT\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v3\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ steps.get-galaxy-sha.outputs.galaxy-head-sha }}\n    # Install the `wheel` package so that when installing other packages which\n    # are not available as wheels, pip will build a wheel for them, which can be cached.\n    - name: Install wheel\n      run: pip install wheel\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 1\n    - name: Fake a Planemo run to update cache and determine commit range, repositories, and chunks\n      uses: galaxyproject/planemo-ci-action@v1\n      id: discover\n      with:\n        create-cache: ${{ steps.cache-pip.outputs.cache-hit != 'true' || steps.cache-planemo.outputs.cache-hit != 'true' }}\n        galaxy-fork: ${{ steps.get-fork-branch.outputs.fork }}\n        galaxy-branch: ${{ steps.get-fork-branch.outputs.branch }}\n        max-chunks: ${{ env.MAX_CHUNKS }}\n        python-version: ${{ matrix.python-version }}\n    - name: Show repository list\n      run: echo '${{ steps.discover.outputs.repository-list }}'\n    - name: Show chunks\n      run: |\n        echo 'Using ${{ steps.discover.outputs.chunk-count }} chunks (${{ steps.discover.outputs.chunk-list }})'\n\n  test:\n    name: Test tools\n    # This job runs on Linux\n    runs-on: ubuntu-latest\n    needs: setup\n    if: ${{ needs.setup.outputs.repository-list != '' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        chunk: ${{ fromJson(needs.setup.outputs.chunk-list) }}\n        python-version: ['3.7']\n    services:\n      postgres:\n        image: postgres:11\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n    steps:\n    # checkout the repository\n    # and use it as the current working directory\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 1\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v3\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Get number of CPU cores\n      uses: SimenB/github-actions-cpu-cores@v1\n      id: cpu-cores\n    - name: Planemo test\n      uses: galaxyproject/planemo-ci-action@v1\n      id: test\n      with:\n        mode: test\n        repository-list: ${{ needs.setup.outputs.repository-list }}\n        galaxy-fork: ${{ needs.setup.outputs.fork }}\n        galaxy-branch: ${{ needs.setup.outputs.branch }}\n        chunk: ${{ matrix.chunk }}\n        chunk-count: ${{ needs.setup.outputs.chunk-count }}\n        galaxy-slots: ${{ steps.cpu-cores.outputs.count }}\n        # Limit each test to 15 minutes\n        test_timeout: 900\n    - uses: actions/upload-artifact@v3\n      with:\n        name: 'Tool test output ${{ matrix.chunk }}'\n        path: upload\n\n  # - combine the results of the test chunks (which will never fail due\n  #   to `|| true`) and create a global test report as json and html which\n  #   is provided as artifact\n  # - check if any tool test actually failed (by lookup in the combined json)\n  #   and fail this step if this is the case\n  combine_outputs:\n    name: Combine chunked test results\n    needs: [setup, test]\n    strategy:\n      matrix:\n        python-version: ['3.7']\n    # This job runs on Linux\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/download-artifact@v3\n      with:\n        path: artifacts\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v3\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Combine outputs\n      uses: galaxyproject/planemo-ci-action@v1\n      id: combine\n      with:\n        mode: combine\n        html-report: true\n    - uses: actions/upload-artifact@v3\n      with:\n        name: 'All tool test results'\n        path: upload\n    - name: Create URL to the run output\n      if: ${{ github.event.client_payload.slash_command.command == 'run-all-tool-tests' }}\n      id: vars\n      run: echo \"run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\" >> $GITHUB_OUTPUT\n\n    - name: Create comment\n      if: ${{ github.event.client_payload.slash_command.command == 'run-all-tool-tests' }}\n      uses: peter-evans/create-or-update-comment@v2\n      with:\n        token: ${{ secrets.PAT }}\n        repository: ${{ github.event.client_payload.github.payload.repository.full_name }}\n        issue-number: ${{ github.event.client_payload.github.payload.issue.number }}\n        body: |\n          Summary:\n\n          ${{ steps.combine.outputs.statistics }}\n\n          [Find all tool test results here][1]\n\n          [1]: ${{ steps.vars.outputs.run-url }}\n    - name: Check outputs\n      uses: galaxyproject/planemo-ci-action@v1\n      id: check\n      with:\n        mode: check\n", "state": "active", "repository": "artbio/tools-artbio"}
{"mined_at": "2024-07-15T17:53:54.042060", "created_at": "2021-02-14T00:45:07+01:00", "updated_at": "2021-02-14T00:45:07+01:00", "name": "Galaxy Tool Linting and Tests for push and PR", "path": ".github/workflows/pr.yaml", "contents": "name: Galaxy Tool Linting and Tests for push and PR\non:\n  pull_request:\n    paths-ignore:\n      - '.github/**'\n      - 'deprecated/**'\n      - '*'\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - '.github/**'\n      - 'deprecated/**'\n      - '*'\nenv:\n  GALAXY_FORK: galaxyproject\n  GALAXY_BRANCH: release_23.2\n  MAX_CHUNKS: 4\n  MAX_FILE_SIZE: 1M\nconcurrency:\n  # Group runs by PR, but keep runs on the default branch separate\n  # because we do not want to cancel ToolShed uploads\n  group: pr-${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && github.run_number || github.ref }}\n  cancel-in-progress: true\njobs:\n  # the setup job does two things:\n  # 1. cache the pip cache and .planemo\n  # 2. determine the list of changed repositories\n  # it produces one artifact which contains\n  # - a file with the latest SHA from the chosen branch of the Galaxy repo\n  # - a file containing the list of changed repositories\n  # which are needed in subsequent steps.\n  setup:\n    name: Setup cache and determine changed repositories\n    runs-on: ubuntu-latest\n    outputs:\n      galaxy-head-sha: ${{ steps.get-galaxy-sha.outputs.galaxy-head-sha }}\n      repository-list: ${{ steps.discover.outputs.repository-list }}\n      tool-list: ${{ steps.discover.outputs.tool-list }}\n      chunk-count: ${{ steps.discover.outputs.chunk-count }}\n      chunk-list: ${{ steps.discover.outputs.chunk-list }}\n      commit-range: ${{ steps.discover.outputs.commit-range }}\n    strategy:\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - name: Print github context properties\n      run: |\n        echo 'event: ${{ github.event_name }}'\n        echo 'sha: ${{ github.sha }}'\n        echo 'ref: ${{ github.ref }}'\n        echo 'head_ref: ${{ github.head_ref }}'\n        echo 'base_ref: ${{ github.base_ref }}'\n        echo 'event.before: ${{ github.event.before }}'\n        echo 'event.after: ${{ github.event.after }}'\n    - name: Determine latest commit in the Galaxy repo\n      id: get-galaxy-sha\n      run: echo \"galaxy-head-sha=$(git ls-remote https://github.com/${{ env.GALAXY_FORK }}/galaxy refs/heads/${{ env.GALAXY_BRANCH }} | cut -f1)\" >> $GITHUB_OUTPUT\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ steps.get-galaxy-sha.outputs.galaxy-head-sha }}\n    - name: Cache .planemo\n      uses: actions/cache@v4\n      id: cache-planemo\n      with:\n        path: ~/.planemo\n        key: planemo_cache_py_${{ matrix.python-version }}_gxy_${{ steps.get-galaxy-sha.outputs.galaxy-head-sha }}\n    # Install the `wheel` package so that when installing other packages which\n    # are not available as wheels, pip will build a wheel for them, which can be cached.\n    - name: Install wheel\n      run: pip install wheel\n    - name: Install flake8\n      run: pip install flake8 flake8-import-order\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Fake a Planemo run to update cache and determine commit range, repositories, and chunks\n      uses: galaxyproject/planemo-ci-action@v1\n      id: discover\n      with:\n        create-cache: ${{ steps.cache-pip.outputs.cache-hit != 'true' || steps.cache-planemo.outputs.cache-hit != 'true' }}\n        galaxy-fork: ${{ env.GALAXY_FORK }}\n        galaxy-branch: ${{ env.GALAXY_BRANCH }}\n        max-chunks: ${{ env.MAX_CHUNKS }}\n        python-version: ${{ matrix.python-version }}\n    - name: Show commit range\n      run: echo '${{ steps.discover.outputs.commit-range }}'\n    - name: Show repository list\n      run: echo '${{ steps.discover.outputs.repository-list }}'\n    - name: Show tool list\n      run: echo '${{ steps.discover.outputs.tool-list }}'\n    - name: Show chunks\n      run: |\n        echo 'Using ${{ steps.discover.outputs.chunk-count }} chunks (${{ steps.discover.outputs.chunk-list }})'\n\n  # Planemo lint the changed repositories\n  lint:\n    name: Lint tool-list\n    needs: setup\n    if: ${{ needs.setup.outputs.repository-list != '' || needs.setup.outputs.tool-list != '' }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n\n    - name: Set fail level for pull request\n      if: ${{ github.event_name == 'pull_request' }}\n      run:\n        echo \"FAIL_LEVEL=warn\" >> \"$GITHUB_ENV\"\n    - name: Set fail level for merge\n      if: ${{ github.event_name != 'pull_request' }}\n      run:\n        echo \"FAIL_LEVEL=error\" >> \"$GITHUB_ENV\"\n    - name: Planemo lint\n      uses: galaxyproject/planemo-ci-action@v1\n      id: lint\n      with:\n        mode: lint\n        fail-level: ${{ env.FAIL_LEVEL }}\n        repository-list: ${{ needs.setup.outputs.repository-list }}\n        tool-list: ${{ needs.setup.outputs.tool-list }}\n    - uses: actions/upload-artifact@v4\n      if: ${{ failure() }}\n      with:\n        name: 'Tool linting output'\n        path: lint_report.txt\n\n  # flake8 of Python scripts in the changed repositories\n  flake8:\n    name: Lint Python scripts\n    needs: setup\n    if: ${{ github.event_name == 'pull_request' && needs.setup.outputs.repository-list != '' }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Install flake8\n      run: pip install flake8 flake8-import-order\n    - name: Flake8\n      run: echo '${{ needs.setup.outputs.repository-list }}' | xargs -d '\\n' flake8 --output-file pylint_report.txt --tee\n    - uses: actions/upload-artifact@v4\n      if: ${{ failure() }}\n      with:\n        name: 'Python linting output'\n        path: pylint_report.txt\n\n  lintr:\n    name: Lint R scripts\n    needs: setup\n    if: ${{ needs.setup.outputs.repository-list != '' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n        r-version: ['release']\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - uses: r-lib/actions/setup-r@v2\n      with:\n        r-version: ${{ matrix.r-version }}\n    - name: Cache R packages\n      uses: actions/cache@v4\n      with:\n        path: ${{ env.R_LIBS_USER }}\n        key: r_cache_${{ matrix.os }}_${{ matrix.r-version }}\n    - name: Install non-R lintr dependencies\n      run: sudo apt-get install libcurl4-openssl-dev\n    - name: Install lintr\n      run: |\n        install.packages('remotes')\n        remotes::install_cran(\"lintr\")\n      shell: Rscript {0}\n    - name: Save repositories to file\n      run: echo '${{ needs.setup.outputs.repository-list }}' > repository_list.txt\n    - name: lintr\n      run: |\n        library(lintr)\n        linters <- linters_with_defaults(indentation_linter(indent = 4L), line_length_linter = NULL, cyclocomp_linter = NULL, object_usage_linter = NULL, object_name_linter = NULL)\n        con <- file(\"repository_list.txt\", \"r\")\n        status <- 0\n        while (TRUE) {\n          repo <- readLines(con, n = 1)\n          if (length(repo) == 0) {\n             break\n          }\n          lnt <- lint_dir(repo, relative_path=T, linters=linters)\n          if (length(lnt) > 0) {\n            status <- 1\n            for (l in lnt) {\n              rel_path <- paste(repo, l$filename, sep=\"/\")\n              write(paste(paste(rel_path, l$line_number, l$column_number, sep=\":\"), l$message, paste(\"(\", l$line, \")\")), stderr())\n              write(paste(paste(rel_path, l$line_number, l$column_number, sep=\":\"), l$message, paste(\"(\", l$line, \")\")), \"rlint_report.txt\", append=TRUE)\n            }\n          }\n        }\n        quit(status = status)\n      shell: Rscript {0}\n    - uses: actions/upload-artifact@v4\n      if: ${{ failure() }}\n      with:\n        name: 'R linting output'\n        path: rlint_report.txt\n\n  file_sizes:\n    name: Check file sizes\n    needs: setup\n    if: ${{ github.event_name == 'pull_request' && needs.setup.outputs.repository-list != '' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Check file sizes\n      run: |\n        touch file_size_report.txt\n        git diff --diff-filter=d --name-only ${{ needs.setup.outputs.commit-range }} > git.diff\n        while read line; do\n          find \"$line\" -type f -size +${{ env.MAX_FILE_SIZE }} >> file_size_report.txt\n        done < git.diff\n        if [[ -s file_size_report.txt ]]; then\n          echo \"Files larger than ${{ env.MAX_FILE_SIZE }} found\"\n          cat file_size_report.txt\n          exit 1\n        fi\n    - uses: actions/upload-artifact@v4\n      if: ${{ failure() }}\n      with:\n        name: 'File size report'\n        path: file_size_report.txt\n\n  # Planemo test the changed repositories, each chunk creates an artifact\n  # containing HTML and JSON reports for the executed tests\n  test:\n    name: Test tools\n    needs: setup\n    if: ${{ needs.setup.outputs.repository-list != '' }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        chunk: ${{ fromJson(needs.setup.outputs.chunk-list) }}\n        python-version: ['3.11']\n    services:\n      postgres:\n        image: postgres:11\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Cache .planemo\n      uses: actions/cache@v4\n      id: cache-planemo\n      with:\n        path: ~/.planemo\n        key: planemo_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Get number of CPU cores\n      uses: SimenB/github-actions-cpu-cores@v2\n      id: cpu-cores\n    - name: Clean dotnet folder for space\n      run: rm -Rf /usr/share/dotnet\n    - name: Planemo test\n      uses: galaxyproject/planemo-ci-action@v1\n      id: test\n      with:\n        mode: test\n        repository-list: ${{ needs.setup.outputs.repository-list }}\n        galaxy-fork: ${{ env.GALAXY_FORK }}\n        galaxy-branch: ${{ env.GALAXY_BRANCH }}\n        chunk: ${{ matrix.chunk }}\n        chunk-count: ${{ needs.setup.outputs.chunk-count }}\n        galaxy-slots: ${{ steps.cpu-cores.outputs.count }}\n        # Limit each test to 15 minutes\n        test_timeout: 1800\n    - uses: actions/upload-artifact@v4\n      with:\n        name: 'Tool test output ${{ matrix.chunk }}'\n        path: upload\n\n  # - combine the results of the test chunks (which will never fail due\n  #   to `|| true`) and create a global test report as json and html which\n  #   is provided as artifact\n  # - check if any tool test actually failed (by lookup in the combined json)\n  #   and fail this step if this is the case\n  combine_outputs:\n    name: Combine chunked test results\n    needs: [setup, test]\n    if: ${{ always() && needs.setup.outputs.repository-list != '' }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        path: artifacts\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Combine outputs\n      uses: galaxyproject/planemo-ci-action@v1\n      id: combine\n      with:\n        mode: combine\n        html-report: true\n        markdown-report: true\n    - uses: actions/upload-artifact@v4\n      with:\n        name: 'All tool test results'\n        path: upload\n    - run: cat upload/tool_test_output.md >> $GITHUB_STEP_SUMMARY\n    - name: Check outputs\n      uses: galaxyproject/planemo-ci-action@v1\n      id: check\n      with:\n        mode: check\n    - name: Check if all test chunks succeeded\n      run: |\n        NFILES=$(ls artifacts/ | grep \"Tool test output\" | wc -l)\n        if [[ \"${{ needs.setup.outputs.chunk-count }}\" != \"$NFILES\" ]]; then\n          exit 1\n        fi\n\n  # deploy the tools to the toolsheds (first TTS for testing)\n  deploy:\n    name: Deploy\n    needs: [setup, lint, combine_outputs]\n    if: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' ) }} # && github.repository_owner == 'drosofff'\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Deploy on toolshed\n      uses: galaxyproject/planemo-ci-action@v1\n      with:\n        mode: deploy\n        repository-list: ${{ needs.setup.outputs.repository-list }}\n        shed-target: toolshed\n        shed-key: ${{ secrets.TS_API_KEY }}\n\n  determine-success:\n    name: Check workflow success\n    needs: [setup, lint, flake8, lintr, file_sizes, combine_outputs]\n    if: ${{ always() && github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main' }}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check tool lint status\n      if: ${{ needs.lint.result != 'success' && needs.flake8.result != 'skipped' }}\n      run: exit 1\n    - name: Indicate Python script lint status\n      if: ${{ needs.flake8.result != 'success' && needs.flake8.result != 'skipped' }}\n      run: exit 1\n    - name: Indicate R script lint status\n      if: ${{ needs.lintr.result != 'success' && needs.lintr.result != 'skipped' }}\n      run: exit 1\n    - name: Indicate file size check status\n      if: ${{ needs.file_sizes.result != 'success' && needs.file_sizes.result != 'skipped' }}\n      run: exit 1\n    - name: Check tool test status\n      if: ${{ needs.combine_outputs.result != 'success' && needs.combine_outputs.result != 'skipped' }}\n      run: exit 1\n", "state": "active", "repository": "artbio/tools-artbio"}
{"mined_at": "2024-07-15T17:53:56.067084", "created_at": "2021-03-04T20:17:59+01:00", "updated_at": "2021-03-04T20:17:59+01:00", "name": "Changelogger", "path": ".github/workflows/changelogger.yml", "contents": "name: Changelogger\n\non:\n  pull_request:\n    types: [opened]\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n    steps:      \n      - name: Checkout repo\n        uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Iterate CHANGELOG\n        run: |\n          python .github/scripts/changelogger.py\n        \n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          token: ${{ github.token }}\n          title: \"docs(changelog): iterate changelog version\"\n          commit-message: \"docs(changelog): iterate changelog version\"\n          branch: docs/iterate_changelog\n          delete-branch: true\n          base: dev\n", "state": "active", "repository": "tihlde/lepton"}
{"mined_at": "2024-07-15T17:53:57.207422", "created_at": "2021-04-26T21:01:27+02:00", "updated_at": "2021-05-06T16:00:43+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\n# Enable Buildkit and let compose use it to speed up image building\nenv:\n  DOCKER_BUILDKIT: 1\n  COMPOSE_DOCKER_CLI_BUILD: 1\n\non:\n  pull_request:\n    branches:\n      - dev\n      - master\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Checkout Code Repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: Install flake8\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8\n\n      - name: Lint with flake8\n        run: flake8 app\n  test:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Checkout Code Repository\n        uses: actions/checkout@v2\n\n      - name: Set up .env file\n        run: |  \n          touch .env\n          echo \"AZURE_STORAGE_CONNECTION_STRING=${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}\" >> .env\n          echo \"VIPPS_MERCHANT_SERIAL_NUMBER=${{ secrets.VIPPS_MERCHANT_SERIAL_NUMBER }}\" >> .env\n \n      - name: Build the Stack\n        run:  docker-compose build\n\n      - name: Run the Stack\n        run:  docker-compose up -d\n\n      - name: Make DB Migrations\n        run:  docker-compose run --rm web python manage.py migrate\n\n      - name: Run Django Tests\n        run:  docker-compose run --rm web pytest --cov=app\n\n      - name: Tear down the Stack\n        run:  docker-compose down\n\n  check-migrations:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Checkout Code Repository\n        uses: actions/checkout@v2\n\n      - name: Build the Stack\n        run:  docker-compose build\n\n      - name: Run the Stack\n        run:  docker-compose up -d\n\n      - name: Check for unstaged migrations\n        run:  docker-compose run --rm web python manage.py makemigrations --check --no-input\n\n      - name: Tear down the Stack\n        run:  docker-compose down", "state": "active", "repository": "tihlde/lepton"}
{"mined_at": "2024-07-15T17:53:58.243629", "created_at": "2021-03-22T11:12:04+01:00", "updated_at": "2021-12-28T18:40:53+01:00", "name": "Deploy to Azure development", "path": ".github/workflows/deploy_dev.yml", "contents": "name: Deploy to Azure development\n\non:\n  push:\n    branches:\n      - dev\n  workflow_dispatch:\n\njobs:\n  deploy:\n    uses: TIHLDE/Lepton/.github/workflows/deploy_to_azure.yml@dev\n    with:\n      registry_name: leptonregistrydev\n    secrets:\n      registry_username: ${{ secrets.ACI_DEV_USERNAME }}\n      registry_password: ${{ secrets.ACI_DEV_PASSWORD }}\n", "state": "active", "repository": "tihlde/lepton"}
{"mined_at": "2024-07-15T17:53:59.261585", "created_at": "2021-04-26T17:35:40+02:00", "updated_at": "2021-12-28T19:20:19+01:00", "name": "Deploy to Azure production", "path": ".github/workflows/deploy_prod.yml", "contents": "name: Deploy to Azure production\n\non:\n  push:\n    branches:\n      - master\n  workflow_dispatch:\n\njobs:\n  deploy:\n    uses: TIHLDE/Lepton/.github/workflows/deploy_to_azure.yml@master\n    with:\n      registry_name: leptonregistrypro\n    secrets:\n      registry_username: ${{ secrets.ACI_PROD_USERNAME }}\n      registry_password: ${{ secrets.ACI_PROD_PASSWORD }}\n", "state": "active", "repository": "tihlde/lepton"}
{"mined_at": "2024-07-15T17:54:00.386848", "created_at": "2021-12-28T19:20:19+01:00", "updated_at": "2021-12-28T19:20:19+01:00", "name": "Deploy to Azure", "path": ".github/workflows/deploy_to_azure.yml", "contents": "\nname: Deploy to Azure\n\non:\n  workflow_call:\n    inputs:\n      registry_name:\n        required: true\n        type: string\n    secrets:\n      registry_username:\n        required: true\n      registry_password:\n        required: true\n    \njobs:\n  build-and-deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n\n    - uses: azure/docker-login@v1\n      with:\n        login-server: https://${{ inputs.registry_name }}.azurecr.io/\n        username: ${{ secrets.registry_username }}\n        password: ${{ secrets.registry_password }}\n\n    - name: Set up Docker Buildx\n      id: buildx\n      uses: docker/setup-buildx-action@v3\n\n    - name: Cache Docker layers\n      uses: actions/cache@v4\n      with:\n        path: /tmp/.buildx-cache\n        key: ${{ runner.os }}-buildx-${{ github.sha }}\n        restore-keys: |\n          ${{ runner.os }}-buildx-\n\n    - name: Build and push\n      id: docker_build\n      uses: docker/build-push-action@v5\n      with:\n        context: ./\n        file: ./compose/Dockerfile\n        builder: ${{ steps.buildx.outputs.name }}\n        push: true\n        tags: ${{ inputs.registry_name }}.azurecr.io/lepton:latest\n        cache-from: type=local,src=/tmp/.buildx-cache\n        cache-to: type=local,dest=/tmp/.buildx-cache", "state": "active", "repository": "tihlde/lepton"}
{"mined_at": "2024-07-15T17:54:01.512905", "created_at": "2024-01-08T19:22:00+01:00", "updated_at": "2024-01-19T12:27:03+01:00", "name": "Validate Infrastructure", "path": ".github/workflows/terraform.yml", "contents": "name: Validate Infrastructure\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - dev\n      - master\n\njobs:\n  checkov:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      \n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Checkov GitHub Action\n        uses: bridgecrewio/checkov-action@v12\n        with:\n          # This will add both a CLI output to the console and create a results.sarif file\n          output_format: sarif\n          framework: terraform\n          soft_fail: true\n          output_file_path: results.sarif\n        \n      - name: Upload SARIF file\n        uses: github/codeql-action/upload-sarif@v2\n        \n        # Results are generated only on a success or failure\n        # this is required since GitHub by default won't run the next step\n        # when the previous one has failed. Security checks that do not pass will 'fail'.\n        # An alternative is to add `continue-on-error: true` to the previous step\n        # Or 'soft_fail: true' to checkov.\n        if: success() || failure()\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "tihlde/lepton"}
{"mined_at": "2024-07-15T17:54:02.495521", "created_at": "2023-02-15T14:38:29+01:00", "updated_at": "2023-02-15T14:38:29+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tihlde/lepton"}
{"mined_at": "2024-07-15T17:54:04.584352", "created_at": "2024-05-14T10:35:41+02:00", "updated_at": "2024-05-14T10:35:41+02:00", "name": "Greetings", "path": ".github/workflows/greetings.yaml", "contents": "name: Greetings\n\non: [issues]\n\njobs:\n  greeting:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n    - uses: actions/first-interaction@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        issue-message: \"Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.\"\n        pr-message: \"Welcome to Our repository.🎊 Thank you so much for taking the time to point this out.\"\n", "state": "active", "repository": "clueless-community/scrape-up"}
{"mined_at": "2024-07-15T17:54:05.685432", "created_at": "2023-10-06T15:59:50+02:00", "updated_at": "2023-10-06T15:59:50+02:00", "name": ".github/workflows/lint.yml", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "clueless-community/scrape-up"}
{"mined_at": "2024-07-15T17:54:06.697870", "created_at": "2024-06-06T18:41:52+02:00", "updated_at": "2024-06-06T18:41:52+02:00", "name": "Auto Comment on PR Merged", "path": ".github/workflows/pr_merged.yml", "contents": "name: Auto Comment on PR Merged\n\non:\n  pull_request_target:\n    types: [closed]\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.merged == true\n    steps:\n    - name: Add Comment to Pull Request\n      run: |\n        COMMENT=$(cat <<EOF\n        {\n          \"body\": \"Great work @${{ github.event.pull_request.user.login }} !! \\nDo not forget to \\n+ Share your contribution on socials and tag Clueless 🫂 \\n+ Give this repository a star ✨ \\n+ Follow Clueless Community on GitHub ✅\"\n        }\n        EOF\n        )\n        RESPONSE=$(curl -s -o response.json -w \"%{http_code}\" \\\n          -X POST \\\n          -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" \\\n          -H \"Accept: application/vnd.github.v3+json\" \\\n          https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments \\\n          -d \"$COMMENT\")\n        cat response.json\n        if [ \"$RESPONSE\" -ne 201 ]; then\n          echo \"Failed to add comment\"\n          exit 1\n        fi\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "clueless-community/scrape-up"}
{"mined_at": "2024-07-15T17:54:08.732415", "created_at": "2021-08-31T15:28:16+02:00", "updated_at": "2021-09-02T09:31:14+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main, release ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main, release ]\n  schedule:\n    - cron: '21 6 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:09.914520", "created_at": "2023-09-04T15:38:28+02:00", "updated_at": "2023-10-09T18:03:37+02:00", "name": "Python Integration tests", "path": ".github/workflows/python-integration-tests.yml", "contents": "# Runs integration tests on the package\n\nname: Python Integration tests\n\non:\n  pull_request:\n    branches: [main, test, develop]\n  workflow_dispatch:\n\nconcurrency:\n  group: \"integration-tests\"\n\njobs:\n  run-integration-tests:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Restore caches\n        uses: ./.github/actions/restore-pip-cache\n        with:\n          python-version: 3.11\n\n      - name: Run integration tests with pytest\n        env:\n          DQ_CLIENT_ID: ${{ secrets.DQ_CLIENT_ID }}\n          DQ_CLIENT_SECRET: ${{ secrets.DQ_CLIENT_SECRET }}\n        run: |\n          echo 'Run Integration tests'\n          python -m pytest -n 1 tests/integration/\n          echo 'Integration test complete'\n\n      - name: Test build settings\n        run: |\n          python -m pip install .[all] \n          python -c \"import macrosynergy; print(macrosynergy.__version__)\"\n", "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:11.039733", "created_at": "2023-09-04T15:38:28+02:00", "updated_at": "2023-10-10T23:53:28+02:00", "name": "Test Python package on Ubuntu", "path": ".github/workflows/python-unit-tests.yml", "contents": "name: Test Python package on Ubuntu\n\non:\n  pull_request:\n    branches: [test, develop]\n  workflow_dispatch:\n\njobs:\n  prepare-matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: set-matrix\n        run: |\n          FOLDERS=$(ls -d tests/unit/*/ | sed 's|tests/unit/||' | sed 's|/||' | jq -R -s -c 'split(\"\\n\")[:-1]')\n          echo \"Matrix: $FOLDERS\"\n          echo \"::set-output name=matrix::$FOLDERS\"\n\n  run-unit-tests:\n    needs: prepare-matrix\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        folder: ${{fromJson(needs.prepare-matrix.outputs.matrix)}}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Restore caches - Python 3.11\n        uses: ./.github/actions/restore-pip-cache\n        with:\n          python-version: 3.11\n\n      - name: Check for sys.path.append\n        run: |\n          bash .github/scripts/check_sys_path.sh\n\n      - name: Lint with flake8\n        run: |\n          flake8 --count --select=E9,F63,F7,F82 --show-source --exclude=./docs/**,./.github/scripts/*,./build/** --statistics\n          flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --exclude=./docs/**,./.github/scripts/*,./build/** --statistics\n\n      - name: Test with pytest for ${{ matrix.folder }}\n        run: |\n          python -m pytest ./tests/unit/${{ matrix.folder }}\n\n      - name: Upload reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: .coverage\n\n  run-unit-tests-success:\n    needs: run-unit-tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Notify on Failure\n        run: |\n          if [ ${{ job.status }} == 'failure' ]; then\n            echo \"Unit tests failed\"\n            exit 1\n          else\n            echo \"Unit tests passed\"\n          fi\n", "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:12.179535", "created_at": "2023-09-04T15:52:32+02:00", "updated_at": "2023-09-04T15:52:32+02:00", "name": "Test & Upload to PyPI", "path": ".github/workflows/python-pypi-upload.yml", "contents": "name: Test & Upload to PyPI\n\non:\n  release:\n    types: [published]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  pypi-upload:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest # can also use windows-latest\n    strategy:\n      matrix:\n        python-version: [3.11] # For multiple: [3.7, 3.8]\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install .[test]\n\n      - name: Lint with flake8\n        run: |\n          # Options: exluding docs, scripts and build folders. Also, treating certain errors as warnings.\n          flake8 --count --select=E9,F63,F7,F82 --show-source --exclude=./docs/**,./.github/scripts/*,./build/** --statistics\n          flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --exclude=./docs/**,./.github/scripts/*,./build/** --statistics\n\n      - name: Test with pytest\n        run: |\n          pytest -rEf tests/unit/\n      - name: Upload coverage reports to Codecov\n        run: |\n          curl -Os https://uploader.codecov.io/latest/linux/codecov\n          chmod +x codecov\n          ./codecov -t ${CODECOV_TOKEN}\n          \n        #NOTE: Codecov must be run before the integration tests\n      - name: Run integration tests with pytest\n        env:\n          DQ_CLIENT_ID: ${{ secrets.DQ_CLIENT_ID }}\n          DQ_CLIENT_SECRET: ${{ secrets.DQ_CLIENT_SECRET }}\n        run: |\n          echo 'Run Integration tests'\n          pytest tests/integration/\n          echo 'Integration test complete'\n\n      - name: Install pypa/build\n        run: python -m pip install build --user\n\n      - name: Build a binary wheel and a source tarball\n        run: python -m build --sdist --wheel --outdir dist/ .\n\n      - name: Check and Upload to PyPI\n        run: |\n          pip install twine\n          twine check dist/*\n          twine upload dist/*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release\n", "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:13.160396", "created_at": "2023-09-04T15:52:32+02:00", "updated_at": "2023-09-04T15:52:32+02:00", "name": "Test & Upload to TestPyPI", "path": ".github/workflows/python-test-pypi-upload.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Test & Upload to TestPyPI\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push to the test branch. Merge events also trigger the workflow, as they trigger a push event.\n  push:\n    branches: [test]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  testpypi-upload:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest # can also use windows-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Install dependencies\n        run: |\n          pip install .[test]\n\n      - name: Lint with flake8\n        run: |\n          # Options: exluding docs, scripts and build folders. Also, treating certain errors as warnings.\n          flake8 --count --select=E9,F63,F7,F82 --show-source --exclude=./docs/**,./.github/scripts/*,./build/** --statistics\n          flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --exclude=./docs/**,./.github/scripts/*,./build/** --statistics\n\n      - name: Test with pytest\n        run: |\n          # Options: --ignore=tests/specific.py --ignore-glob=tests/ignore-pattern\n          pytest tests/unit/\n\n      - name: Run integration tests with pytest\n        env:\n          DQ_CLIENT_ID: ${{ secrets.DQ_CLIENT_ID }}\n          DQ_CLIENT_SECRET: ${{ secrets.DQ_CLIENT_SECRET }}\n        run: |\n          echo 'Run Integration tests'\n          pytest tests/integration/\n          echo 'Integration test complete'\n\n      - name: Install pypa/build\n        run: python -m pip install build --user\n\n      - name: Build a binary wheel and a source tarball\n        run: python -m build --sdist --wheel --outdir dist/ .\n\n      - name: Check and Upload to TestPyPI\n        run: |\n          pip install twine\n          twine check dist/*\n          # twine upload -r testpypi dist/*\n          # push blocked for now\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          TWINE_REPOSITORY: testpypi\n# thank you arnu515, https://dev.to/arnu515/create-a-pypi-pip-package-test-it-and-publish-it-using-github-actions-part-2-1o83\n\n# also look at https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions\n\n# https://github.com/actions/setup-python , specifies using actions/setup-python@v5\n\n# https://twine.readthedocs.io/en/stable/#using-twine\n", "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:14.313773", "created_at": "2023-09-04T15:52:32+02:00", "updated_at": "2024-04-02T13:11:56+02:00", "name": "Test Python package on Ubuntu - Release", "path": ".github/workflows/python-unit-tests-release.yml", "contents": "# This is a workflow in for running the package tests for the macrosynergy package when doing a release to PyPI.\n# It runs on Ubuntu, Windows and MacOS, for Python 3.8, 3.9, 3.10 and 3.11.\nname: Test Python package on Ubuntu - Release\n\non:\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n\njobs:\n  prepare-matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - id: set-matrix\n        run: |\n          FOLDERS=$(ls -d tests/unit/*/ | sed 's|tests/unit/||' | sed 's|/||' | jq -R -s -c 'split(\"\\n\")[:-1]')\n          echo \"Matrix: $FOLDERS\"\n          echo \"::set-output name=matrix::$FOLDERS\"\n\n  run-unit-tests-release:\n    needs: prepare-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        folder: ${{fromJson(needs.prepare-matrix.outputs.matrix)}}\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          pip install .[test]\n\n      - name: Lint with flake8\n        run: |\n          flake8 --count --select=E9,F63,F7,F82 --show-source --exclude=./docs/**,./.github/scripts/*,./build/** --statistics\n          flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --exclude=./docs/**,./.github/scripts/*,./build/** --statistics\n\n      - name: Test with pytest in ${{ matrix.folder }}\n        run: |\n          python -m pytest tests/unit/${{ matrix.folder }}\n\n      - name: Upload reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: .coverage\n\n  run-unit-tests-release-success:\n    needs: run-unit-tests-release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Notify on failure\n        run: |\n          if [ ${{ job.status }} == 'failure' ]; then\n            echo \"Unit tests failed\"\n            exit 1\n          else\n            echo \"Unit tests passed\"\n          fi\n\n  test-build-settings-matrix:\n    needs: run-unit-tests-release-success\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Create and activate virtual environment\n        run: |\n          python -m venv venv\n          source venv/bin/activate\n\n      - name: Test build settings\n        run: |\n          pip install .[all]\n          python -c \"import macrosynergy; print(macrosynergy.__version__)\"\n\n  test-build-settings-matrix-success:\n    needs: test-build-settings-matrix\n    runs-on: ubuntu-latest\n    steps:\n      - name: Notify on failure\n        run: |\n          if [ ${{ job.status }} == 'failure' ]; then\n            echo \"Build settings test failed\"\n            exit 1\n          else\n            echo \"Build settings test passed\"\n          fi\n", "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:15.309779", "created_at": "2023-10-13T11:19:04+02:00", "updated_at": "2023-10-13T12:32:05+02:00", "name": "Create release notes on PR", "path": ".github/workflows/github-pr-release-notes.yml", "contents": null, "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:16.318994", "created_at": "2023-10-16T10:18:54+02:00", "updated_at": "2023-10-16T10:18:54+02:00", "name": "Update Cache on Develop", "path": ".github/workflows/github-update-cache.yml", "contents": "name: Update Cache on Develop\n\non:\n  push:\n    branches:\n      - \"develop\"\n\njobs:\n  # This workflow builds the Python package dependencies every time that the requirements\n  # files are modified and store it in cache to be accessible by all the CI in all other\n  # branches.\n  update-cache:\n    name: Update/Create cache\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Restore caches\n        uses: ./.github/actions/restore-pip-cache\n        with:\n          python-version: 3.11\n", "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:17.402216", "created_at": "2023-10-16T18:21:26+02:00", "updated_at": "2023-10-16T19:43:14+02:00", "name": "PR Quality Control", "path": ".github/workflows/github-pr-tests.yml", "contents": "# Ensures that a pull request title complies to quality control standards, as well as\n# some custom directives as specified by the authors.\n\nname: PR Quality Control\n\non:\n  # Runs on pushes targeting the default branch\n  pull_request:\n    branches: [main, test, develop]\n    types: [opened, synchronize, reopened, edited, ready_for_review]\n\n# specify concurrency to cancel pull_request run if a pull_request_review run has been triggered\nconcurrency:\n  group: pr\n\njobs:\n  check-pr:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Test PR\n        shell: bash\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PR_NUMBER: ${{ github.event.number }}\n        run: |\n          python .github/scripts/check_pr.py $PR_NUMBER\n", "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:18.418149", "created_at": "2023-10-26T10:32:30+02:00", "updated_at": "2023-10-30T10:45:34+01:00", "name": "PR Quality Control", "path": ".github/workflows/github-pr-review-tests.yml", "contents": null, "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:19.500924", "created_at": "2023-10-27T12:07:36+02:00", "updated_at": "2023-10-27T12:07:36+02:00", "name": "Test package changes to run with Academy notebooks", "path": ".github/workflows/academy-integration-test.yml", "contents": null, "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:20.491113", "created_at": "2023-11-06T13:00:19+01:00", "updated_at": "2023-11-06T13:00:19+01:00", "name": "Test python package on Academy", "path": ".github/workflows/python-academy-tests.yml", "contents": null, "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:21.519119", "created_at": "2023-12-18T17:56:37+01:00", "updated_at": "2023-12-18T17:56:37+01:00", "name": ".github/workflows/test-notebooks.yml", "path": ".github/workflows/test-notebooks.yml", "contents": null, "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:22.534654", "created_at": "2023-12-22T21:53:48+01:00", "updated_at": "2023-12-23T00:01:48+01:00", "name": "Sphinx documentation - check build", "path": ".github/workflows/python-test-sphinx-build.yml", "contents": "name: Sphinx documentation - check build\n\non:\n  # Runs on pushes targeting the default branch\n  pull_request:\n    branches: [main, test, develop]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  # Single deploy job since we're just deploying\n  build-docs-test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Install dependencies\n        run: |\n          pip install flake8\n          pip install .[docs]\n\n      - name: Run Flake8\n        run: |\n          # Options: exluding docs, scripts and build folders. Also, treating certain errors as warnings.\n          flake8 --count --select=E9,F63,F7,F82 --show-source --exclude=./docs/**,./.github/scripts/*,./build/** --statistics\n          flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --exclude=./docs/**,./.github/scripts/*,./build/** --statistics\n\n      - name: Build docs\n        run: |\n          python docs/gen.py\n", "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:23.517368", "created_at": "2024-02-01T12:07:14+01:00", "updated_at": "2024-02-01T12:07:14+01:00", "name": "testing-self-hosted", "path": ".github/workflows/testing-gh-runner.yml", "contents": null, "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:24.542504", "created_at": "2024-02-01T14:59:45+01:00", "updated_at": "2024-02-29T15:21:45+01:00", "name": "Run Notebooks", "path": ".github/workflows/run-notebooks.yml", "contents": "name: Run Notebooks\n\non:\n  workflow_dispatch:\n\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  id-token: write # This is required for aws oidc connection\n  contents: read # This is required for actions/checkout\n  pull-requests: write # This is required for gh bot to comment PR\n\nenv:\n  TF_LOG: INFO\n  AWS_REGION: eu-west-2\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.12\n\n      - name: Install dependencies\n        run: |\n          pip install boto3\n\n      - name: Configure AWS credentials from AWS account\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_ROLE }}\n          aws-region: eu-west-2\n          role-session-name: GitHub-OIDC-TERRAFORM\n          role-duration-seconds: 7200 # 2 Hours, role is set so can be max 4 hours\n\n      - name: Run notebook script\n        run: |\n          python .github/scripts/run_notebooks.py\n        env: \n          EMAIL_RECIPIENTS: ${{ secrets.EMAIL_RECIPIENTS }}\n          SENDER_EMAIL: ${{ secrets.SENDER_EMAIL }}\n          AWS_BUCKET_NAME: ${{ secrets.AWS_NOTEBOOK_BUCKET }}\n          ECR_IMAGE: ${{ secrets.ECR_IMAGE }}\n          ECS_CLUSTER_NAME: ${{ secrets.ECS_CLUSTER_NAME }}\n          SUBNET_IDS: ${{ secrets.SUBNET_IDS }}\n          EXECUTION_ROLE_ARN: ${{ secrets.EXECUTION_ROLE_ARN }} \n\n", "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:25.557871", "created_at": "2024-02-20T14:39:39+01:00", "updated_at": "2024-02-20T16:03:24+01:00", "name": "Package documentation - push to AWS test bucket", "path": ".github/workflows/python-upload-docs-to-s3-test.yml", "contents": null, "state": "active", "repository": "macrosynergy/macrosynergy"}
{"mined_at": "2024-07-15T17:54:27.615048", "created_at": "2020-09-28T23:00:00+02:00", "updated_at": "2023-05-15T23:54:54+02:00", "name": "Changelog updated?", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog updated?\non:\n  pull_request:\n    types:\n      - opened\n      - labeled\n      - unlabeled\n      - synchronize\n    branches:\n      - main\n      - develop\njobs:\n  call-changelog-check-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.8.2\n    secrets:\n      USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "asfhyp3/asf-tools"}
{"mined_at": "2024-07-15T17:54:28.663189", "created_at": "2023-07-06T19:33:41+02:00", "updated_at": "2023-07-06T19:33:41+02:00", "name": "Create Jira issue", "path": ".github/workflows/create-jira-issue.yml", "contents": "name: Create Jira issue\n\non:\n  issues:\n    types: [labeled]\n\njobs:\n  call-create-jira-issue-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-create-jira-issue.yml@v0.8.2\n    secrets:\n      JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n      JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n      JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n      JIRA_PROJECT: ${{ secrets.JIRA_PROJECT }}\n      JIRA_FIELDS: ${{ secrets.JIRA_FIELDS }}\n", "state": "active", "repository": "asfhyp3/asf-tools"}
{"mined_at": "2024-07-15T17:54:29.775902", "created_at": "2021-04-01T01:51:35+02:00", "updated_at": "2021-04-01T01:51:35+02:00", "name": "Distribute to PyPI", "path": ".github/workflows/distribute.yml", "contents": "name: Distribute to PyPI\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  call-version-info-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.8.2\n\n  distribute:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment.yml\n\n      - name: Build distribution\n        id: build\n        run: |\n          python -m build\n\n      - name: upload to PyPI.org\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.TOOLS_PYPI_PAK }}\n", "state": "active", "repository": "asfhyp3/asf-tools"}
{"mined_at": "2024-07-15T17:54:30.883681", "created_at": "2020-09-29T00:51:49+02:00", "updated_at": "2020-09-29T00:51:49+02:00", "name": "Is PR labeled?", "path": ".github/workflows/labeled-pr.yml", "contents": "name: Is PR labeled?\n\non:\n  pull_request:\n    types:\n      - opened\n      - labeled\n      - unlabeled\n      - synchronize\n    branches:\n      - main\n\njobs:\n  call-labeled-pr-check-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.8.2\n", "state": "active", "repository": "asfhyp3/asf-tools"}
{"mined_at": "2024-07-15T17:54:31.896855", "created_at": "2020-09-29T00:51:49+02:00", "updated_at": "2020-09-29T00:51:49+02:00", "name": "Write release and finish", "path": ".github/workflows/release.yml", "contents": "name: Write release and finish\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  finish:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.TOOLS_BOT_PAK }}\n\n      - name: Build release asset names\n        id: release_assets\n        run: |\n          echo ::set-output name=version_tag::${GITHUB_REF#refs/tags/}\n          echo ::set-output name=ARC_FILE::ASF_ArcGIS_Toolbox_$(echo ${GITHUB_REF#refs/tags/}).zip\n\n      - name: Zip ArcGIS Toolbox\n        uses: montudor/action-zip@v1\n        with:\n          args: zip -qq -j -r ${{ steps.release_assets.outputs.ARC_FILE }} ArcGIS-toolbox\n\n      - name: Create Release\n        uses: docker://antonyurchenko/git-release:v3.5.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.TOOLS_BOT_PAK }}\n          ALLOW_TAG_PREFIX: \"true\"\n          RELEASE_NAME_PREFIX: \"ASF Tools \"\n        with:\n          args: |\n            ${{ steps.release_assets.outputs.ARC_FILE }}\n\n      - name: Bump ASF Tools version in HyP3 docs\n        uses: benc-uk/workflow-dispatch@v1.2\n        with:\n          workflow: update_asf_tools_version.yml\n          token: ${{ secrets.TOOLS_BOT_PAK }}\n          repo: ASFHyP3/hyp3-docs\n          ref: main\n          inputs: '{\"asf_tools_version\": \"${{ steps.release_assets.outputs.version_tag }}\"}'\n\n      - name: Attempt fast-forward develop from main\n        run: |\n          git fetch --prune\n          git checkout develop && git pull --ff-only\n          git merge --ff-only origin/main\n          git push\n\n      - name: Open PR to bring main back to develop\n        if: ${{ failure() }}\n        uses: repo-sync/pull-request@v2\n        with:\n          source_branch: main\n          destination_branch: develop\n          pr_title: Pulling ${{ github.ref }} into default\n          pr_body: Fast-forward of main to default failed!\n          pr_assignee: ${{ github.actor }}\n          pr_label: tools-bot\n          pr_draft: false\n          pr_allow_empty: true\n          github_token: ${{ secrets.TOOLS_BOT_PAK }}\n", "state": "active", "repository": "asfhyp3/asf-tools"}
{"mined_at": "2024-07-15T17:54:33.054418", "created_at": "2020-09-28T22:45:35+02:00", "updated_at": "2023-05-10T20:40:50+02:00", "name": "Static analysis", "path": ".github/workflows/static-analysis.yml", "contents": "name: Static analysis\n\non: push\n\njobs:\n  flake8:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install flake8  flake8-import-order flake8-blind-except flake8-builtins\n\n      - name: Lint with flake8\n        run: |\n          flake8 --max-line-length=120 --import-order-style=pycharm --statistics \\\n              --application-import-names asf_tools ArcGIS-toolbox/ASF_Tools.pyt src/asf_tools\n\n\n  call-secrets-analysis-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.8.2\n", "state": "active", "repository": "asfhyp3/asf-tools"}
{"mined_at": "2024-07-15T17:54:34.281586", "created_at": "2022-03-09T19:58:05+01:00", "updated_at": "2022-03-09T19:58:05+01:00", "name": "Tag version", "path": ".github/workflows/tag-version.yml", "contents": "name: Tag version\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  call-bump-version-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.8.2\n    secrets:\n      USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }}\n", "state": "active", "repository": "asfhyp3/asf-tools"}
{"mined_at": "2024-07-15T17:54:35.400692", "created_at": "2020-11-24T03:12:32+01:00", "updated_at": "2023-05-15T23:54:54+02:00", "name": "Test and build", "path": ".github/workflows/test-and-build.yml", "contents": "name: Test and build\n\non:\n  push:\n    branches:\n      - main\n      - develop\n  pull_request:\n    branches:\n      - main\n      - develop\n\njobs:\n  call-pytest-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-pytest.yml@v0.8.2\n    with:\n      local_package_name: asf_tools\n\n  call-version-info-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.8.2\n\n  call-docker-ghcr-workflow:\n    needs: call-version-info-workflow\n    uses: ASFHyP3/actions/.github/workflows/reusable-docker-ghcr.yml@v0.8.2\n    with:\n      version_tag: ${{ needs.call-version-info-workflow.outputs.version_tag }}\n    secrets:\n      USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }}\n", "state": "active", "repository": "asfhyp3/asf-tools"}
{"mined_at": "2024-07-15T17:54:37.560057", "created_at": "2023-03-21T17:12:07+01:00", "updated_at": "2023-05-12T12:19:21+02:00", "name": "Auto Author Assign", "path": ".github/workflows/auto-author-assign.yml", "contents": "# .github/workflows/auto-author-assign.yml\nname: Auto Author Assign\n\non:\n  pull_request_target:\n    types: [opened, reopened]\n\npermissions:\n  pull-requests: write\n\njobs:\n  assign-author:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: toshimaru/auto-author-assign@v2.1.0\n", "state": "active", "repository": "pastas/pastas"}
{"mined_at": "2024-07-15T17:54:38.557523", "created_at": "2020-11-17T13:20:47+01:00", "updated_at": "2020-11-17T13:20:47+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel twine build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "pastas/pastas"}
{"mined_at": "2024-07-15T17:54:39.606115", "created_at": "2023-05-11T13:33:17+02:00", "updated_at": "2023-05-12T12:19:21+02:00", "name": "CI NB", "path": ".github/workflows/test_benchmark_notebooks.yml", "contents": "name: CI NB\n\non:\n  pull_request:\n    branches:\n      - master\n\njobs:\n  test:\n    name: ${{ matrix.name }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: Test suite for benchmark Notebooks\n            python: \"3.9\"\n            toxenv: notebooks\n    env:\n      # Color Output\n      # Rich (pip)\n      FORCE_COLOR: 1\n      # Tox\n      PY_COLORS: 1\n      # Pytest\n      PYTEST_ADDOPTS: \"--color=yes\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          check-latest: true\n          cache: \"pip\"\n          cache-dependency-path: pyproject.toml\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox\n\n      - name: Setup tox environment\n        run: tox -e ${{ matrix.toxenv }} --notest\n\n      - name: Test\n        run: tox -e ${{ matrix.toxenv }} --skip-pkg-install\n", "state": "active", "repository": "pastas/pastas"}
{"mined_at": "2024-07-15T17:54:40.614404", "created_at": "2024-05-23T14:17:35+02:00", "updated_at": "2024-06-25T22:16:09+02:00", "name": "CI RUFF", "path": ".github/workflows/test_format_lint.yml", "contents": null, "state": "active", "repository": "pastas/pastas"}
{"mined_at": "2024-07-15T17:54:41.600028", "created_at": "2024-05-23T15:38:52+02:00", "updated_at": "2024-06-25T22:16:09+02:00", "name": "CI PYTEST", "path": ".github/workflows/test_unit_pytest.yml", "contents": null, "state": "active", "repository": "pastas/pastas"}
{"mined_at": "2024-07-15T17:54:43.805276", "created_at": "2021-10-12T18:28:04+02:00", "updated_at": "2021-10-12T18:37:11+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master, develop* ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '25 21 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "pylover7/zgrobot"}
{"mined_at": "2024-07-15T17:54:44.931301", "created_at": "2021-10-10T07:33:01+02:00", "updated_at": "2023-05-19T08:16:21+02:00", "name": "Docs-Build", "path": ".github/workflows/docs-build.yml", "contents": "name: Docs-Build\non:\n  push:\n    branches:\n      - master\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n      - uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-docs-${{ hashFiles('**/*requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel\n          pip install -r docs-requirements.txt\n      - name: Build docs\n        run: mkdocs gh-deploy --force\n", "state": "active", "repository": "pylover7/zgrobot"}
{"mined_at": "2024-07-15T17:54:45.933288", "created_at": "2021-10-10T07:33:01+02:00", "updated_at": "2021-10-10T09:45:19+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non: [ push, pull_request ]\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v4\n      - name: Get the pip-cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-lint-${{ hashFiles('**/*requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel\n          cat dev-requirements.txt | grep yapf== | xargs pip install\n      - name: Save the pip-cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-lint-${{ hashFiles('**/*requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Run yapf\n        run: |\n          yapf -p -r -d docs/ zgrobot/ tests/ *.py\n", "state": "active", "repository": "pylover7/zgrobot"}
{"mined_at": "2024-07-15T17:54:47.081912", "created_at": "2021-10-09T00:06:00+02:00", "updated_at": "2021-10-09T00:06:00+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "pylover7/zgrobot"}
{"mined_at": "2024-07-15T17:54:48.055646", "created_at": "2021-10-08T11:06:52+02:00", "updated_at": "2021-10-08T11:06:52+02:00", "name": "tests", "path": ".github/workflows/test.yml", "contents": "name: tests\n\non:\n  push:\n    branches:\n      - master\n      - develop*\n  pull_request:\n    branches:\n      - master\n      - develop*\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [3.8, 3.9, '3.10', 3.11]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Get the pip-cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ matrix.os }}-pip-${{ matrix.python-version }}\n          restore-keys: |\n            ${{ matrix.os }}-pip-\n      - name: Get the tox-cache\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: ${{ matrix.os }}-tox-${{ matrix.python-version }}-${{ hashFiles('**/tox.ini') }}\n          restore-keys: |\n            ${{ matrix.os }}-tox-${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev-requirements.txt\n      - name: Save the pip-cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ matrix.os }}-pip-${{ matrix.python-version }}\n          restore-keys: |\n            ${{ matrix.os }}-pip-\n      - name: Save the tox-cache\n        uses: actions/cache@v3\n        with:\n          path: .tox\n          key: ${{ matrix.os }}-tox-${{ matrix.python-version }}-${{ hashFiles('**/tox.ini') }}\n          restore-keys: |\n              ${{ matrix.os }}-tox-${{ matrix.python-version }}\n      - name: Test with tox\n        run: |\n          tox -s\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "pylover7/zgrobot"}
{"mined_at": "2024-07-15T17:54:49.023814", "created_at": "2024-03-15T09:12:45+01:00", "updated_at": "2024-03-15T09:12:45+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pylover7/zgrobot"}
{"mined_at": "2024-07-15T17:54:51.098123", "created_at": "2023-04-14T16:14:56+02:00", "updated_at": "2023-04-14T16:14:56+02:00", "name": "Build main branch documentation website", "path": ".github/workflows/build-docs-dev.yml", "contents": "name: Build main branch documentation website\non:\n  push:\n    branches: [master]\npermissions:\n  contents: write\nenv:\n  OFFSCREEN_RENDERING: 1\njobs:\n  docs:\n    name: Generate Website\n    runs-on: ubuntu-latest\n    env:\n      SPHINX_GITHUB_CHANGELOG_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        with:\n            python-version: '3.9'\n\n      - name: Install dependencies\n        run: pip install -r docs/requirements.txt\n\n      - name: Register Envs\n        run: pip install -e .\n\n      - name: Build\n        run: sphinx-build -b dirhtml -v docs _build\n\n      - name: Move 404\n        run: mv _build/404/index.html _build/404.html\n\n      - name: Update 404 links\n        run: python docs/scripts/move_404.py _build/404.html\n\n      - name: Remove .doctrees\n        run: rm -r _build/.doctrees\n\n      - name: Upload to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: _build\n          target-folder: main\n          clean: false\n", "state": "active", "repository": "farama-foundation/highwayenv"}
{"mined_at": "2024-07-15T17:54:52.123118", "created_at": "2023-04-14T17:07:35+02:00", "updated_at": "2023-04-14T17:07:35+02:00", "name": "Docs Versioning", "path": ".github/workflows/build-docs-version.yml", "contents": "name: Docs Versioning\non:\n  push:\n    tags:\n      - 'v*.*'\npermissions:\n  contents: write\nenv:\n  OFFSCREEN_RENDERING: 1\njobs:\n  docs:\n    name: Generate Website for new version\n    runs-on: ubuntu-latest\n    env:\n      SPHINX_GITHUB_CHANGELOG_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        with:\n            python-version: '3.9'\n\n      - name: Get tag\n        id: tag\n        uses: dawidd6/action-get-tag@v1\n\n      - name: Install dependencies\n        run: pip install -r docs/requirements.txt\n\n      - name: Register Envs\n        run: pip install -e .\n\n      - name: Build\n        run: sphinx-build -b dirhtml -v docs _build\n\n      - name: Move 404\n        run: mv _build/404/index.html _build/404.html\n\n      - name: Update 404 links\n        run: python docs/scripts/move_404.py _build/404.html\n\n      - name: Remove .doctrees\n        run: rm -r _build/.doctrees\n\n      - name: Upload to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: _build\n          target-folder: ${{steps.tag.outputs.tag}}\n          clean: false\n\n      - name: Upload to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: _build\n          clean-exclude: |\n            v*.*/\n            main", "state": "active", "repository": "farama-foundation/highwayenv"}
{"mined_at": "2024-07-15T17:54:53.111731", "created_at": "2020-03-09T15:06:58+01:00", "updated_at": "2020-03-09T15:06:58+01:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: build\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        sudo pip install pygame\n        pip install -e .[deploy]\n    - name: Lint with flake8\n      run: |\n        pip install flake8\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pip install pytest\n        pip install pytest-cov\n        pytest --cov=./ --cov-report=xml\n\n", "state": "active", "repository": "farama-foundation/highwayenv"}
{"mined_at": "2024-07-15T17:54:54.123554", "created_at": "2023-04-14T17:07:35+02:00", "updated_at": "2023-04-14T17:07:35+02:00", "name": "Manual Docs Versioning", "path": ".github/workflows/manual-build-docs-version.yml", "contents": "name: Manual Docs Versioning\non:\n  workflow_dispatch:\n    inputs:\n      version:\n          description: 'Documentation version to create'\n          required: true\n      commit:\n          description: 'Commit used to build the Documentation version'\n          required: false\n      latest:\n          description: 'Latest version'\n          type: boolean\n\npermissions:\n  contents: write\nenv:\n  OFFSCREEN_RENDERING: 1\njobs:\n  docs:\n    name: Generate Website for new version\n    runs-on: ubuntu-latest\n    env:\n      SPHINX_GITHUB_CHANGELOG_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v3\n        if: inputs.commit == ''\n\n      - uses: actions/checkout@v3\n        if: inputs.commit != ''\n        with:\n          ref: ${{ inputs.commit }}\n\n      - uses: actions/setup-python@v4\n        with:\n            python-version: '3.9'\n\n      - name: Install dependencies\n        run: pip install -r docs/requirements.txt\n\n      - name: Register Envs\n        run: pip install -e .\n\n      - name: Build\n        run: sphinx-build -b dirhtml -v docs _build\n\n      - name: Move 404\n        run: mv _build/404/index.html _build/404.html\n\n      - name: Update 404 links\n        run: python docs/scripts/move_404.py _build/404.html\n\n      - name: Remove .doctrees\n        run: rm -r _build/.doctrees\n\n      - name: Upload to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: _build\n          target-folder: ${{ inputs.version }}\n          clean: false\n\n      - name: Upload to GitHub Pages\n        uses: JamesIves/github-pages-deploy-action@v4\n        if: inputs.latest\n        with:\n          folder: _build\n          clean-exclude: |\n            v*.*/\n            main", "state": "active", "repository": "farama-foundation/highwayenv"}
{"mined_at": "2024-07-15T17:54:55.156810", "created_at": "2023-11-18T14:44:43+01:00", "updated_at": "2023-11-26T13:30:41+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "# https://pre-commit.com\n# This GitHub Action assumes that the repo contains a valid .pre-commit-config.yaml file.\nname: pre-commit\non:\n  pull_request:\n  push:\n    branches: [master]\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n      - run: python -m pip install pre-commit\n      - run: python -m pre_commit --version\n      - run: python -m pre_commit install\n      - run: python -m pre_commit run --all-files\n", "state": "active", "repository": "farama-foundation/highwayenv"}
{"mined_at": "2024-07-15T17:54:56.261210", "created_at": "2021-03-12T15:15:51+01:00", "updated_at": "2021-03-12T15:15:51+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  release:\n    types:\n      - published\n\njobs:\n  release:\n    name: Deploy release to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v1\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: pip install wheel\n      - name: Build package\n        run: python setup.py sdist bdist_wheel\n      - name: Upload package\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}", "state": "active", "repository": "farama-foundation/highwayenv"}
{"mined_at": "2024-07-15T17:54:57.397513", "created_at": "2023-03-25T12:21:38+01:00", "updated_at": "2023-03-25T12:21:38+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "farama-foundation/highwayenv"}
{"mined_at": "2024-07-15T17:54:59.546455", "created_at": "2023-04-18T03:38:00+02:00", "updated_at": "2023-04-18T19:30:04+02:00", "name": "Python Black", "path": ".github/workflows/black.yaml", "contents": "name: Python Black\n\non: [push, pull_request]\n\njobs:\n  lint:\n    name: Python Lint\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v1\n      - name: Setup checkout\n        uses: actions/checkout@master\n      - name: Lint with Black\n        run: |\n          pip install black\n          black --check gunpowder tests\n", "state": "active", "repository": "funkelab/gunpowder"}
{"mined_at": "2024-07-15T17:55:00.535289", "created_at": "2024-01-02T19:41:22+01:00", "updated_at": "2024-01-02T23:32:07+01:00", "name": "Close inactive PRs", "path": ".github/workflows/close-inactive-prs.yaml", "contents": "name: \"Close inactive PRs\"\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  close-inactive-prs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Close inactive PRs\n        uses: actions/github-script@v5\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const owner = context.repo.owner;\n            const repo = context.repo.repo;\n            const prs = await github.rest.pulls.list({ owner, repo, state: 'open' });\n            const thirtyDaysAgo = new Date();\n            thirtyDaysAgo.setDate(thirtyDaysAgo.getDate() - 28);\n            const threeWeeksAgo = new Date();\n            threeWeeksAgo.setDate(threeWeeksAgo.getDate() - 21);\n\n            for (const pr of prs.data) {\n              const updatedAt = new Date(pr.updated_at);\n              const number = pr.number;\n              if (updatedAt < thirtyDaysAgo) {\n                await github.rest.pulls.update({ owner, repo, pull_number: number, state: 'closed' });\n                console.log(`Closed PR #${number}`);\n              } else if (updatedAt < threeWeeksAgo) {\n                const message = 'This PR will be closed in one week due to inactivity. Please update the PR if necessary.';\n                await github.rest.issues.createComment({ owner, repo, issue_number: number, body: message });\n                console.log(`Posted warning on PR #${number}`);\n              }\n            }\n", "state": "active", "repository": "funkelab/gunpowder"}
{"mined_at": "2024-07-15T17:55:01.726883", "created_at": "2023-04-18T03:38:00+02:00", "updated_at": "2023-04-18T19:30:04+02:00", "name": "Python mypy", "path": ".github/workflows/mypy.yaml", "contents": "name: Python mypy\n\non: [push, pull_request]\n\njobs:\n  static-analysis:\n    name: Python mypy\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.10'\n      - name: Setup checkout\n        uses: actions/checkout@v2\n      - name: mypy\n        run: |\n          pip install \".[dev]\"\n          mypy gunpowder\n", "state": "active", "repository": "funkelab/gunpowder"}
{"mined_at": "2024-07-15T17:55:02.852205", "created_at": "2023-08-30T22:34:05+02:00", "updated_at": "2023-08-30T22:39:05+02:00", "name": "Deploy Docs to GitHub Pages", "path": ".github/workflows/publish-docs.yaml", "contents": "name: Deploy Docs to GitHub Pages\n\non:\n  push:\n    branches: [main]\n    tags: \"*\"\n  workflow_dispatch:\n\n# Allow this job to clone the repo and create a page deployment\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          python-version: \"3.11\"\n          mamba-version: \"*\"\n          channels: conda-forge\n          channel-priority: true\n\n      - name: Install package and dependencies\n        run: |\n          pip install git+https://github.com/funkelab/funlib.learn.torch\n          python -m pip install -e .[docs]\n\n      - name: Build documentation\n        run: sphinx-build docs/source docs/build/html -b html\n\n      - name: Upload Pages Artifact\n        uses: actions/upload-pages-artifact@v2\n        with:\n          path: docs/build/html\n          retention-days: 90\n\n  deploy:\n    if: github.ref == 'refs/heads/main'\n    needs: build\n    # Deploy to the github-pages environment\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "funkelab/gunpowder"}
{"mined_at": "2024-07-15T17:55:04.080508", "created_at": "2023-04-18T19:30:04+02:00", "updated_at": "2023-04-18T19:30:04+02:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "name: Publish\n\non:\n  push:\n    tags: \"*\"\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n      - name: Publish distribution 📦 to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}", "state": "active", "repository": "funkelab/gunpowder"}
{"mined_at": "2024-07-15T17:55:05.095443", "created_at": "2022-09-08T16:48:20+02:00", "updated_at": "2022-10-19T18:50:12+02:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n    - \"*\"\n  pull_request:\n    branches:\n      - master\n\njobs:\n  test:\n    name: ${{ matrix.platform }} (${{ matrix.python-version }})\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        platform: [ubuntu-latest]\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[dev]\n\n      - name: Run tests\n        run: pytest -v --color yes --cov gunpowder --cov-report xml\n\n      - uses: codecov/codecov-action@v3\n", "state": "active", "repository": "funkelab/gunpowder"}
{"mined_at": "2024-07-15T17:55:06.089635", "created_at": "2022-07-13T00:07:57+02:00", "updated_at": "2022-07-13T00:07:57+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "funkelab/gunpowder"}
{"mined_at": "2024-07-15T17:55:08.177377", "created_at": "2023-01-18T06:49:37+01:00", "updated_at": "2023-01-18T06:49:37+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  release:\n    types:\n      - published\njobs:\n  build:\n    name: Build and sign artifacts\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    outputs:\n      hashes: ${{ steps.hash.outputs.hashes }}\n    steps:\n      - uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0\n      - uses: actions/setup-python@5ccb29d8773c3f3f653e1705f474dfaa8a06a912\n        with:\n          python-version: \"3.x\"\n      - name: deps\n        run: |\n          python -m pip install -U build\n          python -m pip install -U sigstore\n      - name: build\n        run: python -m build\n      - name: sign\n        run: |\n          mkdir -p smoketest-artifacts\n\n          # we smoke-test sigstore by installing each of the distributions\n          # we've built in a fresh environment and using each to sign and\n          # verify for itself, using the ambient OIDC identity\n          for dist in dist/*; do\n            dist_base=\"$(basename \"${dist}\")\"\n\n            python -m venv smoketest-env\n\n            ./smoketest-env/bin/python -m pip install \"${dist}\"\n            ./smoketest-env/bin/python -m pip install sigstore\n\n            # NOTE: signing artifacts currently go in a separate directory,\n            # to avoid confusing the package uploader (which otherwise tries\n            # to upload them to PyPI and fails). Future versions of twine\n            # and the gh-action-pypi-publish action should support these artifacts.\n            ./smoketest-env/bin/python -m \\\n              sigstore sign \"${dist}\" \\\n              --output-signature smoketest-artifacts/\"${dist_base}.sig\" \\\n              --output-certificate smoketest-artifacts/\"${dist_base}.crt\"\n\n            ./smoketest-env/bin/python -m \\\n              sigstore verify identity \"${dist}\" \\\n              --cert \"smoketest-artifacts/${dist_base}.crt\" \\\n              --signature \"smoketest-artifacts/${dist_base}.sig\" \\\n              --cert-oidc-issuer https://token.actions.githubusercontent.com \\\n              --cert-identity ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/.github/workflows/release.yml@${GITHUB_REF}\n\n            rm -rf smoketest-env\n          done\n      - name: Generate hashes for provenance\n        shell: bash\n        id: hash\n        run: |\n          # sha256sum generates sha256 hash for all artifacts.\n          # base64 -w0 encodes to base64 and outputs on a single line.\n          # sha256sum artifact1 artifact2 ... | base64 -w0\n          echo \"hashes=$(sha256sum ./dist/* | base64 -w0)\" >> $GITHUB_OUTPUT\n\n      - name: Upload built packages\n        uses: actions/upload-artifact@v3\n        with:\n          name: built-packages\n          path: ./dist/\n          if-no-files-found: warn\n  generate-provenance:\n    needs: [build]\n    name: Generate build provenance\n    permissions:\n      actions: read   # To read the workflow path.\n      id-token: write # To sign the provenance.\n      contents: write # To add assets to a release.\n    # Currently this action needs to be referred by tag. More details at:\n    # https://github.com/slsa-framework/slsa-github-generator#verification-of-provenance\n    uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.10.0\n    with:\n      provenance-name: provenance-sigstore-${{ github.event.release.tag_name }}.intoto.jsonl\n      base64-subjects: \"${{ needs.build.outputs.hashes }}\"\n      compile-generator: true # Workaround for https://github.com/slsa-framework/slsa-github-generator/issues/1163\n      upload-assets: true\n  release-pypi:\n    needs: [build, generate-provenance]\n    runs-on: ubuntu-latest\n    permissions: {}\n    steps:\n      - name: Download artifacts directories # goes to current working directory\n        uses: actions/download-artifact@v3\n      - name: Remove signature # pypi will not ignore the signatures anymore and does not support them.\n        run: rm -f built-packages/aerleon-*.sigstore\n      - name: publish\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n          packages_dir: built-packages/\n  release-github:\n    needs: [build, generate-provenance]\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload release assets.\n      contents: write\n    steps:\n      - name: Download artifacts directories # goes to current working directory\n        uses: actions/download-artifact@v3\n      - name: Upload artifacts to github\n        # Confusingly, this action also supports updating releases, not\n        # just creating them. This is what we want here, since we've manually\n        # created the release that triggered the action.\n        uses: softprops/action-gh-release@v1\n        with:\n          # smoketest-artifacts/ contains the signatures and certificates.\n          files: |\n            built-packages/*\n", "state": "active", "repository": "aerleon/aerleon"}
{"mined_at": "2024-07-15T17:55:09.303375", "created_at": "2023-01-20T18:29:04+01:00", "updated_at": "2023-01-24T06:59:57+01:00", "name": "validate", "path": ".github/workflows/validate.yml", "contents": "name: validate\non:\n  pull_request:\n  push:\n    branches:\n      - main\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - uses: actions/checkout@v3\n      - uses: dorny/paths-filter@v2\n        id: paths-filter\n        with:\n          filters: |\n            run_tests:\n              - .github/actions/**/*.yml\n              - .github/workflows/**/*.yml\n              - policies/**/*.yaml\n              - policies/**/*.yml\n              - policies/**/*.pol\n              - policies/**/*.inc\n              - def/**/*.yaml\n              - def/**/*.yml\n              - def/**/*.net\n              - def/**/*.svc\n              - tests/**/*.ref\n              - codecov.yml\n              - poetry.toml\n              - pyproject.toml\n              - '**.py'\n      #----------------------------------------------\n      #    Install Python, Poetry, and CI deps\n      #----------------------------------------------\n      - name: Set up CI dependencies\n        if: steps.paths-filter.outputs.run_tests == 'true'\n        uses: ./.github/actions/setup\n        id: project-setup\n        with:\n          python-version: ${{ matrix.python-version }}\n      #----------------------------------------------\n      #    run test suite and output coverage file\n      #----------------------------------------------\n      - name: Test with pytest\n        if: steps.paths-filter.outputs.run_tests == 'true'\n        run: |\n          poetry run coverage erase\n          poetry run coverage run\n          poetry run coverage xml\n      #----------------------------------------------\n      # upload coverage to codecov\n      #----------------------------------------------\n      - name: Upload coverage to Codecov\n        if: steps.paths-filter.outputs.run_tests == 'true'\n        uses: codecov/codecov-action@v3\n        with:\n          directory: ./\n          env_vars: OS,PYTHON\n          files: ./coverage.xml\n          flags: tests\n          name: codecov-umbrella\n          verbose: true\n\n  format:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: dorny/paths-filter@v2\n        id: paths-filter\n        with:\n          filters: |\n            run_format:\n              - '**.py'\n      #----------------------------------------------\n      #    Install Python, Poetry, and CI deps\n      #----------------------------------------------\n      - name: Set up CI dependencies\n        if: steps.paths-filter.outputs.run_format == 'true'\n        uses: ./.github/actions/setup\n        id: project-setup\n        with:\n          python-version: \"3.10\"\n      #----------------------------------------------\n      # run 'black', will use installed version\n      #----------------------------------------------\n      - name: Format project using Black\n        if: steps.paths-filter.outputs.run_format == 'true'\n        uses: psf/black@stable\n        with:\n          version: \"23.7.0\"\n      #----------------------------------------------\n      # run isort\n      #----------------------------------------------\n      - name: Format project using isort\n        if: steps.paths-filter.outputs.run_format == 'true'\n        uses: isort/isort-action@v1.1.0\n        with:\n          isort-version: \"\"\n", "state": "active", "repository": "aerleon/aerleon"}
{"mined_at": "2024-07-15T17:55:11.556018", "created_at": "2021-02-22T15:07:39+01:00", "updated_at": "2021-02-28T21:13:34+01:00", "name": "Release", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Release\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.7\n    - name: Install pypa/build\n      run: >-\n        python -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: >-\n        python -m\n        build\n        --sdist\n        --wheel\n        --outdir dist/\n        .\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@master\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}", "state": "active", "repository": "petrobras/ross"}
{"mined_at": "2024-07-15T17:55:12.682369", "created_at": "2021-01-22T17:05:21+01:00", "updated_at": "2021-02-02T21:12:53+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\n# Controls when the action will run. \non:\n  # Triggers the workflow on push or pull request events but only for the main branch\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n    # Installing dependencies\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[dev]\n\n      # Running pytest\n      - name: Test with pytest\n        run: |\n          pip install pytest\n          pytest ross --cov=ross\n      - name: Code Lint \n        run: |\n          black --check ross\n        if: success()\n      - name: Coverage and Deployment\n        run: codecov\n          \n          \n          \n          \n          \n          \n          \n          \n          \n          \n          \n          \n          \n          \n          \n\n", "state": "active", "repository": "petrobras/ross"}
{"mined_at": "2024-07-15T17:55:13.788969", "created_at": "2021-12-18T23:18:45+01:00", "updated_at": "2021-12-18T23:18:45+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "petrobras/ross"}
{"mined_at": "2024-07-15T17:55:16.058223", "created_at": "2023-08-01T13:18:50+02:00", "updated_at": "2023-11-07T16:23:30+01:00", "name": "Tests and code quality", "path": ".github/workflows/ci_cd.yaml", "contents": null, "state": "active", "repository": "biocypher/biocypher"}
{"mined_at": "2024-07-15T17:55:17.187363", "created_at": "2023-10-02T23:19:17+02:00", "updated_at": "2023-10-25T17:00:59+02:00", "name": "Docs", "path": ".github/workflows/docs.yaml", "contents": "name: Docs\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  build_docs:\n    runs-on: ubuntu-latest\n    permissions: write-all\n    steps:\n    #----------------------------------------------\n    # check-out repo and set-up python and poetry\n    #----------------------------------------------\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n    - name: Setup Python and Poetry\n      uses: ./.github/actions/setup\n    #----------------------------------------------\n    #            install dependencies\n    #----------------------------------------------\n    - name: Install dependencies\n      uses: ./.github/actions/install\n    - name: Install pandoc\n      run: sudo apt-get -y install pandoc\n    #----------------------------------------------\n    #                  build docs\n    #----------------------------------------------\n    - name: Build docs\n      uses: ./.github/actions/build_docs\n\n  build_and_deploy_docs:\n    if: github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    permissions: write-all\n    steps:\n    #----------------------------------------------\n    # check-out repo and set-up python and poetry\n    #----------------------------------------------\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n    - name: Setup Python and Poetry\n      uses: ./.github/actions/setup\n    #----------------------------------------------\n    #            install dependencies\n    #----------------------------------------------\n    - name: Install dependencies\n      uses: ./.github/actions/install\n    - name: Install pandoc\n      run: sudo apt-get -y install pandoc\n    #----------------------------------------------\n    #                  build docs\n    #----------------------------------------------\n    - name: Install dependencies\n      uses: ./.github/actions/build_docs\n    - name: Commit files\n      run: |\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        touch docs/_build/html/.nojekyll\n        echo 'biocypher.org' > docs/_build/html/CNAME\n        git add -f docs/_build/\n        git commit -m \"Update autodoc\" -a\n    #----------------------------------------------\n    #                  deploy docs\n    #----------------------------------------------\n    - name: Deploy\n      uses: s0/git-publish-subdir-action@develop\n      env:\n        REPO: self\n        BRANCH: gh-pages\n        FOLDER: docs/_build/html\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "biocypher/biocypher"}
{"mined_at": "2024-07-15T17:55:18.285893", "created_at": "2023-10-19T18:34:49+02:00", "updated_at": "2023-10-25T17:00:59+02:00", "name": "Tests and code quality checks for pull requests", "path": ".github/workflows/pr.yaml", "contents": "name: Tests and code quality checks for pull requests\n\non: [pull_request]\n\njobs:\n  tests_and_code_quality:\n    strategy:\n      fail-fast: true\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-13\", \"windows-latest\"]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        neo4j-version: [\"4.4-enterprise\", \"5.17.0-enterprise\"]\n        exclude:\n          # Windows tests don't use the PostgreSQL/Neo4j Docker containers\n          - os: \"windows-latest\"\n            neo4j-version: \"4.4-enterprise\"\n          # https://github.com/biocypher/biocypher/issues/339\n          - os: \"macos-latest\"\n            neo4j-version: \"4.4-enterprise\"\n    runs-on: ${{ matrix.os }}\n    env:\n      POETRY_VERSION: 1.5.1\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n    #----------------------------------------------\n    #  checkout repo and set-up python and poetry\n    #----------------------------------------------\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n    - name: Setup Python and Poetry\n      uses: ./.github/actions/setup\n      with:\n        PYTHON_VERSION: ${{ matrix.python-version }}\n        POETRY_VERSION: ${{ env.POETRY_VERSION }}\n    #----------------------------------------------\n    #       install dependencies\n    #----------------------------------------------\n    - name: Install dependencies\n      uses: ./.github/actions/install\n      with:\n        PYTHON_VERSION: ${{ matrix.python-version }}\n\n    #----------------------------------------------\n    #      run tests and code quality checks\n    #----------------------------------------------\n    - name: Run tests\n      uses: ./.github/actions/test\n      with:\n        NEO4J_VERSION: ${{ matrix.neo4j-version }}\n", "state": "active", "repository": "biocypher/biocypher"}
{"mined_at": "2024-07-15T17:55:19.323496", "created_at": "2023-10-10T11:53:39+02:00", "updated_at": "2023-10-25T17:00:59+02:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "name: Publish\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"*\"\n    # TODO: ensure semver style - \"[0-9]+.[0-9]+.[0-9]+(-[a-z]+)?(.[0-9]+)?\"\n\njobs:\n  call-tests_and_code_quality:\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    uses: \"./.github/workflows/tests_and_code_quality.yaml\"\n\n  build_and_deploy_artifact:\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    needs: call-tests_and_code_quality\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: 3.9\n    environment:\n      name: release\n      url: https://upload.pypi.org/legacy/\n    permissions:\n      id-token: write\n      contents: write\n    steps:\n    #----------------------------------------------\n    # check-out repo and set-up python and poetry\n    #----------------------------------------------\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n    - name: Setup Python and Poetry\n      uses: ./.github/actions/setup\n    #----------------------------------------------\n    #            install dependencies\n    #----------------------------------------------\n    - name: Install dependencies\n      uses: ./.github/actions/install\n    #----------------------------------------------\n    #             build artifact\n    #----------------------------------------------\n    - name: Build artifact\n      run: poetry build\n    #----------------------------------------------\n    #             upload to PyPi\n    #----------------------------------------------\n    - name: Publish artifact to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        repository-url: https://upload.pypi.org/legacy/\n    #----------------------------------------------\n    #           create Github release\n    #----------------------------------------------\n    - name: Create Github release\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        tag: ${{ github.ref_name }}\n      run: |\n        gh release create \"$tag\" \\\n            --repo=\"$GITHUB_REPOSITORY\" \\\n            --title=\"$tag\" \\\n            --generate-notes\n", "state": "active", "repository": "biocypher/biocypher"}
{"mined_at": "2024-07-15T17:55:20.347214", "created_at": "2023-11-07T16:23:30+01:00", "updated_at": "2023-11-07T16:23:30+01:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": null, "state": "active", "repository": "biocypher/biocypher"}
{"mined_at": "2024-07-15T17:55:21.351854", "created_at": "2023-08-01T13:49:52+02:00", "updated_at": "2023-11-07T16:23:27+01:00", "name": "Docs build", "path": ".github/workflows/sphinx_autodoc.yaml", "contents": null, "state": "active", "repository": "biocypher/biocypher"}
{"mined_at": "2024-07-15T17:55:22.398579", "created_at": "2021-10-05T20:55:13+02:00", "updated_at": "2023-11-07T16:23:27+01:00", "name": "Sphinx build docs on push", "path": ".github/workflows/sphinx_autodoc.yml", "contents": null, "state": "active", "repository": "biocypher/biocypher"}
{"mined_at": "2024-07-15T17:55:23.418205", "created_at": "2023-10-20T11:33:36+02:00", "updated_at": "2023-10-25T17:01:00+02:00", "name": "Tests and code quality", "path": ".github/workflows/tests_and_code_quality.yaml", "contents": "name: Tests and code quality\n\non:\n  push:\n    branches:\n      - \"*\"\n  workflow_call:\n\njobs:\n  tests_and_code_quality:\n    runs-on: ubuntu-latest\n\n    steps:\n    #----------------------------------------------\n    #  checkout repo and set-up python and poetry\n    #----------------------------------------------\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n    - name: Setup Python and Poetry\n      uses: ./.github/actions/setup\n    #----------------------------------------------\n    #            install dependencies\n    #----------------------------------------------\n    - name: Install dependencies\n      uses: ./.github/actions/install\n    #----------------------------------------------\n    #      run tests and code quality checks\n    #----------------------------------------------\n    - name: Run tests\n      uses: ./.github/actions/test\n      with:\n        NEO4J_VERSION: \"4.4-enterprise\"\n    #----------------------------------------------\n    #        generate test coverage badge\n    #----------------------------------------------\n    - name: Generate test coverage badge\n      uses: ./.github/actions/test_coverage\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n      if: github.ref == 'refs/heads/main'\n", "state": "active", "repository": "biocypher/biocypher"}
{"mined_at": "2024-07-15T17:55:24.414649", "created_at": "2021-12-22T18:04:16+01:00", "updated_at": "2021-12-22T18:04:16+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "biocypher/biocypher"}
{"mined_at": "2024-07-15T17:55:26.608455", "created_at": "2023-11-13T07:28:50+01:00", "updated_at": "2023-11-13T07:33:00+01:00", "name": "Docker Image CI (dev)", "path": ".github/workflows/docker-ci-dev.yml", "contents": "name: Docker Image CI (dev)\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - docker\n      # - develop\n      # - '**-develop'\n\njobs:\n  build-and-push-image:\n    if: contains('[\"sudoskys\"]', github.actor)\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2.1.0\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4.1.1\n        with:\n          images: |\n            sudoskys/llmbot\n          tags: |\n            # set latest tag for default branch\n            type=raw,value=latest\n            type=ref,event=branch\n\n          flavors: |\n            latest=false\n            suffix=-dev,onlatest=true\n\n      - name: echo\n        run: echo ${{ steps.meta.outputs.json }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v4\n        with:\n          platforms: linux/amd64,linux/arm64\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=registry,ref=${{ steps.meta.outputs.tags }}\n          cache-to: type=inline\n", "state": "active", "repository": "llmkira/openaibot"}
{"mined_at": "2024-07-15T17:55:27.590013", "created_at": "2023-10-14T18:08:18+02:00", "updated_at": "2023-10-15T18:40:12+02:00", "name": "publish", "path": ".github/workflows/publish.yml", "contents": "name: publish\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - pypi_*\n\npermissions:\n  contents: read\n\njobs:\n  pypi-publish:\n    name: upload release to PyPI\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: pdm-project/setup-pdm@v3\n\n      - name: Publish package distributions to PyPI\n        run: pdm publish\n", "state": "active", "repository": "llmkira/openaibot"}
{"mined_at": "2024-07-15T17:55:28.649594", "created_at": "2023-10-17T07:01:03+02:00", "updated_at": "2023-10-28T15:53:41+02:00", "name": "release-draft", "path": ".github/workflows/release_draft.yml", "contents": "name: release-draft\n\non:\n  pull_request_target:\n    branches:\n      - main\n    types:\n      - closed\n\npermissions:\n  contents: read\n\njobs:\n  draft_release:\n    if: github.event_name == 'pull_request_target'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    steps:\n      - uses: release-drafter/release-drafter@v5\n        id: release-drafter\n        env:\n          GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}", "state": "active", "repository": "llmkira/openaibot"}
{"mined_at": "2024-07-15T17:55:29.767782", "created_at": "2023-12-11T04:51:26+01:00", "updated_at": "2023-12-11T04:51:26+01:00", "name": "Ruff", "path": ".github/workflows/ruff.yml", "contents": null, "state": "active", "repository": "llmkira/openaibot"}
{"mined_at": "2024-07-15T17:55:31.780112", "created_at": "2021-04-16T23:07:37+02:00", "updated_at": "2021-08-18T21:26:01+02:00", "name": "Continuous Integration", "path": ".github/workflows/ci.yml", "contents": "# This software was developed at the National Institute of Standards\n# and Technology by employees of the Federal Government in the course\n# of their official duties. Pursuant to title 17 Section 105 of the\n# United States Code this software is not subject to copyright\n# protection and is in the public domain. NIST assumes no\n# responsibility whatsoever for its use by other parties, and makes\n# no guarantees, expressed or implied, about its quality,\n# reliability, or any other characteristic.\n#\n# We would appreciate acknowledgement if the software is used.\n\n# This workflow uses Make to confirm ontology files have been\n# normalized.\n\nname: Continuous Integration\n\non:\n  push:\n    branches: [ master, develop*, unstable* ]\n  pull_request:\n    branches: [ master, develop*, unstable* ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-java@v3\n      with:\n        distribution: 'temurin'\n        java-version: '11'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Start from clean state\n      run: make clean\n    - name: Run tests\n      run: make check\n", "state": "active", "repository": "ucoproject/uco"}
{"mined_at": "2024-07-15T17:55:32.813983", "created_at": "2022-03-08T19:46:14+01:00", "updated_at": "2022-03-08T19:46:14+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ucoproject/uco"}
{"mined_at": "2024-07-15T17:55:34.952778", "created_at": "2021-05-22T02:21:18+02:00", "updated_at": "2021-05-22T14:04:05+02:00", "name": "Build documentation", "path": ".github/workflows/build-docs.yml", "contents": "name: Build documentation\n\non:\n  push:\n  pull_request:\n    types: [opened, synchronize]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Get full Python version\n        id: full-python-version\n        run: echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")\n\n      - name: Set up poetry\n        uses: Gr1N/setup-poetry@v9\n\n      - name: Configure poetry\n        run: poetry config virtualenvs.in-project true\n\n      - name: Set up cache\n        uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Ensure cache is healthy\n        if: steps.cache.outputs.cache-hit == 'true'\n        run: timeout 10s poetry run pip --version || rm -rf .venv\n\n      - name: Install dependencies\n        run: poetry install --with docs\n\n      - name: Build documentation\n        run: |\n          poetry run python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs docs/_build/html -n -W\n\n      - uses: actions/upload-artifact@v4\n        name: Upload docs as artifact\n        with:\n          name: docs-html\n          path: './docs/_build/html'\n          if-no-files-found: error\n", "state": "active", "repository": "python-openapi/openapi-core"}
{"mined_at": "2024-07-15T17:55:36.030963", "created_at": "2021-01-31T14:02:41+01:00", "updated_at": "2024-02-11T13:50:14+01:00", "name": "Publish python packages", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Publish python packages\n\non:\n  workflow_dispatch:\n  release:\n    types:\n      - published\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.x'\n\n      - name: Set up poetry\n        uses: Gr1N/setup-poetry@v9\n\n      - name: Build\n        run: poetry build\n\n      - name: Publish\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: dist/\n", "state": "active", "repository": "python-openapi/openapi-core"}
{"mined_at": "2024-07-15T17:55:37.156511", "created_at": "2021-01-31T13:54:51+01:00", "updated_at": "2023-05-14T13:22:48+02:00", "name": "Test python code", "path": ".github/workflows/python-test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test python code\n\non:\n  push:\n  pull_request:\n    types: [opened, synchronize]\n\njobs:\n  test:\n    name: \"Tests\"\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n    \n      - name: Get full Python version\n        id: full-python-version\n        run: echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")\n\n      - name: Set up poetry\n        uses: Gr1N/setup-poetry@v9\n\n      - name: Configure poetry\n        run: poetry config virtualenvs.in-project true\n\n      - name: Set up cache\n        uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Ensure cache is healthy\n        if: steps.cache.outputs.cache-hit == 'true'\n        run: timeout 10s poetry run pip --version || rm -rf .venv\n\n      - name: Install dependencies\n        run: poetry install --all-extras\n\n      - name: Test\n        env:\n          PYTEST_ADDOPTS: \"--color=yes\"\n        run: poetry run pytest\n\n      - name: Static type check\n        run: poetry run mypy\n        \n      - name: Check dependencies\n        run: poetry run deptry .\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n\n  static-checks:\n    name: \"Static checks\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Get full Python version\n        id: full-python-version\n        run: echo ::set-output name=version::$(python -c \"import sys; print('-'.join(str(v) for v in sys.version_info))\")\n\n      - name: Set up poetry\n        uses: Gr1N/setup-poetry@v9\n\n      - name: Configure poetry\n        run: poetry config virtualenvs.in-project true\n\n      - name: Set up cache\n        uses: actions/cache@v4\n        id: cache\n        with:\n          path: .venv\n          key: venv-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Ensure cache is healthy\n        if: steps.cache.outputs.cache-hit == 'true'\n        run: timeout 10s poetry run pip --version || rm -rf .venv\n\n      - name: Install dependencies\n        run: poetry install\n\n      - name: Run static checks\n        run: poetry run pre-commit run -a\n", "state": "active", "repository": "python-openapi/openapi-core"}
{"mined_at": "2024-07-15T17:55:38.138576", "created_at": "2023-01-25T02:16:11+01:00", "updated_at": "2023-01-25T02:16:11+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "python-openapi/openapi-core"}
{"mined_at": "2024-07-15T17:55:40.123781", "created_at": "2022-02-17T09:28:09+01:00", "updated_at": "2023-04-03T17:38:57+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\non:\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  build_wheels:\n    name: |-\n      Build wheels on ${{ matrix.os }} with\n      windows_cross_compile=${{ matrix.windows_cross_compile }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-11, ubuntu-20.04]\n        windows_cross_compile: [false, true]\n        exclude:\n          - os: macos-11\n            windows_cross_compile: true\n\n    steps:\n      - name: Install dependencies\n        run: |-\n          sudo apt-get update\n          sudo apt-get install -y mingw-w64\n        if: ${{ matrix.windows_cross_compile }}\n\n      - name: Checkout source\n        uses: actions/checkout@v3\n\n      - name: Build wheels\n        run: bash build.sh\n        env:\n          WINDOWS_CROSS_COMPILE: ${{ matrix.windows_cross_compile }}\n\n      - name: Upload artefacts\n        uses: actions/upload-artifact@v3\n        with:\n            name: artefacts\n            path: btrack/libs/*\n            if-no-files-found: error\n\n  deploy-to-testpypi:\n    needs: build_wheels\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n\n      - name: Download artefacts\n        uses: actions/download-artifact@v3\n        with:\n            name: artefacts\n            path: btrack/libs\n\n      - name: Set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n          cache: \"pip\"\n          cache-dependency-path: \"pyproject.toml\"\n\n      - name: Install dependencies\n        run: python -m pip install build\n\n      - name: Build distributions\n        run: python -m build\n\n      - name: Publish package to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.TESTPYPI_SECRET }}\n          repository-url: https://test.pypi.org/legacy/\n\n  verify-testpypi-contains-binary:\n    needs: deploy-to-testpypi\n    name: ${{ matrix.os }} py${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest]\n        include:\n          - os: macos-11\n            python-version: \"3.11\"\n          - os: macos-latest\n            python-version: \"3.11\"\n          - os: windows-2019\n            python-version: \"3.11\"\n          - os: windows-latest\n            python-version: \"3.11\"\n          - os: ubuntu-20.04\n            python-version: \"3.11\"\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n\n      - name: Set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n\n      - name: Install package from TestPyPI\n        run: >-\n          python -m pip install\n          -i https://test.pypi.org/simple/\n          --extra-index-url https://pypi.org/simple\n          --upgrade btrack\n\n      - name: Create BayesianTracker instance\n        run: |-\n          import btrack\n          btrack.BayesianTracker()\n        shell: python\n\n  deploy-to-pypi:\n    needs: verify-testpypi-contains-binary\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n\n      - name: Download artefacts\n        uses: actions/download-artifact@v3\n        with:\n            name: artefacts\n            path: btrack/libs\n\n      - name: Set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n          cache: \"pip\"\n          cache-dependency-path: \"pyproject.toml\"\n\n      - name: Install dependencies\n        run: python -m pip install build\n\n      - name: Build distributions\n        run: python -m build\n\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "quantumjot/btrack"}
{"mined_at": "2024-07-15T17:55:41.107898", "created_at": "2023-03-02T14:29:18+01:00", "updated_at": "2023-03-21T15:08:45+01:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n\n      - name: Cache pre-commit\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pre-commit\n          key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\n\n      - name: Set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n          cache: \"pip\"\n          cache-dependency-path: \"pyproject.toml\"\n\n      - name: Install dependencies\n        run: |-\n          python -m pip install pre-commit\n          pre-commit install\n\n      - name: Run pre-commit\n        run: pre-commit run --all-files --color always\n", "state": "active", "repository": "quantumjot/btrack"}
{"mined_at": "2024-07-15T17:55:42.092937", "created_at": "2022-04-21T13:26:05+02:00", "updated_at": "2023-04-03T17:38:57+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n      - \"**.rst\"\n\njobs:\n  build_wheels:\n    name: |-\n      Build wheels on ${{ matrix.os }} with\n      windows_cross_compile=${{ matrix.windows_cross_compile }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-11, ubuntu-20.04]\n        windows_cross_compile: [false, true]\n        exclude:\n          - os: macos-11\n            windows_cross_compile: true\n\n    steps:\n      - name: Install dependencies\n        run: |-\n          sudo apt-get update\n          sudo apt-get install -y mingw-w64\n        if: ${{ matrix.windows_cross_compile }}\n\n      - uses: actions/checkout@v3\n\n      - name: Build wheels\n        run: bash build.sh\n        env:\n          WINDOWS_CROSS_COMPILE: ${{ matrix.windows_cross_compile }}\n\n      - name: Upload artefacts\n        uses: actions/upload-artifact@v3\n        with:\n            name: artefacts\n            path: btrack/libs/*\n            if-no-files-found: error\n\n  test:\n    needs: build_wheels\n    name: ${{ matrix.os }} py${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest]\n        include:\n          - os: macos-11\n            python-version: \"3.11\"\n          - os: macos-latest\n            python-version: \"3.11\"\n          - os: windows-2019\n            python-version: \"3.11\"\n          - os: windows-latest\n            python-version: \"3.11\"\n          - os: ubuntu-20.04\n            python-version: \"3.11\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Download artefacts\n        uses: actions/download-artifact@v3\n        with:\n            name: artefacts\n            path: btrack/libs\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: \"pyproject.toml\"\n\n      # these libraries enable testing on Qt on linux\n      - uses: tlambert03/setup-qt-libs@v1\n\n      - name: Install dependencies\n        run: python -m pip install tox tox-gh-actions\n\n      - name: Test with tox\n        run: tox run\n        env:\n            OS: ${{ matrix.os }}\n\n      - name: Coverage\n        uses: codecov/codecov-action@v3\n", "state": "active", "repository": "quantumjot/btrack"}
{"mined_at": "2024-07-15T17:55:43.113854", "created_at": "2023-03-08T13:44:03+01:00", "updated_at": "2023-03-08T13:44:03+01:00", "name": "Add New Issues to Project Board", "path": ".github/workflows/update_project_board.yml", "contents": "name: Add New Issues to Project Board\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  update-project-board:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v0.4.1\n        with:\n          project-url: https://github.com/orgs/lowe-lab-ucl/projects/1\n          github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}\n", "state": "active", "repository": "quantumjot/btrack"}
{"mined_at": "2024-07-15T17:55:45.143466", "created_at": "2024-04-30T19:45:27+02:00", "updated_at": "2024-05-02T12:04:36+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yaml", "contents": "name: pre-commit\n\n# This will prevent multiple runs of the same workflow from running concurrently\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\non:\n  # Trigger manually\n  workflow_dispatch:\n\n  # Trigger on any push to the master\n  push:\n    branches:\n      - master\n\n  # Trigger on any push to a PR that targets master\n  pull_request:\n    branches:\n      - master\n\njobs:\n\n  run-all-files:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n    - run: pip install pre-commit\n    - run: pre-commit install\n    - run: pre-commit run --all-files\n\n", "state": "active", "repository": "automl/neps"}
{"mined_at": "2024-07-15T17:55:46.273396", "created_at": "2021-12-23T01:59:48+01:00", "updated_at": "2021-12-23T01:59:48+01:00", "name": "tests", "path": ".github/workflows/tests.yaml", "contents": "name: tests\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n\njobs:\n  tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        os: [ubuntu-latest, macos-latest, windows-latest]\n    defaults:\n      run:\n        shell: bash\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - run: pipx install poetry\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n          cache-dependency-path: '**/pyproject.toml'\n      - run: poetry install\n      - run: poetry run pytest -m \"\"  # Run all markers\n\n", "state": "active", "repository": "automl/neps"}
{"mined_at": "2024-07-15T17:55:47.310803", "created_at": "2022-06-28T00:15:44+02:00", "updated_at": "2022-06-28T00:15:44+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "automl/neps"}
{"mined_at": "2024-07-15T17:55:49.444583", "created_at": "2023-04-21T12:43:21+02:00", "updated_at": "2023-04-21T12:43:21+02:00", "name": "Python application", "path": ".github/workflows/python-app.yml", "contents": "---\nname: Python application\n\non:\n    push:\n        branches: [main]\n    pull_request:\n        branches: [main]\n\npermissions:\n    contents: read\n\njobs:\n    build:\n\n        runs-on: buildjet-16vcpu-ubuntu-2204\n\n        steps:\n            - uses: actions/checkout@v4\n            - name: Set up Python 3.11\n              uses: actions/setup-python@v4\n              with:\n                  python-version: '3.11'\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install ruff pytest pytest-cov black codespell yamlfmt isort pyupgrade\n                  pip install -r requirements.txt\n            - name: Run black\n              run: |\n                  black .\n            - name: Spellcheck with codespell\n              run: |\n                  codespell --skip=*.css,*.js,*.map,*.scss,*.svg --ignore-words-list=magent,pres,roate\n            - name: Lint with ruff\n              run: |\n                  ruff check .\n            - name: Run isort\n              run: |\n                  isort . --profile black\n            - name: Run pyupgrade\n              run: |\n                  pyupgrade --py38-plus\n            - name: Test with pytest\n              run: |\n                  pytest --cov=agilerl --cov-report=xml\n            - name: Upload coverage reports to Codecov\n              uses: codecov/codecov-action@v3\n              env:\n                  CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "agilerl/agilerl"}
{"mined_at": "2024-07-15T17:55:50.667232", "created_at": "2023-04-21T16:36:05+02:00", "updated_at": "2023-04-21T16:36:05+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "agilerl/agilerl"}
{"mined_at": "2024-07-15T17:55:52.928052", "created_at": "2024-01-22T11:09:38+01:00", "updated_at": "2024-01-24T14:44:41+01:00", "name": "Lint", "path": ".github/workflows/code-style.yml", "contents": "name: Lint\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  check-black-formatting:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n", "state": "active", "repository": "vantage6/vantage6"}
{"mined_at": "2024-07-15T17:55:54.049607", "created_at": "2022-09-20T09:24:17+02:00", "updated_at": "2022-09-20T15:43:20+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '38 5 * * 6'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "vantage6/vantage6"}
{"mined_at": "2024-07-15T17:55:55.210327", "created_at": "2022-08-03T15:53:55+02:00", "updated_at": "2022-12-21T13:45:22+01:00", "name": "Handle newly opened issues", "path": ".github/workflows/main.yml", "contents": "name: Handle newly opened issues\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  add-new-label:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n    steps:\n      - uses: actions/github-script@v6\n        with:\n          script: |\n            github.rest.issues.addLabels({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              labels: [\"status:new\"]\n            })\n", "state": "active", "repository": "vantage6/vantage6"}
{"mined_at": "2024-07-15T17:55:56.320153", "created_at": "2022-05-16T14:11:04+02:00", "updated_at": "2022-11-02T12:59:40+01:00", "name": "Build & Release", "path": ".github/workflows/release.yml", "contents": "name: Build & Release\n\non:\n  push:\n    tags:\n      - \"version/*.*.*\"\n\njobs:\n  # Check that the tag that is being used starts with `version/`. If\n  # this is not the case, this tag is not intended for release.\n  verify:\n    name: Verify version tag\n    runs-on: ubuntu-latest\n    steps:\n      - id: verify\n        if: startsWith(github.ref, 'refs/tags/version') != true\n        uses: andymckay/cancel-action@0.2\n\n  # From the tag we split the individual version components:\n  # major.minor.patch.stage<N>. Note that post releases are not part\n  # of this schema as they are only used for releasing updated docker\n  # images. This job also commits the version number to the git repo\n  version:\n    name: Apply version\n    runs-on: ubuntu-latest\n    needs: verify\n    steps:\n      - name: split\n        id: split\n        run: |\n          TAG=${GITHUB_REF#refs/*/}\n          VERSION=${TAG#version/*}\n          PARTS=(${VERSION//\\./ })\n          MAJOR=${PARTS[0]}\n          echo \"version=${VERSION}\" >> $GITHUB_OUTPUT\n          echo \"major=${MAJOR}\" >> $GITHUB_OUTPUT\n          echo \"minor=${PARTS[1]}\" >> $GITHUB_OUTPUT\n          PARTS2=( $(grep -Eo '[[:digit:]]+|[^[:digit:]]+' <<< ${PARTS[2]} ) )\n          echo \"patch=${PARTS2[0]}\" >> $GITHUB_OUTPUT\n          echo \"stage=${PARTS2[1]}\" >> $GITHUB_OUTPUT\n          echo \"build=${PARTS2[2]}\" >> $GITHUB_OUTPUT\n          MAJOR_NAME=''\n          if [[ $MAJOR == '4' ]]; then MAJOR_NAME=\"cotopaxi\"; fi\n          if [[ $MAJOR == '3' ]]; then MAJOR_NAME=\"petronas\"; fi\n          if [[ $MAJOR == '2' ]]; then MAJOR_NAME=\"harukas\"; fi\n          if [[ $MAJOR == '1' ]]; then MAJOR_NAME=\"trolltunga\"; fi\n          echo \"major_name=${MAJOR_NAME}\" >> $GITHUB_OUTPUT\n\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Get branch on which the tag is based\n        id: branchname\n        run: |\n          # get the branch on which the tag is based\n          raw=$(git branch -r --contains ${{ github.ref }})\n          # delete the name of the branch up to and including 'origin/'\n          branch=$(echo $raw | sed 's/.*origin\\///')\n          echo \"branch=${branch}\" >> $GITHUB_OUTPUT\n\n      - name: Checkout branch on which tag was pushed\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ env.branch }}\n          token: ${{ secrets.COMMIT_PAT }}\n\n      - name: Update version in Python packages\n        id: set_versions\n        env:\n          build: ${{ steps.split.outputs.build }}\n          stage: ${{ steps.split.outputs.stage }}\n          major: ${{ steps.split.outputs.major }}\n          minor: ${{ steps.split.outputs.minor }}\n          patch: ${{ steps.split.outputs.patch }}\n        run: |\n          BUILD=\"--build 0\"; if [[ -n $build ]]; then BUILD=\"--build $build\"; fi\n          SPEC=\"--spec final\"\n          if [[ $stage == 'a' ]]; then SPEC=\"--spec alpha\"; fi\n          if [[ $stage == 'b' ]]; then SPEC=\"--spec beta\"; fi\n          if [[ $stage == 'rc' ]]; then SPEC=\"--spec candidate\"; fi\n          FLAGS=\"--version ${major}.${minor}.${patch} $BUILD --post 0 $SPEC\"\n          make set-version FLAGS=\"$FLAGS\"\n\n      - name: Update UI version in package.json\n        env:\n          version: ${{ steps.split.outputs.version }}\n        run: |\n          cd vantage6-ui/\n          npm version --no-git-tag-version --allow-same-version $version\n\n      - name: commit\n        env:\n          version: ${{ steps.split.outputs.version }}\n          branch: ${{ steps.branchname.outputs.branch }}\n        run: |\n          git config --local user.name github-actions\n          git config --local user.email github-actions@github.com\n          git add *\n          git commit -m \"Updated the version to ${version}\"\n          git push origin HEAD:$branch\n\n    outputs:\n      version: ${{ steps.split.outputs.version }}\n      major: ${{ steps.split.outputs.major }}\n      minor: ${{ steps.split.outputs.minor }}\n      patch: ${{ steps.split.outputs.patch }}\n      stage: ${{ steps.split.outputs.stage }}\n      build: ${{ steps.split.outputs.build }}\n      major_name: ${{ steps.split.outputs.major_name }}\n      branch: ${{ steps.branchname.outputs.branch }}\n\n  # Create Github release which can be used DOI generation\n  github-release:\n    runs-on: ubuntu-latest\n    needs: version\n    env:\n      version: ${{ needs.version.outputs.version }}\n      stage: ${{ needs.version.outputs.stage }}\n      branch: ${{ needs.version.outputs.branch }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{env.branch}}\n      - name: Release\n        uses: softprops/action-gh-release@v2\n        with:\n          prerelease: ${{ env.stage != '' }}\n\n  support-images:\n    name: Build support images\n    runs-on: ubuntu-latest\n    needs: version\n    env:\n      version: ${{ needs.version.outputs.version }}\n      branch: ${{ needs.version.outputs.branch }}\n\n    steps:\n      - name: Login to harbor2.vantage6.ai\n        env:\n          USERNAME: ${{ secrets.DOCKER_USERNAME }}\n          PASSWORD: ${{ secrets.DOCKER_TOKEN }}\n        run: docker login harbor2.vantage6.ai -u $USERNAME -p $PASSWORD\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.branch }}\n\n      - # Add support for more platforms with QEMU (optional)\n        # https://github.com/docker/setup-qemu-action\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      # We need this for building multi-arch images\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build and push support images\n        run: make support-image TAG=$version PUSH_REG=true\n\n  infrastructure-images:\n    name: Build infrastructure images\n    runs-on: ubuntu-latest\n    needs: version\n    env:\n      version: ${{ needs.version.outputs.version }}\n      major: ${{ needs.version.outputs.major }}\n      minor: ${{ needs.version.outputs.minor }}\n      patch: ${{ needs.version.outputs.patch }}\n      stage: ${{ needs.version.outputs.stage }}\n      branch: ${{ needs.version.outputs.branch }}\n\n    steps:\n      - name: Login to harbor2.vantage6.ai\n        env:\n          USERNAME: ${{ secrets.DOCKER_USERNAME }}\n          PASSWORD: ${{ secrets.DOCKER_TOKEN }}\n        run: docker login harbor2.vantage6.ai -u $USERNAME -p $PASSWORD\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.branch }}\n\n      - # Add support for more platforms with QEMU (optional)\n        # https://github.com/docker/setup-qemu-action\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - # We need this for building multi-arch images\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - # we only release a new base image if it is a major or minor release\n        name: Build and push Docker base image\n        if: ${{ env.patch == 0 }}\n        run: make base-image TAG=${major}.${minor} PUSH_REG=true\n\n      - # build the actual infrastructure images\n        name: Build and push Docker image\n        run: make image TAG=$version BASE=${major}.${minor} PUSH_REG=true\n\n      - # build the algorithm store image\n        name: Build and push Docker algorithm store image\n        run: make algorithm-store-image TAG=$version BASE=${major}.${minor} PUSH_REG=true\n\n      - # build the UI image\n        name: Build and push UI image\n        run: make ui-image TAG=$version BASE=${major}.${minor} PUSH_REG=true\n\n  algorithm-base-image:\n    name: Build algorithm base image\n    runs-on: ubuntu-latest\n    needs: version\n    env:\n      major: ${{ needs.version.outputs.major }}\n      minor: ${{ needs.version.outputs.minor }}\n      branch: ${{ needs.version.outputs.branch }}\n\n    steps:\n      - name: Login to harbor2.vantage6.ai\n        env:\n          USERNAME: ${{ secrets.DOCKER_USERNAME }}\n          PASSWORD: ${{ secrets.DOCKER_TOKEN }}\n        run: docker login harbor2.vantage6.ai -u $USERNAME -p $PASSWORD\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.branch }}\n\n      - # Add support for more platforms with QEMU (optional)\n        # https://github.com/docker/setup-qemu-action\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      # We need this for building multi-arch images\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build and push Algorithm base image\n        run: make algorithm-base-image TAG=${major}.${minor} PUSH_REG=true\n\n      - name: Build and push Algorithm OMOP base image\n        run: make algorithm-omop-base-image BASE=${major}.${minor} TAG=${major}.${minor} PUSH_REG=true\n\n  # Update the server and node images on harbor2 for this major version,\n  # including the 'live' tag that triggers a redeployment of the IKNL deployment\n  deploy:\n    runs-on: ubuntu-latest\n    needs: [version, infrastructure-images]\n    env:\n      version: ${{ needs.version.outputs.version }}\n      major: ${{ needs.version.outputs.major }}\n      minor: ${{ needs.version.outputs.minor }}\n      patch: ${{ needs.version.outputs.patch }}\n      stage: ${{ needs.version.outputs.stage }}\n      major_name: ${{ needs.version.outputs.major_name }}\n    steps:\n      - name: Login to harbor2.vantage6.ai\n        env:\n          USERNAME: ${{ secrets.DOCKER_USERNAME }}\n          PASSWORD: ${{ secrets.DOCKER_TOKEN }}\n        run: |\n          docker login harbor2.vantage6.ai -u $USERNAME -p $PASSWORD\n\n      - name: Pull docker images\n        run: |\n          docker pull harbor2.vantage6.ai/infrastructure/server:${version}\n          docker pull harbor2.vantage6.ai/infrastructure/node:${version}\n          docker pull harbor2.vantage6.ai/infrastructure/algorithm-store:${version}\n          docker pull harbor2.vantage6.ai/infrastructure/ui:${version}\n          docker pull harbor2.vantage6.ai/infrastructure/alpine:${version}\n          docker pull harbor2.vantage6.ai/infrastructure/vpn-client:${version}\n          docker pull harbor2.vantage6.ai/infrastructure/vpn-configurator:${version}\n          docker pull harbor2.vantage6.ai/infrastructure/ssh-tunnel:${version}\n          docker pull harbor2.vantage6.ai/infrastructure/squid:${version}\n\n      - name: Tag docker images\n        if: ${{  env.stage == ''  &&  env.major_name != '' }}\n        run: |\n          docker tag harbor2.vantage6.ai/infrastructure/server:${version} harbor2.vantage6.ai/infrastructure/server:${major_name}\n          docker tag harbor2.vantage6.ai/infrastructure/server:${version} harbor2.vantage6.ai/infrastructure/server:${major_name}-live\n          docker tag harbor2.vantage6.ai/infrastructure/node:${version} harbor2.vantage6.ai/infrastructure/node:${major_name}\n          docker tag harbor2.vantage6.ai/infrastructure/algorithm-store:${version} harbor2.vantage6.ai/infrastructure/algorithm-store:${major_name}\n          docker tag harbor2.vantage6.ai/infrastructure/ui:${version} harbor2.vantage6.ai/infrastructure/ui:${major_name}\n\n      - # Release a node image for major.minor. This is released for any\n        # non-candidate release or if no non-candidate release has been made yet\n        # for the current minor version\n        name: Build latest node minor image\n        if: ${{ env.stage == '' || env.patch == 0 }}\n        run: |\n          docker tag harbor2.vantage6.ai/infrastructure/node:${version} harbor2.vantage6.ai/infrastructure/node:${major}.${minor}\n          docker push harbor2.vantage6.ai/infrastructure/node:${major}.${minor}\n\n      - name: Push docker images\n        if: ${{  env.stage == ''  &&  env.major_name != '' }}\n        run: |\n          docker push harbor2.vantage6.ai/infrastructure/server:${major_name}\n          docker push harbor2.vantage6.ai/infrastructure/server:${major_name}-live\n          docker push harbor2.vantage6.ai/infrastructure/node:${major_name}\n          docker push harbor2.vantage6.ai/infrastructure/algorithm-store:${major_name}\n          docker push harbor2.vantage6.ai/infrastructure/ui:${major_name}\n\n      - # Release matching support images for major.minor. This is released for any\n        # non-candidate release or if no non-candidate release has been made yet\n        # for the current minor version\n        name: Build latest minor version support images\n        if: ${{ env.stage == '' || env.patch == 0 }}\n        run: |\n          docker tag harbor2.vantage6.ai/infrastructure/alpine:${version} harbor2.vantage6.ai/infrastructure/alpine:${major}.${minor}\n          docker push harbor2.vantage6.ai/infrastructure/alpine:${major}.${minor}\n\n          docker tag harbor2.vantage6.ai/infrastructure/vpn-client:${version} harbor2.vantage6.ai/infrastructure/vpn-client:${major}.${minor}\n          docker push harbor2.vantage6.ai/infrastructure/vpn-client:${major}.${minor}\n\n          docker tag harbor2.vantage6.ai/infrastructure/vpn-configurator:${version} harbor2.vantage6.ai/infrastructure/vpn-configurator:${major}.${minor}\n          docker push harbor2.vantage6.ai/infrastructure/vpn-configurator:${major}.${minor}\n\n          docker tag harbor2.vantage6.ai/infrastructure/ssh-tunnel:${version} harbor2.vantage6.ai/infrastructure/ssh-tunnel:${major}.${minor}\n          docker push harbor2.vantage6.ai/infrastructure/ssh-tunnel:${major}.${minor}\n\n          docker tag harbor2.vantage6.ai/infrastructure/squid:${version} harbor2.vantage6.ai/infrastructure/squid:${major}.${minor}\n          docker push harbor2.vantage6.ai/infrastructure/squid:${major}.${minor}\n\n\n  # Build an release all the vantage6 infrastructure packages. For all\n  # the packages it will (1) update the version as specified in the tag,\n  # (2) build the package, (3) upload it to pypi, and (4) build and push\n  # the Docker image\n  build-n-release:\n    name: Build and release the project\n    runs-on: ubuntu-latest\n    # Note: infrastructure-images is not a required dependency, but we want\n    # to ensure that step succeeds before pushing the code to PyPi\n    needs: [version, infrastructure-images]\n    env:\n      version: ${{ needs.version.outputs.version }}\n      major: ${{ needs.version.outputs.major }}\n      minor: ${{ needs.version.outputs.minor }}\n      patch: ${{ needs.version.outputs.patch }}\n      stage: ${{ needs.version.outputs.stage }}\n      build: ${{ needs.version.outputs.build }}\n      branch: ${{ needs.version.outputs.branch }}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.branch }}\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install click\n          pip install wheel\n          pip install twine\n\n      - name: Build project\n        id: make\n        run: |\n          make rebuild\n\n      - name: Publish project to PyPi\n        id: publish\n        if: ${{ !env.ACT }}\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          make publish\n\n  # When the project is built and released the Discord community is notified.\n  notify:\n    runs-on: ubuntu-latest\n    needs: [version, build-n-release, deploy]\n    env:\n      version: ${{ needs.version.outputs.version }}\n      stage: ${{ needs.version.outputs.stage }}\n      branch: ${{ needs.version.outputs.branch }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ env.branch }}\n\n      - name: Install dependencies\n        run: |\n          pip install discord.py==1.7.3\n          pip install click\n\n      - name: Notify Discord community\n        if: ${{  env.stage == '' }}\n        env:\n          DISCORD_TOKEN: ${{ secrets.DISCORD_RELEASE_TOKEN }}\n        run: |\n          make community FLAGS=\"--version $version --notes '' \\\n            --post-notes ''\"\n", "state": "active", "repository": "vantage6/vantage6"}
{"mined_at": "2024-07-15T17:55:57.534796", "created_at": "2022-05-17T15:03:47+02:00", "updated_at": "2022-05-19T10:55:42+02:00", "name": "Unit tests", "path": ".github/workflows/unit_tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Unit tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  unittest:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest\n        # note that these are not the requirements from the individual packages, but\n        # the requirments from the repository root\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        make install-dev\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with coveralls\n      run: |\n        coverage run --source=vantage6 --omit=\"utest.py\",\"*.html\",\"*.htm\",\"*.txt\",\"*.yml\",\"*.yaml\" utest.py\n        coverage lcov\n    - name: Coveralls\n      uses: coverallsapp/github-action@master\n      with:\n        path-to-lcov: ./coverage.lcov\n        github-token: ${{ secrets.GITHUB_TOKEN }}\n\n", "state": "active", "repository": "vantage6/vantage6"}
{"mined_at": "2024-07-15T17:55:59.684924", "created_at": "2020-11-18T16:16:31+01:00", "updated_at": "2020-11-23T17:20:16+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [push]\njobs:\n  python-tests:\n    runs-on: ubuntu-22.04\n\n    services:\n      db:\n        image: postgres:15.7\n        # Health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres # pragma: allowlist secret\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n\n      redis:\n        image: redis:5.0.8\n        ports:\n          - 6379:6379\n\n      elastic:\n        image: docker.elastic.co/elasticsearch/elasticsearch:6.8.23\n        env:\n          network.host: \"0.0.0.0\"\n          http.cors.enabled: \"true\"\n          http.cors.allow-origin: \"*\"\n          rest.action.multi.allow_explicit_index: \"false\"\n          ES_JAVA_OPTS: -Xms512m -Xmx512m\"\n        ports:\n          - 9200:9200\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Apt update\n        run: sudo apt-get update -y\n\n      - name: Apt install\n        run: cat Aptfile | sudo xargs apt-get install\n\n      - name: Install poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.8.2\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9.15\"\n          cache: \"poetry\"\n\n      - name: Install dependencies\n        run: poetry install --no-interaction\n\n      # Configurations required for elasticsearch.\n      - name: Configure sysctl limits\n        run: |\n          sudo swapoff -a\n          sudo sysctl -w vm.swappiness=1\n          sudo sysctl -w fs.file-max=262144\n          sudo sysctl -w vm.max_map_count=262144\n\n      - name: Runs Elasticsearch\n        uses: elastic/elastic-github-actions/elasticsearch@master\n        with:\n          stack-version: 6.7.1\n\n      - name: Running Celery\n        run: |\n          celery -A mitxpro worker -B -l INFO &\n          sleep 10\n        env:\n          CELERY_TASK_ALWAYS_EAGER: \"True\"\n          CELERY_BROKER_URL: redis://localhost:6379/4\n          CELERY_RESULT_BACKEND: redis://localhost:6379/4\n          SECRET_KEY: local_unsafe_key # pragma: allowlist secret\n          MITOL_HUBSPOT_API_PRIVATE_TOKEN: test-token\n          MITXPRO_BASE_URL: http://localhost:8053\n          MAILGUN_SENDER_DOMAIN: other.fake.site\n          MAILGUN_KEY: fake_mailgun_key\n          MITXPRO_ADMIN_EMAIL: example@localhost\n          OPENEDX_API_CLIENT_ID: fake_client_id\n          OPENEDX_API_CLIENT_SECRET: fake_client_secret # pragma: allowlist secret\n\n      - name: Tests\n        run: |\n          export MEDIA_ROOT=\"$(mktemp -d)\"\n          poetry run ./scripts/test/python_tests.sh\n        env:\n          DEBUG: False\n          NODE_ENV: \"production\"\n          CELERY_TASK_ALWAYS_EAGER: \"True\"\n          CELERY_BROKER_URL: redis://localhost:6379/4\n          CELERY_RESULT_BACKEND: redis://localhost:6379/4\n          DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres # pragma: allowlist secret\n          WEBPACK_DISABLE_LOADER_STATS: \"True\"\n          ELASTICSEARCH_URL: localhost:9200\n          MAILGUN_KEY: fake_mailgun_key\n          MAILGUN_SENDER_DOMAIN: other.fake.site\n          MITOL_DIGITAL_CREDENTIALS_VERIFY_SERVICE_BASE_URL: http://localhost:5000\n          MITOL_DIGITAL_CREDENTIALS_HMAC_SECRET: fake.hmac.secret # pragma: allowlist secret\n          MITOL_HUBSPOT_API_PRIVATE_TOKEN: test-token\n          MITXPRO_ADMIN_EMAIL: example@localhost\n          MITXPRO_BASE_URL: http://localhost:8053\n          MITXPRO_DB_DISABLE_SSL: \"True\"\n          MITXPRO_EMAIL_BACKEND: django.core.mail.backends.locmem.EmailBackend\n          MITXPRO_NOTIFICATION_EMAIL_BACKEND: django.core.mail.backends.locmem.EmailBackend\n          MITXPRO_SECURE_SSL_REDIRECT: \"False\"\n          MITXPRO_USE_S3: \"False\"\n          OPENEDX_API_BASE_URL: http://localhost:18000\n          OPENEDX_API_CLIENT_ID: fake_client_id\n          OPENEDX_API_CLIENT_SECRET: fake_client_secret # pragma: allowlist secret\n          SECRET_KEY: local_unsafe_key # pragma: allowlist secret\n\n      - name: Upload coverage to CodeCov\n        uses: codecov/codecov-action@v3\n        with:\n          file: ./coverage.xml\n\n  javascript-tests:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup NodeJS\n        uses: actions/setup-node@v2-beta\n        with:\n          node-version: 15.14.0\n\n      - name: Get yarn cache directory path\n        id: yarn-cache-dir-path\n        run: echo \"dir=$(yarn config get cacheFolder)\" >> $GITHUB_OUTPUT\n\n      - uses: actions/cache@v4\n        id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)\n        with:\n          path: ${{ steps.yarn-cache-dir-path.outputs.dir }}\n          key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-yarn-\n      - name: Install dependencies\n        run: yarn install --immutable\n\n      - name: Lints\n        run: npm run lint-check\n\n      - name: Code formatting\n        run: npm run fmt:check\n\n      - name: Scss lint\n        run: npm run scss-lint\n\n      - name: Flow\n        run: npm run flow\n\n      - name: Tests\n        run: npm run test\n        env:\n          CODECOV: true\n          NODE_ENV: development\n\n      - name: Webpack build\n        run: node node_modules/webpack/bin/webpack.js --config webpack.config.prod.js --bail\n\n      - name: Upload test coverage to CodeCov\n        uses: codecov/codecov-action@v3\n        with:\n          file: coverage/lcov.info\n", "state": "active", "repository": "mitodl/mitxpro"}
{"mined_at": "2024-07-15T17:56:00.724533", "created_at": "2023-01-31T22:57:56+01:00", "updated_at": "2023-01-31T22:57:56+01:00", "name": "Add new issues to mitodl/hq", "path": ".github/workflows/new-issues.yml", "contents": "---\nname: Add new issues to mitodl/hq\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  add-to-hq:\n    uses: mitodl/ol-github-workflows/.github/workflows/add-to-ol-hq.yaml@main\n    secrets: inherit\n", "state": "active", "repository": "mitodl/mitxpro"}
{"mined_at": "2024-07-15T17:56:01.813640", "created_at": "2022-05-12T19:39:12+02:00", "updated_at": "2024-01-09T17:15:40+01:00", "name": "Production Deploy", "path": ".github/workflows/production.yml", "contents": "name: Production Deploy\n\non:\n  workflow_run:\n    workflows: [CI]\n    types: [completed]\n    branches: [release]\n  workflow_dispatch: # manual trigger\n\njobs:\n  # runs if CI workflow was successful OR if this was manually triggered\n  on-success:\n    runs-on: ubuntu-22.04\n    if: >\n      github.event_name == 'workflow_dispatch' ||\n      github.event.workflow_run.conclusion == 'success'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: release\n      - uses: akhileshns/heroku-deploy@581dd286c962b6972d427fcf8980f60755c15520\n        with:\n          heroku_api_key: ${{ secrets.HEROKU_API_KEY }}\n          heroku_app_name: \"xpro-production\"\n          heroku_email: ${{ secrets.HEROKU_EMAIL }}\n          branch: release\n  # runs ONLY on a failure of the CI workflow\n  on-failure:\n    runs-on: ubuntu-22.04\n    if: >\n      github.event_name == 'workflow_dispatch' ||\n      github.event.workflow_run.conclusion == 'failure'\n    steps:\n      - run: echo 'The triggering workflow failed'\n", "state": "disabled_manually", "repository": "mitodl/mitxpro"}
{"mined_at": "2024-07-15T17:56:02.944194", "created_at": "2022-05-12T19:39:12+02:00", "updated_at": "2024-01-09T17:15:45+01:00", "name": "Release Candidate Deploy", "path": ".github/workflows/release-candiate.yml", "contents": "name: Release Candidate Deploy\n\non:\n  workflow_run:\n    workflows: [CI]\n    types: [completed]\n    branches: [release-candidate]\n  workflow_dispatch: # manual trigger\n\njobs:\n  # runs if CI workflow was successful OR if this was manually triggered\n  on-success:\n    runs-on: ubuntu-22.04\n    if: >\n      github.event_name == 'workflow_dispatch' ||\n      github.event.workflow_run.conclusion == 'success'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: release-candidate\n      - uses: akhileshns/heroku-deploy@581dd286c962b6972d427fcf8980f60755c15520\n        with:\n          heroku_api_key: ${{ secrets.HEROKU_API_KEY }}\n          heroku_app_name: \"xpro-rc\"\n          heroku_email: ${{ secrets.HEROKU_EMAIL }}\n          branch: release-candidate\n  # runs ONLY on a failure of the CI workflow\n  on-failure:\n    runs-on: ubuntu-22.04\n    if: >\n      github.event_name == 'workflow_dispatch' ||\n      github.event.workflow_run.conclusion == 'failure'\n    steps:\n      - run: echo 'The triggering workflow failed'\n", "state": "disabled_manually", "repository": "mitodl/mitxpro"}
{"mined_at": "2024-07-15T17:56:03.950745", "created_at": "2024-04-05T15:48:45+02:00", "updated_at": "2024-04-05T15:48:45+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "mitodl/mitxpro"}
{"mined_at": "2024-07-15T17:56:06.031153", "created_at": "2024-06-28T17:03:46+02:00", "updated_at": "2024-06-28T17:03:46+02:00", "name": "Get APRL checklists", "path": ".github/workflows/get_aprl.yml", "contents": null, "state": "active", "repository": "azure/review-checklists"}
{"mined_at": "2024-07-15T17:56:07.185080", "created_at": "2024-06-14T11:29:59+02:00", "updated_at": "2024-06-28T08:35:14+02:00", "name": "Get the-aks-checklist", "path": ".github/workflows/get_theakschecklist.yml", "contents": "name: Get the-aks-checklist - Triggered\non:\n    schedule:\n        - cron: '0 0 * * 0'  # every Sunday at midnight\n    workflow_dispatch:\njobs:\n  get-theakschecklist:\n    runs-on: ubuntu-latest\n    steps:\n    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n    - uses: actions/checkout@v2\n    # Get the AKS checklist\n    - name: Retrieve the AKS checklist\n      uses: ./.github/actions/get_the_aks_checklist\n      with:\n        output_file: './checklists/theaks_checklist.en.json'\n        checklist_file: './checklists/aks_checklist.en.json'\n        verbose: 'true'\n    # Create a PR\n    - name: Create pull request\n      uses: peter-evans/create-pull-request@v3.10.1\n      with:\n        title: 'Latest version of the AKS checklist retrieved'\n        body: 'This PR is to retrieve the latest version of the-AKS-checklist.'\n        token: ${{ secrets.WORKFLOW_PAT }}\n", "state": "active", "repository": "azure/review-checklists"}
{"mined_at": "2024-07-15T17:56:08.388498", "created_at": "2024-06-28T09:09:49+02:00", "updated_at": "2024-06-29T09:17:44+02:00", "name": "Get WAF service guides", "path": ".github/workflows/get_waf_sg.yml", "contents": null, "state": "active", "repository": "azure/review-checklists"}
{"mined_at": "2024-07-15T17:56:09.563905", "created_at": "2021-10-27T18:32:05+02:00", "updated_at": "2021-10-27T18:32:05+02:00", "name": "Lint Code Base", "path": ".github/workflows/linter.yml", "contents": "---\nname: Lint Code Base\nenv:\n  VALIDATE_JSON: true\non:\n  # push:\n  #  branches-ignore: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  build:\n    name: Lint Code Base\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v2\n        with:\n          # Full git history is needed to get a proper list of changed files within `super-linter`\n          fetch-depth: 0\n      - name: Lint Code Base for JSON correctness\n        uses: github/super-linter/slim@v4\n        env:\n          VALIDATE_ALL_CODEBASE: false\n          DEFAULT_BRANCH: main\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Check that GUIDs are unique\n        id: checklistlint\n        uses: erjosito/review-checklist-lint@v0.42\n        with:\n          file_extension: 'en.json'\n          key_name: 'guid'\n          criteria_key: '.metadata.state'  # Remove these last two lines to check all checklists (and not only those in preview)\n          criteria_value: 'GA'             # Remove these last two lines to check all checklists (and not only those in preview)\n", "state": "active", "repository": "azure/review-checklists"}
{"mined_at": "2024-07-15T17:56:10.744431", "created_at": "2021-10-13T10:38:16+02:00", "updated_at": "2021-10-27T18:45:45+02:00", "name": "Translation", "path": ".github/workflows/translate.yml", "contents": "name: Translation\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  \non:\n  # pull_request:\n  #   branches: [ main ]\n  #   paths:\n  #   - '**.en.json' # only take action when *.en.json files change   \n  push:\n    branches: [ main ]\n    paths:\n    - '**.en.json' # only take action when *.en.json files change   \n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  translate:\n    runs-on: ubuntu-latest\n    steps:\n\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n\n      # Get list of files that have been changed in the push\n      - id: files\n        uses: masesgroup/retrieve-changed-files@v2\n\n      # Set variables that indicate whether XLSX files have been modified, which would indicate that\n      #   this action has been triggered by an automated action\n      - id: automationresult\n        name: Verify whether this action is a result of another action\n        run: |\n          for input_file in ${{ steps.files.outputs.all }}; do\n            if [[ \"$input_file\" == *\"xlsx\" ]]; then \n              echo \"Modification to XLSX file $input_file detected, this seems to be the output of an automated PR\"\n              echo \"excel_file_changed=yes\" >> $GITHUB_OUTPUT\n            else\n              echo \"$input_file is not an XLSX file\"\n            fi\n          done\n\n      # Process the changed files\n      # Note that this step is not run if the previous step found an XLSX file modified\n      #   (indicating that this action is the result of another action). Hence, this step\n      #   wouldn't be run, not setting the variable `done_something`, so that the rest of\n      #   the steps are not executed either.\n      - name: Work with the list of modified files - sort, update timestamp, translate\n        if: ${{ steps.automationresult.outputs.excel_file_changed != 'yes' }}\n        id: translate\n        env:\n          AZURE_TRANSLATOR_SUBSCRIPTION_KEY: ${{ secrets.AZURE_TRANSLATOR_SUBSCRIPTION_KEY }}\n          AZURE_TRANSLATOR_ENDPOINT: ${{ secrets.AZURE_TRANSLATOR_ENDPOINT }}\n          AZURE_TRANSLATOR_REGION: ${{ secrets.AZURE_TRANSLATOR_REGION }}\n        run: |\n          echo \"DEBUG: steps.automationresult.outputs.excel_file_changed: ${{ steps.automationresult.outputs.excel_file_changed }}\"\n          for input_file in ${{ steps.files.outputs.all }}; do \n            input_file_extension=${input_file: -7}\n            # Only process English checklists (.en.json)\n            if [[ \"$input_file_extension\" == \"en.json\" ]]; then\n              echo \"Processing ${input_file}...\"\n              echo \"done_something=yes\" >> $GITHUB_OUTPUT\n              # Sort modified file\n              python3 ./scripts/sort_checklist.py --input-file $input_file\n              # Update the timestamp in the modified file\n              python3 ./scripts/timestamp_checklist.py --input-file $input_file\n              # Translate modified file\n              python3 ./scripts/translate.py --input-file $input_file\n            fi\n          done\n\n      # Generate macro-free spreadsheets and Azure Monitor workbooks\n      - name: Setup python\n        if: ${{ steps.translate.outputs.done_something == 'yes' }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8 #install the python needed\n      - name: Install dependencies\n        if: ${{ steps.translate.outputs.done_something == 'yes' }}\n        run: |\n          python -m pip install --upgrade pip\n          pip install requests openpyxl\n      # Create Excel spreadsheets\n      - name: Execute excel python script # run file\n        if: ${{ steps.translate.outputs.done_something == 'yes' }}\n        run: |\n          python3 ./scripts/update_excel_openpyxl.py --checklist-file=\"${{ steps.files.outputs.all }}\" --find-all --excel-file=\"./spreadsheet/macrofree/review_checklist_empty.xlsx\" --output-name-is-input-name --output-path=\"./spreadsheet/macrofree/\" --verbose\n\n      # Generate master (aka Godzilla) checklist, both JSON and Excel\n      - name: Create master checklist\n        if: ${{ steps.translate.outputs.done_something == 'yes' }}\n        run: |\n          python3 ./scripts/create_master_checklist.py --input-folder './checklists/' --language en --add-services --excel-file=\"./spreadsheet/macrofree/review_checklist_master_empty.xlsx\" --output-name=\"checklist.en.master\" --json-output-folder=\"./checklists/\" --xlsx-output-folder=\"./spreadsheet/macrofree/\" --verbose\n\n      # Generate WAF checklist, both JSON and Excel\n      - name: Create WAF checklist\n        if: ${{ steps.translate.outputs.done_something == 'yes' }}\n        run: |\n          for lan in \"en\" \"es\" \"ja\" \"ko\" \"pt\" \"zh-Hant\"; do\n            python3 ./scripts/create_master_checklist.py --waf --add-arm-services --language $lan --input-folder './checklists/' --excel-file=\"./spreadsheet/macrofree/review_checklist_waf_empty.xlsx\" --output-name=\"waf_checklist.${lan}\" --json-output-folder=\"./checklists/\" --xlsx-output-folder=\"./spreadsheet/macrofree/\" --verbose\n          done\n\n      # Create Azure Monitor workbooks\n      - name: Execute workbook python script # run file\n        if: ${{ steps.translate.outputs.done_something == 'yes' }}\n        run: |\n          # Create workbooks for the modified file\n          python3 ./scripts/workbook_create.py --checklist-file=\"${{ steps.files.outputs.all }}\" --output-path=\"./workbooks/\" --blocks-path=\"./workbooks/blocks/\"\n          python3 ./scripts/workbook_create.py --checklist-file=\"${{ steps.files.outputs.all }}\" --output-path=\"./workbooks/\" --blocks-path=\"./workbooks/blocks/\" --counters\n          # Extra static commands to generate a network-specific ALZ workbook\n          python3 ./scripts/workbook_create.py --checklist-file ./checklists/alz_checklist.en.json --output-path ./workbooks --blocks-path ./workbooks/blocks --create-arm-template --category=network --query-size medium\n          python3 ./scripts/workbook_create.py --checklist-file ./checklists/alz_checklist.en.json --output-file ./workbooks/alz_checklist.en_network_counters.json --blocks-path ./workbooks/blocks --create-arm-template --category=network --query-size tiny --counters\n          python3 ./scripts/workbook_create.py --checklist-file ./checklists/alz_checklist.en.json --output-file ./workbooks/alz_checklist.en_network_tabcounters.json --blocks-path ./workbooks/blocks --create-arm-template --category=network --query-size tiny --tab-counters\n          # App delivery\n          python3 ./scripts/workbook_create.py --checklist-file ./checklists/network_appdelivery_checklist.en.json --output-file ./workbooks/appdelivery_checklist.en_network_workbook.json --blocks-path ./workbooks/blocks --create-arm-template --category=network --query-size tiny\n          python3 ./scripts/workbook_create.py --checklist-file ./checklists/network_appdelivery_checklist.en.json --output-file ./workbooks/appdelivery_checklist.en_network_counters_workbook.json --blocks-path ./workbooks/blocks --create-arm-template --category=network --query-size tiny --counters\n\n      # Create the PR if any change was made\n      - name: Create pull request\n        uses: peter-evans/create-pull-request@v3.10.1\n        if: ${{ steps.translate.outputs.done_something == 'yes' }}\n        with:\n          # title: '${{ steps.translator.outputs.summary-title }}'\n          # body: '${{ steps.translator.outputs.summary-details }}'\n          title: 'Automatic translation of ${{ steps.files.outputs.all }}'\n          body: 'Processed changed files ${{ steps.files.outputs.all }}'\n          token: ${{ secrets.WORKFLOW_PAT }}\n", "state": "active", "repository": "azure/review-checklists"}
{"mined_at": "2024-07-15T17:56:13.303242", "created_at": "2023-01-16T04:37:32+01:00", "updated_at": "2023-01-16T04:37:32+01:00", "name": "Performance benchmarking", "path": ".github/workflows/benchmark.yml", "contents": "name: Performance benchmarking\n\non:\n  push:\n    branches: [ develop ]\n\njobs:\n  benchmark:\n    runs-on: ubuntu-latest\n    steps:\n      - run: |\n          curl -X POST \\\n          -H \"Authorization: Bearer ${{secrets.TAIPY_INTEGRATION_TESTING_ACCESS_TOKEN}}\" \\\n          -H \"Accept: application/vnd.github.v3+json\" \\\n          https://api.github.com/repos/Avaiga/taipy-integration-testing/actions/workflows/benchmark.yml/dispatches \\\n          -d '{\"ref\": \"develop\"}'\n", "state": "active", "repository": "avaiga/taipy-core"}
{"mined_at": "2024-07-15T17:56:14.343477", "created_at": "2022-04-29T16:10:21+02:00", "updated_at": "2022-05-05T08:39:16+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ develop, dev/*, release/* ]\n  pull_request:\n    branches: [ develop, dev/*, release/* ]\n  schedule:\n    - cron: '22 15 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "avaiga/taipy-core"}
{"mined_at": "2024-07-15T17:56:15.588276", "created_at": "2022-02-18T16:41:23+01:00", "updated_at": "2022-02-18T16:41:23+01:00", "name": "Coverage", "path": ".github/workflows/coverage.yml", "contents": "name: Coverage\n\non:\n  pull_request:\n    branches: [ develop, dev/*, release/* ]\n\njobs:\n  backend-coverage:\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        python-versions: [3.9]\n        os: [ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-versions }}\n\n      - name: Pyodbc and Pymysql and Psycopg2 and Fastparquet\n        env:\n          TOX_PARALLEL_NO_SPINNER: 1\n        run: |\n          pip install tox\n          tox -e coverage\n\n      - name: Code coverage\n        uses: orgoro/coverage@v2\n        with:\n          coverageFile: coverage.xml\n          token: ${{ secrets.GITHUB_TOKEN }}\n          thresholdAll: 0.85\n", "state": "active", "repository": "avaiga/taipy-core"}
{"mined_at": "2024-07-15T17:56:16.785556", "created_at": "2023-01-16T12:51:51+01:00", "updated_at": "2023-01-18T22:07:01+01:00", "name": "Python linter and type checker", "path": ".github/workflows/linter.yml", "contents": "name: Python linter and type checker\n\non:\n  push:\n    branches: [ develop, dev/*, release/* ]\n  pull_request:\n    branches: [ develop, dev/*, release/* ]\n\njobs:\n  linter:\n    timeout-minutes: 20\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - uses: ricardochaves/python-lint@v1.4.0\n        with:\n          use-pylint: false\n          extra-black-options: \"--line-length=120\"\n          extra-pycodestyle-options: \"--max-line-length=120 --ignore=E121,E123,E126,E226,E24,E704,W503,W504,E203\"\n          extra-mypy-options: \"--ignore-missing-imports --implicit-optional\"\n", "state": "active", "repository": "avaiga/taipy-core"}
{"mined_at": "2024-07-15T17:56:18.116679", "created_at": "2022-07-01T13:42:43+02:00", "updated_at": "2022-07-01T13:42:43+02:00", "name": "Test package installation", "path": ".github/workflows/packaging.yml", "contents": "name: Test package installation\n\non:\n  push:\n    branches: [ develop, dev/*, release/* ]\n  pull_request:\n    branches: [ develop, dev/*, release/* ]\n  schedule:\n    - cron: \"0 8 * * *\"\n\njobs:\n  standard-packages:\n    timeout-minutes: 10\n    strategy:\n      matrix:\n        python-versions: [ '3.8', '3.9', '3.10', '3.11' ]\n        os: [ ubuntu-latest, windows-latest, macos-latest ]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-versions }}\n\n      - name: Test packaging\n        run: |\n          pip install .\n          python -c \"import taipy as tp; tp.Scenario\"\n\n  optionals-packages:\n    timeout-minutes: 10\n    strategy:\n      matrix:\n        python-versions: [ '3.8', '3.9', '3.10', '3.11' ]\n        os: [ ubuntu-latest, windows-latest, macos-latest ]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-versions }}\n\n      - name: Test packaging with optional package\n        run: |\n          # Extract optionals packages before installing them\n          grep -n 'setup(' setup.py | cut -d \":\" -f 1 | xargs -I% bash -c \"expr % - 1\" | xargs -I% bash -c 'head -n% setup.py' > setup_packages.py\n          echo \"[print(k) for k in extras_require.keys()]\" >> setup_packages.py\n          python setup_packages.py | xargs -I% bash -c \"pip install .[%]\"\n\n          python -c \"import taipy as tp; tp.Scenario\"\n", "state": "active", "repository": "avaiga/taipy-core"}
{"mined_at": "2024-07-15T17:56:19.170912", "created_at": "2022-04-07T08:55:11+02:00", "updated_at": "2022-04-20T17:42:23+02:00", "name": "Publish on Pypi", "path": ".github/workflows/publish.yml", "contents": "name: Publish on Pypi\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"The tag of the package to publish on Pypi (ex: 1.0.0, 1.0.0.dev0)\"\n        required: true\n\njobs:\n  test-package:\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Extract Github Tag Version\n        id: vars\n        run: echo \"tag=${GITHUB_REF#refs/*/}\" >> $GITHUB_OUTPUT\n\n      - name: Ensure package version is properly set\n        run: |\n          echo \"\"\"\n          import json, sys, os\n          with open(f\\\"src{os.sep}taipy{os.sep}core{os.sep}version.json\\\") as version_file:\n            version_o = json.load(version_file)\n          version = f'{version_o.get(\\\"major\\\")}.{version_o.get(\\\"minor\\\")}.{version_o.get(\\\"patch\\\")}'\n          if vext := version_o.get(\\\"ext\\\"):\n            version = f'{version}.{vext}'\n          if version != sys.argv[1]:\n            raise ValueError(f\\\"Invalid version {version} / {sys.argv[1]}\\\")\n          if sys.argv[1] != sys.argv[2]:\n            raise ValueError(f\\\"Invalid tag version {sys.argv[2]} with package version {sys.argv[1]}\\\")\n          \"\"\" > /tmp/check.py\n          python /tmp/check.py \"${{ github.event.inputs.version }}\" \"${{ steps.vars.outputs.tag }}\"\n\n      - name: Download assets from github release tag\n        run: |\n          gh release download ${{ github.event.inputs.version }} --dir dist\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Verify there is a release asset\n        run: |\n          if [ ! -f dist/${{ github.event.repository.name }}-${{ github.event.inputs.version }}.tar.gz ]; then\n            echo \"No release asset found\"\n            exit 1\n          fi\n\n  publish-to-pypi:\n    needs: [test-package]\n    timeout-minutes: 20\n    environment: publish\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Download assets from tag\n        run: |\n          gh release download ${{ github.event.inputs.version }} --dir dist\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n  test-published-package:\n    needs: [publish-to-pypi]\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        python-versions: ['3.8','3.9','3.10', '3.11']\n        os: [ubuntu-latest,windows-latest,macos-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-versions }}\n\n      - name: Install package\n        run: |\n          pip install --upgrade pip\n          pip install --no-cache-dir ${{ github.event.repository.name }}==${{ github.event.inputs.version }}\n", "state": "active", "repository": "avaiga/taipy-core"}
{"mined_at": "2024-07-15T17:56:20.283098", "created_at": "2023-06-13T17:27:30+02:00", "updated_at": "2023-08-04T10:00:43+02:00", "name": "Create Github Dev Release", "path": ".github/workflows/release-dev.yml", "contents": "name: Create Github Dev Release\n\non:\n  workflow_dispatch:\n    inputs:\n      taipy-config-version:\n        description: \"The taipy-config version to use (ex: 2.3.0.dev0)\"\n\njobs:\n  release-dev-package:\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ssh-key: ${{secrets.DEPLOY_KEY}}\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n\n      - name: Ensure package version has 'dev' suffix\n        run: |\n          echo \"\"\"\n          import json, sys, os\n          SUFFIX = 'dev'\n          with open(f\\\"src{os.sep}taipy{os.sep}core{os.sep}version.json\\\") as version_file:\n              version_o = json.load(version_file)\n          version = f'{version_o.get(\\\"major\\\")}.{version_o.get(\\\"minor\\\")}.{version_o.get(\\\"patch\\\")}'\n          if vext := version_o.get(\\\"ext\\\"):\n              version = f'{version}.{vext}'\n          if SUFFIX not in version:\n              raise ValueError(f\\\"version {version} does not contain suffix {SUFFIX}\\\")\n          \"\"\" > /tmp/check1.py\n          python /tmp/check1.py\n\n      - name: Extract package version\n        id: current-version\n        run: |\n          echo \"\"\"\n          import json, os\n          with open(f\\\"src{os.sep}taipy{os.sep}core{os.sep}version.json\\\") as version_file:\n              version_o = json.load(version_file)\n          version = f'{version_o.get(\\\"major\\\")}.{version_o.get(\\\"minor\\\")}.{version_o.get(\\\"patch\\\")}'\n          if vext := version_o.get(\\\"ext\\\"):\n              version = f'{version}.{vext}'\n          print(f'VERSION={version}')\n          \"\"\" > /tmp/check2.py\n          python /tmp/check2.py >> $GITHUB_OUTPUT\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n\n      - name: Check dependencies are available\n        if: github.event.inputs.taipy-config-version != ''\n        run: |\n          curl https://pypi.org/simple/taipy-config/ | grep -o \">taipy-config-${{ github.event.inputs.taipy-config-version }}\\.tar\\.gz<\"\n\n      - name: Update setup.py locally\n        if: github.event.inputs.taipy-config-version != ''\n        run: |\n          mv setup.py setup.taipy.py\n          echo \"\"\"\n          import sys\n          with open('setup.taipy.py', mode='r') as setup_r, open('setup.py', mode='w') as setup_w:\n              in_requirements = False\n              looking = True\n              for line in setup_r:\n                  if looking:\n                      if line.lstrip().startswith('requirements') and line.rstrip().endswith('['):\n                          in_requirements = True\n                      elif in_requirements:\n                          if line.strip() == ']':\n                              looking = False\n                          else:\n                              if line.lstrip().startswith('\\\"taipy-config@git+https'):\n                                  start = line.find('\\\"taipy-config')\n                                  end = line.rstrip().find(',')\n                                  line = f'{line[:start]}\\\"taipy-config=={sys.argv[1]}\\\"{line[end:]}'\n                  setup_w.write(line)\n          \"\"\" > /tmp/write_setup_taipy.py\n          python /tmp/write_setup_taipy.py \"${{ github.event.inputs.taipy-config-version }}\"\n\n      - name: Build package\n        run: python setup.py build_py && python -m build\n\n      - name: Install the package and test it\n        run: |\n          # Install package\n          echo \"Installing package...\"\n          pip install ./dist/${{ github.event.repository.name }}-${{ steps.current-version.outputs.VERSION }}.tar.gz\n\n          # Run tests\n          python -c \"import taipy as tp; tp.Scenario\"\n\n      - name: Extract commit hash\n        shell: bash\n        run: echo \"##[set-output name=hash;]$(echo $(git rev-parse HEAD))\"\n        id: extract_hash\n\n      - name: Create/update release and tag\n        run: |\n          echo \"Creating release ${{ steps.current-version.outputs.VERSION }}\"\n          gh release create ${{ steps.current-version.outputs.VERSION }} ./dist/${{ github.event.repository.name }}-${{ steps.current-version.outputs.VERSION }}.tar.gz --target ${{ steps.extract_hash.outputs.hash }} --prerelease --title ${{ steps.current-version.outputs.VERSION }} --notes \"Dev Release ${{ steps.current-version.outputs.VERSION }}\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Reset changes\n        run: |\n          git reset --hard HEAD\n          git clean -fdx\n\n      - name: Increase dev version\n        id: new-version\n        run: |\n          echo \"\"\"\n          import json, os\n          with open(f'src{os.sep}taipy{os.sep}core{os.sep}version.json') as version_file:\n              version_o = json.load(version_file)\n              if version_o is None or 'dev' not in version_o['ext']:\n                  raise ValueError('Invalid version file. Version must contain dev suffix.')\n              prev_version = version_o['ext']\n              new_version = 'dev' + str(int(version_o['ext'].replace('dev', '')) + 1)\n              with open(f'src{os.sep}taipy{os.sep}core{os.sep}version.json') as r:\n                  text = r.read().replace(prev_version, new_version)\n              with open(f'src{os.sep}taipy{os.sep}core{os.sep}version.json', mode='w') as w:\n                  w.write(text)\n              with open(f\\\"src{os.sep}taipy{os.sep}core{os.sep}version.json\\\") as version_file:\n                  version_o = json.load(version_file)\n              version = f'{version_o.get(\\\"major\\\")}.{version_o.get(\\\"minor\\\")}.{version_o.get(\\\"patch\\\")}'\n              if vext := version_o.get(\\\"ext\\\"):\n                  version = f'{version}.{vext}'\n              print(f'VERSION={version}')\n          \"\"\" > /tmp/increase_dev_version.py\n          python /tmp/increase_dev_version.py >> $GITHUB_OUTPUT\n\n      - uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: Update version to ${{ steps.new-version.outputs.VERSION }}\n", "state": "active", "repository": "avaiga/taipy-core"}
{"mined_at": "2024-07-15T17:56:21.347268", "created_at": "2022-02-18T16:41:23+01:00", "updated_at": "2022-04-20T17:42:23+02:00", "name": "Create Github Release", "path": ".github/workflows/release.yml", "contents": "name: Create Github Release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"The release/package version to create (ex: 1.0.0)\"\n        required: true\n\njobs:\n  release-package:\n    timeout-minutes: 20\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Extract branch name\n        shell: bash\n        run: echo \"##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})\"\n        id: extract_branch\n\n      - name: Ensure package version is properly set\n        run: |\n          echo \"\"\"\n          import json, sys, os\n          with open(f\\\"src{os.sep}taipy{os.sep}core{os.sep}version.json\\\") as version_file:\n              version_o = json.load(version_file)\n          version = f'{version_o.get(\\\"major\\\")}.{version_o.get(\\\"minor\\\")}.{version_o.get(\\\"patch\\\")}'\n          if vext := version_o.get(\\\"ext\\\"):\n              version = f'{version}.{vext}'\n          if version != sys.argv[1]:\n              raise ValueError(f\\\"Invalid version {version} / {sys.argv[1]}\\\")\n          \"\"\" > /tmp/check1.py\n          python /tmp/check1.py \"${{ github.event.inputs.version }}\"\n\n      - name: Validate branch name\n        run: |\n          echo \"\"\"\n          import json, sys, os\n          with open(f\\\"src{os.sep}taipy{os.sep}core{os.sep}version.json\\\") as version_file:\n              version = json.load(version_file)\n          if f'release/{version.get(\\\"major\\\")}.{version.get(\\\"minor\\\")}' != sys.argv[1]:\n              raise ValueError(f'Branch name mismatch: release/{version.get(\\\"major\\\")}.{version.get(\\\"minor\\\")} != {sys.argv[1]}')\n          \"\"\" > /tmp/check2.py\n          python /tmp/check2.py \"${{ steps.extract_branch.outputs.branch }}\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n\n      - name: Build and install package\n        run: |\n          python setup.py build_py && python -m build\n          pip install dist/*.tar.gz\n\n      - name: Extract commit hash\n        shell: bash\n        run: echo \"##[set-output name=hash;]$(echo $(git rev-parse HEAD))\"\n        id: extract_hash\n\n      - name: Create/update release and tag\n        run: |\n            gh release create ${{ github.event.inputs.version }} ./dist/${{ github.event.repository.name }}-${{ github.event.inputs.version }}.tar.gz --target ${{ steps.extract_hash.outputs.hash }} --title ${{ github.event.inputs.version }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "avaiga/taipy-core"}
{"mined_at": "2024-07-15T17:56:22.394688", "created_at": "2022-02-18T16:41:23+01:00", "updated_at": "2022-02-18T16:41:23+01:00", "name": "Python tests", "path": ".github/workflows/tests.yml", "contents": "name: Python tests\n\non:\n  push:\n    branches: [ develop, dev/*, release/* ]\n  pull_request:\n    branches: [ develop , dev/*, release/* ]\n\njobs:\n  backend:\n    timeout-minutes: 20\n    strategy:\n      matrix:\n        python-versions: ['3.8', '3.9', '3.10', '3.11']\n        os: [ubuntu-latest, windows-latest, macos-latest]\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-versions }}\n\n      - name: Install Tox\n        run: pip install tox\n\n      - name: Run linter and all tests except Pyodbc's, Pymysql's, Psycopg2's, and Fastparquet\n        if: matrix.python-versions == '3.10' && matrix.os == 'windows-latest'\n        env:\n          TOX_PARALLEL_NO_SPINNER: 1\n        run: tox -p all\n\n      - name: Ensure no usage of manager or repository classes without factory\n        if: matrix.python-versions == '3.10' && matrix.os == 'ubuntu-latest'\n        run: |\n          ! grep -rP '_ScenarioManager(?!Factory)' taipy --exclude=\"_scenario_manager*.py\" --exclude-dir=\"__pycache__\"\n          ! grep -rP '_DataManager(?!Factory)' taipy --exclude=\"_data_manager*.py\" --exclude-dir=\"__pycache__\"\n          ! grep -rP '_TaskManager(?!Factory)' taipy --exclude=\"_task_manager*.py\" --exclude-dir=\"__pycache__\"\n          ! grep -rP '_SequenceManager(?!Factory)' taipy --exclude=\"_sequence_manager*.py\" --exclude-dir=\"__pycache__\"\n          ! grep -rP '_JobManager(?!Factory)' taipy --exclude=\"_job_manager*.py\" --exclude-dir=\"__pycache__\"\n          ! grep -rP '_CycleManager(?!Factory)' taipy --exclude=\"_cycle_manager*.py\" --exclude-dir=\"__pycache__\"\n          ! grep -rP '_ScenarioRepository(?!Factory)' taipy --exclude=\"_scenario_repository*.py\" --exclude-dir=\"__pycache__\"\n          ! grep -rP '_DataRepository(?!Factory)' taipy --exclude=\"_data_repository*.py\" --exclude-dir=\"__pycache__\"\n          ! grep -rP '_TaskRepository(?!Factory)' taipy --exclude=\"_task_repository*.py\" --exclude-dir=\"__pycache__\"\n          ! grep -rP '_SequenceRepository(?!Factory)' taipy --exclude=\"_sequence_repository*.py\" --exclude-dir=\"__pycache__\"\n          ! grep -rP '_JobRepository(?!Factory)' taipy --exclude=\"_job_repository*.py\" --exclude-dir=\"__pycache__\"\n          ! grep -rP '_CycleRepository(?!Factory)' taipy --exclude=\"_cycle_repository*.py\" --exclude-dir=\"__pycache__\"\n\n\n      - name: Run all tests\n        if: matrix.python-versions != '3.10' || matrix.os != 'windows-latest'\n        env:\n          TOX_PARALLEL_NO_SPINNER: 1\n        run: tox -e all-tests\n", "state": "active", "repository": "avaiga/taipy-core"}
{"mined_at": "2024-07-15T17:56:23.397288", "created_at": "2023-07-27T23:17:03+02:00", "updated_at": "2023-07-27T23:17:03+02:00", "name": "Benchmark on taipy-integration-testing", "path": ".github/workflows/trigger-benchmark.yml", "contents": "name: Benchmark on taipy-integration-testing\non:\n  push:\n    branches: [develop]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Trigger taipy-integration-testing\n        uses: peter-evans/repository-dispatch@v1\n        with:\n          token: ${{secrets.TAIPY_INTEGRATION_TESTING_ACCESS_TOKEN}}\n          repository: avaiga/taipy-integration-testing\n          event-type: benchmark\n          client-payload: '{\"repo\": \"taipy-core\", \"commitSHA\": \"${{ github.sha }}\"}'\n", "state": "active", "repository": "avaiga/taipy-core"}
{"mined_at": "2024-07-15T17:56:24.415818", "created_at": "2023-10-05T04:35:12+02:00", "updated_at": "2023-10-06T09:42:44+02:00", "name": "Integration testings on taipy-integration-testing", "path": ".github/workflows/trigger-integration-tests.yml", "contents": "name: Integration testings on taipy-integration-testing\non:\n  push:\n    branches: [ develop, dev/* ]\n  pull_request:\n    branches: [ develop , dev/* ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Trigger taipy-integration-testing\n        uses: convictional/trigger-workflow-and-wait@v1.6.1\n        with:\n          owner: Avaiga\n          repo: taipy-integration-testing\n          github_token: ${{secrets.TAIPY_INTEGRATION_TESTING_ACCESS_TOKEN}}\n          workflow_file_name: tests.yml\n          ref: develop\n          wait_interval: 60\n          propagate_failure: true\n          trigger_workflow: true\n          wait_workflow: true\n          client_payload: '{\"repo\": \"taipy-core\", \"commitSHA\": \"${{ github.sha }}\"}'\n", "state": "active", "repository": "avaiga/taipy-core"}
{"mined_at": "2024-07-15T17:56:26.512194", "created_at": "2021-02-17T19:36:08+01:00", "updated_at": "2024-01-17T09:59:34+01:00", "name": "ci", "path": ".github/workflows/main.yml", "contents": "name: ci\n\non:\n  push:\n    branches:\n      - master\n      - renovate/*\n      - dev/*\n    tags:\n      - v*\n  pull_request:\n    branches:\n      - master\n      - dev/*\n      - stable/*\n\njobs:\n  ci:\n    uses: AmpelProject/Ampel-interface/.github/workflows/ci.yml@e880b6e4cc9827cb4a85a06d00cb36738d9dda93 # ci-py12-v3\n    secrets: inherit\n    with:\n      mongo: true\n      lint: true\n      # renovate: datasource=conda depName=conda-forge/python\n      python-version: \"3.12.4\"\n      # renovate: datasource=pypi depName=ruff\n      ruff-version: \"0.4.9\"\n", "state": "active", "repository": "ampelproject/ampel-core"}
{"mined_at": "2024-07-15T17:56:27.615710", "created_at": "2021-12-17T08:42:23+01:00", "updated_at": "2021-12-17T08:42:23+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ampelproject/ampel-core"}
{"mined_at": "2024-07-15T17:56:30.712347", "created_at": "2020-08-22T16:37:41+02:00", "updated_at": "2020-08-22T16:37:41+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\non:\n    push:\n        branches:\n            - master\njobs:\n    deploy:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v4\n              with:\n                  fetch-depth: 0\n            - uses: actions/setup-python@v5\n              with:\n                  python-version: \"3.11\"\n            - name: Install GDAL\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL pyproj\n            - name: Test GDAL installation\n              run: |\n                  python -c \"from osgeo import gdal\"\n                  gdalinfo --version\n            - name: Install libgeos\n              run: sudo apt -y install libgeos-dev\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install --user --no-cache-dir Cython\n                  pip install .[all]\n            - name: LOAD EE CREDENTIALS\n              run: python ./.github/ee_token.py\n              env:\n                  EARTHENGINE_TOKEN: ${{ secrets.EARTHENGINE_TOKEN }}\n            - name: GEEMAP-TEST\n              run: |\n                  python -m unittest discover tests/\n            - run: pip install -r requirements_docs.txt\n            - run: cp -R examples/data docs/data\n            - run: mkdocs gh-deploy --force\n              env:\n                  USE_FOLIUM: ${{ secrets.USE_FOLIUM }}\n                  USE_MKDOCS: ${{ secrets.USE_MKDOCS }}\n", "state": "active", "repository": "gee-community/geemap"}
{"mined_at": "2024-07-15T17:56:31.744641", "created_at": "2020-08-23T04:03:31+02:00", "updated_at": "2020-08-23T21:35:43+02:00", "name": "pypi", "path": ".github/workflows/pypi.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: pypi\n\non:\n    release:\n        types: [created]\n\njobs:\n    deploy:\n        runs-on: ubuntu-latest\n\n        steps:\n            - uses: actions/checkout@v4\n            - name: Set up Python\n              uses: actions/setup-python@v5\n              with:\n                  python-version: \"3.x\"\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install setuptools wheel twine\n            - name: Build and publish\n              env:\n                  TWINE_USERNAME: ${{ secrets.PYPI_USERS }}\n                  TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n              run: |\n                  pip install build\n                  python -m build\n                  twine upload dist/*\n", "state": "active", "repository": "gee-community/geemap"}
{"mined_at": "2024-07-15T17:56:32.734811", "created_at": "2021-12-18T04:12:59+01:00", "updated_at": "2021-12-18T04:12:59+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "gee-community/geemap"}
{"mined_at": "2024-07-15T17:56:33.801857", "created_at": "2022-01-24T06:17:05+01:00", "updated_at": "2022-01-24T06:25:34+01:00", "name": "macOS build", "path": ".github/workflows/macos.yml", "contents": "on:\n    push:\n        branches:\n            - master\n    pull_request:\n        branches:\n            - master\n\nname: macOS build\njobs:\n    test-macOS:\n        runs-on: ${{ matrix.config.os }}\n        name: ${{ matrix.config.os }} (${{ matrix.config.py }})\n        strategy:\n            fail-fast: false\n            matrix:\n                config:\n                    - { os: macOS-latest, py: \"3.11\" }\n        env:\n            SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk\n        steps:\n            - name: CHECKOUT CODE\n              uses: actions/checkout@v4\n            - name: SETUP PYTHON\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.config.py }}\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install --no-cache-dir Cython\n                  pip install -r requirements.txt\n                  pip install .\n", "state": "active", "repository": "gee-community/geemap"}
{"mined_at": "2024-07-15T17:56:34.913647", "created_at": "2022-01-24T06:17:05+01:00", "updated_at": "2022-01-24T06:25:34+01:00", "name": "Linux build", "path": ".github/workflows/ubuntu.yml", "contents": "on:\n    push:\n        branches:\n            - master\n    pull_request:\n        branches:\n            - master\n\nname: Linux build\njobs:\n    test-ubuntu:\n        runs-on: ubuntu-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        steps:\n            - uses: actions/checkout@v4\n            - name: Set up Python\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install GDAL\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install --no-cache-dir Cython\n                  pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL\n            - name: Test GDAL installation\n              run: |\n                  python -c \"from osgeo import gdal\"\n                  gdalinfo --version\n            - name: Install dependencies\n              run: |\n                  pip install .[all]\n            - name: PKG-TEST\n              run: |\n                  python -m unittest discover tests/\n              env:\n                  HEREMAPS_API_KEY: ${{ secrets.HEREMAPS_API_KEY }}\n                  PLANET_API_KEY: ${{ secrets.PLANET_API_KEY }}\n                  EARTHENGINE_TOKEN: ${{ secrets.EARTHENGINE_TOKEN }}\n", "state": "active", "repository": "gee-community/geemap"}
{"mined_at": "2024-07-15T17:56:35.976925", "created_at": "2022-01-24T06:17:05+01:00", "updated_at": "2022-01-24T06:25:34+01:00", "name": "Windows build", "path": ".github/workflows/windows.yml", "contents": "on:\n    push:\n        branches:\n            - master\n    pull_request:\n        branches:\n            - master\n\nname: Windows build\njobs:\n    test-windows:\n        runs-on: windows-latest\n        steps:\n            - uses: actions/checkout@v4\n            - name: Install miniconda\n              uses: conda-incubator/setup-miniconda@v3\n              with:\n                  auto-activate-base: true\n                  python-version: \"3.11\"\n            - name: Install GDAL\n              run: conda install -c conda-forge gdal --yes\n            - name: Test GDAL installation\n              run: |\n                  python -c \"from osgeo import gdal\"\n                  gdalinfo --version\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install --no-cache-dir Cython\n                  pip install -r requirements.txt\n                  pip install .\n", "state": "active", "repository": "gee-community/geemap"}
{"mined_at": "2024-07-15T17:56:37.163887", "created_at": "2022-09-18T02:54:08+02:00", "updated_at": "2022-09-18T02:54:08+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n    push:\n        branches: [\"master\"]\n    pull_request:\n        # The branches below must be a subset of the branches above\n        branches: [\"master\"]\n    schedule:\n        - cron: \"31 20 * * 6\"\n\njobs:\n    analyze:\n        name: Analyze\n        runs-on: ubuntu-latest\n        permissions:\n            actions: read\n            contents: read\n            security-events: write\n\n        strategy:\n            fail-fast: false\n            matrix:\n                language: [\"javascript\", \"python\"]\n                # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n                # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n        steps:\n            - name: Checkout repository\n              uses: actions/checkout@v4\n\n            # Initializes the CodeQL tools for scanning.\n            - name: Initialize CodeQL\n              uses: github/codeql-action/init@v3\n              with:\n                  languages: ${{ matrix.language }}\n                  # If you wish to specify custom queries, you can do so here or in a config file.\n                  # By default, queries listed here will override any specified in a config file.\n                  # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n                  # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n                  # queries: security-extended,security-and-quality\n\n            # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n            # If this step fails, then you should remove it and run the build manually (see below)\n            - name: Autobuild\n              uses: github/codeql-action/autobuild@v3\n\n            # ℹ️ Command-line programs to run using the OS shell.\n            # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n            #   If the Autobuild fails above, remove it and uncomment the following three lines.\n            #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n            # - run: |\n            #   echo \"Run, Build Application using script\"\n            #   ./location_of_script_within_repo/buildscript.sh\n\n            - name: Perform CodeQL Analysis\n              uses: github/codeql-action/analyze@v3\n              with:\n                  category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "gee-community/geemap"}
{"mined_at": "2024-07-15T17:56:38.393432", "created_at": "2022-09-18T03:08:31+02:00", "updated_at": "2022-09-18T03:08:31+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: \"Dependency Review\"\non: [pull_request]\n\npermissions:\n    contents: read\n\njobs:\n    dependency-review:\n        runs-on: ubuntu-latest\n        steps:\n            - name: \"Checkout Repository\"\n              uses: actions/checkout@v4\n            - name: \"Dependency Review\"\n              uses: actions/dependency-review-action@v4\n", "state": "active", "repository": "gee-community/geemap"}
{"mined_at": "2024-07-15T17:56:39.519344", "created_at": "2022-11-20T22:30:33+01:00", "updated_at": "2022-11-20T22:30:33+01:00", "name": "docs-build", "path": ".github/workflows/docs-build.yml", "contents": "name: docs-build\non:\n    pull_request:\n        branches:\n            - master\njobs:\n    deploy:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v4\n              with:\n                  fetch-depth: 0\n            - uses: actions/setup-python@v5\n              with:\n                  python-version: \"3.11\"\n            - name: Install GDAL\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL pyproj\n            - name: Test GDAL installation\n              run: |\n                  python -c \"from osgeo import gdal\"\n                  gdalinfo --version\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install --user --no-cache-dir Cython\n                  pip install .[all]\n            - name: LOAD EE CREDENTIALS\n              run: python ./.github/ee_token.py\n              env:\n                  EARTHENGINE_TOKEN: ${{ secrets.EARTHENGINE_TOKEN }}\n            - name: GEEMAP-TEST\n              run: |\n                  python -m unittest discover tests/\n            - run: pip install -r requirements_docs.txt\n            - run: cp -R examples/data docs/data\n            - run: mkdocs build\n              env:\n                  USE_FOLIUM: ${{ secrets.USE_FOLIUM }}\n                  USE_MKDOCS: ${{ secrets.USE_MKDOCS }}\n            - name: Deploy to Netlify\n              uses: nwtgck/actions-netlify@v3.0\n              with:\n                  publish-dir: \"./site\"\n                  production-branch: master\n                  github-token: ${{ secrets.GITHUB_TOKEN }}\n                  deploy-message: \"Deploy from GitHub Actions\"\n                  enable-pull-request-comment: true\n                  enable-commit-comment: false\n                  overwrites-pull-request-comment: true\n              env:\n                  NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n                  NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n              timeout-minutes: 10\n", "state": "active", "repository": "gee-community/geemap"}
{"mined_at": "2024-07-15T17:56:40.640832", "created_at": "2023-03-07T03:35:13+01:00", "updated_at": "2023-03-07T03:44:59+01:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Docker Image CI\n\non:\n    push:\n        branches: [\"master\"]\n    pull_request:\n        branches: [\"master\"]\n\njobs:\n    build:\n        runs-on: ubuntu-latest\n\n        steps:\n            - uses: actions/checkout@v4\n            - name: Build the Docker image\n              run: docker build . --file Dockerfile --tag ${{ github.repository }}:$(date +%s)\n", "state": "active", "repository": "gee-community/geemap"}
{"mined_at": "2024-07-15T17:56:41.670270", "created_at": "2023-03-07T03:44:59+01:00", "updated_at": "2023-03-07T03:44:59+01:00", "name": "Publish Docker image", "path": ".github/workflows/docker-publish.yml", "contents": "name: Publish Docker image\n\non:\n    release:\n        types: [published]\n\njobs:\n    push_to_registries:\n        name: Push Docker image to multiple registries\n        runs-on: ubuntu-latest\n        permissions:\n            packages: write\n            contents: read\n        steps:\n            - name: Check out the repo\n              uses: actions/checkout@v4\n\n            - name: Log in to Docker Hub\n              uses: docker/login-action@v3\n              with:\n                  username: ${{ secrets.DOCKER_USERNAME }}\n                  password: ${{ secrets.DOCKER_PASSWORD }}\n\n            - name: Log in to the Container registry\n              uses: docker/login-action@v3\n              with:\n                  registry: ghcr.io\n                  username: ${{ github.actor }}\n                  password: ${{ secrets.GITHUB_TOKEN }}\n\n            - name: Extract metadata (tags, labels) for Docker\n              id: meta\n              uses: docker/metadata-action@v5\n              with:\n                  images: |\n                      giswqs/geemap\n                      ghcr.io/${{ github.repository }}\n\n            - name: Build and push Docker images\n              uses: docker/build-push-action@v6\n              with:\n                  context: .\n                  push: true\n                  tags: ${{ steps.meta.outputs.tags }}\n                  labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "gee-community/geemap"}
{"mined_at": "2024-07-15T17:56:42.795320", "created_at": "2023-08-09T05:51:33+02:00", "updated_at": "2023-08-09T06:03:13+02:00", "name": "Linux installation", "path": ".github/workflows/installation.yml", "contents": "on:\n    push:\n        branches:\n            - master\n    pull_request:\n        branches:\n            - master\n\nname: Linux installation\njobs:\n    test-ubuntu:\n        runs-on: ubuntu-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python-version: [\"3.12\"]\n        steps:\n            - uses: actions/checkout@v4\n            - name: Set up Python\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install package\n              run: |\n                  pip install setuptools\n                  pip install .\n            - name: Test import\n              run: python -c \"import geemap; print('geemap import successful')\"\n", "state": "active", "repository": "gee-community/geemap"}
{"mined_at": "2024-07-15T17:56:44.946900", "created_at": "2021-02-02T21:01:21+01:00", "updated_at": "2021-02-02T21:01:21+01:00", "name": "Version Bump merged", "path": ".github/workflows/detect_version_bump.yml", "contents": "name: Version Bump merged\n\non:\n  pull_request:\n    types:\n      - \"closed\"\n    branches:\n      - \"main\"\n\njobs:\n  trigger-release:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.merged &&\n        startsWith(github.head_ref, 'bump_version_to_') &&\n        startsWith(github.event.pull_request.title, 'Bump version') &&\n        contains(github.event.pull_request.title, ' → ')\n    environment: Create Release\n    steps:\n      - name: Get new version\n        id: get-new-version\n        run: |\n          NEW_VERSION=$(echo ${{ github.head_ref }} | cut -d _ -f4 )\n          echo \"::set-output name=version::$NEW_VERSION\"\n      - name: Is prerelease?\n        id: is-prerelease\n        run: |\n          IS_PRERELEASE=$([[ \"${{ steps.get-new-version.outputs.version }}\" == *-[a-z]* ]] && echo true || echo false)\n          echo \"::set-output name=result::$IS_PRERELEASE\"\n      - name: Create Release\n        # Using full SHA for security\n        # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions\n        uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0\n        with:\n          token: ${{ secrets.ACCESS_TOKEN }}\n          tag: v${{ steps.get-new-version.outputs.version }}\n          name: v${{ steps.get-new-version.outputs.version }} Release\n          commit: main\n          prerelease: ${{ steps.is-prerelease.outputs.result }}\n", "state": "active", "repository": "plannigan/columbo"}
{"mined_at": "2024-07-15T17:56:45.973312", "created_at": "2020-09-04T16:23:17+02:00", "updated_at": "2020-09-04T16:23:17+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\n# Workflow does NOT trigger on a feature branch until a pull request is created.\n# Workflow will always run when a pull request is merged to the default branch.\non:\n  pull_request: {}\n  push:\n      branches: [\"main\"]\nenv:\n  PYTHON_VERSION: \"3.12\"\n\njobs:\n  bandit:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Initialize Hatch\n        uses: ./.github/actions/initialize-hatch\n\n      - name: Run bandit\n        run: hatch run bandit-ci\n\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Initialize Hatch\n        uses: ./.github/actions/initialize-hatch\n\n      - name: Run black\n        run: hatch run black-check\n\n  flake8:\n    runs-on: ubuntu-latest\n    steps:\n        - name: Check out code\n          uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n          with:\n            python-version: ${{ env.PYTHON_VERSION }}\n        - name: Initialize Hatch\n          uses: ./.github/actions/initialize-hatch\n\n        - name: Run flake8\n          run: hatch run flake8-check\n\n  isort:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Initialize Hatch\n        uses: ./.github/actions/initialize-hatch\n\n      - name: Run isort\n        run: hatch run isort-check\n\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n        - name: Check out code\n          uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n          with:\n            python-version: ${{ env.PYTHON_VERSION }}\n        - name: Initialize Hatch\n          uses: ./.github/actions/initialize-hatch\n\n        - name: Run mypy\n          run: hatch run typing\n\n  renovate:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: 🧼 lint renovate config # Validates changes to renovate.json config file\n        uses: suzuki-shunsuke/github-action-renovate-config-validator@b54483862375f51910a60c4f498e927d4f3df466 # v1.0.1\n        with:\n          config_file_path: 'renovate.json'\n\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n        - name: Check out code\n          uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n          with:\n            python-version: ${{ matrix.python-version }}\n        - name: Initialize Hatch\n          uses: ./.github/actions/initialize-hatch\n\n        - name: Run pytest\n          run: hatch run test-ci --cov-report xml:coverage-${{ matrix.python-version }}.xml --junitxml=test-results-${{ matrix.python-version }}.xml\n\n        - name: Upload pytest test results artifact\n          uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n          with:\n            name: pytest-results-${{ matrix.python-version }}\n            path: test-results-${{ matrix.python-version }}.xml\n          # Use always() to always run this step to publish test results when there are test failures\n          if: ${{ always() }}\n\n        - name: Upload coverage results artifact\n          uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n          with:\n            name: pytest-coverage-${{ matrix.python-version }}\n            path: coverage-${{ matrix.python-version }}.xml\n          # Use always() to always run this step to publish test results when there are test failures\n          if: ${{ always() }}\n\n        - name: Publish coverage results to Codecov\n          uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0\n          with:\n            file: coverage-${{ matrix.python-version }}.xml\n            fail_ci_if_error: true\n            token: ${{ secrets.CODECOV_TOKEN }}\n\n  verify-wheel:\n    runs-on: ubuntu-latest\n    strategy:\n          matrix:\n            python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: Check out code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Build wheel\n        uses: ./.github/actions/build-dist\n      - name: Verify wheel\n        uses: ./.github/actions/verify-wheel\n        with:\n          package-import-name: \"columbo\"\n\n  build-devbox-image:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Build devbox image\n        run: docker-compose build devbox\n\n  validate-doc-examples:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Initialize Hatch\n        uses: ./.github/actions/initialize-hatch\n\n      - name: Validate docs\n        run: hatch run test-docs-examples\n\n  build-docs:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request'\n    steps:\n      - name: Check out code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Initialize Hatch\n        uses: ./.github/actions/initialize-hatch\n        with:\n          environment-name: \"docs\"\n\n      - name: Build Docs\n        run: hatch run docs:build\n\n      - name: Upload coverage results artifact\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: docs-site\n          path: site/\n\n  update-dev-docs:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n    steps:\n      - name: Check out code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Initialize Hatch\n        uses: ./.github/actions/initialize-hatch\n        with:\n          environment-name: \"docs\"\n          activate: \"true\"\n\n      - name: Push documentation changes\n        uses: ./.github/actions/publish-docs-with-mike\n        with:\n          version_name: dev\n", "state": "active", "repository": "plannigan/columbo"}
{"mined_at": "2024-07-15T17:56:47.096825", "created_at": "2021-02-02T21:01:21+01:00", "updated_at": "2021-02-16T19:49:39+01:00", "name": "Publish Release", "path": ".github/workflows/publish_release.yml", "contents": "name: Publish Release\n\nenv:\n  PYTHON_VERSION: \"3.12\"\n\non:\n  release:\n    types: [published]\n\njobs:\n  update_docs_for_version_bump:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Initialize Hatch\n        uses: ./.github/actions/initialize-hatch\n        with:\n          environment-name: \"docs\"\n          activate: \"true\"\n\n\n      - name: Push documentation changes\n        uses: ./.github/actions/publish-docs-with-mike\n        with:\n          new_version: true\n\n  build-distributions:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Build wheel\n        uses: ./.github/actions/build-dist\n\n      - name: Upload distribution artifacts\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: distributions\n          path: ./dist\n\n  publish-to-pypi:\n    runs-on: ubuntu-latest\n    environment: \"Publish Release\"\n    permissions:\n      id-token: write\n    needs: [\"build-distributions\"]\n    steps:\n      - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n        with:\n            name: distributions\n            path: ./dist\n\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0\n", "state": "active", "repository": "plannigan/columbo"}
{"mined_at": "2024-07-15T17:56:48.325619", "created_at": "2021-12-22T02:11:51+01:00", "updated_at": "2021-12-22T02:11:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "plannigan/columbo"}
{"mined_at": "2024-07-15T17:56:50.680288", "created_at": "2020-12-29T00:57:21+01:00", "updated_at": "2020-12-29T00:57:21+01:00", "name": "coverage", "path": ".github/workflows/codecov.yml", "contents": "name: coverage\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox\n        python -m pip install coverage\n    - name: Run tests with coverage\n      run: |\n        tox -e coverage\n        coverage xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n", "state": "active", "repository": "iommirocks/iommi"}
{"mined_at": "2024-07-15T17:56:51.727617", "created_at": "2020-11-10T14:44:08+01:00", "updated_at": "2020-11-10T14:44:08+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: tests\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.12'] # , 'pypy3']  # pypy3 is broken on github actions right now\n        django-version: ['3.2', '4.0', '4.1', '4.2', '5.0']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install tox\n    - name: Run tests\n      run: |\n        python .github/run-tests.py ${{ matrix.python-version }} ${{ matrix.django-version }}\n\n#  lint:\n#    runs-on: ubuntu-latest\n#    strategy:\n#      matrix:\n#        python-version: ['3.8']\n#\n#    steps:\n#    - uses: actions/checkout@v2\n#    - name: Set up Python ${{ matrix.python-version }}\n#      uses: actions/setup-python@v2\n#      with:\n#        python-version: ${{ matrix.python-version }}\n#    - name: Install dependencies\n#      run: |\n#        python -m pip install --upgrade pip\n#        python -m pip install tox\n#    - name: Run lint\n#      run: |\n#        tox -e lint\n#    - name: Run black\n#      run: |\n#        tox -e black -- --check --diff\n", "state": "active", "repository": "iommirocks/iommi"}
{"mined_at": "2024-07-15T17:56:53.790317", "created_at": "2023-02-24T10:59:39+01:00", "updated_at": "2023-02-25T03:19:30+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: CI\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.7\", \"3.8\", \"3.9\"]\n        include:\n          - os: macos-latest\n            python-version: \"3.8\"\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements/dev.txt\n        pip install \"Pillow==9.1.1\"\n        # MindSpore must be installed following the instruction from official web, but not from pypi.\n        # That's why we exclude mindspore from requirements.txt. Does this work?\n        pip install \"mindspore>=1.8\"\n    - name: Lint with pre-commit\n      uses: pre-commit/action@v3.0.0\n    - name: Test with pytest (UT)\n      run: |\n        pytest tests/modules/*.py\n    - name: Test with pytest (ST)\n      run: |\n        pytest tests/tasks/*.py\n", "state": "active", "repository": "mindspore-lab/mindcv"}
{"mined_at": "2024-07-15T17:56:54.981384", "created_at": "2023-02-25T03:19:31+01:00", "updated_at": "2023-02-25T03:19:31+01:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.8\"\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements/dev.txt\n        pip install \"Pillow==9.1.1\"\n        pip install \"mindspore>=1.8,<=1.10\"\n        pip install build twine\n    - name: Build package\n      run: |\n        python -m build\n    - name: Publish package\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        twine upload dist/*\n", "state": "active", "repository": "mindspore-lab/mindcv"}
{"mined_at": "2024-07-15T17:56:56.108206", "created_at": "2023-06-01T05:45:44+02:00", "updated_at": "2023-06-02T03:38:43+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\npermissions:\n  contents: write\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements/docs.txt\n          pip install \"Pillow==9.1.1\"\n          pip install \"mindspore>=1.8,<=1.10\"\n      - name: Build site\n        run: mkdocs build\n      - name: Deploy to gh-pages\n        if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'mindspore-lab/mindcv'\n        run: mkdocs gh-deploy --force\n", "state": "active", "repository": "mindspore-lab/mindcv"}
{"mined_at": "2024-07-15T17:56:57.319293", "created_at": "2023-06-02T03:42:22+02:00", "updated_at": "2023-06-02T03:42:22+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mindspore-lab/mindcv"}
{"mined_at": "2024-07-15T17:56:59.589597", "created_at": "2023-02-20T08:52:14+01:00", "updated_at": "2023-09-14T11:20:44+02:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy\n\non:\n  push:\n  merge_group:\n  release:\n    types:\n      - published\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [3.9, \"3.10\", \"3.11\"]\n    uses: qiboteam/workflows/.github/workflows/deploy-pip-poetry.yml@main\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      publish: ${{ github.event_name == 'release' && github.event.action == 'published' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' }}\n      poetry-extras: --with test,docs --all-extras\n    secrets: inherit\n", "state": "active", "repository": "qiboteam/qibocal"}
{"mined_at": "2024-07-15T17:57:01.023351", "created_at": "2022-12-29T14:26:30+01:00", "updated_at": "2024-02-08T13:48:53+01:00", "name": "docs", "path": ".github/workflows/publish.yml", "contents": "name: docs\n\non:\n  workflow_dispatch:\n  push:\n    branches: [main]\n    tags:\n      - \"*\"\n\njobs:\n  evaluate-label:\n    runs-on: ubuntu-latest\n    outputs:\n      label: ${{ steps.label_step.outputs.version}}\n    steps:\n      - name: checks for the label\n        id: label_step\n        run: |\n          if [[ \"${{ github.ref  }}\" == \"refs/heads/main\" ]]; then # TODO: modify the branch after merging\n                echo \"version=latest\" >> $GITHUB_OUTPUT\n          fi\n          if [[ \"${{ github.ref_type }}\" == \"branch\" ]] && [[ \"${{ github.ref  }}\" != \"refs/heads/main\" ]]; then # TODO: modify the branch after merging\n                exit 1\n          fi\n          if [[ \"${{ github.ref_type }}\" == \"tag\" ]]; then\n                echo \"version=stable\" >> $GITHUB_OUTPUT\n          fi\n\n  deploy-docs:\n    needs: [evaluate-label]\n    uses: qiboteam/workflows/.github/workflows/deploy-ghpages-latest-stable.yml@main\n    with:\n      python-version: \"3.10\"\n      package-manager: \"poetry\"\n      dependency-path: \"**/poetry.lock\"\n      trigger-label: \"${{needs.evaluate-label.outputs.label}}\"\n      poetry-extras: --with docs\n      project: qibocal\n", "state": "active", "repository": "qiboteam/qibocal"}
{"mined_at": "2024-07-15T17:57:02.148979", "created_at": "2022-07-28T22:58:42+02:00", "updated_at": "2023-05-11T05:23:57+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  workflow_dispatch:\n  push:\n  merge_group:\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [3.9, \"3.10\", \"3.11\"]\n    uses: qiboteam/workflows/.github/workflows/rules-poetry.yml@main\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      doctests: ${{ matrix.os == 'ubuntu-latest'}}\n      poetry-extras: --with test,docs --all-extras\n    secrets: inherit\n", "state": "active", "repository": "qiboteam/qibocal"}
{"mined_at": "2024-07-15T17:57:04.402237", "created_at": "2023-06-27T16:01:56+02:00", "updated_at": "2023-06-27T16:01:56+02:00", "name": "Backport", "path": ".github/workflows/backport.yml", "contents": "name: Backport\non:\n  pull_request:\n    types:\n      - closed\n      - labeled\n    paths-ignore:\n      - '_quarto.yml'\n      - 'quarto-materials/*'\n      - '**/.md'\n\njobs:\n  backport:\n    runs-on: ubuntu-latest\n    name: Backport\n    steps:\n      - name: Backport\n        uses: tibdex/backport@v1\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:05.505533", "created_at": "2023-05-22T18:25:34+02:00", "updated_at": "2023-05-22T18:25:34+02:00", "name": "artifacts", "path": ".github/workflows/library-artifacts.yaml", "contents": null, "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:06.656740", "created_at": "2023-12-09T02:49:10+01:00", "updated_at": "2023-12-13T02:07:20+01:00", "name": "libTileDB-SOMA CodeCov", "path": ".github/workflows/libtiledb-ci.yml", "contents": "name: libTileDB-SOMA CodeCov\n\non:\n  pull_request:\n    paths-ignore:\n      - \"apis/python/**\"\n      - \"apis/r/**\"\n      - \".pre-commit-config.yaml\"\n  push:\n    branches:\n      - main\n      - 'release-*'\n  workflow_dispatch:\n\njobs:\n  codecov:\n    runs-on: macos-latest\n    steps:\n    - name: Checkout TileDB-SOMA\n      uses: actions/checkout@v3\n    - name: Build libTileDB-SOMA\n      run: TILEDBSOMA_COVERAGE=\"--coverage\" ./scripts/bld --no-tiledb-deprecated=true\n    - name: Run libTileDB-SOMA unittests\n      run: ctest --test-dir build/libtiledbsoma -C Release --verbose --rerun-failed --output-on-failur\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n      with:\n        gcov: true\n        flags: libtiledbsoma\n        gcov_include: $(find libtiledbsoma -name \"*.h\" -or -name \"*.cc\")\n", "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:07.759762", "created_at": "2022-09-15T18:51:54+02:00", "updated_at": "2024-01-24T01:51:29+01:00", "name": "pkgdown", "path": ".github/workflows/pkgdown.yaml", "contents": "# Workflow derived from https://github.com/r-lib/actions/tree/master/examples\n# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help\n\non:\n  #push:\n  #  # To publish docs from your branch: list the branch name here instead of main.\n  #  branches: [main]\n  #pull_request:\n  #  # To publish docs from your branch: list the branch name here instead of main.\n  #  branches: [main]\n  release:\n    types: [published]\n  schedule:\n    - cron: \"42 9 * * *\"\n  workflow_dispatch:\n\nname: pkgdown\n\njobs:\n  pkgdown:\n    runs-on: ubuntu-latest\n    # This is GitHub Actions magic -- there are no secrets we as package owners need to set up or manage\n    env:\n      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: r-lib/actions/setup-pandoc@v1\n        with:\n          working-directory: \"apis/r\"\n\n      - uses: r-lib/actions/setup-r@v2\n        with:\n          use-public-rspm: true\n          working-directory: \"apis/r\"\n\n      - name: Set additional repositories (macOS)\n        if: ${{ matrix.os != 'ubuntu-latest' }}\n        run: echo 'options(repos = c(\"https://tiledb-inc.r-universe.dev\", getOption(\"repos\")), timeout = 300L)' | tee -a ~/.Rprofile\n\n      - name: Set additional repositories (Linux)\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          rversion <- paste(strsplit(as.character(getRversion()), split = '\\\\.')[[1L]][1:2], collapse = '.')\n          codename <-  system('. /etc/os-release; echo ${VERSION_CODENAME}', intern = TRUE)\n          repo <- \"https://tiledb-inc.r-universe.dev\"\n          (opt <- sprintf('options(repos = c(\"%s/bin/linux/%s/%s\", \"%s\", getOption(\"repos\")), timeout = 300L)', repo, codename, rversion, repo))\n          cat(opt, \"\\n\", file = \"~/.Rprofile\", append = TRUE)\n        shell: Rscript {0}\n\n      - name: Install tiledb-r\n        run: cd apis/r && Rscript tools/install-tiledb-r.R\n\n      # Run this daily to surface errors as tracked at\n      # https://github.com/single-cell-data/TileDB-SOMA/issues/2052\n      - name: Install dependencies\n        run: ./apis/r/tools/install-pkgdown-dependencies.sh\n\n      # Run this on releases, or on workflow dispatch\n      - name: Deploy package\n        if: github.event_name != 'schedule'\n        run: ./apis/r/tools/deploy-pkgdown.sh\n", "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:08.796833", "created_at": "2023-10-28T22:04:10+02:00", "updated_at": "2023-10-28T22:04:10+02:00", "name": ".github/workflows/profiler.yml", "path": ".github/workflows/profiler.yml", "contents": null, "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:10.034942", "created_at": "2023-01-19T15:15:36+01:00", "updated_at": "2023-01-19T23:51:14+01:00", "name": "TileDB-SOMA Python CI (Full)", "path": ".github/workflows/python-ci-full.yml", "contents": "name: TileDB-SOMA Python CI (Full)\n\n# This workflow calls ./python-ci-single.yml on the full {os} x {python version}\n# matrix. Since that's CI-resource-intensive, it runs only for main branch and\n# releases.\non:\n  push:\n    branches:\n      - main\n      - 'release-*'\n  release:\n    types: [published]\n  # You can also invoke this workflow manually from\n  #   https://github.com/single-cell-data/TileDB-SOMA/actions/workflows/python-ci-full.yml\n  # to test a working branch on the full matrix.\n  workflow_dispatch:\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        # TODO: decide on Windows CI coverage\n        os: [ubuntu-22.04, macos-12]\n        # os: [ubuntu-22.04, macos-12, windows-2019]\n        # TODO: add 3.12\n        # https://github.com/single-cell-data/TileDB-SOMA/issues/1849\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        include:\n          - runs-on: ubuntu-22.04\n            cc: gcc-11\n            cxx: g++-11\n          - runs-on: macos-12\n            cc: clang\n            cxx: clang++\n    uses: ./.github/workflows/python-ci-single.yml\n    with:\n      os: ${{ matrix.os }}\n      python_version: ${{ matrix.python-version }}\n      cc: ${{ matrix.cc }}\n      cxx: ${{ matrix.cxx }}\n      report_codecov: ${{ matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.11' }}\n      run_lint: ${{ matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.11' }}\n    secrets: inherit\n", "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:11.151879", "created_at": "2023-01-19T15:36:53+01:00", "updated_at": "2024-02-14T18:54:50+01:00", "name": "TileDB-SOMA Python CI (Minimal)", "path": ".github/workflows/python-ci-minimal.yml", "contents": "name: TileDB-SOMA Python CI (Minimal)\n\n# This workflow calls ./python-ci-single.yml on a limited subset of the\n# {os} x {python version} matrix. It runs for all branches, in contrast to\n# ./python-ci-full.yml, which exhausts the matrix but only for main & releases,\n# since that's CI-resource-intensive.\n#\n# To test the full matrix on a working branch, invoke ./python-ci-full.yml from\n#   https://github.com/single-cell-data/TileDB-SOMA/actions/workflows/python-ci-full.yml\non:\n  pull_request:\n    branches:\n      - main\n      - 'release-*'\n    paths:\n      - '**'\n      - '!**.md'\n      - '!apis/r/**'\n      - '!docs/**'\n      - '!.github/**'\n      - '.github/workflows/python-ci-minimal.yml'\n      - '.github/workflows/python-ci-single.yml'\n  workflow_dispatch:\n\njobs:\n  build:\n    strategy:\n      fail-fast: true\n\n      matrix:\n        os: [ubuntu-22.04, macos-12]\n        python-version: ['3.8', '3.11']\n        include:\n          - os: ubuntu-22.04\n            cc: gcc-11\n            cxx: g++-11\n          - os: macos-12\n            cc: clang\n            cxx: clang++\n    uses: ./.github/workflows/python-ci-single.yml\n    with:\n      os: ${{ matrix.os }}\n      python_version: ${{ matrix.python-version }}\n      cc: ${{ matrix.cc }}\n      cxx: ${{ matrix.cxx }}\n      report_codecov: ${{ matrix.python-version == '3.11' }}\n      run_lint: ${{ matrix.python-version == '3.11' }}\n    secrets: inherit\n", "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:12.151975", "created_at": "2024-05-03T16:51:21+02:00", "updated_at": "2024-05-07T18:18:19+02:00", "name": "TileDB-SOMA Python CI (Packaging)", "path": ".github/workflows/python-ci-packaging.yml", "contents": "# This CI confirms the Python package continues to install properly in the many\n# different required contexts\n\nname: TileDB-SOMA Python CI (Packaging)\n\non:\n  push:\n    paths:\n      - '.github/workflows/python-ci-packaging.yml'\n      - 'apis/python/MANIFEST.in'\n      - 'apis/python/pyproject.toml'\n      - 'apis/python/setup.py'\n      - 'apis/python/version.py'\n      - 'apis/python/src/tiledbsoma/__init__.py'\n      - 'libtiledbsoma/cmake/inputs/Config.cmake.in'\n      - 'libtiledbsoma/cmake/inputs/tiledbsoma.pc.in'\n      - 'libtiledbsoma/cmake/Modules/FindTileDB_EP.cmake'\n      - 'libtiledbsoma/cmake/Modules/TileDBCommon.cmake'\n      - 'libtiledbsoma/cmake/Superbuild.cmake'\n      - 'libtiledbsoma/CMakeLists.txt'\n  pull_request:\n    paths:\n      - '.github/workflows/python-ci-packaging.yml'\n      - 'apis/python/MANIFEST.in'\n      - 'apis/python/pyproject.toml'\n      - 'apis/python/setup.py'\n      - 'apis/python/version.py'\n      - 'apis/python/src/tiledbsoma/__init__.py'\n      - 'libtiledbsoma/cmake/inputs/Config.cmake.in'\n      - 'libtiledbsoma/cmake/inputs/tiledbsoma.pc.in'\n      - 'libtiledbsoma/cmake/Modules/FindTileDB_EP.cmake'\n      - 'libtiledbsoma/cmake/Modules/TileDBCommon.cmake'\n      - 'libtiledbsoma/cmake/Superbuild.cmake'\n      - 'libtiledbsoma/CMakeLists.txt'\n  workflow_dispatch:\n\njobs:\n\n  # Confirm shared object copying when building the Python package\n  # https://github.com/single-cell-data/TileDB-SOMA/pull/1937\n  docker:\n    runs-on: ubuntu-latest\n    name: \"SO copying (docker) TILEDB_EXISTS: ${{ matrix.TILEDB_EXISTS }} TILEDBSOMA_EXISTS: ${{ matrix.TILEDBSOMA_EXISTS }}\"\n    strategy:\n      fail-fast: false\n      matrix:\n        TILEDB_EXISTS: [\"no\", \"yes\"]\n        TILEDBSOMA_EXISTS: [\"no\", \"yes\"]\n        exclude:\n          - TILEDB_EXISTS: \"no\"\n            TILEDBSOMA_EXISTS: \"yes\"\n    container:\n      image: ubuntu:22.04\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Docker image info\n        run: |\n          uname -a\n          cat /etc/lsb-release\n      - name: Setup\n        run: |\n          apt-get update\n          apt-get install --yes cmake git python-is-python3 python3 python3-pip python3-venv unzip wget\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # for setuptools-scm\n      - name: Configure Git\n        run: |\n          # This is a permissions quirk due to running Git as root inside of a Docker container\n          git config --global --add safe.directory $(pwd)\n          git branch\n      - name: Install pre-built libtiledb\n        if: ${{ matrix.TILEDB_EXISTS == 'yes' }}\n        run: |\n          mkdir -p external\n          # Please do not edit manually -- let scripts/update-tiledb-version.py update this\n          wget --quiet https://github.com/TileDB-Inc/TileDB/releases/download/2.24.0/tiledb-linux-x86_64-2.24.0-ff3879b.tar.gz\n          tar -C external -xzf tiledb-linux-x86_64-*.tar.gz\n          ls external/lib/\n          echo \"LD_LIBRARY_PATH=$(pwd)/external/lib\" >> $GITHUB_ENV\n          echo \"PKG_CONFIG_PATH=$(pwd)/external/lib/pkgconfig\" >> $GITHUB_ENV\n          echo \"TILEDB_PATH=$(pwd)/external\" >> $GITHUB_ENV\n      - name: Build and install libtiledbsoma\n        if: ${{ matrix.TILEDBSOMA_EXISTS == 'yes' }}\n        run: |\n          cmake -S libtiledbsoma -B build-libtiledbsoma \\\n            -D CMAKE_BUILD_TYPE=Release \\\n            -D CMAKE_PREFIX_PATH=$(pwd)/external/ \\\n            -D CMAKE_INSTALL_PREFIX:PATH=$(pwd)/external/ \\\n            -D OVERRIDE_INSTALL_PREFIX=OFF \\\n            -D DOWNLOAD_TILEDB_PREBUILT=OFF \\\n            -D TILEDB_REMOVE_DEPRECATIONS=ON \\\n            -D FORCE_BUILD_TILEDB=OFF\n          cmake --build build-libtiledbsoma -j $(nproc)\n          cmake --build build-libtiledbsoma --target install-libtiledbsoma\n          ls external/lib/\n          echo \"TILEDBSOMA_PATH=$(pwd)/external\" >> $GITHUB_ENV\n      - name: Setup Python\n        run: |\n          python --version\n          python -m venv ./venv-soma\n          ./venv-soma/bin/python -m pip install --prefer-binary pybind11-global typeguard sparse wheel\n          ./venv-soma/bin/python -m pip list\n      - name: Build wheel\n        run: |\n          echo env vars: $LD_LIBRARY_PATH $PKG_CONFIG_PATH $TILEDB_PATH $TILEDBSOMA_PATH\n          cd apis/python\n          ../../venv-soma/bin/python setup.py bdist_wheel\n      - name: Inspect wheel\n        run: unzip -l apis/python/dist/tiledbsoma-*.whl | grep '\\.so'\n      - name: Confirm libtiledb.so is copied\n        if: ${{ matrix.TILEDB_EXISTS == 'no' }}\n        run: unzip -l apis/python/dist/tiledbsoma-*.whl | grep -q libtiledb.so\n      - name: Confirm libtiledb.so is **not** copied when using external shared object\n        if: ${{ matrix.TILEDB_EXISTS == 'yes' }}\n        run: |\n          if unzip -l apis/python/dist/tiledbsoma-*.whl | grep -q libtiledb.so\n          then\n            echo \"libtiledb.so was copied into the wheel when it was built against an external shared object\"\n            exit 1\n          fi\n      - name: Confirm libtiledbsoma.so is copied\n        if: ${{ matrix.TILEDBSOMA_EXISTS == 'no' }}\n        run: unzip -l apis/python/dist/tiledbsoma-*.whl | grep -q libtiledbsoma.so\n      - name: Confirm libtiledbsoma.so is **not** copied when using external shared object\n        if: ${{ matrix.TILEDBSOMA_EXISTS == 'yes' }}\n        run: |\n          if unzip -l apis/python/dist/tiledbsoma-*.whl | grep -q libtiledbsoma.so\n          then\n            echo \"libtiledbsoma.so was copied into the wheel when it was built against an external shared object\"\n            exit 1\n          fi\n      - name: Install wheel\n        run: ./venv-soma/bin/python -m pip install --prefer-binary apis/python/dist/tiledbsoma-*.whl\n      - name: Check linking and RPATH\n        run: |\n          ldd ./venv-soma/lib/python*/site-packages/tiledbsoma/pytiledbsoma.*.so\n          readelf -d ./venv-soma/lib/python*/site-packages/tiledbsoma/pytiledbsoma.*.so  | grep R*PATH\n      - name: Runtime test\n        run: ./venv-soma/bin/python -c \"import tiledbsoma; print(tiledbsoma.pytiledbsoma.version())\"\n      - name: Confirm linking to installed shared objects\n        run: |\n          rm -fr build/ build-libtiledbsoma/ dist/ apis/python/build apis/python/src/tiledbsoma/*tile*.so*\n          # should only show shared objects installed in virtual env or in ./external/\n          find . -name '*tile*.so*'\n          ./venv-soma/bin/python -c \"import tiledbsoma; print(tiledbsoma.pytiledbsoma.version())\"\n\n  # Confirm shared object copying when building the Python package\n  # https://github.com/single-cell-data/TileDB-SOMA/pull/1937\n  # Same as job above, but running on macOS instead of in a Docker container\n  macos:\n    runs-on: macos-13\n    name: \"SO copying (macos) TILEDB_EXISTS: ${{ matrix.TILEDB_EXISTS }} TILEDBSOMA_EXISTS: ${{ matrix.TILEDBSOMA_EXISTS }}\"\n    strategy:\n      fail-fast: false\n      matrix:\n        TILEDB_EXISTS: [\"no\", \"yes\"]\n        TILEDBSOMA_EXISTS: [\"no\", \"yes\"]\n        exclude:\n          - TILEDB_EXISTS: \"no\"\n            TILEDBSOMA_EXISTS: \"yes\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # for setuptools-scm\n      - name: Check if System Integrity Protection (SIP) is enabled\n        run: csrutil status\n      - name: Install pre-built libtiledb\n        if: ${{ matrix.TILEDB_EXISTS == 'yes' }}\n        run: |\n          mkdir -p external\n          # Please do not edit manually -- let scripts/update-tiledb-version.py update this\n          wget --quiet https://github.com/TileDB-Inc/TileDB/releases/download/2.24.0/tiledb-macos-x86_64-2.24.0-ff3879b.tar.gz\n          tar -C external -xzf tiledb-macos-x86_64-*.tar.gz\n          ls external/lib/\n          echo \"DYLD_LIBRARY_PATH=$(pwd)/external/lib\" >> $GITHUB_ENV\n          echo \"PKG_CONFIG_PATH=$(pwd)/external/lib/pkgconfig\" >> $GITHUB_ENV\n          echo \"TILEDB_PATH=$(pwd)/external\" >> $GITHUB_ENV\n      - name: Build and install libtiledbsoma\n        if: ${{ matrix.TILEDBSOMA_EXISTS == 'yes' }}\n        run: |\n          cmake -S libtiledbsoma -B build-libtiledbsoma \\\n            -D CMAKE_BUILD_TYPE=Release \\\n            -D CMAKE_PREFIX_PATH=$(pwd)/external/ \\\n            -D CMAKE_INSTALL_PREFIX:PATH=$(pwd)/external/ \\\n            -D OVERRIDE_INSTALL_PREFIX=OFF \\\n            -D DOWNLOAD_TILEDB_PREBUILT=OFF \\\n            -D TILEDB_REMOVE_DEPRECATIONS=ON \\\n            -D FORCE_BUILD_TILEDB=OFF\n          cmake --build build-libtiledbsoma -j $(nproc)\n          cmake --build build-libtiledbsoma --target install-libtiledbsoma\n          ls external/lib/\n          echo \"TILEDBSOMA_PATH=$(pwd)/external\" >> $GITHUB_ENV\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Setup Python virtual env\n        run: |\n          python --version\n          python -m venv ./venv-soma\n          ./venv-soma/bin/python -m pip install --prefer-binary pybind11-global typeguard sparse wheel setuptools\n          ./venv-soma/bin/python -m pip list\n      - name: Build wheel\n        run: |\n          echo env vars: $DYLD_LIBRARY_PATH $PKG_CONFIG_PATH $TILEDB_PATH $TILEDBSOMA_PATH\n          cd apis/python\n          ../../venv-soma/bin/python setup.py bdist_wheel\n      - name: Inspect wheel\n        run: unzip -l apis/python/dist/tiledbsoma-*.whl | grep -e '\\.dylib' -e '\\.so'\n      - name: Confirm libtiledb.dylib is copied\n        if: ${{ matrix.TILEDB_EXISTS == 'no' }}\n        run: unzip -l apis/python/dist/tiledbsoma-*.whl | grep -q libtiledb.dylib\n      - name: Confirm libtiledb.dylib is **not** copied when using external shared object\n        if: ${{ matrix.TILEDB_EXISTS == 'yes' }}\n        run: |\n          if unzip -l apis/python/dist/tiledbsoma-*.whl | grep -q libtiledb.dylib\n          then\n            echo \"libtiledb.dylib was copied into the wheel when it was built against an external shared object\"\n            exit 1\n          fi\n      - name: Confirm libtiledbsoma.dylib is copied\n        if: ${{ matrix.TILEDBSOMA_EXISTS == 'no' }}\n        run: unzip -l apis/python/dist/tiledbsoma-*.whl | grep -q libtiledbsoma.dylib\n      - name: Confirm libtiledbsoma.dylib is **not** copied when using external shared object\n        if: ${{ matrix.TILEDBSOMA_EXISTS == 'yes' }}\n        run: |\n          if unzip -l apis/python/dist/tiledbsoma-*.whl | grep -q libtiledbsoma.dylib\n          then\n            echo \"libtiledbsoma.dylib was copied into the wheel when it was built against an external shared object\"\n            exit 1\n          fi\n      - name: Install wheel\n        run: ./venv-soma/bin/python -m pip install --prefer-binary apis/python/dist/tiledbsoma-*.whl\n      - name: Check linking and RPATH\n        run: otool -L ./venv-soma/lib/python*/site-packages/tiledbsoma/pytiledbsoma.*.so\n      - name: Runtime test\n        run: ./venv-soma/bin/python -c \"import tiledbsoma; print(tiledbsoma.pytiledbsoma.version())\"\n      - name: Confirm linking to installed shared objects\n        run: |\n          rm -fr build/ build-libtiledbsoma/ dist/ apis/python/build apis/python/src/tiledbsoma/*tile*.dylib*\n          # should only show shared objects installed in virtual env or in ./external/\n          find . -name '*tile*.so*'\n          find . -name '*tile*.dylib*'\n          ./venv-soma/bin/python -c \"import tiledbsoma; print(tiledbsoma.pytiledbsoma.version())\"\n\n  # Tests that the --libtiledbsoma flag to setup.py continues working\n  setuptools:\n    runs-on: ${{ matrix.os }}\n    name: \"setuptools (${{ matrix.os }})\"\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-22.04\", \"macos-12\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # for setuptools-scm\n      - name: Install pre-built libtiledb\n        run: |\n          mkdir -p external\n          if [ `uname -s` == \"Darwin\" ];\n          then\n            # Please do not edit manually -- let scripts/update-tiledb-version.py update this\n            wget --quiet https://github.com/TileDB-Inc/TileDB/releases/download/2.24.0/tiledb-macos-x86_64-2.24.0-ff3879b.tar.gz\n          else\n            # Please do not edit manually -- let scripts/update-tiledb-version.py update this\n            wget --quiet https://github.com/TileDB-Inc/TileDB/releases/download/2.24.0/tiledb-linux-x86_64-2.24.0-ff3879b.tar.gz\n          fi\n          tar -C external -xzf tiledb-*.tar.gz\n          ls external/lib/\n      - name: Build and install libtiledbsoma\n        run: |\n          cmake -S libtiledbsoma -B build-libtiledbsoma \\\n            -D CMAKE_BUILD_TYPE=Release \\\n            -D CMAKE_PREFIX_PATH=$(pwd)/external/ \\\n            -D CMAKE_INSTALL_PREFIX:PATH=$(pwd)/external/ \\\n            -D OVERRIDE_INSTALL_PREFIX=OFF \\\n            -D DOWNLOAD_TILEDB_PREBUILT=OFF \\\n            -D TILEDB_REMOVE_DEPRECATIONS=ON \\\n            -D FORCE_BUILD_TILEDB=OFF\n          cmake --build build-libtiledbsoma -j 2\n          cmake --build build-libtiledbsoma --target install-libtiledbsoma\n          ls external/lib/\n      # Delete all cmake executables from the runner. This will ensure that\n      # tiledbsoma-py has to use the cli flags to find the external\n      # libtiledbsoma.so and not build it from source by shelling out to cmake\n      - name: Delete cmake\n        run: |\n          echo before\n          which -a cmake\n          which -a cmake | xargs sudo rm -f\n          echo after\n          which -a cmake || echo cmake removed\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Setup Python virtual env\n        run: |\n          python --version\n          python -m venv ./venv-soma\n          ./venv-soma/bin/python -m pip install --prefer-binary pybind11-global typeguard sparse wheel setuptools\n          ./venv-soma/bin/python -m pip list\n      - name: Install TileDB-SOMA-Py with setuptools and --libtiledbsoma\n        run: |\n          cd apis/python\n          ../../venv-soma/bin/python setup.py install \\\n            --single-version-externally-managed \\\n            --record record.txt \\\n            --tiledb=$GITHUB_WORKSPACE/external/ \\\n            --libtiledbsoma=$GITHUB_WORKSPACE/external/\n      - name: Check linking and RPATH (Linux)\n        if: runner.os == 'Linux'\n        run: |\n          ldd ./venv-soma/lib/python*/site-packages/tiledbsoma/pytiledbsoma.*.so\n          readelf -d ./venv-soma/lib/python*/site-packages/tiledbsoma/pytiledbsoma.*.so  | grep R*PATH\n      - name: Check linking and RPATH (macOS)\n        if: runner.os == 'macOS'\n        run: |\n          otool -L ./venv-soma/lib/python*/site-packages/tiledbsoma/pytiledbsoma.*.so\n          otool -l ./venv-soma/lib/python*/site-packages/tiledbsoma/pytiledbsoma.*.so\n      - name: Install runtime dependencies\n        run: ./venv-soma/bin/python -m pip install --prefer-binary `grep -v '^\\[' apis/python/src/tiledbsoma.egg-info/requires.txt`\n      - name: Runtime test\n        run: ./venv-soma/bin/python -c \"import tiledbsoma; print(tiledbsoma.pytiledbsoma.version())\"\n\n  # Build a wheel from a source tarball (confirms all required files are\n  # distributed in the sdist). This is in preparation for the official building of\n  # the PyPI wheels in python-packaging.yml.\n  # https://github.com/single-cell-data/TileDB-SOMA/pull/2506\n  #\n  #\n  #  Differences to python-packaging.yml:\n  #\n  #  * Uses transparent python commands instead of the opaque action\n  #    `pypa/cibuildwheel`, and therefore easier to debug\n  #  * Only builds two wheels total (python 3.11 on Ubuntu and macOS), so it is\n  #    much faster. It's not creating the wheels for distribution, but instead just\n  #    providing a quick check that all the required files are distributed in the\n  #    source tarball\n  #  * Runs whenever an installation-related file is modified instead of only\n  #    after a release\n  #\n  # In summary, the goal is to identify any potential problems with building\n  # the PyPI wheels when a PR is submitted, and not at release time.\n  sdist:\n    runs-on: ${{ matrix.os }}\n    name: \"Wheel from sdist (${{ matrix.os }})\"\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-22.04\", \"macos-12\"]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: TileDB-SOMA\n          fetch-depth: 0 # for setuptools-scm\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: python -m pip install --prefer-binary pybind11 wheel\n      - name: Build source tarball (sdist)\n        run: |\n          cd TileDB-SOMA/apis/python\n          python setup.py sdist\n      - name: Extract source tarball\n        run: |\n          tar --list -f TileDB-SOMA/apis/python/dist/tiledbsoma-*.tar.gz\n          tar -xzf TileDB-SOMA/apis/python/dist/tiledbsoma-*.tar.gz\n      - name: Build wheel\n        run: |\n          cd tiledbsoma-*/\n          python setup.py bdist_wheel\n      - name: Install wheel\n        run: |\n          python -m pip install --prefer-binary tiledbsoma-*/dist/tiledbsoma-*.whl\n          python -c \"import tiledbsoma; print(tiledbsoma.pytiledbsoma.version())\"\n", "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:13.162889", "created_at": "2023-01-19T23:51:14+01:00", "updated_at": "2023-01-19T23:51:14+01:00", "name": "TileDB-SOMA Python CI", "path": ".github/workflows/python-ci-single.yml", "contents": "# This is a reusable workflow\n# (https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow),\n# called by python-ci-full.yml and python-ci-minimal.yml.\n\nname: TileDB-SOMA Python CI\n\non:\n  workflow_call:\n    inputs:\n      python_version:\n        required: true\n        type: string\n      os:\n        required: true\n        type: string\n      cc:\n        required: false\n        type: string\n      cxx:\n        required: false\n        type: string\n      report_codecov:\n        required: true\n        type: boolean\n      run_lint:\n        required: false\n        type: boolean\n        default: false\n\njobs:\n  lint:\n    if: inputs.run_lint\n    runs-on: ${{ inputs.os }}\n    steps:\n    - name: Checkout TileDB-SOMA\n      uses: actions/checkout@v3\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ inputs.python_version }}\n        cache: pip\n        cache-dependency-path: ./.github/workflows/python-ci-single.yml\n\n    - name: Restore pre-commit cache\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache/pre-commit\n        key: pre-commit-${{ inputs.os }}-${{ inputs.python_version }}-${{ hashFiles('.github/workflows/python-ci-single.yml') }}\n\n    - name: Run pre-commit hooks on all files\n      run: python -m pip -v install pre-commit && pre-commit run -a -v\n\n    # Skip files in apis/r/src which are:\n    # * nanoarrow.c/h\n    # * Auto-generated by Rcpp\n    # * Things which Dirk doesn't want to be format-checked\n    - name: Check C++ Format\n      shell: bash\n      run: ./scripts/run-clang-format.sh . clang-format 0 $(find libtiledbsoma apis/python/src -name \"*.cc\" -or -name \"*.cpp\" -or -name \"*.h\" | grep -v external)\n\n  build:\n    runs-on: ${{ inputs.os }}\n    steps:\n    - name: Show matrix OS\n      run: echo \"inputs.os:\" ${{ inputs.os }}\n\n    - name: Linux CPU info\n      if: ${{ inputs.os == 'ubuntu-22.04' }}\n      run: cat /proc/cpuinfo\n\n    - name: MacOS CPU info\n      if: ${{ inputs.os == 'macos-12' }}\n      run: sysctl -a | grep cpu\n    - name: Select XCode version\n      if: startsWith(inputs.os, 'macos')\n      uses: maxim-lobanov/setup-xcode@v1\n      with:\n        # Pending https://github.com/actions/runner-images/issues/6350\n        xcode-version: '13.4'\n\n    - name: Checkout TileDB-SOMA\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 0  # ensure we get all tags to inform package version determination\n\n    - name: Set up Python ${{ inputs.python_version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ inputs.python_version }}\n        cache: pip\n        cache-dependency-path: ./apis/python/setup.py\n\n# Experiment for MacOS CI false negatives ...\n#    - name: Cache native libraries\n#      uses: actions/cache@v3\n#      with:\n#        path: |\n#          build\n#          dist\n#        key: libtiledbsoma-build-dist-${{ inputs.os }}-${{ inputs.python_version }}-${{ hashFiles('libtiledbsoma', 'scripts/bld') }}\n\n    - name: Install tiledbsoma\n      run: python -m pip -v install -e apis/python[dev] -C \"--build-option=--no-tiledb-deprecated\"\n      env:\n        CC: ${{ inputs.cc }}\n        CXX: ${{ inputs.cxx }}\n\n    - name: Show package versions\n      run: python scripts/show-versions.py\n\n    - name: Show XCode version\n      run: clang --version\n\n    - name: Obtain test data\n      shell: bash\n      run: |\n        cd test\n        rm -rf soco\n        tar zxf soco.tgz\n        cd ..\n\n    - name: Run libtiledbsoma unit tests\n      run: ctest --output-on-failure --test-dir build/libtiledbsoma -C Release --verbose\n      env:\n        TILEDB_SOMA_INIT_BUFFER_BYTES: 33554432 # accommodate tiny runners\n\n    - name: Run pytests for Python\n      shell: bash\n      # Setting PYTHONPATH ensures the tests load the in-tree source code under apis/python/src\n      # instead of the copy we `pip install`ed to site-packages above. That's needed for the code\n      # coverage analysis to work.\n      run: PYTHONPATH=$(pwd)/apis/python/src python -m pytest --cov=apis/python/src --cov-report=xml apis/python/tests -v --durations=20\n\n    - name: Report coverage to Codecov\n      if: inputs.report_codecov\n      uses: codecov/codecov-action@v3\n      with:\n        flags: python\n        # Although Codecov isn't supposed to require an auth token for public repos like this one,\n        # the uploader can be unreliable without one; see\n        #     https://github.com/codecov/codecov-action/issues/557#issuecomment-1216749652\n        # As of this writing (8 Nov 2022) the CODECOV_TOKEN was generated by @aaronwolen in his\n        # Codecov settings page for this repo, then filled into the GitHub Actions secrets.\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:14.168218", "created_at": "2023-01-11T23:23:05+01:00", "updated_at": "2023-05-19T22:25:37+02:00", "name": "TileDB-SOMA python sdist & wheels", "path": ".github/workflows/python-packaging.yml", "contents": "# Workflow to build distribution, and push to PyPI or TestPyPI\n\nname: TileDB-SOMA python sdist & wheels\n\non:\n  # Trigger publication to TestPyPI via user workflow request:\n  #     gh workflow run python-packaging.yml --ref branch\n  # Specify the branch or other ref as required, allowing testing\n  # of PRs/branches.\n  workflow_dispatch:\n  # Trigger publication to PyPi via new release event.\n  release:\n    types: [published]\n  # Schedule wheel-build and smoke-test on a regular schedule.\n  #\n  # This will not publish to either PyPI or TestPyPI (see the conditionals\n  # guarding those steps below).\n  schedule:\n    - cron: \"42 9 * * *\"\n\njobs:\n  sdist:\n    name: Build source distribution\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout TileDB-SOMA\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # ensure we get all tags to inform package version determination\n      - name: Build sdist\n        run: python setup.py sdist\n        working-directory: ./apis/python\n      - name: Upload sdist artifact to GitHub Actions storage\n        uses: actions/upload-artifact@v4\n        with:\n          name: sdist\n          path: apis/python/dist/\n\n  # This step builds wheels and uploads them to GitHub Actions storage.\n  # See also https://github.com/single-cell-data/TileDB-SOMA/issues/700.\n  # See also https://github.com/single-cell-data/TileDB-SOMA/wiki/PyPI-packaging-WIP\n  # for important transitional context.\n  wheels:\n    # Note: tries all supported Python versions as specified in apis/python/setup.py\n    name: Build ${{ matrix.python-version }}-${{ matrix.wheel-name }} wheel\n    needs: sdist\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [ '38', '39', '310', '311' ]\n        cibw_build: [ manylinux_x86_64, macosx_x86_64, macosx_arm64 ]\n        include:\n          - cibw_build: manylinux_x86_64\n            os: ubuntu-20.04\n            wheel-name: manylinux2014\n          - cibw_build: macosx_x86_64\n            os: macos-12\n            cibw_archs_macos: x86_64\n            wheel-name: macos-x86_64\n          - cibw_build: macosx_arm64\n            os: macos-14  # Note: macos-14 is arm64 only\n            cibw_archs_macos: arm64\n            wheel-name: macos-arm64\n    steps:\n      - name: Download sdist artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: sdist\n      - name: Rename sdist\n        run: cp tiledbsoma-*.tar.gz tiledbsoma.tar.gz && ls -lh\n      # This is crucial for ongoing debug (do not remove it) as this shows the\n      # OS version as used by `pip install` to find wheel names. Importantly,\n      # macos 12 and macos14 self-report as `macosx-10.9-universal2` via\n      # `distutil.util.get_platform()`.\n      - name: Show self-reported platform\n        run: |\n          echo \"python --version\"; python --version\n          echo matrix.platform: ${{ matrix.platform }}\n          echo matrix.arch: ${{ matrix.arch }}\n          # This bit is crucial since it's used to match up to a component of the wheel-file name\n          python -m pip install setuptools\n          python -c 'from distutils import util; print(\"distutil.util.get_platform:\", util.get_platform())'\n          python -c 'import platform; print(\"platform.platform()\", platform.platform())'\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.18.1\n        with:\n          package-dir: tiledbsoma.tar.gz\n          only: cp${{ matrix.python-version }}-${{ matrix.cibw_build }}\n        env:\n          CIBW_BUILD: ${{ matrix.cibw_build }}\n          CIBW_BUILD_VERBOSITY: 1\n          CIBW_BEFORE_BUILD: bash -x -c 'rm -rf tiledbsoma*/dist_links/dist/lib*'\n          # ^ Delete lib folder that apis/python/setup.py:find_or_build() looks for in deciding to\n          #   run CMake build or not. Otherwise it'll keep reusing the library file built in the\n          #   first iteration of cibuildwheel's outer loop, resulting in wheels with the library\n          #   built for the wrong python version.\n          CIBW_ARCHS_MACOS: ${{ matrix.cibw_archs_macos }}\n          CIBW_TEST_SKIP: \"*_arm64\"\n          CMAKE_OSX_ARCHITECTURES: ${{ matrix.cibw_archs_macos }}\n          MACOSX_DEPLOYMENT_TARGET: \"11.0\"\n      - name: Upload wheel-${{ matrix.wheel-name }}-${{ matrix.python-version }} to GitHub Actions storage\n        uses: actions/upload-artifact@v4\n        with:\n          name: wheel-${{ matrix.wheel-name }}-${{ matrix.python-version }}\n          path: ./wheelhouse/*.whl\n\n  # This step locally tries out the built wheels, without publishing to PyPI\n  smoke-test:\n    name: \"Smoke test ${{ matrix.python.undotted-version }}-${{ matrix.wheel-name }} wheel\"\n    needs: wheels\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python:\n          - undotted-version: '310'\n            dotted-version: '3.10'\n          - undotted-version: '311'\n            dotted-version: '3.11'\n        wheel-name:\n          - manylinux2014\n          - macos-x86_64\n          - macos-arm64\n        include:\n          - wheel-name: manylinux2014\n            os: ubuntu-20.04\n            arch: x86_64\n            cc: gcc-11\n            cxx: g++-11\n          - wheel-name: macos-x86_64\n            os: macos-12\n            arch: x86_64\n            cc: clang\n            cxx: clang++\n          - wheel-name: macos-arm64\n            os: macos-14\n            arch: arm64\n            cc: clang\n            cxx: clang++\n      fail-fast: false\n    steps:\n      - name: Set up Python ${{ matrix.python.dotted-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python.dotted-version }}\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: wheel-${{ matrix.wheel-name }}-${{ matrix.python.undotted-version }}\n      - name: Install wheel\n        run: |\n          set -x\n          ls -lR\n          WHL=$(find . -name 'tiledbsoma-*-cp${{ matrix.python.undotted-version }}-cp${{ matrix.python.undotted-version }}-*_${{ matrix.arch }}.whl')\n          echo \"WHL=$WHL\"\n          if [ -z \"$WHL\" ]; then echo \"No wheel found\"; exit 1; fi\n          unzip -l $WHL\n          pip install wheel\n          pip install $WHL\n          echo \"WHL=$WHL\" >> $GITHUB_ENV\n      - name: Smoke test ${{ matrix.os }}\n        run: python -c 'import tiledbsoma; print(tiledbsoma.pytiledbsoma.__file__); tiledbsoma.show_package_versions()'\n        # TODO: more thorough local smoke test\n      - name: Smoke test in docker\n        if: ${{ matrix.os == 'ubuntu-20.04' }}\n        run: |\n          docker run -v $(pwd):/mnt python:${{ matrix.python.dotted-version }} bash -ec \"\n            apt-get -qq update && apt-get install -y python3-pip python3-wheel\n            pip3 install /mnt/$WHL\n            python3 -c 'import tiledbsoma; print(tiledbsoma.pytiledbsoma.__file__); tiledbsoma.show_package_versions()'\n          \"\n\n  # Publish to TestPyPI upon user workflow request\n  publish-to-test-pypi:\n    name: Publish package to TestPyPI\n    needs: smoke-test\n    runs-on: ubuntu-20.04\n    if: github.event_name == 'workflow_dispatch'\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n      - name: Create dist\n        run: |\n          set -x\n          mkdir dist\n          cp sdist/tiledbsoma-*.tar.gz wheel-*/*.whl dist\n          ls -l dist\n      - name: Publish packages to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        continue-on-error: true\n        with:\n          password: ${{ secrets.TEST_PYPI_TOKEN }}\n          repository-url: https://test.pypi.org/legacy/\n          packages_dir: dist\n          verbose: true\n\n  # Publish to PyPI upon release.\n  publish-to-pypi:\n    name: Publish package to PyPI\n    needs: smoke-test\n    runs-on: ubuntu-20.04\n    if: github.event_name == 'release'\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n      - name: Create dist\n        run: |\n          set -x\n          mkdir dist\n          cp sdist/tiledbsoma-*.tar.gz wheel-*/*.whl dist\n          ls -l dist\n      - name: Publish packages to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_TOKEN }}\n          packages_dir: dist\n          verbose: true\n\n  # File a bug report if anything fails, but don't file tickets for manual runs\n  # -- only for scheduled ones.\n  create_issue_on_fail:\n    runs-on: ubuntu-latest\n    needs: [smoke-test, publish-to-test-pypi, publish-to-pypi]\n    if: (failure() || cancelled()) && github.event_name != 'workflow_dispatch'\n    steps:\n      - name: Checkout TileDB-SOMA `main`\n        uses: actions/checkout@v2\n      - name: Create Issue if Build Fails\n        uses: JasonEtco/create-an-issue@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          filename: .github/workflows/daily-test-build-issue-template.md\n", "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:15.224669", "created_at": "2024-02-15T16:33:27+01:00", "updated_at": "2024-05-07T19:56:58+02:00", "name": "Python SO copying", "path": ".github/workflows/python-so-copying.yml", "contents": null, "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:16.282848", "created_at": "2022-10-13T18:25:06+02:00", "updated_at": "2024-02-20T23:10:55+01:00", "name": "TileDB-SOMA R CI", "path": ".github/workflows/r-ci.yml", "contents": "name: TileDB-SOMA R CI\n\non:\n  pull_request:\n    paths:\n      - '**'\n      - '!**.md'\n      - '!apis/python/**'\n      - '!docs/**'\n      - '!.github/**'\n      - '.github/workflows/r-ci.yml'\n  push:\n    branches:\n      - main\n      - 'release-*'\n  workflow_dispatch:\n\nenv:\n  COVERAGE_FLAGS: \"r\"\n  COVERAGE_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n  _R_CHECK_TESTS_NLINES_: 0\n  CATCHSEGV: \"TRUE\"\n  R_REMOTES_UPGRADE: \"never\"\n  TILEDB_SOMA_INIT_BUFFER_BYTES: 33554432 # accommodate tiny runners\n\njobs:\n  ci:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - name: linux\n            os: ubuntu-latest\n            covr: 'no'\n          - name: macos\n            os: macOS-latest\n            covr: 'no'\n          - name: coverage\n            os: ubuntu-latest\n            covr: 'yes'\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Show matrix OS\n        run: echo \"matrix.os:\" ${{ matrix.os }}\n\n      - name: Linux CPU info\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: cat /proc/cpuinfo\n\n      - name: MacOS CPU info\n        if: ${{ matrix.os == 'macOS-latest' }}\n        run: sysctl -a | grep cpu\n\n      - name: Bootstrap\n        run: cd apis/r && tools/r-ci.sh bootstrap\n\n      - name: Set additional repositories (macOS)\n        if: ${{ matrix.os != 'ubuntu-latest' }}\n        run: echo 'options(repos = c(\"https://tiledb-inc.r-universe.dev\", getOption(\"repos\")), timeout = 300L)' | tee -a ~/.Rprofile\n\n      - name: Set additional repositories (Linux)\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          rversion <- paste(strsplit(as.character(getRversion()), split = '\\\\.')[[1L]][1:2], collapse = '.')\n          codename <-  system('. /etc/os-release; echo ${VERSION_CODENAME}', intern = TRUE)\n          repo <- \"https://tiledb-inc.r-universe.dev\"\n          (opt <- sprintf('options(repos = c(\"%s/bin/linux/%s/%s\", \"%s\", getOption(\"repos\")), timeout = 300L)', repo, codename, rversion, repo))\n          cat(opt, \"\\n\", file = \"~/.Rprofile\", append = TRUE)\n        shell: Rscript {0}\n\n      - name: Install tiledb-r\n        run: cd apis/r && Rscript tools/install-tiledb-r.R\n\n      - name: Install BioConductor package SingleCellExperiment\n        run: cd apis/r && tools/r-ci.sh install_bioc SingleCellExperiment\n\n      # Uncomment these next two stanzas as needed whenever we've just released a new tiledb-r for\n      # which source is available but CRAN releases (and hence update r2u binaries) are not yet:\n      #\n      # IMPORTANT: these two stanzas should remain uncommented _only_ during the propagation time\n      # between (a) publication of source for a new TileDB-R _upon which_ TileDB-SOMA depends in its\n      # apis/R/DESCRIPTION file and (b) appearance of binaries.\n      #\n      # Please see https://github.com/single-cell-data/TileDB-SOMA/wiki/Branches-and-releases which\n      # is crucial for anyone doing releases of TileDB-SOMA.\n      #\n      # Please edit both files in the same way:\n      # * r-ci.yml\n      # * r-python-interop-testing.yml\n      #\n      # Do not remove these comments until such time as we have eliminated our dependency on\n      # the TileDB-R package.\n\n      #- name: Install r-universe build of tiledb-r (macOS)\n      #  if: ${{ matrix.os == 'macOS-latest' }}\n      #  run: cd apis/r && Rscript -e \"install.packages('tiledb', repos = c('https://eddelbuettel.r-universe.dev', 'https://cloud.r-project.org'))\"\n\n      #- name: Install r-universe build of tiledb-r (linux)\n      #  if: ${{ matrix.os != 'macOS-latest' }}\n      #  run: cd apis/r && Rscript -e \"options(bspm.version.check=TRUE); install.packages('tiledb', repos = c('https://eddelbuettel.r-universe.dev/bin/linux/jammy/4.3/', 'https://cloud.r-project.org'))\"\n\n      - name: Dependencies\n        run: cd apis/r && Rscript -e \"remotes::install_deps(dependencies = TRUE, upgrade = FALSE)\"\n\n      # - name: Install dataset packages from source (macOS)\n      #   if: ${{ matrix.os == 'macOS-latest' }}\n      #   run: cd apis/r && _CI_PKG_TYPE_=both _CI_USE_BIOC_=true Rscript tools/install_missing_deps.R\n\n      # - name: CMake\n      #   uses: lukka/get-cmake@latest\n\n      #- name: MkVars\n      #  run: mkdir ~/.R && echo \"CXX17FLAGS=-Wno-deprecated-declarations -Wno-deprecated\" > ~/.R/Makevars\n\n      #- name: Build and install libtiledbsoma\n      #  run: sudo scripts/bld --prefix=/usr/local\n\n      #- name: Call ldconfig\n      #  if: ${{ matrix.os == 'ubuntu-latest' }}\n      #  run: sudo ldconfig\n      #\n      # - name: Update Packages\n      #   run: Rscript -e 'update.packages(ask=FALSE)'\n\n      - name: Build Package\n        run: cd apis/r && R CMD build --no-build-vignettes --no-manual .\n\n      - name: Install Package\n        run: cd apis/r && R CMD INSTALL $(ls -1tr *.tar.gz | tail -1)\n\n      # - name: Diagnostics\n      #   run: Rscript -e 'print(Sys.info())'\n\n      # - name: Downgrade TileDB-R if needed\n      #   run: cd apis/r && Rscript tools/controlled_downgrade.R\n\n      #- name: Test\n      #  if: ${{ matrix.covr == 'no' }}\n      #  run: |\n      #    cd apis/r\n      #    Rscript -e \"install.packages('devtools')\" \\\n      #      -e \"devtools::install(upgrade = FALSE)\" \\\n      #      -e \"testthat::test_local('tests/testthat', load_package = 'installed')\"\n\n      - name: Test\n        if: ${{ matrix.covr == 'no' }}\n        run: cd apis/r/tests && Rscript testthat.R\n      \n      - name: Coverage\n        if: ${{ matrix.os == 'ubuntu-latest' && matrix.covr == 'yes' && github.event_name == 'workflow_dispatch' }}\n        run: apis/r/tools/r-ci.sh coverage\n\n      - name: View Logs\n        run: apis/r/tools/r-ci.sh dump_logs\n        if: failure()\n", "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:17.407456", "created_at": "2023-03-21T19:56:42+01:00", "updated_at": "2023-03-22T18:38:32+01:00", "name": "TileDB-SOMA R-Python interop testing", "path": ".github/workflows/r-python-interop-testing.yml", "contents": "name: TileDB-SOMA R-Python interop testing\n\non:\n  pull_request:\n    # TODO: leave this enabled for pre-merge signal for now. At some point we may want to go back to\n    # only having this signal post-merge.\n    #paths:\n    #  - \"apis/python/**\"\n    #  - \"apis/r/**\"\n    #  - \"apis/system/**\"\n  push:\n    branches:\n      - main\n      - 'release-*'\n  workflow_dispatch:\n\njobs:\n  ci:\n    strategy:\n      matrix:\n        include:\n          - { os: ubuntu-latest }\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Checkout TileDB-SOMA\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0  # ensure we get all tags to inform package version determination\n\n      - name: Bootstrap\n        run: cd apis/r && tools/r-ci.sh bootstrap\n\n      - name: Set additional repositories (Linux)\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          rversion <- paste(strsplit(as.character(getRversion()), split = '\\\\.')[[1L]][1:2], collapse = '.')\n          codename <-  system('. /etc/os-release; echo ${VERSION_CODENAME}', intern = TRUE)\n          repo <- \"https://tiledb-inc.r-universe.dev\"\n          (opt <- sprintf('options(repos = c(\"%s/bin/linux/%s/%s\", \"%s\", getOption(\"repos\")))', repo, codename, rversion, repo))\n          cat(opt, \"\\n\", file = \"~/.Rprofile\", append = TRUE)\n        shell: Rscript {0}\n\n      - name: Install tiledb-r\n        run: cd apis/r && Rscript tools/install-tiledb-r.R\n\n      - name: Dependencies\n        run: cd apis/r && Rscript -e \"remotes::install_deps(dependencies = TRUE, upgrade = FALSE)\"\n\n      - name: CMake\n        uses: lukka/get-cmake@latest\n\n      - name: MkVars\n        run: mkdir ~/.R && echo \"CXX17FLAGS=-Wno-deprecated-declarations -Wno-deprecated\" > ~/.R/Makevars\n\n      # Uncomment these next two stanzas as needed whenever we've just released a new tiledb-r for\n      # which source is available but CRAN releases (and hence update r2u binaries) are not yet:\n      #\n      # IMPORTANT: these two stanzas should remain uncommented _only_ during the propagation time\n      # between (a) publication of source for a new TileDB-R _upon which_ TileDB-SOMA depends in its\n      # apis/R/DESCRIPTION file and (b) appearance of binaries.\n      #\n      # Please see https://github.com/single-cell-data/TileDB-SOMA/wiki/Branches-and-releases which\n      # is crucial for anyone doing releases of TileDB-SOMA.\n      #\n      # Please edit both files in the same way:\n      # * r-ci.yml\n      # * r-python-interop-testing.yml\n      #\n      # Do not remove these comments until such time as we have eliminated our dependency on\n      # the TileDB-R package.\n\n      #- name: Install r-universe build of tiledb-r (macOS)\n      #  if: ${{ matrix.os == 'macOS-latest' }}\n      #  run: cd apis/r && Rscript -e \"install.packages('tiledb', repos = c('https://eddelbuettel.r-universe.dev', 'https://cloud.r-project.org'))\"\n\n      #- name: Install r-universe build of tiledb-r (linux)\n      #  if: ${{ matrix.os != 'macOS-latest' }}\n      #  run: cd apis/r && Rscript -e \"options(bspm.version.check=TRUE); install.packages('tiledb', repos = c('https://eddelbuettel.r-universe.dev/bin/linux/jammy/4.3/', 'https://cloud.r-project.org'))\"\n\n      - name: Build and install libtiledbsoma\n        run: sudo scripts/bld --prefix=/usr/local --no-tiledb-deprecated=true && sudo ldconfig\n\n      - name: Install R-tiledbsoma\n        run: |\n          cd apis/r\n          R CMD build --no-build-vignettes --no-manual .\n          FILE=$(ls -1t *.tar.gz | head -n 1)\n          R CMD INSTALL $FILE\n\n      - name: Show R package versions\n        run: Rscript -e 'tiledbsoma::show_package_versions()'\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n          cache: pip\n          cache-dependency-path: ./apis/python/setup.py\n\n      - name: Install tiledbsoma\n        run: python -m pip -v install -e apis/python[dev] -C \"--build-option=--no-tiledb-deprecated\"\n\n      - name: Show Python package versions\n        run: |\n          python -c 'import tiledbsoma; tiledbsoma.show_package_versions()'\n          python scripts/show-versions.py\n\n      - name: Update Packages\n        run: Rscript -e 'update.packages(ask=FALSE)'\n\n      - name: Interop Tests\n        run: python -m pytest apis/system/tests/\n        env:\n          TILEDB_SOMA_INIT_BUFFER_BYTES: 33554432 # accommodate tiny runners\n", "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:18.636644", "created_at": "2023-08-28T16:41:31+02:00", "updated_at": "2023-08-31T00:58:44+02:00", "name": "r-valgrind", "path": ".github/workflows/r-valgrind.yaml", "contents": "name: r-valgrind\n\non:\n  # allows for 'as needed' manual trigger\n  workflow_dispatch:\n  # use a regular nighly build as well (time is UTC)\n  schedule:\n    - cron: \"23 4 * * *\"\n\njobs:\n  r-valgrind:\n    runs-on: ubuntu-latest\n    container:\n      image: rocker/r2u:latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: SessionInfo\n        run: R -q -e 'sessionInfo()'\n\n      - name: System Dependencies\n        run: apt update -qq && apt upgrade --yes && apt install --yes --no-install-recommends valgrind cmake git\n\n      - name: Set additional repositories (Linux)\n        run: |\n          rversion <- paste(strsplit(as.character(getRversion()), split = '\\\\.')[[1L]][1:2], collapse = '.')\n          codename <-  system('. /etc/os-release; echo ${VERSION_CODENAME}', intern = TRUE)\n          repo <- \"https://tiledb-inc.r-universe.dev\"\n          (opt <- sprintf('options(repos = c(\"%s/bin/linux/%s/%s\", \"%s\", getOption(\"repos\")), timeout = 300L)', repo, codename, rversion, repo))\n          cat(opt, \"\\n\", file = \"~/.Rprofile\", append = TRUE)\n        shell: Rscript {0}\n\n      - name: Install tiledb-r\n        run: cd apis/r && Rscript tools/install-tiledb-r.R\n\n      - name: Package Dependencies\n        run: cd apis/r && R -q -e 'remotes::install_deps(\".\", dependencies=TRUE, upgrade=FALSE)'\n\n      - name: Build Package\n        run: cd apis/r && R CMD build --no-build-vignettes --no-manual .\n\n      - name: Check Package under valgrind\n        # we unsetting environment variable CI for non-extended set of tests\n        run: cd apis/r && CI=\"\" VALGRIND_OPTS=\"-s --leak-check=full --max-threads=1024\" R CMD check --use-valgrind --no-vignettes --no-manual $(ls -1tr *.tar.gz | tail -1)\n\n      - name: Display Test Output\n        run: cd apis/r/tiledbsoma.Rcheck/tests && cat testthat.Rout\n", "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:19.653775", "created_at": "2022-09-19T20:18:17+02:00", "updated_at": "2022-09-19T20:18:17+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "single-cell-data/tiledb-soma"}
{"mined_at": "2024-07-15T17:57:21.762839", "created_at": "2024-01-19T17:12:37+01:00", "updated_at": "2024-01-23T08:48:10+01:00", "name": "C API", "path": ".github/workflows/capi.yml", "contents": "# Test Qibolab C API\nname: C API\n\non:\n  push:\n  workflow_dispatch:\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Prepare virtual environment\n        run: |\n          python -m venv env\n      - name: Install dependencies\n        run: |\n          # build dependencies\n          pip install cffi\n          # runtime dependencies\n          . env/bin/activate\n          pip install cffi  # also a runtime dep\n          pip install .\n      - name: Build & install library\n        working-directory: capi\n        run: |\n          cmake -S . -B build  -DCMAKE_INSTALL_PREFIX=$(realpath ../env)\n          cmake --build build\n          cmake --install build\n      - name: Build & run example\n        working-directory: capi/examples\n        run: |\n          . ../../env/bin/activate\n          export PKG_CONFIG_PATH=${VIRTUAL_ENV}/lib/pkgconfig/:${PKG_CONFIG_PATH}:\n          export LD_LIBRARY_PATH=${VIRTUAL_ENV}/lib/:${LD_LIBRARY_PATH}:\n          make\n          ./example\n", "state": "active", "repository": "qiboteam/qibolab"}
{"mined_at": "2024-07-15T17:57:22.837083", "created_at": "2022-10-13T10:51:02+02:00", "updated_at": "2023-12-05T11:58:39+01:00", "name": "Build wheels", "path": ".github/workflows/deploy.yml", "contents": "# A single CI script with github workflow\nname: Build wheels\n\non:\n  push:\n  release:\n    types:\n      - published\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-13, windows-latest]\n        python-version: [3.9, '3.10', '3.11']\n    uses: qiboteam/workflows/.github/workflows/deploy-pip-poetry.yml@main\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      publish: ${{ github.event_name == 'release' && github.event.action == 'published' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' }}\n      poetry-extras: \"--with docs,tests,analysis --all-extras\"\n    secrets: inherit\n", "state": "active", "repository": "qiboteam/qibolab"}
{"mined_at": "2024-07-15T17:57:23.966146", "created_at": "2022-12-29T14:25:43+01:00", "updated_at": "2024-02-08T05:17:58+01:00", "name": "docs", "path": ".github/workflows/publish.yml", "contents": "name: docs\n\non:\n  workflow_dispatch:\n  push:\n    branches: [main]\n    tags:\n      - \"*\"\n\njobs:\n  evaluate-label:\n    runs-on: ubuntu-latest\n    outputs:\n      label: ${{ steps.label_step.outputs.version}}\n    steps:\n      - name: checks for the label\n        id: label_step\n        run: |\n          if [[ \"${{ github.ref  }}\" == \"refs/heads/main\" ]]; then\n                echo \"version=latest\" >> $GITHUB_OUTPUT\n          fi\n          if [[ \"${{ github.ref_type }}\" == \"branch\" ]] && [[ \"${{ github.ref  }}\" != \"refs/heads/main\" ]]; then\n                exit 1\n          fi\n          if [[ \"${{ github.ref_type }}\" == \"tag\" ]]; then\n                echo \"version=stable\" >> $GITHUB_OUTPUT\n          fi\n\n  deploy-docs:\n    needs: [evaluate-label]\n    uses: qiboteam/workflows/.github/workflows/deploy-ghpages-latest-stable.yml@main\n    with:\n      python-version: '3.10'\n      package-manager: \"poetry\"\n      dependency-path: \"**/poetry.lock\"\n      trigger-label: \"${{needs.evaluate-label.outputs.label}}\"\n      project: qibolab\n      poetry-extras: --with docs --all-extras\n", "state": "active", "repository": "qiboteam/qibolab"}
{"mined_at": "2024-07-15T17:57:25.089553", "created_at": "2021-05-24T15:20:33+02:00", "updated_at": "2024-06-03T10:19:11+02:00", "name": "tests", "path": ".github/workflows/rules.yml", "contents": "# A single CI script with github workflow\nname: tests\n\non:\n  workflow_dispatch:\n  push:\n  pull_request:\n    types: opened\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-13, windows-latest]\n        python-version: [3.9, '3.10', '3.11']\n    uses: qiboteam/workflows/.github/workflows/rules-poetry.yml@main\n    with:\n      os: ${{ matrix.os }}\n      python-version: ${{ matrix.python-version }}\n      doctests: ${{ matrix.os == 'ubuntu-latest'}}\n      poetry-extras: \"--with docs,tests,analysis --all-extras\"\n    secrets: inherit\n", "state": "active", "repository": "qiboteam/qibolab"}
{"mined_at": "2024-07-15T17:57:26.315867", "created_at": "2024-01-22T19:00:21+01:00", "updated_at": "2024-01-25T16:05:09+01:00", "name": "Rust API", "path": ".github/workflows/rustapi.yml", "contents": "# Test Qibolab Rust API\nname: Rust API\n\non:\n  push:\n  workflow_dispatch:\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-13]\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Prepare virtual environment\n        run: |\n          pip install .\n      - name: Install Rust\n        uses: actions-rs/toolchain@v1\n        with:\n          toolchain: stable\n      - name: Check and lint\n        working-directory: crate\n        run: |\n          cargo check\n          cargo clippy --all-targets\n      - name: Build & run example\n        working-directory: crate\n        run: |\n          cargo run --example example\n", "state": "active", "repository": "qiboteam/qibolab"}
{"mined_at": "2024-07-15T17:57:27.445327", "created_at": "2022-09-30T12:08:46+02:00", "updated_at": "2023-11-03T08:19:10+01:00", "name": "Tests with qpu", "path": ".github/workflows/selfhosted.yml", "contents": "# CI workflow that runs on qpu\nname: Tests with qpu\n\non:\n  pull_request:\n    types: [labeled]\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  prepare:\n    if: contains(join(github.event.pull_request.labels.*.name), 'run-on')\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - name: Read platforms from labels\n        id: set-matrix\n        env:\n          LABELS: ${{ toJSON(github.event.pull_request.labels.*.name) }}\n        run: |\n          echo $LABELS\n          platforms=\"[\"\n          combined=\"\"\n          shopt -s lastpipe\n          jq -c '.[]' <<< \"$LABELS\" | while read label; do\n              platform=(${label//-/ })\n              if [ ${platform[0]} == \"\\\"run\" ] && [ ${platform[1]} == \"on\" ]; then\n                platforms+=\"${combined:+,}\\\"${platform[2]}\"\n                combined=${platforms}\n              fi\n          done\n          platforms+=\"]\"\n          echo ${platforms}\n          echo matrix=\"${platforms}\" >> $GITHUB_OUTPUT\n\n  tests:\n    needs: prepare\n    strategy:\n      matrix:\n        platform: ${{ fromJSON(needs.prepare.outputs.matrix) }}\n      fail-fast: false\n    runs-on: self-hosted\n    steps:\n    - name: Cleanup workspace manually\n      run: |\n        rm -rf _work/*\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n    - name: Install and configure poetry\n      uses: snok/install-poetry@v1\n      with:\n        virtualenvs-create: false\n    - name: Install qibolab main\n      run: |\n        python -m venv testenv\n        source testenv/bin/activate\n        poetry install --no-interaction --all-extras --with tests\n    - name: Execute on ${{ matrix.platform }}\n      run: |\n        source testenv/bin/activate\n        export platform=${{ matrix.platform }}\n        git clone https://github.com/qiboteam/qibolab_platforms_qrc\n        queues=`cat qibolab_platforms_qrc/queues.json`\n        export QIBOLAB_PLATFORMS=./qibolab_platforms_qrc\n        partition=\"$(jq -r -n --argjson data \"$queues\" '$data.'$platform)\"\n        srun -p $partition selfhosted\n        mkdir coverage\n        mv coverage.xml coverage/\n        mv htmlcov coverage/\n    - name: Upload coverage report as artifact\n      uses: actions/upload-artifact@v3\n      with:\n        name: coverage-from-self-hosted\n        path: coverage/\n    - name: Notify the Pull Request\n      uses: thollander/actions-comment-pull-request@v2\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        message: |\n          Run on QPU `${{ matrix.platform }}` completed! :atom:\n\n          > *You can download the coverage report as an artifact, from the workflow summary page:*\n          > ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n", "state": "active", "repository": "qiboteam/qibolab"}
{"mined_at": "2024-07-15T17:57:29.665860", "created_at": "2023-07-01T08:21:07+02:00", "updated_at": "2023-07-01T08:21:07+02:00", "name": "CI | Code Quality", "path": ".github/workflows/CI-pylint.yml", "contents": "name: CI | Code Quality\n\non:\n  push:\n    branches-ignore:\n      - \"main-ci\"\n      - \"release\"\n\n  pull_request:\n    branches:\n      - main\n\n  workflow_dispatch:\n\njobs:\n  lint:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, 3.10.12, 3.11.0]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[test]\n\n      - name: Pylint Source\n        run: pylint --ignore-paths='build/*' --ignore='_version.py' $(find . -type f -name '*.py') \\\n", "state": "active", "repository": "runpod/runpod-python"}
{"mined_at": "2024-07-15T17:57:30.924481", "created_at": "2023-07-01T16:23:03+02:00", "updated_at": "2023-07-01T16:23:03+02:00", "name": "CD | Publish Python 🐍 distributions 📦 to PyPI", "path": ".github/workflows/CD-publish_to_pypi.yml", "contents": "name: CD | Publish Python 🐍 distributions 📦 to PyPI\n\non:\n  release:\n    types: [published]\n\n  workflow_dispatch:\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11.0\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11.0\n\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n          .\n\n      - name: Publish distribution 📦 to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n\n      - name: Publish distribution 📦 to PyPI\n        # if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n  notify-runpod-workers:\n    name: Notify workers\n    needs: build-n-publish\n    strategy:\n      matrix:\n        repo:\n          [\n            \"runpod-workers/worker-faster_whisper\",\n            \"runpod-workers/worker-stable_diffusion_v1\",\n            \"runpod-workers/worker-kandinsky\",\n            \"runpod-workers/worker-stable_diffusion_v2\",\n            \"runpod-workers/worker-template\",\n            \"runpod-workers/worker-whisper\",\n            \"runpod-workers/worker-esrgan\",\n            \"runpod-workers/worker-github_runner\",\n            \"runpod-workers/worker-a1111\",\n            \"runpod-workers/worker-dreambooth\",\n            \"runpod-workers/worker-bark\",\n            \"runpod-workers/worker-gpt\",\n            \"runpod-workers/worker-iseven\",\n            \"runpod-workers/worker-controlnet\",\n            \"runpod-workers/worker-blip\",\n            \"runpod-workers/worker-deforum\",\n            runpod-workers/mock-worker,\n          ]\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Wait for propegation\n        run: sleep 300s\n        shell: bash\n\n      - name: Repository Dispatch\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.RUNPOD_WORKERS_PAT }}\n          repository: ${{ matrix.repo }}\n          event-type: python-package-release\n", "state": "active", "repository": "runpod/runpod-python"}
{"mined_at": "2024-07-15T17:57:31.995047", "created_at": "2023-07-01T16:23:03+02:00", "updated_at": "2023-07-01T16:23:03+02:00", "name": "CD | Test Publish Python 🐍 distributions 📦 to TestPyPI", "path": ".github/workflows/CD-test_publish_to_pypi.yml", "contents": "name: CD | Test Publish Python 🐍 distributions 📦 to TestPyPI\n\non:\n  push:\n    branches:\n      - \"staging\"\n\n  workflow_dispatch:\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to TestPyPI\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.11.0\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11.0\n\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n          .\n\n      - name: Publish distribution 📦 to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "runpod/runpod-python"}
{"mined_at": "2024-07-15T17:57:33.281860", "created_at": "2023-07-01T16:23:03+02:00", "updated_at": "2023-07-01T16:23:03+02:00", "name": "CI | CodeQL", "path": ".github/workflows/CI-codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CI | CodeQL\"\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [\"main\"]\n  schedule:\n    - cron: \"15 1 * * 1\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"python\"]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n          # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n          # queries: security-extended,security-and-quality\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v3\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      #   If the Autobuild fails above, remove it and uncomment the following three lines.\n      #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n      # - run: |\n      #   echo \"Run, Build Application using script\"\n      #   ./location_of_script_within_repo/buildscript.sh\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n        with:\n          category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "runpod/runpod-python"}
{"mined_at": "2024-07-15T17:57:34.405859", "created_at": "2023-07-01T16:23:03+02:00", "updated_at": "2023-11-11T23:20:28+01:00", "name": "CI | Unit Tests", "path": ".github/workflows/CI-tests.yml", "contents": null, "state": "active", "repository": "runpod/runpod-python"}
{"mined_at": "2024-07-15T17:57:35.531400", "created_at": "2023-08-09T13:42:41+02:00", "updated_at": "2023-08-14T19:40:27+02:00", "name": "CI | End-to-End RunPod Python Tests", "path": ".github/workflows/CI-e2e.yml", "contents": "# Performs a full test of the package within production environment.\n\nname: CI | End-to-End RunPod Python Tests\n\non:\n  push:\n    branches:\n      - main\n\n  pull_request:\n    branches:\n      - main\n\n  workflow_dispatch:\n\njobs:\n  e2e-build:\n    name: Build and push mock-worker Docker image\n    runs-on: ubuntu-latest\n    outputs:\n      docker_tag: ${{ steps.output_docker_tag.outputs.docker_tag }}\n\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n\n      - name: Clone and patch mock-worker\n        run: |\n          git clone https://github.com/runpod-workers/mock-worker\n          GIT_SHA=${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}\n          echo \"git+https://github.com/runpod/runpod-python.git@$GIT_SHA\" > mock-worker/builder/requirements.txt\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Define Docker Tag\n        id: docker_tag\n        run: |\n          DOCKER_TAG=${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}\n          echo \"DOCKER_TAG=$(echo $DOCKER_TAG | cut -c 1-7)\" >> $GITHUB_ENV\n\n      - name: Set Docker Tag as Output\n        id: output_docker_tag\n        run: echo \"::set-output name=docker_tag::${{ env.DOCKER_TAG }}\"\n\n      - name: Build and push Docker image\n        env:\n          DOCKERHUB_REPO: ${{ vars.DOCKERHUB_REPO }}\n          DOCKERHUB_IMG: ${{ vars.DOCKERHUB_IMG }}\n        run: |\n          docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}\n          docker build -t $DOCKERHUB_REPO/$DOCKERHUB_IMG:${{ env.DOCKER_TAG }} -f mock-worker/Dockerfile mock-worker\n          docker push $DOCKERHUB_REPO/$DOCKERHUB_IMG:${{ env.DOCKER_TAG }}\n\n  test:\n    name: Run End-to-End Tests\n    runs-on: ubuntu-latest\n    needs: [e2e-build]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Run Tests\n        id: run-tests\n        uses: runpod/runpod-test-runner@v2.1.0\n        with:\n          image-tag: ${{ vars.DOCKERHUB_REPO }}/${{ vars.DOCKERHUB_IMG }}:${{ needs.e2e-build.outputs.docker_tag }}\n          runpod-api-key: ${{ secrets.RUNPOD_API_KEY }}\n          request-timeout: 1200\n\n      - name: Verify Tests\n        env:\n          TOTAL_TESTS: ${{ steps.run-tests.outputs.total-tests }}\n          SUCCESSFUL_TESTS: ${{ steps.run-tests.outputs.succeeded }}\n        run: |\n          echo \"Total tests: $TOTAL_TESTS\"\n          echo \"Successful tests: $SUCCESSFUL_TESTS\"\n          if [ \"$TOTAL_TESTS\" != \"$SUCCESSFUL_TESTS\" ]; then\n              exit 1\n          fi\n", "state": "active", "repository": "runpod/runpod-python"}
{"mined_at": "2024-07-15T17:57:36.549904", "created_at": "2023-10-28T15:03:50+02:00", "updated_at": "2023-10-28T18:14:03+02:00", "name": "vhs", "path": ".github/workflows/vhs.yml", "contents": "name: vhs\non:\n  #   push:\n  #     branches-ignore:\n  #       - main\n\n  workflow_dispatch:\n\njobs:\n  vhs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install runpod\n        run: |\n          pip install .\n\n      # runpod --help\n      - uses: charmbracelet/vhs-action@v2\n        with:\n          path: \".github/tape_collection/cli_help.tape\"\n\n      # runpod config\n      - uses: charmbracelet/vhs-action@v2\n        with:\n          path: \".github/tape_collection/cli_config.tape\"\n\n      # runpod ssh\n      - uses: charmbracelet/vhs-action@v2\n        with:\n          path: \".github/tape_collection/cli_ssh.tape\"\n\n      # Add gifs to commit\n      - uses: stefanzweifel/git-auto-commit-action@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          commit_message: Update generated VHS GIF\n          commit_user_name: vhs-action 📼\n          commit_user_email: actions@github.com\n          commit_author: vhs-action 📼 <actions@github.com>\n          file_pattern: \"*.gif\"\n", "state": "active", "repository": "runpod/runpod-python"}
{"mined_at": "2024-07-15T17:57:37.566921", "created_at": "2023-11-02T01:43:51+01:00", "updated_at": "2023-11-02T02:22:14+01:00", "name": "CI | Unit Tests", "path": ".github/workflows/CI-pytests.yml", "contents": "name: CI | Unit Tests\n\non:\n  push:\n    branches-ignore:\n      - main-ci\n      - release\n\n  pull_request:\n    branches:\n      - main\n\n  workflow_dispatch:\n\njobs:\n  run_tests:\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9, 3.10.12, 3.11.0]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[test]\n\n      - name: Run Tests\n        run: pytest --cov-config=.coveragerc --timeout=120 --timeout_method=thread --cov=runpod --cov-report=xml --cov-report=term-missing --cov-fail-under=100 -W error -p no:cacheprovider -p no:unraisableexception\n", "state": "active", "repository": "runpod/runpod-python"}
{"mined_at": "2024-07-15T17:57:38.800098", "created_at": "2024-02-14T04:14:13+01:00", "updated_at": "2024-02-14T19:27:39+01:00", "name": "Docs Reminder Auto Comment", "path": ".github/workflows/docs-reminder.yml", "contents": null, "state": "active", "repository": "runpod/runpod-python"}
{"mined_at": "2024-07-15T17:57:39.804371", "created_at": "2024-05-11T05:38:48+02:00", "updated_at": "2024-05-11T05:38:48+02:00", "name": "apidocs", "path": ".github/workflows/CI-api-docs.yml", "contents": null, "state": "active", "repository": "runpod/runpod-python"}
{"mined_at": "2024-07-15T17:57:42.004383", "created_at": "2021-02-23T16:42:07+01:00", "updated_at": "2021-02-23T16:42:07+01:00", "name": "code-check", "path": ".github/workflows/code-check.yml", "contents": "name: code-check\n\non:\n  push:\n    branches: [\"main\"]\n    tags: [\"*\"]\n  pull_request:\n    branches:\n      - \"*\"\n      - \"!gh-pages\"\n\njobs:\n  python-format-black:\n    name: Python lint [black]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout the code\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install black\n        run: |\n          pip install black>=24\n\n      - name: Lint\n        run: black --check .\n\n  python-lint-ruff:\n    name: Python lint [ruff]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout the code\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install ruff\n        run: |\n          pip install ruff\n\n      - name: Lint\n        run: ruff .\n", "state": "active", "repository": "datamol-io/datamol"}
{"mined_at": "2024-07-15T17:57:43.081104", "created_at": "2021-02-23T16:42:07+01:00", "updated_at": "2022-09-04T21:52:32+02:00", "name": "doc", "path": ".github/workflows/doc.yml", "contents": "name: doc\n\non:\n  push:\n    branches: [\"main\"]\n\n# Prevent doc action on `main` to conflict with each others.\nconcurrency:\n  group: doc-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  doc:\n    runs-on: \"ubuntu-latest\"\n    timeout-minutes: 30\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Checkout the code\n        uses: actions/checkout@v4\n\n      - name: Setup mamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: env.yml\n          environment-name: my_env\n          cache-environment: true\n          cache-downloads: true\n\n      - name: Install library\n        run: python -m pip install --no-deps .\n\n      - name: Configure git\n        run: |\n          git config --global user.name \"${GITHUB_ACTOR}\"\n          git config --global user.email \"${GITHUB_ACTOR}@users.noreply.github.com\"\n\n      - name: Deploy the doc\n        run: |\n          echo \"Get the gh-pages branch\"\n          git fetch origin gh-pages\n\n          echo \"Build and deploy the doc on main\"\n          mike deploy --push main\n", "state": "active", "repository": "datamol-io/datamol"}
{"mined_at": "2024-07-15T17:57:44.080766", "created_at": "2023-03-24T13:50:29+01:00", "updated_at": "2023-03-24T13:50:29+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  workflow_dispatch:\n    inputs:\n      release-version:\n        description: \"A valid Semver version string\"\n        required: true\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  release:\n    # Do not release if not triggered from the default branch\n    if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Checkout the code\n        uses: actions/checkout@v4\n\n      - name: Setup mamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: env.yml\n          environment-name: my_env\n          cache-environment: true\n          cache-downloads: true\n          create-args: >-\n            pip\n            semver\n            python-build\n            setuptools_scm\n\n      - name: Check the version is valid semver\n        run: |\n          RELEASE_VERSION=\"${{ inputs.release-version }}\"\n\n          {\n            pysemver check $RELEASE_VERSION\n          } || {\n            echo \"The version '$RELEASE_VERSION' is not a valid Semver version string.\"\n            echo \"Please use a valid semver version string. More details at https://semver.org/\"\n            echo \"The release process is aborted.\"\n            exit 1\n          }\n\n      - name: Check the version is higher than the latest one\n        run: |\n          # Retrieve the git tags first\n          git fetch --prune --unshallow --tags &> /dev/null\n\n          RELEASE_VERSION=\"${{ inputs.release-version }}\"\n          LATEST_VERSION=$(git describe --abbrev=0 --tags)\n\n          IS_HIGHER_VERSION=$(pysemver compare $RELEASE_VERSION $LATEST_VERSION)\n\n          if [ \"$IS_HIGHER_VERSION\" != \"1\" ]; then\n            echo \"The version '$RELEASE_VERSION' is not higher than the latest version '$LATEST_VERSION'.\"\n            echo \"The release process is aborted.\"\n            exit 1\n          fi\n\n      - name: Build Changelog\n        id: github_release\n        uses: mikepenz/release-changelog-builder-action@v4\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          toTag: \"main\"\n\n      - name: Configure git\n        run: |\n          git config --global user.name \"${GITHUB_ACTOR}\"\n          git config --global user.email \"${GITHUB_ACTOR}@users.noreply.github.com\"\n\n      - name: Create and push git tag\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Tag the release\n          git tag -a \"${{ inputs.release-version }}\" -m \"Release version ${{ inputs.release-version }}\"\n\n          # Checkout the git tag\n          git checkout \"${{ inputs.release-version }}\"\n\n          # Push the modified changelogs\n          git push origin main\n\n          # Push the tags\n          git push origin \"${{ inputs.release-version }}\"\n\n      - name: Install library\n        run: python -m pip install --no-deps .\n\n      - name: Build the wheel and sdist\n        run: python -m build --no-isolation\n\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          packages-dir: dist/\n\n      - name: Create GitHub Release\n        uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844\n        with:\n          tag_name: ${{ inputs.release-version }}\n          body: ${{steps.github_release.outputs.changelog}}\n\n      - name: Deploy the doc\n        run: |\n          echo \"Get the gh-pages branch\"\n          git fetch origin gh-pages\n\n          echo \"Build and deploy the doc on ${{ inputs.release-version }}\"\n          mike deploy --push stable\n          mike deploy --push ${{ inputs.release-version }}\n", "state": "active", "repository": "datamol-io/datamol"}
{"mined_at": "2024-07-15T17:57:45.257628", "created_at": "2021-02-23T16:42:07+01:00", "updated_at": "2022-09-04T20:47:23+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches: [\"main\"]\n    tags: [\"*\"]\n  pull_request:\n    branches:\n      - \"*\"\n      - \"!gh-pages\"\n  schedule:\n    - cron: \"0 4 * * MON\"\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n        os: [\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]\n        rdkit-version: [\"2023.09\", \"2024.03\"]\n\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 30\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    name: |\n      os=${{ matrix.os }}\n      - python=${{ matrix.python-version }}\n      - rdkit=${{ matrix.rdkit-version }}\n\n    steps:\n      - name: Checkout the code\n        uses: actions/checkout@v4\n\n      - name: Setup mamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: env.yml\n          environment-name: my_env\n          cache-environment: true\n          cache-downloads: true\n          create-args: >-\n            python=${{ matrix.python-version }}\n            rdkit=${{ matrix.rdkit-version }}\n\n      - name: Install library\n        run: python -m pip install --no-deps -e . # `-e` required for correct `coverage` run.\n\n      - name: Run tests\n        run: pytest\n\n      - name: Codecov Upload\n        uses: codecov/codecov-action@v4\n        with:\n          files: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n          fail_ci_if_error: false\n          verbose: false\n          env_vars: ${{ matrix.os }},${{ matrix.python-version }},${{ matrix.rdkit-version }}\n\n      - name: Test building the doc\n        run: mkdocs build\n", "state": "active", "repository": "datamol-io/datamol"}
{"mined_at": "2024-07-15T17:57:46.249334", "created_at": "2021-12-17T21:11:10+01:00", "updated_at": "2021-12-17T21:11:10+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "datamol-io/datamol"}
{"mined_at": "2024-07-15T17:57:48.414065", "created_at": "2024-07-11T14:32:38+02:00", "updated_at": "2024-07-11T15:23:21+02:00", "name": "Milestone Assigned", "path": ".github/workflows/milestone_check.yml", "contents": null, "state": "active", "repository": "zauberzeug/rosys"}
{"mined_at": "2024-07-15T17:57:49.651702", "created_at": "2022-10-31T11:11:52+01:00", "updated_at": "2022-10-31T11:11:52+01:00", "name": "On Push", "path": ".github/workflows/on_push.yml", "contents": "name: On Push\n\non: push\n\njobs:\n  #depending on pytest workflow, see https://stackoverflow.com/a/71489231/364388\n  pytest:\n    uses: ./.github/workflows/pytest.yml\n\n  slack:\n    needs:\n      - pytest\n    if: always() # also execute when pytest fails\n    runs-on: ubuntu-latest\n    steps:\n      - name: Determine if we need to notify\n        uses: Jimdo/should-i-notify-action@main\n        id: should_notify\n        with:\n          needs_context: ${{ toJson(needs) }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Slack workflow notification\n        if: steps.should_notify.outputs.should_send_message == 'yes'\n        uses: Gamesight/slack-workflow-status@master\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          slack_webhook_url: ${{ secrets.SLACK_ROBOTICS_CI_WEBHOOK }}\n          channel: \"robotik-ci\"\n          name: \"RoSys\"\n", "state": "active", "repository": "zauberzeug/rosys"}
{"mined_at": "2024-07-15T17:57:50.894322", "created_at": "2021-06-19T04:53:34+02:00", "updated_at": "2021-06-19T04:53:34+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "name: Upload Python Package\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - v**\n\njobs:\n  #depending on pytest workflow, see https://stackoverflow.com/a/71489231/364388\n  pytest:\n    uses: ./.github/workflows/pytest.yml\n\n  pypi:\n    runs-on: ubuntu-latest\n    needs: pytest\n    steps:\n      - uses: actions/checkout@v2\n      - name: set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.11\"\n      - name: set up Poetry\n        uses: abatilo/actions-poetry@v2.0.0\n        with:\n          poetry-version: \"1.3.1\"\n      - name: Update version.py\n        run: |\n          echo \"__version__ = '${GITHUB_REF#refs/tags/v}'\" > rosys/version.py\n      - name: get version\n        id: get_version\n        run: echo ::set-output name=VERSION::${GITHUB_REF/refs\\/tags\\//}\n      - name: set version\n        run: poetry version ${{ steps.get_version.outputs.VERSION }}\n      - name: publish\n        env:\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}\n        run: poetry publish --build\n      - name: Create GitHub release entry\n        uses: softprops/action-gh-release@v1\n        id: create_release\n        with:\n          draft: false\n          prerelease: false\n          name: ${{ steps.get_version.outputs.VERSION }}\n          tag_name: ${{ steps.get_version.outputs.VERSION }}\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n      - name: verify\n        shell: bash\n        run: for i in {1..100}; do python -m pip install 'rosys==${{ steps.get_version.outputs.VERSION }}' && break || sleep 2; done\n\n  docker:\n    needs: pypi\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Prepare\n        id: prep\n        run: |\n          DOCKER_IMAGE=${{ secrets.DOCKER_USERNAME }}/${GITHUB_REPOSITORY#*/}\n          VERSION=latest\n          SHORTREF=${GITHUB_SHA::8}\n\n          # If this is git tag, use the tag name as a docker tag\n          if [[ $GITHUB_REF == refs/tags/* ]]; then\n            VERSION=${GITHUB_REF#refs/tags/v}\n          fi\n          TAGS=\"${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:${SHORTREF}\"\n\n          # If the VERSION looks like a version number, assume that\n          # this is the most recent version of the image and also\n          # tag it 'latest'.\n          if [[ $VERSION =~ ^[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}$ ]]; then\n            TAGS=\"$TAGS,${DOCKER_IMAGE}:latest\"\n          fi\n\n          # Set output parameters.\n          echo ::set-output name=tags::${TAGS}\n          echo ::set-output name=docker_image::${DOCKER_IMAGE}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@master\n        with:\n          platforms: all\n      - name: Login to DockerHub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@master\n        with:\n          install: true\n      - name: Build\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          build-args: INSTALL_DEV=true\n          push: true\n          tags: ${{ steps.prep.outputs.tags }}\n\n      # Uploading the README.md is not a core feature of docker/build-push-action yet\n      - name: Update README\n        uses: christian-korneck/update-container-description-action@v1\n        env:\n          DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}\n          DOCKER_PASS: ${{ secrets.DOCKER_PASSWORD }}\n        with:\n          destination_container_repo: zauberzeug/rosys\n          provider: dockerhub\n          short_description: \"A robot system based on web technologies with focus on autonomous mobile robots.\"\n\n  docs:\n    runs-on: ubuntu-latest\n    needs: pypi\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          python3 -m pip install -r mkdocs_requirements.txt\n          python3 -m pip install -e .\n      - name: Build docs\n        run: mkdocs build -v\n      - name: Deploy gh-pages\n        uses: JamesIves/github-pages-deploy-action@v4.2.5\n        with:\n          branch: gh-pages\n          folder: site\n", "state": "active", "repository": "zauberzeug/rosys"}
{"mined_at": "2024-07-15T17:57:51.928629", "created_at": "2021-06-28T05:17:09+02:00", "updated_at": "2021-06-28T05:35:08+02:00", "name": "Run Tests", "path": ".github/workflows/pytest.yml", "contents": "name: Run Tests\n\non: workflow_call\n\njobs:\n  pytest:\n    strategy:\n      matrix:\n        python: [\"3.10\", \"3.11\"]\n      fail-fast: false\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v2\n      - name: set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python }}\n      - name: set up Poetry\n        uses: abatilo/actions-poetry@v2.0.0\n        with:\n          poetry-version: \"1.3.1\"\n      - name: install dependencies\n        run: |\n          poetry config virtualenvs.create false --local\n          poetry install\n          sudo apt-get update && sudo apt-get install -y v4l-utils\n      - name: test\n        run: pytest\n      - name: examples\n        run: cd tests && ./test_examples.py\n", "state": "active", "repository": "zauberzeug/rosys"}
{"mined_at": "2024-07-15T17:57:53.033389", "created_at": "2022-02-19T14:42:02+01:00", "updated_at": "2022-02-19T14:42:02+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "zauberzeug/rosys"}
{"mined_at": "2024-07-15T17:57:55.337386", "created_at": "2022-12-28T21:03:43+01:00", "updated_at": "2022-12-28T21:03:43+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n    push:\n        branches: [\"master\"]\n    pull_request:\n        # The branches below must be a subset of the branches above\n        branches: [\"master\"]\n    schedule:\n        - cron: \"28 14 * * 1\"\n\njobs:\n    analyze:\n        name: Analyze\n        runs-on: ubuntu-latest\n        permissions:\n            actions: read\n            contents: read\n            security-events: write\n\n        strategy:\n            fail-fast: false\n            matrix:\n                language: [\"python\"]\n                # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n                # Use only 'java' to analyze code written in Java, Kotlin or both\n                # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n                # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n        steps:\n            - name: Checkout repository\n              uses: actions/checkout@v4\n\n            # Initializes the CodeQL tools for scanning.\n            - name: Initialize CodeQL\n              uses: github/codeql-action/init@v3\n              with:\n                  languages: ${{ matrix.language }}\n                  # If you wish to specify custom queries, you can do so here or in a config file.\n                  # By default, queries listed here will override any specified in a config file.\n                  # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n                  # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n                  # queries: security-extended,security-and-quality\n\n            # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n            # If this step fails, then you should remove it and run the build manually (see below)\n            - name: Autobuild\n              uses: github/codeql-action/autobuild@v3\n\n            # ℹ️ Command-line programs to run using the OS shell.\n            # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n            #   If the Autobuild fails above, remove it and uncomment the following three lines.\n            #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n            # - run: |\n            #   echo \"Run, Build Application using script\"\n            #   ./location_of_script_within_repo/buildscript.sh\n\n            - name: Perform CodeQL Analysis\n              uses: github/codeql-action/analyze@v3\n              with:\n                  category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "hyundai-kia-connect/hyundai_kia_connect_api"}
{"mined_at": "2024-07-15T17:57:56.328796", "created_at": "2023-12-23T04:51:28+01:00", "updated_at": "2023-12-23T04:51:28+01:00", "name": "Lint PR", "path": ".github/workflows/lintPR.yaml", "contents": "name: \"Lint PR\"\n\non:\n    pull_request_target:\n        types:\n            - opened\n            - edited\n            - synchronize\n\njobs:\n    main:\n        runs-on: ubuntu-latest\n        steps:\n            # Please look up the latest version from\n            # https://github.com/amannn/action-semantic-pull-request/releases\n            - uses: amannn/action-semantic-pull-request@v5.5.2\n              env:\n                  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "hyundai-kia-connect/hyundai_kia_connect_api"}
{"mined_at": "2024-07-15T17:57:57.342013", "created_at": "2021-12-24T23:29:26+01:00", "updated_at": "2021-12-24T23:30:12+01:00", "name": "PyPI Release", "path": ".github/workflows/pypi.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: PyPI Release\n\n# Controls when the workflow will run\non:\n    release:\n\n    # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n    deploy:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v4\n            - name: Set up Python\n              uses: actions/setup-python@v5\n              with:\n                  python-version: \"3.x\"\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install build\n            - name: Build package\n              run: python -m build\n            - name: Publish package to PyPi Test\n              uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0\n              with:\n                  user: __token__\n                  password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n                  repository_url: https://test.pypi.org/legacy/\n            - name: Publish package to PyPi Live\n              uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0\n              with:\n                  user: __token__\n                  password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "hyundai-kia-connect/hyundai_kia_connect_api"}
{"mined_at": "2024-07-15T17:57:58.470862", "created_at": "2022-01-17T01:12:34+01:00", "updated_at": "2022-02-13T15:35:53+01:00", "name": "Test Builds", "path": ".github/workflows/python-tests.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Test Builds\n\non:\n    pull_request_target:\n        branches:\n            - master\n\njobs:\n    build:\n        runs-on: ubuntu-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python-version: [\"3.10\"]\n\n        steps:\n            - uses: actions/checkout@v4\n              with:\n                  ref: ${{github.event.pull_request.head.ref}}\n                  repository: ${{github.event.pull_request.head.repo.full_name}}\n            - name: Set up Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  python -m pip install flake8 pytest\n                  if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n            - name: Lint with flake8\n              run: |\n                  # stop the build if there are Python syntax errors or undefined names\n                  flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n                  # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n                  flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n            - name: Test with pytest\n              env:\n                  KIA_CA_CDNNINJA_USERNAME: ${{ secrets.KIA_CA_CDNNINJA_USERNAME }}\n                  KIA_CA_CDNNINJA_PASSWORD: ${{ secrets.KIA_CA_CDNNINJA_PASSWORD }}\n                  KIA_CA_CDNNINJA_PIN: ${{ secrets.KIA_CA_CDNNINJA_PIN }}\n                  KIA_EU_FUATAKGUN_USERNAME: ${{ secrets.KIA_EU_FUATAKGUN_USERNAME }}\n                  KIA_EU_FUATAKGUN_PASSWORD: ${{ secrets.KIA_EU_FUATAKGUN_PASSWORD }}\n              run: |\n                  pytest\n", "state": "active", "repository": "hyundai-kia-connect/hyundai_kia_connect_api"}
{"mined_at": "2024-07-15T17:57:59.597238", "created_at": "2021-12-24T23:29:13+01:00", "updated_at": "2021-12-24T23:29:13+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n# Controls when the workflow will run\non:\n    # Triggers the workflow on push or pull request events but only for the master branch\n    push:\n        branches: [master]\n    workflow_dispatch:\njobs:\n    build:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v4\n            - name: Gets semantic release info\n              id: semantic_release_info\n              uses: jossef/action-semantic-release-info@v2\n              env:\n                  GITHUB_TOKEN: ${{ github.token }}\n            - name: Update Version and Commit\n              if: ${{steps.semantic_release_info.outputs.version != ''}}\n              run: |\n                  echo \"Version: ${{steps.semantic_release_info.outputs.version}}\"\n                  sed -i \"s/version=\\\".*\\\",/version=\\\"${{steps.semantic_release_info.outputs.version}}\\\",/g\" setup.py\n                  git config --local user.email \"action@github.com\"\n                  git config --local user.name \"GitHub Action\"\n                  git add -A\n                  git commit -m \"chore: bumping version to ${{steps.semantic_release_info.outputs.version}}\"\n                  git tag ${{ steps.semantic_release_info.outputs.git_tag }}\n            - name: Push changes\n              if: ${{steps.semantic_release_info.outputs.version != ''}}\n              uses: ad-m/github-push-action@v0.8.0\n              with:\n                  github_token: ${{ github.token }}\n                  tags: true\n            - name: Create GitHub Release\n              if: ${{steps.semantic_release_info.outputs.version != ''}}\n              uses: actions/create-release@v1\n              env:\n                  GITHUB_TOKEN: ${{ github.token }}\n              with:\n                  tag_name: ${{ steps.semantic_release_info.outputs.git_tag }}\n                  release_name: ${{ steps.semantic_release_info.outputs.git_tag }}\n                  body: ${{ steps.semantic_release_info.outputs.notes }}\n                  draft: false\n                  prerelease: false\n            - name: Install dependencies\n              if: ${{steps.semantic_release_info.outputs.version != ''}}\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install build\n            - name: Build package\n              if: ${{steps.semantic_release_info.outputs.version != ''}}\n              run: python -m build\n            - name: Publish package to PyPi Test\n              if: ${{steps.semantic_release_info.outputs.version != ''}}\n              uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0\n              with:\n                  user: __token__\n                  password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n                  repository_url: https://test.pypi.org/legacy/\n            - name: Publish package to PyPi Live\n              if: ${{steps.semantic_release_info.outputs.version != ''}}\n              uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0\n              with:\n                  user: __token__\n                  password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "hyundai-kia-connect/hyundai_kia_connect_api"}
{"mined_at": "2024-07-15T17:58:01.826217", "created_at": "2021-02-05T03:02:17+01:00", "updated_at": "2022-10-25T20:11:48+02:00", "name": "Test and Publish", "path": ".github/workflows/test.yml", "contents": "name: Test and Publish\non:\n  push:\n    branches:\n      - main\n      - series/*\n  release:\n    types: [published]\n  pull_request:\n\nconcurrency:\n  group: test-${{github.ref}}\n  cancel-in-progress: true\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n  test-conda:\n    name: Test with Conda Python ${{matrix.python}} on ${{matrix.platform}}\n    runs-on: ${{matrix.platform}}-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        platform:\n        - macos\n        - windows\n        - ubuntu\n        python:\n        - \"3.8\"\n        - \"3.9\"\n        - \"3.10\"\n        - \"3.11\"\n        - \"3.12\"\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n\n    - name: Create Conda environment file\n      run: |\n        ct_opts=\"-p $PYVER -e test\"\n        ct_args=\"pyproject.toml\"\n        plat=$(uname -m)\n        if [ \"$plat\" != arm64 ]; then\n          ct_opts=\"$ct_opts -e dev -e mkl\"\n          ct_args=\"$ct_args mkl-devel.yml\"\n        fi\n        pipx run ./utils/conda-tool.py --env -o environment.yml $ct_opts $ct_args\n      env:\n        PYVER: ${{matrix.python}}\n\n    - name: 👢 Set up Conda environment\n      uses: mamba-org/setup-micromamba@v1\n      id: setup\n      with:\n        environment-file: environment.yml\n        environment-name: csr\n        init-shell: bash\n\n    - name: 🔎 Inspect environment\n      run: |\n        numba -s\n\n    - name: 🛠 Compile MKL helper\n      if: matrix.platform != 'macos'\n      run: |\n        invoke build-mkl\n\n    - name: Run tests\n      run: |\n        python -m pytest --cov=csr -v\n\n    - name: Run tests without JIT\n      run: |\n        python -m pytest --cov=csr --cov-append --log-file=test-nojit.log --hypothesis-profile=nojit\n      env:\n        NUMBA_DISABLE_JIT: 1\n\n    - name: Aggregate coverage data\n      run: coverage xml\n\n    - name: Save test results\n      uses: lenskit/lkbuild/actions/save-test-results@main\n      with:\n        artifact-name: test-conda-${{matrix.platform}}-py${{matrix.python}}\n\n  test-vanilla:\n    name: Test w/ Vanilla Python ${{matrix.python}} on ${{matrix.platform}}\n    runs-on: ${{matrix.platform}}-latest\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        python:\n        - \"3.8\"\n        - \"3.9\"\n        - \"3.10\"\n        - \"3.11\"\n        platform:\n        - windows\n        - ubuntu\n    steps:\n      - name: Check out source\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python and environment\n        uses: lenskit/lkbuild/actions/setup-vanilla-env@main\n        with:\n          python-version: ${{matrix.python}}\n\n      - name: 🔎 Inspect environment\n        run: |\n          numba -s\n\n      - name: Run tests\n        run: |\n          python -m pytest --cov=csr --cov-report=xml --log-file=test.log\n\n      - name: Save test results\n        uses: lenskit/lkbuild/actions/save-test-results@main\n        with:\n          artifact-name: test-vanilla-${{matrix.platform}}-py${{matrix.python}}\n\n  test-mindeps:\n    name: Test w/ Oldest Deps\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    steps:\n      - name: Check out source\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python and environment\n        uses: lenskit/lkbuild/actions/setup-vanilla-env@main\n        with:\n          python-version: \"3.8\"\n          include-dev-dependencies: false\n          extras: test\n          constraints-file: min-constraints.txt\n\n      - name: 🔎 Inspect environment\n        run: |\n          numba -s\n\n      - name: Run tests\n        run: |\n          python -m pytest --cov=csr --cov-report=xml --log-file=test.log\n\n      - name: Run tests without JIT\n        run: |\n          python -m pytest --cov=csr --cov-append --log-file=test-nojit.log --hypothesis-profile=nojit\n        env:\n          NUMBA_DISABLE_JIT: 1\n\n      - name: Save test results\n        uses: lenskit/lkbuild/actions/save-test-results@main\n        with:\n          artifact-name: test-mindeps\n\n\n  process-tests:\n    name: Process Test Results\n    runs-on: ubuntu-latest\n    needs: [test-conda, test-vanilla, test-mindeps]\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n\n    - name: Process test reports\n      uses: lenskit/lkbuild/actions/report-test-results@main\n\n  package:\n    name: Package and Publish\n    runs-on: ubuntu-latest\n    needs: [process-tests]\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n\n    - name: Fetch Git tags\n      run: git fetch --tags\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n\n    - name: Install Python deps\n      run: pip install -U flit\n\n    - name: Build distribution\n      run: flit build\n\n    - name: Save distribution archive\n      uses: actions/upload-artifact@v3\n      with:\n        name: pypi-pkgs\n        path: dist\n\n    - name: List dist dir\n      run: ls -R dist\n\n    - name: Publish PyPI packages\n      if: github.event_name == 'release'\n      run: |\n        flit publish\n      shell: bash\n      env:\n        TWINE_NON_INTERACTIVE: y\n        FLIT_USERNAME: __token__\n        FLIT_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "lenskit/csr"}
{"mined_at": "2024-07-15T17:58:04.206047", "created_at": "2022-05-17T08:35:01+02:00", "updated_at": "2022-05-17T12:55:32+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "name: Upload Python Package\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    branches:\n      - dev\n  push:\n    branches:\n      - dev\n    tags:\n      - 'v*.*.*'\n\nenv:\n  # Change this to invalidate existing cache.\n  CACHE_PREFIX: v0\n  PYTHON_PATH: ./\n\npermissions:\n  contents: write\n\njobs:\n  checks:\n    name: Python ${{ matrix.python }} - ${{ matrix.task.name }}\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        python: ['3.10']\n#        task:\n#          - name: Test\n#            run: |\n#              pytest -v --color=yes tests/\n\n        include:\n#          - python: '3.10'\n#            task:\n#              name: Lint\n#              run: flake8 .\n\n#          - python: '3.10'\n#            task:\n#              name: Type check\n#              run: mypy .\n\n          - python: '3.10'\n            task:\n              name: Build\n              run: |\n                python setup.py check\n                python setup.py bdist_wheel sdist\n\n#          - python: '3.10'\n#            task:\n#              name: Style\n#              run: black --check .\n\n#          - python: '3.10'\n#            task:\n#              name: Docs\n#              run: cd docs && make html\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: '18.x'\n\n      - name: Setup Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install prerequisites\n        run: |\n          pip install --upgrade pip setuptools wheel virtualenv\n\n      - name: Set build variables\n        shell: bash\n        run: |\n          # Get the exact Python version to use in the cache key.\n          echo \"PYTHON_VERSION=$(python --version)\" >> $GITHUB_ENV\n          echo \"RUNNER_ARCH=$(uname -m)\" >> $GITHUB_ENV\n          echo \"NODE_VERSION=$(node --version)\" >> $GITHUB_ENV\n          # Use week number in cache key so we can refresh the cache weekly.\n          echo \"WEEK_NUMBER=$(date +%V)\" >> $GITHUB_ENV\n\n      - uses: actions/cache@v3\n        id: virtualenv-cache\n        with:\n          path: |\n            .venv\n            src/web/node_modules\n          key: ${{ env.CACHE_PREFIX }}-${{ env.WEEK_NUMBER }}-${{ runner.os }}-${{ env.RUNNER_ARCH }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('requirements.txt') }}-${{ env.NODE_VERSION }}-${{ hashFiles('src/web/package-lock.json') }}\n          restore-keys: |\n            ${{ env.CACHE_PREFIX }}-${{ env.WEEK_NUMBER }}-${{ runner.os }}-${{ env.RUNNER_ARCH }}-${{ env.PYTHON_VERSION }}-${{ env.NODE_VERSION }}\n\n      - name: Setup virtual environment (no cache hit)\n        if: steps.virtualenv-cache.outputs.cache-hit != 'true'\n        run: |\n          test -d .venv || virtualenv -p $(which python) --copies --reset-app-data .venv\n          . .venv/bin/activate\n          pip install -e .[dev]\n          cd src/web\n          npm install\n\n      - name: Install editable (cache hit)\n        if: steps.virtualenv-cache.outputs.cache-hit == 'true'\n        run: |\n          . .venv/bin/activate\n          pip install --no-deps -e .[dev]\n\n      - name: Show environment info\n        run: |\n          . .venv/bin/activate\n          which python\n          python --version\n          pip freeze\n          which node\n          node --version\n\n      - name: Build Web\n        run: |\n          cd src/web\n          npm run build\n        env:\n          CI: false\n\n      - name: ${{ matrix.task.name }}\n        run: |\n          . .venv/bin/activate\n          ${{ matrix.task.run }}\n\n      - name: Upload package distribution files\n        if: matrix.task.name == 'Build'\n        uses: actions/upload-artifact@v2\n        with:\n          name: package\n          path: dist\n\n      - name: Clean up\n        if: always()\n        run: |\n          . .venv/bin/activate\n          pip uninstall -y my-package\n\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    needs: [checks]\n    if: startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/checkout@v1\n\n      - name: Setup Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.10'\n\n      - name: Install requirements\n        run: |\n          pip install --upgrade pip setuptools wheel\n          pip install -r requirements.txt\n\n      - name: Prepare environment\n        run: |\n          echo \"RELEASE_VERSION=${GITHUB_REF#refs/tags/v}\" >> $GITHUB_ENV\n          echo \"TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV\n\n      - name: Download package distribution files\n        uses: actions/download-artifact@v2\n        with:\n          name: package\n          path: dist\n\n      - name: Generate release notes\n        run: |\n          python scripts/release_notes.py > ${{ github.workspace }}-RELEASE_NOTES.md\n\n      - name: Publish GitHub release\n        uses: softprops/action-gh-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          body_path: ${{ github.workspace }}-RELEASE_NOTES.md\n          prerelease: ${{ contains(env.TAG, 'rc') }}\n          files: |\n            dist/*\n", "state": "active", "repository": "azure/aaz-dev-tools"}
{"mined_at": "2024-07-15T17:58:05.310747", "created_at": "2023-04-24T04:33:10+02:00", "updated_at": "2023-04-24T04:33:10+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "azure/aaz-dev-tools"}
{"mined_at": "2024-07-15T17:58:07.378770", "created_at": "2024-04-18T16:17:35+02:00", "updated_at": "2024-04-19T11:20:18+02:00", "name": "Build images and test for multiple python versions", "path": ".github/workflows/build_and_test.yaml", "contents": null, "state": "active", "repository": "columnflow/columnflow"}
{"mined_at": "2024-07-15T17:58:08.392498", "created_at": "2024-04-11T13:01:29+02:00", "updated_at": "2024-04-11T13:01:29+02:00", "name": ".github/workflows/build_docker_container.yaml", "path": ".github/workflows/build_docker_container.yaml", "contents": null, "state": "active", "repository": "columnflow/columnflow"}
{"mined_at": "2024-07-15T17:58:09.406295", "created_at": "2023-05-12T01:28:08+02:00", "updated_at": "2023-05-12T01:28:08+02:00", "name": "Docs", "path": ".github/workflows/build_docs.yaml", "contents": null, "state": "active", "repository": "columnflow/columnflow"}
{"mined_at": "2024-07-15T17:58:10.554497", "created_at": "2023-05-26T15:00:10+02:00", "updated_at": "2023-05-26T15:00:10+02:00", "name": "GH Pages Redirect", "path": ".github/workflows/gh_pages.yaml", "contents": "name: GH Pages Redirect\n\non:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Setup Pages\n        uses: actions/configure-pages@v3\n\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: \"./docs/gh_pages\"\n\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "columnflow/columnflow"}
{"mined_at": "2024-07-15T17:58:11.783340", "created_at": "2022-04-07T11:47:14+02:00", "updated_at": "2022-04-07T11:47:14+02:00", "name": "Lint and test", "path": ".github/workflows/lint_and_test.yaml", "contents": "name: Lint and test\n\non:\n  workflow_dispatch:\n  push:\n  pull_request:\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout ⬇️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          submodules: recursive\n\n      - name: Setup python 🐍\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies ☕️\n        run: |\n          source setup.sh \"\"\n\n      - name: Lint 🔍\n        run: |\n          source setup.sh \"\"\n          ./tests/run_linting\n\n  lint_docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout ⬇️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          submodules: recursive\n\n      - name: Setup python 🐍\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies ☕️\n        run: |\n          source setup.sh \"\"\n\n      - name: Lint 🔍\n        run: |\n          source setup.sh \"\"\n          ./tests/run_docs lint\n\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout ⬇️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          submodules: recursive\n\n      - name: Setup python 🐍\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies ☕️\n        run: |\n          source setup.sh \"\"\n\n      - name: Test 🎢\n        run: |\n          source setup.sh \"\"\n          ./tests/run_tests\n\n  pypi:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout ⬇️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          submodules: recursive\n\n      - name: Setup python 🐍\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies ☕️\n        run: |\n          pip install -U pip\n          pip install twine\n\n      - name: Check bundling 📦\n        run: python setup.py sdist\n\n      - name: Check setup 🚦\n        run: twine check \"dist/$( python setup.py --fullname ).tar.gz\"\n\n  coverage:\n    runs-on: ubuntu-latest\n    env:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n    steps:\n      - name: Checkout ⬇️\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          submodules: recursive\n\n      - name: Setup python 🐍\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies ☕️\n        run: |\n          source setup.sh \"\"\n\n      - name: Run coverage test 🎢\n        run: |\n          source setup.sh \"\"\n          ./tests/run_coverage\n          ls -al\n\n      - name: Upload report 🔝\n        uses: codecov/codecov-action@v4\n        with:\n          flags: unittests\n          files: coverage_test_util.xml,coverage_test_columnar_util.xml\n          verbose: true\n", "state": "active", "repository": "columnflow/columnflow"}
{"mined_at": "2024-07-15T17:58:12.996019", "created_at": "2022-08-18T18:52:58+02:00", "updated_at": "2022-08-18T18:52:58+02:00", "name": "Publish on PyPI", "path": ".github/workflows/publish_pypi.yaml", "contents": "name: Publish on PyPI\n\non:\n  workflow_dispatch:\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout ⬇️\n        uses: actions/checkout@master\n        with:\n          persist-credentials: false\n          submodules: recursive\n\n      - name: Setup python 🐍\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies ☕️\n        run: |\n          pip install -U pip\n          pip install twine\n\n      - name: Bundle 📦\n        run: python setup.py sdist\n\n      - name: Publish package 🐍\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN }}\n          skip-existing: true\n", "state": "active", "repository": "columnflow/columnflow"}
{"mined_at": "2024-07-15T17:58:14.141102", "created_at": "2024-02-20T16:57:28+01:00", "updated_at": "2024-04-17T21:45:13+02:00", "name": "Build Docker Containers", "path": ".github/workflows/test_docker.yaml", "contents": null, "state": "active", "repository": "columnflow/columnflow"}
{"mined_at": "2024-07-15T17:58:15.176899", "created_at": "2023-05-12T01:17:48+02:00", "updated_at": "2023-05-12T01:17:48+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "columnflow/columnflow"}
{"mined_at": "2024-07-15T17:58:17.826436", "created_at": "2023-10-12T14:32:05+02:00", "updated_at": "2023-10-12T14:32:05+02:00", "name": "Clear cache", "path": ".github/workflows/clear-cache.yml", "contents": "\nname: Clear cache\n\non:\n    schedule:\n      - cron: '0 0 1 * *'\n    workflow_dispatch:\n\npermissions:\n  actions: write\n\njobs:\n  clear-cache:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clear cache\n        uses: actions/github-script@v7\n        with:\n          script: |\n            console.log(\"About to clear\")\n            const caches = await github.rest.actions.getActionsCacheList({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n            })\n            for (const cache of caches.data.actions_caches) {\n              console.log(cache)\n              github.rest.actions.deleteActionsCacheById({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                cache_id: cache.id,\n              })\n            }\n            console.log(\"Clear completed\")\n", "state": "active", "repository": "roboflow/supervision"}
{"mined_at": "2024-07-15T17:58:19.024676", "created_at": "2024-04-12T17:49:27+02:00", "updated_at": "2024-04-12T17:49:27+02:00", "name": "Docs WorkFlow - Develop Tag 📚", "path": ".github/workflows/publish-dev-docs.yml", "contents": "name: Docs WorkFlow - Develop Tag 📚\n\non:\n  push:\n    branches:\n      - develop\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref}}\n  cancel-in-progress: true\n\npermissions:\n  contents: write\n  pages: write\n  pull-requests: write\n\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🔄 Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: 🐍 Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: 📦 Install mkdocs-material\n        run: pip install \"mkdocs-material\"\n      - name: 📦 Install mkdocstrings[python]\n        run: pip install \"mkdocstrings[python]\"\n      - name: 📦 Install mkdocs-material[imaging]\n        run: pip install \"mkdocs-material[imaging]\"\n      - name: 📦 Install mike\n        run: pip install \"mike\"\n      - name: 📦 Install mkdocs-git-revision-date-localized-plugin\n        run: pip install \"mkdocs-git-revision-date-localized-plugin\"\n      - name: 📦 Install JupyterLab\n        run: pip install jupyterlab\n      - name: 📦 Install mkdocs-jupyter\n        run: pip install mkdocs-jupyter\n      - name: 📦 Install mkdocs-git-committers-plugin-2\n        run: pip install mkdocs-git-committers-plugin-2\n      - name: ⚙️ Configure git for github-actions\n        run: |\n          git config --global user.name \"github-actions[bot]\"\n          git config --global user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n      - name: 🚀 Deploy MkDoc-Material with mike\n        run: |\n          MKDOCS_GIT_COMMITTERS_APIKEY=${{ secrets.GITHUB_TOKEN }} mike deploy --push develop\n", "state": "active", "repository": "roboflow/supervision"}
{"mined_at": "2024-07-15T17:58:20.288644", "created_at": "2024-04-01T00:16:43+02:00", "updated_at": "2024-04-12T17:49:27+02:00", "name": "Supervision Release Documentation Workflow 📚", "path": ".github/workflows/publish-release-docs.yml", "contents": "name: Supervision Release Documentation Workflow 📚\non:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref}}\n  cancel-in-progress: true\n\npermissions:\n  contents: write\n  pages: write\n  pull-requests: write\n\n\njobs:\n  doc-build-deploy:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n      - name: 🛎️ Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{ github.head_ref }}\n\n      - name: 🐍 Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: 📦 Install mkdocs-material\n        run: pip install \"mkdocs-material\"\n      - name: 📦 Install mkdocstrings[python]\n        run: pip install \"mkdocstrings[python]\"\n      - name: 📦 Install mkdocs-material[imaging]\n        run: pip install \"mkdocs-material[imaging]\"\n      - name: 📦 Install mike\n        run: pip install \"mike\"\n      - name: 📦 Install mkdocs-git-revision-date-localized-plugin\n        run: pip install \"mkdocs-git-revision-date-localized-plugin\"\n      - name: 📦 Install JupyterLab\n        run: pip install jupyterlab\n      - name: 📦 Install mkdocs-jupyter\n        run: pip install mkdocs-jupyter\n      - name: 📦 Install mkdocs-git-committers-plugin-2\n        run: pip install mkdocs-git-committers-plugin-2\n      - name: ⚙️ Configure git for github-actions 👷\n        run: |\n          git config --global user.name \"github-actions[bot]\"\n          git config --global user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n      - name: 🚀 Deploy MkDoc-Material 📚\n        run: |\n            latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)\n            MKDOCS_GIT_COMMITTERS_APIKEY=${{ secrets.GITHUB_TOKEN }} mike deploy --push --update-aliases $latest_tag latest\n", "state": "active", "repository": "roboflow/supervision"}
{"mined_at": "2024-07-15T17:58:21.524127", "created_at": "2023-08-30T17:42:35+02:00", "updated_at": "2023-08-30T17:42:35+02:00", "name": "Supervision Test Releases to PyPi", "path": ".github/workflows/publish-test.yml", "contents": "name: Supervision Test Releases to PyPi\non:\n  push:\n    tags:\n      - '[0-9]+.[0-9]+[0-9]+.[0-9]+a[0-9]'\n      - '[0-9]+.[0-9]+[0-9]+.[0-9]+b[0-9]'\n      - '[0-9]+.[0-9]+[0-9]+.[0-9]+rc[0-9]'\n\n  workflow_dispatch:\n\njobs:\n  build-n-publish:\n    name: Build and publish to PyPI\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n      - name: 🛎️ Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n      - name: 🐍 Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: 🏗️ Build source and wheel distributions\n        run: |\n          python -m pip install --upgrade build twine\n          python -m build\n          twine check --strict dist/*\n      - name: 🚀 Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: ${{ secrets.PYPI_USERNAME }}\n          password: ${{ secrets.PYPI_PASSWORD }}\n      - name: 🚀 Publish to Test-PyPi\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          user: ${{ secrets.PYPI_TEST_USERNAME }}\n          password: ${{ secrets.PYPI_TEST_PASSWORD }}\n", "state": "active", "repository": "roboflow/supervision"}
{"mined_at": "2024-07-15T17:58:22.731229", "created_at": "2022-11-28T15:08:48+01:00", "updated_at": "2023-08-31T15:16:17+02:00", "name": "Supervision Releases to PyPi", "path": ".github/workflows/publish.yml", "contents": "name: Supervision Releases to PyPi\non:\n  push:\n    tags:\n      - '[0-9]+.[0-9]+[0-9]+.[0-9]'\n\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n      - name: 🛎️ Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n      - name: 🐍 Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name:  🏗️ Build source and wheel distributions\n        run: |\n          python -m pip install --upgrade build twine\n          python -m build\n          twine check --strict dist/*\n      - name: 🚀 Publish to PyPi\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: ${{ secrets.PYPI_USERNAME }}\n          password: ${{ secrets.PYPI_PASSWORD }}\n      - name: 🚀 Publish to Test-PyPi\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          user: ${{ secrets.PYPI_TEST_USERNAME }}\n          password: ${{ secrets.PYPI_TEST_PASSWORD }}\n", "state": "active", "repository": "roboflow/supervision"}
{"mined_at": "2024-07-15T17:58:23.892129", "created_at": "2024-02-29T22:40:41+01:00", "updated_at": "2024-02-29T22:43:41+01:00", "name": "🧪 Docs Test WorkFlow 📚", "path": ".github/workflows/test-doc.yml", "contents": "name: 🧪 Docs Test WorkFlow 📚\n\non:\n  pull_request:\n    branches: [main, develop]\n\njobs:\n  docs-build-test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🔄 Checkout code\n        uses: actions/checkout@v4\n      - name: 🐍 Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: 📦 Install mkdocs-material\n        run: pip install \"mkdocs-material[all]\"\n      - name: 📦 Install mkdocstrings[python]\n        run: pip install \"mkdocstrings[python]\"\n      - name: 📦 Install mkdocs-material[imaging]\n        run: pip install \"mkdocs-material[imaging]\"\n      - name: 📦 Install mike\n        run: pip install \"mike\"\n      - name: 📦 Install mkdocs-git-revision-date-localized-plugin\n        run: pip install \"mkdocs-git-revision-date-localized-plugin\"\n      - name: 📦 Install JupyterLab\n        run: pip install jupyterlab\n      - name: 📦 Install mkdocs-jupyter\n        run: pip install mkdocs-jupyter\n      - name: 📦 Install mkdocs-git-committers-plugin-2\n        run: pip install mkdocs-git-committers-plugin-2\n      - name: 🧪 Test documentation build\n        run: mkdocs build --verbose\n", "state": "active", "repository": "roboflow/supervision"}
{"mined_at": "2024-07-15T17:58:25.005838", "created_at": "2023-11-02T20:19:43+01:00", "updated_at": "2023-12-04T18:02:08+01:00", "name": "Python 3.8 - Min Dep Test WorkFlow", "path": ".github/workflows/test-min.yml", "contents": "name: Python 3.8 - Min Dep Test WorkFlow\n\non:\n  pull_request:\n    branches: [main, develop]\n\njobs:\n  build-min-dep-test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\"]\n    steps:\n      - name: 🛎️ Checkout\n        uses: actions/checkout@v4\n      - name: 🐍 Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        # id based on python version\n        id: python-setup\n        with:\n          python-version: ${{ matrix.python-version }}\n          check-latest: true\n\n      - name: 📦 Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \\\n              attrs==23.1.0 \\\n              certifi==2023.7.22 \\\n              charset-normalizer==2.0.12 \\\n              cycler==0.12.1 \\\n              exceptiongroup==1.1.3 \\\n              fonttools==4.43.1 \\\n              idna==3.4 \\\n              iniconfig==2.0.0 \\\n              kiwisolver==1.4.5 \\\n              matplotlib==3.5.0 \\\n              numpy==1.21.2 \\\n              opencv-python==4.5.5.64 \\\n              Pillow==10.1.0 \\\n              packaging==23.2 \\\n              pluggy==1.3.0 \\\n              pyparsing==3.1.1 \\\n              pytest==7.2.0 \\\n              python-dateutil==2.8.2 \\\n              PyYAML==5.3 \\\n              requests==2.26.0 \\\n              scipy==1.10.0 \\\n              setuptools-scm==8.0.4 \\\n              six==1.16.0 \\\n              tomli==2.0.1 \\\n              tqdm==4.62.3 \\\n              typing_extensions==4.8.0 \\\n              urllib3==1.26.18 \\\n              defusedxml==0.7.1\n\n      - name: 🧪 Test\n        run: \"python -m pytest ./test\"\n", "state": "active", "repository": "roboflow/supervision"}
{"mined_at": "2024-07-15T17:58:26.114279", "created_at": "2022-11-28T15:08:48+01:00", "updated_at": "2023-10-31T17:27:49+01:00", "name": "Test WorkFlow", "path": ".github/workflows/test.yml", "contents": "name: Test WorkFlow\n\non:\n  pull_request:\n    branches: [main, develop]\n\njobs:\n  build-dev-test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: 🛎️ Checkout\n        uses: actions/checkout@v4\n      - name: 🐍 Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          check-latest: true\n\n      - name: 📦 Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n          pip install pytest\n\n      - name: 🧪 Test\n        run: \"python -m pytest ./test\"\n", "state": "active", "repository": "roboflow/supervision"}
{"mined_at": "2024-07-15T17:58:27.171237", "created_at": "2022-11-28T15:08:48+01:00", "updated_at": "2023-01-31T10:04:32+01:00", "name": "Welcome WorkFlow", "path": ".github/workflows/welcome.yml", "contents": "name: Welcome WorkFlow\n\non:\n  issues:\n    types: [opened]\n  pull_request_target:\n    types: [opened]\n\njobs:\n  build:\n    name: 👋 Welcome\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/first-interaction@v1.3.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          issue-message: \"Hello there, thank you for opening an Issue ! 🙏🏻 The team was notified and they will get back to you asap.\"\n          pr-message:  \"Hello there, thank you for opening an PR ! 🙏🏻 The team was notified and they will get back to you asap.\"\n", "state": "active", "repository": "roboflow/supervision"}
{"mined_at": "2024-07-15T17:58:28.188129", "created_at": "2024-07-15T02:32:51+02:00", "updated_at": "2024-07-15T02:32:51+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "roboflow/supervision"}
{"mined_at": "2024-07-15T17:58:29.308066", "created_at": "2023-01-31T10:06:55+01:00", "updated_at": "2023-01-31T10:06:55+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "roboflow/supervision"}
{"mined_at": "2024-07-15T17:58:31.563841", "created_at": "2024-02-13T11:08:09+01:00", "updated_at": "2024-02-13T11:19:41+01:00", "name": "benchmarks", "path": ".github/workflows/benchmark.yml", "contents": "name: benchmarks\n\non:\n  push:\n    branches:\n      - \"main\" # or \"master\"\n  pull_request:\n  # `workflow_dispatch` allows CodSpeed to trigger backtest\n  # performance analysis in order to generate initial data.\n  workflow_dispatch:\n\njobs:\n  benchmarks:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v3\n        with:\n          python-version: \"3.9\"\n\n      - name: Install dependencies\n        run: pip install .[test]\n\n      - name: Run benchmarks\n        uses: CodSpeedHQ/action@v2\n        with:\n          token: ${{ secrets.CODSPEED_TOKEN }}\n          run: pytest . --codspeed", "state": "active", "repository": "aarhus-psychiatry-research/timeseriesflattener"}
{"mined_at": "2024-07-15T17:58:32.793148", "created_at": "2023-04-19T14:45:47+02:00", "updated_at": "2023-04-20T09:23:56+02:00", "name": "Check for .rej files", "path": ".github/workflows/check_for_rej.yml", "contents": "# .rej files occur when cruft update could not merge two files.\n# They need to be handled, but are easy to miss if there's no CI \nname: Check for .rej files\n\non:\n  pull_request:\n    types: [opened, synchronize]\n\njobs:\n  check-for-rej-files:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Check for .rej files\n        run: |\n          files=`find . -type f -name \"*.rej\"`\n          count=`echo $files | grep -o \"\\.rej\" | wc -l`\n          if [[ $count != 0 ]]; then\n            echo \"Found .rej files in the repository.\"\n            echo $files | \n            exit 1\n          else\n            echo \"No .rej files found in the repository.\"\n          fi\n", "state": "active", "repository": "aarhus-psychiatry-research/timeseriesflattener"}
{"mined_at": "2024-07-15T17:58:33.904874", "created_at": "2022-11-29T20:33:17+01:00", "updated_at": "2022-11-29T20:33:17+01:00", "name": "automerge-dependabot-prs", "path": ".github/workflows/dependabot_automerge.yml", "contents": "# GitHub action to automerge dependabot PRs. Only merges if tests pass due to branch protections in the repo.\n\nname: automerge-dependabot-prs\n\non: pull_request\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  dependabot-automerge:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor == 'dependabot[bot]'}}    \n    \n    steps:\n    # Checkout action is required for token to persist\n    - name: Enable auto-merge for Dependabot PRs\n      run: gh pr merge --auto --merge \"$PR_URL\" # Use Github CLI to merge automatically the PR\n      env:\n        PR_URL: ${{github.event.pull_request.html_url}}\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    \n    - name: Auto approve dependabot PRs\n      if: github.actor == 'dependabot[bot]'\n      uses: hmarr/auto-approve-action@v2\n      with: \n        github-token: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "aarhus-psychiatry-research/timeseriesflattener"}
{"mined_at": "2024-07-15T17:58:34.901115", "created_at": "2022-11-30T10:20:58+01:00", "updated_at": "2022-11-30T10:20:58+01:00", "name": "Documentation", "path": ".github/workflows/documentation.yml", "contents": "# creates the documentation on pushes it to the gh-pages branch\nname: Documentation\n\non:\n  push:\n    branches: [main]\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n          token: ${{ secrets.PAT }}\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e \".[docs,tutorials,text]\"\n\n      - name: Build and Commit\n        uses: sphinx-notes/pages@2.1\n        with:\n          documentation_path: docs\n          sphinx_version: \"5.3.0\"\n\n      - name: Push changes\n        if: ${{ github.event_name == 'push' }}\n        uses: ad-m/github-push-action@v0.6.0\n        with:\n          github_token: ${{ secrets.PAT }}\n          branch: gh-pages\n", "state": "active", "repository": "aarhus-psychiatry-research/timeseriesflattener"}
{"mined_at": "2024-07-15T17:58:36.072334", "created_at": "2022-12-13T12:39:39+01:00", "updated_at": "2022-12-13T14:52:52+01:00", "name": "Create paper pdf", "path": ".github/workflows/generate_paper_pdf.yml", "contents": "name: Create paper pdf\n\non:\n  push:\n    paths:\n      - \"paper/*.md\"\n\njobs:\n  paper:\n    runs-on: ubuntu-latest\n    name: Paper Draft\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Build draft PDF\n        uses: openjournals/openjournals-draft-action@master\n        with:\n          journal: joss\n          # This should be the path to the paper within your repo.\n          paper-path: paper/paper.md\n      - name: Upload\n        uses: actions/upload-artifact@v1\n        with:\n          name: paper\n          # This is the output path where Pandoc will write the compiled\n          # PDF. Note, this should be the same directory as the input\n          # paper.md\n          path: paper/paper.pdf\n", "state": "active", "repository": "aarhus-psychiatry-research/timeseriesflattener"}
{"mined_at": "2024-07-15T17:58:37.190754", "created_at": "2022-11-29T20:33:17+01:00", "updated_at": "2022-11-29T20:33:17+01:00", "name": "Pytest", "path": ".github/workflows/main_test_and_release.yml", "contents": "# Workflow which does the following\n# 1) run pytest\n# 2) updates the version according to semantic versioning\n# 3) creates a release\n# 4) uploads the package to pypi\nname: Pytest\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\nenv:\n  cache-version: 0.0.9 # Change this number if you want to manually invalidate all caches\n\njobs:\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    env:\n      python-version: ${{ matrix.python-version }}\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Run tests\n        uses: ./.github/actions/test\n        with:\n          python-version: ${{ env.python-version }}\n\n  jupyter-tutorials:\n    runs-on: ${{ matrix.os }}\n    env:\n      python-version: \"3.9\"\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Run tests\n        uses: ./.github/actions/test_tutorials\n        with:\n          python-version: ${{ env.python-version }}\n\n  release:\n    runs-on: ubuntu-latest\n    needs: test\n    if: ${{ github.ref == 'refs/heads/main' }}\n    steps:\n      # Checkout action is required for token to persist\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.RELEASE_BOT }}\n\n      - name: Python Semantic Release\n        uses: relekang/python-semantic-release@v7.34.4\n        with:\n          github_token: ${{ secrets.RELEASE_BOT }}\n          # Remember to copy the tool.semantic_release section from pyproject.toml\n          # as well\n          # To enable pypi,\n          # 1) Set upload_to_pypi to true in pyproject.toml and\n          # 2) Set the pypi_token in the repo\n          # 3) Uncomment the two lines below\n          repository_username: __token__\n          repository_password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "aarhus-psychiatry-research/timeseriesflattener"}
{"mined_at": "2024-07-15T17:58:38.428285", "created_at": "2022-11-29T20:33:17+01:00", "updated_at": "2022-11-29T20:33:17+01:00", "name": "run-pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "# GitHub action to check if pre-commit has been run. Runs from .pre-commit-config.yaml, where the pre-commit actions are.\n\nname: run-pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  pre-commit:\n    permissions:\n      pull-requests: write\n    if: ${{ github.actor != 'dependabot[bot]' }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          ref: ${{ github.event.pull_request.head.ref }}\n          token: ${{ secrets.PAT }}\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n\n      - name: Install pre-commit\n        run: pip install pre-commit\n\n      - name: Run pre-commit\n        id: pre_commit\n        continue-on-error: true\n        run: |\n            if pre-commit run --color always --all-files; then\n              echo \"Succeeded check passed\"\n            else\n              echo \"Failed, exiting\"\n              exit 1\n            fi\n          \n", "state": "active", "repository": "aarhus-psychiatry-research/timeseriesflattener"}
{"mined_at": "2024-07-15T17:58:39.657667", "created_at": "2023-04-20T09:23:56+02:00", "updated_at": "2023-04-20T09:23:56+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stalebot.yml", "contents": "name: \"Close stale issues and PRs\"\non:\n  schedule:\n    - cron: \"0 13 * * 2-5\"\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v6\n        with:\n          days-before-issue-stale: 14\n          days-before-issue-close: 7\n          stale-issue-message: \"This issue is stale because it has been open for 14 days with no activity. Feel free to either 1) remove the stale label or 2) comment. If nothing happens, this will be closed in 7 days.\"\n          close-issue-message: \"This issue was closed automatically. Feel free to re-open it if it's important.\"\n          days-before-pr-stale: 2\n          stale-pr-message: \"This PR is stale because it has been open 1+ days with no activity. Feel free to either 1) remove the stale label or 2) comment. If nothing happens, this will be closed in 7 days.\"\n          days-before-pr-close: 7\n          close-pr-message: \"This PR was closed automatically. Feel free to re-open it if you still want to work on it.\"\n          close-pr-label: \"closed-by-stalebot\"\n          operations-per-run: 20\n          exempt-pr-labels: \"dependencies,bot\"\n", "state": "active", "repository": "aarhus-psychiatry-research/timeseriesflattener"}
{"mined_at": "2024-07-15T17:58:40.779102", "created_at": "2023-04-19T14:45:47+02:00", "updated_at": "2023-04-20T09:23:56+02:00", "name": "static_type_checks", "path": ".github/workflows/static_type_checks.yml", "contents": "# We do not include static_type_checks as a pre-commit hook because pre-commit hooks\n# are installed in their own virtual environment, so static_type_checks cannot\n# use stubs from imports\nname: static_type_checks\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  static_type_checks:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - name: Checkout (GitHub)\n        uses: actions/checkout@v4\n\n      - name: Create github hosts file\n        run: | # If this file is not created, the dev container fails because of non-existent mount\n          mkdir -p ~/.config/gh\n          touch ~/.config/gh/hosts.yml\n\n      - name: Pre-build dev container image\n        uses: devcontainers/ci@v0.3\n        with:\n          runCmd: |\n            inv types", "state": "active", "repository": "aarhus-psychiatry-research/timeseriesflattener"}
{"mined_at": "2024-07-15T17:58:41.904511", "created_at": "2022-11-30T11:48:11+01:00", "updated_at": "2022-11-30T11:48:11+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "aarhus-psychiatry-research/timeseriesflattener"}
{"mined_at": "2024-07-15T17:58:44.073542", "created_at": "2021-05-02T18:10:56+02:00", "updated_at": "2021-05-02T20:49:27+02:00", "name": "Run tests", "path": ".github/workflows/tests.yml", "contents": "name: Run tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nenv:\n  WEBSOCKETS_TESTS_TIMEOUT_FACTOR: 10\n\njobs:\n  coverage:\n    name: Run test coverage checks\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n    - name: Install Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n    - name: Install tox\n      run: pip install tox\n    - name: Run tests with coverage\n      run: tox -e coverage\n    - name: Run tests with per-module coverage\n      run: tox -e maxi_cov\n\n  quality:\n    name: Run code quality checks\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n    - name: Install Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n    - name: Install tox\n      run: pip install tox\n    - name: Check code formatting\n      run: tox -e black\n    - name: Check code style\n      run: tox -e ruff\n    - name: Check types statically\n      run: tox -e mypy\n\n  matrix:\n    name: Run tests on Python ${{ matrix.python }}\n    needs:\n      - coverage\n      - quality\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n          - \"pypy-3.8\"\n          - \"pypy-3.9\"\n        is_main:\n          - ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}\n        exclude:\n          - python: \"pypy-3.8\"\n            is_main: false\n          - python: \"pypy-3.9\"\n            is_main: false\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n    - name: Install Python ${{ matrix.python }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install tox\n      run: pip install tox\n    - name: Run tests\n      run: tox -e py\n", "state": "active", "repository": "python-websockets/websockets"}
{"mined_at": "2024-07-15T17:58:45.194572", "created_at": "2023-10-21T16:54:58+02:00", "updated_at": "2023-10-21T16:54:58+02:00", "name": "Make release", "path": ".github/workflows/release.yml", "contents": "name: Make release\n\non:\n  push:\n    tags:\n      - '*'\n  workflow_dispatch:\n\njobs:\n  sdist:\n    name: Build source distribution and architecture-independent wheel\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n    - name: Install Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Build sdist\n      run: python setup.py sdist\n    - name: Save sdist\n      uses: actions/upload-artifact@v4\n      with:\n        path: dist/*.tar.gz\n    - name: Install wheel\n      run: pip install wheel\n    - name: Build wheel\n      env:\n        BUILD_EXTENSION: no\n      run: python setup.py bdist_wheel\n    - name: Save wheel\n      uses: actions/upload-artifact@v4\n      with:\n        path: dist/*.whl\n\n  wheels:\n    name: Build architecture-specific wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os:\n          - ubuntu-latest\n          - windows-latest\n          - macOS-latest\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n    - name: Install Python 3.x\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n    - name: Set up QEMU\n      if: runner.os == 'Linux'\n      uses: docker/setup-qemu-action@v3\n      with:\n        platforms: all\n    - name: Build wheels\n      uses: pypa/cibuildwheel@v2.16.2\n      env:\n        BUILD_EXTENSION: yes\n    - name: Save wheels\n      uses: actions/upload-artifact@v4\n      with:\n        path: wheelhouse/*.whl\n\n  upload:\n    name: Upload\n    needs:\n      - sdist\n      - wheels\n    runs-on: ubuntu-latest\n    # Don't release when running the workflow manually from GitHub's UI.\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')\n    permissions:\n      id-token: write\n    steps:\n      - name: Download artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: artifact\n          path: dist\n      - name: Upload to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n      - name: Create GitHub release\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: gh release -R python-websockets/websockets create ${{ github.ref_name }} --notes \"See https://websockets.readthedocs.io/en/stable/project/changelog.html for details.\"\n", "state": "active", "repository": "python-websockets/websockets"}
{"mined_at": "2024-07-15T17:58:47.545680", "created_at": "2021-04-07T18:40:20+02:00", "updated_at": "2022-11-11T10:56:14+01:00", "name": "Multi-software test", "path": ".github/workflows/tests.yml", "contents": "name: Multi-software test\n\n\non:\n  pull_request:\n  push:\n    branches: \n    - master\n    - develop\n\n\njobs:\n  test:\n    name: Tests | python ${{ matrix.python-version }}, ${{ matrix.os }}, ${{ matrix.pandas }}, ${{ matrix.numpy }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ ubuntu-22.04 ]\n        python-version: [ 3.8 ]\n        pandas: [\"pandas>1.1\"]\n        numpy: [\"numpy\"]\n        include:\n          - os: ubuntu-22.04\n            python-version: 3.7.16\n            pandas: \"pandas>1.1\"\n            numpy: \"numpy\"\n          - os: ubuntu-22.04\n            python-version: 3.8\n            pandas: \"pandas>1.1\"\n            numpy: \"numpy\"\n          - os: ubuntu-22.04\n            python-version: 3.9\n            pandas: \"pandas>1.1\"\n            numpy: \"numpy\"\n          - os: ubuntu-22.04\n            python-version: \"3.10\"\n            pandas: \"pandas>1.1\"\n            numpy: \"numpy\"\n          - os: ubuntu-22.04\n            python-version: \"3.11\"\n            pandas: \"pandas>1.1\"\n            numpy: \"numpy\"\n          - os: ubuntu-22.04\n            python-version: \"3.12\"\n            pandas: \"pandas>1.1\"\n            numpy: \"numpy\"\n\n    steps:\n    - uses: actions/checkout@v4\n    \n    - name: Setup python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: x64\n    \n    - uses: actions/cache@v4\n      if: startsWith(runner.os, 'Linux')\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-${{ matrix.pandas }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.pandas }}-pip-\n    - uses: actions/cache@v4\n      if: startsWith(runner.os, 'macOS')\n      with:\n        path: ~/Library/Caches/pip\n        key: ${{ runner.os }}-${{ matrix.pandas }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.pandas }}-pip-\n    - uses: actions/cache@v4\n      if: startsWith(runner.os, 'Windows')\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ runner.os }}-${{ matrix.pandas }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.pandas }}-pip-\n    - run: |\n        pip install --upgrade pip setuptools wheel\n        pip install -r requirements.txt \"${{ matrix.pandas }}\" \"${{ matrix.numpy }}\"\n        pip install -r requirements-test.txt\n    - run: make install\n\n    - run: make test\n\n  coverage:\n    name: Coverage | python ${{ matrix.python-version }}, ${{ matrix.os }}, ${{ matrix.pandas }}, ${{ matrix.numpy }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ ubuntu-22.04 ]\n        python-version: [ 3.8 ]\n        pandas: [ \"pandas>1.1\"]\n        numpy: [\"numpy\"]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        architecture: x64\n\n    - uses: actions/cache@v4\n      if: startsWith(runner.os, 'Linux')\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-${{ matrix.pandas }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.pandas }}-pip-\n    - uses: actions/cache@v4\n      if: startsWith(runner.os, 'macOS')\n      with:\n        path: ~/Library/Caches/pip\n        key: ${{ runner.os }}-${{ matrix.pandas }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.pandas }}-pip-\n    - uses: actions/cache@v4\n      if: startsWith(runner.os, 'Windows')\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ runner.os }}-${{ matrix.pandas }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.pandas }}-pip-\n    - run: |\n        pip install --upgrade pip setuptools wheel\n        pip install -r requirements.txt \"${{ matrix.pandas }}\" \"${{ matrix.numpy }}\"\n        pip install -r requirements-test.txt\n    - run: make install\n\n    - run: make test_cov\n\n    - uses: actions/cache@v4\n      if: startsWith(runner.os, 'Windows')\n      with:\n        path: ~\\AppData\\Local\\pip\\Cache\n        key: ${{ runner.os }}-${{ matrix.pandas }}-pip-${{ hashFiles('**/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-${{ matrix.pandas }}-pip-\n    - run: |\n        pip install --upgrade pip setuptools wheel\n        pip install -r requirements.txt \"${{ matrix.pandas }}\" \"${{ matrix.numpy }}\"\n        pip install -r requirements-test.txt\n    - run: make install\n    - run: make test_cov\n    - run: codecov -F py${{ matrix.python-version }}-${{ matrix.os }}-${{ matrix.pandas }}-${{ matrix.numpy }}\n\n\n  test_spark:\n    runs-on: ${{ matrix.os }}\n    continue-on-error: True\n    strategy:\n      matrix:\n        os: [ ubuntu-22.04 ]\n        python-version: [3.7, 3.8]\n        pandas: [\"pandas>1.1\"]\n        spark: [\"3.0.1\"]\n        hadoop: [ 2.7 ]\n        numpy: [\"numpy\"]\n        java_home: [ /usr/lib/jvm/java-8-openjdk-amd64 ]\n\n    name: Tests Spark | python ${{ matrix.python-version }}, ${{ matrix.os }}, spark${{ matrix.spark }}, ${{ matrix.pandas }}, ${{ matrix.numpy }}\n    env:\n      JAVA_HOME: ${{ matrix.java_home }}\n      SPARK_VERSION: ${{ matrix.spark }}\n      HADOOP_VERSION: ${{ matrix.hadoop }}\n      SPARK_DIRECTORY: ${{ github.workspace }}/../\n      SPARK_HOME: ${{ github.workspace }}/../spark/\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - uses: actions/cache@v4\n        if: startsWith(runner.os, 'Linux')\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.pandas }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.pandas }}-pip-\\\n      - uses: actions/cache@v4\n        if: startsWith(runner.os, 'macOS')\n        with:\n          path: ~/Library/Caches/pip\n          key: ${{ runner.os }}-${{ matrix.pandas }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.pandas }}-pip-\n      - uses: actions/cache@v4\n        if: startsWith(runner.os, 'Windows')\n        with:\n          path: ~\\AppData\\Local\\pip\\Cache\n          key: ${{ runner.os }}-${{ matrix.pandas }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.pandas }}-pip-\n      - run: |\n          pip install --upgrade pip setuptools wheel\n          pip install pytest-spark>=0.6.0 pyarrow==1.0.1 pyspark==\"${{ matrix.spark }}\"\n          pip install -r requirements.txt\n          pip install -r requirements-test.txt\n          pip install \"${{ matrix.pandas }}\" \"${{ matrix.numpy }}\"\n      - if: ${{ matrix.spark != '3.0.1' }}\n        run: echo \"ARROW_PRE_0_15_IPC_FORMAT=1\" >> $GITHUB_ENV\n      - run: echo \"SPARK_LOCAL_IP=127.0.0.1\" >> $GITHUB_ENV\n      - run: make install\n      - run: make install-spark-ci\n      - run: pip install -r requirements-spark.txt # Make sure the proper version of pandas is install after everything\n      - run: make test_spark\n\n", "state": "active", "repository": "ydataai/ydata-profiling"}
{"mined_at": "2024-07-15T17:58:48.671980", "created_at": "2021-04-07T19:09:25+02:00", "updated_at": "2022-09-29T19:58:39+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\n\non:\n  release:\n    types:\n    - released\n\n\njobs:\n  package:\n    name: Build and Package\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Version\n      id: version\n      run: echo \"value=${GITHUB_REF#refs/*/}\" >> $GITHUB_OUTPUT\n\n    - name: Setup Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n      \n    - uses: actions/cache@v4\n      name: Cache pip dependencies\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements*.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -r requirements-dev.txt\n        python -m pip install -r requirements-test.txt\n    \n    - name: Install\n      run: make install\n    \n    - name:  Build package\n      run: make package version=${{ steps.version.outputs.value }}\n\n    - name: Upload Pipeline Artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        retention-days: 1\n        name: built-artifacts\n        path: dist/\n\n  upload-assets:\n    name: Upload Assets to Release\n    runs-on: ubuntu-22.04\n\n    needs: package\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: built-artifacts\n        path: dist/\n\n    - uses: AButler/upload-release-assets@v3.0\n      with:\n        files: \"dist/*\"\n        repo-token: ${{ secrets.ACCESS_TOKEN }}\n        release-tag: ${{ needs.package.outputs.version }}\n  \n  publish-pypi:\n    name: Publish packages to PyPi\n    runs-on: ubuntu-22.04\n\n    needs: package\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: built-artifacts\n        path: dist/\n\n    - uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "ydataai/ydata-profiling"}
{"mined_at": "2024-07-15T17:58:49.795197", "created_at": "2022-02-24T15:31:15+01:00", "updated_at": "2022-02-24T15:31:15+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ydataai/ydata-profiling"}
{"mined_at": "2024-07-15T17:58:51.027777", "created_at": "2022-05-07T20:09:39+02:00", "updated_at": "2022-05-07T20:09:39+02:00", "name": "Label issues", "path": ".github/workflows/triage.yml", "contents": "name: Label issues\n\n\non:\n  issues:\n    types:\n      - reopened\n      - opened\n\n\njobs:\n  label_issues:\n    runs-on: ubuntu-22.04\n\n    permissions:\n      issues: write\n    \n    steps:\n    - name: Label issues\n      uses: andymckay/labeler@master\n      with:\n        add-labels: \"needs-triage\"\n        repo-token: ${{ secrets.ACCESS_TOKEN }}\n        ignore-if-labeled: true\n", "state": "active", "repository": "ydataai/ydata-profiling"}
{"mined_at": "2024-07-15T17:58:52.124449", "created_at": "2022-09-27T18:05:55+02:00", "updated_at": "2022-11-22T17:37:09+01:00", "name": "Pull Request", "path": ".github/workflows/pull-request.yml", "contents": "name: Pull Request\n\non:\n  push:\n    branches:\n    - renovate/**\n  pull_request:\n\njobs:\n  commitlint:\n    name: Lint commit message\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - uses: wagoid/commitlint-github-action@v6\n\n  lint:\n    if: github.actor != 'renovate[bot]'\n    name: Lint source code\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ github.head_ref }}\n        fetch-depth: 0\n        persist-credentials: false\n\n    - name: Configurating Git\n      run: |\n        git config user.email \"azory@ydata.ai\"\n        git config user.name \"Azory YData Bot\"\n        git config core.autocrlf false\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - uses: actions/cache@v4\n      name: Cache pip dependencies\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements*.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Install pip dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -r requirements-dev.txt\n        python -m pip install -r requirements-test.txt\n\n    - name: Install the package\n      run: make install\n\n    - name: Validate code formatting\n      run: make lint\n\n    - name: Commit code formatting changes\n      if: always()\n      id: commit\n      run: |\n        if [[ `git status --porcelain --untracked-files=no` ]]; then\n          echo \"CHANGES=true\" >> $GITHUB_OUTPUT\n          git add -u\n          git commit -m \"fix(linting): code formatting\" -a\n        else\n          echo \"CHANGES=false\" >> $GITHUB_OUTPUT\n        fi\n\n    - name: Push changes\n      uses: ad-m/github-push-action@v0.8.0\n      if: always() && steps.commit.outputs.CHANGES == 'true'\n      with:\n        branch: ${{ github.head_ref }}\n        github_token: ${{ secrets.ACCESS_TOKEN }}\n\n  validate-docs:\n    name: Validate Docs\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Cache pip dependencies\n      id: cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -r requirements-dev.txt\n        python -m pip install -r requirements-test.txt\n        python -m pip install -r requirements-docs.txt\n      \n    - name: Install the package\n      run: make install\n\n    - name: Build docs\n      run: mkdocs build\n", "state": "active", "repository": "ydataai/ydata-profiling"}
{"mined_at": "2024-07-15T17:58:53.141115", "created_at": "2022-09-29T19:58:39+02:00", "updated_at": "2022-09-29T19:58:39+02:00", "name": "Merge into develop branch", "path": ".github/workflows/merge-dev.yml", "contents": "name: Merge into develop branch\n\n\non:\n  push:\n    branches: \n    - develop\n\n\njobs:\n  prepare:\n    name: Calculate Version and Build Number\n    runs-on: ubuntu-22.04\n\n    outputs:\n      version: ${{ steps.version.outputs.value }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Find Latest Tag\n      id: latest_tag\n      uses: oprypin/find-latest-tag@v1.1.2\n      with:\n        repository: ${{ github.repository }}\n        regex: '^v\\d+\\.\\d+\\.\\d+'\n        releases-only: true\n\n    - name: Extract semantic version\n      id: semantic\n      run: echo \"value=$(echo ${{ steps.latest_tag.outputs.tag }} | sed -r 's|([0-9]+.[0-9]+.[0-9]+).*|\\1|g')\" >> $GITHUB_OUTPUT\n\n    - name: Count number or releases for tag\n      id: build_number\n      run: echo \"value=$(($(git tag | grep -c ${{ steps.semantic.outputs.value }}.pre) + 1))\" >> $GITHUB_OUTPUT\n\n    - name: Compute version\n      id: version\n      run: echo \"value=${{ steps.semantic.outputs.value }}.pre${{ steps.build_number.outputs.value }}\" >> $GITHUB_OUTPUT\n\n\n  prerelease-tag:\n    name: Create Prerelease Tag\n    runs-on: ubuntu-22.04\n\n    needs:\n    - prepare\n\n    steps:\n    - uses: ydataai/create-tag@v1.0.0\n      with:\n        tag: ${{ needs.prepare.outputs.version }}\n        message: ${{  github.event.head_commit.message }}\n        github_token: ${{ secrets.ACCESS_TOKEN }}\n", "state": "active", "repository": "ydataai/ydata-profiling"}
{"mined_at": "2024-07-15T17:58:54.306206", "created_at": "2022-09-29T19:58:39+02:00", "updated_at": "2022-09-29T19:58:39+02:00", "name": "Merge into master branch", "path": ".github/workflows/merge-master.yml", "contents": "name: Merge into master branch\n\n\non:\n  push:\n    branches: \n    - master\n\n\njobs:\n  prepare:\n    name: Calculate Version and Build Number\n    runs-on: ubuntu-22.04\n\n    outputs:\n      build_number: ${{ steps.build_number.outputs.value }}\n      new_release: ${{ steps.semantic.outputs.new_release_published }}\n      release: v${{ steps.semantic.outputs.new_release_version }}\n      release_notes: ${{ steps.semantic.outputs.new_release_notes }}\n      version: v${{ steps.version.outputs.value }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        token: ${{ secrets.ACCESS_TOKEN }}\n\n    - uses: cycjimmy/semantic-release-action@v3\n      id: semantic\n      env:\n        GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}\n      with:\n        branch: master\n        dry_run: true\n\n    - name: Count number or releases for tag\n      id: build_number\n      run: echo \"value=$(($(git tag | grep -c ${{ steps.semantic.outputs.new_release_version }}.rc) + 1))\" >> $GITHUB_OUTPUT\n\n    - name: Compute version\n      id: version\n      run: echo \"value=${{ steps.semantic.outputs.new_release_version }}.rc${{ steps.build_number.outputs.value }}\" >> $GITHUB_OUTPUT\n\n\n  prerelease-tag:\n    if: needs.prepare.outputs.new_release == 'true'\n\n    name: Create Prerelease Tag\n    runs-on: ubuntu-22.04\n\n    needs:\n    - prepare\n\n    steps:\n    - uses: ydataai/create-tag@v1.0.0\n      env:\n        GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}\n      with:\n        tag: ${{ needs.prepare.outputs.version }}\n        message: ${{  github.event.head_commit.message }}\n\n\n  draft-release:\n    if: needs.prepare.outputs.new_release == 'true'\n\n    name: Draft Release\n    runs-on: ubuntu-22.04\n\n    needs:\n    - prepare\n\n    steps:\n    - name: Delete Previous drafts\n      uses: hugo19941994/delete-draft-releases@v1.0.1\n      env:\n        GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}\n\n    - name: Create Draft Release\n      uses: actions/create-release@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}\n      with:\n        tag_name: ${{ needs.prepare.outputs.release }}\n        release_name: ${{ needs.prepare.outputs.release }}\n        body: ${{ needs.prepare.outputs.release_notes }}\n        draft: true\n        commitish: master\n\n", "state": "active", "repository": "ydataai/ydata-profiling"}
{"mined_at": "2024-07-15T17:58:55.430774", "created_at": "2023-01-30T18:41:52+01:00", "updated_at": "2023-01-30T18:41:52+01:00", "name": "Release Deprecated PP", "path": ".github/workflows/release-deprecated.yml", "contents": "name: Release Deprecated PP\n\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version to release'\n        required: true\n        default: '3.6.4'\n\n\njobs:\n  package:\n    name: Build and Package\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Setup Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.8\"\n      \n    - uses: actions/cache@v4\n      name: Cache pip dependencies\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements*.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -r requirements-dev.txt\n        python -m pip install -r requirements-test.txt\n    \n    - name: Install\n      run: make install\n\n    - name: Lint\n      run: make lint\n    \n    - name:  Build package\n      run: make package version=${{ github.event.inputs.version }}\n\n    - name: Upload Pipeline Artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        retention-days: 1\n        name: built-artifacts\n        path: dist/\n  \n  publish-pypi:\n    name: Publish packages to PyPi\n    runs-on: ubuntu-22.04\n\n    needs: package\n\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        name: built-artifacts\n        path: dist/\n\n    - uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        repository_url: https://pypi.org/project/pandas-profiling\n", "state": "active", "repository": "ydataai/ydata-profiling"}
{"mined_at": "2024-07-15T17:58:56.445023", "created_at": "2023-09-12T11:37:27+02:00", "updated_at": "2023-09-12T11:37:27+02:00", "name": "Publish Documentation", "path": ".github/workflows/docs.yaml", "contents": "name: Publish Documentation\n\n\n\non:\n  push:\n    paths:\n    - .github/workflows/docs.yaml\n    - docs/**\n    - examples/**\n    - mkdocs.yml\n    - requirements-docs.txt\n    branches:\n    - master\n  release:\n    types:\n    - released\n\n\n\njobs:\n  prepare:\n    name: Get Current version\n    runs-on: ubuntu-22.04\n\n    outputs:\n      version: ${{ steps.version.outputs.value }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        token: ${{ secrets.ACCESS_TOKEN }}\n\n    - name: Find Latest Tag\n      id: latest_tag\n      uses: oprypin/find-latest-tag@v1.1.2\n      with:\n        repository: ${{ github.repository }}\n        regex: '^v\\d+\\.\\d+\\.\\d+$'\n\n    - name: Extract major and minor version\n      id: version\n      run: |\n        echo \"value=`echo ${{ steps.latest_tag.outputs.tag }} | sed -r 's|v([0-9]+.[0-9]+).*|\\1|g'`\" >> $GITHUB_OUTPUT\n\n\n  publish-docs:\n    name: Publish Docs\n    runs-on: ubuntu-22.04\n\n    needs:\n    - prepare\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        token: ${{ secrets.ACCESS_TOKEN }}\n\n    - name: Configurating Git\n      run: |\n        git config user.email \"azory@ydata.ai\"\n        git config user.name \"Azory YData Bot\"\n        git config core.autocrlf false\n\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - name: Cache pip dependencies\n      id: cache\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}\n\n    - name: Install doc dependencies\n      run: |\n        python -m pip install --upgrade pip\n        make install-docs\n\n    - name: Publish\n      run: make publish-docs version=${{ needs.prepare.outputs.version }}\n", "state": "active", "repository": "ydataai/ydata-profiling"}
{"mined_at": "2024-07-15T17:58:57.631452", "created_at": "2022-12-07T15:39:46+01:00", "updated_at": "2024-03-19T15:29:12+01:00", "name": "SonarQube", "path": ".github/workflows/sonarqube.yaml", "contents": "name: SonarQube\n\n\n\non:\n  push:\n    branches:\n    - master\n\n\n\njobs:\n  sonarqube:\n    name: SonarQube\n    runs-on: \n    - ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: SonarQube file\n      run: |\n        echo \"sonar.projectKey=${{ github.event.repository.name }}\" > sonar-project.properties\n\n    - name: SonarQube Scan\n      uses: sonarsource/sonarqube-scan-action@v2.1.0\n      env:\n        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n        SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}\n", "state": "disabled_manually", "repository": "ydataai/ydata-profiling"}
{"mined_at": "2024-07-15T17:59:01.065247", "created_at": "2022-07-25T13:00:21+02:00", "updated_at": "2022-07-25T13:00:21+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: master\n  pull_request:\n    branches: master\n  workflow_dispatch:\n\njobs:\n  test:\n    name: Run tests\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.10.7\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install pytest pytest-cov pytest-shell\n        python setup.py install\n    - name: Install Python Poetry\n      run: |\n        python -m pip install --upgrade pip\n        pip install poetry\n        poetry install --with dev\n    - name: test if api works\n      run: poetry run python examples/api/jigen_dann_transformer.py\n    - name: Generate coverage report\n      run: rm -r zoutput && poetry run pytest --cov=domainlab tests/ --cov-report=xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v1\n      with:\n        flags: unittests\n        env_vars: OS,PYTHON\n        fail_ci_if_error: true\n      env:\n        CODECOV_TOKEN: 02ecb3ac-b7ce-4ea4-90a2-961c3d1a1030\n    - name: check if readme yaml works\n      run: rm -r zoutput && python main_out.py -c ./examples/conf/vlcs_diva_mldg_dial.yaml\n    - name: test if examples in markdown works\n      run: bash -x -v scripts/ci_run_examples.sh\n    - name: test if benchmark works\n      run: | \n          pip install snakemake==7.32.0 && pip install pulp==2.7.0\n          echo \"insert a shebang line (#!/bin/bash -x -v) at the beginning of the bash script\"\n          sed -i '1s/^/#!\\/bin\\/bash -x -v\\n/' run_benchmark_standalone.sh\n          bash -x -v run_benchmark_standalone.sh examples/benchmark/demo_shared_hyper_grid.yaml\n          cat zoutput/benchmarks/mnist_benchmark_grid/hyperparameters.csv\n          cat zoutput/benchmarks/mnist_benchmark_grid/results.csv\n", "state": "active", "repository": "marrlab/domainlab"}
{"mined_at": "2024-07-15T17:59:02.188373", "created_at": "2023-08-18T00:45:47+02:00", "updated_at": "2023-10-10T19:53:39+02:00", "name": ".github/workflows/doc.yml", "path": ".github/workflows/doc.yml", "contents": null, "state": "active", "repository": "marrlab/domainlab"}
{"mined_at": "2024-07-15T17:59:03.421353", "created_at": "2023-02-09T15:44:55+01:00", "updated_at": "2023-02-09T15:44:55+01:00", "name": ".github/workflows/draft-pdf.yml", "path": ".github/workflows/draft-pdf.yml", "contents": null, "state": "active", "repository": "marrlab/domainlab"}
{"mined_at": "2024-07-15T17:59:04.531515", "created_at": "2022-07-26T18:34:56+02:00", "updated_at": "2022-07-26T18:34:56+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "marrlab/domainlab"}
{"mined_at": "2024-07-15T17:59:06.622805", "created_at": "2020-04-24T03:43:53+02:00", "updated_at": "2023-03-14T02:01:17+01:00", "name": "publish", "path": ".github/workflows/publish.yml", "contents": "# This workflows will upload a Javscript Package using NPM to npmjs.org when a release is created\n# For more information see: https://docs.github.com/en/actions/guides/publishing-nodejs-packages\n\nname: publish\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    uses: ./.github/workflows/.hatch-run.yml\n    with:\n      job-name: \"publish\"\n      hatch-run: \"publish\"\n      node-registry-url: \"https://registry.npmjs.org\"\n    secrets:\n      node-auth-token: ${{ secrets.NODE_AUTH_TOKEN }}\n      pypi-username: ${{ secrets.PYPI_USERNAME }}\n      pypi-password: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "reactive-python/reactpy"}
{"mined_at": "2024-07-15T17:59:07.721180", "created_at": "2020-10-02T23:23:02+02:00", "updated_at": "2023-03-14T02:01:17+01:00", "name": "deploy-docs", "path": ".github/workflows/deploy-docs.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: deploy-docs\n\non:\n  push:\n    branches:\n      - \"main\"\n    tags:\n      - \"*\"\n\njobs:\n  deploy-documentation:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out src from Git\n        uses: actions/checkout@v2\n      - name: Get history and tags for SCM versioning to work\n        run: |\n          git fetch --prune --unshallow\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n      - name: Login to Heroku Container Registry\n        run: echo ${{ secrets.HEROKU_API_KEY }} | docker login -u ${{ secrets.HEROKU_EMAIL }} --password-stdin registry.heroku.com\n      - name: Build Docker Image\n        run: docker build . --file docs/Dockerfile --tag registry.heroku.com/${{ secrets.HEROKU_APP_NAME }}/web\n      - name: Push Docker Image\n        run: docker push registry.heroku.com/${{ secrets.HEROKU_APP_NAME }}/web\n      - name: Deploy\n        run: HEROKU_API_KEY=${{ secrets.HEROKU_API_KEY }} heroku container:release web --app ${{ secrets.HEROKU_APP_NAME }}\n", "state": "active", "repository": "reactive-python/reactpy"}
{"mined_at": "2024-07-15T17:59:08.950326", "created_at": "2021-07-04T20:05:39+02:00", "updated_at": "2023-03-14T02:01:17+01:00", "name": "codeql", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: codeql\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [main]\n  schedule:\n    - cron: \"43 3 * * 3\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"javascript\", \"python\"]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v1\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v1\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "reactive-python/reactpy"}
{"mined_at": "2024-07-15T17:59:10.179041", "created_at": "2023-05-31T09:09:50+02:00", "updated_at": "2023-06-03T23:56:55+02:00", "name": "check", "path": ".github/workflows/check.yml", "contents": "name: check\n\non:\n    push:\n        branches:\n            - main\n    pull_request:\n        branches:\n            - main\n    schedule:\n        - cron: \"0 0 * * 0\"\n\njobs:\n    test-py-cov:\n        uses: ./.github/workflows/.hatch-run.yml\n        with:\n            job-name: \"python-{0}\"\n            hatch-run: \"test-py\"\n    lint-py:\n        uses: ./.github/workflows/.hatch-run.yml\n        with:\n            job-name: \"python-{0}\"\n            hatch-run: \"lint-py\"\n    test-py-matrix:\n        uses: ./.github/workflows/.hatch-run.yml\n        with:\n            job-name: \"python-{0} {1}\"\n            hatch-run: \"test-py --no-cov\"\n            runs-on-array: '[\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]'\n            python-version-array: '[\"3.9\", \"3.10\", \"3.11\"]'\n    test-docs:\n        uses: ./.github/workflows/.hatch-run.yml\n        with:\n            job-name: \"python-{0}\"\n            hatch-run: \"test-docs\"\n            # as of Dec 2023 lxml does have wheels for 3.12\n            # https://bugs.launchpad.net/lxml/+bug/2040440\n            python-version-array: '[\"3.11\"]'\n    test-js:\n        uses: ./.github/workflows/.hatch-run.yml\n        with:\n            job-name: \"{1}\"\n            hatch-run: \"test-js\"\n    lint-js:\n        uses: ./.github/workflows/.hatch-run.yml\n        with:\n            job-name: \"{1}\"\n            hatch-run: \"lint-js\"\n", "state": "active", "repository": "reactive-python/reactpy"}
{"mined_at": "2024-07-15T17:59:11.265272", "created_at": "2023-06-03T23:56:55+02:00", "updated_at": "2023-06-03T23:56:55+02:00", "name": "hatch-run", "path": ".github/workflows/.hatch-run.yml", "contents": "name: hatch-run\n\non:\n    workflow_call:\n        inputs:\n            job-name:\n                required: true\n                type: string\n            hatch-run:\n                required: true\n                type: string\n            runs-on-array:\n                required: false\n                type: string\n                default: '[\"ubuntu-latest\"]'\n            python-version-array:\n                required: false\n                type: string\n                default: '[\"3.x\"]'\n            node-registry-url:\n                required: false\n                type: string\n                default: \"\"\n        secrets:\n            node-auth-token:\n                required: false\n            pypi-username:\n                required: false\n            pypi-password:\n                required: false\n\njobs:\n    hatch:\n        name: ${{ format(inputs.job-name, matrix.python-version, matrix.runs-on) }}\n        strategy:\n            matrix:\n                python-version: ${{ fromJson(inputs.python-version-array) }}\n                runs-on: ${{ fromJson(inputs.runs-on-array) }}\n        runs-on: ${{ matrix.runs-on }}\n        steps:\n            - uses: actions/checkout@v2\n            - uses: actions/setup-node@v2\n              with:\n                  node-version: \"14.x\"\n                  registry-url: ${{ inputs.node-registry-url }}\n            - name: Pin NPM Version\n              run: npm install -g npm@8.19.3\n            - name: Use Python ${{ matrix.python-version }}\n              uses: actions/setup-python@v2\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install Python Dependencies\n              run: pip install hatch poetry\n            - name: Run Scripts\n              env:\n                  NODE_AUTH_TOKEN: ${{ secrets.node-auth-token }}\n                  PYPI_USERNAME: ${{ secrets.pypi-username }}\n                  PYPI_PASSWORD: ${{ secrets.pypi-password }}\n              run: hatch run ${{ inputs.hatch-run }}\n", "state": "active", "repository": "reactive-python/reactpy"}
{"mined_at": "2024-07-15T17:59:12.315730", "created_at": "2023-06-14T23:34:26+02:00", "updated_at": "2023-06-14T23:34:26+02:00", "name": "Publish Docs", "path": ".github/workflows/publish-docs.yml", "contents": null, "state": "active", "repository": "reactive-python/reactpy"}
{"mined_at": "2024-07-15T17:59:13.447845", "created_at": "2023-06-14T23:37:50+02:00", "updated_at": "2023-06-14T23:37:50+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "reactive-python/reactpy"}
{"mined_at": "2024-07-15T17:59:15.607953", "created_at": "2021-09-20T21:40:47+02:00", "updated_at": "2021-09-20T21:40:47+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ stable ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ stable ]\n  schedule:\n    - cron: '38 5 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v1\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v1\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v1\n", "state": "active", "repository": "interactions-py/interactions.py"}
{"mined_at": "2024-07-15T17:59:16.615269", "created_at": "2023-04-10T13:22:09+02:00", "updated_at": "2023-04-10T13:22:09+02:00", "name": "docs-builder", "path": ".github/workflows/docs.yml", "contents": "name: docs-builder\non:\n  push:\n    branches:\n      - stable\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    if: github.event.repository.fork == false\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - uses: actions/cache@v3\n        with:\n          key: ${{ github.ref }}\n          path: .cache\n      - run: pip install -e .[docs]\n      - run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git\n      - run: mkdocs gh-deploy\nenv:\n  GH_TOKEN: ${{ secrets.GH_TOKEN }}\n  DEPLOY: True\n", "state": "active", "repository": "interactions-py/interactions.py"}
{"mined_at": "2024-07-15T17:59:17.758531", "created_at": "2023-01-28T16:29:22+01:00", "updated_at": "2023-04-10T13:22:27+02:00", "name": "precommit-action", "path": ".github/workflows/precommit.yml", "contents": "name: precommit-action\non: [push, pull_request]\njobs:\n  linter_name:\n    name: runner / Pre-commit actions\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Setup annotations\n        uses: PennyDreadfulMTG/setup-linters@main\n      - name: Install Pre-commit\n        run: |\n          pip install pre-commit\n      - name: Run Pre-commit\n        run: |\n          pre-commit run --all-files --show-diff-on-failure\n", "state": "active", "repository": "interactions-py/interactions.py"}
{"mined_at": "2024-07-15T17:59:18.875424", "created_at": "2023-01-28T16:29:22+01:00", "updated_at": "2023-04-10T13:22:27+02:00", "name": "pytest", "path": ".github/workflows/pytest-push.yml", "contents": "name: pytest\non: push\njobs:\n  pytest:\n    name: runner / pytest tests\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 1\n      matrix:\n        extras:\n          - .\n          - .[speedup]\n          - .[voice]\n          - .[all]\n        python-version:\n          - \"3.10\"\n          - \"3.11\"\n        include:\n          - extras: .[all]\n            python-version: \"3.10\"\n            RUN_TESTBOT: true\n          - extras: .[all]\n            python-version: \"3.11\"\n            RUN_TESTBOT: true\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2.3.1\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Install ffmpeg & opus\n        run: sudo apt-get update && sudo apt-get install ffmpeg libopus-dev\n      - name: Install pytest\n        run: |\n          pip install wheel\n          pip install -e ${{ matrix.extras }}\n          pip install .[tests]\n      - name: Run Tests\n        env:\n          BOT_TOKEN: ${{ secrets.BOT_TOKEN }}\n          RUN_TESTBOT: ${{ matrix.RUN_TESTBOT }}\n        run: |\n          pytest --cov=./ --cov-report xml:coverage.xml\n          coverage xml -i\n      - name: Upload Coverage\n        run: |\n          curl -Os https://uploader.codecov.io/latest/linux/codecov\n          chmod +x codecov\n          ./codecov\n      - name: Publish Test Report\n        uses: mikepenz/action-junit-report@v3\n        if: always() # always run even if the previous step fails\n        with:\n          report_paths: '**/TestResults.xml'\n          check_name: 'Pytest Results'\n", "state": "active", "repository": "interactions-py/interactions.py"}
{"mined_at": "2024-07-15T17:59:19.998511", "created_at": "2020-12-12T15:22:35+01:00", "updated_at": "2023-04-22T07:49:49+02:00", "name": "Publish to PyPI under the mirrored and original name", "path": ".github/workflows/python-publish.yml", "contents": "name: Publish to PyPI under the mirrored and original name\n\non:\n  release:\n    types:\n      - published\n\nenv:\n  PACKAGE_NAME1: discord-py-interactions\n  PACKAGE_NAME2: interactions.py\n\njobs:\n  build-and-publish:\n    runs-on: ubuntu-latest\n    if: \"!github.event.release.prerelease\"\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build twine\n\n    - name: Build and publish packages\n      env:\n        PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        for PACKAGE_NAME in $PACKAGE_NAME1 $PACKAGE_NAME2; do\n          sed -i \"s/name=.*,/name=\\\"$PACKAGE_NAME\\\",/\" setup.py\n          python -m build --outdir dist/$PACKAGE_NAME\n          python -m twine upload --skip-existing -u __token__ -p $PYPI_API_TOKEN dist/$PACKAGE_NAME/*\n        done\n", "state": "active", "repository": "interactions-py/interactions.py"}
{"mined_at": "2024-07-15T17:59:21.135583", "created_at": "2023-04-10T13:25:24+02:00", "updated_at": "2023-04-10T13:25:24+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "interactions-py/interactions.py"}
{"mined_at": "2024-07-15T17:59:23.390961", "created_at": "2023-02-21T07:49:28+01:00", "updated_at": "2023-02-21T07:55:53+01:00", "name": "Lint PR", "path": ".github/workflows/lint-pr.yml", "contents": "name: \"Lint PR\"\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n\njobs:\n  main:\n    name: Validate PR title\n    runs-on: ubuntu-latest\n    steps:\n      - name: lint_pr_title\n        id: lint_pr_title\n        uses: amannn/action-semantic-pull-request@v5.1.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - uses: marocchino/sticky-pull-request-comment@v2\n        # When the previous steps fails, the workflow would stop. By adding this\n        # condition you can continue the execution with the populated error message.\n        if: always() && (steps.lint_pr_title.outputs.error_message != null)\n        with:\n          header: pr-title-lint-error\n          message: |\n            Hey there and thank you for opening this pull request! 👋🏼\n\n            We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) and it looks like your proposed title needs to be adjusted.\n\n            Details:\n\n            ```\n            ${{ steps.lint_pr_title.outputs.error_message }}\n            ```\n      # Delete a previous comment when the issue has been resolved\n      - if: ${{ steps.lint_pr_title.outputs.error_message == null }}\n        uses: marocchino/sticky-pull-request-comment@v2\n        with:\n          header: pr-title-lint-error\n          delete: true\n", "state": "active", "repository": "keephq/keep"}
{"mined_at": "2024-07-15T17:59:24.527730", "created_at": "2024-04-08T09:16:25+02:00", "updated_at": "2024-04-08T09:16:25+02:00", "name": "Keep Release", "path": ".github/workflows/release.yml", "contents": "name: Keep Release\n\non:\n  workflow_dispatch:\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    concurrency: release\n    permissions:\n      id-token: write\n      contents: write\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n        persist-credentials: false\n\n    - name: Release Keep\n      uses: python-semantic-release/python-semantic-release@v9.4.0\n      env:\n        GH_TOKEN: ${{ secrets.SHAHAR_PAT }}\n      with:\n        git_committer_name: Keep Release Bot\n        git_committer_email: no-reply@keephq.dev\n        github_token: ${{ secrets.SHAHAR_PAT }}\n", "state": "active", "repository": "keephq/keep"}
{"mined_at": "2024-07-15T17:59:25.640919", "created_at": "2023-11-23T10:31:00+01:00", "updated_at": "2023-11-23T10:41:50+01:00", "name": "Sync Keep Workflows", "path": ".github/workflows/sync-keep-workflows.yml", "contents": "# A workflow that sync Keep workflows from a directory\nname: \"Sync Keep Workflows\"\n\non:\n    workflow_dispatch:\n        inputs:\n            keep_api_key:\n              description: 'Keep API Key'\n              required: false\n            keep_api_url:\n              description: 'Keep API URL'\n              required: false\n              default: 'https://api.keephq.dev'\n    # push:\n    #     paths:\n    #       - 'examples/workflows/**'\n\njobs:\n    sync-workflows:\n        name: Sync workflows to Keep\n        runs-on: ubuntu-latest\n        # Use the Keep CLI image\n        container:\n            image: us-central1-docker.pkg.dev/keephq/keep/keep-cli:latest\n        env:\n            KEEP_API_KEY: ${{ secrets.KEEP_API_KEY || github.event.inputs.keep_api_key }}\n            KEEP_API_URL: ${{ secrets.KEEP_API_URL || github.event.inputs.keep_api_url }}\n\n        steps:\n        - name: Check out the repo\n          uses: actions/checkout@v2\n\n        - name: Run Keep CLI\n          run: |\n            keep workflow apply -f examples/workflows\n", "state": "active", "repository": "keephq/keep"}
{"mined_at": "2024-07-15T17:59:26.767978", "created_at": "2024-06-25T16:05:44+02:00", "updated_at": "2024-06-25T16:08:12+02:00", "name": "Tests (E2E)", "path": ".github/workflows/test-pr-e2e.yml", "contents": null, "state": "active", "repository": "keephq/keep"}
{"mined_at": "2024-07-15T17:59:27.923969", "created_at": "2023-05-03T21:04:34+02:00", "updated_at": "2023-05-18T13:15:07+02:00", "name": "Tests", "path": ".github/workflows/test-pr.yml", "contents": "name: Tests\non:\n  push:\n    paths:\n      - 'keep/**'\n  pull_request:\n    paths:\n      - 'keep/**'\n\nenv:\n  PYTHON_VERSION: 3.11\n  STORAGE_MANAGER_DIRECTORY: /tmp/storage-manager\n  MYSQL_ROOT_PASSWORD: keep\n  MYSQL_DATABASE: keep\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    services:\n      mysql:\n        image: mysql:5.7\n        env:\n          MYSQL_ROOT_PASSWORD: ${{ env.MYSQL_ROOT_PASSWORD }}\n          MYSQL_DATABASE: ${{ env.MYSQL_DATABASE }}\n        ports:\n          - 3306:3306\n        options: >-\n          --health-cmd=\"mysqladmin ping\"\n          --health-interval=10s\n          --health-timeout=5s\n          --health-retries=3\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - uses: chartboost/ruff-action@v1\n        with:\n          src: \"./keep\"\n      - name: Set up Python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n      - name: cache deps\n        id: cache-deps\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: pydeps-${{ hashFiles('**/poetry.lock') }}\n      - name: Install dependencies using poetry\n        run: poetry install --no-interaction --no-root\n\n      - name: Run unit tests and report coverage\n        run: |\n          # Add a step to wait for MySQL to be fully up and running\n          until nc -z 127.0.0.1 3306; do\n            echo \"waiting for MySQL...\"\n            sleep 1\n          done\n          echo \"MySQL is up and running!\"\n          poetry run coverage run --branch -m pytest\n\n      - name: Convert coverage results to JSON (for CodeCov support)\n        run: poetry run coverage json --omit=\"keep/providers/*\"\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          fail_ci_if_error: false # don't fail if we didn't manage to upload the coverage report\n          files: coverage.json\n          verbose: true\n", "state": "active", "repository": "keephq/keep"}
{"mined_at": "2024-07-15T17:59:30.223843", "created_at": "2021-10-29T16:19:40+02:00", "updated_at": "2023-02-20T18:56:23+01:00", "name": "Testing Pull Request", "path": ".github/workflows/testing_pr.yml", "contents": "name: \"Testing Pull Request\"\n\non:\n  pull_request:\n    branches:\n      - \"master\"\n\njobs:\n  prepare_matrix: ##############################################################################\n    runs-on: ubuntu-latest\n    outputs:\n       matrix_unit_test: ${{ steps.setmatrix.outputs.matrix1 }}\n       matrix_tutorial_test: ${{ steps.setmatrix.outputs.matrix2 }}\n\n    steps:\n        - uses: actions/checkout@v3\n\n        - name: Set up Python\n          uses: actions/setup-python@v4.5.0\n\n        - name: Set Dynamic Matrix\n          id: setmatrix\n          run: |\n           matrix_str=$(python utils/info2json.py testing_matrix)\n           echo \"matrix1=$matrix_str\" >> $GITHUB_OUTPUT\n           matrix_str=$(python utils/info2json.py tutorial_testing_matrix)\n           echo \"matrix2=$matrix_str\" >> $GITHUB_OUTPUT\n           \n  check_matrix: ##############################################################################\n    runs-on: ubuntu-latest\n    needs: prepare_matrix\n    steps:\n      - name: Install json2yaml\n        run: |\n          sudo npm install -g json2yaml\n      - name: Check matrix definition\n        run: |\n          matrix='${{ needs.prepare_matrix.outputs.matrix_unit_test }}'\n          echo $matrix\n          echo $matrix | jq .\n          echo $matrix | json2yaml\n\n  black: ######################################################################################\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Install black\n      run: |\n        pip install black[jupyter]==24.2.0\n        \n    - name: Run black formatter on PyDMD source code\n      run: |\n        black --check --diff --color pydmd/ utils/ tests/ setup.py\n        if [[ $? -ne \"0\" ]]; then\n          echo \"Source code needs re-formatting\"\n          exit 1\n        fi\n        \n    - name: Run black formatter on PyDMD tutorials\n      run: |\n        black --check --diff --color tutorials/\n        if [[ $? -ne \"0\" ]]; then\n          echo \"Tutorials need re-formatting\"\n          exit 1\n        fi\n\n  sort_dependencies: ##########################################################################\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Install isort\n      run: |\n        pip install isort\n\n    - name: Run isort on PyDMD source code\n      run: |\n        OUT=$(isort pydmd/ tests/)\n        if [[ $OUT ]]; then\n            echo \"All imports are properly sorted\"\n        else\n            echo \"$OUT\"\n        fi\n\n  unit_test: #################################################################################\n    needs: prepare_matrix\n    runs-on: ${{ matrix.os }}\n    strategy: \n      matrix: ${{ fromJson(needs.prepare_matrix.outputs.matrix_unit_test) }}\n      fail-fast: false\n        \n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4.5.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: setup.py\n    - name: Install Python dependencies\n      run: |\n        pip install --upgrade pip\n        pip install .[test]\n    - name: Test with pytest\n      run: |\n        pytest\n        \n  tutorial_test: ##############################################################################\n    needs: prepare_matrix\n    runs-on: ${{ matrix.os }}\n    strategy: \n      matrix: ${{ fromJson(needs.prepare_matrix.outputs.matrix_tutorial_test) }}\n      fail-fast: false\n    env:\n      TUTORIAL_TIMEOUT: 1200s\n        \n    steps:\n    - uses: actions/checkout@v3\n    \n    - name: Set up Python\n      uses: actions/setup-python@v4.5.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: setup.py\n\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install -e .[test]\n        # Dependencies for tutorials\n        pip install jupyter pandas opencv-python ffmpeg-python\n        # timeout not available by default on MacOS\n        brew install coreutils || true\n        \n    - uses: actions/cache@v2\n      id: cache-segtrackv2\n      with:\n        path: ./tutorials/tutorial12/SegTrackv2\n        key: SegTrackv2-key\n        \n    # This is needed for tutorial12 for large file download\n    - name: Download SegTrackv2\n      if: steps.cache-segtrackv2.outputs.cache-hit != 'true'\n      run: |\n        curl https://web.engr.oregonstate.edu/~lif/SegTrack2/SegTrackv2.zip --output SegTrackv2.zip\n        unzip -qq SegTrackv2.zip\n        mv SegTrackv2 tutorials/tutorial12\n        \n    - name: Setup FFmpeg\n      uses: FedericoCarboni/setup-ffmpeg@v3.1\n      \n    - name: Check tutorial references\n      run: |\n        cd tutorials/\n        for dir in $(ls -d tutorial*/); do\n          if grep -q \"$dir\" \"README.md\"\n            then\n            echo \"$dir is referenced\"\n          else\n            echo \"$dir not referenced\"\n            exit 1\n          fi\n        done\n      \n    - name: Test tutorials\n      run: |\n        set -x\n        cd tutorials/\n        for dir in $(ls -d tutorial*/); do\n          if [[ $dir != tutorial5* ]]\n            then\n            cd $dir\n            timeout --signal=SIGKILL $TUTORIAL_TIMEOUT python -Xfrozen_modules=off -m jupyter nbconvert --to notebook --execute *.ipynb\n            cd ..\n          fi\n        done\n        set +x\n", "state": "active", "repository": "pydmd/pydmd"}
{"mined_at": "2024-07-15T17:59:31.376893", "created_at": "2022-04-20T10:25:55+02:00", "updated_at": "2022-04-21T10:18:46+02:00", "name": "Monthly Automated Tag", "path": ".github/workflows/monthly-tag.yml", "contents": "name: Monthly Automated Tag\n\non:\n  schedule:\n    - cron: '20 2 1 * *'\n\njobs:\n\n  test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest, macos-latest, ubuntu-latest]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python\n      uses: actions/setup-python@v4.5.0\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install Python dependencies\n      run: |\n        pip install --upgrade pip\n        pip install .[test]\n\n    - name: Test with pytest\n      run: |\n        pytest\n        \n  monthly_tag:\n    runs-on: ubuntu-latest\n    needs: test\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          token: ${{ secrets.NDEMO_PAT_TOKEN }}\n\n      - name: Create and push the tag\n        run: |\n          python utils/mathlab_versioning.py set --only-date \"dev$(date +%y%m)\"\n          cat pydmd/meta.py\n          VERS=$(python utils/mathlab_versioning.py get)\n          git config --global user.name 'Monthly Tag bot'\n          git config --global user.email 'mtbot@noreply.github.com'\n          git add pydmd/meta.py\n          git commit -m \"monthly version $VERS\"\n          git tag -a \"v$VERS\" -m \"Monthly version $VERS\"\n          git push origin \"v$VERS\"\n", "state": "active", "repository": "pydmd/pydmd"}
{"mined_at": "2024-07-15T17:59:32.381713", "created_at": "2022-04-21T14:31:52+02:00", "updated_at": "2022-04-21T14:31:52+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pydmd/pydmd"}
{"mined_at": "2024-07-15T17:59:33.431123", "created_at": "2023-01-19T23:16:26+01:00", "updated_at": "2023-01-19T23:16:26+01:00", "name": "Export tutorials", "path": ".github/workflows/export_tutorials.yml", "contents": "name: \"Export tutorials\"\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - 'tutorials/**/*.ipynb'\n\njobs:\n  export_tutorials:\n    permissions: write-all\n    runs-on: ubuntu-latest\n    env:\n      TUTORIAL_TIMEOUT: 1200s\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python\n      uses: actions/setup-python@v4.5.0\n      with:\n        python-version: 3.8\n\n    - name: Install dependencies\n      run: |\n        python3 -m pip install --upgrade pip\n        python3 -m pip install .[test]\n        python3 -m pip install -e .\n        # Dependencies for tutorials\n        python3 -m pip install jupyter pandas ezyrb opencv-python ffmpeg-python black[jupyter]\n\n    - uses: actions/cache@v2\n      id: cache-segtrackv2\n      with:\n        path: ./tutorials/tutorial12/SegTrackv2\n        key: SegTrackv2-key\n\n    # This is needed for tutorial12\n    - name: Download SegTrackv2\n      if: steps.cache-segtrackv2.outputs.cache-hit != 'true'\n      run: |\n        curl https://web.engr.oregonstate.edu/~lif/SegTrack2/SegTrackv2.zip --output SegTrackv2.zip\n        unzip -qq SegTrackv2.zip\n        mv SegTrackv2 tutorials/tutorial12\n\n    - name: Setup FFmpeg\n      uses: FedericoCarboni/setup-ffmpeg@v2\n        \n    - id: files\n      uses: jitterbit/get-changed-files@v1\n\n    - name: Configure git\n      run: |\n        git config user.name \"github-actions[bot]\"\n        git config user.email 41898282+github-actions[bot]@users.noreply.github.com\n\n    - name: Export tutorials to .py and HTML\n      run: |\n        set -x\n        for file in ${{ steps.files.outputs.all }}; do\n          if [[ $file == *tutorial-5* ]]; then\n            echo \"Skipped $file\"\n          elif [[ $file == *.ipynb ]]; then\n            filename=$(basename $file)\n\n            pyfilename=$(echo ${filename%?????})py\n            timeout --signal=SIGKILL $TUTORIAL_TIMEOUT python -Xfrozen_modules=off -m jupyter nbconvert --execute $file --to python --output $pyfilename\n\n            htmlfilename=$(echo ${filename%?????} | sed -e 's/-//g')html\n            timeout --signal=SIGKILL $TUTORIAL_TIMEOUT python -Xfrozen_modules=off -m jupyter nbconvert --execute $file --to html --output $htmlfilename --output-dir=docs/source/_tutorials\n          fi\n        done\n        set +x\n        \n    - name: Run formatter\n      run: black tutorials/\n    \n    - uses: benjlevesque/short-sha@v2.1\n      id: short-sha\n\n    - name: Remove unwanted files\n      run: |\n        rm -rf build/\n        rm -rf tutorials/tutorial12/SegTrackv2/\n\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@v5.0.2\n      with:\n        labels: maintenance\n        title: Export tutorial changed in ${{ steps.short-sha.outputs.sha }}\n        branch: export-tutorial-${{ steps.short-sha.outputs.sha }}\n        commit-message: export tutorials changed in ${{ steps.short-sha.outputs.sha }}\n        delete-branch: true\n", "state": "active", "repository": "pydmd/pydmd"}
{"mined_at": "2024-07-15T17:59:34.552105", "created_at": "2023-02-22T10:39:30+01:00", "updated_at": "2023-03-29T15:15:34+02:00", "name": "Deploy after Tag", "path": ".github/workflows/deploy_after_tag.yml", "contents": "# deploy_after_tag.yml\nname: \"Deploy after Tag\"\n\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  prepare_matrix: ##############################################################################\n    runs-on: ubuntu-latest\n    outputs:\n       matrix: ${{ steps.setmatrix.outputs.matrix }}\n\n    steps:\n        - uses: actions/checkout@v2\n        - name: Set up Python\n          uses: actions/setup-python@v4.5.0\n        - name: Set Dynamic Matrix\n          id: setmatrix\n          run: |\n           matrix_str=$(python utils/info2json.py deploy_matrix)\n           echo \"matrix=$matrix_str\" >> $GITHUB_OUTPUT\n           \n  check_matrix: ##############################################################################\n    runs-on: ubuntu-latest\n    needs: prepare_matrix\n    steps:\n      - name: Install json2yaml\n        run: |\n          sudo npm install -g json2yaml\n      - name: Check matrix definition\n        run: |\n          matrix='${{ needs.prepare_matrix.outputs.matrix }}'\n          echo $matrix\n          echo $matrix | jq .\n          echo $matrix | json2yaml\n         \n  create_release_from_tag: ############################################################################\n    needs: prepare_matrix\n    runs-on: ${{ matrix.os }}\n    strategy: \n      matrix: ${{ fromJson(needs.prepare_matrix.outputs.matrix) }}\n    permissions:\n      contents: write\n    steps:\n    - uses: actions/checkout@v2\n    - uses: ncipollo/release-action@v1\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        \n  pypi_deploy: #####################################################################################\n    needs: prepare_matrix\n    runs-on: ${{ matrix.os }}\n    strategy: \n      matrix: ${{ fromJson(needs.prepare_matrix.outputs.matrix) }}\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4.5.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install build\n      run: |\n        pip install --upgrade pip\n        pip install build\n    - name: Build a binary wheel and a source tarball\n      run: |\n        python -m build --sdist --wheel --outdir dist/ .\n    - name: Publish distribution to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        \n  online_documentation_deploy: #####################################################################################\n    needs: prepare_matrix\n    runs-on: ${{ matrix.os }}\n    strategy: \n      matrix: ${{ fromJson(needs.prepare_matrix.outputs.matrix) }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Create the new documentation\n      uses: ammaraskar/sphinx-action@master\n      with:\n        pre-build-command: \"python -m pip install -U pip .[docs]\"\n        docs-folder: \"docs/\"\n    - name: Gather tutorials\n      run: |\n        sudo cp docs/source/_tutorials/* -v docs/build/html/\n    - name: Deploy\n      uses: peaceiris/actions-gh-pages@v3\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: ./docs/build/html\n        allow_empty_commit: true\n", "state": "active", "repository": "pydmd/pydmd"}
{"mined_at": "2024-07-15T17:59:35.549100", "created_at": "2023-03-01T11:50:09+01:00", "updated_at": "2023-04-18T00:55:43+02:00", "name": "CI", "path": ".github/workflows/deploy_after_push.yml", "contents": "## Deploy after push action\nname: \"CI\"\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  prepare_matrix: ##############################################################################\n    runs-on: ubuntu-latest\n    outputs:\n       matrix: ${{ steps.setmatrix.outputs.matrix }}\n\n    steps:\n        - uses: actions/checkout@v2\n        - name: Set up Python\n          uses: actions/setup-python@v4.5.0\n        - name: Set Dynamic Matrix\n          id: setmatrix\n          run: |\n           matrix_str=$(python utils/info2json.py deploy_matrix)\n           echo \"matrix=$matrix_str\" >> $GITHUB_OUTPUT\n           \n  check_matrix: ##############################################################################\n    runs-on: ubuntu-latest\n    needs: prepare_matrix\n    steps:\n      - name: Install json2yaml\n        run: |\n          sudo npm install -g json2yaml\n      - name: Check matrix definition\n        run: |\n          matrix='${{ needs.prepare_matrix.outputs.matrix }}'\n          echo $matrix\n          echo $matrix | jq .\n          echo $matrix | json2yaml\n          \n  coverage_deploy: ###########################################################################\n    needs: prepare_matrix\n    runs-on: ${{ matrix.os }}\n    strategy: \n      matrix: ${{ fromJson(needs.prepare_matrix.outputs.matrix) }}\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4.5.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: setup.py\n    - name: Install Python dependencies\n      run: |\n        pip install --upgrade pip\n        pip install .[test]\n    - name: Test with pytest\n      env:\n        CODACY_API_TOKEN: ${{ secrets.CODACY_API_TOKEN }}\n      shell: bash\n      run: |\n        pytest --cov-report term --cov-report xml:cobertura.xml --cov=pydmd\n        curl -s https://coverage.codacy.com/get.sh -o CodacyCoverageReporter.sh\n        chmod +x CodacyCoverageReporter.sh\n        ./CodacyCoverageReporter.sh report -r cobertura.xml  -t $CODACY_API_TOKEN\n        \n", "state": "active", "repository": "pydmd/pydmd"}
{"mined_at": "2024-07-15T17:59:37.827895", "created_at": "2021-07-26T17:26:42+02:00", "updated_at": "2021-07-28T16:07:22+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          persist-credentials: false\n\n      - name: Semantic Release\n        uses: cycjimmy/semantic-release-action@v3\n        with:\n          semantic_version: 19\n          branches: main\n          extra_plugins: |\n            @semantic-release/changelog@6.0.3\n            @semantic-release/git@10.0.1\n            @semantic-release/exec@6.0.3\n        env:\n          GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}\n", "state": "active", "repository": "gip-inclusion/carnet-de-bord"}
{"mined_at": "2024-07-15T17:59:39.056865", "created_at": "2022-09-07T15:34:56+02:00", "updated_at": "2022-09-07T17:30:16+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    # as every commit on main leads to a release tag\n    # we do not want to test every commit on main\n    # but only every release tag\n    tags:\n      - v*\n  pull_request:\n\nconcurrency:\n  cancel-in-progress: true\n  group: test-${{ github.ref }}\n\njobs:\n  ##############################################################################\n  ## Full linting/checking running on all branches\n  ##############################################################################\n  pre-commit:\n    name: Run full linting on project using pre-commit\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Setup Python and Poetry\n        uses: ./.github/actions/python-poetry\n\n      - name: Setup NodeJS\n        uses: actions/setup-node@v3\n        with:\n          node-version-file: \"./app/package.json\"\n          cache: npm\n          cache-dependency-path: \"**/package-lock.json\"\n\n      - name: Install dependencies\n        run: |\n          npm ci --prefix app\n          npm run sync --prefix app\n          npm ci --prefix e2e\n          pip install pre-commit\n\n      - name: Run linting\n        run: SKIP=no-commit-to-branch pre-commit run --all-files\n\n  ##############################################################################\n  ## Python backend tests\n  ##############################################################################\n  pytest:\n    name: Run pytest tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Install Hasura CLI\n        uses: ./.github/actions/hasura-cli\n\n      - name: Setup Python and Poetry\n        uses: ./.github/actions/python-poetry\n\n      - name: Install dependencies\n        working-directory: ./backend\n        run: poetry install\n\n      - name: Run pytest\n        run: |\n          cp .env.test.sample .env.test\n          ./scripts/launch_tests.sh python\n\n  ##############################################################################\n  ## End To End Tests\n  ##############################################################################\n  e2e:\n    name: Run CodeceptJS tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Setup NodeJS\n        uses: actions/setup-node@v3\n        with:\n          node-version-file: \"./app/package.json\"\n          cache: npm\n          cache-dependency-path: \"**/package-lock.json\"\n\n      - name: Install dependencies\n        run: |\n          npm ci --prefix e2e\n          npm ci --prefix app\n\n      - name: Install Hasura CLI\n        uses: ./.github/actions/hasura-cli\n\n      - name: Setup Python and Poetry\n        uses: ./.github/actions/python-poetry\n\n      - name: Install Python dependencies\n        working-directory: ./backend\n        run: poetry install\n\n      - name: Run test e2e\n        run: |\n          cp .env.test.sample .env.test\n          ./scripts/launch_tests.sh e2e\n\n      - name: Copy artifact\n        if: failure()\n        uses: actions/upload-artifact@v3\n        with:\n          name: screenshot\n          path: e2e/output\n\n  ##############################################################################\n  ## Functional Tests (endpoints & hasura)\n  ##############################################################################\n  functional_tests:\n    name: Run functional tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Setup NodeJS\n        uses: actions/setup-node@v3\n        with:\n          node-version-file: \"./app/package.json\"\n          cache: npm\n          cache-dependency-path: \"**/package-lock.json\"\n\n      - name: Install dependencies\n        run: |\n          npm ci --prefix app\n          npm run sync --prefix app\n\n      - name: Install Hasura CLI\n        uses: ./.github/actions/hasura-cli\n\n      - name: Setup Python and Poetry\n        uses: ./.github/actions/python-poetry\n\n      - name: Install Python dependencies\n        working-directory: ./backend\n        run: poetry install\n\n      - name: Run functional tests\n        run: |\n          cp .env.test.sample .env.test\n          ./scripts/launch_tests.sh js\n", "state": "active", "repository": "gip-inclusion/carnet-de-bord"}
{"mined_at": "2024-07-15T17:59:40.109913", "created_at": "2023-03-20T17:00:14+01:00", "updated_at": "2023-03-20T17:45:53+01:00", "name": "Deploy review apps", "path": ".github/workflows/deploy-review-apps.yml", "contents": "name: Deploy review apps\n\non:\n  pull_request:\n    types: [\"synchronize\"]\n\nconcurrency:\n  cancel-in-progress: true\n  group: deploy-review-apps-scalingo-${{ github.ref }}\n\njobs:\n  scalingo-deploy:\n    name: Deploy Scalingo review apps\n    runs-on: ubuntu-latest\n    # run only for local PRs, since we need secrets access anyway\n    if: github.event.pull_request.head.repo.id == github.event.pull_request.base.repo.id\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Install Scalingo CLI\n        uses: ./.github/actions/scalingo-cli\n\n      - name: Run deployment script\n        env:\n          SCALINGO_API_TOKEN: ${{ secrets.SCALINGO_API_TOKEN }}\n        run: |\n          ./scripts/deploy-review-apps.sh \"${{ github.event.number }}\" \"${{ github.head_ref }}\"\n", "state": "active", "repository": "gip-inclusion/carnet-de-bord"}
{"mined_at": "2024-07-15T17:59:41.311745", "created_at": "2023-03-20T17:45:53+01:00", "updated_at": "2023-03-20T17:45:53+01:00", "name": "Create review apps", "path": ".github/workflows/create-review-apps.yml", "contents": "name: Create review apps\n\non:\n  pull_request:\n    types: [opened, reopened]\n\nconcurrency:\n  cancel-in-progress: true\n  group: create-review-apps-scalingo-${{ github.ref }}\n\njobs:\n  scalingo-link:\n    name: Create and link Scalingo review apps\n    runs-on: ubuntu-latest\n    # run only for local PRs, since we need secrets access anyway\n    if: github.event.pull_request.head.repo.id == github.event.pull_request.base.repo.id\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Install Scalingo CLI\n        uses: ./.github/actions/scalingo-cli\n\n      - name: Run creation script\n        env:\n          SCALINGO_API_TOKEN: ${{ secrets.SCALINGO_API_TOKEN }}\n        run: |\n          ./scripts/create-review-apps.sh \"${{ github.event.number }}\"\n\n  add-pull-request-comment:\n    name: Add review app URL to Pull Request\n    runs-on: ubuntu-latest\n    needs: [scalingo-link]\n    steps:\n      - name: Add review app URL\n        uses: thollander/actions-comment-pull-request@a78d1ddb11c87ee75a43e5c7697e2feeabc32718\n        with:\n          pr_number: ${{ github.event.number }}\n          message: |\n            La _review app_ a été déployée : https://cdb-app-review-pr${{ github.event.number }}.osc-fr1.scalingo.io.\n          comment_tag: reviewapp\n", "state": "active", "repository": "gip-inclusion/carnet-de-bord"}
{"mined_at": "2024-07-15T17:59:42.427001", "created_at": "2023-05-15T17:27:22+02:00", "updated_at": "2023-05-15T17:27:22+02:00", "name": "Deploy to demo", "path": ".github/workflows/deploy_demo.yml", "contents": "name: Deploy to demo\n\non:\n  push:\n    tags:\n      - v*\n\nconcurrency:\n  group: deploy_to_demo\n  cancel-in-progress: false\n\njobs:\n  deploy:\n    name: Deploy to demo\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        environment: [\"preproduction\"]\n        service: [\"app\", \"backend\", \"hasura\"]\n    environment:\n      name: ${{ matrix.environment }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Install Scalingo CLI\n        uses: ./.github/actions/scalingo-cli\n\n      - name: Deploy on Scalingo\n        env:\n          SCALINGO_REGION: ${{ secrets.SCALINGO_REGION }}\n          SCALINGO_APP: cdb-${{ matrix.service }}${{ secrets.APP_SUFFIX }}\n          SCALINGO_API_TOKEN: ${{ secrets.SCALINGO_API_TOKEN }}\n        run:\n          scalingo deploy ${{ github.server_url }}/${{ github.repository }}/tarball/${{ github.ref_name }} ${{ github.ref_name }}\n", "state": "active", "repository": "gip-inclusion/carnet-de-bord"}
{"mined_at": "2024-07-15T17:59:43.553602", "created_at": "2023-05-15T17:27:22+02:00", "updated_at": "2023-05-15T17:27:22+02:00", "name": "Deploy to production", "path": ".github/workflows/deploy_production.yml", "contents": "name: Deploy to production\n\non:\n  workflow_dispatch:\n\nconcurrency:\n  group: deploy_to_prod\n  cancel-in-progress: false\n\njobs:\n  deploy:\n    name: Deploy to production\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        environment: [\"production\"]\n        service: [\"app\", \"backend\", \"hasura\"]\n    environment:\n      name: ${{ matrix.environment }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Install Scalingo CLI\n        uses: ./.github/actions/scalingo-cli\n\n      - name: Deploy on Scalingo\n        env:\n          SCALINGO_REGION: ${{ secrets.SCALINGO_REGION }}\n          SCALINGO_APP: cdb-${{ matrix.service }}${{ secrets.APP_SUFFIX }}\n          SCALINGO_API_TOKEN: ${{ secrets.SCALINGO_API_TOKEN }}\n        run:\n          scalingo deploy ${{ github.server_url }}/${{ github.repository }}/tarball/${{ github.ref_name }} ${{ github.ref_name }}\n\n  notify:\n    name: Notify\n    runs-on: ubuntu-latest\n    needs: [deploy]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Find last deployed commit\n        uses: SamhammerAG/last-successful-build-action@1c368a27a90596574a71ac0ede422a897d0e8e84\n        id: latest-deployment\n        with:\n          token: \"${{ secrets.GITHUB_TOKEN }}\"\n          workflow: \"Deploy to production\"\n          verify: true\n\n      - name: Post message with changelog contents\n        run: |\n          CHANGELOG_CONTENT=$(git diff --output-indicator-new='*' ${{ steps.latest-deployment.outputs.sha }}...${{ github.sha }} CHANGELOG.md | egrep '^\\*' | cut -c 2-)\n          MESSAGE_JSON=$(node -p 'JSON.stringify({text:`:tada: **${{ github.ref_name }} en production**\\n${process.argv[1]}`})' \"$CHANGELOG_CONTENT\")\n          curl -Ss ${{ secrets.MATTERMOST_WEBHOOK_URL }} -H 'Content-Type:application/json' --data-binary \"$MESSAGE_JSON\"\n", "state": "active", "repository": "gip-inclusion/carnet-de-bord"}
{"mined_at": "2024-07-15T17:59:44.599887", "created_at": "2023-06-13T22:06:01+02:00", "updated_at": "2023-06-15T21:16:26+02:00", "name": "Deploy storybook", "path": ".github/workflows/deploy_storybook.yml", "contents": "---\nname: Deploy storybook\n\non:\n  push:\n    tags:\n      - v*\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\nenv:\n  ENABLE_STORYBOOK: true\n\njobs:\n  deploy-storybook:\n    name: Deploy storybook\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        working-directory: app\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup Pages\n        uses: actions/configure-pages@v3\n\n      - uses: actions/setup-node@v3\n        with:\n          node-version-file: \"./app/package.json\"\n          cache: npm\n          cache-dependency-path: \"**/package-lock.json\"\n\n      - run: npm ci\n\n      - name: Build storybook\n        run: npm run build:storybook\n\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: app/static/_storybook\n\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "gip-inclusion/carnet-de-bord"}
{"mined_at": "2024-07-15T17:59:45.721208", "created_at": "2024-05-07T16:36:16+02:00", "updated_at": "2024-05-07T16:36:16+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "gip-inclusion/carnet-de-bord"}
{"mined_at": "2024-07-15T17:59:47.863975", "created_at": "2023-02-13T21:14:46+01:00", "updated_at": "2023-02-14T00:56:28+01:00", "name": "Upload coverage reports to Codecov", "path": ".github/workflows/coverage.yml", "contents": "name: Upload coverage reports to Codecov\non: [push, pull_request]\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: pip install -r requirements.txt\n      - name: Run tests and collect coverage\n        run: pytest --cov=build123d\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n\n", "state": "active", "repository": "gumyr/build123d"}
{"mined_at": "2024-07-15T17:59:48.887632", "created_at": "2023-02-12T22:34:38+01:00", "updated_at": "2023-02-13T15:45:19+01:00", "name": "pylint", "path": ".github/workflows/lint.yml", "contents": "name: pylint\n\non: [push, pull_request]\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/actions/setup\n        with:\n          python-version: 3.10\n\n      - name: lint\n        run: pylint --rcfile=.pylintrc --fail-under=9.5 src/build123d\n", "state": "active", "repository": "gumyr/build123d"}
{"mined_at": "2024-07-15T17:59:50.014204", "created_at": "2023-02-12T22:34:38+01:00", "updated_at": "2023-02-14T17:52:53+01:00", "name": "Run type checker", "path": ".github/workflows/mypy.yml", "contents": "name: Run type checker\n\non: [push, pull_request]\njobs:\n  typecheck:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\n          \"3.9\",\n          \"3.10\",\n          #\"3.11\"\n          ]\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/actions/setup\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: typecheck\n        run: |\n          mypy --config-file mypy.ini src/build123d", "state": "disabled_manually", "repository": "gumyr/build123d"}
{"mined_at": "2024-07-15T17:59:51.059926", "created_at": "2023-11-28T16:40:30+01:00", "updated_at": "2023-11-30T17:27:06+01:00", "name": "Wheel building and publishing", "path": ".github/workflows/publish.yml", "contents": "name: Wheel building and publishing\n\non: [push, pull_request, workflow_dispatch] # TODO: update this later\n\njobs:\n  build_wheel:\n    # This does the actual wheel building or if triggered manually via the workflow dispatch, or for a tag.\n    # this job does NOT publish the wheel\n    name: Build wheel on ubuntu-latest\n    runs-on: ubuntu-latest\n    #if: github.event_name == 'workflow_dispatch'\n    if: (github.repository == 'gumyr/build123d' && ( startsWith(github.ref, 'refs/tags/v'))) || github.event_name == 'workflow_dispatch'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # get all history for setuptools_scm\n        \n      - name: Build wheel\n        shell: bash\n        run: |\n          pwd\n          ls -lR\n          python3 -m pip install --upgrade pip\n          python3 -m pip -V\n          python3 -m pip wheel -w wheelhouse .\n          python3 -m pip freeze\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./wheelhouse/build123d*.whl # only store the build123d wheel\n\n  # Do we need sdist wheel?\n  # build_sdist:\n  #   name: Build source distribution\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - uses: actions/checkout@v4\n\n  #     - name: Build sdist\n  #       run: pipx run build --sdist\n\n  #     - uses: actions/upload-artifact@v3\n  #       with:\n  #         path: dist/*.tar.gz\n      \n  upload_pypi:\n    needs: [build_wheel] #, build_sdist]\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/build123d\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    # if: github.event_name == 'release' && github.event.action == 'published'\n    # or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)\n    if: needs.build_wheel.result == 'success'\n    #if: (github.repository == 'gumyr/build123d' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          # unpacks default artifact into dist/\n          # if `name: artifact` is omitted, the action will create extra parent dir\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        # with: # for testing with test.pypi.org\n          # To test: repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "gumyr/build123d"}
{"mined_at": "2024-07-15T17:59:52.078018", "created_at": "2023-02-11T20:24:10+01:00", "updated_at": "2023-02-13T15:45:19+01:00", "name": "tests", "path": ".github/workflows/test.yml", "contents": "name: tests\n\non: [push, pull_request, workflow_dispatch]\njobs:\n\n  tests_x86_64:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\n          \"3.9\",\n          \"3.10\",\n          #\"3.11\"\n          ]\n        os: [macos-13, ubuntu-latest, windows-latest]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup/\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: test\n        run: |\n          python -m pytest\n\n  tests_arm64:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\n          #\"3.9\",\n          \"3.10\",\n          #\"3.11\"\n          ]\n        os: [macos-14]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup-macos-arm64/\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: test\n        run: |\n          python -m pytest\n", "state": "active", "repository": "gumyr/build123d"}
{"mined_at": "2024-07-15T17:59:54.182646", "created_at": "2023-09-11T00:35:41+02:00", "updated_at": "2023-09-11T01:07:38+02:00", "name": "Check for Large Files", "path": ".github/workflows/check_file_size.yml", "contents": null, "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T17:59:55.285752", "created_at": "2022-09-18T03:04:24+02:00", "updated_at": "2022-09-18T03:04:24+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n    push:\n        branches: [\"master\"]\n    pull_request:\n        # The branches below must be a subset of the branches above\n        branches: [\"master\"]\n    schedule:\n        - cron: \"15 20 * * 1\"\n\njobs:\n    analyze:\n        name: Analyze\n        runs-on: ubuntu-latest\n        permissions:\n            actions: read\n            contents: read\n            security-events: write\n\n        strategy:\n            fail-fast: false\n            matrix:\n                language: [\"python\"]\n                # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n                # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n        steps:\n            - name: Checkout repository\n              uses: actions/checkout@v4\n\n            # Initializes the CodeQL tools for scanning.\n            - name: Initialize CodeQL\n              uses: github/codeql-action/init@v3\n              with:\n                  languages: ${{ matrix.language }}\n                  # If you wish to specify custom queries, you can do so here or in a config file.\n                  # By default, queries listed here will override any specified in a config file.\n                  # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n                  # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n                  # queries: security-extended,security-and-quality\n\n            # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n            # If this step fails, then you should remove it and run the build manually (see below)\n            - name: Autobuild\n              uses: github/codeql-action/autobuild@v3\n\n            # ℹ️ Command-line programs to run using the OS shell.\n            # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n            #   If the Autobuild fails above, remove it and uncomment the following three lines.\n            #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n            # - run: |\n            #   echo \"Run, Build Application using script\"\n            #   ./location_of_script_within_repo/buildscript.sh\n\n            - name: Perform CodeQL Analysis\n              uses: github/codeql-action/analyze@v3\n              with:\n                  category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T17:59:56.307524", "created_at": "2022-09-18T03:09:33+02:00", "updated_at": "2022-09-18T03:09:33+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: \"Dependency Review\"\non: [pull_request]\n\npermissions:\n    contents: read\n\njobs:\n    dependency-review:\n        runs-on: ubuntu-latest\n        steps:\n            - name: \"Checkout Repository\"\n              uses: actions/checkout@v4\n            - name: \"Dependency Review\"\n              uses: actions/dependency-review-action@v4\n", "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T17:59:57.385464", "created_at": "2023-03-06T22:54:10+01:00", "updated_at": "2023-03-06T22:56:35+01:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Docker Image CI\n\non:\n    push:\n        branches: [\"master\"]\n    pull_request:\n        branches: [\"master\"]\n\njobs:\n    build:\n        runs-on: ubuntu-latest\n\n        steps:\n            - uses: actions/checkout@v4\n            - name: Build the Docker image\n              run: docker build . --file Dockerfile --tag ${{ github.repository }}:$(date +%s)\n", "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T17:59:58.411004", "created_at": "2023-03-06T22:56:35+01:00", "updated_at": "2023-03-06T22:56:35+01:00", "name": "Publish Docker image", "path": ".github/workflows/docker-publish.yml", "contents": "name: Publish Docker image\n\non:\n    release:\n        types: [published]\n\njobs:\n    push_to_registries:\n        name: Push Docker image to multiple registries\n        runs-on: ubuntu-latest\n        permissions:\n            packages: write\n            contents: read\n        steps:\n            - name: Check out the repo\n              uses: actions/checkout@v4\n\n            - name: Log in to Docker Hub\n              uses: docker/login-action@v3\n              with:\n                  username: ${{ secrets.DOCKER_USERNAME }}\n                  password: ${{ secrets.DOCKER_PASSWORD }}\n\n            - name: Log in to the Container registry\n              uses: docker/login-action@v3\n              with:\n                  registry: ghcr.io\n                  username: ${{ github.actor }}\n                  password: ${{ secrets.GITHUB_TOKEN }}\n\n            - name: Extract metadata (tags, labels) for Docker\n              id: meta\n              uses: docker/metadata-action@v5\n              with:\n                  images: |\n                      giswqs/leafmap\n                      ghcr.io/${{ github.repository }}\n\n            - name: Build and push Docker images\n              uses: docker/build-push-action@v6\n              with:\n                  context: .\n                  push: true\n                  tags: ${{ steps.meta.outputs.tags }}\n                  labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T17:59:59.538101", "created_at": "2022-11-20T22:25:37+01:00", "updated_at": "2022-11-20T22:43:08+01:00", "name": "docs-build", "path": ".github/workflows/docs-build.yml", "contents": "name: docs-build\n\non:\n    pull_request:\n        branches:\n            - master\n\njobs:\n    docs-build:\n        runs-on: ubuntu-latest\n        strategy:\n            matrix:\n                python-version: [\"3.11\"]\n\n        defaults:\n            run:\n                shell: bash -el {0}\n\n        env:\n            PLANET_API_KEY: ${{ secrets.PLANET_API_KEY }}\n            USE_FOLIUM: ${{ secrets.USE_FOLIUM }}\n            USE_MKDOCS: ${{ secrets.USE_MKDOCS }}\n            HEREMAPS_API_KEY: ${{ secrets.HEREMAPS_API_KEY }}\n            DP_TOKEN: ${{ secrets.DP_TOKEN }}\n            MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}\n            AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n            AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n            GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }}\n            EARTHDATA_USERNAME: ${{ secrets.EARTHDATA_USERNAME }}\n            EARTHDATA_PASSWORD: ${{ secrets.EARTHDATA_PASSWORD }}\n        steps:\n            - uses: actions/checkout@v4\n              with:\n                  fetch-depth: 0\n            - name: Setup Python\n              uses: conda-incubator/setup-miniconda@v3\n              with:\n                  auto-activate-base: true\n                  python-version: ${{ matrix.python-version }}\n                  channels: conda-forge,defaults\n                  channel-priority: true\n                  miniconda-version: latest\n\n            - name: Cache dependencies\n              uses: actions/cache@v4\n              with:\n                  path: ~/.cache/pip\n                  key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n                  restore-keys: |\n                      ${{ runner.os }}-pip-\n\n            - name: Testing conda\n              run: |\n                  conda info\n                  conda list\n\n            - name: Install GDAL\n              run: |\n                  # conda install -c conda-forge mamba --yes\n                  # mamba install -c conda-forge gdal pyproj --yes\n                  pip install --no-cache-dir Cython\n                  pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL\n\n            - name: Test GDAL installation\n              run: |\n                  python -c \"from osgeo import gdal\"\n                  gdalinfo --version\n\n            - name: Install dependencies\n              run: |\n                  pip install -U pip\n                  pip install --no-cache-dir Cython PyYAML==6.0.1 boto3\n                  pip install -r requirements.txt -r requirements_dev.txt\n                  pip install .\n\n            - name: PKG-TEST\n              run: python -m unittest discover tests/\n\n            - name: Install mkdocs\n              run: |\n                  pip install -r requirements_docs.txt\n                  mkdocs build\n\n            - name: Deploy to Netlify\n              uses: nwtgck/actions-netlify@v3.0\n              with:\n                  publish-dir: \"./site\"\n                  production-branch: master\n                  github-token: ${{ secrets.GITHUB_TOKEN }}\n                  deploy-message: \"Deploy from GitHub Actions\"\n                  enable-pull-request-comment: true\n                  enable-commit-comment: false\n                  overwrites-pull-request-comment: true\n              env:\n                  NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n                  NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n\n            - name: Cleanup\n              if: always()\n              run: |\n                  echo \"Cleaning up resources.\"\n", "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T18:00:00.679222", "created_at": "2021-03-10T01:56:34+01:00", "updated_at": "2021-03-10T02:10:06+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\non:\n    push:\n        branches:\n            - master\njobs:\n    deploy:\n        runs-on: ubuntu-latest\n        strategy:\n            matrix:\n                python-version: [\"3.11\"]\n\n        defaults:\n            run:\n                shell: bash -el {0}\n\n        env:\n            PLANET_API_KEY: ${{ secrets.PLANET_API_KEY }}\n            USE_FOLIUM: ${{ secrets.USE_FOLIUM }}\n            USE_MKDOCS: ${{ secrets.USE_MKDOCS }}\n            HEREMAPS_API_KEY: ${{ secrets.HEREMAPS_API_KEY }}\n            DP_TOKEN: ${{ secrets.DP_TOKEN }}\n            MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}\n            AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n            AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n            GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }}\n            EARTHDATA_USERNAME: ${{ secrets.EARTHDATA_USERNAME }}\n            EARTHDATA_PASSWORD: ${{ secrets.EARTHDATA_PASSWORD }}\n\n        steps:\n            - uses: actions/checkout@v4\n              with:\n                  fetch-depth: 0\n            - name: Setup Python\n              uses: conda-incubator/setup-miniconda@v3\n              with:\n                  auto-activate-base: true\n                  python-version: ${{ matrix.python-version }}\n                  channels: conda-forge,defaults\n                  channel-priority: true\n                  miniconda-version: latest\n\n            - name: Cache dependencies\n              uses: actions/cache@v4\n              with:\n                  path: ~/.cache/pip\n                  key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n                  restore-keys: |\n                      ${{ runner.os }}-pip-\n\n            - name: Testing conda\n              run: |\n                  conda info\n                  conda list\n\n            - name: Install GDAL\n              run: |\n                  # conda install -c conda-forge mamba --yes\n                  # mamba install -c conda-forge gdal pyproj --yes\n                  pip install --no-cache-dir Cython\n                  pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL\n\n            - name: Test GDAL installation\n              run: |\n                  python -c \"from osgeo import gdal\"\n                  gdalinfo --version\n\n            - name: Install dependencies\n              run: |\n                  pip install --no-cache-dir Cython PyYAML==6.0.1\n                  pip install -r requirements.txt -r requirements_dev.txt\n                  pip install .\n\n            - name: PKG-TEST\n              run: python -m unittest discover tests/\n\n            - name: Install mkdocs\n              run: pip install -r requirements_docs.txt\n            - run: mkdocs gh-deploy --force\n", "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T18:00:01.892939", "created_at": "2023-08-09T05:41:27+02:00", "updated_at": "2023-08-09T06:04:03+02:00", "name": "Linux installation", "path": ".github/workflows/installation.yml", "contents": "on:\n    push:\n        branches:\n            - master\n    pull_request:\n        branches:\n            - master\n\nname: Linux installation\njobs:\n    test-ubuntu:\n        runs-on: ubuntu-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python-version: [\"3.12\"]\n        steps:\n            - uses: actions/checkout@v4\n            - name: Set up Python\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.python-version }}\n            - name: Install package\n              run: pip install setuptools .\n            - name: Test import\n              run: python -c \"import leafmap; print('leafmap import successful')\"\n", "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T18:00:03.008558", "created_at": "2022-01-24T06:09:29+01:00", "updated_at": "2022-01-24T06:17:11+01:00", "name": "macOS build", "path": ".github/workflows/macos.yml", "contents": "on:\n    push:\n        branches:\n            - master\n    pull_request:\n        branches:\n            - master\n\nname: macOS build\njobs:\n    test-macOS:\n        runs-on: ${{ matrix.config.os }}\n        name: ${{ matrix.config.os }} (${{ matrix.config.py }})\n        strategy:\n            fail-fast: false\n            matrix:\n                config:\n                    - { os: macOS-latest, py: \"3.11\" }\n        env:\n            SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk\n        steps:\n            - name: CHECKOUT CODE\n              uses: actions/checkout@v4\n            - name: SETUP PYTHON\n              uses: actions/setup-python@v5\n              with:\n                  python-version: ${{ matrix.config.py }}\n            - name: Install package\n              run: pip install .\n            - name: Test import\n              run: python -c \"import leafmap; print('leafmap import successful')\"\n", "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T18:00:04.243214", "created_at": "2021-03-10T01:56:34+01:00", "updated_at": "2021-03-10T01:56:34+01:00", "name": "pypi", "path": ".github/workflows/pypi.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: pypi\n\non:\n    release:\n        types: [created]\n\njobs:\n    deploy:\n        runs-on: ubuntu-latest\n\n        steps:\n            - uses: actions/checkout@v4\n            - name: Set up Python\n              uses: actions/setup-python@v5\n              with:\n                  python-version: \"3.x\"\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip\n                  pip install setuptools wheel twine\n            - name: Build and publish\n              env:\n                  TWINE_USERNAME: ${{ secrets.PYPI_USERS }}\n                  TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n              run: |\n                  python setup.py sdist bdist_wheel\n                  twine upload dist/*\n", "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T18:00:05.479444", "created_at": "2022-01-24T06:09:29+01:00", "updated_at": "2022-01-24T06:17:11+01:00", "name": "Linux build", "path": ".github/workflows/ubuntu.yml", "contents": "on:\n    push:\n        branches:\n            - master\n    pull_request:\n        branches:\n            - master\n\nname: Linux build\njobs:\n    test-ubuntu:\n        runs-on: ubuntu-latest\n        strategy:\n            fail-fast: false\n            matrix:\n                python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n        defaults:\n            run:\n                shell: bash -el {0}\n\n        env:\n            PLANET_API_KEY: ${{ secrets.PLANET_API_KEY }}\n            USE_FOLIUM: ${{ secrets.USE_FOLIUM }}\n            USE_MKDOCS: ${{ secrets.USE_MKDOCS }}\n            HEREMAPS_API_KEY: ${{ secrets.HEREMAPS_API_KEY }}\n            DP_TOKEN: ${{ secrets.DP_TOKEN }}\n            MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}\n            AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n            AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n            GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }}\n\n        steps:\n            - uses: actions/checkout@v4\n\n            - name: Setup Python\n              uses: conda-incubator/setup-miniconda@v3\n              with:\n                  auto-activate-base: true\n                  python-version: ${{ matrix.python-version }}\n                  channels: conda-forge,defaults\n                  channel-priority: true\n                  miniconda-version: latest\n\n            - name: Cache dependencies\n              uses: actions/cache@v4\n              with:\n                  path: ~/.cache/pip\n                  key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n                  restore-keys: |\n                      ${{ runner.os }}-pip-\n\n            - name: Testing conda\n              run: |\n                  conda info\n                  conda list\n\n            - name: Install GDAL\n              run: |\n                  conda install -c conda-forge mamba --yes\n                  mamba install -c conda-forge gdal pyproj pyzmq --yes\n\n            # - name: Test GDAL installation\n            #   run: |\n            #       python -c \"from osgeo import gdal\"\n            #       gdalinfo --version\n\n            - name: Install dependencies\n              run: |\n                  #   pip install -r requirements.txt -r requirements_dev.txt\n                    pip install .\n\n            - name: Test import\n              run: python -c \"import leafmap; print('leafmap import successful')\"\n", "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T18:00:06.586972", "created_at": "2022-01-24T06:09:29+01:00", "updated_at": "2022-01-24T06:17:11+01:00", "name": "Windows build", "path": ".github/workflows/windows.yml", "contents": "on:\n    push:\n        branches:\n            - master\n    pull_request:\n        branches:\n            - master\n\nname: Windows build\njobs:\n    test-windows:\n        runs-on: windows-latest\n        strategy:\n            matrix:\n                python-version: [\"3.11\"]\n\n        defaults:\n            run:\n                shell: bash -el {0}\n\n        steps:\n            - uses: actions/checkout@v4\n\n            - name: Setup Python\n              uses: conda-incubator/setup-miniconda@v3\n              with:\n                  auto-activate-base: true\n                  python-version: ${{ matrix.python-version }}\n                  channels: conda-forge,defaults\n                  channel-priority: true\n                  miniconda-version: latest\n\n            - name: Cache dependencies\n              uses: actions/cache@v4\n              with:\n                  path: ~/.cache/pip\n                  key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}\n                  restore-keys: |\n                      ${{ runner.os }}-pip-\n\n            - name: Testing conda\n              run: |\n                  conda info\n                  conda list\n\n            - name: Install GDAL\n              run: |\n                  conda install -c conda-forge mamba --yes\n                  mamba install -c conda-forge gdal pyproj --yes\n\n            # - name: Test GDAL installation\n            #   run: |\n            #       python -c \"from osgeo import gdal\"\n            #       gdalinfo --version\n\n            - name: Install dependencies\n              run: |\n                  pip install -r requirements.txt\n                  pip install .\n\n            - name: Test import\n              run: python -c \"import leafmap; print('leafmap import successful')\"\n", "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T18:00:07.569250", "created_at": "2021-12-17T04:34:13+01:00", "updated_at": "2021-12-17T04:34:13+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "opengeos/leafmap"}
{"mined_at": "2024-07-15T18:00:09.767061", "created_at": "2023-06-30T12:55:17+02:00", "updated_at": "2023-07-03T11:12:31+02:00", "name": "code-checks", "path": ".github/workflows/code_checks.yml", "contents": "name: code-checks\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push events\n  push:\n    branches: [ 'main' ]\n    tags-ignore: [ '**' ]\n\n  # Triggers the workflow on pull request events\n  pull_request:\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  code_checks:\n    name: code checks\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false  # false: try to complete all jobs\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[tests,examples] ./lint_rules\n        pip list\n    - name: Add pylint annotator\n      uses: pr-annotators/pylint-pr-annotator@v0.0.1\n    - name: Analysing the code with pylint\n      run: |\n        pylint --rcfile=.pylintrc loki\n        pushd lint_rules && pylint --rcfile=../.pylintrc lint_rules tests; popd\n        jupyter nbconvert --to=script --output-dir=example_converted example/*.ipynb\n        pylint --rcfile=.pylintrc_ipynb example_converted/*.py\n", "state": "active", "repository": "ecmwf-ifs/loki"}
{"mined_at": "2024-07-15T18:00:10.935975", "created_at": "2022-11-30T17:28:27+01:00", "updated_at": "2023-05-04T12:16:58+02:00", "name": "documentation", "path": ".github/workflows/documentation.yml", "contents": "name: documentation\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push events\n  push:\n    branches: [ 'main' ]\n    tags-ignore: [ '**' ]\n\n  # Triggers the workflow on pull request events\n  pull_request:\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Build and upload documentation\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false  # false: try to complete all jobs\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install pandoc\n      run: |\n        sudo apt-get update || true\n        sudo apt-get install -y pandoc\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install sites-toolkit -i https://get.ecmwf.int/repository/pypi-all/simple\n        pip install .[docs]\n        pip install ./lint_rules/\n\n    - name: Build documentation\n      working-directory: ./docs\n      run: |\n        make html\n\n    - name: Upload pull request documentation to sites\n      if: github.event.pull_request.head.repo.full_name == 'ecmwf-ifs/loki'\n      env:\n        SITES_TOKEN: ${{ secrets.SITES_TOKEN }}\n      working-directory: ./docs\n      run: |\n        ./sites-manager.py --space=docs --name=loki --token \"$SITES_TOKEN\" upload build/html ${{ github.event.pull_request.number }} || true\n\n    - name: Update documentation on sites\n      if: github.event_name != 'pull_request'\n      env:\n        SITES_TOKEN: ${{ secrets.SITES_TOKEN }}\n      working-directory: ./docs\n      run: |\n        ./sites-manager.py --space=docs --name=loki --token \"$SITES_TOKEN\" upload --clean build/html ${{ github.ref_name }} || true\n\n    - name: Find Comment\n      if: github.ref_name != 'main'\n      uses: peter-evans/find-comment@v2\n      id: fc\n      with:\n        issue-number: ${{ github.event.pull_request.number }}\n        comment-author: 'github-actions[bot]'\n        body-includes: Documentation for this branch can be viewed at\n\n    - name: Create or update comment\n      if: github.ref_name != 'main' && github.event.pull_request.head.repo.full_name == 'ecmwf-ifs/loki'\n      uses: peter-evans/create-or-update-comment@v3\n      with:\n        comment-id: ${{ steps.fc.outputs.comment-id }}\n        issue-number: ${{ github.event.pull_request.number }}\n        body: |\n          Documentation for this branch can be viewed at https://sites.ecmwf.int/docs/loki/${{ github.event.pull_request.number }}/index.html\n        edit-mode: replace\n\n    # - uses: actions/github-script@v6\n    #   if: github.ref_name != 'main' && steps.fc.outputs.comment-id == ''\n    #   with:\n    #     script: |\n    #       github.rest.issues.createComment({\n    #         issue_number: context.issue.number,\n    #         owner: context.repo.owner,\n    #         repo: context.repo.repo,\n    #         body: 'Documentation for this branch can be viewed at https://sites.ecmwf.int/docs/loki/${{ github.event.pull_request.number }}/index.html'\n    #       })\n", "state": "active", "repository": "ecmwf-ifs/loki"}
{"mined_at": "2024-07-15T18:00:12.133230", "created_at": "2022-12-05T16:13:52+01:00", "updated_at": "2022-12-05T16:13:52+01:00", "name": "documentation clean-up", "path": ".github/workflows/documentation_clean-up.yml", "contents": "name: documentation clean-up\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow when pull requests are closed\n  pull_request:\n    types: [closed]\n\njobs:\n  clean:\n    name: Clean-up branch documentation\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false  # false: try to complete all jobs\n      matrix:\n        python-version: [\"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: main\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install click\n        pip install sites-toolkit -i https://get.ecmwf.int/repository/pypi-all/simple\n\n    - name: Clean-up documentation on sites\n      env:\n        SITES_TOKEN: ${{ secrets.SITES_TOKEN }}\n      working-directory: ./docs\n      run: |\n        ./sites-manager.py --space=docs --name=loki --token \"$SITES_TOKEN\" delete ${{ github.event.pull_request.number }} || true\n", "state": "active", "repository": "ecmwf-ifs/loki"}
{"mined_at": "2024-07-15T18:00:13.245664", "created_at": "2023-05-04T10:50:37+02:00", "updated_at": "2023-05-04T16:48:54+02:00", "name": "regression-tests", "path": ".github/workflows/regression_tests.yml", "contents": "name: regression-tests\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push events\n  push:\n    branches: [ 'main' ]\n    tags-ignore: [ '**' ]\n\n  # Triggers the workflow on pull request events\n  pull_request:\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  regression_tests:\n    name: Python ${{ matrix.python-version }}\n\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false  # false: try to complete all jobs\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Clone CLOUDSC\n        uses: actions/checkout@v4\n        with:\n          repository: ecmwf-ifs/dwarf-p-cloudsc\n          path: cloudsc\n          ref: develop\n\n      - name: Clone ECWAM\n        uses: actions/checkout@v4\n        with:\n          repository: ecmwf-ifs/ecwam\n          path: ecwam\n          ref: naan-phys-gpu\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n\n      - name: Refresh package lists\n        run: |\n          sudo apt-get -o Acquire::Retries=3 update || true\n\n      - name: Install Loki dependencies\n        run: |\n          sudo apt-get -o Acquire::Retries=3 install -y graphviz gfortran\n\n      - name: Install OMNI + CLAW dependencies\n        run: |\n          sudo apt-get -o Acquire::Retries=3 install -y byacc flex openjdk-11-jdk cmake ant\n\n      - name: Install CLOUDSC dependencies\n        run:\n          sudo apt-get -o Acquire::Retries=3 install -y libhdf5-dev\n\n      - name: Install Loki\n        run: |\n          ./install --with-claw --with-ofp --with-tests --without-dace\n\n      - name: Install up-to-date CMake\n        run: |\n          source loki-activate\n          pip install cmake\n\n      - name: Install ECWAM dependencies\n        run: |\n          sudo apt-get -o Acquire::Retries=3 install -y libopenmpi-dev\n          source loki-activate\n          pip install fypp\n\n      - name: Run CLOUDSC and ECWAM regression tests\n        env:\n          CLOUDSC_DIR: ${{ github.workspace }}/cloudsc\n          CLOUDSC_ARCH: ${{ github.workspace }}/cloudsc/arch/github/ubuntu/gnu/9.4.0\n          ECWAM_DIR: ${{ github.workspace }}/ecwam\n          ECWAM_ARCH: ${{ github.workspace }}/ecwam/arch/github/ubuntu/gnu/9.4.0\n          OMP_STACKSIZE: 4G\n        run: |\n          mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts\n          cat << 'EOF' > ~/.ssh/known_hosts\n          ${{ secrets.BITBUCKET_HOSTKEY }}\n          EOF\n          eval `ssh-agent -s`\n          [ -n '${{ secrets.ECWAM_REPOSITORY_SSH_KEY }}' ] && ssh-add - <<< '${{ secrets.ECWAM_REPOSITORY_SSH_KEY }}'\n          source loki-activate\n          pytest --pyargs loki.transformations -k 'cloudsc or ecwam'\n", "state": "active", "repository": "ecmwf-ifs/loki"}
{"mined_at": "2024-07-15T18:00:14.363112", "created_at": "2022-11-26T00:57:33+01:00", "updated_at": "2024-04-08T15:58:37+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\n# Controls when the workflow will run\non:\n  # Triggers the workflow on push events\n  push:\n    branches: [ 'main' ]\n    tags-ignore: [ '**' ]\n\n  # Triggers the workflow on pull request events\n  pull_request:\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  pytest:\n    name: Python ${{ matrix.python-version }}\n\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false  # false: try to complete all jobs\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n\n      - name: Refresh package lists\n        run: |\n          sudo apt-get -o Acquire::Retries=3 update || true\n\n      - name: Install Loki dependencies\n        run: |\n          sudo apt-get -o Acquire::Retries=3 install -y graphviz gfortran\n\n      - name: Install OMNI + CLAW dependencies\n        run: |\n          sudo apt-get -o Acquire::Retries=3 install -y byacc flex openjdk-11-jdk cmake ant\n\n      - name: Install Loki\n        run: |\n          ./install --with-claw --with-ofp --with-examples --with-tests --with-dace\n\n      - name: Install up-to-date CMake\n        run: |\n          source loki-activate\n          pip install cmake\n\n      - name: Run Loki tests\n        run: |\n          source loki-activate\n          pytest --cov=./loki --cov-report=xml loki\n\n      - name: Upload loki coverage report to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          flags: loki\n          files: ./coverage.xml\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n      - name: Run lint_rules tests\n        run: |\n          source loki-activate\n          pytest --cov=lint_rules/lint_rules --cov-report=xml lint_rules/tests\n\n      - name: Upload lint_rules coverage report to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          flags: lint_rules\n          files: ./coverage.xml\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "ecmwf-ifs/loki"}
{"mined_at": "2024-07-15T18:00:16.353080", "created_at": "2024-06-22T19:30:39+02:00", "updated_at": "2024-06-22T19:30:39+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "donewiththedollar/directionalscalper"}
{"mined_at": "2024-07-15T18:00:18.390096", "created_at": "2023-02-26T15:19:47+01:00", "updated_at": "2023-02-26T15:19:47+01:00", "name": "Dependabot auto-merge", "path": ".github/workflows/auto-merge.yml", "contents": "name: Dependabot auto-merge\non: pull_request_target\n\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v2.0.0\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: Enable auto-merge for Dependabot PRs\n        run: gh pr merge --auto --squash \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "aio-libs/aiohttp-admin"}
{"mined_at": "2024-07-15T18:00:19.611415", "created_at": "2023-02-16T20:22:09+01:00", "updated_at": "2023-02-26T15:17:42+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - master\n      - '[0-9].[0-9]+'  # matches to backport branches, e.g. 3.6\n    tags: [ 'v*' ]\n  pull_request:\n    branches:\n      - master\n      - '[0-9].[0-9]+'\n\n\njobs:\n  lint:\n    name: Linter\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n        cache: 'pip'\n        cache-dependency-path: '**/requirements*.txt'\n    - name: Install dependencies\n      uses: py-actions/py-dependency-install@v4\n      with:\n        path: requirements-dev.txt\n    - name: Install itself\n      run: |\n        pip install .\n    - name: Mypy\n      run: mypy\n    - name: Pre-Commit hooks\n      uses: pre-commit/action@v3.0.1\n    - name: Flake8\n      run: flake8\n    - name: Prepare twine checker\n      run: |\n        pip install -U build twine wheel\n        python -m build\n    - name: Run twine checker\n      run: |\n        twine check dist/*\n\n  yarn_build:\n    permissions:\n      contents: read # to fetch code (actions/checkout)\n\n    name: Build JS with Yarn\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Install yarn\n      run: sudo apt install yarn -y\n    - name: Get yarn cache dir\n      run: echo \"yarn_cache=$(yarn cache dir)\" >> \"$GITHUB_ENV\"\n    - name: Cache node modules\n      uses: actions/cache@v4\n      with:\n        key: node-${{ hashFiles('admin-js/package.json') }}-${{ github.run_id }}\n        restore-keys: node-${{ hashFiles('admin-js/package.json') }}\n        path: |\n          ${{ env.yarn_cache }}\n          admin-js/node_modules\n    - name: Yarn install\n      run: yarn install\n      working-directory: admin-js/\n    - name: Cache output files\n      uses: actions/cache@v4\n      id: cache_admin_js\n      with:\n        key: yarn-${{ hashFiles('admin-js/src/*') }}-${{ hashFiles('admin-js/yarn.lock') }}\n        path: |\n          aiohttp_admin/static/admin.js\n          aiohttp_admin/static/*.map\n    - name: Yarn build\n      if: steps.cache_admin_js.outputs.cache-hit != 'true'\n      run: yarn build\n      working-directory: admin-js/\n\n  test:\n    name: Test\n    needs: yarn_build\n    strategy:\n      matrix:\n        pyver: ['3.9', '3.10', '3.11', '3.12']\n        include:\n          - pyver: pypy-3.9\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Setup Python ${{ matrix.pyver }}\n      uses: actions/setup-python@v5\n      with:\n        allow-prereleases: true\n        python-version: ${{ matrix.pyver }}\n        cache: 'pip'\n        cache-dependency-path: '**/requirements*.txt'\n    - name: Restore cached JS files\n      uses: actions/cache/restore@v4\n      with:\n        key: yarn-${{ hashFiles('admin-js/src/*') }}\n        fail-on-cache-miss: true\n        path: |\n          aiohttp_admin/static/admin.js\n          aiohttp_admin/static/*.map\n    - name: Install dependencies\n      uses: py-actions/py-dependency-install@v4\n      with:\n        path: requirements.txt\n    - name: Run unittests\n      env:\n        COLOR: 'yes'\n      run: |\n        pytest tests\n        python -m coverage xml\n    - name: Upload coverage\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: true\n        files: ./coverage.xml\n        flags: unit\n        token: ${{ secrets.CODECOV_TOKEN }}\n\n  test-integration:\n    name: Integration Test\n    needs: yarn_build\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Install yarn\n      run: sudo apt install yarn -y\n    - name: Get yarn cache dir\n      run: echo \"yarn_cache=$(yarn cache dir)\" >> \"$GITHUB_ENV\"\n    - name: Cache node modules\n      uses: actions/cache@v4\n      with:\n        key: node-${{ hashFiles('admin-js/package.json') }}-${{ github.run_id }}\n        restore-keys: node-${{ hashFiles('admin-js/package.json') }}\n        path: |\n          ${{ env.yarn_cache }}\n          admin-js/node_modules\n    - name: Yarn install\n      run: yarn install\n      working-directory: admin-js/\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n        cache: 'pip'\n        cache-dependency-path: '**/requirements*.txt'\n    - name: Restore cached JS files\n      uses: actions/cache/restore@v4\n      with:\n        key: yarn-${{ hashFiles('admin-js/src/*') }}\n        fail-on-cache-miss: true\n        path: |\n          aiohttp_admin/static/admin.js\n          aiohttp_admin/static/*.map\n    - name: Install dependencies\n      uses: py-actions/py-dependency-install@v4\n      with:\n        path: requirements.txt\n    - name: Run tests\n      run: yarn test --coverage\n      working-directory: admin-js/\n    - name: Upload JS coverage\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: true\n        directory: admin-js/coverage/\n        flags: js, integration\n        token: ${{ secrets.CODECOV_TOKEN }}\n    - name: Generate Python coverage\n      run: python -m coverage xml\n    - name: Upload Python coverage\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: true\n        files: ./coverage.xml\n        flags: integration\n        token: ${{ secrets.CODECOV_TOKEN }}\n\n  check:  # This job does nothing and is only used for the branch protection\n    if: always()\n\n    needs: [lint, test, test-integration]\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Decide whether the needed jobs succeeded or failed\n      uses: re-actors/alls-green@release/v1\n      with:\n        jobs: ${{ toJSON(needs) }}\n\n  deploy:\n    name: Deploy\n    environment: release\n    runs-on: ubuntu-latest\n    needs: [check]\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n    - name: Install yarn\n      run: sudo apt install yarn -y\n    - name: Yarn install\n      run: yarn install\n      working-directory: admin-js/\n    - name: Yarn build\n      run: yarn build\n      working-directory: admin-js/\n    - name: Install dependencies\n      run:\n        python -m pip install -U pip wheel setuptools build twine\n    - name: Build dists\n      run: |\n        python -m build\n    - name: Make Release\n      uses: aio-libs/create-release@v1.6.6\n      with:\n        changes_file: CHANGES.rst\n        name: aiohttp-admin\n        version_file: aiohttp_admin/__init__.py\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        pypi_token: ${{ secrets.PYPI_API_TOKEN }}\n        dist_dir: dist\n        fix_issue_regex: \"`#(\\\\d+) <https://github.com/aio-libs/aiohttp-admin/issues/\\\\1>`\"\n        fix_issue_repl: \"(#\\\\1)\"\n", "state": "active", "repository": "aio-libs/aiohttp-admin"}
{"mined_at": "2024-07-15T18:00:20.841336", "created_at": "2024-07-15T05:23:26+02:00", "updated_at": "2024-07-15T05:23:26+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "aio-libs/aiohttp-admin"}
{"mined_at": "2024-07-15T18:00:21.943385", "created_at": "2023-02-08T20:34:19+01:00", "updated_at": "2023-02-08T20:34:19+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "aio-libs/aiohttp-admin"}
{"mined_at": "2024-07-15T18:00:24.170299", "created_at": "2022-10-12T18:41:07+02:00", "updated_at": "2023-05-10T23:41:51+02:00", "name": "Build documentation", "path": ".github/workflows/build_documentation.yml", "contents": "name: Build documentation\n\non:\n  push:\n    branches:\n      - main\n      - doc-builder*\n      - v*-release\n\njobs:\n   build:\n    uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main\n    with:\n      commit_sha: ${{ github.sha }}\n      package: pytorch-image-models\n      package_name: timm\n      path_to_docs: pytorch-image-models/hfdocs/source\n      version_tag_suffix: \"\"\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n", "state": "active", "repository": "huggingface/pytorch-image-models"}
{"mined_at": "2024-07-15T18:00:25.444203", "created_at": "2022-09-24T03:33:29+02:00", "updated_at": "2022-10-12T18:41:07+02:00", "name": "Build PR Documentation", "path": ".github/workflows/build_pr_documentation.yml", "contents": "name: Build PR Documentation\n\non:\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main\n    with:\n      commit_sha: ${{ github.event.pull_request.head.sha }}\n      pr_number: ${{ github.event.number }}\n      package: pytorch-image-models\n      package_name: timm\n      path_to_docs: pytorch-image-models/hfdocs/source\n      version_tag_suffix: \"\"\n", "state": "active", "repository": "huggingface/pytorch-image-models"}
{"mined_at": "2024-07-15T18:00:26.509067", "created_at": "2020-05-07T18:47:23+02:00", "updated_at": "2020-05-07T18:47:23+02:00", "name": "Python tests", "path": ".github/workflows/tests.yml", "contents": "name: Python tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\nenv:\n  OMP_NUM_THREADS: 2\n  MKL_NUM_THREADS: 2\n\njobs:\n  test:\n    name: Run tests on ${{ matrix.os }} with Python ${{ matrix.python }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python: ['3.10', '3.11']\n        torch: [{base: '1.13.0', vision: '0.14.0'}, {base: '2.1.0', vision: '0.16.0'}]\n        testmarker: ['-k \"not test_models\"', '-m base', '-m cfg', '-m torchscript', '-m features', '-m fxforward', '-m fxbackward']\n        exclude:\n          - python: '3.11'\n            torch: {base: '1.13.0', vision: '0.14.0'}\n    runs-on: ${{ matrix.os }}\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: ${{ matrix.python }}\n    - name: Install testing dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements-dev.txt\n    - name: Install torch on mac\n      if: startsWith(matrix.os, 'macOS')\n      run: pip install --no-cache-dir torch==${{ matrix.torch.base }} torchvision==${{ matrix.torch.vision }}\n    - name: Install torch on Windows\n      if: startsWith(matrix.os, 'windows')\n      run: pip install --no-cache-dir torch==${{ matrix.torch.base }} torchvision==${{ matrix.torch.vision }}\n    - name: Install torch on ubuntu\n      if: startsWith(matrix.os, 'ubuntu')\n      run: |\n        sudo sed -i 's/azure\\.//' /etc/apt/sources.list\n        sudo apt update\n        sudo apt install -y google-perftools\n        pip install --no-cache-dir torch==${{ matrix.torch.base }}+cpu torchvision==${{ matrix.torch.vision }}+cpu -f https://download.pytorch.org/whl/torch_stable.html\n    - name: Install requirements\n      run: |\n        pip install -r requirements.txt\n    - name: Run tests on Windows\n      if: startsWith(matrix.os, 'windows')\n      env:\n        PYTHONDONTWRITEBYTECODE: 1\n      run: |\n        pytest -vv tests\n    - name: Run '${{ matrix.testmarker }}' tests on Linux / Mac\n      if: ${{ !startsWith(matrix.os, 'windows') }}\n      env:\n        LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libtcmalloc.so.4\n        PYTHONDONTWRITEBYTECODE: 1\n      run: |\n        pytest -vv --forked --durations=0 ${{ matrix.testmarker }} tests\n", "state": "active", "repository": "huggingface/pytorch-image-models"}
{"mined_at": "2024-07-15T18:00:27.616899", "created_at": "2024-06-10T16:58:20+02:00", "updated_at": "2024-06-10T16:58:20+02:00", "name": "Secret Leaks", "path": ".github/workflows/trufflehog.yml", "contents": "on:\n  push:\n\nname: Secret Leaks\n\njobs:\n  trufflehog:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Secret Scanning\n      uses: trufflesecurity/trufflehog@main\n", "state": "active", "repository": "huggingface/pytorch-image-models"}
{"mined_at": "2024-07-15T18:00:28.824705", "created_at": "2023-06-09T16:04:15+02:00", "updated_at": "2023-06-09T16:04:15+02:00", "name": "Upload PR Documentation", "path": ".github/workflows/upload_pr_documentation.yml", "contents": "name: Upload PR Documentation\n\non:\n  workflow_run:\n    workflows: [\"Build PR Documentation\"]\n    types:\n      - completed\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main\n    with:\n      package_name: timm\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n      comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}", "state": "active", "repository": "huggingface/pytorch-image-models"}
{"mined_at": "2024-07-15T18:00:29.867776", "created_at": "2023-02-16T08:16:23+01:00", "updated_at": "2023-02-16T08:16:23+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "huggingface/pytorch-image-models"}
{"mined_at": "2024-07-15T18:00:32.102316", "created_at": "2023-02-13T14:24:26+01:00", "updated_at": "2023-02-13T14:24:26+01:00", "name": "Build and push DocsGPT Docker image", "path": ".github/workflows/ci.yml", "contents": "name: Build and push DocsGPT Docker image\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    if: github.repository == 'arc53/DocsGPT'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Login to ghcr.io\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push Docker images to docker.io and ghcr.io\n        uses: docker/build-push-action@v4\n        with:\n          file: './application/Dockerfile'\n          platforms: linux/amd64\n          context: ./application\n          push: true\n          tags: |\n            ${{ secrets.DOCKER_USERNAME }}/docsgpt:latest\n            ghcr.io/${{ github.repository_owner }}/docsgpt:latest\n", "state": "active", "repository": "arc53/docsgpt"}
{"mined_at": "2024-07-15T18:00:33.227989", "created_at": "2023-03-04T12:32:52+01:00", "updated_at": "2023-03-04T12:32:52+01:00", "name": "Build and push DocsGPT-FE Docker image", "path": ".github/workflows/cife.yml", "contents": "name: Build and push DocsGPT-FE Docker image\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    if: github.repository == 'arc53/DocsGPT'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Login to ghcr.io\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      # Runs a single command using the runners shell\n      - name: Build and push Docker images to docker.io and ghcr.io\n        uses: docker/build-push-action@v4\n        with:\n          file: './frontend/Dockerfile'\n          platforms: linux/amd64, linux/arm64\n          context: ./frontend\n          push: true\n          tags: |\n            ${{ secrets.DOCKER_USERNAME }}/docsgpt-fe:latest\n            ghcr.io/${{ github.repository_owner }}/docsgpt-fe:latest\n", "state": "active", "repository": "arc53/docsgpt"}
{"mined_at": "2024-07-15T18:00:34.456785", "created_at": "2023-10-06T17:11:56+02:00", "updated_at": "2023-10-06T17:11:56+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "# https://github.com/actions/labeler\nname: Pull Request Labeler\non:\n  - pull_request_target\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/labeler@v4\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          sync-labels: true\n", "state": "active", "repository": "arc53/docsgpt"}
{"mined_at": "2024-07-15T18:00:35.566577", "created_at": "2023-05-13T11:02:41+02:00", "updated_at": "2023-05-15T14:53:12+02:00", "name": "Python linting", "path": ".github/workflows/lint.yml", "contents": "name: Python linting\n\non:\n  push:\n    branches:\n      - '*'\n  pull_request:\n    types: [ opened, synchronize ]\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Lint with Ruff\n        uses: chartboost/ruff-action@v1\n", "state": "active", "repository": "arc53/docsgpt"}
{"mined_at": "2024-07-15T18:00:36.596742", "created_at": "2023-09-03T21:44:04+02:00", "updated_at": "2023-09-03T21:44:04+02:00", "name": "Code Coverage", "path": ".github/workflows/pr_coverage.yml", "contents": null, "state": "active", "repository": "arc53/docsgpt"}
{"mined_at": "2024-07-15T18:00:37.722910", "created_at": "2023-08-14T18:58:42+02:00", "updated_at": "2023-08-21T20:20:04+02:00", "name": "Run python tests with pytest", "path": ".github/workflows/pytest.yml", "contents": "name: Run python tests with pytest\non: [push, pull_request]\njobs:\n  pytest_and_coverage:\n    name: Run tests and count coverage\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest pytest-cov\n          cd application\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n      - name: Test with pytest and generate coverage report\n        run: |\n          python -m pytest --cov=application --cov=scripts --cov=extensions --cov-report=xml\n      - name: Upload coverage reports to Codecov\n        if: github.event_name == 'pull_request' && matrix.python-version == '3.11'\n        uses: codecov/codecov-action@v3\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n", "state": "active", "repository": "arc53/docsgpt"}
{"mined_at": "2024-07-15T18:00:38.761002", "created_at": "2023-04-18T16:18:01+02:00", "updated_at": "2023-04-18T16:18:01+02:00", "name": "Upstream Sync", "path": ".github/workflows/sync_fork.yaml", "contents": "name: Upstream Sync\n\npermissions:\n  contents: write\n\non:\n  schedule:\n    - cron: \"0 0 * * *\" # every hour\n  workflow_dispatch:\n\njobs:\n  sync_latest_from_upstream:\n    name: Sync latest commits from upstream repo\n    runs-on: ubuntu-latest\n    if: ${{ github.event.repository.fork }}\n\n    steps:\n      # Step 1: run a standard checkout action\n      - name: Checkout target repo\n        uses: actions/checkout@v3\n\n      # Step 2: run the sync action\n      - name: Sync upstream changes\n        id: sync\n        uses: aormsby/Fork-Sync-With-Upstream-action@v3.4\n        with:\n          # set your upstream repo and branch\n          upstream_sync_repo: arc53/DocsGPT\n          upstream_sync_branch: main\n          target_sync_branch: main\n          target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set\n\n          # Set test_mode true to run tests instead of the true action!!\n          test_mode: false\n\n      - name: Sync check\n        if: failure()\n        run: |\n          echo \"::error::由于权限不足，导致同步失败（这是预期的行为），请前往仓库首页手动执行[Sync fork]。\"\n          echo \"::error::Due to insufficient permissions, synchronization failed (as expected). Please go to the repository homepage and manually perform [Sync fork].\"\n          exit 1", "state": "active", "repository": "arc53/docsgpt"}
{"mined_at": "2024-07-15T18:00:39.778388", "created_at": "2023-02-15T23:56:47+01:00", "updated_at": "2023-02-15T23:56:47+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "arc53/docsgpt"}
{"mined_at": "2024-07-15T18:00:42.034946", "created_at": "2020-12-02T18:54:39+01:00", "updated_at": "2023-03-27T21:56:40+02:00", "name": "RACK Continuous Integration Workflow", "path": ".github/workflows/continuous.yml", "contents": "# Runs after every push (except tag-only pushes)\n\nname: RACK Continuous Integration Workflow\non:\n  push:\n    branches: [ '*' ]\n    tags-ignore: [ '*' ]\n\njobs:\n\n# lint job:\n#  - Lints RACK CLI, RACK Ontology, and shell scripts\n\n  lint:\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Check out RACK source\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Cache Python dependencies\n      uses: actions/cache@v4\n      with:\n        # This path is specific to Ubuntu\n        path: ~/.cache/pip\n        # Look to see if there is a cache hit for the corresponding requirements file\n        key: ${{ runner.os }}-pip-${{ hashFiles('cli/pyproject.toml') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n\n    - name: Install RACK CLI development dependencies\n      run: |\n        pip3 install \"cli/[dev]\"\n\n    - name: Lint RACK CLI\n      run: |\n        cd cli\n        pylint rack\n        mypy rack\n\n    - name: Lint RACK Ontology\n      run: |\n        sudo apt-get install -qq --yes swi-prolog\n        ./assist/bin/check\n\n    - name: Lint shell scripts\n      uses: ludeeus/action-shellcheck@2.0.0\n      env:\n        SHELLCHECK_OPTS: -x -P assist/databin -e SC1008\n\n# assemble-files job:\n#  - Assembles files for rack-box builds\n\n  assemble-files:\n    uses: ./.github/workflows/assemble-files.yml\n\n# test job:\n#  - Downloads rack-box files from artifacts\n#  - Installs rack-box on runner\n#  - Runs rack-box tests\n\n  test:\n    needs: assemble-files\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Check out RACK source\n      uses: actions/checkout@v4\n      with:\n        repository: ge-high-assurance/RACK\n        path: RACK\n\n    - name: Download rack-box files from artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: rack-box-files\n        path: RACK/rack-box/files\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Cache Python dependencies\n      uses: actions/cache@v4\n      with:\n        # This path is specific to Ubuntu\n        path: ~/.cache/pip\n        # Look to see if there is a cache hit for the corresponding requirements file\n        key: ${{ runner.os }}-pip-${{ hashFiles('RACK/tests/requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n\n    - name: Install rack-box on runner\n      run: |\n        mkdir -p /tmp/files\n        for f in RACK/rack-box/files/*; do\n          ln -s $(realpath $f) /tmp/files/$(basename $f)\n        done\n        python3 -m pip install --upgrade pip setuptools wheel\n        sudo bash RACK/rack-box/scripts/install.sh $USER\n\n    - name: Run rack-box tests\n      run: |\n        cd RACK\n        pip3 install cli/\n        pip3 install -r tests/requirements.txt\n        python3 -m pytest tests\n\n# build-docker-image job:\n#  - Builds rack-box docker image\n#  - Pushes docker image to Docker Hub\n\n  build-docker-image:\n    needs: assemble-files\n    uses: ./.github/workflows/build-docker-image.yml\n    secrets: inherit\n    with:\n      push: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev-test' }}\n      version: ${{ (github.ref == 'refs/heads/master' && 'dev') || 'dev-test' }}\n", "state": "active", "repository": "ge-high-assurance/rack"}
{"mined_at": "2024-07-15T18:00:43.160144", "created_at": "2020-12-02T21:50:37+01:00", "updated_at": "2021-04-22T21:22:22+02:00", "name": "RACK Release Workflow", "path": ".github/workflows/release.yml", "contents": "# Runs after a RACK release is published\n\nname: RACK Release Workflow\non:\n  release:\n    types: [ published ]\n\njobs:\n\n# assemble-files job:\n#  - Assembles files for rack-box builds\n\n  assemble-files:\n    uses: ./.github/workflows/assemble-files.yml\n\n# assemble-turnstile-data job:\n#  - Assembles Turnstile ingestion package\n#  - Uploads ingestion package to release\n\n  assemble-turnstile-data:\n    needs: assemble-files\n    uses: ./.github/workflows/assemble-turnstile-data.yml\n    secrets: inherit\n\n# build-docker-image job:\n#  - Builds rack-box docker image\n#  - Pushes docker image to Docker Hub\n\n  build-docker-image:\n    needs: assemble-files\n    uses: ./.github/workflows/build-docker-image.yml\n    secrets: inherit\n    with:\n      push: true\n      version: ${{ github.event.release.tag_name }}\n\n# build-virtual-machine job:\n#  - Builds rack-box virtual machine\n#  - Uploads virtual machine to release\n\n  build-virtual-machine:\n    needs: assemble-files\n    uses: ./.github/workflows/build-virtual-machine.yml\n    secrets: inherit\n    with:\n      version: ${{ github.event.release.tag_name }}\n", "state": "active", "repository": "ge-high-assurance/rack"}
{"mined_at": "2024-07-15T18:00:44.390481", "created_at": "2021-04-27T17:27:16+02:00", "updated_at": "2021-04-27T17:27:16+02:00", "name": "RACK Update Wiki Workflow", "path": ".github/workflows/update-wiki.yml", "contents": "# Runs after every change to nodegroups/queries/store_data.csv on master branch\n\nname: RACK Update Wiki Workflow\non:\n  push:\n    branches: [ master ]\n    paths:\n      - 'RACK-Ontology/nodegroups/store_data.csv'\n\njobs:\n\n# update-wiki job:\n#  - Updates RACK-Predefined-Queries.md in RACK.wiki\n\n  update-wiki:\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Check out RACK source\n      uses: actions/checkout@v4\n      with:\n        repository: ge-high-assurance/RACK\n        path: RACK\n\n    - name: Check out RACK wiki\n      uses: actions/checkout@v4\n      with:\n        repository: ge-high-assurance/RACK.wiki\n        path: RACK.wiki\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Cache Python dependencies\n      uses: actions/cache@v4\n      with:\n        # This path is specific to Ubuntu\n        path: ~/.cache/pip\n        # Look to see if there is a cache hit for cvstomd\n        key: ${{ runner.os }}-pip-csvtomd\n        restore-keys: |\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n\n    - name: Install csvtomd\n      run: |\n        pip3 install csvtomd --user\n\n    - name: Update query wiki page\n      run: |\n        csvtomd RACK/RACK-Ontology/nodegroups/store_data.csv > temp.md\n        cat RACK.wiki/_RACK-Predefined-Queries-header.md temp.md RACK.wiki/_RACK-Predefined-Queries-footer.md > RACK.wiki/RACK-Predefined-Queries.md\n        cd RACK.wiki\n        git config user.name github-actions\n        git config user.email github-actions@github.com\n        git add .\n        git commit -m \"Update RACK-Predefined-Queries.md\"\n        git push\n", "state": "active", "repository": "ge-high-assurance/rack"}
{"mined_at": "2024-07-15T18:00:45.620551", "created_at": "2022-11-19T20:19:40+01:00", "updated_at": "2022-11-19T21:24:00+01:00", "name": ".github/workflows/assemble-files.yml", "path": ".github/workflows/assemble-files.yml", "contents": "# Assembles files for rack-box builds (reusable workflow)\n\non:\n  workflow_call:\n\njobs:\n\n# assemble-files job:\n#  - Downloads certain files for rack-box builds\n#  - Packages certain files for rack-box builds\n#  - Uploads rack-box files to artifacts\n\n  assemble-files:\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Start rack-box container (needed for CDR files)\n      shell: bash\n      run: |\n        docker pull gehighassurance/rack-box:dev\n        docker run --rm --detach -p 3030:3030 -p 12050-12091:12050-12091 gehighassurance/rack-box:dev\n\n    - name: Check out RACK source\n      uses: actions/checkout@v4\n      with:\n        repository: ge-high-assurance/RACK\n        path: RACK\n\n    - name: Check out RACK wiki\n      uses: actions/checkout@v4\n      with:\n        repository: ge-high-assurance/RACK.wiki\n        path: RACK.wiki\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Cache Python dependencies\n      uses: actions/cache@v4\n      with:\n        # This path is specific to Ubuntu\n        path: ~/.cache/pip\n        # Look to see if there is a cache hit for the corresponding requirements file\n        key: ${{ runner.os }}-pip-${{ hashFiles('RACK/cli/pyproject.toml') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n\n    - name: Download Fuseki\n      shell: bash\n      run: |\n        curl -LSfs https://archive.apache.org/dist/jena/binaries/apache-jena-fuseki-4.10.0.tar.gz -o RACK/rack-box/files/fuseki.tar.gz\n\n    - name: Download Apache Jena\n      shell: bash\n      run: |\n        curl -LSfs https://archive.apache.org/dist/jena/binaries/apache-jena-4.10.0.tar.gz -o RACK/rack-box/files/jena.tar.gz\n\n    - name: Download SemTK\n      shell: bash\n      run: |\n        curl -LSfs https://github.com/ge-semtk/semtk/releases/download/v2.5.0-20240215/semtk-opensource-v2.5.0-20240215-dist.tar.gz -o RACK/rack-box/files/semtk.tar.gz\n\n    - name: Download CSS stylesheet\n      shell: bash\n      run: |\n        curl -LSfs https://github.com/KrauseFx/markdown-to-html-github-style/raw/master/style.css -o RACK/rack-box/files/style.css\n\n    - name: Download systemctl script\n      shell: bash\n      run: |\n        curl -LSfs https://github.com/gdraheim/docker-systemctl-replacement/raw/v1.5.8066/files/docker/systemctl3.py -o RACK/rack-box/files/systemctl3.py\n\n    - name: Build OWL files using sadl-eclipse\n      shell: bash\n      run: |\n        RACK/cli/setup-owl.sh -b\n\n    - name: Package RACK ASSIST\n      shell: bash\n      run: |\n        tar cfz RACK/rack-box/files/rack-assist.tar.gz RACK/assist\n\n    - name: Package RACK CLI\n      shell: bash\n      run: |\n        cd RACK/cli\n        python3 -m pip install --upgrade pip setuptools wheel\n        pip3 wheel --wheel-dir=wheels .\n        cd ${{ github.workspace }}\n        tar cfz RACK/rack-box/files/rack-cli.tar.gz RACK/cli/{*.sh,wheels}\n\n    - name: Package RACK UI\n      shell: bash\n      run: |\n        cd ${{ github.workspace }}\n        tar cfz RACK/rack-box/files/rack-ui.tar.gz RACK/rack-ui\n\n    - name: Package RACK documentation\n      shell: bash\n      run: |\n        sudo npm install -g github-wikito-converter markdown-to-html\n        cp RACK.wiki/_Footer.md RACK.wiki/Copyright.md\n        gwtc -t RACK-in-a-Box RACK.wiki\n        markdown -t RACK-in-a-box -s style.css RACK.wiki/_Welcome.md > index.html\n        sed -i -e 's/>NodeGroupService/ onclick=\"javascript:event.target.port=12058\">NodeGroupService/' index.html\n        mv documentation.html index.html RACK/rack-box/files\n\n    - name: Generate CDR files\n      shell: bash\n      run: |\n        pip3 install --no-dependencies RACK/cli/wheels/*.whl\n        tar xfz RACK/rack-box/files/semtk.tar.gz semtk-opensource/standaloneExecutables/target/standaloneExecutables-jar-with-dependencies.jar\n        RACK/nodegroups/generate-cdrs.sh semtk-opensource/standaloneExecutables/target/standaloneExecutables-jar-with-dependencies.jar\n\n    - name: Package RACK ontology and data\n      shell: bash\n      run: |\n        tar cfz RACK/rack-box/files/rack.tar.gz --exclude=.git --exclude=.github --exclude=assist --exclude=cli --exclude=rack-box --exclude=rack-ui --exclude=tests --exclude=tools RACK\n\n    - name: Stop rack-box container\n      if: ${{ always() }}\n      shell: bash\n      run: |\n        docker container stop $(docker container ls -qf ancestor=gehighassurance/rack-box:dev)\n\n    - name: Upload rack-box files to artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: rack-box-files\n        path: RACK/rack-box/files\n        retention-days: 1\n", "state": "active", "repository": "ge-high-assurance/rack"}
{"mined_at": "2024-07-15T18:00:46.849346", "created_at": "2022-11-19T20:19:40+01:00", "updated_at": "2022-11-19T21:24:00+01:00", "name": ".github/workflows/build-docker-image.yml", "path": ".github/workflows/build-docker-image.yml", "contents": "# Builds rack-box docker image (reusable workflow)\n\non:\n  workflow_call:\n    inputs:\n      push:\n        required: false\n        default: true\n        type: boolean\n      version:\n        required: false\n        default: 'dev'\n        type: string\n\njobs:\n\n# build-docker-image job:\n#  - Downloads rack-box files from artifacts\n#  - Builds rack-box docker image\n#  - Pushes docker image to Docker Hub\n\n  build-docker-image:\n    runs-on: ubuntu-22.04\n\n    steps:\n    - name: Check out RACK source\n      uses: actions/checkout@v4\n      with:\n        repository: ge-high-assurance/RACK\n        path: RACK\n\n    - name: Download rack-box files from artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: rack-box-files\n        path: RACK/rack-box/files\n\n    - name: Build rack-box docker image\n      run: |\n        cd RACK/rack-box\n        packer plugins install github.com/hashicorp/docker\n        packer build -var version=${{ inputs.version }} rack-box-docker.json\n\n    - name: Login to Docker Hub\n      if: inputs.push == true\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n    - name: Push rack-box docker image to Docker Hub\n      if: inputs.push == true\n      run: docker push gehighassurance/rack-box:${{ inputs.version }}\n\n    - name: Update description of rack-box docker image\n      if: inputs.push == true\n      uses: peter-evans/dockerhub-description@v4\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_PASSWORD }}\n        repository: gehighassurance/rack-box\n        readme-filepath: RACK/rack-box/Docker-Hub-README.md\n", "state": "active", "repository": "ge-high-assurance/rack"}
{"mined_at": "2024-07-15T18:00:48.076352", "created_at": "2022-11-19T20:19:40+01:00", "updated_at": "2022-11-19T21:24:00+01:00", "name": ".github/workflows/build-virtual-machine.yml", "path": ".github/workflows/build-virtual-machine.yml", "contents": "# Builds rack-box virtual machine (reusable workflow)\n\non:\n  workflow_call:\n    inputs:\n      version:\n        required: false\n        default: 'dev'\n        type: string\n\njobs:\n\n# build-virtual-machine job:\n#  - Downloads rack-box files from artifacts\n#  - Builds rack-box virtual machine\n#  - Uploads virtual machine to artifacts or release\n\n  build-virtual-machine:\n    runs-on: macos-12\n    permissions:\n      contents: write # needed by gh release upload\n\n    steps:\n    - name: Check out RACK source\n      uses: actions/checkout@v4\n      with:\n        repository: ge-high-assurance/RACK\n        path: RACK\n\n    - name: Download rack-box files from artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: rack-box-files\n        path: RACK/rack-box/files\n\n    - name: Download base box for virtual machine\n      run: |\n        curl -LOSfs https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64-vagrant.box\n        mkdir -p RACK/rack-box/jammy64\n        tar -xf jammy-server-cloudimg-amd64-vagrant.box -C RACK/rack-box/jammy64\n        rm -f jammy-server-cloudimg-amd64-vagrant.box\n\n    - name: Build rack-box virtual machine\n      run: |\n        cd RACK/rack-box\n        packer plugins install github.com/hashicorp/virtualbox\n        packer build -var headless=true -var version=${{ inputs.version }} rack-box-virtualbox.json\n\n    - name: Split rack-box virtual machine\n      run: |\n        cd RACK/rack-box\n        mv output-virtualbox-ovf rack-box-${{ inputs.version }}\n        zip -r rack-box-${{ inputs.version }}.zip rack-box-${{ inputs.version }}\n        split -b 1500m rack-box-${{ inputs.version }}.zip rack-box-${{ inputs.version }}.zip\n        rm rack-box-${{ inputs.version }}.zip\n\n    - name: Upload virtual machine to artifacts\n      uses: actions/upload-artifact@v4\n      if: github.event_name != 'release'\n      with:\n        name: rack-box-${{ inputs.version }}\n        path: |\n          RACK/rack-box/GitHub-Release-README.md\n          RACK/rack-box/rack-box-${{ inputs.version }}.zip*\n\n    - name: Upload virtual machine to release\n      if: github.event_name == 'release'\n      env:\n        GH_TOKEN: ${{ github.token }}\n      run: |\n        gh release upload ${{ github.event.release.tag_name }} RACK/rack-box/GitHub-Release-README.md RACK/rack-box/rack-box-${{ inputs.version }}.zip* --clobber\n", "state": "active", "repository": "ge-high-assurance/rack"}
{"mined_at": "2024-07-15T18:00:49.240366", "created_at": "2022-11-19T20:19:40+01:00", "updated_at": "2022-11-19T20:19:40+01:00", "name": "RACK Build Virtual Machine Workflow", "path": ".github/workflows/manual.yml", "contents": "# Manually builds rack-box virtual machine (dispatchable workflow)\n\nname: RACK Build Virtual Machine Workflow\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        required: false\n        default: 'dev'\n        type: string\n\njobs:\n\n# assemble-files job:\n#  - Assembles files for rack-box builds\n\n  assemble-files:\n    uses: ./.github/workflows/assemble-files.yml\n\n# assemble-turnstile-data job:\n#  - Assembles Turnstile ingestion package\n#  - Uploads ingestion package to artifacts\n\n  assemble-turnstile-data:\n    needs: assemble-files\n    uses: ./.github/workflows/assemble-turnstile-data.yml\n    secrets: inherit\n\n# build-virtual-machine job:\n#  - Builds rack-box virtual machine\n#  - Uploads virtual machine to artifacts\n\n  build-virtual-machine:\n    needs: assemble-files\n    uses: ./.github/workflows/build-virtual-machine.yml\n    secrets: inherit\n    with:\n      version: ${{ inputs.version }}\n", "state": "active", "repository": "ge-high-assurance/rack"}
{"mined_at": "2024-07-15T18:00:50.432261", "created_at": "2023-04-07T20:22:57+02:00", "updated_at": "2023-04-07T20:22:57+02:00", "name": ".github/workflows/assemble-turnstile-data.yml", "path": ".github/workflows/assemble-turnstile-data.yml", "contents": "# Assembles Turnstile ingestion package (reusable workflow)\n\non:\n  workflow_call:\n\njobs:\n\n# assemble-turnstile-data job:\n#  - Downloads rack-box files from artifacts\n#  - Unpacks CLI wheels and OWL/CDR files\n#  - Assembles Turnstile ingestion package\n#  - Uploads ingestion package to artifacts or release\n\n  assemble-turnstile-data:\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: write # needed by gh release upload\n\n    steps:\n    - name: Check out RACK source\n      uses: actions/checkout@v4\n      with:\n        repository: ge-high-assurance/RACK\n        path: RACK\n\n    - name: Download rack-box files from artifacts\n      uses: actions/download-artifact@v4\n      with:\n        name: rack-box-files\n        path: RACK/rack-box/files\n\n    - name: Unpack CLI wheels and OWL/CDR files\n      run: |\n        tar xfz RACK/rack-box/files/rack-cli.tar.gz\n        tar xfz RACK/rack-box/files/rack.tar.gz\n\n    - name: Install RACK CLI\n      run: |\n        pip3 install --no-dependencies RACK/cli/wheels/*.whl\n        sudo apt-get install -qq --yes swi-prolog\n\n    - name: Assemble Turnstile ingestion package\n      run: |\n        RACK/Turnstile-Example/Assemble-TurnstileData.sh\n\n    - name: Upload ingestion package to artifacts\n      uses: actions/upload-artifact@v4\n      if: github.event_name != 'release'\n      with:\n        name: turnstile-ingestion-package.zip\n        path: |\n          RACK/Turnstile-Example/turnstile-ingestion-package.zip\n\n    - name: Upload ingestion package to release\n      if: github.event_name == 'release'\n      env:\n        GH_TOKEN: ${{ github.token }}\n      run: |\n        gh release upload ${{ github.event.release.tag_name }} RACK/Turnstile-Example/turnstile-ingestion-package.zip --clobber\n", "state": "active", "repository": "ge-high-assurance/rack"}
{"mined_at": "2024-07-15T18:00:53.708875", "created_at": "2021-04-02T16:17:09+02:00", "updated_at": "2021-04-22T09:38:20+02:00", "name": "Linting", "path": ".github/workflows/linter.yml", "contents": "---\nname: Linting\non: [push, pull_request]\njobs:\n  ansible-lint:\n    name: Ansible Lint\n    runs-on: ubuntu-latest\n    container: cytopia/ansible-lint:5\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.8.0\n        with:\n          access_token: ${{ github.token }}\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - name: Ansible Lint code\n        run: ansible-lint -c .ansible-lint -qq --force-color *.yml\n  yamllint:\n    name: Yaml Lint\n    runs-on: ubuntu-latest\n    container: cytopia/yamllint:latest\n    steps:\n      - name: Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.8.0\n        with:\n          access_token: ${{ github.token }}\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - name: Yamllint code\n        run: yamllint -c .yamllint -f colored .\n", "state": "active", "repository": "confluentinc/cp-ansible"}
{"mined_at": "2024-07-15T18:00:55.837676", "created_at": "2023-08-08T15:03:30+02:00", "updated_at": "2023-08-23T16:14:17+02:00", "name": "Code Formatting and Tests", "path": ".github/workflows/push_code_check.yml", "contents": "name: Code Formatting and Tests\n\non: [push]\n\njobs:\n  Continuous-Integration:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repo code\n        uses: actions/checkout@v3\n\n      - name: Run Black on main source code\n        uses: psf/black@stable\n        with:\n          options: \"--check --verbose\"\n          src: \"./gflownet/\"\n\n      - name: Run Black on unit test code\n        uses: psf/black@stable\n        with:\n          options: \"--check --verbose\"\n          src: \"./tests/\"\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install code dependencies\n        run: bash ./prereq_ci.sh pip install --upgrade\n\n      - name: Install GFlowNet repo\n        run: pip install -e .[all] --quiet\n\n      - name: Install Pytest and Isort\n        run: pip install pytest isort\n\n      - name: Validate import format in main source code\n        run: isort --profile black ./gflownet/ --check-only\n\n      - name: Validate import format in unit test code\n        run: isort --profile black ./tests/ --check-only\n\n      - name: Run unit tests\n        run: pytest\n", "state": "active", "repository": "alexhernandezgarcia/gflownet"}
{"mined_at": "2024-07-15T18:00:59.034220", "created_at": "2022-02-25T20:18:34+01:00", "updated_at": "2022-12-19T18:14:31+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non: [push]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    container: python:3.10-bullseye\n\n    #services:\n    #  postgres:\n    #    image: postgres\n    #    env:\n    #      POSTGRES_USER: pypeusr\n    #      POSTGRES_PASSWORD: pypepass\n    #      POSTGRES_DB: pype\n    #    ports:\n    #      - \"5432:5432\"\n    #    options: >-\n    #      --health-cmd pg_isready\n    #      --health-interval 10s\n    #      --health-timeout 5s\n    #      --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v1\n        with:\n          fetch-depth: 1\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v2.2.1\n        with:\n          python-version: 3.10.9\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v2\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root\n\n      - name: Install dependencies\n        run: poetry install --no-interaction\n\n      - name: Code Quality\n        run: poetry run black . --check\n\n      - name: Run setup\n        run: poetry run python -m setup --with-schema\n\n      #- name: Test with pytest\n      #  run: poetry run pytest\n", "state": "disabled_manually", "repository": "ynput/ayon-backend"}
{"mined_at": "2024-07-15T18:01:01.491572", "created_at": "2023-11-05T20:58:29+01:00", "updated_at": "2023-11-09T08:45:44+01:00", "name": "Add Label", "path": ".github/workflows/AddLabel.yml", "contents": "# Copyright 2023 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Add Label\n\non:\n  workflow_run:\n    workflows: [Unit Test, CodeQL]\n    types:\n      - completed\n  pull_request_review:\n  pull_request_review_comment:\n  workflow_dispatch:\n\njobs:\n  AddPullReady:\n    permissions:\n      checks: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/github-script@v6\n        with:\n          script: |\n            const owner = \"google\"\n            const repo = \"maxtext\"\n            let pull_number = -1\n            if (context.payload.pull_request !== undefined) {\n              pull_number = context.payload.pull_request.number\n            } else if (context.payload.workflow_run !== undefined) {\n              if (context.payload.workflow_run.pull_requests.length === 0) {\n                console.log(\"This workflow is NOT running within a PR's context\")\n                process.exit()\n              }\n              console.log(context.payload.workflow_run.pull_requests)\n              pull_number = context.payload.workflow_run.pull_requests[0].number\n            } else {\n              console.log(\"This workflow is running within an invalid context\")\n              process.exit(1)\n            }\n\n            // This list should match with CODEOWNERS\n            let requiredReviewers = { rwitten: \"\", gobbleturk: \"\" }\n            const reviews = await github.rest.pulls.listReviews({\n              owner,\n              repo,\n              pull_number,\n            })\n            if (reviews.data.length === 0) {\n              console.log(\"Not adding pull ready because the PR is not approved yet\")\n              process.exit()\n            }\n            let is_approved=false\n            for (const review of reviews.data) {\n              if (review.state === \"APPROVED\" && review.user.login in requiredReviewers) {\n                is_approved=true\n              }\n            }\n            if (!is_approved) {\n              console.log(\"Not adding pull ready because the PR is not approved yet\")\n              process.exit()\n            }\n\n            const commits = await github.rest.pulls.listCommits({\n              owner,\n              repo,\n              pull_number,\n              per_page: 100,\n            })\n            // Check that the number of commits in the PR is 1.\n            if (commits.data.length !== 1) {\n              console.log(\"Not adding pull ready because the PR has more than one commit. Please squash your commits.\")\n              process.exit(1)\n            }\n            const ref = commits.data.slice(-1)[0].sha\n            const checkRuns = await github.rest.checks.listForRef({\n              owner,\n              repo,\n              ref,\n            })\n            if (checkRuns.data.check_runs.length === 0) {\n              console.log(\"Not adding pull ready because no check runs are associated with the last commit: \" + ref)\n              process.exit()\n            }\n            for (const checkRun of checkRuns.data.check_runs) {\n              if (checkRun.name.endsWith(context.job)) continue\n              if (checkRun.conclusion !== \"success\") {\n                console.log(\"Not adding pull ready because \" + checkRun.name + \" has not passed yet: \" + checkRun.html_url)\n                process.exit()\n              }\n            }\n            console.log(\"Adding pull ready label because the PR is approved AND all the check runs have passed\")\n            await github.rest.issues.addLabels({\n              issue_number: pull_number,\n              labels: [\"pull ready\"],\n              owner,\n              repo,\n            })\n", "state": "active", "repository": "google/maxtext"}
{"mined_at": "2024-07-15T18:01:02.824729", "created_at": "2024-02-26T20:50:00+01:00", "updated_at": "2024-05-07T19:29:03+02:00", "name": "Build Images", "path": ".github/workflows/BuildDockerImages.yml", "contents": null, "state": "disabled_manually", "repository": "google/maxtext"}
{"mined_at": "2024-07-15T18:01:03.951973", "created_at": "2024-04-12T20:35:55+02:00", "updated_at": "2024-05-07T19:29:28+02:00", "name": "Linter", "path": ".github/workflows/CPUTests.yaml", "contents": null, "state": "disabled_manually", "repository": "google/maxtext"}
{"mined_at": "2024-07-15T18:01:05.177462", "created_at": "2024-04-16T18:59:45+02:00", "updated_at": "2024-04-16T22:58:19+02:00", "name": "Linter", "path": ".github/workflows/CPUTests.yml", "contents": "name: Linter\n\non:\n  push:\n    branches:\n      - '**'\n\njobs:\n  cpu:\n    name: \"CPU tests\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n        python-version: ['3.10']\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pylint pyink pytype==2024.2.27\n    - name: Typecheck the code with pytype\n      run: |\n        pytype --jobs auto --disable import-error MaxText/\n    - name: Analysing the code with pylint in Maxtext/\n      run: |\n         pylint MaxText/  && \\\n         echo 'Maxtext PyLint check successful' || { echo \\\n         'PyLint check has failed. Please run bash code_style.sh to fix issues'; exit 20; }\n    - name: Analysing the code with pylint in pedagogical_examples/\n      run: |\n         pylint pedagogical_examples/ && \\\n         echo 'PyLint check on pedagogical_examples/ is successful' || { echo \\\n         'PyLint check has failed. Please run bash code_style.sh to fix issues'; exit 20; }\n", "state": "active", "repository": "google/maxtext"}
{"mined_at": "2024-07-15T18:01:06.287492", "created_at": "2024-04-09T20:07:58+02:00", "updated_at": "2024-05-07T19:29:40+02:00", "name": "Linter", "path": ".github/workflows/PyLintFixOnPush.yaml", "contents": null, "state": "disabled_manually", "repository": "google/maxtext"}
{"mined_at": "2024-07-15T18:01:07.430888", "created_at": "2023-03-29T01:49:18+02:00", "updated_at": "2024-03-26T01:07:42+01:00", "name": "Unit Test", "path": ".github/workflows/UnitTests.yml", "contents": "# Copyright 2023 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Unit Test\n\non:\n  pull_request:\n  push:\n    branches: [ \"main\" ]\n  workflow_dispatch:\n  schedule:\n    # Run the job every 2 hours\n    - cron:  '0 */2 * * *'\n\njobs:\n  build_and_upload_image:\n    strategy:\n        fail-fast: false\n        matrix:\n          device:\n          - type: tpu\n            name: v4-8\n            mode: stable\n          - type: gpu\n            name: a100-40gb-4\n            mode: pinned\n    name: Build and upload image (${{ matrix.device.name }})\n    runs-on: [\"self-hosted\", \"${{ matrix.device.type }}\", \"${{ matrix.device.name }}\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Cleanup old docker images\n      run: docker system prune --all --force\n    - name: Build an image\n      run: |\n        bash docker_build_dependency_image.sh MODE=${{ matrix.device.mode }} DEVICE=${{ matrix.device.type }} \n    - name: Tag the image\n      run: |\n        docker tag maxtext_base_image gcr.io/tpu-prod-env-multipod/maxtext_${{ github.run_id }}:${{ matrix.device.type }}\n    - name: Upload the image\n      run: |\n        docker push gcr.io/tpu-prod-env-multipod/maxtext_${{ github.run_id }}:${{ matrix.device.type }}\n\n  common:\n    needs: build_and_upload_image\n    strategy:\n      fail-fast: False\n      matrix:\n        device:\n        - type: tpu\n          name: v4-8\n          attention: autoselected\n          pytest_marker: ''\n          container_env:\n            XLA_PYTHON_CLIENT_MEM_FRACTION: 0.75\n            TF_FORCE_GPU_ALLOW_GROWTH: false\n          container_resource_option: \"--privileged\"\n        - type: gpu\n          name: a100-40gb-4\n          image_suffix: gpu_jax_pinned\n          attention: dot_product\n          pytest_marker: -m 'not tpu'\n          container_env:\n            XLA_PYTHON_CLIENT_MEM_FRACTION: 0.65\n            TF_FORCE_GPU_ALLOW_GROWTH: true\n          container_resource_option: \"--shm-size 2g --runtime=nvidia --gpus all --privileged\"\n    name: Common test (${{ matrix.device.name }})\n    runs-on: [\"self-hosted\", \"${{ matrix.device.type }}\", \"${{ matrix.device.name }}\"]\n    container:\n      image: gcr.io/tpu-prod-env-multipod/maxtext_${{ github.run_id }}:${{ matrix.device.type }}\n      volumes: \n        - /home/runner/actions-runner/_work/maxtext/maxtext:/deps\n      env:\n        XLA_PYTHON_CLIENT_MEM_FRACTION: ${{ matrix.device.container_env.XLA_PYTHON_CLIENT_MEM_FRACTION }}\n        TF_FORCE_GPU_ALLOW_GROWTH: ${{ matrix.device.container_env.TF_FORCE_GPU_ALLOW_GROWTH }}\n      options: ${{ matrix.device.container_resource_option }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Test gsutil installation\n      run: which gsutil >/dev/null 2>&1 || { echo >&2 \"gsutil is required but not installed. Aborting\"; exit 24;}\n    - name: Test with pytest\n      run: cd MaxText;python3 -m pytest ${{ matrix.device.pytest_marker }}\n    - name: Test train.py with TFDS c4\n      run: python3 MaxText/train.py MaxText/configs/base.yml run_name=runner_$(date +%Y-%m-%d-%H-%M-%S) base_output_directory=gs://runner-maxtext-logs dataset_path=gs://maxtext-dataset steps=2 enable_checkpointing=false attention=${{ matrix.device.attention }}\n    - name: Test train.py with HF c4\n      run: python3 MaxText/train.py MaxText/configs/base.yml run_name=runner_$(date +%Y-%m-%d-%H-%M-%S) base_output_directory=gs://runner-maxtext-logs hf_data_files=gs://maxtext-dataset/hf/c4/c4-train-00000-of-01637.parquet hf_path=parquet dataset_type=hf steps=2 tokenizer_path=google-t5/t5-large attention=${{ matrix.device.attention }} enable_checkpointing=false\n    - name: Test train.py with synthetic data\n      run: python3 MaxText/train.py MaxText/configs/base.yml run_name=runner_$(date +%Y-%m-%d-%H-%M-%S) base_output_directory=gs://runner-maxtext-logs dataset_path=gs://maxtext-dataset steps=2 enable_checkpointing=false attention=${{ matrix.device.attention }} dataset_type=synthetic\n    - name: Test train.py with per_device_batch_size < 1\n      run: python3 MaxText/train.py MaxText/configs/base.yml run_name=runner_$(date +%Y-%m-%d-%H-%M-%S) base_output_directory=gs://runner-maxtext-logs dataset_path=gs://maxtext-dataset steps=2 per_device_batch_size=0.25 ici_tensor_parallelism=4 enable_checkpointing=false attention=${{ matrix.device.attention }}\n    - name: Test decode.py\n      run: python3 MaxText/decode.py MaxText/configs/base.yml run_name=runner_$(date +%Y-%m-%d-%H-%M-%S) base_output_directory=gs://runner-maxtext-logs dataset_path=gs://maxtext-dataset steps=2 ici_tensor_parallelism=4 attention=${{ matrix.device.attention }} enable_checkpointing=false max_target_length=128 per_device_batch_size=1\n    - name: Test decode.py with per_device_batch_size < 1\n      run: python3 MaxText/decode.py MaxText/configs/base.yml run_name=runner_$(date +%Y-%m-%d-%H-%M-%S) base_output_directory=gs://runner-maxtext-logs dataset_path=gs://maxtext-dataset steps=2 ici_tensor_parallelism=4 attention=${{ matrix.device.attention }} enable_checkpointing=false max_target_length=128 per_device_batch_size=.25\n    - name: Test int8_training\n      run: python3 MaxText/train.py MaxText/configs/base.yml run_name=runner_$(date +%Y-%m-%d-%H-%M-%S) base_output_directory=gs://runner-maxtext-logs dataset_path=gs://maxtext-dataset quantization=int8 steps=2 enable_checkpointing=false attention=${{ matrix.device.attention }}\n    - name: Test fp8_training\n      run: python3 MaxText/train.py MaxText/configs/base.yml run_name=runner_$(date +%Y-%m-%d-%H-%M-%S) base_output_directory=gs://runner-maxtext-logs dataset_path=gs://maxtext-dataset quantization=fp8 steps=2 enable_checkpointing=false attention=${{ matrix.device.attention }}\n    - name: Test generate_param_only_checkpoint\n      run: bash end_to_end/test_generate_param_only_checkpoint.sh -r runner_$(date +%Y-%m-%d-%H-%M-%S) -o gs://runner-maxtext-logs -d gs://maxtext-dataset -i 4 -a ${{ matrix.device.attention }}\n    - name: Test generate_param_only_checkpoint with int8 quantization\n      run: bash end_to_end/test_generate_param_only_checkpoint.sh -r runner_$(date +%Y-%m-%d-%H-%M-%S) -o gs://runner-maxtext-logs -d gs://maxtext-dataset -i 4 -q int8 -a ${{ matrix.device.attention }}\n    - name: Test grain checkpoint determinism\n      run: bash end_to_end/test_checkpointing.sh runner_$(date +%Y-%m-%d-%H-%M-%S) gs://runner-maxtext-logs gs://maxtext-dataset False grain ${{ matrix.device.attention }}\n    - name: Test checkpoint compatibility\n      run: bash end_to_end/test_checkpoint_compatibility.sh runner_$(date +%Y-%m-%d-%H-%M-%S) gs://runner-maxtext-logs gs://maxtext-dataset ${{ matrix.device.attention }}\n\n  tpu:\n    needs: build_and_upload_image\n    strategy:\n      fail-fast: false\n      matrix:\n        device-type: [\"v4-8\"]\n    name: \"TPU test (${{ matrix.device-type }})\"\n    runs-on: [\"self-hosted\", \"tpu\", \"${{ matrix.device-type }}\"]\n    container:\n      image: gcr.io/tpu-prod-env-multipod/maxtext_${{ github.run_id }}:tpu\n      volumes: \n      - /home/runner/actions-runner/_work/maxtext/maxtext:/deps\n      options: \"--privileged\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Validate Pedagogical Example, Shmap_collective_matmul\n      run: python3 pedagogical_examples/shmap_collective_matmul.py\n\n  gpu:\n    needs: build_and_upload_image\n    strategy:\n      fail-fast: false\n      matrix:\n        device-type: [\"a100-40gb-4\"]\n        build-mode: [\"pinned\"]\n    name: \"GPU test (${{ matrix.device-type }}, ${{ matrix.build-mode }})\"\n    runs-on: [\"self-hosted\", \"gpu\", \"${{ matrix.device-type }}\"]\n    container:\n      image: gcr.io/tpu-prod-env-multipod/maxtext_${{ github.run_id }}:gpu\n      volumes: \n      - /home/runner/actions-runner/_work/maxtext/maxtext:/deps\n      env:\n        XLA_PYTHON_CLIENT_MEM_FRACTION: 0.65\n        TF_FORCE_GPU_ALLOW_GROWTH: true\n      options: \"--shm-size 2g --runtime=nvidia --gpus all --privileged\"\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n    - name: Test train.py with flash attention\n      run: python3 MaxText/train.py MaxText/configs/base.yml run_name=runner_$(date +%Y-%m-%d-%H-%M-%S) base_output_directory=gs://runner-maxtext-logs dataset_path=gs://maxtext-dataset steps=2 enable_checkpointing=false attention=cudnn_flash_te\n\n  clean_up:\n    if: ${{ always() }}\n    needs: [common, gpu, tpu]\n    name: \"Clean up\"\n    runs-on: [\"self-hosted\"]\n    steps:\n    - name: Delete GPU image\n      run: gcloud container images delete gcr.io/tpu-prod-env-multipod/maxtext_${{ github.run_id }}:gpu --force-delete-tags --quiet\n    - name: Delete TPU image\n      run: gcloud container images delete gcr.io/tpu-prod-env-multipod/maxtext_${{ github.run_id }}:tpu --force-delete-tags --quiet\n \n", "state": "active", "repository": "google/maxtext"}
{"mined_at": "2024-07-15T18:01:08.456415", "created_at": "2023-11-17T21:36:15+01:00", "updated_at": "2024-04-17T19:27:15+02:00", "name": "Unit Tests", "path": ".github/workflows/UnitTestsGPU.yml", "contents": null, "state": "disabled_manually", "repository": "google/maxtext"}
{"mined_at": "2024-07-15T18:01:09.580560", "created_at": "2024-02-27T02:36:45+01:00", "updated_at": "2024-05-07T19:29:11+02:00", "name": "Build Images", "path": ".github/workflows/UploadDockerBuild.yml", "contents": null, "state": "disabled_manually", "repository": "google/maxtext"}
{"mined_at": "2024-07-15T18:01:10.810174", "created_at": "2024-02-27T20:02:07+01:00", "updated_at": "2024-03-05T01:43:59+01:00", "name": "Build Images", "path": ".github/workflows/UploadDockerImages.yml", "contents": "# Copyright 2023 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Build Images\n\non:\n  schedule:\n    # Run the job daily at 12AM UTC\n    - cron:  '0 0 * * *'\n\njobs:\n  tpu:\n    strategy:\n      fail-fast: false\n      matrix:\n        device-type: [\"v4-8\"]\n    runs-on: [\"self-hosted\", \"tpu\", \"${{ matrix.device-type }}\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: build jax stable image\n      run : |\n        bash .github/workflows/build_and_upload_images.sh CLOUD_IMAGE_NAME=maxtext_jax_stable MODE=stable DEVICE=tpu PROJECT=tpu-prod-env-multipod LOCAL_IMAGE_NAME=maxtext_jax_stable\n    - name: build jax nightly image\n      run : |\n        bash .github/workflows/build_and_upload_images.sh CLOUD_IMAGE_NAME=maxtext_jax_nightly MODE=nightly DEVICE=tpu PROJECT=tpu-prod-env-multipod LOCAL_IMAGE_NAME=maxtext_jax_nightly\n  gpu:\n    strategy:\n      fail-fast: false\n      matrix:\n        device-type: [\"a100-40gb-4\"]\n    runs-on: [\"self-hosted\", \"gpu\", \"${{ matrix.device-type }}\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: build jax stable image\n      run : |\n        bash .github/workflows/build_and_upload_images.sh CLOUD_IMAGE_NAME=maxtext_gpu_jax_stable MODE=stable DEVICE=gpu PROJECT=tpu-prod-env-multipod LOCAL_IMAGE_NAME=maxtext_gpu_local_jax_stable\n    - name: build jax nightly image\n      run : |\n        bash .github/workflows/build_and_upload_images.sh CLOUD_IMAGE_NAME=maxtext_gpu_jax_nightly MODE=nightly DEVICE=gpu PROJECT=tpu-prod-env-multipod LOCAL_IMAGE_NAME=maxtext_gpu_local_jax_nightly\n    - name: build jax pinned image\n      run : |\n        bash .github/workflows/build_and_upload_images.sh CLOUD_IMAGE_NAME=maxtext_gpu_jax_pinned MODE=pinned DEVICE=gpu PROJECT=tpu-prod-env-multipod LOCAL_IMAGE_NAME=maxtext_gpu_local_jax_pinned\n", "state": "active", "repository": "google/maxtext"}
{"mined_at": "2024-07-15T18:01:11.911790", "created_at": "2023-03-29T01:49:18+02:00", "updated_at": "2023-11-07T01:46:26+01:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": null, "state": "active", "repository": "google/maxtext"}
{"mined_at": "2024-07-15T18:01:12.940791", "created_at": "2023-08-01T22:12:30+02:00", "updated_at": "2023-08-01T22:12:30+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/maxtext"}
{"mined_at": "2024-07-15T18:01:15.317433", "created_at": "2021-11-15T20:13:46+01:00", "updated_at": "2024-01-15T10:59:55+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n    branches-ignore:\n      - '*no-ci*'\n  push:\n    branches:\n      - master\n  workflow_dispatch:\n    inputs:\n      ansys_version:\n        description: \"ANSYS version\"\n        required: false\n        type: string\n        default: \"251\"\n      standalone_branch_suffix:\n        description: 'Suffix of the branch on standalone'\n        required: false\n        default: ''\n\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com'\n  MAIN_PYTHON_VERSION: '3.9'\n  MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }}\n  MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}\n\njobs:\n  debug:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Show the Github context for the triggered event\n      run: echo \"$GITHUB_CONTEXT\"\n      env:\n        GITHUB_CONTEXT: ${{ toJson(github) }}\n\n  pick_server_suffix:\n    runs-on: ubuntu-latest\n    outputs:\n      suffix: ${{ steps.step1.outputs.suffix }}\n    steps:\n    - id: step1\n      name: Define server branch suffix to use\n      run: |\n        if ${{ github.event_name == 'push' }}; then\n          echo \"suffix=\" >> \"$GITHUB_OUTPUT\"\n        elif ${{ github.event_name == 'workflow_dispatch' }}; then\n          echo \"suffix=${{ github.event.inputs.standalone_branch_suffix }}\" >> \"$GITHUB_OUTPUT\"\n        elif ${{ github.event_name == 'pull_request' }}; then\n          # If the PR is server-sync then extract suffix from branch name\n          sub='maint/update_code_for_'\n          if [[ \"${{ github.head_ref  }}\" == *\"$sub\"* ]]; then\n            ref_name=${{ github.head_ref }}\n            base_ref=${{ github.base_ref }}\n            suffix=${ref_name/$sub[0-9][0-9][0-9]/''}\n            suffix=${suffix/_on_$base_ref/''}\n          elif [[ \"${{ github.base_ref  }}\" == *\"$sub\"* ]]; then\n            base_ref=${{ github.base_ref }}\n            suffix=${base_ref/$sub[0-9][0-9][0-9]/''}\n            suffix=${suffix/_on_*/''}\n          fi\n          echo \"suffix=$suffix\" >> \"$GITHUB_OUTPUT\"\n        fi\n        echo \"branch suffix is: >$suffix<\"\n\n  style:\n    name: \"Style Check\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: ansys/actions/code-style@v6\n        with:\n          use-python-cache: false\n\n  build_linux1:\n    name: \"Build linux1 wheel\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: \"Install requirements\"\n        run: pip install -r requirements/requirements_build.txt\n\n      - name: \"Build the manylinux1 wheel\"\n        shell: bash\n        id: wheel\n        run: |\n          python .ci/build_wheel.py -p manylinux1\n          cd dist\n          export name=`ls ansys_dpf_core*.whl`\n          echo ${name}\n          echo \"wheel_name=${name[0]}\" >> $GITHUB_OUTPUT\n          cd ..\n\n      - name: \"Upload wheel any as artifact\"\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ steps.wheel.outputs.wheel_name }}\n          path: dist/${{ steps.wheel.outputs.wheel_name }}\n\n  tests:\n    uses: ./.github/workflows/tests.yml\n    needs: pick_server_suffix\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}\n      python_versions: '[\"3.9\"]'\n      wheel: true\n      wheelhouse: false\n      standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}\n    secrets: inherit\n\n  tests_any:\n    uses: ./.github/workflows/tests.yml\n    needs: pick_server_suffix\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}\n      python_versions: '[\"3.9\"]'\n      wheel: true\n      wheelhouse: false\n      standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}\n      test_any: true\n    secrets: inherit\n\n  docker_tests:\n    name: \"Build and Test on Docker\"\n    uses: ./.github/workflows/test_docker.yml\n    needs: pick_server_suffix\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}\n      standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}\n    secrets: inherit\n\n  docker_examples:\n    name: \"Run examples on Docker\"\n    uses: ./.github/workflows/examples_docker.yml\n    needs: pick_server_suffix\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}\n      python_versions: '[\"3.9\"]'\n      standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}\n    secrets: inherit\n\n  docs:\n    if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft\n    uses: ./.github/workflows/docs.yml\n    needs: pick_server_suffix\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}\n      standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}\n      event_name: ${{ github.event_name }}\n    secrets: inherit\n\n  upload-development-docs:\n    runs-on: ubuntu-latest\n    if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}\n    needs: [docs]\n    steps:\n      - name: \"Upload development documentation\"\n        uses: ansys/actions/doc-deploy-dev@v4\n        with:\n          cname: ${{ env.DOCUMENTATION_CNAME }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          doc-artifact-name: HTML-doc-ansys-dpf-core.zip\n          decompress-artifact: true\n\n  doc-index-dev:\n    name: \"Deploy dev index docs\"\n    runs-on: ubuntu-latest\n    needs: upload-development-docs\n    steps:\n      - name: \"Deploy the latest documentation index\"\n        uses: ansys/actions/doc-deploy-index@v4\n        with:\n          cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev\n          index-name: pydpf-core-vdev\n          host-url: ${{ vars.MEILISEARCH_HOST_URL }}\n          api-key: ${{ env.MEILISEARCH_API_KEY }}\n          doc-artifact-name: HTML-doc-ansys-dpf-core.zip\n          decompress-artifact: true\n\n  examples:\n    if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft\n    uses: ./.github/workflows/examples.yml\n    needs: pick_server_suffix\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}\n      python_versions: '[\"3.9\"]'\n      standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}\n    secrets: inherit\n\n  retro_242:\n    name: \"retro 242\"\n    if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft\n    uses: ./.github/workflows/tests.yml\n    with:\n      ANSYS_VERSION: \"242\"\n      python_versions: '[\"3.9\"]'\n      DOCSTRING: false\n      standalone_suffix: ''\n    secrets: inherit\n\n  retro_241:\n    name: \"retro 241\"\n    if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft\n    uses: ./.github/workflows/tests.yml\n    with:\n      ANSYS_VERSION: \"241\"\n      python_versions: '[\"3.9\"]'\n      DOCSTRING: false\n      standalone_suffix: '.sp01'\n    secrets: inherit\n\n  retro_232:\n    name: \"retro 232\"\n    if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft\n    uses: ./.github/workflows/tests.yml\n    with:\n      ANSYS_VERSION: \"232\"\n      python_versions: '[\"3.9\"]'\n      DOCSTRING: false\n      standalone_suffix: ''\n    secrets: inherit\n\n  retro_231:\n    name: \"retro 231\"\n    if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft\n    uses: ./.github/workflows/tests.yml\n    with:\n      ANSYS_VERSION: \"231\"\n      python_versions: '[\"3.9\"]'\n      DOCSTRING: false\n    secrets: inherit\n\n  retro_222:\n    name: \"retro 222\"\n    if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft\n    uses: ./.github/workflows/tests.yml\n    with:\n      ANSYS_VERSION: \"222\"\n      python_versions: '[\"3.9\"]'\n      DOCSTRING: false\n    secrets: inherit\n\n  pydpf-post:\n    name: \"PyDPF-Post\"\n    if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft\n    uses: ./.github/workflows/pydpf-post.yml\n    needs: pick_server_suffix\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '251' }}\n      post_branch: \"master\"\n      standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}\n      test_docstrings: \"true\"\n    secrets: inherit\n", "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:16.546406", "created_at": "2022-07-28T17:08:31+02:00", "updated_at": "2022-07-28T17:08:31+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/label.yml", "contents": "name: \"Pull Request Labeler\"\non:\n  pull_request:\n    types: [unlabeled]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  labeler:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n\n    # Label based on modified files\n    - name: Label based on changed files\n      uses: actions/labeler@v4\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        sync-labels: ''\n\n    # Label based on branch name\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'doc') || \n        startsWith(github.event.pull_request.head.ref, 'docs')\n      with:\n        labels: documentation\n\n    # Label based on branch name\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'example') || \n        startsWith(github.event.pull_request.head.ref, 'examples')\n      with:\n        labels: examples\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'docker') ||\n        startsWith(github.event.pull_request.head.ref, 'no-ci') ||\n        startsWith(github.event.pull_request.head.ref, 'ci')\n      with:\n        labels: CI/CD\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: startsWith(github.event.pull_request.head.ref, 'maint')\n      with:\n        labels: maintenance\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: startsWith(github.event.pull_request.head.ref, 'feat')\n      with:\n        labels: |\n          enhancement\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'fix') ||\n        startsWith(github.event.pull_request.head.ref, 'patch')\n      with:\n        labels: bug\n\n  commenter:\n    runs-on: ubuntu-latest\n    needs: labeler\n    steps:\n    - name: Suggest to add labels\n      uses: peter-evans/create-or-update-comment@v2\n      # Execute only when no labels have been applied to the pull request\n      if: toJSON(github.event.pull_request.labels.*.name) == '[]'\n      with:\n        issue-number: ${{ github.event.pull_request.number }}\n        body: |\n          Please add one of the following labels to add this contribution to the Release Notes :point_down:\n          - [bug](https://github.com/ansys/pydpf-core/pulls?q=label%3Abug+)\n          - [enhancement](https://github.com/ansys/pydpf-core/pulls?q=label%3Aenhancement+)\n          - [documentation](https://github.com/ansys/pydpf-core/pulls?q=label%3Adocumentation+)\n          - [examples](https://github.com/ansys/pydpf-core/pulls?q=label%3Aexamples+)\n          - [maintenance](https://github.com/ansys/pydpf-core/pulls?q=label%3Amaintenance+)\n          - [CI/CD](https://github.com/ansys/pydpf-core/pulls?q=label%3Aci%2Fcd+)", "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:17.775095", "created_at": "2022-08-09T14:38:43+02:00", "updated_at": "2022-08-09T14:38:43+02:00", "name": "PyDPF-Post testing", "path": ".github/workflows/pydpf-post.yml", "contents": "name: PyDPF-Post testing\n\non:\n# Can be called by the CI\n  workflow_call:\n    inputs:\n      post_branch:\n        default: ''\n        type: string\n      ANSYS_VERSION:\n        required: false\n        type: string\n        default: \"251\"\n      standalone_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n      test_docstrings:\n        description: \"whether to run doctest\"\n        required: false\n        type: string\n        default: \"false\"\n# Can be called manually\n  workflow_dispatch:\n    inputs:\n      post_branch:\n        description: 'PyDPF-Post branch or tag to test. Leave empty to get latest tagged version'\n        default: ''\n        type: string\n      ANSYS_VERSION:\n        description: \"ANSYS version\"\n        required: true\n        type: string\n        default: \"251\"\n      standalone_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n      test_docstrings:\n        description: \"whether to run doctest\"\n        required: false\n        type: string\n        default: \"false\"\n\nenv:\n  PACKAGE_NAME: ansys-dpf-core\n  MODULE: core\n\njobs:\n  Clone_and_Test:\n    name: Clone and Test\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"windows-latest\", \"ubuntu-latest\"]\n        python-version: [\"3.9\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: \"Set licensing if necessary\"\n        if: inputs.ANSYS_VERSION > 231\n        shell: bash\n        run: |\n          echo \"ANSYS_DPF_ACCEPT_LA=Y\" >> $GITHUB_ENV\n          echo \"ANSYSLMD_LICENSE_FILE=1055@${{ secrets.LICENSE_SERVER }}\" >> $GITHUB_ENV\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: \"Install ansys-dpf-core build requirements\"\n        run: pip install -r requirements/requirements_build.txt\n\n      - name: \"Build ansys-dpf-core wheel\"\n        shell: bash\n        run: |\n          if [ ${{ matrix.os }} == \"ubuntu-latest\" ]; then\n              export platform=\"manylinux_2_17\"\n          else\n              export platform=\"win\"\n          fi\n          python .ci/build_wheel.py -p $platform -w\n\n      - name: \"Expose ansys-dpf-core wheel\"\n        shell: bash\n        id: wheel\n        working-directory: dist\n        run: |\n          export name=`ls ansys_dpf_core*.whl`\n          echo ${name}\n          echo \"wheel_name=${name[0]}\" >> $GITHUB_OUTPUT\n\n      - name: \"Install ansys-dpf-core wheel\"\n        shell: bash\n        run: |\n          pip install dist/${{ steps.wheel.outputs.wheel_name }}[plotting]\n\n      - name: \"Install DPF\"\n        id: set-server-path\n        uses: ansys/pydpf-actions/install-dpf-server@v2.3\n        with:\n          dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}\n          standalone_suffix: ${{ inputs.standalone_suffix }}\n          ANSYS_VERSION : ${{inputs.ANSYS_VERSION}}\n\n      - name: \"Check licences of packages\"\n        uses: ansys/pydpf-actions/check-licenses@v2.3\n\n      - name: \"Test import\"\n        shell: bash\n        working-directory: tests\n        run: python -c \"from ansys.dpf import core\"\n\n      - name: \"Clone PyDPF-Post\"\n        shell: bash\n        run: |\n          REPO=\"https://github.com/ansys/pydpf-post.git\"\n          BranchName=${{ inputs.post_branch }}\n          echo branch=\"$BranchName\"\n          if [ \"$BranchName\" = '' ];\n          then\n              BranchName=$(git ls-remote --tags --refs $REPO | tail -n1 | cut -d/ -f3)\n          fi\n          echo branch=$BranchName\n          git clone --single-branch --branch \"$BranchName\" $REPO\n\n      - name: \"Install PyDPF-Post\"\n        shell: bash\n        run: |\n          cd pydpf-post\n          pip install .\n          ls\n\n      - name: \"Prepare Testing Environment\"\n        uses: ansys/pydpf-actions/prepare_tests@v2.3\n        with:\n          DEBUG: true\n          working-directory: pydpf-post\n\n      - name: \"List installed packages\"\n        shell: bash\n        run: pip list\n\n      - name: \"Test Docstrings\"\n        uses: ansys/pydpf-actions/test_docstrings@v2.3\n        with:\n          MODULE: post\n          PACKAGE_NAME: ansys-dpf-post\n          working-directory: pydpf-post/src\n        if: inputs.test_docstrings == 'true'\n        timeout-minutes: 10\n\n      - name: \"Test API\"\n        shell: bash\n        working-directory: pydpf-post/tests\n        run: |\n          pytest $DEBUG --reruns 2 .\n        if: always()\n        timeout-minutes: 20\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n", "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:19.001977", "created_at": "2022-08-17T12:14:16+02:00", "updated_at": "2022-12-02T14:26:38+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n# Can be called by the CI\n  workflow_call:\n    inputs:\n      python_versions:\n        required: false\n        type: string\n        default: '[\"3.9\"]'\n      ANSYS_VERSION:\n        required: false\n        type: string\n        default: \"251\"\n      wheel:\n        required: false\n        type: string\n        default: false\n      wheelhouse:\n        required: false\n        type: string\n        default: false\n      DOCSTRING:\n        required: false\n        type: string\n        default: true\n      standalone_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n      test_any:\n        description: \"Test the any version of the wheel\"\n        required: false\n        type: string\n        default: false\n# Can be called manually\n  workflow_dispatch:\n    inputs:\n      python_versions:\n        description: \"Python interpreters to test.\"\n        required: true\n        type: string\n        default: '[\"3.9\", \"3.10\", \"3.11\"]'\n      ANSYS_VERSION:\n        description: \"ANSYS version\"\n        required: true\n        type: string\n        default: \"251\"\n      wheel:\n        description: \"Generate a wheel\"\n        required: false\n        type: string\n        default: 'false'\n      wheelhouse:\n        description: \"Generate a wheelhouse\"\n        required: false\n        type: string\n        default: 'false'\n      DOCSTRING:\n        description: \"Whether to test docstrings\"\n        required: false\n        type: string\n        default: 'true'\n      standalone_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n      test_any:\n        description: \"Test the any version of the wheel\"\n        required: false\n        type: string\n        default: 'false'\n\nenv:\n  PACKAGE_NAME: ansys-dpf-core\n  MODULE: core\n\njobs:\n  setup:\n    name: \"Setup\"\n    runs-on: ubuntu-latest\n    outputs:\n      python_versions: ${{ steps.set_array.outputs.python_versions }}\n    steps:\n      - id: set_array\n        run: |\n          echo \"python_versions=${{ toJSON(inputs.python_versions) }}\" >> $GITHUB_OUTPUT\n\n  tests:\n    name: \"Tests\"\n    needs: setup\n    timeout-minutes: 35\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ${{ fromJSON(needs.setup.outputs.python_versions) }}\n        os: [\"windows-latest\", \"ubuntu-latest\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: \"Set licensing if necessary\"\n        if: inputs.ANSYS_VERSION > 231\n        shell: bash\n        run: |\n          echo \"ANSYS_DPF_ACCEPT_LA=Y\" >> $GITHUB_ENV\n          echo \"ANSYSLMD_LICENSE_FILE=1055@${{ secrets.LICENSE_SERVER }}\" >> $GITHUB_ENV      \n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: \"Install requirements\"\n        run: pip install -r requirements/requirements_build.txt\n\n      - name: \"Build the wheel\"\n        shell: bash\n        run: |\n          if [ ${{ inputs.test_any }} == 'true' ]; then\n              export platform=\"any\" \n          elif [ ${{ matrix.os }} == \"ubuntu-latest\" ]; then\n              export platform=\"manylinux_2_17\"\n          else\n              export platform=\"win\"\n          fi\n          python .ci/build_wheel.py -p $platform -w\n\n      - name: \"Expose the wheel\"\n        shell: bash\n        id: wheel\n        working-directory: dist\n        run: |\n          export name=`ls ansys_dpf_core*.whl`\n          echo ${name}\n          echo \"wheel_name=${name[0]}\" >> $GITHUB_OUTPUT\n\n      - name: \"Upload wheel to artifacts\"\n        if: inputs.wheel == 'true'\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ steps.wheel.outputs.wheel_name }}\n          path: dist/${{ steps.wheel.outputs.wheel_name }}\n\n      - name: \"Define wheelhouse name\"\n        if: inputs.wheelhouse == 'true'\n        shell: bash\n        id: wheelhouse\n        run: |\n          export wheel_name=${{ steps.wheel.outputs.wheel_name }}\n          export IFS='-'\n          read -a strarr <<< $wheel_name\n          export version=\"${strarr[1]}\"\n          echo $version\n          export name=ansys-dpf-core-v${version}-wheelhouse-${{ runner.os }}-${{ matrix.python-version }}.zip\n          echo \"name=${name}\" >> \"$GITHUB_OUTPUT\"\n\n      - name: \"Zip wheelhouse\"\n        if: inputs.wheelhouse == 'true'\n        uses: vimtor/action-zip@v1.1\n        with:\n          files: dist\n          dest: ${{ steps.wheelhouse.outputs.name }}\n\n      - name: \"Upload wheelhouse to artifacts\"\n        if: inputs.wheelhouse == 'true'\n        uses: actions/upload-artifact@v3.1.2\n        with:\n          name: ${{ steps.wheelhouse.outputs.name }}\n          path: ${{ steps.wheelhouse.outputs.name }}\n          retention-days: 7\n\n      - name: \"Install package wheel\"\n        shell: bash\n        run: |\n          pip install dist/${{ steps.wheel.outputs.wheel_name }}[plotting]\n\n      - name: \"Install DPF\"\n        id: set-server-path\n        uses: ansys/pydpf-actions/install-dpf-server@v2.3\n        with:\n          dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}\n          standalone_suffix: ${{ inputs.standalone_suffix }}\n          ANSYS_VERSION : ${{inputs.ANSYS_VERSION}}\n\n      - name: \"Check licences of packages\"\n        uses: ansys/pydpf-actions/check-licenses@v2.3\n\n      - name: \"Test import\"\n        shell: bash\n        working-directory: tests\n        run: python -c \"from ansys.dpf import core\"\n\n      - name: \"Prepare Testing Environment\"\n        uses: ansys/pydpf-actions/prepare_tests@v2.3\n        with:\n          DEBUG: true\n\n      - name: \"List installed packages\"\n        shell: bash\n        run: pip list\n\n      - name: \"Test Docstrings\"\n        if: inputs.DOCSTRING == 'true'\n        uses: ansys/pydpf-actions/test_docstrings@v2.3\n        with:\n          MODULE: ${{env.MODULE}}\n          PACKAGE_NAME: ${{env.PACKAGE_NAME}}\n          working-directory: src\n\n      - name: \"Separate long Core tests\"\n        shell: pwsh\n        run: |\n          .github\\workflows\\scripts\\separate_long_core_tests.ps1\n        if: always()\n\n      - name: \"Set pytest arguments\"\n        shell: bash\n        run: |\n          echo \"COVERAGE=--cov=ansys.dpf.${{env.MODULE}} --cov-report=xml --cov-report=html --log-level=ERROR --cov-append\" >> $GITHUB_ENV\n          echo \"RERUNS=--reruns 2 --reruns-delay 1\" >> $GITHUB_ENV\n\n      - name: \"Test API\"\n        shell: bash\n        working-directory: tests\n        run: |\n          pytest $DEBUG $COVERAGE $RERUNS --junitxml=junit/test-results.xml  .\n        if: always()\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n        if: always()\n\n      - name: \"Test API test_launcher\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 2\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results2.xml test_launcher/.\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n        if: always()\n\n      - name: \"Test API test_server\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 5\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results3.xml test_server/.\n        if: always()\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n        if: always()\n\n      - name: \"Test API test_local_server\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 2\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results4.xml test_local_server/.\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n        if: always()\n\n      - name: \"Test API test_multi_server\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 5\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results5.xml test_multi_server/.\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n        if: always()\n\n      - name: \"Test API test_remote_workflow\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 4\n          max_attempts: 3\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results6.xml test_remote_workflow/.\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n        if: always()\n\n      - name: \"Test API test_remote_operator\"\n        shell: bash\n        working-directory: test_remote_operator\n        run: |\n          pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results7.xml .\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n        if: always()\n\n      - name: \"Test API test_workflow\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 3\n          max_attempts: 4\n          retry_wait_seconds: 15\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results8.xml test_workflow/.\n        if: always()\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n        if: always()\n\n      - name: \"Test API test_service\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 2\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results9.xml test_service/.\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.2\n        if: always()\n\n      - name: \"Test API Entry\"\n        shell: bash\n        working-directory: tests\n        run: |\n          cd entry\n          pytest $DEBUG $COVERAGE $RERUNS --junitxml=../junit/test-results10.xml  .\n        if: always()\n        timeout-minutes: 30\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.2\n        if: always()\n\n      - name: \"Test API test_custom_type_field\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 2\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results11.xml test_custom_type_field/.\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.2\n        if: always()\n\n      - name: \"Upload Test Results\"\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_pytest_${{ inputs.ANSYS_VERSION }}\n          path: tests/junit/test-results.xml\n        if: always()\n\n      - name: \"Upload coverage to Codecov\"\n        uses: codecov/codecov-action@v3\n", "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:20.139999", "created_at": "2022-08-30T18:28:01+02:00", "updated_at": "2022-08-30T18:28:01+02:00", "name": "Release", "path": ".github/workflows/releaser.yml", "contents": "name: Release\n\non:\n  release:\n    types: [published]\n# Can be called manually\n  workflow_dispatch:\n    inputs:\n      release_tag:\n        description: 'Release tag'\n        default: 'latest'\n        type: string\n      checkout_ref:\n        description: 'Ref to checkout for doc index (default to current branch)'\n        default: ''\n        type: string\n\nenv:\n  DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com'\n  MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }}\n  MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}\n\njobs:\n\n  get_latest_tag:\n    name: \"Get latest release version tag\"\n    runs-on: ubuntu-latest\n    outputs:\n      version: ${{ steps.step1.outputs.version }}\n    steps:\n      - id: step1\n        name: \"Get version tag\"\n        shell: bash\n        run: |\n          get_latest_release() {\n            curl --silent \"https://api.github.com/repos/$1/releases/latest\" |\n              grep '\"tag_name\":' |\n              sed -E 's/.*\"([^\"]+)\".*/\\1/'\n          }\n          version=$(get_latest_release \"ansys/pydpf-core\")\n          echo $version\n          echo \"version=$version\" >> \"$GITHUB_OUTPUT\"\n\n  Publish_to_PyPI:\n    name: \"Publish Release to PyPI\"\n    runs-on: ubuntu-latest\n    needs: get_latest_tag\n    steps:\n      - name: \"Download Release Assets\"\n        uses: robinraju/release-downloader@v1.9\n        with:\n          tag: ${{ github.event.inputs.release_tag || needs.get_latest_tag.outputs.version }}\n          fileName: \"*.whl\"\n          tarBall: false\n          zipBall: false\n          out-file-path: \"assets\"\n          extract: false\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: \"Upload to Public PyPI\"\n        run: |\n          pip install twine\n          twine upload --skip-existing assets/*\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n\n  upload_docs_release:\n    name: \"Upload stable documentation\"\n    needs: [Publish_to_PyPI, get_latest_tag]\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Download Release Asset - HTML\"\n        uses: dsaltares/fetch-gh-release-asset@1.1.0\n        with:\n          file: HTML-doc-ansys-dpf-core.zip\n          token: ${{ secrets.GITHUB_TOKEN }}\n          version: ${{ github.event.inputs.release_tag && format('tags/{0}', github.event.inputs.release_tag) || format('tags/{0}', needs.get_latest_tag.outputs.version) }}\n\n      - name: \"List downloaded assets\"\n        shell: bash\n        run: |\n          ls\n\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@v4\n        with:\n          name: HTML-doc-ansys-dpf-core.zip\n          path: HTML-doc-ansys-dpf-core.zip\n\n      - name: \"Deploy the stable documentation\"\n        uses: ansys/actions/doc-deploy-stable@v5\n        with:\n          cname: ${{ env.DOCUMENTATION_CNAME }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          doc-artifact-name: HTML-doc-ansys-dpf-core.zip\n          decompress-artifact: true\n\n  doc-index-stable:\n    name: \"Deploy stable docs index\"\n    runs-on: ubuntu-latest\n    needs: upload_docs_release\n    steps:\n      - name: \"Install Git and clone project\"\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.checkout_ref || '' }}\n\n      - name: \"Install the package requirements\"\n        run: |\n          python3 -m venv .venv\n          .venv/bin/python -m pip install -e .\n\n      - name: \"Get the version to PyMeilisearch\"\n        run: |\n          VERSION=$(.venv/bin/python -c \"from ansys.dpf.core import __version__; print('.'.join(__version__.split('.')[:2]))\")\n          VERSION_MEILI=$(.venv/bin/python -c \"from ansys.dpf.core import __version__; print('-'.join(__version__.split('.')[:2]))\")\n          echo \"Calculated VERSION: $VERSION\"\n          echo \"Calculated VERSION_MEILI: $VERSION_MEILI\"\n          echo \"VERSION=$VERSION\" >> $GITHUB_ENV\n          echo \"VERSION_MEILI=$VERSION_MEILI\" >> $GITHUB_ENV\n\n      - name: \"Deploy the latest documentation index\"\n        uses: ansys/actions/doc-deploy-index@v5\n        with:\n          cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }}\n          index-name: pydpf-core-v${{ env.VERSION_MEILI }}\n          host-url: ${{ vars.MEILISEARCH_HOST_URL }}\n          api-key: ${{ env.MEILISEARCH_API_KEY }}\n          doc-artifact-name: HTML-doc-ansys-dpf-core.zip\n          decompress-artifact: true\n\n  update_ansys_lab_examples:\n    uses: ./.github/workflows/ansys_lab.yml\n    needs: get_latest_tag\n    with:\n      version: ${{ github.event.inputs.release_tag || needs.get_latest_tag.outputs.version }}\n    secrets: inherit\n", "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:21.331857", "created_at": "2022-10-27T15:43:37+02:00", "updated_at": "2023-10-12T15:28:54+02:00", "name": "CI Release", "path": ".github/workflows/ci_release.yml", "contents": "name: CI Release\n\non:\n  push:\n    tags:\n      - \"v*\"\n  schedule:\n    - cron: \"0 13 * * 0\"\n  workflow_dispatch:\n    inputs:\n      ansys_version:\n        description: \"Ansys version of the standalone.\"\n        required: false\n        default: '242'\n      standalone_branch_suffix:\n        description: 'Suffix of the branch on standalone'\n        required: false\n        default: '.pre1'\n\n#┌───────────── minute (0 - 59)\n#│ ┌───────────── hour (0 - 23)\n#│ │ ┌───────────── day of the month (1 - 31)\n#│ │ │ ┌───────────── month (1 - 12)\n#│ │ │ │ ┌───────────── day of the week (0 - 6), 0 being Sunday\n#│ │ │ │ │\n#│ │ │ │ │\n#│ │ │ │ │\n#* * * * *\n\nenv:\n  DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com'\n  MAIN_PYTHON_VERSION: '3.9'\n\njobs:\n  debug:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Show the Github context for the triggered event\n      run: echo \"$GITHUB_CONTEXT\"\n      env:\n        GITHUB_CONTEXT: ${{ toJson(github) }}\n\n  style:\n    name: \"Style Check\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: ansys/actions/code-style@v6\n        with:\n          use-python-cache: false\n\n  build_linux1:\n    name: \"Build linux1 wheel\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: \"Install requirements\"\n        run: pip install -r requirements/requirements_build.txt\n\n      - name: \"Build the manylinux1 wheel\"\n        shell: bash\n        id: wheel\n        run: |\n          python .ci/build_wheel.py -p manylinux1\n          cd dist\n          export name=`ls ansys_dpf_core*.whl`\n          echo ${name}\n          echo \"wheel_name=${name[0]}\" >> $GITHUB_OUTPUT\n          cd ..\n\n      - name: \"Upload wheel any as artifact\"\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ steps.wheel.outputs.wheel_name }}\n          path: dist/${{ steps.wheel.outputs.wheel_name }}\n\n  tests:\n    uses: ./.github/workflows/tests.yml\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}\n      python_versions: '[\"3.9\", \"3.10\", \"3.11\"]'\n      wheel: true\n      wheelhouse: true\n      standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre1' }}\n    secrets: inherit\n\n  tests_any:\n    uses: ./.github/workflows/tests.yml\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}\n      python_versions: '[\"3.9\", \"3.10\", \"3.11\"]'\n      wheel: true\n      wheelhouse: false\n      standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre1' }}\n      test_any: true\n    secrets: inherit\n\n  docs:\n    uses: ./.github/workflows/docs.yml\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}\n      standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre1' }}\n      event_name: ${{ github.event_name }}\n    secrets: inherit\n\n  examples:\n    uses: ./.github/workflows/examples.yml\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}\n      python_versions: '[\"3.9\", \"3.10\", \"3.11\"]'\n      standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre1' }}\n    secrets: inherit\n\n  retro_241:\n    name: \"retro 241\"\n    uses: ./.github/workflows/tests.yml\n    with:\n      ANSYS_VERSION: \"241\"\n      python_versions: '[\"3.9\"]'\n      standalone_suffix: '.sp01'\n      DOCSTRING: false\n    secrets: inherit\n\n  retro_232:\n    name: \"retro 232\"\n    uses: ./.github/workflows/tests.yml\n    with:\n      ANSYS_VERSION: \"232\"\n      python_versions: '[\"3.9\"]'\n      DOCSTRING: false\n    secrets: inherit\n\n  retro_231:\n    name: \"retro 231\"\n    uses: ./.github/workflows/tests.yml\n    with:\n      ANSYS_VERSION: \"231\"\n      python_versions: '[\"3.9\"]'\n      DOCSTRING: false\n    secrets: inherit\n\n  retro_222:\n    name: \"retro 222\"\n    uses: ./.github/workflows/tests.yml\n    with:\n      ANSYS_VERSION: \"222\"\n      python_versions: '[\"3.9\"]'\n      DOCSTRING: false\n    secrets: inherit\n\n  pydpf-post_242:\n    name: \"PyDPF-Post with 242\"\n    uses: ./.github/workflows/pydpf-post.yml\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}\n      standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre1' }}\n      test_docstrings: \"true\"\n    secrets: inherit\n\n  pydpf-post_241:\n    name: \"PyDPF-Post with 241\"\n    uses: ./.github/workflows/pydpf-post.yml\n    with:\n      ANSYS_VERSION: \"241\"\n    secrets: inherit\n\n  pydpf-post_232:\n    name: \"PyDPF-Post with 232\"\n    uses: ./.github/workflows/pydpf-post.yml\n    with:\n      ANSYS_VERSION: \"232\"\n    secrets: inherit\n\n  pydpf-post_231:\n    name: \"PyDPF-Post with 231\"\n    uses: ./.github/workflows/pydpf-post.yml\n    with:\n      ANSYS_VERSION: \"231\"\n    secrets: inherit\n\n  pydpf-post_222:\n    name: \"PyDPF-Post with 222\"\n    uses: ./.github/workflows/pydpf-post.yml\n    with:\n      ANSYS_VERSION: \"222\"\n    secrets: inherit\n\n  docker_tests:\n    name: \"Build and Test on Docker\"\n    uses: ./.github/workflows/test_docker.yml\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}\n      standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre1' }}\n    secrets: inherit\n\n  docker_examples:\n    name: \"Run examples on Docker\"\n    uses: ./.github/workflows/examples_docker.yml\n    with:\n      ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '242' }}\n      python_versions: '[\"3.9\", \"3.10\", \"3.11\"]'\n      standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre1' }}\n    secrets: inherit\n\n  draft_release:\n    name: \"Draft Release\"\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')\n    needs: [style, tests, docs, examples, retro_232, retro_231, retro_222, docker_tests]\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Download artifacts\"\n        uses: actions/download-artifact@v3\n\n      - name: \"Display downloaded files\"\n        run: ls -R\n\n      - name: \"Create draft release\"\n        uses: softprops/action-gh-release@v1\n        with:\n          files: |\n            ./**/*.whl\n            ./**/*.zip\n          draft: true\n          generate_release_notes: true\n", "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:22.483969", "created_at": "2022-10-27T15:43:37+02:00", "updated_at": "2024-01-15T11:27:59+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n# Can be called by the CI\n  workflow_call:\n    inputs:\n      python_version:\n        required: false\n        type: string\n        default: \"3.9\"\n      ANSYS_VERSION:\n        required: false\n        type: string\n        default: \"251\"\n      standalone_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n      event_name:\n        description: \"Name of event calling\"\n        required: true\n        type: string\n        default: ''\n# Can be called manually\n  workflow_dispatch:\n    inputs:\n      python_version:\n        description: \"Python interpreter\"\n        required: true\n        type: string\n        default: \"3.9\"\n      ANSYS_VERSION:\n        description: \"ANSYS version\"\n        required: true\n        type: string\n        default: \"251\"\n      standalone_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n\nenv:\n  PACKAGE_NAME: ansys-dpf-core\n  MODULE: core\n  VTK_OSMESA_VERSION: \"9.2.20230527.dev0\"\njobs:\n  doc-style:\n    name: \"Check doc style\"\n    runs-on: ubuntu-latest\n    steps:\n        - name: \"Running documentation style checks\"\n          uses: ansys/actions/doc-style@v5.0\n          with:\n            token: ${{ secrets.GITHUB_TOKEN }}\n\n  docs:\n    name: \"Documentation\"\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: \"Set licensing if necessary\"\n        if: inputs.ANSYS_VERSION > 231\n        shell: bash\n        run: |\n          echo \"ANSYS_DPF_ACCEPT_LA=Y\" >> $GITHUB_ENV\n          echo \"ANSYSLMD_LICENSE_FILE=1055@${{ secrets.LICENSE_SERVER }}\" >> $GITHUB_ENV\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.python_version }}\n\n      - name: \"Install requirements\"\n        run: pip install -r requirements/requirements_build.txt\n\n      - name: \"Build the wheel\"\n        shell: bash\n        run: |\n          if [ ${{ matrix.os }} == \"ubuntu-latest\" ]; then\n              export platform=\"manylinux_2_17\"\n          else\n              export platform=\"win\"\n          fi\n          python .ci/build_wheel.py -p $platform -w\n\n      - name: \"Expose the wheel\"\n        shell: bash\n        id: wheel\n        working-directory: dist\n        run: |\n          export name=`ls ansys_dpf_core*.whl`\n          echo ${name}\n          echo \"wheel_name=${name[0]}\" >> $GITHUB_OUTPUT\n\n      - name: \"Install package wheel\"\n        shell: bash\n        run: |\n          pip install dist/${{ steps.wheel.outputs.wheel_name }}[plotting]\n\n      - name: \"Install DPF\"\n        id: set-server-path\n        uses: ansys/pydpf-actions/install-dpf-server@v2.3\n        with:\n          dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}\n          standalone_suffix: ${{ inputs.standalone_suffix }}\n          ANSYS_VERSION : ${{inputs.ANSYS_VERSION}}\n\n      - name: \"Check licences of packages\"\n        uses: ansys/pydpf-actions/check-licenses@v2.3\n\n      - name: \"Test import\"\n        shell: bash\n        working-directory: tests\n        run: python -c \"from ansys.dpf import core\"\n\n      - name: \"Setup headless display\"\n        uses: pyvista/setup-headless-display-action@v2\n\n      - name: \"Setup Graphviz\"\n        uses: ts-graphviz/setup-graphviz@v1\n\n      - name: \"Install OS packages\"\n        run: |\n          choco install pandoc\n\n      - name: \"Install documentation packages for Python\"\n        run: |\n          pip install -r requirements/requirements_docs.txt\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n\n      - name: \"Ensure VTK compatibility\"\n        run: |\n          python -m pip uninstall --yes vtk\n          python -m pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==${{ env.VTK_OSMESA_VERSION }}\n\n      - name: \"List installed packages\"\n        shell: bash\n        run: pip list\n\n      - name: \"Build HTML Documentation\"\n        shell: cmd /D /E:ON /V:OFF /C \"CALL \"{0}\"\"\n        working-directory: .ci\n        run: |\n          build_doc.bat > ..\\doc\\log.txt && type ..\\doc\\log.txt 2>&1\n        timeout-minutes: 60\n        env:\n          MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}\n\n      - name: \"Check for success\"\n        shell: bash\n        working-directory: doc\n        run: |\n          case `grep -F \"build succeeded\" log.txt >/dev/null; echo $?` in\n          0)\n            echo \"Build succeeded!\"\n            exit 0;;\n          1)\n            echo \"Documentation generation failed, please check previous step!\"\n            exit 1;;\n          *)\n            echo \"An error occurred while checking success of the previous step!\"\n            exit 1;;\n          esac\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n        if: always()\n\n      - name: \"Retrieve package version\"\n        shell: bash\n        run: |\n          echo \"VERSION=$(python -c \"from ansys.dpf.${{env.MODULE}} import __version__; print(__version__)\")\" >> GITHUB_OUTPUT\n          echo \"${{env.PACKAGE_NAME}} version is: $(python -c \"from ansys.dpf.${{env.MODULE}} import __version__; print(__version__)\")\"\n        id: version\n        if: always()\n\n      - name: \"Upload Documentation Build log\"\n        uses: actions/upload-artifact@v3\n        with:\n          name: doc-${{env.PACKAGE_NAME}}-log\n          path: doc/*.txt\n        if: always()\n\n      - name: \"Zip HTML Documentation\"\n        shell: pwsh\n        run: |\n          Compress-Archive -Path doc/build/html/* -Destination HTML-doc-${{env.PACKAGE_NAME}}.zip\n        if: always()\n\n      - name: \"Upload HTML Documentation\"\n        uses: actions/upload-artifact@v3\n        with:\n          name: HTML-doc-${{env.PACKAGE_NAME}}.zip\n          path: HTML-doc-${{env.PACKAGE_NAME}}.zip\n        if: always()\n", "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:23.714412", "created_at": "2022-10-27T15:43:37+02:00", "updated_at": "2022-10-27T15:43:37+02:00", "name": "examples", "path": ".github/workflows/examples.yml", "contents": "name: examples\n\non:\n# Can be called by the CI\n  workflow_call:\n    inputs:\n      python_versions:\n        required: false\n        type: string\n        default: '[\"3.9\"]'\n      ANSYS_VERSION:\n        required: false\n        type: string\n        default: \"251\"\n      standalone_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n# Can be called manually\n  workflow_dispatch:\n    inputs:\n      python_versions:\n        description: \"Python interpreters to test.\"\n        required: true\n        type: string\n        default: '[\"3.9\"]'\n      ANSYS_VERSION:\n        description: \"ANSYS version to run.\"\n        required: true\n        type: string\n        default: \"251\"\n      standalone_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n\nenv:\n  PACKAGE_NAME: ansys-dpf-core\n  MODULE: core\n\njobs:\n  setup:\n    name: \"Setup\"\n    runs-on: ubuntu-latest\n    outputs:\n      python_versions: ${{ steps.set_array.outputs.python_versions }}\n    steps:\n      - id: set_array\n        run: |\n          echo \"python_versions=${{ toJSON(inputs.python_versions) }}\" >> $GITHUB_OUTPUT\n\n  examples:\n    name: \"Run Examples\"\n    needs: setup\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ${{ fromJSON(needs.setup.outputs.python_versions) }}\n        os: [\"windows-latest\", \"ubuntu-latest\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: \"Set licensing if necessary\"\n        if: inputs.ANSYS_VERSION > 231\n        shell: bash\n        run: |\n          echo \"ANSYS_DPF_ACCEPT_LA=Y\" >> $GITHUB_ENV\n          echo \"ANSYSLMD_LICENSE_FILE=1055@${{ secrets.LICENSE_SERVER }}\" >> $GITHUB_ENV\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: \"Install requirements\"\n        run: pip install -r requirements/requirements_build.txt\n\n      - name: \"Build the wheel\"\n        shell: bash\n        run: |\n          if [ ${{ matrix.os }} == \"ubuntu-latest\" ]; then\n              export platform=\"manylinux_2_17\"\n          else\n              export platform=\"win\"\n          fi\n          python .ci/build_wheel.py -p $platform -w\n\n      - name: \"Expose the wheel\"\n        shell: bash\n        id: wheel\n        working-directory: dist\n        run: |\n          export name=`ls ansys_dpf_core*.whl`\n          echo ${name}\n          echo \"wheel_name=${name[0]}\" >> $GITHUB_OUTPUT\n\n      - name: \"Install package wheel\"\n        shell: bash\n        run: |\n          pip install dist/${{ steps.wheel.outputs.wheel_name }}[plotting]\n\n      - name: \"Install DPF\"\n        id: set-server-path\n        uses: ansys/pydpf-actions/install-dpf-server@v2.3\n        with:\n          dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}\n          standalone_suffix: ${{ inputs.standalone_suffix }}\n          ANSYS_VERSION : ${{inputs.ANSYS_VERSION}}\n\n      - name: \"Check licences of packages\"\n        uses: ansys/pydpf-actions/check-licenses@v2.3\n\n      - name: \"Test import\"\n        shell: bash\n        working-directory: tests\n        run: python -c \"from ansys.dpf import core\"\n\n      - name: \"Prepare Testing Environment\"\n        uses: ansys/pydpf-actions/prepare_tests@v2.3\n        with:\n          DEBUG: true\n\n      - name: \"List installed packages\"\n        shell: bash\n        run: pip list\n\n      - name: \"Run examples\"\n        shell: bash\n        working-directory: .ci\n        run: |\n          echo on\n          python run_examples.py\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n        if: always()\n", "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:24.941514", "created_at": "2022-10-27T15:43:37+02:00", "updated_at": "2022-11-24T19:00:04+01:00", "name": "test_docker", "path": ".github/workflows/test_docker.yml", "contents": "name: test_docker\n\non:\n# Can be called by the CI\n  workflow_call:\n    inputs:\n      standalone_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n      ANSYS_VERSION:\n        required: false\n        type: string\n        default: \"251\"\n# Can be called manually\n  workflow_dispatch:\n    inputs:\n      standalone_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n      ANSYS_VERSION:\n        description: \"ANSYS version to run.\"\n        required: true\n        type: string\n        default: \"251\"\n\nenv:\n  PACKAGE_NAME: ansys-dpf-core\n  MODULE: core\n  ANSYS_DPF_ACCEPT_LA: Y\n  ANSYSLMD_LICENSE_FILE: 1055@${{secrets.LICENSE_SERVER}}\n\njobs:\n  docker_tests:\n    name: \"Build and Test On Docker\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\"]\n        os: [\"ubuntu-latest\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: \"Install requirements\"\n        run: pip install -r requirements/requirements_build.txt\n\n      - name: \"Build the wheel\"\n        shell: bash\n        run: |\n          if [ ${{ matrix.os }} == \"ubuntu-latest\" ]; then\n              export platform=\"manylinux_2_17\"\n          else\n              export platform=\"win\"\n          fi\n          python .ci/build_wheel.py -p $platform -w\n\n      - name: \"Expose the wheel\"\n        shell: bash\n        id: wheel\n        working-directory: dist\n        run: |\n          export name=`ls ansys_dpf_core*.whl`\n          echo ${name}\n          echo \"wheel_name=${name[0]}\" >> $GITHUB_OUTPUT\n\n      - name: \"Install package wheel\"\n        shell: bash\n        run: |\n          pip install dist/${{ steps.wheel.outputs.wheel_name }}[plotting]\n\n      - name: \"Install DPF\"\n        id: set-server-path\n        uses: ansys/pydpf-actions/install-dpf-docker@v2.3\n        with:\n          dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}\n          standalone_suffix: ${{ inputs.standalone_suffix }}\n          ANSYS_VERSION : ${{inputs.ANSYS_VERSION}}\n\n      - name: \"Check licences of packages\"\n        uses: ansys/pydpf-actions/check-licenses@v2.3\n\n      - name: \"Test import\"\n        shell: bash\n        working-directory: tests\n        run: python -c \"from ansys.dpf import core\"\n\n      - name: \"Prepare Testing Environment\"\n        uses: ansys/pydpf-actions/prepare_tests@v2.3\n        with:\n          DEBUG: true\n\n      - name: \"List installed packages\"\n        shell: bash\n        run: pip list\n\n      - name: \"Separate long Core tests\"\n        shell: pwsh\n        run: |\n          .github\\workflows\\scripts\\separate_long_core_tests.ps1\n\n      - name: \"Set pytest arguments\"\n        shell: bash\n        run: |\n          echo \"COVERAGE=--cov=ansys.dpf.${{env.MODULE}} --cov-report=xml --cov-report=html --log-level=ERROR --cov-append\" >> $GITHUB_ENV\n          echo \"RERUNS=--reruns 2 --reruns-delay 1\" >> $GITHUB_ENV\n\n      - name: \"Test API\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 10\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results.xml tests/.\n\n      - name: \"Test API test_launcher\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 2\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results2.xml test_launcher/.\n\n      - name: \"Test API test_server\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 5\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results3.xml test_server/.\n\n      - name: \"Test API test_local_server\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 2\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results4.xml test_local_server/.\n\n      - name: \"Test API test_multi_server\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 5\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results5.xml test_multi_server/.\n\n      - name: \"Test API test_remote_workflow\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 2\n          max_attempts: 3\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results6.xml test_remote_workflow/.\n\n      - name: \"Test API test_remote_operator\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 2\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results7.xml test_remote_operator/.\n\n      - name: \"Test API test_workflow\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 3\n          max_attempts: 3\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results8.xml test_workflow/.\n\n      - name: \"Test API test_service\"\n        uses: nick-fields/retry@v2\n        with:\n          timeout_minutes: 3\n          max_attempts: 2\n          shell: bash\n          command: |\n            pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results9.xml test_service/.\n\n#      - name: \"Test API Entry\"\n#        shell: bash\n#        working-directory: tests\n#        run: |\n#          cd entry\n#          pytest $DEBUG $COVERAGE $RERUNS --junitxml=junit/test-results10.xml  .\n#        if: always()\n#        timeout-minutes: 10\n\n      - name: \"Upload Test Results\"\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ env.PACKAGE_NAME }}_${{ matrix.python-version }}_${{ matrix.os }}_pytest_${{ inputs.ANSYS_VERSION }}_docker\n          path: tests/junit/test-results.xml\n        timeout-minutes: 5\n\n      - name: \"Upload coverage to Codecov\"\n        uses: codecov/codecov-action@v3\n", "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:25.964790", "created_at": "2022-12-16T11:38:09+01:00", "updated_at": "2023-08-31T09:50:06+02:00", "name": "Update generated code", "path": ".github/workflows/update_operators.yml", "contents": "name: Update generated code\n\non:\n# Can be called manually or remotely\n  workflow_dispatch:\n    inputs:\n      distinct_id:\n        description: \"ID to give the job when run via dpf-standalone repo\"\n        required: false\n        type: string\n        default: \"\"\n\n      ANSYS_VERSION:\n        description: \"ANSYS version\"\n        required: false\n        type: string\n        default: \"251\"\n      standalone_branch_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n\nenv:\n  PACKAGE_NAME: ansys-dpf-core\n  MODULE: core\n  ANSYSLMD_LICENSE_FILE: 1055@${{ secrets.LICENSE_SERVER }}\n  ANSYS_DPF_ACCEPT_LA: Y\n\njobs:\n  update_generated:\n    name: \"Update Generated Code\"\n    runs-on: windows-latest\n\n    steps:\n      - name: echo distinct ID ${{ github.event.inputs.distinct_id }}\n        run: echo ${{ github.event.inputs.distinct_id }}\n\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: \"Install DPF\"\n        id: set-server-path\n        uses: ansys/pydpf-actions/install-dpf-server@v2.3\n        with:\n          dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}\n          standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '' }}\n          ANSYS_VERSION : ${{ github.event.inputs.ANSYS_VERSION || '251' }}\n\n      - name: \"Update ansys-grpc-dpf\"\n        shell: bash\n        run: |\n          wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ANSYS_VERSION }}/dist -name \"ansys_grpc_dpf-*\"  -type f)\n          echo $wheel_file\n          rm -r src/ansys/grpc\n          unzip -o $wheel_file \"ansys/**/*\" -d src/\n          chmod -R 777 src/ansys/grpc\n          git add -f src/ansys/grpc\n\n      - name: \"Update ansys-dpf-gate\"\n        shell: bash\n        run: |\n          wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ANSYS_VERSION }}/dist -name \"ansys_dpf_gate-*\"  -type f)\n          echo $wheel_file\n          rm -r src/ansys/dpf/gate\n          unzip -o $wheel_file \"ansys/**/*\" -d src/\n          chmod -R 777 src/ansys/dpf/gate\n          git add -f src/ansys/dpf/gate\n\n      - name: \"Update ansys-dpf-gatebin lin\"\n        shell: bash\n        run: |\n          wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ANSYS_VERSION }}/dist -name \"ansys_dpf_gatebin-*linux1*\"  -type f)\n          echo $wheel_file\n          rm -r src/ansys/dpf/gatebin\n          unzip -o $wheel_file \"ansys/**/*\" -d src/\n          chmod -R 777 src/ansys/dpf/gatebin\n\n      - name: \"Update ansys-dpf-gatebin win\"\n        shell: bash\n        run: |\n          wheel_file=$(find ./dpf-standalone/v${{ github.event.inputs.ANSYS_VERSION }}/dist -name \"ansys_dpf_gatebin-*win*\"  -type f)\n          echo $wheel_file\n          unzip -o $wheel_file \"ansys/**/*\" -d src/\n          chmod -R 777 src/ansys/dpf/gatebin\n          git add -f src/ansys/dpf/gatebin\n\n      - name: \"Install local package as editable\"\n        shell: bash\n        run: |\n          pip install --find-links=.github/ -e .\n\n      - name: \"Install requirements_build\"\n        run: |\n          pip install -r requirements/requirements_build.txt\n\n      - name: \"List installed packages\"\n        shell: bash\n        run: pip list\n\n      - name: \"Generate Operators\"\n        shell: bash\n        working-directory: .ci\n        run: |\n          python code_generation.py\n        timeout-minutes: 5\n\n      - name: \"Generate Operators Documentation\"\n        shell: bash\n        working-directory: .ci\n        run: |\n          python build_operators_doc.py\n        timeout-minutes: 5\n\n      - name: \"Show changes\"\n        shell: bash\n        run: |\n          git status\n\n      - name: \"Create Pull Request\"\n        uses: peter-evans/create-pull-request@v4\n        with:\n          delete-branch: true\n          add-paths: |\n            src/ansys/dpf/gate/*\n            src/ansys/dpf/gatebin/*\n            src/ansys/grpc/*\n            src/ansys/dpf/core/operators/*\n            doc/source/_static/dpf_operators.html\n          commit-message: update generated code\n          title: Update generated code for DPF ${{ github.event.inputs.ANSYS_VERSION || '251' }}${{ github.event.inputs.standalone_branch_suffix || '' }} on ${{ github.ref_name }}\n          body: An update of generated code has been triggered either manually or by an update in the dpf-standalone repository.\n          branch: maint/update_code_for_${{ github.event.inputs.ANSYS_VERSION || '251' }}${{ github.event.inputs.standalone_branch_suffix || '' }}_on_${{ github.ref_name }}\n          labels: server-sync\n          token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}\n          reviewers: ansys/dpf_integration_proxies\n          assignees: ansys/dpf_integration_proxies\n\n      - name: \"Kill all servers\"\n        uses: ansys/pydpf-actions/kill-dpf-servers@v2.3\n        if: always()\n", "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:27.092948", "created_at": "2022-12-16T14:26:40+01:00", "updated_at": "2022-12-16T14:26:40+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:28.225579", "created_at": "2023-04-17T10:49:15+02:00", "updated_at": "2023-04-17T10:49:15+02:00", "name": "examples_docker", "path": ".github/workflows/examples_docker.yml", "contents": "name: examples_docker\n\non:\n# Can be called by the CI\n  workflow_call:\n    inputs:\n      python_versions:\n        required: false\n        type: string\n        default: '[\"3.9\"]'\n      ANSYS_VERSION:\n        required: false\n        type: string\n        default: \"251\"\n      standalone_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n# Can be called manually\n  workflow_dispatch:\n    inputs:\n      python_versions:\n        description: \"Python interpreters to test.\"\n        required: true\n        type: string\n        default: '[\"3.9\"]'\n      ANSYS_VERSION:\n        description: \"ANSYS version to run.\"\n        required: true\n        type: string\n        default: \"251\"\n      standalone_suffix:\n        description: \"Suffix of the branch on standalone\"\n        required: false\n        type: string\n        default: ''\n\nenv:\n  PACKAGE_NAME: ansys-dpf-core\n  MODULE: core\n  ANSYS_DPF_ACCEPT_LA: Y\n  ANSYSLMD_LICENSE_FILE: 1055@${{secrets.LICENSE_SERVER}}\n\njobs:\n  setup:\n    name: \"Setup\"\n    runs-on: ubuntu-latest\n    outputs:\n      python_versions: ${{ steps.set_array.outputs.python_versions }}\n    steps:\n      - id: set_array\n        run: |\n          echo \"python_versions=${{ toJSON(inputs.python_versions) }}\" >> $GITHUB_OUTPUT\n\n  examples:\n    name: \"Run Examples\"\n    needs: setup\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 40\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ${{ fromJSON(needs.setup.outputs.python_versions) }}\n        os: [\"ubuntu-latest\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: \"Install requirements\"\n        run: pip install -r requirements/requirements_build.txt\n\n      - name: \"Build the wheel\"\n        shell: bash\n        run: |\n          if [ ${{ matrix.os }} == \"ubuntu-latest\" ]; then\n              export platform=\"manylinux_2_17\"\n          else\n              export platform=\"win\"\n          fi\n          python .ci/build_wheel.py -p $platform -w\n\n      - name: \"Expose the wheel\"\n        shell: bash\n        id: wheel\n        working-directory: dist\n        run: |\n          export name=`ls ansys_dpf_core*.whl`\n          echo ${name}\n          echo \"wheel_name=${name[0]}\" >> $GITHUB_OUTPUT\n\n      - name: \"Install package wheel\"\n        shell: bash\n        run: |\n          pip install dist/${{ steps.wheel.outputs.wheel_name }}[plotting]\n\n      - name: \"Install DPF\"\n        id: set-server-path\n        uses: ansys/pydpf-actions/install-dpf-docker@v2.3\n        with:\n          dpf-standalone-TOKEN: ${{secrets.DPF_PIPELINE}}\n          standalone_suffix: ${{ inputs.standalone_suffix }}\n          ANSYS_VERSION : ${{inputs.ANSYS_VERSION}}\n\n      - name: \"Check licences of packages\"\n        uses: ansys/pydpf-actions/check-licenses@v2.3\n\n      - name: \"Test import\"\n        shell: bash\n        working-directory: tests\n        run: python -c \"from ansys.dpf import core\"\n\n      - name: \"Prepare Testing Environment\"\n        uses: ansys/pydpf-actions/prepare_tests@v2.3\n        with:\n          DEBUG: true\n\n      - name: \"List installed packages\"\n        shell: bash\n        run: pip list\n\n      - name: \"Run examples\"\n        shell: bash\n        working-directory: .ci\n        run: |\n          echo on\n          python run_examples.py\n", "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:29.239366", "created_at": "2023-11-21T15:50:07+01:00", "updated_at": "2023-11-21T15:50:07+01:00", "name": "Ansys Lab", "path": ".github/workflows/ansys_lab.yml", "contents": "name: Ansys Lab\n\non:\n# Can be called by the CI\n  workflow_call:\n    inputs:\n      version:\n        description: \"Release version as 'vX.Y.Z'\"\n        type: string\n        required: true\n# Can be called manually\n  workflow_dispatch:\n    inputs:\n      version:\n        description: \"Release version as 'vX.Y.Z'\"\n        type: string\n        required: true\n\nenv:\n  DESTINATION_BRANCH_NAME: ansys_lab_examples\n\njobs:\n  deploy_examples:\n    name: \"Deploy examples for Ansys Lab\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.DESTINATION_BRANCH_NAME }}\n\n      - name: \"Clean-up working directory\"\n        shell: python\n        run: |\n          import glob\n          import os\n                    \n          for example in glob.glob('**/*.ipynb', recursive=True):\n            os.remove(example)\n            print(f\"Deleted {example}\")\n\n      - name: \"Download Release Asset - HTML\"\n        uses: dsaltares/fetch-gh-release-asset@1.1.0\n        with:\n          file: HTML-doc-ansys-dpf-core.zip\n          token: ${{ secrets.GITHUB_TOKEN }}\n          version: tags/${{ inputs.version }}\n\n      - name: \"Extract ipynb examples\"\n        shell: python\n        run: |\n          import glob\n          import os\n          import shutil\n          import zipfile\n          with zipfile.ZipFile(\"HTML-doc-ansys-dpf-core.zip\", 'r') as z:\n            [z.extract(file, \"./\") for file in z.namelist() if file.endswith(\".ipynb\")]\n          os.remove(\"HTML-doc-ansys-dpf-core.zip\")\n          \n          if not \"examples\" in os.listdir(os.getcwd()):\n            os.mkdir(os.path.join(os.getcwd(), \"examples\"))\n          print(os.listdir(os.getcwd()))\n          for folder in os.listdir(os.path.join(os.getcwd(), \"_downloads\")):\n            print(os.listdir(os.path.join(os.path.join(os.getcwd(), \"_downloads\"), folder)))\n          for example in glob.glob('**/*.ipynb', recursive=True):\n            print(f\"Moving {example}\") \n            shutil.move(example, os.path.join(os.getcwd(), \"examples\"))\n          print(os.listdir(os.path.join(os.getcwd(), \"examples\")))\n\n      - name: \"Push changes\"\n        shell: bash\n        run: |\n          git config --global user.name \"pyansys-ci-bot\"\n          git add .\n          git status\n          git commit -a -m ${{ inputs.version }} || exit 0\n          git push https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys/pydpf-core.git --follow-tags\n", "state": "active", "repository": "ansys/pydpf-core"}
{"mined_at": "2024-07-15T18:01:31.293414", "created_at": "2023-04-12T15:45:44+02:00", "updated_at": "2024-02-01T14:31:39+01:00", "name": "Black", "path": ".github/workflows/black.yml", "contents": "name: Black\n\non:\n  push:\n    branches: [main]\n  pull_request: {}\n  workflow_dispatch: {}\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n        with:\n          src: \"./osl_dynamics\"", "state": "active", "repository": "ohba-analysis/osl-dynamics"}
{"mined_at": "2024-07-15T18:01:33.543173", "created_at": "2022-09-27T02:56:04+02:00", "updated_at": "2022-09-27T02:56:04+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '35 14 * * 4'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "pinto0309/onnx2tf"}
{"mined_at": "2024-07-15T18:01:34.772030", "created_at": "2022-09-27T02:56:04+02:00", "updated_at": "2022-09-27T02:56:04+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [published]\n\nenv:\n  REGISTRY: ghcr.io\n  DOCKER_REGISTRY: docker.io\n  DOCKER_REGISTRY_USER: pinto0309\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  pypi-deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel pipenv\n    - name: Build\n      run: |\n        python setup.py sdist bdist_wheel\n    - name: Publish a Python distribution to PyPI\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n\n  docker-deploy:\n    runs-on: ubuntu-latest\n    needs: pypi-deploy\n    permissions:\n      contents: read\n      packages: write\n    strategy:\n      fail-fast: false  # do not cancel even if any platform fails.\n      matrix:\n        platform: [linux/amd64,linux/arm64]\n    steps:\n      - name: Git checkout\n        uses: actions/checkout@v3\n      - name: Enable buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Prepare\n        run: |\n          platform=${{ matrix.platform }}\n          echo \"PLATFORM_PAIR=${platform//\\//-}\" >> $GITHUB_ENV\n\n      - name: Repository to lowercase\n        id: lower-repo-1\n        run: |\n          echo \"repository=${GITHUB_REPOSITORY@L}\" >> $GITHUB_OUTPUT\n\n      # For Github Container Registory\n      - name: Log in to GCR\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Extract metadata (tags, labels) for GCR\n        id: meta_gh\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ steps.lower-repo-1.outputs.repository }}\n      - name: Build and push by digest to GCR\n        id: build_gh\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: ${{ matrix.platform }}\n          push: true\n          labels: ${{ steps.meta_gh.outputs.labels }}\n          outputs: type=image,name=${{ env.REGISTRY }}/${{ steps.lower-repo-1.outputs.repository }},push-by-digest=true,name-canonical=true,push=true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      # For Docker Hub\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.DOCKER_REGISTRY }}\n          username: ${{ env.DOCKER_REGISTRY_USER }}\n          password: ${{ secrets.DH_ACCESS_TOKEN }}\n      - name: Extract metadata (tags, labels) for Docker Hub\n        id: meta_dh\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.DOCKER_REGISTRY }}/${{ steps.lower-repo-1.outputs.repository }}\n      - name: Build and push by digest to Docker Hub\n        id: build_dh\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: ${{ matrix.platform }}\n          push: true\n          labels: ${{ steps.meta_gh.outputs.labels }}\n          outputs: type=image,name=${{ env.DOCKER_REGISTRY }}/${{ steps.lower-repo-1.outputs.repository }},push-by-digest=true,name-canonical=true,push=true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Export digest\n        run: |\n          mkdir -p /tmp/digests/gh\n          digest=\"${{ steps.build_gh.outputs.digest }}\"\n          touch \"/tmp/digests/gh/${digest#sha256:}\"\n          mkdir -p /tmp/digests/dh\n          digest=\"${{ steps.build_dh.outputs.digest }}\"\n          touch \"/tmp/digests/dh/${digest#sha256:}\"\n\n      - name: Upload digest\n        uses: actions/upload-artifact@v4\n        with:\n          name: digests-${{ env.PLATFORM_PAIR }}\n          path: /tmp/digests/*\n          if-no-files-found: error\n          retention-days: 1\n\n  merge:\n    runs-on: ubuntu-latest\n    needs:\n      - docker-deploy\n    steps:\n      - name: Download digests\n        uses: actions/download-artifact@v4\n        with:\n          path: /tmp/digests\n          pattern: digests-*\n          merge-multiple: true\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Repository to lowercase\n        id: lower-repo-2\n        run: |\n          echo \"repository=${GITHUB_REPOSITORY@L}\" >> $GITHUB_OUTPUT\n\n      # For Github Container Registory\n      - name: Log in to GCR\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Extract metadata (tags, labels) for GCR\n        id: meta_gh\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ steps.lower-repo-2.outputs.repository }}\n      - name: Create manifest list and push to GCR\n        working-directory: /tmp/digests/gh\n        run: |\n          docker buildx imagetools create $(jq -cr '.tags | map(\"-t \" + .) | join(\" \")' <<< \"$DOCKER_METADATA_OUTPUT_JSON\") \\\n          $(printf '${{ env.REGISTRY }}/${{ steps.lower-repo-2.outputs.repository }}@sha256:%s ' *)\n      - name: Inspect image on GCR\n        run: |\n          docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ steps.lower-repo-2.outputs.repository }}:${{ steps.meta_gh.outputs.version }}\n\n      # For Docker Hub\n      - name: Log in to the Docker Hub\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.DOCKER_REGISTRY }}\n          username: ${{ env.DOCKER_REGISTRY_USER }}\n          password: ${{ secrets.DH_ACCESS_TOKEN }}\n      - name: Extract metadata (tags, labels) for Docker Hub\n        id: meta_dh\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.DOCKER_REGISTRY }}/${{ steps.lower-repo-2.outputs.repository }}\n      - name: Create manifest list and push to Docker Hub\n        working-directory: /tmp/digests/dh\n        run: |\n          docker buildx imagetools create $(jq -cr '.tags | map(\"-t \" + .) | join(\" \")' <<< \"$DOCKER_METADATA_OUTPUT_JSON\") \\\n          $(printf '${{ env.DOCKER_REGISTRY }}/${{ steps.lower-repo-2.outputs.repository }}@sha256:%s ' *)\n      - name: Inspect image on Docker Hub\n        run: |\n          docker buildx imagetools inspect ${{ env.DOCKER_REGISTRY }}/${{ steps.lower-repo-2.outputs.repository }}:${{ steps.meta_dh.outputs.version }}\n", "state": "active", "repository": "pinto0309/onnx2tf"}
{"mined_at": "2024-07-15T18:01:35.806836", "created_at": "2022-10-11T02:35:06+02:00", "updated_at": "2022-10-11T02:35:06+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '0 9 * * *'\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v7\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'If there is no activity within the next two days, this issue will be closed automatically.'\n        stale-pr-message: 'If there is no activity within the next two days, this pr will be closed automatically.'\n        stale-issue-label: 'no-issue-activity'\n        stale-pr-label: 'no-pr-activity'\n        exempt-issue-labels: TODO,discussion,Bug,feature request\n        exempt-pr-labels: TODO,discussion,Bug,feature request\n        days-before-stale: 5\n        days-before-close: 1\n", "state": "active", "repository": "pinto0309/onnx2tf"}
{"mined_at": "2024-07-15T18:01:37.030369", "created_at": "2022-10-29T04:58:16+02:00", "updated_at": "2022-11-25T18:33:45+01:00", "name": "Model Convert Test", "path": ".github/workflows/test-models.yml", "contents": "name: Model Convert Test\n\non:\n  pull_request:\n    branches: [ main ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: write\n\njobs:\n  conversion-test:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check space before cleanup\n      run: df -h\n    - name: Clean space\n      run: |\n          docker images\n          sudo rm -rf \"/opt/*\" || true\n          sudo rm -rf \"/usr/share/dotnet\" || true\n          sudo rm -rf \"$AGENT_TOOLSDIRECTORY\" || true\n          sudo rm -rf \"/usr/local/lib/android\" || true\n          sudo rm -rf \"/usr/local/share/boost\" || true\n          sudo rm -rf \"/usr/lib/jvm\" || true\n          sudo rm -rf \"/usr/share/swift\" || true\n          sudo rm -rf \"/usr/local/julia*\" || true\n          sudo rm -rf \"/usr/share/kotlinc\" || true\n          sudo rm -rf \"/usr/local/share/edge_driver\" || true\n          sudo rm -rf \"/usr/local/share/chromedriver-linux64\" || true\n          sudo rm -rf \"/usr/local/share/gecko_driver\" || true\n          sudo rm -rf \"/usr/share/miniconda\" || true\n          sudo rm -rf \"/usr/local/share/phantomjs*\" || true\n          sudo rm -rf \"/usr/share/sbt\" || true\n          sudo rm -rf \"/usr/local/sqlpackage\" || true\n          docker rmi $(docker image ls -q --filter \"reference=node*\")\n          docker rmi $(docker image ls -q --filter \"reference=moby/buildkit*\")\n          docker rmi $(docker image ls -q --filter \"reference=debian*\")\n          docker rmi $(docker image ls -q --filter \"reference=alpine*\")\n          docker rmi $(docker image ls -q --filter \"reference=ubuntu:20.04\")\n          sudo npm uninstall bazel\n          rustup self uninstall -y\n          sudo apt purge \\\n            ansible \\\n            apache2 \\\n            aria2 \\\n            azure-cli \\\n            cabal* \\\n            clang* \\\n            dotnet-sdk* \\\n            firefox \\\n            ghc* \\\n            google-chrome-stable \\\n            google-cloud-sdk \\\n            kubectl \\\n            libpq-dev \\\n            microsoft-edge-stable \\\n            moby-buildx \\\n            moby-cli \\\n            moby-compose \\\n            moby-engine \\\n            mongodb* \\\n            mono-complete \\\n            mysql* \\\n            nginx \\\n            node* \\\n            npm* \\\n            nuget \\\n            php* \\\n            postgresql* \\\n            powershell \\\n            r-base \\\n            rpm \\\n            ruby* \\\n            sphinxsearch \\\n            subversion \\\n            yarn \\\n            -yq >/dev/null 2>&1 || true\n          sudo apt-get autoremove -y >/dev/null 2>&1 || true\n          sudo apt-get autoclean -y >/dev/null 2>&1 || true\n          df -h\n    - name: Set Swap Space\n      uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c\n      with:\n        swap-size-gb: 13\n    - name: Checkout onnx2tf\n      uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        pip install pip -U\n        pip install cmake==3.26.4\n        pip install psutil==5.9.5\n        pip install onnx==1.15.0\n        pip install tensorflow==2.16.1\n        pip install nvidia-pyindex\n        pip install onnx-graphsurgeon\n        pip install protobuf==3.20.3\n        pip install onnxsim==0.4.33\n        pip install sng4onnx\n        pip install onnxruntime==1.17.1\n        pip install ml_dtypes==0.3.2\n        pip install tf-keras~=2.16\n        pip install flatbuffers>=23.5.26\n        pip install -e .\n    - name: Download models\n      run: |\n        curl \"https://s3.us-central-1.wasabisys.com/onnx2tf-en/models/resources.tar.gz\" -o resources.tar.gz\n        tar -zxvf resources.tar.gz\n        rm resources.tar.gz\n    - name: Run Model Convert Tests\n      run: |\n        python tests/test_model_convert.py -m models -o wiki -v\n    - name: Update wiki content\n      uses: Andrew-Chen-Wang/github-wiki-action@v4\n      continue-on-error: true\n      with:\n        path: wiki/\n        ignore: |\n          test_model_pb/\n", "state": "active", "repository": "pinto0309/onnx2tf"}
{"mined_at": "2024-07-15T18:01:38.040036", "created_at": "2022-10-04T16:55:05+02:00", "updated_at": "2022-10-04T16:55:05+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pinto0309/onnx2tf"}
{"mined_at": "2024-07-15T18:01:41.326069", "created_at": "2022-11-06T11:41:05+01:00", "updated_at": "2022-12-13T17:07:19+01:00", "name": "Check Changelog", "path": ".github/workflows/changelog.yml", "contents": "name: Check Changelog\n# This check makes sure that the changelog is properly updated\n# when a PR introduces a change in a test file.\n# To bypass this check, label the PR with \"no changelog needed\".\non:\n  pull_request:\n    types: [opened, edited, labeled, unlabeled, synchronize]\n\njobs:\n  check:\n    name: A reviewer will let you know if it is required or can be bypassed\n    runs-on: ubuntu-latest\n    if: |\n      ! contains(github.event.pull_request.labels.*.name, 'no changelog needed') &&\n      ! contains(github.event.pull_request.labels.*.name, 'CI')\n    steps:\n      - name: Get PR number and milestone\n        run: |\n          echo \"PR_NUMBER=${{ github.event.pull_request.number }}\" >> $GITHUB_ENV\n          echo \"TAGGED_MILESTONE=${{ github.event.pull_request.milestone.title }}\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: '0'\n      - name: Check the changelog entry\n        run: |\n          set -xe\n          changed_files=$(git diff --name-only origin/main)\n          # Changelog should be updated only if tests have been modified\n          if [[ ! \"$changed_files\" =~ tests ]]\n          then\n            exit 0\n          fi\n          all_changelogs=$(cat ./CHANGES.rst)\n          if [[ \"$all_changelogs\" =~ :pr:\\`$PR_NUMBER\\` ]]\n          then\n            echo \"Changelog has been updated.\"\n            # If the pull request is milestoned check the correspondent changelog\n            if exist -f ./CHANGES.rst${TAGGED_MILESTONE:0:4}.rst\n            then\n              expected_changelog=$(cat ./CHANGES.rst${TAGGED_MILESTONE:0:4}.rst)\n              if [[ \"$expected_changelog\" =~ :pr:\\`$PR_NUMBER\\` ]]\n              then\n                echo \"Changelog and milestone correspond.\"\n              else\n                echo \"Changelog and milestone do not correspond.\"\n                echo \"If you see this error make sure that the tagged milestone for the PR\"\n                echo \"and the edited changelog filename properly match.\"\n                exit 1\n              fi\n            fi\n          else\n            echo \"A changelog entry is missing.\"\n            echo \"\"\n            echo \"Please add an entry to the changelog at 'CHANGES.rst'\"\n            echo \"to document your change assuming that the PR will be merged\"\n            echo \"in time for the next release of skrub.\"\n            echo \"\"\n            echo \"Look at other entries in that file for inspiration and please\"\n            echo \"reference this pull request using the ':pr:' directive and\"\n            echo \"credit yourself (and other contributors if applicable) with\"\n            echo \"the ':user:' directive., for instance :pr:`453` by :user:`Jo Blib <JoBlib>`.\"\n            echo \"\"\n            echo \"If you see this error and there is already a changelog entry,\"\n            echo \"check that the PR number is correct.\"\n            echo \"\"\n            echo \"If you believe that this PR does not warrant a changelog\"\n            echo \"entry, say so in a comment so that a maintainer will label\"\n            echo \"the PR with 'no changelog needed' to bypass this check.\"\n            exit 1\n          fi\n", "state": "active", "repository": "skrub-data/skrub"}
{"mined_at": "2024-07-15T18:01:42.556624", "created_at": "2020-11-19T10:53:27+01:00", "updated_at": "2023-05-17T09:16:36+02:00", "name": "CircleCI artifacts redirector", "path": ".github/workflows/main.yml", "contents": "name: CircleCI artifacts redirector\non: [status]\n\n# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this\n# github actions workflow:\n# https://docs.github.com/en/actions/security-guides/automatic-token-authentication\npermissions:\n  statuses: write\n\njobs:\n  circleci_artifacts_redirector_job:\n    runs-on: ubuntu-latest\n    # For testing this action on a fork, remove the \"github.repository ==\"\" condition.\n    if: \"github.repository == 'skrub-data/skrub' && github.event.context == 'ci/circleci: python3'\"\n    name: Run CircleCI artifacts redirector\n    steps:\n      - name: GitHub Action step\n        uses: larsoner/circleci-artifacts-redirector-action@master\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          api-token: ${{ secrets.CIRCLE_CI }}\n          artifact-path: 0/doc/index.html\n          circleci-jobs: python3\n          job-title: Check the rendered docs here!\n", "state": "active", "repository": "skrub-data/skrub"}
{"mined_at": "2024-07-15T18:01:43.658690", "created_at": "2024-06-06T16:54:10+02:00", "updated_at": "2024-06-06T16:54:10+02:00", "name": "Unit Tests", "path": ".github/workflows/pixi-testing.yml", "contents": null, "state": "active", "repository": "skrub-data/skrub"}
{"mined_at": "2024-07-15T18:01:44.807307", "created_at": "2022-09-02T15:20:52+02:00", "updated_at": "2022-09-02T20:37:49+02:00", "name": "Run code format checks", "path": ".github/workflows/run-code-format-checks.yaml", "contents": "name: Run code format checks\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - '*'\n\njobs:\n  run-pre-commit-checks:\n    name: Run pre-commit checks\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: prefix-dev/setup-pixi@v0.8.1\n        with:\n          pixi-version: v0.24.0\n          frozen: true\n\n      - name: Run tests\n        run: pixi run -e lint lint\n", "state": "active", "repository": "skrub-data/skrub"}
{"mined_at": "2024-07-15T18:01:45.915728", "created_at": "2024-07-08T10:25:29+02:00", "updated_at": "2024-07-08T11:18:19+02:00", "name": "test reports javascript", "path": ".github/workflows/test-javascript.yml", "contents": null, "state": "active", "repository": "skrub-data/skrub"}
{"mined_at": "2024-07-15T18:01:47.100192", "created_at": "2021-06-23T09:41:45+02:00", "updated_at": "2024-06-17T14:30:43+02:00", "name": "test", "path": ".github/workflows/testing.yml", "contents": "name: 'test'\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - '*'\n  schedule:\n    - cron: \"30 2 * * *\"\n\njobs:\n  test:\n    strategy:\n      matrix:\n        os: [windows-latest, ubuntu-latest, macos-latest]\n        environment: [\n            ci-py309-min-deps,\n            ci-py309-min-optional-deps,\n            ci-py312-latest-deps,\n            ci-py312-latest-optional-deps\n        ]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: prefix-dev/setup-pixi@v0.8.1\n        with:\n          pixi-version: v0.24.0\n          environments: ${{ matrix.environment }}\n          # we can freeze the environment and manually bump the dependencies to the\n          # latest version time to time.\n          frozen: true\n\n      - name: Run tests\n        run: pixi run -e ${{ matrix.environment }} test -n 3\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          slug: skrub-data/skrub\n\n  check_run_nightly:\n    runs-on: ubuntu-latest\n    outputs:\n      run: ${{ github.event_name == 'schedule' || contains(steps.get_head_commit_message.outputs.COMMIT_MSG, '[deps nightly]') }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - id: get_head_commit_message\n        name: get head commit message\n        run: echo \"COMMIT_MSG=$(git show -s --format=%s)\" >> \"$GITHUB_OUTPUT\"\n\n  test_against_nightly:\n    needs: check_run_nightly\n    if: ${{ needs.check_run_nightly.outputs.run == 'true' }}\n    runs-on: ubuntu-latest\n    name: test against nighlty dependencies\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n            python-version: \"3.11\"\n        name: 'Setup python'\n      - shell: bash {0}\n        run: |\n          dev_anaconda_url=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple\n          pip install --pre --upgrade --timeout=60 --extra-index $dev_anaconda_url .\n          dev_arrow=https://pypi.fury.io/arrow-nightlies/\n          pip install --extra-index-url $dev_arrow --prefer-binary --pre .[optional]\n          pip install .[test]\n        name: 'Install skrub and nightly dependencies'\n      - shell: bash {0}\n        run: pytest -vsl --cov=skrub --cov-report=xml skrub -n 3\n        name: 'Run tests'\n", "state": "active", "repository": "skrub-data/skrub"}
{"mined_at": "2024-07-15T18:01:48.167409", "created_at": "2024-06-18T13:16:36+02:00", "updated_at": "2024-06-18T13:16:36+02:00", "name": "Update lock files", "path": ".github/workflows/update_pixi_lock_files.yml", "contents": "# Workflow to update lock files\nname: Update lock files\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 5 * * 1'\n\n# XXX Set the right permissions, per step??\n# Can we set read only at the global level here and then elevate to write for some steps?\n#permissions: read-all\n\njobs:\n  update_lock_files:\n    if: github.repository == 'skrub-data/skrub'\n    runs-on: ubuntu-latest\n\n    strategy:\n      # if we have a matrix in the future, we don't want to stop the whole matrix if\n      # one job fails\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: prefix-dev/setup-pixi@v0.8.1\n        with:\n          pixi-version: v0.24.0\n\n      - name: Update the pixi lock files\n        run: pixi update\n\n      - name: Create Pull Request\n        id: cpr\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ secrets.BOT_GITHUB_TOKEN }}\n          push-to-fork: skrub-bot/skrub\n          commit-message: \"Update CI lock files [doc build]\"\n          committer: \"Lock file bot <noreply@github.com>\"\n          author: \"Lock file bot <noreply@github.com>\"\n          delete-branch: true\n          branch: auto-update-pixi-lock-file\n          title: \":lock: :robot: CI Update pixi lock file :lock: :robot:\"\n          body: |\n            Update lock files.\n\n            ### Note\n            If the CI tasks fail, create a new branch based on this PR and add the required fixes to that branch.\n\n      - name: Check Pull Request\n        if: steps.cpr.outputs.pull-request-number != ''\n        run: |\n          echo \"### :rocket: Pull-Request Summary\" >> ${GITHUB_STEP_SUMMARY}\n          echo \"\" >> ${GITHUB_STEP_SUMMARY}\n          echo \"The following lock files pull-request has been auto-generated:\"\n          echo \"- **PR** #${{ steps.cpr.outputs.pull-request-number }}\" >> ${GITHUB_STEP_SUMMARY}\n          echo \"- **URL** ${{ steps.cpr.outputs.pull-request-url }}\" >> ${GITHUB_STEP_SUMMARY}\n          echo \"- **Operation** [${{ steps.cpr.outputs.pull-request-operation }}]\" >> ${GITHUB_STEP_SUMMARY}\n          echo \"- **SHA** ${{ steps.cpr.outputs.pull-request-head-sha }}\" >> ${GITHUB_STEP_SUMMARY}\n", "state": "active", "repository": "skrub-data/skrub"}
{"mined_at": "2024-07-15T18:01:49.314131", "created_at": "2024-07-15T10:46:16+02:00", "updated_at": "2024-07-15T10:46:16+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "skrub-data/skrub"}
{"mined_at": "2024-07-15T18:01:51.337634", "created_at": "2022-12-30T17:33:30+01:00", "updated_at": "2022-12-30T23:52:51+01:00", "name": "Build CI", "path": ".github/workflows/build.yml", "contents": "name: Build CI\n\non: [push, pull_request]\n\njobs:\n  build:\n    name: Running python ${{ matrix.python-version }} on ${{matrix.os}}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n        os: [macOS-latest, ubuntu-latest, windows-latest]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Print Python Version\n      run: python --version --version && which python\n\n    - name: Update pip, setuptools + wheels\n      run: |\n        python -m pip install --upgrade pip setuptools wheel\n\n    - name: Install deps via requirements + module via pyproject.toml\n      run: |\n        python -m pip install -r requirements.txt\n        python -m pip install .\n", "state": "active", "repository": "kav-k/gptdiscord"}
{"mined_at": "2024-07-15T18:01:52.481778", "created_at": "2022-12-30T23:56:33+01:00", "updated_at": "2023-10-28T12:55:36+02:00", "name": "CI", "path": ".github/workflows/black-and-deploy.yml", "contents": "name: CI\non:\n  push:\n    branches:\n      - main\n      - alpha\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:  # https://github.com/stefanzweifel/git-auto-commit-action#checkout-the-correct-branch\n            ref: ${{ github.head_ref }}\n      - uses: actions/setup-python@v4\n      - run: pip install black\n      - run: black --check .\n      - name: If needed, commit black changes to a new pull request\n        if: failure()\n        run: |\n          black .\n          git config --global user.name github-actions\n          git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'          \n          # git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY\n          git commit -am \"Format Python code with psf/black push\"\n          git push origin main --force\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Run a one-line script\n        run: echo Hello, world!\n      - uses: actions/checkout@v3\n      - name: copy file via ssh password\n        uses: appleboy/scp-action@master\n        with:\n          host: lab.kaveenk.dev\n          username: root\n          password: ${{ secrets.SSH_PASS }}\n          port: 22\n          source: gpt3discord.py\n          target: /home/GPTDiscord\n      - name: copy file via ssh password\n        uses: appleboy/scp-action@master\n        with:\n          host: lab.kaveenk.dev\n          username: root\n          password: ${{ secrets.SSH_PASS }}\n          port: 22\n          source: conversation_starter_pretext.txt\n          target: /home/GPTDiscord\n      - name: copy file via ssh password\n        uses: appleboy/scp-action@master\n        with:\n          host: lab.kaveenk.dev\n          username: root\n          password: ${{ secrets.SSH_PASS }}\n          port: 22\n          source: image_optimizer_pretext.txt\n          target: /home/GPTDiscord/\n      - name: Copy via ssh\n        uses: garygrossgarten/github-action-scp@release\n        with:\n          local: cogs\n          remote: /home/GPTDiscord/cogs\n          host: lab.kaveenk.dev\n          username: root\n          password: ${{ secrets.SSH_PASS }}\n      - name: Copy via ssh\n        uses: garygrossgarten/github-action-scp@release\n        with:\n          local: models\n          remote: /home/GPTDiscord/models\n          host: lab.kaveenk.dev\n          username: root\n          password: ${{ secrets.SSH_PASS }}\n      - name: Copy via ssh\n        uses: garygrossgarten/github-action-scp@release\n        with:\n          local: openers\n          remote: /home/GPTDiscord/openers\n          host: lab.kaveenk.dev\n          username: root\n          password: ${{ secrets.SSH_PASS }}\n      - name: Copy via ssh\n        uses: garygrossgarten/github-action-scp@release\n        with:\n          local: services\n          remote: /home/GPTDiscord/services\n          host: lab.kaveenk.dev\n          username: root\n          password: ${{ secrets.SSH_PASS }}\n      - name: Restart bot!\n        uses: fifsky/ssh-action@master\n        with:\n          command: |\n            cd /home/GPTDiscord\n            kill -9 $(cat bot.pid)\n            rm bot.pid\n            screen -dmS GPTBot python3.9 gpt3discord.py\n            logout\n            exit\n          host: lab.kaveenk.dev\n          user: root\n          pass: ${{ secrets.SSH_PASS}}\n", "state": "active", "repository": "kav-k/gptdiscord"}
{"mined_at": "2024-07-15T18:01:53.492788", "created_at": "2022-12-31T11:54:37+01:00", "updated_at": "2022-12-31T11:54:37+01:00", "name": "Publish to PyPI", "path": ".github/workflows/pypi_upload.yml", "contents": "name: Publish to PyPI\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  main:\n    name: sdist + pure wheel\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up latest Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"*\"\n\n      - name: Install latest pip, build, twine\n        run: |\n          python -m pip install --upgrade --disable-pip-version-check pip\n          python -m pip install --upgrade build twine\n\n      - name: Build wheel and source distributions\n        run: python -m build\n\n      - name: Upload to PyPI via Twine\n        env:\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n        run: twine upload --verbose -u '__token__' dist/*", "state": "active", "repository": "kav-k/gptdiscord"}
{"mined_at": "2024-07-15T18:01:54.491920", "created_at": "2023-02-15T23:34:29+01:00", "updated_at": "2023-02-16T00:32:25+01:00", "name": "Docker", "path": ".github/workflows/build-and-publish-docker.yml", "contents": "name: Docker\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\non:\n  push:\n    branches:\n      - main\n  release:\n    types: [published]\n  pull_request:\n    branches:\n      - main\n\njobs:\n  docker-push-base:\n    if: ${{ github.event_name != 'pull_request' && github.repository == 'Kav-K/GPTDiscord' }}\n    runs-on: ubuntu-20.04\n    permissions:\n      contents: read\n      packages: write\n      # This is used to complete the identity challenge\n      # with sigstore/fulcio when running outside of PRs.\n      id-token: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # https://github.com/sigstore/cosign-installer\n      - name: Install cosign\n        uses: sigstore/cosign-installer@v2\n        with:\n          cosign-release: 'v1.13.1'\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      # Extract metadata (tags, labels) for Docker\n      - name: Extract Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          flavor: |\n            latest=auto\n            suffix=-base,onlatest=true\n          tags: |\n            type=semver,pattern={{raw}}\n            type=ref,event=branch\n          images: |\n            kaveenk/gpt3discord\n            ghcr.io/${{ github.repository }}\n\n      - name: Check if release\n        uses: haya14busa/action-cond@v1\n        id: isRelease\n        with:\n          cond: ${{ github.event_name == 'release' }}\n          if_true: 'linux/amd64,linux/arm64'\n          if_false: 'linux/amd64'\n\n      # Build and push Docker image with Buildx\n      - name: Build and push base Docker image\n        id: build-and-push-base\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          platforms: ${{ steps.isRelease.outputs.value }}\n\n\n      # Sign the resulting Docker image digest\n      # This will only write to the public Rekor transparency log when the Docker\n      # repository is public to avoid leaking data.  If you would like to publish\n      # transparency data even for private images, pass --force to cosign below.\n      # https://github.com/sigstore/cosign\n      - name: Sign the published base Docker image\n        env:\n          COSIGN_EXPERIMENTAL: \"true\"\n        # This step uses the identity token to provision an ephemeral certificate\n        # against the sigstore community Fulcio instance.\n        run: echo \"${{ steps.meta.outputs.tags }}\" | xargs -I {} cosign sign {}@${{ steps.build-and-push-base.outputs.digest }}\n   \n\n  docker-push-full:\n    if: ${{ github.event_name != 'pull_request' && github.repository == 'Kav-K/GPTDiscord' }}\n    runs-on: ubuntu-20.04\n    permissions:\n      contents: read\n      packages: write\n      # This is used to complete the identity challenge\n      # with sigstore/fulcio when running outside of PRs.\n      id-token: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      # https://github.com/sigstore/cosign-installer\n      - name: Install cosign\n        uses: sigstore/cosign-installer@v2\n        with:\n          cosign-release: 'v1.13.1'\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      # Extract metadata (tags, labels) for Docker\n      - name: Extract Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          flavor: |\n            latest=auto\n            suffix=-full,onlatest=true\n          tags: |\n            type=semver,pattern={{raw}}\n            type=ref,event=branch\n          images: |\n            kaveenk/gpt3discord\n            ghcr.io/${{ github.repository }}\n\n      - name: Check if release\n        uses: haya14busa/action-cond@v1\n        id: isRelease\n        with:\n          cond: ${{ github.event_name == 'release' }}\n          if_true: 'linux/amd64,linux/arm64'\n          if_false: 'linux/amd64'\n\n      # Build and push Docker image with Buildx\n      # https://github.com/docker/build-push-action\n      - name: Build and push full Docker image\n        id: build-and-push-full\n        uses: docker/build-push-action@v5\n        with:\n          build-args: FULL=true\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          platforms: ${{ steps.isRelease.outputs.value }}\n\n\n      # Sign the resulting Docker image digest\n      # This will only write to the public Rekor transparency log when the Docker\n      # repository is public to avoid leaking data.  If you would like to publish\n      # transparency data even for private images, pass --force to cosign below.\n      # https://github.com/sigstore/cosign\n      - name: Sign the published full Docker image\n        env:\n          COSIGN_EXPERIMENTAL: \"true\"\n        # This step uses the identity token to provision an ephemeral certificate\n        # against the sigstore community Fulcio instance.\n        run: echo \"${{ steps.meta.outputs.tags }}\" | xargs -I {} cosign sign {}@${{ steps.build-and-push-full.outputs.digest }}\n\n\n  docker-pr:\n    # Only builds amd64 due to arm64 being slow\n    if: ${{ github.event_name == 'pull_request' && github.repository == 'Kav-K/GPTDiscord' }}\n    runs-on: ubuntu-20.04\n    permissions:\n      contents: read\n      packages: write\n      # This is used to complete the identity challenge\n      # with sigstore/fulcio when running outside of PRs.\n      id-token: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Setup Docker buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Extract Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            kaveenk/gpt3discord\n            ghcr.io/${{ github.repository }}\n\n      - name: Build and push base Docker image\n        id: build-and-push-base\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          push: false\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          platforms: linux/amd64,linux/arm64\n\n      - name: Build and push full Docker image\n        id: build-and-push-full\n        uses: docker/build-push-action@v5\n        with:\n          build-args: FULL=true\n          context: .\n          push: false\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          platforms: linux/amd64,linux/arm64\n", "state": "active", "repository": "kav-k/gptdiscord"}
{"mined_at": "2024-07-15T18:01:56.788207", "created_at": "2023-02-15T21:14:41+01:00", "updated_at": "2023-02-17T13:50:21+01:00", "name": "Build docs", "path": ".github/workflows/build_docs.yaml", "contents": "name: Build docs\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  build_docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n      - name: Install\n        run: python -m pip install --upgrade pip && pip install -e .\n      - name: Install docs requirements\n        run: pip install -r docs/requirements.txt\n      - name: Build docs\n        run: cd docs && make html && cd ..\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v2\n        with:\n          name: docs\n          path: docs/_build/html\n", "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:01:57.831119", "created_at": "2023-02-15T21:14:41+01:00", "updated_at": "2023-02-17T13:50:21+01:00", "name": "Run pre-commit", "path": ".github/workflows/precommit.yaml", "contents": "name: Run pre-commit\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n      - name: Install pre-commit\n        run: python -m pip install --upgrade pip && pip install pre-commit\n      - name: Lint code\n        run: pre-commit run --all-files\n      - name: Show diff\n        run: git --no-pager diff --color=always\n", "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:01:59.041144", "created_at": "2023-04-23T09:32:17+02:00", "updated_at": "2023-05-11T19:00:27+02:00", "name": "cluster-tests", "path": ".github/workflows/cluster_tests.yaml", "contents": "name: cluster-tests\n\non: workflow_dispatch\n\njobs:\n  cluster-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Configure aws\n        run: |\n          aws configure set aws_access_key_id ${{ secrets.DEV_AWS_ACCESS_KEY }}\n          aws configure set aws_secret_access_key ${{ secrets.DEV_AWS_SECRET_KEY }}\n          aws configure set default.region us-east-1\n\n      - name: Install & check skypilot configuration\n        run: |\n          python -m pip install --upgrade pip\n          pip install skypilot\n          sky check\n          sky status\n\n      - name: Install python packages & dependencies\n        run: |\n          pip install runhouse[aws]\n          pip install -r tests/requirements.txt\n\n      - name: Run all cluster unit tests tests\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n        run: pytest -v tests/test_resources/test_cluster.py --level unit\n\n      - name: Teardown all test clusters\n        run: |\n          sky status\n          sky down --all -y\n          sky status\n", "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:00.270152", "created_at": "2023-05-07T12:01:44+02:00", "updated_at": "2024-01-04T16:24:45+01:00", "name": "Tests with level \"local\"", "path": ".github/workflows/local_tests.yaml", "contents": "name: Tests with level \"local\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\nenv:\n  API_SERVER_URL: https://api.run.house\n\njobs:\n  # TODO: THESE ARE ONLY SEPARATE JOBS BECAUSE THERE ARE\n  # DEVELOPMENT INCONSISTENCIES WHEN RUNNING ALL THE LOCAL\n  # TESTS TOGETHER.\n  # server-tests-logged-out-level-local:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - name: Check out repository code\n  #       uses: actions/checkout@v3\n\n  #     - name: Setup Runhouse\n  #       uses: ./.github/workflows/setup_runhouse\n\n  #     - name: pytest -v --level local tests/test_servers/\n  #       env:\n  #         TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n  #         TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n  #       run: pytest -v --level local tests/test_servers/\n\n  server-tests-logged-in-level-local:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup ~/.rh/config.yaml\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n          api_server_url: ${{ env.API_SERVER_URL }}\n\n      - name: pytest -v --level local tests/test_servers/\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n        run: pytest -v --level local tests/test_servers/\n        timeout-minutes: 60\n\n  # most-tests-logged-out-level-local:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - name: Check out repository code\n  #       uses: actions/checkout@v3\n\n  #     - name: Setup Runhouse\n  #       uses: ./.github/workflows/setup_runhouse\n\n  #     - name: pytest -v --level local -k \"not servertest and not secrettest\"\n  #       env:\n  #         TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n  #         TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n  #       run: pytest -v --level local -k \"not servertest and not secrettest\"\n\n  most-tests-logged-in-level-local:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup ~/.rh/config.yaml\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n          api_server_url: ${{ env.API_SERVER_URL }}\n\n      - name: pytest -v --level local -k \"not servertest and not secrettest and not moduletest and not functiontest and not envtest\"\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n          ORG_MEMBER_TOKEN: ${{ secrets.ORG_MEMBER_TOKEN }}\n          ORG_MEMBER_USERNAME: ${{ secrets.ORG_MEMBER_USERNAME }}\n        run: pytest -v --level local -k \"not servertest and not secrettest and not moduletest and not functiontest and not envtest\"\n        timeout-minutes: 60\n\n  # secret-tests-logged-out-level-local:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - name: Check out repository code\n  #       uses: actions/checkout@v3\n\n  #     - name: Setup Runhouse\n  #       uses: ./.github/workflows/setup_runhouse\n\n  #     - name: pytest -v --level local -k \"secrettest\"\n  #       env:\n  #         TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n  #         TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n  #       run: pytest -v --level local -k \"secrettest\"\n\n  secret-tests-logged-in-level-local:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup ~/.rh/config.yaml\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n          api_server_url: ${{ env.API_SERVER_URL }}\n\n      - name: pytest -v --level local -k \"secrettest\"\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n          ORG_MEMBER_TOKEN: ${{ secrets.ORG_MEMBER_TOKEN }}\n          ORG_MEMBER_USERNAME: ${{ secrets.ORG_MEMBER_USERNAME }}\n        run: pytest -v --level local -k \"secrettest\"\n        timeout-minutes: 60\n\n  module-tests-logged-in-level-local:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup ~/.rh/config.yaml\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n          api_server_url: ${{ env.API_SERVER_URL }}\n\n      - name: pytest -v --level local -k \"moduletest\"\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n          ORG_MEMBER_TOKEN: ${{ secrets.ORG_MEMBER_TOKEN }}\n          ORG_MEMBER_USERNAME: ${{ secrets.ORG_MEMBER_USERNAME }}\n        run: pytest -v --level local -k \"moduletest\"\n        timeout-minutes: 60\n\n  function-tests-logged-in-level-local:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup ~/.rh/config.yaml\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n          api_server_url: ${{ env.API_SERVER_URL }}\n\n      - name: pytest -v --level local -k \"functiontest\"\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n          ORG_MEMBER_TOKEN: ${{ secrets.ORG_MEMBER_TOKEN }}\n          ORG_MEMBER_USERNAME: ${{ secrets.ORG_MEMBER_USERNAME }}\n        run: pytest -v --level local -k \"functiontest\"\n        timeout-minutes: 60\n\n  env-tests-logged-in-level-local:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup ~/.rh/config.yaml\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n          api_server_url: ${{ env.API_SERVER_URL }}\n\n      - name: pytest -v --level local -k \"envtest\"\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n          ORG_MEMBER_TOKEN: ${{ secrets.ORG_MEMBER_TOKEN }}\n          ORG_MEMBER_USERNAME: ${{ secrets.ORG_MEMBER_USERNAME }}\n        run: pytest -v --level local -k \"envtest\"\n        timeout-minutes: 60\n", "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:01.498178", "created_at": "2023-08-09T21:57:41+02:00", "updated_at": "2023-08-10T12:35:40+02:00", "name": "Generate docs for runhouse-docs", "path": ".github/workflows/copy_docs.yaml", "contents": "name: Generate docs for runhouse-docs\n# https://cpina.github.io/push-to-another-repository-docs/index.html\n\non:\n  push:\n    branches:\n      - '*'\n\njobs:\n  generate-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Install\n        run: python -m pip install --upgrade pip && pip install -e .\n\n      - name: Install docs requirements\n        run: pip install -r docs/requirements.txt\n\n      - name: Build docs\n        run: cd docs && make json\n\n      - name: Get current branch name\n        run: echo \"CURRENT_BRANCH=${GITHUB_REF#refs/heads/}\" >> $GITHUB_ENV\n\n      - name: Set target branch name\n        run: echo \"BRANCH_NAME=${CURRENT_BRANCH}\" >> $GITHUB_ENV\n\n      - name: Push directory to another repository\n        uses: cpina/github-action-push-to-another-repository@v1.7.2\n        env:\n          SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}\n        with:\n          source-directory: 'docs/_build/json/'\n          destination-github-username: 'run-house'\n          destination-repository-name: 'runhouse-docs'\n          target-branch: ${{ env.BRANCH_NAME }}\n          create-target-branch-if-needed: true\n", "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:02.728455", "created_at": "2023-09-03T16:01:02+02:00", "updated_at": "2023-09-03T16:01:02+02:00", "name": "sagemaker-tests", "path": ".github/workflows/sagemaker_tests.yaml", "contents": "name: sagemaker-tests\n\non: workflow_dispatch\n\njobs:\n  sagemaker-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Configure aws credentials\n        run: |\n          aws sts assume-role --role-arn ${{ secrets.AWS_ROLE_ARN }} --role-session-name \"GitHubAction\" > assumed-role.json\n          export AWS_ACCESS_KEY_ID=$(jq -r .Credentials.AccessKeyId assumed-role.json)\n          export AWS_SECRET_ACCESS_KEY=$(jq -r .Credentials.SecretAccessKey assumed-role.json)\n          export AWS_SESSION_TOKEN=$(jq -r .Credentials.SessionToken assumed-role.json)\n\n      - name: Install python packages & dependencies\n        run: |\n          pip install runhouse[sagemaker]\n          pip install tests/requirements.txt\n\n      - name: Run all sagemaker tests\n        env:\n          AWS_ROLE_ARN: ${{ secrets.AWS_ROLE_ARN }}\n        run: pytest tests/test_resources/test_clusters/test_sagemaker_cluster/test_sagemaker.py --ignore-filters\n\n      - name: Teardown all SageMaker clusters\n        run: |\n          aws sagemaker stop-training-job --training-job-name \"rh-sagemaker\"\n          aws sagemaker stop-training-job --training-job-name \"rh-sagemaker-2\"\n", "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:03.828303", "created_at": "2023-11-13T13:31:53+01:00", "updated_at": "2023-11-13T13:33:26+01:00", "name": "server-tests", "path": ".github/workflows/server_tests.yaml", "contents": null, "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:04.980048", "created_at": "2023-12-12T21:17:22+01:00", "updated_at": "2024-01-30T20:42:11+01:00", "name": "pytest -v --level local tests/test_servers/", "path": ".github/workflows/local_server_tests.yaml", "contents": null, "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:06.101528", "created_at": "2023-12-13T22:13:36+01:00", "updated_at": "2023-12-14T01:00:40+01:00", "name": "Tests with level \"unit\"", "path": ".github/workflows/unit_tests.yaml", "contents": "name: Tests with level \"unit\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n\njobs:\n  all-tests-logged-out-level-unit:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: pytest -v --level unit -k \"not secrettest\"\n        run: pytest -v --level unit -k \"not secrettest\"\n        timeout-minutes: 20\n\n#  all-tests-logged-in-level-unit:\n#    runs-on: ubuntu-latest\n#    steps:\n#      - name: Check out repository code\n#        uses: actions/checkout@v3\n#\n#      - name: Setup Runhouse\n#        uses: ./.github/workflows/setup_runhouse\n#\n#      - name: Setup ~/.rh/config.yaml\n#        uses: ./.github/workflows/setup_rh_config\n#        with:\n#          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n#          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n#\n#      - name: pytest -v --level unit -k \"not den_auth\"\n#        env:\n#          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n#          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n#        run: pytest -v --level unit\n", "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:07.136624", "created_at": "2023-12-27T01:05:45+01:00", "updated_at": "2023-12-27T23:51:09+01:00", "name": "Local Den Unit Tests", "path": ".github/workflows/local_den_unit_tests.yaml", "contents": "name: Local Den Unit Tests\n\non: workflow_dispatch\n\njobs:\n  local-den-tests:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.TEST_AWS_ACCESS_KEY }}\n          aws-secret-access-key: ${{ secrets.TEST_AWS_SECRET_KEY }}\n          aws-region: us-east-1\n\n      - name: Start local MongoDB\n        uses: supercharge/mongodb-github-action@1.10.0\n        with:\n          mongodb-version: '4.0'\n\n      - name: Login to Amazon ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@v1\n\n      - name: Create env_file for Den container\n        run: |\n          echo \"JWT_SECRET_KEY=${{ secrets.JWT_SECRET_KEY }}\" >> env_file\n          echo \"ACCESS_TOKEN_EXPIRE_DAYS=${{ secrets.ACCESS_TOKEN_EXPIRE_DAYS }}\" >> env_file\n          echo \"TOKEN_URL=${{ secrets.TOKEN_URL }}\" >> env_file\n          echo \"GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }}\" >> env_file\n          echo \"GOOGLE_CLIENT_SECRET=${{ secrets.GOOGLE_CLIENT_SECRET }}\" >> env_file\n          echo \"GH_CLIENT_ID=${{ secrets.GH_CLIENT_ID }}\" >> env_file\n          echo \"GH_CLIENT_SECRET=${{ secrets.GH_CLIENT_SECRET }}\" >> env_file\n          echo \"SECRET_KEY=${{ secrets.SECRET_KEY }}\" >> env_file\n          echo \"VAULT_URL=${{ secrets.VAULT_URL }}\" >> env_file\n          echo \"VAULT_NAMESPACE=${{ secrets.VAULT_NAMESPACE }}\" >> env_file\n          echo \"VAULT_ROLE_ID=${{ secrets.VAULT_ROLE_ID }}\" >> env_file\n          echo \"VAULT_SECRET_ID=${{ secrets.VAULT_SECRET_ID }}\" >> env_file\n          echo \"DEV_MODE=true\" >> env_file\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup Runhouse Config\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.TEST_USERNAME }}\n          token: ${{ secrets.TEST_TOKEN }}\n\n      - name: Update Server URL in Runhouse Config\n        run: |\n          echo \"api_server_url: http://localhost:8000\" >> ~/.rh/config.yaml\n\n\n      # TODO: pull the latest \"prod\" tag from ECR\n      - name: Start Den container\n        run: |\n          docker run -d -p 8000:80 --env-file env_file ${{ secrets.ECR_URL }}/runhouse-auth:prod-61370a76\n\n      - name: Run unit tests\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n        run: pytest -v --level unit\n", "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:08.271673", "created_at": "2024-01-30T20:42:11+01:00", "updated_at": "2024-01-30T20:42:11+01:00", "name": "pytest -v --level local -k \"not secrettest and not servertest\"", "path": ".github/workflows/local_most_tests.yaml", "contents": null, "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:09.485782", "created_at": "2024-01-30T20:42:11+01:00", "updated_at": "2024-01-30T20:42:11+01:00", "name": "pytest -v --level local -k \"secrettest\"", "path": ".github/workflows/local_secret_tests.yaml", "contents": null, "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:10.746263", "created_at": "2024-02-15T20:59:26+01:00", "updated_at": "2024-02-16T12:50:03+01:00", "name": "Conda Environment Setup and Test", "path": ".github/workflows/release_precheck.yaml", "contents": "name: Conda Environment Setup and Test\n\non:\n  release:\n    types: [ created ]\n  workflow_dispatch:\n\n\njobs:\n  build-and-test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    - name: Setup Miniconda\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        auto-update-conda: true\n        python-version: ${{ matrix.python-version }}\n\n    - name: Create Conda environment\n      run: conda create --yes --name test-env python=${{ matrix.python-version }}\n\n    - name: Install current package in editable mode\n      run: |\n        source $CONDA/etc/profile.d/conda.sh\n        conda activate test-env\n        pip install -e .\n\n    - name: Test package import\n      run: |\n        source $CONDA/etc/profile.d/conda.sh\n        conda activate test-env\n        python -c \"import runhouse\"\n", "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:11.944656", "created_at": "2024-04-07T16:57:49+02:00", "updated_at": "2024-04-12T19:23:55+02:00", "name": "Tests with level \"local\" on Den Dev", "path": ".github/workflows/local_tests_den_dev.yaml", "contents": "name: Tests with level \"local\" on Den Dev\n\non:\n  workflow_dispatch:\n\nenv:\n  API_SERVER_URL: https://api-dev.run.house\n\njobs:\n  # TODO: THESE ARE ONLY SEPARATE JOBS BECAUSE THERE ARE\n  # DEVELOPMENT INCONSISTENCIES WHEN RUNNING ALL THE LOCAL\n  # TESTS TOGETHER.\n  # server-tests-logged-out-level-local:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - name: Check out repository code\n  #       uses: actions/checkout@v3\n\n  #     - name: Setup Runhouse\n  #       uses: ./.github/workflows/setup_runhouse\n\n  #     - name: pytest -v --level local tests/test_servers/\n  #       env:\n  #         TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n  #         TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n  #       run: pytest -v --level local tests/test_servers/\n\n  server-tests-logged-in-level-local:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup ~/.rh/config.yaml\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n          api_server_url: ${{ env.API_SERVER_URL }}\n\n\n      - name: pytest -v --level local tests/test_servers/\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n        run: pytest -v --level local tests/test_servers/ --api-server-url $API_SERVER_URL\n        timeout-minutes: 60\n\n  # most-tests-logged-out-level-local:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - name: Check out repository code\n  #       uses: actions/checkout@v3\n\n  #     - name: Setup Runhouse\n  #       uses: ./.github/workflows/setup_runhouse\n\n  #     - name: pytest -v --level local -k \"not servertest and not secrettest\"\n  #       env:\n  #         TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n  #         TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n  #       run: pytest -v --level local -k \"not servertest and not secrettest\"\n\n  most-tests-logged-in-level-local:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup ~/.rh/config.yaml\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n          api_server_url: ${{ env.API_SERVER_URL }}\n\n      - name: pytest -v --level local -k \"not servertest and not secrettest and not moduletest and not functiontest and not envtest\"\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n          ORG_MEMBER_TOKEN: ${{ secrets.ORG_MEMBER_TOKEN }}\n          ORG_MEMBER_USERNAME: ${{ secrets.ORG_MEMBER_USERNAME }}\n        run: pytest -v --level local -k \"not servertest and not secrettest and not moduletest and not functiontest and not envtest\" --api-server-url $API_SERVER_URL\n        timeout-minutes: 60\n\n  # secret-tests-logged-out-level-local:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - name: Check out repository code\n  #       uses: actions/checkout@v3\n\n  #     - name: Setup Runhouse\n  #       uses: ./.github/workflows/setup_runhouse\n\n  #     - name: pytest -v --level local -k \"secrettest\"\n  #       env:\n  #         TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n  #         TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n  #       run: pytest -v --level local -k \"secrettest\"\n\n  secret-tests-logged-in-level-local:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup ~/.rh/config.yaml\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n          api_server_url: ${{ env.API_SERVER_URL }}\n\n      - name: pytest -v --level local -k \"secrettest\"\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n          ORG_MEMBER_TOKEN: ${{ secrets.ORG_MEMBER_TOKEN }}\n          ORG_MEMBER_USERNAME: ${{ secrets.ORG_MEMBER_USERNAME }}\n        run: pytest -v --level local -k \"secrettest\" --api-server-url $API_SERVER_URL\n        timeout-minutes: 60\n\n  module-tests-logged-in-level-local:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup ~/.rh/config.yaml\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n          api_server_url: ${{ env.API_SERVER_URL }}\n\n      - name: pytest -v --level local -k \"moduletest\"\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n          ORG_MEMBER_TOKEN: ${{ secrets.ORG_MEMBER_TOKEN }}\n          ORG_MEMBER_USERNAME: ${{ secrets.ORG_MEMBER_USERNAME }}\n        run: pytest -v --level local -k \"moduletest\" --api-server-url $API_SERVER_URL\n        timeout-minutes: 60\n\n  function-tests-logged-in-level-local:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup ~/.rh/config.yaml\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n          api_server_url: ${{ env.API_SERVER_URL }}\n\n      - name: pytest -v --level local -k \"functiontest\"\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n          ORG_MEMBER_TOKEN: ${{ secrets.ORG_MEMBER_TOKEN }}\n          ORG_MEMBER_USERNAME: ${{ secrets.ORG_MEMBER_USERNAME }}\n        run: pytest -v --level local -k \"functiontest\" --api-server-url $API_SERVER_URL\n        timeout-minutes: 60\n\n  env-tests-logged-in-level-local:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Runhouse\n        uses: ./.github/workflows/setup_runhouse\n\n      - name: Setup ~/.rh/config.yaml\n        uses: ./.github/workflows/setup_rh_config\n        with:\n          username: ${{ secrets.CI_ACCOUNT_USERNAME }}\n          token: ${{ secrets.CI_ACCOUNT_TOKEN }}\n          api_server_url: ${{ env.API_SERVER_URL }}\n\n      - name: pytest -v --level local -k \"envtest\"\n        env:\n          TEST_TOKEN: ${{ secrets.TEST_TOKEN }}\n          TEST_USERNAME: ${{ secrets.TEST_USERNAME }}\n          ORG_MEMBER_TOKEN: ${{ secrets.ORG_MEMBER_TOKEN }}\n          ORG_MEMBER_USERNAME: ${{ secrets.ORG_MEMBER_USERNAME }}\n        run: pytest -v --level local -k \"envtest\" --api-server-url $API_SERVER_URL\n        timeout-minutes: 60\n", "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:12.926064", "created_at": "2024-07-10T10:20:13+02:00", "updated_at": "2024-07-10T10:20:13+02:00", "name": "Nightly Release Tests", "path": ".github/workflows/nightly_release_testing.yaml", "contents": null, "state": "active", "repository": "run-house/runhouse"}
{"mined_at": "2024-07-15T18:02:15.220583", "created_at": "2022-01-26T08:37:06+01:00", "updated_at": "2022-02-23T02:55:46+01:00", "name": "build-website", "path": ".github/workflows/build-website.yml", "contents": "name: build-website\n\non:\n  push:\n    branches: [ main, web_site, 'releases/**' ]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v2\n      -\n        name: Fetch tags\n        run: git fetch --all --tags\n      -\n        name: Build Website\n        run: /bin/bash web/build.sh\n      -\n        name: Deploy to GitHub Pages\n        if: success()\n        uses: crazy-max/ghaction-github-pages@v2\n        with:\n          target_branch: gh-pages\n          build_dir: web-build\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "exaworks/psij-python"}
{"mined_at": "2024-07-15T18:02:16.551991", "created_at": "2023-02-18T01:46:35+01:00", "updated_at": "2023-02-27T23:23:43+01:00", "name": "Codecov Action", "path": ".github/workflows/codecov.yml", "contents": "name: Codecov Action \n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    name: Test python API\n    steps:\n    - uses: actions/checkout@v1\n    - name: Install requirements\n      run: |\n        pip install -r requirements-tests.txt\n        pip install -r requirements-dev.txt\n    - name: Run tests and collect coverage\n      run: make coverage-tests\n    - name: Upload coverage reports to Codecov\n      run: |\n        # Replace `linux` below with the appropriate OS\n        # Options are `alpine`, `linux`, `macos`, `windows`\n        curl -Os https://uploader.codecov.io/latest/linux/codecov\n        chmod +x codecov\n        ./codecov -t ${CODECOV_TOKEN}\n", "state": "active", "repository": "exaworks/psij-python"}
{"mined_at": "2024-07-15T18:02:17.780582", "created_at": "2023-01-20T01:03:36+01:00", "updated_at": "2023-01-20T03:15:27+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "---\nname: Codespell\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: codespell-project/actions-codespell@master\n", "state": "active", "repository": "exaworks/psij-python"}
{"mined_at": "2024-07-15T18:02:18.960030", "created_at": "2021-03-30T18:50:10+02:00", "updated_at": "2024-02-25T02:20:54+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  lint:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.7, 3.8, 3.9, 3.10]\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install -r requirements-dev.txt\n        pip install -r requirements-connector-radical.txt\n    - name: Typecheck and stylecheck\n      run: |\n        make typecheck\n        make stylecheck\n    - name: Build docs\n      run: |\n        make docs\n\n  pytest:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Test with pytest\n      uses: addnab/docker-run-action@v3\n      with:\n        image: fluxrm/flux-core:focal\n        options: -v ${{ github.workspace }}:/workspace -u root\n        run: |\n          cd /workspace\n          echo \"Running in ${PWD}\"\n          sudo apt update\n          sudo apt install -y openssh-server openssh-client\n          mkdir -p \"$HOME/.ssh\"\n          chmod 0755 \"$HOME\"\n          chmod 0700 \"$HOME/.ssh\"\n          ssh-keygen -t rsa -q -f \"$HOME/.ssh/id_rsa\" -N \"\"\n          cat \"$HOME/.ssh/id_rsa.pub\" >> \"$HOME/.ssh/authorized_keys\"\n          chmod 600 \"$HOME/.ssh/authorized_keys\"\n          ls -la /etc/init.d/\n          sudo /etc/init.d/ssh start\n          pip install -r requirements.txt\n          pip install -r requirements-dev.txt\n          pip install -r requirements-connector-radical.txt\n          make launcher-scripts\n          make install\n          PYTHONPATH=$(flux env | grep PYTHONPATH | sed -E 's/.*PYTHONPATH=\"(.*)\"/\\1/') OMPI_ALLOW_RUN_AS_ROOT=1 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 make tests\n", "state": "active", "repository": "exaworks/psij-python"}
{"mined_at": "2024-07-15T18:02:20.238423", "created_at": "2022-02-12T03:13:59+01:00", "updated_at": "2022-02-16T21:25:31+01:00", "name": "Project automations", "path": ".github/workflows/sync-project.yaml", "contents": "name: Project automations\n\non:\n  issues:\n    types:\n      - opened\n  pull_request:\n    types:\n      - opened\n\njobs:\n  issue_opened:\n    name: issue_opened\n    runs-on: ubuntu-latest\n    if: github.event_name == 'issues' && github.event.action == 'opened'\n    steps:\n      - name: 'Move issue to Todo'\n        uses: leonsteinhaeuser/project-beta-automations@v1.2.0\n        with:\n          gh_app_secret_key: ${{ secrets.GH_APP_SECRET_KEY }}\n          gh_app_ID: ${{ secrets.GH_APP_ID }}\n          gh_app_installation_ID: ${{ secrets.GH_APP_INSTALLATION_ID }}\n          organization: exaworks\n          project_id: 1\n          resource_node_id: ${{ github.event.issue.node_id }}\n          status_value: \"Todo\"\n\n  pr_opened:\n    name: pr_opened\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request' && github.event.action == 'opened'\n    steps:\n      - name: 'Move PR to \"In Progress\"'\n        uses: leonsteinhaeuser/project-beta-automations@v1.2.0\n        with:\n          gh_app_secret_key: ${{ secrets.GH_APP_SECRET_KEY }}\n          gh_app_ID: ${{ secrets.GH_APP_ID }}\n          gh_app_installation_ID: ${{ secrets.GH_APP_INSTALLATION_ID }}\n          organization: exaworks\n          project_id: 1\n          resource_node_id: ${{ github.event.pull_request.node_id }}\n          status_value: \"In Progress\"\n", "state": "active", "repository": "exaworks/psij-python"}
{"mined_at": "2024-07-15T18:02:21.236958", "created_at": "2024-07-01T01:20:35+02:00", "updated_at": "2024-07-01T01:20:35+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "exaworks/psij-python"}
{"mined_at": "2024-07-15T18:02:22.252036", "created_at": "2022-01-22T00:16:04+01:00", "updated_at": "2022-01-22T00:16:04+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "exaworks/psij-python"}
{"mined_at": "2024-07-15T18:02:24.436672", "created_at": "2023-06-16T12:22:37+02:00", "updated_at": "2023-06-16T12:22:37+02:00", "name": "Add issues to project", "path": ".github/workflows/add_issue_to_project.yml", "contents": "name: Add issues to project\n\non:\n  workflow_call:\n \njobs:\n  add-to-project:\n    name: Add issue to project\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v0.6.1\n        with:\n          # You can target a project in a different organization\n          # to the issue\n          project-url: https://github.com/orgs/RECETOX/projects/15\n          github-token: ${{ secrets.PROJECT_AUTOMATION_PERSONAL_TOKEN_HH }}\n", "state": "active", "repository": "recetox/galaxytools"}
{"mined_at": "2024-07-15T18:02:25.494336", "created_at": "2020-08-14T14:13:29+02:00", "updated_at": "2020-08-14T14:13:29+02:00", "name": "Weekly global Tool Linting and Tests", "path": ".github/workflows/ci.yaml", "contents": "name: Weekly global Tool Linting and Tests\non:\n  workflow_dispatch:\n  schedule:\n    # Run at midnight every monday\n    - cron: '0 0 * * 1'\n  repository_dispatch:\n    types: [run-all-tool-tests-command]\nenv:\n  GALAXY_FORK: galaxyproject\n  GALAXY_BRANCH: release_24.0\n  MAX_CHUNKS: 40\njobs:\n  setup:\n    name: Setup cache and determine changed repositories\n    if: ${{ github.repository_owner == 'RECETOX' }}\n    runs-on: ubuntu-latest\n    outputs:\n      galaxy-head-sha: ${{ steps.get-galaxy-sha.outputs.galaxy-head-sha }}\n      fork: ${{ steps.get-fork-branch.outputs.fork }}\n      branch: ${{ steps.get-fork-branch.outputs.branch }}\n      repository-list: ${{ steps.discover.outputs.repository-list }}\n      chunk-count: ${{ steps.discover.outputs.chunk-count }}\n      chunk-list: ${{ steps.discover.outputs.chunk-list }}\n    strategy:\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - name: Add reaction\n      if: ${{ github.event.client_payload.slash_command.command == 'run-all-tool-tests' }}\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.PAT }}\n        repository: ${{ github.event.client_payload.github.payload.repository.full_name }}\n        comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n        reaction-type: hooray\n    - name: Set galaxy fork and branch\n      id: get-fork-branch\n      run: |\n        TMP=\"${{ github.event.client_payload.slash_command.args.named.fork }}\"\n        echo \"fork=${TMP:-$GALAXY_FORK}\" >> $GITHUB_OUTPUT\n        TMP=\"${{ github.event.client_payload.slash_command.args.named.branch }}\"\n        echo \"branch=${TMP:-$GALAXY_BRANCH}\" >> $GITHUB_OUTPUT\n    - name: Determine latest commit in the Galaxy repo\n      id: get-galaxy-sha\n      run: echo \"galaxy-head-sha=$(git ls-remote https://github.com/${{ steps.get-fork-branch.outputs.fork }}/galaxy refs/heads/${{ steps.get-fork-branch.outputs.branch }} | cut -f1)\" >> $GITHUB_OUTPUT\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ steps.get-galaxy-sha.outputs.galaxy-head-sha }}\n    # Install the `wheel` package so that when installing other packages which\n    # are not available as wheels, pip will build a wheel for them, which can be cached.\n    - name: Install wheel\n      run: pip install wheel\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - name: Fake a Planemo run to update cache and determine commit range, repositories, and chunks\n      uses: galaxyproject/planemo-ci-action@v1\n      id: discover\n      with:\n        create-cache: ${{ steps.cache-pip.outputs.cache-hit != 'true' || steps.cache-planemo.outputs.cache-hit != 'true' }}\n        galaxy-fork: ${{ steps.get-fork-branch.outputs.fork }}\n        galaxy-branch: ${{ steps.get-fork-branch.outputs.branch }}\n        max-chunks: ${{ env.MAX_CHUNKS }}\n        python-version: ${{ matrix.python-version }}\n    - name: Show repository list\n      run: echo '${{ steps.discover.outputs.repository-list }}'\n    - name: Show chunks\n      run: |\n        echo 'Using ${{ steps.discover.outputs.chunk-count }} chunks (${{ steps.discover.outputs.chunk-list }})'\n\n  lint:\n    name: Check for missing containers\n    needs: setup\n    if: ${{ needs.setup.outputs.repository-list != '' || needs.setup.outputs.tool-list != '' }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Planemo lint\n      uses: galaxyproject/planemo-ci-action@v1\n      id: lint\n      with:\n        mode: lint\n        repository-list: ${{ needs.setup.outputs.repository-list }}\n        tool-list: ${{ needs.setup.outputs.tool-list }}\n        additional-planemo-options: --biocontainers -s tests,output,inputs,help,general,command,citations,tool_xsd\n    - uses: actions/upload-artifact@v4\n      if: ${{ failure() }}\n      with:\n        name: 'Tool linting output'\n        path: lint_report.txt1\n\n  test:\n    name: Test tools\n    # This job runs on Linux\n    runs-on: ubuntu-latest\n    needs: setup\n    if: ${{ needs.setup.outputs.repository-list != '' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        chunk: ${{ fromJson(needs.setup.outputs.chunk-list) }}\n        python-version: ['3.11']\n    services:\n      postgres:\n        image: postgres:11\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n    steps:\n    # checkout the repository\n    # and use it as the current working directory\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Get number of CPU cores\n      uses: SimenB/github-actions-cpu-cores@v2\n      id: cpu-cores\n    - name: Clean dotnet folder for space\n      run: rm -Rf /usr/share/dotnet\n    - name: Planemo test\n      uses: galaxyproject/planemo-ci-action@v1\n      id: test\n      with:\n        mode: test\n        repository-list: ${{ needs.setup.outputs.repository-list }}\n        galaxy-fork: ${{ needs.setup.outputs.fork }}\n        galaxy-branch: ${{ needs.setup.outputs.branch }}\n        chunk: ${{ matrix.chunk }}\n        chunk-count: ${{ needs.setup.outputs.chunk-count }}\n        galaxy-slots: ${{ steps.cpu-cores.outputs.count }}\n        # Limit each test to 15 minutes\n        test_timeout: 900\n    - uses: actions/upload-artifact@v4\n      with:\n        name: 'Tool test output ${{ matrix.chunk }}'\n        path: upload\n\n  # - combine the results of the test chunks (which will never fail due\n  #   to `|| true`) and create a global test report as json and html which\n  #   is provided as artifact\n  # - check if any tool test actually failed (by lookup in the combined json)\n  #   and fail this step if this is the case\n  combine_outputs:\n    name: Combine chunked test results\n    needs: [setup, test]\n    strategy:\n      matrix:\n        python-version: ['3.11']\n    # This job runs on Linux\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        path: artifacts\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Combine outputs\n      uses: galaxyproject/planemo-ci-action@v1\n      id: combine\n      with:\n        mode: combine\n        html-report: true\n    - uses: actions/upload-artifact@v4\n      with:\n        name: 'All tool test results'\n        path: upload\n    - name: Create URL to the run output\n      if: ${{ github.event.client_payload.slash_command.command == 'run-all-tool-tests' }}\n      id: vars\n      run: echo \"run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\" >> $GITHUB_OUTPUT\n\n    - name: Create comment\n      if: ${{ github.event.client_payload.slash_command.command == 'run-all-tool-tests' }}\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.PAT }}\n        repository: ${{ github.event.client_payload.github.payload.repository.full_name }}\n        issue-number: ${{ github.event.client_payload.github.payload.issue.number }}\n        body: |\n          Summary:\n\n          ${{ steps.combine.outputs.statistics }}\n\n          [Find all tool test results here][1]\n\n          [1]: ${{ steps.vars.outputs.run-url }}\n    - name: Check outputs\n      uses: galaxyproject/planemo-ci-action@v1\n      id: check\n      with:\n        mode: check\n", "state": "active", "repository": "recetox/galaxytools"}
{"mined_at": "2024-07-15T18:02:26.580707", "created_at": "2020-08-14T14:13:29+02:00", "updated_at": "2020-08-14T14:13:29+02:00", "name": "Galaxy Tool Linting and Tests for push and PR", "path": ".github/workflows/pr.yaml", "contents": "name: Galaxy Tool Linting and Tests for push and PR\non:\n  workflow_dispatch:\n  pull_request:\n    paths-ignore:\n      - '.github/**'\n      - 'deprecated/**'\n      - 'docs/**'\n      - '*'\n  push:\n    branches:\n      - main\n      - master\n    paths-ignore:\n      - '.github/**'\n      - 'deprecated/**'\n      - 'docs/**'\n      - '*'\nenv:\n  GALAXY_FORK: galaxyproject\n  GALAXY_BRANCH: release_24.0\n  MAX_CHUNKS: 4\n  MAX_FILE_SIZE: 1M\nconcurrency:\n  # Group runs by PR, but keep runs on the default branch separate\n  # because we do not want to cancel ToolShed uploads\n  group: pr-${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && github.run_number || github.ref }}\n  cancel-in-progress: true\njobs:\n  # the setup job does two things:\n  # 1. cache the pip cache and .planemo\n  # 2. determine the list of changed repositories\n  # it produces one artifact which contains\n  # - a file with the latest SHA from the chosen branch of the Galaxy repo\n  # - a file containing the list of changed repositories\n  # which are needed in subsequent steps.\n  setup:\n    name: Setup cache and determine changed repositories\n    runs-on: ubuntu-latest\n    outputs:\n      galaxy-head-sha: ${{ steps.get-galaxy-sha.outputs.galaxy-head-sha }}\n      repository-list: ${{ steps.discover.outputs.repository-list }}\n      tool-list: ${{ steps.discover.outputs.tool-list }}\n      chunk-count: ${{ steps.discover.outputs.chunk-count }}\n      chunk-list: ${{ steps.discover.outputs.chunk-list }}\n      commit-range: ${{ steps.discover.outputs.commit-range }}\n    strategy:\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - name: Print github context properties\n      run: |\n        echo 'event: ${{ github.event_name }}'\n        echo 'sha: ${{ github.sha }}'\n        echo 'ref: ${{ github.ref }}'\n        echo 'head_ref: ${{ github.head_ref }}'\n        echo 'base_ref: ${{ github.base_ref }}'\n        echo 'event.before: ${{ github.event.before }}'\n        echo 'event.after: ${{ github.event.after }}'\n    - name: Determine latest commit in the Galaxy repo\n      id: get-galaxy-sha\n      run: echo \"galaxy-head-sha=$(git ls-remote https://github.com/${{ env.GALAXY_FORK }}/galaxy refs/heads/${{ env.GALAXY_BRANCH }} | cut -f1)\" >> $GITHUB_OUTPUT\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ steps.get-galaxy-sha.outputs.galaxy-head-sha }}\n    - name: Cache .planemo\n      uses: actions/cache@v4\n      id: cache-planemo\n      with:\n        path: ~/.planemo\n        key: planemo_cache_py_${{ matrix.python-version }}_gxy_${{ steps.get-galaxy-sha.outputs.galaxy-head-sha }}\n    # Install the `wheel` package so that when installing other packages which\n    # are not available as wheels, pip will build a wheel for them, which can be cached.\n    - name: Install wheel\n      run: pip install wheel\n    - name: Install flake8\n      run: pip install flake8 flake8-import-order\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Fake a Planemo run to update cache and determine commit range, repositories, and chunks\n      uses: galaxyproject/planemo-ci-action@v1\n      id: discover\n      with:\n        create-cache: ${{ steps.cache-pip.outputs.cache-hit != 'true' || steps.cache-planemo.outputs.cache-hit != 'true' }}\n        galaxy-fork: ${{ env.GALAXY_FORK }}\n        galaxy-branch: ${{ env.GALAXY_BRANCH }}\n        max-chunks: ${{ env.MAX_CHUNKS }}\n        python-version: ${{ matrix.python-version }}\n    - name: Show commit range\n      run: echo '${{ steps.discover.outputs.commit-range }}'\n    - name: Show repository list\n      run: echo '${{ steps.discover.outputs.repository-list }}'\n    - name: Show tool list\n      run: echo '${{ steps.discover.outputs.tool-list }}'\n    - name: Show chunks\n      run: |\n        echo 'Using ${{ steps.discover.outputs.chunk-count }} chunks (${{ steps.discover.outputs.chunk-list }})'\n\n  # Planemo lint the changed repositories\n  lint:\n    name: Lint tool-list\n    needs: setup\n    if: ${{ needs.setup.outputs.repository-list != '' || needs.setup.outputs.tool-list != '' }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n\n    - name: Set fail level for pull request\n      if: ${{ github.event_name == 'pull_request' }}\n      run:\n        echo \"FAIL_LEVEL=warn\" >> \"$GITHUB_ENV\"\n    - name: Set fail level for merge\n      if: ${{ github.event_name != 'pull_request' }}\n      run:\n        echo \"FAIL_LEVEL=error\" >> \"$GITHUB_ENV\"\n    - name: Planemo lint\n      uses: galaxyproject/planemo-ci-action@v1\n      id: lint\n      with:\n        mode: lint\n        fail-level: ${{ env.FAIL_LEVEL }}\n        repository-list: ${{ needs.setup.outputs.repository-list }}\n        tool-list: ${{ needs.setup.outputs.tool-list }}\n    - uses: actions/upload-artifact@v4\n      if: ${{ failure() }}\n      with:\n        name: 'Tool linting output'\n        path: lint_report.txt\n\n  # flake8 of Python scripts in the changed repositories\n  flake8:\n    name: Lint Python scripts\n    needs: setup\n    if: ${{ github.event_name == 'pull_request' && needs.setup.outputs.repository-list != '' }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Install flake8\n      run: pip install flake8 flake8-import-order\n    - name: Flake8\n      run: echo '${{ needs.setup.outputs.repository-list }}' | xargs -d '\\n' flake8 --output-file pylint_report.txt --tee\n    - uses: actions/upload-artifact@v4\n      if: ${{ failure() }}\n      with:\n        name: 'Python linting output'\n        path: pylint_report.txt\n\n  lintr:\n    name: Lint R scripts\n    needs: setup\n    if: ${{ needs.setup.outputs.repository-list != '' }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04]\n        r-version: ['release']\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - uses: r-lib/actions/setup-r@v2\n      with:\n        r-version: ${{ matrix.r-version }}\n    - name: Cache R packages\n      uses: actions/cache@v4\n      with:\n        path: ${{ env.R_LIBS_USER }}\n        key: r_cache_${{ matrix.os }}_${{ matrix.r-version }}\n    - name: Install packages\n      uses: r-lib/actions/setup-r-dependencies@v2\n      with:\n        packages: |\n          any::argparse \n          any::styler\n    - name: lintr\n      run: |\n        set -eo pipefail\n        echo '${{ needs.setup.outputs.repository-list }}' | xargs -d '\\n' -n 1 ./.github/styler.R --dry off\n        git status\n        git diff --exit-code | tee rlint_report.txt\n    - uses: actions/upload-artifact@v4\n      if: ${{ failure() }}\n      with:\n        name: 'R linting output'\n        path: rlint_report.txt\n\n  file_sizes:\n    name: Check file sizes\n    needs: setup\n    if: ${{ github.event_name == 'pull_request' && needs.setup.outputs.repository-list != '' }}\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Check file sizes\n      run: |\n        touch file_size_report.txt\n        git diff --diff-filter=d --name-only ${{ needs.setup.outputs.commit-range }} > git.diff\n        while read line; do\n          find \"$line\" -type f -size +${{ env.MAX_FILE_SIZE }} >> file_size_report.txt\n        done < git.diff\n        if [[ -s file_size_report.txt ]]; then\n          echo \"Files larger than ${{ env.MAX_FILE_SIZE }} found\"\n          cat file_size_report.txt\n          exit 1\n        fi\n    - uses: actions/upload-artifact@v4\n      if: ${{ failure() }}\n      with:\n        name: 'File size report'\n        path: file_size_report.txt\n\n  # Planemo test the changed repositories, each chunk creates an artifact\n  # containing HTML and JSON reports for the executed tests\n  test:\n    name: Test tools\n    needs: setup\n    if: ${{ needs.setup.outputs.repository-list != '' }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        chunk: ${{ fromJson(needs.setup.outputs.chunk-list) }}\n        python-version: ['3.11']\n    services:\n      postgres:\n        image: postgres:11\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Cache .planemo\n      uses: actions/cache@v4\n      id: cache-planemo\n      with:\n        path: ~/.planemo\n        key: planemo_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Get number of CPU cores\n      uses: SimenB/github-actions-cpu-cores@v2\n      id: cpu-cores\n    - name: Clean dotnet folder for space\n      run: rm -Rf /usr/share/dotnet\n    - name: Planemo test\n      uses: galaxyproject/planemo-ci-action@v1\n      id: test\n      with:\n        mode: test\n        repository-list: ${{ needs.setup.outputs.repository-list }}\n        galaxy-fork: ${{ env.GALAXY_FORK }}\n        galaxy-branch: ${{ env.GALAXY_BRANCH }}\n        chunk: ${{ matrix.chunk }}\n        chunk-count: ${{ needs.setup.outputs.chunk-count }}\n        galaxy-slots: ${{ steps.cpu-cores.outputs.count }}\n        # Limit each test to 15 minutes\n        test_timeout: 900\n    - uses: actions/upload-artifact@v4\n      with:\n        name: 'Tool test output ${{ matrix.chunk }}'\n        path: upload\n\n  # - combine the results of the test chunks (which will never fail due\n  #   to `|| true`) and create a global test report as json and html which\n  #   is provided as artifact\n  # - check if any tool test actually failed (by lookup in the combined json)\n  #   and fail this step if this is the case\n  combine_outputs:\n    name: Combine chunked test results\n    needs: [setup, test]\n    if: ${{ always() && needs.setup.outputs.repository-list != '' }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - uses: actions/download-artifact@v4\n      with:\n        path: artifacts\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Combine outputs\n      uses: galaxyproject/planemo-ci-action@v1\n      id: combine\n      with:\n        mode: combine\n        html-report: true\n    - uses: actions/upload-artifact@v4\n      with:\n        name: 'All tool test results'\n        path: upload\n    - name: Check outputs\n      uses: galaxyproject/planemo-ci-action@v1\n      id: check\n      with:\n        mode: check\n    - name: Check if all test chunks succeeded\n      run: |\n        NFILES=$(ls artifacts/ | grep \"Tool test output\" | wc -l)\n        if [[ \"${{ needs.setup.outputs.chunk-count }}\" != \"$NFILES\" ]]; then\n          exit 1\n        fi\n\n  # deploy the tools to the toolsheds (first TTS for testing)\n  deploy:\n    name: Deploy\n    needs: [setup, lint, combine_outputs]\n    if: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' ) && github.repository_owner == 'RECETOX' }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.11']\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 1\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache .cache/pip\n      uses: actions/cache@v4\n      id: cache-pip\n      with:\n        path: ~/.cache/pip\n        key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}\n    - name: Deploy on testtoolshed\n      uses: galaxyproject/planemo-ci-action@v1\n      with:\n        mode: deploy\n        repository-list: ${{ needs.setup.outputs.repository-list }}\n        shed-target: testtoolshed\n        shed-key: ${{ secrets.TTS_API_KEY }}\n      continue-on-error: true\n    - name: Deploy on toolshed\n      uses: galaxyproject/planemo-ci-action@v1\n      with:\n        mode: deploy\n        repository-list: ${{ needs.setup.outputs.repository-list }}\n        shed-target: toolshed\n        shed-key: ${{ secrets.TS_API_KEY }}\n\n  deploy-report:\n    name: Report deploy status\n    needs: [deploy]\n    if: ${{ always() && needs.deploy.result != 'success' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' ) && github.repository_owner == 'RECETOX' }}\n    runs-on: ubuntu-latest\n    steps:\n    # report to the PR if deployment failed\n    - name: Get PR object\n      uses: 8BitJonny/gh-get-current-pr@3.0.0\n      id: getpr\n      with:\n        sha: ${{ github.event.after }}\n    - name: Create comment\n      uses: peter-evans/create-or-update-comment@v4\n      with:\n        token: ${{ secrets.PAT }}\n        issue-number: ${{ steps.getpr.outputs.number }}\n        body: |\n          Attention: deployment ${{ needs.deploy.result }}!\n\n          https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\n\n  determine-success:\n    name: Check workflow success\n    needs: [setup, lint, flake8, lintr, file_sizes, combine_outputs]\n    if: ${{ always() && github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main' }}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check tool lint status\n      if: ${{ needs.lint.result != 'success' && needs.flake8.result != 'skipped' }}\n      run: exit 1\n    - name: Indicate Python script lint status\n      if: ${{ needs.flake8.result != 'success' && needs.flake8.result != 'skipped' }}\n      run: exit 1\n    - name: Indicate R script lint status\n      if: ${{ needs.lintr.result != 'success' && needs.lintr.result != 'skipped' }}\n      run: exit 1\n    - name: Indicate file size check status\n      if: ${{ needs.file_sizes.result != 'success' && needs.file_sizes.result != 'skipped' }}\n      run: exit 1\n    - name: Check tool test status\n      if: ${{ needs.combine_outputs.result != 'success' && needs.combine_outputs.result != 'skipped' }}\n      run: exit 1\n", "state": "active", "repository": "recetox/galaxytools"}
{"mined_at": "2024-07-15T18:02:27.590087", "created_at": "2023-06-16T12:28:55+02:00", "updated_at": "2023-06-16T12:31:51+02:00", "name": "Add issues to project", "path": ".github/workflows/project_automation.yaml", "contents": "name: Add issues to project\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  call-workflow:\n    uses: recetox/galaxytools/.github/workflows/add_issue_to_project.yml@master\n    secrets: inherit\n", "state": "active", "repository": "recetox/galaxytools"}
{"mined_at": "2024-07-15T18:02:28.737146", "created_at": "2020-11-18T21:21:29+01:00", "updated_at": "2021-01-18T19:42:25+01:00", "name": "Slash Command Dispatch", "path": ".github/workflows/slash.yaml", "contents": "name: Slash Command Dispatch\non:\n  issue_comment:\n    types: [created]\njobs:\n  slashCommandDispatch:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Slash Command Dispatch\n        if: github.repository_owner == 'RECETOX'\n        uses: peter-evans/slash-command-dispatch@v4\n        with:\n          token: ${{ secrets.PAT }}\n          commands: |\n            run-all-tool-tests\n", "state": "active", "repository": "recetox/galaxytools"}
{"mined_at": "2024-07-15T18:02:30.888103", "created_at": "2023-06-30T16:02:53+02:00", "updated_at": "2024-02-15T10:28:43+01:00", "name": "Build documentation", "path": ".github/workflows/build_docs.yml", "contents": "name: Build documentation\n\non:\n  push:\n    branches:    \n      - main\n  pull_request:\n  workflow_dispatch:\n    \n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n        \n    - name: Install modelskill\n      run: |\n        pip install .[dev]\n    \n    - name: Mkdocs build\n      run: mkdocs build\n", "state": "active", "repository": "dhi/modelskill"}
{"mined_at": "2024-07-15T18:02:32.116868", "created_at": "2021-03-29T15:54:32+02:00", "updated_at": "2023-06-30T16:06:27+02:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non:\n  push:\n    branches:    \n      - main\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n        \n    - name: Install modelskill\n      run: pip install .[dev]\n    \n    - name: MkDocs\n      run: mkdocs build\n    \n    - name: Deploy to GitHub Pages\n      uses: peaceiris/actions-gh-pages@v3\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: site\n      ", "state": "active", "repository": "dhi/modelskill"}
{"mined_at": "2024-07-15T18:02:33.214127", "created_at": "2023-12-03T12:03:18+01:00", "updated_at": "2023-12-03T12:07:23+01:00", "name": "Paper Draft", "path": ".github/workflows/draft-pdf.yml", "contents": null, "state": "active", "repository": "dhi/modelskill"}
{"mined_at": "2024-07-15T18:02:34.360863", "created_at": "2023-12-07T07:54:10+01:00", "updated_at": "2023-12-07T07:54:10+01:00", "name": "Draft PR Test", "path": ".github/workflows/draft_test.yml", "contents": null, "state": "active", "repository": "dhi/modelskill"}
{"mined_at": "2024-07-15T18:02:35.495175", "created_at": "2021-02-02T16:33:42+01:00", "updated_at": "2021-02-02T16:33:42+01:00", "name": "Full test", "path": ".github/workflows/full_test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Full test\n\non:\n  push:\n    branches: [ main]\n  pull_request:\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.9\", \"3.10\",\"3.11\"]      \n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: chartboost/ruff-action@v1 # Fail fast if there are any linting errors\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest pytest-cov\n        \n    - name: Install modelskill\n      run: |\n        pip install .[test]\n    - name: Static type check\n      run: make typecheck\n    - name: Test with pytest\n      run: |\n        pytest --cov=modelskill --ignore tests/notebooks/\n    - name: Test docstrings with pytest\n      run: |\n        pytest ./modelskill/metrics.py --doctest-modules\n", "state": "active", "repository": "dhi/modelskill"}
{"mined_at": "2024-07-15T18:02:36.643824", "created_at": "2024-02-05T17:27:06+01:00", "updated_at": "2024-02-09T16:53:33+01:00", "name": "Legacy test", "path": ".github/workflows/legacy_test.yml", "contents": "name: Legacy test\n\non: \n    push:\n        branches:\n            - main\n    pull_request:\n        branches:\n            - main\n\njobs:\n    test:\n        runs-on: ubuntu-latest\n        \n        steps:\n        - uses: actions/checkout@v3\n        - name: Set up Python\n          uses: actions/setup-python@v4\n          with:\n            python-version: 3.8\n\n        - name: Install older dependencies\n          run: |\n            python -m pip install --upgrade pip\n            pip install -r requirements_min.txt\n            pip install pytest\n\n        - name: Install modelskill\n          run: |\n            pip install .[test]\n        - name: Test with pytest\n          run: |\n            pytest --ignore tests/notebooks/\n", "state": "active", "repository": "dhi/modelskill"}
{"mined_at": "2024-07-15T18:02:37.851068", "created_at": "2021-11-02T17:51:12+01:00", "updated_at": "2021-11-03T08:52:48+01:00", "name": "Notebooks test", "path": ".github/workflows/notebooks_test.yml", "contents": "name: Notebooks test\n\non:\n  push:\n    branches: [ main]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'    \n    - name: Install modelskill\n      run: |\n        pip install .[test,notebooks]    \n    - name: Test notebooks    \n      run: |\n        pytest --durations=0 tests/notebooks/\n", "state": "active", "repository": "dhi/modelskill"}
{"mined_at": "2024-07-15T18:02:38.961607", "created_at": "2021-03-29T16:10:19+02:00", "updated_at": "2023-10-05T09:10:58+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "name: Upload Python Package\n\non:\n  release:\n    types: [created]\n  workflow_dispatch:\n    \njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build wheel twine\n    - name: Install modelskill\n      run: pip install .[test]\n    - name: Test\n      run: pytest\n    - name: Build  \n      run: python -m build\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "dhi/modelskill"}
{"mined_at": "2024-07-15T18:02:40.009558", "created_at": "2021-07-02T16:31:25+02:00", "updated_at": "2021-07-02T16:31:25+02:00", "name": "Scheduled test", "path": ".github/workflows/scheduled_test.yml", "contents": "name: Scheduled test\n\non:\n  workflow_dispatch:\n\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    - cron:  '0 5 */3 * *'\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [3.8, 3.9, \"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install modelskill\n      run: |\n        pip install .[test]\n    - name: Test with pytest\n      run: |\n        pytest --ignore tests/notebooks/\n", "state": "active", "repository": "dhi/modelskill"}
{"mined_at": "2024-07-15T18:02:41.098869", "created_at": "2022-01-11T17:59:30+01:00", "updated_at": "2022-01-11T17:59:30+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "dhi/modelskill"}
{"mined_at": "2024-07-15T18:02:43.380976", "created_at": "2023-09-29T15:25:04+02:00", "updated_at": "2024-06-05T20:33:18+02:00", "name": "coverage", "path": ".github/workflows/coverage.yaml", "contents": null, "state": "active", "repository": "google/temporian"}
{"mined_at": "2024-07-15T18:02:44.712816", "created_at": "2023-02-09T19:02:20+01:00", "updated_at": "2024-01-31T21:08:23+01:00", "name": "formatting", "path": ".github/workflows/formatting.yaml", "contents": "name: formatting\n\non: [push, pull_request]\n\njobs:\n  formatting:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n          cache: \"poetry\"\n\n      - name: Install dependencies\n        run: poetry install --no-interaction\n\n      - name: Check format with black\n        run: poetry run black --check .\n", "state": "active", "repository": "google/temporian"}
{"mined_at": "2024-07-15T18:02:45.941856", "created_at": "2023-05-17T17:59:55+02:00", "updated_at": "2023-10-10T17:51:16+02:00", "name": "publish", "path": ".github/workflows/publish.yaml", "contents": "name: publish\n\non:\n  release:\n    types: [published] # Runs both for releases and prereleases\n\njobs:\n  test:\n    uses: google/temporian/.github/workflows/test.yaml@main\n    secrets: inherit\n\n  build-linux:\n    runs-on: ubuntu-latest\n    container: gcr.io/tfx-oss-public/manylinux2014-bazel:bazel-5.3.0\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3  # v4 doesn't work on the container\n\n      - name: Build package\n        run: |\n          version=\"${{ matrix.python-version }}\"\n          versionstr=${version//./}\n          PYTHON_VERSION=$versionstr ./tools/build_manylinux.sh\n\n      - name: Save package for following jobs\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist-ubuntu-${{ matrix.python-version }}\n          path: dist\n\n  # macos-XXX-large are Intel runners, macos-XXX-xlarge are arm64 runners\n  # https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/about-larger-runners\n  build-macos-intel:\n    runs-on: ${{ matrix.platform.runner }}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        platform:\n          [\n            { runner: macos-12-large, artifact: macos12-intel },\n            { runner: macos-13-large, artifact: macos13-intel },\n            { runner: macos-14-large, artifact: macos14-intel },\n          ]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install poetry\n        run: pip install poetry\n\n      - name: Build package\n        run: poetry build\n\n      - name: Save package for following jobs\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist-${{ matrix.platform.artifact }}-${{ matrix.python-version }}\n          path: dist\n\n  build-macos-arm:\n    runs-on: ${{ matrix.platform.runner }}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        platform:\n          [\n            # there is not runner for macos12 on arm\n            { runner: macos-13-xlarge, artifact: macos-13-arm },\n            { runner: macos-14-xlarge, artifact: macos-14-arm }\n          ]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      # actions/setup-python doesn't support py < 3.10 on macos arm\n      # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n\n      - name: Install Python\n        run: |\n          brew update\n          brew install python@${{ matrix.python-version }}\n\n      - name: Install pip\n        run: |\n          curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py\n          python${{ matrix.python-version }} get-pip.py\n\n      - name: Install poetry\n        run: pip install poetry\n\n      - name: Build package\n        run: poetry build\n\n      - name: Save package for following jobs\n        uses: actions/upload-artifact@v3\n        with:\n          name: dist-${{ matrix.platform.artifact }}-${{ matrix.python-version }}\n          path: dist\n\n  test-install:\n    needs: [build-linux, build-macos-intel]\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        platform:\n          [\n            { runner: ubuntu-latest, artifact: ubuntu },\n            { runner: macos-12-large, artifact: macos12-intel },\n            { runner: macos-13-large, artifact: macos13-intel },\n            { runner: macos-14-large, artifact: macos14-intel },\n          ]\n    runs-on: ${{ matrix.platform.runner }}\n    env:\n      # Workaround for macos pip compatibility issue\n      # See https://github.com/actions/setup-python/issues/469\n      SYSTEM_VERSION_COMPAT: 0\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Download build\n        uses: actions/download-artifact@v3\n        with:\n          name: dist-${{ matrix.platform.artifact }}-${{ matrix.python-version }}\n          path: dist\n\n      - name: Install from wheel\n        run: pip install dist/*.whl\n\n      - name: Test installation\n        run: python tools/check_install.py\n\n  test-macos-arm-install:\n    needs: [build-macos-arm]\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        platform:\n          [\n            { runner: macos-13-xlarge, artifact: macos-13-arm },\n            { runner: macos-14-xlarge, artifact: macos-14-arm }\n          ]\n    runs-on: ${{ matrix.platform.runner }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Install Python\n        run: |\n          brew update\n          brew install python@${{ matrix.python-version }}\n\n      - name: Install pip\n        run: |\n          curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py\n          python${{ matrix.python-version }} get-pip.py\n\n      - name: Download build\n        uses: actions/download-artifact@v3\n        with:\n          name: dist-${{ matrix.platform.artifact }}-${{ matrix.python-version }}\n          path: dist\n\n      - name: Install from wheel\n        run: pip install dist/*.whl\n\n      - name: Test installation\n        run: python${{ matrix.python-version }} tools/check_install.py\n\n  publish:\n    needs: [test, test-install, test-macos-arm-install]\n    runs-on: ubuntu-latest\n    environment: pypi\n    env:\n      POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Install poetry\n        run: pip install poetry\n\n      - name: Download builds for all Python versions and platforms\n        uses: actions/download-artifact@v3\n        with:\n          # Skipping `name` key to download all artifacts from this workflow\n          # Artifacts are downloaded to dist/<artifact-name>\n          path: dist\n\n      - name: Move wheels and sources to dist/\n        run: |\n          mv dist/*/*.whl dist/\n          mv -n dist/*/*.tar.gz dist/\n\n      - name: Publish to PyPI\n        run: poetry publish --no-interaction --skip-existing\n", "state": "active", "repository": "google/temporian"}
{"mined_at": "2024-07-15T18:02:47.170388", "created_at": "2023-02-09T17:08:30+01:00", "updated_at": "2024-01-31T21:08:23+01:00", "name": "tests", "path": ".github/workflows/test.yaml", "contents": "name: tests\n\non:\n  push:\n    branches: # Specifying branches makes it not run on pushed tags\n      - \"*\"\n  workflow_call: # Allow being ran from other actions\n  pull_request: # Run on PRs from forks (push doesn't cover those)\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Bazel cache\n        id: bazel-cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/bazel\n          key: ${{ runner.os }}-${{ matrix.python-version }}-bazel-cache-${{ hashFiles('**/BUILD', '.bazelrc', '.bazelversion', 'WORKSPACE') }}\n          restore-keys: ${{ runner.os }}-${{ matrix.python-version }}-bazel-cache-\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: poetry\n\n      - name: Install dependencies\n        run: poetry install --no-interaction --extras polars\n\n      - name: Run tests\n        run: poetry run bazel test //temporian/...:all //docs/...:all //tools/...:all --test_output=errors --compilation_mode=dbg --config=linux\n        # Note: Since mid-August 23, using \"//...:all\" incorrectly try to\n        # compile the directory \"build\" created during the installation of one\n        # of the dependency during \"poetry install\".\n", "state": "active", "repository": "google/temporian"}
{"mined_at": "2024-07-15T18:02:48.296160", "created_at": "2023-06-26T17:51:36+02:00", "updated_at": "2024-01-31T21:08:25+01:00", "name": "test_notebooks", "path": ".github/workflows/test_notebooks.yaml", "contents": "name: test_notebooks\n\non: [pull_request]\n\njobs:\n  run_notebooks:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # Paths relative to docs/src/, without the .ipynb extension\n        # * can be used and all .ipynb files in that dir will be tested sequentially\n        path:\n          - user_guide\n          - getting_started\n          - recipes/*\n          - tutorials/anomaly_detection_supervised\n          - tutorials/anomaly_detection_unsupervised\n          - tutorials/bank_fraud_detection_with_tfdf\n          - tutorials/heart_rate_analysis\n          # - tutorials/loan_outcomes_prediction # TODO: re enable this notebook\n          # - tutorials/m5_competition # Note: Github cannot download dataset anymore.\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Bazel cache\n        id: bazel-cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/bazel\n          key: ${{ runner.os }}-3.9-bazel-cache-${{ hashFiles('**/BUILD', '.bazelrc', '.bazelversion', 'WORKSPACE') }}\n          restore-keys: ${{ runner.os }}-3.9-bazel-cache-\n\n      - name: Notebooks cache\n        id: notebooks-cache\n        uses: actions/cache@v3\n        with:\n          path: ./docs/src/tutorials/tmp\n          key: ${{ runner.os }}-notebooks-${{ matrix.path }}-${{ hashFiles(format('docs/src/{0}.ipynb', matrix.path)) }}\n          restore-keys: |\n            ${{ runner.os }}-notebooks-${{ matrix.path }}-\n\n      - name: Install poetry\n        run: pipx install poetry\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n          cache: poetry\n          cache-dependency-path: |\n            poetry.lock\n            ./docs/src/tutorials/requirements.txt\n\n      - name: Install poetry dependencies\n        run: poetry install --no-interaction\n\n      - name: Install notebook dependencies\n        run: poetry run pip install -r ./docs/src/tutorials/requirements.txt\n\n      - name: Execute notebook(s)\n        run: poetry run ./tools/run_notebooks.sh `ls docs/src/${{ matrix.path }}.ipynb`\n", "state": "active", "repository": "google/temporian"}
{"mined_at": "2024-07-15T18:02:49.414219", "created_at": "2024-03-27T20:59:52+01:00", "updated_at": "2024-04-02T17:36:40+02:00", "name": "windows_build", "path": ".github/workflows/windows_wheels.yaml", "contents": null, "state": "active", "repository": "google/temporian"}
{"mined_at": "2024-07-15T18:02:50.542943", "created_at": "2023-08-01T22:12:10+02:00", "updated_at": "2023-08-01T22:12:10+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google/temporian"}
{"mined_at": "2024-07-15T18:02:52.734955", "created_at": "2023-04-04T19:29:47+02:00", "updated_at": "2023-04-04T19:29:47+02:00", "name": "Add new issues to the team project", "path": ".github/workflows/add_to_project.yaml", "contents": "name: Add new issues to the team project\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  add-to-project:\n    name: Add issue to project\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v0.5.0\n        with:\n          project-url: https://github.com/orgs/mozilla/projects/214\n          github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}\n", "state": "active", "repository": "mozilla/bugbot"}
{"mined_at": "2024-07-15T18:02:53.928639", "created_at": "2023-01-21T22:41:32+01:00", "updated_at": "2023-01-21T22:41:32+01:00", "name": "Documentation on the wiki page", "path": ".github/workflows/wiki.yaml", "contents": "name: Documentation on the wiki page\n\non:\n  push:\n    branches:\n      - \"master\"\n\npermissions:\n  contents: read\n\njobs:\n  check-wiki:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.9\n\n      - name: Check rules on the wiki page\n        run: python scripts/check_rules_on_wiki.py -ci\n", "state": "active", "repository": "mozilla/bugbot"}
{"mined_at": "2024-07-15T18:02:54.903736", "created_at": "2024-07-15T15:23:00+02:00", "updated_at": "2024-07-15T15:23:00+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "mozilla/bugbot"}
{"mined_at": "2024-07-15T18:02:57.102482", "created_at": "2022-06-07T08:55:08+02:00", "updated_at": "2022-06-18T12:48:40+02:00", "name": "Check formatting", "path": ".github/workflows/format.yml", "contents": "name: Check formatting\n\non: [push, pull_request]\n\njobs:\n  skip_check:\n    runs-on: ubuntu-latest\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n        - id: skip_check\n          uses: fkirc/skip-duplicate-actions@v5\n          with:\n              concurrent_skipping: 'same_content_newer'\n              skip_after_successful_duplicate: 'true'\n\n  ts_format:\n    name: Check TypeScript formatting\n    runs-on: ubuntu-latest\n\n    needs: skip_check\n    if: needs.skip_check.outputs.should_skip != 'true'\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install packages\n        run: |\n          cd timApp\n          rm package-lock.json\n          npm install --unsafe-perm --legacy-peer-deps\n          npm install --no-package-lock --legacy-peer-deps --no-save prettier@2.7.1\n      - name: Check formatting\n        run: cd timApp && npm run checkformat\n\n  py_format:\n    name: Check Python formatting\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: \"3.11\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install Poetry\n        run: pipx install poetry\n      - name: Setup Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"${{ env.PYTHON_VERSION }}\"\n          cache: poetry\n      - name: Install dependencies\n        run: |\n          poetry env use \"${{ env.PYTHON_VERSION }}\"\n          poetry install --only=dev\n      - name: Run format\n        run: .venv/bin/black --check .", "state": "active", "repository": "tim-jyu/tim"}
{"mined_at": "2024-07-15T18:02:58.332115", "created_at": "2022-06-07T08:55:08+02:00", "updated_at": "2022-06-18T12:48:40+02:00", "name": "Lint code", "path": ".github/workflows/lint.yml", "contents": "name: Lint code\n\non: [push, pull_request]\n\njobs:\n  skip_check:\n    runs-on: ubuntu-latest\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n        - id: skip_check\n          uses: fkirc/skip-duplicate-actions@v5\n          with:\n              concurrent_skipping: 'same_content_newer'\n              skip_after_successful_duplicate: 'true'\n\n  ts_lint:\n    name: Lint TypeScript\n    runs-on: ubuntu-latest\n\n    needs: skip_check\n    if: needs.skip_check.outputs.should_skip != 'true'\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Cache node modules\n        uses: actions/cache@v3\n        with:\n          path: |\n            timApp/node_modules\n            timApp/modules/jsrunner/server/node_modules\n          key: ${{ runner.os }}-eslint-npm-${{ hashFiles('**/package-lock.json') }}\n      - name: Install packages\n        run: |\n          npm i --global npm@6\n          cd timApp\n          npm install\n          cd modules/jsrunner/server\n          npm install\n      - name: Lint main code\n        run: cd timApp && npm run lint\n      - name: Lint JSRunner\n        run: cd timApp/modules/jsrunner/server && npm run lint\n\n  py_lint:\n    name: Lint Python\n    runs-on: ubuntu-latest\n    env:\n      PYTHON_VERSION: \"3.11\"\n\n    needs: skip_check\n    if: needs.skip_check.outputs.should_skip != 'true'\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install APT Packages\n        uses: awalsh128/cache-apt-pkgs-action@v1.0.1\n        with:\n          packages: libxmlsec1-dev libxmlsec1-openssl\n          version: \"1.1\"\n      - name: Install Poetry\n        run: pipx install poetry\n      - name: Setup Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"${{ env.PYTHON_VERSION }}\"\n          cache: poetry\n      - name: Install dependencies\n        run: |\n          poetry env use \"${{ env.PYTHON_VERSION }}\"\n          poetry install --only=dev\n      - name: Run MyPy\n        run: .venv/bin/mypy -p timApp -p tim_common", "state": "active", "repository": "tim-jyu/tim"}
{"mined_at": "2024-07-15T18:02:59.561199", "created_at": "2023-01-02T09:13:21+01:00", "updated_at": "2023-01-02T09:13:21+01:00", "name": "Check spelling", "path": ".github/workflows/spellcheck.yml", "contents": "name: Check spelling\n\non: [push, pull_request]\n\njobs:\n  skip_check:\n    runs-on: ubuntu-latest\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n        - id: skip_check\n          uses: fkirc/skip-duplicate-actions@v5\n          with:\n              concurrent_skipping: 'same_content_newer'\n              skip_after_successful_duplicate: 'true'\n\n  check_spelling:\n    name: Spell Check with Typos\n    runs-on: ubuntu-latest\n\n    needs: skip_check\n    if: needs.skip_check.outputs.should_skip != 'true'\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Check spelling of repository files\n        uses: crate-ci/typos@v1.13.6\n", "state": "active", "repository": "tim-jyu/tim"}
{"mined_at": "2024-07-15T18:03:00.724030", "created_at": "2022-06-07T09:54:53+02:00", "updated_at": "2022-06-18T12:48:40+02:00", "name": "Generate code statistics", "path": ".github/workflows/stats.yml", "contents": "name: Generate code statistics\n\non: [push, pull_request]\n\njobs:\n  skip_check:\n    runs-on: ubuntu-latest\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n        - id: skip_check\n          uses: fkirc/skip-duplicate-actions@v5\n          with:\n              concurrent_skipping: 'same_content_newer'\n              skip_after_successful_duplicate: 'true'\n\n  ts_bundle_stats:\n    name: Bundle stats for TypeScript\n    runs-on: ubuntu-latest\n\n    needs: skip_check\n    if: needs.skip_check.outputs.should_skip != 'true'\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Cache Angular build assets\n        uses: actions/cache@v3\n        with:\n          path: timApp/.angular/cache\n          key: ${{ runner.os }}-angular-cache-stats-${{ hashFiles('**/*.ts') }}\n          restore-keys: |\n            ${{ runner.os }}-angular-cache-stats-\n      - name: Cache node modules\n        uses: actions/cache@v3\n        with:\n          path: |\n            timApp/node_modules\n          key: ${{ runner.os }}-ts-stats-npm-${{ hashFiles('timApp/package-lock.json') }}\n      - name: Install packages\n        run: |\n          npm i --global npm@6\n          cd timApp\n          npm install\n          npm install -g webpack-bundle-analyzer\n      - name: Generate bundle statistics\n        run: cd timApp && npm run statshtml\n      - name: Upload stats\n        uses: actions/upload-artifact@v3.0.0\n        with:\n          name: Bundle Report\n          path: timApp/report.html", "state": "active", "repository": "tim-jyu/tim"}
{"mined_at": "2024-07-15T18:03:01.916440", "created_at": "2022-06-07T08:55:08+02:00", "updated_at": "2022-06-18T12:48:40+02:00", "name": "Run tests", "path": ".github/workflows/tests.yml", "contents": "name: Run tests\n\non: [push, pull_request]\n\njobs:\n  skip_check:\n    runs-on: ubuntu-latest\n    outputs:\n      should_skip: ${{ steps.skip_check.outputs.should_skip }}\n    steps:\n        - id: skip_check\n          uses: fkirc/skip-duplicate-actions@v5\n          with:\n              concurrent_skipping: 'same_content_newer'\n              skip_after_successful_duplicate: 'true'\n\n  ci_tests:\n    name: CI tests (${{ matrix.test_module }})\n    runs-on: ubuntu-latest\n\n    needs: skip_check\n    if: needs.skip_check.outputs.should_skip != 'true'\n\n    strategy:\n      matrix:\n        test_module:\n          - browser\n          - unit\n          - db\n          - server\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          submodules: true\n      - name: Cache Angular build assets\n        uses: actions/cache@v3\n        if: \"${{ matrix.test_module == 'browser' }}\"\n        with:\n          path: timApp/.angular/cache\n          key: ${{ runner.os }}-angular-cache-${{ hashFiles('**/*.ts') }}\n          restore-keys: |\n            ${{ runner.os }}-angular-cache-\n      - name: Cache node modules\n        uses: actions/cache@v3\n        if: \"${{ matrix.test_module == 'browser' || matrix.test_module == 'server'  }}\"\n        with:\n          path: |\n            timApp/node_modules\n            timApp/modules/jsrunner/server/node_modules\n          key: ${{ runner.os }}-ci-test-npm-${{ hashFiles('**/package-lock.json') }}\n      - name: Cache Rust crates\n        uses: actions/cache@v3\n        with:\n          path: |\n            tim_rust/target\n          key: ${{ runner.os }}-tim-rust-cache-${{ hashFiles('tim_rust/Cargo.lock') }}\n      - name: Log info\n        run: |\n          uname -a\n          docker info\n          docker-compose --version\n      - name: Set up\n        run: ./tim setup --no-interactive --no-install --profile test\n      - name: Download images\n        run: ./tim dc pull --quiet\n      - name: Install dependencies\n        if: \"${{ matrix.test_module == 'browser' || matrix.test_module == 'server'  }}\"\n        run: ./tim npmi\n      - name: Compile JS\n        if: \"${{ matrix.test_module == 'browser' || matrix.test_module == 'server'  }}\"\n        run: ./tim js --target ${{ matrix.test_module }}\n      - name: Install TIM Rust library\n        run: ./tim rust\n      - name: Run tests\n        run: ./tim test --dc-up ${{ matrix.test_module }}\n        timeout-minutes: 40\n        env:\n          SKIP_JSRUNNER_START: ${{ matrix.test_module == 'unit' || matrix.test_module == 'db' }}\n      - name: Upload screenshots\n        if: \"${{ matrix.test_module == 'browser' && always() }}\"\n        uses: actions/upload-artifact@v3.0.0\n        with:\n          name: Browser Screenshots\n          path: screenshots", "state": "active", "repository": "tim-jyu/tim"}
{"mined_at": "2024-07-15T18:03:04.082983", "created_at": "2022-05-02T17:48:48+02:00", "updated_at": "2023-11-25T23:01:50+01:00", "name": "Add Issue or Pull Request to Dashboard", "path": ".github/workflows/add-to-dashboard.yml", "contents": "name: Add Issue or Pull Request to Dashboard\n\non:\n  issues:\n    types:\n      - opened\n  pull_request:\n    types:\n      - opened\n\njobs:\n  add-to-project:\n    name: Add issue or pull request to project\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/add-to-project@v0.5.0\n        with:\n          project-url: https://github.com/orgs/catalystneuro/projects/3\n          github-token: ${{ secrets.PROJECT_TOKEN }}\n", "state": "active", "repository": "catalystneuro/roiextractors"}
{"mined_at": "2024-07-15T18:03:05.193879", "created_at": "2024-04-09T03:39:07+02:00", "updated_at": "2024-04-09T03:39:07+02:00", "name": "Assess file changes", "path": ".github/workflows/assess-file-changes.yml", "contents": "name: Assess file changes\n\non:\n  workflow_call:\n    # Map the workflow outputs to job outputs\n    outputs:\n      SOURCE_CHANGED:\n        description: \"Whether the files under /src/ were changed.\"\n        value: ${{ jobs.build.outputs.SOURCE_CHANGED }}\n      CHANGELOG_UPDATED:\n        description: \"Whether or the CHANGELOG.md file was updated.\"\n        value: ${{ jobs.build.outputs.CHANGELOG_UPDATED }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    # Map the job outputs to step outputs\n    outputs:\n      SOURCE_CHANGED: ${{ steps.assess-changes.outputs.SOURCE_CHANGED }}\n      CHANGELOG_UPDATED: ${{ steps.assess-changes.outputs.CHANGELOG_UPDATED }}\n\n    name: Test changed-files\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v41.0.0\n\n      - name: Assess Source Code Changes\n        id: assess-changes\n        run: |\n          echo \"SOURCE_CHANGED=false\" >> $GITHUB_OUTPUT\n          echo \"CHANGELOG_UPDATED=false\" >> $GITHUB_OUTPUT\n          for file in ${{ steps.changed-files.outputs.all_changed_files }}; do\n            echo $file\n            if [[ $file == \"src/\"* || $file == \"tests/\"* || $file == \"requirements-minimal.txt\" || $file == \"requirements-testing.txt\" || $file == \".github/\"* && $file != \".github/workflows/assess-file-changes.yml\" ]]\n            then\n              echo \"Source changed\"\n              echo \"SOURCE_CHANGED=true\" >> $GITHUB_OUTPUT\n            else\n              echo \"Source not changed\"\n            fi\n            if [[ $file == \"CHANGELOG.md\" ]]\n            then\n              echo \"Changelog updated\"\n              echo \"CHANGELOG_UPDATED=true\" >> $GITHUB_OUTPUT\n            else\n              echo \"Changelog not updated\"\n            fi\n          done\n", "state": "active", "repository": "catalystneuro/roiextractors"}
{"mined_at": "2024-07-15T18:03:06.425018", "created_at": "2022-03-01T21:48:41+01:00", "updated_at": "2022-03-01T21:48:41+01:00", "name": "Upload Package to PyPI", "path": ".github/workflows/auto-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Package to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.9\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install wheel\n      - name: Build package\n        run: |\n          python setup.py sdist bdist_wheel\n      - name: pypi-publish\n        uses: pypa/gh-action-pypi-publish@v1.4.2\n        with:\n          verbose: true\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "catalystneuro/roiextractors"}
{"mined_at": "2024-07-15T18:03:07.549263", "created_at": "2023-10-24T00:52:10+02:00", "updated_at": "2023-10-26T17:37:07+02:00", "name": "Check Docstrings", "path": ".github/workflows/check-docstrings.yaml", "contents": "name: Check Docstrings\non:\n  workflow_dispatch:\n  pull_request:\n\njobs:\n  check-docstrings:\n    uses: catalystneuro/.github/.github/workflows/check_docstrings.yaml@main\n    with:\n      python-version: '3.10'\n      repository: 'catalystneuro/roiextractors'\n      package-name: 'roiextractors'\n", "state": "active", "repository": "catalystneuro/roiextractors"}
{"mined_at": "2024-07-15T18:03:08.665293", "created_at": "2024-05-03T22:31:25+02:00", "updated_at": "2024-05-03T22:35:08+02:00", "name": "Daily Workflows", "path": ".github/workflows/dailies.yaml", "contents": "name: Daily Workflows\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 14 * * *\"  # Daily at 10am EST\n\njobs:\n    update-testing-data:\n        uses: ./.github/workflows/update-testing-data.yml\n        secrets:\n            AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n            AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n            S3_GIN_BUCKET: ${{ secrets.S3_GIN_BUCKET }}\n\n    run-tests:\n        needs: update-testing-data\n        uses: ./.github/workflows/run-tests.yml\n        secrets:\n            CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n    notify:\n        runs-on: ubuntu-latest\n        needs: [update-testing-data, run-tests]\n        if: ${{ always() && contains(needs.*.result, 'failure') }}\n        steps:\n        - uses: dawidd6/action-send-mail@v3\n          with:\n            server_address: smtp.gmail.com\n            server_port: 465  # TSL\n            username: ${{ secrets.MAIL_USERNAME }}\n            password: ${{ secrets.MAIL_PASSWORD }}\n            subject: ROIExtractors Daily Failure\n            to: ${{ secrets.DAILY_FAILURE_EMAIL_LIST }}  # add more with commas, no separation\n            from: ROIExtractors\n            body: \"The daily workflow for ROIExtractors failed: please check status at https://github.com/catalystneuro/roiextractors/actions/workflows/dailies.yaml\"\n", "state": "active", "repository": "catalystneuro/roiextractors"}
{"mined_at": "2024-07-15T18:03:09.801137", "created_at": "2024-06-03T18:38:15+02:00", "updated_at": "2024-06-03T19:21:31+02:00", "name": "Deploy PR Tests", "path": ".github/workflows/deploy_pr_tests.yaml", "contents": "name: Deploy PR Tests\n\non:\n  workflow_dispatch:\n  pull_request:\n\nconcurrency:\n    group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n    cancel-in-progress: true\n\njobs:\n    update-testing-data:\n        uses: ./.github/workflows/update-testing-data.yml\n        secrets:\n            AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n            AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n            S3_GIN_BUCKET: ${{ secrets.S3_GIN_BUCKET }}\n\n    run-tests:\n        needs: update-testing-data\n        uses: ./.github/workflows/run-tests.yml\n        secrets:\n            CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n    dev-tests:\n        needs: update-testing-data\n        uses: ./.github/workflows/dev-testing.yaml\n", "state": "active", "repository": "catalystneuro/roiextractors"}
{"mined_at": "2024-07-15T18:03:10.815063", "created_at": "2024-05-22T17:32:50+02:00", "updated_at": "2024-05-22T20:37:47+02:00", "name": "Detect Changelog Updates", "path": ".github/workflows/detect-changelog-updates.yaml", "contents": "name: Detect Changelog Updates\non:\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  assess-file-changes:\n    uses: ./.github/workflows/assess-file-changes.yml\n\n  detect-changelog-updates:\n    needs: assess-file-changes\n    if: ${{ needs.assess-file-changes.outputs.SOURCE_CHANGED == 'true' }}\n    name: Auto-detecting CHANGELOG.md updates\n    runs-on: ubuntu-latest\n    steps:\n      - if:  ${{ needs.assess-file-changes.outputs.CHANGELOG_UPDATED == 'true' }}\n        run: echo \"CHANGELOG.md has been updated.\"\n      - if:  ${{ needs.assess-file-changes.outputs.CHANGELOG_UPDATED == 'false' }}\n        run: |\n          echo \"CHANGELOG.md has not been updated.\"\n          0\n", "state": "active", "repository": "catalystneuro/roiextractors"}
{"mined_at": "2024-07-15T18:03:11.943905", "created_at": "2024-04-30T19:03:27+02:00", "updated_at": "2024-05-01T23:45:09+02:00", "name": "Dev Testing", "path": ".github/workflows/dev-testing.yaml", "contents": "name: Dev Testing\non:\n  workflow_dispatch:\n  workflow_call:\n\njobs:\n  run:\n    name: Ubuntu tests with Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v4\n      - run: git fetch --prune --unshallow --tags\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Global Setup\n        run: |\n            pip install -U pip\n            git config --global user.email \"CI@example.com\"\n            git config --global user.name \"CI Almighty\"\n\n      - name: Install full requirements\n        run: |\n            pip install .[test,full]\n\n      - name: Clone and Install NeuroConv\n        run: |\n            git clone https://github.com/catalystneuro/neuroconv.git\n            cd neuroconv\n            pip install --no-cache-dir .[full,test]\n            cd ../\n      - name: Get ophys_testing_data current head hash\n        id: ophys\n        run: echo \"::set-output name=HASH_OPHYS_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/ophys_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ophys dataset - ${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n        uses: actions/cache@v2\n        id: cache-ophys-datasets\n        with:\n          path: ./ophys_testing_data\n          key: ophys-datasets-042023-ubuntu-latest-${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n\n      - name: Run NeuroConv tests\n        run: |\n            pytest -n auto --dist loadscope neuroconv/tests/test_ophys neuroconv/tests/test_on_data/test_imaging_interfaces.py neuroconv/tests/test_on_data/test_segmentation_interfaces.py\n", "state": "active", "repository": "catalystneuro/roiextractors"}
{"mined_at": "2024-07-15T18:03:13.075085", "created_at": "2023-06-21T16:42:35+02:00", "updated_at": "2023-06-21T16:42:35+02:00", "name": "Full Tests", "path": ".github/workflows/run-tests.yml", "contents": "name: Full Tests\non:\n  workflow_dispatch:\n  workflow_call:\n    secrets:\n      CODECOV_TOKEN:\n        required: true\n\njobs:\n  run:\n    name: Full tests on ${{ matrix.os }} with Python ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, windows-latest, macos-latest, macos-13] # macos-13 is the latest version of macOS with Intel chip\n    steps:\n      - uses: actions/checkout@v4\n      - run: git fetch --prune --unshallow --tags\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Global Setup\n        run: |\n          pip install -U pip\n          git config --global user.email \"CI@example.com\"\n          git config --global user.name \"CI Almighty\"\n\n      - name: Install roiextractors with minimal requirements\n        run: pip install .\n      - name: Test initial import of all non-lazy dependencies\n        run: python -c \"import roiextractors\"\n\n      - name: Install roiextractors with testing requirements\n        run: pip install .[test]\n      - name: Run minimal tests\n        run: pytest tests/test_internals -n auto --dist loadscope\n\n      - name: Test full installation\n        run: pip install .[full]\n\n      - name: Get ophys_testing_data current head hash\n        id: ophys\n        run: echo \"::set-output name=HASH_OPHYS_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/ophys_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ophys dataset - ${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n        uses: actions/cache@v2\n        id: cache-ophys-datasets\n        with:\n          path: ./ophys_testing_data\n          key: ophys-datasets-042023-${{ matrix.os }}-${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n\n      - name: Run full pytest with coverage\n        run: pytest -n auto --dist loadscope --cov=./ --cov-report xml:./codecov.xml\n      - if: ${{ matrix.python-version == '3.9' && matrix.os == 'ubuntu-latest'}}\n        name: Upload full coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./codecov.xml\n          flags: unittests\n          name: codecov-umbrella\n          codecov_yml_path: ./codecov.yml\n          verbose: true\n", "state": "active", "repository": "catalystneuro/roiextractors"}
{"mined_at": "2024-07-15T18:03:14.308631", "created_at": "2023-06-21T05:59:44+02:00", "updated_at": "2023-09-28T23:08:18+02:00", "name": "update-testing-data", "path": ".github/workflows/update-testing-data.yml", "contents": "name: update-testing-data\non:\n  workflow_dispatch:\n  workflow_call:\n    secrets:\n      AWS_ACCESS_KEY_ID:\n        required: true\n      AWS_SECRET_ACCESS_KEY:\n        required: true\n      S3_GIN_BUCKET:\n        required: true\n\njobs:\n  run:\n    name: Update testing data on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest, macos-13] # macos-13 is the latest version of macOS with Intel chip\n    steps:\n      - uses: actions/checkout@v2\n      - run: git fetch --prune --unshallow --tags\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.11\n\n      - name: Global Setup\n        run: |\n          pip install -U pip\n          git config --global user.email \"CI@example.com\"\n          git config --global user.name \"CI Almighty\"\n          pip install wheel==0.41.2  # needed for scanimage\n\n      - name: Get ophys_testing_data current head hash\n        id: ophys\n        run: echo \"::set-output name=HASH_OPHYS_DATASET::$(git ls-remote https://gin.g-node.org/CatalystNeuro/ophys_testing_data.git HEAD | cut -f1)\"\n      - name: Cache ophys dataset - ${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n        uses: actions/cache@v2\n        id: cache-ophys-datasets\n        with:\n          path: ./ophys_testing_data\n          key: ophys-datasets-042023-${{ matrix.os }}-${{ steps.ophys.outputs.HASH_OPHYS_DATASET }}\n      - if: steps.cache-ophys-datasets.outputs.cache-hit == false\n        name: Install and configure AWS CLI\n        run: |\n          pip install awscli\n          aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n      - if: steps.cache-ophys-datasets.outputs.cache-hit == false\n        name: Download data from S3\n        run: aws s3 cp --recursive s3://${{ secrets.S3_GIN_BUCKET }}//ophys_testing_data ./ophys_testing_data\n", "state": "active", "repository": "catalystneuro/roiextractors"}
{"mined_at": "2024-07-15T18:03:15.433853", "created_at": "2024-02-20T19:15:56+01:00", "updated_at": "2024-02-20T19:15:56+01:00", "name": "Update Dev Version on Release", "path": ".github/workflows/update-version.yml", "contents": "name: Update Dev Version on Release\n\non:\n    workflow_dispatch:\n    workflow_run:\n        workflows: [Upload Package to PyPI]\n        types: [completed]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Checkout New Branch\n        run: |\n          git checkout -b update_dev_version\n      - name: Update dev version\n        run: |\n          git fetch --prune --unshallow --tags\n          tags=\"$(git tag --list)\"\n          latest_tag=${tags: -6 : 6}\n          old_version=${latest_tag:1:5}\n          echo \"Old Version: $old_version\"\n          old_major_version=${old_version:0:1}\n          old_minor_version=${old_version:2:1}\n          old_patch_version=${old_version:4:1}\n          new_patch_version=`expr $old_patch_version + 1`\n          new_version=\"$old_major_version.$old_minor_version.$new_patch_version\"\n          echo \"New Version: $new_version\"\n          sed -i -e \"s/version=\\\"$old_version\\\"/version=\\\"$new_version\\\"/g\" setup.py\n          echo \"old_version=$old_version\" >> \"$GITHUB_ENV\"\n          echo \"new_version=$new_version\" >> \"$GITHUB_ENV\"\n      - name: Commit Changes and Create Pull Request\n        run: |\n          git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com\n          git config --global user.name github-actions[bot]\n          git commit . -m \"Update dev version from $old_version to $new_version\"\n          git push origin update_dev_version\n          gh pr create --title \"[Github.CI] Update dev version from $old_version to $new_version\" --body \"version: $old_version --> $new_version\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}\n", "state": "active", "repository": "catalystneuro/roiextractors"}
{"mined_at": "2024-07-15T18:03:17.686004", "created_at": "2022-07-26T17:05:45+02:00", "updated_at": "2022-07-27T00:30:44+02:00", "name": "CI Test", "path": ".github/workflows/ci-test.yml", "contents": "name: CI Test\n\non: [push, pull_request]\n\njobs:\n\n  ci-test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ '3.8', '3.9', '3.10' ]\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          version: 1.4.2\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: |\n          sudo apt-get update && sudo apt-get install -y --no-install-recommends gcc git g++ libev-dev libyaml-dev\n          cd lib/poseidon_api && poetry install --no-interaction && cd ../../\n          cd lib/poseidon_cli && poetry install --no-interaction && cd ../../\n          cd lib/poseidon_core && poetry install --no-interaction && cd ../../\n\n      - name: Code Quality - Black\n        run: |\n          cd lib/poseidon_api && poetry run black . --check && cd ../../\n          cd lib/poseidon_cli && poetry run black . --check && cd ../../\n          cd lib/poseidon_core && poetry run black . --check && cd ../../\n\n      - name: Code Quality - Pytype\n        run: |\n          cd lib/poseidon_api && poetry run pytype poseidon_api/ && cd ../../\n          cd lib/poseidon_cli && poetry run pytype poseidon_cli/ && cd ../../\n          cd lib/poseidon_core && poetry run pytype poseidon_core/ && cd ../../\n\n      - name: Code Quality - Pylint\n        run: |\n          cd lib/poseidon_api && poetry run pylint --fail-under=4 poseidon_api/ && cd ../../\n          cd lib/poseidon_cli && poetry run pylint --fail-under=4 poseidon_cli/ && cd ../../\n          cd lib/poseidon_core && poetry run pylint --fail-under=4 poseidon_core/ && cd ../../\n\n      - name: Test with pytest\n        # https://github.com/python-poetry/poetry/issues/4511\n        # TODO: setuptools needed by c65faucet, but poetry < 1.2.0 does not allow adding setuptools.\n        run: |\n          export POSEIDON_CONFIG=$PWD/config/poseidon.config\n          cd lib/poseidon_api && poetry run pip install 'setuptools==64.0.3' && poetry run pytest --cov-report term-missing --cov=. --cov-report=xml && cd ../../\n          cd lib/poseidon_cli && poetry run pip install 'setuptools==64.0.3' && poetry run pytest --cov-report term-missing --cov=. --cov-report=xml && cd ../../\n          cd lib/poseidon_core && poetry run pip install 'setuptools==64.0.3' && poetry run pytest --cov-report term-missing --cov=. --cov-report=xml && cd ../../\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n        if: github.repository == 'faucetsdn/poseidon' && github.ref_name == 'main'\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: /home/runner/work/poseidon/poseidon/lib/poseidon_api/coverage.xml,/home/runner/work/poseidon/poseidon/lib/poseidon_cli/coverage.xml,/home/runner/work/poseidon/poseidon/lib/poseidon_core/coverage.xml\n          fail_ci_if_error: true\n", "state": "active", "repository": "faucetsdn/poseidon"}
{"mined_at": "2024-07-15T18:03:18.825873", "created_at": "2020-11-25T17:43:56+01:00", "updated_at": "2020-11-25T17:43:56+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '15 9 * * 3'\n\njobs:\n  analyze:\n    permissions:\n      actions: read\n      contents: write\n      security-events: write\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "faucetsdn/poseidon"}
{"mined_at": "2024-07-15T18:03:19.939119", "created_at": "2020-07-09T18:40:54+02:00", "updated_at": "2020-07-09T19:47:44+02:00", "name": "buildx-extras", "path": ".github/workflows/docker-extras.yml", "contents": "name: buildx-extras\n\non:\n  push:\n    branches: main\n    tags: 'v*'\n\njobs:\n  buildx-extras:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - name: Get the version\n      id: get_version\n      run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)\n    - name: Change for main\n      id: change_version\n      run: if [ \"${{ steps.get_version.outputs.VERSION }}\" == \"main\" ]; then echo ::set-output name=VERSION::latest; else echo ::set-output name=VERSION::${{ steps.get_version.outputs.VERSION }}; fi\n    - name: Set up qemu\n      uses: docker/setup-qemu-action@v2\n      with:\n        platforms: all\n    - name: Set up Docker Buildx\n      id: buildx\n      uses: docker/setup-buildx-action@v2\n      with:\n        version: latest\n    - name: Docker Login\n      env:\n        DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}\n      run: |\n        echo \"${DOCKER_PASSWORD}\" | docker login --username \"${{ secrets.DOCKER_USERNAME }}\" --password-stdin\n      if: github.repository == 'iqtlabs/poseidon' && github.event_name == 'push'\n\n    - name: Build and push platforms\n      env:\n        DOCKER_CLI_EXPERIMENTAL: enabled\n      run: |\n        docker buildx build \\\n          --platform linux/amd64,linux/arm64 \\\n          --push \\\n          -t iqtlabs/rabbitmq:${{ steps.change_version.outputs.VERSION }} helpers/rabbitmq && \\\n        docker buildx build \\\n          --platform linux/amd64,linux/arm64 \\\n          --push \\\n          -t iqtlabs/poseidon-api:${{ steps.change_version.outputs.VERSION }} helpers/api\n      if: github.repository == 'iqtlabs/poseidon' && github.event_name == 'push'\n", "state": "active", "repository": "faucetsdn/poseidon"}
{"mined_at": "2024-07-15T18:03:21.167837", "created_at": "2020-02-11T18:04:07+01:00", "updated_at": "2020-02-11T18:04:07+01:00", "name": "buildx", "path": ".github/workflows/docker.yml", "contents": "name: buildx\n\non:\n  push:\n    branches: main\n    tags: 'v*'\n\njobs:\n  buildx:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - name: Get the version\n      id: get_version\n      run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)\n    - name: Change for main\n      id: change_version\n      run: if [ \"${{ steps.get_version.outputs.VERSION }}\" == \"main\" ]; then echo ::set-output name=VERSION::latest; else echo ::set-output name=VERSION::${{ steps.get_version.outputs.VERSION }}; fi\n    - name: Set up qemu\n      uses: docker/setup-qemu-action@v2\n      with:\n        platforms: all\n    - name: Set up Docker Buildx\n      id: buildx\n      uses: docker/setup-buildx-action@v2\n      with:\n        version: latest\n    - name: Docker Login\n      env:\n        DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}\n      run: |\n        echo \"${DOCKER_PASSWORD}\" | docker login --username \"${{ secrets.DOCKER_USERNAME }}\" --password-stdin\n      if: github.repository == 'iqtlabs/poseidon' && github.event_name == 'push'\n\n    - name: Build and push platforms\n      env:\n        DOCKER_CLI_EXPERIMENTAL: enabled\n      run: |\n        docker buildx build \\\n          --platform linux/amd64,linux/arm64 \\\n          --push \\\n          -t iqtlabs/poseidon:${{ steps.change_version.outputs.VERSION }} . && \\\n        docker buildx build \\\n          --platform linux/amd64,linux/arm64 \\\n          --push \\\n          -t iqtlabs/poseidon-workers:${{ steps.change_version.outputs.VERSION }} workers\n      if: github.repository == 'iqtlabs/poseidon' && github.event_name == 'push'\n", "state": "active", "repository": "faucetsdn/poseidon"}
{"mined_at": "2024-07-15T18:03:22.294168", "created_at": "2020-12-20T23:41:21+01:00", "updated_at": "2020-12-20T23:41:21+01:00", "name": "release", "path": ".github/workflows/pypi.yaml", "contents": "name: release\n\non:\n  push:\n    branches: main\n    tags: 'v*.*.*'\n\njobs:\n  release:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n      with:\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n    - name: Build and publish packages\n      id: build_and_publish_packages\n      run: |\n        sudo apt-get update && \\\n        sudo apt-get install -yq --no-install-recommends curl gcc g++ libev-dev libyaml-dev python3-pip python3.8 python3.8-dev && \\\n        cd lib/poseidon_api && poetry build && poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }} && cd ../../ && \\\n        cd lib/poseidon_cli && poetry build && poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }} && cd ../../ && \\\n        cd lib/poseidon_core && poetry build && poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }} && cd ../../\n      if: github.repository == 'iqtlabs/poseidon' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')\n", "state": "active", "repository": "faucetsdn/poseidon"}
{"mined_at": "2024-07-15T18:03:23.524855", "created_at": "2022-01-25T23:39:55+01:00", "updated_at": "2022-01-26T01:23:37+01:00", "name": "secrets", "path": ".github/workflows/secrets-scan.yml", "contents": "name: secrets\n\non: [push, pull_request]\n\njobs:\n  scan:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: scan\n      run: |\n        export DEBIAN_FRONTEND=noninteractive && \\\n        echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \\\n        sudo apt-get update && \\\n        python3 -m pip install --upgrade pip && \\\n        pip3 install whispers && \\\n        mkdir /home/runner/reports/ && \\\n        whispers --severity BLOCKER,CRITICAL -o /home/runner/reports/whispers.json -c ${GITHUB_WORKSPACE}/.github/workflows/config/whispers-config.yml ${GITHUB_WORKSPACE} && \\\n        echo \"::set-output name=found-count::$(wc -l /home/runner/reports/whispers.json | cut -d' ' -f1)\"\n    - name: Fail if found\n      if: steps.scan.outputs.found-count != 0\n      uses: actions/github-script@v6\n      with:\n        script: |\n            echo {{steps.scan.outputs.found-count}} && \\\n            core.setFailed('Secrets found. Please check the uploaded report')\n    - name: Upload scan reports\n      uses: actions/upload-artifact@v3.1.2\n      if: failure()\n      with:\n        name: whispers-report\n        path: /home/runner/reports/whispers.json", "state": "active", "repository": "faucetsdn/poseidon"}
{"mined_at": "2024-07-15T18:03:24.654286", "created_at": "2021-12-23T18:20:49+01:00", "updated_at": "2021-12-23T18:20:49+01:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and PRs'\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v8\n        with:\n          stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'\n          stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'\n          close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'\n          close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'\n          days-before-issue-stale: 30\n          days-before-pr-stale: 45\n          days-before-issue-close: 5\n          days-before-pr-close: 10\n          exempt-issue-labels: 'dependencies'\n", "state": "active", "repository": "faucetsdn/poseidon"}
{"mined_at": "2024-07-15T18:03:25.878170", "created_at": "2021-07-19T20:51:43+02:00", "updated_at": "2021-07-19T21:45:12+02:00", "name": "YAML Lint", "path": ".github/workflows/test-yaml-lint.yml", "contents": "name: YAML Lint\non: [push, pull_request]\njobs:\n  yamllint:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: yaml-lint\n      uses: ibiqlik/action-yamllint@v3\n      with:\n        config_data: \"{extends: default, ignore: .github}\"\n", "state": "active", "repository": "faucetsdn/poseidon"}
{"mined_at": "2024-07-15T18:03:27.004701", "created_at": "2020-02-11T18:04:07+01:00", "updated_at": "2022-07-26T20:57:52+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non: [push, pull_request]\n\njobs:\n  test:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - name: shell_test\n      run: |\n        wget \"https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz\" && \\\n        tar --xz -xvf \"shellcheck-stable.linux.x86_64.tar.xz\" && \\\n        shellcheck() { \"shellcheck-stable/shellcheck\" \"$@\"; } && \\\n        shellcheck --version && \\\n        /bin/bash --version && /bin/bash -n bin/poseidon && shellcheck -x -e SC2016 -e SC2119 -e SC2129 -e SC2001 -e SC2038 -e SC2044 bin/poseidon\n    - name: e2e_test\n      run: |\n        export DEBIAN_FRONTEND=noninteractive && \\\n        echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections\n        sudo apt-get update && sudo apt-get install -y libev-dev tshark wget jq tcpreplay tcpdump\n        docker system prune -a -f --volumes && ./tests/test_e2e.sh\n", "state": "active", "repository": "faucetsdn/poseidon"}
{"mined_at": "2024-07-15T18:03:29.465020", "created_at": "2021-02-23T16:01:26+01:00", "updated_at": "2023-11-03T21:13:34+01:00", "name": "Build package / publish", "path": ".github/workflows/publish.yaml", "contents": "name: Build package / publish\n\non:\n  push:\n    branches: [ main ]\n    tags: [ \"v*\" ]\n  release:\n    types: [ published ]\n  # Check that package can be built even on PRs\n  pull_request:\n    branches: [ main ]\n\njobs:\n  publish:\n    uses: iiasa/actions/.github/workflows/publish.yaml@main\n    secrets:\n      PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n      TESTPYPI_TOKEN: ${{ secrets.TESTPYPI_TOKEN }}\n", "state": "active", "repository": "iiasa/message-ix-models"}
{"mined_at": "2024-07-15T18:03:30.794129", "created_at": "2024-04-03T15:26:57+02:00", "updated_at": "2024-04-05T12:14:21+02:00", "name": "Test snapshots", "path": ".github/workflows/pytest-snapshots.yaml", "contents": "name: Test snapshots\n\non:\n  # Please enable this if your PR targets snapshot data or functionality for that\n  # pull_request:\n  #   branches: [ main ]\n  schedule:\n  # 05:00 UTC = 06:00 CET = 07:00 CEST\n  - cron: \"0 5 * * *\"\n\n# Cancel previous runs that have not completed\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  snapshots:\n    runs-on: ubuntu-latest\n    name: Test snapshots ubuntu-latest\n    env:\n      upstream-version: main\n      python-version: \"3.12\"\n      extra-deps: 'dask[dataframe]'\n\n    steps:\n    - name: Cache test data\n      uses: actions/cache@v4\n      with:\n        path: message-local-data\n        key: ubuntu-latest\n\n    - name: Check out message-ix-models\n      uses: actions/checkout@v4\n      with:\n        lfs: true\n        fetch-depth: ${{ env.depth }}\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.python-version }}\n        cache: pip\n        cache-dependency-path: \"**/pyproject.toml\"\n\n    - uses: iiasa/actions/setup-gams@main\n      with:\n        version: 25.1.1\n        license: ${{ secrets.GAMS_LICENSE }}\n\n    - uses: ts-graphviz/setup-graphviz@v2\n      with:\n        macos-skip-brew-update: true\n\n    - name: Install packages and dependencies\n      # By default, install:\n      # - ixmp, message_ix: from GitHub branches/tags per env.upstream-version (above)\n      # - other dependencies including genno: from PyPI.\n      #\n      # To test against unreleased code (on `main`, or other branches\n      # for open PRs), temporarily uncomment, add, or edit lines below\n      # as needed. DO NOT merge such changes to `main`.\n      run: |\n        # pip install --upgrade \"genno @ git+https://github.com/khaeru/genno.git@main\"\n        pip install --upgrade \"ixmp @ git+https://github.com/iiasa/ixmp.git@${{ env.upstream-version }}\"\n        # pip install --upgrade \"message-ix @ git+https://github.com/iiasa/message_ix.git@${{ env.upstream-version }}\"\n        pip install --upgrade \"message-ix @ git+https://github.com/iiasa/message_ix.git@issue/723\"\n\n        pip install .[docs,tests] ${{ env.extra-deps }}\n\n    - name: Configure local data path\n      run: |\n        mkdir -p message-local-data/cache\n        mix-models config set \"message local data\" \"$(realpath message-local-data)\"\n        mix-models config show\n      shell: bash\n\n    - name: Run test suite using pytest\n      run: |\n        pytest message_ix_models \\\n          -m \"snapshot\" \\\n          -rA --verbose --color=yes --durations=20 \\\n          --cov-report=term-missing --cov-report=xml \\\n          --numprocesses=auto \\\n          --local-cache --jvmargs=\"-Xmx6G\"\n      shell: bash\n\n    - name: Upload test coverage to Codecov.io\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }} # required", "state": "active", "repository": "iiasa/message-ix-models"}
{"mined_at": "2024-07-15T18:03:31.897600", "created_at": "2021-02-23T16:40:41+01:00", "updated_at": "2023-09-08T23:20:39+02:00", "name": "Test", "path": ".github/workflows/pytest.yaml", "contents": "name: Test\n\non:\n  pull_request:\n    branches: [ main , \"migrate-*\"]\n  schedule:\n  # 05:00 UTC = 06:00 CET = 07:00 CEST\n  - cron: \"0 5 * * *\"\n\n# Cancel previous runs that have not completed\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  warm-lfs-cache:\n    strategy:\n      matrix:\n        os: [ macos-13, ubuntu-latest, windows-latest ]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: nschloe/action-cached-lfs-checkout@v1\n\n  pytest:\n    needs: warm-lfs-cache\n\n    strategy:\n      matrix:\n        os:\n        - macos-13\n        - ubuntu-latest\n        - windows-latest\n        upstream:\n        # In each group:\n        # - Versions of ixmp and message_ix to test.\n        # - Latest supported Python version for those or other dependencies.\n        # - Extra dependencies, in particular fixed/maximum versions to resolve conficts.\n        #   - dask[dataframe] >= 2024.3.0 requires dask-expr and in turn pandas >= 2.0.\n        #     https://github.com/iiasa/message-ix-models/pull/156#issuecomment-2020152360\n        #   - genno: upstream versions < 3.8.0 import genno.computations, removed in 1.25.0.\n        #     https://github.com/iiasa/message-ix-models/pull/156\n        #   - pytest: upstream versions < 3.9.0 use a hook argument removed in pytest 8.1.0.\n        #     https://github.com/iiasa/message-ix-models/pull/155\n        #\n        # Minimum version given in pyproject.toml\n        - version: v3.4.0\n          python-version: \"3.11\"\n          extra-deps: '\"dask < 2024.3.0\" \"genno < 1.25\" \"pandas < 2.0\" \"pytest == 8.0.0\"' #\n        - version: v3.5.0\n          python-version: \"3.11\"\n          extra-deps: '\"dask < 2024.3.0\" \"genno < 1.25\" \"pandas < 2.0\" \"pytest == 8.0.0\"' #\n        - version: v3.6.0\n          python-version: \"3.11\"\n          extra-deps: '\"dask < 2024.3.0\" \"genno < 1.25\" \"pandas < 2.0\" \"pytest == 8.0.0\"' #\n        - version: v3.7.0\n          python-version: \"3.11\"\n          extra-deps: 'dask[dataframe]   \"genno < 1.25\"                \"pytest == 8.0.0\"' #\n        # Latest released version\n        - version: v3.8.0\n          python-version: \"3.12\"\n          extra-deps: 'dask[dataframe]                                 \"pytest == 8.0.0\"' #\n        # Development version\n        - version: main\n          python-version: \"3.12\"\n          extra-deps: 'dask[dataframe]' #\n\n      fail-fast: false\n\n    runs-on: ${{ matrix.os }}\n    name: ${{ matrix.os }}-py${{ matrix.upstream.python-version }}-upstream-${{ matrix.upstream.version }}\n\n    steps:\n    - name: Cache test data\n      uses: actions/cache@v4\n      with:\n        path: message-local-data\n        key: ${{ matrix.os }}\n\n    - name: Check out message-ix-models\n      uses: nschloe/action-cached-lfs-checkout@v1\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.upstream.python-version }}\n        cache: pip\n        cache-dependency-path: \"**/pyproject.toml\"\n\n    - uses: iiasa/actions/setup-gams@main\n      with:\n        version: 25.1.1\n        license: ${{ secrets.GAMS_LICENSE }}\n\n    - uses: ts-graphviz/setup-graphviz@v2\n      # TEMPORARY Work around ts-graphviz/setup-graphviz#630\n      if: ${{ ! startswith(matrix.os, 'macos-') }}\n\n    - name: Install packages and dependencies\n      # By default, install:\n      # - ixmp, message_ix: from GitHub branches/tags per matrix.upstream-version (above)\n      # - other dependencies including genno: from PyPI.\n      #\n      # To test against unreleased code (on `main`, or other branches\n      # for open PRs), temporarily uncomment, add, or edit lines below\n      # as needed. DO NOT merge such changes to `main`.\n      run: |\n        # pip install --upgrade \"genno @ git+https://github.com/khaeru/genno.git@main\"\n        pip install --upgrade \"ixmp @ git+https://github.com/iiasa/ixmp.git@${{ matrix.upstream.version }}\"\n        pip install --upgrade \"message-ix @ git+https://github.com/iiasa/message_ix.git@${{ matrix.upstream.version }}\"\n\n        pip install .[docs,tests] ${{ matrix.upstream.extra-deps }}\n\n        # TEMPORARY Work around hgrecco/pint#2007, unionai-oss/pandera#1685;\n        # see https://github.com/khaeru/genno/issues/140\n        pip install \"pint != 0.24.0\" \"numpy < 2\"\n\n    - name: Configure local data path\n      run: |\n        mkdir -p message-local-data/cache\n        mix-models config set \"message local data\" \"$(realpath message-local-data)\"\n        mix-models config show\n      shell: bash\n\n    - name: Run test suite using pytest\n      run: |\n        pytest message_ix_models \\\n          -m \"not snapshot\" \\\n          -rA --verbose --color=yes --durations=20 \\\n          --cov-report=term-missing --cov-report=xml \\\n          --numprocesses=auto \\\n          --local-cache --jvmargs=\"-Xmx6G\"\n      shell: bash\n\n    - name: Upload test coverage to Codecov.io\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }} # required\n\n  pre-commit:\n    name: Code quality\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with: { python-version: \"3.12\" }\n\n    - name: Force recreation of pre-commit virtual environment for mypy\n      if: github.event_name == 'schedule'  # Comment this line to run on a PR\n      run: gh cache list -L 999 | cut -f2 | grep pre-commit | xargs -I{} gh cache delete \"{}\" || true\n      env: { GH_TOKEN: \"${{ github.token }}\" }\n\n    - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "iiasa/message-ix-models"}
{"mined_at": "2024-07-15T18:03:35.156849", "created_at": "2023-05-19T22:43:24+02:00", "updated_at": "2023-05-19T22:43:24+02:00", "name": "Indices", "path": ".github/workflows/indices.yml", "contents": "name: Indices\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch:\n  \nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  update-indices:\n    runs-on: ubuntu-latest\n    steps:\n    - name: checkout repo content\n      uses: actions/checkout@v3\n\n    - name: setup python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: update platforms/index.js\n      run: cd platforms && python generate_index.py\n      \n    - name: update platform_wallpapers_packs/index.js\n      run: cd themes/platform_wallpapers_packs && python generate_index.py\n      \n    - name: update platform_thumbnails_packs/index.js\n      run: cd themes/platform_thumbnails_packs && python generate_index.py\n      \n    - name: commit files\n      run: |\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        git add -A\n        git diff-index --quiet HEAD || (git commit -a -m \"updated indices by GitHub Actions\" --allow-empty)\n\n    - name: push changes\n      uses: ad-m/github-push-action@v0.6.0\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        branch: main \n", "state": "active", "repository": "tapiocafox/daijishou"}
{"mined_at": "2024-07-15T18:03:37.266328", "created_at": "2021-03-05T17:03:24+01:00", "updated_at": "2021-03-05T17:03:24+01:00", "name": "Docs Publish", "path": ".github/workflows/docs.yml", "contents": "---\nname: Docs Publish\non:\n  push:\n    branches: [main]\n\njobs:\n  deploy:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip==23.0\n          pip install -U tox==4.11.0 setuptools==67.3.1 virtualenv==20.24.3 wheel==0.38.4\n          sudo apt update\n          sudo apt install graphviz=2.42.2-6 pandoc=2.9.2.1-3ubuntu2 qtbase5-dev=5.15.3+dfsg-2ubuntu0.2 qt5-qmake=5.15.3+dfsg-2ubuntu0.2\n      - name: Build docs\n        run: tox -edocs -- -j auto\n      - name: Bypass Jekyll Processing # Necessary for setting the correct css path\n        run: touch docs/_build/html/.nojekyll\n      - name: Deploy\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: docs/_build/html/\n", "state": "active", "repository": "qiskit-community/qiskit-metal"}
{"mined_at": "2024-07-15T18:03:38.475333", "created_at": "2020-11-13T17:46:41+01:00", "updated_at": "2023-02-09T17:03:04+01:00", "name": "Tests", "path": ".github/workflows/main.yml", "contents": "name: Tests\non:\n  # Run this workflow every time a new commit is pushed to or a pull request is created from one of these branches\n  push:\n    branches: [main, \"stable/*\"]\n  pull_request:\n    branches: [main, \"stable/*\"]\njobs:\n  # NOTE: The ubuntu-22.04 and macos-latest tests have been separated out because ubuntu\n  # requires installing some additional libraries (libglu1-mesa) for Gmsh to run. Please\n  # consider this aspect before combining the tests for both the OS platforms.\n  ubuntu-tests:\n    # Name the Job\n    name: tests-python${{ matrix.python-version }}-ubuntu-latest\n    # Set the type of machine to run on\n    runs-on: ubuntu-22.04\n    # Set matrix for runs-on\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ubuntu-latest-${{ matrix.python-version }}-pip-tests-${{ hashFiles('setup.py','requirements-dev.txt','requirements.txt') }}\n          restore-keys: |\n            ubuntu-latest-${{ matrix.python-version }}-pip-tests-\n            ubuntu-latest-${{ matrix.python-version }}-pip-\n            ubuntu-latest-${{ matrix.python-version }}\n      - name: Install Deps\n        run: |\n          python -m pip install -U tox==4.11.0 setuptools==67.3.1 virtualenv==20.24.3 wheel==0.38.4\n          sudo apt install libglu1-mesa=9.0.2-1 libglu1-mesa-dev=9.0.2-1\n      - name: Install and Run Tests\n        run: tox -e py\n  macos-tests:\n    # Name the Job\n    name: tests-python${{ matrix.python-version }}-macOS-latest\n    # Set the type of machine to run on\n    runs-on: macos-12\n    # Set matrix for runs-on\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n    steps:\n      - name: Chekout code\n        uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: macOS-latest-${{ matrix.python-version }}-pip-tests-${{ hashFiles('setup.py','requirements-dev.txt','requirements.txt') }}\n          restore-keys: |\n            macOS-latest-${{ matrix.python-version }}-pip-tests-\n            macOS-latest-${{ matrix.python-version }}-pip-\n            macOS-latest-${{ matrix.python-version }}\n      - name: Install Deps\n        run: python -m pip install -U tox==4.11.0 setuptools==67.3.1 virtualenv==20.24.3 wheel==0.38.4\n      - name: Install and Run Tests\n        run: tox -e py\n  windows-tests:\n    name: tests-python${{ matrix.python-version }}-windows\n    runs-on: windows-2022\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~\\AppData\\Local\\pip\\Cache\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-tests-${{ hashFiles('setup.py','requirements-dev.txt','requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-tests-\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-\n            ${{ runner.os }}-${{ matrix.python-version }}-\n      - name: Install deps\n        run: |\n          python -m pip install -U tox==4.11.0 cvxopt==1.3.0 setuptools==67.3.1 virtualenv==20.24.3 wheel==0.38.4\n        shell: pwsh\n      - name: Install and Run Tests\n        run: tox --sitepackages -e py\n        shell: bash -l {0}\n  lint:\n    name: lint\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-lint-${{ hashFiles('setup.py','requirements-dev.txt','requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-lint-\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-\n            ${{ runner.os }}-${{ matrix.python-version }}-\n      - name: Install Deps\n        run: python -m pip install -U tox==4.11.0\n      - name: Run lint\n        run: tox -elint\n  docs:\n    name: docs\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Pip cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-docs-${{ hashFiles('setup.py','requirements-dev.txt','requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-docs-\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n      - name: Install Deps\n        run: |\n          python -m pip install -U tox==4.11.0\n          sudo apt update\n          sudo apt install -y graphviz=2.42.2-6 pandoc=2.9.2.1-3ubuntu2 qtbase5-dev=5.15.3+dfsg-2ubuntu0.2 qt5-qmake=5.15.3+dfsg-2ubuntu0.2\n      - name: Build Docs\n        run: tox -edocs\n      - uses: actions/upload-artifact@v2\n        with:\n          name: html_docs\n          path: docs/_build/html\n", "state": "active", "repository": "qiskit-community/qiskit-metal"}
{"mined_at": "2024-07-15T18:03:39.478299", "created_at": "2020-11-13T17:46:41+01:00", "updated_at": "2021-03-18T16:47:36+01:00", "name": "Release Artifacts", "path": ".github/workflows/release.yml", "contents": "name: Release Artifacts\non:\n  push:\n    tags:\n      - \"*\"\njobs:\n  wheel-build:\n    name: Build and Publish Release Artifacts\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        name: Install Python\n        with:\n          python-version: \"3.10\"\n      - name: Install Deps\n        run: pip install -U twine==4.0.2 wheel==0.38.4\n      - name: Build Artifacts\n        run: |\n          python setup.py sdist\n          python setup.py bdist_wheel\n        shell: bash\n      - uses: actions/upload-artifact@v2\n        with:\n          path: ./dist/qiskit*\n      - name: Publish to PyPi\n        env:\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n          TWINE_USERNAME: qiskit\n        run: twine upload dist/qiskit*\n", "state": "active", "repository": "qiskit-community/qiskit-metal"}
{"mined_at": "2024-07-15T18:03:40.467441", "created_at": "2024-02-07T03:08:29+01:00", "updated_at": "2024-02-07T03:08:29+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "qiskit-community/qiskit-metal"}
{"mined_at": "2024-07-15T18:03:42.674814", "created_at": "2021-09-17T19:00:08+02:00", "updated_at": "2023-09-21T13:12:32+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\r\n\r\non:\r\n  pull_request:\r\n  workflow_dispatch:\r\n    inputs:\r\n      run_all_tests:\r\n        description: 'Run all extended MAPDL build tests'\r\n        required: true\r\n        type: boolean\r\n\r\n  push:\r\n    tags:\r\n      - \"v*\"\r\n    branches:\r\n       - main\r\n  schedule:\r\n    # * is a special character in YAML so you have to quote this string\r\n    - cron:  '30 4 * * *'\r\n\r\nenv:\r\n  PROJECT_NAME: 'PyMAPDL'\r\n  MAIN_PYTHON_VERSION: '3.10'\r\n  PACKAGE_NAME: 'ansys-mapdl-core'\r\n  PACKAGE_NAMESPACE: 'ansys.mapdl.core'\r\n  DOCUMENTATION_CNAME: 'mapdl.docs.pyansys.com'\r\n  MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }}\r\n  MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}\r\n  PYANSYS_OFF_SCREEN: True\r\n  DPF_START_SERVER: False\r\n  DPF_PORT: 21004\r\n  MAPDL_PACKAGE: ghcr.io/ansys/mapdl\r\n  MAPDL_IMAGE_VERSION_DOCS_BUILD: v24.1-ubuntu-student\r\n  ON_CI: True\r\n  PYTEST_ARGUMENTS: '-vvv --durations=10 --maxfail=3 --reruns 3 --reruns-delay 4 --cov=ansys.mapdl.core --cov-report=html'\r\n\r\n  # Following env vars when changed will \"reset\" the mentioned cache,\r\n  # by changing the cache file name. It is rendered as ...-v%RESET_XXX%-...\r\n  # You should go up in number, if you go down (or repeat a previous value)\r\n  # you might end up reusing a previous cache if it haven't been deleted already.\r\n  # It applies 7 days retention policy by default.\r\n  RESET_EXAMPLES_CACHE: 2\r\n  RESET_DOC_BUILD_CACHE: 2\r\n  RESET_AUTOSUMMARY_CACHE: 2\r\n\r\nconcurrency:\r\n  group: ${{ github.workflow }}-${{ github.ref }}\r\n  cancel-in-progress: true\r\n\r\ndefaults:\r\n  run:\r\n    shell: bash\r\n\r\npermissions:\r\n  contents: write\r\n  packages: read\r\n  pull-requests: write\r\n  issues: write\r\n\r\njobs:\r\n\r\n\r\n  update-changelog:\r\n    name: \"Update CHANGELOG (on release)\"\r\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags')\r\n    runs-on: ubuntu-latest\r\n    permissions:\r\n      contents: write\r\n      pull-requests: write\r\n    steps:\r\n      - uses: ansys/actions/doc-deploy-changelog@v6\r\n        with:\r\n          token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}\r\n\r\n\r\n  branch-name:\r\n    # Only if the event is a pull request and the branch name is not from the pre-commit-ci bot\r\n    if: github.event_name == 'pull_request' && github.head_ref != 'pre-commit-ci-update-config'\r\n    name: Check the name of the branch\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - name: Check branch name\r\n        uses: ansys/actions/branch-name-style@v6\r\n\r\n\r\n  commit-name:\r\n    if: github.event_name == 'pull_request'\r\n    name: Check the name of the commit\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - name: Check commit name\r\n        uses: ansys/actions/commit-style@v6\r\n        with:\r\n          token: ${{ secrets.GITHUB_TOKEN }}\r\n\r\n\r\n  doc-style:\r\n    name: \"Documentation style check\"\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - name: \"Ansys documentation style checks\"\r\n        uses: ansys/actions/doc-style@v6\r\n        with:\r\n          token: ${{ secrets.GITHUB_TOKEN }}\r\n          vale-version: \"3.4.1\"\r\n\r\n\r\n  smoke-tests:\r\n    name: \"Build and smoke test (${{ matrix.os }} | Python ${{ matrix.python-version }}) (Release=${{ matrix.should-release }})\"\r\n    runs-on: ${{ matrix.os }}\r\n    if: github.ref != 'refs/heads/main'\r\n    timeout-minutes: 20\r\n    strategy:\r\n      fail-fast: false\r\n      matrix:\r\n        os: [ubuntu-latest, windows-latest, macos-latest]\r\n        python-version: ['3.9', '3.10', '3.11', '3.12']\r\n        # Only perform wheelhouse builds for macOS when releasing\r\n        should-release: \r\n          - ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}\r\n        exclude:\r\n          - should-release: false\r\n            os: macos-latest\r\n    steps:\r\n      - name: \"Build wheelhouse and perform smoke test\"\r\n        uses: ansys/actions/build-wheelhouse@v6\r\n        with:\r\n          library-name: ${{ env.PACKAGE_NAME }}\r\n          operating-system: ${{ matrix.os }}\r\n          python-version: ${{ matrix.python-version }}\r\n\r\n      - name: \"Importing library\"\r\n        run: |\r\n          python -c \"from ansys.mapdl import core as pymapdl; print(pymapdl.Report())\"\r\n\r\n      - name: \"Checking plotting support\"\r\n        run:\r\n          python -c \"from pyvista.plotting import system_supports_plotting; print('System support plotting ' + str(system_supports_plotting()))\"\r\n\r\n\r\n  docs-build:\r\n    name: \"Build documentation\"\r\n    runs-on: ubuntu-latest\r\n    needs: doc-style\r\n    timeout-minutes: 60\r\n    outputs:\r\n      PYMAPDL_VERSION: ${{ steps.version.outputs.PYMAPDL_VERSION }}\r\n    env:\r\n      PYMAPDL_PORT: 21000  # default won't work on GitHub runners\r\n      PYMAPDL_DB_PORT: 21001  # default won't work on GitHub runners\r\n      PYMAPDL_START_INSTANCE: FALSE\r\n      ON_DOCUMENTATION: TRUE\r\n    steps:\r\n      - name: \"Install Git and checkout project\"\r\n        uses: actions/checkout@v4.1.7\r\n\r\n      - name: \"Login in Github container registry\"\r\n        uses: docker/login-action@v3.2.0\r\n        with:\r\n          registry: ghcr.io\r\n          username: ${{ github.actor }}\r\n          password: ${{ secrets.GITHUB_TOKEN }}\r\n\r\n      - name: \"Pull, launch, and validate MAPDL service\"\r\n        id: start_mapdl\r\n        env:\r\n          LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }}\r\n          MAPDL_VERSION: ${{ env.MAPDL_IMAGE_VERSION_DOCS_BUILD }}\r\n          DISTRIBUTED_MODE: \"dmp\"\r\n        run: |\r\n          export INSTANCE_NAME=MAPDL_0\r\n          .ci/start_mapdl.sh &> mapdl_launch.log & export DOCKER_PID=$!\r\n          echo \"Launching MAPDL service at PID: $DOCKER_PID\"\r\n          echo \"DOCKER_PID=$(echo $DOCKER_PID)\" >> $GITHUB_OUTPUT\r\n\r\n      - name: \"DPF server activation\"\r\n        run: |\r\n          $(docker pull ghcr.io/ansys/dpf-core:22.2dev && docker run -d --name dpfserver -p ${{ env.DPF_PORT }}:50052 ghcr.io/ansys/dpf-core:22.2dev && echo \"DPF Server active on port ${{ env.DPF_PORT }}.\") &\r\n\r\n      - name: \"Getting files change filters\"\r\n        uses: dorny/paths-filter@v3\r\n        id: changes\r\n        with:\r\n          filters: |\r\n            workflows:\r\n              - '.github/workflows/**'\r\n              - 'pyproject.toml'\r\n            examples:\r\n              - 'examples/**'\r\n              - 'pyproject.toml'\r\n\r\n      - name: \"Setup Python with cache\"\r\n        uses: actions/setup-python@v5\r\n        if:  steps.changes.outputs.workflows != 'true'\r\n        with:\r\n          cache: 'pip'\r\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\r\n\r\n      - name: \"Setup Python without cache\"\r\n        uses: actions/setup-python@v5\r\n        if: steps.changes.outputs.workflows == 'true'\r\n        with:\r\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\r\n\r\n      - name: \"Install OS packages\"\r\n        run: |\r\n          sudo apt update \r\n          sudo apt install zip pandoc libgl1-mesa-glx xvfb texlive-latex-extra latexmk graphviz texlive-xetex texlive-fonts-extra qpdf xindy\r\n\r\n      - name: \"Test virtual framebuffer\"\r\n        run: |\r\n          pip install -r .ci/requirements_test_xvfb.txt\r\n          xvfb-run python .ci/display_test.py\r\n\r\n      - name: \"Install ansys-mapdl-core\"\r\n        run: |\r\n          pip install .\r\n          xvfb-run python -c \"from ansys.mapdl import core as pymapdl; print(pymapdl.Report())\"\r\n\r\n      - name: \"Retrieve PyMAPDL version\"\r\n        id: version\r\n        run: |\r\n          echo \"PYMAPDL_VERSION=$(python -c 'from ansys.mapdl.core import __version__; print(__version__)')\" >> $GITHUB_OUTPUT\r\n          echo \"PyMAPDL version is: $(python -c \"from ansys.mapdl.core import __version__; print(__version__)\")\"\r\n\r\n      - name: \"Cache examples\"\r\n        uses: actions/cache@v4\r\n        if: steps.changes.outputs.examples != 'true' || (github.ref == 'refs/heads/main' && !contains(github.ref, 'refs/tags'))\r\n        with:\r\n          path: doc/source/examples\r\n          key: Examples-v${{ env.RESET_EXAMPLES_CACHE }}-${{ steps.version.outputs.PYMAPDL_VERSION }}-${{ github.sha }}\r\n          restore-keys: |\r\n            Examples-v${{ env.RESET_EXAMPLES_CACHE }}-${{ steps.version.outputs.PYMAPDL_VERSION }}\r\n\r\n      - name: \"Cache docs build directory\"\r\n        uses: actions/cache@v4\r\n        if: steps.changes.outputs.workflows != 'true' || (github.ref == 'refs/heads/main' && !contains(github.ref, 'refs/tags'))\r\n        with:\r\n          path: doc/_build\r\n          key: doc-build-v${{ env.RESET_DOC_BUILD_CACHE }}-${{ steps.version.outputs.PYMAPDL_VERSION }}-${{ github.sha }}\r\n          restore-keys: |\r\n            doc-build-v${{ env.RESET_DOC_BUILD_CACHE }}-${{ steps.version.outputs.PYMAPDL_VERSION }}\r\n\r\n      - name: \"Cache autosummary\"\r\n        uses: actions/cache@v4\r\n        if: steps.changes.outputs.workflows != 'true' || (github.ref == 'refs/heads/main' && !contains(github.ref, 'refs/tags'))\r\n        with:\r\n          path: doc/source/**/_autosummary/*.rst\r\n          key: autosummary-v${{ env.RESET_AUTOSUMMARY_CACHE }}-${{ steps.version.outputs.PYMAPDL_VERSION }}-${{ github.sha }}\r\n          restore-keys: |\r\n            autosummary-v${{ env.RESET_AUTOSUMMARY_CACHE }}-${{ steps.version.outputs.PYMAPDL_VERSION }}\r\n\r\n      - name: \"Install docs build requirements\"\r\n        run: |\r\n          pip install .[doc]\r\n\r\n      - name: \"Waiting for the services to be up\"\r\n        run: |\r\n          .ci/waiting_services.sh\r\n\r\n      - name: \"Build documentation\"\r\n        run: |\r\n          xvfb-run make -C doc html SPHINXOPTS=\"-j auto -W --keep-going\"\r\n\r\n      - name: \"Substitute defective GIF\"\r\n        run: |\r\n          .ci/substitute_defective_gif.sh\r\n\r\n      - name: \"Upload HTML Documentation\"\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: documentation-html\r\n          path: doc/_build/html\r\n          retention-days: 7\r\n\r\n      - name: \"Build PDF Documentation\"\r\n        working-directory: doc\r\n        run: make pdf\r\n\r\n      - name: \"Show latex dir\"\r\n        working-directory: doc\r\n        run: ls _build/latex\r\n\r\n      - name: \"Upload PDF documentation\"\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: documentation-pdf\r\n          path: doc/_build/latex/pymapdl*.pdf\r\n          retention-days: 7\r\n\r\n      - name: \"Upload minimal requirements file\"\r\n        # To include it in the release\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: minimum_requirements.txt\r\n          path: ./minimum_requirements.txt\r\n\r\n      - name: \"Collect logs on failure\"\r\n        if: always()\r\n        env:\r\n          MAPDL_VERSION: ${{ env.MAPDL_IMAGE_VERSION_DOCS_BUILD }}\r\n          MAPDL_INSTANCE: MAPDL_0\r\n          LOG_NAMES: logs-build-docs\r\n        run: |\r\n          .ci/collect_mapdl_logs.sh\r\n\r\n      - name: \"Upload logs to GitHub\"\r\n        if: always()\r\n        uses: actions/upload-artifact@master\r\n        with:\r\n          name: logs-build-docs.tgz\r\n          path: ./logs-build-docs.tgz\r\n\r\n      - name: \"Display files structure\"\r\n        if: always()\r\n        env:\r\n          MAPDL_INSTANCE: mapdl\r\n          LOG_NAMES: logs-build-docs\r\n        run: |\r\n          .ci/display_logs.sh\r\n\r\n  build-test:\r\n    name: \"Remote: Build & test MAPDL ${{ matrix.mapdl-version }} (Extended testing ${{ matrix.extended_testing }})\"\r\n    runs-on: ubuntu-latest\r\n    if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'\r\n    needs: [smoke-tests]\r\n    timeout-minutes: 35\r\n    strategy:\r\n      fail-fast: false\r\n      matrix:\r\n        mapdl-version: [\r\n          'v22.2.1',\r\n          'v22.2-ubuntu',\r\n          'v23.1.0',\r\n          'v23.1-ubuntu',\r\n          'v23.2.0',\r\n          'v23.2-ubuntu',\r\n          'v24.1.0',\r\n          'v24.1-ubuntu',\r\n          'v24.1-ubuntu-student',\r\n          'v24.2.0',\r\n          'latest-ubuntu',\r\n          'latest-ubuntu-student',\r\n          ]\r\n        extended_testing:\r\n          - ${{ github.event_name == 'schedule' || ( github.event_name == 'workflow_dispatch' && inputs.run_all_tests ) || ( github.event_name == 'push' && contains(github.ref, 'refs/tags') ) }}\r\n        exclude:\r\n          # In PRs skipping all MAPDL version except student ones (commented out).\r\n          - extended_testing: false\r\n            mapdl-version: 'v22.2.1'\r\n          - extended_testing: false\r\n            mapdl-version: 'v22.2-ubuntu'\r\n          - extended_testing: false\r\n            mapdl-version: 'v23.1.0'\r\n          - extended_testing: false\r\n            mapdl-version: 'v23.1-ubuntu'\r\n          - extended_testing: false\r\n            mapdl-version: 'v23.2.0'\r\n          - extended_testing: false\r\n            mapdl-version: 'v23.2-ubuntu'\r\n          - extended_testing: false\r\n            mapdl-version: 'v24.1.0'\r\n          - extended_testing: false\r\n            mapdl-version: 'v24.1-ubuntu'\r\n          # - extended_testing: false\r\n          #   mapdl-version: 'v24.1-ubuntu-student'\r\n          - extended_testing: false\r\n            mapdl-version: 'v24.2.0'\r\n          - extended_testing: false\r\n            mapdl-version: 'latest-ubuntu'\r\n          # - extended_testing: false\r\n          #   mapdl-version: 'latest-ubuntu-student'\r\n\r\n    env:\r\n      PYMAPDL_PORT: 21000  # default won't work on GitHub runners\r\n      PYMAPDL_PORT2: 21001  # for the pool testing and default won't work on GitHub runners\r\n      PYMAPDL_DB_PORT: 21002  # default won't work on GitHub runners\r\n      PYMAPDL_DB_PORT2: 21003  # default won't work on GitHub runners\r\n      PYMAPDL_START_INSTANCE: FALSE\r\n      ON_LOCAL: FALSE\r\n      ON_UBUNTU: FALSE\r\n\r\n    outputs:\r\n      DISTRIBUTED_MODE: ${{ steps.distributed_mode.outputs.distributed_mode }}\r\n\r\n    steps:\r\n      - name: \"Install Git and checkout project\"\r\n        uses: actions/checkout@v4.1.7\r\n\r\n      - name: \"Login in Github container registry\"\r\n        uses: docker/login-action@v3.2.0\r\n        with:\r\n          registry: ghcr.io\r\n          username: ${{ github.actor }}\r\n          password: ${{ secrets.GITHUB_TOKEN }}\r\n\r\n      - name: \"Getting SMP/DMP mode\"\r\n        id: distributed_mode\r\n        run: |\r\n          image=${{ matrix.mapdl-version }}\r\n          export distributed_mode=\"smp\"\r\n          if [[ $image == *\".1.\"* ]]; then\r\n            export distributed_mode=\"dmp\";\r\n          fi\r\n          echo \"Distributed mode: $distributed_mode\"\r\n          echo \"distributed_mode=$(echo $distributed_mode)\" >> $GITHUB_OUTPUT\r\n\r\n      - name: \"Pull, launch, and validate MAPDL service\"\r\n        id: start_mapdl\r\n        env:\r\n          LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }}\r\n          MAPDL_VERSION: ${{ matrix.mapdl-version }}\r\n          DISTRIBUTED_MODE: ${{ steps.distributed_mode.outputs.distributed_mode }}\r\n        run: |\r\n          echo \"Launching first MAPDL instance...\"\r\n          export INSTANCE_NAME=MAPDL_0\r\n          .ci/start_mapdl.sh &> mapdl_launch_0.log & export DOCKER_PID_0=$!\r\n          echo \"Launching a second instance for MAPDL pool testing...\"\r\n          export PYMAPDL_PORT=${{ env.PYMAPDL_PORT2 }}\r\n          export PYMAPDL_DB_PORT=${{ env.PYMAPDL_DB_PORT2 }}\r\n          export INSTANCE_NAME=MAPDL_1\r\n          .ci/start_mapdl.sh &> mapdl_launch_1.log & export DOCKER_PID_1=$!\r\n          echo \"Launching MAPDL service 0 at PID: $DOCKER_PID_0\"\r\n          echo \"Launching MAPDL service 1 at PID: $DOCKER_PID_2\"\r\n          echo \"DOCKER_PID_0=$(echo $DOCKER_PID_0)\" >> $GITHUB_OUTPUT\r\n          echo \"DOCKER_PID_1=$(echo $DOCKER_PID_1)\" >> $GITHUB_OUTPUT\r\n\r\n      - name: \"DPF server activation\"\r\n        run: |\r\n          $(docker pull ghcr.io/ansys/dpf-core:22.2dev && docker run -d --name dpfserver -p ${{ env.DPF_PORT }}:50052 ghcr.io/ansys/dpf-core:22.2dev && echo \"DPF Server active on port ${{ env.DPF_PORT }}.\") &\r\n\r\n      - name: \"Getting files change filters\"\r\n        uses: dorny/paths-filter@v3\r\n        id: changes\r\n        with:\r\n          filters: |\r\n            workflows:\r\n              - '.github/workflows/**'\r\n\r\n      - name: \"Setup Python with cache\"\r\n        uses: actions/setup-python@v5\r\n        if:  steps.changes.outputs.workflows != 'true'\r\n        with:\r\n          cache: 'pip'\r\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\r\n\r\n      - name: \"Setup Python without cache\"\r\n        uses: actions/setup-python@v5\r\n        if: steps.changes.outputs.workflows == 'true'\r\n        with:\r\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\r\n\r\n      - name: \"Install os packages\"\r\n        run: |\r\n          sudo apt update\r\n          sudo apt install libgl1-mesa-glx xvfb\r\n\r\n      - name: \"Test virtual framebuffer\"\r\n        run: |\r\n          pip install -r .ci/requirements_test_xvfb.txt\r\n          xvfb-run python .ci/display_test.py\r\n\r\n      - name: Install ansys-mapdl-core\r\n        run: |\r\n          python -m pip install build\r\n          python -m build\r\n          python -m pip install dist/*.whl\r\n          xvfb-run python -c \"from ansys.mapdl import core as pymapdl; print(pymapdl.Report())\"\r\n\r\n      - name: \"Unit testing requirements installation\"\r\n        run: |\r\n          python -m pip install .[tests]\r\n\r\n      - name: \"Waiting for the services to be up\"\r\n        run: |\r\n          .ci/waiting_services.sh\r\n\r\n      - name: \"Unit testing\"\r\n        env:\r\n          DISTRIBUTED_MODE: ${{ steps.distributed_mode.outputs.distributed_mode }}\r\n        run: |\r\n          if [[ \"${{ matrix.mapdl-version }}\" == *\"ubuntu\"* ]]; then export ON_UBUNTU=true; else export ON_UBUNTU=false; fi\r\n          echo \"ON_UBUNTU: $ON_UBUNTU\"\r\n          xvfb-run pytest \\\r\n            ${{ env.PYTEST_ARGUMENTS }} \\\r\n            --ignore_image_cache \\\r\n            --cov-report=xml:centos-${{ matrix.mapdl-version }}-remote.xml\r\n\r\n      - uses: codecov/codecov-action@v4\r\n        name: \"Upload coverage to Codecov\"\r\n        with:\r\n          token: ${{ secrets.CODECOV_TOKEN }} # required\r\n          name: centos-${{ matrix.mapdl-version }}-remote.xml\r\n          flags: centos,remote,${{ matrix.mapdl-version }}\r\n\r\n      - name: Upload coverage artifacts\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: centos-${{ matrix.mapdl-version }}-remote.xml\r\n          path: ./centos-${{ matrix.mapdl-version }}-remote.xml\r\n\r\n      - name: \"Check package\"\r\n        run: |\r\n          pip install twine\r\n          twine check dist/*\r\n\r\n      - name: \"Upload wheel and binaries\"\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: PyMAPDL-packages-${{ matrix.mapdl-version }}\r\n          path: dist/\r\n          retention-days: 7\r\n\r\n      - name: \"Collect logs on failure\"\r\n        if: always()\r\n        env:\r\n          MAPDL_VERSION: ${{ matrix.mapdl-version }}\r\n          MAPDL_INSTANCE: mapdl\r\n          LOG_NAMES: logs-${{ matrix.mapdl-version }}\r\n        run: |\r\n          .ci/collect_mapdl_logs.sh\r\n\r\n      - name: \"Upload logs to GitHub\"\r\n        if: always()\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: logs-${{ matrix.mapdl-version }}.tgz\r\n          path: ./logs-${{ matrix.mapdl-version }}.tgz\r\n\r\n      - name: \"Display files structure\"\r\n        if: always()\r\n        env:\r\n          MAPDL_INSTANCE: mapdl\r\n          LOG_NAMES: logs-${{ matrix.mapdl-version }}\r\n        run: |\r\n          .ci/display_logs.sh\r\n\r\n  build-test-ubuntu:\r\n    name: \"Local: Build & test on Ubuntu MAPDL ${{ matrix.mapdl-image }} (Extended testing ${{ matrix.extended_testing }})\"\r\n    runs-on: ubuntu-latest\r\n    if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'\r\n    needs: [smoke-tests]\r\n    timeout-minutes: 55\r\n    outputs:\r\n      pushed: ${{ steps.attatch-to-pr.outputs.pushed }}\r\n      committed: ${{ steps.attatch-to-pr.outputs.committed }}\r\n      commit_long_sha: ${{ steps.attatch-to-pr.outputs.commit_long_sha }}\r\n    strategy:\r\n      fail-fast: false\r\n      matrix:\r\n        mapdl-image: [\r\n          'v23.2-ubuntu', \r\n          'v24.1-ubuntu', \r\n          'v24.1-ubuntu-student',\r\n          'latest-ubuntu',\r\n          'latest-ubuntu-student',\r\n          ]\r\n        extended_testing:\r\n          - ${{ github.event_name == 'schedule' || ( github.event_name == 'workflow_dispatch' && inputs.run_all_tests ) || ( github.event_name == 'push' && contains(github.ref, 'refs/tags') ) }}\r\n        exclude:\r\n          - extended_testing: false\r\n            mapdl-image: 'v23.2-ubuntu'\r\n          - extended_testing: false\r\n            mapdl-image: 'v24.1-ubuntu'\r\n          - extended_testing: false\r\n            mapdl-image: 'latest-ubuntu'\r\n    container:\r\n      image: ghcr.io/ansys/mapdl:${{ matrix.mapdl-image }}\r\n      options: -u=0:0 --oom-kill-disable --memory=6656MB --memory-swap=16896MB --shm-size=1gb --entrypoint /bin/bash\r\n      credentials:\r\n        username: ${{ github.actor }}\r\n        password: ${{ secrets.GITHUB_TOKEN }}\r\n    env:\r\n      ON_LOCAL: true\r\n      ON_UBUNTU: true\r\n      ON_STUDENT: true\r\n      P_SCHEMA: \"/ansys_inc/v241/ansys/ac4/schema\"\r\n      PYTEST_TIMEOUT: 120 # seconds. Limit the duration for each unit test\r\n\r\n    steps:\r\n      - name: \"Install Git and checkout project\"\r\n        uses: actions/checkout@v4.1.7\r\n        with:\r\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\r\n          ref: ${{ github.event.pull_request.head.ref }}\r\n\r\n      - name: \"Setup Python\"\r\n        uses: actions/setup-python@v5\r\n        with:\r\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\r\n\r\n      - name: \"Checking Python\"\r\n        run: |\r\n          python --version\r\n          python -m pip install --upgrade pip\r\n          python -m venv ./.venv\r\n          source ./.venv/bin/activate\r\n\r\n      - name: \"Install OS packages\"\r\n        run: |\r\n          apt update\r\n          apt install -y libgl1-mesa-glx xvfb libgomp1\r\n\r\n      - name: \"Test virtual framebuffer\"\r\n        run: |\r\n          python -m pip install -r .ci/requirements_test_xvfb.txt\r\n          xvfb-run python .ci/display_test.py\r\n\r\n      - name: \"Install ansys-mapdl-core\"\r\n        run: |\r\n          python -m pip install build\r\n          python -m build\r\n          python -m pip install dist/*.whl\r\n          xvfb-run python -c \"from ansys.mapdl import core as pymapdl; print(pymapdl.Report())\"\r\n\r\n      - name: \"Unit testing requirements installation\"\r\n        run: |\r\n          python -m pip install .[tests]\r\n\r\n      - name: \"Unit testing\"\r\n        env:\r\n          ANSYSLMD_LICENSE_FILE: \"1055@${{ secrets.LICENSE_SERVER }}\"\r\n        run: |\r\n          unset PYMAPDL_PORT\r\n          unset PYMAPDL_START_INSTANCE\r\n          export AWP_ROOT222=/ansys_inc\r\n          xvfb-run pytest -k \"not test_dpf\" \\\r\n            ${{ env.PYTEST_ARGUMENTS }} \\\r\n            --reset_only_failed --add_missing_images \\\r\n            --cov-report=xml:${{ matrix.mapdl-image }}-local.xml\r\n\r\n      - name: \"Adding the directory as safe directory for later step\"\r\n        run: |\r\n          git config --global --add safe.directory $GITHUB_WORKSPACE\r\n\r\n      - name: \"Attaching modified files to PR\"\r\n        id: attatch-to-pr\r\n        uses: EndBug/add-and-commit@v9\r\n        with:\r\n          message: Update the image cache\r\n          committer_name: GitHub Actions\r\n          committer_email: actions@github.com\r\n          add: './tests/.image_cache/*.png'\r\n\r\n      - name: \"PR comment with reactions\"\r\n        if: ${{ steps.attatch-to-pr.outputs.pushed == 'true' }}\r\n        uses: thollander/actions-comment-pull-request@v2\r\n        with:\r\n          message: |\r\n            Hello!  :wave:\r\n\r\n            Your PR is changing the image cache. So I am attaching the new image cache in a new [commit](https://github.com/ansys/pymapdl/commit/${{ steps.attatch-to-pr.outputs.commit_long_sha }}).\r\n\r\n            This commit does not re-run the CICD workflows (since no changes are made in the codebase) therefore you will see the actions showing in their status `Expected — Waiting for status to be reported`. Do not worry. You commit workflow is still running [here](https://github.com/ansys/pymapdl/pull/${{ github.event.pull_request.number }}/checks?sha=${{ github.event.pull_request.head.sha }}) :smile:\r\n\r\n            You might want to rerun the test to make sure that everything is passing. You can retrigger the CICD sending an empty commit `git commit -m \"Empty comment to trigger CICD\" --allow-empty`.\r\n\r\n            You will see this message everytime your commit changes the image cache but you are not attaching the updated cache. :nerd_face:\r\n\r\n          reactions: rocket\r\n\r\n      - uses: codecov/codecov-action@v4\r\n        name: \"Upload coverage to Codecov\"\r\n        with:\r\n          token: ${{ secrets.CODECOV_TOKEN }} # required\r\n          root_dir: ${{ github.workspace }}\r\n          name: ${{ matrix.mapdl-image }}-local.xml\r\n          flags: ubuntu,local,${{ matrix.mapdl-image }}\r\n\r\n      - name: \"Upload coverage artifacts\"\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: ${{ matrix.mapdl-image }}-local.xml\r\n          path: ./${{ matrix.mapdl-image }}-local.xml\r\n\r\n\r\n  build-test-ubuntu-minimal:\r\n    name: \"Local: Build & test minimal setup on Ubuntu MAPDL ${{ matrix.mapdl-image }} (Extended testing ${{ matrix.extended_testing }})\"\r\n    runs-on: ubuntu-latest\r\n    if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'\r\n    needs: [smoke-tests]\r\n    timeout-minutes: 55\r\n    strategy:\r\n      fail-fast: false\r\n      matrix:\r\n        mapdl-image: [\r\n          'v23.2-ubuntu',\r\n          'v24.1-ubuntu',\r\n          'v24.1-ubuntu-student',\r\n          'latest-ubuntu',\r\n          'latest-ubuntu-student',\r\n          ]\r\n        extended_testing:\r\n          - ${{ github.event_name == 'schedule' || ( github.event_name == 'workflow_dispatch' && inputs.run_all_tests ) || ( github.event_name == 'push' && contains(github.ref, 'refs/tags') ) }}\r\n        exclude:\r\n          - extended_testing: false\r\n            mapdl-image: 'v23.2-ubuntu'\r\n          - extended_testing: false\r\n            mapdl-image: 'v24.1-ubuntu'\r\n          - extended_testing: false\r\n            mapdl-image: 'latest-ubuntu'\r\n    container:\r\n      image: ghcr.io/ansys/mapdl:${{ matrix.mapdl-image }}\r\n      options: -u=0:0 --oom-kill-disable --memory=6656MB --memory-swap=16896MB --shm-size=1gb --entrypoint /bin/bash\r\n      credentials:\r\n        username: ${{ github.actor }}\r\n        password: ${{ secrets.GITHUB_TOKEN }}\r\n    env:\r\n      ON_LOCAL: true\r\n      ON_UBUNTU: true\r\n      ON_STUDENT: true\r\n\r\n    steps:\r\n      - name: \"Install Git and checkout project\"\r\n        uses: actions/checkout@v4.1.7\r\n        with:\r\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\r\n          ref: ${{ github.event.pull_request.head.ref }}\r\n\r\n      - name: \"Installing missing package\"\r\n        run: |\r\n          sudo apt-get update\r\n          sudo apt-get install -y libgomp1\r\n\r\n      - name: \"Setup Python\"\r\n        uses: actions/setup-python@v5\r\n        with:\r\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\r\n\r\n      - name: \"Checking Python\"\r\n        run: |\r\n          python --version\r\n          python -m pip install --upgrade pip\r\n\r\n      - name: \"Install ansys-mapdl-core\"\r\n        run: |\r\n          python -m pip install . --no-deps\r\n          python -m pip install -r minimum_requirements.txt\r\n          python -c \"from ansys.mapdl import core as pymapdl; print('Import successfull')\"\r\n\r\n      - name: \"Unit testing requirements installation\"\r\n        run: |\r\n          python -m pip install pytest pytest-rerunfailures pytest-cov\r\n\r\n      - name: \"Unit testing\"\r\n        env:\r\n          ANSYSLMD_LICENSE_FILE: \"1055@${{ secrets.LICENSE_SERVER }}\"\r\n        run: |\r\n          # Because there is no 'ansys-tools-path' we need to input the\r\n          # executable path with the env var: PYMAPDL_MAPDL_EXEC.\r\n\r\n          if [[ \"${{ matrix.mapdl-image }}\" == *\"latest-ubuntu\"* ]] ; then\r\n            version=\"242\"\r\n          else\r\n            version=$(echo \"${{ matrix.mapdl-image }}\" | head -c 5 | tail -c 4 | tr -d '.')\r\n          fi;\r\n\r\n          echo \"$version\"\r\n\r\n          export PYMAPDL_MAPDL_EXEC=/ansys_inc/v\"$version\"/ansys/bin/ansys\"$version\"\r\n          echo \"$PYMAPDL_MAPDL_EXEC\"\r\n\r\n          unset PYMAPDL_START_INSTANCE\r\n          pytest -k \"not test_dpf\" \\\r\n            ${{ env.PYTEST_ARGUMENTS }} \\\r\n            --cov-report=xml:${{ matrix.mapdl-image }}-minimal.xml\r\n\r\n      - uses: codecov/codecov-action@v4\r\n        name: \"Upload coverage to Codecov\"\r\n        with:\r\n          token: ${{ secrets.CODECOV_TOKEN }} # required\r\n          root_dir: ${{ github.workspace }}\r\n          name: ${{ matrix.mapdl-image }}-minimal.xml\r\n          flags: ubuntu,local,${{ matrix.mapdl-image }},minimal\r\n\r\n      - name: \"Upload coverage artifacts\"\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: ${{ matrix.mapdl-image }}-minimal.xml\r\n          path: ./${{ matrix.mapdl-image }}-minimal.xml\r\n\r\n\r\n  test-windows:\r\n    # Skipped\r\n    if: github.repository == ''\r\n    name: \"Local: Build & test on Windows\"\r\n    runs-on: [self-hosted, Windows, pymapdl]\r\n    timeout-minutes: 30\r\n    env:\r\n      ON_LOCAL: TRUE\r\n\r\n    steps:\r\n      - uses: actions/checkout@v4.1.7\r\n\r\n      # Skipping because it is installed locally.\r\n      # - name: Setup Python\r\n      #   uses: actions/setup-python@v5\r\n      #   with:\r\n      #     python-version: 3.9\r\n\r\n      - name: \"Checking Python\"\r\n        shell: powershell\r\n        run: |\r\n          python -m pip install --upgrade pip\r\n\r\n      - name: \"Creating python venv\"\r\n        shell: powershell\r\n        run: |\r\n          python -m venv .\\.venv\r\n          .\\.venv\\Scripts\\activate\r\n\r\n      - name: \"Install ansys-mapdl-core\"\r\n        shell: powershell\r\n        run: |\r\n          python -m pip install build\r\n          python -m build\r\n          $FILE_=Resolve-Path '.\\dist\\*.whl'\r\n          python -m pip install $FILE_.Path --upgrade\r\n          python -c \"from ansys.mapdl import core as pymapdl; print(pymapdl.Report())\"\r\n\r\n      - name: \"Unit testing requirements installation\"\r\n        shell: powershell\r\n        run: |\r\n          python -m pip install .[tests]\r\n\r\n      # - name: DPF Server Activation\r\n      #   run: |\r\n      #     docker pull ghcr.io/ansys/dpf-core:22.2dev\r\n      #     docker run -d --name dpfserver -p ${{ env.DPF_PORT }}:50052 ghcr.io/ansys/dpf-core:22.2dev && echo \"DPF Server active on port ${{ env.DPF_PORT }}.\"\r\n\r\n      - name: \"Unit testing\"\r\n        shell: powershell\r\n        run: |\r\n          set PYMAPDL_PORT=\r\n          set PYMAPDL_START_INSTANCE=\r\n          python -m pytest -k \"not test_database and not test_dpf\" \\\r\n            ${{ env.PYTEST_ARGUMENTS }} \\\r\n            --ignore_image_cache \\\r\n            --cov-report=xml:windows-v22.2.0-local.xml\r\n\r\n      - uses: codecov/codecov-action@v4\r\n        name: \"Upload coverage to Codecov\"\r\n        with:\r\n          token: ${{ secrets.CODECOV_TOKEN }} # required\r\n          name: windows-v22.2.0-local.xml\r\n          flags: windows,local,v22.2.0\r\n\r\n      - name: \"Upload coverage artifacts\"\r\n        uses: actions/upload-artifact@v4\r\n        with:\r\n          name: windows-v22.2.0-local.xml\r\n          path: ./windows_local.xml\r\n\r\n\r\n  package:\r\n    name: \"Package library\"\r\n    needs: [build-test, build-test-ubuntu, build-test-ubuntu-minimal, docs-build]\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - name: \"Build library source and wheel artifacts\"\r\n        uses: ansys/actions/build-library@v6\r\n        with:\r\n          library-name: ${{ env.PACKAGE_NAME }}\r\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\r\n\r\n\r\n  release:\r\n    name: \"Release project\"\r\n    if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}\r\n    needs: [package, update-changelog]\r\n    runs-on: ubuntu-latest\r\n    # Specifying a GitHub environment is optional, but strongly encouraged\r\n    environment: release\r\n    permissions:\r\n      id-token: write\r\n      contents: write\r\n    steps:\r\n      - name: \"Release to the public PyPI repository\"\r\n        uses: ansys/actions/release-pypi-public@v6\r\n        with:\r\n          library-name: ${{ env.PACKAGE_NAME }}\r\n          use-trusted-publisher: true\r\n\r\n      - name: \"Release to GitHub\"\r\n        uses: ansys/actions/release-github@v6\r\n        with:\r\n          library-name: ${{ env.PACKAGE_NAME }}\r\n          additional-artifacts: \"minimum_requirements.txt\"\r\n\r\n      - name: \"Display structure of downloaded files\"\r\n        run: ls -Rla\r\n\r\n\r\n  upload-docs-release:\r\n    name: \"Upload release documentation\"\r\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags')\r\n    runs-on: ubuntu-latest\r\n    needs: [release]\r\n    steps:\r\n      - name: \"Deploy the stable documentation\"\r\n        # TODO: testing SEO improvements. This branch avoids creating a\r\n        # sitemap.xml pages in opposite to v5.\r\n        uses: ansys/actions/doc-deploy-stable@feat/seo-improvements\r\n        with:\r\n          cname: ${{ env.DOCUMENTATION_CNAME }}\r\n          token: ${{ secrets.GITHUB_TOKEN }}\r\n          render-last: '5'\r\n\r\n\r\n  doc-index-stable:\r\n    name: \"Deploy stable docs index\"\r\n    runs-on: ubuntu-latest\r\n    needs: upload-docs-release\r\n    steps:\r\n      - name: \"Install Git and clone project\"\r\n        uses: actions/checkout@v4.1.7\r\n\r\n      - name: \"Install the package requirements\"\r\n        run: pip install -e .\r\n\r\n      - name: \"Get the version to PyMeilisearch\"\r\n        run: |\r\n          VERSION=$(python -c \"from ansys.mapdl.core import __version__; print('.'.join(__version__.split('.')[:2]))\")\r\n          VERSION_MEILI=$(python -c \"from ansys.mapdl.core import __version__; print('-'.join(__version__.split('.')[:2]))\")\r\n          echo \"Calculated VERSION: $VERSION\"\r\n          echo \"Calculated VERSION_MEILI: $VERSION_MEILI\"\r\n          echo \"VERSION=$VERSION\" >> $GITHUB_ENV\r\n          echo \"VERSION_MEILI=$VERSION_MEILI\" >> $GITHUB_ENV\r\n\r\n      - name: \"Deploy the latest documentation index\"\r\n        uses: ansys/actions/doc-deploy-index@v6\r\n        with:\r\n          cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }}\r\n          index-name: pymapdl-v${{ env.VERSION_MEILI }}\r\n          host-url: ${{ vars.MEILISEARCH_HOST_URL }}\r\n          api-key: ${{ env.MEILISEARCH_API_KEY }}\r\n\r\n\r\n  upload-dev-docs:\r\n    name: \"Upload dev documentation\"\r\n    if: github.ref == 'refs/heads/main' && !contains(github.ref, 'refs/tags')\r\n    runs-on: ubuntu-latest\r\n    needs: [docs-build]\r\n    steps:\r\n      - name: \"Deploy the latest documentation\"\r\n        # TODO: testing SEO improvements. This branch reuses the \"index.html\" from the stable version\r\n        uses: ansys/actions/doc-deploy-dev@feat/seo-improvements\r\n        with:\r\n          cname: ${{ env.DOCUMENTATION_CNAME }}\r\n          token: ${{ secrets.GITHUB_TOKEN }}\r\n\r\n\r\n  doc-index-dev:\r\n    name: \"Deploy dev index docs\"\r\n    runs-on: ubuntu-latest\r\n    needs: upload-dev-docs\r\n    steps:\r\n      - name: \"Deploy the latest documentation index\"\r\n        uses: ansys/actions/doc-deploy-index@v6\r\n        with:\r\n          cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev\r\n          index-name: pymapdl-vdev\r\n          host-url: ${{ vars.MEILISEARCH_HOST_URL }}\r\n          api-key: ${{ env.MEILISEARCH_API_KEY }}\r\n\r\n\r\n  notify:\r\n    name: \"Notify failed build\"\r\n    needs: [smoke-tests, docs-build, build-test, build-test-ubuntu, build-test-ubuntu-minimal]\r\n    if: failure() && github.event_name == 'schedule'\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - name: \"Open issue\"\r\n        uses: jayqi/failed-build-issue-action@v1\r\n        with:\r\n          github-token: ${{ secrets.GITHUB_TOKEN }}\r\n          title-template: \"Failed scheduled build\"\r\n          label-name: \"Build failed\"\r\n\r\n\r\n  test_julia:\r\n    name: \"Test julia implementation\"\r\n    runs-on: ${{ matrix.os }}\r\n    strategy:\r\n      fail-fast: false\r\n      matrix:\r\n        julia-version: ['1.10.2']  # '1.6.7'\r\n        os: [ubuntu-latest, windows-latest]\r\n\r\n    steps:\r\n      - uses: actions/checkout@v4.1.7\r\n      - name: \"Set up Julia\"\r\n        uses: julia-actions/setup-julia@v2\r\n        with:\r\n          version: ${{ matrix.julia-version }}\r\n\r\n      - name: \"Getting python interpreter\"\r\n        id: get_python\r\n        run: |\r\n          pycallpython=$(julia -e 'using Pkg;Pkg.add(\"PyCall\");using PyCall;println(PyCall.python)')\r\n          echo \"pythonpath=$(echo $pycallpython)\" >> $GITHUB_OUTPUT\r\n\r\n      - name: \"Installing PyMAPDL\"\r\n        env:\r\n          PYTHON_PATH: ${{ steps.get_python.outputs.pythonpath }}\r\n        run: |\r\n          \"$PYTHON_PATH\" -m pip install -e .\r\n\r\n      - name: \"Starting Julia\"\r\n        shell: julia {0}\r\n        run: |\r\n          using Pkg; Pkg.add(\"PyCall\");using PyCall;pymapdl = pyimport(\"ansys.mapdl.core\");print(pymapdl.__version__)\r\n", "state": "active", "repository": "ansys/pymapdl"}
{"mined_at": "2024-07-15T18:03:43.791315", "created_at": "2022-01-07T02:11:42+01:00", "updated_at": "2022-01-07T02:11:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ansys/pymapdl"}
{"mined_at": "2024-07-15T18:03:45.130463", "created_at": "2022-04-12T11:57:55+02:00", "updated_at": "2022-04-29T16:28:53+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/label.yml", "contents": "name: \"Pull Request Labeler\"\non:\n  pull_request:\n    # opened, reopened, and synchronize are default for pull_request\n    # edited - when PR title or body is changed\n    # labeled - when labels are added to PR\n    types: [opened, reopened, synchronize, edited, labeled]\n  push:\n    branches: [ main ]\n    paths:\n      - '../labels.yml'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  label-syncer:\n    # Sync the labels name, colours with the file ``labels.yml``\n    name: Syncer\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4.1.7\n      - uses: micnncim/action-label-syncer@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  labeler:\n    name: Set labels\n    needs: [label-syncer]\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n\n    # Label based on modified files\n    - name: Label based on changed files\n      uses: actions/labeler@v5\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        sync-labels: true\n\n    # Label based on branch name\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'doc') || \n        startsWith(github.event.pull_request.head.ref, 'docs')\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN}}\n        labels: documentation\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'docker') ||\n        startsWith(github.event.pull_request.head.ref, 'no-ci') ||\n        startsWith(github.event.pull_request.head.ref, 'ci')\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN}}\n        labels: CI/CD\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: startsWith(github.event.pull_request.head.ref, 'maint')\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN}}\n        labels: maintenance\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: startsWith(github.event.pull_request.head.ref, 'feat')\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN}}\n        labels: |\n          enhancement\n          new feature\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'fix') ||\n        startsWith(github.event.pull_request.head.ref, 'patch')\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN}}\n        labels: bug\n\n  commenter:\n    runs-on: ubuntu-latest\n    needs: [labeler]\n    permissions:\n      pull-requests: write\n    steps:\n    - name: Suggest to add labels\n      uses: peter-evans/create-or-update-comment@v4\n      # Execute only when no labels have been applied to the pull request\n      if: toJSON(github.event.pull_request.labels.*.name) == '{}' # Empty labels\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        issue-number: ${{ github.event.pull_request.number }}\n        body: |\n          Please add one of the following labels to add this contribution to the Release Notes :point_down:\n          - [bug](https://github.com/ansys/pymapdl/pulls?q=label%3Abug+)\n          - [new feature](https://github.com/ansys/pymapdl/pulls?q=label%3A\"new%20feature\"+)\n          - [enhancement](https://github.com/ansys/pymapdl/pulls?q=label%3Aenhancement+)\n          - [documentation](https://github.com/ansys/pymapdl/pulls?q=label%3Adocumentation+)\n          - [examples](https://github.com/ansys/pymapdl/pulls?q=label%3Aexamples+)\n          - [maintenance](https://github.com/ansys/pymapdl/pulls?q=label%3Amaintenance+)\n          - [CI/CD](https://github.com/ansys/pymapdl/pulls?q=label%3Aci%2Fcd+)\n\n  changelog-fragment:\n    name: \"Create changelog fragment\"\n    needs: [labeler]\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: ansys/actions/doc-changelog@v6\n      with:\n        token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}", "state": "active", "repository": "ansys/pymapdl"}
{"mined_at": "2024-07-15T18:03:46.152592", "created_at": "2022-12-12T18:19:14+01:00", "updated_at": "2022-12-12T18:19:14+01:00", "name": "Codespaces Prebuilds", "path": "dynamic/codespaces/create_codespaces_prebuilds", "contents": null, "state": "active", "repository": "ansys/pymapdl"}
{"mined_at": "2024-07-15T18:03:47.260855", "created_at": "2023-02-23T06:26:49+01:00", "updated_at": "2023-02-23T06:26:49+01:00", "name": "Approve PRs", "path": ".github/workflows/approver.yml", "contents": "name: Approve PRs\non:\n  workflow_dispatch:\n    inputs:\n      user:\n        description: 'Username'\n        required: true\n        type: string\n      html_url:\n        description: 'URL to the comment'\n        required: true\n        type: string\n      pr:\n        description: 'Pull request to approve'\n        required: true\n        type: number\n      commentid:\n        description: 'Comment ID number'\n        type: number\n        required: true\n\n  issue_comment:                                     \n    types: [created, edited]\n\njobs:\n  autoapprove:\n    # This job only runs for pull request comments\n    name: PR comment\n    if: (github.event.issue.pull_request &&\n        contains(github.event.comment.body, '@pyansys-ci-bot LGTM') && (\n          github.event.comment.user.login == 'germa89'\n        )) || ( github.event_name == 'workflow_dispatch' )\n    permissions:\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: \"Settings\"\n        id: settings\n        run: |\n          export event_name=${{ github.event_name }}\n\n          if [[ $event_name == \"workflow_dispatch\" ]] ; then\n            echo \"On workflow dispatch\"\n            echo \"user=${{ inputs.user }}\" >> $GITHUB_OUTPUT\n            echo \"html_url=${{ inputs.html_url }}\" >> $GITHUB_OUTPUT\n            echo \"pull_request=${{ inputs.pr }}\" >> $GITHUB_OUTPUT\n            echo \"commentid=${{ inputs.commentid }}\" >> $GITHUB_OUTPUT\n\n          else\n            echo \"On $event_name\"\n            echo \"user=${{ github.event.comment.user.login }}\" >> $GITHUB_OUTPUT\n            echo \"html_url=${{ github.event.comment.html_url }}\" >> $GITHUB_OUTPUT\n            echo \"pull_request=${{ github.event.issue.number }}\" >> $GITHUB_OUTPUT\n            echo \"commentid=${{ github.event.comment.id }}\" >> $GITHUB_OUTPUT\n\n          fi;\n\n      - name: React to comment\n      #https://github.com/ansys/pymapdl/pull/2654#issuecomment-1889009514\n        uses: dkershner6/reaction-action@v2 # You can also use a specific version, e.g. v2.0.0\n        with:\n          token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}\n          commentId: ${{ steps.settings.outputs.commentid }} # Optional if the trigger is a comment. Use another action to find this otherwise.\n          reaction: \"+1\" # Optional\n\n      - name: \"Grab url for GIF\"\n        id: image_grabber\n        run: |\n          sudo apt-get install jq\n          export IMG_MSG=$(curl -s 'https://us-central1-lgtm-reloaded.cloudfunctions.net/lgtm' | jq -r '.markdown' | grep -v 'Powered By GIPHY')\n          echo \"IMG_MSG=$IMG_MSG\" >> $GITHUB_OUTPUT\n\n      - uses: hmarr/auto-approve-action@v4\n        with:\n          review-message: |\n            :white_check_mark: Approving this PR because [${{ steps.settings.outputs.user }}](https://github.com/${{ steps.settings.outputs.user }}) said so in [here](${{ steps.settings.outputs.html_url }}) :grimacing:\n\n            ${{ steps.image_grabber.outputs.IMG_MSG }}\n\n          pull-request-number: ${{ steps.settings.outputs.pull_request }}\n          github-token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}", "state": "active", "repository": "ansys/pymapdl"}
{"mined_at": "2024-07-15T18:03:48.407103", "created_at": "2023-05-31T13:05:57+02:00", "updated_at": "2023-08-09T19:50:23+02:00", "name": "Cleanup caches 🧹", "path": ".github/workflows/cache_cleaner.yml", "contents": "name: Cleanup caches 🧹\non:\n  workflow_dispatch:\n  pull_request:\n    types:\n      - closed\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4.1.7\n\n      - name: Cleanup PR caches\n        if: github.event_name != 'workflow_dispatch'\n        run: |\n          gh extension install actions/gh-actions-cache\n          \n          REPO=${{ github.repository }}\n          BRANCH=\"refs/pull/${{ github.event.pull_request.number }}/merge\"\n\n          echo \"Fetching list of cache key\"\n          cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )\n\n          ## Setting this to not fail the workflow while deleting cache keys. \n          set +e\n          echo \"Deleting caches...\"\n          \n          while [ ! -z \"$cacheKeysForPR\" ];\n          do\n            for cacheKey in $cacheKeysForPR\n            do\n                gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm && echo \"Deleting cache with key: $cacheKey\"\n            done\n          \n            cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )\n          done\n          echo \"Done\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        \n      - name: Cleanup by workflow dispatch\n        if: github.event_name == 'workflow_dispatch'\n        run: |\n            gh extension install actions/gh-actions-cache\n            \n            REPO=${{ github.repository }}\n            echo $REPO\n\n            echo \"Fetching list of cache key\"\n            cacheKeysForPR=$(gh actions-cache list -R $REPO | cut -f 1 )\n\n            ## Setting this to not fail the workflow while deleting cache keys. \n            set +e\n            echo \"Deleting caches...\"\n            while [ ! -z \"$cacheKeysForPR\" ];\n            do\n              for cacheKey in $cacheKeysForPR\n              do\n                  gh actions-cache delete $cacheKey -R $REPO --confirm && echo \"Deleting cache with key: $cacheKey\"\n              done\n\n              cacheKeysForPR=$(gh actions-cache list -R $REPO | cut -f 1 )\n            done\n            echo \"Done\"\n        env:\n            GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "ansys/pymapdl"}
{"mined_at": "2024-07-15T18:03:49.637225", "created_at": "2023-06-22T19:11:49+02:00", "updated_at": "2023-06-22T19:11:49+02:00", "name": "LinkCheck - All files 🔗", "path": ".github/workflows/linkchecker.yml", "contents": "name: LinkCheck - All files 🔗\n\non:\n  schedule:\n    - cron: \"0 5 * * 0\" # Runs at 05:00 on Sunday.\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  ON_CI: True\n  MAPDL_PACKAGE: ghcr.io/ansys/mapdl\n  MAPDL_IMAGE_VERSION_DOCS_BUILD: v24.1.0\n  MAIN_PYTHON_VERSION: '3.10'\n  PYANSYS_OFF_SCREEN: True\n  DPF_START_SERVER: False\n  DPF_PORT: 21002\n\njobs:\n  linkchecker:\n    name: Check Links\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n    env:\n      PYMAPDL_PORT: 21000  # default won't work on GitHub runners\n      PYMAPDL_DB_PORT: 21001  # default won't work on GitHub runners\n      PYMAPDL_START_INSTANCE: FALSE\n      ON_DOCUMENTATION: TRUE\n      SHELLOPTS: \"errexit:pipefail\"\n    steps:\n      - name: \"Install Git and checkout project\"\n        uses: actions/checkout@v4.1.7\n\n      - name: \"Login in Github container registry\"\n        uses: docker/login-action@v3.2.0\n        with:\n          registry: ghcr.io\n          username: ${{ secrets.GH_USERNAME }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: \"DPF server activation\"\n        run: |\n          $(docker pull ghcr.io/ansys/dpf-core:22.2dev && docker run -d --name dpfserver -p ${{ env.DPF_PORT }}:50052 ghcr.io/ansys/dpf-core:22.2dev && echo \"DPF Server active on port ${{ env.DPF_PORT }}.\") &\n\n      - name: \"Pull, launch, and validate MAPDL service\"\n        id: start_mapdl\n        env:\n          LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }}\n          MAPDL_VERSION: ${{ env.MAPDL_IMAGE_VERSION_DOCS_BUILD }}\n          DISTRIBUTED_MODE: \"dmp\"\n        run: |\n          export INSTANCE_NAME=MAPDL\n          .ci/start_mapdl.sh &> mapdl_launch.log & export DOCKER_PID=$!\n          echo \"Launching MAPDL service at PID: $DOCKER_PID\"\n          echo \"DOCKER_PID=$(echo $DOCKER_PID)\" >> $GITHUB_OUTPUT\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: \"Install OS packages\"\n        run: |\n          sudo apt update \n          sudo apt install zip pandoc libgl1-mesa-glx xvfb texlive-latex-extra latexmk graphviz\n\n      - name: \"Test virtual framebuffer\"\n        run: |\n          pip install -r .ci/requirements_test_xvfb.txt\n          xvfb-run python .ci/display_test.py\n\n      - name: \"Install ansys-mapdl-core\"\n        run: |\n          pip install .\n          xvfb-run python -c \"from ansys.mapdl import core as pymapdl; print(pymapdl.Report())\"\n\n      - name: \"Retrieve PyMAPDL version\"\n        id: version\n        run: |\n          echo \"PYMAPDL_VERSION=$(python -c 'from ansys.mapdl.core import __version__; print(__version__)')\" >> $GITHUB_OUTPUT\n          echo \"PyMAPDL version is: $(python -c \"from ansys.mapdl.core import __version__; print(__version__)\")\"\n\n      - name: \"Install docs build requirements\"\n        run: |\n          pip install .[doc]\n\n      - name: \"Waiting for the services to be up\"\n        run: |\n          .ci/waiting_services.sh\n\n      - name: LinkCheck\n        run: |\n          xvfb-run make -C doc linkcheck  SPHINXOPTS=\"-j auto -W --keep-going\"\n  \n      - name: \"Display linkchecker results\"\n        if: always()\n        run: |\n          echo \"::group:: Display linkcher output\" && cat doc/*/output.txt && echo \"::endgroup::\" || echo \"Failed to display the output file.\"\n\n      - name: \"Upload HTML Documentation\"\n        uses: actions/upload-artifact@v4\n        with:\n          name: documentation-html\n          path: doc/_build/html\n          retention-days: 7\n          \n      - name: \"Upload artifacts\"\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: output\n          path: doc/**/output.txt\n          retention-days: 30", "state": "active", "repository": "ansys/pymapdl"}
{"mined_at": "2024-07-15T18:03:50.864393", "created_at": "2023-11-23T11:09:42+01:00", "updated_at": "2023-11-23T11:09:42+01:00", "name": "Docker images - Cleanup", "path": ".github/workflows/docker_clean_untagged.yml", "contents": "name: Docker images - Cleanup\non:\n  workflow_dispatch:\n  schedule: # UTC at 0200\n    - cron: \"0 2 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: write\n  packages: write\n\njobs:\n  cleanup:\n    name: Cleaning unnecessary packages\n    runs-on: ubuntu-latest\n    env:\n      PACKAGE_DELETION_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    steps:\n\n    - name: \"Perform versions cleanup - except certain tags\"\n      uses: ansys/actions/hk-package-clean-untagged@v6\n      with:\n        package-name: 'mapdl'\n        token: ${{ secrets.GITHUB_TOKEN }}\n        allow-last-days: 5", "state": "active", "repository": "ansys/pymapdl"}
{"mined_at": "2024-07-15T18:03:51.957474", "created_at": "2023-11-30T16:28:22+01:00", "updated_at": "2023-11-30T16:28:22+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "ansys/pymapdl"}
{"mined_at": "2024-07-15T18:03:54.348413", "created_at": "2022-09-28T15:42:49+02:00", "updated_at": "2023-09-08T14:15:17+02:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non:\n  merge_group:\n  pull_request:\n  push:\n    # We need to explicitly include tags because otherwise when adding\n    # `branches-ignore` it will only trigger on branches.\n    tags:\n      - '*'\n    branches-ignore:\n      # Ignore pushes to merge queues.\n      # We only want to test the merge commit (`merge_group` event), the hashes\n      # in the push were already tested by the PR checks\n      - 'gh-readonly-queue/**'\n      - 'dependabot/**'\n  workflow_dispatch:\n\nenv:\n  # Please make sure this version is included in the `matrix`, as the\n  # `matrix` section can't use `env`, so it must be entered manually\n  DEFAULT_PYTHON_VERSION: '3.11'\n  # It would be nice to be able to also define a DEFAULT_UBUNTU_VERSION\n  # but sadly `env` can't be used either in `runs-on`.\n\njobs:\n  nox:\n    name: Test with nox\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-20.04\n        python:\n          - \"3.11\"\n          - \"3.12\"\n        nox-session:\n          # To speed things up a bit we use the special ci_checks_max session\n          # that uses the same venv to run multiple linting sessions\n          - \"ci_checks_max\"\n          - \"pytest_min\"\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Print environment (debug)\n        run: env\n\n      - name: Fetch sources\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n          cache: 'pip'\n\n      - name: Install required Python packages\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -e .[dev-noxfile]\n          pip freeze\n\n      - name: Create nox venv\n        env:\n          NOX_SESSION: ${{ matrix.nox-session }}\n        run: nox --install-only -e \"$NOX_SESSION\"\n\n      - name: Print pip freeze for nox venv (debug)\n        env:\n          NOX_SESSION: ${{ matrix.nox-session }}\n        run: |\n          . \".nox/$NOX_SESSION/bin/activate\"\n          pip freeze\n          deactivate\n\n      - name: Run nox\n        env:\n          NOX_SESSION: ${{ matrix.nox-session }}\n        run: nox -R -e \"$NOX_SESSION\"\n        timeout-minutes: 10\n\n  # This job runs if all the `nox` matrix jobs ran and succeeded.\n  # It is only used to have a single job that we can require in branch\n  # protection rules, so we don't have to update the protection rules each time\n  # we add or remove a job from the matrix.\n  nox-all:\n    # The job name should match the name of the `nox` job.\n    name: Test with nox\n    needs: [\"nox\"]\n    # We skip this job only if nox was also skipped\n    if: always() && needs.nox.result != 'skipped'\n    runs-on: ubuntu-20.04\n    env:\n      DEPS_RESULT: ${{ needs.nox.result }}\n    steps:\n      - name: Check matrix job result\n        run: test \"$DEPS_RESULT\" = \"success\"\n\n  nox-cross-arch:\n    name: Cross-arch tests with nox\n    if: github.event_name != 'pull_request'\n    strategy:\n      fail-fast: false\n      # Before adding new items to this matrix, make sure that a dockerfile\n      # exists for the combination of items in the matrix.\n      # Refer to .github/containers/nox-cross-arch/README.md to learn how to\n      # add and name new dockerfiles.\n      matrix:\n        arch:\n          - arm64\n        os:\n          - ubuntu-20.04\n        python:\n          - \"3.11\"\n          - \"3.12\"\n        nox-session:\n          - \"pytest_min\"\n          - \"pytest_max\"\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: Fetch sources\n        uses: actions/checkout@v4\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: linux/${{ matrix.arch }}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      # This is a workaround to prevent the cache from growing indefinitely.\n      # https://docs.docker.com/build/ci/github-actions/cache/#local-cache\n      # https://github.com/docker/build-push-action/issues/252\n      # https://github.com/moby/buildkit/issues/1896\n      - name: Cache container layers\n        uses: actions/cache@v4\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-nox-${{ matrix.arch }}-${{ matrix.os }}-${{ matrix.python }}\n\n      - name: Build image\n        uses: docker/build-push-action@v5\n        with:\n          context: .github/containers/nox-cross-arch\n          file: .github/containers/nox-cross-arch/${{ matrix.arch }}-${{ matrix.os }}-python.Dockerfile\n          platforms: linux/${{ matrix.arch }}\n          build-args: |\n            PYTHON_VERSION=${{ matrix.python }}\n          tags: localhost/nox-cross-arch:latest\n          push: false\n          load: true\n          cache-from: type=local,src=/tmp/.buildx-cache\n          cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max\n\n      # Refer to the workaround mentioned above\n      - name: Move cache\n        run: |\n          rm -rf /tmp/.buildx-cache\n          mv /tmp/.buildx-cache-new /tmp/.buildx-cache\n\n      # Cache pip downloads\n      - name: Cache pip downloads\n        uses: actions/cache@v4\n        with:\n          path: /tmp/pip-cache\n          key: nox-${{ matrix.nox-session }}-${{ matrix.arch }}-${{ matrix.os }}-${{ matrix.python }}-${{ hashFiles('pyproject.toml') }}\n\n      # This ensures that the docker container has access to the pip cache.\n      # Changing the user in the docker-run step causes it to fail due to\n      # incorrect permissions. Setting the ownership of the pip cache to root\n      # before running is a workaround to this issue.\n      - name: Set pip cache owners to root for docker\n        run: if [[ -e /tmp/pip-cache ]]; then sudo chown -R root:root /tmp/pip-cache; fi\n\n      - name: Run nox\n        run: |\n          docker run \\\n            --rm \\\n            -v $(pwd):/${{ github.workspace }} \\\n            -v /tmp/pip-cache:/root/.cache/pip \\\n            -w ${{ github.workspace }} \\\n            --net=host \\\n            --platform linux/${{ matrix.arch }} \\\n            localhost/nox-cross-arch:latest \\\n            bash -c \"pip install -e .[dev-noxfile]; nox --install-only -e ${{ matrix.nox-session }}; pip freeze; nox -e ${{ matrix.nox-session }}\"\n        timeout-minutes: 30\n\n      # This ensures that the runner has access to the pip cache.\n      - name: Reset pip cache ownership\n        if: always()\n        run: sudo chown -R $USER:$USER /tmp/pip-cache\n\n  # This job runs if all the `nox-cross-arch` matrix jobs ran and succeeded.\n  # As the `nox-all` job, its main purpose is to provide a single point of\n  # reference in branch protection rules, similar to how `nox-all` operates.\n  # However, there's a crucial difference: the `nox-cross-arch` job is omitted\n  # in PRs. Without the `nox-cross-arch-all` job, the inner matrix wouldn't be\n  # expanded in such scenarios. This would lead to the CI indefinitely waiting\n  # for these jobs to complete due to the branch protection rules, essentially\n  # causing it to hang. This behavior is tied to a recognized GitHub matrices\n  # issue when certain jobs are skipped. For a deeper understanding, refer to:\n  # https://github.com/orgs/community/discussions/9141\n  nox-cross-arch-all:\n    # The job name should match the name of the `nox-cross-arch` job.\n    name: Cross-arch tests with nox\n    needs: [\"nox-cross-arch\"]\n    # We skip this job only if nox-cross-arch was also skipped\n    if: always() && needs.nox-cross-arch.result != 'skipped'\n    runs-on: ubuntu-20.04\n    env:\n      DEPS_RESULT: ${{ needs.nox-cross-arch.result }}\n    steps:\n      - name: Check matrix job result\n        run: test \"$DEPS_RESULT\" = \"success\"\n\n  build:\n    name: Build distribution packages\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Fetch sources\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n          cache: 'pip'\n\n      - name: Install required Python packages\n        run: |\n          python -m pip install -U pip\n          python -m pip install -U build\n          pip freeze\n\n      - name: Build the source and binary distribution\n        run: python -m build\n\n      - name: Upload distribution files\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist-packages\n          path: dist/\n          if-no-files-found: error\n\n  test-installation:\n    name: Test package installation in different architectures\n    needs: [\"build\"]\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-20.04\n        python:\n          - \"3.11\"\n          - \"3.12\"\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Fetch sources\n        uses: actions/checkout@v4\n      - name: Download package\n        uses: actions/download-artifact@v4\n        with:\n          name: dist-packages\n          path: dist\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up docker-buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Test Installation\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: .github/containers/test-installation/Dockerfile\n          platforms: linux/amd64,linux/arm64\n          build-args: |\n            PYTHON_VERSION=${{ matrix.python }}\n          tags: localhost/test-installation\n          push: false\n\n  # This job runs if all the `test-installation` matrix jobs ran and succeeded.\n  # It is only used to have a single job that we can require in branch\n  # protection rules, so we don't have to update the protection rules each time\n  # we add or remove a job from the matrix.\n  test-installation-all:\n    # The job name should match the name of the `test-installation` job.\n    name: Test package installation in different architectures\n    needs: [\"test-installation\"]\n    # We skip this job only if test-installation was also skipped\n    if: always() && needs.test-installation.result != 'skipped'\n    runs-on: ubuntu-20.04\n    env:\n      DEPS_RESULT: ${{ needs.test-installation.result }}\n    steps:\n      - name: Check matrix job result\n        run: test \"$DEPS_RESULT\" = \"success\"\n\n  test-docs:\n    name: Test documentation website generation\n    if: github.event_name != 'push'\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Fetch sources\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Setup Git user and e-mail\n        uses: frequenz-floss/setup-git-user@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n          cache: 'pip'\n\n      - name: Install build dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install .[dev-mkdocs]\n          pip freeze\n\n      - name: Generate the documentation\n        env:\n          MIKE_VERSION: gh-${{ github.job }}\n        run: |\n          mike deploy $MIKE_VERSION\n          mike set-default $MIKE_VERSION\n\n      - name: Upload site\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs-site\n          path: site/\n          if-no-files-found: error\n\n  publish-docs:\n    name: Publish documentation website to GitHub pages\n    needs: [\"nox-all\", \"nox-cross-arch-all\", \"test-installation\"]\n    if: github.event_name == 'push'\n    runs-on: ubuntu-20.04\n    permissions:\n      contents: write\n    steps:\n      - name: Fetch sources\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Setup Git user and e-mail\n        uses: frequenz-floss/setup-git-user@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}\n          cache: 'pip'\n\n      - name: Install build dependencies\n        run: |\n          python -m pip install -U pip\n          python -m pip install .[dev-mkdocs]\n          pip freeze\n\n      - name: Calculate and check version\n        id: mike-version\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITHUB_REPO: ${{ github.repository }}\n          GIT_REF: ${{ github.ref }}\n          GIT_SHA: ${{ github.sha }}\n        run: |\n          python -m frequenz.repo.config.cli.version.mike.info\n\n      - name: Fetch the gh-pages branch\n        if: steps.mike-version.outputs.version\n        run: git fetch origin gh-pages --depth=1\n\n      - name: Build site\n        if: steps.mike-version.outputs.version\n        env:\n          VERSION: ${{ steps.mike-version.outputs.version }}\n          TITLE: ${{ steps.mike-version.outputs.title }}\n          ALIASES: ${{ steps.mike-version.outputs.aliases }}\n          # This is not ideal, we need to define all these variables here\n          # because we need to calculate all the repository version information\n          # to be able to show the correct versions in the documentation when\n          # building it.\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITHUB_REPO: ${{ github.repository }}\n          GIT_REF: ${{ github.ref }}\n          GIT_SHA: ${{ github.sha }}\n        run: |\n          mike deploy --update-aliases --title \"$TITLE\" \"$VERSION\" $ALIASES\n\n      - name: Sort site versions\n        if: steps.mike-version.outputs.version\n        run: |\n          git checkout gh-pages\n          python -m frequenz.repo.config.cli.version.mike.sort versions.json\n          git commit -a -m \"Sort versions.json\"\n\n      - name: Publish site\n        if: steps.mike-version.outputs.version\n        run: |\n          git push origin gh-pages\n\n  create-github-release:\n    name: Create GitHub release\n    needs: [\"publish-docs\"]\n    # Create a release only on tags creation\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')\n    permissions:\n      # We need write permissions on contents to create GitHub releases and on\n      # discussions to create the release announcement in the discussion forums\n      contents: write\n      discussions: write\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Download distribution files\n        uses: actions/download-artifact@v4\n        with:\n          name: dist-packages\n          path: dist\n\n      - name: Download RELEASE_NOTES.md\n        run: |\n          set -ux\n          gh api \\\n              -X GET \\\n              -f ref=$REF \\\n              -H \"Accept: application/vnd.github.raw\" \\\n              \"/repos/$REPOSITORY/contents/RELEASE_NOTES.md\" \\\n            > RELEASE_NOTES.md\n        env:\n          REF: ${{ github.ref }}\n          REPOSITORY: ${{ github.repository }}\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Create GitHub release\n        run: |\n          set -ux\n          extra_opts=\n          if echo \"$REF_NAME\" | grep -- -; then extra_opts=\" --prerelease\"; fi\n          gh release create \\\n            -R \"$REPOSITORY\" \\\n            --notes-file RELEASE_NOTES.md \\\n            --generate-notes \\\n            $extra_opts \\\n            $REF_NAME \\\n            dist/*\n        env:\n          REF_NAME: ${{ github.ref_name }}\n          REPOSITORY: ${{ github.repository }}\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  publish-to-pypi:\n    name: Publish packages to PyPI\n    needs: [\"create-github-release\"]\n    runs-on: ubuntu-20.04\n    permissions:\n      # For trusted publishing. See:\n      # https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/\n      id-token: write\n    steps:\n      - name: Download distribution files\n        uses: actions/download-artifact@v4\n        with:\n          name: dist-packages\n          path: dist\n\n      - name: Publish the Python distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "frequenz-floss/frequenz-sdk-python"}
{"mined_at": "2024-07-15T18:03:55.382544", "created_at": "2023-04-27T11:10:00+02:00", "updated_at": "2023-04-28T09:51:14+02:00", "name": "DCO", "path": ".github/workflows/dco-merge-queue.yml", "contents": "# Based on https://github.com/hyperledger/besu/pull/5207/files\nname: DCO\non:\n  merge_group:\n\njobs:\n  DCO:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor != 'dependabot[bot]' }}\n    steps:\n      - run: echo \"This DCO job runs on merge_queue event and doesn't check PR contents\"\n", "state": "active", "repository": "frequenz-floss/frequenz-sdk-python"}
{"mined_at": "2024-07-15T18:03:56.496482", "created_at": "2022-10-04T12:10:08+02:00", "updated_at": "2022-10-04T12:10:08+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: Pull Request Labeler\n\non: [pull_request_target]\n\njobs:\n  Label:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - name: Labeler\n        # XXX: !!! SECURITY WARNING !!!\n        # pull_request_target has write access to the repo, and can read secrets. We\n        # need to audit any external actions executed in this workflow and make sure no\n        # checked out code is run (not even installing dependencies, as installing\n        # dependencies usually can execute pre/post-install scripts). We should also\n        # only use hashes to pick the action to execute (instead of tags or branches).\n        # For more details read:\n        # https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n        uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9  # 5.0.0\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          dot: true\n", "state": "active", "repository": "frequenz-floss/frequenz-sdk-python"}
{"mined_at": "2024-07-15T18:03:57.648506", "created_at": "2023-08-17T14:15:40+02:00", "updated_at": "2023-08-29T18:57:14+02:00", "name": "Release Notes Check", "path": ".github/workflows/release-notes-check.yml", "contents": "name: Release Notes Check\n\non:\n  merge_group:\n  pull_request:\n    types:\n      # On by default if you specify no types.\n      - \"opened\"\n      - \"reopened\"\n      - \"synchronize\"\n      # For `skip-label` only.\n      - \"labeled\"\n      - \"unlabeled\"\n\n\njobs:\n  check-release-notes:\n    name: Check release notes are updated\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check for a release notes update\n        if: github.event_name == 'pull_request'\n        uses: brettcannon/check-for-changed-files@4170644959a21843b31f1181f2a1761d65ef4791 # v1.2.0\n        with:\n          file-pattern: \"RELEASE_NOTES.md\"\n          prereq-pattern: \"src/**\"\n          skip-label: \"cmd:skip-release-notes\"\n          failure-message: \"Missing a release notes update. Please add one or apply the ${skip-label} label to the pull request\"\n", "state": "active", "repository": "frequenz-floss/frequenz-sdk-python"}
{"mined_at": "2024-07-15T18:03:58.851625", "created_at": "2024-07-01T20:48:38+02:00", "updated_at": "2024-07-01T20:48:38+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "frequenz-floss/frequenz-sdk-python"}
{"mined_at": "2024-07-15T18:03:59.831789", "created_at": "2024-07-01T14:57:08+02:00", "updated_at": "2024-07-01T14:57:08+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "frequenz-floss/frequenz-sdk-python"}
{"mined_at": "2024-07-15T18:04:00.889699", "created_at": "2023-11-07T12:51:59+01:00", "updated_at": "2023-11-07T12:51:59+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "frequenz-floss/frequenz-sdk-python"}
{"mined_at": "2024-07-15T18:04:03.030432", "created_at": "2023-05-07T16:21:47+02:00", "updated_at": "2023-05-07T16:21:47+02:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": null, "state": "active", "repository": "preludeorg/libraries"}
{"mined_at": "2024-07-15T18:04:04.237068", "created_at": "2023-05-10T00:00:34+02:00", "updated_at": "2024-03-05T19:47:01+01:00", "name": "us1 - shell probes (nocturnal / raindrop / vision scripts) deploy", "path": ".github/workflows/shell_probes-us1.yml", "contents": "name: us1 - shell probes (nocturnal / raindrop / vision scripts) deploy\n\non:\n  workflow_dispatch:\n\njobs:\n  build_ubuntu:\n\n    runs-on: ubuntu-latest\n    environment: us1\n\n    name: us1 - shell probes (nocturnal / raindrop / vision scripts) deploy\n\n    steps:\n      - name: Check out code.\n        uses: actions/checkout@v4\n\n      - name: Env Conversion\n        shell: bash\n        run: |\n          for i in shell/probe/nocturnal.sh shell/probe/raindrop.ps1 shell/probe/vision.sh; do\n            echo \"Endpoint substitution for ${i}\"\n            sed -i 's!api.preludesecurity.com!api.us1.preludesecurity.com!g' ${i}\n          done\n\n      - id: shell_probes_composite\n        uses: ./.github/actions/shell_probes\n        with:\n          s3_bucket: ${{ secrets.BUCKET_NAME }}\n          aws_region: ${{ secrets.BUCKET_REGION }}\n          aws_access_key_id: ${{ secrets.US1_S3_DEPLOYMENT_ACCESS_KEY_ID }}\n          aws_secret_access_key: ${{ secrets.US1_S3_DEPLOYMENT_SECRET_ACCESS_KEY  }}\n          slack_notification: ${{ secrets.US1_SLACK_URL }}", "state": "active", "repository": "preludeorg/libraries"}
{"mined_at": "2024-07-15T18:04:05.308909", "created_at": "2023-05-10T18:42:58+02:00", "updated_at": "2024-03-05T19:47:01+01:00", "name": "us2 - shell probes (nocturnal / raindrop / vision scripts) deploy", "path": ".github/workflows/shell_probes-us2.yml", "contents": "name: us2 - shell probes (nocturnal / raindrop / vision scripts) deploy\n\non:\n  workflow_dispatch:\n\njobs:\n  build_ubuntu:\n\n    runs-on: ubuntu-latest\n    environment: us2\n\n    name: us2 - shell probes (nocturnal / raindrop / vision scripts) deploy\n\n    steps:\n      - name: Check out code.\n        uses: actions/checkout@v4\n\n      - name: Env Conversion\n        shell: bash\n        run: |\n          for i in shell/probe/nocturnal.sh shell/probe/raindrop.ps1 shell/probe/vision.sh; do\n            echo \"Endpoint substitution for ${i}\"\n            sed -i 's/prelude-account-us1-us-east-2.s3.amazonaws.com/${{ secrets.BUCKET_NAME }}.s3.amazonaws.com/g' ${i}\n            sed -i 's!api.preludesecurity.com!api.us2.preludesecurity.com!g' ${i}\n          done\n\n      - id: shell_probes_composite\n        uses: ./.github/actions/shell_probes\n        with:\n          s3_bucket: ${{ secrets.BUCKET_NAME }}\n          aws_region: ${{ secrets.BUCKET_REGION }}\n          aws_access_key_id: ${{ secrets.US2_S3_DEPLOYMENT_ACCESS_KEY_ID }}\n          aws_secret_access_key: ${{ secrets.US2_S3_DEPLOYMENT_SECRET_ACCESS_KEY  }}\n          slack_notification: ${{ secrets.US2_SLACK_URL }}\n", "state": "active", "repository": "preludeorg/libraries"}
{"mined_at": "2024-07-15T18:04:06.534428", "created_at": "2023-09-26T00:42:46+02:00", "updated_at": "2024-03-05T19:47:01+01:00", "name": "eu1 - shell probes (nocturnal / raindrop / vision scripts) deploy", "path": ".github/workflows/shell_probes-eu1.yml", "contents": "name: eu1 - shell probes (nocturnal / raindrop / vision scripts) deploy\n\non:\n  workflow_dispatch:\n\njobs:\n  build_ubuntu:\n\n    runs-on: ubuntu-latest\n    environment: eu1\n\n    name: eu1 - shell probes (nocturnal / raindrop / vision scripts) deploy\n\n    steps:\n      - name: Check out code.\n        uses: actions/checkout@v4\n\n      - name: Env Conversion\n        shell: bash\n        run: |\n          for i in shell/probe/nocturnal.sh shell/probe/raindrop.ps1 shell/probe/vision.sh; do\n            echo \"Endpoint substitution for ${i}\"\n            sed -i 's!api.preludesecurity.com!api.eu1.preludesecurity.com!g' ${i}\n            sed -i 's/prelude-account-us1-us-east-2.s3.amazonaws.com/${{ secrets.BUCKET_NAME }}.s3.amazonaws.com/g' ${i}\n          done\n\n      - id: shell_probes_composite\n        uses: ./.github/actions/shell_probes\n        with:\n          s3_bucket: ${{ secrets.BUCKET_NAME }}\n          aws_region: ${{ secrets.BUCKET_REGION }}\n          aws_access_key_id: ${{ secrets.EU1_S3_DEPLOYMENT_ACCESS_KEY_ID }}\n          aws_secret_access_key: ${{ secrets.EU1_S3_DEPLOYMENT_SECRET_ACCESS_KEY  }}\n          slack_notification: ${{ secrets.EU1_SLACK_URL }}\n", "state": "active", "repository": "preludeorg/libraries"}
{"mined_at": "2024-07-15T18:04:07.658465", "created_at": "2024-01-09T21:16:56+01:00", "updated_at": "2024-03-05T19:47:01+01:00", "name": "scoot-sbx - shell probes (nocturnal / raindrop / vision scripts) deploy", "path": ".github/workflows/shell_probes-scoot-sbx.yml", "contents": "name: scoot-sbx - shell probes (nocturnal / raindrop / vision scripts) deploy\n\non:\n  workflow_dispatch:\n\njobs:\n  build_ubuntu:\n\n    runs-on: ubuntu-latest\n    environment: scoot-sbx\n\n    name: scoot-sbx - shell probes (nocturnal / raindrop / vision scripts) deploy\n\n    steps:\n      - name: Check out code.\n        uses: actions/checkout@v4\n\n      - name: Env Conversion\n        shell: bash\n        run: |\n          for i in shell/probe/nocturnal.sh shell/probe/raindrop.ps1 shell/probe/vision.sh; do\n            echo \"Endpoint substitution for ${i}\"\n            sed -i 's/prelude-account-us1-us-east-2.s3.amazonaws.com/${{ secrets.BUCKET_NAME }}.s3.amazonaws.com/g' ${i}\n            sed -i 's!api.preludesecurity.com!api.scoot-sbx.preludesecurity.com!g' ${i}\n          done\n\n      - id: shell_probes_composite\n        uses: ./.github/actions/shell_probes\n        with:\n          s3_bucket: ${{ secrets.BUCKET_NAME }}\n          aws_region: ${{ secrets.BUCKET_REGION }}\n          aws_access_key_id: ${{ secrets.SCOOT_SBX_S3_DEPLOYMENT_ACCESS_KEY_ID }}\n          aws_secret_access_key: ${{ secrets.SCOOT_SBX_S3_DEPLOYMENT_SECRET_ACCESS_KEY }}\n          slack_notification: ${{ secrets.SCOOT_SBX_SLACK_URL }}\n", "state": "active", "repository": "preludeorg/libraries"}
{"mined_at": "2024-07-15T18:04:09.808722", "created_at": "2023-11-30T15:09:28+01:00", "updated_at": "2023-11-30T15:09:28+01:00", "name": "circleCI", "path": ".github/workflows/circIeci.yml", "contents": "name: circleCI\n\non:\n  pull_request:\n    types: [opened,reopened]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Tickle CircleCI\n      env:\n        CIRCLE_BRANCH: ${{ github.head_ref }}\n        CIRCLE_TOKEN: ${{ secrets.CIRCLE_TOKEN }}\n      run: |\n        curl -X POST \\\n        -H \"Circle-Token: ${CIRCLE_TOKEN}\" \\\n        -H 'Content-Type: application/json' \\\n        -H 'Accept: application/json' \\\n        -d \"{\\\"branch\\\":\\\"${CIRCLE_BRANCH}\\\"}\" \\\n        https://circleci.com/api/v2/project/edenai-apis/pipeline\n", "state": "active", "repository": "edenai/edenai-apis"}
{"mined_at": "2024-07-15T18:04:10.830208", "created_at": "2022-12-05T12:33:42+01:00", "updated_at": "2022-12-29T11:28:23+01:00", "name": "CICD", "path": ".github/workflows/test.yml", "contents": "# .github/workflows/app.yaml\nname: CICD\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n    branches:\n      - master\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: write\n  pages: write\n  id-token: write\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install ffmpeg -y\n          pip install -r requirements.txt\n      - name: Set Env variables\n        run: \"echo TEST_SCOPE=CICD-OPENSOURCE >> $GITHUB_ENV\"\n      - name: Run Test suite\n        run: |\n          pytest -vvv -s -n auto --maxprocesses=8 --dist loadgroup\n      - name: generate list of providers and features markdown\n        run: \"python -m edenai_apis.scripts.documentation\"\n      - name: generate doc\n        run: |\n          cd .docsrc\n          rm -rf _build/**\n          rm -rf _autosummary/*\n          sphinx-apidoc -o _build/ ../edenai_apis/\n          make html\n          cp -r _build/html/* ../docs/\n      - name: commit documentation changes\n        uses: EndBug/add-and-commit@v9\n        with:\n          add: AVAILABLES_FEATURES_AND_PROVIDERS.md\n          committer_name: Github Action\n          committer_email: mail@example.com\n          message: '[doc] update available features & providers'\n\n\n  generate_doc_and_deploy:\n    needs: test\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/master'\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Pages\n        uses: actions/configure-pages@v2\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: 'docs/'\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v1\n", "state": "active", "repository": "edenai/edenai-apis"}
{"mined_at": "2024-07-15T18:04:13.086143", "created_at": "2021-08-03T14:22:41+02:00", "updated_at": "2021-08-03T14:37:04+02:00", "name": "Lint Moonstream backend", "path": ".github/workflows/lint.backend.yml", "contents": "name: Lint Moonstream backend\n\non:\n  pull_request:\n    branches:\n      - \"main\"\n    paths:\n      - \"backend/**\"\n      - \"!backend/deploy/**\"\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8\"\n      - name: Upgrade pip and setuptools\n        run: pip install --upgrade pip setuptools\n      - name: Install test requirements\n        working-directory: ./backend\n        run: pip install -e .[dev]\n      - name: Mypy type check\n        working-directory: ./backend\n        run: mypy moonstreamapi/\n      - name: Black syntax check\n        working-directory: ./backend\n        run: black --check moonstreamapi/\n", "state": "active", "repository": "moonstream-to/api"}
{"mined_at": "2024-07-15T18:04:14.314853", "created_at": "2021-08-03T14:22:41+02:00", "updated_at": "2021-08-03T14:37:04+02:00", "name": "Lint Moonstream crawlers", "path": ".github/workflows/lint.crawlers.yml", "contents": "name: Lint Moonstream crawlers\n\non:\n  pull_request:\n    branches:\n      - \"main\"\n    paths:\n      - \"crawlers/**\"\n      - \"!crawlers/deploy/**\"\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8\"\n      - name: Upgrade pip and setuptools\n        run: pip install --upgrade pip setuptools\n      - name: Install test requirements\n        working-directory: ./crawlers/mooncrawl\n        run: pip install -e .[dev]\n      - name: Mypy type check\n        working-directory: ./crawlers/mooncrawl\n        run: mypy mooncrawl/\n      - name: Black syntax check\n        working-directory: ./crawlers/mooncrawl\n        run: black --check mooncrawl/\n", "state": "active", "repository": "moonstream-to/api"}
{"mined_at": "2024-07-15T18:04:15.438407", "created_at": "2021-08-03T14:22:41+02:00", "updated_at": "2021-08-03T14:37:04+02:00", "name": "Lint Moonstream db", "path": ".github/workflows/lint.db.yml", "contents": "name: Lint Moonstream db\n\non:\n  pull_request:\n    branches:\n      - \"main\"\n    paths:\n      - \"db/**\"\n      - \"!db/deploy/**\"\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8\"\n      - name: Upgrade pip and setuptools\n        run: pip install --upgrade pip setuptools\n      - name: Install test requirements\n        working-directory: ./db\n        run: pip install -e .[dev]\n      - name: Mypy type check\n        working-directory: ./db\n        run: mypy moonstreamdb/\n      - name: Black syntax check\n        working-directory: ./db\n        run: black --check moonstreamdb/\n", "state": "active", "repository": "moonstream-to/api"}
{"mined_at": "2024-07-15T18:04:16.567478", "created_at": "2021-08-03T14:37:04+02:00", "updated_at": "2021-08-03T14:37:04+02:00", "name": "Build Moonstream frontend", "path": ".github/workflows/lint.frontend.yml", "contents": "name: Build Moonstream frontend\n\non:\n  pull_request:\n    branches:\n      - \"main\"\n    paths:\n      - \"frontend/**\"\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up node.js\n        uses: actions/setup-node@v1\n        with:\n          node-version: \"14.17.4\"\n      - name: Check build\n        working-directory: ./frontend\n        run: |\n          yarn\n          yarn build\n", "state": "active", "repository": "moonstream-to/api"}
{"mined_at": "2024-07-15T18:04:17.798003", "created_at": "2021-08-03T14:37:04+02:00", "updated_at": "2021-08-03T14:37:04+02:00", "name": "Locust summary", "path": ".github/workflows/locust.yml", "contents": "name: Locust summary\n\non: [pull_request_target]\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: PR head repo\n        id: head_repo_name\n        run: |\n          HEAD_REPO_NAME=$(jq -r '.pull_request.head.repo.full_name' \"$GITHUB_EVENT_PATH\")\n          echo \"PR head repo: $HEAD_REPO_NAME\"\n          echo \"::set-output name=repo::$HEAD_REPO_NAME\"\n      - name: Checkout git repo\n        uses: actions/checkout@v2\n        with:\n          repository: ${{ steps.head_repo_name.outputs.repo }}\n          fetch-depth: 0\n      - name: Install python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools\n          pip install bugout-locust\n      - name: Generate and send Locust summary\n        env:\n          BUGOUT_SECRET: ${{ secrets.BUGOUT_SECRET }}\n        run: |\n          locust.github publish\n", "state": "active", "repository": "moonstream-to/api"}
{"mined_at": "2024-07-15T18:04:19.536905", "created_at": "2021-09-21T01:56:05+02:00", "updated_at": "2021-09-30T12:21:17+02:00", "name": "Publish Moonstream Python client library", "path": ".github/workflows/release.clients.python.yml", "contents": "name: Publish Moonstream Python client library\n\non:\n  push:\n    tags:\n      - \"clients/python/v*\"\n\ndefaults:\n  run:\n    working-directory: clients/python\n\njobs:\n  publish:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[distribute]\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: \"__token__\"\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN_MOONSTREAM }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "moonstream-to/api"}
{"mined_at": "2024-07-15T18:04:20.737029", "created_at": "2021-11-11T09:28:09+01:00", "updated_at": "2021-11-11T09:28:09+01:00", "name": "Release mooncrawl package", "path": ".github/workflows/release.mooncrawl.yml", "contents": "name: Release mooncrawl package\n\non:\n  push:\n    tags:\n      - 'mooncrawl/v*'\n\ndefaults:\n  run:\n    working-directory: crawlers/mooncrawl\n\njobs:\n  publish:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[distribute]\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: \"__token__\"\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN_MOONCRAWL }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "moonstream-to/api"}
{"mined_at": "2024-07-15T18:04:21.823328", "created_at": "2021-11-11T09:28:09+01:00", "updated_at": "2021-11-11T09:28:09+01:00", "name": "Release moonstreamapi package", "path": ".github/workflows/release.moonstreamapi.yml", "contents": "name: Release moonstreamapi package\n\non:\n  push:\n    tags:\n      - 'moonstreamapi/v*'\n\ndefaults:\n  run:\n    working-directory: backend\n\njobs:\n  publish:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[distribute]\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: \"__token__\"\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN_MOONSTREAMAPI }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "moonstream-to/api"}
{"mined_at": "2024-07-15T18:04:23.018816", "created_at": "2021-11-11T09:28:09+01:00", "updated_at": "2021-11-11T09:28:09+01:00", "name": "Release moonstreamdb package", "path": ".github/workflows/release.moonstreamdb.yml", "contents": "name: Release moonstreamdb package\n\non:\n  push:\n    tags:\n      - 'moonstreamdb/v*'\n\ndefaults:\n  run:\n    working-directory: moonstreamdb\n\njobs:\n  publish:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[distribute]\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: \"__token__\"\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN_MOONSTREAMDB }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "moonstream-to/api"}
{"mined_at": "2024-07-15T18:04:24.145280", "created_at": "2024-04-08T16:25:15+02:00", "updated_at": "2024-04-08T16:25:15+02:00", "name": "Release moonstreamdbv3 package", "path": ".github/workflows/release.moonstreamdbv3.yml", "contents": "name: Release moonstreamdbv3 package\n\non:\n  push:\n    tags:\n      - 'moonstreamdbv3/v*'\n\ndefaults:\n  run:\n    working-directory: moonstreamdb-v3\n\njobs:\n  publish:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[distribute]\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: \"__token__\"\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN_MOONSTREAMDBV3 }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "moonstream-to/api"}
{"mined_at": "2024-07-15T18:04:25.188718", "created_at": "2024-06-11T22:02:04+02:00", "updated_at": "2024-06-11T22:02:04+02:00", "name": "Publish Moonstream Python types library", "path": ".github/workflows/release.types.python.yml", "contents": "name: Publish Moonstream Python types library\n\non:\n  push:\n    tags:\n      - \"types/python/v*\"\n\ndefaults:\n  run:\n    working-directory: types/python\n\njobs:\n  publish:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[distribute]\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: \"__token__\"\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN_MOONSTREAM_TYPES }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "moonstream-to/api"}
{"mined_at": "2024-07-15T18:04:26.248180", "created_at": "2021-09-20T22:40:26+02:00", "updated_at": "2021-09-30T12:21:17+02:00", "name": "Linting and tests for the Moonstream Python client library", "path": ".github/workflows/test.clients.python.yml", "contents": "name: Linting and tests for the Moonstream Python client library\n\non:\n  pull_request:\n    branches:\n      - \"main\"\n    paths:\n      - \"clients/python/**\"\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.9\"\n      - name: Install test requirements\n        working-directory: ./clients/python\n        run: pip install -e .[dev]\n      - name: Mypy type check\n        working-directory: ./clients/python\n        run: mypy moonstream/\n      - name: Black syntax check\n        working-directory: ./clients/python\n        run: black --check moonstream/\n      - name: Unit tests\n        working-directory: ./clients/python\n        run: python -m unittest discover -v\n      - name: Check that versions are synchronized\n        working-directory: ./clients/python\n        run: |\n          MOONSTREAM_CLIENT_VERSION=$(python -c \"from moonstream.client import MOONSTREAM_CLIENT_VERSION; print(MOONSTREAM_CLIENT_VERSION)\")\n          SETUP_PY_VERSION=$(python setup.py --version)\n          echo \"Client version: $MOONSTREAM_CLIENT_VERSION\"\n          echo \"setup.py version: $SETUP_PY_VERSION\"\n          test \"$MOONSTREAM_CLIENT_VERSION\" = \"$SETUP_PY_VERSION\"\n", "state": "active", "repository": "moonstream-to/api"}
{"mined_at": "2024-07-15T18:04:28.337607", "created_at": "2023-01-09T17:41:36+01:00", "updated_at": "2023-01-12T15:29:49+01:00", "name": "integration-tests", "path": ".github/workflows/integration-tests.yml", "contents": "name: integration-tests\non:\n  push:\n    branches:\n      - \"master\"\n      - \"test-me/*\"\n  pull_request:\n    branches:\n      - \"*\"\n  schedule:\n    - cron: \"0 7 * * 1\" # Run every Monday at 7:00 UTC\n\ndefaults:\n  run:\n    shell: bash -el {0}\n\njobs:\n  integration-test:\n    if: github.event.pull_request.draft == false\n    name: ${{ matrix.os }} integration tests\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos, ubuntu, windows]\n        include:\n          - os: macos\n            os-short: osx\n          - os: ubuntu\n            os-short: linux\n          - os: windows\n            os-short: win\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Conda and parcels\n        uses: ./.github/actions/install-parcels\n        with:\n          environment-file: environment.yml\n          environment-name: py3_parcels\n      - name: Integration test\n        run: |\n          coverage run -m pytest -v -s --nbval-lax -k \"not documentation\" --html=\"${{ matrix.os }}_integration_test_report.html\" --self-contained-html docs/examples\n          coverage xml\n      - name: Codecov\n        uses: codecov/codecov-action@v3.1.1\n        with:\n          flags: integration-tests\n      - name: Upload test results\n        if: ${{ always() }} # Always run this step, even if tests fail\n        uses: actions/upload-artifact@v3.1.2\n        with:\n          name: Integration test report\n          path: ${{ matrix.os }}_integration_test_report.html\n", "state": "active", "repository": "oceanparcels/parcels"}
{"mined_at": "2024-07-15T18:04:29.462372", "created_at": "2023-01-09T17:41:36+01:00", "updated_at": "2023-01-12T15:29:49+01:00", "name": "linting", "path": ".github/workflows/linting.yml", "contents": "name: linting\non:\n  pull_request:\n  push:\njobs:\n  linting:\n    name: Linting with flake8\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@master\n      - name: Python setup\n        run: |\n          pip install wheel\n          pip install flake8\n      - name: flake8\n        run: |\n          python -m flake8 parcels\n          python -m flake8 tests\n", "state": "active", "repository": "oceanparcels/parcels"}
{"mined_at": "2024-07-15T18:04:30.622458", "created_at": "2024-05-27T11:03:24+02:00", "updated_at": "2024-05-27T17:14:02+02:00", "name": "Build and Upload to PyPI", "path": ".github/workflows/pypi-release.yml", "contents": "name: Build and Upload to PyPI\non:\n  release:\n    types:\n      - published\n  push:\n    tags:\n      - \"v*\"\n  workflow_dispatch:\n\njobs:\n  build-artifacts:\n    runs-on: ubuntu-latest\n    if: github.repository == 'OceanParcels/parcels'\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v3\n        name: Install Python\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install setuptools setuptools-scm wheel twine check-manifest\n\n      - name: Build tarball and wheels\n        run: |\n          git clean -xdf\n          git restore -SW .\n          python -m build --sdist --wheel .\n\n      - name: Check built artifacts\n        run: |\n          python -m twine check dist/*\n          pwd\n          if [ -f dist/parcels-0.0.0.tar.gz ]; then\n            echo \"❌ INVALID VERSION NUMBER\"\n            exit 1\n          else\n            echo \"✅ Looks good\"\n          fi\n      - uses: actions/upload-artifact@v3\n        with:\n          name: releases\n          path: dist\n\n  test-built-dist:\n    needs: build-artifacts\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v3\n        name: Install Python\n        with:\n          python-version: 3.8\n      - uses: actions/download-artifact@v3\n        with:\n          name: releases\n          path: dist\n      - name: List contents of built dist\n        run: |\n          ls -ltrh\n          ls -ltrh dist\n\n      - name: Verify the built dist/wheel is valid\n        if: github.event_name == 'push'\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install dist/parcels*.whl\n\n      - name: Publish package to TestPyPI\n        if: github.event_name == 'push'\n        uses: pypa/gh-action-pypi-publish@v1.5.0\n        with:\n          user: __token__\n          password: ${{ secrets.PARCELS_PYPI_TEST_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n          verbose: true\n\n  upload-to-pypi:\n    needs: test-built-dist\n    if: github.event_name == 'release'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: releases\n          path: dist\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.5.0\n        with:\n          user: __token__\n          password: ${{ secrets.PARCELS_PYPI_PROD_TOKEN }}\n          verbose: true\n\n  test-pypi-release:\n    needs: upload-to-pypi\n    runs-on: ubuntu-latest\n    steps:\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: parcels\n          python-version: 3.8\n          channels: conda-forge\n      - run: conda install -c conda-forge c-compiler pip\n      - run: pip install parcels --no-cache\n      - run: curl https://raw.githubusercontent.com/OceanParcels/parcels/master/docs/examples/example_peninsula.py > example_peninsula.py\n      - run: python example_peninsula.py\n", "state": "active", "repository": "oceanparcels/parcels"}
{"mined_at": "2024-07-15T18:04:31.825501", "created_at": "2023-01-09T17:41:36+01:00", "updated_at": "2023-01-12T15:29:49+01:00", "name": "unit-tests", "path": ".github/workflows/unit-tests.yml", "contents": "name: unit-tests\non:\n  push:\n    branches:\n      - \"master\"\n      - \"test-me/*\"\n  pull_request:\n    branches:\n      - \"*\"\n  schedule:\n    - cron: \"0 7 * * 1\" # Run every Monday at 7:00 UTC\n\ndefaults:\n  run:\n    shell: bash -el {0}\n\njobs:\n  unit-test:\n    name: Unittesting on ${{ matrix.os }} with python latest\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos, ubuntu, windows]\n        include: # TODO check if these can go?\n          - os: macos\n            os-short: osx\n          - os: ubuntu\n            os-short: linux\n          - os: windows\n            os-short: win\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Conda and parcels\n        uses: ./.github/actions/install-parcels\n        with:\n          environment-file: environment.yml\n          environment-name: py3_parcels\n      - name: Unit test\n        run: |\n          coverage run -m pytest -v -s --html=${{ matrix.os }}_unit_test_report.html --self-contained-html tests\n          coverage xml\n      - name: Codecov\n        uses: codecov/codecov-action@v3.1.1\n        with:\n          flags: unit-tests\n      - name: Upload test results\n        if: ${{ always() }} # Always run this step, even if tests fail\n        uses: actions/upload-artifact@v3.1.2\n        with:\n          name: Unittest report\n          path: ${{ matrix.os }}_unit_test_report.html\n", "state": "active", "repository": "oceanparcels/parcels"}
{"mined_at": "2024-07-15T18:04:34.078180", "created_at": "2023-07-22T19:28:02+02:00", "updated_at": "2023-07-22T19:28:02+02:00", "name": "Auto Assign", "path": ".github/workflows/auto-assign.yml", "contents": "name: Auto Assign\non:\n  issues:\n    types: [opened]\n  pull_request:\n    types: [opened]\njobs:\n  run:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n    - name: 'Auto-assign issue'\n      uses: pozil/auto-assign-issue@v1\n      with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          assignees: dkmstr\n          numOfAssignee: 1\n", "state": "active", "repository": "virtualcable/openuds"}
{"mined_at": "2024-07-15T18:04:35.307111", "created_at": "2023-07-22T19:31:13+02:00", "updated_at": "2023-07-22T19:31:13+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v3\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v3\n", "state": "active", "repository": "virtualcable/openuds"}
{"mined_at": "2024-07-15T18:04:36.394053", "created_at": "2023-07-22T19:44:31+02:00", "updated_at": "2023-07-22T19:44:31+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "virtualcable/openuds"}
{"mined_at": "2024-07-15T18:04:38.687712", "created_at": "2021-05-07T04:01:38+02:00", "updated_at": "2023-03-03T23:52:57+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n    push:\n        branches:\n            - main\n    pull_request:\n        branches:\n            - main\n    \n    # Allows you to run this workflow manually from the Actions tab\n    workflow_dispatch:\n\njobs:\n    \n    Linting:\n        runs-on: ubuntu-latest\n        strategy:\n            matrix:\n                python-version: ['3.8', '3.9', '3.10']\n        \n        steps:\n            -   uses: actions/checkout@v2\n            -   name: Set up Python ${{ matrix.python-version }}\n                uses: actions/setup-python@v2\n                with:\n                    python-version: ${{ matrix.python-version }}\n                    \n            -   uses: actions/cache@v2\n                with:\n                    path: ~/.cache/pip\n                    key: ${{ runner.os }}-pip\n\n            -   name: Install Dependencies\n                run: |\n                    python -m pip install --upgrade pip\n                    make dev\n                    pip install IPython==8.12.0\n\n            -   name: Lint with isort, black, docformatter, flake8\n                run: |\n                    make lint\n    \n    # Documentation:\n    #     needs: Linting\n    #     runs-on: ubuntu-latest\n    #     strategy:\n    #         matrix:\n    #             python-version: ['3.8', '3.9', '3.10']\n                \n    #     steps:\n    #         -   uses: actions/checkout@v2\n    #         -   name: Set up Python ${{ matrix.python-version }}\n    #             uses: actions/setup-python@v2\n    #             with:\n    #                 python-version: ${{ matrix.python-version }}\n                    \n    #         -   uses: actions/cache@v2\n    #             with:\n    #                 path: ~/.cache/pip\n    #                 key: ${{ runner.os }}-pip\n    \n    #         -   name: Install Dependencies\n    #             run: |\n    #                 python -m pip install --upgrade pip\n    #                 make dev\n    \n    #         -   name: Generate Docs\n    #             run: |\n    #                 make docs\n\n    Interactive-Setup:\n        # needs: Documentation\n        runs-on: ${{ matrix.os }}\n        strategy:\n            matrix:\n                # macOS automatically imports homebrew. So this will be used for setup.\n                os: [macos-latest, ubuntu-latest]\n                python-version: ['3.10']\n        \n        steps:\n            -   uses: actions/checkout@v2\n    \n            -   name: Set up Python ${{ matrix.python-version }}\n                uses: actions/setup-python@v2\n                with:\n                    python-version: ${{ matrix.python-version }}\n\n            -   uses: actions/cache@v2\n                with:\n                    path: ~/.cache/pip\n                    key: ${{ runner.os }}-pip\n\n            -   name: Install Interactive Dependencies\n                run: |\n                    pip install -e \".[interactive]\"\n            \n            -   name: Test interactive install\n                run: |\n                    make test-interactive-install\n\n    Build-Basic:\n        # needs: Documentation\n        runs-on: ${{ matrix.os }}\n        strategy:\n            matrix:\n                os: [ubuntu-latest, macos-latest]\n                python-version: ['3.8', '3.9', '3.10']\n                \n        steps:\n            -   uses: actions/checkout@v2\n    \n            -   name: Set up Python ${{ matrix.python-version }}\n                uses: actions/setup-python@v2\n                with:\n                    python-version: ${{ matrix.python-version }}\n\n            -   uses: actions/cache@v2\n                with:\n                    path: ~/.cache/pip\n                    key: ${{ runner.os }}-pip\n    \n            -   name: Install Bare Dependencies\n                run: |\n                    pip install -e .\n                    \n            -   name: Test basic importing\n                run: |\n                    make test-basic\n\n    Build:\n        if:\n            contains('\n            refs/heads/main\n            ', github.event.pull_request.base.ref)\n        needs: Build-Basic\n        runs-on: ${{ matrix.os }}\n        strategy:\n            matrix:\n                os: [ubuntu-latest] #, macos-latest]\n                python-version: ['3.8', '3.9', '3.10']\n                \n        steps:\n            -   uses: actions/checkout@v2\n    \n            -   name: Set up Python ${{ matrix.python-version }}\n                uses: actions/setup-python@v2\n                with:\n                    python-version: ${{ matrix.python-version }}\n\n            -   uses: actions/cache@v2\n                with:\n                    path: ~/.cache/pip\n                    key: ${{ runner.os }}-pip\n\n            -   name: Install Dependencies\n                run: |\n                    pip install -e \".[all]\"\n                    \n            -   name: Test with pytest\n                run: |\n                    make test-cov\n            \n            -   name: Upload to codecov.io\n                uses: codecov/codecov-action@v1\n                with:\n                    file: ./coverage.xml\n                    flags: unittests\n                    name: codecov-umbrella\n                    fail_ci_if_error: true\n                    \n#            -   name: Publish distribution 📦 to PyPI\n#                if: startsWith(github.event.ref, 'refs/tags')\n#                env:\n#                    PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n#                run: |\n#                    poetry config pypi-token.pypi $PYPI_TOKEN\n#                    poetry publish --build\n", "state": "active", "repository": "hazyresearch/meerkat"}
{"mined_at": "2024-07-15T18:04:39.915277", "created_at": "2023-02-24T23:05:08+01:00", "updated_at": "2023-03-02T19:50:14+01:00", "name": "GitHub Pages", "path": ".github/workflows/gh-pages.yml", "contents": "# Github Pages action\n# Adapted from https://github.com/marketplace/actions/github-pages-action\nname: GitHub Pages\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: write\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.9'\n\n      - name: Upgrade pip\n        run: |\n          # install pip=>20.1 to use \"pip cache dir\"\n          python3 -m pip install --upgrade pip\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: Cache dependencies\n        uses: actions/cache@v3\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n      - name: Install dependencies\n        run: |\n          python3 -m pip install -e '.[dev]'\n          python3 -m pip install -r docs/requirements.txt\n          python3 -m pip install seaborn torchvision\n          make dev\n          make website-install\n\n      - name: Build website\n        run: |\n          make website -B\n          echo \"meerkat.wiki\" > ./website/build/CNAME\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        if: ${{ github.ref == 'refs/heads/main' }}\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_branch: gh-pages\n          publish_dir: ./website/build\n", "state": "active", "repository": "hazyresearch/meerkat"}
{"mined_at": "2024-07-15T18:04:41.143528", "created_at": "2023-04-30T03:32:50+02:00", "updated_at": "2023-06-08T18:49:44+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI", "path": ".github/workflows/publish.yml", "contents": "name: Publish Python 🐍 distributions 📦 to PyPI\n\non:\n  push:\n    branches: [ main ]\n  \n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  publish:\n    # Only run publishing when the commit message contains [bumpversion]\n    # Auto-generated branches will be [bB]umpversion/<version>, so we also check for that.\n    if: |\n      contains(github.event.head_commit.message, '[bumpversion]') ||\n      contains(github.event.head_commit.message, 'bumpversion/') ||\n      contains(github.event.head_commit.message, 'Bumpversion/')\n    runs-on: ubuntu-latest\n    environment: \n      name: pypi\n      url: https://pypi.org/p/meerkat-ml\n    # TODO: Make permissions more restrictive\n    permissions: write-all\n    env:\n      commitmsg: ${{ github.event.head_commit.message }}\n      HF_TOKEN: ${{ secrets.HF_TOKEN }}\n      NODE_OPTIONS: \"--max_old_space_size=4096\"\n  \n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      # Setup .npmrc file to publish to npm\n      - uses: actions/setup-node@v3\n        with:\n          node-version: '16.x'\n          registry-url: 'https://registry.npmjs.org'\n\n      - uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip\n      \n      - name: Print commit message\n        run: echo \"Commit MSG = ${commitmsg}\"\n\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e \".[all]\"\n      \n      - name: Npm install and build examples\n        # No need to build here, since we will build in the next step.\n        run: |\n          cd meerkat/interactive/app\n          npm i\n          python -m meerkat.interactive.svelte\n          cd ../../../\n\n      - name: Build PyPI\n        run: |\n          python setup.py upload --skip-upload\n          twine check dist/*\n\n      - name: Publish distribution to npm\n        run: |\n          cd meerkat/interactive/app\n          npm ci\n          npm run package\n          npm publish package/\n          cd ../../../\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          verbose: true\n\n      - name: Get version\n        run: |\n          export MEERKAT_VERSION=$(grep -o '\".*\"' meerkat/version.py | sed 's/\"//g')\n          echo \"MEERKAT_VERSION=${MEERKAT_VERSION}\" >> $GITHUB_ENV\n\n      - name: Verify version\n        run: echo ${{ env.MEERKAT_VERSION }}\n\n      - name: Bump version and push tag\n        id: tag_version\n        uses: mathieudutour/github-tag-action@v6.1\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          custom_tag: ${{ env.MEERKAT_VERSION }}\n", "state": "active", "repository": "hazyresearch/meerkat"}
{"mined_at": "2024-07-15T18:04:42.251980", "created_at": "2023-02-24T23:49:59+01:00", "updated_at": "2023-02-24T23:49:59+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "hazyresearch/meerkat"}
{"mined_at": "2024-07-15T18:04:44.422637", "created_at": "2024-07-09T03:28:15+02:00", "updated_at": "2024-07-09T03:28:15+02:00", "name": "代码格式检查", "path": ".github/workflows/format-check.yml", "contents": null, "state": "active", "repository": "arkmowers/arknights-mower"}
{"mined_at": "2024-07-15T18:04:45.578131", "created_at": "2022-01-27T16:31:12+01:00", "updated_at": "2022-01-27T17:45:19+01:00", "name": "Windows Binary Package (Alpha)", "path": ".github/workflows/pyinstaller-win-alpha.yml", "contents": "name: Windows Binary Package (Alpha)\n\non:\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+a[0-9]+'\n\njobs:\n  build-win-amd64:\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Get the version\n        id: get_version\n        shell: bash\n        run: echo ::set-output name=VERSION::${GITHUB_REF/refs\\/tags\\/v/}\n      - name: Set up Python 3.9 amd64\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n          architecture: x64\n      - name: Install dependencies\n        shell: cmd\n        run: |\n          python -m pip install --upgrade pip\n          python -m venv venv64\n          venv64\\Scripts\\python -m pip install --upgrade pip wheel setuptools\n          venv64\\Scripts\\python -m pip install -r requirements.txt\n          venv64\\Scripts\\python -m pip install pyinstaller\n      - name: Make package\n        shell: cmd\n        run: |\n          venv64\\Scripts\\pyinstaller .\\main.spec\n          md public\n          move dist\\main.exe public\\arknights_mower.exe\n      - name: Package into zip\n        uses: vimtor/action-zip@v1\n        with:\n          files: public/\n          recursive: false\n          dest: arknights-mower_cp39_win_amd64_${{ steps.get_version.outputs.VERSION }}.zip\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          draft: true\n          prerelease: true\n          body_path: doc/CHANGELOG.md\n          files: arknights-mower_cp39_win_amd64_${{ steps.get_version.outputs.VERSION }}.zip\n", "state": "active", "repository": "arkmowers/arknights-mower"}
{"mined_at": "2024-07-15T18:04:46.673903", "created_at": "2023-05-04T05:24:17+02:00", "updated_at": "2024-07-09T11:55:40+02:00", "name": "Windows打包", "path": ".github/workflows/pyinstaller-win-shawn.yml", "contents": "name: dev_shawn分支自动打包\n\non:\n  push:\n    branches:\n      - dev_shawn\n\njobs:\n  build-win-amd64:\n    runs-on: windows-latest\n    steps:\n      - name: download source\n        uses: actions/checkout@v3\n        with:\n          path: main\n\n      - name: download updater\n        uses: actions/checkout@v3\n        with:\n          repository: ArkMowers/updater\n          path: updater\n\n      - name: setup nodejs 16\n        uses: actions/setup-node@v3\n        with:\n          node-version: 16\n\n      - name: Install UPX\n        uses: crazy-max/ghaction-upx@v2\n        with:\n          install-only: true\n\n      - name: Set up Python 3.8 amd64\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n          cache: pip\n          architecture: x64\n\n      - name: build frontend\n        working-directory: ./main/ui\n        shell: bash\n        run: |\n          npm ci\n          npm run build\n          cp -r dist ../\n\n      - name: Install dependencies\n        working-directory: ./main\n        shell: cmd\n        run: |\n          python -m venv venv\n          venv\\Scripts\\pip install -r requirements.txt\n          venv\\Scripts\\pip install pyinstaller xxhash backports.zoneinfo[tzdata]\n      - name: Patch Paddle\n        working-directory: ./main\n        shell: cmd\n        run: |\n          copy .\\packaging\\image.py .\\venv\\Lib\\site-packages\\paddle\\dataset\\image.py /y\n          copy .\\packaging\\network.py .\\venv\\Lib\\site-packages\\paddleocr\\ppocr\\utils\\network.py /y\n          copy .\\packaging\\paddleocr.py .\\venv\\Lib\\site-packages\\paddleocr\\paddleocr.py /y\n      - name: Make package\n        working-directory: ./main\n        shell: cmd\n        run: |\n          set PYTHONHASHSEED=114514\n          set SOURCE_DATE_EPOCH=1694076231\n          venv\\Scripts\\pyinstaller .\\webui_zip.spec\n\n      - name: calculate hash\n        working-directory: ./main/dist/mower\n        shell: cmd\n        run: |\n          ..\\..\\venv\\Scripts\\python.exe ..\\..\\..\\updater\\publish.py\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: mower\n          path: main/dist/mower\n", "state": "active", "repository": "arkmowers/arknights-mower"}
{"mined_at": "2024-07-15T18:04:47.902493", "created_at": "2021-09-12T16:12:52+02:00", "updated_at": "2021-09-13T20:00:42+02:00", "name": "Upload PyPI", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload PyPI\n\non:\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n      - 'v[0-9]+.[0-9]+.[0-9]+a[0-9]+'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "arkmowers/arknights-mower"}
{"mined_at": "2024-07-15T18:04:49.011453", "created_at": "2023-05-17T12:39:59+02:00", "updated_at": "2023-05-17T12:39:59+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "arkmowers/arknights-mower"}
{"mined_at": "2024-07-15T18:04:51.280964", "created_at": "2023-02-23T07:48:16+01:00", "updated_at": "2023-02-23T07:48:16+01:00", "name": "Integration tests on Azure", "path": ".github/workflows/integration-tests-azure.yml", "contents": "---\nname: Integration tests on Azure\non:  # yamllint disable-line rule:truthy\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - main\n\njobs:\n  integration-tests-azure:\n    name: Regular\n    strategy:\n      fail-fast: false\n      max-parallel: 1\n      matrix:\n        profile: [\"ci_azure_auto\"]\n        python_version: [\"3.11\"]\n        msodbc_version: [\"17\", \"18\"]\n\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/${{ github.repository }}:CI-${{ matrix.python_version }}-msodbc${{ matrix.msodbc_version }}\n    steps:\n      - name: AZ CLI login\n        run: az login --service-principal --username=\"${AZURE_CLIENT_ID}\" --password=\"${AZURE_CLIENT_SECRET}\" --tenant=\"${AZURE_TENANT_ID}\"\n        env:\n          AZURE_CLIENT_ID: ${{ secrets.DBT_AZURE_SP_NAME }}\n          AZURE_CLIENT_SECRET: ${{ secrets.DBT_AZURE_SP_SECRET }}\n          AZURE_TENANT_ID: ${{ secrets.DBT_AZURE_TENANT }}\n\n      - uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: pip install -r dev_requirements.txt\n\n      - name: Run functional tests\n        env:\n          DBT_AZURESQL_SERVER: ${{ secrets.DBT_AZURESQL_SERVER }}\n          DBT_AZURESQL_DB: ${{ secrets.DBT_AZURESQL_DB }}\n          AZURE_CLIENT_ID: ${{ secrets.DBT_AZURE_SP_NAME }}\n          AZURE_CLIENT_SECRET: ${{ secrets.DBT_AZURE_SP_SECRET }}\n          AZURE_TENANT_ID: ${{ secrets.DBT_AZURE_TENANT }}\n          FABRIC_TEST_DRIVER: 'ODBC Driver ${{ matrix.msodbc_version }} for SQL Server'\n          DBT_TEST_USER_1: dbo\n          DBT_TEST_USER_2: dbo\n          DBT_TEST_USER_3: dbo\n        run: pytest -ra -v tests/functional --profile \"${{ matrix.profile }}\"\n", "state": "active", "repository": "microsoft/dbt-fabric"}
{"mined_at": "2024-07-15T18:04:52.401341", "created_at": "2023-05-24T03:28:48+02:00", "updated_at": "2023-06-15T04:47:11+02:00", "name": "Integration tests on SQL Server", "path": ".github/workflows/integration-tests-fabric.yml", "contents": null, "state": "disabled_manually", "repository": "microsoft/dbt-fabric"}
{"mined_at": "2024-07-15T18:04:53.457680", "created_at": "2023-02-23T07:48:16+01:00", "updated_at": "2023-02-23T07:48:16+01:00", "name": "Publish Docker images for CI/CD", "path": ".github/workflows/publish-docker.yml", "contents": "---\nname: Publish Docker images for CI/CD\non:  # yamllint disable-line rule:truthy\n  push:\n    paths:\n      - 'devops/**'\n      - '.github/workflows/publish-docker.yml'\n    branches:\n      - main\n      - v*\n\njobs:\n  publish-docker-client:\n    strategy:\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        docker_target: [\"msodbc17\", \"msodbc18\"]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3.0.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5.1.0\n        with:\n          context: devops\n          build-args: PYTHON_VERSION=${{ matrix.python_version }}\n          file: devops/CI.Dockerfile\n          push: true\n          platforms: linux/amd64\n          target: ${{ matrix.docker_target }}\n          tags: ghcr.io/${{ github.repository }}:CI-${{ matrix.python_version }}-${{ matrix.docker_target }}\n", "state": "active", "repository": "microsoft/dbt-fabric"}
{"mined_at": "2024-07-15T18:04:54.535630", "created_at": "2023-02-23T07:48:16+01:00", "updated_at": "2023-02-23T07:48:16+01:00", "name": "Release new version", "path": ".github/workflows/release-version.yml", "contents": "---\nname: Release new version\n\non:  # yamllint disable-line rule:truthy\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  release-version:\n    name: Release new version\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.9'\n\n      - name: Install dependencies\n        run: pip install -r dev_requirements.txt\n\n      - name: Verify version match\n        run: python setup.py verify\n\n      - name: Initialize .pypirc\n        run: |\n          echo -e \"[pypi]\" >> ~/.pypirc\n          echo -e \"username = __token__\" >> ~/.pypirc\n          echo -e \"password = ${{ secrets.PYPI_DBT_FABRIC }}\" >> ~/.pypirc\n\n      - name: Build and publish package\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "microsoft/dbt-fabric"}
{"mined_at": "2024-07-15T18:04:55.558026", "created_at": "2023-02-23T07:48:16+01:00", "updated_at": "2023-02-23T07:48:16+01:00", "name": "Unit tests", "path": ".github/workflows/unit-tests.yml", "contents": "---\nname: Unit tests\non:  # yamllint disable-line rule:truthy\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n      - v*\n  pull_request:\n    branches:\n      - main\n      - v*\n\njobs:\n  unit-tests:\n    name: Unit tests\n    strategy:\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: read\n    container:\n      image: ghcr.io/${{ github.repository }}:CI-${{ matrix.python_version }}-msodbc18\n      credentials:\n        username: ${{ github.actor }}\n        password: ${{ secrets.github_token }}\n    steps:\n\n      - uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: pip install -r dev_requirements.txt\n\n      - name: Run unit tests\n        run: pytest -n auto -ra -v tests/unit\n", "state": "active", "repository": "microsoft/dbt-fabric"}
{"mined_at": "2024-07-15T18:04:56.584160", "created_at": "2024-07-12T17:27:36+02:00", "updated_at": "2024-07-12T17:27:36+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "microsoft/dbt-fabric"}
{"mined_at": "2024-07-15T18:04:58.649442", "created_at": "2021-03-25T22:01:26+01:00", "updated_at": "2021-03-25T22:01:26+01:00", "name": "Deploy Code", "path": ".github/workflows/deploy-code.yml", "contents": "# This code is part of a Qiskit project.\n#\n# (C) Copyright IBM 2021, 2023.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: Deploy Code\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  code_publish:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install deps\n        run: pip install -U pip setuptools virtualenv wheel\n      - name: Build sdist\n        run: python3 setup.py sdist bdist_wheel\n      - uses: actions/upload-artifact@v4\n        with:\n          path: ./dist/*\n      - name: Deploy to Pypi\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "qiskit-community/qiskit-nature"}
{"mined_at": "2024-07-15T18:04:59.884093", "created_at": "2021-03-25T22:01:26+01:00", "updated_at": "2021-07-01T19:07:02+02:00", "name": "Deploy Docs", "path": ".github/workflows/deploy-docs.yml", "contents": "# This code is part of a Qiskit project.\n#\n# (C) Copyright IBM 2021, 2023.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: Deploy Docs\n\non:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  docs_publish:\n    if: ${{ startsWith(github.ref, 'refs/heads/stable') && contains('[\"mtreinish\",\"woodsp-ibm\",\"mrossinek\",\"robertodr\",\"matteoacrossi\"]', github.actor) }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Dependencies\n        run: |\n          pip install jupyter\n          sudo apt-get install -y pandoc\n        shell: bash\n      - name: Install Nature\n        run: |\n          pip install -e .[pyscf,mpl,sparse]\n          pip install -U -c constraints.txt -r requirements-dev.txt\n        shell: bash\n      - name: Build docs\n        env:\n          QISKIT_PARALLEL: False\n          QISKIT_DOCS_BUILD_TUTORIALS: 'always'\n        run: |\n          echo \"earliest_version: 0.1.0\" >> releasenotes/config.yaml\n          # disable a PySCF UserWarning w.r.t. a change in the B3LYP DFT functional\n          echo \"B3LYP_WITH_VWN5 = True\" >> ~/.pyscf_conf.py\n          tools/ignore_untagged_notes.sh\n          make html\n        shell: bash\n      - name: Bypass Jekyll Processing # Necessary for setting the correct css path\n        run: touch docs/_build/html/.nojekyll\n      - name: Deploy\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: docs/_build/html/\n          clean-exclude: |\n            locale/*\n", "state": "active", "repository": "qiskit-community/qiskit-nature"}
{"mined_at": "2024-07-15T18:05:01.114541", "created_at": "2021-01-27T18:52:33+01:00", "updated_at": "2023-09-04T20:20:28+02:00", "name": "Nature Unit Tests", "path": ".github/workflows/main.yml", "contents": "# This code is part of a Qiskit project.\n#\n# (C) Copyright IBM 2021, 2024.\n#\n# This code is licensed under the Apache License, Version 2.0. You may\n# obtain a copy of this license in the LICENSE.txt file in the root directory\n# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.\n#\n# Any modifications or derivative works of this code must retain this\n# copyright notice, and modified files need to carry a notice indicating\n# that they have been altered from the originals.\n\nname: Nature Unit Tests\n\non:\n  push:\n    branches:\n      - main\n      - 'stable/**'\n  pull_request:\n    branches:\n      - main\n      - 'stable/**'\n  schedule:\n    # run every day at 1AM\n    - cron: '0 1 * * *'\n\nconcurrency:\n  group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  Checks:\n    if: github.repository_owner == 'qiskit-community'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n    steps:\n      - name: Print Concurrency Group\n        env:\n          CONCURRENCY_GROUP: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }}\n        run: |\n          echo -e \"\\033[31;1;4mConcurrency Group\\033[0m\"\n          echo -e \"$CONCURRENCY_GROUP\\n\"\n        shell: bash\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: |\n            setup.py\n            requirements.txt\n            requirements-dev.txt\n      - name: Create conda environment\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda create -y -n psi4env python=${{ matrix.python-version }}\n        shell: bash\n      - uses: ./.github/actions/install-main-dependencies\n        with:\n          os: ${{ matrix.os }}\n          python-version: ${{ matrix.python-version }}\n          use-conda: \"true\"\n          qiskit-main: \"false\"\n        if: ${{ !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}\n      - uses: ./.github/actions/install-nature\n        with:\n          use-conda: \"true\"\n      - name: Install Dependencies\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda activate psi4env\n          sudo apt-get install -y pandoc\n          sudo apt-get -y install python3-enchant\n          sudo apt-get -y install hunspell-en-us\n          pip install pyenchant\n          # append to reno config\n          echo \"earliest_version: 0.1.0\" >> releasenotes/config.yaml\n          # disable a PySCF UserWarning w.r.t. a change in the B3LYP DFT functional\n          echo \"B3LYP_WITH_VWN5 = True\" >> ~/.pyscf_conf.py\n        shell: bash\n      - name: Set up problem matches\n        run: |\n          echo \"::add-matcher::./.github/problem_matchers/copyright.json\"\n          echo \"::add-matcher::./.github/problem_matchers/spell.json\"\n          echo \"::add-matcher::./.github/problem_matchers/black.json\"\n      - name: PIP Check\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda activate psi4env\n          pip check\n        if: ${{ !cancelled() }}\n        shell: bash\n      - name: Copyright Check\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda activate psi4env\n          python tools/check_copyright.py -check\n        if: ${{ !cancelled() }}\n        shell: bash\n      - name: Spell Check\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda activate psi4env\n          make spell\n        if: ${{ !cancelled() }}\n        shell: bash\n      - name: Style Check\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda activate psi4env\n          make clean_sphinx\n          make style\n        if: ${{ !cancelled() }}\n        shell: bash\n      - name: Run make html\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda activate psi4env\n          make clean_sphinx\n          make html\n          cd docs/_build/html\n          mkdir artifacts\n          tar -zcvf artifacts/documentation.tar.gz --exclude=./artifacts .\n        if: ${{ !cancelled() }}\n        shell: bash\n      - name: Run upload documentation\n        uses: actions/upload-artifact@v4\n        with:\n          name: documentation\n          path: docs/_build/html/artifacts/documentation.tar.gz\n        if: ${{ !cancelled() }}\n      - name: Doctest\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda activate psi4env\n          make doctest\n        if: ${{ !cancelled() }}\n        shell: bash\n  Nature:\n    if: github.repository_owner == 'qiskit-community'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8, 3.9, '3.10', 3.11, 3.12]\n        include:\n          - os: macos-latest\n            python-version: 3.8\n          - os: macos-latest\n            python-version: 3.12\n          - os: windows-latest\n            python-version: 3.8\n          - os: windows-latest\n            python-version: 3.12\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: |\n            setup.py\n            requirements.txt\n            requirements-dev.txt\n      - name: Create conda environment\n        run: |\n          if [ \"${{ matrix.os }}\" == \"macos-latest\" ]; then\n            sudo chown -R $USER: \"$CONDA\"\n          fi\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          if [ \"${{ matrix.python-version }}\" >= \"3.11\" ]; then\n            conda create -y -n psi4env python=${{ matrix.python-version }} -c conda-forge\n          else\n            conda create -y -n psi4env python=${{ matrix.python-version }}\n          fi\n        shell: bash\n      - name: Install PSI4\n        uses: ./.github/actions/install-psi4\n        with:\n          os: ${{ matrix.os }}\n          python-version: ${{ matrix.python-version }}\n      - uses: ./.github/actions/install-main-dependencies\n        with:\n          os: ${{ matrix.os }}\n          python-version: ${{ matrix.python-version }}\n          use-conda: \"true\"\n        if: ${{ !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}\n      - uses: ./.github/actions/install-nature\n        with:\n          use-conda: \"true\"\n      - name: Set up problem matches\n        run: |\n          echo \"::add-matcher::./.github/problem_matchers/pylint.json\"\n          echo \"::add-matcher::./.github/problem_matchers/mypy.json\"\n        if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == 3.8 }}\n      - name: Run lint\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda activate psi4env\n          make lint\n        shell: bash\n      - name: Run mypy\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda activate psi4env\n          make mypy\n        if: ${{ !cancelled() }}\n        shell: bash\n      - name: Stestr Cache\n        uses: actions/cache@v4\n        with:\n          path: |\n            .stestr\n            .stestr1\n          key: stestr-${{ matrix.os }}-${{ matrix.python-version }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}\n          restore-keys: |\n            stestr-${{ matrix.os }}-${{ matrix.python-version }}-\n            stestr-${{ matrix.os }}-\n        if: ${{ !cancelled() }}\n      - name: Nature Unit Tests under Python ${{ matrix.python-version }}\n        uses: ./.github/actions/run-tests\n        with:\n          os: ${{ matrix.os }}\n          event-name: ${{ github.event_name }}\n          run-slow: ${{ contains(github.event.pull_request.labels.*.name, 'run_slow') }}\n          python-version: ${{ matrix.python-version }}\n        if: ${{ !cancelled() }}\n      - name: Deprecation Messages\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda activate psi4env\n          mkdir ./ci-artifact-data\n          python tools/extract_deprecation.py -file out.txt -output ./ci-artifact-data/nat.dep\n        shell: bash\n      - name: Coverage combine\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda activate psi4env\n          coverage3 combine\n          mv .coverage ./ci-artifact-data/nat.dat\n        if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == 3.8 }}\n        shell: bash\n      - uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.os }}-${{ matrix.python-version }}\n          path: ./ci-artifact-data/*\n      - name: Nature Unit Tests without matplotlib/pyscf/psi4/sparse/opt_einsum under Python ${{ matrix.python-version }}\n        env:\n          PYTHONWARNINGS: default\n        run: |\n          source \"$CONDA/etc/profile.d/conda.sh\"\n          conda activate psi4env\n          pip uninstall -y matplotlib pyscf sparse opt_einsum\n          echo 'Uninstall psi4'\n          conda remove -y --force psi4\n          if [ \"${{ github.event_name }}\" == \"schedule\" ] || [ \"${{ contains(github.event.pull_request.labels.*.name, 'run_slow') }}\" == \"true\" ]; then\n              export QISKIT_TESTS=\"run_slow\"\n          fi\n          mkdir -p ./.stestr1\n          stestr --test-path test --repo-url .stestr1 run\n        if: ${{ !cancelled() }}\n        shell: bash\n  Tutorials:\n    if: github.repository_owner == 'qiskit-community'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8, 3.12]\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: |\n            setup.py\n            requirements.txt\n            requirements-dev.txt\n      - uses: ./.github/actions/install-main-dependencies\n        with:\n          os: ${{ matrix.os }}\n          python-version: ${{ matrix.python-version }}\n          use-conda: \"false\"\n        if: ${{ !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}\n      - uses: ./.github/actions/install-nature\n        with:\n          use-conda: \"false\"\n      - name: Install Dependencies\n        run: |\n          pip install jupyter\n          sudo apt-get install -y pandoc\n          echo \"earliest_version: 0.1.0\" >> releasenotes/config.yaml\n          # disable a PySCF UserWarning w.r.t. a change in the B3LYP DFT functional\n          echo \"B3LYP_WITH_VWN5 = True\" >> ~/.pyscf_conf.py\n        shell: bash\n      - name: Run Qiskit Nature Tutorials\n        env:\n          QISKIT_PARALLEL: False\n          QISKIT_DOCS_BUILD_TUTORIALS: 'always'\n        run: |\n          make html\n          cd docs/_build/html\n          mkdir artifacts\n          tar -zcvf artifacts/tutorials.tar.gz --exclude=./artifacts .\n        shell: bash\n      - name: Run upload tutorials\n        uses: actions/upload-artifact@v4\n        with:\n          name: tutorials${{ matrix.python-version }}\n          path: docs/_build/html/artifacts/tutorials.tar.gz\n      - name: Run stable tutorials\n        env:\n          QISKIT_PARALLEL: False\n          QISKIT_DOCS_BUILD_TUTORIALS: 'always'\n        run: |\n          # clean last sphinx output\n          make clean_sphinx\n          # get current version\n          version=$(pip show qiskit-nature | awk -F. '/^Version:/ { print substr($1,10), $2-1 }' OFS=.)\n          # download stable version\n          wget https://codeload.github.com/qiskit-community/qiskit-nature/zip/stable/$version -O /tmp/repo.zip\n          unzip /tmp/repo.zip -d /tmp/\n          # copy stable tutorials to main tutorials\n          cp -R /tmp/qiskit-nature-stable-$version/docs/tutorials/* docs/tutorials\n          # run tutorials and zip results\n          echo \"earliest_version: 0.1.0\" >> releasenotes/config.yaml\n          # ignore unreleased/untagged notes\n          tools/ignore_untagged_notes.sh\n          make html\n          cd docs/_build/html\n          mkdir artifacts\n          tar -zcvf artifacts/tutorials.tar.gz --exclude=./artifacts .\n        if: ${{ matrix.python-version == 3.8 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}\n        shell: bash\n      - name: Run upload stable tutorials\n        uses: actions/upload-artifact@v4\n        with:\n          name: tutorials-stable${{ matrix.python-version }}\n          path: docs/_build/html/artifacts/tutorials.tar.gz\n        if: ${{ matrix.python-version == 3.8 && !startsWith(github.ref, 'refs/heads/stable') && !startsWith(github.base_ref, 'stable/') }}\n  Deprecation_Messages_and_Coverage:\n    if: github.repository_owner == 'qiskit-community'\n    needs: [Checks, Nature, Tutorials]\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/download-artifact@v4\n        with:\n          name: ubuntu-latest-3.8\n          path: /tmp/u38\n      - uses: actions/download-artifact@v4\n        with:\n          name: ubuntu-latest-3.9\n          path: /tmp/u39\n      - uses: actions/download-artifact@v4\n        with:\n          name: ubuntu-latest-3.10\n          path: /tmp/u310\n      - uses: actions/download-artifact@v4\n        with:\n          name: ubuntu-latest-3.11\n          path: /tmp/u311\n      - uses: actions/download-artifact@v4\n        with:\n          name: ubuntu-latest-3.12\n          path: /tmp/u312\n      - uses: actions/download-artifact@v4\n        with:\n          name: macos-latest-3.8\n          path: /tmp/m38\n      - uses: actions/download-artifact@v4\n        with:\n          name: macos-latest-3.12\n          path: /tmp/m312\n      - uses: actions/download-artifact@v4\n        with:\n          name: windows-latest-3.8\n          path: /tmp/w38\n      - uses: actions/download-artifact@v4\n        with:\n          name: windows-latest-3.12\n          path: /tmp/w312\n      - name: Install Dependencies\n        run: pip install -U coverage coveralls diff-cover\n        shell: bash\n      - name: Combined Deprecation Messages\n        run: |\n          sort -f -u /tmp/u38/nat.dep /tmp/u39/nat.dep /tmp/u310/nat.dep /tmp/u311/nat.dep /tmp/u312/nat.dep /tmp/m38/nat.dep /tmp/m312/nat.dep /tmp/w38/nat.dep /tmp/w312/nat.dep || true\n        shell: bash\n      - name: Coverage combine\n        run: coverage3 combine /tmp/u38/nat.dat\n        shell: bash\n      - name: Upload to Coveralls\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: coveralls --service=github\n        shell: bash\n", "state": "active", "repository": "qiskit-community/qiskit-nature"}
{"mined_at": "2024-07-15T18:05:02.234029", "created_at": "2024-01-25T18:07:05+01:00", "updated_at": "2024-01-25T18:07:05+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "qiskit-community/qiskit-nature"}
{"mined_at": "2024-07-15T18:05:04.491712", "created_at": "2023-11-02T10:50:54+01:00", "updated_at": "2023-11-02T10:50:54+01:00", "name": "Build develop Docker image", "path": ".github/workflows/build-dev-image.yml", "contents": "name: Build develop Docker image\n\non:\n  push:\n    branches:\n      - develop\n    paths-ignore:\n      - '.github/**'\n      - README.md\n\njobs:\n  variables-setup:\n    name: Setting variables for docker build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Create variables\n        id: vars\n        run: |\n          echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n    outputs:\n      date: ${{ steps.vars.outputs.date }}\n\n  call-docker-build:\n    name: Call develop Docker build\n    needs: variables-setup\n    uses: reportportal/.github/.github/workflows/build-docker-image.yaml@main\n    with:\n      aws-region: ${{ vars.AWS_REGION }}\n      image-tag: 'develop-${{ github.run_number }}'\n      version: 'develop-${{ github.run_number }}'\n      date: ${{ needs.variables-setup.outputs.date }}\n    secrets: inherit\n", "state": "active", "repository": "reportportal/service-auto-analyzer"}
{"mined_at": "2024-07-15T18:05:05.720506", "created_at": "2023-11-14T16:04:18+01:00", "updated_at": "2023-11-16T09:45:13+01:00", "name": "Build feature Docker image", "path": ".github/workflows/build-feature-image.yaml", "contents": "name: Build feature Docker image\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n    branches:\n      - 'develop'\n\njobs:\n  variables-setup:\n    name: Setting variables for docker build\n    runs-on: ubuntu-latest\n    if: (!startsWith(github.head_ref, 'rc/') || !startsWith(github.head_ref, 'hotfix/') || !startsWith(github.head_ref, 'master') || !startsWith(github.head_ref, 'main'))\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Create variables\n        id: vars\n        run: |\n          echo \"tag=$(echo ${{ github.head_ref }}-${{ github.run_number }} | tr '/' '-')\" >> $GITHUB_OUTPUT\n          echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n    outputs:\n      tag: ${{ steps.vars.outputs.tag }}\n      date: ${{ steps.vars.outputs.date }}\n\n  call-docker-build:\n    name: Call feature Docker build\n    needs: variables-setup\n    uses: reportportal/.github/.github/workflows/build-docker-image.yaml@main\n    with:\n      aws-region: ${{ vars.AWS_REGION }}\n      image-tag: ${{ needs.variables-setup.outputs.tag }}\n      version: ${{ needs.variables-setup.outputs.tag }}\n      branch: ${{ github.head_ref }}\n      date: ${{ needs.variables-setup.outputs.date }}\n    secrets: inherit\n", "state": "active", "repository": "reportportal/service-auto-analyzer"}
{"mined_at": "2024-07-15T18:05:06.813143", "created_at": "2023-11-02T10:50:54+01:00", "updated_at": "2023-11-02T10:50:54+01:00", "name": "Build RC Docker image", "path": ".github/workflows/build-rc-image.yaml", "contents": "name: Build RC Docker image\n\non:\n  push:\n    branches:\n      - \"rc/*\"\n      - \"hotfix/*\"\n\njobs:\n  variables-setup:\n    name: Setting variables for docker build\n    runs-on: ubuntu-latest\n    environment: rc\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Create variables\n        id: vars\n        run: |\n          echo \"platforms=${{ vars.BUILD_PLATFORMS }}\" >> $GITHUB_OUTPUT\n          echo \"version=$(echo '${{ github.ref_name }}' | sed -nE 's/.*([0-9]+\\.[0-9]+\\.[0-9]+).*/\\1/p')\" >> $GITHUB_OUTPUT\n          echo \"tag=$(echo ${{ github.ref_name }}-${{ github.run_number }} | tr '/' '-')\" >> $GITHUB_OUTPUT\n          echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n    outputs:\n      platforms: ${{ steps.vars.outputs.platforms }}\n      version: ${{ steps.vars.outputs.version }}\n      tag: ${{ steps.vars.outputs.tag }}\n      date: ${{ steps.vars.outputs.date }}\n      \n  call-docker-build:\n    name: Call release candidate Docker build\n    needs: variables-setup\n    uses: reportportal/.github/.github/workflows/build-docker-image.yaml@main\n    with:\n      aws-region: ${{ vars.AWS_REGION }}\n      image-tag: ${{ needs.variables-setup.outputs.tag }}\n      additional-tag: 'latest'\n      build-platforms: ${{ needs.variables-setup.outputs.platforms }}\n      version: ${{ needs.variables-setup.outputs.version }}\n      date: ${{ needs.variables-setup.outputs.date }}\n    secrets: inherit\n", "state": "active", "repository": "reportportal/service-auto-analyzer"}
{"mined_at": "2024-07-15T18:05:08.075873", "created_at": "2023-10-02T16:25:16+02:00", "updated_at": "2023-10-03T08:42:44+02:00", "name": "Retag RC Docker image", "path": ".github/workflows/dockerhub-release.yaml", "contents": "name: Retag RC Docker image\n\non:\n  pull_request_review:\n    types: [submitted]\n\nenv:\n  AWS_REGION: ${{ vars.AWS_REGION }}               # set this to your preferred AWS region, e.g. us-west-1\n  ECR_REPOSITORY: ${{ vars.ECR_REPOSITORY }}       # set this to your Amazon ECR repository name\n  TARGET_REGISTRY: ${{ vars.TARGET_REGISTRY }}     # set to target regestry (DockerHub, GitHub & etc)\n  TARGET_REPOSITORY: ${{ vars.TARGET_REPOSITORY }} # set to target repository\n  PLATFORMS: ${{ vars.BUILD_PLATFORMS }}           # set target build platforms. By default linux/amd64\n  RELEASE_MODE: ${{ vars.RELEASE_MODE }}\n\njobs:\n  retag-image:\n    name: Retag and push image \n    runs-on: ubuntu-latest\n    environment: rc\n    if: github.event.pull_request.base.ref == 'master' || github.event.pull_request.base.ref == 'main'\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v2\n        with:\n          # role-to-assume: arn:aws:iam::123456789012:role/my-github-actions-role\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ env.AWS_REGION }}\n\n      - name: Login to Amazon ECR\n        id: login-ecr\n        uses: aws-actions/amazon-ecr-login@v1\n        with:\n          mask-password: 'true'\n      \n      - name: Log in to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.REGESTRY_USERNAME }}\n          password: ${{ secrets.REGESTRY_PASSWORD }}\n      \n      - name: Create variables\n        id: vars\n        run: |\n          echo \"tag=$(echo '${{ github.event.pull_request.title }}' | sed -nE 's/.*([0-9]+\\.[0-9]+\\.[0-9]+).*/\\1/p')\" >> $GITHUB_OUTPUT\n      \n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      \n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Retag and Push Docker Image\n        env:\n          ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}\n          IMAGE_TAG: ${{ steps.vars.outputs.tag }}\n        run: |\n          docker buildx imagetools create $ECR_REGISTRY/$ECR_REPOSITORY:latest --tag $TARGET_REGISTRY/$TARGET_REPOSITORY:$IMAGE_TAG --tag $TARGET_REGISTRY/$TARGET_REPOSITORY:latest\n      \n      - name: Summarize\n        env:\n          ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}\n          IMAGE_TAG: ${{ steps.vars.outputs.tag }}\n        run: |\n          echo \"## General information about the build:\" >> $GITHUB_STEP_SUMMARY\n          echo \"\" >> $GITHUB_STEP_SUMMARY\n          echo \"- :whale: Docker image: $TARGET_REGISTRY/$TARGET_REPOSITORY:$IMAGE_TAG\" >> $GITHUB_STEP_SUMMARY\n          echo \"- :octocat: The commit SHA from which the build was performed: [$GITHUB_SHA](https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA)\" >> $GITHUB_STEP_SUMMARY\n", "state": "active", "repository": "reportportal/service-auto-analyzer"}
{"mined_at": "2024-07-15T18:05:09.303888", "created_at": "2024-04-22T16:48:06+02:00", "updated_at": "2024-04-22T16:48:06+02:00", "name": "Add GitHub release version to Jira issues", "path": ".github/workflows/sync-jira-versions.yml", "contents": "name: Add GitHub release version to Jira issues\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  call-jira-sync:\n    name: Call Jira versions update\n    uses: reportportal/.github/.github/workflows/update-jira-versions.yaml@main\n    with:\n      jira-server: ${{ vars.JIRA_SERVER }}\n    secrets: inherit", "state": "active", "repository": "reportportal/service-auto-analyzer"}
{"mined_at": "2024-07-15T18:05:10.377406", "created_at": "2023-05-19T16:12:32+02:00", "updated_at": "2023-05-19T16:44:52+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "# Copyright 2022 EPAM Systems\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Tests\n\non: [ push, pull_request ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r ./requirements.txt\n          python -m pip install -r ./requirements-dev.txt\n          python -m nltk.downloader stopwords\n\n      - name: Checkstyle\n        run: python -m flake8\n\n      - name: Test\n        run: pytest --cov-config=.coveragerc --cov --cov-report=xml test/ -s -vv\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          files: coverage.xml\n          flags: unittests\n", "state": "active", "repository": "reportportal/service-auto-analyzer"}
{"mined_at": "2024-07-15T18:05:12.851022", "created_at": "2021-01-11T21:35:22+01:00", "updated_at": "2021-09-15T13:43:23+02:00", "name": "Issue and PR stale management", "path": ".github/workflows/stale.yml", "contents": "name: \"Issue and PR stale management\"\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    if: github.repository == 'aristanetworks/ansible-avd'\n    steps:\n      # Issue stale management\n    - uses: actions/stale@v6\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        days-before-stale: 90\n        days-before-close: -1\n        stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. The issue will be reviewed by a maintainer and may be closed'\n        stale-issue-label: 'state: stale'\n        exempt-issue-labels: 'state: accepted, state: in-progress'\n        stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. The PR will be reviewed by a maintainer and may be closed'\n        stale-pr-label: 'state: stale'\n        exempt-pr-labels: 'state: accepted, state: in-progress'\n", "state": "active", "repository": "aristanetworks/ansible-avd"}
{"mined_at": "2024-07-15T18:05:14.247304", "created_at": "2021-09-24T23:20:48+02:00", "updated_at": "2023-03-10T17:03:03+01:00", "name": "Collection code testing", "path": ".github/workflows/pull-request-management.yml", "contents": "---\nname: \"Collection code testing\"\n\non: pull_request\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  file-changes:\n    runs-on: ubuntu-latest\n    outputs:\n      eos_design: ${{ steps.filter.outputs.eos_design }}\n      config_gen: ${{ steps.filter.outputs.config_gen }}\n      cloudvision: ${{ steps.filter.outputs.cloudvision }}\n      dhcp: ${{ steps.filter.outputs.dhcp }}\n      plugins: ${{ steps.filter.outputs.plugins }}\n      requirements: ${{ steps.filter.outputs.requirements }}\n      docs: ${{ steps.filter.outputs.docs }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: dorny/paths-filter@v2\n        id: filter\n        with:\n          filters: |\n            eos_design:\n              - 'ansible_collections/arista/avd/roles/eos_designs/*'\n              - 'ansible_collections/arista/avd/roles/eos_designs/**/*'\n              - '.github/workflows/pull-request-management.yml'\n              - 'ansible_collections/arista/avd/molecule/*'\n              - 'ansible_collections/arista/avd/molecule/**/*'\n              - '!ansible_collections/arista/avd/roles/eos_config_deploy_cvp/*'\n              - '!ansible_collections/arista/avd/roles/eos_config_deploy_cvp/**/*'\n              - '!ansible_collections/arista/avd/molecule/cvp_configlet_upload/*'\n              - '!ansible_collections/arista/avd/molecule/cvp_configlet_upload/**/*'\n            config_gen:\n              - 'ansible_collections/arista/avd/roles/eos_cli_config_gen/*'\n              - 'ansible_collections/arista/avd/roles/eos_cli_config_gen/**/*'\n              - '.github/workflows/pull-request-management.yml'\n              - 'ansible_collections/arista/avd/molecule/eos_cli_config_gen*/*'\n              - 'ansible_collections/arista/avd/molecule/eos_cli_config_gen*/**/*'\n            validate_state:\n              - 'ansible_collections/arista/avd/roles/eos_validate_state/*'\n              - 'ansible_collections/arista/avd/roles/eos_validate_state/**/*'\n            cloudvision:\n              - 'ansible_collections/arista/avd/roles/eos_config_deploy_cvp/*'\n              - 'ansible_collections/arista/avd/roles/eos_config_deploy_cvp/**/*'\n              - 'ansible_collections/arista/avd/molecule/cvp_configlet_upload/*'\n              - 'ansible_collections/arista/avd/molecule/cvp_configlet_upload/**/*'\n              - '.github/workflows/pull-request-management.yml'\n            dhcp:\n              - 'ansible_collections/arista/avd/roles/dhcp_provisioner/*'\n              - 'ansible_collections/arista/avd/roles/dhcp_provisioner/**/*'\n              - '.github/workflows/pull-request-management.yml'\n            plugins:\n              - 'ansible_collections/arista/avd/plugins/filter/**'\n              - 'ansible_collections/arista/avd/plugins/test/**'\n            requirements:\n              - 'ansible_collections/arista/avd/requirements.txt'\n              - 'ansible_collections/arista/avd/requirements-dev.txt'\n              - 'ansible_collections/arista/avd/meta/runtime.yml'\n              - '.github/workflows/pull-request-management.yml'\n            docs:\n              - '.github/workflows/pull-request-management.yml'\n              - 'mkdocs.yml'\n              - 'ansible_collections/arista/avd/docs/**'\n              - 'ansible_collections/arista/avd/roles/**/*.md'\n              - 'ansible_collections/arista/avd/**/*.md'\n              - 'ansible_collections/arista/avd/README.md'\n              - 'ansible_collections/arista/avd/**/*.schema.yml'\n            pyavd:\n              - 'python_avd/*'\n              - 'python_avd/**/*'\n  # ----------------------------------- #\n  # Pre Commit code validation\n  # ----------------------------------- #\n  pre_commit:\n    name: Run pre-commit validation hooks\n    runs-on: ubuntu-latest\n    needs: file-changes\n    if: needs.file-changes.outputs.eos_design == 'true' || needs.file-changes.outputs.config_gen == 'true' || needs.file-changes.outputs.requirements == 'true'\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install requirements\n        run: |\n          pip install -r ansible_collections/arista/avd/requirements-dev.txt --upgrade\n          pip install -r ansible_collections/arista/avd/requirements.txt --upgrade\n      - name: Run pre-commit\n        run: |\n          pre-commit run --all-files --color always\n\n  # ----------------------------------- #\n  # Check Links  offline for dead target\n  # ----------------------------------- #\n  offline_link_check:\n    name: 'Validate mkdoc content'\n    runs-on: ubuntu-latest\n    needs: [ file-changes ]\n    if: needs.file-changes.outputs.docs == 'true'\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v3\n      - name: 'Start docker-compose stack'\n        run: |\n          docker-compose -f development/docker-compose.yml up -d webdoc_avd\n          docker-compose -f development/docker-compose.yml ps\n      - name: 'Test connectivity to mkdoc server'\n        run: |\n          bash -c 'while [[ \"$(curl -s -o /dev/null -w ''%{http_code}'' 127.0.0.1:8000)\" != \"200\" ]]; do sleep 5; done'\n      - name: Check links for 404\n        run: |\n          docker run --network container:webdoc_avd raviqqe/muffet:2.9.3 http://127.0.0.1:8000/ -e \".*fonts.googleapis.com.*\" -e \".*fonts.gstatic.com.*\" -e \".*tools.ietf.org.*\" -e \".*edit.*\" -e \".*docs.github.com.*\" -e \"twitter.com\" -e \"www.docker.com\" -e \"hub.docker.com\" -f --max-redirections=3 --timeout=30 --rate-limit=1 --buffer-size 8192\n      - name: 'Stop docker-compose stack'\n        run: |\n          docker-compose -f development/docker-compose.yml down\n\n  # ----------------------------------- #\n  # Test Requirements\n  # ----------------------------------- #\n  python_requirements:\n    name: Test Python requirements installation\n    runs-on: ubuntu-latest\n    needs: [ pre_commit ]\n    if: needs.file-changes.outputs.requirements == 'true'\n    strategy:\n      fail-fast: true\n      matrix:\n        python_version: [ \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Set up Python 3\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: 'Install Python requirements'\n        run: |\n          pip install -r ansible_collections/arista/avd/requirements.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade\n\n  # ----------------------------------- #\n  # EOS CLI CONFIG GEN MOLECULE\n  # ----------------------------------- #\n  molecule_eos_cli_config_gen:\n    name: Validate eos_cli_config_gen\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        avd_scenario:\n          - 'eos_cli_config_gen'\n          - 'eos_cli_config_gen_deprecated_vars'\n          - 'eos_cli_config_gen_negative_unit_tests'\n        ansible_version:\n          - 'ansible-core<2.17.0 --upgrade'\n        # Also test minimum ansible version for one scenario.\n        include:\n          - avd_scenario: 'eos_cli_config_gen'\n            ansible_version: 'ansible-core==2.14.0'\n    needs: [ pre_commit ]\n    if: needs.file-changes.outputs.config_gen == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Run molecule action\n        uses: arista-netdevops-community/action-molecule-avd@v1.7\n        with:\n          molecule_parentdir: 'ansible_collections/arista/avd'\n          molecule_command: 'test'\n          molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'\n          pip_file: ansible_collections/arista/avd/requirements.txt\n          galaxy_file: \"ansible_collections/arista/avd/collections.yml\"\n          ansible: ${{ matrix.ansible_version }}\n          check_git: true\n          check_git_enforced: true\n      # - uses: actions/upload-artifact@v3\n      #   with:\n      #     name: molecule-${{ matrix.avd_scenario }}-artifacts\n      #     path: ${PWD}/ansible_collections/arista/avd/molecule/${{ matrix.avd_scenario }}\n\n  # ----------------------------------- #\n  # DHCP PROVISIONNER MOLECULE\n  # ----------------------------------- #\n  molecule_dhcp_provisionner:\n    name: Validate DHCP configuration\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        avd_scenario: ['dhcp_configuration', 'dhcp_provisioning']\n        ansible_version: ['ansible-core<2.17.0 --upgrade']\n    needs: [ pre_commit ]\n    if: needs.file-changes.outputs.dhcp == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Run molecule action\n        uses: arista-netdevops-community/action-molecule-avd@v1.7\n        with:\n          molecule_parentdir: 'ansible_collections/arista/avd'\n          molecule_command: 'test'\n          molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'\n          pip_file: ansible_collections/arista/avd/requirements.txt\n          galaxy_file: \"ansible_collections/arista/avd/collections.yml\"\n          ansible: ${{ matrix.ansible_version }}\n          check_git: true\n          check_git_enforced: true\n      # - uses: actions/upload-artifact@v3\n      #   with:\n      #     name: molecule-${{ matrix.avd_scenario }}-artifacts\n      #     path: ${PWD}/ansible_collections/arista/avd/molecule/${{ matrix.avd_scenario }}\n\n  # ----------------------------------- #\n  # EOS Design MOLECULE\n  # ----------------------------------- #\n  molecule_eos_designs:\n    name: Validate eos_designs\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        avd_scenario:\n          - 'eos_designs_deprecated_vars'\n          - 'eos_designs-l2ls'\n          - 'eos_designs-mpls-isis-sr-ldp'\n          - 'eos_designs_negative_unit_tests'\n          - 'eos_designs-twodc-5stage-clos'\n          - 'eos_designs_unit_tests'\n          - 'evpn_underlay_ebgp_overlay_ebgp'\n          - 'evpn_underlay_isis_overlay_ibgp'\n          - 'evpn_underlay_ospf_overlay_ebgp'\n          - 'evpn_underlay_rfc5549_overlay_ebgp'\n          - 'example-campus-fabric'\n          - 'example-dual-dc-l3ls'\n          - 'example-isis-ldp-ipvpn'\n          - 'example-l2ls-fabric'\n          - 'example-single-dc-l3ls'\n        ansible_version:\n          - 'ansible-core<2.17.0 --upgrade'\n        # Also test minimum ansible version for one scenario.\n        include:\n          - avd_scenario: 'eos_designs_unit_tests'\n            ansible_version: 'ansible-core==2.14.0'\n          - avd_scenario: 'eos_designs_unit_tests'\n            ansible_version: 'ansible-core>=2.14.0,<2.15.0 --upgrade'\n          - avd_scenario: 'eos_designs_unit_tests'\n            ansible_version: 'ansible-core>=2.15.0,<2.16.0 --upgrade'\n    needs: [ pre_commit ]\n    if: needs.file-changes.outputs.eos_design == 'true' || needs.file-changes.outputs.config_gen == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Run molecule action\n        uses: arista-netdevops-community/action-molecule-avd@v1.7\n        with:\n          molecule_parentdir: 'ansible_collections/arista/avd'\n          molecule_command: 'test'\n          molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'\n          pip_file: ansible_collections/arista/avd/requirements.txt\n          galaxy_file: \"ansible_collections/arista/avd/collections.yml\"\n          ansible: ${{ matrix.ansible_version }}\n          check_git: true\n          check_git_enforced: true\n      # - uses: actions/upload-artifact@v3\n      #   with:\n      #     name: molecule-${{ matrix.avd_scenario }}-artifacts\n      #     path: ${PWD}/ansible_collections/arista/avd/molecule/${{ matrix.avd_scenario }}\n  # ----------------------------------- #\n  # Cloudvision MOLECULE\n  # ----------------------------------- #\n  molecule_cloudvision:\n    name: Validate cvp_collection\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        avd_scenario:\n          - 'eos_config_deploy_cvp'\n        ansible_version:\n          - 'ansible-core<2.17.0 --upgrade'\n        include:\n          - avd_scenario: 'eos_config_deploy_cvp'\n            ansible_version: 'ansible-core==2.14.0'\n    needs: [ pre_commit ]\n    if: needs.file-changes.outputs.cloudvision == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Run molecule action\n        uses: arista-netdevops-community/action-molecule-avd@v1.7\n        with:\n          molecule_parentdir: 'ansible_collections/arista/avd'\n          molecule_command: 'test'\n          molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'\n          pip_file: ansible_collections/arista/avd/requirements.txt\n          galaxy_file: \"ansible_collections/arista/avd/collections.yml\"\n          ansible: ${{ matrix.ansible_version }}\n          check_git: true\n          check_git_enforced: true\n      # - uses: actions/upload-artifact@v3\n      #   with:\n      #     name: molecule-${{ matrix.avd_scenario }}-artifacts\n      #     path: ${PWD}/ansible_collections/arista/avd/molecule/${{ matrix.avd_scenario }}\n      #\n  # ----------------------------------- #\n  # EOS Validate State MOLECULE\n  # ----------------------------------- #\n  molecule_eos_validate_state:\n    name: Validate eos_validate_state\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        avd_scenario:\n          - 'eos_validate_state'\n        ansible_version:\n          - 'ansible-core<2.17.0 --upgrade'\n        include:\n          - avd_scenario: 'eos_validate_state'\n            ansible_version: 'ansible-core==2.14.0'\n    needs: [ pre_commit ]\n    if: needs.file-changes.outputs.eos_design == 'true' || needs.file-changes.outputs.validate_state == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Run molecule action\n        uses: arista-netdevops-community/action-molecule-avd@v1.7\n        with:\n          molecule_parentdir: 'ansible_collections/arista/avd'\n          molecule_command: 'test'\n          molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'\n          # Temporarily using special requirements to install anta while the feature is in preview.\n          pip_file: ansible_collections/arista/avd/roles/eos_validate_state/preview_requirements.txt\n          galaxy_file: \"ansible_collections/arista/avd/collections.yml\"\n          ansible: ${{ matrix.ansible_version }}\n          check_git: true\n          check_git_enforced: true\n\n  # ----------------------------------- #\n  # Ansible tests\n  # ----------------------------------- #\n  ansible_test_sanity:\n    name: Run ansible-test sanity validation\n    runs-on: ubuntu-latest\n    needs: [ pre_commit ]\n    #needs: [ molecule_eos_designs, molecule_cloudvision ]\n    #if: needs.cloudvision.status != 'failed' && needs.molecule_eos_designs.status != 'failed' && needs.file-changes.outputs.plugins == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Set up Python 3\n        uses: actions/setup-python@v4\n        with:\n          python-version: |\n            3.10\n            3.11\n            3.12\n      - name: 'Install Python requirements'\n        run: |\n          pip install -r ansible_collections/arista/avd/requirements.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade\n      - name: 'Run ansible-test sanity'\n        run: |\n          cd ansible_collections/arista/avd/\n          ansible-test sanity --color yes -v --requirements --docker\n\n  ansible_test_units:\n    name: Run ansible-test units test cases\n    runs-on: ubuntu-latest\n    needs: [ pre_commit ]\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Set up Python 3\n        uses: actions/setup-python@v4\n        with:\n          python-version: |\n            3.10\n            3.11\n            3.12\n      - name: 'Install Python requirements'\n        run: |\n          pip install -r ansible_collections/arista/avd/requirements.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade\n      - name: 'Run ansible-test units test cases'\n        run: |\n          cd ansible_collections/arista/avd/\n          ansible-test units --requirements --docker -vv\n\n  ansible_test_integration:\n    name: Run ansible-test integration test cases\n    runs-on: ubuntu-latest\n    needs: [ pre_commit ]\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Set up Python 3\n        uses: actions/setup-python@v4\n        with:\n          python-version: |\n            3.10\n            3.11\n            3.12\n      - name: 'Install Python requirements'\n        run: |\n          pip install -r ansible_collections/arista/avd/requirements.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade\n      - name: 'Run ansible-test integration test cases'\n        run: |\n          cd ansible_collections/arista/avd/\n          ansible-test integration --requirements --docker -vv\n\n  ansible_lint:\n    name: Run ansible-lint test case\n    runs-on: ubuntu-latest\n    needs: [ pre_commit ]\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Set up Python 3\n        uses: actions/setup-python@v4\n        with:\n          python-version: |\n            3.10\n            3.11\n            3.12\n      - name: 'Install Python & Ansible requirements'\n        run: |\n          pip install -r ansible_collections/arista/avd/requirements.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade\n          ansible-galaxy collection install -r ansible_collections/arista/avd/collections.yml\n      - name: 'Run ansible-test integration test cases'\n        run: |\n          cd ansible_collections/arista/avd/\n          ansible-lint --force-color --strict -v\n  # ----------------------------------- #\n  # Galaxy Importer\n  # ----------------------------------- #\n  galaxy_importer:\n    name: Test galaxy-importer\n    runs-on: ubuntu-20.04 # Older version to be compatible with old python\n    env:\n      PY_COLORS: 1 # allows molecule colors to be passed to GitHub Actions\n      ANSIBLE_FORCE_COLOR: 1 # allows ansible colors to be passed to GitHub Actions\n      GALAXY_IMPORTER_CONFIG: galaxy-importer/galaxy-importer.cfg\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.6 # Ancient version to match galaxy.ansible.com.\n      - uses: actions/checkout@v3\n      - name: Install requirements\n        # Install the specific version of galaxy-importer used on galaxy.ansible.com\n        # The old version conflicts with our versions of other tooling,\n        # so we let the galaxy-importer version resolve remaining requirements.\n        run: |\n          pip install \"galaxy-importer==0.4.0.post1\"\n      - name: 'Build ansible package'\n        run: make collection-build\n      - name: 'Run galaxy-importer checks'\n        run: python -m galaxy_importer.main *.tar.gz\n      - uses: actions/upload-artifact@v3\n        with:\n          name: importer-logs\n          path: ./importer_result.json\n\n  # ----------------------------------- #\n  # Test of pyavd\n  # ----------------------------------- #\n  pyavd:\n    name: Test pyavd\n    runs-on: ubuntu-latest\n    needs: [ pre_commit ]\n    if: |\n      needs.file-changes.outputs.eos_design == 'true' ||\n      needs.file-changes.outputs.config_gen == 'true' ||\n      needs.file-changes.outputs.pyavd == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v3\n      - name: Set up Python 3\n        uses: actions/setup-python@v4\n        with:\n          python-version: |\n            3.10\n            3.11\n            3.12\n      - name: 'Install tox'\n        run: |\n          pip install tox --upgrade\n      - name: 'Run tox'\n        working-directory: python-avd\n        run: |\n          tox\n", "state": "active", "repository": "aristanetworks/ansible-avd"}
{"mined_at": "2024-07-15T18:05:15.653358", "created_at": "2021-09-27T08:18:44+02:00", "updated_at": "2021-09-27T08:18:44+02:00", "name": "PR Conflicts checker", "path": ".github/workflows/pull-request-conflict.yml", "contents": "name: \"PR Conflicts checker\"\non:\n  pull_request_target:\n    types: [synchronize]\n\njobs:\n  Conflict_Check:\n    name: 'Check PR status: conflicts and resolution'\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check if PRs are dirty\n        uses: eps1lon/actions-label-merge-conflict@releases/2.x\n        with:\n          dirtyLabel: \"state: conflict\"\n          removeOnDirtyLabel: \"state: conflict resolved\"\n          repoToken: \"${{ secrets.GITHUB_TOKEN }}\"\n          commentOnDirty: \"This pull request has conflicts, please resolve those before we can evaluate the pull request.\"\n          commentOnClean: \"Conflicts have been resolved. A maintainer will review the pull request shortly.\"\n", "state": "active", "repository": "aristanetworks/ansible-avd"}
{"mined_at": "2024-07-15T18:05:16.982552", "created_at": "2021-09-27T08:18:44+02:00", "updated_at": "2021-09-27T08:18:44+02:00", "name": "Pull Request Triage", "path": ".github/workflows/pull-request-triage.yml", "contents": "name: \"Pull Request Triage\"\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n      - ready_for_review\n\njobs:\n  ###################################################\n  # Basic Triage\n  ###################################################\n  pr_triage:\n    name: \"PR Labeller\"\n    # https://github.com/actions/labeler\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/labeler@v4\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          configuration-path: '.github/labeler.yml'\n          sync-labels: true\n  assign_author:\n    name: \"Assign Author to PR\"\n    # https://github.com/marketplace/actions/auto-author-assign\n    runs-on: ubuntu-latest\n    steps:\n      - uses: toshimaru/auto-author-assign@v1.6.1\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n  ###################################################\n  # Check Conventional Commit Syntax\n  ###################################################\n  Check_PR_semantic:\n    runs-on: ubuntu-latest\n    steps:\n      # Please look up the latest version from\n      # https://github.com/amannn/action-semantic-pull-request/releases\n      - uses: amannn/action-semantic-pull-request@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          # Configure which types are allowed.\n          # Default: https://github.com/commitizen/conventional-commit-types\n          # Updated as part of PR 1930\n          types: |\n            Feat\n            Fix\n            Cut\n            Doc\n            CI\n            Bump\n            Test\n            Refactor\n            Revert\n          # Configure which scopes are allowed.\n          scopes: |\n            build_output_folders\n            cvp_configlet_upload\n            dhcp_provisioner\n            eos_cli_config_gen\n            eos_config_deploy_cvp\n            eos_config_deploy_eapi\n            eos_designs\n            eos_snapshot\n            eos_validate_state\n            plugins\n            requirements\n            pyavd\n            containers\n          # Configure that a scope must always be provided.\n          requireScope: false\n          # Configure additional validation for the subject based on a regex.\n          # This example ensures the subject doesn't start with an uppercase character.\n          # subjectPattern: ^(?![A-Z]).+$\n          # If `subjectPattern` is configured, you can use this property to override\n          # the default error message that is shown when the pattern doesn't match.\n          # The variables `subject` and `title` can be used within the message.\n          subjectPatternError: |\n            The subject \"{subject}\" found in the pull request title \"{title}\"\n            didn't match the configured pattern. Please ensure that the subject\n            doesn't start with an uppercase character.\n          # When using \"Squash and merge\" on a PR with only one commit, GitHub\n          # will suggest using that commit message instead of the PR title for the\n          # merge commit, and it's easy to commit this by mistake. Enable this option\n          # to also validate the commit message for one commit PRs.\n          # Update 13-Jul-2022 CH: GitHub now offers a toggle for this behavior.\n          # We have set that to always use the PR title, so this check is no longer needed.\n          validateSingleCommit: false\n", "state": "active", "repository": "aristanetworks/ansible-avd"}
{"mined_at": "2024-07-15T18:05:18.442361", "created_at": "2022-09-12T10:52:49+02:00", "updated_at": "2022-09-12T10:52:49+02:00", "name": "Label for Release Notes", "path": ".github/workflows/pull-request-rn-labeler.yml", "contents": "# This workflow is triggered after a PR is merged or when the title of a PR is\n# changed post merge\nname: \"Label for Release Notes\"\n\n\non:\n  pull_request_target:\n    types:\n      - closed\n      - edited # interested in post merge title changes\n\njobs:\n  ###################################################\n  # Assign labels on merge to generate Release Notes\n  # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-your-workflow-when-a-pull-request-merges\n  ###################################################\n  if_merged:\n    name: \"PR was merged\"\n    if: (github.event.pull_request.merged == true) && ( github.event.action == 'closed' || (github.event.action == 'edited' && github.event.changes.title != null) )\n    runs-on: ubuntu-latest\n    env:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/actions/rn-pr-labeler-action\n        with:\n          auto_create_label: true\n", "state": "active", "repository": "aristanetworks/ansible-avd"}
{"mined_at": "2024-07-15T18:05:19.749256", "created_at": "2023-11-09T14:41:05+01:00", "updated_at": "2023-11-09T14:41:05+01:00", "name": "Build base container", "path": ".github/workflows/container_build_base.yml", "contents": "---\nname: Build base container\n\non:\n  push:\n    branches:\n      - devel\n    paths:\n      - containers/base/**\n      - .github/workflows/container_build_template.yml\n      - .github/workflows/container_build_base.yml\n  workflow_dispatch:\n    branches:\n      - devel\n\njobs:\n  build_base:\n    if: github.repository == 'aristanetworks/ansible-avd'\n    uses: ./.github/workflows/container_build_template.yml\n    strategy:\n      matrix:\n        container_name: [base]\n        python_version: [\"3.9\", \"3.10\", \"3.11\"]\n        include:\n          - python_version: \"3.11\"\n            container_tags: latest\n    with:\n      container_name: ${{ matrix.container_name }}\n      python_version: ${{ matrix.python_version }}\n      container_tags: ${{ matrix.container_tags }}\n", "state": "active", "repository": "aristanetworks/ansible-avd"}
{"mined_at": "2024-07-15T18:05:21.182998", "created_at": "2023-11-09T14:41:05+01:00", "updated_at": "2023-11-09T14:41:05+01:00", "name": "Build dev container", "path": ".github/workflows/container_build_dev.yml", "contents": "---\nname: Build dev container\n\non:\n  push:\n    branches:\n      - devel\n    paths:\n      - containers/dev/**\n      - .github/workflows/container_build_template.yml\n      - .github/workflows/container_build_dev.yml\n  workflow_dispatch:\n    branches:\n      - devel\n\njobs:\n  build_dev_container:\n    if: github.repository == 'aristanetworks/ansible-avd'\n    uses: ./.github/workflows/container_build_template.yml\n    strategy:\n      matrix:\n        container_name: [dev]\n        python_version: [\"3.9\", \"3.10\", \"3.11\"]\n        include:\n          - python_version: \"3.11\"\n            container_tags: latest\n    with:\n      container_name: ${{ matrix.container_name }}\n      python_version: ${{ matrix.python_version }}\n      container_tags: ${{ matrix.container_tags }}\n", "state": "active", "repository": "aristanetworks/ansible-avd"}
{"mined_at": "2024-07-15T18:05:22.720871", "created_at": "2023-11-09T14:41:05+01:00", "updated_at": "2023-11-09T14:41:05+01:00", "name": "Reusable build container workflow", "path": ".github/workflows/container_build_template.yml", "contents": "---\n# This workflow file is the template\n# that will be triggered by specific container build workflows.\n\nname: Reusable build container workflow\n\nenv:\n  # BUILDX_NO_DEFAULT_ATTESTATIONS must be set to build only arm64 and amd64 images.\n  # The devcontainers/ci@v0.3 build will fail if this env variable is not set.\n  BUILDX_NO_DEFAULT_ATTESTATIONS: 1\n\non:\n  workflow_call:\n    inputs:\n      # Container name, e.g. \"base\", \"dev\", etc.\n      container_name:\n        required: true\n        type: string\n      # Container tags, e.g. \"latest,python3.11\" or \"latest,python3.11-avd4.1.0\".\n      # Container tags are optional as they are auto-generated if not provided.\n      container_tags:\n        required: false\n        type: string\n      # Platform, e.g. \"linux/amd64\", \"linux/arm64/v8\".\n      # \"default\" is just fine if there is no intention to release a special build.\n      platform:\n        required: false\n        type: string\n        default: linux/arm64/v8,linux/amd64\n      # From image, e.g. \"python\", \"alpine\", etc.\n      # Currently we only support python-slim, so this is a future knob.\n      from_image:\n        required: false\n        type: string\n        default: python\n      # From variant, e.g. \"3.11-slim-bullseye\".\n      # This is auto-generated for python-slim based builds.\n      # Only specify for special builds.\n      from_variant:\n        required: false\n        type: string\n      username:\n        required: false\n        type: string\n        default: avd\n      user_id:\n        required: false\n        type: string\n        default: 1000\n      group_id:\n        required: false\n        type: string\n        default: 1000\n      python_version:\n        required: true\n        type: string\n\njobs:\n  build_image:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Starting container build\n        run: echo \"Starting container build. Be patient. 🐢\"\n      - name: Checkout code ✅\n        uses: actions/checkout@v4\n      # Build image tags based on Python version and AVD version (if defined).\n      # If container_tags is not defined, then image_tags will be auto-generated.\n      # If container_tags is latest, it will be added to auto-generated image_tags.\n      # If container_tags is defined and not latest, it will be used as-is.\n      - name: Build image tags 🏷️\n        id: build-tags\n        run: |\n          if [ -z \"${{ inputs.container_tags }}\" ]; then\n            case ${{ inputs.container_name }} in\n              base)\n                echo \"image_tags=python${{ inputs.python_version }}\" >> $GITHUB_OUTPUT\n                ;;\n              dev)\n                echo \"image_tags=python${{ inputs.python_version }}\" >> $GITHUB_OUTPUT\n                ;;\n              *)\n                echo \"image_tags=python${{ inputs.python_version }}-avd-${{ github.ref_name }}\" >> $GITHUB_OUTPUT\n                ;;\n            esac\n          else\n            if [ \"${{ inputs.container_tags }}\" == \"latest\" ]; then\n              case ${{ inputs.container_name }} in\n                base)\n                  echo \"image_tags=latest,python${{ inputs.python_version }}\" >> $GITHUB_OUTPUT\n                  ;;\n                dev)\n                  echo \"image_tags=latest,python${{ inputs.python_version }}\" >> $GITHUB_OUTPUT\n                  ;;\n                *)\n                  echo \"image_tags=latest,python${{ inputs.python_version }}-avd-${{ github.ref_name }}\" >> $GITHUB_OUTPUT\n                  ;;\n              esac\n            else\n              echo \"image_tags=${{ inputs.container_tags }}\" >> $GITHUB_OUTPUT\n            fi\n          fi\n\n      - name: Generate from_image and from_variant parameters 🐍\n        id: generate-from-parameters\n        # Logic:\n        # 1) Only python-slim images are supported at the moment.\n        # 2) Base image must be built first from official python image.\n        # 3) All other images will be built from the base image.\n        # 4) \"from_image\" and \"from_variant\" can be passed transparently to the build step,\n        #    but that is not implemented currently.\n        run: |\n          if [ \"${{ inputs.from_image }}\" == \"python\" ]; then\n            if [ \"${{ inputs.container_name }}\" == \"base\" ]; then\n              echo \"from_image=${{ inputs.from_image }}\" >> $GITHUB_OUTPUT\n              echo \"from_variant=${{ inputs.python_version }}-slim-bullseye\" >> $GITHUB_OUTPUT\n            else\n              echo \"from_image=ghcr.io/${{ github.repository }}/base\" >> $GITHUB_OUTPUT\n              echo \"from_variant=python${{ inputs.python_version }}\" >> $GITHUB_OUTPUT\n            fi\n          else\n            echo \"Only python-slim images are supported at the moment. Exiting.\"\n            exit 1\n          fi\n\n      - name: Find ansible-core version 🔥\n        id: find-ansible-core-version\n        run: |\n          ANSIBLE_CORE_VERSION=$(cat ansible_collections/arista/avd/requirements-dev.txt| grep ansible-core)\n          echo \"ansible_core_version=$ANSIBLE_CORE_VERSION\" >> $GITHUB_OUTPUT\n\n      - name: Find ansible install location\n        id: find-ansible-install-location\n        run: |\n          ANSIBLE_INSTALL_LOCATION=\"git+https://github.com/${{ github.repository }}.git#/ansible_collections/arista/avd/,${{ github.ref_name }}\"\n          echo \"ansible_install_location=$ANSIBLE_INSTALL_LOCATION\" >> $GITHUB_OUTPUT\n\n      # This check is temporarily deactivated, will be rewised in later PRs\n      #\n      # - name: Check if image is already present\n      #   # this step will check if image was already pushed before to avoid re-writing\n      #   # also if it's not a base image, this step will verify presence of the corresponding base image\n      #   id: check-image-presence\n      #   run: |\n      #     echo \"not_present=0\" >> $GITHUB_OUTPUT\n      #     for tag in $(echo ${{ steps.build-tags.outputs.image_tags }} | sed \"s/,/ /g\")\n      #     do\n      #       ( docker manifest inspect ghcr.io/${{ github.repository }}/${{ inputs.container_name }}:${tag} &>/dev/null ) || echo \"not_present=1\" >> $GITHUB_OUTPUT\n      #     done\n      #     # check if base image is present\n      #     if [ \"${{ inputs.container_name }}\" != \"base\" ]; then\n      #       echo \"Verifying if base image is present...\"\n      #       docker manifest inspect ghcr.io/${{ github.repository }}/base:python${{ inputs.python_version }} >/dev/null\n      #     fi\n\n      - name: Setup QEMU for multi-arch builds 🏗️\n        # if: ${{ steps.check-image-presence.outputs.not_present == '1' }}\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: ${{ inputs.platform }}\n\n      - name: Setup Docker buildX for multi-arch builds 🏗️\n        # if: ${{ steps.check-image-presence.outputs.not_present == '1' }}\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker Hub 🗝️\n        # if: ${{ steps.check-image-presence.outputs.not_present == '1' }}\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pre-build dev container image 🔨\n        # if: ${{ steps.check-image-presence.outputs.not_present == '1' }}\n        uses: devcontainers/ci@v0.3\n        env:\n          FROM_IMAGE: ${{ steps.generate-from-parameters.outputs.from_image }}\n          FROM_VARIANT: ${{ steps.generate-from-parameters.outputs.from_variant }}\n          ANSIBLE_INSTALL_LOCATION: ${{ steps.find-ansible-install-location.outputs.ansible_install_location }}\n          ANSIBLE_CORE_VERSION: ${{ steps.find-ansible-core-version.outputs.ansible_core_version }}\n          USERNAME: ${{ inputs.username }}\n          UID: ${{ inputs.user_id }}\n          GID: ${{ inputs.group_id }}\n        with:\n          subFolder: containers/${{ inputs.container_name }}\n          imageName: ghcr.io/${{ github.repository }}/${{ inputs.container_name }}\n          imageTag: ${{ steps.build-tags.outputs.image_tags }}\n          platform: ${{ inputs.platform }}\n          push: always\n", "state": "active", "repository": "aristanetworks/ansible-avd"}
{"mined_at": "2024-07-15T18:05:24.152792", "created_at": "2023-11-10T13:53:50+01:00", "updated_at": "2024-06-07T12:46:25+02:00", "name": "Build universal container", "path": ".github/workflows/container_build_universal.yml", "contents": "---\nname: Build universal container\n\non:\n  push:\n    branches:\n      - devel\n    paths:\n      - containers/universal/**\n      - .github/workflows/container_build_template.yml\n      - .github/workflows/container_build_universal.yml\n  workflow_dispatch:\n    branches:\n      - devel\n  release:\n    types: [published, prereleased]\n\njobs:\n  build_universal_container:\n    if: github.repository == 'aristanetworks/ansible-avd'\n    uses: ./.github/workflows/container_build_template.yml\n    strategy:\n      matrix:\n        container_name: [universal]\n        python_version: [\"3.9\", \"3.10\", \"3.11\"]\n        include:\n          - python_version: \"3.11\"\n            container_tags: latest\n    with:\n      container_name: ${{ matrix.container_name }}\n      python_version: ${{ matrix.python_version }}\n      container_tags: ${{ matrix.container_tags }}\n", "state": "active", "repository": "aristanetworks/ansible-avd"}
{"mined_at": "2024-07-15T18:05:25.557673", "created_at": "2024-02-13T22:37:24+01:00", "updated_at": "2024-04-29T13:01:06+02:00", "name": "CV integration testing", "path": ".github/workflows/new-cvp-integration.yml", "contents": null, "state": "active", "repository": "aristanetworks/ansible-avd"}
{"mined_at": "2024-07-15T18:05:26.807298", "created_at": "2024-04-03T14:35:30+02:00", "updated_at": "2024-04-03T14:35:30+02:00", "name": "Check links offline for dead targets", "path": ".github/workflows/offline-links-check.yml", "contents": null, "state": "active", "repository": "aristanetworks/ansible-avd"}
{"mined_at": "2024-07-15T18:05:28.139073", "created_at": "2024-05-10T15:42:13+02:00", "updated_at": "2024-05-10T16:01:31+02:00", "name": "Pull Request Comment", "path": ".github/workflows/pull-request-comment.yml", "contents": null, "state": "active", "repository": "aristanetworks/ansible-avd"}
{"mined_at": "2024-07-15T18:05:31.366749", "created_at": "2024-02-13T16:15:34+01:00", "updated_at": "2024-02-13T17:56:42+01:00", "name": "Lint Commit Messages", "path": ".github/workflows/commitlint.yml", "contents": "name: Lint Commit Messages\non: [pull_request]\n\npermissions:\n  contents: read\n  pull-requests: read\n\njobs:\n  commitlint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: wagoid/commitlint-github-action@v5\n", "state": "active", "repository": "antaressimulatorteam/antarest"}
{"mined_at": "2024-07-15T18:05:32.446733", "created_at": "2020-10-16T13:53:14+02:00", "updated_at": "2024-06-18T14:35:09+02:00", "name": "deploy", "path": ".github/workflows/deploy.yml", "contents": "name: deploy\non:\n  push:\n    branches:\n      - \"master\"\n      - \"hotfix/**\"\n\njobs:\n  binary:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 3\n      matrix:\n        os: [ windows-latest, ubuntu-20.04, ubuntu-22.04]\n\n    steps:\n      - name: 🐙 Checkout GitHub repo (+ download lfs dependencies)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: 🔗 Install wget for Windows\n        if: matrix.os == 'windows-latest'\n        run: choco install wget --no-progress\n\n      - name: 💚 Set up Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: 18.16.1\n\n      - name: 💚 Install dependencies\n        run: npm install\n        working-directory: webapp\n\n      - name: 💚 Build webapp\n        run: bash ./build-front.sh\n        working-directory: scripts\n        env:\n          NODE_OPTIONS: --max-old-space-size=8192\n\n      - name: 🐍 Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: 🐍 Install development dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pydantic --no-binary pydantic\n          pip install -r requirements-dev.txt\n\n      - name: 🐍 Install Windows dependencies\n        if: matrix.os == 'windows-latest'\n        run: pip install -r requirements-windows.txt\n\n      - name: 📦 Packaging\n        run: bash ./package_antares_web.sh\n        working-directory: scripts\n\n      - name: 📜 Install changelog requirements\n        run: npm install -g auto-changelog\n\n      - name: 📜️ Generate changelog file\n        run: |\n          auto-changelog -l false --hide-empty-releases\n          mv CHANGELOG.md dist/package/CHANGELOG.md\n\n      - name: 📦 Archive Antares Desktop for Windows\n        if: matrix.os == 'windows-latest'\n        run: 7z a AntaresWeb.zip *\n        working-directory: dist/package\n\n      - name: 📦 Archive Antares Desktop for Ubuntu\n        # this is the only way to preserve file permission and symlinks\n        if: matrix.os != 'windows-latest'\n        run: zip -r --symlinks AntaresWeb.zip *\n        working-directory: dist/package\n\n      - name: 🚀 Upload binaries\n        uses: actions/upload-artifact@v4\n        with:\n          name: AntaresWeb-${{ matrix.os }}-pkg\n          path: dist/package/AntaresWeb.zip\n", "state": "active", "repository": "antaressimulatorteam/antarest"}
{"mined_at": "2024-07-15T18:05:33.676893", "created_at": "2020-10-01T15:01:15+02:00", "updated_at": "2020-10-06T11:39:05+02:00", "name": "main", "path": ".github/workflows/main.yml", "contents": "name: main\non:\n  push:\n    branches:\n      - \"**\"\n\njobs:\n  python-lint:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Checkout github repo (+ download lfs dependencies)\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n      - uses: isort/isort-action@master\n        with:\n          sort-paths: antarest, tests\n          requirementsFiles: \"requirements-dev.txt\"\n      - name: Check with black\n        uses: psf/black@stable\n        with:\n          # Version of Black should match the versions set in `requirements-dev.txt`\n          version: \"~=23.7.0\"\n          options: --check --diff\n      - name: Check Typing (mypy)\n        #continue-on-error: true\n        run: |\n          mypy --install-types --non-interactive\n\n  python-test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 9\n      matrix:\n        os: [ windows-latest, ubuntu-20.04 ]\n\n    steps:\n      - name: Checkout github repo (+ download lfs dependencies)\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n      - name: Test with pytest\n        run: |\n          pytest --cov antarest --cov-report xml\n      - name: Fix code coverage paths\n        if: matrix.os == 'ubuntu-20.04'\n        run: |\n          sed -i 's/\\/home\\/runner\\/work\\/AntaREST\\/AntaREST/\\/github\\/workspace/g' coverage.xml\n      - name: Archive code coverage results\n        if: matrix.os == 'ubuntu-20.04'\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-code-coverage-report\n          path: coverage.xml\n\n  npm-test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ ubuntu-20.04 ]\n    steps:\n      - name: Checkout github repo\n        uses: actions/checkout@v4\n      - name: Set up Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v3\n        with:\n          node-version: 18.16.1\n      - name: Install dependencies\n        run: npm install\n        working-directory: webapp\n      - name: Build\n        run: npm run build\n        working-directory: webapp\n        env:\n          NODE_OPTIONS: --max-old-space-size=8192\n          DISABLE_ESLINT_PLUGIN: true\n      - name: Lint\n        run: npm run lint\n        working-directory: webapp\n\n  sonarcloud:\n    runs-on: ubuntu-20.04\n    needs: [ python-test, npm-test ]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Download python coverage report\n        uses: actions/download-artifact@v4\n        with:\n          name: python-code-coverage-report\n      - name: SonarCloud Scan\n        uses: sonarsource/sonarcloud-github-action@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "antaressimulatorteam/antarest"}
{"mined_at": "2024-07-15T18:05:34.700442", "created_at": "2024-03-05T14:58:53+01:00", "updated_at": "2024-03-05T15:37:58+01:00", "name": "Release Changelog", "path": ".github/workflows/release-changelog.yml", "contents": null, "state": "active", "repository": "antaressimulatorteam/antarest"}
{"mined_at": "2024-07-15T18:05:35.928805", "created_at": "2024-06-13T18:42:01+02:00", "updated_at": "2024-06-17T23:52:41+02:00", "name": "worker", "path": ".github/workflows/worker.yml", "contents": "name: worker\non:\n  push:\n    branches:\n      - \"master\"\n      - \"worker/**\"\n\njobs:\n  binary:\n    runs-on: windows-latest\n\n    steps:\n      - name: 🐙 Checkout GitHub repo (+ download lfs dependencies)\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: 🐍 Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: 🐍 Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install pyinstaller==5.6.2\n\n      - name: 📦 Packaging AntaresWebWorker\n        run: bash ./package_worker.sh\n        working-directory: scripts\n\n      - name: 🚀 Upload binary\n        uses: actions/upload-artifact@v4\n        with:\n          name: AntaresWebWorker\n          path: dist/AntaresWebWorker.exe\n", "state": "active", "repository": "antaressimulatorteam/antarest"}
{"mined_at": "2024-07-15T18:05:36.921611", "created_at": "2023-12-21T18:29:00+01:00", "updated_at": "2023-12-21T18:29:00+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "antaressimulatorteam/antarest"}
{"mined_at": "2024-07-15T18:05:38.983728", "created_at": "2023-06-26T20:32:10+02:00", "updated_at": "2023-10-17T19:27:57+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "princeton-vl/infinigen"}
{"mined_at": "2024-07-15T18:05:40.229968", "created_at": "2023-10-17T19:27:57+02:00", "updated_at": "2023-12-14T00:35:01+01:00", "name": "Lint & Test", "path": ".github/workflows/checks.yml", "contents": "\nname: Lint & Test\n\non:\n  pull_request:\n    branches:\n    - main\n    - develop*\n  push:\n    branches:\n    - main\n    - develop*\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  INFINIGEN_INSTALL_TERRAIN: False\n  INFINIGEN_INSTALL_CUSTOMGT: False\n\njobs:\n\n  checks:\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Lint with ruff\n        run: |\n          pip install ruff\n          # stop the build if there are Python syntax errors or undefined names\n          ruff check --output-format=github --select=E9,F63,F7,F82 .\n          # default set of ruff rules with GitHub Annotations\n          #ruff --format=github . # to be enabled in a future PR\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install infinigen & dependencies\n        run: |\n          pip install .[dev]\n\n      - name: Test with pytest\n        run: |\n          pytest tests -k 'not skip_for_ci'", "state": "active", "repository": "princeton-vl/infinigen"}
{"mined_at": "2024-07-15T18:05:42.483071", "created_at": "2023-12-02T11:51:39+01:00", "updated_at": "2024-07-11T13:40:04+02:00", "name": "Auto Create Release", "path": ".github/workflows/auto_create_release.yml", "contents": "name: Auto Create Release\n\non:\n  push:\n    branches:\n      - \"v[0-9]+.[0-9]+.[0-9]+\"\n    paths:\n      - \"helm-charts/bk-dbm/Chart.yaml\"\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n    - id: checkout\n      name: Checkout\n      uses: actions/checkout@v4\n\n    - id: get-current-branch\n      name: Get current branch\n      run: |\n        git fetch --all --tags\n        current_branch=$(git branch --show-current)\n        echo \"current_branch=$current_branch\" >> $GITHUB_OUTPUT\n\n    - id: get-latest-tag\n      name: Get latest tag\n      run: |\n        git fetch --all --tags\n        latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)\n        echo \"latest_tag=$latest_tag\" >> $GITHUB_OUTPUT\n\n    - id: yaml-data\n      name: Run read-yaml action\n      uses: jbutcher5/read-yaml@main\n      with:\n        file: 'helm-charts/bk-dbm/Chart.yaml'\n        key-path: '[\"version\"]'\n\n    - id: create-tag\n      name: Create tag\n      uses: actions/github-script@v6\n      with:\n        script: |\n          // Create a lightweight tag\n          await github.rest.git.createRef({\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            ref: 'refs/tags/${{ steps.yaml-data.outputs.data }}',\n            sha: context.sha\n          });\n\n    - id: build-release-log\n      name: Build release log\n      uses: mikepenz/release-changelog-builder-action@v3.5.0\n      with:\n        # 参考：https://github.com/mikepenz/release-changelog-builder-action\n        configuration: \".github/configuration.json\"\n        commitMode: true\n        ignorePreReleases: false\n        fromTag: ${{ steps.get-latest-tag.outputs.latest_tag }}\n        toTag: ${{ steps.yaml-data.outputs.data }}\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    - id: create-release\n      name: Create release\n      uses: actions/create-release@latest\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        tag_name: ${{ steps.yaml-data.outputs.data }}\n        release_name: ${{ steps.yaml-data.outputs.data }}\n        body: ${{ steps.build-release-log.outputs.changelog }}\n        draft: false\n        prerelease: true\n\n    - id: cpr\n      name: Create Pull Request\n      uses: peter-evans/create-pull-request@v3\n      with:\n        token: \"${{ secrets.WORKFLOW_ACTION_TOKEN }}\"\n        title: 'chore: update medium.lock #1'\n        body: ''\n        branch: 'medium_lock'\n        base: '${{ steps.get-current-branch.outputs.current_branch }}'\n\n    - name: Auto Add Release File\n      id: add-release-file\n      env:\n        WORKFLOW_ACTION_TOKEN: ${{ secrets.WORKFLOW_ACTION_TOKEN }}\n      run: |\n        filename=\"dbm-ui/release/V${{ steps.yaml-data.outputs.data }}_$(date +%Y%m%d).md\"\n        echo -e \"## ${{ steps.yaml-data.outputs.data }} - $(date +%Y-%m-%d)\\n\\n\" > ${filename}\n        echo -e \"${{ steps.build-release-log.outputs.changelog }}\" >> ${filename}\n        sed -i -E 's/#([0-9]+)/[#\\1](https:\\/\\/github.com\\/TencentBlueKing\\/blueking-dbm\\/issues\\/\\1)/g' ${filename}\n        cat ${filename}\n        git config --global user.email 826035498@qq.com\n        git config --global user.name zhangzhw8\n        git remote add upstream https://$WORKFLOW_ACTION_TOKEN@github.com/TencentBlueKing/blueking-dbm\n        git remote -v\n        git status\n        git add ${filename}\n        git commit -m \"chore: release version ${{ steps.yaml-data.outputs.data }} #1\"\n        git status\n        git push --set-upstream upstream ${{ steps.get-current-branch.outputs.current_branch }}\n        git push\n", "state": "active", "repository": "tencentblueking/blueking-dbm"}
{"mined_at": "2024-07-15T18:05:43.711537", "created_at": "2023-05-31T12:00:25+02:00", "updated_at": "2023-05-31T12:00:25+02:00", "name": "Check Hard Code IP", "path": ".github/workflows/check_hard_code_ip.yml", "contents": "\nname: Check Hard Code IP\n\non: [workflow_dispatch, push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: Check hard code ip\n      run: |\n        RESULT=$(grep -nrE '\\b([0-9]{1,3}\\.){3}[0-9]{1,3}\\b' * | grep -v bs-cli_Darwin | grep -v poetry.lock | grep -vE '\\b[012345]\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}'  | grep -vE '127\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}' | grep -vE '192\\.168\\.[0-9]{1,3}\\.[0-9]{1,3}') || true\n        if [[ ${RESULT} == '' ]]; then\n          echo \"good job!\"\n        else\n          echo \"Hard code ip founded! Please remove it.\"\n          echo -e \"${RESULT}\"\n          exit 1\n        fi\n", "state": "active", "repository": "tencentblueking/blueking-dbm"}
{"mined_at": "2024-07-15T18:05:44.839738", "created_at": "2023-10-26T08:51:39+02:00", "updated_at": "2024-07-11T13:40:04+02:00", "name": "Commit Message Check", "path": ".github/workflows/commit_message_check.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Commit Message Check\n\non: [workflow_dispatch, push, pull_request]\n\njobs:\n  check-commit-message:\n    name: Check Commit Message\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check Commit Message\n        uses: gsactions/commit-message-checker@v2\n        with:\n          pattern: '^(feat|fix|perf|refactor|docs|test|style|chore)(\\(.+\\))?: .{1,100} #\\d+$'\n          error: 'Commit message is not standard.'\n          excludeDescription: 'true' # optional: this excludes the description body of a pull request\n          excludeTitle: 'true' # optional: this excludes the title of a pull request\n          checkAllCommitMessages: 'true' # optional: this checks all commits associated with a pull request\n          accessToken: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "tencentblueking/blueking-dbm"}
{"mined_at": "2024-07-15T18:05:45.964652", "created_at": "2023-05-31T12:00:26+02:00", "updated_at": "2024-07-11T13:22:50+02:00", "name": "Go Lint", "path": ".github/workflows/go_code_check.yml", "contents": "# https://github.com/GoogleCloudPlatform/golang-samples/actions/runs/750090553/workflow\n\nname: Go Lint\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n      - \"dbm-services/**\"\n  pull_request:\n    paths:\n      - \"dbm-services/**\"\n\njobs:\n  build:\n    name: Build and Lint\n    runs-on: ubuntu-20.04\n    steps:\n    - name: Setup Go\n      uses: actions/setup-go@v2\n      with:\n        go-version: 1.19\n    - name: Install goimports\n      run: go install golang.org/x/tools/cmd/goimports@latest\n    - name: Check code\n      uses: actions/checkout@v4\n    - run: goimports -w .\n    - name: Run go mod tidy on all modules\n      run: find . -name go.mod -execdir go mod tidy \\;\n    # If there are any diffs from goimports or go mod tidy, fail.\n    - name: Verify no changes from goimports and go mod tidy.\n      run: |\n        if [ -n \"$(git status --porcelain)\" ]; then\n          echo 'To fix this check, run \"goimports -w . && find . -name go.mod -execdir go mod tidy \\;\"'\n          git status # Show the files that failed to pass the check.\n          exit 1\n        fi\n\n# TODO\n#    - name: go vet\n#      # Use find to build all modules. '-execdir ... ;' doesn't set an exit code\n#      # based on command results. So, create a file if a build fails and check\n#      # if the file exists to set the right exit code.\n#      run: |\n#        ROOT_DIR=$(pwd) \\\n#        find . -name go.mod -execdir sh -c 'go vet ./... || touch $ROOT_DIR/vet_failed.txt' \\; ; \\\n#        test ! -f vet_failed.txt\n#    - name: Build code\n#      # Use find to build all modules. '-execdir ... ;' doesn't set an exit code\n#      # based on command results. So, create a file if a build fails and check\n#      # if the file exists to set the right exit code.\n#      run: |\n#        ROOT_DIR=$(pwd) \\\n#        find . -name go.mod -execdir sh -c 'go build ./... || touch $ROOT_DIR/build_failed.txt' \\; ; \\\n#        test ! -f build_failed.txt\n#    - name: shellcheck\n#      run: find . -name \"*.sh\" -exec shellcheck {} \\;\n", "state": "active", "repository": "tencentblueking/blueking-dbm"}
{"mined_at": "2024-07-15T18:05:47.170805", "created_at": "2023-10-26T08:51:39+02:00", "updated_at": "2024-07-11T13:40:04+02:00", "name": "Helm Template Check", "path": ".github/workflows/helm_template_check.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Helm Template Check\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n      - \"helm-charts/**\"\n  pull_request:\n    paths:\n      - \"helm-charts/**\"\n\njobs:\n  helm-check:\n    runs-on: ubuntu-20.04\n    steps:\n    - uses: actions/checkout@v4\n    - name: helm-check\n      run: |-\n        cd ./helm-charts/bk-dbm\n        helm repo add bitnami https://charts.bitnami.com/bitnami\n        helm repo add stakater-charts https://stakater.github.io/stakater-charts\n        helm dependency build\n        helm template . -f values.yaml\n        exit $?\n", "state": "active", "repository": "tencentblueking/blueking-dbm"}
{"mined_at": "2024-07-15T18:05:48.330161", "created_at": "2023-08-17T13:20:48+02:00", "updated_at": "2024-07-11T13:40:04+02:00", "name": "Add \"todo\" Label", "path": ".github/workflows/label_issue_opened.yml", "contents": "\nname: Add \"todo\" Label\n\non:\n  issues:\n    types:\n      - opened\n      - reopened\n\njobs:\n  label_issues:\n    runs-on: ubuntu-20.04\n    permissions:\n      issues: write\n    steps:\n      - uses: actions/github-script@v6\n        with:\n          script: |\n            github.rest.issues.addLabels({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              labels: [\"todo\"]\n            })\n", "state": "active", "repository": "tencentblueking/blueking-dbm"}
{"mined_at": "2024-07-15T18:05:49.548781", "created_at": "2023-08-17T13:20:48+02:00", "updated_at": "2024-07-11T13:40:04+02:00", "name": "Add \"for test\" Label", "path": ".github/workflows/label_pr_merged.yml", "contents": "\nname: Add \"for test\" Label\n\non:\n  pull_request_target:\n    types:\n      - closed\n\npermissions:\n  pull-requests: read\n  issues: write\n\njobs:\n  add_label:\n    if: github.event.pull_request.merged == true\n    runs-on: ubuntu-20.04\n    outputs:\n      issue_id_list: ${{ steps.pr-commits.outputs.issue_id_list }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Get PR commits messages\n        id: pr-commits\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const { data: commits } = await github.rest.pulls.listCommits({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              pull_number: ${{ github.event.number }}\n            });\n            const messages = commits.map(commit => commit.commit.message);\n            console.log(messages.join(\"\\n\"));\n            const regex = /#(\\d+)/g;\n            const issue_id_list = messages.join(\"\\n\").match(regex).map(match => match.replace(\"#\", \"\"));\n            console.log(issue_id_list);\n            core.setOutput(\"issue_id_list\", issue_id_list);\n      - name: Add label to issues\n        uses: actions/github-script@v6\n        with:\n          script: |\n            for (const issue_id of ${{ steps.pr-commits.outputs.issue_id_list }}) {\n              const { data: labels } = await github.rest.issues.listLabelsOnIssue({\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                issue_number: issue_id\n              });\n              const todo_label = labels.find(label => label.name === \"todo\");\n              if (todo_label) {\n                github.rest.issues.removeLabel({\n                  issue_number: issue_id,\n                  owner: context.repo.owner,\n                  repo: context.repo.repo,\n                  name: \"todo\"\n                });\n              }\n              github.rest.issues.addLabels({\n                issue_number: issue_id,\n                owner: context.repo.owner, \n                repo: context.repo.repo,\n                labels: [\"for test\"]\n              });\n            }\n      - name: Close Issue\n        uses: peter-evans/close-issue@v3\n        with:\n          issue-number: 1\n          comment: Auto-closing issue\n  close_issue:\n    needs: add_label\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        issue_id: ${{ fromJSON(needs.add_label.outputs.issue_id_list) }}\n    steps:\n      - name: Close Issue ${{ matrix.issue_id }}\n        uses: peter-evans/close-issue@v3\n        with:\n          issue-number: ${{ matrix.issue_id }}\n          comment: Auto close issue after pr merged \\#${{ github.event.number }}\n\n", "state": "active", "repository": "tencentblueking/blueking-dbm"}
{"mined_at": "2024-07-15T18:05:50.777480", "created_at": "2023-05-31T12:00:26+02:00", "updated_at": "2024-07-11T13:22:50+02:00", "name": "Python Lint", "path": ".github/workflows/python_code_check.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python Lint\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n      - \"dbm-ui/backend/**\"\n      - \"dbm-ui/config/**\"\n  pull_request:\n    paths:\n      - \"dbm-ui/backend/**\"\n      - \"dbm-ui/config/**\"\n\njobs:\n  build:\n\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.10.14\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8==5.0.4 black==\"22.3.0\"\n    - name: Lint with flake8\n      run: |\n        FLAKE8_RESULT=$(flake8 dbm-ui/backend --config=dbm-ui/backend/.flake8 || true)\n        if [ \"$FLAKE8_RESULT\" = \"0\" ]; then\n          echo \"flake8 test passed\"\n        else\n          echo -e \"${FLAKE8_RESULT}\"\n          echo \"flake8 test failed, please check if you have install pre-commit\"\n          exit 1\n        fi\n    - name: Format with black\n      run: |\n        BLACK_RESULT=$(black dbm-ui/backend 2>&1)\n        if [[ $BLACK_RESULT =~ \"reformatted\" ]]; then\n          echo -e \"${BLACK_RESULT}\"\n          echo \"black test failed, please check if you have install pre-commit\"\n          exit 1\n        else\n          echo \"black test passed\"\n        fi\n", "state": "active", "repository": "tencentblueking/blueking-dbm"}
{"mined_at": "2024-07-15T18:05:52.007802", "created_at": "2023-05-31T12:00:26+02:00", "updated_at": "2024-07-11T13:22:50+02:00", "name": "Python Unit Test", "path": ".github/workflows/python_unit_test.yml", "contents": "name: Python Unit Test\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n      - \"dbm-ui/backend/**\"\n      - \"dbm-ui/config/**\"\n  pull_request:\n    paths:\n      - \"dbm-ui/backend/**\"\n      - \"dbm-ui/config/**\"\n\njobs:\n  run:\n    runs-on: ubuntu-20.04\n    env:\n      OS: ubuntu-latest\n      PYTHON: \"3.10\"\n    services:\n      # Label used to access the service container\n      redis:\n        # Docker Hub image\n        image: redis\n        # Set health checks to wait until redis has started\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps port 6379 on service container to the host\n          - 6379:6379\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Setup Mysql\n      run: |\n        sudo systemctl start mysql.service\n    - name: \"执行单元测试\"\n      run: |-\n        source ./dbm-ui/scripts/ci/env.sh\n        export DBA_APP_BK_BIZ_ID=0\n        export DB_PASSWORD=root\n        export REPORT_DB_PASSWORD=root\n        export REDIS_HOST=\"localhost\"\n        export REDIS_PORT=6379\n        export BROKER_URL=\"redis://localhost:6379/0\"\n        ./dbm-ui/scripts/ci/bk_ci.sh", "state": "active", "repository": "tencentblueking/blueking-dbm"}
{"mined_at": "2024-07-15T18:05:53.178129", "created_at": "2023-11-18T10:35:11+01:00", "updated_at": "2024-07-11T13:40:04+02:00", "name": "Yarn Build", "path": ".github/workflows/yarn_build.yml", "contents": "name: Yarn Build\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n      - \"dbm-ui/frontend/**\"\n  pull_request:\n    paths:\n      - \"dbm-ui/frontend/**\"\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    defaults:\n      run:\n        working-directory: ./dbm-ui/frontend\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Install Node.js\n      uses: actions/setup-node@v2\n      with:\n        node-version: 18.x\n\n    - name: Install dependencies\n      run: yarn install --frozen-lockfile\n\n    - name: Build\n      run: yarn build\n", "state": "active", "repository": "tencentblueking/blueking-dbm"}
{"mined_at": "2024-07-15T18:05:54.223481", "created_at": "2023-06-02T05:45:35+02:00", "updated_at": "2023-06-02T05:45:35+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tencentblueking/blueking-dbm"}
{"mined_at": "2024-07-15T18:05:56.400405", "created_at": "2023-04-04T12:31:07+02:00", "updated_at": "2023-04-04T12:31:07+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mrmap-community/mrmap"}
{"mined_at": "2024-07-15T18:05:57.638746", "created_at": "2021-10-01T19:37:38+02:00", "updated_at": "2024-06-08T18:17:58+02:00", "name": "Quality Assurance", "path": ".github/workflows/quality-assurance.yml", "contents": "name: Quality Assurance\non:\n  workflow_dispatch:\n  push:\n    branches: [master, develop]\n  pull_request:\n    branches: [master, develop]\n    types: [opened, synchronize, reopened]\n  schedule:\n    - cron: 0 16 * * *\njobs:\n  pre-commit-checks:\n    name: pre-commit-checks\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - name: checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: pull needed docker images\n        run: docker-compose -f docker-compose.yml -f docker-compose.dev.yml pull pre-commit-check\n\n      - name: Run pre commit checks\n        run: |\n          docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build --abort-on-container-exit --exit-code-from pre-commit-check pre-commit-check\n\n  acceptance-tests:\n    name: acceptance-tests\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - name: checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: pull needed docker images\n        run: docker-compose -f docker-compose.yml -f docker-compose.dev.yml pull behave\n\n      - name: Run behave tests\n        run: |\n          docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build --abort-on-container-exit --exit-code-from behave behave\n\n      - name: upload coverage reports\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-reports\n          path: ./mrmap/acceptance-tests-coverage-report.xml\n\n  unit-tests:\n    name: unit-tests\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - name: checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: pull needed docker images\n        run: docker-compose -f docker-compose.yml -f docker-compose.dev.yml pull django-tests\n\n      - name: Run unit tests\n        run: |\n          docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build --abort-on-container-exit --exit-code-from django-tests django-tests\n\n      - name: upload coverage reports\n        uses: actions/upload-artifact@v3\n        with:\n          name: coverage-reports\n          path: ./backend/unit-tests-coverage-report.xml\n\n  sonar-scanner:\n    needs: [acceptance-tests, unit-tests]\n    name: sonar-scanner\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n      - name: checkout repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: pull needed docker images\n        run: docker-compose -f docker-compose.yml -f docker-compose.dev.yml pull pre-commit-check\n\n      - name: download coverage reports\n        uses: actions/download-artifact@v2\n        with:\n          name: coverage-reports\n          path: ./mrmap\n\n      - name: Run sonar-scanner\n        run: |\n          echo -en \"\\n\" >> ./mrmap/sonar-project.properties\n          echo \"sonar.branch.name=$GITHUB_HEAD_REF\" >> ./mrmap/sonar-project.properties\n          echo \"sonar.branch.target=$GITHUB_BASE_REF\" >> ./mrmap/sonar-project.properties\n          echo \"sonar.login=${{ secrets.SONAR_TOKEN }}\" >> ./mrmap/sonar-project.properties\n          cat ./mrmap/sonar-project.properties\n          ls ./mrmap\n          GITHUB_TOKEN='${{ secrets.GITHUB_TOKEN }}' docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build --abort-on-container-exit --exit-code-from sonar-scanner sonar-scanner\n", "state": "disabled_inactivity", "repository": "mrmap-community/mrmap"}
{"mined_at": "2024-07-15T18:05:59.788771", "created_at": "2024-01-15T13:50:23+01:00", "updated_at": "2024-06-05T15:03:48+02:00", "name": "build_and_deploy_mkdocs", "path": ".github/workflows/build_docs.yml", "contents": "name: build_and_deploy_mkdocs\n\non:\n  push:\n    branches:\n      - master  # Triggers deployment on push to the main branch\npermissions:\n   contents: write\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n\n      - name: Configure Git Credentials\n        run: |\n          git config user.name github-actions[bot]\n          git config user.email 41898282+github-actions[bot]@users.noreply.github.com\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.x'\n\n      - name: Cache mkdocs-material enviroment\n        uses: actions/cache@v3\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n\n      - name: Install Dependencies\n        run: |\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n          uv pip install --system \".[docs]\"\n\n      - name: Build and Deploy\n        run: |\n          mkdocs gh-deploy --force --remote-branch gh-pages", "state": "active", "repository": "fairmat-nfdi/pynxtools"}
{"mined_at": "2024-07-15T18:06:01.017505", "created_at": "2024-01-22T12:02:22+01:00", "updated_at": "2024-01-22T17:29:51+01:00", "name": "nexus version check", "path": ".github/workflows/check_nexus_version.yml", "contents": "name: nexus version check\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  nexus-version:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Generate nexus git version\n        run: |\n          git submodule sync --recursive\n          git submodule update --init --recursive --jobs=4\n          git submodule foreach --recursive 'git fetch --tags'\n          cd src/pynxtools/definitions\n          git describe --dirty --tags --long --match \"*[0-9]*\" > ../nexus-ref.txt\n          cd ../\n      - name: Diff\n        run: |\n          diff -w src/pynxtools/nexus-version.txt src/pynxtools/nexus-ref.txt", "state": "active", "repository": "fairmat-nfdi/pynxtools"}
{"mined_at": "2024-07-15T18:06:02.153485", "created_at": "2024-07-04T09:50:55+02:00", "updated_at": "2024-07-04T09:50:55+02:00", "name": "Test Coveralls", "path": ".github/workflows/coveralls.yml", "contents": null, "state": "active", "repository": "fairmat-nfdi/pynxtools"}
{"mined_at": "2024-07-15T18:06:03.373431", "created_at": "2024-06-06T17:10:10+02:00", "updated_at": "2024-06-12T01:00:48+02:00", "name": "NOMAD dependencies compatibility", "path": ".github/workflows/nomad-requirements.yml", "contents": "name: NOMAD dependencies compatibility\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n    branches:\n      - master\n    # Run workflow only when there are changes in pyproject.toml or dev-requirements.txt\n    paths:\n      - 'pyproject.toml'\n      - 'dev-requirements.txt'\n\njobs:\n  validate_dependencies:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout pynxtools\n      uses: actions/checkout@v2\n\n    - name: Checkout NOMAD from GitLab\n      run: |\n        git clone --depth 1 --branch develop --recurse-submodules https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR.git nomad\n        git submodule update --init --recursive --depth 1\n\n    - name: Replace pynxtools dependency in NOMAD pyproject.toml\n      working-directory: ./nomad\n      run: |\n        sed -i 's|pynxtools\\[convert\\]==[0-9]\\+\\(\\.[0-9]\\+\\)\\{0,2\\}|pynxtools\\[convert\\]@git+https://github.com/FAIRmat-NFDI/pynxtools.git@${{ github.head_ref || github.ref_name }} |' pyproject.toml\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n\n    - name: Install uv\n      run: |\n        curl -LsSf https://astral.sh/uv/install.sh | sh\n\n    - name: Generate (dev-)requirements.txt from modified pyproject.toml\n      working-directory: ./nomad\n      run: |\n        uv pip compile -p 3.9 --annotation-style=line --extra=infrastructure --extra=parsing --output-file=requirements.txt dependencies/nomad-dos-fingerprints/pyproject.toml dependencies/parsers/eelsdb/pyproject.toml pyproject.toml\n        uv pip compile -p 3.9 --annotation-style=line --extra=dev --extra=infrastructure --extra=parsing --output-file=requirements-dev.txt requirements.txt pyproject.toml\n\n    - name: Install NOMAD dependencies with pynxtools from current branch\n      working-directory: ./nomad\n      run: |\n        uv pip install --system -r requirements.txt\n        uv pip install --system -r requirements-dev.txt\n      env:\n        PYTHONPATH: \"\"  # Ensure no pre-installed packages interfere with the test", "state": "active", "repository": "fairmat-nfdi/pynxtools"}
{"mined_at": "2024-07-15T18:06:04.354494", "created_at": "2024-04-17T13:49:16+02:00", "updated_at": "2024-05-29T11:34:36+02:00", "name": "test plugins", "path": ".github/workflows/plugin_test.yaml", "contents": "# This workflow will install Python 3.9 and run the tests of all supported plugins.\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: test plugins\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  pytest:\n    name: pytest (${{ matrix.plugin }})\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # - plugin: pynxtools-apm\n          #   branch: main\n          #   tests_to_run: tests/.\n          # - plugin: pynxtools-ellips\n          #   branch: main\n          #   tests_to_run: tests/.\n          # - plugin: pynxtools-em\n          #   branch: main\n          #   tests_to_run: tests/.\n          - plugin: pynxtools-mpes\n            branch: main\n            tests_to_run: tests/.\n          - plugin: pynxtools-stm\n            branch: main\n            tests_to_run: tests/.\n          - plugin: pynxtools-xps\n            branch: main\n            tests_to_run: tests/.\n          # - plugin: pynxtools-xrd\n          #   branch: update-tests\n          #   tests_to_run: tests/.\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          submodules: recursive\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n          uv pip install --system coverage coveralls\n      - name: Install package\n        run: |\n          uv pip install --system \".[dev]\"\n      - name: Clone ${{ matrix.plugin }} repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          repository: FAIRmat-NFDI/${{ matrix.plugin }}\n          path: ${{ matrix.plugin }}\n          ref: ${{ matrix.branch }}\n      - name: Install ${{ matrix.plugin }}\n        run: |\n          cd ${{ matrix.plugin }} \n          uv pip install --system .\n      - name: Run ${{ matrix.plugin }} tests\n        run: |\n          cd ${{ matrix.plugin }}\n          pytest ${{ matrix.tests_to_run }}", "state": "active", "repository": "fairmat-nfdi/pynxtools"}
{"mined_at": "2024-07-15T18:06:05.644317", "created_at": "2023-03-09T18:41:01+01:00", "updated_at": "2023-03-09T18:41:01+01:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          submodules: recursive\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n          uv pip install --system build\n      - name: Build package\n        run: python -m build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "fairmat-nfdi/pynxtools"}
{"mined_at": "2024-07-15T18:06:06.854537", "created_at": "2021-12-08T10:55:48+01:00", "updated_at": "2023-04-27T17:51:38+02:00", "name": "linting", "path": ".github/workflows/pylint.yml", "contents": "name: linting\n\non: [push]\n\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          git submodule sync --recursive\n          git submodule update --init --recursive --jobs=4\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n      - name: Install package\n        run: |\n          uv pip install --system --no-deps .\n      - name: Install dev requirements\n        run: |\n          uv pip install --system -r dev-requirements.txt\n      - name: ruff\n        run: |\n          ruff src/pynxtools tests\n      - name: ruff formatting\n        run: |\n          ruff format --check src/pynxtools tests\n      - name: mypy\n        run: |\n          mypy src/pynxtools tests\n", "state": "active", "repository": "fairmat-nfdi/pynxtools"}
{"mined_at": "2024-07-15T18:06:07.991821", "created_at": "2023-03-09T12:21:26+01:00", "updated_at": "2023-03-23T16:20:20+01:00", "name": "pytest", "path": ".github/workflows/pytest.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: pytest\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  pytest:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          submodules: recursive\n      - name: Set up Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Install dependencies\n        run: |\n          curl -LsSf https://astral.sh/uv/install.sh | sh\n          uv pip install --system coverage coveralls\n      - name: Install package\n        run: |\n          uv pip install --system \".[dev]\"\n      - name: Test with pytest\n        run: |\n          coverage run -m pytest -sv --show-capture=no tests\n      - name: Submit to coveralls\n        continue-on-error: true\n        env:\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n            coveralls --service=github\n", "state": "active", "repository": "fairmat-nfdi/pynxtools"}
{"mined_at": "2024-07-15T18:06:08.992893", "created_at": "2024-05-15T10:51:43+02:00", "updated_at": "2024-05-15T10:53:48+02:00", "name": "test xps plugin", "path": ".github/workflows/xps_plugin_test.yaml", "contents": null, "state": "active", "repository": "fairmat-nfdi/pynxtools"}
{"mined_at": "2024-07-15T18:06:10.117017", "created_at": "2024-01-15T16:35:13+01:00", "updated_at": "2024-01-15T16:35:13+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "fairmat-nfdi/pynxtools"}
{"mined_at": "2024-07-15T18:06:12.456573", "created_at": "2020-03-26T03:08:51+01:00", "updated_at": "2021-09-08T20:38:53+02:00", "name": "Python Unit Tests", "path": ".github/workflows/python_unit_tests.yml", "contents": "name: Python Unit Tests\n\non: [push]\n\njobs:\n  lint-and-test:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python-version: ['3.10']\n    steps:\n    - name: Checkout covid-data-model\n      uses: actions/checkout@v2\n      with:\n        repository: act-now-coalition/covid-data-model\n        lfs: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Cache Pip\n      uses: actions/cache@v1\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements*.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n    - name: Install dependencies\n      run: |\n        python -m pip install pip==21.3.1\n        pip install numpy==1.21.4\n        pip install -r requirements.txt -r requirements_test.txt\n    - name: Check code formatting with black.\n      run: black --check .\n    - name: Test with pytest\n      env:\n        PYSEIR_FAST_AND_DIRTY: 'True'\n      run: |\n        make test\n", "state": "active", "repository": "act-now-coalition/covid-data-model"}
{"mined_at": "2024-07-15T18:06:13.613250", "created_at": "2020-04-09T20:39:16+02:00", "updated_at": "2022-07-05T20:25:54+02:00", "name": "Build & Publish API snapshot to data.covidactnow.org", "path": ".github/workflows/deploy_api.yml", "contents": "name: Build & Publish API snapshot to data.covidactnow.org\n\n# Use a concurrency group to make sure we don't try to have multiple workflows\n# run with the hosted runner at the same time.\nconcurrency: gce-runner\n\non:\n  workflow_dispatch:\n    inputs:\n      sentry_environment:\n        description: 'Sentry environment of build. Should be \"production\" on main build and \"staging\" for other branches.'\n        required: true\n      pyseir_snapshot:\n        description: 'Optionally download an existing pyseir model artifact from a previous snapshot number instead of generating a new one.'\n        required: false\n        default: \"\"\n\nenv:\n\n  # S3 Bucket (used by s3-sync-action tasks) to store final API snapshot.\n  AWS_S3_BUCKET: 'data.covidactnow.org'\n\n  # Use plotting by default on CI\n  PYSEIR_PLOT_RESULTS: 'True'\n\n  # The snapshot ID that identifies all of the API artifacts we're generating and ends\n  # up in the final /snapshot/{id}/ URL.\n  SNAPSHOT_ID: ${{github.run_number}}\n\n  # Used by execute-model (for now) to optimize parallelization on self-hosted\n  # runner.\n  COVID_MODEL_CORES: 96\n\n  # Used by python code that reports errors to sentry.\n  SENTRY_DSN: ${{ secrets.SENTRY_DSN }}\n\n  # Sets the sentry environment, controlling how alerts are reported.\n  SENTRY_ENVIRONMENT: ${{ github.event.inputs.sentry_environment }}\n\n  # use a webhook to write to slack channel dev-alerts for QA\n  SLACK_DEV_ALERTS_WEBHOOK: ${{ secrets.SLACK_DEV_ALERTS_WEBHOOK }}\n\n  # Setting openblas threading to one to speed up numpy in multiprocessing.\n  OPENBLAS_NUM_THREADS: 1\n\n  # Optional Snapshot number to use pyseir model output from. An empty string by default\n  PYSEIR_ARTIFACT_SNAPSHOT: ${{ github.event.inputs.pyseir_snapshot }}\n\n  # The GCE instance to start / stop before / after running the job.\n  GCE_ZONE: \"us-west1-b\"\n  GCE_INSTANCE: \"can-actions-runner\"\n\njobs:\n  start-runner:\n    runs-on: ubuntu-latest\n    steps:\n      - id: \"auth\"\n        uses: \"google-github-actions/auth@v1\"\n        with:\n          credentials_json: \"${{ secrets.GCE_ADMIN_SERVICE_ACCOUNT }}\"\n\n      - name: \"Set up Cloud SDK\"\n        uses: \"google-github-actions/setup-gcloud@v1\"\n\n      - name: \"Start ${{env.GCE_INSTANCE}} VM.\"\n        run: \"gcloud compute instances start --zone ${{env.GCE_ZONE}} ${{env.GCE_INSTANCE}}\"\n\n  build-and-publish-snapshot:\n    needs: \"start-runner\"\n    runs-on: gce-runner\n    steps:\n    - name: Parse covid data model branch name and set env variable\n      run: |\n        echo \"COVID_DATA_MODEL_REF=${GITHUB_REF_NAME}\" >> $GITHUB_ENV\n    - name: Checkout covid-data-model (${{ env.COVID_DATA_MODEL_REF }})\n      uses: actions/checkout@v2\n      with:\n        repository: act-now-coalition/covid-data-model\n        path: covid-data-model\n        lfs: true\n        ref: '${{env.COVID_DATA_MODEL_REF}}'\n\n    - name: Setup Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n        architecture: 'x64'\n\n    - name: Cache Pip\n      uses: actions/cache@v1\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n\n    - name: Install Dependencies\n      working-directory: ./covid-data-model\n      run: pip install -r requirements.txt\n\n    - name: Pull git lfs\n      working-directory: ./covid-data-model\n      run: git lfs pull\n\n    - name: Build Model Results (run.sh .. .. execute_model)\n      env:\n        GITHUB_TOKEN: ${{ secrets.CAN_ROBOT_PERSONAL_ACCESS_TOKEN }}\n      run: |\n        ./covid-data-model/run.sh /data/api-results-${{env.SNAPSHOT_ID}} execute_model ${{env.PYSEIR_ARTIFACT_SNAPSHOT}}\n\n    - name: Zip Model Results (run.sh .. .. execute_zip_folder)\n      run: ./covid-data-model/run.sh /data/api-results-${{env.SNAPSHOT_ID}} execute_zip_folder\n\n    - name: Upload Raw Data QA and Model Results\n      uses: actions/upload-artifact@v2-preview\n      with:\n        name: model-results-${{env.SNAPSHOT_ID}}\n        path: /data/api-results-${{env.SNAPSHOT_ID}}/api-results.zip\n\n\n    - name: Build API (run.sh .. .. execute_api_v2)\n      run: |\n        ./covid-data-model/run.sh /data/api-results-${{env.SNAPSHOT_ID}} execute_api_v2\n\n    - name: make and copy to local tmp directory\n      run: |\n        mkdir -p ./tmp/data/\n        cp -r /data/api-results-${{env.SNAPSHOT_ID}}/ ./tmp/data/\n\n    - name: Deploy Artifacts to S3 (https://data.covidactnow.org/snapshot/${{env.SNAPSHOT_ID}}/).\n      uses: jakejarvis/s3-sync-action@master\n      with:\n        args: --acl public-read --follow-symlinks\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        SOURCE_DIR: './tmp/data/api-results-${{env.SNAPSHOT_ID}}/'\n        DEST_DIR: 'snapshot/${{env.SNAPSHOT_ID}}/'\n\n    - name: remove local tmp directory and local data build\n      run: |\n        rm -rf ./tmp/data/\n        # /data is a persistent volume on our build machines that does not get\n        # automatically cleaned up.\n        rm -r /data/api-results-${{env.SNAPSHOT_ID}}\n\n    - name: Trigger website PR generation if main branch build\n      env:\n        GITHUB_TOKEN: ${{ secrets.CAN_ROBOT_PERSONAL_ACCESS_TOKEN }}\n      run: ./covid-data-model/tools/maybe-trigger-web-snapshot-update.sh ${{env.SNAPSHOT_ID}} ${{env.COVID_DATA_MODEL_REF}}\n\n    - name: Trigger Label API if main branch build\n      env:\n        GITHUB_TOKEN: ${{ secrets.CAN_ROBOT_PERSONAL_ACCESS_TOKEN }}\n      run: ./covid-data-model/tools/maybe-trigger-label-api.sh ${{env.SNAPSHOT_ID}} ${{env.COVID_DATA_MODEL_REF}}\n\n  stop-runner:\n    if: ${{ always() }}\n    needs: [\"start-runner\", \"build-and-publish-snapshot\"]\n    runs-on: ubuntu-latest\n    steps:\n      - id: \"auth\"\n        uses: \"google-github-actions/auth@v1\"\n        with:\n          credentials_json: \"${{ secrets.GCE_ADMIN_SERVICE_ACCOUNT }}\"\n\n      - name: \"Set up Cloud SDK\"\n        uses: \"google-github-actions/setup-gcloud@v1\"\n\n      - name: \"Stop ${{env.GCE_INSTANCE}} VM.\"\n        run: \"gcloud compute instances stop --zone ${{env.GCE_ZONE}} ${{env.GCE_INSTANCE}}\"\n", "state": "active", "repository": "act-now-coalition/covid-data-model"}
{"mined_at": "2024-07-15T18:06:14.842128", "created_at": "2020-04-14T23:11:09+02:00", "updated_at": "2020-04-14T23:11:09+02:00", "name": "Label API Snapshot.", "path": ".github/workflows/label_api_snapshot.yml", "contents": "# To debug, it's recommended you modify / use the version in the test-actions repo:\n# https://github.com/act-now-coalition/test-actions/blob/master/.github/workflows/label_api_snapshot.yml\n\n# Used to assign a label (like /snapshot/latest or /v0) to a published API\n# snapshot (like /snapshot/123).\n#\nname: Label API Snapshot.\n\non:\n  workflow_dispatch:\n    inputs:\n      snapshot_id:\n        description: 'The snapshot ID (e.g. 1234) to be labeled as \"latest\" and used by the API.'\n        required: true\n\njobs:\n  label-api-snapshot:\n    runs-on: ubuntu-latest\n\n    env:\n      AWS_S3_BUCKET: 'data.covidactnow.org'\n      LABEL: 'latest'\n      SNAPSHOT_ID: '${{ github.event.inputs.snapshot_id }}'\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v2\n    - name: Verify Snapshot ID provided\n      if: ${{ !env.SNAPSHOT_ID }}\n      run: 'echo \"Missing input parameter: snapshot_id\" ; exit 1'\n\n    # TODO: We want to replace this with a \"symlink\" of some kind, perhaps implemented at\n    # the CloudFront layer.\n    - name: Create Label (Copy files from /snapshot/${{env.SNAPSHOT_ID}}/ to /${{env.LABEL}}/)\n      uses: jakejarvis/s3-sync-action@master\n      with:\n        args: --acl public-read --follow-symlinks\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        SOURCE_DIR: 's3://${{env.AWS_S3_BUCKET}}/snapshot/${{env.SNAPSHOT_ID}}/'\n        DEST_DIR: '${{env.LABEL}}/'\n\n    - name: API Cloudfront Distribution Cache Invalidation\n      uses: awact/cloudfront-action@master\n      env:\n        SOURCE_PATH: '/*'\n        AWS_REGION: 'us-east-1'\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        DISTRIBUTION_ID: ${{ secrets.API_CLOUDFRONT_DISTRIBUTION_ID }}\n    - name: Slack notification\n      if: always() # Pick up events even if the job fails or is canceled.\n      env:\n        SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DAILY_DEPLOYS }}\n        STATUS: ${{job.status}}\n      uses: Ilshidur/action-slack@fb92a78a305a399cd6d8ede99d641f2b9224daf3\n      with:\n        args: 'Action to label {{SNAPSHOT_ID}} as {{LABEL}}. Job status: {{STATUS}}'\n", "state": "active", "repository": "act-now-coalition/covid-data-model"}
{"mined_at": "2024-07-15T18:06:16.173426", "created_at": "2020-07-06T14:27:07+02:00", "updated_at": "2020-07-06T14:27:07+02:00", "name": "CI Test Build API artifacts", "path": ".github/workflows/CI_test_deploy_api.yml", "contents": "# To debug, it's recommended you modify / use the version in the test-actions repo:\n# https://github.com/act-now-coalition/test-actions/blob/master/.github/workflows/deploy_api.yml\n\n#Test workflow to validate new CI build machines.  It is a cut down version of\n#the build and publish workflow\nname: CI Test Build API artifacts\n\non:\n  # So we rebuild / publish the API at 01:30 and 16:30 UTC.\n  #schedule:\n  # - cron: '30 1,16 * * *'\n\n  # push:\n  # Hook to trigger a manual run.\n  # See: https://goobar.io/2019/12/07/manually-trigger-a-github-actions-workflow/\n  repository_dispatch:\n    types: ci-test-publish-api\n\nenv:\n  # !!! Change this to your BRANCH if you want to test it\n  COVID_DATA_MODEL_REF: 'main'\n\n  # To pin to an old data sets, put the branch/tag/commit here:\n  COVID_DATA_PUBLIC_REF: 'main'\n\n  # S3 Bucket (used by s3-sync-action tasks) to store final API snapshot.\n  AWS_S3_BUCKET: 'data.covidactnow.org'\n\n  # Use plotting by default on CI\n  PYSEIR_PLOT_RESULTS: 'True'\n\n  # The snapshot ID that identifies all of the API artifacts we're generating and ends\n  # up in the final /snapshot/{id}/ URL.\n  SNAPSHOT_ID: ${{github.run_number}}\n\n  # Used by execute-model (for now) to optimize parallelization on self-hosted\n  # runner.\n  COVID_MODEL_CORES: 96\n  # for other sizes than the default 96\n  #COVID_MODEL_CORES: 32\n\n  # Used by python code that reports errors to sentry.\n  SENTRY_DSN: ${{ secrets.SENTRY_DSN }}\n\n  # use a webhook to write to slack channel dev-alerts for QA\n  # Turn off for CI test deploy box\n  #SLACK_DEV_ALERTS_WEBHOOK: ${{ secrets.SLACK_DEV_ALERTS_WEBHOOK }}\n\n\njobs:\n  ci-test-build-snapshot:\n    runs-on: [self-hosted, targeted-runner]\n    steps:\n\n    - name: Checkout covid-data-model\n      uses: actions/checkout@v2\n      with:\n        repository: act-now-coalition/covid-data-model\n        path: covid-data-model\n        ref: '${{env.COVID_DATA_MODEL_REF}}'\n        lfs: true\n\n    - name: Setup Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.10'\n        architecture: 'x64'\n\n    - name: Cache Pip\n      uses: actions/cache@v1\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n\n    - name: Install Dependencies\n      working-directory: ./covid-data-model\n      run: pip install -r requirements.txt\n\n    - name: Build Model Results (run.sh .. .. execute_model)\n      run: ./covid-data-model/run.sh /data/api-results-${{env.SNAPSHOT_ID}} execute_model\n\n    - name: Zip Model Results (run.sh .. .. execute_zip_folder)\n      run: ./covid-data-model/run.sh /data/api-results-${{env.SNAPSHOT_ID}} execute_zip_folder\n\n    # - name: Upload Raw Data QA and Model Results\n    #   uses: actions/upload-artifact@v2-preview\n    #   with:\n    #     name: model-results-${{env.SNAPSHOT_ID}}\n    #     path: /data/api-results-${{env.SNAPSHOT_ID}}/api-results.zip\n\n    - name: Build API (run.sh .. .. execute_api)\n      run: ./covid-data-model/run.sh /data/api-results-${{env.SNAPSHOT_ID}} execute_api\n\n    - name: make and copy to local tmp directory\n      run: |\n        mkdir -p ./tmp/data/\n        cp -r /data/api-results-${{env.SNAPSHOT_ID}}/ ./tmp/data/\n\n    # - name: Deploy Artifacts to S3 (https://data.covidactnow.org/snapshot/${{env.SNAPSHOT_ID}}/).\n    #   uses: jakejarvis/s3-sync-action@master\n    #   with:\n    #     args: --acl public-read --follow-symlinks --delete\n    #   env:\n    #     AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n    #     AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n    #     SOURCE_DIR: './tmp/data/api-results-${{env.SNAPSHOT_ID}}/'\n    #     DEST_DIR: 'snapshot/${{env.SNAPSHOT_ID}}/'\n\n    # - name: remove local tmp directory\n    #   run: |\n    #     rm -rf ./tmp/data/\n\n    # - name: Trigger website PR generation if conditions are met (main branch, morning build, etc)\n    #   env:\n    #     GITHUB_TOKEN: ${{ secrets.CAN_ROBOT_PERSONAL_ACCESS_TOKEN }}\n    #   run: ./covid-data-model/tools/maybe-trigger-web-snapshot-update.sh ${{env.SNAPSHOT_ID}} ${{env.COVID_DATA_MODEL_REF}} ${{env.COVID_DATA_PUBLIC_REF}}\n", "state": "active", "repository": "act-now-coalition/covid-data-model"}
{"mined_at": "2024-07-15T18:06:17.173056", "created_at": "2020-07-15T04:41:28+02:00", "updated_at": "2020-07-15T04:41:28+02:00", "name": "Update combined datasets", "path": ".github/workflows/update_repo_datasets.yml", "contents": "name: Update combined datasets\n\n# Use a concurrency group to make sure we don't try to have multiple workflows\n# run with the hosted runner at the same time.\nconcurrency: gce-runner\n\non:\n# 2023/01/17: We no longer have a run scheduled via github actions and instead rely on the prefect\n# scrapers to kick off a build after NYT updates each day.\n# https://github.com/covid-projections/can-scrapers/blob/643819f7a42d0ae227453b1de24a317a54c6cde8/services/prefect/flows/scheduled_nyt_and_parquet_updater.py#L37\n#\n#  schedule:\n#    # Run job everyday at 5:00 am EST\n#    - cron: '0 10 * * *'\n  workflow_dispatch:\n    inputs:\n      trigger_api_build:\n        description: 'If \"true\" API snapshot build will be triggered after dataset update.'\n        default: 'true'\n      refresh_datasets:\n        description: 'Set to \"false\" to skip downloading / re-combining the latest datasets.'\n        default: 'true'\n  repository_dispatch:\n\nenv:\n\n  # Used by python code that reports errors to sentry.\n  SENTRY_DSN: ${{ secrets.SENTRY_DSN }}\n\n  SENTRY_ENVIRONMENT: 'production'\n\n  # use a webhook to write to slack channel dev-alerts for QA\n  SLACK_DEV_ALERTS_WEBHOOK: ${{ secrets.SLACK_DEV_ALERTS_WEBHOOK }}\n\n  DATA_AVAILABILITY_SHEET_NAME: \"Data Availability\"\n\n  GOOGLE_SHEETS_SERVICE_ACCOUNT_DATA: ${{ secrets.GOOGLE_SHEETS_SERVICE_ACCOUNT_DATA }}\n\n  # Use trigger_api_build if specified, else use true. This automatically triggers\n  # the API build on scheduled runs where trigger_api_build is not defined.\n  # https://github.community/t/how-can-you-use-expressions-as-the-workflow-dispatch-input-default/141454/4\n  TRIGGER_API_BUILD: ${{ github.event.inputs.trigger_api_build || 'true' }}\n\n  REFRESH_DATASETS_ARG: ${{ (github.event.inputs.refresh_datasets == 'true') && '--refresh-datasets' || '--no-refresh-datasets' }}\n\n  # The GCE instance to start / stop before / after running the job.\n  GCE_ZONE: \"us-west1-b\"\n  GCE_INSTANCE: \"can-actions-runner\"\n\njobs:\n  start-runner:\n    runs-on: ubuntu-latest\n    steps:\n      - id: \"auth\"\n        uses: \"google-github-actions/auth@v1\"\n        with:\n          credentials_json: \"${{ secrets.GCE_ADMIN_SERVICE_ACCOUNT }}\"\n\n      - name: \"Set up Cloud SDK\"\n        uses: \"google-github-actions/setup-gcloud@v1\"\n\n      - name: \"Start ${{env.GCE_INSTANCE}} VM.\"\n        run: \"gcloud compute instances start --zone ${{env.GCE_ZONE}} ${{env.GCE_INSTANCE}}\"\n\n  update-and-promote-datasets:\n    needs: \"start-runner\"\n    runs-on: gce-runner\n    steps:\n    - name: Parse covid data model branch name and set env variable\n      run: |\n        echo \"COVID_DATA_MODEL_REF=${GITHUB_REF_NAME}\" >> $GITHUB_ENV\n\n    - name: Checkout covid-data-model\n      uses: actions/checkout@v2\n      with:\n        repository: act-now-coalition/covid-data-model\n        path: covid-data-model\n        ref: '${{env.COVID_DATA_MODEL_REF}}'\n        lfs: true\n\n    - name: Update NYTimes anomalies file\n      working-directory: ./covid-data-model\n      run: |\n        curl https://raw.githubusercontent.com/nytimes/covid-19-data/master/rolling-averages/anomalies.csv --output data/nyt_anomalies.csv\n\n    - name: Setup Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n\n    - name: Cache Pip\n      uses: actions/cache@v1\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n        restore-keys: |\n          ${{ runner.os }}-pip-\n          ${{ runner.os }}-\n\n    - name: Install Dependencies\n      working-directory: ./covid-data-model\n      run: pip install -r requirements.txt\n\n    - name: prune covid-data-model\n      working-directory: ./covid-data-model\n      run: git lfs prune\n\n    - name: Update and Promote dataset.\n      working-directory: ./covid-data-model\n      run: |\n        ./run.py data update ${{env.REFRESH_DATASETS_ARG}}\n\n    - name: Create Update Commit\n      working-directory: ./covid-data-model\n      run: ./tools/push-data-update.sh\n\n    - name: Maybe Trigger API build\n      if: env.TRIGGER_API_BUILD == 'true'\n      working-directory: ./covid-data-model\n      env:\n        GITHUB_TOKEN: ${{ secrets.CAN_ROBOT_PERSONAL_ACCESS_TOKEN }}\n      run: |\n        ./tools/build-snapshot.sh main\n    - name: Slack notification\n      if: env.TRIGGER_API_BUILD == 'true'\n      env:\n        SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DEV_ALERTS }}\n      uses: Ilshidur/action-slack@fb92a78a305a399cd6d8ede99d641f2b9224daf3\n      with:\n        args: 'Started new API build from dataset updater action.'\n\n    # TODO(https://trello.com/c/4dFFtQiH/1239-fix-data-availability-report-or-officially-replace-it-with-toms-dashboard)\n    # - name: Update Data Availability Sheet\n    #   working-directory: ./covid-data-model\n    #   run: |\n    #     ./run.py data update-availability-report\n\n    - name: Slack notification\n      if: failure()\n      env:\n        SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DEV_ALERTS }}\n        STATUS: ${{job.status}}\n      uses: Ilshidur/action-slack@fb92a78a305a399cd6d8ede99d641f2b9224daf3\n      with:\n        args: 'update-dataset-snapshot failed'\n    - name: Slack notification\n      if: success()\n      env:\n        SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DEV_ALERTS }}\n        STATUS: ${{job.status}}\n        DATA_AVAILABILITY_URL: http://tiny.cc/can-data\n      uses: Ilshidur/action-slack@fb92a78a305a399cd6d8ede99d641f2b9224daf3\n      with:\n        args: 'update-dataset-snapshot succeeded. View Data Availability Report at {{DATA_AVAILABILITY_URL}}'\n\n  stop-runner:\n    if: ${{ always() }}\n    needs: [\"start-runner\", \"update-and-promote-datasets\"]\n    runs-on: ubuntu-latest\n    steps:\n      - id: \"auth\"\n        uses: \"google-github-actions/auth@v1\"\n        with:\n          credentials_json: \"${{ secrets.GCE_ADMIN_SERVICE_ACCOUNT }}\"\n\n      - name: \"Set up Cloud SDK\"\n        uses: \"google-github-actions/setup-gcloud@v1\"\n\n      - name: \"Stop ${{env.GCE_INSTANCE}} VM.\"\n        run: \"gcloud compute instances stop --zone ${{env.GCE_ZONE}} ${{env.GCE_INSTANCE}}\"\n", "state": "active", "repository": "act-now-coalition/covid-data-model"}
{"mined_at": "2024-07-15T18:06:18.427512", "created_at": "2020-09-18T03:30:01+02:00", "updated_at": "2020-10-17T00:30:58+02:00", "name": "Build & Deploy API Docs", "path": ".github/workflows/deploy_docs.yml", "contents": "name: Build & Deploy API Docs\n\non:\n  workflow_dispatch:\n\njobs:\n  build-deploy:\n    name: Build_and_Deploy_Docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - uses: actions/setup-node@v1\n        with:\n          node-version: '12.x'\n      - run: yarn install\n        working-directory: api/docs\n      - run: yarn build\n        working-directory: api/docs\n      - uses: jakejarvis/s3-sync-action@master\n        with:\n          # We don't pass --delete so outdated assets will continue to be served. This ensures browsers with\n          # cached html files can still fetch the JS assets referred to.\n          args: --acl public-read --follow-symlinks\n        env:\n          AWS_S3_BUCKET: 'apidocs.covidactnow.org'\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          SOURCE_DIR: 'api/docs/build/'      # optional: defaults to entire repository\n      - name: API Docs Cloudfront Distribution Cache Invalidation\n        uses: awact/cloudfront-action@master\n        env:\n          SOURCE_PATH: '/*'\n          AWS_REGION: 'us-east-1'\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          DISTRIBUTION_ID: ${{ secrets.API_DOCS_CLOUDFRONT_DISTRIBUTION_ID }}\n      - name: Slack notification\n        if: always()\n        env:\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DEV_ALERTS }}\n          STATUS: ${{job.status}}\n        uses: Ilshidur/action-slack@fb92a78a305a399cd6d8ede99d641f2b9224daf3\n        with:\n          args: 'API docs deploy completed successfully'\n", "state": "active", "repository": "act-now-coalition/covid-data-model"}
{"mined_at": "2024-07-15T18:06:19.657383", "created_at": "2020-10-16T04:11:03+02:00", "updated_at": "2020-10-16T04:11:03+02:00", "name": "Update API User Usage", "path": ".github/workflows/update_api_usage.yml", "contents": "name: Update API User Usage\n\non:\n  schedule:\n     # Run every 4 hours at the top of the hour\n   - cron: '0 */6 * * *'\n\nenv:\n  # !!! Change this to your BRANCH if you want to test it\n  COVID_DATA_MODEL_REF: 'main'\n\n  # To pin to an old data sets, put the branch/tag/commit here:\n  COVID_DATA_PUBLIC_REF: 'main'\n\n  # Used by python code that reports errors to sentry.\n  SENTRY_DSN: ${{ secrets.SENTRY_DSN }}\n\n  SENTRY_ENVIRONMENT: 'production'\n\n  # use a webhook to write to slack channel dev-alerts for QA\n  SLACK_DEV_ALERTS_WEBHOOK: ${{ secrets.SLACK_DEV_ALERTS_WEBHOOK }}\n\n  # Google sheet id to update\n  API_USERS_SHEET_ID: ${{ secrets.API_USERS_SHEET_ID }}\n\n  API_TABLE_NAME: ${{ secrets.API_TABLE_NAME }}\n\n  API_DATABASE_NAME: ${{ secrets.API_DATABASE_NAME }}\n\n  GOOGLE_SHEETS_SERVICE_ACCOUNT_DATA: ${{ secrets.GOOGLE_SHEETS_SERVICE_ACCOUNT_DATA }}\n\n  AWS_SECRET_ACCESS_KEY: ${{ secrets.API_USAGE_UPDATER_SECRET_ACCESS_KEY }}\n\n  AWS_ACCESS_KEY_ID: ${{ secrets.API_USAGE_UPDATER_ACCESS_KEY_ID }}\n\n  HUBSPOT_AUTH_TOKEN: ${{ secrets.HUBSPOT_AUTH_TOKEN }}\n\njobs:\n  update-and-promote-datasets:\n    runs-on: ubuntu-20.04\n    steps:\n\n    - name: Checkout covid-data-model\n      uses: actions/checkout@v2\n      with:\n        repository: act-now-coalition/covid-data-model\n        path: covid-data-model\n        ref: '${{env.COVID_DATA_MODEL_REF}}'\n        lfs: true\n\n    - name: Setup Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.10'\n\n    - name: Install Dependencies\n      run: |\n        pip install -r requirements.txt\n      working-directory: ./covid-data-model    \n\n    - name: Update API User Usage sheet\n      working-directory: ./covid-data-model\n      env:\n        AWS_DEFAULT_REGION: us-east-1\n      run: |\n        ./run.py utils update-api-user-usage\n    - name: Slack notification\n      if: failure()\n      env:\n        SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_DEV_ALERTS }}\n        STATUS: ${{job.status}}\n      uses: Ilshidur/action-slack@fb92a78a305a399cd6d8ede99d641f2b9224daf3\n      with:\n        args: 'Update API usage failed'\n", "state": "active", "repository": "act-now-coalition/covid-data-model"}
{"mined_at": "2024-07-15T18:06:20.778119", "created_at": "2021-02-19T00:14:06+01:00", "updated_at": "2021-02-25T02:38:20+01:00", "name": "Deploy AWS API Infrastructure", "path": ".github/workflows/deploy_aws_api_infrastructure_dev.yml", "contents": "name: Deploy AWS API Infrastructure\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - 'api/awsauth/**'\n\n  workflow_dispatch:\n    inputs:\n      deploy_to_prod:\n        description: 'If \"true\" will run full CI pipeline and deploy to prod'\n        default: \"false\"\n\ndefaults:\n  run:\n    working-directory: api/awsauth/\n\nenv:\n  COVID_DATA_MODEL_REF: ${{ github.head_ref }}\n\njobs:\n\n  DeployDev:\n    environment:\n      name: dev\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: '${{env.COVID_DATA_MODEL_REF}}'\n    - uses: actions/setup-node@v1\n      with:\n        node-version: '12.x'\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n    - name: Install python requirements\n      run: pip install -r requirements_test.txt -r requirements.txt\n    - name: Install Serverless Framework and NPM dependencies\n      run: |\n        npm install -g serverless@2.72.3\n        npm install\n    - name: Deploy\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}\n        DOTENV: ${{ secrets.DOTENV }}\n        AWS_REGION: us-east-1\n        API_URL: https://api-dev.covidactnow.org/v2\n      run: tools/deploy-api-infrastructure.sh dev\n\n  TestDev:\n    if: github.event.inputs.deploy_to_prod == 'true'\n    needs: [DeployDev]\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: '${{env.COVID_DATA_MODEL_REF}}'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.10'\n\n    - name: Install test requirements\n      run: pip install -r requirements_test.txt\n    - name: Run tests\n      run: pytest end_to_end_test.py\n\n  DeployProd:\n    if: github.event.inputs.deploy_to_prod == 'true'\n    needs: [TestDev]\n\n    environment:\n      name: prod\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        ref: '${{env.COVID_DATA_MODEL_REF}}'\n    - uses: actions/setup-node@v1\n      with:\n        node-version: '12.x'\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.10'\n    - name: Install python requirements\n      run: pip install -r requirements_test.txt -r requirements.txt\n    - name: Install Serverless Framework and NPM dependencies\n      run: |\n        npm install -g serverless@2.72.3\n        npm install\n    - name: Deploy\n      env:\n        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n        CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}\n        DOTENV: ${{ secrets.DOTENV }}\n        AWS_REGION: us-east-1\n        API_URL: https://api.covidactnow.org/v2\n      run: tools/deploy-api-infrastructure.sh prod", "state": "active", "repository": "act-now-coalition/covid-data-model"}
{"mined_at": "2024-07-15T18:06:23.034080", "created_at": "2023-06-22T03:41:53+02:00", "updated_at": "2023-06-22T03:41:53+02:00", "name": "Commits", "path": ".github/workflows/commits.yml", "contents": "name: Commits\non:\n  - pull_request\n\npermissions:\n  contents: read\n\njobs:\n  target-branch:\n    permissions:\n      contents: none\n    name: Branch target\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Check branch target\n      env:\n        TARGET: ${{ github.event.pull_request.base.ref }}\n      run: |\n        set -x\n        [ \"${TARGET}\" = \"main\" ] && exit 0\n\n        echo \"Invalid branch target: ${TARGET}\"\n        exit 1\n", "state": "active", "repository": "canonical/pylxd"}
{"mined_at": "2024-07-15T18:06:24.151998", "created_at": "2023-07-13T16:57:10+02:00", "updated_at": "2024-07-04T21:53:47+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\non:\n  - push\n  - pull_request\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    name: Lint\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Repository checkout\n      uses: actions/checkout@v4\n\n    - name: Lint shell files\n      uses: ludeeus/action-shellcheck@master\n\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip tox\n\n    - name: Lint Python files\n      run: |\n        tox -e lint\n\n    - name: Typecheck Python files\n      run: |\n        tox -e check\n\n  tests:\n    name: Tests\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.10\", \"3.11\", \"3.12\"]\n\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Repository checkout\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install dependencies\n      run: |\n        set -x\n\n        sudo apt-get autopurge moby-containerd docker uidmap -y\n        sudo ip link delete docker0\n        sudo nft flush ruleset\n\n        sudo snap refresh lxd\n        sudo adduser \"$USER\" lxd\n        sudo lxd init --auto\n\n        pip install --upgrade pip tox codecov\n\n    - name: Coverage\n      run: |\n        tox -e coverage\n        codecov\n\n    - name: Integration\n      run: |\n        sudo -g lxd integration/run-integration-tests\n\n  publish:\n    name: Publish\n    runs-on: ubuntu-22.04\n    if: startsWith(github.event.ref, 'refs/tags')\n\n    permissions:\n      contents: write\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Create Release\n      uses: ncipollo/release-action@v1\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        name: Release ${{ github.ref }}\n        generateReleaseNotes: true\n", "state": "active", "repository": "canonical/pylxd"}
{"mined_at": "2024-07-15T18:06:25.293091", "created_at": "2024-07-15T10:50:50+02:00", "updated_at": "2024-07-15T10:50:50+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "canonical/pylxd"}
{"mined_at": "2024-07-15T18:06:27.657605", "created_at": "2022-05-20T15:06:03+02:00", "updated_at": "2023-04-26T13:37:28+02:00", "name": "Test and Publish", "path": ".github/workflows/main.yml", "contents": "name: Test and Publish\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - 'main'\n\njobs:\n  checks:\n    uses: ./.github/workflows/checks.yml\n\n  beautify:\n    needs: [ checks ]\n    uses: ./.github/workflows/beautify.yml\n\n  semantic-release:\n    name: Bump Version and Release\n    runs-on: ubuntu-latest\n    concurrency: release\n    needs: [checks, beautify]\n\n    outputs:\n      new_version: ${{ steps.version.outputs.VERSION }}\n      new_sha: ${{ steps.sha.outputs.SHA }}\n\n    steps:\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          ref: ${{ needs.beautify.outputs.new_sha }}\n\n      - name: Install semantic release\n        run: pip install python-semantic-release==7.34.6\n\n      - name: Set git user\n        run: |\n          git config user.name github-actions\n          git config user.email action@github.com\n\n      - name: Run semantic release\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPOSITORY_USERNAME: __token__\n          REPOSITORY_PASSWORD: ${{ secrets.PYPI_PROJECT_API_TOKEN }}\n        run: semantic-release publish\n", "state": "active", "repository": "es-ude/elastic-ai.creator"}
{"mined_at": "2024-07-15T18:06:28.872478", "created_at": "2022-05-20T17:35:56+02:00", "updated_at": "2022-12-15T10:00:16+01:00", "name": "Checks", "path": ".github/workflows/checks.yml", "contents": "name: Checks\non:\n  pull_request:\n  workflow_call:\n\njobs:\n  unit-tests:\n    name: Unit Tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fetch Repository\n        uses: actions/checkout@v3\n      - uses: ./.github/actions/setup_test_environment\n      - run: poetry run python -m pytest -m \"not simulation\" tests elasticai\n\n  lint-commit-messages:\n    name: Lint Commit Messages\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: wagoid/commitlint-github-action@v5\n", "state": "active", "repository": "es-ude/elastic-ai.creator"}
{"mined_at": "2024-07-15T18:06:30.099966", "created_at": "2022-05-22T13:44:23+02:00", "updated_at": "2022-05-22T13:44:23+02:00", "name": "Beautify", "path": ".github/workflows/beautify.yml", "contents": "name: Beautify\non:\n  workflow_call:\n\njobs:\n  # the jobs below are taken from the actions in https://github.com/relekang/python-semantic-release under MIT License\n  beautify:\n    name: Beautify\n    runs-on: ubuntu-latest\n    concurrency: push\n    outputs:\n      new_sha: ${{ steps.sha.outputs.SHA }}\n\n    steps:\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11.x\n\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Install Black\n        run: python -m pip install black\n\n      - name: Beautify with Black\n        run: python -m black .\n\n      - name: Install isort\n        run: python -m pip install isort\n\n      - name: Sort imports\n        run: python -m isort --profile black .\n\n      - name: Commit and push changes\n        uses: actions-x/commit@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          message: 'style: beautify ${{ github.sha }}'\n          name: github-actions\n          email: action@github.com\n\n      - name: Get new SHA\n        id: sha\n        run: |\n          new_sha=$(git rev-parse HEAD)\n          echo \"SHA=$new_sha\" >> $GITHUB_OUTPUT\n", "state": "active", "repository": "es-ude/elastic-ai.creator"}
{"mined_at": "2024-07-15T18:06:31.328977", "created_at": "2023-06-24T10:37:18+02:00", "updated_at": "2023-06-24T10:51:17+02:00", "name": "Coverage", "path": ".github/workflows/coverage.yml", "contents": "name: Coverage\non:\n  pull_request:\n    branches:\n      - main\n\njobs:\n  coverage:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fetch Repository\n        uses: actions/checkout@v3\n\n      - name: Setup environment\n        uses: ./.github/actions/setup_test_environment\n\n      - name: Create coverage report\n        run: poetry run python -m pytest --cov-report xml --cov elasticai.creator  -m \"not simulation\" tests elasticai\n\n      - name: Publish coverage report\n        uses: orgoro/coverage@v3.1\n        with:\n          coverageFile: coverage.xml\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "es-ude/elastic-ai.creator"}
{"mined_at": "2024-07-15T18:06:33.367005", "created_at": "2023-05-14T16:12:33+02:00", "updated_at": "2023-07-04T00:52:07+02:00", "name": "Publish Docker image", "path": ".github/workflows/publish-docker.yml", "contents": "name: Publish Docker image\n\npermissions:\n  packages: write\n  contents: read\n\non:\n  push:\n    branches: [main]\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  build-agixt:\n    uses: josh-xt/AGiXT/.github/workflows/operation-docker-build-publish.yml@main\n    with:\n      registry-dockerhub-enable: ${{ github.event_name != 'pull_request' }}\n      registry-repo-name: AGiXT\n      registry-readme: ./docs/README.md\n      tags: |\n        type=schedule\n        type=ref,event=branch\n        type=semver,pattern={{version}}\n      platforms: linux/amd64,linux/arm64/v8\n    secrets:\n      DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}\n  test-agixt:\n    uses: josh-xt/AGiXT/.github/workflows/operation-test-with-jupyter.yml@main\n    with:\n      notebook: tests/tests.ipynb\n      image: ${{ needs.build-agixt.outputs.primary-image }}\n      port: \"7437\"\n      report-name: \"agixt-tests\"\n      additional-python-dependencies: agixtsdk\n    needs: build-agixt\n  test-completions:\n    uses: josh-xt/AGiXT/.github/workflows/operation-test-with-jupyter.yml@main\n    with:\n      notebook: tests/completions-tests.ipynb\n      image: ${{ needs.build-agixt.outputs.primary-image }}\n      port: \"7437\"\n      report-name: \"completions-tests\"\n      additional-python-dependencies: openai requests python-dotenv\n    needs: build-agixt", "state": "active", "repository": "josh-xt/agixt"}
{"mined_at": "2024-07-15T18:06:34.383516", "created_at": "2023-05-14T20:12:52+02:00", "updated_at": "2023-06-10T02:36:42+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish-python.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n      - name: Build package\n        run: python -m build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "josh-xt/agixt"}
{"mined_at": "2024-07-15T18:06:35.514408", "created_at": "2023-05-14T23:50:15+02:00", "updated_at": "2023-05-14T23:50:15+02:00", "name": "Publish Docker image", "path": ".github/workflows/publish-docker-rest.yml", "contents": null, "state": "active", "repository": "josh-xt/agixt"}
{"mined_at": "2024-07-15T18:06:36.646285", "created_at": "2023-05-14T23:50:15+02:00", "updated_at": "2023-05-14T23:50:15+02:00", "name": "Publish Streamlit Docker image", "path": ".github/workflows/publish-docker-streamlit.yml", "contents": null, "state": "active", "repository": "josh-xt/agixt"}
{"mined_at": "2024-07-15T18:06:37.770618", "created_at": "2023-05-15T13:30:04+02:00", "updated_at": "2023-06-05T15:01:57+02:00", "name": "Build and publish docker containers", "path": ".github/workflows/operation-docker-build-publish.yml", "contents": "name: Build and publish docker containers\n\non:\n  workflow_call:\n    inputs:\n      tags:\n        type: string\n        default: |\n          type=schedule\n          type=ref,event=branch\n          type=ref,event=pr\n          type=semver,pattern={{raw}}\n          type=sha\n      flavor:\n        type: string\n        default: |\n          latest=auto\n          prefix=\n          suffix=\n      build-args:\n        type: string\n      dockerfile:\n        type: string\n        default: Dockerfile\n      context:\n        type: string\n        default: \"{{defaultContext}}\"\n      context-cache:\n        type: string\n        description: a cache key\n        required: false\n      context-repository:\n        type: string\n        description: github repository to use\n      context-repository-ref:\n        type: string\n      push:\n        type: boolean\n        default: true\n      registry-repo-name:\n        type: string\n        default: ${{ github.event.repository.name }}\n      registry-dockerhub-enable:\n        type: boolean\n        default: true\n      registry-github-enable:\n        type: boolean\n        default: true\n      registry-readme:\n        type: string\n        default: https://raw.githubusercontent.com/Josh-XT/AGiXT/main/docs/README.md\n      runs-on:\n        type: string\n        default: ubuntu-latest\n      platforms:\n        type: string\n        default: linux/amd64\n      cache-from:\n        type: string\n        default: type=gha\n      cache-to:\n        type: string\n        default: type=gha,mode=max\n      pre-free-disk-space:\n        type: boolean\n        default: false\n    outputs:\n      digest:\n        description: \"Digest of docker image\"\n        value: ${{ jobs.build_publish_docker.outputs.digest }}\n      primary-image:\n        description: \"Primary full name of pushed docker image\"\n        value: ${{ jobs.build_publish_docker.outputs.primary-image }}\n    secrets:\n      DOCKERHUB_TOKEN:\n        required: false\n\njobs:\n  build_publish_docker:\n    runs-on: ${{ inputs.runs-on }}\n\n    permissions:\n      packages: write\n      contents: read\n\n    outputs:\n      digest: ${{ steps.dockerBuild.outputs.digest }}\n      primary-image: ${{ steps.get-primary-image.outputs.primary-image }}\n\n    steps:\n      - name: Free Disk Space (Ubuntu)\n        if: inputs.pre-free-disk-space\n        uses: jlumbroso/free-disk-space@main\n        with:\n          # this might remove tools that are actually needed,\n          # if set to \"true\" but frees about 6 GB\n          tool-cache: false\n          # all of these default to true, but feel free to set to\n          # \"false\" if necessary for your workflow\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: true\n          swap-storage: true\n\n      - name: Log in to Docker Hub\n        if: inputs.registry-dockerhub-enable\n        uses: docker/login-action@v3\n        with:\n          username: ${{ vars.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Log in to the Github registry\n        if: inputs.registry-github-enable\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Generate dockerhub full repo path\n        if: inputs.registry-dockerhub-enable\n        id: step_one\n        run: |\n          echo \"dockerhub-repo=${{ vars.DOCKERHUB_USERNAME }}/${{ inputs.registry-repo-name }}\" >> \"$GITHUB_ENV\"\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      # Needed for cache layers on github registry\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3.1.0\n\n      ## Cache based contexts\n      - name: Restore cached context\n        if: inputs.context-cache\n        uses: actions/cache/restore@v4.0.1\n        with:\n          path: cached-context\n          key: ${{ inputs.context-cache }}\n          fail-on-cache-miss: true\n\n      - name: Set docker-context for cache\n        if: inputs.context-cache\n        run: echo \"docker-context=cached-context\" >> $GITHUB_ENV\n      ######\n\n      ## Repo based context (fixes submodules etc)\n      - name: Checkout repo\n        uses: actions/checkout@v4.1.1\n        if: inputs.context-repository\n        with:\n          fetch-depth: 1\n\n      - name: Checkout external context\n        uses: actions/checkout@v4.1.1\n        if: inputs.context-repository\n        with:\n          repository: ${{ inputs.context-repository }}\n          ref: ${{ inputs.context-repository-ref }}\n          path: repository-context\n          fetch-depth: 1\n          submodules: false\n\n      - name: Set docker-context for repository\n        if: inputs.context-repository\n        run: echo \"docker-context=repository-context\" >> $GITHUB_ENV\n      ######\n\n      ###### Docker build metadata\n\n      - name: Set image names\n        run: |\n          EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)\n          echo \"image-names<<$EOF\" >> \"$GITHUB_ENV\"\n          if ${{ inputs.registry-dockerhub-enable }} ; then\n            echo \"${{ env.dockerhub-repo }}\" >> \"$GITHUB_ENV\"\n          fi\n          if ${{ inputs.registry-github-enable }} ; then\n            echo \"ghcr.io/${{ github.repository_owner }}/${{ inputs.registry-repo-name }}\" >> \"$GITHUB_ENV\"\n          fi\n          echo \"$EOF\" >> \"$GITHUB_ENV\"\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5.5.1\n        with:\n          images: ${{ env.image-names }}\n          # generate Docker tags based on the following events/attributes\n          tags: ${{ inputs.tags }}\n          flavor: ${{ inputs.flavor }}\n\n      ######\n\n      - name: Build and push Docker images\n        id: dockerBuild\n        uses: docker/build-push-action@v5.1.0\n        with:\n          platforms: ${{ inputs.platforms }}\n          file: ${{ inputs.dockerfile }}\n          context: ${{ env.docker-context || inputs.context }}\n          build-args: ${{ inputs.build-args }}\n          push: ${{ inputs.push }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: ${{ inputs.cache-from }}\n          cache-to: ${{ inputs.cache-to }}\n\n      # publish README on docker hub\n      - uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 1\n\n      ###### Load docker readme file from remote\n\n      - name: Get remote registry readme\n        if: startsWith(inputs.registry-readme, 'https')\n        run: wget ${{ inputs.registry-readme }} -O README.docker.remote.md\n\n      - name: Set registry readme file\n        run: |\n          if ${{ startsWith( inputs.registry-readme, 'https' ) }} ; then\n            echo \"registry-readme=README.docker.remote.md\" >> \"$GITHUB_ENV\"\n          else \n            echo \"registry-readme=${{ inputs.registry-readme }}\" >> \"$GITHUB_ENV\"\n          fi\n      #######\n      - name: Docker Hub Description\n        if: inputs.registry-dockerhub-enable\n        uses: peter-evans/dockerhub-description@v4\n        with:\n          username: ${{ vars.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n          repository: ${{ env.dockerhub-repo }}\n          readme-filepath: ${{ env.registry-readme }}\n\n      - name: Selecting primary image from\n        run: echo \"${{ fromJSON(steps.dockerBuild.outputs.metadata)['image.name'] }}\"\n\n      - name: Primary image will be\n        run: echo \"primary-image=$( cut -d ',' -f 1 <<< \"${{ fromJSON(steps.dockerBuild.outputs.metadata)['image.name'] }}\" )\"\n\n      - name: Set output image\n        id: get-primary-image\n        run: echo \"primary-image=$( cut -d ',' -f 1 <<< \"${{ fromJSON(steps.dockerBuild.outputs.metadata)['image.name'] }}\" )\" >> \"$GITHUB_OUTPUT\"\n", "state": "active", "repository": "josh-xt/agixt"}
{"mined_at": "2024-07-15T18:06:38.919922", "created_at": "2023-05-15T13:30:04+02:00", "updated_at": "2023-05-15T13:30:04+02:00", "name": "Sign off docker containers", "path": ".github/workflows/operation-docker-sign.yml", "contents": "name: Sign off docker containers\n\non:\n  workflow_call:\n    inputs:\n      image-name:\n        required: true\n        type: string\n\njobs:\n  sign_docker:\n    runs-on: ubuntu-latest\n\n    permissions:\n      packages: write\n      contents: read\n\n    steps:\n\n      - name: Install cosign\n        if: github.event_name != 'pull_request'\n        uses: sigstore/cosign-installer@v3\n", "state": "active", "repository": "josh-xt/agixt"}
{"mined_at": "2024-07-15T18:06:40.048522", "created_at": "2023-05-15T15:38:00+02:00", "updated_at": "2023-05-15T15:38:00+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "josh-xt/agixt"}
{"mined_at": "2024-07-15T18:06:41.048486", "created_at": "2023-05-16T13:50:49+02:00", "updated_at": "2023-05-16T13:50:49+02:00", "name": "Publish docs to github pages", "path": ".github/workflows/publish-docs.yml", "contents": "name: Publish docs to github pages\n \non:\n  push:\n    branches: [\"main\"]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    \n      - uses: actions/setup-node@v1\n        with:\n          node-version: v18.x\n      \n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n          \n      - name: Setup Pages\n        uses: actions/configure-pages@v3\n\n      - name: install honkit\n        run: npm install -g honkit gitbook-plugin-github-issue-feedback gitbook-plugin-page-toc-button gitbook-plugin-summary\n      - name: build doc\n        run: honkit build\n      # run it twice for including autogenerated summary\n      - name: build doc\n        run: honkit build\n\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: ./_book\n\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "josh-xt/agixt"}
{"mined_at": "2024-07-15T18:06:42.187078", "created_at": "2023-06-05T15:01:57+02:00", "updated_at": "2024-02-20T13:55:49+01:00", "name": "Run Tests", "path": ".github/workflows/operation-test-with-jupyter.yml", "contents": "name: Run Tests\non:\n  workflow_call:\n    inputs:\n      notebook:\n        type: string\n        required: true\n        description: file to run (ending in .ipynb), can be directory to batch run (without trailing slash)\n      image:\n        type: string\n        required: true\n      port:\n        type: string\n      secondary-image:\n        type: string\n        required: false\n        description: \"Secondary image to run\"\n        default: \"joshxt/safeexecute:latest\"\n      secondary-image-port:\n        type: string\n        required: false\n        description: \"Port for the secondary image\"\n        default: \"5432\"\n      port-mapping:\n        type: string\n      additional-python-dependencies:\n        type: string\n        description: add whatever pip you need here\n      allow-errors:\n        type: boolean\n        description: Fail if there is an error in the execution of the notebook\n        default: false\n      additional-args:\n        type: string\n        description: additional args for nbconvert\n        default: \"--log-level DEBUG\"\n      append-logs:\n        type: boolean\n        default: false\n      clone-repo:\n        type: boolean\n        default: false\n      database-type:\n        type: string\n        default: \"postgresql\"\n        description: \"Database type to use\"\n      db-connected:\n        type: boolean\n        default: true\n        description: \"If the database is connected\"\n      report-name:\n        type: string\n        default: \"test-reports\"\n        description: \"Name of the report\"\n      auth-schema:\n        type: string\n        description: schema to use for authentication\n        default: company\n      sendgrid-api-key:\n        type: string\n        default: none\n        description: Optional sendgrid api-key available as os.getenv('SENDGRID_API_KEY') in your notebook\n      stripe-api-key:\n        type: string\n        default: none\n        description: Optional stripe api-key available as os.getenv('STRIPE_API_KEY') in your notebook\n      default-email:\n        type: string\n        default: none\n        description: Optional default email available as os.getenv('DEFAULT_EMAIL') in your notebook\n    secrets:\n      api-key:\n        description: Optional api-key available as os.getenv('API_KEY') in your notebook\n\njobs:\n  run-tests:\n    runs-on: ubuntu-latest\n    outputs:\n      digest: ${{ steps.dockerBuild.outputs.digest }}\n    services:\n      dbservice:\n        image: postgres:latest\n        ports:\n          - 5432\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n      secondary-service:\n        image: ${{ inputs.secondary-image }}\n        ports:\n          - ${{ inputs.secondary-image-port }}\n        env:\n          DB_CONNECTED: ${{ inputs.db-connected }}\n          DATABASE_TYPE: ${{ inputs.database-type }}\n          DATABASE_HOST: dbservice\n          DATABASE_USER: postgres\n          DATABASE_PASSWORD: postgres\n          DATABASE_PORT: 5432\n          DATABASE_NAME: postgres\n          SCHEMA: ${{ inputs.auth-schema }}\n          LOG_LEVEL: DEBUG\n          MFA_VERIFY: authenticator\n          TZ: America/New_York\n      service-under-test:\n        image: ${{ inputs.image }}\n        ports:\n          - ${{ inputs.port-mapping || format('{0}:{1}', inputs.port, inputs.port) }}\n        env:\n          DB_CONNECTED: ${{ inputs.db-connected }}\n          DATABASE_TYPE: ${{ inputs.database-type }}\n          DATABASE_HOST: dbservice\n          DATABASE_USER: postgres\n          DATABASE_PASSWORD: postgres\n          DATABASE_PORT: 5432\n          DATABASE_NAME: postgres\n          SCHEMA: ${{ inputs.auth-schema }}\n          LOG_LEVEL: DEBUG\n          SENDGRID_API_KEY: ${{ inputs.sendgrid-api-key }}\n          DEFAULT_EMAIL: ${{ inputs.default-email }}\n          DEFAULT_SERVICE: sendgrid\n          MFA_VERIFY: authenticator\n          MODE: development\n          STRIPE_API_KEY: ${{ inputs.stripe-api-key }}\n          TZ: America/New_York\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Checkout\n        uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 1\n\n      - name: Install jupyter\n        run: pip3 install jupyter nbconvert[webpdf]\n      - name: Update package lists and install jupyter output generation dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install --fix-missing -y pandoc texlive-xetex texlive-fonts-recommended texlive-plain-generic\n\n      - name: Clone repository and install package\n        if: inputs.clone-repo\n        run: |\n          git clone https://github.com/${{ github.repository }} /tmp/repo\n          cd /tmp/repo\n          pip3 install .\n\n      - name: Install additional dependencies for notebooks\n        if: inputs.additional-python-dependencies\n        run: pip3 install ${{ inputs.additional-python-dependencies }}\n\n      - name: Set notebook and artifact files\n        run: |\n          notebook=\"${{ inputs.notebook }}\"\n          if ${{ endsWith( inputs.notebook, 'ipynb' ) }} ; then\n            echo \"notebook-file=${notebook}\" >> \"$GITHUB_ENV\"\n            echo \"artifact-file=${notebook%.*}.pdf\"  >> \"$GITHUB_ENV\"\n          else \n            echo \"notebook-file=${notebook}/*.ipynb\" >> \"$GITHUB_ENV\"\n            echo \"artifact-file=${notebook}/*.pdf\"  >> \"$GITHUB_ENV\"\n          fi\n\n      - name: Configure nbconvert args\n        run: echo \"nbconvert-args=--execute ${{ inputs.additional-args }} --to pdf\" >> \"$GITHUB_ENV\"\n\n      - name: Enable switch --allow-errors\n        if: inputs.allow-errors\n        run: echo \"nbconvert-args=${{ env.nbconvert-args }} --allow-errors\"\n\n      - name: Add additional nbconvert args\n        if: inputs.additional-args\n        run: echo \"nbconvert-args=${{ env.nbconvert-args }} ${{ inputs.additional-args }}\"\n\n      - name: Execute notebook\n        env:\n          API_KEY: ${{ secrets.api-key }}\n        run: python3 -m nbconvert ${{ env.nbconvert-args }}  ${{ env.notebook-file }}\n\n      - name: Append test logs\n        if: inputs.append-logs\n        run: |\n          docker logs \"${{ job.services.agixt.id }}\" > /test-output.log\n\n      - name: Append test logs\n        if: inputs.append-logs\n        run: |\n          echo \"artifact-file=${{ env.artifact-file }}\\n/test-output.log\" >> \"$GITHUB_ENV\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: ${{ inputs.report-name }}\n          path: ${{ env.artifact-file }}\n", "state": "active", "repository": "josh-xt/agixt"}
{"mined_at": "2024-07-15T18:06:43.371058", "created_at": "2023-12-13T18:35:58+01:00", "updated_at": "2023-12-13T18:35:58+01:00", "name": "Run TODO to Issue", "path": ".github/workflows/todos.yml", "contents": "name: \"Run TODO to Issue\"\non: [\"push\"]\njobs:\n  build:\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: \"actions/checkout@v3\"\n      - name: \"TODO to Issue\"\n        uses: \"alstr/todo-to-issue-action@v4\"\n", "state": "active", "repository": "josh-xt/agixt"}
{"mined_at": "2024-07-15T18:06:44.948424", "created_at": "2024-01-27T13:12:52+01:00", "updated_at": "2024-02-18T18:48:45+01:00", "name": "Dev - Build and Test", "path": ".github/workflows/publish-docker-dev.yml", "contents": "name: Dev - Build and Test\n\non:\n  push:\n    branches-ignore:\n      - main\n  workflow_dispatch:\n\njobs:\n  build-agixt:\n    runs-on: ubuntu-latest\n    outputs:\n      github_user: ${{ steps.extract_info.outputs.github_user }}\n      repo_name: ${{ steps.extract_info.outputs.repo_name }}\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Extract GitHub info and ensure lowercase\n        id: extract_info\n        run: |\n          echo \"github_user=$(echo ${{ github.actor }} | tr '[:upper:]' '[:lower:]')\" >> $GITHUB_OUTPUT\n          echo \"repo_name=$(echo ${{ github.repository }} | cut -d'/' -f 2 | tr '[:upper:]' '[:lower:]')\" >> $GITHUB_OUTPUT\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          tags: |\n            ghcr.io/${{ steps.extract_info.outputs.github_user }}/${{ steps.extract_info.outputs.repo_name }}:dev\n            ghcr.io/${{ steps.extract_info.outputs.github_user }}/${{ steps.extract_info.outputs.repo_name }}:${{ github.sha }}\n\n  test-agixt:\n    uses: josh-xt/AGiXT/.github/workflows/operation-test-with-jupyter.yml@main\n    with:\n      notebook: tests/tests.ipynb\n      image: ghcr.io/${{ needs.build-agixt.outputs.github_user }}/${{ needs.build-agixt.outputs.repo_name }}:${{ github.sha }}\n      port: \"7437\"\n      report-name: \"agixt-tests\"\n      additional-python-dependencies: agixtsdk\n    needs: build-agixt\n  test-completions:\n      uses: josh-xt/AGiXT/.github/workflows/operation-test-with-jupyter.yml@main\n      with:\n        notebook: tests/completions-tests.ipynb\n        image: ghcr.io/${{ needs.build-agixt.outputs.github_user }}/${{ needs.build-agixt.outputs.repo_name }}:${{ github.sha }}\n        port: \"7437\"\n        report-name: \"completions-tests\"\n        additional-python-dependencies: openai requests python-dotenv\n      needs: build-agixt", "state": "active", "repository": "josh-xt/agixt"}
{"mined_at": "2024-07-15T18:06:46.176774", "created_at": "2024-02-18T18:49:36+01:00", "updated_at": "2024-02-18T18:55:12+01:00", "name": "Code Style Check", "path": ".github/workflows/code-style-check.yml", "contents": "name: Code Style Check\n\non:\n  pull_request:\n    branches:\n      - main\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n\n      - name: Install Python dependencies\n        run: pip install black nbqa\n\n      - name: Run Black on Python files\n        run: black --check $(find . -type f -name \"*.py\")\n", "state": "active", "repository": "josh-xt/agixt"}
{"mined_at": "2024-07-15T18:06:48.431584", "created_at": "2023-02-23T19:12:09+01:00", "updated_at": "2023-02-24T18:39:26+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '24 0 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n\n", "state": "active", "repository": "llm-workflow-engine/llm-workflow-engine"}
{"mined_at": "2024-07-15T18:06:49.546772", "created_at": "2023-09-09T20:19:50+02:00", "updated_at": "2023-09-10T00:39:41+02:00", "name": "Test status", "path": ".github/workflows/python-app.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Test status\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"${{ matrix.python-version }}\"\n    - name: Install PIP\n      run: |\n        python -m pip install --upgrade pip\n    - name: Install testing dependencies\n      run: |\n        pip install pytest pytest-datadir flake8 flake8-bugbear\n    - name: Install app\n      run: |\n        pip install -e .\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Test with pytest\n      run: |\n        pytest\n        # pytest -s tests/system/test_api_backend.py::test_api_backend_get_history\n", "state": "active", "repository": "llm-workflow-engine/llm-workflow-engine"}
{"mined_at": "2024-07-15T18:06:51.590119", "created_at": "2022-04-23T09:27:04+02:00", "updated_at": "2023-06-15T11:07:08+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n          cache: \"pip\"\n          cache-dependency-path: |\n            requirements-dev.txt\n      - run: pip install -r requirements-dev.txt\n      - run: pytest\n", "state": "active", "repository": "talonhub/community"}
{"mined_at": "2024-07-15T18:06:52.597593", "created_at": "2023-07-15T20:23:04+02:00", "updated_at": "2023-07-15T20:23:04+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "talonhub/community"}
{"mined_at": "2024-07-15T18:06:54.881316", "created_at": "2020-09-18T08:49:23+02:00", "updated_at": "2020-09-18T08:49:23+02:00", "name": "Check PyPI Packaging", "path": ".github/workflows/check_pypi_packaging.yml", "contents": "name: \"Check PyPI Packaging\"\n\non:\n  pull_request:\n\njobs:\n  check_pypi_packaging:\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n      - name: Build\n        run: python setup.py sdist bdist_wheel\n", "state": "active", "repository": "uc-davis-molecular-computing/scadnano-python-package"}
{"mined_at": "2024-07-15T18:06:55.920824", "created_at": "2020-09-18T08:49:23+02:00", "updated_at": "2020-09-18T08:49:23+02:00", "name": "Docs Check", "path": ".github/workflows/docs-check.yml", "contents": "name: \"Docs Check\"\r\non: pull_request\r\n\r\njobs:\r\n  docs:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/checkout@v2.3.4\r\n      - name: Set up Python\r\n        uses: actions/setup-python@v2\r\n        with:\r\n          python-version: '3.x'\r\n      - name: Install Sphinx\r\n        run: |\r\n          python -m pip install --upgrade pip\r\n          pip install sphinx sphinx_rtd_theme openpyxl\r\n      - name: Move to docs folder and build\r\n        run: |\r\n          cd doc\r\n          pwd\r\n          sphinx-build -T -E -W -b html . _build\r\n", "state": "active", "repository": "uc-davis-molecular-computing/scadnano-python-package"}
{"mined_at": "2024-07-15T18:06:57.134028", "created_at": "2020-06-28T20:04:28+02:00", "updated_at": "2020-06-28T20:04:28+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: \"release\"\n\non:\n  push:\n    branches:\n      - \"main\"\n\njobs:\n  release:\n    name: \"Release\"\n    runs-on: \"ubuntu-latest\"\n\n    steps:\n      # ...\n      - name: \"Build & test\"\n        run: |\n          echo \"done!\"\n      - uses: \"marvinpinto/action-automatic-releases@latest\"\n        with:\n          repo_token: \"${{ secrets.GITHUB_TOKEN }}\"\n          automatic_release_tag: \"current\"\n          prerelease: false\n          title: \"Development Build [TODO: Replace label and number with version number]\"\n          files: |\n            LICENSE.txt\n\n      # Publish to PyPI\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "uc-davis-molecular-computing/scadnano-python-package"}
{"mined_at": "2024-07-15T18:06:58.341623", "created_at": "2020-09-18T08:49:23+02:00", "updated_at": "2020-09-18T08:49:23+02:00", "name": "Run Unit Tests", "path": ".github/workflows/run_unit_tests.yml", "contents": "name: Run Unit Tests\r\n\r\non: pull_request\r\n\r\njobs:\r\n  build:\r\n\r\n    runs-on: ubuntu-latest\r\n    strategy:\r\n      matrix:\r\n        python-version: [ 3.7, 3.8, 3.9, \"3.10\", \"3.11\" ]\r\n\r\n    steps:\r\n      - uses: actions/checkout@v2\r\n      - name: Set up Python ${{ matrix.python-version }}\r\n        uses: actions/setup-python@v1\r\n        with:\r\n          python-version: ${{ matrix.python-version }}\r\n      - name: Setup conda\r\n        uses: s-weigand/setup-conda@v1\r\n        with:\r\n          activate-conda: true\r\n      - name: Install openpyxl,tabulate with conda\r\n        run: conda install openpyxl=3.0.10 tabulate=0.8.10\r\n      - name: Install docutils with conda\r\n        run: conda install docutils=0.16\r\n      - name: Test with unittest\r\n        run: python -m unittest -v tests/scadnano_tests.py\r\n", "state": "active", "repository": "uc-davis-molecular-computing/scadnano-python-package"}
{"mined_at": "2024-07-15T18:07:00.617561", "created_at": "2022-11-28T12:38:30+01:00", "updated_at": "2023-05-24T10:06:44+02:00", "name": "amd64-fatpack-image-build", "path": ".github/workflows/amd64-fatpack-image.yml", "contents": "name: amd64-fatpack-image-build\n\nconcurrency:\n  group: amd64-fatpack-image-build-${{ github.head_ref }}\n  cancel-in-progress: true\n\non:\n  workflow_dispatch:\n  #push:\n  #  branches: [\"dev\", \"v1.10\"]\n  #  paths:\n  #    - 'build_sdcard.sh'\n  #    - 'home.admin/bitcoin.install.sh'\n  #    - 'home.admin/lnd.install.sh'\n  #    - 'home.admin/cl.install.sh'\n  #    - 'home.admin/cl-plugin.cln-grpc.sh'\n  #    - 'home.admin/tor.install.sh'\n  #    - 'home.admin/blitz.i2pd.sh'\n  #    - 'home.admin/blitz.web.sh'\n  #    - 'home.admin/bonus.nodejs.sh'\n  #    - 'home.admin/bonus.rtl.sh'\n  #    - 'home.admin/bonus.btcpayserver.sh'\n  #    - 'home.admin/bonus.thunderhub.sh'\n  #    - 'home.admin/bonus.jam.sh install'\n  #    - 'home.admin/bonus.mempool.sh'\n  #    - 'home.admin/blitz.web.api.sh'\n  #    - 'home.admin/blitz.web.ui.sh'\n  #    - 'home.admin/blitz.display.sh'\n  #    - 'ci/amd64/**'\n  #pull_request:\n  #  branches: [\"dev\", \"v1.10\"]\n  #  paths:\n  #    - 'build_sdcard.sh'\n  #    - 'home.admin/bitcoin.install.sh'\n  #    - 'home.admin/lnd.install.sh'\n  #    - 'home.admin/cl.install.sh'\n  #    - 'home.admin/cl-plugin.cln-grpc.sh'\n  #    - 'home.admin/tor.install.sh'\n  #    - 'home.admin/blitz.i2pd.sh'\n  #    - 'home.admin/blitz.web.sh'\n  #    - 'home.admin/bonus.nodejs.sh'\n  #    - 'home.admin/bonus.rtl.sh'\n  #    - 'home.admin/bonus.btcpayserver.sh'\n  #    - 'home.admin/bonus.thunderhub.sh'\n  #    - 'home.admin/bonus.jam.sh install'\n  #    - 'home.admin/bonus.mempool.sh'\n  #    - 'home.admin/blitz.web.api.sh'\n  #    - 'home.admin/blitz.web.ui.sh'\n  #    - 'home.admin/blitz.display.sh'\n  #    - 'ci/amd64/**'\n\njobs:\n  amd64-image-build:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set values\n        id: set_values\n        run: |\n          echo \"BUILD_DATE=$(date +\"%Y-%m-%d\")\" >> $GITHUB_ENV\n          echo \"BUILD_VERSION=$(git describe --always --tags)\" >> $GITHUB_ENV\n          if [ -z \"$GITHUB_HEAD_REF\" ]; then\n            echo \"BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})\" >> $GITHUB_ENV\n          else\n            echo \"BRANCH_NAME=${GITHUB_HEAD_REF}\" >> $GITHUB_ENV\n          fi\n          if [[ \"${{github.event_name}}\" == \"pull_request\" ]]; then\n            echo \"GITHUB_USER=${{github.event.pull_request.head.repo.owner.login}}\" >> $GITHUB_OUTPUT\n          else\n            echo \"GITHUB_USER=$(echo ${{github.repository}} | cut -d'/' -f1)\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Display the build name\n        run: echo \"Building the raspiblitz-amd64-debian-image-${{env.BUILD_DATE}}-${{env.BUILD_VERSION}}\"\n\n      - name: Run the build script\n        run: |\n          echo \"Using the variables: --pack fatpack --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot uefi --desktop none\"\n          cd ci/amd64\n          bash packer.build.amd64-debian.sh --pack fatpack --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot uefi --desktop none\n\n      - name: Compute checksum of the raw image\n        run: |\n          cd ci/amd64/builds/raspiblitz-amd64-debian-fatpack-qemu/\n          sha256sum raspiblitz-amd64-debian-fatpack.qcow2 > raspiblitz-amd64-debian-fatpack.qcow2.sha256\n\n      - name: Compress image\n        run: |\n          cd ci/amd64/builds/raspiblitz-amd64-debian-fatpack-qemu/\n          gzip -v9 raspiblitz-amd64-debian-fatpack.qcow2\n\n      - name: Compute checksum of the compressed image\n        run: |\n          cd ci/amd64/builds/raspiblitz-amd64-debian-fatpack-qemu/\n          sha256sum raspiblitz-amd64-debian-fatpack.qcow2.gz > raspiblitz-amd64-debian-fatpack.qcow2.gz.sha256\n\n      - name: Upload the image and checksums\n        uses: actions/upload-artifact@v4\n        with:\n          name: raspiblitz-amd64-image-${{env.BUILD_DATE}}-${{env.BUILD_VERSION}}\n          path: |\n            ${{github.workspace}}/ci/amd64/builds/raspiblitz-amd64-debian-fatpack-qemu/raspiblitz-amd64-debian-fatpack.qcow2.sha256\n            ${{github.workspace}}/ci/amd64/builds/raspiblitz-amd64-debian-fatpack-qemu/raspiblitz-amd64-debian-fatpack.qcow2.gz\n            ${{github.workspace}}/ci/amd64/builds/raspiblitz-amd64-debian-fatpack-qemu/raspiblitz-amd64-debian-fatpack.qcow2.gz.sha256\n", "state": "active", "repository": "raspiblitz/raspiblitz"}
{"mined_at": "2024-07-15T18:07:01.766422", "created_at": "2022-11-28T12:38:30+01:00", "updated_at": "2023-05-24T10:06:44+02:00", "name": "amd64-lean-image-build", "path": ".github/workflows/amd64-lean-image.yml", "contents": "name: amd64-lean-image-build\n\nconcurrency:\n  group: amd64-lean-image-build-${{ github.head_ref }}\n  cancel-in-progress: true\n\non:\n  workflow_dispatch:\n  push:\n    branches: ['dev', 'v1.10']\n    paths:\n      - 'build_sdcard.sh'\n      - 'home.admin/bitcoin.install.sh'\n      - 'home.admin/tor.install.sh'\n      - 'home.admin/blitz.i2pd.sh'\n      - 'home.admin/blitz.web.sh'\n      - 'home.admin/blitz.display.sh'\n      - 'ci/amd64/**'\n  pull_request:\n    branches: ['dev', 'v1.10']\n    paths:\n      - 'build_sdcard.sh'\n      - 'home.admin/bitcoin.install.sh'\n      - 'home.admin/tor.install.sh'\n      - 'home.admin/blitz.i2pd.sh'\n      - 'home.admin/blitz.web.sh'\n      - 'home.admin/blitz.display.sh'\n      - 'ci/amd64/**'\n\njobs:\n  amd64-image-build:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Maximize build space\n        uses: easimon/maximize-build-space@master\n        with:\n          root-reserve-mb: 12288\n          temp-reserve-mb: 12288\n\n      - uses: actions/checkout@v4\n\n      - name: Set values\n        id: set_values\n        run: |\n          echo \"BUILD_DATE=$(date +\"%Y-%m-%d\")\" >> $GITHUB_ENV\n          echo \"BUILD_VERSION=$(git describe --always --tags)\" >> $GITHUB_ENV\n          if [ -z \"$GITHUB_HEAD_REF\" ]; then\n            echo \"BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})\" >> $GITHUB_ENV\n          else\n            echo \"BRANCH_NAME=${GITHUB_HEAD_REF}\" >> $GITHUB_ENV\n          fi\n          if [[ \"${{github.event_name}}\" == \"pull_request\" ]]; then\n            echo \"GITHUB_USER=${{github.event.pull_request.head.repo.owner.login}}\" >> $GITHUB_OUTPUT\n          else\n            echo \"GITHUB_USER=$(echo ${{github.repository}} | cut -d'/' -f1)\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Display the build name\n        run: echo \"Building the raspiblitz-amd64-debian-image-${{env.BUILD_DATE}}-${{env.BUILD_VERSION}}\"\n\n      - name: Run the build script\n        run: |\n          echo \"Using the variables: --pack lean --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot uefi --desktop gnome\"\n          cd ci/amd64\n          bash packer.build.amd64-debian.sh\t--pack lean --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot uefi --desktop gnome\n\n      - name: Compute checksum of the raw image\n        run: |\n          cd ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu\n          sha256sum raspiblitz-amd64-debian-lean.qcow2 > raspiblitz-amd64-debian-lean.qcow2.sha256\n\n      - name: Compress image\n        run: |\n          cd ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu\n          gzip -v9 raspiblitz-amd64-debian-lean.qcow2\n\n      - name: Compute checksum of the compressed image\n        run: |\n          cd ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu\n          sha256sum raspiblitz-amd64-debian-lean.qcow2.gz > raspiblitz-amd64-debian-lean.qcow2.gz.sha256\n\n      - name: Upload the image and checksums\n        uses: actions/upload-artifact@v4\n        with:\n          name: raspiblitz-amd64-image-${{env.BUILD_DATE}}-${{env.BUILD_VERSION}}\n          path: |\n            ${{github.workspace}}/ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu/raspiblitz-amd64-debian-lean.qcow2.sha256\n            ${{github.workspace}}/ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu/raspiblitz-amd64-debian-lean.qcow2.gz\n            ${{github.workspace}}/ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu/raspiblitz-amd64-debian-lean.qcow2.gz.sha256\n", "state": "active", "repository": "raspiblitz/raspiblitz"}
{"mined_at": "2024-07-15T18:07:03.073761", "created_at": "2023-07-26T16:57:16+02:00", "updated_at": "2023-09-28T18:05:12+02:00", "name": "amd64-lean-legacyboot-image-build", "path": ".github/workflows/amd64-lean-legacyboot-image.yml", "contents": "name: amd64-lean-legacyboot-image-build\n\nconcurrency:\n  group: amd64-lean-legacyboot-image-build-${{ github.head_ref }}\n  cancel-in-progress: true\n\non:\n  workflow_dispatch:\n  push:\n    branches: ['dev', 'v1.10']\n    paths:\n      - 'build_sdcard.sh'\n      - 'home.admin/bitcoin.install.sh'\n      - 'home.admin/tor.install.sh'\n      - 'home.admin/blitz.i2pd.sh'\n      - 'home.admin/blitz.web.sh'\n      - 'home.admin/blitz.display.sh'\n      - 'ci/amd64/**'\n  pull_request:\n    branches: ['dev', 'v1.10']\n    paths:\n      - 'build_sdcard.sh'\n      - 'home.admin/bitcoin.install.sh'\n      - 'home.admin/tor.install.sh'\n      - 'home.admin/blitz.i2pd.sh'\n      - 'home.admin/blitz.web.sh'\n      - 'home.admin/blitz.display.sh'\n      - 'ci/amd64/**'\n\njobs:\n  amd64-image-build:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set values\n        id: set_values\n        run: |\n          echo \"BUILD_DATE=$(date +\"%Y-%m-%d\")\" >> $GITHUB_ENV\n          echo \"BUILD_VERSION=$(git describe --always --tags)\" >> $GITHUB_ENV\n          if [ -z \"$GITHUB_HEAD_REF\" ]; then\n            echo \"BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})\" >> $GITHUB_ENV\n          else\n            echo \"BRANCH_NAME=${GITHUB_HEAD_REF}\" >> $GITHUB_ENV\n          fi\n          if [[ \"${{github.event_name}}\" == \"pull_request\" ]]; then\n            echo \"GITHUB_USER=${{github.event.pull_request.head.repo.owner.login}}\" >> $GITHUB_OUTPUT\n          else\n            echo \"GITHUB_USER=$(echo ${{github.repository}} | cut -d'/' -f1)\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Display the build name\n        run: echo \"Building the raspiblitz-amd64-debian-image-${{env.BUILD_DATE}}-${{env.BUILD_VERSION}}\"\n\n      - name: Run the build script\n        run: |\n          echo \"Using the variables: --pack lean --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot bios --desktop none\"\n          cd ci/amd64\n          bash packer.build.amd64-debian.sh\t--pack lean --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot bios --desktop none\n\n      - name: Compute checksum of the raw image\n        run: |\n          cd ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu\n          sha256sum raspiblitz-amd64-debian-lean.qcow2 > raspiblitz-amd64-debian-lean.qcow2.sha256\n\n      - name: Compress image\n        run: |\n          cd ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu\n          gzip -v9 raspiblitz-amd64-debian-lean.qcow2\n\n      - name: Compute checksum of the compressed image\n        run: |\n          cd ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu\n          sha256sum raspiblitz-amd64-debian-lean.qcow2.gz > raspiblitz-amd64-debian-lean.qcow2.gz.sha256\n\n      - name: Upload the image and checksums\n        uses: actions/upload-artifact@v4\n        with:\n          name: raspiblitz-amd64-image-${{env.BUILD_DATE}}-${{env.BUILD_VERSION}}\n          path: |\n            ${{github.workspace}}/ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu/raspiblitz-amd64-debian-lean.qcow2.sha256\n            ${{github.workspace}}/ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu/raspiblitz-amd64-debian-lean.qcow2.gz\n            ${{github.workspace}}/ci/amd64/builds/raspiblitz-amd64-debian-lean-qemu/raspiblitz-amd64-debian-lean.qcow2.gz.sha256\n", "state": "active", "repository": "raspiblitz/raspiblitz"}
{"mined_at": "2024-07-15T18:07:04.207191", "created_at": "2024-03-10T21:35:06+01:00", "updated_at": "2024-04-17T23:44:48+02:00", "name": "arm64-rpi-base-image-build", "path": ".github/workflows/arm64-rpi-base-image.yml", "contents": "name: arm64-rpi-base-image-build\n\nconcurrency:\n  group: arm64-rpi-base-image-build-${{ github.head_ref }}\n  cancel-in-progress: true\n\non:\n  workflow_dispatch:\n  push:\n    branches: ['dev', 'v1.10', 'v1.11']\n    paths:\n      - 'build_sdcard.sh'\n      - 'home.admin/config.scripts/bitcoin.install.sh'\n      - 'home.admin/config.scripts/tor.install.sh'\n      - 'home.admin/config.scripts/blitz.i2pd.sh'\n      - 'home.admin/config.scripts/blitz.web.sh'\n      - 'home.admin/config.scripts/blitz.display.sh'\n      - 'ci/arm64-rpi/**'\n      - 'home.admin/config.scripts/bonus.btc-rpc-explorer.sh'\n      - 'home.admin/config.scripts/bonus.btcpayserver.sh'\n      - 'home.admin/config.scripts/bonus.jam.sh'\n      - 'home.admin/config.scripts/bonus.joinmarket.sh'\n      - 'home.admin/config.scripts/bonus.lnbits.sh'\n      - 'home.admin/config.scripts/bonus.mempool.sh'\n      - 'home.admin/config.scripts/bonus.nodejs.sh'\n      - 'home.admin/config.scripts/bonus.rtl.sh'\n      - 'home.admin/config.scripts/bonus.thunderhub.sh'\n      - 'home.admin/config.scripts/blitz.web.api.sh'\n      - 'home.admin/config.scripts/blitz.web.ui'\n  pull_request:\n    branches: ['dev', 'v1.10', 'v1.11']\n    paths:\n      - 'build_sdcard.sh'\n      - 'home.admin/config.scripts/bitcoin.install.sh'\n      - 'home.admin/config.scripts/tor.install.sh'\n      - 'home.admin/config.scripts/blitz.i2pd.sh'\n      - 'home.admin/config.scripts/blitz.web.sh'\n      - 'home.admin/config.scripts/blitz.display.sh'\n      - 'ci/arm64-rpi/**'\n      - 'home.admin/config.scripts/bonus.btc-rpc-explorer.sh'\n      - 'home.admin/config.scripts/bonus.btcpayserver.sh'\n      - 'home.admin/config.scripts/bonus.jam.sh'\n      - 'home.admin/config.scripts/bonus.joinmarket.sh'\n      - 'home.admin/config.scripts/bonus.lnbits.sh'\n      - 'home.admin/config.scripts/bonus.mempool.sh'\n      - 'home.admin/config.scripts/bonus.nodejs.sh'\n      - 'home.admin/config.scripts/bonus.rtl.sh'\n      - 'home.admin/config.scripts/bonus.thunderhub.sh'\n      - 'home.admin/config.scripts/blitz.web.api.sh'\n      - 'home.admin/config.scripts/blitz.web.ui'\n\njobs:\n  arm64-rpi-base-image-build:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set values\n        id: set_values\n        run: |\n          echo \"BUILD_VERSION=$(git describe --always --tags)\" >> $GITHUB_ENV\n          if [ -z \"$GITHUB_HEAD_REF\" ]; then\n            echo \"BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})\" >> $GITHUB_ENV\n          else\n            echo \"BRANCH_NAME=${GITHUB_HEAD_REF}\" >> $GITHUB_ENV\n          fi\n          if [[ \"${{github.event_name}}\" == \"pull_request\" ]]; then\n            echo \"GITHUB_USER=${{github.event.pull_request.head.repo.owner.login}}\" >> $GITHUB_OUTPUT\n          else\n            echo \"GITHUB_USER=$(echo ${{github.repository}} | cut -d'/' -f1)\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Display the build name\n        run: echo \"Building the raspiblitz-arm64-rpi-base-image\"\n\n      - name: Run the build script\n        run: |\n          echo \"Using the variables: --pack base --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --image_size 18G\"\n          cd ci/arm64-rpi\n          bash packer.build.arm64-rpi.sh --pack base --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --image_size 18G\n\n      - name: Calculate the checksum of the raw image\n        run: |\n          cd ci/arm64-rpi\n          sha256sum raspiblitz-arm64-rpi-base.img > raspiblitz-arm64-rpi-base.img.sha256\n\n      - name: Upload the base image and checksum\n        uses: actions/upload-artifact@v4\n        with:\n          name: raspiblitz-arm64-rpi-base-image-${{ env.BUILD_VERSION }}\n          path: |\n            ${{ github.workspace }}/ci/arm64-rpi/raspiblitz-arm64-rpi-base.img.sha256\n            ${{ github.workspace }}/ci/arm64-rpi/raspiblitz-arm64-rpi-base.img\n", "state": "active", "repository": "raspiblitz/raspiblitz"}
{"mined_at": "2024-07-15T18:07:05.428860", "created_at": "2022-12-08T07:58:53+01:00", "updated_at": "2024-03-12T18:36:50+01:00", "name": "arm64-rpi-lean-image-build", "path": ".github/workflows/arm64-rpi-lean-image.yml", "contents": "name: arm64-rpi-lean-image-build\n\nconcurrency:\n  group: arm64-rpi-lean-image-build-${{ github.head_ref }}\n  cancel-in-progress: true\n\non:\n  workflow_dispatch:\n  push:\n    branches: ['dev', 'v1.10']\n    paths:\n      - 'build_sdcard.sh'\n      - 'home.admin/bitcoin.install.sh'\n      - 'home.admin/tor.install.sh'\n      - 'home.admin/blitz.i2pd.sh'\n      - 'home.admin/blitz.web.sh'\n      - 'home.admin/blitz.display.sh'\n      - 'ci/arm64-rpi/**'\n  pull_request:\n    branches: ['dev', 'v1.10']\n    paths:\n      - 'build_sdcard.sh'\n      - 'home.admin/bitcoin.install.sh'\n      - 'home.admin/tor.install.sh'\n      - 'home.admin/blitz.i2pd.sh'\n      - 'home.admin/blitz.web.sh'\n      - 'home.admin/blitz.display.sh'\n      - 'ci/arm64-rpi/**'\n\njobs:\n  arm64-rpi-image-build:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set values\n        id: set_values\n        run: |\n          echo \"BUILD_DATE=$(date +\"%Y-%m-%d\")\" >> $GITHUB_ENV\n          echo \"BUILD_VERSION=$(git describe --always --tags)\" >> $GITHUB_ENV\n          if [ -z \"$GITHUB_HEAD_REF\" ]; then\n            echo \"BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})\" >> $GITHUB_ENV\n          else\n            echo \"BRANCH_NAME=${GITHUB_HEAD_REF}\" >> $GITHUB_ENV\n          fi\n          if [[ \"${{github.event_name}}\" == \"pull_request\" ]]; then\n            echo \"GITHUB_USER=${{github.event.pull_request.head.repo.owner.login}}\" >> $GITHUB_OUTPUT\n          else\n            echo \"GITHUB_USER=$(echo ${{github.repository}} | cut -d'/' -f1)\" >> $GITHUB_OUTPUT\n          fi\n\n      - name: Display the build name\n        run: echo \"Building the raspiblitz-arm64-rpi-lean-image-${{ env.BUILD_DATE }}-${{ env.BUILD_VERSION }}\"\n\n      - name: Run the build script\n        run: |\n          echo \"Using the variables: --pack lean --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}}\"\n          cd ci/arm64-rpi\n          bash packer.build.arm64-rpi.sh --pack lean --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}}\n\n      - name: Compute checksum of the raw image\n        run: |\n          cd ci/arm64-rpi\n          sha256sum raspiblitz-arm64-rpi-lean.img > raspiblitz-arm64-rpi-lean.img.sha256\n\n      - name: Compress image\n        run: |\n          cd ci/arm64-rpi\n          gzip -v9 raspiblitz-arm64-rpi-lean.img\n\n      - name: Compute checksum of the compressed image\n        run: |\n          cd ci/arm64-rpi\n          sha256sum raspiblitz-arm64-rpi-lean.img.gz > raspiblitz-arm64-rpi-lean.img.gz.sha256\n\n      - name: Upload the image and checksums\n        uses: actions/upload-artifact@v4\n        with:\n          name: raspiblitz-arm64-rpi-image-${{ env.BUILD_DATE }}-${{ env.BUILD_VERSION }}\n          path: |\n            ${{ github.workspace }}/ci/arm64-rpi/raspiblitz-arm64-rpi-lean.img.sha256\n            ${{ github.workspace }}/ci/arm64-rpi/raspiblitz-arm64-rpi-lean.img.gz\n            ${{ github.workspace }}/ci/arm64-rpi/raspiblitz-arm64-rpi-lean.img.gz.sha256\n", "state": "active", "repository": "raspiblitz/raspiblitz"}
{"mined_at": "2024-07-15T18:07:06.862221", "created_at": "2023-12-11T11:34:29+01:00", "updated_at": "2024-04-17T23:44:48+02:00", "name": "Spelling", "path": ".github/workflows/spelling.yml", "contents": "name: Spelling\n\non:\n  workflow_dispatch:\n  push:\n    branches: ['dev', 'v1.10', 'v1.11']\n  pull_request:\n    branches: ['dev', 'v1.10', 'v1.11']\n\njobs:\n  spelling:\n    name: Spell Check with Typos\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Actions Repository\n        uses: actions/checkout@v4\n      - name: Spell Check Repo\n        uses: crate-ci/typos@master\n        with:\n          config: typos.toml\n", "state": "active", "repository": "raspiblitz/raspiblitz"}
{"mined_at": "2024-07-15T18:07:08.090932", "created_at": "2024-03-31T21:57:27+02:00", "updated_at": "2024-04-17T23:44:48+02:00", "name": "Test bats", "path": ".github/workflows/test-bats.yml", "contents": "name: Test bats\n\nconcurrency:\n  group: test-bats-${{ github.head_ref }}\n  cancel-in-progress: true\n\non:\n  workflow_dispatch:\n  push:\n    branches: [\"dev\"]\n    paths:\n      - \"home.admin/config.scripts/bonus.postgresql.sh\"\n  pull_request:\n    branches: [\"dev\"]\n    paths:\n      - \"home.admin/config.scripts/bonus.postgresql.sh\"\n\njobs:\n  run-bats-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Install bats\n        run: |\n          sudo apt update &>/dev/null\n          sudo apt install -y bats\n\n      - name: Run the bats tests with postgresql 15\n        run: |\n          cd test\n          sudo bats ./bonus.postgresql-15.bats\n\n      - name: Run the bats tests with postgresql 13\n        run: |\n          cd test\n          sudo bats ./bonus.postgresql-13.bats\n", "state": "active", "repository": "raspiblitz/raspiblitz"}
{"mined_at": "2024-07-15T18:07:09.202917", "created_at": "2024-04-07T08:53:41+02:00", "updated_at": "2024-04-07T08:53:41+02:00", "name": "Test Shellcheck", "path": ".github/workflows/test-shellcheck.yml", "contents": null, "state": "active", "repository": "raspiblitz/raspiblitz"}
{"mined_at": "2024-07-15T18:07:10.295583", "created_at": "2022-09-27T19:45:14+02:00", "updated_at": "2022-09-27T19:45:14+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "raspiblitz/raspiblitz"}
{"mined_at": "2024-07-15T18:07:12.514444", "created_at": "2023-01-25T12:53:29+01:00", "updated_at": "2023-01-25T17:28:57+01:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - \"main\"\n  workflow_dispatch:\n\njobs:\n  commitlint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: run commitlint\n        uses: wagoid/commitlint-github-action@v5\n\n  flake8:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: run flake\n        uses: ./.github/actions/run-flake\n\n  isort:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: run isort\n        uses: ./.github/actions/run-isort\n\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: black\n        uses: psf/black@stable\n        with:\n          version: \"22.12.0\"\n\n  all-tests:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Setup\n        uses: ./.github/actions/setup\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: All tests\n        uses: ./.github/actions/all-tests\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          env_vars: OS,PYTHON\n          fail_ci_if_error: false\n          files: ./coverage.xml\n          flags: \"unittests-${{ matrix.python-version }}\"\n          name: codecov-umbrella\n          verbose: true\n\n  build-and-test-image:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Build and test the container image\n      uses: ./.github/actions/image-test\n", "state": "active", "repository": "ansible/ansible-rulebook"}
{"mined_at": "2024-07-15T18:07:13.581348", "created_at": "2023-01-31T15:31:30+01:00", "updated_at": "2023-02-08T15:15:38+01:00", "name": "Scheduled full tests", "path": ".github/workflows/scheduled.yml", "contents": "name: Scheduled full tests\n\non:\n  schedule:\n    # Run at 10:00 AM/PM UTC\n    - cron: \"0 10,22 * * *\"\n  workflow_dispatch:\n\njobs:\n  flake8:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: run flake\n        uses: ./.github/actions/run-flake\n\n  isort:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: run isort\n        uses: ./.github/actions/run-isort\n\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: black\n        uses: psf/black@stable\n        with:\n          version: \"22.12.0\"\n\n  common-tests:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Setup\n        uses: ./.github/actions/setup\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: All tests\n        uses: ./.github/actions/all-tests\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          env_vars: OS,PYTHON\n          fail_ci_if_error: false\n          files: ./coverage.xml\n          flags: \"unittests-${{ matrix.python-version }}\"\n          name: codecov-umbrella\n          verbose: true\n\n      - name: Notify to slack if failure\n        if: ${{ failure() }}\n        uses: rtCamp/action-slack-notify@v2\n        env:\n          SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}\n          SLACK_USERNAME: GH Slack Notifier for EDA\n          SLACK_TITLE: Failure of scheduled tests for ansible-rulebook\n          SLACK_MESSAGE: |\n            Scheduled tests for ansible-rulebook failed.\n            Id: ${{ github.run_id }}\"\n            Workflow: ${{ github.workflow }}\n", "state": "active", "repository": "ansible/ansible-rulebook"}
{"mined_at": "2024-07-15T18:07:14.579655", "created_at": "2023-03-07T15:17:49+01:00", "updated_at": "2023-03-07T15:17:49+01:00", "name": "Build Image", "path": ".github/workflows/build-image.yml", "contents": "name: Build Image\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - \"v*\"\n\nenv:\n  REGISTRY: quay.io\n  IMAGE_NAME: ansible/ansible-rulebook\n  QUAY_USER: ansible+eda_gha\n\njobs:\n  build-and-test-image:\n    if: github.repository == 'ansible/ansible-rulebook'\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Build and test the container image\n      uses: ./.github/actions/image-test\n\n  build-and-push-image:\n    needs: build-and-test-image\n    if: github.repository == 'ansible/ansible-rulebook'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ env.QUAY_USER }}\n          password: ${{ secrets.QUAY_PASSWORD }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "ansible/ansible-rulebook"}
{"mined_at": "2024-07-15T18:07:16.796298", "created_at": "2021-05-27T14:40:10+02:00", "updated_at": "2023-02-28T06:29:00+01:00", "name": "viash test", "path": ".github/workflows/viash-test.yml", "contents": "name: viash test\n\non:\n  pull_request:\n  push:\n    branches: [ '**' ]\n\njobs:\n  run_ci_check_job:\n    runs-on: ubuntu-latest\n    outputs:\n      run_ci: ${{ steps.github_cli.outputs.check }}\n    steps:\n      - name: 'Check if branch has an existing pull request and the trigger was a push'\n        id: github_cli\n        run: |\n          pull_request=$(gh pr list -R ${{ github.repository }} -H ${{ github.ref_name }} --json url --state open --limit 1 | jq '.[0].url')\n          # If the branch has a PR and this run was triggered by a push event, do not run\n          if [[ \"$pull_request\" != \"null\" && \"$GITHUB_REF_NAME\" != \"main\" && \"${{ github.event_name == 'push' }}\" == \"true\" && \"${{ !contains(github.event.head_commit.message, 'ci force') }}\" == \"true\" ]]; then\n            echo \"check=false\" >> $GITHUB_OUTPUT\n          else\n            echo \"check=true\" >> $GITHUB_OUTPUT\n          fi\n        env:\n          GITHUB_TOKEN: ${{ secrets.GTHB_PAT }}\n\n  # phase 1\n  list:\n    needs: run_ci_check_job\n    env:\n      s3_bucket: s3://openpipelines-data/\n    runs-on: ubuntu-latest\n    if: ${{ needs.run_ci_check_job.outputs.run_ci == 'true'}}\n\n    outputs:\n      matrix: ${{ steps.set_matrix.outputs.matrix }}\n      cache_key: ${{ steps.cache.outputs.cache_key }}\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0 \n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - name: Check if all config can be parsed if there is no unicode support\n      run: |\n        LANG=C viash ns list > /dev/null\n\n    - uses: viash-io/viash-actions/project/sync-and-cache-s3@v5\n      id: cache\n      with:\n        s3_bucket: $s3_bucket\n        dest_path: resources_test\n        cache_key_prefix: resources_test__\n\n    - id: ns_list\n      uses: viash-io/viash-actions/ns-list@v5\n      with:\n        platform: docker\n        format: json\n        query_namespace: ^(?!workflows)\n\n    - id: ns_list_filtered\n      uses: viash-io/viash-actions/project/detect-changed-components@v5\n      with:\n        input_file: \"${{ steps.ns_list.outputs.output_file }}\"\n\n    - id: set_matrix\n      run: |\n        echo \"matrix=$(jq -c '[ .[] | \n          { \n            \"name\": .functionality.name,\n            \"namespace_separator\": .platforms | map(select(.type == \"docker\"))[0].namespace_separator,\n            \"namespace\": .functionality.namespace,\n            \"config\": .info.config,\n            \"dir\": .info.config | capture(\"^(?<dir>.*\\/)\").dir\n          }\n        ]' ${{ steps.ns_list_filtered.outputs.output_file }} )\" >> $GITHUB_OUTPUT\n\n  # phase 2\n  viash_test:\n    needs: list\n    if: ${{ needs.list.outputs.matrix != '[]' && needs.list.outputs.matrix != '' }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        component: ${{ fromJson(needs.list.outputs.matrix) }}\n\n    steps:\n    # Remove unnecessary files to free up space. Otherwise, we get 'no space left on device.'\n    - uses: data-intuitive/reclaim-the-bytes@v2\n\n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    # use cache\n    - name: Cache resources data\n      id: restore_cache\n      uses: actions/cache/restore@v4\n      env:\n        SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5\n      with:\n        path: resources_test\n        key: ${{ needs.list.outputs.cache_key }}\n\n    - name: Sync if caching failed\n      shell: bash\n      if: steps.restore_cache.outputs.cache-hit != 'true'\n      run: |\n        readarray -t resources < <(viash config view --format json \"${{ matrix.component.config }}\" | jq -r -c '(.info.config | capture(\"^(?<dir>.*\\/)\").dir) as $dir | .functionality.test_resources | map(select(.type == \"file\")) | map($dir + .path) | unique | .[]')\n        for resource in \"${resources[@]}\"; do\n          if [[ $resource == *\"resources_test\"* ]]; then\n            relative_path=${resource#*resources_test/}\n            relative_path_trailing_slash_removed=${relative_path%/}\n            s3_path=\"s3://openpipelines-data/$relative_path_trailing_slash_removed\"\n            s3_lookup=$(AWS_EC2_METADATA_DISABLED=true aws s3 ls --no-sign-request \"$s3_path\" 2>&1)\n            extra_args=()\n            if [[ $s3_lookup =~ .*/$ ]]; then\n              extra_args+=(\"--recursive\")\n            fi\n            AWS_EC2_METADATA_DISABLED=true \\\n            aws s3 cp \\\n            \"$s3_path\" \\\n            \"$resource\" \\\n            --no-sign-request \\\n            \"${extra_args[@]}\"\n          fi\n        done\n\n    - name: Remove unused test resources to save space (only when restoring from cache)\n      if: steps.restore_cache.outputs.cache-hit == 'true'\n      shell: bash\n      run: |\n        readarray -t resources < <(viash config view --format json \"${{ matrix.component.config }}\" | jq -r -c '(.info.config | capture(\"^(?<dir>.*\\/)\").dir) as $dir | .functionality.test_resources | map(select(.type == \"file\")) | map($dir + .path) | unique | .[]')\n        to_not_remove=()\n        for resource in \"${resources[@]}\"; do\n          if [[ $resource == *\"resources_test\"* ]]; then\n            relative_path=${resource#*resources_test/}\n            relative_path_trailing_slash_removed=${relative_path%/}\n            to_not_remove+=(\"-path\" \"./resources_test/$relative_path_trailing_slash_removed\" \"-prune\" \"-o\")\n          fi\n        done\n        # Remove last prune and -o\n        if (( ${#errors[@]} )); then\n          unset 'to_not_remove[${#to_not_remove[@]}-1]'\n          unset 'to_not_remove[${#to_not_remove[@]}-1]'\n          to_not_remove+=( \"(\" \"${to_not_remove[@]}\" \")\" \"-prune\" \"-o\")\n        fi\n        find ./resources_test/ \"${to_not_remove[@]}\" -type f -exec rm {} +\n\n    - name: Login to the nvidia container registry\n      uses: docker/login-action@v3\n      env: \n          NVIDIA_PASSWORD: ${{ secrets.NVIDIA_PASSWORD }}\n      if: ${{ env.NVIDIA_PASSWORD != '' }}\n      with:\n        registry: nvcr.io\n        username: $oauthtoken\n        password: ${{ env.NVIDIA_PASSWORD }}\n\n    - name: Run test\n      timeout-minutes: 40\n      run: |\n        viash test \\\n          \"${{ matrix.component.config }}\" \\\n          --cpus 4 \\\n          --memory \"14gb\"\n\n", "state": "active", "repository": "openpipelines-bio/openpipeline"}
{"mined_at": "2024-07-15T18:07:18.027289", "created_at": "2022-06-27T20:14:47+02:00", "updated_at": "2024-01-18T11:28:19+01:00", "name": "integration test", "path": ".github/workflows/integration-test.yml", "contents": "name: integration test\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: false\n\non:\n  workflow_dispatch:\n    inputs:\n      push_containers:\n        type: boolean\n        required: false\n        default: true\n        description: Build docker images and push them to the registry\n  schedule:\n    - cron: '33 2 * * *'\n\njobs:\n  # Build and create containers\n  build:\n    uses: ./.github/workflows/main-build.yml\n    with:\n      push_containers: ${{ github.event_name == 'schedule' || inputs.push_containers }}\n      version: 'integration_build'\n      target_tag: 'integration_build'\n      deploy_branch: 'integration_build'\n    secrets: inherit\n\n  # Synchronize S3 Bucket and create cache for per-component runs\n  sync_s3:\n    env:\n      s3_bucket: s3://openpipelines-data/\n    runs-on: ubuntu-latest\n\n    outputs:\n      cache_key: ${{ steps.cache.outputs.cache_key }}\n\n    steps:\n    - uses: viash-io/viash-actions/project/sync-and-cache-s3@v5\n      id: cache \n      with:\n        s3_bucket: $s3_bucket\n        dest_path: resources_test\n        cache_key_prefix: resources_test__\n\n  # phase 3\n  integration_test:\n    runs-on: ubuntu-latest\n    needs: [ build, sync_s3 ]\n    if: \"${{ needs.build.outputs.workflow_matrix != '[]' }}\"\n\n    strategy:\n      fail-fast: false\n      matrix:\n        component: ${{ fromJson(needs.build.outputs.workflow_matrix) }}\n\n    steps:\n    # Remove unnecessary files to free up space. Otherwise, we get 'no space left on device.'\n    - uses: data-intuitive/reclaim-the-bytes@v2\n    \n    - name: Keep symlinks as-is\n      run: |\n        git config --global core.symlinks true\n\n    - uses: actions/checkout@v4\n      with:\n        ref: 'integration_build'\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - uses: nf-core/setup-nextflow@v2.0.0\n\n    # use cache\n    - name: Cache resources data\n      uses: actions/cache@v4\n      timeout-minutes: 5\n      with:\n        path: resources_test\n        key: ${{ needs.sync_s3.outputs.cache_key }}\n        fail-on-cache-miss: true\n\n    - name: Remove unused test resources to save space\n      shell: bash\n      run: |\n        readarray -t resources < <(viash config view --format json \"${{ matrix.component.config }}\" -c 'del(.functionality.dependencies)' | jq -r -c '(.info.config | capture(\"^(?<dir>.*\\/)\").dir) as $dir | .functionality.test_resources | map(select(.type == \"file\")) | map($dir + .path) | unique | .[]')\n        to_not_remove=()\n        for resource in \"${resources[@]}\"; do\n          if [[ $resource == *\"resources_test\"* ]]; then\n            relative_path=${resource#*resources_test/}\n            relative_path_trailing_slash_removed=${relative_path%/}\n            to_not_remove+=(\"-path\" \"./resources_test/$relative_path_trailing_slash_removed\" \"-prune\" \"-o\")\n          fi\n        done\n        # Remove last prune and -o\n        if (( ${#errors[@]} )); then\n          unset 'to_not_remove[${#to_not_remove[@]}-1]'\n          unset 'to_not_remove[${#to_not_remove[@]}-1]'\n          to_not_remove+=( \"(\" \"${to_not_remove[@]}\" \")\" \"-prune\" \"-o\")\n        fi\n        echo \"Not removing ${to_not_remove[@]}\"\n        find ./resources_test/ \"${to_not_remove[@]}\" -type f -exec rm {} +\n        tree ./resources_test/\n\n    - name: Run integration test\n      timeout-minutes: 60\n      run: |\n        # todo: replace with viash test command\n        export NXF_VER=22.04.5\n        nextflow run . \\\n          -main-script \"${{ matrix.component.main_script }}\" \\\n          -entry \"${{ matrix.component.entry }}\" \\\n          -profile docker,mount_temp,no_publish \\\n          -c src/workflows/utils/labels_ci.config \\\n          -c src/workflows/utils/integration_tests.config\n", "state": "active", "repository": "openpipelines-bio/openpipeline"}
{"mined_at": "2024-07-15T18:07:19.174694", "created_at": "2022-07-15T10:43:51+02:00", "updated_at": "2024-04-24T09:23:07+02:00", "name": "Build", "path": ".github/workflows/main-build.yml", "contents": "name: Build\nconcurrency: \n  group: ${{ github.workflow }}-${{ inputs.deploy_branch && inputs.deploy_branch || format('{0}_build', github.ref_name) }}\n  cancel-in-progress: true\n\non:\n  workflow_dispatch:\n    inputs:\n      push_containers:\n        type: boolean\n        required: false\n        default: false\n        description: Build docker images and push them to the registry\n      version:\n        type: string\n        required: false\n        description: |\n          Version to tag the build components with (e.i functionality.version).\n          Defaults to name of the branch that triggered the workflow, suffixed by \"_build\".\n      target_tag:\n        type: string\n        required: false\n        description: |\n          Version tag of containers to use. Defaults to name of the branch that triggered the workflow, \n          suffixed by \"_build\". Can be used in combination with 'push_containers' (by unchecking it)\n          to re-use existing docker images or set the tag for new builds.\n\n  # when used as a subworkflow\n  workflow_call:\n    inputs:\n      push_containers:\n        type: boolean\n        required: false\n        default: false\n        description: push the containers to the registry\n      version:\n        type: string\n        required: false\n        description: |\n          Version to tag the build components with (e.i functionality.version).\n          Defaults to name of the branch that triggered the workflow, suffixed by \"_build\".\n      target_tag:\n        type: string\n        required: false\n        description: |\n          Version tag of containers to use. Defaults to name of the branch that triggered the workflow, \n          suffixed by \"_build\". Can be used in combination with 'push_containers' (by setting it to 'false')\n          to re-use existing docker images or set the tag for new builds.\n      deploy_branch:\n        type: string\n        required: false\n        description: |\n          Branch to deploy the build to. Defaults to name of the branch \n          that triggered the workflow, suffixed by \"_build\".\n      is_workflow_call:\n          description: |\n            Flag to destinguish between a 'workflow_call' and 'workflow_dispatch'.\n            github.event_name can not be used for this because it refers to the event of\n            the top-level workflow. See https://github.com/actions/runner/issues/3146\n          type: boolean\n          required: false\n          default: true\n    outputs:\n      component_matrix:\n        description: \"A JSON object that can be used to populate a github actions matrix for component jobs.\"\n        value: ${{ jobs.build_and_deploy_target_folder.outputs.component_matrix }}\n      workflow_matrix:\n        description: \"A JSON object that can be used to populate a github actions matrix for workflow jobs.\"\n        value: ${{ jobs.build_and_deploy_target_folder.outputs.workflow_matrix}}\n    secrets:\n      GTHB_USER:\n        required: true \n      GTHB_PAT:\n        required: true\n  push:\n    branches: [ 'main' ]\n\n\njobs:\n  # phase 1\n  build_and_deploy_target_folder:\n    name: \"Build and push target folder\"\n    runs-on: ubuntu-latest\n\n    outputs:\n      component_matrix: ${{ steps.set_matrix.outputs.components }}\n      workflow_matrix: ${{ steps.set_matrix.outputs.workflows }}\n\n    env:\n      DEPLOY_BRANCH: ${{ !inputs.deploy_branch && format('{0}_build', github.ref_name) || inputs.deploy_branch  }}\n\n    steps:\n    - name: Do not allow manual trigger if the branch is main\n      # github.event_name is the event of the top-level workflow, so use dummy 'is_workflow_call' input\n      if: ${{ github.event_name != 'push' && (!inputs.is_workflow_call) && github.ref == 'refs/heads/main' }}\n      run: |\n        echo \"This workflow should not be triggered with workflow_dispatch from the main branch\"\n        exit 1\n    - name: Check input arguments\n      run: |\n        input_version=\"${{ inputs.version || format('{0}_build', github.ref_name) }}\"\n        target_tag=\"${{ github.event_name == 'push' && (inputs.version || format('{0}_build', github.ref_name)) || inputs.target_tag }}\"\n        should_push=\"${{inputs.push_containers }}\"\n        if [ \"$input_version\" != \"$target_tag\" ] && [ \"$should_push\" == \"true\" ]; then\n          echo \"When trying to push new docker images, the tag for the components must be equal to the target_tag for the docker images.\"\n          exit 1\n        fi\n\n    - name: Keep symlinks as-is\n      run: |\n        git config --global core.symlinks true\n\n    - name: Branch to checkout (use existing target branch if it exists)\n      id: get_checkout_branch\n      run: |\n        if ! git ls-remote --heads --exit-code https://github.com/openpipelines-bio/openpipeline.git \"$DEPLOY_BRANCH\" > /dev/null; then\n          echo \"Remote branch does not exist, fetching current branch and building on top of it\"\n          echo \"checkout_branch=${{ github.ref_name }}\" >> \"$GITHUB_OUTPUT\"\n        else\n          echo \"Remote branch exists, checking out existing branch\"\n          echo \"checkout_branch=$DEPLOY_BRANCH\" >> \"$GITHUB_OUTPUT\"\n        fi\n  \n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ steps.get_checkout_branch.outputs.checkout_branch }}\n        fetch-depth: 0\n\n    - name: Fetch changes from ${{github.ref_name}} \n      run: |\n        git fetch origin ${{github.ref_name}} \n        git checkout -f --no-overlay origin/${{github.ref_name}} -- '.'\n    \n    - uses: viash-io/viash-actions/setup@v5\n\n    - name: Remove target folder from .gitignore\n      run: |\n        # allow publishing the target folder\n        sed -i '/^\\/target\\/$/d' .gitignore\n\n    - uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: |\n          .functionality.version := \"${{ inputs.version || format('{0}_build', github.ref_name) }}\"\n          .platforms[.type == 'docker'].target_tag := '${{ github.event_name == 'push' && (inputs.version || format('{0}_build', github.ref_name)) || inputs.target_tag }}'\n        parallel: true\n        query: ^(?!workflows)\n    \n    - uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: .functionality.version := \"${{ inputs.version || format('{0}_build', github.ref_name) }}\"\n        parallel: true\n        query: ^workflows\n  \n    - name: Build nextflow schemas\n      uses: viash-io/viash-actions/pro/build-nextflow-schemas@v5\n      with:\n        components: src\n        workflows: src\n        viash_pro_token: ${{ secrets.GTHB_PAT }}\n        tools_version: 'main_build'\n        enable_dataset_input: true\n   \n    - name: Build parameter files\n      uses: viash-io/viash-actions/pro/build-nextflow-params@v5\n      with:\n        workflows: src\n        components: src\n        viash_pro_token: ${{ secrets.GTHB_PAT }}\n        tools_version: 'main_build'\n\n    - name: Deploy to target branch\n      uses: stefanzweifel/git-auto-commit-action@v5\n      with:\n        create_branch: true\n        commit_message: \"deploy: ${{github.sha}}\"\n        skip_dirty_check: true\n        branch:  ${{ !inputs.deploy_branch && format('{0}_build', github.ref_name) || inputs.deploy_branch  }}\n    - name: \"List components\"\n      id: ns_list\n      uses: viash-io/viash-actions/ns-list@v5\n      with:\n        platform: docker\n        src: src\n        format: json\n        query_namespace: ^(?!workflows)\n\n    - name: \"List workflows\"\n      id: ns_list_workflows\n      uses: viash-io/viash-actions/ns-list@v5\n      with:\n        src: src\n        format: json\n        query_namespace: ^workflows\n\n    - name: \"Parse JSON output from 'viash ns list' as input for matrix.\"\n      id: set_matrix\n      run: |\n        echo \"components=$(jq -c '[ .[] | \n          { \n            \"name\": .functionality.name,\n            \"namespace_separator\": .platforms | map(select(.type == \"docker\"))[0].namespace_separator,\n            \"namespace\": .functionality.namespace,\n            \"config\": .info.config,\n            \"dir\": .info.config | capture(\"^(?<dir>.*\\/)\").dir\n          }\n        ]' ${{ steps.ns_list.outputs.output_file }} )\" >> $GITHUB_OUTPUT\n\n        echo \"workflows=$(jq -c '[ .[] | . as $config | (.functionality.test_resources // [])[] | select(.type == \"nextflow_script\", .entrypoint) |\n        { \n          \"name\": $config.functionality.name,\n          \"namespace\": $config.functionality.namespace,\n          \"main_script\": (($config.info.config | capture(\"^(?<dir>.*\\/)\").dir) + \"/\" + .path),\n          \"entry\": .entrypoint,\n          \"config\": $config.info.config\n        }\n        ] | unique' ${{ steps.ns_list_workflows.outputs.output_file }} )\" >> $GITHUB_OUTPUT\n\n  # phase 2\n  build_and_deploy_docker_containers:\n    name: \"Build and Deploy Docker Images\"\n    needs: build_and_deploy_target_folder\n    if: ${{github.event_name == 'push' || inputs.push_containers }}\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        component: ${{ fromJson(needs.build_and_deploy_target_folder.outputs.component_matrix) }}\n\n    steps:\n    # Remove unnecessary files to free up space. Otherwise, we get 'no space left on device.'\n    - uses: data-intuitive/reclaim-the-bytes@v2\n\n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - name: Build container\n      uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: |\n          .functionality.version := \"${{ inputs.version || format('{0}_build', github.ref_name) }}\"\n          .platforms[.type == 'docker'].target_tag := '${{ github.event_name == 'push' && 'main_build' || inputs.target_tag }}'\n        platform: docker\n        src: ${{ matrix.component.dir }}\n        setup: build\n        \n    - name: Login to container registry\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ secrets.GTHB_USER }}\n        password: ${{ secrets.GTHB_PAT }}\n\n    - name: Push container\n      uses: viash-io/viash-actions/ns-build@v5\n      with:\n        config_mod: .functionality.version := \"${{ inputs.version || format('{0}_build', github.ref_name) }}\"\n        platform: docker\n        src: ${{ matrix.component.dir }}\n        setup: push", "state": "active", "repository": "openpipelines-bio/openpipeline"}
{"mined_at": "2024-07-15T18:07:20.279697", "created_at": "2022-08-09T05:58:04+02:00", "updated_at": "2024-04-24T09:23:30+02:00", "name": "release build", "path": ".github/workflows/release-build.yml", "contents": "name: release build\n\non: \n  workflow_dispatch:\n    inputs:\n      version_tag:\n        description: Version tag\n        required: true\n\njobs:\n  # Build and create containers\n  build:\n    uses: ./.github/workflows/main-build.yml\n    with:\n      push_containers: true\n      version: ${{ inputs.version_tag }}\n      target_tag: ${{ inputs.version_tag }}\n      deploy_branch: release\n    secrets: inherit\n\n  # Synchronize S3 Bucket and create cache for per-component runs\n  sync_s3:\n    env:\n      s3_bucket: s3://openpipelines-data/\n    runs-on: ubuntu-latest\n\n    outputs:\n      cache_key: ${{ steps.cache.outputs.cache_key }}\n\n    steps:\n    - uses: viash-io/viash-actions/project/sync-and-cache-s3@v5\n      id: cache \n      with:\n        s3_bucket: $s3_bucket\n        dest_path: resources_test\n        cache_key_prefix: resources_test__\n  \n  # phase 3\n  integration_test:\n    runs-on: ubuntu-latest\n    needs: [ build, sync_s3 ]\n    if: \"${{ needs.build.outputs.workflow_matrix != '[]' }}\"\n\n    strategy:\n      fail-fast: false\n      matrix:\n        component: ${{ fromJson(needs.build.outputs.workflow_matrix) }}\n\n    steps:\n    # Remove unnecessary files to free up space. Otherwise, we get 'no space left on device.'\n    - uses: data-intuitive/reclaim-the-bytes@v2\n    \n    - name: Keep symlinks as-is\n      run: |\n        git config --global core.symlinks true\n\n    - uses: actions/checkout@v4\n      with:\n        ref: 'integration_build'\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - uses: nf-core/setup-nextflow@v2.0.0\n\n    # use cache\n    - name: Cache resources data\n      uses: actions/cache@v4\n      timeout-minutes: 5\n      with:\n        path: resources_test\n        key: ${{ needs.sync_s3.outputs.cache_key }}\n        fail-on-cache-miss: true\n\n    - name: Remove unused test resources to save space\n      shell: bash\n      run: |\n        readarray -t resources < <(viash config view --format json \"${{ matrix.component.config }}\" -c 'del(.functionality.dependencies)' | jq -r -c '(.info.config | capture(\"^(?<dir>.*\\/)\").dir) as $dir | .functionality.test_resources | map(select(.type == \"file\")) | map($dir + .path) | unique | .[]')\n        to_not_remove=()\n        for resource in \"${resources[@]}\"; do\n          if [[ $resource == *\"resources_test\"* ]]; then\n            relative_path=${resource#*resources_test/}\n            relative_path_trailing_slash_removed=${relative_path%/}\n            to_not_remove+=(\"-path\" \"./resources_test/$relative_path_trailing_slash_removed\" \"-prune\" \"-o\")\n          fi\n        done\n        # Remove last prune and -o\n        if (( ${#errors[@]} )); then\n          unset 'to_not_remove[${#to_not_remove[@]}-1]'\n          unset 'to_not_remove[${#to_not_remove[@]}-1]'\n          to_not_remove+=( \"(\" \"${to_not_remove[@]}\" \")\" \"-prune\" \"-o\")\n        fi\n        echo \"Not removing ${to_not_remove[@]}\"\n        find ./resources_test/ \"${to_not_remove[@]}\" -type f -exec rm {} +\n        tree ./resources_test/\n\n    - name: Run integration test\n      timeout-minutes: 60\n      run: |\n        # todo: replace with viash test command\n        export NXF_VER=22.04.5\n        nextflow run . \\\n          -main-script \"${{ matrix.component.main_script }}\" \\\n          -entry \"${{ matrix.component.entry }}\" \\\n          -profile docker,mount_temp,no_publish \\\n          -c src/workflows/utils/labels_ci.config \\\n          -c src/workflows/utils/integration_tests.config\n\n  ###################################3\n  # phase 4\n  component_test:\n    needs: [ build, sync_s3 ]\n    if: ${{ needs.build.outputs.component_matrix != '[]' && needs.build.outputs.component_matrix != '' }}\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        component: ${{ fromJson(needs.build.outputs.component_matrix) }}\n\n    steps:\n    # Remove unnecessary files to free up space. Otherwise, we get 'no space left on device.'\n    - uses: data-intuitive/reclaim-the-bytes@v2\n\n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    # use cache\n    - name: Cache resources data\n      id: restore_cache\n      uses: actions/cache/restore@v4\n      env:\n        SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5\n      with:\n        path: resources_test\n        key: ${{ needs.sync_s3.outputs.cache_key }}\n\n    - name: Login to the nvidia container registry\n      uses: docker/login-action@v3\n      env: \n          NVIDIA_PASSWORD: ${{ secrets.NVIDIA_PASSWORD }}\n      if: ${{ env.NVIDIA_PASSWORD != '' }}\n      with:\n        registry: nvcr.io\n        username: $oauthtoken\n        password: ${{ env.NVIDIA_PASSWORD }}\n\n    - name: Login to container registry\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ secrets.GTHB_USER }}\n        password: ${{ secrets.GTHB_PAT }}\n\n    - name: Test component\n      timeout-minutes: 30\n      run: |\n        viash test \\\n          \"${{ matrix.component.config }}\" \\\n          --config_mod \".platforms[.type == 'docker'].image := 'ghcr.io/openpipelines-bio/${{ matrix.component.namespace }}${{matrix.component.namespace_separator}}${{ matrix.component.name }}:${{ github.event.inputs.version_tag }}'\" \\\n          --config_mod \".platforms[.type == 'docker'].setup := []\" \\\n          --cpus 4 \\\n          --memory \"12gb\"\n", "state": "active", "repository": "openpipelines-bio/openpipeline"}
{"mined_at": "2024-07-15T18:07:21.319230", "created_at": "2023-04-06T09:41:45+02:00", "updated_at": "2023-06-16T12:13:34+02:00", "name": "create documentation PR", "path": ".github/workflows/create-documentation-pr.yml", "contents": "name: create documentation PR\n\non:\n  workflow_dispatch:\n    inputs:\n      version_tag:\n        description: |\n          The branch or tag name when generaing the QMDs. Also used for the name of the PR.\n          The name of the current branch or tag is used by default\n        type: string\n  push:\n    tags:\n      - '*'\n\njobs:\n  list:\n    runs-on: ubuntu-latest\n      \n    outputs:\n      component_matrix: ${{ steps.set_matrix.outputs.components }}\n      workflow_matrix: ${{ steps.set_matrix.outputs.workflows }}\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: viash-io/viash-actions/setup@v5\n\n    - id: ns_list_components\n      uses: viash-io/viash-actions/ns-list@v5\n      with:\n        platform: docker\n        format: json\n        query_namespace: ^(?!workflows)\n\n    - id: ns_list_workflows\n      uses: viash-io/viash-actions/ns-list@v5\n      with:\n        format: json\n        query_namespace: ^workflows\n\n    - id: set_matrix\n      run: |\n        echo \"components=$(jq -c '[ .[] | \n          { \n            \"name\": .functionality.name,\n            \"namespace_separator\": .platforms | map(select(.type == \"docker\"))[0].namespace_separator,\n            \"namespace\": .functionality.namespace,\n            \"config\": .info.config,\n            \"dir\": .info.config | capture(\"^(?<dir>.*\\/)\").dir\n          }\n        ]' ${{ steps.ns_list_components.outputs.output_file }} )\" >> $GITHUB_OUTPUT\n\n        echo \"workflows=$(jq -c '[ .[] | \n          { \n            \"name\": $config.functionality.name,\n            \"namespace\": $config.functionality.namespace,\n            \"main_script\": ((.info.config | capture(\"^(?<dir>.*\\/)\").dir) + \"/\" + (.functionality.test_resources | map(select(.type == \"nextflow_script\")) | unique | .[].path )),\n            \"config\": .info.config,\n            \"entry\": .functionality.test_resources | map(select(.type == \"nextflow_script\")) | .[].entrypoint\n          }\n        ]' ${{ steps.ns_list_workflows.outputs.output_file }} )\" >> $GITHUB_OUTPUT\n\n  push_documentation:\n    runs-on: ubuntu-latest\n    needs: [ list ]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: openpipelines\n\n      - uses: actions/checkout@v4\n        with:\n          repository: openpipelines-bio/website\n          path: website\n          token: ${{ secrets.GTHB_PAT }}\n\n      - uses: viash-io/viash-actions/setup@v5\n      \n      - name: Get tag to use\n        id: get_tag\n        run: |\n          INPUT_TAG=\"${{ github.event.inputs.version_tag }}\"\n          TAG_OR_BRANCH_NAME=${INPUT_TAG:-\"${{ github.ref_name }}\"}\n          echo \"tag=$TAG_OR_BRANCH_NAME\" >> $GITHUB_OUTPUT\n\n      - uses: viash-io/viash-actions/pro/generate-documentation-qmd@v5\n        with:\n          project_directory: openpipelines\n          src: ./\n          output_dir: ../website/components/\n          dest_path: \"{type}s/{namespace}/{name}.qmd\"\n          viash_pro_token: ${{ secrets.GTHB_PAT }}\n          tools_version: main_build\n          ref: \"${{ steps.get_tag.outputs.tag }}\"\n\n      - name: Create Pull Request\n        env:\n          GITHUB_TOKEN: ${{ secrets.GTHB_PAT }}\n        working-directory: website\n        run: |\n          git config user.name github-actions\n          git config user.email github-actions@github.com\n          git add .\n          git checkout -B \"release-${{ steps.get_tag.outputs.tag }}\"\n          git commit -m \"OpenPipelines release ${{ steps.get_tag.outputs.tag }}\"\n          git push --set-upstream origin \"release-${{ steps.get_tag.outputs.tag }}\"\n          gh pr create --title \"Openpipeline release ${{ steps.get_tag.outputs.tag }}\" --base main --head \"release-${{ steps.get_tag.outputs.tag }}\" --body \"\"", "state": "active", "repository": "openpipelines-bio/openpipeline"}
{"mined_at": "2024-07-15T18:07:23.445482", "created_at": "2023-08-10T19:05:54+02:00", "updated_at": "2023-09-16T01:42:23+02:00", "name": "Benchmark Pull Request", "path": ".github/workflows/benchmark-command.yml", "contents": "# Workflow to trigger benchmarking, cleaning, aggregation of the PR and evaluating w.r.t master branch, results on dashboard\nname: Benchmark Pull Request\non:\n  workflow_dispatch:\n    inputs:\n      repository:\n        description: 'The repository from which the slash command was dispatched'\n        required: true\n      comment-id:\n        description: 'The comment-id of the slash command'\n        required: true\n      pr-sha:\n        description: 'The pr-sha of which the slash command was dispatched'\n        required: true\n      module:\n        description: 'Which module to run the benchmark on'\n        required: true\n        options:\n          - tabular\n          - timeseries\n          - multimodal\n      preset:\n        description: 'Preset to run for tabular/timeseries/multimodal'\n        required: true\n        options:\n          - tabular_best\n          - tabular_high\n          - tabular_good\n          - tabular_medium\n          - timeseries_best\n          - multimodal_best\n      benchmark:\n        description: 'Benchmark to run'\n        required: true\n        options:\n          - tabular_full\n          - tabular_test\n          - tabular_small\n          - timeseries_small\n          - automm-image\n          - automm-text\n          - automm-text-tabular\n          - automm-text-tabular-image\n      time_limit:\n        description: 'Time limit for the benchmark to run'\n        required: true\n        options:\n          - 1h\n          - 4h\n          - 8h\n          - 16h\n          - 24h\n          - 10m4c\n          - g4_12x\n      folds:\n        description: 'Number of folds to run'\n        required: false\n      branch_or_pr_number:\n        description: 'Branch or PR number to run the benchmark on'\n        required: true\n      fork_info:\n        description: 'Get the forked PR repository name and branch, e.g. username/autogluon|test_branch'\n        required: true\n      \npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  setup:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create URL to the run output\n        if: (github.event_name == 'workflow_dispatch')\n        id: vars\n        run: echo ::set-output name=run-url::https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\n\n      - name: Create comment\n        if: (github.event_name == 'workflow_dispatch')\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          token: ${{ secrets.PAT }}\n          repository: ${{ github.event.inputs.repository }}\n          comment-id: ${{ github.event.inputs.comment-id }}\n          body: |\n            [Benchmark Output][1]\n\n            [1]: ${{ steps.vars.outputs.run-url }}\n  \n  generate_amlb_user_dir:\n    needs: setup\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Setup Env Vars\n        uses: ./.github/actions/setup-env-vars\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::369469875935:role/AutoGluonCIBenchmarkConfig\n          role-duration-seconds: 3600\n          aws-region: us-east-1\n      - name: Extract Fork Info\n        id: parse_fork_info\n        env:\n          FORK_INFO: ${{ github.event.inputs.fork_info }}\n        run: |\n          IFS=\"|\" read -r fork_name fork_branch <<< \"$FORK_INFO\"\n          echo \"FORK_NAME=$fork_name\" >> $GITHUB_OUTPUT\n          echo \"FORK_BRANCH=$fork_branch\" >> $GITHUB_OUTPUT\n      - name: Generate AMLB User Dir - {{ github.event.inputs.module }}\n        run: |\n          /bin/bash CI/bench/generate_amlb_user_dir.sh ${{ github.event.inputs.module }} ${{ steps.parse_fork_info.outputs.FORK_NAME }} ${{ steps.parse_fork_info.outputs.FORK_BRANCH }} ${{ github.sha }} \"\" ${{ github.event.inputs.folds }}\n\n  benchmark:\n    needs: generate_amlb_user_dir\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Free Disk Space (Ubuntu)\n        # uses: jlumbroso/free-disk-space@v1.2.0\n        uses: hirnidrin/free-disk-space@main  # revert back once fix in https://github.com/jlumbroso/free-disk-space/pull/11\n        with:\n          tool-cache: false\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: true\n          docker-images: true\n          swap-storage: true\n      - name: Checkout repository for PR\n        if: (github.event_name == 'workflow_dispatch')\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.inputs.pr-sha }}\n      - name: Checkout repository for nightly test\n        if: (github.event_name == 'schedule')\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n      - name: Setup npm\n        uses: actions/setup-node@v3\n        with:\n          node-version: 'latest'\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::369469875935:role/AutoGluonCIBenchmark\n          role-duration-seconds: 36000\n          aws-region: us-east-1\n      - name: Extract Fork Info\n        id: parse_fork_info\n        env:\n          FORK_INFO: ${{ github.event.inputs.fork_info }}\n        run: |\n          IFS=\"|\" read -r fork_name fork_branch <<< \"$FORK_INFO\"\n          echo \"FORK_NAME=$fork_name\" >> $GITHUB_OUTPUT\n          echo \"FORK_BRANCH=$fork_branch\" >> $GITHUB_OUTPUT\n      - name: Run benchmark\n        shell: bash -l {0}\n        run: |\n          nvm install 20\n          npm install -g aws-cdk\n          /bin/bash ./.github/workflow_scripts/run_benchmark.sh ${{ github.event.inputs.module }} ${{ github.event.inputs.preset }} ${{ github.event.inputs.benchmark }} ${{ github.event.inputs.time_limit }} ${{ steps.parse_fork_info.outputs.FORK_BRANCH }} ${{ github.sha }}\n      - name: Upload website.txt\n        uses: actions/upload-artifact@v3\n        with:\n          name: dashboard-website\n          path: ./website.txt\n      - name: Upload final_eval.txt\n        uses: actions/upload-artifact@v3\n        with:\n          name: evaluation-results\n          path: ./final_eval.txt       \n  \n  dashboard: \n    needs: benchmark\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Download final_eval.txt\n        uses: actions/download-artifact@v3\n        with:\n          name: evaluation-results\n      - name: get evaluation results\n        id: eval_result\n        run: |\n          body=\"$(cat final_eval.txt)\"\n          echo ::set-output name=body::$body\n      - name: Comment Evaluation Result of PR with Master\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          token: ${{ secrets.PAT }}\n          repository: ${{ github.event.inputs.repository }}\n          comment-id: ${{ github.event.inputs.comment-id }}\n          body: ${{ steps.eval_result.outputs.body }}\n      - name: Download website.txt\n        uses: actions/download-artifact@v3\n        with:\n          name: dashboard-website\n      - name: get dashboard website\n        id: website\n        run: |\n          body=\"$(cat website.txt)\"\n          echo ::set-output name=body::$body\n      - name: Comment Dashboard Website Link on PR\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          token: ${{ secrets.PAT }}\n          repository: ${{ github.event.inputs.repository }}\n          comment-id: ${{ github.event.inputs.comment-id }}\n          body: ${{ steps.website.outputs.body }}\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:24.582861", "created_at": "2023-09-16T01:42:22+02:00", "updated_at": "2023-10-31T22:16:39+01:00", "name": "Benchmark Master Branch", "path": ".github/workflows/benchmark_master.yml", "contents": "# Workflow to trigger/schedule benchmarking, cleaning, aggregating on master branch only and storing results in S3\nname: Benchmark Master Branch\non:\n  workflow_dispatch:\n    branches:\n      - master\n  schedule:\n    - cron: '00 09 * * SUN' #  UTC 9:00(2:00 PST Time) every Sunday\n\nenv:\n  AG_BRANCH_NAME: master\n  \npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate_amlb_user_dir:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        AG_MODULE: [tabular, timeseries, multimodal]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Setup Env Vars\n        uses: ./.github/actions/setup-env-vars\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::369469875935:role/AutoGluonCIBenchmarkConfig\n          role-duration-seconds: 3600\n          aws-region: us-east-1\n      - name: Generate AMLB User Dir - ${{ matrix.AG_MODULE }}\n        run: |\n          /bin/bash CI/bench/generate_amlb_user_dir.sh ${{ matrix.AG_MODULE }} ${{ github.repository }} ${{ env.AG_BRANCH_NAME }} ${{ github.sha }}\n\n  benchmark-tabular:\n    needs: generate_amlb_user_dir\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Free Disk Space (Ubuntu)\n        # uses: jlumbroso/free-disk-space@v1.2.0\n        uses: hirnidrin/free-disk-space@main  # revert back once fix in https://github.com/jlumbroso/free-disk-space/pull/11\n        with:\n          tool-cache: false\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: true\n          docker-images: true\n          swap-storage: true\n      - name: Checkout repository for PR\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n      - name: Setup npm\n        uses: actions/setup-node@v3\n        with:\n          node-version: 'latest'\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::369469875935:role/AutoGluonCIBenchmark\n          role-duration-seconds: 36000\n          aws-region: us-east-1\n      - name: Run benchmark - Tabular\n        shell: bash -l {0}\n        run: |\n          nvm install 20\n          npm install -g aws-cdk\n          /bin/bash ./.github/workflow_scripts/run_benchmark.sh tabular tabular_best tabular_full 1h8c ${{ env.AG_BRANCH_NAME }} ${{ github.sha }}\n      - name: Upload evaluation results as artifact\n        uses: actions/upload-artifact@v2\n        with:\n          name: upload-evaluation-results-tabular\n          path: evaluate\n\n  benchmark-timeseries:\n    needs: benchmark-tabular\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Free Disk Space (Ubuntu)\n        # uses: jlumbroso/free-disk-space@v1.2.0\n        uses: hirnidrin/free-disk-space@main  # revert back once fix in https://github.com/jlumbroso/free-disk-space/pull/11\n        with:\n          tool-cache: false\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: true\n          docker-images: true\n          swap-storage: true\n      - name: Checkout repository for PR\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n      - name: Setup npm\n        uses: actions/setup-node@v3\n        with:\n          node-version: 'latest'\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::369469875935:role/AutoGluonCIBenchmark\n          role-duration-seconds: 36000\n          aws-region: us-east-1\n      - name: Run benchmark - Timeseries\n        shell: bash -l {0}\n        run: |\n          nvm install 20\n          npm install -g aws-cdk\n          /bin/bash ./.github/workflow_scripts/run_benchmark.sh timeseries timeseries_best timeseries_small 10m4c ${{ env.AG_BRANCH_NAME }} ${{ github.sha }}\n      - name: Upload evaluation results as artifact\n        uses: actions/upload-artifact@v2\n        with:\n          name: upload-evaluation-results-timeseries\n          path: evaluate\n\n  benchmark-multimodal-text:\n    needs: benchmark-timeseries\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Free Disk Space (Ubuntu)\n        # uses: jlumbroso/free-disk-space@v1.2.0\n        uses: hirnidrin/free-disk-space@main  # revert back once fix in https://github.com/jlumbroso/free-disk-space/pull/11\n        with:\n          tool-cache: false\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: true\n          docker-images: true\n          swap-storage: true\n      - name: Checkout repository for PR\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n      - name: Setup npm\n        uses: actions/setup-node@v3\n        with:\n          node-version: 'latest'\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::369469875935:role/AutoGluonCIBenchmark\n          role-duration-seconds: 36000\n          aws-region: us-east-1\n      - name: Run benchmark - Multimodal\n        shell: bash -l {0}\n        run: |\n          nvm install 20\n          npm install -g aws-cdk\n          /bin/bash ./.github/workflow_scripts/run_benchmark.sh multimodal multimodal_best automm-text g4_12x ${{ env.AG_BRANCH_NAME }} ${{ github.sha }}\n      - name: Upload evaluation results as artifact\n        uses: actions/upload-artifact@v2\n        with:\n          name: upload-evaluation-results-automm-text\n          path: evaluate\n\n  benchmark-multimodal-text-tabular:\n    needs: benchmark-multimodal-text\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Free Disk Space (Ubuntu)\n        # uses: jlumbroso/free-disk-space@v1.2.0\n        uses: hirnidrin/free-disk-space@main  # revert back once fix in https://github.com/jlumbroso/free-disk-space/pull/11\n        with:\n          tool-cache: false\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: true\n          docker-images: true\n          swap-storage: true\n      - name: Checkout repository for PR\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n      - name: Setup npm\n        uses: actions/setup-node@v3\n        with:\n          node-version: 'latest'\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::369469875935:role/AutoGluonCIBenchmark\n          role-duration-seconds: 36000\n          aws-region: us-east-1\n      - name: Run benchmark - Multimodal\n        shell: bash -l {0}\n        run: |\n          nvm install 20\n          npm install -g aws-cdk\n          /bin/bash ./.github/workflow_scripts/run_benchmark.sh multimodal multimodal_best automm-text-tabular g4_12x ${{ env.AG_BRANCH_NAME }} ${{ github.sha }}\n      - name: Upload evaluation results as artifact\n        uses: actions/upload-artifact@v2\n        with:\n          name: upload-evaluation-results-automm-text-tabular\n          path: evaluate\n\n  benchmark-multimodal-image:\n    needs: benchmark-multimodal-text-tabular\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Free Disk Space (Ubuntu)\n        # uses: jlumbroso/free-disk-space@v1.2.0\n        uses: hirnidrin/free-disk-space@main  # revert back once fix in https://github.com/jlumbroso/free-disk-space/pull/11\n        with:\n          tool-cache: false\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: true\n          docker-images: true\n          swap-storage: true\n      - name: Checkout repository for PR\n        uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.9'\n      - name: Setup npm\n        uses: actions/setup-node@v3\n        with:\n          node-version: 'latest'\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::369469875935:role/AutoGluonCIBenchmark\n          role-duration-seconds: 36000\n          aws-region: us-east-1\n      - name: Run benchmark - Multimodal\n        shell: bash -l {0}\n        run: |\n          nvm install 20\n          npm install -g aws-cdk\n          /bin/bash ./.github/workflow_scripts/run_benchmark.sh multimodal multimodal_best automm-image g4_12x ${{ env.AG_BRANCH_NAME }} ${{ github.sha }}\n      - name: Upload evaluation results as artifact\n        uses: actions/upload-artifact@v2\n        with:\n          name: upload-evaluation-results-automm-image\n          path: evaluate\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:25.702865", "created_at": "2022-11-21T23:13:41+01:00", "updated_at": "2023-08-10T23:55:28+02:00", "name": "Build Latest Image", "path": ".github/workflows/build_latest_image.yml", "contents": "name: Build Latest Image\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"59 8 * * *\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  build_cpu_training:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Configure AWS Credentials\n      uses: aws-actions/configure-aws-credentials@v1\n      with:\n        role-to-assume: arn:aws:iam::369469875935:role/CloudCIECRRole\n        role-duration-seconds: 3600\n        aws-region: us-east-1\n    - name: Free Disk Space (Ubuntu)\n      # uses: jlumbroso/free-disk-space@v1.2.0\n      uses: hirnidrin/free-disk-space@main  # revert back once fix in https://github.com/jlumbroso/free-disk-space/pull/11\n      with:\n        tool-cache: false\n        android: true\n        dotnet: true\n        haskell: true\n        large-packages: true\n        docker-images: true\n        swap-storage: true\n    - name: Build the Docker image\n      run: |\n        cd CI/docker\n        chmod +x ./login_ecr.sh; ./login_ecr.sh\n        docker build -f Dockerfile.cpu-training -t autogluon-nightly-training:cpu-latest .\n        docker tag autogluon-nightly-training:cpu-latest 369469875935.dkr.ecr.us-east-1.amazonaws.com/autogluon-nightly-training:cpu-latest\n        docker push 369469875935.dkr.ecr.us-east-1.amazonaws.com/autogluon-nightly-training:cpu-latest\n  build_cpu_inference:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Configure AWS Credentials\n      uses: aws-actions/configure-aws-credentials@v1\n      with:\n        role-to-assume: arn:aws:iam::369469875935:role/CloudCIECRRole\n        role-duration-seconds: 3600\n        aws-region: us-east-1\n    - name: Free Disk Space (Ubuntu)\n      # uses: jlumbroso/free-disk-space@v1.2.0\n      uses: hirnidrin/free-disk-space@main  # revert back once fix in https://github.com/jlumbroso/free-disk-space/pull/11\n      with:\n        tool-cache: false\n        android: true\n        dotnet: true\n        haskell: true\n        large-packages: true\n        docker-images: true\n        swap-storage: true\n    - name: Build the Docker image\n      run: |\n        cd CI/docker\n        chmod +x ./login_ecr.sh; ./login_ecr.sh\n        docker build -f Dockerfile.cpu-inference -t autogluon-nightly-inference:cpu-latest .\n        docker tag autogluon-nightly-inference:cpu-latest 369469875935.dkr.ecr.us-east-1.amazonaws.com/autogluon-nightly-inference:cpu-latest\n        docker push 369469875935.dkr.ecr.us-east-1.amazonaws.com/autogluon-nightly-inference:cpu-latest\n  build_gpu_training:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Configure AWS Credentials\n      uses: aws-actions/configure-aws-credentials@v1\n      with:\n        role-to-assume: arn:aws:iam::369469875935:role/CloudCIECRRole\n        role-duration-seconds: 3600\n        aws-region: us-east-1\n    - name: Free Disk Space (Ubuntu)\n      # uses: jlumbroso/free-disk-space@v1.2.0\n      uses: hirnidrin/free-disk-space@main  # revert back once fix in https://github.com/jlumbroso/free-disk-space/pull/11\n      with:\n        tool-cache: false\n        android: true\n        dotnet: true\n        haskell: true\n        large-packages: true\n        docker-images: true\n        swap-storage: true\n    - name: Build the Docker image\n      run: |\n        cd CI/docker\n        chmod +x ./login_ecr.sh; ./login_ecr.sh\n        docker build -f Dockerfile.gpu-training -t autogluon-nightly-training:gpu-latest .\n        docker tag autogluon-nightly-training:gpu-latest 369469875935.dkr.ecr.us-east-1.amazonaws.com/autogluon-nightly-training:gpu-latest\n        docker push 369469875935.dkr.ecr.us-east-1.amazonaws.com/autogluon-nightly-training:gpu-latest\n  build_gpu_inference:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Configure AWS Credentials\n      uses: aws-actions/configure-aws-credentials@v1\n      with:\n        role-to-assume: arn:aws:iam::369469875935:role/CloudCIECRRole\n        role-duration-seconds: 3600\n        aws-region: us-east-1\n    - name: Free Disk Space (Ubuntu)\n      # uses: jlumbroso/free-disk-space@v1.2.0\n      uses: hirnidrin/free-disk-space@main  # revert back once fix in https://github.com/jlumbroso/free-disk-space/pull/11\n      with:\n        tool-cache: false\n        android: true\n        dotnet: true\n        haskell: true\n        large-packages: true\n        docker-images: true\n        swap-storage: true\n    - name: Build the Docker image\n      run: |\n        cd CI/docker\n        chmod +x ./login_ecr.sh; ./login_ecr.sh\n        docker build -f Dockerfile.gpu-inference -t autogluon-nightly-inference:gpu-latest .\n        docker tag autogluon-nightly-inference:gpu-latest 369469875935.dkr.ecr.us-east-1.amazonaws.com/autogluon-nightly-inference:gpu-latest\n        docker push 369469875935.dkr.ecr.us-east-1.amazonaws.com/autogluon-nightly-inference:gpu-latest\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:26.932941", "created_at": "2023-02-01T22:59:58+01:00", "updated_at": "2023-02-01T22:59:58+01:00", "name": "Check HF Model List", "path": ".github/workflows/check_hf_model_list.yml", "contents": "name: Check HF Model List\n\non:\n  pull_request:\n    types: [labeled, synchronize, opened]\n    paths:\n      - 'multimodal/tests/**'\n      - 'docs/tutorials/multimodal/**'\n\njobs:\n  model_list_check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check model list\n        if: contains(github.event.pull_request.labels.*.name, 'model list checked') == false\n        run: |\n          echo It appears that you have modified multimodal unit tests/docs. Please make sure to update \\\"multimodal/tests/hf_model_list.yaml\\\" to include any model changes and label this PR with \\\"model list checked\\\".\n          exit 1\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:28.162476", "created_at": "2022-09-15T18:00:57+02:00", "updated_at": "2022-09-15T19:38:20+02:00", "name": "Run CodeGuru Reviewer", "path": ".github/workflows/codeguru-reviewer.yml", "contents": "name: Run CodeGuru Reviewer\n\non:\n  push:\n    branches:\n      - 'master'\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n  security-events: write \n\njobs:\n  RunCodeGuru:\n    name: Run CodeGuru Reviewer CLI in CICD\n    runs-on: ubuntu-latest\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        continue-on-error: true\n        id: iam-role\n        with:\n          role-to-assume: arn:aws:iam::048169001733:role/GuruGitHubCICDRole\n          aws-region: us-west-2\n\n      - name: Checkout repository\n        if: steps.iam-role.outcome == 'success'\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0         \n          \n      - name: CodeGuru Reviewer\n        uses: aws-actions/codeguru-reviewer@v1.1\n        if: steps.iam-role.outcome == 'success'\n        continue-on-error: false\n        with:          \n          s3_bucket: codeguru-reviewer-build-artifacts-048169001733-us-west-2\n\n      - name: Upload review result\n        if: steps.iam-role.outcome == 'success'\n        uses: github/codeql-action/upload-sarif@v2\n        with:\n          sarif_file: codeguru-results.sarif.json\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:29.390835", "created_at": "2020-06-06T07:32:29+02:00", "updated_at": "2020-06-06T07:32:29+02:00", "name": "Code scanning - action", "path": ".github/workflows/codeql.yml", "contents": "name: \"Code scanning - action\"\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: '0 19 * * 0'\n\njobs:\n  CodeQL-Build:\n\n    # CodeQL runs on ubuntu-latest and windows-latest\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n      with:\n        # We must fetch at least the immediate parents so that if this is\n        # a pull request then we can checkout the head.\n        fetch-depth: 2\n      \n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      # Override language selection by uncommenting this and choosing your languages\n      # with:\n      #   languages: go, javascript, csharp, python, cpp, java\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:30.517175", "created_at": "2023-06-16T23:00:49+02:00", "updated_at": "2023-06-30T18:33:57+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": "---\nname: Codespell\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\npermissions:\n  contents: read\n\njobs:\n  codespell:\n    name: Check for spelling errors\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Codespell\n        uses: codespell-project/actions-codespell@v2\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:31.748442", "created_at": "2022-06-29T00:00:24+02:00", "updated_at": "2024-05-02T02:24:34+02:00", "name": "Continuous Integration", "path": ".github/workflows/continuous_integration.yml", "contents": "name: Continuous Integration\n\non:\n  push:\n  pull_request_target:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number || github.event.pull_request.head.sha }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  pull-requests: write\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  branch_check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fail on restricted branch\n        # https://docs.github.com/en/actions/learn-github-actions/expressions#example-matching-an-array-of-strings\n        if: ${{ github.event_name == 'push' && contains(fromJSON('[\"cloud\"]'), github.ref_name) }}\n        run: |\n          echo This is a restricted branch reserved for certain modules. Please use another branch instead\n          exit 1\n  lint_check:\n    needs: branch_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n      - name: Lint Check on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-CPU\n          job-name: AutoGluon-LintCheck\n          command: chmod +x ./.github/workflow_scripts/lint_check.sh && ./.github/workflow_scripts/lint_check.sh\n  # package_diff:\n  #   needs: lint_check\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - name: Checkout repository\n  #       uses: actions/checkout@v2\n  #     - name: Setup Miniconda\n  #       uses: conda-incubator/setup-miniconda@v2.0.0\n  #       with:\n  #         activate-environment: autogluon_py3\n  #         environment-file: .github/workflows_env/unittest_env.yml\n  #         auto-update-conda: true\n  #         python-version: \"3.10\"\n  #     - name: Setup Env Vars\n  #       uses: ./.github/actions/setup-env-vars\n  #     - name: Configure AWS Credentials\n  #       uses: aws-actions/configure-aws-credentials@v1\n  #       with:\n  #         role-to-assume: arn:aws:iam::369469875935:role/AutoGluonCiCopyDocs\n  #         role-duration-seconds: 3600\n  #         aws-region: us-east-1\n  #     - name: Install all dependencies\n  #       shell: bash -l {0}\n  #       run: |\n  #         chmod +x ./full_install.sh && ./full_install.sh\n  #     - name: Store package versions\n  #       # Keep shell open to pick pip from autogluon_py3\n  #       shell: bash -l {0}\n  #       run: |\n  #         cur_date=$(date +%Y-%m-%d-%H:%M:%S)\n  #         echo \"Timestamp: $cur_date\" > ./package_versions_${cur_date}.txt\n  #         echo \"Package Versions:\" >> ./package_versions_${cur_date}.txt\n  #         pip freeze >> ./package_versions_${cur_date}.txt\n  #     - name: Fetch previous version file and compare\n  #       run: |\n  #         /bin/bash ./.github/workflow_scripts/version_diff.sh\n  #     - name: Update pull request with diff\n  #       env:\n  #         GH_TOKEN: ${{ secrets.PAT }}\n  #       run: |\n  #         pr_number=$(jq --raw-output .pull_request.number \"$GITHUB_EVENT_PATH\")\n  #         comment_body=$(jq -n --arg body \"`cat ./table_output.txt`\" '{body: $body}')\n  #         curl -X POST \\\n  #           -H \"Authorization: token $GH_TOKEN\" \\\n  #           -H \"Content-Type: application/json\" \\\n  #           -d \"$comment_body\" \\\n  #           \"https://api.github.com/repos/${GITHUB_REPOSITORY}/issues/${pr_number}/comments\" \n  #     - name: Upload the current package versions\n  #       run: |\n  #         aws s3 cp ./package_versions_* \"s3://autogluon-ci/package_versions/\"   \n  test_common:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n      - name: Test Common on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-CPU\n          job-name: AutoGluon-Common\n          command: chmod +x ./.github/workflow_scripts/test_common.sh && ./.github/workflow_scripts/test_common.sh\n  test_core:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n      - name: Test Core on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-CPU\n          job-name: AutoGluon-Core\n          command: chmod +x ./.github/workflow_scripts/test_core.sh && ./.github/workflow_scripts/test_core.sh\n  test_features:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n      - name: Test Features on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-CPU\n          job-name: AutoGluon-Features\n          command: chmod +x ./.github/workflow_scripts/test_features.sh && ./.github/workflow_scripts/test_features.sh\n  test_tabular:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n            other_than_timeseries:\n              - '!(timeseries/**)**'\n      - name: Test Tabular on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true' && steps.changes.outputs.other_than_timeseries == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-GPU\n          job-name: AutoGluon-Tabular\n          command: chmod +x ./.github/workflow_scripts/test_tabular.sh && ./.github/workflow_scripts/test_tabular.sh\n  test_tabular_lite:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n            other_than_timeseries:\n              - '!(timeseries/**)**'\n      - name: Test AutoGluonLite package via Pyodide on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true' && steps.changes.outputs.other_than_timeseries == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-WASM\n          job-name: AutoGluon-Lite\n          command: chmod +x ./.github/workflow_scripts/test_tabular_lite.sh && ./.github/workflow_scripts/test_tabular_lite.sh\n  # test_eda:\n  #   needs: lint_check\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - name: Checkout repository\n  #       uses: actions/checkout@v2\n  #     - name: Check if changes beside docs\n  #       uses: dorny/paths-filter@v2\n  #       id: changes\n  #       with:\n  #         filters: |\n  #           other_than_docs:\n  #             - '!(docs/**)**'\n  #     - name: Test EDA on AWS Batch\n  #       if: steps.changes.outputs.other_than_docs == 'true'\n  #       uses: ./.github/actions/submit-job\n  #       with:\n  #         job-type: CI-CPU\n  #         job-name: AutoGluon-EDA\n  #         command: chmod +x ./.github/workflow_scripts/test_eda.sh && ./.github/workflow_scripts/test_eda.sh\n  test_multimodal_predictor:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n            other_than_timeseries:\n              - '!(timeseries/**)**'\n      - name: Test Multimodal Predictor on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true' && steps.changes.outputs.other_than_timeseries == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-GPU\n          job-name: AutoGluon-Multimodal-Predictor\n          command: chmod +x ./.github/workflow_scripts/test_multimodal_predictor.sh && ./.github/workflow_scripts/test_multimodal_predictor.sh --run_single_gpu\n  test_multimodal_others:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n            other_than_timeseries:\n              - '!(timeseries/**)**'\n      - name: Test Multimodal Others on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true' && steps.changes.outputs.other_than_timeseries == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-GPU\n          job-name: AutoGluon-Multimodal-Others\n          command: chmod +x ./.github/workflow_scripts/test_multimodal_others.sh && ./.github/workflow_scripts/test_multimodal_others.sh --run_single_gpu\n  test_multimodal_others_2:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n            other_than_timeseries:\n              - '!(timeseries/**)**'\n      - name: Test Multimodal Others 2 on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true' && steps.changes.outputs.other_than_timeseries == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-GPU\n          job-name: AutoGluon-Multimodal-Others-2\n          command: chmod +x ./.github/workflow_scripts/test_multimodal_others_2.sh && ./.github/workflow_scripts/test_multimodal_others_2.sh --run_single_gpu\n  test_timeseries:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n      - name: Test Timeseries on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-GPU\n          job-name: AutoGluon-Forecasting\n          command: chmod +x ./.github/workflow_scripts/test_timeseries.sh && ./.github/workflow_scripts/test_timeseries.sh\n  test_install:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n      - name: Test Install on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-CPU\n          job-name: AutoGluon-Install\n          command: chmod +x ./.github/workflow_scripts/test_install.sh && ./.github/workflow_scripts/test_install.sh\n  build_tabular_prediction_tutorial:\n    needs: [test_common, test_core, test_features, test_tabular, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_tabular_lite, test_install]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Setup Env Vars\n        uses: ./.github/actions/setup-env-vars\n      - name: Build Tabular Prediction Tutorial on AWS Batch\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-GPU\n          job-name: AutoGluon-BuildTabularPrediction\n          command: chmod +x ./.github/workflow_scripts/build_tabular_prediction_tutorial.sh && ./.github/workflow_scripts/build_tabular_prediction_tutorial.sh '${{ env.BRANCH }}' '${{ env.GIT_REPO }}' '${{ env.SHORT_SHA }}' '${{ env.PR_NUMBER }}'\n  build_multimodal_tutorial:\n    strategy:\n      matrix:\n        SUB_DOC: [\"advanced_topics\", \"image_prediction\", \"semantic_matching\", \"object_detection\", \"text_prediction\", \"document_prediction\", \"multimodal_prediction\", \"image_segmentation\"]\n    needs: [test_common, test_core, test_features, test_tabular, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_install]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Setup Env Vars\n        uses: ./.github/actions/setup-env-vars\n      - name: Build Multimodal Tutorial on AWS Batch\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-GPU\n          job-name: AutoGluon-BuildMultimodal\n          command: chmod +x ./.github/workflow_scripts/build_multimodal_tutorial.sh && ./.github/workflow_scripts/build_multimodal_tutorial.sh '${{ matrix.SUB_DOC }}' '${{ env.BRANCH }}' '${{ env.GIT_REPO }}' '${{ env.SHORT_SHA }}' '${{ env.PR_NUMBER }}'\n  build_cloud_fit_deploy_tutorial:\n    needs: [test_common, test_core, test_features, test_tabular, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_install]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Setup Env Vars\n        uses: ./.github/actions/setup-env-vars\n      - name: Build Cloud Fit Deploy Tutorial on AWS Batch\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-CPU\n          job-name: AutoGluon-BuildCloudFitDeploy\n          command: chmod +x ./.github/workflow_scripts/build_cloud_fit_deploy_tutorial.sh && ./.github/workflow_scripts/build_cloud_fit_deploy_tutorial.sh '${{ env.BRANCH }}' '${{ env.GIT_REPO }}' '${{ env.SHORT_SHA }}' '${{ env.PR_NUMBER }}'\n  build_timeseries_tutorial:\n    needs: [test_common, test_core, test_features, test_tabular, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_install]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Setup Env Vars\n        uses: ./.github/actions/setup-env-vars\n      - name: Build Timeseries Tutorial on AWS Batch\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-GPU\n          job-name: AutoGluon-BuildTimeseries\n          command: chmod +x ./.github/workflow_scripts/build_timeseries_tutorial.sh && ./.github/workflow_scripts/build_timeseries_tutorial.sh '${{ env.BRANCH }}' '${{ env.GIT_REPO }}' '${{ env.SHORT_SHA }}' '${{ env.PR_NUMBER }}'\n  # build_eda_tutorial:\n  #   needs: [test_common, test_core, test_features, test_tabular, test_eda, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_install]\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - name: Checkout repository\n  #       uses: actions/checkout@v2\n  #     - name: Setup Env Vars\n  #       uses: ./.github/actions/setup-env-vars\n  #     - name: Build EDA Tutorial on AWS Batch\n  #       uses: ./.github/actions/submit-job\n  #       with:\n  #         job-type: CI-GPU\n  #         job-name: AutoGluon-BuildEda\n  #         command: chmod +x ./.github/workflow_scripts/build_eda_tutorial.sh && ./.github/workflow_scripts/build_eda_tutorial.sh '${{ env.BRANCH }}' '${{ env.GIT_REPO }}' '${{ env.SHORT_SHA }}' '${{ env.PR_NUMBER }}'\n  build_all_docs:\n    needs: [build_tabular_prediction_tutorial, build_multimodal_tutorial, build_cloud_fit_deploy_tutorial, build_timeseries_tutorial]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Setup Env Vars\n        uses: ./.github/actions/setup-env-vars\n      - name: Build All Docs on AWS Batch\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-GPU\n          job-name: AutoGluon-BuildAllDocs\n          command: chmod +x ./.github/workflow_scripts/build_all_docs.sh && ./.github/workflow_scripts/build_all_docs.sh '${{ env.BRANCH }}' '${{ env.GIT_REPO }}' '${{ env.SHORT_SHA }}' '${{ env.PR_NUMBER }}'\n  copy-docs:\n    needs: build_all_docs\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Setup Env Vars\n        uses: ./.github/actions/setup-env-vars\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::369469875935:role/AutoGluonCiCopyDocs\n          role-duration-seconds: 3600\n          aws-region: us-east-1\n      - name: Copy Docs to Bucket(For push)\n        if: ${{ github.event_name == 'push' }}\n        run: |\n          chmod +x ./.github/workflow_scripts/copy_docs.sh\n          ./.github/workflow_scripts/copy_docs.sh '${{ github.ref }}' '${{ github.repository }}' '${{ env.SHORT_SHA }}'\n      - name: Copy Docs to Bucket(For pull request)\n        if: ${{ github.event_name == 'pull_request_target' }}\n        env:\n          branch: ${{ github.event.pull_request.head.ref }}\n        run: |\n          chmod +x ./.github/workflow_scripts/copy_docs.sh\n          ./.github/workflow_scripts/copy_docs.sh \"$branch\" '${{ github.event.pull_request.head.repo.full_name }}' '${{ env.SHORT_SHA }}' PR-'${{ github.event.number }}'\n      - name: Comment on PR\n        if: ${{ github.event_name == 'pull_request_target' }}\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          issue-number: ${{ github.event.number }}\n          body: |\n            Job PR-${{ github.event.number }}-${{ env.SHORT_SHA }} is done.\n            Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-${{ github.event.number }}/${{ env.SHORT_SHA }}/index.html\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:32.974808", "created_at": "2023-12-23T01:24:33+01:00", "updated_at": "2023-12-23T01:24:33+01:00", "name": "Continuous Integration Multi-GPU AutoMM", "path": ".github/workflows/continuous_integration_multigpu.yaml", "contents": "name: Continuous Integration Multi-GPU AutoMM\n\non:\n  pull_request_target:\n    types: [labeled, synchronize, opened]\n    paths:\n      - 'multimodal/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number || github.event.pull_request.head.sha }}\n  cancel-in-progress: true\n\npermissions:\n  id-token: write\n  pull-requests: write\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  label_check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check Label\n        if: contains(github.event.pull_request.labels.*.name, 'run-multi-gpu') == false\n        run: |\n          echo It appears that you have modified contents of multimodal module. Please label this PR with \\\"run-multi-gpu\\\".\n          exit 1\n  branch_check:\n    needs: label_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Fail on restricted branch\n        # https://docs.github.com/en/actions/learn-github-actions/expressions#example-matching-an-array-of-strings\n        if: ${{ github.event_name == 'push' && contains(fromJSON('[\"cloud\"]'), github.ref_name) }}\n        run: |\n          echo This is a restricted branch reserved for certain modules. Please use another branch instead\n          exit 1\n  lint_check:\n    needs: branch_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n      - name: Lint Check on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-CPU\n          job-name: AutoGluon-LintCheck\n          command: chmod +x ./.github/workflow_scripts/lint_check.sh && ./.github/workflow_scripts/lint_check.sh\n  test_multimodal_others_multi_gpu:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n      - name: Test Multimodal Others Multi-GPU on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-MULTI-GPU\n          job-name: AutoGluon-Multimodal-Others-GPU\n          command: chmod +x ./.github/workflow_scripts/test_multimodal_others.sh && CUDA_VISIBLE_DEVICES=[0,1] ./.github/workflow_scripts/test_multimodal_others.sh\n  test_multimodal_others_2_multi_gpu:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n      - name: Test Multimodal Others 2 Multi-GPU on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-MULTI-GPU\n          job-name: AutoGluon-Multimodal-Others-2-GPU\n          command: chmod +x ./.github/workflow_scripts/test_multimodal_others_2.sh && CUDA_VISIBLE_DEVICES=[0,1] ./.github/workflow_scripts/test_multimodal_others_2.sh\n  test_multimodal_predictor_multi_gpu:\n    needs: lint_check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n      - name: Check if changes beside docs\n        uses: dorny/paths-filter@v2\n        id: changes\n        with:\n          filters: |\n            other_than_docs:\n              - '!(docs/**)**'\n      - name: Test Multimodal Predictor Multi-GPU on AWS Batch\n        if: steps.changes.outputs.other_than_docs == 'true'\n        uses: ./.github/actions/submit-job\n        with:\n          job-type: CI-MULTI-GPU\n          job-name: AutoGluon-Multimodal-Predictor-GPU\n          command: chmod +x ./.github/workflow_scripts/test_multimodal_predictor.sh && CUDA_VISIBLE_DEVICES=[0,1] ./.github/workflow_scripts/test_multimodal_predictor.sh\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:34.146306", "created_at": "2021-12-31T00:24:24+01:00", "updated_at": "2021-12-31T01:37:42+01:00", "name": "Platform Tests", "path": ".github/workflows/platform_tests-command.yml", "contents": "name: Platform Tests\non:\n  schedule:\n    - cron: '59 07 * * *'  #  UTC 7:59(23:59 PST Winter Time) everyday\n  workflow_dispatch:\n    inputs:\n      repository:\n        description: 'The repository from which the slash command was dispatched'\n        required: true\n      comment-id:\n        description: 'The comment-id of the slash command'\n        required: true\n      pr-sha:\n        description: 'The pr-sha of which the slash command was dispatched'\n        required: true\n      branch_or_pr_number:\n        description: 'dummy parameter to allow benchmark workflow to run'\n        required: false\n      fork_info:\n        description: 'Get info of forked repository and branch'\n        required: false\n\njobs:\n  setup:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create URL to the run output\n        if: (github.event_name == 'workflow_dispatch')\n        id: vars\n        run: echo ::set-output name=run-url::https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\n\n      - name: Create comment\n        if: (github.event_name == 'workflow_dispatch')\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          token: ${{ secrets.PAT }}\n          repository: ${{ github.event.inputs.repository }}\n          comment-id: ${{ github.event.inputs.comment-id }}\n          body: |\n            [Platform Tests Output][1]\n\n            [1]: ${{ steps.vars.outputs.run-url }}\n\n  common:\n    needs: setup\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest, ubuntu-latest]\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:  \n      - name: Checkout repository for PR\n        if: (github.event_name == 'workflow_dispatch')\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.inputs.pr-sha }}\n      - name: Checkout repository for nightly test\n        if: (github.event_name == 'schedule')\n        uses: actions/checkout@v2\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2.0.0\n        with:\n          activate-environment: autogluon_py3\n          environment-file: .github/workflows_env/unittest_env.yml\n          auto-update-conda: true\n          python-version: ${{ matrix.python }}\n      - name: unit-test\n        shell: bash -l {0}\n        run: |\n         chmod +x ./.github/workflow_scripts/test_common.sh && ./.github/workflow_scripts/test_common.sh\n\n  core:\n    needs: setup\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest, ubuntu-latest]\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout repository for PR\n        if: (github.event_name == 'workflow_dispatch')\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.inputs.pr-sha }}\n      - name: Checkout repository for nightly test\n        if: (github.event_name == 'schedule')\n        uses: actions/checkout@v2\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2.0.0\n        with:\n          activate-environment: autogluon_py3\n          environment-file: .github/workflows_env/unittest_env.yml\n          auto-update-conda: true\n          python-version: ${{ matrix.python }}\n      - name: unit-test\n        shell: bash -l {0}\n        run: |\n          chmod +x ./.github/workflow_scripts/test_core.sh && ./.github/workflow_scripts/test_core.sh\n\n  features:\n    needs: setup\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest, ubuntu-latest]\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout repository for PR\n        if: (github.event_name == 'workflow_dispatch')\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.inputs.pr-sha }}\n      - name: Checkout repository for nightly test\n        if: (github.event_name == 'schedule')\n        uses: actions/checkout@v2\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2.0.0\n        with:\n          activate-environment: autogluon_py3\n          environment-file: .github/workflows_env/unittest_env.yml\n          auto-update-conda: true\n          python-version: ${{ matrix.python }}\n      - name: unit-test\n        shell: bash -l {0}\n        run: |\n          chmod +x ./.github/workflow_scripts/test_features.sh && ./.github/workflow_scripts/test_features.sh\n\n  # eda:\n  #   needs: setup\n  #   runs-on: ${{ matrix.os }}\n  #   defaults:\n  #     run:\n  #       shell: bash\n  #   strategy:\n  #     fail-fast: false\n  #     matrix:\n  #       os: [macos-latest, windows-latest, ubuntu-latest]\n  #       python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n  #   steps:\n  #     - name: Checkout repository for PR\n  #       if: (github.event_name == 'workflow_dispatch')\n  #       uses: actions/checkout@v2\n  #       with:\n  #         ref: ${{ github.event.inputs.pr-sha }}\n  #     - name: Checkout repository for nightly test\n  #       if: (github.event_name == 'schedule')\n  #       uses: actions/checkout@v2\n  #     - name: Setup Miniconda\n  #       uses: conda-incubator/setup-miniconda@v2.0.0\n  #       with:\n  #         activate-environment: autogluon_py3\n  #         environment-file: .github/workflows_env/unittest_env.yml\n  #         auto-update-conda: true\n  #         python-version: ${{ matrix.python }}\n  #     - name: unit-test\n  #       shell: bash -l {0}\n  #       run: |\n  #         chmod +x ./.github/workflow_scripts/test_eda.sh && ./.github/workflow_scripts/test_eda.sh\n\n  tabular:\n    needs: setup\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 90\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest, ubuntu-latest]\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout repository for PR\n        if: (github.event_name == 'workflow_dispatch')\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.inputs.pr-sha }}\n      - name: Checkout repository for nightly test\n        if: (github.event_name == 'schedule')\n        uses: actions/checkout@v2\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2.0.0\n        with:\n          activate-environment: autogluon_py3\n          environment-file: .github/workflows_env/unittest_env.yml\n          auto-update-conda: true\n          python-version: ${{ matrix.python }}\n      - name: Setup OMP\n        if: matrix.os == 'macos-latest'\n        shell: bash -l {0}\n        run: |\n          wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb\n          brew unlink libomp\n          brew install libomp.rb\n          rm libomp.rb\n      - name: unit-test\n        shell: bash -l {0}\n        run: |\n          conda install --channel conda-forge pygraphviz\n          chmod +x ./.github/workflow_scripts/test_tabular.sh && ./.github/workflow_scripts/test_tabular.sh \"-m not gpu\" \"true\"\n\n  timeseries:\n    needs: setup\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 90\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest, ubuntu-latest]\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout repository for PR\n        if: (github.event_name == 'workflow_dispatch')\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.inputs.pr-sha }}\n      - name: Checkout repository for nightly test\n        if: (github.event_name == 'schedule')\n        uses: actions/checkout@v2\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2.0.0\n        with:\n          activate-environment: autogluon_py3\n          environment-file: .github/workflows_env/unittest_env.yml\n          auto-update-conda: true\n          python-version: ${{ matrix.python }}\n      - name: Setup OMP\n        if: matrix.os == 'macos-latest'\n        shell: bash -l {0}\n        run: |\n          wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb\n          brew unlink libomp\n          brew install libomp.rb\n          rm libomp.rb\n      - name: unit-test\n        shell: bash -l {0}\n        run: |\n          conda install --channel conda-forge pygraphviz\n          chmod +x ./.github/workflow_scripts/test_timeseries.sh && ./.github/workflow_scripts/test_timeseries.sh \"-m not gpu\" \"true\"\n\n  install:\n    needs: setup\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [macos-latest, windows-latest, ubuntu-latest]\n        python: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout repository for PR\n        if: (github.event_name == 'workflow_dispatch')\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.inputs.pr-sha }}\n      - name: Checkout repository for nightly test\n        if: (github.event_name == 'schedule')\n        uses: actions/checkout@v2\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2.0.0\n        with:\n          activate-environment: autogluon_py3\n          environment-file: .github/workflows_env/unittest_env.yml\n          auto-update-conda: true\n          python-version: ${{ matrix.python }}\n      - name: unit-test\n        if: matrix.os != 'windows-latest'\n        shell: bash -l {0}\n        run: |\n          chmod +x ./.github/workflow_scripts/test_install.sh && ./.github/workflow_scripts/test_install.sh\n      - name: unit-test on Windows\n        if: matrix.os == 'windows-latest'\n        shell: bash -l {0}\n        run: |\n          chmod +x ./.github/workflow_scripts/test_install_windows.sh && ./.github/workflow_scripts/test_install_windows.sh\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:35.259788", "created_at": "2020-05-11T23:16:22+02:00", "updated_at": "2020-05-11T23:16:22+02:00", "name": "Pypi Release", "path": ".github/workflows/pypi_release.yml", "contents": "# This workflow will upload a Python Package to Pypi using Twine when a release is created in this Github repo.\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n# Note: There is a bug in Github Actions, so do NOT use the “Save Draft” functionality when creating a new release: https://github.community/t/workflow-set-for-on-release-not-triggering-not-showing-up/16286/5\n# Remember to always verify tagged releases are actually available on the Pypi website: https://pypi.org/project/autogluon/\n\nname: Pypi Release\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine pypandoc packaging\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets. PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets. PYPI_PASSWORD }}\n        RELEASE: 1\n      run: |\n        for v in common core features tabular multimodal timeseries autogluon\n        do\n          cd \"$v\"/\n          python setup.py sdist bdist_wheel\n          twine upload dist/* --verbose\n          cd ..\n        done\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:36.350375", "created_at": "2020-04-04T15:35:57+02:00", "updated_at": "2020-04-04T15:35:57+02:00", "name": "Upload Python Package", "path": ".github/workflows/pythonpublish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# Note: the first change per day is used to build daily/night release.\n# Therefore, merging one PR per day is recommended. Otherwise, the we need to manually trigger the CI later.\n\nname: Upload Python Package\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"59 8 * * *\"\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@master\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine pypandoc packaging\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets. PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets. PYPI_PASSWORD }}\n        run: |\n          for v in common core features tabular multimodal timeseries autogluon\n          do\n            cd \"$v\"/\n            python setup.py sdist bdist_wheel\n            twine upload dist/* --verbose\n            cd ..\n          done\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:37.584841", "created_at": "2021-03-01T05:40:15+01:00", "updated_at": "2021-03-01T05:40:15+01:00", "name": "TestPypi Release", "path": ".github/workflows/pythonpublish_testpypi.yml", "contents": "# DO NOT RUN THIS UNLESS PREPARING FOR OFFICIAL PYPI RELEASE SHORTLY AFTER. THIS IS MEANT AS A FINAL SANITY CHECK BEFORE RELEASE.\n# This workflow will upload a Python Package using Twine to Test PyPi (Full release)\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: TestPypi Release\n\non: workflow_dispatch\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-18.04\n\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.8'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine pypandoc packaging\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_TEST_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_TEST_PASSWORD }}\n        RELEASE: 1\n      run: |\n        for v in common core features tabular multimodal timeseries autogluon\n        do\n          cd \"$v\"/\n          python setup.py sdist bdist_wheel\n          twine upload --repository testpypi dist/* --verbose\n          cd ..\n        done\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:38.708823", "created_at": "2021-12-30T19:44:35+01:00", "updated_at": "2021-12-30T19:44:35+01:00", "name": "Slash Command Dispatch", "path": ".github/workflows/slash_command_dispatch.yml", "contents": "name: Slash Command Dispatch\non:\n  issue_comment:\n    types: [created]\njobs:\n  slashCommandDispatch:\n    runs-on: ubuntu-latest\n    if: ${{ github.event.issue.pull_request }}\n    steps:\n      - name: Get PR SHA\n        id: sha\n        uses: actions/github-script@v4\n        with:\n          result-encoding: string\n          script: |\n            const { owner, repo, number } = context.issue;\n            const pr = await github.pulls.get({\n              owner,\n              repo,\n              pull_number: number,\n            });\n            return pr.data.head.sha\n      - name: Get PR number\n        id: pr_number\n        uses: actions/github-script@v4\n        with:\n          result-encoding: string\n          script: |\n            const { owner, repo, number } = context.issue;\n            return number\n      - name: Get Forked Repository and Branch\n        id: pr_info\n        run: |\n          # Use the GitHub API to fetch information about the pull request\n          pr_info=$(curl -s -H \"Authorization: token ${{ secrets.PAT }}\" \\\n                      \"https://api.github.com/repos/${{ github.repository }}/pulls/${{ steps.pr_number.outputs.result }}\")\n\n          # Extract the forked repository and branch from the pull request info\n          forked_repo=$(echo \"$pr_info\" | jq -r '.head.repo.full_name')\n          forked_branch=$(echo \"$pr_info\" | jq -r '.head.ref')\n          echo \"Forked Repository: $forked_repo\"\n          echo \"Forked Branch: $forked_branch\"\n          echo \"FORK_NAME=$forked_repo\" >> $GITHUB_OUTPUT\n          echo \"FORK_BRANCH=$forked_branch\" >> $GITHUB_OUTPUT\n      - name: Slash Command Dispatch\n        id: scd\n        uses: peter-evans/slash-command-dispatch@v4\n        with:\n          token: ${{ secrets.PAT }}\n          permission: write\n          commands: |\n            benchmark\n            platform_tests\n          dispatch-type: workflow\n          static-args: |\n            repository=${{ github.repository }}\n            comment-id=${{ github.event.comment.id }}\n            pr-sha=${{ steps.sha.outputs.result }}\n            branch_or_pr_number=PR-${{ steps.pr_number.outputs.result }}\n            fork_info=${{ steps.pr_info.outputs.FORK_NAME }}|${{ steps.pr_info.outputs.FORK_BRANCH }}\n      - name: Edit comment with error message\n        if: steps.scd.outputs.error-message\n        uses: peter-evans/create-or-update-comment@v4\n        with:\n          comment-id: ${{ github.event.comment.id }}\n          body: |\n            > ${{ steps.scd.outputs.error-message }}\n", "state": "active", "repository": "autogluon/autogluon"}
{"mined_at": "2024-07-15T18:07:40.949996", "created_at": "2020-12-22T21:02:48+01:00", "updated_at": "2023-06-24T00:34:20+02:00", "name": "Docs check", "path": ".github/workflows/docs-check.yml", "contents": null, "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:41.993541", "created_at": "2020-12-22T21:02:48+01:00", "updated_at": "2020-12-22T21:02:48+01:00", "name": "Greetings", "path": ".github/workflows/greetings.yml", "contents": "name: Greetings\n# https://github.com/marketplace/actions/first-interaction\n\non: [issues] # pull_request\n\njobs:\n  greeting:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/first-interaction@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          issue-message: \"Hi! thanks for your contribution!, great first issue!\"\n          pr-message: \"Hey thanks for the input! Please give us a bit of time to review it!\"\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:43.317512", "created_at": "2022-10-10T16:28:04+02:00", "updated_at": "2023-12-02T01:51:47+01:00", "name": "General checks", "path": ".github/workflows/ci-checks.yml", "contents": "name: General checks\n\non:\n  push:\n    branches: [master, \"release/*\"]\n  pull_request:\n    branches: [master, \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}\n\njobs:\n  check-code:\n    uses: Lightning-AI/utilities/.github/workflows/check-typing.yml@v0.11.2\n    with:\n      actions-ref: v0.11.2\n      extra-typing: \"typing\"\n\n  check-schema:\n    uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@v0.11.2\n\n  check-package:\n    if: github.event.pull_request.draft == false\n    uses: Lightning-AI/utilities/.github/workflows/check-package.yml@v0.11.2\n    with:\n      actions-ref: v0.11.2\n      artifact-name: dist-packages-${{ github.sha }}\n      import-name: \"torchmetrics\"\n      testing-matrix: |\n        {\n          \"os\": [\"ubuntu-22.04\", \"macos-12\", \"windows-2022\"],\n          \"python-version\": [\"3.8\", \"3.11\"]\n        }\n\n  check-md-links:\n    uses: Lightning-AI/utilities/.github/workflows/check-md-links.yml@v0.11.2\n    with:\n      base-branch: master\n      config-file: \".github/markdown-links-config.json\"\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:44.549841", "created_at": "2022-11-22T01:15:40+01:00", "updated_at": "2023-08-22T22:17:11+02:00", "name": "CI integrations | CPU", "path": ".github/workflows/ci-integrate.yml", "contents": "name: \"CI integrations | CPU\"\n\n# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows\non: # Trigger the workflow on push or pull request, but only for the master branch\n  push:\n    branches: [master, \"release/*\"]\n  pull_request:\n    branches: [master, \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize]\n  schedule:\n    # At the end of every day\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  pytest:\n    runs-on: ${{ matrix.os }}\n    if: github.event.pull_request.draft == false\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-22.04\", \"macOS-12\", \"windows-2022\"]\n        python-version: [\"3.8\", \"3.10\"]\n        requires: [\"oldest\", \"latest\"]\n        exclude:\n          - { python-version: \"3.10\", requires: \"oldest\" }\n          - { python-version: \"3.10\", os: \"windows\" } # todo: https://discuss.pytorch.org/t/numpy-is-not-available-error/146192\n        include:\n          - { python-version: \"3.10\", requires: \"latest\", os: \"ubuntu-22.04\" }\n          # - { python-version: \"3.10\", requires: \"latest\", os: \"macOS-14\" } # M1 machine # todo: crashing for MPS out of memory\n    env:\n      PYTORCH_URL: \"https://download.pytorch.org/whl/cpu/torch_stable.html\"\n      FREEZE_REQUIREMENTS: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}\n      PYPI_CACHE: \"_ci-cache_PyPI\"\n\n    # Timeout: https://stackoverflow.com/a/59076067/4521646\n    # seems that MacOS jobs take much more than orger OS\n    timeout-minutes: 45\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: source cashing\n        uses: ./.github/actions/pull-caches\n      - name: set oldest if/only for integrations\n        if: matrix.requires == 'oldest'\n        run: python .github/assistant.py set-oldest-versions --req_files='[\"requirements/_integrate.txt\"]'\n\n      - name: Install all dependencies\n        run: |\n          # this was updated in `source cashing` by optional oldest\n          cat requirements/_integrate.txt\n          # to have install pyTorch\n          pip install -e . \"setuptools==69.5.1\" --find-links=${PYTORCH_URL}\n\n          # adjust version to PT ecosystem based on installed TM\n          python -m wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/adjust-torch-versions.py\n          python adjust-torch-versions.py requirements/base.txt\n          python adjust-torch-versions.py requirements/image.txt\n\n          # install package and dependencies\n          pip install -e . -r requirements/_tests.txt -r requirements/_integrate.txt \\\n            --find-links=${PYTORCH_URL} --find-links=${PYPI_CACHE} \\\n            --upgrade-strategy eager\n          pip list\n\n      - name: Integrations\n        working-directory: ./tests\n        env:\n          PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION: \"python\"\n        run: python -m pytest integrations -v --durations=25 --reruns 3 --reruns-delay 2\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:45.579260", "created_at": "2023-03-18T21:21:53+01:00", "updated_at": "2023-03-18T21:21:53+01:00", "name": "Clear cache weekly", "path": ".github/workflows/clear-cache.yml", "contents": "name: Clear cache weekly\n\non:\n  workflow_dispatch:\n    inputs:\n      pattern:\n        description: \"pattern for cleaning cache\"\n        default: \"pip|conda\"\n        required: false\n        type: string\n\njobs:\n  cron-clear:\n    if: github.event_name == 'schedule'\n    uses: Lightning-AI/utilities/.github/workflows/clear-cache.yml@v0.11.2\n    with:\n      pattern: \"pip-latest\"\n\n  direct-clear:\n    if: github.event_name == 'workflow_dispatch'\n    uses: Lightning-AI/utilities/.github/workflows/clear-cache.yml@v0.11.2\n    with:\n      pattern: ${{ inputs.pattern }}\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:46.799593", "created_at": "2023-03-31T10:39:18+02:00", "updated_at": "2023-03-31T17:19:42+02:00", "name": "Build Docs", "path": ".github/workflows/docs-build.yml", "contents": "name: Build Docs\n\non:\n  push:\n    branches: [\"master\", \"release/*\"]\n    tags: [\"*\"]\n  pull_request:\n    branches: [\"master\", \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  FREEZE_REQUIREMENTS: \"1\"\n  TORCH_URL: \"https://download.pytorch.org/whl/cpu/torch_stable.html\"\n  PYPI_CACHE: \"_ci-cache_PyPI\"\n  PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION: \"python\"\n  TOKENIZERS_PARALLELISM: false\n  SPHINX_MOCK_REQUIREMENTS: 0\n  SPHINX_FETCH_ASSETS: 0\n  SPHINX_PIN_RELEASE_VERSIONS: 1\n\njobs:\n  docs-make:\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        target: [html, doctest, linkcheck]\n    timeout-minutes: 30\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: source cashing\n        uses: ./.github/actions/pull-caches\n        with:\n          requires: ${{ matrix.requires }}\n          pytorch-version: ${{ matrix.pytorch-version }}\n          pypi-dir: ${{ env.PYPI_CACHE }}\n\n      - name: Install Latex\n        if: ${{ matrix.target == 'html' }}\n        # install Texlive, see https://linuxconfig.org/how-to-install-latex-on-ubuntu-20-04-focal-fossa-linux\n        run: |\n          # sudo apt-get update --fix-missing\n          sudo apt-get install -y \\\n            texlive-latex-extra texlive-pictures texlive-fonts-recommended dvipng cm-super\n\n      - name: Install package & dependencies\n        run: |\n          make get-sphinx-template\n          pip install . -U -r requirements/_docs.txt \\\n            --find-links=\"${PYPI_CACHE}\" --find-links=\"${TORCH_URL}\"\n      - run: pip list\n      - name: Full build for deployment\n        if: github.event_name != 'pull_request'\n        run: echo \"SPHINX_FETCH_ASSETS=1\" >> $GITHUB_ENV\n      - name: Disable Gallery build\n        if: matrix.target != 'html'\n        run: echo \"SPHINX_ENABLE_GALLERY=0\" >> $GITHUB_ENV\n      - name: make ${{ matrix.target }}\n        working-directory: ./docs\n        run: make ${{ matrix.target }} --debug --jobs $(nproc) SPHINXOPTS=\"-W --keep-going\"\n\n      - name: Upload built docs\n        if: ${{ matrix.target == 'html' && github.event_name != 'pull_request' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs-${{ matrix.target }}-${{ github.sha }}\n          path: docs/build/\n          retention-days: ${{ steps.keep-artifact.outputs.DAYS }}\n\n      - name: update cashing\n        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}\n        continue-on-error: true\n        uses: ./.github/actions/push-caches\n        with:\n          pypi-dir: ${{ env.PYPI_CACHE }}\n\n  deploy-docs:\n    needs: docs-make\n    if: github.repository_owner == 'Lightning-AI' && github.event_name == 'push'\n    runs-on: ubuntu-latest\n    env:\n      GCP_TARGET: \"gs://lightning-docs-metrics\"\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: docs-html-${{ github.sha }}\n          path: docs/build/\n\n      - name: Authenticate to Google Cloud\n        uses: google-github-actions/auth@v2\n        with:\n          credentials_json: ${{ secrets.GCS_SA_KEY }}\n\n      - name: Setup gcloud\n        uses: google-github-actions/setup-gcloud@v2\n        with:\n          project_id: ${{ secrets.GCS_PROJECT }}\n\n      # Uploading docs to GCS, so they can be served on lightning.ai\n      - name: Upload docs/metrics/stable to GCS 🪣\n        if: startsWith(github.ref, 'refs/heads/release/')\n        run: gsutil -m rsync -d -R docs/build/html/ ${GCP_TARGET}/stable\n\n      # Uploading docs to GCS, so they can be served on lightning.ai\n      - name: Upload docs/metrics/latest to GCS 🪣\n        if: github.ref == 'refs/heads/master'\n        run: gsutil -m rsync -d -R docs/build/html/ ${GCP_TARGET}/latest\n\n      # Uploading docs to GCS, so they can be served on lightning.ai\n      - name: Upload docs/metrics/release to GCS 🪣\n        if: startsWith(github.ref, 'refs/tags/')\n        run: gsutil -m rsync -d -R docs/build/html/ ${GCP_TARGET}/${{ github.ref_name }}\n\n      # Uploading docs as archive to GCS, so they can be as backup\n      - name: Upload docs as archive to GCS 🪣\n        if: startsWith(github.ref, 'refs/tags/')\n        working-directory: docs/build\n        run: |\n          zip ${{ github.ref_name }}.zip -r html/\n          gsutil cp ${{ github.ref_name }}.zip ${GCP_TARGET}\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:47.910044", "created_at": "2023-05-09T18:23:43+02:00", "updated_at": "2023-08-08T10:32:30+02:00", "name": "RTFD Preview", "path": ".github/workflows/ci-docs.yml", "contents": null, "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:49.047622", "created_at": "2023-08-16T14:14:00+02:00", "updated_at": "2023-08-16T14:14:00+02:00", "name": "RTFD Preview", "path": ".github/workflows/ci-rtfd.yml", "contents": "name: RTFD Preview\non:\n  pull_request_target:\n    types:\n      - opened\n\npermissions:\n  pull-requests: write\n\njobs:\n  documentation-links:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: readthedocs/actions/preview@v1\n        with:\n          project-slug: \"torchmetrics\"\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:50.179695", "created_at": "2023-08-22T22:15:03+02:00", "updated_at": "2023-08-22T22:17:11+02:00", "name": "CI testing | CPU", "path": ".github/workflows/ci-tests.yml", "contents": "name: \"CI testing | CPU\"\n\n# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows\non: # Trigger the workflow on push or pull request, but only for the master branch\n  push:\n    branches: [master, \"release/*\"]\n  pull_request:\n    branches: [master, \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize]\n  workflow_dispatch: {}\n  schedule:\n    # At the end of every day\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  check-diff:\n    if: github.event.pull_request.draft == false\n    uses: ./.github/workflows/_focus-diff.yml\n\n  pytester:\n    runs-on: ${{ matrix.os }}\n    needs: check-diff\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-20.04\"]\n        python-version: [\"3.9\"]\n        pytorch-version:\n          - \"1.10.2\"\n          - \"1.11.0\"\n          - \"1.12.1\"\n          - \"1.13.1\"\n          - \"2.0.1\"\n          - \"2.1.2\"\n          - \"2.2.2\"\n          - \"2.3.0\"\n        include:\n          # cover additional python nad PR combinations\n          - { os: \"ubuntu-22.04\", python-version: \"3.8\", pytorch-version: \"1.13.1\" }\n          - { os: \"ubuntu-22.04\", python-version: \"3.10\", pytorch-version: \"2.0.1\" }\n          - { os: \"ubuntu-22.04\", python-version: \"3.10\", pytorch-version: \"2.2.2\" }\n          - { os: \"ubuntu-22.04\", python-version: \"3.11\", pytorch-version: \"2.3.0\" }\n          # standard mac machine, not the M1\n          - { os: \"macOS-13\", python-version: \"3.8\", pytorch-version: \"1.13.1\" }\n          - { os: \"macOS-13\", python-version: \"3.10\", pytorch-version: \"2.0.1\" }\n          - { os: \"macOS-13\", python-version: \"3.11\", pytorch-version: \"2.2.2\" }\n          # using the ARM based M1 machine\n          - { os: \"macOS-14\", python-version: \"3.10\", pytorch-version: \"2.0.1\" }\n          - { os: \"macOS-14\", python-version: \"3.11\", pytorch-version: \"2.3.0\" }\n          # some windows\n          - { os: \"windows-2022\", python-version: \"3.8\", pytorch-version: \"1.13.1\" }\n          - { os: \"windows-2022\", python-version: \"3.10\", pytorch-version: \"2.0.1\" }\n          - { os: \"windows-2022\", python-version: \"3.11\", pytorch-version: \"2.3.0\" }\n    env:\n      PYTORCH_URL: \"https://download.pytorch.org/whl/cpu/torch_stable.html\"\n      FREEZE_REQUIREMENTS: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}\n      PYPI_CACHE: \"_ci-cache_PyPI\"\n      TOKENIZERS_PARALLELISM: false\n      TEST_DIRS: ${{ needs.check-diff.outputs.test-dirs }}\n\n    # Timeout: https://stackoverflow.com/a/59076067/4521646\n    # seems that macOS jobs take much more than orger OS\n    timeout-minutes: 120\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # GitHub Actions: Run step on specific OS: https://stackoverflow.com/a/57948488/4521646\n      - name: Setup macOS\n        if: ${{ runner.os == 'macOS' }}\n        run: |\n          echo 'UNITTEST_TIMEOUT=--timeout=75' >> $GITHUB_ENV\n          brew install mecab # https://github.com/coqui-ai/TTS/issues/1533#issuecomment-1338662303\n          brew install gcc libomp ffmpeg # https://github.com/pytorch/pytorch/issues/20030\n      - name: Setup Linux\n        if: ${{ runner.os == 'Linux' }}\n        run: |\n          echo 'UNITTEST_TIMEOUT=--timeout=75' >> $GITHUB_ENV\n          sudo apt update --fix-missing\n          sudo apt install -y ffmpeg\n      - name: Setup Windows\n        if: ${{ runner.os == 'windows' }}\n        run: choco install ffmpeg\n\n      - name: source cashing\n        uses: ./.github/actions/pull-caches\n        with:\n          requires: ${{ matrix.requires }}\n          pytorch-version: ${{ matrix.pytorch-version }}\n          pypi-dir: ${{ env.PYPI_CACHE }}\n\n      #- name: Switch to PT test URL\n      #  if: ${{ matrix.pytorch-version == '2.3.0' }}\n      #  run: echo 'PYTORCH_URL=https://download.pytorch.org/whl/test/cpu/torch_test.html' >> $GITHUB_ENV\n      - name: Install pkg\n        timeout-minutes: 25\n        run: |\n          pip --version\n          pip install -e . -U \"setuptools==69.5.1\" -r requirements/_doctest.txt \\\n            --find-links $PYTORCH_URL -f $PYPI_CACHE\n          pip list\n\n      - name: DocTests\n        timeout-minutes: 25\n        working-directory: ./src\n        env:\n          SKIP_SLOW_DOCTEST: 1\n        # NOTE: run coverage on tests does not propagate failure status for Win, https://github.com/nedbat/coveragepy/issues/1003\n        run: python -m pytest torchmetrics --reruns 3 --reruns-delay 2\n\n      - name: Install all dependencies\n        run: |\n          curl https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/adjust-torch-versions.py -o adjust-torch-versions.py\n          pip install -q cython  # needed for installing `pycocotools` in latest config\n          for fpath in `ls requirements/*.txt`; do\n              python adjust-torch-versions.py $fpath\n          done\n          pip install --requirement requirements/_devel.txt -U \\\n            --find-links $PYTORCH_URL -f $PYPI_CACHE\n          pip list\n\n      - name: set special vars for PR\n        if: ${{ github.event_name == 'pull_request' }}\n        run: |\n          echo 'ALLOW_SKIP_IF_OUT_OF_MEMORY=1' >> $GITHUB_ENV\n          echo 'ALLOW_SKIP_IF_BAD_CONNECTION=1' >> $GITHUB_ENV\n\n      - name: Sanity check\n        id: info\n        run: |\n          python -c \"from torch import __version__ as ver; ver = ver.split('+')[0] ; assert ver == '${{ matrix.pytorch-version }}', ver\"\n          python -c 'import torch ; print(\"TORCH=\" + str(torch.__version__))' >> $GITHUB_OUTPUT\n\n      - name: Pull testing data from S3\n        working-directory: ./tests\n        env:\n          S3_DATA: \"https://pl-public-data.s3.amazonaws.com/metrics/data.zip\"\n        run: |\n          pip install -q \"urllib3>1.0\"\n          # wget is simpler but does not work on Windows\n          python -c \"from urllib.request import urlretrieve ; urlretrieve('$S3_DATA', 'data.zip')\"\n          unzip -o data.zip\n          ls -l _data/*\n\n      - name: Export README tests\n        run: python -m phmdoctest README.md --outfile tests/unittests/test_readme.py\n\n      - name: Unittests common\n        # skip for PR if there is nothing to test, note that outside PR there is default 'unittests'\n        if: ${{ env.TEST_DIRS != '' }}\n        working-directory: ./tests\n        run: |\n          python -m pytest \\\n            $TEST_DIRS \\\n            --cov=torchmetrics \\\n            --durations=50 \\\n            --reruns 3 \\\n            --reruns-delay 1 \\\n            -m \"not DDP\" \\\n            -n auto \\\n            --dist=load \\\n            ${{ env.UNITTEST_TIMEOUT }}\n\n      - name: Unittests DDP\n        # skip for PR if there is nothing to test, note that outside PR there is default 'unittests'\n        if: ${{ env.TEST_DIRS != '' }}\n        working-directory: ./tests\n        env:\n          USE_PYTEST_POOL: \"1\"\n        run: |\n          python -m pytest -v \\\n            $TEST_DIRS \\\n            --cov=torchmetrics \\\n            --durations=50 \\\n            -m DDP \\\n            --reruns 3 \\\n            --reruns-delay 1 \\\n            ${{ env.UNITTEST_TIMEOUT }}\n\n      - name: Statistics\n        # skip for PR if there is nothing to test, note that outside PR there is default 'unittests'\n        if: ${{ env.TEST_DIRS != '' }}\n        working-directory: ./tests\n        run: |\n          coverage xml\n          coverage report\n\n      - name: Upload coverage to Codecov\n        # skip for PR if there is nothing to test, note that outside PR there is default 'unittests'\n        if: ${{ env.TEST_DIRS != '' }}\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: tests/coverage.xml\n          flags: cpu,${{ runner.os }},python${{ matrix.python-version }},torch${{ steps.info.outputs.TORCH }}\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n      - name: update cashing\n        if: github.event_name != 'pull_request'\n        continue-on-error: true\n        uses: ./.github/actions/push-caches\n        with:\n          pypi-dir: ${{ env.PYPI_CACHE }}\n\n  testing-guardian:\n    runs-on: ubuntu-latest\n    needs: pytester\n    if: always()\n    steps:\n      - run: echo \"${{ needs.pytester.result }}\"\n      - name: failing...\n        if: needs.pytester.result == 'failure'\n        run: exit 1\n      - name: cancelled or skipped...\n        if: contains(fromJSON('[\"cancelled\", \"skipped\"]'), needs.pytester.result)\n        timeout-minutes: 1\n        run: sleep 90\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:51.246673", "created_at": "2023-08-31T17:03:21+02:00", "updated_at": "2023-11-23T14:01:55+01:00", "name": "Build (& Push) Dockers", "path": ".github/workflows/docker-build.yml", "contents": "name: \"Build (& Push) Dockers\"\n\non: # Trigger the workflow on push or pull request, but only for the master branch\n  push:\n    branches: [master]\n    paths:\n      - \"requirements/*\"\n      - \"requirements.txt\"\n      - \".devcontainer/*\"\n      - \"dockers/**\"\n      - \".github/workflows/docker-build.yml\"\n      - \"setup.py\"\n  pull_request:\n    branches: [master]\n    paths:\n      - \"requirements/*\"\n      - \"requirements.txt\"\n      - \".devcontainer/*\"\n      - \"dockers/**\"\n      - \".github/workflows/docker-build.yml\"\n      - \"setup.py\"\n  workflow_dispatch: {}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}\n\nenv:\n  PUSH_DOCKERHUB: ${{ github.ref == 'refs/heads/master' || github.event_name != 'pull_request' }}\n\njobs:\n  build-Devcontainer:\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        python: [\"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Login to DockerHub\n        if: env.PUSH_DOCKERHUB == 'true' && github.repository_owner == 'Lightning-AI'\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build (and Push) Devcontainer\n        # publish master/release\n        uses: docker/build-push-action@v5\n        with:\n          build-args: |\n            VARIANT=${{ matrix.python }}\n          file: .devcontainer/Dockerfile\n          push: ${{ env.PUSH_DOCKERHUB }}\n          tags: \"pytorchlightning/torchmetrics:devcontainer-py${{ matrix.python }}\"\n        timeout-minutes: 50\n\n  build-cuda:\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # These are the base images for PL release docker images,\n          #  so include at least all the combinations in release-dockers.yml.\n          - { python: \"3.9\", pytorch: \"1.10\", cuda: \"11.3.1\", ubuntu: \"20.04\" }\n          #- { python: \"3.9\", pytorch: \"1.11\", cuda: \"11.8.0\", ubuntu: \"22.04\" }\n          - { python: \"3.9\", pytorch: \"1.13\", cuda: \"11.8.0\", ubuntu: \"22.04\" }\n          - { python: \"3.10\", pytorch: \"2.2\", cuda: \"12.1.1\", ubuntu: \"22.04\" }\n          - { python: \"3.11\", pytorch: \"2.2\", cuda: \"12.1.1\", ubuntu: \"22.04\" }\n          - { python: \"3.11\", pytorch: \"2.3\", cuda: \"12.1.1\", ubuntu: \"22.04\" }\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        if: env.PUSH_DOCKERHUB == 'true' && github.repository_owner == 'Lightning-AI'\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build (and Push) runner\n        uses: docker/build-push-action@v5\n        with:\n          build-args: |\n            UBUNTU_VERSION=${{ matrix.ubuntu }}\n            PYTHON_VERSION=${{ matrix.python }}\n            PYTORCH_VERSION=${{ matrix.pytorch }}\n            CUDA_VERSION=${{ matrix.cuda }}\n          file: dockers/ubuntu-cuda/Dockerfile\n          push: ${{ env.PUSH_DOCKERHUB }}\n          tags: \"pytorchlightning/torchmetrics:ubuntu${{ matrix.ubuntu }}-cuda${{ matrix.cuda }}-py${{ matrix.python }}-torch${{ matrix.pytorch }}\"\n        timeout-minutes: 55\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:52.316153", "created_at": "2023-09-01T09:59:22+02:00", "updated_at": "2023-09-01T09:59:22+02:00", "name": "PyPI Release", "path": ".github/workflows/publish-pkg.yml", "contents": "name: PyPI Release\n\n# https://help.github.com/en/actions/reference/events-that-trigger-workflows\non: # Trigger the workflow on push or pull request, but only for the master branch\n  push:\n    branches: [master, \"release/*\"]\n  pull_request:\n    branches: [master, \"release/*\"]\n    paths:\n      - \".github/workflows/publish-pkg.yml\"\n  release:\n    types: [published]\n\njobs:\n  # based on https://github.com/pypa/gh-action-pypi-publish\n  build-package:\n    runs-on: ubuntu-20.04\n    timeout-minutes: 10\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: >-\n          python -m pip install --user --upgrade setuptools wheel\n\n      - name: Build packages\n        run: |\n          python setup.py sdist bdist_wheel\n          ls -lh dist/\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: pypi-packages-${{ github.sha }}\n          path: dist\n\n  release-upload:\n    needs: build-package\n    if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: pypi-packages-${{ github.sha }}\n          path: dist\n      - run: ls -lh dist/\n\n      - name: Upload to release\n        uses: AButler/upload-release-assets@v3.0\n        with:\n          files: \"dist/*\"\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n\n  publish-pypi-test:\n    needs: build-package\n    if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: pypi-packages-${{ github.sha }}\n          path: dist\n      - run: ls -lh dist/\n      # We do this, since failures on test.pypi aren't that bad\n      - name: Publish to Test PyPI\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.test_pypi_password }}\n          repository_url: https://test.pypi.org/legacy/\n          verbose: true\n\n  publish-delayed:\n    needs: publish-pypi-test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: juliangruber/sleep-action@v2\n        with:\n          time: 5m\n\n  publish-pypi-main:\n    needs: [build-package, publish-delayed]\n    if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: pypi-packages-${{ github.sha }}\n          path: dist\n      - run: ls -lh dist/\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n          verbose: true\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:53.430992", "created_at": "2023-09-01T10:08:41+02:00", "updated_at": "2023-09-01T10:08:41+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non: [pull_request_target]\n\njobs:\n  triage-prs:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      # Uploads repository content to the runner\n      - uses: actions/checkout@v4\n      - uses: actions/labeler@v5\n        with:\n          # The path to the label configuration file.\n          configuration-path: .github/labeling-config.yml\n          # Whether removing labels when matching files are reverted or no longer changed by the PR\n          sync-labels: true\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:54.552247", "created_at": "2023-09-21T10:21:14+02:00", "updated_at": "2023-09-21T10:21:14+02:00", "name": "/help command", "path": ".github/workflows/cmd-help.yml", "contents": "name: /help command\non:\n  repository_dispatch:\n    types: [help-command]\n\njobs:\n  help:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Update with comment\n        uses: peter-evans/create-or-update-comment@v4.0.0\n        with:\n          token: ${{ secrets.PAT_GHOST }}\n          reaction-token: ${{ secrets.PAT_GHOST }}\n          repository: ${{ github.event.client_payload.github.payload.repository.full_name }}\n          comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n          body: |\n            > Slash command help (added by @pl-ghost bot)\n            >\n            > Command | Description\n            > --- | ---\n            > /rebase | Rebase the pull request on top of the current master.\n            > /help | Print out this help message\n          reaction-type: hooray\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:55.708321", "created_at": "2023-09-21T10:21:14+02:00", "updated_at": "2023-09-21T10:21:14+02:00", "name": "/rebase command", "path": ".github/workflows/cmd-rebase.yml", "contents": "name: /rebase command\non:\n  repository_dispatch:\n    types: [rebase-command]\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  rebase:\n    if: github.event.client_payload.pull_request.rebaseable == true\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout pull request\n        uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.PAT_GHOST }}\n          repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}\n          ref: ${{ github.event.client_payload.pull_request.head.ref }}\n          fetch-depth: 0\n\n      - name: Rebase\n        run: |\n          git config --global user.name '${{ github.event.client_payload.github.actor }}'\n          git config --global user.email '${{ github.event.client_payload.github.actor }}@users.noreply.github.com'\n          git remote add base https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.event.client_payload.pull_request.base.repo.full_name }}.git\n          git fetch base ${{ github.event.client_payload.pull_request.base.ref }}\n          git rebase base/${{ github.event.client_payload.pull_request.base.ref }}\n          git push --force-with-lease\n\n      - name: Update comment\n        uses: peter-evans/create-or-update-comment@v4.0.0\n        with:\n          token: ${{ secrets.PAT_GHOST }}\n          repository: ${{ github.event.client_payload.github.payload.repository.full_name }}\n          comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n          body: Pull request successfully rebased\n          reaction-type: hooray\n\n  notRebaseable:\n    if: github.event.client_payload.pull_request.rebaseable != true\n    runs-on: ubuntu-latest\n    steps:\n      - name: Update comment\n        uses: peter-evans/create-or-update-comment@v4.0.0\n        with:\n          token: ${{ secrets.PAT_GHOST }}\n          repository: ${{ github.event.client_payload.github.payload.repository.full_name }}\n          comment-id: ${{ github.event.client_payload.github.payload.comment.id }}\n          body: Pull request is not rebaseable\n          reaction-type: hooray\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:56.824011", "created_at": "2023-09-21T10:21:14+02:00", "updated_at": "2023-09-21T10:21:14+02:00", "name": "Slash Command Dispatch", "path": ".github/workflows/slash-cmd-dispatch.yml", "contents": "name: Slash Command Dispatch\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  slash-command-dispatch:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Slash Command Dispatch\n        uses: peter-evans/slash-command-dispatch@v4.0.0\n        with:\n          token: ${{ secrets.PAT_GHOST }}\n          reaction-token: ${{ secrets.PAT_GHOST }}\n          # these commands belo need to be listed in particular workflows under:\n          # on:\n          #   repository_dispatch:\n          #     types: [<CMD>-command, ...]\n          # NOTE: when added new command pls update also help\n          commands: |\n            rebase\n            help\n          # permission field sets the repository permission level required by the user to dispatch commands.\n          # It expects one of the five repository permission levels, or none. From the least to greatest\n          # permission level they are none, read, triage, write, maintain and admin.\n          permission: write\n          # The issue type required for commands. (issue, pull-request, both)\n          issue-type: pull-request\n          reactions: true\n          allow-edits: false\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:07:57.975590", "created_at": "2024-02-07T17:21:34+01:00", "updated_at": "2024-02-07T17:21:34+01:00", "name": "Evaluate diff", "path": ".github/workflows/_focus-diff.yml", "contents": "name: Evaluate diff\n\non:\n  workflow_call:\n    # Map the workflow outputs to job outputs\n    outputs:\n      test-dirs:\n        description: \"Test folders\"\n        value: ${{ jobs.eval-diff.outputs.focus }}\n\njobs:\n  eval-diff:\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    # Map the job outputs to step outputs\n    outputs:\n      focus: ${{ steps.diff-domains.outputs.focus }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        #with:\n        #  python-version: 3.8\n\n      - name: Get PR diff\n        id: diff-domains\n        env:\n          PR_NUMBER: \"${{ github.event.pull_request.number }}\"\n        run: |\n          set -e\n          echo $PR_NUMBER\n          pip install -q -U packaging fire pyGithub pyopenssl\n          # python .github/assistant.py changed-domains $PR_NUMBER\n          echo \"focus=$(python .github/assistant.py changed-domains $PR_NUMBER)\" >> $GITHUB_OUTPUT\n\n      - run: echo \"${{ steps.diff-domains.outputs.focus }}\"\n", "state": "active", "repository": "lightning-ai/torchmetrics"}
{"mined_at": "2024-07-15T18:08:00.316251", "created_at": "2023-11-14T19:23:21+01:00", "updated_at": "2023-11-14T19:23:21+01:00", "name": "Business API CD", "path": ".github/workflows/business-api-cd.yml", "contents": "name: Business API CD\n\non:\n  push:\n    branches:\n      - feature-legal-name\n    paths:\n      - \"legal-api/**\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"Deploy To\"\n        required: true\n        type: choice\n        options:\n        - dev\n        - test\n        - sandbox\n        - prod\n\njobs:\n  business-api-cd:\n    uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-service-cd.yaml@main\n    with:\n      target: ${{ inputs.target }}\n      app_name: \"business-api\"\n      working_directory: \"./legal-api\"\n    secrets:\n      WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}\n      GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:01.314128", "created_at": "2023-11-08T18:49:30+01:00", "updated_at": "2023-11-08T18:49:30+01:00", "name": "Business API CI", "path": ".github/workflows/business-api-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:02.568926", "created_at": "2023-11-14T19:23:21+01:00", "updated_at": "2023-11-14T19:23:21+01:00", "name": "Business Auth CD", "path": ".github/workflows/business-auth-cd.yml", "contents": "name: Business Auth CD\n\non:\n  push:\n    branches:\n      - feature-legal-name\n    paths:\n      - \"queue_services/entity-auth/**\"\n      - \"queue_services/common/**\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"Deploy To\"\n        required: true\n        type: choice\n        options:\n        - dev\n        - test\n        - sandbox\n        - prod\n\njobs:\n  business-auth-cd:\n    uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-service-cd.yaml@main\n    with:\n      target: ${{ inputs.target }}\n      app_name: \"business-auth\"\n      working_directory: \"./queue_services/entity-auth\"\n    secrets:\n      WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}\n      GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:03.667834", "created_at": "2023-11-08T19:51:09+01:00", "updated_at": "2024-01-30T20:17:19+01:00", "name": "Business Auth CI", "path": ".github/workflows/business-auth-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:04.817528", "created_at": "2023-11-14T19:23:21+01:00", "updated_at": "2023-11-14T19:23:21+01:00", "name": "Business BN CD", "path": ".github/workflows/business-bn-cd.yml", "contents": "name: Business BN CD\n\non:\n  push:\n    branches:\n      - feature-legal-name\n    paths:\n      - \"queue_services/entity-bn/**\"\n      - \"queue_services/common/**\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"Deploy To\"\n        required: true\n        type: choice\n        options:\n        - dev\n        - test\n        - sandbox\n        - prod\n\njobs:\n  business-bn-cd:\n    uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-service-cd.yaml@main\n    with:\n      target: ${{ inputs.target }}\n      app_name: \"business-bn\"\n      working_directory: \"./queue_services/entity-bn\"\n    secrets:\n      WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}\n      GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:05.927951", "created_at": "2023-11-08T19:51:09+01:00", "updated_at": "2024-01-30T20:17:19+01:00", "name": "Business BN CI", "path": ".github/workflows/business-bn-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:07.178608", "created_at": "2023-11-14T19:23:21+01:00", "updated_at": "2023-11-14T19:23:21+01:00", "name": "Business Email Reminder Job CD", "path": ".github/workflows/business-email-reminder-cd.yml", "contents": "name: Business Email Reminder Job CD\n\non:\n  push:\n    branches:\n      - feature-legal-name\n    paths:\n      - \"./jobs/email-reminder/**\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"Deploy To\"\n        required: true\n        type: choice\n        options:\n        - dev\n        - test\n        - sandbox\n        - prod\n\njobs:\n  business-email-reminder-cd:\n    uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-job-cd.yaml@main\n    with:\n      target: ${{ inputs.target }}\n      app_name: \"business-email-reminder\"\n      working_directory: \"./jobs/email-reminder\"\n    secrets:\n      WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}\n      GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:08.289129", "created_at": "2023-11-08T19:51:09+01:00", "updated_at": "2023-11-08T19:51:09+01:00", "name": "Business Email Reminder Job CI", "path": ".github/workflows/business-email-reminder-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:09.738105", "created_at": "2023-11-14T19:23:21+01:00", "updated_at": "2023-11-14T19:23:21+01:00", "name": "Business Emailer CD", "path": ".github/workflows/business-emailer-cd.yml", "contents": "name: Business Emailer CD\n\non:\n  push:\n    branches:\n      - feature-legal-name\n    paths:\n      - \"queue_services/entity-emailer/**\"\n      - \"queue_services/common/**\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"Deploy To\"\n        required: true\n        type: choice\n        options:\n        - dev\n        - test\n        - sandbox\n        - prod\n\njobs:\n  business-emailer-cd:\n    uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-service-cd.yaml@main\n    with:\n      target: ${{ inputs.target }}\n      app_name: \"business-emailer\"\n      working_directory: \"./queue_services/entity-emailer\"\n    secrets:\n      WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}\n      GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:10.780838", "created_at": "2023-11-08T19:51:10+01:00", "updated_at": "2024-01-30T20:17:19+01:00", "name": "Business Emailer CI", "path": ".github/workflows/business-emailer-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:11.989988", "created_at": "2023-11-14T19:23:21+01:00", "updated_at": "2023-11-14T19:23:21+01:00", "name": "Business Filer CD", "path": ".github/workflows/business-filer-cd.yml", "contents": "name: Business Filer CD\n\non:\n  push:\n    branches:\n      - feature-legal-name\n    paths:\n      - \"queue_services/entity-filer/**\"\n      - \"queue_services/common/**\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"Deploy To\"\n        required: true\n        type: choice\n        options:\n        - dev\n        - test\n        - sandbox\n        - prod\n\njobs:\n  business-filer-cd:\n    uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-service-cd.yaml@main\n    with:\n      target: ${{ inputs.target }}\n      app_name: \"business-filer\"\n      working_directory: \"./queue_services/entity-filer\"\n    secrets:\n      WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}\n      GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:13.083187", "created_at": "2023-11-08T18:49:30+01:00", "updated_at": "2024-01-30T20:17:19+01:00", "name": "Business Filer CI", "path": ".github/workflows/business-filer-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:14.134101", "created_at": "2023-11-27T21:50:43+01:00", "updated_at": "2023-11-27T21:50:43+01:00", "name": "Business Filings Notebook Report Job CD", "path": ".github/workflows/business-filings-notebook-report-cd.yml", "contents": "name: Business Filings Notebook Report Job CD\r\n\r\non:\r\n  push:\r\n    branches:\r\n      - feature-legal-name\r\n    paths:\r\n      - \"./jobs/filings-notebook-report/**\"\r\n  workflow_dispatch:\r\n    inputs:\r\n      target:\r\n        description: \"Deploy To\"\r\n        required: true\r\n        type: choice\r\n        options:\r\n        - dev\r\n        - test\r\n        - sandbox\r\n        - prod\r\n\r\njobs:\r\n  business-filings-notebook-report-cd:\r\n    uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-job-cd.yaml@main\r\n    with:\r\n      target: ${{ inputs.target }}\r\n      app_name: \"business-filings-notebook-report\"\r\n      working_directory: \"./jobs/filings-notebook-report\"\r\n    secrets:\r\n      WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}\r\n      GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:15.266300", "created_at": "2023-11-24T19:18:06+01:00", "updated_at": "2023-11-24T19:18:06+01:00", "name": "Business Filings Notebook Report Job CI", "path": ".github/workflows/business-filings-notebook-report-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:16.395067", "created_at": "2023-11-14T19:23:21+01:00", "updated_at": "2023-11-14T19:23:21+01:00", "name": "Business Future Effective Filings Job CD", "path": ".github/workflows/business-future-effective-filings-cd.yml", "contents": "name: Business Future Effective Filings Job CD\n\non:\n  push:\n    branches:\n      - feature-legal-name\n    paths:\n      - \"./jobs/future-effective-filings/**\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"Deploy To\"\n        required: true\n        type: choice\n        options:\n        - dev\n        - test\n        - sandbox\n        - prod\n\njobs:\n  business-future-effective-filings-cd:\n    uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-job-cd.yaml@main\n    with:\n      target: ${{ inputs.target }}\n      app_name: \"business-future-effective-filings\"\n      working_directory: \"./jobs/future-effective-filings\"\n    secrets:\n      WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}\n      GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:17.621917", "created_at": "2023-11-08T19:51:10+01:00", "updated_at": "2023-11-08T19:51:10+01:00", "name": "Business Future Effective Filings Job CI", "path": ".github/workflows/business-future-effective-filings-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:18.737855", "created_at": "2024-03-28T17:45:29+01:00", "updated_at": "2024-03-28T17:45:29+01:00", "name": "Business OAS CI", "path": ".github/workflows/business-oas-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:19.746876", "created_at": "2023-11-14T19:23:21+01:00", "updated_at": "2023-11-14T19:23:21+01:00", "name": "Business Pay CD", "path": ".github/workflows/business-pay-cd.yml", "contents": "name: Business Pay CD\n\non:\n  push:\n    branches:\n      - feature-legal-name\n    paths:\n      - \"queue_services/entity-pay/**\"\n      - \"queue_services/common/**\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"Deploy To\"\n        required: true\n        type: choice\n        options:\n        - dev\n        - test\n        - sandbox\n        - prod\n\njobs:\n  business-pay-cd:\n    uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-service-cd.yaml@main\n    with:\n      target: ${{ inputs.target }}\n      app_name: \"business-pay\"\n      working_directory: \"./queue_services/entity-pay\"\n    secrets:\n      WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}\n      GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:20.898708", "created_at": "2023-11-08T18:49:30+01:00", "updated_at": "2024-01-30T20:17:19+01:00", "name": "Business Pay CI", "path": ".github/workflows/business-pay-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:22.128145", "created_at": "2024-05-14T22:43:16+02:00", "updated_at": "2024-05-14T22:43:16+02:00", "name": "Business Entity Pay CD", "path": ".github/workflows/business-pay-ocp-cd.yml", "contents": "name: Business Entity Pay CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"queue_services/business-pay/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./queue_services/business-pay\n\nenv:\n  APP_NAME: \"business-pay\"\n  TAG_NAME: \"dev\"\n\njobs:\n  entity-pay-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Business OCP Pay Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  entity-pay-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Business OCP Pay Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:23.214547", "created_at": "2023-11-30T21:57:00+01:00", "updated_at": "2023-11-30T21:57:00+01:00", "name": "Business SFTP ICBC Report Job CD", "path": ".github/workflows/business-sftp-icbc-report-cd.yml", "contents": "name: Business SFTP ICBC Report Job CD\r\n\r\non:\r\n  push:\r\n    branches:\r\n      - feature-legal-name\r\n    paths:\r\n      - \"./jobs/sftp-icbc-report/**\"\r\n  workflow_dispatch:\r\n    inputs:\r\n      target:\r\n        description: \"Deploy To\"\r\n        required: true\r\n        type: choice\r\n        options:\r\n        - dev\r\n        - test\r\n        - sandbox\r\n        - prod\r\n\r\njobs:\r\n  business-sftp-icbc-report-cd:\r\n    uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-job-cd.yaml@main\r\n    with:\r\n      target: ${{ inputs.target }}\r\n      app_name: \"business-sftp-icbc-report\"\r\n      working_directory: \"./jobs/sftp-icbc-report\"\r\n    secrets:\r\n      WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}\r\n      GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:24.213852", "created_at": "2023-11-24T19:18:06+01:00", "updated_at": "2023-11-24T19:18:06+01:00", "name": "Business SFTP ICBC Report Job CI", "path": ".github/workflows/business-sftp-icbc-report-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:25.213864", "created_at": "2023-11-24T19:18:06+01:00", "updated_at": "2023-11-24T19:18:06+01:00", "name": "Business NUANS  ICBC Report Job CI", "path": ".github/workflows/business-sftp-nuans-report-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:26.264874", "created_at": "2023-11-14T19:23:21+01:00", "updated_at": "2023-11-14T19:23:21+01:00", "name": "Business Update Colin Filings Job CD", "path": ".github/workflows/business-update-colin-filings-cd.yml", "contents": "name: Business Update Colin Filings Job CD\n\non:\n  push:\n    branches:\n      - feature-legal-name\n    paths:\n      - \"./jobs/update-colin-filings/**\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"Deploy To\"\n        required: true\n        type: choice\n        options:\n        - dev\n        - test\n        - sandbox\n        - prod\n\njobs:\n  business-update-colin-filings-cd:\n    uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-job-cd.yaml@main\n    with:\n      target: ${{ inputs.target }}\n      app_name: \"business-update-colin-filings\"\n      working_directory: \"./jobs/update-colin-filings\"\n    secrets:\n      WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}\n      GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:27.327480", "created_at": "2023-11-08T19:51:09+01:00", "updated_at": "2023-11-08T19:51:09+01:00", "name": "Business Update Colin Filings Job CI", "path": ".github/workflows/business-update-colin-filings-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:28.347026", "created_at": "2023-11-14T19:23:21+01:00", "updated_at": "2023-11-14T19:23:21+01:00", "name": "Business Update Legal Filings Job CD", "path": ".github/workflows/business-update-legal-filings-cd.yml", "contents": "name: Business Update Legal Filings Job CD\n\non:\n  push:\n    branches:\n      - feature-legal-name\n    paths:\n      - \"./jobs/update-legal-filings/**\"\n  workflow_dispatch:\n    inputs:\n      target:\n        description: \"Deploy To\"\n        required: true\n        type: choice\n        options:\n        - dev\n        - test\n        - sandbox\n        - prod\n\njobs:\n  business-update-legal-filings-cd:\n    uses: bcgov/bcregistry-sre/.github/workflows/cloud-run-job-cd.yaml@main\n    with:\n      target: ${{ inputs.target }}\n      app_name: \"business-update-legal-filings\"\n      working_directory: \"./jobs/update-legal-filings\"\n    secrets:\n      WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}\n      GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:29.468999", "created_at": "2023-11-08T19:51:09+01:00", "updated_at": "2023-11-08T19:51:09+01:00", "name": "Business Update Legal Filings Job CI", "path": ".github/workflows/business-update-legal-filings-ci.yml", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:30.627239", "created_at": "2020-09-21T20:35:23+02:00", "updated_at": "2020-09-21T20:35:23+02:00", "name": "Colin API CD", "path": ".github/workflows/colin-api-cd.yml", "contents": "name: Colin API CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"colin-api/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./colin-api\n\nenv:\n  APP_NAME: \"colin-api\"\n  TAG_NAME: \"dev\"\n\njobs:\n  colin-api-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Colin API Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  colin-api-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Colin API Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:31.856553", "created_at": "2020-12-09T19:36:46+01:00", "updated_at": "2021-01-13T21:18:10+01:00", "name": "Colin API CI", "path": ".github/workflows/colin-api-ci.yml", "contents": "name: Colin API CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"colin-api/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./colin-api\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n    env:\n      DATABASE_TEST_USERNAME: postgres\n      DATABASE_TEST_PASSWORD: postgres\n      DATABASE_TEST_NAME: postgres\n      DATABASE_TEST_HOST: localhost\n      DATABASE_HOST: localhost\n      DATABASE_PASSWORD: postgres\n      NATS_SERVERS: \"nats://nats:4222\"\n      NATS_CLIENT_NAME: entity.legal_api\n      NATS_CLUSTER_ID: test-cluster\n      NATS_FILER_SUBJECT: entity.filing.filer\n      NATS_QUEUE: entity-filer-worker\n      JWT_OIDC_JWKS_CACHE_TIMEOUT: 300\n      GO_LIVE_DATE: 2019-08-12\n\n    runs-on: ubuntu-20.04\n\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./colin-api/coverage.xml\n          flags: colinapi\n          name: codecov-colin-api\n          token: ${{ secrets.CODECOV_TOKEN}}\n          fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:32.989242", "created_at": "2020-09-22T22:30:28+02:00", "updated_at": "2020-09-22T22:30:28+02:00", "name": "Data Reset Tool CD", "path": ".github/workflows/data-reset-tool-cd.yml", "contents": "name: Data Reset Tool CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"data-reset-tool/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./data-reset-tool\n\nenv:\n  APP_NAME: \"data-reset-tool\"\n  TAG_NAME: \"dev\"\n\njobs:\n  data-reset-tool-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Data Reset Tool Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  data-reset-tool-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Data Reset Tool Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:34.723496", "created_at": "2020-09-22T19:51:52+02:00", "updated_at": "2020-09-22T19:51:52+02:00", "name": "Data Reset Tool CI", "path": ".github/workflows/data-reset-tool-ci.yml", "contents": "name: Data Reset Tool CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"data-reset-tool/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./data-reset-tool\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n        with:\n          file: ./data-reset-tool/coverage.xml\n          flags: datareset\n          name: codecov-data-reset-tool\n          fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:35.853788", "created_at": "2021-06-29T21:27:55+02:00", "updated_at": "2021-06-29T21:27:55+02:00", "name": "Email Reminder Job CD", "path": ".github/workflows/email-reminder-cd.yml", "contents": "name: Email Reminder Job CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/email-reminder/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/email-reminder\n\nenv:\n  APP_NAME: \"email-reminder\"\n  TAG_NAME: \"dev\"\n\njobs:\n  email-reminder-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Email Reminder Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  email-reminder-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Email Reminder Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:37.022788", "created_at": "2021-06-25T13:00:21+02:00", "updated_at": "2021-06-29T21:27:55+02:00", "name": "Email Reminder Job CI", "path": ".github/workflows/email-reminder-ci.yml", "contents": "name: Email Reminder Job CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"jobs/email-reminder/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/email-reminder\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  # testing:\n  #   needs: setup-job\n  #   runs-on: ubuntu-20.04\n  #   steps:\n  #     - uses: actions/checkout@v3\n  #     - name: Set up Python ${{ matrix.python-version }}\n  #       uses: actions/setup-python@v1\n  #       with:\n  #         python-version: ${{ matrix.python-version }}\n  #     - name: Install dependencies\n  #       run: |\n  #         make setup\n  #     - name: Test with pytest\n  #       id: test\n  #       run: |\n  #         make test\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:38.205315", "created_at": "2022-05-05T23:54:54+02:00", "updated_at": "2022-05-05T23:54:54+02:00", "name": "Entity BN CD", "path": ".github/workflows/entity-bn-cd.yml", "contents": "name: Entity BN CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"queue_services/entity-bn/**\"\n      - \"queue_services/common/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./queue_services/entity-bn\n\nenv:\n  APP_NAME: \"entity-bn\"\n  TAG_NAME: \"dev\"\n\njobs:\n  entity-bn-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Entity BN Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  entity-bn-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Entity BN Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:39.331705", "created_at": "2022-05-03T20:19:00+02:00", "updated_at": "2022-05-05T23:54:54+02:00", "name": "Entity BN CI", "path": ".github/workflows/entity-bn-ci.yml", "contents": "name: Entity BN CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"queue_services/entity-bn/**\"\n      - \"queue_services/common/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./queue_services/entity-bn\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n    env:\n      DATABASE_TEST_USERNAME: postgres\n      DATABASE_TEST_PASSWORD: postgres\n      DATABASE_TEST_NAME: postgres\n      DATABASE_TEST_HOST: localhost\n      NATS_SERVERS: \"nats://nats:4222\"\n      NATS_CLIENT_NAME: entity.bn.tester\n      NATS_CLUSTER_ID: test-cluster\n      NATS_ENTITY_EVENT_SUBJECT: entity.events\n      NATS_QUEUE: entity-bn-worker\n      TEMPLATE_PATH: /home/runner/work/lear/lear/queue_services/entity-bn/src/entity_bn/bn_templates\n      TEST_NATS_DOCKER: True\n      STAN_CLUSTER_NAME: test-cluster\n      BN_HUB_API_URL: https://sometest:4443/rest/REST/BCPartner\n      BN_HUB_CLIENT_ID: id\n      BN_HUB_CLIENT_SECRET: secret\n\n    runs-on: ubuntu-20.04\n\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./queue_services/entity-bn/coverage.xml\n          flags: entitybn\n          name: codecov-entity-bn\n          token: ${{ secrets.CODECOV_TOKEN}}\n          fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:40.461248", "created_at": "2023-11-21T00:51:50+01:00", "updated_at": "2023-11-21T00:51:50+01:00", "name": "Entity Digital Credentials CD", "path": ".github/workflows/entity-digital-credentials-cd.yml", "contents": "name: Entity Digital Credentials CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"queue_services/entity-digital-credentials/**\"\n      - \"queue_services/common/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./queue_services/entity-digital-credentials\n\nenv:\n  APP_NAME: \"entity-digital-credentials\"\n  TAG_NAME: \"dev\"\n\njobs:\n  entity-digital-credentials-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Entity Digital Credentials Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  entity-digital-credentials-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Entity Digital Credentials Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:41.585246", "created_at": "2023-11-20T18:26:32+01:00", "updated_at": "2024-06-19T00:37:40+02:00", "name": "Entity Digital Credentials CI", "path": ".github/workflows/entity-digital-credentials-ci.yml", "contents": "name: Entity Digital Credentials CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"queue_services/entity-digital-credentials/**\"\n      - \"queue_services/common/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./queue_services/entity-digital-credentials\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n    env:\n      DATABASE_TEST_USERNAME: postgres\n      DATABASE_TEST_PASSWORD: postgres\n      DATABASE_TEST_NAME: postgres\n      DATABASE_TEST_HOST: localhost\n      NATS_SERVERS: \"nats://nats:4222\"\n      NATS_CLIENT_NAME: entity.digital-credentials.tester\n      NATS_CLUSTER_ID: test-cluster\n      NATS_ENTITY_EVENT_SUBJECT: entity.events\n      NATS_QUEUE: entity-digital-credentials-worker\n      TEST_NATS_DOCKER: True\n      STAN_CLUSTER_NAME: test-cluster\n\n    runs-on: ubuntu-20.04\n\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./queue_services/entity-digital-credentials/coverage.xml\n          flags: entity-digital-credentials\n          name: codecov-entity-digital-credentials\n          token: ${{ secrets.CODECOV_TOKEN}}\n          fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:42.711704", "created_at": "2020-09-21T20:35:23+02:00", "updated_at": "2020-09-21T20:35:23+02:00", "name": "Entity Emailer CD", "path": ".github/workflows/entity-emailer-cd.yml", "contents": "name: Entity Emailer CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"queue_services/entity-emailer/**\"\n      - \"queue_services/common/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./queue_services/entity-emailer\n\nenv:\n  APP_NAME: \"entity-emailer\"\n  TAG_NAME: \"dev\"\n\njobs:\n  entity-emailer-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Entity Emailer Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  entity-emailer-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Entity Emailer Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:43.939916", "created_at": "2020-09-21T20:09:48+02:00", "updated_at": "2020-09-21T20:09:48+02:00", "name": "Entity Emailer CI", "path": ".github/workflows/entity-emailer-ci.yml", "contents": "name: Entity Emailer CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"queue_services/entity-emailer/**\"\n      - \"queue_services/common/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./queue_services/entity-emailer\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n    env:\n      DATABASE_TEST_USERNAME: postgres\n      DATABASE_TEST_PASSWORD: postgres\n      DATABASE_TEST_NAME: postgres\n      DATABASE_TEST_HOST: localhost\n      DATABASE_HOST: localhost\n      DATABASE_PASSWORD: postgres\n      TRACKER_DATABASE_TEST_USERNAME: postgres\n      TRACKER_DATABASE_TEST_PASSWORD: postgres\n      TRACKER_DATABASE_TEST_NAME: postgres\n      TRACKER_DATABASE_TEST_HOST: localhost\n      TRACKER_DATABASE_TEST_PORT: 5433\n      NATS_SERVERS: \"nats://nats:4222\"\n      NATS_CLIENT_NAME: entity.email.tester\n      NATS_CLUSTER_ID: test-cluster\n      NATS_FILER_SUBJECT: entity.email\n      NATS_QUEUE: entity-email-worker\n      JWT_OIDC_JWKS_CACHE_TIMEOUT: 300\n      TEMPLATE_PATH: /home/runner/work/lear/lear/queue_services/entity-emailer/src/entity_emailer/email_templates\n      DASHBOARD_URL: https://dev.bcregistry.ca/businesses/\n      TEST_NATS_DOCKER: True\n      STAN_CLUSTER_NAME: test-cluster\n\n    runs-on: ubuntu-20.04\n\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n      postgres-tracker:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5433:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./queue_services/entity-emailer/coverage.xml\n          flags: entityemailer\n          name: codecov-entity-emailer\n          token: ${{ secrets.CODECOV_TOKEN}}\n          fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:45.068113", "created_at": "2020-09-21T20:35:23+02:00", "updated_at": "2020-09-21T20:35:23+02:00", "name": "Entity Filer CD", "path": ".github/workflows/entity-filer-cd.yml", "contents": "name: Entity Filer CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"queue_services/entity-filer/**\"\n      - \"queue_services/common/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./queue_services/entity-filer\n\nenv:\n  APP_NAME: \"entity-filer\"\n  TAG_NAME: \"dev\"\n\njobs:\n  entity-filer-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Entity Filer Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  entity-filer-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Entity Filer Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:46.295104", "created_at": "2020-09-21T20:09:48+02:00", "updated_at": "2021-01-20T17:43:17+01:00", "name": "Entity Filer CI", "path": ".github/workflows/entity-filer-ci.yml", "contents": "name: Entity Filer CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"queue_services/entity-filer/**\"\n      - \"queue_services/common/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./queue_services/entity-filer\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n    \n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.9.19]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n    env:\n      DATABASE_TEST_USERNAME: postgres\n      DATABASE_TEST_PASSWORD: postgres\n      DATABASE_TEST_NAME: postgres\n      DATABASE_TEST_HOST: localhost\n      DATABASE_HOST: localhost\n      DATABASE_PASSWORD: postgres\n      NATS_SERVERS: \"nats://nats:4222\"\n      NATS_CLIENT_NAME: entity.legal_api\n      NATS_CLUSTER_ID: test-cluster\n      NATS_FILER_SUBJECT: entity.filing.filer\n      NATS_QUEUE: entity-filer-worker\n      TEST_NATS_DOCKER: True\n      STAN_CLUSTER_NAME: test-cluster\n      JWT_OIDC_JWKS_CACHE_TIMEOUT: 300\n      GO_LIVE_DATE: 2019-08-12\n      LEGAL_API_URL: https://mock_legal_api_url\n      ACCOUNT_SVC_ENTITY_URL: https://mock_account_svc_entity_url\n      COLIN_API: https://mock_colin_api_url\n      ACCOUNT_SVC_AUTH_URL: https://mock_account_svc_auth_url\n      ACCOUNT_SVC_CLIENT_ID: account_svc_client_id\n      ACCOUNT_SVC_CLIENT_SECRET: account_svc_client_secret\n      BUSINESS_EVENTS_TOPIC: projects/project-id/topics/test\n\n\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.9.19]\n\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./queue_services/entity-filer/coverage.xml\n          flags: entityfiler\n          name: codecov-entity-filer\n          token: ${{ secrets.CODECOV_TOKEN}}\n          fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:47.523875", "created_at": "2020-09-21T20:35:23+02:00", "updated_at": "2020-09-21T20:35:23+02:00", "name": "Entity Pay CD", "path": ".github/workflows/entity-pay-cd.yml", "contents": "name: Entity Pay CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"queue_services/entity-pay/**\"\n      - \"queue_services/common/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./queue_services/entity-pay\n\nenv:\n  APP_NAME: \"entity-pay\"\n  TAG_NAME: \"dev\"\n\njobs:\n  entity-pay-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Entity Pay Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  entity-pay-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Entity Pay Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:48.752824", "created_at": "2020-09-21T20:09:48+02:00", "updated_at": "2020-09-21T20:09:48+02:00", "name": "Entity Pay CI", "path": ".github/workflows/entity-pay-ci.yml", "contents": "name: Entity Pay CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"queue_services/entity-pay/**\"\n      - \"queue_services/common/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./queue_services/entity-pay\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n    \n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n    env:\n      DATABASE_TEST_USERNAME: postgres\n      DATABASE_TEST_PASSWORD: postgres\n      DATABASE_TEST_NAME: postgres\n      DATABASE_TEST_HOST: localhost\n      DATABASE_HOST: localhost\n      DATABASE_PASSWORD: postgres\n      NATS_SERVERS: \"nats://nats:4222\"\n      NATS_CLIENT_NAME: entity.filing.worker\n      NATS_CLUSTER_ID: test-cluster\n      NATS_FILER_SUBJECT: entity.filing.filer\n      NATS_QUEUE: filing-worker\n      JWT_OIDC_JWKS_CACHE_TIMEOUT: 300\n      TEST_NATS_DOCKER: True\n      STAN_CLUSTER_NAME: test-cluster      \n      GO_LIVE_DATE: 2019-08-12\n      NATS_SUBJECT: entity.filings\n      NATS_EMAILER_SUBJECT: entity.email\n\n    runs-on: ubuntu-20.04\n\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./queue_services/entity-pay/coverage.xml\n          flags: entitypay\n          name: codecov-entity-pay\n          token: ${{ secrets.CODECOV_TOKEN}}\n          fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:49.981776", "created_at": "2020-11-27T22:54:38+01:00", "updated_at": "2020-11-27T22:54:38+01:00", "name": "Filings Notebook Report Job CD", "path": ".github/workflows/filings-notebook-report-cd.yml", "contents": "name: Filings Notebook Report Job CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/filings-notebook-report/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/filings-notebook-report\n\nenv:\n  APP_NAME: \"filings-notebook-report\"\n  TAG_NAME: \"dev\"\n\njobs:\n  filings-notebook-report-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Filings Notebook Report Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  filings-notebook-report-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Filings Notebook Report Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:50.973503", "created_at": "2020-11-25T18:23:05+01:00", "updated_at": "2020-11-25T18:23:05+01:00", "name": "Filings Notebook Report Job CI", "path": ".github/workflows/filings-notebook-report-ci.yml", "contents": "name: Filings Notebook Report Job CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"jobs/filings-notebook-report/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/filings-notebook-report\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n  testing:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n      #    make test\n      #- name: Upload coverage to Codecov\n      #  uses: codecov/codecov-action@v3\n      #  with:\n      #    file: ./queue_services/entity-pay/coverage.xml\n      #    flags: entitypay\n      #    name: codecov-entity-pay\n      #    fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:51.965429", "created_at": "2024-05-07T20:33:58+02:00", "updated_at": "2024-05-07T20:33:58+02:00", "name": "Furnishings Job CD", "path": ".github/workflows/furnishings-cd.yml", "contents": "name: Furnishings Job CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/furnishings/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/furnishings\n\nenv:\n  APP_NAME: \"furnishings\"\n  TAG_NAME: \"dev\"\n\njobs:\n  furnishings-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Furnishings Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  furnishings-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Furnishings Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:53.054034", "created_at": "2024-05-07T17:13:53+02:00", "updated_at": "2024-05-07T20:33:58+02:00", "name": "Furnishings Job CI", "path": ".github/workflows/furnishings-ci.yml", "contents": "name: Furnishings Job CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"jobs/furnishings/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/furnishings\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n    env:\n      DATABASE_USERNAME: postgres\n      DATABASE_PASSWORD: postgres\n      DATABASE_HOST: localhost\n      DATABASE_NAME: postgres\n      NATS_SERVERS: \"nats://nats:4222\"\n      NATS_CLUSTER_ID: test-cluster\n      NATS_CLIENT_NAME: entity.job.tester\n      NATS_ENTITY_EVENTS_SUBJECT: entity.events\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./jobs/furnishings/coverage.xml\n          flags: furnishings\n          name: codecov-furnishings\n          token: ${{ secrets.CODECOV_TOKEN}}\n          fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:54.180085", "created_at": "2020-09-22T22:30:28+02:00", "updated_at": "2020-09-22T22:30:28+02:00", "name": "Future Effective Filings Job CD", "path": ".github/workflows/future-effective-filings-cd.yml", "contents": "name: Future Effective Filings Job CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/future-effective-filings/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/future-effective-filings\n\nenv:\n  APP_NAME: \"future-effective-filings\"\n  TAG_NAME: \"dev\"\n\njobs:\n  future-effective-filings-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Future Effective Filings Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  future-effective-filings-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Future Effective Filings Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:55.246874", "created_at": "2020-09-22T19:45:29+02:00", "updated_at": "2020-09-22T19:45:29+02:00", "name": "Future Effective Filings Job CI", "path": ".github/workflows/future-effective-filings-ci.yml", "contents": "name: Future Effective Filings Job CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"jobs/future-effective-filings/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/future-effective-filings\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      #- name: Upload coverage to Codecov\n      #  uses: codecov/codecov-action@v3\n      #  with:\n      #    file: ./queue_services/entity-pay/coverage.xml\n      #    flags: entitypay\n      #    name: codecov-entity-pay\n      #    fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:56.320538", "created_at": "2024-05-01T19:35:10+02:00", "updated_at": "2024-05-01T19:35:10+02:00", "name": "Involuntary Dissolutions Job CD", "path": ".github/workflows/involuntary-dissolutions-cd.yml", "contents": "name: Involuntary Dissolutions Job CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/involuntary-dissolutions/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/involuntary-dissolutions\n\nenv:\n  APP_NAME: \"involuntary-dissolutions\"\n  TAG_NAME: \"dev\"\n\njobs:\n  involuntary-dissolutions-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Involuntary Dissolutions Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  involuntary-dissolutions-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Involuntary Dissolutions Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:57.559197", "created_at": "2024-04-29T19:25:35+02:00", "updated_at": "2024-05-01T19:35:10+02:00", "name": "Involuntary Dissolutions Job CI", "path": ".github/workflows/involuntary-dissolutions-ci.yml", "contents": "name: Involuntary Dissolutions Job CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"jobs/involuntary-dissolutions/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/involuntary-dissolutions\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n    env:\n      DATABASE_USERNAME: postgres\n      DATABASE_PASSWORD: postgres\n      DATABASE_HOST: localhost\n      DATABASE_NAME: postgres\n      DATABASE_TEST_USERNAME: postgres\n      DATABASE_TEST_PASSWORD: postgres\n      DATABASE_TEST_NAME: postgres\n      DATABASE_TEST_HOST: localhost\n      NATS_SERVERS: \"nats://nats:4222\"\n      NATS_CLUSTER_ID: test-cluster\n      NATS_CLIENT_NAME: entity.job.tester\n      NATS_ENTITY_EVENTS_SUBJECT: entity.events\n      STAGE_1_DELAY: 42\n      STAGE_2_DELAY: 30\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./jobs/involuntary-dissolutions/coverage.xml\n          flags: involuntary-dissolutions\n          name: codecov-involuntary-dissolutions\n          token: ${{ secrets.CODECOV_TOKEN}}\n          fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:58.672393", "created_at": "2020-09-21T20:35:23+02:00", "updated_at": "2020-09-21T20:35:23+02:00", "name": "Legal API CD", "path": ".github/workflows/legal-api-cd.yml", "contents": "name: Legal API CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"legal-api/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./legal-api\n\nenv:\n  APP_NAME: \"legal-api\"\n  TAG_NAME: \"dev\"\n\njobs:\n  legal-api-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Legal API Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  legal-api-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Watch new rollout (trigger by image change in Openshift)\n        shell: bash\n        run: |\n          oc rollout status dc/${{ env.APP_NAME }}-${{ env.TAG_NAME }} -n ${{ secrets.OPENSHIFT4_REPOSITORY }}-${{ env.TAG_NAME }} -w\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Legal API Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:08:59.801283", "created_at": "2020-09-21T20:35:23+02:00", "updated_at": "2021-01-06T20:51:53+01:00", "name": "Legal API CI", "path": ".github/workflows/legal-api-ci.yml", "contents": "name: Legal API CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"legal-api/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./legal-api\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n    env:\n      IMAGE_NAME: business-create\n      DATABASE_TEST_USERNAME: postgres\n      DATABASE_TEST_PASSWORD: postgres\n      DATABASE_TEST_NAME: postgres\n      DATABASE_TEST_HOST: localhost\n      DATABASE_HOST: localhost\n      DATABASE_PASSWORD: postgres\n      NATS_SERVERS: \"nats://nats:4222\"\n      NATS_CLIENT_NAME: entity.legal_api\n      NATS_CLUSTER_ID: test-cluster\n      NATS_FILER_SUBJECT: entity.filing.filer\n      NATS_QUEUE: entity-filer-worker\n      JWT_OIDC_JWKS_CACHE_TIMEOUT: 300\n      GO_LIVE_DATE: 2019-08-12\n      BUSINESS_SCHEMA_ID: test_business_schema_id\n      BUSINESS_CRED_DEF_ID: test_credential_definition_id\n      BUSINESS_SCHEMA_NAME: digital_business_card\n      BUSINESS_SCHEMA_VERSION: \"1.0.0\"\n\n    runs-on: ubuntu-20.04\n\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_DB: postgres\n        ports:\n          - 5432:5432\n        # needed because the postgres container does not provide a healthcheck\n        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          file: ./legal-api/coverage.xml\n          flags: legalapi\n          name: codecov-legal-api\n          token: ${{ secrets.CODECOV_TOKEN}}\n          fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:09:00.838653", "created_at": "2022-10-21T19:47:10+02:00", "updated_at": "2022-10-21T19:47:10+02:00", "name": "SFTP ICBC Report Job CD", "path": ".github/workflows/sftp-icbc-report-cd.yml", "contents": "name: SFTP ICBC Report Job CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/sftp-icbc-report/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/sftp-icbc-report\n\nenv:\n  APP_NAME: \"sftp-icbc-report\"\n  TAG_NAME: \"dev\"\n\njobs:\n  sftp-icbc-report-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*SFTP ICBC Report Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  sftp-icbc-report-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*SFTP ICBC Report Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:09:02.065157", "created_at": "2022-10-21T17:33:30+02:00", "updated_at": "2022-10-21T19:47:10+02:00", "name": "SFTP ICBC Report Job CI", "path": ".github/workflows/sftp-icbc-report-ci.yml", "contents": "name: SFTP ICBC Report Job CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"jobs/sftp-icbc-report/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/sftp-icbc-report\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n  testing:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n      #    make test\n      #- name: Upload coverage to Codecov\n      #  uses: codecov/codecov-action@v3\n      #  with:\n      #    file: ./queue_services/entity-pay/coverage.xml\n      #    flags: entitypay\n      #    name: codecov-entity-pay\n      #    fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:09:03.188055", "created_at": "2022-10-22T01:14:36+02:00", "updated_at": "2022-10-22T01:14:36+02:00", "name": "SFTP NUANS Report Job CD", "path": ".github/workflows/sftp-nuans-report-cd.yml", "contents": "name: SFTP NUANS Report Job CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/sftp-nuans-report/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/sftp-nuans-report\n\nenv:\n  APP_NAME: \"sftp-nuans-report\"\n  TAG_NAME: \"dev\"\n\njobs:\n  sftp-nuans-report-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*SFTP NUANS Report Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  sftp-nuans-report-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*SFTP NUANS Report Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:09:04.308351", "created_at": "2022-10-22T01:14:36+02:00", "updated_at": "2022-10-22T01:14:36+02:00", "name": "SFTP NUANS Report Job CI", "path": ".github/workflows/sftp-nuans-report-ci.yml", "contents": "name: SFTP NUANS Report Job CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"jobs/sftp-nuans-report/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/sftp-nuans-report\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n  testing:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n      #    make test\n      #- name: Upload coverage to Codecov\n      #  uses: codecov/codecov-action@v3\n      #  with:\n      #    file: ./queue_services/entity-pay/coverage.xml\n      #    flags: entitypay\n      #    name: codecov-entity-pay\n      #    fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:09:05.472497", "created_at": "2020-09-22T22:30:28+02:00", "updated_at": "2020-09-22T22:30:28+02:00", "name": "Update Colin Filings Job CD", "path": ".github/workflows/update-colin-filings-cd.yml", "contents": "name: Update Colin Filings Job CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/update-colin-filings/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/update-colin-filings\n\nenv:\n  APP_NAME: \"update-colin-filings\"\n  TAG_NAME: \"dev\"\n\njobs:\n  update-colin-filings-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Update Colin Filings Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  update-colin-filings-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Update Colin Filings Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:09:06.673059", "created_at": "2020-09-22T19:45:29+02:00", "updated_at": "2020-09-22T19:45:29+02:00", "name": "Update Colin Filings Job CI", "path": ".github/workflows/update-colin-filings-ci.yml", "contents": "name: Update Colin Filings Job CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"jobs/update-colin-filings/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/update-colin-filings\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      #- name: Upload coverage to Codecov\n      #  uses: codecov/codecov-action@v3\n      #  with:\n      #    file: ./queue_services/entity-pay/coverage.xml\n      #    flags: entitypay\n      #    name: codecov-entity-pay\n      #    fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:09:08.004808", "created_at": "2020-09-22T22:30:28+02:00", "updated_at": "2020-09-22T22:30:28+02:00", "name": "Update Legal Filings Job CD", "path": ".github/workflows/update-legal-filings-cd.yml", "contents": "name: Update Legal Filings Job CD\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/update-legal-filings/**\"\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"Environment (dev/test/prod)\"\n        required: true\n        default: \"dev\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/update-legal-filings\n\nenv:\n  APP_NAME: \"update-legal-filings\"\n  TAG_NAME: \"dev\"\n\njobs:\n  update-legal-filings-cd-by-push:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'push' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"dev\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Update Legal Filings Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  update-legal-filings-cd-by-dispatch:\n    runs-on: ubuntu-20.04\n\n    if: github.event_name == 'workflow_dispatch' && github.repository == 'bcgov/lear'\n    environment:\n      name: \"${{ github.event.inputs.environment }}\"\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set env by input\n        run: |\n          echo \"TAG_NAME=${{ github.event.inputs.environment }}\" >> $GITHUB_ENV\n\n      - name: Login Openshift\n        shell: bash\n        run: |\n          oc login --server=${{secrets.OPENSHIFT4_LOGIN_REGISTRY}} --token=${{secrets.OPENSHIFT4_SA_TOKEN}}\n\n      - name: CD Flow\n        shell: bash\n        env:\n          OPS_REPOSITORY: ${{ secrets.OPS_REPOSITORY }}\n          OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT4_DOCKER_REGISTRY }}\n          OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT4_SA_NAME }}\n          OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT4_SA_TOKEN }}\n          OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT4_REPOSITORY }}\n          TAG_NAME: ${{ env.TAG_NAME }}\n        run: |\n          make cd\n\n      - name: Rocket.Chat Notification\n        uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master\n        if: failure()\n        with:\n          type: ${{ job.status }}\n          job_name: \"*Update Legal Filings Job Built and Deployed to ${{env.TAG_NAME}}*\"\n          channel: \"#registries-bot\"\n          url: ${{ secrets.ROCKETCHAT_WEBHOOK }}\n          commit: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:09:09.644572", "created_at": "2020-09-22T19:45:29+02:00", "updated_at": "2020-09-22T19:45:29+02:00", "name": "Update Legal Filings Job CI", "path": ".github/workflows/update-legal-filings-ci.yml", "contents": "name: Update Legal Filings Job CI\n\non:\n  pull_request:\n    types: [assigned, synchronize]\n    paths:\n      - \"jobs/update-legal-filings/**\"\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: ./jobs/update-legal-filings\n\njobs:\n  setup-job:\n    runs-on: ubuntu-20.04\n\n    if: github.repository == 'bcgov/lear'\n\n    steps:\n      - uses: actions/checkout@v3\n      - run: \"true\"\n\n  linting:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    strategy:\n      matrix:\n        python-version: [3.8]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Lint with pylint\n        id: pylint\n        run: |\n          make pylint\n      - name: Lint with flake8\n        id: flake8\n        run: |\n          make flake8\n\n  testing:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          make setup\n      - name: Test with pytest\n        id: test\n        run: |\n          make test\n      #- name: Upload coverage to Codecov\n      #  uses: codecov/codecov-action@v3\n      #  with:\n      #    file: ./queue_services/entity-pay/coverage.xml\n      #    flags: entitypay\n      #    name: codecov-entity-pay\n      #    fail_ci_if_error: true\n\n  build-check:\n    needs: setup-job\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: build to check strictness\n        id: build\n        run: |\n          make build-nc\n", "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:09:10.646280", "created_at": "2024-07-08T20:14:40+02:00", "updated_at": "2024-07-08T20:14:40+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "bcgov/lear"}
{"mined_at": "2024-07-15T18:09:12.728405", "created_at": "2021-02-21T10:14:10+01:00", "updated_at": "2023-10-23T17:28:05+02:00", "name": "CI/CD", "path": ".github/workflows/ci-cd.yml", "contents": "name: CI/CD\n\non:\n  merge_group:\n    branches:\n      - dev\n      - main\n      - v1\n  pull_request:\n  push:\n  workflow_dispatch:\n\nenv:\n  FORCE_COLOR: 1\n\nconcurrency:\n  cancel-in-progress: ${{ !contains(fromJSON('[\"dev\", \"main\", \"v1\"]'), github.ref_name) }}\n  group: ${{ github.repository }}-${{ github.workflow }}-${{ github.head_ref || github.ref_name }}\n\njobs:\n  pre-commit:\n    name: Run pre-commit\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out Repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          check-latest: true\n          python-version: '3.12'\n      - name: Run pre-commit\n        uses: pre-commit/action@v3.0.1\n\n  test:\n    name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    needs:\n      - pre-commit\n    strategy:\n      matrix:\n        os:\n          - macos-latest\n          - ubuntu-latest\n          - windows-latest\n        python-version:\n          - '3.8'\n          - '3.9'\n          - '3.10'\n          - '3.11'\n          - '3.12'\n          - 'pypy-3.9'\n          - 'pypy-3.10'\n        exclude:\n          - os: 'macos-latest'\n            python-version: '3.8'\n          - os: 'macos-latest'\n            python-version: '3.9'\n          - os: 'macos-latest'\n            python-version: 'pypy-3.9'\n        include:\n          - os: 'macos-13'\n            python-version: '3.8'\n          - os: 'macos-13'\n            python-version: '3.9'\n          - os: 'macos-13'\n            python-version: 'pypy-3.9'\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          allow-prereleases: true\n          cache: pip\n          cache-dependency-path: |\n            requirements/runtime.txt\n            requirements/tests.txt\n          check-latest: true\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade --requirement requirements/tests.txt\n          python -m pip install .\n\n      - name: Run tests\n        run: |\n          make test\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  build:\n    name: Build distribution\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          cache: pip\n          cache-dependency-path: requirements/runtime.txt\n          check-latest: true\n          python-version: '3.12'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade build polib\n          pip install .\n\n      - name: Build distribution\n        run: |\n          make package\n\n      - name: Upload package artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist\n\n  test-build:\n    name: Test build on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    needs: build\n    strategy:\n      matrix:\n        os:\n          - macos-latest\n          - ubuntu-latest\n          - windows-latest\n    steps:\n      - name: Check out Repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          cache: pip\n          cache-dependency-path: |\n            requirements/runtime.txt\n            requirements/tests.txt\n          check-latest: true\n          python-version: '3.12'\n\n      - name: Get package artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist\n\n      - name: Run tests\n        shell: bash\n        run: |\n          rm -rf holidays\n          python -m pip install --upgrade --requirement requirements/tests.txt\n          python -m pip install `ls dist/*.whl`\n          pytest --dist loadscope --numprocesses auto tests/countries tests/financial\n          python -m pip uninstall -y holidays python-dateutil six\n          python -m pip install `ls dist/*.tar.gz`\n          pytest --dist loadscope --numprocesses auto tests/countries tests/financial\n\n  publish-pypi-main:\n    name: Publish to PyPI\n    if: |\n      github.repository == 'vacanza/python-holidays' &&\n      github.event_name == 'push' &&\n      startsWith(github.event.ref, 'refs/tags/v')\n    environment: main\n    needs:\n      - test-build\n    permissions:\n      id-token: write\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get package artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "vacanza/python-holidays"}
{"mined_at": "2024-07-15T18:09:13.772217", "created_at": "2023-08-22T20:06:19+02:00", "updated_at": "2023-09-15T18:08:50+02:00", "name": "Update pre-commit hooks", "path": ".github/workflows/pre-commit-autoupdate.yml", "contents": "name: Update pre-commit hooks\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n  workflow_dispatch:\n\njobs:\n  auto-update:\n    name: Update pre-commit hooks\n    if: ${{ github.repository == 'vacanza/python-holidays' }}\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5.1.0\n        with:\n          python-version: '3.12'\n\n      - uses: browniebroke/pre-commit-autoupdate-action@v1.0.0\n\n      - uses: peter-evans/create-pull-request@v6.1.0\n        with:\n          base: dev\n          body: Update pre-commit hooks to their latest versions.\n          branch: update-pre-commit-hooks\n          commit-message: 'chore: Update pre-commit hooks'\n          committer: github-actions[bot] <github-actions[bot]@users.noreply.github.com>\n          delete-branch: true\n          title: Update pre-commit hooks\n          token: ${{ github.token }}\n", "state": "active", "repository": "vacanza/python-holidays"}
{"mined_at": "2024-07-15T18:09:15.791879", "created_at": "2020-08-27T14:49:14+02:00", "updated_at": "2023-02-01T14:30:02+01:00", "name": "master", "path": ".github/workflows/master.yml", "contents": "name: master\n\non:\n  push:\n    branches:\n      - master\n      - main\n      - feature-**\n    paths-ignore:\n      - CHANGELOG.md\n    tags-ignore:\n      - v*\n      - sdk/*\n      - \"**\"\n  workflow_dispatch:\n    inputs:\n      short_test:\n        type: boolean\n        description: Skip longer running tests\n        default: false\n\njobs:\n  version:\n    uses: ./.github/workflows/version.yml\n    secrets: inherit\n\n  build_test:\n    uses: ./.github/workflows/build-test.yml\n    secrets: inherit\n    needs: version\n    with:\n      ref: ${{ github.ref }}\n      version: ${{ needs.version.outputs.version }}\n      short_test: ${{ inputs.short_test || false }}\n      # We cannot run OIDC tests in the release workflow because it's not a PR and we don't have a\n      # fixed tag or branch to serve as entity type, and we don't have Github environments\n      # configured. See\n      # https://learn.microsoft.com/en-us/azure/active-directory/workload-identities/workload-identity-federation-create-trust?pivots=identity-wif-apps-methods-azp#github-actions\n      oidc_arm_client_id: \"\"\n      retention_days: 30\n\n  publish:\n    uses: ./.github/workflows/publish.yml\n    secrets: inherit\n    needs:\n      - version\n      - build_test\n    with:\n      ref: ${{ github.ref }}\n      version: ${{ needs.version.outputs.version }}\n      prerelease: true\n      # Skip creating the GH release draft because we never publish these prereleases.\n      # Push a prerelease tag instead if we want something that's publically visible.\n      publishGhRelease: false\n", "state": "active", "repository": "pulumi/pulumi-azure-native"}
{"mined_at": "2024-07-15T18:09:16.812108", "created_at": "2020-09-15T09:53:32+02:00", "updated_at": "2020-09-15T09:53:32+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  push:\n    tags:\n      - v*.*.*\n\njobs:\n  version:\n    uses: ./.github/workflows/version.yml\n    secrets: inherit\n\n  build_test:\n    uses: ./.github/workflows/build-test.yml\n    needs: version\n    secrets: inherit\n    with:\n      ref: ${{ github.ref }}\n      version: ${{ needs.version.outputs.version }}\n      # We cannot run OIDC tests in the release workflow because it's not a PR and we don't have a\n      # fixed tag or branch to serve as entity type, and we don't have Github environments\n      # configured. See\n      # https://learn.microsoft.com/en-us/azure/active-directory/workload-identities/workload-identity-federation-create-trust?pivots=identity-wif-apps-methods-azp#github-actions\n      oidc_arm_client_id: \"\"\n\n  publish:\n    uses: ./.github/workflows/publish.yml\n    secrets: inherit\n    needs:\n      - build_test\n      - version\n    with:\n      ref: ${{ github.ref }}\n      version: ${{ needs.version.outputs.version }}\n      prerelease: ${{ contains(github.ref_name,'-') }}\n\n  dispatch_docs_build:\n    runs-on: ubuntu-latest\n    needs: publish\n    # not a prerelease\n    if: ${{ !contains(github.ref_name,'-') }}\n    steps:\n      - name: Install pulumictl\n        uses: jaxxstorm/action-install-gh-release@v1.11.0\n        with:\n          repo: pulumi/pulumictl\n      - name: Dispatch Event\n        run: pulumictl create docs-build pulumi-azure-native ${{ github.ref_name }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}\n    name: dispatch_docs_build\n", "state": "active", "repository": "pulumi/pulumi-azure-native"}
{"mined_at": "2024-07-15T18:09:18.039834", "created_at": "2020-09-23T16:30:51+02:00", "updated_at": "2023-04-14T17:36:50+02:00", "name": "nightly-sdk-generation", "path": ".github/workflows/nightly-sdk-generation.yml", "contents": "name: nightly-sdk-generation\non:\n  schedule:\n    - cron: 35 4 * * 1-5\n  workflow_dispatch: {}\nenv:\n  GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}\n  PROVIDER: azure-native\n  PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}\n  PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget\n  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n  NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }}\n  TRAVIS_OS_NAME: linux\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n  PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..\n  PUBLISH_REPO_USERNAME: ${{ secrets.OSSRH_USERNAME }}\n  PUBLISH_REPO_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}\n  SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }}\n  SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }}\n  SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }}\n  ARM_ENVIRONMENT: public\n  ARM_LOCATION: westus2\n  PULUMI_API: https://api.pulumi-staging.io\n  PROVIDER_VERSION: 2.0.0-alpha.0+dev\njobs:\n  generate-sdk:\n    # Use a more powerful runner to fix pulumi/pulumi-azure-native#2767\n    runs-on: pulumi-ubuntu-8core\n    name: generate-sdk\n    steps:\n      # We do a deep checkout so we're able to push later\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 0\n\n      - name: Install Languages & Frameworks\n        uses: ./.github/actions/install\n        with:\n          skip_dotnet_and_java: \"true\"\n\n      - uses: azure/login@v2\n        with:\n          creds: ${{ secrets.AZURE_RBAC_SERVICE_PRINCIPAL }}\n\n      - name: Cleanup SDK Folder\n        # Remove the per-language folders but preserve the checked-in go.mod\n        run: find sdk -mindepth 1 -maxdepth 1 -type d -exec rm -rf {} \\;\n\n      - name: Preparing Git Branch\n        run: |\n          git config --local user.email \"bot@pulumi.com\"\n          git config --local user.name \"pulumi-bot\"\n          git checkout -b generate-sdk/${{ github.run_id }}-${{ github.run_number }}\n\n      - name: Commit Empty SDK\n        run: |-\n          git add . \n          git commit -m \"Preparing the SDK folder for regeneration\"\n\n      - name: Update Submodules\n        run: make update_submodules\n\n      - name: Build codegen binaries\n        run: make codegen\n\n      - name: Build Schema + SDKs\n        run: make local_generate\n\n      - name: Git submodule commit hash\n        id: vars\n        run: echo \"commit-hash=$(git rev-parse HEAD)\" >> \"$GITHUB_OUTPUT\"\n        working-directory: azure-rest-api-specs\n\n      - name: Commit changes\n        run: |\n          git add sdk\n          git commit -m \"Regenerating SDKs based on azure-rest-api-specs @ ${{ steps.vars.outputs.commit-hash }}\" || echo \"ignore commit failure, may be empty\"\n          git add .\n          git commit -m \"Regenerating based on azure-rest-api-specs @ ${{ steps.vars.outputs.commit-hash }}\"\n          git push origin generate-sdk/${{ github.run_id }}-${{ github.run_number }}\n\n      - name: Create PR\n        id: create-pr\n        uses: repo-sync/pull-request@v2.12.1\n        with:\n          destination_branch: master\n          github_token: ${{ secrets.PULUMI_BOT_TOKEN }}\n          pr_body: \"*Automated PR*\"\n          pr_title: Automated SDK generation @ azure-rest-api-specs ${{\n            steps.vars.outputs.commit-hash }}\n          source_branch: generate-sdk/${{ github.run_id }}-${{ github.run_number }}\n\n      - name: Install Schema Tools\n        uses: jaxxstorm/action-install-gh-release@v1.11.0\n        with:\n          repo: pulumi/schema-tools\n\n      - name: Check Schema is Valid\n        id: schema-tools\n        shell: bash\n        run: |\n          {\n            echo 'summary<<EOF'\n            schema-tools compare --provider=\"azure-native\" --new-commit=\"--local-path=provider/cmd/pulumi-resource-azure-native/schema.json\"\n            echo 'EOF'\n          } >> \"$GITHUB_OUTPUT\"\n\n      - name: Set AutoMerge\n        if: steps.create-pr.outputs.has_changed_files && contains(steps.schema-tools.outputs.summary, 'Looking good! No breaking changes found.')\n        run: gh pr merge ${{ steps.create-pr.outputs.pr_number }} --squash --auto --repo ${{ github.repository }}\n        env:\n          GH_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}\n\n      - if: failure() && github.event_name == 'push'\n        name: Notify Slack\n        uses: 8398a7/action-slack@v3\n        with:\n          author_name: Failure during automated SDK generation\n          fields: repo,commit,author,action\n          status: ${{ job.status }}\n", "state": "active", "repository": "pulumi/pulumi-azure-native"}
{"mined_at": "2024-07-15T18:09:19.073435", "created_at": "2021-12-21T10:36:26+01:00", "updated_at": "2022-01-10T16:20:24+01:00", "name": "weekly-pulumi-update", "path": ".github/workflows/weekly-pulumi-update.yml", "contents": "name: weekly-pulumi-update\n\non:\n  schedule:\n    - cron: 35 12 * * 4\n  workflow_dispatch: {}\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}\n  PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n  PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..\n  PROVIDER_VERSION: 2.0.0-alpha.0+dev\n\njobs:\n  weekly-pulumi-update:\n    # Use a more powerful runner to fix pulumi/pulumi-azure-native#2768\n    runs-on: pulumi-ubuntu-8core\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n          # We need a full checkout so we can push commits back\n          fetch-depth: 0\n      - name: Install Languages & Frameworks\n        uses: ./.github/actions/install\n      - name: Update Pulumi/Pulumi\n        id: gomod\n        run: |\n          git config --local user.email 'bot@pulumi.com'\n          git config --local user.name 'pulumi-bot'\n          git checkout -b update-pulumi/${{ github.run_id }}-${{ github.run_number }}\n          make upgrade_tools\n          cd provider\n          go get github.com/pulumi/pulumi/pkg/v3\n          go get github.com/pulumi/pulumi/sdk/v3\n          go mod download\n          go mod tidy\n          cd ../sdk\n          go get github.com/pulumi/pulumi/sdk/v3\n          go mod download\n          go mod tidy\n          cd ..\n          git update-index -q --refresh\n          if ! git diff-files --quiet; then \n          \techo \"changes=1\" >> \"$GITHUB_OUTPUT\"\n          fi\n      - run: make ensure\n      - name: Provider with Pulumi Upgrade\n        if: steps.gomod.outputs.changes != 0\n        run: |\n          make codegen && make local_generate\n          git add sdk/nodejs\n          git commit -m \"Regenerating Node.js SDK based on updated modules\" || echo \"ignore commit failure, may be empty\"\n          git add sdk/python\n          git commit -m \"Regenerating Python SDK based on updated modules\" || echo \"ignore commit failure, may be empty\"\n          git add sdk/dotnet\n          git commit -m \"Regenerating .NET SDK based on updated modules\" || echo \"ignore commit failure, may be empty\"\n          git add sdk/go*\n          git commit -m \"Regenerating Go SDK based on updated modules\" || echo \"ignore commit failure, may be empty\"\n          git add sdk/java*\n          git commit -m \"Regenerating Java SDK based on updated modules\" || echo \"ignore commit failure, may be empty\"\n          git add .\n          git commit -m \"Updated modules\"\n          git push origin update-pulumi/${{ github.run_id }}-${{ github.run_number }}\n      - name: Create PR\n        id: create-pr\n        if: steps.gomod.outputs.changes != 0\n        uses: repo-sync/pull-request@v2.6.2\n        with:\n          source_branch: update-pulumi/${{ github.run_id }}-${{ github.run_number }}\n          destination_branch: master\n          pr_title: Automated Pulumi/Pulumi upgrade\n          github_token: ${{ secrets.PULUMI_BOT_TOKEN }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}\n      - name: Set AutoMerge\n        if: steps.create-pr.outputs.has_changed_files\n        run: gh pr merge ${{ steps.create-pr.outputs.pr_number }} --squash --auto --repo ${{ github.repository }}\n        env:\n          GH_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}\n    name: weekly-pulumi-update\n", "state": "active", "repository": "pulumi/pulumi-azure-native"}
{"mined_at": "2024-07-15T18:09:20.243931", "created_at": "2022-06-23T01:08:39+02:00", "updated_at": "2022-06-23T01:08:39+02:00", "name": "command-dispatch", "path": ".github/workflows/command-dispatch.yml", "contents": "name: command-dispatch\n\non:\n  issue_comment:\n    types:\n      - created\n      - edited\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}\n  PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}\n  PULUMI_API: https://api.pulumi-staging.io\n\njobs:\n  command-dispatch-for-testing:\n    runs-on: ubuntu-latest\n    name: command-dispatch-for-testing\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n      - uses: peter-evans/slash-command-dispatch@v2\n        with:\n          token: ${{ secrets.PULUMI_BOT_TOKEN }}\n          reaction-token: ${{ secrets.GITHUB_TOKEN }}\n          commands: run-acceptance-tests\n          permission: write\n          issue-type: pull-request\n          repository: pulumi/pulumi-azure-native\n    if: ${{ github.event.issue.pull_request }}\n", "state": "active", "repository": "pulumi/pulumi-azure-native"}
{"mined_at": "2024-07-15T18:09:21.316902", "created_at": "2023-01-26T11:44:10+01:00", "updated_at": "2023-10-04T11:35:14+02:00", "name": "acceptance-test", "path": ".github/workflows/acceptance-test.yml", "contents": "name: acceptance-test\n\non:\n  repository_dispatch:\n    types:\n      - run-acceptance-tests-command\n  pull_request:\n    branches:\n      - master\n      - main\n      - v2.0-pre\n    paths-ignore:\n      - CHANGELOG.md\n  workflow_dispatch:\n    inputs:\n      short_test:\n        type: boolean\n        description: Skip longer running tests\n        default: false\n      version:\n        type: string\n        description: Override the version when building\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}\n\njobs:\n  comment-notification:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create URL to the run output\n        id: vars\n        run: echo \"run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\" >> \"$GITHUB_OUTPUT\"\n      - name: Update with Result\n        uses: peter-evans/create-or-update-comment@v1\n        with:\n          token: ${{ secrets.PULUMI_BOT_TOKEN }}\n          repository: ${{ github.event.client_payload.github.payload.repository.full_name }}\n          issue-number: ${{ github.event.client_payload.github.payload.issue.number }}\n          body: \"Please view the PR build: ${{ steps.vars.outputs.run-url }}\"\n    if: github.event_name == 'repository_dispatch'\n\n  version:\n    if: github.event_name == 'repository_dispatch' || github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name == github.repository\n    uses: ./.github/workflows/version.yml\n    secrets: inherit\n\n  build_test:\n    if: github.event_name == 'repository_dispatch' || github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name == github.repository\n    uses: ./.github/workflows/build-test.yml\n    needs: version\n    with:\n      ref: ${{ github.ref }}\n      version: ${{ inputs.version || needs.version.outputs.version }}\n      short_test: ${{ (github.event_name == 'pull_request' || inputs.short_test) || false }}\n      retention_days: 30\n    secrets: inherit\n", "state": "active", "repository": "pulumi/pulumi-azure-native"}
{"mined_at": "2024-07-15T18:09:22.462608", "created_at": "2023-01-26T21:02:31+01:00", "updated_at": "2023-10-27T12:24:19+02:00", "name": "build-test", "path": ".github/workflows/build-test.yml", "contents": "name: build-test\n\non:\n  workflow_call:\n    inputs:\n      ref:\n        required: true\n        type: string\n      version:\n        type: string\n        description: Version to be used to build the binaries, schema and SDKs\n        required: true\n      short_test:\n        type: boolean\n        description: Skip longer running tests\n        default: false\n      oidc_arm_client_id:\n        type: string\n        description: The Azure Active Directory application to authenticate the OIDC tests. Empty skips the OIDC tests.\n        default: \"89380e12-5be6-486a-89ef-eea107af2f47\" # AD app 'oidc-test'\n      retention_days:\n        type: number\n        description: The number of days for which we retain assets\n        default: 90\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}\n  PROVIDER: azure-native\n  PROVIDER_VERSION: ${{ inputs.version }}\n  PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}\n  PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget\n  # TRAVIS_OS_NAME required by https://github.com/pulumi/scripts/blob/master/ci/publish-tfgen-package\n  TRAVIS_OS_NAME: linux\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n  PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..\n  ARM_CLIENT_ID: 30e520fa-12b4-4e21-b473-9426c5ac2e1e\n  ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }}\n  ARM_ENVIRONMENT: public\n  ARM_LOCATION: westus2\n  ARM_SUBSCRIPTION_ID: 0282681f-7a9e-424b-80b2-96babd57a8a1\n  ARM_TENANT_ID: 706143bc-e1d4-4593-aee2-c9dc60ab9be7\n  PULUMI_API: https://api.pulumi-staging.io\n\njobs:\n  prerequisites:\n    runs-on: ubuntu-latest\n    name: Build binaries and schema\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          submodules: true\n\n      - name: Install Languages & Frameworks\n        uses: ./.github/actions/install\n        with:\n          skip_dotnet_and_java: \"true\"\n\n      - name: Build schema and binaries\n        run: make codegen schema provider\n\n      - name: Artifact capture\n        uses: ./.github/actions/prerequisites-artifact-capture\n\n      - name: Schema Check\n        if: github.event_name == 'pull_request'\n        uses: ./.github/actions/schema-check\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          compare_to: ${{  github.base_ref }}\n\n      - name: Check worktree clean\n        uses: pulumi/git-status-check-action@v1\n\n      - if: failure() && github.event_name == 'push'\n        name: Notify Slack\n        uses: 8398a7/action-slack@v3\n        with:\n          author_name: Failure in building provider prerequisites\n          fields: repo,commit,author,action\n          status: ${{ job.status }}\n\n  build_sdks:\n    needs: prerequisites\n    # Use big runner for dotnet and nodejs because we need more memory and more compute, respectively\n    runs-on: ${{ (matrix.language == 'dotnet' || matrix.language == 'nodejs' || matrix.language == 'go') && 'pulumi-ubuntu-8core' || 'ubuntu-latest' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n          - nodejs\n          - python\n          - dotnet\n          - go\n          - java\n    name: Build SDKs\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          submodules: true\n\n      - name: Install Languages & Frameworks\n        uses: ./.github/actions/install\n\n      - run: make ensure\n\n      - name: Prerequisites artifact restore\n        uses: ./.github/actions/prerequisites-artifact-restore\n\n      - name: Mark prerequisites as up-to-date\n        run: |\n          make prebuild\n          make --touch codegen schema provider\n\n      - name: Generate SDK\n        run: make generate_${{ matrix.language }}\n\n      - name: Build SDK\n        run: make build_${{ matrix.language }}\n\n      - name: Check worktree clean\n        uses: pulumi/git-status-check-action@v1\n        with:\n          allowed-changes: |\n            sdk/**/pulumi-plugin.json\n            sdk/dotnet/Pulumi.*.csproj\n            sdk/nodejs/package.json\n            sdk/python/pyproject.toml\n\n      - name: Tar SDK folder\n        if: ${{ matrix.language != 'go' }}\n        run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .\n\n      - name: Upload artifacts\n        if: ${{ matrix.language != 'go' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.language  }}-sdk.tar.gz\n          path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz\n          retention-days: ${{ inputs.retention_days }}\n\n      - name: Tar split Go SDK folder\n        if: ${{ matrix.language == 'go' }}\n        run: tar -zcf sdk/pulumi-azure-native-sdk.tar.gz -C sdk/pulumi-azure-native-sdk .\n\n      - name: Upload split Go artifacts\n        uses: actions/upload-artifact@v4\n        if: ${{ matrix.language == 'go' }}\n        with:\n          name: pulumi-azure-native-sdk.tar.gz\n          path: ${{ github.workspace}}/sdk/pulumi-azure-native-sdk.tar.gz\n          retention-days: ${{ inputs.retention_days }}\n\n      - if: failure() && github.event_name == 'push'\n        name: Notify Slack\n        uses: 8398a7/action-slack@v3\n        with:\n          author_name: Failure while building SDKs\n          fields: repo,commit,author,action\n          status: ${{ job.status }}\n\n  test_sdks:\n    needs: build_sdks\n    # Use big runner for dotnet and nodejs because we need more memory and more compute, respectively\n    runs-on: ${{ (matrix.language == 'dotnet' || matrix.language == 'nodejs' || matrix.language == 'go') && 'pulumi-ubuntu-8core' || 'ubuntu-latest' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n          - nodejs\n          - python\n          - dotnet\n          - go\n          - java\n    name: Test SDKs\n    permissions:\n      id-token: write # required for OIDC auth\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          submodules: true\n\n      - name: Setup\n        uses: ./.github/actions/test-setup\n        with:\n          language: ${{ matrix.language }}\n\n      - name: Run tests\n        if: ${{ ! inputs.short_test }}\n        env:\n          # specifying this id will cause the OIDC test(s) to run against this AD application\n          OIDC_ARM_CLIENT_ID: ${{ inputs.oidc_arm_client_id }}\n        run: |\n          set -euo pipefail\n          cd examples && go test -v -json -cover -timeout 2h -tags=${{ matrix.language }} -skip TestPulumiExamples -parallel 16 . 2>&1 | tee /tmp/gotest.log | gotestfmt\n\n      - name: Run short tests\n        if: inputs.short_test\n        run: |\n          set -euo pipefail\n          cd examples && go test -v -json -cover -timeout 15m -short -tags=${{ matrix.language }} -skip TestPulumiExamples -parallel 16 . 2>&1 | tee /tmp/gotest.log | gotestfmt\n\n  test_examples:\n    needs: build_sdks\n    runs-on: ubuntu-latest\n    name: Test pulumi/examples\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n          - nodejs\n          - python\n          - dotnet\n          - go\n          - java\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          submodules: true\n      - name: Checkout p/examples\n        uses: actions/checkout@v4\n        with:\n          repository: pulumi/examples\n          ref: master\n          path: p-examples\n\n      - name: Setup\n        uses: ./.github/actions/test-setup\n        with:\n          language: ${{ matrix.language }}\n\n      - name: Free up disk space\n        run: |-\n          df -h\n          rm -rf /opt/hostedtoolcache/CodeQL\n          rm -rf /opt/hostedtoolcache/go/1.19.*\n          rm -rf /opt/hostedtoolcache/go/1.20.*\n          sudo apt clean\n          df -h\n\n      - name: Run pulumi/examples tests\n        if: ${{ !inputs.short_test }}\n        env:\n          # specifying this id will cause the OIDC test(s) to run against this AD application\n          OIDC_ARM_CLIENT_ID: ${{ inputs.oidc_arm_client_id }}\n        run: |\n          set -euo pipefail\n          cd examples && \\\n            go mod edit -replace github.com/pulumi/examples/misc/test=../p-examples/misc/test/ && \\\n            go mod tidy && \\\n            go test -v -json -cover -timeout 2h -tags=${{ matrix.language }} -run TestPulumiExamples -parallel 16 . 2>&1 | tee /tmp/gotest.log | gotestfmt\n\n  test_provider:\n    runs-on: ubuntu-latest\n    name: Test Provider\n    needs: prerequisites\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.ref }}\n          submodules: true\n\n      - name: Install Languages & Frameworks\n        uses: ./.github/actions/install\n        with:\n          skip_dotnet_and_java: \"true\"\n\n      - name: Install gotestfmt\n        uses: jaxxstorm/action-install-gh-release@v1.11.0\n        with:\n          tag: v2.5.0\n          repo: GoTestTools/gotestfmt\n\n      - run: make ensure\n\n      - name: Prerequisites artifact restore\n        uses: ./.github/actions/prerequisites-artifact-restore\n\n      # This is essentially just copying files from bin to the provider folder\n      - name: Prebuild provider prerequisites\n        run: |\n          make prebuild\n          make --touch codegen schema\n          make provider_prebuild\n\n      - name: Test Provider Library\n        run: |\n          set -euo pipefail\n          cd provider && go test -v -json -coverprofile=\"coverage.txt\" -coverpkg=./... -timeout 1h -parallel 16 ./... 2>&1 | tee /tmp/gotest.log | gotestfmt\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  dist:\n    runs-on: ubuntu-latest\n    name: Provider Dist\n    needs: prerequisites\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n          ref: ${{ inputs.ref }}\n\n      - name: Install Languages & Frameworks\n        uses: ./.github/actions/install\n        with:\n          skip_dotnet_and_java: \"true\"\n\n      - run: make ensure\n\n      - name: Prerequisites artifact restore\n        uses: ./.github/actions/prerequisites-artifact-restore\n\n      - name: Prerequisites\n        run: |\n          make prebuild\n          # Don't include provider as that's the bit we're going to rebuild\n          make --touch codegen schema\n          make provider_prebuild\n\n      - name: Build dist packages\n        run: make dist --jobs=2\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist\n          retention-days: ${{ inputs.retention_days }}\n", "state": "active", "repository": "pulumi/pulumi-azure-native"}
{"mined_at": "2024-07-15T18:09:23.562114", "created_at": "2023-01-26T21:02:31+01:00", "updated_at": "2023-02-01T14:30:02+01:00", "name": "pull-request-community-autoresponder", "path": ".github/workflows/pull-request-community-autoresponder.yml", "contents": "name: pull-request-community-autoresponder\n\non:\n  pull_request_target:\n    types: [opened]\n\njobs:\n  comment-on-pr:\n    name: Comment maintainer instructions\n    if: github.event.pull_request.head.repo.full_name != github.repository\n    runs-on: ubuntu-latest\n    steps:\n      - name: Comment PR\n        uses: thollander/actions-comment-pull-request@v2\n        with:\n          # Update existing comment if already exists\n          comment_tag: pull-request-contrib\n          message: |\n            Hi there 👋 Thank you for submitting a pull request.\n\n            Acceptance tests must be run by a maintainer. If a maintainer hasn't picked this up after 7 days, please do reach out to a [maintainer](https://github.com/pulumi/pulumi-azure-native/graphs/contributors) via our [community Slack](https://slack.pulumi.com/).\n\n            **Maintainers:** Please review changes then run tests by adding the comment:\n\n            ```\n            /run-acceptance-tests\n            ```\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pulumi/pulumi-azure-native"}
{"mined_at": "2024-07-15T18:09:24.711080", "created_at": "2023-02-01T14:30:02+01:00", "updated_at": "2023-02-01T14:30:02+01:00", "name": "publish", "path": ".github/workflows/publish.yml", "contents": "name: publish\n\non:\n  workflow_call:\n    inputs:\n      ref:\n        required: true\n        type: string\n      version:\n        required: true\n        type: string\n        description: Version to be used to publish the SDKs\n      prerelease:\n        required: true\n        type: boolean\n        description: Indicates if we're doing a pre- or proper release.\n      publishGhRelease:\n        type: boolean\n        description: Indicates if we're publishing a GitHub release.\n        default: true\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}\n  PROVIDER: azure-native\n  PROVIDER_VERSION: ${{ inputs.version }}\n  PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}\n  PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget\n  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n  NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }}\n  PYPI_USERNAME: __token__\n  PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n  TRAVIS_OS_NAME: linux\n  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n  PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/..\n  PUBLISH_REPO_USERNAME: ${{ secrets.OSSRH_USERNAME }}\n  PUBLISH_REPO_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}\n  SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }}\n  SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }}\n  SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }}\n  ARM_CLIENT_ID: 30e520fa-12b4-4e21-b473-9426c5ac2e1e\n  ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }}\n  ARM_ENVIRONMENT: public\n  ARM_LOCATION: westus2\n  ARM_SUBSCRIPTION_ID: 0282681f-7a9e-424b-80b2-96babd57a8a1\n  ARM_TENANT_ID: 706143bc-e1d4-4593-aee2-c9dc60ab9be7\n  PULUMI_API: https://api.pulumi-staging.io\n\njobs:\n  publish-provider:\n    runs-on: ubuntu-latest\n    name: publish-provider\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n          ref: ${{ inputs.ref }}\n\n      - name: Install Languages & Frameworks\n        uses: ./.github/actions/install\n        with:\n          skip_dotnet_and_java: \"true\"\n\n      - run: make ensure\n\n      - name: Prerequisites artifact restore\n        uses: ./.github/actions/prerequisites-artifact-restore\n\n      - name: Ensure provider build prerequisites\n        run: |\n          make prebuild\n          # Don't include provider as that's the bit we're going to rebuild\n          make --touch codegen schema\n          make provider_prebuild\n\n      - name: Build dist packages\n        run: make dist --jobs=2\n\n      - name: Install Schema Tools\n        uses: jaxxstorm/action-install-gh-release@v1.11.0\n        with:\n          repo: pulumi/schema-tools\n\n      - name: Get Schema Change Summary\n        id: schema-summary\n        shell: bash\n        run: |\n          # Get latest stable release. Return only first column from result (tag).\n          LAST_VERSION=$(gh release view --repo pulumi/pulumi-azure-native --json tagName -q .tagName)\n          {\n            echo 'summary<<EOF'\n            schema-tools compare --provider=\"azure-native\" --old-commit=\"$LAST_VERSION\" --new-commit=\"--local-path=provider/cmd/pulumi-resource-azure-native/schema.json\"\n            echo 'EOF'\n          } >> \"$GITHUB_OUTPUT\"\n\n      - name: Configure AWS Credentials\n        # https://github.com/aws-actions/configure-aws-credentials#notice-node12-deprecation-warning\n        uses: aws-actions/configure-aws-credentials@v1-node16\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-region: us-east-2\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          role-duration-seconds: 7200\n          role-session-name: ${{ env.PROVIDER }}@githubActions\n          role-external-id: upload-pulumi-release\n          role-to-assume: ${{ secrets.AWS_UPLOAD_ROLE_ARN }}\n\n      - name: Upload Provider Binaries\n        run: aws s3 cp dist s3://get.pulumi.com/releases/plugins/ --recursive\n\n      - name: Create GH Release\n        uses: softprops/action-gh-release@v1\n        if: inputs.publishGhRelease\n        with:\n          tag_name: v${{ inputs.version }}\n          prerelease: ${{ inputs.prerelease }}\n          # We keep pre-releases as drafts so they're not visible until we manually publish them.\n          draft: ${{ inputs.prerelease }}\n          body: ${{ steps.schema-summary.outputs.summary }}\n          generate_release_notes: true\n          files: dist/*\n        env:\n          GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}\n\n      - if: failure() && github.event_name == 'push'\n        name: Notify Slack\n        uses: 8398a7/action-slack@v3\n        with:\n          author_name: Failure in publishing binaries\n          fields: repo,commit,author,action\n          status: ${{ job.status }}\n\n  publish-python-sdk:\n    runs-on: ubuntu-latest\n    name: publish-python-sdk\n    needs: publish-provider\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Install Languages & Frameworks\n        uses: ./.github/actions/install\n\n      - name: Download python SDK\n        uses: actions/download-artifact@v4\n        with:\n          name: python-sdk.tar.gz\n          path: ${{ github.workspace}}/sdk/\n\n      - name: Uncompress python SDK\n        run: tar -zxf ${{github.workspace}}/sdk/python.tar.gz -C\n          ${{github.workspace}}/sdk/python\n\n      - name: Install Twine\n        run: python -m pip install pip twine\n\n      - name: Publish PyPi Package\n        run: >\n          twine upload\n          -u \"${PYPI_USERNAME}\"\n          -p \"${PYPI_PASSWORD}\"\n          \"${{ github.workspace }}/sdk/python/bin/dist/*\"\n          --skip-existing\n          --verbose\n\n      - if: failure() && github.event_name == 'push'\n        name: Notify Slack\n        uses: 8398a7/action-slack@v3\n        with:\n          author_name: Failure in publishing Python SDK\n          fields: repo,commit,author,action\n          status: ${{ job.status }}\n\n  publish-dotnet-sdk:\n    runs-on: ubuntu-latest\n    name: publish-dotnet-sdk\n    needs: publish-provider\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Checkout Scripts Repo\n        uses: actions/checkout@v4\n        with:\n          path: ci-scripts\n          repository: pulumi/scripts\n\n      - name: Install Languages & Frameworks\n        uses: ./.github/actions/install\n\n      - name: Download dotnet SDK\n        uses: actions/download-artifact@v4\n        with:\n          name: dotnet-sdk.tar.gz\n          path: ${{ github.workspace}}/sdk/\n\n      - name: Uncompress dotnet SDK\n        run: tar -zxf ${{github.workspace}}/sdk/dotnet.tar.gz -C\n          ${{github.workspace}}/sdk/dotnet\n\n      - name: Publish NuGet Package\n        run: |\n          find \"sdk/dotnet/bin/Debug/\" -name 'Pulumi.*.nupkg' \\\n            -exec dotnet nuget push -k \"${NUGET_PUBLISH_KEY}\" -s https://api.nuget.org/v3/index.json {} ';'\n\n      - if: failure() && github.event_name == 'push'\n        name: Notify Slack\n        uses: 8398a7/action-slack@v3\n        with:\n          author_name: Failure in publishing dotnet SDK\n          fields: repo,commit,author,action\n          status: ${{ job.status }}\n\n  publish-nodejs-sdk:\n    runs-on: ubuntu-latest\n    name: publish-nodejs-sdk\n    needs: publish-provider\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Install Languages & Frameworks\n        uses: ./.github/actions/install\n\n      - name: Download nodejs SDK\n        uses: actions/download-artifact@v4\n        with:\n          name: nodejs-sdk.tar.gz\n          path: ${{ github.workspace}}/sdk/\n\n      - name: Uncompress nodejs SDK\n        run: tar -zxf ${{github.workspace}}/sdk/nodejs.tar.gz -C\n          ${{github.workspace}}/sdk/nodejs\n\n      - name: Calculate tag\n        id: tag\n        run: echo \"tag=$(./.github/scripts/calculate-npm-tag.sh \"${{ inputs.version }}\")\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Publish Node.JS SDK\n        working-directory: sdk/nodejs/bin\n        run: npm publish --tag \"${{ steps.tag.outputs.tag }}\"\n        env:\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n\n      - if: failure() && github.event_name == 'push'\n        name: Notify Slack\n        uses: 8398a7/action-slack@v3\n        with:\n          author_name: Failure in publishing SDK\n          fields: repo,commit,author,action\n          status: ${{ job.status }}\n\n  publish-java-sdk:\n    runs-on: ubuntu-latest\n    name: publish-java-sdk\n    needs: publish-provider\n    env:\n      PACKAGE_VERSION: ${{ inputs.version }}\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n      - name: Install Languages & Frameworks\n        uses: ./.github/actions/install\n\n      - name: Download java SDK\n        uses: actions/download-artifact@v4\n        with:\n          name: java-sdk.tar.gz\n          path: ${{ github.workspace}}/sdk/\n\n      - name: Uncompress java SDK\n        run: tar -zxf ${{github.workspace}}/sdk/java.tar.gz -C\n          ${{github.workspace}}/sdk/java\n\n      - name: Publish Java SDK\n        # Maven doesn't use lock files and version ranges can't exclude prereleases.\n        # Therefore we can't publish prereleases without risking breaking customers.\n        # All other ecosystems handle prereleases correctly, Maven is the exception.\n        if: inputs.prerelease == false\n        uses: gradle/gradle-build-action@v3\n        with:\n          arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository\n          build-root-directory: ./sdk/java\n          gradle-version: 7.4.1\n\n      - if: failure() && github.event_name == 'push'\n        name: Notify Slack\n        uses: 8398a7/action-slack@v3\n        with:\n          author_name: Failure in publishing SDK\n          fields: repo,commit,author,action\n          status: ${{ job.status }}\n\n  publish-go-sdk:\n    runs-on: ubuntu-latest\n    name: publish-go-sdk\n    needs: publish-provider\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Install Languages & Frameworks\n        uses: ./.github/actions/install\n\n      - name: Checkout Go SDK repo\n        uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.PULUMI_BOT_TOKEN }}\n          repository: pulumi/pulumi-azure-native-sdk\n          path: sdk/pulumi-azure-native-sdk\n          fetch-depth: 0\n\n      - name: Checkout prerelease branch\n        if: inputs.prerelease == true\n        working-directory: sdk/pulumi-azure-native-sdk\n        run: git checkout -b ${{ inputs.version }}\n\n      - name: Checkout master branch\n        if: inputs.prerelease == false\n        working-directory: sdk/pulumi-azure-native-sdk\n        run: git checkout master\n\n      - name: Clear all source files\n        working-directory: sdk/pulumi-azure-native-sdk\n        run: find . -maxdepth 1 -not -name '.*' -exec rm -rf {} \\;\n\n      - name: Download Go SDK artifact\n        uses: actions/download-artifact@v4\n        with:\n          name: pulumi-azure-native-sdk.tar.gz\n          path: ${{ github.workspace}}/sdk/\n\n      - name: UnTar Go SDK artifact\n        run: |\n          mkdir -p ${{github.workspace}}/sdk/pulumi-azure-native-sdk\n          tar -zxf ${{ github.workspace}}/sdk/pulumi-azure-native-sdk.tar.gz -C ${{github.workspace}}/sdk/pulumi-azure-native-sdk\n\n      - name: Prepare for publishing\n        run: make prepublish_go\n\n      - name: Commit and tag\n        working-directory: sdk/pulumi-azure-native-sdk\n        run: |\n          git config user.name \"Pulumi Bot\"\n          git config user.email \"bot@pulumi.com\"\n          git add .\n          git commit -m \"v${{ inputs.version }}\"\n          ../../.github/scripts/tag-go-modules.sh ${{ inputs.version }}\n\n      - name: Publish to prerelease branch\n        if: inputs.prerelease == true\n        working-directory: sdk/pulumi-azure-native-sdk\n        run: git push -u origin ${{ inputs.version }} --tags\n\n      - name: Publish to master branch\n        if: inputs.prerelease == false\n        working-directory: sdk/pulumi-azure-native-sdk\n        run: git push -u origin master --tags\n\n      - if: failure() && github.event_name == 'push'\n        name: Notify Slack\n        uses: 8398a7/action-slack@v3\n        with:\n          author_name: Failure in publishing SDK\n          fields: repo,commit,author,action\n          status: ${{ job.status }}\n", "state": "active", "repository": "pulumi/pulumi-azure-native"}
{"mined_at": "2024-07-15T18:09:25.817670", "created_at": "2024-03-27T12:25:22+01:00", "updated_at": "2024-03-27T12:58:02+01:00", "name": "actionlint", "path": ".github/workflows/actionlint.yml", "contents": "name: actionlint\n\non:\n  pull_request:\n    branches:\n      - master\n      - main\n    paths:\n      - \".github/**\"\n  workflow_dispatch: {}\n\njobs:\n  lint_workflows:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n\n      - name: Lint actions\n        uses: reviewdog/action-actionlint@v1.43.0\n        with:\n          actionlint_flags: \"-config-file .actionlint.yml\"\n", "state": "active", "repository": "pulumi/pulumi-azure-native"}
{"mined_at": "2024-07-15T18:09:26.944679", "created_at": "2024-04-30T15:07:19+02:00", "updated_at": "2024-04-30T15:07:19+02:00", "name": "dev-version", "path": ".github/workflows/version.yml", "contents": "name: dev-version\n\non:\n  workflow_call:\n    outputs:\n      version:\n        description: Calculated version\n        value: ${{ jobs.version.outputs.version }}\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}\n\njobs:\n  version:\n    runs-on: ubuntu-latest\n    name: Calculate Dev Version\n    steps:\n      - id: version\n        name: Calculate build version\n        uses: pulumi/provider-version-action@v1\n    outputs:\n      version: ${{ steps.version.outputs.VERSION }}\n", "state": "active", "repository": "pulumi/pulumi-azure-native"}
{"mined_at": "2024-07-15T18:09:29.303660", "created_at": "2023-05-04T16:26:02+02:00", "updated_at": "2023-05-04T16:26:02+02:00", "name": "GitHub Pages", "path": ".github/workflows/gh-pages.yml", "contents": "name: GitHub Pages\n\non:\n  push:\n    branches:\n      - main\n      - dev\n    paths:\n      - docs/**\n  workflow_dispatch:\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0    # Fetch all history for .GitInfo and .Lastmod\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8'\n\n      - name: Install dependencies\n        run: |\n          python3 -m pip install mkdocs\n          python3 -m pip install mkdocs-material\n          python3 -m pip install mkdocs-include-markdown-plugin==3.8.1\n          python3 -m pip install mkdocs-macros-plugin\n          python3 -m pip install mkdocs-render-swagger-plugin\n          python3 -m pip install pymdown-extensions\n      - name: Build mkdocs\n        run: |\n          export OAS_FILE=https://aws-gcr-solutions.s3.amazonaws.com/extension-for-stable-diffusion-on-aws/esd-oas.json\n          mkdir -p ./docs/zh/developer-guide/api/\n          wget -qO ./docs/zh/developer-guide/api/esd-oas.json $OAS_FILE\n          mkdir -p ./docs/jp/developer-guide/api/\n          wget -qO ./docs/jp/developer-guide/api/esd-oas.json $OAS_FILE\n          mkdir -p ./docs/en/developer-guide/api/\n          wget -qO ./docs/en/developer-guide/api/esd-oas.json $OAS_FILE\n          mkdocs build -f ./docs/mkdocs.en.yml\n          mkdocs build -f ./docs/mkdocs.zh.yml\n          mkdocs build -f ./docs/mkdocs.ja.yml\n          cp -av ./docs/index.html ./docs/site\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        if: ${{ github.ref == 'refs/heads/main' }}\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs/site\n          publish_branch: gh-pages\n", "state": "active", "repository": "awslabs/stable-diffusion-aws-extension"}
{"mined_at": "2024-07-15T18:09:30.359838", "created_at": "2023-07-03T04:18:58+02:00", "updated_at": "2023-07-14T15:44:44+02:00", "name": ".github/workflows/pr-validation.yml", "path": ".github/workflows/pr-validation.yml", "contents": "on: \n  pull_request:\n    types: [opened, edited, reopened, synchronize]\n\n  # trigger manually for debugging\n  workflow_dispatch:\n\npermissions:\n  id-token: write   # This is required for requesting the JWT\n  contents: read    # This is required for actions/checkout\n\nenv:\n  AWS_REGION : us-east-1\n\njobs:\n  mw-ut:\n    name: mw-ut\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      # - name: configure aws credentials\n      #   uses: aws-actions/configure-aws-credentials@v1\n      #   with:\n      #     role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT }}:role/GitHub_Action_Role\n      #     role-session-name: cdksession\n      #     aws-region: ${{ env.AWS_REGION }}\n      - name: ut\n        run: |\n          pip install pytest\n          pip install pytest-cov\n          # TODO\n\n  git-secrets:\n    name: git-secrets\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: recursive\n      - name: Checkout awslabs/git-secrets\n        uses: actions/checkout@v3\n        with:\n          repository: awslabs/git-secrets\n          ref: master\n          path: git-secrets\n      - name: Install git-secrets\n        run: cd git-secrets && sudo make install && cd ..\n      - name: Run git-secrets\n        run: |\n          git-secrets --register-aws\n          git-secrets --scan\n\n  viperlight:\n    name: viperlight\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Viperlight\n        run: |\n          wget -q https://viperlight-scanner.s3.amazonaws.com/latest/.viperlightrc\n          wget -q https://viperlight-scanner.s3.amazonaws.com/latest/viperlight.zip\n          unzip -q viperlight.zip -d ../viperlight\n          rm -r ./viperlight.zip\n          echo \"Content scanning utility installation complete `date`\"\n          echo \"Starting content scanning `date` in `pwd`\"\n          ../viperlight/bin/viperlight scan -m files-contents -m files-aws -m files-binary -m files-entropy -m files-secrets\n          echo \"Completed content scanning `date`\"\n\n  miss-spelling-validate:\n    name: miss spelling check for words or sentences\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n      # - name: flake8 Lint\n      #   uses: py-actions/flake8@v2\n      #   with:\n      #     ignore: \"E501, E302\"\n      - name: Check for misspellings\n        uses: codespell-project/actions-codespell@master\n        with:\n          only_warn: 1\n          check_filenames: true\n          skip: .git,*.png,*.jpg,*.jpeg\n\n  sematic-validate:\n    name: Validate PR title\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5.0.2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with :\n          types: |\n            feat\n            fix\n            docs\n            style\n            refactor\n            perf\n            test\n            build\n            ci\n            chore\n            revert\n", "state": "active", "repository": "awslabs/stable-diffusion-aws-extension"}
{"mined_at": "2024-07-15T18:09:31.761348", "created_at": "2023-06-06T14:02:33+02:00", "updated_at": "2023-06-06T14:02:33+02:00", "name": "Close inactive issues", "path": ".github/workflows/stale-issue.yml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v5\n        with:\n          days-before-issue-stale: 14\n          days-before-issue-close: 14\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue is stale because it has been open for 14 days with no activity.\"\n          close-issue-message: \"This issue was closed because it has been inactive for 14 days since being marked as stale.\"\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          repo-token: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "awslabs/stable-diffusion-aws-extension"}
{"mined_at": "2024-07-15T18:09:32.990478", "created_at": "2023-05-21T14:28:38+02:00", "updated_at": "2023-06-02T12:16:58+02:00", "name": "Auto Sync Dev to Main", "path": ".github/workflows/sync-to-main.yml", "contents": "name: Auto Sync Dev to Main\n\non:\n  schedule:\n    # sync every 2 weeks at midnight\n    - cron:  '0 0 1,15 * *'\n  workflow_dispatch: # Allow manual trigger\n\njobs:\n  sync_branches:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Repo\n      uses: actions/checkout@v2\n      with:\n        ref: dev\n        fetch-depth: 0\n\n    - name: Configure Git\n      run: |\n        git config --global user.email \"${{ secrets.GITHUBEMAILADDRESS }}\"\n        git config --global user.name \"${{ secrets.GITHUBUSER }}\"\n\n    - name: Merge dev into main\n      run: |\n        git checkout main\n        git merge dev --no-edit\n        git push origin main\n\n    - name: Handle merge conflicts\n      run: |\n        if git ls-files -u | grep -q . ; then\n          echo \"Merge conflict detected. Please resolve manually.\"\n          exit 1\n        fi\n", "state": "disabled_manually", "repository": "awslabs/stable-diffusion-aws-extension"}
{"mined_at": "2024-07-15T18:09:34.190625", "created_at": "2023-05-04T16:07:11+02:00", "updated_at": "2023-05-04T16:07:11+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "awslabs/stable-diffusion-aws-extension"}
{"mined_at": "2024-07-15T18:09:36.247111", "created_at": "2020-05-11T13:20:44+02:00", "updated_at": "2023-11-15T21:06:20+01:00", "name": "build", "path": ".github/workflows/master.yml", "contents": "\n# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: build\n\non:\n  push:\n    branches: [ master, future ]\n  pull_request:\n\n\njobs:\n  # Run tests on different versions of python\n  unittest:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest, ubuntu-latest, macos-latest]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          - os: macos-latest\n            python-version: \"3.7\"\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[dev]\n    - name: Test with pytest\n      env:\n        MPLBACKEND: TkAgg\n      run: |\n        pytest -s --ignore=W605 --timeout=50 --timeout_method=thread\n\n  codecov:\n    # If all tests pass:\n    # Run coverage and upload to codecov\n    needs: unittest\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.7\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[dev]\n    - name: Run coverage\n      run: |\n        coverage run --omit='tests/*.py,tests/base/*.py' -m pytest\n        coverage report\n        coverage xml \n    - name: upload coverage to Codecov\n      uses: codecov/codecov-action@v3\n      with:\n        file: ./coverage.xml\n  sphinx:\n    # If the above worked:\n    # Build docs and upload to GH Pages\n    needs: unittest\n    uses: ./.github/workflows/sphinx.yml\n", "state": "active", "repository": "bdaiinstitute/spatialmath-python"}
{"mined_at": "2024-07-15T18:09:37.377234", "created_at": "2021-11-07T23:55:38+01:00", "updated_at": "2021-11-07T23:55:38+01:00", "name": ".github/workflows/publish.yml", "path": ".github/workflows/publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# name: Upload Python Package\n\non:\n  release:\n    types: [created]\n  workflow_dispatch:\n\njobs:\n  deploy:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 2\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [3.8]\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U setuptools wheel twine build\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python -m build\n        ls ./dist/*.whl\n        twine upload dist/*.gz\n        twine upload dist/*.whl\n", "state": "active", "repository": "bdaiinstitute/spatialmath-python"}
{"mined_at": "2024-07-15T18:09:38.654333", "created_at": "2023-11-15T21:02:43+01:00", "updated_at": "2023-11-15T21:02:43+01:00", "name": "Sphinx", "path": ".github/workflows/sphinx.yml", "contents": "name: Sphinx\n\non:\n  workflow_call:\n\njobs:\n  sphinx:\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name != 'pull_request' }}\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.7\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[dev,docs]\n        pip install git+https://github.com/petercorke/sphinx-autorun.git\n        pip install sympy\n        sudo apt-get install graphviz\n    - name: Build docs\n      run: |\n        cd docs\n        make html\n        # Tell GitHub not to use jekyll to compile the docs\n        touch build/html/.nojekyll\n        cd ../\n    - name: Commit documentation changes\n      run: |\n        git clone https://github.com/petercorke/spatialmath-python.git --branch gh-pages --single-branch gh-pages\n        cp -r docs/build/html/* gh-pages/\n        cd gh-pages\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        git add .\n        git commit -m \"Update documentation\" -a || true\n        # The above command will fail if no changes were present, so we ignore\n        # that.\n    - name: Push changes\n      uses: ad-m/github-push-action@master\n      with:\n        branch: gh-pages\n        directory: gh-pages\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "bdaiinstitute/spatialmath-python"}
{"mined_at": "2024-07-15T18:09:39.669057", "created_at": "2021-12-25T06:39:19+01:00", "updated_at": "2021-12-25T06:39:19+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "bdaiinstitute/spatialmath-python"}
{"mined_at": "2024-07-15T18:09:41.899175", "created_at": "2022-02-02T15:24:49+01:00", "updated_at": "2022-02-02T15:31:58+01:00", "name": "cffconvert", "path": ".github/workflows/cffconvert.yml", "contents": "name: cffconvert\n\non:\n  push:\n    paths:\n      - CITATION.cff\n  workflow_dispatch:\n\njobs:\n  validate:\n    name: \"validate\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out a copy of the repository\n        uses: actions/checkout@v4\n\n      - name: Check whether the citation metadata from CITATION.cff is valid\n        uses: citation-file-format/cffconvert-github-action@2.0.0\n        with:\n          args: \"--validate\"\n", "state": "active", "repository": "citation-file-format/cffconvert"}
{"mined_at": "2024-07-15T18:09:43.016769", "created_at": "2021-09-08T15:41:27+02:00", "updated_at": "2021-09-08T16:08:49+02:00", "name": "linting", "path": ".github/workflows/linting.yml", "contents": "name: linting\n\non: \n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n\n  linting:\n    name: py${{ matrix.python-version }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: ['ubuntu-latest']\n        python-version: ['3.11']\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Show python info\n        run: |\n          which python3\n          python3 --version\n\n      - name: Upgrade pip, setuptools and wheel\n        run: |\n          python3 -m pip install --upgrade pip setuptools wheel\n\n      - name: Install runtime dependencies\n        run: python3 -m pip install .\n\n      - name: Install development dependencies\n        run: python3 -m pip install .[dev,gcloud,testing]\n\n      - name: Check sorting of imports\n        # isort returns zero even when there are problems, explicitly check there is no output \n        run: |\n          output=$(isort --check-only --diff src/cffconvert tests/)\n          if [[ -n \"$output\" ]]; then\n            exit 1\n          else\n            exit 0\n          fi\n\n      - name: Run prospector\n        run: prospector --profile-path .prospector.yml\n", "state": "active", "repository": "citation-file-format/cffconvert"}
{"mined_at": "2024-07-15T18:09:44.098190", "created_at": "2021-09-06T11:45:42+02:00", "updated_at": "2021-09-06T11:59:03+02:00", "name": "testing", "path": ".github/workflows/testing.yml", "contents": "name: testing\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n\n  testing:\n    name: py${{ matrix.python-version }} on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: ['ubuntu-latest', 'macos-latest', 'windows-latest']\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Show python info\n        run: |\n          which python3\n          python3 --version\n\n      - name: Upgrade pip, setuptools and wheel\n        run: |\n          python3 -m pip install --upgrade pip setuptools wheel\n\n      - name: Install cffconvert with its runtime dependencies\n        run: python3 -m pip install .\n\n      - name: Install cffconvert with its testing dependencies\n        run: python3 -m pip install .[testing]\n\n      - name: Run tests\n        run: python3 -m pytest tests/\n", "state": "active", "repository": "citation-file-format/cffconvert"}
{"mined_at": "2024-07-15T18:09:45.380799", "created_at": "2021-09-22T13:44:21+02:00", "updated_at": "2021-09-22T13:44:21+02:00", "name": "zenodraft", "path": ".github/workflows/zenodraft.yml", "contents": "name: zenodraft\non:\n  # Trigger when you publish a release via GitHub's release page\n  release:\n    types:\n      - published\n\njobs:\n  publish:\n      runs-on: ubuntu-latest\n      steps:\n        - name: Checkout the contents of your repository\n          uses: actions/checkout@v4\n        - name: Create a draft snapshot of your repository contents as a new\n                version in collection 1162057 on Zenodo using metadata\n                from repository file .zenodo.json\n          env:\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n            ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}\n          uses: zenodraft/action@0.13.3\n          with:\n            compression: zip\n            collection: 1162057\n            metadata: .zenodo.json\n            publish: false\n            sandbox: false\n            upsert-doi: true\n            upsert-location: identifiers[1]\n", "state": "active", "repository": "citation-file-format/cffconvert"}
{"mined_at": "2024-07-15T18:09:47.533318", "created_at": "2022-07-19T19:09:46+02:00", "updated_at": "2024-02-19T20:07:15+01:00", "name": "Build and publish Python distributions to PyPI", "path": ".github/workflows/publish_to_pypi.yaml", "contents": "name: Build and publish Python distributions to PyPI\non:\n  release:\n    types: [published]\n\njobs:\n\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macOS-latest]\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v3\n        with:\n          python-version: 3.11\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.16.2\n        env:\n          # Skip CPython 3.6, 3.7, 3.8, 3.12, PyPy, 32-bit, and musl\n          CIBW_SKIP: \"cp36-* cp37-* cp38-* cp312-* pp* *i686 *musllinux*\"\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./wheelhouse/*.whl\n\n  make_sdist:\n    name: Make SDist\n    runs-on: ubuntu-latest\n    steps:\n    - name: git checkout repository main\n      uses: actions/checkout@v3\n\n    - name: check github reference for tags\n      run: |\n        echo \"github.ref = ${{ github.ref }}, github.ref_type = ${{ github.ref_type }}\"\n        echo \"github.repository = ${{ github.repository }}, github.event_name = ${{ github.event_name }} \"\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n\n    - name: Install pypa/build\n      run: python -m pip install build --user\n\n    - name: Build a source tarball\n      run: python -m build --sdist --outdir dist/ .\n\n    - uses: actions/upload-artifact@v3\n      with:\n        path: ./dist/*.tar.gz\n\n  pypi-publish:\n    needs: ['build_wheels', 'make_sdist']\n    environment: 'publish'\n\n    name: upload release to PyPI\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v3\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: artifact/\n", "state": "active", "repository": "nanograv/holodeck"}
{"mined_at": "2024-07-15T18:09:48.558160", "created_at": "2022-08-03T19:44:33+02:00", "updated_at": "2022-08-03T20:25:45+02:00", "name": "generate coverage and upload to Codecov", "path": ".github/workflows/coverage.yaml", "contents": "name: generate coverage and upload to Codecov\non:\n  push:\n    # branches-ignore:\n    #   - '**'\n    branches:\n      - \"main\"\n      - \"dev\"\n\n  pull_request:\n    # branches-ignore:\n    #   - '**'\n    branches:\n      - \"main\"\n      - \"dev\"\n\njobs:\n  run:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.11']\n\n    steps:\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Check out repository\n      uses: actions/checkout@v2\n      with:\n        fetch-depth: 2\n\n    - name: Install dependencies\n      run: |\n        which python\n        python --version\n        python -m pip install --upgrade pip\n        python -m pip install -r requirements.txt\n        python -m pip install -r requirements-dev.txt\n\n    - name: Install package\n      run: |\n        python setup.py build_ext -i\n        python setup.py develop\n\n    - name: Report environment information\n      run: |\n        which python\n        python --version\n        python -c \"import sys; print(f'Python {sys.version}')\"\n        python -c \"import pip; print(f'pip {pip.__version__}')\"\n        python -c \"import setuptools; print(f'setuptools {setuptools.__version__}')\"\n        python -m pip freeze\n\n    - name: Convert notebooks\n      run: |\n        python ./scripts/convert_notebook_tests.py\n\n    - name: Run tests and generate coverage report\n      run: |\n        pytest -v --cov=./ --cov-report term --cov-report=xml --color=yes\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}\n        token: ${{ secrets.CODECOV_TOKEN }} # required\n        env_vars: OS,PYTHON\n        fail_ci_if_error: true\n        verbose: true\n", "state": "active", "repository": "nanograv/holodeck"}
{"mined_at": "2024-07-15T18:09:49.784058", "created_at": "2023-05-18T02:11:23+02:00", "updated_at": "2023-05-18T02:43:48+02:00", "name": "build", "path": ".github/workflows/unit-tests-ci.yaml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"dev\"\n  pull_request:\n    branches:\n      - \"main\"\n      - \"dev\"\n\njobs:\n  test:\n    name: Test Python ${{ matrix.python-version }}, ${{ matrix.os }}, ${{ matrix.mpi }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macOS-latest]\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n        # mpi: [ 'mpich', 'openmpi', 'intelmpi']\n        # mpi: ['openmpi']\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v2\n      with:\n        fetch-depth: 2\n\n    # Install MPI (required to build mpi4py)\n    # see: https://github.com/mpi4py/setup-mpi\n    # - name: Setup MPI\n    #     uses: mpi4py/setup-mpi@v1\n    #     with:\n    #       mpi: ${{ matrix.mpi }}\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    # - if: matrix.os == 'ubuntu-latest'\n    #   # need to update cache to find packages, see https://github.com/nektos/act/issues/588#issuecomment-809479520\n    #   run: sudo apt-get update\n    #   run: sudo apt-get install libopenmpi-dev\n\n    # - if: matrix.os == 'macOS-latest'\n    #   run: |\n    #         brew install mpich\n\n    - name: Install dependencies\n      run: |\n        which python\n        python --version\n        python -m pip install --upgrade pip setuptools wheel\n        python -m pip install -r requirements.txt\n        python -m pip install -r requirements-dev.txt\n\n    - name: Install package\n      run: |\n        python setup.py build_ext -i\n        python setup.py develop\n\n    - name: Report environment information\n      run: |\n        which python\n        python --version\n        python -c \"import sys; print(f'Python {sys.version}')\"\n        python -c \"import pip; print(f'pip {pip.__version__}')\"\n        python -c \"import setuptools; print(f'setuptools {setuptools.__version__}')\"\n        python -m pip freeze\n        which tox\n        tox --version\n\n    - name: Run pytest via tox\n      # Run tox using the version of Python in `PATH` by using the `-e py` argument\n      run: |\n        tox -e py\n", "state": "active", "repository": "nanograv/holodeck"}
{"mined_at": "2024-07-15T18:09:52.037339", "created_at": "2023-02-24T15:15:07+01:00", "updated_at": "2023-02-24T15:41:53+01:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    types: [opened, reopened, synchronize]\n  pull_request_target:\n    types: [opened, reopened, synchronize]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v6\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "cda-tum/mqt-bench"}
{"mined_at": "2024-07-15T18:09:53.065931", "created_at": "2024-04-21T15:16:35+02:00", "updated_at": "2024-04-24T22:36:41+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  merge_group:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  change-detection:\n    name: 🔍 Change\n    uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.1.2\n\n  python-tests:\n    name: 🐍 Test\n    needs: change-detection\n    if: fromJSON(needs.change-detection.outputs.run-python-tests)\n    uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.1.2\n\n  code-ql:\n    name: 📝 CodeQL\n    needs: change-detection\n    if: fromJSON(needs.change-detection.outputs.run-code-ql)\n    uses: cda-tum/mqt-workflows/.github/workflows/reusable-code-ql-python.yml@v1.1.2\n\n  required-checks-pass: # This job does nothing and is only used for branch protection\n    name: 🚦 Check\n    if: always()\n    needs:\n      - change-detection\n      - python-tests\n      - code-ql\n    runs-on: ubuntu-latest\n    steps:\n      - name: Decide whether the needed jobs succeeded or failed\n        uses: re-actors/alls-green@release/v1\n        with:\n          allowed-skips: >-\n            ${{\n              fromJSON(needs.change-detection.outputs.run-python-tests)\n              && '' || 'python-tests,'\n            }}\n            ${{\n              fromJSON(needs.change-detection.outputs.run-code-ql)\n              && '' || 'code-ql,'\n            }}\n          jobs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "cda-tum/mqt-bench"}
{"mined_at": "2024-07-15T18:09:54.290228", "created_at": "2024-04-24T22:36:41+02:00", "updated_at": "2024-04-24T22:36:41+02:00", "name": "CD", "path": ".github/workflows/cd.yml", "contents": "name: CD\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - .github/workflows/cd.yml\n\njobs:\n  python-packaging:\n    name: 🐍 Packaging\n    uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.1.2\n    with:\n      pure-python: true\n\n  deploy:\n    if: github.event_name == 'release' && github.event.action == 'published'\n    name: 🚀 Deploy to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/mqt.bench\n    permissions:\n      id-token: write\n    needs: [python-packaging]\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: cibw-*\n          path: dist\n          merge-multiple: true\n      - uses: pypa/gh-action-pypi-publish@release/v1\n\n  upload_webserver:\n    if: github.event_name == 'release' && github.event.action == 'published'\n    name: 🚀 Deploy to Webserver\n    needs: deploy\n    runs-on: ubuntu-latest\n    env:\n      DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}\n      KNOWN_HOSTS: ${{ secrets.KNOWN_HOSTS }}\n      CDA_HOST_NAME: tueicda-cda.srv.mwn.de\n      CDA_USER_NAME: web-user\n      CDA_TARGET_DIR: /var/www/cda/app/mqtbench/\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Create version file\n        run: |\n          echo \"version = \\\"$(git describe --tags --always)\\\"\" > mqtbench_version.txt\n      - name: Setup SSH via the stored Action Secrets\n        run: |\n          mkdir -p ~/.ssh\n          echo \"${KNOWN_HOSTS}\" >> ~/.ssh/known_hosts\n          echo \"${DEPLOY_KEY}\" > ~/.ssh/my_rsync_key\n          echo \"IdentityFile ~/.ssh/my_rsync_key\" >> ~/.ssh/config\n          chmod -R 700 ~/.ssh\n      - name: Copy version file to the webserver\n        working-directory: ${{ github.workspace }}\n        run: |\n          rsync -avz -e ssh mqtbench_version.txt ${CDA_USER_NAME}@${CDA_HOST_NAME}:${CDA_TARGET_DIR}/mqtbench_version.txt\n", "state": "active", "repository": "cda-tum/mqt-bench"}
{"mined_at": "2024-07-15T18:09:55.390114", "created_at": "2024-06-21T06:30:48+02:00", "updated_at": "2024-06-21T06:30:48+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "cda-tum/mqt-bench"}
{"mined_at": "2024-07-15T18:09:58.466844", "created_at": "2024-04-25T20:17:35+02:00", "updated_at": "2024-04-26T01:56:50+02:00", "name": "docker_publish", "path": ".github/workflows/docker_publish.yml", "contents": "# Check this guide for more information about publishing to ghcr.io with GitHub Actions:\n# https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-ghcrio\n\n# Build the Docker image and push it to the registry\nname: docker_publish\n\non:\n  # Trigger the workflow on tags push that match the pattern v*, for example v1.0.0\n  push:\n    tags:\n      - \"v*\"\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  # Only run this job on tags\n  docker-tag:\n    runs-on: ubuntu-latest\n    if: startsWith(github.ref, 'refs/tags/')\n\n    # Sets the permissions granted to the GITHUB_TOKEN for the actions in this job.\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      # We require additional space due to the large size of our image. (~10GB)\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          tool-cache: true\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: true\n          docker-images: true\n          swap-storage: true\n\n      - name: Docker meta:${{ github.ref_name }}\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ghcr.io/${{ github.repository_owner }}/kohya-ss-gui\n          flavor: |\n            latest=auto\n            prefix=\n            suffix=\n          # https://github.com/docker/metadata-action/tree/v5/?tab=readme-ov-file#tags-input\n          tags: |\n            type=semver,pattern=v{{major}}\n            type=semver,pattern={{raw}}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      \n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      # You may need to manage write and read access of GitHub Actions for repositories in the container settings.\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        id: publish\n        with:\n          context: .\n          file: ./Dockerfile\n          push: true\n          target: final\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            VERSION=${{ github.ref_name }}\n            RELEASE=${{ github.run_number }}\n          platforms: linux/amd64\n          # Cache to regietry instead of gha to avoid the capacity limit.\n          cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/kohya-ss-gui:cache\n          cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/kohya-ss-gui:cache,mode=max\n          sbom: true\n          provenance: true\n", "state": "active", "repository": "bmaltais/kohya_ss"}
{"mined_at": "2024-07-15T18:09:59.614809", "created_at": "2023-03-02T01:15:00+01:00", "updated_at": "2023-03-02T20:36:51+01:00", "name": "Typos", "path": ".github/workflows/typos.yaml", "contents": "---\n# yamllint disable rule:line-length\nname: Typos\n\non:  # yamllint disable-line rule:truthy\n  push:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: typos-action\n        uses: crate-ci/typos@v1.21.0\n", "state": "active", "repository": "bmaltais/kohya_ss"}
{"mined_at": "2024-07-15T18:10:00.612939", "created_at": "2024-04-11T14:34:17+02:00", "updated_at": "2024-04-11T14:34:17+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "bmaltais/kohya_ss"}
{"mined_at": "2024-07-15T18:10:02.686791", "created_at": "2022-03-10T12:07:19+01:00", "updated_at": "2022-03-16T09:12:04+01:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1\n    with:\n      posargs: --openmp-expected=True\n      coverage: codecov\n      envs: |\n        # Code style\n        - linux: style\n\n        # Standard tests\n\n        - linux: py38-test-oldestdeps\n        - linux: py39-test\n        - linux: py310-test\n        - linux: py311-test\n        - linux: py312-test\n        - linux: py312-test-devdeps\n\n        - macos: py312-test-devdeps\n          posargs: --openmp-expected=False\n\n        - windows: py38-test\n          runs-on: windows-2019\n        - windows: py312-test-devdeps\n          runs-on: windows-2019\n\n        # Test with more compilers, for the OpenMP helpers\n        - macos: py39-test-osxclang-conda\n          toxdeps: 'tox>=4'\n          coverage: ''\n        - linux: py39-test-linuxgcc-conda\n          toxdeps: 'tox>=4'\n          coverage: ''\n\n        # Test downstream packages\n        - linux: py39-downstream\n\n  publish:\n    needs: tests\n    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1\n    with:\n      test_extras: test\n      test_command: pytest --pyargs extension_helpers\n    secrets:\n      pypi_token: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "astropy/extension-helpers"}
{"mined_at": "2024-07-15T18:10:03.917354", "created_at": "2023-07-24T21:44:46+02:00", "updated_at": "2023-07-24T21:44:46+02:00", "name": "Update Changelog", "path": ".github/workflows/update-changelog.yml", "contents": "# This workflow takes the GitHub release notes an updates the changelog on the\n# main branch with the body of the release notes, thereby keeping a log in\n# the git repo of the changes.\n\nname: \"Update Changelog\"\n\non:\n  release:\n    types: [released]\n\njobs:\n  update:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          ref: main\n\n      - name: Update Changelog\n        uses: stefanzweifel/changelog-updater-action@v1\n        with:\n          release-notes: ${{ github.event.release.body }}\n          latest-version: ${{ github.event.release.name }}\n          path-to-changelog: CHANGES.md\n\n      - name: Commit updated CHANGELOG\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          branch: main\n          commit_message: Update CHANGELOG\n          file_pattern: CHANGES.md\n", "state": "active", "repository": "astropy/extension-helpers"}
{"mined_at": "2024-07-15T18:10:06.047763", "created_at": "2022-01-25T11:00:25+01:00", "updated_at": "2022-03-17T07:46:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "Quantum-Accelerators/quacc"}
{"mined_at": "2024-07-15T18:10:07.221255", "created_at": "2022-03-17T08:35:35+01:00", "updated_at": "2024-01-31T20:33:13+01:00", "name": "tests", "path": ".github/workflows/tests.yaml", "contents": "name: tests\non:\n  push:\n    branches: [main]\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests-core:\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [\"3.9\", \"3.12\"]\n        os: [ubuntu-latest, windows-latest]\n        exclude:\n          - os: windows-latest\n            python-version: \"3.9\"\n\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: tests/requirements**.txt\n\n      - name: Install pip packages\n        run: |\n          pip install uv\n          uv pip install --system -r tests/requirements.txt \"quacc[dev] @ .\"\n\n      - name: Run tests with pytest (w/ coverage)\n        if: matrix.python-version != '3.12'\n        run: pytest --durations=10 --cov=quacc --cov-report=xml\n\n      - name: Run tests with pytest (w/o coverage)\n        if: matrix.python-version == '3.12'\n        run: pytest --durations=10\n\n      - name: Upload code coverage report to Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }} ${{ matrix.python-version }} ${{ matrix.os }} coverage report\n          path: \"coverage.xml\"\n          retention-days: 1\n\n  tests-engines:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        wflow_engine: [covalent, dask, parsl, prefect, redun, jobflow]\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.wflow_engine == 'covalent' && '3.10' || '3.11' }}\n          cache: pip\n          cache-dependency-path: tests/requirements**.txt\n\n      - name: Set up conda\n        if: matrix.wflow_engine == 'dask'\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: \"3.11\"\n          activate-environment: quacc-env\n\n      - name: Install conda packages\n        if: matrix.wflow_engine == 'dask'\n        run: conda install -c conda-forge qe\n\n      - name: Install pip packages\n        run: |\n          pip install uv\n          uv pip install --system -r tests/requirements.txt -r tests/requirements-${{ matrix.wflow_engine }}.txt -r tests/requirements-phonons.txt \"quacc[dev] @ .\"\n\n      - name: Start Covalent server\n        if: matrix.wflow_engine == 'covalent'\n        run: covalent start\n\n      - name: Run tests with pytest\n        run: pytest --durations=10 tests/${{ matrix.wflow_engine }} --cov=quacc --cov-report=xml\n\n      - name: Combine Coverage Reports\n        if: matrix.wflow_engine == 'dask'\n        run: |\n          coverage combine -a\n          coverage xml\n\n      - name: Upload code coverage report to Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }} ${{ matrix.wflow_engine }} coverage report\n          path: \"coverage.xml\"\n          retention-days: 1\n\n  tests-psi4:\n    strategy:\n      fail-fast: true\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n          cache-dependency-path: tests/requirements**.txt\n\n      - name: Set up conda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          activate-environment: quacc-env\n\n      - name: Install conda packages\n        run: |\n          conda install -n base conda-libmamba-solver\n          conda install psi4 -c conda-forge --solver libmamba\n\n      - name: Install pip packages\n        run: |\n          pip install uv\n          uv pip install --system -r tests/requirements.txt \"quacc[dev] @ .\"\n\n      - name: Run tests with pytest\n        run: pytest -k 'psi4' --durations=10 --cov=quacc --cov-report=xml\n\n      - name: Upload code coverage report to Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }} coverage report\n          path: \"coverage.xml\"\n          retention-days: 1\n\n  tests-defects-phonons-espresso:\n    strategy:\n      fail-fast: true\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n          cache-dependency-path: tests/requirements**.txt\n\n      - name: Set up conda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          activate-environment: quacc-env\n\n      - name: Install conda packages\n        run: conda install -c conda-forge qe\n\n      - name: Install pip packages\n        run: |\n          pip install uv\n          uv pip install --system -r tests/requirements.txt -r tests/requirements-defects.txt -r tests/requirements-phonons.txt \"quacc[dev] @ .\"\n\n      - name: Run tests with pytest\n        run: pytest -k 'defects or phonon or espresso' --durations=10 --cov=quacc --cov-report=xml\n\n      - name: Upload code coverage report to Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }} coverage report\n          path: \"coverage.xml\"\n          retention-days: 1\n\n  tests-tblite-dftbplus:\n    strategy:\n      fail-fast: true\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n          cache-dependency-path: tests/requirements**.txt\n\n      - name: Set up conda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          activate-environment: quacc-env\n\n      - name: Install conda packages\n        run: conda install -c conda-forge dftbplus\n\n      - name: Install pip packages\n        run: |\n          pip install uv\n          uv pip install --system -r tests/requirements.txt -r tests/requirements-tblite.txt -r tests/requirements-phonons.txt \"quacc[dev] @ .\"\n\n      - name: Run tests with pytest\n        run: pytest -k 'dftb or tblite' --durations=10 --cov=quacc --cov-report=xml\n\n      - name: Upload code coverage report to Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }} coverage report\n          path: \"coverage.xml\"\n          retention-days: 1\n\n  tests-qchem-sella:\n    strategy:\n      fail-fast: true\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n          cache-dependency-path: tests/requirements**.txt\n\n      - name: Set up conda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          activate-environment: quacc-env\n\n      - name: Install conda packages\n        run: conda install -c conda-forge openbabel\n\n      - name: Install pip packages\n        run: |\n          pip install uv\n          uv pip install --system -r tests/requirements.txt -r tests/requirements-sella.txt \"quacc[dev] @ .\"\n\n      - name: Run tests with pytest\n        run: pytest -k 'qchem or sella' --durations=10 --cov=quacc --cov-report=xml\n\n      - name: Upload code coverage report to Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }} coverage report\n          path: \"coverage.xml\"\n          retention-days: 1\n\n  tests-mlps:\n    strategy:\n      fail-fast: true\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n          cache-dependency-path: tests/requirements**.txt\n\n      - name: Install pip packages\n        run: |\n          pip install uv\n          uv pip install --system -r tests/requirements.txt -r tests/requirements-mlp.txt -r tests/requirements-newtonnet.txt -r tests/requirements-sella.txt -r tests/requirements-phonons.txt \"quacc[dev] @ .\"\n\n      - name: Run tests with pytest\n        run: pytest -k 'mlp or newtonnet' --durations=10 --cov=quacc --cov-report=xml\n\n      - name: Upload code coverage report to Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }} coverage report\n          path: \"coverage.xml\"\n          retention-days: 1\n\n  tests-mp:\n    strategy:\n      fail-fast: true\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: pip\n          cache-dependency-path: tests/requirements**.txt\n\n      - name: Install pip packages\n        run: |\n          pip install uv\n          uv pip install --system -r tests/requirements.txt -r tests/requirements-mp.txt \"quacc[dev] @ .\"\n\n      - name: Run tests with pytest\n        run: pytest -k 'mp_' --durations=10 --cov=quacc --cov-report=xml\n\n      - name: Upload code coverage report to Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.job }} coverage report\n          path: \"coverage.xml\"\n          retention-days: 1\n\n  codecov:\n    needs:\n      - tests-core\n      - tests-engines\n      - tests-psi4\n      - tests-defects-phonons-espresso\n      - tests-tblite-dftbplus\n      - tests-qchem-sella\n      - tests-mlps\n      - tests-mp\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Download coverage artifacts\n        uses: actions/download-artifact@v4\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        with:\n          fail_ci_if_error: true\n", "state": "active", "repository": "Quantum-Accelerators/quacc"}
{"mined_at": "2024-07-15T18:10:08.319030", "created_at": "2023-05-17T08:57:14+02:00", "updated_at": "2023-05-17T08:57:14+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "Quantum-Accelerators/quacc"}
{"mined_at": "2024-07-15T18:10:09.446418", "created_at": "2023-05-18T05:52:57+02:00", "updated_at": "2023-05-19T00:11:09+02:00", "name": "docs", "path": ".github/workflows/docs.yaml", "contents": "name: docs\non:\n  push:\n    branches: [main]\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  contents: write\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n      - name: Install pip packages\n        run: |\n          pip install uv\n          uv pip install --system \"quacc[docs] @ .\"\n\n      - name: Build docs\n        run: |\n          if [ \"${{ github.event_name }}\" == \"pull_request\" ]; then\n            mkdocs build --strict\n          else\n            mkdocs build\n          fi\n        id: build_docs\n\n      - name: Rebuild and deploy docs\n        run: mkdocs gh-deploy --force\n        if: github.ref == 'refs/heads/main' && steps.build_docs.outcome == 'success'\n", "state": "active", "repository": "Quantum-Accelerators/quacc"}
{"mined_at": "2024-07-15T18:10:10.556935", "created_at": "2023-05-29T22:59:00+02:00", "updated_at": "2023-05-29T22:59:00+02:00", "name": "tests-light", "path": ".github/workflows/tests_light.yaml", "contents": null, "state": "active", "repository": "Quantum-Accelerators/quacc"}
{"mined_at": "2024-07-15T18:10:11.554380", "created_at": "2023-07-01T19:49:49+02:00", "updated_at": "2023-07-01T19:55:54+02:00", "name": "Sourcery", "path": ".github/workflows/sourcery.yaml", "contents": null, "state": "active", "repository": "Quantum-Accelerators/quacc"}
{"mined_at": "2024-07-15T18:10:12.722369", "created_at": "2023-08-15T08:52:51+02:00", "updated_at": "2023-08-15T08:52:51+02:00", "name": "release", "path": ".github/workflows/release.yaml", "contents": "name: release\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install build\n          pip install .\n\n      - name: Build sdist\n        run: python -m build --sdist\n\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "Quantum-Accelerators/quacc"}
{"mined_at": "2024-07-15T18:10:13.762608", "created_at": "2023-09-26T20:35:58+02:00", "updated_at": "2023-09-26T20:40:42+02:00", "name": "big-tests", "path": ".github/workflows/big_tests.yaml", "contents": null, "state": "active", "repository": "Quantum-Accelerators/quacc"}
{"mined_at": "2024-07-15T18:10:14.864388", "created_at": "2023-12-10T08:32:11+01:00", "updated_at": "2023-12-10T08:32:11+01:00", "name": "linter (non-Python)", "path": ".github/workflows/megalinter.yaml", "contents": null, "state": "active", "repository": "Quantum-Accelerators/quacc"}
{"mined_at": "2024-07-15T18:10:17.330870", "created_at": "2022-01-03T21:09:22+01:00", "updated_at": "2023-02-03T17:44:32+01:00", "name": "GitHub CI", "path": ".github/workflows/ci_cd.yml", "contents": "name: GitHub CI\n\n# run only on main branch.  This avoids duplicated actions on PRs\non:\n  pull_request:\n    branches:\n      - main\n      - release/*\n  push:\n    tags:\n      - \"v*\"\n    branches:\n      - main\n      - release/*\n\nenv:\n  DOCKER_IMAGE_NAME: ghcr.io/ansys/prime\n  DOCKER_IMAGE_TAG: '24.2.0'\n  MAIN_PYTHON_VERSION: '3.9'\n  PACKAGE_NAME: 'ansys-meshing-prime'\n  PACKAGE_NAMESPACE: 'ansys.meshing.prime'\n  DOCUMENTATION_CNAME: 'prime.docs.pyansys.com'\n  RESET_IMAGE_CACHE: 0\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  branch-name:\n    if: github.event_name == 'pull_request'\n    name: Check the name of the branch\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check branch name\n        uses: ansys/actions/branch-name-style@main\n\n  style:\n    name: Code style\n    runs-on: ubuntu-latest\n    steps:\n      - name: PyAnsys code style checks\n        uses: ansys/actions/code-style@v6\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n          vale-config: \"doc/.vale.ini\"\n          vale-version: \"3.4.1\"\n\n  docs-style:\n    name: Documentation Style Check\n    runs-on: ubuntu-latest\n    steps:\n      - name: PyAnsys documentation style checks\n        uses: ansys/actions/doc-style@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  smoke-tests:\n    name: Build and Smoke tests\n    runs-on: ${{ matrix.os }}\n    needs: [style]\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n        should-release:\n          - ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}\n        exclude:\n          - should-release: false\n            os: macos-latest\n    steps:\n      - name: Build wheelhouse and perform smoke test\n        uses: ansys/actions/build-wheelhouse@v6\n        with:\n          library-name: ${{ env.PACKAGE_NAME }}\n          library-namespace: ${{ env.PACKAGE_NAMESPACE }}\n          operating-system: ${{ matrix.os }}\n          python-version: ${{ matrix.python-version }}\n\n  docs:\n    name: Documentation\n    runs-on: ubuntu-latest\n    needs: [docs-style]\n    steps:\n\n      - name: Login in Github Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull, launch, and validate prime service\n        run: docker pull ${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_IMAGE_TAG }}\n\n      - name: Setup headless display\n        uses: pyvista/setup-headless-display-action@v2\n\n      - name: \"Run Ansys documentation building action\"\n        uses: ansys/actions/doc-build@v6\n        with:\n          check-links: false\n        env:\n          PYPRIMEMESH_LAUNCH_CONTAINER: 1\n          PYPRIMEMESH_SPHINX_BUILD: 1\n          PYPRIMEMESH_IMAGE_TAG: ${{ env.DOCKER_IMAGE_TAG }}\n          ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER )}}\n\n  testing:\n    name: Run Unit Tests\n    needs: [ smoke-tests ]\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Login in Github Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull Ansys Prime Server\n        run: docker pull ${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_IMAGE_TAG }}          \n\n      - name: Restore images cache\n        uses: actions/cache@v4\n        with:\n          path: tests/graphics/image_cache\n          key: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}-${{ hashFiles('pyproject.toml') }}\n          restore-keys: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}\n\n      - name: \"Run pytest\"\n        uses: ansys/actions/tests-pytest@v6\n        env:\n          PYPRIMEMESH_LAUNCH_CONTAINER: 1\n          PYPRIMEMESH_IMAGE_TAG: ${{ env.DOCKER_IMAGE_TAG }}\n          ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER )}}\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n      \n      - name: Upload PyVista generated images (cache and results)\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: pytest-pyvista-images-${{ runner.os }}\n          path: tests/graphics/image_cache\n          retention-days: 7\n      \n      - uses: codecov/codecov-action@v4\n        name: 'Upload coverage to CodeCov'\n\n  package:\n    name: Package library\n    needs: [testing, docs]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Build library source and wheel artifacts\n        uses: ansys/actions/build-library@v6\n        with:\n          library-name: ${{ env.PACKAGE_NAME }}\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n  release:\n    name: Release project\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')\n    needs: [package]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Release to the public PyPI repository\n        uses: ansys/actions/release-pypi-public@v6\n        with:\n          library-name: ${{ env.PACKAGE_NAME }}\n          twine-username: \"__token__\"\n          twine-token: ${{ secrets.PYPI_TOKEN }}\n\n      - name: Release to GitHub\n        uses: ansys/actions/release-github@v6\n        with:\n          library-name: ${{ env.PACKAGE_NAME }}\n\n  upload_dev_docs:\n    name: Upload dev documentation\n    if: github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    needs: [package]\n    steps:\n      - name: Deploy the latest documentation\n        uses: ansys/actions/doc-deploy-dev@v6\n        with:\n          cname: ${{ env.DOCUMENTATION_CNAME }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  upload_docs_release:\n    name: Upload release documentation\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'dev')\n    runs-on: ubuntu-latest\n    needs: [release]\n    steps:\n      - name: Deploy the stable documentation\n        uses: ansys/actions/doc-deploy-stable@v6\n        with:\n          cname: ${{ env.DOCUMENTATION_CNAME }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n", "state": "active", "repository": "ansys/pyprimemesh"}
{"mined_at": "2024-07-15T18:10:18.661648", "created_at": "2023-11-21T16:46:51+01:00", "updated_at": "2023-11-22T10:10:13+01:00", "name": "Dependabot auto-merge", "path": ".github/workflows/dependabot_automerge.yml", "contents": "name: Dependabot auto-merge\non: pull_request\n\npermissions:\n  pull-requests: write\n  contents: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: github.actor == 'dependabot[bot]'\n    steps:\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v2\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Print actor\n        run: echo \"Actor is ${{github.actor}}\"\n\n      - name: Approve a PR\n        run: gh pr review --approve \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n\n      - name: PyAnsys Bot Login\n        run: echo \"${{ secrets.PYANSYS_CI_BOT_TOKEN }}\" | gh auth login --with-token\n\n      - name: Enable auto-merge for Dependabot PRs\n        if: steps.metadata.outputs.update-type != 'version-update:semver-major'\n        run: gh pr merge --auto --squash \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "ansys/pyprimemesh"}
{"mined_at": "2024-07-15T18:10:19.788219", "created_at": "2023-02-16T19:49:11+01:00", "updated_at": "2023-02-27T18:31:20+01:00", "name": "Labeler", "path": ".github/workflows/label.yml", "contents": "name: Labeler\non:\n  pull_request:\n    # opened, reopened, and synchronize are default for pull_request\n    # edited - when PR title or body is changed\n    # labeled - when labels are added to PR\n    types: [opened, reopened, synchronize, edited, labeled]\n  push:\n    branches: [ main ]\n    paths:\n      - '../labels.yml'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  label-syncer:\n    name: Syncer\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: micnncim/action-label-syncer@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  labeler:\n    name: Set labels\n    needs: [label-syncer]\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n\n    # Label based on modified files\n    - name: Label based on changed files\n      uses: actions/labeler@v5\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        sync-labels: true\n\n    # Label based on branch name\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'doc') || \n        startsWith(github.event.pull_request.head.ref, 'docs')\n      with:\n        labels: documentation\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'maint') ||\n        startsWith(github.event.pull_request.head.ref, 'no-ci') ||\n        startsWith(github.event.pull_request.head.ref, 'ci')\n      with:\n        labels: maintenance\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: startsWith(github.event.pull_request.head.ref, 'feat')\n      with:\n        labels: |\n          enhancement\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'fix') ||\n        startsWith(github.event.pull_request.head.ref, 'patch')\n      with:\n        labels: bug\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'test')\n      with:\n        labels: testing\n\n  commenter:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Suggest to add labels\n      uses: peter-evans/create-or-update-comment@v4\n      # Execute only when no labels have been applied to the pull request\n      if: toJSON(github.event.pull_request.labels.*.name) == '{}'\n      with:\n        issue-number: ${{ github.event.pull_request.number }}\n        body: |\n          Please add one of the following labels to add this contribution to the Release Notes :point_down:\n          - [bug](https://github.com/ansys/pyprimemesh/pulls?q=label%3Abug+)\n          - [documentation](https://github.com/pansys/pyprimemesh/pulls?q=label%3Adocumentation+)\n          - [enhancement](https://github.com/ansys/pyprimemesh/pulls?q=label%3Aenhancement+)\n          - [good first issue](https://github.com/ansys/pyprimemesh/pulls?q=label%3Agood+first+issue)\n          - [maintenance](https://github.com/ansys/pyprimemesh/pulls?q=label%3Amaintenance+)\n          - [release](https://github.com/ansys/pyprimemesh/pulls?q=label%3Arelease+)\n          - [testing](https://github.com/ansys/pyprimemesh/pulls?q=label%Atesting+)\n  \n  changelog-fragment:\n    name: \"Create changelog fragment\"\n    needs: [labeler]\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: ansys/actions/doc-changelog@main\n      with:\n        token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}\n", "state": "active", "repository": "ansys/pyprimemesh"}
{"mined_at": "2024-07-15T18:10:20.891815", "created_at": "2023-02-03T15:23:15+01:00", "updated_at": "2023-02-03T15:23:15+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ansys/pyprimemesh"}
{"mined_at": "2024-07-15T18:10:23.270245", "created_at": "2023-03-21T11:42:41+01:00", "updated_at": "2023-04-03T21:35:17+02:00", "name": "build", "path": ".github/workflows/build_and_test.yml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - \"main\"\n\n  pull_request:\n    branches:\n      - \"release/*\"\n      - \"main\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.8\", \"3.9\",\"3.10\" ]\n\n    steps:\n      - name: Free up disk space at start\n        run: |\n          sudo apt clean\n          sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc\n          df -h\n\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: snok/install-poetry@v1\n        with:\n          version: 1.3.1\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: |\n          poetry install --with dev --all-extras\n\n      - name: Check linting\n        run: |\n          poetry run task lint\n\n      - name: Check formatting\n        run: |\n          poetry run task is-formatted\n\n      - name: Test with pytest\n        run: |\n          poetry run task force-cpu-torch\n          poetry run task extra-lib\n          poetry run task test\n", "state": "active", "repository": "JohnSnowLabs/langtest"}
{"mined_at": "2024-07-15T18:10:24.562021", "created_at": "2024-06-18T15:49:45+02:00", "updated_at": "2024-06-18T15:49:45+02:00", "name": "Deploy Github Pages", "path": ".github/workflows/gh_pages.yml", "contents": "# Sample workflow for building and deploying a Jekyll site to GitHub Pages\nname: Deploy Github Pages\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches: [\"gh-pages\"]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  # Build job\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Setup Pages\n        uses: actions/configure-pages@v5\n      - name: Check the Branch name\n        run: echo \"Branch name is $GITHUB_REF\"\n      - name: Build with Jekyll\n        uses: actions/jekyll-build-pages@v1\n        with:\n          source: ./docs\n          destination: ./_site\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v3\n\n  # Deployment job\n  deploy:\n    environment:\n        name: github-pages\n        url: ${{steps.deployment.outputs.page_url}}\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4", "state": "active", "repository": "JohnSnowLabs/langtest"}
{"mined_at": "2024-07-15T18:10:25.742766", "created_at": "2023-08-18T20:45:32+02:00", "updated_at": "2023-08-18T20:45:32+02:00", "name": "Manual Tests", "path": ".github/workflows/llm_tests_build.yml", "contents": "name: Manual Tests\n\n# This allows you to run the workflow manually from the GitHub Actions UI. We use it for running llm-tests.\non: \n  workflow_dispatch:\n\njobs:\n  manual_tests:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.8\", \"3.9\", \"3.10\" ]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: snok/install-poetry@v1\n        with:\n          version: 1.3.1\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: |\n          poetry install --with dev --all-extras\n\n      - name: Run manual_tests\n        env: \n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n        run: |\n          poetry run pytest manual_tests/\n", "state": "active", "repository": "JohnSnowLabs/langtest"}
{"mined_at": "2024-07-15T18:10:26.853917", "created_at": "2023-08-03T13:44:51+02:00", "updated_at": "2023-09-19T20:36:25+02:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\non:\n  release:\n    types:\n      - published\n\njobs:\n  publish:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        poetry-version: [1.3.1]\n        os: [ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: snok/install-poetry@v1\n        with:\n          version: ${{ matrix.poetry-version }}\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n      - name: Publish langtest ${{ github.event.release.name }} to pypi\n        env:\n          PYPI_SECRET: ${{ secrets.PYPI_SECRET }}\n        run: |\n          poetry config pypi-token.pypi $PYPI_SECRET\n          poetry publish --build", "state": "active", "repository": "JohnSnowLabs/langtest"}
{"mined_at": "2024-07-15T18:10:28.082568", "created_at": "2023-04-11T12:36:52+02:00", "updated_at": "2023-04-11T12:36:52+02:00", "name": "Self-assign", "path": ".github/workflows/selfassign.yml", "contents": "# Allow users to automatically tag themselves to issues\n#\n# Usage:\n#  - a github user (a member of the repo) needs to comment\n#    with \"#self-assign\" on an issue to be assigned to them.\n#------------------------------------------------------------\n\nname: Self-assign\non:\n  issue_comment:\n    types: created\njobs:\n  one:\n    runs-on: ubuntu-latest\n    if: >-\n      (github.event.comment.body == '#take' ||\n       github.event.comment.body == '#self-assign')\n    steps:\n      - run: |\n          echo \"Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}\"\n          curl -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" \\\n               -d '{\"assignees\": [\"${{ github.event.comment.user.login }}\"]}' \\\n                  https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/assignees\n          echo \"Done 🔥 \"\n", "state": "active", "repository": "JohnSnowLabs/langtest"}
{"mined_at": "2024-07-15T18:10:30.233169", "created_at": "2024-02-03T10:32:41+01:00", "updated_at": "2024-02-03T12:33:33+01:00", "name": "Make Documentation", "path": ".github/workflows/make_docs.yml", "contents": "name: Make Documentation\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\njobs:\n  build_docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.8' # Specify the Python version here\n      - name: Install dependencies using Poetry with docs extra\n        run: |\n          python -m pip install poetry\n          poetry install -E docs -E dev\n      - name: Install pre-commit\n        run: poetry run pip install pre-commit\n      - name: Install modules from packages.json via poetry, skipping \"colrev\"\n        run: |\n          jq -r '.[] | select(.module != \"colrev\") | .module' colrev/packages/packages.json | while read module; do\n            poetry run pip install $module\n          done\n      - name: Setup git\n        run: |\n          git config --global user.name 'github-actions'\n          git config --global user.email 'github-actions@github.com'\n      - name: Set branch name\n        run: |\n          echo \"BRANCH_NAME=docs-update-$(date '+%Y-%m-%d_%H-%M-%S')\" >> $GITHUB_ENV\n          echo ${{ env.BRANCH_NAME }}\n      - name: Switch to branch ${{ env.BRANCH_NAME }}\n        run: |\n          git checkout -b ${{ env.BRANCH_NAME }}\n      - name: Clean old documentation build\n        run: rm -rf docs/source/dev_docs/_autosummary/*\n      - name: Build documentation with Sphinx\n        run: poetry run sphinx-build -b html docs/source docs/build\n      - name: Run pre-commit hooks excluding black\n        continue-on-error: true\n        run: |\n          poetry run pre-commit run --all-files\n      - name: Commit changes and create pull request\n        continue-on-error: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          git add .\n          if git diff --staged --quiet; then\n            echo \"No changes to commit\"\n          else\n            git commit -m \"Update documentation\"\n            git push --set-upstream origin ${{ env.BRANCH_NAME }}\n            # Fetch the main branch and check for differences\n            git fetch origin main:main\n            if git diff ${{ env.BRANCH_NAME }} main --quiet; then\n              echo \"No effective changes to apply\"\n            else\n              gh pr create --title \"Update documentation\" --body \"This PR updates the documentation.\" --head ${{ env.BRANCH_NAME }} --base main\n            fi\n          fi\n", "state": "active", "repository": "CoLRev-Environment/colrev"}
{"mined_at": "2024-07-15T18:10:31.462914", "created_at": "2023-08-26T20:38:05+02:00", "updated_at": "2023-08-26T20:38:05+02:00", "name": "Poetry update", "path": ".github/workflows/poetry_update.yml", "contents": "name: Poetry update\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '10 2 * * 3'\n\njobs:\n  poetry-update:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Update setuptools\n        run: python -m pip install --upgrade pip setuptools\n      - name: Install poetry dependencies\n        run: |\n          poetry install --with dev || poetry install --with dev || echo \"No dev dependency group\"\n      - name: Setup git\n        run: |\n          git config --global user.name \"Poetry updater\"\n          git config --global user.email \"actions@users.noreply.github.com\"\n          git config --global url.https://github.com/.insteadOf git://github.com/\n      - name: Set branch name\n        run: |\n          echo \"BRANCH_NAME=poetry_update\" >> $GITHUB_ENV\n          echo ${{ env.BRANCH_NAME }}\n      - name: Switch to branch ${{ env.BRANCH_NAME }}\n        run: |\n          git checkout -b ${{ env.BRANCH_NAME }}\n      - name: Run poetry update\n        run: |\n          poetry update\n          git add .\n          git commit -m 'update dependencies'\n          git push --set-upstream origin ${{ env.BRANCH_NAME }}\n      - name: Create pull request\n        uses: repo-sync/pull-request@v2\n        with:\n          source_branch: \"${{ env.BRANCH_NAME }}\"\n          destination_branch: \"main\"\n          pr_title: \"Poetry update\"\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "CoLRev-Environment/colrev"}
{"mined_at": "2024-07-15T18:10:32.690532", "created_at": "2023-03-08T08:11:25+01:00", "updated_at": "2023-03-08T08:11:25+01:00", "name": "Publish to PyPI.org", "path": ".github/workflows/publish.yml", "contents": "name: Publish to PyPI.org\non:\n  workflow_dispatch:\n  release:\n    types: [published]\njobs:\n  pypi:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Setup poetry\n        run: poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}\n      - name: Publish package\n        run: poetry publish --build\n", "state": "active", "repository": "CoLRev-Environment/colrev"}
{"mined_at": "2024-07-15T18:10:33.803498", "created_at": "2023-03-08T08:58:23+01:00", "updated_at": "2023-10-10T14:28:14+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  - push\n  - pull_request\n\njobs:\n  test-minimal-deps:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Update setuptools\n        run: python -m pip install --upgrade pip setuptools\n      - name: Install poetry dependencies\n        run: |\n          poetry install -E dev\n      - name: Setup git\n        run: |\n          git config --global user.name \"CoLRev update\"\n          git config --global user.email \"actions@users.noreply.github.com\"\n          git config --global url.https://github.com/.insteadOf git://github.com/\n      - name: Run poetry tests (minimal-deps)\n        run: poetry run pytest tests/0_core/ -vv\n\n  test-full-deps:\n    needs: test-minimal-deps\n    strategy:\n      matrix:\n        platform: [ubuntu-latest, macos-latest,  windows-latest]\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n    runs-on: ${{ matrix.platform }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install poetry\n        run: pipx install poetry\n      - name: Install poetry dependencies\n        run: |\n          poetry install -E dev || echo \"No dev extra\"\n      - name: Setup git\n        run: |\n          git config --global user.name \"CoLRev update\"\n          git config --global user.email \"actions@users.noreply.github.com\"\n          git config --global url.https://github.com/.insteadOf git://github.com/\n      - name: Run poetry tests\n        run: poetry run pytest --slow -vv\n\n  test-pip-install:\n    needs: test-minimal-deps\n    strategy:\n      matrix:\n        platform: [ubuntu-latest,  macos-latest, windows-latest]\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n    runs-on: ${{ matrix.platform }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install via pip\n        run: |\n          pip install -e .[dev]\n      - name: Setup git\n        run: |\n          git config --global user.name \"CoLRev update\"\n          git config --global user.email \"actions@users.noreply.github.com\"\n          git config --global url.https://github.com/.insteadOf git://github.com/\n      - name: Run tests\n        run: pytest tests --slow -vv\n", "state": "active", "repository": "CoLRev-Environment/colrev"}
{"mined_at": "2024-07-15T18:10:34.844243", "created_at": "2023-02-28T13:06:53+01:00", "updated_at": "2023-02-28T13:06:53+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "CoLRev-Environment/colrev"}
{"mined_at": "2024-07-15T18:10:37.020071", "created_at": "2024-02-09T12:01:37+01:00", "updated_at": "2024-02-09T12:23:22+01:00", "name": "Add License to Python Files", "path": ".github/workflows/add_license.yml", "contents": "name: Add License to Python Files\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  add-license:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n\n      - name: Run add_license.sh and check for changes\n        id: add_license\n        run: |\n          chmod +x scripts/add_license.sh\n          CHANGES=$(git status --porcelain)\n          ./scripts/add_license.sh\n          NEW_CHANGES=$(git status --porcelain)\n          echo \"::set-output name=changes::${NEW_CHANGES}\"\n\n      - name: Commit changes if there are modifications\n        run: |\n          if [[ -n \"${{ steps.add_license.outputs.changes }}\" ]]; then\n            git config --local user.email \"dev-bot@jina.ai\"\n            git config --local user.name \"Jina Dev Bot\"\n            git add .\n            git commit -m \"chore: add license to Python files\"\n            git push\n          else\n            echo \"No changes detected, skipping commit.\"\n          fi\n        if: steps.add_license.outputs.changes != ''\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v3\n        with:\n          title: \"Add license to Python files\"\n          branch: \"add-license\"\n          commit-message: \"chore: add license to Python files\"\n          base: \"main\"\n          labels: \"auto-merge\"\n          token: ${{ secrets.JINA_DEV_BOT }}\n        if: steps.add_license.outputs.changes != ''", "state": "active", "repository": "docarray/docarray"}
{"mined_at": "2024-07-15T18:10:38.221059", "created_at": "2021-12-21T22:40:30+01:00", "updated_at": "2023-05-05T10:46:05+02:00", "name": "CD", "path": ".github/workflows/cd.yml", "contents": "name: CD\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  success-all-test:\n    uses: ./.github/workflows/ci.yml\n    secrets:\n      JINA_AUTH_TOKEN: \"${{ secrets.JINA_AUTH_TOKEN }}\"\n\n  prerelease:\n    needs: [success-all-test]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n          fetch-depth: 100\n      - name: Pre-release (.devN)\n        run: |\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n          pip install poetry\n          ./scripts/release.sh\n        env:\n          PYPI_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          PYPI_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n          JINA_SLACK_WEBHOOK: ${{ secrets.JINA_SLACK_WEBHOOK }}\n\n  check-readme-modification:\n    runs-on: ubuntu-latest\n    outputs:\n      readme_changed: ${{ steps.step_output.outputs.readme_changed }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Get changed files\n        id: changed-files-specific\n        uses: tj-actions/changed-files@v41\n        with:\n          files: |\n            README.md\n\n      - name: Check if README is modified\n        id: step_output\n        if: steps.changed-files-specific.outputs.any_changed == 'true'\n        run: |\n          echo \"readme_changed=true\" >> $GITHUB_OUTPUT\n\n  publish-docarray-org:\n    needs: check-readme-modification\n    if: needs.check-readme-modification.outputs.readme_changed == 'true'\n    uses: ./.github/workflows/publish-docarray-org.yml\n    secrets: inherit", "state": "active", "repository": "docarray/docarray"}
{"mined_at": "2024-07-15T18:10:39.347215", "created_at": "2021-12-21T21:49:21+01:00", "updated_at": "2023-10-18T13:52:45+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  workflow_call:\n    inputs:\n      config-path:\n        type: string\n    secrets:\n      JINA_AUTH_TOKEN:\n        required: false\n  pull_request:\n    types: [opened, synchronize, reopened]\n\n\njobs:\n\n  lint-ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Lint with ruff\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          poetry install \n\n          # stop the build if there are Python syntax errors or undefined names\n          poetry run ruff docarray\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          poetry run ruff docarray\n\n  check-black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: check black\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          poetry install --only dev \n          poetry run black --check .\n\n        env:\n          CHANGED_FILES: ${{ steps.file_changes.outputs.added_modified }}\n\n  import-test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Prepare environment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          poetry install --without dev\n          poetry run pip install tensorflow==2.12.0\n          poetry run pip install jax\n          poetry run pip uninstall -y torch\n          poetry run pip install torch\n      - name: Test basic import\n        run: poetry run python -c 'from docarray import DocList, BaseDoc'\n\n  # it is time to say bye bye to mypy because of the way we handle support of pydantic v1 and v2\n  # check-mypy:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - uses: actions/checkout@v2.5.0\n  #     - name: Set up Python 3.8\n  #       uses: actions/setup-python@v4\n  #       with:\n  #         python-version: 3.8\n  #     - name: check mypy\n  #       run: |\n  #         python -m pip install --upgrade pip\n  #         python -m pip install poetry\n  #         poetry install --all-extras\n  #         poetry run mypy docarray\n\n\n  docarray-test:\n    needs: [import-test]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        pydantic-version: [\"pydantic-v2\", \"pydantic-v1\"]\n        test-path: [tests/integrations, tests/units, tests/documentation]\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Prepare environment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          poetry install --all-extras\n          poetry run pip install elasticsearch==8.6.2\n          ./scripts/install_pydantic_v2.sh ${{ matrix.pydantic-version }}\n          poetry run pip uninstall -y torch\n          poetry run pip install torch\n          poetry run pip install numpy==1.26.1\n          sudo apt-get update\n          sudo apt-get install --no-install-recommends ffmpeg\n          \n      - name: Test\n        id: test\n        run: |\n          poetry run pytest -m \"not (tensorflow or benchmark or index or jax)\" --cov=docarray --cov-report=xml -v -s ${{ matrix.test-path }} --ignore=tests/integrations/store/test_jac.py\n          echo \"flag it as docarray for codeoverage\"\n          echo \"codecov_flag=docarray\" >> $GITHUB_OUTPUT\n        timeout-minutes: 30\n        env:\n          JINA_AUTH_TOKEN: \"${{ secrets.JINA_AUTH_TOKEN }}\"\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: benchmark-test-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  docarray-test-proto3:\n    needs: [import-test]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        pydantic-version: [\"pydantic-v2\", \"pydantic-v1\"]\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Prepare environment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          poetry install --all-extras          \n          ./scripts/install_pydantic_v2.sh ${{ matrix.pydantic-version }}\n          poetry run pip install protobuf==3.20.0 # we check that we support 3.19\n          poetry run pip uninstall -y torch\n          poetry run pip install torch\n          sudo apt-get update\n          sudo apt-get install --no-install-recommends ffmpeg\n      - name: Test\n        id: test\n        run: |\n          poetry run pytest -m 'proto' --cov=docarray --cov-report=xml -v -s tests\n          echo \"flag it as docarray for codeoverage\"\n          echo \"codecov_flag=docarray\" >> $GITHUB_OUTPUT\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: benchmark-test-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n\n  docarray-doc-index:\n    needs: [import-test]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        db_test_folder: [base_classes, elastic, epsilla, hnswlib, qdrant, weaviate, redis, milvus]\n        pydantic-version: [\"pydantic-v2\", \"pydantic-v1\"]\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Prepare environment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          poetry install --all-extras\n          ./scripts/install_pydantic_v2.sh ${{ matrix.pydantic-version }}\n          poetry run pip install protobuf==3.20.0\n          poetry run pip install tensorflow==2.12.0\n          poetry run pip uninstall -y torch\n          poetry run pip install torch\n          sudo apt-get update\n          sudo apt-get install --no-install-recommends ffmpeg\n\n      - name: Test\n        id: test\n        run: |\n          poetry run pytest -m 'index and not elasticv8' --cov=docarray --cov-report=xml -v -s tests/index/${{ matrix.db_test_folder }}\n          echo \"flag it as docarray for codeoverage\"\n          echo \"codecov_flag=docarray\" >> $GITHUB_OUTPUT\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: benchmark-test-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n\n  docarray-elastic-v8:\n    needs: [import-test]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        pydantic-version: [\"pydantic-v2\", \"pydantic-v1\"]\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Prepare environment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          poetry install --all-extras\n          ./scripts/install_pydantic_v2.sh ${{ matrix.pydantic-version }}\n          poetry run pip install protobuf==3.20.0\n          poetry run pip install tensorflow==2.12.0\n          poetry run pip install elasticsearch==8.6.2\n          poetry run pip uninstall -y torch\n          poetry run pip install torch\n          sudo apt-get update\n          sudo apt-get install --no-install-recommends ffmpeg\n\n      - name: Test\n        id: test\n        run: |\n          poetry run pytest -m 'index and elasticv8' --cov=docarray --cov-report=xml -v -s tests\n          echo \"flag it as docarray for codeoverage\"\n          echo \"codecov_flag=docarray\" >> $GITHUB_OUTPUT\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: benchmark-test-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  docarray-test-tensorflow:\n    needs: [import-test]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        pydantic-version: [\"pydantic-v2\", \"pydantic-v1\"]\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Prepare environment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          poetry install --all-extras\n          ./scripts/install_pydantic_v2.sh ${{ matrix.pydantic-version }}\n          poetry run pip install protobuf==3.20.0\n          poetry run pip install google-auth==2.23.0\n          poetry run pip install tensorflow==2.12.0\n          poetry run pip uninstall -y torch\n          poetry run pip install torch\n          sudo apt-get update\n          sudo apt-get install --no-install-recommends ffmpeg\n\n      - name: Test\n        id: test\n        run: |\n          poetry run pytest -m 'tensorflow' --cov=docarray --cov-report=xml -v -s tests\n          echo \"flag it as docarray for codeoverage\"\n          echo \"codecov_flag=docarray\" >> $GITHUB_OUTPUT\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: benchmark-test-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  docarray-test-jax:\n    needs: [import-test]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        pydantic-version: [\"pydantic-v2\", \"pydantic-v1\"]\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Prepare environment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          poetry install --all-extras\n          ./scripts/install_pydantic_v2.sh ${{ matrix.pydantic-version }}\n          poetry run pip uninstall -y torch\n          poetry run pip install torch\n          poetry run pip install jaxlib\n          poetry run pip install jax\n\n      - name: Test\n        id: test\n        run: |\n          poetry run pytest -m 'jax' --cov=docarray --cov-report=xml -v -s tests\n          echo \"flag it as docarray for codeoverage\"\n          echo \"codecov_flag=docarray\" >> $GITHUB_OUTPUT\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: benchmark-test-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n\n\n  docarray-test-benchmarks:\n    needs: [import-test]\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Prepare environment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          poetry install --all-extras\n          poetry run pip uninstall -y torch\n          poetry run pip install torch\n\n      - name: Test\n        id: test\n        run: |\n          poetry run pytest -m 'benchmark' --cov=docarray --cov-report=xml -v -s tests\n          echo \"flag it as docarray for codeoverage\"\n          echo \"codecov_flag=docarray\" >> $GITHUB_OUTPUT\n        timeout-minutes: 30\n      - name: Check codecov file\n        id: check_files\n        uses: andstor/file-existence-action@v1\n        with:\n          files: \"coverage.xml\"\n      - name: Upload coverage from test to Codecov\n        uses: codecov/codecov-action@v3.1.1\n        if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'\n        with:\n          file: coverage.xml\n          name: benchmark-test-codecov\n          flags: ${{ steps.test.outputs.codecov_flag }}\n          fail_ci_if_error: false\n\n  # just for blocking the merge until all parallel tests are successful\n  success-all-test:\n    needs: [docarray-test, docarray-test-proto3, docarray-doc-index, docarray-elastic-v8, docarray-test-tensorflow, docarray-test-benchmarks, import-test, check-black, lint-ruff]\n    if: always()\n    runs-on: ubuntu-latest\n    steps:\n      - uses: technote-space/workflow-conclusion-action@v2\n      - name: Check Failure\n        if: env.WORKFLOW_CONCLUSION == 'failure'\n        run: exit 1\n      - name: Success\n        if: ${{ success() }}\n        run: echo \"All Done\"\n", "state": "active", "repository": "docarray/docarray"}
{"mined_at": "2024-07-15T18:10:40.575854", "created_at": "2022-11-24T16:21:56+01:00", "updated_at": "2023-04-14T17:42:06+02:00", "name": "PR", "path": ".github/workflows/ci_only_pr.yml", "contents": "name: PR\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n\njobs:\n  assign-label-to-pr:\n    runs-on: ubuntu-latest\n    if: ${{ !github.event.pull_request.head.repo.fork }}\n    steps:\n      - uses: codelytv/pr-size-labeler@v1\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          xs_max_size: '10'\n          s_max_size: '100'\n          m_max_size: '500'\n          l_max_size: '1000'\n          fail_if_xl: 'false'\n      - uses: actions/labeler@v3\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - id: docs_updated\n        if: contains( github.event.pull_request.labels.*.name, 'area/docs')\n        run: echo \"docs=true\" >> $GITHUB_OUTPUT\n    outputs:\n      docs: ${{ steps.docs_updated.outputs.docs }}\n\n  deploy-to-netlify:\n    runs-on: ubuntu-latest\n    needs: [assign-label-to-pr]\n    steps:\n      - run: |\n          echo \"BRANCH_NAME=${{ github.head_ref }}\" >> $GITHUB_ENV\n      - uses: actions/checkout@v2.5.0\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - uses: actions/setup-node@v2\n        with:\n          node-version: '14'\n      - name: Build and Deploy\n        run: |\n          npm i -g netlify-cli\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          python -m poetry config virtualenvs.create false && python -m poetry install --no-interaction --no-ansi --all-extras\n\n          cd docs\n          bash makedocs.sh\n          cd ..\n          netlify deploy --dir=site --alias=\"ft-${{ env.BRANCH_NAME }}\" --message=\"Deploying docs to ${{ env.BRANCH_NAME }} branch\"\n        env:\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN1 }}\n          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n      - name: Find the prev comment if exists\n        uses: peter-evans/find-comment@v1\n        id: fc\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-author: 'github-actions[bot]'\n          body-includes: 'Docs are deployed'\n      - name: Delete comment if exists\n        if: ${{ steps.fc.outputs.comment-id != 0 && !github.event.pull_request.head.repo.fork }}\n        uses: actions/github-script@v3\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          script: |\n            github.issues.deleteComment({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              comment_id: ${{ steps.fc.outputs.comment-id }},\n            })\n      - name: Add or update comment\n        uses: peter-evans/create-or-update-comment@v1\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            :memo: Docs are deployed on https://ft-${{ env.BRANCH_NAME }}--jina-docs.netlify.app :tada: \n", "state": "active", "repository": "docarray/docarray"}
{"mined_at": "2024-07-15T18:10:41.709292", "created_at": "2021-12-21T22:40:30+01:00", "updated_at": "2021-12-21T22:40:30+01:00", "name": "Manual Docs Build", "path": ".github/workflows/force-docs-build.yml", "contents": "name: Manual Docs Build\n\non:\n  workflow_dispatch:\n    inputs:\n      release_token:\n        description: 'Your release token'\n        required: true\n      triggered_by:\n        description: 'CD | TAG | MANUAL'\n        required: false\n        default: MANUAL\n      build_old_docs:\n        description: 'Whether to build old docs (TRUE | FALSE)'\n        type: string\n        default: 'FALSE'\n      package:\n        description: The name of the repo to build documentation for.\n        type: string\n        default: docarray\n      repo_owner:\n        description: The owner of the repo to build documentation for. Defaults to 'jina-ai'.\n        type: string\n        default: jina-ai\n      pages_branch:\n        description: Branch that Github Pages observes\n        type: string\n        default: gh-pages\n      git_config_name:\n        type: string\n        default: Jina Dev Bot\n      git_config_email:\n        type: string\n        default: dev-bot@jina.ai\n\njobs:\n  token-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check release token\n        id: token-check\n        run: | \n          touch SUCCESS\n        if: inputs.release_token == env.release_token\n        env:\n          release_token: ${{ secrets.DOCARRAY_RELEASE_TOKEN }}\n      - name: Fail release token\n        run: |\n          [[ -f SUCCESS ]]\n\n  build-and-push-latest-docs:\n    needs: token-check\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'\n      - name: Install Dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          python -m poetry config virtualenvs.create false && python -m poetry install --no-interaction --no-ansi --all-extras\n\n      - name: docs Build\n        run: |\n          cd docs\n          bash makedocs.sh\n          cd ..\n      - name: docs Build\n        run: |\n          rm -rf docs\n          mv site /tmp/tmp_docs\n      - name: Checkout to GH pages branch (${{ inputs.pages_branch }})\n        run: |\n          git fetch origin ${{ inputs.pages_branch }}:${{ inputs.pages_branch }} --depth 1\n          git checkout -f ${{ inputs.pages_branch }}\n          git reset --hard HEAD\n          rm -rf docs\n          mv /tmp/tmp_docs docs\n\n      - name: Push it up!\n        run: |\n          git config --local user.email \"${{ inputs.git_config_email }}\"\n          git config --local user.name \"${{ inputs.git_config_name }}\"\n          git show --summary\n          git add ./docs && git commit -m \"chore(docs): update docs due to ${{github.event_name}} on ${{github.repository}}\"\n          git push origin ${{ inputs.pages_branch }}", "state": "active", "repository": "docarray/docarray"}
{"mined_at": "2024-07-15T18:10:42.932119", "created_at": "2021-12-21T22:40:30+01:00", "updated_at": "2021-12-21T22:40:30+01:00", "name": "Manual Release", "path": ".github/workflows/force-release.yml", "contents": "name: Manual Release\n\non:\n  workflow_dispatch:\n    inputs:\n      release_token:\n        description: 'Your release token'\n        required: true\n      release_reason:\n        description: 'Short reason for this manual release'\n        required: true\n\njobs:\n  token-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check release token\n        id: token-check\n        run: | \n          touch SUCCESS\n        if: inputs.release_token == env.release_token\n        env:\n          release_token: ${{ secrets.DOCARRAY_RELEASE_TOKEN }}\n      - name: Fail release token\n        run: |\n          [[ -f SUCCESS ]]\n\n  regular-release:\n    needs: token-check\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2.5.0\n        with:\n          token: ${{ secrets.JINA_DEV_BOT }}\n          fetch-depth: 100  # means max contribute history is limited to 100 lines\n#          submodules: true\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - run: |\n          git fetch --depth=1 origin +refs/tags/*:refs/tags/*\n          npm install git-release-notes\n          pip install poetry\n          ./scripts/release.sh final \"${{ github.event.inputs.release_reason }}\" \"${{github.actor}}\"\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n          JINA_SLACK_WEBHOOK: ${{ secrets.JINA_SLACK_WEBHOOK }}\n      - if: failure()\n        run: echo \"nothing to release\"\n      - name: bumping master version\n        uses: ad-m/github-push-action@v0.6.0\n        with:\n          github_token: ${{ secrets.JINA_DEV_BOT }}\n          tags: true\n          branch: ${{ github.ref }}\n", "state": "active", "repository": "docarray/docarray"}
{"mined_at": "2024-07-15T18:10:44.036711", "created_at": "2021-12-21T21:49:21+01:00", "updated_at": "2023-06-26T17:02:00+02:00", "name": "PR", "path": ".github/workflows/label-pr.yml", "contents": null, "state": "active", "repository": "docarray/docarray"}
{"mined_at": "2024-07-15T18:10:45.077644", "created_at": "2022-11-29T09:06:15+01:00", "updated_at": "2022-11-29T09:06:15+01:00", "name": "Manual Publish DocArray[dot]org", "path": ".github/workflows/publish-docarray-org.yml", "contents": "name: Manual Publish DocArray[dot]org\n\non:\n  workflow_dispatch:\n    inputs:\n      release_token:\n        description: 'Your release token'\n        required: true\n  workflow_call:\n    secrets:\n      JINA_DEV_BOT:\n        required: true\n\n# uncomment this line for testing in PR\n#  push:\n\njobs:\n  token-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: debug\n        run: |\n          echo ${{ github.event_name }} event triggered this action\n      - name: Check release token\n        id: token-check\n        run: |\n          touch SUCCESS\n        if: inputs.release_token == env.release_token\n        env:\n          release_token: ${{ secrets.DOCARRAY_RELEASE_TOKEN }}\n      - name: Check trigger event\n        run: | \n          touch SUCCESS\n        if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}\n      - name: Fail release token\n        run: |\n          [[ -f SUCCESS ]]\n\n  copy-readme:\n    needs: token-check\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n          path: docarray\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 1\n          repository: docarray/docarray.github.io\n          path: docarray.github.io\n          token: ${{ secrets.JINA_DEV_BOT }}\n      - name: Check out DocArray page\n        run: |\n          cd ${GITHUB_WORKSPACE}/docarray.github.io\n          cp ${GITHUB_WORKSPACE}/docarray/README.md .\n          git config --local user.email \"Jina Dev Bot\"\n          git config --local user.name \"dev-bot@jina.ai\"\n          if [[ `git status --porcelain` ]]; then\n            git add README.md && git commit -s -m \"chore(docs): sync up README from docarray\"\n            git push\n          fi", "state": "active", "repository": "docarray/docarray"}
{"mined_at": "2024-07-15T18:10:46.310122", "created_at": "2021-12-21T22:40:30+01:00", "updated_at": "2021-12-21T22:40:30+01:00", "name": "Release CD", "path": ".github/workflows/tag.yml", "contents": "name: Release CD\n\non:\n  push:\n    tags:\n      - \"v*\"  # push to version tags trigger the build\n\n#on:\n#  push:\n#    branches-ignore:\n#      - '**'  # temporally disable this action\n\njobs:\n  update-doc:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: benc-uk/workflow-dispatch@v1\n        with:\n          workflow: Manual Docs Build\n          token: ${{ secrets.JINA_DEV_BOT }}\n          inputs: '{ \"release_token\": \"${{ env.release_token }}\", \"triggered_by\": \"TAG\", \"build_old_docs\": \"TRUE\"}'\n        env:\n          release_token: ${{ secrets.DOCARRAY_RELEASE_TOKEN }}\n\n  create-release:\n    needs: update-doc\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2.5.0\n        with:\n          ref: 'main'\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - run: |\n          python scripts/get-last-release-note.py\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: 💫 Patch ${{ github.ref }}\n          body_path: 'tmp.md'\n          draft: false\n          prerelease: false\n", "state": "active", "repository": "docarray/docarray"}
{"mined_at": "2024-07-15T18:10:47.539035", "created_at": "2023-05-16T13:38:01+02:00", "updated_at": "2023-05-16T13:38:01+02:00", "name": "Uncaped", "path": ".github/workflows/uncaped.yml", "contents": "name: Uncaped\n\non:\n  schedule:\n    - cron:  '0 0,1 * * *'  # Run at midnight, 1 AM UTC\n\njobs:\n  docarray-test-uncaped:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n        test-path: [tests/integrations, tests/units, tests/documentation]\n    steps:\n      - uses: actions/checkout@v2.5.0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Prepare environment\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install poetry\n          rm poetry.lock\n          poetry install --all-extras\n          poetry run pip install elasticsearch==8.6.2\n          sudo apt-get update\n          sudo apt-get install --no-install-recommends ffmpeg\n\n      - name: Test\n        id: test\n        run: |\n          poetry run pytest -m \"not (tensorflow or benchmark or index)\" ${{ matrix.test-path }} --ignore=tests/integrations/store/test_jac.py\n        timeout-minutes: 30\n        env:\n          JINA_AUTH_TOKEN: \"${{ secrets.JINA_AUTH_TOKEN }}\"\n", "state": "active", "repository": "docarray/docarray"}
{"mined_at": "2024-07-15T18:10:48.512639", "created_at": "2022-01-09T15:29:36+01:00", "updated_at": "2022-01-09T15:29:36+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "docarray/docarray"}
{"mined_at": "2024-07-15T18:10:50.817629", "created_at": "2021-02-10T19:58:42+01:00", "updated_at": "2021-04-28T19:50:41+02:00", "name": "CI", "path": ".github/workflows/openlane_ci.yml", "contents": "name: CI\n\non:\n  # Runs on all pushes to branches\n  push:\n  # Runs on all PRs\n  pull_request:\n  # Runs every day at midnight UTC\n  schedule:\n    - cron: \"0 0 * * *\"\n  # Manual Dispatch\n  workflow_dispatch:\n\njobs:\n  pdk_build:\n    name: Fetch or Build PDK\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        pdk: [sky130A, gf180mcuC]\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up environment variables\n        uses: ./.github/actions/set_env_variables\n\n      - name: Set up GITHUB_TOKEN\n        run: |\n          echo \"GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}\" >> $GITHUB_ENV\n\n      - name: Get Volare Build/Push Dependencies\n        run: |\n          # Magic Build Dependencies\n          sudo apt-get install -y tcsh tcl-dev tk-dev libcairo2-dev m4\n          # GHR (Pushing)\n          go install github.com/tcnksm/ghr@latest\n\n      - name: Set GITHUB_TOKEN\n        run: |\n          if [ \"${{ secrets.MY_TOKEN }}\" != \"\" ]; then\n            echo \"GITHUB_TOKEN=${{ secrets.MY_TOKEN }}\" >> $GITHUB_ENV\n          else\n            echo \"GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}\" >> $GITHUB_ENV\n          fi\n\n      - name: Build (or Get) PDK\n        run: |\n          export PATH=$PATH:$(go env GOPATH)/bin\n          export OPDKS_VER=\"$(python3 ./dependencies/tool.py open_pdks -f commit)\"\n          PDK=${{ matrix.pdk }}\n          PDK_FAMILY=${PDK%?}\n\n          sudo mkdir -p ${{ env.PDK_ROOT }}\n          sudo chown -R $USER:$USER ${{ env.PDK_ROOT }}\n\n          python3 -m pip install --upgrade --no-cache-dir volare>=0.12.3\n          export OPDKS_VER=\"$(python3 ./dependencies/tool.py open_pdks -f commit)\"\n          volare enable --pdk $PDK_FAMILY $OPDKS_VER\n\n      - name: Tarball PDK\n        run: |\n          tar -cf /tmp/${{ matrix.pdk }}.tar -C $PDK_ROOT/${{ matrix.pdk }} .\n\n      - name: Upload PDK Tarball\n        uses: actions/upload-artifact@v3\n        with:\n          name: pdk-tarball-${{ matrix.pdk }}\n          path: /tmp/${{ matrix.pdk }}.tar\n  prepare_test_matrices:\n    name: Prepare Test Matrices\n    runs-on: ubuntu-20.04\n    outputs:\n      design_matrix: ${{ steps.set-matrix.outputs.design_matrix }}\n      issue_regression_matrix: ${{ steps.set-matrix.outputs.issue_regression_matrix }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Python Dependencies\n        run: |\n          python3 -m pip install click pyyaml\n      - name: Determine If Running Extended Test Set\n        run: |\n          export EVENT_NAME=${{ github.event_name }};\n          python3 ./.github/scripts/determine_test_set.py\n      - name: Set Matrix\n        id: set-matrix\n        run: |\n          if [[ \"$USE_ETS\" = \"1\" ]]; then\n            echo \"design_matrix=$(python3 ./.github/test_sets/get_test_matrix.py --scl sky130A/sky130_fd_sc_hd --scl gf180mcuC/gf180mcu_fd_sc_mcu7t5v0 fastest_test_set extended_test_set)\" >> $GITHUB_OUTPUT\n          else\n            echo \"design_matrix=$(python3 ./.github/test_sets/get_test_matrix.py --scl sky130A/sky130_fd_sc_hd --scl gf180mcuC/gf180mcu_fd_sc_mcu7t5v0 fastest_test_set)\" >> $GITHUB_OUTPUT\n          fi\n          echo \"issue_regression_matrix=$(python3 -m tests get_matrix)\" >> $GITHUB_OUTPUT\n\n  docker_build_amd64:\n    name: Docker Build (amd64)\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - name: Build\n        uses: ./.github/actions/docker_build\n        with:\n          arch: amd64\n          dockerhub_user: ${{ secrets.DOCKERHUB_USER }}\n          dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}\n          tool_repository: ${{ vars.TOOL_DOCKER_IMAGE }}\n  docker_build_arm64v8:\n    name: Docker Build (arm64v8)\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - name: Build\n        uses: ./.github/actions/docker_build\n        with:\n          arch: arm64v8\n          dockerhub_user: ${{ secrets.DOCKERHUB_USER }}\n          dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}\n          tool_repository: ${{ vars.TOOL_DOCKER_IMAGE }}\n  issue_regression_test:\n    name: Regression Test (Test ${{ matrix.test }})\n    needs: [docker_build_amd64, pdk_build, prepare_test_matrices]\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJSON(needs.prepare_test_matrices.outputs.issue_regression_matrix) }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: true\n\n      - name: Set up environment variables\n        uses: ./.github/actions/set_env_variables\n\n      - name: Download Docker Image\n        uses: actions/download-artifact@v3\n        with:\n          name: docker-image-amd64\n          path: /tmp\n\n      - name: Import Docker Image\n        run: docker load --input /tmp/image-amd64.tar\n\n      - name: Download PDK Tarball\n        uses: actions/download-artifact@v3\n        with:\n          name: pdk-tarball-sky130A\n          path: /tmp\n\n      - name: Unpack PDK Tarball\n        run: |\n          sudo mkdir -p ${{ env.PDK_ROOT }}/sky130A\n          sudo chown -R $USER:$USER ${{ env.PDK_ROOT }}\n          tar -xf /tmp/sky130A.tar -C $PDK_ROOT/sky130A .\n\n      - name: Get Pyyaml\n        run: python3 -m pip install pyyaml\n\n      - name: Run Issue Regression Test\n        run: |\n          OPENLANE_IMAGE_NAME=efabless/openlane:current\\\n            make run_issue_regression ISSUE_REGRESSION_DESIGN=${{ matrix.test }}\n\n      - name: Upload Logs\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: test_${{ matrix.test }}_logs\n          path: ./test_logs\n  # Each test has two components: a fast test set and an extended test set.\n  # The fast test set is run on all PRs, etc. The extended test set runs on schedule.\n  test:\n    name: Test Design ${{ matrix.design.name }} (${{ matrix.design.pdk }}/${{matrix.design.scl}})\n    needs: [docker_build_amd64, pdk_build, prepare_test_matrices]\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJSON(needs.prepare_test_matrices.outputs.design_matrix) }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: true\n\n      - name: Set up environment variables\n        uses: ./.github/actions/set_env_variables\n\n      - name: Download Docker Image (amd64)\n        uses: actions/download-artifact@v3\n        with:\n          name: docker-image-amd64\n          path: /tmp\n\n      - name: Import Docker Image\n        run: docker load --input /tmp/image-amd64.tar\n\n      - name: Download PDK Tarball\n        uses: actions/download-artifact@v3\n        with:\n          name: pdk-tarball-${{ matrix.design.pdk }}\n          path: /tmp\n\n      - name: Unpack PDK Tarball\n        run: |\n          sudo mkdir -p ${{ env.PDK_ROOT }}/${{ matrix.design.pdk }}\n          sudo chown -R $USER:$USER ${{ env.PDK_ROOT }}\n          tar -xf /tmp/${{ matrix.design.pdk }}.tar -C $PDK_ROOT/${{ matrix.design.pdk }} .\n\n      - name: Set PDK Variant\n        run: |\n          echo \"PDK=${{ matrix.design.pdk }}\" >> $GITHUB_ENV\n\n      - name: Set SCL\n        run: |\n          echo \"STD_CELL_LIBRARY=${{ matrix.design.scl }}\" >> $GITHUB_ENV\n\n      - name: Get Pyyaml\n        run: python3 -m pip install pyyaml\n\n      - name: Run Test\n        run: |\n          OPENLANE_IMAGE_NAME=efabless/openlane:current-amd64\\\n            python3 ${GITHUB_WORKSPACE}/.github/scripts/run_tests.py ${{ matrix.design.name }}\n\n      - name: Escape Design Name\n        if: ${{ always() }}\n        run: |\n          design_name=${{ matrix.design.name }}\n          escaped_design_name=${design_name//\\//_}\n          echo \"ESCAPED_DESIGN_NAME=$escaped_design_name\" >> $GITHUB_ENV\n\n      - name: Upload Run Tarball\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ env.ESCAPED_DESIGN_NAME }}-${{ matrix.design.pdk }}\n          path: ./reproducible.tar.gz\n\n  cleanup_and_deploy:\n    name: Cleanup (and Possibly Deployment)\n    needs:\n      [docker_build_amd64, docker_build_arm64v8, test, issue_regression_test]\n    if: always()\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check If Going To Push An Image To Docker\n        # # Uncomment the next line if you want to only build & push a container if entire test set succeeds\n        # if: needs.test.result == 'success'\n        # Ruby snippet to print 0 if this is a PR or if there is no DOCKERHUB_USER secret set, otherwise, 1\n        run: |\n          export PUSHING=$(ruby -e 'if (\"${{ github.event_name }}\" != \"pull_request\" && \"${{ secrets.DOCKERHUB_USER }}\" != \"\"); print(1) else print(0) end')\n          echo \"PUSHING=$PUSHING\" >> $GITHUB_ENV\n\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          tool-cache: false\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: true\n          docker-images: true\n\n      - name: Set up environment variables\n        uses: ./.github/actions/set_env_variables\n\n      - name: Download Docker Image (amd64)\n        uses: actions/download-artifact@v3\n        with:\n          name: docker-image-amd64\n          path: /tmp\n\n      - name: Download Docker Image (arm64v8)\n        uses: actions/download-artifact@v3\n        with:\n          name: docker-image-arm64v8\n          path: /tmp\n\n      - name: Delete Docker Image (amd64)\n        uses: geekyeggo/delete-artifact@v1\n        with:\n          name: docker-image-amd64\n\n      - name: Delete Docker Image (arm64v8)\n        uses: geekyeggo/delete-artifact@v1\n        with:\n          name: docker-image-arm64v8\n\n      - name: Delete PDK\n        uses: geekyeggo/delete-artifact@v1\n        with:\n          name: pdk-tarball\n\n      - name: Write Main Branch\n        run: |\n          echo \"MAIN_BRANCH=${{ vars.MAIN_BRANCH }}\" >> $GITHUB_ENV\n\n      - name: Write Hash\n        run: |\n          echo \"GIT_COMMIT_HASH=$(git rev-parse HEAD)\" >> $GITHUB_ENV\n\n      - name: Import Docker Images\n        if: ${{ env.PUSHING == '1' }}\n        run: |\n          for arch in amd64 arm64v8; do\n            docker load --input /tmp/image-$arch.tar\n          done\n\n      - name: Create Tag (If scheduled or dispatched)\n        if: ${{ env.PUSHING == '1' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && env.BRANCH_NAME == env.MAIN_BRANCH }}\n        run: cd ${GITHUB_WORKSPACE}/ && python3 ${GITHUB_WORKSPACE}/.github/scripts/generate_tag.py\n\n      - name: Tag Commit (If scheduled or dispatched)\n        if: ${{ env.PUSHING == '1' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && env.NEW_TAG != 'NO_NEW_TAG' }}\n        uses: tvdias/github-tagger@v0.0.1\n        with:\n          tag: \"${{ env.NEW_TAG }}\"\n          repo-token: \"${{ secrets.MY_TOKEN }}\"\n\n      - name: Login to DockerHub\n        if: ${{ env.PUSHING == '1' }}\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USER }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Start Tag List\n        if: ${{ env.PUSHING == '1' }}\n        run: |\n          echo \"TAG_LIST=\" >> $GITHUB_ENV\n\n      - name: Docker Tag (Main Branch Hashes)\n        if: ${{ env.PUSHING == '1' && github.event_name == 'push' && env.BRANCH_NAME == env.MAIN_BRANCH }}\n        run: |\n          echo \"TAG_LIST=$TAG_LIST ${{ env.GIT_COMMIT_HASH }}\" >> $GITHUB_ENV\n\n      - name: Docker Tag (Branches)\n        if: ${{ env.PUSHING == '1' && github.event_name == 'push' }}\n        run: |\n          echo \"TAG_LIST=$TAG_LIST ${{ env.BRANCH_NAME }}\" >> $GITHUB_ENV\n\n      - name: Docker Push (Version Tag/Latest)\n        if: ${{ env.PUSHING == '1' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && env.NEW_TAG != 'NO_NEW_TAG' }}\n        run: |\n          echo \"TAG_LIST=$TAG_LIST ${{ env.NEW_TAG }} latest\" >> $GITHUB_ENV\n\n      - name: Docker Pushes\n        if: ${{ env.PUSHING == '1' }}\n        run: |\n          for tag in $TAG_LIST; do\n            for arch in amd64 arm64v8; do\n              docker image tag efabless/openlane:current-$arch ${{ vars.DOCKER_IMAGE }}:$tag-$arch\n              docker push ${{ vars.DOCKER_IMAGE }}:$tag-$arch\n            done\n            docker manifest create ${{ vars.DOCKER_IMAGE }}:$tag\\\n              --amend ${{ vars.DOCKER_IMAGE }}:$tag-amd64\\\n              --amend ${{ vars.DOCKER_IMAGE }}:$tag-arm64v8\n            docker manifest push ${{ vars.DOCKER_IMAGE }}:$tag\n          done\n", "state": "active", "repository": "The-OpenROAD-Project/OpenLane"}
{"mined_at": "2024-07-15T18:10:51.942266", "created_at": "2022-01-13T23:35:45+01:00", "updated_at": "2022-01-24T13:22:11+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\non:\n  # Runs on all pushes to branches\n  push:\n  # Runs on all PRs\n  pull_request:\n  # Manual Dispatch\n  workflow_dispatch:\n\njobs:\n  lint_python:\n    name: Lint Python Code\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v2\n      - name: Install Linters\n        run: python3 -m pip install -r ./requirements_lint.txt\n      - name: Ensure Black Formatting\n        run: black --check .\n      - name: Lint with Flake8\n        run: flake8 .\n", "state": "active", "repository": "The-OpenROAD-Project/OpenLane"}
{"mined_at": "2024-07-15T18:10:52.965770", "created_at": "2023-07-09T14:56:35+02:00", "updated_at": "2023-07-12T13:38:55+02:00", "name": "Documentation", "path": ".github/workflows/variables_documentation_check.yml", "contents": "name: Documentation\non:\n  # Runs on all pushes to branches\n  push:\n  # Runs on all PRs\n  pull_request:\n  # Manual Dispatch\n  workflow_dispatch:\n\njobs:\n  check_variables:\n    name: Check Variables\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check out Git repository\n        uses: actions/checkout@v2\n      - name: Install Ripgrep\n        run: sudo apt install -y ripgrep\n      - name: Check for missing documentation\n        run: cd ${GITHUB_WORKSPACE}/ && python3 ${GITHUB_WORKSPACE}/.github/scripts/variables_documentation.py\n", "state": "active", "repository": "The-OpenROAD-Project/OpenLane"}
{"mined_at": "2024-07-15T18:10:55.219605", "created_at": "2020-04-21T14:10:51+02:00", "updated_at": "2020-07-16T10:21:11+02:00", "name": "Issue closed", "path": ".github/workflows/closing.yml", "contents": "# Copyright © Michal Čihař <michal@weblate.org>\n#\n# SPDX-License-Identifier: CC0-1.0\n\n# This file is maintained in https://github.com/WeblateOrg/meta/\nname: Issue closed\n\non:\n  issues:\n    types: [closed]\n\npermissions:\n  contents: read\n\njobs:\n  issueClosed:\n    permissions:\n      issues: write  # for peter-evans/create-or-update-comment to create or update comment\n      pull-requests: write  # for peter-evans/create-or-update-comment to create or update comment\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Add closed question comment\n      uses: peter-evans/create-or-update-comment@v4\n      if: |\n        github.actor != 'renovate[bot]' &&\n        github.event.issue.state_reason == 'completed' &&\n        (contains(github.event.issue.labels.*.name, 'question') && ! contains(github.event.issue.labels.*.name, 'duplicate') && ! contains(github.event.issue.labels.*.name, 'wontfix')) || join(github.event.issue.labels.*.name) == ''\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        issue-number: ${{ github.event.issue.number }}\n        body: |\n          The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.\n\n          * In case you see a similar problem, please open a separate issue.\n          * If you are happy with the outcome, don’t hesitate to support Weblate by making a [donation](https://weblate.org/donate/).\n    - name: Add closed issue comment\n      uses: peter-evans/create-or-update-comment@v4\n      if: |\n        github.actor != 'renovate[bot]' &&\n        github.event.issue.state_reason == 'completed' &&\n        ! contains(github.event.issue.labels.*.name, 'invalid') &&\n        ! contains(github.event.issue.labels.*.name, 'question') &&\n        ! contains(github.event.issue.labels.*.name, 'wontfix') &&\n        ! contains(github.event.issue.labels.*.name, 'duplicate') &&\n        ! contains(github.event.issue.labels.*.name, 'undecided') &&\n        ! contains(github.event.issue.labels.*.name, 'needinfo') &&\n        join(github.event.issue.labels.*.name) != ''\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        issue-number: ${{ github.event.issue.number }}\n        body: |\n          Thank you for your report; the issue you have reported has just been fixed.\n\n          * In case you see a problem with the fix, please comment on this issue.\n          * In case you see a similar problem, please open a separate issue.\n          * If you are happy with the outcome, don’t hesitate to support Weblate by making a [donation](https://weblate.org/donate/).\n", "state": "active", "repository": "WeblateOrg/language-data"}
{"mined_at": "2024-07-15T18:10:56.448099", "created_at": "2020-09-29T11:34:19+02:00", "updated_at": "2020-09-29T11:34:19+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# Copyright © Michal Čihař <michal@weblate.org>\n#\n# SPDX-License-Identifier: MIT\n\n# This file is maintained in https://github.com/WeblateOrg/meta/\nname: CodeQL\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches:\n    - main\n  schedule:\n  - cron: 0 4 * * 0\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "WeblateOrg/language-data"}
{"mined_at": "2024-07-15T18:10:57.675903", "created_at": "2020-04-22T13:16:04+02:00", "updated_at": "2020-08-05T10:35:30+02:00", "name": "Sync labels", "path": ".github/workflows/label-sync.yml", "contents": "# Copyright © Michal Čihař <michal@weblate.org>\n#\n# SPDX-License-Identifier: CC0-1.0\n\n# This file is maintained in https://github.com/WeblateOrg/meta/\nname: Sync labels\n\non:\n  push:\n    branches:\n    - main\n    paths:\n    - .github/labels.yml\n    - .github/workflows/label-sync.yml\n\npermissions:\n  issues: write\n\njobs:\n  build:\n    name: Sync labels\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n    - uses: srealmoreno/label-sync-action@v1\n      with:\n        clean-labels: true\n", "state": "active", "repository": "WeblateOrg/language-data"}
{"mined_at": "2024-07-15T18:10:58.696865", "created_at": "2020-04-21T14:10:25+02:00", "updated_at": "2020-07-16T10:21:11+02:00", "name": "Issue labeled", "path": ".github/workflows/labels.yml", "contents": "# Copyright © Michal Čihař <michal@weblate.org>\n#\n# SPDX-License-Identifier: CC0-1.0\n\n# This file is maintained in https://github.com/WeblateOrg/meta/\nname: Issue labeled\n\non:\n  issues:\n    types: [labeled]\n\npermissions:\n  contents: read\n\njobs:\n  issueLabeled:\n    permissions:\n      issues: write  # for peter-evans/create-or-update-comment to create or update comment\n      pull-requests: write  # for peter-evans/create-or-update-comment to create or update comment\n    runs-on: ubuntu-22.04\n    steps:\n    - name: Add backlog comment\n      uses: peter-evans/create-or-update-comment@v4\n      if: ${{ github.event.label.name == 'backlog' }}\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        issue-number: ${{ github.event.issue.number }}\n        body: >\n          This issue has been added to the backlog. It is not scheduled\n          on the Weblate roadmap, but it eventually might be implemented.\n\n\n          In case you need this feature soon, please consider helping\n          or push it by [funding the development](https://weblate.org/support/).\n    - name: Add undecided comment\n      uses: peter-evans/create-or-update-comment@v4\n      if: ${{ github.event.label.name == 'undecided' }}\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        issue-number: ${{ github.event.issue.number }}\n        body: >\n          This issue has been put aside. It is currently unclear if it will\n          ever be implemented as it seems to cover too narrow of a use case\n          or doesn't seem to fit into Weblate.\n\n\n          Please try to clarify the use case or consider proposing something more generic to make it useful to more users.\n    - name: Add question comment\n      uses: peter-evans/create-or-update-comment@v4\n      if: ${{ github.event.label.name == 'question' }}\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        issue-number: ${{ github.event.issue.number }}\n        body: >\n          This issue has been marked as a question by a Weblate team member.\n          Why? Because it belongs more to the professional [Weblate Care](https://care.weblate.org/)\n          or community [Discussions](https://github.com/WeblateOrg/weblate/discussions) than here.\n          We strive to answer these reasonably fast here, too, but\n          [purchasing the support subscription](https://weblate.org/support/)\n          is more responsible and faster for your business.\n          And it makes Weblate stronger as well. Thanks!\n\n\n          In case your question is already answered, [making a donation](https://weblate.org/donate/) is the right way to say thank you!\n    - name: Add translate-toolkit comment\n      uses: peter-evans/create-or-update-comment@v4\n      if: ${{ github.event.label.name == 'translate-toolkit' }}\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        issue-number: ${{ github.event.issue.number }}\n        body: >\n          The issue you've reported needs to be addressed in the [translate-toolkit](https://github.com/translate/translate/).\n          Please file the issue there, and include links to any relevant specifications about the formats (if applicable).\n    - name: Add good first issue comment\n      uses: peter-evans/create-or-update-comment@v4\n      if: ${{ github.event.label.name == 'good first issue' }}\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        issue-number: ${{ github.event.issue.number }}\n        body: >\n          This issue seems to be a good fit for newbie contributors.\n          You are welcome to contribute to Weblate! Don't hesitate to\n          ask any questions you would have while implementing this.\n\n\n          You can learn about how to get started in our\n          [contributors documentation](https://docs.weblate.org/en/latest/contributing/index.html).\n", "state": "active", "repository": "WeblateOrg/language-data"}
{"mined_at": "2024-07-15T18:10:59.817930", "created_at": "2020-04-22T13:16:04+02:00", "updated_at": "2020-04-22T13:16:04+02:00", "name": "Pre-commit check", "path": ".github/workflows/pre-commit.yml", "contents": "# Copyright © Michal Čihař <michal@weblate.org>\n#\n# SPDX-License-Identifier: CC0-1.0\n\n# This file is maintained in https://github.com/WeblateOrg/meta/\nname: Pre-commit check\n\non:\n  push:\n    branches-ignore:\n    - deepsource-fix-**\n    - renovate/**\n    - weblate\n  pull_request:\n\npermissions:\n  contents: read\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-22.04\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/cache@v4\n      with:\n        path: |\n          ~/.cache/pip\n          ~/.cache/pre-commit\n        key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/requirements*.txt') }}-${{ hashFiles('.pre-commit-config.yaml') }}-${{ hashFiles('pyproject.toml') }}\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Update pip\n      run: python -m pip install --upgrade pip wheel\n    - name: Install dependencies\n      run: |\n        if [ -f requirements-lint.txt ] ; then\n          pip install -r requirements-lint.txt\n        else\n          pip install $(sed -n 's/.*\"\\(pre-commit==\\([^\"]*\\)\\)\".*/\\1/p' pyproject.toml)\n        fi\n    - name: pre-commit\n      run: pre-commit run --all\n    - name: diff\n      run: git diff\n      if: always()\n", "state": "active", "repository": "WeblateOrg/language-data"}
{"mined_at": "2024-07-15T18:11:00.838498", "created_at": "2020-08-05T11:08:08+02:00", "updated_at": "2020-08-05T11:08:08+02:00", "name": "Pull request automation", "path": ".github/workflows/pull_requests.yaml", "contents": "# Copyright © Michal Čihař <michal@weblate.org>\n#\n# SPDX-License-Identifier: CC0-1.0\n\n# This file is maintained in https://github.com/WeblateOrg/meta/\n\nname: Pull request automation\n\non:\n  pull_request_target:\n    types: opened\n\npermissions:\n  contents: read\n\njobs:\n  weblate_automerge:\n    permissions:\n      pull-requests: write\n      contents: write\n    runs-on: ubuntu-latest\n    name: Weblate automerge\n    if: github.actor == 'weblate'\n    steps:\n    - uses: peter-evans/enable-pull-request-automerge@v3\n      with:\n        pull-request-number: ${{ github.event.pull_request.number }}\n        merge-method: rebase\n", "state": "active", "repository": "WeblateOrg/language-data"}
{"mined_at": "2024-07-15T18:11:02.079896", "created_at": "2020-09-29T11:34:19+02:00", "updated_at": "2020-09-29T11:34:19+02:00", "name": "Distribution", "path": ".github/workflows/setup.yml", "contents": "# Copyright © Michal Čihař <michal@weblate.org>\n#\n# SPDX-License-Identifier: MIT\n\nname: Distribution\n\non: [push, pull_request]\n\njobs:\n  setup:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n    - uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-setup-${{ hashFiles('**/requirements*.txt') }}\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel setuptools\n        pip install -r requirements-test.txt\n    - name: build sdist\n      run: python ./setup.py sdist\n    - name: build wheel\n      run: python ./setup.py bdist_wheel\n    - name: twine\n      run: twine check dist/*\n    - name: Publish package\n      if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && matrix.os == 'ubuntu-latest'\n      uses: pypa/gh-action-pypi-publish@v1.9.0\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "WeblateOrg/language-data"}
{"mined_at": "2024-07-15T18:11:03.212050", "created_at": "2020-11-17T07:42:23+01:00", "updated_at": "2020-11-17T07:42:23+01:00", "name": "Close stale", "path": ".github/workflows/stale.yml", "contents": "# Copyright © Michal Čihař <michal@weblate.org>\n#\n# SPDX-License-Identifier: CC0-1.0\n\n# This file is maintained in https://github.com/WeblateOrg/meta/\nname: Close stale\n\non:\n  schedule:\n  - cron: 30 1 * * *\n  push:\n    branches:\n    - main\n    paths:\n    - .github/workflows/stale.yml\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  stale-issues:\n    runs-on: ubuntu-22.04\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v9\n      with:\n        days-before-pr-stale: 30\n        days-before-pr-close: 14\n        days-before-stale: 14\n        days-before-close: 5\n        exempt-issue-labels: bug,enhancement,documentation,security,dependencies\n        exempt-pr-labels: backlog\n        stale-issue-label: wontfix\n        stale-pr-label: wontfix\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: |\n          This issue has been automatically marked as stale because there wasn’t any recent activity.\n\n          It will be closed soon if no further action occurs.\n\n          Thank you for your contributions!\n        stale-pr-message: |\n          This pull request has been automatically marked as stale because there wasn’t any recent activity.\n\n          It will be closed soon if no further action occurs.\n\n          Thank you for your contributions!\n", "state": "active", "repository": "WeblateOrg/language-data"}
{"mined_at": "2024-07-15T18:11:04.340271", "created_at": "2022-01-07T20:42:57+01:00", "updated_at": "2022-01-07T20:42:57+01:00", "name": "submodule update", "path": ".github/workflows/submodules-update.yml", "contents": "# Copyright © Michal Čihař <michal@weblate.org>\n#\n# SPDX-License-Identifier: MIT\n\nname: submodule update\n\non:\n  push:\n    branches:\n    - renovate/**\n    - main\n    paths:\n    - .github/workflows/submodules-update.yml\n    - modules/**\n\njobs:\n  submodule-update:\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n      with:\n        submodules: true\n    - run: sudo apt-get --option=\"APT::Acquire::Retries=3\" update\n    - run: sudo apt-get --option=\"APT::Acquire::Retries=3\" install -y gettext\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n        cache: pip\n        cache-dependency-path: requirements*.txt\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel setuptools\n        pip install -r requirements-dev.txt\n    - run: make\n    - name: Update renovate branch\n      if: github.ref != 'refs/heads/main'\n      uses: stefanzweifel/git-auto-commit-action@v5\n      with:\n        commit_message: 'chore: Updates from submodules'\n    - name: Create Pull Request\n      if: github.ref == 'refs/heads/main'\n      uses: peter-evans/create-pull-request@v6\n      with:\n        branch: create-pull-request/submodule-update\n        title: 'chore: Updates from submodules'\n        commit-message: 'chore: Updates from submodules'\n        labels: |\n          dependencies\n          automerge\n", "state": "active", "repository": "WeblateOrg/language-data"}
{"mined_at": "2024-07-15T18:11:05.459339", "created_at": "2023-04-04T14:48:27+02:00", "updated_at": "2023-04-04T14:48:27+02:00", "name": "Languages", "path": ".github/workflows/test.yml", "contents": "# Copyright © Michal Čihař <michal@weblate.org>\n#\n# SPDX-License-Identifier: MIT\n\nname: Languages\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Lint\n      run: ./scripts/lint\n", "state": "active", "repository": "WeblateOrg/language-data"}
{"mined_at": "2024-07-15T18:11:06.688504", "created_at": "2022-04-29T13:16:03+02:00", "updated_at": "2022-04-29T13:16:03+02:00", "name": "Update generated files", "path": ".github/workflows/update-generated.yml", "contents": "# Copyright © Michal Čihař <michal@weblate.org>\n#\n# SPDX-License-Identifier: MIT\n\nname: Update generated files\n\non:\n  push:\n    branches:\n    - renovate/**\n    - main\n    paths:\n    - languages.csv\n    - aliases.csv\n\njobs:\n  submodule-update:\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4\n      with:\n        submodules: true\n    - run: sudo apt-get --option=\"APT::Acquire::Retries=3\" update\n    - run: sudo apt-get --option=\"APT::Acquire::Retries=3\" install -y gettext\n    - name: Setup Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n        cache: pip\n        cache-dependency-path: requirements*.txt\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel setuptools\n        pip install -r requirements-dev.txt\n    - run: make\n    - name: Update renovate branch\n      if: github.ref != 'refs/heads/main'\n      uses: stefanzweifel/git-auto-commit-action@v5\n      with:\n        commit_message: 'chore: Updates generated files'\n    - name: Create Pull Request\n      if: github.ref == 'refs/heads/main'\n      uses: peter-evans/create-pull-request@v6\n      with:\n        branch: create-pull-request/submodule-update\n        title: 'chore: Updates generated files'\n        commit-message: 'chore: Updates generated files'\n        labels: |\n          dependencies\n          automerge\n", "state": "active", "repository": "WeblateOrg/language-data"}
{"mined_at": "2024-07-15T18:11:09.005279", "created_at": "2023-03-10T09:30:14+01:00", "updated_at": "2024-07-11T05:24:24+02:00", "name": "unit_test_200gb_CI", "path": ".github/workflows/unit_test_200gb_CI.yml", "contents": "name: unit_test_200gb_CI\n# runs unit tests on AMD64 machine\n\non:\n  workflow_call:\n  workflow_dispatch:\n  push:\n    branches:\n      - mainline\n    paths-ignore:\n      - '**.md'\n  pull_request:\n    branches:\n      - mainline\n    paths-ignore:\n      - '**.md'\n\npermissions:\n  contents: read\n\njobs:\n  Start-Runner:\n    name: Start self-hosted EC2 runner\n    runs-on: ubuntu-latest\n    outputs:\n      label: ${{ steps.start-ec2-runner.outputs.label }}\n      ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Start EC2 runner\n        id: start-ec2-runner\n        uses: machulav/ec2-github-runner@v2\n        with:\n          mode: start\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          ec2-image-id:  ${{ secrets.AMD_200GB_EC2_IMAGE_ID }}\n          ec2-instance-type: t3.2xlarge\n          subnet-id: ${{ secrets.AMD_SUBNET_ID }}\n          security-group-id: ${{ secrets.AMD_SECURITY_GROUP_ID }}\n\n  Test-Marqo:\n    name: Run Unit Tests\n    needs: Start-Runner # required to start the main job when the runner is ready\n    runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner\n    environment: marqo-test-suite\n    steps:\n      - name: Checkout marqo repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          path: marqo\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          \n      - name: Checkout marqo-base for requirements\n        uses: actions/checkout@v3\n        with:\n          repository: marqo-ai/marqo-base\n          path: marqo-base\n          \n      - name: Install dependencies\n        run: |\n          pip install -r marqo-base/requirements.txt\n          # override base requirements with marqo requirements, if needed: \n          pip install -r marqo/requirements.dev.txt\n          pip install pytest==7.4.0\n\n      - name: Start Vespa\n        run: |\n          # Define these for checking if Vespa is ready\n          export VESPA_CONFIG_URL=http://localhost:19071\n          export VESPA_DOCUMENT_URL=http://localhost:8080\n          export VESPA_QUERY_URL=http://localhost:8080\n          \n          cd marqo/scripts/vespa_local\n          set -x\n          python vespa_local.py start\n          set +x\n\n          echo \"Waiting for Vespa to start\"\n          for i in {1..20}; do\n              echo -ne \"Waiting... $i seconds\\r\"\n              sleep 1\n          done\n          echo -e \"\\nDone waiting.\"\n          \n          # Zip up schemas and services\n          apt-get install zip -y\n          zip -r vespa_tester_app.zip services.xml schemas\n\n          # Deploy application with test schema\n          curl --header \"Content-Type:application/zip\" --data-binary @vespa_tester_app.zip http://localhost:19071/application/v2/tenant/default/prepareandactivate\n\n          # wait for vespa to start (document url):\n          timeout 10m bash -c 'until curl -f -X GET $VESPA_DOCUMENT_URL >/dev/null 2>&1; do echo \"  Waiting for Vespa document API to be available...\"; sleep 10; done;' || \\\n            (echo \"Vespa (Document URL) did not start in time\" && exit 1)\n          \n          echo \"Vespa document API is available. Local Vespa setup complete.\"\n\n          # Delete the zip file\n          rm vespa_tester_app.zip\n          echo \"Deleted vespa_tester_app.zip\"\n          \n      - name: Run Unit Tests\n        run: |\n          # Define these for use by marqo\n          export VESPA_CONFIG_URL=http://localhost:19071\n          export VESPA_DOCUMENT_URL=http://localhost:8080\n          export VESPA_QUERY_URL=http://localhost:8080\n\n          export PYTHONPATH=\"./marqo/tests:./marqo/src:./marqo\"\n          pytest marqo/tests\n  \n  Stop-Runner:\n    name: Stop self-hosted EC2 runner\n    needs:\n      - Start-Runner # required to get output from the start-runner job\n      - Test-Marqo # required to wait when the main job is done\n    runs-on: ubuntu-latest\n    if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Stop EC2 runner\n        uses: machulav/ec2-github-runner@v2\n        with:\n          mode: stop\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          label: ${{ needs.start-runner.outputs.label }}\n          ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}\n", "state": "active", "repository": "marqo-ai/marqo"}
{"mined_at": "2024-07-15T18:11:10.170327", "created_at": "2023-03-17T11:20:24+01:00", "updated_at": "2023-03-17T11:20:24+01:00", "name": "largemodel_unit_test_CI", "path": ".github/workflows/largemodel_unit_test_CI.yml", "contents": "name: largemodel_unit_test_CI\n# runs unit tests on CUDA machine with large model tests.\n\non:\n  workflow_call:\n  workflow_dispatch:\n  push:\n    branches:\n      - mainline\n    paths-ignore:\n      - '**.md'\n\npermissions:\n  contents: read\n\njobs:\n  Start-Runner:\n    name: Start self-hosted EC2 runner\n    runs-on: ubuntu-latest\n    outputs:\n      label: ${{ steps.start-ec2-runner.outputs.label }}\n      ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Start EC2 runner\n        id: start-ec2-runner\n        uses: machulav/ec2-github-runner@v2\n        with:\n          mode: start\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          ec2-image-id: ${{ secrets.CUDA_EC2_IMAGE_ID }}\n          ec2-instance-type: g4dn.xlarge\n          subnet-id: ${{ secrets.CUDA_SUBNET_ID }}\n          security-group-id: ${{ secrets.CUDA_SECURITY_GROUP_ID }}\n\n  Test-Marqo:\n    name: Run Large Model Unit Tests\n    needs: Start-Runner # required to start the main job when the runner is ready\n    runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner\n    environment: marqo-test-suite\n    steps:\n      - name: Checkout marqo repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          path: marqo\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n\n      - name: Checkout marqo-base for requirements\n        uses: actions/checkout@v3\n        with:\n          repository: marqo-ai/marqo-base\n          path: marqo-base\n\n      - name: Install dependencies\n        run: |\n          pip install -r marqo-base/requirements.txt\n          # override base requirements with marqo requirements, if needed: \n          pip install -r marqo/requirements.dev.txt\n          pip install pytest==7.4.0\n\n      - name: Start Vespa\n        run: |\n          # Define these for checking if Vespa is ready\n          export VESPA_CONFIG_URL=http://localhost:19071\n          export VESPA_DOCUMENT_URL=http://localhost:8080\n          export VESPA_QUERY_URL=http://localhost:8080\n          \n          cd marqo/scripts/vespa_local\n          set -x\n          python vespa_local.py start\n          set +x\n\n          echo \"Waiting for Vespa to start\"\n          for i in {1..20}; do\n              echo -ne \"Waiting... $i seconds\\r\"\n              sleep 1\n          done\n          echo -e \"\\nDone waiting.\"\n          \n          # Zip up schemas and services\n          apt-get install zip -y\n          zip -r vespa_tester_app.zip services.xml schemas\n\n          # Deploy application with test schema\n          curl --header \"Content-Type:application/zip\" --data-binary @vespa_tester_app.zip http://localhost:19071/application/v2/tenant/default/prepareandactivate\n\n          # wait for vespa to start (document url):\n          timeout 10m bash -c 'until curl -f -X GET $VESPA_DOCUMENT_URL >/dev/null 2>&1; do echo \"  Waiting for Vespa document API to be available...\"; sleep 10; done;' || \\\n            (echo \"Vespa (Document URL) did not start in time\" && exit 1)\n          \n          echo \"Vespa document API is available. Local Vespa setup complete.\"\n\n          # Delete the zip file\n          rm vespa_tester_app.zip\n          echo \"Deleted vespa_tester_app.zip\"\n\n      - name: Run Large Model Unit Tests\n        run: |\n          # Define these for use by marqo\n          export VESPA_CONFIG_URL=http://localhost:19071\n          export VESPA_DOCUMENT_URL=http://localhost:8080\n          export VESPA_QUERY_URL=http://localhost:8080\n          \n          export PYTHONPATH=\"./marqo/tests:./marqo/src:./marqo\"\n          pytest marqo/tests --largemodel\n\n  Stop-Runner:\n    name: Stop self-hosted EC2 runner\n    needs:\n      - Start-Runner # required to get output from the start-runner job\n      - Test-Marqo # required to wait when the main job is done\n    runs-on: ubuntu-latest\n    if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Stop EC2 runner\n        uses: machulav/ec2-github-runner@v2\n        with:\n          mode: stop\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          label: ${{ needs.start-runner.outputs.label }}\n          ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}\n", "state": "active", "repository": "marqo-ai/marqo"}
{"mined_at": "2024-07-15T18:11:11.296481", "created_at": "2023-05-02T02:29:13+02:00", "updated_at": "2023-05-02T02:29:13+02:00", "name": "Dispatcher", "path": ".github/workflows/dispatch_update_model_list.yml", "contents": "name: Dispatcher\non:\n  release:\n    types: [released]\n\njobs:\n  dispatch:\n    name: Dispatch\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        repo: ['marqo-ai/models-list-script']\n    steps:\n      - name: Dispatch to workflows\n        run: |\n          curl -L -X POST -H \"Accept: application/vnd.github+json\" -H \"Authorization: Bearer ${{ secrets.DISPATCH_TOKEN }}\" -H \"X-GitHub-Api-Version: 2022-11-28\" -d '{\"event_type\": \"update_model_list\", \"client_payload\":{\"release_version\":\"${{ github.event.release.tag_name }}\"}}' https://api.github.com/repos/${{ matrix.repo }}/dispatches", "state": "active", "repository": "marqo-ai/marqo"}
{"mined_at": "2024-07-15T18:11:12.625766", "created_at": "2023-08-22T07:16:05+02:00", "updated_at": "2024-01-22T03:58:17+01:00", "name": "Run all Marqo tests", "path": ".github/workflows/run_all_tests.yml", "contents": "# Runs all Marqo tests.\n#  - The goal is a single workflow that, if all jobs pass, is sufficient to\n#    merge.\n#  - This can be run manually. It is automatically triggered if a PR is\n#    approved.\n#  - The automatic trigger on PR approvals is skipped if only markdown files\n#    have changed.\n\nname: Run all Marqo tests\n\non:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  should-tests-run:\n    name: Determine whether tests should run\n    runs-on: ubuntu-latest\n    outputs:\n      decision: ${{ steps.decision.outputs.result }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Check if only markdown files have changed\n        id: filter\n        uses: dorny/paths-filter@v2\n        with:\n          filters: |\n            proceed:\n              - '**'\n              - '!*.md'\n\n      - name: Decide whether to run tests\n        id: decision\n        run: |\n          if [[ \"${{ github.event_name }}\" == \"pull_request_review\" && \\\n                \"${{ github.event.review.state }}\" == \"approved\" && \\\n                \"${{ steps.filter.outputs.proceed }}\" == \"true\" ]] \\\n              || [[ \"${{ github.event_name }}\" == \"workflow_dispatch\" ]]; then\n            echo \"::set-output name=result::true\"\n          else\n            echo \"::set-output name=result::false\"\n          fi\n\n  run-arm64-tests:\n    needs: should-tests-run\n    if: needs.should-tests-run.outputs.decision == 'true'\n    uses: ./.github/workflows/arm64_docker_marqo.yml\n    secrets: inherit\n\n  run-cuda-tests:\n    needs: should-tests-run\n    if: needs.should-tests-run.outputs.decision == 'true'\n    uses: ./.github/workflows/cuda_docker_marqo.yml\n    secrets: inherit\n\n  run-cpu-docker-tests:\n    needs: should-tests-run\n    if: needs.should-tests-run.outputs.decision == 'true'\n    uses: ./.github/workflows/cpu_docker_marqo.yml\n    secrets: inherit\n\n  run-largemodel-unit-tests:\n    needs: should-tests-run\n    if: needs.should-tests-run.outputs.decision == 'true'\n    uses: ./.github/workflows/largemodel_unit_test_CI.yml\n    secrets: inherit\n\n  run-cpu-local-tests:\n    needs: should-tests-run\n    if: needs.should-tests-run.outputs.decision == 'true'\n    uses: ./.github/workflows/cpu_local_marqo.yml\n    secrets: inherit\n\n  run-unit-tests:\n    needs: should-tests-run\n    if: needs.should-tests-run.outputs.decision == 'true'\n    uses: ./.github/workflows/unit_test_200gb_CI.yml\n    secrets: inherit\n\n  summary:\n    if: ${{ always() }}\n    name: Test Summary\n    needs: [should-tests-run, run-arm64-tests, run-cuda-tests, run-cpu-docker-tests, run-largemodel-unit-tests, run-cpu-local-tests, run-unit-tests]\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check test results\n      run: |\n        # If tests weren't intended to run, consider this a success\n        if [[ \"${{ needs.should-tests-run.outputs.decision }}\" != \"true\" ]]; then\n          echo \"Tests were skipped. No further checks required.\"\n          exit 0\n        fi\n  \n        if [[ \"${{ needs.run-arm64-tests.result }}\" != \"success\" && \"${{ needs.run-arm64-tests.result }}\" != \"skipped\" ]]; then\n          echo \"Job run-arm64-tests did not succeed.\"\n          exit 1\n        fi\n        \n        if [[ \"${{ needs.run-cuda-tests.result }}\" != \"success\" && \"${{ needs.run-cuda-tests.result }}\" != \"skipped\" ]]; then\n          echo \"Job run-cuda-tests did not succeed.\"\n          exit 1\n        fi\n  \n        if [[ \"${{ needs.run-cpu-docker-tests.result }}\" != \"success\" && \"${{ needs.run-cpu-docker-tests.result }}\" != \"skipped\" ]]; then\n          echo \"Job run-cpu-docker-tests did not succeed.\"\n          exit 1\n        fi\n  \n        if [[ \"${{ needs.run-largemodel-unit-tests.result }}\" != \"success\" && \"${{ needs.run-largemodel-unit-tests.result }}\" != \"skipped\" ]]; then\n          echo \"Job run-largemodel-unit-tests did not succeed.\"\n          exit 1\n        fi\n  \n        if [[ \"${{ needs.run-cpu-local-tests.result }}\" != \"success\" && \"${{ needs.run-cpu-local-tests.result }}\" != \"skipped\" ]]; then\n          echo \"Job run-cpu-local-tests did not succeed.\"\n          exit 1\n        fi\n  \n        if [[ \"${{ needs.run-unit-tests.result }}\" != \"success\" && \"${{ needs.run-unit-tests.result }}\" != \"skipped\" ]]; then\n          echo \"Job run-unit-tests did not succeed.\"\n          exit 1\n        fi\n  \n        echo \"All tests either passed or were skipped.\"\n  \n          \n", "state": "active", "repository": "marqo-ai/marqo"}
{"mined_at": "2024-07-15T18:11:13.746865", "created_at": "2024-01-19T05:16:47+01:00", "updated_at": "2024-01-22T03:58:17+01:00", "name": "arm64_docker_marqo_API_tests", "path": ".github/workflows/arm64_docker_marqo.yml", "contents": "name: arm64_docker_marqo_API_tests\n# runs API Tests on ARM64 machine with Vespa and Marqo in the same docker container\non:\n  workflow_call:\n  workflow_dispatch:\n    inputs:\n      py_marqo_branch:\n        required: false\n        default: mainline\n        description: >\n          The \"py-marqo\" branch this test is running against.\n          This is optional. If left as the default value \"mainline\", we run the test based on the \"mainline\" branch of\n          py-marqo. Otherwise, the specified branch is tested. For example \"li/test-xx\". You can also use \"marqo\" and \n          it will use the latest pypi release.\n      api_tests_branch:\n        required: false\n        default: mainline\n        description: >\n          The \"api-tests\" branch this test is running against.\n          This is optional. If left as the default value \"mainline\", we run the api tests based at branch\n          \"mainline\". Otherwise, the specified branch is tested. For example \"li/test-xx\"\n      image_to_test:\n        required: false\n        # This is the name of the docker image that is built by the build script:\n        default: marqo_docker_0\n        description: >\n          This is optional. If left as the default value \"marqo_docker_0\", the docker image built from this branch is tested.\n          Otherwise, the specified docker image is tested. For example \"marqoai/marqo:test\"\n  push:\n    branches:\n      - mainline\n    paths-ignore:\n      - '**.md'\n\npermissions:\n  contents: read\n\njobs:\n  Start-Runner:\n    name: Start self-hosted EC2 runner\n    runs-on: ubuntu-latest\n    outputs:\n      label: ${{ steps.start-ec2-runner.outputs.label }}\n      ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Start EC2 runner\n        id: start-ec2-runner\n        uses: machulav/ec2-github-runner@v2\n        with:\n          mode: start\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n\n          # ARM Runner Image\n          ec2-image-id: ${{ secrets.ARM_EC2_IMAGE_ID }}\n          ec2-instance-type: t4g.xlarge\n          subnet-id: ${{ secrets.ARM_SUBNET_ID }}\n          security-group-id: ${{ secrets.ARM_SECURITY_GROUP_ID }}\n\n  Test-Marqo:\n    name: Run ARM64 Docker Maqo API Tests\n    needs: Start-Runner # required to start the main job when the runner is ready\n    runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner\n                \n    environment: marqo-test-suite \n    \n    steps:\n       \n      - name: Checkout marqo repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python 3.9   # TODO: Check if 3.9 is okay instead of 3.8. So far, so good\n        run:  |\n          apt-get -y update\n          apt-get -y install python3.9\n          apt-get -y install pip\n  \n      - name: Install Dependencies\n        run: |\n          #pip install -r requirements.txt\n          pip install tox==3.26\n          pip install flake8\n      \n      # TODO: linting here\n  \n      - name: Checkout marqo-api-tests repo\n        uses: actions/checkout@v3\n        with:\n          repository: marqo-ai/marqo-api-tests\n          ref: ${{ github.event.inputs.api_tests_branch }}\n\n      - name: Set MQ_PY_MARQO_BRANCH variable\n        run: |\n          if [[ \"${{ inputs.py_marqo_branch }}\" == \"marqo\" ]]; then\n            echo \"MQ_PY_MARQO_BRANCH=marqo\" >> $GITHUB_ENV\n          elif [[ \"${{ inputs.py_marqo_branch }}\" == \"\" ]]; then\n            echo \"MQ_PY_MARQO_BRANCH=git+https://github.com/marqo-ai/py-marqo.git@mainline\" >> $GITHUB_ENV\n          else\n            echo \"MQ_PY_MARQO_BRANCH=git+https://github.com/marqo-ai/py-marqo.git@${{ inputs.py_marqo_branch }}\" >> $GITHUB_ENV\n          fi\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n          \n      - name: Set up Environment\n        run: |\n          # Set up conf file\n          echo 'export MARQO_API_TESTS_ROOT=\"${{ github.workspace }}\"' >> conf\n          \n      - name: Run Integration Tests - ARM64 Docker Marqo\n        run: |\n          export MQ_API_TEST_BRANCH=$(echo \"${GITHUB_REF}\" | cut -d'/' -f3-)\n          CUSTOM_TEST_IMG=\"${{ github.event.inputs.image_to_test }}\"\n          export MQ_API_TEST_IMG=${CUSTOM_TEST_IMG:-\"marqo_docker_0\"}\n          tox -e py3-docker_marqo\n  \n  Stop-Runner:\n    name: Stop self-hosted EC2 runner\n    needs:\n      - Start-Runner # required to get output from the start-runner job\n      - Test-Marqo # required to wait when the main job is done\n    runs-on: ubuntu-latest\n    if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Stop EC2 runner\n        uses: machulav/ec2-github-runner@v2\n        with:\n          mode: stop\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          label: ${{ needs.start-runner.outputs.label }}\n          ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}\n", "state": "active", "repository": "marqo-ai/marqo"}
{"mined_at": "2024-07-15T18:11:14.883669", "created_at": "2024-01-19T05:16:47+01:00", "updated_at": "2024-01-22T03:58:17+01:00", "name": "cpu_docker_marqo_API_tests", "path": ".github/workflows/cpu_docker_marqo.yml", "contents": "name: cpu_docker_marqo_API_tests\n# runs API Tests on CPU instance with Vespa and Marqo in the same docker container\n\non:\n  workflow_call:\n  workflow_dispatch:\n    inputs:\n      py_marqo_branch:\n        required: false\n        default: mainline\n        description: >\n          The \"py-marqo\" branch this test is running against.\n          This is optional. If left as the default value \"mainline\", we run the test based on the \"mainline\" branch of\n          py-marqo. Otherwise, the specified branch is tested. For example \"li/test-xx\". You can also use \"marqo\" and \n          it will use the latest pypi release.\n      api_tests_branch:\n        required: false\n        default: mainline\n        description: >\n          The \"api-tests\" branch this test is running against.\n          This is optional. If left as the default value \"mainline\", we run the api tests based at branch\n          \"mainline\". Otherwise, the specified branch is tested. For example \"li/test-xx\"\n      image_to_test:\n        required: false\n        # This is the name of the docker image that is built by the build script:\n        default: marqo_docker_0\n        description: >\n          This is optional. If left as the default value \"marqo_docker_0\", the docker image built from this branch is tested.\n          Otherwise, the specified docker image is tested. For example \"marqoai/marqo:test\"\n  push:\n    branches:\n      - mainline\n    paths-ignore:\n      - '**.md'\n\npermissions:\n  contents: read\n\njobs:\n  Start-Runner:\n    name: Start self-hosted EC2 runner\n    runs-on: ubuntu-latest\n    outputs:\n      label: ${{ steps.start-ec2-runner.outputs.label }}\n      ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Start EC2 runner\n        id: start-ec2-runner\n        uses: machulav/ec2-github-runner@v2\n        with:\n          mode: start\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          ec2-image-id:  ${{ secrets.AMD_EC2_IMAGE_ID }}\n          ec2-instance-type: t3.xlarge\n          subnet-id: ${{ secrets.AMD_SUBNET_ID }}\n          security-group-id: ${{ secrets.AMD_SECURITY_GROUP_ID }}\n\n  Test-Marqo:\n    name: Run CPU Docker Marqo API Tests\n    needs: Start-Runner # required to start the main job when the runner is ready\n    runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner\n                \n    environment: marqo-test-suite \n    \n    steps:\n       \n      - name: Checkout marqo repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          \n      - name: Install Dependencies\n        run: |\n          #pip install -r requirements.txt\n          pip install tox==3.26\n          pip install flake8\n      \n      # linting here\n\n      - name: Set MQ_PY_MARQO_BRANCH variable\n        run: |\n          if [[ \"${{ inputs.py_marqo_branch }}\" == \"marqo\" ]]; then\n            echo \"MQ_PY_MARQO_BRANCH=marqo\" >> $GITHUB_ENV\n          elif [[ \"${{ inputs.py_marqo_branch }}\" == \"\" ]]; then\n            echo \"MQ_PY_MARQO_BRANCH=git+https://github.com/marqo-ai/py-marqo.git@mainline\" >> $GITHUB_ENV\n          else\n            echo \"MQ_PY_MARQO_BRANCH=git+https://github.com/marqo-ai/py-marqo.git@${{ inputs.py_marqo_branch }}\" >> $GITHUB_ENV\n          fi\n  \n      - name: Checkout marqo-api-tests repo\n        uses: actions/checkout@v3\n        with:\n          repository: marqo-ai/marqo-api-tests\n          ref: ${{ github.event.inputs.api_tests_branch }}\n          \n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n          \n      - name: Set up Environment\n        run: |\n          # Set up conf file\n          echo 'export MARQO_API_TESTS_ROOT=\"${{ github.workspace }}\"' >> conf\n          \n      - name: Run Integration Tests - CPU Docker Marqo\n        run: |\n          export MQ_API_TEST_BRANCH=$(echo \"${GITHUB_REF}\" | cut -d'/' -f3-)\n          CUSTOM_TEST_IMG=\"${{ github.event.inputs.image_to_test }}\"\n          export MQ_API_TEST_IMG=${CUSTOM_TEST_IMG:-\"marqo_docker_0\"}\n          tox -e py3-docker_marqo\n  \n  Stop-Runner:\n    name: Stop self-hosted EC2 runner\n    needs:\n      - Start-Runner # required to get output from the start-runner job\n      - Test-Marqo # required to wait when the main job is done\n    runs-on: ubuntu-latest\n    if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Stop EC2 runner\n        uses: machulav/ec2-github-runner@v2\n        with:\n          mode: stop\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          label: ${{ needs.start-runner.outputs.label }}\n          ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}", "state": "active", "repository": "marqo-ai/marqo"}
{"mined_at": "2024-07-15T18:11:16.007113", "created_at": "2024-01-19T05:16:47+01:00", "updated_at": "2024-01-22T03:58:17+01:00", "name": "cpu_local_marqo_API_tests", "path": ".github/workflows/cpu_local_marqo.yml", "contents": "name: cpu_local_marqo_API_tests\n# runs API Tests on CPU-only instance with Vespa and Marqo running in two separate docker containers\n\non:\n  workflow_call:\n  workflow_dispatch:\n    inputs:\n      py_marqo_branch:\n        required: false\n        default: mainline\n        description: >\n          The \"py-marqo\" branch this test is running against.\n          This is optional. If left as the default value \"mainline\", we run the test based on the \"mainline\" branch of\n          py-marqo. Otherwise, the specified branch is tested. For example \"li/test-xx\". You can also use \"marqo\" and \n          it will use the latest pypi release.\n      api_tests_branch:\n        required: false\n        default: mainline\n        description: >\n          The \"api-tests\" branch this test is running against.\n          This is optional. If left as the default value \"mainline\", we run the api tests based at branch\n          \"mainline\". Otherwise, the specified branch is tested. For example \"li/test-xx\"\n      image_to_test:\n        required: false\n        # This is the name of the docker image that is built by the build script:\n        default: marqo_docker_0\n        description: >\n          This is optional. If left as the default value \"marqo_docker_0\", the docker image built from this branch is tested.\n          Otherwise, the specified docker image is tested. For example \"marqoai/marqo:test\"\n  push:\n    branches:\n      - mainline\n    paths-ignore:\n      - '**.md'\n\npermissions:\n  contents: read\n\njobs:\n  Start-Runner:\n    name: Start self-hosted EC2 runner\n    runs-on: ubuntu-latest\n    outputs:\n      label: ${{ steps.start-ec2-runner.outputs.label }}\n      ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Start EC2 runner\n        id: start-ec2-runner\n        uses: machulav/ec2-github-runner@v2\n        with:\n          mode: start\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          ec2-image-id:  ${{ secrets.AMD_EC2_IMAGE_ID }}\n          ec2-instance-type: t3.xlarge\n          subnet-id: ${{ secrets.AMD_SUBNET_ID }}\n          security-group-id: ${{ secrets.AMD_SECURITY_GROUP_ID }}\n\n  Test-Marqo:\n    name: Run CPU Local Marqo API Tests\n    needs: Start-Runner # required to start the main job when the runner is ready\n    runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner\n                \n    environment: marqo-test-suite \n    \n    steps:\n       \n      - name: Checkout marqo repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          \n      - name: Install Dependencies\n        run: |\n          #pip install -r requirements.txt\n          pip install tox==3.26\n          pip install flake8\n\n      - name: Set MQ_PY_MARQO_BRANCH variable\n        run: |\n          if [[ \"${{ inputs.py_marqo_branch }}\" == \"marqo\" ]]; then\n            echo \"MQ_PY_MARQO_BRANCH=marqo\" >> $GITHUB_ENV\n          elif [[ \"${{ inputs.py_marqo_branch }}\" == \"\" ]]; then\n            echo \"MQ_PY_MARQO_BRANCH=git+https://github.com/marqo-ai/py-marqo.git@mainline\" >> $GITHUB_ENV\n          else\n            echo \"MQ_PY_MARQO_BRANCH=git+https://github.com/marqo-ai/py-marqo.git@${{ inputs.py_marqo_branch }}\" >> $GITHUB_ENV\n          fi\n  \n      - name: Checkout marqo-api-tests repo\n        uses: actions/checkout@v3\n        with:\n          repository: marqo-ai/marqo-api-tests\n          ref: ${{ github.event.inputs.api_tests_branch }}\n          \n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n          \n      - name: Set up Environment\n        run: |\n          # Set up conf file\n          echo 'export MARQO_API_TESTS_ROOT=\"${{ github.workspace }}\"' >> conf\n          \n      - name: Run Integration Tests - CPU Local Marqo\n        run: |\n          export MQ_API_TEST_BRANCH=$(echo \"${GITHUB_REF}\" | cut -d'/' -f3-)\n          CUSTOM_TEST_IMG=\"${{ github.event.inputs.image_to_test }}\"\n          export MQ_API_TEST_IMG=${CUSTOM_TEST_IMG:-\"marqo_docker_0\"}\n          tox -e py3-local_marqo\n  \n  Stop-Runner:\n    name: Stop self-hosted EC2 runner\n    needs:\n      - Start-Runner # required to get output from the start-runner job\n      - Test-Marqo # required to wait when the main job is done\n    runs-on: ubuntu-latest\n    if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Stop EC2 runner\n        uses: machulav/ec2-github-runner@v2\n        with:\n          mode: stop\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          label: ${{ needs.start-runner.outputs.label }}\n          ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}", "state": "active", "repository": "marqo-ai/marqo"}
{"mined_at": "2024-07-15T18:11:17.235991", "created_at": "2024-01-22T03:57:49+01:00", "updated_at": "2024-01-22T04:24:49+01:00", "name": "cuda_docker_marqo_API_tests", "path": ".github/workflows/cuda_docker_marqo.yml", "contents": "name: cuda_docker_marqo_API_tests\n# runs API Tests on cuda-enabled instance with Vespa and Marqo running in the same container\n\non:\n  workflow_call:\n  workflow_dispatch:\n    inputs:\n      py_marqo_branch:\n        required: false\n        default: mainline\n        description: >\n          The \"py-marqo\" branch this test is running against.\n          This is optional. If left as the default value \"mainline\", we run the test based on the \"mainline\" branch of\n          py-marqo. Otherwise, the specified branch is tested. For example \"li/test-xx\". You can also use \"marqo\" and \n          it will use the latest pypi release.\n      api_tests_branch:\n        required: false\n        default: mainline\n        description: >\n          The \"api-tests\" branch this test is running against.\n          This is optional. If left as the default value \"mainline\", we run the api tests based at branch\n          \"mainline\". Otherwise, the specified branch is tested. For example \"li/test-xx\"\n      image_to_test:\n        required: false\n        # This is the name of the docker image that is built by the build script:\n        default: marqo_docker_0\n        description: >\n          This is optional. If left as the default value \"marqo_docker_0\", the docker image built from this branch is tested.\n          Otherwise, the specified docker image is tested. For example \"marqoai/marqo:test\"\n  push:\n    branches:\n      - mainline\n    paths-ignore:\n      - '**.md'\n\npermissions:\n  contents: read\n\njobs:\n  Start-Runner:\n    name: Start self-hosted EC2 runner\n    runs-on: ubuntu-latest\n    outputs:\n      label: ${{ steps.start-ec2-runner.outputs.label }}\n      ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Start EC2 runner\n        id: start-ec2-runner\n        uses: machulav/ec2-github-runner@v2\n        with:\n          mode: start\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n\n          # CUDA AMD64 instance\n          ec2-image-id: ${{ secrets.CUDA_EC2_IMAGE_ID }}\n          ec2-instance-type: g4dn.xlarge\n          subnet-id: ${{ secrets.CUDA_SUBNET_ID }}\n          security-group-id: ${{ secrets.CUDA_SECURITY_GROUP_ID }}\n\n  Test-Marqo:\n    name: Run CUDA Docker Marqo API Tests\n    needs: Start-Runner # required to start the main job when the runner is ready\n    runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner\n                \n    environment: marqo-test-suite \n    \n    steps:\n       \n      - name: Checkout marqo repo\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          \n      - name: Install Dependencies\n        run: |\n          #pip install -r requirements.txt\n          pip install tox==3.26\n          pip install flake8\n      \n      - name: Set MQ_PY_MARQO_BRANCH variable\n        run: |\n          if [[ \"${{ inputs.py_marqo_branch }}\" == \"marqo\" ]]; then\n            echo \"MQ_PY_MARQO_BRANCH=marqo\" >> $GITHUB_ENV\n          elif [[ \"${{ inputs.py_marqo_branch }}\" == \"\" ]]; then\n            echo \"MQ_PY_MARQO_BRANCH=git+https://github.com/marqo-ai/py-marqo.git@mainline\" >> $GITHUB_ENV\n          else\n            echo \"MQ_PY_MARQO_BRANCH=git+https://github.com/marqo-ai/py-marqo.git@${{ inputs.py_marqo_branch }}\" >> $GITHUB_ENV\n          fi\n  \n      - name: Checkout marqo-api-tests repo\n        uses: actions/checkout@v3\n        with:\n          repository: marqo-ai/marqo-api-tests\n          ref: ${{ github.event.inputs.api_tests_branch }}\n          \n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n          \n      - name: Set up Environment\n        run: |\n          # Set up conf file\n          echo 'export MARQO_API_TESTS_ROOT=\"${{ github.workspace }}\"' >> conf\n          \n      - name: Run CUDA Integration Tests - CUDA Docker Marqo\n        run: |\n          export MQ_API_TEST_BRANCH=$(echo \"${GITHUB_REF}\" | cut -d'/' -f3-)\n          CUSTOM_TEST_IMG=\"${{ github.event.inputs.image_to_test }}\"\n          export MQ_API_TEST_IMG=${CUSTOM_TEST_IMG:-\"marqo_docker_0\"}\n          tox -e py3-cuda_docker_marqo\n  \n  Stop-Runner:\n    name: Stop self-hosted EC2 runner\n    needs:\n      - Start-Runner # required to get output from the start-runner job\n      - Test-Marqo # required to wait when the main job is done\n    runs-on: ubuntu-latest\n    if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs\n    steps:\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n      - name: Stop EC2 runner\n        uses: machulav/ec2-github-runner@v2\n        with:\n          mode: stop\n          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          label: ${{ needs.start-runner.outputs.label }}\n          ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}", "state": "active", "repository": "marqo-ai/marqo"}
{"mined_at": "2024-07-15T18:11:19.266012", "created_at": "2023-08-14T08:31:59+02:00", "updated_at": "2023-08-14T08:31:59+02:00", "name": "GitHub Actions Workflow", "path": ".github/workflows/docker-bulid.yml", "contents": "name: GitHub Actions Workflow\nrun-name: ${{ github.actor }} has started docker build workflow.\non:\n  pull_request:\n    types: [opened, edited, ready_for_review]\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Git checkout\n        uses: actions/checkout@master\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n        with:\n          driver: docker\n      - name: Build Dockerfile\n        uses: docker/build-push-action@v4\n        with:\n          push: false\n          tags: assafelovic/gpt-researcher:latest\n          file: Dockerfile\n\n", "state": "active", "repository": "assafelovic/gpt-researcher"}
{"mined_at": "2024-07-15T18:11:20.396498", "created_at": "2023-11-10T08:22:53+01:00", "updated_at": "2023-11-10T08:22:53+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "assafelovic/gpt-researcher"}
{"mined_at": "2024-07-15T18:11:22.725015", "created_at": "2024-03-12T05:52:13+01:00", "updated_at": "2024-03-12T05:59:36+01:00", "name": "Linting", "path": ".github/workflows/lint.yml", "contents": "name: Linting\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n          cache: pip\n\n      - name: Run pre-commit\n        run: |\n          pip install pre-commit\n          pre-commit run --all-files\n", "state": "active", "repository": "materialsproject/custodian"}
{"mined_at": "2024-07-15T18:11:23.790632", "created_at": "2021-01-06T04:33:04+01:00", "updated_at": "2021-01-08T19:44:49+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types: [created]\n  workflow_dispatch:\n\njobs:\n  test:\n    # run test.yml first to ensure that the test suite is passing\n    uses: ./.github/workflows/test.yml\n\n  build:\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: release\n        run: |\n          pip install build twine\n          python -m build\n          twine upload --skip-existing dist/*.tar.gz\n        env:\n          TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}\n", "state": "active", "repository": "materialsproject/custodian"}
{"mined_at": "2024-07-15T18:11:24.916035", "created_at": "2024-02-15T15:04:23+01:00", "updated_at": "2024-02-15T15:39:34+01:00", "name": "Testing", "path": ".github/workflows/test.yml", "contents": "name: Testing\n\non:\n  push:\n    branches: [master]\n    paths-ignore: [docs/**]\n  pull_request:\n    branches: [master]\n    paths-ignore: [docs/**]\n  workflow_dispatch:\n  # make this workflow reusable by release.yml\n  workflow_call:\n\njobs:\n  build:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-14]\n        # not testing on 3.9 because tests use glob(\"*\", root_dir=TEST_FILES)\n        # and root_dir only added in 3.10\n        python-version: [\"3.10\", \"3.12\"]\n\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n          cache-dependency-path: pyproject.toml\n\n      - name: Install uv\n        run: pip install uv\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          activate-environment: qchem\n\n      - name: Install OpenBabel\n        run: conda install -c conda-forge openbabel\n\n      - name: Install dependencies\n        run: uv pip install -e '.[dev]' --system\n\n      - name: pytest\n        env:\n          PMG_MAPI_KEY: ${{ secrets.PMG_MAPI_KEY }}\n          MPLBACKEND: Agg\n        run: pytest --cov=custodian --color=yes tests\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "materialsproject/custodian"}
{"mined_at": "2024-07-15T18:11:26.076455", "created_at": "2022-01-10T14:07:32+01:00", "updated_at": "2022-01-10T14:07:32+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "materialsproject/custodian"}
{"mined_at": "2024-07-15T18:11:28.172218", "created_at": "2022-04-30T01:47:37+02:00", "updated_at": "2024-05-22T23:44:10+02:00", "name": "@Daily : Run tests with latest dependencies", "path": ".github/workflows/python-package-daily.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: \"@Daily : Run tests with latest dependencies\"\n\non:\n  schedule:\n    - cron:  '0 6 * * *'\n\njobs:\n  daily:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10', '3.11.0rc1']\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install latest dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e '.[testing]'\n    - name: Test with pytest\n      run: |\n        pre-commit run --all-files\n        pytest --cov-fail-under=100 --cov=dj -vv tests/ --doctest-modules dj --without-integration --without-slow-integration\n", "state": "active", "repository": "DataJunction/dj"}
{"mined_at": "2024-07-15T18:11:29.422101", "created_at": "2023-04-11T05:07:56+02:00", "updated_at": "2023-10-16T19:12:44+02:00", "name": "Manual : Generate OpenAPI client", "path": ".github/workflows/generate-openapi-client.yml", "contents": "name: \"Manual : Generate OpenAPI client\"\non:\n  workflow_dispatch:\njobs:\n  generate-python-client:\n    env:\n      PDM_DEPS: 'urllib3<2'\n    runs-on: ubuntu-latest\n    name: Generate Python Client\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install DJ\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n\n      - name: Generate OpenAPI Spec\n        run: ./scripts/generate-openapi.py -o openapi.json\n\n      - name: Configure Git\n        run: |\n          git config user.name \"GitHub Actions Bot\"\n          git config user.email \"<>\"\n\n      - name: Commit OpenAPI Spec\n        run: |\n          git add openapi.json\n          git commit -m \"Updating OpenAPI Spec\"\n\n      - name: Generate Python client\n        uses: openapi-generators/openapitools-generator-action@v1.4.0\n        with:\n          generator: python\n          openapi-file: openapi.json\n          config-file: ./.github/files/python-client-gen.yml\n          command-args: --skip-validate-spec\n\n      - name: Move client to right directory\n        run: |\n          mkdir -p ./openapi/python\n          cp -r python-client/* ./openapi/python/\n          rm -rf python-client\n\n      - name: Set short sha\n        id: sha\n        run: echo \"short_sha=$(git rev-parse --short HEAD)\" >> $GITHUB_OUTPUT\n\n      - name: Commit generated files\n        run: |\n          git add openapi/python/\n          git commit -m \"Update DJ Python client\"\n          git checkout -b ci-pr/python-client-${{ steps.sha.outputs.short_sha }}\n          git push --set-upstream origin ci-pr/python-client-${{ steps.sha.outputs.short_sha }}\n\n      - name: Open a PR\n        run: gh pr create -B main -H ci-pr/python-client-${{ steps.sha.outputs.short_sha }} --title 'Update Python Client - ${{ steps.sha.outputs.short_sha }}' --body '(This PR was generated by a GitHub action)'\n        env:\n          GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}\n", "state": "active", "repository": "DataJunction/dj"}
{"mined_at": "2024-07-15T18:11:30.504202", "created_at": "2023-04-11T05:07:56+02:00", "updated_at": "2023-10-16T19:12:44+02:00", "name": "Manual : Generate OpenAPI spec", "path": ".github/workflows/generate-openapi-spec.yml", "contents": "name: \"Manual : Generate OpenAPI spec\"\non:\n  workflow_dispatch:\njobs:\n  generate-openapi-spec:\n    env:\n      PDM_DEPS: 'urllib3<2'\n    defaults:\n      run:\n        working-directory: ./datajunction-server\n    runs-on: ubuntu-latest\n    name: OpenAPI Spec\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Set up Node\n        uses: actions/setup-node@v3\n        with:\n          node-version: 19\n\n      - name: Install DJ\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n\n      - name: Generate OpenAPI Spec\n        run: |\n          ./scripts/generate-openapi.py -o ../openapi.json\n\n      - name: Generate Markdown Docs from Spec\n        run: |\n          npm install -g widdershins\n          widdershins ../openapi.json -o ../docs/content/0.1.0/docs/developers/the-datajunction-api-specification.md --code=true --omitBody=true --summary=true\n\n      - name: Configure Git\n        run: |\n          git config user.name \"GitHub Actions Bot\"\n          git config user.email \"<>\"\n\n      - name: Set short sha\n        id: sha\n        run: echo \"short_sha=$(git rev-parse --short HEAD)\" >> $GITHUB_OUTPUT\n\n      - name: Commit OpenAPI Spec\n        run: |\n          git add ../openapi.json\n          git add ../docs/content/0.1.0/docs/developers/the-datajunction-api-specification.md\n          git commit -m \"Updating OpenAPI Spec\"\n          git checkout -b ci-pr/python-client-${{ steps.sha.outputs.short_sha }}\n          git push --set-upstream origin ci-pr/python-client-${{ steps.sha.outputs.short_sha }}\n\n      - name: Open a PR\n        run: gh pr create -B main -H ci-pr/python-client-${{ steps.sha.outputs.short_sha }} --title 'Update OpenAPI Spec - ${{ steps.sha.outputs.short_sha }}' --body '(This PR was generated by a GitHub action)'\n        env:\n          GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}\n", "state": "active", "repository": "DataJunction/dj"}
{"mined_at": "2024-07-15T18:11:31.673615", "created_at": "2023-04-25T09:23:58+02:00", "updated_at": "2024-05-22T22:25:50+02:00", "name": "PR Update : Run tests and linters", "path": ".github/workflows/test.yml", "contents": "name: \"PR Update : Run tests and linters\"\n\non:\n  pull_request:\n    branches: [ main ]\n    paths-ignore:\n      # python\n      - datajunction-clients/python/__about__.py\n      - datajunction-server/datajunction_server/__about__.py\n      - datajunction-query/djqs/__about__.py\n      - datajunction-reflection/datajunction_reflection/__about__.py\n      # javascript\n      - datajunction-clients/javascript/package.json\n      - datajunction-ui/package.json\n      # java: TODO\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    env:\n      PDM_DEPS: 'urllib3<2'\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10', '3.11']\n        library: ['client', 'server', 'djqs', 'djrs']\n\n    defaults:\n      run:\n        working-directory: ./\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: dorny/paths-filter@v2\n        id: filter\n        with:\n          filters: |\n            client:\n              - 'datajunction-clients/python/**'\n              # run Python unit tests also when server is updated (because server changes can break the client)\n              - 'datajunction-server/**'\n            server:\n              - 'datajunction-server/**'\n            djqs:\n              - 'datajunction-query/**'\n            djrs:\n              - 'datajunction-reflection/**'\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: pdm-project/setup-pdm@v3\n        name: Setup PDM\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n          prerelease: true\n          enable-pep582: true\n\n      - name: Run Tests\n        if: |\n          (matrix.library == 'client' && steps.filter.outputs.client == 'true') ||\n          (matrix.library == 'server' && steps.filter.outputs.server == 'true') ||\n          (matrix.library == 'djqs' && steps.filter.outputs.djqs == 'true') ||\n          (matrix.library == 'djrs' && steps.filter.outputs.djrs == 'true')\n        run: |\n          echo \"Testing ${{ matrix.library }} ...\"\n          export TEST_DIR=${{ matrix.library == 'server' && './datajunction-server' || matrix.library == 'client' && './datajunction-clients/python' || matrix.library == 'djqs' && './datajunction-query' || matrix.library == 'djrs' && './datajunction-reflection'}}\n\n          # Install dependencies\n          pdm sync -d; cd $TEST_DIR; pdm install -d -G pandas; pdm install -d -G transpilation\n\n          # Run linters\n          pdm run pre-commit run --all-files\n\n          # Run tests\n          export MODULE=${{ matrix.library == 'server' && 'datajunction_server' || matrix.library == 'client' && 'datajunction' || matrix.library == 'djqs' && 'djqs' || matrix.library == 'djrs' && 'datajunction_reflection'}}\n          pdm run pytest ${{ matrix.library == 'server' && '-n auto' || '' }} --cov-fail-under=100 --cov=$MODULE --cov-report term-missing -vv tests/ --doctest-modules $MODULE --without-integration --without-slow-integration\n\n      - uses: pre-commit/action@v3.0.0\n        name: Force check of all pdm.lock files\n        with:\n          extra_args: pdm-lock-check --all-files\n\n  build-javascript:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [18.x]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{ matrix.node-version }}\n      - name: Install Dev Dependencies\n        run: npm install --only=dev\n        working-directory: ./datajunction-clients/javascript\n      - name: Build Javascript Client\n        run: npm run build\n        working-directory: ./datajunction-clients/javascript\n      - name: Lint Javascript Client\n        run: npm run lint\n        working-directory: ./datajunction-clients/javascript\n\n  build-ui:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./datajunction-ui\n    strategy:\n      matrix:\n        node-version: [19.x]\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n      - name: Set up Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{ matrix.node-version }}\n      - name: Install Dependencies\n        run: yarn install\n      - name: Run Unit Tests\n        run: yarn test --runInBand --ci --coverage\n      - name: Build Project\n        run: yarn webpack-build\n\n  build-java:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./datajunction-clients/java\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up JDK 17\n        uses: actions/setup-java@v3\n        with:\n          java-version: '17'\n          distribution: 'temurin'\n      - name: Official Gradle Wrapper Validation Action\n        uses: gradle/wrapper-validation-action@v1\n      - name: Build with Gradle\n        uses: gradle/gradle-build-action@v2\n        with:\n          arguments: build -x test\n          build-root-directory: ./datajunction-clients/java", "state": "active", "repository": "DataJunction/dj"}
{"mined_at": "2024-07-15T18:11:33.007470", "created_at": "2023-07-06T05:39:18+02:00", "updated_at": "2023-10-16T19:12:44+02:00", "name": "Manual : Run client integration tests", "path": ".github/workflows/client-integration-tests.yml", "contents": "name: \"Manual : Run client integration tests\"\non:\n  schedule:\n    - cron:  '0 12 * * *'\n  workflow_dispatch:\njobs:\n  python-client-integration:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10', '3.11']\n    steps:\n      - uses: actions/checkout@v2\n      - name: Build and launch DJ demo environment\n        run: DOTENV_FILE=\"/code/datajunction-server/.env.integration\" docker-compose --profile demo up -d\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: pdm-project/setup-pdm@v3\n        name: Setup PDM\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n          prerelease: true\n          enable-pep582: true\n      - name: Install dependencies\n        run: |\n          pdm sync -d\n          cd ./datajunction-clients/python; pdm install -d -G pandas\n      - name: Python client integration tests\n        run: cd datajunction-clients/python && make test PYTEST_ARGS=\"--integration -k test_integration\"\n\n  javascript-client-integration:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [18.x]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Build and launch DJ demo environment\n        run: docker-compose --profile demo up -d\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{ matrix.node-version }}\n      - name: Install Dev Dependencies\n        run: npm install --only=dev\n        working-directory: ./datajunction-clients/javascript\n      - name: Javascript client integration tests\n        run: npm test\n        working-directory: ./datajunction-clients/javascript\n\n  java-client-integration:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        java-version: [ 17 ]\n        distribution: [ 'temurin' ]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Build and launch DJ demo environment\n        run: docker-compose --profile demo up -d\n      - name: Set up JDK ${{ matrix.java-version }}\n        uses: actions/setup-java@v3\n        with:\n          java-version: ${{ matrix.java-version }}\n          distribution: ${{ matrix.distribution }}\n      - name: Official Gradle Wrapper Validation Action\n        uses: gradle/wrapper-validation-action@v1\n      - name: Build with Gradle\n        uses: gradle/gradle-build-action@v2\n        with:\n          arguments: cleanTest test\n          build-root-directory: ./datajunction-clients/java\n\n\n\n", "state": "active", "repository": "DataJunction/dj"}
{"mined_at": "2024-07-15T18:11:34.128470", "created_at": "2023-10-12T18:43:16+02:00", "updated_at": "2024-05-22T22:25:50+02:00", "name": "PR Update : Test matching versions", "path": ".github/workflows/version-test.yml", "contents": "name: \"PR Update : Test matching versions\"\n\non:\n  pull_request:\n    branches: [ main ]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n    env:\n      ALL_VERSIONS_MATCH: false\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Install Hatch\n        run: |\n          python -m pip install --upgrade pip\n          pip install hatch\n        \n      #\n      # Collect from Python / hatch\n      #\n      - name: Find the version of DJ Server\n        working-directory: ./datajunction-server\n        run: \n          echo \"DJ_SERVER_VERSION=`hatch version`\" >> $GITHUB_ENV\n\n      - name: Find the version of DJ Query service\n        working-directory: ./datajunction-query\n        run: \n          echo \"DJ_QUERY_VERSION=`hatch version`\" >> $GITHUB_ENV\n\n      - name: Find the version of DJ Reflection service\n        working-directory: ./datajunction-reflection\n        run: \n          echo \"DJ_REFLECTION_VERSION=`hatch version`\" >> $GITHUB_ENV\n            \n      - name: Find the version of DJ Python client\n        working-directory: ./datajunction-clients/python\n        run: \n          echo \"DJ_CLIENT_PY_VERSION=`hatch version`\" >> $GITHUB_ENV\n\n      #\n      # Collect from JavaScript / yarn\n      #\n      - name: Find the version of DJ UI\n        working-directory: ./datajunction-ui\n        run: \n          echo \"DJ_UI_VERSION=`cat package.json | jq -r '.version'`\" >> $GITHUB_ENV\n\n      - name: Find the version of DJ Javascript client\n        working-directory: ./datajunction-clients/javascript\n        run: \n          echo \"DJ_CLIENT_JS_VERSION=`cat package.json | jq -r '.version'`\" >> $GITHUB_ENV\n  \n      #\n      # Collect from Java / gradle (TODO)\n      #\n\n      #\n      # Evaluate\n      #\n      - name: All versions match!\n        if: ${{ env.DJ_SERVER_VERSION == env.DJ_QUERY_VERSION && env.DJ_SERVER_VERSION == env.DJ_REFLECTION_VERSION && env.DJ_SERVER_VERSION == env.DJ_UI_VERSION && env.DJ_SERVER_VERSION == env.DJ_CLIENT_PY_VERSION && env.DJ_SERVER_VERSION == env.DJ_CLIENT_JS_VERSION }}\n        run: |\n          echo \"All versions match: ${DJ_SERVER_VERSION}\"\n          echo \"ALL_VERSIONS_MATCH=true\" >> $GITHUB_ENV\n\n      - name: Fail on mismatch\n        if: ${{ env.ALL_VERSIONS_MATCH == 'false' }}\n        run: |\n          echo \"Mismatched component versions found\"\n          echo \" - DJ Server: ${DJ_SERVER_VERSION}\"\n          echo \" - DJ Query: ${DJ_QUERY_VERSION}\"\n          echo \" - DJ Reflection: ${DJ_REFLECTION_VERSION}\"\n          echo \" - DJ UI: ${DJ_UI_VERSION}\"\n          echo \" - DJ Client for Python: ${DJ_CLIENT_PY_VERSION}\"\n          echo \" - DJ Client for Javascript: ${DJ_CLIENT_JS_VERSION}\"\n          exit 1\n", "state": "active", "repository": "DataJunction/dj"}
{"mined_at": "2024-07-15T18:11:35.202071", "created_at": "2023-10-16T06:58:18+02:00", "updated_at": "2024-05-22T23:44:10+02:00", "name": "@Weekly + Manual: Bump version of all components.", "path": ".github/workflows/version-bump.yml", "contents": "name: \"@Weekly + Manual: Bump version of all components.\"\non:\n  schedule:\n    - cron: '0 3 * * MON'  # each Monday at 3am\n  workflow_dispatch:\n    inputs:\n      bump:\n        type: choice\n        description: \"Select version cycle\"\n        required: true\n        default: alpha\n        options:\n          # Uncomment next item when ready to switch:\n          - alpha\n          # - patch\n          # - minor\n          # - major\n\njobs:\n  bump:\n    env:\n      bump-type: ${{ github.event.inputs.bump || 'alpha' }}  # Default to alpha\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10']\n    runs-on: 'ubuntu-latest'\n    defaults:\n      run:\n        working-directory: .\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Hatch\n        run: |\n          python -m pip install --upgrade pip\n          pip install hatch\n\n      - name: Configure Git\n        run: |\n          git config user.name \"GitHub Actions Bot\"\n          git config user.email \"<>\"\n\n      #\n      # Python / hatch\n      #\n      - name: Bump version for DJ Server \n        working-directory: ./datajunction-server\n        run: |\n          hatch version ${{ env.bump-type }}\n          echo \"NEW_VERSION=`hatch version`\" >> $GITHUB_ENV\n\n      - name: Bump version for DJ Query service \n        working-directory: ./datajunction-query\n        run: |\n          hatch version ${{ env.bump-type }}\n\n      - name: Bump version for DJ Reflection service \n        working-directory: ./datajunction-reflection\n        run: |\n          hatch version ${{ env.bump-type }}\n  \n      - name: Bump version for DJ Python client \n        working-directory: ./datajunction-clients/python\n        run: |\n          hatch version ${{ env.bump-type }}\n  \n      #\n      # Javascript / npm\n      #\n      - name: Bump version for DJ UI\n        working-directory: ./datajunction-ui\n        run: |\n          yarn version --new-version $NEW_VERSION --no-git-tag-version\n\n      - name: Bump version for DJ Javascript client\n        working-directory: ./datajunction-clients/javascript\n        run: |\n          yarn version --new-version $NEW_VERSION --no-git-tag-version\n  \n      #\n      # Docs (after alpha)\n      # \n      - name: Update docs (for major, minor or patch release)\n        working-directory: ./docs\n        if: ${{ env.bump-type == 'major' || env.bump-type == 'minor' || env.bump-type == 'patch'}}\n        run: |\n          ./build-docs.sh $NEW_VERSION true\n  \n      #\n      # Pull request\n      # \n      - name: Open a PR\n        run: |\n          echo \"Make a commit ...\"\n          git add ./datajunction-clients/python/datajunction/__about__.py\n          git add ./datajunction-clients/javascript/package.json\n          git add ./datajunction-query/djqs/__about__.py\n          git add ./datajunction-reflection/datajunction_reflection/__about__.py\n          git add ./datajunction-server/datajunction_server/__about__.py\n          git add ./datajunction-ui/package.json\n          git add ./docs\n          git commit -m \"Bumping DJ to version $NEW_VERSION\"\n          git checkout -b releases/version-$NEW_VERSION\n          git push --set-upstream origin releases/version-$NEW_VERSION -f\n\n          echo \"Make a tag ...\"\n          git tag -a version-$NEW_VERSION -m version-$NEW_VERSION\n          git push origin version-$NEW_VERSION\n\n          echo \"Create a PR ...\"\n          gh pr create -B main -H \"releases/version-$NEW_VERSION\" --title \"Bump DataJunction version to $NEW_VERSION\" --body \"This is an automated PR triggered by the github action. Merging this PR will publish all the component for version $NEW_VERSION .\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}          ", "state": "active", "repository": "DataJunction/dj"}
{"mined_at": "2024-07-15T18:11:36.486722", "created_at": "2023-10-16T06:58:18+02:00", "updated_at": "2024-05-22T23:44:10+02:00", "name": "PR Merge : Publish all components to Pypi/NPM", "path": ".github/workflows/version-publish.yml", "contents": "name: \"PR Merge : Publish all components to Pypi/NPM\"\non:\n  workflow_dispatch:\n  push:\n    branches: [ main ]\n    paths:\n      # python\n      - datajunction-clients/python/__about__.py\n      - datajunction-server/datajunction_server/__about__.py\n      - datajunction-query/djqs/__about__.py\n      - datajunction-reflection/datajunction_reflection/__about__.py\n      # javascript\n      - datajunction-clients/javascript/package.json\n      - datajunction-ui/package.json\n      # java: TODO\n\njobs:\n  publish:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.10']\n    runs-on: 'ubuntu-latest'\n    defaults:\n      run:\n        working-directory: .\n    env:\n      HATCH_INDEX_USER: __token__\n      HATCH_INDEX_AUTH: ${{ secrets.PYPI_TOKEN }}          \n      NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Hatch\n        run: |\n          python -m pip install --upgrade pip\n          pip install hatch\n\n      #\n      # Publish Python / hatch\n      #\n      - name: Publish DJ Server\n        working-directory: ./datajunction-server\n        run: |\n          hatch build\n          hatch publish\n\n      - name: Publish DJ Query service\n        working-directory: ./datajunction-query\n        run: |\n          hatch build\n          hatch publish\n\n      - name: Publish DJ Reflection service\n        working-directory: ./datajunction-reflection\n        run: |\n          hatch build\n          hatch publish\n  \n      - name: Publish DJ Python client\n        working-directory: ./datajunction-clients/python\n        run: |\n          hatch build\n          hatch publish\n\n      #\n      # Publish Javascript / npm\n      #\n      - uses: actions/setup-node@v3\n        with:\n          node-version: '20.x'\n          registry-url: 'https://registry.npmjs.org'\n\n      - name: Publish DJ Javascript client\n        working-directory: ./datajunction-clients/javascript\n        run: |\n          export VERSION_IN_CODE=`cat package.json | jq -r '.version'`\n          export VERSION_IN_NPM=`npm view datajunction version | tr -d '-'`\n          # check if the current version hasn't been published yet\n          if [[ $VERSION_IN_CODE != $VERSION_IN_NPM ]]; then\n            yarn\n            npm publish\n          fi;\n  \n      - name: Publish DJ UI\n        working-directory: ./datajunction-ui\n        run: |\n          export VERSION_IN_CODE=`cat package.json | jq -r '.version'`\n          export VERSION_IN_NPM=`npm view datajunction-ui version | tr -d '-'`\n          # check if the current version hasn't been published yet\n          if [[ $VERSION_IN_CODE != $VERSION_IN_NPM ]]; then\n            yarn\n            npm publish\n          fi;\n        ", "state": "active", "repository": "DataJunction/dj"}
{"mined_at": "2024-07-15T18:11:38.844141", "created_at": "2024-02-05T12:25:40+01:00", "updated_at": "2024-07-11T06:54:18+02:00", "name": ".github/workflows/_runs-on-nv-step1.yml", "path": ".github/workflows/_runs-on-nv-step1.yml", "contents": "name: runs on nv step 1\n\non:\n  workflow_call:\n    inputs:\n      runner:\n        description: Set up the runner\n        type: string\n        required: false\n        default: \"tps-sco-ci\"\n      deeplink_path:\n        description: ci work home\n        type: string\n        required: false\n        default: '/mnt/cache/share/deeplinkci/github/${{ github.repository }}/'\n      run_result:\n        description: select which job to run\n        type: string\n        required: true\n        default: ''\n      env_path:\n        description: env file path\n        type: string\n        required: false\n        default: '/mnt/cache/share/platform/env'\n\njobs:\n  Build-Nvidia:\n    name: Build-Nvidia\n    runs-on: ${{ inputs.runner }}\n    env:\n      GETRUNNER: ${{ inputs.runner }}\n      DEEPLINK_PATH: ${{ inputs.deeplink_path }}\n      ENV_PATH: ${{ inputs.env_path }}\n      SLURM_PAR_V100: \"pat_dev\"\n      BUILD_TEST1: \"build_test\"\n    steps:\n      - name: build\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            cd ${DEEPLINK_PATH}/ && ls -al && find ${DEEPLINK_PATH}/ -maxdepth 1 -mmin +300 -type d |xargs rm -rf\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${BUILD_TEST1} && cp -R source ${BUILD_TEST1} && cd ${BUILD_TEST1}\n            srun --job-name=${GITHUB_JOB} bash -c \"export USE_COVERAGE=ON && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} \\\n            && source ${ENV_PATH}/pt2.0_diopi \\\n            && cd impl && bash scripts/build_impl.sh torch\" || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${BUILD_TEST1} && exit 1 )\n          else\n            ssh SH1424 \"\"\"\n            set -e\n            cd ${DEEPLINK_PATH}/ && ls -al && find ${DEEPLINK_PATH}/ -maxdepth 1 -mmin +300 -type d |xargs rm -rf\n            export USE_COVERAGE=ON\n            source ${ENV_PATH}/pt2.0_diopi\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${BUILD_TEST1} && cp -R source ${BUILD_TEST1} && cd ${BUILD_TEST1}\n            srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_V100} --time=20 bash -c 'cd impl && bash scripts/build_impl.sh torch' || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${BUILD_TEST1} && exit 1 )\n            \"\"\"\n          fi\n\n  Gen-Data:\n    name: Gen-Data\n    needs: [Build-Nvidia]\n    runs-on: ${{ inputs.runner }}\n    env:\n      GETRUNNER: ${{ inputs.runner }}\n      DEEPLINK_PATH: ${{ inputs.deeplink_path }}\n      ENV_PATH: ${{ inputs.env_path }}\n      SLURM_PAR_V100: \"pat_dev\"\n      RUN_RESULT: ${{ inputs.run_result }}\n      BUILD_TEST1: \"build_test\"\n      GEN_DATA: \"diopi_test/python/cache\"\n      GEN_DATA_PATH: \"/mnt/cache/share/deeplinkci/gen-data/source\"\n    steps:\n      - name: gen-test-data\n        run: |\n          set -e\n          if [[ \"${RUN_RESULT}\" == *GENDATA* && \"${GETRUNNER}\" == *sco* ]];then\n            srun --job-name=${GITHUB_JOB} bash -c \"cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python \\\n            && source ${ENV_PATH}/pt2.0_diopi \\\n            && python main.py --mode gen_data\" \\\n            || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} && git clean -xdf ${GEN_DATA} && exit 1 )\n            source ~/Aoss_env.sh\n            ads-cli cp ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/cache/ s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/cache/ \n          elif [[ \"${GETRUNNER}\" == *diopi* ]];then\n            ssh SH1424 \"\"\"\n            set -e\n            source ${ENV_PATH}/pt2.0_diopi\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1} && cd diopi_test/python &&\n            srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_V100} --time=20 --gres=gpu:1 bash -c 'python main.py --mode gen_data' \\\n            || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} && git clean -xdf ${GEN_DATA} && exit 1 )\n            source ~/Aoss_env.sh\n            ads-cli cp ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/cache/ s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/cache/ \n            \"\"\"\n          else\n            ln -s ${GEN_DATA_PATH}/${GEN_DATA}/diopi ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/cache/\n          fi\n", "state": "active", "repository": "DeepLink-org/DIOPI"}
{"mined_at": "2024-07-15T18:11:40.074139", "created_at": "2024-02-05T12:25:40+01:00", "updated_at": "2024-02-05T12:25:40+01:00", "name": "runs on nv step 2", "path": ".github/workflows/_runs-on-nv-step2.yml", "contents": "name: runs on nv step 2\n\non:\n  workflow_call:\n    inputs:\n      runner:\n        description: Set up the runner\n        type: string\n        required: false\n        default: \"tps-sco-ci\"\n      deeplink_path:\n        description: ci work home\n        type: string\n        required: false\n        default: '/mnt/cache/share/deeplinkci/github/${{ github.repository }}/'\n      env_path:\n        description: env file path\n        type: string\n        required: false\n        default: '/mnt/cache/share/platform/env'\n      all_coverage:\n        description: all coverage\n        type: string\n        required: true\n        default: 'false'\n      require_coverage:\n        description: input coverage rate\n        type: string\n        required: false\n        default: '0'\njobs:\n  Op-Test-Nvidia:\n    name: Op-Test-Nvidia\n    runs-on: ${{ inputs.runner }}\n    env:\n      GETRUNNER: ${{ inputs.runner }}\n      DEEPLINK_PATH: ${{ inputs.deeplink_path }}\n      ENV_PATH: ${{ inputs.env_path }}\n      SLURM_PAR_V100: \"pat_dev\"\n      run_test: \"coverage run -p\"\n      BUILD_TEST1: \"build_test\"\n      ALL_COVERAGE: ${{ inputs.all_coverage }}\n      REQUIRE_COVERAGE: ${{ inputs.require_coverage }}\n    steps:\n      - name: NHWC-32bit-test\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            srun --job-name=${GITHUB_JOB} bash -c \"export USE_COVERAGE=ON && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} \\\n            && source ${ENV_PATH}/pt2.0_diopi && cd diopi_test/python && python main.py --mode gen_case --fname batch_norm --nhwc &&\n            python main.py --mode gen_case --fname index_select --four_bytes && python main.py --mode gen_case --fname arange --four_bytes && ${run_test} main.py --mode run_test\"\n            if [ \"${ALL_COVERAGE}\" = \"ON\" ]; then\n            bash /mnt/cache/share/platform/dep/sonar/coverage_DIOPI_nv.sh ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} ${GITHUB_RUN_NUMBER} || echo \"get coverage fail\"\n            fi\n          else\n            ssh SH1424 \"\"\"\n            set -e\n            export USE_COVERAGE=ON\n            source ${ENV_PATH}/pt2.0_diopi && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1}\n            srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_V100} --time=20 --gres=gpu:1 bash -c 'cd diopi_test/python && python main.py --mode gen_case --fname batch_norm --nhwc &&\n            python main.py --mode gen_case --fname index_select --four_bytes && python main.py --mode gen_case --fname arange --four_bytes && ${run_test} main.py --mode run_test'\n            if [ \"${ALL_COVERAGE}\" = \"ON\" ]; then\n            bash /mnt/cache/share/platform/dep/sonar/coverage_DIOPI_nv.sh ${NFS_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} ${GITHUB_RUN_NUMBER} || echo \"get coverage fail\"\n            fi\n            \"\"\"\n          fi\n      - name: test\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            srun --job-name=${GITHUB_JOB} bash -c \"export CI=true && export LD_LIBRARY_PATH=\\$LD_LIBRARY_PATH:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/impl/lib \\\n            && source ${ENV_PATH}/pt2.0_diopi && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} \\\n            && cd diopi_test/python && python main.py --mode gen_case && python main.py --mode run_test\"\n          else\n            ssh SH1424 \"\"\"\n            set -e\n            source ${ENV_PATH}/pt2.0_diopi && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1}\n            export LD_LIBRARY_PATH=\\$LD_LIBRARY_PATH:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/impl/lib\n            echo \\$LD_LIBRARY_PATH\n            srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_V100} --time=20 --gres=gpu:1 bash -c 'cd diopi_test/python && python main.py --mode gen_case &&\n            python main.py --mode run_test'\n            \"\"\"\n          fi\n      - name: increment coverage check\n        if: ${{ contains( github.event_name, 'pull_request' ) && contains( github.base_ref, 'main' ) }}\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            source ${ENV_PATH}/pt2.0_diopi  && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1}\n            bash scripts/increment_coverage.sh ${REQUIRE_COVERAGE}\n          else\n            ssh SH1424 \"\"\"\n            set -e\n            source ${ENV_PATH}/pt2.0_diopi && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1}\n            bash scripts/increment_coverage.sh ${REQUIRE_COVERAGE}\n            \"\"\"\n          fi", "state": "active", "repository": "DeepLink-org/DIOPI"}
{"mined_at": "2024-07-15T18:11:41.199819", "created_at": "2023-12-19T05:59:21+01:00", "updated_at": "2023-12-19T06:14:11+01:00", "name": "runs on sco", "path": ".github/workflows/_runs-on-sco.yml", "contents": null, "state": "active", "repository": "DeepLink-org/DIOPI"}
{"mined_at": "2024-07-15T18:11:42.288050", "created_at": "2023-05-24T06:54:11+02:00", "updated_at": "2023-05-24T08:10:05+02:00", "name": "cpp-linter", "path": ".github/workflows/cpp-linter.yml", "contents": "name: cpp-linter\n\non: pull_request\n\njobs:\n  cpp-linter:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: cpp-linter/cpp-linter-action@v2\n        id: linter\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          version: 16\n          style: file\n          tidy-checks: -*\n          ignore: impl/third_party\n\n      - name: Fail fast?!\n        if: steps.linter.outputs.checks-failed > 0\n        run: |\n          echo \"Some files failed the linting checks!\"\n          exit 1\n\n        # for actual deployment\n        # run: exit 1\n", "state": "active", "repository": "DeepLink-org/DIOPI"}
{"mined_at": "2024-07-15T18:11:43.457210", "created_at": "2023-12-06T10:30:43+01:00", "updated_at": "2024-06-28T00:04:49+02:00", "name": "diopi gen data", "path": ".github/workflows/data-cron.yml", "contents": "name: diopi gen data\non:\n  workflow_dispatch:\n#  push:\n#    branches:\n#      - \"wgs/*\"\n  schedule:\n    - cron: '01 22 * * *'\n\nconcurrency:\n  group: data-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  CLUSTER_V100: SCO\n  CLUSTER_CAMB: CAMB\n  CLUSTER_ASCEND_910B: ASCEND-910B\n  CLUSTER_TOPSRIDER: TOPSRIDER\n  CLUSTER_SUPA: SUPA\n  DEEPLINK_PATH: '/mnt/cache/share/deeplinkci/github/${{ github.repository }}'\n  HASH_FILE: 'diopi/diopi_case_items.cfg'\n  HASH_FILE2: 'diopi_test/python/conformance/customized_test.py'\n  DATA_DIR: '/mnt/cache/share/deeplinkci/gen-data'\n  ENV_PATH: '/mnt/cache/share/platform/env'\n  GEN_DATA: 'diopi_test/python/cache'\n  ENV_NAME: 'pt2.0_diopi'\n\njobs:\n  Clone:\n    name: checkout code\n    runs-on: tps-diopi-ci\n    steps:\n      - name: clone repo\n        run: |\n          set -e\n          cd ${GITHUB_WORKSPACE} && rm -rf source\n          git clone ${{ github.event.repository.clone_url }} source\n          cd source && git submodule update --init --recursive\n      - name: Rsync to Server\n        run: |\n          ssh ${CLUSTER_V100} \"mkdir -p ${DATA_DIR} && cd ${DATA_DIR} && rm -rf source && mkdir source\" \\\n          && rsync -a --delete ${GITHUB_WORKSPACE}/source/ ${CLUSTER_V100}:${DATA_DIR}/source/\n\n  Gen-Data:\n    name: Gen-Data\n    runs-on: tps-sco-ci\n    needs: [Clone]\n    steps:\n      - name: gen-test-data\n        run: |\n          set -e\n          srun bash -c \"cd ${DATA_DIR}/source/diopi_test/python \\\n          && source ${ENV_PATH}/pt2.0_diopi \\\n          && python main.py --mode gen_data \\\n          || ( cd ${DATA_DIR}/source/diopi_test/python && git clean -xdf ${GEN_DATA} && exit 1 ) \"\n\n  CheckAndRsync:\n    name: check and rsync\n    runs-on: tps-diopi-ci\n    needs: Gen-Data\n    outputs:\n      output: ${{ steps.get_gen_data.outputs.to_gen_data }}\n    steps:\n      - name: check\n        id: get_gen_data\n        run: |\n          ssh ${CLUSTER_V100} \"\"\"\n          set -e\n          cd ${DATA_DIR}\n          if [[ -f \"pre_hash\" ]] && [[ -f \"pre_hash2\" ]]; then\n            sha1sum source/${GEN_DATA}/${HASH_FILE} > new_hash\n            diff_output=\\$(diff -q --ignore-all-space \"new_hash\" \"pre_hash\" ) && echo \"false\" > to_gen_data  || echo \"true\" > to_gen_data\n            sha1sum source/${HASH_FILE2} > new_hash2\n            diff_output=\\$(diff -q --ignore-all-space \"new_hash2\" \"pre_hash2\" ) || echo \"true\" > to_gen_data\n          else\n            echo \"true\" > to_gen_data\n          fi\n          cp new_hash pre_hash\n          cp new_hash2 pre_hash2\n          \"\"\"\n          export file_path=\"/home/autolink/rsync/sourcecode\"\n          rsync -a --delete ${CLUSTER_V100}:${DATA_DIR}/to_gen_data ${file_path}/\n          if grep -q \"true\" \"${file_path}/to_gen_data\"; then\n            echo \"to_gen_data=true\" >> \"$GITHUB_ENV\"\n          else\n            echo \"to_gen_data=false\" >> \"$GITHUB_ENV\"\n          fi\n      - name: rsync\n        if: ${{ env.to_gen_data == 'true' }}\n        run: |\n          set -e\n          ssh ${CLUSTER_CAMB} \"\"\"\n          mkdir -p ${DATA_DIR}/source/${GEN_DATA}\n          rsync -a --delete ${CLUSTER_V100}:${DATA_DIR}/source/${GEN_DATA}/diopi/ ${DATA_DIR}/source/${GEN_DATA}/diopi/\n          \"\"\"\n          # ssh ${CLUSTER_ASCEND_910B} \"\"\"\n          # mkdir -p ${DATA_DIR}/source/${GEN_DATA}\n          # rsync -a --delete ${CLUSTER_V100}:${DATA_DIR}/source/${GEN_DATA}/diopi/ ${DATA_DIR}/source/${GEN_DATA}/diopi/\n          # \"\"\"\n          source ~/Aoss_env.sh\n          ads-cli  --dryrun --deleteSrc cp  s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss.cn-sh-01c.sensecoreapi-oss.cn${DATA_DIR}/source/${GEN_DATA}/diopi/ /dev/null 2>&1 >/dev/null\n          ads-cli cp ${DATA_DIR}/source/${GEN_DATA}/diopi/ s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss.cn-sh-01c.sensecoreapi-oss.cn${DATA_DIR}/source/${GEN_DATA}/diopi/\n          # ssh ${CLUSTER_SUPA} \"\"\"\n          # rsync -a ${CLUSTER_V100}:${DATA_DIR}/source/${GEN_DATA}/diopi/ ${DATA_DIR}/source/${GEN_DATA}/diopi/\n          # \"\"\"\n\n  Copy-Gen-Data-Ascend-910b:\n    name: Copy-Gen-Data-Ascend-910b\n    runs-on: tps-ascend-ci-910b\n    needs: CheckAndRsync\n    if: needs.CheckAndRsync.outputs.to_gen_data == 'true'\n    steps:\n      - name: Copy Gen-Data\n        run: |\n          set -e\n          source ~/Aoss_env.sh \n          ads-cli cp s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss-internal.cn-sh-01c.sensecoreapi-oss.cn${DATA_DIR}/source/${GEN_DATA}/diopi/ ${DATA_DIR}/source/${GEN_DATA}/diopi/", "state": "active", "repository": "DeepLink-org/DIOPI"}
{"mined_at": "2024-07-15T18:11:44.679309", "created_at": "2023-04-23T07:19:50+02:00", "updated_at": "2023-04-23T07:19:50+02:00", "name": "build diopi docker", "path": ".github/workflows/docker.yml", "contents": "name: build diopi docker\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - '**'\n\nenv:\n  PJLAB_Docker: Docker191\n  TOKEN: ${{ secrets.PJ_GITLAB_TOKEN }}\n  WORK_DIR: \"/home/wugeshui/diopi/senseparrots.dockerfile/diopi\"\n  REF_NAME: '${{ github.ref_name }}'\n\njobs:\n  Buildimage:\n    name: buildimage\n    runs-on: github-parrots-docker-pjlab\n    steps:\n      - name: buildimage\n        run: |\n          ssh ${PJLAB_Docker} \"\"\"\n          set -e\n          cd ${WORK_DIR} && git pull\n          docker build -t registry.sensetime.com/parrots/parrots:pat_diopi_${REF_NAME} -f Dockerfile --build-arg GITLAB_TOKEN=${TOKEN} --build-arg Branch=${REF_NAME} .\n          docker push registry.sensetime.com/parrots/parrots:pat_diopi_${REF_NAME}\n          \"\"\"", "state": "active", "repository": "DeepLink-org/DIOPI"}
{"mined_at": "2024-07-15T18:11:45.794250", "created_at": "2023-04-14T11:36:13+02:00", "updated_at": "2024-07-11T07:02:37+02:00", "name": "diopi ci", "path": ".github/workflows/main.yml", "contents": "name: diopi ci\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n      - dev_v0.25\n  pull_request:\n    paths-ignore:\n      - \"**.md\"\n      - \".github/ISSUE_TEMPLATE/**\"\n      - \".git*\"\n      - \"CODE_OF_CONDUCT**\"\n\nenv:\n  NFS_PATH: '/mnt/cache/share/parrotsci/github/cibuild/${{ github.repository }}'\n  NFS_PATH_LUSTRE: '/mnt/lustre/share/parrotsci/github/cibuild/${{ github.repository }}'\n  DEEPLINK_PATH: '/mnt/cache/share/deeplinkci/github/${{ github.repository }}'\n  ENV_PATH: '/mnt/cache/share/platform/env'\n  ENV_NAME: 'pt2.0_diopi'\n  ENV_NAME_MMCV: 'pt1.11v1'\n  GPU_REQUESTS: 1\n  SLURM_PAR_SH1988: ${{ vars.SLURM_PAR_SH1984 != '' && vars.SLURM_PAR_SH1984 || 'pat_rd' }}\n  SLURM_PAR_SH1424: ${{ vars.SLURM_PAR_SH1424 != '' && vars.SLURM_PAR_SH1424 || 'pat_rd' }}\n  SLURM_PAR_CAMB: ${{ vars.SLURM_PAR_CAMB != '' && vars.SLURM_PAR_CAMB || 'camb_mlu370_m8 --exclude HOST-10-142-11-120,HOST-10-142-11-126' }}\n  CLUSTER_V100: SCO\n  CLUSTER_1424: SH1424\n  CLUSTER_CAMB: CAMB\n  CLUSTER_ASCEND: ASCEND\n  CLUSTER_ASCEND_910B: ASCEND-910B\n  CLUSTER_TOPSRIDER: TOPSRIDER\n  CLUSTER_SUPA: SUPA\n  # CLUSTER_KLX: KUNLUNXIN\n  BUILD_TEST1: build_test\n  BUILD_TEST2: build_test_dy\n  BUILD_TEST3: build_mmcv_ext\n  GEN_DATA: diopi_test/python/cache\n  GEN_DATA_PATH: \"/mnt/cache/share/deeplinkci/gen-data/source\"\n  ALL_COVERAGE: ${{ (contains( github.ref, 'main') || startsWith(github.ref, 'refs/heads/v') || startsWith(github.ref, 'refs/heads/dev')) && 'ON' || 'OFF' }}\n  REQUIRE_COVERAGE: ${{ vars.REQUIRE_COVERAGE != '' && vars.REQUIRE_COVERAGE || '0' }}\n\nconcurrency:\n  group: ${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  Rsync:\n    name: Rsync code\n    runs-on: tps-diopi-ci\n    outputs:\n      output: ${{ steps.set-run-vars.outputs.RUN_RESULT }}\n      getrunner: ${{ steps.set-run-vars.outputs.GETRUNNER }}\n      getcluster: ${{ steps.set-run-vars.outputs.GETCLUSTER }}\n    steps:\n      - name: clone repo\n        run: |\n          cd ${GITHUB_WORKSPACE} && rm -rf DIOPI* source\n          if [ -n \"${{ github.event.pull_request.head.repo.full_name }}\" ] && [[ ! \"${{ github.event.pull_request.head.repo.full_name }}\" == \"${{ github.repository }}\"  ]]; then\n            git clone ${{ github.event.pull_request.head.repo.ssh_url }} source\n            cd ${GITHUB_WORKSPACE}/source && git checkout ${{ github.event.pull_request.head.sha }}\n            git remote add mainrepo git@github.com:${GITHUB_REPOSITORY}.git\n            git fetch  mainrepo && git merge --no-edit mainrepo/${{ github.base_ref }}\n          else\n            git clone https://github.com/DeepLink-org/DIOPI.git source && cd source\n            if [ $GITHUB_EVENT_NAME == \"pull_request\" ]; then\n            git checkout ${{ github.event.pull_request.head.sha }} && git merge --no-edit ${{ github.base_ref }}\n            else\n            git checkout ${{ github.sha }}\n            fi\n          fi\n          git submodule update --init --recursive\n      - name: Set output variables\n        id: set-run-vars\n        run: |\n          PR_NUMBER=\"${{ github.event.pull_request.number || 0 }}\"\n          cd ${GITHUB_WORKSPACE}/source && RUN_RESULT=$(python3 scripts/filter_ci.py ${PR_NUMBER})\n          cd ~/rsync && GETRUNNER=$(cat cuda_runner)\n          GETCLUSTER=\"SCO\"\n          if [[ ${GETRUNNER} == *diopi* ]]; then\n              RUN_RESULT=\"${RUN_RESULT}_GENDATA\"\n              GETCLUSTER=\"SH1424\"\n          fi\n          echo \"RUN_RESULT=$RUN_RESULT\" >> \"$GITHUB_OUTPUT\"\n          echo \"GETRUNNER=$GETRUNNER\" >> \"$GITHUB_OUTPUT\"\n          echo \"GETCLUSTER=$GETCLUSTER\" >> \"$GITHUB_OUTPUT\"\n      - name: Rsync to Server\n        run: |\n          ssh ${CLUSTER_V100} \"mkdir -p ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source\" \\\n          && rsync -a --delete ${GITHUB_WORKSPACE}/source/ ${CLUSTER_V100}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ || echo \"failure to connect to sh1988\"\n          ssh ${CLUSTER_CAMB} \"mkdir -p ${NFS_PATH}/${GITHUB_RUN_NUMBER}/source\" \\\n          && rsync -a --delete ${GITHUB_WORKSPACE}/source/ ${CLUSTER_CAMB}:${NFS_PATH}/${GITHUB_RUN_NUMBER}/source/ || echo \"failure to connect to camb\"\n          ssh ${CLUSTER_TOPSRIDER} \"mkdir -p ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source\" \\\n          && rsync -a --delete ${GITHUB_WORKSPACE}/source/ ${CLUSTER_TOPSRIDER}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ || echo \"failure to connect to topsrider\"\n          ssh ${CLUSTER_SUPA} \"mkdir -p ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source\" \\\n          && rsync -a --delete ${GITHUB_WORKSPACE}/source/ ${CLUSTER_SUPA}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ || echo \"failure to connect to supa\"\n          ssh ${CLUSTER_1424} \"mkdir -p ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source\" \\\n          && rsync -a --delete ${GITHUB_WORKSPACE}/source/ ${CLUSTER_1424}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ || echo \"failure to connect to sh1424\"\n          # ssh ${CLUSTER_ASCEND_910B} \"mkdir -p ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source\" \\\n          # && rsync -a --delete ${GITHUB_WORKSPACE}/source/ ${CLUSTER_ASCEND_910B}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ || echo \"failure to connect to ascend 910b\"\n          source ~/Aoss_env.sh\n          ads-cli cp ${GITHUB_WORKSPACE}/source/ s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/\n          # ssh ${CLUSTER_KLX} \"mkdir -p ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source\" \\\n          # && rsync -a --delete ${GITHUB_WORKSPACE}/source/ ${CLUSTER_KLX}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ || echo \"failure to connect to kunlunxin\"\n\n  Runs-On-Nv:\n    name: runs on nv\n    needs: [Rsync]\n    uses: ./.github/workflows/_runs-on-nv-step1.yml\n    with:\n      runner: ${{ needs.Rsync.outputs.getrunner }}\n      run_result: ${{ needs.Rsync.outputs.output }}\n\n  Op-Test-Nvidia:\n    name: Op-Test-Nvidia\n    needs: [Rsync, Runs-On-Nv]\n    if: ${{ contains( needs.Rsync.outputs.output, 'NV' ) }}\n    uses: ./.github/workflows/_runs-on-nv-step2.yml\n    with:\n      runner: ${{ needs.Rsync.outputs.getrunner }}\n      all_coverage: ${{ (contains( github.ref, 'main') || startsWith(github.ref, 'refs/heads/v') || startsWith(github.ref, 'refs/heads/dev')) && 'ON' || 'OFF' }}\n      require_coverage: ${{ vars.REQUIRE_COVERAGE != '' && vars.REQUIRE_COVERAGE || '0' }}\n\n  Build-Nvidia-A100:\n    name: Build-Nvidia-A100\n    runs-on:  tps-diopi-ci\n    needs: [Rsync]\n    steps:\n      - name: build\n        run: |\n          ssh ${CLUSTER_1424} \"\"\"\n          set -ex\n          export USE_COVERAGE=ON\n          source /mnt/cache/share/platform/env/${ENV_NAME}\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${BUILD_TEST1}_A100 && cp -R source ${BUILD_TEST1}_A100 && cd ${BUILD_TEST1}_A100\n          srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_SH1424} --time=10 bash -c 'cd impl && bash scripts/build_impl.sh torch' || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${BUILD_TEST1}_A100 && exit 1 )\n          \"\"\"\n\n  Build-Camb:\n    name: Build-Camb\n    runs-on: tps-diopi-ci\n    needs: [Rsync]\n    if: ${{ contains( needs.Rsync.outputs.output, 'CAMB' ) }}\n    steps:\n      - name: Build\n        run: |\n          ssh ${CLUSTER_CAMB} \"\"\"\n          set -e\n          export USE_COVERAGE=ON\n          cd ${NFS_PATH}/ && ls -al && find ${NFS_PATH}/ -maxdepth 1 -mmin +300 -type d |xargs rm -rf\n          source /mnt/cache/share/platform/env/${ENV_NAME}\n          cd ${NFS_PATH_LUSTRE}/${GITHUB_RUN_NUMBER} && rm -rf ${BUILD_TEST1} && cp -R source ${BUILD_TEST1} && cd ${BUILD_TEST1}\n          srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_CAMB} --time=10 bash -c 'cd impl && bash scripts/build_impl.sh camb' || ( cd ${NFS_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${BUILD_TEST1} && exit 1 )\n          \"\"\"\n      - name: clang-tidy\n        run: |\n          ssh ${CLUSTER_CAMB} \"\"\"\n          set -e\n          source /mnt/cache/share/platform/env/${ENV_NAME}\n          cd ${NFS_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1}\n          srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_CAMB} --time=20 bash -c 'cd impl && bash scripts/ci_script.sh clang-tidy' || ( cd ${NFS_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${BUILD_TEST1} && exit 1 )\n          \"\"\"\n\n  # Build-Mmcv-Ext-Nvidia:\n  #   name: Build-Mmcv-Ext-Nvidia\n  #   runs-on: tps-diopi-ci\n  #   needs: [Rsync]\n  #   if: ${{ contains( needs.Rsync.outputs.output, 'NV' ) }}\n  #   steps:\n  #     - name: build\n  #       run: |\n  #         ssh ${CLUSTER_1988} \"\"\"\n  #         set -e\n  #         source ${ENV_PATH}/github_bashrc && source /mnt/cache/share/platform/env/${ENV_NAME_MMCV}\n  #         cd ${NFS_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${BUILD_TEST3} && cp -R source ${BUILD_TEST3} && cd ${BUILD_TEST3}\n  #\n  #         srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_SH1988} --time=10 ls && cd diopi_test && bash scripts/build_mmcv.sh mmcv_ext || ( cd ${NFS_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${BUILD_TEST3} && exit 1 )\n  #         \"\"\"\n\n  # Op-Test-Mmcv-Ext-Nvidia:\n  #   name: Op-Test-Mmcv-Ext-Nvidia\n  #   runs-on: tps-diopi-ci\n  #   needs: [Build-Mmcv-Ext-Nvidia]\n  #   if: ${{ contains( needs.Rsync.outputs.output, 'NV' ) }}\n  #   steps:\n  #     - name: test\n  #       run: |\n  #         ssh ${CLUSTER_1988} \"\"\"\n  #         set -e\n  #\n  #         source ${ENV_PATH}/github_bashrc && source /mnt/cache/share/platform/env/${ENV_NAME_MMCV}\n  #         cd ${NFS_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST3}\n  #         pip install -U pytest\n  #         srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_SH1988} --time=40 --gres=gpu:${GPU_REQUESTS} ls && cd diopi_test && bash scripts/test_mmcv_ext.sh CUDA \\\n  #         && cd ${NFS_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${BUILD_TEST3} || ( cd ${NFS_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${BUILD_TEST3} && exit 1 )\n  #         \"\"\"\n\n\n  Gen-Data-Op-Test-A100:\n    name: Gen-Data-Op-Test-A100\n    runs-on: tps-diopi-ci\n    needs: [Build-Nvidia-A100]\n    if: ${{ contains( needs.Rsync.outputs.output, 'NV' ) }}\n    steps:\n      - name: gen-test-data\n        run: |\n          ssh ${CLUSTER_1424} \"\"\"\n          set -e\n          source /mnt/cache/share/platform/env/${ENV_NAME}\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1}_A100 && cd diopi_test/python && ls &&\n          srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_SH1424} --time=20 --gres=gpu:${GPU_REQUESTS} bash -c 'python main.py --mode gen_data' \\\n          || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}_A100 && git clean -xdf ${GEN_DATA} && exit 1 )\n          \"\"\"\n      - name: test-op\n        run: |\n          ssh ${CLUSTER_1424} \"\"\"\n          set -e\n          source /mnt/cache/share/platform/env/${ENV_NAME} && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1}_A100\n          export LD_LIBRARY_PATH=\\$LD_LIBRARY_PATH:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}_A100/impl/lib\n          echo \\$LD_LIBRARY_PATH\n          srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_SH1424} --time=20 --gres=gpu:${GPU_REQUESTS} bash -c 'cd diopi_test/python && python main.py --mode gen_case && python main.py --mode run_test' \\\n          && git clean -xdf ${GEN_DATA} || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}_A100 && git clean -xdf ${GEN_DATA} && exit 1 )\n          \"\"\"\n\n  # Rt-Test-Nvidia:\n  #   name: Rt-Test-Nvidia\n  #   runs-on: tps-diopi-ci\n  #   needs: Build-Nvidia\n  #   if: ${{ contains( needs.Rsync.outputs.output, 'NV' ) }}\n  #   steps:\n  #     - name: test\n  #       run: |\n  #         ssh ${CLUSTER_1988} \"\"\"\n  #         set -e\n  #         source ${ENV_PATH}/github_bashrc && source /mnt/cache/share/platform/env/${ENV_NAME}\n  #         cd ${NFS_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1}\n  #         srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_SH1988} --time=10 --gres=gpu:${GPU_REQUESTS} bash -c 'cd diopi_test/python && \\\n  #         python main.py --mode utest && python main.py --mode utest_diopi_test'\n  #         \"\"\"\n\n  Op-Test-Camb:\n    name: Op-Test-Camb\n    runs-on: tps-diopi-ci\n    needs: [Rsync, Runs-On-Nv, Build-Camb]\n    if: ${{ contains( needs.Rsync.outputs.output, 'CAMB' ) }}\n    env:\n      run_test: \"coverage run -p\"\n      CLUSTER_V100: ${{ needs.Rsync.outputs.getcluster }}\n    steps:\n      - name: test\n        run: |\n          ssh ${CLUSTER_CAMB} \"\"\"\n          set -e\n          export USE_COVERAGE=ON\n          cd ${NFS_PATH}/${GITHUB_RUN_NUMBER}\n          if [[ \\\"${{ needs.Rsync.outputs.output }}\\\" == *GENDATA* ]];then\n            rsync -a ${CLUSTER_V100}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/${GEN_DATA} ${NFS_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/\n          else\n            ln -s ${GEN_DATA_PATH}/${GEN_DATA}/diopi ${NFS_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/cache/\n          fi\n          source /mnt/cache/share/platform/env/${ENV_NAME} && cd ${NFS_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1}\n          srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_CAMB} --time=20 --gres=mlu:${GPU_REQUESTS} bash -c 'cd diopi_test/python && python main.py --mode gen_case --impl_folder ${NFS_PATH_LUSTRE}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/impl/camb/ && \\\n          ${run_test} main.py --mode run_test' && cd ${NFS_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} && git clean -xdf ${GEN_DATA} || ( cd ${NFS_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} && git clean -xdf ${GEN_DATA} && exit 1 )\n          if [ \"${ALL_COVERAGE}\" = \"ON\" ]; then\n          bash /mnt/lustre/share/platform/dep/sonar/coverage_DIOPI_camb.sh ${NFS_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} ${GITHUB_RUN_NUMBER} ${USE_COVERAGE}|| echo \"get coverage fail\"\n          fi\n          \"\"\"\n      - name: increment coverage check\n        if: ${{ contains( github.event_name, 'pull_request' ) && contains( github.base_ref, 'main' ) }}\n        run: |\n          ssh ${CLUSTER_CAMB} \"\"\"\n          set -e\n          source /mnt/cache/share/platform/env/${ENV_NAME} && cd ${NFS_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1}\n          bash scripts/increment_coverage.sh ${REQUIRE_COVERAGE}\n          \"\"\"\n\n  # Rt-Test-Camb:\n  #   name: Rt-Test-Camb\n  #   runs-on: tps-diopi-ci\n  #   needs: Build-Camb\n  #   if: ${{ contains( needs.Rsync.outputs.output, 'CAMB' ) }}\n  #   steps:\n  #     - name: test\n  #       run: |\n  #         ssh ${CLUSTER_CAMB} \"\"\"\n  #         set -e\n  #         source /mnt/cache/share/platform/env/${ENV_NAME} && cd ${NFS_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1}\n  #         cd diopi_test/python\n  #         srun --job-name=${GITHUB_JOB} --partition=${SLURM_PAR_CAMB} --time=10 --gres=mlu:${GPU_REQUESTS} python main.py --mode utest\n  #         \"\"\"\n\n  Build-Ascend-910b:\n    name: Build-Ascend-910b\n    runs-on: tps-ascend-ci-910b\n    needs: [Rsync]\n    if: ${{ contains( needs.Rsync.outputs.output, 'ASCEND' ) }}\n    steps:\n      - name: COPY Source\n        run: |\n           set -e\n           source ~/Aoss_env.sh\n           ads-cli cp s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss-internal.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/\n           ads-cli  --dryrun --deleteSrc cp  s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss-internal.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ /dev/null 2>&1 >/dev/null\n      - name: build\n        run: |\n          set -e\n          export USE_COVERAGE=ON\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${BUILD_TEST1} && cp -R source ${BUILD_TEST1} && cd ${BUILD_TEST1}\n          cd impl && sh scripts/build_impl.sh ascend\n      - name: clang-tidy\n        run: |\n         set -e\n         cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}\n         cd impl && bash scripts/ci_script.sh clang-tidy-ascend || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${BUILD_TEST1} && exit 1 )\n\n  Op-Test-Ascend-910b:\n    name: Op-Test-Ascend-910b\n    runs-on: tps-ascend-ci-910b\n    needs: [Rsync, Runs-On-Nv, Build-Ascend-910b]\n    if: ${{ contains( needs.Rsync.outputs.output, 'ASCEND' ) }}\n    env:\n      run_test: \"python\"\n      CLUSTER_V100: ${{ needs.Rsync.outputs.getcluster }}\n    steps:\n      - name: test\n        run: |\n          set -e\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}\n          if [[ \\\"${{ needs.Rsync.outputs.output }}\\\" == *GENDATA* ]];then\n            # rsync -a ${CLUSTER_V100}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/${GEN_DATA}/diopi ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/cache/\n            source ~/Aoss_env.sh\n            ads-cli cp s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss-internal.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/cache/ ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/cache/\n            ads-cli  --dryrun --deleteSrc cp  s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss-internal.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/cache/ /dev/null 2>&1 >/dev/null\n          else\n            ln -s ${GEN_DATA_PATH}/${GEN_DATA}/diopi ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/cache/\n          fi\n          source impl/scripts/pick_card.sh ascend\n          cd diopi_test/python && python main.py --mode gen_case --impl_folder ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/impl/ascend/ && export DIOPI_USE_ACLNN=1 && ${run_test} main.py --mode run_test \\\n          && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} && git clean -xdf ${GEN_DATA} || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} && git clean -xdf ${GEN_DATA} && exit 1 )\n          if [ \"${ALL_COVERAGE}\" = \"ON\" ]; then\n              bash /mnt/cache/share/platform/dep/sonar/coverage_DIOPI.sh ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} || echo \"get coverage fail\"\n          fi\n      - name: increment coverage check\n        if: ${{ contains( github.event_name, 'pull_request' ) && contains( github.base_ref, 'main' ) }}\n        run: |\n          set -e\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}\n          bash scripts/increment_coverage.sh ${REQUIRE_COVERAGE}\n  # Rt-Test-Ascend-910b:\n  #   name: Rt-Test-Ascend-910b\n  #   runs-on: tps-ascend-ci-910b\n  #   needs: Build-Ascend-910b\n  #   if: ${{ contains( needs.Rsync.outputs.output, 'ASCEND' ) }}\n  #   steps:\n  #     - name: test\n  #       run: |\n  #         set -e\n  #         cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}\n  #         cd diopi_test/python && python main.py --mode utest\n\n  Build-Topsrider:\n    name: Build-Topsrider\n    runs-on: tps-topsrider-ci\n    needs: Rsync\n    if: contains( needs.Rsync.outputs.output, 'TOPSRIDER' )\n    steps:\n      - name: build\n        run: |\n          set -e\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${BUILD_TEST1} && cp -R source ${BUILD_TEST1} && cd ${BUILD_TEST1}\n          export USE_COVERAGE=ON\n          export DIOPI_BUILD_TESTRT=ON\n          cd impl && mkdir lib\n          cp -R /home/deeplink/*.so lib/\n          cp -R /home/deeplink/prebuilt topsrider/\n          sh scripts/build_impl.sh tops\n\n  Op-Test-Topsrider:\n    name: Op-Test-Topsrider\n    runs-on: tps-topsrider-ci\n    needs: Build-Topsrider\n    if: contains( needs.Rsync.outputs.output, 'TOPSRIDER' )\n    steps:\n      - name: test\n        run: |\n          set -e\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}\n          cd diopi_test/python && mkdir -p cache/diopi\n          ln -sf /mnt/cache/share/deeplinkci/data/inputs ./cache/diopi && ln -sf /mnt/cache/share/deeplinkci/data/outputs ./cache/diopi && ln -sf /mnt/cache/share/deeplinkci/data/diopi_case_items.cfg ./cache/diopi\n          python main.py --mode gen_case --impl_folder ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/impl/topsrider/\n          python main.py --mode run_test\n          if [ \"${ALL_COVERAGE}\" = \"ON\" ]; then\n              bash /mnt/cache/share/platform/dep/sonar/coverage_DIOPI.sh ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} || echo \"get coverage fail\"\n          fi\n      - name: increment coverage check\n        if: ${{ contains( github.event_name, 'pull_request' ) && contains( github.base_ref, 'main' ) }}\n        run: |\n          set -e\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}\n          bash scripts/increment_coverage.sh ${REQUIRE_COVERAGE}\n\n  # Rt-Test-Topsrider:\n  #   name: Rt-Test-Topsrider\n  #   runs-on: tps-topsrider-ci\n  #   needs: Build-Topsrider\n  #   if: contains( needs.Rsync.outputs.output, 'TOPSRIDER' )\n  #   steps:\n  #     - name: build\n  #       run: |\n  #         set -e\n  #         cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}\n  #         cd diopi_test/python && ln -sf /mnt/cache/share/deeplinkci/data/ data && python main.py --mode utest\n\n  Build-Supa:\n    name: Build-Supa\n    runs-on: tps-diopi-ci\n    needs: [Rsync]\n    if: ${{ contains( needs.Rsync.outputs.output, 'SUPA' ) }}\n    steps:\n      - name: Build\n        run: |\n          ssh ${CLUSTER_SUPA} \"\"\"\n          set -e\n          cd ${NFS_PATH}/ && ls -al && find ${DEEPLINK_PATH}/ -maxdepth 1 -mmin +300 -type d |xargs rm -rf\n          source /mnt/cache/share/platform/env/pt2.0_diopi\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${BUILD_TEST1} && cp -R source ${BUILD_TEST1} && cd ${BUILD_TEST1}\n\n          echo \"no partitions, just execute the script directly on the machine\"\n          \"\"\"\n\n  Op-Test-Supa:\n    name: Op-Test-Supa\n    runs-on: tps-diopi-ci\n    needs: [Runs-On-Nv, Build-Supa]\n    if: ${{ contains( needs.Rsync.outputs.output, 'SUPA' ) }}\n    steps:\n      - name: test\n        run: |\n          ssh ${CLUSTER_SUPA} \"\"\"\n          set -e\n          export USE_COVERAGE=ON\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}\n          echo \"rsync -a ${CLUSTER_V100}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/${GEN_DATA} ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/diopi_test/python/\"\n          source /mnt/cache/share/platform/env/pt2.0_diopi && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && cd ${BUILD_TEST1}\n          echo \"test and clean, you can refer to the CAMB\"\n          \"\"\"\n\n  # Build-Kunlunxin:\n  #   name: Build-Kunlunxin\n  #   runs-on: tps-klx-ci\n  #   needs: Rsync\n  #   if: ${{ contains( needs.Rsync.outputs.output, 'KUNLUNXIN' ) }}\n  #   steps:\n  #     - name: Build\n  #       run: |\n  #         set -e\n  #         export USE_COVERAGE=ON\n  #         cd ${DEEPLINK_PATH}/ && ls -al && find ${DEEPLINK_PATH}/ -maxdepth 1 -mmin +300 -type d |xargs rm -rf\n  #         cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${BUILD_TEST1} && cp -R source ${BUILD_TEST1} && cd ${BUILD_TEST1}\n  #         source /mnt/cache/share/deeplinkci/env.sh\n  #         cd impl && bash scripts/build_impl.sh kunlunxin\n\n  # Op-Test-Kunlunxin:\n  #   name: Op-Test-Kunlunxin\n  #   runs-on: tps-klx-ci\n  #   needs: Build-Kunlunxin\n  #   if: ${{ contains( needs.Rsync.outputs.output, 'KUNLUNXIN' ) }}\n  #   steps:\n  #     - name: test\n  #       run: |\n  #         set -e\n  #         cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}\n  #         echo \"data is /mnt/cache/share/deeplinkci/data/\"\n  #         cd ${BUILD_TEST1}\n  #         cd diopi_test/python && mkdir -p cache/diopi\n  #         ln -sf /mnt/cache/share/deeplinkci/data/inputs ./cache/diopi && ln -sf /mnt/cache/share/deeplinkci/data/outputs ./cache/diopi && ln -sf /mnt/cache/share/deeplinkci/data/diopi_case_items.cfg ./cache/diopi\n  #         python main.py --mode gen_case --impl_folder ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}/impl/kunlunxin/\n  #         python main.py --mode run_test\n  #         if [ \"${ALL_COVERAGE}\" = \"ON\" ]; then\n  #            bash /mnt/cache/share/platform/dep/sonar/coverage_DIOPI.sh ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1} || echo \"get coverage fail\"\n  #         fi\n  #     - name: increment coverage check\n  #       if: ${{ contains( github.event_name, 'pull_request' ) && contains( github.base_ref, 'main' ) }}\n  #       run: |\n  #         set -e\n  #         cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${BUILD_TEST1}\n  #         bash scripts/increment_coverage.sh ${REQUIRE_COVERAGE}\n", "state": "active", "repository": "DeepLink-org/DIOPI"}
{"mined_at": "2024-07-15T18:11:46.776519", "created_at": "2024-01-29T07:40:28+01:00", "updated_at": "2024-01-29T07:40:28+01:00", "name": "runs on 1424", "path": ".github/workflows/runs-on-1424.yml", "contents": null, "state": "active", "repository": "DeepLink-org/DIOPI"}
{"mined_at": "2024-07-15T18:11:49.082899", "created_at": "2023-03-27T17:28:57+02:00", "updated_at": "2024-04-02T13:00:29+02:00", "name": "Docs", "path": ".github/workflows/documentation.yaml", "contents": "name: Docs\non: [push, pull_request, workflow_dispatch]\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: python environment setup\n        uses: actions/setup-python@v5.1.0\n        with: \n          python-version: \"3.11\"\n      - name: Install dependencies\n        run: |\n          pip install -r ./docs/requirements.txt\n      - name: Sphinx build\n        run: |\n          sphinx-build docs/source _build\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          publish_branch: gh-pages\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: _build/\n          force_orphan: true\n", "state": "active", "repository": "OptimalScale/LMFlow"}
{"mined_at": "2024-07-15T18:11:50.194710", "created_at": "2023-03-27T17:46:42+02:00", "updated_at": "2023-03-27T17:46:42+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "OptimalScale/LMFlow"}
{"mined_at": "2024-07-15T18:11:52.354741", "created_at": "2023-10-31T04:41:40+01:00", "updated_at": "2023-10-31T04:41:40+01:00", "name": "Auto Comment", "path": ".github/workflows/auto-comments.yml", "contents": null, "state": "active", "repository": "eosphoros-ai/DB-GPT"}
{"mined_at": "2024-07-15T18:11:53.347531", "created_at": "2024-06-21T18:54:48+02:00", "updated_at": "2024-06-27T09:40:46+02:00", "name": "Build Web Application", "path": ".github/workflows/build-web.yml", "contents": null, "state": "active", "repository": "eosphoros-ai/DB-GPT"}
{"mined_at": "2024-07-15T18:11:54.376380", "created_at": "2023-12-18T11:59:57+01:00", "updated_at": "2023-12-18T11:59:57+01:00", "name": "Close inactive issues", "path": ".github/workflows/close-issue.yml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"00 21 * * *\"\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v5\n        with:\n          days-before-issue-stale: 30\n          days-before-issue-close: 7 \n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue has been marked as `stale`, because it has been over 30 days without any activity.\"\n          close-issue-message: \"This issue bas been closed, because it has been marked as `stale` and there has been no activity for over 7 days.\"\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "eosphoros-ai/DB-GPT"}
{"mined_at": "2024-07-15T18:11:55.443134", "created_at": "2023-08-18T17:52:15+02:00", "updated_at": "2023-08-18T17:52:15+02:00", "name": "Push docker image", "path": ".github/workflows/docker-image-publish.yml", "contents": "\nname: Push docker image\n\non:\n  release:\n    types: [published]\n  workflow_dispatch: \n\npermissions:\n  contents: read\n\njobs:\n  build-image:\n    runs-on: ubuntu-latest\n    # run unless event type is pull_request\n    if: github.event_name != 'pull_request'\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build and push\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: ./docker/base/Dockerfile\n          platforms: linux/amd64\n          push: true\n          tags: eosphorosai/dbgpt:${{ github.ref_name }},eosphorosai/dbgpt:latest", "state": "active", "repository": "eosphoros-ai/DB-GPT"}
{"mined_at": "2024-07-15T18:11:56.559758", "created_at": "2023-09-06T11:02:54+02:00", "updated_at": "2023-09-06T11:02:54+02:00", "name": "Pull request labeler", "path": ".github/workflows/pr-labeler.yml", "contents": "name: Pull request labeler\n\non:\n  pull_request_target:\n    types: [opened, edited]\n\npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Label pull request\n        uses: release-drafter/release-drafter@v5\n        with:\n          disable-releaser: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "eosphoros-ai/DB-GPT"}
{"mined_at": "2024-07-15T18:11:57.682773", "created_at": "2023-04-29T17:30:32+02:00", "updated_at": "2023-04-29T17:30:32+02:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": "name: Pylint\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.event.number || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies and setup environment\n      run: make setup\n    - name: Check Python code style\n      run: make fmt-check\n    - name: Check Python code type\n      run: make mypy\n", "state": "active", "repository": "eosphoros-ai/DB-GPT"}
{"mined_at": "2024-07-15T18:11:58.811232", "created_at": "2023-04-29T17:30:57+02:00", "updated_at": "2023-04-29T17:30:57+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, data_privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n  workflow_dispatch: \n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}", "state": "active", "repository": "eosphoros-ai/DB-GPT"}
{"mined_at": "2024-07-15T18:11:59.833029", "created_at": "2023-09-06T11:02:54+02:00", "updated_at": "2023-09-06T11:02:54+02:00", "name": "Update draft releases", "path": ".github/workflows/release-drafter.yml", "contents": "name: Update draft releases\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\npermissions:\n  contents: write\n  pull-requests: read\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Draft DB-GPT release\n        uses: release-drafter/release-drafter@v5\n        with:\n          config-name: release-drafter.yml\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "eosphoros-ai/DB-GPT"}
{"mined_at": "2024-07-15T18:12:00.961439", "created_at": "2024-01-20T03:09:37+01:00", "updated_at": "2024-01-20T03:09:37+01:00", "name": "Trigger Auto Publish", "path": ".github/workflows/sync-docs.yaml", "contents": "name: Trigger Auto Publish\n\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  trigger-api:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Trigger Publish API\n        run: |\n          curl -X POST ${{secrets.PUBLISH_SECRET_API}} \\\n          -H \"Content-Type: application/json\" \\\n          -d '{\"tag\": \"${{ github.ref }}\"}'\n", "state": "active", "repository": "eosphoros-ai/DB-GPT"}
{"mined_at": "2024-07-15T18:12:02.093031", "created_at": "2023-12-19T13:32:32+01:00", "updated_at": "2023-12-20T03:04:22+01:00", "name": "Test Python", "path": ".github/workflows/test-python.yml", "contents": "name: Test Python\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - dbgpt/**\n      - pilot/meta_data/**\n      - .github/workflows/test-python.yml\n  push:\n    branches:\n      - main\n    paths:\n      - dbgpt/**\n      - pilot/meta_data/**\n      - .github/workflows/test-python.yml\n\nconcurrency:\n  group: ${{ github.event.number || github.run_id }}\n  cancel-in-progress: true\n\n#permissions:\n#  contents: read\n#  pull-requests: write\n#\njobs:\n  test-python:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        # TODO: Add windows-latest support\n        os: [ubuntu-latest, macos-latest]\n        python-version: [\"3.10\", \"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e \".[openai]\"\n          pip install -r requirements/dev-requirements.txt\n\n      - name: Run tests\n        run: |\n          pytest dbgpt --cov=dbgpt --cov-report=xml:coverage-${{ matrix.python-version }}-${{ matrix.os }}.xml --cov-report=html:htmlcov-${{ matrix.python-version }}-${{ matrix.os }} --junitxml=pytest_report-${{ matrix.python-version }}-${{ matrix.os }}.xml\n\n      - name: Generate coverage report summary\n        if: matrix.os == 'ubuntu-latest'\n        id: cov-report\n        run: |\n          coverage_file=\"coverage-${{ matrix.python-version }}-${{ matrix.os }}.xml\"\n          # Pase the coverage file and get the line rate for each package(two level)\n          coverage_summary=$(grep -oP '<package name=\"\\K[^\"]+' $coverage_file | awk -F\".\" '{ if (NF == 2) print $0 }' | while read -r package_name; do\n            line_rate=$(grep -oP \"<package name=\\\"$package_name\\\" line-rate=\\\"\\K[^\\\"]+\" $coverage_file)\n            echo \"$package_name line-rate: $line_rate\"\n          done)\n          echo \"Coverage Summary: $coverage_summary\"\n          echo \"::set-output name=summary::$coverage_summary\"\n\n      - name: Generate test report summary\n        if: matrix.os == 'ubuntu-latest'\n        id: test-report\n        run: |\n          test_file=\"pytest_report-${{ matrix.python-version }}-${{ matrix.os }}.xml\"\n          total_tests=$(grep -oP 'tests=\"\\K\\d+' $test_file)\n          failures=$(grep -oP 'failures=\"\\K\\d+' $test_file)\n          skipped=$(grep -oP 'skipped=\"\\K\\d+' $test_file)\n          test_summary=\"Total tests: $total_tests, Failures: $failures, Skipped: $skipped\"\n          echo \"Test Summary: $test_summary\"\n          echo \"::set-output name=summary::$test_summary\"\n\n# TODO: Add comment on PR\n#      - name: Comment on PR\n#        if: github.event_name == 'pull_request_target' && matrix.os == 'ubuntu-latest'\n#        env:\n#          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n#        run: |\n#          PR_COMMENT=\"## Test Coverage and Report Summary\\n${{ steps.cov-report.outputs.summary }}\\n${{ steps.test-report.outputs.summary }}\"\n#          PR_COMMENTS_URL=$(jq -r .pull_request.comments_url < \"$GITHUB_EVENT_PATH\")\n#          curl -s -S -H \"Authorization: token $GITHUB_TOKEN\" -H \"Content-Type: application/json\" -X POST --data \"{ \\\"body\\\": \\\"$PR_COMMENT\\\" }\" \"$PR_COMMENTS_URL\"\n#\n      - name: Upload test and coverage results\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: test-and-coverage-results-${{ matrix.python-version }}-${{ matrix.os }}\n          path: |\n            pytest_report-${{ matrix.python-version }}-${{ matrix.os }}.xml\n            coverage-${{ matrix.python-version }}-${{ matrix.os }}.xml\n            htmlcov-${{ matrix.python-version }}-${{ matrix.os }}/*\n          if-no-files-found: ignore", "state": "active", "repository": "eosphoros-ai/DB-GPT"}
{"mined_at": "2024-07-15T18:12:04.135965", "created_at": "2023-10-30T17:15:39+01:00", "updated_at": "2023-10-30T17:15:39+01:00", "name": "Docker Build Test", "path": ".github/workflows/docker-build-test.yml", "contents": "name: Docker Build Test\n\non:\n  push:\n    paths-ignore:\n      - 'website/**'\n      - README.md\n    branches:\n      - main\n  pull_request:\n    paths-ignore:\n      - 'website/**'\n      - README.md\n    branches:\n      - main\n\n# copy most of these steps from release.yml, but push: false and no tags:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n    - name: Login to DockerHub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      env:\n        dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}\n        dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      if: ${{ env.dockerhub_username }} && ${{ env.dockerhub_password }}\n\n    - name: Build Docker image\n      uses: docker/build-push-action@v5\n      with:\n        context: .\n        file: ./docker/Dockerfile\n        platforms: linux/amd64,linux/arm64\n        push: false\n", "state": "active", "repository": "paul-gauthier/aider"}
{"mined_at": "2024-07-15T18:12:05.270463", "created_at": "2024-06-05T23:45:44+02:00", "updated_at": "2024-06-05T23:45:44+02:00", "name": "Deploy Jekyll site to Pages", "path": ".github/workflows/pages.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# Sample workflow for building and deploying a Jekyll site to GitHub Pages\nname: Deploy Jekyll site to Pages\n\non:\n  push:\n    branches:\n      - \"main\"\n    paths:\n      - \"website/**\"\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow one concurrent deployment\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: true\n\njobs:\n  # Build job\n  build:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: website\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Ruby\n        uses: ruby/setup-ruby@v1\n        with:\n          ruby-version: '3.3' # Not needed with a .ruby-version file\n          bundler-cache: true # runs 'bundle install' and caches installed gems automatically\n          cache-version: 0 # Increment this number if you need to re-download cached gems\n          working-directory: '${{ github.workspace }}/website'\n      - name: Setup Pages\n        id: pages\n        uses: actions/configure-pages@v3\n      - name: Build with Jekyll\n        # Outputs to the './_site' directory by default\n        run: bundle exec jekyll build --baseurl \"${{ steps.pages.outputs.base_path }}\"\n        env:\n          JEKYLL_ENV: production\n      - name: Upload artifact\n        # Automatically uploads an artifact from the './_site' directory by default\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: \"website/_site/\"\n\n  # Deployment job\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "paul-gauthier/aider"}
{"mined_at": "2024-07-15T18:12:06.584404", "created_at": "2023-06-17T15:46:58+02:00", "updated_at": "2023-06-17T15:46:58+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  build_and_publish:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.x\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n\n    - name: Set up QEMU\n      uses: docker/setup-qemu-action@v3\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n    - name: Login to DockerHub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n    - name: Build and push Docker image\n      uses: docker/build-push-action@v5\n      with:\n        context: .\n        file: ./docker/Dockerfile\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: |\n          ${{ secrets.DOCKERHUB_USERNAME }}/aider:${{ github.ref_name }}\n          ${{ secrets.DOCKERHUB_USERNAME }}/aider:latest\n", "state": "active", "repository": "paul-gauthier/aider"}
{"mined_at": "2024-07-15T18:12:07.720522", "created_at": "2023-07-05T23:36:22+02:00", "updated_at": "2023-07-05T23:36:22+02:00", "name": "Ubuntu Python Tests", "path": ".github/workflows/ubuntu-tests.yml", "contents": "name: Ubuntu Python Tests\n\non:\n  push:\n    paths-ignore:\n      - 'website/**'\n      - README.md\n    branches:\n      - main\n  pull_request:\n    paths-ignore:\n      - 'website/**'\n      - README.md\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install universal ctags\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y universal-ctags\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n\n    - name: Run tests\n      run: |\n        python -m unittest discover -s aider/tests\n", "state": "active", "repository": "paul-gauthier/aider"}
{"mined_at": "2024-07-15T18:12:08.843235", "created_at": "2023-07-04T23:43:53+02:00", "updated_at": "2023-07-05T23:36:23+02:00", "name": "Windows Python Tests", "path": ".github/workflows/windows-tests.yml", "contents": "name: Windows Python Tests\n\non:\n  push:\n    paths-ignore:\n      - 'website/**'\n      - README.md\n    branches:\n      - main\n  pull_request:\n    paths-ignore:\n      - 'website/**'\n      - README.md\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Install universal ctags\n      run: |\n        choco install universal-ctags\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n\n    - name: Run tests\n      run: |\n        python -m unittest discover -s aider/tests\n", "state": "active", "repository": "paul-gauthier/aider"}
{"mined_at": "2024-07-15T18:12:09.972602", "created_at": "2023-05-15T01:27:20+02:00", "updated_at": "2023-05-15T01:27:20+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "paul-gauthier/aider"}
{"mined_at": "2024-07-15T18:12:12.327941", "created_at": "2023-06-06T20:58:13+02:00", "updated_at": "2023-06-06T20:58:13+02:00", "name": "code-check", "path": ".github/workflows/code-check.yml", "contents": "name: code-check\n\non:\n  push:\n    branches: [\"main\"]\n    tags: [\"*\"]\n  pull_request:\n    branches:\n      - \"*\"\n      - \"!gh-pages\"\n\njobs:\n  python-format-black:\n    name: Python lint [black]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout the code\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install black\n        run: |\n          pip install black>=23\n\n      - name: Lint\n        run: black --check .\n", "state": "active", "repository": "datamol-io/graphium"}
{"mined_at": "2024-07-15T18:12:13.422277", "created_at": "2023-03-20T21:58:43+01:00", "updated_at": "2023-03-20T21:58:43+01:00", "name": "doc", "path": ".github/workflows/doc.yml", "contents": "name: doc\n\non:\n  push:\n    branches: [\"main\"]\n\n# Prevent doc action on `main` to conflict with each others.\nconcurrency:\n  group: doc-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  doc:\n    runs-on: \"ubuntu-latest\"\n    timeout-minutes: 30\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Checkout the code\n        uses: actions/checkout@v3\n\n      - name: Setup mamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: env.yml\n          environment-name: graphium\n          cache-environment: true\n          cache-downloads: true\n\n      - name: Install library\n        run: |\n          python -m pip install --no-deps .\n          pip install typer-cli\n\n      - name: Configure git\n        run: |\n          git config --global user.name \"${GITHUB_ACTOR}\"\n          git config --global user.email \"${GITHUB_ACTOR}@users.noreply.github.com\"\n\n      - name: Deploy the doc\n        run: |\n\n          echo \"Auto-generating typer docs\"\n          typer graphium.cli.__main__ utils docs --name graphium --output docs/cli/graphium.md\n          \n          echo \"Get the gh-pages branch\"\n          git fetch origin gh-pages\n\n          echo \"Build and deploy the doc on main\"\n          mike deploy --push main\n", "state": "active", "repository": "datamol-io/graphium"}
{"mined_at": "2024-07-15T18:12:14.583094", "created_at": "2023-06-06T20:58:13+02:00", "updated_at": "2023-06-06T20:58:13+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  workflow_dispatch:\n    inputs:\n      release-version:\n        description: \"A valid Semver version string\"\n        required: true\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  release:\n    # Do not release if not triggered from the default branch\n    if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - name: Checkout the code\n        uses: actions/checkout@v3\n\n      - name: Setup mamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: env.yml\n          environment-name: graphium\n          cache-environment: true\n          cache-downloads: true\n          create-args: >-\n            pip\n            semver\n            python-build\n            setuptools_scm\n\n      - name: Check the version is valid semver\n        run: |\n          RELEASE_VERSION=\"${{ inputs.release-version }}\"\n\n          {\n            pysemver check $RELEASE_VERSION\n          } || {\n            echo \"The version '$RELEASE_VERSION' is not a valid Semver version string.\"\n            echo \"Please use a valid semver version string. More details at https://semver.org/\"\n            echo \"The release process is aborted.\"\n            exit 1\n          }\n\n      - name: Check the version is higher than the latest one\n        run: |\n          # Retrieve the git tags first\n          git fetch --prune --unshallow --tags &> /dev/null\n\n          RELEASE_VERSION=\"${{ inputs.release-version }}\"\n          LATEST_VERSION=$(git describe --abbrev=0 --tags)\n\n          IS_HIGHER_VERSION=$(pysemver compare $RELEASE_VERSION $LATEST_VERSION)\n\n          if [ \"$IS_HIGHER_VERSION\" != \"1\" ]; then\n            echo \"The version '$RELEASE_VERSION' is not higher than the latest version '$LATEST_VERSION'.\"\n            echo \"The release process is aborted.\"\n            exit 1\n          fi\n\n      - name: Build Changelog\n        id: github_release\n        uses: mikepenz/release-changelog-builder-action@v4\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          toTag: \"main\"\n\n      - name: Configure git\n        run: |\n          git config --global user.name \"${GITHUB_ACTOR}\"\n          git config --global user.email \"${GITHUB_ACTOR}@users.noreply.github.com\"\n\n      - name: Create and push git tag\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Tag the release\n          git tag -a \"${{ inputs.release-version }}\" -m \"Release version ${{ inputs.release-version }}\"\n\n          # Checkout the git tag\n          git checkout \"${{ inputs.release-version }}\"\n\n          # Push the modified changelogs\n          git push origin main\n\n          # Push the tags\n          git push origin \"${{ inputs.release-version }}\"\n\n      - name: Install library\n        run: python -m pip install --no-deps .\n\n      - name: Build the wheel and sdist\n        run: python -m build --no-isolation\n\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          packages-dir: dist/\n\n      - name: Deploy the doc\n        run: |\n          echo \"Get the gh-pages branch\"\n          git fetch origin gh-pages\n\n          echo \"Build and deploy the doc on ${{ inputs.release-version }}\"\n          mike deploy --push stable\n          mike deploy --push ${{ inputs.release-version }}\n\n      - name: Create GitHub Release\n        uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844\n        with:\n          tag_name: ${{ inputs.release-version }}\n          body: ${{steps.github_release.outputs.changelog}}\n", "state": "active", "repository": "datamol-io/graphium"}
{"mined_at": "2024-07-15T18:12:15.703914", "created_at": "2021-01-20T10:31:21+01:00", "updated_at": "2023-07-25T17:26:26+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches: [\"main\"]\n    tags: [\"*\"]\n  pull_request:\n    branches:\n      - \"*\"\n      - \"!gh-pages\"\n  schedule:\n    - cron: \"0 4 * * *\"\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n        pytorch-version: [\"2.0\"]\n\n    runs-on: \"ubuntu-latest\"\n    timeout-minutes: 30\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    name: |\n        regular_env -\n        python=${{ matrix.python-version }} -\n        pytorch=${{ matrix.pytorch-version }}\n\n    steps:\n      - name: Checkout the code\n        uses: actions/checkout@v3\n\n      - name: Setup mamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: env.yml\n          environment-name: graphium\n          cache-environment: true\n          cache-downloads: true\n          create-args: >-\n            python=${{ matrix.python-version }}\n            pytorch=${{ matrix.pytorch-version }}\n\n      - name: Install library\n        run: python -m pip install --no-deps -e . # `-e` required for correct `coverage` run.\n\n      - name: Run tests\n        run: pytest -m 'not ipu'\n\n      - name: Test CLI\n        run: graphium --help\n\n      - name: Test building the doc\n        run: mkdocs build\n\n      - name: Codecov Upload\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n          fail_ci_if_error: false\n          verbose: false\n          env_vars: ${{ matrix.python-version }},${{ matrix.pytorch-version }}\n", "state": "active", "repository": "datamol-io/graphium"}
{"mined_at": "2024-07-15T18:12:16.729101", "created_at": "2023-07-07T13:07:30+02:00", "updated_at": "2023-09-18T21:50:44+02:00", "name": "test-ipu", "path": ".github/workflows/test_ipu.yml", "contents": "name: test-ipu\n\non:\n  push:\n    branches: [\"main\"]\n    tags: [\"*\"]\n  pull_request:\n    branches:\n      - \"*\"\n      - \"!gh-pages\"\n  schedule:\n    - cron: \"0 4 * * *\"\n\njobs:\n  test-ipu:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\"]\n        pytorch-version: [\"2.0\"]\n\n    runs-on: \"ubuntu-20.04\"\n    timeout-minutes: 30\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    name: |\n        poptorch_env - \n        python=${{ matrix.python-version }} -\n        pytorch=${{ matrix.pytorch-version }}\n\n    steps:\n      - name: Checkout the code\n        uses: actions/checkout@v3\n\n      - name: Activate SDK + Install Requirements\n        run: |\n          python3 -m pip install --upgrade pip\n          wget -q -O 'poplar_sdk-ubuntu_20_04-3.3.0-208993bbb7.tar.gz' 'https://downloads.graphcore.ai/direct?package=poplar-poplar_sdk_ubuntu_20_04_3.3.0_208993bbb7-3.3.0&file=poplar_sdk-ubuntu_20_04-3.3.0-208993bbb7.tar.gz'\n          tar -xzf poplar_sdk-ubuntu_20_04-3.3.0-208993bbb7.tar.gz\n          python3 -m pip install poplar_sdk-ubuntu_20_04-3.3.0+1403-208993bbb7/poptorch-3.3.0+113432_960e9c294b_ubuntu_20_04-cp38-cp38-linux_x86_64.whl\n          # Enable Poplar SDK (including Poplar and PopART)\n          source poplar_sdk-ubuntu_20_04-3.3.0+1403-208993bbb7/enable \n          \n          python -c \"import poptorch\"\n\n          # Download the datafiles (Total ~ 10Mb - nothing compared to the libraries)\n          wget https://storage.googleapis.com/graphium-public/datasets/neurips_2023/Small-dataset/ZINC12k.csv.gz\n          wget https://storage.googleapis.com/graphium-public/datasets/neurips_2023/Small-dataset/Tox21-7k-12-labels.csv.gz\n          wget https://storage.googleapis.com/graphium-public/datasets/neurips_2023/Small-dataset/qm9.csv.gz\n\n\n          # Install the IPU specific and graphium requirements\n          pip install -r requirements_ipu.txt\n          # Install Graphium in dev mode\n          python -m pip install --no-deps -e .\n          python3 -m pytest -m 'not skip_ipu'\n\n      - name: Codecov Upload\n        uses: codecov/codecov-action@v3\n        with:\n          files: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n          fail_ci_if_error: false\n          verbose: false\n          env_vars: ${{ matrix.python-version }},${{ matrix.pytorch-version }}\n", "state": "active", "repository": "datamol-io/graphium"}
{"mined_at": "2024-07-15T18:12:17.741450", "created_at": "2022-09-21T15:26:40+02:00", "updated_at": "2022-09-21T15:26:40+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "datamol-io/graphium"}
{"mined_at": "2024-07-15T18:12:20.114683", "created_at": "2023-04-11T10:27:59+02:00", "updated_at": "2024-02-06T00:30:33+01:00", "name": "Build Docker images (scheduled)", "path": ".github/workflows/build_docker_images.yml", "contents": "name: Build Docker images (scheduled)\n\non:\n  workflow_dispatch:\n  workflow_call:\n  schedule:\n    - cron: \"0 1 * * *\"\n\nconcurrency:\n  group: docker-image-builds\n  cancel-in-progress: false\n\nenv:\n  CI_SLACK_CHANNEL: ${{ secrets.CI_DOCKER_CHANNEL }}\n\njobs:\n  latest-cpu:\n    name: \"Latest Peft CPU [dev]\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cleanup disk\n        run: |\n          sudo ls -l /usr/local/lib/\n          sudo ls -l /usr/share/\n          sudo du -sh /usr/local/lib/\n          sudo du -sh /usr/share/\n          sudo rm -rf /usr/local/lib/android\n          sudo rm -rf /usr/share/dotnet\n          sudo du -sh /usr/local/lib/\n          sudo du -sh /usr/share/\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Login to DockerHub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Build and Push CPU\n        uses: docker/build-push-action@v4\n        with:\n          context: ./docker/peft-cpu\n          push: true\n          tags: huggingface/peft-cpu\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ env.CI_SLACK_CHANNEL }}\n          title: 🤗 Results of the PEFT-CPU docker build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n  latest-cuda:\n    name: \"Latest Peft GPU [dev]\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cleanup disk\n        run: |\n          sudo ls -l /usr/local/lib/\n          sudo ls -l /usr/share/\n          sudo du -sh /usr/local/lib/\n          sudo du -sh /usr/share/\n          sudo rm -rf /usr/local/lib/android\n          sudo rm -rf /usr/share/dotnet\n          sudo du -sh /usr/local/lib/\n          sudo du -sh /usr/share/\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Build and Push GPU\n        uses: docker/build-push-action@v4\n        with:\n          context: ./docker/peft-gpu\n          push: true\n          tags: huggingface/peft-gpu\n \n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ env.CI_SLACK_CHANNEL }}\n          title: 🤗 Results of the PEFT-GPU docker build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n  latest-cuda-bnb-source:\n    name: \"Latest Peft GPU + bnb source [dev]\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cleanup disk\n        run: |\n          sudo ls -l /usr/local/lib/\n          sudo ls -l /usr/share/\n          sudo du -sh /usr/local/lib/\n          sudo du -sh /usr/share/\n          sudo rm -rf /usr/local/lib/android\n          sudo rm -rf /usr/share/dotnet\n          sudo du -sh /usr/local/lib/\n          sudo du -sh /usr/share/\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Build and Push GPU\n        uses: docker/build-push-action@v4\n        with:\n          context: ./docker/peft-gpu-bnb-source\n          push: true\n          tags: huggingface/peft-gpu-bnb-source\n \n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ env.CI_SLACK_CHANNEL }}\n          title: 🤗 Results of the PEFT-GPU (bnb source / HF latest) docker build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n  latest-cuda-bnb-source-latest:\n    name: \"Latest Peft GPU + bnb source [accelerate / peft / transformers latest]\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cleanup disk\n        run: |\n          sudo ls -l /usr/local/lib/\n          sudo ls -l /usr/share/\n          sudo du -sh /usr/local/lib/\n          sudo du -sh /usr/share/\n          sudo rm -rf /usr/local/lib/android\n          sudo rm -rf /usr/share/dotnet\n          sudo du -sh /usr/local/lib/\n          sudo du -sh /usr/share/\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Build and Push GPU\n        uses: docker/build-push-action@v4\n        with:\n          context: ./docker/peft-gpu-bnb-latest\n          push: true\n          tags: huggingface/peft-gpu-bnb-latest\n   \n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ env.CI_SLACK_CHANNEL }}\n          title: 🤗 Results of the PEFT-GPU (bnb source / HF source) docker build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n  latest-cuda-bnb-source-multi:\n    name: \"Latest Peft GPU + bnb (multi-backend) source [accelerate / peft / transformers source]\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Cleanup disk\n        run: |\n          sudo ls -l /usr/local/lib/\n          sudo ls -l /usr/share/\n          sudo du -sh /usr/local/lib/\n          sudo du -sh /usr/share/\n          sudo rm -rf /usr/local/lib/android\n          sudo rm -rf /usr/share/dotnet\n          sudo du -sh /usr/local/lib/\n          sudo du -sh /usr/share/\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n\n      - name: Build and Push GPU\n        uses: docker/build-push-action@v4\n        with:\n          context: ./docker/peft-gpu-bnb-multi-source\n          push: true\n          tags: huggingface/peft-gpu-bnb-multi-source\n \n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ env.CI_SLACK_CHANNEL }}\n          title: 🤗 Results of the PEFT-GPU (bnb source multi-backend / HF latest) docker build \n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n\n", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:21.236918", "created_at": "2023-03-30T07:40:17+02:00", "updated_at": "2023-03-30T07:40:17+02:00", "name": "Build documentation", "path": ".github/workflows/build_documentation.yml", "contents": "name: Build documentation\n\non:\n  push:\n    branches:\n      - main\n      - doc-builder*\n      - v*-release\n\njobs:\n   build:\n    uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main\n    with:\n      commit_sha: ${{ github.sha }}\n      package: peft\n      notebook_folder: peft_docs\n      custom_container: huggingface/transformers-doc-builder\n    secrets:\n      token: ${{ secrets.HUGGINGFACE_PUSH }}\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:22.277576", "created_at": "2023-03-24T08:47:37+01:00", "updated_at": "2023-03-30T07:40:17+02:00", "name": "Build PR Documentation", "path": ".github/workflows/build_pr_documentation.yml", "contents": "name: Build PR Documentation\n\non:\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main\n    with:\n      commit_sha: ${{ github.event.pull_request.head.sha }}\n      pr_number: ${{ github.event.number }}\n      package: peft\n      custom_container: huggingface/transformers-doc-builder\n", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:23.367651", "created_at": "2023-06-07T18:41:54+02:00", "updated_at": "2024-01-22T15:49:17+01:00", "name": ".github/workflows/delete_doc_comment_trigger.yml", "path": ".github/workflows/delete_doc_comment_trigger.yml", "contents": null, "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:24.621859", "created_at": "2023-09-26T13:01:00+02:00", "updated_at": "2023-09-26T13:01:00+02:00", "name": "integration tests", "path": ".github/workflows/integrations_tests.yml", "contents": "name: integration tests\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Branch to test on'\n        required: true\n\njobs:\n  run_transformers_integration_tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        transformers-version: ['main', 'latest']\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.branch }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n          cache-dependency-path: \"setup.py\"\n      - name: print environment variables\n        run: |\n          echo \"env.CI_BRANCH = ${{ env.CI_BRANCH }}\"\n          echo \"env.CI_SHA = ${{ env.CI_SHA }}\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .[test]\n          if [ \"${{ matrix.transformers-version }}\" == \"main\" ]; then\n              pip install -U git+https://github.com/huggingface/transformers.git\n          else\n              echo \"Nothing to do as transformers latest already installed\"\n          fi\n\n      - name: Test transformers integration\n        run: |\n          cd .. && git clone https://github.com/huggingface/transformers.git && cd transformers/ && git rev-parse HEAD\n          RUN_SLOW=1 pytest tests/peft_integration/test_peft_integration.py\n  run_diffusers_integration_tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        # For now diffusers integration is not on PyPI\n        diffusers-version: ['main']\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.branch }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n          cache-dependency-path: \"setup.py\"\n      - name: print environment variables\n        run: |\n          echo \"env.CI_BRANCH = ${{ env.CI_BRANCH }}\"\n          echo \"env.CI_SHA = ${{ env.CI_SHA }}\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .[test]\n          \n          if [ \"${{ matrix.diffusers-version }}\" == \"main\" ]; then\n              pip install -U git+https://github.com/huggingface/diffusers.git\n          else\n              echo \"Nothing to do as diffusers latest already installed\"\n          fi\n\n      - name: Test diffusers integration\n        run: |\n          cd .. && git clone https://github.com/huggingface/diffusers.git && cd diffusers/ && git rev-parse HEAD\n          pytest tests/lora/test_lora_layers_peft.py\n", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:25.768469", "created_at": "2023-12-19T14:16:36+01:00", "updated_at": "2024-02-06T19:57:33+01:00", "name": "BNB from source self-hosted runner with slow tests (scheduled)", "path": ".github/workflows/nightly-bnb.yml", "contents": "name: BNB from source self-hosted runner with slow tests (scheduled)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 2 * * *\"\n\nenv:\n  RUN_SLOW: \"yes\"\n  IS_GITHUB_CI: \"1\"\n  # To be able to run tests on CUDA 12.2\n  NVIDIA_DISABLE_REQUIRE: \"1\"\n  SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }}\n\n\njobs:\n  run_all_tests_single_gpu:\n    timeout-minutes: 60\n    strategy:\n      fail-fast: false\n      matrix:\n          docker-image-name: [\"huggingface/peft-gpu-bnb-source:latest\", \"huggingface/peft-gpu-bnb-latest:latest\", \"huggingface/peft-gpu-bnb-multi-source:latest\"]\n    runs-on: [self-hosted, single-gpu, nvidia-gpu, t4, ci]\n    env:\n      CUDA_VISIBLE_DEVICES: \"0\"\n      TEST_TYPE: \"single_gpu_${{ matrix.docker-image-name }}\"\n    container:\n      image: ${{ matrix.docker-image-name }}\n      options: --gpus all --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v3\n      - name: Pip install\n        run: |\n          source activate peft\n          pip install -e . --no-deps\n          pip install pytest-reportlog pytest-cov parameterized datasets scipy einops\n          pip install \"pytest>=7.2.0,<8.0.0\" # see: https://github.com/huggingface/transformers/blob/ce4fff0be7f6464d713f7ac3e0bbaafbc6959ae5/setup.py#L148C6-L148C26\n          mkdir transformers-clone && git clone https://github.com/huggingface/transformers.git transformers-clone # rename to transformers clone to avoid modules conflict\n          if [ \"${{ matrix.docker-image-name }}\" == \"huggingface/peft-gpu-bnb-latest:latest\" ]; then\n            cd transformers-clone\n            transformers_version=$(pip show transformers | grep '^Version:' | cut -d ' ' -f2 | sed 's/\\.dev0//')\n            echo \"Checking out tag for Transformers version: v$transformers_version\"\n            git fetch --tags\n            git checkout tags/v$transformers_version\n            cd .. \n          fi\n\n      - name: Test bnb import\n        id: import\n        if: always()\n        run: |\n          source activate peft\n          python3 -m bitsandbytes\n          python3 -c \"import bitsandbytes as bnb\"\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.BNB_SLACK_CHANNEL_ID }}\n          title: 🤗 Results of bitsandbytes import\n          status: ${{ steps.examples_tests.outcome }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n      # TODO: uncomment this block if error is solved or bnb multi backend branch is merged\n      # - name: Run examples on single GPU\n      #   id: examples_tests\n      #   if: always()\n      #   run: |\n      #     source activate peft\n      #     make tests_examples_single_gpu_bnb\n\n      # - name: Post to Slack\n      #   if: always()\n      #   uses: huggingface/hf-workflows/.github/actions/post-slack@main\n      #   with:\n      #     slack_channel: ${{ secrets.BNB_SLACK_CHANNEL_ID }}\n      #     title: 🤗 Results of bitsandbytes examples tests - single GPU\n      #     status: ${{ steps.examples_tests.outcome }}\n      #     slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n      - name: Run core tests on single GPU\n        id: core_tests\n        if: always()\n        run: |\n          source activate peft\n          make tests_core_single_gpu_bnb\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.BNB_SLACK_CHANNEL_ID }}\n          title: 🤗 Results of bitsandbytes core tests - single GPU\n          status: ${{ steps.core_tests.outcome }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n      - name: Run BNB regression tests on single GPU\n        id: regression_tests\n        if: always()\n        run: |\n          source activate peft\n          make tests_gpu_bnb_regression\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.BNB_SLACK_CHANNEL_ID }}\n          title: 🤗 Results of bitsandbytes regression tests - single GPU\n          status: ${{ steps.regression_tests.outcome }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n      - name: Run transformers tests on single GPU\n        id: transformers_tests\n        if: always()\n        run: |\n          source activate peft\n          make transformers_tests\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.BNB_SLACK_CHANNEL_ID }}\n          title: 🤗 Results of bitsandbytes transformers tests - single GPU\n          status: ${{ steps.transformers_tests.outcome }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n          \n      - name: Generate Report\n        if: always()\n        run: |\n          pip install slack_sdk tabulate\n          python scripts/log_reports.py --slack_channel_name bnb-daily-ci-collab >> $GITHUB_STEP_SUMMARY\n\n  run_all_tests_multi_gpu:\n    timeout-minutes: 60\n    strategy:\n      fail-fast: false\n      matrix:\n        docker-image-name: [\"huggingface/peft-gpu-bnb-source:latest\", \"huggingface/peft-gpu-bnb-latest:latest\", \"huggingface/peft-gpu-bnb-multi-source:latest\"]\n    runs-on: [self-hosted, multi-gpu, nvidia-gpu, t4, ci]\n    env:\n      CUDA_VISIBLE_DEVICES: \"0,1\"\n      TEST_TYPE: \"multi_gpu_${{ matrix.docker-image-name }}\"\n    container:\n      image: ${{ matrix.docker-image-name }}\n      options: --gpus all --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v3\n      - name: Pip install\n        run: |\n          source activate peft\n          pip install -e . --no-deps\n          pip install pytest-reportlog pytest-cov parameterized datasets scipy einops\n          pip install \"pytest>=7.2.0,<8.0.0\" # see: https://github.com/huggingface/transformers/blob/ce4fff0be7f6464d713f7ac3e0bbaafbc6959ae5/setup.py#L148C6-L148C26\n          mkdir transformers-clone && git clone https://github.com/huggingface/transformers.git transformers-clone\n          if [ \"${{ matrix.docker-image-name }}\" == \"huggingface/peft-gpu-bnb-latest:latest\" ]; then\n            cd transformers-clone\n            transformers_version=$(pip show transformers | grep '^Version:' | cut -d ' ' -f2 | sed 's/\\.dev0//')\n            echo \"Checking out tag for Transformers version: v$transformers_version\"\n            git fetch --tags\n            git checkout tags/v$transformers_version\n            cd ..\n          fi \n\n      - name: Test bnb import\n        id: import\n        if: always()\n        run: |\n          source activate peft\n          python3 -m bitsandbytes\n          python3 -c \"import bitsandbytes as bnb\"\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.BNB_SLACK_CHANNEL_ID }}\n          title: 🤗 Results of bitsandbytes import\n          status: ${{ steps.import.outcome }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n      - name: Run core GPU tests on multi-gpu\n        if: always()\n        run: |\n          source activate peft\n        \n      - name: Run examples on multi GPU\n        id: examples_tests\n        if: always()\n        run: |\n          source activate peft\n          make tests_examples_multi_gpu_bnb\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.BNB_SLACK_CHANNEL_ID }}\n          title: 🤗 Results of bitsandbytes examples tests - multi GPU\n          status: ${{ steps.examples_tests.outcome }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n      \n      - name: Run core tests on multi GPU\n        id: core_tests\n        if: always()\n        run: |\n          source activate peft\n          make tests_core_multi_gpu_bnb\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.BNB_SLACK_CHANNEL_ID }}\n          title: 🤗 Results of bitsandbytes core tests - multi GPU\n          status: ${{ steps.core_tests.outcome }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n\n      - name: Run transformers tests on multi GPU\n        id: transformers_tests\n        if: always()\n        run: |\n          source activate peft\n          make transformers_tests\n\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.BNB_SLACK_CHANNEL_ID }}\n          title: 🤗 Results of bitsandbytes transformers tests - multi GPU\n          status: ${{ steps.transformers_tests.outcome }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n          \n      - name: Generate Report\n        if: always()\n        run: |\n          pip install slack_sdk tabulate\n          python scripts/log_reports.py --slack_channel_name bnb-daily-ci-collab >> $GITHUB_STEP_SUMMARY\n", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:26.862375", "created_at": "2023-04-25T12:12:19+02:00", "updated_at": "2023-11-02T09:45:52+01:00", "name": "Self-hosted runner with slow tests (scheduled)", "path": ".github/workflows/nightly.yml", "contents": "name: Self-hosted runner with slow tests (scheduled)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 2 * * *\"\n\nenv:\n  RUN_SLOW: \"yes\"\n  IS_GITHUB_CI: \"1\"\n  # To be able to run tests on CUDA 12.2\n  NVIDIA_DISABLE_REQUIRE: \"1\"\n  SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }}\n\n\njobs:\n  run_all_tests_single_gpu:\n    strategy:\n      fail-fast: false\n    runs-on: [self-hosted, single-gpu, nvidia-gpu, t4, ci]\n    env:\n      CUDA_VISIBLE_DEVICES: \"0\"\n      TEST_TYPE: \"single_gpu\"\n    container:\n      image: huggingface/peft-gpu:latest\n      options: --gpus all --shm-size \"16gb\" -e NVIDIA_DISABLE_REQUIRE=true\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v3\n      - name: Pip install\n        run: |\n          source activate peft\n          pip install -e . --no-deps\n          pip install pytest-reportlog\n      \n      - name: Run common tests on single GPU\n        run: |\n          source activate peft\n          make tests_common_gpu\n\n      - name: Run examples on single GPU\n        run: |\n          source activate peft\n          make tests_examples_single_gpu\n      \n      - name: Run core tests on single GPU\n        run: |\n          source activate peft\n          make tests_core_single_gpu\n\n      - name: Run regression tests on single GPU\n        run: |\n          source activate peft\n          make tests_regression\n          \n      - name: Generate Report\n        if: always()\n        run: |\n          pip install slack_sdk tabulate\n          python scripts/log_reports.py >> $GITHUB_STEP_SUMMARY\n\n  run_all_tests_multi_gpu:\n    strategy:\n      fail-fast: false\n    runs-on: [self-hosted, multi-gpu, nvidia-gpu, t4, ci]\n    env:\n      CUDA_VISIBLE_DEVICES: \"0,1\"\n      TEST_TYPE: \"multi_gpu\"\n    container:\n      image: huggingface/peft-gpu:latest\n      options: --gpus all --shm-size \"16gb\" -e NVIDIA_DISABLE_REQUIRE=true\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v3\n      - name: Pip install\n        run: |\n          source activate peft\n          pip install -e . --no-deps\n          pip install pytest-reportlog\n\n      - name: Run core GPU tests on multi-gpu\n        run: |\n          source activate peft\n          \n      - name: Run common tests on multi GPU\n        run: |\n          source activate peft\n          make tests_common_gpu\n        \n      - name: Run examples on multi GPU\n        run: |\n          source activate peft\n          make tests_examples_multi_gpu\n      \n      - name: Run core tests on multi GPU\n        run: |\n          source activate peft\n          make tests_core_multi_gpu\n          \n      - name: Generate Report\n        if: always()\n        run: |\n          pip install slack_sdk tabulate\n          python scripts/log_reports.py >> $GITHUB_STEP_SUMMARY\n", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:27.984203", "created_at": "2023-04-03T14:31:15+02:00", "updated_at": "2023-04-03T14:31:15+02:00", "name": "Stale Bot", "path": ".github/workflows/stale.yml", "contents": "name: Stale Bot\n\non:\n  schedule:\n    - cron: \"0 15 * * *\"\n\njobs:\n  close_stale_issues:\n    name: Close Stale Issues\n    if: github.repository == 'huggingface/peft'\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Setup Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.8\n\n    - name: Install requirements\n      run: |\n        pip install PyGithub\n    - name: Close stale issues\n      run: |\n        python scripts/stale.py", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:29.122298", "created_at": "2024-02-19T08:43:46+01:00", "updated_at": "2024-03-18T16:07:54+01:00", "name": "Test Docker images (on PR)", "path": ".github/workflows/test-docker-build.yml", "contents": "name: Test Docker images (on PR)\n\non:\n  pull_request:\n    paths:\n      # Run only when DockerFile files are modified\n      - \"docker/**\"\njobs:\n  get_changed_files:\n    name: \"Build all modified docker images\"\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@1c8e6069583811afb28f97afeaf8e7da80c6be5c #v42\n        with:\n          files: docker/**\n          json: \"true\"\n      - name: Run step if only the files listed above change\n        if: steps.changed-files.outputs.any_changed == 'true'\n        id: set-matrix\n        env:\n          ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}\n        run: |\n          echo \"matrix=${{ steps.changed-files.outputs.all_changed_files}}\" >> $GITHUB_OUTPUT\n  build_modified_files:\n    needs: get_changed_files\n    name: Build Docker images on modified files\n    runs-on: ubuntu-latest\n    if: ${{ needs.get_changed_files.outputs.matrix }} != ''\n    strategy:\n      fail-fast: false\n      matrix:\n        docker-file: ${{ fromJson(needs.get_changed_files.outputs.matrix) }}\n    steps:\n      - name: Cleanup disk\n        run: |\n          sudo ls -l /usr/local/lib/\n          sudo ls -l /usr/share/\n          sudo du -sh /usr/local/lib/\n          sudo du -sh /usr/share/\n          sudo rm -rf /usr/local/lib/android\n          sudo rm -rf /usr/share/dotnet\n          sudo du -sh /usr/local/lib/\n          sudo du -sh /usr/share/\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Check out code\n        uses: actions/checkout@v3\n      - name: Build Docker image\n        uses: docker/build-push-action@v4\n        with:\n          file: ${{ matrix.docker-file }}\n          context: .\n          push: False\n", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:30.254032", "created_at": "2024-02-14T10:41:44+01:00", "updated_at": "2024-02-14T10:41:44+01:00", "name": "tests on transformers main", "path": ".github/workflows/tests-main.yml", "contents": "name: tests on transformers main\n\non:\n  push:\n    branches: [main]\n    paths-ignore:\n        - 'docs/**'\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n          cache: \"pip\"\n          cache-dependency-path: \"setup.py\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          # cpu version of pytorch\n          pip install -U git+https://github.com/huggingface/transformers.git\n          pip install -e .[test]\n      - name: Test with pytest\n        run: |\n          make test\n      - name: Post to Slack\n        if: always()\n        uses: huggingface/hf-workflows/.github/actions/post-slack@main\n        with:\n          slack_channel: ${{ secrets.SLACK_CHANNEL_ID }}\n          title: 🤗 Results of transformers main tests\n          status: ${{ job.status }}\n          slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}\n", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:31.377519", "created_at": "2023-03-23T12:38:44+01:00", "updated_at": "2023-03-23T12:38:44+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    branches: [main]\n    paths-ignore:\n      - 'docs/**'\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n\njobs:\n  check_code_quality:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          cache-dependency-path: \"setup.py\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install .[dev]\n      - name: Check quality\n        run: |\n          make quality\n\n  tests:\n    needs: check_code_quality\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        os: [\"ubuntu-latest\", \"macos-12\", \"windows-latest\"]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n          cache-dependency-path: \"setup.py\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          # cpu version of pytorch\n          pip install -e .[test]\n      - name: Downgrade numpy on MacOS and Windows\n        # TODO: remove numpy downgrade on MacOS & Windows once torch fixes numpy 2.0 issue\n        shell: bash\n        if: matrix.os == 'windows-latest' || matrix.os == 'macos-12'\n        run: |\n          pip install --force-reinstall -U \"numpy<2.0.0\"\n      - name: Test with pytest\n        run: |\n          make test\n", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:32.502887", "created_at": "2023-09-18T16:58:05+02:00", "updated_at": "2023-09-18T16:58:05+02:00", "name": "torch compile tests", "path": ".github/workflows/torch_compile_tests.yml", "contents": "name: torch compile tests\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Branch to test on'\n        required: true\n      pytorch_nightly:\n        description: 'Whether to use PyTorch nightly (true/false)'\n        required: false\n        default: false\n\nenv:\n  RUN_SLOW: \"yes\"\n  IS_GITHUB_CI: \"1\"\n  # To be able to run tests on CUDA 12.2\n  NVIDIA_DISABLE_REQUIRE: \"1\"\n\njobs:\n  run_tests_with_compile:\n    runs-on: [self-hosted, single-gpu, nvidia-gpu, a10, ci]\n    env:\n      PEFT_DEBUG_WITH_TORCH_COMPILE: 1\n      CUDA_VISIBLE_DEVICES: \"0\"\n      TEST_TYPE: \"single_gpu_huggingface/peft-gpu-bnb-latest:latest\"\n    container:\n      image: \"huggingface/peft-gpu-bnb-latest:latest\"\n      options: --gpus all --shm-size \"16gb\" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.inputs.branch }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n      - name: Pip install\n        run: |\n          source activate peft\n          pip install -e . --no-deps\n          pip install pytest-cov pytest-reportlog parameterized datasets scipy einops\n          pip install \"pytest>=7.2.0,<8.0.0\" # see: https://github.com/huggingface/transformers/blob/ce4fff0be7f6464d713f7ac3e0bbaafbc6959ae5/setup.py#L148C6-L148C26\n          if [ \"${{ github.event.inputs.pytorch_nightly }}\" = \"true\" ]; then\n            python -m pip install --upgrade --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu\n          fi\n      - name: Test compile with pytest\n        run: |\n          source activate peft\n          echo \"PEFT_DEBUG_WITH_TORCH_COMPILE=$PEFT_DEBUG_WITH_TORCH_COMPILE\"\n          make tests_torch_compile\n", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:33.729767", "created_at": "2024-06-10T09:50:08+02:00", "updated_at": "2024-06-10T11:40:38+02:00", "name": "Secret Leaks", "path": ".github/workflows/trufflehog.yml", "contents": "on:\n  push:\n\nname: Secret Leaks\n\njobs:\n  trufflehog:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Secret Scanning\n      uses: trufflesecurity/trufflehog@main\n", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:34.958937", "created_at": "2023-06-07T19:48:06+02:00", "updated_at": "2023-12-01T17:04:10+01:00", "name": "Upload PR Documentation", "path": ".github/workflows/upload_pr_documentation.yml", "contents": "name: Upload PR Documentation\n\non:\n  workflow_run:\n    workflows: [\"Build PR Documentation\"]\n    types:\n      - completed\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main\n    with:\n      package_name: peft\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n      comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}", "state": "active", "repository": "huggingface/peft"}
{"mined_at": "2024-07-15T18:12:37.109249", "created_at": "2024-02-05T14:32:04+01:00", "updated_at": "2024-02-07T11:52:52+01:00", "name": "Checking modified files in PR with pylint", "path": ".github/workflows/checking_pull_request_with_pylint.yml", "contents": "name: Checking modified files in PR with pylint\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n  workflow_dispatch:\n\njobs:\n  pylint:\n    runs-on: ubuntu-latest\n    env:\n      ISSUES_URL: \"https://api.github.com/repos/supervisely/issues/issues\"\n      PROJECT_NUMBER: \"2\"\n      TODO_NAME: \"🚀 Todo (now!)\"\n      STATUS_FIELD_ID: \"\"\n      STATUS_ID: \"\"\n      ISSUE_NODE_ID: \"\"\n      ITEM_TO_MOVE: \"\"\n      ORG_PROJECT_ID: \"\"\n      ORG_LOGIN: \"supervisely\"\n      ERRORS_DETECTED: false\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ github.repository }}\n          token: ${{ secrets.PYLINT_TOKEN }}\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Install dependencies\n        run: |\n          pip install --upgrade pip\n          pip install pylint\n          pip install .[extras,sdk-nn-plugins,aug]\n\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v42\n      - run: |\n          for changed_file in ${{ steps.changed-files.outputs.all_changed_and_modified_files }}; do\n            echo \"File modified in PR: ${changed_file}\"\n          done\n\n      - name: Run check with pylint\n        run: |\n          python_files=()\n          for changed_file in ${{ steps.changed-files.outputs.all_changed_and_modified_files }}; do\n            if [[ $changed_file == *.py ]] && [ -f \"$changed_file\" ]; then\n              python_files+=(\"$changed_file\")\n            fi\n          done\n          if [ \"${#python_files[@]}\" -gt 0 ]; then\n            pylint_output=$(pylint --ignore=tests \"${python_files[@]}\" --generated-members=cv2.*,signal.*) || true\n            if [[ $pylint_output == *\"E\"* ]] || [[ $pylint_output == *\"F\"* ]]; then\n              # Save pylint output to a file\n              echo \"$pylint_output\" > pylint_errors.txt\n              echo \"ERRORS_DETECTED=true\" >> $GITHUB_ENV\n            else\n              echo \"ERRORS_DETECTED=false\" >> $GITHUB_ENV\n            fi\n          fi\n          for file in \"${python_files[@]}\"; do\n            echo \"File checked: $file\"\n          done\n        id: pylint\n\n      - name: Fail if pylint errors detected\n        if: ${{ env.ERRORS_DETECTED == 'true' }}\n        run: |\n          issue_body=$(cat pylint_errors.txt)\n          echo \"Pylint Errors: $issue_body\"\n          echo \"RESULT=failure\" >> $GITHUB_ENV\n          exit 1\n\n    # - name: Create GitHub issue\n    #   run: |\n    #     if [[ \"${{ env.ERRORS_DETECTED }}\" == \"true\" ]]; then\n    #       issue_body=$(cat pylint_errors.txt)\n    #       echo \"Issue body: $issue_body\"\n\n    #       json=$(jq -n \\\n    #                 --arg title \"Pylint Errors for ${{ github.event_name }} #${{ github.event.pull_request.number }} at $(date -u +'%Y-%m-%d %H:%M') UTC+0\" \\\n    #                 --arg body \"$issue_body\" \\\n    #                 --argjson assignees '[\"${{ github.actor }}\"]' \\\n    #                 --argjson labels '[\"bug\", \"pylint\", \"SDK\"]' \\\n    #                 '{title: $title, body: $body, assignees: $assignees, labels: $labels}')\n\n    #       issue_response=$(curl -X POST -H \"Accept: application/vnd.github+json\" \\\n    #         -H \"Authorization: Bearer ${{ secrets.PYLINT_TOKEN }}\" \\\n    #         -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n    #         ${{ env.ISSUES_URL }} \\\n    #         -d \"$json\"\n    #         )\n\n    #       echo \"GitHub response: $issue_response\"\n    #       issue_url=$(echo \"$issue_response\" | jq -r '.html_url')\n    #       echo \"issue_url=$issue_url\" >> $GITHUB_ENV\n    #       issue_node_id=$(echo \"$issue_response\" | jq -r '.node_id')\n    #       echo \"ISSUE_NODE_ID=$issue_node_id\" >> $GITHUB_ENV\n\n    #     else\n    #       echo \"No pylint errors detected.\"\n    #     fi\n\n    # - name: Get Project ID\n    #   if: ${{ env.ERRORS_DETECTED == 'true' }}\n    #   run: |\n    #     org_login=${{ env.ORG_LOGIN }}\n    #     project_number=${{ env.PROJECT_NUMBER }}\n\n    #     response=$(curl -X POST \\\n    #       -H \"Authorization: Bearer ${{ secrets.PYLINT_TOKEN }}\" \\\n    #       -H \"Content-Type: application/json\" \\\n    #       -d '{\n    #         \"query\": \"query getProjectID($org_login: String!, $project_number: Int!) { organization(login: $org_login) { projectV2(number: $project_number) { id } } }\",\n    #         \"variables\": {\n    #           \"org_login\": \"${{ env.ORG_LOGIN }}\",\n    #           \"project_number\": ${{ env.PROJECT_NUMBER }}\n    #         }\n    #       }' \\\n    #       https://api.github.com/graphql)\n    #     echo \"Response from GitHub API: $response\"\n    #     project_id=$(echo \"$response\" | jq -r '.data.organization.projectV2.id')\n\n    #     echo \"Organization Project ID: $project_id\"\n    #     echo \"ORG_PROJECT_ID=$project_id\" >> $GITHUB_ENV\n\n    # - name: Get Status Field ID and Status ID\n    #   if: ${{ env.ERRORS_DETECTED == 'true' }}\n    #   run: |\n    #     response=$(curl -X POST \\\n    #       -H \"Authorization: Bearer ${{ secrets.PYLINT_TOKEN }}\" \\\n    #       -H \"Content-Type: application/json\" \\\n    #       --data-raw '{\n    #         \"query\": \"query getProjectFields($projectId: ID!) { node(id: $projectId) { ... on ProjectV2 { fields(first: 100) { nodes { ... on ProjectV2Field { id dataType name } ... on ProjectV2IterationField { id name dataType configuration { iterations { startDate id } } } ... on ProjectV2SingleSelectField { id name dataType options { id name } } } } } } }\",\n    #         \"variables\": {\n    #           \"projectId\": \"${{ env.ORG_PROJECT_ID}}\"\n    #         }\n    #       }' \\\n    #       https://api.github.com/graphql)\n    #     echo \"Response from GitHub API: $response\"\n    #     status_field_id=$(echo \"$response\" | jq -r '.data.node.fields.nodes[] | select(.name == \"Status\") | .id')\n    #     status_id=$(echo \"$response\" | jq -r '.data.node.fields.nodes[] | select(.name == \"Status\") | .options[] | select(.name == \"${{ env.TODO_NAME }}\") | .id')\n    #     echo \"STATUS_FIELD_ID=$status_field_id\" >> $GITHUB_ENV\n    #     echo \"STATUS_ID=$status_id\" >> $GITHUB_ENV\n    #     echo \"Status Field ID: $status_id\"\n    #     echo \"Todo ID: $todo_id\"\n\n    # - name: Add Issue to project\n    #   if: ${{ env.ERRORS_DETECTED == 'true' }}\n    #   run: |\n    #     issue_id=${{ env.ISSUE_NODE_ID }}\n    #     project_id=${{ env.ORG_PROJECT_ID }}\n\n    #     item_id=$(curl -X POST -H \"Authorization: Bearer ${{ secrets.PYLINT_TOKEN }}\" \\\n    #       -H \"Accept: application/vnd.github.v3+json\" \\\n    #       https://api.github.com/graphql \\\n    #       -d @- <<EOF | jq -r '.data.addProjectV2ItemById.item.id'\n    #       {\n    #         \"query\": \"mutation {\n    #           addProjectV2ItemById(input: {\n    #             contentId: \\\"$issue_id\\\",\n    #             projectId: \\\"$project_id\\\"\n    #           }) {\n    #             item {\n    #               id\n    #               project {\n    #                 title\n    #               }\n    #             }\n    #           }\n    #         }\"\n    #       }\n    #     EOF\n    #             )\n\n    #             echo \"Item ID: $item_id\"\n    #             echo \"ITEM_TO_MOVE=$item_id\" >> $GITHUB_ENV\n\n    # - name: Move issue to Todo column\n    #   if: ${{ env.ERRORS_DETECTED == 'true' }}\n    #   run: |\n    #     curl -X POST -H \"Authorization: Bearer ${{ secrets.PYLINT_TOKEN }}\" -H \"Content-Type: application/json\" -d '{\n    #     \"query\": \"mutation { set_status: updateProjectV2ItemFieldValue(input: { projectId: \\\"${{ env.ORG_PROJECT_ID }}\\\", itemId: \\\"${{env.ITEM_TO_MOVE}}\\\", fieldId: \\\"${{ env.STATUS_FIELD_ID}}\\\", value: { singleSelectOptionId: \\\"${{ env.STATUS_ID }}\\\" } }) { projectV2Item { id } } }\"\n    #     }' https://api.github.com/graphql\n", "state": "active", "repository": "supervisely/supervisely"}
{"mined_at": "2024-07-15T18:12:38.338195", "created_at": "2023-05-08T15:28:53+02:00", "updated_at": "2023-05-08T15:28:53+02:00", "name": "Close inactive issues", "path": ".github/workflows/close_inactive_issues.yml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"30 2 * * 0\"\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v5\n        with:\n          days-before-issue-stale: 365\n          days-before-issue-close: 7\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue is stale because it has been open for 365 days with no activity.\"\n          close-issue-message: \"This issue was closed because it has been inactive for 7 days since being marked as stale.\"\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "supervisely/supervisely"}
{"mined_at": "2024-07-15T18:12:39.570211", "created_at": "2023-09-06T21:24:52+02:00", "updated_at": "2023-09-06T21:24:52+02:00", "name": "Manual Build base-py-sdk Docker", "path": ".github/workflows/manual_sdk_docker_only.yml", "contents": "name: Manual Build base-py-sdk Docker\n\non: workflow_dispatch\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Write Tag to ENV variable\n        run: echo \"RELEASE_VERSION=${GITHUB_REF_NAME:1}\" >> $GITHUB_ENV\n\n      - name: Build and Push Docker Image\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: supervisely/base-py-sdk\n          tags: ${{ env.RELEASE_VERSION }}, latest\n          addLatest: true\n          dockerfile: \"base_images/py_sdk/Dockerfile\"\n          registry: docker.io\n          buildArgs: |\n            tag_ref_name=${{ env.RELEASE_VERSION }}\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n", "state": "active", "repository": "supervisely/supervisely"}
{"mined_at": "2024-07-15T18:12:40.799697", "created_at": "2023-08-01T17:44:57+02:00", "updated_at": "2023-08-01T17:44:57+02:00", "name": "Manual Build Nvidia Docker", "path": ".github/workflows/manual_sdk_nvidia_docker.yml", "contents": "name: Manual Build Nvidia Docker\n\non: workflow_dispatch\n\njobs:\n  deploy-nvidia-sdk:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Write Tag to ENV variable\n        run: echo \"RELEASE_VERSION=${GITHUB_REF_NAME:1}\" >> $GITHUB_ENV\n\n      - name: Build and Push Docker Image with NVIDIA\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: supervisely/sdk-nvidia-pyindex\n          tags: ${{ env.RELEASE_VERSION }}, latest\n          addLatest: true\n          dockerfile: \"base_images/sdk_nvidia_pyindex/Dockerfile\"\n          registry: docker.io\n          buildArgs: |\n            tag_ref_name=${{ env.RELEASE_VERSION }}\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n", "state": "active", "repository": "supervisely/supervisely"}
{"mined_at": "2024-07-15T18:12:41.827591", "created_at": "2022-03-24T18:21:57+01:00", "updated_at": "2023-08-01T17:44:57+02:00", "name": "Manual Publish PyPI and Build Docker", "path": ".github/workflows/manual_sdk_pip_docker.yml", "contents": "name: Manual Publish PyPI and Build Docker\n\non: workflow_dispatch\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/supervisely\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n\n      - name: Write Tag to ENV variable\n        run: echo \"RELEASE_VERSION=${GITHUB_REF_NAME:1}\" >> $GITHUB_ENV\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n\n      - name: Build package\n        run: python -m build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n      - name: Delay for PyPI publish\n        uses: jakejarvis/wait-action@master\n        with:\n          time: \"300s\"\n\n      - name: Build and Push Docker Image\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: supervisely/base-py-sdk\n          tags: ${{ env.RELEASE_VERSION }}, latest\n          addLatest: true\n          dockerfile: \"base_images/py_sdk/Dockerfile\"\n          registry: docker.io\n          buildArgs: |\n            tag_ref_name=${{ env.RELEASE_VERSION }}\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n", "state": "active", "repository": "supervisely/supervisely"}
{"mined_at": "2024-07-15T18:12:42.883141", "created_at": "2021-11-17T10:45:47+01:00", "updated_at": "2021-11-17T10:45:47+01:00", "name": "Upload PyPI and Docker", "path": ".github/workflows/sdk_pip_docker.yml", "contents": "name: Upload PyPI and Docker\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/supervisely\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n\n      - name: Write Tag to ENV variable\n        run: echo \"RELEASE_VERSION=${GITHUB_REF_NAME:1}\" >> $GITHUB_ENV\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install build\n\n      - name: Delay for Github tag_name\n        uses: jakejarvis/wait-action@master\n        with:\n          time: \"150s\"\n\n      - name: Build package\n        run: python -m build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n      - name: Delay for PyPI publish\n        uses: jakejarvis/wait-action@master\n        with:\n          time: \"300s\"\n\n      - name: Build and Push Docker Image\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: supervisely/base-py-sdk\n          tags: ${{ env.RELEASE_VERSION }}, latest\n          addLatest: true\n          dockerfile: \"base_images/py_sdk/Dockerfile\"\n          registry: docker.io\n          buildArgs: |\n            tag_ref_name=${{ env.RELEASE_VERSION }}\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n  collaboration:\n    needs: deploy\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Write Tag to ENV variable\n        run: echo \"RELEASE_VERSION=${GITHUB_REF_NAME:1}\" >> $GITHUB_ENV\n\n      - name: Build and Push Docker Image with NVIDIA\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: supervisely/collaboration\n          tags: ${{ env.RELEASE_VERSION }}, latest\n          addLatest: true\n          dockerfile: \"docker_images/collaboration/Dockerfile\"\n          registry: docker.io\n          buildArgs: |\n            tag_ref_name=${{ env.RELEASE_VERSION }}\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n  data-operations:\n    needs: deploy\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Write Tag to ENV variable\n        run: echo \"RELEASE_VERSION=${GITHUB_REF_NAME:1}\" >> $GITHUB_ENV\n\n      - name: Build and Push Docker Image with NVIDIA\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: supervisely/data-operations\n          tags: ${{ env.RELEASE_VERSION }}, latest\n          addLatest: true\n          dockerfile: \"docker_images/data_operations/Dockerfile\"\n          registry: docker.io\n          buildArgs: |\n            tag_ref_name=${{ env.RELEASE_VERSION }}\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n  development:\n    needs: deploy\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Write Tag to ENV variable\n        run: echo \"RELEASE_VERSION=${GITHUB_REF_NAME:1}\" >> $GITHUB_ENV\n\n      - name: Build and Push Docker Image with NVIDIA\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: supervisely/development\n          tags: ${{ env.RELEASE_VERSION }}, latest\n          addLatest: true\n          dockerfile: \"docker_images/development/Dockerfile\"\n          registry: docker.io\n          buildArgs: |\n            tag_ref_name=${{ env.RELEASE_VERSION }}\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n  import-export:\n    needs: deploy\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Write Tag to ENV variable\n        run: echo \"RELEASE_VERSION=${GITHUB_REF_NAME:1}\" >> $GITHUB_ENV\n\n      - name: Build and Push Docker Image with NVIDIA\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: supervisely/import-export\n          tags: ${{ env.RELEASE_VERSION }}, latest\n          addLatest: true\n          dockerfile: \"docker_images/import_export/Dockerfile\"\n          registry: docker.io\n          buildArgs: |\n            tag_ref_name=${{ env.RELEASE_VERSION }}\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n  labeling:\n    needs: deploy\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Write Tag to ENV variable\n        run: echo \"RELEASE_VERSION=${GITHUB_REF_NAME:1}\" >> $GITHUB_ENV\n\n      - name: Build and Push Docker Image with NVIDIA\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: supervisely/labeling\n          tags: ${{ env.RELEASE_VERSION }}, latest\n          addLatest: true\n          dockerfile: \"docker_images/labeling/Dockerfile\"\n          registry: docker.io\n          buildArgs: |\n            tag_ref_name=${{ env.RELEASE_VERSION }}\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n  synthetic:\n    needs: deploy\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Write Tag to ENV variable\n        run: echo \"RELEASE_VERSION=${GITHUB_REF_NAME:1}\" >> $GITHUB_ENV\n\n      - name: Build and Push Docker Image with NVIDIA\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: supervisely/synthetic\n          tags: ${{ env.RELEASE_VERSION }}, latest\n          addLatest: true\n          dockerfile: \"docker_images/synthetic/Dockerfile\"\n          registry: docker.io\n          buildArgs: |\n            tag_ref_name=${{ env.RELEASE_VERSION }}\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n  system:\n    needs: deploy\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Write Tag to ENV variable\n        run: echo \"RELEASE_VERSION=${GITHUB_REF_NAME:1}\" >> $GITHUB_ENV\n\n      - name: Build and Push Docker Image with NVIDIA\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: supervisely/system\n          tags: ${{ env.RELEASE_VERSION }}, latest\n          addLatest: true\n          dockerfile: \"docker_images/system/Dockerfile\"\n          registry: docker.io\n          buildArgs: |\n            tag_ref_name=${{ env.RELEASE_VERSION }}\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n  visualization-stats:\n    needs: deploy\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Write Tag to ENV variable\n        run: echo \"RELEASE_VERSION=${GITHUB_REF_NAME:1}\" >> $GITHUB_ENV\n\n      - name: Build and Push Docker Image with NVIDIA\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: supervisely/visualization-stats\n          tags: ${{ env.RELEASE_VERSION }}, latest\n          addLatest: true\n          dockerfile: \"docker_images/visualization_stats/Dockerfile\"\n          registry: docker.io\n          buildArgs: |\n            tag_ref_name=${{ env.RELEASE_VERSION }}\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n", "state": "active", "repository": "supervisely/supervisely"}
{"mined_at": "2024-07-15T18:12:45.097000", "created_at": "2022-12-29T20:32:13+01:00", "updated_at": "2023-03-24T07:18:04+01:00", "name": "build", "path": ".github/workflows/build.yaml", "contents": "name: build\n\non:\n  push:\n    branches:\n      - \"branch-*\"\n    tags:\n      - v[0-9][0-9].[0-9][0-9].[0-9][0-9]\n  workflow_dispatch:\n    inputs:\n      branch:\n        required: true\n        type: string\n      date:\n        required: true\n        type: string\n      sha:\n        required: true\n        type: string\n      build_type:\n        type: string\n        default: nightly\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}\n  cancel-in-progress: true\n\njobs:\n  python-build:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-24.08\n    with:\n      build_type: ${{ inputs.build_type || 'branch' }}\n      branch: ${{ inputs.branch }}\n      date: ${{ inputs.date }}\n      sha: ${{ inputs.sha }}\n  upload-conda:\n    needs: [python-build]\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-upload-packages.yaml@branch-24.08\n    with:\n      build_type: ${{ inputs.build_type || 'branch' }}\n      branch: ${{ inputs.branch }}\n      date: ${{ inputs.date }}\n      sha: ${{ inputs.sha }}\n  docs-build:\n    if: github.ref_type == 'branch'\n    needs: python-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-24.08\n    with:\n      arch: \"amd64\"\n      branch: ${{ inputs.branch }}\n      build_type: ${{ inputs.build_type || 'branch' }}\n      container_image: \"rapidsai/ci-conda:latest\"\n      date: ${{ inputs.date }}\n      node_type: \"gpu-v100-latest-1\"\n      run_script: \"ci/build_docs.sh\"\n      sha: ${{ inputs.sha }}\n  wheel-build:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.08\n    with:\n      build_type: ${{ inputs.build_type || 'branch' }}\n      branch: ${{ inputs.branch }}\n      sha: ${{ inputs.sha }}\n      date: ${{ inputs.date }}\n      script: ci/build_wheel.sh\n      # This selects \"ARCH=amd64 + the latest supported Python + CUDA\".\n      matrix_filter: map(select(.ARCH == \"amd64\")) | max_by([(.PY_VER|split(\".\")|map(tonumber)), (.CUDA_VER|split(\".\")|map(tonumber))]) | [.]\n  wheel-publish:\n    needs: wheel-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-24.08\n    with:\n      build_type: ${{ inputs.build_type || 'branch' }}\n      branch: ${{ inputs.branch }}\n      sha: ${{ inputs.sha }}\n      date: ${{ inputs.date }}\n      package-name: cuxfilter\n", "state": "active", "repository": "rapidsai/cuxfilter"}
{"mined_at": "2024-07-15T18:12:46.222956", "created_at": "2021-02-06T00:12:10+01:00", "updated_at": "2021-02-06T00:12:10+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n triage:\n   runs-on: ubuntu-latest\n   steps:\n   - uses: actions/labeler@v4\n     with:\n       repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "rapidsai/cuxfilter"}
{"mined_at": "2024-07-15T18:12:47.554698", "created_at": "2020-02-25T20:02:23+01:00", "updated_at": "2023-07-12T20:46:18+02:00", "name": "Auto Assign New Issues to Triage Project", "path": ".github/workflows/new-issues-to-triage-projects.yml", "contents": "name: Auto Assign New Issues to Triage Project\n\non:\n  issues:\n    types: [opened]\n\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\njobs:\n  assign_one_project:\n    runs-on: ubuntu-latest\n    name: Assign to New Issues to Triage Project\n    steps:\n    - name: Process bug issues\n      uses: docker://takanabe/github-actions-automate-projects:v0.0.1\n      if: contains(github.event.issue.labels.*.name, 'bug') && contains(github.event.issue.labels.*.name, '? - Needs Triage')\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        GITHUB_PROJECT_URL: https://github.com/rapidsai/cuxfilter/projects/2\n        GITHUB_PROJECT_COLUMN_NAME: 'Needs prioritizing'\n    - name: Process feature issues\n      uses: docker://takanabe/github-actions-automate-projects:v0.0.1\n      if: contains(github.event.issue.labels.*.name, 'feature request') && contains(github.event.issue.labels.*.name, '? - Needs Triage')\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        GITHUB_PROJECT_URL: https://github.com/rapidsai/cuxfilter/projects/1\n        GITHUB_PROJECT_COLUMN_NAME: 'Needs prioritizing'\n    - name: Process other issues\n      uses: docker://takanabe/github-actions-automate-projects:v0.0.1\n      if: contains(github.event.issue.labels.*.name, '? - Needs Triage') && (!contains(github.event.issue.labels.*.name, 'bug') && !contains(github.event.issue.labels.*.name, 'feature request'))\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        GITHUB_PROJECT_URL: https://github.com/rapidsai/cuxfilter/projects/7\n        GITHUB_PROJECT_COLUMN_NAME: 'Needs prioritizing'\n", "state": "disabled_manually", "repository": "rapidsai/cuxfilter"}
{"mined_at": "2024-07-15T18:12:48.681008", "created_at": "2022-12-05T23:31:40+01:00", "updated_at": "2022-12-29T20:32:13+01:00", "name": "pr", "path": ".github/workflows/pr.yaml", "contents": "name: pr\n\non:\n  push:\n    branches:\n      - \"pull-request/[0-9]+\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pr-builder:\n    needs:\n      - checks\n      - conda-python-build\n      - conda-python-tests\n      - conda-notebook-tests\n      - docs-build\n      - wheel-build\n      - wheel-tests\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-24.08\n  checks:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@branch-24.08\n  conda-python-build:\n    needs: checks\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-24.08\n    with:\n      build_type: pull-request\n  conda-python-tests:\n    needs: conda-python-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@branch-24.08\n    with:\n      build_type: pull-request\n      run_codecov: false\n  conda-notebook-tests:\n    needs: conda-python-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-24.08\n    with:\n      build_type: pull-request\n      node_type: \"gpu-v100-latest-1\"\n      arch: \"amd64\"\n      container_image: \"rapidsai/ci-conda:latest\"\n      run_script: \"ci/test_notebooks.sh\"\n  docs-build:\n    needs: conda-python-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-24.08\n    with:\n      build_type: pull-request\n      node_type: \"gpu-v100-latest-1\"\n      arch: \"amd64\"\n      container_image: \"rapidsai/ci-conda:latest\"\n      run_script: \"ci/build_docs.sh\"\n  wheel-build:\n    needs: checks\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.08\n    with:\n      build_type: pull-request\n      script: ci/build_wheel.sh\n      # This selects \"ARCH=amd64 + the latest supported Python + CUDA\".\n      matrix_filter: map(select(.ARCH == \"amd64\")) | max_by([(.PY_VER|split(\".\")|map(tonumber)), (.CUDA_VER|split(\".\")|map(tonumber))]) | [.]\n  wheel-tests:\n    needs: wheel-build\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-24.08\n    with:\n      build_type: pull-request\n      script: ci/test_wheel.sh\n      # This selects \"ARCH=amd64 + the latest supported Python + CUDA\".\n      matrix_filter: map(select(.ARCH == \"amd64\")) | max_by([(.PY_VER|split(\".\")|map(tonumber)), (.CUDA_VER|split(\".\")|map(tonumber))]) | [.]\n", "state": "active", "repository": "rapidsai/cuxfilter"}
{"mined_at": "2024-07-15T18:12:49.808759", "created_at": "2023-03-09T23:51:45+01:00", "updated_at": "2023-03-09T23:51:45+01:00", "name": "GPU testing for external party dependencies", "path": ".github/workflows/test-external.yaml", "contents": "name: GPU testing for external party dependencies\n\non:\n  workflow_dispatch:\n    inputs:\n      external-project:\n        description: \"Project:\"\n        required: true\n        type: choice\n        options:\n          - datashader\n          - holoviews\n          - all\n      pr_number:\n        description: \"\n          The number of the pull request to check out, else checks out default branch.\n          Will be ignored if external-project=all\n          \"\n        required: false\n  schedule:\n    - cron: \"0 0 * * 1\" # Run every Sunday evening Pacific Time (Monday 0:00 UTC)\n\njobs:\n  test-external:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-24.08\n    with:\n      build_type: branch\n      node_type: \"gpu-v100-latest-1\"\n      arch: \"amd64\"\n      container_image: \"rapidsai/ci-conda:latest\"\n      run_script: \"./ci/test_external.sh ${{ inputs.external-project || 'all' }} ${{ inputs.pr_number }}\"\n", "state": "active", "repository": "rapidsai/cuxfilter"}
{"mined_at": "2024-07-15T18:12:51.061268", "created_at": "2022-12-29T20:32:13+01:00", "updated_at": "2022-12-29T20:32:13+01:00", "name": "test", "path": ".github/workflows/test.yaml", "contents": "name: test\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        required: true\n        type: string\n      date:\n        required: true\n        type: string\n      sha:\n        required: true\n        type: string\n\njobs:\n  conda-python-tests:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@branch-24.08\n    with:\n      build_type: nightly\n      branch: ${{ inputs.branch }}\n      date: ${{ inputs.date }}\n      sha: ${{ inputs.sha }}\n  wheel-tests:\n    secrets: inherit\n    uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-24.08\n    with:\n      build_type: nightly\n      branch: ${{ inputs.branch }}\n      date: ${{ inputs.date }}\n      sha: ${{ inputs.sha }}\n      script: ci/test_wheel.sh\n      # This selects \"ARCH=amd64 + the latest supported Python + CUDA\".\n      matrix_filter: map(select(.ARCH == \"amd64\")) | max_by([(.PY_VER|split(\".\")|map(tonumber)), (.CUDA_VER|split(\".\")|map(tonumber))]) | [.]\n", "state": "active", "repository": "rapidsai/cuxfilter"}
{"mined_at": "2024-07-15T18:12:53.186698", "created_at": "2024-02-04T14:56:14+01:00", "updated_at": "2024-02-20T13:25:28+01:00", "name": "build_meta_image", "path": ".github/workflows/build_meta_image.yml", "contents": "name: build_meta_image\n\non:\n  push:\n    paths:\n      - 'docker/Metafile'\n      - 'docker/Metafile.alpine'\n      - 'requirements.txt'\n    branches:\n      - \"dev\"\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Set Environment Variables\n        run: |\n          IMG=fulltclash\n          echo \"IMG=${IMG}\" >> $GITHUB_ENV\n          echo \"IMAGE=${{ secrets.DOCKERHUB_USERNAME }}/${IMG}\" >> $GITHUB_ENV\n      - name: Build Debian Image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./docker/Metafile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: |\n            ${{ env.IMAGE }}:debian\n      - name: Build Alpine Image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./docker/Metafile.alpine\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: |\n            ${{ env.IMAGE }}:alpine\n", "state": "active", "repository": "AirportR/FullTclash"}
{"mined_at": "2024-07-15T18:12:54.181134", "created_at": "2024-02-06T09:35:40+01:00", "updated_at": "2024-02-06T09:35:40+01:00", "name": "docker-backend-image", "path": ".github/workflows/docker-backend-image.yml", "contents": null, "state": "active", "repository": "AirportR/FullTclash"}
{"mined_at": "2024-07-15T18:12:55.230052", "created_at": "2023-11-27T15:21:28+01:00", "updated_at": "2024-02-04T15:17:54+01:00", "name": "ci", "path": ".github/workflows/docker-publish.yml", "contents": "name: ci\r\n\r\non:\r\n  push:\r\n    paths-ignore:\r\n      - \"resources/**\"\r\n      - \"README.md\"\r\n      - \"README-EN.md\"\r\n      - \".github/ISSUE_TEMPLATE/**\"\r\n    branches:\r\n      - \"master\"\r\n      - \"dev\"\r\n\r\njobs:\r\n  docker:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - name: Checkout\r\n        uses: actions/checkout@v4\r\n      - name: Set up QEMU\r\n        uses: docker/setup-qemu-action@v3\r\n      - name: Set up Docker Buildx\r\n        uses: docker/setup-buildx-action@v3\r\n      - name: Login to Docker Hub\r\n        uses: docker/login-action@v3\r\n        with:\r\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\r\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\r\n      - name: Set Environment Variables\r\n        run: |\r\n          IMG=fulltclash\r\n          echo \"IMG=${IMG}\" >> $GITHUB_ENV\r\n          echo \"IMAGE=${{ secrets.DOCKERHUB_USERNAME }}/${IMG}\" >> $GITHUB_ENV\r\n      - name: Get version\r\n        id: get_version\r\n        run: echo \"version=$(git describe --tags --always)\" >> $GITHUB_OUTPUT\r\n      - name: Build Latest Image\r\n        if: ${{ github.ref_name == 'dev' }}\r\n        uses: docker/build-push-action@v5\r\n        with:\r\n          platforms: linux/amd64,linux/arm64\r\n          context: .\r\n          file: ./docker/Dockerfile\r\n          push: true\r\n          tags: |\r\n            ${{ env.IMAGE }}:latest\r\n            ${{ env.IMAGE }}:debian-${{ github.ref_name }}\r\n          build-args: |\r\n            GIT_Branch=${{ github.ref_name }}\r\n      - name: Build Debian Image\r\n        if: ${{ github.ref_name != 'dev' }}\r\n        uses: docker/build-push-action@v5\r\n        with:\r\n          platforms: linux/amd64,linux/arm64\r\n          context: .\r\n          file: ./docker/Dockerfile\r\n          push: true\r\n          tags: |\r\n            ${{ env.IMAGE }}:debian-${{ github.ref_name }}\r\n          build-args: |\r\n            GIT_Branch=${{ github.ref_name }}\r\n      - name: Build Alpine Image\r\n        uses: docker/build-push-action@v5\r\n        with:\r\n          platforms: linux/amd64,linux/arm64\r\n          context: .\r\n          file: ./docker/Dockerfile.alpine\r\n          push: true\r\n          tags: |\r\n            ${{ env.IMAGE }}:alpine-${{ github.ref_name }}\r\n            ${{ env.IMAGE }}:${{ steps.get_version.outputs.version }}\r\n          build-args: |\r\n            GIT_Branch=${{ github.ref_name }}\r\n", "state": "active", "repository": "AirportR/FullTclash"}
{"mined_at": "2024-07-15T18:12:57.360895", "created_at": "2021-07-12T10:45:21+02:00", "updated_at": "2024-05-31T16:56:01+02:00", "name": "CI", "path": ".github/workflows/unit_tests.yml", "contents": null, "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:12:58.615718", "created_at": "2021-07-15T23:35:06+02:00", "updated_at": "2021-07-15T23:35:06+02:00", "name": "Nightly Documentation Build", "path": ".github/workflows/nightly-docs.yml", "contents": "name: Nightly Documentation Build\n\non:\n  workflow_dispatch:\n  schedule:  # UTC at 0300\n    - cron:  '0 3 * * *'\n\nenv:\n  ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}\n  MAIN_PYTHON_VERSION: '3.10'\n  DOCUMENTATION_CNAME: 'aedt.docs.pyansys.com'\n  MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }}\n  MEILISEARCH_HOST_URL: ${{ vars.MEILISEARCH_HOST_URL }}\n  MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  doc-build:\n    name: Documentation build with examples\n    runs-on: [ self-hosted, Windows, pyaedt ]\n    timeout-minutes: 720\n    steps:\n      - name: Install Git and checkout project\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Create virtual environment\n        run: |\n          python -m venv .venv\n          .venv\\Scripts\\Activate.ps1\n          python -m pip install pip -U\n          python -m pip install wheel setuptools -U\n          python -c \"import sys; print(sys.executable)\"\n\n      - name: Install pyaedt and documentation dependencies\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          pip install .[doc]\n\n      - name: Retrieve PyAEDT version\n        id: version\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          echo \"PYAEDT_VERSION=$(python -c 'from pyaedt import __version__; print(__version__)')\" >> $GITHUB_OUTPUT\n          echo \"PyAEDT version is: $(python -c \"from pyaedt import __version__; print(__version__)\")\"\n\n      - name: Install CI dependencies (e.g. vtk-osmesa)\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          # Uninstall conflicting dependencies\n          pip uninstall --yes vtk\n          pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.2.20230527.dev0\n\n      # TODO: Update this step once pyaedt-examples is ready\n      # NOTE: Use environment variable to keep the doctree and avoid redundant build for PDF pages\n      - name: Build HTML documentation with examples\n        env:\n          SPHINXBUILD_KEEP_DOCTREEDIR: \"1\"\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          .\\doc\\make.bat clean\n          .\\doc\\make.bat html\n\n      # TODO: Keeping this commented as reminder of https://github.com/ansys/pyaedt/issues/4296\n      # # Verify that sphinx generates no warnings\n      # - name: Check for warnings\n      #   run: |\n      #     .venv\\Scripts\\Activate.ps1\n      #     python doc/print_errors.py\n\n      # Use environment variable to remove the doctree after the build of PDF pages\n      - name: Build PDF documentation with examples\n        env:\n          SPHINXBUILD_KEEP_DOCTREEDIR: \"0\"\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          .\\doc\\make.bat pdf\n\n      # - name: Add assets to HTML docs\n      #   run: |\n      #     zip -r documentation-html.zip ./doc/_build/html\n      #     mv documentation-html.zip ./doc/_build/html/_static/assets/download/\n      #     cp doc/_build/latex/PyAEDT-Documentation-*.pdf ./doc/_build/html/_static/assets/download/pyaedt.pdf\n\n      - name: Upload HTML documentation with examples artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: documentation-html\n          path: doc/_build/html\n          retention-days: 7\n\n      - name: Upload PDF documentation without examples artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: documentation-pdf\n          path: doc/_build/latex/PyAEDT-Documentation-*.pdf\n          retention-days: 7\n\n  upload-dev-doc:\n    name: Upload dev documentation\n    runs-on: ubuntu-latest\n    needs: doc-build\n    steps:\n      - name: Upload development documentation\n        uses: ansys/actions/doc-deploy-dev@v4\n        with:\n          cname: ${{ env.DOCUMENTATION_CNAME }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          doc-artifact-name: 'documentation-html'\n\n  doc-index-dev:\n    name: Deploy dev index docs\n    runs-on: ubuntu-latest\n    needs: upload-dev-doc\n    steps:\n      - name: Deploy the latest documentation index\n        uses: ansys/actions/doc-deploy-index@v4\n        with:\n          cname: ${{ env.DOCUMENTATION_CNAME }}/version/dev\n          index-name: pyaedt-vdev\n          host-url: ${{ env.MEILISEARCH_HOST_URL }}\n          api-key: ${{ env.MEILISEARCH_API_KEY }}\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n", "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:12:59.631373", "created_at": "2022-05-18T14:03:30+02:00", "updated_at": "2024-05-31T16:56:01+02:00", "name": "WheelHouse", "path": ".github/workflows/wheelhouse.yml", "contents": null, "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:00.765189", "created_at": "2022-06-16T11:45:14+02:00", "updated_at": "2022-06-16T19:52:18+02:00", "name": "Labeler", "path": ".github/workflows/label.yml", "contents": "name: Labeler\non:\n  pull_request:\n  push:\n    branches: [ main ]\n    paths:\n      - '../labels.yml'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  label-syncer:\n    name: Syncer\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: micnncim/action-label-syncer@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  labeler:\n    name: Set labels\n    needs: [label-syncer]\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n\n    # Label based on modified files\n    - name: Label based on changed files\n      uses: actions/labeler@v5\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n    # Label based on branch name\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'doc') || \n        startsWith(github.event.pull_request.head.ref, 'docs')\n      with:\n        labels: documentation\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'maint') ||\n        startsWith(github.event.pull_request.head.ref, 'no-ci') ||\n        startsWith(github.event.pull_request.head.ref, 'ci')\n      with:\n        labels: maintenance\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: startsWith(github.event.pull_request.head.ref, 'feat')\n      with:\n        labels: |\n          enhancement\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'fix') ||\n        startsWith(github.event.pull_request.head.ref, 'patch')\n      with:\n        labels: bug\n\n    - uses: actions-ecosystem/action-add-labels@v1\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'test')\n      with:\n        labels: testing\n\n  commenter:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Suggest to add labels\n      uses: peter-evans/create-or-update-comment@v4\n      # Execute only when no labels have been applied to the pull request\n      if: toJSON(github.event.pull_request.labels.*.name) == '{}'\n      with:\n        issue-number: ${{ github.event.pull_request.number }}\n        body: |\n          Please add one of the following labels to add this contribution to the Release Notes :point_down:\n          - [bug](https://github.com/ansys/pyaedt/pulls?q=label%3Abug+)\n          - [documentation](https://github.com/ansys/pyaedt/pulls?q=label%3Adocumentation+)\n          - [enhancement](https://github.com/ansys/pyaedt/pulls?q=label%3Aenhancement+)\n          - [good first issue](https://github.com/ansys/pyaedt/pulls?q=label%3Agood+first+issue)\n          - [maintenance](https://github.com/ansys/pyaedt/pulls?q=label%3Amaintenance+)\n          - [release](https://github.com/ansys/pyaedt/pulls?q=label%3Arelease+)\n          - [testing](https://github.com/ansys/pyaedt/pulls?q=label%Atesting+)\n", "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:01.874616", "created_at": "2022-07-07T18:31:59+02:00", "updated_at": "2024-05-31T16:56:01+02:00", "name": "WheelHouse Linux", "path": ".github/workflows/wheelhouse_linux.yml", "contents": null, "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:02.858664", "created_at": "2022-10-24T20:39:58+02:00", "updated_at": "2024-05-31T16:56:01+02:00", "name": "FullDocumentation", "path": ".github/workflows/full_documentation.yml", "contents": null, "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:04.006511", "created_at": "2022-12-14T11:30:42+01:00", "updated_at": "2022-12-14T11:30:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:05.169582", "created_at": "2023-02-15T18:12:53+01:00", "updated_at": "2023-02-15T18:12:53+01:00", "name": "CI_PreRelease", "path": ".github/workflows/unit_test_prerelease.yml", "contents": "name: CI_PreRelease\n\nenv:\n  python.version: '3.8'\n  python.venv: 'testvenv'\n  # Following env vars when changed will \"reset\" the mentioned cache,\n  # by changing the cache file name. It is rendered as ...-v%RESET_XXX%-...\n  # You should go up in number, if you go down (or repeat a previous value)\n  # you might end up reusing a previous cache if it haven't been deleted already.\n  # It applies 7 days retention policy by default.\n  RESET_PIP_CACHE: 0\n  PACKAGE_NAME: PyAEDT\n# Controls when the workflow will run\non:\n  workflow_dispatch:\n    inputs:\n      logLevel:\n        description: 'Log level'\n        required: true\n        default: 'warning'\n      tags:\n        description: 'Linux CPython daily'\n  schedule:  # UTC at 0300\n    - cron:  '0 3 * * *'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: [pre_release]\n    strategy:\n      matrix:\n        python-version: ['3.8']\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: 'Create virtual env'\n        run: |\n          python -m venv testenv\n          testenv\\Scripts\\Activate.ps1\n          python -m pip install pip -U\n          python -m pip install wheel setuptools -U\n          python -c \"import sys; print(sys.executable)\"\n\n      - name: 'Install pyaedt'\n        run: |\n          testenv\\Scripts\\Activate.ps1\n          pip install .[tests]\n          pip install pytest-azurepipelines\n          Copy-Item -Path \"C:\\actions-runner\\opengl32.dll\" -Destination \"testenv\\Lib\\site-packages\\vtkmodules\" -Force\n          Copy-Item -Path \"C:\\actions-runner\\local_config.json\" -Destination \"_unittest\" -Force\n          mkdir tmp\n          cd tmp\n          python -c \"import pyaedt; print('Imported pyaedt')\"\n\n      # - name: \"Check licences of packages\"\n      #   uses: pyansys/pydpf-actions/check-licenses@v2.0\n\n      - name: 'Unit testing'\n        timeout-minutes: 60\n        run: |\n          testenv\\Scripts\\Activate.ps1\n          Set-Item -Path env:PYTHONMALLOC -Value \"malloc\"\n          pytest --tx 6*popen --durations=50 --dist loadfile -v --cov=pyaedt  --cov-report=xml --junitxml=junit/test-results.xml --cov-report=html _unittest\n\n      - uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        if: matrix.python-version == '3.8'\n        name: 'Upload coverage to Codecov'\n\n      - name: Upload pytest test results\n        uses: actions/upload-artifact@v4\n        with:\n          name: pytest-results\n          path: junit/test-results.xml\n        # Use always() to always run this step to publish test results when there are test failures\n        if: ${{ always() }}\n\n", "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:06.275918", "created_at": "2023-11-03T17:10:43+01:00", "updated_at": "2023-11-03T17:10:43+01:00", "name": "TESTFullDocumentation", "path": ".github/workflows/test_wf.yml", "contents": null, "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:07.522684", "created_at": "2023-11-04T13:36:08+01:00", "updated_at": "2023-11-04T13:36:08+01:00", "name": "Documentation Build", "path": ".github/workflows/test_first_no_example.yml", "contents": null, "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:08.648267", "created_at": "2023-12-02T14:17:16+01:00", "updated_at": "2023-12-02T14:17:16+01:00", "name": "Documentation with Examples", "path": ".github/workflows/build_examples.yml", "contents": null, "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:09.880613", "created_at": "2024-02-27T10:11:07+01:00", "updated_at": "2024-06-13T10:34:04+02:00", "name": "GitHub CI CD", "path": ".github/workflows/ci_cd.yml", "contents": "name: GitHub CI CD\non:\n  pull_request:\n  workflow_dispatch:\n  push:\n    tags:\n      - \"*\"\n    branches:\n      - main\n\nenv:\n  ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}\n  MAIN_PYTHON_VERSION: '3.10'\n  PACKAGE_NAME: 'PyAEDT'\n  DOCUMENTATION_CNAME: 'aedt.docs.pyansys.com'\n  MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }}\n  MEILISEARCH_HOST_URL: ${{ vars.MEILISEARCH_HOST_URL }}\n  MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}\n  ON_CI: True\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  pr-title:\n    if: github.event_name == 'pull_request'\n    name: Check the title of the pull request\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check commit name\n        uses: ansys/actions/commit-style@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          use-upper-case: true\n\n  # TODO: Update to ansys/actions/doc-style@v6\n  doc-style:\n    name: Documentation style check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check documentation style\n        uses: ansys/actions/doc-style@v4\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          vale-config: \"doc/.vale.ini\"\n          vale-version: \"2.29.6\"\n\n  smoke-tests:\n    name: Build wheelhouse and smoke tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']\n        target: ['all', 'installer']\n        exclude:\n          - python-version: '3.7'\n            target: 'installer'\n    steps:\n      - name: Build wheelhouse and perform smoke test\n        uses: ansys/actions/build-wheelhouse@v4\n        with:\n          library-name: ${{ env.PACKAGE_NAME }}\n          operating-system: ${{ matrix.os }}\n          python-version: ${{ matrix.python-version }}\n          target: ${{ matrix.target }}\n\n      - name: Import python package\n        run: |\n          python -c \"import pyaedt; from pyaedt import __version__\"\n\n  # TODO: Update to ansys/actions/doc-build@v6 once we remove examples\n  doc-build:\n    name: Documentation build without examples\n    runs-on: ubuntu-latest\n    needs: [doc-style]\n    steps:\n      - name: Install Git and checkout project\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Update pip\n        run: |\n          pip install --upgrade pip\n\n      - name: Install pyaedt and documentation dependencies\n        run: |\n          pip install .[doc-no-examples]\n\n      - name: Retrieve PyAEDT version\n        id: version\n        run: |\n          echo \"PYAEDT_VERSION=$(python -c 'from pyaedt import __version__; print(__version__)')\" >> $GITHUB_OUTPUT\n          echo \"PyAEDT version is: $(python -c \"from pyaedt import __version__; print(__version__)\")\"\n\n      - name: Install doc build requirements\n        run: |\n          sudo apt update\n          sudo apt install graphviz texlive-latex-extra latexmk texlive-xetex texlive-fonts-extra -y\n\n      # TODO: Update this step once pyaedt-examples is ready\n      - name: Build HTML documentation without examples\n        run: |\n          make -C doc clean\n          make -C doc html-no-examples\n\n      # Verify that sphinx generates no warnings\n      - name: Check for warnings\n        run: |\n          python doc/print_errors.py\n\n      - name: Upload HTML documentation without examples artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: documentation-no-examples-html\n          path: doc/_build/html\n          retention-days: 7\n\n      - name: Build PDF documentation without examples\n        run: |\n          make -C doc pdf-no-examples\n\n      - name: Upload PDF documentation without examples artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: documentation-no-examples-pdf\n          path: doc/_build/latex/PyAEDT-Documentation-*.pdf\n          retention-days: 7\n\n# # =================================================================================================\n# # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv    RUNNING ON SELF-HOSTED RUNNER    vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv\n# # =================================================================================================\n\n  doc-build-with-examples:\n    name: Documentation build with examples\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags')\n    runs-on: [ self-hosted, Windows, pyaedt ]\n    needs: [doc-style]\n    timeout-minutes: 720\n    steps:\n      - name: Install Git and checkout project\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Create virtual environment\n        run: |\n          python -m venv .venv\n          .venv\\Scripts\\Activate.ps1\n          python -m pip install pip -U\n          python -m pip install wheel setuptools -U\n          python -c \"import sys; print(sys.executable)\"\n\n      - name: Install pyaedt and documentation dependencies\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          pip install .[doc]\n\n      - name: Retrieve PyAEDT version\n        id: version\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          echo \"PYAEDT_VERSION=$(python -c 'from pyaedt import __version__; print(__version__)')\" >> $GITHUB_OUTPUT\n          echo \"PyAEDT version is: $(python -c \"from pyaedt import __version__; print(__version__)\")\"\n\n      - name: Install CI dependencies (e.g. vtk-osmesa)\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          # Uninstall conflicting dependencies\n          pip uninstall --yes vtk\n          pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.2.20230527.dev0\n\n      # TODO: Update this step once pyaedt-examples is ready\n      # NOTE: Use environment variable to keep the doctree and avoid redundant build for PDF pages\n      - name: Build HTML documentation with examples\n        env:\n          SPHINXBUILD_KEEP_DOCTREEDIR: \"1\"\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          .\\doc\\make.bat clean\n          .\\doc\\make.bat html\n\n      # TODO: Keeping this commented as reminder of https://github.com/ansys/pyaedt/issues/4296\n      # # Verify that sphinx generates no warnings\n      # - name: Check for warnings\n      #   run: |\n      #     .venv\\Scripts\\Activate.ps1\n      #     python doc/print_errors.py\n\n      # Use environment variable to remove the doctree after the build of PDF pages\n      - name: Build PDF documentation with examples\n        env:\n          SPHINXBUILD_KEEP_DOCTREEDIR: \"0\"\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          .\\doc\\make.bat pdf\n\n      # - name: Add assets to HTML docs\n      #   run: |\n      #     zip -r documentation-html.zip ./doc/_build/html\n      #     mv documentation-html.zip ./doc/_build/html/_static/assets/download/\n      #     cp doc/_build/latex/PyAEDT-Documentation-*.pdf ./doc/_build/html/_static/assets/download/pyaedt.pdf\n\n      - name: Upload HTML documentation with examples artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: documentation-html\n          path: doc/_build/html\n          retention-days: 7\n\n      - name: Upload PDF documentation without examples artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: documentation-pdf\n          path: doc/_build/latex/PyAEDT-Documentation-*.pdf\n          retention-days: 7\n\n# # =================================================================================================\n# # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv    RUNNING ON SELF-HOSTED RUNNER    vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv\n# # =================================================================================================\n\n  test-solvers-windows:\n    name: Testing solvers and coverage (Windows)\n    needs: [smoke-tests]\n    runs-on: [ self-hosted, Windows, pyaedt ]\n    steps:\n      - name: Install Git and checkout project\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Create virtual environment\n        run: |\n          python -m venv .venv\n          .venv\\Scripts\\Activate.ps1\n          python -m pip install pip -U\n          python -m pip install wheel setuptools -U\n          python -c \"import sys; print(sys.executable)\"\n\n      - name: Install pyaedt and tests dependencies\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          pip install .[tests]\n          pip install pytest-azurepipelines\n\n      - name: Install CI dependencies (e.g. vtk-osmesa)\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          # Uninstall conflicting dependencies\n          pip uninstall --yes vtk\n          pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.2.20230527.dev0\n\n      - name: Run tests on _unittest_solvers\n        env:\n          PYTHONMALLOC: malloc\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          pytest --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest_solvers\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: codecov-system-solver-tests\n          file: ./coverage.xml\n          flags: system,solver\n\n      - name: Upload pytest test results\n        uses: actions/upload-artifact@v3\n        with:\n          name: pytest-solver-results\n          path: junit/test-results.xml\n        if: ${{ always() }}\n\n# # =================================================================================================\n# # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv    RUNNING ON SELF-HOSTED RUNNER    vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv\n# # =================================================================================================\n\n  # TODO: Si if we can use ansys/actions\n  test-solvers-linux:\n    name: Testing solvers and coverage (Linux)\n    needs: [smoke-tests]\n    runs-on: [ self-hosted, Linux, pyaedt ]\n    env:\n      ANSYSEM_ROOT241: '/opt/AnsysEM/v241/Linux64'\n      ANS_NODEPCHECK: '1'\n    steps:\n      - name: Install Git and checkout project\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Create virtual environment\n        run: |\n          export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT241 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT241 }}/Delcross:$LD_LIBRARY_PATH\n          python -m venv .venv\n          source .venv/bin/activate\n          python -m pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org pip -U\n          python -m pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org wheel setuptools -U\n          python -c \"import sys; print(sys.executable)\"\n\n      - name: Install pyaedt and tests dependencies\n        run: |\n          export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT241 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT241 }}/Delcross:$LD_LIBRARY_PATH\n          source .venv/bin/activate\n          pip install .[tests]\n          pip install pytest-azurepipelines\n\n      - name: Run tests on _unittest_solvers\n        run: |\n          export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT241 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT241 }}/Delcross:$LD_LIBRARY_PATH\n          source .venv/bin/activate\n          pytest --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest_solvers\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: codecov-system-solver-tests\n          file: ./coverage.xml\n          flags: system,solver\n\n      - name: Upload pytest test results\n        uses: actions/upload-artifact@v3\n        with:\n          name: pytest-solver-results\n          path: junit/test-results.xml\n        if: ${{ always() }}\n\n# # =================================================================================================\n# # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv    RUNNING ON SELF-HOSTED RUNNER    vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv\n# # =================================================================================================\n\n  test-windows:\n    name: Testing and coverage (Windows)\n    needs: [smoke-tests]\n    runs-on: [ self-hosted, Windows, pyaedt ]\n    steps:\n      - name: Install Git and checkout project\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Create virtual environment\n        run: |\n          python -m venv .venv\n          .venv\\Scripts\\Activate.ps1\n          python -m pip install pip -U\n          python -m pip install wheel setuptools -U\n          python -c \"import sys; print(sys.executable)\"\n\n      - name: Install pyaedt and tests dependencies\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          pip install .[tests]\n          pip install pytest-azurepipelines\n\n      - name: Install CI dependencies (e.g. vtk-osmesa)\n        run: |\n          .venv\\Scripts\\Activate.ps1\n          # Uninstall conflicting dependencies\n          pip uninstall --yes vtk\n          pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.2.20230527.dev0\n\n      - name: Run tests on _unittest\n        uses: nick-fields/retry@v3\n        env:\n          PYTHONMALLOC: malloc\n        with:\n          max_attempts: 2\n          retry_on: error\n          timeout_minutes: 50\n          command: |\n            .venv\\Scripts\\Activate.ps1\n            pytest -n 4 --dist loadfile --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: codecov-system-tests\n          file: ./coverage.xml\n          flags: system\n\n      - name: Upload pytest test results\n        uses: actions/upload-artifact@v3\n        with:\n          name: pytest-results\n          path: junit/test-results.xml\n        if: ${{ always() }}\n\n# # =================================================================================================\n# # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv    RUNNING ON SELF-HOSTED RUNNER    vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv\n# # =================================================================================================\n\n  # TODO: Si if we can use ansys/actions\n  test-linux:\n    name: Testing and coverage (Linux)\n    needs: [smoke-tests]\n    runs-on: [ self-hosted, Linux, pyaedt ]\n    env:\n      ANSYSEM_ROOT241: '/opt/AnsysEM/v241/Linux64'\n      ANS_NODEPCHECK: '1'\n    steps:\n      - name: Install Git and checkout project\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Create virtual environment\n        run: |\n          export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT241 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT241 }}/Delcross:$LD_LIBRARY_PATH\n          python -m venv .venv\n          source .venv/bin/activate\n          python -m pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org pip -U\n          python -m pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org wheel setuptools -U\n          python -c \"import sys; print(sys.executable)\"\n\n      - name: Install pyaedt and tests dependencies\n        run: |\n          export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT241 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT241 }}/Delcross:$LD_LIBRARY_PATH\n          source .venv/bin/activate\n          pip install .[tests]\n          pip install pytest-azurepipelines\n\n      - name: Install CI dependencies (e.g. vtk-osmesa)\n        run: |\n          source .venv/bin/activate\n          # Uninstall conflicting dependencies\n          pip uninstall --yes vtk\n          pip install --extra-index-url https://wheels.vtk.org vtk-osmesa==9.2.20230527.dev0\n\n      - name: Run tests on _unittest\n        uses: nick-fields/retry@v3\n        with:\n          max_attempts: 2\n          retry_on: error\n          timeout_minutes: 50\n          command: |\n            export LD_LIBRARY_PATH=${{ env.ANSYSEM_ROOT241 }}/common/mono/Linux64/lib64:${{ env.ANSYSEM_ROOT241 }}/Delcross:$LD_LIBRARY_PATH\n            source .venv/bin/activate\n            pytest -n 2 --dist loadfile --durations=50 -v --cov=pyaedt --cov-report=xml --cov-report=html --junitxml=junit/test-results.xml _unittest\n\n      - uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          name: codecov-system-solver-tests\n          file: ./coverage.xml\n          flags: system,solver\n\n      - name: Upload pytest test results\n        uses: actions/upload-artifact@v3\n        with:\n          name: pytest-solver-results\n          path: junit/test-results.xml\n        if: ${{ always() }}\n\n# # =================================================================================================\n# # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv    RUNNING ON SELF-HOSTED RUNNER    vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv\n# # =================================================================================================\n\n  test-ironpython-windows:\n    name: Testing IronPython and coverage (Windows)\n    needs: [smoke-tests]\n    runs-on: [ self-hosted, Windows, pyaedt ]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Run Ironpython tests\n        timeout-minutes: 5\n        run: |\n          $processA = start-process 'cmd' -ArgumentList '/c .\\_unittest_ironpython\\run_unittests_batchmode.cmd' -PassThru\n          $processA.WaitForExit()\n\n      - name: Get log content\n        run: |\n          get-content .\\_unittest_ironpython\\pyaedt_unit_test_ironpython.log\n\n      - name: Check for errors\n        run: |\n          $test_errors_failures = Select-String -Path .\\_unittest_ironpython\\pyaedt_unit_test_ironpython.log -Pattern \"TextTestResult errors=\"\n          if ($test_errors_failures -ne $null)\n          {\n            exit 1\n          }\n\n  package:\n    name: Package library\n    needs: [test-windows, test-solvers-windows, test-ironpython-windows, test-linux, test-solvers-linux, doc-build]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Build library source and wheel artifacts\n        uses: ansys/actions/build-library@v4\n        with:\n          library-name: ${{ env.PACKAGE_NAME }}\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n  # TODO: Si if we can fix the PDF issue and leverage classic ansys/release-github\n  release:\n    name: Release project\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags')\n    needs: [package, doc-build-with-examples]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Release to the public PyPI repository\n        uses: ansys/actions/release-pypi-public@v4\n        with:\n          library-name: ${{ env.PACKAGE_NAME }}\n          twine-username: \"__token__\"\n          twine-token: ${{ secrets.PYPI_TOKEN }}\n\n      - name: Release to GitHub\n        uses: ansys/actions/release-github@v4\n        with:\n          library-name: ${{ env.PACKAGE_NAME }}\n\n  upload-release-doc:\n    name: Upload release documentation\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    needs: [release]\n    steps:\n      - name: Deploy the stable documentation\n        uses: ansys/actions/doc-deploy-stable@v4\n        with:\n          cname: ${{ env.DOCUMENTATION_CNAME }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          doc-artifact-name: 'documentation-html'\n\n  doc-index-stable:\n    name: Deploy stable docs index\n    if: github.event_name == 'push' && contains(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    needs: upload-release-doc\n    steps:\n      - name: Install Git and clone project\n        uses: actions/checkout@v4\n\n      - name: Install the package requirements\n        run: pip install -e .\n\n      - name: Get the version to PyMeilisearch\n        run: |\n          VERSION=$(python -c \"from pyaedt import __version__; print('.'.join(__version__.split('.')[:2]))\")\n          VERSION_MEILI=$(python -c \"from pyaedt import __version__; print('-'.join(__version__.split('.')[:2]))\")\n          echo \"Calculated VERSION: $VERSION\"\n          echo \"Calculated VERSION_MEILI: $VERSION_MEILI\"\n          echo \"VERSION=$VERSION\" >> $GITHUB_ENV\n          echo \"VERSION_MEILI=$VERSION_MEILI\" >> $GITHUB_ENV\n\n      - name: Deploy the latest documentation index\n        uses: ansys/actions/doc-deploy-index@v4\n        with:\n          cname: ${{ env.DOCUMENTATION_CNAME }}/version/${{ env.VERSION }}\n          index-name: pyaedt-v${{ env.VERSION_MEILI }}\n          host-url: ${{ env.MEILISEARCH_HOST_URL }}\n          api-key: ${{ env.MEILISEARCH_API_KEY }}\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n", "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:10.870014", "created_at": "2024-03-18T12:05:10+01:00", "updated_at": "2024-03-18T13:44:46+01:00", "name": "Use test target with multiple python version", "path": ".github/workflows/test_python_version.yml", "contents": null, "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:11.881593", "created_at": "2024-06-13T10:45:49+02:00", "updated_at": "2024-06-13T10:45:49+02:00", "name": "pull-request", "path": ".github/workflows/ci_cd_pr.yml", "contents": null, "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:12.943541", "created_at": "2024-06-17T12:02:32+02:00", "updated_at": "2024-06-17T12:02:32+02:00", "name": ".github/workflows/ci_cd_release.yml", "path": ".github/workflows/ci_cd_release.yml", "contents": null, "state": "active", "repository": "ansys/pyaedt"}
{"mined_at": "2024-07-15T18:13:15.100611", "created_at": "2021-01-31T14:08:08+01:00", "updated_at": "2021-01-31T14:08:08+01:00", "name": "Check scripts", "path": ".github/workflows/check_scripts.yml", "contents": "name: Check scripts\n\non:\n  push:\n  pull_request:\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  black:\n    name: Check formatting with black\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - uses: actions/checkout@v4\n      - run: pip install -r requirements.txt\n      - run: |\n          black --version\n          black --check .\n\n  mypy:\n    name: Check stub_uploader with mypy\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - uses: actions/checkout@v4\n      - run: pip install -r requirements.txt\n      - run: mypy --strict -p stub_uploader -p tests\n\n  tests:\n    name: Run integration and unit tests\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n      - name: Checkout main\n        uses: actions/checkout@v4\n        with:\n          path: main\n      - name: Checkout typeshed\n        uses: actions/checkout@v4\n        with:\n          repository: python/typeshed\n          path: typeshed\n      - name: Run tests\n        run: |\n          cd main\n          pip install -r requirements.txt\n          python -Werror -m pytest tests\n", "state": "active", "repository": "typeshed-internal/stub_uploader"}
{"mined_at": "2024-07-15T18:13:16.126989", "created_at": "2021-01-27T20:02:11+01:00", "updated_at": "2021-01-27T20:02:11+01:00", "name": "Force update of some stubs from typeshed to PyPI", "path": ".github/workflows/force_update.yml", "contents": "name: Force update of some stubs from typeshed to PyPI\n\non:\n  workflow_dispatch:\n    inputs:\n      distribution:\n        description: 'Package name or pattern (Python regexp)'\n        required: true\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  build-and-upload:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Checkout main\n        uses: actions/checkout@v4\n        with:\n          path: main\n      - name: Checkout typeshed\n        uses: actions/checkout@v4\n        with:\n          repository: python/typeshed\n          path: typeshed\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r main/requirements.txt\n      - name: Execute build and upload\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.TYPESHED_BOT_API_TOKEN }}\n        run: |\n          cd main\n          python -m stub_uploader.upload_some ../typeshed \"${{ github.event.inputs.distribution }}\"\n          # If we are force uploading packages that were never uploaded, they are added to the list\n          if [ -z \"$(git status --porcelain)\" ]; then\n              exit 0;\n          fi\n          git config user.name github-actions && git config user.email github-actions@github.com\n          git add . && git commit -m \"Update uploaded packages list\" && git push\n", "state": "active", "repository": "typeshed-internal/stub_uploader"}
{"mined_at": "2024-07-15T18:13:17.251332", "created_at": "2021-02-01T22:30:28+01:00", "updated_at": "2021-02-01T22:30:28+01:00", "name": "Test PyPI API token", "path": ".github/workflows/test_api_token.yml", "contents": "name: Test PyPI API token\n\non:\n  # Only triggered manually (for debugging/integration testing).\n  workflow_dispatch:\n    inputs:\n      increment:\n        description: 'Package minor version'\n        required: true\n        default: 0\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.TYPESHED_BOT_API_TOKEN }}\n      run: |\n        cd data/empty_package\n        PACKAGE_VERSION_INCREMENT=${{ github.event.inputs.increment }} python -m build --wheel --no-isolation\n        twine upload dist/*\n", "state": "active", "repository": "typeshed-internal/stub_uploader"}
{"mined_at": "2024-07-15T18:13:18.377670", "created_at": "2021-01-21T17:34:19+01:00", "updated_at": "2021-11-30T18:37:01+01:00", "name": "Periodic update of stubs from typeshed to PyPI", "path": ".github/workflows/update_stubs.yml", "contents": "name: Periodic update of stubs from typeshed to PyPI\n\non:\n  # Triggers the workflow each day at 02:00 UTC.\n  schedule:\n    - cron: 0 2 * * *\n  # If needed, allows to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  build-and-upload:\n    runs-on: ubuntu-latest\n    if: ${{ github.repository == 'typeshed-internal/stub_uploader' || github.event_name == 'workflow_dispatch' }}\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Checkout main\n        uses: actions/checkout@v4\n        with:\n          path: main\n      - name: Checkout typeshed\n        uses: actions/checkout@v4\n        with:\n          repository: python/typeshed\n          path: typeshed\n          # It is unlikely there will be more commits between two runs.\n          # We could set this to 0 to fetch everything, but we want this to be fast.\n          fetch-depth: 100\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r main/requirements.txt\n      - name: Execute diff build and upload tasks\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.TYPESHED_BOT_API_TOKEN }}\n        run: |\n          cd main\n          python -m stub_uploader.upload_changed ../typeshed $(cat data/last_typeshed_commit.sha1)\n          (cd ../typeshed; git rev-parse HEAD) > data/last_typeshed_commit.sha1\n          if [ -z \"$(git status --porcelain)\" ]; then\n              exit 0;\n          fi\n          git config user.name github-actions && git config user.email github-actions@github.com\n          # This will also commit any new and changed changelogs.\n          git add . && git commit -m \"Update last typeshed commit\" && git push\n", "state": "active", "repository": "typeshed-internal/stub_uploader"}
{"mined_at": "2024-07-15T18:13:20.630434", "created_at": "2022-07-05T13:04:46+02:00", "updated_at": "2024-07-09T10:22:29+02:00", "name": ".github/workflows/wheels.yml", "path": ".github/workflows/wheels.yml", "contents": "name: Wheels\non:\n  pull_request:\n    types: [opened, synchronize, reopened]\n  push:\n    branches:\n      - release/*\n\nconcurrency:\n  # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.\n  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}\n  cancel-in-progress: true\n\njobs:\n\n  build-wheel-linux:\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python_version: [[\"3.8\", \"cp38-cp38\"], [\"3.9\", \"cp39-cp39\"], [\"3.10\", \"cp310-cp310\"], [\"3.11\", \"cp311-cp311\"]]\n        cuda_support: [[\"\", \"--index-url https://download.pytorch.org/whl/cpu\", \"\\\"['cpu', '11.3', '11.6']\\\"\", \"cpu\"]]\n    container: pytorch/manylinux-${{ matrix.cuda_support[3] }}\n    steps:\n      - name: Checkout torchrl\n        uses: actions/checkout@v2\n      - name: Install PyTorch RC\n        run: |\n          export PATH=\"/opt/python/${{ matrix.python_version[1] }}/bin:$PATH\"\n          python3 -mpip install torch ${{ matrix.cuda_support[1] }}\n      - name: Build wheel\n        run: |\n          export PATH=\"/opt/python/${{ matrix.python_version[1] }}/bin:$PATH\"\n          python3 -mpip install wheel\n          TORCHRL_BUILD_VERSION=0.4.0 python3 setup.py bdist_wheel\n          # NB: wheels have the linux_x86_64 tag so we rename to manylinux1\n          # find . -name 'dist/*whl' -exec bash -c ' mv $0 ${0/linux/manylinux1}' {} \\;\n      # pytorch/pytorch binaries are also manylinux_2_17 compliant but they\n      # pretend that they're manylinux1 compliant so we do the same.\n      - name: Show auditwheel output; confirm 2-17\n        run: |\n          python3 -mpip install auditwheel\n          auditwheel show dist/*\n      - name: Upload wheel for the test-wheel job\n        uses: actions/upload-artifact@v2\n        with:\n          name: torchrl-linux-${{ matrix.python_version[0] }}.whl\n          path: dist/torchrl-*.whl\n      - name: Upload wheel for download\n        uses: actions/upload-artifact@v2\n        with:\n          name: torchrl-batch.whl\n          path: dist/*.whl\n\n  build-wheel-windows:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python_version: [[\"3.8\", \"3.8\"], [\"3.9\", \"3.9\"], [\"3.10\", \"3.10.3\"], [\"3.11\", \"3.11\"]]\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python_version[1] }}\n      - name: Checkout torchrl\n        uses: actions/checkout@v2\n      - name: Install PyTorch RC\n        shell: bash\n        run: |\n          python3 -mpip install torch --index-url https://download.pytorch.org/whl/cpu\n      - name: Build wheel\n        shell: bash\n        run: |\n            python3 -mpip install wheel\n            TORCHRL_BUILD_VERSION=0.4.0 python3 setup.py bdist_wheel\n      - name: Upload wheel for the test-wheel job\n        uses: actions/upload-artifact@v2\n        with:\n          name: torchrl-win-${{ matrix.python_version[0] }}.whl\n          path: dist/torchrl-*.whl\n      - name: Upload wheel for download\n        uses: actions/upload-artifact@v2\n        with:\n          name: torchrl-batch.whl\n          path: dist/*.whl\n\n\n  test-wheel:\n    needs: [build-wheel-linux]\n    strategy:\n      matrix:\n        os: [[\"linux\", \"ubuntu-20.04\"]]\n        python_version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n    runs-on: ${{ matrix.os[1] }}\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python_version }}\n          architecture: x64\n      - name: Checkout torchrl\n        uses: actions/checkout@v2\n      - name: Install PyTorch RC\n        run: |\n          python3 -mpip install torch torchvision --index-url https://download.pytorch.org/whl/cpu\n      - name: Upgrade pip\n        run: |\n          python3 -mpip install --upgrade pip\n      - name: Install tensordict\n        run: |\n          python3 -mpip install git+https://github.com/pytorch/tensordict.git\n      - name: Install test dependencies\n        run: |\n          python3 -mpip install numpy pytest pytest-cov codecov unittest-xml-reporting pillow>=4.1.1 scipy av networkx expecttest pyyaml\n      - name: Download built wheels\n        uses: actions/download-artifact@v2\n        with:\n          name: torchrl-${{ matrix.os[0] }}-${{ matrix.python_version }}.whl\n          path: /tmp/wheels\n      - name: Install built wheels\n        run: |\n          python3 -mpip install /tmp/wheels/*\n      - name: Log version string\n        run: |\n          # Avoid ambiguity of \"import torchrl\" by deleting the source files.\n          rm -rf torchrl/\n          python -c \"import torchrl; print(torchrl.__version__)\"\n      - name: Run tests\n        run: |\n          set -e\n          export IN_CI=1\n          mkdir test-reports\n          python -m torch.utils.collect_env\n          python -c \"import torchrl; print(torchrl.__version__)\"\n          EXIT_STATUS=0\n          pytest test/smoke_test.py -v --durations 200\n          exit $EXIT_STATUS\n\n  test-wheel-windows:\n    needs: build-wheel-windows\n    strategy:\n      matrix:\n        python_version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n    runs-on: windows-latest\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Checkout torchrl\n        uses: actions/checkout@v2\n      - name: Install PyTorch RC\n        shell: bash\n        run: |\n          python3 -mpip install torch torchvision --index-url https://download.pytorch.org/whl/cpu\n      - name: Upgrade pip\n        shell: bash\n        run: |\n          python3 -mpip install --upgrade pip\n      - name: Install tensordict\n        shell: bash\n        run: |\n          python3 -mpip install git+https://github.com/pytorch/tensordict.git\n      - name: Install test dependencies\n        shell: bash\n        run: |\n          python3 -mpip install numpy pytest pytest-cov codecov unittest-xml-reporting pillow>=4.1.1 scipy av networkx expecttest pyyaml\n      - name: Download built wheels\n        uses: actions/download-artifact@v2\n        with:\n          name: torchrl-win-${{ matrix.python_version }}.whl\n          path: wheels\n      - name: Install built wheels\n        shell: bash\n        run: |\n          python3 -mpip install wheels/*\n      - name: Log version string\n        shell: bash\n        run: |\n          # Avoid ambiguity of \"import torchrl\" by deleting the source files.\n          rm -rf torchrl/\n          python -c \"import torchrl; print(torchrl.__version__)\"\n      - name: Run tests\n        shell: bash\n        run: |\n          set -e\n          export IN_CI=1\n          mkdir test-reports\n          python -m torch.utils.collect_env\n          python -c \"import torchrl; print(torchrl.__version__)\"\n          EXIT_STATUS=0\n          pytest test/smoke_test.py -v --durations 200\n          exit $EXIT_STATUS\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:21.742035", "created_at": "2022-10-05T11:35:26+02:00", "updated_at": "2023-06-15T13:17:32+02:00", "name": "Push Binary Nightly", "path": ".github/workflows/nightly_build.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Push Binary Nightly\n\non:\n  workflow_call:\n    secrets:\n#      AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID:\n#        required: true\n#      AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY:\n#        required: true\n      PYPI_TOKEN:\n        required: false\n  # run every day at 11:15am\n  schedule:\n    - cron:  '15 11 * * *'\n  # or manually trigger it\n  workflow_dispatch:\n  push:\n    branches:\n      - \"nightly\"\n\nconcurrency:\n  # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.\n  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}\n  cancel-in-progress: true\n\njobs:\n  build-wheel-linux:\n    # Don't run on forked repos.\n    if: github.repository_owner == 'pytorch'\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python_version: [[\"3.8\", \"cp38-cp38\"], [\"3.9\", \"cp39-cp39\"], [\"3.10\", \"cp310-cp310\"], [\"3.11\", \"cp311-cp311\"]]\n        cuda_support: [[\"\", \"cpu\", \"cpu\"]]\n    container: pytorch/manylinux-cuda116\n    steps:\n      - name: Checkout torchrl\n        uses: actions/checkout@v2\n        env:\n         AGENT_TOOLSDIRECTORY: \"/opt/hostedtoolcache\"\n      - name: Install PyTorch nightly\n        run: |\n          export PATH=\"/opt/python/${{ matrix.python_version[1] }}/bin:$PATH\"\n          python3 -mpip install --pre torch --index-url https://download.pytorch.org/whl/nightly/${{ matrix.cuda_support[1] }}\n      - name: Build TorchRL Nightly\n        run: |\n          rm -r dist || true\n          export PATH=\"/opt/python/${{ matrix.python_version[1] }}/bin:$PATH\"\n          python3 -mpip install wheel\n          python3 setup.py bdist_wheel \\\n            --package_name torchrl-nightly \\\n            --python-tag=${{ matrix.python-tag }}\n           find dist -name '*whl' -exec bash -c ' mv $0 ${0/linux/manylinux1}' {} \\;\n      # pytorch/pytorch binaries are also manylinux_2_17 compliant but they\n      # pretend that they're manylinux1 compliant so we do the same.\n      - name: Show auditwheel output; confirm 2-17\n        run: |\n          python3 -mpip install auditwheel\n          auditwheel show dist/*\n      - name: Upload wheel for the test-wheel job\n        uses: actions/upload-artifact@v2\n        with:\n          name: torchrl-linux-${{ matrix.python_version[0] }}_${{ matrix.cuda_support[2] }}.whl\n          path: dist/*.whl\n\n  upload-wheel-linux:\n    # Don't run on forked repos.\n    if: github.repository_owner == 'pytorch'\n    needs: test-wheel-linux\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python_version: [[\"3.8\", \"cp38-cp38\"], [\"3.9\", \"cp39-cp39\"], [\"3.10\", \"cp310-cp310\"], [\"3.11\", \"cp311-cp311\"]]\n        cuda_support: [[\"\", \"cpu\", \"cpu\"]]\n    container: pytorch/manylinux-${{ matrix.cuda_support[2] }}\n    steps:\n      - name: Checkout torchrl\n        uses: actions/checkout@v2\n      - name: Download built wheels\n        uses: actions/download-artifact@v2\n        with:\n          name: torchrl-linux-${{ matrix.python_version[0] }}_${{ matrix.cuda_support[2] }}.whl\n          path: /tmp/wheels\n      - name: Push TorchRL Binary to PYPI\n        env:\n            PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          export PATH=\"/opt/python/${{ matrix.python_version[1] }}/bin:$PATH\"\n          python3 -mpip install twine\n          python -m twine upload \\\n              --username __token__ \\\n              --password \"$PYPI_TOKEN\" \\\n              --skip-existing \\\n              /tmp/wheels/torchrl_nightly-*.whl \\\n              --verbose\n\n  test-wheel-linux:\n    # Don't run on forked repos.\n    if: github.repository_owner == 'pytorch'\n    needs: build-wheel-linux\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        python_version: [[\"3.8\", \"cp38-cp38\"], [\"3.9\", \"cp39-cp39\"], [\"3.10\", \"cp310-cp310\"], [\"3.11\", \"cp311-cp311\"]]\n        cuda_support: [[\"\", \"cpu\", \"cpu\"]]\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python_version[0] }}\n          architecture: x64\n        env:\n          AGENT_TOOLSDIRECTORY: \"/opt/hostedtoolcache\"\n      - name: Checkout torchrl\n        uses: actions/checkout@v2\n      - name: Install PyTorch Nightly\n        run: |\n          export PATH=\"/opt/python/${{ matrix.python_version[1] }}/bin:$PATH\"\n          python3 -mpip install --pre torch --index-url https://download.pytorch.org/whl/nightly/${{ matrix.cuda_support[1] }}\n      - name: Upgrade pip\n        run: |\n          export PATH=\"/opt/python/${{ matrix.python_version[1] }}/bin:$PATH\"\n          python3 -mpip install --upgrade pip\n      - name: Install tensordict\n        run: |\n          python3 -mpip install git+https://github.com/pytorch/tensordict.git\n      - name: Install test dependencies\n        run: |\n          export PATH=\"/opt/python/${{ matrix.python_version[1] }}/bin:$PATH\"\n          python3 -mpip install numpy pytest pillow>=4.1.1 scipy networkx expecttest pyyaml\n      - name: Download built wheels\n        uses: actions/download-artifact@v2\n        with:\n          name: torchrl-linux-${{ matrix.python_version[0] }}_${{ matrix.cuda_support[2] }}.whl\n          path: /tmp/wheels\n        env:\n          AGENT_TOOLSDIRECTORY: \"/opt/hostedtoolcache\"\n      - name: Install built wheels\n        run: |\n          export PATH=\"/opt/python/${{ matrix.python_version[1] }}/bin:$PATH\"\n          python3 -mpip install /tmp/wheels/*\n      - name: Log version string\n        run: |\n          # Avoid ambiguity of \"import torchrl\" by deleting the source files.\n          rm -rf torchrl/\n          export PATH=\"/opt/python/${{ matrix.python_version[1] }}/bin:$PATH\"\n          python3 -c \"import torchrl; print(torchrl.__version__)\"\n      - name: Run tests\n        run: |\n          set -e\n          export IN_CI=1\n          mkdir test-reports\n          export PATH=\"/opt/python/${{ matrix.python_version[1] }}/bin:$PATH\"\n          python3 -m torch.utils.collect_env\n          python3 -c \"import torchrl; print(torchrl.__version__);from torchrl.data import ReplayBuffer\"\n          EXIT_STATUS=0\n          pytest test/smoke_test.py -v --durations 200\n          exit $EXIT_STATUS\n\n  build-wheel-windows:\n    # Don't run on forked repos.\n    if: github.repository_owner == 'pytorch'\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python_version: [[\"3.8\", \"3.8\"], [\"3.9\", \"3.9\"], [\"3.10\", \"3.10.3\"], [\"3.11\", \"3.11\"]]\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python_version[1] }}\n      - name: Checkout torchrl\n        uses: actions/checkout@v2\n      - name: Install PyTorch nightly\n        shell: bash\n        run: |\n          python3 -mpip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu -U\n      - name: Build TorchRL nightly\n        shell: bash\n        run: |\n          rm -r dist || true\n          python3 -mpip install wheel\n          python3 setup.py bdist_wheel \\\n            --package_name torchrl-nightly \\\n            --python-tag=${{ matrix.python-tag }}\n      - name: Upload wheel for the test-wheel job\n        uses: actions/upload-artifact@v2\n        with:\n          name: torchrl-win-${{ matrix.python_version[0] }}.whl\n          path: dist/*.whl\n\n  test-wheel-windows:\n    # Don't run on forked repos.\n    if: github.repository_owner == 'pytorch'\n    needs: build-wheel-windows\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python_version: [[\"3.8\", \"3.8\"], [\"3.9\", \"3.9\"], [\"3.10\", \"3.10.3\"], [\"3.11\", \"3.11\"]]\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python_version[1] }}\n      - name: Checkout torchrl\n        uses: actions/checkout@v2\n      - name: Install PyTorch Nightly\n        shell: bash\n        run: |\n          python3 -mpip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu -U\n      - name: Upgrade pip\n        shell: bash\n        run: |\n          python3 -mpip install --upgrade pip\n      - name: Install test dependencies\n        shell: bash\n        run: |\n          python3 -mpip install numpy pytest --no-cache-dir\n      - name: Install tensordict\n        run: |\n          python3 -mpip install git+https://github.com/pytorch/tensordict.git\n      - name: Download built wheels\n        uses: actions/download-artifact@v2\n        with:\n          name: torchrl-win-${{ matrix.python_version[0] }}.whl\n          path: wheels\n      - name: Install built wheels\n        shell: bash\n        run: |\n          python3 -mpip install wheels/*\n      - name: Log version string\n        shell: bash\n        run: |\n          # Avoid ambiguity of \"import torchrl\" by deleting the source files.\n          rm -rf torchrl/\n          python3 -c \"import torchrl; print(torchrl.__version__)\"\n      - name: Run tests\n        shell: bash\n        run: |\n          set -e\n          export IN_CI=1\n          mkdir test-reports\n          python -m torch.utils.collect_env\n          python -c \"import torchrl; print(torchrl.__version__);from torchrl.data import ReplayBuffer\"\n          EXIT_STATUS=0\n          pytest test/smoke_test.py -v --durations 200\n          exit $EXIT_STATUS\n\n  upload-wheel-windows:\n    # Don't run on forked repos.\n    if: github.repository_owner == 'pytorch'\n    needs: test-wheel-windows\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python_version: [[\"3.8\", \"3.8\"], [\"3.9\", \"3.9\"], [\"3.10\", \"3.10.3\"], [\"3.11\", \"3.11\"]]\n    steps:\n      - name: Checkout torchrl\n        uses: actions/checkout@v2\n      - name: Download built wheels\n        uses: actions/download-artifact@v2\n        with:\n          name: torchrl-win-${{ matrix.python_version[0] }}.whl\n          path: wheels\n      - name: Push TorchRL Binary to PYPI\n        shell: bash\n        env:\n            PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          python3 -mpip install twine\n          python3 -m twine upload \\\n              --username __token__ \\\n              --password \"$PYPI_TOKEN\" \\\n              --skip-existing \\\n              wheels/torchrl_nightly-*.whl \\\n              --verbose\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:22.874660", "created_at": "2022-10-18T11:26:06+02:00", "updated_at": "2022-10-18T11:26:06+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:24.089158", "created_at": "2022-10-18T12:16:14+02:00", "updated_at": "2023-11-09T13:16:45+01:00", "name": "Generate documentation", "path": ".github/workflows/docs.yml", "contents": "# This workflow builds the torchrl docs and deploys them to gh-pages.\nname: Generate documentation\non:\n  push:\n    branches:\n      - main\n      - release/*\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]\n      - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  pull_request:\n    branches:\n      - \"*\"\n  workflow_dispatch:\n\nconcurrency:\n  # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.\n  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}\n  cancel-in-progress: true\n\njobs:\n  build-docs:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      upload-artifact: docs\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        set -e\n        set -v\n        apt-get update && apt-get install -y git wget gcc g++\n        root_dir=\"$(pwd)\"\n        conda_dir=\"${root_dir}/conda\"\n        env_dir=\"${root_dir}/env\"\n        os=Linux\n        \n        # 1. Install conda at ./conda\n        printf \"* Installing conda\\n\"\n        wget -O miniconda.sh \"http://repo.continuum.io/miniconda/Miniconda3-latest-${os}-x86_64.sh\"\n        bash ./miniconda.sh -b -f -p \"${conda_dir}\"\n        eval \"$(${conda_dir}/bin/conda shell.bash hook)\"\n        printf \"* Creating a test environment\\n\"\n        conda create --prefix \"${env_dir}\" -y python=3.8\n        printf \"* Activating\\n\"\n        conda activate \"${env_dir}\"\n        \n        # 2. upgrade pip, ninja and packaging\n        apt-get install python3.8 python3-pip -y\n        python3 -m pip install --upgrade pip\n        python3 -m pip install setuptools ninja packaging -U\n        \n        # 3. check python version\n        python3 --version\n        \n        # 4. Check git version\n        git version\n        \n        # 5. Install PyTorch\n        python3 -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu -U --quiet --root-user-action=ignore\n        \n        # 6. Install tensordict\n        python3 -m pip install git+https://github.com/pytorch/tensordict.git --quiet --root-user-action=ignore\n        \n        # 7. Install TorchRL\n        python3 setup.py develop\n        \n        # 8. Install requirements\n        python3 -m pip install -r docs/requirements.txt --quiet --root-user-action=ignore\n\n        # 9. Set sanitize version\n        if [[ ${{ github.event_name }} == push && (${{ github.ref_type }} == tag || (${{ github.ref_type }} == branch && ${{ github.ref_name }} == release/*)) ]]; then\n          echo '::group::Enable version string sanitization'\n          # This environment variable just has to exist and must not be empty. The actual value is arbitrary.\n          # See docs/source/conf.py for details\n          export RL_SANITIZE_VERSION_STR_IN_DOCS=1\n          echo '::endgroup::'\n        fi\n\n        # 10. Test torchrl installation\n        mkdir _tmp\n        cd _tmp\n        PYOPENGL_PLATFORM=egl MUJOCO_GL=egl python3 -c \"\"\"from torchrl.envs.libs.dm_control import DMControlEnv\n        print(DMControlEnv('cheetah', 'run', from_pixels=True).reset())\"\"\"\n        cd ..\n        \n        # 11. Build doc\n        cd ./docs\n        # timeout 7m bash -ic \"MUJOCO_GL=egl sphinx-build ./source _local_build\" || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi\n        # bash -ic \"PYOPENGL_PLATFORM=egl MUJOCO_GL=egl sphinx-build ./source _local_build\" || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi\n        PYOPENGL_PLATFORM=egl MUJOCO_GL=egl sphinx-build ./source _local_build\n        cd ..\n\n        cp -r docs/_local_build/* \"${RUNNER_ARTIFACT_DIR}\"\n        echo $(ls \"${RUNNER_ARTIFACT_DIR}\")\n        if [[ ${{ github.event_name == 'pull_request' }} ]]; then\n          cp -r docs/_local_build/* \"${RUNNER_DOCS_DIR}\"\n        fi\n\n  upload:\n    needs: build-docs\n    if: github.repository == 'pytorch/rl' && github.event_name == 'push' && \n        ((github.ref_type == 'branch' && github.ref_name == 'main') || github.ref_type == 'tag')\n    permissions:\n      contents: write\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      download-artifact: docs\n      ref: gh-pages\n      test-infra-ref: main\n      script: |\n        set -euo pipefail\n\n        REF_TYPE=${{ github.ref_type }}\n        REF_NAME=${{ github.ref_name }}\n\n        if [[ \"${REF_TYPE}\" == branch ]]; then\n          if [[ \"${REF_NAME}\" == main ]]; then\n            TARGET_FOLDER=\"${REF_NAME}\"\n          # Bebug:\n          # else\n          #   TARGET_FOLDER=\"release-doc\"\n          fi\n        elif [[ \"${REF_TYPE}\" == tag ]]; then\n          case \"${REF_NAME}\" in\n            *-rc*)\n              echo \"Aborting upload since this is an RC tag: ${REF_NAME}\"\n              exit 0\n              ;;\n            *)\n              # Strip the leading \"v\" as well as the trailing patch version. For example:\n              # 'v0.15.2' -> '0.15'\n              TARGET_FOLDER=$(echo \"${REF_NAME}\" | sed 's/v\\([0-9]\\+\\)\\.\\([0-9]\\+\\)\\.[0-9]\\+/\\1.\\2/')\n              ;;\n          esac\n        fi\n\n        echo \"Target Folder: ${TARGET_FOLDER}\"\n\n        mkdir -p \"${TARGET_FOLDER}\"\n        rm -rf \"${TARGET_FOLDER}\"/*\n\n        echo $(ls \"${RUNNER_ARTIFACT_DIR}\")\n        rsync -a \"${RUNNER_ARTIFACT_DIR}\"/ \"${TARGET_FOLDER}\"\n        git add \"${TARGET_FOLDER}\" || true\n\n        # Debug\n        # if [[ \"${TARGET_FOLDER}\" == \"main\" ]] || [[ \"${TARGET_FOLDER}\" == \"release-doc\" ]]; then\n        if [[ \"${TARGET_FOLDER}\" == \"main\" ]] ; then\n          mkdir -p _static\n          rm -rf _static/*\n          cp -r \"${TARGET_FOLDER}\"/_static/* _static\n          git add _static || true\n        fi\n\n        git config user.name 'pytorchbot'\n        git config user.email 'soumith+bot@pytorch.org'\n        git config http.postBuffer 524288000\n        git commit -m \"auto-generating sphinx docs\" || true\n        git push\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:25.241465", "created_at": "2023-04-06T11:15:05+02:00", "updated_at": "2023-04-06T16:13:03+02:00", "name": "Continuous Benchmark", "path": ".github/workflows/benchmarks.yml", "contents": "name: Continuous Benchmark\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - \"*\"\n  workflow_dispatch:\n\npermissions:\n  deployments: write\n  contents: write\n\nconcurrency:\n  # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.\n  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}\n  cancel-in-progress: true\n\njobs:\n\n  benchmark_cpu:\n    name: CPU Pytest benchmark\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Setup Environment\n        run: |\n          python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu -U \n          python -m pip install git+https://github.com/pytorch/tensordict \n          python setup.py develop\n          python -m pip install pytest pytest-benchmark\n          python3 -m pip install \"gym[accept-rom-license,atari]\"\n          python3 -m pip install dm_control\n      - name: Run benchmarks\n        run: |\n          cd benchmarks/\n          python -m pytest --benchmark-json output.json\n      - name: Store benchmark results\n        if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}\n        uses: benchmark-action/github-action-benchmark@v1\n        with:\n          name: CPU Benchmark Results\n          tool: 'pytest'\n          output-file-path: benchmarks/output.json\n          fail-on-alert: true\n          alert-threshold: '200%'\n          alert-comment-cc-users: '@vmoens'\n          comment-on-alert: true\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          gh-pages-branch: gh-pages\n          auto-push: true\n\n\n  benchmark_gpu:\n    name: GPU Pytest benchmark\n    runs-on: linux.g5.4xlarge.nvidia.gpu\n    defaults:\n      run:\n        shell: bash -l {0}\n    container:\n      image: nvidia/cuda:12.3.0-base-ubuntu22.04\n      options: --gpus all\n    steps:\n      - name: Install deps\n        run: |\n          export TZ=Europe/London\n          export DEBIAN_FRONTEND=noninteractive  # tzdata bug\n          apt-get update -y\n          apt-get install software-properties-common -y\n          add-apt-repository ppa:git-core/candidate -y\n          apt-get update -y\n          apt-get upgrade -y\n          apt-get -y install libglu1-mesa libgl1-mesa-glx libosmesa6 gcc curl g++ unzip wget libglfw3-dev libgles2-mesa-dev libglew-dev sudo git cmake libz-dev\n      - name: Check ldd --version\n        run: ldd --version\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Python Setup\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Setup git\n        run: git config --global --add safe.directory /__w/rl/rl\n      - name: setup Path\n        run: |\n          echo /usr/local/bin >> $GITHUB_PATH\n      - name: Setup Environment\n        run: |\n          python3 -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu121 -U\n          python3 -m pip install git+https://github.com/pytorch/tensordict \n          python3 setup.py develop\n          python3 -m pip install pytest pytest-benchmark\n          python3 -m pip install \"gym[accept-rom-license,atari]\"\n          python3 -m pip install dm_control\n      - name: check GPU presence\n        run: |\n          python -c \"\"\"import torch\n          assert torch.cuda.device_count()\n          \"\"\"\n      - name: Run benchmarks\n        run: |\n          cd benchmarks/\n          python3 -m pytest --benchmark-json output.json\n      - name: Store benchmark results\n        uses: benchmark-action/github-action-benchmark@v1\n        if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}\n        with:\n          name: GPU Benchmark Results\n          tool: 'pytest'\n          output-file-path: benchmarks/output.json\n          fail-on-alert: true\n          alert-threshold: '200%'\n          alert-comment-cc-users: '@vmoens'\n          comment-on-alert: true\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          gh-pages-branch: gh-pages\n          auto-push: true\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:26.467454", "created_at": "2023-05-01T22:32:23+02:00", "updated_at": "2023-05-10T22:28:41+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\nconcurrency:\n  # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.\n  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}\n  cancel-in-progress: true\n\njobs:\n  python-source-and-configs:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      script: |\n        set -euo pipefail\n\n        echo '::group::Setup environment'\n        CONDA_PATH=$(which conda)\n        eval \"$(${CONDA_PATH} shell.bash hook)\"\n        conda create --name ci --quiet --yes python=3.8 pip\n        conda activate ci\n        echo '::endgroup::'\n        \n        echo '::group::Install lint tools'\n        pip install --progress-bar=off pre-commit\n        echo '::endgroup::'\n        \n        echo '::group::Lint Python source and configs'\n        set +e\n        pre-commit run --all-files\n        \n        if [ $? -ne 0 ]; then\n          git --no-pager diff\n          exit 1\n        fi\n        echo '::endgroup::'\n\n  c-source:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      script: |\n        set -euo pipefail\n        \n        echo '::group::Setup environment'\n        CONDA_PATH=$(which conda)\n        eval \"$(${CONDA_PATH} shell.bash hook)\"\n        conda create --name ci --quiet --yes -c conda-forge python=3.8 ncurses=5 libgcc\n        conda activate ci\n        export LD_LIBRARY_PATH=\"${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}\"\n        echo '::endgroup::'\n        \n        echo '::group::Install lint tools'\n        curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o ./clang-format\n        chmod +x ./clang-format\n        echo '::endgroup::'\n\n        echo '::group::Lint C source'\n        set +e\n        ./.github/unittest/linux/scripts/run-clang-format.py -r torchrl/csrc --clang-format-executable ./clang-format\n        \n        if [ $? -ne 0 ]; then\n          git --no-pager diff\n          exit 1\n        fi\n        echo '::endgroup::'\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:27.587163", "created_at": "2023-05-09T00:52:39+02:00", "updated_at": "2023-05-09T00:52:39+02:00", "name": "Tests on Linux GPU (Stable)", "path": ".github/workflows/test-linux-stable.yml", "contents": null, "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:28.808853", "created_at": "2023-06-14T21:10:19+02:00", "updated_at": "2023-07-06T16:06:19+02:00", "name": "Examples Tests on Linux", "path": ".github/workflows/test-linux-examples.yml", "contents": "name: Examples Tests on Linux\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\nenv:\n  CHANNEL: \"nightly\"\n\nconcurrency:\n  # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.\n  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.g5.4xlarge.nvidia.gpu\n      repository: pytorch/rl\n      docker-image: \"nvidia/cuda:12.2.0-devel-ubuntu22.04\"\n      gpu-arch-type: cuda\n      gpu-arch-version: ${{ matrix.cuda_arch_version }}\n      timeout: 90\n      script: |\n        # Set env vars from matrix\n        export PYTHON_VERSION=${{ matrix.python_version }}\n        export CUDA_ARCH_VERSION=${{ matrix.cuda_arch_version }}\n        export CU_VERSION=\"cu${CUDA_ARCH_VERSION:0:2}${CUDA_ARCH_VERSION:3:1}\"\n\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        echo \"PYTHON_VERSION: $PYTHON_VERSION\"\n        echo \"CU_VERSION: $CU_VERSION\"\n\n        ## setup_env.sh\n        bash .github/unittest/linux_examples/scripts/run_all.sh\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:30.051605", "created_at": "2023-06-16T20:01:52+02:00", "updated_at": "2023-07-06T11:16:48+02:00", "name": "Habitat Tests on Linux", "path": ".github/workflows/test-linux-habitat.yml", "contents": "name: Habitat Tests on Linux\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\nconcurrency:\n  # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.\n  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.g5.4xlarge.nvidia.gpu\n      repository: pytorch/rl\n      docker-image: \"nvidia/cuda:12.1.1-devel-ubuntu22.04\"\n      gpu-arch-type: cuda\n      gpu-arch-version: ${{ matrix.cuda_arch_version }}\n      timeout: 90\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        # Set env vars from matrix\n        export PYTHON_VERSION=${{ matrix.python_version }}\n        # Commenting these out for now because the GPU test are not working inside docker\n        export CUDA_ARCH_VERSION=${{ matrix.cuda_arch_version }}\n        export CU_VERSION=\"cu${CUDA_ARCH_VERSION:0:2}${CUDA_ARCH_VERSION:3:1}\"\n        # Remove the following line when the GPU tests are working inside docker, and uncomment the above lines\n        #export CU_VERSION=\"cpu\"\n\n        bash .github/unittest/linux_libs/scripts_habitat/run_all.sh\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:31.066393", "created_at": "2023-06-23T17:20:28+02:00", "updated_at": "2023-06-27T19:16:05+02:00", "name": "RLHF Tests on Linux", "path": ".github/workflows/test-linux-rlhf.yml", "contents": "name: RLHF Tests on Linux\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\nconcurrency:\n  # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.\n  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}\n  cancel-in-progress: true\n\njobs:\n  unittests:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      # gpu-arch-type: cuda\n      # gpu-arch-version: \"11.7\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cu117\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n\n        bash .github/unittest/linux_libs/scripts_rlhf/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_rlhf/install.sh\n        bash .github/unittest/linux_libs/scripts_rlhf/run_test.sh\n        bash .github/unittest/linux_libs/scripts_rlhf/post_process.sh\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:32.202234", "created_at": "2023-06-30T10:34:45+02:00", "updated_at": "2023-06-30T15:29:46+02:00", "name": "Continuous Benchmark (PR)", "path": ".github/workflows/benchmarks_pr.yml", "contents": "name: Continuous Benchmark (PR)\n\non:\n  pull_request:\n\npermissions: write-all\n\nconcurrency:\n  # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.\n  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}\n  cancel-in-progress: true\n\njobs:\n  benchmark_cpu:\n    name: CPU Pytest benchmark\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Who triggered this?\n        run: |\n          echo \"Action triggered by ${{ github.event.pull_request.html_url }}\"\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 50 # this is to make sure we obtain the target base commit\n      - name: Python Setup\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Setup Environment\n        run: |\n          python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu -U \n          python -m pip install git+https://github.com/pytorch/tensordict \n          python setup.py develop\n          python -m pip install pytest pytest-benchmark\n          python3 -m pip install \"gym[accept-rom-license,atari]\"\n          python3 -m pip install dm_control\n      - name: Setup benchmarks\n        run: |\n          echo \"BASE_SHA=$(echo ${{ github.event.pull_request.base.sha }} | cut -c1-8)\" >> $GITHUB_ENV\n          echo \"HEAD_SHA=$(echo ${{ github.event.pull_request.head.sha }} | cut -c1-8)\" >> $GITHUB_ENV\n          echo \"BASELINE_JSON=$(mktemp)\" >> $GITHUB_ENV\n          echo \"CONTENDER_JSON=$(mktemp)\" >> $GITHUB_ENV\n          echo \"PR_COMMENT=$(mktemp)\" >>  $GITHUB_ENV\n      - name: Run benchmarks\n        run: |\n          cd benchmarks/\n          RUN_BENCHMARK=\"pytest --rank 0 --benchmark-json \"\n          git checkout ${{ github.event.pull_request.base.sha }}\n          $RUN_BENCHMARK ${{ env.BASELINE_JSON }}\n          git checkout ${{ github.event.pull_request.head.sha }}\n          $RUN_BENCHMARK ${{ env.CONTENDER_JSON }}\n      - name: Publish results\n        uses: apbard/pytest-benchmark-commenter@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          benchmark-file: ${{ env.CONTENDER_JSON }}\n          comparison-benchmark-file: ${{ env.BASELINE_JSON }}\n          benchmark-metrics: 'name,max,mean,ops'\n          comparison-benchmark-metric: 'ops'\n          comparison-higher-is-better: true\n          comparison-threshold: 5\n          benchmark-title: 'Result of CPU Benchmark Tests'\n\n  benchmark_gpu:\n    name: GPU Pytest benchmark\n    runs-on: linux.g5.4xlarge.nvidia.gpu\n    defaults:\n      run:\n        shell: bash -l {0}\n    container:\n      image: nvidia/cuda:12.3.0-base-ubuntu22.04\n      options: --gpus all\n    steps:\n      - name: Who triggered this?\n        run: |\n          echo \"Action triggered by ${{ github.event.pull_request.html_url }}\"\n      - name: Install deps\n        run: |\n          export TZ=Europe/London\n          export DEBIAN_FRONTEND=noninteractive  # tzdata bug\n          apt-get update -y\n          apt-get install software-properties-common -y\n          add-apt-repository ppa:git-core/candidate -y\n          apt-get update -y\n          apt-get upgrade -y\n          apt-get -y install libglu1-mesa libgl1-mesa-glx libosmesa6 gcc curl g++ unzip wget libglfw3-dev libgles2-mesa-dev libglew-dev sudo git cmake libz-dev\n      - name: Check ldd --version\n        run: ldd --version\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 50 # this is to make sure we obtain the target base commit\n      - name: Python Setup\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Setup git\n        run: git config --global --add safe.directory /__w/rl/rl\n      - name: setup Path\n        run: |\n          echo /usr/local/bin >> $GITHUB_PATH\n      - name: Setup Environment\n        run: |\n          python3 -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu121 -U\n          python3 -m pip install git+https://github.com/pytorch/tensordict \n          python3 setup.py develop\n          python3 -m pip install pytest pytest-benchmark\n          python3 -m pip install \"gym[accept-rom-license,atari]\"\n          python3 -m pip install dm_control\n      - name: check GPU presence\n        run: |\n          python -c \"\"\"import torch\n          assert torch.cuda.device_count()\n          \"\"\"\n      - name: Setup benchmarks\n        run: |\n          echo \"BASE_SHA=$(echo ${{ github.event.pull_request.base.sha }} | cut -c1-8)\" >> $GITHUB_ENV\n          echo \"HEAD_SHA=$(echo ${{ github.event.pull_request.head.sha }} | cut -c1-8)\" >> $GITHUB_ENV\n          echo \"BASELINE_JSON=$(mktemp)\" >> $GITHUB_ENV\n          echo \"CONTENDER_JSON=$(mktemp)\" >> $GITHUB_ENV\n          echo \"PR_COMMENT=$(mktemp)\" >>  $GITHUB_ENV\n      - name: Run benchmarks\n        run: |\n          cd benchmarks/\n          RUN_BENCHMARK=\"pytest --rank 0 --benchmark-json \"\n          git checkout ${{ github.event.pull_request.base.sha }}\n          $RUN_BENCHMARK ${{ env.BASELINE_JSON }}\n          git checkout ${{ github.event.pull_request.head.sha }}\n          $RUN_BENCHMARK ${{ env.CONTENDER_JSON }}\n      - name: Publish results\n        uses: apbard/pytest-benchmark-commenter@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          benchmark-file: ${{ env.CONTENDER_JSON }}\n          comparison-benchmark-file: ${{ env.BASELINE_JSON }}\n          benchmark-metrics: 'name,max,mean,ops'\n          comparison-benchmark-metric: 'ops'\n          comparison-higher-is-better: true\n          comparison-threshold: 5\n          benchmark-title: 'Result of GPU Benchmark Tests'\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:33.328780", "created_at": "2023-08-30T22:54:02+02:00", "updated_at": "2023-10-05T17:56:30+02:00", "name": "Build M1 Wheels", "path": ".github/workflows/build-wheels-m1.yml", "contents": "name: Build M1 Wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: macos-arm64\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n  build:\n    needs: generate-matrix\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/rl\n            smoke-test-script: test/smoke_test.py\n            package-name: torchrl\n    name: pytorch/rl\n    uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      package-name: ${{ matrix.package-name }}\n      runner-type: macos-m1-stable\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n      env-var-script: .github/scripts/m1_script.sh\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:34.557169", "created_at": "2023-12-15T13:32:14+01:00", "updated_at": "2023-12-20T09:19:16+01:00", "name": "Unit-tests on Windows", "path": ".github/workflows/test-windows-optdepts.yml", "contents": "name: Unit-tests on Windows\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\nconcurrency:\n  # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.\n  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}\n  cancel-in-progress: true\n\njobs:\n  unittests-cpu:\n    uses: pytorch/test-infra/.github/workflows/windows_job.yml@main\n    with:\n      runner: \"windows.4xlarge\"\n      repository: pytorch/rl\n      timeout: 40\n      script: |\n        set -euxo pipefail\n\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cpu\"\n        export torch_cuda=\"False\"\n\n        # TODO: Port this to pytorch/test-infra/.github/workflows/windows_job.yml\n        export PATH=\"/c/Jenkins/Miniconda3/Scripts:${PATH}\"\n\n        echo \"PYTHON_VERSION: $PYTHON_VERSION\"\n        echo \"CU_VERSION: $CU_VERSION\"\n\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        ## setup_env.sh\n        ./.github/unittest/windows_optdepts/scripts/setup_env.sh\n\n        ## install.sh\n        ./.github/unittest/windows_optdepts/scripts/install.sh\n\n        ## run_test.sh\n        ./.github/unittest/windows_optdepts/scripts/run_test.sh\n\n        ## post_process.sh\n        ./.github/unittest/windows_optdepts/scripts/post_process.sh\n\n#  unittests-gpu:\n#    uses: pytorch/test-infra/.github/workflows/windows_job.yml@main\n#    with:\n#      runner: \"windows.g5.4xlarge.nvidia.gpu\"\n#      repository: pytorch/rl\n#      timeout: 40\n#      script: |\n#        set -euxo pipefail\n#\n#        export PYTHON_VERSION=\"3.9\"\n#        export CUDA_VERSION=\"11.6\"\n#        export CU_VERSION=\"cu116\"\n#        export torch_cuda=\"True\"\n#\n#        # TODO: Port this to pytorch/test-infra/.github/workflows/windows_job.yml\n#        export PATH=\"/c/Jenkins/Miniconda3/Scripts:${PATH}\"\n#\n#        echo \"PYTHON_VERSION: $PYTHON_VERSION\"\n#\n#        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n#          export RELEASE=1\n#          export TORCH_VERSION=stable\n#        else\n#          export RELEASE=0\n#          export TORCH_VERSION=nightly\n#        fi\n#\n#        ## setup_env.sh\n#        ./.github/unittest/windows_optdepts/scripts/setup_env.sh\n#\n#        ## Install CUDA\n#        packaging/windows/internal/cuda_install.bat\n#\n#        ## Update CUDA Driver\n#        packaging/windows/internal/driver_update.bat\n#\n#        ## install.sh\n#        ./.github/unittest/windows_optdepts/scripts/install.sh\n#\n#        ## run_test.sh\n#        ./.github/unittest/windows_optdepts/scripts/run_test.sh\n#\n#        ## post_process.sh\n#        ./.github/unittest/windows_optdepts/scripts/post_process.sh\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:35.750490", "created_at": "2024-01-12T17:19:02+01:00", "updated_at": "2024-01-12T18:19:15+01:00", "name": "Libs Tests on Linux", "path": ".github/workflows/test-linux-libs.yml", "contents": "name: Libs Tests on Linux\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\nconcurrency:\n  # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.\n  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}\n  cancel-in-progress: true\n\njobs:\n\n  unittests-atari-dqn:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cu117\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n\n        bash .github/unittest/linux_libs/scripts_ataridqn/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_ataridqn/install.sh\n        bash .github/unittest/linux_libs/scripts_ataridqn/run_test.sh\n        bash .github/unittest/linux_libs/scripts_ataridqn/post_process.sh\n\n  unittests-brax:\n    strategy:\n      matrix:\n        python_version: [\"3.11\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      gpu-arch-type: cuda\n      gpu-arch-version: \"11.7\"\n      docker-image: \"pytorch/manylinux-cuda124\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n\n        export PYTHON_VERSION=\"3.11\"\n        export CU_VERSION=\"12.1\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        nvidia-smi\n\n        bash .github/unittest/linux_libs/scripts_brax/run_all.sh\n\n  unittests-d4rl:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cu117\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        bash .github/unittest/linux_libs/scripts_d4rl/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_d4rl/install.sh\n        bash .github/unittest/linux_libs/scripts_d4rl/run_test.sh\n        bash .github/unittest/linux_libs/scripts_d4rl/post_process.sh\n\n  unittests-envpool:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cu117\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        bash .github/unittest/linux_libs/scripts_d4rl/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_d4rl/install.sh\n        bash .github/unittest/linux_libs/scripts_d4rl/run_test.sh\n        bash .github/unittest/linux_libs/scripts_d4rl/post_process.sh\n\n  unittests-gendgrl:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cu117\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n\n        bash .github/unittest/linux_libs/scripts_gen-dgrl/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_gen-dgrl/install.sh\n        bash .github/unittest/linux_libs/scripts_gen-dgrl/run_test.sh\n        bash .github/unittest/linux_libs/scripts_gen-dgrl/post_process.sh\n\n  unittests-gym:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      # gpu-arch-type: \"cuda\"\n      # gpu-arch-version: \"11.6\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euxo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        # export CU_VERSION=\"${{ inputs.gpu-arch-version }}\"\n        export CU_VERSION=\"11.4\"\n        export LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH:/work/mujoco-py/mujoco_py/binaries/linux/mujoco210/bin\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export BATCHED_PIPE_TIMEOUT=60\n\n        ./.github/unittest/linux_libs/scripts_gym/setup_env.sh\n        ./.github/unittest/linux_libs/scripts_gym/batch_scripts.sh\n        ./.github/unittest/linux_libs/scripts_gym/post_process.sh\n\n  unittests-jumanji:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      gpu-arch-type: cuda\n      gpu-arch-version: \"11.7\"\n      docker-image: \"pytorch/manylinux-cuda124\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"12.1\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        nvidia-smi\n\n        bash .github/unittest/linux_libs/scripts_jumanji/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_jumanji/install.sh\n        bash .github/unittest/linux_libs/scripts_jumanji/run_test.sh\n        bash .github/unittest/linux_libs/scripts_jumanji/post_process.sh\n\n  unittests-meltingpot:\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      gpu-arch-type: cuda\n      gpu-arch-version: \"12.1\"\n      docker-image: \"nvidia/cuda:12.4.1-runtime-ubuntu22.04\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.11\"\n        export CU_VERSION=\"12.1\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        nvidia-smi\n\n        bash .github/unittest/linux_libs/scripts_meltingpot/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_meltingpot/install.sh\n        bash .github/unittest/linux_libs/scripts_meltingpot/run_test.sh\n        bash .github/unittest/linux_libs/scripts_meltingpot/post_process.sh\n\n  unittests-minari:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cu117\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        bash .github/unittest/linux_libs/scripts_minari/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_minari/install.sh\n        bash .github/unittest/linux_libs/scripts_minari/run_test.sh\n        bash .github/unittest/linux_libs/scripts_minari/post_process.sh\n\n  unittests-openx:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cu117\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        bash .github/unittest/linux_libs/scripts_openx/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_openx/install.sh\n        bash .github/unittest/linux_libs/scripts_openx/run_test.sh\n        bash .github/unittest/linux_libs/scripts_openx/post_process.sh\n\n  unittests-pettingzoo:\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      gpu-arch-type: cuda\n      gpu-arch-version: \"11.7\"\n      docker-image: \"pytorch/manylinux-cuda124\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"12.1\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        nvidia-smi\n\n        bash .github/unittest/linux_libs/scripts_pettingzoo/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_pettingzoo/install.sh\n        bash .github/unittest/linux_libs/scripts_pettingzoo/run_test.sh\n        bash .github/unittest/linux_libs/scripts_pettingzoo/post_process.sh\n\n  unittests-robohive:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cu117\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        bash .github/unittest/linux_libs/scripts_robohive/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_robohive/install_and_run_test.sh\n        bash .github/unittest/linux_libs/scripts_robohive/post_process.sh\n\n  unittests-roboset:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cu117\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        bash .github/unittest/linux_libs/scripts_roboset/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_roboset/install.sh\n        bash .github/unittest/linux_libs/scripts_roboset/run_test.sh\n        bash .github/unittest/linux_libs/scripts_roboset/post_process.sh\n\n  unittests-sklearn:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      # gpu-arch-type: cuda\n      # gpu-arch-version: \"11.7\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cu117\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        bash .github/unittest/linux_libs/scripts_sklearn/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_sklearn/install.sh\n        bash .github/unittest/linux_libs/scripts_sklearn/run_test.sh\n        bash .github/unittest/linux_libs/scripts_sklearn/post_process.sh\n\n  unittests-smacv2:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      gpu-arch-type: cuda\n      gpu-arch-version: \"11.7\"\n      docker-image: \"pytorch/manylinux-cuda124\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"12.1\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        nvidia-smi\n\n        bash .github/unittest/linux_libs/scripts_smacv2/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_smacv2/install.sh\n        bash .github/unittest/linux_libs/scripts_smacv2/run_test.sh\n        bash .github/unittest/linux_libs/scripts_smacv2/post_process.sh\n\n  unittests-vd4rl:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cu117\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        bash .github/unittest/linux_libs/scripts_vd4rl/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_vd4rl/install.sh\n        bash .github/unittest/linux_libs/scripts_vd4rl/run_test.sh\n        bash .github/unittest/linux_libs/scripts_vd4rl/post_process.sh\n\n  unittests-vmas:\n    strategy:\n      matrix:\n        python_version: [\"3.9\"]\n        cuda_arch_version: [\"12.1\"]\n    if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      gpu-arch-type: cuda\n      gpu-arch-version: \"11.7\"\n      docker-image: \"pytorch/manylinux-cuda124\"\n      timeout: 120\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"12.1\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        export UPLOAD_CHANNEL=\"nightly\"\n        export TF_CPP_MIN_LOG_LEVEL=0\n        export BATCHED_PIPE_TIMEOUT=60\n\n        nvidia-smi\n\n        bash .github/unittest/linux_libs/scripts_vmas/setup_env.sh\n        bash .github/unittest/linux_libs/scripts_vmas/install.sh\n        bash .github/unittest/linux_libs/scripts_vmas/run_test.sh\n        bash .github/unittest/linux_libs/scripts_vmas/post_process.sh\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:36.915961", "created_at": "2024-01-12T17:19:02+01:00", "updated_at": "2024-02-16T11:21:35+01:00", "name": "Unit-tests on Linux", "path": ".github/workflows/test-linux.yml", "contents": "name: Unit-tests on Linux\n\non:\n  pull_request:\n  push:\n    branches:\n      - nightly\n      - main\n      - release/*\n  workflow_dispatch:\n\nenv:\n  CHANNEL: \"nightly\"\n\nconcurrency:\n  # Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.\n  # On master, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.\n  group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && format('ci-master-{0}', github.sha) || format('ci-{0}', github.ref) }}\n  cancel-in-progress: true\n\njobs:\n  tests-cpu:\n    strategy:\n      matrix:\n        python_version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.12xlarge\n      repository: pytorch/rl\n      docker-image: \"nvidia/cuda:12.2.0-devel-ubuntu22.04\"\n      timeout: 90\n      script: |\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n        # Set env vars from matrix\n        export PYTHON_VERSION=${{ matrix.python_version }}\n        export CU_VERSION=\"cpu\"\n\n        echo \"PYTHON_VERSION: $PYTHON_VERSION\"\n        echo \"CU_VERSION: $CU_VERSION\"\n\n        ## setup_env.sh\n        bash .github/unittest/linux/scripts/run_all.sh\n\n  tests-gpu:\n    strategy:\n      matrix:\n        python_version: [\"3.10\"]\n        cuda_arch_version: [\"12.1\"]\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.g5.4xlarge.nvidia.gpu\n      repository: pytorch/rl\n      docker-image: \"nvidia/cuda:12.1.0-devel-ubuntu22.04\"\n      gpu-arch-type: cuda\n      gpu-arch-version: ${{ matrix.cuda_arch_version }}\n      timeout: 90\n      script: |\n        # Set env vars from matrix\n        export PYTHON_VERSION=${{ matrix.python_version }}\n        # Commenting these out for now because the GPU test are not working inside docker\n        export CUDA_ARCH_VERSION=${{ matrix.cuda_arch_version }}\n        export CU_VERSION=\"cu${CUDA_ARCH_VERSION:0:2}${CUDA_ARCH_VERSION:3:1}\"\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n        # Remove the following line when the GPU tests are working inside docker, and uncomment the above lines\n        #export CU_VERSION=\"cpu\"\n\n        echo \"PYTHON_VERSION: $PYTHON_VERSION\"\n        echo \"CU_VERSION: $CU_VERSION\"\n\n        ## setup_env.sh\n        bash .github/unittest/linux/scripts/run_all.sh\n\n  tests-olddeps:\n    strategy:\n      matrix:\n        python_version: [\"3.8\"]\n        cuda_arch_version: [\"11.6\"]\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      repository: pytorch/rl\n      runner: \"linux.g5.4xlarge.nvidia.gpu\"\n      # gpu-arch-type: cuda\n      # gpu-arch-version: \"11.7\"\n      docker-image: \"nvidia/cudagl:11.4.0-base\"\n      timeout: 120\n      script: |\n        set -euo pipefail\n        export PYTHON_VERSION=\"3.9\"\n        export CU_VERSION=\"cu116\"\n        export TAR_OPTIONS=\"--no-same-owner\"\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n        export TF_CPP_MIN_LOG_LEVEL=0\n\n\n        bash .github/unittest/linux_olddeps/scripts_gym_0_13/setup_env.sh\n        bash .github/unittest/linux_olddeps/scripts_gym_0_13/batch_scripts.sh\n        bash .github/unittest/linux_olddeps/scripts_gym_0_13/post_process.sh\n\n  tests-optdeps:\n    strategy:\n      matrix:\n        python_version: [\"3.10\"] # \"3.8\", \"3.9\", \"3.10\", \"3.11\"\n        cuda_arch_version: [\"12.1\"] # \"11.6\", \"11.7\"\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.g5.4xlarge.nvidia.gpu\n      repository: pytorch/rl\n      docker-image: \"nvidia/cuda:12.1.0-devel-ubuntu22.04\"\n      gpu-arch-type: cuda\n      gpu-arch-version: ${{ matrix.cuda_arch_version }}\n      timeout: 90\n      script: |\n        # Set env vars from matrix\n        export PYTHON_VERSION=${{ matrix.python_version }}\n        # Commenting these out for now because the GPU test are not working inside docker\n        export CUDA_ARCH_VERSION=${{ matrix.cuda_arch_version }}\n        export CU_VERSION=\"cu${CUDA_ARCH_VERSION:0:2}${CUDA_ARCH_VERSION:3:1}\"\n        # Remove the following line when the GPU tests are working inside docker, and uncomment the above lines\n        #export CU_VERSION=\"cpu\"\n\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        echo \"PYTHON_VERSION: $PYTHON_VERSION\"\n        echo \"CU_VERSION: $CU_VERSION\"\n\n        ## setup_env.sh\n        bash .github/unittest/linux_optdeps/scripts/run_all.sh\n\n  tests-stable-gpu:\n    strategy:\n      matrix:\n        python_version: [\"3.10\"] # \"3.8\", \"3.9\", \"3.10\", \"3.11\"\n        cuda_arch_version: [\"11.8\"] # \"11.6\", \"11.7\"\n      fail-fast: false\n    uses: pytorch/test-infra/.github/workflows/linux_job.yml@main\n    with:\n      runner: linux.g5.4xlarge.nvidia.gpu\n      repository: pytorch/rl\n      docker-image: \"nvidia/cuda:12.1.0-devel-ubuntu22.04\"\n      gpu-arch-type: cuda\n      gpu-arch-version: ${{ matrix.cuda_arch_version }}\n      timeout: 90\n      script: |\n        # Set env vars from matrix\n        export PYTHON_VERSION=${{ matrix.python_version }}\n        # Commenting these out for now because the GPU test are not working inside docker\n        export CUDA_ARCH_VERSION=${{ matrix.cuda_arch_version }}\n        export CU_VERSION=\"cu${CUDA_ARCH_VERSION:0:2}${CUDA_ARCH_VERSION:3:1}\"\n\n        if [[ \"${{ github.ref }}\" =~ release/* ]]; then\n          export RELEASE=1\n          export TORCH_VERSION=stable\n        else\n          export RELEASE=0\n          export TORCH_VERSION=nightly\n        fi\n\n        # Remove the following line when the GPU tests are working inside docker, and uncomment the above lines\n        #export CU_VERSION=\"cpu\"\n\n        echo \"PYTHON_VERSION: $PYTHON_VERSION\"\n        echo \"CU_VERSION: $CU_VERSION\"\n\n        ## setup_env.sh\n        bash .github/unittest/linux/scripts/run_all.sh\n", "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:38.035300", "created_at": "2024-07-08T11:27:06+02:00", "updated_at": "2024-07-08T11:43:10+02:00", "name": "Build Linux Wheels", "path": ".github/workflows/build-wheels-linux.yml", "contents": null, "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:39.161190", "created_at": "2024-07-08T11:27:06+02:00", "updated_at": "2024-07-08T11:43:10+02:00", "name": "Build Windows Wheels", "path": ".github/workflows/build-wheels-windows.yml", "contents": null, "state": "active", "repository": "pytorch/rl"}
{"mined_at": "2024-07-15T18:13:41.417347", "created_at": "2022-10-19T18:13:58+02:00", "updated_at": "2022-10-20T20:40:00+02:00", "name": "Check", "path": ".github/workflows/check.yml", "contents": "name: Check\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  link:\n    name: Ruff linting\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: ./.github/actions/setup-cached-python\n        with:\n          version: \"3.10\"\n\n      - run: inv lint\n\n      - run: inv lint-protos\n\n  type_check:\n    name: Static type checks\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: ./.github/actions/setup-cached-python\n        with:\n          version: \"3.10\"\n\n      - run: inv protoc\n\n      - run: pip install -e .  # gets all dependencies and the package itself into python env\n\n      - name: Build type stubs\n        run: inv type-stubs\n\n      - run: inv type-check\n\n  check-copyright:\n    name: Check copyright\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: ./.github/actions/setup-cached-python\n        with:\n          version: \"3.10\"\n\n      - run: inv check-copyright\n", "state": "active", "repository": "modal-labs/modal-client"}
{"mined_at": "2024-07-15T18:13:42.647384", "created_at": "2022-10-19T19:26:42+02:00", "updated_at": "2023-12-07T20:26:21+01:00", "name": "CI/CD", "path": ".github/workflows/ci-cd.yml", "contents": "name: CI/CD\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\nenv:\n  TERM: linux\n  TERMINFO: /etc/terminfo\n  PYTHONIOENCODING: utf-8\n\njobs:\n  client-test:\n    name: Unit tests on ${{ matrix.python-version }} and ${{ matrix.os }} (protobuf=${{ matrix.proto-version }})\n    timeout-minutes: 20\n\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [\"ubuntu-20.04\"]\n        proto-version: [\"latest\"]\n        include:\n          - os: \"macos-12\" # x86-64\n            python-version: \"3.10\"\n            proto-version: \"latest\"\n          - os: \"macos-14\" # ARM64 (M1)\n            python-version: \"3.10\"\n            proto-version: \"latest\"\n          - os: \"windows-latest\"\n            python-version: \"3.10\"\n            proto-version: \"latest\"\n          - os: \"ubuntu-20.04\"\n            python-version: \"3.8\"\n            proto-version: \"3.19\"\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: ./.github/actions/setup-cached-python\n        with:\n          version: ${{ matrix.python-version }}\n\n      - if: matrix.proto-version != 'latest'\n        name: Install protobuf\n        run: pip install protobuf==${{ matrix.proto-version }}\n\n      - name: Build protobuf\n        run: inv protoc\n\n      - name: Build client package (installs all dependencies)\n        run: pip install -e .\n\n      - name: Run client tests\n        run: pytest\n\n      - name: Run docstring tests\n        if: github.event.pull_request.head.repo.fork != 'true'\n        env:\n          MODAL_ENVIRONMENT: client-doc-tests\n          MODAL_TOKEN_ID: ${{ secrets.MODAL_TOKEN_ID }}\n          MODAL_TOKEN_SECRET: ${{ secrets.MODAL_TOKEN_SECRET }}\n        run: pytest --markdown-docs -m markdown-docs modal\n\n  container-dependencies:\n    name: Check minimal container dependencies for ${{ matrix.python-version }}\n    runs-on: ubuntu-20.04\n    timeout-minutes: 4\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install dependencies\n        run: |\n          pip install -r modal/requirements/2024.04.txt\n          pip install synchronicity\n\n      - name: Compile protos\n        run: |\n          python -m venv venv\n          source venv/bin/activate\n          pip install grpcio-tools\n          python -m grpc_tools.protoc --python_out=. --grpclib_python_out=. --grpc_python_out=. -I . modal_proto/api.proto modal_proto/options.proto\n          deactivate\n\n      - name: Check entrypoint import\n        run: python -c 'import modal._container_entrypoint; import fastapi'\n\n  publish-base-images:\n    name: |\n      Publish base images for ${{ matrix.image-name }} ${{ matrix.image-builder-version }} on ${{ matrix.python-version }}\n    if: github.ref == 'refs/heads/main'\n    needs: [client-test]\n    runs-on: ubuntu-20.04\n    timeout-minutes: 5\n    env:\n      MODAL_LOGLEVEL: DEBUG\n      MODAL_TOKEN_ID: ${{ secrets.MODAL_TOKEN_ID }}\n      MODAL_TOKEN_SECRET: ${{ secrets.MODAL_TOKEN_SECRET }}\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        image-builder-version: [\"2023.12\", \"2024.04\"]\n        image-name: [\"debian_slim\", \"micromamba\"]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: ./.github/actions/setup-cached-python\n        with:\n          version: ${{ matrix.python-version }}\n\n      - name: Build protobuf\n        run: inv protoc\n\n      - name: Build client package (installs all dependencies)\n        run: pip install -e .\n\n      - name: Set the Modal environment\n        run: modal config set-environment main\n\n      - name: Publish base images\n        env:\n          MODAL_IMAGE_BUILDER_VERSION: ${{ matrix.image-builder-version }}\n          MODAL_IMAGE_ALLOW_GLOBAL_DEPLOYMENT: \"1\"\n        run: |\n          python -m modal_global_objects.images.${{ matrix.image-name }} ${{ matrix.python-version }}\n\n  publish-client:\n    name: Publish client package\n    if: github.ref == 'refs/heads/main'\n    needs: [client-test]\n    runs-on: ubuntu-20.04\n    concurrency: publish-client\n    timeout-minutes: 5\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - name: Generate token for Github PR Bot\n        id: generate_token\n        uses: tibdex/github-app-token@v1\n        with:\n          app_id: ${{ secrets.GH_PRBOT_APP_ID }}\n          private_key: ${{ secrets.GH_PRBOT_APP_PRIVATE_KEY }}\n\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ steps.generate_token.outputs.token }}\n          ref: main\n\n      - uses: ./.github/actions/setup-cached-python\n        with:\n          version: \"3.10\"\n\n      - name: Bump the version number\n        run: inv update-build-number\n\n      - name: Update the changelog\n        run: inv update-changelog --sha=$GITHUB_SHA\n\n      - name: Get the current client version\n        id: version\n        run: echo \"client_version=`python -m modal_version`\" >> \"$GITHUB_OUTPUT\"\n\n      - uses: EndBug/add-and-commit@v9\n        with:\n          add: modal_version/_version_generated.py CHANGELOG.md\n          tag: v${{ steps.version.outputs.client_version }}\n          message: \"[auto-commit] [skip ci] Bump the build number\"\n          pull: \"--rebase --autostash\"\n          default_author: github_actions\n\n      - name: Build protobuf\n        run: inv protoc\n\n      - name: Install all dependencies\n        run: pip install -e .\n\n      - name: Build type stubs\n        run: inv type-stubs\n\n      - name: Build wheel\n        run: python setup.py bdist_wheel\n\n      - name: Create alias package\n        run: inv create-alias-package\n\n      - name: Build alias package\n        working-directory: alias-package\n        run: python setup.py bdist_wheel\n\n      - name: Set the Modal environment\n        run: modal config set-environment main\n\n      - name: Publish client mount\n        env:\n          MODAL_LOGLEVEL: DEBUG\n          MODAL_TOKEN_ID: ${{ secrets.MODAL_TOKEN_ID }}\n          MODAL_TOKEN_SECRET: ${{ secrets.MODAL_TOKEN_SECRET }}\n        run: python -m modal_global_objects.mounts.modal_client_package\n\n      - name: Upload to PyPI\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        run: twine upload dist/* --non-interactive\n\n      - name: Upload alias package to PyPI\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n        working-directory: alias-package\n        run: twine upload dist/* --non-interactive\n", "state": "active", "repository": "modal-labs/modal-client"}
{"mined_at": "2024-07-15T18:13:43.688498", "created_at": "2023-09-26T20:37:17+02:00", "updated_at": "2023-09-26T21:06:18+02:00", "name": "Docs", "path": ".github/workflows/docs.yml", "contents": "name: Docs\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  doc-test:\n    name: Doc generation tests\n    timeout-minutes: 5\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: ./.github/actions/setup-cached-python\n\n      - name: Build protobuf\n        run: inv protoc\n\n      - name: Install package + deps\n        run: pip install -e .  # Makes sure doc generation doesn't break on client imports etc.\n\n      - name: Generate reference docs\n        run: python -m modal_docs.gen_reference_docs reference_docs_output\n\n      - name: Generate CLI docs\n        run: python -m modal_docs.gen_cli_docs cli_docs\n", "state": "active", "repository": "modal-labs/modal-client"}
{"mined_at": "2024-07-15T18:13:44.759210", "created_at": "2023-05-22T22:33:58+02:00", "updated_at": "2023-05-22T23:06:32+02:00", "name": "PR autoapprove", "path": ".github/workflows/pr-autoapprove.yml", "contents": "# Auto-approve hotfix pull requests.\n#\n# SOC-2 requires that all Github pull requests have 1 independent approval.\n#\n# > SOC 2 CM-03\n# > System changes are approved by at least 1 independent person prior to deployment into production.\n#\n# We don't want hotfixes blocked on approval because they're 'emergency' changes,\n# so we use this script and a Github Actions workflow (.github/workflows/pr_autoapprove.yml)\n# to ensure hotfixes are immediately approved.\nname: PR autoapprove\non:\n  pull_request:\n    types: [opened, reopened, labeled, edited]\n  pull_request_review:\n    types: [dismissed]\n\npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n  autoapproval:\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    runs-on: ubuntu-latest\n    name: Pull Request Auto-approval\n    steps:\n      - uses: actions/checkout@v3\n      - run: python -m pip install --upgrade pip && pip install httpx\n      # prettier-ignore\n      - run:\n          python3 .github/workflows/pr_autoapprove.py ${{ toJSON(github.event.pull_request.title) }} \"${{ github.event.pull_request.number }}\"\n", "state": "active", "repository": "modal-labs/modal-client"}
{"mined_at": "2024-07-15T18:13:46.130972", "created_at": "2023-05-21T15:35:02+02:00", "updated_at": "2023-05-21T21:10:33+02:00", "name": "CodeQL", "path": ".github/workflows/sast-codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '43 3 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "modal-labs/modal-client"}
{"mined_at": "2024-07-15T18:13:48.383823", "created_at": "2022-01-20T08:46:51+01:00", "updated_at": "2024-05-21T11:50:14+02:00", "name": "GitHub Actions", "path": ".github/workflows/ci.yml", "contents": "\nname: GitHub Actions\n\non:\n  pull_request:\n      paths-ignore:\n      - '.github/workflows/run-custom-tests.yml'\n  workflow_dispatch:\n  push:\n    tags:\n      - \"*\"\n    branches:\n      - main\n    paths-ignore:\n      - 'doc/**'\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  # Following env vars when changed will \"reset\" the mentioned cache,\n  # by changing the cache file name. It is rendered as ...-v%RESET_XXX%-...\n  # You should go up in number, if you go down (or repeat a previous value)\n  # you might end up reusing a previous cache if it haven't been deleted already.\n  # It applies 7 days retention policy by default.\n  RESET_EXAMPLES_CACHE: 6\n  API_CODE_CACHE: 3\n  DOCUMENTATION_CNAME: 'fluent.docs.pyansys.com'\n  PACKAGE_NAME: 'ansys-fluent-core'\n  PACKAGE_NAMESPACE: 'ansys.fluent.core'\n  ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}\n  MAIN_PYTHON_VERSION: '3.9'\n  PYTHON_VERSION: '3.12'\n  PYFLUENT_TIMEOUT_FORCE_EXIT: 30\n  PYFLUENT_LAUNCH_CONTAINER: 1\n  PYFLUENT_LOGGING: 'DEBUG'\n  PYFLUENT_WATCHDOG_DEBUG: 'OFF'\n  PYFLUENT_HIDE_LOG_SECRETS: 1\n  PYFLUENT_SKIP_API_UPGRADE_ADVICE: 1\n\njobs:\n\n  docs-style:\n    name: Documentation Style Check\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Install pre-commit\n        run: python -m pip install pre-commit\n\n      - name: Run pre-commit for docformatter\n        run: pre-commit run --hook-stage manual --all-files --show-diff-on-failure docformatter\n\n      - name: Running Vale\n        uses: errata-ai/vale-action@reviewdog\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        with:\n          files: doc\n          reporter: github-pr-check\n          level: error\n          filter_mode: nofilter\n          fail_on_error: true\n\n  commit-style:\n    name: \"Run commit style checks\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: ansys/actions/commit-style@v6\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  test-import:\n    name: Build and Smoke tests\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n        should-release:\n          - ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}\n        exclude:\n          - should-release: false\n            os: macos-latest\n    steps:\n      - name: Build wheelhouse and perform smoke test\n        uses: ansys/actions/build-wheelhouse@v6\n        with:\n          library-name: ${{ env.PACKAGE_NAME }}\n          operating-system: ${{ matrix.os }}\n          python-version: ${{ matrix.python-version }}\n\n  docs_build:\n    name: Build Documentation\n    needs: [docs-style]\n    runs-on: [self-hosted, pyfluent]\n    env:\n      DOC_DEPLOYMENT_IMAGE_TAG: v24.2.0\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Install OS packages\n        run: |\n          sudo apt-get update\n          sudo apt-get install pandoc libegl1 make xvfb libfontconfig1 libxrender1 libxkbcommon-x11-0 -y\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            Python-${{ runner.os }}-${{ matrix.python-version }}\n\n      - name: Install pyfluent\n        run: make install\n\n      - name: Retrieve PyFluent version\n        run: |\n          echo \"PYFLUENT_VERSION=$(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\" >> $GITHUB_OUTPUT\n          echo \"PYFLUENT version is: $(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\"\n        id: version\n\n      - name: Cache API Code\n        uses: actions/cache@v4\n        id: cache-api-code\n        with:\n          path: |\n            src/ansys/fluent/core/generated\n            doc/source/api/meshing/tui\n            doc/source/api/meshing/datamodel\n            doc/source/api/solver/tui\n            doc/source/api/solver/datamodel\n          key: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}-${{ hashFiles('src/ansys/fluent/core/codegen/**') }}\n          restore-keys: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n\n      - name: Login to GitHub Container Registry\n        if: steps.cache-api-code.outputs.cache-hit != 'true'\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull Fluent docker image\n        if: steps.cache-api-code.outputs.cache-hit != 'true'\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n\n      - name: Run API codegen\n        if: steps.cache-api-code.outputs.cache-hit != 'true'\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n\n      - name: Install again after codegen\n        run: |\n          rm -rf dist\n          make install > /dev/null\n\n      - name: Cache examples\n        uses: actions/cache@v4\n        with:\n          path: doc/source/examples\n          key: Examples-v${{ env.RESET_EXAMPLES_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}-${{ hashFiles('examples/**', 'doc/source/conf.py') }}\n          restore-keys: |\n            Examples-v${{ env.RESET_EXAMPLES_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n\n      - name: Build Source Documentation\n        run: |\n          pip install -r requirements/requirements_build.txt\n          if [ -f poetry.lock ] ; then\n            rm poetry.lock\n          fi\n          poetry install --with docs\n          poetry install -E reader\n          make build-doc-source\n        env:\n          FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n\n      - name: Zip HTML Documentation before upload\n        run: |\n          sudo apt install zip -y\n          pushd doc/_build/html\n          zip -r ../../../HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}.zip .\n          popd\n\n      - name: Upload HTML Documentation\n        uses: actions/upload-artifact@v4\n        with:\n          name: HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n          path: HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}.zip\n          retention-days: 7\n\n  build:\n    name: Build\n    if: ${{ !contains(github.event.pull_request.title, '[skip tests]') }}\n    needs: test-import\n    runs-on: [self-hosted, pyfluent]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            Python-${{ runner.os }}-${{ matrix.python-version }}\n\n      - name: Add version information\n        run: make version-info\n\n      - name: Install pyfluent\n        run: make install\n\n      - name: Retrieve PyFluent version\n        run: |\n          echo \"PYFLUENT_VERSION=$(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\" >> $GITHUB_OUTPUT\n          echo \"PYFLUENT version is: $(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\"\n        id: version\n\n      - name: Cache 22.2 API Code\n        uses: actions/cache@v4\n        id: cache-222-api-code\n        with:\n          path:\n            src/ansys/fluent/core/generated\n            doc/source/api/core/meshing/tui\n            doc/source/api/core/meshing/datamodel\n            doc/source/api/core/solver/tui\n            doc/source/api/core/solver/datamodel\n          key: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v22.2.0-${{ hashFiles('src/ansys/fluent/core/codegen/**') }}\n          restore-keys: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v22.2.0\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull 22.2 Fluent docker image\n        if: steps.cache-222-api-code.outputs.cache-hit != 'true'\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: v22.2.0\n\n      - name: Run 22.2 API codegen\n        if: steps.cache-222-api-code.outputs.cache-hit != 'true'\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: v22.2.0\n\n      - name: Print 22.2 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_222.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_222 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Cache 23.1 API Code\n        uses: actions/cache@v4\n        id: cache-231-api-code\n        with:\n          path:\n            src/ansys/fluent/core/generated\n            doc/source/api/core/meshing/tui\n            doc/source/api/core/meshing/datamodel\n            doc/source/api/core/solver/tui\n            doc/source/api/core/solver/datamodel\n          key: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v23.1.0-${{ hashFiles('src/ansys/fluent/core/codegen/**') }}\n          restore-keys: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v23.1.0\n\n      - name: Pull 23.1 Fluent docker image\n        if: steps.cache-231-api-code.outputs.cache-hit != 'true'\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: v23.1.0\n\n      - name: Run 23.1 API codegen\n        if: steps.cache-231-api-code.outputs.cache-hit != 'true'\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: v23.1.0\n\n      - name: Print 23.1 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_231.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_231 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Cache 23.2 API Code\n        uses: actions/cache@v4\n        id: cache-232-api-code\n        with:\n          path:\n            src/ansys/fluent/core/generated\n            doc/source/api/core/meshing/tui\n            doc/source/api/core/meshing/datamodel\n            doc/source/api/core/solver/tui\n            doc/source/api/core/solver/datamodel\n          key: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v23.2.0-${{ hashFiles('src/ansys/fluent/core/codegen/**') }}\n          restore-keys: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v23.2.0\n\n      - name: Pull 23.2 Fluent docker image\n        if: steps.cache-232-api-code.outputs.cache-hit != 'true'\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: v23.2.0\n\n      - name: Run 23.2 API codegen\n        if: steps.cache-232-api-code.outputs.cache-hit != 'true'\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: v23.2.0\n\n      - name: Print 23.2 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_232.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_232 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Cache 24.1 API Code\n        uses: actions/cache@v4\n        id: cache-241-api-code\n        with:\n          path:\n            src/ansys/fluent/core/generated\n            doc/source/api/core/meshing/tui\n            doc/source/api/core/meshing/datamodel\n            doc/source/api/core/solver/tui\n            doc/source/api/core/solver/datamodel\n          key: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v24.1.0-${{ hashFiles('src/ansys/fluent/core/codegen/**') }}\n          restore-keys: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v24.1.0\n\n      - name: Pull 24.1 Fluent docker image\n        if: steps.cache-241-api-code.outputs.cache-hit != 'true'\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: v24.1.0\n\n      - name: Run 24.1 API codegen\n        if: steps.cache-241-api-code.outputs.cache-hit != 'true'\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: v24.1.0\n\n      - name: Print 24.1 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_241.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_241 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Cache 24.2 API Code\n        uses: actions/cache@v4\n        id: cache-242-api-code\n        with:\n          path:\n            src/ansys/fluent/core/generated\n            doc/source/api/core/meshing/tui\n            doc/source/api/core/meshing/datamodel\n            doc/source/api/core/solver/tui\n            doc/source/api/core/solver/datamodel\n          key: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v24.2.0-${{ hashFiles('src/ansys/fluent/core/codegen/**') }}\n          restore-keys: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v24.2.0\n\n      - name: Pull 24.2 Fluent docker image\n        if: steps.cache-242-api-code.outputs.cache-hit != 'true'\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: v24.2.0\n\n      - name: Run 24.2 API codegen\n        if: steps.cache-242-api-code.outputs.cache-hit != 'true'\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: v24.2.0\n\n      - name: Print 24.2 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_242.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_242 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Cache 25.1 API Code\n        uses: actions/cache@v4\n        id: cache-251-api-code\n        with:\n          path:\n            src/ansys/fluent/core/generated\n            doc/source/api/core/meshing/tui\n            doc/source/api/core/meshing/datamodel\n            doc/source/api/core/solver/tui\n            doc/source/api/core/solver/datamodel\n          key: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-${{ vars.FLUENT_STABLE_IMAGE_DEV }}-${{ hashFiles('src/ansys/fluent/core/codegen/**') }}\n          restore-keys: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-${{ vars.FLUENT_STABLE_IMAGE_DEV }}\n\n      - name: Pull 25.1 Fluent docker image\n        if: steps.cache-251-api-code.outputs.cache-hit != 'true'\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: ${{ vars.FLUENT_STABLE_IMAGE_DEV }}\n\n      - name: Run 25.1 API codegen\n        if: steps.cache-251-api-code.outputs.cache-hit != 'true'\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: v25.1.0\n\n      - name: Print 25.1 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_251.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_251 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Install again after codegen\n        run: |\n          rm -rf dist\n          make install > /dev/null\n\n      - name: Check package\n        run: |\n          pip install twine\n          twine check dist/*\n\n      - name: Upload package\n        uses: actions/upload-artifact@v4\n        with:\n          name: PyFluent-packages\n          path: |\n            dist/*.whl\n            dist/*.tar.gz\n          retention-days: 7\n\n  test:\n    name: Unit Testing\n    if: ${{ always() }}\n    needs: build\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - image-tag: v22.2.0\n            version: 222\n          - image-tag: v23.1.0\n            version: 231\n          - image-tag: v23.2.0\n            version: 232\n          - image-tag: v24.1.0\n            version: 241\n          - image-tag: v24.2.0\n            version: 242\n          - image-tag: v25.1.0\n            version: 251\n    timeout-minutes: 120\n\n    steps:\n\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        if: ${{ !contains(github.event.pull_request.title, '[skip tests]') }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Download package\n        if: ${{ !contains(github.event.pull_request.title, '[skip tests]') }}\n        uses: actions/download-artifact@v4\n        with:\n          name: PyFluent-packages\n          path: dist\n\n      - name: Install pyfluent\n        if: ${{ !contains(github.event.pull_request.title, '[skip tests]') }}\n        run: pip install -q --force-reinstall dist/*.whl > /dev/null\n\n      - name: Retrieve PyFluent version\n        if: ${{ !contains(github.event.pull_request.title, '[skip tests]') }}\n        run: |\n          echo \"PYFLUENT_VERSION=$(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\" >> $GITHUB_OUTPUT\n          echo \"PYFLUENT version is: $(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\"\n        id: version\n\n      - name: Login to GitHub Container Registry\n        if: ${{ !contains(github.event.pull_request.title, '[skip tests]') }}\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull Fluent docker image\n        if: ${{ matrix.image-tag != 'v25.1.0' && !contains(github.event.pull_request.title, '[skip tests]') }}\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: ${{ matrix.image-tag }}\n\n      - name: Pull Fluent docker image dev\n        if: ${{ matrix.image-tag == 'v25.1.0' && !contains(github.event.pull_request.title, '[skip tests]') }}\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: ${{ vars.FLUENT_STABLE_IMAGE_DEV }}\n\n      - name: Unit Testing\n        if: ${{ !contains(github.event.pull_request.title, '[skip tests]') }}\n        run: |\n          make install-test\n          make unittest-dev-${{ matrix.version }}\n        env:\n          FLUENT_IMAGE_TAG: ${{ matrix.image-tag }}\n\n      - name: Cleanup previous docker containers\n        if: always()\n        run: make cleanup-previous-docker-containers\n\n      - name: Upload 24.2 Coverage Artifacts\n        if: matrix.image-tag == 'v24.2.0'\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage_report\n          path: ./htmlcov\n\n  release:\n    name: Release\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')\n    needs: test\n    runs-on: ubuntu-latest\n    steps:\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - uses: actions/download-artifact@v4\n\n      - name: Display package file list\n        run: ls -R\n\n      - name: Upload to Private PyPi\n        run: |\n          pip install twine\n          python -m twine upload --skip-existing ./**/*.whl\n          python -m twine upload --skip-existing ./**/*.tar.gz\n        env:\n          TWINE_USERNAME: PAT\n          TWINE_PASSWORD: ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }}\n          TWINE_REPOSITORY_URL: https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload\n\n      - name: Upload to Public PyPi\n        run: |\n          pip install twine\n          twine upload --skip-existing ./**/*.whl\n          python -m twine upload --skip-existing ./**/*.tar.gz\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.ANSYS_FLUENT_CORE_PYPI_TOKEN }}\n\n      - name: Release\n        uses: softprops/action-gh-release@v2\n        with:\n          files: |\n            ./**/*.whl\n            ./**/*.tar.gz\n            ./**/*-wheelhouse-*.zip\n", "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:13:49.400968", "created_at": "2022-08-04T18:14:32+02:00", "updated_at": "2022-08-04T18:14:32+02:00", "name": "Tag Iteration Ends", "path": ".github/workflows/tag-iteration-ends.yml", "contents": "name: Tag Iteration Ends\n\non:\n  schedule:  # 0400 UTC next day (end of US day)\n  # Dates from 2024 release calendar\n    - cron:  '0 4 10 2 *'\n    - cron:  '0 4 2 3 *'\n    - cron:  '0 4 23 3 *'\n    - cron:  '0 4 13 4 *'\n    - cron:  '0 4 11 5 *'\n    - cron:  '0 4 2 6 *'\n    - cron:  '0 4 22 6 *'\n    - cron:  '0 4 13 7 *'\n    - cron:  '0 4 3 8 *'\n    - cron:  '0 4 24 8 *'\n    - cron:  '0 4 14 9 *'\n    - cron:  '0 4 5 10 *'\n    - cron:  '0 4 2 11 *'\n    - cron:  '0 4 30 11 *'\n    - cron:  '0 4 28 12 *'\n  workflow_dispatch:\n\njobs:\n  tag:\n    name: tag-iteration-ends\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Get last date of iteration\n        id: date\n        run: echo \"date=$(date -u --date yesterday +'%m%d')\" >> $GITHUB_OUTPUT\n      - name: Create tag\n        run: |\n          git tag ${{ format('date-{0}', steps.date.outputs.date) }}\n          git push origin ${{ format('date-{0}', steps.date.outputs.date) }}\n", "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:13:50.634004", "created_at": "2022-12-14T08:43:17+01:00", "updated_at": "2022-12-14T08:43:17+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:13:51.734323", "created_at": "2023-06-08T09:31:18+02:00", "updated_at": "2023-06-08T09:31:18+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:13:52.769541", "created_at": "2023-06-08T15:25:49+02:00", "updated_at": "2023-06-08T16:03:34+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v4\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v4\n", "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:13:53.911296", "created_at": "2024-04-19T14:09:15+02:00", "updated_at": "2024-04-19T14:09:15+02:00", "name": "Doc Build Dev Nightly", "path": ".github/workflows/doc-build-dev-nightly.yml", "contents": "name: Doc Build Dev Nightly\n\non:\n  schedule:  # UTC at 0500\n    - cron:  '0 5 * * *'\n  workflow_dispatch:\n\nenv:\n  DOCUMENTATION_CNAME: 'fluent.docs.pyansys.com'\n  DOC_DEPLOYMENT_IMAGE_TAG: v24.2.0\n  ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}\n  PYFLUENT_TIMEOUT_FORCE_EXIT: 30\n  PYFLUENT_LAUNCH_CONTAINER: 1\n  PYFLUENT_LOGGING: 'DEBUG'\n  PYFLUENT_WATCHDOG_DEBUG: 'OFF'\n  PYFLUENT_HIDE_LOG_SECRETS: 1\n  PYFLUENT_SKIP_API_UPGRADE_ADVICE: 1\n\njobs:\n  build_dev_docs:\n    runs-on: [self-hosted, pyfluent]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Install OS packages\n        run: |\n          sudo apt update\n          sudo apt-get install pandoc libegl1 make xvfb libfontconfig1 libxrender1 libxkbcommon-x11-0 -y\n\n      - name: Install pyfluent\n        run: make install\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull Fluent docker image\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n\n      - name: Run API codegen\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n\n      - name: Install again after codegen\n        run: |\n          rm -rf dist\n          make install > /dev/null\n\n      - name: Build All Documentation\n        run: |\n          pip install -r requirements/requirements_build.txt\n          if [ -f poetry.lock ] ; then\n            rm poetry.lock\n          fi\n          poetry install --with docs\n          make build-all-docs\n        env:\n          FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n\n      - name: Zip HTML Documentation before upload\n        run: |\n          sudo apt install zip -y\n          pushd doc/_build/html\n          zip -r ../../../HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}.zip .\n          popd\n\n      - name: Upload HTML Documentation\n        uses: actions/upload-artifact@v4\n        with:\n          name: HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n          path: HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}.zip\n          retention-days: 7\n\n  deploy_dev_docs:\n    runs-on: ubuntu-latest\n    needs: [build_dev_docs]\n    if: github.ref == 'refs/heads/main'\n    steps:\n      - name: \"Deploy development documentation\"\n        uses: ansys/actions/doc-deploy-dev@v6\n        with:\n            doc-artifact-name: 'HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}'\n            decompress-artifact: true\n            cname: ${{ env.DOCUMENTATION_CNAME }}\n            token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:13:55.027470", "created_at": "2024-04-19T14:09:15+02:00", "updated_at": "2024-04-19T14:09:15+02:00", "name": "Doc Build Release", "path": ".github/workflows/doc-build-release.yml", "contents": "name: Doc Build Release\n\non:\n  workflow_dispatch:\n  push:\n    tags:\n      - 'v*'\n      - '!*dev*'\n\nenv:\n  DOCUMENTATION_CNAME: 'fluent.docs.pyansys.com'\n  DOC_DEPLOYMENT_IMAGE_TAG: v24.2.0\n  ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}\n  PYFLUENT_TIMEOUT_FORCE_EXIT: 30\n  PYFLUENT_LAUNCH_CONTAINER: 1\n  PYFLUENT_LOGGING: 'DEBUG'\n  PYFLUENT_WATCHDOG_DEBUG: 'OFF'\n  PYFLUENT_HIDE_LOG_SECRETS: 1\n  PYFLUENT_SKIP_API_UPGRADE_ADVICE: 1\n\njobs:\n  build_release_docs:\n    runs-on: [self-hosted, pyfluent]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Install OS packages\n        run: |\n          sudo apt update\n          sudo apt-get install pandoc libegl1 make xvfb libfontconfig1 libxrender1 libxkbcommon-x11-0 -y\n\n      - name: Install pyfluent\n        run: make install\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull Fluent docker image\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n\n      - name: Run API codegen\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n\n      - name: Build All Documentation\n        run: |\n          pip install -r requirements/requirements_build.txt\n          poetry install --only docs\n          make build-all-docs\n        env:\n          FLUENT_IMAGE_TAG: ${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n\n      - name: Zip HTML Documentation before upload\n        run: |\n          sudo apt install zip -y\n          pushd doc/_build/html\n          zip -r ../../../HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}.zip .\n          popd\n\n      - name: Upload HTML Documentation\n        uses: actions/upload-artifact@v4\n        with:\n          name: HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}\n          path: HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}.zip\n          retention-days: 7\n\n  deploy_release_docs:\n    runs-on: ubuntu-latest\n    needs: [build_release_docs]\n    steps:\n      - name: \"Deploy release documentation\"\n        uses: ansys/actions/doc-deploy-stable@v6\n        with:\n            doc-artifact-name: 'HTML-Documentation-tag-${{ env.DOC_DEPLOYMENT_IMAGE_TAG }}'\n            decompress-artifact: true\n            cname: ${{ env.DOCUMENTATION_CNAME }}\n            token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:13:56.092413", "created_at": "2024-04-19T14:09:15+02:00", "updated_at": "2024-04-19T14:09:15+02:00", "name": "Test Run Custom", "path": ".github/workflows/test-run-custom.yml", "contents": "\nname: Test Run Custom\n\non:\n  #pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}\n  PYFLUENT_TIMEOUT_FORCE_EXIT: 30\n  PYFLUENT_LAUNCH_CONTAINER: 1\n  PYFLUENT_LOGGING: 'DEBUG'\n  PYFLUENT_WATCHDOG_DEBUG: 'OFF'\n  PYFLUENT_HIDE_LOG_SECRETS: 1\n\njobs:\n\n  build_test:\n    name: Build and Test\n    runs-on: [self-hosted, pyfluent]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - image-tag: v22.2.0\n            version: 222\n          - image-tag: v23.1.0\n            version: 231\n          - image-tag: v23.2.0\n            version: 232\n          - image-tag: v24.1.0\n            version: 241\n          - image-tag: v24.2.0\n            version: 242\n          - image-tag: v25.1.0\n            version: 251\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            Python-${{ runner.os }}-${{ matrix.python-version }}\n\n      - name: Add version information\n        run: make version-info\n\n      - name: Install pyfluent\n        run: make install\n\n      - name: Retrieve PyFluent version\n        run: |\n          echo \"PYFLUENT_VERSION=$(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\" >> $GITHUB_OUTPUT\n          echo \"PYFLUENT version is: $(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\"\n        id: version\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull Fluent docker image\n        if: matrix.image-tag != 'v25.1.0'\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: ${{ matrix.image-tag }}\n\n      - name: Pull Fluent docker image dev\n        if: matrix.image-tag == 'v25.1.0'\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: ${{ vars.FLUENT_STABLE_IMAGE_DEV }}\n\n      - name: Run API codegen\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: ${{ matrix.image-tag }}\n\n      - name: Print Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_${{ matrix.version }}.py\n\n      - name: Install again after codegen\n        run: |\n          rm -rf dist\n          make install > /dev/null\n\n      - name: Unit Testing\n        run: |\n            echo \"Running custom unittest\"\n            sudo rm -rf /home/ansys/.local/share/ansys_fluent_core/examples\n            make install-test\n            poetry python -m pytest -v --no-cov --capture=no -k test_parametric_workflow --nightly\n        env:\n          FLUENT_IMAGE_TAG: ${{ matrix.image-tag }}\n\n      - name: Cleanup previous docker containers\n        if: always()\n        run: make cleanup-previous-docker-containers\n", "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:13:57.205697", "created_at": "2024-04-19T14:09:15+02:00", "updated_at": "2024-06-03T15:29:05+02:00", "name": "Test Run Dev Version Nightly", "path": ".github/workflows/test-run-dev-version-nightly.yml", "contents": "name: Test Run Dev Version Nightly\n\non:\n  schedule:  # UTC at 0300\n    - cron:  '0 3 * * *'\n  workflow_dispatch:\n\nenv:\n  ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}\n  PYFLUENT_TIMEOUT_FORCE_EXIT: 30\n  PYFLUENT_LAUNCH_CONTAINER: 1\n  PYFLUENT_LOGGING: 'DEBUG'\n  PYFLUENT_WATCHDOG_DEBUG: 'OFF'\n  PYFLUENT_HIDE_LOG_SECRETS: 1\n  MAIN_PYTHON_VERSION: '3.9'\n\njobs:\n  test:\n    name: Unit Testing\n    runs-on: [self-hosted, pyfluent]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            Python-${{ runner.os }}-${{ matrix.python-version }}\n\n      - name: Add version information\n        run: make version-info\n\n      - name: Install pyfluent\n        run: make install\n\n      - name: Retrieve PyFluent version\n        run: |\n          echo \"PYFLUENT_VERSION=$(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\" >> $GITHUB_OUTPUT\n          echo \"PYFLUENT version is: $(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\"\n        id: version\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull 25.1 Fluent docker image\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: v25.1.0\n\n      - name: Run 25.1 API codegen\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: v25.1.0\n\n      - name: Print 25.1 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_251.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_251 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Install again after codegen\n        run: |\n          rm -rf dist\n          make install > /dev/null\n\n      - name: 25.1 Unit Testing\n        run: |\n          make install-test\n          make unittest-all-251\n        env:\n          FLUENT_IMAGE_TAG: v25.1.0\n\n      - name: Cleanup previous docker containers\n        if: always()\n        run: make cleanup-previous-docker-containers\n\n      - name: Update Fluent image\n        env:\n          GITHUB_TOKEN: ${{ secrets.ADMIN_ACCESS_TOKEN }}\n        run: |\n          DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/ansys/pyfluent:v25.1.0 | sed 's/.*@//')\n          gh variable set FLUENT_STABLE_IMAGE_DEV --body $DIGEST\n\n  clean-up:\n    name: Remove docker image\n    runs-on: [self-hosted, pyfluent]\n    if: ${{ always() }}\n    needs: test\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Delete 25.1 Fluent docker image\n        run: docker rmi -f ghcr.io/ansys/pyfluent:v25.1.0", "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:13:58.418533", "created_at": "2024-04-19T14:09:15+02:00", "updated_at": "2024-04-19T14:09:15+02:00", "name": "Test Run Nightly", "path": ".github/workflows/test-run-nightly.yml", "contents": "name: Test Run Nightly\n\non:\n  schedule:  # UTC at 0400\n    - cron:  '0 4 * * *'\n  workflow_dispatch:\n\nenv:\n  ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}\n  PYFLUENT_TIMEOUT_FORCE_EXIT: 30\n  PYFLUENT_LAUNCH_CONTAINER: 1\n  PYFLUENT_LOGGING: 'DEBUG'\n  PYFLUENT_WATCHDOG_DEBUG: 'OFF'\n  PYFLUENT_HIDE_LOG_SECRETS: 1\n  MAIN_PYTHON_VERSION: '3.9'\n\njobs:\n  test:\n    name: Unit Testing\n    runs-on: [self-hosted, pyfluent]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            Python-${{ runner.os }}-${{ matrix.python-version }}\n\n      - name: Add version information\n        run: make version-info\n\n      - name: Install pyfluent\n        run: make install\n\n      - name: Retrieve PyFluent version\n        run: |\n          echo \"PYFLUENT_VERSION=$(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\" >> $GITHUB_OUTPUT\n          echo \"PYFLUENT version is: $(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\"\n        id: version\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull 24.2 Fluent docker image\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: v24.2.0\n\n      - name: Run 24.2 API codegen\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: v24.2.0\n\n      - name: Print 24.2 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_242.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_242 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Install again after codegen\n        run: |\n          rm -rf dist\n          make install > /dev/null\n\n      - name: 24.2 Unit Testing\n        run: |\n          make install-test\n          make unittest-all-242\n        env:\n          FLUENT_IMAGE_TAG: v24.2.0\n\n      - name: Cleanup previous docker containers\n        if: always()\n        run: make cleanup-previous-docker-containers\n\n      - name: Upload 24.2 Coverage Results to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          root_dir: ${{ github.workspace }}\n          name: cov_xml.xml\n\n      - name: Upload 24.2 Coverage Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage_report\n          path: ./htmlcov\n", "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:13:59.451995", "created_at": "2024-04-19T14:09:15+02:00", "updated_at": "2024-04-19T14:09:15+02:00", "name": "Test Run Old Versions Weekly", "path": ".github/workflows/test-run-old-versions-weekly.yml", "contents": "name: Test Run Old Versions Weekly\n\non:\n  schedule:  # UTC at 0900 on Saturday\n    - cron:  '0 9 * * SAT'\n  workflow_dispatch:\n\nenv:\n  ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}\n  PYFLUENT_TIMEOUT_FORCE_EXIT: 30\n  PYFLUENT_LAUNCH_CONTAINER: 1\n  PYFLUENT_LOGGING: 'DEBUG'\n  PYFLUENT_WATCHDOG_DEBUG: 'OFF'\n  PYFLUENT_HIDE_LOG_SECRETS: 1\n  MAIN_PYTHON_VERSION: '3.9'\n\njobs:\n  build:\n    name: Build package\n    runs-on: [self-hosted, pyfluent]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            Python-${{ runner.os }}-${{ matrix.python-version }}\n\n      - name: Add version information\n        run: make version-info\n\n      - name: Install pyfluent\n        run: make install\n\n      - name: Retrieve PyFluent version\n        run: |\n          echo \"PYFLUENT_VERSION=$(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\" >> $GITHUB_OUTPUT\n          echo \"PYFLUENT version is: $(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\"\n        id: version\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull 22.2 Fluent docker image\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: v22.2.0\n\n      - name: Run 22.2 API codegen\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: v22.2.0\n\n      - name: Print 22.2 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_222.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_222 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Pull 23.1 Fluent docker image\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: v23.1.0\n\n      - name: Run 23.1 API codegen\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: v23.1.0\n\n      - name: Print 23.1 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_231.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_231 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Pull 23.2 Fluent docker image\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: v23.2.0\n\n      - name: Run 23.2 API codegen\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: v23.2.0\n\n      - name: Print 23.2 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_232.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_232 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Pull 24.1 Fluent docker image\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: v24.1.0\n\n      - name: Run 24.1 API codegen\n        run: make api-codegen\n        env:\n          FLUENT_IMAGE_TAG: v24.1.0\n\n      - name: Print 24.1 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_241.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_241 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Install again after codegen\n        run: |\n          rm -rf dist\n          make install > /dev/null\n\n      - name: Check package\n        run: |\n          pip install twine\n          twine check dist/*\n\n      - name: Upload package\n        uses: actions/upload-artifact@v4\n        with:\n          name: PyFluent-packages\n          path: |\n            dist/*.whl\n            dist/*.tar.gz\n          retention-days: 7\n\n  test:\n    name: Unit Testing\n    needs: build\n    runs-on: [self-hosted, pyfluent]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - image-tag: v22.2.0\n            version: 222\n          - image-tag: v23.1.0\n            version: 231\n          - image-tag: v23.2.0\n            version: 232\n          - image-tag: v24.1.0\n            version: 241\n\n    steps:\n\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Download package\n        uses: actions/download-artifact@v4\n        with:\n          name: PyFluent-packages\n          path: dist\n\n      - name: Install pyfluent\n        run: pip install -q --force-reinstall dist/*.whl > /dev/null\n\n      - name: Retrieve PyFluent version\n        run: |\n          echo \"PYFLUENT_VERSION=$(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\" >> $GITHUB_OUTPUT\n          echo \"PYFLUENT version is: $(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\"\n        id: version\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull Fluent docker image\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: ${{ matrix.image-tag }}\n\n      - name: Unit Testing\n        run: |\n          make install-test\n          make unittest-all-${{ matrix.version }}\n        env:\n          FLUENT_IMAGE_TAG: ${{ matrix.image-tag }}\n\n      - name: Cleanup previous docker containers\n        if: always()\n        run: make cleanup-previous-docker-containers\n", "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:14:00.771740", "created_at": "2024-04-19T14:09:15+02:00", "updated_at": "2024-04-19T14:09:15+02:00", "name": "Test Run Solvermode Weekly", "path": ".github/workflows/test-run-solvermode-weekly.yml", "contents": "name: Test Run Solvermode Weekly\n\non:\n  schedule:  # UTC at 0800 on Sunday\n    - cron:  '0 8 * * SUN'\n  workflow_dispatch:\n\nenv:\n  ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}\n  PYFLUENT_TIMEOUT_FORCE_EXIT: 30\n  PYFLUENT_LAUNCH_CONTAINER: 1\n  PYFLUENT_LOGGING: 'DEBUG'\n  PYFLUENT_WATCHDOG_DEBUG: 'OFF'\n  PYFLUENT_HIDE_LOG_SECRETS: 1\n  FLUENT_IMAGE_TAG: v25.1.0\n  MAIN_PYTHON_VERSION: '3.9'\n\njobs:\n  test:\n    name: Unit Testing\n    runs-on: [self-hosted, pyfluent]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            Python-${{ runner.os }}-${{ matrix.python-version }}\n\n      - name: Add version information\n        run: make version-info\n\n      - name: Install pyfluent\n        run: make install\n\n      - name: Retrieve PyFluent version\n        run: |\n          echo \"PYFLUENT_VERSION=$(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\" >> $GITHUB_OUTPUT\n          echo \"PYFLUENT version is: $(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\"\n        id: version\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull 25.1 Fluent docker image\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: ${{ vars.FLUENT_STABLE_IMAGE_DEV }}\n\n      - name: Run 25.1 API codegen\n        run: make api-codegen\n\n      - name: Print 25.1 Fluent version info\n        run: |\n          cat src/ansys/fluent/core/generated/fluent_version_251.py\n          python -c \"from ansys.fluent.core.generated.solver.settings_251 import SHASH; print(f'SETTINGS_HASH = {SHASH}')\"\n\n      - name: Install again after codegen\n        run: |\n          rm -rf dist\n          make install > /dev/null\n\n      - name: 25.1 Unit Testing\n        run: |\n          make install-test\n          make unittest-solvermode-251\n\n      - name: Cleanup previous docker containers\n        if: always()\n        run: make cleanup-previous-docker-containers\n", "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:14:01.832069", "created_at": "2024-04-22T14:33:53+02:00", "updated_at": "2024-04-22T14:33:53+02:00", "name": "Test Run WO Codegen Weekly", "path": ".github/workflows/test-run-wo-codegen-weekly.yml", "contents": "name: Test Run WO Codegen Weekly\n\non:\n  schedule:  # UTC at 0900 on Sunday\n    - cron:  '0 9 * * SUN'\n  workflow_dispatch:\n\nenv:\n  ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}\n  PYFLUENT_TIMEOUT_FORCE_EXIT: 30\n  PYFLUENT_LAUNCH_CONTAINER: 1\n  PYFLUENT_LOGGING: 'DEBUG'\n  PYFLUENT_WATCHDOG_DEBUG: 'OFF'\n  PYFLUENT_HIDE_LOG_SECRETS: 1\n  MAIN_PYTHON_VERSION: '3.9'\n\njobs:\n  build:\n    name: Build package\n    runs-on: [self-hosted, pyfluent]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}\n          restore-keys: |\n            Python-${{ runner.os }}-${{ matrix.python-version }}\n\n      - name: Add version information\n        run: make version-info\n\n      - name: Install pyfluent\n        run: make install\n\n      - name: Retrieve PyFluent version\n        run: |\n          echo \"PYFLUENT_VERSION=$(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\" >> $GITHUB_OUTPUT\n          echo \"PYFLUENT version is: $(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\"\n        id: version\n\n      - name: Check package\n        run: |\n          pip install twine\n          twine check dist/*\n\n      - name: Upload package\n        uses: actions/upload-artifact@v4\n        with:\n          name: PyFluent-packages\n          path: |\n            dist/*.whl\n            dist/*.tar.gz\n          retention-days: 7\n\n  test:\n    name: Unit Testing\n    needs: build\n    runs-on: [self-hosted, pyfluent]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - image-tag: v22.2.0\n            version: 222\n          - image-tag: v23.1.0\n            version: 231\n          - image-tag: v23.2.0\n            version: 232\n          - image-tag: v24.1.0\n            version: 241\n          - image-tag: v24.2.0\n            version: 242\n          - image-tag: v25.1.0\n            version: 251\n\n    steps:\n\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.MAIN_PYTHON_VERSION }}\n\n      - name: Download package\n        uses: actions/download-artifact@v4\n        with:\n          name: PyFluent-packages\n          path: dist\n\n      - name: Install pyfluent\n        run: pip install -q --force-reinstall dist/*.whl > /dev/null\n\n      - name: Retrieve PyFluent version\n        run: |\n          echo \"PYFLUENT_VERSION=$(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\" >> $GITHUB_OUTPUT\n          echo \"PYFLUENT version is: $(python -c \"from ansys.fluent.core import __version__; print(); print(__version__)\" | tail -1)\"\n        id: version\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ansys-bot\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pull Fluent docker image\n        run: make docker-pull\n        env:\n          FLUENT_IMAGE_TAG: ${{ matrix.image-tag }}\n\n      - name: Unit Testing\n        run: |\n          make install-test\n          make unittest-all-${{ matrix.version }}-no-codegen\n        env:\n          FLUENT_IMAGE_TAG: ${{ matrix.image-tag }}\n\n      - name: Cleanup previous docker containers\n        if: always()\n        run: make cleanup-previous-docker-containers\n", "state": "active", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:14:02.898050", "created_at": "2023-03-14T13:49:01+01:00", "updated_at": "2024-07-15T15:07:52+02:00", "name": "Release Documentation Build", "path": ".github/workflows/release-doc-build.yml", "contents": null, "state": "disabled_manually", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:14:04.151516", "created_at": "2023-09-27T18:48:40+02:00", "updated_at": "2023-11-30T17:18:11+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\", \"release/*\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\", \"release/*\" ]\n  schedule: # At 01:27 AM, only on Tuesday\n    - cron: '27 1 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    # - name: Autobuild\n    #   uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "disabled_manually", "repository": "ansys/pyfluent"}
{"mined_at": "2024-07-15T18:14:06.404115", "created_at": "2022-07-28T17:02:05+02:00", "updated_at": "2022-07-28T17:02:05+02:00", "name": "PR", "path": ".github/workflows/cc_bot.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\n# GH actions.\n# We use it to cover windows and mac builds\n# Jenkins is still the primary CI\n\nname: PR\n\non:\n  # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target\n  pull_request_target:\n    types: [assigned, opened, synchronize, reopened, edited, ready_for_review]\n\nconcurrency:\n  group: PR-${{ github.event.pull_request.number }}\n  cancel-in-progress: true\n\njobs:\n  cc-reviewers:\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: \"recursive\"\n      - name: Add cc'ed reviewers\n        env:\n          PR: ${{ toJson(github.event.pull_request) }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -eux\n          python ci/scripts/github/github_cc_reviewers.py || echo step failed\n", "state": "active", "repository": "mlc-ai/relax"}
{"mined_at": "2024-07-15T18:14:07.635011", "created_at": "2023-09-17T21:09:47+02:00", "updated_at": "2023-09-17T21:09:47+02:00", "name": "GitHub Command - \\test", "path": ".github/workflows/github-command-test.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\nname: GitHub Command - \\test\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n run_command:\n   if: github.event.issue.pull_request && contains(github.event.comment.body, '\\test')\n   runs-on: ubuntu-latest\n   steps:\n     - name: Get PR branch\n       uses: xt0rted/pull-request-comment-branch@v2\n       id: comment-branch\n     - name: Set latest commit status as pending\n       uses: myrotvorets/set-commit-status-action@master\n       with:\n         sha: ${{ steps.comment-branch.outputs.head_sha }}\n         token: ${{ secrets.GITHUB_TOKEN }}\n         status: pending\n     - name: Checkout PR branch\n       uses: actions/checkout@v3\n     - name: Trigger\n       env:\n        JENKINS_USER: junrushao\n        JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}\n        JENKINS_JOB: https://ci.mlc.ai/job/mlc/job/PR-${{ github.event.issue.number }}\n       run: |\n          set -euxo pipefail\n          BUILD_NUMBER=$(curl --fail -s -X GET $JENKINS_JOB/lastBuild/buildNumber)\n          curl --fail -X POST -u $JENKINS_USER:$JENKINS_TOKEN $JENKINS_JOB/$BUILD_NUMBER/input/1/proceedEmpty\n     - name: Set latest commit status as ${{ job.status }}\n       uses: myrotvorets/set-commit-status-action@master\n       if: always()\n       with:\n         sha: ${{ steps.comment-branch.outputs.head_sha }}\n         token: ${{ secrets.GITHUB_TOKEN }}\n         status: ${{ job.status }}\n", "state": "active", "repository": "mlc-ai/relax"}
{"mined_at": "2024-07-15T18:14:08.759219", "created_at": "2022-08-20T02:56:13+02:00", "updated_at": "2022-08-20T02:56:13+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\n# GH actions.\n# We use it to cover windows and mac builds\n# Jenkins is still the primary CI\n\nname: CI\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\nconcurrency:\n  group: CI-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  MacOS:\n    if: ${{ github.repository == 'apache/tvm' }}\n    runs-on: macOS-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n      - name: Set up environment\n        uses: ./.github/actions/setup\n      - name: Conda Build\n        shell: bash -l {0}\n        run: >-\n          conda build --output-folder=conda/pkg  conda/recipe &&\n          conda install tvm -c ./conda/pkg\n      - name: Build iOS RPC\n        run: |\n          IOS_VERSION=\"14.0\"\n          CMAKE_FLAGS=\"-DCMAKE_BUILD_TYPE=Release \\\n                       -DCMAKE_SYSTEM_NAME=iOS \\\n                       -DCMAKE_SYSTEM_VERSION=${IOS_VERSION} \\\n                       -DCMAKE_OSX_SYSROOT=iphonesimulator \\\n                       -DCMAKE_OSX_ARCHITECTURES=x86_64 \\\n                       -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 \\\n                       -DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON \\\n                       -DUSE_IOS_RPC=ON\"\n\n          mkdir build-ios-simulator\n          cd build-ios-simulator\n          cmake .. ${CMAKE_FLAGS}\n          cmake --build . --target ios_rpc\n      - name: Test\n        shell: bash -l {0}\n        run: >-\n          python -m pytest -v tests/python/all-platform-minimal-test\n      - name: Minimal Metal Compile-Only\n        shell: bash -l {0}\n        run: |\n          python -m pytest -v -s 'tests/python/codegen/test_gpu_codegen_allreduce.py::test_allreduce_sum_compile'\n          python -m pytest -v -s 'tests/python/codegen/test_target_codegen_metal.py::test_func_with_trailing_pod_params'\n      - name: Minimal Metal Compile-and-Run\n        shell: bash -l {0}\n        run: >-\n          python -m pytest -v -s 'tests/python/codegen/test_target_codegen_metal.py'\n          python -m pytest -v -s 'tests/python/codegen/test_target_codegen_gpu_common.py'\n          python -m pytest -v -s 'tests/python/codegen/test_gpu_codegen_allreduce.py::test_allreduce_sum[dims0-metal]'\n#      - name: Test iOS RPC\n#        shell: bash -l {0}\n#        run: >-\n#          python -m pip install tornado psutil cloudpickle &&\n#          export PYTHONPATH=tests/python/contrib:${PYTHONPATH} &&\n#          export BUNDLE_ID=org.apache.tvmrpc &&\n#          export BUNDLE_PATH=build-ios-simulator/apps/ios_rpc/ios_rpc/src/ios_rpc-build/Release-iphonesimulator/tvmrpc.app &&\n#          python -m pytest -v tests/python/contrib/test_rpc_server_device.py\n\n  Windows:\n    if: ${{ github.repository == 'apache/tvm' }}\n    runs-on: windows-2019\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n      - name: Set up environment\n        uses: ./.github/actions/setup\n      - name: Conda Build\n        shell: cmd /C call {0}\n        run: >-\n          conda build --output-folder=conda/pkg conda/recipe &&\n          conda install tvm -c ./conda/pkg\n      - name: Test\n        shell: cmd /C call {0}\n        run: >-\n          python -m pytest -v tests/python/all-platform-minimal-test\n\n  # Disabled due to https://github.com/apache/tvm/issues/13950\n  # Windows-Static-Runtime:\n  #   if: ${{ github.repository == 'apache/tvm' }}\n  #   runs-on: windows-2019\n  #   steps:\n  #     - uses: actions/checkout@v2\n  #       with:\n  #         submodules: 'recursive'\n  #     - name: Set up environment\n  #       uses: ./.github/actions/setup\n  #     - name: Build static TVM runtime\n  #       shell: bash -l {0}\n  #       run: |\n  #         tests/scripts/task_config_build_static.sh build\n  #         cd build\n  #         cmake .. -A x64 -DCMAKE_CONFIGURATION_TYPES=\"Release\"\n  #         cmake --build . --config Release --target runtime\n\n  Linux-Static-Runtime:\n    if: ${{ github.repository == 'apache/tvm' }}\n    runs-on: Ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n      - name: Set up environment\n        uses: ./.github/actions/setup\n      - name: Build static TVM runtime\n        shell: bash -l {0}\n        run: |\n          tests/scripts/task_config_build_static.sh build\n          cd build\n          cmake ..\n          cmake --build . --config Release --target runtime\n\n  Android:\n    if: ${{ github.repository == 'apache/tvm' }}\n    runs-on: Ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n      - name: Set up environment\n        uses: ./.github/actions/setup\n      - name: Set up java\n        uses: actions/setup-java@v3\n        with:\n          distribution: 'zulu'\n          java-version: '11'\n      - name: Build TVM\n        shell: bash -l {0}\n        run: |\n          mkdir build\n          cd build\n          ../tests/scripts/task_config_build_jvm.sh .\n          cmake ..\n          make\n      - name: Build TVM4J\n        run: |\n          make jvmpkg\n      - name: Build android_rpc\n        working-directory: apps/android_rpc\n        run: |\n          set -eux\n          export PATH=\"${ANDROID_NDK_LATEST_HOME}:$PATH\"\n          gradle clean build\n      - name: Upload android_rpc APK\n        uses: actions/upload-artifact@v2\n        with:\n          name: android_rpc-debug.apk\n          path: ./apps/android_rpc/app/build/outputs/apk/debug/app-debug.apk\n      - name: Build android_deploy\n        working-directory: apps/android_deploy\n        run: |\n          set -eux\n          export PATH=\"${ANDROID_NDK_LATEST_HOME}:$PATH\"\n          gradle clean build\n      - name: Upload android_deploy APK\n        uses: actions/upload-artifact@v2\n        with:\n          name: android_deploy-debug.apk\n          path: ./apps/android_deploy/app/build/outputs/apk/debug/app-debug.apk\n", "state": "active", "repository": "mlc-ai/relax"}
{"mined_at": "2024-07-15T18:14:09.990247", "created_at": "2023-01-19T22:54:02+01:00", "updated_at": "2023-02-18T17:27:58+01:00", "name": "CI", "path": ".github/workflows/mlc.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\n# GH actions.\n# We use it to cover windows and mac builds\n# Jenkins is still the primary CI\n\nname: CI\n\non:\n  push:\n    branches:\n      - mlc\n  pull_request:\n    branches:\n      - mlc\n  workflow_dispatch:\n\nconcurrency:\n  group: CI-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  MacOS:\n    if: ${{ github.repository == 'mlc-ai/relax' }}\n    runs-on: macOS-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n      - name: Set up environment\n        uses: ./.github/actions/setup\n      - name: Conda Build\n        shell: bash -l {0}\n        run: >-\n          conda build --output-folder=conda/pkg  conda/recipe &&\n          conda install tvm -c ./conda/pkg\n      - name: Build iOS RPC\n        run: |\n          IOS_VERSION=\"14.0\"\n          CMAKE_FLAGS=\"-DCMAKE_BUILD_TYPE=Release \\\n                       -DCMAKE_SYSTEM_NAME=iOS \\\n                       -DCMAKE_SYSTEM_VERSION=${IOS_VERSION} \\\n                       -DCMAKE_OSX_SYSROOT=iphonesimulator \\\n                       -DCMAKE_OSX_ARCHITECTURES=x86_64 \\\n                       -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 \\\n                       -DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON \\\n                       -DUSE_IOS_RPC=ON\"\n\n          mkdir build-ios-simulator\n          cd build-ios-simulator\n          cmake .. ${CMAKE_FLAGS}\n          cmake --build . --target ios_rpc\n      - name: Test\n        shell: bash -l {0}\n        run: >-\n          python -m pytest -v tests/python/all-platform-minimal-test\n\n  Windows:\n    if: ${{ github.repository == 'mlc-ai/relax' }}\n    runs-on: windows-2019\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          submodules: 'recursive'\n      - name: Set up environment\n        uses: ./.github/actions/setup\n      - name: Conda Build\n        shell: cmd /C call {0}\n        run: >-\n          conda build --output-folder=conda/pkg conda/recipe &&\n          conda install tvm -c ./conda/pkg\n      - name: Test\n        shell: cmd /C call {0}\n        run: >-\n          python -m pytest -v tests/python/all-platform-minimal-test\n", "state": "active", "repository": "mlc-ai/relax"}
{"mined_at": "2024-07-15T18:14:11.153676", "created_at": "2022-07-27T15:58:04+02:00", "updated_at": "2022-07-27T15:58:04+02:00", "name": "Nightly Docker Update", "path": ".github/workflows/nightly_docker_update.yml", "contents": "\nname: Nightly Docker Update\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\nconcurrency:\n  group: nightly-docker-update\n  cancel-in-progress: true\n\njobs:\n  open_update_pr:\n    permissions:\n      actions: write\n      checks: write\n      contents: write\n      id-token: write\n      issues: write\n      pull-requests: write\n      statuses: write\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Open PR to update Docker images\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -eux\n          python ci/scripts/jenkins/open_docker_update_pr.py\n", "state": "active", "repository": "mlc-ai/relax"}
{"mined_at": "2024-07-15T18:14:12.245250", "created_at": "2022-07-27T16:07:20+02:00", "updated_at": "2022-07-27T16:07:20+02:00", "name": "Ping Reviewers", "path": ".github/workflows/ping_reviewers.yml", "contents": "\nname: Ping Reviewers\non:\n  schedule:\n    - cron: \"0/15 * * * *\"\n  workflow_dispatch:\n\nconcurrency:\n  group: ping\n  cancel-in-progress: true\n\njobs:\n  ping:\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Ping reviewers\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -eux\n          python ci/scripts/github/ping_reviewers.py --wait-time-minutes 10080 || echo failed\n", "state": "active", "repository": "mlc-ai/relax"}
{"mined_at": "2024-07-15T18:14:13.470514", "created_at": "2022-07-28T17:02:05+02:00", "updated_at": "2022-07-28T17:02:05+02:00", "name": "Teams", "path": ".github/workflows/tag_teams.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\nname: Teams\n\non:\n  issues:\n    types: [opened, edited, reopened, labeled]\n\nconcurrency:\n  group: Teams-${{ github.event.pull_request.number }}-${{ github.event.issue.number }}\n  cancel-in-progress: true\n\njobs:\n  tag-teams:\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Tag people from relevant teams\n        env:\n          PR: ${{ toJson(github.event.pull_request) }}\n          ISSUE: ${{ toJson(github.event.issue) }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -eux\n          python ci/scripts/github/github_tag_teams.py || echo failed\n", "state": "active", "repository": "mlc-ai/relax"}
{"mined_at": "2024-07-15T18:14:14.698661", "created_at": "2022-08-18T03:46:28+02:00", "updated_at": "2022-08-18T03:46:28+02:00", "name": "tvm-bot", "path": ".github/workflows/tvmbot.yml", "contents": "\nname: tvm-bot\non:\n  pull_request_review:\n    types:\n      - submitted\n  issue_comment:\n\nconcurrency:\n  group: merge-${{ github.event.pull_request.number }}-${{ github.event.issue.number }}\n  cancel-in-progress: true\n\njobs:\n  run-tvm-bot:\n    permissions:\n      actions: write\n      checks: write\n      contents: write\n      id-token: write\n      issues: write\n      pull-requests: write\n      statuses: write\n    if: ${{ github.event.issue.pull_request && github.repository == 'apache/tvm' }}\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run tvm-bot\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GH_ACTIONS_TOKEN: ${{ secrets.GH_ACTIONS_TOKEN }}\n          TVM_BOT_JENKINS_TOKEN: ${{ secrets.TVM_BOT_JENKINS_TOKEN }}\n          PR_NUMBER: ${{ github.event.issue.number }}\n          ISSUE_COMMENT: ${{ toJson(github.event.comment) }}\n          RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n        run: |\n          set -eux\n          python ci/scripts/github/github_tvmbot.py --pr \"$PR_NUMBER\" --run-url \"$RUN_URL\" --trigger-comment-json \"$ISSUE_COMMENT\"\n", "state": "active", "repository": "mlc-ai/relax"}
{"mined_at": "2024-07-15T18:14:15.763764", "created_at": "2022-07-27T16:09:08+02:00", "updated_at": "2022-07-27T16:09:08+02:00", "name": "Update last-successful branch", "path": ".github/workflows/update_last_successful_branch.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\n# GH actions.\n# We use it to cover windows and mac builds\n# Jenkins is still the primary CI\n\nname: Update last-successful branch\n\non:\n  schedule:\n    - cron: \"0/15 * * * *\"\n  workflow_dispatch:\n\nconcurrency:\n  group: update-last-successful-branch\n  cancel-in-progress: true\n\njobs:\n  update-last-successful-branch:\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Update last-successful branch\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -eux\n          python ci/scripts/github/update_branch.py || echo step failed\n", "state": "active", "repository": "mlc-ai/relax"}
{"mined_at": "2024-07-15T18:14:16.842251", "created_at": "2023-01-16T02:52:01+01:00", "updated_at": "2023-01-16T02:52:01+01:00", "name": "Update nightly branch", "path": ".github/workflows/update_nightly_branch.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\n# Update a branch for nightly test results\nname: Update nightly branch\n\non:\n  schedule:\n    # 9 PM PST\n    - cron: \"0 5 * * *\"\n  workflow_dispatch:\n\nconcurrency:\n  group: update-nightly-branch\n  cancel-in-progress: true\n\njobs:\n  update-nightly-branch:\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v2\n      - name: Update nightly branch\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          set -eux\n          git checkout -B nightly\n          git log -5\n          git push origin --force nightly\n", "state": "active", "repository": "mlc-ai/relax"}
{"mined_at": "2024-07-15T18:14:18.078605", "created_at": "2022-07-27T15:58:04+02:00", "updated_at": "2022-07-27T15:58:04+02:00", "name": "Upload CI Resource", "path": ".github/workflows/upload_ci_resource.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\nname: Upload CI Resource\n\non:\n  workflow_dispatch:\n    inputs:\n      url:\n        description: 'URL of the file (e.g. \"https://example.com/file.zip\")'\n        required: true\n        type: string\n      sha256:\n        description: 'SHA256 of the file'\n        required: true\n        type: string\n      upload_path:\n        description: 'Path of the file in S3 (e.g. \"my_folder/something.zip\")'\n        required: true\n        type: string\n\nconcurrency:\n  group: upload-ci-resource\n  cancel-in-progress: true\n\njobs:\n  upload-ci-resource:\n    if: github.repository == 'apache/tvm'\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Download item and upload to S3\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.CI_RESOURCES_AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.CI_RESOURCES_AWS_SECRET_ACCESS_KEY }}\n          URL: ${{ inputs.url }}\n          SHA256: ${{ inputs.sha256 }}\n          UPLOAD_PATH: ${{ inputs.upload_path }}\n          AWS_DEFAULT_REGION: us-west-2\n        run: |\n          set -eux\n          curl -L -o downloaded_file \"$URL\"\n          echo \"$SHA256 downloaded_file\" | sha256sum --check\n          aws s3 cp downloaded_file \"s3://tvm-ci-resources/$UPLOAD_PATH\"\n          echo \"The item is available at https://tvm-ci-resources.s3.us-west-2.amazonaws.com/$UPLOAD_PATH\"\n          echo \"Add this line to tests/scripts/request_hook/request_hook.py\"\n          echo \"    \\\"$URL\\\": f\\\"{BASE}/$UPLOAD_PATH\\\",\"\n", "state": "active", "repository": "mlc-ai/relax"}
{"mined_at": "2024-07-15T18:14:20.211591", "created_at": "2023-04-11T00:06:00+02:00", "updated_at": "2023-06-09T16:14:37+02:00", "name": "Build and Test", "path": ".github/workflows/build-library.yml", "contents": "# Copyright The Caikit Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Build and Test\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - setup: '3.8'\n            tox: 'py38'\n          - setup: '3.9'\n            tox: 'py39'\n          - setup: '3.10'\n            tox: 'py310'\n          - setup: '3.11'\n            tox: 'py311'\n          # Special matrix entry to ensure protobuf 3 compatibility\n          - setup: '3.8'\n            tox: 'proto3'\n          # Special matrix entry to ensure core tests pass without optional deps\n          - setup: '3.8'\n            tox: 'core'\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version.setup }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version.setup }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r setup_requirements.txt\n      - name: Build and test with tox\n        run: tox -e ${{ matrix.python-version.tox }} -- tests\n", "state": "active", "repository": "caikit/caikit"}
{"mined_at": "2024-07-15T18:14:21.354388", "created_at": "2023-06-07T11:11:02+02:00", "updated_at": "2023-06-07T11:11:02+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yaml", "contents": null, "state": "active", "repository": "caikit/caikit"}
{"mined_at": "2024-07-15T18:14:22.583478", "created_at": "2023-04-12T20:14:59+02:00", "updated_at": "2023-04-12T21:32:51+02:00", "name": "Lint and Format", "path": ".github/workflows/lint-code.yml", "contents": "# Copyright The Caikit Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Lint and Format\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r setup_requirements.txt\n      - name: Check Formatting\n        run: tox -e fmt\n      - name: Linting\n        run: tox -e lint\n      - name: Setup Graphviz # `graphviz/dot` is required for the import checker\n        uses: ts-graphviz/setup-graphviz@v1\n      - name: Enforce import rules\n        run: tox -e imports\n", "state": "active", "repository": "caikit/caikit"}
{"mined_at": "2024-07-15T18:14:23.812665", "created_at": "2023-04-11T00:06:00+02:00", "updated_at": "2023-06-09T16:17:11+02:00", "name": "Publish", "path": ".github/workflows/publish-library.yml", "contents": "# Copyright The Caikit Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Publish\n\non:\n  release:\n    types: [published]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v3\n      - name: Build and check package\n        run: |\n          pip install tox\n          tox -e build,twinecheck\n      - name: Upload package\n        if: github.event_name == 'release'\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "caikit/caikit"}
{"mined_at": "2024-07-15T18:14:24.812734", "created_at": "2023-04-13T00:32:44+02:00", "updated_at": "2023-04-13T00:32:44+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "caikit/caikit"}
{"mined_at": "2024-07-15T18:14:26.987403", "created_at": "2021-01-23T21:46:57+01:00", "updated_at": "2023-05-11T10:21:49+02:00", "name": "TestNDeploy", "path": ".github/workflows/build.yml", "contents": "name: TestNDeploy\n\non: [push, pull_request]\n\njobs:\n  cache:\n    name: Caching\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ 3.8, 3.9, \"3.10\", \"3.11\", \"3.12\" ]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Get pip cache dir\n        id: pip-cache-dir\n        run: |\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: pip cache\n        id: pip-cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache-dir.outputs.dir }}\n          key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.cfg') }}\n      - name: Update pip\n        if: ${{ steps.pip-cache.outputs.cache-hit != 'true' }}\n        run: |\n          python -m pip install --upgrade pip\n      - name: Install project dependencies\n        if: ${{ steps.pip-cache.outputs.cache-hit != 'true' }}\n        run: |\n          pip install -r requirements-dev.txt\n\n  lint:\n    name: Linting\n    runs-on: ubuntu-latest\n    needs: cache\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    # Retrieve the previously cached dependencies\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.cfg') }}\n    # Update PIP\n    - name: Update pip\n      run: |\n        python -m pip install --upgrade pip\n    # Still need to properly install the dependencies - it will only skip the download part\n    - name: Install project dependencies\n      run: |\n        pip install -r requirements-dev.txt\n    - name: Lint\n      run: |\n        mkdir .mypy_cache\n        make lint\n\n  javatest:\n    needs: lint\n    uses: ./.github/workflows/tests_sdk_java.yml\n\n  dotnettest:\n    needs: lint\n    uses: ./.github/workflows/tests_sdk_dotnet.yml\n\n  rubytest:\n    needs: lint\n    uses: ./.github/workflows/tests_sdk_ruby.yml\n\n  terraformexamplestest:\n    needs: lint\n    uses: ./.github/workflows/tests_terraform_examples.yml\n\n  test:\n    needs: [lint]\n    if: \"!contains(github.event.pull_request.labels.*.name, 'java')\"\n    uses: ./.github/workflows/tests_decoratormode.yml\n    secrets: inherit\n\n  testserver:\n    needs: [lint]\n    if: \"!contains(github.event.pull_request.labels.*.name, 'java')\"\n    uses: ./.github/workflows/tests_servermode.yml\n    secrets: inherit\n\n  testproxy:\n    needs: [lint]\n    if: \"!contains(github.event.pull_request.labels.*.name, 'java')\"\n    uses: ./.github/workflows/tests_proxymode.yml\n\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      packages: write\n      pull-requests: write\n    needs: [dotnettest, javatest, test, testserver ]\n    if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'getmoto/moto' }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Update & Build\n        run: |\n          pip install build\n          python update_version_from_git.py\n          python -m build\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          verbose: true\n          print-hash: true\n      - name: Build Docker release\n        run: |\n          docker build -t motoserver/moto . --tag moto:latest\n      # Required to get the correct Digest\n      # See https://github.com/docker/build-push-action/issues/461\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Login to GHCR\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Push to DockerHub and GHCR\n        uses: docker/build-push-action@v6\n        with:\n          push: true\n          platforms: linux/amd64,linux/arm64\n          tags: |\n            motoserver/moto:latest\n            ghcr.io/getmoto/motoserver:latest\n      - name: Get version number\n        run: |\n          version=$(grep -oP '(?<=__version__ = \")[0-9.a-z]+(?=\")' moto/__init__.py)\n          echo \"moto_version=$version\" >> $GITHUB_ENV\n      - uses: octokit/graphql-action@v2.x\n        name: Get PR info\n        id: get_pr\n        with:\n          query: |\n            query get_pr($owner:String!,$repo:String!,$commit:GitObjectID) {\n              repository(owner:$owner,name:$repo) {\n                object(oid:$commit) {\n                  ... on Commit {\n                    associatedPullRequests(last: 1){\n                      edges {\n                        node {\n                          baseRepository {\n                            nameWithOwner\n                          }\n                          merged\n                          number\n                        }\n                      }\n                    }\n                  }\n                }\n              }\n            }\n          owner: ${{ github.event.repository.owner.name }}\n          repo: ${{ github.event.repository.name }}\n          commit: \"${{ github.sha }}\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Get PR number\n        run: |\n          nr=\"${{ fromJSON(steps.get_pr.outputs.data).repository.object.associatedPullRequests.edges[0].node.number }}\"\n          repo=\"${{ fromJSON(steps.get_pr.outputs.data).repository.object.associatedPullRequests.edges[0].node.baseRepository.nameWithOwner }}\"\n          if [ -z \"$nr\" ]\n          then\n            echo \"PR nr not found in $msg\"\n            echo \"pr_found=false\" >> $GITHUB_ENV\n          else\n            echo \"PR NR: $nr\"\n            echo \"pr_nr=$nr\" >> $GITHUB_ENV\n            echo \"pr_repo=$repo\" >> $GITHUB_ENV\n            echo \"pr_found=true\" >> $GITHUB_ENV\n          fi\n      - name: Leave PR comment with Moto version\n        uses: peter-evans/create-or-update-comment@v4\n        if: env.pr_found == 'true' && env.pr_repo == 'getmoto/moto'\n        with:\n          issue-number: ${{ env.pr_nr }}\n          body: |\n            This is now part of moto >= ${{ env.moto_version }}\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:28.012460", "created_at": "2021-10-07T13:25:39+02:00", "updated_at": "2021-10-07T13:25:39+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  schedule:\n    - cron: '00 12 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:29.139126", "created_at": "2023-09-21T22:57:02+02:00", "updated_at": "2023-09-21T22:57:02+02:00", "name": "DataUpdate_ConfigManagedRules", "path": ".github/workflows/data-update_config-managed-rules.yml", "contents": "# Data Update:\n#   Config Managed Rules\n#\n# This Github Action:\n#   - executes the script that updates the Config Managed Rules that come bundled with Moto\n#   - creates a PR\n#\nname: \"DataUpdate_ConfigManagedRules\"\n\non:\n  schedule:\n    - cron: '00 6 1 * *'\n  workflow_dispatch:\n\njobs:\n  update:\n    name: Update Config Managed Rules\n    runs-on: ubuntu-latest\n    if: ${{ github.ref == 'refs/heads/master' && github.repository == 'getmoto/moto' }}\n    permissions:\n      id-token: write\n      contents: write\n      pull-requests: write\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n\n    - name: Pull Config managed rules from AWS\n      run: |\n        pip install -r requirements-dev.txt\n        cd scripts\n        ./pull_down_aws_managed_rules.py\n    - name: Create PR\n      uses: peter-evans/create-pull-request@v6\n      with:\n        branch: 'chore-update-config-managed-rules-${{ github.run_number }}'\n        title: 'chore: update Config Managed Rules'\n        commit-message: 'chore: update Config Managed Rules'\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:30.366661", "created_at": "2023-02-13T11:23:35+01:00", "updated_at": "2023-02-13T11:23:35+01:00", "name": "DataUpdate_EC2InstanceOfferings", "path": ".github/workflows/data-update_ec2-instance-offerings.yml", "contents": "# Data Update:\n#   EC2 Instance Offerings\n#\n# This Github Action:\n#   - executes the script that updates the EC2 instance offerings that come bundled with Moto\n#   - creates a PR\n#\nname: \"DataUpdate_EC2InstanceOfferings\"\n\non:\n  schedule:\n    - cron: '00 6 * * 0'\n  workflow_dispatch:\n\njobs:\n  update:\n    name: Update EC2 Instance Offerings\n    runs-on: ubuntu-latest\n    if: ${{ github.ref == 'refs/heads/master' && github.repository == 'getmoto/moto' }}\n    permissions:\n      id-token: write\n      contents: write\n      pull-requests: write\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n\n    - name: Configure AWS\n      uses: aws-actions/configure-aws-credentials@v4\n      with:\n        aws-region: us-east-1\n        role-to-assume: arn:aws:iam::486285699788:role/GithubActionsRole\n\n    - name: Pull EC2 instance types from AWS\n      run: |\n        pip install boto3\n        scripts/ec2_get_instance_type_offerings.py\n    - name: Create PR\n      uses: peter-evans/create-pull-request@v6\n      with:\n        branch: 'chore-update-ec2-offerings-${{ github.run_number }}'\n        title: 'chore: update EC2 Instance Offerings'\n        commit-message: 'chore: update EC2 Instance Offerings'\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:31.491442", "created_at": "2023-02-04T18:12:49+01:00", "updated_at": "2023-02-04T18:12:49+01:00", "name": "DataUpdate_EC2InstanceTypes", "path": ".github/workflows/data-update_ec2-instance-types.yml", "contents": "# Data Update:\n#   EC2 Instance Types\n#\n# This Github Action:\n#   - executes the script that updates the EC2 instance types that come bundled with Moto\n#   - creates a PR\n#\nname: \"DataUpdate_EC2InstanceTypes\"\n\non:\n  schedule:\n    - cron: '00 8 * * 0'\n\njobs:\n  update:\n    name: Update EC2 Instance Types\n    runs-on: ubuntu-latest\n    if: ${{ github.ref == 'refs/heads/master' && github.repository == 'getmoto/moto' }}\n    permissions:\n      id-token: write\n      contents: write\n      pull-requests: write\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n\n    - name: Configure AWS\n      uses: aws-actions/configure-aws-credentials@v4\n      with:\n        aws-region: us-east-1\n        role-to-assume: arn:aws:iam::486285699788:role/GithubActionsRole\n\n    - name: Pull EC2 instance types from AWS\n      run: |\n        pip install boto3\n        scripts/get_instance_info.py\n    - name: Create PR\n      uses: peter-evans/create-pull-request@v6\n      with:\n        branch: 'chore-update-ec2-types-${{ github.run_number }}'\n        title: 'chore: update EC2 Instance Types'\n        commit-message: 'chore: update EC2 Instance Types'\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:32.524635", "created_at": "2024-01-18T13:10:09+01:00", "updated_at": "2024-01-18T13:10:09+01:00", "name": "DataUpdate_IAMManagedPolicies", "path": ".github/workflows/data-update_iam-managed-policies.yml", "contents": "# Data Update:\n#   IAM Managed Policies\n#\n# This Github Action:\n#   - executes the script that updates the IAM Managed Policies that come bundled with Moto\n#   - creates a PR\n#\nname: \"DataUpdate_IAMManagedPolicies\"\n\non:\n  schedule:\n    - cron: '00 6 1 * *'\n  workflow_dispatch:\n\njobs:\n  update:\n    name: Update IAM Managed Policies\n    runs-on: ubuntu-latest\n    if: ${{ github.ref == 'refs/heads/master' && github.repository == 'getmoto/moto' }}\n    permissions:\n      id-token: write\n      contents: write\n      pull-requests: write\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n\n    - name: Configure AWS\n      uses: aws-actions/configure-aws-credentials@v4\n      with:\n        aws-region: us-east-1\n        role-to-assume: arn:aws:iam::486285699788:role/GithubActionsRole\n\n    - name: Pull IAM managed policies from AWS\n      run: |\n        pip install -r requirements-dev.txt\n        make aws_managed_policies\n    - name: Create PR\n      uses: peter-evans/create-pull-request@v6\n      with:\n        branch: 'chore-update-iam-managed-policies-${{ github.run_number }}'\n        title: 'chore: update IAM Managed Policies'\n        commit-message: 'chore: update IAM Managed Policies'\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:33.535904", "created_at": "2023-02-13T11:23:35+01:00", "updated_at": "2023-02-13T11:23:35+01:00", "name": "DataUpdate_SSMdefaultAMIs", "path": ".github/workflows/data-update_ssm-default-amis.yml", "contents": "# Data Update:\n#   SSM default AMIs\n#\n# This Github Action:\n#   - executes the script that updates the SSM default AMI's that come bundled with Moto\n#   - creates a PR\n#\nname: \"DataUpdate_SSMdefaultAMIs\"\n\non:\n  schedule:\n    - cron: '00 10 1 * *'\n\njobs:\n  update:\n    name: Update SSM default AMIs\n    runs-on: ubuntu-latest\n    if: ${{ github.ref == 'refs/heads/master' && github.repository == 'getmoto/moto' }}\n    permissions:\n      id-token: write\n      contents: write\n      pull-requests: write\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n\n    - name: Configure AWS\n      uses: aws-actions/configure-aws-credentials@v4\n      with:\n        aws-region: us-east-1\n        role-to-assume: arn:aws:iam::486285699788:role/GithubActionsRole\n\n    - name: Pull SSM default AMIs from AWS\n      run: |\n        pip install boto3\n        pip install moto[all]\n        python scripts/ssm_get_default_amis.py\n    - name: Create PR\n      uses: peter-evans/create-pull-request@v6\n      with:\n        branch: 'chore-update-ssm-amis-${{ github.run_number }}'\n        title: \"chore: update SSM Instance AMI's\"\n        commit-message: \"chore: update SSM default AMI's\"\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:34.769790", "created_at": "2023-02-13T11:23:35+01:00", "updated_at": "2023-02-13T11:23:35+01:00", "name": "DataUpdate_SSMdefaultParameters", "path": ".github/workflows/data-update_ssm-default-parameters.yml", "contents": "# Data Update:\n#   SSM default parameters\n#\n# This Github Action:\n#   - executes the script that updates the SSM default parameters that come bundled with Moto\n#   - creates a PR\n#\nname: \"DataUpdate_SSMdefaultParameters\"\n\non:\n  schedule:\n    - cron: '00 12 * * 0'\n  workflow_dispatch:\n\njobs:\n  update:\n    name: Update SSM default parameters\n    runs-on: ubuntu-latest\n    if: ${{ github.ref == 'refs/heads/master' && github.repository == 'getmoto/moto' }}\n    permissions:\n      id-token: write\n      contents: write\n      pull-requests: write\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n\n    - name: Configure AWS\n      uses: aws-actions/configure-aws-credentials@v4\n      with:\n        aws-region: us-east-1\n        role-to-assume: arn:aws:iam::486285699788:role/GithubActionsRole\n\n    - name: Pull SSM default Parameters from AWS\n      run: |\n        pip install boto3\n        pip install moto[all]\n        python scripts/ssm_get_default_params.py\n    - name: Create PR\n      uses: peter-evans/create-pull-request@v6\n      with:\n        branch: 'chore-update-ssm-params-${{ github.run_number }}'\n        title: \"chore: update SSM Instance parameters\"\n        commit-message: \"chore: update SSM default parameters\"\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:35.997725", "created_at": "2021-07-29T07:38:19+02:00", "updated_at": "2022-01-18T18:58:25+01:00", "name": "Service-specific Dependencies Test", "path": ".github/workflows/dependency_test.yml", "contents": "name: \"Service-specific Dependencies Test\"\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * *'  # every day at midnight\n\njobs:\n  prepare_list:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - id: set-matrix\n      run: echo \"matrix=[$(ls -A1 moto | grep -v '.py' | awk '{ printf \"%s\\047%s\\047\", (NR==1?\"\":\", \"), $0 } END{ print \"\" }')]\" >> $GITHUB_OUTPUT\n    - run: echo \"matrix=[$(ls -A1 moto | grep -v '.py' | awk '{ printf \"%s\\047%s\\047\", (NR==1?\"\":\", \"), $0 } END{ print \"\" }')]\"\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n  runtest:\n    name: Run Dependency Test\n    runs-on: ubuntu-latest\n    needs: prepare_list\n    strategy:\n      matrix:\n        python-version: [ 3.8 ]\n        service: ${{ fromJson(needs.prepare_list.outputs.matrix) }}\n\n    steps:\n    - name: Checkout repo\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Run test\n      env:\n        AWS_ACCESS_KEY_ID: key\n        AWS_SECRET_ACCESS_KEY: secret\n      run: |\n        scripts/dependency_test.sh ${{ matrix.service }}\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:37.124302", "created_at": "2021-12-05T19:12:20+01:00", "updated_at": "2022-01-27T13:04:07+01:00", "name": "DockerTests", "path": ".github/workflows/dockertests.yml", "contents": "name: DockerTests\n\non: [push, pull_request]\n\njobs:\n  cache:\n    name: Caching\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.11\" ]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Get pip cache dir\n        id: pip-cache-dir\n        run: |\n          echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n      - name: pip cache\n        id: pip-cache\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache-dir.outputs.dir }}\n          key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.cfg') }}\n      - name: Update pip\n        if: ${{ steps.pip-cache.outputs.cache-hit != 'true' }}\n        run: |\n          python -m pip install --upgrade pip\n      - name: Install project dependencies\n        if: ${{ steps.pip-cache.outputs.cache-hit != 'true' }}\n        run: |\n          pip install -r requirements-dev.txt\n\n  test_custom_port:\n    name: Test Custom Port\n    runs-on: ubuntu-latest\n    needs: cache\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Start MotoServer on an unusual port\n      run: |\n        pip install --upgrade build\n        python -m build\n        docker run --rm -t --name motoserver -e TEST_SERVER_MODE=true -e AWS_SECRET_ACCESS_KEY=server_secret -e MOTO_PORT=4555 -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 4555:4555 -v /var/run/docker.sock:/var/run/docker.sock python:3.11-slim /moto/scripts/ci_moto_server.sh &\n        MOTO_PORT=4555 python scripts/ci_wait_for_server.py\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.cfg') }}\n    - name: Update pip\n      run: |\n        python -m pip install --upgrade pip\n    - name: Install project dependencies\n      run: |\n        pip install -r requirements-dev.txt\n    - name: Test\n      env:\n        TEST_SERVER_MODE: ${{ true }}\n        MOTO_PORT: 4555\n      run: |\n        pytest -sv tests/test_awslambda/test_lambda_invoke.py::test_invoke_lambda_using_environment_port tests/test_cloudformation/test_cloudformation_custom_resources.py\n    - name: Collect Logs\n      if: always()\n      run: |\n        mkdir serverlogs1\n        cp server_output.log serverlogs1/server_output.log\n        docker stop motoserver\n    - name: Archive Logs\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: custom_port\n        path: |\n          serverlogs1/*\n\n  test_custom_name:\n    name: Test Custom Network Name\n    runs-on: ubuntu-latest\n    needs: cache\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Start MotoServer on a custom Docker network bridge\n      run: |\n        pip install --upgrade build\n        python -m build\n        docker network create -d bridge my-custom-network\n        docker run --rm -t -e TEST_SERVER_MODE=true -e MOTO_DOCKER_NETWORK_NAME=my-custom-network -e AWS_SECRET_ACCESS_KEY=server_secret -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 5000:5000 --network my-custom-network -v /var/run/docker.sock:/var/run/docker.sock python:3.11-slim /moto/scripts/ci_moto_server.sh &\n        python scripts/ci_wait_for_server.py\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.cfg') }}\n    - name: Update pip\n      run: |\n        python -m pip install --upgrade pip\n    - name: Install project dependencies\n      run: |\n        pip install -r requirements-dev.txt\n    - name: Test\n      env:\n        TEST_SERVER_MODE: ${{ true }}\n      run: |\n        pytest -sv tests/test_awslambda/test_lambda_invoke.py::test_invoke_lambda_using_environment_port tests/test_cloudformation/test_cloudformation_custom_resources.py\n    - name: Collect Logs\n      if: always()\n      run: |\n        mkdir serverlogs2\n        cp server_output.log serverlogs2/server_output.log\n    - name: Archive logs\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: custom_name\n        path: |\n          serverlogs2/*\n\n  test_custom_networkmode:\n    name: Pass NetworkMode to AWSLambda\n    runs-on: ubuntu-latest\n    needs: cache\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Start MotoServer on an unusual port\n      run: |\n        pip install --upgrade build\n        python -m build\n        docker run --rm -t -e MOTO_DOCKER_NETWORK_MODE=host -e TEST_SERVER_MODE=true -e AWS_SECRET_ACCESS_KEY=server_secret -e MOTO_PORT=4555 -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 4555:4555 -v /var/run/docker.sock:/var/run/docker.sock python:3.11-slim /moto/scripts/ci_moto_server.sh &\n        MOTO_PORT=4555 python scripts/ci_wait_for_server.py\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.cfg') }}\n    - name: Update pip\n      run: |\n        python -m pip install --upgrade pip\n    - name: Install project dependencies\n      run: |\n        pip install -r requirements-dev.txt\n    - name: Test\n      env:\n        TEST_SERVER_MODE: ${{ true }}\n        MOTO_PORT: 4555\n        MOTO_DOCKER_NETWORK_MODE: host\n      run: |\n        pytest -sv tests/test_awslambda/test_lambda_invoke.py::test_invoke_lambda_using_networkmode tests/test_cloudformation/test_cloudformation_custom_resources.py\n    - name: Collect Logs\n      if: always()\n      run: |\n        mkdir serverlogs3\n        cp server_output.log serverlogs3/server_output.log\n    - name: Archive Logs\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: custom_mode\n        path: |\n          serverlogs3/*\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:38.356963", "created_at": "2021-02-24T15:42:23+01:00", "updated_at": "2021-03-03T10:06:23+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version'\n        required: true\n      current_release:\n        description: 'True to release Docker and update version info in moto/__init__.py'\n        required: true\n        type: boolean\n\njobs:\n  release-moto-job:\n    runs-on: ubuntu-latest\n    name: Release Moto\n    permissions:\n      contents: write\n      id-token: write\n      packages: write\n    env:\n      VERSION: 0.0.0\n    steps:\n    - name: Set Env\n      run: |\n        echo \"VERSION=${{ github.event.inputs.version }}\" >> $GITHUB_ENV\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install wheel setuptools packaging twine build --upgrade\n        pip install -r requirements-dev.txt\n    - name: Verify Tag does not exist\n      run: |\n        ! git rev-parse ${{ env.VERSION }} || { echo \"Ensure that no tag exists for ${{ env.VERSION }}\" ; exit 1; }\n    - name: Verify supplied version exists in the CHANGELOG\n      run: |\n        grep ${{ env.VERSION }} CHANGELOG.md || { echo \"Ensure that the CHANGELOG contains an entry for ${{ env.VERSION }}\" ; exit 1; }\n    - name: Set version number\n      run: python update_version_from_git.py ${{ env.VERSION }}\n    - name: Build Python\n      run: python -m build\n    - name: Build Docker release\n      if: ${{ inputs.current_release }}\n      run: |\n        docker build -t motoserver/moto . --tag moto:${{ env.VERSION }}\n    - name: Test Docker release\n      if: ${{ inputs.current_release }}\n      run: |\n        docker run -p 5000:5000 --name moto motoserver/moto &\n        TEST_SERVER_MODE=true pytest -sv tests/test_core tests/test_s3/test_s3.py\n        docker stop moto\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n    - name: Tag version on Github\n      run: |\n        git tag ${{ env.VERSION }}\n        git push origin ${{ env.VERSION }}\n    - name: Create GitHub release\n      uses: softprops/action-gh-release@v2\n      with:\n        name: ${{ env.VERSION }}\n        tag_name: ${{ env.VERSION }}\n        files: dist/*\n    # Required to get the correct Digest\n    # See https://github.com/docker/build-push-action/issues/461\n    - name: Set up QEMU\n      if: ${{ inputs.current_release }}\n      uses: docker/setup-qemu-action@v3\n    - name: Set up Docker Buildx\n      if: ${{ inputs.current_release }}\n      uses: docker/setup-buildx-action@v3\n    - name: Login to DockerHub\n      if: ${{ inputs.current_release }}\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n    - name: Login to GHCR\n      if: ${{ inputs.current_release }}\n      uses: docker/login-action@v3\n      with:\n        registry: ghcr.io\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n    - name: Push to DockerHub and GHCR\n      if: ${{ inputs.current_release }}\n      id: build_and_push\n      uses: docker/build-push-action@v6\n      with:\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: |\n          motoserver/moto:${{ env.VERSION }}\n          ghcr.io/getmoto/motoserver:${{ env.VERSION }}\n    - name: Increase patch version number\n      if: ${{ inputs.current_release }}\n      run: |\n        python update_version_from_git.py patch\n        sed -i 's/Docker Digest for ${{ env.VERSION }}: <autopopulateddigest>/Docker Digest for ${{ env.VERSION }}: _${{ steps.build_and_push.outputs.digest }}_/' CHANGELOG.md\n        git config --local user.email \"admin@getmoto.org\"\n        git config --local user.name \"Moto Admin\"\n        git add moto/__init__.py\n        git add CHANGELOG.md\n        git commit -m \"Post-release steps\"\n        git push\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:39.462425", "created_at": "2021-10-15T22:54:01+02:00", "updated_at": "2022-02-08T20:27:49+01:00", "name": "Outdated Dependency Tests", "path": ".github/workflows/test_outdated_versions.yml", "contents": "# Run separate test cases to verify Moto works with older versions of dependencies\n#\nname: \"Outdated Dependency Tests\"\n\non:\n  pull_request:\n    types: [ labeled ]\n\njobs:\n  test:\n    if: ${{ github.event.label.name == 'moto-core' }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        botocore: [\"--upgrade boto3 botocore\", \"--upgrade boto3 botocore && pip install urllib3==2.2.1\", \"boto3==1.11.0 botocore==1.14.0\"]\n        python-version: [ \"3.11\" ]\n        responses-version: [\"0.15.0\", \"0.17.0\", \"0.19.0\", \"0.20.0\" ]\n        werkzeug-version: [\"2.0.1\", \"2.1.1\", \"2.2.2\"]\n        openapi-spec-validator-version: [\"0.5.0\"]\n        cryptography-version: [\"39.0.0\"]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Update pip\n      run: |\n        python -m pip install --upgrade pip\n\n    - name: Install project dependencies\n      run: |\n        pip install -r requirements-dev.txt\n        pip install responses==${{ matrix.responses-version }}\n        pip install flask==${{ matrix.werkzeug-version }}\n        pip install werkzeug==${{ matrix.werkzeug-version }}\n        pip install openapi-spec-validator==${{ matrix.openapi-spec-validator-version }}\n        pip install ${{ matrix.botocore }}\n        pip install cryptography==${{ matrix.cryptography-version }}\n\n    - name: Run tests\n      run: |\n        pytest -sv tests/test_core ./tests/test_apigateway/test_apigateway_integration.py tests/test_iotdata ./tests/test_s3/test_server.py\n\n    - name: Start MotoServer\n      run: |\n        python -m build\n        docker run --rm -t --name motoserver -e TEST_SERVER_MODE=true -e AWS_SECRET_ACCESS_KEY=server_secret -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 5000:5000 -v /var/run/docker.sock:/var/run/docker.sock python:3.9-slim /moto/scripts/ci_moto_server.sh &\n        python scripts/ci_wait_for_server.py\n    - name: Test ServerMode/Coverage\n      env:\n        TEST_SERVER_MODE: ${{ true }}\n      run: |\n        pytest -sv tests/test_core tests/test_awslambda tests/test_cloudformation tests/test_iotdata\n    - name: \"Stop MotoServer\"\n      if: always()\n      run: |\n        mkdir serverlogs\n        cp server_output.log serverlogs/server_output.log\n        docker stop motoserver\n    - name: Archive TF logs\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: test-${{ matrix.responses-version }}-${{ matrix.werkzeug-version }}-${{ matrix.werkzeug-version }}-${{ matrix.openapi-spec-validator-version }}-${{ matrix.botocore }}\n        path: |\n          serverlogs/*\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:40.708932", "created_at": "2023-05-18T22:07:07+02:00", "updated_at": "2023-05-24T23:19:43+02:00", "name": "SQS Tests", "path": ".github/workflows/test_sqs.yml", "contents": "# Run separate test cases to verify SQS works with multiple botocore versions (/multiple response-types, QUERY and JSON)\n#\nname: \"SQS Tests\"\n\non:\n  pull_request:\n    types: [ labeled ]\n\njobs:\n  test:\n    if: ${{ github.event.label.name == 'service-sqs' }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.11\" ]\n        botocore-version: [\"1.29.126\", \"1.29.127\", \"1.29.128\"]\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Update pip\n      run: |\n        python -m pip install --upgrade pip\n\n    - name: Install project dependencies\n      run: |\n        pip install -r requirements-dev.txt\n        pip install botocore==${{ matrix.botocore-version }}\n\n    - name: Run tests\n      run: |\n        pytest -sv tests/test_sqs\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:41.835347", "created_at": "2023-03-01T13:58:20+01:00", "updated_at": "2023-03-03T15:12:21+01:00", "name": "Unit test", "path": ".github/workflows/tests_decoratormode.yml", "contents": "name: Unit test\non: [workflow_call]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.cfg') }}\n    - name: Update pip\n      run: |\n        python -m pip install --upgrade pip\n    - name: Install project dependencies\n      run: |\n        pip install -r requirements-dev.txt\n        pip install pytest-cov\n        pip install pytest-github-actions-annotate-failures\n    - name: Download Docker dependencies\n      # This happens automatically during test execution\n      # However, our tests can run concurrently\n      # Which means that our tests can pull this image concurrently\n      # Pulling it once is more efficient\n      run: |\n        docker pull mlupin/docker-lambda:python3.11\n    - name: Test with pytest\n      run: |\n        make test-only\n    - name: \"Upload coverage to Codecov\"\n      if: ${{ github.repository == 'getmoto/moto'}}\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: false\n        flags: unittests\n        token: ${{ secrets.CODECOV_TOKEN }}\n        verbose: true", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:42.921134", "created_at": "2023-09-27T20:34:36+02:00", "updated_at": "2023-09-27T20:34:36+02:00", "name": "Unit tests in Proxy Mode", "path": ".github/workflows/tests_proxymode.yml", "contents": "name: Unit tests in Proxy Mode\non: [workflow_call]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.cfg') }}\n    - name: Update pip\n      run: |\n        python -m pip install --upgrade pip\n    - name: Install project dependencies\n      run: |\n        pip install -r requirements-tests.txt\n        pip install .[all,server]\n    - name: Start MotoProxy\n      run: |\n        moto_proxy -h > moto_proxy.log\n        moto_proxy -H 0.0.0.0 -v > moto_proxy.log &\n    - name: Test ProxyMode\n      env:\n        TEST_PROXY_MODE: ${{ true }}\n      run: |\n        pytest -sv tests/test_acmpca tests/test_athena tests/test_awslambda tests/test_apigateway tests/test_core/test_proxy.py tests/test_s3\n    - name: \"Stop MotoProxy\"\n      if: always()\n      run: |\n        kill $(lsof -t -i:5005)\n    - name: Archive Proxy logs\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: motoproxy-${{ matrix.python-version }}\n        path: |\n          moto_proxy.log", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:43.990563", "created_at": "2023-09-27T09:12:18+02:00", "updated_at": "2023-09-27T09:12:18+02:00", "name": "Execute tests against AWS", "path": ".github/workflows/tests_real_aws.yml", "contents": "name: Execute tests against AWS\non:\n  schedule:\n    - cron: '00 6 * * 0'\n  workflow_dispatch:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: pip-3.11-${{ hashFiles('**/setup.cfg') }}\n    - name: Update pip\n      run: |\n        python -m pip install --upgrade pip\n    - name: Install project dependencies\n      run: |\n        pip install -r requirements-dev.txt\n    - name: Configure AWS\n      uses: aws-actions/configure-aws-credentials@v4\n      with:\n        aws-region: us-east-1\n        role-to-assume: arn:aws:iam::682283128318:role/GithubActionsRole\n    - name: Test with pytest\n      env:\n        MOTO_TEST_ALLOW_AWS_REQUEST: ${{ true }}\n      run: |\n        pytest -sv tests/test_cloudformation/ tests/test_dynamodb/ tests/test_ec2/ tests/test_iam/ tests/test_lakeformation/ tests/test_logs/ tests/test_sqs/ tests/test_ses/ tests/test_s3* tests/test_sns/ -m aws_verified\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:45.214804", "created_at": "2023-03-24T11:46:41+01:00", "updated_at": "2023-03-24T11:46:41+01:00", "name": ".NET SDK test", "path": ".github/workflows/tests_sdk_dotnet.yml", "contents": "name: .NET SDK test\non: [workflow_call]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.8\"\n    - name: Start MotoServer\n      run: |\n        pip install build\n        python -m build\n        docker run --rm -t --name motoserver -e TEST_SERVER_MODE=true -e AWS_SECRET_ACCESS_KEY=server_secret -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 5000:5000 -v /var/run/docker.sock:/var/run/docker.sock python:3.10-slim /moto/scripts/ci_moto_server.sh &\n        python scripts/ci_wait_for_server.py\n    - uses: actions/setup-dotnet@v4\n    - uses: actions/cache@v4\n      with:\n        path: ~/.nuget/packages\n        # Look to see if there is a cache hit for the corresponding requirements file\n        key: ${{ runner.os }}-nuget\n        restore-keys: |\n          ${{ runner.os }}-nuget\n    - name: Install dependencies\n      run: cd other_langs/tests_dotnet && dotnet restore ExampleTestProject/ && dotnet restore ebs\n    - name: Run tests\n      run: |\n        mkdir ~/.aws && touch ~/.aws/credentials && echo -e \"[default]\\naws_access_key_id = test\\naws_secret_access_key = test\" > ~/.aws/credentials\n        cd other_langs/tests_dotnet && dotnet test ExampleTestProject/ && dotnet restore ebs\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:46.381252", "created_at": "2023-03-03T15:12:21+01:00", "updated_at": "2023-03-03T15:12:21+01:00", "name": "Java SDK test", "path": ".github/workflows/tests_sdk_java.yml", "contents": "name: Java SDK test\non: [workflow_call]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Start MotoServer\n      run: |\n        pip install build\n        python -m build\n        docker run --rm -t --name motoserver -e TEST_SERVER_MODE=true -e AWS_SECRET_ACCESS_KEY=server_secret -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 5000:5000 -v /var/run/docker.sock:/var/run/docker.sock python:3.10-slim /moto/scripts/ci_moto_server.sh &\n        python scripts/ci_wait_for_server.py\n    - uses: actions/setup-java@v4\n      with:\n        distribution: 'temurin'\n        java-version: '17'\n        cache: 'maven'\n    - name: Build with Maven\n      run: |\n        mkdir ~/.aws && touch ~/.aws/credentials && echo -e \"[default]\\naws_access_key_id = test\\naws_secret_access_key = test\" > ~/.aws/credentials\n        cd other_langs/tests_java && mvn test", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:47.571473", "created_at": "2023-11-23T12:04:23+01:00", "updated_at": "2023-11-23T12:04:23+01:00", "name": "Ruby SDK test", "path": ".github/workflows/tests_sdk_ruby.yml", "contents": "name: Ruby SDK test\non: [workflow_call]\n\njobs:\n  test:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        ruby-version: ['3.3']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Ruby ${{ matrix.ruby-version }}\n        uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e\n        with:\n          ruby-version: ${{ matrix.ruby-version }}\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Start MotoServer\n        run: |\n          pip install build\n          python -m build\n          docker run --rm -t --name motoserver -e TEST_SERVER_MODE=true -e AWS_SECRET_ACCESS_KEY=server_secret -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 5000:5000 -v /var/run/docker.sock:/var/run/docker.sock python:3.10-slim /moto/scripts/ci_moto_server.sh &\n          python scripts/ci_wait_for_server.py\n      - name: Install dependencies\n        run: cd other_langs/tests_ruby && bundle install\n      - name: Run tests\n        env:\n          AWS_ENDPOINT_URL: \"http://localhost:5000\"\n        run: |\n          mkdir ~/.aws && touch ~/.aws/credentials && echo -e \"[default]\\naws_access_key_id = test\\naws_secret_access_key = test\" > ~/.aws/credentials\n          cd other_langs/tests_ruby && ruby test/*\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:48.686697", "created_at": "2023-03-01T13:58:21+01:00", "updated_at": "2023-03-03T15:12:21+01:00", "name": "Unit tests in Server Mode", "path": ".github/workflows/tests_servermode.yml", "contents": "name: Unit tests in Server Mode\non: [workflow_call]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Start MotoServer\n      run: |\n        pip install build\n        python -m build\n        docker run --rm -t --name motoserver -e TEST_SERVER_MODE=true -e MOTO_EC2_LOAD_DEFAULT_AMIS=false -e AWS_SECRET_ACCESS_KEY=server_secret -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 5000:5000 -v /var/run/docker.sock:/var/run/docker.sock python:${{ matrix.python-version }}-slim /moto/scripts/ci_moto_server.sh &\n        python scripts/ci_wait_for_server.py\n    - name: Get pip cache dir\n      id: pip-cache\n      run: |\n        echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n    - name: pip cache\n      uses: actions/cache@v4\n      with:\n        path: ${{ steps.pip-cache.outputs.dir }}\n        key: pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.cfg') }}\n    - name: Update pip\n      run: |\n        python -m pip install --upgrade pip\n    - name: Install project dependencies\n      run: |\n        pip install -r requirements-dev.txt\n    - name: Download Docker dependencies\n      # This happens automatically during test execution\n      # However, our tests can run concurrently\n      # Which means that our tests can pull this image concurrently\n      # Pulling it once is more efficient\n      run: |\n        docker pull mlupin/docker-lambda:python3.11\n    - name: Test ServerMode/Coverage\n      env:\n        TEST_SERVER_MODE: ${{ true }}\n      run: |\n        make test-only\n    - name: \"Upload coverage to Codecov\"\n      if: ${{ github.repository == 'getmoto/moto'}}\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: false\n        flags: servertests\n        token: ${{ secrets.CODECOV_TOKEN }}\n        verbose: true\n    - name: \"Stop MotoServer\"\n      if: always()\n      run: |\n        ls -la\n        docker stop motoserver\n        mkdir serverlogs\n        cp server_output.log serverlogs/server_output.log\n    - name: Archive Server logs\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: motoserver-${{ matrix.python-version }}\n        path: |\n          serverlogs/*", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:49.816395", "created_at": "2023-12-20T00:04:24+01:00", "updated_at": "2023-12-20T00:04:24+01:00", "name": "Terraform Examples", "path": ".github/workflows/tests_terraform_examples.yml", "contents": "# Small, self contained Terraform examples\n# Scripts should be placed in:\n#    other_langs/terraform/service\n\nname: Terraform Examples\non: [workflow_call]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        service: [\"acm\", \"awslambda\", \"cloudfront\", \"elb\", \"iam\", \"rds\", \"route53\", \"sqs\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.8\"\n    - name: Start MotoServer\n      run: |\n        pip install build\n        python -m build\n        docker run --rm -t --name motoserver -e TEST_SERVER_MODE=true -e AWS_SECRET_ACCESS_KEY=server_secret -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 5000:5000 -v /var/run/docker.sock:/var/run/docker.sock python:3.10-slim /moto/scripts/ci_moto_server.sh &\n        python scripts/ci_wait_for_server.py\n    - name: Run tests\n      run: |\n        mkdir ~/.aws && touch ~/.aws/credentials && echo -e \"[default]\\naws_access_key_id = test\\naws_secret_access_key = test\" > ~/.aws/credentials\n        cd other_langs/terraform/${{ matrix.service }}\n        terraform init\n        terraform apply --auto-approve\n        echo \"Verify nothing changes when ACM certificates are validated\"\n        sleep 30\n        terraform plan -detailed-exitcode\n        sleep 30\n        terraform plan -detailed-exitcode\n        terraform apply -destroy --auto-approve\n\n  test_create_only:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        service: [\"ec2\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.8\"\n    - name: Start MotoServer\n      run: |\n        pip install build\n        python -m build\n        docker run --rm -t --name motoserver -e TEST_SERVER_MODE=true -e AWS_SECRET_ACCESS_KEY=server_secret -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 5000:5000 -v /var/run/docker.sock:/var/run/docker.sock python:3.10-slim /moto/scripts/ci_moto_server.sh &\n        python scripts/ci_wait_for_server.py\n    - name: Run tests\n      run: |\n        mkdir ~/.aws && touch ~/.aws/credentials && echo -e \"[default]\\naws_access_key_id = test\\naws_secret_access_key = test\" > ~/.aws/credentials\n        cd other_langs/terraform/${{ matrix.service }}\n        terraform init\n        terraform apply --auto-approve\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:51.051222", "created_at": "2023-11-19T13:17:59+01:00", "updated_at": "2023-11-20T19:46:56+01:00", "name": "Unit tests without Docker", "path": ".github/workflows/tests_without_docker.yml", "contents": "# Verify that the `TESTS_SKIP_REQUIRES_DOCKER` environment variable works\n# Or in other words:\n# Verify that all tests that require Docker have the @requires_docker decorator\n\nname: Unit tests without Docker\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 1 * * *'  # every day at 1AM\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Update pip\n      run: |\n        python -m pip install --upgrade pip\n    - name: Install project dependencies\n      run: |\n        pip install -r requirements-dev.txt\n        pip install pytest-github-actions-annotate-failures\n    # We should be skipping all tests that require Docker\n    # Uninstalling the module enforces that all tests are indeed skipped\n    - name: Uninstall Docker\n      run: |\n        sudo systemctl stop docker\n        sudo systemctl stop docker.socket\n    - name: Test with pytest\n      env:\n        TESTS_SKIP_REQUIRES_DOCKER: true\n      run: |\n        pytest tests\n", "state": "active", "repository": "getmoto/moto"}
{"mined_at": "2024-07-15T18:14:53.304626", "created_at": "2023-08-15T07:26:01+02:00", "updated_at": "2023-08-17T18:53:40+02:00", "name": "Build & Publish h2oGPT Python wheel to PYPI", "path": ".github/workflows/python-package-publish.yml", "contents": "name: Build & Publish h2oGPT Python wheel to PYPI\n\non:\n  workflow_dispatch:\n    inputs:\n      pypi-index:\n        type: choice\n        description: PyPI index that needed to be published\n        required: true\n        default: Test-PyPI\n        options:\n          - PyPI\n          - Test-PyPI\n      version:\n        description: |\n          Override the current version for the python package for dev purposes when uploading to Test-PyPI\n        type: string\n\njobs:\n  build_and_upload:\n    runs-on: ubuntu-latest\n    steps:\n        - uses: actions/checkout@v3.5.3\n\n        - uses: actions/setup-python@v4\n          with:\n            python-version: '3.10'\n        \n        - name: Install Dependencies\n          run: |\n            python3.10 -m pip install --upgrade pip\n            python3.10 -m pip install setuptools wheel twine --upgrade\n        \n        - name: Modify Version\n          if: ${{ inputs.version != ''}}\n          run: |\n            echo ${{ inputs.version}} > version.txt\n            echo \"h2ogpt-wheel-version  = $(cat version.txt)\"\n        \n        - name: Build Wheel\n          run: make clean dist\n        \n        - name: Publish to Test-PyPI\n          if: ${{ inputs.pypi-index == 'Test-PyPI' }}\n          run: |\n            twine upload -r testpypi dist/*\n          env:\n            TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}  \n            TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        \n        - name: Publish to PyPI\n          if: ${{ inputs.pypi-index == 'PyPI' }}\n          run: |\n            twine upload dist/*\n          env:\n            TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}  \n            TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n", "state": "active", "repository": "h2oai/h2ogpt"}
{"mined_at": "2024-07-15T18:14:54.316542", "created_at": "2023-05-15T07:22:11+02:00", "updated_at": "2023-05-19T09:14:39+02:00", "name": "Snyk Security Vulnerability Scan", "path": ".github/workflows/snyk-scan.yml", "contents": "name: Snyk Security Vulnerability Scan\n\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n    branches:\n      - main\n\njobs:\n  snyk_scan_test:\n    if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - uses: snyk/actions/setup@master\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      \n      - name: Check changed Deps files\n        uses: tj-actions/changed-files@v35\n        id: changed-files\n        with:\n          files: | # This will match all the files with below patterns\n            requirements.txt\n    \n      - name: Scan python dependencies\n        if: contains(steps.changed-files.outputs.all_changed_and_modified_files, 'requirements.txt')\n        env:\n          SNYK_TOKEN: '${{ secrets.SNYK_TOKEN }}'\n        run: |\n          head -n 41 requirements.txt > temp-requirements.txt #remove test deps\n          python3.10 -m pip install -r temp-requirements.txt\n          snyk test \\\n            -d \\\n            --file=temp-requirements.txt \\\n            --package-manager=pip \\\n            --command=python3.10 \\\n            --skip-unresolved \\\n            --severity-threshold=high\n     \n  snyk_scan_monitor:\n    if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch'}}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - uses: snyk/actions/setup@master\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      \n      - name: Extract github branch/tag name\n        shell: bash\n        run: echo \"ref=$(echo ${GITHUB_REF##*/})\" >> $GITHUB_OUTPUT\n        id: extract_ref\n        \n      - name: Monitor python dependencies\n        env:\n          SNYK_TOKEN: '${{ secrets.SNYK_TOKEN }}'\n        run: |\n          head -n 41 requirements.txt > temp-requirements.txt #remove test deps\n          python3.10 -m pip install -r temp-requirements.txt\n          snyk monitor \\\n            -d \\\n            --file=temp-requirements.txt \\\n            --command=python3.10 \\\n            --package-manager=pip \\\n            --skip-unresolved \\\n            --remote-repo-url=h2ogpt/${{ steps.extract_ref.outputs.ref }} \\\n            --org=h2o-gpt \\\n            --project-name=H2O-GPT/h2ogpt/${{ steps.extract_ref.outputs.ref }}/requirements.txt\n", "state": "active", "repository": "h2oai/h2ogpt"}
{"mined_at": "2024-07-15T18:14:56.581635", "created_at": "2022-06-15T01:43:47+02:00", "updated_at": "2022-06-15T01:46:13+02:00", "name": "Build and test", "path": ".github/workflows/build_and_test.yml", "contents": "name: Build and test\n\non:\n  push:\n    paths:\n      - \"mage_ai/**\"\n      - \"mage_integrations/**\"\n      - \"pyproject.toml\"\n      - \"requirements.txt\"\n      - \"setup.py\"\n  pull_request:\n    paths:\n      - \"mage_ai/**\"\n      - \"mage_integrations/**\"\n      - \"pyproject.toml\"\n      - \"requirements.txt\"\n      - \"setup.py\"\n\njobs:\n  check-code-quality:\n\n    runs-on: ubuntu-latest\n    name: Check Code Quality\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      # https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#caching-packages\n      - name: Install Poetry\n        run: pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: 'poetry'\n      - name: Install Python dev dependencies\n        run: |\n          poetry install --no-interaction --only dev\n          poetry run pre-commit install\n      - id: changed-files\n        uses: tj-actions/changed-files@v36\n        with:\n          files_ignore: |\n            requirements.txt\n      - name: Run pre-commit hooks\n        run: poetry run pre-commit run --show-diff-on-failure --files ${{ steps.changed-files.outputs.all_changed_files }}\n\n  test_backend:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    needs: check-code-quality\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get install freetds-dev\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install mage_integrations/\n          pip install \"git+https://github.com/mage-ai/singer-python.git#egg=singer-python\"\n          pip install \"git+https://github.com/mage-ai/sqlglot#egg=sqlglot\"\n      - name: Run unit tests\n        run: |\n          python3 -m unittest discover -s mage_ai --failfast\n        env:\n          OPENAI_API_KEY: abcdefg\n      - name: Run mage integrations unit tests\n        run: |\n          cd mage_integrations && python3 -m unittest discover mage_integrations.tests\n\n      # Run Playwright web UI tests only run once per workflow (Python 3.10).\n      - name: Set up Node\n        uses: actions/setup-node@v3\n        with:\n          node-version: \"18.18.0\"\n        if: matrix.python-version == '3.10'\n      - name: Create Mage test project\n        run: |\n          python mage_ai/cli/main.py init test_project\n        env:\n          PYTHONPATH: ${{ env.pythonLocation }}:.\n        if: matrix.python-version == '3.10'\n      - name: Build frontend, start server, and run Playwright tests\n        run: |\n          yarn install &&\n          yarn export_prod &&\n          yarn playwright install chromium &&\n          yarn playwright test -c playwright.config.ci.ts\n        working-directory: mage_ai/frontend/\n        env:\n          PYTHONPATH: ${{ env.pythonLocation }}:. # Playwright tests on CI depend on the Python web server\n        if: matrix.python-version == '3.10'\n      - uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: playwright-report\n          path: mage_ai/frontend/playwright-report/\n          retention-days: 3\n\n  test_web_server_windows:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    needs: check-code-quality\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n      # Run Playwright web UI tests only run once per workflow (Python 3.10).\n      - name: Set up Node\n        uses: actions/setup-node@v3\n        with:\n          node-version: \"18.18.0\"\n      - name: Create Mage test project\n        run: |\n          Start-Process -Wait -FilePath \"C:\\Program Files\\Git\\unins000.exe\" -ArgumentList \"/SILENT\"\n          python -m venv venv3\n          venv3/Scripts/Activate.ps1\n          $env:PYTHONPATH = \"${env:PYTHONPATH};${pwd}\"\n          python -m pip install -r requirements.txt\n          python mage_ai/cli/main.py init test_project\n      - name: Build frontend, start server, and run Playwright tests\n        run: |\n          yarn install &&\n          yarn export_prod &&\n          yarn playwright install chromium &&\n          yarn playwright test -c playwright-windows.config.ci.ts\n        working-directory: mage_ai/frontend/\n      - uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: playwright-report\n          path: mage_ai/frontend/playwright-report/\n          retention-days: 3\n", "state": "active", "repository": "mage-ai/mage-ai"}
{"mined_at": "2024-07-15T18:14:57.707919", "created_at": "2022-10-12T01:50:32+02:00", "updated_at": "2022-10-12T02:40:34+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"master\" ]\n  schedule:\n    - cron: '24 16 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        \n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n        \n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines. \n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "disabled_manually", "repository": "mage-ai/mage-ai"}
{"mined_at": "2024-07-15T18:14:58.936764", "created_at": "2023-09-02T16:24:24+02:00", "updated_at": "2023-09-07T19:06:42+02:00", "name": "Lint Docker Images", "path": ".github/workflows/lint_docker_image.yml", "contents": "name: Lint Docker Images\n\non:\n  pull_request:\n    paths:\n      - '*Dockerfile'\n\njobs:\n  changed-images:\n    runs-on: ubuntu-latest\n    name: List changed images\n    steps:\n      - name: Check out source repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Get changed files\n        id: changed-files\n        uses: tj-actions/changed-files@v38\n        with:\n          files: '*Dockerfile'\n          json: true\n      - name: Create Job Matrix\n        id: image-matrix\n        run: echo images=${{ steps.changed-files.outputs.all_changed_files }} >> $GITHUB_OUTPUT\n    outputs:\n      images: ${{ steps.image-matrix.outputs.images }}\n\n  hadolint:\n    name: Lint Docker Images\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n    # Skip job if there are no images to test\n    # https://github.com/dorny/paths-filter/issues/66\n    if: ${{ needs.changed-images.outputs.images != '' && toJson(fromJson(needs.changed-images.outputs.images)) != '[]' }}\n    needs: [changed-images]\n    strategy:\n      matrix:\n        image: ${{ fromJSON(needs.changed-images.outputs.images) }}\n      fail-fast: false\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - uses: hadolint/hadolint-action@v3.1.0\n        id: hadolint\n        with:\n          dockerfile: ${{ matrix.image }}\n          ignore: DL3002,DL3008,DL3013,DL3016\n      - name: Annotate Pull Request\n        uses: actions/github-script@v6\n        if: github.event_name == 'pull_request' && failure()\n        with:\n          script: |\n            const output = `\n            #### Hadolint: \\`${{ steps.hadolint.outcome }}\\`\n            \\`\\`\\`\n            ${process.env.HADOLINT_RESULTS}\n            \\`\\`\\`\n            `;\n\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: output\n            })\n", "state": "active", "repository": "mage-ai/mage-ai"}
{"mined_at": "2024-07-15T18:15:00.066900", "created_at": "2022-08-08T23:20:37+02:00", "updated_at": "2022-08-08T23:20:37+02:00", "name": "Build and publish Docker image", "path": ".github/workflows/publish_docker_image.yml", "contents": "name: Build and publish Docker image\n\non:\n  workflow_dispatch:\n    inputs:\n      dockerfile_branch:\n        description: 'Dockerfile branch'\n        required: true\n        default: master\n      feature_branch:\n        description: 'Feature branch'\n        required: false\n        default: null\n      name:\n        description: 'Docker image name'\n        required: true\n        default: mageai\n      tag:\n        description: 'Docker image tag'\n        required: true\n        default: latest\n\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker Hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.inputs.dockerfile_branch }}\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: mageai/${{ github.event.inputs.name }}:${{ github.event.inputs.tag }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      \n      - name: Build and push Docker image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: mageai/${{ github.event.inputs.name }}:${{ github.event.inputs.tag }}\n          labels: ${{ steps.meta.outputs.labels }}\n          build-args: |\n            FEATURE_BRANCH=${{ github.event.inputs.feature_branch }}\n", "state": "active", "repository": "mage-ai/mage-ai"}
{"mined_at": "2024-07-15T18:15:01.189015", "created_at": "2022-06-14T08:11:52+02:00", "updated_at": "2022-06-14T08:40:30+02:00", "name": "Build and publish to PyPI", "path": ".github/workflows/publish_to_pypi.yml", "contents": "name: Build and publish to PyPI\n\non:\n  workflow_dispatch:\n    inputs:\n      dry_run:\n        description: 'Dry Run'\n        required: true\n        default: true\n        type: boolean\n\njobs:\n  build_and_publish:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@master\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v1\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install --user --upgrade setuptools wheel requests\n    - name: Build stable distribution\n      run: |\n        rm -rf dist/*\n        python setup.py sdist bdist_wheel\n    - name: Publish distribution to Test PyPI\n      if: github.event.inputs.dry_run == 'true'\n      uses: pypa/gh-action-pypi-publish@release/v1.8\n      with:\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n        verbose: true\n        skip-existing: true\n    - name: Publish distribution to PyPI\n      if: github.event.inputs.dry_run == 'false'\n      uses: pypa/gh-action-pypi-publish@release/v1.8\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n        verbose: true\n        skip-existing: true\n", "state": "active", "repository": "mage-ai/mage-ai"}
{"mined_at": "2024-07-15T18:15:02.397305", "created_at": "2024-06-25T08:46:43+02:00", "updated_at": "2024-06-25T08:46:43+02:00", "name": "trivy", "path": ".github/workflows/trivy.yml", "contents": null, "state": "active", "repository": "mage-ai/mage-ai"}
{"mined_at": "2024-07-15T18:15:04.667483", "created_at": "2024-07-12T20:36:28+02:00", "updated_at": "2024-07-12T20:36:28+02:00", "name": "Add label on auto-merge enabled", "path": ".github/workflows/add_label_automerge.yml", "contents": null, "state": "active", "repository": "vllm-project/vllm"}
{"mined_at": "2024-07-15T18:15:05.673048", "created_at": "2024-07-12T20:36:28+02:00", "updated_at": "2024-07-12T20:36:28+02:00", "name": "Add Ready Label on Ready Comment", "path": ".github/workflows/add_label_ready_comment.yml", "contents": null, "state": "active", "repository": "vllm-project/vllm"}
{"mined_at": "2024-07-15T18:15:06.670040", "created_at": "2024-05-14T19:03:36+02:00", "updated_at": "2024-05-22T09:18:43+02:00", "name": "clang-format", "path": ".github/workflows/clang-format.yml", "contents": "name: clang-format\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  clang-format:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install clang-format==18.1.5\n    - name: Running clang-format\n      run: |\n        EXCLUDES=(\n            'csrc/moe/topk_softmax_kernels.cu'\n            'csrc/punica/bgmv/bgmv_bf16_bf16_bf16.cu'\n            'csrc/punica/bgmv/bgmv_config.h'\n            'csrc/punica/bgmv/bgmv_impl.cuh'\n            'csrc/punica/bgmv/vec_dtypes.cuh'\n            'csrc/punica/punica_ops.cu'\n            'csrc/punica/type_convert.h'\n        )\n        find csrc/ \\( -name '*.h' -o -name '*.cpp' -o -name '*.cu' -o -name '*.cuh' \\) -print \\\n            | grep -vFf <(printf \"%s\\n\" \"${EXCLUDES[@]}\") \\\n            | xargs clang-format --dry-run --Werror", "state": "active", "repository": "vllm-project/vllm"}
{"mined_at": "2024-07-15T18:15:07.726854", "created_at": "2024-04-11T14:24:27+02:00", "updated_at": "2024-04-12T23:35:52+02:00", "name": "mypy", "path": ".github/workflows/mypy.yaml", "contents": "name: mypy\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install mypy==1.9.0\n        pip install types-setuptools\n        pip install types-PyYAML\n        pip install types-requests\n        pip install types-setuptools\n    - name: Mypy\n      run: |\n        mypy vllm/attention --config-file pyproject.toml\n        mypy vllm/core --config-file pyproject.toml\n        mypy vllm/distributed --config-file pyproject.toml\n        mypy vllm/entrypoints --config-file pyproject.toml\n        mypy vllm/executor --config-file pyproject.toml\n        mypy vllm/multimodal --config-file pyproject.toml\n        mypy vllm/usage --config-file pyproject.toml\n        mypy vllm/*.py --config-file pyproject.toml\n        mypy vllm/transformers_utils --config-file pyproject.toml\n        mypy vllm/engine  --config-file pyproject.toml\n        mypy vllm/worker --config-file pyproject.toml\n        mypy vllm/spec_decode --config-file pyproject.toml\n        mypy vllm/model_executor  --config-file pyproject.toml\n        mypy vllm/lora --config-file pyproject.toml\n        mypy vllm/logging --config-file pyproject.toml\n        mypy tests --config-file pyproject.toml\n\n", "state": "active", "repository": "vllm-project/vllm"}
{"mined_at": "2024-07-15T18:15:08.972182", "created_at": "2023-08-21T09:59:18+02:00", "updated_at": "2023-08-21T09:59:18+02:00", "name": "Create Release", "path": ".github/workflows/publish.yml", "contents": "# This workflow will upload a Python Package to Release asset\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Create Release\n\non:\n  push:\n    tags:\n      - v*\n\n# Needed to create release and upload assets\npermissions:\n  contents: write\n\njobs:\n  release:\n    # Retrieve tag and create release\n    name: Create Release\n    runs-on: ubuntu-latest\n    outputs:\n      upload_url: ${{ steps.create_release.outputs.upload_url }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Extract branch info\n        shell: bash\n        run: |\n          echo \"release_tag=${GITHUB_REF#refs/*/}\" >> $GITHUB_ENV\n\n      - name: Create Release\n        id: create_release\n        uses: \"actions/github-script@v6\"\n        env:\n          RELEASE_TAG: ${{ env.release_tag }}\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          script: |\n            const script = require('.github/workflows/scripts/create_release.js')\n            await script(github, context, core)\n\n  wheel:\n    name: Build Wheel\n    runs-on: ${{ matrix.os }}\n    needs: release\n\n    strategy:\n      fail-fast: false\n      matrix:\n          os: ['ubuntu-20.04']\n          python-version: ['3.8', '3.9', '3.10', '3.11']\n          pytorch-version: ['2.3.0']  # Must be the most recent version that meets requirements-cuda.txt.\n          cuda-version: ['11.8', '12.1']\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Setup ccache\n        uses: hendrikmuhs/ccache-action@v1.2\n        with:\n          create-symlink: true\n          key: ${{ github.job }}-${{ matrix.python-version }}-${{ matrix.cuda-version }}\n\n      - name: Set up Linux Env\n        if: ${{ runner.os == 'Linux' }}\n        run: |\n          bash -x .github/workflows/scripts/env.sh\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n            python-version: ${{ matrix.python-version }}\n\n      - name: Install CUDA ${{ matrix.cuda-version }}\n        run: |\n          bash -x .github/workflows/scripts/cuda-install.sh ${{ matrix.cuda-version }} ${{ matrix.os }}\n\n      - name: Install PyTorch ${{ matrix.pytorch-version }} with CUDA ${{ matrix.cuda-version }}\n        run: |\n          bash -x .github/workflows/scripts/pytorch-install.sh ${{ matrix.python-version }} ${{ matrix.pytorch-version }} ${{ matrix.cuda-version }}\n\n      - name: Build wheel\n        shell: bash\n        env:\n          CMAKE_BUILD_TYPE: Release # do not compile with debug symbol to reduce wheel size\n        run: |\n          bash -x .github/workflows/scripts/build.sh ${{ matrix.python-version }} ${{ matrix.cuda-version }}\n          wheel_name=$(ls dist/*whl | xargs -n 1 basename)\n          asset_name=${wheel_name//\"linux\"/\"manylinux1\"}\n          echo \"wheel_name=${wheel_name}\" >> $GITHUB_ENV\n          echo \"asset_name=${asset_name}\" >> $GITHUB_ENV\n\n      - name: Upload Release Asset\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ needs.release.outputs.upload_url }}\n          asset_path: ./dist/${{ env.wheel_name }}\n          asset_name: ${{ env.asset_name }}\n          asset_content_type: application/*\n\n      # (Danielkinz): This last step will publish the .whl to pypi. Warning: untested\n      # - name: Publish package\n      #   uses: pypa/gh-action-pypi-publish@release/v1.8\n      #   with:\n      #     repository-url: https://test.pypi.org/legacy/\n      #     password: ${{ secrets.PYPI_API_TOKEN }}\n      #     skip-existing: true\n", "state": "active", "repository": "vllm-project/vllm"}
{"mined_at": "2024-07-15T18:15:10.100616", "created_at": "2024-07-12T20:18:28+02:00", "updated_at": "2024-07-12T20:36:28+02:00", "name": "PR Reminder Comment Bot", "path": ".github/workflows/reminder_comment.yml", "contents": null, "state": "active", "repository": "vllm-project/vllm"}
{"mined_at": "2024-07-15T18:15:11.203832", "created_at": "2024-02-15T23:39:46+01:00", "updated_at": "2024-02-15T23:39:46+01:00", "name": "AMD ROCm Build", "path": ".github/workflows/rocm.yml", "contents": null, "state": "active", "repository": "vllm-project/vllm"}
{"mined_at": "2024-07-15T18:15:12.216773", "created_at": "2023-11-16T23:24:10+01:00", "updated_at": "2023-11-16T23:24:10+01:00", "name": "ruff format", "path": ".github/workflows/ruff-format.yml", "contents": null, "state": "active", "repository": "vllm-project/vllm"}
{"mined_at": "2024-07-15T18:15:13.380523", "created_at": "2023-11-14T22:38:40+01:00", "updated_at": "2023-11-20T20:58:04+01:00", "name": "ruff", "path": ".github/workflows/ruff.yml", "contents": "name: ruff\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install ruff==0.1.5 codespell==2.3.0 tomli==2.0.1 isort==5.13.2\n    - name: Analysing the code with ruff\n      run: |\n        ruff .\n    - name: Spelling check with codespell\n      run: |\n        codespell --toml pyproject.toml\n    - name: Run isort\n      run: |\n        isort . --check-only\n", "state": "active", "repository": "vllm-project/vllm"}
{"mined_at": "2024-07-15T18:15:14.390807", "created_at": "2023-07-03T22:35:47+02:00", "updated_at": "2023-07-03T23:50:59+02:00", "name": "yapf", "path": ".github/workflows/yapf.yml", "contents": "name: yapf\n\non:\n  # Trigger the workflow on push or pull request,\n  # but only for the main branch\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\njobs:\n  yapf:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install yapf==0.32.0\n        pip install toml==0.10.2\n    - name: Running yapf\n      run: |\n        yapf --diff --recursive .\n", "state": "active", "repository": "vllm-project/vllm"}
{"mined_at": "2024-07-15T18:15:16.540499", "created_at": "2024-06-27T23:45:56+02:00", "updated_at": "2024-06-28T03:25:06+02:00", "name": "Build Backend Image on Merge Group", "path": ".github/workflows/docker-build-backend-container-on-merge-group.yml", "contents": null, "state": "active", "repository": "danswer-ai/danswer"}
{"mined_at": "2024-07-15T18:15:17.779635", "created_at": "2023-09-08T07:13:40+02:00", "updated_at": "2023-11-07T01:40:52+01:00", "name": "Build and Push Backend Image on Tag", "path": ".github/workflows/docker-build-push-backend-container-on-tag.yml", "contents": "name: Build and Push Backend Image on Tag\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build-and-push:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n    - name: Login to Docker Hub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKER_USERNAME }}\n        password: ${{ secrets.DOCKER_TOKEN }}\n\n    - name: Backend Image Docker Build and Push\n      uses: docker/build-push-action@v5\n      with:\n        context: ./backend\n        file: ./backend/Dockerfile\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: |\n          danswer/danswer-backend:${{ github.ref_name }}\n          danswer/danswer-backend:latest\n        build-args: |\n          DANSWER_VERSION=${{ github.ref_name }}\n\n    - name: Run Trivy vulnerability scanner\n      uses: aquasecurity/trivy-action@master\n      with:\n        # To run locally: trivy image --severity HIGH,CRITICAL danswer/danswer-backend\n        image-ref: docker.io/danswer/danswer-backend:${{ github.ref_name }}\n        severity: 'CRITICAL,HIGH'\n        trivyignores: ./backend/.trivyignore\n", "state": "active", "repository": "danswer-ai/danswer"}
{"mined_at": "2024-07-15T18:15:19.007328", "created_at": "2023-11-07T01:36:11+01:00", "updated_at": "2023-11-07T01:40:52+01:00", "name": "Build and Push Model Server Image on Tag", "path": ".github/workflows/docker-build-push-model-server-container-on-tag.yml", "contents": "name: Build and Push Model Server Image on Tag\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build-and-push:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n    - name: Login to Docker Hub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKER_USERNAME }}\n        password: ${{ secrets.DOCKER_TOKEN }}\n\n    - name: Model Server Image Docker Build and Push\n      uses: docker/build-push-action@v5\n      with:\n        context: ./backend\n        file: ./backend/Dockerfile.model_server\n        platforms: linux/amd64,linux/arm64\n        push: true\n        tags: |\n          danswer/danswer-model-server:${{ github.ref_name }}\n          danswer/danswer-model-server:latest\n        build-args: |\n          DANSWER_VERSION=${{ github.ref_name }}\n\n    - name: Run Trivy vulnerability scanner\n      uses: aquasecurity/trivy-action@master\n      with:\n        image-ref: docker.io/danswer/danswer-model-server:${{ github.ref_name }}\n        severity: 'CRITICAL,HIGH'\n", "state": "active", "repository": "danswer-ai/danswer"}
{"mined_at": "2024-07-15T18:15:20.236503", "created_at": "2023-09-08T07:13:40+02:00", "updated_at": "2023-11-07T01:40:52+01:00", "name": "Build and Push Web Image on Tag", "path": ".github/workflows/docker-build-push-web-container-on-tag.yml", "contents": "name: Build and Push Web Image on Tag\n\non:\n  push:\n    tags:\n      - '*'\n\nenv:\n  REGISTRY_IMAGE: danswer/danswer-web-server\n\njobs:\n  build:\n    runs-on:\n      group: ${{ matrix.platform == 'linux/amd64' && 'amd64-image-builders' || 'arm64-image-builders' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        platform:\n          - linux/amd64\n          - linux/arm64\n\n    steps:\n      - name: Prepare\n        run: |\n          platform=${{ matrix.platform }}\n          echo \"PLATFORM_PAIR=${platform//\\//-}\" >> $GITHUB_ENV          \n      \n      - name: Checkout\n        uses: actions/checkout@v4\n      \n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY_IMAGE }}\n          tags: |\n            type=raw,value=danswer/danswer-web-server:${{ github.ref_name }}\n            type=raw,value=danswer/danswer-web-server:latest\n      \n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      \n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_TOKEN }}\n    \n      - name: Build and push by digest\n        id: build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./web\n          file: ./web/Dockerfile\n          platforms: ${{ matrix.platform }}\n          push: true\n          build-args: |\n            DANSWER_VERSION=${{ github.ref_name }}\n          # needed due to weird interactions with the builds for different platforms  \n          no-cache: true\n          labels: ${{ steps.meta.outputs.labels }}\n          outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true\n      \n      - name: Export digest\n        run: |\n          mkdir -p /tmp/digests\n          digest=\"${{ steps.build.outputs.digest }}\"\n          touch \"/tmp/digests/${digest#sha256:}\"          \n      \n      - name: Upload digest\n        uses: actions/upload-artifact@v4\n        with:\n          name: digests-${{ env.PLATFORM_PAIR }}\n          path: /tmp/digests/*\n          if-no-files-found: error\n          retention-days: 1\n\n  merge:\n    runs-on: ubuntu-latest\n    needs:\n      - build\n    steps:\n      - name: Download digests\n        uses: actions/download-artifact@v4\n        with:\n          path: /tmp/digests\n          pattern: digests-*\n          merge-multiple: true\n      \n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      \n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY_IMAGE }}\n      \n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_TOKEN }}\n      \n      - name: Create manifest list and push\n        working-directory: /tmp/digests\n        run: |\n          docker buildx imagetools create $(jq -cr '.tags | map(\"-t \" + .) | join(\" \")' <<< \"$DOCKER_METADATA_OUTPUT_JSON\") \\\n            $(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)          \n      \n      - name: Inspect image\n        run: |\n          docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}\n\n      - name: Run Trivy vulnerability scanner\n        uses: aquasecurity/trivy-action@master\n        with:\n          image-ref: docker.io/${{ env.REGISTRY_IMAGE }}:${{ github.ref_name }}\n          severity: 'CRITICAL,HIGH'\n", "state": "active", "repository": "danswer-ai/danswer"}
{"mined_at": "2024-07-15T18:15:21.250417", "created_at": "2024-06-27T23:45:56+02:00", "updated_at": "2024-06-28T03:25:06+02:00", "name": "Build Web Image on Merge Group", "path": ".github/workflows/docker-build-web-container-on-merge-group.yml", "contents": null, "state": "active", "repository": "danswer-ai/danswer"}
{"mined_at": "2024-07-15T18:15:22.389546", "created_at": "2023-07-09T01:32:02+02:00", "updated_at": "2023-07-09T01:32:02+02:00", "name": "Tag Latest Version", "path": ".github/workflows/docker-tag-latest.yml", "contents": "name: Tag Latest Version\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'The version (ie v0.0.1) to tag as latest'\n        required: true\n\njobs:\n  tag:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v1\n\n    - name: Login to Docker Hub\n      uses: docker/login-action@v1\n      with:\n        username: ${{ secrets.DOCKER_USERNAME }}\n        password: ${{ secrets.DOCKER_TOKEN }}\n\n    - name: Enable Docker CLI experimental features\n      run: echo \"DOCKER_CLI_EXPERIMENTAL=enabled\" >> $GITHUB_ENV\n\n    - name: Pull, Tag and Push Web Server Image\n      run: |\n        docker buildx imagetools create -t danswer/danswer-web-server:latest danswer/danswer-web-server:${{ github.event.inputs.version }}\n\n    - name: Pull, Tag and Push API Server Image\n      run: |\n        docker buildx imagetools create -t danswer/danswer-backend:latest danswer/danswer-backend:${{ github.event.inputs.version }}\n", "state": "active", "repository": "danswer-ai/danswer"}
{"mined_at": "2024-07-15T18:15:23.614849", "created_at": "2023-07-29T03:40:40+02:00", "updated_at": "2023-07-30T01:53:41+02:00", "name": "Python Checks", "path": ".github/workflows/pr-python-checks.yml", "contents": "name: Python Checks\n\non:\n  pull_request:\n    branches: [ main ]\n\njobs:\n  mypy-check:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n        cache: 'pip'\n        cache-dependency-path: |\n          backend/requirements/default.txt\n          backend/requirements/dev.txt\n          backend/requirements/model_server.txt\n    - run: |\n        python -m pip install --upgrade pip\n        pip install -r backend/requirements/default.txt\n        pip install -r backend/requirements/dev.txt\n        pip install -r backend/requirements/model_server.txt\n\n    - name: Run MyPy\n      run: |\n        cd backend\n        mypy .\n\n    - name: Run ruff\n      run: |\n        cd backend\n        ruff .\n\n    - name: Check import order with reorder-python-imports\n      run: |\n        cd backend\n        find ./danswer -name \"*.py\" | xargs reorder-python-imports --py311-plus\n\n    - name: Check code formatting with Black\n      run: |\n        cd backend\n        black --check .\n", "state": "active", "repository": "danswer-ai/danswer"}
{"mined_at": "2024-07-15T18:15:24.631260", "created_at": "2024-01-25T21:37:24+01:00", "updated_at": "2024-01-28T21:59:52+01:00", "name": "Python Unit Tests", "path": ".github/workflows/pr-python-tests.yml", "contents": "name: Python Unit Tests\n\non:\n  pull_request:\n    branches: [ main ]\n\njobs:\n  backend-check:\n    runs-on: ubuntu-latest\n\n    env:\n      PYTHONPATH: ./backend\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.11'\n        cache: 'pip'\n        cache-dependency-path: |\n          backend/requirements/default.txt\n          backend/requirements/dev.txt\n\n    - name: Install Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r backend/requirements/default.txt\n        pip install -r backend/requirements/dev.txt\n\n    - name: Run Tests\n      shell: script -q -e -c \"bash --noprofile --norc -eo pipefail {0}\"\n      run: py.test -o junit_family=xunit2 -xv --ff backend/tests/unit\n", "state": "active", "repository": "danswer-ai/danswer"}
{"mined_at": "2024-07-15T18:15:25.867029", "created_at": "2024-02-03T12:39:02+01:00", "updated_at": "2024-02-03T20:23:32+01:00", "name": "Quality Checks PR", "path": ".github/workflows/pr-quality-checks.yml", "contents": "name: Quality Checks PR\nconcurrency:\n  group: Quality-Checks-PR-${{ github.head_ref }}\n  cancel-in-progress: true\n\non:\n  pull_request: null\n\njobs:\n  quality-checks:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - uses: pre-commit/action@v3.0.0\n      with:\n        extra_args: --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}\n", "state": "active", "repository": "danswer-ai/danswer"}
{"mined_at": "2024-07-15T18:15:27.097172", "created_at": "2023-06-28T17:44:57+02:00", "updated_at": "2023-06-28T17:44:57+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "danswer-ai/danswer"}
{"mined_at": "2024-07-15T18:15:29.111574", "created_at": "2023-10-27T17:45:07+02:00", "updated_at": "2023-10-27T17:45:07+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": null, "state": "active", "repository": "kohya-ss/sd-scripts"}
{"mined_at": "2024-07-15T18:15:30.120321", "created_at": "2023-02-07T13:35:41+01:00", "updated_at": "2023-02-09T14:15:38+01:00", "name": "Typos", "path": ".github/workflows/typos.yml", "contents": "---\n# yamllint disable rule:line-length\nname: Typos\n\non:  # yamllint disable-line rule:truthy\n  push:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: typos-action\n        uses: crate-ci/typos@v1.19.0\n", "state": "active", "repository": "kohya-ss/sd-scripts"}
{"mined_at": "2024-07-15T18:15:32.103557", "created_at": "2023-04-10T07:29:37+02:00", "updated_at": "2023-04-10T07:29:37+02:00", "name": "Build Release", "path": ".github/workflows/build-and-release.yaml", "contents": "name: Build Release\n\non: workflow_dispatch\n\npermissions:\n  contents: write\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, windows-2019, macos-11]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n\n      # Used to host cibuildwheel\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -e .[all]\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          # disable repair\n          CIBW_REPAIR_WHEEL_COMMAND: \"\"\n        with:\n          package-dir: .\n          output-dir: wheelhouse\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels-${{ matrix.os }}\n          path: ./wheelhouse/*.whl\n\n  build_wheels_arm64:\n    name: Build arm64 wheels\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: linux/arm64\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          CIBW_SKIP: \"*musllinux* pp*\"\n          CIBW_REPAIR_WHEEL_COMMAND: \"\"\n          CIBW_ARCHS: \"aarch64\"\n          CIBW_BUILD: \"cp38-* cp39-* cp310-* cp311-* cp312-*\"\n        with:\n          output-dir: wheelhouse\n\n      - name: Upload wheels as artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: wheels_arm64\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip build\n          python -m pip install -e .[all]\n      - name: Build source distribution\n        run: |\n          python -m build --sdist\n      - uses: actions/upload-artifact@v4\n        with:\n          name: sdist\n          path: ./dist/*.tar.gz\n\n  release:\n    name: Release\n    needs: [build_wheels, build_wheels_arm64, build_sdist]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n          path: dist\n\n      - uses: softprops/action-gh-release@v2\n        with:\n          files: dist/*\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "abetlen/llama-cpp-python"}
{"mined_at": "2024-07-15T18:15:33.090157", "created_at": "2023-05-02T07:06:02+02:00", "updated_at": "2023-06-10T05:25:45+02:00", "name": "Build Docker", "path": ".github/workflows/build-docker.yaml", "contents": "name: Build Docker\n\non: workflow_dispatch\n\npermissions:\n  contents: write\n  packages: write\n\njobs:\n  docker:\n    name: Build and push Docker image\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3 \n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v6\n        with:\n          context: .\n          file: \"docker/simple/Dockerfile\"\n          push: ${{ startsWith(github.ref, 'refs/tags/') }}\n          pull: true\n          platforms: linux/amd64,linux/arm64\n          tags: |\n            ghcr.io/abetlen/llama-cpp-python:latest\n            ghcr.io/abetlen/llama-cpp-python:${{ github.ref_name }}\n          build-args: |\n            BUILDKIT_INLINE_CACHE=1\n\n      - name: Publish to GitHub Tag\n        if: steps.docker_build.outputs.digest && startsWith(github.ref, 'refs/tags/')\n        run: |\n          echo \"Docker image published for tag: ${{ github.ref_name }}\"\n", "state": "active", "repository": "abetlen/llama-cpp-python"}
{"mined_at": "2024-07-15T18:15:34.163347", "created_at": "2024-04-03T21:32:15+02:00", "updated_at": "2024-04-03T21:32:15+02:00", "name": "Build Wheels (CUDA)", "path": ".github/workflows/build-wheels-cuda.yaml", "contents": "name: Build Wheels (CUDA)\n\non: workflow_dispatch\n\npermissions:\n  contents: write\n\njobs:\n  define_matrix:\n    name: Define Build Matrix\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    defaults:\n      run:\n        shell: pwsh\n\n    steps:\n      - name: Define Job Output\n        id: set-matrix\n        run: |\n          $matrix = @{\n              'os' = @('ubuntu-latest', 'windows-latest')\n              'pyver' = @(\"3.9\", \"3.10\", \"3.11\", \"3.12\")\n              'cuda' = @(\"12.1.1\", \"12.2.2\", \"12.3.2\", \"12.4.1\")\n              'releasetag' = @(\"basic\")\n          }\n\n          $matrixOut = ConvertTo-Json $matrix -Compress\n          Write-Output ('matrix=' + $matrixOut) >> $env:GITHUB_OUTPUT\n\n  build_wheels:\n    name: Build Wheel ${{ matrix.os }} ${{ matrix.pyver }} ${{ matrix.cuda }} ${{ matrix.releasetag == 'wheels' && 'AVX2' || matrix.releasetag }}\n    needs: define_matrix\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix: ${{ fromJSON(needs.define_matrix.outputs.matrix) }}\n    defaults:\n      run:\n        shell: pwsh\n    env:\n      CUDAVER: ${{ matrix.cuda }}\n      AVXVER: ${{ matrix.releasetag }}\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.pyver }}\n          cache: 'pip'\n\n      - name: Setup Mamba\n        uses: conda-incubator/setup-miniconda@v3.0.4\n        with:\n          activate-environment: \"build\"\n          python-version: ${{ matrix.pyver }}\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          add-pip-as-python-dependency: true\n          auto-activate-base: false\n\n      - name: VS Integration Cache\n        id: vs-integration-cache\n        if: runner.os == 'Windows'\n        uses: actions/cache@v4.0.2\n        with:\n          path: ./MSBuildExtensions\n          key: cuda-${{ matrix.cuda }}-vs-integration\n\n      - name: Get Visual Studio Integration\n        if: runner.os == 'Windows' && steps.vs-integration-cache.outputs.cache-hit != 'true'\n        run: |\n          if ($env:CUDAVER -eq '12.1.1') {$x = '12.1.0'} else {$x = $env:CUDAVER}\n          $links = (Invoke-RestMethod 'https://raw.githubusercontent.com/Jimver/cuda-toolkit/master/src/links/windows-links.ts').Trim().split().where({$_ -ne ''})\n          for ($i=$q=0;$i -lt $links.count -and $q -lt 2;$i++) {if ($links[$i] -eq \"'$x',\") {$q++}}\n          Invoke-RestMethod $links[$i].Trim(\"'\") -OutFile 'cudainstaller.zip'\n          & 'C:\\Program Files\\7-Zip\\7z.exe' e cudainstaller.zip -oMSBuildExtensions -r *\\MSBuildExtensions\\* > $null\n          Remove-Item 'cudainstaller.zip'\n\n      - name: Install Visual Studio Integration\n        if: runner.os == 'Windows'\n        run: |\n          $y = (gi '.\\MSBuildExtensions').fullname + '\\*'\n          (gi 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\MSBuild\\Microsoft\\VC\\*\\BuildCustomizations').fullname.foreach({cp $y $_})\n          $cupath = 'CUDA_PATH_V' + $env:CUDAVER.Remove($env:CUDAVER.LastIndexOf('.')).Replace('.','_')\n          echo \"$cupath=$env:CONDA_PREFIX\" >> $env:GITHUB_ENV\n\n      - name: Install Dependencies\n        env:\n          MAMBA_DOWNLOAD_FAILFAST: \"0\"\n          MAMBA_NO_LOW_SPEED_LIMIT: \"1\"\n        run: |\n          $cudaVersion = $env:CUDAVER\n          mamba install -y 'cuda' -c nvidia/label/cuda-$cudaVersion\n          python -m pip install build wheel\n\n      - name: Build Wheel\n        run: |\n          $cudaVersion = $env:CUDAVER.Remove($env:CUDAVER.LastIndexOf('.')).Replace('.','')\n          $env:CUDA_PATH = $env:CONDA_PREFIX\n          $env:CUDA_HOME = $env:CONDA_PREFIX\n          $env:CUDA_TOOLKIT_ROOT_DIR = $env:CONDA_PREFIX\n          if ($IsLinux) {\n            $env:LD_LIBRARY_PATH = $env:CONDA_PREFIX + '/lib:' + $env:LD_LIBRARY_PATH\n          }\n          $env:VERBOSE = '1'\n          $env:CMAKE_ARGS = '-DLLAMA_CUBLAS=on -DCMAKE_CUDA_ARCHITECTURES=all'\n          $env:CMAKE_ARGS = \"-DLLAMA_CUDA_FORCE_MMQ=ON $env:CMAKE_ARGS\"\n          # if ($env:AVXVER -eq 'AVX') {\n          $env:CMAKE_ARGS = $env:CMAKE_ARGS + ' -DLLAMA_AVX2=off -DLLAMA_FMA=off -DLLAMA_F16C=off'\n          # }\n          # if ($env:AVXVER -eq 'AVX512') {\n          #  $env:CMAKE_ARGS = $env:CMAKE_ARGS + ' -DLLAMA_AVX512=on'\n          # }\n          # if ($env:AVXVER -eq 'basic') {\n          #  $env:CMAKE_ARGS = $env:CMAKE_ARGS + ' -DLLAMA_AVX=off -DLLAMA_AVX2=off -DLLAMA_FMA=off -DLLAMA_F16C=off'\n          # }\n          python -m build --wheel\n          # write the build tag to the output\n          Write-Output \"CUDA_VERSION=$cudaVersion\" >> $env:GITHUB_ENV\n\n      - uses: softprops/action-gh-release@v2\n        with:\n          files: dist/*\n          # Set tag_name to <tag>-cu<cuda_version>\n          tag_name: ${{ github.ref_name }}-cu${{ env.CUDA_VERSION }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "abetlen/llama-cpp-python"}
{"mined_at": "2024-07-15T18:15:35.161256", "created_at": "2024-04-03T21:32:15+02:00", "updated_at": "2024-04-03T21:32:15+02:00", "name": "Build Wheels (Metal)", "path": ".github/workflows/build-wheels-metal.yaml", "contents": "name: Build Wheels (Metal)\n\non: workflow_dispatch\n\npermissions:\n  contents: write\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [macos-12, macos-13, macos-14]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n\n      # Used to host cibuildwheel\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: 'pip'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -e .[all]\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        env:\n          # disable repair\n          CIBW_REPAIR_WHEEL_COMMAND: \"\"\n          CIBW_ARCHS: \"arm64\"\n          CIBW_ENVIRONMENT: CMAKE_ARGS=\"-DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_APPLE_SILICON_PROCESSOR=arm64 -DLLAMA_METAL=on\"\n          CIBW_BUILD: \"cp39-* cp310-* cp311-* cp312-*\"\n        with:\n          package-dir: .\n          output-dir: wheelhouse2\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels-mac_${{ matrix.os }}\n          path: ./wheelhouse2/*.whl\n\n  release:\n    name: Release\n    needs: [build_wheels]\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          merge-multiple: true\n          path: dist2\n          \n      - uses: softprops/action-gh-release@v2\n        with:\n          files: dist2/*\n          # set release name to <tag>-metal\n          tag_name: ${{ github.ref_name }}-metal\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "abetlen/llama-cpp-python"}
{"mined_at": "2024-07-15T18:15:36.153185", "created_at": "2024-04-03T21:32:15+02:00", "updated_at": "2024-04-03T21:32:15+02:00", "name": "Wheels Index", "path": ".github/workflows/generate-index-from-release.yaml", "contents": "name: Wheels Index\n\non:\n  # Trigger on any new release\n  release:\n    types: [published]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  # Single deploy job since we're just deploying\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Setup Pages\n        uses: actions/configure-pages@v5\n      - name: Build\n        run: |\n          ./scripts/releases-to-pep-503.sh index/whl/cpu '^[v]?[0-9]+\\.[0-9]+\\.[0-9]+$'\n          ./scripts/releases-to-pep-503.sh index/whl/cu121 '^[v]?[0-9]+\\.[0-9]+\\.[0-9]+-cu121$'\n          ./scripts/releases-to-pep-503.sh index/whl/cu122 '^[v]?[0-9]+\\.[0-9]+\\.[0-9]+-cu122$'\n          ./scripts/releases-to-pep-503.sh index/whl/cu123 '^[v]?[0-9]+\\.[0-9]+\\.[0-9]+-cu123$'\n          ./scripts/releases-to-pep-503.sh index/whl/cu124 '^[v]?[0-9]+\\.[0-9]+\\.[0-9]+-cu124$'\n          ./scripts/releases-to-pep-503.sh index/whl/metal '^[v]?[0-9]+\\.[0-9]+\\.[0-9]+-metal$'\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v3\n        with:\n          # Upload entire repository\n          path: 'index'\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "abetlen/llama-cpp-python"}
{"mined_at": "2024-07-15T18:15:37.167963", "created_at": "2024-06-07T01:47:38+02:00", "updated_at": "2024-06-07T01:47:38+02:00", "name": "Ruff", "path": ".github/workflows/linter.yml", "contents": null, "state": "active", "repository": "abetlen/llama-cpp-python"}
{"mined_at": "2024-07-15T18:15:38.566428", "created_at": "2023-04-10T04:34:22+02:00", "updated_at": "2023-06-10T05:25:45+02:00", "name": "Publish to TestPyPI", "path": ".github/workflows/publish-to-test.yaml", "contents": "# Based on: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n\nname: Publish to TestPyPI\n\non:\n  workflow_dispatch:\n    inputs:\n      dev_version:\n        description: 'Dev version N'\n        required: true\n\n\njobs:\n  build-n-publish:\n    name: Build and publish\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: \"recursive\"\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n        cache: 'pip'\n    - name: Append Dev Version to __version__\n      run: |\n        DEV_VERSION=${{ github.event.inputs.dev_version }}\n        CURRENT_VERSION=$(awk -F= '/__version__ =/ {print $2}' llama_cpp/__init__.py | tr -d ' \"')\n        NEW_VERSION=\"${CURRENT_VERSION}.dev${DEV_VERSION}\"\n        sed -i 's/__version__ = \\\".*\\\"/__version__ = \\\"'\"${NEW_VERSION}\"'\\\"/' llama_cpp/__init__.py\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip build\n        python -m pip install -e .[all]\n    - name: Build source distribution\n      run: |\n        python -m build --sdist\n    - name: Publish to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "abetlen/llama-cpp-python"}
{"mined_at": "2024-07-15T18:15:40.102176", "created_at": "2023-04-10T04:32:35+02:00", "updated_at": "2023-04-10T04:38:23+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish.yaml", "contents": "name: Publish to PyPI\n\n# Based on: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n\non: workflow_dispatch\n\njobs:\n  build-n-publish:\n    name: Build and publish\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: \"recursive\"\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.9\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip build\n        python -m pip install -e .[all]\n    - name: Build source distribution\n      run: |\n        python -m build --sdist\n    - name: Publish distribution to PyPI\n      # TODO: move to tag based releases\n      # if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "abetlen/llama-cpp-python"}
{"mined_at": "2024-07-15T18:15:41.196010", "created_at": "2024-06-07T01:08:00+02:00", "updated_at": "2024-06-07T01:36:41+02:00", "name": "Flake8", "path": ".github/workflows/security.yml", "contents": null, "state": "active", "repository": "abetlen/llama-cpp-python"}
{"mined_at": "2024-07-15T18:15:42.559678", "created_at": "2023-06-09T22:52:47+02:00", "updated_at": "2023-06-09T22:52:47+02:00", "name": "Tests for PyPI package", "path": ".github/workflows/test-pypi.yaml", "contents": "name: Tests for PyPI package\n\non: workflow_dispatch\n\njobs:\n  build-linux:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --verbose llama-cpp-python[all]\n      - name: Test with pytest\n        run: |\n          python -c \"import llama_cpp\"\n\n  build-windows:\n\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --verbose llama-cpp-python[all]\n      - name: Test with pytest\n        run: |\n          python -c \"import llama_cpp\"\n\n  build-macos:\n\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --verbose llama-cpp-python[all]\n      - name: Test with pytest\n        run: |\n          python -c \"import llama_cpp\"\n", "state": "active", "repository": "abetlen/llama-cpp-python"}
{"mined_at": "2024-07-15T18:15:43.553625", "created_at": "2023-04-05T10:30:38+02:00", "updated_at": "2023-04-07T03:28:07+02:00", "name": "Tests", "path": ".github/workflows/test.yaml", "contents": "name: Tests\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\njobs:\n  build-linux:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .[all] -v\n      - name: Test with pytest\n        run: |\n          python -m pytest\n\n  build-windows:\n\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .[all] -v\n      - name: Test with pytest\n        run: |\n          python -m pytest\n\n  build-macos:\n\n    runs-on: macos-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .[all] --verbose\n      - name: Test with pytest\n        run: |\n          python -m pytest\n\n  # build-linux-opencl:\n\n  #   runs-on: ubuntu-latest\n\n  #   steps:\n  #     - uses: actions/checkout@v4\n  #       with:\n  #         submodules: \"recursive\"\n  #     - name: Set up Python 3.8\n  #       uses: actions/setup-python@v5\n  #       with:\n  #         python-version: \"3.8\"\n  #     - name: Set up OpenCL & CLBlast\n  #       run: |\n  #         wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null\n  #         echo \"deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main\" | sudo tee /etc/apt/sources.list.d/oneAPI.list  \n  #         sudo apt-get update\n  #         sudo apt-get install -y --no-install-recommends llvm intel-oneapi-runtime-opencl intel-oneapi-runtime-compilers libclblast-dev\n  #     - name: Install dependencies\n  #       run: |\n  #         python -m pip install --upgrade pip\n  #         CMAKE_ARGS=\"-DLLAMA_CLBLAST=on\" python -m pip install .[all] --verbose\n  #     - name: Test with pytest\n  #       run: |\n  #         python -m pytest\n\n\n  build-macos-metal:\n\n    runs-on: macos-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: \"recursive\"\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          CMAKE_ARGS=\"-DLLAMA_METAL=on\" python -m pip install .[all] --verbose\n      - name: Test with pytest\n        run: |\n          python -m pytest\n", "state": "active", "repository": "abetlen/llama-cpp-python"}
{"mined_at": "2024-07-15T18:15:44.542928", "created_at": "2023-03-25T00:03:43+01:00", "updated_at": "2023-03-25T00:03:43+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "abetlen/llama-cpp-python"}
{"mined_at": "2024-07-15T18:15:46.656517", "created_at": "2022-03-17T00:16:08+01:00", "updated_at": "2022-03-17T00:16:08+01:00", "name": "Add A TestFilght Link", "path": ".github/workflows/add_link.yml", "contents": "name: Add A TestFilght Link\n\non:\n  workflow_dispatch:\n    inputs:\n      app_name:\n        description: '应用名称（建议填上，程序可能无法通过链接判断 TestFlight 测试的应用名称）【中间不要有英文双引号或英文竖线分隔符\"|\"】'\n        required: false\n        default: 'None'\n      testflight_link:\n        description: 'Testflight 公共测试的完整链接(非 TestFilght 链接请添加到 scripts/data/signup.md)'\n        required: true\n      table:\n        description: '链接分类(可选值：`macos`, `ios`, `ios_game`, `chinese`)'\n        required: true\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    if: github.repository == 'pluwen/awesome-testflight-link'\n    steps:\n      - uses: actions/checkout@v3.3.0\n      - name: Set up Python\n        uses: actions/setup-python@v4.5.0\n        with:\n          python-version: '3.11.1'\n          architecture: x64\n      - name: Init Python Env\n        run: pip install -r scripts/requirements.txt\n      - name: Add A TestFilght Link\n        run: python scripts/add_link.py \"${{ github.event.inputs.testflight_link }}\" \"${{ github.event.inputs.table }}\" \"${{ github.event.inputs.app_name }}\"\n\n      - name: Git commit && push\n        run: |\n          git_diff=`git diff`\n          if [ -z \"$git_diff\" ]; then echo \"Nothing Changed\";exit; fi\n          git config --global user.email \"github_bot@noreply.github.com\"\n          git config --global user.name \"github_bot\"\n          git add .\n          git commit -m \"Add A New Link\"\n          git push\n", "state": "active", "repository": "pluwen/awesome-testflight-link"}
{"mined_at": "2024-07-15T18:15:47.655265", "created_at": "2022-03-17T00:16:08+01:00", "updated_at": "2022-03-17T00:16:08+01:00", "name": "Del A TestFilght Link", "path": ".github/workflows/del_link.yml", "contents": "name: Del A TestFilght Link\n\non:\n  workflow_dispatch:\n    inputs:\n      testflight_link:\n        description: 'Testflight 公共测试的完整链接'\n        required: true\n      table:\n        description: '链接分类(可选值：`macos`, `ios`, `ios_game`, `chinese`)'\n        required: true\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    if: github.repository == 'pluwen/awesome-testflight-link'\n    steps:\n      - uses: actions/checkout@v3.3.0\n      - name: Set up Python\n        uses: actions/setup-python@v4.5.0\n        with:\n          python-version: '3.11.1'\n          architecture: x64\n      - name: Del A TestFilght Link\n        run: python scripts/del_link.py \"${{ github.event.inputs.testflight_link }}\" \"${{ github.event.inputs.table }}\"\n\n      - name: Git commit && push\n        run: |\n          git_diff=`git diff`\n          if [ -z \"$git_diff\" ]; then echo \"Nothing Changed\";exit; fi\n          git config --global user.email \"github_bot@noreply.github.com\"\n          git config --global user.name \"github_bot\"\n          git add .\n          git commit -m \"Del A TestFilght Link\"\n          git push\n", "state": "active", "repository": "pluwen/awesome-testflight-link"}
{"mined_at": "2024-07-15T18:15:48.707072", "created_at": "2022-04-24T16:07:36+02:00", "updated_at": "2022-04-24T16:07:36+02:00", "name": "Order TestFilght Link Status", "path": ".github/workflows/order_status.yml", "contents": "name: Order TestFilght Link Status\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n    inputs:\n      python_version:\n        description: '指定 Python 版本 3.6+ （不建议修改）'\n        required: false\n        default: '3.11.1'\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    env:\n      python_version: ${{ github.event.inputs.python_version }}\n    steps:\n      - uses: actions/checkout@v3.3.0\n      - name: Check env\n        run: if [ -z \"$python_version\" ]; then python_version='3.11.1'; fi\n      - name: Set up Python\n        uses: actions/setup-python@v4.5.0\n        with:\n          python-version: ${{ env.python_version }}\n          architecture: x64\n\n      - name: Checkout main -> status_ordered\n        run: |\n          git config --global user.email \"github_bot@noreply.github.com\"\n          git config --global user.name \"github_bot\"\n          git pull --unshallow\n          git checkout status_ordered\n          git checkout origin/main db/sqlite3.db\n\n      - name: Order TestFilght Link Status\n        run: python scripts/order_status.py\n\n      - name: Git commit && push\n        run: |\n          git_diff=`git diff`\n          if [ -z \"$git_diff\" ]; then echo \"Nothing Changed\";exit; fi\n          git add .\n          git commit -m \"Github Action Auto Updated - `date`\"\n          git push origin status_ordered\n", "state": "active", "repository": "pluwen/awesome-testflight-link"}
{"mined_at": "2024-07-15T18:15:49.818572", "created_at": "2022-03-17T00:16:08+01:00", "updated_at": "2022-03-17T00:16:08+01:00", "name": "Update TestFilght Link Status", "path": ".github/workflows/update_status.yml", "contents": "name: Update TestFilght Link Status\n\non:\n  schedule:\n    - cron: '0 3 * * *'\n  workflow_dispatch:\n    inputs:\n      python_version:\n        description: '指定 Python 版本 3.6+ （不建议修改）'\n        required: false\n        default: '3.11.1'\n\njobs:\n  main:\n    runs-on: ubuntu-latest\n    if: github.repository == 'pluwen/awesome-testflight-link'\n    env:\n      python_version: ${{ github.event.inputs.python_version }}\n    steps:\n      - uses: actions/checkout@v3.3.0\n      - name: Check env\n        run: if [ -z \"$python_version\" ]; then python_version='3.11.1'; fi\n      - name: Set up Python\n        uses: actions/setup-python@v4.5.0\n        with:\n          python-version: ${{ env.python_version }}\n          architecture: x64\n      - name: Init Python Env\n        run: pip install -r scripts/requirements.txt\n      - name: Update TestFilght Link Status\n        run: python scripts/update_status.py\n\n      - name: Git commit && push\n        run: |\n          git_diff=`git diff`\n          if [ -z \"$git_diff\" ]; then echo \"Nothing Changed\";exit; fi\n          git config --global user.email \"github_bot@noreply.github.com\"\n          git config --global user.name \"github_bot\"\n          git add .\n          git commit -m \"Github Action Auto Updated - `date`\"\n          git push\n\n  forked-repo:\n    runs-on: ubuntu-latest\n    if: github.repository != 'pluwen/awesome-testflight-link'\n    \n    steps:\n      - uses: actions/checkout@v3.3.0\n\n      - name: Git commit && push\n        run: |\n          git config --global user.email \"github_bot@noreply.github.com\"\n          git config --global user.name \"github_bot\"\n          git remote add upstream https://github.com/pluwen/awesome-testflight-link.git \n          git fetch upstream\n          git checkout main\n          git merge upstream/main --allow-unrelated-histories\n          git push origin main\n\n", "state": "active", "repository": "pluwen/awesome-testflight-link"}
{"mined_at": "2024-07-15T18:15:51.981935", "created_at": "2024-01-17T06:25:27+01:00", "updated_at": "2024-01-18T00:35:32+01:00", "name": "Build Frontend", "path": ".github/workflows/build-frontend.yml", "contents": "# Build the frontend from source, and open a pull request to commit the build artifacts.\n# This allows Python users to use the React frontend without installing and running Node.\nname: Build Frontend\n\non:\n  push:\n    branches:\n      - 'main'\n    paths:\n      - 'helm-frontend/**'\n      - '.github/workflows/build-frontend.yml'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: '18'\n    - name: Install Yarn\n      working-directory: ./helm-frontend\n      run: npm install --global yarn\n    - name: Install dependencies\n      working-directory: ./helm-frontend\n      run: yarn install\n    - name: Build app\n      working-directory: ./helm-frontend\n      run: yarn build --outDir '../src/helm/benchmark/static_build' --emptyOutDir\n    - name: Write README.md\n      run: echo -e '# Frontend Build\\n\\nThis directory is automatically generated by GitHub Actions and contains a static site built from helm-frontend. Do not modify this directory!' > src/helm/benchmark/static_build/README.md\n    - name: Git add\n      run: git add --force src/helm/benchmark/static_build\n    - name: Create pull request\n      uses: peter-evans/create-pull-request@v6\n      with:\n        commit-message: Build frontend\n        branch: actions/build-frontend\n        delete-branch: true\n        title: 'Build frontend'\n        body: Auto-generated from GitHub Actions.\n", "state": "active", "repository": "stanford-crfm/helm"}
{"mined_at": "2024-07-15T18:15:53.109789", "created_at": "2023-08-29T20:13:23+02:00", "updated_at": "2023-10-03T19:20:19+02:00", "name": "Frontend", "path": ".github/workflows/frontend.yml", "contents": "name: Frontend\n\non:\n  push:\n    branches:\n      - '*'\n    paths:\n      - 'helm-frontend/**'\n  pull_request:\n    branches:\n      - '*'\n    paths:\n      - 'helm-frontend/**'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: '18'\n    - name: Install Yarn\n      run: npm install --global yarn\n    - name: Install dependencies\n      working-directory: ./helm-frontend\n      run: yarn install\n    - name: Run lint\n      working-directory: ./helm-frontend\n      run: yarn lint\n    - name: Run check format\n      working-directory: ./helm-frontend\n      run: yarn format:check\n    - name: Run tests\n      working-directory: ./helm-frontend\n      run: yarn test\n\n  build:\n    runs-on: ubuntu-latest\n    # Deploy to only run on pushes to master\n    # if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n    if: github.event_name == 'push' && github.ref == 'refs/heads/react_frontend'\n    needs: test\n    environment:\n      name: github-pages\n    env:\n      VITE_HELM_BENCHMARKS_ENDPOINT: ${{ vars.VITE_HELM_BENCHMARKS_ENDPOINT }}\n      VITE_HELM_BENCHMARKS_SUITE: ${{ vars.VITE_HELM_BENCHMARKS_SUITE }}\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n    - name: Use Node.js\n      uses: actions/setup-node@v4\n      with:\n        node-version: '18'\n    - name: Install Yarn\n      working-directory: ./helm-frontend\n      run: npm install --global yarn\n    - name: Install dependencies\n      working-directory: ./helm-frontend\n      run: yarn install\n    - name: Build app\n      working-directory: ./helm-frontend\n      run: yarn build\n    - name: Upload artifact\n      uses: actions/upload-pages-artifact@v3\n      with:\n        path: ./src/helm/benchmark/static_build/\n\n  deploy:\n    runs-on: ubuntu-latest\n    needs: build\n    permissions:\n      pages: write\n      id-token: write\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v3\n", "state": "active", "repository": "stanford-crfm/helm"}
{"mined_at": "2024-07-15T18:15:54.125863", "created_at": "2024-02-28T00:37:51+01:00", "updated_at": "2024-02-28T00:37:51+01:00", "name": "Manage Python Cache", "path": ".github/workflows/manage-python-cache.yml", "contents": "# Workflows for manually managing the Python cache.\n#\n# HELM's dependencies (e.g. PyTorch, transformers) can be very large,\n# and the cache may contain multiple versions of these dependencies,\n# so we may have to purge the cache from time to time.\n\nname: Manage Python Cache\n\non: workflow_dispatch\n\njobs:\n  info:\n    name: Show pip cache info and package list\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: Get pip cache info\n        run: pip cache info && pip cache list\n\n  purge:\n    name: Purge and rebuild pip cache\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: Get pip cache info before purging\n        run: pip cache info && pip cache list\n      - name: Purge pip cache\n        run: pip cache purge\n      - name: Get pip cache info after purging\n        run: pip cache info && pip cache list\n      - name: Install HELM\n        run: pip install -e .[all]\n      - name: Get pip cache info after installing HELM\n        run: pip cache info && pip cache list\n", "state": "active", "repository": "stanford-crfm/helm"}
{"mined_at": "2024-07-15T18:15:55.280348", "created_at": "2023-03-31T20:04:11+02:00", "updated_at": "2023-09-20T01:05:40+02:00", "name": "Publish Python package to PyPI", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\nname: Publish Python package to PyPI\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  pypi-publish:\n    name: Publish Python package to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/crfm-helm\n    permissions:\n      id-token: write\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "stanford-crfm/helm"}
{"mined_at": "2024-07-15T18:15:56.485853", "created_at": "2021-12-27T23:58:47+01:00", "updated_at": "2024-05-24T20:19:46+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\non:\n  push:\n    branches: [ main ]\n    paths-ignore:\n      - 'helm-frontend/**'\n  pull_request:\n    paths-ignore:\n      - 'helm-frontend/**'\n\njobs:\n  install:\n    # Tests that the HELM CLI commands work when only installing required dependencies\n    # without optional extra dependencies.\n    name: Run HELM with minimal dependencies only\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - run: python3 -m pip install --upgrade build\n      - run: python3 -m build\n      - run: python3 -m pip install dist/crfm_helm-*.whl\n      - run: helm-run --run-entries simple1:model=simple/model1 --max-eval-instances 10 --suite test\n      - run: helm-summarize --suite test\n      - run: helm-server --help\n \n  install_openvino:  \n    # Tests that the Optimum Intel command works when only installing required dependencies\n    name: Run Optimum Intel with minimal dependencies only\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - run: python3 -m pip install --upgrade build\n      - run: python3 -m build\n      - run: python3 -m pip install \"$(ls dist/crfm_helm-*.whl)[openvino]\"\n      - run: helm-run --run-entries boolq:model=hf-internal-testing/tiny-random-MistralForCausalLM --enable-huggingface-models hf-internal-testing/tiny-random-MistralForCausalLM --suite v1 --max-eval-instances 10 --openvino\n\n  test:\n    name: Run all tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - name: Clear free space\n        run: |\n            sudo rm -rf /opt/ghc\n            df -h\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      # Installs dependencies and performs static code checks\n      - run: python3 -m pip install virtualenv && python3 -m virtualenv -p python3 venv\n      - run: source venv/bin/activate && ./install-dev.sh\n      - run: source venv/bin/activate && ./pre-commit.sh\n      - name: Run tests\n        run: source venv/bin/activate && pytest --durations=20\n        env:\n          TEST: ${{ matrix.test }}\n          VERSION: ${{ github.head_ref || 'main' }}\n      - name: Run entire pipeline quickly without any data\n        # Checking RunSpecs with openai/davinci should be comprehensive enough\n        run: source venv/bin/activate && helm-run --suite test -m 100 --skip-instances --models-to-run openai/davinci --exit-on-error\n        ", "state": "active", "repository": "stanford-crfm/helm"}
{"mined_at": "2024-07-15T18:15:57.715439", "created_at": "2024-03-11T22:30:46+01:00", "updated_at": "2024-06-18T00:40:21+02:00", "name": "Scenario tests", "path": ".github/workflows/test_scenarios.yml", "contents": "name: Scenario tests\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'src/helm/benchmark/scenarios/test_*_scenario.py'\n  pull_request:\n    paths:\n      - 'src/helm/benchmark/scenarios/test_*_scenario.py'\n\njobs:\n  test:\n    name: Run scenario tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - name: Clear free space\n        run: |\n            sudo rm -rf /opt/ghc\n            df -h\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      # Installs dependencies and performs static code checks\n      - name: Install HELM \n        run: ./install-dev.sh && ./pre-commit.sh\n      - name: Run scenario tests\n        run: python3 -m pytest -m scenarios\n", "state": "active", "repository": "stanford-crfm/helm"}
{"mined_at": "2024-07-15T18:15:58.829272", "created_at": "2024-01-19T23:23:01+01:00", "updated_at": "2024-01-20T03:29:09+01:00", "name": "Update requirements.txt", "path": ".github/workflows/update-requirements.yml", "contents": "# This GitHub Actions workflow automatically updates the pinned versions\n# in requirements.txt for all Python dependencies (including transitive dependencies)\n# whenever setup.cfg is modified.\n\nname: Update requirements.txt\n\non:\n  push:\n    branches:\n      - \"main\"\n    paths:\n      - \"setup.cfg\"\n      - '.github/workflows/update-requirements.yml'\n\njobs:\n  update-requirements:\n    name: Update requirements.txt\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\"]\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      - name: Upgrade pip\n        run: pip install --upgrade pip\n      - name: Install PyTorch manually\n        # PyTorch has to be installed manually in a separate step with --no-cache-dir\n        # to avoid pip getting killed because PyTorch is too big\n        # See: https://stackoverflow.com/a/54329850\n        run: pip install torch==2.1.2 torchvision==0.16.2 --index-url https://download.pytorch.org/whl/cu121 --no-cache-dir\n      - name: Upgrade dependencies for Dependabot alerts\n        run: pip install -e .[all,dev] urllib3==1.26.18 requests==2.31.0 Jinja2==3.1.3 certifi==2024.2.2 aiohttp==3.9.3\n      - name: Verify dependencies\n        run: pip check\n      - name: Write header to requirements.txt\n        run: echo '# This file is automatically generated by GitHub Actions and contains pinned versions for all transitive Python dependencies. Do not modify this file!' > requirements.txt\n      - name: Write dependencies to requirements.txt\n        # grep is used to exclude dependencies installed in editable mode\n        # and dependencies installed from outside PyPI.\n        # sed is used to loosen the version matches for PyTorch\n        # so that any CUDA version matches.\n        run: pip freeze | grep -v -E \"( @ |^-e)\" | sed -E 's/==([A-Za-z0-9.]+)\\+[A-Za-z0-9.]+/~=\\1/' >> requirements.txt\n        # Need to manually run tests here because the pull request opened later will not\n        # run the test workflow.\n        #\n        # From https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow\n        #\n        #     ...events triggered by the GITHUB_TOKEN... will not create a new workflow run.\n        #     This prevents you from accidentally creating recursive workflow runs. For example,\n        #     if a workflow run pushes code using the repository's GITHUB_TOKEN, a new workflow\n        #     will not run even when the repository contains a workflow configured to run when\n        #     push events occur.\n      - name: Run linter\n        run: ./pre-commit.sh\n      - name: Run tests\n        run: pytest\n      - name: Run helm-run\n        run: helm-run --suite test --run-entries simple1:model=simple/model1 --max-eval-instances 10 --exit-on-error\n      - name: Create pull request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          commit-message: Update requirements.txt\n          title: \"Update requirements.txt\"\n          branch: actions/update-requirements\n          delete-branch: true\n          body: Auto-generated from GitHub Actions.\n", "state": "active", "repository": "stanford-crfm/helm"}
{"mined_at": "2024-07-15T18:16:01.095798", "created_at": "2023-06-14T20:01:25+02:00", "updated_at": "2024-05-17T20:24:39+02:00", "name": "Cargo Publish", "path": ".github/workflows/cargo-publish.yml", "contents": "name: Cargo Publish\n\non:\n  push:\n    tags-ignore:\n      # We don't publish pre-releases for Rust. Crates.io is just a source\n      # distribution, so we don't need to publish pre-releases.\n      - 'v*-beta*'\n      - '*-v*' # for example, python-vX.Y.Z\n\nenv:\n  # This env var is used by Swatinem/rust-cache@v2 for the cache\n  # key, so we set it to make sure it is always consistent.\n  CARGO_TERM_COLOR: always\n  # Up-to-date compilers needed for fp16kernels.\n  CC: gcc-12\n  CXX: g++-12\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n    timeout-minutes: 30\n    # Only runs on tags that matches the make-release action\n    if: startsWith(github.ref, 'refs/tags/v')\n    steps:\n      - uses: actions/checkout@v4\n      - uses: Swatinem/rust-cache@v2\n        with:\n          workspaces: rust\n      - name: Install dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y protobuf-compiler libssl-dev\n      - name: Publish the package\n        run: |\n          cargo publish -p lancedb --all-features --token ${{ secrets.CARGO_REGISTRY_TOKEN }}\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:02.425964", "created_at": "2024-05-13T19:25:57+02:00", "updated_at": "2024-05-13T19:25:57+02:00", "name": "PR Checks", "path": ".github/workflows/dev.yml", "contents": "name: PR Checks\n\non:\n  pull_request_target:\n    types: [opened, edited, synchronize, reopened]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  labeler:\n    permissions:\n      pull-requests: write\n    name: Label PR\n    runs-on: ubuntu-latest\n    steps:\n      - uses: srvaroa/labeler@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  commitlint:\n    permissions:\n      pull-requests: write\n    name: Verify PR title / description conforms to semantic-release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"18\"\n      # These rules are disabled because Github will always ensure there\n      # is a blank line between the title and the body and Github will\n      # word wrap the description field to ensure a reasonable max line\n      # length.\n      - run: npm install @commitlint/config-conventional\n      - run: >\n          echo 'module.exports = {\n            \"rules\": {\n              \"body-max-line-length\": [0, \"always\", Infinity],\n              \"footer-max-line-length\": [0, \"always\", Infinity],\n              \"body-leading-blank\": [0, \"always\"]\n            }\n          }' > .commitlintrc.js\n      - run: npx commitlint --extends @commitlint/config-conventional --verbose <<< $COMMIT_MSG\n        env:\n          COMMIT_MSG: >\n            ${{ github.event.pull_request.title }}\n\n            ${{ github.event.pull_request.body }}\n      - if: failure()\n        uses: actions/github-script@v6\n        with:\n          script: |\n            const message = `**ACTION NEEDED**\n              \n              Lance follows the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) for release automation.\n\n              The PR title and description are used as the merge commit message.\\\n              Please update your PR title and description to match the specification.\n\n              For details on the error please inspect the \"PR Title Check\" action.\n              `\n            // Get list of current comments\n            const comments = await github.paginate(github.rest.issues.listComments, {\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: context.issue.number\n            });\n            // Check if this job already commented\n            for (const comment of comments) {\n              if (comment.body === message) {\n                return // Already commented\n              }\n            }\n            // Post the comment about Conventional Commits\n            github.rest.issues.createComment({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: context.issue.number,\n              body: message\n            })\n            core.setFailed(message)\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:03.539989", "created_at": "2023-06-15T02:58:58+02:00", "updated_at": "2023-06-15T02:58:58+02:00", "name": ".github/workflows/docs-test.yml", "path": ".github/workflows/docs-test.yml", "contents": null, "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:04.683880", "created_at": "2023-03-23T02:45:57+01:00", "updated_at": "2023-07-04T02:04:24+02:00", "name": "Deploy docs to Pages", "path": ".github/workflows/docs.yml", "contents": "name: Deploy docs to Pages\n\non:\n  push:\n    branches: [\"main\"]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow one concurrent deployment\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: true\n\njobs:\n  # Single deploy job since we're just deploying\n  build:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: buildjet-8vcpu-ubuntu-2204\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install dependecies needed for ubuntu\n        run: |\n          sudo apt install -y protobuf-compiler libssl-dev\n          rustup update && rustup default        \n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n          cache-dependency-path: \"docs/requirements.txt\"\n      - name: Build Python\n        working-directory: python\n        run: |\n          python -m pip install -e .\n          python -m pip install -r ../docs/requirements.txt\n      - name: Set up node\n        uses: actions/setup-node@v3\n        with:\n          node-version: 20\n          cache: 'npm'\n          cache-dependency-path: node/package-lock.json\n      - uses: Swatinem/rust-cache@v2\n      - name: Install node dependencies\n        working-directory: node\n        run: |\n          sudo apt update\n          sudo apt install -y protobuf-compiler libssl-dev\n      - name: Build node\n        working-directory: node\n        run: |\n          npm ci\n          npm run build\n          npm run tsc\n      - name: Create markdown files\n        working-directory: node\n        run: |\n          npx typedoc --plugin typedoc-plugin-markdown --out ../docs/src/javascript src/index.ts\n      - name: Build docs\n        working-directory: docs\n        run: |\n          PYTHONPATH=. mkdocs build\n      - name: Setup Pages\n        uses: actions/configure-pages@v2\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: \"docs/site\"\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v1\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:05.743511", "created_at": "2023-06-15T22:59:06+02:00", "updated_at": "2023-06-28T20:07:30+02:00", "name": "Documentation Code Testing", "path": ".github/workflows/docs_test.yml", "contents": "name: Documentation Code Testing\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - docs/**\n      - .github/workflows/docs_test.yml\n  pull_request:\n    paths:\n      - docs/**\n      - .github/workflows/docs_test.yml\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nenv:\n  # Disable full debug symbol generation to speed up CI build and keep memory down\n  # \"1\" means line tables only, which is useful for panic tracebacks.\n  RUSTFLAGS: \"-C debuginfo=1 -C target-cpu=haswell -C target-feature=+f16c,+avx2,+fma\"\n  RUST_BACKTRACE: \"1\"\n\njobs:\n  test-python:\n    name: Test doc python code\n    runs-on: \"buildjet-8vcpu-ubuntu-2204\"\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Print CPU capabilities\n      run: cat /proc/cpuinfo\n    - name: Install dependecies needed for ubuntu\n      run: |\n        sudo apt install -y protobuf-compiler libssl-dev\n        rustup update && rustup default\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n        cache: \"pip\"\n        cache-dependency-path: \"docs/test/requirements.txt\"\n    - name: Rust cache\n      uses: swatinem/rust-cache@v2\n    - name: Build Python\n      working-directory: docs/test\n      run:\n        python -m pip install -r requirements.txt\n    - name: Create test files\n      run: |\n        cd docs/test\n        python md_testing.py\n    - name: Test\n      run: |\n        cd docs/test/python\n        for d in *; do cd \"$d\"; echo \"$d\".py; python \"$d\".py; cd ..; done\n  test-node:\n    name: Test doc nodejs code\n    runs-on: \"buildjet-8vcpu-ubuntu-2204\"\n    timeout-minutes: 60\n    strategy:\n      fail-fast: false\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        lfs: true\n    - name: Print CPU capabilities\n      run: cat /proc/cpuinfo\n    - name: Set up Node\n      uses: actions/setup-node@v4\n      with:\n        node-version: 20\n    - name: Install dependecies needed for ubuntu\n      run: |\n        sudo apt install -y protobuf-compiler libssl-dev\n        rustup update && rustup default\n    - name: Rust cache\n      uses: swatinem/rust-cache@v2\n    - name: Install node dependencies\n      run: |\n        sudo swapoff -a\n        sudo fallocate -l 8G /swapfile\n        sudo chmod 600 /swapfile\n        sudo mkswap /swapfile\n        sudo swapon /swapfile\n        sudo swapon --show\n        cd node\n        npm ci\n        npm run build-release\n        cd ../docs\n        npm install\n    - name: Test\n      env:\n        LANCEDB_URI: ${{ secrets.LANCEDB_URI }}\n        LANCEDB_DEV_API_KEY: ${{ secrets.LANCEDB_DEV_API_KEY }}\n      run: |\n        cd docs\n        npm t\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:06.931827", "created_at": "2024-05-08T17:43:03+02:00", "updated_at": "2024-05-24T20:49:13+02:00", "name": "Build and Run Java JNI Tests", "path": ".github/workflows/java.yml", "contents": "name: Build and Run Java JNI Tests\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    paths:\n      - java/**\n      - rust/**\n      - .github/workflows/java.yml\nenv:\n  # This env var is used by Swatinem/rust-cache@v2 for the cache\n  # key, so we set it to make sure it is always consistent.\n  CARGO_TERM_COLOR: always\n  # Disable full debug symbol generation to speed up CI build and keep memory down\n  # \"1\" means line tables only, which is useful for panic tracebacks.\n  RUSTFLAGS: \"-C debuginfo=1\"\n  RUST_BACKTRACE: \"1\"\n  # according to: https://matklad.github.io/2021/09/04/fast-rust-builds.html\n  # CI builds are faster with incremental disabled.\n  CARGO_INCREMENTAL: \"0\"\n  CARGO_BUILD_JOBS: \"1\"\njobs:\n  linux-build:\n    runs-on: ubuntu-22.04\n    name: ubuntu-22.04 + Java 11 & 17\n    defaults:\n      run:\n        working-directory: ./java\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - uses: Swatinem/rust-cache@v2\n        with:\n          workspaces: java/core/lancedb-jni\n      - name: Run cargo fmt\n        run: cargo fmt --check\n        working-directory: ./java/core/lancedb-jni\n      - name: Install dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y protobuf-compiler libssl-dev\n      - name: Install Java 17\n        uses: actions/setup-java@v4\n        with:\n          distribution: temurin\n          java-version: 17\n          cache: \"maven\"\n      - run: echo \"JAVA_17=$JAVA_HOME\" >> $GITHUB_ENV\n      - name: Install Java 11\n        uses: actions/setup-java@v4\n        with:\n          distribution: temurin\n          java-version: 11\n          cache: \"maven\"\n      - name: Java Style Check\n        run: mvn checkstyle:check\n      # Disable because of issues in lancedb rust core code\n      # - name: Rust Clippy\n      #   working-directory: java/core/lancedb-jni\n      #   run: cargo clippy --all-targets -- -D warnings\n      - name: Running tests with Java 11\n        run: mvn clean test\n      - name: Running tests with Java 17\n        run: |\n          export JAVA_TOOL_OPTIONS=\"$JAVA_TOOL_OPTIONS \\\n          -XX:+IgnoreUnrecognizedVMOptions \\\n          --add-opens=java.base/java.lang=ALL-UNNAMED \\\n          --add-opens=java.base/java.lang.invoke=ALL-UNNAMED \\\n          --add-opens=java.base/java.lang.reflect=ALL-UNNAMED \\\n          --add-opens=java.base/java.io=ALL-UNNAMED \\\n          --add-opens=java.base/java.net=ALL-UNNAMED \\\n          --add-opens=java.base/java.nio=ALL-UNNAMED \\\n          --add-opens=java.base/java.util=ALL-UNNAMED \\\n          --add-opens=java.base/java.util.concurrent=ALL-UNNAMED \\\n          --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED \\\n          --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED \\\n          --add-opens=java.base/sun.nio.ch=ALL-UNNAMED \\\n          --add-opens=java.base/sun.nio.cs=ALL-UNNAMED \\\n          --add-opens=java.base/sun.security.action=ALL-UNNAMED \\\n          --add-opens=java.base/sun.util.calendar=ALL-UNNAMED \\\n          --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED \\\n          -Djdk.reflect.useDirectMethodHandle=false \\\n          -Dio.netty.tryReflectionSetAccessible=true\"\n          JAVA_HOME=$JAVA_17 mvn clean test\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:07.952050", "created_at": "2023-06-14T20:01:04+02:00", "updated_at": "2023-06-14T20:01:04+02:00", "name": "Create release commit", "path": ".github/workflows/make-release-commit.yml", "contents": "name: Create release commit\n\n# This workflow increments versions, tags the version, and pushes it.\n# When a tag is pushed, another workflow is triggered that creates a GH release\n# and uploads the binaries. This workflow is only for creating the tag.\n\n# This script will enforce that a minor version is incremented if there are any\n# breaking changes since the last minor increment. However, it isn't able to\n# differentiate between breaking changes in Node versus Python. If you wish to\n# bypass this check, you can manually increment the version and push the tag.\non:\n  workflow_dispatch:\n    inputs:\n      dry_run:\n        description: 'Dry run (create the local commit/tags but do not push it)'\n        required: true\n        default: false\n        type: boolean\n      type:\n        description: 'What kind of release is this?'\n        required: true\n        default: 'preview'\n        type: choice\n        options:\n          - preview\n          - stable\n      python:\n        description: 'Make a Python release'\n        required: true\n        default: true\n        type: boolean\n      other:\n        description: 'Make a Node/Rust release'\n        required: true\n        default: true\n        type: boolean\n      bump-minor:\n        description: 'Bump minor version'\n        required: true\n        default: false\n        type: boolean\n\njobs:\n  make-release:\n    # Creates tag and GH release. The GH release will trigger the build and release jobs.\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: Output Inputs\n        run: echo \"${{ toJSON(github.event.inputs) }}\"\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n          # It's important we use our token here, as the default token will NOT\n          # trigger any workflows watching for new tags. See:\n          # https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow\n          token: ${{ secrets.LANCEDB_RELEASE_TOKEN }}\n      - name: Set git configs for bumpversion\n        shell: bash\n        run: |\n          git config user.name 'Lance Release'\n          git config user.email 'lance-dev@lancedb.com'\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Bump Python version\n        if: ${{ inputs.python }}\n        working-directory: python\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          # Need to get the commit before bumping the version, so we can\n          # determine if there are breaking changes in the next step as well.\n          echo \"COMMIT_BEFORE_BUMP=$(git rev-parse HEAD)\" >> $GITHUB_ENV\n\n          pip install bump-my-version PyGithub packaging\n          bash ../ci/bump_version.sh ${{ inputs.type }} ${{ inputs.bump-minor }} python-v\n      - name: Bump Node/Rust version\n        if: ${{ inputs.other }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |\n          pip install bump-my-version PyGithub packaging\n          bash ci/bump_version.sh ${{ inputs.type }} ${{ inputs.bump-minor }} v $COMMIT_BEFORE_BUMP\n      - name: Push new version tag\n        if: ${{ !inputs.dry_run }}\n        uses: ad-m/github-push-action@master\n        with:\n          # Need to use PAT here too to trigger next workflow. See comment above.\n          github_token: ${{ secrets.LANCEDB_RELEASE_TOKEN }}\n          branch: ${{ github.ref }}\n          tags: true\n      - uses: ./.github/workflows/update_package_lock\n        if: ${{ !inputs.dry_run && inputs.other }}\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:09.007174", "created_at": "2023-05-22T20:59:36+02:00", "updated_at": "2023-05-22T23:26:09+02:00", "name": "Node", "path": ".github/workflows/node.yml", "contents": "name: Node\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    paths:\n      - node/**\n      - rust/ffi/node/**\n      - .github/workflows/node.yml\n      - docker-compose.yml\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  # Disable full debug symbol generation to speed up CI build and keep memory down\n  # \"1\" means line tables only, which is useful for panic tracebacks.\n  #\n  # Use native CPU to accelerate tests if possible, especially for f16\n  # target-cpu=haswell fixes failing ci build\n  RUSTFLAGS: \"-C debuginfo=1 -C target-cpu=haswell -C target-feature=+f16c,+avx2,+fma\"\n  RUST_BACKTRACE: \"1\"\n\njobs:\n  linux:\n    name: Linux (Node ${{ matrix.node-version }})\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        node-version: [ \"18\", \"20\" ]\n    runs-on: \"ubuntu-22.04\"\n    defaults:\n      run:\n        shell: bash\n        working-directory: node\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        lfs: true\n    - uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n        cache: 'npm'\n        cache-dependency-path: node/package-lock.json\n    - uses: Swatinem/rust-cache@v2\n    - name: Install dependencies\n      run: |\n        sudo apt update\n        sudo apt install -y protobuf-compiler libssl-dev\n    - name: Build\n      run: |\n        npm ci\n        npm run build\n        npm run pack-build\n        npm install --no-save ./dist/lancedb-vectordb-*.tgz\n        # Remove index.node to test with dependency installed\n        rm index.node\n    - name: Test\n      run: npm run test\n  macos:\n    timeout-minutes: 30\n    runs-on: \"macos-13\"\n    defaults:\n      run:\n        shell: bash\n        working-directory: node\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        lfs: true\n    - uses: actions/setup-node@v3\n      with:\n        node-version: 20\n        cache: 'npm'\n        cache-dependency-path: node/package-lock.json\n    - uses: Swatinem/rust-cache@v2\n    - name: Install dependencies\n      run: brew install protobuf\n    - name: Build\n      run: |\n        npm ci\n        npm run build\n        npm run pack-build\n        npm install --no-save ./dist/lancedb-vectordb-*.tgz\n        # Remove index.node to test with dependency installed\n        rm index.node\n    - name: Test\n      run: |\n        npm run test\n  aws-integtest:\n    timeout-minutes: 45\n    runs-on: \"ubuntu-22.04\"\n    defaults:\n      run:\n        shell: bash\n        working-directory: node\n    env:\n      AWS_ACCESS_KEY_ID: ACCESSKEY\n      AWS_SECRET_ACCESS_KEY: SECRETKEY\n      AWS_DEFAULT_REGION: us-west-2\n      # this one is for s3\n      AWS_ENDPOINT: http://localhost:4566\n      # this one is for dynamodb\n      DYNAMODB_ENDPOINT: http://localhost:4566\n      ALLOW_HTTP: true\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        lfs: true\n    - uses: actions/setup-node@v3\n      with:\n        node-version: 20\n        cache: 'npm'\n        cache-dependency-path: node/package-lock.json\n    - name: start local stack\n      run: docker compose -f ../docker-compose.yml up -d --wait\n    - name: create s3\n      run: aws s3 mb s3://lancedb-integtest --endpoint $AWS_ENDPOINT\n    - name: create ddb\n      run: |\n        aws dynamodb create-table \\\n          --table-name lancedb-integtest \\\n          --attribute-definitions '[{\"AttributeName\": \"base_uri\", \"AttributeType\": \"S\"}, {\"AttributeName\": \"version\", \"AttributeType\": \"N\"}]' \\\n          --key-schema '[{\"AttributeName\": \"base_uri\", \"KeyType\": \"HASH\"}, {\"AttributeName\": \"version\", \"KeyType\": \"RANGE\"}]' \\\n          --provisioned-throughput '{\"ReadCapacityUnits\": 10, \"WriteCapacityUnits\": 10}' \\\n          --endpoint-url $DYNAMODB_ENDPOINT\n    - uses: Swatinem/rust-cache@v2\n    - name: Install dependencies\n      run: |\n        sudo apt update\n        sudo apt install -y protobuf-compiler libssl-dev\n    - name: Build\n      run: |\n        npm ci\n        npm run build\n        npm run pack-build\n        npm install --no-save ./dist/lancedb-vectordb-*.tgz\n        # Remove index.node to test with dependency installed\n        rm index.node\n    - name: Test\n      run: npm run integration-test\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:10.118611", "created_at": "2024-01-23T06:09:09+01:00", "updated_at": "2024-01-24T00:14:47+01:00", "name": "NodeJS (NAPI)", "path": ".github/workflows/nodejs.yml", "contents": "name: NodeJS (NAPI)\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    paths:\n      - nodejs/**\n      - .github/workflows/nodejs.yml\n      - docker-compose.yml\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  # Disable full debug symbol generation to speed up CI build and keep memory down\n  # \"1\" means line tables only, which is useful for panic tracebacks.\n  RUSTFLAGS: \"-C debuginfo=1\"\n  RUST_BACKTRACE: \"1\"\n\njobs:\n  lint:\n    name: Lint\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash\n        working-directory: nodejs\n    env:\n      # Need up-to-date compilers for kernels\n      CC: gcc-12\n      CXX: g++-12\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        lfs: true\n    - uses: actions/setup-node@v3\n      with:\n        node-version: 20\n        cache: 'npm'\n        cache-dependency-path: nodejs/package-lock.json\n    - uses: Swatinem/rust-cache@v2\n    - name: Install dependencies\n      run: |\n        sudo apt update\n        sudo apt install -y protobuf-compiler libssl-dev\n    - name: Lint\n      run: |\n        cargo fmt --all -- --check\n        cargo clippy --all --all-features -- -D warnings\n        npm ci\n        npm run lint-ci\n  linux:\n    name: Linux (NodeJS ${{ matrix.node-version }})\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        node-version: [ \"18\", \"20\" ]\n    runs-on: \"ubuntu-22.04\"\n    defaults:\n      run:\n        shell: bash\n        working-directory: nodejs\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        lfs: true\n    - uses: actions/setup-node@v3\n      with:\n        node-version: ${{ matrix.node-version }}\n        cache: 'npm'\n        cache-dependency-path: node/package-lock.json\n    - uses: Swatinem/rust-cache@v2\n    - name: Install dependencies\n      run: |\n        sudo apt update\n        sudo apt install -y protobuf-compiler libssl-dev\n        npm install -g @napi-rs/cli\n    - name: Build\n      run: |\n        npm ci\n        npm run build\n    - name: Setup localstack\n      working-directory: .\n      run: docker compose up --detach --wait\n    - name: Test\n      env:\n        S3_TEST: \"1\"\n      run: npm run test\n  macos:\n    timeout-minutes: 30\n    runs-on: \"macos-14\"\n    defaults:\n      run:\n        shell: bash\n        working-directory: nodejs\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        lfs: true\n    - uses: actions/setup-node@v3\n      with:\n        node-version: 20\n        cache: 'npm'\n        cache-dependency-path: node/package-lock.json\n    - uses: Swatinem/rust-cache@v2\n    - name: Install dependencies\n      run: |\n        brew install protobuf\n        npm install -g @napi-rs/cli\n    - name: Build\n      run: |\n        npm ci\n        npm run build\n    - name: Test\n      run: |\n        npm run test\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:11.336646", "created_at": "2023-06-16T01:15:45+02:00", "updated_at": "2023-07-13T01:52:07+02:00", "name": "NPM Publish", "path": ".github/workflows/npm-publish.yml", "contents": "name: NPM Publish\n\non:\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  node:\n    runs-on: ubuntu-latest\n    # Only runs on tags that matches the make-release action\n    if: startsWith(github.ref, 'refs/tags/v')\n    defaults:\n      run:\n        shell: bash\n        working-directory: node\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 20\n          cache: \"npm\"\n          cache-dependency-path: node/package-lock.json\n      - name: Install dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y protobuf-compiler libssl-dev\n      - name: Build\n        run: |\n          npm ci\n          npm run tsc\n          npm pack\n      - name: Upload Linux Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: node-package\n          path: |\n            node/vectordb-*.tgz\n\n  node-macos:\n    strategy:\n      matrix:\n        config:\n          - arch: x86_64-apple-darwin\n            runner: macos-13\n          - arch: aarch64-apple-darwin\n            # xlarge is implicitly arm64.\n            runner: macos-14\n    runs-on: ${{ matrix.config.runner }}\n    # Only runs on tags that matches the make-release action\n    if: startsWith(github.ref, 'refs/tags/v')\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install system dependencies\n        run: brew install protobuf\n      - name: Install npm dependencies\n        run: |\n          cd node\n          npm ci\n      - name: Build MacOS native node modules\n        run: bash ci/build_macos_artifacts.sh ${{ matrix.config.arch }}\n      - name: Upload Darwin Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: node-native-darwin-${{ matrix.config.arch }}\n          path: |\n            node/dist/lancedb-vectordb-darwin*.tgz\n\n  nodejs-macos:\n    strategy:\n      matrix:\n        config:\n          - arch: x86_64-apple-darwin\n            runner: macos-13\n          - arch: aarch64-apple-darwin\n            # xlarge is implicitly arm64.\n            runner: macos-14\n    runs-on: ${{ matrix.config.runner }}\n    # Only runs on tags that matches the make-release action\n    if: startsWith(github.ref, 'refs/tags/v')\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install system dependencies\n        run: brew install protobuf\n      - name: Install npm dependencies\n        run: |\n          cd nodejs\n          npm ci\n      - name: Build MacOS native nodejs modules\n        run: bash ci/build_macos_artifacts_nodejs.sh ${{ matrix.config.arch }}\n      - name: Upload Darwin Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: nodejs-native-darwin-${{ matrix.config.arch }}\n          path: |\n            nodejs/dist/*.node\n\n  node-linux:\n    name: node-linux (${{ matrix.config.arch}}-unknown-linux-gnu\n    runs-on: ${{ matrix.config.runner }}\n    # Only runs on tags that matches the make-release action\n    if: startsWith(github.ref, 'refs/tags/v')\n    strategy:\n      fail-fast: false\n      matrix:\n        config:\n          - arch: x86_64\n            runner: ubuntu-latest\n          - arch: aarch64\n            # For successful fat LTO builds, we need a large runner to avoid OOM errors.\n            runner: warp-ubuntu-latest-arm64-4x\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      # To avoid OOM errors on ARM, we create a swap file.\n      - name: Configure aarch64 build\n        if: ${{ matrix.config.arch == 'aarch64' }}\n        run: |\n          free -h\n          sudo fallocate -l 16G /swapfile\n          sudo chmod 600 /swapfile\n          sudo mkswap /swapfile\n          sudo swapon /swapfile\n          echo \"/swapfile swap swap defaults 0 0\" >> sudo /etc/fstab\n          # print info\n          swapon --show\n          free -h\n      - name: Build Linux Artifacts\n        run: |\n          bash ci/build_linux_artifacts.sh ${{ matrix.config.arch }}\n      - name: Upload Linux Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: node-native-linux-${{ matrix.config.arch }}\n          path: |\n            node/dist/lancedb-vectordb-linux*.tgz\n\n  nodejs-linux:\n    name: nodejs-linux (${{ matrix.config.arch}}-unknown-linux-gnu\n    runs-on: ${{ matrix.config.runner }}\n    # Only runs on tags that matches the make-release action\n    if: startsWith(github.ref, 'refs/tags/v')\n    strategy:\n      fail-fast: false\n      matrix:\n        config:\n          - arch: x86_64\n            runner: ubuntu-latest\n          - arch: aarch64\n            # For successful fat LTO builds, we need a large runner to avoid OOM errors.\n            runner: buildjet-16vcpu-ubuntu-2204-arm\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      # Buildjet aarch64 runners have only 1.5 GB RAM per core, vs 3.5 GB per core for\n      # x86_64 runners. To avoid OOM errors on ARM, we create a swap file.\n      - name: Configure aarch64 build\n        if: ${{ matrix.config.arch == 'aarch64' }}\n        run: |\n          free -h\n          sudo fallocate -l 16G /swapfile\n          sudo chmod 600 /swapfile\n          sudo mkswap /swapfile\n          sudo swapon /swapfile\n          echo \"/swapfile swap swap defaults 0 0\" >> sudo /etc/fstab\n          # print info\n          swapon --show\n          free -h\n      - name: Build Linux Artifacts\n        run: |\n          bash ci/build_linux_artifacts_nodejs.sh ${{ matrix.config.arch }}\n      - name: Upload Linux Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: nodejs-native-linux-${{ matrix.config.arch }}\n          path: |\n            nodejs/dist/*.node\n      # The generic files are the same in all distros so we just pick\n      # one to do the upload.\n      - name: Upload Generic Artifacts\n        if: ${{ matrix.config.arch == 'x86_64' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: nodejs-dist\n          path: |\n            nodejs/dist/*\n            !nodejs/dist/*.node\n\n  node-windows:\n    runs-on: windows-2022\n    # Only runs on tags that matches the make-release action\n    if: startsWith(github.ref, 'refs/tags/v')\n    strategy:\n      fail-fast: false\n      matrix:\n        target: [x86_64-pc-windows-msvc]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install Protoc v21.12\n        working-directory: C:\\\n        run: |\n          New-Item -Path 'C:\\protoc' -ItemType Directory\n          Set-Location C:\\protoc\n          Invoke-WebRequest https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-win64.zip -OutFile C:\\protoc\\protoc.zip\n          7z x protoc.zip\n          Add-Content $env:GITHUB_PATH \"C:\\protoc\\bin\"\n        shell: powershell\n      - name: Install npm dependencies\n        run: |\n          cd node\n          npm ci\n      - name: Build Windows native node modules\n        run: .\\ci\\build_windows_artifacts.ps1 ${{ matrix.target }}\n      - name: Upload Windows Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: node-native-windows\n          path: |\n            node/dist/lancedb-vectordb-win32*.tgz\n\n  nodejs-windows:\n    runs-on: windows-2022\n    # Only runs on tags that matches the make-release action\n    if: startsWith(github.ref, 'refs/tags/v')\n    strategy:\n      fail-fast: false\n      matrix:\n        target: [x86_64-pc-windows-msvc]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install Protoc v21.12\n        working-directory: C:\\\n        run: |\n          New-Item -Path 'C:\\protoc' -ItemType Directory\n          Set-Location C:\\protoc\n          Invoke-WebRequest https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-win64.zip -OutFile C:\\protoc\\protoc.zip\n          7z x protoc.zip\n          Add-Content $env:GITHUB_PATH \"C:\\protoc\\bin\"\n        shell: powershell\n      - name: Install npm dependencies\n        run: |\n          cd nodejs\n          npm ci\n      - name: Build Windows native node modules\n        run: .\\ci\\build_windows_artifacts_nodejs.ps1 ${{ matrix.target }}\n      - name: Upload Windows Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: nodejs-native-windows\n          path: |\n            nodejs/dist/*.node\n\n  release:\n    needs: [node, node-macos, node-linux, node-windows]\n    runs-on: ubuntu-latest\n    # Only runs on tags that matches the make-release action\n    if: startsWith(github.ref, 'refs/tags/v')\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          pattern: node-*\n      - name: Display structure of downloaded files\n        run: ls -R\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 20\n          registry-url: \"https://registry.npmjs.org\"\n      - name: Publish to NPM\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.LANCEDB_NPM_REGISTRY_TOKEN }}\n        run: |\n          # Tag beta as \"preview\" instead of default \"latest\". See lancedb \n          # npm publish step for more info.\n          if [[ $GITHUB_REF =~ refs/tags/v(.*)-beta.* ]]; then\n            PUBLISH_ARGS=\"--tag preview\"\n          fi\n\n          mv */*.tgz .\n          for filename in *.tgz; do\n            npm publish $PUBLISH_ARGS $filename\n          done\n\n  release-nodejs:\n    needs: [nodejs-macos, nodejs-linux, nodejs-windows]\n    runs-on: ubuntu-latest\n    # Only runs on tags that matches the make-release action\n    if: startsWith(github.ref, 'refs/tags/v')\n    defaults:\n      run:\n        shell: bash\n        working-directory: nodejs\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - uses: actions/download-artifact@v4\n        with:\n          name: nodejs-dist\n          path: nodejs/dist\n      - uses: actions/download-artifact@v4\n        name: Download arch-specific binaries\n        with:\n          pattern: nodejs-*\n          path: nodejs/nodejs-artifacts\n          merge-multiple: true\n      - name: Display structure of downloaded files\n        run: find .\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 20\n          registry-url: \"https://registry.npmjs.org\"\n      - name: Install napi-rs\n        run: npm install -g @napi-rs/cli\n      - name: Prepare artifacts\n        run: npx napi artifacts -d nodejs-artifacts\n      - name: Display structure of staged files\n        run: find npm\n      - name: Publish to NPM\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.LANCEDB_NPM_REGISTRY_TOKEN }}\n        # By default, things are published to the latest tag. This is what is\n        # installed by default if the user does not specify a version. This is\n        # good for stable releases, but for pre-releases, we want to publish to\n        # the \"preview\" tag so they can install with `npm install lancedb@preview`.\n        # See: https://medium.com/@mbostock/prereleases-and-npm-e778fc5e2420\n        run: |\n          if [[ $GITHUB_REF =~ refs/tags/v(.*)-beta.* ]]; then\n            npm publish --access public --tag preview\n          else\n            npm publish --access public\n          fi\n\n  update-package-lock:\n    needs: [release]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: main\n          persist-credentials: false\n          fetch-depth: 0\n          lfs: true\n      - uses: ./.github/workflows/update_package_lock\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n\n  update-package-lock-nodejs:\n    needs: [release-nodejs]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: main\n          persist-credentials: false\n          fetch-depth: 0\n          lfs: true\n      - uses: ./.github/workflows/update_package_lock_nodejs\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n\n  gh-release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - name: Extract version\n        id: extract_version\n        env:\n          GITHUB_REF: ${{ github.ref }}\n        run: |\n          set -e\n          echo \"Extracting tag and version from $GITHUB_REF\"\n          if [[ $GITHUB_REF =~ refs/tags/v(.*) ]]; then\n            VERSION=${BASH_REMATCH[1]}\n            TAG=v$VERSION\n            echo \"tag=$TAG\" >> $GITHUB_OUTPUT\n            echo \"version=$VERSION\" >> $GITHUB_OUTPUT\n          else\n            echo \"Failed to extract version from $GITHUB_REF\"\n            exit 1\n          fi\n          echo \"Extracted version $VERSION from $GITHUB_REF\"\n          if [[ $VERSION =~ beta ]]; then\n            echo \"This is a beta release\"\n\n            # Get last release (that is not this one)\n            FROM_TAG=$(git tag --sort='version:refname' \\\n              | grep ^v \\\n              | grep -vF \"$TAG\" \\\n              | python ci/semver_sort.py v \\\n              | tail -n 1)\n          else\n            echo \"This is a stable release\"\n            # Get last stable tag (ignore betas)\n            FROM_TAG=$(git tag --sort='version:refname' \\\n              | grep ^v \\\n              | grep -vF \"$TAG\" \\\n              | grep -v beta \\\n              | python ci/semver_sort.py v \\\n              | tail -n 1)\n          fi\n          echo \"Found from tag $FROM_TAG\"\n          echo \"from_tag=$FROM_TAG\" >> $GITHUB_OUTPUT\n      - name: Create Release Notes\n        id: release_notes\n        uses: mikepenz/release-changelog-builder-action@v4\n        with:\n          configuration: .github/release_notes.json\n          toTag: ${{ steps.extract_version.outputs.tag }}\n          fromTag: ${{ steps.extract_version.outputs.from_tag }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Create GH release\n        uses: softprops/action-gh-release@v2\n        with:\n          prerelease: ${{ contains('beta', github.ref) }}\n          tag_name: ${{ steps.extract_version.outputs.tag }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          generate_release_notes: false\n          name: Node/Rust LanceDB v${{ steps.extract_version.outputs.version }}\n          body: ${{ steps.release_notes.outputs.changelog }}\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:12.461413", "created_at": "2023-06-12T23:54:57+02:00", "updated_at": "2023-06-12T23:54:57+02:00", "name": "PyPI Publish", "path": ".github/workflows/pypi-publish.yml", "contents": "name: PyPI Publish\n\non:\n  push:\n    tags:\n      - 'python-v*'\n\njobs:\n  linux:\n    name: Python ${{ matrix.config.platform }} manylinux${{ matrix.config.manylinux }}\n    timeout-minutes: 60\n    strategy:\n      matrix:\n        config:\n          - platform: x86_64\n            manylinux: \"2_17\"\n            extra_args: \"\"\n          - platform: x86_64\n            manylinux: \"2_28\"\n            extra_args: \"--features fp16kernels\"\n          - platform: aarch64\n            manylinux: \"2_24\"\n            extra_args: \"\"\n          # We don't build fp16 kernels for aarch64, because it uses \n          # cross compilation image, which doesn't have a new enough compiler.\n    runs-on: \"ubuntu-22.04\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - uses: ./.github/workflows/build_linux_wheel\n        with:\n          python-minor-version: 8\n          args: \"--release --strip ${{ matrix.config.extra_args }}\"\n          arm-build: ${{ matrix.config.platform == 'aarch64' }}\n          manylinux: ${{ matrix.config.manylinux }}\n      - uses: ./.github/workflows/upload_wheel\n        with:\n          pypi_token: ${{ secrets.LANCEDB_PYPI_API_TOKEN }}\n          fury_token: ${{ secrets.FURY_TOKEN }}\n  mac:\n    timeout-minutes: 60\n    runs-on: ${{ matrix.config.runner }}\n    strategy:\n      matrix:\n        config:\n          - target: x86_64-apple-darwin\n            runner: macos-13\n          - target: aarch64-apple-darwin\n            runner: macos-14\n    env:\n      MACOSX_DEPLOYMENT_TARGET: 10.15\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.12\n      - uses: ./.github/workflows/build_mac_wheel\n        with:\n          python-minor-version: 8\n          args: \"--release --strip --target ${{ matrix.config.target }} --features fp16kernels\"\n      - uses: ./.github/workflows/upload_wheel\n        with:\n          pypi_token: ${{ secrets.LANCEDB_PYPI_API_TOKEN }}\n          fury_token: ${{ secrets.FURY_TOKEN }}\n  windows:\n    timeout-minutes: 60\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - uses: ./.github/workflows/build_windows_wheel\n        with:\n          python-minor-version: 8\n          args: \"--release --strip\"\n          vcpkg_token: ${{ secrets.VCPKG_GITHUB_PACKAGES }}\n      - uses: ./.github/workflows/upload_wheel\n        with:\n          pypi_token: ${{ secrets.LANCEDB_PYPI_API_TOKEN }}\n          fury_token: ${{ secrets.FURY_TOKEN }}\n  gh-release:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - name: Extract version\n        id: extract_version\n        env:\n          GITHUB_REF: ${{ github.ref }}\n        run: |\n          set -e\n          echo \"Extracting tag and version from $GITHUB_REF\"\n          if [[ $GITHUB_REF =~ refs/tags/python-v(.*) ]]; then\n            VERSION=${BASH_REMATCH[1]}\n            TAG=python-v$VERSION\n            echo \"tag=$TAG\" >> $GITHUB_OUTPUT\n            echo \"version=$VERSION\" >> $GITHUB_OUTPUT\n          else\n            echo \"Failed to extract version from $GITHUB_REF\"\n            exit 1\n          fi\n          echo \"Extracted version $VERSION from $GITHUB_REF\"\n          if [[ $VERSION =~ beta ]]; then\n            echo \"This is a beta release\"\n\n            # Get last release (that is not this one)\n            FROM_TAG=$(git tag --sort='version:refname' \\\n              | grep ^python-v \\\n              | grep -vF \"$TAG\" \\\n              | python ci/semver_sort.py python-v \\\n              | tail -n 1)\n          else\n            echo \"This is a stable release\"\n            # Get last stable tag (ignore betas)\n            FROM_TAG=$(git tag --sort='version:refname' \\\n              | grep ^python-v \\\n              | grep -vF \"$TAG\" \\\n              | grep -v beta \\\n              | python ci/semver_sort.py python-v \\\n              | tail -n 1)\n          fi\n          echo \"Found from tag $FROM_TAG\"\n          echo \"from_tag=$FROM_TAG\" >> $GITHUB_OUTPUT\n      - name: Create Python Release Notes\n        id: python_release_notes\n        uses: mikepenz/release-changelog-builder-action@v4\n        with:\n          configuration: .github/release_notes.json\n          toTag: ${{ steps.extract_version.outputs.tag }}\n          fromTag: ${{ steps.extract_version.outputs.from_tag }}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Create Python GH release\n        uses: softprops/action-gh-release@v2\n        with:\n          prerelease: ${{ contains('beta', github.ref) }}\n          tag_name: ${{ steps.extract_version.outputs.tag }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          generate_release_notes: false\n          name: Python LanceDB v${{ steps.extract_version.outputs.version }}\n          body: ${{ steps.python_release_notes.outputs.changelog }}\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:13.692237", "created_at": "2023-03-22T22:28:46+01:00", "updated_at": "2024-03-04T01:11:57+01:00", "name": "Python", "path": ".github/workflows/python.yml", "contents": "name: Python\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    paths:\n      - python/**\n      - .github/workflows/python.yml\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  lint:\n    name: \"Lint\"\n    timeout-minutes: 30\n    runs-on: \"ubuntu-22.04\"\n    defaults:\n      run:\n        shell: bash\n        working-directory: python\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Install ruff\n        run: |\n          pip install ruff==0.2.2\n      - name: Format check\n        run: ruff format --check .\n      - name: Lint\n        run: ruff .\n  doctest:\n    name: \"Doctest\"\n    timeout-minutes: 30\n    runs-on: \"ubuntu-22.04\"\n    defaults:\n      run:\n        shell: bash\n        working-directory: python\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pip\"\n      - name: Install protobuf\n        run: |\n          sudo apt update\n          sudo apt install -y protobuf-compiler\n      - uses: Swatinem/rust-cache@v2\n        with:\n          workspaces: python\n      - name: Install\n        run: |\n          pip install --extra-index-url https://pypi.fury.io/lancedb/ -e .[tests,dev,embeddings]\n          pip install tantivy\n          pip install mlx\n      - name: Doctest\n        run: pytest --doctest-modules python/lancedb\n  linux:\n    name: \"Linux: python-3.${{ matrix.python-minor-version }}\"\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        python-minor-version: [\"9\", \"11\"]\n    runs-on: \"ubuntu-22.04\"\n    defaults:\n      run:\n        shell: bash\n        working-directory: python\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - name: Install protobuf\n        run: |\n          sudo apt update\n          sudo apt install -y protobuf-compiler\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.${{ matrix.python-minor-version }}\n      - uses: Swatinem/rust-cache@v2\n        with:\n          workspaces: python\n      - uses: ./.github/workflows/build_linux_wheel\n      - uses: ./.github/workflows/run_tests\n        with:\n          integration: true\n      # Make sure wheels are not included in the Rust cache\n      - name: Delete wheels\n        run: rm -rf target/wheels\n  platform:\n    name: \"Mac: ${{ matrix.config.name }}\"\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        config:\n          - name: x86\n            runner: macos-13\n          - name: Arm\n            runner: macos-14\n    runs-on: \"${{ matrix.config.runner }}\"\n    defaults:\n      run:\n        shell: bash\n        working-directory: python\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - uses: Swatinem/rust-cache@v2\n        with:\n          workspaces: python\n      - uses: ./.github/workflows/build_mac_wheel\n      - uses: ./.github/workflows/run_tests\n      # Make sure wheels are not included in the Rust cache\n      - name: Delete wheels\n        run: rm -rf target/wheels\n  windows:\n    name: \"Windows: ${{ matrix.config.name }}\"\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        config:\n          - name: x86\n            runner: windows-latest\n    runs-on: \"${{ matrix.config.runner }}\"\n    defaults:\n      run:\n        shell: bash\n        working-directory: python\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - uses: Swatinem/rust-cache@v2\n        with:\n          workspaces: python\n      - uses: ./.github/workflows/build_windows_wheel\n      - uses: ./.github/workflows/run_tests\n      # Make sure wheels are not included in the Rust cache\n      - name: Delete wheels\n        run: rm -rf target/wheels\n  pydantic1x:\n    timeout-minutes: 30\n    runs-on: \"ubuntu-22.04\"\n    defaults:\n      run:\n        shell: bash\n        working-directory: python\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: true\n      - name: Install dependencies\n        run: |\n          sudo apt update\n          sudo apt install -y protobuf-compiler\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install lancedb\n        run: |\n          pip install \"pydantic<2\"\n          pip install --extra-index-url https://pypi.fury.io/lancedb/ -e .[tests]\n          pip install tantivy\n      - name: Run tests\n        run: pytest -m \"not slow and not s3_test\" -x -v --durations=30 python/tests\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:14.812503", "created_at": "2023-05-24T03:45:09+02:00", "updated_at": "2023-06-02T02:03:45+02:00", "name": ".github/workflows/release.yml", "path": ".github/workflows/release.yml", "contents": null, "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:15.942729", "created_at": "2023-06-14T01:15:54+02:00", "updated_at": "2023-06-14T20:46:11+02:00", "name": "Rust", "path": ".github/workflows/rust.yml", "contents": "name: Rust\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    paths:\n      - Cargo.toml\n      - rust/**\n      - .github/workflows/rust.yml\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\nenv:\n  # This env var is used by Swatinem/rust-cache@v2 for the cache\n  # key, so we set it to make sure it is always consistent.\n  CARGO_TERM_COLOR: always\n  # Disable full debug symbol generation to speed up CI build and keep memory down\n  # \"1\" means line tables only, which is useful for panic tracebacks.\n  RUSTFLAGS: \"-C debuginfo=1\"\n  RUST_BACKTRACE: \"1\"\n\njobs:\n  lint:\n    timeout-minutes: 30\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash\n        working-directory: rust\n    env:\n      # Need up-to-date compilers for kernels\n      CC: gcc-12\n      CXX: g++-12\n    steps:\n    - uses: actions/checkout@v4\n      with:\n          fetch-depth: 0\n          lfs: true\n    - uses: Swatinem/rust-cache@v2\n      with:\n        workspaces: rust\n    - name: Install dependencies\n      run: |\n          sudo apt update\n          sudo apt install -y protobuf-compiler libssl-dev\n    - name: Run format\n      run: cargo fmt --all -- --check\n    - name: Run clippy\n      run: cargo clippy --all --all-features -- -D warnings\n  linux:\n    timeout-minutes: 30\n    runs-on: ubuntu-22.04\n    defaults:\n      run:\n        shell: bash\n        working-directory: rust\n    env:\n      # Need up-to-date compilers for kernels\n      CC: gcc-12\n      CXX: g++-12\n    steps:\n    - uses: actions/checkout@v4\n      with:\n          fetch-depth: 0\n          lfs: true\n    - uses: Swatinem/rust-cache@v2\n      with:\n          workspaces: rust\n    - name: Install dependencies\n      run: |\n          sudo apt update\n          sudo apt install -y protobuf-compiler libssl-dev\n    - name: Start S3 integration test environment\n      working-directory: .\n      run: docker compose up --detach --wait\n    - name: Build\n      run: cargo build --all-features\n    - name: Run tests\n      run: cargo test --all-features\n    - name: Run examples\n      run: cargo run --example simple\n  macos:\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        mac-runner: [ \"macos-13\", \"macos-14\" ]\n    runs-on: \"${{ matrix.mac-runner }}\"\n    defaults:\n      run:\n        shell: bash\n        working-directory: rust\n    steps:\n      - uses: actions/checkout@v4\n        with:\n            fetch-depth: 0\n            lfs: true\n      - name: CPU features\n        run: sysctl -a | grep cpu\n      - uses: Swatinem/rust-cache@v2\n        with:\n          workspaces: rust\n      - name: Install dependencies\n        run: brew install protobuf\n      - name: Build\n        run: cargo build --all-features\n      - name: Run tests\n        # Run with everything except the integration tests.\n        run: cargo test --features remote,fp16kernels\n  windows:\n    runs-on: windows-2022\n    steps:\n      - uses: actions/checkout@v4\n      - uses: Swatinem/rust-cache@v2\n        with:\n          workspaces: rust\n      - name: Install Protoc v21.12\n        working-directory: C:\\\n        run: |\n          New-Item -Path 'C:\\protoc' -ItemType Directory\n          Set-Location C:\\protoc\n          Invoke-WebRequest https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-win64.zip -OutFile C:\\protoc\\protoc.zip\n          7z x protoc.zip\n          Add-Content $env:GITHUB_PATH \"C:\\protoc\\bin\"\n        shell: powershell\n      - name: Run tests\n        run: |\n          $env:VCPKG_ROOT = $env:VCPKG_INSTALLATION_ROOT\n          cargo build\n          cargo test\n  ", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:17.069317", "created_at": "2023-07-26T23:23:45+02:00", "updated_at": "2023-08-02T20:27:11+02:00", "name": "Trigger vectordb-recipers workflow", "path": ".github/workflows/trigger-vectordb-recipes.yml", "contents": "name: Trigger vectordb-recipers workflow\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    paths:\n      - .github/workflows/trigger-vectordb-recipes.yml\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Trigger vectordb-recipes workflow\n        uses: actions/github-script@v6\n        with:\n          github-token: ${{ secrets.VECTORDB_RECIPES_ACTION_TOKEN }}\n          script: |\n            const result = await github.rest.actions.createWorkflowDispatch({\n                owner: 'lancedb',\n                repo: 'vectordb-recipes',\n                workflow_id: 'examples-test.yml',\n                ref: 'main'\n            });\n            console.log(result);", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:18.195408", "created_at": "2023-07-20T21:54:42+02:00", "updated_at": "2023-07-20T21:54:42+02:00", "name": "Update package-lock.json", "path": ".github/workflows/update_package_lock_run.yml", "contents": "name: Update package-lock.json\n\non:\n  workflow_dispatch:\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: main\n          persist-credentials: false\n          fetch-depth: 0\n          lfs: true\n      - uses: ./.github/workflows/update_package_lock\n        with:\n          github_token: ${{ secrets.LANCEDB_RELEASE_TOKEN }}\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:19.420900", "created_at": "2024-03-25T16:23:31+01:00", "updated_at": "2024-03-25T16:23:31+01:00", "name": "Update NodeJs package-lock.json", "path": ".github/workflows/update_package_lock_run_nodejs.yml", "contents": "name: Update NodeJs package-lock.json\n\non:\n  workflow_dispatch:\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: main\n          persist-credentials: false\n          fetch-depth: 0\n          lfs: true\n      - uses: ./.github/workflows/update_package_lock_nodejs\n        with:\n          github_token: ${{ secrets.LANCEDB_RELEASE_TOKEN }}\n", "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:20.450308", "created_at": "2023-06-12T17:54:54+02:00", "updated_at": "2023-06-12T17:54:54+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "lancedb/lancedb"}
{"mined_at": "2024-07-15T18:16:22.602765", "created_at": "2024-04-23T19:32:46+02:00", "updated_at": "2024-04-23T19:32:46+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "TobikoData/sqlmesh"}
{"mined_at": "2024-07-15T18:16:25.056510", "created_at": "2023-06-30T18:49:19+02:00", "updated_at": "2023-06-30T18:49:19+02:00", "name": "Auto Community Labeler", "path": ".github/workflows/auto_community_labeler.yml", "contents": null, "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:26.087274", "created_at": "2021-04-06T21:03:23+02:00", "updated_at": "2023-06-22T09:42:07+02:00", "name": "📜 Documentation", "path": ".github/workflows/documentation.yml", "contents": "name: 📜 Documentation\n\non:\n  pull_request:\n    branches: [develop]\n    types: [review_requested, ready_for_review]\n    paths:\n    - 'website/**'\n  push:\n    branches: [main]\n    paths:\n    - 'website/**'\n  workflow_dispatch:\n\njobs:\n  check-build:\n    if: github.event_name != 'push'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - uses: actions/setup-node@v1\n        with:\n          node-version: 14.x\n          cache: yarn\n      - name: Test Build\n        run: |\n          cd website\n          if [ -e yarn.lock ]; then\n          yarn install --frozen-lockfile\n          elif [ -e package-lock.json ]; then\n          npm ci\n          else\n          npm i\n          fi\n          npm run build\n  deploy-website:\n    if: github.event_name != 'pull_request'\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🚚 Get latest code\n        uses: actions/checkout@v2\n\n      - uses: actions/setup-node@v1\n        with:\n          node-version: 14.x\n          cache: yarn\n      - name: 🔨 Build\n        run: |\n          cd website\n          if [ -e yarn.lock ]; then\n          yarn install --frozen-lockfile\n          elif [ -e package-lock.json ]; then\n          npm ci\n          else\n          npm i\n          fi\n          npm run build\n\n      - name: 📂 Sync files\n        uses: SamKirkland/FTP-Deploy-Action@4.0.0\n        with:\n          server: ftp.openpype.io\n          username: ${{ secrets.ftp_user }}\n          password: ${{ secrets.ftp_password }}\n          local-dir: ./website/build/", "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:27.106813", "created_at": "2023-05-04T12:20:06+02:00", "updated_at": "2023-05-04T12:20:06+02:00", "name": "📇 Linting PR", "path": ".github/workflows/linting_pr.yml", "contents": null, "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:28.231295", "created_at": "2022-10-26T08:45:15+02:00", "updated_at": "2023-06-22T23:43:12+02:00", "name": "👉🏻 Milestone - assign to PRs", "path": ".github/workflows/milestone_assign.yml", "contents": "name: 👉🏻 Milestone - assign to PRs\n\non:\n  pull_request_target:\n    types: [closed]\n\njobs:\n  run_if_release:\n    if:  startsWith(github.base_ref, 'release/')\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Assign Milestone [next-minor]'\n        if: github.event.pull_request.milestone == null\n        uses: zoispag/action-assign-milestone@v1\n        with:\n          repo-token: \"${{ secrets.YNPUT_BOT_TOKEN }}\"\n          milestone: 'next-minor'\n\n  run_if_develop:\n    if:  ${{ github.base_ref == 'develop' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Assign Milestone [next-patch]'\n        if: github.event.pull_request.milestone == null\n        uses: zoispag/action-assign-milestone@v1\n        with:\n          repo-token: \"${{ secrets.YNPUT_BOT_TOKEN }}\"\n          milestone: 'next-patch'\n", "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:29.358068", "created_at": "2022-10-26T08:45:15+02:00", "updated_at": "2023-06-09T17:28:16+02:00", "name": "➕ Milestone - create default", "path": ".github/workflows/milestone_create.yml", "contents": "name: ➕ Milestone - create default\n\non:\n  milestone:\n    types: [closed, edited]\n\njobs:\n  generate-next-patch:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Get Milestones'\n        uses: \"WyriHaximus/github-action-get-milestones@master\"\n        id: milestones\n        env:\n          GITHUB_TOKEN: \"${{ secrets.YNPUT_BOT_TOKEN }}\"\n\n      - run: printf \"name=number::%s\" $(printenv MILESTONES | jq --arg MILESTONE $(printenv MILESTONE) '.[]  | select(.title == $MILESTONE) | .number')\n        id: querymilestone\n        env:\n          MILESTONES: ${{ steps.milestones.outputs.milestones }}\n          MILESTONE: \"next-patch\"\n\n      - name: Read output\n        run: |\n          echo \"${{ steps.querymilestone.outputs.number }}\"\n\n      - name: 'Create `next-patch` milestone'\n        if: steps.querymilestone.outputs.number == ''\n        id: createmilestone\n        uses: \"WyriHaximus/github-action-create-milestone@v1\"\n        with:\n          title: 'next-patch'\n        env:\n          GITHUB_TOKEN: \"${{ secrets.YNPUT_BOT_TOKEN }}\"\n\n  generate-next-minor:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Get Milestones'\n        uses: \"WyriHaximus/github-action-get-milestones@master\"\n        id: milestones\n        env:\n          GITHUB_TOKEN: \"${{ secrets.YNPUT_BOT_TOKEN }}\"\n\n      - run: printf \"name=number::%s\" $(printenv MILESTONES | jq --arg MILESTONE $(printenv MILESTONE) '.[]  | select(.title == $MILESTONE) | .number')\n        id: querymilestone\n        env:\n          MILESTONES: ${{ steps.milestones.outputs.milestones }}\n          MILESTONE: \"next-minor\"\n\n      - name: Read output\n        run: |\n          echo \"${{ steps.querymilestone.outputs.number }}\"\n\n      - name: 'Create `next-minor` milestone'\n        if: steps.querymilestone.outputs.number == ''\n        id: createmilestone\n        uses: \"WyriHaximus/github-action-create-milestone@v1\"\n        with:\n          title: 'next-minor'\n        env:\n          GITHUB_TOKEN: \"${{ secrets.YNPUT_BOT_TOKEN }}\"\n", "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:30.509325", "created_at": "2023-02-17T15:39:40+01:00", "updated_at": "2023-06-09T17:26:44+02:00", "name": "🚩 Milestone Release [trigger]", "path": ".github/workflows/miletone_release_trigger.yml", "contents": "name: 🚩 Milestone Release [trigger]\n\non:\n  workflow_dispatch:\n    inputs:\n      milestone:\n        required: true\n  milestone:\n    types: closed\n\n\njobs:\n  milestone-title:\n    runs-on: ubuntu-latest\n    outputs:\n      milestone: ${{ steps.milestoneTitle.outputs.value }}\n    steps:\n      - name: Switch input milestone\n        uses: haya14busa/action-cond@v1\n        id: milestoneTitle\n        with:\n          cond: ${{ inputs.milestone == '' }}\n          if_true: ${{ github.event.milestone.title }}\n          if_false: ${{ inputs.milestone }}\n      - name: Print resulted milestone\n        run: |\n          echo \"${{ steps.milestoneTitle.outputs.value }}\"\n\n  call-ci-tools-milestone-release:\n    needs: milestone-title\n    uses: ynput/ci-tools/.github/workflows/milestone_release_ref.yml@main\n    with:\n      milestone: ${{ needs.milestone-title.outputs.milestone }}\n      repo-owner: ${{ github.event.repository.owner.login }}\n      repo-name: ${{ github.event.repository.name }}\n      version-py-path: \"./openpype/version.py\"\n      pyproject-path: \"./pyproject.toml\"\n    secrets:\n      token: ${{ secrets.YNPUT_BOT_TOKEN }}\n      user_email: ${{ secrets.CI_EMAIL }}\n      user_name: ${{ secrets.CI_USER }}\n      cu_api_key: ${{ secrets.CLICKUP_API_KEY }}\n      cu_team_id: ${{ secrets.CLICKUP_TEAM_ID }}\n      cu_field_id: ${{ secrets.CLICKUP_RELEASE_FIELD_ID }}\n", "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:31.712971", "created_at": "2021-06-03T19:33:17+02:00", "updated_at": "2023-06-21T05:24:19+02:00", "name": "🔀 Dev -> Main", "path": ".github/workflows/nightly_merge.yml", "contents": "name: 🔀 Dev -> Main\n\non:\n  schedule:\n    - cron:  '21 3 * * 3,6'\n  workflow_dispatch:\n\njobs:\n  develop-to-main:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: 🚛 Checkout Code\n      uses: actions/checkout@v2\n\n    - name: 🔨 Merge develop to main\n      uses: everlytic/branch-merge@1.1.0\n      with:\n        github_token: ${{ secrets.YNPUT_BOT_TOKEN }}\n        source_ref: 'develop'\n        target_branch: 'main'\n        commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'\n\n    - name: Invoke pre-release workflow\n      uses: benc-uk/workflow-dispatch@v1\n      with:\n        workflow: prerelease.yml\n        token: ${{ secrets.YNPUT_BOT_TOKEN }}\n", "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:32.839509", "created_at": "2023-04-06T15:45:05+02:00", "updated_at": "2023-06-22T16:48:11+02:00", "name": "🔖 PR labels", "path": ".github/workflows/pr_labels.yml", "contents": "name: 🔖 PR labels\n\non:\n  pull_request_target:\n    types: [opened, assigned]\n\njobs:\n  size-label:\n    name: pr_size_label\n    runs-on: ubuntu-latest\n    if: github.event.action == 'assigned' || github.event.action == 'opened'\n    steps:\n      - name: Add size label\n        uses: \"pascalgn/size-label-action@v0.4.3\"\n        env:\n          GITHUB_TOKEN: \"${{ secrets.YNPUT_BOT_TOKEN }}\"\n          IGNORED: \".gitignore\\n*.md\\n*.json\"\n        with:\n          sizes: >\n            {\n              \"0\": \"XS\",\n              \"100\": \"S\",\n              \"500\": \"M\",\n              \"1000\": \"L\",\n              \"1500\": \"XL\",\n              \"2500\": \"XXL\"\n            }\n\n  label_prs_branch:\n    name: pr_branch_label\n    runs-on: ubuntu-latest\n    if: github.event.action == 'assigned' || github.event.action == 'opened'\n    steps:\n    - name: Label PRs - Branch name detection\n      uses: ffittschen/pr-branch-labeler@v1\n      with:\n        repo-token: ${{ secrets.YNPUT_BOT_TOKEN }}\n\n  label_prs_globe:\n    name: pr_globe_label\n    runs-on: ubuntu-latest\n    if: github.event.action == 'assigned' || github.event.action == 'opened'\n    steps:\n    - name: Label PRs - Globe detection\n      uses: actions/labeler@v4.0.3\n      with:\n        repo-token: ${{ secrets.YNPUT_BOT_TOKEN }}\n        configuration-path: \".github/pr-glob-labeler.yml\"\n        sync-labels: false\n", "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:33.919059", "created_at": "2023-05-04T12:43:57+02:00", "updated_at": "2023-05-31T15:43:59+02:00", "name": "📇 Code Linting", "path": ".github/workflows/pr_linting.yml", "contents": null, "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:35.094639", "created_at": "2021-06-03T17:59:36+02:00", "updated_at": "2023-06-21T05:24:37+02:00", "name": "⏳ Nightly Prerelease", "path": ".github/workflows/prerelease.yml", "contents": "name: ⏳ Nightly Prerelease\n\non:\n  workflow_dispatch:\n\n\njobs:\n  create_nightly:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: 🚛 Checkout Code\n      uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n\n    - name: Install Python requirements\n      run: pip install gitpython semver PyGithub\n\n    - name: 🔎 Determine next version type\n      id: version_type\n      run: |\n        TYPE=$(python ./tools/ci_tools.py --bump --github_token ${{ secrets.YNPUT_BOT_TOKEN }})\n        echo \"type=${TYPE}\" >> $GITHUB_OUTPUT\n\n    - name: 💉 Inject new version into files\n      id: version\n      if: steps.version_type.outputs.type != 'skip'\n      run: |\n        NEW_VERSION_TAG=$(python ./tools/ci_tools.py --nightly --github_token ${{ secrets.YNPUT_BOT_TOKEN }})\n        echo \"next_tag=${NEW_VERSION_TAG}\" >> $GITHUB_OUTPUT\n\n    - name: 💾 Commit and Tag\n      id: git_commit\n      if: steps.version_type.outputs.type != 'skip'\n      run: |\n        git config user.email ${{ secrets.CI_EMAIL }}\n        git config user.name ${{ secrets.CI_USER }}\n        git checkout main\n        git pull\n        git add .\n        git commit -m \"[Automated] Bump version\"\n        tag_name=\"CI/${{ steps.version.outputs.next_tag }}\"\n        echo $tag_name\n        git tag -a $tag_name -m \"nightly build\"\n\n    - name: Push to protected main branch\n      uses: CasperWA/push-protected@v2.10.0\n      with:\n        token: ${{ secrets.YNPUT_BOT_TOKEN }}\n        branch: main\n        tags: true\n        unprotect_reviews: true\n\n    - name: 🔨 Merge main back to develop\n      uses: everlytic/branch-merge@1.1.0\n      if: steps.version_type.outputs.type != 'skip'\n      with:\n        github_token: ${{ secrets.YNPUT_BOT_TOKEN }}\n        source_ref: 'main'\n        target_branch: 'develop'\n        commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'\n\n    - name: Invoke Update bug report workflow\n      uses: benc-uk/workflow-dispatch@v1\n      with:\n        workflow: update_bug_report.yml\n        token: ${{ secrets.YNPUT_BOT_TOKEN }}", "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:36.114223", "created_at": "2023-04-06T15:45:05+02:00", "updated_at": "2023-06-22T17:32:09+02:00", "name": "📊 Project task statuses", "path": ".github/workflows/project_task_statuses.yml", "contents": "name: 📊 Project task statuses\n\non:\n  pull_request_review:\n    types: [submitted]\n  issue_comment:\n    types: [created]\n  pull_request_review_comment:\n    types: [created]\n\njobs:\n\n  pr_review_started:\n    name: pr_review_started\n    runs-on: ubuntu-latest\n    # -----------------------------\n    # conditions are:\n    #   - PR issue comment which is not form Ynbot\n    #   - PR review comment which is not Hound (or any other bot)\n    #   - PR review submitted which is not from Hound (or any other bot) and is not 'Changes requested'\n    #   - make sure it only runs if not forked repo\n    # -----------------------------\n    if: |\n      (github.event_name == 'issue_comment' && github.event.pull_request.head.repo.owner.login == 'ynput' && github.event.comment.user.id != 82967070) ||\n      (github.event_name == 'pull_request_review_comment' && github.event.pull_request.head.repo.owner.login == 'ynput' && github.event.comment.user.type != 'Bot') ||\n      (github.event_name == 'pull_request_review' &&\n      github.event.pull_request.head.repo.owner.login == 'ynput' &&\n      github.event.review.state != 'changes_requested' &&\n      github.event.review.state != 'approved' &&\n      github.event.review.user.type != 'Bot')\n    steps:\n      - name: Move PR to 'Review In Progress'\n        uses: leonsteinhaeuser/project-beta-automations@v2.1.0\n        with:\n          gh_token: ${{ secrets.YNPUT_BOT_TOKEN }}\n          organization: ynput\n          project_id: 11\n          resource_node_id: ${{ github.event.pull_request.node_id || github.event.issue.node_id }}\n          status_value: Review In Progress\n\n  pr_review_requested:\n    # -----------------------------\n    # Resets Clickup Task status to 'In Progress' after 'Changes Requested' were submitted to PR\n    # It only runs if custom clickup task id was found in ref branch of PR\n    # -----------------------------\n    name: pr_review_requested\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request_review' && github.event.pull_request.head.repo.owner.login == 'ynput' && github.event.review.state == 'changes_requested'\n    steps:\n      - name: Set branch env\n        run: echo \"BRANCH_NAME=${{ github.event.pull_request.head.ref}}\" >> $GITHUB_ENV\n      - name: Get ClickUp ID from ref head name\n        id: get_cuID\n        run: |\n          echo ${{ env.BRANCH_NAME }}\n          echo \"cuID=$(echo $BRANCH_NAME | sed 's/.*\\/\\(OP\\-[0-9]\\{4\\}\\).*/\\1/')\" >> $GITHUB_OUTPUT\n\n      - name: Print ClickUp ID\n        run: echo ${{ steps.get_cuID.outputs.cuID }}\n\n      - name: Move found Clickup task to 'Review in Progress'\n        if: steps.get_cuID.outputs.cuID\n        run: |\n         curl -i -X PUT \\\n          'https://api.clickup.com/api/v2/task/${{ steps.get_cuID.outputs.cuID }}?custom_task_ids=true&team_id=${{secrets.CLICKUP_TEAM_ID}}' \\\n          -H 'Authorization: ${{secrets.CLICKUP_API_KEY}}' \\\n          -H 'Content-Type: application/json' \\\n          -d '{\n             \"status\": \"in progress\"\n           }'\n", "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:37.388193", "created_at": "2021-04-05T22:14:38+02:00", "updated_at": "2023-06-22T15:58:21+02:00", "name": "🏗️ Test Build", "path": ".github/workflows/test_build.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: 🏗️ Test Build\n\non:\n  pull_request:\n    branches: [develop]\n    types: [review_requested, ready_for_review]\n    paths-ignore:\n    - 'docs/**'\n    - 'website/**'\n    - 'vendor/**'\n\njobs:\n  Windows-latest:\n\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - name: 🚛 Checkout Code\n      uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: 🧵 Install Requirements\n      shell: pwsh\n      run: |\n        ./tools/create_env.ps1\n\n    - name: 🔨 Build\n      shell: pwsh\n      run: |\n        $env:SKIP_THIRD_PARTY_VALIDATION=\"1\"\n        ./tools/build.ps1\n\n  Ubuntu-latest:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n\n    steps:\n    - name: 🚛 Checkout Code\n      uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: 🧵 Install Requirements\n      run: |\n        ./tools/create_env.sh\n\n    - name: 🔨 Build\n      run: |\n        export SKIP_THIRD_PARTY_VALIDATION=\"1\"\n        ./tools/build.sh\n", "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:38.471694", "created_at": "2023-04-06T16:20:04+02:00", "updated_at": "2023-06-21T05:25:32+02:00", "name": "🐞 Update Bug Report", "path": ".github/workflows/update_bug_report.yml", "contents": "name: 🐞 Update Bug Report\n\non:\n  workflow_dispatch:\n  release:\n    # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release\n    types: [published]\n\njobs:\n  update-bug-report:\n    runs-on: ubuntu-latest\n    name: Update bug report\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.release.target_commitish }}\n      - name: Update version\n        uses: ynput/gha-populate-form-version@main\n        with:\n          github_token: ${{ secrets.YNPUT_BOT_TOKEN }}\n          registry: github\n          dropdown: _version\n          limit_to: 100\n          form: .github/ISSUE_TEMPLATE/bug_report.yml\n          commit_message: 'chore(): update bug report / version'\n          dry_run: no-push\n\n      - name: Push to protected develop branch\n        uses: CasperWA/push-protected@v2.10.0\n        with:\n          token: ${{ secrets.YNPUT_BOT_TOKEN }}\n          branch: develop\n          unprotect_reviews: true", "state": "active", "repository": "ynput/OpenPype"}
{"mined_at": "2024-07-15T18:16:40.725005", "created_at": "2023-07-25T07:46:13+02:00", "updated_at": "2023-07-25T07:46:13+02:00", "name": "Build base container", "path": ".github/workflows/build-base-container.yml", "contents": "name: Build base container\n# This builds the base container upon a push event in noqdev/iambic repository\non:\n  # Testing this is burdensome\n  # One way to test is to enable event type pull_request; however, our setup\n  # is restrictive on who can assume the container building role. You can consider\n  # temporarily opening the role to allow the pull_request or via specific branch to\n  # do the image building in the aws assume role side.\n  # pull_request:\n  workflow_dispatch\n\njobs:\n  build_base_container:\n    if: ${{ github.repository == 'noqdev/iambic' && github.ref == 'refs/heads/main' }}\n    runs-on: ubuntu-latest\n    name: Build Base Container\n    permissions:\n      id-token: write\n      contents: write\n    strategy:\n      fail-fast: false\n      matrix:\n        platform:\n          - linux/amd64\n          # - linux/arm64\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::242345320040:role/iambic_image_builder\n          aws-region: us-east-1\n      - name: build container\n        id: build-container\n        run: |\n          docker logout ghcr.io\n          aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/iambic\n          make build_docker_base_image upload_docker_base_image\n          docker logout public.ecr.aws/iambic\n          docker buildx prune --filter=until=96h -f", "state": "active", "repository": "noqdev/iambic"}
{"mined_at": "2024-07-15T18:16:41.954775", "created_at": "2023-01-18T06:17:25+01:00", "updated_at": "2023-01-24T18:41:07+01:00", "name": "Build container", "path": ".github/workflows/build-container.yml", "contents": "name: Build container\n# This builds the container upon a push event in noqdev/iambic repository\non:\n  # Testing this is burdensome\n  # One way to test is to enable event type pull_request; however, our setup\n  # is restrictive on who can assume the container building role. You can consider\n  # temporarily opening the role to allow the pull_request or via specific branch to\n  # do the image building in the aws assume role side.\n  # pull_request:\n  push:\n   branches:\n     - main\njobs:\n  build-container:\n    if: ${{ github.repository == 'noqdev/iambic' && github.event.commits[0].author.name != 'Version Auto Bump' }}\n    runs-on: ubuntu-latest\n    name: Build Container\n    permissions:\n      id-token: write\n      contents: write\n      pull-requests: write\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.VERSION_BUMP_TOKEN }}\n          # VERSION_BUMP_TOKEN is a Github Fine Grain Access token. It belongs to a github user that\n          # can bypass the repository code review rules. It needs to be granted the following:\n          # 1. The repository it needs to bump access to.\n          # 2. Read and Write access to code (also known as Contents of the Repository Permission)\n          # 3. Because point 2, it will include Read access to Metadata\n      - name: bootstrap\n        run: |\n          python3.10 -m venv build-env\n          . build-env/bin/activate && pip install poetry setuptools pip --upgrade\n          curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.37.3\n      - name: set git identity\n        run: |\n          git config user.name \"Version Auto Bump\"\n          git config user.email \"github-action-version-auto-bump@noq.dev\"\n      - name: bump version\n        id: bump-version\n        run: |\n          . build-env/bin/activate && python build_utils/tag_and_build_container.py bump-version\n          git add pyproject.toml\n          git commit -m \"Bump version\"\n          git push origin HEAD:${BRANCH_NAME}\n          git tag v$(. build-env/bin/activate && python build_utils/tag_and_build_container.py print-current-version)\n          git push --tags\n        env:\n          BRANCH_NAME: ${{ github.head_ref || github.ref_name }}\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::242345320040:role/iambic_image_builder\n          aws-region: us-east-1\n      - name: build container\n        id: build-container\n        run: |\n          docker logout ghcr.io\n          aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/iambic\n          . build-env/bin/activate && make build_docker\n          make trivy_scan\n          make trivy_sbom\n          make upload_docker\n          docker logout public.ecr.aws/iambic\n          docker buildx prune --filter=until=96h -f\n      - uses: actions/upload-artifact@v3\n        with:\n          name: trivy-sbom\n          path: iambic.sbom.json\n      # Uncomment after OSS (Requires for GH Advanced Security):\n      # - name: Upload Trivy scan results to GitHub Security tab\n      #   uses: github/codeql-action/upload-sarif@v2\n      #   with:\n      #     sarif_file: 'iambic.sbom.json'\n", "state": "active", "repository": "noqdev/iambic"}
{"mined_at": "2024-07-15T18:16:43.172924", "created_at": "2023-02-25T01:22:14+01:00", "updated_at": "2023-02-25T01:44:40+01:00", "name": "Detect Secrets", "path": ".github/workflows/detect-secrets.yml", "contents": "name: Detect Secrets\non:\n  push:\n    branches:\n    - main\n  pull_request:\njobs:\n  scan-secrets:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: TruffleHog OSS\n        uses: trufflesecurity/trufflehog@v3.31.2\n        with:\n          path: ./\n          base: ${{ github.event.repository.default_branch }}\n          head: HEAD\n          extra_args: --debug --only-verified --max_depth=1000\n", "state": "active", "repository": "noqdev/iambic"}
{"mined_at": "2024-07-15T18:16:44.179485", "created_at": "2023-04-17T19:14:16+02:00", "updated_at": "2023-04-17T19:14:16+02:00", "name": "Publish docs", "path": ".github/workflows/publish-docs.yml", "contents": "name: Publish docs\n# This publish docs to https://iambic.org/\non:\n  push:\n   branches:\n     - main\njobs:\n  build-container:\n    if: ${{ github.repository == 'noqdev/iambic' && github.event.commits[0].author.name != 'Version Auto Bump' }}\n    runs-on: ubuntu-latest\n    name: docs publishing\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          lfs: true\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::242345320040:role/iambic_docs_publisher\n          aws-region: us-east-1\n      - name: publish docs\n        id: publish-docs\n        run: |\n          cd docs/web\n          yarn\n          make build_and_upload\n", "state": "active", "repository": "noqdev/iambic"}
{"mined_at": "2024-07-15T18:16:45.231172", "created_at": "2023-02-28T22:14:13+01:00", "updated_at": "2023-02-28T22:14:13+01:00", "name": "Publish Release", "path": ".github/workflows/publish-release.yml", "contents": "name: Publish Release\non:\n  push:\n    tags:\n      - 'v*'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: write\n      security-events: write\n      statuses: write\n      discussions: write\n    steps:\n    - name: bootstrap\n      run: |\n        curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.37.3\n    - uses: actions/checkout@v3\n    - name: scan container\n      id: scan-container\n      run: |\n        docker logout ghcr.io\n        make trivy_scan\n        make trivy_sbom\n    - name: Release\n      uses: softprops/action-gh-release@v1\n      if: startsWith(github.ref, 'refs/tags/')\n      with:\n        files: iambic.sbom.json\n", "state": "active", "repository": "noqdev/iambic"}
{"mined_at": "2024-07-15T18:16:46.335795", "created_at": "2023-04-11T01:07:23+02:00", "updated_at": "2023-04-11T01:07:23+02:00", "name": "Publish to PyPI", "path": ".github/workflows/pypi-release.yml", "contents": "name: Publish to PyPI\non:\n  workflow_dispatch\njobs:\n  build-n-publish:\n    if: ${{ github.repository == 'noqdev/iambic' }}\n    name: Build and publish Python 🐍 distributions 📦 to PyPI\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.9\"\n    - name: bootstrap\n      run: |\n        pip install poetry setuptools pip --upgrade\n    - run: poetry config pypi-token.pypi \"${{ secrets.IAMBIC_PYPI_API_KEY }}\"\n    - name: Publish package\n      run: poetry publish --build\n", "state": "active", "repository": "noqdev/iambic"}
{"mined_at": "2024-07-15T18:16:47.366694", "created_at": "2022-12-09T23:52:59+01:00", "updated_at": "2023-03-30T20:34:12+02:00", "name": "Run unit and functional test", "path": ".github/workflows/run-test.yml", "contents": "name: Run unit and functional test\non:\n  pull_request:\n  push:\n    branches: [main]\njobs:\n  run-unit-and-functional-test:\n    # Version Auto Bump happens when CICD just auto bump patch version\n    # We have decided to minimize generating work that is not necessary.\n    if: ${{ github.event.commits[0].author.name != 'Version Auto Bump' }}\n    # Since functional tests include tests that does not handle parallel runs\n    # For example, config_discovery test does not tolerate resources being\n    # destroyed, we are setting the concurrency here to only 1 active run at\n    # a time, other run requested will be queued.\n    concurrency: 'unit-and-functional-test'\n    runs-on: ubuntu-latest\n    name: Run unit test\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          # Semantic version range syntax or exact version of a Python version\n          python-version: '3.9'\n          # Optional - x64 or x86 architecture, defaults to x64\n          architecture: 'x64'\n      - name: run-test\n        id: run-test\n        run: |\n          python3 -m venv env\n          . env/bin/activate && pip install poetry setuptools pip --upgrade && poetry install && pre-commit run -a && make test\n      - name: Upload coverage reports to Codecov\n        if: ${{ github.event.pull_request.head.repo.full_name == 'noqdev/iambic' }}\n        uses: codecov/codecov-action@v3\n        with:\n          files: cov_unit_tests.xml\n          flags: unit_tests\n          token: ${{secrets.CODECOV_TOKEN}}\n      - name: prepare all license\n        run: |\n          . env/bin/activate && pip freeze > requirements-all-license-check.txt\n      - name: Check python\n        id: license_check_report\n        uses: pilosus/action-pip-license-checker@v2\n        with:\n          requirements: 'requirements-all-license-check.txt'\n          fail: 'StrongCopyleft,NetworkCopyleft'\n          fails-only: true\n          exclude: '(?i)^(pylint|aio[-_]*).*'\n      - name: Print report\n        if: ${{ always() }}\n        run: echo \"${{ steps.license_check_report.outputs.report }}\"\n      - name: Configure AWS Credentials\n        if: ${{ github.event.pull_request.head.repo.full_name == 'noqdev/iambic' }}\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::580605962305:role/IambicHubRole\n          aws-region: us-east-1\n      - name: run-functional-test\n        if: ${{ github.event.pull_request.head.repo.full_name == 'noqdev/iambic' }}\n        id: run-functional-test\n        run: |\n          . env/bin/activate && make functional_test\n      - name: Upload coverage reports to Codecov\n        if: ${{ github.event.pull_request.head.repo.full_name == 'noqdev/iambic' }}\n        uses: codecov/codecov-action@v3\n        with:\n          files: cov_functional_tests.xml\n          flags: functional_tests\n          token: ${{secrets.CODECOV_TOKEN}}\n      - name: Upload coverage reports to Codecov\n        if: ${{ github.event.pull_request.head.repo.full_name == 'noqdev/iambic' }}\n        uses: codecov/codecov-action@v3\n        with:\n          files: cov_functional_tests_config_discovery.xml\n          flags: functional_tests_config_discovery\n          token: ${{secrets.CODECOV_TOKEN}}\n", "state": "active", "repository": "noqdev/iambic"}
{"mined_at": "2024-07-15T18:16:48.382377", "created_at": "2023-03-31T04:14:15+02:00", "updated_at": "2023-03-31T04:14:15+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "noqdev/iambic"}
{"mined_at": "2024-07-15T18:16:50.657575", "created_at": "2022-08-25T00:38:24+02:00", "updated_at": "2022-08-25T00:47:33+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n    types: [opened, synchronize, reopened, ready_for_review]\n  schedule:\n    - cron: '25 16 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    # Do not run on drafts to make reviewing easier\n    if: github.event.pull_request.draft == false\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        queries: security-extended,security-and-quality\n        config-file: ./.github/codeql/codeql-config.yml\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "microsoft/onnxscript"}
{"mined_at": "2024-07-15T18:16:51.886365", "created_at": "2022-09-16T18:28:36+02:00", "updated_at": "2022-09-23T18:52:32+02:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": "name: Lint\n\non:\n  push:\n    branches:\n      - main\n      - 'gh/**/base' # ghstack base branches\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  optional-lint:\n    name: Optional Lint\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: misspell # Check spelling\n        uses: reviewdog/action-misspell@v1\n        with:\n          github_token: ${{ secrets.github_token }}\n          locale: \"US\"\n          reporter: github-pr-check\n          level: info\n          filter_mode: diff_context\n      - name: shellcheck # Static check shell scripts\n        uses: reviewdog/action-shellcheck@v1\n        with:\n          github_token: ${{ secrets.github_token }}\n          reporter: github-pr-check\n          level: info\n          filter_mode: diff_context\n\n  enforce-style:\n    name: Enforce style\n    runs-on: ubuntu-latest\n    permissions:\n      security-events: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          # Version range or exact version of Python to use, using SemVer's version range syntax. Reads from .python-version if unset.\n          python-version: \"3.10\"\n      - name: Install ONNXScript\n        run: |\n          # The code is from azure-pipelines.yml\n          # Install dependencies\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools\n          python -m pip install -q -r requirements-dev.txt\n          # Install packages\n          python -m pip install -e .\n          lintrunner init\n      - name: Run lintrunner on all files\n        run: |\n          set +e\n          if ! lintrunner --force-color --all-files --tee-json=lint.json -v; then\n              echo \"\"\n              echo -e \"\\e[1m\\e[36mYou can reproduce these results locally by using \\`lintrunner\\`.\\e[0m\"\n              echo -e \"\\e[1m\\e[36mSee https://github.com/microsoft/onnxscript#coding-style for setup instructions.\\e[0m\"\n              exit 1\n          fi\n      - name: Produce SARIF\n        if: always()\n        run: |\n          python -m lintrunner_adapters to-sarif lint.json lintrunner.sarif\n      - name: Upload SARIF file\n        # Use always() to always upload SARIF even if lintrunner returns with error code\n        # To toggle linter comments in the files page, press `i` on the keyboard\n        if: always()\n        continue-on-error: true\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          # Path to SARIF file relative to the root of the repository\n          sarif_file: lintrunner.sarif\n          category: lintrunner\n          checkout_path: ${{ github.workspace }}\n", "state": "active", "repository": "microsoft/onnxscript"}
{"mined_at": "2024-07-15T18:16:53.115400", "created_at": "2022-10-05T05:52:19+02:00", "updated_at": "2022-10-06T19:35:46+02:00", "name": "CI", "path": ".github/workflows/main.yaml", "contents": "name: CI\n\non:\n  schedule:\n    # Run weekly on Mondays and Wednesdays 00:00\n    - cron: '00 00 * * MON,WED'\n  push:\n    branches:\n      - main\n      - 'gh/**/base' # ghstack base branches\n      - rel-*\n  pull_request:\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        name:\n          - py312-torch-nightly\n          - py311\n          - py311-torch-nightly\n          - py311-onnx-weekly\n          - py311-ort-nightly\n          - py311-experimental-torchlib-tracing\n          - py311-experimental-torchlib-onnx-ir\n          - py310\n          - py39\n          - py38\n        include:\n          - name: py311\n            python-version: \"3.11\"\n            nox-tag: test build\n          - name: py310\n            python-version: \"3.10\"\n            nox-tag: test\n          - name: py39\n            python-version: \"3.9\"\n            nox-tag: test\n          - name: py38\n            python-version: \"3.8\"\n            nox-tag: test\n          - name: py312-torch-nightly\n            python-version: \"3.12\"\n            nox-tag: test-torch-nightly\n          - name: py311-torch-nightly\n            python-version: \"3.11\"\n            nox-tag: test-torch-nightly\n          - name: py311-onnx-weekly\n            python-version: \"3.11\"\n            nox-tag: test-onnx-weekly\n          - name: py311-ort-nightly\n            python-version: \"3.11\"\n            nox-tag: test-ort-nightly\n          - name: py311-experimental-torchlib-tracing\n            python-version: \"3.11\"\n            nox-tag: test-experimental-torchlib-tracing\n          - name: py311-experimental-torchlib-onnx-ir\n            python-version: \"3.11\"\n            nox-tag: test-experimental-torchlib-onnx-ir\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install nox\n        run: python -m pip install nox\n      - name: Pull Test Data\n        run: git lfs pull\n      - name: Run tests\n        run: nox -t ${{ matrix.nox-tag }} --forcecolor -- --cov=onnxscript --cov-report=xml --cov-append --cov-branch -n=auto --junit-xml pytest.xml\n        env:\n          CATCH_ORT_SEGFAULT: \"${{ matrix.os == 'ubuntu-latest' && '1' || '0' }}\"\n          CREATE_REPRODUCTION_REPORT: \"${{ matrix.os == 'ubuntu-latest' && '1' || '0' }}\"\n      - name: Upload coverage to Codecov\n        if: always()\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n      - name: Upload Test Results\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: Test Results (${{ matrix.name }}-${{ matrix.os }})\n          path: pytest.xml\n      - name: Upload torchlib error reports\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: Error reports (${{ matrix.name }}-${{ matrix.os }})\n          path: error_reports\n\n  dort:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        transformers: [\"4.37.2\", \"4.41.2\"]\n        torch: [\"release\", \"nightly\"]\n        python_version: [\"3.11\"]\n        nox-tag: [\"test-dort\"]\n        name:\n          - dort\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python ${{ matrix.python_version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Install nox\n        run: python -m pip install nox\n      - name: Pull Test Data\n        run: git lfs pull\n      - run: |\n          nox -t ${{ matrix.nox-tag }} --forcecolor -- ${{ matrix.torch }} ${{ matrix.transformers }}\n        name: Run tests\n\n  build_docs:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n          cache: pip\n          cache-dependency-path: \"**/requirements-dev.txt\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install -r requirements-dev.txt\n      - name: Versions\n        run: |\n          pip list | grep numpy\n          pip list | grep onnx\n          pip list | grep torch\n      - name: Install package\n        run: pip install .\n      - name: Build documentation\n        run: python -m sphinx docs dist/html\n\n  update_readme:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n      - name: Update readme\n        run: |\n          python docs/update_readme.py\n          git diff --exit-code -- 'README.md'\n          if [ $? -ne 0 ]; then\n            echo \"Update readme by running `python docs/update_readme.py`\"\n            exit 1\n          fi\n\n  publish-test-results:\n    name: \"Publish Tests Results to Github\"\n    needs: test\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      # only needed unless run with comment_mode: off\n      pull-requests: write\n    if: always()\n    steps:\n      - name: Download Artifacts\n        uses: actions/download-artifact@v3\n        with:\n          path: artifacts\n\n      - name: Publish Test Results\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          files: \"artifacts/**/*.xml\"\n", "state": "active", "repository": "microsoft/onnxscript"}
{"mined_at": "2024-07-15T18:16:54.241451", "created_at": "2023-01-12T23:02:30+01:00", "updated_at": "2023-01-28T04:11:58+01:00", "name": "Publish Docs", "path": ".github/workflows/pages.yaml", "contents": "name: Publish Docs\n\non:\n  push:\n    branches: [\"main\"]\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow one concurrent deployment\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: true\n\njobs:\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Setup Pages\n        uses: actions/configure-pages@v4\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: actions/checkout@v4\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          python -m pip install -r requirements-dev.txt\n      - name: Install package\n        run: pip install .\n      - name: Build documentation\n        run: python -m sphinx docs dist/html\n      - name: Upload documentation archive\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: 'dist/html'\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "microsoft/onnxscript"}
{"mined_at": "2024-07-15T18:16:55.242795", "created_at": "2024-07-12T00:41:31+02:00", "updated_at": "2024-07-12T00:41:31+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "microsoft/onnxscript"}
{"mined_at": "2024-07-15T18:16:57.403881", "created_at": "2023-06-23T12:11:45+02:00", "updated_at": "2023-06-23T12:11:45+02:00", "name": "Auto Author Assign", "path": ".github/workflows/auto-author-assign.yml", "contents": "name: Auto Author Assign\n\non:\n    pull_request_target:\n        types: [opened, reopened]\n\npermissions:\n    pull-requests: write\n\njobs:\n    assign-author:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: toshimaru/auto-author-assign@v1.6.2\n", "state": "active", "repository": "owid/etl"}
{"mined_at": "2024-07-15T18:16:58.529423", "created_at": "2023-10-20T11:11:21+02:00", "updated_at": "2023-10-20T11:11:21+02:00", "name": "Buildkite", "path": ".github/workflows/buildkite.yml", "contents": "name: Buildkite\n\non:\n    pull_request:\n        types:\n            - closed\n\njobs:\n    destroy_staging:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Check out repository\n              uses: actions/checkout@v3\n\n            - name: Set up Python\n              uses: actions/setup-python@v4\n              with:\n                  python-version: 3.x\n\n            - name: Install dependencies\n              run: pip install requests\n\n            - name: Run script\n              env:\n                  BUILDKITE_API_ACCESS_TOKEN: ${{ secrets.BUILDKITE_API_ACCESS_TOKEN }}\n                  BRANCH: ${{ github.event.pull_request.head.ref }}\n              run: |\n                  python .github/scripts/buildkite_destroy_staging.py\n", "state": "active", "repository": "owid/etl"}
{"mined_at": "2024-07-15T18:16:59.670062", "created_at": "2023-11-01T11:20:49+01:00", "updated_at": "2023-11-01T11:26:51+01:00", "name": "Merge Schedule", "path": ".github/workflows/merge-schedule.yml", "contents": "name: Merge Schedule\n\non:\n  pull_request:\n    types:\n      - opened\n      - edited\n      - synchronize\n  schedule:\n    # https://crontab.guru/every-hour\n    - cron: '0 * * * *'\n\njobs:\n  merge_schedule:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: gr2m/merge-schedule-action@v2\n        with:\n          # Merge method to use. Possible values are merge, squash or\n          # rebase. Default is merge.\n          merge_method: squash\n          # Time zone to use. Default is UTC.\n          time_zone: 'Europe/London'\n          # Require all pull request statuses to be successful before\n          # merging. Default is `false`.\n          require_statuses_success: 'true'\n          # Label to apply to the pull request if the merge fails. Default is\n          # `automerge-fail`.\n          automerge_fail_label: 'merge-schedule-failed'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "owid/etl"}
{"mined_at": "2024-07-15T18:17:00.710631", "created_at": "2022-03-23T10:56:36+01:00", "updated_at": "2022-03-23T10:56:36+01:00", "name": "Project automations", "path": ".github/workflows/project-automations.yml", "contents": "name: Project automations\non:\n    issues:\n        types:\n            - opened\n            - reopened\n            - labeled\n            - unlabeled\n    pull_request:\n        types:\n            - opened\n            - reopened\n            - review_requested\n            - closed\n\njobs:\n    prio:\n        name: Sync issue priority to project board\n        runs-on: ubuntu-latest\n        steps:\n            - uses: owid/actions/assign-priority@main\n              with:\n                  PROJECT_ISSUES_TOKEN: ${{ secrets.PROJECT_ISSUES_TOKEN }}\n    status:\n        name: Set status based on event\n        runs-on: ubuntu-latest\n        steps:\n            - uses: owid/actions/set-project-status@main\n              with:\n                  PROJECT_ISSUES_TOKEN: ${{ secrets.PROJECT_ISSUES_TOKEN }}\n    needs_triage:\n        name: Add \"needs triage\" label\n        runs-on: ubuntu-latest\n        if: github.event_name == 'issues' && github.event.action == 'opened'\n        steps:\n            - name: Label issue\n              uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90\n              with:\n                  add-labels: \"needs triage\"\n                  repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "owid/etl"}
{"mined_at": "2024-07-15T18:17:01.869464", "created_at": "2023-09-28T08:32:29+02:00", "updated_at": "2023-09-28T08:45:47+02:00", "name": "Publish owid-catalog", "path": ".github/workflows/publish-owid-catalog.yml", "contents": "name: Publish owid-catalog\n\non:\n  workflow_dispatch:\n    inputs:\n      reason:\n        description: 'Publish owid-catalog to PyPI. Make sure you have bumped the version.'\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n\n    - name: Install Poetry\n      run: curl -sSL https://install.python-poetry.org | python3 -\n\n    - name: Publish\n      env:\n        POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}\n      run: |\n        cd lib/catalog &&\n        poetry publish --build -u ourworldindata\n", "state": "active", "repository": "owid/etl"}
{"mined_at": "2024-07-15T18:17:04.481805", "created_at": "2023-01-08T19:51:42+01:00", "updated_at": "2023-01-08T19:51:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "SuperDuperDB/superduperdb"}
{"mined_at": "2024-07-15T18:17:05.917482", "created_at": "2023-07-19T15:49:53+02:00", "updated_at": "2024-07-12T16:37:38+02:00", "name": "Release in Pypi/DockerHub", "path": ".github/workflows/release.yaml", "contents": "name: Release in Pypi/DockerHub\non:\n  push:\n    branches:\n      - release-[0-9]+.[0-9]+.[0-9]+\n\njobs:\n  build:\n    # Any commit message that contains the phrase 'Bump Version' will trigger the release process.\n    # We have an additional safety mechanism in the upload to PyPI step that requires manual approval.\n    # This is to prevent accidental releases. All other steps (eg build, upload to GitHub) are reversible\n    if: ${{ startsWith(github.event.head_commit.message, 'Bump Version') }}\n    runs-on: ubuntu-latest\n    defaults:\n        run:\n          shell: bash\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n      \n      - name: Set up Python 3.10\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n \n      - name: Install dependencies\n        run: python -m pip install --upgrade build\n\n      - name: Build\n        run: python -m build\n\n        # smoke-test that build is valid\n      - name: Check wheel contents\n        run: |\n          python -m pip install check-wheel-contents\n          # check-wheel-contents dist\n      \n      - name: Upload artifact\n        uses: actions/upload-artifact@v3\n        with:\n          path: ./dist\n\n  #---------------------------------------------------\n  # Build GitHub Artifacts\n  #---------------------------------------------------\n  test-build:\n    needs: ['build']\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n              \n        # Artifacts located in artifact/\n      - name: Download artifact\n        uses: actions/download-artifact@v3\n\n      - name: Install wheel\n        run: python -m pip install artifact/*.whl\n      \n      - name: Set version for tagging\n        id: set-version\n        run: |\n          export PACKAGE_VERSION=$(python -c \"import superduperdb as s; print(s.__version__)\")\n          echo \"package_version=${PACKAGE_VERSION}\" >> $GITHUB_OUTPUT \n\n    outputs:\n      package_version: ${{ steps.set-version.outputs.package_version }}\n\n  #---------------------------------------------------\n  # Publish GitHub Artifacts\n  #---------------------------------------------------\n  create-release:\n    needs: ['test-build']\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n        # Artifacts located in artifact/\n      - name: Download artifact\n        uses: actions/download-artifact@v3\n\n      - name: create release\n        run: >\n          gh release create ${{ needs.test-build.outputs.package_version }}\n          --repo ${{ github.repository }} --generate-notes\n          artifact/*\n        env:\n          GH_TOKEN: ${{ github.token }}\n\n\n  #---------------------------------------------------\n  # Publish SuperDuperDB in Pypi\n  #---------------------------------------------------\n  publish-pypi:\n    needs: ['create-release']\n    # Environment waits for approval before attempting to upload to PyPI.\n    # This allows reviewing the files in the release on GitHub.\n    environment: publish-pypi\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v3\n      # Try uploading to Test PyPI first, in case something fails.\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          packages-dir: artifact/\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: artifact/\n\n  #---------------------------------------------------\n  # Publish SuperDuperDB in DockerHub\n  #---------------------------------------------------\n  publish-docker:\n    needs: ['publish-pypi']\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build SuperDuperDB Image\n        run: |\n          make build_superduperdb\n\n      - name: Release SuperDuperDB Image\n        run: |\n          make push_superduperdb", "state": "active", "repository": "SuperDuperDB/superduperdb"}
{"mined_at": "2024-07-15T18:17:07.239595", "created_at": "2023-10-05T13:43:13+02:00", "updated_at": "2023-11-07T15:18:44+01:00", "name": "Code Testing", "path": ".github/workflows/ci_code.yml", "contents": "name: Code Testing\n\non:\n  pull_request:\n    branches:\n      - main\n    paths: # Paths that may affect code quality\n    paths-ignore:\n      - \".github/**\"\n      - 'docs/**'\n      - 'examples/**'\n      - '*.md'\n      - '*.rst'\n  workflow_dispatch:\n\n\nconcurrency:\n  group: ${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  # ---------------------------------\n  # Unit Testing\n  # ---------------------------------\n  unit_testing:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ \"ubuntu-latest\" ]\n        python-version: [\"3.10\", \"3.11\"]\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Validate Changelog Update\n      uses: tarides/changelog-check-action@v2\n      with:\n        changelog: CHANGELOG.md\n\n    #---------------------------------------------------\n    # Configuring Python environments.\n    #\n    # We cache both the pip packages and the installation dir.\n    # If the pyproject remains unchanged, we re-use the existing installation dir.\n    # If the pyproject has changed, we reinstall everything using the cached pip packages.\n    - name: Cache Pip Packages\n      id: setup-python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip' # caching pip dependencies\n\n    - name: Cache Python Installation\n      uses: actions/cache@v4\n      with:\n        path: ${{ env.pythonLocation }} # Cache the whole python installation dir.\n        key: ${{ matrix.os }}_python-${{ matrix.python-version }}_${{ hashFiles('pyproject.toml', '*/pyproject.toml') }}\n      #---------------------------------------------------\n\n    - name: Install SuperDuperDB Project\n      run: |\n        # Install core and testsuite dependencies on the cached python environment.\n        python -m pip install .\n        python -m pip install -r deploy/installations/testenv_requirements.txt\n\n    - name: Install DevKit (docs, testing, etc)\n      run: |\n        make install_devkit\n\n    - name: Lint and type-check\n      run: |\n        make lint-and-type-check\n\n    - name: Unit Testing\n      run: |\n        make unit_testing pytest_arguments=\"--cov=superduperdb --cov-report=xml\"\n\n    - name: Ext Testing\n      run: |\n        make ext_testing\n\n    - name: Rest Testing\n      run: |\n        make rest_testing\n\n  # ---------------------------------\n  # Integration Testing\n  # ---------------------------------\n  integration-testing:\n    needs: [ 'unit_testing' ]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Build Docker Image\n        run: |\n          make build_sandbox\n\n      - name: Start Testing Environment\n        run: |\n          # Update hostnames\n          echo  127.0.0.1 mongodb | sudo tee -a /etc/hosts\n\n          # Run the integrated testing environment\n          make testenv_init\n          # To make sure that pytest etc. are installed in the container\n          docker exec testenv-sandbox-1 sh -c 'make install_devkit'\n\n      - name: Data-backend Testing\n        run: |\n          # Run the test-suite within the sandbox image from the test environment\n          docker exec testenv-sandbox-1 sh -c 'make databackend_testing'\n\n      - name: Smoke Testing\n        run: |\n          # This tests if the tests which run on \n          # Run the test-suite within the sandbox image from the test environment\n          docker exec testenv-sandbox-1 sh -c 'make smoke_testing'\n\n      - name: Shutdown Testing Environment\n        run: |\n          # Run the integrated testing environment\n          make testenv_shutdown\n", "state": "active", "repository": "SuperDuperDB/superduperdb"}
{"mined_at": "2024-07-15T18:17:08.478649", "created_at": "2023-10-06T10:55:32+02:00", "updated_at": "2023-11-07T15:26:36+01:00", "name": "Build Doc Website", "path": ".github/workflows/ci_docs.yaml", "contents": "name: Build Doc Website\non:\n  push:\n    branches:\n      - main\n    paths:  # run this action only when the docs folder is changed\n      - 'docs/content/**'\n      - 'docs/*.js'\n  workflow_dispatch:  # allows triggering a GitHub action manually - see 'Actions' tab\n\n\n# allow the action to write to the gh-pages branch\npermissions:\n  contents: write\n\njobs:\n  #---------------------------------------------------\n  # Release Docs\n  #---------------------------------------------------\n  build-and-release-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n        # required for docs/hr/build to be available\n      - name: Install node\n        run: |\n          sudo apt-get update\n          sudo apt-get install nodejs npm\n\n      - name: Set up Python 3.11\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.11'\n\n      - name: Cache pip packages\n        uses: actions/cache@v3\n        with:\n          path: |\n            ${{ env.pythonLocation }}\n          key: ubuntu-latest_python-3.11_${{ hashFiles('pyproject.toml', '*/pyproject.toml') }}\n\n      - name: Install DevKit (docs, testing, etc)\n        run: |\n          make install_devkit\n\n      - name: Build docs\n        run: |\n          # Build HR and API docs\n          make gen_docs\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        if: github.ref == 'refs/heads/main'\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: docs/build\n          cname: docs.superduperdb.com\n", "state": "active", "repository": "SuperDuperDB/superduperdb"}
{"mined_at": "2024-07-15T18:17:09.796902", "created_at": "2023-11-15T18:20:41+01:00", "updated_at": "2023-11-15T18:20:41+01:00", "name": "Repo Healthcheck", "path": ".github/workflows/repo_healthcheck.yml", "contents": "name: Repo Healthcheck\n\non:\n  schedule:\n    # Triggers the workflow every day at 0130 UTC\n    - cron: \"30 1 * * *\"\n  workflow_dispatch:\n\njobs:\n    #---------------------------------------------------\n    # Repo Analytics\n    #---------------------------------------------------\n    repo-analytics:\n      runs-on: ubuntu-22.04\n      environment: \"analytics\"\n      steps:\n        - uses: jgehrcke/github-repo-stats@HEAD\n          with:\n            ghtoken: ${{ secrets.GH_TOKEN_ANALYTICS }}\n\n    #---------------------------------------------------\n    # Check for broken links in *md files\n    #---------------------------------------------------\n#    markdown-link-check:\n#      runs-on: ubuntu-latest\n#      steps:\n#      - uses: actions/checkout@master\n#      - name: Create configuration for handling relative paths\n#        # regex validation: https://regex101.com/r/L2M2wa/1\n#        run: |\n#          cat <<EOF > mlc_config.json\n#          {\n#            \"replacementPatterns\": [\n#              {\n#              \"pattern\": \"^[./]\",\n#              \"replacement\": \"{{BASEURL}}/\"\n#              }\n#              ]\n#          }\n#          EOF\n#      - uses: gaurav-nelson/github-action-markdown-link-check@v1\n#        with:\n#          config-file: 'mlc_config.json'", "state": "active", "repository": "SuperDuperDB/superduperdb"}
{"mined_at": "2024-07-15T18:17:11.240344", "created_at": "2024-01-19T01:20:16+01:00", "updated_at": "2024-01-19T01:20:16+01:00", "name": "Release nightly build in DockerHub", "path": ".github/workflows/nightly-build.yaml", "contents": "name: Release nightly build in DockerHub\non:\n  workflow_dispatch:\n\n\njobs:\n  #---------------------------------------------------\n  # Publish Nightly Sandbox in DockerHub\n  #---------------------------------------------------\n  publish-docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Docker Cache\n        uses: actions/cache@v3\n        with:\n          path: /tmp/.buildx-cache\n          key: ${{ runner.os }}-buildx-${{ github.sha }}\n          restore-keys: |\n            ${{ runner.os }}-buildx-\n\n      - name: Build Nightly Image\n        run: |\n          make build_nightly\n\n      - name: Release Nightly Image\n        run: |\n          make push_nightly", "state": "active", "repository": "SuperDuperDB/superduperdb"}
{"mined_at": "2024-07-15T18:17:13.290423", "created_at": "2023-12-26T14:41:38+01:00", "updated_at": "2023-12-26T14:41:38+01:00", "name": "Compile the project", "path": ".github/workflows/compile.yml", "contents": "name: Compile the project\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'File version (Without spaces and brackets) (Eg: 1.1.0.0, 1.1.0.0-pre)'\n        required: true\n      tagname:\n        description: 'TagName release (Without spaces and brackets) (Eg: 1.1.0.0-test)'\n        required: true\n      release_name:\n        description: 'Release name'\n        required: true\njobs:\n  macOS_Intel:\n    runs-on: macos-13\n    steps:\n      - name: 'Checkout Repo'\n        uses: actions/checkout@v4\n\n      - name: Compile\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install pyinstaller\n          pyinstaller --onefile --clean main.py\n          chmod a+x ./dist/main\n          mv ./dist/main \"./ESET-KeyGen_v${{ github.event.inputs.version }}_macos_amd64\"\n\n      - name: Release\n        if: github.ref == 'refs/heads/main'\n        uses: softprops/action-gh-release@v2\n        with:\n          files: |\n            ESET-KeyGen_v${{ github.event.inputs.version }}_macos_amd64\n          name: ${{ github.event.inputs.release_name }}\n          tag_name: v${{ github.event.inputs.tagname }}\n          draft: false\n          generate_release_notes: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.PAT }}\n  macOS_Arm:\n    runs-on: macos-latest\n    steps:\n      - name: 'Checkout Repo'\n        uses: actions/checkout@v4\n\n      - name: Compile\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install pyinstaller\n          pyinstaller --onefile --clean main.py\n          chmod a+x ./dist/main\n          mv ./dist/main \"./ESET-KeyGen_v${{ github.event.inputs.version }}_macos_arm64\"\n\n      - name: Release\n        if: github.ref == 'refs/heads/main'\n        uses: softprops/action-gh-release@v2\n        with:\n          files: |\n            ESET-KeyGen_v${{ github.event.inputs.version }}_macos_arm64\n          name: ${{ github.event.inputs.release_name }}\n          tag_name: v${{ github.event.inputs.tagname }}\n          draft: false\n          generate_release_notes: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.PAT }}\n  Windows:\n    runs-on: windows-latest\n    steps:\n      - name: 'Checkout Repo'\n        uses: actions/checkout@v4\n\n      - name: Compile (based on Python 3.8.0 x32)\n        run: |\n          mkdir legacy\n          cd legacy\n          Invoke-WebRequest -Uri \"https://github.com/rzc0d3r/ESET-KeyGen/releases/download/python380-portable-win32/python-v3.8.0-portable_win32.zip\" -OutFile \"python-v3.8.0-portable_win32.zip\"\n          Expand-Archive -Path \"python-v3.8.0-portable_win32.zip\" -DestinationPath .\n          .\\python.exe -m pip install pyinstaller --no-warn-script-location\n          .\\python.exe -m pip install -r ../requirements.txt --no-warn-script-location\n          Scripts/pyinstaller.exe --onefile --clean --collect-data selenium_stealth ../main.py\n          Move-Item -Path .\\dist\\main.exe -Destination \".\\ESET-KeyGen_v${{ github.event.inputs.version }}_win32.exe\"\n          cd ..\n\n      - name: Compile (based on Python x64)\n        run: |\n          pip install -r requirements.txt\n          pip install pyinstaller\n          pyinstaller --onefile --clean --collect-data selenium_stealth main.py\n          Move-Item -Path .\\dist\\main.exe -Destination \".\\ESET-KeyGen_v${{ github.event.inputs.version }}_win64.exe\"\n\n      - name: Release\n        if: github.ref == 'refs/heads/main'\n        uses: softprops/action-gh-release@v2\n        with:\n          files: |\n            legacy/ESET-KeyGen_v${{ github.event.inputs.version }}_win32.exe\n            ESET-KeyGen_v${{ github.event.inputs.version }}_win64.exe\n          name: ${{ github.event.inputs.release_name }}\n          tag_name: v${{ github.event.inputs.tagname }}\n          draft: false\n          generate_release_notes: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.PAT }}\n", "state": "active", "repository": "rzc0d3r/ESET-KeyGen"}
{"mined_at": "2024-07-15T18:17:14.517447", "created_at": "2023-12-02T15:29:46+01:00", "updated_at": "2024-03-12T16:01:20+01:00", "name": "Generator", "path": ".github/workflows/eset.yml", "contents": "name: Generator\n\non:\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      account:\n        description: 'Number of Accounts to be generated (default = 0)'\n        required: false\n        default: '0'\n      key:\n        description: 'Number of Keys to be generated (default = 1)'\n        required: false\n        default: '1'\n      mail:\n        description: 'Choose the mail provider to generate license'\n        required: true\n        type: choice\n        options:\n        - 1secmail\n        - hi2in\n        - 10minutemail\n        - guerrillamail\n        - developermail\n        default: developermail\njobs:\n  GenerateKey:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate key\n        run: |\n          ACCOUNT=${{ github.event.inputs.account }}\n          KEY=${{ github.event.inputs.key }}\n          MAIL=${{ github.event.inputs.mail }}\n          git clone https://github.com/rzc0d3r/ESET-KeyGen.git\n          cd ESET-KeyGen\n          sudo apt update\n          sudo apt install python3-pip\n          sudo pip install -r requirements.txt\n          if [[ (${ACCOUNT} != 0) && (${KEY} != 0) ]]\n          then\n          (seq 1 $((ACCOUNT)) | xargs -I {} -P $((ACCOUNT)) python3 main.py --chrome --account --email-api ${MAIL} --skip-webdriver-menu --skip-update-check) & (seq 1 $((KEY)) | xargs -I {} -P $((KEY)) python3 main.py --chrome --key --email-api ${MAIL} --skip-webdriver-menu --skip-update-check)\n          echo \"Account:\" >> $GITHUB_STEP_SUMMARY\n          cat ./*ACCOUNTS.txt >> $GITHUB_STEP_SUMMARY\n          echo -e \"\\nKey:\" >> $GITHUB_STEP_SUMMARY\n          cat ./*KEYS.txt >> $GITHUB_STEP_SUMMARY\n          exit\n          fi\n          \n          if [[ ${ACCOUNT} != 0 ]]\n          then\n          seq 1 $((ACCOUNT)) | xargs -I {} -P $((ACCOUNT)) python3 main.py --chrome --account --email-api ${MAIL} --skip-webdriver-menu --skip-update-check\n          echo -e \"\\nAccount:\" >> $GITHUB_STEP_SUMMARY\n          cat ./*ACCOUNTS.txt >> $GITHUB_STEP_SUMMARY\n          fi\n          \n          if [[ ${KEY} != 0 ]]\n          then\n          seq 1 $((KEY)) | xargs -I {} -P $((KEY)) python3 main.py --chrome --key --email-api ${MAIL} --skip-webdriver-menu --skip-update-check\n          echo -e \"\\nKey:\" >> $GITHUB_STEP_SUMMARY\n          cat ./*KEYS.txt >> $GITHUB_STEP_SUMMARY\n          fi\n", "state": "active", "repository": "rzc0d3r/ESET-KeyGen"}
{"mined_at": "2024-07-15T18:17:15.643697", "created_at": "2023-12-02T16:55:25+01:00", "updated_at": "2023-12-04T22:17:46+01:00", "name": "Test the project and update the test-date", "path": ".github/workflows/test.yml", "contents": "name: Test the project and update the test-date\n\non:\n  schedule:\n    - cron: '0 */8 * * *'\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\njobs:\n  Test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repo'\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n          fetch-depth: 0\n      - name: 'Generate key and update the test time'\n        run: |\n          ACCOUNT=0\n          KEY=1\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git clone --depth 1 https://github.com/rzc0d3r/ESET-KeyGen.git\n          cd ESET-KeyGen\n          sudo apt update\n          sudo apt install python3-pip\n          sudo pip install -r requirements.txt\n          echo \"Test results:\" >> $GITHUB_STEP_SUMMARY\n          if [[ ${ACCOUNT} != 0 ]]\n          then\n          for ((attempt=1;attempt<=${ACCOUNT};++attempt))\n          do\n          python3 main.py --chrome --account --email-api guerrillamail --skip-update-check\n          done\n          echo -e \"\\nAccounts generated:\" >> $GITHUB_STEP_SUMMARY\n          cat ./*ACCOUNTS.txt >> $GITHUB_STEP_SUMMARY\n          fi\n          if [[ ${KEY} != 0 ]]\n          then\n          for ((attempt=1;attempt<=${KEY};++attempt))\n          do\n          python3 main.py --chrome --key --email-api guerrillamail --skip-update-check\n          done\n          echo -e \"\\nKeys generated:\" >> $GITHUB_STEP_SUMMARY\n          cat ./*KEYS.txt >> $GITHUB_STEP_SUMMARY\n          fi\n          echo \n          cd ${{ github.workspace }}\n          sed -i '/^ESET-KeyGen - Trial-Key & Account generator/ c\\ESET-KeyGen - Trial-Key & Account generator for ESET Antivirus (last test was on '\"$(date -u --date='3 hours' +\"%d.%m.%Y at %H:%M UTC+3\")\"')' README.md\n          sudo rm -r ESET-KeyGen\n          git pull\n          git commit -m \"Update test time\" -a\n      - name: Push changes to the repo\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.PAT }}\n          branch: ${{ github.ref }}\n", "state": "active", "repository": "rzc0d3r/ESET-KeyGen"}
{"mined_at": "2024-07-15T18:17:17.896278", "created_at": "2022-12-28T10:12:20+01:00", "updated_at": "2022-12-28T15:03:19+01:00", "name": "Build Frontend", "path": ".github/workflows/build-frontend.yaml", "contents": "name: Build Frontend\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - website/**\n  pull_request:\n    paths:\n      - website/**\n  workflow_call:\n\njobs:\n  build-frontend:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./website\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 16.x\n          cache: \"npm\"\n          cache-dependency-path: website/package-lock.json\n      - run: npm ci\n      - run: npx prisma generate\n      - run: npm run build\n", "state": "active", "repository": "LAION-AI/Open-Assistant"}
{"mined_at": "2024-07-15T18:17:19.022734", "created_at": "2023-01-17T11:13:54+01:00", "updated_at": "2023-01-17T11:13:54+01:00", "name": "Build OASST Postgres image", "path": ".github/workflows/build-postgres.yaml", "contents": "name: Build OASST Postgres image\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - docker/oasst-postgres/**\n\njobs:\n  build-postgres:\n    uses: ./.github/workflows/docker-build.yaml\n    with:\n      image-name: oasst-postgres\n      context: ./docker/oasst-postgres\n      dockerfile: docker/oasst-postgres/Dockerfile\n      build-args: \"\"", "state": "active", "repository": "LAION-AI/Open-Assistant"}
{"mined_at": "2024-07-15T18:17:20.251209", "created_at": "2023-01-04T00:26:53+01:00", "updated_at": "2023-01-06T23:48:33+01:00", "name": "Deploy docs to gitHub pages", "path": ".github/workflows/deploy-docs-site.yaml", "contents": "name: Deploy docs to gitHub pages\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \".github/workflows/deploy-docs-site.yaml\"\n      - \"docs/**\"\n  pull_request:\n    paths:\n      - \".github/workflows/deploy-docs-site.yaml\"\n      - \"docs/**\"\n\njobs:\n  deploy:\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: write\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n    defaults:\n      run:\n        working-directory: docs\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup Node\n        uses: actions/setup-node@v3\n        with:\n          node-version: \"18\"\n\n      - name: Install dependencies\n        run: yarn install --frozen-lockfile\n      - name: Build website\n        run: yarn build\n\n      - name: Deploy to GitHub Pages\n        uses: peaceiris/actions-gh-pages@v3\n        if: ${{ github.ref == 'refs/heads/main' }}\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./docs/build\n", "state": "active", "repository": "LAION-AI/Open-Assistant"}
{"mined_at": "2024-07-15T18:17:21.435755", "created_at": "2023-01-15T23:30:25+01:00", "updated_at": "2023-01-15T23:30:25+01:00", "name": "Deploy to node", "path": ".github/workflows/deploy-to-node.yaml", "contents": "name: Deploy to node\n\non:\n  workflow_call:\n    inputs:\n      stack-name:\n        required: false\n        type: string\n        default: dev\n      image-tag:\n        required: false\n        type: string\n        default: latest\n      backend-port:\n        required: false\n        type: string\n        default: 8080\n      website-port:\n        required: false\n        type: string\n        default: 3000\n      inference-server-port:\n        required: false\n        type: string\n        default: 8085\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment: ${{ inputs.stack-name }}\n    env:\n      WEB_ADMIN_USERS: ${{ secrets.DEV_WEB_ADMIN_USERS }}\n      WEB_MODERATOR_USERS: ${{ secrets.DEV_WEB_MODERATOR_USERS }}\n      WEB_DISCORD_CLIENT_ID: ${{ secrets.DEV_WEB_DISCORD_CLIENT_ID }}\n      WEB_DISCORD_CLIENT_SECRET: ${{ secrets.DEV_WEB_DISCORD_CLIENT_SECRET }}\n      WEB_GOOGLE_CLIENT_ID: ${{ secrets.DEV_WEB_GOOGLE_CLIENT_ID }}\n      WEB_GOOGLE_CLIENT_SECRET: ${{ secrets.DEV_WEB_GOOGLE_CLIENT_SECRET }}\n      WEB_EMAIL_SERVER_HOST: ${{ secrets.DEV_WEB_EMAIL_SERVER_HOST }}\n      WEB_EMAIL_SERVER_PASSWORD: ${{ secrets.DEV_WEB_EMAIL_SERVER_PASSWORD }}\n      WEB_EMAIL_SERVER_PORT: ${{ secrets.DEV_WEB_EMAIL_SERVER_PORT }}\n      WEB_EMAIL_SERVER_USER: ${{ secrets.DEV_WEB_EMAIL_SERVER_USER }}\n      WEB_NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }}\n      S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }}\n      S3_REGION: ${{ secrets.S3_REGION }}\n      AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}\n      AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}\n      INIT_PROMPT_DISABLED_LANGS: ${{ vars.INIT_PROMPT_DISABLED_LANGS }}\n      MAX_ACTIVE_TREES: ${{ vars.MAX_ACTIVE_TREES }}\n      MAX_INITIAL_PROMPT_REVIEW: ${{ vars.MAX_INITIAL_PROMPT_REVIEW }}\n      MAX_TREE_DEPTH: ${{ vars.MAX_TREE_DEPTH }}\n      MAX_CHILDREN_COUNT: ${{ vars.MAX_CHILDREN_COUNT }}\n      LONELY_CHILDREN_COUNT: ${{ vars.LONELY_CHILDREN_COUNT }}\n      P_LONELY_CHILD_EXTENSION: ${{ vars.P_LONELY_CHILD_EXTENSION }}\n      P_ACTIVATE_BACKLOG_TREE: ${{ vars.P_ACTIVATE_BACKLOG_TREE }}\n      NUM_REQUIRED_RANKINGS: ${{ vars.NUM_REQUIRED_RANKINGS }}\n      NUM_REVIEWS_REPLY: ${{ vars.NUM_REVIEWS_REPLY }}\n      NUM_REVIEWS_INITIAL_PROMPT: ${{ vars.NUM_REVIEWS_INITIAL_PROMPT }}\n      MIN_ACTIVE_RANKINGS_PER_LANG: ${{ vars.MIN_ACTIVE_RANKINGS_PER_LANG }}\n      MAX_PROMPT_LOTTERY_WAITING: ${{ vars.MAX_PROMPT_LOTTERY_WAITING }}\n      GOAL_TREE_SIZE: ${{ vars.GOAL_TREE_SIZE }}\n      MESSAGE_SIZE_LIMIT: ${{ vars.MESSAGE_SIZE_LIMIT }}\n      SKIP_TOXICITY_CALCULATION: ${{ vars.SKIP_TOXICITY_CALCULATION }}\n      STATS_INTERVAL_DAY: ${{ vars.STATS_INTERVAL_DAY }}\n      STATS_INTERVAL_WEEK: ${{ vars.STATS_INTERVAL_WEEK }}\n      STATS_INTERVAL_MONTH: ${{ vars.STATS_INTERVAL_MONTH }}\n      STATS_INTERVAL_TOTAL: ${{ vars.STATS_INTERVAL_TOTAL }}\n      DISCORD_API_KEY: ${{ secrets.DISCORD_API_KEY }}\n      DISCORD_CHANNEL_ID: ${{ vars.DISCORD_CHANNEL_ID }}\n      WEB_NEXT_PUBLIC_CLOUDFLARE_CAPTCHA_SITE_KEY:\n        ${{ secrets.WEB_NEXT_PUBLIC_CLOUDFLARE_CAPTCHA_SITE_KEY }}\n      WEB_CLOUDFLARE_CAPTCHA_SECRET_KEY:\n        ${{ secrets.WEB_CLOUDFLARE_CAPTCHA_SECRET_KEY }}\n      WEB_NEXT_PUBLIC_ENABLE_EMAIL_SIGNIN_CAPTCHA:\n        ${{ vars.WEB_NEXT_PUBLIC_ENABLE_EMAIL_SIGNIN_CAPTCHA }}\n      WEB_NEXT_PUBLIC_ENABLE_EMAIL_SIGNIN:\n        ${{ vars.WEB_NEXT_PUBLIC_ENABLE_EMAIL_SIGNIN }}\n      LOGURU_LEVEL: ${{ vars.LOGURU_LEVEL }}\n      MAINTENANCE_MODE: ${{ vars.MAINTENANCE_MODE }}\n      BACKEND_URL: ${{ vars.BACKEND_URL }}\n      WEB_NEXT_PUBLIC_BACKEND_URL: ${{ vars.WEB_NEXT_PUBLIC_BACKEND_URL }}\n      BACKEND_CORS_ORIGINS: ${{ vars.BACKEND_CORS_ORIGINS }}\n      WEB_INFERENCE_SERVER_HOST: ${{ vars.WEB_INFERENCE_SERVER_HOST }}\n      WEB_ENABLE_CHAT: ${{ vars.WEB_ENABLE_CHAT }}\n      WEB_BYE: ${{ vars.WEB_BYE }}\n      WEB_ENABLE_DRAFTS_WITH_PLUGINS: ${{ vars.WEB_ENABLE_DRAFTS_WITH_PLUGINS }}\n      WEB_NUM_GENERATED_DRAFTS: ${{ vars.WEB_NUM_GENERATED_DRAFTS }}\n      WEB_CURRENT_ANNOUNCEMENT: ${{ vars.WEB_CURRENT_ANNOUNCEMENT }}\n      WEB_INFERENCE_SERVER_API_KEY: ${{secrets.WEB_INFERENCE_SERVER_API_KEY}}\n      INFERENCE_POSTGRES_PASSWORD: ${{secrets.INFERENCE_POSTGRES_PASSWORD}}\n      INFERENCE_ALLOW_DEBUG_AUTH: ${{vars.INFERENCE_ALLOW_DEBUG_AUTH}}\n      INFERENCE_DEBUG_API_KEYS: ${{vars.INFERENCE_DEBUG_API_KEYS}}\n      INFERENCE_LOG_LEVEL: ${{vars.INFERENCE_LOG_LEVEL}}\n      INFERENCE_ROOT_TOKEN: ${{secrets.INFERENCE_ROOT_TOKEN}}\n      INFERENCE_API_ROOT: ${{vars.INFERENCE_API_ROOT}}\n      INFERENCE_TRUSTED_CLIENT_KEYS: ${{secrets.INFERENCE_TRUSTED_CLIENT_KEYS}}\n      INFERENCE_AUTH_SALT: ${{secrets.INFERENCE_AUTH_SALT}}\n      INFERENCE_AUTH_SECRET: ${{secrets.INFERENCE_AUTH_SECRET}}\n      INFERENCE_AUTH_DISCORD_CLIENT_ID: ${{secrets.INFERENCE_AUTH_DISCORD_CLIENT_ID}}\n      INFERENCE_AUTH_DISCORD_CLIENT_SECRET: ${{secrets.INFERENCE_AUTH_DISCORD_CLIENT_SECRET}}\n      INFERENCE_AUTH_GITHUB_CLIENT_ID: ${{secrets.INFERENCE_AUTH_GITHUB_CLIENT_ID}}\n      INFERENCE_AUTH_GITHUB_CLIENT_SECRET: ${{secrets.INFERENCE_AUTH_GITHUB_CLIENT_SECRET}}\n      INFERENCE_CORS_ORIGINS: ${{ vars.INFERENCE_CORS_ORIGINS }}\n      INFERENCE_ALLOWED_MODEL_CONFIG_NAMES:\n        ${{ vars.INFERENCE_ALLOWED_MODEL_CONFIG_NAMES }}\n      INFERENCE_ASSISTANT_MESSAGE_TIMEOUT:\n        ${{ vars.INFERENCE_ASSISTANT_MESSAGE_TIMEOUT }}\n      INFERENCE_MESSAGE_QUEUE_EXPIRE: ${{ vars.INFERENCE_MESSAGE_QUEUE_EXPIRE }}\n      INFERENCE_WORK_QUEUE_MAX_SIZE: ${{ vars.INFERENCE_WORK_QUEUE_MAX_SIZE }}\n      INFERENCE_ENABLE_SAFETY: ${{ vars.INFERENCE_ENABLE_SAFETY }}\n      INFERENCE_GUNICORN_WORKERS: ${{ vars.INFERENCE_GUNICORN_WORKERS }}\n      INFERENCE_CHAT_MAX_MESSAGES: ${{ vars.INFERENCE_CHAT_MAX_MESSAGES }}\n      INFERENCE_MESSAGE_MAX_LENGTH: ${{ vars.INFERENCE_MESSAGE_MAX_LENGTH }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: Run deploy playbook\n        uses: dawidd6/action-ansible-playbook@v2\n        with:\n          # Required, playbook filepath\n          playbook: deploy-to-node.yaml\n          # Optional, directory where playbooks live\n          directory: ansible\n          # Optional, SSH private key\n          key: ${{secrets.DEV_NODE_PRIVATE_KEY}}\n          # Optional, literal inventory file contents\n          inventory: |\n            [dev]\n            dev01 ansible_host=${{secrets.DEV_NODE_IP}} ansible_connection=ssh ansible_user=web-team\n          options: |\n            --extra-vars \"stack_name=${{inputs.stack-name}} \\\n            image_tag=${{inputs.image-tag}} \\\n            backend_port=${{inputs.backend-port}} \\\n            website_port=${{inputs.website-port}} \\\n            postgres_password=${{secrets.POSTGRES_PASSWORD}} \\\n            web_api_key=${{secrets.WEB_API_KEY}}\"\n\n      - name: Run inference deploy playbook\n        uses: dawidd6/action-ansible-playbook@v2\n        with:\n          # Required, playbook filepath\n          playbook: inference/deploy-server.yaml\n          # Optional, directory where playbooks live\n          directory: ansible\n          # Optional, SSH private key\n          key: ${{secrets.DEV_NODE_PRIVATE_KEY}}\n          # Optional, literal inventory file contents\n          inventory: |\n            [dev]\n            dev01 ansible_host=${{secrets.DEV_NODE_IP}} ansible_connection=ssh ansible_user=web-team\n          options: |\n            --extra-vars \"stack_name=${{inputs.stack-name}} \\\n            image_tag=${{inputs.image-tag}} \\\n            server_port=${{inputs.inference-server-port}}\"\n", "state": "active", "repository": "LAION-AI/Open-Assistant"}
{"mined_at": "2024-07-15T18:17:22.505221", "created_at": "2022-12-17T22:20:00+01:00", "updated_at": "2022-12-17T22:20:00+01:00", "name": "Build", "path": ".github/workflows/docker-build.yaml", "contents": "name: Build\n\non:\n  workflow_call:\n    inputs:\n      dockerfile:\n        required: true\n        type: string\n      context:\n        required: true\n        type: string\n      image-name:\n        required: true\n        type: string\n      build-args:\n        required: false\n        type: string\n\njobs:\n  build:\n    name: Build Images\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2.2.1\n      - name: Login to container registry\n        uses: docker/login-action@v2.1.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Get base registry\n        run: |\n          echo \"REGISTRY=ghcr.io/${GITHUB_REPOSITORY,,}\" >> $GITHUB_ENV\n      - name: Set tag prefix\n        if: github.ref_name != 'main'\n        run: |\n          echo \"TAG_PREFIX=${{ github.ref_name }}-\" >> $GITHUB_ENV\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4.1.1\n        with:\n          images: ${{ env.REGISTRY }}/${{ inputs.image-name }}\n          tags: |\n            type=raw,value=latest,enable=${{ github.ref_name == 'main' }}\n            type=sha,prefix=${{ env.TAG_PREFIX }},format=short,enable=${{ github.ref_name != 'main' }}\n            type=ref,event=tag,enable=${{ github.ref_name != 'main' }}\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v3.2.0\n        with:\n          file: ${{ inputs.dockerfile }}\n          context: ${{ inputs.context }}\n          build-args: ${{ inputs.build-args }}\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n", "state": "active", "repository": "LAION-AI/Open-Assistant"}
{"mined_at": "2024-07-15T18:17:23.640068", "created_at": "2022-12-13T12:39:23+01:00", "updated_at": "2022-12-13T12:39:23+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yaml", "contents": "name: pre-commit\n\non:\n  workflow_call:\n  pull_request_target:\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      # in case of PR, check out the PR's head branch\n      - uses: actions/checkout@v3\n        if: github.event_name == 'pull_request_target'\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n\n      # in case of push, check out the main branch\n      - uses: actions/checkout@v3\n        if: github.event_name != 'pull_request_target'\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n          cache-dependency-path: \"**/requirements*.txt\"\n      - uses: pre-commit/action@v3.0.0\n      - name: Post PR comment on failure\n        if: failure() && github.event_name == 'pull_request_target'\n        uses: peter-evans/create-or-update-comment@v2\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            :x: **pre-commit** failed.\n            Please run `pre-commit run --all-files` locally and commit the changes.\n            Find more information in the repository's CONTRIBUTING.md\n", "state": "active", "repository": "LAION-AI/Open-Assistant"}
{"mined_at": "2024-07-15T18:17:24.808977", "created_at": "2023-01-16T00:24:06+01:00", "updated_at": "2023-01-16T00:24:06+01:00", "name": "Deploy to prod", "path": ".github/workflows/production-deploy.yaml", "contents": "name: Deploy to prod\n\non:\n  push:\n    branches:\n      - production\n\njobs:\n  deploy-to-prod:\n    uses: ./.github/workflows/deploy-to-node.yaml\n    secrets: inherit\n    with:\n      stack-name: production\n      image-tag: ${{ vars.PROD_IMAGE_TAG }}\n      backend-port: 8280\n      website-port: 3200\n      inference-server-port: 8285\n", "state": "active", "repository": "LAION-AI/Open-Assistant"}
{"mined_at": "2024-07-15T18:17:26.088231", "created_at": "2023-02-04T20:42:26+01:00", "updated_at": "2023-02-04T20:42:26+01:00", "name": "Deploy to prod2", "path": ".github/workflows/production2-deploy.yaml", "contents": "name: Deploy to prod2\n\non:\n  push:\n    branches:\n      - production2\n\njobs:\n  deploy-to-prod:\n    uses: ./.github/workflows/deploy-to-node.yaml\n    secrets: inherit\n    with:\n      stack-name: production2\n      image-tag: ${{ vars.PROD_IMAGE_TAG }}\n      backend-port: 8280\n      website-port: 3200\n      inference-server-port: 8285\n", "state": "active", "repository": "LAION-AI/Open-Assistant"}
{"mined_at": "2024-07-15T18:17:27.201521", "created_at": "2022-12-17T22:50:03+01:00", "updated_at": "2022-12-17T22:50:03+01:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "name: Release\n\non:\n  push:\n    branches:\n      - main\n  release:\n    types:\n      - released\n\njobs:\n  pre-commit:\n    uses: ./.github/workflows/pre-commit.yaml\n  build-backend:\n    uses: ./.github/workflows/docker-build.yaml\n    needs: pre-commit\n    with:\n      image-name: oasst-backend\n      context: .\n      dockerfile: docker/Dockerfile.backend\n      build-args: \"\"\n  build-backend-worker:\n    uses: ./.github/workflows/docker-build.yaml\n    needs: pre-commit\n    with:\n      image-name: oasst-backend-worker\n      context: .\n      dockerfile: docker/Dockerfile.backend-worker\n      build-args: \"\"\n  build-web:\n    uses: ./.github/workflows/docker-build.yaml\n    needs: pre-commit\n    with:\n      image-name: oasst-web\n      context: .\n      dockerfile: docker/Dockerfile.website\n      build-args: \"\"\n  build-bot:\n    uses: ./.github/workflows/docker-build.yaml\n    needs: pre-commit\n    with:\n      image-name: oasst-discord-bot\n      context: .\n      dockerfile: docker/Dockerfile.discord-bot\n      build-args: \"\"\n  build-inference-server:\n    uses: ./.github/workflows/docker-build.yaml\n    needs: pre-commit\n    with:\n      image-name: oasst-inference-server\n      context: .\n      dockerfile: docker/inference/Dockerfile.server\n      build-args: \"\"\n  build-inference-worker-full:\n    uses: ./.github/workflows/docker-build.yaml\n    needs: pre-commit\n    with:\n      image-name: oasst-inference-worker-full\n      context: .\n      dockerfile: docker/inference/Dockerfile.worker-full\n      build-args: \"\"\n  build-inference-worker-hf:\n    uses: ./.github/workflows/docker-build.yaml\n    needs: pre-commit\n    with:\n      image-name: oasst-inference-worker-hf\n      context: .\n      dockerfile: docker/inference/Dockerfile.worker-hf\n      build-args: \"\"\n  build-inference-worker-standalone:\n    uses: ./.github/workflows/docker-build.yaml\n    needs: pre-commit\n    with:\n      image-name: oasst-inference-worker-standalone\n      context: .\n      dockerfile: docker/inference/Dockerfile.worker-standalone\n      build-args: \"\"\n  build-inference-safety:\n    uses: ./.github/workflows/docker-build.yaml\n    needs: pre-commit\n    with:\n      image-name: oasst-inference-safety\n      context: .\n      dockerfile: docker/inference/Dockerfile.safety\n      build-args: \"\"\n  deploy-to-node:\n    needs:\n      - build-backend\n      - build-backend-worker\n      - build-web\n      - build-bot\n      - build-inference-server\n    uses: ./.github/workflows/deploy-to-node.yaml\n    secrets: inherit\n    with:\n      stack-name: ${{ github.event_name == 'release' && 'staging' || 'dev' }}\n      image-tag:\n        ${{ github.event_name == 'release' && github.event.release.tag_name ||\n        'latest' }}\n      backend-port: ${{ github.event_name == 'release' && '8180' || '8080' }}\n      website-port: ${{ github.event_name == 'release' && '3100' || '3000' }}\n      inference-server-port:\n        ${{ github.event_name == 'release' && '8185' || '8085' }}\n", "state": "active", "repository": "LAION-AI/Open-Assistant"}
{"mined_at": "2024-07-15T18:17:28.269837", "created_at": "2023-01-01T19:05:19+01:00", "updated_at": "2023-01-01T21:53:09+01:00", "name": "Test API Contract", "path": ".github/workflows/test-api-contract.yaml", "contents": "name: Test API Contract\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"oasst-shared/**\"\n      - \"backend/**\"\n      - \"website/**\"\n  pull_request:\n    paths:\n      - \"oasst-shared/**\"\n      - \"backend/**\"\n      - \"website/**\"\n  workflow_call:\n\njobs:\n  test-contract:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n          cache-dependency-path: \"**/requirements*.txt\"\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 16\n\n      - run: pip install ./oasst-shared[dev]\n\n      - run: pip install ./oasst-data[dev]\n\n      - run: cd backend && pip install -r requirements.txt\n\n      - run: cd website && npm ci\n\n      - run: ./scripts/backend-development/start-mock-server.sh\n\n      - name: Run Python OasstApiClient contract tests\n        run: ./scripts/oasst-shared-development/test.sh\n\n      - name: Run JavaScript OasstApiClient contract tests\n        run: ./scripts/frontend-development/run-contract-test.sh\n\n      - run: ./scripts/backend-development/stop-mock-server.sh\n\n      #- uses: stefanzweifel/git-auto-commit-action@v4\n      #  with:\n      #    file_pattern: \"docs/docs/api/openapi.json\"\n      #    commit_message:\n      #      update docs/docs/api/openapi.json by run ${{ github.run_id }}\n", "state": "active", "repository": "LAION-AI/Open-Assistant"}
{"mined_at": "2024-07-15T18:17:29.468021", "created_at": "2023-01-10T00:23:23+01:00", "updated_at": "2023-01-10T00:23:23+01:00", "name": "E2E Tests (Website)", "path": ".github/workflows/test-e2e.yaml", "contents": "name: E2E Tests (Website)\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - oasst-shared/**\n      - backend/**\n      - website/**\n  pull_request:\n    paths:\n      - oasst-shared/**\n      - backend/**\n      - website/**\n\njobs:\n  test-e2e:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Start website, backend, etc\n        run: docker compose --profile ci up --build -d\n      - name: Run Cypress tests\n        uses: cypress-io/github-action@v5.0.2\n        with:\n          browser: chrome\n          working-directory: website\n      - uses: actions/upload-artifact@v3\n        if: failure() # NOTE: screenshots will be generated only if E2E test failed\n        with:\n          name: cypress-screenshots\n          path: website/cypress/screenshots\n      - uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: cypress-videos\n          path: website/cypress/videos\n", "state": "active", "repository": "LAION-AI/Open-Assistant"}
{"mined_at": "2024-07-15T18:17:30.597590", "created_at": "2022-12-13T11:09:56+01:00", "updated_at": "2022-12-13T11:09:56+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "LAION-AI/Open-Assistant"}
{"mined_at": "2024-07-15T18:17:32.710820", "created_at": "2023-04-29T04:06:15+02:00", "updated_at": "2023-04-29T04:06:15+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mlc-ai/mlc-llm"}
{"mined_at": "2024-07-15T18:17:33.870909", "created_at": "2024-03-13T00:48:58+01:00", "updated_at": "2024-03-13T13:50:32+01:00", "name": "Windows CI", "path": ".github/workflows/windows-build.yaml", "contents": "# GH actions.\n# We use it to cover windows builds\n# Jenkins is still the primary CI\nname: Windows CI\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  Windows:\n    runs-on: windows-latest\n    defaults:\n      run:\n        shell: 'cmd /C call {0}'\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        submodules: 'recursive'\n    - uses: conda-incubator/setup-miniconda@v2\n      with:\n        activate-environment: mlc-llm-build\n        channel-priority: strict\n        environment-file: ci/build-environment.yaml\n        auto-activate-base: false\n    - name: Conda info\n      run: |\n        conda info\n        conda list\n        python --version\n    - name: Build MLC-LLM\n      run: >-\n        ci/task/build_win.bat\n", "state": "active", "repository": "mlc-ai/mlc-llm"}
{"mined_at": "2024-07-15T18:17:35.099971", "created_at": "2024-03-13T13:50:32+01:00", "updated_at": "2024-03-13T13:50:32+01:00", "name": "Build Docs", "path": ".github/workflows/documentation.yaml", "contents": "name: Build Docs\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  test_linux:\n    name: Deploy Docs\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: recursive\n\n    - name: Configuring build Environment\n      run: |\n        sudo apt-get update\n        python -m pip install -U pip wheel\n\n    - name: Setup Ruby\n      uses: ruby/setup-ruby@v1\n      with:\n        ruby-version: '3.0'\n\n    - name: Installing dependencies\n      run: |\n        python -m pip install -r docs/requirements.txt\n        gem install jekyll jekyll-remote-theme\n\n    - name: Deploying on GitHub Pages\n      if: github.ref == 'refs/heads/main'\n      run: |\n        git remote set-url origin https://x-access-token:${{ secrets.MLC_GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY\n        git config --global user.email \"mlc-gh-actions-bot@nomail\"\n        git config --global user.name \"mlc-gh-actions-bot\"\n        ./scripts/gh_deploy_site.sh\n", "state": "active", "repository": "mlc-ai/mlc-llm"}
{"mined_at": "2024-07-15T18:17:36.226883", "created_at": "2024-03-13T13:50:32+01:00", "updated_at": "2024-03-13T13:50:32+01:00", "name": "Relax Submodule Sync", "path": ".github/workflows/update-relax.yaml", "contents": "name: 'Relax Submodule Sync'\n\non:\n  workflow_dispatch:\n\njobs:\n  sync:\n    name: 'Relax Submodule Sync'\n    runs-on: ubuntu-latest\n\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n      with:\n        submodules: true\n\n    - name: Git Sumbodule Update\n      run: |\n        git submodule update --remote 3rdparty/tvm\n\n    - name: Commit update\n      env:\n        GITHUB_TOKEN: ${{ secrets.MLC_GITHUB_TOKEN }}\n      run: |\n        git config --global user.name 'Git bot'\n        git config --global user.email 'bot@noreply.github.com'\n        git remote set-url origin https://$GITHUB_TOKEN@github.com/mlc-ai/mlc-llm\n        git commit -am \"Auto updated submodule references\" && git push || echo \"No changes to commit\"\n", "state": "active", "repository": "mlc-ai/mlc-llm"}
{"mined_at": "2024-07-15T18:17:38.360419", "created_at": "2023-06-21T14:37:05+02:00", "updated_at": "2023-11-08T08:09:22+01:00", "name": "Python CI", "path": ".github/workflows/ci.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Python CI\n\non:\n  push:\n    branches: [ \"main\", \"dev\" ]\n  pull_request:\n    branches: [ \"main\", \"dev\" ]\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n        ref: ${{ github.event.pull_request.head.ref }}\n        repository: ${{ github.event.pull_request.head.repo.full_name }}\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.9\"\n\n    - name: Cache Python dependencies\n      uses: actions/cache@v2\n      with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8 pytest\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n \n  test:\n\n    permissions:\n      # Gives the action the necessary permissions for publishing new\n      # comments in pull requests.\n      pull-requests: write\n      # Gives the action the necessary permissions for pushing data to the\n      # python-coverage-comment-action branch, and for editing existing\n      # comments (to avoid publishing multiple comments in the same PR)\n      contents: write\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        python-version: [\"3.9\"]\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.ref }}\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          submodules: true\n\n      - name: Configure git user SuperAGI-Bot\n        run: |\n          git config --global user.name \"SuperAGI-Bot\"\n          git config --global user.email \"github-bot@superagi.com\"\n          \n      - name: Set up Python 3.9\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.9\"\n\n      - name: Cache dependencies\n        uses: actions/cache@v2\n        with:\n            path: ~/.cache/pip\n            key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n            restore-keys: |\n              ${{ runner.os }}-pip-\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          \n      - name: Test with pytest\n        run: |\n          pytest --cov=superagi --cov-branch --cov-report term-missing --cov-report xml \\\n            tests/unit_tests -s\n        env:\n          CI: true\n          ENV: DEV\n          PLAIN_OUTPUT: True\n          REDIS_URL: \"localhost:6379\"\n          IS_TESTING: True\n          ENCRYPTION_KEY: \"abcdefghijklmnopqrstuvwxyz123456\"\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v3\n", "state": "active", "repository": "TransformerOptimus/SuperAGI"}
{"mined_at": "2024-07-15T18:17:39.503633", "created_at": "2023-07-03T09:17:05+02:00", "updated_at": "2023-07-03T10:37:50+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [ 'main', 'dev' ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ 'main' ]\n  schedule:\n    - cron: '48 0 * * 2'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "TransformerOptimus/SuperAGI"}
{"mined_at": "2024-07-15T18:17:41.758437", "created_at": "2020-01-11T07:58:51+01:00", "updated_at": "2020-01-11T07:58:51+01:00", "name": "Build Docs", "path": "", "contents": null, "state": "active", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:42.747019", "created_at": "2021-12-17T01:16:38+01:00", "updated_at": "2021-12-17T01:16:38+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:43.913903", "created_at": "2022-09-08T18:52:45+02:00", "updated_at": "2022-09-09T21:39:50+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ \"main\" ]\n    paths:\n      - '**/*.py'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #   echo \"Run, Build Application using script\"\n    #   ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:45.135923", "created_at": "2023-02-02T19:32:49+01:00", "updated_at": "2023-02-02T19:32:49+01:00", "name": "Generate Docodile Documentation", "path": ".github/workflows/generate-docodile-documentation.yml", "contents": "name: Generate Docodile Documentation\n\nenv:\n  # share an ssh-agent socket across jobs\n  SSH_AUTH_SOCK: /tmp/ssh_agent.sock\n\non: # Whenever a release is published,\n  release:\n    types: [published]\n  workflow_dispatch:\n    inputs:\n      ref:\n        description: 'Reference (tag or commit sha) to generate docs from'\n        required: false\n\njobs: # update the docs.\n  update-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Prepare wandb-branch value\n        run: |\n          REF_VALUE=\"${{ github.event.inputs.ref }}\"\n          if [[ -z \"$REF_VALUE\" ]]; then\n            REF_VALUE=\"${{ github.event.release.tag_name }}\"\n          fi\n          if [[ \"$REF_VALUE\" == refs/tags/* ]]; then\n          echo \"WANDB_BRANCH=${REF_VALUE/refs\\/tags\\//}\" >> \"$GITHUB_ENV\"\n          else\n          echo \"WANDB_BRANCH=${REF_VALUE}\" >> \"$GITHUB_ENV\"\n          fi\n\n      - uses: wandb/docugen@v0.4.4\n        with:\n          docodile-branch: main\n          wandb-branch: $WANDB_BRANCH\n          generate-sdk-docs: true\n          generate-weave-docs: false\n          access-token: ${{ secrets.DOCUGEN_ACCESS_TOKEN }}\n", "state": "active", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:46.364864", "created_at": "2023-07-06T00:43:22+02:00", "updated_at": "2024-05-02T23:18:13+02:00", "name": "Validate PR title", "path": ".github/workflows/check-pr-title.yml", "contents": "name: Validate PR title\n\non:\n  pull_request:\n    types: [opened, edited, synchronize]\n\njobs:\n  cc:\n    name: check conventional commit compliance\n    runs-on: ubuntu-latest\n    steps:\n      # check the basic semantic compliance of the PR title\n      # https://github.com/amannn/action-semantic-pull-request/releases\n      - uses: amannn/action-semantic-pull-request@v5.5.2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          # Allowed types: add a notion doc\n          types: |\n            feat\n            fix\n            docs\n            style\n            refactor\n            perf\n            test\n            build\n            ci\n            chore\n            revert\n            security\n            release\n          # Product based scopes\n          scopes: |\n            core\n            sdk\n            cli\n            public-api\n            artifacts\n            media\n            sweeps\n            launch\n            integrations\n            deps\n          requireScope: true\n          wip: true\n          validateSingleCommit: false\n          validateSingleCommitMatchesPrTitle: false\n", "state": "active", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:47.390842", "created_at": "2023-08-09T02:43:22+02:00", "updated_at": "2023-08-09T09:29:01+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-go@v5\n      with:\n        go-version: '1.22'\n    - uses: actions/setup-python@v3\n    - name: setup env\n      run: |\n        ./core/scripts/code-checks.sh update\n    - uses: pre-commit/action@v3.0.0\n      with:\n        extra_args: --hook-stage pre-push --all-files\n      env:\n        SKIP: go-generate-graphql\n", "state": "active", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:48.408663", "created_at": "2023-09-14T04:07:21+02:00", "updated_at": "2023-09-19T18:47:12+02:00", "name": "Build Launch Agent", "path": ".github/workflows/build-launch-agent.yml", "contents": "name: Build Launch Agent\n\non:\n  workflow_dispatch:\n    inputs:\n      ref:\n        type: string\n        required: false\n        description: wandb ref to build agent from\n        default: main\n      tagName:\n        type: string\n        required: true\n        description: Tag Name for the launch agent\n\ndefaults:\n  run:\n    working-directory: ./tools/launch/build\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - id: build\n        name: Build launch agent\n        run: |\n          docker context create builder\n          docker buildx create --use\n\n          REF=${{ github.event.inputs.ref }}\n\n          TAG=${{ github.event.inputs.tagName }}\n\n          echo Building launch agent image for version $TAG\n          docker buildx build --platform linux/amd64,linux/arm64 --build-arg REF=$REF -t wandb/launch-agent-dev:$TAG -t wandb/launch-agent-dev:latest . --push\n", "state": "active", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:49.642186", "created_at": "2023-09-14T16:53:14+02:00", "updated_at": "2023-09-19T18:47:12+02:00", "name": "Release Launch Agent", "path": ".github/workflows/release-launch-agent.yml", "contents": "name: Release Launch Agent\n\ndefaults:\n  run:\n    working-directory: ./tools/launch/release\n\non:\n  workflow_dispatch:\n    inputs:\n      preReleaseString:\n        type: string\n        description: The pre-release string for this release, leave empty for official releases\n        default: \"\"\n      candidateTag:\n        type: string\n        required: true\n        description: The tag of the wandb/launch-agent-dev repo to be promoted\n\njobs:\n  release-launch-agent:\n    name: Launch Agent Release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Push to official repo\n        run: |\n          docker context create builder\n          docker buildx create --use\n\n          REPO=wandb/launch-agent\n          IMAGE=wandb/launch-agent-dev:${{ github.event.inputs.candidateTag }}\n          echo \"Pulling image $IMAGE\"\n          docker pull $IMAGE\n\n          # Get full tag\n          SDK_RELEASE_VERSION=$(docker run --rm --entrypoint wandb $IMAGE --version | awk '{print $3}')\n\n          if [[ $SDK_RELEASE_VERSION == *\"dev\"* ]]; then\n            echo \"selected image to be promoted is not based on a release\"\n            exit 1\n          fi\n\n          PRERELEASE_STRING=${{ github.event.inputs.preReleaseString }}\n          length=${#PRERELEASE_STRING}\n          isPrerelease=$((length > 0))\n          if [ \"$isPrerelease\" -eq 1 ]\n          then\n            TAG=\"$SDK_RELEASE_VERSION-$PRERELEASE_STRING\"\n            echo \"Tagging image $REPO:sdk-preview\"\n            SDK_OR_PREVIEW_TAG=sdk-preview\n          else\n            TAG=$SDK_RELEASE_VERSION\n            echo \"Tagging image $REPO:sdk\"\n            SDK_OR_PREVIEW_TAG=sdk\n          fi\n\n          echo \"Tagging image $REPO:$TAG\"\n\n          echo \"Applying agent version to image $TAG and pushing\"\n          docker buildx build --platform linux/amd64,linux/arm64  --build-arg image=$IMAGE --build-arg releaseTag=$TAG  -t $REPO:$TAG -t $REPO:latest -t $REPO:$SDK_OR_PREVIEW_TAG . --push\n", "state": "active", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:50.768394", "created_at": "2023-09-18T21:42:58+02:00", "updated_at": "2023-09-18T21:50:12+02:00", "name": "Build and Release W&B SDK", "path": ".github/workflows/release-sdk.yml", "contents": "name: Build and Release W&B SDK\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        type: string\n        description: \"version to assign to the release\"\n        required: true\n      update-changelog:\n        type: boolean\n        description: \"update the changelog and release notes\"\n        required: false\n        default: false\n\njobs:\n  prepare-release:\n    name: Prepare Release\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      # Use the GHA bot credentials: https://api.github.com/users/github-actions%5Bbot%5D\n      - name: Setup git config\n        run: |\n          git config --local user.email \"41898282+github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git remote set-url origin https://${{ secrets.GITHUB_TOKEN }}@github.com/wandb/wandb.git\n\n      - name: Install bump2version\n        run: pip install bump2version\n\n      - name: Create and Switch to Release Branch\n        run: |\n          git checkout -b release-${{ github.event.inputs.version }}\n\n      - name: Bump Version\n        run: |\n          bump2version patch --no-tag --no-commit --config-file .bumpversion.wandb.cfg --new-version ${{ github.event.inputs.version }}\n\n      - name: Update CHANGELOG.md\n        if: ${{ inputs.update-changelog }}\n        run: |\n          DATE=$(date +'%Y-%m-%d')\n          sed -i \"s/## Unreleased/## Unreleased\\n\\n## [${{ github.event.inputs.version }}] - $DATE/\" CHANGELOG.md\n\n      - name: Lint changes\n        run: |\n          pip install pre-commit\n          pre-commit install\n          # if there are linting errors, this will fix them and proceed\n          sh -c 'pre-commit run trailing-whitespace --all-files --hook-stage pre-push' || exit 0\n\n      - name: Commit and push changes\n        run: |\n          git commit -am \"Bump version and update CHANGELOG for release ${{ github.event.inputs.version }}\"\n          git push --no-verify -f origin release-${{ github.event.inputs.version }}\n\n  build-platform-wheels:\n    name: Build wheels on ${{ matrix.os }}\n    needs: prepare-release\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 20\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-20.04\n          - windows-2019\n          - macos-14\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: release-${{ github.event.inputs.version }}\n\n      ##################################################\n      # Linux only: get QEMU, required by cibuildwheel\n      ##################################################\n      - name: Set up QEMU\n        if: runner.os == 'Linux'\n        uses: docker/setup-qemu-action@v2\n        with:\n          platforms: all\n\n      ##################################################\n      # Non-Linux: install Go\n      #\n      # See comment above CIBW_BEFORE_ALL_LINUX.\n      ##################################################\n      - name: Set up Go\n        if: runner.os != 'Linux'\n        uses: actions/setup-go@v5\n        with:\n          go-version-file: core/go.mod\n          cache-dependency-path: core/go.sum\n\n      ##################################################\n      # All platforms: create wheels\n      ##################################################\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.17.0\n        with:\n           package-dir: .\n           output-dir: dist\n        env:\n          # In cp36-*, the wheel name sometimes includes additional dashes that\n          # make it invalid, breaking the job.\n          #\n          # Not sure why we skip PyPy and musllinux builds.\n          #\n          # See https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip\n          CIBW_SKIP: cp36-* pp* *musllinux*\n          CIBW_ARCHS_LINUX: x86_64 aarch64\n          CIBW_ARCHS_MACOS: x86_64 arm64  # arm64 == aarch64\n\n          # Work around https://github.com/matthew-brett/delocate/issues/204\n          # by adding `--ignore-missing-dependencies` to cibuildwheel's default\n          # repair wheel command.\n          CIBW_REPAIR_WHEEL_COMMAND_MACOS: >\n            delocate-wheel \\\n              --require-archs {delocate_archs} \\\n              --ignore-missing-dependencies \\\n              -w {dest_dir} \\\n              -v {wheel}\n\n          # Linux is special because it's built in a container using qemu,\n          # so we must download Go manually rather than using actions/setup-go.\n          #\n          # It may be possible to use the GitHub action if we are smart\n          # about it.\n          CIBW_BEFORE_ALL_LINUX: >\n            case $(uname -m) in\n              aarch64) export DOWNLOAD_GOARCH=arm64;;\n              x86_64) export DOWNLOAD_GOARCH=amd64;;\n            esac &&\n            export DOWNLOAD_GOVERSION=$( grep '^go' core/go.mod | cut -d' ' -f2 ) &&\n            curl -L https://golang.org/dl/go$DOWNLOAD_GOVERSION.linux-$DOWNLOAD_GOARCH.tar.gz > go.tar.gz &&\n            tar -C /usr/local/ -xzf go.tar.gz\n          CIBW_ENVIRONMENT_LINUX:\n            PATH=$PATH:/usr/local/go/bin\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: wandb-sdk-distributions\n          path: ./dist\n\n  build-universal-wheel:\n    name: Build universal wheel (no wandb-core)\n    needs: prepare-release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: release-${{ github.event.inputs.version }}\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Build wheel\n        run: pip wheel -w wheelhouse --no-deps .\n        env:\n          WANDB_BUILD_UNIVERSAL: True\n\n      - name: Copy wheel to ./dist\n        run: |\n          mkdir dist/\n          cp wheelhouse/wandb-*-py3-none-any.whl dist/\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: wandb-sdk-distributions\n          path: ./dist\n\n  test-pypi-publish:\n    name: Publish to TestPyPI\n    needs: [build-platform-wheels, build-universal-wheel]\n    continue-on-error: true\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n      url: https://test.pypi.org/p/wandb\n    permissions:\n      id-token: write  # trusted publishing\n    steps:\n      - name: Download distribution\n        uses: actions/download-artifact@v3\n        with:\n          name: wandb-sdk-distributions\n          path: dist/\n      - name: List distribution\n        run: ls dist/\n      - name: Publish distribution to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n\n  verify-test-pypi:\n    needs: test-pypi-publish\n    name: Verify TestPyPI upload on ${{ matrix.os }} ${{ matrix.use_core && 'with core' || '' }}\n\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 5\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-20.04\n          - windows-2019\n          - macos-14\n        use_core: [false, true]\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Install wandb from TestPyPI\n        run: |\n          sleep 60\n          python -m pip install --upgrade pip\n          python -m pip install --extra-index-url https://test.pypi.org/simple/ wandb==${{ github.event.inputs.version }}\n      - name: Smoke-test wandb TestPyPI install\n        run: |\n          WANDB__REQUIRE_CORE=${{ matrix.use_core }} python -c \"import wandb; run = wandb.init(settings={'mode': 'offline'}); run.finish()\"\n        shell: bash\n\n  pypi-publish:\n    name: Publish to PyPI\n    needs: test-pypi-publish\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n      url: https://pypi.org/p/wandb\n    steps:\n      - name: Download distribution\n        uses: actions/download-artifact@v3\n        with:\n          name: wandb-sdk-distributions\n          path: dist/\n      - name: List distribution\n        run: ls dist/\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_TOKEN }}\n\n  publish-release-notes:\n    name: Publish Release Notes\n    needs: pypi-publish\n    runs-on: ubuntu-latest\n    if: ${{ inputs.update-changelog }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: release-${{ github.event.inputs.version }}\n      - name: Create Source Archives\n        run: |\n          git archive --format=zip --output=wandb-${{ github.event.inputs.version }}.zip HEAD\n          git archive --format=tar.gz --output=wandb-${{ github.event.inputs.version }}.tar.gz HEAD\n      - name: Extract release notes and set output\n        id: release_notes\n        run: |\n          echo \"## What's Changed\" > release_notes.md\n          awk '/## \\[${{ github.event.inputs.version }}\\]/{flag=1;next}/## \\[/{flag=0}flag' CHANGELOG.md >> release_notes.md\n      - name: Draft Release\n        uses: softprops/action-gh-release@v2\n        with:\n          name: v${{ github.event.inputs.version }}\n          tag_name: v${{ github.event.inputs.version }}\n          body_path: release_notes.md\n          files: |\n            wandb-${{ github.event.inputs.version }}.zip\n            wandb-${{ github.event.inputs.version }}.tar.gz\n          draft: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n  slack:\n    name: Post to Slack\n    needs: publish-release-notes\n    runs-on: ubuntu-latest\n    steps:\n      - name: Install from PyPI and get version\n        id: get_version\n        run: |\n          sleep 60\n          python -m pip install --upgrade pip\n          python -m pip install wandb==${{ github.event.inputs.version }}\n      - name: Post to Slack\n        id: slack\n        uses: slackapi/slack-github-action@v1.24.0\n        with:\n          # Slack channel id, channel name, or user id to post message.\n          # See also: https://api.slack.com/methods/chat.postMessage#channels\n          # You can pass in multiple channels to post to by providing a comma-delimited list of channel IDs.\n          channel-id: ${{ secrets.SLACK_SDK_RELEASE_CHANNEL_ID }}\n          # For posting a simple plain text message\n          slack-message: \"W&B SDK ${{ github.event.inputs.version }} released :tada:: https://pypi.org/project/wandb/${{ github.event.inputs.version }}/\"\n        env:\n          SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n", "state": "active", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:52.028394", "created_at": "2023-10-19T22:00:31+02:00", "updated_at": "2023-12-21T21:20:32+01:00", "name": "Rust", "path": ".github/workflows/rust.yml", "contents": "name: Rust\n\non:\n  workflow_dispatch:\n\nenv:\n  CARGO_TERM_COLOR: always\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Protoc\n        uses: arduino/setup-protoc@v2\n      - name: Install Rust\n        uses: actions-rs/toolchain@v1\n        with:\n          toolchain: stable\n          override: true\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - name: Install maturin\n        run: pip install maturin\n      - name: Activate python venv\n        run: |\n          python -m venv .venv\n          source .venv/bin/activate\n      - name: Build python package with maturin\n        working-directory: ./experimental/client-rust\n        run: maturin develop\n      # - name: Build rust binary for testing\n      #   working-directory: ./experimental/client-rust\n      #   run: cargo build --verbose\n      # - name: Run tests\n      #   working-directory: ./experimental/client-rust\n      #   run: cargo test --verbose\n", "state": "active", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:53.225590", "created_at": "2020-12-16T21:44:09+01:00", "updated_at": "2024-05-02T19:39:59+02:00", "name": "60 Days Stale Check", "path": ".github/workflows/60-days-stale-check.yml", "contents": "name: 60 Days Stale Check\non:\n  schedule:\n    - cron: '00 00 * * *' # Run each day at 00:00 UTC\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v3.0.14\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          stale-issue-message: 'This issue is stale because it has been open 60 days with no activity.'\n          stale-pr-message: 'This PR is stale because it has been open 60 days with no activity.'\n          days-before-stale: -1 # 60 days before marking anything stale - Turned off\n          days-before-close: -1 # Do not close anything automatically\n          stale-issue-label: 'stale'\n          stale-pr-label: 'stale'\n          exempt-pr-labels: 'never-stale' # Exempt 'never-stale' labels from being marked stale\n          exempt-issue-labels: 'never-stale' # Exempt 'never-stale' labels from being marked stale\n", "state": "disabled_manually", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:54.223878", "created_at": "2021-10-29T01:52:47+02:00", "updated_at": "2023-09-18T21:45:55+02:00", "name": "Generate Documentation", "path": ".github/workflows/generate-documentation.yml", "contents": null, "state": "disabled_manually", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:55.276474", "created_at": "2022-04-01T20:01:56+02:00", "updated_at": "2024-05-02T19:41:18+02:00", "name": "check if mocks are synced with yea-wandb", "path": ".github/workflows/check-mocks-synced-with-yea-wandb.yml", "contents": null, "state": "disabled_manually", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:56.265218", "created_at": "2022-09-14T19:06:54+02:00", "updated_at": "2023-09-18T21:45:41+02:00", "name": "Validate PR title", "path": ".github/workflows/pr.yml", "contents": null, "state": "disabled_manually", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:57.321782", "created_at": "2022-10-05T23:04:40+02:00", "updated_at": "2024-05-02T19:44:02+02:00", "name": "conventional-release-labels", "path": ".github/workflows/conventional-label.yml", "contents": "# Warning, do not check out untrusted code with\n# the pull_request_target event.\non:\n  pull_request_target:\n    types: [ opened, edited ]\nname: conventional-release-labels\njobs:\n  label:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: bcoe/conventional-release-labels@v1\n        with:\n          ignored_types: \"[]\"\n          type_labels: '{\"feat\": \"cc-feat\", \"fix\": \"cc-fix\", \"docs\": \"cc-docs\", \"style\": \"cc-style\", \"refactor\": \"cc-refactor\", \"perf\": \"cc-perf\", \"test\": \"cc-test\", \"build\": \"cc-build\", \"ci\": \"cc-ci\", \"chore\": \"cc-chore\", \"revert\": \"cc-revert\", \"security\": \"cc-security\"}'\n", "state": "disabled_manually", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:17:58.550840", "created_at": "2023-05-19T23:20:45+02:00", "updated_at": "2024-05-02T19:42:22+02:00", "name": "PR Title Bot", "path": ".github/workflows/fix-pr-title.yml", "contents": "name: PR Title Bot\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  handle_pr_title:\n    runs-on: ubuntu-latest\n    if: github.event.issue.pull_request && (contains(github.event.comment.body, '/suggest-title') || contains(github.event.comment.body, '/fix-title'))\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n\n    - name: Install dependencies\n      run: pip install pygithub openai tenacity\n\n    - name: Get PR number\n      id: get_pr_number\n      run: |\n        issue_url=\"${{ github.event.comment.issue_url }}\"\n        pr_number=\"${issue_url##*/}\"\n        echo \"pr_number=$pr_number\" >> $GITHUB_OUTPUT\n\n    - name: Run script to get new title\n      id: get_new_title\n      run: |\n        title=$(GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} python tools/pr-title-bot.py generate ${{ steps.get_pr_number.outputs.pr_number }})\n        echo \"title=$title\" >> $GITHUB_OUTPUT\n\n    - name: Suggest title\n      if: contains(github.event.comment.body, '/suggest-title')\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        curl -L \\\n          -X POST \\\n          https://api.github.com/repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/issues/${{ steps.get_pr_number.outputs.pr_number }}/comments \\\n          -H \"Accept: application/vnd.github+json\" \\\n          -H \"Authorization: Bearer $GITHUB_TOKEN\"\\\n          -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n          --data '{ \"body\": \"Suggested title:\\n```\\n${{ steps.get_new_title.outputs.title }}\\n```\" }'\n\n    - name: Update PR title\n      if: contains(github.event.comment.body, '/fix-title')\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        curl -L \\\n          -X POST \\\n          https://api.github.com/repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/pulls/${{ steps.get_pr_number.outputs.pr_number }} \\\n          -H \"Accept: application/vnd.github+json\" \\\n          -H \"Authorization: Bearer $GITHUB_TOKEN\"\\\n          -H \"X-GitHub-Api-Version: 2022-11-28\" \\\n          --data '{ \"title\": \"${{ steps.get_new_title.outputs.title }}\" }'\n", "state": "disabled_manually", "repository": "wandb/wandb"}
{"mined_at": "2024-07-15T18:18:00.803394", "created_at": "2023-06-04T08:05:57+02:00", "updated_at": "2024-07-10T04:10:02+02:00", "name": "release", "path": ".github/workflows/create-releases.yml", "contents": "name: release\non:\n  workflow_dispatch:\n    inputs:\n      release_type:\n        description: 'Release type'\n        required: true\n        type: choice\n        default: 'patch'\n        options:\n          - major\n          - minor\n          - patch\n          - alpha\ndefaults:\n  run:\n    shell: bash --noprofile --norc -exo pipefail {0}\nenv:\n  LINES: 120\n  COLUMNS: 120\n  OPENLLM_DO_NOT_TRACK: True\n  PYTHONUNBUFFERED: '1'\n  HATCH_VERBOSE: 2\njobs:\n  release:\n    if: github.repository_owner == 'bentoml'\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      id-token: write\n    outputs:\n      version: ${{ steps.version.outputs.version }}\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4.1.7\n        with:\n          fetch-depth: 0\n          token: ${{ secrets.GITHUB_TOKEN }}\n      - uses: bentoml/setup-bentoml-action@862aa8fa0e0c3793fcca4bfe7a62717a497417e4 # ratchet:bentoml/setup-bentoml-action@v1\n        with:\n          bentoml-version: 'main'\n          python-version-file: .python-version-default\n      - name: Import bot's GPG key for signing commits\n        id: import-gpg\n        uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # ratchet:crazy-max/ghaction-import-gpg@v6\n        with:\n          gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}\n          passphrase: ${{ secrets.GPG_PASSPHRASE }}\n          git_config_global: true\n          git_user_signingkey: true\n          git_commit_gpgsign: true\n          git_tag_gpgsign: true\n      - name: Create a release\n        env:\n          GIT_AUTHOR_NAME: ${{ steps.import-gpg.outputs.name }}\n          GIT_AUTHOR_EMAIL: ${{ steps.import-gpg.outputs.email }}\n          GIT_COMMITTER_NAME: ${{ steps.import-gpg.outputs.name }}\n          GIT_COMMITTER_EMAIL: ${{ steps.import-gpg.outputs.email }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        run: |-\n          pip install ghapi inflection tomlkit orjson\n          ./.github/actions/release.sh --release ${{ inputs.release_type }}\n      - name: Set project version\n        id: version\n        run: |-\n          version=\"$(git describe --tags \"$(git rev-list --tags --max-count=1)\")\"\n          echo \"Release version: $version\"\n          echo \"version=$version\" >> $GITHUB_OUTPUT\n  build-pypi:\n    if: github.repository_owner == 'bentoml'\n    needs:\n      - release\n    name: Compile PyPI distribution for OpenLLM\n    uses: bentoml/OpenLLM/.github/workflows/build-pypi.yml@main # ratchet:exclude\n    with:\n      tags: ${{ needs.release.outputs.version }}\n  publish-python:\n    needs:\n      - build-pypi\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4.1.7\n        with:\n          ref: '${{ needs.release.outputs.version }}'\n          token: ${{ secrets.GITHUB_TOKEN }}\n      # NOTE: Keep this section in sync with build-pypi.yml\n      - name: Download Python artifacts\n        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # ratchet:actions/download-artifact@v4\n        with:\n          pattern: python-artefacts-*\n          merge-multiple: true\n          path: dist\n      - name: Smoke test compiled artefacts\n        run: ls -R dist\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # ratchet:pypa/gh-action-pypi-publish@release/v1\n        with:\n          print-hash: true\n  binary-distribution:\n    if: github.repository_owner == 'bentoml'\n    needs: publish-python\n    name: Create binary/wheels distribution\n    uses: bentoml/OpenLLM/.github/workflows/binary-releases.yml@main # ratchet:exclude\n  release-notes:\n    if: github.repository_owner == 'bentoml'\n    needs:\n      - release\n      - publish-python\n      - binary-distribution\n    name: Create release notes and setup for next cycle\n    uses: bentoml/OpenLLM/.github/workflows/release-notes.yml@main # ratchet:exclude\n    with:\n      tags: ${{ needs.release.outputs.version }}\n", "state": "active", "repository": "bentoml/OpenLLM"}
{"mined_at": "2024-07-15T18:18:01.820061", "created_at": "2023-06-16T10:25:01+02:00", "updated_at": "2023-06-16T10:25:01+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "bentoml/OpenLLM"}
{"mined_at": "2024-07-15T18:18:02.929266", "created_at": "2024-07-15T09:03:27+02:00", "updated_at": "2024-07-15T09:03:27+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "bentoml/OpenLLM"}
{"mined_at": "2024-07-15T18:18:05.208205", "created_at": "2023-03-20T00:31:14+01:00", "updated_at": "2023-07-05T15:59:52+02:00", "name": "Run Tests", "path": ".github/workflows/run-tests.yml", "contents": "name: Run Tests\n\nenv:\n  # enable colored output\n  # https://github.com/pytest-dev/pytest/issues/7443\n  PY_COLORS: 1\n\non:\n  push:\n    branches: [\"main\"]\n    paths:\n      - .github/workflows/run-tests.yml\n      - src/**\n      - tests/**\n      - pyproject.toml\n      - setup.py\n\n  pull_request:\n    paths:\n      - .github/workflows/run-tests.yml\n      - src**\n      - tests/**\n      - pyproject.toml\n      - setup.py\n\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  run_tests:\n    name: ${{ matrix.test-type == '' && 'all' || matrix.test-type }} (Python ${{ matrix.python-version }} on ${{ matrix.os }})\n    timeout-minutes: 15\n    strategy:\n      matrix:\n        # run no_llm tests across all python versions and oses\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n        test-type: ['no_llm']\n\n        include:\n          # Run LLM tests on 3.9\n          - python-version: '3.9'\n            os: 'ubuntu-latest'\n            test-type: ''\n        \n        \n    runs-on: ${{ matrix.os }}\n\n    env:\n      MARVIN_OPENAI_API_KEY: ${{ secrets.MARVIN_OPENAI_API_KEY }}\n      MARVIN_ANTHROPIC_API_KEY: ${{ secrets.MARVIN_ANTHROPIC_API_KEY }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n      - name: Install Marvin\n        run: pip install \".[tests]\"\n\n      - name: Run tests without LLMs\n        run: pytest -n auto -vv -m \"${{ matrix.test-type }}\"\n        if: ${{ !(github.event.pull_request.head.repo.fork) && matrix.test-type != '' }}\n      \n      - name: Run tests\n        run: pytest -n auto -vv\n        if: ${{ !(github.event.pull_request.head.repo.fork) && matrix.test-type == '' }}", "state": "active", "repository": "PrefectHQ/marvin"}
{"mined_at": "2024-07-15T18:18:06.265626", "created_at": "2023-03-24T19:43:55+01:00", "updated_at": "2023-03-29T05:24:54+02:00", "name": "Publish Docs", "path": ".github/workflows/publish-docs.yml", "contents": "name: Publish Docs\n\non:\n  push:\n    tags:\n      - v*\n  workflow_dispatch:\n\nenv:\n  MKDOCS_SOCIAL_CARDS: ${{ vars.MKDOCS_SOCIAL_CARDS }}\n  MKDOCS_MATERIAL_INSIDERS_REPO_RO: ${{ secrets.MKDOCS_MATERIAL_INSIDERS_REPO_RO }}\n\npermissions:\n  contents: write\njobs:\n  publish-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - uses: actions/cache@v4\n        with:\n          key: ${{ github.ref }}\n          path: .cache\n\n      - name: Install uv\n        run: pip install -U uv && uv venv\n\n      # for now, only install mkdocs. In the future may need to install Marvin itself.\n      - name: Install dependencies for MKDocs Material\n        run: pip install \\\n          mkdocs-material \\\n          mkdocs-autolinks-plugin \\\n          mkdocs-awesome-pages-plugin \\\n          mkdocstrings[python] \\\n          mkdocs-markdownextradata-plugin \\\n          mkdocs-jupyter \\\n          pillow \\\n          cairosvg\n      - name: Publish docs\n        run: mkdocs gh-deploy --force ", "state": "active", "repository": "PrefectHQ/marvin"}
{"mined_at": "2024-07-15T18:18:07.350980", "created_at": "2023-03-24T19:43:55+01:00", "updated_at": "2023-03-29T05:24:54+02:00", "name": "Build Docs", "path": ".github/workflows/build-docs.yml", "contents": "name: Build Docs\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - 'docs/**'\n      - 'mkdocs.yml'\n      - 'mkdocs.insiders.yml'\n      - '.github/workflows/build-docs.yml'\n\n\nenv:\n  MKDOCS_SOCIAL_CARDS: ${{ vars.MKDOCS_SOCIAL_CARDS }}\n  MKDOCS_MATERIAL_INSIDERS_REPO_RO: ${{ secrets.MKDOCS_MATERIAL_INSIDERS_REPO_RO }}\n\npermissions:\n  contents: write\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.head.repo.full_name == github.repository\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - uses: actions/cache@v4\n        with:\n          key: ${{ github.ref }}\n          path: .cache\n      - name: Install uv\n        run: pip install -U uv && uv venv\n      \n      - name: Install Material Insiders\n        run: pip install git+https://oauth:${MKDOCS_MATERIAL_INSIDERS_REPO_RO}@github.com/PrefectHQ/mkdocs-material-insiders.git\n\n      # for now, only install mkdocs. In the future may need to install Marvin itself.\n      - name: Install dependencies for MKDocs Material\n        run: uv pip install \\\n          mkdocs-autolinks-plugin \\\n          mkdocs-awesome-pages-plugin \\\n          mkdocs-markdownextradata-plugin \\\n          mkdocstrings[python] \\\n          pillow \\\n          cairosvg\n      - name: Build docs\n        run: |\n          mkdocs build --config-file mkdocs.insiders.yml", "state": "active", "repository": "PrefectHQ/marvin"}
{"mined_at": "2024-07-15T18:18:08.352739", "created_at": "2023-03-24T23:09:11+01:00", "updated_at": "2023-03-24T23:09:11+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "PrefectHQ/marvin"}
{"mined_at": "2024-07-15T18:18:09.387952", "created_at": "2023-03-27T05:18:05+02:00", "updated_at": "2023-03-29T00:10:06+02:00", "name": "Run static analysis", "path": ".github/workflows/static-analysis.yml", "contents": "name: Run static analysis\n\nenv:\n  # enable colored output\n  # https://github.com/pytest-dev/pytest/issues/7443\n  PY_COLORS: 1\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  static_analysis:\n    timeout-minutes: 1\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n      - name: Run pre-commit\n        uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "PrefectHQ/marvin"}
{"mined_at": "2024-07-15T18:18:10.633987", "created_at": "2023-03-28T22:49:52+02:00", "updated_at": "2023-03-28T23:01:00+02:00", "name": "Publish Marvin to PyPI", "path": ".github/workflows/publish-pypi.yml", "contents": "name: Publish Marvin to PyPI\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n    \njobs:\n  publish-pypi-release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - run: python3 -m pip install --upgrade build && python3 -m build\n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          verbose: true", "state": "active", "repository": "PrefectHQ/marvin"}
{"mined_at": "2024-07-15T18:18:11.862338", "created_at": "2023-04-27T22:30:14+02:00", "updated_at": "2023-04-27T22:30:14+02:00", "name": "Deploy new revision of marvin community bot cloudrun service", "path": ".github/workflows/deploy-cloudrun-revision-community.yaml", "contents": "---\nname: Deploy new revision of marvin community bot cloudrun service\n\non:\n  workflow_dispatch: {}\n\n# Do not grant jobs any permissions by default\npermissions: {}\n\njobs:\n  deploy_cloudrun_revision:\n    name: Deploy revision with latest image\n    runs-on: ubuntu-latest\n    permissions:\n      # required to read from the repo\n      contents: read\n      # required to obtain Google Cloud service account credentials\n      id-token: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Authenticate to google cloud\n        uses: google-github-actions/auth@v2\n        with:\n          workload_identity_provider: ${{ secrets.GHA_WORKLOAD_IDENTITY_PROVIDER }}\n          service_account: marvin-workflow-main@prefect-org-github-actions.iam.gserviceaccount.com\n\n      - name: Deploy revision\n        uses: google-github-actions/deploy-cloudrun@v2\n        with:\n          image: us-docker.pkg.dev/prefect-prd-external-tools/marvin/marvin-community-bot:latest\n          project_id: prefect-prd-external-tools\n          region: us-east1\n          service: marvin-community-bot\n", "state": "active", "repository": "PrefectHQ/marvin"}
{"mined_at": "2024-07-15T18:18:12.892192", "created_at": "2023-04-27T22:30:14+02:00", "updated_at": "2023-04-27T22:30:14+02:00", "name": "Deploy new revision of marvin internal bot cloudrun service", "path": ".github/workflows/deploy-cloudrun-revision-internal.yaml", "contents": "---\nname: Deploy new revision of marvin internal bot cloudrun service\n\non:\n  workflow_dispatch: {}\n\n# Do not grant jobs any permissions by default\npermissions: {}\n\njobs:\n  deploy_cloudrun_revision:\n    name: Deploy revision with latest image\n    runs-on: ubuntu-latest\n    permissions:\n      # required to read from the repo\n      contents: read\n      # required to obtain Google Cloud service account credentials\n      id-token: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Authenticate to google cloud\n        uses: google-github-actions/auth@v2\n        with:\n          workload_identity_provider: ${{ secrets.GHA_WORKLOAD_IDENTITY_PROVIDER }}\n          service_account: marvin-workflow-main@prefect-org-github-actions.iam.gserviceaccount.com\n\n      - name: Deploy revision\n        uses: google-github-actions/deploy-cloudrun@v2\n        with:\n          image: us-docker.pkg.dev/prefect-prd-internal-tools/marvin/marvin-internal-bot:latest\n          project_id: prefect-prd-internal-tools\n          region: us-east1\n          service: marvin-internal-bot\n", "state": "active", "repository": "PrefectHQ/marvin"}
{"mined_at": "2024-07-15T18:18:14.013360", "created_at": "2023-04-27T22:30:15+02:00", "updated_at": "2023-04-27T22:30:15+02:00", "name": "Build and publish marvin community bot image", "path": ".github/workflows/image-build-and-push-community.yaml", "contents": "---\nname: Build and publish marvin community bot image\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - .github/workflows/image-build-and-push-community.yaml\n      - examples/slackbot/community_bot/**\n      - src/marvin/api/slackbot/**\n\n  workflow_dispatch: {}\n\n# Limit concurrency by workflow/branch combination.\n#\n# For builds, pushing additional changes to the\n# branch will cancel prior in-progress and pending builds.\n#\n# https://docs.github.com/en/actions/using-jobs/using-concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\n# Do not grant jobs any permissions by default\npermissions: {}\n\njobs:\n  build_push_image:\n    name: Build marvin community bot image\n    runs-on: ubuntu-latest\n    permissions:\n      # required to initiate a downstream workflow (read needed for codeql scan)\n      actions: write\n      # required to read from the repo\n      contents: read\n      # required to obtain Google Cloud service account credentials\n      id-token: write\n      # required to upload CodeQL scan results to GitHub\n      security-events: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Authenticate to Google Cloud\n        uses: google-github-actions/auth@v2\n        with:\n          workload_identity_provider: ${{ secrets.GHA_WORKLOAD_IDENTITY_PROVIDER }}\n          service_account: marvin-general-main@prefect-org-github-actions.iam.gserviceaccount.com\n\n      - name: Configure Google Cloud credential helper\n        run: gcloud auth configure-docker --quiet us-docker.pkg.dev\n\n      - name: Get image version\n        run: |\n          short_sha=$(git rev-parse --short=7 HEAD)\n          echo \"short_sha: ${short_sha}\"\n          echo \"SHORT_SHA=${short_sha}\" >> $GITHUB_ENV\n\n      - name: Build container image\n        run: |\n          docker build -f cookbook/slackbot/Dockerfile.slackbot . \\\n            --no-cache \\\n            --tag us-docker.pkg.dev/prefect-prd-external-tools/marvin/marvin-community-bot:latest \\\n            --tag us-docker.pkg.dev/prefect-prd-external-tools/marvin/marvin-community-bot:${SHORT_SHA} \\\n\n      - name: Push image to prefect-prd-external-tools\n        run: docker push --all-tags us-docker.pkg.dev/prefect-prd-external-tools/marvin/marvin-community-bot\n\n      - name: Trigger cloudrun revision deploy workflow\n        run: |\n          gh workflow run deploy-cloudrun-revision-community.yaml \\\n            --ref main\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "PrefectHQ/marvin"}
{"mined_at": "2024-07-15T18:18:15.136332", "created_at": "2023-04-27T22:30:15+02:00", "updated_at": "2023-04-27T22:30:15+02:00", "name": "Build and publish marvin internal bot image", "path": ".github/workflows/image-build-and-push-internal.yaml", "contents": "---\nname: Build and publish marvin internal bot image\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - .github/workflows/image-build-and-push-internal.yaml\n      - cookbook/slackbot/**\n  schedule:\n    #  Schedule to run at 7:30PM every Sunday\n    #        ┌───────────── minute (0 - 59)\n    #        │  ┌───────────── hour (0 - 23)\n    #        │  │  ┌───────────── day of the month (1 - 31)\n    #        │  │  │ ┌───────────── month (1 - 12 or JAN-DEC)\n    #        │  │  │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n    #        │  │  │ │ │\n    #        │  │  │ │ │\n    #        │  │  │ │ │\n    - cron: 30 19 * * 0\n  workflow_dispatch: {}\n\n# Limit concurrency by workflow/branch combination.\n#\n# For builds, pushing additional changes to the\n# branch will cancel prior in-progress and pending builds.\n#\n# https://docs.github.com/en/actions/using-jobs/using-concurrency\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\n# Do not grant jobs any permissions by default\npermissions: {}\n\njobs:\n  build_push_image:\n    name: Build marvin internal bot image\n    runs-on: ubuntu-latest\n    permissions:\n      # required to initiate a downstream workflow (read needed for codeql scan)\n      actions: write\n      # required to read from the repo\n      contents: read\n      # required to obtain Google Cloud service account credentials\n      id-token: write\n      # required to upload CodeQL scan results to GitHub\n      security-events: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Authenticate to Google Cloud\n        uses: google-github-actions/auth@v2\n        with:\n          workload_identity_provider: ${{ secrets.GHA_WORKLOAD_IDENTITY_PROVIDER }}\n          service_account: marvin-general-main@prefect-org-github-actions.iam.gserviceaccount.com\n\n      - name: Configure Google Cloud credential helper\n        run: gcloud auth configure-docker --quiet us-docker.pkg.dev\n\n      - name: Get image version\n        run: |\n          short_sha=$(git rev-parse --short=7 HEAD)\n          echo \"short_sha: ${short_sha}\"\n          echo \"SHORT_SHA=${short_sha}\" >> $GITHUB_ENV\n\n      - name: Build container image\n        run: |\n          docker build -f cookbook/slackbot/Dockerfile.slackbot . \\\n            --no-cache \\\n            --tag us-docker.pkg.dev/prefect-prd-internal-tools/marvin/marvin-internal-bot:latest \\\n            --tag us-docker.pkg.dev/prefect-prd-internal-tools/marvin/marvin-internal-bot:${SHORT_SHA} \\\n\n      - name: Push image to prefect-prd-internal-tools\n        run: docker push --all-tags us-docker.pkg.dev/prefect-prd-internal-tools/marvin/marvin-internal-bot\n\n      - name: Trigger cloudrun revision deploy workflow\n        run: |\n          gh workflow run deploy-cloudrun-revision-internal.yaml \\\n            --ref main\n        env:\n          GITHUB_TOKEN: ${{ github.token }}\n", "state": "active", "repository": "PrefectHQ/marvin"}
{"mined_at": "2024-07-15T18:18:16.264538", "created_at": "2024-01-05T21:14:13+01:00", "updated_at": "2024-01-05T21:14:13+01:00", "name": "Dependabot Evaluation", "path": ".github/workflows/dependabot-auto-evaulate-pr.yaml", "contents": null, "state": "active", "repository": "PrefectHQ/marvin"}
{"mined_at": "2024-07-15T18:18:17.372023", "created_at": "2024-07-15T08:39:27+02:00", "updated_at": "2024-07-15T08:39:27+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "PrefectHQ/marvin"}
{"mined_at": "2024-07-15T18:18:19.747324", "created_at": "2023-12-05T23:48:06+01:00", "updated_at": "2023-12-05T23:48:06+01:00", "name": "Run Optional Tests", "path": ".github/workflows/lmql-optional-tests.yml", "contents": "name: Run Optional Tests\n\n# optional tests only run manually\non: workflow_dispatch\n\njobs:\n    optional-tests:\n      runs-on: lmql-ci\n      steps:\n          - uses: actions/checkout@v3\n          - name: Setup Fresh Virtual Environment\n            run: |\n              pip install --upgrade pip\n              python3.10 -m venv env\n              export PATH=$PATH:/home/docker/.local/bin\n              source env/bin/activate\n              echo \"VIRTUAL ENV:\" $VIRTUAL_ENV\n          # cache dependencies\n          - name: Cache dependencies\n            id: cache\n            uses: corca-ai/local-cache@v2\n            with:\n              path: env/lib/python3.10/site-packages\n              key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.cfg') }}\n              base: \"/home/docker/.cache/\"\n          - name: Install Dependencies\n            run: source env/bin/activate && pip install -e '.[hf,hf-accel,tests,llama]' && pip install langchain\n          - name: Run Optional Tests\n            env:\n              OPENAI_API_KEY: ${{ secrets.LMQL_CI_OPENAI_KEY }}\n            run: source env/bin/activate && python src/lmql/tests/all.py only optional openai langchain --failearly", "state": "active", "repository": "eth-sri/lmql"}
{"mined_at": "2024-07-15T18:18:20.874809", "created_at": "2023-12-05T23:48:06+01:00", "updated_at": "2023-12-05T23:48:06+01:00", "name": "Test and Publish New Release", "path": ".github/workflows/lmql-release.yml", "contents": "name: Test and Publish New Release\n\non:\n  # on release publish\n  release:\n    types: [released]\n\n\njobs:\n    tests:\n        runs-on: lmql-ci\n        steps:\n            - uses: actions/checkout@v3\n            - name: Setup Fresh Virtual Environment\n              run: |\n                pip install --upgrade pip\n                python3.10 -m venv env\n                export PATH=$PATH:/home/docker/.local/bin\n                source env/bin/activate\n                echo \"VIRTUAL ENV:\" $VIRTUAL_ENV\n            # cache dependencies\n            - name: Cache dependencies\n              id: cache\n              uses: corca-ai/local-cache@v2\n              with:\n                path: env\n                key: ${{ runner.os }}-env-${{ hashFiles('**/setup.cfg') }}\n                base: \"/home/docker/.cache/\"\n            - name: Install Dependencies\n              run: source env/bin/activate && pip install -e '.[hf,hf-accel,tests,llama]'\n            - name: Run Default Tests\n              run: source env/bin/activate && python src/lmql/tests/all.py --failearly\n    optional-tests:\n        runs-on: lmql-ci\n        \n        steps:\n            - uses: actions/checkout@v3\n            - name: Setup Fresh Virtual Environment\n              run: |\n                pip install --upgrade pip\n                python3.10 -m venv env\n                export PATH=$PATH:/home/docker/.local/bin\n                source env/bin/activate\n                echo \"VIRTUAL ENV:\" $VIRTUAL_ENV\n            # cache dependencies\n            - name: Cache dependencies\n              id: cache\n              uses: corca-ai/local-cache@v2\n              with:\n                path: env/lib/python3.10/site-packages\n                key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.cfg') }}\n                base: \"/home/docker/.cache/\"\n            - name: Install Dependencies\n              run: source env/bin/activate && pip install -e '.[hf,hf-accel,tests,llama]' && pip install langchain\n            - name: Run Optional Tests\n              env:\n                OPENAI_API_KEY: ${{ secrets.LMQL_CI_OPENAI_KEY }}\n              run: source env/bin/activate && python src/lmql/tests/all.py only optional openai langchain --failearly\n    publish:\n        runs-on: lmql-ci\n        needs: [tests, optional-tests]\n        steps:\n            - uses: actions/checkout@v3\n            - name: Setup Fresh Virtual Environment\n              run: |\n                pip install --upgrade pip\n                python3.10 -m venv env\n                export PATH=$PATH:/home/docker/.local/bin\n                source env/bin/activate\n                echo \"VIRTUAL ENV:\" $VIRTUAL_ENV  \n            - name: Install Packaging Dependencies\n              run: pip install build twine\n            - name: Package\n              env:\n                VERSION: ${{ github.ref }}\n              run: bash scripts/wheel.sh $(echo $VERSION | sed 's/^refs\\/tags\\/v//')\n            - name: Publish\n              env:\n                TWINE_USERNAME: __token__\n                TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}\n                VERSION: ${{ github.ref }}\n              run: bash scripts/pypi-release.sh lmql-$(echo $VERSION | sed 's/^refs\\/tags\\/v//') --production", "state": "active", "repository": "eth-sri/lmql"}
{"mined_at": "2024-07-15T18:18:22.103386", "created_at": "2023-12-05T23:48:06+01:00", "updated_at": "2023-12-05T23:48:06+01:00", "name": "Test Release to test.pypi.org", "path": ".github/workflows/lmql-test-release.yml", "contents": "name: Test Release to test.pypi.org\n\non:\n    workflow_dispatch:\n      inputs:\n        version:\n          description: 'Version to publish'\n          required: true\n\n\njobs:\n    tests:\n        runs-on: lmql-ci\n        steps:\n            - uses: actions/checkout@v3\n            - name: Setup Fresh Virtual Environment\n              run: |\n                pip install --upgrade pip\n                python3.10 -m venv env\n                export PATH=$PATH:/home/docker/.local/bin\n                source env/bin/activate\n                echo \"VIRTUAL ENV:\" $VIRTUAL_ENV\n            # cache dependencies\n            - name: Cache dependencies\n              id: cache\n              uses: corca-ai/local-cache@v2\n              with:\n                path: env\n                key: ${{ runner.os }}-env-${{ hashFiles('**/setup.cfg') }}\n                base: \"/home/docker/.cache/\"\n            - name: Install Dependencies\n              run: source env/bin/activate && pip install -e '.[hf,hf-accel,tests,llama]'\n            - name: Run Default Tests\n              run: source env/bin/activate && python src/lmql/tests/all.py --failearly\n    optional-tests:\n        runs-on: lmql-ci\n        \n        steps:\n            - uses: actions/checkout@v3\n            - name: Setup Fresh Virtual Environment\n              run: |\n                pip install --upgrade pip\n                python3.10 -m venv env\n                export PATH=$PATH:/home/docker/.local/bin\n                source env/bin/activate\n                echo \"VIRTUAL ENV:\" $VIRTUAL_ENV\n            # cache dependencies\n            - name: Cache dependencies\n              id: cache\n              uses: corca-ai/local-cache@v2\n              with:\n                path: env/lib/python3.10/site-packages\n                key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.cfg') }}\n                base: \"/home/docker/.cache/\"\n            - name: Install Dependencies\n              run: source env/bin/activate && pip install -e '.[hf,hf-accel,tests,llama]' && pip install langchain\n            - name: Run Optional Tests\n              env:\n                OPENAI_API_KEY: ${{ secrets.LMQL_CI_OPENAI_KEY }}\n              run: source env/bin/activate && python src/lmql/tests/all.py only optional openai langchain --failearly\n    publish:\n        runs-on: lmql-ci\n        needs: [tests, optional-tests]\n        steps:\n            - uses: actions/checkout@v3\n            - name: Setup Fresh Virtual Environment\n              run: |\n                pip install --upgrade pip\n                python3.10 -m venv env\n                export PATH=$PATH:/home/docker/.local/bin\n                source env/bin/activate\n                echo \"VIRTUAL ENV:\" $VIRTUAL_ENV  \n            - name: Install Packaging Dependencies\n              run: pip install build twine\n            - name: Package\n              env:\n                VERSION: ${{ github.event.inputs.version }}\n              run: bash scripts/wheel.sh $(echo $VERSION | sed 's/^refs\\/tags\\/v//')\n            - name: Publish\n              env:\n                TWINE_USERNAME: __token__\n                TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}\n                VERSION: ${{ github.event.inputs.version }}\n              run: bash scripts/pypi-release.sh lmql-$(echo $VERSION | sed 's/^refs\\/tags\\/v//')", "state": "active", "repository": "eth-sri/lmql"}
{"mined_at": "2024-07-15T18:18:23.234306", "created_at": "2023-07-14T13:30:50+02:00", "updated_at": "2023-07-14T13:30:50+02:00", "name": "Run Tests", "path": ".github/workflows/lmql-tests.yml", "contents": "name: Run Tests\n\non:\n  push:\n    branches: [ main ]\n\njobs:\n    tests:\n      runs-on: lmql-ci\n      steps:\n          - uses: actions/checkout@v3\n          - name: Setup Fresh Virtual Environment\n            run: |\n              pip install --upgrade pip\n              python3.10 -m venv env\n              export PATH=$PATH:/home/docker/.local/bin\n              source env/bin/activate\n              echo \"VIRTUAL ENV:\" $VIRTUAL_ENV\n          # cache dependencies\n          - name: Cache dependencies\n            id: cache\n            uses: corca-ai/local-cache@v2\n            with:\n              path: env\n              key: ${{ runner.os }}-env-${{ hashFiles('**/setup.cfg') }}\n              base: \"/home/docker/.cache/\"\n          - name: Install Dependencies\n            run: source env/bin/activate && pip install -e '.[hf,hf-accel,tests,llama]'\n          - name: Run Default Tests\n            run: source env/bin/activate && python src/lmql/tests/all.py --failearly\n    wheel:\n      runs-on: lmql-ci\n      needs: [tests]\n      steps:\n          - uses: actions/checkout@v3\n          - name: Setup Fresh Virtual Environment\n            run: |\n              pip install --upgrade pip\n              python3.10 -m venv env\n              export PATH=$PATH:/home/docker/.local/bin\n              source env/bin/activate\n              echo \"VIRTUAL ENV:\" $VIRTUAL_ENV  \n          - name: Install Packaging Dependencies\n            run: pip install build twine\n          - name: Package\n            env:\n              VERSION: 0.999999\n            run: bash scripts/wheel.sh $VERSION\n          - name: Upload wheel as artifact\n            uses: actions/upload-artifact@v2\n            with:\n              name: lmql\n              path: dist/\n\n    web-build:\n      runs-on: ubuntu-latest\n      needs: [tests]\n  \n      steps:\n      - uses: actions/checkout@v3\n      - name: Prepare Node.js environment\n        uses: actions/setup-node@v3\n        with:\n          node-version: 20.x\n          cache: 'npm'\n      # cached dependencies for node\n      - name: Cache node modules\n        uses: actions/cache@v3\n        with:\n          path: |\n            docs/node_modules\n            scripts/browser-build/node_modules\n            src/lmql/ui/live/node_modules\n            src/lmql/ui/playground/node_modules\n          key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n  \n      - name: Build website and In-Browser LMQL Distribution\n        run: cd scripts && bash deploy-web.sh\n      - uses: actions/upload-artifact@master\n        with:\n          name: lmql-web-payload\n          path: web-deploy\n  \n    web-deploy:\n      name: Deploy Main Playground \n      runs-on: ubuntu-latest\n      needs: [web-build]\n      if:\n        contains('\n          refs/heads/main\n        ', github.ref)\n      steps:\n      - uses: actions/checkout@master\n      - uses: actions/download-artifact@master\n        with:\n          name: lmql-web-payload\n          path: web-deploy\n      - name: Deploy to web branch\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: web-deploy\n          branch: web", "state": "active", "repository": "eth-sri/lmql"}
{"mined_at": "2024-07-15T18:18:24.230921", "created_at": "2022-11-24T07:45:09+01:00", "updated_at": "2022-11-24T07:45:09+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "eth-sri/lmql"}
{"mined_at": "2024-07-15T18:18:26.505344", "created_at": "2023-09-22T14:27:22+02:00", "updated_at": "2023-09-23T12:12:31+02:00", "name": "Update Recent Activity", "path": ".github/workflows/recent-activity.yml", "contents": "name: Update Recent Activity\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Update this repo's README with recent activity\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: jamesgeorge007/github-activity-readme@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          GH_USERNAME: pep8speaks\n          MAX_LINES: 10\n", "state": "active", "repository": "pep8speaks-org/pep8speaks"}
{"mined_at": "2024-07-15T18:18:27.659320", "created_at": "2023-09-23T12:13:08+02:00", "updated_at": "2023-09-23T12:13:08+02:00", "name": "Create and publish a Docker image", "path": ".github/workflows/release.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# GitHub recommends pinning actions to a commit SHA.\n# To get a newer version, you will need to update the SHA.\n# You can also reference a tag or branch, but the action may change without warning.\n\nname: Create and publish a Docker image\n\non:\n  push:\n    tags: [\"v*.*-*\", \"v*.*\"]\n    \n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "pep8speaks-org/pep8speaks"}
{"mined_at": "2024-07-15T18:18:29.764294", "created_at": "2023-11-26T19:07:32+01:00", "updated_at": "2023-11-26T21:08:15+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n    branches: ['main']\n  pull_request:\n  workflow_dispatch: # Allows running the workflow manually from the Actions tab\n\npermissions:\n  contents: read\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.x\"\n      - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "endoflife-date/release-data"}
{"mined_at": "2024-07-15T18:18:31.011515", "created_at": "2022-12-17T11:47:03+01:00", "updated_at": "2022-12-20T10:37:09+01:00", "name": "Deploy website", "path": ".github/workflows/trigger-deploy.yml", "contents": "# This is triggered on every push to the main branch\n# and triggers a new deploy on the eol website.\nname: Deploy website\non:\n  # We trigger a deploy, if we've updated\n  # release-data in this push.\n  push:\n    branches:\n      - main\n    paths:\n      - 'releases/*'\njobs:\n  deploy:\n    name: Deploy Website\n    if: github.repository_owner == 'endoflife-date'\n    runs-on: ubuntu-latest\n    environment: production\n    steps:\n    - name: Trigger Deploy on Netlify\n      env :\n        NETLIFY_BUILD_HOOK_URL: '${{secrets.NETLIFY_BUILD_HOOK_URL}}'\n      run:\n        curl -X POST -d {} \"$NETLIFY_BUILD_HOOK_URL\"\n", "state": "active", "repository": "endoflife-date/release-data"}
{"mined_at": "2024-07-15T18:18:32.132629", "created_at": "2022-03-24T10:57:03+01:00", "updated_at": "2023-12-31T00:44:56+01:00", "name": "Update Data", "path": ".github/workflows/update.yml", "contents": "name: Update Data\n\non:\n  workflow_dispatch:\n  push:\n  schedule:\n    # See https://crontab.guru/#17_6,18_*_*_*\n    - cron: '17 0,6,12,18 * * *'\n\n# Cancel previous runs for a given branch if they are still running when a new one starts.\n# This is useful to avoid errors as the same branch would be changed multiple times.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  update:\n    name: Update data\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get current week\n        uses: josStorer/get-current-time@v2\n        id: current-time\n        with:\n          format: YYYY-ww # 2022-01 to 2022-52 for eg\n\n      - name: Cache fetched repositories\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache\n          # The cache is reset on the first build of every week this way. If you wish to reset the cache manually,\n          # you can do it on https://github.com/endoflife-date/release-data/actions/caches or by updating\n          # the last part of the key below.\n          key: \"${{ steps.current-time.outputs.formattedTime }}-2\"\n\n      - name: Clone self repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n\n      - name: Clone website repository\n        uses: actions/checkout@v4\n        with:\n          repository: endoflife-date/endoflife.date\n          path: website\n          submodules: false\n          fetch-depth: 0 # fetch all history for all branches and tags, needed for next step\n\n      # This is useful for testing changes that require updates on both release-data and website repositories.\n      # This step must never fail because in most case the branch will not exist on the website repository.\n      - name: Checkout the same branch on website\n        run: |\n          cd website\n          git checkout --progress --force -B ${{ github.ref_name }} refs/remotes/origin/${{ github.ref_name }} || true\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: 'pip'\n\n      - name: Install Python dependencies\n        run: pip install -r requirements.txt\n\n      - name: Update release data\n        id: update_data\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        continue-on-error: true # commit even if the data was not fully updated\n        run: python update.py\n\n      - name: Commit changes\n        uses: stefanzweifel/git-auto-commit-action@v5\n        if: steps.update_data.outputs.commit_message != ''\n        with:\n          commit_message: ${{ steps.update_data.outputs.commit_message }}\n          commit_author: 'github-actions[bot] <github-actions[bot]@users.noreply.github.com>'\n\n      # we still want to easily know if something went wrong\n      - name: Restore update.py failure\n        if: steps.update_data.outcome != 'success'\n        run: exit 1\n", "state": "active", "repository": "endoflife-date/release-data"}
{"mined_at": "2024-07-15T18:18:34.493415", "created_at": "2020-05-11T16:16:30+02:00", "updated_at": "2022-02-11T15:18:08+01:00", "name": "pr-test", "path": ".github/workflows/pr-test.yml", "contents": "---\nname: pr-test\non:\n  pull_request:\n  push:\n    branches:\n      - master\n      - develop\njobs:\n  pr-super-lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          submodules: \"recursive\"\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version-file: .python-version\n          cache: pipenv\n      - name: Install pipenv\n        run: bash \"${GITHUB_WORKSPACE}/scripts/pipenv_install.sh\"\n      - name: Set venv path\n        env:\n          DEST_PATH: \"/home/runner/work/_temp/_github_workflow/.venv\"\n        run: bash \"${GITHUB_WORKSPACE}/scripts/pr_test/pr_super_lint/set_venv_path.sh\"\n      - name: Set up Node.js\n        uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2\n        with:\n          cache: npm\n          node-version-file: package.json\n      - name: Install dependencies\n        run: bash \"${GITHUB_WORKSPACE}/scripts/pr_test/pr_super_lint/npm_ci.sh\"\n      - name: Lint files\n        uses: super-linter/super-linter/slim@88ea3923a7e1f89dd485d079f6eb5f5e8f937589 # v6.6.0\n        env:\n          VALIDATE_ALL_CODEBASE: true\n          VALIDATE_SQLFLUFF: false\n          VALIDATE_CHECKOV: false # TODO: checkovが依存するopenaiのバージョンがアップデートされたら削除\n          VALIDATE_JSCPD: false\n          LINTER_RULES_PATH: .\n          FILTER_REGEX_EXCLUDE: \".*assets/.*.txt\"\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}\n          WORKON_HOME: \"\"\n          PYTHONPATH: ${{ env.PYTHONPATH }}\n  pr-dotenv-linter:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          submodules: \"recursive\"\n          fetch-depth: 0\n      - name: Lint dotenv\n        uses: dotenv-linter/action-dotenv-linter@d92c8e455691d7a4d4e1d830081b0a39e4c34b88 # v2.21.0\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:35.557474", "created_at": "2020-09-05T08:09:32+02:00", "updated_at": "2020-09-05T08:09:32+02:00", "name": "pr-test-hato-bot", "path": ".github/workflows/pr-test-hato-bot.yml", "contents": "---\nname: pr-test-hato-bot\n# pull_requestで何かあった時に起動する\non:\n  pull_request:\n  push:\n    branches:\n      - master\n      - develop\njobs:\n  # unittestを行う\n  # testが落ちたらチェックが落ちる\n  pr-test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          submodules: \"recursive\"\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version-file: .python-version\n          cache: pipenv\n      - name: Install dependencies\n        run: bash \"${GITHUB_WORKSPACE}/scripts/pipenv_install.sh\"\n      - name: Test\n        run: bash \"${GITHUB_WORKSPACE}/scripts/pr_test_hato_bot/pr_test/test.sh\"\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:36.596671", "created_at": "2020-09-05T09:07:33+02:00", "updated_at": "2020-09-05T09:07:33+02:00", "name": "pr-copy-ci-hato-bot", "path": ".github/workflows/pr-copy-ci-hato-bot.yml", "contents": "---\nname: pr-copy-ci-hato-bot\non:\n  push:\n    branches:\n      - develop\n  workflow_dispatch:\njobs:\n  pr-copy-ci:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Generate a token\n        id: generate_token\n        uses: actions/create-github-app-token@c8f55efbd427e7465d6da1106e7979bc8aaee856 # v1.10.1\n        with:\n          app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}\n          private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}\n          owner: ${{ github.repository_owner }}\n          repositories: \"sudden-death\"\n      - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        with:\n          github-token: ${{steps.generate_token.outputs.token}}\n          script: |\n            const script = require(`${process.env.GITHUB_WORKSPACE}/scripts/pr_copy_ci_hato_bot/pr_copy_ci/dispatch_event.js`)\n            await script({ github, context })\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:37.770306", "created_at": "2020-09-05T18:00:06+02:00", "updated_at": "2022-08-13T04:33:58+02:00", "name": "pr-release-hato-bot", "path": ".github/workflows/pr-release-hato-bot.yml", "contents": "---\nname: pr-release-hato-bot\non:\n  push:\n    branches:\n      - develop\njobs:\n  # リリース用のPRを作成するjob\n  pr-release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n      - name: Get diff\n        id: get_diff\n        run: bash \"${GITHUB_WORKSPACE}/scripts/pr_release_hato_bot/pr_release/get_diff.sh\"\n      - name: Get PullRequests\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        if: ${{ steps.get_diff.outputs.result != '' }}\n        id: get_pull_requests\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const script = require(`${process.env.GITHUB_WORKSPACE}/scripts/get_pull_requests_hato_bot.js`)\n            return await script({github, context})\n      - name: Create PullRequest\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        if: ${{ steps.get_diff.outputs.result != '' && steps.get_pull_requests.outputs.result == 0 }}\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const script = require(`${process.env.GITHUB_WORKSPACE}/scripts/pr_release_hato_bot/pr_release/create_pull_request.js`)\n            await script({github, context})\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:38.817031", "created_at": "2020-11-08T00:43:30+01:00", "updated_at": "2022-08-13T04:33:58+02:00", "name": "pr-master-to-develop-hato-bot", "path": ".github/workflows/pr-merge-develop-hato-bot.yml", "contents": "---\nname: pr-master-to-develop-hato-bot\non:\n  push:\n    branches:\n      - master\njobs:\n  # masterにコミットがpushされたら、それをdevelopに反映するPRを作成するjob\n  # masterとdevelopの間でコミットログに差異が出ないようにする\n  pr-master-to-develop:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n      - name: Get PullRequests\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        id: get_pull_requests\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const script = require(`${process.env.GITHUB_WORKSPACE}/scripts/get_pull_requests_hato_bot.js`)\n            return await script({github, context})\n      - name: Create PullRequest\n        uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1\n        if: ${{ steps.get_pull_requests.outputs.result == 0 }}\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const script = require(`${process.env.GITHUB_WORKSPACE}/scripts/pr_merge_develop_hato_bot/pr_master_to_develop/create_pull_request.js`)\n            await script({github, context})\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:40.027217", "created_at": "2022-02-10T00:09:04+01:00", "updated_at": "2022-08-02T18:11:14+02:00", "name": "deploy-hato-bot", "path": ".github/workflows/deploy-hato-bot.yml", "contents": "---\nname: deploy-hato-bot\non:\n  release:\n    types:\n      - published\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - closed\n  push:\n    branches:\n      - master\n      - develop\njobs:\n  deploy_docker_image:\n    runs-on: ubuntu-latest\n    env:\n      DOCKER_BUILDKIT: 1\n      COMPOSE_DOCKER_CLI_BUILD: 1\n      REPOSITORY: ${{github.repository}}\n    permissions:\n      contents: read\n      packages: write\n    if: github.event_name == 'release' || (github.event_name == 'pull_request' && github.event.action != 'closed' && github.repository == github.event.pull_request.head.repo.full_name)\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n      - name: Set .env\n        run: cp .env.example .env\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0\n      - run: echo \"TAG_NAME=${HEAD_REF//\\//-}\" >> \"$GITHUB_ENV\"\n        env:\n          HEAD_REF: ${{github.head_ref}}\n        if: ${{ github.event_name == 'pull_request' }}\n      - run: echo 'TAG_NAME=${{ github.event.release.tag_name }}' >> \"$GITHUB_ENV\"\n        if: ${{ github.event_name == 'release' }}\n      - name: Build and push (build)\n        uses: docker/bake-action@f6acc70fe0da9b200315017ca49a08c0de03aa0b # v5.1.0\n        env:\n          DOCKER_CONTENT_TRUST: 1\n        with:\n          push: true\n          files: build.docker-compose.yml\n      - name: Build and push (main)\n        uses: docker/bake-action@f6acc70fe0da9b200315017ca49a08c0de03aa0b # v5.1.0\n        env:\n          DOCKER_CONTENT_TRUST: 1\n        with:\n          push: true\n          files: docker-compose.yml\n      - name: Build and push (dev)\n        uses: docker/bake-action@f6acc70fe0da9b200315017ca49a08c0de03aa0b # v5.1.0\n        env:\n          DOCKER_CONTENT_TRUST: 1\n        with:\n          push: true\n          files: docker-compose.yml,dev.base.docker-compose.yml\n      - run: echo 'TAG_NAME=latest' >> \"$GITHUB_ENV\"\n        if: ${{ github.event_name == 'release' }}\n      - name: Build and push (build) (latest)\n        uses: docker/bake-action@f6acc70fe0da9b200315017ca49a08c0de03aa0b # v5.1.0\n        if: ${{ github.event_name == 'release' }}\n        env:\n          DOCKER_CONTENT_TRUST: 1\n        with:\n          push: true\n          files: build.docker-compose.yml\n      - name: Build and push (main) (latest)\n        uses: docker/bake-action@f6acc70fe0da9b200315017ca49a08c0de03aa0b # v5.1.0\n        if: ${{ github.event_name == 'release' }}\n        env:\n          DOCKER_CONTENT_TRUST: 1\n        with:\n          push: true\n          files: docker-compose.yml\n      - name: Build and push (dev) (latest)\n        uses: docker/bake-action@f6acc70fe0da9b200315017ca49a08c0de03aa0b # v5.1.0\n        if: ${{ github.event_name == 'release' }}\n        env:\n          DOCKER_CONTENT_TRUST: 1\n        with:\n          push: true\n          files: docker-compose.yml,dev.base.docker-compose.yml\n      - name: Start docker\n        env:\n          DOCKER_CONTENT_TRUST: 1\n        run: docker compose up -d --wait\n  # .python-version をDockerイメージと同期させる\n  update-version-python-version:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    env:\n      DOCKER_CONTENT_TRUST: 1\n      REPOSITORY: ${{github.repository}}\n    needs: deploy_docker_image\n    if: always() && (needs.deploy_docker_image.result == 'success' || (github.event_name == 'pull_request' && github.event.action == 'closed'))\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Get Python version\n        id: get_python_version\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        run: bash \"${GITHUB_WORKSPACE}/scripts/deploy_hato_bot/update_version_python_version/get_python_version.sh\"\n        env:\n          HEAD_REF: ${{github.head_ref || github.event.release.tag_name}}\n      - uses: dev-hato/actions-diff-pr-management@128afc4203b4e391e03868be91c987b2ddba7ea5 # v1.1.12\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          branch-name-prefix: fix-version-python-version\n          pr-title-prefix: .python-versionを直してあげたよ！\n  pr-update-version:\n    runs-on: ubuntu-latest\n    needs: deploy_docker_image\n    if: always() && (needs.deploy_docker_image.result == 'success' || (github.event_name == 'pull_request' && github.event.action == 'closed'))\n    permissions:\n      contents: write\n      pull-requests: write\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n      - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        with:\n          cache: npm\n          node-version-file: package.json\n      - name: Get npm version\n        id: get_npm_version\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        run: bash \"${GITHUB_WORKSPACE}/scripts/deploy_hato_bot/pr_update_version/get_npm_version.sh\"\n        env:\n          HEAD_REF: ${{github.head_ref || github.event.release.tag_name}}\n      - uses: dev-hato/actions-diff-pr-management@128afc4203b4e391e03868be91c987b2ddba7ea5 # v1.1.12\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          branch-name-prefix: fix-version\n          pr-title-prefix: nodeをアップデートしてあげたよ！\n  # package.jsonに差分があれば、package.jsonからpackage-lock.jsonを作り出す\n  pr-check-npm:\n    runs-on: ubuntu-latest\n    needs: pr-update-version\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        with:\n          # ここでsubmodule持ってくるとdetached headにcommitして死ぬ\n          # submodule: 'recursive'\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Set up Node.js\n        uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        with:\n          cache: npm\n          node-version-file: package.json\n      - name: Install dependencies\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        run: bash \"${GITHUB_WORKSPACE}/scripts/deploy_hato_bot/npm_install.sh\"\n      - uses: dev-hato/actions-diff-pr-management@128afc4203b4e391e03868be91c987b2ddba7ea5 # v1.1.12\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          branch-name-prefix: npm\n          pr-title-prefix: package.jsonやpackage-lock.jsonが更新されたので直してあげたよ！\n  update-dockle:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n      - uses: dev-hato/actions-update-dockle@ebaeec0b495c85fb8fbba3b791fabcf32f94ce0c # v0.0.90\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n  dockle:\n    runs-on: ubuntu-latest\n    needs:\n      - update-dockle\n      - deploy_docker_image\n    env:\n      DOCKER_CONTENT_TRUST: 1\n      REPOSITORY: ${{github.repository}}\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - run: bash \"${GITHUB_WORKSPACE}/scripts/deploy_hato_bot/dockle/run_dockle.sh\"\n        env:\n          HEAD_REF: ${{github.head_ref || github.event.release.tag_name}}\n  deploy-complete:\n    runs-on: ubuntu-latest\n    if: always()\n    needs:\n      - update-version-python-version\n      - pr-check-npm\n      - update-dockle\n      - dockle\n    steps:\n      - if: needs.update-dockle.result == 'success' && (github.event_name == 'push' || (github.event_name == 'pull_request' && github.repository != github.event.pull_request.head.repo.full_name) || (needs.update-version-python-version.result == 'success' && (github.event.action == 'closed' || (needs.pr-check-npm.result == 'success' && needs.dockle.result == 'success'))))\n        run: exit 0\n      - if: ${{ !(needs.update-dockle.result == 'success' && (github.event_name == 'push' || (github.event_name == 'pull_request' && github.repository != github.event.pull_request.head.repo.full_name) || (needs.update-version-python-version.result == 'success' && (github.event.action == 'closed' || (needs.pr-check-npm.result == 'success' && needs.dockle.result == 'success'))))) }}\n        run: exit 1\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:41.149653", "created_at": "2022-02-11T13:32:56+01:00", "updated_at": "2022-02-12T10:06:48+01:00", "name": "pr-format", "path": ".github/workflows/pr-format.yml", "contents": "---\nname: pr-format\n# pull_requestで何かあった時に起動する\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - closed\n  push:\n    branches:\n      - master\npermissions:\n  contents: write\n  pull-requests: write\njobs:\n  # PRが来たらformatをかけてみて、差分があればPRを作って、エラーで落ちるjob\n  pr-format:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        with:\n          # ここでsubmodule持ってくるとdetached headにcommitして死ぬ\n          # submodule: 'recursive'\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        id: setup_python\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        with:\n          python-version-file: .python-version\n          cache: pipenv\n      - if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        run: sed -i -e \"s/python_version = \\\".*\\\"/python_version = \\\"$(echo ${{ steps.setup_python.outputs.python-version }} | sed -e 's/\\([0-9]*\\.[0-9]*\\).*/\\1/g')\\\"/g\" Pipfile\n      - name: Install dependencies\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        run: bash \"${GITHUB_WORKSPACE}/scripts/pipenv_install.sh\"\n      # formatする\n      # --exit-codeをつけることで、autopep8内でエラーが起きれば1、差分があれば2のエラーステータスコードが返ってくる。正常時は0が返る\n      - name: Format files\n        id: format\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        run: bash \"${GITHUB_WORKSPACE}/scripts/pr_format/pr_format/format.sh\"\n      - uses: dev-hato/actions-diff-pr-management@128afc4203b4e391e03868be91c987b2ddba7ea5 # v1.1.12\n        if: success() || failure()\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          branch-name-prefix: fix-format\n          pr-title-prefix: formatが間違ってたので直してあげたよ！\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:42.211513", "created_at": "2022-06-15T17:27:01+02:00", "updated_at": "2022-06-16T14:29:27+02:00", "name": "pr-update-gitleaks", "path": ".github/workflows/pr-update-gitleaks.yml", "contents": "---\nname: pr-update-gitleaks\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - closed\n  push:\n    branches:\n      - master\npermissions:\n  contents: write\n  pull-requests: write\njobs:\n  pr-update-gitleaks:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n      - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        with:\n          cache: npm\n          node-version-file: package.json\n      - name: Install packages\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        run: bash \"${GITHUB_WORKSPACE}/scripts/npm_ci.sh\"\n      - uses: dev-hato/actions-update-gitleaks@f5d97e2ae62ce61e0cfcc2489dc1bf80f33ae75d # v0.0.72\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:43.361212", "created_at": "2022-08-05T16:46:48+02:00", "updated_at": "2022-08-05T22:58:25+02:00", "name": "format-json-yml", "path": ".github/workflows/format-json-yml.yml", "contents": "---\nname: format-json-yml\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - closed\n  push:\n    branches:\n      - develop\n      - master\npermissions:\n  contents: write\n  pull-requests: write\njobs:\n  format-json-yml:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate a token\n        id: generate_token\n        uses: actions/create-github-app-token@c8f55efbd427e7465d6da1106e7979bc8aaee856 # v1.10.1\n        with:\n          app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}\n          private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n          token: ${{steps.generate_token.outputs.token}}\n      - uses: dev-hato/actions-format-json-yml@dd8a3dfa03cf76425af59d64f2982d08b4872449 # v0.0.65\n        with:\n          github-token: ${{steps.generate_token.outputs.token}}\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:44.514695", "created_at": "2022-08-21T14:09:27+02:00", "updated_at": "2022-08-22T14:41:29+02:00", "name": "Add to Task List", "path": ".github/workflows/add-to-task-list.yml", "contents": "name: Add to Task List\non:\n  pull_request:\n    types:\n      - opened\n      - reopened\n  issues:\n    types:\n      - opened\njobs:\n  add-to-task-list:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'issues' || github.repository == github.event.pull_request.head.repo.full_name\n    steps:\n      - name: Generate a token\n        id: generate_token\n        uses: actions/create-github-app-token@c8f55efbd427e7465d6da1106e7979bc8aaee856 # v1.10.1\n        with:\n          app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}\n          private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}\n      - uses: dev-hato/actions-add-to-projects@248b396915f6da2020cbc6fba5f7bc8bde7cd043 # v0.0.74\n        with:\n          github-token: ${{steps.generate_token.outputs.token}}\n          project-url: https://github.com/orgs/dev-hato/projects/1\n", "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:45.655330", "created_at": "2022-09-24T13:48:44+02:00", "updated_at": "2022-09-28T00:17:04+02:00", "name": "update-readme-hato-bot", "path": ".github/workflows/update-readme-hato-bot.yml", "contents": "---\nname: update-readme-hato-bot\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n      - closed\n  push:\n    branches:\n      - master\njobs:\n  update-readme:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n        with:\n          fetch-depth: 0\n          ref: ${{ github.event.pull_request.head.sha }}\n      - run: perl -pe \"s/{commands}/$(sed -e '2,$s/^/    /' commands.txt)/g\" < README.template.md > README.md\n        if: github.event_name != 'pull_request' || github.event.action != 'closed'\n      - uses: dev-hato/actions-diff-pr-management@128afc4203b4e391e03868be91c987b2ddba7ea5 # v1.1.12\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          branch-name-prefix: update-readme\n          pr-title-prefix: READMEを更新してあげたよ！\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:46.768979", "created_at": "2022-12-10T09:26:52+01:00", "updated_at": "2022-12-10T09:26:52+01:00", "name": "github-actions-cache-cleaner", "path": ".github/workflows/github-actions-cache-cleaner.yml", "contents": "---\nname: github-actions-cache-cleaner\non:\n  push:\n    branches:\n      - develop\n      - master\n  schedule:\n    - cron: '0 21 * * *' # 06:00 JST\n  workflow_dispatch:\njobs:\n  github-actions-cache-cleaner:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - uses: dev-hato/github-actions-cache-cleaner@73bf69e5227f3fb8684d0eca1f155e85af85f7b5 # v0.0.46\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}\n  cancel-in-progress: true\n", "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:47.758427", "created_at": "2023-04-29T18:51:10+02:00", "updated_at": "2023-04-29T18:51:10+02:00", "name": "add-missing-pipfile-package", "path": ".github/workflows/add-missing-pipfile-package.yml", "contents": null, "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:48.827227", "created_at": "2023-12-16T13:58:02+01:00", "updated_at": "2023-12-16T13:58:02+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "dev-hato/hato-bot"}
{"mined_at": "2024-07-15T18:18:50.982304", "created_at": "2020-10-18T22:34:00+02:00", "updated_at": "2024-06-08T23:44:19+02:00", "name": "Unit Tests", "path": ".github/workflows/test.yml", "contents": "name: Unit Tests\nenv:\n  # increment this when downloads substantially change to avoid the internet\n  DOWNLOAD_CACHE_VERSION: '4'\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n    inputs:\n       run_process_replay:\n         description: \"Run process replay tests\"\n         required: false\n         default: false\n         type: boolean\n\njobs:\n  check_process_replay:\n    name: Check process replay\n    runs-on: ubuntu-latest\n    outputs:\n      run_process_replay: ${{ steps.set-env.outputs.run_process_replay }}\n      assert_process_replay: ${{ steps.set-env.outputs.assert_process_replay }}\n    timeout-minutes: 5\n\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 2 # NOTE: this fetches the HEAD commit of the PR\n    - name: Set process replay\n      id: set-env\n      run: |\n        RAW_COMMIT_MESSAGE=$(git show -s --format=%B ${{ github.event.pull_request.head.sha }})\n        COMMIT_MESSAGE=$(printf '%q' \"$RAW_COMMIT_MESSAGE\")\n        RAW_PR_TITLE=\"${{ github.event.pull_request.title }}\"\n        PR_TITLE=$(printf '%q' \"$RAW_PR_TITLE\")\n        if { echo \"$COMMIT_MESSAGE\" | grep -q \"run_process_replay\" || \\\n             [ \"${{ github.event.inputs.run_process_replay }}\" == \"true\" ] || \\\n             echo \"$PR_TITLE\" | grep -q \"run_process_replay\"; } && [ \"$GITHUB_REF_NAME\" != \"master\" ]; then\n          echo \"RUN_PROCESS_REPLAY=1\" >> $GITHUB_OUTPUT\n          echo \"enabled process replay\"\n          if echo \"$COMMIT_MESSAGE\" | grep -q \"no_assert\"; then\n            echo \"ASSERT_PROCESS_REPLAY=0\" >> $GITHUB_OUTPUT\n            echo \"running process replay in diff-only mode\"\n          else\n            echo \"ASSERT_PROCESS_REPLAY=1\" >> $GITHUB_OUTPUT\n          fi\n        else\n          echo \"RUN_PROCESS_REPLAY=0\" >> $GITHUB_OUTPUT\n          echo \"disabled process replay\"\n        fi\n\n  uops:\n    name: uops tests\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n    - name: Cache python packages\n      uses: actions/cache@v4\n      with:\n        path: ${{ env.Python3_ROOT_DIR }}/lib/python3.12/site-packages\n        key: uops-packages-${{ hashFiles('**/setup.py') }}-3.12\n    - name: Install dependencies\n      run: pip install -e '.[testing]' --extra-index-url https://download.pytorch.org/whl/cpu\n    - name: Test IMAGE=2 support\n      run: |\n        IMAGE=2 PYTHON=1 python3 test/test_ops.py TestOps.test_gemm\n        IMAGE=2 PYTHON=1 python3 test/test_ops.py TestOps.test_simple_conv2d\n    - name: Test emulated METAL tensor cores\n      run: DEBUG=2 EMULATE_METAL=1 FORWARD_ONLY=1 PYTHON=1 python3 test/test_ops.py TestOps.test_big_gemm\n    - name: Test emulated AMD tensor cores\n      run: |\n        PYTHONPATH=. DEBUG=2 EMULATE_AMD=1 FORWARD_ONLY=1 PYTHON=1 N=16 HALF=1 ACC_HALF=0 python3 ./extra/gemm/simple_matmul.py\n        PYTHONPATH=. DEBUG=2 EMULATE_AMD=1 FORWARD_ONLY=1 PYTHON=1 N=64 HALF=1 ACC_HALF=0 python3 ./extra/gemm/simple_matmul.py\n        PYTHONPATH=. DEBUG=2 EMULATE_AMD=1 FORWARD_ONLY=1 PYTHON=1 N=16 HALF=1 ACC_HALF=1 python3 ./extra/gemm/simple_matmul.py\n        PYTHONPATH=. DEBUG=2 EMULATE_AMD=1 FORWARD_ONLY=1 PYTHON=1 N=64 HALF=1 ACC_HALF=1 python3 ./extra/gemm/simple_matmul.py\n    - name: Test emulated CUDA tensor cores\n      run: DEBUG=2 EMULATE_CUDA=1 FORWARD_ONLY=1 PYTHON=1 python3 test/test_ops.py TestOps.test_gemm\n    - name: Full test tensor cores\n      run: |\n        PYTHONPATH=. DEBUG=2 EMULATE_METAL=1 FORWARD_ONLY=1 PYTHON=1 python3 ./test/test_linearizer.py TestLinearizer.test_tensor_cores\n        PYTHONPATH=. DEBUG=2 EMULATE_AMD=1 FORWARD_ONLY=1 PYTHON=1 python3 ./test/test_linearizer.py TestLinearizer.test_tensor_cores\n        PYTHONPATH=. DEBUG=2 EMULATE_CUDA=1 FORWARD_ONLY=1 PYTHON=1 python3 ./test/test_linearizer.py TestLinearizer.test_tensor_cores\n    - name: Test dtype with Python emulator\n      run: DEBUG=1 PYTHONPATH=. PYTHON=1 python3 -m pytest test/test_dtype.py test/test_dtype_alu.py\n    - name: Test ops with Python emulator\n      run: DEBUG=2 PYTHON=1 python3 -m pytest test/test_ops.py -k \"not (test_split or test_simple_cumsum or test_cumsum or test_einsum or test_dot or test_dot_1d or test_big_gemm or test_broadcastdot or test_multidot or test_var_axis or test_std_axis or test_broadcast_full or test_broadcast_partial or test_simple_conv3d or test_dilated_conv_transpose2d or test_simple_conv_transpose3d or test_large_input_conv2d or test_maxpool2d or test_maxpool2d_simple or test_maxpool2d_bigger_stride or test_avgpool2d or test_cat or test_scaled_product_attention or test_scaled_product_attention_causal or test_slice_fancy_indexing_dim_inject_none or test_slice_fancy_indexing_list_indices or test_slice_fancy_indexing_no_dim_collapse or test_slice_fancy_indexing_tuple_indices or test_slice_fancy_indexing_list_with_tensors or test_slice_fancy_indexing_dim_collapse_int)\" --durations=20\n    - name: Test uops with Python emulator\n      run: PYTHON=1 python3 -m pytest test/test_uops.py --durations=20\n    - name: Test symbolic with Python emulator\n      run: PYTHONPATH=. PYTHON=1 python3 test/test_symbolic_ops.py\n    - name: test_linearizer_failures with Python emulator\n      run: PYTHONPATH=. PYTHON=1 python3 -m pytest -rA test/test_linearizer_failures.py::TestLinearizerFailures::test_failure_1\n\n  linter:\n    name: Linters\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    # TODO: run the pre-commit hook to replace a lot of this\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n    - name: Cache python packages\n      uses: actions/cache@v4\n      with:\n        path: ${{ env.Python3_ROOT_DIR }}/lib/python3.8/site-packages\n        key: linting-packages-${{ hashFiles('**/setup.py') }}-3.8\n    - name: Install dependencies\n      run: pip install -e '.[linting,testing]' --extra-index-url https://download.pytorch.org/whl/cpu\n    - name: Lint with pylint\n      run: python -m pylint --disable=all -e W0311 -e C0303 --jobs=0 --indent-string='  ' **/*.py\n    - name: Lint with ruff\n      run: |\n        pip3 install --upgrade --force-reinstall ruff\n        python3 -m ruff check .\n    - name: Lint tinygrad with pylint\n      run: python -m pylint tinygrad/\n    - name: Run mypy\n      run: python -m mypy --strict-equality\n    - name: Test Docs\n      run: |\n        python docs/abstractions2.py\n    - name: Test Quickstart\n      run: awk '/```python/{flag=1;next}/```/{flag=0}flag' docs/quickstart.md > quickstart.py &&  PYTHONPATH=. python quickstart.py\n    - name: Fuzz Test symbolic\n      run: python test/external/fuzz_symbolic.py\n    - name: Fuzz Test shapetracker\n      run: |\n        PYTHONPATH=\".\" python test/external/fuzz_shapetracker.py\n        PYTHONPATH=\".\" python test/external/fuzz_shapetracker_math.py\n    - name: Test to_movement_ops\n      run: PYTHONPATH=\".\" python extra/to_movement_ops.py\n    - name: Use as an external package\n      run: |\n        mkdir $HOME/test_external_dir\n        cd $HOME/test_external_dir\n        python -m venv venv\n        source venv/bin/activate\n        pip install $GITHUB_WORKSPACE\n        python -c \"from tinygrad.tensor import Tensor; print(Tensor([1,2,3,4,5]))\"\n    - name: Test DEBUG\n      run: DEBUG=100 python3 -c \"from tinygrad import Tensor; N = 1024; a, b = Tensor.rand(N, N), Tensor.rand(N, N); c = (a.reshape(N, 1, N) * b.T.reshape(1, N, N)).sum(axis=2); print((c.numpy() - (a.numpy() @ b.numpy())).mean())\"\n    - name: Repo line count <8000 lines\n      run: MAX_LINE_COUNT=8000 python sz.py\n\n  testopencl:\n    strategy:\n      fail-fast: false\n      matrix:\n        task: [optimage, openpilot, onnx]\n    needs: check_process_replay\n    #env:\n      #RUN_PROCESS_REPLAY: ${{ needs.check_process_replay.outputs.run_process_replay }}\n\n    name: ${{ matrix.task=='optimage'&&'GPU OPT and IMAGE Tests' || matrix.task=='openpilot'&&'openpilot (OpenCL) Tests' || matrix.task=='onnx'&&'ONNX+Optimization Tests' }}\n    runs-on: ubuntu-20.04\n    timeout-minutes: 10\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Install OpenCL\n        run: |\n          echo 'Acquire::http::Pipeline-Depth \"5\";' | sudo tee -a /etc/apt/apt.conf.d/99parallel\n          echo \"deb [ allow-insecure=yes ] https://apt.repos.intel.com/oneapi all main\" | sudo tee /etc/apt/sources.list.d/oneAPI.list\n          sudo apt update || true\n          sudo apt install --allow-unauthenticated -y --no-install-recommends \\\n            intel-oneapi-runtime-openmp=2023.2.1-16 intel-oneapi-runtime-compilers-common=2023.2.1-16 intel-oneapi-runtime-compilers=2023.2.1-16 \\\n            intel-oneapi-runtime-dpcpp-sycl-opencl-cpu=2023.2.1-16 intel-oneapi-runtime-tbb-common=2021.10.0-49541 \\\n            intel-oneapi-runtime-tbb=2021.10.0-49541 intel-oneapi-runtime-opencl=2023.2.1-16\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Cache python packages\n        uses: actions/cache@v4\n        with:\n          path: ${{ env.Python3_ROOT_DIR }}/lib/python3.11/site-packages\n          key: testing-packages-${{ hashFiles('**/setup.py') }}\n      - name: Cache downloads\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/tinygrad/downloads/\n          key: downloads-cache-${{ matrix.task }}-${{ env.DOWNLOAD_CACHE_VERSION }}\n      - name: Install Dependencies\n        run: pip install -e '.[testing,testing_tf]' --extra-index-url https://download.pytorch.org/whl/cpu\n      - if: ${{ matrix.task == 'optimage' }}\n        name: Run Kernel Count Test\n        run: PYTHONPATH=\".\" GPU=1 python -m pytest -n=auto test/external/external_test_opt.py\n      - if: ${{ matrix.task == 'optimage'}}\n        name: Test WINO=1\n        run: GPU=1 DEBUG=2 WINO=1 python3 test/test_ops.py TestOps.test_simple_conv2d\n      - if: ${{ matrix.task == 'optimage'}}\n        name: Test GPU IMAGE=1 ops\n        run: GPU=1 IMAGE=1 python -m pytest -n=auto test/test_ops.py\n      - if: ${{ matrix.task == 'optimage'}}\n        name: Test GPU IMAGE=2 ops\n        run: GPU=1 IMAGE=2 python -m pytest -n=auto test/test_ops.py\n      - if: ${{ matrix.task == 'openpilot' }}\n        name: Test openpilot model compile and size\n        run: |\n          PYTHONPATH=\".\" DEBUG=2 ALLOWED_KERNEL_COUNT=208 FLOAT16=1 DEBUGCL=1 GPU=1 IMAGE=2 python examples/openpilot/compile2.py\n          python -c 'import os; assert os.path.getsize(\"/tmp/output.thneed\") < 100_000_000'\n      - if: ${{ matrix.task == 'openpilot' }}\n        name: Test openpilot model correctness (float32)\n        run: PYTHONPATH=\".\" FLOAT16=0 DEBUGCL=1 GPU=1 IMAGE=2 python examples/openpilot/compile2.py\n      - if: ${{ matrix.task == 'openpilot' }}\n        name: Test openpilot alt model correctness (float32)\n        run: PYTHONPATH=\".\" FLOAT16=0 DEBUGCL=1 GPU=1 IMAGE=2 python examples/openpilot/compile2.py https://github.com/commaai/openpilot/raw/3799fe46b3a629e491d4b8498b8ae83e4c88c304/selfdrive/modeld/models/supercombo.onnx\n      - if: ${{ matrix.task == 'openpilot' }}\n        name: Test openpilot fastvits model correctness (float32)\n        run: PYTHONPATH=\".\" FLOAT16=0 DEBUGCL=1 GPU=1 IMAGE=2 python examples/openpilot/compile2.py https://github.com/commaai/openpilot/raw/9118973ed03c1ae1d40cf69a29507ec2cc78efd7/selfdrive/modeld/models/supercombo.onnx\n      - if: ${{ matrix.task == 'onnx' }}\n        name: Test ONNX (GPU)\n        run: GPU=1 python -m pytest -n=auto test/external/external_test_onnx_backend.py --durations=20\n      - if: ${{ matrix.task == 'onnx' }}\n        name: Test ONNX (CLANG)\n        run: CLANG=1 python -m pytest -n=auto test/external/external_test_onnx_backend.py --durations=20\n      - if: ${{ matrix.task == 'onnx' }}\n        name: Test Action Space\n        run: PYTHONPATH=\".\" GPU=1 python3 extra/optimization/get_action_space.py\n      - if: ${{ matrix.task == 'onnx' }}\n        name: Test Beam Search\n        run: PYTHONPATH=\".\" GPU=1 IGNORE_BEAM_CACHE=1 python3 -m pytest extra/optimization/test_beam_search.py\n      - if: ${{ matrix.task == 'onnx' }}\n        name: Test MLPerf optimizers\n        run: GPU=1 python -m pytest -n=auto test/external/external_test_optim.py --durations=20\n      - if: ${{ matrix.task == 'onnx' }}\n        name: Test MLPerf losses\n        run: GPU=1 python -m pytest -n=auto test/external/external_test_losses.py --durations=20\n      - if: ${{ matrix.task == 'onnx' }}\n        name: Test MLPerf metrics\n        run: GPU=1 python -m pytest -n=auto test/external/external_test_metrics.py --durations=20\n      - if: ${{ matrix.task == 'onnx' }}\n        name: Test MLPerf datasets\n        run: GPU=1 python -m pytest -n=auto test/external/external_test_datasets.py --durations=20\n      - if: ${{ matrix.task == 'onnx' }}\n        name: Test THREEFRY\n        run: PYTHONPATH=. THREEFRY=1 GPU=1 python3 -m pytest test/test_randomness.py test/test_jit.py --durations=20\n      - name: Run process replay tests\n        if: env.RUN_PROCESS_REPLAY == '1'\n        run: cp test/external/replay_codegen.py ./replay_codegen.py && git fetch origin master && git checkout origin/master && PYTHONPATH=. python3 replay_codegen.py\n\n  #testwebgpu:\n  #  name: WebGPU Tests\n  #  runs-on: macos-13\n  #  timeout-minutes: 10\n  #  steps:\n  #  - name: Checkout Code\n  #    uses: actions/checkout@v4\n  #  - name: Set up Python 3.11\n  #    uses: actions/setup-python@v5\n  #    with:\n  #      python-version: 3.11\n  #  - name: Cache python packages\n  #    uses: actions/cache@v4\n  #    with:\n  #      path: /Users/runner/Library/Python/3.11/lib/python/site-packages\n  #      key: webgpu-testing-user3-packages-${{ hashFiles('**/setup.py') }}\n  #  - name: Install Dependencies\n  #    run: pip install --user -e '.[webgpu,testing]' --extra-index-url https://download.pytorch.org/whl/cpu\n  #  - name: Cache downloads\n  #    uses: actions/cache@v4\n  #    with:\n  #      path: ~/Library/Caches/tinygrad/downloads/\n  #      key: downloads-cache-webgpu-${{ env.DOWNLOAD_CACHE_VERSION }}\n  #  - name: Check Device.DEFAULT (WEBGPU) and print some source\n  #    run: |\n  #      WEBGPU=1 python -c \"from tinygrad import Device; assert Device.DEFAULT == 'WEBGPU', Device.DEFAULT\"\n  #      WEBGPU=1 DEBUG=4 FORWARD_ONLY=1 python3 test/test_ops.py TestOps.test_add\n    #- name: Run webgpu pytest\n    #  run: WEBGPU=1 WGPU_BACKEND_TYPE=Metal python -m pytest -n=auto\n  #  - name: Run selected webgpu tests\n  #    run: |\n  #      WEBGPU=1 WGPU_BACKEND_TYPE=Metal python -m pytest -n=auto test/test_ops.py test/test_dtype.py \\\n  #      test/test_jit.py test/test_symbolic_ops.py test/test_symbolic_jit.py test/test_linearizer.py \\\n  #      test/test_linearizer_failures.py test/test_nn.py\n  #  - name: Build WEBGPU Efficientnet\n  #    run: WEBGPU=1 WGPU_BACKEND_TYPE=Metal python -m examples.compile_efficientnet\n  #  - name: Install Puppeteer\n  #    run: npm install puppeteer\n  #  - name: Run WEBGPU Efficientnet\n  #    run: node test/web/test_webgpu.js\n\n  testmetal:\n    name: Metal Tests\n    runs-on: macos-14\n    needs: check_process_replay\n    env:\n      RUN_PROCESS_REPLAY: ${{ needs.check_process_replay.outputs.run_process_replay }}\n      ASSERT_PROCESS_REPLAY: ${{ needs.check_process_replay.outputs.assert_process_replay }}\n    timeout-minutes: 20\n\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n    - name: Cache python packages\n      uses: actions/cache@v4\n      with:\n        path: /Users/runner/Library/Python/3.11/lib/python/site-packages\n        key: metal-m1-testing-user3-packages-${{ hashFiles('**/setup.py') }}\n    - name: Install Dependencies\n      run: pip install --user -e '.[testing]' --extra-index-url https://download.pytorch.org/whl/cpu\n    - name: Cache downloads\n      uses: actions/cache@v4\n      with:\n        path: ~/Library/Caches/tinygrad/downloads/\n        key: downloads-cache-metal-only-${{ env.DOWNLOAD_CACHE_VERSION }}\n    - name: Check Device.DEFAULT (METAL) and print some source\n      run: |\n        METAL=1 python -c \"from tinygrad import Device; assert Device.DEFAULT == 'METAL', Device.DEFAULT\"\n        METAL=1 DEBUG=4 FORWARD_ONLY=1 python3 test/test_ops.py TestOps.test_add\n    - name: Run metal test\n      run: JIT=2 METAL=1 python -m pytest -n=auto test/ --ignore=test/external --ignore=test/models --durations=20\n    - name: Run real world test\n      run: JIT=2 METAL=1 python -m pytest -n=auto test/models/test_real_world.py --durations=20\n    - name: Run ONNX\n      run: JIT=2 METAL=1 python -m pytest -n=auto test/external/external_test_onnx_backend.py --durations=20\n    - name: Test tensor core ops (fake)\n      run: TC=2 METAL=1 DEBUG=3 python test/test_ops.py TestOps.test_gemm\n    - name: Test tensor core ops (real)\n      run: METAL=1 DEBUG=3 python test/test_ops.py TestOps.test_big_gemm\n    - name: Test LLaMA compile speed\n      run: PYTHONPATH=\".\" METAL=1 python test/external/external_test_speed_llama.py\n    - name: Test Beam Search\n      run: PYTHONPATH=\".\" METAL=1 IGNORE_BEAM_CACHE=1 python3 -m pytest extra/optimization/test_beam_search.py\n    - name: Fuzz Test linearizer\n      run: PYTHONPATH=\".\" METAL=1 CACHELEVEL=0 FUZZ_ALL_ACTIONS=1 DEPTH=2 FUZZ_N=48 FUZZ_MAX_SIZE=10000000 python test/external/fuzz_linearizer.py\n    - name: Fuzz Test models schedule\n      run: FUZZ_SCHEDULE=1 FUZZ_SCHEDULE_MAX_PATHS=5 python -m pytest test/models/test_train.py test/models/test_end2end.py\n    - name: Run process replay tests\n      if: env.RUN_PROCESS_REPLAY == '1'\n      run: cp test/external/replay_codegen.py ./replay_codegen.py && git fetch origin master && git checkout origin/master && PYTHONPATH=. python3 replay_codegen.py\n\n#  testwebgl:\n#    name: WebGL Tests\n#    runs-on: ubuntu-latest\n#    timeout-minutes: 10\n#\n#    steps:\n#    - name: Checkout Code\n#      uses: actions/checkout@v3\n#    - name: Set up Python 3.11\n#      uses: actions/setup-python@v4\n#      with:\n#        python-version: 3.11\n#    - name: Cache python packages\n#      uses: actions/cache@v4\n#      with:\n#        path: ${{ env.Python3_ROOT_DIR }}/lib/python3.11/site-packages\n#        key: webgl-testing-packages-${{ hashFiles('**/setup.py') }}\n#    - name: Install Dependencies\n#      run: pip install -e '.[webgl,testing]' --extra-index-url https://download.pytorch.org/whl/cpu\n#    - name: Cache downloads\n#      uses: actions/cache@v4\n#      with:\n#        path: ~/Library/Caches/tinygrad/downloads/\n#        key: downloads-cache-webgl-${{ env.DOWNLOAD_CACHE_VERSION }}\n#    - name: Prepare\n#      run: |\n#        sudo apt-get -y install xvfb\n#        sudo /usr/bin/Xvfb :0 -screen 0 4096x4096x24+32 &\n#    - name: Run selected webgl tests\n#      run: WEBGL=1 python -m pytest -n=auto test/test_ops.py test/test_dtype.py test/test_jit.py\n#    - name: Build WebGL Efficientnet\n#      run: WEBGL=1 python -m examples.compile_efficientnet\n\n  tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        backend: [llvm, clang, gpu, ptx, amd, nv] #, triton]\n    needs: check_process_replay\n    env:\n      RUN_PROCESS_REPLAY: ${{ needs.check_process_replay.outputs.run_process_replay }}\n      ASSERT_PROCESS_REPLAY: ${{ needs.check_process_replay.outputs.assert_process_replay }}\n\n    name: Tests on (${{ matrix.backend }})\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Cache python packages\n        uses: actions/cache@v4\n        with:\n          path: ${{ env.Python3_ROOT_DIR }}/lib/python3.11/site-packages\n          key: ${{ matrix.backend }}-packages-${{ hashFiles('**/setup.py') }}\n      - name: Cache downloads\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/tinygrad/downloads/\n          key: downloads-cache-${{ matrix.backend }}-${{ env.DOWNLOAD_CACHE_VERSION }}\n      - name: Set env\n        run: printf \"${{ matrix.backend == 'llvm' && 'LLVM=1' || matrix.backend == 'clang' && 'CLANG=1' || matrix.backend == 'gpu' && 'GPU=1' || matrix.backend == 'PTX' && 'FORWARD_ONLY=1\\nJIT=1\\nOPT=2\\nCUDA=1\\nCUDACPU=1\\nPTX=1' || matrix.backend == 'triton' && 'FORWARD_ONLY=1\\nJIT=1\\nOPT=2\\nCUDA=1\\nCUDACPU=1\\nTRITON=1\\nTRITON_PTXAS_PATH=/usr/bin/ptxas' || matrix.backend == 'amd' && 'AMD=1\\nMOCKGPU=1\\nFORWARD_ONLY=1' || matrix.backend == 'nv' && 'NV=1\\nMOCKGPU=1\\nFORWARD_ONLY=1' }}\" >> $GITHUB_ENV\n      - name: Install OpenCL\n        if: matrix.backend == 'gpu'\n        run: |\n          echo 'Acquire::http::Pipeline-Depth \"5\";' | sudo tee -a /etc/apt/apt.conf.d/99parallel\n          echo \"deb [ allow-insecure=yes ] https://apt.repos.intel.com/oneapi all main\" | sudo tee /etc/apt/sources.list.d/oneAPI.list\n          sudo apt update || true\n          sudo apt install --allow-unauthenticated -y --no-install-recommends opencl-headers \\\n            intel-oneapi-runtime-openmp=2023.2.1-16 intel-oneapi-runtime-compilers-common=2023.2.1-16 intel-oneapi-runtime-compilers=2023.2.1-16 \\\n            intel-oneapi-runtime-dpcpp-sycl-opencl-cpu=2023.2.1-16 intel-oneapi-runtime-tbb-common=2021.10.0-49541 \\\n            intel-oneapi-runtime-tbb=2021.10.0-49541 intel-oneapi-runtime-opencl=2023.2.1-16\n      - name: Install packages (cuda)\n        if: matrix.backend == 'ptx' || matrix.backend == 'triton' || matrix.backend == 'nv'\n        run: |\n          echo 'Acquire::http::Pipeline-Depth \"5\";' | sudo tee -a /etc/apt/apt.conf.d/99parallel\n          sudo apt update -y || true\n          sudo apt install -y --no-install-recommends git g++ cmake ninja-build llvm-15-dev zlib1g-dev libglew-dev \\\n            flex bison libfl-dev libboost-thread-dev libboost-filesystem-dev nvidia-cuda-toolkit-gcc libzstd-dev\n      - name: Cache gpuocelot\n        if: matrix.backend == 'ptx' || matrix.backend == 'triton' || matrix.backend == 'nv'\n        id: cache-build\n        uses: actions/cache@v4\n        env:\n          cache-name: cache-gpuocelot-build\n        with:\n          path: ${{ github.workspace }}/gpuocelot/ocelot\n          key: ubuntu22.04-gpuocelot-4524e34adb7eaccc6f71262f2e21d7052bb17c2f-rebuild-6\n      - name: Clone/compile gpuocelot\n        if: (matrix.backend == 'ptx' || matrix.backend == 'triton' || matrix.backend == 'nv') && steps.cache-build.outputs.cache-hit != 'true'\n        run: |\n          git clone --recurse-submodules https://github.com/gpuocelot/gpuocelot.git ${{ github.workspace }}/gpuocelot\n          cd ${{ github.workspace }}/gpuocelot/ocelot\n          git checkout 4524e34adb7eaccc6f71262f2e21d7052bb17c2f\n          mkdir build\n          cd build\n          cmake .. -Wno-dev -G Ninja -DOCELOT_BUILD_TOOLS=OFF -DCMAKE_BUILD_ALWAYS=0 -DBUILD_TESTS_CUDA=OFF\n          ninja\n      - name: Install gpuocelot\n        if: matrix.backend == 'ptx' || matrix.backend == 'triton' || matrix.backend == 'nv'\n        run: |\n          cd ${{ github.workspace }}/gpuocelot/ocelot/build\n          sudo ninja install -d explain\n      - name: Install packages (amd)\n        if: matrix.backend == 'amd'\n        run: |\n          echo 'Acquire::http::Pipeline-Depth \"5\";' | sudo tee -a /etc/apt/apt.conf.d/99parallel\n          wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null\n          sudo tee /etc/apt/sources.list.d/rocm.list <<'EOF'\n          deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.1.2 jammy main\n          EOF\n          echo -e 'Package: *\\nPin: release o=repo.radeon.com\\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600\n          sudo apt update || true\n          sudo apt install --no-install-recommends --allow-unauthenticated -y hsa-rocr comgr hsa-rocr-dev liburing-dev\n          curl -s https://api.github.com/repos/Qazalin/remu/releases/latest | \\\n          jq -r '.assets[] | select(.name == \"libremu.so\").browser_download_url' | \\\n          sudo xargs curl -L -o /usr/local/lib/libremu.so\n          sudo tee --append /etc/ld.so.conf.d/rocm.conf <<'EOF'\n            /opt/rocm/lib\n            /opt/rocm/lib64\n          EOF\n          sudo ldconfig\n      - name: Install dependencies\n        run: pip install -e '.[testing${{matrix.backend=='llvm'&&',llvm'||matrix.backend=='ptx'&&',cuda'||matrix.backend=='triton'&&',triton'||''}}]' --extra-index-url https://download.pytorch.org/whl/cpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/Triton-Nightly/pypi/simple/\n      - name: Check Device.DEFAULT and print some source\n        run: |\n          PYTHONPATH=${{ github.workspace }} python3 -c \"from tinygrad import Device; assert Device.DEFAULT in ['LLVM','CLANG','CUDA','GPU','AMD','NV'], Device.DEFAULT\"\n          DEBUG=5 PYTHONPATH=${{ github.workspace }} FORWARD_ONLY=1 python3 test/test_ops.py TestOps.test_add\n      - name: Verify OpenCL autogen\n        if: matrix.backend == 'gpu'\n        run: |\n          cp tinygrad/runtime/autogen/opencl.py /tmp/opencl.py.bak\n          ./autogen_stubs.sh opencl\n          diff /tmp/opencl.py.bak tinygrad/runtime/autogen/opencl.py\n      - name: Verify CUDA autogen\n        if: matrix.backend == 'nv'\n        run: |\n          cp tinygrad/runtime/autogen/cuda.py /tmp/cuda.py.bak\n          cp tinygrad/runtime/autogen/nv_gpu.py /tmp/nv_gpu.py.bak\n          ./autogen_stubs.sh cuda\n          ./autogen_stubs.sh nv\n          diff /tmp/cuda.py.bak tinygrad/runtime/autogen/cuda.py\n          diff /tmp/nv_gpu.py.bak tinygrad/runtime/autogen/nv_gpu.py\n      - name: Verify AMD autogen\n        if: matrix.backend == 'amd'\n        run: |\n          cp tinygrad/runtime/autogen/hsa.py /tmp/hsa.py.bak\n          cp tinygrad/runtime/autogen/comgr.py /tmp/comgr.py.bak\n          cp tinygrad/runtime/autogen/amd_gpu.py /tmp/amd_gpu.py.bak\n          ./autogen_stubs.sh hsa\n          ./autogen_stubs.sh comgr\n          ./autogen_stubs.sh amd\n          diff /tmp/hsa.py.bak tinygrad/runtime/autogen/hsa.py\n          diff /tmp/comgr.py.bak tinygrad/runtime/autogen/comgr.py\n          diff /tmp/amd_gpu.py.bak tinygrad/runtime/autogen/amd_gpu.py\n      - name: Verify Linux autogen\n        if: matrix.backend == 'amd'\n        run: |\n          cp tinygrad/runtime/autogen/io_uring.py /tmp/io_uring.py.bak\n          ./autogen_stubs.sh io_uring\n          diff /tmp/io_uring.py.bak tinygrad/runtime/autogen/io_uring.py\n      - name: Run pytest (not cuda or amd)\n        if: matrix.backend!='ptx' && matrix.backend!='triton' && matrix.backend != 'amd' && matrix.backend != 'nv'\n        run: python -m pytest -n=auto test/ --durations=20\n      # - name: Run test_ops with FUZZ_UOPS=1\n      #   if: matrix.backend!='cuda' && matrix.backend!='ptx' && matrix.backend!='triton' && matrix.backend != 'amd' && matrix.backend != 'nv'\n      #   run: FUZZ_UOPS=1 python -m pytest -n=auto test/test_ops.py --durations=20\n      - name: Run ONNX (only LLVM)\n        if: matrix.backend == 'llvm'\n        run: python -m pytest -n=auto test/external/external_test_onnx_backend.py --durations=20\n      - name: Run pytest (cuda)\n        if: matrix.backend=='ptx'||matrix.backend=='triton'||matrix.backend=='nv'\n        run: python -m pytest -n=auto test/ -k 'not (half or test_efficientnet_safetensors)' --ignore=test/external --ignore=test/models --ignore test/test_gc.py --durations=20\n      - name: Run pytest (amd)\n        if: matrix.backend=='amd'\n        run: python -m pytest -n=auto test/test_ops.py test/test_dtype.py test/test_dtype_alu.py test/test_linearizer.py test/test_randomness.py test/imported/test_indexing.py test/external/external_test_hcq.py --durations=20\n      - name: Compile EfficientNet to C and test it\n        if: matrix.backend=='clang'\n        run: |\n          PYTHONPATH=\".\" python examples/compile_efficientnet.py > recognize.c\n          clang -O2 recognize.c -lm -o recognize\n          cat test/models/efficientnet/Chicken.jpg | ./recognize | grep cock\n      - name: Run process replay tests\n        if: env.RUN_PROCESS_REPLAY == '1'\n        run: cp test/external/replay_codegen.py ./replay_codegen.py && git fetch origin master && git checkout origin/master && PYTHONPATH=. python3 replay_codegen.py\n\n  #testunicorn:\n  #  name: ARM64 unicorn Test\n  #  runs-on: ubuntu-latest\n  #  timeout-minutes: 10\n  #  steps:\n  #    - name: Checkout Code\n  #      uses: actions/checkout@v4\n  #    - name: Set up Python 3.11\n  #      uses: actions/setup-python@v5\n  #      with:\n  #        python-version: 3.11\n  #    - name: Cache python packages\n  #      uses: actions/cache@v4\n  #      with:\n  #        path: ${{ env.Python3_ROOT_DIR }}/lib/python3.11/site-packages\n  #        key: testing-arm-packages-${{ hashFiles('**/setup.py') }}\n  #    - name: Install cross-assembler\n  #      run: |\n  #        sudo apt update -y\n  #        sudo apt install -y --no-install-recommends gcc-aarch64-linux-gnu\n  #    - name: Install dependencies\n  #      run: pip install -e '.[testing,arm]' --extra-index-url https://download.pytorch.org/whl/cpu\n  #    - name: Test arm\n  #      run: CI=1 ARM64=1 CLANG=1 python -m pytest -n=auto test/ -k 'not (test_nn.py and (test_conv_transpose2d or test_conv2d))' --ignore=test/models --ignore=test/test_speed_v_torch.py --ignore=test/test_net_speed.py --ignore=test/test_specific_conv.py  --ignore=test/unit/test_disk_tensor.py\n", "state": "active", "repository": "tinygrad/tinygrad"}
{"mined_at": "2024-07-15T18:18:52.017058", "created_at": "2022-11-08T17:45:04+01:00", "updated_at": "2023-08-29T02:35:09+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n", "state": "active", "repository": "tinygrad/tinygrad"}
{"mined_at": "2024-07-15T18:18:53.235083", "created_at": "2023-08-06T08:00:54+02:00", "updated_at": "2024-06-09T20:12:43+02:00", "name": "Benchmarks", "path": ".github/workflows/benchmark.yml", "contents": "name: Benchmarks\n\non:\n  push:\n    branches:\n      - master\n      - update_benchmark\n  workflow_dispatch:\n    inputs:\n      run_process_replay:\n        description: \"Run process replay tests\"\n        required: false\n        default: false\n        type: boolean\n\njobs:\n  testmacbenchmark:\n    name: Mac Benchmark\n    runs-on: [self-hosted, macOS]\n    defaults:\n      run:\n        shell: bash -o pipefail {0}\n    if: github.repository_owner == 'tinygrad'\n    env:\n      PYTHONPATH: .\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n    - name: Symlink models and datasets\n      run: |\n        mkdir -p weights\n        ln -s ~/tinygrad/extra/disassemblers/applegpu extra/disassemblers/applegpu\n        ln -s ~/tinygrad/weights/sd-v1-4.ckpt weights/sd-v1-4.ckpt\n        ln -s ~/tinygrad/weights/bpe_simple_vocab_16e6.txt.gz weights/bpe_simple_vocab_16e6.txt.gz\n        ln -s ~/tinygrad/weights/LLaMA weights/LLaMA\n        ln -s ~/tinygrad/extra/datasets/cifar-10-python.tar.gz extra/datasets/cifar-10-python.tar.gz\n    # - name: Setup process replay\n    # if: github.event.inputs.run_process_replay == 'true' || contains(github.event.head_commit.message, '[run_process_replay]') || contains(github.event.pull_request.title, '[run_process_replay]')\n    # run: echo \"RUN_PROCESS_REPLAY=1\" >> $GITHUB_ENV\n    - name: Run Stable Diffusion\n      run: JIT=2 THREEFRY=1 python3 examples/stable_diffusion.py --seed 0 --noshow --timing | tee sd.txt\n    - name: Run model inference benchmark\n      run: METAL=1 python3 test/external/external_model_benchmark.py\n    - name: Test speed vs torch\n      run: BIG=2 MPS=1 python3 test/test_speed_v_torch.py | tee torch_speed.txt\n    - name: Test tensor cores\n      run: METAL=1 python3 test/test_linearizer.py TestLinearizer.test_tensor_cores TestLinearizer.test_tensor_cores_padded\n    - name: Run Tensor Core GEMM\n      run: |\n        DEBUG=2 python3 extra/gemm/simple_matmul.py | tee matmul.txt\n        DEBUG=2 HALF=1 python3 extra/gemm/simple_matmul.py | tee matmul_half.txt\n    - name: Fuzz Padded Tensor Core GEMM\n      run: METAL=1 M_START=6 M_STOP=10 M_STEP=1 N_START=6 N_STOP=10 N_STEP=1 K_START=6 K_STOP=24 K_STEP=1 TC_OPT=2 DEBUG=2 python3 ./extra/gemm/fuzz_matmul.py\n    - name: Run LLaMA\n      run: |\n        JIT=0 python3 examples/llama.py --gen 1 --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee llama_unjitted.txt\n        JIT=1 python3 examples/llama.py --gen 1 --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee llama_jitted.txt\n    - name: Run LLaMA with BEAM\n      run: JIT=1 BEAM=2 CACHELEVEL=0 python3 examples/llama.py --gen 1 --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee llama_beam.txt\n    - name: Run quantized LLaMA\n      run: |\n        JIT=1 python3 examples/llama.py --gen 1 --prompt \"Hello.\" --count 10 --temperature 0 --timing --quantize int8 | tee llama_int8.txt\n        JIT=1 python3 examples/llama.py --gen 1 --prompt \"Hello.\" --count 10 --temperature 0 --timing --quantize nf4 | tee llama_nf4.txt\n    - name: Run LLaMA 7B on 4 (virtual) GPUs\n      run: JIT=1 python3 examples/llama.py --gen 1 --size 7B --shard 4 --prompt \"Hello.\" --count 10 --temperature 0  --timing | tee llama_four_gpu.txt\n    - name: Run GPT2\n      run: |\n        JIT=0 python3 examples/gpt2.py --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee gpt2_unjitted.txt\n        JIT=1 python3 examples/gpt2.py --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee gpt2_jitted.txt\n    - name: Run GPT2 w HALF\n      run: JIT=1 HALF=1 python3 examples/gpt2.py --count 10 --temperature 0 --timing | tee gpt2_half.txt\n    - name: Run GPT2 w HALF/BEAM\n      run: JIT=1 HALF=1 BEAM=2 CACHELEVEL=0 CAST_BEFORE_VIEW=0 python3 examples/gpt2.py --count 10 --temperature 0 --timing | tee gpt2_half_beam.txt\n    - name: Train MNIST\n      run: time PYTHONPATH=. TARGET_EVAL_ACC_PCT=97.3 python3 examples/beautiful_mnist.py | tee beautiful_mnist.txt\n    - name: Run 10 CIFAR training steps\n      run: JIT=2 STEPS=10 python3 examples/hlb_cifar10.py | tee train_cifar.txt\n    - name: Run 10 CIFAR training steps w HALF\n      run: JIT=2 STEPS=10 DEFAULT_FLOAT=HALF python3 examples/hlb_cifar10.py | tee train_cifar_half.txt\n    #- name: Run 10 CIFAR training steps w BF16\n    #  run: STEPS=10 DEFAULT_FLOAT=BFLOAT16 python3 examples/hlb_cifar10.py | tee train_cifar_bf16.txt\n    - name: Run 10 CIFAR training steps w winograd\n      run: JIT=2 WINO=1 STEPS=10 python3 examples/hlb_cifar10.py | tee train_cifar_wino.txt\n    - name: Run process replay tests\n      if: env.RUN_PROCESS_REPLAY == '1'\n      run: cp test/external/replay_codegen.py ./replay_codegen.py && git fetch origin master && git checkout origin/master && PYTHONPATH=. python3 replay_codegen.py\n    - uses: actions/upload-artifact@v4\n      with:\n        name: Speed (Mac)\n        path: |\n          onnx_inference_speed.csv\n          torch_speed.txt\n          llama_unjitted.txt\n          llama_jitted.txt\n          llama_beam.txt\n          llama_int8.txt\n          llama_nf4.txt\n          llama_four_gpu.txt\n          gpt2_unjitted.txt\n          gpt2_jitted.txt\n          gpt2_half.txt\n          gpt2_half_beam.txt\n          matmul.txt\n          matmul_half.txt\n          sd.txt\n          beautiful_mnist.txt\n          train_cifar.txt\n          train_cifar_half.txt\n          train_cifar_bf16.txt\n          train_cifar_wino.txt\n\n  testnvidiabenchmark:\n    name: tinybox green Benchmark\n    runs-on: [self-hosted, Linux, tinyboxgreen]\n    defaults:\n      run:\n        shell: bash -o pipefail {0}\n    if: github.repository_owner == 'tinygrad'\n    env:\n      PYTHONPATH: .\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n    - name: Print nvidia-smi\n      run: nvidia-smi\n    - name: Symlink models and datasets\n      run: |\n        mkdir -p weights\n        ln -s ~/tinygrad/weights/LLaMA weights/LLaMA\n        ln -s /raid/weights/mixtral-8x7b-32kseqlen weights/mixtral-8x7b-32kseqlen\n        ln -s /raid/weights/LLaMA-2 weights/LLaMA-2\n        ln -s /raid/weights/LLaMA-3 weights/LLaMA-3\n        mkdir -p extra/datasets\n        ln -s /raid/datasets/imagenet extra/datasets/imagenet\n    - name: Run model inference benchmark\n      run: CUDA=1 NOCLANG=1 python3 test/external/external_model_benchmark.py\n    - name: Test speed vs torch\n      run: CUDA=1 BIG=2 TORCHCUDA=1 python3 test/test_speed_v_torch.py | tee torch_speed.txt\n    - name: Test tensor cores\n      run: |\n        CUDA=1 python3 test/test_linearizer.py TestLinearizer.test_tensor_cores TestLinearizer.test_tensor_cores_padded\n        PTX=1 python3 test/test_linearizer.py TestLinearizer.test_tensor_cores TestLinearizer.test_tensor_cores_padded\n    - name: Run Tensor Core GEMM (CUDA)\n      run: |\n        CUDA=1 HALF=1 DEBUG=2 python3 extra/gemm/simple_matmul.py | tee matmul.txt\n        CUDA=1 BFLOAT16=1 DEBUG=2 python3 extra/gemm/simple_matmul.py | tee matmul_bfloat16.txt\n    - name: Run Tensor Core GEMM (CUDA) with BEAM\n      run: BEAM=4 CUDA=1 HALF=1 CACHELEVEL=0 DEBUG=2 python3 extra/gemm/simple_matmul.py\n    - name: Run Tensor Core GEMM (PTX)\n      run: CUDA=1 PTX=1 HALF=1 DEBUG=2 python3 extra/gemm/simple_matmul.py | tee matmul_ptx.txt\n    - name: Run Tensor Core GEMM (NV)\n      run: NV=1 HALF=1 DEBUG=2 python3 extra/gemm/simple_matmul.py | tee matmul_nv.txt\n    - name: Fuzz Padded Tensor Core GEMM(CUDA)\n      run: CUDA=1 M_START=12 M_STOP=20 M_STEP=1 N_START=6 N_STOP=10 N_STEP=1 K_START=28 K_STOP=36 K_STEP=1 HALF=1 TC_OPT=2 python3 ./extra/gemm/fuzz_matmul.py\n    - name: Fuzz Padded Tensor Core GEMM(PTX)\n      run: CUDA=1 PTX=1 M_START=12 M_STOP=20 M_STEP=1 N_START=6 N_STOP=10 N_STEP=1 K_START=28 K_STOP=36 K_STEP=1 HALF=1 TC_OPT=2 python3 ./extra/gemm/fuzz_matmul.py\n    - name: Run Stable Diffusion\n      run: CUDA=1 THREEFRY=1 python3 examples/stable_diffusion.py --seed 0 --noshow --timing | tee sd.txt\n    - name: Run LLaMA\n      run: |\n        CUDA=1 JIT=0 python3 examples/llama.py --gen 1 --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee llama_unjitted.txt\n        CUDA=1 JIT=1 python3 examples/llama.py --gen 1 --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee llama_jitted.txt\n    - name: Run LLaMA with BEAM\n      run: CUDA=1 JIT=1 BEAM=2 CACHELEVEL=0 python3 examples/llama.py --gen 1 --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee llama_beam.txt\n    - name: Run LLaMA 7B on 4 GPUs\n      run: CUDA=1 python3 examples/llama.py --gen 1 --size 7B --shard 4 --prompt \"Hello.\" --count 10 --temperature 0  --timing | tee llama_four_gpu.txt\n    - name: Run LLaMA 7B on 6 GPUs\n      run: CUDA=1 python3 examples/llama.py --gen 1 --size 7B --shard 6 --prompt \"Hello.\" --count 10 --temperature 0  --timing | tee llama_six_gpu.txt\n    - name: Run LLaMA-3 8B BEAM\n      run: NV=1 JITBEAM=2 CACHELEVEL=0 python3 examples/llama3.py --model weights/LLaMA-3/8B-SF-DPO/ --benchmark | tee llama3_beam.txt\n    - name: Run LLaMA-3 8B on 4 GPUs\n      run: NV=1 python3 examples/llama3.py --shard 4 --model weights/LLaMA-3/8B-SF-DPO/ --benchmark | tee llama3_four_gpu.txt\n    - name: Run LLaMA-3 8B on 6 GPUs\n      run: NV=1 python3 examples/llama3.py --shard 6 --model weights/LLaMA-3/8B-SF-DPO/ --benchmark | tee llama3_six_gpu.txt\n    # - name: Run LLaMA-2 70B\n    #   run: CUDA=1 python3 examples/llama.py --gen 2 --size 70B --shard 6 --prompt \"Hello.\" --count 10 --temperature 0  --timing | tee llama_2_70B.txt\n    # - name: Run Mixtral 8x7B\n    #   run: time CUDA=1 python3 examples/mixtral.py --temperature 0 --count 10 --timing | tee mixtral.txt\n    - name: Run GPT2\n      run: |\n        CUDA=1 JIT=0 python3 examples/gpt2.py --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee gpt2_unjitted.txt\n        CUDA=1 JIT=1 python3 examples/gpt2.py --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee gpt2_jitted.txt\n    - name: Run GPT2 w HALF\n      run: CUDA=1 JIT=1 HALF=1 python3 examples/gpt2.py --count 10 --temperature 0 --timing | tee gpt2_half.txt\n    - name: Run GPT2 w HALF/BEAM\n      run: CUDA=1 JIT=1 HALF=1 BEAM=2 CACHELEVEL=0 CAST_BEFORE_VIEW=0 JIT_BATCH_SIZE=4 python3 examples/gpt2.py --count 10 --temperature 0 --timing | tee gpt2_half_beam.txt\n    - uses: actions/upload-artifact@v4\n      with:\n        name: Speed (NVIDIA)\n        path: |\n          onnx_inference_speed.csv\n          torch_speed.txt\n          matmul.txt\n          matmul_bfloat16.txt\n          matmul_ptx.txt\n          matmul_nv.txt\n          sd.txt\n          llama_unjitted.txt\n          llama_jitted.txt\n          llama_beam.txt\n          llama_four_gpu.txt\n          llama_six_gpu.txt\n          llama3_beam.txt\n          llama3_four_gpu.txt\n          llama3_six_gpu.txt\n          # llama_2_70B.txt\n          # mixtral.txt\n          gpt2_unjitted.txt\n          gpt2_jitted.txt\n          gpt2_half.txt\n          gpt2_half_beam.txt\n\n  testmorenvidiabenchmark:\n    name: tinybox green Training Benchmark\n    runs-on: [self-hosted, Linux, tinyboxgreen]\n    defaults:\n      run:\n        shell: bash -o pipefail {0}\n    if: github.repository_owner == 'tinygrad'\n    env:\n      PYTHONPATH: .\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n    - name: Symlink models and datasets\n      run: |\n        mkdir -p weights\n        ln -s ~/tinygrad/weights/bpe_simple_vocab_16e6.txt.gz weights/bpe_simple_vocab_16e6.txt.gz\n        ln -s ~/tinygrad/weights/LLaMA weights/LLaMA\n        ln -s ~/tinygrad/extra/datasets/cifar-10-python.tar.gz extra/datasets/cifar-10-python.tar.gz\n        ln -s /raid/weights/mixtral-8x7b-32kseqlen weights/mixtral-8x7b-32kseqlen\n        ln -s /raid/weights/LLaMA-2 weights/LLaMA-2\n        mkdir -p extra/datasets\n        ln -s /raid/datasets/imagenet extra/datasets/imagenet\n    - name: Train MNIST\n      run: time PYTHONPATH=. CUDA=1 TARGET_EVAL_ACC_PCT=97.3 python3 examples/beautiful_mnist.py | tee beautiful_mnist.txt\n    - name: Run 10 CIFAR training steps\n      run: CUDA=1 STEPS=10 python3 examples/hlb_cifar10.py | tee train_cifar.txt\n    - name: Run 10 CIFAR training steps w HALF\n      run: CUDA=1 STEPS=10 DEFAULT_FLOAT=HALF python3 examples/hlb_cifar10.py | tee train_cifar_half.txt\n    - name: Run 10 CIFAR training steps w BF16\n      run: CUDA=1 STEPS=10 DEFAULT_FLOAT=BFLOAT16 python3 examples/hlb_cifar10.py | tee train_cifar_bf16.txt\n    - name: Run 10 CIFAR training steps w winograd\n      run: CUDA=1 WINO=1 STEPS=10 python3 examples/hlb_cifar10.py | tee train_cifar_wino.txt\n    - name: Run full CIFAR training w 1 GPU\n      run: time CUDA=1 DEFAULT_FLOAT=HALF LATEWINO=1 STEPS=1000 TARGET_EVAL_ACC_PCT=93.2 python3 examples/hlb_cifar10.py | tee train_cifar_one_gpu.txt\n    - name: Run full CIFAR training steps w 6 GPUS\n      run: time CUDA=1 DEFAULT_FLOAT=HALF STEPS=350 BS=1536 GPUS=6 TARGET_EVAL_ACC_PCT=93.2 python3 examples/hlb_cifar10.py | tee train_cifar_six_gpu.txt\n    - name: Run MLPerf resnet eval on training data\n      run: time CUDA=1 MODEL=resnet python3 examples/mlperf/model_eval.py\n    - name: Run 10 MLPerf ResNet50 training steps (1 gpu)\n      run: CUDA=1 DEFAULT_FLOAT=HALF BENCHMARK=10 BS=256 GPUS=1 MODEL=resnet python3 examples/mlperf/model_train.py | tee train_resnet_one_gpu.txt\n    - name: Run 10 MLPerf ResNet50 training steps (6 gpu)\n      run: CUDA=1 DEFAULT_FLOAT=HALF BENCHMARK=10 BS=1536 GPUS=6 MODEL=resnet python3 examples/mlperf/model_train.py | tee train_resnet.txt\n    - uses: actions/upload-artifact@v4\n      with:\n        name: Speed (NVIDIA Training)\n        path: |\n          beautiful_mnist.txt\n          train_cifar.txt\n          train_cifar_half.txt\n          train_cifar_bf16.txt\n          train_cifar_wino.txt\n          train_cifar_one_gpu.txt\n          train_resnet.txt\n          train_resnet_one_gpu.txt\n          train_cifar_six_gpu.txt\n\n  testamdbenchmark:\n    name: tinybox red Benchmark\n    runs-on: [self-hosted, Linux, tinybox]\n    defaults:\n      run:\n        shell: bash -o pipefail {0}\n    if: github.repository_owner == 'tinygrad'\n    env:\n      PYTHONPATH: .\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n    - name: Symlink models and datasets\n      run: |\n        mkdir -p weights\n        ln -s ~/tinygrad/weights/bpe_simple_vocab_16e6.txt.gz weights/bpe_simple_vocab_16e6.txt.gz\n        ln -s ~/tinygrad/weights/LLaMA weights/LLaMA\n        ln -s ~/tinygrad/extra/datasets/cifar-10-python.tar.gz extra/datasets/cifar-10-python.tar.gz\n        ln -s /raid/weights/mixtral-8x7b-32kseqlen weights/mixtral-8x7b-32kseqlen\n        ln -s /raid/weights/LLaMA-2 weights/LLaMA-2\n        ln -s /raid/weights/LLaMA-3 weights/LLaMA-3\n        mkdir -p extra/datasets\n        ln -s /raid/datasets/imagenet extra/datasets/imagenet\n    - name: Show off tinybox\n      run: /opt/rocm/bin/rocm-bandwidth-test\n    # TODO: unstable on AMD\n    #- name: Run model inference benchmark\n    #  run: LD_PRELOAD=\"/opt/rocm/lib/libhsa-runtime64.so\" HSA=1 NOCLANG=1 python3 test/external/external_model_benchmark.py\n    # TODO: unstable on AMD\n    #- name: Test speed vs torch\n    #  run: |\n    #    python3 -c \"import torch; print(torch.__version__)\"\n    #    LD_PRELOAD=\"/opt/rocm/lib/libhsa-runtime64.so\" HSA=1 BIG=2 TORCHCUDA=1 python3 test/test_speed_v_torch.py | tee torch_speed.txt\n    - name: Test tensor cores\n      run: |\n        AMD=1 python3 test/test_linearizer.py TestLinearizer.test_tensor_cores TestLinearizer.test_tensor_cores_padded\n    - name: Run Tensor Core GEMM (AMD)\n      run: AMD=1 HALF=1 DEBUG=2 python3 extra/gemm/simple_matmul.py | tee matmul_amd.txt\n    # TODO: AMD compiler bug causes this to fail\n    #- name: Fuzz Padded Tensor Core GEMM\n    #  run: HSA=1 M_START=12 M_STOP=20 M_STEP=1 N_START=12 N_STOP=20 N_STEP=1 K_START=28 K_STOP=36 K_STEP=1 HALF=1 TC_OPT=2 DEBUG=2 python3 ./extra/gemm/fuzz_matmul.py\n    - name: Run Stable Diffusion\n      run: AMD=1 THREEFRY=1 python3 examples/stable_diffusion.py --seed 0 --noshow --timing | tee sd.txt\n    - name: Run LLaMA 7B\n      run: |\n        AMD=1 JIT=0 python3 examples/llama.py --gen 1 --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee llama_unjitted.txt\n        AMD=1 JIT=1 python3 examples/llama.py --gen 1 --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee llama_jitted.txt\n    - name: Run LLaMA 7B with BEAM\n      run: AMD=1 JIT=1 BEAM=2 CACHELEVEL=0 python3 examples/llama.py --gen 1 --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee llama_beam.txt\n    - name: Run LLaMA 7B on 4 GPUs\n      run: AMD=1 python3 examples/llama.py --gen 1 --size 7B --shard 4 --prompt \"Hello.\" --count 10 --temperature 0  --timing | tee llama_four_gpu.txt\n    - name: Run LLaMA 7B on 6 GPUs\n      run: AMD=1 python3 examples/llama.py --gen 1 --size 7B --shard 6 --prompt \"Hello.\" --count 10 --temperature 0  --timing | tee llama_six_gpu.txt\n    - name: Run LLaMA-3 8B BEAM\n      run: AMD=1 JITBEAM=2 CACHELEVEL=0 python3 examples/llama3.py --model weights/LLaMA-3/8B-SF-DPO/ --benchmark | tee llama3_beam.txt\n    - name: Run LLaMA-3 8B on 4 GPUs\n      run: AMD=1 python3 examples/llama3.py --shard 4 --model weights/LLaMA-3/8B-SF-DPO/ --benchmark | tee llama3_four_gpu.txt\n    - name: Run LLaMA-3 8B on 6 GPUs\n      run: AMD=1 python3 examples/llama3.py --shard 6 --model weights/LLaMA-3/8B-SF-DPO/ --benchmark | tee llama3_six_gpu.txt\n    - name: Run LLaMA-2 70B\n      run: AMD=1 python3 examples/llama.py --gen 2 --size 70B --shard 6 --prompt \"Hello.\" --count 10 --temperature 0  --timing | tee llama_2_70B.txt\n    - name: Run Mixtral 8x7B\n      run: time AMD=1 python3 examples/mixtral.py --temperature 0 --count 10 --timing | tee mixtral.txt\n    - name: Run GPT2\n      run: |\n        AMD=1 JIT=0 python3 examples/gpt2.py --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee gpt2_unjitted.txt\n        AMD=1 JIT=1 python3 examples/gpt2.py --prompt \"Hello.\" --count 10 --temperature 0 --timing | tee gpt2_jitted.txt\n    - name: Run GPT2 w HALF\n      run: AMD=1 JIT=1 HALF=1 python3 examples/gpt2.py --count 10 --temperature 0 --timing | tee gpt2_half.txt\n    - name: Run GPT2 w HALF/BEAM\n      run: AMD=1 JIT=1 HALF=1 BEAM=2 CACHELEVEL=0 CAST_BEFORE_VIEW=0 python3 examples/gpt2.py --count 10 --temperature 0 --timing | tee gpt2_half_beam.txt\n    - uses: actions/upload-artifact@v4\n      with:\n        name: Speed (AMD)\n        path: |\n          onnx_inference_speed.csv\n          torch_speed.txt\n          llama_unjitted.txt\n          llama_jitted.txt\n          llama_beam.txt\n          llama_four_gpu.txt\n          llama_six_gpu.txt\n          llama3_beam.txt\n          llama3_four_gpu.txt\n          llama3_six_gpu.txt\n          llama_2_70B.txt\n          gpt2_unjitted.txt\n          gpt2_jitted.txt\n          gpt2_half.txt\n          gpt2_half_beam.txt\n          matmul.txt\n          matmul_amd.txt\n          sd.txt\n          mixtral.txt\n\n  testmoreamdbenchmark:\n    name: tinybox red Training Benchmark\n    runs-on: [self-hosted, Linux, tinybox]\n    defaults:\n      run:\n        shell: bash -o pipefail {0}\n    if: github.repository_owner == 'tinygrad'\n    env:\n      PYTHONPATH: .\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@v4\n    - name: Symlink models and datasets\n      run: |\n        mkdir -p weights\n        ln -s ~/tinygrad/weights/bpe_simple_vocab_16e6.txt.gz weights/bpe_simple_vocab_16e6.txt.gz\n        ln -s ~/tinygrad/weights/LLaMA weights/LLaMA\n        ln -s ~/tinygrad/extra/datasets/cifar-10-python.tar.gz extra/datasets/cifar-10-python.tar.gz\n        ln -s /raid/weights/mixtral-8x7b-32kseqlen weights/mixtral-8x7b-32kseqlen\n        ln -s /raid/weights/LLaMA-2 weights/LLaMA-2\n        mkdir -p extra/datasets\n        ln -s /raid/datasets/imagenet extra/datasets/imagenet\n    - name: Train MNIST\n      run: time PYTHONPATH=. AMD=1 TARGET_EVAL_ACC_PCT=97.3 python3 examples/beautiful_mnist.py | tee beautiful_mnist.txt\n    - name: Run 10 CIFAR training steps\n      run: AMD=1 STEPS=10 python3 examples/hlb_cifar10.py | tee train_cifar.txt\n    - name: Run 10 CIFAR training steps w HALF\n      run: AMD=1 STEPS=10 DEFAULT_FLOAT=HALF python3 examples/hlb_cifar10.py | tee train_cifar_half.txt\n    - name: Run 10 CIFAR training steps w BF16\n      run: AMD=1 STEPS=10 DEFAULT_FLOAT=BFLOAT16 python3 examples/hlb_cifar10.py | tee train_cifar_bf16.txt\n    - name: Run 10 CIFAR training steps w winograd\n      run: AMD=1 WINO=1 STEPS=10 python3 examples/hlb_cifar10.py | tee train_cifar_wino.txt\n    - name: Run full CIFAR training w 1 GPU\n      run: time AMD=1 DEFAULT_FLOAT=HALF LATEWINO=1 STEPS=1000 TARGET_EVAL_ACC_PCT=93.2 python3 examples/hlb_cifar10.py | tee train_cifar_one_gpu.txt\n    - name: Run full CIFAR training steps w 6 GPUS\n      run: time AMD=1 DEFAULT_FLOAT=HALF STEPS=350 BS=1536 GPUS=6 TARGET_EVAL_ACC_PCT=93.2 python3 examples/hlb_cifar10.py | tee train_cifar_six_gpu.txt\n    - name: Run MLPerf resnet eval\n      run: time AMD=1 MODEL=resnet python3 examples/mlperf/model_eval.py\n    - name: Run 10 MLPerf ResNet50 training steps (1 gpu)\n      run: AMD=1 DEFAULT_FLOAT=HALF BENCHMARK=10 BS=256 GPUS=1 MODEL=resnet python3 examples/mlperf/model_train.py | tee train_resnet_one_gpu.txt\n    - name: Run 10 MLPerf ResNet50 training steps (6 gpu)\n      run: AMD=1 DEFAULT_FLOAT=HALF BENCHMARK=10 BS=1536 GPUS=6 MODEL=resnet python3 examples/mlperf/model_train.py | tee train_resnet.txt\n    - uses: actions/upload-artifact@v4\n      with:\n        name: Speed (AMD Training)\n        path: |\n          beautiful_mnist.txt\n          train_cifar.txt\n          train_cifar_half.txt\n          train_cifar_bf16.txt\n          train_cifar_wino.txt\n          train_cifar_one_gpu.txt\n          train_resnet.txt\n          train_resnet_one_gpu.txt\n          train_cifar_six_gpu.txt\n", "state": "active", "repository": "tinygrad/tinygrad"}
{"mined_at": "2024-07-15T18:18:54.349014", "created_at": "2023-09-13T21:02:10+02:00", "updated_at": "2023-09-16T18:22:09+02:00", "name": "Check Line Counts", "path": ".github/workflows/szdiff.yml", "contents": "name: Check Line Counts\non:\n  pull_request_target:\n\n# Cancel the workflow in progress in newer build is about to start.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  checkbranch:\n    name: Check PR Branch status\n    runs-on: ubuntu-latest\n    outputs:\n      branchstat: ${{ steps.brstat.outputs.stat}}\n    steps:\n      - name: Check code from PR branch \n        uses: actions/checkout@v4\n        with:\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          ref: ${{ github.event.pull_request.head.sha }}\n          fetch-depth: 0\n      - name: Check whether branch is up-to-date\n        id: brstat\n        run: |\n          git remote add tinygrad https://github.com/tinygrad/tinygrad\n          git fetch tinygrad master\n          echo \"${{ github.event.pull_request.head.sha }}\"\n          git rev-list --left-right --count  tinygrad/master...${{ github.event.pull_request.head.sha }} | awk '{print \"Behind \"$1\" - Ahead \"$2\"\"}'\n          count=$(git rev-list --left-right --count  tinygrad/master...${{ github.event.pull_request.head.sha }} | awk '{print $1}')\n          if [ $count -gt 0 ]\n          then\n            echo \"Current branch is behind tinygrad master branch!\"\n            echo \"stat=true\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"stat=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n  szdiff:\n    name: Core Library Line Difference\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    needs: checkbranch\n    if: needs.checkbranch.outputs.branchstat == 'false'\n    steps:\n      - name: Checkout code from PR branch\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          ref: ${{ github.event.pull_request.head.sha }}\n          path: pr\n        # the base default to tinygrad master and cannot be other fork branch for security purpose\n      - name: Checkout code from tinygrad master\n        uses: actions/checkout@v4\n        with:\n          path: base\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - name: Count Line Diff\n        run: |\n          pip install tabulate\n          BASE=\"$GITHUB_WORKSPACE/base\"\n          PR=\"$GITHUB_WORKSPACE/pr\"\n          cp \"$BASE/sz.py\" .\n          echo \"loc_content<<EOF\" >> \"$GITHUB_ENV\"\n          python sz.py \"$BASE\" \"$PR\" >> \"$GITHUB_ENV\"\n          echo \"EOF\" >> \"$GITHUB_ENV\"\n      - name: Comment Code Line Diff\n        continue-on-error: false\n        uses: marocchino/sticky-pull-request-comment@v2\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          ignore_empty: true\n          skip_unchanged: true\n          recreate: true\n          message: ${{ env.loc_content }}\n\n  rebase:\n    name: Core Library Line Difference\n    permissions:\n      pull-requests: write\n    runs-on: ubuntu-latest\n    needs: checkbranch\n    if: needs.checkbranch.outputs.branchstat == 'true'\n    steps:\n      - name: Comment Rebase\n        continue-on-error: false\n        uses: marocchino/sticky-pull-request-comment@v2\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          skip_unchanged: true\n          recreate: true\n          message: |\n            This branch currently is behind tinygrad/master. The line count difference bot is disabled.\n", "state": "active", "repository": "tinygrad/tinygrad"}
{"mined_at": "2024-07-15T18:18:55.353529", "created_at": "2024-04-16T08:33:01+02:00", "updated_at": "2024-04-16T08:33:01+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tinygrad/tinygrad"}
{"mined_at": "2024-07-15T18:18:56.509803", "created_at": "2024-04-16T08:41:37+02:00", "updated_at": "2024-04-16T08:59:53+02:00", "name": "Deploy Docs", "path": ".github/workflows/docs.yml", "contents": "name: Deploy Docs\non:\n  push:\n    branches:\n      - master\n      - mkdocs\npermissions:\n  contents: write\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure Git Credentials\n        run: |\n          git config user.name github-actions[bot]\n          git config user.email 41898282+github-actions[bot]@users.noreply.github.com\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - run: echo \"cache_id=$(date --utc '+%V')\" >> $GITHUB_ENV\n      - uses: actions/cache@v4\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n      - run: pip install -e .[docs]\n      - run: mkdocs gh-deploy --force", "state": "active", "repository": "tinygrad/tinygrad"}
{"mined_at": "2024-07-15T18:18:58.647027", "created_at": "2023-11-04T00:44:10+01:00", "updated_at": "2023-11-04T00:44:10+01:00", "name": ".github/workflows/benchmarking.yml", "path": ".github/workflows/benchmarking.yml", "contents": null, "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:18:59.654938", "created_at": "2023-11-07T21:25:38+01:00", "updated_at": "2024-04-05T22:44:06+02:00", "name": "benchmarking", "path": ".github/workflows/benchmarks.yml", "contents": "name: benchmarking\n\non:\n  pull_request:\n    types:\n      - closed\n    paths-ignore:\n      - '**/*.md'\n\npermissions:\n  contents: read\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  PYTHONIOENCODING: 'utf8'\n  TELEMETRY_ENABLED: false\n  NODE_OPTIONS: '--max_old_space_size=4096'\n  DATABASE_URL: ${{ secrets.DATABASE_URL }}\n  PR_TITLE: ${{ github.event.pull_request.title }}\n\njobs:\n  reflex-web:\n#    if: github.event.pull_request.merged == true\n    strategy:\n      fail-fast: false\n      matrix:\n        # Show OS combos first in GUI\n        os: [ubuntu-latest]\n        python-version: ['3.11.4']\n        node-version: ['16.x']\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n      - uses: ./.github/actions/setup_build_env\n        with:\n          python-version: ${{ matrix.python-version }}\n          run-poetry-install: true\n          create-venv-at-path: .venv\n\n      - name: Clone Reflex Website Repo\n        uses: actions/checkout@v4\n        with:\n          repository: reflex-dev/reflex-web\n          ref: reflex-ci\n          path: reflex-web\n\n      - name: Install Requirements for reflex-web\n        working-directory: ./reflex-web\n        run: poetry run uv pip install -r requirements.txt\n      - name: Init Website for reflex-web\n        working-directory: ./reflex-web\n        run: poetry run reflex init\n      - name: Install LightHouse Pre-reqs / Run LightHouse\n        run: |\n          # Check that npm is home\n          npm -v\n          poetry run bash scripts/benchmarks/benchmarks.sh ./reflex-web prod\n        env:\n          LHCI_GITHUB_APP_TOKEN: $\n      - name: Run Benchmarks\n        # Only run if the database creds are available in this context.\n        if: ${{ env.DATABASE_URL }}\n        run: poetry run python scripts/benchmarks/lighthouse_score_upload.py \"$GITHUB_SHA\" ./integration/benchmarks/.lighthouseci\n        env:\n          GITHUB_SHA: ${{ github.sha }}\n\n  simple-apps-benchmarks:\n    if: github.event.pull_request.merged == true\n    env:\n      OUTPUT_FILE: benchmarks.json\n    timeout-minutes: 50\n    strategy:\n      # Prioritize getting more information out of the workflow (even if something fails)\n      fail-fast: false\n      matrix:\n        # Show OS combos first in GUI\n        os: [ubuntu-latest, windows-latest, macos-12]\n        python-version: ['3.8.18', '3.9.18', '3.10.13', '3.11.5', '3.12.0']\n        exclude:\n          - os: windows-latest\n            python-version: '3.10.13'\n          - os: windows-latest\n            python-version: '3.9.18'\n          - os: windows-latest\n            python-version: '3.8.18'\n          # keep only one python version for MacOS\n          - os: macos-latest\n            python-version: '3.8.18'\n          - os: macos-latest\n            python-version: '3.9.18'\n          - os: macos-latest\n            python-version: '3.10.13'\n          - os: macos-12\n            python-version: '3.12.0'\n        include:\n          - os: windows-latest\n            python-version: '3.10.11'\n          - os: windows-latest\n            python-version: '3.9.13'\n          - os: windows-latest\n            python-version: '3.8.10'\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup_build_env\n        with:\n          python-version: ${{ matrix.python-version }}\n          run-poetry-install: true\n          create-venv-at-path: .venv\n      - name: Install additional dependencies for DB access\n        run: poetry run uv pip install psycopg2-binary\n      - name: Run benchmark tests\n        env:\n          APP_HARNESS_HEADLESS: 1\n          PYTHONUNBUFFERED: 1\n        run: |\n          poetry run pytest -v benchmarks/ --benchmark-json=${{ env.OUTPUT_FILE }} -s\n      - name: Upload benchmark results\n        # Only run if the database creds are available in this context.\n        if: ${{ env.DATABASE_URL }}\n        run:\n          poetry run python scripts/benchmarks/simple_app_benchmark_upload.py --os \"${{ matrix.os }}\"\n          --python-version \"${{ matrix.python-version }}\" --commit-sha \"${{ github.sha }}\"\n          --benchmark-json \"${{ env.OUTPUT_FILE }}\"\n          --db-url \"${{ env.DATABASE_URL }}\" --branch-name \"${{ github.head_ref || github.ref_name }}\"\n          --event-type \"${{ github.event_name }}\" --actor \"${{ github.actor }}\" --pr-id \"${{ github.event.pull_request.id }}\"\n\n  reflex-build-size:\n    if: github.event.pull_request.merged == true\n    timeout-minutes: 30\n    strategy:\n      # Prioritize getting more information out of the workflow (even if something fails)\n      fail-fast: false\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup_build_env\n        with:\n          python-version: 3.11.5\n          run-poetry-install: true\n          create-venv-at-path: .venv\n      - name: Install additional dependencies for DB access\n        run: poetry run uv pip install psycopg2-binary\n      - name: Build reflex\n        run: |\n          poetry build\n      - name: Upload benchmark results\n        # Only run if the database creds are available in this context.\n        if: ${{ env.DATABASE_URL }}\n        run:\n          poetry run python scripts/benchmarks/benchmark_reflex_size.py --os ubuntu-latest\n          --python-version 3.11.5 --commit-sha \"${{ github.sha }}\" --pr-id \"${{ github.event.pull_request.id }}\"\n          --db-url \"${{ env.DATABASE_URL }}\" --branch-name \"${{ github.head_ref || github.ref_name }}\"\n          --measurement-type \"reflex-build\" --path ./dist\n\n  reflex-plus-dependency-size:\n    if: github.event.pull_request.merged == true\n    timeout-minutes: 30\n    strategy:\n      # Prioritize getting more information out of the workflow (even if something fails)\n      fail-fast: false\n      matrix:\n        # Show OS combos first in GUI\n        os: [ubuntu-latest, windows-latest, macos-12]\n        python-version: ['3.11.5']\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.3.1\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          virtualenvs-path: .venv\n\n      - name: Run poetry install\n        shell: bash\n        run: |\n          python -m venv .venv\n          source .venv/*/activate\n          poetry install --without dev --no-interaction --no-root\n\n      - name: Install uv\n        shell: bash\n        run: |\n          poetry run pip install uv\n\n      - name: Install additional dependencies for DB access\n        run: poetry run uv pip install psycopg2-binary\n\n      - if: ${{ env.DATABASE_URL }}\n        name: calculate and upload size\n        run:\n          poetry run python scripts/benchmarks/benchmark_reflex_size.py --os \"${{ matrix.os }}\"\n          --python-version \"${{ matrix.python-version }}\" --commit-sha \"${{ github.sha }}\"\n          --pr-id \"${{ github.event.pull_request.id }}\" --db-url \"${{ env.DATABASE_URL }}\"\n          --branch-name \"${{ github.head_ref || github.ref_name }}\"\n          --measurement-type \"reflex-package\" --path ./.venv\n", "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:00.797165", "created_at": "2023-07-28T02:00:47+02:00", "updated_at": "2023-07-28T02:06:21+02:00", "name": "build-windows", "path": ".github/workflows/build_windows_poc.yml", "contents": null, "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:01.927951", "created_at": "2023-09-08T19:19:58+02:00", "updated_at": "2023-09-08T20:39:00+02:00", "name": "check-generated-pyi", "path": ".github/workflows/check_generated_pyi.yml", "contents": "name: check-generated-pyi\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.id }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches: ['main']\n    # We don't just trigger on make_pyi.py and the components dir, because\n    # there are other things that can change the generator output\n    # e.g. black version, reflex.Component, reflex.Var.\n    paths-ignore:\n      - '**/*.md'\n  pull_request:\n    branches: ['main']\n    paths-ignore:\n      - '**/*.md'\n\njobs:\n  check-generated-pyi-components:\n    timeout-minutes: 30\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup_build_env\n        with:\n          python-version: '3.11.5'\n          run-poetry-install: true\n          create-venv-at-path: .venv\n      - run: |\n          poetry run python scripts/make_pyi.py\n          if [[ $(git status --porcelain) ]]; then\n            git status\n            git diff\n            echo \"ERROR: make_pyi.py output is out of date. Please run scripts/make_pyi.py and commit the changes.\"\n            exit 1\n          else\n            echo \"No diffs - AOK!\"\n          fi\n", "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:03.056941", "created_at": "2023-11-04T00:09:22+01:00", "updated_at": "2023-11-04T00:55:22+01:00", "name": "codspeed-benchmarks", "path": ".github/workflows/codespaces.yml", "contents": null, "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:04.158767", "created_at": "2024-03-05T03:29:03+01:00", "updated_at": "2024-03-05T03:29:03+01:00", "name": "codspeed-benchmarks", "path": ".github/workflows/codspeed.yml", "contents": null, "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:05.420616", "created_at": "2024-05-14T20:59:55+02:00", "updated_at": "2024-05-15T20:55:19+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "name: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout Repository'\n        uses: actions/checkout@v4\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v4\n        with:\n          allow-licenses: Apache-2.0, BSD-2-Clause, BSD-3-Clause, HPND, ISC, MIT, MPL-2.0, Unlicense, Python-2.0, Python-2.0.1, Apache-2.0 AND MIT, BSD-2-Clause AND BSD-3-Clause, Apache-2.0 AND BSD-3-Clause\n          allow-dependencies-licenses: 'pkg:pypi/lazy-loader'", "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:06.493751", "created_at": "2023-08-07T21:39:32+02:00", "updated_at": "2023-08-07T23:46:13+02:00", "name": "integration-app-harness", "path": ".github/workflows/integration_app_harness.yml", "contents": "name: integration-app-harness\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.id }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches: ['main']\n    paths-ignore:\n      - '**/*.md'\n  pull_request:\n    branches: ['main']\n    paths-ignore:\n      - '**/*.md'\n\npermissions:\n  contents: read\n\njobs:\n  integration-app-harness:\n    timeout-minutes: 30\n    strategy:\n      matrix:\n        state_manager: ['redis', 'memory']\n        python-version: ['3.8.18', '3.11.5', '3.12.0']\n    runs-on: ubuntu-latest\n    services:\n      # Label used to access the service container\n      redis:\n        image: ${{ matrix.state_manager == 'redis' && 'redis' || '' }}\n        # Set health checks to wait until redis has started\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps port 6379 on service container to the host\n          - 6379:6379\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup_build_env\n        with:\n          python-version: ${{ matrix.python-version }}\n          run-poetry-install: true\n          create-venv-at-path: .venv\n      - run: poetry run uv pip install pyvirtualdisplay pillow\n      - name: Run app harness tests\n        env:\n          SCREENSHOT_DIR: /tmp/screenshots\n          REDIS_URL: ${{ matrix.state_manager == 'redis' && 'redis://localhost:6379' || '' }}\n        run: |\n          poetry run pytest integration\n      - uses: actions/upload-artifact@v4\n        name: Upload failed test screenshots\n        if: always()\n        with:\n          name: failed_test_screenshots\n          path: /tmp/screenshots\n", "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:07.674916", "created_at": "2023-07-29T07:16:34+02:00", "updated_at": "2023-08-01T20:34:15+02:00", "name": "integration-tests", "path": ".github/workflows/integration_tests.yml", "contents": "name: integration-tests\n\non:\n  push:\n    branches: ['main']\n    paths-ignore:\n      - '**/*.md'\n  pull_request:\n    branches: ['main']\n    paths-ignore:\n      - '**/*.md'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  # Windows CI would fail without this.\n  # Ref: https://gist.github.com/NodeJSmith/e7e37f2d3f162456869f015f842bcf15\n  # TODO: can we fix windows encoding natively within reflex? Bug above can hit real users too (less common, but possible)\n  # - Catch encoding errors when printing logs\n  # - Best effort print lines that contain illegal chars (map to some default char, etc.)\n  PYTHONIOENCODING: 'utf8'\n  TELEMETRY_ENABLED: false\n  NODE_OPTIONS: '--max_old_space_size=4096'\n  DATABASE_URL: ${{ secrets.DATABASE_URL }}\n  PR_TITLE: ${{ github.event.pull_request.title }}\n\njobs:\n  example-counter:\n    env:\n      OUTPUT_FILE: import_benchmark.json\n    timeout-minutes: 30\n    strategy:\n      # Prioritize getting more information out of the workflow (even if something fails)\n      fail-fast: false\n      matrix:\n        # Show OS combos first in GUI\n        os: [ubuntu-latest, windows-latest, macos-12]\n        python-version: ['3.8.18', '3.9.18', '3.10.13', '3.11.5', '3.12.0']\n        exclude:\n          - os: windows-latest\n            python-version: '3.10.13'\n          - os: windows-latest\n            python-version: '3.9.18'\n          - os: windows-latest\n            python-version: '3.8.18'\n        include:\n          - os: windows-latest\n            python-version: '3.10.11'\n          - os: windows-latest\n            python-version: '3.9.13'\n          - os: windows-latest\n            python-version: '3.8.10'\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup_build_env\n        with:\n          python-version: ${{ matrix.python-version }}\n          run-poetry-install: true\n          create-venv-at-path: .venv\n      - name: Clone Reflex Examples Repo\n        uses: actions/checkout@v4\n        with:\n          repository: reflex-dev/reflex-examples\n          path: reflex-examples\n      - name: Install requirements for counter example\n        working-directory: ./reflex-examples/counter\n        run: |\n          poetry run uv pip install -r requirements.txt\n      - name: Install additional dependencies for DB access\n        run: poetry run uv pip install psycopg2-binary\n      - name: Check export --backend-only before init for counter example\n        working-directory: ./reflex-examples/counter\n        run: |\n          poetry run reflex export --backend-only\n      - name: Check run --backend-only before init for counter example\n        run: |\n          poetry run bash scripts/integration.sh ./reflex-examples/counter dev 8001 --backend-only --backend-port 8001\n      - name: Init Website for counter example\n        working-directory: ./reflex-examples/counter\n        run: |\n          poetry run reflex init --loglevel debug\n      - name: Check export for counter example\n        working-directory: ./reflex-examples/counter\n        run: |\n          poetry run reflex export\n      - name: Run Website and Check for errors\n        run: |\n          # Check that npm is home\n          npm -v\n          poetry run bash scripts/integration.sh ./reflex-examples/counter dev\n      - name: Measure and upload .web size\n        if: ${{ env.DATABASE_URL}}\n        run:\n          poetry run python scripts/benchmarks/benchmark_reflex_size.py --os \"${{ matrix.os }}\"\n          --python-version \"${{ matrix.python-version }}\" --commit-sha \"${{ github.sha }}\"\n          --pr-id \"${{ github.event.pull_request.id }}\" --db-url \"${{ env.DATABASE_URL }}\"\n          --branch-name \"${{ github.head_ref || github.ref_name }}\"\n          --measurement-type \"counter-app-dot-web\" --path ./reflex-examples/counter/.web\n      - name: Install hyperfine\n        run: cargo install hyperfine\n      - name: Benchmark imports\n        working-directory: ./reflex-examples/counter\n        run: hyperfine --warmup 3 \"export POETRY_VIRTUALENVS_PATH=../../.venv; poetry run python counter/counter.py\" --show-output --export-json \"${{ env.OUTPUT_FILE }}\" --shell bash\n      - name: Upload Benchmarks\n        if : ${{ env.DATABASE_URL }}\n        run:\n          poetry run python scripts/benchmarks/benchmark_imports.py --os \"${{ matrix.os }}\"\n          --python-version \"${{ matrix.python-version }}\" --commit-sha \"${{ github.sha }}\"\n          --benchmark-json \"./reflex-examples/counter/${{ env.OUTPUT_FILE }}\"\n          --db-url \"${{ env.DATABASE_URL }}\" --branch-name \"${{ github.head_ref || github.ref_name }}\"\n          --event-type \"${{ github.event_name }}\" --actor \"${{ github.actor }}\" --pr-id \"${{ github.event.pull_request.id }}\"\n\n\n\n\n  reflex-web:\n    strategy:\n      fail-fast: false\n      matrix:\n        # Show OS combos first in GUI\n        os: [ubuntu-latest, windows-latest, macos-12]\n        python-version: ['3.10.11', '3.11.4']\n\n    env:\n      REFLEX_WEB_WINDOWS_OVERRIDE: '1'\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup_build_env\n        with:\n          python-version: ${{ matrix.python-version }}\n          run-poetry-install: true\n          create-venv-at-path: .venv\n\n      - name: Clone Reflex Website Repo\n        uses: actions/checkout@v4\n        with:\n          repository: reflex-dev/reflex-web\n          ref: main\n          path: reflex-web\n\n      - name: Install Requirements for reflex-web\n        working-directory: ./reflex-web\n        run: poetry run uv pip install -r requirements.txt\n      - name: Install additional dependencies for DB access\n        run: poetry run uv pip install psycopg2-binary\n      - name: Init Website for reflex-web\n        working-directory: ./reflex-web\n        run: poetry run reflex init\n      - name: Run Website and Check for errors\n        run: |\n          # Check that npm is home\n          npm -v\n          poetry run bash scripts/integration.sh ./reflex-web prod\n      - name: Measure and upload .web size\n        if: ${{ env.DATABASE_URL}}\n        run:\n          poetry run python scripts/benchmarks/benchmark_reflex_size.py --os \"${{ matrix.os }}\"\n          --python-version \"${{ matrix.python-version }}\" --commit-sha \"${{ github.sha }}\"\n          --pr-id \"${{ github.event.pull_request.id }}\"\n          --db-url \"${{ env.DATABASE_URL }}\" --branch-name \"${{ github.head_ref || github.ref_name }}\"\n          --measurement-type \"reflex-web-dot-web\" --path ./reflex-web/.web\n", "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:08.798386", "created_at": "2023-07-29T01:04:03+02:00", "updated_at": "2023-07-29T01:04:03+02:00", "name": "integration-tests-linux", "path": ".github/workflows/integration_tests_linux.yml", "contents": null, "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:09.907256", "created_at": "2023-07-29T01:05:40+02:00", "updated_at": "2023-07-29T01:05:40+02:00", "name": "integration-tests-windows", "path": ".github/workflows/integration_tests_windows.yml", "contents": null, "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:10.946150", "created_at": "2023-08-02T20:02:20+02:00", "updated_at": "2023-08-03T23:26:13+02:00", "name": "integration-tests-wsl", "path": ".github/workflows/integration_tests_wsl.yml", "contents": "name: integration-tests-wsl\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.id }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches: ['main']\n    paths-ignore:\n      - '**/*.md'\n  pull_request:\n    branches: ['main']\n    paths-ignore:\n      - '**/*.md'\n\npermissions:\n  contents: read\n\nenv:\n  TELEMETRY_ENABLED: false\n  NODE_OPTIONS: '--max_old_space_size=4096'\n\njobs:\n  example-counter-wsl:\n    timeout-minutes: 30\n    # 2019 is more stable with WSL in GH actions\n    # https://github.com/actions/runner-images/issues/5151\n    # Confirmed through trial and error. 2022 has >80% failure rate (probably BSOD)\n    runs-on: windows-2019\n    steps:\n      - uses: actions/checkout@v4\n      - name: Clone Reflex Examples Repo\n        uses: actions/checkout@v4\n        with:\n          repository: reflex-dev/reflex-examples\n          path: reflex-examples\n\n      - uses: Vampire/setup-wsl@v3\n\n      - name: Install Python\n        shell: wsl-bash {0}\n        run: |\n          apt update\n          apt install -y python3 python3-pip curl dos2unix zip unzip\n\n      - name: Install Poetry\n        shell: wsl-bash {0}\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 -\n          # Symlink seems easier to make work than persisting PATH changes, in WSL\n          ln -s /root/.local/bin/poetry /usr/local/bin/poetry\n\n      - name: Install reflex deps\n        shell: wsl-bash {0}\n        run: |\n          poetry install\n\n      - name: Install uv\n        shell: wsl-bash {0}\n        run: |\n          poetry run pip install uv\n\n      - name: Install requirements for counter example\n        working-directory: ./reflex-examples/counter\n        shell: wsl-bash {0}\n        run: |\n          poetry run uv pip install -r requirements.txt\n      - name: Check export --backend-only before init for counter example\n        working-directory: ./reflex-examples/counter\n        shell: wsl-bash {0}\n        run: |\n          export TELEMETRY_ENABLED=false\n          poetry run reflex export --backend-only\n      - name: Check run --backend-only before init for counter example\n        shell: wsl-bash {0}\n        run: |\n          export TELEMETRY_ENABLED=false\n          dos2unix scripts/integration.sh\n          poetry run bash scripts/integration.sh ./reflex-examples/counter dev 8001 --backend-only --backend-port 8001\n      - name: Init Website for counter example\n        working-directory: ./reflex-examples/counter\n        shell: wsl-bash {0}\n        run: |\n          export TELEMETRY_ENABLED=false\n          poetry run reflex init --loglevel debug\n      - name: Check export for counter example\n        working-directory: ./reflex-examples/counter\n        shell: wsl-bash {0}\n        run: |\n          export TELEMETRY_ENABLED=false\n          poetry run reflex export --frontend-only --loglevel debug\n      - name: Run Website and Check for errors\n        shell: wsl-bash {0}\n        run: |\n          export TELEMETRY_ENABLED=false\n          poetry run bash scripts/integration.sh ./reflex-examples/counter dev\n", "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:11.936172", "created_at": "2023-07-29T00:15:45+02:00", "updated_at": "2023-07-29T02:39:43+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.id }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    branches: ['main']\n  push:\n    # Note even though this job is called \"pre-commit\" and runs \"pre-commit\", this job will run\n    # also POST-commit on main also!  In case there are mishandled merge conflicts / bad auto-resolves\n    # when merging into main branch.\n    branches: ['main']\n\njobs:\n  pre-commit:\n    timeout-minutes: 30\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup_build_env\n        with:\n          # running vs. one version of Python is OK\n          # i.e. ruff, black, etc.\n          python-version: 3.11.5\n          run-poetry-install: true\n          create-venv-at-path: .venv\n      # TODO pre-commit related stuff can be cached too (not a bottleneck yet)\n      - run: |\n          poetry run uv pip install pre-commit\n          poetry run pre-commit run --all-files\n        env:\n          SKIP: update-pyi-files\n", "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:12.931868", "created_at": "2023-07-29T07:26:53+02:00", "updated_at": "2023-08-01T20:34:15+02:00", "name": "reflex-init-in-docker-test", "path": ".github/workflows/reflex_init_in_docker_test.yml", "contents": "name: reflex-init-in-docker-test\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.id }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches: ['main']\n    paths-ignore:\n      - '**/*.md'\n  pull_request:\n    branches: ['main']\n    paths-ignore:\n      - '**/*.md'\n\njobs:\n  # TODO we can extend to various starting points (e.g. Ubuntu with node, without node, with unzip, without unzip, etc.)\n  # Currently starting point is: Ubuntu + unzip, xz-utils, Python suite.  No node.\n  reflex-install-and-init:\n    timeout-minutes: 30\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - shell: bash\n        run: |\n          # Run reflex init in a docker container\n\n          # cwd is repo root\n          docker build -f integration/init-test/Dockerfile -t reflex-init-test integration/init-test\n          docker run --rm -v $(pwd):/reflex-repo/ reflex-init-test /reflex-repo/integration/init-test/in_docker_test_script.sh\n", "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:14.027844", "created_at": "2023-07-29T07:39:48+02:00", "updated_at": "2023-08-01T20:34:15+02:00", "name": "unit-tests", "path": ".github/workflows/unit_tests.yml", "contents": "name: unit-tests\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.id }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches: ['main']\n    paths-ignore:\n      - '**/*.md'\n  pull_request:\n    branches: ['main']\n    paths-ignore:\n      - '**/*.md'\n\npermissions:\n  contents: read\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  unit-tests:\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-12]\n        python-version: ['3.8.18', '3.9.18', '3.10.13', '3.11.5', '3.12.0']\n        # Windows is a bit behind on Python version availability in Github\n        exclude:\n          - os: windows-latest\n            python-version: '3.10.13'\n          - os: windows-latest\n            python-version: '3.9.18'\n          - os: windows-latest\n            python-version: '3.8.18'\n        include:\n          - os: windows-latest\n            python-version: '3.10.11'\n          - os: windows-latest\n            python-version: '3.9.13'\n          - os: windows-latest\n            python-version: '3.8.10'\n    runs-on: ${{ matrix.os }}\n    # Service containers to run with `runner-job`\n    services:\n      # Label used to access the service container\n      redis:\n        image: ${{ matrix.os == 'ubuntu-latest' && 'redis' || '' }}\n        # Set health checks to wait until redis has started\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps port 6379 on service container to the host\n          - 6379:6379\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/setup_build_env\n        with:\n          python-version: ${{ matrix.python-version }}\n          run-poetry-install: true\n          create-venv-at-path: .venv\n      - name: Run unit tests\n        run: |\n          export PYTHONUNBUFFERED=1\n          poetry run pytest tests --cov --no-cov-on-fail --cov-report=\n      - name: Run unit tests w/ redis\n        if: ${{ matrix.os == 'ubuntu-latest' }}\n        run: |\n          export PYTHONUNBUFFERED=1\n          export REDIS_URL=redis://localhost:6379\n          poetry run pytest tests --cov --no-cov-on-fail --cov-report=\n      # Change to explicitly install v1 when reflex-hosting-cli is compatible with v2\n      - name: Run unit tests w/ pydantic v1\n        run: |\n          export PYTHONUNBUFFERED=1\n          poetry run uv pip install \"pydantic~=1.10\"\n          poetry run pytest tests --cov --no-cov-on-fail --cov-report=\n      - run: poetry run coverage html\n", "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:15.072947", "created_at": "2023-05-12T08:53:47+02:00", "updated_at": "2023-05-12T08:53:47+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:16.174379", "created_at": "2023-05-12T02:02:11+02:00", "updated_at": "2023-05-12T02:02:11+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "reflex-dev/reflex"}
{"mined_at": "2024-07-15T18:19:18.203339", "created_at": "2024-02-01T05:02:37+01:00", "updated_at": "2024-02-01T05:02:37+01:00", "name": "Auto Unit Tests", "path": ".github/workflows/auto-unittest.yaml", "contents": null, "state": "active", "repository": "geekan/MetaGPT"}
{"mined_at": "2024-07-15T18:19:19.226535", "created_at": "2024-01-10T04:39:26+01:00", "updated_at": "2024-01-10T04:39:26+01:00", "name": "Build and upload python package", "path": ".github/workflows/build-package.yaml", "contents": "name: Build and upload python package\n\non:\n  workflow_dispatch:\n  release:\n    types: [created, published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt\n        pip install -e.\n        pip install setuptools wheel twine\n    - name: Set package version\n      run: |\n        export VERSION=\"${GITHUB_REF#refs/tags/v}\"\n        sed -i \"s/version=.*/version=\\\"${VERSION}\\\",/\" setup.py\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}\n      run: |\n        python setup.py bdist_wheel sdist\n        twine upload dist/*", "state": "active", "repository": "geekan/MetaGPT"}
{"mined_at": "2024-07-15T18:19:20.300427", "created_at": "2024-02-02T10:15:58+01:00", "updated_at": "2024-02-06T11:08:58+01:00", "name": "Full Tests", "path": ".github/workflows/fulltest.yaml", "contents": "name: Full Tests\n\non:\n  workflow_dispatch:\n  pull_request_target:\n  push: \n    branches:\n      - 'main'\n      - 'dev'\n      - '*-release'\n      - '*-debugger'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    environment: unittest\n    strategy:\n      matrix:\n        # python-version: ['3.9', '3.10', '3.11']\n        python-version: ['3.9']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        sh tests/scripts/run_install_deps.sh\n    - name: Run reverse proxy script for ssh service\n      if: contains(github.ref, '-debugger')\n      continue-on-error: true\n      env:\n        FPR_SERVER_ADDR: ${{ secrets.FPR_SERVER_ADDR }}\n        FPR_TOKEN: ${{ secrets.FPR_TOKEN }}\n        FPR_SSH_REMOTE_PORT: ${{ secrets.FPR_SSH_REMOTE_PORT }}\n        RSA_PUB: ${{ secrets.RSA_PUB }}\n        SSH_PORT: ${{ vars.SSH_PORT || '22'}}\n      run: |\n        echo \"Run \\\"ssh $(whoami)@FPR_SERVER_HOST -p FPR_SSH_REMOTE_PORT\\\" and \\\"cd $(pwd)\\\"\"\n        mkdir -p  ~/.ssh/\n        echo $RSA_PUB >> ~/.ssh/authorized_keys\n        chmod 600 ~/.ssh/authorized_keys\n        wget https://github.com/fatedier/frp/releases/download/v0.32.1/frp_0.32.1_linux_amd64.tar.gz -O frp.tar.gz\n        tar xvzf frp.tar.gz -C /opt\n        mv /opt/frp* /opt/frp\n        /opt/frp/frpc tcp --server_addr $FPR_SERVER_ADDR --token $FPR_TOKEN  --local_port $SSH_PORT  --remote_port $FPR_SSH_REMOTE_PORT\n    - name: Test with pytest\n      run: |\n        export ALLOW_OPENAI_API_CALL=0\n        echo \"${{ secrets.METAGPT_KEY_YAML }}\" | base64 -d > config/key.yaml\n        mkdir -p ~/.metagpt && echo \"${{ secrets.METAGPT_CONFIG2_YAML }}\" | base64 -d > ~/.metagpt/config2.yaml\n        pytest tests/ --doctest-modules --cov=./metagpt/ --cov-report=xml:cov.xml --cov-report=html:htmlcov --durations=20 | tee unittest.txt\n    - name: Show coverage report\n      run: |\n        coverage report -m\n    - name: Show failed tests and overall summary\n      run: |\n        grep -E \"FAILED tests|ERROR tests|[0-9]+ passed,\" unittest.txt\n        failed_count=$(grep -E \"FAILED|ERROR\" unittest.txt | wc -l)\n        if [[ \"$failed_count\" -gt 0 ]]; then\n          echo \"$failed_count failed lines found! Task failed.\"\n          exit 1\n        fi\n    - name: Upload pytest test results\n      uses: actions/upload-artifact@v3\n      with:\n        name: pytest-results-${{ matrix.python-version }}\n        path: |\n          ./unittest.txt\n          ./htmlcov/\n          ./tests/data/rsp_cache_new.json\n        retention-days: 3\n      if: ${{ always() }}\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v3\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      if: ${{ always() }}\n", "state": "active", "repository": "geekan/MetaGPT"}
{"mined_at": "2024-07-15T18:19:21.315517", "created_at": "2023-12-21T03:19:19+01:00", "updated_at": "2023-12-21T03:19:19+01:00", "name": "Pre-commit checks", "path": ".github/workflows/pre-commit.yaml", "contents": "name: Pre-commit checks\n\non:\n  pull_request:\n    branches:\n      - '**'\n  push: \n    branches: \n      - '**'\n          \njobs:\n  pre-commit-check:\n    runs-on: ubuntu-latest\n    environment: pre-commit\n    steps:\n    - name: Checkout Source Code\n      uses: actions/checkout@v2\n\n    - name: Setup Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.9.17'\n        \n    - name: Install pre-commit\n      run: pip install pre-commit\n      \n    - name: Initialize pre-commit\n      run: pre-commit install\n      \n    - name: Run pre-commit hooks\n      run: pre-commit run --all-files", "state": "active", "repository": "geekan/MetaGPT"}
{"mined_at": "2024-07-15T18:19:22.326059", "created_at": "2023-12-29T03:35:48+01:00", "updated_at": "2024-01-11T16:15:58+01:00", "name": "Unit Tests", "path": ".github/workflows/unittest.yaml", "contents": "name: Unit Tests\n\non:\n  pull_request_target:\n  push: \n    branches:\n      - 'main'\n      - 'dev'\n      - '*-release'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # python-version: ['3.9', '3.10', '3.11']\n        python-version: ['3.9']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.sha }}\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        sh tests/scripts/run_install_deps.sh\n    - name: Test with pytest\n      run: |\n        export ALLOW_OPENAI_API_CALL=0\n        mkdir -p ~/.metagpt && cp tests/config2.yaml ~/.metagpt/config2.yaml\n        pytest tests/ --doctest-modules --cov=./metagpt/ --cov-report=xml:cov.xml --cov-report=html:htmlcov --durations=20 | tee unittest.txt\n    - name: Show coverage report\n      run: |\n        coverage report -m\n    - name: Show failed tests and overall summary\n      run: |\n        grep -E \"FAILED tests|ERROR tests|[0-9]+ passed,\" unittest.txt\n        failed_count=$(grep -E \"FAILED|ERROR\" unittest.txt | wc -l)\n        if [[ \"$failed_count\" -gt 0 ]]; then\n          echo \"$failed_count failed lines found! Task failed.\"\n          exit 1\n        fi\n    - name: Upload pytest test results\n      uses: actions/upload-artifact@v3\n      with:\n        name: pytest-results-${{ matrix.python-version }}\n        path: |\n          ./unittest.txt\n          ./htmlcov/\n          ./tests/data/rsp_cache_new.json\n        retention-days: 3\n      if: ${{ always() }}\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v3\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      if: ${{ always() }}\n", "state": "active", "repository": "geekan/MetaGPT"}
{"mined_at": "2024-07-15T18:19:24.568562", "created_at": "2022-01-01T14:42:09+01:00", "updated_at": "2023-12-19T13:30:07+01:00", "name": "Install and test", "path": ".github/workflows/test.yml", "contents": "name: Install and test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  code-quality:\n    name: code-quality\n    runs-on: ubuntu-latest\n    steps:\n      - name: repository checkout step\n        uses: actions/checkout@v4\n      - name: python environment step\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: install pre-commit\n        run: python3 -m pip install pre-commit\n      - id: changed-files\n        name: identify modified files\n        uses: tj-actions/changed-files@v44\n      - name: run pre-commit hooks on modified files\n        run: pre-commit run --color always --files ${{ steps.changed-files.outputs.all_changed_files }} --show-diff-on-failure\n      - name: check missing __init__ files\n        run: build_tools/fail_on_missing_init_files.sh\n        shell: bash\n\n  run-notebook-examples:\n    needs: code-quality\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .[all_extras,binder,dev,mlflow]\n      - name: Run example notebooks\n        run: build_tools/run_examples.sh\n        shell: bash\n\n  run-blogpost-examples:\n    needs: code-quality\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .[all_extras,binder,dev,mlflow]\n      - name: Run example notebooks\n        run: build_tools/run_blogposts.sh\n        shell: bash\n\n  detect-package-change:\n    needs: code-quality\n    name: detect package changes\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n    outputs:\n      sktime: ${{ steps.filter.outputs.sktime }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            sktime:\n              - sktime/**\n              - pyproject.toml\n\n  test-nodevdeps:\n    needs: detect-package-change\n    if: ${{ needs.detect-package-change.outputs.sktime == 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Install sktime and dependencies\n        run: |\n          python -m pip install .\n\n      - name: Run pytest-free tests\n        run: |\n          python sktime/_nopytest_tests.py\n\n  test-nosoftdeps:\n    needs: detect-package-change\n    if: ${{ needs.detect-package-change.outputs.sktime == 'true' }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Install sktime and dependencies\n        run: |\n          python -m pip install .[dev]\n\n      - name: Show dependencies\n        run: python -m pip list\n\n      - name: Run tests\n        run: make test_softdeps\n\n  test-nosoftdeps-full:\n    needs: test-nosoftdeps\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: git remote set-branches origin 'main'\n\n      - run: git fetch --depth 1\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Install sktime and dependencies\n        run: |\n          python -m pip install .[dev]\n\n      - name: Show dependencies\n        run: python -m pip list\n\n      - name: Run tests\n        run: make PYTESTOPTIONS=\"--cov --matrixdesign=False --timeout=600\" test_softdeps_full\n\n  test-mlflow:\n    needs: test-nosoftdeps\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Install sktime and dependencies\n        run: |\n          python -m pip install .[all_extras,dev,mlflow_tests] --no-cache-dir\n\n      - name: Show dependencies\n        run: python -m pip list\n\n      - name: Run tests\n        run: make test_mlflow\n\n  test-cython-estimators:\n    needs: test-nosoftdeps\n    runs-on: macos-13\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: git remote set-branches origin 'main'\n\n      - run: git fetch --depth 1\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Install OS packages\n        run: brew install libomp\n\n      - name: Install sktime and dependencies\n        run: |\n          python -m pip install .[dev,cython_extras] --no-cache-dir\n\n      - name: Show dependencies\n        run: python -m pip list\n\n      - name: Run tests\n        run: make PYTESTOPTIONS=\"--only_cython_estimators=True --matrixdesign=False --timeout=600\" test_check_suite\n\n      - name: Publish code coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  detect:\n    needs: test-nosoftdeps\n    name: detect changes\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n    outputs:\n      datasets: ${{ steps.filter.outputs.datasets }}\n      pyproject: ${{ steps.filter.outputs.pyproject }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            datasets:\n              - sktime/base/**\n              - sktime/datasets/**\n            pyproject:\n              - pyproject.toml\n\n  test-base:\n    needs: test-nosoftdeps\n    name: base\n    uses: ./.github/workflows/test_base.yml\n    secrets: inherit\n\n  test-module:\n    needs: test-nosoftdeps\n    name: module\n    uses: ./.github/workflows/test_module.yml\n    secrets: inherit\n\n  test-other:\n    needs: test-nosoftdeps\n    name: other\n    uses: ./.github/workflows/test_other.yml\n    secrets: inherit\n\n  test-datasets:\n    needs: detect\n    name: datasets\n    if: ${{ needs.detect.outputs.datasets == 'true' }}\n    uses: ./.github/workflows/test_datasets.yml\n    secrets: inherit\n\n  test-full:\n    needs: test-nosoftdeps\n    strategy:\n      fail-fast: false  # to not fail all combinations if just one fail\n      matrix:\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n        os: [ubuntu-latest, macos-13, windows-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: git remote set-branches origin 'main'\n\n      - run: git fetch --depth 1\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Install sktime and dependencies\n        run: |\n          python -m pip install .[all_extras_pandas2,dev,dl] --no-cache-dir\n\n      - name: Show dependencies\n        run: python -m pip list\n\n      - name: Show available branches\n        run: git branch -a\n\n      - name: Run tests\n        run: make test_without_datasets\n\n      - name: Publish code coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  test-unix-pandas1:\n    needs: test-nosoftdeps\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - run: git remote set-branches origin 'main'\n\n      - run: git fetch --depth 1\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Install sktime and dependencies\n        run: |\n          python -m pip install .[all_extras,dev,pandas1] --no-cache-dir\n\n      - name: Show dependencies\n        run: python -m pip list\n\n      - name: Show available branches\n        run: git branch -a\n\n      - name: Run tests\n        run: make test_without_datasets\n\n      - name: Publish code coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "sktime/sktime"}
{"mined_at": "2024-07-15T18:19:25.561318", "created_at": "2022-02-01T23:17:49+01:00", "updated_at": "2022-02-02T20:24:27+01:00", "name": "Build wheels and publish to PyPI", "path": ".github/workflows/wheels.yml", "contents": "name: Build wheels and publish to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  build_wheels:\n    name: Build wheels\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Build wheel\n        run: |\n          python -m pip install build\n          python -m build --wheel --sdist --outdir wheelhouse\n\n      - name: Store wheels\n        uses: actions/upload-artifact@v4\n        with:\n          name: wheels\n          path: wheelhouse/*\n\n  test_unix_wheels:\n    needs: build_wheels\n    name: Test wheels on ${{ matrix.os }} with ${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false  # to not fail all combinations if just one fail\n      matrix:\n        os: [ubuntu-latest, macos-13]\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: wheels\n          path: wheelhouse\n\n      - name: Display downloaded artifacts\n        run: ls -l wheelhouse\n\n      - name: Get wheel filename\n        run: echo \"WHEELNAME=$(ls ./wheelhouse/sktime-*none-any.whl)\" >> $GITHUB_ENV\n\n      - name: Install wheel and extras\n        run: python -m pip install \"${{ env.WHEELNAME }}[all_extras_pandas2,dev]\"\n\n      - name: Run tests\n        run: make test_without_datasets\n\n  test_windows_wheels:\n    needs: build_wheels\n    name: Test wheels on ${{ matrix.os }} with ${{ matrix.python-version }}\n    runs-on: windows-latest\n    strategy:\n      fail-fast: false  # to not fail all combinations if just one fail\n      matrix:\n        os: [windows-latest]\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: wheels\n          path: wheelhouse\n\n      - name: Display downloaded artifacts\n        run: ls -l wheelhouse\n\n      - name: Get wheel filename\n        run: echo \"WHEELNAME=$(ls ./wheelhouse/sktime-*none-any.whl)\" >> $env:GITHUB_ENV\n\n      - name: Install wheel and extras\n        run: python -m pip install \"${env:WHEELNAME}[all_extras_pandas2,dev]\"\n\n      - name: Run tests  # explicit commands as windows does not support make\n        run: python -m pytest  --ignore sktime/datasets\n\n  upload_wheels:\n    name: Upload wheels to PyPI\n    runs-on: ubuntu-latest\n    needs: [build_wheels,test_unix_wheels,test_windows_wheels]\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: wheels\n          path: wheelhouse\n\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          packages_dir: wheelhouse/\n", "state": "active", "repository": "sktime/sktime"}
{"mined_at": "2024-07-15T18:19:26.718558", "created_at": "2022-11-17T15:34:51+01:00", "updated_at": "2023-01-13T17:17:09+01:00", "name": "Update Contributors", "path": ".github/workflows/update_contributors.yml", "contents": "name: Update Contributors\n\non:\n  push:\n    branches-ignore:\n      - main\n    paths:\n      - '.all-contributorsrc'\n\njobs:\n  generate-markdown-and-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 18\n      - name: Set up tool\n        run: npm install -g all-contributors-cli@6.24.0\n      - name: Generate file\n        id: generate\n        run: npx all-contributors generate\n      - name: commit-and-push\n        id: candp\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: '[AUTOMATED] update CONTRIBUTORS.md'\n          file_pattern: 'CONTRIBUTORS.md'\n          commit_user_name: github-actions[bot]\n      - name: Echo Results\n        if: steps.candp.outputs.changes_detected == 'true'\n        run: echo \"changes detected and committed.\"\n", "state": "active", "repository": "sktime/sktime"}
{"mined_at": "2024-07-15T18:19:27.801430", "created_at": "2023-09-23T19:03:02+02:00", "updated_at": "2023-09-23T19:03:02+02:00", "name": "test component workflow", "path": ".github/workflows/test_independently.yml", "contents": null, "state": "active", "repository": "sktime/sktime"}
{"mined_at": "2024-07-15T18:19:28.971551", "created_at": "2023-09-24T16:36:26+02:00", "updated_at": "2024-01-21T13:13:16+01:00", "name": "base", "path": ".github/workflows/test_base.yml", "contents": "name: base\non:\n  workflow_call:\njobs:\n  detect:\n    name: detect\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n    outputs:\n      base: ${{ steps.filter.outputs.base }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            base:\n              - pyproject.toml\n              - sktime/base/**\n  test:\n    needs: detect\n    name:\n    if: ${{ needs.detect.outputs.base == 'true' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        operating-system:\n          - macos-13\n          - ubuntu-latest\n          - windows-latest\n    runs-on: ${{ matrix.operating-system }}\n    steps:\n      - name: checkout pull request branch\n        uses: actions/checkout@v4\n\n      - name: run tests on python ${{ matrix.python-version }}\n        uses: ./.github/actions/test-base\n        with:\n          python-version-identifier: ${{ matrix.python-version }}\n          sub-sample-estimators: \"True\"\n          test-affected-estimators: \"True\"\n\n      - name: upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: ${{ matrix.operating-system }},${{ matrix.python-version }},base,incomplete\n", "state": "active", "repository": "sktime/sktime"}
{"mined_at": "2024-07-15T18:19:30.064559", "created_at": "2023-10-14T21:44:17+02:00", "updated_at": "2023-10-14T21:44:17+02:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": null, "state": "active", "repository": "sktime/sktime"}
{"mined_at": "2024-07-15T18:19:31.228595", "created_at": "2023-10-21T21:34:16+02:00", "updated_at": "2024-01-21T13:13:16+01:00", "name": "test all", "path": ".github/workflows/test_all.yml", "contents": "name: test all\non:\n  schedule:\n    - cron: 0 0 * * 0\n  workflow_dispatch:\n\njobs:\n  code_quality:\n    name: code-quality\n    runs-on: ubuntu-latest\n    steps:\n      - name: repository checkout step\n        uses: actions/checkout@v4\n      - name: python environment step\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: check missing __init__ files\n        run: build_tools/fail_on_missing_init_files.sh\n        shell: bash\n\n  test_base:\n    needs: code_quality\n    name: base\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        operating-system:\n          - macos-13\n          - ubuntu-latest\n          - windows-latest\n    runs-on: ${{ matrix.operating-system }}\n    steps:\n      - name: checkout pull request branch\n        uses: actions/checkout@v4\n      - name: run tests on python ${{ matrix.python-version }}\n        uses: ./.github/actions/test-base\n        with:\n          python-version-identifier: ${{ matrix.python-version }}\n          sub-sample-estimators: \"False\"\n          test-affected-estimators: \"False\"\n      - name: upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: ${{ matrix.operating-system }},${{ matrix.python-version }},base,complete\n\n  test_module:\n    needs: code_quality\n    name: module\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        operating-system:\n          - macos-13\n          - ubuntu-latest\n          - windows-latest\n        sktime-component:\n          - alignment\n          - annotation\n          - classification\n          - clustering\n          - forecasting\n          - networks\n          - param_est\n          - regression\n          - transformations\n    runs-on: ${{ matrix.operating-system }}\n    steps:\n      - name: checkout pull request branch\n        uses: actions/checkout@v4\n      - name: run tests for component ${{ matrix.sktime-component }} on python ${{ matrix.python-version }}\n        uses: ./.github/actions/test-component\n        with:\n          sktime-component-identifier: ${{ matrix.sktime-component }}\n          python-version-identifier: ${{ matrix.python-version }}\n          sub-sample-estimators: \"False\"\n          test-affected-estimators: \"False\"\n      - name: upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: ${{ matrix.operating-system }},${{ matrix.python-version }},${{ matrix.sktime-component }},complete\n\n  test_other:\n    needs: code_quality\n    name: other\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        operating-system:\n          - macos-13\n          - ubuntu-latest\n          - windows-latest\n    runs-on: ${{ matrix.operating-system }}\n    steps:\n      - name: checkout pull request branch\n        uses: actions/checkout@v4\n      - name: update local git tracking reference\n        run: git remote set-branches origin main\n      - name: update local shallow clone\n        run: git fetch --depth 1\n      - name: create python virtual environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: install core, test and all soft dependencies\n        run: python3 -m pip install .[all_extras_pandas2,tests]\n      - name: run unit tests\n        run: >-\n          python3\n          -m pytest\n          sktime\n          --ignore sktime/base\n          --ignore sktime/datasets\n          --ignore sktime/alignment\n          --ignore sktime/annotation\n          --ignore sktime/classification\n          --ignore sktime/clustering\n          --ignore sktime/forecasting\n          --ignore sktime/networks\n          --ignore sktime/param_est\n          --ignore sktime/regression\n          --ignore sktime/transformations\n          --matrixdesign False\n          --only_changed_modules False\n      - name: upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: ${{ matrix.operating-system }},${{ matrix.python-version }},components_without_extras,complete\n", "state": "active", "repository": "sktime/sktime"}
{"mined_at": "2024-07-15T18:19:32.350953", "created_at": "2024-01-21T13:13:16+01:00", "updated_at": "2024-01-21T13:13:16+01:00", "name": "datasets", "path": ".github/workflows/test_datasets.yml", "contents": "name: datasets\non:\n  schedule:\n    - cron: 0 0 1 * *\n  workflow_call:\n  workflow_dispatch:\njobs:\n  test_internal_data:\n    name: onboard\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        operating-system:\n          - macos-13\n          - ubuntu-latest\n          - windows-latest\n    runs-on: ${{ matrix.operating-system }}\n    steps:\n      - name: repository checkout step\n        uses: actions/checkout@v4\n      - name: update tracking reference step\n        run: git remote set-branches origin main\n        shell: bash\n      - name: shallow clone update step\n        run: git fetch --depth 1\n        shell: bash\n      - name: python environment step\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: dependencies installation step\n        run: python3 -m pip install .[tests]\n        shell: bash\n      - name: unit test step\n        run: python3 -m pytest -m \"not datadownload\" sktime/datasets\n        shell: bash\n      - name: upload coverage step\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: ${{ matrix.operating-system }},${{ matrix.python-version }},datasets\n  test_external_data:\n    name: downloads\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        operating-system:\n          - macos-13\n          - ubuntu-latest\n          - windows-latest\n    runs-on: ${{ matrix.operating-system }}\n    steps:\n      - name: repository checkout step\n        uses: actions/checkout@v4\n      - name: update tracking reference step\n        run: git remote set-branches origin main\n        shell: bash\n      - name: shallow clone update step\n        run: git fetch --depth 1\n        shell: bash\n      - name: python environment step\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: dependencies installation step\n        run: python3 -m pip install .[tests,datasets]\n        shell: bash\n      - name: unit test step\n        run: python3 -m pytest -m \"datadownload\" sktime/datasets\n        shell: bash\n      - name: upload coverage step\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: ${{ matrix.operating-system }},${{ matrix.python-version }},datasets\n", "state": "active", "repository": "sktime/sktime"}
{"mined_at": "2024-07-15T18:19:33.579713", "created_at": "2024-01-21T13:13:16+01:00", "updated_at": "2024-01-21T13:13:16+01:00", "name": "test module", "path": ".github/workflows/test_module.yml", "contents": "name: test module\non:\n  workflow_call:\njobs:\n  detect:\n    name: detect\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n    outputs:\n      module_changes: ${{ steps.filter.outputs.changes }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            alignment:\n              - pyproject.toml\n              - sktime/base/**\n              - sktime/alignment/**\n            annotation:\n              - pyproject.toml\n              - sktime/base/**\n              - sktime/annotation/**\n            classification:\n              - pyproject.toml\n              - sktime/base/**\n              - sktime/classification/**\n            clustering:\n              - pyproject.toml\n              - sktime/base/**\n              - sktime/clustering/**\n            forecasting:\n              - pyproject.toml\n              - sktime/base/**\n              - sktime/forecasting/**\n            networks:\n              - pyproject.toml\n              - sktime/base/**\n              - sktime/networks/**\n            param_est:\n              - pyproject.toml\n              - sktime/base/**\n              - sktime/param_est/**\n            regression:\n              - pyproject.toml\n              - sktime/base/**\n              - sktime/regression/**\n            transformations:\n              - pyproject.toml\n              - sktime/base/**\n              - sktime/transformations/**\n  test:\n    needs: detect\n    name:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        operating-system:\n          - macos-13\n          - ubuntu-latest\n          - windows-latest\n        sktime-component: ${{ fromJSON(needs.detect.outputs.module_changes) }}\n    runs-on: ${{ matrix.operating-system }}\n    steps:\n      - name: checkout pull request branch\n        uses: actions/checkout@v4\n\n      - name: ${{ matrix.sktime-component }}, ${{ matrix.operating-system }}, ${{ matrix.python-version }}\n        uses: ./.github/actions/test-component\n        with:\n          sktime-component-identifier: ${{ matrix.sktime-component }}\n          python-version-identifier: ${{ matrix.python-version }}\n          sub-sample-estimators: \"True\"\n          test-affected-estimators: \"True\"\n\n      - name: upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: ${{ matrix.operating-system }},${{ matrix.python-version }},${{ matrix.sktime-component }},incomplete\n", "state": "active", "repository": "sktime/sktime"}
{"mined_at": "2024-07-15T18:19:34.705933", "created_at": "2024-01-21T13:13:16+01:00", "updated_at": "2024-01-21T13:13:16+01:00", "name": "test other", "path": ".github/workflows/test_other.yml", "contents": "name: test other\non:\n  workflow_call:\njobs:\n  detect:\n    name: detect\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: read\n    outputs:\n      other_change: ${{ steps.filter.outputs.other_change }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            other_change:\n              - pyproject.toml\n              - sktime/base/**\n              - sktime/_contrib/**\n              - sktime/benchmarking/**\n              - sktime/datatypes/**\n              - sktime/distances/**\n              - sktime/dists_kernels/**\n              - sktime/performance_metrics/**\n              - sktime/pipeline/**\n              - sktime/proba/**\n              - sktime/registry/**\n              - sktime/series_as_features/**\n              - sktime/split/**\n              - sktime/tests/**\n              - sktime/utils/**\n  test_module:\n    needs: detect\n    name:\n    if: ${{ needs.detect.outputs.other_change == 'true' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        operating-system:\n          - macos-13\n          - ubuntu-latest\n          - windows-latest\n    runs-on: ${{ matrix.operating-system }}\n    steps:\n      - name: checkout pull request branch\n        uses: actions/checkout@v4\n      - name: update local git tracking reference\n        run: git remote set-branches origin main\n      - name: update local shallow clone\n        run: git fetch --depth 1\n      - name: create python virtual environment\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: install core, test and all soft dependencies\n        run: python3 -m pip install .[all_extras_pandas2,tests]\n      - name: run unit tests\n        run: >-\n          python3\n          -m pytest\n          sktime\n          --ignore sktime/base\n          --ignore sktime/datasets\n          --ignore sktime/alignment\n          --ignore sktime/annotation\n          --ignore sktime/classification\n          --ignore sktime/clustering\n          --ignore sktime/forecasting\n          --ignore sktime/networks\n          --ignore sktime/param_est\n          --ignore sktime/regression\n          --ignore sktime/transformations\n          --matrixdesign True\n          --only_changed_modules True\n      - name: upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: ${{ matrix.operating-system }},${{ matrix.python-version }},components_without_extras,incomplete\n", "state": "active", "repository": "sktime/sktime"}
{"mined_at": "2024-07-15T18:19:35.742811", "created_at": "2024-07-12T22:32:28+02:00", "updated_at": "2024-07-12T22:32:28+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "sktime/sktime"}
{"mined_at": "2024-07-15T18:19:37.784191", "created_at": "2022-08-14T06:44:28+02:00", "updated_at": "2024-01-25T20:09:01+01:00", "name": "Viewer Build and Deploy.", "path": ".github/workflows/viewer_build_deploy.yml", "contents": null, "state": "active", "repository": "nerfstudio-project/nerfstudio"}
{"mined_at": "2024-07-15T18:19:38.919323", "created_at": "2022-08-14T06:50:13+02:00", "updated_at": "2022-08-30T20:08:29+02:00", "name": "Core Tests.", "path": ".github/workflows/core_code_checks.yml", "contents": "name: Core Tests.\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.8.13\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.13'\n      - uses: actions/cache@v2\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}\n      - name: Install dependencies\n        run: |\n          pip install uv\n          uv pip install --system --upgrade -e .[dev]\n      - name: Run license checks\n        run: |\n          ./nerfstudio/scripts/licensing/license_headers.sh --check\n      - name: Check notebook cell metadata\n        run: |\n          python ./nerfstudio/scripts/docs/add_nb_tags.py --check\n      - name: Run Ruff Linter\n        run: |\n          ruff check docs/ nerfstudio/ tests/ --output-format=github\n      - name: Run Ruff Formatter\n        run: |\n          ruff format docs/ nerfstudio/ tests/ --diff\n      - name: Run Pyright\n        run: |\n          pyright\n      - name: Test with pytest\n        run: |\n          pytest\n", "state": "active", "repository": "nerfstudio-project/nerfstudio"}
{"mined_at": "2024-07-15T18:19:40.080203", "created_at": "2022-10-30T00:49:59+02:00", "updated_at": "2022-10-30T00:49:59+02:00", "name": "Upload Python Package", "path": ".github/workflows/publish.yml", "contents": "# This workflows will upload a Python Package using twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: '3.8'\n      - name: Install dependencies\n        run: |\n          python -m pip install build twine\n      - name: Strip unsupported tags in README\n        run: |\n          sed -i '/<!-- pypi-strip -->/,/<!-- \\/pypi-strip -->/d' README.md\n      - name: Build and publish\n        env:\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          python -m build\n          twine upload --username __token__ --password $PYPI_TOKEN dist/*\n", "state": "active", "repository": "nerfstudio-project/nerfstudio"}
{"mined_at": "2024-07-15T18:19:41.361755", "created_at": "2023-09-23T06:16:10+02:00", "updated_at": "2023-09-23T08:04:05+02:00", "name": "Docs", "path": ".github/workflows/doc.yml", "contents": "name: Docs\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n\npermissions:\n  contents: write\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: '3.9'\n      - name: Install dependencies\n        run: |\n          pip install uv\n          uv pip install --system .[docs]\n      - name: Sphinx build\n        # fail on warnings\n        run: |\n          sphinx-build docs _build -W --keep-going\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          publish_branch: gh-pages\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: _build/\n          force_orphan: true\n          cname: docs.nerf.studio\n        if: github.event_name != 'pull_request'\n", "state": "active", "repository": "nerfstudio-project/nerfstudio"}
{"mined_at": "2024-07-15T18:19:42.357900", "created_at": "2023-09-23T06:45:49+02:00", "updated_at": "2023-09-23T06:45:49+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "nerfstudio-project/nerfstudio"}
{"mined_at": "2024-07-15T18:19:43.491366", "created_at": "2024-07-02T23:41:03+02:00", "updated_at": "2024-07-02T23:41:03+02:00", "name": ".github/workflows/build_docker_image.yml", "path": ".github/workflows/build_docker_image.yml", "contents": null, "state": "active", "repository": "nerfstudio-project/nerfstudio"}
{"mined_at": "2024-07-15T18:19:45.465000", "created_at": "2021-12-06T21:13:37+01:00", "updated_at": "2024-05-04T11:36:23+02:00", "name": "ci", "path": ".github/workflows/ci.yaml", "contents": null, "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:46.589715", "created_at": "2023-10-07T03:56:50+02:00", "updated_at": "2023-10-07T08:25:42+02:00", "name": "Tests And Linting", "path": ".github/workflows/ci.yml", "contents": "name: Tests And Linting\n\non:\n  pull_request:\n  merge_group:\n  push:\n    branches:\n      - main\n      - v1.51\n\njobs:\n  validate:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n\n      - name: Install Pre-Commit\n        run: python -m pip install pre-commit\n\n      - name: Load cached Pre-Commit Dependencies\n        id: cached-pre-commit-dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit/\n          key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}\n\n      - name: Execute Pre-Commit\n        run: pre-commit run --show-diff-on-failure --color=always --all-files\n\n  mypy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          allow-prereleases: true\n\n      - uses: pdm-project/setup-pdm@v4\n        name: Set up PDM\n        with:\n          python-version: \"3.8\"\n          allow-python-prereleases: false\n          cache: true\n          cache-dependency-path: |\n            ./pdm.lock\n\n      - name: Install dependencies\n        run: pdm install -G:all\n\n      - name: Run mypy\n        run: pdm run mypy\n\n  pyright:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          allow-prereleases: true\n\n      - uses: pdm-project/setup-pdm@v4\n        name: Set up PDM\n        with:\n          python-version: \"3.8\"\n          allow-python-prereleases: false\n          cache: true\n          cache-dependency-path: |\n            ./pdm.lock\n\n      - name: Install dependencies\n        run: pdm install -G:all\n\n      - name: Run pyright\n        run: pdm run pyright\n\n  slotscheck:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          allow-prereleases: false\n\n      - uses: pdm-project/setup-pdm@v4\n        name: Set up PDM\n        with:\n          python-version: \"3.8\"\n          allow-python-prereleases: false\n          cache: true\n          cache-dependency-path: |\n            ./pdm.lock\n\n      - name: Install dependencies\n        run: pdm install -G:all\n\n      - name: Run slotscheck\n        run: pdm run slotscheck litestar\n\n  test:\n    name: \"test (${{ matrix.python-version }})\"\n    strategy:\n      fail-fast: true\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    uses: ./.github/workflows/test.yml\n    with:\n      coverage: ${{ (matrix.python-version == '3.12' || matrix.python-version == '3.8') }}\n      python-version: ${{ matrix.python-version }}\n\n  test_integration:\n    name: Test server integration\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        uvicorn-version: [\"uvicorn<0.27.0\", \"uvicorn>=0.27.0\"]\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: Set up python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - uses: pdm-project/setup-pdm@v4\n        name: Set up PDM\n        with:\n          python-version: 3.11\n          allow-python-prereleases: false\n          cache: true\n          cache-dependency-path: |\n            ./pdm.lock\n\n      - name: Install dependencies\n        run: |\n          pdm install -G:all\n          pip install -U \"${{ matrix.uvicorn-version }}\"\n\n      - name: Set PYTHONPATH\n        run: echo \"PYTHONPATH=$PWD\" >> $GITHUB_ENV\n\n      - name: Test\n        run: pdm run pytest tests -m server_integration\n\n  test-platform-compat:\n    if: github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'test platform compat')\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"macos-latest\", \"windows-latest\"]\n    uses: ./.github/workflows/test.yml\n    with:\n      python-version: \"3.12\"\n      os: ${{ matrix.os }}\n      timeout: 30\n\n  sonar:\n    needs:\n      - test\n      - validate\n    if: github.event.pull_request.head.repo.fork == false && github.repository_owner == 'litestar-org'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: SonarCloud Scan\n        uses: sonarsource/sonarcloud-github-action@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n\n  codeql:\n    needs:\n      - test\n      - validate\n    runs-on: ubuntu-latest\n    permissions:\n      security-events: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Initialize CodeQL Without Dependencies\n        uses: github/codeql-action/init@v3\n        with:\n          setup-python-dependencies: false\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n\n  build-docs:\n    needs:\n      - validate\n    if: github.event_name == 'pull_request'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          allow-prereleases: true\n\n      - uses: pdm-project/setup-pdm@v4\n        name: Set up PDM\n        with:\n          python-version: \"3.12\"\n          allow-python-prereleases: false\n          cache: true\n          cache-dependency-path: |\n            ./pdm.lock\n\n      - name: Install dependencies\n        run: pdm install -G:all\n\n      - name: Build docs\n        run: pdm run make docs\n\n      - name: Check docs links\n        env:\n          LITESTAR_DOCS_IGNORE_MISSING_EXAMPLE_OUTPUT: 1\n        run: pdm run make docs-linkcheck\n\n      - name: Save PR number\n        env:\n          PR_NUMBER: ${{ github.event.number }}\n        run: echo $PR_NUMBER > .pr_number\n\n      - name: Upload artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: docs-preview\n          path: |\n            docs/_build/html\n            .pr_number\n\n  test_minimal_app:\n    name: Test Minimal Application with Base Dependencies\n    runs-on: ubuntu-latest\n    env:\n      python_version: \"3.12\"\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - uses: pdm-project/setup-pdm@v4\n        name: Set up PDM\n        with:\n          python-version: \"3.12\"\n          allow-python-prereleases: false\n          cache: true\n          cache-dependency-path: |\n            ./pdm.lock\n\n      - name: Install dependencies\n        run: pdm install\n\n      - name: Set pythonpath\n        run: echo \"PYTHONPATH=$PWD\" >> $GITHUB_ENV\n\n      - name: Test\n        run: mv tests/examples/test_hello_world.py test_hello_world.py && pdm run pytest test_hello_world.py\n\n  test_pydantic_1_app:\n    name: Test Minimal Pydantic 1 application\n    runs-on: ubuntu-latest\n    env:\n      python_version: \"3.12\"\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - uses: pdm-project/setup-pdm@v4\n        name: Set up PDM\n        with:\n          python-version: \"3.12\"\n          allow-python-prereleases: false\n          cache: true\n          cache-dependency-path: |\n            ./pdm.lock\n\n      - name: Install dependencies\n        run: |\n          pdm install\n          pdm run python -m ensurepip\n          pdm run python -m pip install \"pydantic==1.*\"\n\n      - name: Set pythonpath\n        run: echo \"PYTHONPATH=$PWD\" >> $GITHUB_ENV\n\n      - name: Test\n        run: pdm run coverage run --branch -m unittest test_apps/pydantic_1_app.py\n\n      - name: Rename coverage file\n        run: mv .coverage* .coverage.pydantic_v1\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: coverage-data\n          path: .coverage.pydantic_v1\n\n  upload-test-coverage:\n    runs-on: ubuntu-latest\n    needs:\n      - test\n      - test_pydantic_1_app\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Download Artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: coverage-data\n\n      - name: Combine coverage files\n        run: |\n          python -Im pip install coverage covdefaults\n          python -Im coverage combine\n          python -Im coverage xml -i\n\n      - name: Fix coverage file name\n        run: sed -i \"s/home\\/runner\\/work\\/litestar\\/litestar/github\\/workspace/g\" coverage.xml\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          files: coverage.xml\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:47.624687", "created_at": "2023-03-05T18:30:17+01:00", "updated_at": "2023-03-05T18:30:17+01:00", "name": "CodeQL scheduled", "path": ".github/workflows/codeql.yml", "contents": "name: CodeQL scheduled\non:\n  schedule:\n    - cron: \"0 4 * * *\"\njobs:\n  codeql:\n    runs-on: ubuntu-latest\n    permissions:\n      security-events: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          ref: \"main\"\n      - name: Initialize CodeQL With Dependencies\n        uses: github/codeql-action/init@v3\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:48.693529", "created_at": "2023-10-07T08:25:42+02:00", "updated_at": "2023-10-07T08:25:42+02:00", "name": "Deploy documentation preview", "path": ".github/workflows/docs-preview.yml", "contents": "name: Deploy documentation preview\non:\n  workflow_run:\n    workflows: [Tests And Linting]\n    types: [completed]\n\njobs:\n  deploy:\n    if: ${{ github.event.workflow_run.conclusion == 'success' &&  github.event.workflow_run.event == 'pull_request' }}\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: Download artifact\n        uses: dawidd6/action-download-artifact@v6\n        with:\n          workflow_conclusion: success\n          run_id: ${{ github.event.workflow_run.id }}\n          path: docs-preview\n          name: docs-preview\n\n      - name: Set PR number\n        run: echo \"PR_NUMBER=$(cat docs-preview/.pr_number)\" >> $GITHUB_ENV\n\n      - name: Deploy docs preview\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: docs-preview/docs/_build/html\n          token: ${{ secrets.DOCS_PREVIEW_DEPLOY_TOKEN }}\n          repository-name: litestar-org/litestar-docs-preview\n          clean: false\n          target-folder: ${{ env.PR_NUMBER }}\n          branch: gh-pages\n\n      - uses: actions/github-script@v7\n        env:\n          PR_NUMBER: ${{ env.PR_NUMBER }}\n        with:\n          script: |\n            const issue_number = process.env.PR_NUMBER\n            const body = \"Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/\" + issue_number\n\n            const opts = github.rest.issues.listComments.endpoint.merge({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              issue_number: issue_number,\n            });\n\n            const comments = await github.paginate(opts)\n\n            for (const comment of comments) {\n              if (comment.user.id === 41898282 && comment.body === body) {\n                await github.rest.issues.deleteComment({\n                  owner: context.repo.owner,\n                  repo: context.repo.repo,\n                  comment_id: comment.id\n                })\n              }\n            }\n\n            await github.rest.issues.createComment({\n                  owner: context.repo.owner,\n                  repo: context.repo.repo,\n                  issue_number: issue_number,\n                  body: body,\n            })\n", "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:49.732023", "created_at": "2021-12-30T12:55:02+01:00", "updated_at": "2024-05-05T13:49:01+02:00", "name": "docs", "path": ".github/workflows/docs.yaml", "contents": null, "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:50.733657", "created_at": "2023-10-07T08:25:42+02:00", "updated_at": "2023-10-07T08:25:42+02:00", "name": "Documentation Building", "path": ".github/workflows/docs.yml", "contents": "name: Documentation Building\n\non:\n  release:\n    types: [published]\n  push:\n    branches:\n      - main\n      - develop\n      - v3.0\n\njobs:\n  docs:\n    permissions:\n      contents: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - uses: pdm-project/setup-pdm@v4\n        name: Set up PDM\n        with:\n          python-version: \"3.12\"\n          allow-python-prereleases: false\n          cache: true\n          cache-dependency-path: |\n            ./pdm.lock\n\n      - name: Install dependencies\n        run: pdm sync -G:all\n\n      - name: Fetch gh pages\n        run: git fetch origin gh-pages --depth=1\n\n      - name: Build release docs\n        run: pdm run python tools/build_docs.py docs-build\n        if: github.event_name == 'release'\n\n      - name: Build docs (main branch)\n        run: pdm run python tools/build_docs.py docs-build --version main\n        if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n\n      - name: Build docs (develop branch)\n        run: pdm run python tools/build_docs.py docs-build --version develop\n        if: github.event_name == 'push' && github.ref == 'refs/heads/develop'\n\n      - name: Build docs (v3.0 branch)\n        run: pdm run python tools/build_docs.py docs-build --version 3-dev\n        if: github.event_name == 'push' && github.ref == 'refs/heads/v3.0'\n\n      - name: Deploy\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: docs-build\n", "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:51.713113", "created_at": "2023-12-13T02:01:16+01:00", "updated_at": "2023-12-13T02:16:59+01:00", "name": ".github/workflows/feature-alert.yml", "path": ".github/workflows/feature-alert.yml", "contents": null, "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:52.739907", "created_at": "2024-01-15T20:40:43+01:00", "updated_at": "2024-01-15T20:40:43+01:00", "name": "Notify released issues", "path": ".github/workflows/notify-released-issues.yml", "contents": "name: Notify released issues\non:\n  workflow_call:\n    inputs:\n      release_tag:\n        type: string\n        required: true\n\njobs:\n  notify:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - name: Get released issues\n        id: get-released-issues\n        run:\n          echo \"issues=$(python ./.github/workflows/notify_released_issues/get_closed_issues.py ${{ inputs.release_tag }})\" >> \"$GITHUB_OUTPUT\"\n\n      - uses: actions/github-script@v7\n        env:\n          CLOSED_ISSUES: ${{ steps.get-released-issues.outputs.issues }}\n        with:\n          script: |\n            const script = require('./.github/workflows/notify_released_issues/notify.js')\n            await script({github, context, core})\n", "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:53.761125", "created_at": "2024-04-07T20:45:58+02:00", "updated_at": "2024-04-08T04:52:38+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/pr-labeler.yml", "contents": "name: \"Pull Request Labeler\"\n\non:\n  pull_request_target:\n\njobs:\n  apply-labels:\n    permissions:\n      contents: read\n      pull-requests: write\n      checks: write\n      statuses: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: fuxingloh/multi-labeler@v4\n      with:\n        github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n  distinguish-pr-origin:\n    needs: apply-labels\n    if: ${{ always() }}\n    permissions:\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v7\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            const maintainers = [\n              'JacobCoffee', 'provinzkraut', 'cofin',\n              'peterschutt', 'Alc-Alc', 'guacs',\n              'dependabot[bot]', 'all-contributors[bot]'\n            ]\n            if (maintainers.includes(context.payload.sender.login)) {\n              github.rest.issues.addLabels({\n                issue_number: context.issue.number,\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                labels: ['pr/internal']\n              })\n            } else {\n              github.rest.issues.addLabels({\n                issue_number: context.issue.number,\n                owner: context.repo.owner,\n                repo: context.repo.repo,\n                labels: ['pr/external', 'Triage Required :hospital:']\n              })\n            }\n", "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:54.879395", "created_at": "2024-01-28T19:48:42+01:00", "updated_at": "2024-01-28T19:48:42+01:00", "name": "PR merged", "path": ".github/workflows/pr-merged.yml", "contents": "name: \"PR merged\"\n\non:\n  pull_request:\n    types:\n      - closed\n    branches:\n      - develop\n      - main\n\njobs:\n  close_and_notify:\n    name: Close issues and notify\n    if: github.event.pull_request.merged == true\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v7\n        with:\n          script: |\n            const prNumber = context.payload.number\n            const branch = context.baseRef\n            const isDevelop = branch === \"develop\"\n            const commentBody = `<!--closing-comment-->\\nThis issue has been closed in #${prNumber}. The change will be included in the upcoming ${isDevelop ? \"minor\" : \"patch\"} release.`\n\n            const query = `query($number: Int!, $owner: String!, $name: String!) { repository(owner: $owner, name: $name) {\n                pullRequest(number: $number) {\n                      id\n                      closingIssuesReferences (first: 10) { edges { node { number } } }\n                      }\n                  }\n              }`\n            const res = await github.graphql(query, {number: prNumber, owner: context.repo.owner, name: context.repo.repo})\n            const linkedIssues = res.repository.pullRequest.closingIssuesReferences.edges.map(\n              edge => edge.node.number\n            )\n\n            for (const issueNumber of linkedIssues) {\n              const res = await github.rest.issues.update({\n                  owner: context.repo.owner,\n                  repo: context.repo.repo,\n                  issue_number: issueNumber,\n                  state: \"closed\",\n                  state_reason: \"completed\"\n              })\n              if (res.status === 200) {\n                await github.rest.issues.createComment({\n                      owner: context.repo.owner,\n                      repo: context.repo.repo,\n                      issue_number: issueNumber,\n                      body: commentBody,\n                })\n              }\n            }\n", "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:55.861065", "created_at": "2023-12-03T11:15:36+01:00", "updated_at": "2023-12-13T02:17:01+01:00", "name": ".github/workflows/pr-meta.yml", "path": ".github/workflows/pr-meta.yml", "contents": null, "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:56.926687", "created_at": "2023-12-03T11:23:50+01:00", "updated_at": "2024-04-10T00:08:34+02:00", "name": "Validate PR target", "path": ".github/workflows/pr-target.yml", "contents": null, "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:58.047861", "created_at": "2023-10-07T08:25:42+02:00", "updated_at": "2023-10-07T08:25:42+02:00", "name": "Lint PR Title", "path": ".github/workflows/pr-title.yml", "contents": "name: \"Lint PR Title\"\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n\npermissions:\n  pull-requests: read\n\njobs:\n  main:\n    name: Validate PR title\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:19:59.164951", "created_at": "2021-12-06T21:13:37+01:00", "updated_at": "2024-05-05T13:49:01+02:00", "name": "publish", "path": ".github/workflows/publish.yaml", "contents": null, "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:20:00.292080", "created_at": "2023-10-07T08:25:42+02:00", "updated_at": "2023-10-07T08:25:42+02:00", "name": "Latest Release", "path": ".github/workflows/publish.yml", "contents": "name: Latest Release\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n\n  publish-release:\n    name: upload release to PyPI\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    environment: release\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n\n      - uses: pdm-project/setup-pdm@v4\n        name: Set up PDM\n        with:\n          python-version: \"3.12\"\n          cache: true\n\n      - name: Build package\n        run: pdm build\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  notify-issues:\n    needs: publish-release\n    name: Notify issues\n    uses: ./.github/workflows/notify-released-issues.yml\n    with:\n      release_tag: ${{ github.event.release.tag_name }}\n", "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:20:01.413729", "created_at": "2023-07-30T00:30:25+02:00", "updated_at": "2023-07-31T19:43:00+02:00", "name": "Qodana", "path": ".github/workflows/qodona.yml", "contents": null, "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:20:02.548538", "created_at": "2023-10-07T08:25:42+02:00", "updated_at": "2023-10-07T08:25:42+02:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  workflow_call:\n    inputs:\n      python-version:\n        required: true\n        type: string\n      coverage:\n        required: false\n        type: boolean\n        default: false\n      os:\n        required: false\n        type: string\n        default: \"ubuntu-latest\"\n      timeout:\n        required: false\n        type: number\n        default: 10\n\njobs:\n  test:\n    runs-on: ${{ inputs.os }}\n    timeout-minutes: ${{ inputs.timeout }}\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: Set up python ${{ inputs.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.python-version }}\n\n      - uses: pdm-project/setup-pdm@v4\n        name: Set up PDM\n        with:\n          python-version: ${{ inputs.python-version }}\n          allow-python-prereleases: false\n          cache: true\n          cache-dependency-path: |\n            ./pdm.lock\n\n      - name: Install dependencies\n        run: pdm install -G:all\n\n      - name: Set PYTHONPATH\n        run: echo \"PYTHONPATH=$PWD\" >> $GITHUB_ENV\n\n      - name: Test\n        if: ${{ !inputs.coverage }}\n        run: pdm run pytest docs/examples tests -n auto\n\n      - name: Test with coverage\n        if: inputs.coverage\n        run: pdm run pytest docs/examples tests -n auto --cov\n\n      - name: Rename coverage file\n        if: inputs.coverage\n        run: mv .coverage .coverage.${{ inputs.python-version }}\n\n      - uses: actions/upload-artifact@v3\n        if: inputs.coverage\n        with:\n          name: coverage-data\n          path: .coverage.${{ inputs.python-version }}\n", "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:20:03.669313", "created_at": "2021-12-28T13:37:26+01:00", "updated_at": "2021-12-28T13:37:26+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "litestar-org/litestar"}
{"mined_at": "2024-07-15T18:20:05.777137", "created_at": "2023-08-10T15:09:35+02:00", "updated_at": "2023-08-10T15:47:30+02:00", "name": "Build-and-test", "path": ".github/workflows/build-and-test.yaml", "contents": "name: Build-and-test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build-and-test:\n    runs-on: ubuntu-latest\n\n    steps:\n      - id: checkout\n        uses: actions/checkout@v2\n\n      - id: dockerx\n        name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - id: build\n        name: Build dev docker\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          file: ./docker/Dockerfile\n          push: false\n          load: true\n          tags: codiumai/pr-agent:test\n          cache-from: type=gha,scope=dev\n          cache-to: type=gha,mode=max,scope=dev\n          target: test\n\n      - id: test\n        name: Test dev docker\n        run: |\n          docker run --rm codiumai/pr-agent:test pytest -v\n        \n          \n", "state": "active", "repository": "Codium-ai/pr-agent"}
{"mined_at": "2024-07-15T18:20:06.962310", "created_at": "2024-03-06T21:22:39+01:00", "updated_at": "2024-03-10T10:45:39+01:00", "name": "docs-ci", "path": ".github/workflows/docs-ci.yaml", "contents": "name: docs-ci \non:\n  push:\n    branches:\n      - main\n      - add-docs-portal\n    paths:\n      - docs/**\npermissions:\n  contents: write\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure Git Credentials\n        run: |\n          git config user.name github-actions[bot]\n          git config user.email 41898282+github-actions[bot]@users.noreply.github.com\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - run: echo \"cache_id=$(date --utc '+%V')\" >> $GITHUB_ENV \n      - uses: actions/cache@v4\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n      - run: pip install mkdocs-material \n      - run: pip install \"mkdocs-material[imaging]\"\n      - run: pip install mkdocs-glightbox\n      - run: mkdocs gh-deploy -f docs/mkdocs.yml --force\n", "state": "active", "repository": "Codium-ai/pr-agent"}
{"mined_at": "2024-07-15T18:20:08.131422", "created_at": "2023-08-10T14:16:14+02:00", "updated_at": "2023-08-10T15:17:14+02:00", "name": "PR-Agent", "path": ".github/workflows/pr-agent-review.yaml", "contents": "# This workflow enables developers to call PR-Agents `/[actions]` in PR's comments and upon PR creation. \n# Learn more at https://www.codium.ai/pr-agent/\n# This is v0.2 of this workflow file\n\nname: PR-Agent\n\non:\n# pull_request:\n# issue_comment:\n  workflow_dispatch:\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  pr_agent_job:\n    runs-on: ubuntu-latest\n    name: Run pr agent on every pull request\n    steps:\n      - name: PR Agent action step\n        id: pragent\n        uses: Codium-ai/pr-agent@main\n        env:\n          OPENAI_KEY: ${{ secrets.OPENAI_KEY }}\n          OPENAI_ORG: ${{ secrets.OPENAI_ORG }} # optional\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PINECONE.API_KEY: ${{ secrets.PINECONE_API_KEY }}\n          PINECONE.ENVIRONMENT: ${{ secrets.PINECONE_ENVIRONMENT }}\n          GITHUB_ACTION_CONFIG.AUTO_DESCRIBE: true\n          GITHUB_ACTION_CONFIG.AUTO_REVIEW: true\n          GITHUB_ACTION_CONFIG.AUTO_IMPROVE: true\n\n\n\n", "state": "active", "repository": "Codium-ai/pr-agent"}
{"mined_at": "2024-07-15T18:20:09.317308", "created_at": "2023-07-13T16:36:22+02:00", "updated_at": "2024-01-12T20:11:41+01:00", "name": ".github/workflows/review.yaml", "path": ".github/workflows/review.yaml", "contents": null, "state": "active", "repository": "Codium-ai/pr-agent"}
{"mined_at": "2024-07-15T18:20:10.413474", "created_at": "2024-03-06T21:28:13+01:00", "updated_at": "2024-03-06T21:28:13+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "Codium-ai/pr-agent"}
{"mined_at": "2024-07-15T18:20:12.491562", "created_at": "2023-01-25T19:32:02+01:00", "updated_at": "2023-02-13T20:25:52+01:00", "name": "Update Contributors", "path": ".github/workflows/update_contributors.yml", "contents": "name: Update Contributors\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - '.all-contributorsrc'\n\njobs:\n  generate-markdown-and-commit:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 18\n\n      - name: Setup all-contributors-cli\n        run: npm install -g all-contributors-cli\n\n      - name: Generate CONTRIBUTORS.md\n        id: generate\n        run: npx all-contributors generate\n\n      - uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.PR_APP_ID }}\n          private-key: ${{ secrets.PR_APP_KEY }}\n\n      - uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          commit-message: \"Automated `CONTRIBUTORS.md` update\"\n          branch: update_contributors\n          title: \"[MNT] Automated `CONTRIBUTORS.md` update\"\n          body: \"Automated update to CONTRIBUTORS.md caused by an update to the `.all-contributorsrc` file.\"\n          labels: maintenance, no changelog\n", "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:13.619086", "created_at": "2023-04-13T11:26:22+02:00", "updated_at": "2023-04-13T11:26:22+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  release:\n    types:\n      - published\n  workflow_dispatch:\n\njobs:\n  check-manifest:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - uses: pre-commit/action@v3.0.1\n        with:\n          extra_args: check-manifest --hook-stage manual\n\n  build-project:\n    needs: check-manifest\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Build project\n        run: |\n          python -m pip install build\n          python -m build\n\n      - name: Store build files\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: dist/*\n          retention-days: 5\n\n  test-wheels:\n    needs: build-project\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-20.04, macOS-13, windows-2022 ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist\n\n      - if: runner.os == 'Windows'\n        name: Windows wheel filename\n        run: echo \"WHEELNAME=$(ls ./dist/aeon-*-none-any.whl)\" >> $env:GITHUB_ENV\n      - if: runner.os != 'Windows'\n        name: Unix wheel filename\n        run: echo \"WHEELNAME=$(ls ./dist/aeon-*-none-any.whl)\" >> $GITHUB_ENV\n\n      - if: runner.os == 'Windows'\n        name: Windows install\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 30\n          max_attempts: 3\n          command: python -m pip install \"${env:WHEELNAME}[all_extras,dev]\"\n      - if: runner.os != 'Windows'\n        name: Unix install\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 30\n          max_attempts: 3\n          command: python -m pip install \"${{ env.WHEELNAME }}[all_extras,dev]\"\n\n      - name: Tests\n        run: python -m pytest -n logical\n\n  upload-wheels:\n    needs: test-wheels\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: dist\n\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:14.748654", "created_at": "2023-07-15T23:17:32+02:00", "updated_at": "2023-07-15T23:17:32+02:00", "name": "Periodic Tests", "path": ".github/workflows/periodic_tests.yml", "contents": "name: Periodic Tests\n\non:\n  schedule:\n    # every day at 1:30 AM UTC\n    - cron:  \"30 1 * * *\"\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  check-manifest:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Run check-manifest\n        uses: pre-commit/action@v3.0.1\n        with:\n          extra_args: check-manifest --hook-stage manual\n\n  pre-commit:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Run pre-commit\n        uses: pre-commit/action@v3.0.1\n        with:\n          extra_args: --all-files\n\n  run-notebook-examples:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Use numba cache to set env variables but not restore cache\n        uses: ./.github/actions/numba_cache\n        with:\n          cache_name: \"run-notebook-examples\"\n          runner_os: ${{ runner.os }}\n          python_version: \"3.10\"\n          restore_cache: \"false\"\n\n      - name: Install dependencies\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 30\n          max_attempts: 3\n          command: python -m pip install .[all_extras,binder,dev]\n\n      - name: Run example notebooks\n        run: build_tools/run_examples.sh false\n        shell: bash\n\n      - name: Save new cache\n        uses: actions/cache/save@v4\n        with:\n          path: ${{ github.workspace }}/.numba_cache\n          # Save cache with the current date (ENV set in numba_cache action)\n          key: numba-run-notebook-examples-${{ runner.os }}-3.10-${{ env.CURRENT_DATE }}\n\n  test-no-soft-deps:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Use numba cache to set env variables but not restore cache\n        uses: ./.github/actions/numba_cache\n        with:\n          cache_name: \"test-no-soft-deps\"\n          runner_os: ${{ runner.os }}\n          python_version: \"3.10\"\n          restore_cache: \"false\"\n\n      - name: Install aeon and dependencies\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 30\n          max_attempts: 3\n          command: python -m pip install .[dev]\n\n      - name: Show dependencies\n        run: python -m pip list\n\n      - name: Run tests\n        run: python -m pytest -n logical\n\n      - name: Save new cache\n        uses: actions/cache/save@v4\n        with:\n          path: ${{ github.workspace }}/.numba_cache\n          # Save cache with the current date (ENV set in numba_cache action)\n          key: numba-test-no-soft-deps-${{ runner.os }}-3.10-${{ env.CURRENT_DATE }}\n\n  pytest:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-20.04, macOS-13, windows-2022 ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Use numba cache to set env variables but not restore cache\n        uses: ./.github/actions/numba_cache\n        with:\n          cache_name: \"pytest\"\n          runner_os: ${{ runner.os }}\n          python_version: ${{ matrix.python-version }}\n          restore_cache: \"false\"\n\n      - name: Install aeon and dependencies\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 30\n          max_attempts: 3\n          command: python -m pip install .[all_extras,dev]\n\n      - name: Show dependencies\n        run: python -m pip list\n\n      - name: Run tests\n        run: python -m pytest -n logical\n\n      - name: Save new cache\n        uses: actions/cache/save@v4\n        with:\n          path: ${{ github.workspace }}/.numba_cache\n          # Save cache with the current date (ENV set in numba_cache action)\n          key: numba-pytest-${{ runner.os }}-${{ matrix.python-version}}-${{ env.CURRENT_DATE }}\n\n  codecov:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Disable Numba JIT\n        run: echo \"NUMBA_DISABLE_JIT=1\" >> $GITHUB_ENV\n\n      - name: Install aeon and dependencies\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 30\n          max_attempts: 3\n          command: python -m pip install .[all_extras,unstable_extras,dev]\n\n      - name: Show dependencies\n        run: python -m pip list\n\n      - name: Run tests\n        run: python -m pytest -n logical --cov=aeon --cov-report=xml --timeout 1800\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:15.975719", "created_at": "2023-08-03T14:23:32+02:00", "updated_at": "2024-01-15T14:29:25+01:00", "name": "PR Examples", "path": ".github/workflows/pr_examples.yml", "contents": "name: PR Examples\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"examples/**\"\n      - \"aeon/**\"\n      - \".github/workflows/**\"\n      - \"pyproject.toml\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  run-notebook-examples:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Restore numba cache\n        uses: ./.github/actions/numba_cache\n        with:\n          cache_name: \"run-notebook-examples\"\n          runner_os: ${{ runner.os }}\n          python_version: \"3.10\"\n\n      - name: Install aeon and dependencies\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 30\n          max_attempts: 3\n          command: python -m pip install .[all_extras,binder,dev]\n\n      - name: Run example notebooks\n        run: build_tools/run_examples.sh ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'full examples run') }}\n        shell: bash\n", "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:17.001295", "created_at": "2023-08-03T14:23:32+02:00", "updated_at": "2024-01-15T14:29:25+01:00", "name": "PR pytest", "path": ".github/workflows/pr_pytest.yml", "contents": "name: PR pytest\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"aeon/**\"\n      - \".github/workflows/**\"\n      - \"pyproject.toml\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test-no-soft-deps:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Restore numba cache\n        uses: ./.github/actions/numba_cache\n        with:\n          cache_name: \"test-no-soft-deps\"\n          runner_os: ${{ runner.os }}\n          python_version: \"3.10\"\n\n      - name: Install aeon and dependencies\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 30\n          max_attempts: 3\n          command: python -m pip install .[dev]\n\n      - name: Show dependencies\n        run: python -m pip list\n\n      - name: Run tests\n        run: python -m pytest -n logical -k 'not TestAll'\n\n  pytest:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-20.04, macOS-13, windows-2022 ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\" ]\n        # skip python versions unless the PR has the 'full pytest actions' label\n        pr-testing:\n          - ${{ (github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'full pytest actions')) }}\n        exclude:\n          - pr-testing: true\n            python-version: \"3.9\"\n          - pr-testing: true\n            python-version: \"3.11\"\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Restore numba cache\n        uses: ./.github/actions/numba_cache\n        with:\n          cache_name: \"pytest\"\n          runner_os: ${{ runner.os }}\n          python_version: ${{ matrix.python-version }}\n\n      - name: Install aeon and dependencies\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 30\n          max_attempts: 3\n          command: python -m pip install .[all_extras,dev]\n\n      - name: Show dependencies\n        run: python -m pip list\n\n      - name: Run tests\n        # run the full test suit if a PR has the 'full pytest actions' label\n        run: python -m pytest -n logical --prtesting ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'full pytest actions') }}\n\n  codecov:\n    # run the code coverage job if a PR has the 'codecov actions' label\n    if: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'codecov actions') }}\n\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Disable Numba JIT\n        run: echo \"NUMBA_DISABLE_JIT=1\" >> $GITHUB_ENV\n\n      - name: Install aeon and dependencies\n        uses: nick-fields/retry@v3\n        with:\n          timeout_minutes: 30\n          max_attempts: 3\n          command: python -m pip install .[all_extras,unstable_extras,dev]\n\n      - name: Show dependencies\n        run: python -m pip list\n\n      - name: Run tests\n        run: python -m pytest -n logical --cov=aeon --cov-report=xml --timeout 1800\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:18.130219", "created_at": "2023-10-12T15:48:39+02:00", "updated_at": "2023-10-16T17:46:41+02:00", "name": "PR pre-commit", "path": ".github/workflows/pr_precommit.yml", "contents": "name: PR pre-commit\n\non:\n  pull_request_target:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Create app token\n        uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.PR_APP_ID }}\n          private-key: ${{ secrets.PR_APP_KEY }}\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n          token: ${{ steps.app-token.outputs.token }}\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Get changed files\n        uses: tj-actions/changed-files@v44\n        id: changed-files\n\n      - name: List changed files\n        run: echo '${{ steps.changed-files.outputs.all_changed_files }}'\n\n      - if: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'full pre-commit') }}\n        name: Full pre-commit\n        uses: pre-commit/action@v3.0.1\n        with:\n          extra_args: --all-files\n      - if: ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'full pre-commit') }}\n        name: Local pre-commit\n        uses: pre-commit/action@v3.0.1\n        with:\n          extra_args: --files ${{ steps.changed-files.outputs.all_changed_files }}\n\n      - if: ${{ failure() && github.event_name == 'pull_request' && github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'stop pre-commit fixes')}}\n        name: Push pre-commit fixes\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: Automatic `pre-commit` fixes\n          commit_user_name: aeon-actions-bot[bot]\n", "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:19.355037", "created_at": "2023-10-12T23:53:26+02:00", "updated_at": "2023-10-16T17:21:27+02:00", "name": "PR Opened", "path": ".github/workflows/pr_opened.yml", "contents": "name: PR Opened\n\non:\n  pull_request_target:\n    types: [opened]\n\npermissions:\n  contents: read\n  pull-requests: write\n  issues: write\n\njobs:\n  # based on the scikit-learn 1.3.1 PR labelers\n  labeler:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          sparse-checkout: build_tools\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install PyGithub\n        run: pip install -Uq PyGithub\n\n      - name: Create app token\n        uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.PR_APP_ID }}\n          private-key: ${{ secrets.PR_APP_KEY }}\n\n      - name: Label pull request\n        id: label-pr\n        run: python build_tools/pr_labeler.py\n        env:\n          CONTEXT_GITHUB: ${{ toJson(github) }}\n          GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}\n\n      - name: Write pull request comment\n        run: python build_tools/pr_open_commenter.py\n        env:\n          CONTEXT_GITHUB: ${{ toJson(github) }}\n          GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}\n          TITLE_LABELS: ${{ steps.label-pr.outputs.title-labels }}\n          TITLE_LABELS_NEW: ${{ steps.label-pr.outputs.title-labels-new }}\n          CONTENT_LABELS: ${{ steps.label-pr.outputs.content-labels }}\n          CONTENT_LABELS_STATUS: ${{ steps.label-pr.outputs.content-labels-status }}\n", "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:20.581834", "created_at": "2023-10-16T17:47:08+02:00", "updated_at": "2023-10-16T17:47:08+02:00", "name": "Update pre-commit Hooks", "path": ".github/workflows/precommit_autoupdate.yml", "contents": "name: Update pre-commit Hooks\n\non:\n  schedule:\n    # every Monday at 12:30 AM UTC\n    - cron:  \"30 0 * * 1\"\n  workflow_dispatch:\n\njobs:\n  pre-commit-auto-update:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - uses: browniebroke/pre-commit-autoupdate-action@v1\n\n      - if: always()\n        name: Create app token\n        uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.PR_APP_ID }}\n          private-key: ${{ secrets.PR_APP_KEY }}\n\n      - if: always()\n        uses: peter-evans/create-pull-request@v6\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          commit-message: \"Automated `pre-commit` hook update\"\n          branch: pre-commit-hooks-update\n          title: \"[MNT] Automated `pre-commit` hook update\"\n          body: \"Automated weekly update to `.pre-commit-config.yaml` hook versions.\"\n          labels: maintenance, full pre-commit, no changelog\n", "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:21.679633", "created_at": "2023-11-13T12:45:15+01:00", "updated_at": "2023-11-13T12:52:37+01:00", "name": "Dependabot Validation", "path": ".github/workflows/check_dependabot.yml", "contents": null, "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:22.743511", "created_at": "2024-05-17T14:11:21+02:00", "updated_at": "2024-05-17T14:11:21+02:00", "name": "GitHub Maintenance", "path": ".github/workflows/periodic_github_maintenace.yml", "contents": "name: GitHub Maintenance\n\non:\n  schedule:\n    # every Monday at 01:00 AM UTC\n    - cron:  \"0 1 * * 1\"\n  workflow_dispatch:\n\npermissions:\n  issues: write\n  contents: write\n\njobs:\n  stale_branches:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Create app token\n        uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.PR_APP_ID }}\n          private-key: ${{ secrets.PR_APP_KEY }}\n\n      - name: Stale Branches\n        uses: crs-k/stale-branches@v5\n        with:\n          repo-token: ${{ steps.app-token.outputs.token }}\n          days-before-stale: 140\n          days-before-delete: 175\n          comment-updates: true\n          tag-committer: true\n          stale-branch-label: \"stale branch\"\n          compare-branches: \"info\"\n          pr-check: true\n", "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:23.911348", "created_at": "2024-05-20T12:21:50+02:00", "updated_at": "2024-05-20T12:21:50+02:00", "name": "Issue Comment Posted", "path": ".github/workflows/issue_comment_posted.yml", "contents": "name: Issue Comment Posted\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  self-assign:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          sparse-checkout: build_tools\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install PyGithub\n        run: pip install -Uq PyGithub\n\n      - name: Create app token\n        uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.PR_APP_ID }}\n          private-key: ${{ secrets.PR_APP_KEY }}\n\n      - name: Assign issue\n        run: python build_tools/issue_assign.py\n        env:\n          CONTEXT_GITHUB: ${{ toJson(github) }}\n          GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}\n", "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:24.985528", "created_at": "2024-06-13T11:37:20+02:00", "updated_at": "2024-07-09T16:57:24+02:00", "name": "Issue Comment Edited", "path": ".github/workflows/issue_comment_edited.yml", "contents": "name: Issue Comment Posted\n\non:\n  issue_comment:\n    types: [edited]\n\njobs:\n  check-pr-labels:\n    runs-on: ubuntu-20.04\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          sparse-checkout: build_tools\n\n      - name: Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install PyGithub\n        run: pip install -Uq PyGithub\n\n      - name: Create app token\n        uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.PR_APP_ID }}\n          private-key: ${{ secrets.PR_APP_KEY }}\n\n      - name: Assign issue\n        run: python build_tools/comment_pr_labeler.py\n        env:\n          CONTEXT_GITHUB: ${{ toJson(github) }}\n          GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}\n", "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:26.009649", "created_at": "2024-07-10T06:38:08+02:00", "updated_at": "2024-07-15T15:53:15+02:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": null, "state": "active", "repository": "aeon-toolkit/aeon"}
{"mined_at": "2024-07-15T18:20:28.664947", "created_at": "2023-05-07T23:39:20+02:00", "updated_at": "2024-01-26T06:38:51+01:00", "name": "ci-cd-base", "path": ".github/workflows/base.yml", "contents": "name: ci-cd-base\n\non:\n  workflow_dispatch:\n\njobs:\n  build-base:\n    if: github.repository_owner == 'OpenAccess-AI-Collective'\n    # this job needs to be run on self-hosted GPU runners...\n    runs-on: axolotl-gpu-runner\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - cuda: \"118\"\n            cuda_version: 11.8.0\n            python_version: \"3.10\"\n            pytorch: 2.1.2\n            torch_cuda_arch_list: \"7.0 7.5 8.0 8.6 8.7 8.9 9.0+PTX\"\n          - cuda: \"121\"\n            cuda_version: 12.1.0\n            python_version: \"3.10\"\n            pytorch: 2.1.2\n            torch_cuda_arch_list: \"7.0 7.5 8.0 8.6 8.7 8.9 9.0+PTX\"\n          - cuda: \"121\"\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.1.2\n            torch_cuda_arch_list: \"7.0 7.5 8.0 8.6 8.7 8.9 9.0+PTX\"\n          - cuda: \"121\"\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.2.2\n            torch_cuda_arch_list: \"7.0 7.5 8.0 8.6 8.7 8.9 9.0+PTX\"\n          - cuda: \"121\"\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.3.0\n            torch_cuda_arch_list: \"7.0 7.5 8.0 8.6 8.7 8.9 9.0+PTX\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Docker metadata\n        id: metadata\n        uses: docker/metadata-action@v3\n        with:\n          images: winglian/axolotl-base\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: ./docker/Dockerfile-base\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.metadata.outputs.tags }}-base-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}\n          labels: ${{ steps.metadata.outputs.labels }}\n          build-args: |\n            CUDA_VERSION=${{ matrix.cuda_version }}\n            CUDA=${{ matrix.cuda }}\n            PYTHON_VERSION=${{ matrix.python_version }}\n            PYTORCH_VERSION=${{ matrix.pytorch }}\n            TORCH_CUDA_ARCH_LIST=${{ matrix.torch_cuda_arch_list }}\n", "state": "active", "repository": "OpenAccess-AI-Collective/axolotl"}
{"mined_at": "2024-07-15T18:20:29.873638", "created_at": "2024-04-21T23:50:57+02:00", "updated_at": "2024-04-21T23:50:57+02:00", "name": "beta-docker-images", "path": ".github/workflows/beta.yml", "contents": null, "state": "active", "repository": "OpenAccess-AI-Collective/axolotl"}
{"mined_at": "2024-07-15T18:20:31.231679", "created_at": "2024-03-22T06:28:37+01:00", "updated_at": "2024-03-22T06:28:37+01:00", "name": "Publish Docs", "path": ".github/workflows/docs.yml", "contents": "name: Publish Docs\non:\n  push:\n    branches:\n      - main\n\npermissions:\n    contents: write\n    pages: write\n\njobs:\n    build-deploy:\n        runs-on: ubuntu-latest\n        steps:\n        - name: Check out repository\n          uses: actions/checkout@v4\n        - name: Set up Quarto\n          uses: quarto-dev/quarto-actions/setup@v2\n        - name: Setup Python\n          uses: actions/setup-python@v3\n          with:\n            python-version: '3.10'\n        - name: install dependencies\n          run: |\n            python3 -m pip install jupyter\n        - name: Publish to GitHub Pages (and render)\n          uses: quarto-dev/quarto-actions/publish@v2\n          with:\n            target: gh-pages\n          env:\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "OpenAccess-AI-Collective/axolotl"}
{"mined_at": "2024-07-15T18:20:32.558568", "created_at": "2024-01-12T14:39:16+01:00", "updated_at": "2024-01-12T14:51:36+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\non:\n  # check on PRs, and manual triggers\n  pull_request:\n      paths:\n       - '**.py'\n       - 'requirements.txt'\n       - '.github/workflows/*.yml'\n       - \"*.md\"\n       - \"examples/**/*.y[a]?ml\"\n  workflow_dispatch:\n\njobs:\n  pre-commit:\n    name: pre-commit\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: 'pip' # caching pip dependencies\n      - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "OpenAccess-AI-Collective/axolotl"}
{"mined_at": "2024-07-15T18:20:33.999674", "created_at": "2023-05-07T08:52:07+02:00", "updated_at": "2023-05-07T17:25:17+02:00", "name": "ci-cd", "path": ".github/workflows/main.yml", "contents": "name: ci-cd\n\non:\n  push:\n    branches:\n      - \"main\"\n  workflow_dispatch:\n\njobs:\n  build-axolotl:\n    if: ${{ ! contains(github.event.commits[0].message, '[skip docker]]') && github.repository_owner == 'OpenAccess-AI-Collective' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - cuda: 118\n            cuda_version: 11.8.0\n            python_version: \"3.10\"\n            pytorch: 2.1.2\n            axolotl_extras:\n            axolotl_args: \"--extra-index-url https://download.pytorch.org/whl/cu118\"\n            is_latest: true\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.10\"\n            pytorch: 2.1.2\n            axolotl_extras:\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.2.2\n            axolotl_extras:\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.3.0\n            axolotl_extras:\n    runs-on: axolotl-gpu-runner\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Docker metadata\n        id: metadata\n        uses: docker/metadata-action@v5\n        with:\n          images: winglian/axolotl\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      # guidance for testing before pushing: https://docs.docker.com/build/ci/github-actions/test-before-push/\n      - name: Build and export to Docker\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          build-args: |\n            BASE_TAG=${{ github.ref_name }}-base-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}\n            CUDA=${{ matrix.cuda }}\n            PYTORCH_VERSION=${{ matrix.pytorch }}\n            AXOLOTL_ARGS=${{ matrix.axolotl_args }}\n          file: ./docker/Dockerfile\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: |\n            ${{ steps.metadata.outputs.tags }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}\n            ${{ (matrix.is_latest) && format('{0}-latest', steps.metadata.outputs.tags) || '' }}\n          labels: ${{ steps.metadata.outputs.labels }}\n\n  build-axolotl-cloud:\n    needs: build-axolotl\n    if: ${{ ! contains(github.event.commits[0].message, '[skip docker]]') && github.repository_owner == 'OpenAccess-AI-Collective' }}\n    # this job needs to be run on self-hosted GPU runners...\n    strategy:\n      matrix:\n        include:\n          - cuda: 118\n            cuda_version: 11.8.0\n            python_version: \"3.10\"\n            pytorch: 2.1.2\n            axolotl_extras:\n            is_latest: true\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.10\"\n            pytorch: 2.1.2\n            axolotl_extras:\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.2.2\n            axolotl_extras:\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.3.0\n            axolotl_extras:\n    runs-on: axolotl-gpu-runner\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Docker metadata\n        id: metadata\n        uses: docker/metadata-action@v5\n        with:\n          images: winglian/axolotl-cloud\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          build-args: |\n            BASE_TAG=${{ github.ref_name }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}\n            CUDA=${{ matrix.cuda }}\n          file: ./docker/Dockerfile-cloud\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: |\n             ${{ steps.metadata.outputs.tags }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}\n             ${{ (matrix.is_latest) && format('{0}-latest', steps.metadata.outputs.tags) || '' }}\n          labels: ${{ steps.metadata.outputs.labels }}\n\n  build-axolotl-cloud-no-tmux:\n    needs: build-axolotl\n    if: ${{ ! contains(github.event.commits[0].message, '[skip docker]]') && github.repository_owner == 'OpenAccess-AI-Collective' }}\n    # this job needs to be run on self-hosted GPU runners...\n    strategy:\n      matrix:\n        include:\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.3.0\n            axolotl_extras:\n    runs-on: axolotl-gpu-runner\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Docker metadata\n        id: metadata\n        uses: docker/metadata-action@v5\n        with:\n          images: winglian/axolotl-cloud-term\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          build-args: |\n            BASE_TAG=${{ github.ref_name }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}\n            CUDA=${{ matrix.cuda }}\n          file: ./docker/Dockerfile-cloud-no-tmux\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: |\n             ${{ steps.metadata.outputs.tags }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}\n             ${{ (matrix.is_latest) && format('{0}-latest', steps.metadata.outputs.tags) || '' }}\n          labels: ${{ steps.metadata.outputs.labels }}\n", "state": "active", "repository": "OpenAccess-AI-Collective/axolotl"}
{"mined_at": "2024-07-15T18:20:35.360393", "created_at": "2024-03-29T13:25:46+01:00", "updated_at": "2024-03-29T13:25:46+01:00", "name": "docker-nightlies", "path": ".github/workflows/nightlies.yml", "contents": "name: docker-nightlies\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * *'  # Runs at 00:00 UTC every day\n\njobs:\n  build-axolotl:\n    if: ${{ ! contains(github.event.commits[0].message, '[skip docker]]') && github.repository_owner == 'OpenAccess-AI-Collective' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - cuda: 118\n            cuda_version: 11.8.0\n            python_version: \"3.10\"\n            pytorch: 2.1.2\n            axolotl_extras:\n            axolotl_args: \"--extra-index-url https://download.pytorch.org/whl/cu118\"\n            is_latest: true\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.10\"\n            pytorch: 2.1.2\n            axolotl_extras:\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.2.2\n            axolotl_extras:\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.3.0\n            axolotl_extras:\n    runs-on: axolotl-gpu-runner\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Docker metadata\n        id: metadata\n        uses: docker/metadata-action@v5\n        with:\n          images: winglian/axolotl\n          tags: |\n            type=raw,value={{ branch }}-{{ date 'YYYYMMDD' }}\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      # guidance for testing before pushing: https://docs.docker.com/build/ci/github-actions/test-before-push/\n      - name: Build and export to Docker\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          build-args: |\n            BASE_TAG=${{ github.ref_name }}-base-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}\n            CUDA=${{ matrix.cuda }}\n            PYTORCH_VERSION=${{ matrix.pytorch }}\n            AXOLOTL_ARGS=${{ matrix.axolotl_args }}\n          file: ./docker/Dockerfile\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: |\n            ${{ steps.metadata.outputs.tags }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}\n          labels: ${{ steps.metadata.outputs.labels }}\n\n  build-axolotl-cloud:\n    needs: build-axolotl\n    if: ${{ ! contains(github.event.commits[0].message, '[skip docker]]') && github.repository_owner == 'OpenAccess-AI-Collective' }}\n    # this job needs to be run on self-hosted GPU runners...\n    strategy:\n      matrix:\n        include:\n          - cuda: 118\n            cuda_version: 11.8.0\n            python_version: \"3.10\"\n            pytorch: 2.1.2\n            axolotl_extras:\n            is_latest: true\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.10\"\n            pytorch: 2.1.2\n            axolotl_extras:\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.2.2\n            axolotl_extras:\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.3.0\n            axolotl_extras:\n    runs-on: axolotl-gpu-runner\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Docker metadata\n        id: metadata\n        uses: docker/metadata-action@v5\n        with:\n          images: winglian/axolotl-cloud\n          tags: |\n            type=raw,value={{ branch }}-{{ date 'YYYYMMDD' }}\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          build-args: |\n            BASE_TAG=${{ github.ref_name }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}\n            CUDA=${{ matrix.cuda }}\n          file: ./docker/Dockerfile-cloud\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: |\n             ${{ steps.metadata.outputs.tags }}-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}${{ matrix.axolotl_extras != '' && '-' || '' }}${{ matrix.axolotl_extras }}\n          labels: ${{ steps.metadata.outputs.labels }}\n", "state": "active", "repository": "OpenAccess-AI-Collective/axolotl"}
{"mined_at": "2024-07-15T18:20:36.640127", "created_at": "2023-05-28T18:20:16+02:00", "updated_at": "2023-09-15T07:15:31+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "OpenAccess-AI-Collective/axolotl"}
{"mined_at": "2024-07-15T18:20:38.019114", "created_at": "2023-09-11T15:44:49+02:00", "updated_at": "2023-09-11T15:44:49+02:00", "name": "publish pypi", "path": ".github/workflows/pypi.yml", "contents": "name: publish pypi\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  pypi-publish:\n    name: Upload release to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/axolotl\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        run: |\n          pip3 install wheel packaging\n          pip3 install -e .\n          pip3 install -r requirements-tests.txt\n\n      - name: Extract tag name\n        id: tag\n        run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)\n\n      - name: Update version in setup.py\n        run: |\n          sed -i -E 's/version=\"([0-9.]+)\",/version=\"${{ steps.tag.outputs.TAG_NAME }}\",/g' setup.py\n\n      - name: Build a binary wheel\n        run: |\n          python setup.py sdist bdist_wheel\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "OpenAccess-AI-Collective/axolotl"}
{"mined_at": "2024-07-15T18:20:39.260637", "created_at": "2023-05-27T17:51:13+02:00", "updated_at": "2023-10-23T22:45:47+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\non:\n  # check on push/merge to main, PRs, and manual triggers\n  push:\n    branches:\n      - \"main\"\n    paths:\n      - '**.py'\n      - 'requirements.txt'\n      - '.github/workflows/*.yml'\n  pull_request:\n      paths:\n       - '**.py'\n       - 'requirements.txt'\n       - '.github/workflows/*.yml'\n  workflow_dispatch:\n\njobs:\n  pre-commit:\n    name: pre-commit\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: 'pip' # caching pip dependencies\n      - uses: pre-commit/action@v3.0.0\n\n  pytest:\n    name: PyTest\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version: [\"3.10\", \"3.11\"]\n    timeout-minutes: 20\n\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python_version }}\n          cache: 'pip' # caching pip dependencies\n\n      - name: Install dependencies\n        run: |\n          pip3 install --upgrade pip\n          pip3 install --upgrade packaging\n          pip3 install -U -e .\n          pip3 install -r requirements-tests.txt\n\n      - name: Run tests\n        run: |\n          pytest --ignore=tests/e2e/ tests/\n\n  docker-e2e-tests:\n    if: github.repository_owner == 'OpenAccess-AI-Collective'\n    # this job needs to be run on self-hosted GPU runners...\n    runs-on: [self-hosted, modal]\n    timeout-minutes: 60\n    needs: [pre-commit, pytest]\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - cuda: 118\n            cuda_version: 11.8.0\n            python_version: \"3.10\"\n            pytorch: 2.1.2\n            axolotl_args: \"--extra-index-url https://download.pytorch.org/whl/cu118\"\n            num_gpus: 1\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.10\"\n            pytorch: 2.1.2\n            num_gpus: 1\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.2.2\n            num_gpus: 1\n          - cuda: 121\n            cuda_version: 12.1.0\n            python_version: \"3.11\"\n            pytorch: 2.3.0\n            num_gpus: 1\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install Modal\n        run: |\n          python -m pip install --upgrade pip\n          pip install modal jinja2\n      - name: Update env vars\n        run: |\n          echo \"BASE_TAG=main-base-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}\" >> $GITHUB_ENV\n          echo \"PYTORCH_VERSION=${{ matrix.pytorch}}\" >> $GITHUB_ENV\n          echo \"AXOLOTL_ARGS=${{ matrix.axolotl_args}}\" >> $GITHUB_ENV\n          echo \"CUDA=${{ matrix.cuda }}\" >> $GITHUB_ENV\n          echo \"N_GPUS=${{ matrix.num_gpus }}\" >> $GITHUB_ENV\n      - name: Run tests job on Modal\n        run: |\n          modal run cicd.tests\n", "state": "active", "repository": "OpenAccess-AI-Collective/axolotl"}
{"mined_at": "2024-07-15T18:20:40.539732", "created_at": "2024-03-22T07:27:12+01:00", "updated_at": "2024-03-22T07:27:12+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "OpenAccess-AI-Collective/axolotl"}
{"mined_at": "2024-07-15T18:20:42.701870", "created_at": "2023-08-15T23:46:34+02:00", "updated_at": "2023-08-16T16:20:46+02:00", "name": "Docker Publish", "path": ".github/workflows/docker-publish.yml", "contents": "name: Docker Publish\n\non:\n  push:\n    paths:\n      - \"langroid/**\"\n    branches:\n      - main\n\njobs:\n  build_amd64:\n    name: Build Docker image for amd64\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v2\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push amd64\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          push: true\n          platforms: linux/amd64\n          tags: langroid/langroid:latest-amd64\n\n  build_arm64:\n    name: Build Docker image for arm64\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v2\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v1\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v1\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Build and push arm64\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          push: true\n          platforms: linux/arm64\n          tags: langroid/langroid:latest-arm64\n", "state": "active", "repository": "langroid/langroid"}
{"mined_at": "2024-07-15T18:20:43.827134", "created_at": "2023-04-28T02:49:17+02:00", "updated_at": "2023-07-18T23:10:46+02:00", "name": "Doc pages", "path": ".github/workflows/mkdocs-deploy.yml", "contents": "name: Doc pages\n\non:\n  push:\n    paths:\n      - \"docs/**\"\n      - \"mkdocs.yml\"\n      - \".github/workflows/mkdocs-deploy.yml\"\n    branches:\n      - main\n      - simpler_doc_linking\n\npermissions:\n  contents: write\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11  # Replace with your desired Python version\n\n      - name: Install Poetry\n        uses: Gr1N/setup-poetry@v8\n\n      - name: Install Poetry dependencies\n        run: |\n          poetry --version\n          echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n          python -m pip install --upgrade pip\n          \n          poetry install --only docs\n\n      - name: Build MkDocs documentation\n        # change this to -b gh-pages when ready to make docs public\n        run: poetry run mkdocs gh-deploy -b gh-pages --force\n\n\n#      - name: Deploy to GitHub Pages\n#        uses: peaceiris/actions-gh-pages@v3\n#        with:\n#          deploy_key: ${{ secrets.GITHUB_TOKEN }}\n#          publish_branch: gh-pages\n#          publish_dir: ./site\n", "state": "active", "repository": "langroid/langroid"}
{"mined_at": "2024-07-15T18:20:44.957303", "created_at": "2023-04-30T03:26:11+02:00", "updated_at": "2024-06-20T20:50:07+02:00", "name": "Pytest", "path": ".github/workflows/pytest.yml", "contents": "name: Pytest\n\non:\n  push:\n    paths:\n      - \"langroid/**\"\n      - \"tests/**\"\n      - \".github/workflows/pytest.yml\"\n    branches:\n      - main  # Replace with your default branch name \n  pull_request:\n    branches:\n      - main  # Replace with your default branch name\n\njobs:\n  cancel:\n    if: \"contains(github.event.head_commit.message, 'notest') == false\"\n    name: Cancel Previous Runs\n    runs-on: ubuntu-latest\n    timeout-minutes: 3\n    steps:\n      - name: Cancel Previous Workflow Runs\n        uses: styfle/cancel-workflow-action@0.9.1\n        with:\n          access_token: ${{ github.token }}\n  pytest:\n    if: \"contains(github.event.head_commit.message, 'notest') == false\"    \n    runs-on: ubuntu-latest\n    services:\n      meilisearch:\n        image: getmeili/meilisearch:latest\n        ports:\n          - 7700:7700\n        options: --env MEILI_MASTER_KEY=masterKey\n      neo4j:\n        image: neo4j:latest\n        ports:\n          - 7474:7474 # HTTP\n          - 7687:7687 # Bolt\n        env:\n          options: --env NEO4J_AUTH=neo4j/password\n    env:\n      CI: true # allows conditional skipping of tests based on this env var\n      OPENAI_API_KEY: ${{ secrets.OPENAI_KEY }}\n      GITHUB_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}\n      REDIS_PASSWORD: ${{ secrets.REDIS_PASSWORD }}\n      REDIS_HOST: ${{ secrets.REDIS_HOST }}\n      REDIS_PORT: ${{ secrets.REDIS_PORT }}\n      MOMENTO_AUTH_TOKEN: ${{ secrets.MOMENTO_AUTH_TOKEN }}\n      MOMENTO_API_KEY: ${{ secrets.MOMENTO_API_KEY }}\n      QDRANT_API_KEY: ${{ secrets.QDRANT_API_KEY }}\n      QDRANT_API_URL: ${{ secrets.QDRANT_API_URL }}\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}\n      GOOGLE_CSE_ID: ${{ secrets.GOOGLE_CSE_ID }}\n\n      # Azure OpenAI env vars\n      AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}\n      AZURE_OPENAI_API_BASE: ${{ secrets.AZURE_OPENAI_API_BASE }}\n      AZURE_OPENAI_API_VERSION: \"2023-05-15\"\n      AZURE_OPENAI_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_DEPLOYMENT_NAME }}\n      AZURE_OPENAI_MODEL_NAME: ${{ secrets.AZURE_GPT_MODEL_NAME }} \n      AZURE_OPENAI_MODEL_VERSION: ${{ secrets.AZURE_OPENAI_MODEL_VERSION }}\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n    - name: Increase ulimit\n      run: ulimit -n 4096\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.11  # Replace with your desired Python version\n\n    - name: Install dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libmagic1\n        sudo apt-get install -y poppler-utils tesseract-ocr\n\n    - name: Install Poetry\n      uses: Gr1N/setup-poetry@v8\n\n    - name: Install Poetry dependencies\n      run: |\n        poetry --version\n        echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n        python -m pip install --upgrade pip\n        \n        poetry install \\\n          -E \"lancedb momento meilisearch chromadb hf-embeddings unstructured pdf-parsers docx sql\" \\\n          --with dev\n\n    - name: Dump dependencies to file\n      run: pip freeze > requirements_github.txt\n\n    - name: Upload dependencies file\n      uses: actions/upload-artifact@v3\n      with:\n        name: github-dependencies\n        path: requirements_github.txt\n\n    - name: Run ALL tests with coverage (GPT-4o)\n      id: first_test\n      env:\n        PYTEST_ADDOPTS: \"-p no:logging\"\n      run: |\n        poetry run coverage run --source=langroid \\\n          -m pytest -rf --tb=no --show-capture=no \\\n          --first-test-file=tests/main/test_task_inf_loop.py \\\n          --first-test-file=tests/main/test_task.py \\\n          --first-test-file=tests/main/test_lance_doc_chat_agent.py \\\n          --first-test-file=tests/main/test_llm.py \\\n          --first-test-file=tests/main/test_llm_async.py \\\n          tests/main tests/extras/test_hf_embeddings.py\n      continue-on-error: true\n\n\n    - name: Retry FAILED tests ONLY with gpt-4 instead of gpt-4o (no coverage)\n      id: second_test\n      if: steps.first_test.outcome == 'failure'\n      env:\n        PYTEST_ADDOPTS: \"-p no:logging\"\n      run: |\n        poetry run coverage run --append --source=langroid \\\n          -m pytest --m gpt-4  -rf --tb=no --show-capture=no \\\n          --first-test-file=tests/main/test_task_inf_loop.py \\\n          --first-test-file=tests/main/test_task.py \\\n          --first-test-file=tests/main/test_lance_doc_chat_agent.py \\\n          --first-test-file=tests/main/test_llm.py \\\n          --first-test-file=tests/main/test_llm_async.py \\\n          --lf --last-failed-no-failures none \\\n          tests/main tests/extras/test_hf_embeddings.py\n      continue-on-error: true\n\n    - name: Install Pydantic 1.x to pass lancedb tests\n      run: poetry add \"pydantic<2.0.0\"\n    - name: Retry FAILED tests ONLY with pydantic 1.x, gpt-4\n      if: steps.second_test.outcome == 'failure'\n      run: |\n        poetry run coverage run --append --source=langroid \\\n          -m pytest --m gpt-4 \\\n          --first-test-file=tests/main/test_task_inf_loop.py \\\n          --first-test-file=tests/main/test_task.py \\\n          --first-test-file=tests/main/test_lance_doc_chat_agent.py \\\n          --first-test-file=tests/main/test_llm.py \\\n          --first-test-file=tests/main/test_llm_async.py \\\n          --lf --last-failed-no-failures none \\\n          tests/main tests/extras/test_hf_embeddings.py\n\n    - name: Generate final coverage report from all runs\n      run: poetry run coverage report\n\n    - name: Generate XML coverage report\n      run: poetry run coverage xml\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v2\n      with:\n        file: ./coverage.xml\n        flags: unittests\n        name: codecov-umbrella\n        fail_ci_if_error: false\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n", "state": "active", "repository": "langroid/langroid"}
{"mined_at": "2024-07-15T18:20:46.060868", "created_at": "2023-04-27T23:01:51+02:00", "updated_at": "2023-06-02T20:40:59+02:00", "name": "Lint", "path": ".github/workflows/validate.yml", "contents": "name: Lint\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11  # Replace with your desired Python version\n\n      - name: Install Poetry\n        uses: Gr1N/setup-poetry@v8\n\n      - name: Install Poetry dependencies\n        run: |\n          poetry --version\n          echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n          python -m pip install --upgrade pip\n          \n          poetry install\n\n      - name: Run black\n        run: |\n          poetry run black --check .\n\n      - name: Install ruff\n        uses: chartboost/ruff-action@v1\n\n      - name: Run mypy\n        run: |\n          poetry run mypy -p langroid\n\n  # Any additional jobs...\n", "state": "active", "repository": "langroid/langroid"}
{"mined_at": "2024-07-15T18:20:47.067918", "created_at": "2023-04-17T01:32:24+02:00", "updated_at": "2023-04-17T01:32:24+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "langroid/langroid"}
{"mined_at": "2024-07-15T18:20:49.254635", "created_at": "2023-04-04T18:01:04+02:00", "updated_at": "2023-05-26T14:07:17+02:00", "name": "Codacy Security Scan", "path": ".github/workflows/codacy.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# This workflow checks out code, performs a Codacy security scan\n# and integrates the results with the\n# GitHub Advanced Security code scanning feature.  For more information on\n# the Codacy security scan action usage and parameters, see\n# https://github.com/codacy/codacy-analysis-cli-action.\n# For more information on Codacy Analysis CLI in general, see\n# https://github.com/codacy/codacy-analysis-cli.\n\nname: Codacy Security Scan\n\non:\n  push:\n    branches: [development, master]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [development]\n  schedule:\n    - cron: \"38 5 * * 3\"\n\npermissions:\n  contents: read\n\njobs:\n  codacy-security-scan:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n    name: Codacy Security Scan\n    runs-on: ubuntu-latest\n    steps:\n      # Checkout the repository to the GitHub Actions runner\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis\n      - name: Run Codacy Analysis CLI\n        uses: codacy/codacy-analysis-cli-action@v4.4.1\n        with:\n          # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository\n          # You can also omit the token and run the tools that support default configurations\n          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}\n          verbose: true\n          output: results.sarif\n          format: sarif\n          # Adjust severity of non-security issues\n          gh-code-scanning-compat: true\n          # Force 0 exit code to allow SARIF file generation\n          # This will handover control about PR rejection to the GitHub side\n          max-allowed-issues: 2147483647\n\n      # Upload the SARIF file generated in the previous step\n      - name: Upload SARIF results file\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "didx-xyz/aries-cloudapi-python"}
{"mined_at": "2024-07-15T18:20:50.485286", "created_at": "2023-04-04T18:07:42+02:00", "updated_at": "2023-05-26T12:56:47+02:00", "name": "SonarCloud analysis", "path": ".github/workflows/sonarcloud.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# This workflow helps you trigger a SonarCloud analysis of your code and populates\n# GitHub Code Scanning alerts with the vulnerabilities found.\n# Free for open source project.\n\n# 1. Login to SonarCloud.io using your GitHub account\n\n# 2. Import your project on SonarCloud\n#     * Add your GitHub organization first, then add your repository as a new project.\n#     * Please note that many languages are eligible for automatic analysis,\n#       which means that the analysis will start automatically without the need to set up GitHub Actions.\n#     * This behavior can be changed in Administration > Analysis Method.\n#\n# 3. Follow the SonarCloud in-product tutorial\n#     * a. Copy/paste the Project Key and the Organization Key into the args parameter below\n#          (You'll find this information in SonarCloud. Click on \"Information\" at the bottom left)\n#\n#     * b. Generate a new token and add it to your Github repository's secrets using the name SONAR_TOKEN\n#          (On SonarCloud, click on your avatar on top-right > My account > Security\n#           or go directly to https://sonarcloud.io/account/security/)\n\n# Feel free to take a look at our documentation (https://docs.sonarcloud.io/getting-started/github/)\n# or reach out to our community forum if you need some help (https://community.sonarsource.com/c/help/sc/9)\n\nname: SonarCloud analysis\n\non:\n  push:\n    branches: [development, master]\n  pull_request:\n    branches: [development]\n  workflow_dispatch:\n\npermissions:\n  pull-requests: read # allows SonarCloud to decorate PRs with analysis results\n\njobs:\n  Analysis:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Analyze with SonarCloud\n\n        uses: SonarSource/sonarcloud-github-action@v2.3.0\n        env:\n          GITHUB_TOKEN: ${{ github.token }} # Needed to get PR information\n          SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)\n        with:\n          # Additional arguments for the sonarcloud scanner\n          args:\n            # Unique keys of your project and organization. You can find them in SonarCloud > Information (bottom-left menu)\n            # mandatory\n            -Dsonar.projectKey=didx-xyz_aries-cloudapi-python\n            -Dsonar.organization=didx-xyz\n            # Comma-separated paths to directories containing main source files.\n            #-Dsonar.sources= # optional, default is project base directory\n            # When you need the analysis to take place in a directory other than the one from which it was launched\n            #-Dsonar.projectBaseDir= # optional, default is .\n            # Comma-separated paths to directories containing test source files.\n            #-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/\n            # Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing.\n            #-Dsonar.verbose= # optional, default is false\n", "state": "active", "repository": "didx-xyz/aries-cloudapi-python"}
{"mined_at": "2024-07-15T18:20:51.597067", "created_at": "2023-04-04T18:41:45+02:00", "updated_at": "2023-04-04T18:41:45+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "didx-xyz/aries-cloudapi-python"}
{"mined_at": "2024-07-15T18:20:52.618073", "created_at": "2023-04-25T16:31:46+02:00", "updated_at": "2023-12-12T15:54:06+01:00", "name": "CICD", "path": ".github/workflows/continuous-deploy.yml", "contents": "name: CICD\n\non:\n  workflow_dispatch:\n    inputs:\n      run-reset-deployments:\n        description: \"Reset deployment: Clean start\"\n        required: false\n        default: false\n        type: boolean\n      run-tests:\n        description: \"Run tests step\"\n        required: false\n        default: true\n        type: boolean\n      run-regression-tests:\n        description: \"Run regression tests step\"\n        required: false\n        default: true\n        type: boolean\n\n  push:\n    branches:\n      - \"development\"\n    tags:\n      - \"v*\"\n  pull_request:\n    branches:\n      - \"development\"\n    types:\n      - opened\n      - reopened\n      - synchronize\n      - ready_for_review\n\njobs:\n  build:\n    if: ${{ !github.event.pull_request.draft }}\n    name: Build GHCR\n    permissions:\n      id-token: write # This is required for requesting the JWT\n      packages: write # To push to GHCR.io\n    runs-on: ubuntu-latest\n\n    concurrency:\n      group: cicd-build-${{ matrix.image }}-${{ github.ref }}\n      cancel-in-progress: false\n\n    outputs:\n      image_version: ${{ steps.meta.outputs.version }}\n\n    strategy:\n      matrix:\n        image:\n          [\n            ledger-nodes,\n            ledger-browser,\n            tails-server,\n            governance-ga-agent,\n            governance-trust-registry,\n            governance-multitenant-web,\n            governance-ga-web,\n            governance-tenant-web,\n            governance-public-web,\n            governance-webhooks-web,\n            governance-multitenant-agent,\n            governance-endorser,\n            pytest,\n          ]\n        include:\n          - image: governance-ga-agent\n            context: .\n            file: dockerfiles/agents/Dockerfile.agent\n          - image: governance-trust-registry\n            context: .\n            file: dockerfiles/trustregistry/Dockerfile\n          - image: governance-multitenant-web\n            context: .\n            file: dockerfiles/fastapi/Dockerfile\n          - image: governance-ga-web\n            context: .\n            file: dockerfiles/fastapi/Dockerfile\n          - image: governance-tenant-web\n            context: .\n            file: dockerfiles/fastapi/Dockerfile\n          - image: governance-public-web\n            context: .\n            file: dockerfiles/fastapi/Dockerfile\n          - image: governance-webhooks-web\n            context: .\n            file: dockerfiles/webhooks/Dockerfile\n          - image: governance-multitenant-agent\n            context: .\n            file: dockerfiles/agents/Dockerfile.author.agent\n          - image: ledger-browser\n            context: https://github.com/bcgov/von-network.git#v1.8.0\n            file: Dockerfile\n          - image: ledger-nodes\n            context: https://github.com/bcgov/von-network.git#v1.8.0\n            file: Dockerfile\n          - image: governance-endorser\n            context: .\n            file: dockerfiles/endorser/Dockerfile\n          - image: tails-server\n            context: https://github.com/bcgov/indy-tails-server.git#v1.1.0\n            file: docker/Dockerfile.tails-server\n          - image: pytest\n            context: .\n            file: dockerfiles/tests/Dockerfile\n\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ github.token }}\n\n      - name: Docker Metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}\n          tags: |\n            type=raw,value=latest,enable=${{ github.event.repository.default_branch == github.ref_name }}\n            type=sha,prefix=pr-${{ github.event.pull_request.number }}-,priority=601,enable=${{ github.event_name == 'pull_request' }}\n            type=sha,prefix={{branch}}-,priority=601,enable=${{ github.event_name == 'push' && github.ref_type == 'branch' }}\n            type=ref,event=branch,priority=600\n            type=ref,event=pr\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n\n      - name: Build and push Docker images\n        uses: docker/build-push-action@v5\n        with:\n          context: ${{ matrix.context }}\n          file: ${{ matrix.file }}\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: |\n            type=gha,scope=build-${{ matrix.image }}\n            type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}:latest\n          cache-to: type=gha,mode=max,scope=build-${{ matrix.image }}\n\n  lint:\n    name: Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.12.3\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12.3\n          cache: pip\n      - name: Install test dependencies.\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt --upgrade\n      - name: Run Pylint\n        run: |\n          pylint app/ endorser/ shared/ trustregistry/ webhooks/ --rcfile=.pylintrc -r n --msg-template=\"{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}\" --exit-zero > pylintreport.txt\n\n  test:\n    if: github.event.pull_request.draft == false\n    name: Test\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    outputs:\n      test_success: ${{ steps.test.outputs.test_success }}\n    strategy:\n      matrix:\n        module:\n          - { test: \"app/tests/ endorser trustregistry webhooks --ignore=app/tests/e2e/\", id: \"1\" } # fast tests, ignore e2e\n          - { test: \"app/tests/e2e/issuer/\", id: \"2\" } # then some individual, slower e2e tests\n          - { test: \"app/tests/e2e/verifier/\", id: \"3\" }\n          - { test: \"app/tests/e2e/test_definitions.py app/tests/e2e/test_revocation.py\", id: \"4\" }\n          - { test: \"app/tests/e2e/ \\\n                --ignore=app/tests/e2e/issuer/ \\\n                --ignore=app/tests/e2e/verifier/ \\\n                --ignore=app/tests/e2e/test_definitions.py \\\n                --ignore=app/tests/e2e/test_revocation.py\", id: \"5\" } # all other e2e tests\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.12.3\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12.3\n          cache: pip\n      - name: Install test dependencies.\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt --upgrade\n      - uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ github.token }}\n      - name: Start Test Harness\n        run: ./manage up-as-daemon-no-build\n        shell: bash\n        env:\n          REGISTRY: ghcr.io/${{ github.repository_owner }}\n          IMAGE_TAG: ${{ needs.build.outputs.image_version }}\n      - name: Test with pytest\n        id: test\n        run: |\n          set +e\n          pytest --durations=0 ${{ matrix.module.test }} --cov | tee test_output.txt\n          EXIT_CODE=${PIPESTATUS[0]}\n          set -e\n          echo \"Exit code: $EXIT_CODE\"\n\n          mkdir -p coverage-files\n          mv .coverage coverage-files/.coverage.${{ matrix.module.id }}\n\n          # very hacky way to get around the fact that teardown fails even if tests pass\n          TEARDOWN_ERROR=false\n          SINGLE_ERROR=false\n          TEST_FAILURES=0\n\n          if grep -q \"ERROR at teardown\" test_output.txt; then\n              echo \"ERROR at teardown\"\n              TEARDOWN_ERROR=true\n          fi\n\n          if grep -q \", 1 error in\" test_output.txt; then\n              echo \"Only 1 error total\"\n              SINGLE_ERROR=true\n          fi\n\n          # Count the number of test failures\n          TEST_FAILURES=$(grep -c \"^FAILED\" test_output.txt || true)\n          echo \"Number of test failures: $TEST_FAILURES\"\n\n          if [ \"$TEARDOWN_ERROR\" = true ] && [ \"$SINGLE_ERROR\" = true ] && [ \"$TEST_FAILURES\" -eq 0 ]; then\n              echo \"Tests passed with teardown error\"\n              exit 0\n          else\n              if [ \"$EXIT_CODE\" -ne 0 ]; then\n                echo \"test_success=false\" >> $GITHUB_OUTPUT\n              else\n                echo \"test_success=true\" >> $GITHUB_OUTPUT\n              fi\n              exit $EXIT_CODE\n          fi\n      - name: Upload .coverage files as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: coverage-files-${{ matrix.module.id }}\n          path: coverage-files/.coverage.${{ matrix.module.id }}\n\n  status-check:\n    name: Status Check\n    runs-on: ubuntu-latest\n    needs: test\n    if: always()\n    steps:\n      - name: Check if any test failed\n        run: exit 1\n        if: needs.test.outputs.test_success == 'false'\n\n  combine-coverage:\n    if: github.event.pull_request.draft == false\n    name: Coverage\n    runs-on: ubuntu-latest\n    needs: status-check\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.12.3\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12.3\n      - name: Install dependencies\n        run: pip install coverage\n      - name: Download all .coverage artifacts\n        uses: actions/download-artifact@v4\n        with:\n          path: coverage-files\n      - name: Move coverage files to top-level directory\n        run: |\n          for dir in coverage-files/coverage-files-*; do\n            mv \"$dir\"/.coverage.* .\n          done\n      - name: Combine coverage files\n        run: |\n          coverage combine\n          coverage report\n      - name: Generate XML coverage report\n        run: coverage xml\n      - name: Upload coverage to Codacy\n        run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.xml\n        env:\n          CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}\n\n  deploy:\n    if: github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false\n    name: Deploy to EKS\n    environment:\n      name: dev\n    needs:\n      - build\n    permissions:\n      id-token: write # Required to authenticate with AWS\n      contents: read # Required to clone this repository\n      checks: write # Required for action-junit-report\n      pull-requests: write # Required to comment on PRs for Pytest coverage comment\n    runs-on: ubuntu-latest\n\n    timeout-minutes: 35\n\n    env:\n      TAILSCALE_VERSION: 1.62.1\n      HELMFILE_VERSION: v0.163.1\n      HELM_VERSION: v3.14.3\n      OUTPUT_FILE: test_output.xml\n      COVERAGE_FILE: test_coverage.txt\n      PYTEST_COMPLETIONS: 1\n\n    concurrency:\n      group: cicd-deploy\n      cancel-in-progress: false\n\n    outputs:\n      output: ${{ steps.updated_deployments.outputs.success }}\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Authenticate GitHub CLI\n        run: echo \"${{ secrets.PAT }}\" | gh auth login --with-token\n\n      - name: Set branch name\n        id: set_branch_name\n        run: |\n          if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then\n            echo \"BRANCH_NAME=${{ github.head_ref }}\" >> $GITHUB_ENV\n          else\n            echo \"BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | cut -d/ -f2-)\" >> $GITHUB_ENV\n          fi\n\n      - name: Check if branch exists\n        id: check_branch\n        run: |\n          DEFAULT_BRANCH=master\n\n          if gh api repos/didx-xyz/charts/git/ref/heads/$BRANCH_NAME; then\n            echo \"branch_exists=true\" >> $GITHUB_ENV\n            echo \"branch_name=$BRANCH_NAME\" >> $GITHUB_ENV\n          else\n            echo \"branch_exists=false\" >> $GITHUB_ENV\n            echo \"branch_name=$DEFAULT_BRANCH\" >> $GITHUB_ENV\n          fi\n\n      - name: Checkout Charts\n        uses: actions/checkout@v4\n        with:\n          repository: didx-xyz/charts\n          token: ${{ secrets.PAT }}\n          path: charts\n          ref: ${{ env.branch_name }}\n\n      - name: Install dependencies\n        run: sudo apt-get install -y postgresql-client redis-tools\n\n      - name: Sops Binary Installer\n        uses: mdgreenwald/mozilla-sops-action@v1.6.0\n\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-region: af-south-1\n          role-to-assume: arn:aws:iam::402177810328:role/cicd\n          role-session-name: github-cicd\n\n      - name: Update Kubeconfig\n        run: aws eks update-kubeconfig --name cloudapi-dev\n\n      - uses: tailscale/github-action@main\n        with:\n          authkey: ${{ secrets.TAILSCALE_AUTHKEY }}\n          version: ${{ env.TAILSCALE_VERSION }}\n\n      # - name: Helmfile Diff\n      #   if: github.event.inputs.run-reset-deployments == 'true'\n      #   uses: helmfile/helmfile-action@v1.9.1\n      #   with:\n      #     helmfile-args: |\n      #       diff \\\n      #         --environment ${{ vars.ENVIRONMENT }} \\\n      #         -f ./charts/helmfiles/aries-cloudapi-python.yaml \\\n      #         --set image.tag=${{ env.IMAGE_TAG }} \\\n      #         --set image.registry=ghcr.io/${{ github.repository_owner }}\n      #     helm-plugins: |\n      #       https://github.com/databus23/helm-diff,\n      #       https://github.com/jkroepke/helm-secrets\n      #     helmfile-version: ${{ env.HELMFILE_VERSION }}\n      #     helm-version: ${{ env.HELM_VERSION }}\n      #   env:\n      #     IMAGE_TAG: ${{ needs.build.outputs.image_version }}\n\n      - name: Helmfile Destroy\n        id: destroy_deployments\n        if: github.event.inputs.run-reset-deployments == 'true'\n        uses: helmfile/helmfile-action@v1.9.1\n        with:\n          helmfile-args: |\n            destroy \\\n              --environment ${{ vars.ENVIRONMENT }} \\\n              -f ./charts/helmfiles/aries-cloudapi-python.yaml\n          helm-plugins: |\n            https://github.com/databus23/helm-diff,\n            https://github.com/jkroepke/helm-secrets\n          helmfile-version: ${{ env.HELMFILE_VERSION }}\n          helm-version: ${{ env.HELM_VERSION }}\n        env:\n          IMAGE_TAG: ${{ needs.build.outputs.image_version }}\n\n      - name: Drop DBs\n        id: drop_dbs\n        if: github.event.inputs.run-reset-deployments == 'true'\n        env:\n          DB_PASSWORD: ${{ secrets.DB_PASSWORD }}\n          DB_HOST: ${{ secrets.DB_HOST }}\n          DB_USER: ${{ secrets.DB_USER}}\n          DB_PORT: ${{ secrets.DB_PORT }}\n          DB_EXCLUDE: ${{ secrets.DB_EXCLUDE }}\n          GA_ACAPY_WALLET_NAME: ${{ secrets.GA_ACAPY_WALLET_NAME }}\n          MT_ACAPY_WALLET_NAME: ${{ secrets.MT_ACAPY_WALLET_NAME }}\n          TRUST_REGISTRY_DB_OWNER: ${{ secrets.TRUST_REGISTRY_DB_OWNER }}\n        run: |\n          bash ./scripts/aurora-delete.sh -o $GA_ACAPY_WALLET_NAME -d\n          bash ./scripts/aurora-delete.sh -o $MT_ACAPY_WALLET_NAME -d\n          bash ./scripts/aurora-delete.sh -o $TRUST_REGISTRY_DB_OWNER -d\n          bash ./scripts/aurora-delete.sh -o $TRUST_REGISTRY_DB_OWNER -c\n\n      - name: List Elasticache Redis\n        if: github.event.inputs.run-reset-deployments == 'true'\n        env:\n          REDIS_HOST: ${{ secrets.REDIS_HOST }}\n          REDIS_PORT: ${{ secrets.REDIS_PORT }}\n          REDIS_PASSWORD: ${{ secrets.REDIS_PASSWORD }}\n        run: |\n          redis-cli \\\n            -h $REDIS_HOST \\\n            -p $REDIS_PORT \\\n            --tls --pass $REDIS_PASSWORD \\\n            --scan --pattern '*'\n\n      - name: Clean Elasticache Redis\n        if: github.event.inputs.run-reset-deployments == 'true'\n        env:\n          REDIS_HOST: ${{ secrets.REDIS_HOST }}\n          REDIS_PORT: ${{ secrets.REDIS_PORT }}\n          REDIS_PASSWORD: ${{ secrets.REDIS_PASSWORD }}\n        run: |\n          redis-cli \\\n            --tls --pass $REDIS_PASSWORD \\\n            --cluster call --cluster-only-masters \\\n            $REDIS_HOST:$REDIS_PORT \\\n            FLUSHALL\n\n      - name: Helmfile Apply # Apply default helmfile (without RDS proxy) when resetting deployments.\n        if: github.event.inputs.run-reset-deployments == 'true'\n        uses: helmfile/helmfile-action@v1.9.1\n        with:\n          helmfile-args: |\n            apply \\\n              --environment ${{ vars.ENVIRONMENT }} \\\n              -f ./charts/helmfiles/aries-cloudapi-python.yaml \\\n              --state-values-set image.tag=${{ env.IMAGE_TAG }} \\\n              --state-values-set image.registry=ghcr.io/${{ github.repository_owner }}\n          helm-plugins: |\n            https://github.com/databus23/helm-diff,\n            https://github.com/jkroepke/helm-secrets\n          helmfile-version: ${{ env.HELMFILE_VERSION }}\n          helm-version: ${{ env.HELM_VERSION }}\n        env:\n          IMAGE_TAG: ${{ needs.build.outputs.image_version }}\n\n      - name: Helmfile Apply (Exclude Agents) # Always exclude agents and apply (zero diff if resetting deployments)\n        if: github.event.inputs.run-reset-deployments != 'true'\n        uses: helmfile/helmfile-action@v1.9.1\n        with:\n          helmfile-args: |\n            apply \\\n              --environment ${{ vars.ENVIRONMENT }} \\\n              -f ./charts/helmfiles/aries-cloudapi-python.yaml \\\n              --state-values-set image.tag=${{ env.IMAGE_TAG }} \\\n              --state-values-set image.registry=ghcr.io/${{ github.repository_owner }} \\\n              --selector app!=governance-ga-agent,app!=governance-multitenant-agent\n          helm-plugins: |\n            https://github.com/databus23/helm-diff,\n            https://github.com/jkroepke/helm-secrets\n          helmfile-version: ${{ env.HELMFILE_VERSION }}\n          helm-version: ${{ env.HELM_VERSION }}\n        env:\n          IMAGE_TAG: ${{ needs.build.outputs.image_version }}\n\n      - name: Create values file\n        run: |\n          echo 'env:' > ./charts/helmfiles/acapy-wallet-storage-config.yaml\n          echo '  ACAPY_WALLET_STORAGE_CONFIG: |-' >> ./charts/helmfiles/acapy-wallet-storage-config.yaml\n          echo '    ${{ secrets.ACAPY_WALLET_STORAGE_CONFIG }}' >> ./charts/helmfiles/acapy-wallet-storage-config.yaml\n          pwd\n          ls -la\n\n      - name: Helmfile Patch Proxy # Always patch agents with proxy.\n        id: patch_proxy\n        uses: helmfile/helmfile-action@v1.9.1\n        with:\n          helmfile-args: |\n            apply \\\n              --environment ${{ vars.ENVIRONMENT }} \\\n              -f ./charts/helmfiles/aries-cloudapi-python.yaml \\\n              --state-values-set image.tag=${{ env.IMAGE_TAG }} \\\n              --state-values-set image.registry=ghcr.io/${{ github.repository_owner }} \\\n              --selector app=governance-ga-agent \\\n              --selector app=governance-multitenant-agent \\\n              --set env.WALLET_DB_HOST=${{ secrets.DB_PROXY_HOST }} \\\n              --values acapy-wallet-storage-config.yaml\n          helm-plugins: |\n            https://github.com/databus23/helm-diff,\n            https://github.com/jkroepke/helm-secrets\n          helmfile-version: ${{ env.HELMFILE_VERSION }}\n          helm-version: ${{ env.HELM_VERSION }}\n        env:\n          IMAGE_TAG: ${{ needs.build.outputs.image_version }}\n\n      - name: Helmfile run pytest\n        if: ${{ github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && github.event.inputs.run-tests != 'false') }}\n        id: pytest\n        uses: helmfile/helmfile-action@v1.9.1\n        with:\n          helmfile-args: |\n            apply \\\n              --environment ${{ vars.ENVIRONMENT }} \\\n              -f ./charts/helmfiles/aries-capi-test.yaml \\\n              --set image.tag=${{ env.IMAGE_TAG }} \\\n              --set image.registry=ghcr.io/${{ github.repository_owner }} \\\n              --set completions=${{ env.PYTEST_COMPLETIONS }} \\\n              --state-values-set release=cloudapi-pytest \\\n              --set fullnameOverride=cloudapi-pytest\n          helm-plugins: |\n            https://github.com/databus23/helm-diff,\n            https://github.com/jkroepke/helm-secrets\n          helmfile-version: ${{ env.HELMFILE_VERSION }}\n          helm-version: ${{ env.HELM_VERSION }}\n        env:\n          IMAGE_TAG: ${{ needs.build.outputs.image_version }}\n\n      - name: Helmfile init regression pytest\n        if: github.event.inputs.run-reset-deployments == 'true' && github.event.inputs.run-regression-tests == 'true'\n        id: pytest-init-regression\n        uses: helmfile/helmfile-action@v1.9.1\n        with:\n          helmfile-args: |\n            apply \\\n              --environment ${{ vars.ENVIRONMENT }} \\\n              -f ./charts/helmfiles/aries-capi-test.yaml \\\n              --set image.tag=${{ env.IMAGE_TAG }} \\\n              --set image.registry=ghcr.io/${{ github.repository_owner }} \\\n              --set completions=${{ env.PYTEST_COMPLETIONS }} \\\n              --state-values-set release=cloudapi-pytest-regression \\\n              --set fullnameOverride=cloudapi-pytest-regression \\\n              --set env.RUN_REGRESSION_TESTS=\"true\"\n          helm-plugins: |\n            https://github.com/databus23/helm-diff,\n            https://github.com/jkroepke/helm-secrets\n          helmfile-version: ${{ env.HELMFILE_VERSION }}\n          helm-version: ${{ env.HELM_VERSION }}\n        env:\n          IMAGE_TAG: ${{ needs.build.outputs.image_version }}\n\n      - name: Helmfile run regression pytest\n        if: ${{ github.event_name != 'workflow_dispatch' || (github.event_name == 'workflow_dispatch' && github.event.inputs.run-reset-deployments == 'false' && github.event.inputs.run-regression-tests == 'true') }}\n        id: pytest-run-regression\n        uses: helmfile/helmfile-action@v1.9.1\n        with:\n          helmfile-args: |\n            apply \\\n              --environment ${{ vars.ENVIRONMENT }} \\\n              -f ./charts/helmfiles/aries-capi-test.yaml \\\n              --set image.tag=${{ env.IMAGE_TAG }} \\\n              --set image.registry=ghcr.io/${{ github.repository_owner }} \\\n              --set completions=${{ env.PYTEST_COMPLETIONS }} \\\n              --state-values-set release=cloudapi-pytest-regression \\\n              --set fullnameOverride=cloudapi-pytest-regression \\\n              --set env.RUN_REGRESSION_TESTS=\"true\" \\\n              --set env.FAIL_ON_RECREATING_FIXTURES=\"true\"\n          helm-plugins: |\n            https://github.com/databus23/helm-diff,\n            https://github.com/jkroepke/helm-secrets\n          helmfile-version: ${{ env.HELMFILE_VERSION }}\n          helm-version: ${{ env.HELM_VERSION }}\n        env:\n          IMAGE_TAG: ${{ needs.build.outputs.image_version }}\n\n      - name: Wait for pytest and print logs\n        if: steps.pytest.outcome == 'success'\n        run: |\n          while true; do\n            # Check if the job is complete or failed\n            COMPLETION_STATUS=$(kubectl get job $JOB_NAME -n $NAMESPACE -o jsonpath='{.status.succeeded}')\n            FAILURE_STATUS=$(kubectl get job $JOB_NAME -n $NAMESPACE -o jsonpath='{.status.failed}')\n\n            if [ \"$COMPLETION_STATUS\" == \"${{ env.PYTEST_COMPLETIONS }}\" ] || [ \"$FAILURE_STATUS\" == \"1\" ]; then\n                echo \"Job $JOB_NAME has completed.\"\n                break\n            else\n                echo \"Waiting for job to complete...\"\n                sleep 10\n            fi\n          done\n\n          # Get all pods for the job\n          pods=$(kubectl get pods -n $NAMESPACE --selector=job-name=$JOB_NAME -o jsonpath='{.items[*].metadata.name}')\n\n          # Loop through the pods and get logs\n          for pod in $pods\n          do\n              echo \"Logs for Pod: $pod\"\n              kubectl logs -n $NAMESPACE $pod\n          done\n\n        env:\n          JOB_NAME: cloudapi-pytest\n          NAMESPACE: dev-cloudapi\n\n      - name: Wait for pytest regression and print logs\n        if: steps.pytest-init-regression.outcome == 'success' || steps.pytest-run-regression.outcome == 'success'\n        run: |\n          while true; do\n            # Check if the job is complete or failed\n            COMPLETION_STATUS=$(kubectl get job $JOB_NAME -n $NAMESPACE -o jsonpath='{.status.succeeded}')\n            FAILURE_STATUS=$(kubectl get job $JOB_NAME -n $NAMESPACE -o jsonpath='{.status.failed}')\n\n            if [ \"$COMPLETION_STATUS\" == \"${{ env.PYTEST_COMPLETIONS }}\" ] || [ \"$FAILURE_STATUS\" == \"1\" ]; then\n                echo \"Job $JOB_NAME has completed.\"\n                break\n            else\n                echo \"Waiting for job to complete...\"\n                sleep 10\n            fi\n          done\n\n          # Get all pods for the job\n          pods=$(kubectl get pods -n $NAMESPACE --selector=job-name=$JOB_NAME -o jsonpath='{.items[*].metadata.name}')\n\n          # Loop through the pods and get logs\n          for pod in $pods\n          do\n              echo \"Logs for Pod: $pod\"\n              kubectl logs -n $NAMESPACE $pod\n          done\n\n        env:\n          JOB_NAME: cloudapi-pytest-regression\n          NAMESPACE: dev-cloudapi\n\n      - name: Copy k8s pytest results\n        if: steps.pytest.outcome == 'success'\n        run: |\n          echo \"apiVersion: v1\n          kind: Pod\n          metadata:\n            name: $POD_NAME\n            namespace: $NAMESPACE\n          spec:\n            containers:\n            - name: $POD_NAME\n              image: $CONTAINER_IMAGE\n              command: [\\\"sleep\\\", \\\"3600\\\"]\n              volumeMounts:\n              - name: my-volume\n                mountPath: $MOUNT_PATH\n            volumes:\n            - name: my-volume\n              persistentVolumeClaim:\n                claimName: $PVC_NAME\n            restartPolicy: Never\" > busybox-pod.yaml\n\n          kubectl apply -f busybox-pod.yaml\n\n          # Wait for the pod to be ready\n          echo \"Waiting for pod to be ready...\"\n          kubectl -n $NAMESPACE wait --for=condition=ready pod/$POD_NAME --timeout=60s\n\n          # Copy the file from the pod to your local system\n          echo \"Copying file from pod...\"\n          mkdir -p $LOCAL_PATH\n          kubectl -n $NAMESPACE cp $POD_NAME:$MOUNT_PATH/$OUTPUT_FILE $LOCAL_PATH/$OUTPUT_FILE\n          kubectl -n $NAMESPACE cp $POD_NAME:$MOUNT_PATH/$COVERAGE_FILE $LOCAL_PATH/$COVERAGE_FILE\n\n          # Clean up: delete the temporary pod\n          echo \"Cleaning up...\"\n          kubectl -n $NAMESPACE delete pod $POD_NAME\n\n          echo \"Done!\"\n        env:\n          PVC_NAME: cloudapi-pytest\n          POD_NAME: pytest-results\n          CONTAINER_IMAGE: busybox\n          MOUNT_PATH: /mnt\n          LOCAL_PATH: ./pytest\n          NAMESPACE: dev-cloudapi\n\n      - name: Copy k8s pytest regression results\n        if: steps.pytest-init-regression.outcome == 'success' || steps.pytest-run-regression.outcome == 'success'\n        run: |\n          echo \"apiVersion: v1\n          kind: Pod\n          metadata:\n            name: $POD_NAME\n            namespace: $NAMESPACE\n          spec:\n            containers:\n            - name: $POD_NAME\n              image: $CONTAINER_IMAGE\n              command: [\\\"sleep\\\", \\\"3600\\\"]\n              volumeMounts:\n              - name: my-volume\n                mountPath: $MOUNT_PATH\n            volumes:\n            - name: my-volume\n              persistentVolumeClaim:\n                claimName: $PVC_NAME\n            restartPolicy: Never\" > busybox-pod.yaml\n\n          kubectl apply -f busybox-pod.yaml\n\n          # Wait for the pod to be ready\n          echo \"Waiting for pod to be ready...\"\n          kubectl -n $NAMESPACE wait --for=condition=ready pod/$POD_NAME --timeout=60s\n\n          # Copy the file from the pod to your local system\n          echo \"Copying file from pod...\"\n          mkdir -p $LOCAL_PATH\n          kubectl -n $NAMESPACE cp $POD_NAME:$MOUNT_PATH/$OUTPUT_FILE $LOCAL_PATH/$OUTPUT_FILE\n          kubectl -n $NAMESPACE cp $POD_NAME:$MOUNT_PATH/$COVERAGE_FILE $LOCAL_PATH/$COVERAGE_FILE\n\n          # Clean up: delete the temporary pod\n          echo \"Cleaning up...\"\n          kubectl -n $NAMESPACE delete pod $POD_NAME\n\n          echo \"Done!\"\n        env:\n          PVC_NAME: cloudapi-pytest-regression\n          POD_NAME: pytest-results-regression\n          CONTAINER_IMAGE: busybox\n          MOUNT_PATH: /mnt\n          LOCAL_PATH: ./pytest-regression\n          NAMESPACE: dev-cloudapi\n\n      - name: Publish Pytest Report\n        uses: mikepenz/action-junit-report@v4\n        if: steps.pytest.outcome == 'success'\n        with:\n          check_name: JUnit Test Report\n          report_paths: \"./pytest/test_output.xml\"\n          fail_on_failure: true\n          detailed_summary: true\n          require_passed_tests: true\n\n      - name: Publish Pytest Regression Report\n        uses: mikepenz/action-junit-report@v4\n        if: steps.pytest-init-regression.outcome == 'success' || steps.pytest-run-regression.outcome == 'success'\n        with:\n          check_name: JUnit Test Report Regression\n          report_paths: \"./pytest-regression/test_output.xml\"\n          fail_on_failure: true\n          detailed_summary: true\n          require_passed_tests: true\n\n      - name: Pytest coverage comment\n        if: steps.pytest.outcome == 'success'\n        uses: MishaKav/pytest-coverage-comment@v1.1.51\n        with:\n          pytest-coverage-path: ./pytest/test_coverage.txt\n          junitxml-path: ./pytest/test_output.xml\n          create-new-comment: true\n          title: \"K8s Test Coverage\"\n          # Resolves `Warning: Your comment is too long (maximum is 65536 characters), coverage report will not be added.`\n          hide-report: ${{ github.event_name != 'pull_request' }}\n          hide-comment: ${{ github.event_name != 'pull_request' }}\n\n      - name: Pytest coverage comment\n        if: steps.pytest-init-regression.outcome == 'success' || steps.pytest-run-regression.outcome == 'success'\n        uses: MishaKav/pytest-coverage-comment@v1.1.51\n        with:\n          pytest-coverage-path: ./pytest-regression/test_coverage.txt\n          junitxml-path: ./pytest-regression/test_output.xml\n          create-new-comment: true\n          title: \"K8s Regression Test Coverage\"\n          # Resolves `Warning: Your comment is too long (maximum is 65536 characters), coverage report will not be added.`\n          hide-report: ${{ github.event_name != 'pull_request' }}\n          hide-comment: ${{ github.event_name != 'pull_request' }}\n\n      - name: Helmfile destroy pytest\n        uses: helmfile/helmfile-action@v1.9.1\n        if: always()\n        with:\n          helmfile-args: |\n            destroy \\\n              --environment ${{ vars.ENVIRONMENT }} \\\n              -f ./charts/helmfiles/aries-capi-test.yaml \\\n              --state-values-set release=cloudapi-pytest\n          helm-plugins: |\n            https://github.com/databus23/helm-diff\n          helmfile-version: ${{ env.HELMFILE_VERSION }}\n          helm-version: ${{ env.HELM_VERSION }}\n        env:\n          IMAGE_TAG: ${{ needs.build.outputs.image_version }}\n\n      - name: Helmfile destroy pytest regression\n        uses: helmfile/helmfile-action@v1.9.1\n        if: always()\n        with:\n          helmfile-args: |\n            destroy \\\n              --environment ${{ vars.ENVIRONMENT }} \\\n              -f ./charts/helmfiles/aries-capi-test.yaml \\\n              --state-values-set release=cloudapi-pytest-regression\n          helm-plugins: |\n            https://github.com/databus23/helm-diff\n          helmfile-version: ${{ env.HELMFILE_VERSION }}\n          helm-version: ${{ env.HELM_VERSION }}\n        env:\n          IMAGE_TAG: ${{ needs.build.outputs.image_version }}\n", "state": "active", "repository": "didx-xyz/aries-cloudapi-python"}
{"mined_at": "2024-07-15T18:20:53.760265", "created_at": "2023-07-28T11:20:00+02:00", "updated_at": "2023-07-28T11:54:12+02:00", "name": "Python code style check", "path": ".github/workflows/style-check.yml", "contents": "name: Python code style check\n\non:\n  pull_request:\n    branches:\n      - main\n      - development\n\njobs:\n  style:\n    name: style\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.12.3\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12.3\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \\\n            isort~=5.13.2 \\\n            black~=24.4.2\n\n      - name: Check import style with isort\n        run: isort . --check --profile black --diff\n\n      - name: Check code style with Black\n        run: black . --check --diff\n", "state": "active", "repository": "didx-xyz/aries-cloudapi-python"}
{"mined_at": "2024-07-15T18:20:54.754495", "created_at": "2024-07-13T09:11:49+02:00", "updated_at": "2024-07-13T09:11:49+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "didx-xyz/aries-cloudapi-python"}
{"mined_at": "2024-07-15T18:20:56.806064", "created_at": "2023-08-06T11:53:04+02:00", "updated_at": "2023-08-06T11:53:04+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:20:57.839621", "created_at": "2023-11-30T16:54:43+01:00", "updated_at": "2023-11-30T17:04:24+01:00", "name": "Run Backend tests", "path": ".github/workflows/run-backend-tests.yml", "contents": "name: Run Backend tests\n\non:\n  pull_request:\n    paths:\n      - 'agenta-backend/**'\n      - 'docker-compose.yml'\n      - 'docker-compose.*.yml'\n  workflow_dispatch:\n    inputs:\n      debug:\n        description: 'Run Docker logs step (true/false)'\n        required: true\n        default: 'false'\n\njobs:\n  pytest:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set Environment Variables\n        run: |\n          echo \"OPENAI_API_KEY=${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }}\" >> $GITHUB_ENV\n\n      - name: Install Curl\n        run: sudo apt install curl -y\n\n      - name: Start Docker Compose\n        run: OPENAI_API_KEY=${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }} ENVIRONMENT=github docker-compose -f \"docker-compose.test.yml\" up -d --build\n\n      - name: Restart Backend Service To Fetch Template Images\n        run: docker container restart agenta-backend-test\n\n      - name: Check Templates Exists\n        run: |\n          sleep 10 && curl -i http://localhost/api/containers/templates/\n\n      - name: Wait for Backend Service\n        run: |\n          sleep 10 && curl -i http://localhost/api/openapi.json\n\n      - name: Run tests\n        run: sleep 10 && docker exec agenta-backend-test pytest\n\n      - name: Docker logs\n        if: github.event_name == 'workflow_dispatch' && github.event.inputs.debug == 'true'\n        run: docker ps -q | xargs -I {} docker logs {}\n", "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:20:58.881614", "created_at": "2023-11-30T16:54:44+01:00", "updated_at": "2023-11-30T17:04:24+01:00", "name": "Run Frontend tests", "path": ".github/workflows/run-frontend-tests.yml", "contents": "name: Run Frontend tests\r\n\r\non:\r\n  pull_request:\r\n    paths:\r\n      - 'agenta-web/**'\r\n      - 'docker-compose.yml'\r\n      - 'docker-compose.*.yml'\r\n  workflow_dispatch:\r\n    inputs:\r\n      debug:\r\n        description: 'Run Docker logs step (true/false)'\r\n        required: true\r\n        default: 'false'\r\n\r\nenv:\r\n  OPENAI_API_KEY: ${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }}\r\n\r\njobs:\r\n  cypress:\r\n    runs-on: ubuntu-latest\r\n\r\n    steps:\r\n      - name: Check out code\r\n        uses: actions/checkout@v4\r\n\r\n      - name: Set Environment Variables\r\n        run: |\r\n          echo \"NEXT_PUBLIC_OPENAI_API_KEY=${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }}\" >> $GITHUB_ENV\r\n\r\n      - name: Install Curl & Start Docker Compose\r\n        env:\r\n          NEXT_PUBLIC_OPENAI_API_KEY: ${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }}\r\n        run: |\r\n          sudo apt install curl -y\r\n          docker-compose -f \"docker-compose.test.yml\" up -d --build\r\n\r\n      - name: Restart Backend Service To Fetch Template(s)\r\n        run: docker container restart agenta-backend-test\r\n\r\n      - name: Wait for Backend Service\r\n        run: curl http://localhost/api/health/\r\n\r\n      - name: Know the Response of Organization & Container Templates\r\n        run: |\r\n          curl http://localhost/api/organizations/own/\r\n          curl http://localhost/api/containers/templates/\r\n\r\n      - name: Set Node.js 18\r\n        uses: actions/setup-node@v4\r\n        with:\r\n          node-version: 18\r\n\r\n      - name: Install Frontend Dependencies\r\n        run: |\r\n          cd agenta-web/ && npm install\r\n\r\n      - name: Run Cypress\r\n        env:\r\n          NEXT_PUBLIC_OPENAI_API_KEY: ${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }}\r\n        run: cd agenta-web/ && npm run test\r\n\r\n      - name: Docker logs\r\n        if: github.event_name == 'workflow_dispatch' && github.event.inputs.debug == 'true'\r\n        run: docker ps -q | xargs -I {} docker logs {}\r\n", "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:21:00.062896", "created_at": "2023-11-30T17:04:24+01:00", "updated_at": "2023-11-30T17:04:24+01:00", "name": "Check Python Code - Black", "path": ".github/workflows/check-python-code-black.yml", "contents": "name: Check Python Code - Black\non:\n  pull_request:\n    paths:\n      - \"agenta-backend/**\"\n      - \"agenta-cli/**\"\n      - \"examples/**\"\n\njobs:\n  linter_name:\n    name: runner / black check\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: psf/black@23.12.0\n", "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:21:01.109249", "created_at": "2023-11-30T17:04:24+01:00", "updated_at": "2023-11-30T17:04:24+01:00", "name": "Check Web Code - Lint and Build", "path": ".github/workflows/check-web-code-lint-and-build.yml", "contents": "name: Check Web Code - Lint and Build\n\non:\n  pull_request:\n    paths:\n      - \"agenta-web/**\"\n\njobs:\n  lint_and_build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Set up Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - name: Install dependencies\n        run: npm ci --omit=dev\n        working-directory: agenta-web\n\n      - name: Run Lint\n        run: npm run lint\n        working-directory: agenta-web\n\n      - name: Run Build\n        run: npm run build\n        working-directory: agenta-web\n", "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:21:02.137627", "created_at": "2023-11-30T17:04:24+01:00", "updated_at": "2023-11-30T17:04:24+01:00", "name": "Check web Code - Prettier", "path": ".github/workflows/check-web-code-prettier.yml", "contents": "name: Check web Code - Prettier\n\non:\n  pull_request:\n    paths:\n      - \"agenta-web/**\"\n\njobs:\n  prettier:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Set up Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - name: Run Prettier\n        run: npx prettier --check .\n        working-directory: agenta-web\n", "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:21:03.278757", "created_at": "2023-11-30T17:04:24+01:00", "updated_at": "2023-11-30T17:04:24+01:00", "name": "Publish to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish to PyPI\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out the repo\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    - name: Set working directory\n      run: cd ${{ github.workspace }}\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n\n    - name: Install poetry\n      run: |\n        curl -sSL https://install.python-poetry.org | python3 -\n\n    - name: Check for agenta version changes\n      id: version_check\n      run: |\n\n        # # Check if there are any tags in the repository\n        # if [ -z \"$(git tag -l)\" ]; then\n        #   echo \"No tags found. Skipping version check.\"\n        #   exit 78\n        # fi\n\n        # Navigate to the cli directory\n        cd ${{ github.workspace }}/agenta-cli\n\n        # Verify that the pyproject.toml file exists\n        if [ ! -f pyproject.toml ]; then\n          echo \"pyproject.toml file not found. Exiting...\"\n          exit 1\n        fi\n\n        previous_version=$(git describe --abbrev=0 --tags)\n        current_version=$(poetry version --no-interaction | awk '{print $2}')\n        if [ \"$previous_version\" == \"$current_version\" ]; then\n          echo \"No version change detected. Skipping package publication.\"\n          exit 78\n        fi\n        echo \"::set-output name=version_bumped::true\"\n      continue-on-error: true\n\n    - name: Build and publish agenta to PyPI\n      if: steps.version_check.outputs.version_bumped == 'true'\n      run: |\n        # Navigate to the cli directory\n        cd ${{ github.workspace }}\n        \n        # Build and publish agenta-cli\n        cd agenta-cli\n        poetry build\n        poetry publish --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}\n      continue-on-error: true\n", "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:21:04.396815", "created_at": "2023-11-30T17:04:24+01:00", "updated_at": "2023-11-30T17:04:24+01:00", "name": "Push to GitHub Container Registry", "path": ".github/workflows/push-to-ghcr.yml", "contents": "name: Push to GitHub Container Registry\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n\nenv:\n  BACKEND_IMAGE_NAME: agenta-backend\n  WEB_IMAGE_NAME: agenta-web\n  IMAGE_OWNER_NAME: agenta-ai\n  REPOSITORY_USERNAME: ${{ github.actor }}\n\njobs:\n  build-and-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Clear Docker build cache\n        run: docker builder prune --all --force\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ env.REPOSITORY_USERNAME }}\n          password: ${{ secrets.DOCKER_GITHUB_SECRETS }}\n\n      - name: Build, tag and push Backend image to Github Container Registry\n        id: build-backend-image\n        run: |\n          cd agenta-backend\n          docker build -t ghcr.io/${{ env.IMAGE_OWNER_NAME }}/${{ env.BACKEND_IMAGE_NAME }} -f Dockerfile.gh .\n          docker push ghcr.io/${{ env.IMAGE_OWNER_NAME }}/${{ env.BACKEND_IMAGE_NAME }}\n\n      - name: Build, tag and push Web image to Github Container Registry\n        id: build-web-image\n        run: |\n          cd agenta-web\n          docker build --no-cache -t ghcr.io/${{ env.IMAGE_OWNER_NAME }}/${{ env.WEB_IMAGE_NAME }} -f prod.gh.Dockerfile .\n          docker push ghcr.io/${{ env.IMAGE_OWNER_NAME }}/${{ env.WEB_IMAGE_NAME }}\n\n", "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:21:05.615412", "created_at": "2024-02-18T12:52:09+01:00", "updated_at": "2024-04-05T16:28:20+02:00", "name": "🆙 Bump versions", "path": ".github/workflows/bump-versions.yml", "contents": "name: \"🆙 Bump versions\"\n\non:\n  workflow_dispatch:\n    inputs:\n      bump-type:\n        description: \"Bump Type\"\n        required: true\n        default: \"patch\"\n        type: choice\n        options:\n          - patch\n          - minor\n          - major\n\njobs:\n  migrate-db-schema-stage:\n    name: Bump version\n    continue-on-error: false\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.ref }}\n\n      - name: Set up Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 -\n\n      - name: Bump versions\n        run: |\n          BUMP_TYPE=${{ inputs.bump-type }}\n          echo \"Bumping versions to $BUMP_TYPE\"\n          cd agenta-web\n          npm version $BUMP_TYPE\n          cd ..\n          cd agenta-cli\n          poetry version $BUMP_TYPE\n          cd ..\n          cd agenta-backend\n          poetry version $BUMP_TYPE\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          commit-message: Bump versions\n          author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>\n          branch: bump-versions\n          delete-branch: true\n          title: 'Bump versions'\n          body: |\n            New version in\n            - agenta-web\n            - agenta-backend\n            - agenta-cli\n\n", "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:21:06.765844", "created_at": "2024-04-13T11:26:50+02:00", "updated_at": "2024-04-13T11:26:50+02:00", "name": "Publish a PRE-RELEASE PyPI", "path": ".github/workflows/publish-prerelease-to-pypi.yaml", "contents": "name: Publish a PRE-RELEASE PyPI\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Branch to publish'\n        required: true\n        default: 'main'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out the repo\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.inputs.branch }}\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.9\n\n    - name: Install poetry\n      run: |\n        curl -sSL https://install.python-poetry.org | python3 -\n\n    - name: Check for agenta version changes\n      id: version_check\n      run: |\n        cd ${{ github.workspace }}/agenta-cli\n\n        # Verify that the pyproject.toml file exists\n        if [ ! -f pyproject.toml ]; then\n          echo \"pyproject.toml file not found. Exiting...\"\n          exit 1\n        fi\n\n        previous_version=$(git describe --abbrev=0 --tags)\n        current_version=$(poetry version --no-interaction | awk '{print $2}')\n        if [ \"$previous_version\" == \"$current_version\" ]; then\n          echo \"No version change detected. Skipping package publication.\"\n          exit 78\n        fi\n        if [[ \"$current_version\" != *a* ]] && [[ \"$current_version\" != *b* ]]; then\n          echo \"Current version is not an alpha or beta release. Skipping package publication.\"\n          exit 78\n        fi\n        echo \"::set-output name=version_bumped::true\"\n      continue-on-error: true\n\n    - name: Build and publish agenta to  PyPI\n      if: steps.version_check.outputs.version_bumped == 'true'\n      run: |\n        # Navigate to the cli directory\n        cd ${{ github.workspace }}\n        \n        # Build and publish agenta-cli\n        cd agenta-cli\n        poetry build\n        poetry publish --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}\n      continue-on-error: true\n", "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:21:07.878545", "created_at": "2024-05-01T16:59:06+02:00", "updated_at": "2024-05-01T19:31:05+02:00", "name": "Run SDK tests", "path": ".github/workflows/run-sdk-tests.yml", "contents": "name: Run SDK tests\n\non:\n  pull_request:\n    paths:\n      - 'agenta-cli/**'\n      - 'agenta-cli/pyproject.toml'\n      - 'agenta-cli/poetry.lock'\n  workflow_dispatch:\n\njobs:\n  pytest:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n\n      - name: Install Poetry\n        run: pip install poetry\n\n      - name: Install dependencies and agenta SDK\n        run: |\n          cd agenta-cli\n          poetry install\n\n      - name: Run pytest\n        run: |\n          cd agenta-cli\n          poetry run pytest tests\n", "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:35:02.060168", "created_at": "2024-05-06T21:53:48+02:00", "updated_at": "2024-05-06T21:53:48+02:00", "name": "Agenta CLI Workflow", "path": ".github/workflows/agenta-cli-test.yml", "contents": null, "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:35:03.293069", "created_at": "2024-05-16T14:24:27+02:00", "updated_at": "2024-05-16T14:24:27+02:00", "name": "cli commands tests", "path": ".github/workflows/cli-commands-tests.yml", "contents": "name: cli commands tests\n\non:\n    pull_request:\n        paths:\n            - \"agenta-backend/**\"\n            - \"agenta-cli/**\"\n\njobs:\n    serve-to-oss:\n        runs-on: ubuntu-latest\n        environment: oss\n        steps:\n            - name: Check out repository\n              uses: actions/checkout@v4\n\n            - name: Set up python\n              id: setup-python\n              uses: actions/setup-python@v5\n              with:\n                  python-version: \"3.12\"\n\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip setuptools\n                  pip install poetry\n                  cd agenta-cli\n                  pip install -e .\n\n            - name: Create .env file\n              run: |\n                  echo \"OPENAI_API_KEY=${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }}\" > .env\n              working-directory: examples/baby_name_generator\n\n            - name: Run agenta init\n              run: |\n                  APP_NAME=\"gh-cli-$(date +'%d-%m-%y_%H-%M-%S')\"\n                  cd examples/baby_name_generator\n                  agenta init --app-name $APP_NAME --backend-host ${{ secrets.BACKEND_HOST }}\n              shell: bash\n              continue-on-error: false\n\n            - name: Run agenta variant serve\n              run: |\n                  cd examples/baby_name_generator\n                  agenta variant serve --file_name app.py 2>&1 | tee ../../serve_output.log\n              shell: bash\n              continue-on-error: false\n\n            - name: Check if app is running\n              uses: ./.github/actions/check-app-accessibility\n              with:\n                log-file: serve_output.log\n              continue-on-error: false\n\n            - name: Run agenta variant serve with overwrite\n              run: |\n                  cd examples/baby_name_generator\n                  agenta variant serve --file_name app.py --overwrite\n              shell: bash\n              continue-on-error: false\n\n    serve-to-cloud:\n        runs-on: ubuntu-latest\n        environment: oss\n        steps:\n            - name: Check out repository\n              uses: actions/checkout@v4\n\n            - name: Set up python\n              id: setup-python\n              uses: actions/setup-python@v5\n              with:\n                  python-version: \"3.12\"\n\n            - name: Install dependencies\n              run: |\n                  python -m pip install --upgrade pip setuptools\n                  pip install poetry\n                  cd agenta-cli\n                  pip install -e .\n\n            - name: Create .env file\n              run: |\n                  echo \"OPENAI_API_KEY=${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }}\" > .env\n              working-directory: examples/baby_name_generator\n\n            - name: Run agenta init\n              run: |\n                  APP_NAME=\"gh-cli-$(date +'%d-%m-%y_%H-%M-%S')\"\n                  cd examples/baby_name_generator\n                  AGENTA_API_KEY=${{ secrets.AGENTA_API_KEY }} agenta init --app-name $APP_NAME --backend-host https://cloud.agenta.ai --organisation-name team\n              shell: bash\n              continue-on-error: false\n\n            - name: Run agenta variant serve\n              run: |\n                  cd examples/baby_name_generator\n                  agenta variant serve --file_name app.py 2>&1 | tee ../../serve_output.log\n              shell: bash\n              continue-on-error: false\n\n            - name: Check if app is running\n              uses: ./.github/actions/check-app-accessibility\n              with:\n                log-file: serve_output.log\n              continue-on-error: false\n\n            - name: Run agenta variant serve with overwrite\n              run: |\n                  cd examples/baby_name_generator\n                  agenta variant serve --file_name app.py --overwrite\n              shell: bash\n              continue-on-error: false\n", "state": "active", "repository": "Agenta-AI/agenta"}
{"mined_at": "2024-07-15T18:35:05.645910", "created_at": "2020-01-10T05:03:15+01:00", "updated_at": "2020-01-10T05:08:00+01:00", "name": "Build", "path": "", "contents": null, "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:06.708841", "created_at": "2021-09-08T16:08:02+02:00", "updated_at": "2022-01-26T10:51:27+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - .github/workflows/tests.yml\n      - httpie/**/*.py\n      - setup.*\n      - tests/**/*.py\n  pull_request:\n    paths:\n      - .github/workflows/tests.yml\n      - httpie/**/*.py\n      - setup.*\n      - tests/**/*.py\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version:\n          - '3.12'\n          - '3.11'\n          - '3.10'\n          - '3.9'\n          - '3.8'\n          - '3.7'\n        pyopenssl: [0, 1]\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Windows setup\n        if: matrix.os == 'windows-latest'\n        run: |\n          python -m pip install --upgrade pip wheel\n          python -m pip install --upgrade '.[dev]'\n          python -m pytest --verbose ./httpie ./tests\n        env:\n          HTTPIE_TEST_WITH_PYOPENSSL: ${{ matrix.pyopenssl }}\n      - name: Linux & Mac setup\n        if: matrix.os != 'windows-latest'\n        run: |\n          make install\n          make test\n        env:\n          HTTPIE_TEST_WITH_PYOPENSSL: ${{ matrix.pyopenssl }}\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:07.747177", "created_at": "2021-09-08T16:08:02+02:00", "updated_at": "2022-01-26T10:51:26+01:00", "name": "Coverage", "path": ".github/workflows/coverage.yml", "contents": "name: Coverage\n\non:\n  pull_request:\n    paths:\n      - .github/workflows/coverage.yml\n      - httpie/**/*.py\n      - setup.*\n      - tests/**/*.py\n\njobs:\n  coverage:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - run: make install\n      - run: make test-cover\n      - run: make codecov-upload\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_REPO_TOKEN }}\n      - run: make test-dist\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:08.918466", "created_at": "2021-09-08T16:18:52+02:00", "updated_at": "2022-01-26T10:51:26+01:00", "name": "Code Style Check", "path": ".github/workflows/code-style.yml", "contents": "name: Code Style Check\n\non:\n  pull_request:\n    paths:\n      - .github/workflows/code-style.yml\n      - extras/*.py\n      - httpie/**/*.py\n      - setup.py\n      - tests/**/*.py\n\njobs:\n  code-style:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - run: make venv\n      - run: make codestyle\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:10.152381", "created_at": "2021-10-05T18:26:50+02:00", "updated_at": "2022-01-26T10:51:26+01:00", "name": "Check Markdown Style", "path": ".github/workflows/docs-check-markdown.yml", "contents": "name: Check Markdown Style\n\non:\n  pull_request:\n    paths:\n      - \"*.md\"\n      - \"**/*.md\"\n\njobs:\n  doc:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup Ruby\n        uses: ruby/setup-ruby@v1\n        with:\n          ruby-version: 2.7\n      - name: Install the linter\n        run: sudo gem install mdl\n      - name: Check files\n        run: make doc-check\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:11.277072", "created_at": "2021-10-05T18:26:50+02:00", "updated_at": "2022-01-26T10:51:27+01:00", "name": "Test Brew Package (MacOS)", "path": ".github/workflows/test-package-mac-brew.yml", "contents": "name: Test Brew Package (MacOS)\n\non:\n  pull_request:\n    paths:\n      - .github/workflows/test-package-mac-brew.yml\n      - docs/packaging/brew/httpie.rb\n  workflow_dispatch:\n\njobs:\n  brew:\n    runs-on: macos-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup brew\n        run: |\n          brew developer on\n          brew update\n      - name: Build and test the formula\n        run: make brew-test\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:12.300806", "created_at": "2021-10-05T18:26:50+02:00", "updated_at": "2022-01-26T10:51:27+01:00", "name": "Test Snap Package (Linux)", "path": ".github/workflows/test-package-linux-snap.yml", "contents": "name: Test Snap Package (Linux)\n\n\non:\n  pull_request:\n    paths:\n      - .github/workflows/test-package-linux-snap.yml\n      - snapcraft.yaml\n  workflow_dispatch:\n\njobs:\n  snap:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Build\n        uses: snapcore/action-build@v1\n        id: snapcraft\n      - name: Install\n        run: sudo snap install --dangerous ${{ steps.snapcraft.outputs.snap }}\n      - name: Test\n        run: |\n          httpie.http --version\n          httpie.https --version\n          httpie --version\n          # Auto-aliases cannot be tested when installing a snap outside the store.\n          # http --version\n          # https --version\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:13.532009", "created_at": "2021-10-06T11:18:30+02:00", "updated_at": "2022-01-26T10:51:26+01:00", "name": "Deploy Documentation", "path": ".github/workflows/docs-deploy.yml", "contents": "name: Deploy Documentation\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      - docs/README.md\n      - docs/config.json\n  release:\n    types:\n      - published\n      - unpublished\n      - deleted\njobs:\n  trigger-doc-build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Install HTTPie\n        run: sudo pip install httpie\n      - name: Trigger new documentation build\n        run: http --ignore-stdin POST ${{ secrets.DOCS_UPDATE_VERCEL_HOOK }}\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:14.758824", "created_at": "2021-10-08T11:24:26+02:00", "updated_at": "2022-03-09T13:26:57+01:00", "name": "Release on Snap", "path": ".github/workflows/release-snap.yml", "contents": "name: Release on Snap\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch, tag or SHA to release from\"\n        required: true\n        default: \"master\"\n\njobs:\n  snap-build-and-release:\n    name: Build & Release the Snap Package\n    runs-on: ubuntu-latest\n\n    strategy:\n      # If any of the stages fail, then we'll stop the action\n      # to give release manager time to investigate the underlying\n      # issue.\n      fail-fast: true\n      matrix:\n        level: [edge, beta, candidate, stable]\n\n    # Set the concurrency level for this version, so\n    # that we'll release one by one.\n    concurrency: ${{ github.event.inputs.branch }}\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.inputs.branch }}\n\n      - uses: snapcore/action-build@v1\n        id: build\n\n      - uses: snapcore/action-publish@v1\n        env:\n          SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}\n        with:\n          snap: ${{ steps.build.outputs.snap }}\n          release: ${{ matrix.level }}\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:15.868481", "created_at": "2021-12-06T17:41:20+01:00", "updated_at": "2021-12-14T16:05:33+01:00", "name": "Benchmark", "path": ".github/workflows/benchmark.yml", "contents": "name: Benchmark\n\non:\n  pull_request:\n    types: [ labeled ]\n\npermissions:\n  issues: write\n  pull-requests: write\n\njobs:\n  test:\n    if: github.event.label.name == 'benchmark'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n\n      - id: benchmarks\n        name: Run Benchmarks\n        run: |\n          python -m pip install pyperf>=2.3.0\n          python extras/profiling/run.py --fresh --complex  --min-speed=6 --file output.txt\n          body=$(cat output.txt)\n          body=\"${body//'%'/'%25'}\"\n          body=\"${body//$'\\n'/'%0A'}\"\n          body=\"${body//$'\\r'/'%0D'}\"\n          echo \"::set-output name=body::$body\"\n\n      - name: Find Comment\n        uses: peter-evans/find-comment@v2\n        id: fc\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          comment-author: 'github-actions[bot]'\n          body-includes: '# Benchmarks'\n\n      - name: Create or update comment\n        uses: peter-evans/create-or-update-comment@v2\n        with:\n          comment-id: ${{ steps.fc.outputs.comment-id }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: |\n            # Benchmarks\n            ${{ steps.benchmarks.outputs.body }}\n          edit-mode: replace\n\n      - uses: actions-ecosystem/action-remove-labels@v1\n        with:\n          labels: benchmark\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:17.033120", "created_at": "2021-12-16T10:06:02+01:00", "updated_at": "2021-12-16T10:11:15+01:00", "name": "Mark stale pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale pull requests\n\non: workflow_dispatch\n\npermissions:\n  pull-requests: write\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/stale@v8\n      with:\n        close-pr-message: 'Thanks for the pull request, but since it was stale for more than a 30 days we are closing it. If you want to work back on it, feel free to re-open it or create a new one.'\n        stale-pr-label: 'stale'\n\n        days-before-stale: -1\n        days-before-issue-stale: -1\n        days-before-pr-stale: 30\n\n        days-before-close: -1\n        days-before-issue-close: -1\n        days-before-pr-close: 0\n        \n        operations-per-run: 300\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:18.123812", "created_at": "2022-03-09T13:26:56+01:00", "updated_at": "2022-03-09T13:26:56+01:00", "name": "Release on Homebrew", "path": ".github/workflows/release-brew.yml", "contents": "name: Release on Homebrew\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch, tag or SHA to release from\"\n        required: true\n        default: \"master\"\n\njobs:\n  brew-release:\n    name: Release the Homebrew Package\n    runs-on: macos-latest\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.inputs.branch }}\n\n      - uses: mislav/bump-homebrew-formula-action@v2\n        with:\n          formula-name: httpie\n          tag-name: ${{ github.events.inputs.branch }}\n        env:\n          COMMITTER_TOKEN: ${{ secrets.BREW_UPDATE_TOKEN }}\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:19.265185", "created_at": "2022-03-09T13:26:56+01:00", "updated_at": "2022-03-09T13:26:56+01:00", "name": "Release on Chocolatey", "path": ".github/workflows/release-choco.yml", "contents": "name: Release on Chocolatey\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch, tag or SHA to release from\"\n        required: true\n        default: \"master\"\n\njobs:\n  brew-release:\n    name: Release the Chocolatey\n    runs-on: windows-2019\n    env:\n        package-dir: docs\\packaging\\windows-chocolatey\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.inputs.branch }}\n\n      # Chocolatey comes already installed on the Windows GHA image\n      - name: Build the Choco package\n        shell: cmd\n        run: choco pack -v\n        working-directory: ${{ env.package-dir }}\n\n      - name: Check the Choco package\n        run: choco info httpie -s .\n        working-directory: ${{ env.package-dir }}\n\n      - name: Local installation\n        run: |\n          choco install httpie -y -dv -s \"'.;https://community.chocolatey.org/api/v2/'\"\n        working-directory: ${{ env.package-dir }}\n\n      - name: Test the locally installed binaries\n        run: |\n          # Source: https://stackoverflow.com/a/46760714/15330941\n\n          # Make `refreshenv` available right away, by defining the $env:ChocolateyInstall\n          # variable and importing the Chocolatey profile module.\n          $env:ChocolateyInstall = Convert-Path \"$((Get-Command choco).Path)\\..\\..\"\n          Import-Module \"$env:ChocolateyInstall\\helpers\\chocolateyProfile.psm1\"\n          refreshenv\n\n          http --version\n          https --version\n          httpie --version\n          choco uninstall -y httpie\n        working-directory: ${{ env.package-dir }}\n\n      - name: Publish on Chocolatey\n        shell: bash\n        env:\n          CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }}\n        run: |\n          choco apikey --key $CHOCO_API_KEY --source https://push.chocolatey.org/\n          choco push httpie*.nupkg --source https://push.chocolatey.org/\n        working-directory: ${{ env.package-dir }}\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:20.493333", "created_at": "2022-03-09T13:26:56+01:00", "updated_at": "2022-03-09T13:26:56+01:00", "name": "Release on PyPI", "path": ".github/workflows/release-pypi.yml", "contents": "name: Release on PyPI\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch, tag or SHA to release from\"\n        required: true\n        default: \"master\"\n\njobs:\n  pypi-build-and-release:\n    name: Build and Release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.inputs.branch }}\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n\n      - name: Build a binary wheel and a source tarball\n        run: make install && make build\n\n      - name: Release on PyPI\n        uses: pypa/gh-action-pypi-publish@master\n        with:\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:21.620235", "created_at": "2022-03-17T13:24:54+01:00", "updated_at": "2022-04-14T17:11:15+02:00", "name": "Release as Standalone Linux Package", "path": ".github/workflows/release-linux-standalone.yml", "contents": "name: Release as Standalone Linux Package\n\non:\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"The branch, tag or SHA to release from\"\n        required: true\n        default: \"master\"\n      tag_name:\n        description: \"Which release to upload the artifacts to (e.g., 3.0)\"\n        required: true\n\n  release:\n    types: [released, prereleased]\n\n\njobs:\n  binary-build-and-release:\n    name: Build and Release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.inputs.branch }}\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n\n      - name: Build Artifacts\n        run: |\n          cd extras/packaging/linux\n          ./get_release_artifacts.sh\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: http\n          path: extras/packaging/linux/artifacts/dist/http\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: httpie.deb\n          path: extras/packaging/linux/artifacts/dist/*.deb\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: httpie.rpm\n          path: extras/packaging/linux/artifacts/dist/*.rpm\n\n      - name: Determine the release upload upload_url\n        id: release_id\n        run: |\n          pip install httpie\n          export API_URL=\"api.github.com/repos/httpie/cli/releases/tags/${{ github.event.inputs.tag_name }}\"\n          export UPLOAD_URL=`https --ignore-stdin GET $API_URL | jq -r \".upload_url\"`\n          echo \"::set-output name=UPLOAD_URL::$UPLOAD_URL\"\n\n      - name: Publish Debian Package\n        uses: actions/upload-release-asset@v1.0.2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.release_id.outputs.UPLOAD_URL }}\n          asset_path: extras/packaging/linux/artifacts/dist/httpie_${{ github.event.inputs.tag_name }}_amd64.deb\n          asset_name: httpie-${{ github.event.inputs.tag_name }}.deb\n          asset_content_type: binary/octet-stream\n\n      - name: Publish Single Executable\n        uses: actions/upload-release-asset@v1.0.2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.release_id.outputs.UPLOAD_URL }}\n          asset_path: extras/packaging/linux/artifacts/dist/http\n          asset_name: http\n          asset_content_type: binary/octet-stream\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:22.652836", "created_at": "2023-05-22T20:56:33+02:00", "updated_at": "2023-05-22T20:56:33+02:00", "name": "Update Generated Content", "path": ".github/workflows/content.yml", "contents": "name: Update Generated Content\non:\n  push:\n    branches:\n      - master\njobs:\n  update-content:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n      - run: make content\n      - name: Create Pull Request\n        id: cpr\n        uses: peter-evans/create-pull-request@v4\n        with:\n          commit-message: \"[automated] Update generated content\"\n          title: \"[automated] Update generated content\"\n          delete-branch: true\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:23.690333", "created_at": "2023-11-21T18:20:15+01:00", "updated_at": "2023-11-21T18:20:15+01:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": null, "state": "active", "repository": "httpie/cli"}
{"mined_at": "2024-07-15T18:35:26.022710", "created_at": "2022-03-22T11:24:09+01:00", "updated_at": "2022-03-22T11:24:09+01:00", "name": "Unit tests", "path": ".github/workflows/linter.yml", "contents": "---\nname: Unit tests\n\n#\n# Documentation:\n# https://help.github.com/en/articles/workflow-syntax-for-github-actions\n#\n\n#############################\n# Start the job on all push #\n#############################\non: [push, pull_request]\n\n###############\n# Set the Job #\n###############\njobs:\n  build:\n    # Name the Job\n    name: Unit Test Code Base\n    # Set the agent to run on\n    runs-on: ubuntu-latest\n\n    ##################\n    # Load all steps #\n    ##################\n    steps:\n      ##########################\n      # Checkout the code base #\n      ##########################\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          # Full git history is needed to get a proper list of changed files within `super-linter`\n          fetch-depth: 0\n\n      - name: Setup helm\n        uses: azure/setup-helm@v3\n        with:\n          version: 'v3.13.2'\n        id: install\n\n      ################################\n      # Run Linter against code base #\n      ################################\n      # - name: Lint Code Base\n      #   uses: github/super-linter@v4\n      #   env:\n      #     VALIDATE_ALL_CODEBASE: false\n      #     DEFAULT_BRANCH: main\n      #     GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Run make test\n        run: |\n          make test\n\n      - name: Run make helmlint\n        run: |\n          make helmlint\n\n      # - name: Run make helm kubeconform\n      #   run: |\n      #     curl -L -O https://github.com/yannh/kubeconform/releases/download/v0.4.13/kubeconform-linux-amd64.tar.gz\n      #     tar xf kubeconform-linux-amd64.tar.gz\n      #     sudo mv -v kubeconform /usr/local/bin\n      #     make kubeconform\n", "state": "active", "repository": "validatedpatterns/industrial-edge"}
{"mined_at": "2024-07-15T18:35:27.354352", "created_at": "2022-06-27T18:04:45+02:00", "updated_at": "2022-06-27T21:14:49+02:00", "name": "Super linter", "path": ".github/workflows/superlinter.yml", "contents": "---\nname: Super linter\n\non: [push, pull_request]\n\njobs:\n  build:\n    # Name the Job\n    name: Super linter\n    # Set the agent to run on\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          # Full git history is needed to get a proper list of changed files within `super-linter`\n          fetch-depth: 0\n\n      ################################\n      # Run Linter against code base #\n      ################################\n      - name: Lint Code Base\n        uses: github/super-linter/slim@v5\n        env:\n          VALIDATE_ALL_CODEBASE: true\n          DEFAULT_BRANCH: main\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # These are the validation we disable atm\n          VALIDATE_BASH: false\n          VALIDATE_JSCPD: false\n          VALIDATE_KUBERNETES_KUBECONFORM: false\n          VALIDATE_YAML: false\n          VALIDATE_ANSIBLE: false\n          VALIDATE_DOCKERFILE_HADOLINT: false\n          # VALIDATE_MARKDOWN: false\n          # VALIDATE_NATURAL_LANGUAGE: false\n          VALIDATE_TEKTON: false\n", "state": "active", "repository": "validatedpatterns/industrial-edge"}
{"mined_at": "2024-07-15T18:35:29.402449", "created_at": "2022-07-02T16:01:22+02:00", "updated_at": "2022-07-02T16:08:33+02:00", "name": "Ansible Lint", "path": ".github/workflows/ansible-lint.yml", "contents": "name: Ansible Lint # feel free to pick your own name\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      # Important: This sets up your GITHUB_WORKSPACE environment variable\n      - uses: actions/checkout@v4\n\n      - name: Lint Ansible Playbook\n        uses: ansible/ansible-lint-action@v6\n        # Let's point it to the path\n        with:\n          path: \"ansible/\"\n", "state": "active", "repository": "validatedpatterns/multicloud-gitops"}
{"mined_at": "2024-07-15T18:35:30.631584", "created_at": "2023-01-20T12:27:13+01:00", "updated_at": "2023-01-20T13:42:56+01:00", "name": "Verify json schema", "path": ".github/workflows/jsonschema.yaml", "contents": "---\nname: Verify json schema\n\n#\n# Documentation:\n# https://help.github.com/en/articles/workflow-syntax-for-github-actions\n#\n\n#############################\n# Start the job on all push #\n#############################\non: [push, pull_request]\n\n###############\n# Set the Job #\n###############\njobs:\n  jsonschema_tests:\n    # Name the Job\n    name: Json Schema tests\n    strategy:\n      matrix:\n        python-version: [3.11]\n    # Set the agent to run on\n    runs-on: ubuntu-latest\n\n    ##################\n    # Load all steps #\n    ##################\n    steps:\n      ##########################\n      # Checkout the code base #\n      ##########################\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          # Full git history is needed to get a proper list of changed files within `super-linter`\n          fetch-depth: 0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install check-jsonschema\n\n      - name: Install yq\n        uses: chrisdickinson/setup-yq@latest\n        with:\n          yq-version: v4.30.7\n\n      - name: Verify secrets json schema against templates\n        run: |\n          # check-jsonschema needs .yaml as an extension\n          cp ./values-secret.yaml.template ./values-secret.yaml\n          check-jsonschema --schemafile ./common/ansible/roles/vault_utils/values-secrets.v2.schema.json values-secret.yaml\n          rm -f ./values-secret.yaml\n\n      - name: Verify ClusterGroup values.schema.json against values-*yaml files\n        run: |\n          set -e; for i in values-hub.yaml values-group-one.yaml; do\n            echo \"$i\"\n            # disable shellcheck of single quotes in yq\n            # shellcheck disable=2016\n            yq eval-all '. as $item ireduce ({}; . * $item )' values-global.yaml \"$i\" > tmp.yaml\n            check-jsonschema --schemafile ./common/clustergroup/values.schema.json tmp.yaml\n            rm -f tmp.yaml\n          done\n\n", "state": "active", "repository": "validatedpatterns/multicloud-gitops"}
{"mined_at": "2024-07-15T18:35:31.859677", "created_at": "2022-02-08T16:54:06+01:00", "updated_at": "2022-03-22T11:44:51+01:00", "name": "Unit tests", "path": ".github/workflows/linter.yml", "contents": "---\nname: Unit tests\n\n#\n# Documentation:\n# https://help.github.com/en/articles/workflow-syntax-for-github-actions\n#\n\n#############################\n# Start the job on all push #\n#############################\non: [push, pull_request]\n\n###############\n# Set the Job #\n###############\njobs:\n  build:\n    # Name the Job\n    name: Unit Test Code Base\n    # Set the agent to run on\n    runs-on: ubuntu-latest\n\n    ##################\n    # Load all steps #\n    ##################\n    steps:\n      ##########################\n      # Checkout the code base #\n      ##########################\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          # Full git history is needed to get a proper list of changed files within `super-linter`\n          fetch-depth: 0\n      - name: Setup helm\n        uses: azure/setup-helm@v4\n        with:\n          version: 'v3.14.0'\n        id: install\n\n      ################################\n      # Run Linter against code base #\n      ################################\n      # - name: Lint Code Base\n      #   uses: github/super-linter@v4\n      #   env:\n      #     VALIDATE_ALL_CODEBASE: false\n      #     DEFAULT_BRANCH: main\n      #     GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Run make test\n        run: |\n          make test\n\n      - name: Run make helmlint\n        run: |\n          make helmlint\n\n      # Disable kubeconform for the time being\n      # - name: Run make helm kubeconform\n      #   run: |\n      #     curl -L -O https://github.com/yannh/kubeconform/releases/download/v0.4.13/kubeconform-linux-amd64.tar.gz\n      #     tar xf kubeconform-linux-amd64.tar.gz\n      #     sudo mv -v kubeconform /usr/local/bin\n      #     make kubeconform\n", "state": "active", "repository": "validatedpatterns/multicloud-gitops"}
{"mined_at": "2024-07-15T18:35:33.088796", "created_at": "2022-06-27T18:03:51+02:00", "updated_at": "2022-06-27T21:25:15+02:00", "name": "Super linter", "path": ".github/workflows/superlinter.yml", "contents": "---\nname: Super linter\n\non: [push, pull_request]\n\njobs:\n  build:\n    # Name the Job\n    name: Super linter\n    # Set the agent to run on\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          # Full git history is needed to get a proper list of changed files within `super-linter`\n          fetch-depth: 0\n\n      ################################\n      # Run Linter against code base #\n      ################################\n      - name: Lint Code Base\n        uses: github/super-linter/slim@v6\n        env:\n          VALIDATE_ALL_CODEBASE: true\n          DEFAULT_BRANCH: main\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # These are the validation we disable atm\n          VALIDATE_ANSIBLE: false\n          VALIDATE_BASH: false\n          VALIDATE_CHECKOV: false\n          VALIDATE_JSCPD: false\n          VALIDATE_KUBERNETES_KUBECONFORM: false\n          VALIDATE_PYTHON_PYLINT: false\n          VALIDATE_SHELL_SHFMT: false\n          VALIDATE_YAML: false\n          # VALIDATE_DOCKERFILE_HADOLINT: false\n          # VALIDATE_MARKDOWN: false\n          # VALIDATE_NATURAL_LANGUAGE: false\n          # VALIDATE_TEKTON: false\n", "state": "active", "repository": "validatedpatterns/multicloud-gitops"}
{"mined_at": "2024-07-15T18:35:35.342045", "created_at": "2020-01-07T01:37:32+01:00", "updated_at": "2020-01-11T10:18:25+01:00", "name": "Release Management", "path": "", "contents": null, "state": "active", "repository": "ansible/molecule"}
{"mined_at": "2024-07-15T18:35:36.576893", "created_at": "2021-10-18T16:12:44+02:00", "updated_at": "2023-05-11T05:38:24+02:00", "name": "ack", "path": ".github/workflows/ack.yml", "contents": "# See https://github.com/ansible/team-devtools/blob/main/.github/workflows/ack.yml\nname: ack\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request_target:\n    types: [opened, labeled, unlabeled, synchronize]\n\njobs:\n  ack:\n    uses: ansible/team-devtools/.github/workflows/ack.yml@token_revised\n    secrets: inherit\n", "state": "active", "repository": "ansible/molecule"}
{"mined_at": "2024-07-15T18:35:37.634758", "created_at": "2021-10-27T12:17:28+02:00", "updated_at": "2023-12-13T13:33:29+01:00", "name": "push", "path": ".github/workflows/push.yml", "contents": "---\n# See https://github.com/ansible/team-devtools/blob/main/.github/workflows/push.yml\nname: push\non:\n  push:\n    branches:\n      - main\n      - \"releases/**\"\n      - \"stable/**\"\n  workflow_dispatch:\n\njobs:\n  ack:\n    uses: ansible/team-devtools/.github/workflows/push.yml@main\n", "state": "active", "repository": "ansible/molecule"}
{"mined_at": "2024-07-15T18:35:38.823306", "created_at": "2023-04-20T10:24:02+02:00", "updated_at": "2023-04-20T10:24:02+02:00", "name": "redirects", "path": ".github/workflows/redirects.yml", "contents": "---\n# Sync RTD redirects\nname: redirects\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - docs/redirects.yml\n      - .github/workflows/redirects.yml\n\n  # Manually triggered using GitHub's UI\n  workflow_dispatch:\n\njobs:\n  docs:\n    environment: release\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n\n      - name: Upgrade Python toolchain\n        run: python3 -m pip install --upgrade pip setuptools wheel\n\n      - name: Install readthedocs-cli\n        run: python3 -m pip install readthedocs-cli\n\n      - name: Sync redirects\n        run: rtd projects ansible-lint redirects sync -f docs/redirects.yml --wet-run\n        env:\n          RTD_TOKEN: ${{ secrets.RTD_TOKEN }}\n", "state": "active", "repository": "ansible/molecule"}
{"mined_at": "2024-07-15T18:35:40.052015", "created_at": "2021-07-19T09:25:04+02:00", "updated_at": "2021-07-19T09:25:04+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  release:\n    types: [published]\n\njobs:\n  pypi:\n    name: release ${{ github.event.ref }}\n    environment: release\n    runs-on: ubuntu-22.04\n    permissions:\n      id-token: write\n\n    env:\n      FORCE_COLOR: 1\n      PY_COLORS: 1\n      TOX_PARALLEL_NO_SPINNER: 1\n\n    steps:\n      - name: Switch to using Python 3.12 by default\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install tox\n        run: python3 -m pip install --user \"tox>=4.0.0\"\n      - name: Check out src from Git\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # needed by setuptools-scm\n      - name: Build dists\n        run: python3 -m tox -e pkg\n      - name: Publish to pypi.org\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "ansible/molecule"}
{"mined_at": "2024-07-15T18:35:41.281286", "created_at": "2020-08-19T14:21:39+02:00", "updated_at": "2023-04-19T19:17:34+02:00", "name": "tox", "path": ".github/workflows/tox.yml", "contents": "---\nname: tox\n\non:\n  push:\n    branches:\n      - \"main\"\n  pull_request:\n    branches:\n      - \"main\"\n  workflow_call:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}\n  cancel-in-progress: true\n\njobs:\n  tox:\n    uses: ansible/team-devtools/.github/workflows/tox.yml@main\n    with:\n      other_names_also: \"eco\"\n", "state": "active", "repository": "ansible/molecule"}
{"mined_at": "2024-07-15T18:35:42.512285", "created_at": "2024-07-14T07:52:35+02:00", "updated_at": "2024-07-14T07:52:35+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "ansible/molecule"}
{"mined_at": "2024-07-15T18:35:44.762997", "created_at": "2023-05-19T16:29:29+02:00", "updated_at": "2023-09-01T10:32:37+02:00", "name": "Docker Daily", "path": ".github/workflows/docker-daily.yml", "contents": "name: Docker Daily\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\npermissions: read-all\n\non:\n  push:\n    branches: \"*\"\n    # Publish semver tags as releases.\n    tags: [\"*.*.*\"]\n\njobs:\n  release_ghcr: \n    if: github.event_name == 'push' && !contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      # This is used to complete the identity challenge\n      # with sigstore/fulcio when running outside of PRs.\n      id-token: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: get tag\n        run: echo release=$(git describe --tags `git rev-list --tags --max-count=1`) >> $GITHUB_ENV\n      - name: Setup Docker buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: login to ghcr\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN}}\n          # Extract metadata (tags, labels) for Docker\n      # https://github.com/docker/metadata-action\n      - name: Extract Docker metadata ghrc.io\n        id: meta2\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            ghcr.io/datawhores/of-scraper\n          tags: |\n            type=raw,value={{branch}}\n            type=raw,value={{branch}}-{{sha}}\n\n      - name: push to image ghrc.io\n        id: build-and-push2\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          tags: ${{ steps.meta2.outputs.tags }}\n          labels: ${{ steps.meta2.outputs.labels }}\n          cache-to: type=gha,mode=max\n          push: true\n\n  release_github:\n    if: github.event_name == 'push' && !contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      # This is used to complete the identity challenge\n      # with sigstore/fulcio when running outside of PRs.\n      id-token: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: get tag\n        run: echo release=$(git describe --tags `git rev-list --tags --max-count=1`) >> $GITHUB_ENV\n      - name: Setup Docker buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      # Extract metadata (tags, labels) for Docker\n      # https://github.com/docker/metadata-action\n      - name: Extract Docker metadata for Docker Hub\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: |\n            datawhores/of-scraper\n          tags: |\n            type=raw,value={{branch}}\n            type=raw,value={{branch}}-{{sha}}\n\n      - name: push to image Docker Hub\n        id: build-and-push\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-to: type=gha,mode=max\n          push: true\n\n      - name: cosign-installer Docker Hub\n        uses: sigstore/cosign-installer@v3.0.5\n\n      - name: Write signing key to disk Docker Hub\n        run: 'echo \"$KEY\" > cosign.key'\n        shell: bash\n        env:\n          KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}\n\n      - name: Sign the published Docker image Docker Hub\n        env:\n          COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}\n          COSIGN_EXPERIMENTAL: \"true\"\n        run: echo \"${{ steps.meta.outputs.tags }}\" | xargs -I {} cosign sign --yes --key cosign.key {}@${{ steps.build-and-push.outputs.digest }}\n\n      #       # Sign the resulting Docker image digest except on PRs.\n      #       # This will only write to the public Rekor transparency log when the Docker\n      #       # repository is public to avoid leaking data.  If you would like to publish\n      #       # transparency data even for private images, pass --force to cosign below.\n      #       # https://github.com/sigstore/cosign\n      #       - name: Sign the published Docker image\n      #         env:\n      #           COSIGN_EXPERIMENTAL: \"true\"\n      #         # This step uses the identity token to provision an ephemeral certificate\n      #         # against the sigstore community Fulcio instance.\n      #         run: echo \"${{ steps.meta.outputs.tags }}\" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}\n      #Login against a Docker registry except on PR\n      #https://github.com/docker/login-action", "state": "active", "repository": "datawhores/OF-Scraper"}
{"mined_at": "2024-07-15T18:35:45.872594", "created_at": "2023-05-19T16:29:44+02:00", "updated_at": "2023-07-11T00:42:32+02:00", "name": ".github/workflows/docker-release.yml", "path": ".github/workflows/docker-release.yml", "contents": null, "state": "active", "repository": "datawhores/OF-Scraper"}
{"mined_at": "2024-07-15T18:35:47.117975", "created_at": "2023-05-19T17:18:41+02:00", "updated_at": "2023-05-19T17:18:41+02:00", "name": "codecov", "path": ".github/workflows/codecov.yml", "contents": "name: codecov\npermissions: read-all\non:\n  push:\n    branches: main\n    # Publish semver tags as releases.\n    tags: [v*.*.*]\n  pull_request:\n    branches: main\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up Python 3.11.5\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11.5\n      - name: install poetry\n        uses: abatilo/actions-poetry@v2\n        with:\n          poetry-version: 1.4.1\n      - name: Install dependencies\n        run: poetry install --with test\n      - name: create required folder\n        run: mkdir -p /home/runner/.config/ofscraper/main_profile\n      - name: Run tests and collect coverage\n        run: poetry run pytest --cov-report term --cov-report xml:coverage.xml --cov=src\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v3\n", "state": "active", "repository": "datawhores/OF-Scraper"}
{"mined_at": "2024-07-15T18:35:48.117699", "created_at": "2023-05-19T18:18:31+02:00", "updated_at": "2023-07-11T00:42:32+02:00", "name": ".github/workflows/release-pypi.yml", "path": ".github/workflows/release-pypi.yml", "contents": null, "state": "active", "repository": "datawhores/OF-Scraper"}
{"mined_at": "2024-07-15T18:35:49.268371", "created_at": "2023-05-20T05:53:24+02:00", "updated_at": "2023-05-20T05:53:58+02:00", "name": "Delete Package", "path": ".github/workflows/package-delete.yml", "contents": "name: Delete Package\npermissions: read-all\non:\n  workflow_dispatch:\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      # This is used to complete the identity challenge\n      # with sigstore/fulcio when running outside of PRs.\n      id-token: write\n    steps:\n      - uses: snok/container-retention-policy@v2\n        with:\n          image-names: ofscraper\n          cut-off: two hours ago UTC+2\n          timestamp-to-use: updated_at\n          account-type: personal\n          keep-at-least: 10\n          skip-tags: latest,1.*\n          token: ${{ secrets.DOCKER_DELETE}}\n", "state": "active", "repository": "datawhores/OF-Scraper"}
{"mined_at": "2024-07-15T18:35:50.497550", "created_at": "2023-05-20T07:52:48+02:00", "updated_at": "2023-09-01T10:32:37+02:00", "name": "Docker Purge", "path": ".github/workflows/docker-purge.yml", "contents": "name: Docker Purge\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\" # every day at midnight\npermissions: read-all\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      # This is used to complete the identity challenge\n      # with sigstore/fulcio when running outside of PRs.\n      id-token: write\n\n    steps:\n      - name: Main purger\n        uses: snok/container-retention-policy@v2\n        with:\n          image-names: of-scraper\n          timestamp-to-use: created_at\n          account-type: personal\n          token: ${{ secrets.DOCKER_DELETE}}\n          filter-tags: sha*\n          cut-off: 1 second ago UTC\n      - name: Delete untagged\n        uses: snok/container-retention-policy@v2\n        with:\n          image-names: of-scraper\n          cut-off: 1 second ago UTC\n          account-type: personal\n          token: ${{ secrets.DOCKER_DELETE}}\n          untagged-only: true\n", "state": "active", "repository": "datawhores/OF-Scraper"}
{"mined_at": "2024-07-15T18:35:51.617278", "created_at": "2023-06-06T05:08:56+02:00", "updated_at": "2023-11-30T19:36:48+01:00", "name": ".github/workflows/trigger_test.yml", "path": ".github/workflows/trigger_test.yml", "contents": null, "state": "active", "repository": "datawhores/OF-Scraper"}
{"mined_at": "2024-07-15T18:35:52.634097", "created_at": "2023-07-03T15:39:53+02:00", "updated_at": "2024-03-26T17:33:12+01:00", "name": ".github/workflows/commit_bundler.yml", "path": ".github/workflows/commit_bundler.yml", "contents": "on:\n  push:\npermissions: read-all\njobs:\n  get_commit:\n    if: github.event_name == 'push' && !contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-20.04\n    outputs:\n      long: ${{ steps.commit.outputs.long}}\n      short: ${{ steps.commit.outputs.short}}\n      hash: ${{ steps.commit.outputs.hash}}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n\n      - name: commit\n        uses: pr-mpt/actions-commit-hash@v2\n        id: commit\n  create_version:\n    needs: [get_commit]\n    if: github.event_name == 'push' && !contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-20.04\n    name: create version doc\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: commit\n        uses: pr-mpt/actions-commit-hash@v2\n        id: commit\n      - name: Set up Python 3.11.5\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11.5\n      - name: install dunamai\n        run: pip install dunamai\n      - name: print version\n        run: dunamai from git --format \"{base}+{branch}.{commit}\" --pattern \"(?P<base>\\d+\\.\\d+(\\.((\\d+\\.\\w+)|\\w+)|))\"\n      - name: replace_version\n        run: |\n          sed -i -e s/'[^ ]*hardcoded__.*None'/__hardcoded__=\"\\\"$(dunamai from git --format \"{base}+{branch}.{commit}\" --pattern \"(?P<base>\\d+\\.\\d+(\\.((\\d+\\.\\w+)|\\w+)|))\")\\\"\"/ ofscraper/__version__.py\n      - name: show file\n        run: cat ofscraper/__version__.py\n      - name: upload release file\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/upload-artifact@v4\n          with: |\n            name: ofscraper_version_${{needs.get_commit.outputs.short}}\n            path: /home/runner/work/OF-Scraper/OF-Scraper/ofscraper/__version__.py\n            overwrite: true\n  linux_file:\n    if: github.event_name == 'push' && !contains(github.ref, 'refs/tags/')\n    needs: [create_version, get_commit]\n    runs-on: ubuntu-20.04\n    name: create linux release file\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: list files\n        run: ls -d $PWD/*\n      - name: list files2\n        run: ls -d $PWD/ofscraper/*\n      - name: replace version.py\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name: ofscraper_version_${{needs.get_commit.outputs.short}}\n            path: ofscraper\n      - name: create one file\n        uses: addnab/docker-run-action@v3\n        with:\n          image: datawhores/ubuntu:latest\n          options: -v ${{ github.workspace }}:/root/work\n          shell: bash\n          run: |\n            cd work\n            rm -rf ./ofscraper/dist\n            rm -rf ./ofscraper/build\n            apt-get install zip libxml2-dev libxslt-dev -y\n            python3.11 -m venv .venv\n            source .venv/bin/activate\n            python3.11 -m pip install pyinstaller==6.4.0\n            /root/.local/bin/poetry install\n            echo \"ls files\"\n            ls .\n            echo \"test ofscraper\"\n            ofscraper -h\n            echo \"install run pyinstaller dir\"\n            pyinstaller ./ofscraper/__main__.py --name \"ofscraper_linux_${{needs.get_commit.outputs.short}}\" --onefile\n            echo \"list files dir\"\n            ls dist\n\n      - name: upload file\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/upload-artifact@v4\n          with: |\n            name: ofscraper_linux_${{needs.get_commit.outputs.short}}\n            path: \"dist/ofscraper_linux_${{needs.get_commit.outputs.short}}\"\n            overwrite: true\n\n  linux_dir:\n    if: github.event_name == 'push' && !contains(github.ref, 'refs/tags/')\n    needs: [create_version, get_commit]\n    runs-on: ubuntu-20.04\n    name: create linux release zip\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: list files\n        run: ls -d $PWD/*\n      - name: list files2\n        run: ls -d $PWD/ofscraper/*\n      - name: replace version.py\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name: ofscraper_version_${{needs.get_commit.outputs.short}}\n            path: ofscraper\n\n      - name: create zip\n        uses: addnab/docker-run-action@v3\n        with:\n          image: datawhores/ubuntu:latest\n          options: -v ${{ github.workspace }}:/root/work\n          shell: bash\n          run: |\n            cd work\n            rm -rf ./ofscraper/dist\n            rm -rf ./ofscraper/build\n            apt-get install zip libxml2-dev libxslt-dev -y\n            python3.11 -m venv .venv\n            source .venv/bin/activate\n            python3.11 -m pip install pyinstaller==6.4.0\n            /root/.local/bin/poetry install\n            echo \"ls files\"\n            ls .\n            echo \"test ofscraper\"\n            ofscraper -h\n            echo \"run pyinstaller dir\"\n            pyinstaller ./ofscraper/__main__.py --name \"ofscraper_linux_${{needs.get_commit.outputs.short}}\"\n            echo \"list one dir\"\n            ls dist\n            zip -r \"dist/ofscraper_linux_${{needs.get_commit.outputs.short}}.zip\" \"dist/ofscraper_linux_${{needs.get_commit.outputs.short}}\"\n      - name: upload one file\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/upload-artifact@v4\n          with: |\n            name: \"ofscraper_linux_zip_${{needs.get_commit.outputs.short}}\"\n            path: \"dist/ofscraper_linux_${{needs.get_commit.outputs.short}}.zip\"\n            overwrite: true\n\n  windows_dir:\n    if: github.event_name == 'push' && !contains(github.ref, 'refs/tags/')\n    needs: [create_version, get_commit]\n    runs-on: windows-latest\n    name: create windows release zip\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: list files\n        run: ls .\n      - name: list files2\n        run: ls ofscraper\n      - name: commit\n        uses: pr-mpt/actions-commit-hash@v2\n        id: commit\n      - name: replace version.py\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name: ofscraper_version_${{needs.get_commit.outputs.short}}\n            path: ofscraper\n      - name: Set up Python 3.11.5\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11.5\n      - name: install poetry\n        uses: abatilo/actions-poetry@v2\n        with:\n          poetry-version: 1.4.1\n      - name: create virtualenv\n        run: python3 -m venv .venv\n      - name: install ofscraper windows\n        run: |\n          .venv\\Scripts\\activate.bat\n          pip install .\n          .venv\\Scripts\\deactivate.bat\n      - name: Install pyinstaller\n        run: |\n          .venv\\Scripts\\activate.bat\n          pip install pyinstaller==6.4.0\n          .venv\\Scripts\\deactivate.bat\n      - name: test ofscraper\n        run: |\n          .venv\\Scripts\\activate.bat\n          ofscraper -h\n      - name: create-dir\n        id: create-dir\n        run: |\n          .venv\\Scripts\\activate.bat\n          pyinstaller ofscraper\\__main__.py --collect-submodules ofscraper --name \"ofscraper_windows_${{needs.get_commit.outputs.short}}\" --paths . --clean --log DEBUG\n        continue-on-error: true\n      - name: create-dir2\n        if: steps.create-dir.outcome != 'success'\n        run: |\n          .venv\\Scripts\\activate.bat\n          pyinstaller .venv/Scripts/ofscraper --collect-submodules ofscrape --name \"ofscraper_windows_${{needs.get_commit.outputs.short}}\" --paths ofscraper --clean --log DEBUG\n      - uses: vimtor/action-zip@v1\n        with:\n          files: \"dist/ofscraper_windows_${{needs.get_commit.outputs.short}}\"\n          dest: \"dist/ofscraper_windows_${{needs.get_commit.outputs.short}}.zip\"\n      - name: upload one file\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/upload-artifact@v4\n          with: |\n            name: ofscraper_windows_zip_${{needs.get_commit.outputs.short}}\n            path: \"dist/ofscraper_windows_${{needs.get_commit.outputs.short}}.zip\"\n            overwrite: true\n\n  windows_file:\n    if: github.event_name == 'push' && !contains(github.ref, 'refs/tags/')\n    needs: [create_version, get_commit]\n    runs-on: windows-latest\n    name: create windows release file\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: list files\n        run: ls .\n      - name: list files2\n        run: ls ofscraper\n\n      - name: replace version.py\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name: ofscraper_version_${{needs.get_commit.outputs.short}}\n            path: ofscraper\n      - name: Set up Python 3.11.5\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11.5\n      - name: install poetry\n        uses: abatilo/actions-poetry@v2\n        with:\n          poetry-version: 1.4.1\n      - name: create virtualenv\n        run: python3 -m venv .venv\n      - name: install ofscraper windows\n        run: |\n          .venv\\Scripts\\activate.bat\n          pip install .\n          .venv\\Scripts\\deactivate.bat\n      - name: Install pyinstaller\n        run: |\n          .venv\\Scripts\\activate.bat\n           pip install pyinstaller==6.4.0\n          .venv\\Scripts\\deactivate.bat\n      - name: test ofscraper\n        run: ofscraper -h\n      - name: create-one-file\n        id: create-one-file\n        run: |\n          .venv\\Scripts\\activate.bat\n          pyinstaller ofscraper\\__main__.py --collect-submodules ofscraper --onefile --name \"ofscraper_windows_${{needs.get_commit.outputs.short}}\" -p ofscraper --clean --log DEBUG\n          .venv\\Scripts\\deactivate.bat\n        continue-on-error: true\n      - name: create-one-file2\n        if: steps.create-one-file.outcome != 'success'\n        run: |\n          .venv\\Scripts\\activate.bat\n          pyinstaller .venv/Scripts/ofscraper --onefile --collect-submodules ofscraper --name \"ofscraper_windows_${{needs.get_commit.outputs.short}}\" -p ofscraper --clean --log DEBUG\n          .venv\\Scripts\\deactivate.bat\n      - name: upload one file\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/upload-artifact@v4\n          with: |\n            path: \"dist/ofscraper_windows_${{needs.get_commit.outputs.short}}.exe\"\n            name: ofscraper_windows_${{needs.get_commit.outputs.short}}\n            overwrite: true\n\n  mac_file:\n    if: github.event_name == 'push' && !contains(github.ref, 'refs/tags/')\n    needs: [create_version, get_commit]\n    runs-on: macos-latest\n    name: create mac release file\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: list files\n        run: ls -d $PWD/*\n      - name: list files2\n        run: ls -d $PWD/ofscraper/*\n\n      - name: replace version.py\n        uses: Wandalen/wretry.action@master\n\n        with:\n          action: actions/download-artifact@v4\n          attempt_limit: 3\n          with: |\n            name: ofscraper_version_${{needs.get_commit.outputs.short}}\n            path: ofscraper\n      - name: Set up Python 3.11.5\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11.5\n      - name: create virtualenv\n        run: python3 -m venv .venv\n      - name: install poetry\n        uses: abatilo/actions-poetry@v2\n        with:\n          poetry-version: 1.4.1\n      - name: Install package\n        run: |\n          source .venv/bin/activate\n          pip install . -vvv\n          deactivate\n      - name: Install pyinstaller\n        run: |\n          source .venv/bin/activate\n          pip install pyinstaller==6.4.0\n          deactivate\n      - name: test ofscraper\n        run: |\n          export PATH=$PATH:/usr/local/bin\n          /Users/runner/work/OF-Scraper/OF-Scraper/.venv/bin/ofscraper -h\n      - name: create-one-file\n        id: create-one-file\n        run: |\n          rm -rf dist\n          rm -rf build\n          source .venv/bin/activate\n          export PATH=$PATH:/usr/local/bin\n          pyinstaller /Users/runner/work/OF-Scraper/OF-Scraper/ofscraper/__main__.py --collect-submodules /Users/runner/work/OF-Scraper/OF-Scraper/.venv/bin/ofscraper --onefile --name \"ofscraper_macos_${{needs.get_commit.outputs.short}}\"\n          deactivate\n        continue-on-error: true\n      - name: create-one-file2\n        id: create-one-file2\n        if: steps.create-one-file.outcome != 'success'\n        run: |\n          rm -rf dist\n          rm -rf build\n          source .venv/bin/activate\n          poetry run pyinstaller .venv/bin/ofscraper --onefile --name \"ofscraper_macos_${{needs.get_commit.outputs.short}}\"\n          deactivate\n\n      - name: upload file\n        uses: Wandalen/wretry.action@master\n\n        with:\n          action: actions/upload-artifact@v4\n          attempt_limit: 3\n          with: |\n            name: ofscraper_macos_${{needs.get_commit.outputs.short}}\n            path: \"dist/ofscraper_macos_${{needs.get_commit.outputs.short}}\"\n            overwrite: true\n\n  mac_dir:\n    if: github.event_name == 'push' && !contains(github.ref, 'refs/tags/')\n    needs: [create_version, get_commit]\n    runs-on: macos-latest\n    name: create mac release zip\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: list files\n        run: ls -d $PWD/*\n      - name: list files2\n        run: ls -d $PWD/ofscraper/*\n      - name: replace version.py\n        uses: Wandalen/wretry.action@master\n\n        with:\n          action: actions/download-artifact@v4\n          attempt_limit: 3\n          with: |\n            name: ofscraper_version_${{needs.get_commit.outputs.short}}\n            path: ofscraper\n      - name: Set up Python 3.11.5\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11.5\n      - name: create virtualenv\n        run: python3 -m venv .venv\n      - name: install poetry\n        uses: abatilo/actions-poetry@v2\n        with:\n          poetry-version: 1.4.1\n      - name: Install package\n        run: |\n          source .venv/bin/activate\n          pip install . -vvv\n          deactivate\n      - name: Install pyinstaller\n        run: |\n          source .venv/bin/activate\n          pip install pyinstaller==6.4.0\n          deactivate\n      - name: test ofscraper\n        run: |\n          export PATH=$PATH:/usr/local/bin\n          /Users/runner/work/OF-Scraper/OF-Scraper/.venv/bin/ofscraper -h\n      - name: create-dir\n        id: create-dir\n        run: |\n          rm -rf dist\n          rm -rf build\n          source .venv/bin/activate\n          pyinstaller /Users/runner/work/OF-Scraper/OF-Scraper/ofscraper/__main__.py --name \"ofscraper_macos_${{needs.get_commit.outputs.short}}\"\n          deactivate\n        continue-on-error: true\n      - name: create-dir2\n        id: create-dir2\n        if: steps.create-dir.outcome != 'success'\n        run: |\n          rm -rf dist\n          rm -rf build\n          source .venv/bin/activate\n          poetry run pyinstaller .venv/bin/ofscraper --name \"ofscraper_macos_${{needs.get_commit.outputs.short}}\"\n          deactivate\n      - uses: vimtor/action-zip@v1\n        with:\n          files: \"dist/ofscraper_macos_${{needs.get_commit.outputs.short}}\"\n          dest: \"dist/ofscraper_macos_${{needs.get_commit.outputs.short}}.zip\"\n\n      - name: upload zip\n        uses: Wandalen/wretry.action@master\n\n        with:\n          action: actions/upload-artifact@v4\n          with: |\n            name: ofscraper_macos_zip_${{needs.get_commit.outputs.short}}\n            path: \"dist/ofscraper_macos_${{needs.get_commit.outputs.short}}.zip\"\n            overwrite: true\n\n  publish_release:\n    if: github.event_name == 'push' && !contains(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n    name: publish\n    needs:\n      [\n        mac_file,\n        mac_dir,\n        windows_dir,\n        windows_file,\n        linux_file,\n        linux_dir,\n        get_commit,\n      ]\n    permissions:\n      contents: write\n    steps:\n      - name: download linux\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name:  ofscraper_linux_${{needs.get_commit.outputs.short}}\n      - name: download linux zip\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name:  ofscraper_linux_zip_${{needs.get_commit.outputs.short}}\n      - name: download mac\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name:  ofscraper_macos_${{needs.get_commit.outputs.short}}\n      - name: download mac zip\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name:  ofscraper_macos_zip_${{needs.get_commit.outputs.short}}\n      - name: download windows\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name:  ofscraper_windows_${{needs.get_commit.outputs.short}}\n      - name: download windows zip\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name:  ofscraper_windows_zip_${{needs.get_commit.outputs.short}}\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y.%m.%d')_$(date +%s| tail -c 7)\" >> $GITHUB_OUTPUT\n\n      - name: create release\n        uses: ncipollo/release-action@v1\n        with:\n          artifacts: /home/runner/work/OF-Scraper/OF-Scraper/ofscraper_*\n          tag: \"${{needs.get_commit.outputs.short}}\"\n          name: ${{env.name}}\n          body: ${{env.body}}\n          commit: \"${{needs.get_commit.outputs.long}}\"\n        env:\n          name: \"${{steps.date.outputs.date}}_${{ github.head_ref || github.ref_name }}_${{needs.get_commit.outputs.short}}_package\"\n          body: \"This is a auto generated release created from commit ${{ needs.get_commit.outputs.hash}}\"\n", "state": "active", "repository": "datawhores/OF-Scraper"}
{"mined_at": "2024-07-15T18:35:53.684821", "created_at": "2023-07-03T22:56:56+02:00", "updated_at": "2023-11-15T18:41:33+01:00", "name": "package builder release", "path": ".github/workflows/release_bundler.yml", "contents": "name: package builder release\npermissions: read-all\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: version\n        required: true\n      files:\n        required: true\n        type: boolean\n      pip:\n        required: true\n        type: boolean\n      docker:\n        required: true\n        type: boolean\n      docker_old:\n        required: true\n        type: boolean\njobs:\n  get_date:\n    runs-on: ubuntu-20.04\n    if: ${{ inputs.files}}\n    name: get_date\n    steps:\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y.%m.%d')_$(date +%s| tail -c 7)\" >> $GITHUB_OUTPUT\n    outputs:\n      date: ${{ steps.date.outputs.date}}\n\n  get_commit:\n    runs-on: ubuntu-20.04\n    outputs:\n      long: ${{ steps.commit.outputs.long}}\n      short: ${{ steps.commit.outputs.short}}\n      hash: ${{ steps.commit.outputs.hash}}\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n          ref: ${{inputs.version}}\n      - name: commit\n        uses: pr-mpt/actions-commit-hash@v2\n        id: commit\n  create_version:\n    needs: [get_date, get_commit]\n    runs-on: ubuntu-20.04\n    if: ${{ inputs.files}}\n    name: create version doc\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n          ref: ${{inputs.version}}\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: update line\n        run: sed -i -e s/'>=3.7.0,<4'/'>=3.7.0,<3.13'/ pyproject.toml\n      - name: Set up Python 3.11.5\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11.5\n      - name: install dunamai\n        run: pip install dunamai\n      - name: replace_version\n        run: |\n          sed -i -e s/'[^ ]*hardcoded.*None'/__hardcoded__=\"\\\"$(dunamai from git --format \"{base}\" --pattern \"(?P<base>\\d+\\.\\d+(\\.((\\d+\\.\\w+)|\\w+)|))\")\\\"\"/ ofscraper/__version__.py\n      - name: show file\n        run: cat ofscraper/__version__.py\n      - name: upload release file\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/upload-artifact@v4\n          with: |\n            name: ofscraper_version_${{needs.get_date.outputs.date}}\n            path: /home/runner/work/OF-Scraper/OF-Scraper/ofscraper/__version__.py\n\n  linux_file:\n    needs: [create_version, get_date, get_commit]\n    runs-on: ubuntu-20.04\n    name: create linux release file\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n          ref: ${{inputs.version}}\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: list files\n        run: ls -d $PWD/*\n      - name: list files2\n        run: ls -d $PWD/ofscraper/*\n      - name: replace version.py\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name: ofscraper_version_${{needs.get_date.outputs.date}}\n            path: ofscraper\n      - name: create one file\n        uses: addnab/docker-run-action@v3\n        with:\n          image: datawhores/ubuntu:latest\n          options: -v ${{ github.workspace }}:/root/work\n          shell: bash\n          run: |\n            cd work\n            rm -rf ./ofscraper/dist\n            rm -rf ./ofscraper/build\n            apt-get install zip libxml2-dev libxslt-dev -y\n            python3.11 -m venv .venv\n            source .venv/bin/activate\n            python3.11 -m pip install pyinstaller==6.4.0\n            /root/.local/bin/poetry install\n            echo \"ls files\"\n            ls .\n            echo \"test ofscraper\"\n            ofscraper -h\n            echo \"install run pyinstaller dir\"\n            pyinstaller ./ofscraper/__main__.py --name \"ofscraper_linux_${{inputs.version}}\" --onefile\n\n            echo \"list files dir\"\n            ls dist\n\n      - name: upload one file\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/upload-artifact@v4\n          with: |\n            name: ofscraper_linux_${{needs.get_date.outputs.date}}\n            path: \"dist/ofscraper_linux_${{inputs.version}}\"\n            overwrite: true\n\n  linux_dir:\n    needs: [create_version, get_date, get_commit]\n    runs-on: ubuntu-20.04\n    name: create linux release zip\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n          ref: ${{inputs.version}}\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: list files\n        run: ls -d $PWD/*\n      - name: list files2\n        run: ls -d $PWD/ofscraper/*\n      - name: replace version.py\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name: ofscraper_version_${{needs.get_date.outputs.date}}\n            path: ofscraper\n\n      - name: create zip\n        uses: addnab/docker-run-action@v3\n        with:\n          image: datawhores/ubuntu:latest\n          options: -v ${{ github.workspace }}:/root/work\n          shell: bash\n          run: |\n            cd work\n            rm -rf ./ofscraper/dist\n            rm -rf ./ofscraper/build\n            apt-get install zip libxml2-dev libxslt-dev -y\n            python3.11 -m venv .venv\n            source .venv/bin/activate\n            python3.11 -m pip install pyinstaller==6.4.0\n            /root/.local/bin/poetry install\n            echo \"ls files\"\n            ls .\n            echo \"test ofscraper\"\n            ofscraper -h\n            echo \"run pyinstaller dir\"\n            pyinstaller ./ofscraper/__main__.py --name \"ofscraper_linux_${{inputs.version}}\"\n            echo \"list one dir\"\n            ls dist\n            zip -r \"dist/ofscraper_linux_${{inputs.version}}.zip\" \"dist/ofscraper_linux_${{inputs.version}}\"\n      - name: upload one file\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/upload-artifact@v4\n          with: |\n            name: \"ofscraper_linux_zip_${{needs.get_date.outputs.date}}\"\n            path: \"dist/ofscraper_linux_${{inputs.version}}.zip\"\n            overwrite: true\n\n  windows_dir:\n    needs: [create_version, get_date, get_commit]\n    runs-on: windows-latest\n    name: create windows release zip\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n          ref: ${{inputs.version}}\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: list files\n        run: ls .\n      - name: list files2\n        run: ls ofscraper\n      - name: commit\n        uses: pr-mpt/actions-commit-hash@v2\n        id: commit\n      - name: replace version.py\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name: ofscraper_version_${{needs.get_date.outputs.date}}\n            path: ofscraper\n      - name: Set up Python 3.11.5\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11.5\n      - name: install poetry\n        uses: abatilo/actions-poetry@v2\n        with:\n          poetry-version: 1.4.1\n      - name: create virtualenv\n        run: python3 -m venv .venv\n      - name: install ofscraper windows\n        run: |\n          .venv\\Scripts\\activate.bat\n          pip install .\n          .venv\\Scripts\\deactivate.bat\n      - name: Install pyinstaller\n        run: |\n          .venv\\Scripts\\activate.bat\n          pip install pyinstaller==6.4.0\n          .venv\\Scripts\\deactivate.bat\n      - name: test ofscraper\n        run: |\n          .venv\\Scripts\\activate.bat\n          ofscraper -h\n      - name: create-dir\n        id: create-dir\n        run: |\n          .venv\\Scripts\\activate.bat\n          pyinstaller ofscraper\\__main__.py --collect-submodules ofscraper --name \"ofscraper_windows_${{inputs.version}}\" --paths . --clean --log DEBUG\n        continue-on-error: true\n      - name: create-dir2\n        if: steps.create-dir.outcome != 'success'\n        run: |\n          .venv\\Scripts\\activate.bat\n          pyinstaller .venv/Scripts/ofscraper --collect-submodules ofscrape --name \"ofscraper_windows_${{inputs.version}}\" --paths ofscraper --clean --log DEBUG\n      - uses: vimtor/action-zip@v1\n        with:\n          files: \"dist/ofscraper_windows_${{inputs.version}}\"\n          dest: \"dist/ofscraper_windows_${{inputs.version}}.zip\"\n      - name: upload one file\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/upload-artifact@v4\n          with: |\n            name: ofscraper_windows_zip_${{needs.get_date.outputs.date}}\n            path: \"dist/ofscraper_windows_${{inputs.version}}.zip\"\n            overwrite: true\n\n  windows_file:\n    needs: [create_version, get_date, get_commit]\n    runs-on: windows-latest\n    name: create windows release file\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n          ref: ${{inputs.version}}\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: list files\n        run: ls .\n      - name: list files2\n        run: ls ofscraper\n\n      - name: replace version.py\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name: ofscraper_version_${{needs.get_date.outputs.date}}\n            path: ofscraper\n      - name: Set up Python 3.11.5\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11.5\n      - name: install poetry\n        uses: abatilo/actions-poetry@v2\n        with:\n          poetry-version: 1.4.1\n      - name: create virtualenv\n        run: python3 -m venv .venv\n      - name: install ofscraper windows\n        run: |\n          .venv\\Scripts\\activate.bat\n          pip install .\n          .venv\\Scripts\\deactivate.bat\n      - name: Install pyinstaller\n        run: |\n          .venv\\Scripts\\activate.bat\n            pip install pyinstaller==6.4.0\n          .venv\\Scripts\\deactivate.bat\n      - name: test ofscraper\n        run: ofscraper -h\n      - name: create-one-file\n        id: create-one-file\n        run: |\n          .venv\\Scripts\\activate.bat\n          pyinstaller ofscraper\\__main__.py --collect-submodules ofscraper --onefile --name \"ofscraper_windows_${{inputs.version}}\" -p ofscraper --clean --log DEBUG\n          .venv\\Scripts\\deactivate.bat\n        continue-on-error: true\n      - name: create-one-file2\n        if: steps.create-one-file.outcome != 'success'\n        run: |\n          .venv\\Scripts\\activate.bat\n          pyinstaller .venv/Scripts/ofscraper --onefile --collect-submodules ofscraper --name \"ofscraper_windows_${{inputs.version}}\" -p ofscraper --clean --log DEBUG\n          .venv\\Scripts\\deactivate.bat\n      - name: upload one file\n        uses: Wandalen/wretry.action@master\n        with:\n          attempt_limit: 3\n          action: actions/upload-artifact@v4\n          with: |\n            path: \"dist/ofscraper_windows_${{inputs.version}}.exe\"\n            name: ofscraper_windows_${{needs.get_date.outputs.date}}\n            overwrite: true\n\n  mac_file:\n    needs: [create_version, get_date, get_commit]\n    runs-on: macos-latest\n    name: create mac release file\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n          ref: ${{inputs.version}}\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: list files\n        run: ls -d $PWD/*\n      - name: list files2\n        run: ls -d $PWD/ofscraper/*\n\n      - name: replace version.py\n        uses: Wandalen/wretry.action@master\n\n        with:\n          action: actions/download-artifact@v4\n          attempt_limit: 3\n          with: |\n            name: ofscraper_version_${{needs.get_date.outputs.date}}\n            path: ofscraper\n      - name: Set up Python 3.11.5\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11.5\n      - name: create virtualenv\n        run: python3 -m venv .venv\n      - name: install poetry\n        uses: abatilo/actions-poetry@v2\n        with:\n          poetry-version: 1.4.1\n      - name: Install package\n        run: |\n          source .venv/bin/activate\n          pip install . -vvv\n          deactivate\n      - name: Install pyinstaller\n        run: |\n          source .venv/bin/activate\n          pip install pyinstaller==6.4.0\n          deactivate\n      - name: test ofscraper\n        run: |\n          export PATH=$PATH:/usr/local/bin\n          /Users/runner/work/OF-Scraper/OF-Scraper/.venv/bin/ofscraper -h\n      - name: create-one-file\n        id: create-one-file\n        run: |\n          rm -rf dist\n          rm -rf build\n          source .venv/bin/activate\n          export PATH=$PATH:/usr/local/bin\n          pyinstaller /Users/runner/work/OF-Scraper/OF-Scraper/ofscraper/__main__.py --collect-submodules /Users/runner/work/OF-Scraper/OF-Scraper/.venv/bin/ofscraper --onefile --name \"ofscraper_macos_${{inputs.version}}\"\n          deactivate\n        continue-on-error: true\n      - name: create-one-file2\n        id: create-one-file2\n        if: steps.create-one-file.outcome != 'success'\n        run: |\n          rm -rf dist\n          rm -rf build\n          source .venv/bin/activate\n          poetry run pyinstaller .venv/bin/ofscraper --onefile --name \"ofscraper_macos_${{inputs.version}}\"\n          deactivate\n\n      - name: upload one file\n        uses: Wandalen/wretry.action@master\n\n        with:\n          action: actions/upload-artifact@v4\n          attempt_limit: 3\n          with: |\n            name: ofscraper_macos_${{needs.get_date.outputs.date}}\n            path: \"dist/ofscraper_macos_${{inputs.version}}\"\n            overwrite: true\n\n  mac_dir:\n    needs: [create_version, get_date, get_commit]\n    runs-on: macos-latest\n    name: create mac release zip\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n          ref: ${{inputs.version}}\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: list files\n        run: ls -d $PWD/*\n      - name: list files2\n        run: ls -d $PWD/ofscraper/*\n\n      - name: replace version.py\n        uses: Wandalen/wretry.action@master\n\n        with:\n          action: actions/download-artifact@v4\n          attempt_limit: 3\n          with: |\n            name: ofscraper_version_${{needs.get_date.outputs.date}}\n            path: ofscraper\n      - name: Set up Python 3.11.5\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11.5\n      - name: create virtualenv\n        run: python3 -m venv .venv\n      - name: install poetry\n        uses: abatilo/actions-poetry@v2\n        with:\n          poetry-version: 1.4.1\n      - name: Install package\n        run: |\n          source .venv/bin/activate\n          pip install . -vvv\n          deactivate\n      - name: Install pyinstaller\n        run: |\n          source .venv/bin/activate\n          pip install pyinstaller==6.4.0\n          deactivate\n      - name: test ofscraper\n        run: |\n          export PATH=$PATH:/usr/local/bin\n          /Users/runner/work/OF-Scraper/OF-Scraper/.venv/bin/ofscraper -h\n      - name: create-dir\n        id: create-dir\n        run: |\n          rm -rf dist\n          rm -rf build\n          source .venv/bin/activate\n          pyinstaller /Users/runner/work/OF-Scraper/OF-Scraper/ofscraper/__main__.py --name \"ofscraper_macos_${{inputs.version}}\"\n          deactivate\n        continue-on-error: true\n      - name: create-dir2\n        id: create-dir2\n        if: steps.create-dir.outcome != 'success'\n        run: |\n          rm -rf dist\n          rm -rf build\n          source .venv/bin/activate\n          poetry run pyinstaller .venv/bin/ofscraper --name \"ofscraper_macos_${{inputs.version}}\"\n          deactivate\n      - uses: vimtor/action-zip@v1\n        with:\n          files: \"dist/ofscraper_macos_${{inputs.version}}\"\n          dest: \"dist/ofscraper_macos_${{inputs.version}}.zip\"\n\n      - name: upload one file\n        uses: Wandalen/wretry.action@master\n\n        with:\n          action: actions/upload-artifact@v4\n          with: |\n            name: ofscraper_macos_zip_${{needs.get_date.outputs.date}}\n            path: \"dist/ofscraper_macos_${{inputs.version}}.zip\"\n            overwrite: true\n\n  publish_release:\n    runs-on: ubuntu-latest\n    name: publish\n    needs:\n      [\n        get_commit,\n        get_date,\n        linux_dir,\n        linux_file,\n        windows_dir,\n        windows_file,\n        mac_file,\n        mac_dir,\n      ]\n    permissions:\n      contents: write\n    steps:\n      - name: download linux\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name:  ofscraper_linux_${{needs.get_date.outputs.date}}\n      - name: download linux zip\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name:  ofscraper_linux_zip_${{needs.get_date.outputs.date}}\n      - name: download mac\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name:  ofscraper_macos_${{needs.get_date.outputs.date}}\n      - name: download mac zip\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name:  ofscraper_macos_zip_${{needs.get_date.outputs.date}}\n      - name: download windows\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name:  ofscraper_windows_${{needs.get_date.outputs.date}}\n      - name: download windows zip\n        uses: Wandalen/wretry.action@master\n\n        with:\n          attempt_limit: 3\n          action: actions/download-artifact@v4\n          with: |\n            name:  ofscraper_windows_zip_${{needs.get_date.outputs.date}}\n\n      - name: show files\n        run: ls /home/runner/work/OF-Scraper/OF-Scraper\n\n      - name: upload package\n        uses: ncipollo/release-action@v1\n        with:\n          artifacts: /home/runner/work/OF-Scraper/OF-Scraper/ofscraper_*\n          tag: \"${{inputs.version}}\"\n          allowUpdates: True\n          omitBodyDuringUpdate: True\n          omitDraftDuringUpdate: True\n          commit: \"${{needs.get_commit.outputs.long}}\"\n\n  pypi:\n    needs: [get_commit]\n    if: ${{ inputs.pip}}\n    runs-on: ubuntu-latest\n    name: create pypi\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          fetch-tags: true\n          ref: ${{inputs.version}}\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: Set up Python 3.11.5\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11.5\n      - name: 🐍 Install dependencies\n        run: |\n          pip install poetry-dynamic-versioning\n          pip install dunamai\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n      - name: Build\n        run: |\n          poetry version $(dunamai from git --format \"{base}\" --pattern=\"(?P<base>\\d+\\.\\d+(\\.((\\d+\\.\\w+)|\\w+)|))\")\n          poetry build\n      - name: Push to pypi\n        env:\n          PYPI_TOKEN: ${{ secrets.pypi }}\n        run: |\n          poetry config pypi-token.pypi $PYPI_TOKEN\n          poetry publish\n  docker:\n    needs: [get_commit]\n    if: ${{ inputs.docker}}\n    runs-on: ubuntu-latest\n    name: DockerHub Release\n    permissions:\n      contents: read\n      packages: write\n      # This is used to complete the identity challenge\n      # with sigstore/fulcio when running outside of PRs.\n      id-token: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{inputs.version}}\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: get tag\n        run: echo release=$(git describe --tags `git rev-list --tags --max-count=1`) >> $GITHUB_ENV\n      - name: Setup Docker buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      #Install the cosign tool except on PR\n      #https://github.com/sigstore/cosign-installer\n      - name: Install cosign\n        uses: sigstore/cosign-installer@main #v2.6.0\n        with:\n          cosign-release: v1.13.1\n      #Login against a Docker registry except on PR\n      #https://github.com/docker/login-action\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: push image to Docker Hub\n        id: build-and-push\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          tags: |\n            datawhores/of-scraper:${{ inputs.version }}\n            datawhores/of-scraper:latest\n\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          push: true\n\n      - name: cosign-installer\n        uses: sigstore/cosign-installer@v3.0.5\n\n      - name: Write signing key to disk\n        run: echo \"$KEY\" > cosign.key\n        shell: bash\n        env:\n          KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}\n\n      - name: Sign the published Docker image\n        env:\n          COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}\n          COSIGN_EXPERIMENTAL: \"true\"\n        run: echo \"datawhores/of-scraper:${{ env.release }}\" | xargs -I {} cosign sign --yes --key cosign.key {}@${{ steps.build-and-push.outputs.digest }}\n\n      #       # Sign the resulting Docker image digest except on PRs.\n      #       # This will only write to the public Rekor transparency log when the Docker\n      #       # repository is public to avoid leaking data.  If you would like to publish\n      #       # transparency data even for private images, pass --force to cosign below.\n      #       # https://github.com/sigstore/cosign\n      #       - name: Sign the published Docker image\n      #         env:\n      #           COSIGN_EXPERIMENTAL: \"true\"\n      #         # This step uses the identity token to provision an ephemeral certificate\n      #         # against the sigstore community Fulcio instance.\n      #         run: echo \"datawhores/of-scraper:${{ env.release }}\" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}\n      #Login against a Docker registry except on PR\n      #https://github.com/docker/login-action\n  github_docker:\n    needs: [get_commit]\n    if: ${{ inputs.docker}}\n    runs-on: ubuntu-latest\n    name: Docker GHCR Release\n    permissions:\n      contents: read\n      packages: write\n      # This is used to complete the identity challenge\n      # with sigstore/fulcio when running outside of PRs.\n      id-token: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{inputs.version}}\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: get tag\n        run: echo release=$(git describe --tags `git rev-list --tags --max-count=1`) >> $GITHUB_ENV\n      - name: Setup Docker buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      #Install the cosign tool except on PR\n      #https://github.com/sigstore/cosign-installer\n      - name: Install cosign\n        uses: sigstore/cosign-installer@main #v2.6.0\n        with:\n          cosign-release: v1.13.1\n      #Login against a Docker registry except on PR\n      #https://github.com/docker/login-action\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: login to ghcr\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN}}\n          # Extract metadata (tags, labels) for Docker\n      - name: push image to ghcr\n        id: build-and-push2\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          tags: |\n            ghcr.io/datawhores/of-scraper:${{ inputs.version }}\n            ghcr.io/datawhores/of-scraper:latest\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          push: true\n\n  docker_old:\n    needs: [get_commit]\n    if: ${{ inputs.docker_old}}\n    runs-on: ubuntu-latest\n    name: DockerHub Release Old\n    permissions:\n      contents: read\n      packages: write\n      # This is used to complete the identity challenge\n      # with sigstore/fulcio when running outside of PRs.\n      id-token: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{inputs.version}}\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: get tag\n        run: echo release=$(git describe --tags `git rev-list --tags --max-count=1`) >> $GITHUB_ENV\n      - name: Setup Docker buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      #Install the cosign tool except on PR\n      #https://github.com/sigstore/cosign-installer\n      - name: Install cosign\n        uses: sigstore/cosign-installer@main #v2.6.0\n        with:\n          cosign-release: v1.13.1\n      #Login against a Docker registry except on PR\n      #https://github.com/docker/login-action\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: push image to Docker Hub\n        id: build-and-push\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          tags: |\n            datawhores/of-scraper:${{ inputs.version }}\n\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          push: true\n\n      - name: cosign-installer\n        uses: sigstore/cosign-installer@v3.0.5\n\n      - name: Write signing key to disk\n        run: echo \"$KEY\" > cosign.key\n        shell: bash\n        env:\n          KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}\n\n      - name: Sign the published Docker image\n        env:\n          COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}\n          COSIGN_EXPERIMENTAL: \"true\"\n        run: echo \"datawhores/of-scraper:${{ env.release }}\" | xargs -I {} cosign sign --yes --key cosign.key {}@${{ steps.build-and-push.outputs.digest }}\n\n      #       # Sign the resulting Docker image digest except on PRs.\n      #       # This will only write to the public Rekor transparency log when the Docker\n      #       # repository is public to avoid leaking data.  If you would like to publish\n      #       # transparency data even for private images, pass --force to cosign below.\n      #       # https://github.com/sigstore/cosign\n      #       - name: Sign the published Docker image\n      #         env:\n      #           COSIGN_EXPERIMENTAL: \"true\"\n      #         # This step uses the identity token to provision an ephemeral certificate\n      #         # against the sigstore community Fulcio instance.\n      #         run: echo \"datawhores/of-scraper:${{ env.release }}\" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}\n      #Login against a Docker registry except on PR\n      #https://github.com/docker/login-action\n\n  docker_old_github:\n    needs: [get_commit]\n    if: ${{ inputs.docker_old}}\n    runs-on: ubuntu-latest\n    name: GHCR Release Old\n    permissions:\n      contents: read\n      packages: write\n      # This is used to complete the identity challenge\n      # with sigstore/fulcio when running outside of PRs.\n      id-token: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: ${{inputs.version}}\n      - run: git checkout ${{needs.get_commit.outputs.long}}\n      - name: get tag\n        run: echo release=$(git describe --tags `git rev-list --tags --max-count=1`) >> $GITHUB_ENV\n      - name: Setup Docker buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      #Install the cosign tool except on PR\n      #https://github.com/sigstore/cosign-installer\n      - name: Install cosign\n        uses: sigstore/cosign-installer@main #v2.6.0\n        with:\n          cosign-release: v1.13.1\n      #Login against a Docker registry except on PR\n      #https://github.com/docker/login-action\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: login to ghcr\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN}}\n          # Extract metadata (tags, labels) for Docker\n      - name: push image to ghcr\n        id: build-and-push2\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          tags: |\n            ghcr.io/datawhores/of-scraper:${{ inputs.version }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          push: true\n", "state": "active", "repository": "datawhores/OF-Scraper"}
{"mined_at": "2024-07-15T18:35:56.294973", "created_at": "2023-08-01T15:37:47+02:00", "updated_at": "2024-03-07T05:28:04+01:00", "name": "Build docs", "path": ".github/workflows/pages.yml", "contents": "name: Build docs\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n    name: Sphinx docs to gh-pages\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/cache@v4\n        with:\n          path: |\n            ~/.gdsfactory/\n          key: 0.0.1\n          restore-keys: 0.0.1\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          micromamba-version: '1.3.1-0'\n          init-shell: bash\n      - name: Install dependencies and build docs\n        env:\n          SIMCLOUD_APIKEY: ${{ secrets.SIMCLOUD_APIKEY }}\n          GDSFACTORY_DISPLAY_TYPE: klayout\n        run: |\n          eval \"$(micromamba shell hook --shell=bash)\"\n          micromamba activate\n          micromamba install -c conda-forge pymeep=*=mpi_mpich_* nlopt -y\n          make dev test-data\n          make docs\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: \"./docs/_build/html/\"\n  deploy-docs:\n    needs: build-docs\n    permissions:\n      pages: write\n      id-token: write\n\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "gdsfactory/gplugins"}
{"mined_at": "2024-07-15T18:35:57.371606", "created_at": "2023-08-01T15:37:47+02:00", "updated_at": "2024-03-07T05:28:04+01:00", "name": "Release package", "path": ".github/workflows/release.yml", "contents": "name: Release package\n\non:\n  push:\n    tags: \"v*\"\n\njobs:\n  release_pypi:\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n          cache-dependency-path: pyproject.toml\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          make build\n          twine upload dist/*\n\n  release_environment:\n    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n          cache: \"pip\"\n          cache-dependency-path: pyproject.toml\n      - name: Install dependencies\n        run: |\n          make install\n          pip freeze > requirements.txt\n      - name: Publish Latest Draft\n        run: |\n          gh release edit ${{ github.ref_name }} --draft=false\n          gh release upload ${{ github.ref_name }} requirements.txt --clobber\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "gdsfactory/gplugins"}
{"mined_at": "2024-07-15T18:35:58.567760", "created_at": "2023-08-03T15:01:16+02:00", "updated_at": "2023-08-08T17:17:29+02:00", "name": "Test code", "path": ".github/workflows/test_code.yml", "contents": "name: Test code\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pip\"\n          cache-dependency-path: pyproject.toml\n      - name: Test pre-commit hooks\n        run: |\n          python -m pip install --upgrade pip\n          pip install pre-commit\n          pre-commit run -a\n  test_code_pip:\n    runs-on: ubuntu-latest\n    container: ghcr.io/gdsfactory/gdsfactory:main\n    strategy:\n      fail-fast: false\n      max-parallel: 12\n      matrix:\n        plugin: [femwell, gmsh, meow, sax, tidy3d, klayout, vlsir]\n\n    name: Test ${{ matrix.plugin }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cache/pip\n          key: ${{ hashFiles('pyproject.toml') }}\n      - name: Install dependencies\n        run: |\n          pip install -e .[${{ matrix.plugin }},dev]\n          pip install git+https://github.com/gdsfactory/gdsfactory --force-reinstall\n      - name: Test with pytest\n        env:\n          SIMCLOUD_APIKEY: ${{ secrets.SIMCLOUD_APIKEY }}\n          GDSFACTORY_DISPLAY_TYPE: klayout\n        run: pytest gplugins/${{ matrix.plugin }}\n  test_code_conda:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          micromamba-version: \"1.3.1-0\"\n          init-shell: bash\n      - name: Install dependencies\n        run: |\n          eval \"$(micromamba shell hook --shell=bash)\"\n          micromamba shell init --shell=bash --prefix=~/micromamba\n          micromamba activate\n          micromamba install -c conda-forge pymeep=*=mpi_mpich_* nlopt -y\n          pip install -e .[dev]\n          pytest gplugins/gmeep gplugins/modes\n  test_non_pip:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      max-parallel: 2\n      matrix:\n        os: [ubuntu-latest]\n        plugin: [elmer]\n    name: Test ${{ matrix.plugin }} on ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cache/pip\n          key: ${{ hashFiles('pyproject.toml') }}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        run: |\n          make gmsh\n          make ${{ matrix.plugin }}\n          pip install -e .[dev,gmsh]\n      - name: Test with pytest\n        env:\n          GDSFACTORY_DISPLAY_TYPE: klayout\n        run: pytest gplugins/${{ matrix.plugin }}\n  test_code_coverage:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          micromamba-version: \"1.3.1-0\"\n          init-shell: bash\n      - name: Install dependencies\n        env:\n          SIMCLOUD_APIKEY: ${{ secrets.SIMCLOUD_APIKEY }}\n          GDSFACTORY_DISPLAY_TYPE: klayout\n        run: |\n          eval \"$(micromamba shell hook --shell=bash)\"\n          micromamba activate\n          micromamba install -c conda-forge pymeep=*=mpi_mpich_* nlopt -y\n          make dev\n          pip freeze > requirements.txt\n          pytest --cov=gplugins\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: false\n  test_docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/cache@v4\n        with:\n          path: |\n            ~/.gdsfactory/\n          key: 0.0.1\n          restore-keys: 0.0.1\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          micromamba-version: \"1.3.1-0\"\n          init-shell: bash\n      - name: Install dependencies and build docs\n        env:\n          SIMCLOUD_APIKEY: ${{ secrets.SIMCLOUD_APIKEY }}\n          GDSFACTORY_DISPLAY_TYPE: klayout\n        run: |\n          eval \"$(micromamba shell hook --shell=bash)\"\n          micromamba activate\n          micromamba install -c conda-forge pymeep=*=mpi_mpich_* nlopt -y\n          make test-data\n          make dev\n          make docs\n      - name: Expose docs artifact\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: docs\n          path: docs/_build/html/\n", "state": "active", "repository": "gdsfactory/gplugins"}
{"mined_at": "2024-07-15T18:35:59.815978", "created_at": "2023-10-01T12:57:57+02:00", "updated_at": "2024-04-09T19:31:48+02:00", "name": "Release Drafter and Labels", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter and Labels\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    types: [edited, opened, reopened, synchronize, unlabeled, labeled]\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      # Drafts your next Release notes as Pull Requests are merged into \"master\"\n      - uses: release-drafter/release-drafter@v6\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  require_label:\n    if: github.event.pull_request\n    needs: update_release_draft\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: mheap/github-action-required-labels@v5\n        with:\n          mode: minimum\n          count: 1\n          labels: \"breaking, bug, github_actions, documentation, dependencies, enhancement, feature, maintenance, security\"\n          add_comment: true\n", "state": "active", "repository": "gdsfactory/gplugins"}
{"mined_at": "2024-07-15T18:36:02.273348", "created_at": "2024-03-21T11:27:18+01:00", "updated_at": "2024-03-21T11:27:18+01:00", "name": "Build and Push Container", "path": ".github/workflows/build-push.yaml", "contents": "name: Build and Push Container\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Login to github container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and tag latest docker image\n        run: |\n          docker build -f Dockerfile -t ghcr.io/${{ github.repository_owner }}/nuts:$GITHUB_SHA .\n\n      - name: Tag versioned image\n        run: docker tag ghcr.io/${{ github.repository_owner }}/nuts:$GITHUB_SHA ghcr.io/${{ github.repository_owner }}/nuts:latest\n\n      - name: Push the images\n        run: |\n          docker push ghcr.io/${{ github.repository_owner }}/nuts:latest\n          docker push ghcr.io/${{ github.repository_owner }}/nuts:$GITHUB_SHA\n", "state": "active", "repository": "network-unit-testing-system/nuts"}
{"mined_at": "2024-07-15T18:36:03.434589", "created_at": "2021-04-27T16:25:42+02:00", "updated_at": "2021-05-03T15:28:55+02:00", "name": "Publish nuts to PyPI and release on GitHub", "path": ".github/workflows/publish-to-pypi.yml", "contents": "# https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n# https://www.ianwootten.co.uk/2020/10/23/publishing-to-pypi-using-github-actions/\nname: Publish nuts to PyPI and release on GitHub\non:\n  push:\n    tags:\n      - \"*\"\n\njobs:\n  build-and-publish-to-pypi:\n    name: Build and publish nuts to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install poetry\n        run: pip install poetry\n      - name: Configure API token\n        run: poetry config pypi-token.pypi \"${{ secrets.PYPI_API_TOKEN }}\"\n      - name: Build and then publish nuts to PyPI\n        run: poetry publish --build\n  relase-on-github:\n    name: Release on GitHub\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Release on Github\n        uses: softprops/action-gh-release@v2\n        with:\n          body_path: ${{ github.workspace }}/release_notes/${{ github.ref_name }}.md\n", "state": "active", "repository": "network-unit-testing-system/nuts"}
{"mined_at": "2024-07-15T18:36:04.525979", "created_at": "2024-07-14T13:31:20+02:00", "updated_at": "2024-07-14T23:51:41+02:00", "name": "Run mock project", "path": ".github/workflows/run-mock_project.yml", "contents": null, "state": "active", "repository": "network-unit-testing-system/nuts"}
{"mined_at": "2024-07-15T18:36:05.758279", "created_at": "2021-06-30T08:44:12+02:00", "updated_at": "2023-08-13T09:06:18+02:00", "name": "Run tests against pytest-master", "path": ".github/workflows/run-tests-against-pytest-master.yaml", "contents": "name: Run tests against pytest-master\non:\n  schedule:\n    - cron:  '* 22 * * 0'\n  workflow_dispatch:\n\njobs:\n  self-tests:\n    name: test against pytest-main\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: install tox\n        run: pip install tox\n      - name: run tox against pytest-main\n        run: tox -e pytest-main", "state": "active", "repository": "network-unit-testing-system/nuts"}
{"mined_at": "2024-07-15T18:36:06.900571", "created_at": "2021-06-29T13:49:58+02:00", "updated_at": "2021-10-12T09:04:22+02:00", "name": "Run tests with tox", "path": ".github/workflows/run-tests.yml", "contents": "name: Run tests with tox\non: [push, workflow_dispatch]\njobs:\n  self-tests:\n    name: pytest tests with tox\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python: [3.8, 3.9, \"3.10\"]\n        include:\n          - python: 3.8\n            testenv: py  \n          - python: 3.9\n            testenv: py\n          - python: \"3.10\"\n            testenv: py\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/cache@v2\n        with:\n          path: |\n            .mypy_cache\n            .tox\n            ~/.cache/pip\n          key: \"${{ matrix.testenv }}-${{ hashFiles('poetry.lock') }}-${{ hashFiles('pyproject.toml') }}\"\n      - name: \"set up Python ${{ matrix.python }}\"\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"${{ matrix.python }}\"\n      - name: install tox\n        run: pip install tox\n      - name: run tox\n        run: \"tox -e ${{ matrix.testenv }}\"\n  \n  quality:\n    name: quality tests with tox\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        testenv: [mypy, black, flake8, docs]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/cache@v2\n        with:\n          path: |\n            .mypy_cache\n            .tox\n            ~/.cache/pip\n          key: \"${{ matrix.testenv }}-${{ hashFiles('poetry.lock') }}-${{ hashFiles('pyproject.toml') }}\"\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"${{ matrix.python }}\"\n      - name: install tox\n        run: pip install tox\n      - name: \"Run tox with ${{ matrix.testenv }}\"\n        run: \"tox -e ${{ matrix.testenv}}\"", "state": "active", "repository": "network-unit-testing-system/nuts"}
{"mined_at": "2024-07-15T18:36:09.130277", "created_at": "2022-10-20T15:40:01+02:00", "updated_at": "2023-09-13T12:49:28+02:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:10.249524", "created_at": "2022-10-20T15:40:01+02:00", "updated_at": "2023-09-13T12:49:28+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:11.489663", "created_at": "2023-01-04T17:46:52+01:00", "updated_at": "2023-09-13T12:49:28+02:00", "name": "linkcheck", "path": ".github/workflows/linkcheck.yml", "contents": null, "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:12.718926", "created_at": "2023-06-27T01:07:53+02:00", "updated_at": "2024-02-01T20:09:39+01:00", "name": "CI / cd . / make spell_check", "path": ".github/workflows/codespell.yml", "contents": "---\nname: CI / cd . / make spell_check\n\non:\n  push:\n    branches: [master, v0.1]\n  pull_request:\n    branches: [master, v0.1]\n\npermissions:\n  contents: read\n\njobs:\n  codespell:\n    name: (Check for spelling errors)\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Install Dependencies\n        run: |\n          pip install toml\n\n      - name: Extract Ignore Words List\n        run: |\n          # Use a Python script to extract the ignore words list from pyproject.toml\n          python .github/workflows/extract_ignored_words_list.py\n        id: extract_ignore_words\n\n#      - name: Codespell\n#        uses: codespell-project/actions-codespell@v2\n#        with:\n#          skip: guide_imports.json,*.ambr,./cookbook/data/imdb_top_1000.csv,*.lock\n#          ignore_words_list: ${{ steps.extract_ignore_words.outputs.ignore_words_list }}\n#          exclude_file: ./.github/workflows/codespell-exclude\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:14.152612", "created_at": "2023-07-19T23:21:13+02:00", "updated_at": "2023-10-21T16:52:22+02:00", "name": "test", "path": ".github/workflows/_test.yml", "contents": "name: test\n\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        description: \"From which folder this pipeline executes\"\n      langchain-location:\n        required: false\n        type: string\n        description: \"Relative path to the langchain library folder\"\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  build:\n    defaults:\n      run:\n        working-directory: ${{ inputs.working-directory }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    name: \"make test #${{ matrix.python-version }}\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ matrix.python-version }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: core\n\n      - name: Install dependencies\n        shell: bash\n        run: poetry install --with test\n\n      - name: Install langchain editable\n        working-directory: ${{ inputs.working-directory }}\n        if: ${{ inputs.langchain-location }}\n        env:\n          LANGCHAIN_LOCATION: ${{ inputs.langchain-location }}\n        run: |\n          poetry run pip install -e \"$LANGCHAIN_LOCATION\"\n\n      - name: Run core tests\n        shell: bash\n        run: |\n          make test\n\n      - name: Ensure the tests did not create any additional files\n        shell: bash\n        run: |\n          set -eu\n\n          STATUS=\"$(git status)\"\n          echo \"$STATUS\"\n\n          # grep will exit non-zero if the target message isn't found,\n          # and `set -e` above will cause the step to fail.\n          echo \"$STATUS\" | grep 'nothing to commit, working tree clean'\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:15.251499", "created_at": "2023-07-19T23:22:10+02:00", "updated_at": "2023-07-20T00:25:39+02:00", "name": "libs/langchain", "path": ".github/workflows/langchain_lint.yml", "contents": null, "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:16.289370", "created_at": "2023-07-20T00:34:57+02:00", "updated_at": "2023-12-06T22:40:17+01:00", "name": "libs/langchain CI", "path": ".github/workflows/langchain_ci.yml", "contents": null, "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:17.346614", "created_at": "2023-07-20T03:13:21+02:00", "updated_at": "2023-12-06T22:40:17+01:00", "name": "libs/experimental CI", "path": ".github/workflows/langchain_experimental_ci.yml", "contents": null, "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:18.745855", "created_at": "2023-07-21T18:20:31+02:00", "updated_at": "2023-07-21T18:20:31+02:00", "name": "lint", "path": ".github/workflows/_lint.yml", "contents": "name: lint\n\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        description: \"From which folder this pipeline executes\"\n      langchain-location:\n        required: false\n        type: string\n        description: \"Relative path to the langchain library folder\"\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n  WORKDIR: ${{ inputs.working-directory == '' && '.' || inputs.working-directory }}\n\n  # This env var allows us to get inline annotations when ruff has complaints.\n  RUFF_OUTPUT_FORMAT: github\n\njobs:\n  build:\n    name: \"make lint #${{ matrix.python-version }}\"\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # Only lint on the min and max supported Python versions.\n        # It's extremely unlikely that there's a lint issue on any version in between\n        # that doesn't show up on the min or max versions.\n        #\n        # GitHub rate-limits how many jobs can be running at any one time.\n        # Starting new jobs is also relatively slow,\n        # so linting on fewer versions makes CI faster.\n        python-version:\n          - \"3.8\"\n          - \"3.12\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ matrix.python-version }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: lint-with-extras\n\n      - name: Check Poetry File\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          poetry check\n\n      - name: Check lock file\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          poetry lock --check\n\n      - name: Install dependencies\n        # Also installs dev/lint/test/typing dependencies, to ensure we have\n        # type hints for as many of our libraries as possible.\n        # This helps catch errors that require dependencies to be spotted, for example:\n        # https://github.com/langchain-ai/langchain/pull/10249/files#diff-935185cd488d015f026dcd9e19616ff62863e8cde8c0bee70318d3ccbca98341\n        #\n        # If you change this configuration, make sure to change the `cache-key`\n        # in the `poetry_setup` action above to stop using the old cache.\n        # It doesn't matter how you change it, any change will cause a cache-bust.\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          poetry install --with lint,typing\n\n      - name: Install langchain editable\n        working-directory: ${{ inputs.working-directory }}\n        if: ${{ inputs.langchain-location }}\n        env:\n          LANGCHAIN_LOCATION: ${{ inputs.langchain-location }}\n        run: |\n          poetry run pip install -e \"$LANGCHAIN_LOCATION\"\n\n      - name: Get .mypy_cache to speed up mypy\n        uses: actions/cache@v4\n        env:\n          SEGMENT_DOWNLOAD_TIMEOUT_MIN: \"2\"\n        with:\n          path: |\n            ${{ env.WORKDIR }}/.mypy_cache\n          key: mypy-lint-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }}\n\n\n      - name: Analysing the code with our lint\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          make lint_package\n\n      - name: Install unit test dependencies\n        # Also installs dev/lint/test/typing dependencies, to ensure we have\n        # type hints for as many of our libraries as possible.\n        # This helps catch errors that require dependencies to be spotted, for example:\n        # https://github.com/langchain-ai/langchain/pull/10249/files#diff-935185cd488d015f026dcd9e19616ff62863e8cde8c0bee70318d3ccbca98341\n        #\n        # If you change this configuration, make sure to change the `cache-key`\n        # in the `poetry_setup` action above to stop using the old cache.\n        # It doesn't matter how you change it, any change will cause a cache-bust.\n        if: ${{ ! startsWith(inputs.working-directory, 'libs/partners/') }}\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          poetry install --with test\n      - name: Install unit+integration test dependencies\n        if: ${{ startsWith(inputs.working-directory, 'libs/partners/') }}\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          poetry install --with test,test_integration\n\n      - name: Get .mypy_cache_test to speed up mypy\n        uses: actions/cache@v4\n        env:\n          SEGMENT_DOWNLOAD_TIMEOUT_MIN: \"2\"\n        with:\n          path: |\n            ${{ env.WORKDIR }}/.mypy_cache_test\n          key: mypy-test-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }}\n\n      - name: Analysing the code with our lint\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          make lint_tests\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:19.889894", "created_at": "2023-07-21T18:20:31+02:00", "updated_at": "2024-01-28T20:11:25+01:00", "name": "release", "path": ".github/workflows/_release.yml", "contents": "name: release\nrun-name: Release ${{ inputs.working-directory }} by @${{ github.actor }}\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        description: \"From which folder this pipeline executes\"\n  workflow_dispatch:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        default: 'libs/langchain'\n      dangerous-nonmaster-release:\n        required: false\n        type: boolean\n        default: false\n        description: \"Release from a non-master branch (danger!)\"\n\nenv:\n  PYTHON_VERSION: \"3.11\"\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  build:\n    if: github.ref == 'refs/heads/master' || inputs.dangerous-nonmaster-release\n    environment: Scheduled testing\n    runs-on: ubuntu-latest\n\n    outputs:\n      pkg-name: ${{ steps.check-version.outputs.pkg-name }}\n      version: ${{ steps.check-version.outputs.version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: release\n\n      # We want to keep this build stage *separate* from the release stage,\n      # so that there's no sharing of permissions between them.\n      # The release stage has trusted publishing and GitHub repo contents write access,\n      # and we want to keep the scope of that access limited just to the release job.\n      # Otherwise, a malicious `build` step (e.g. via a compromised dependency)\n      # could get access to our GitHub or PyPI credentials.\n      #\n      # Per the trusted publishing GitHub Action:\n      # > It is strongly advised to separate jobs for building [...]\n      # > from the publish job.\n      # https://github.com/pypa/gh-action-pypi-publish#non-goals\n      - name: Build project for distribution\n        run: poetry build\n        working-directory: ${{ inputs.working-directory }}\n\n      - name: Upload build\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Check Version\n        id: check-version\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          echo pkg-name=\"$(poetry version | cut -d ' ' -f 1)\" >> $GITHUB_OUTPUT\n          echo version=\"$(poetry version --short)\" >> $GITHUB_OUTPUT\n  release-notes:\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    outputs:\n      release-body: ${{ steps.generate-release-body.outputs.release-body }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: langchain-ai/langchain\n          path: langchain\n          sparse-checkout: | # this only grabs files for relevant dir\n            ${{ inputs.working-directory }}\n          ref: master # this scopes to just master branch\n          fetch-depth: 0 # this fetches entire commit history\n      - name: Check Tags\n        id: check-tags\n        shell: bash\n        working-directory: langchain/${{ inputs.working-directory }}\n        env:\n          PKG_NAME: ${{ needs.build.outputs.pkg-name }}\n          VERSION: ${{ needs.build.outputs.version }}\n        run: |\n          REGEX=\"^$PKG_NAME==\\\\d+\\\\.\\\\d+\\\\.\\\\d+\\$\"\n          echo $REGEX\n          PREV_TAG=$(git tag --sort=-creatordate | grep -P $REGEX || true | head -1)\n          TAG=\"${PKG_NAME}==${VERSION}\"\n          if [ \"$TAG\" == \"$PREV_TAG\" ]; then\n            echo \"No new version to release\"\n            exit 1\n          fi\n          echo tag=\"$TAG\" >> $GITHUB_OUTPUT\n          echo prev-tag=\"$PREV_TAG\" >> $GITHUB_OUTPUT\n      - name: Generate release body\n        id: generate-release-body\n        working-directory: langchain\n        env:\n          WORKING_DIR: ${{ inputs.working-directory }}\n          PKG_NAME: ${{ needs.build.outputs.pkg-name }}\n          TAG: ${{ steps.check-tags.outputs.tag }}\n          PREV_TAG: ${{ steps.check-tags.outputs.prev-tag }}\n        run: |\n          PREAMBLE=\"Changes since $PREV_TAG\"\n          # if PREV_TAG is empty, then we are releasing the first version\n          if [ -z \"$PREV_TAG\" ]; then\n            PREAMBLE=\"Initial release\"\n            PREV_TAG=$(git rev-list --max-parents=0 HEAD)\n          fi\n          {\n            echo 'release-body<<EOF'\n            echo \"# Release $TAG\"\n            echo $PREAMBLE\n            echo\n            git log --format=\"%s\" \"$PREV_TAG\"..HEAD -- $WORKING_DIR\n            echo EOF\n          } >> \"$GITHUB_OUTPUT\"\n\n  test-pypi-publish:\n    needs:\n      - build\n      - release-notes\n    uses:\n      ./.github/workflows/_test_release.yml\n    with:\n      working-directory: ${{ inputs.working-directory }}\n      dangerous-nonmaster-release: ${{ inputs.dangerous-nonmaster-release }}\n    secrets: inherit\n\n  pre-release-checks:\n    needs:\n      - build\n      - release-notes\n      - test-pypi-publish\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      # We explicitly *don't* set up caching here. This ensures our tests are\n      # maximally sensitive to catching breakage.\n      #\n      # For example, here's a way that caching can cause a falsely-passing test:\n      # - Make the langchain package manifest no longer list a dependency package\n      #   as a requirement. This means it won't be installed by `pip install`,\n      #   and attempting to use it would cause a crash.\n      # - That dependency used to be required, so it may have been cached.\n      #   When restoring the venv packages from cache, that dependency gets included.\n      # - Tests pass, because the dependency is present even though it wasn't specified.\n      # - The package is published, and it breaks on the missing dependency when\n      #   used in the real world.\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n\n      - name: Import published package\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        env:\n          PKG_NAME: ${{ needs.build.outputs.pkg-name }}\n          VERSION: ${{ needs.build.outputs.version }}\n        # Here we use:\n        # - The default regular PyPI index as the *primary* index, meaning\n        #   that it takes priority (https://pypi.org/simple)\n        # - The test PyPI index as an extra index, so that any dependencies that\n        #   are not found on test PyPI can be resolved and installed anyway.\n        #   (https://test.pypi.org/simple). This will include the PKG_NAME==VERSION\n        #   package because VERSION will not have been uploaded to regular PyPI yet.\n        # - attempt install again after 5 seconds if it fails because there is\n        #   sometimes a delay in availability on test pypi\n        run: |\n          poetry run pip install \\\n            --extra-index-url https://test.pypi.org/simple/ \\\n            \"$PKG_NAME==$VERSION\" || \\\n          ( \\\n            sleep 5 && \\\n            poetry run pip install \\\n              --extra-index-url https://test.pypi.org/simple/ \\\n              \"$PKG_NAME==$VERSION\" \\\n          )\n\n          # Replace all dashes in the package name with underscores,\n          # since that's how Python imports packages with dashes in the name.\n          IMPORT_NAME=\"$(echo \"$PKG_NAME\" | sed s/-/_/g)\"\n\n          poetry run python -c \"import $IMPORT_NAME; print(dir($IMPORT_NAME))\"\n\n      - name: Import test dependencies\n        run: poetry install --with test,test_integration\n        working-directory: ${{ inputs.working-directory }}\n\n      # Overwrite the local version of the package with the test PyPI version.\n      - name: Import published package (again)\n        working-directory: ${{ inputs.working-directory }}\n        shell: bash\n        env:\n          PKG_NAME: ${{ needs.build.outputs.pkg-name }}\n          VERSION: ${{ needs.build.outputs.version }}\n        run: |\n          poetry run pip install \\\n            --extra-index-url https://test.pypi.org/simple/ \\\n            \"$PKG_NAME==$VERSION\"\n\n      - name: Run unit tests\n        run: make tests\n        working-directory: ${{ inputs.working-directory }}\n\n      - name: Get minimum versions\n        working-directory: ${{ inputs.working-directory }}\n        id: min-version\n        run: |\n          poetry run pip install packaging\n          min_versions=\"$(poetry run python $GITHUB_WORKSPACE/.github/scripts/get_min_versions.py pyproject.toml)\"\n          echo \"min-versions=$min_versions\" >> \"$GITHUB_OUTPUT\"\n          echo \"min-versions=$min_versions\"\n\n      - name: Run unit tests with minimum dependency versions\n        if: ${{ steps.min-version.outputs.min-versions != '' }}\n        env:\n          MIN_VERSIONS: ${{ steps.min-version.outputs.min-versions }}\n        run: |\n          poetry run pip install --force-reinstall $MIN_VERSIONS --editable .\n          make tests\n        working-directory: ${{ inputs.working-directory }}\n\n      - name: 'Authenticate to Google Cloud'\n        id: 'auth'\n        uses: google-github-actions/auth@v2\n        with:\n          credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'\n\n      - name: Run integration tests\n        if: ${{ startsWith(inputs.working-directory, 'libs/partners/') }}\n        env:\n          AI21_API_KEY: ${{ secrets.AI21_API_KEY }}\n          GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}\n          ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}\n          MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}\n          TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }}\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          AZURE_OPENAI_API_VERSION: ${{ secrets.AZURE_OPENAI_API_VERSION }}\n          AZURE_OPENAI_API_BASE: ${{ secrets.AZURE_OPENAI_API_BASE }}\n          AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}\n          AZURE_OPENAI_CHAT_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_CHAT_DEPLOYMENT_NAME }}\n          AZURE_OPENAI_LLM_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_LLM_DEPLOYMENT_NAME }}\n          AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT_NAME }}\n          NVIDIA_API_KEY: ${{ secrets.NVIDIA_API_KEY }}\n          GOOGLE_SEARCH_API_KEY: ${{ secrets.GOOGLE_SEARCH_API_KEY }}\n          GOOGLE_CSE_ID: ${{ secrets.GOOGLE_CSE_ID }}\n          GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}\n          EXA_API_KEY: ${{ secrets.EXA_API_KEY }}\n          NOMIC_API_KEY: ${{ secrets.NOMIC_API_KEY }}\n          WATSONX_APIKEY: ${{ secrets.WATSONX_APIKEY }}\n          WATSONX_PROJECT_ID: ${{ secrets.WATSONX_PROJECT_ID }}\n          PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}\n          PINECONE_ENVIRONMENT: ${{ secrets.PINECONE_ENVIRONMENT }}\n          ASTRA_DB_API_ENDPOINT: ${{ secrets.ASTRA_DB_API_ENDPOINT }}\n          ASTRA_DB_APPLICATION_TOKEN: ${{ secrets.ASTRA_DB_APPLICATION_TOKEN }}\n          ASTRA_DB_KEYSPACE: ${{ secrets.ASTRA_DB_KEYSPACE }}\n          ES_URL: ${{ secrets.ES_URL }}\n          ES_CLOUD_ID: ${{ secrets.ES_CLOUD_ID }}\n          ES_API_KEY: ${{ secrets.ES_API_KEY }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for airbyte\n          MONGODB_ATLAS_URI: ${{ secrets.MONGODB_ATLAS_URI }}\n          VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }}\n          UPSTAGE_API_KEY: ${{ secrets.UPSTAGE_API_KEY }}\n          FIREWORKS_API_KEY: ${{ secrets.FIREWORKS_API_KEY }}\n        run: make integration_tests\n        working-directory: ${{ inputs.working-directory }}\n\n  publish:\n    needs:\n      - build\n      - release-notes\n      - test-pypi-publish\n      - pre-release-checks\n    runs-on: ubuntu-latest\n    permissions:\n      # This permission is used for trusted publishing:\n      # https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/\n      #\n      # Trusted publishing has to also be configured on PyPI for each package:\n      # https://docs.pypi.org/trusted-publishers/adding-a-publisher/\n      id-token: write\n\n    defaults:\n      run:\n        working-directory: ${{ inputs.working-directory }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: release\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: ${{ inputs.working-directory }}/dist/\n          verbose: true\n          print-hash: true\n\n  mark-release:\n    needs:\n      - build\n      - release-notes\n      - test-pypi-publish\n      - pre-release-checks\n      - publish\n    runs-on: ubuntu-latest\n    permissions:\n      # This permission is needed by `ncipollo/release-action` to\n      # create the GitHub release.\n      contents: write\n\n    defaults:\n      run:\n        working-directory: ${{ inputs.working-directory }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: release\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: ${{ inputs.working-directory }}/dist/\n          \n      - name: Create Tag\n        uses: ncipollo/release-action@v1\n        with:\n          artifacts: \"dist/*\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n          generateReleaseNotes: false\n          tag: ${{needs.build.outputs.pkg-name}}==${{ needs.build.outputs.version }}\n          body: ${{ needs.release-notes.outputs.release-body }}\n          commit: ${{ github.sha }}\n          makeLatest: ${{ needs.build.outputs.pkg-name == 'langchain-core'}}\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:20.963811", "created_at": "2023-08-07T22:12:50+02:00", "updated_at": "2024-05-30T21:02:30+02:00", "name": "Scheduled tests", "path": ".github/workflows/scheduled_test.yml", "contents": "name: Scheduled tests\n\non:\n  workflow_dispatch:  # Allows to trigger the workflow manually in GitHub UI\n  schedule:\n    - cron:  '0 13 * * *'\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  build:\n    if: github.repository_owner == 'langchain-ai'\n    name: Python ${{ matrix.python-version }} - ${{ matrix.working-directory }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.11\"\n        working-directory:\n          - \"libs/partners/openai\"\n          - \"libs/partners/anthropic\"\n          - \"libs/partners/ai21\"\n          - \"libs/partners/fireworks\"\n          - \"libs/partners/groq\"\n          - \"libs/partners/mistralai\"\n          - \"libs/partners/together\"\n          - \"libs/partners/cohere\"\n          - \"libs/partners/google-vertexai\"\n          - \"libs/partners/google-genai\"\n          - \"libs/partners/aws\"\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: langchain\n      - uses: actions/checkout@v4\n        with:\n          repository: langchain-ai/langchain-google\n          path: langchain-google\n      - uses: actions/checkout@v4\n        with:\n          repository: langchain-ai/langchain-cohere\n          path: langchain-cohere\n      - uses: actions/checkout@v4\n        with:\n          repository: langchain-ai/langchain-aws\n          path: langchain-aws\n\n      - name: Move libs\n        run: |\n          rm -rf \\\n            langchain/libs/partners/google-genai \\\n            langchain/libs/partners/google-vertexai \\\n            langchain/libs/partners/cohere\n          mv langchain-google/libs/genai langchain/libs/partners/google-genai\n          mv langchain-google/libs/vertexai langchain/libs/partners/google-vertexai\n          mv langchain-cohere/libs/cohere langchain/libs/partners/cohere\n          mv langchain-aws/libs/aws langchain/libs/partners/aws\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: \"./langchain/.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ matrix.python-version }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: langchain/${{ matrix.working-directory }}\n          cache-key: scheduled\n\n      - name: 'Authenticate to Google Cloud'\n        id: 'auth'\n        uses: google-github-actions/auth@v2\n        with:\n          credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'\n\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          aws-region: ${{ secrets.AWS_REGION }}\n\n      - name: Install dependencies\n        run: |\n          echo \"Running scheduled tests, installing dependencies with poetry...\"\n          cd langchain/${{ matrix.working-directory }}\n          poetry install --with=test_integration,test\n\n      - name: Run integration tests\n        env:\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}\n          AZURE_OPENAI_API_VERSION: ${{ secrets.AZURE_OPENAI_API_VERSION }}\n          AZURE_OPENAI_API_BASE: ${{ secrets.AZURE_OPENAI_API_BASE }}\n          AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}\n          AZURE_OPENAI_CHAT_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_CHAT_DEPLOYMENT_NAME }}\n          AZURE_OPENAI_LLM_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_LLM_DEPLOYMENT_NAME }}\n          AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT_NAME }}\n          AI21_API_KEY: ${{ secrets.AI21_API_KEY }}\n          FIREWORKS_API_KEY: ${{ secrets.FIREWORKS_API_KEY }}\n          GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}\n          MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}\n          TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }}\n          COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}\n          NVIDIA_API_KEY: ${{ secrets.NVIDIA_API_KEY }}\n          GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}\n          GOOGLE_SEARCH_API_KEY: ${{ secrets.GOOGLE_SEARCH_API_KEY }}\n          GOOGLE_CSE_ID: ${{ secrets.GOOGLE_CSE_ID }}\n        run: |\n          cd langchain/${{ matrix.working-directory }}\n          make integration_tests\n\n      - name: Remove external libraries\n        run: | \n          rm -rf \\\n            langchain/libs/partners/google-genai \\\n            langchain/libs/partners/google-vertexai \\\n            langchain/libs/partners/cohere \\\n            langchain/libs/partners/aws\n\n      - name: Ensure the tests did not create any additional files\n        working-directory: langchain\n        run: |\n          set -eu\n\n          STATUS=\"$(git status)\"\n          echo \"$STATUS\"\n\n          # grep will exit non-zero if the target message isn't found,\n          # and `set -e` above will cause the step to fail.\n          echo \"$STATUS\" | grep 'nothing to commit, working tree clean'\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:22.242209", "created_at": "2023-09-22T11:30:10+02:00", "updated_at": "2023-09-22T11:30:10+02:00", "name": "docker/langchain/base Release", "path": ".github/workflows/langchain_release_docker_base.yml", "contents": null, "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:23.326762", "created_at": "2023-10-02T13:31:08+02:00", "updated_at": "2023-10-02T16:08:02+02:00", "name": "docker/langchain/langchain Release", "path": ".github/workflows/langchain_release_docker.yml", "contents": "---\nname: docker/langchain/langchain Release\n\non:\n  workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI\n  workflow_call: # Allows triggering from another workflow\n\njobs:\n  release:\n    uses: ./.github/workflows/_release_docker.yml\n    with:\n      dockerfile: docker/Dockerfile.base\n      image: langchain/langchain\n    secrets: inherit\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:24.610991", "created_at": "2023-10-02T16:08:01+02:00", "updated_at": "2023-10-02T16:08:01+02:00", "name": "release_docker", "path": ".github/workflows/_release_docker.yml", "contents": "name: release_docker\n\non:\n  workflow_call:\n    inputs:\n      dockerfile:\n        required: true\n        type: string\n        description: \"Path to the Dockerfile to build\"\n      image:\n        required: true\n        type: string\n        description: \"Name of the image to build\"\n\nenv:\n  TEST_TAG: ${{ inputs.image }}:test\n  LATEST_TAG: ${{ inputs.image }}:latest\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Get git tag\n        uses: actions-ecosystem/action-get-latest-tag@v1\n        id: get-latest-tag\n      - name: Set docker tag\n        env:\n          VERSION: ${{ steps.get-latest-tag.outputs.tag }}\n        run: |\n          echo \"VERSION_TAG=${{ inputs.image }}:${VERSION#v}\" >> $GITHUB_ENV\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Build for Test\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ${{ inputs.dockerfile }}\n          load: true\n          tags: ${{ env.TEST_TAG }}\n      - name: Test\n        run: |\n          docker run --rm ${{ env.TEST_TAG }} python -c \"import langchain\"\n      - name: Build and Push to Docker Hub\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ${{ inputs.dockerfile }}\n          # We can only build for the intersection of platforms supported by\n          # QEMU and base python image, for now build only for\n          # linux/amd64 and linux/arm64\n          platforms: linux/amd64,linux/arm64\n          tags: ${{ env.LATEST_TAG }},${{ env.VERSION_TAG }}\n          push: true\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:25.727731", "created_at": "2023-10-23T18:49:42+02:00", "updated_at": "2023-10-23T18:49:42+02:00", "name": "test-release", "path": ".github/workflows/_test_release.yml", "contents": "name: test-release\n\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        description: \"From which folder this pipeline executes\"\n      dangerous-nonmaster-release:\n        required: false\n        type: boolean\n        default: false\n        description: \"Release from a non-master branch (danger!)\"\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n  PYTHON_VERSION: \"3.10\"\n\njobs:\n  build:\n    if: github.ref == 'refs/heads/master' || inputs.dangerous-nonmaster-release\n    runs-on: ubuntu-latest\n\n    outputs:\n      pkg-name: ${{ steps.check-version.outputs.pkg-name }}\n      version: ${{ steps.check-version.outputs.version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: release\n\n      # We want to keep this build stage *separate* from the release stage,\n      # so that there's no sharing of permissions between them.\n      # The release stage has trusted publishing and GitHub repo contents write access,\n      # and we want to keep the scope of that access limited just to the release job.\n      # Otherwise, a malicious `build` step (e.g. via a compromised dependency)\n      # could get access to our GitHub or PyPI credentials.\n      #\n      # Per the trusted publishing GitHub Action:\n      # > It is strongly advised to separate jobs for building [...]\n      # > from the publish job.\n      # https://github.com/pypa/gh-action-pypi-publish#non-goals\n      - name: Build project for distribution\n        run: poetry build\n        working-directory: ${{ inputs.working-directory }}\n\n      - name: Upload build\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Check Version\n        id: check-version\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          echo pkg-name=\"$(poetry version | cut -d ' ' -f 1)\" >> $GITHUB_OUTPUT\n          echo version=\"$(poetry version --short)\" >> $GITHUB_OUTPUT\n\n  publish:\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    permissions:\n      # This permission is used for trusted publishing:\n      # https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/\n      #\n      # Trusted publishing has to also be configured on PyPI for each package:\n      # https://docs.pypi.org/trusted-publishers/adding-a-publisher/\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: test-dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Publish to test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: ${{ inputs.working-directory }}/dist/\n          verbose: true\n          print-hash: true\n          repository-url: https://test.pypi.org/legacy/\n\n          # We overwrite any existing distributions with the same name and version.\n          # This is *only for CI use* and is *extremely dangerous* otherwise!\n          # https://github.com/pypa/gh-action-pypi-publish#tolerating-release-package-file-duplicates\n          skip-existing: true\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:26.740471", "created_at": "2023-10-24T17:55:23+02:00", "updated_at": "2023-10-24T17:55:23+02:00", "name": "compile-integration-test", "path": ".github/workflows/_compile_integration_test.yml", "contents": "name: compile-integration-test\n\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        description: \"From which folder this pipeline executes\"\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  build:\n    defaults:\n      run:\n        working-directory: ${{ inputs.working-directory }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    name: \"poetry run pytest -m compile tests/integration_tests #${{ matrix.python-version }}\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ matrix.python-version }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: compile-integration\n\n      - name: Install integration dependencies\n        shell: bash\n        run: poetry install --with=test_integration,test\n\n      - name: Check integration tests compile\n        shell: bash\n        run: poetry run pytest -m compile tests/integration_tests\n\n      - name: Ensure the tests did not create any additional files\n        shell: bash\n        run: |\n          set -eu\n\n          STATUS=\"$(git status)\"\n          echo \"$STATUS\"\n\n          # grep will exit non-zero if the target message isn't found,\n          # and `set -e` above will cause the step to fail.\n          echo \"$STATUS\" | grep 'nothing to commit, working tree clean'\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:27.853050", "created_at": "2023-10-31T17:34:09+01:00", "updated_at": "2023-10-31T17:34:09+01:00", "name": "Auto Comment", "path": ".github/workflows/autocomment.yml", "contents": null, "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:29.000420", "created_at": "2023-12-05T19:30:56+01:00", "updated_at": "2024-03-28T22:11:43+01:00", "name": "CI", "path": ".github/workflows/check_diffs.yml", "contents": "---\nname: CI\n\non:\n  push:\n    branches: [master]\n  pull_request:\n\n# If another push to the same PR or branch happens while this workflow is still running,\n# cancel the earlier run in favor of the next run.\n#\n# There's no point in testing an outdated version of the code. GitHub only allows\n# a limited number of job runners to be active at the same time, so it's better to cancel\n# pointless jobs early so that more useful jobs can run sooner.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - id: files\n        uses: Ana06/get-changed-files@v2.2.0\n      - id: set-matrix\n        run: |\n          python .github/scripts/check_diff.py ${{ steps.files.outputs.all }} >> $GITHUB_OUTPUT\n    outputs:\n      dirs-to-lint: ${{ steps.set-matrix.outputs.dirs-to-lint }}\n      dirs-to-test: ${{ steps.set-matrix.outputs.dirs-to-test }}\n      dirs-to-extended-test: ${{ steps.set-matrix.outputs.dirs-to-extended-test }}\n      docs-edited: ${{ steps.set-matrix.outputs.docs-edited }}\n  lint:\n    name: cd ${{ matrix.working-directory }}\n    needs: [ build ]\n    if: ${{ needs.build.outputs.dirs-to-lint != '[]' }}\n    strategy:\n      matrix:\n        working-directory: ${{ fromJson(needs.build.outputs.dirs-to-lint) }}\n    uses: ./.github/workflows/_lint.yml\n    with:\n      working-directory: ${{ matrix.working-directory }}\n    secrets: inherit\n\n  test:\n    name: cd ${{ matrix.working-directory }}\n    needs: [ build ]\n    if: ${{ needs.build.outputs.dirs-to-test != '[]' }}\n    strategy:\n      matrix:\n        working-directory: ${{ fromJson(needs.build.outputs.dirs-to-test) }}\n    uses: ./.github/workflows/_test.yml\n    with:\n      working-directory: ${{ matrix.working-directory }}\n    secrets: inherit\n\n  test-doc-imports:\n    needs: [ build ]\n    if: ${{ needs.build.outputs.dirs-to-test != '[]' || needs.build.outputs.docs-edited }}\n    uses: ./.github/workflows/_test_doc_imports.yml\n    secrets: inherit\n\n  compile-integration-tests:\n    name: cd ${{ matrix.working-directory }}\n    needs: [ build ]\n    if: ${{ needs.build.outputs.dirs-to-test != '[]' }}\n    strategy:\n      matrix:\n        working-directory: ${{ fromJson(needs.build.outputs.dirs-to-test) }}\n    uses: ./.github/workflows/_compile_integration_test.yml\n    with:\n      working-directory: ${{ matrix.working-directory }}\n    secrets: inherit\n\n  dependencies:\n    name: cd ${{ matrix.working-directory }}\n    needs: [ build ]\n    if: ${{ needs.build.outputs.dirs-to-test != '[]' }}\n    strategy:\n      matrix:\n        working-directory: ${{ fromJson(needs.build.outputs.dirs-to-test) }}\n    uses: ./.github/workflows/_dependencies.yml\n    with:\n      working-directory: ${{ matrix.working-directory }}\n    secrets: inherit\n\n  extended-tests:\n    name: \"cd ${{ matrix.working-directory }} / make extended_tests #${{ matrix.python-version }}\"\n    needs: [ build ]\n    if: ${{ needs.build.outputs.dirs-to-extended-test != '[]' }}\n    strategy:\n      matrix:\n        # note different variable for extended test dirs\n        working-directory: ${{ fromJson(needs.build.outputs.dirs-to-extended-test) }}\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ${{ matrix.working-directory }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ matrix.python-version }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ matrix.working-directory }}\n          cache-key: extended\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          echo \"Running extended tests, installing dependencies with poetry...\"\n          poetry install --with test\n          poetry run pip install uv\n          poetry run uv pip install -r extended_testing_deps.txt\n\n      - name: Run extended tests\n        run: make extended_tests\n\n      - name: Ensure the tests did not create any additional files\n        shell: bash\n        run: |\n          set -eu\n\n          STATUS=\"$(git status)\"\n          echo \"$STATUS\"\n\n          # grep will exit non-zero if the target message isn't found,\n          # and `set -e` above will cause the step to fail.\n          echo \"$STATUS\" | grep 'nothing to commit, working tree clean'\n  ci_success:\n    name: \"CI Success\"\n    needs: [build, lint, test, compile-integration-tests, dependencies, extended-tests, test-doc-imports]\n    if: |\n      always()\n    runs-on: ubuntu-latest\n    env:\n      JOBS_JSON: ${{ toJSON(needs) }}\n      RESULTS_JSON: ${{ toJSON(needs.*.result) }}\n      EXIT_CODE: ${{!contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && '0' || '1'}}\n    steps:\n      - name: \"CI Success\"\n        run: |\n          echo $JOBS_JSON\n          echo $RESULTS_JSON\n          echo \"Exiting with $EXIT_CODE\"\n          exit $EXIT_CODE\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:30.156812", "created_at": "2023-12-06T08:28:54+01:00", "updated_at": "2023-12-06T08:28:54+01:00", "name": "libs/langchain community CI", "path": ".github/workflows/langchain_community_ci.yml", "contents": null, "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:31.359090", "created_at": "2023-12-08T20:28:59+01:00", "updated_at": "2023-12-08T20:28:59+01:00", "name": "dependencies", "path": ".github/workflows/_dependencies.yml", "contents": "name: dependencies\n\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        description: \"From which folder this pipeline executes\"\n      langchain-location:\n        required: false\n        type: string\n        description: \"Relative path to the langchain library folder\"\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  build:\n    defaults:\n      run:\n        working-directory: ${{ inputs.working-directory }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    name: dependency checks ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ matrix.python-version }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: pydantic-cross-compat\n\n      - name: Install dependencies\n        shell: bash\n        run: poetry install\n\n      - name: Check imports with base dependencies\n        shell: bash\n        run: poetry run make check_imports\n\n      - name: Install test dependencies\n        shell: bash\n        run: poetry install --with test\n\n      - name: Install langchain editable\n        working-directory: ${{ inputs.working-directory }}\n        if: ${{ inputs.langchain-location }}\n        env:\n          LANGCHAIN_LOCATION: ${{ inputs.langchain-location }}\n        run: |\n          poetry run pip install -e \"$LANGCHAIN_LOCATION\"\n\n      - name: Install the opposite major version of pydantic\n        # If normal tests use pydantic v1, here we'll use v2, and vice versa.\n        shell: bash\n        # airbyte currently doesn't support pydantic v2\n        if: ${{ !startsWith(inputs.working-directory, 'libs/partners/airbyte') }}\n        run: |\n          # Determine the major part of pydantic version\n          REGULAR_VERSION=$(poetry run python -c \"import pydantic; print(pydantic.__version__)\" | cut -d. -f1)\n\n          if [[ \"$REGULAR_VERSION\" == \"1\" ]]; then\n            PYDANTIC_DEP=\">=2.1,<3\"\n            TEST_WITH_VERSION=\"2\"\n          elif [[ \"$REGULAR_VERSION\" == \"2\" ]]; then\n            PYDANTIC_DEP=\"<2\"\n            TEST_WITH_VERSION=\"1\"\n          else\n            echo \"Unexpected pydantic major version '$REGULAR_VERSION', cannot determine which version to use for cross-compatibility test.\"\n            exit 1\n          fi\n\n          # Install via `pip` instead of `poetry add` to avoid changing lockfile,\n          # which would prevent caching from working: the cache would get saved\n          # to a different key than where it gets loaded from.\n          poetry run pip install \"pydantic${PYDANTIC_DEP}\"\n\n          # Ensure that the correct pydantic is installed now.\n          echo \"Checking pydantic version... Expecting ${TEST_WITH_VERSION}\"\n\n          # Determine the major part of pydantic version\n          CURRENT_VERSION=$(poetry run python -c \"import pydantic; print(pydantic.__version__)\" | cut -d. -f1)\n\n          # Check that the major part of pydantic version is as expected, if not\n          # raise an error\n          if [[ \"$CURRENT_VERSION\" != \"$TEST_WITH_VERSION\" ]]; then\n            echo \"Error: expected pydantic version ${CURRENT_VERSION} to have been installed, but found: ${TEST_WITH_VERSION}\"\n            exit 1\n          fi\n          echo \"Found pydantic version ${CURRENT_VERSION}, as expected\"\n      - name: Run pydantic compatibility tests\n        # airbyte currently doesn't support pydantic v2\n        if: ${{ !startsWith(inputs.working-directory, 'libs/partners/airbyte') }}\n        shell: bash\n        run: make test\n\n      - name: Ensure the tests did not create any additional files\n        shell: bash\n        run: |\n          set -eu\n\n          STATUS=\"$(git status)\"\n          echo \"$STATUS\"\n\n          # grep will exit non-zero if the target message isn't found,\n          # and `set -e` above will cause the step to fail.\n          echo \"$STATUS\" | grep 'nothing to commit, working tree clean'\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:32.585465", "created_at": "2023-12-14T21:46:49+01:00", "updated_at": "2023-12-14T21:46:49+01:00", "name": "Integration tests", "path": ".github/workflows/_integration_test.yml", "contents": "name: Integration tests\n\non:\n  workflow_dispatch:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  build:\n    defaults:\n      run:\n        working-directory: ${{ inputs.working-directory }}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.11\"\n    name: Python ${{ matrix.python-version }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ matrix.python-version }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: core\n\n      - name: Install dependencies\n        shell: bash\n        run: poetry install --with test,test_integration\n\n      - name: Install deps outside pyproject\n        if: ${{ startsWith(inputs.working-directory, 'libs/community/') }}\n        shell: bash\n        run: poetry run pip install \"boto3<2\" \"google-cloud-aiplatform<2\"\n\n      - name: 'Authenticate to Google Cloud'\n        id: 'auth'\n        uses: google-github-actions/auth@v2\n        with:\n          credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'\n\n      - name: Run integration tests\n        shell: bash\n        env:\n          AI21_API_KEY: ${{ secrets.AI21_API_KEY }}\n          FIREWORKS_API_KEY: ${{ secrets.FIREWORKS_API_KEY }}\n          GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}\n          ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}\n          AZURE_OPENAI_API_VERSION: ${{ secrets.AZURE_OPENAI_API_VERSION }}\n          AZURE_OPENAI_API_BASE: ${{ secrets.AZURE_OPENAI_API_BASE }}\n          AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}\n          AZURE_OPENAI_CHAT_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_CHAT_DEPLOYMENT_NAME }}\n          AZURE_OPENAI_LLM_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_LLM_DEPLOYMENT_NAME }}\n          AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT_NAME }}\n          MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}\n          TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }}\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}\n          NVIDIA_API_KEY: ${{ secrets.NVIDIA_API_KEY }}\n          GOOGLE_SEARCH_API_KEY: ${{ secrets.GOOGLE_SEARCH_API_KEY }}\n          GOOGLE_CSE_ID: ${{ secrets.GOOGLE_CSE_ID }}\n          EXA_API_KEY: ${{ secrets.EXA_API_KEY }}\n          NOMIC_API_KEY: ${{ secrets.NOMIC_API_KEY }}\n          WATSONX_APIKEY: ${{ secrets.WATSONX_APIKEY }}\n          WATSONX_PROJECT_ID: ${{ secrets.WATSONX_PROJECT_ID }}\n          PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}\n          PINECONE_ENVIRONMENT: ${{ secrets.PINECONE_ENVIRONMENT }}\n          ASTRA_DB_API_ENDPOINT: ${{ secrets.ASTRA_DB_API_ENDPOINT }}\n          ASTRA_DB_APPLICATION_TOKEN: ${{ secrets.ASTRA_DB_APPLICATION_TOKEN }}\n          ASTRA_DB_KEYSPACE: ${{ secrets.ASTRA_DB_KEYSPACE }}\n          ES_URL: ${{ secrets.ES_URL }}\n          ES_CLOUD_ID: ${{ secrets.ES_CLOUD_ID }}\n          ES_API_KEY: ${{ secrets.ES_API_KEY }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for airbyte\n          MONGODB_ATLAS_URI: ${{ secrets.MONGODB_ATLAS_URI }}\n          VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }}\n          COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}\n          UPSTAGE_API_KEY: ${{ secrets.UPSTAGE_API_KEY }}\n        run: |\n          make integration_tests\n\n      - name: Ensure the tests did not create any additional files\n        shell: bash\n        run: |\n          set -eu\n\n          STATUS=\"$(git status)\"\n          echo \"$STATUS\"\n\n          # grep will exit non-zero if the target message isn't found,\n          # and `set -e` above will cause the step to fail.\n          echo \"$STATUS\" | grep 'nothing to commit, working tree clean'\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:33.746550", "created_at": "2024-02-17T02:53:22+01:00", "updated_at": "2024-02-21T03:30:13+01:00", "name": "LangChain People", "path": ".github/workflows/people.yml", "contents": "name: LangChain People\n\non:\n  schedule:\n    - cron: \"0 14 1 * *\"\n  push:\n    branches: [jacob/people]\n  workflow_dispatch:\n    inputs:\n      debug_enabled:\n        description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'\n        required: false\n        default: 'false'\n\njobs:\n  langchain-people:\n    if: github.repository_owner == 'langchain-ai'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Dump GitHub context\n        env:\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n        run: echo \"$GITHUB_CONTEXT\"\n      - uses: actions/checkout@v4\n      # Ref: https://github.com/actions/runner/issues/2033\n      - name: Fix git safe.directory in container\n        run: mkdir -p /home/runner/work/_temp/_github_home && printf \"[safe]\\n\\tdirectory = /github/workspace\" > /home/runner/work/_temp/_github_home/.gitconfig\n      # Allow debugging with tmate\n      - name: Setup tmate session\n        uses: mxschmitt/action-tmate@v3\n        if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}\n        with:\n          limit-access-to-actor: true\n      - uses: ./.github/actions/people\n        with:\n          token: ${{ secrets.LANGCHAIN_PEOPLE_GITHUB_TOKEN }}", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:34.939803", "created_at": "2024-03-28T20:42:48+01:00", "updated_at": "2024-03-29T18:30:22+01:00", "name": "test_doc_imports", "path": ".github/workflows/_test_doc_imports.yml", "contents": "name: test_doc_imports\n\non:\n  workflow_call:\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.12\"\n    name: \"check doc imports #${{ matrix.python-version }}\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ matrix.python-version }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          cache-key: core\n\n      - name: Install dependencies\n        shell: bash\n        run: poetry install --with test\n\n      - name: Install langchain editable\n        run: |\n          poetry run pip install -e libs/core libs/langchain libs/community libs/experimental\n\n      - name: Check doc imports\n        shell: bash\n        run: |\n          poetry run python docs/scripts/check_imports.py\n\n      - name: Ensure the test did not create any additional files\n        shell: bash\n        run: |\n          set -eu\n\n          STATUS=\"$(git status)\"\n          echo \"$STATUS\"\n\n          # grep will exit non-zero if the target message isn't found,\n          # and `set -e` above will cause the step to fail.\n          echo \"$STATUS\" | grep 'nothing to commit, working tree clean'\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:35.986314", "created_at": "2024-06-11T21:44:27+02:00", "updated_at": "2024-06-11T22:26:37+02:00", "name": "Integration docs lint", "path": ".github/workflows/check_new_docs.yml", "contents": "---\nname: Integration docs lint\n\non:\n  push:\n    branches: [master]\n  pull_request:\n\n# If another push to the same PR or branch happens while this workflow is still running,\n# cancel the earlier run in favor of the next run.\n#\n# There's no point in testing an outdated version of the code. GitHub only allows\n# a limited number of job runners to be active at the same time, so it's better to cancel\n# pointless jobs early so that more useful jobs can run sooner.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n      - id: files\n        uses: Ana06/get-changed-files@v2.2.0\n      - name: Check new docs\n        run: |\n          python docs/scripts/check_templates.py ${{ steps.files.outputs.added }}\n", "state": "active", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:37.047572", "created_at": "2023-11-24T20:45:52+01:00", "updated_at": "2024-05-23T22:23:55+02:00", "name": "libs/anthropic CI", "path": ".github/workflows/langchain_anthropic_ci.yml", "contents": null, "state": "disabled_manually", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:38.102571", "created_at": "2023-11-28T04:06:13+01:00", "updated_at": "2024-05-23T22:24:09+02:00", "name": "libs/langchain openai CI", "path": ".github/workflows/langchain_openai_ci.yml", "contents": null, "state": "disabled_manually", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:39.343234", "created_at": "2024-03-15T01:42:24+01:00", "updated_at": "2024-04-25T18:25:33+02:00", "name": "Check Broken Links", "path": ".github/workflows/check-broken-links.yml", "contents": "name: Check Broken Links\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 13 * * *'\n\njobs:\n  check-links:\n    if: github.repository_owner == 'langchain-ai'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Use Node.js 18.x\n        uses: actions/setup-node@v3\n        with:\n          node-version: 18.x\n          cache: \"yarn\"\n          cache-dependency-path: ./docs/yarn.lock\n      - name: Install dependencies\n        run: yarn install --immutable --mode=skip-build\n        working-directory: ./docs\n      - name: Check broken links\n        run: yarn check-broken-links\n        working-directory: ./docs\n", "state": "disabled_manually", "repository": "langchain-ai/langchain"}
{"mined_at": "2024-07-15T18:36:41.602707", "created_at": "2020-04-15T12:11:55+02:00", "updated_at": "2024-06-17T08:31:35+02:00", "name": "Tests", "path": ".github/workflows/ci.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Tests\non:  # yamllint disable-line rule:truthy\n  schedule:\n    - cron: '28 0 * * *'\n  push:\n    branches: ['main', 'v[0-9]+-[0-9]+-test']\n  pull_request:\n    branches: ['main']\npermissions:\n  # All other permissions are set to none\n  contents: read\n  # Technically read access while waiting for images should be more than enough. However,\n  # there is a bug in GitHub Actions/Packages and in case private repositories are used, you get a permission\n  # denied error when attempting to just pull private image, changing the token permission to write solves the\n  # issue. This is not dangerous, because if it is for \"apache/airflow\", only maintainers can push ci.yml\n  # changes. If it is for a fork, then the token is read-only anyway.\n  packages: write\nenv:\n  GITHUB_REPOSITORY: ${{ github.repository }}\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  GITHUB_USERNAME: ${{ github.actor }}\n  IMAGE_TAG: \"${{ github.event.pull_request.head.sha || github.sha }}\"\n  VERBOSE: \"true\"\n\nconcurrency:\n  group: ci-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  build-info:\n    name: \"Build info\"\n    # At build-info stage we do not yet have outputs so we need to hard-code the runs-on to public runners\n    runs-on: [\"ubuntu-22.04\"]\n    env:\n      GITHUB_CONTEXT: ${{ toJson(github) }}\n    outputs:\n      image-tag: ${{ github.event.pull_request.head.sha || github.sha }}\n      docker-cache: ${{ steps.selective-checks.outputs.docker-cache }}\n      affected-providers-list-as-string: >-\n        ${{ steps.selective-checks.outputs.affected-providers-list-as-string }}\n      upgrade-to-newer-dependencies: ${{ steps.selective-checks.outputs.upgrade-to-newer-dependencies }}\n      python-versions: ${{ steps.selective-checks.outputs.python-versions }}\n      python-versions-list-as-string: ${{ steps.selective-checks.outputs.python-versions-list-as-string }}\n      all-python-versions-list-as-string: >-\n        ${{ steps.selective-checks.outputs.all-python-versions-list-as-string }}\n      default-python-version: ${{ steps.selective-checks.outputs.default-python-version }}\n      kubernetes-versions-list-as-string: >-\n        ${{ steps.selective-checks.outputs.kubernetes-versions-list-as-string }}\n      kubernetes-combos-list-as-string: >-\n        ${{ steps.selective-checks.outputs.kubernetes-combos-list-as-string }}\n      default-kubernetes-version: ${{ steps.selective-checks.outputs.default-kubernetes-version }}\n      postgres-versions: ${{ steps.selective-checks.outputs.postgres-versions }}\n      default-postgres-version: ${{ steps.selective-checks.outputs.default-postgres-version }}\n      mysql-versions: ${{ steps.selective-checks.outputs.mysql-versions }}\n      default-mysql-version: ${{ steps.selective-checks.outputs.default-mysql-version }}\n      default-helm-version: ${{ steps.selective-checks.outputs.default-helm-version }}\n      default-kind-version: ${{ steps.selective-checks.outputs.default-kind-version }}\n      full-tests-needed: ${{ steps.selective-checks.outputs.full-tests-needed }}\n      parallel-test-types-list-as-string: >-\n        ${{ steps.selective-checks.outputs.parallel-test-types-list-as-string }}\n      providers-test-types-list-as-string: >-\n        ${{ steps.selective-checks.outputs.providers-test-types-list-as-string }}\n      separate-test-types-list-as-string: >-\n        ${{ steps.selective-checks.outputs.separate-test-types-list-as-string }}\n      include-success-outputs: ${{ steps.selective-checks.outputs.include-success-outputs }}\n      postgres-exclude: ${{ steps.selective-checks.outputs.postgres-exclude }}\n      mysql-exclude: ${{ steps.selective-checks.outputs.mysql-exclude }}\n      sqlite-exclude: ${{ steps.selective-checks.outputs.sqlite-exclude }}\n      skip-provider-tests: ${{ steps.selective-checks.outputs.skip-provider-tests }}\n      run-tests: ${{ steps.selective-checks.outputs.run-tests }}\n      run-amazon-tests: ${{ steps.selective-checks.outputs.run-amazon-tests }}\n      run-www-tests: ${{ steps.selective-checks.outputs.run-www-tests }}\n      run-kubernetes-tests: ${{ steps.selective-checks.outputs.run-kubernetes-tests }}\n      basic-checks-only: ${{ steps.selective-checks.outputs.basic-checks-only }}\n      ci-image-build: ${{ steps.selective-checks.outputs.ci-image-build }}\n      prod-image-build: ${{ steps.selective-checks.outputs.prod-image-build }}\n      docs-build: ${{ steps.selective-checks.outputs.docs-build }}\n      mypy-folders: ${{ steps.selective-checks.outputs.mypy-folders }}\n      needs-mypy: ${{ steps.selective-checks.outputs.needs-mypy }}\n      needs-helm-tests: ${{ steps.selective-checks.outputs.needs-helm-tests }}\n      needs-api-tests: ${{ steps.selective-checks.outputs.needs-api-tests }}\n      needs-api-codegen: ${{ steps.selective-checks.outputs.needs-api-codegen }}\n      default-branch: ${{ steps.selective-checks.outputs.default-branch }}\n      default-constraints-branch: ${{ steps.selective-checks.outputs.default-constraints-branch }}\n      docs-list-as-string: ${{ steps.selective-checks.outputs.docs-list-as-string }}\n      skip-pre-commits: ${{ steps.selective-checks.outputs.skip-pre-commits }}\n      providers-compatibility-checks: ${{ steps.selective-checks.outputs.providers-compatibility-checks }}\n      helm-test-packages: ${{ steps.selective-checks.outputs.helm-test-packages }}\n      debug-resources: ${{ steps.selective-checks.outputs.debug-resources }}\n      runs-on-as-json-default: ${{ steps.selective-checks.outputs.runs-on-as-json-default }}\n      runs-on-as-json-public: ${{ steps.selective-checks.outputs.runs-on-as-json-public }}\n      runs-on-as-json-self-hosted: ${{ steps.selective-checks.outputs.runs-on-as-json-self-hosted }}\n      is-self-hosted-runner: ${{ steps.selective-checks.outputs.is-self-hosted-runner }}\n      is-airflow-runner: ${{ steps.selective-checks.outputs.is-airflow-runner }}\n      is-amd-runner: ${{ steps.selective-checks.outputs.is-amd-runner }}\n      is-arm-runner: ${{ steps.selective-checks.outputs.is-arm-runner }}\n      is-vm-runner: ${{ steps.selective-checks.outputs.is-vm-runner }}\n      is-k8s-runner: ${{ steps.selective-checks.outputs.is-k8s-runner }}\n      latest-versions-only: ${{ steps.selective-checks.outputs.latest-versions-only }}\n      chicken-egg-providers: ${{ steps.selective-checks.outputs.chicken-egg-providers }}\n      has-migrations: ${{ steps.selective-checks.outputs.has-migrations }}\n      source-head-repo: ${{ steps.source-run-info.outputs.source-head-repo }}\n      pull-request-labels: ${{ steps.source-run-info.outputs.pr-labels }}\n      in-workflow-build: ${{ steps.source-run-info.outputs.in-workflow-build }}\n      build-job-description: ${{ steps.source-run-info.outputs.build-job-description }}\n      testable-integrations: ${{ steps.selective-checks.outputs.testable-integrations }}\n      canary-run: ${{ steps.source-run-info.outputs.canary-run }}\n      run-coverage: ${{ steps.source-run-info.outputs.run-coverage }}\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: Fetch incoming commit ${{ github.sha }} with its parent\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.sha }}\n          fetch-depth: 2\n          persist-credentials: false\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: \"Get information about the Workflow\"\n        id: source-run-info\n        run: breeze ci get-workflow-info 2>> ${GITHUB_OUTPUT}\n      - name: Selective checks\n        id: selective-checks\n        env:\n          PR_LABELS: \"${{ steps.source-run-info.outputs.pr-labels }}\"\n          COMMIT_REF: \"${{ github.sha }}\"\n          VERBOSE: \"false\"\n        run: breeze ci selective-check 2>> ${GITHUB_OUTPUT}\n      - name: env\n        run: printenv\n        env:\n          PR_LABELS: ${{ steps.source-run-info.outputs.pr-labels }}\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n\n  basic-tests:\n    name: \"Basic tests\"\n    needs: [build-info]\n    uses: ./.github/workflows/basic-tests.yml\n    with:\n      runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}\n      run-www-tests: ${{needs.build-info.outputs.run-www-tests}}\n      needs-api-codegen: ${{needs.build-info.outputs.needs-api-codegen}}\n      default-python-version: ${{needs.build-info.outputs.default-python-version}}\n      basic-checks-only: ${{needs.build-info.outputs.basic-checks-only}}\n      skip-pre-commits: ${{needs.build-info.outputs.skip-pre-commits}}\n      canary-run: ${{needs.build-info.outputs.canary-run}}\n      latest-versions-only: ${{needs.build-info.outputs.latest-versions-only}}\n\n  build-ci-images:\n    name: >\n      ${{ needs.build-info.outputs.in-workflow-build == 'true' && 'Build' || 'Skip building' }}\n      CI images in-workflow\n    needs: [build-info]\n    uses: ./.github/workflows/ci-image-build.yml\n    permissions:\n      contents: read\n      # This write is only given here for `push` events from \"apache/airflow\" repo. It is not given for PRs\n      # from forks. This is to prevent malicious PRs from creating images in the \"apache/airflow\" repo.\n      # For regular build for PRS this \"build-prod-images\" workflow will be skipped anyway by the\n      # \"in-workflow-build\" condition\n      packages: write\n    secrets: inherit\n    with:\n      runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}\n      runs-on-as-json-self-hosted: ${{ needs.build-info.outputs.runs-on-as-json-self-hosted }}\n      do-build: ${{ needs.build-info.outputs.in-workflow-build }}\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      platform: \"linux/amd64\"\n      python-versions: ${{ needs.build-info.outputs.python-versions }}\n      branch: ${{ needs.build-info.outputs.default-branch }}\n      use-uv: \"true\"\n      upgrade-to-newer-dependencies: ${{ needs.build-info.outputs.upgrade-to-newer-dependencies }}\n      constraints-branch: ${{ needs.build-info.outputs.default-constraints-branch }}\n      docker-cache: ${{ needs.build-info.outputs.docker-cache }}\n\n  wait-for-ci-images:\n    timeout-minutes: 120\n    name: \"Wait for CI images\"\n    runs-on: ${{ fromJSON(needs.build-info.outputs.runs-on-as-json-public) }}\n    needs: [build-info, build-ci-images]\n    if: needs.build-info.outputs.ci-image-build == 'true'\n    env:\n      BACKEND: sqlite\n      # Force more parallelism for pull even on public images\n      PARALLELISM: 6\n      INCLUDE_SUCCESS_OUTPUTS: \"${{needs.build-info.outputs.include-success-outputs}}\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n        if: needs.build-info.outputs.in-workflow-build == 'false'\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n        if: needs.build-info.outputs.in-workflow-build == 'false'\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n        if: needs.build-info.outputs.in-workflow-build == 'false'\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n        if: needs.build-info.outputs.in-workflow-build == 'false'\n      - name: Login to ghcr.io\n        run: echo \"${{ env.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n        if: needs.build-info.outputs.in-workflow-build == 'false'\n      - name: Wait for CI images ${{ env.PYTHON_VERSIONS }}:${{ needs.build-info.outputs.image-tag }}\n        id: wait-for-images\n        run: breeze ci-image pull --run-in-parallel --wait-for-image --tag-as-latest\n        env:\n          PYTHON_VERSIONS: ${{ needs.build-info.outputs.python-versions-list-as-string }}\n          DEBUG_RESOURCES: ${{needs.build-info.outputs.debug-resources}}\n        if: needs.build-info.outputs.in-workflow-build == 'false'\n\n  additional-ci-image-checks:\n    name: \"Additional CI image checks\"\n    needs: [build-info, wait-for-ci-images]\n    uses: ./.github/workflows/additional-ci-image-checks.yml\n    if: needs.build-info.outputs.canary-run == 'true'\n    with:\n      runs-on-as-json-default: ${{ needs.build-info.outputs.runs-on-as-json-default }}\n      runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}\n      runs-on-as-json-self-hosted: ${{ needs.build-info.outputs.runs-on-as-json-self-hosted }}\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      python-versions: ${{ needs.build-info.outputs.python-versions }}\n      branch: ${{ needs.build-info.outputs.default-branch }}\n      constraints-branch: ${{ needs.build-info.outputs.default-constraints-branch }}\n      default-python-version: ${{ needs.build-info.outputs.default-python-version }}\n      upgrade-to-newer-dependencies: ${{ needs.build-info.outputs.upgrade-to-newer-dependencies }}\n      skip-pre-commits: ${{ needs.build-info.outputs.skip-pre-commits }}\n      docker-cache: ${{ needs.build-info.outputs.docker-cache }}\n      canary-run: ${{ needs.build-info.outputs.canary-run }}\n      latest-versions-only: ${{ needs.build-info.outputs.latest-versions-only }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      debug-resources: ${{ needs.build-info.outputs.debug-resources }}\n\n\n  generate-constraints:\n    name: \"Generate constraints\"\n    needs: [build-info, wait-for-ci-images]\n    uses: ./.github/workflows/generate-constraints.yml\n    if: needs.build-info.outputs.ci-image-build == 'true'\n    with:\n      runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}\n      python-versions-list-as-string: ${{ needs.build-info.outputs.python-versions-list-as-string }}\n      # generate no providers constraints only in canary builds - they take quite some time to generate\n      # they are not needed for regular builds, they are only needed to update constraints in canaries\n      generate-no-providers-constraints: ${{ needs.build-info.outputs.canary-run }}\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      chicken-egg-providers: ${{ needs.build-info.outputs.chicken-egg-providers }}\n      debug-resources: ${{ needs.build-info.outputs.debug-resources }}\n\n  static-checks-mypy-docs:\n    name: \"Static checks, mypy, docs\"\n    needs: [build-info, wait-for-ci-images]\n    uses: ./.github/workflows/static-checks-mypy-docs.yml\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ needs.build-info.outputs.runs-on-as-json-default }}\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      needs-mypy: ${{ needs.build-info.outputs.needs-mypy }}\n      mypy-folders: ${{ needs.build-info.outputs.mypy-folders }}\n      python-versions-list-as-string: ${{ needs.build-info.outputs.python-versions-list-as-string }}\n      branch: ${{ needs.build-info.outputs.default-branch }}\n      canary-run: ${{ needs.build-info.outputs.canary-run }}\n      default-python-version: ${{ needs.build-info.outputs.default-python-version }}\n      docs-list-as-string: ${{ needs.build-info.outputs.docs-list-as-string }}\n      latest-versions-only: ${{ needs.build-info.outputs.latest-versions-only }}\n      basic-checks-only: ${{ needs.build-info.outputs.basic-checks-only }}\n      upgrade-to-newer-dependencies: ${{ needs.build-info.outputs.upgrade-to-newer-dependencies }}\n      skip-pre-commits: ${{ needs.build-info.outputs.skip-pre-commits }}\n      chicken-egg-providers: ${{ needs.build-info.outputs.chicken-egg-providers }}\n      ci-image-build: ${{ needs.build-info.outputs.ci-image-build }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      debug-resources: ${{ needs.build-info.outputs.debug-resources }}\n\n  providers:\n    name: \"Provider checks\"\n    uses: ./.github/workflows/check-providers.yml\n    needs: [build-info, wait-for-ci-images]\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    if: >\n      needs.build-info.outputs.skip-providers-tests != 'true' &&\n      needs.build-info.outputs.latest-versions-only != 'true'\n    with:\n      runs-on-as-json-default: ${{ needs.build-info.outputs.runs-on-as-json-default }}\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      default-python-version: ${{ needs.build-info.outputs.default-python-version }}\n      upgrade-to-newer-dependencies: ${{ needs.build-info.outputs.upgrade-to-newer-dependencies }}\n      affected-providers-list-as-string: ${{ needs.build-info.outputs.affected-providers-list-as-string }}\n      providers-compatibility-checks: ${{ needs.build-info.outputs.providers-compatibility-checks }}\n      skip-provider-tests: ${{ needs.build-info.outputs.skip-provider-tests }}\n      python-versions: ${{ needs.build-info.outputs.python-versions }}\n      providers-test-types-list-as-string: ${{ needs.build-info.outputs.providers-test-types-list-as-string }}\n\n  tests-helm:\n    name: \"Helm tests\"\n    uses: ./.github/workflows/helm-tests.yml\n    needs: [build-info, wait-for-ci-images]\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ needs.build-info.outputs.runs-on-as-json-default }}\n      runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}\n      helm-test-packages: ${{ needs.build-info.outputs.helm-test-packages }}\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      default-python-version: ${{ needs.build-info.outputs.default-python-version }}\n    if: >\n      needs.build-info.outputs.needs-helm-tests == 'true' &&\n      needs.build-info.outputs.default-branch == 'main' &&\n      needs.build-info.outputs.latest-versions-only != 'true'\n\n  tests-postgres:\n    name: \"Postgres tests\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    needs: [build-info, wait-for-ci-images]\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ needs.build-info.outputs.runs-on-as-json-default }}\n      backend: \"postgres\"\n      test-name: \"Postgres\"\n      test-scope: \"DB\"\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      python-versions: ${{ needs.build-info.outputs.python-versions }}\n      backend-versions: ${{ needs.build-info.outputs.postgres-versions }}\n      excludes: ${{ needs.build-info.outputs.postgres-exclude }}\n      parallel-test-types-list-as-string: ${{ needs.build-info.outputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-migration-tests: \"true\"\n      run-coverage: ${{ needs.build-info.outputs.run-coverage }}\n      debug-resources: ${{ needs.build-info.outputs.debug-resources }}\n    if: needs.build-info.outputs.run-tests == 'true'\n\n  tests-mysql:\n    name: \"MySQL tests\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    needs: [build-info, wait-for-ci-images]\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ needs.build-info.outputs.runs-on-as-json-default }}\n      backend: \"mysql\"\n      test-name: \"MySQL\"\n      test-scope: \"DB\"\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      python-versions: ${{ needs.build-info.outputs.python-versions }}\n      backend-versions: ${{ needs.build-info.outputs.mysql-versions }}\n      excludes: ${{ needs.build-info.outputs.mysql-exclude }}\n      parallel-test-types-list-as-string: ${{ needs.build-info.outputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ needs.build-info.outputs.run-coverage }}\n      run-migration-tests: \"true\"\n      debug-resources: ${{ needs.build-info.outputs.debug-resources }}\n    if: needs.build-info.outputs.run-tests == 'true'\n\n  tests-sqlite:\n    name: \"Sqlite tests\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    needs: [build-info, wait-for-ci-images]\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ needs.build-info.outputs.runs-on-as-json-default }}\n      backend: \"sqlite\"\n      test-name: \"Sqlite\"\n      test-name-separator: \"\"\n      test-scope: \"DB\"\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      python-versions: ${{ needs.build-info.outputs.python-versions }}\n      # No versions for sqlite\n      backend-versions: \"['']\"\n      excludes: ${{ needs.build-info.outputs.sqlite-exclude }}\n      parallel-test-types-list-as-string: ${{ needs.build-info.outputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ needs.build-info.outputs.run-coverage }}\n      run-migration-tests: \"true\"\n      debug-resources: ${{ needs.build-info.outputs.debug-resources }}\n    if: needs.build-info.outputs.run-tests == 'true'\n\n  tests-non-db:\n    name: \"Non-DB tests\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    needs: [build-info, wait-for-ci-images]\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ needs.build-info.outputs.runs-on-as-json-default }}\n      backend: \"sqlite\"\n      test-name: \"\"\n      test-name-separator: \"\"\n      test-scope: \"Non-DB\"\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      python-versions: ${{ needs.build-info.outputs.python-versions }}\n      # No versions for non-db\n      backend-versions: \"['']\"\n      excludes: ${{ needs.build-info.outputs.sqlite-exclude }}\n      parallel-test-types-list-as-string: ${{ needs.build-info.outputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ needs.build-info.outputs.run-coverage }}\n      debug-resources: ${{ needs.build-info.outputs.debug-resources }}\n    if: needs.build-info.outputs.run-tests == 'true'\n\n  tests-special:\n    name: \"Special tests\"\n    uses: ./.github/workflows/special-tests.yml\n    needs: [build-info, wait-for-ci-images]\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    if: >\n      needs.build-info.outputs.run-tests == 'true' &&\n      (needs.build-info.outputs.canary-run == 'true' ||\n       needs.build-info.outputs.upgrade-to-newer-dependencies != 'false' ||\n       needs.build-info.outputs.full-tests-needed == 'true')\n    with:\n      runs-on-as-json-default: ${{ needs.build-info.outputs.runs-on-as-json-default }}\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      parallel-test-types-list-as-string: ${{ needs.build-info.outputs.parallel-test-types-list-as-string }}\n      separate-test-types-list-as-string: >-\n        ${{ needs.build-info.outputs.separate-test-types-list-as-string }}\n      run-coverage: ${{ needs.build-info.outputs.run-coverage }}\n      default-python-version: ${{ needs.build-info.outputs.default-python-version }}\n      python-versions: ${{ needs.build-info.outputs.python-versions }}\n      default-postgres-version: ${{ needs.build-info.outputs.default-postgres-version }}\n      canary-run: ${{ needs.build-info.outputs.canary-run }}\n      upgrade-to-newer-dependencies: ${{ needs.build-info.outputs.upgrade-to-newer-dependencies }}\n      debug-resources: ${{ needs.build-info.outputs.debug-resources }}\n\n  tests-integration:\n    name: Integration Tests\n    needs: [build-info, wait-for-ci-images]\n    uses: ./.github/workflows/integration-tests.yml\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      testable-integrations: ${{ needs.build-info.outputs.testable-integrations }}\n      default-python-version: ${{ needs.build-info.outputs.default-python-version }}\n      default-postgres-version: ${{ needs.build-info.outputs.default-postgres-version }}\n      default-mysql-version: ${{ needs.build-info.outputs.default-mysql-version }}\n      skip-provider-tests: ${{ needs.build-info.outputs.skip-provider-tests }}\n      run-coverage: ${{ needs.build-info.outputs.run-coverage }}\n      debug-resources: ${{ needs.build-info.outputs.debug-resources }}\n    if: needs.build-info.outputs.run-tests == 'true'\n\n  build-prod-images:\n    name: >\n      ${{ needs.build-info.outputs.in-workflow-build == 'true' && 'Build' || 'Skip building' }}\n      PROD images in-workflow\n    needs: [build-info, build-ci-images, generate-constraints]\n    uses: ./.github/workflows/prod-image-build.yml\n    permissions:\n      contents: read\n      # This write is only given here for `push` events from \"apache/airflow\" repo. It is not given for PRs\n      # from forks. This is to prevent malicious PRs from creating images in the \"apache/airflow\" repo.\n      # For regular build for PRS this \"build-prod-images\" workflow will be skipped anyway by the\n      # \"in-workflow-build\" condition\n      packages: write\n    secrets: inherit\n    with:\n      runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}\n      build-type: \"Regular\"\n      do-build: ${{ needs.build-info.outputs.in-workflow-build }}\n      upload-package-artifact: \"true\"\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      platform: \"linux/amd64\"\n      python-versions: ${{ needs.build-info.outputs.python-versions }}\n      default-python-version: ${{ needs.build-info.outputs.default-python-version }}\n      branch: ${{ needs.build-info.outputs.default-branch }}\n      push-image: \"true\"\n      use-uv: ${{ needs.build-info.outputs.default-branch == 'main' && 'true' || 'false' }}\n      build-provider-packages: ${{ needs.build-info.outputs.default-branch == 'main' }}\n      upgrade-to-newer-dependencies: ${{ needs.build-info.outputs.upgrade-to-newer-dependencies }}\n      chicken-egg-providers: ${{ needs.build-info.outputs.chicken-egg-providers }}\n      constraints-branch: ${{ needs.build-info.outputs.default-constraints-branch }}\n      docker-cache: ${{ needs.build-info.outputs.docker-cache }}\n\n  wait-for-prod-images:\n    timeout-minutes: 80\n    name: \"Wait for PROD images\"\n    runs-on: ${{ fromJSON(needs.build-info.outputs.runs-on-as-json-public) }}\n    needs: [build-info, wait-for-ci-images, build-prod-images]\n    if: needs.build-info.outputs.prod-image-build == 'true'\n    env:\n      BACKEND: sqlite\n      PYTHON_MAJOR_MINOR_VERSION: \"${{needs.build-info.outputs.default-python-version}}\"\n      # Force more parallelism for pull on public images\n      PARALLELISM: 6\n      INCLUDE_SUCCESS_OUTPUTS: \"${{needs.build-info.outputs.include-success-outputs}}\"\n      IMAGE_TAG: ${{ needs.build-info.outputs.image-tag }}\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n        if: needs.build-info.outputs.in-workflow-build == 'false'\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n        if: needs.build-info.outputs.in-workflow-build == 'false'\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n        if: needs.build-info.outputs.in-workflow-build == 'false'\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n        if: needs.build-info.outputs.in-workflow-build == 'false'\n      - name: Login to ghcr.io\n        run: echo \"${{ env.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n        if: needs.build-info.outputs.in-workflow-build == 'false'\n      - name: Wait for PROD images ${{ env.PYTHON_VERSIONS }}:${{ needs.build-info.outputs.image-tag }}\n        # We wait for the images to be available either from \"build-images.yml' run as pull_request_target\n        # or from build-prod-images (or build-prod-images-release-branch) above.\n        # We are utilising single job to wait for all images because this job merely waits\n        # For the images to be available.\n        run: breeze prod-image pull --wait-for-image --run-in-parallel\n        env:\n          PYTHON_VERSIONS: ${{ needs.build-info.outputs.python-versions-list-as-string }}\n          DEBUG_RESOURCES: ${{ needs.build-info.outputs.debug-resources }}\n        if: needs.build-info.outputs.in-workflow-build == 'false'\n\n  additional-prod-image-tests:\n    name: \"Additional PROD image tests\"\n    needs: [build-info, wait-for-prod-images, generate-constraints]\n    uses: ./.github/workflows/additional-prod-image-tests.yml\n    with:\n      runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}\n      default-branch: ${{ needs.build-info.outputs.default-branch }}\n      constraints-branch: ${{ needs.build-info.outputs.default-constraints-branch }}\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      upgrade-to-newer-dependencies: ${{ needs.build-info.outputs.upgrade-to-newer-dependencies }}\n      chicken-egg-providers: ${{ needs.build-info.outputs.chicken-egg-providers }}\n      docker-cache: ${{ needs.build-info.outputs.docker-cache }}\n      default-python-version: ${{ needs.build-info.outputs.default-python-version }}\n      canary-run: ${{ needs.build-info.outputs.canary-run }}\n    if: needs.build-info.outputs.prod-image-build == 'true'\n\n  tests-kubernetes:\n    name: \"Kubernetes tests\"\n    uses: ./.github/workflows/k8s-tests.yml\n    needs: [build-info, wait-for-prod-images]\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ needs.build-info.outputs.runs-on-as-json-default }}\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      python-versions-list-as-string: ${{ needs.build-info.outputs.python-versions-list-as-string }}\n      kubernetes-versions-list-as-string: ${{ needs.build-info.outputs.kubernetes-versions-list-as-string }}\n      kubernetes-combos-list-as-string: ${{ needs.build-info.outputs.kubernetes-combos-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      debug-resources: ${{ needs.build-info.outputs.debug-resources }}\n    if: >\n      ( needs.build-info.outputs.run-kubernetes-tests == 'true' ||\n      needs.build-info.outputs.needs-helm-tests == 'true')\n\n  finalize-tests:\n    name: Finalize tests\n    permissions:\n      contents: write\n      packages: write\n    secrets: inherit\n    needs:\n      - build-info\n      - generate-constraints\n      - wait-for-ci-images\n      - wait-for-prod-images\n      - static-checks-mypy-docs\n      - tests-sqlite\n      - tests-mysql\n      - tests-postgres\n      - tests-non-db\n      - tests-integration\n    uses: ./.github/workflows/finalize-tests.yml\n    with:\n      runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}\n      runs-on-as-json-self-hosted: ${{ needs.build-info.outputs.runs-on-as-json-self-hosted }}\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      python-versions: ${{ needs.build-info.outputs.python-versions }}\n      python-versions-list-as-string: ${{ needs.build-info.outputs.python-versions-list-as-string }}\n      branch: ${{ needs.build-info.outputs.default-branch }}\n      constraints-branch: ${{ needs.build-info.outputs.default-constraints-branch }}\n      default-python-version: ${{ needs.build-info.outputs.default-python-version }}\n      in-workflow-build: ${{ needs.build-info.outputs.in-workflow-build }}\n      upgrade-to-newer-dependencies: ${{ needs.build-info.outputs.upgrade-to-newer-dependencies }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      docker-cache: ${{ needs.build-info.outputs.docker-cache }}\n      canary-run: ${{ needs.build-info.outputs.canary-run }}\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:42.724074", "created_at": "2020-09-30T22:36:29+02:00", "updated_at": "2021-12-03T18:44:36+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: \"CodeQL\"\n\non:  # yamllint disable-line rule:truthy\n  push:\n    branches: [main]\n  schedule:\n    - cron: '0 2 * * *'\n\npermissions:\n  contents: read\nconcurrency:\n  group: codeql-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  selective-checks:\n    name: Selective checks\n    runs-on: [\"ubuntu-22.04\"]\n    outputs:\n      needs-python-scans: ${{ steps.selective-checks.outputs.needs-python-scans }}\n      needs-javascript-scans: ${{ steps.selective-checks.outputs.needs-javascript-scans }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n          persist-credentials: false\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: Selective checks\n        id: selective-checks\n        env:\n          COMMIT_REF: \"${{ github.sha }}\"\n          VERBOSE: \"false\"\n        run: breeze ci selective-check 2>> ${GITHUB_OUTPUT}\n\n  analyze:\n    name: Analyze\n    runs-on: [\"ubuntu-22.04\"]\n    needs: [selective-checks]\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: ['python', 'javascript']\n    permissions:\n      actions: read\n      contents: read\n      pull-requests: read\n      security-events: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n        if: |\n          matrix.language == 'python' && needs.selective-checks.outputs.needs-python-scans == 'true' ||\n          matrix.language == 'javascript' && needs.selective-checks.outputs.needs-javascript-scans == 'true'\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n        if: |\n          matrix.language == 'python' && needs.selective-checks.outputs.needs-python-scans == 'true' ||\n          matrix.language == 'javascript' && needs.selective-checks.outputs.needs-javascript-scans == 'true'\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n        if: |\n          matrix.language == 'python' && needs.selective-checks.outputs.needs-python-scans == 'true' ||\n          matrix.language == 'javascript' && needs.selective-checks.outputs.needs-javascript-scans == 'true'\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        if: |\n          matrix.language == 'python' && needs.selective-checks.outputs.needs-python-scans == 'true' ||\n          matrix.language == 'javascript' && needs.selective-checks.outputs.needs-javascript-scans == 'true'\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:43.828390", "created_at": "2020-10-28T21:00:00+01:00", "updated_at": "2022-06-29T09:16:35+02:00", "name": "Label when reviewed", "path": ".github/workflows/label_when_reviewed.yml", "contents": null, "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:44.975838", "created_at": "2021-02-27T13:24:49+01:00", "updated_at": "2021-04-04T13:32:44+02:00", "name": "Close stale PRs & Issues", "path": ".github/workflows/stale.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\n# https://github.com/actions/stale\nname: 'Close stale PRs & Issues'\non:  # yamllint disable-line rule:truthy\n  schedule:\n    - cron: '0 0 * * *'\npermissions:\n  # All other permissions are set to none\n  pull-requests: write\n  issues: write\njobs:\n  stale:\n    runs-on: [\"ubuntu-22.04\"]\n    steps:\n      - uses: actions/stale@v9\n        with:\n          stale-pr-message: >\n            This pull request has been automatically marked as stale because it has not had\n            recent activity. It will be closed in 5 days if no further activity occurs. Thank you\n            for your contributions.\n          days-before-pr-stale: 45\n          days-before-pr-close: 5\n          exempt-pr-labels: 'pinned,security'\n          only-issue-labels: 'pending-response'\n          remove-stale-when-updated: true\n          days-before-issue-stale: 14\n          days-before-issue-close: 7\n          stale-issue-message: >\n            This issue has been automatically marked as stale because it has been open for 14 days\n            with no response from the author. It will be closed in next 7 days if no further\n            activity occurs from the issue author.\n          close-issue-message: >\n            This issue has been closed because it has not received response from the issue author.\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:46.103568", "created_at": "2021-05-25T16:38:46+02:00", "updated_at": "2022-10-30T15:46:11+01:00", "name": "Build Images", "path": ".github/workflows/build-images.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: \"Build Images\"\nrun-name: >\n  Build images for ${{ github.event.pull_request.title }} ${{ github.event.pull_request._links.html.href }}\non:  # yamllint disable-line rule:truthy\n  pull_request_target:\npermissions:\n  # all other permissions are set to none\n  contents: read\n  pull-requests: read\n  packages: read\nenv:\n  ANSWER: \"yes\"\n  # You can override CONSTRAINTS_GITHUB_REPOSITORY by setting secret in your repo but by default the\n  # Airflow one is going to be used\n  CONSTRAINTS_GITHUB_REPOSITORY: >-\n    ${{ secrets.CONSTRAINTS_GITHUB_REPOSITORY != '' &&\n        secrets.CONSTRAINTS_GITHUB_REPOSITORY || 'apache/airflow' }}\n  # This token is WRITE one - pull_request_target type of events always have the WRITE token\n  DB_RESET: \"true\"\n  GITHUB_REPOSITORY: ${{ github.repository }}\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  GITHUB_USERNAME: ${{ github.actor }}\n  IMAGE_TAG: \"${{ github.event.pull_request.head.sha || github.sha }}\"\n  INCLUDE_SUCCESS_OUTPUTS: \"true\"\n  USE_SUDO: \"true\"\n  VERBOSE: \"true\"\n\nconcurrency:\n  group: build-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-info:\n    timeout-minutes: 10\n    name: \"Build Info\"\n    # At build-info stage we do not yet have outputs so we need to hard-code the runs-on to public runners\n    runs-on: [\"ubuntu-22.04\"]\n    env:\n      TARGET_BRANCH: ${{ github.event.pull_request.base.ref }}\n    outputs:\n      image-tag: ${{ github.event.pull_request.head.sha || github.sha }}\n      python-versions: ${{ steps.selective-checks.outputs.python-versions }}\n      python-versions-list-as-string: ${{ steps.selective-checks.outputs.python-versions-list-as-string }}\n      default-python-version: ${{ steps.selective-checks.outputs.default-python-version }}\n      upgrade-to-newer-dependencies: ${{ steps.selective-checks.outputs.upgrade-to-newer-dependencies }}\n      run-tests: ${{ steps.selective-checks.outputs.run-tests }}\n      run-kubernetes-tests: ${{ steps.selective-checks.outputs.run-kubernetes-tests }}\n      ci-image-build: ${{ steps.selective-checks.outputs.ci-image-build }}\n      prod-image-build: ${{ steps.selective-checks.outputs.prod-image-build }}\n      docker-cache: ${{ steps.selective-checks.outputs.docker-cache }}\n      default-branch: ${{ steps.selective-checks.outputs.default-branch }}\n      constraints-branch: ${{ steps.selective-checks.outputs.default-constraints-branch }}\n      runs-on-as-json-default: ${{ steps.selective-checks.outputs.runs-on-as-json-default }}\n      runs-on-as-json-public: ${{ steps.selective-checks.outputs.runs-on-as-json-public }}\n      runs-on-as-json-self-hosted: ${{ steps.selective-checks.outputs.runs-on-as-json-self-hosted }}\n      is-self-hosted-runner: ${{ steps.selective-checks.outputs.is-self-hosted-runner }}\n      is-committer-build: ${{ steps.selective-checks.outputs.is-committer-build }}\n      is-airflow-runner: ${{ steps.selective-checks.outputs.is-airflow-runner }}\n      is-amd-runner: ${{ steps.selective-checks.outputs.is-amd-runner }}\n      is-arm-runner: ${{ steps.selective-checks.outputs.is-arm-runner }}\n      is-vm-runner: ${{ steps.selective-checks.outputs.is-vm-runner }}\n      is-k8s-runner: ${{ steps.selective-checks.outputs.is-k8s-runner }}\n      chicken-egg-providers: ${{ steps.selective-checks.outputs.chicken-egg-providers }}\n      target-commit-sha: \"${{steps.discover-pr-merge-commit.outputs.target-commit-sha ||\n          github.event.pull_request.head.sha ||\n          github.sha\n        }}\"\n    if: github.repository == 'apache/airflow'\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: Discover PR merge commit\n        id: discover-pr-merge-commit\n        run: |\n          # Sometimes target-commit-sha cannot be\n          TARGET_COMMIT_SHA=\"$(gh api '${{ github.event.pull_request.url }}' --jq .merge_commit_sha)\"\n          if [[ ${TARGET_COMMIT_SHA} == \"\" ]]; then\n            # Sometimes retrieving the merge commit SHA from PR fails. We retry it once. Otherwise we\n            # fall-back to github.event.pull_request.head.sha\n            echo\n            echo \"Could not retrieve merge commit SHA from PR, waiting for 3 seconds and retrying.\"\n            echo\n            sleep 3\n            TARGET_COMMIT_SHA=\"$(gh api '${{ github.event.pull_request.url }}' --jq .merge_commit_sha)\"\n            if [[ ${TARGET_COMMIT_SHA} == \"\" ]]; then\n              echo\n              echo \"Could not retrieve merge commit SHA from PR, falling back to PR head SHA.\"\n              echo\n              TARGET_COMMIT_SHA=\"${{ github.event.pull_request.head.sha }}\"\n            fi\n          fi\n          echo \"TARGET_COMMIT_SHA=${TARGET_COMMIT_SHA}\"\n          echo \"TARGET_COMMIT_SHA=${TARGET_COMMIT_SHA}\" >> ${GITHUB_ENV}\n          echo \"target-commit-sha=${TARGET_COMMIT_SHA}\" >> ${GITHUB_OUTPUT}\n        if: github.event_name == 'pull_request_target'\n      # The labels in the event aren't updated when re-triggering the job, So lets hit the API to get\n      # up-to-date values\n      - name: Get latest PR labels\n        id: get-latest-pr-labels\n        run: |\n          echo -n \"pull-request-labels=\" >> ${GITHUB_OUTPUT}\n          gh api graphql --paginate -F node_id=${{github.event.pull_request.node_id}} -f query='\n            query($node_id: ID!, $endCursor: String) {\n              node(id:$node_id) {\n                ... on PullRequest {\n                  labels(first: 100, after: $endCursor) {\n                    nodes { name }\n                    pageInfo { hasNextPage endCursor }\n                  }\n                }\n              }\n            }' --jq '.data.node.labels.nodes[]' | jq --slurp -c '[.[].name]' >> ${GITHUB_OUTPUT}\n        if: github.event_name == 'pull_request_target'\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ env.TARGET_COMMIT_SHA }}\n          persist-credentials: false\n          fetch-depth: 2\n      ####################################################################################################\n      #  WE ONLY DO THAT CHECKOUT ABOVE TO RETRIEVE THE TARGET COMMIT AND IT'S PARENT. DO NOT RUN ANY CODE\n      #  RIGHT AFTER THAT AS WE ARE GOING TO RESTORE THE TARGET BRANCH CODE IN THE NEXT STEP.\n      ####################################################################################################\n      - name: Checkout target branch to use ci/scripts and breeze from there.\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.base_ref }}\n          persist-credentials: false\n      ####################################################################################################\n      #  HERE EVERYTHING IS PERFECTLY SAFE TO RUN. AT THIS POINT WE HAVE THE TARGET BRANCH CHECKED OUT\n      #  AND WE CAN RUN ANY CODE FROM IT. WE CAN RUN BREEZE COMMANDS, WE CAN RUN SCRIPTS, WE CAN RUN\n      #  COMPOSITE ACTIONS. WE CAN RUN ANYTHING THAT IS IN THE TARGET BRANCH AND THERE IS NO RISK THAT\n      #  CODE WILL BE RUN FROM THE PR.\n      ####################################################################################################\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Setup python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      ####################################################################################################\n      #  WE RUN SELECTIVE CHECKS HERE USING THE TARGET COMMIT AND ITS PARENT TO BE ABLE TO COMPARE THEM\n      #  AND SEE WHAT HAS CHANGED IN THE PR. THE CODE IS STILL RUN FROM THE TARGET BRANCH, SO IT IS SAFE\n      #  TO RUN IT, WE ONLY PASS TARGET_COMMIT_SHA SO THAT SELECTIVE CHECKS CAN SEE WHAT'S COMING IN THE PR\n      ####################################################################################################\n      - name: Selective checks\n        id: selective-checks\n        env:\n          PR_LABELS: \"${{ steps.get-latest-pr-labels.outputs.pull-request-labels }}\"\n          COMMIT_REF: \"${{ env.TARGET_COMMIT_SHA }}\"\n          VERBOSE: \"false\"\n          AIRFLOW_SOURCES_ROOT: \"${{ github.workspace }}\"\n        run: breeze ci selective-check 2>> ${GITHUB_OUTPUT}\n      - name: env\n        run: printenv\n        env:\n          PR_LABELS: ${{ steps.get-latest-pr-labels.outputs.pull-request-labels }}\n          GITHUB_CONTEXT: ${{ toJson(github) }}\n\n\n  build-ci-images:\n    name: Build CI images\n    permissions:\n      contents: read\n      packages: write\n    secrets: inherit\n    needs: [build-info]\n    uses: ./.github/workflows/ci-image-build.yml\n    # Only run this it if the PR comes from fork, otherwise build will be done \"in-PR-workflow\"\n    if: |\n      needs.build-info.outputs.ci-image-build == 'true' &&\n      github.event.pull_request.head.repo.full_name != 'apache/airflow'\n    with:\n      runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}\n      runs-on-as-json-self-hosted: ${{ needs.build-info.outputs.runs-on-as-json-self-hosted }}\n      do-build: ${{ needs.build-info.outputs.ci-image-build }}\n      target-commit-sha: ${{ needs.build-info.outputs.target-commit-sha }}\n      pull-request-target: \"true\"\n      is-committer-build: ${{ needs.build-info.outputs.is-committer-build }}\n      push-image: \"true\"\n      use-uv: \"true\"\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      platform: \"linux/amd64\"\n      python-versions: ${{ needs.build-info.outputs.python-versions }}\n      branch: ${{ needs.build-info.outputs.default-branch }}\n      constraints-branch: ${{ needs.build-info.outputs.constraints-branch }}\n      upgrade-to-newer-dependencies: ${{ needs.build-info.outputs.upgrade-to-newer-dependencies }}\n      docker-cache: ${{ needs.build-info.outputs.docker-cache }}\n\n  generate-constraints:\n    name: \"Generate constraints\"\n    needs: [build-info, build-ci-images]\n    uses: ./.github/workflows/generate-constraints.yml\n    with:\n      runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}\n      python-versions-list-as-string: ${{ needs.build-info.outputs.python-versions-list-as-string }}\n      # For regular PRs we do not need \"no providers\" constraints - they are only needed in canary builds\n      generate-no-providers-constraints: \"false\"\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      chicken-egg-providers: ${{ needs.build-info.outputs.chicken-egg-providers }}\n      debug-resources: ${{ needs.build-info.outputs.debug-resources }}\n\n  build-prod-images:\n    name: Build PROD images\n    permissions:\n      contents: read\n      packages: write\n    secrets: inherit\n    needs: [build-info, generate-constraints]\n    uses: ./.github/workflows/prod-image-build.yml\n    # Only run this it if the PR comes from fork, otherwise build will be done \"in-PR-workflow\"\n    if: |\n      needs.build-info.outputs.prod-image-build == 'true' &&\n      github.event.pull_request.head.repo.full_name != 'apache/airflow'\n    with:\n      runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}\n      build-type: \"Regular\"\n      do-build: ${{ needs.build-info.outputs.ci-image-build }}\n      upload-package-artifact: \"true\"\n      target-commit-sha: ${{ needs.build-info.outputs.target-commit-sha }}\n      pull-request-target: \"true\"\n      is-committer-build: ${{ needs.build-info.outputs.is-committer-build }}\n      push-image: \"true\"\n      use-uv: ${{ needs.build-info.outputs.default-branch == 'main' && 'true' || 'false' }}\n      image-tag: ${{ needs.build-info.outputs.image-tag }}\n      platform: \"linux/amd64\"\n      python-versions: ${{ needs.build-info.outputs.python-versions }}\n      default-python-version: ${{ needs.build-info.outputs.default-python-version }}\n      branch: ${{ needs.build-info.outputs.default-branch }}\n      constraints-branch: ${{ needs.build-info.outputs.constraints-branch }}\n      build-provider-packages: \"true\"\n      upgrade-to-newer-dependencies: ${{ needs.build-info.outputs.upgrade-to-newer-dependencies }}\n      chicken-egg-providers: ${{ needs.build-info.outputs.chicken-egg-providers }}\n      docker-cache: ${{ needs.build-info.outputs.docker-cache }}\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:47.287958", "created_at": "2022-06-15T11:42:48+02:00", "updated_at": "2022-06-16T10:50:21+02:00", "name": "Release PROD images", "path": ".github/workflows/release_dockerhub_image.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: \"Release PROD images\"\non:  # yamllint disable-line rule:truthy\n  workflow_dispatch:\n    inputs:\n      airflowVersion:\n        description: 'Airflow version'\n        required: true\n      skipLatest:\n        description: 'Skip Latest: Set to true if not latest.'\n        default: ''\n        required: false\npermissions:\n  contents: read\n  packages: read\nconcurrency:\n  group: ${{ github.event.inputs.airflowVersion }}\n  cancel-in-progress: true\nenv:\n  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n  VERBOSE: true\njobs:\n  build-info:\n    timeout-minutes: 10\n    name: \"Build Info\"\n    runs-on: [\"ubuntu-22.04\"]\n    outputs:\n      pythonVersions: ${{ steps.selective-checks.outputs.python-versions }}\n      allPythonVersions: ${{ steps.selective-checks.outputs.all-python-versions }}\n      defaultPythonVersion: ${{ steps.selective-checks.outputs.default-python-version }}\n      chicken-egg-providers: ${{ steps.selective-checks.outputs.chicken-egg-providers }}\n      skipLatest: ${{ github.event.inputs.skipLatest == '' && ' ' || '--skip-latest' }}\n      limitPlatform: ${{ github.repository == 'apache/airflow' && ' ' || '--limit-platform linux/amd64' }}\n    env:\n      GITHUB_CONTEXT: ${{ toJson(github) }}\n      VERBOSE: true\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: Selective checks\n        id: selective-checks\n        env:\n          VERBOSE: \"false\"\n        run: breeze ci selective-check 2>> ${GITHUB_OUTPUT}\n  release-images:\n    timeout-minutes: 120\n    name: \"Release images: ${{ github.event.inputs.airflowVersion }}, ${{ matrix.python-version }}\"\n    runs-on: [\"self-hosted\", \"Linux\", \"X64\"]\n    needs: [build-info]\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ${{ fromJSON(needs.build-info.outputs.pythonVersions) }}\n    if: contains(fromJSON('[\n      \"ashb\",\n      \"eladkal\",\n      \"ephraimbuddy\",\n      \"jedcunningham\",\n      \"kaxil\",\n      \"pierrejeambrun\",\n      \"potiuk\",\n      ]'), github.event.sender.login)\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: Free space\n        run: breeze ci free-space --answer yes\n      - name: \"Cleanup dist and context file\"\n        run: rm -fv ./dist/* ./docker-context-files/*\n      - name: \"Start ARM instance\"\n        run: ./scripts/ci/images/ci_start_arm_instance_and_connect_to_docker.sh\n        if: github.repository == 'apache/airflow'\n      - name: \"Login to hub.docker.com\"\n        run: >\n          echo ${{ secrets.DOCKERHUB_TOKEN }} |\n          docker login --password-stdin --username ${{ secrets.DOCKERHUB_USER }}\n      - name: Login to ghcr.io\n        run: echo \"${{ env.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n      - name: \"Prepare chicken-eggs provider packages\"\n        # In case of provider packages which use latest dev0 version of providers, we should prepare them\n        # from the source code, not from the PyPI because they have apache-airflow>=X.Y.Z dependency\n        # And when we prepare them from sources they will have apache-airflow>=X.Y.Z.dev0\n        shell: bash\n        run: >\n          breeze release-management prepare-provider-packages\n          --package-format wheel\n          --version-suffix-for-pypi dev0 ${{ needs.build-info.outputs.chicken-egg-providers }}\n        if: needs.build-info.outputs.chicken-egg-providers != ''\n      - name: \"Copy dist packages to docker-context files\"\n        shell: bash\n        run: cp -v --no-preserve=mode,ownership ./dist/*.whl ./docker-context-files\n        if: needs.build-info.outputs.chicken-egg-providers != ''\n      - name: >\n          Release regular images: ${{ github.event.inputs.airflowVersion }}, ${{ matrix.python-version }}\n        run: >\n          breeze release-management release-prod-images\n          --dockerhub-repo ${{ github.repository }}\n          --airflow-version  ${{ github.event.inputs.airflowVersion }}\n          ${{ needs.build-info.outputs.skipLatest }}\n          ${{ needs.build-info.outputs.limitPlatform }}\n          --limit-python ${{ matrix.python-version }}\n          --chicken-egg-providers \"${{ needs.build-info.outputs.chicken-egg-providers }}\"\n        env:\n          COMMIT_SHA: ${{ github.sha }}\n      - name: >\n          Release slim images: ${{ github.event.inputs.airflowVersion }}, ${{ matrix.python-version }}\n        run: >\n          breeze release-management release-prod-images\n          --dockerhub-repo ${{ github.repository }}\n          --airflow-version  ${{ github.event.inputs.airflowVersion }}\n          ${{ needs.build-info.outputs.skipLatest }}\n          ${{ needs.build-info.outputs.limitPlatform }}\n          --limit-python ${{ matrix.python-version }} --slim-images\n        env:\n          COMMIT_SHA: ${{ github.sha }}\n      - name: \"Stop ARM instance\"\n        run: ./scripts/ci/images/ci_stop_arm_instance.sh\n        if: always() && github.repository == 'apache/airflow'\n      - name: >\n          Verify regular AMD64 image: ${{ github.event.inputs.airflowVersion }}, ${{ matrix.python-version }}\n        run: >\n          breeze prod-image verify\n          --pull\n          --image-name\n          ${{github.repository}}:${{github.event.inputs.airflowVersion}}-python${{matrix.python-version}}\n      - name: >\n          Verify slim AMD64 image: ${{ github.event.inputs.airflowVersion }}, ${{ matrix.python-version }}\n        run: >\n          breeze prod-image verify\n          --pull\n          --slim-image\n          --image-name\n          ${{github.repository}}:slim-${{github.event.inputs.airflowVersion}}-python${{matrix.python-version}}\n      - name: \"Docker logout\"\n        run: docker logout\n        if: always()\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:48.559631", "created_at": "2023-02-21T21:05:42+01:00", "updated_at": "2023-02-21T21:05:42+01:00", "name": "Recheck old bug reports", "path": ".github/workflows/recheck-old-bug-report.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\n# https://github.com/actions/stale\nname: 'Recheck old bug reports'\non:  # yamllint disable-line rule:truthy\n  schedule:\n    - cron: '0 7 * * *'\npermissions:\n  # All other permissions are set to none\n  issues: write\njobs:\n  recheck-old-bug-report:\n    runs-on: [\"ubuntu-22.04\"]\n    steps:\n      - uses: actions/stale@v9\n        with:\n          only-issue-labels: 'kind:bug'\n          stale-issue-label: 'Stale Bug Report'\n          days-before-issue-stale: 365\n          days-before-issue-close: 30\n          # Stale bot does not support defining to\n          # scan only issues: https://github.com/actions/stale/issues/837\n          # To avoid this job scanning also PRs and setting the defaults of the bot to them,\n          # we set high number of days thus effectively this job will not do any changes on PRs\n          # Possible workaround with -1 as mentioned in\n          # https://github.com/actions/stale/issues/1112#issuecomment-1871654196\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          remove-stale-when-updated: false\n          remove-issue-stale-when-updated: true\n          labels-to-add-when-unstale: 'needs-triage'\n          stale-issue-message: >\n            This issue has been automatically marked as stale because it has been open for 365 days\n            without any activity. There has been several Airflow releases since last activity on this issue.\n            Kindly asking to recheck the report against latest Airflow version and let us know\n            if the issue is reproducible. The issue will be closed in next 30 days if no further activity\n            occurs from the issue author.\n          close-issue-message: >\n            This issue has been closed because it has not received response from the issue author.\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:49.792004", "created_at": "2024-03-06T07:19:16+01:00", "updated_at": "2024-03-06T07:19:16+01:00", "name": "Build PROD images", "path": ".github/workflows/prod-image-build.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Build PROD images\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-public:\n        description: \"The array of labels (in json form) determining default runner used for the build.\"\n        required: true\n        type: string\n      build-type:\n        description: >\n          Name of the 'type' of the build - usually 'Regular' but other types are used to test image\n          variations.\n        required: true\n        type: string\n      do-build:\n        description: >\n          Whether to actually do the build (true/false). If set to false, the build is done\n          already in pull-request-target workflow, so we skip it here.\n        required: false\n        default: \"true\"\n        type: string\n      upload-package-artifact:\n        description: >\n          Whether to upload package artifacts (true/false). If false, the job will rely on artifacts prepared\n          by the main prod-image build job.\n        required: true\n        type: string\n      target-commit-sha:\n        description: \"The commit SHA to checkout for the build\"\n        required: false\n        default: \"\"\n        type: string\n      pull-request-target:\n        description: \"Whether we are running this from pull-request-target workflow (true/false)\"\n        required: false\n        default: \"false\"\n        type: string\n      is-committer-build:\n        description: \"Whether the build is executed by committer (true/false)\"\n        required: false\n        default: \"false\"\n        type: string\n      push-image:\n        description: \"Whether to push image to the registry (true/false)\"\n        required: true\n        type: string\n      debian-version:\n        description: \"Base Debian distribution to use for the build (bookworm/bullseye)\"\n        type: string\n        default: \"bookworm\"\n      install-mysql-client-type:\n        description: \"MySQL client type to use during build (mariadb/mysql)\"\n        type: string\n        default: \"mariadb\"\n      use-uv:\n        description: \"Whether to use uv to build the image (true/false)\"\n        required: true\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      python-versions:\n        description: \"JSON-formatted array of Python versions to build images from\"\n        required: true\n        type: string\n      default-python-version:\n        description: \"Which version of python should be used by default\"\n        required: true\n        type: string\n      platform:\n        description: \"Platform for the build - 'linux/amd64' or 'linux/arm64'\"\n        required: true\n        type: string\n      branch:\n        description: \"Branch used to run the CI jobs in (main/v2_*_test).\"\n        required: true\n        type: string\n      constraints-branch:\n        description: \"Branch used to construct constraints URL from.\"\n        required: true\n        type: string\n      build-provider-packages:\n        description: \"Whether to build provider packages (true/false). If false providers are from PyPI\"\n        required: true\n        type: string\n      upgrade-to-newer-dependencies:\n        description: \"Whether to attempt to upgrade image to newer dependencies (true/false)\"\n        required: true\n        type: string\n      chicken-egg-providers:\n        description: \"Space-separated list of providers that should be installed from context files\"\n        required: true\n        type: string\n      docker-cache:\n        description: \"Docker cache specification to build the image (registry, local, disabled).\"\n        required: true\n        type: string\njobs:\n\n  build-prod-packages:\n    name: \"${{ inputs.do-build == 'true' && 'Build' || 'Skip building' }} Airflow and provider packages\"\n    timeout-minutes: 10\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    env:\n      PYTHON_MAJOR_MINOR_VERSION: \"${{ inputs.default-python-version }}\"\n      VERSION_SUFFIX_FOR_PYPI: ${{ inputs.branch == 'main' && 'dev0' || '' }}\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n        if: inputs.do-build == 'true' && inputs.upload-package-artifact == 'true'\n      - name: \"Checkout target branch\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Checkout target commit\"\n        uses: ./.github/actions/checkout_target_commit\n        with:\n          target-commit-sha: ${{ inputs.target-commit-sha }}\n          pull-request-target: ${{ inputs.pull-request-target }}\n          is-committer-build: ${{ inputs.is-committer-build }}\n        if: inputs.do-build == 'true' && inputs.upload-package-artifact == 'true'\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n        if: inputs.do-build == 'true' && inputs.upload-package-artifact == 'true'\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ inputs.default-python-version }}\"\n        if: inputs.do-build == 'true' && inputs.upload-package-artifact == 'true'\n      - name: \"Cleanup dist and context file\"\n        shell: bash\n        run: rm -fv ./dist/* ./docker-context-files/*\n        if: inputs.do-build == 'true' && inputs.upload-package-artifact == 'true'\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n        if: inputs.do-build == 'true' && inputs.upload-package-artifact == 'true'\n      - name: \"Prepare providers packages\"\n        shell: bash\n        run: >\n          breeze release-management prepare-provider-packages\n          --package-list-file ./prod_image_installed_providers.txt\n          --package-format wheel\n        if: >\n          inputs.do-build == 'true' &&\n          inputs.upload-package-artifact == 'true' &&\n          inputs.build-provider-packages == 'true'\n      - name: \"Prepare chicken-eggs provider packages\"\n        shell: bash\n        run: >\n          breeze release-management prepare-provider-packages\n          --package-format wheel ${{ inputs.chicken-egg-providers }}\n        if: >\n          inputs.do-build  == 'true' &&\n          inputs.upload-package-artifact == 'true' &&\n          inputs.chicken-egg-providers != ''\n      - name: \"Prepare airflow package\"\n        shell: bash\n        run: >\n          breeze release-management prepare-airflow-package --package-format wheel\n        if: inputs.do-build  == 'true' && inputs.upload-package-artifact == 'true'\n      - name: \"Upload prepared packages as artifacts\"\n        uses: actions/upload-artifact@v4\n        with:\n          name: prod-packages\n          path: ./dist\n          retention-days: 7\n          if-no-files-found: error\n        if: inputs.do-build  == 'true' && inputs.upload-package-artifact == 'true'\n\n  build-prod-images:\n    strategy:\n      fail-fast: true\n      matrix:\n        # yamllint disable-line rule:line-length\n        python-version: ${{ inputs.do-build == 'true' && fromJSON(inputs.python-versions) || fromJSON('[\"\"]') }}\n    timeout-minutes: 80\n    name: \"\\\n${{ inputs.do-build == 'true' && 'Build' || 'Skip building' }} \\\nPROD ${{ inputs.build-type }} image\\\n${{ matrix.python-version }}${{ inputs.do-build == 'true' && ':' || '' }}\\\n${{ inputs.do-build == 'true' && inputs.image-tag || '' }}\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    needs:\n      - build-prod-packages\n    env:\n      BACKEND: sqlite\n      DEFAULT_BRANCH: ${{ inputs.branch }}\n      DEFAULT_CONSTRAINTS_BRANCH: ${{ inputs.constraints-branch }}\n      VERSION_SUFFIX_FOR_PYPI: ${{ inputs.branch == 'main' && 'dev0' || '' }}\n      INCLUDE_NOT_READY_PROVIDERS: \"true\"\n      # You can override CONSTRAINTS_GITHUB_REPOSITORY by setting secret in your repo but by default the\n      # Airflow one is going to be used\n      CONSTRAINTS_GITHUB_REPOSITORY: >-\n        ${{ secrets.CONSTRAINTS_GITHUB_REPOSITORY != '' &&\n        secrets.CONSTRAINTS_GITHUB_REPOSITORY || 'apache/airflow' }}\n      # In builds from forks, this token is read-only. For scheduled/direct push it is WRITE one\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      USE_UV: ${{ inputs.use-uv }}\n      VERBOSE: \"true\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n        if: inputs.do-build == 'true'\n      - name: \"Checkout target branch\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Checkout target commit\"\n        uses: ./.github/actions/checkout_target_commit\n        with:\n          target-commit-sha: ${{ inputs.target-commit-sha }}\n          pull-request-target: ${{ inputs.pull-request-target }}\n          is-committer-build: ${{ inputs.is-committer-build }}\n        if: inputs.do-build == 'true'\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n        if: inputs.do-build == 'true'\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n        if: inputs.do-build == 'true'\n      - name: \"Regenerate dependencies in case they was modified manually so that we can build an image\"\n        shell: bash\n        run: |\n          pip install rich>=12.4.4 pyyaml\n          python scripts/ci/pre_commit/update_providers_dependencies.py\n        if: inputs.do-build == 'true' && inputs.upgrade-to-newer-dependencies != 'false'\n      - name: \"Cleanup dist and context file\"\n        shell: bash\n        run: rm -fv ./dist/* ./docker-context-files/*\n        if: inputs.do-build == 'true'\n      - name: \"Download packages prepared as artifacts\"\n        uses: actions/download-artifact@v4\n        with:\n          name: prod-packages\n          path: ./docker-context-files\n        if: inputs.do-build == 'true'\n      - name: \"Download constraints\"\n        uses: actions/download-artifact@v4\n        with:\n          name: constraints\n          path: ./docker-context-files\n        if: inputs.do-build == 'true'\n      - name: Login to ghcr.io\n        shell: bash\n        run: echo \"${{ env.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n        if: inputs.do-build == 'true'\n      - name: \"Build PROD images w/ source providers ${{ matrix.python-version }}:${{ inputs.image-tag }}\"\n        shell: bash\n        run: >\n          breeze prod-image build --tag-as-latest --image-tag \"${{ inputs.image-tag }}\"\n          --commit-sha \"${{ github.sha }}\"\n          --install-packages-from-context --airflow-constraints-mode constraints-source-providers\n          --use-constraints-for-context-packages --python \"${{ matrix.python-version }}\"\n        env:\n          PUSH: ${{ inputs.push-image }}\n          DOCKER_CACHE: ${{ inputs.docker-cache }}\n          DEBIAN_VERSION: ${{ inputs.debian-version }}\n          INSTALL_MYSQL_CLIENT_TYPE: ${{ inputs.install-mysql-client-type }}\n          UPGRADE_TO_NEWER_DEPENDENCIES: ${{ inputs.upgrade-to-newer-dependencies }}\n          INCLUDE_NOT_READY_PROVIDERS: \"true\"\n        if: inputs.do-build == 'true' && inputs.build-provider-packages == 'true'\n      - name: \"Build PROD images with PyPi providers ${{ matrix.python-version }}:${{ inputs.image-tag }}\"\n        shell: bash\n        run: >\n          breeze prod-image build --builder airflow_cache --tag-as-latest\n          --image-tag \"${{ inputs.image-tag }}\" --commit-sha \"${{ github.sha }}\"\n          --install-packages-from-context --airflow-constraints-mode constraints\n          --use-constraints-for-context-packages --python \"${{ matrix.python-version }}\"\n        env:\n          PUSH: ${{ inputs.push-image }}\n          DOCKER_CACHE: ${{ inputs.docker-cache }}\n          DEBIAN_VERSION: ${{ inputs.debian-version }}\n          INSTALL_MYSQL_CLIENT_TYPE: ${{ inputs.install-mysql-client-type }}\n          UPGRADE_TO_NEWER_DEPENDENCIES: ${{ inputs.upgrade-to-newer-dependencies }}\n          INCLUDE_NOT_READY_PROVIDERS: \"true\"\n        if: inputs.do-build == 'true' && inputs.build-provider-packages != 'true'\n      - name: Verify PROD image ${{ matrix.python-version }}:${{ inputs.image-tag }}\n        run: >\n          breeze prod-image verify --image-tag \"${{ inputs.image-tag }}\"\n          --python \"${{ matrix.python-version }}\"\n        if: inputs.do-build == 'true'\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:50.827632", "created_at": "2024-03-06T07:19:16+01:00", "updated_at": "2024-03-06T07:19:16+01:00", "name": "PROD images extra checks", "path": ".github/workflows/prod-image-extra-checks.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: PROD images extra checks\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-public:\n        description: \"The array of labels (in json form) determining public runners.\"\n        required: true\n        type: string\n      python-versions:\n        description: \"JSON-formatted array of Python versions to build images from\"\n        required: true\n        type: string\n      default-python-version:\n        description: \"Default Python version to use for the image\"\n        required: true\n        type: string\n      branch:\n        description: \"Branch used to run the CI jobs in (main/v2_*_test).\"\n        required: true\n        type: string\n      use-uv:\n        description: \"Whether to use uv to build the image (true/false)\"\n        required: true\n        type: string\n      image-tag:\n        required: true\n        type: string\n      build-provider-packages:\n        description: \"Whether to build provider packages (true/false). If false providers are from PyPI\"\n        required: true\n        type: string\n      upgrade-to-newer-dependencies:\n        description: \"Whether to attempt to upgrade image to newer dependencies (false/RANDOM_VALUE)\"\n        required: true\n        type: string\n      chicken-egg-providers:\n        description: \"Space-separated list of providers that should be installed from context files\"\n        required: true\n        type: string\n      constraints-branch:\n        description: \"Branch used to construct constraints URL from.\"\n        required: true\n        type: string\n      docker-cache:\n        description: \"Docker cache specification to build the image (registry, local, disabled).\"\n        required: true\n        type: string\njobs:\n  bullseye-image:\n    uses: ./.github/workflows/prod-image-build.yml\n    with:\n      runs-on-as-json-public: ${{ inputs.runs-on-as-json-public }}\n      build-type: \"Bullseye\"\n      upload-package-artifact: \"false\"\n      image-tag: bullseye-${{ inputs.image-tag }}\n      debian-version: \"bullseye\"\n      python-versions: ${{ inputs.python-versions }}\n      default-python-version: ${{ inputs.default-python-version }}\n      platform: \"linux/amd64\"\n      branch: ${{ inputs.branch }}\n      # Always build images during the extra checks and never push them\n      push-image: \"false\"\n      use-uv: ${{ inputs.use-uv }}\n      build-provider-packages: ${{ inputs.build-provider-packages }}\n      upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies }}\n      chicken-egg-providers: ${{ inputs.chicken-egg-providers }}\n      constraints-branch: ${{ inputs.constraints-branch }}\n      docker-cache: ${{ inputs.docker-cache }}\n\n  myssql-client-image:\n    uses: ./.github/workflows/prod-image-build.yml\n    with:\n      runs-on-as-json-public: ${{ inputs.runs-on-as-json-public }}\n      build-type: \"MySQL Client\"\n      upload-package-artifact: \"false\"\n      image-tag: mysql-${{ inputs.image-tag }}\n      install-mysql-client-type: \"mysql\"\n      python-versions: ${{ inputs.python-versions }}\n      default-python-version: ${{ inputs.default-python-version }}\n      platform: \"linux/amd64\"\n      branch: ${{ inputs.branch }}\n      # Always build images during the extra checks and never push them\n      push-image: \"false\"\n      use-uv: ${{ inputs.use-uv }}\n      build-provider-packages: ${{ inputs.build-provider-packages }}\n      upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies }}\n      chicken-egg-providers: ${{ inputs.chicken-egg-providers }}\n      constraints-branch: ${{ inputs.constraints-branch }}\n      docker-cache: ${{ inputs.docker-cache }}\n\n  pip-image:\n    uses: ./.github/workflows/prod-image-build.yml\n    # Skip testing PIP image on release branches as all images there are built with pip\n    if: ${{ inputs.use-uv == 'true' }}\n    with:\n      runs-on-as-json-public: ${{ inputs.runs-on-as-json-public }}\n      build-type: \"pip\"\n      upload-package-artifact: \"false\"\n      image-tag: mysql-${{ inputs.image-tag }}\n      install-mysql-client-type: \"mysql\"\n      python-versions: ${{ inputs.python-versions }}\n      default-python-version: ${{ inputs.default-python-version }}\n      platform: \"linux/amd64\"\n      branch: ${{ inputs.branch }}\n      # Always build images during the extra checks and never push them\n      push-image: \"false\"\n      use-uv: \"false\"\n      build-provider-packages: ${{ inputs.build-provider-packages }}\n      upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies }}\n      chicken-egg-providers: ${{ inputs.chicken-egg-providers }}\n      constraints-branch: ${{ inputs.constraints-branch }}\n      docker-cache: ${{ inputs.docker-cache }}\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:52.040508", "created_at": "2024-03-12T09:28:06+01:00", "updated_at": "2024-04-02T00:40:33+02:00", "name": "Build CI images", "path": ".github/workflows/ci-image-build.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Build CI images\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-public:\n        description: \"The array of labels (in json form) determining public runners.\"\n        required: true\n        type: string\n      runs-on-as-json-self-hosted:\n        description: \"The array of labels (in json form) determining self-hosted runners.\"\n        required: true\n        type: string\n      do-build:\n        description: >\n          Whether to actually do the build (true/false). If set to false, the build is done\n          already in pull-request-target workflow, so we skip it here.\n        required: false\n        default: \"true\"\n        type: string\n      target-commit-sha:\n        description: \"The commit SHA to checkout for the build\"\n        required: false\n        default: \"\"\n        type: string\n      pull-request-target:\n        description: \"Whether we are running this from pull-request-target workflow (true/false)\"\n        required: false\n        default: \"false\"\n        type: string\n      is-committer-build:\n        description: \"Whether the build is executed by committer (true/false)\"\n        required: false\n        default: \"false\"\n        type: string\n      platform:\n        description: \"Platform for the build - 'linux/amd64' or 'linux/arm64'\"\n        required: true\n        type: string\n      push-image:\n        description: \"Whether to push image to the registry (true/false)\"\n        required: false\n        default: \"true\"\n        type: string\n      debian-version:\n        description: \"Base Debian distribution to use for the build (bookworm/bullseye)\"\n        type: string\n        default: \"bookworm\"\n      install-mysql-client-type:\n        description: \"MySQL client type to use during build (mariadb/mysql)\"\n        type: string\n        default: \"mariadb\"\n      use-uv:\n        description: \"Whether to use uv to build the image (true/false)\"\n        required: true\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      python-versions:\n        description: \"JSON-formatted array of Python versions to build images from\"\n        required: true\n        type: string\n      branch:\n        description: \"Branch used to run the CI jobs in (main/v2_*_test).\"\n        required: true\n        type: string\n      constraints-branch:\n        description: \"Branch used to construct constraints URL from.\"\n        required: true\n        type: string\n      upgrade-to-newer-dependencies:\n        description: \"Whether to attempt to upgrade image to newer dependencies (false/RANDOM_VALUE)\"\n        required: true\n        type: string\n      docker-cache:\n        description: \"Docker cache specification to build the image (registry, local, disabled).\"\n        required: true\n        type: string\njobs:\n  build-ci-images:\n    strategy:\n      fail-fast: true\n      matrix:\n        # yamllint disable-line rule:line-length\n        python-version: ${{ inputs.do-build == 'true' && fromJSON(inputs.python-versions) || fromJSON('[\"\"]') }}\n    timeout-minutes: 110\n    name: \"\\\n${{ inputs.do-build == 'true' && 'Build' || 'Skip building' }} \\\nCI ${{ inputs.platform }} image\\\n${{ matrix.python-version }}${{ inputs.do-build == 'true' && ':' || '' }}\\\n${{ inputs.do-build == 'true' && inputs.image-tag || '' }}\"\n    # The ARM images need to be built using self-hosted runners as ARM macos public runners\n    # do not yet allow us to run docker effectively and fast.\n    # https://github.com/actions/runner-images/issues/9254#issuecomment-1917916016\n    # https://github.com/abiosoft/colima/issues/970\n    # https://github.com/actions/runner/issues/1456\n    # See https://github.com/apache/airflow/pull/38640\n    # NOTE!!!!! This has to be put in one line for runs-on to recognize the \"fromJSON\" properly !!!!\n    # adding space before (with >) apparently turns the `runs-on` processed line into a string \"Array\"\n    # instead of an array of strings.\n    # yamllint disable-line rule:line-length\n    runs-on: ${{ (inputs.platform == 'linux/amd64') && fromJSON(inputs.runs-on-as-json-public) || fromJSON(inputs.runs-on-as-json-self-hosted) }}\n    env:\n      BACKEND: sqlite\n      DEFAULT_BRANCH: ${{ inputs.branch }}\n      DEFAULT_CONSTRAINTS_BRANCH: ${{ inputs.constraints-branch }}\n      VERSION_SUFFIX_FOR_PYPI: \"dev0\"\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      USE_UV: ${{ inputs.use-uv }}\n      VERBOSE: \"true\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n        if: inputs.do-build == 'true'\n      - name: \"Checkout target branch\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Checkout target commit\"\n        uses: ./.github/actions/checkout_target_commit\n        if: inputs.do-build == 'true'\n        with:\n          target-commit-sha: ${{ inputs.target-commit-sha }}\n          pull-request-target: ${{ inputs.pull-request-target }}\n          is-committer-build: ${{ inputs.is-committer-build }}\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n        if: inputs.do-build == 'true'\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n        if: inputs.do-build == 'true'\n      - name: \"Regenerate dependencies in case they were modified manually so that we can build an image\"\n        shell: bash\n        run: |\n          pip install rich>=12.4.4 pyyaml\n          python scripts/ci/pre_commit/update_providers_dependencies.py\n        if: inputs.do-build == 'true' && inputs.upgrade-to-newer-dependencies != 'false'\n      - name: \"Start ARM instance\"\n        run: ./scripts/ci/images/ci_start_arm_instance_and_connect_to_docker.sh\n        if: inputs.do-build == 'true' && inputs.platform == 'linux/arm64'\n      - name: Login to ghcr.io\n        run: echo \"${{ env.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n        if: inputs.do-build == 'true'\n      - name: >\n          Build ${{ inputs.push-image == 'true' && ' & push ' || '' }}\n          ${{ inputs.platform }}:${{ matrix.python-version }}:${{ inputs.image-tag }}\n        run: >\n          breeze ci-image build --builder airflow_cache --tag-as-latest --image-tag \"${{ inputs.image-tag }}\"\n          --python \"${{ matrix.python-version }}\" --platform \"${{ inputs.platform }}\"\n        env:\n          DOCKER_CACHE: ${{ inputs.docker-cache }}\n          INSTALL_MYSQL_CLIENT_TYPE: ${{ inputs.install-mysql-client-type }}\n          UPGRADE_TO_NEWER_DEPENDENCIES: ${{ inputs.upgrade-to-newer-dependencies }}\n          # You can override CONSTRAINTS_GITHUB_REPOSITORY by setting secret in your repo but by default the\n          # Airflow one is going to be used\n          CONSTRAINTS_GITHUB_REPOSITORY: >-\n            ${{ secrets.CONSTRAINTS_GITHUB_REPOSITORY != '' &&\n            secrets.CONSTRAINTS_GITHUB_REPOSITORY || 'apache/airflow' }}\n          # In builds from forks, this token is read-only. For scheduled/direct push it is WRITE one\n          GITHUB_REPOSITORY: ${{ github.repository }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITHUB_USERNAME: ${{ github.actor }}\n          PUSH: ${{ inputs.push-image }}\n          VERBOSE: \"true\"\n        if: inputs.do-build == 'true'\n      - name: \"Stop ARM instance\"\n        run: ./scripts/ci/images/ci_stop_arm_instance.sh\n        if: always() && inputs.do-build == 'true' && inputs.platform == 'linux/arm64'\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:53.068209", "created_at": "2024-03-14T02:02:50+01:00", "updated_at": "2024-03-14T02:02:50+01:00", "name": "Helm tests", "path": ".github/workflows/helm-tests.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Helm tests\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-default:\n        description: \"The array of labels (in json form) determining default runner used for the build.\"\n        required: true\n        type: string\n      runs-on-as-json-public:\n        description: \"The array of labels (in json form) determining public runners.\"\n        required: true\n        type: string\n      helm-test-packages:\n        description: \"Stringified JSON array of helm test packages to test\"\n        required: true\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      default-python-version:\n        description: \"Which version of python should be used by default\"\n        required: true\n        type: string\njobs:\n  tests-helm:\n    timeout-minutes: 80\n    name: \"Unit tests Helm: ${{ matrix.helm-test-package }}\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-default) }}\n    strategy:\n      fail-fast: false\n      matrix:\n        helm-test-package: ${{ fromJSON(inputs.helm-test-packages) }}\n    env:\n      # Always use default Python version of CI image for preparing packages\n      PYTHON_MAJOR_MINOR_VERSION: \"${{ inputs.default-python-version }}\"\n      PARALLEL_TEST_TYPES: \"Helm\"\n      BACKEND: \"none\"\n      DB_RESET: \"false\"\n      JOB_ID: \"helm-tests\"\n      USE_XDIST: \"true\"\n      IMAGE_TAG: \"${{ inputs.image-tag }}\"\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      VERBOSE: \"true\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Prepare breeze & CI image: ${{inputs.default-python-version}}:${{inputs.image-tag}}\"\n        uses: ./.github/actions/prepare_breeze_and_image\n      - name: \"Helm Unit Tests: ${{ matrix.helm-test-package }}\"\n        run: breeze testing helm-tests --helm-test-package \"${{ matrix.helm-test-package }}\"\n\n  tests-helm-release:\n    timeout-minutes: 80\n    name: \"Release Helm\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    env:\n      PYTHON_MAJOR_MINOR_VERSION: \"${{inputs.default-python-version}}\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: Setup git for tagging\n        run: |\n          git config --global user.email \"name@example.com\"\n          git config --global user.name \"Your Name\"\n      - name: \"Remove old artifacts\"\n        run: rm -rf dist/*\n      - name: \"Setup k8s/helm environment\"\n        run: breeze k8s setup-env\n      - name: \"Install helm gpg plugin\"\n        run: >\n          breeze k8s shell -c \"helm plugin install https://github.com/technosophos/helm-gpg\n          --version 6303407eb63deaeb1b2f24de611e3468a27ec05b\" || true\n      - name: \"Helm release tarball\"\n        run: >\n          breeze release-management prepare-helm-chart-tarball --ignore-version-check --override-tag\n          --skip-tag-signing --version 0.0.0 --version-suffix dev0\n      - name: Generate GPG key for signing\n        # Sometimes the key will be already added to the keyring, so we ignore the error\n        run: gpg --batch --passphrase '' --quick-gen-key dev@airflow.apache.org default default || true\n      - name: \"Helm release package\"\n        run: >\n          breeze release-management prepare-helm-chart-package --sign-email dev@airflow.apache.org\n      - name: \"Sign artifacts for ASF distribution\"\n        run: ./dev/sign.sh dist/airflow-*.tgz dist/airflow-*-source.tar.gz\n        env:\n          SIGN_WITH: dev@airflow.apache.org\n      - name: \"Fetch Git Tags\"\n        run: git fetch --tags\n      - name: \"Test helm chart issue generation automatically\"\n        # Adding same tags for now, will address in a follow-up\n        run: >\n          breeze release-management generate-issue-content-helm-chart --limit-pr-count 10\n          --latest --verbose\n      - name: \"Upload Helm artifacts\"\n        uses: actions/upload-artifact@v4\n        with:\n          name: Helm artifacts\n          path: ./dist/airflow-*\n          retention-days: 7\n          if-no-files-found: error\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:54.294532", "created_at": "2024-03-14T14:10:58+01:00", "updated_at": "2024-03-14T14:10:58+01:00", "name": "Push image cache", "path": ".github/workflows/push-image-cache.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Push image cache\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-public:\n        description: \"The array of labels (in json form) determining public runners.\"\n        required: true\n        type: string\n      runs-on-as-json-self-hosted:\n        description: \"The array of labels (in json form) determining self-hosted runners.\"\n        required: true\n        type: string\n      cache-type:\n        description: \"Type of cache to push (Early / Regular).\"\n        required: true\n        type: string\n      include-prod-images:\n        description: \"Whether to build PROD image cache additionally to CI image cache (true/false).\"\n        required: true\n        type: string\n      push-latest-images:\n        description: \"Whether to also push latest images (true/false).\"\n        required: true\n        type: string\n      debian-version:\n        description: \"Base Debian distribution to use for the build (bookworm/bullseye)\"\n        type: string\n        default: \"bookworm\"\n      install-mysql-client-type:\n        description: \"MySQL client type to use during build (mariadb/mysql)\"\n        type: string\n        default: \"mariadb\"\n      platform:\n        description: \"Platform for the build - 'linux/amd64' or 'linux/arm64'\"\n        required: true\n        type: string\n      python-versions:\n        description: \"JSON-formatted array of Python versions to build images from\"\n        required: true\n        type: string\n      branch:\n        description: \"Branch used to run the CI jobs in (main/v2_*_test).\"\n        required: true\n        type: string\n      constraints-branch:\n        description: \"Branch used to construct constraints URL from.\"\n        required: true\n        type: string\n      use-uv:\n        description: \"Whether to use uv to build the image (true/false)\"\n        required: true\n        type: string\n      include-success-outputs:\n        description: \"Whether to include success outputs (true/false).\"\n        required: true\n        type: string\n      docker-cache:\n        description: \"Docker cache specification to build the image (registry, local, disabled).\"\n        required: true\n        type: string\njobs:\n  push-ci-image-cache:\n    name: \"Push CI ${{ inputs.cache-type }}:${{ matrix.python }} image cache \"\n    # NOTE!!!!! This has to be put in one line for runs-on to recognize the \"fromJSON\" properly !!!!\n    # adding space before (with >) apparently turns the `runs-on` processed line into a string \"Array\"\n    # instead of an array of strings.\n    # yamllint disable-line rule:line-length\n    runs-on: ${{ (inputs.platform == 'linux/amd64') && fromJSON(inputs.runs-on-as-json-public) || fromJSON(inputs.runs-on-as-json-self-hosted) }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python: ${{ fromJSON(inputs.python-versions) }}\n    env:\n      COMMIT_SHA: ${{ github.sha }}\n      # You can override CONSTRAINTS_GITHUB_REPOSITORY by setting secret in your repo but by default the\n      # Airflow one is going to be used\n      CONSTRAINTS_GITHUB_REPOSITORY: >-\n        ${{ secrets.CONSTRAINTS_GITHUB_REPOSITORY != '' &&\n        secrets.CONSTRAINTS_GITHUB_REPOSITORY || 'apache/airflow' }}\n      # In builds from forks, this token is read-only. For scheduled/direct push it is WRITE one\n      DEBIAN_VERSION: ${{ inputs.debian-version }}\n      DEFAULT_BRANCH: ${{ inputs.branch }}\n      DEFAULT_CONSTRAINTS_BRANCH: ${{ inputs.constraints-branch }}\n      DOCKER_CACHE: ${{ inputs.docker-cache }}\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      INCLUDE_SUCCESS_OUTPUTS: \"${{ inputs.include-success-outputs }}\"\n      INSTALL_MYSQL_CLIENT_TYPE: ${{ inputs.install-mysql-client-type }}\n      USE_UV: ${{ inputs.use-uv }}\n      UPGRADE_TO_NEWER_DEPENDENCIES: \"false\"\n      VERBOSE: \"true\"\n      VERSION_SUFFIX_FOR_PYPI: \"dev0\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: \"Start ARM instance\"\n        run: ./scripts/ci/images/ci_start_arm_instance_and_connect_to_docker.sh\n        if: inputs.platform == 'linux/arm64'\n      - name: Login to ghcr.io\n        run: echo \"${{ env.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n      - name: \"Push CI ${{ inputs.cache-type }} cache: ${{ matrix.python }} ${{ inputs.platform }}\"\n        run: >\n          breeze ci-image build --builder airflow_cache --prepare-buildx-cache\n          --platform \"${{ inputs.platform }}\" --python ${{ matrix.python }}\n      - name: \"Stop ARM instance\"\n        run: ./scripts/ci/images/ci_stop_arm_instance.sh\n        if: always() && inputs.platform == 'linux/arm64'\n      - name: \"Push CI latest images: ${{ matrix.python }} (linux/amd64 only)\"\n        run: >\n          breeze ci-image build --builder airflow_cache --push\n          --python \"${{ matrix.python }}\" --platform \"${{ inputs.platform }}\"\n        if: inputs.push-latest-images == 'true' && inputs.platform == 'linux/amd64'\n\n  push-prod-image-cache:\n    name: \"Push PROD ${{ inputs.cache-type }}:${{ matrix.python }} image cache\"\n    # NOTE!!!!! This has to be put in one line for runs-on to recognize the \"fromJSON\" properly !!!!\n    # adding space before (with >) apparently turns the `runs-on` processed line into a string \"Array\"\n    # instead of an array of strings.\n    # yamllint disable-line rule:line-length\n    runs-on: ${{ (inputs.platform == 'linux/amd64') && fromJSON(inputs.runs-on-as-json-public) || fromJSON(inputs.runs-on-as-json-self-hosted) }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python: ${{ fromJSON(inputs.python-versions) }}\n    env:\n      COMMIT_SHA: ${{ github.sha }}\n      # You can override CONSTRAINTS_GITHUB_REPOSITORY by setting secret in your repo but by default the\n      # Airflow one is going to be used\n      CONSTRAINTS_GITHUB_REPOSITORY: >-\n        ${{ secrets.CONSTRAINTS_GITHUB_REPOSITORY != '' &&\n        secrets.CONSTRAINTS_GITHUB_REPOSITORY || 'apache/airflow' }}\n      # In builds from forks, this token is read-only. For scheduled/direct push it is WRITE one\n      DEBIAN_VERSION: ${{ inputs.debian-version }}\n      DEFAULT_BRANCH: ${{ inputs.branch }}\n      DEFAULT_CONSTRAINTS_BRANCH: ${{ inputs.constraints-branch }}\n      DOCKER_CACHE: ${{ inputs.docker-cache }}\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      INSTALL_MYSQL_CLIENT_TYPE: ${{ inputs.install-mysql-client-type }}\n      UPGRADE_TO_NEWER_DEPENDENCIES: \"false\"\n      USE_UV: ${{ inputs.branch == 'main' && inputs.use-uv || 'false' }}\n      VERBOSE: \"true\"\n      VERSION_SUFFIX_FOR_PYPI: \"dev0\"\n    if: inputs.include-prod-images == 'true'\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: \"Cleanup dist and context file\"\n        run: rm -fv ./dist/* ./docker-context-files/*\n      - name: \"Download packages prepared as artifacts\"\n        uses: actions/download-artifact@v4\n        with:\n          name: prod-packages\n          path: ./docker-context-files\n      - name: \"Start ARM instance\"\n        run: ./scripts/ci/images/ci_start_arm_instance_and_connect_to_docker.sh\n        if: inputs.platform == 'linux/arm64'\n      - name: Login to ghcr.io\n        run: echo \"${{ env.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n      - name: \"Push PROD ${{ inputs.cache-type }} cache: ${{ matrix.python-version }} ${{ inputs.platform }}\"\n        run: >\n          breeze prod-image build --builder airflow_cache\n          --prepare-buildx-cache --platform \"${{ inputs.platform }}\"\n          --install-packages-from-context --airflow-constraints-mode constraints-source-providers\n          --python ${{ matrix.python }}\n      - name: \"Stop ARM instance\"\n        run: ./scripts/ci/images/ci_stop_arm_instance.sh\n        if: always() && inputs.platform == 'linux/arm64'\n        # We only push \"AMD\" images as it is really only needed for any kind of automated builds in CI\n        # and currently there is not an easy way to make multi-platform image from two separate builds\n        # and we can do it after we stopped the ARM instance as it is not needed anymore\n      - name: \"Push PROD latest image: ${{ matrix.python }} (linux/amd64 ONLY)\"\n        run: >\n          breeze prod-image build --builder airflow_cache --install-packages-from-context\n          --push --platform \"${{ inputs.platform }}\"\n        if: inputs.push-latest-images == 'true' && inputs.platform == 'linux/amd64'\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:55.382418", "created_at": "2024-03-15T21:59:34+01:00", "updated_at": "2024-03-15T21:59:34+01:00", "name": "Provider tests", "path": ".github/workflows/check-providers.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Provider tests\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-default:\n        description: \"The array of labels (in json form) determining default runner used for the build.\"\n        required: true\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      default-python-version:\n        description: \"Which version of python should be used by default\"\n        required: true\n        type: string\n      upgrade-to-newer-dependencies:\n        description: \"Whether to upgrade to newer dependencies\"\n        required: true\n        type: string\n      affected-providers-list-as-string:\n        description: \"List of affected providers as string\"\n        required: false\n        type: string\n      providers-compatibility-checks:\n        description: >\n          JSON-formatted array of providers compatibility checks in the form of array of dicts\n          (airflow-version, python-versions, remove-providers, run-tests)\n        required: true\n        type: string\n      providers-test-types-list-as-string:\n        description: \"List of parallel provider test types as string\"\n        required: true\n        type: string\n      skip-provider-tests:\n        description: \"Whether to skip provider tests (true/false)\"\n        required: true\n        type: string\n      python-versions:\n        description: \"JSON-formatted array of Python versions to build images from\"\n        required: true\n        type: string\njobs:\n  prepare-install-verify-provider-packages-wheel:\n    timeout-minutes: 80\n    name: \"Provider packages wheel build and verify\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-default) }}\n    env:\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      IMAGE_TAG: \"${{ inputs.image-tag }}\"\n      INCLUDE_NOT_READY_PROVIDERS: \"true\"\n      PYTHON_MAJOR_MINOR_VERSION: \"${{ inputs.default-python-version }}\"\n      VERBOSE: \"true\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: >\n          Prepare breeze & CI image: ${{ inputs.default-python-version }}:${{ inputs.image-tag }}\n        uses: ./.github/actions/prepare_breeze_and_image\n      - name: \"Cleanup dist files\"\n        run: rm -fv ./dist/*\n      - name: \"Prepare provider documentation\"\n        run: >\n          breeze release-management prepare-provider-documentation --include-not-ready-providers\n          --non-interactive\n      - name: \"Prepare provider packages: wheel\"\n        run: >\n          breeze release-management prepare-provider-packages --include-not-ready-providers\n          --version-suffix-for-pypi dev0 --package-format wheel\n      - name: \"Prepare airflow package: wheel\"\n        run: breeze release-management prepare-airflow-package --version-suffix-for-pypi dev0\n      - name: \"Verify wheel packages with twine\"\n        run: |\n          pipx uninstall twine || true\n          pipx install twine && twine check dist/*.whl\n      - name: \"Test providers issue generation automatically\"\n        run: >\n          breeze release-management generate-issue-content-providers\n          --only-available-in-dist --disable-progress\n      - name: \"Generate source constraints from CI image\"\n        shell: bash\n        run: >\n          breeze release-management generate-constraints\n          --airflow-constraints-mode constraints-source-providers --answer yes\n      - name: \"Install and verify all provider packages and airflow via wheel files\"\n        run: >\n          breeze release-management verify-provider-packages\n          --use-packages-from-dist\n          --package-format wheel\n          --use-airflow-version wheel\n          --airflow-constraints-reference default\n          --providers-constraints-location\n          /files/constraints-${{env.PYTHON_MAJOR_MINOR_VERSION}}/constraints-source-providers-${{env.PYTHON_MAJOR_MINOR_VERSION}}.txt\n        env:\n          AIRFLOW_SKIP_CONSTRAINTS: \"${{ inputs.upgrade-to-newer-dependencies }}\"\n      - name: \"Prepare airflow package: wheel without suffix and skipping the tag check\"\n        run: >\n          breeze release-management prepare-provider-packages --skip-tag-check --package-format wheel\n\n  prepare-install-provider-packages-sdist:\n    timeout-minutes: 80\n    name: \"Provider packages sdist build and install\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-default) }}\n    env:\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      IMAGE_TAG: \"${{ inputs.image-tag }}\"\n      INCLUDE_NOT_READY_PROVIDERS: \"true\"\n      PYTHON_MAJOR_MINOR_VERSION: \"${{ inputs.default-python-version }}\"\n      VERBOSE: \"true\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: >\n          Prepare breeze & CI image: ${{ inputs.default-python-version }}:${{ inputs.image-tag }}\n        uses: ./.github/actions/prepare_breeze_and_image\n      - name: \"Cleanup dist files\"\n        run: rm -fv ./dist/*\n      - name: \"Prepare provider packages: sdist\"\n        run: >\n          breeze release-management prepare-provider-packages --include-not-ready-providers\n          --version-suffix-for-pypi dev0 --package-format sdist\n          ${{ inputs.affected-providers-list-as-string }}\n      - name: \"Prepare airflow package: sdist\"\n        run: >\n          breeze release-management prepare-airflow-package\n          --version-suffix-for-pypi dev0 --package-format sdist\n      - name: \"Verify sdist packages with twine\"\n        run: |\n          pipx uninstall twine || true\n          pipx install twine && twine check dist/*.tar.gz\n      - name: \"Generate source constraints from CI image\"\n        shell: bash\n        run: >\n          breeze release-management generate-constraints\n          --airflow-constraints-mode constraints-source-providers --answer yes\n      - name: \"Install all provider packages and airflow via sdist files\"\n        run: >\n          breeze release-management install-provider-packages\n          --use-packages-from-dist\n          --package-format sdist\n          --use-airflow-version sdist\n          --airflow-constraints-reference default\n          --providers-constraints-location\n          /files/constraints-${{env.PYTHON_MAJOR_MINOR_VERSION}}/constraints-source-providers-${{env.PYTHON_MAJOR_MINOR_VERSION}}.txt\n          --run-in-parallel\n        if: inputs.affected-providers-list-as-string == ''\n      - name: \"Install affected provider packages and airflow via sdist files\"\n        run: >\n          breeze release-management install-provider-packages\n          --use-packages-from-dist\n          --package-format sdist\n          --use-airflow-version sdist\n          --airflow-constraints-reference default\n          --providers-constraints-location\n          /files/constraints-${{env.PYTHON_MAJOR_MINOR_VERSION}}/constraints-source-providers-${{env.PYTHON_MAJOR_MINOR_VERSION}}.txt\n          --run-in-parallel\n        if: inputs.affected-providers-list-as-string != ''\n\n  providers-compatibility-checks:\n    timeout-minutes: 80\n    name: Compat ${{ matrix.airflow-version }}:P${{ matrix.python-version }} provider check\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-default) }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include: ${{fromJSON(inputs.providers-compatibility-checks)}}\n    env:\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      IMAGE_TAG: \"${{ inputs.image-tag }}\"\n      INCLUDE_NOT_READY_PROVIDERS: \"true\"\n      PYTHON_MAJOR_MINOR_VERSION: \"${{ inputs.default-python-version }}\"\n      VERSION_SUFFIX_FOR_PYPI: \"dev0\"\n      VERBOSE: \"true\"\n    if: inputs.skip-provider-tests != 'true'\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Prepare breeze & CI image: ${{ matrix.python-version }}:${{ inputs.image-tag }}\"\n        uses: ./.github/actions/prepare_breeze_and_image\n      - name: \"Cleanup dist files\"\n        run: rm -fv ./dist/*\n      - name: \"Prepare provider packages: wheel\"\n        run: >\n          breeze release-management prepare-provider-packages --include-not-ready-providers\n          --package-format wheel\n      - name: >\n          Remove incompatible Airflow\n          ${{ matrix.airflow-version }}:Python ${{ matrix.python-version }} provider packages\n        run: |\n          for provider in ${{ matrix.remove-providers }}; do\n            echo \"Removing incompatible provider: ${provider}\"\n            rm -vf dist/apache_airflow_providers_${provider/./_}*\n          done\n        if: matrix.remove-providers != ''\n      - name: \"Download airflow package: wheel\"\n        run: |\n          pip download \"apache-airflow==${{ matrix.airflow-version }}\" -d dist --no-deps\n      - name: >\n          Install and verify all provider packages and airflow on\n          Airflow ${{ matrix.airflow-version }}:Python ${{ matrix.python-version }}\n        # We do not need to run import check if we run tests, the tests should cover all the import checks\n        # automatically\n        if: matrix.run-tests != 'true'\n        run: >\n          breeze release-management verify-provider-packages\n          --use-packages-from-dist\n          --package-format wheel\n          --use-airflow-version wheel\n          --airflow-constraints-reference constraints-${{matrix.airflow-version}}\n          --providers-skip-constraints\n          --install-airflow-with-constraints\n      - name: >\n          Run provider unit tests on\n          Airflow ${{ matrix.airflow-version }}:Python ${{ matrix.python-version }}\n        if: matrix.run-tests == 'true'\n        run: >\n          breeze testing tests --run-in-parallel\n          --parallel-test-types \"${{ inputs.providers-test-types-list-as-string }}\"\n          --use-packages-from-dist\n          --package-format wheel\n          --use-airflow-version \"${{ matrix.airflow-version }}\"\n          --airflow-constraints-reference constraints-${{matrix.airflow-version}}\n          --install-airflow-with-constraints\n          --providers-skip-constraints\n          --skip-providers \"${{ matrix.remove-providers }}\"\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:56.414601", "created_at": "2024-03-16T08:06:52+01:00", "updated_at": "2024-03-16T08:06:52+01:00", "name": "Unit tests", "path": ".github/workflows/run-unit-tests.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Unit tests\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-default:\n        description: \"The array of labels (in json form) determining default runner used for the build.\"\n        required: true\n        type: string\n      backend:\n        description: \"The backend to run the tests on\"\n        required: true\n        type: string\n      test-scope:\n        description: \"The scope of the test to run: ('DB', 'Non-DB', 'All', 'ARM collection')\"\n        required: true\n        type: string\n      test-name:\n        description: \"The name of the test to run\"\n        required: true\n        type: string\n      test-name-separator:\n        description: \"The separator to use after the test name\"\n        required: false\n        default: \":\"\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      python-versions:\n        description: \"The list of python versions (stringified JSON array) to run the tests on.\"\n        required: true\n        type: string\n      backend-versions:\n        description: \"The list of backend versions (stringified JSON array) to run the tests on.\"\n        required: true\n        type: string\n      excludes:\n        description: \"Excluded combos (stringified JSON array of python-version/backend-version dicts)\"\n        required: true\n        type: string\n      parallel-test-types-list-as-string:\n        description: \"The list of parallel test types to run separated by spaces\"\n        required: true\n        type: string\n      run-migration-tests:\n        description: \"Whether to run migration tests or not (true/false)\"\n        required: false\n        default: \"false\"\n        type: string\n      run-coverage:\n        description: \"Whether to run coverage or not (true/false)\"\n        required: true\n        type: string\n      debug-resources:\n        description: \"Whether to debug resources or not (true/false)\"\n        required: true\n        type: string\n      include-success-outputs:\n        description: \"Whether to include success outputs or not (true/false)\"\n        required: false\n        default: \"false\"\n        type: string\n      downgrade-sqlalchemy:\n        description: \"Whether to downgrade SQLAlchemy or not (true/false)\"\n        required: false\n        default: \"false\"\n        type: string\n      upgrade-boto:\n        description: \"Whether to upgrade boto or not (true/false)\"\n        required: false\n        default: \"false\"\n        type: string\n      pydantic:\n        description: \"The version of pydantic to use\"\n        required: false\n        default: \"v2\"\n        type: string\n      downgrade-pendulum:\n        description: \"Whether to downgrade pendulum or not (true/false)\"\n        required: false\n        default: \"false\"\n        type: string\n      enable-aip-44:\n        description: \"Whether to enable AIP-44 or not (true/false)\"\n        required: false\n        default: \"true\"\n        type: string\n      force-lowest-dependencies:\n        description: \"Whether to force lowest dependencies for the tests or not (true/false)\"\n        required: false\n        default: \"false\"\n        type: string\n      monitor-delay-time-in-seconds:\n        description: \"How much time to wait between printing parallel monitor summary\"\n        required: false\n        default: 20\n        type: number\njobs:\n  tests:\n    timeout-minutes: 120\n    name: \"\\\n      ${{ inputs.test-scope }}:\\\n      ${{ inputs.test-name }}${{ inputs.test-name-separator }}${{ matrix.backend-version }}:\\\n      ${{matrix.python-version}}: ${{ inputs.parallel-test-types-list-as-string }}\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-default) }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: \"${{fromJSON(inputs.python-versions)}}\"\n        backend-version: \"${{fromJSON(inputs.backend-versions)}}\"\n        exclude: \"${{fromJSON(inputs.excludes)}}\"\n    env:\n      # yamllint disable rule:line-length\n      AIRFLOW_ENABLE_AIP_44: \"${{ inputs.enable-aip-44 }}\"\n      BACKEND: \"${{ inputs.backend }}\"\n      BACKEND_VERSION: \"${{ matrix.backend-version }}\"\n      DB_RESET: \"true\"\n      DEBUG_RESOURCES: \"${{ inputs.debug-resources }}\"\n      DOWNGRADE_SQLALCHEMY: \"${{ inputs.downgrade-sqlalchemy }}\"\n      DOWNGRADE_PENDULUM: \"${{ inputs.downgrade-pendulum }}\"\n      ENABLE_COVERAGE: \"${{ inputs.run-coverage }}\"\n      FORCE_LOWEST_DEPENDENCIES: \"${{ inputs.force-lowest-dependencies }}\"\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      IMAGE_TAG: \"${{ inputs.image-tag }}\"\n      INCLUDE_SUCCESS_OUTPUTS: ${{ inputs.include-success-outputs }}\n      # yamllint disable rule:line-length\n      JOB_ID: \"${{ inputs.test-scope }}-${{ inputs.test-name }}-${{inputs.backend}}-${{ matrix.backend-version }}-${{ matrix.python-version }}\"\n      MOUNT_SOURCES: \"skip\"\n      PARALLEL_TEST_TYPES: \"${{ inputs.parallel-test-types-list-as-string }}\"\n      PYDANTIC: \"${{ inputs.pydantic }}\"\n      PYTHON_MAJOR_MINOR_VERSION: \"${{ matrix.python-version }}\"\n      UPGRADE_BOTO: \"${{ inputs.upgrade-boto }}\"\n      AIRFLOW_MONITOR_DELAY_TIME_IN_SECONDS: \"${{inputs.monitor-delay-time-in-seconds}}\"\n      VERBOSE: \"true\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Prepare breeze & CI image: ${{matrix.python-version}}:${{ inputs.image-tag }}\"\n        uses: ./.github/actions/prepare_breeze_and_image\n      - name: >\n          Migration Tests:\n          ${{ matrix.python-version }}:${{ inputs.parallel-test-types-list-as-string }}\n        uses: ./.github/actions/migration_tests\n        if: inputs.run-migration-tests == 'true'\n      - name: >\n          ${{ inputs.test-scope }} Tests ${{ inputs.test-name }} ${{ matrix.backend-version }}\n          Py${{ matrix.python-version }}:${{ inputs.parallel-test-types-list-as-string}}\n        run: |\n          if [[ \"${{ inputs.test-scope }}\" == \"DB\" ]]; then\n            breeze testing db-tests \\\n              --parallel-test-types \"${{ inputs.parallel-test-types-list-as-string }}\"\n          elif [[ \"${{ inputs.test-scope }}\" == \"Non-DB\" ]]; then\n            breeze testing non-db-tests \\\n              --parallel-test-types \"${{ inputs.parallel-test-types-list-as-string }}\"\n          elif [[ \"${{ inputs.test-scope }}\" == \"All\" ]]; then\n            breeze testing tests --run-in-parallel \\\n              --parallel-test-types \"${{ inputs.parallel-test-types-list-as-string }}\"\n          elif [[ \"${{ inputs.test-scope }}\" == \"Quarantined\" ]]; then\n            breeze testing tests --test-type \"All-Quarantined\" || true\n          elif [[ \"${{ inputs.test-scope }}\" == \"ARM collection\" ]]; then\n            breeze testing tests --collect-only --remove-arm-packages\n          elif [[ \"${{ inputs.test-scope }}\" == \"System\" ]]; then\n            breeze testing tests tests/system/example_empty.py --system core\n          else\n            echo \"Unknown test scope: ${{ inputs.test-scope }}\"\n            exit 1\n          fi\n      - name: \"Post Tests success\"\n        uses: ./.github/actions/post_tests_success\n        with:\n          codecov-token: ${{ secrets.CODECOV_TOKEN }}\n          python-version: ${{ matrix.python-version }}\n        if: success()\n      - name: \"Post Tests failure\"\n        uses: ./.github/actions/post_tests_failure\n        if: failure()\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:57.447532", "created_at": "2024-03-16T08:06:52+01:00", "updated_at": "2024-03-16T08:06:52+01:00", "name": "Special tests", "path": ".github/workflows/special-tests.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Special tests\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-default:\n        description: \"The array of labels (in json form) determining default runner used for the build.\"\n        required: true\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      parallel-test-types-list-as-string:\n        description: \"The list of parallel test types to run separated by spaces\"\n        required: true\n        type: string\n      separate-test-types-list-as-string:\n        description: \"The list of separate provider test types to run separated by spaces\"\n        required: true\n        type: string\n      run-coverage:\n        description: \"Whether to run coverage or not (true/false)\"\n        required: true\n        type: string\n      default-python-version:\n        description: \"Which version of python should be used by default\"\n        required: true\n        type: string\n      python-versions:\n        description: \"The list of python versions (stringified JSON array) to run the tests on.\"\n        required: true\n        type: string\n      default-postgres-version:\n        description: \"The default version of the postgres to use\"\n        required: true\n        type: string\n      canary-run:\n        description: \"Whether to run canary tests or not (true/false)\"\n        required: true\n        type: string\n      upgrade-to-newer-dependencies:\n        description: \"Whether to upgrade to newer dependencies or not (true/false)\"\n        required: true\n        type: string\n      debug-resources:\n        description: \"Whether to debug resources or not (true/false)\"\n        required: true\n        type: string\njobs:\n  tests-min-sqlalchemy:\n    name: \"Min SQLAlchemy test\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ inputs.runs-on-as-json-default }}\n      downgrade-sqlalchemy: \"true\"\n      test-name: \"MinSQLAlchemy-Postgres\"\n      test-scope: \"DB\"\n      backend: \"postgres\"\n      image-tag: ${{ inputs.image-tag }}\n      python-versions: \"['${{ inputs.default-python-version }}']\"\n      backend-versions: \"['${{ inputs.default-postgres-version }}']\"\n      excludes: \"[]\"\n      parallel-test-types-list-as-string: ${{ inputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ inputs.run-coverage }}\n      debug-resources: ${{ inputs.debug-resources }}\n\n  tests-boto:\n    name: \"Latest Boto test\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ inputs.runs-on-as-json-default }}\n      upgrade-boto: \"true\"\n      test-name: \"LatestBoto-Postgres\"\n      test-scope: \"All\"\n      backend: \"postgres\"\n      image-tag: ${{ inputs.image-tag }}\n      python-versions: \"['${{ inputs.default-python-version }}']\"\n      backend-versions: \"['${{ inputs.default-postgres-version }}']\"\n      excludes: \"[]\"\n      parallel-test-types-list-as-string: ${{ inputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ inputs.run-coverage }}\n      debug-resources: ${{ inputs.debug-resources }}\n\n  tests-pydantic-v1:\n    name: \"Pydantic v1 test\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ inputs.runs-on-as-json-default }}\n      pydantic: \"v1\"\n      test-name: \"Pydantic-V1-Postgres\"\n      test-scope: \"All\"\n      backend: \"postgres\"\n      image-tag: ${{ inputs.image-tag }}\n      python-versions: \"['${{ inputs.default-python-version }}']\"\n      backend-versions: \"['${{ inputs.default-postgres-version }}']\"\n      excludes: \"[]\"\n      parallel-test-types-list-as-string: ${{ inputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ inputs.run-coverage }}\n      debug-resources: ${{ inputs.debug-resources }}\n\n  tests-pydantic-none:\n    name: \"Pydantic removed test\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ inputs.runs-on-as-json-default }}\n      pydantic: \"none\"\n      test-name: \"Pydantic-Removed-Postgres\"\n      test-scope: \"All\"\n      backend: \"postgres\"\n      image-tag: ${{ inputs.image-tag }}\n      python-versions: \"['${{ inputs.default-python-version }}']\"\n      backend-versions: \"['${{ inputs.default-postgres-version }}']\"\n      excludes: \"[]\"\n      parallel-test-types-list-as-string: ${{ inputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ inputs.run-coverage }}\n      debug-resources: ${{ inputs.debug-resources }}\n\n  tests-pendulum-2:\n    name: \"Pendulum2 test\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ inputs.runs-on-as-json-default }}\n      downgrade-pendulum: \"true\"\n      test-name: \"Pendulum2-Postgres\"\n      test-scope: \"All\"\n      backend: \"postgres\"\n      image-tag: ${{ inputs.image-tag }}\n      python-versions: \"['${{ inputs.default-python-version }}']\"\n      backend-versions: \"['${{ inputs.default-postgres-version }}']\"\n      excludes: \"[]\"\n      parallel-test-types-list-as-string: ${{ inputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ inputs.run-coverage }}\n      debug-resources: ${{ inputs.debug-resources }}\n\n  tests-in-progress-disabled:\n    name: \"In progress disabled test\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ inputs.runs-on-as-json-default }}\n      enable-aip-44: \"false\"\n      test-name: \"InProgressDisabled-Postgres\"\n      test-scope: \"All\"\n      backend: \"postgres\"\n      image-tag: ${{ inputs.image-tag }}\n      python-versions: \"['${{ inputs.default-python-version }}']\"\n      backend-versions: \"['${{ inputs.default-postgres-version }}']\"\n      excludes: \"[]\"\n      parallel-test-types-list-as-string: ${{ inputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ inputs.run-coverage }}\n      debug-resources: ${{ inputs.debug-resources }}\n\n  tests-with-lowest-direct-resolution:\n    name: \"Lowest direct dependency resolution tests\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ inputs.runs-on-as-json-default }}\n      test-name: \"LowestDeps-Postgres\"\n      force-lowest-dependencies: \"true\"\n      test-scope: \"All\"\n      backend: \"postgres\"\n      image-tag: ${{ inputs.image-tag }}\n      python-versions: ${{ inputs.python-versions }}\n      backend-versions: \"['${{ inputs.default-postgres-version }}']\"\n      excludes: \"[]\"\n      parallel-test-types-list-as-string: ${{ inputs.separate-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ inputs.run-coverage }}\n      debug-resources: ${{ inputs.debug-resources }}\n      monitor-delay-time-in-seconds: 120\n\n  tests-quarantined:\n    name: \"Quarantined test\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ inputs.runs-on-as-json-default }}\n      test-name: \"Postgres\"\n      test-scope: \"Quarantined\"\n      backend: \"postgres\"\n      image-tag: ${{ inputs.image-tag }}\n      python-versions: \"['${{ inputs.default-python-version }}']\"\n      backend-versions: \"['${{ inputs.default-postgres-version }}']\"\n      excludes: \"[]\"\n      parallel-test-types-list-as-string: ${{ inputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ inputs.run-coverage }}\n      debug-resources: ${{ inputs.debug-resources }}\n\n  tests-arm-collection:\n    name: \"ARM Collection test\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ inputs.runs-on-as-json-default }}\n      test-name: \"Postgres\"\n      test-scope: \"ARM collection\"\n      backend: \"postgres\"\n      image-tag: ${{ inputs.image-tag }}\n      python-versions: \"['${{ inputs.default-python-version }}']\"\n      backend-versions: \"['${{ inputs.default-postgres-version }}']\"\n      excludes: \"[]\"\n      parallel-test-types-list-as-string: ${{ inputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ inputs.run-coverage }}\n      debug-resources: ${{ inputs.debug-resources }}\n\n  tests-system:\n    name: \"System test\"\n    uses: ./.github/workflows/run-unit-tests.yml\n    permissions:\n      contents: read\n      packages: read\n    secrets: inherit\n    with:\n      runs-on-as-json-default: ${{ inputs.runs-on-as-json-default }}\n      test-name: \"SystemTest\"\n      test-scope: \"System\"\n      backend: \"postgres\"\n      image-tag: ${{ inputs.image-tag }}\n      python-versions: \"['${{ inputs.default-python-version }}']\"\n      backend-versions: \"['${{ inputs.default-postgres-version }}']\"\n      excludes: \"[]\"\n      parallel-test-types-list-as-string: ${{ inputs.parallel-test-types-list-as-string }}\n      include-success-outputs: ${{ needs.build-info.outputs.include-success-outputs }}\n      run-coverage: ${{ inputs.run-coverage }}\n      debug-resources: ${{ inputs.debug-resources }}\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:58.541029", "created_at": "2024-03-16T11:57:35+01:00", "updated_at": "2024-03-16T11:57:35+01:00", "name": "Basic tests", "path": ".github/workflows/basic-tests.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Basic tests\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-public:\n        description: \"The array of labels (in json form) determining public runners.\"\n        required: true\n        type: string\n      run-www-tests:\n        description: \"Whether to run WWW tests (true/false)\"\n        required: true\n        type: string\n      needs-api-codegen:\n        description: \"Whether to run API codegen (true/false)\"\n        required: true\n        type: string\n      basic-checks-only:\n        description: \"Whether to run only basic checks (true/false)\"\n        required: true\n        type: string\n      skip-pre-commits:\n        description: \"Whether to skip pre-commits (true/false)\"\n        required: true\n        type: string\n      default-python-version:\n        description: \"Which version of python should be used by default\"\n        required: true\n        type: string\n      canary-run:\n        description: \"Whether to run canary tests (true/false)\"\n        required: true\n        type: string\n      latest-versions-only:\n        description: \"Whether to run only latest version checks (true/false)\"\n        required: true\n        type: string\njobs:\n  run-breeze-tests:\n    timeout-minutes: 10\n    name: Breeze unit tests\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - uses: actions/checkout@v4\n        with:\n          # Need to fetch all history for selective checks tests\n          fetch-depth: 0\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ inputs.default-python-version }}\"\n          cache: 'pip'\n          cache-dependency-path: ./dev/breeze/pyproject.toml\n      - run: pip install --editable ./dev/breeze/\n      - run: python -m pytest -n auto --color=yes\n        working-directory: ./dev/breeze/\n\n  tests-www:\n    timeout-minutes: 10\n    name: React WWW tests\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    if: inputs.run-www-tests == 'true'\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Setup node\"\n        uses: actions/setup-node@v4\n        with:\n          node-version: 21\n      - name: \"Cache eslint\"\n        uses: actions/cache@v4\n        with:\n          path: 'airflow/www/node_modules'\n          key: ${{ runner.os }}-www-node-modules-${{ hashFiles('airflow/www/**/yarn.lock') }}\n      - run: yarn --cwd airflow/www/ install --frozen-lockfile --non-interactive\n      - run: yarn --cwd airflow/www/ run test\n        env:\n          FORCE_COLOR: 2\n\n  test-openapi-client:\n    timeout-minutes: 10\n    name: \"Test OpenAPI client\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    if: inputs.needs-api-codegen == 'true'\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          repository: \"apache/airflow-client-python\"\n          fetch-depth: 1\n          persist-credentials: false\n          path: ./airflow-client-python\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: \"Generate client with breeze\"\n        run: >\n          breeze release-management prepare-python-client --package-format both\n          --version-suffix-for-pypi dev0 --python-client-repo ./airflow-client-python\n      - name: \"Show diff\"\n        run: git diff --color HEAD\n        working-directory: ./airflow-client-python\n      - name: Install hatch\n        run: |\n          python -m pip install --upgrade pipx\n          pipx ensurepath\n          pipx install hatch --force\n      - name: Run tests\n        run: hatch run run-coverage\n        env:\n          HATCH_ENV: \"test\"\n        working-directory: ./clients/python\n      - name: \"Install Airflow in editable mode with fab for webserver tests\"\n        run: pip install -e \".[fab]\"\n      - name: \"Install Python client\"\n        run: pip install ./dist/apache_airflow_client-*.whl\n      - name: \"Initialize Airflow DB and start webserver\"\n        run: |\n          airflow db init\n          # Let scheduler runs a few loops and get all DAG files from example DAGs serialized to DB\n          airflow scheduler --num-runs 100\n          airflow users create --username admin --password admin --firstname Admin --lastname Admin \\\n             --role Admin --email admin@example.org\n          killall python || true  # just in case there is a webserver running in the background\n          nohup airflow webserver --port 8080 &\n          echo \"Started webserver\"\n        env:\n          AIRFLOW__API__AUTH_BACKENDS: airflow.api.auth.backend.session,airflow.api.auth.backend.basic_auth\n          AIRFLOW__WEBSERVER__EXPOSE_CONFIG: \"True\"\n          AIRFLOW__CORE__LOAD_EXAMPLES: \"True\"\n          AIRFLOW_HOME: \"${{ github.workspace }}/airflow_home\"\n      - name: \"Waiting for the webserver to be available\"\n        run: |\n          timeout 30 bash -c 'until nc -z $0 $1; do echo \"sleeping\"; sleep 1; done' localhost 8080\n          sleep 5\n      - name: \"Run test python client\"\n        run: python ./clients/python/test_python_client.py\n        env:\n          FORCE_COLOR: \"standard\"\n      - name: \"Stop running webserver\"\n        run: killall python || true  # just in case there is a webserver running in the background\n        if: always()\n      - name: \"Upload python client packages\"\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-client-packages\n          path: ./dist/apache_airflow_client-*\n          retention-days: 7\n          if-no-files-found: error\n      - name: \"Upload logs from failed tests\"\n        uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: python-client-failed-logs\n          path: \"${{ github.workspace }}/airflow_home/logs\"\n          retention-days: 7\n\n  # Those checks are run if no image needs to be built for checks. This is for simple changes that\n  # Do not touch any of the python code or any of the important files that might require building\n  # The CI Docker image and they can be run entirely using the pre-commit virtual environments on host\n  static-checks-basic-checks-only:\n    timeout-minutes: 30\n    name: \"Static checks: basic checks only\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    if: inputs.basic-checks-only == 'true'\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Setup python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.default-python-version }}\n          cache: 'pip'\n          cache-dependency-path: ./dev/breeze/pyproject.toml\n      - name: \"Setup python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ inputs.default-python-version }}\"\n          cache: 'pip'\n          cache-dependency-path: ./dev/breeze/pyproject.toml\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n        id: breeze\n      - name: Cache pre-commit envs\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          # yamllint disable-line rule:line-length\n          key: \"pre-commit-${{steps.breeze.outputs.host-python-version}}-${{ hashFiles('.pre-commit-config.yaml') }}\"\n          restore-keys: \"\\\n            pre-commit-${{steps.breeze.outputs.host-python-version}}-\\\n            ${{ hashFiles('.pre-commit-config.yaml') }}\\n\n            pre-commit-${{steps.breeze.outputs.host-python-version}}-\"\n      - name: Fetch incoming commit ${{ github.sha }} with its parent\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.sha }}\n          fetch-depth: 2\n          persist-credentials: false\n      - name: \"Static checks: basic checks only\"\n        run: >\n          breeze static-checks --show-diff-on-failure --color always --initialize-environment\n          --skip-image-upgrade-check --commit-ref \"${{ github.sha }}\"\n        env:\n          VERBOSE: \"false\"\n          SKIP_BREEZE_PRE_COMMITS: \"true\"\n          SKIP: ${{ inputs.skip-pre-commits }}\n          COLUMNS: \"250\"\n\n  test-git-clone-on-windows:\n    timeout-minutes: 5\n    name: \"Test git clone on Windows\"\n    runs-on: [\"windows-latest\"]\n    steps:\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n          persist-credentials: false\n\n  upgrade-check:\n    timeout-minutes: 45\n    name: \"Upgrade checks\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    env:\n      PYTHON_MAJOR_MINOR_VERSION: \"${{ inputs.default-python-version }}\"\n    if: inputs.canary-run == 'true' && inputs.latest-versions-only != 'true'\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      # Install python from scratch. No cache used. We always want to have fresh version of everything\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ inputs.default-python-version }}\"\n      - name: \"Install latest pre-commit\"\n        run: pip install pre-commit\n      - name: \"Autoupdate all pre-commits\"\n        run: pre-commit autoupdate\n      - name: \"Run automated upgrade for black\"\n        run: >\n          pre-commit run\n          --all-files --show-diff-on-failure --color always --verbose\n          --hook-stage manual\n          update-black-version\n        if: always()\n      - name: \"Run automated upgrade for build dependencies\"\n        run: >\n          pre-commit run\n          --all-files --show-diff-on-failure --color always --verbose\n          --hook-stage manual\n          update-build-dependencies\n        if: always()\n      - name: \"Run automated upgrade for chart dependencies\"\n        run: >\n          pre-commit run\n          --all-files --show-diff-on-failure --color always --verbose\n          --hook-stage manual\n          update-chart-dependencies\n        if: always()\n      # For UV we are not failing the upgrade installers check if it is updated because\n      # it is upgraded very frequently, so we want to manually upgrade it rather than\n      # get notified about it - until it stabilizes in 1.* version\n      - name: \"Run automated upgrade for uv (open to see if new version is updated)\"\n        run: >\n          pre-commit run\n          --all-files --show-diff-on-failure --color always --verbose\n          --hook-stage manual update-installers || true\n        if: always()\n        env:\n          UPGRADE_UV: \"true\"\n          UPGRADE_PIP: \"false\"\n      - name: \"Run automated upgrade for pip\"\n        run: >\n          pre-commit run\n          --all-files --show-diff-on-failure --color always --verbose\n          --hook-stage manual update-installers\n        if: always()\n        env:\n          UPGRADE_UV: \"false\"\n          UPGRADE_PIP: \"true\"\n\n  test-airflow-release-commands:\n    timeout-minutes: 80\n    name: \"Test Airflow release commands\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    env:\n      PYTHON_MAJOR_MINOR_VERSION: \"${{ inputs.default-python-version }}\"\n      IMAGE_TAG: ${{ inputs.image-tag }}\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      VERBOSE: \"true\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: \"Cleanup dist files\"\n        run: rm -fv ./dist/*\n      - name: Setup git for tagging\n        run: |\n          git config --global user.email \"name@example.com\"\n          git config --global user.name \"Your Name\"\n      - name: Install twine\n        run: pip install twine\n      - name: \"Check Airflow create minor branch command\"\n        run: breeze release-management create-minor-branch --version-branch 2-8 --answer yes\n      - name: \"Check Airflow RC process command\"\n        run: >\n          breeze release-management start-rc-process --version 2.8.3rc1 --previous-version 2.8.0 --answer yes\n      - name: \"Check Airflow release process command\"\n        run: >\n          breeze release-management start-release --release-candidate 2.8.3rc1 --previous-release 2.8.0\n          --answer yes\n      - name: \"Fetch all git tags\"\n        run: git fetch --tags >/dev/null 2>&1 || true\n      - name: \"Test airflow core issue generation automatically\"\n        run: |\n          breeze release-management generate-issue-content-core \\\n          --limit-pr-count 25 --latest --verbose\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:36:59.619360", "created_at": "2024-03-16T13:00:35+01:00", "updated_at": "2024-03-16T13:00:35+01:00", "name": "K8s tests", "path": ".github/workflows/k8s-tests.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: K8s tests\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-default:\n        description: \"The array of labels (in json form) determining default runner used for the build.\"\n        required: true\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      python-versions-list-as-string:\n        description: \"List of Python versions to test: space separated string\"\n        required: true\n        type: string\n      kubernetes-versions-list-as-string:\n        description: \"List of Kubernetes versions to test\"\n        required: true\n        type: string\n      kubernetes-combos-list-as-string:\n        description: \"List of combinations of Kubernetes and Python versions to test: space separated string\"\n        required: true\n        type: string\n      include-success-outputs:\n        description: \"Whether to include success outputs\"\n        required: true\n        type: string\n      debug-resources:\n        description: \"Whether to debug resources\"\n        required: true\n        type: string\njobs:\n  tests-kubernetes:\n    timeout-minutes: 240\n    name: \"\\\n      K8S System:${{ matrix.executor }} - ${{ matrix.use-standard-naming }} - \\\n      ${{ inputs.kubernetes-versions-list-as-string }}\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-default) }}\n    strategy:\n      matrix:\n        executor: [KubernetesExecutor, CeleryExecutor, LocalExecutor]\n        use-standard-naming: [true, false]\n      fail-fast: false\n    env:\n      DEBUG_RESOURCES: ${{ inputs.debug-resources }}\n      INCLUDE_SUCCESS_OUTPUTS: ${{ inputs.include-success-outputs }}\n      IMAGE_TAG: ${{ inputs.image-tag }}\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      VERBOSE: \"true\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n        id: breeze\n      - name: Login to ghcr.io\n        run: echo \"${{ env.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n      - name: Pull PROD images ${{ inputs.python-versions-list-as-string }}:${{ inputs.image-tag }}\n        run: breeze prod-image pull --run-in-parallel --tag-as-latest\n        env:\n          PYTHON_VERSIONS: ${{ inputs.python-versions-list-as-string }}\n          # Force more parallelism for pull even on public images\n          PARALLELISM: 6\n      - name: \"Cache bin folder with tools for kubernetes testing\"\n        uses: actions/cache@v4\n        with:\n          path: \".build/.k8s-env\"\n          key: \"\\\n            k8s-env-${{ steps.breeze.outputs.host-python-version }}-\\\n            ${{ hashFiles('scripts/ci/kubernetes/k8s_requirements.txt','hatch_build.py') }}\"\n      - name: Run complete K8S tests ${{ inputs.kubernetes-combos-list-as-string }}\n        run: breeze k8s run-complete-tests --run-in-parallel --upgrade --no-copy-local-sources\n        env:\n          PYTHON_VERSIONS: ${{ inputs.python-versions-list-as-string }}\n          KUBERNETES_VERSIONS: ${{ inputs.kubernetes-versions-list-as-string }}\n          EXECUTOR: ${{ matrix.executor }}\n          USE_STANDARD_NAMING: ${{ matrix.use-standard-naming }}\n          VERBOSE: \"false\"\n      - name: Upload KinD logs on failure ${{ inputs.kubernetes-combos-list-as-string }}\n        uses: actions/upload-artifact@v4\n        if: failure() || cancelled()\n        with:\n          name: kind-logs-${{ matrix.executor }}-${{ matrix.use-standard-naming }}\n          path: /tmp/kind_logs_*\n          retention-days: 7\n      - name: Upload test resource logs on failure ${{ inputs.kubernetes-combos-list-as-string }}\n        uses: actions/upload-artifact@v4\n        if: failure() || cancelled()\n        with:\n          name: k8s-test-resources-${{ matrix.executor }}-${{ matrix.use-standard-naming }}\n          path: /tmp/k8s_test_resources_*\n          retention-days: 7\n      - name: \"Delete clusters just in case they are left\"\n        run: breeze k8s delete-cluster --all\n        if: always()\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:37:00.851311", "created_at": "2024-03-16T17:09:14+01:00", "updated_at": "2024-03-16T17:09:14+01:00", "name": "Integration tests", "path": ".github/workflows/integration-tests.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Integration tests\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-public:\n        description: \"The array of labels (in json form) determining public runners.\"\n        required: true\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      testable-integrations:\n        description: \"The list of testable integrations as JSON array.\"\n        required: true\n        type: string\n      default-postgres-version:\n        description: \"Default version of Postgres to use\"\n        required: true\n        type: string\n      default-mysql-version:\n        description: \"Default version of MySQL to use\"\n        required: true\n        type: string\n      skip-provider-tests:\n        description: \"Skip provider tests (true/false)\"\n        required: true\n        type: string\n      run-coverage:\n        description: \"Run coverage (true/false)\"\n        required: true\n        type: string\n      default-python-version:\n        description: \"Which version of python should be used by default\"\n        required: true\n        type: string\n      debug-resources:\n        description: \"Debug resources (true/false)\"\n        required: true\n        type: string\njobs:\n  tests-integration:\n    timeout-minutes: 130\n    name: \"Integration Tests: ${{ matrix.integration }}\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    strategy:\n      fail-fast: false\n      matrix:\n        integration: ${{ fromJSON(inputs.testable-integrations) }}\n    env:\n      IMAGE_TAG: \"${{ inputs.image-tag }}\"\n      BACKEND: \"postgres\"\n      BACKEND_VERSION: ${{ inputs.default-postgres-version }}\"\n      PYTHON_MAJOR_MINOR_VERSION: \"${{ inputs.default-python-version }}\"\n      JOB_ID: \"integration-${{ matrix.integration }}\"\n      SKIP_PROVIDER_TESTS: \"${{ inputs.skip-provider-tests }}\"\n      ENABLE_COVERAGE: \"${{ inputs.run-coverage}}\"\n      DEBUG_RESOURCES: \"${{ inputs.debug-resources }}\"\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      VERBOSE: \"true\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Prepare breeze & CI image: ${{ inputs.default-python-version }}:${{ inputs.image-tag }}\"\n        uses: ./.github/actions/prepare_breeze_and_image\n      - name: \"Integration Tests: ${{ matrix.integration }}\"\n        run: ./scripts/ci/testing/run_integration_tests_with_retry.sh ${{ matrix.integration }}\n      - name: \"Post Tests success: Integration Tests ${{ matrix.integration }}\"\n        uses: ./.github/actions/post_tests_success\n        with:\n          codecov-token: ${{ secrets.CODECOV_TOKEN }}\n          python-version: ${{ inputs.default-python-version }}\n      - name: \"Post Tests failure: Integration Tests ${{ matrix.integration }}\"\n        uses: ./.github/actions/post_tests_failure\n        if: failure()\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:37:01.928403", "created_at": "2024-03-16T21:50:55+01:00", "updated_at": "2024-03-16T21:50:55+01:00", "name": "Finalize tests", "path": ".github/workflows/finalize-tests.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Finalize tests\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-public:\n        description: \"The array of labels (in json form) determining public runners.\"\n        required: true\n        type: string\n      runs-on-as-json-self-hosted:\n        description: \"The array of labels (in json form) determining self-hosted runners.\"\n        required: true\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      python-versions:\n        description: \"JSON-formatted array of Python versions to test\"\n        required: true\n        type: string\n      python-versions-list-as-string:\n        description: \"Stringified array of all Python versions to test - separated by spaces.\"\n        required: true\n        type: string\n      branch:\n        description: \"The default branch to use for the build\"\n        required: true\n        type: string\n      constraints-branch:\n        description: \"The branch to use for constraints\"\n        required: true\n        type: string\n      default-python-version:\n        description: \"Which version of python should be used by default\"\n        required: true\n        type: string\n      in-workflow-build:\n        description: \"Whether the build is executed as part of the workflow (true/false)\"\n        required: true\n        type: string\n      upgrade-to-newer-dependencies:\n        description: \"Whether to upgrade to newer dependencies (true/false)\"\n        required: true\n        type: string\n      docker-cache:\n        description: \"Docker cache specification to build the image (registry, local, disabled).\"\n        required: true\n        type: string\n      include-success-outputs:\n        description: \"Whether to include success outputs (true/false)\"\n        required: true\n        type: string\n      canary-run:\n        description: \"Whether this is a canary run (true/false)\"\n        required: true\n        type: string\njobs:\n  update-constraints:\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    timeout-minutes: 80\n    name: \"Update constraints\"\n    permissions:\n      contents: write\n      packages: read\n    env:\n      DEBUG_RESOURCES: ${{ inputs.debug-resources}}\n      PYTHON_VERSIONS: ${{ inputs.python-versions-list-as-string }}\n      IMAGE_TAG: ${{ inputs.image-tag }}\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      VERBOSE: \"true\"\n    if: inputs.upgrade-to-newer-dependencies != 'false'\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          # Needed to perform push action\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Set constraints branch name\"\n        id: constraints-branch\n        run: ./scripts/ci/constraints/ci_branch_constraints.sh >> ${GITHUB_OUTPUT}\n      - name: Checkout ${{ steps.constraints-branch.outputs.branch }}\n        uses: actions/checkout@v4\n        with:\n          path: \"constraints\"\n          ref: ${{ steps.constraints-branch.outputs.branch }}\n          persist-credentials: true\n          fetch-depth: 0\n      - name: \"Download constraints from the constraints generated by build CI image\"\n        uses: actions/download-artifact@v4\n        with:\n          name: constraints\n          path: ./files\n      - name: \"Diff in constraints for Python: ${{ inputs.python-versions-list-as-string }}\"\n        run: ./scripts/ci/constraints/ci_diff_constraints.sh\n      # only commit and push constraints in canary runs (main)\n      - name: \"Commit changed constraint files for Python: ${{ inputs.python-versions-list-as-string }}\"\n        run: ./scripts/ci/constraints/ci_commit_constraints.sh\n        if: inputs.canary-run == 'true'\n      - name: \"Push changes\"\n        if: inputs.canary-run == 'true'\n        working-directory: \"constraints\"\n        run:\n          git push\n\n  push-buildx-cache-to-github-registry-amd:\n    name: Push Regular AMD Image Cache\n    needs: [update-constraints]\n    uses: ./.github/workflows/push-image-cache.yml\n    permissions:\n      contents: read\n      packages: write\n    secrets: inherit\n    with:\n      runs-on-as-json-public: ${{ inputs.runs-on-as-json-public }}\n      runs-on-as-json-self-hosted: ${{ inputs.runs-on-as-json-self-hosted }}\n      cache-type: \"Regular AMD\"\n      include-prod-images: \"true\"\n      push-latest-images: \"true\"\n      platform: \"linux/amd64\"\n      python-versions: ${{ inputs.python-versions }}\n      branch: ${{ inputs.branch }}\n      constraints-branch: ${{ inputs.constraints-branch }}\n      use-uv: \"true\"\n      include-success-outputs: ${{ inputs.include-success-outputs }}\n      docker-cache: ${{ inputs.docker-cache }}\n    if: inputs.canary-run == 'true'\n\n  push-buildx-cache-to-github-registry-arm:\n    name: Push Regular ARM Image Cache\n    needs: [update-constraints]\n    uses: ./.github/workflows/push-image-cache.yml\n    permissions:\n      contents: read\n      packages: write\n    secrets: inherit\n    with:\n      runs-on-as-json-public: ${{ inputs.runs-on-as-json-public }}\n      runs-on-as-json-self-hosted: ${{ inputs.runs-on-as-json-self-hosted }}\n      cache-type: \"Regular ARM\"\n      include-prod-images: \"true\"\n      push-latest-images: \"true\"\n      platform: \"linux/arm64\"\n      python-versions: ${{ inputs.python-versions }}\n      branch: ${{ inputs.branch }}\n      constraints-branch: ${{ inputs.constraints-branch }}\n      use-uv: \"true\"\n      include-success-outputs: ${{ inputs.include-success-outputs }}\n      docker-cache: ${{ inputs.docker-cache }}\n    if: inputs.canary-run == 'true'\n\n  summarize-warnings:\n    timeout-minutes: 15\n    name: \"Summarize warnings\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Download all artifacts from the current build\"\n        uses: actions/download-artifact@v4\n        with:\n          path: ./artifacts\n      - name: \"Setup python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.default-python-version }}\n      - name: \"Summarize all warnings\"\n        run: |\n          ./scripts/ci/testing/summarize_captured_warnings.py ./artifacts \\\n            --pattern \"**/warnings-*.txt\" \\\n            --output ./files\n      - name: \"Upload artifact for summarized warnings\"\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-summarized-warnings\n          path: ./files/warn-summary-*.txt\n          retention-days: 7\n          if-no-files-found: ignore\n          overwrite: true\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:37:02.979381", "created_at": "2024-03-17T14:14:37+01:00", "updated_at": "2024-03-27T20:25:17+01:00", "name": "Additional PROD image tests", "path": ".github/workflows/additional-prod-image-tests.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Additional PROD image tests\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-public:\n        description: \"The array of labels (in json form) determining public runners.\"\n        required: true\n        type: string\n      default-branch:\n        description: \"The default branch for the repository\"\n        required: true\n        type: string\n      constraints-branch:\n        description: \"Branch used to construct constraints URL from.\"\n        required: true\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      upgrade-to-newer-dependencies:\n        description: \"Whether to upgrade to newer dependencies (true/false)\"\n        required: true\n        type: string\n      chicken-egg-providers:\n        description: \"Whether to build chicken-egg provider packages in the same run (true/false)\"\n        required: true\n        type: string\n      docker-cache:\n        description: \"Docker cache specification to build the image (registry, local, disabled).\"\n        required: true\n        type: string\n      canary-run:\n        description: \"Whether to run the canary run (true/false)\"\n        required: true\n        type: string\n      default-python-version:\n        description: \"Which version of python should be used by default\"\n        required: true\n        type: string\njobs:\n  prod-image-extra-checks-main:\n    name: PROD image extra checks (main)\n    uses: ./.github/workflows/prod-image-extra-checks.yml\n    with:\n      runs-on-as-json-public: ${{ inputs.runs-on-as-json-public }}\n      python-versions: \"[ '${{ inputs.default-python-version }}' ]\"\n      default-python-version: ${{ inputs.default-python-version }}\n      branch: ${{ inputs.default-branch }}\n      use-uv: \"true\"\n      image-tag: ${{ inputs.image-tag }}\n      build-provider-packages: ${{ inputs.default-branch == 'main' }}\n      upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies }}\n      chicken-egg-providers: ${{ inputs.chicken-egg-providers }}\n      constraints-branch: ${{ inputs.constraints-branch }}\n      docker-cache: ${{ inputs.docker-cache }}\n    if: inputs.default-branch == 'main' && inputs.canary-run == 'true'\n\n  prod-image-extra-checks-release-branch:\n    name: PROD image extra checks (release)\n    uses: ./.github/workflows/prod-image-extra-checks.yml\n    with:\n      runs-on-as-json-public: ${{ inputs.runs-on-as-json-public }}\n      python-versions: \"[ '${{ inputs.default-python-version }}' ]\"\n      default-python-version: ${{ inputs.default-python-version }}\n      branch: ${{ inputs.default-branch }}\n      use-uv: \"false\"\n      image-tag: ${{ inputs.image-tag }}\n      build-provider-packages: ${{ inputs.default-branch == 'main' }}\n      upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies }}\n      chicken-egg-providers: ${{ inputs.chicken-egg-providers }}\n      constraints-branch: ${{ inputs.constraints-branch }}\n      docker-cache: ${{ inputs.docker-cache }}\n    if: inputs.default-branch != 'main' && inputs.canary-run == 'true'\n\n  test-examples-of-prod-image-building:\n    timeout-minutes: 60\n    name: \"Test examples of PROD image building\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    env:\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      VERBOSE: \"true\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: Login to ghcr.io\n        shell: bash\n        run: echo \"${{ env.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n      - name: Pull PROD image ${{ inputs.default-python-version}}:${{ inputs.image-tag }}\n        run: breeze prod-image pull --tag-as-latest\n        env:\n          PYTHON_MAJOR_MINOR_VERSION: \"${{ inputs.default-python-version }}\"\n          IMAGE_TAG: \"${{ inputs.image-tag }}\"\n      - name: \"Setup python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.default-python-version }}\n          cache: 'pip'\n          cache-dependency-path: ./dev/requirements.txt\n      - name: \"Test examples of PROD image building\"\n        run: \"\n          cd ./docker_tests && \\\n          python -m pip install -r requirements.txt && \\\n          TEST_IMAGE=\\\"ghcr.io/${{ github.repository }}/${{ inputs.default-branch }}\\\n          /prod/python${{ inputs.default-python-version }}:${{ inputs.image-tag }}\\\" \\\n          python -m pytest test_examples_of_prod_image_building.py -n auto --color=yes\"\n\n  test-docker-compose-quick-start:\n    timeout-minutes: 60\n    name: \"Docker-compose quick start with PROD image verifying\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    env:\n      IMAGE_TAG: \"${{ inputs.image-tag }}\"\n      PYTHON_MAJOR_MINOR_VERSION: \"${{ inputs.default-python-version }}\"\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      VERBOSE: \"true\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: Login to ghcr.io\n        shell: bash\n        run: echo \"${{ env.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n      - name: \"Pull image ${{ inputs.default-python-version}}:${{ inputs.image-tag }}\"\n        run: breeze prod-image pull --tag-as-latest\n      - name: \"Test docker-compose quick start\"\n        run: breeze testing docker-compose-tests\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:37:04.148771", "created_at": "2024-03-22T12:33:45+01:00", "updated_at": "2024-03-22T12:33:45+01:00", "name": "Additional CI image checks", "path": ".github/workflows/additional-ci-image-checks.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Additional CI image checks\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-default:\n        description: \"The array of labels (in json form) determining default runner used for the build.\"\n        required: true\n        type: string\n      runs-on-as-json-public:\n        description: \"The array of labels (in json form) determining public runners.\"\n        required: true\n        type: string\n      runs-on-as-json-self-hosted:\n        description: \"The array of labels (in json form) determining self-hosted runners.\"\n        required: true\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      python-versions:\n        description: \"The list of python versions (stringified JSON array) to run the tests on.\"\n        required: true\n        type: string\n      branch:\n        description: \"Branch used to run the CI jobs in (main/v2_*_test).\"\n        required: true\n        type: string\n      constraints-branch:\n        description: \"Branch used to get constraints from\"\n        required: true\n        type: string\n      default-python-version:\n        description: \"Which version of python should be used by default\"\n        required: true\n        type: string\n      upgrade-to-newer-dependencies:\n        description: \"Whether to upgrade to newer dependencies (true/false)\"\n        required: true\n        type: string\n      skip-pre-commits:\n        description: \"Whether to skip pre-commits (true/false)\"\n        required: true\n        type: string\n      docker-cache:\n        description: \"Docker cache specification to build the image (registry, local, disabled).\"\n        required: true\n        type: string\n      canary-run:\n        description: \"Whether this is a canary run (true/false)\"\n        required: true\n        type: string\n      latest-versions-only:\n        description: \"Whether to run only latest versions (true/false)\"\n        required: true\n        type: string\n      include-success-outputs:\n        description: \"Whether to include success outputs (true/false)\"\n        required: true\n        type: string\n      debug-resources:\n        description: \"Whether to debug resources (true/false)\"\n        required: true\n        type: string\njobs:\n  # Push early BuildX cache to GitHub Registry in Apache repository, This cache does not wait for all the\n  # tests to complete - it is run very early in the build process for \"main\" merges in order to refresh\n  # cache using the current constraints. This will speed up cache refresh in cases when pyproject.toml\n  # changes or in case of Dockerfile changes. Failure in this step is not a problem (at most it will\n  # delay cache refresh. It does not attempt to upgrade to newer dependencies.\n  # We only push CI cache as PROD cache usually does not gain as much from fresh cache because\n  # it uses prepared airflow and provider packages that invalidate the cache anyway most of the time\n  push-early-buildx-cache-to-github-registry:\n    name: Push Early Image Cache\n    uses: ./.github/workflows/push-image-cache.yml\n    permissions:\n      contents: read\n      # This write is only given here for `push` events from \"apache/airflow\" repo. It is not given for PRs\n      # from forks. This is to prevent malicious PRs from creating images in the \"apache/airflow\" repo.\n      # For regular build for PRS this \"build-prod-images\" workflow will be skipped anyway by the\n      # \"in-workflow-build\" condition\n      packages: write\n    secrets: inherit\n    with:\n      runs-on-as-json-public: ${{ inputs.runs-on-as-json-public }}\n      runs-on-as-json-self-hosted: ${{ inputs.runs-on-as-json-self-hosted }}\n      cache-type: \"Early\"\n      include-prod-images: \"false\"\n      push-latest-images: \"false\"\n      platform: \"linux/amd64\"\n      python-versions: ${{ inputs.python-versions }}\n      branch: ${{ inputs.branch }}\n      constraints-branch: ${{ inputs.constraints-branch }}\n      use-uv: \"true\"\n      include-success-outputs: ${{ inputs.include-success-outputs }}\n      docker-cache: ${{ inputs.docker-cache }}\n    if: inputs.branch == 'main'\n\n  # Check that after earlier cache push, breeze command will build quickly\n  check-that-image-builds-quickly:\n    timeout-minutes: 11\n    name: Check that image builds quickly\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    env:\n      UPGRADE_TO_NEWER_DEPENDENCIES: false\n      PYTHON_MAJOR_MINOR_VERSION: ${{ inputs.default-python-version }}\n      PYTHON_VERSION: ${{ inputs.default-python-version }}\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      VERBOSE: \"true\"\n    if: inputs.branch == 'main'\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: \"Login to ghcr.io\"\n        run: echo \"${{ env.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n      - name: \"Check that image builds quickly\"\n        run: breeze shell --max-time 600 --platform \"linux/amd64\"\n\n  # This is only a check if ARM images are successfully building when committer runs PR from\n  # Apache repository. This is needed in case you want to fix failing cache job in \"canary\" run\n  # There is no point in running this one in \"canary\" run, because the above step is doing the\n  # same build anyway.\n  build-ci-arm-images:\n    name: Build CI ARM images (in-workflow)\n    uses: ./.github/workflows/ci-image-build.yml\n    permissions:\n      contents: read\n      packages: write\n    secrets: inherit\n    with:\n      push-image: \"false\"\n      runs-on-as-json-public: ${{ inputs.runs-on-as-json-public }}\n      runs-on-as-json-self-hosted: ${{ inputs.runs-on-as-json-self-hosted }}\n      image-tag: ${{ inputs.image-tag }}\n      python-versions: ${{ inputs.python-versions }}\n      platform: \"linux/arm64\"\n      branch: ${{ inputs.branch }}\n      constraints-branch: ${{ inputs.constraints-branch }}\n      use-uv: \"true\"\n      upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies }}\n      docker-cache: ${{ inputs.docker-cache }}\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:37:05.191706", "created_at": "2024-03-28T19:57:00+01:00", "updated_at": "2024-03-28T19:57:00+01:00", "name": "Generate constraints", "path": ".github/workflows/generate-constraints.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Generate constraints\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-public:\n        description: \"The array of labels (in json form) determining public runners.\"\n        required: true\n        type: string\n      python-versions-list-as-string:\n        description: \"Stringified array of all Python versions to test - separated by spaces.\"\n        required: true\n        type: string\n      generate-no-providers-constraints:\n        description: \"Whether to generate constraints without providers (true/false)\"\n        required: true\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      chicken-egg-providers:\n        description: \"Space-separated list of providers that should be installed from context files\"\n        required: true\n        type: string\n      debug-resources:\n        description: \"Whether to run in debug mode (true/false)\"\n        required: true\n        type: string\njobs:\n  generate-constraints:\n    permissions:\n      contents: read\n    timeout-minutes: 70\n    name: Generate constraints ${{ inputs.python-versions-list-as-string }}\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}\n    env:\n      DEBUG_RESOURCES: ${{ inputs.debug-resources }}\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      INCLUDE_SUCCESS_OUTPUTS: \"true\"\n      IMAGE_TAG: ${{ inputs.image-tag }}\n      PYTHON_VERSIONS: ${{ inputs.python-versions-list-as-string }}\n      VERBOSE: \"true\"\n      VERSION_SUFFIX_FOR_PYPI: \"dev0\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Install Breeze\"\n        uses: ./.github/actions/breeze\n      - name: Login to ghcr.io\n        run: echo \"${{ env.GITHUB_TOKEN }}\" | docker login ghcr.io -u ${{ github.actor }} --password-stdin\n      - name: \"\\\n            Pull CI images \\\n            ${{ inputs.python-versions-list-as-string }}:\\\n            ${{ inputs.image-tag }}\"\n        run: breeze ci-image pull --run-in-parallel --tag-as-latest\n      - name: \"\n            Verify CI images \\\n            ${{ inputs.python-versions-list-as-string }}:\\\n            ${{ inputs.image-tag }}\"\n        run: breeze ci-image verify --run-in-parallel\n      - name: \"Source constraints\"\n        shell: bash\n        run: >\n          breeze release-management generate-constraints --run-in-parallel\n          --airflow-constraints-mode constraints-source-providers --answer yes\n      - name: \"No providers constraints\"\n        shell: bash\n        timeout-minutes: 25\n        run: >\n          breeze release-management generate-constraints --run-in-parallel\n          --airflow-constraints-mode constraints-no-providers --answer yes\n        # The no providers constraints are only needed when we want to update constraints (in canary builds)\n        # They slow down the start of PROD image builds so we want to only run them when needed.\n        if: inputs.generate-no-providers-constraints == 'true'\n      - name: \"Prepare chicken-eggs provider packages\"\n        # In case of provider packages which use latest dev0 version of providers, we should prepare them\n        # from the source code, not from the PyPI because they have apache-airflow>=X.Y.Z dependency\n        # And when we prepare them from sources they will have apache-airflow>=X.Y.Z.dev0\n        shell: bash\n        run: >\n          breeze release-management prepare-provider-packages --include-not-ready-providers\n          --package-format wheel --version-suffix-for-pypi dev0\n          ${{ inputs.chicken-egg-providers }}\n        if: inputs.chicken-egg-providers != ''\n      - name: \"PyPI constraints\"\n        shell: bash\n        timeout-minutes: 25\n        run: >\n          breeze release-management generate-constraints --run-in-parallel\n          --airflow-constraints-mode constraints --answer yes\n          --chicken-egg-providers \"${{ inputs.chicken-egg-providers }}\"\n      - name: \"Dependency upgrade summary\"\n        shell: bash\n        run: |\n          for PYTHON_VERSION in ${{ env.PYTHON_VERSIONS }}; do\n            echo \"Summarizing Python $PYTHON_VERSION\"\n            cat \"files/constraints-${PYTHON_VERSION}\"/*.md >> $GITHUB_STEP_SUMMARY || true\n          done\n      - name: \"Upload constraint artifacts\"\n        uses: actions/upload-artifact@v4\n        with:\n          name: constraints\n          path: ./files/constraints-*/constraints-*.txt\n          retention-days: 7\n          if-no-files-found: error\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:37:06.276849", "created_at": "2024-03-28T19:57:00+01:00", "updated_at": "2024-03-28T19:57:00+01:00", "name": "Static checks, mypy, docs", "path": ".github/workflows/static-checks-mypy-docs.yml", "contents": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n---\nname: Static checks, mypy, docs\non:  # yamllint disable-line rule:truthy\n  workflow_call:\n    inputs:\n      runs-on-as-json-default:\n        description: \"The array of labels (in json form) determining default runner used for the build.\"\n        required: true\n        type: string\n      image-tag:\n        description: \"Tag to set for the image\"\n        required: true\n        type: string\n      needs-mypy:\n        description: \"Whether to run mypy checks (true/false)\"\n        required: true\n        type: string\n      mypy-folders:\n        description: \"List of folders to run mypy checks on\"\n        required: false\n        type: string\n      python-versions-list-as-string:\n        description: \"The list of python versions as string separated by spaces\"\n        required: true\n        type: string\n      branch:\n        description: \"Branch used to run the CI jobs in (main/v2_*_test).\"\n        required: true\n        type: string\n      canary-run:\n        description: \"Whether this is a canary run (true/false)\"\n        required: true\n        type: string\n      default-python-version:\n        description: \"Which version of python should be used by default\"\n        required: true\n        type: string\n      docs-list-as-string:\n        description: \"Stringified list of docs to build (space separated)\"\n        required: true\n        type: string\n      upgrade-to-newer-dependencies:\n        description: \"Whether to upgrade to newer dependencies (true/false)\"\n        required: true\n        type: string\n      chicken-egg-providers:\n        description: \"List of providers that should be prepared from sources\"\n        required: false\n        type: string\n      basic-checks-only:\n        description: \"Whether to run only basic checks (true/false)\"\n        required: true\n        type: string\n      latest-versions-only:\n        description: \"Whether to run only latest versions (true/false)\"\n        required: true\n        type: string\n      ci-image-build:\n        description: \"Whether to build CI images (true/false)\"\n        required: true\n        type: string\n      skip-pre-commits:\n        description: \"Whether to skip pre-commits (true/false)\"\n        required: true\n        type: string\n      include-success-outputs:\n        description: \"Whether to include success outputs\"\n        required: true\n        type: string\n      debug-resources:\n        description: \"Whether to debug resources (true/false)\"\n        required: true\n        type: string\njobs:\n  static-checks:\n    timeout-minutes: 45\n    name: \"Static checks\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-default) }}\n    env:\n      PYTHON_MAJOR_MINOR_VERSION: \"${{ inputs.default-python-version }}\"\n      UPGRADE_TO_NEWER_DEPENDENCIES: \"${{ inputs.upgrade-to-newer-dependencies }}\"\n      IMAGE_TAG: ${{ inputs.image-tag }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    if: inputs.basic-checks-only == 'false' && inputs.latest-versions-only != 'true'\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Setup python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ inputs.default-python-version }}\n          cache: 'pip'\n          cache-dependency-path: ./dev/breeze/pyproject.toml\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Prepare breeze & CI image: ${{ inputs.default-python-version}}:${{ inputs.image-tag }}\"\n        uses: ./.github/actions/prepare_breeze_and_image\n        id: breeze\n      - name: Cache pre-commit envs\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pre-commit\n          # yamllint disable-line rule:line-length\n          key: \"pre-commit-${{steps.breeze.outputs.host-python-version}}-${{ hashFiles('.pre-commit-config.yaml') }}\"\n          restore-keys: |\n            pre-commit-${{steps.breeze.outputs.host-python-version}}-\n      - name: \"Static checks\"\n        run: breeze static-checks --all-files --show-diff-on-failure --color always --initialize-environment\n        env:\n          VERBOSE: \"false\"\n          SKIP: ${{ inputs.skip-pre-commits }}\n          COLUMNS: \"250\"\n          SKIP_GROUP_OUTPUT: \"true\"\n          DEFAULT_BRANCH: ${{ inputs.branch }}\n          RUFF_FORMAT: \"github\"\n\n  mypy:\n    timeout-minutes: 45\n    name: \"MyPy checks\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-default) }}\n    if: inputs.needs-mypy == 'true'\n    strategy:\n      fail-fast: false\n      matrix:\n        mypy-folder: ${{ fromJSON(inputs.mypy-folders) }}\n    env:\n      PYTHON_MAJOR_MINOR_VERSION: \"${{inputs.default-python-version}}\"\n      IMAGE_TAG: \"${{ inputs.image-tag }}\"\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Prepare breeze & CI image: ${{ inputs.default-python-version }}:${{ inputs.image-tag }}\"\n        uses: ./.github/actions/prepare_breeze_and_image\n        id: breeze\n      - name: \"MyPy checks for ${{ matrix.mypy-folder }}\"\n        run: |\n          pip install pre-commit\n          pre-commit run --color always --verbose --hook-stage manual mypy-${{matrix.mypy-folder}} --all-files\n        env:\n          VERBOSE: \"false\"\n          COLUMNS: \"250\"\n          SKIP_GROUP_OUTPUT: \"true\"\n          DEFAULT_BRANCH: ${{ inputs.branch }}\n          RUFF_FORMAT: \"github\"\n          INCLUDE_MYPY_VOLUME: \"false\"\n\n  build-docs:\n    timeout-minutes: 60\n    name: \"Build documentation\"\n    runs-on: ${{ fromJSON(inputs.runs-on-as-json-default) }}\n    strategy:\n      fail-fast: false\n      matrix:\n        flag: [\"--docs-only\", \"--spellcheck-only\"]\n    env:\n      GITHUB_REPOSITORY: ${{ github.repository }}\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      GITHUB_USERNAME: ${{ github.actor }}\n      IMAGE_TAG: \"${{ inputs.image-tag }}\"\n      INCLUDE_NOT_READY_PROVIDERS: \"true\"\n      INCLUDE_SUCCESS_OUTPUTS: \"${{ inputs.include-success-outputs }}\"\n      PYTHON_MAJOR_MINOR_VERSION: \"${{ inputs.default-python-version }}\"\n      VERBOSE: \"true\"\n    steps:\n      - name: \"Cleanup repo\"\n        shell: bash\n        run: docker run -v \"${GITHUB_WORKSPACE}:/workspace\" -u 0:0 bash -c \"rm -rf /workspace/*\"\n      - name: \"Checkout ${{ github.ref }} ( ${{ github.sha }} )\"\n        uses: actions/checkout@v4\n        with:\n          persist-credentials: false\n      - name: \"Cleanup docker\"\n        run: ./scripts/ci/cleanup_docker.sh\n      - name: \"Prepare breeze & CI image: ${{ inputs.default-python-version }}:${{ inputs.image-tag }}\"\n        uses: ./.github/actions/prepare_breeze_and_image\n      - uses: actions/cache@v4\n        id: cache-doc-inventories\n        with:\n          path: ./docs/_inventory_cache/\n          key: docs-inventory-${{ hashFiles('pyproject.toml;') }}\n          restore-keys: |\n            docs-inventory-${{ hashFiles('pyproject.toml;') }}\n            docs-inventory-\n      - name: \"Building docs with ${{ matrix.flag }} flag\"\n        run: >\n          breeze build-docs ${{ inputs.docs-list-as-string }} ${{ matrix.flag }}\n      - name: \"Clone airflow-site\"\n        run: >\n          git clone https://github.com/apache/airflow-site.git ${GITHUB_WORKSPACE}/airflow-site &&\n          echo \"AIRFLOW_SITE_DIRECTORY=${GITHUB_WORKSPACE}/airflow-site\" >> \"$GITHUB_ENV\"\n        if: inputs.canary-run == 'true' && matrix.flag == '--docs-only'\n      - name: \"Publish docs\"\n        run: >\n          breeze release-management publish-docs --override-versioned --run-in-parallel\n          ${{ inputs.docs-list-as-string }}\n        if: inputs.canary-run == 'true' && matrix.flag == '--docs-only'\n      - name: \"Generate back references for providers\"\n        run: breeze release-management add-back-references all-providers\n        if: inputs.canary-run == 'true' && matrix.flag == '--docs-only'\n      - name: \"Generate back references for apache-airflow\"\n        run: breeze release-management add-back-references apache-airflow\n        if: inputs.canary-run == 'true' && matrix.flag == '--docs-only'\n      - name: \"Generate back references for docker-stack\"\n        run: breeze release-management add-back-references docker-stack\n        if: inputs.canary-run == 'true' && matrix.flag == '--docs-only'\n      - name: \"Generate back references for helm-chart\"\n        run: breeze release-management add-back-references helm-chart\n        if: inputs.canary-run == 'true' && matrix.flag == '--docs-only'\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a  # v4.0.1\n        if: >\n          inputs.canary-run == 'true' &&\n          inputs.branch == 'main' &&\n          matrix.flag == '--docs-only'\n        with:\n          aws-access-key-id: ${{ secrets.DOCS_AWS_ACCESS_KEY_ID }}\n          aws-secret-access-key: ${{ secrets.DOCS_AWS_SECRET_ACCESS_KEY }}\n          aws-region: eu-central-1\n      - name: \"Upload documentation to AWS S3\"\n        if: >\n          inputs.canary-run == 'true' &&\n          inputs.branch == 'main' &&\n          matrix.flag == '--docs-only'\n        run: aws s3 sync --delete ./files/documentation s3://apache-airflow-docs\n", "state": "active", "repository": "apache/airflow"}
{"mined_at": "2024-07-15T18:37:08.527928", "created_at": "2021-06-19T08:31:30+02:00", "updated_at": "2021-06-19T08:34:07+02:00", "name": "M3U generator", "path": ".github/workflows/m3u_Generator.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: M3U generator\n\n# Controls when the action will run. \non:\n  schedule:\n    - cron: '0 0/3 * * *'\n\n  pull_request:\n    branches:\n      - main\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v2\n\n      # Runs a single command using the runners shell\n      #- name: Run a one-line script\n      #  run: echo testing!\n\n      # Runs a set of commands using the runners shell \n      - name: config\n        run: |\n          git config --global user.email \"action@github.com\"\n          git config --global user.name \"GitHub Action\"\n\n      - name: Main\n        run: |\n          pwd\n          chmod +x autorun.sh\n          ./autorun.sh\n\n      - name: git add\n        run: |\n          git add -A\n          ls -la\n\n      - name: commit & push\n        run: |\n          git commit -m \"links are updated\"\n          git push\n", "state": "active", "repository": "benmoose39/YouTube_to_m3u"}
{"mined_at": "2024-07-15T18:37:10.885863", "created_at": "2020-07-03T16:56:08+02:00", "updated_at": "2024-03-29T01:27:26+01:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\nrun-name: \"${{ github.event_name == 'workflow_dispatch' && format('CI: {0}', github.ref_name) || '' }}\"\n\n# yamllint disable-line rule:truthy\non:\n  push:\n    branches:\n      - dev\n      - rc\n      - master\n  pull_request: ~\n  workflow_dispatch:\n    inputs:\n      full:\n        description: \"Full run (regardless of changes)\"\n        default: false\n        type: boolean\n      lint-only:\n        description: \"Skip pytest\"\n        default: false\n        type: boolean\n      skip-coverage:\n        description: \"Skip coverage\"\n        default: false\n        type: boolean\n      pylint-only:\n        description: \"Only run pylint\"\n        default: false\n        type: boolean\n      mypy-only:\n        description: \"Only run mypy\"\n        default: false\n        type: boolean\n\nenv:\n  CACHE_VERSION: 9\n  UV_CACHE_VERSION: 1\n  MYPY_CACHE_VERSION: 8\n  HA_SHORT_VERSION: \"2024.7\"\n  DEFAULT_PYTHON: \"3.12\"\n  ALL_PYTHON_VERSIONS: \"['3.12']\"\n  # 10.3 is the oldest supported version\n  # - 10.3.32 is the version currently shipped with Synology (as of 17 Feb 2022)\n  # 10.6 is the current long-term-support\n  # - 10.6.10 is the version currently shipped with the Add-on (as of 31 Jan 2023)\n  # 10.10 is the latest short-term-support\n  # - 10.10.3 is the latest (as of 6 Feb 2023)\n  # 10.11 is the latest long-term-support\n  # - 10.11.2 is the version currently shipped with Synology (as of 11 Oct 2023)\n  # mysql 8.0.32 does not always behave the same as MariaDB\n  # and some queries that work on MariaDB do not work on MySQL\n  MARIADB_VERSIONS: \"['mariadb:10.3.32','mariadb:10.6.10','mariadb:10.10.3','mariadb:10.11.2','mysql:8.0.32']\"\n  # 12 is the oldest supported version\n  # - 12.14 is the latest (as of 9 Feb 2023)\n  # 15 is the latest version\n  # - 15.2 is the latest (as of 9 Feb 2023)\n  POSTGRESQL_VERSIONS: \"['postgres:12.14','postgres:15.2']\"\n  PRE_COMMIT_CACHE: ~/.cache/pre-commit\n  UV_CACHE_DIR: /tmp/uv-cache\n  SQLALCHEMY_WARN_20: 1\n  PYTHONASYNCIODEBUG: 1\n  HASS_CI: 1\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  info:\n    name: Collect information & changes data\n    outputs:\n      # In case of issues with the partial run, use the following line instead:\n      # test_full_suite: 'true'\n      core: ${{ steps.core.outputs.changes }}\n      integrations_glob: ${{ steps.info.outputs.integrations_glob }}\n      integrations: ${{ steps.integrations.outputs.changes }}\n      pre-commit_cache_key: ${{ steps.generate_pre-commit_cache_key.outputs.key }}\n      python_cache_key: ${{ steps.generate_python_cache_key.outputs.key }}\n      requirements: ${{ steps.core.outputs.requirements }}\n      mariadb_groups: ${{ steps.info.outputs.mariadb_groups }}\n      postgresql_groups: ${{ steps.info.outputs.postgresql_groups }}\n      python_versions: ${{ steps.info.outputs.python_versions }}\n      test_full_suite: ${{ steps.info.outputs.test_full_suite }}\n      test_group_count: ${{ steps.info.outputs.test_group_count }}\n      test_groups: ${{ steps.info.outputs.test_groups }}\n      tests_glob: ${{ steps.info.outputs.tests_glob }}\n      tests: ${{ steps.info.outputs.tests }}\n      skip_coverage: ${{ steps.info.outputs.skip_coverage }}\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Generate partial Python venv restore key\n        id: generate_python_cache_key\n        run: |\n          # Include HA_SHORT_VERSION to force the immediate creation\n          # of a new uv cache entry after a version bump.\n          echo \"key=venv-${{ env.CACHE_VERSION }}-${{ env.HA_SHORT_VERSION }}-${{\n            hashFiles('requirements_test.txt', 'requirements_test_pre_commit.txt') }}-${{\n            hashFiles('requirements.txt') }}-${{\n            hashFiles('requirements_all.txt') }}-${{\n            hashFiles('homeassistant/package_constraints.txt') }}-${{\n            hashFiles('script/gen_requirements_all.py') }}\" >> $GITHUB_OUTPUT\n      - name: Generate partial pre-commit restore key\n        id: generate_pre-commit_cache_key\n        run: >-\n          echo \"key=pre-commit-${{ env.CACHE_VERSION }}-${{\n            hashFiles('.pre-commit-config.yaml') }}\"  >> $GITHUB_OUTPUT\n      - name: Filter for core changes\n        uses: dorny/paths-filter@v3.0.2\n        id: core\n        with:\n          filters: .core_files.yaml\n      - name: Create a list of integrations to filter for changes\n        run: |\n          integrations=$(ls -Ad ./homeassistant/components/[!_]*  | xargs -n 1 basename)\n          touch .integration_paths.yaml\n          for integration in $integrations; do\n            echo \"${integration}: [homeassistant/components/${integration}/**, tests/components/${integration}/**]\" \\\n              >> .integration_paths.yaml;\n          done\n          echo \"Result:\"\n          cat .integration_paths.yaml\n      - name: Filter for integration changes\n        uses: dorny/paths-filter@v3.0.2\n        id: integrations\n        with:\n          filters: .integration_paths.yaml\n      - name: Collect additional information\n        id: info\n        run: |\n          # Defaults\n          integrations_glob=\"\"\n          mariadb_groups=${MARIADB_VERSIONS}\n          postgresql_groups=${POSTGRESQL_VERSIONS}\n          test_full_suite=\"true\"\n          test_groups=\"[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\"\n          test_group_count=10\n          tests=\"[]\"\n          tests_glob=\"\"\n          skip_coverage=\"\"\n\n          if [[ \"${{ steps.integrations.outputs.changes }}\" != \"[]\" ]];\n          then\n            # Create a file glob for the integrations\n            integrations_glob=$(echo '${{ steps.integrations.outputs.changes }}' | jq -cSr '. | join(\",\")')\n            [[ \"${integrations_glob}\" == *\",\"* ]] && integrations_glob=\"{${integrations_glob}}\"\n\n            # Create list of testable integrations\n            possible_integrations=$(echo '${{ steps.integrations.outputs.changes }}' | jq -cSr '.[]')\n            tests=$(\n              for integration in ${possible_integrations};\n              do\n                if [[ -d \"tests/components/${integration}\" ]]; then\n                  echo -n \"\\\"${integration}\\\",\";\n                fi;\n              done\n            )\n\n            [[ ! -z \"${tests}\" ]] && tests=\"${tests::-1}\"\n            tests=\"[${tests}]\"\n            test_groups=\"${tests}\"\n            # Test group count should be 1, we don't split partial tests\n            test_group_count=1\n\n            # Create a file glob for the integrations tests\n            tests_glob=$(echo \"${tests}\" | jq -cSr '. | join(\",\")')\n            [[ \"${tests_glob}\" == *\",\"* ]] && tests_glob=\"{${tests_glob}}\"\n\n            mariadb_groups=\"[]\"\n            postgresql_groups=\"[]\"\n            test_full_suite=\"false\"\n          fi\n\n          # We need to run the full suite on certain branches.\n          # Or, in case core files are touched, for the full suite as well.\n          if [[ \"${{ github.ref }}\" == \"refs/heads/dev\" ]] \\\n            || [[ \"${{ github.ref }}\" == \"refs/heads/master\" ]] \\\n            || [[ \"${{ github.ref }}\" == \"refs/heads/rc\" ]] \\\n            || [[ \"${{ steps.core.outputs.any }}\" == \"true\" ]] \\\n            || [[ \"${{ github.event.inputs.full }}\" == \"true\" ]] \\\n            || [[ \"${{ contains(github.event.pull_request.labels.*.name, 'ci-full-run') }}\" == \"true\" ]];\n          then\n            mariadb_groups=${MARIADB_VERSIONS}\n            postgresql_groups=${POSTGRESQL_VERSIONS}\n            test_groups=\"[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\"\n            test_group_count=10\n            test_full_suite=\"true\"\n          fi\n\n          if [[ \"${{ github.event.inputs.skip-coverage }}\" == \"true\" ]] \\\n            || [[ \"${{ contains(github.event.pull_request.labels.*.name, 'ci-skip-coverage') }}\" == \"true\" ]];\n          then\n            skip_coverage=\"true\"\n          fi\n\n          # Output & sent to GitHub Actions\n          echo \"mariadb_groups: ${mariadb_groups}\"\n          echo \"mariadb_groups=${mariadb_groups}\" >> $GITHUB_OUTPUT\n          echo \"postgresql_groups: ${postgresql_groups}\"\n          echo \"postgresql_groups=${postgresql_groups}\" >> $GITHUB_OUTPUT\n          echo \"python_versions: ${ALL_PYTHON_VERSIONS}\"\n          echo \"python_versions=${ALL_PYTHON_VERSIONS}\" >> $GITHUB_OUTPUT\n          echo \"test_full_suite: ${test_full_suite}\"\n          echo \"test_full_suite=${test_full_suite}\" >> $GITHUB_OUTPUT\n          echo \"integrations_glob: ${integrations_glob}\"\n          echo \"integrations_glob=${integrations_glob}\" >> $GITHUB_OUTPUT\n          echo \"test_group_count: ${test_group_count}\"\n          echo \"test_group_count=${test_group_count}\" >> $GITHUB_OUTPUT\n          echo \"test_groups: ${test_groups}\"\n          echo \"test_groups=${test_groups}\" >> $GITHUB_OUTPUT\n          echo \"tests: ${tests}\"\n          echo \"tests=${tests}\" >> $GITHUB_OUTPUT\n          echo \"tests_glob: ${tests_glob}\"\n          echo \"tests_glob=${tests_glob}\" >> $GITHUB_OUTPUT\n          echo \"skip_coverage: ${skip_coverage}\"\n          echo \"skip_coverage=${skip_coverage}\" >> $GITHUB_OUTPUT\n\n  pre-commit:\n    name: Prepare pre-commit base\n    runs-on: ubuntu-22.04\n    if: |\n      github.event.inputs.pylint-only != 'true'\n      && github.event.inputs.mypy-only != 'true'\n    needs:\n      - info\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          check-latest: true\n      - name: Restore base Python virtual environment\n        id: cache-venv\n        uses: actions/cache@v4.0.2\n        with:\n          path: venv\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-venv-${{\n              needs.info.outputs.pre-commit_cache_key }}\n      - name: Create Python virtual environment\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          python -m venv venv\n          . venv/bin/activate\n          python --version\n          pip install \"$(grep '^uv' < requirements_test.txt)\"\n          uv pip install \"$(cat requirements_test.txt | grep pre-commit)\"\n      - name: Restore pre-commit environment from cache\n        id: cache-precommit\n        uses: actions/cache@v4.0.2\n        with:\n          path: ${{ env.PRE_COMMIT_CACHE }}\n          lookup-only: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n              needs.info.outputs.pre-commit_cache_key }}\n      - name: Install pre-commit dependencies\n        if: steps.cache-precommit.outputs.cache-hit != 'true'\n        run: |\n          . venv/bin/activate\n          pre-commit install-hooks\n\n  lint-ruff-format:\n    name: Check ruff-format\n    runs-on: ubuntu-22.04\n    needs:\n      - info\n      - pre-commit\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        uses: actions/setup-python@v5.1.0\n        id: python\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          check-latest: true\n      - name: Restore base Python virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-venv-${{\n              needs.info.outputs.pre-commit_cache_key }}\n      - name: Restore pre-commit environment from cache\n        id: cache-precommit\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: ${{ env.PRE_COMMIT_CACHE }}\n          fail-on-cache-miss: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n              needs.info.outputs.pre-commit_cache_key }}\n      - name: Run ruff-format\n        run: |\n          . venv/bin/activate\n          pre-commit run --hook-stage manual ruff-format --all-files --show-diff-on-failure\n        env:\n          RUFF_OUTPUT_FORMAT: github\n\n  lint-ruff:\n    name: Check ruff\n    runs-on: ubuntu-22.04\n    needs:\n      - info\n      - pre-commit\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        uses: actions/setup-python@v5.1.0\n        id: python\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          check-latest: true\n      - name: Restore base Python virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-venv-${{\n              needs.info.outputs.pre-commit_cache_key }}\n      - name: Restore pre-commit environment from cache\n        id: cache-precommit\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: ${{ env.PRE_COMMIT_CACHE }}\n          fail-on-cache-miss: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n              needs.info.outputs.pre-commit_cache_key }}\n      - name: Run ruff\n        run: |\n          . venv/bin/activate\n          pre-commit run --hook-stage manual ruff --all-files --show-diff-on-failure\n        env:\n          RUFF_OUTPUT_FORMAT: github\n  lint-other:\n    name: Check other linters\n    runs-on: ubuntu-22.04\n    needs:\n      - info\n      - pre-commit\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        uses: actions/setup-python@v5.1.0\n        id: python\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          check-latest: true\n      - name: Restore base Python virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-venv-${{\n              needs.info.outputs.pre-commit_cache_key }}\n      - name: Restore pre-commit environment from cache\n        id: cache-precommit\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: ${{ env.PRE_COMMIT_CACHE }}\n          fail-on-cache-miss: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n              needs.info.outputs.pre-commit_cache_key }}\n\n      - name: Register yamllint problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/yamllint.json\"\n      - name: Run yamllint\n        run: |\n          . venv/bin/activate\n          pre-commit run --hook-stage manual yamllint --all-files --show-diff-on-failure\n\n      - name: Register check-json problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/check-json.json\"\n      - name: Run check-json\n        run: |\n          . venv/bin/activate\n          pre-commit run --hook-stage manual check-json --all-files\n\n      - name: Run prettier (fully)\n        if: needs.info.outputs.test_full_suite == 'true'\n        run: |\n          . venv/bin/activate\n          pre-commit run --hook-stage manual prettier --all-files\n\n      - name: Run prettier (partially)\n        if: needs.info.outputs.test_full_suite == 'false'\n        shell: bash\n        run: |\n          . venv/bin/activate\n          shopt -s globstar\n          pre-commit run --hook-stage manual prettier --files {homeassistant,tests}/components/${{ needs.info.outputs.integrations_glob }}/{*,**/*}\n\n      - name: Register check executables problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/check-executables-have-shebangs.json\"\n      - name: Run executables check\n        run: |\n          . venv/bin/activate\n          pre-commit run --hook-stage manual check-executables-have-shebangs --all-files\n\n      - name: Register codespell problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/codespell.json\"\n      - name: Run codespell\n        run: |\n          . venv/bin/activate\n          pre-commit run --show-diff-on-failure --hook-stage manual codespell --all-files\n\n      - name: Register hadolint problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/hadolint.json\"\n      - name: Check Dockerfile\n        uses: docker://hadolint/hadolint:v1.18.2\n        with:\n          args: hadolint Dockerfile\n      - name: Check Dockerfile.dev\n        uses: docker://hadolint/hadolint:v1.18.2\n        with:\n          args: hadolint Dockerfile.dev\n\n  base:\n    name: Prepare dependencies\n    runs-on: ubuntu-22.04\n    needs: info\n    timeout-minutes: 60\n    strategy:\n      matrix:\n        python-version: ${{ fromJSON(needs.info.outputs.python_versions) }}\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ matrix.python-version }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          check-latest: true\n      - name: Generate partial uv restore key\n        id: generate-uv-key\n        run: |\n          uv_version=$(cat requirements_test.txt | grep uv | cut -d '=' -f 3)\n          echo \"version=${uv_version}\" >> $GITHUB_OUTPUT\n          echo \"key=uv-${{ env.UV_CACHE_VERSION }}-${uv_version}-${{\n            env.HA_SHORT_VERSION }}-$(date -u '+%Y-%m-%dT%H:%M:%s')\" >> $GITHUB_OUTPUT\n      - name: Restore base Python virtual environment\n        id: cache-venv\n        uses: actions/cache@v4.0.2\n        with:\n          path: venv\n          lookup-only: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            needs.info.outputs.python_cache_key }}\n      - name: Restore uv wheel cache\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        uses: actions/cache@v4.0.2\n        with:\n          path: ${{ env.UV_CACHE_DIR }}\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            steps.generate-uv-key.outputs.key }}\n          restore-keys: |\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-uv-${{\n            env.UV_CACHE_VERSION }}-${{ steps.generate-uv-key.outputs.version }}-${{\n            env.HA_SHORT_VERSION }}-\n      - name: Install additional OS dependencies\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          sudo rm /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update\n          sudo apt-get -y install \\\n            bluez \\\n            ffmpeg \\\n            libavcodec-dev \\\n            libavdevice-dev \\\n            libavfilter-dev \\\n            libavformat-dev \\\n            libavutil-dev \\\n            libgammu-dev \\\n            libswresample-dev \\\n            libswscale-dev \\\n            libudev-dev\n      - name: Create Python virtual environment\n        if: steps.cache-venv.outputs.cache-hit != 'true'\n        run: |\n          python -m venv venv\n          . venv/bin/activate\n          python --version\n          pip install \"$(grep '^uv' < requirements_test.txt)\"\n          uv pip install -U \"pip>=21.3.1\" setuptools wheel\n          uv pip install -r requirements.txt\n          python -m script.gen_requirements_all ci\n          uv pip install -r requirements_all_pytest.txt\n          uv pip install -r requirements_test.txt\n          uv pip install -e . --config-settings editable_mode=compat\n\n  hassfest:\n    name: Check hassfest\n    runs-on: ubuntu-22.04\n    if: |\n      github.event.inputs.pylint-only != 'true'\n      && github.event.inputs.mypy-only != 'true'\n    needs:\n      - info\n      - base\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          check-latest: true\n      - name: Restore full Python ${{ env.DEFAULT_PYTHON }} virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            needs.info.outputs.python_cache_key }}\n      - name: Run hassfest\n        run: |\n          . venv/bin/activate\n          python -m script.hassfest --requirements --action validate\n\n  gen-requirements-all:\n    name: Check all requirements\n    runs-on: ubuntu-22.04\n    if: |\n      github.event.inputs.pylint-only != 'true'\n      && github.event.inputs.mypy-only != 'true'\n    needs:\n      - info\n      - base\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          check-latest: true\n      - name: Restore base Python virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            needs.info.outputs.python_cache_key }}\n      - name: Run gen_requirements_all.py\n        run: |\n          . venv/bin/activate\n          python -m script.gen_requirements_all validate\n\n  pylint:\n    name: Check pylint\n    runs-on: ubuntu-22.04\n    timeout-minutes: 20\n    if: |\n      github.event.inputs.mypy-only != 'true'\n      || github.event.inputs.pylint-only == 'true'\n    needs:\n      - info\n      - base\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          check-latest: true\n      - name: Restore full Python ${{ env.DEFAULT_PYTHON }} virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            needs.info.outputs.python_cache_key }}\n      - name: Register pylint problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/pylint.json\"\n      - name: Run pylint (fully)\n        if: needs.info.outputs.test_full_suite == 'true'\n        run: |\n          . venv/bin/activate\n          python --version\n          pylint --ignore-missing-annotations=y homeassistant\n      - name: Run pylint (partially)\n        if: needs.info.outputs.test_full_suite == 'false'\n        shell: bash\n        run: |\n          . venv/bin/activate\n          python --version\n          pylint --ignore-missing-annotations=y homeassistant/components/${{ needs.info.outputs.integrations_glob }}\n\n  pylint-tests:\n    name: Check pylint on tests\n    runs-on: ubuntu-22.04\n    timeout-minutes: 20\n    if: |\n      (github.event.inputs.mypy-only != 'true' || github.event.inputs.pylint-only == 'true')\n      && (needs.info.outputs.tests_glob || needs.info.outputs.test_full_suite == 'true')\n    needs:\n      - info\n      - base\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          check-latest: true\n      - name: Restore full Python ${{ env.DEFAULT_PYTHON }} virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            needs.info.outputs.python_cache_key }}\n      - name: Register pylint problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/pylint.json\"\n      - name: Run pylint (fully)\n        if: needs.info.outputs.test_full_suite == 'true'\n        run: |\n          . venv/bin/activate\n          python --version\n          pylint --ignore-missing-annotations=y tests\n      - name: Run pylint (partially)\n        if: needs.info.outputs.test_full_suite == 'false'\n        shell: bash\n        run: |\n          . venv/bin/activate\n          python --version\n          pylint --ignore-missing-annotations=y tests/components/${{ needs.info.outputs.tests_glob }}\n\n  mypy:\n    name: Check mypy\n    runs-on: ubuntu-22.04\n    if: |\n      github.event.inputs.pylint-only != 'true'\n      || github.event.inputs.mypy-only == 'true'\n    needs:\n      - info\n      - base\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          check-latest: true\n      - name: Generate partial mypy restore key\n        id: generate-mypy-key\n        run: |\n          mypy_version=$(cat requirements_test.txt | grep mypy | cut -d '=' -f 3)\n          echo \"version=$mypy_version\" >> $GITHUB_OUTPUT\n          echo \"key=mypy-${{ env.MYPY_CACHE_VERSION }}-$mypy_version-${{\n            env.HA_SHORT_VERSION }}-$(date -u '+%Y-%m-%dT%H:%M:%s')\" >> $GITHUB_OUTPUT\n      - name: Restore full Python ${{ env.DEFAULT_PYTHON }} virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            needs.info.outputs.python_cache_key }}\n      - name: Restore mypy cache\n        uses: actions/cache@v4.0.2\n        with:\n          path: .mypy_cache\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            steps.generate-mypy-key.outputs.key }}\n          restore-keys: |\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-mypy-${{\n            env.MYPY_CACHE_VERSION }}-${{ steps.generate-mypy-key.outputs.version }}-${{\n            env.HA_SHORT_VERSION }}-\n      - name: Register mypy problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/mypy.json\"\n      - name: Run mypy (fully)\n        if: needs.info.outputs.test_full_suite == 'true'\n        run: |\n          . venv/bin/activate\n          python --version\n          mypy homeassistant pylint\n      - name: Run mypy (partially)\n        if: needs.info.outputs.test_full_suite == 'false'\n        shell: bash\n        run: |\n          . venv/bin/activate\n          python --version\n          mypy homeassistant/components/${{ needs.info.outputs.integrations_glob }}\n\n  prepare-pytest-full:\n    runs-on: ubuntu-22.04\n    if: |\n      (github.event_name != 'push' || github.event.repository.full_name == 'home-assistant/core')\n      && github.event.inputs.lint-only != 'true'\n      && github.event.inputs.pylint-only != 'true'\n      && github.event.inputs.mypy-only != 'true'\n      && needs.info.outputs.test_full_suite == 'true'\n    needs:\n      - info\n      - base\n    name: Split tests for full run\n    steps:\n      - name: Install additional OS dependencies\n        run: |\n          sudo rm /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update\n          sudo apt-get -y install \\\n            bluez \\\n            ffmpeg \\\n            libgammu-dev\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          check-latest: true\n      - name: Restore base Python virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: >-\n            ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            needs.info.outputs.python_cache_key }}\n      - name: Run split_tests.py\n        run: |\n          . venv/bin/activate\n          python -m script.split_tests ${{ needs.info.outputs.test_group_count }} tests\n      - name: Upload pytest_buckets\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: pytest_buckets\n          path: pytest_buckets.txt\n          overwrite: true\n\n  pytest-full:\n    runs-on: ubuntu-22.04\n    if: |\n      (github.event_name != 'push' || github.event.repository.full_name == 'home-assistant/core')\n      && github.event.inputs.lint-only != 'true'\n      && github.event.inputs.pylint-only != 'true'\n      && github.event.inputs.mypy-only != 'true'\n      && needs.info.outputs.test_full_suite == 'true'\n    needs:\n      - info\n      - base\n      - gen-requirements-all\n      - hassfest\n      - lint-other\n      - lint-ruff\n      - lint-ruff-format\n      - mypy\n      - prepare-pytest-full\n    strategy:\n      fail-fast: false\n      matrix:\n        group: ${{ fromJson(needs.info.outputs.test_groups) }}\n        python-version: ${{ fromJson(needs.info.outputs.python_versions) }}\n    name: >-\n      Run tests Python ${{ matrix.python-version }} (${{ matrix.group }})\n    steps:\n      - name: Install additional OS dependencies\n        run: |\n          sudo rm /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update\n          sudo apt-get -y install \\\n            bluez \\\n            ffmpeg \\\n            libgammu-dev\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ matrix.python-version }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          check-latest: true\n      - name: Restore full Python ${{ matrix.python-version }} virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            needs.info.outputs.python_cache_key }}\n      - name: Register Python problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/python.json\"\n      - name: Register pytest slow test problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/pytest-slow.json\"\n      - name: Download pytest_buckets\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: pytest_buckets\n      - name: Compile English translations\n        run: |\n          . venv/bin/activate\n          python3 -m script.translations develop --all\n      - name: Run pytest\n        timeout-minutes: 60\n        id: pytest-full\n        env:\n          PYTHONDONTWRITEBYTECODE: 1\n        run: |\n          . venv/bin/activate\n          python --version\n          set -o pipefail\n          cov_params=()\n          if [[ \"${{ needs.info.outputs.skip_coverage }}\" != \"true\" ]]; then\n            cov_params+=(--cov=\"homeassistant\")\n            cov_params+=(--cov-report=xml)\n          fi\n\n          python3 -b -X dev -m pytest \\\n            -qq \\\n            --timeout=9 \\\n            --durations=10 \\\n            -n auto \\\n            --dist=loadfile \\\n            ${cov_params[@]} \\\n            -o console_output_style=count \\\n            -p no:sugar \\\n            $(sed -n \"${{ matrix.group }},1p\" pytest_buckets.txt) \\\n              2>&1 | tee pytest-${{ matrix.python-version }}-${{ matrix.group }}.txt\n      - name: Upload pytest output\n        if: success() || failure() && steps.pytest-full.conclusion == 'failure'\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ matrix.group }}\n          path: pytest-*.txt\n          overwrite: true\n      - name: Upload coverage artifact\n        if: needs.info.outputs.skip_coverage != 'true'\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: coverage-${{ matrix.python-version }}-${{ matrix.group }}\n          path: coverage.xml\n          overwrite: true\n      - name: Remove pytest_buckets\n        run: rm pytest_buckets.txt\n      - name: Check dirty\n        run: |\n          ./script/check_dirty\n\n  pytest-mariadb:\n    runs-on: ubuntu-22.04\n    services:\n      mariadb:\n        image: ${{ matrix.mariadb-group }}\n        ports:\n          - 3306:3306\n        env:\n          MYSQL_ROOT_PASSWORD: password\n        options: --health-cmd=\"mysqladmin ping -uroot -ppassword\" --health-interval=5s --health-timeout=2s --health-retries=3\n    if: |\n      (github.event_name != 'push' || github.event.repository.full_name == 'home-assistant/core')\n      && github.event.inputs.lint-only != 'true'\n      && github.event.inputs.pylint-only != 'true'\n      && github.event.inputs.mypy-only != 'true'\n      && needs.info.outputs.mariadb_groups != '[]'\n    needs:\n      - info\n      - base\n      - gen-requirements-all\n      - hassfest\n      - lint-other\n      - lint-ruff\n      - lint-ruff-format\n      - mypy\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ${{ fromJson(needs.info.outputs.python_versions) }}\n        mariadb-group: ${{ fromJson(needs.info.outputs.mariadb_groups) }}\n    name: >-\n      Run ${{ matrix.mariadb-group }} tests Python ${{ matrix.python-version }}\n    steps:\n      - name: Install additional OS dependencies\n        run: |\n          sudo rm /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update\n          sudo apt-get -y install \\\n            bluez \\\n            ffmpeg \\\n            libmariadb-dev-compat\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ matrix.python-version }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          check-latest: true\n      - name: Restore full Python ${{ matrix.python-version }} virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            needs.info.outputs.python_cache_key }}\n      - name: Register Python problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/python.json\"\n      - name: Register pytest slow test problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/pytest-slow.json\"\n      - name: Install SQL Python libraries\n        run: |\n          . venv/bin/activate\n          uv pip install mysqlclient sqlalchemy_utils\n      - name: Compile English translations\n        run: |\n          . venv/bin/activate\n          python3 -m script.translations develop --all\n      - name: Run pytest (partially)\n        timeout-minutes: 20\n        id: pytest-partial\n        shell: bash\n        env:\n          PYTHONDONTWRITEBYTECODE: 1\n        run: |\n          . venv/bin/activate\n          python --version\n          set -o pipefail\n          mariadb=$(echo \"${{ matrix.mariadb-group }}\" | sed \"s/:/-/g\")\n          echo \"mariadb=${mariadb}\" >> $GITHUB_OUTPUT\n          cov_params=()\n          if [[ \"${{ needs.info.outputs.skip_coverage }}\" != \"true\" ]]; then\n            cov_params+=(--cov=\"homeassistant.components.recorder\")\n            cov_params+=(--cov-report=xml)\n            cov_params+=(--cov-report=term-missing)\n          fi\n\n          python3 -b -X dev -m pytest \\\n            -qq \\\n            --timeout=20 \\\n            -n 1 \\\n            ${cov_params[@]} \\\n            -o console_output_style=count \\\n            --durations=10 \\\n            -p no:sugar \\\n            --dburl=mysql://root:password@127.0.0.1/homeassistant-test \\\n            tests/components/history \\\n            tests/components/logbook \\\n            tests/components/recorder \\\n            tests/components/sensor \\\n              2>&1 | tee pytest-${{ matrix.python-version }}-${mariadb}.txt\n      - name: Upload pytest output\n        if: success() || failure() && steps.pytest-partial.conclusion == 'failure'\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{\n            steps.pytest-partial.outputs.mariadb }}\n          path: pytest-*.txt\n          overwrite: true\n      - name: Upload coverage artifact\n        if: needs.info.outputs.skip_coverage != 'true'\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: coverage-${{ matrix.python-version }}-${{\n            steps.pytest-partial.outputs.mariadb }}\n          path: coverage.xml\n          overwrite: true\n      - name: Check dirty\n        run: |\n          ./script/check_dirty\n\n  pytest-postgres:\n    runs-on: ubuntu-22.04\n    services:\n      postgres:\n        image: ${{ matrix.postgresql-group }}\n        ports:\n          - 5432:5432\n        env:\n          POSTGRES_PASSWORD: password\n        options: --health-cmd=\"pg_isready -hlocalhost -Upostgres\" --health-interval=5s --health-timeout=2s --health-retries=3\n    if: |\n      (github.event_name != 'push' || github.event.repository.full_name == 'home-assistant/core')\n      && github.event.inputs.lint-only != 'true'\n      && github.event.inputs.pylint-only != 'true'\n      && github.event.inputs.mypy-only != 'true'\n      && needs.info.outputs.postgresql_groups != '[]'\n    needs:\n      - info\n      - base\n      - gen-requirements-all\n      - hassfest\n      - lint-other\n      - lint-ruff\n      - lint-ruff-format\n      - mypy\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ${{ fromJson(needs.info.outputs.python_versions) }}\n        postgresql-group: ${{ fromJson(needs.info.outputs.postgresql_groups) }}\n    name: >-\n      Run ${{ matrix.postgresql-group }} tests Python ${{ matrix.python-version }}\n    steps:\n      - name: Install additional OS dependencies\n        run: |\n          sudo rm /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update\n          sudo apt-get -y install \\\n            bluez \\\n            ffmpeg \\\n            postgresql-server-dev-14\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ matrix.python-version }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          check-latest: true\n      - name: Restore full Python ${{ matrix.python-version }} virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            needs.info.outputs.python_cache_key }}\n      - name: Register Python problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/python.json\"\n      - name: Register pytest slow test problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/pytest-slow.json\"\n      - name: Install SQL Python libraries\n        run: |\n          . venv/bin/activate\n          uv pip install psycopg2 sqlalchemy_utils\n      - name: Compile English translations\n        run: |\n          . venv/bin/activate\n          python3 -m script.translations develop --all\n      - name: Run pytest (partially)\n        timeout-minutes: 20\n        id: pytest-partial\n        shell: bash\n        env:\n          PYTHONDONTWRITEBYTECODE: 1\n        run: |\n          . venv/bin/activate\n          python --version\n          set -o pipefail\n          postgresql=$(echo \"${{ matrix.postgresql-group }}\" | sed \"s/:/-/g\")\n          echo \"postgresql=${postgresql}\" >> $GITHUB_OUTPUT\n          cov_params=()\n          if [[ \"${{ needs.info.outputs.skip_coverage }}\" != \"true\" ]]; then\n            cov_params+=(--cov=\"homeassistant.components.recorder\")\n            cov_params+=(--cov-report=xml)\n            cov_params+=(--cov-report=term-missing)\n          fi\n\n          python3 -b -X dev -m pytest \\\n            -qq \\\n            --timeout=9 \\\n            -n 1 \\\n            ${cov_params[@]} \\\n            -o console_output_style=count \\\n            --durations=0 \\\n            --durations-min=10 \\\n            -p no:sugar \\\n            --dburl=postgresql://postgres:password@127.0.0.1/homeassistant-test \\\n            tests/components/history \\\n            tests/components/logbook \\\n            tests/components/recorder \\\n            tests/components/sensor \\\n              2>&1 | tee pytest-${{ matrix.python-version }}-${postgresql}.txt\n      - name: Upload pytest output\n        if: success() || failure() && steps.pytest-partial.conclusion == 'failure'\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{\n            steps.pytest-partial.outputs.postgresql }}\n          path: pytest-*.txt\n          overwrite: true\n      - name: Upload coverage artifact\n        if: needs.info.outputs.skip_coverage != 'true'\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: coverage-${{ matrix.python-version }}-${{\n            steps.pytest-partial.outputs.postgresql }}\n          path: coverage.xml\n          overwrite: true\n      - name: Check dirty\n        run: |\n          ./script/check_dirty\n\n  coverage-full:\n    name: Upload test coverage to Codecov (full suite)\n    if: needs.info.outputs.skip_coverage != 'true'\n    runs-on: ubuntu-22.04\n    needs:\n      - info\n      - pytest-full\n      - pytest-postgres\n      - pytest-mariadb\n    timeout-minutes: 10\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Download all coverage artifacts\n        uses: actions/download-artifact@v4.1.7\n        with:\n          pattern: coverage-*\n      - name: Upload coverage to Codecov\n        if: needs.info.outputs.test_full_suite == 'true'\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          fail_ci_if_error: true\n          flags: full-suite\n          token: ${{ secrets.CODECOV_TOKEN }}\n          version: v0.6.0\n\n  pytest-partial:\n    runs-on: ubuntu-22.04\n    if: |\n      (github.event_name != 'push' || github.event.repository.full_name == 'home-assistant/core')\n      && github.event.inputs.lint-only != 'true'\n      && github.event.inputs.pylint-only != 'true'\n      && github.event.inputs.mypy-only != 'true'\n      && needs.info.outputs.tests_glob\n      && needs.info.outputs.test_full_suite == 'false'\n    needs:\n      - info\n      - base\n      - gen-requirements-all\n      - hassfest\n      - lint-other\n      - lint-ruff\n      - lint-ruff-format\n      - mypy\n    strategy:\n      fail-fast: false\n      matrix:\n        group: ${{ fromJson(needs.info.outputs.test_groups) }}\n        python-version: ${{ fromJson(needs.info.outputs.python_versions) }}\n    name: >-\n      Run tests Python ${{ matrix.python-version }} (${{ matrix.group }})\n    steps:\n      - name: Install additional OS dependencies\n        run: |\n          sudo rm /etc/apt/sources.list.d/microsoft-prod.list\n          sudo apt-get update\n          sudo apt-get -y install \\\n            bluez \\\n            ffmpeg \\\n            libgammu-dev\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Set up Python ${{ matrix.python-version }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          check-latest: true\n      - name: Restore full Python ${{ matrix.python-version }} virtual environment\n        id: cache-venv\n        uses: actions/cache/restore@v4.0.2\n        with:\n          path: venv\n          fail-on-cache-miss: true\n          key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{\n            needs.info.outputs.python_cache_key }}\n      - name: Register Python problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/python.json\"\n      - name: Register pytest slow test problem matcher\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/pytest-slow.json\"\n      - name: Compile English translations\n        run: |\n          . venv/bin/activate\n          python3 -m script.translations develop --all\n      - name: Run pytest\n        timeout-minutes: 10\n        id: pytest-partial\n        shell: bash\n        env:\n          PYTHONDONTWRITEBYTECODE: 1\n        run: |\n          . venv/bin/activate\n          python --version\n          set -o pipefail\n\n          if [[ ! -f \"tests/components/${{ matrix.group }}/__init__.py\" ]]; then\n            echo \"::error:: missing file tests/components/${{ matrix.group }}/__init__.py\"\n            exit 1\n          fi\n\n          cov_params=()\n          if [[ \"${{ needs.info.outputs.skip_coverage }}\" != \"true\" ]]; then\n            cov_params+=(--cov=\"homeassistant.components.${{ matrix.group }}\")\n            cov_params+=(--cov-report=xml)\n            cov_params+=(--cov-report=term-missing)\n          fi\n\n          python3 -b -X dev -m pytest \\\n            -qq \\\n            --timeout=9 \\\n            -n auto \\\n            ${cov_params[@]} \\\n            -o console_output_style=count \\\n            --durations=0 \\\n            --durations-min=1 \\\n            -p no:sugar \\\n            tests/components/${{ matrix.group }} \\\n              2>&1 | tee pytest-${{ matrix.python-version }}-${{ matrix.group }}.txt\n      - name: Upload pytest output\n        if: success() || failure() && steps.pytest-partial.conclusion == 'failure'\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: pytest-${{ github.run_number }}-${{ matrix.python-version }}-${{ matrix.group }}\n          path: pytest-*.txt\n          overwrite: true\n      - name: Upload coverage artifact\n        if: needs.info.outputs.skip_coverage != 'true'\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: coverage-${{ matrix.python-version }}-${{ matrix.group }}\n          path: coverage.xml\n          overwrite: true\n      - name: Check dirty\n        run: |\n          ./script/check_dirty\n\n  coverage-partial:\n    name: Upload test coverage to Codecov (partial suite)\n    if: needs.info.outputs.skip_coverage != 'true'\n    runs-on: ubuntu-22.04\n    needs:\n      - info\n      - pytest-partial\n    timeout-minutes: 10\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n      - name: Download all coverage artifacts\n        uses: actions/download-artifact@v4.1.7\n        with:\n          pattern: coverage-*\n      - name: Upload coverage to Codecov\n        if: needs.info.outputs.test_full_suite == 'false'\n        uses: codecov/codecov-action@v4.5.0\n        with:\n          fail_ci_if_error: true\n          token: ${{ secrets.CODECOV_TOKEN }}\n          version: v0.6.0\n", "state": "active", "repository": "home-assistant/core"}
{"mined_at": "2024-07-15T18:37:12.214540", "created_at": "2020-11-09T11:47:34+01:00", "updated_at": "2020-11-09T11:47:34+01:00", "name": "Lock", "path": ".github/workflows/lock.yml", "contents": "name: Lock\n\n# yamllint disable-line rule:truthy\non:\n  schedule:\n    - cron: \"0 * * * *\"\n\njobs:\n  lock:\n    if: github.repository_owner == 'home-assistant'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: dessant/lock-threads@v5.0.1\n        with:\n          github-token: ${{ github.token }}\n          issue-inactive-days: \"30\"\n          exclude-issue-created-before: \"2020-10-01T00:00:00Z\"\n          issue-lock-reason: \"\"\n          pr-inactive-days: \"1\"\n          exclude-pr-created-before: \"2020-11-01T00:00:00Z\"\n          pr-lock-reason: \"\"\n", "state": "active", "repository": "home-assistant/core"}
{"mined_at": "2024-07-15T18:37:13.543898", "created_at": "2020-11-09T11:52:02+01:00", "updated_at": "2020-11-09T11:52:02+01:00", "name": "Stale", "path": ".github/workflows/stale.yml", "contents": "name: Stale\n\n# yamllint disable-line rule:truthy\non:\n  schedule:\n    - cron: \"0 * * * *\"\n  workflow_dispatch:\n\njobs:\n  stale:\n    if: github.repository_owner == 'home-assistant'\n    runs-on: ubuntu-latest\n    steps:\n      # The 60 day stale policy for PRs\n      # Used for:\n      # - PRs\n      # - No PRs marked as no-stale\n      # - No issues (-1)\n      - name: 60 days stale PRs policy\n        uses: actions/stale@v9.0.0\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          days-before-stale: 60\n          days-before-close: 7\n          days-before-issue-stale: -1\n          days-before-issue-close: -1\n          operations-per-run: 150\n          remove-stale-when-updated: true\n          stale-pr-label: \"stale\"\n          exempt-pr-labels: \"no-stale\"\n          stale-pr-message: >\n            There hasn't been any activity on this pull request recently. This\n            pull request has been automatically marked as stale because of that\n            and will be closed if no further activity occurs within 7 days.\n\n            If you are the author of this PR, please leave a comment if you want\n            to keep it open. Also, please rebase your PR onto the latest dev\n            branch to ensure that it's up to date with the latest changes.\n\n            Thank you for your contribution!\n\n      # Generate a token for the GitHub App, we use this method to avoid\n      # hitting API limits for our GitHub actions + have a higher rate limit.\n      # This is only used for issues.\n      - name: Generate app token\n        id: token\n        # Pinned to a specific version of the action for security reasons\n        # v1.7.0\n        uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a\n        with:\n          app_id: ${{ secrets.ISSUE_TRIAGE_APP_ID }}\n          private_key: ${{ secrets.ISSUE_TRIAGE_APP_PEM }}\n\n      # The 90 day stale policy for issues\n      # Used for:\n      # - Issues\n      # - No issues marked as no-stale or help-wanted\n      # - No PRs (-1)\n      - name: 90 days stale issues\n        uses: actions/stale@v9.0.0\n        with:\n          repo-token: ${{ steps.token.outputs.token }}\n          days-before-stale: 90\n          days-before-close: 7\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          operations-per-run: 250\n          remove-stale-when-updated: true\n          stale-issue-label: \"stale\"\n          exempt-issue-labels: \"no-stale,help-wanted,needs-more-information\"\n          stale-issue-message: >\n            There hasn't been any activity on this issue recently. Due to the\n            high number of incoming GitHub notifications, we have to clean some\n            of the old issues, as many of them have already been resolved with\n            the latest updates.\n\n            Please make sure to update to the latest Home Assistant version and\n            check if that solves the issue. Let us know if that works for you by\n            adding a comment 👍\n\n            This issue has now been marked as stale and will be closed if no\n            further activity occurs. Thank you for your contributions.\n\n      # The 30 day stale policy for issues\n      # Used for:\n      # - Issues that are pending more information (incomplete issues)\n      # - No Issues marked as no-stale or help-wanted\n      # - No PRs (-1)\n      - name: Needs more information stale issues policy\n        uses: actions/stale@v9.0.0\n        with:\n          repo-token: ${{ steps.token.outputs.token }}\n          only-labels: \"needs-more-information\"\n          days-before-stale: 14\n          days-before-close: 7\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          operations-per-run: 250\n          remove-stale-when-updated: true\n          stale-issue-label: \"stale\"\n          exempt-issue-labels: \"no-stale,help-wanted\"\n          stale-issue-message: >\n            There hasn't been any activity on this issue recently. Due to the\n            high number of incoming GitHub notifications, we have to clean some\n            of the old issues, as many of them have already been resolved with\n            the latest updates.\n\n            Please make sure to update to the latest Home Assistant version and\n            check if that solves the issue. Let us know if that works for you by\n            adding a comment 👍\n\n            This issue has now been marked as stale and will be closed if no\n            further activity occurs. Thank you for your contributions.\n", "state": "active", "repository": "home-assistant/core"}
{"mined_at": "2024-07-15T18:37:14.673979", "created_at": "2021-04-26T22:19:42+02:00", "updated_at": "2023-09-29T20:55:27+02:00", "name": "Build images", "path": ".github/workflows/builder.yml", "contents": "name: Build images\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  release:\n    types: [\"published\"]\n  schedule:\n    - cron: \"0 2 * * *\"\n\nenv:\n  BUILD_TYPE: core\n  DEFAULT_PYTHON: \"3.12\"\n  PIP_TIMEOUT: 60\n  UV_HTTP_TIMEOUT: 60\n  UV_SYSTEM_PYTHON: \"true\"\n\njobs:\n  init:\n    name: Initialize build\n    if: github.repository_owner == 'home-assistant'\n    runs-on: ubuntu-latest\n    outputs:\n      architectures: ${{ steps.info.outputs.architectures }}\n      version: ${{ steps.version.outputs.version }}\n      channel: ${{ steps.version.outputs.channel }}\n      publish: ${{ steps.version.outputs.publish }}\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n\n      - name: Get information\n        id: info\n        uses: home-assistant/actions/helpers/info@master\n\n      - name: Get version\n        id: version\n        uses: home-assistant/actions/helpers/version@master\n        with:\n          type: ${{ env.BUILD_TYPE }}\n\n      - name: Verify version\n        uses: home-assistant/actions/helpers/verify-version@master\n        with:\n          ignore-dev: true\n\n      - name: Fail if translations files are checked in\n        run: |\n          if [ -n \"$(find homeassistant/components/*/translations -type f)\" ]; then\n              echo \"Translations files are checked in, please remove the following files:\"\n              find homeassistant/components/*/translations -type f\n              exit 1\n          fi\n\n      - name: Download Translations\n        run: python3 -m script.translations download\n        env:\n          LOKALISE_TOKEN: ${{ secrets.LOKALISE_TOKEN }}\n\n      - name: Archive translations\n        shell: bash\n        run: find ./homeassistant/components/*/translations -name \"*.json\" | tar zcvf translations.tar.gz -T -\n\n      - name: Upload translations\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: translations\n          path: translations.tar.gz\n          if-no-files-found: error\n\n  build_base:\n    name: Build ${{ matrix.arch }} base core image\n    if: github.repository_owner == 'home-assistant'\n    needs: init\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      id-token: write\n    strategy:\n      fail-fast: false\n      matrix:\n        arch: ${{ fromJson(needs.init.outputs.architectures) }}\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Download nightly wheels of frontend\n        if: needs.init.outputs.channel == 'dev'\n        uses: dawidd6/action-download-artifact@v6\n        with:\n          github_token: ${{secrets.GITHUB_TOKEN}}\n          repo: home-assistant/frontend\n          branch: dev\n          workflow: nightly.yaml\n          workflow_conclusion: success\n          name: wheels\n\n      - name: Download nightly wheels of intents\n        if: needs.init.outputs.channel == 'dev'\n        uses: dawidd6/action-download-artifact@v6\n        with:\n          github_token: ${{secrets.GITHUB_TOKEN}}\n          repo: home-assistant/intents-package\n          branch: main\n          workflow: nightly.yaml\n          workflow_conclusion: success\n          name: package\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        if: needs.init.outputs.channel == 'dev'\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n\n      - name: Adjust nightly version\n        if: needs.init.outputs.channel == 'dev'\n        shell: bash\n        env:\n          UV_PRERELEASE: allow\n        run: |\n          python3 -m pip install \"$(grep '^uv' < requirements_test.txt)\"\n          uv pip install packaging tomli\n          uv pip install .\n          python3 script/version_bump.py nightly --set-nightly-version \"${{ needs.init.outputs.version }}\"\n\n          if [[ \"$(ls home_assistant_frontend*.whl)\" =~ ^home_assistant_frontend-(.*)-py3-none-any.whl$ ]]; then\n            echo \"Found frontend wheel, setting version to: ${BASH_REMATCH[1]}\"\n            frontend_version=\"${BASH_REMATCH[1]}\" yq \\\n              --inplace e -o json \\\n              '.requirements = [\"home-assistant-frontend==\"+env(frontend_version)]' \\\n              homeassistant/components/frontend/manifest.json\n\n            sed -i \"s|home-assistant-frontend==.*|home-assistant-frontend==${BASH_REMATCH[1]}|\" \\\n              homeassistant/package_constraints.txt\n\n            sed -i \"s|home-assistant-frontend==.*||\" requirements_all.txt\n          fi\n\n          if [[ \"$(ls home_assistant_intents*.whl)\" =~ ^home_assistant_intents-(.*)-py3-none-any.whl$ ]]; then\n            echo \"Found intents wheel, setting version to: ${BASH_REMATCH[1]}\"\n            yq \\\n              --inplace e -o json \\\n              'del(.requirements[] | select(contains(\"home-assistant-intents\")))' \\\n              homeassistant/components/conversation/manifest.json\n\n            intents_version=\"${BASH_REMATCH[1]}\" yq \\\n              --inplace e -o json \\\n              '.requirements += [\"home-assistant-intents==\"+env(intents_version)]' \\\n              homeassistant/components/conversation/manifest.json\n\n            sed -i \"s|home-assistant-intents==.*|home-assistant-intents==${BASH_REMATCH[1]}|\" \\\n              homeassistant/package_constraints.txt\n\n            sed -i \"s|home-assistant-intents==.*||\" requirements_all.txt\n          fi\n\n      - name: Adjustments for armhf\n        if: matrix.arch == 'armhf'\n        run: |\n          # Pandas has issues building on armhf, it is expected they\n          # will drop the platform in the near future (they consider it\n          # \"flimsy\" on 386). The following packages depend on pandas,\n          # so we comment them out.\n          sed -i \"s|env-canada|# env-canada|g\" requirements_all.txt\n          sed -i \"s|noaa-coops|# noaa-coops|g\" requirements_all.txt\n          sed -i \"s|pyezviz|# pyezviz|g\" requirements_all.txt\n          sed -i \"s|pykrakenapi|# pykrakenapi|g\" requirements_all.txt\n\n      - name: Download translations\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: translations\n\n      - name: Extract translations\n        run: |\n          tar xvf translations.tar.gz\n          rm translations.tar.gz\n\n      - name: Write meta info file\n        shell: bash\n        run: |\n          echo \"${{ github.sha }};${{ github.ref }};${{ github.event_name }};${{ github.actor }}\" > rootfs/OFFICIAL_IMAGE\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3.2.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build base image\n        uses: home-assistant/builder@2024.03.5\n        with:\n          args: |\n            $BUILD_ARGS \\\n            --${{ matrix.arch }} \\\n            --cosign \\\n            --target /data \\\n            --generic ${{ needs.init.outputs.version }}\n\n  build_machine:\n    name: Build ${{ matrix.machine }} machine core image\n    if: github.repository_owner == 'home-assistant'\n    needs: [\"init\", \"build_base\"]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      id-token: write\n    strategy:\n      matrix:\n        machine:\n          - generic-x86-64\n          - intel-nuc\n          - khadas-vim3\n          - odroid-c2\n          - odroid-c4\n          - odroid-m1\n          - odroid-n2\n          - odroid-xu\n          - qemuarm\n          - qemuarm-64\n          - qemux86\n          - qemux86-64\n          - raspberrypi\n          - raspberrypi2\n          - raspberrypi3\n          - raspberrypi3-64\n          - raspberrypi4\n          - raspberrypi4-64\n          - raspberrypi5-64\n          - tinker\n          - yellow\n          - green\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Set build additional args\n        run: |\n          # Create general tags\n          if [[ \"${{ needs.init.outputs.version }}\" =~ d ]]; then\n            echo \"BUILD_ARGS=--additional-tag dev\" >> $GITHUB_ENV\n          elif [[ \"${{ needs.init.outputs.version }}\" =~ b ]]; then\n            echo \"BUILD_ARGS=--additional-tag beta\" >> $GITHUB_ENV\n          else\n            echo \"BUILD_ARGS=--additional-tag stable\" >> $GITHUB_ENV\n          fi\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3.2.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build base image\n        uses: home-assistant/builder@2024.03.5\n        with:\n          args: |\n            $BUILD_ARGS \\\n            --target /data/machine \\\n            --cosign \\\n            --machine \"${{ needs.init.outputs.version }}=${{ matrix.machine }}\"\n\n  publish_ha:\n    name: Publish version files\n    environment: ${{ needs.init.outputs.channel }}\n    if: github.repository_owner == 'home-assistant'\n    needs: [\"init\", \"build_machine\"]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Initialize git\n        uses: home-assistant/actions/helpers/git-init@master\n        with:\n          name: ${{ secrets.GIT_NAME }}\n          email: ${{ secrets.GIT_EMAIL }}\n          token: ${{ secrets.GIT_TOKEN }}\n\n      - name: Update version file\n        uses: home-assistant/actions/helpers/version-push@master\n        with:\n          key: \"homeassistant[]\"\n          key-description: \"Home Assistant Core\"\n          version: ${{ needs.init.outputs.version }}\n          channel: ${{ needs.init.outputs.channel }}\n\n      - name: Update version file (stable -> beta)\n        if: needs.init.outputs.channel == 'stable'\n        uses: home-assistant/actions/helpers/version-push@master\n        with:\n          key: \"homeassistant[]\"\n          key-description: \"Home Assistant Core\"\n          version: ${{ needs.init.outputs.version }}\n          channel: beta\n\n  publish_container:\n    name: Publish meta container for ${{ matrix.registry }}\n    environment: ${{ needs.init.outputs.channel }}\n    if: github.repository_owner == 'home-assistant'\n    needs: [\"init\", \"build_base\"]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n      id-token: write\n    strategy:\n      matrix:\n        registry: [\"ghcr.io/home-assistant\", \"docker.io/homeassistant\"]\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Install Cosign\n        uses: sigstore/cosign-installer@v3.5.0\n        with:\n          cosign-release: \"v2.2.3\"\n\n      - name: Login to DockerHub\n        if: matrix.registry == 'docker.io/homeassistant'\n        uses: docker/login-action@v3.2.0\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Login to GitHub Container Registry\n        if: matrix.registry == 'ghcr.io/home-assistant'\n        uses: docker/login-action@v3.2.0\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build Meta Image\n        shell: bash\n        run: |\n          export DOCKER_CLI_EXPERIMENTAL=enabled\n\n          function create_manifest() {\n            local tag_l=${1}\n            local tag_r=${2}\n            local registry=${{ matrix.registry }}\n\n            docker manifest create \"${registry}/home-assistant:${tag_l}\" \\\n              \"${registry}/amd64-homeassistant:${tag_r}\" \\\n              \"${registry}/i386-homeassistant:${tag_r}\" \\\n              \"${registry}/armhf-homeassistant:${tag_r}\" \\\n              \"${registry}/armv7-homeassistant:${tag_r}\" \\\n              \"${registry}/aarch64-homeassistant:${tag_r}\"\n\n            docker manifest annotate \"${registry}/home-assistant:${tag_l}\" \\\n              \"${registry}/amd64-homeassistant:${tag_r}\" \\\n              --os linux --arch amd64\n\n            docker manifest annotate \"${registry}/home-assistant:${tag_l}\" \\\n              \"${registry}/i386-homeassistant:${tag_r}\" \\\n              --os linux --arch 386\n\n            docker manifest annotate \"${registry}/home-assistant:${tag_l}\" \\\n              \"${registry}/armhf-homeassistant:${tag_r}\" \\\n              --os linux --arch arm --variant=v6\n\n            docker manifest annotate \"${registry}/home-assistant:${tag_l}\" \\\n              \"${registry}/armv7-homeassistant:${tag_r}\" \\\n              --os linux --arch arm --variant=v7\n\n            docker manifest annotate \"${registry}/home-assistant:${tag_l}\" \\\n              \"${registry}/aarch64-homeassistant:${tag_r}\" \\\n              --os linux --arch arm64 --variant=v8\n\n            docker manifest push --purge \"${registry}/home-assistant:${tag_l}\"\n            cosign sign --yes \"${registry}/home-assistant:${tag_l}\"\n          }\n\n          function validate_image() {\n            local image=${1}\n            if ! cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity-regexp https://github.com/home-assistant/core/.* \"${image}\"; then\n              echo \"Invalid signature!\"\n              exit 1\n            fi\n          }\n\n          function push_dockerhub() {\n            local image=${1}\n            local tag=${2}\n\n            docker tag \"ghcr.io/home-assistant/${image}:${tag}\" \"docker.io/homeassistant/${image}:${tag}\"\n            docker push \"docker.io/homeassistant/${image}:${tag}\"\n            cosign sign --yes \"docker.io/homeassistant/${image}:${tag}\"\n          }\n\n          # Pull images from github container registry and verify signature\n          docker pull \"ghcr.io/home-assistant/amd64-homeassistant:${{ needs.init.outputs.version }}\"\n          docker pull \"ghcr.io/home-assistant/i386-homeassistant:${{ needs.init.outputs.version }}\"\n          docker pull \"ghcr.io/home-assistant/armhf-homeassistant:${{ needs.init.outputs.version }}\"\n          docker pull \"ghcr.io/home-assistant/armv7-homeassistant:${{ needs.init.outputs.version }}\"\n          docker pull \"ghcr.io/home-assistant/aarch64-homeassistant:${{ needs.init.outputs.version }}\"\n\n          validate_image \"ghcr.io/home-assistant/amd64-homeassistant:${{ needs.init.outputs.version }}\"\n          validate_image \"ghcr.io/home-assistant/i386-homeassistant:${{ needs.init.outputs.version }}\"\n          validate_image \"ghcr.io/home-assistant/armhf-homeassistant:${{ needs.init.outputs.version }}\"\n          validate_image \"ghcr.io/home-assistant/armv7-homeassistant:${{ needs.init.outputs.version }}\"\n          validate_image \"ghcr.io/home-assistant/aarch64-homeassistant:${{ needs.init.outputs.version }}\"\n\n          if [[ \"${{ matrix.registry }}\" ==  \"docker.io/homeassistant\" ]]; then\n            # Upload images to dockerhub\n            push_dockerhub \"amd64-homeassistant\" \"${{ needs.init.outputs.version }}\"\n            push_dockerhub \"i386-homeassistant\" \"${{ needs.init.outputs.version }}\"\n            push_dockerhub \"armhf-homeassistant\" \"${{ needs.init.outputs.version }}\"\n            push_dockerhub \"armv7-homeassistant\" \"${{ needs.init.outputs.version }}\"\n            push_dockerhub \"aarch64-homeassistant\" \"${{ needs.init.outputs.version }}\"\n          fi\n\n          # Create version tag\n          create_manifest \"${{ needs.init.outputs.version }}\" \"${{ needs.init.outputs.version }}\"\n\n          # Create general tags\n          if [[ \"${{ needs.init.outputs.version }}\" =~ d ]]; then\n            create_manifest \"dev\" \"${{ needs.init.outputs.version }}\"\n          elif [[ \"${{ needs.init.outputs.version }}\" =~ b ]]; then\n            create_manifest \"beta\" \"${{ needs.init.outputs.version }}\"\n            create_manifest \"rc\" \"${{ needs.init.outputs.version }}\"\n          else\n            create_manifest \"stable\" \"${{ needs.init.outputs.version }}\"\n            create_manifest \"latest\" \"${{ needs.init.outputs.version }}\"\n            create_manifest \"beta\" \"${{ needs.init.outputs.version }}\"\n            create_manifest \"rc\" \"${{ needs.init.outputs.version }}\"\n\n            # Create series version tag (e.g. 2021.6)\n            v=\"${{ needs.init.outputs.version }}\"\n            create_manifest \"${v%.*}\" \"${{ needs.init.outputs.version }}\"\n          fi\n\n  build_python:\n    name: Build PyPi package\n    environment: ${{ needs.init.outputs.channel }}\n    needs: [\"init\", \"build_base\"]\n    runs-on: ubuntu-latest\n    if: github.repository_owner == 'home-assistant' && needs.init.outputs.publish == 'true'\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n\n      - name: Download translations\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: translations\n\n      - name: Extract translations\n        run: |\n          tar xvf translations.tar.gz\n          rm translations.tar.gz\n\n      - name: Build package\n        shell: bash\n        run: |\n          # Remove dist, build, and homeassistant.egg-info\n          # when build locally for testing!\n          pip install twine build\n          python -m build\n\n      - name: Upload package\n        shell: bash\n        run: |\n          export TWINE_USERNAME=\"__token__\"\n          export TWINE_PASSWORD=\"${{ secrets.TWINE_TOKEN }}\"\n\n          twine upload dist/* --skip-existing\n", "state": "active", "repository": "home-assistant/core"}
{"mined_at": "2024-07-15T18:37:15.914826", "created_at": "2021-05-11T11:47:10+02:00", "updated_at": "2021-05-11T11:47:10+02:00", "name": "Build wheels", "path": ".github/workflows/wheels.yml", "contents": "name: Build wheels\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 4 * * *\"\n  push:\n    branches:\n      - dev\n      - rc\n    paths:\n      - \".github/workflows/wheels.yml\"\n      - \"homeassistant/package_constraints.txt\"\n      - \"requirements_all.txt\"\n      - \"requirements.txt\"\n      - \"script/gen_requirements_all.py\"\n\nenv:\n  DEFAULT_PYTHON: \"3.12\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref_name}}\n  cancel-in-progress: true\n\njobs:\n  init:\n    name: Initialize wheels builder\n    if: github.repository_owner == 'home-assistant'\n    runs-on: ubuntu-latest\n    outputs:\n      architectures: ${{ steps.info.outputs.architectures }}\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        id: python\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n          check-latest: true\n\n      - name: Create Python virtual environment\n        run: |\n          python -m venv venv\n          . venv/bin/activate\n          python --version\n          pip install \"$(grep '^uv' < requirements_test.txt)\"\n          uv pip install -r requirements.txt\n\n      - name: Get information\n        id: info\n        uses: home-assistant/actions/helpers/info@master\n\n      - name: Create requirements_diff file\n        run: |\n          if [[ ${{ github.event_name }} =~ (schedule|workflow_dispatch) ]]; then\n            touch requirements_diff.txt\n          else\n            curl -s -o requirements_diff.txt https://raw.githubusercontent.com/home-assistant/core/master/requirements.txt\n          fi\n\n      - name: Write env-file\n        run: |\n          (\n            echo \"GRPC_BUILD_WITH_BORING_SSL_ASM=false\"\n            echo \"GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true\"\n            echo \"GRPC_PYTHON_BUILD_WITH_CYTHON=true\"\n            echo \"GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=true\"\n            echo \"GRPC_PYTHON_LDFLAGS=-lpthread -Wl,-wrap,memcpy -static-libgcc\"\n\n            # Fix out of memory issues with rust\n            echo \"CARGO_NET_GIT_FETCH_WITH_CLI=true\"\n\n            # OpenCV headless installation\n            echo \"CI_BUILD=1\"\n            echo \"ENABLE_HEADLESS=1\"\n\n            # Use C-Extension for SQLAlchemy\n            echo \"REQUIRE_SQLALCHEMY_CEXT=1\"\n          ) > .env_file\n\n      - name: Upload env_file\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: env_file\n          path: ./.env_file\n          overwrite: true\n\n      - name: Upload requirements_diff\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: requirements_diff\n          path: ./requirements_diff.txt\n          overwrite: true\n\n      - name: Generate requirements\n        run: |\n          . venv/bin/activate\n          python -m script.gen_requirements_all ci\n\n      - name: Upload requirements_all_wheels\n        uses: actions/upload-artifact@v4.3.3\n        with:\n          name: requirements_all_wheels\n          path: ./requirements_all_wheels_*.txt\n\n  core:\n    name: Build Core wheels ${{ matrix.abi }} for ${{ matrix.arch }} (musllinux_1_2)\n    if: github.repository_owner == 'home-assistant'\n    needs: init\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        abi: [\"cp312\"]\n        arch: ${{ fromJson(needs.init.outputs.architectures) }}\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Download env_file\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: env_file\n\n      - name: Download requirements_diff\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: requirements_diff\n\n      - name: Build wheels\n        uses: home-assistant/wheels@2024.01.0\n        with:\n          abi: ${{ matrix.abi }}\n          tag: musllinux_1_2\n          arch: ${{ matrix.arch }}\n          wheels-key: ${{ secrets.WHEELS_KEY }}\n          env-file: true\n          apk: \"libffi-dev;openssl-dev;yaml-dev;nasm\"\n          skip-binary: aiohttp\n          constraints: \"homeassistant/package_constraints.txt\"\n          requirements-diff: \"requirements_diff.txt\"\n          requirements: \"requirements.txt\"\n\n  integrations:\n    name: Build wheels ${{ matrix.abi }} for ${{ matrix.arch }}\n    if: github.repository_owner == 'home-assistant'\n    needs: init\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        abi: [\"cp312\"]\n        arch: ${{ fromJson(needs.init.outputs.architectures) }}\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Download env_file\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: env_file\n\n      - name: Download requirements_diff\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: requirements_diff\n\n      - name: Download requirements_all_wheels\n        uses: actions/download-artifact@v4.1.7\n        with:\n          name: requirements_all_wheels\n\n      - name: Split requirements all\n        run: |\n          # We split requirements all into multiple files.\n          # This is to prevent the build from running out of memory when\n          # resolving packages on 32-bits systems (like armhf, armv7).\n\n          split -l $(expr $(expr $(cat requirements_all.txt | wc -l) + 1) / 3) requirements_all_wheels_${{ matrix.arch }}.txt requirements_all.txt\n\n      - name: Create requirements for cython<3\n        run: |\n          # Some dependencies still require 'cython<3'\n          # and don't yet use isolated build environments.\n          # Build these first.\n          # grpcio: https://github.com/grpc/grpc/issues/33918\n          # pydantic: https://github.com/pydantic/pydantic/issues/7689\n\n          touch requirements_old-cython.txt\n          cat homeassistant/package_constraints.txt | grep 'grpcio==' >> requirements_old-cython.txt\n          cat homeassistant/package_constraints.txt | grep 'pydantic==' >> requirements_old-cython.txt\n\n      - name: Adjust build env\n        run: |\n          if [ \"${{ matrix.arch }}\" = \"i386\" ]; then\n            echo \"NPY_DISABLE_SVML=1\" >> .env_file\n          fi\n\n          # Do not pin numpy in wheels building\n          sed -i \"/numpy/d\" homeassistant/package_constraints.txt\n\n      - name: Build wheels (old cython)\n        uses: home-assistant/wheels@2024.01.0\n        with:\n          abi: ${{ matrix.abi }}\n          tag: musllinux_1_2\n          arch: ${{ matrix.arch }}\n          wheels-key: ${{ secrets.WHEELS_KEY }}\n          env-file: true\n          apk: \"bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev;yaml-dev;openblas-dev;fftw-dev;lapack-dev;gfortran;blas-dev;eigen-dev;freetype-dev;glew-dev;harfbuzz-dev;hdf5-dev;libdc1394-dev;libtbb-dev;mesa-dev;openexr-dev;openjpeg-dev;uchardet-dev\"\n          skip-binary: aiohttp;charset-normalizer;grpcio;SQLAlchemy;protobuf;pydantic\n          constraints: \"homeassistant/package_constraints.txt\"\n          requirements-diff: \"requirements_diff.txt\"\n          requirements: \"requirements_old-cython.txt\"\n          pip: \"'cython<3'\"\n\n      - name: Build wheels (part 1)\n        uses: home-assistant/wheels@2024.01.0\n        with:\n          abi: ${{ matrix.abi }}\n          tag: musllinux_1_2\n          arch: ${{ matrix.arch }}\n          wheels-key: ${{ secrets.WHEELS_KEY }}\n          env-file: true\n          apk: \"bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev;yaml-dev;openblas-dev;fftw-dev;lapack-dev;gfortran;blas-dev;eigen-dev;freetype-dev;glew-dev;harfbuzz-dev;hdf5-dev;libdc1394-dev;libtbb-dev;mesa-dev;openexr-dev;openjpeg-dev;uchardet-dev;nasm\"\n          skip-binary: aiohttp;charset-normalizer;grpcio;SQLAlchemy;protobuf;pydantic\n          constraints: \"homeassistant/package_constraints.txt\"\n          requirements-diff: \"requirements_diff.txt\"\n          requirements: \"requirements_all.txtaa\"\n\n      - name: Build wheels (part 2)\n        uses: home-assistant/wheels@2024.01.0\n        with:\n          abi: ${{ matrix.abi }}\n          tag: musllinux_1_2\n          arch: ${{ matrix.arch }}\n          wheels-key: ${{ secrets.WHEELS_KEY }}\n          env-file: true\n          apk: \"bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev;yaml-dev;openblas-dev;fftw-dev;lapack-dev;gfortran;blas-dev;eigen-dev;freetype-dev;glew-dev;harfbuzz-dev;hdf5-dev;libdc1394-dev;libtbb-dev;mesa-dev;openexr-dev;openjpeg-dev;uchardet-dev;nasm\"\n          skip-binary: aiohttp;charset-normalizer;grpcio;SQLAlchemy;protobuf;pydantic\n          constraints: \"homeassistant/package_constraints.txt\"\n          requirements-diff: \"requirements_diff.txt\"\n          requirements: \"requirements_all.txtab\"\n\n      - name: Build wheels (part 3)\n        uses: home-assistant/wheels@2024.01.0\n        with:\n          abi: ${{ matrix.abi }}\n          tag: musllinux_1_2\n          arch: ${{ matrix.arch }}\n          wheels-key: ${{ secrets.WHEELS_KEY }}\n          env-file: true\n          apk: \"bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev;yaml-dev;openblas-dev;fftw-dev;lapack-dev;gfortran;blas-dev;eigen-dev;freetype-dev;glew-dev;harfbuzz-dev;hdf5-dev;libdc1394-dev;libtbb-dev;mesa-dev;openexr-dev;openjpeg-dev;uchardet-dev;nasm\"\n          skip-binary: aiohttp;charset-normalizer;grpcio;SQLAlchemy;protobuf;pydantic\n          constraints: \"homeassistant/package_constraints.txt\"\n          requirements-diff: \"requirements_diff.txt\"\n          requirements: \"requirements_all.txtac\"\n", "state": "active", "repository": "home-assistant/core"}
{"mined_at": "2024-07-15T18:37:16.934233", "created_at": "2022-09-21T18:35:26+02:00", "updated_at": "2022-09-21T18:35:26+02:00", "name": "Codespaces Prebuilds", "path": "dynamic/codespaces/create_codespaces_prebuilds", "contents": null, "state": "active", "repository": "home-assistant/core"}
{"mined_at": "2024-07-15T18:37:17.968012", "created_at": "2023-02-06T15:07:02+01:00", "updated_at": "2023-02-06T15:07:02+01:00", "name": "Translations", "path": ".github/workflows/translations.yml", "contents": "name: Translations\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - dev\n    paths:\n      - \"**strings.json\"\n\nenv:\n  DEFAULT_PYTHON: \"3.12\"\n\njobs:\n  upload:\n    name: Upload\n    if: github.repository_owner == 'home-assistant'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4.1.7\n\n      - name: Set up Python ${{ env.DEFAULT_PYTHON }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ env.DEFAULT_PYTHON }}\n\n      - name: Upload Translations\n        run: |\n          export LOKALISE_TOKEN=\"${{ secrets.LOKALISE_TOKEN }}\"\n          python3 -m script.translations upload\n", "state": "active", "repository": "home-assistant/core"}
{"mined_at": "2024-07-15T18:37:19.177511", "created_at": "2023-10-19T00:33:07+02:00", "updated_at": "2023-10-19T08:56:35+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\n# yamllint disable-line rule:truthy\non:\n  schedule:\n    - cron: \"30 18 * * 4\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    timeout-minutes: 360\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    steps:\n      - name: Check out code from GitHub\n        uses: actions/checkout@v4.1.7\n\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v3.25.10\n        with:\n          languages: python\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v3.25.10\n        with:\n          category: \"/language:python\"\n", "state": "active", "repository": "home-assistant/core"}
{"mined_at": "2024-07-15T18:37:21.180845", "created_at": "2024-07-11T17:57:57+02:00", "updated_at": "2024-07-11T17:57:57+02:00", "name": "integration_test", "path": ".github/workflows/_integration_test.yml", "contents": null, "state": "active", "repository": "chatchat-space/Langchain-Chatchat"}
{"mined_at": "2024-07-15T18:37:22.290441", "created_at": "2024-06-20T17:09:29+02:00", "updated_at": "2024-06-20T17:09:29+02:00", "name": "release", "path": ".github/workflows/_release.yml", "contents": "name: release\nrun-name: Release ${{ inputs.working-directory }} by @${{ github.actor }}\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        description: \"From which folder this pipeline executes\"\n  workflow_dispatch:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        default: './libs/model-providers'\n        description: \"From which folder this pipeline executes\"\nenv:\n  PYTHON_VERSION: \"3.8\"\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  build:\n    if: github.ref == 'refs/heads/master'\n    environment: Scheduled testing\n    runs-on: ubuntu-latest\n\n    outputs:\n      pkg-name: ${{ steps.check-version.outputs.pkg-name }}\n      version: ${{ steps.check-version.outputs.version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: release\n\n      # We want to keep this build stage *separate* from the release stage,\n      # so that there's no sharing of permissions between them.\n      # The release stage has trusted publishing and GitHub repo contents write access,\n      # and we want to keep the scope of that access limited just to the release job.\n      # Otherwise, a malicious `build` step (e.g. via a compromised dependency)\n      # could get access to our GitHub or PyPI credentials.\n      #\n      # Per the trusted publishing GitHub Action:\n      # > It is strongly advised to separate jobs for building [...]\n      # > from the publish job.\n      # https://github.com/pypa/gh-action-pypi-publish#non-goals\n      - name: Build project for distribution\n        run: poetry build\n        working-directory: ${{ inputs.working-directory }}\n\n      - name: Upload build\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Check Version\n        id: check-version\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          echo pkg-name=\"$(poetry version | cut -d ' ' -f 1)\" >> $GITHUB_OUTPUT\n          echo version=\"$(poetry version --short)\" >> $GITHUB_OUTPUT\n\n  test-pypi-publish:\n    needs:\n      - build\n    uses:\n      ./.github/workflows/_test_release.yml\n    with:\n      working-directory: ${{ inputs.working-directory }}\n    secrets: inherit\n\n  pre-release-checks:\n    needs:\n      - build\n      - test-pypi-publish\n    environment: Scheduled testing\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      # We explicitly *don't* set up caching here. This ensures our tests are\n      # maximally sensitive to catching breakage.\n      #\n      # For example, here's a way that caching can cause a falsely-passing test:\n      # - Make the langchain package manifest no longer list a dependency package\n      #   as a requirement. This means it won't be installed by `pip install`,\n      #   and attempting to use it would cause a crash.\n      # - That dependency used to be required, so it may have been cached.\n      #   When restoring the venv packages from cache, that dependency gets included.\n      # - Tests pass, because the dependency is present even though it wasn't specified.\n      # - The package is published, and it breaks on the missing dependency when\n      #   used in the real world.\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n\n      - name: Import published package\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        env:\n          PKG_NAME: ${{ needs.build.outputs.pkg-name }}\n          VERSION: ${{ needs.build.outputs.version }}\n        # Here we use:\n        # - The default regular PyPI index as the *primary* index, meaning\n        #   that it takes priority (https://pypi.org/simple)\n        # - The test PyPI index as an extra index, so that any dependencies that\n        #   are not found on test PyPI can be resolved and installed anyway.\n        #   (https://test.pypi.org/simple). This will include the PKG_NAME==VERSION\n        #   package because VERSION will not have been uploaded to regular PyPI yet.\n        # - attempt install again after 5 seconds if it fails because there is\n        #   sometimes a delay in availability on test pypi\n        run: |\n          poetry run pip install \\\n            --extra-index-url https://test.pypi.org/simple/ \\\n            \"$PKG_NAME==$VERSION\" || \\\n          ( \\\n            sleep 5 && \\\n            poetry run pip install \\\n              --extra-index-url https://test.pypi.org/simple/ \\\n              \"$PKG_NAME==$VERSION\" \\\n          )\n\n          # Replace all dashes in the package name with underscores,\n          # since that's how Python imports packages with dashes in the name.\n          IMPORT_NAME=\"$(echo \"$PKG_NAME\" | sed s/-/_/g)\"\n\n          poetry run python -c \"import $IMPORT_NAME; print(dir($IMPORT_NAME))\"\n\n      - name: Import test dependencies\n        run: poetry install --with test\n        working-directory: ${{ inputs.working-directory }}\n\n      # Overwrite the local version of the package with the test PyPI version.\n      - name: Import published package (again)\n        working-directory: ${{ inputs.working-directory }}\n        shell: bash\n        env:\n          PKG_NAME: ${{ needs.build.outputs.pkg-name }}\n          VERSION: ${{ needs.build.outputs.version }}\n        run: |\n          poetry run pip install \\\n            --extra-index-url https://test.pypi.org/simple/ \\\n            \"$PKG_NAME==$VERSION\"\n\n      - name: Run unit tests\n        run: make tests\n        env:\n          ZHIPUAI_API_KEY: ${{ secrets.ZHIPUAI_API_KEY }}\n          ZHIPUAI_BASE_URL: ${{ secrets.ZHIPUAI_BASE_URL }}\n        working-directory: ${{ inputs.working-directory }}\n\n#      - name: Run integration tests\n#        env:\n#          ZHIPUAI_API_KEY: ${{ secrets.ZHIPUAI_API_KEY }}\n#          ZHIPUAI_BASE_URL: ${{ secrets.ZHIPUAI_BASE_URL }}\n#        run: make integration_tests\n#        working-directory: ${{ inputs.working-directory }}\n\n  publish:\n    needs:\n      - build\n      - test-pypi-publish\n      - pre-release-checks\n    environment: Scheduled testing\n    runs-on: ubuntu-latest\n\n\n    defaults:\n      run:\n        working-directory: ${{ inputs.working-directory }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: release\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: ${{ inputs.working-directory }}/dist/\n          verbose: true\n          print-hash: true\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n          # We overwrite any existing distributions with the same name and version.\n          # This is *only for CI use* and is *extremely dangerous* otherwise!\n          # https://github.com/pypa/gh-action-pypi-publish#tolerating-release-package-file-duplicates\n#          skip-existing: true\n\n  mark-release:\n    needs:\n      - build\n      - test-pypi-publish\n      - pre-release-checks\n      - publish\n    environment: Scheduled testing\n    runs-on: ubuntu-latest\n    permissions:\n      # This permission is needed by `ncipollo/release-action` to\n      # create the GitHub release.\n      contents: write\n      id-token: none\n\n    defaults:\n      run:\n        working-directory: ${{ inputs.working-directory }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: release\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Create Release\n        uses: ncipollo/release-action@v1\n        if: ${{ inputs.working-directory == './chatchat-server' }}\n        with:\n          artifacts: \"dist/*\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n          draft: false\n          generateReleaseNotes: true\n          tag: v${{ needs.build.outputs.version }}\n          commit: main", "state": "active", "repository": "chatchat-space/Langchain-Chatchat"}
{"mined_at": "2024-07-15T18:37:23.318371", "created_at": "2024-07-11T17:57:57+02:00", "updated_at": "2024-07-11T17:57:57+02:00", "name": "test", "path": ".github/workflows/_test.yml", "contents": null, "state": "active", "repository": "chatchat-space/Langchain-Chatchat"}
{"mined_at": "2024-07-15T18:37:24.371417", "created_at": "2024-06-20T17:09:29+02:00", "updated_at": "2024-06-20T17:09:29+02:00", "name": "test-release", "path": ".github/workflows/_test_release.yml", "contents": "name: test-release\n\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        description: \"From which folder this pipeline executes\"\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n  PYTHON_VERSION: \"3.8\"\n\njobs:\n  build:\n    if: github.ref == 'refs/heads/master'\n    runs-on: ubuntu-latest\n\n    outputs:\n      pkg-name: ${{ steps.check-version.outputs.pkg-name }}\n      version: ${{ steps.check-version.outputs.version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: release\n\n      # We want to keep this build stage *separate* from the release stage,\n      # so that there's no sharing of permissions between them.\n      # The release stage has trusted publishing and GitHub repo contents write access,\n      # and we want to keep the scope of that access limited just to the release job.\n      # Otherwise, a malicious `build` step (e.g. via a compromised dependency)\n      # could get access to our GitHub or PyPI credentials.\n      #\n      # Per the trusted publishing GitHub Action:\n      # > It is strongly advised to separate jobs for building [...]\n      # > from the publish job.\n      # https://github.com/pypa/gh-action-pypi-publish#non-goals\n      - name: Build project for distribution\n        run: poetry build\n        working-directory: ${{ inputs.working-directory }}\n\n      - name: Upload build\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Check Version\n        id: check-version\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          echo pkg-name=\"$(poetry version | cut -d ' ' -f 1)\" >> $GITHUB_OUTPUT\n          echo version=\"$(poetry version --short)\" >> $GITHUB_OUTPUT\n\n  publish:\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    environment: Scheduled test pypi publish\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: test-dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Publish to test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n          packages-dir: ${{ inputs.working-directory }}/dist/\n          verbose: true\n          print-hash: true\n          repository-url: https://test.pypi.org/legacy/\n          # We overwrite any existing distributions with the same name and version.\n          # This is *only for CI use* and is *extremely dangerous* otherwise!\n          # https://github.com/pypa/gh-action-pypi-publish#tolerating-release-package-file-duplicates\n#          skip-existing: true\n", "state": "active", "repository": "chatchat-space/Langchain-Chatchat"}
{"mined_at": "2024-07-15T18:37:25.525276", "created_at": "2023-09-12T04:16:22+02:00", "updated_at": "2023-09-12T04:16:22+02:00", "name": "Close inactive issues", "path": ".github/workflows/close-issue.yml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"30 21 * * *\"\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v5\n        with:\n          days-before-issue-stale: 30\n          days-before-issue-close: 14\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"这个问题已经被标记为 `stale` ，因为它已经超过 30 天没有任何活动。\"\n          close-issue-message: \"这个问题已经被自动关闭，因为它被标为 `stale` 后超过 14 天没有任何活动。\"\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "chatchat-space/Langchain-Chatchat"}
{"mined_at": "2024-07-15T18:37:26.656124", "created_at": "2024-04-14T18:01:33+02:00", "updated_at": "2024-06-23T09:12:08+02:00", "name": ".github/workflows/docker-build.yaml", "path": ".github/workflows/docker-build.yaml", "contents": "#name: docker-build\n#on:\n#  push:\n#    branches:\n#      - master\n#    paths-ignore:\n#      - 'README.md'\n#      - 'README_en.md'\n#env:\n#  TZ: Asia/Shanghai\n#jobs:\n#  docker-build:\n#    runs-on: ubuntu-latest\n#    # if: github.event.pull_request.merged == true\n#    steps:\n#      - name: Optimize Disk Space\n#        uses: hugoalh/disk-space-optimizer-ghaction@v0.8.0\n#        with:\n#          operate_sudo: \"True\"\n#          general_include: \".+\"\n#          general_exclude: |-\n#            ^GCC$\n#            ^G\\+\\+$\n#            Clang\n#            LLVM\n#          docker_include: \".+\"\n#          docker_prune: \"True\"\n#          docker_clean: \"True\"\n#          apt_prune: \"True\"\n#          apt_clean: \"True\"\n#          homebrew_prune: \"True\"\n#          homebrew_clean: \"True\"\n#          npm_prune: \"True\"\n#          npm_clean: \"True\"\n#          os_swap: \"True\"\n#      - name: Remove Unnecessary Tools And Files\n#        env:\n#          DEBIAN_FRONTEND: noninteractive\n#        run: |\n#          sudo apt-get remove -y '^dotnet-.*' '^llvm-.*' 'php.*' azure-cli google-chrome-stable firefox powershell mono-devel\n#          sudo apt-get autoremove --purge -y\n#          sudo find /var/log -name \"*.gz\" -type f -delete\n#          sudo rm -rf /var/cache/apt/archives\n#          sudo rm -rf /tmp/*\n#          sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc /etc/mysql /etc/php\n#          sudo -E apt-get -y purge azure-cli* docker* ghc* zulu* hhvm* llvm* firefox* google* dotnet* aspnetcore* powershell* openjdk* adoptopenjdk* mysql* php* mongodb* moby* snap* || true\n#          sudo rm -rf /etc/apt/sources.list.d/* /usr/local/lib/android /opt/ghc /usr/share/dotnet /usr/local/graalvm /usr/local/.ghcup \\\n#          /usr/local/share/powershell /usr/local/share/chromium /usr/local/lib/node_modules\n#          sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc /etc/mysql /etc/php\n#          sudo -E apt-get -y purge azure-cli* docker* ghc* zulu* hhvm* llvm* firefox* google* dotnet* aspnetcore* powershell* openjdk* adoptopenjdk* mysql* php* mongodb* moby* snap* || true\n#          sudo -E apt-get -qq update\n#          sudo -E apt-get -qq install libfuse-dev $(curl -fsSL git.io/depends-ubuntu-2204)\n#          sudo -E apt-get -qq autoremove --purge\n#          sudo -E apt-get -qq clean\n#          sudo apt-get clean\n#          rm -rf /opt/hostedtoolcache\n#          sudo timedatectl set-timezone \"$TZ\"\n#      - name: Free Up Disk Space\n#        uses: easimon/maximize-build-space@master\n#        with:\n#          root-reserve-mb: 62464 # 给 / 预留 61GiB 空间( docker 预留)\n#          swap-size-mb: 1\n#          remove-dotnet: 'true'\n#          remove-android: 'true'\n#          remove-haskell: 'true'\n#          remove-codeql: 'true'\n#          remove-docker-images: 'true'\n#      - name: Checkout Repository\n#        uses: actions/checkout@v4\n#      - name: Get Latest Release\n#        id: get_version\n#        run: |\n#          VERSION=$(curl --silent \"https://api.github.com/repos/${{ github.repository }}/releases/latest\" | jq -r .tag_name)\n#          echo \"RELEASE_VERSION=${VERSION}\" >> $GITHUB_ENV\n#      - name: Set Image Tag\n#        id: imageTag\n#        run: echo \"::set-output name=image_tag::$RELEASE_VERSION-$(date +%Y%m%d)-$(git rev-parse --short HEAD)\"\n#      - name: Set Up QEMU\n#        uses: docker/setup-qemu-action@v2\n#      - name: Set Up Docker Buildx\n#        uses: docker/setup-buildx-action@v2\n#      - name: Clone Model\n#        run: |\n#          sudo mkdir -p $GITHUB_WORKSPACE/bge-large-zh-v1.5\n#          cd $GITHUB_WORKSPACE/bge-large-zh-v1.5\n#          sudo wget https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/main/.gitattributes &> /dev/null\n#          sudo wget https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/main/config.json &> /dev/null\n#          sudo wget https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/main/config_sentence_transformers.json &> /dev/null\n#          sudo wget https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/main/modules.json &> /dev/null\n#          sudo wget https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/main/pytorch_model.bin &> /dev/null\n#          sudo wget https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/main/sentence_bert_config.json &> /dev/null\n#          sudo wget https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/main/special_tokens_map.json &> /dev/null\n#          sudo wget https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/main/tokenizer.json &> /dev/null\n#          sudo wget https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/main/tokenizer_config.json &> /dev/null\n#          sudo wget https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/main/vocab.txt &> /dev/null\n#          sudo mkdir -p $GITHUB_WORKSPACE/bge-large-zh-v1.5/1_Pooling\n#          cd $GITHUB_WORKSPACE/bge-large-zh-v1.5/1_Pooling\n#          sudo wget https://huggingface.co/BAAI/bge-large-zh-v1.5/resolve/main/1_Pooling/config.json &> /dev/null\n#          sudo mkdir -p $GITHUB_WORKSPACE/chatglm3-6b\n#          cd $GITHUB_WORKSPACE/chatglm3-6b\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/config.json &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/configuration_chatglm.py &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/model-00001-of-00007.safetensors &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/model-00002-of-00007.safetensors &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/model-00003-of-00007.safetensors &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/model-00004-of-00007.safetensors &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/model-00005-of-00007.safetensors &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/model-00006-of-00007.safetensors &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/model-00007-of-00007.safetensors &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/model.safetensors.index.json &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/modeling_chatglm.py &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/pytorch_model.bin.index.json &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/quantization.py &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/special_tokens_map.json &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/tokenization_chatglm.py &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/tokenizer.model &> /dev/null\n#          sudo wget https://huggingface.co/THUDM/chatglm3-6b/resolve/main/tokenizer_config.json &> /dev/null\n#          du -sh $GITHUB_WORKSPACE\n#          du -sh $GITHUB_WORKSPACE/*\n#          du -sh $GITHUB_WORKSPACE/bge-large-zh-v1.5/*\n#          du -sh $GITHUB_WORKSPACE/chatglm3-6b/*\n#      - name: Show Runner Disk\n#        run: df -hT\n#      - name: Docker Build\n#        run: |\n#          docker build -t uswccr.ccs.tencentyun.com/chatchat/chatchat:${{ steps.imageTag.outputs.image_tag }} -f Dockerfile .\n#      - name: Show Images Size\n#        run: docker images\n#      - name: Login To Tencent CCR\n#        uses: docker/login-action@v2\n#        with:\n#          registry: uswccr.ccs.tencentyun.com\n#          username: ${{ secrets.CCR_REGISTRY_USERNAME }}\n#          password: ${{ secrets.CCR_REGISTRY_PASSWORD }}\n#      - name: Docker Push\n#        run: docker push uswccr.ccs.tencentyun.com/chatchat/chatchat:${{ steps.imageTag.outputs.image_tag }}\n##      - name: Login to Docker Hub\n##        uses: docker/login-action@v2\n##        with:\n##          username: ${{ secrets.DOCKERHUB_USERNAME }}\n##          password: ${{ secrets.DOCKERHUB_TOKEN }}\n#      - name: Update README_en.md\n#        run: |\n#          sed -i \"s|uswccr.ccs.tencentyun.com/chatchat/chatchat:[^ ]*|uswccr.ccs.tencentyun.com/chatchat/chatchat:${{ steps.imageTag.outputs.image_tag }}|g\" README.md\n#          sed -i \"s|uswccr.ccs.tencentyun.com/chatchat/chatchat:[^ ]*|uswccr.ccs.tencentyun.com/chatchat/chatchat:${{ steps.imageTag.outputs.image_tag }}|g\" README_en.md\n#          sed -i \"s|uswccr.ccs.tencentyun.com/chatchat/chatchat:[^ ]*|uswccr.ccs.tencentyun.com/chatchat/chatchat:${{ steps.imageTag.outputs.image_tag }}|g\" README_ja.md\n#          git config --local user.email \"action@github.com\"\n#          git config --local user.name \"GitHub Action\"\n#          git commit -am \"feat:update docker image:tag\"\n#      - name: Push README_en.md\n#        uses: ad-m/github-push-action@master\n#        with:\n#          github_token: ${{ secrets.GH_PAT }}\n#          branch: ${{ github.ref }}", "state": "active", "repository": "chatchat-space/Langchain-Chatchat"}
{"mined_at": "2024-07-15T18:37:28.906636", "created_at": "2023-11-22T21:31:03+01:00", "updated_at": "2024-03-15T15:20:39+01:00", "name": "Build and Deploy Vane site", "path": ".github/workflows/build-site.yml", "contents": "# This is deploying the latest commits on develop to develop documentation\nname: Build and Deploy Vane site\n\non:\n  push:\n    branches:\n      - develop\n  workflow_dispatch:\n\njobs:\n  build_and_deploy_job:\n    runs-on: ubuntu-latest\n    name: Build and Deploy Job\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 \n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n\n      - name: Setup Git config\n        run: |\n          git config --global user.name 'github-actions[bot]'\n          git config --global user.email 'github-actions[bot]@users.noreply.github.com'\n\n      ##### Install required Python Modules and build the website #####\n      - name: 'Build mkdocs content and deploy to gh-pages to develop'\n        run: |\n            pip install -r docs/requirements.txt\n            mike deploy --push develop", "state": "active", "repository": "aristanetworks/vane"}
{"mined_at": "2024-07-15T18:37:30.134656", "created_at": "2023-08-07T17:57:43+02:00", "updated_at": "2023-10-19T01:13:55+02:00", "name": "cvp-extension-builder", "path": ".github/workflows/cvp-extension-builder.yml", "contents": "name: cvp-extension-builder\nrun-name: Build CVP extension RPM package\n\n# Build the CVP extension RPM package when a pull request is merged to main\n# and save the RPM package in the artifacts of the workflow\n\non:\n  # This is the default trigger, to run when a pull request on the 'main' branch is closed\n  pull_request:\n    branches:\n      - main\n    types:\n      - closed\n\n  # For testing, put the name of the testing branch here, and remove branch names afterwards\n  push:\n    branches:\n      - example-rpm-package-testing-branch\n\n  # Trigger a build manually from the browser interface\n  workflow_dispatch:\n\n# Variables\nenv:\n  CVP_BUILD_IMAGE: ghcr.io/aristanetworks/vane-cvp-build:latest\n  CVP_IMAGE: vane-cvp\n  CVP_IMAGE_FILE: vane-cvp.tar.gz\n\n# Job definitions\njobs:\n\n  # Create the container we use to build the RPM\n  #   This is a Centos container to match the CVP environment\n  create_centos_build_container:\n\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build the Centos container for creating the RPM images and push to GitHub container registry\n        run: |\n          docker build -t $CVP_BUILD_IMAGE -f Dockerfile.build-CVP . --build-arg UID=$(id -u) --build-arg GID=$(id -g)\n          docker push $CVP_BUILD_IMAGE\n\n  # Create the container that will be running in the CVP environment\n  #   This is a minimal container with Vane and its requirements installed\n  create_cvp_container:\n\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Build the CVP Vane container and save it as a tar.gz file\n        run: |\n          docker build -t $CVP_IMAGE -f Dockerfile.CVP . --network=host\n          docker save $CVP_IMAGE | gzip > $CVP_IMAGE_FILE\n\n      - name: Upload the CVP Vane container tar.gz artifact for use in the next job\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ env.CVP_IMAGE_FILE }}\n          path: ${{ env.CVP_IMAGE_FILE }}\n          retention-days: 2\n\n  # Create the RPM package and upload the package as an artifact\n  package_cvp_container:\n\n    # This job depends on the previous two containers being built\n    needs: [create_centos_build_container, create_cvp_container]\n\n    runs-on: ubuntu-latest\n    container:\n      # Use the previously built vane-cvp-build container\n      # We can't use the CVP_BUILD_IMAGE variable here, because the context is not\n      # available in the \"job\" scope\n      image: ghcr.io/aristanetworks/vane-cvp-build:latest\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v3\n\n      - name: Download the CVP Vane image file artifact we created in the previous job\n        uses: actions/download-artifact@v3\n        with:\n          name: ${{ env.CVP_IMAGE_FILE }}\n\n      - name: Build the CVP rpm package\n        run: |\n          ls -la\n          make rpm-cvp\n\n      - name: Create a vane-cvp distribution directory based on the version being built\n        run: |\n          #\n          # Get the version string from the pyproject.toml file\n          #\n          version_str=$(grep ^version pyproject.toml | awk -F \" \" '{print $NF}' | tr -d '\"')\n          #\n          # Get a timestamp for the build (no colon in the time - looks like a port number and\n          # causes problems later)\n          #\n          timestamp=$(date +%Y-%m-%d_%H%M)\n          #\n          # If not on the main or develop branch, append a provisional tag to the distribution name\n          #\n          if [[ \"${{github.ref}}\" =~ \"main\" || \"${{github.ref}}\" =~ \"develop\" ]]; then\n            tag=\"-${timestamp}\"\n          else\n            tag=\"-${timestamp}-provisional\"\n          fi\n          #\n          # Create the distribution directory\n          #\n          dist_name=\"vane-cvp-${version_str}${tag}\"\n          mkdir ${dist_name}\n          #\n          # List the current directory to show the newly created directory\n          #\n          ls -la\n          #\n          # Put the dist_name in the environment as DIST_NAME\n          #\n          echo \"DIST_NAME=${dist_name}\" >> $GITHUB_ENV\n\n      - name: Copy the installation scripts and the rpm into the distribution directory\n        run: |\n          cp resources/vane-cvp-*.sh ${DIST_NAME}/\n          cp rpms/*.rpm ${DIST_NAME}/\n\n      - name: Archive the distribution directory\n        run: |\n          tar czvf ${DIST_NAME}.tgz ${DIST_NAME}\n\n      - name: Save the rpm package as an artifact in GitHub\n        # 'name' is the artifact name in GitHub\n        # 'path' is the rpm package to be saved\n        uses: actions/upload-artifact@v3\n        with:\n          name: ${{ env.DIST_NAME }}-rpm\n          path: ${{ env.DIST_NAME }}.tgz\n", "state": "active", "repository": "aristanetworks/vane"}
{"mined_at": "2024-07-15T18:37:31.263067", "created_at": "2023-02-28T00:05:44+01:00", "updated_at": "2023-03-07T02:22:20+01:00", "name": "development-ci", "path": ".github/workflows/development-ci.yml", "contents": "name: development-ci\nrun-name: ${{ github.actor }} CI development run\n\non:\n  push:\n    # Do not run when merging into develop or master\n    branches-ignore:\n      - 'develop'\n      - 'main'\n\nenv:\n  POETRY_VERSION: 1.5.1\n\njobs:\n  validate:\n    # Run validation checks on the code that has been changed,\n    # including checking formatting with Black, and linting checks\n    # with flake8 and pylint. Branches cannot be merged into develop\n    # unless the validate checks all pass.\n\n    runs-on: ubuntu-latest\n\n    steps:\n\n      - name: Check out the repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Install Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n          # architecture: 'x64' # The default\n\n      - name: Display the Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      # - name: Display github context information\n      #   # Prints all the github.<xxx> variables in the workflow log.\n      #   # Uncomment if needed for reference\n      #   env:\n      #     GITHUB_CONTEXT: ${{ toJson(github) }}\n      #   run: echo \"$GITHUB_CONTEXT\"\n\n      - name: Install Vane and dependencies\n        # Use poetry to install Vane and its dependencies\n        #   Later stages that require Vane or dependencies must activate the virtual environment\n        #   so we export `source $(poetry env info --path)/bin/activate` as env.poetry_home and\n        #   eval that value in the stages that need it\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry==$POETRY_VERSION\n          poetry install\n          echo \"poetry_home=source $(poetry env info --path)/bin/activate\" >> $GITHUB_ENV\n\n      - name: Get fork point\n        id: forkpoint\n        # List all the commits in branch yet to be applied to develop (git\n        # cherry), then take the first one (head) and pull the commit hash from\n        # the line (awk), and request the commit hash before that one (git show\n        # ... <hash>^1). This gives us the fork point hash. We need to check\n        # out the develop branch before doing this, but use \"fetch\" so we do\n        # not change to the develop branch.\n        run: |\n          git fetch origin develop:develop\n          echo \"fork=$(git show $(git cherry -v develop | head -n 1 | awk '{ print $2 }')^1 --format=%H | head -n 1)\" >> $GITHUB_ENV\n\n      - name: Get changed files\n        id: changes\n        # Adds all changed files as env.all, and changed python files as env.python\n        run: |\n          echo \"Fork point hash: ${{ env.fork }}\"\n\n          echo -e \"\\n\"\n          echo \"All changed files:\"\n          git diff --name-only --diff-filter=ACMRT ${{ env.fork }} ${{ github.sha }} || echo '<none>'\n          echo \"all=$(git diff --name-only --diff-filter=ACMRT ${{ env.fork }} ${{ github.sha }} | xargs)\" >> $GITHUB_ENV\n\n          echo -e \"\\n\"\n          echo \"Changed python files:\"\n          git diff --name-only --diff-filter=ACMRT ${{ env.fork }} ${{ github.sha }} | grep .py$ || echo '<none>'\n          echo \"python=$(git diff --name-only --diff-filter=ACMRT ${{ env.fork }} ${{ github.sha }} | grep .py$ | xargs)\" >> $GITHUB_ENV\n\n      # Run Black on the whole repo\n      - name: Run Black to check the code for formatting problems\n        if: ${{ env.python }}\n        # If any code needs reformatting, black returns an exit code of 1,\n        # which fails the action\n        run: |\n          eval \"${{ env.poetry_home }}\"\n          black --check ${{ env.python }}\n\n      # Run flake8 on the vane and tests directories\n      - name: Lint with flake8\n        if: ${{ env.python }}\n        run: |\n          eval \"${{ env.poetry_home }}\"\n          flake8 ${{ env.python }}\n\n      # Run pylint on the vane and tests directories\n      - name: Lint with pylint\n        if: ${{ env.python }}\n        run: |\n          eval \"${{ env.poetry_home }}\"\n          pylint ${{ env.python }}\n\n  pip-install:\n    # Validate that the pip installation of Vane works properly\n\n    runs-on: ubuntu-latest\n\n    steps:\n\n      - name: Check out the repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Install Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n          # architecture: 'x64' # The default\n\n      - name: Display the Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Install Vane and dependencies using pip\n        # Install Vane using pip\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n\n      - name: Check the vane name reported with python setup.py\n        # `python setup.py --name` should return \"vane\"\n        run: |\n          vane_name=$(python setup.py --name)\n          if [[ ! \"$vane_name\" =~ \"vane\" ]]; then\n            echo \"Invalid name reported for Vane application: expected 'vane', received '$vane_name'\"\n            exit 1\n          fi\n\n      - name: Check the vane version reported with python setup.py\n        # `python setup.py --version` should return the same version that is in pyproject.toml\n        run: |\n          version_str=$(grep ^version pyproject.toml | awk -F \" \" '{print $NF}' | tr -d '\"')\n          vane_version=$(python setup.py --version)\n          if [[ ! \"$vane_version\" =~ \"$version_str\" ]]; then\n            echo \"Invalid version reported for Vane application: expected '$version_str', received '$vane_version'\"\n            exit 1\n          else\n            echo \"Command returned version '$vane_version'\"\n          fi\n\n      - name: Check the output of the Vane help command\n        # Check the output of `vane --help`\n        #   Look for substrings of the help text in the output of `vane --help` and report the\n        #   first substring that is not found\n        run: |\n          substrings=(\"usage: vane\" \"--version\" \"--definitions-file\" \"--duts-file\" \"--generate-duts-file\" \"--generate-test-steps\" \"--markers\" \"--nrfu\")\n          vane_help=$(vane --help)\n          for substr in \"${substrings[@]}\"; do\n            if [[ ! \"$vane_help\" =~ \"$substr\" ]]; then\n              echo \"Substring '$substr' missing from `vane --help`\"\n              exit 1\n            fi\n          done\n\n      - name: Run the pytest module to verify the vane unitttests load correctly\n        # Running the pytest command below should succeed\n        run: |\n          python -m pytest --junit-xml=junit.xml\n\n  unittest:\n    # Run the Vane unittests\n    #   If the tests pass, coverage will be calculated and reported to the output to be used\n    #   by a later job. If the tests fail, the job will fail, coverage will not be calculated,\n    #   and the coverage job will not run.\n\n    runs-on: ubuntu-latest\n\n    outputs:\n      coverage: ${{ steps.coverage.outputs.coverage }}\n\n    steps:\n\n      - name: Check out the repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Install Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n          # architecture: 'x64' # The default\n\n      - name: Display the Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Install dependencies\n        # Use poetry to install Vane and its dependencies\n        #   Later stages that require Vane or dependencies must activate the virtual environment\n        #   so we export `source $(poetry env info --path)/bin/activate` as env.poetry_home and\n        #   eval that value in the stages that need it\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry==$POETRY_VERSION\n          poetry install\n          echo \"poetry_home=source $(poetry env info --path)/bin/activate\" >> $GITHUB_ENV\n\n      - name: Run the unittests\n        # Install vane in \"editable/developer\" mode, so the executable is using\n        # the source files and coverage can monitor the proper directory\n        #   If the unit tests fail, we do not continue on to get the coverage\n        run: |\n          eval \"${{ env.poetry_home }}\"\n          mkdir -p $PWD/tests/unittests/fixtures/reports/results\n          pytest --cov-report term-missing --cov=$PWD/vane $PWD/tests/unittests\n\n      - name: Calculate the coverage\n        # Get the coverage score and send it to the GITHUB_OUTPUT for the next job to use\n        id: coverage\n        run: |\n          eval \"${{ env.poetry_home }}\"\n          cov_score=$(coverage report | awk '$1 == \"TOTAL\" {print $NF+0}')\n          echo -e \"\\n----------------\"\n          echo \"Coverage is ${cov_score}%\"\n          echo -e \"----------------\\n\"\n          echo \"coverage=${cov_score}\" >> $GITHUB_OUTPUT\n\n  coverage:\n    # Report the unittest coverage\n    # Test coverage is compared with a 90% target goal and the check will fail\n    # if below that point.\n\n    runs-on: ubuntu-latest\n\n    needs: unittest\n\n    steps:\n\n      - name: Report the coverage\n        # Get the coverage score from the previous unit tests and\n        # return success if the value is >= 90\n        run: |\n          eval \"${{ env.poetry_home }}\"\n          cov_score=${{ needs.unittest.outputs.coverage }}\n          echo -e \"\\n----------------\"\n          echo \"Coverage is ${cov_score}%\"\n          echo -e \"----------------\\n\"\n          [ \"${cov_score}\" -ge \"90\" ]\n", "state": "active", "repository": "aristanetworks/vane"}
{"mined_at": "2024-07-15T18:37:32.382271", "created_at": "2024-01-23T08:40:41+01:00", "updated_at": "2024-03-15T15:20:39+01:00", "name": "Documentation Testing", "path": ".github/workflows/documentation-testing.yml", "contents": "name: Documentation Testing\n\n# Ensure that documentation is being build and deployed currently\n# after the most recent PR\n\non:\n  pull_request:\n\njobs:\n\n  pre_commit:\n    name: Run pre-commit validation hooks\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v4\n    - uses: pre-commit/action@v3.0.0\n\n  test_build:\n    name: Build site with no warnings\n    needs: pre_commit\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n\n      ##### Install required Python Modules and build the website #####\n      - run: pip install -r docs/requirements.txt\n      - run: mkdocs build --strict", "state": "active", "repository": "aristanetworks/vane"}
{"mined_at": "2024-07-15T18:37:33.615966", "created_at": "2023-12-04T18:14:05+01:00", "updated_at": "2023-12-04T18:14:05+01:00", "name": ".github/workflows/markdown-lint.yml", "path": ".github/workflows/markdown-lint.yml", "contents": null, "state": "active", "repository": "aristanetworks/vane"}
{"mined_at": "2024-07-15T18:37:34.849262", "created_at": "2023-03-24T20:27:51+01:00", "updated_at": "2023-03-24T20:27:51+01:00", "name": "pull-request-merged-ci", "path": ".github/workflows/pull-request-merged-ci.yml", "contents": "name: pull-request-merged-ci\nrun-name: Pull request merge processing\n\n# Run the unittests when a pull request is merged, and post the coverage\n# results badge to the repo page\n\non:\n  pull_request:\n    branches:\n      - develop\n    types:\n      - closed\n\nenv:\n  POETRY_VERSION: 1.5.1\n\njobs:\n  coverage:\n    # Run the Vane unittests and get the total coverage, updating the\n    # coverage badge if necessary\n\n    # Only run the tests when the pull request is merged\n    # A closed (canceled) PR does not need to be processed\n    if: github.event.pull_request.merged == true\n\n    runs-on: ubuntu-latest\n\n    steps:\n\n      - name: Check out the repository\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Install Python 3.9\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.9'\n          # architecture: 'x64' # The default\n\n      - name: Display the Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      # - name: Display github context information\n      #   # Prints all the github.<xxx> variables in the workflow log.\n      #   # Uncomment if needed for reference\n      #   env:\n      #     GITHUB_CONTEXT: ${{ toJson(github) }}\n      #   run: echo \"$GITHUB_CONTEXT\"\n\n      - name: Install Vane and dependencies\n        # Use poetry to install Vane and its dependencies\n        #   Later stages that require Vane or dependencies must activate the virtual environment\n        #   so we export `source $(poetry env info --path)/bin/activate` as env.poetry_home and\n        #   eval that value in the stages that need it\n        run: |\n          python -m pip install --upgrade pip\n          pip install poetry==$POETRY_VERSION\n          poetry install\n          echo \"poetry_home=source $(poetry env info --path)/bin/activate\" >> $GITHUB_ENV\n\n      - name: Run the unittests\n        # Install vane in \"editable/developer\" mode, so the executable is using\n        # the source files and coverage can monitor the proper directory\n        continue-on-error: true\n        run: |\n          eval \"${{ env.poetry_home }}\"\n          mkdir -p $PWD/tests/unittests/fixtures/reports/results\n          pytest --cov-report term-missing --cov=$PWD/vane $PWD/tests/unittests\n\n      - name: Report the coverage\n        # Get the coverage score and create the coverage badge\n        # Coverage score is for reference only\n        run: |\n          eval \"${{ env.poetry_home }}\"\n          cov_score=$(coverage report | awk '$1 == \"TOTAL\" {print $NF+0}')\n          echo -e \"\\n----------------\"\n          echo \"Coverage is ${cov_score}%\"\n          echo -e \"----------------\\n\"\n          coverage-badge -f -o coverage.svg\n\n      - name: Commit the coverage badge\n        # Commit the coverage badge file to the coverage-badge branch, if it was created\n        #   This process empties out the repo except for the README and the coverage badge file,\n        #   then copies the README from the coverage-badge branche over the current README. Then\n        #   a commit is made, but not pushed to the current branch but pushed to the coverage-badge\n        #   branch instead. Since we're working in a container, all the changes are discarded and do\n        #   not affect develop or the branch that was merged.\n        run: |\n          git status || true\n          git config --local user.name actions-user\n          git config --local user.email \"actions@github.com\"\n          #\n          # List the files in the repo\n          #\n          ls -la\n          #\n          # Show the current repo status\n          #\n          git status\n          #\n          # Remove all the files in the repo except the .git folder,\n          # the README file, and the coverage file. 'or' the command\n          # to true since it will fail when trying to delete '.' and '..'\n          #\n          shopt -s dotglob extglob\n          rm -rf !(.git|README.md|coverage.svg) || true\n          #\n          if [ $(git ls-files --others | grep coverage.svg ) ] ; then\n            echo \"Updating coverage badge\"\n            # Copy the version of README from the coverage-badge branch\n            curl https://raw.githubusercontent.com/aristanetworks/vane/coverage-badge/README.md -o README.md\n            # Add and commit all the changes we just made, so we end up committing\n            # just the README and the coverage badge to the coverage-badge branch\n            git add --all\n            git status\n            # Make the commit, but it will not be saved in GitHub on the working branch\n            git commit -am \"Updating coverage badge\"\n            # Push the commit to the coverage-badge branch (not to the working branch or develop)\n            git push -f origin ${{ github.ref }}:coverage-badge\n          fi\n", "state": "active", "repository": "aristanetworks/vane"}
{"mined_at": "2024-07-15T18:37:35.971668", "created_at": "2024-04-05T23:41:25+02:00", "updated_at": "2024-04-15T23:00:14+02:00", "name": "Tag & Release management", "path": ".github/workflows/release.yml", "contents": "name: \"Tag & Release management\"\non:\n  release:\n    types:\n      - published\n\njobs:\n  release-doc:\n    runs-on: ubuntu-latest\n    name: \"Publish documentation for release ${{github.ref_name}}\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 \n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n\n      - name: Setup Git config\n        run: |\n          git config --global user.name 'github-actions[bot]'\n          git config --global user.email 'github-actions[bot]@users.noreply.github.com'\n    \n      - name: 'Build mkdocs content to site folder'\n        run: |\n          pip install -r docs/requirements.txt\n          mike deploy --update-alias --push  ${{github.ref_name}} stable", "state": "active", "repository": "aristanetworks/vane"}
{"mined_at": "2024-07-15T18:37:37.107333", "created_at": "2023-11-22T21:37:42+01:00", "updated_at": "2023-11-22T21:37:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "aristanetworks/vane"}
{"mined_at": "2024-07-15T18:37:39.346012", "created_at": "2021-02-08T15:41:40+01:00", "updated_at": "2023-01-06T15:43:51+01:00", "name": "test-build", "path": ".github/workflows/main.yml", "contents": "name: test-build\n\non:\n  push:\n    branches:\n      - main\n      - next\n    paths:\n      - admin-frontend/**\n      - docker/**\n      - nonebot_bison/**\n      - tests/**\n      - pyproject.toml\n      - poetry.lock\n      - docker.env.prod\n      - .github/**\n  pull_request:\n    paths:\n      - admin-frontend/**\n      - docker/**\n      - nonebot_bison/**\n      - tests/**\n      - pyproject.toml\n      - poetry.lock\n      - docker.env.prod\n      - .github/**\n    types:\n      - opened\n      - synchronize\n      - reopened\n      # 以上为默认情况\n      - labeled\n      - unlabeled\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build-frontend:\n    name: Build Frontend\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Build Frontend\n        uses: ./.github/actions/build-frontend\n\n      - name: Upload dist\n        uses: actions/upload-artifact@v4\n        with:\n          name: frontend\n          path: ./admin-frontend/build/\n  test:\n    name: Smoke-test Coverage\n    if: ${{ !contains(github.event.pull_request.labels.*.name, 'all-test') }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, windows-latest, macos-latest]\n      fail-fast: false\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON_VERSION: ${{ matrix.python-version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python environment\n        uses: ./.github/actions/setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install prerequisites\n        run: poetry install\n\n      - name: Run Pytest\n        run: poetry run pytest --cov-report xml --cov=./nonebot_bison -k 'not compare and not render' -n auto\n\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: smoke-test\n          env_vars: OS,PYTHON_VERSION\n\n  test-all:\n    name: All-test Coverage\n    if: ${{ contains(github.event.pull_request.labels.*.name, 'all-test') }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        os: [ubuntu-latest, windows-latest, macos-latest]\n      fail-fast: false\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON_VERSION: ${{ matrix.python-version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python environment\n        uses: ./.github/actions/setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install prerequisites\n        run: poetry install\n\n      - name: Run Pytest\n        run: poetry run pytest --cov-report xml --cov=./nonebot_bison -k 'not compare' -n auto\n\n      - name: Upload coverage report\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: all-test\n          env_vars: OS,PYTHON_VERSION\n\n  docker-main:\n    name: Docker main\n    runs-on: ubuntu-latest\n    needs: [build-frontend, test]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download frontend files\n        uses: actions/download-artifact@v4\n        with:\n          name: frontend\n          path: ./nonebot_bison/admin_page/dist\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Test Build\n        uses: docker/build-push-action@v5\n        if: github.event_name == 'pull_request'\n        with:\n          context: .\n          file: ./docker/Dockerfile_with_frontend\n          push: false\n          load: true\n          tags: felinae98/nonebot-bison:dummy\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Test image\n        uses: ./.github/actions/test-docker\n        if: github.event_name == 'pull_request'\n        with:\n          docker-image-name: felinae98/nonebot-bison:dummy\n          wait-time: 10\n\n      - name: Login to DockerHub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Git Branch Name\n        id: git-branch-name\n        uses: EthanSK/git-branch-name-action@v1\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        if: github.event_name != 'pull_request'\n        with:\n          context: .\n          file: ./docker/Dockerfile_with_frontend\n          push: true\n          tags: felinae98/nonebot-bison:${{ env.GIT_BRANCH_NAME }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n  docker-main-sentry:\n    name: Docker main sentry\n    runs-on: ubuntu-latest\n    needs: [build-frontend, test]\n    if: github.event_name != 'pull_request'\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download frontend files\n        uses: actions/download-artifact@v4\n        with:\n          name: frontend\n          path: ./nonebot_bison/admin_page/dist\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Git Branch Name\n        id: git-branch-name\n        uses: EthanSK/git-branch-name-action@v1\n\n      - name: Login to DockerHub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./docker/Dockerfile_with_frontend_sentry\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: felinae98/nonebot-bison:${{ env.GIT_BRANCH_NAME }}-sentry\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n", "state": "active", "repository": "MountainDash/nonebot-bison"}
{"mined_at": "2024-07-15T18:37:40.412853", "created_at": "2024-02-12T03:39:18+01:00", "updated_at": "2024-02-12T03:39:18+01:00", "name": "manual-build", "path": ".github/workflows/manual-build.yaml", "contents": "name: manual-build\n\non:\n  workflow_dispatch:\n    inputs:\n      dockerTag:\n        description: \"tag name of docker image\"\n        required: true\n        type: string\n\njobs:\n  build-frontend:\n    name: Build Frontend\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Build Frontend\n        uses: ./.github/actions/build-frontend\n\n      - name: Upload dist\n        uses: actions/upload-artifact@v4\n        with:\n          name: frontend\n          path: ./admin-frontend/build/\n\n  docker-main:\n    name: Docker main\n    runs-on: ubuntu-latest\n    needs: [build-frontend]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download frontend files\n        uses: actions/download-artifact@v4\n        with:\n          name: frontend\n          path: ./src/plugins/nonebot_bison/admin_page/dist\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./docker/Dockerfile_with_frontend\n          push: true\n          tags: felinae98/nonebot-bison:${{ inputs.dockerTag }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n  docker-main-sentry:\n    name: Docker main sentry\n    runs-on: ubuntu-latest\n    needs: [build-frontend]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download frontend files\n        uses: actions/download-artifact@v4\n        with:\n          name: frontend\n          path: ./src/plugins/nonebot_bison/admin_page/dist\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./docker/Dockerfile_with_frontend_sentry\n          tags: felinae98/nonebot-bison:${{ inputs.dockerTag }}-sentry\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n", "state": "active", "repository": "MountainDash/nonebot-bison"}
{"mined_at": "2024-07-15T18:37:41.503351", "created_at": "2024-03-29T05:04:42+01:00", "updated_at": "2024-03-29T08:03:04+01:00", "name": "pydantic1-compat-test", "path": ".github/workflows/pyd1-compat.yml", "contents": "name: pydantic1-compat-test\n\non:\n  push:\n    branches:\n      - main\n      - next\n    paths:\n      - admin-frontend/**\n      - docker/**\n      - nonebot_bison/**\n      - tests/**\n      - pyproject.toml\n      - poetry.lock\n      - docker.env.prod\n      - .github/**\n  pull_request:\n    paths:\n      - admin-frontend/**\n      - docker/**\n      - nonebot_bison/**\n      - tests/**\n      - pyproject.toml\n      - poetry.lock\n      - docker.env.prod\n      - .github/**\n    types:\n      - opened\n      - synchronize\n      - reopened\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: pydantic1 test\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n        os: [ubuntu-latest]\n      fail-fast: false\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON_VERSION: ${{ matrix.python-version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python environment\n        uses: ./.github/actions/setup-python\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install prerequisites\n        run: poetry add pydantic@^1.10 && poetry install\n\n      - name: Run Pytest\n        run: poetry run pytest -k 'not compare and not render' -n auto\n", "state": "active", "repository": "MountainDash/nonebot-bison"}
{"mined_at": "2024-07-15T18:37:42.631540", "created_at": "2022-05-21T16:18:36+02:00", "updated_at": "2022-05-21T16:18:36+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  workflow_dispatch:\n  pull_request_target:\n    branches:\n      - main\n    types:\n      - closed\n\njobs:\n  update-release-drafter:\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    concurrency:\n      group: pull-request-changelog\n      cancel-in-progress: true\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: release-drafter/release-drafter@v6\n        id: release-drafter\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Update Changelog\n        uses: docker://ghcr.io/nonebot/auto-changelog:master\n        with:\n          latest_changes_position: '# Change Log\\n\\n'\n          latest_changes_title: \"## 最近更新\"\n          replace_regex: '(?<=## 最近更新\\n)[\\s\\S]*?(?=\\n## )'\n          changelog_body: ${{ steps.release-drafter.outputs.body }}\n          commit_and_push: false\n\n      - name: Commit and Push\n        run: |\n          git config user.name github-actions[bot]\n          git config user.email github-actions[bot]@users.noreply.github.com\n          git add .\n          git diff-index --quiet HEAD || git commit -m \":memo: Update changelog\"\n          git push\n", "state": "active", "repository": "MountainDash/nonebot-bison"}
{"mined_at": "2024-07-15T18:37:43.754129", "created_at": "2022-05-21T16:18:36+02:00", "updated_at": "2022-05-21T16:18:36+02:00", "name": "Trigger Release", "path": ".github/workflows/release-trigger.yml", "contents": "name: Trigger Release\n\non:\n  workflow_dispatch:\n\njobs:\n  archive:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: main\n          token: ${{ secrets.GH_PAT }}\n\n      - name: Setup Python environment\n        uses: ./.github/actions/setup-python\n\n      - run: echo \"TAG_NAME=v$(poetry version -s)\" >> $GITHUB_ENV\n\n      - name: Archive Changelog\n        uses: docker://ghcr.io/nonebot/auto-changelog:master\n        with:\n          archive_regex: '(?<=## )最近更新(?=\\n)'\n          archive_title: ${{ env.TAG_NAME }}\n          commit_and_push: false\n\n      - name: Push Tag\n        run: |\n          git config user.name github-actions[bot]\n          git config user.email github-actions[bot]@users.noreply.github.com\n          git add .\n          git commit -m \":bookmark: Release $(poetry version -s)\"\n          git tag ${{ env.TAG_NAME }}\n          git push && git push --tags\n", "state": "active", "repository": "MountainDash/nonebot-bison"}
{"mined_at": "2024-07-15T18:37:44.983548", "created_at": "2022-05-21T16:18:36+02:00", "updated_at": "2022-05-21T16:18:36+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n  build-frontend:\n    name: Build Frontend\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Build Frontend\n        uses: ./.github/actions/build-frontend\n\n      - name: Upload dist\n        uses: actions/upload-artifact@v4\n        with:\n          name: frontend\n          path: ./admin-frontend/build/\n  publish-pypi-github:\n    runs-on: ubuntu-latest\n    needs: build-frontend\n    permissions:\n      # write permission is required to create a github release\n      contents: write\n      # write permission is required for autolabeler\n      # otherwise, read permission is required at least\n      pull-requests: write\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download frontend files\n        uses: actions/download-artifact@v4\n        with:\n          name: frontend\n          path: ./nonebot_bison/admin_page/dist\n\n      - name: Setup Python environment\n        uses: ./.github/actions/setup-python\n\n      - run: |\n          echo \"TAG_NAME=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV\n\n      - uses: release-drafter/release-drafter@v6\n        with:\n          name: Release ${{ env.TAG_NAME }}\n          tag: ${{ env.TAG_NAME }}\n          publish: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Publish PyPI and Github\n        run: |\n          poetry publish --build -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} || echo \"Already pushed to pypi\"\n          gh release upload --clobber ${{ env.TAG_NAME }} dist/*\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  publish-docker:\n    runs-on: ubuntu-latest\n    needs: build-frontend\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download frontend files\n        uses: actions/download-artifact@v4\n        with:\n          name: frontend\n          path: ./nonebot_bison/admin_page/dist\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - run: |\n          echo \"TAG_NAME=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV\n\n      - name: Login to DockerHub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./docker/Dockerfile_with_frontend\n          push: true\n          tags: |\n            felinae98/nonebot-bison:latest\n            felinae98/nonebot-bison:${{ env.TAG_NAME }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Build Sentry and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./docker/Dockerfile_with_frontend_sentry\n          push: true\n          tags: |\n            felinae98/nonebot-bison:${{ env.TAG_NAME }}-sentry\n            felinae98/nonebot-bison:sentry\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n  deploy-web:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Build Docs\n        uses: ./.github/actions/build-docs\n\n      - name: Deploy to Netlify\n        uses: nwtgck/actions-netlify@v3\n        with:\n          publish-dir: \"./docs/.vuepress/dist\"\n          production-deploy: true\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          deploy-message: \"Deploy ${{ env.TAG_NAME }}\"\n          enable-commit-comment: false\n          alias: ${{ env.TAG_NAME }}\n        env:\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n", "state": "active", "repository": "MountainDash/nonebot-bison"}
{"mined_at": "2024-07-15T18:37:46.051359", "created_at": "2023-07-15T19:43:42+02:00", "updated_at": "2023-07-18T15:43:29+02:00", "name": "Ruff Lint", "path": ".github/workflows/ruff.yml", "contents": "name: Ruff Lint\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    paths:\n      - \"nonebot_bison/**\"\n      - \"extra_plugins/**\"\n      - \"tests/**\"\n      - \"bot.py\"\n\njobs:\n  ruff:\n    name: Ruff Lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Run Ruff Lint\n        uses: chartboost/ruff-action@v1\n", "state": "active", "repository": "MountainDash/nonebot-bison"}
{"mined_at": "2024-07-15T18:37:48.247854", "created_at": "2023-08-15T00:27:51+02:00", "updated_at": "2023-08-15T00:27:51+02:00", "name": "CLA Assistant", "path": ".github/workflows/cla.yml", "contents": "name: \"CLA Assistant\"\non:\n  issue_comment:\n    types: [created]\n  pull_request_target:\n    types: [opened, closed, synchronize]\n\n# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings\npermissions:\n  actions: write\n  contents: write\n  pull-requests: write\n  statuses: write\n\njobs:\n  CLAAssistant:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"CLA Assistant\"\n        if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'\n        uses: contributor-assistant/github-action@v2.4.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # the below token should have repo scope and must be manually added by you in the repository's secret\n          # This token is required only if you have configured to store the signatures in a remote repository/organization\n          PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n        with:\n          path-to-signatures: \"signatures/version1/cla.json\"\n          path-to-document: \"https://marimo.io/cla\" # e.g. a CLA or a DCO document\n          # branch should not be protected\n          branch: \"main\"\n          allowlist: user1,bot*\n\n          # the followings are the optional inputs - If the optional inputs are not given, then default values will be taken\n          remote-organization-name: marimo-team\n          remote-repository-name: cla-signers\n          lock-pullrequest-aftermerge: false #- if you don't want this bot to automatically lock the pull request after merging (default - true)\n          #create-file-commit-message: 'For example: Creating file for storing CLA Signatures'\n          #signed-commit-message: 'For example: $contributorName has signed the CLA in $owner/$repo#$pullRequestNo'\n          #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'\n          #custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'\n          #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'\n          #use-dco-flag: true - If you are using DCO instead of CLA\n", "state": "active", "repository": "marimo-team/marimo"}
{"mined_at": "2024-07-15T18:37:49.488285", "created_at": "2024-03-12T00:43:04+01:00", "updated_at": "2024-03-12T00:44:37+01:00", "name": "Publish dev release", "path": ".github/workflows/dev-release.yml", "contents": "name: Publish dev release\n\n# Publish development release to test pypi on pushes to main\non:\n  push:\n    branches:\n      - main\n\nenv:\n  TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}\n  TURBO_TEAM: marimo\n\njobs:\n  publish_dev_release:\n    name: 📤 Publish dev release\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n      - name: 🛑 Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n\n      - name: ⬇️ Checkout repo\n        uses: actions/checkout@v4\n        with:\n          # get tag history for version number\n          fetch-depth: 0\n\n      - uses: pnpm/action-setup@v2\n        with:\n          version: 8\n\n      - name: ⎔ Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: \"pnpm\"\n          cache-dependency-path: \"**/pnpm-lock.yaml\"\n          registry-url: \"https://registry.npmjs.org\"\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n\n      - name: 📦 Build frontend\n        run: make fe\n\n      - name: 🐍 Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n\n      - name: 🐍 Setup uv\n        uses: yezz123/setup-uv@v4\n        with:\n          uv-venv: marimo-venv\n\n      # patch __init__.py version to be of the form\n      # X.Y.<Z+1>-dev{n-commits-since-last-tag}\n      - name: 🔨 Patch version number\n        run: |\n          # Get the version number and increment patch\n          # - assumes version is on a line of the form __version__ == \"x.y.z\"\n          incremented_version=`grep '__version__' marimo/__init__.py | awk '{print $3}' | awk -F. '{printf \"%d.%d.%d\", $1, $2, $3+1}'`\n          # Get the number of commits since last tag\n          n_commits=`git rev-list $(git describe --tags --abbrev=0)..HEAD --count`\n          # Form the new version, which is one patch ahead of the last version\n          # so installing from Test PyPI does the right thing\n          MARIMO_VERSION=\"${incremented_version}-dev${n_commits}\"\n          # Set the version in the environment for later steps\n          echo \"MARIMO_VERSION=$MARIMO_VERSION\" >> $GITHUB_ENV\n          sed -i \"s/__version__ = \\\".*\\\"/__version__ = \\\"$MARIMO_VERSION\\\"/\" marimo/__init__.py\n\n      - name: 📦 Build marimo\n        run: |\n          uv pip install build twine\n          uv pip install .\n          python -m build\n\n      - name: 📤 Upload to TestPyPI\n        env:\n          TWINE_USERNAME: ${{ secrets.TEST_PYPI_USER }}\n          TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}\n        run: twine upload --repository testpypi --skip-existing dist/*\n\n      - name: 📦 Update package.json version from CLI\n        working-directory: frontend\n        run: |\n          echo \"Updating package.json version to ${{ env.MARIMO_VERSION }}\"\n          npm version ${{ env.MARIMO_VERSION }} --no-git-tag-version\n\n      - name: 📤 Upload wasm to npm\n        working-directory: frontend\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n        run: npm publish --access public\n\n      - name: 📦 Update package.json name to @marimo-team/islands\n        working-directory: frontend\n        run: |\n          sed -i 's/\"name\": \"@marimo-team\\/frontend\"/\"name\": \"@marimo-team\\/islands\"/' package.json\n\n      - name: 📦 Rebuild frontend\n        working-directory: frontend\n        env:\n          NODE_ENV: production\n          VITE_MARIMO_ISLANDS: \"true\"\n          VITE_MARIMO_VERSION: ${{ env.MARIMO_VERSION }}\n        run: |\n          pnpm turbo build:islands\n          ./islands/validate.sh\n\n      - name: 📤 Upload islands to npm\n        working-directory: frontend\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n        run: npm publish --access public\n\n      - name: 📝 Comment PR\n        uses: actions/github-script@v7\n        continue-on-error: true\n        with:\n          script: |\n            try {\n              const pullRequest = await github.rest.search.issuesAndPullRequests({\n                q: `sha:${context.sha} is:pr is:merged`\n              });\n\n              if (pullRequest.data.items.length > 0) {\n                await github.rest.issues.createComment({\n                  owner: context.repo.owner,\n                  repo: context.repo.repo,\n                  issue_number: pullRequest.data.items[0].number,\n                  body: `🚀 Development release published. You may be able to view the changes at https://marimo.app?v=${process.env.MARIMO_VERSION}`\n                });\n              } else {\n                console.log(\"No merged PR found for this SHA.\");\n              }\n            } catch (err) {\n              console.error(err);\n            }\n", "state": "active", "repository": "marimo-team/marimo"}
{"mined_at": "2024-07-15T18:37:50.717423", "created_at": "2023-12-01T18:57:59+01:00", "updated_at": "2023-12-01T18:57:59+01:00", "name": "Post Release To Discord", "path": ".github/workflows/discord-release.yml", "contents": "name: Post Release To Discord\n\non:\n  release:\n    types: [published]\n\njobs:\n  github-releases-to-discord:\n    runs-on: ubuntu-latest\n    steps:\n      - name: ⬇️ Checkout repo\n        uses: actions/checkout@v4\n\n      - name: 📧 Post to Discord\n        uses: SethCohen/github-releases-to-discord@v1.15.0\n        with:\n          webhook_url: ${{ secrets.DISCORD_RELEASE_WEBHOOK_URL }}\n          color: \"2105893\"\n          username: \"GitHub\"\n          avatar_url: \"https://cdn.discordapp.com/icons/1059888774789730424/bc13378b871c363137358a531e1a2f82.png\"\n", "state": "active", "repository": "marimo-team/marimo"}
{"mined_at": "2024-07-15T18:37:51.845545", "created_at": "2023-08-14T20:56:50+02:00", "updated_at": "2023-09-01T23:24:03+02:00", "name": "playwright", "path": ".github/workflows/playwright.yml", "contents": "name: playwright\n\non:\n  push:\n    branches: [main]\n  pull_request: {}\n\nenv:\n  TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}\n  TURBO_TEAM: marimo\n\njobs:\n  test:\n    timeout-minutes: 16\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    env:\n      NODE_ENV: test\n      DEBUG: \"pw:webserver\"\n\n    steps:\n      - name: 🛑 Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n\n      - name: ⬇️ Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Write TOML\n        run: |\n          echo \"[experimental]\" > .marimo.toml\n          echo \"layouts=true\" >> .marimo.toml\n\n      - uses: pnpm/action-setup@v2\n        with:\n          version: 8\n\n      - name: ⎔ Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: \"pnpm\"\n          cache-dependency-path: \"**/pnpm-lock.yaml\"\n\n      - uses: turbocache-build/turbocache-action@v1\n\n      - name: 📦 Build frontend\n        run: make fe\n\n      - name: 🐍 Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n\n      # We tried to add uv, but marimo is unable to\n      # start when installed.\n      # - name: 🐍 Setup uv\n      #   uses: yezz123/setup-uv@v4\n      #   with:\n      #     uv-venv: marimo-venv\n\n      - name: 🐍 Install marimo\n        run: |\n          python -m pip install --upgrade pip\n          pip install .\n          echo \"MARIMO_VERSION=$(marimo --version)\" >> $GITHUB_ENV\n\n      - name: 🎭 Get installed Playwright version\n        id: playwright-version\n        working-directory: ./frontend\n        run: |\n          PLAYWRIGHT_VERSION=$(pnpm ls @playwright/test | grep @playwright | sed 's/.*@//')\n          echo \"Playwright's Version: $PLAYWRIGHT_VERSION\"\n          echo \"PLAYWRIGHT_VERSION=$PLAYWRIGHT_VERSION\" >> $GITHUB_ENV\n\n      - name: 📦 Cache playwright binaries\n        uses: actions/cache@v4\n        id: playwright-cache\n        with:\n          path: |\n            ~/.cache/ms-playwright\n          key: ${{ runner.os }}-playwright-2-${{ env.PLAYWRIGHT_VERSION }}\n\n      - name: 📥 Install Playwright Browsers\n        working-directory: ./frontend\n        if: steps.playwright-cache.outputs.cache-hit != 'true'\n        run: npx playwright install chromium webkit --with-deps\n\n      - name: 🎭 Run Playwright tests\n        working-directory: ./frontend\n        run: npx playwright test\n        # TODO(msconick) remove continue-on-error when all tests pass\n        continue-on-error: true\n        env:\n          VITE_MARIMO_VERSION: ${{ env.MARIMO_VERSION }}\n\n      - name: ☁️ Google Auth\n        uses: google-github-actions/auth@v1\n        # Skip on forks\n        if: github.event.pull_request.head.repo.organization == 'marimo-team'\n        with:\n          credentials_json: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}\n\n      - name: 🌲 Get branch name\n        id: branch-name\n        uses: tj-actions/branch-names@v7\n\n      - name: 📦 Upload to bucket (PR)\n        uses: google-github-actions/upload-cloud-storage@v1\n        # Only on PRs and not forks\n        if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.organization == 'marimo-team'\n        with:\n          destination: marimo-oss-visual-snapshots/branches/${{ steps.branch-name.outputs.current_branch }}\n          path: frontend/e2e-tests/screenshots\n\n      - name: 📦 Upload to bucket (main)\n        uses: google-github-actions/upload-cloud-storage@v1\n        # Only on main branch and not forks\n        if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.event.pull_request.head.repo.organization == 'marimo-team'\n        with:\n          destination: marimo-oss-visual-snapshots/main\n          path: frontend/e2e-tests/screenshots\n\n      - name: 📊 Upload report\n        uses: actions/upload-artifact@v3\n        if: always()\n        with:\n          name: playwright-report\n          path: frontend/playwright-report/\n          retention-days: 1\n", "state": "active", "repository": "marimo-team/marimo"}
{"mined_at": "2024-07-15T18:37:53.007297", "created_at": "2023-08-19T05:21:54+02:00", "updated_at": "2023-08-19T05:21:54+02:00", "name": "Publish release", "path": ".github/workflows/release.yml", "contents": "name: Publish release\n\n# release a new version of marimo on tag push\non:\n  push:\n    tags:\n      - \"[0-9]+.[0-9]+.[0-9]+\"\n  workflow_dispatch: {}\n\nenv:\n  TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}\n  TURBO_TEAM: marimo\n\njobs:\n  publish_release:\n    name: 📤 Publish release\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n      - name: 🛑 Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n\n      - name: ⬇️ Checkout repo\n        uses: actions/checkout@v4\n\n      - uses: pnpm/action-setup@v2\n        with:\n          version: 8\n\n      - name: ⎔ Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: \"pnpm\"\n          cache-dependency-path: \"**/pnpm-lock.yaml\"\n          registry-url: \"https://registry.npmjs.org\"\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n\n      - name: 📦 Build frontend\n        run: make fe\n\n      - name: 🐍 Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n\n      # This does not work when running `marimo --version`\n      # - name: 🐍 Setup uv\n      #   uses: yezz123/setup-uv@v4\n      #   with:\n      #     uv-venv: marimo-venv\n\n      - name: 📦 Build marimo\n        run: |\n          pip install build twine\n          pip install .\n          python -m build\n\n      - name: 📤 Upload to PyPI\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USER }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: twine upload --skip-existing dist/*\n\n      - name: 📦 Update package.json version from CLI\n        working-directory: frontend\n        run: |\n          echo \"Updating package.json version to $(python -m marimo --version)\"\n          echo \"MARIMO_VERSION=$(python -m marimo --version)\" >> $GITHUB_ENV\n          npm version $(python -m marimo --version) --no-git-tag-version\n\n      - name: 📤 Upload wasm to npm\n        working-directory: frontend\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n        run: npm publish --access public\n\n      - name: 📦 Update package.json name to @marimo-team/islands\n        working-directory: frontend\n        run: |\n          sed -i 's/\"name\": \"@marimo-team\\/frontend\"/\"name\": \"@marimo-team\\/islands\"/' package.json\n\n      - name: 📦 Rebuild frontend\n        working-directory: frontend\n        env:\n          NODE_ENV: production\n          VITE_MARIMO_ISLANDS: \"true\"\n          VITE_MARIMO_VERSION: ${{ env.MARIMO_VERSION }}\n        run: |\n          pnpm turbo build:islands\n          ./islands/validate.sh\n\n      - name: 📤 Upload islands to npm\n        working-directory: frontend\n        env:\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n        run: npm publish --access public\n", "state": "active", "repository": "marimo-team/marimo"}
{"mined_at": "2024-07-15T18:37:54.038497", "created_at": "2023-08-14T20:56:50+02:00", "updated_at": "2023-08-14T20:56:50+02:00", "name": "test", "path": ".github/workflows/test.yaml", "contents": "name: test\n\non:\n  push:\n    branches: [main]\n  pull_request: {}\n\nenv:\n  TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}\n  TURBO_TEAM: marimo\n\njobs:\n  test_frontend:\n    name: 🖥️ Lint, test, build frontend\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    defaults:\n      run:\n        working-directory: ./frontend\n        shell: bash\n\n    steps:\n      - name: 🛑 Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n\n      - name: ⬇️ Checkout repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # so we can run --since on the main branch and turbo can do faster cache hashing\n\n      - uses: pnpm/action-setup@v2\n        with:\n          version: 8\n\n      - name: ⎔ Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: \"pnpm\"\n          cache-dependency-path: \"**/pnpm-lock.yaml\"\n\n      - uses: turbocache-build/turbocache-action@v1\n\n      - name: 📥 Install dependencies\n        run: pnpm install\n\n      - name: 📦 pnpm dedupe\n        if: github.event_name == 'pull_request'\n        run: pnpm dedupe --check\n\n      - name: 🧹 Lint\n        run: pnpm turbo lint\n\n      - name: 🔎 Type check\n        run: pnpm turbo typecheck\n\n      - name: 🧪 Test\n        run: pnpm test\n\n      - name: 📦 Build\n        run: pnpm turbo build\n        env:\n          NODE_ENV: production\n\n      - name: 📦 Build islands frontend\n        env:\n          NODE_ENV: production\n          VITE_MARIMO_ISLANDS: \"true\"\n          VITE_MARIMO_VERSION: \"0.0.0\"\n        run: |\n          npm version 0.0.0 --no-git-tag-version\n          pnpm turbo build:islands\n          ./islands/validate.sh\n\n  test_python:\n    name: Tests on ${{ matrix.os }}, Python ${{ matrix.python-version }} with ${{ matrix.dependencies }} dependencies\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 15\n    defaults:\n      run:\n        shell: bash\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        dependencies: [\"core\", \"core,optional\"]\n        python-version: [\"3.8\"]\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.9\"\n            dependencies: \"core\"\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            dependencies: \"core\"\n          - os: ubuntu-latest\n            python-version: \"3.11\"\n            dependencies: \"core\"\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            dependencies: \"core\"\n          - os: ubuntu-latest\n            python-version: \"3.9\"\n            dependencies: \"core,optional\"\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            dependencies: \"core,optional\"\n          - os: ubuntu-latest\n            python-version: \"3.11\"\n            dependencies: \"core,optional\"\n          - os: ubuntu-latest\n            python-version: \"3.12\"\n            dependencies: \"core,optional\"\n    steps:\n      - name: 🛑 Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n      - name: 🐍 Setup uv\n        uses: yezz123/setup-uv@v4\n      # This step is needed since some of our tests rely on the index.html file\n      - name: Create assets directory, copy over index.html\n        run: |\n          mkdir -p marimo/_static/assets\n          cp frontend/index.html marimo/_static/index.html\n          cp frontend/public/favicon.ico marimo/_static/favicon.ico\n      # Lint, typecheck\n      # Each run command runs in a separate shell, so we need to\n      # reactivate the virtual environment every time\n      - name: Install marimo with dev dependencies\n        run: |\n          uv venv marimo-dev-env\n          if [ \"$RUNNER_OS\" == \"Windows\" ]; then\n            source marimo-dev-env\\\\Scripts\\\\activate\n          else\n            source marimo-dev-env/bin/activate\n          fi\n          uv pip install --upgrade pip\n          uv pip install .[dev]\n      - name: Lint\n        run: |\n          if [ \"$RUNNER_OS\" == \"Windows\" ]; then\n            source marimo-dev-env\\\\Scripts\\\\activate\n          else\n            source marimo-dev-env/bin/activate\n          fi\n          ruff check marimo/\n      - name: Typecheck\n        if: ${{ matrix.python-version == '3.9' || matrix.python-version == '3.10' }}\n        run: |\n          if [ \"$RUNNER_OS\" == \"Windows\" ]; then\n            source marimo-dev-env\\\\Scripts\\\\activate\n          else\n            source marimo-dev-env/bin/activate\n          fi\n          mypy --config-file pyproject.toml marimo/\n      # Test with minimal dependencies\n      - name: Test with minimal dependencies\n        if: ${{ matrix.dependencies == 'core' }}\n        run: |\n          uv venv marimo-test-env\n          if [ \"$RUNNER_OS\" == \"Windows\" ]; then\n            source marimo-test-env\\\\Scripts\\\\activate\n          else\n            source marimo-test-env/bin/activate\n          fi\n          uv pip install --upgrade pip\n          uv pip install .[testcore]\n          pytest -v tests/ -k \"not test_cli\"\n      # Test with optional dependencies\n      - name: Test with optional dependencies\n        if: ${{ matrix.dependencies == 'core,optional' }}\n        run: |\n          uv venv marimo-test-optional-env\n          if [ \"$RUNNER_OS\" == \"Windows\" ]; then\n            source marimo-test-optional-env\\\\Scripts\\\\activate\n          else\n            source marimo-test-optional-env/bin/activate\n          fi\n          uv pip install --upgrade pip\n          uv pip install .[testcore,testoptional]\n          pytest -v tests/ -k \"not test_cli\"\n\n  typos:\n    name: Check for typos\n    runs-on: ubuntu-latest\n    steps:\n      - name: 🛑 Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n      - uses: actions/checkout@v4\n      - uses: crate-ci/typos@v1.21.0\n", "state": "active", "repository": "marimo-team/marimo"}
{"mined_at": "2024-07-15T18:37:55.065223", "created_at": "2023-08-14T20:56:50+02:00", "updated_at": "2023-08-14T20:56:50+02:00", "name": "cli test", "path": ".github/workflows/test_cli.yaml", "contents": "name: cli test\n\non:\n  push:\n    branches: [main]\n  pull_request: {}\n\nenv:\n  TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}\n  TURBO_TEAM: marimo\n\njobs:\n  build_wheel:\n    name: Build marimo wheel\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n      - name: 🛑 Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n\n      - name: ⬇️ Checkout repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # so we can run --since on the main branch and turbo can do faster cache hashing\n\n      - uses: pnpm/action-setup@v2\n        with:\n          version: 8\n\n      - name: ⎔ Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n          cache: \"pnpm\"\n          cache-dependency-path: \"**/pnpm-lock.yaml\"\n\n      - uses: turbocache-build/turbocache-action@v1\n\n      - name: 📦 Build frontend\n        run: make fe\n        env:\n          NODE_OPTIONS: \"--max_old_space_size=8192\"\n\n      - name: 🐍 Setup Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n\n      - name: 🐍 Setup uv\n        uses: yezz123/setup-uv@v4\n        with:\n          uv-venv: marimo-venv\n\n      - name: 📦 Build marimo wheel\n        run: |\n          uv pip install build\n          uv pip install .\n          python -m build\n\n      - name: Upload wheel\n        uses: actions/upload-artifact@v3\n        with:\n          name: testwheel\n          path: dist/*.whl\n          retention-days: 1\n\n  test_cli:\n    name: Tests CLI on ${{ matrix.os }} ${{ matrix.python-version }}\n    needs: build_wheel\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # TODO(akshayka): consider adding 3.8, 3.9\n        python-version: [\"3.10\"]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n\n    steps:\n      - name: 🛑 Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n\n      - name: Install Python deps\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest\n\n      - name: Download wheel\n        uses: actions/download-artifact@v3\n        with:\n          name: testwheel\n\n      - name: Install marimo\n        shell: bash\n        run: pip install marimo*whl\n\n      - name: Test CLI\n        shell: bash\n        run: pytest -v tests/_cli/test_cli.py tests/_cli/test_cli_export.py\n\n  test_examples:\n    name: Tests examples and smoke_tests\n    needs: build_wheel\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: 🛑 Cancel Previous Runs\n        uses: styfle/cancel-workflow-action@0.12.1\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n          cache: \"pip\"\n\n      - name: 🐍 Setup uv\n        uses: yezz123/setup-uv@v4\n        with:\n          uv-venv: marimo-venv\n\n      - name: Download wheel\n        uses: actions/download-artifact@v3\n        with:\n          name: testwheel\n\n      - name: Install Python deps\n        run: |\n          uv pip install pytest pytest-asyncio\n          uv pip install ./marimo*whl\n          uv pip install -r examples/requirements.txt\n\n      - name: Test examples\n        shell: bash\n        run: pytest -v -s tests/_smoke_tests/run_all.py\n        # TODO(msconick) remove continue-on-error when all tests pass\n        continue-on-error: true\n", "state": "active", "repository": "marimo-team/marimo"}
{"mined_at": "2024-07-15T18:37:56.057580", "created_at": "2023-09-27T00:06:35+02:00", "updated_at": "2023-09-27T00:06:35+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "marimo-team/marimo"}
{"mined_at": "2024-07-15T18:37:58.030046", "created_at": "2022-08-15T11:14:16+02:00", "updated_at": "2022-12-06T10:27:37+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  workflow_dispatch:\n  push:\n    branches: \n      - main\n      - development\n  pull_request:\n    branches:\n      - main\n      - development\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    # needed for miniconda\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          activate-environment: yaib\n          environment-file: environment.yml\n          auto-activate-base: false\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # the GitHub editor is 127 chars wide\n          flake8 . --count --max-complexity=20 --max-line-length=127 --statistics\n      # - name: Test with pytest\n        # run: python -m pytest ./tests/recipes\n      # If we want to test running the tool later on\n      # - name: Setup package\n      #   run: pip install -e .\n      # - name: Test command line tool\n      #   run: python -m icu_benchmarks.run --help\n", "state": "active", "repository": "rvandewater/YAIB"}
{"mined_at": "2024-07-15T18:37:58.992491", "created_at": "2024-06-19T15:59:33+02:00", "updated_at": "2024-06-19T15:59:33+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "rvandewater/YAIB"}
{"mined_at": "2024-07-15T18:38:01.185691", "created_at": "2021-12-14T11:25:50+01:00", "updated_at": "2021-12-16T19:04:30+01:00", "name": "sarplus test and package", "path": ".github/workflows/sarplus.yml", "contents": "# ---------------------------------------------------------\n# Copyright (c) Recommenders contributors.\n# Licensed under the MIT License.\n# ---------------------------------------------------------\n# This workflow will run tests and do packaging for contrib/sarplus.\n#\n# References:\n#   * GitHub Actions workflow templates\n#       + [python package](https://github.com/actions/starter-workflows/blob/main/ci/python-package.yml)\n#       + [scala](https://github.com/actions/starter-workflows/blob/main/ci/scala.yml)\n#   * [GitHub hosted runner - Ubuntu 20.04 LTS](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md)\n#   * [Azure Databricks runtime releases](https://docs.microsoft.com/en-us/azure/databricks/release-notes/runtime/releases)\n#   * [Azure Synapse Analytics runtimes](https://docs.microsoft.com/en-us/azure/synapse-analytics/spark/apache-spark-version-support)\n\n\nname: sarplus test and package\n\non:\n  push:\n    paths:\n      - contrib/sarplus/python/**\n      - contrib/sarplus/scala/**\n      - contrib/sarplus/VERSION\n      - .github/workflows/sarplus.yml\n  \n  # Enable manual trigger\n  workflow_dispatch:\n\nenv:\n  SARPLUS_ROOT: ${{ github.workspace }}/contrib/sarplus\n  PYTHON_ROOT: ${{ github.workspace }}/contrib/sarplus/python\n  SCALA_ROOT: ${{ github.workspace }}/contrib/sarplus/scala\n\njobs:\n  python:\n    # Test pysarplus with different versions of Python.\n    # Package pysarplus and upload as GitHub workflow artifact when merged into\n    # the main branch.\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install -U build cibuildwheel pip twine\n          python -m pip install -U flake8 pytest pytest-cov scikit-learn\n\n      - name: Lint with flake8\n        run: |\n          cd \"${PYTHON_ROOT}\"\n          # See https://flake8.pycqa.org/en/latest/user/index.html\n          flake8 .\n\n      - name: Package and check\n        run: |\n          # build\n          cd \"${PYTHON_ROOT}\"\n          cp \"${SARPLUS_ROOT}/VERSION\" ./pysarplus/VERSION\n          python -m build --sdist\n          PYTHON_VER='${{ matrix.python-version }}'\n          MINOR_VER=\"${PYTHON_VER#*.}\"\n          CIBW_BUILD=\"cp3${MINOR_VER}-manylinux_x86_64\" python -m cibuildwheel --platform linux --output-dir dist\n          python -m twine check dist/*\n\n          # set sarplus_version for the artifact upload step\n          SARPLUS_VERSION=$(cat \"${SARPLUS_ROOT}/VERSION\")\n          echo \"sarplus_version=${SARPLUS_VERSION}\" >> $GITHUB_ENV\n\n      - name: Test\n        run: |\n          cd \"${PYTHON_ROOT}\"\n          python -m pip install dist/*.whl\n\n          cd \"${SCALA_ROOT}\"\n          export SPARK_VERSION=$(python -m pip show pyspark | grep -i version | cut -d ' ' -f 2)\n          SPARK_JAR_DIR=$(python -m pip show pyspark | grep -i location | cut -d ' ' -f2)/pyspark/jars\n          SCALA_JAR=$(ls ${SPARK_JAR_DIR}/scala-library*)\n          HADOOP_JAR=$(ls ${SPARK_JAR_DIR}/hadoop-client-api*)\n          SCALA_VERSION=${SCALA_JAR##*-}\n          export SCALA_VERSION=${SCALA_VERSION%.*}\n          HADOOP_VERSION=${HADOOP_JAR##*-}\n          export HADOOP_VERSION=${HADOOP_VERSION%.*}\n          sbt ++\"${SCALA_VERSION}\"! package\n\n          cd \"${PYTHON_ROOT}\"\n          pytest ./tests\n\n      - name: Upload Python wheel as GitHub artifact when merged into main\n        # Upload the whl file of the specific python version\n        if: github.ref == 'refs/heads/main'\n        uses: actions/upload-artifact@v4\n        with:\n          name: pysarplus-${{ env.sarplus_version }}-cp${{ matrix.python-version }}-wheel\n          path: ${{ env.PYTHON_ROOT }}/dist/*.whl\n\n      - name: Upload Python source as GitHub artifact when merged into main\n        # Only one pysarplus source tar file is needed\n        if: github.ref == 'refs/heads/main' && matrix.python-version == '3.10'\n        uses: actions/upload-artifact@v4\n        with:\n          name: pysarplus-${{ env.sarplus_version }}-source\n          path: ${{ env.PYTHON_ROOT }}/dist/*.tar.gz\n\n  scala:\n    # Test sarplus with different versions of Databricks and Synapse runtime\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        include:\n          # For Azure Databricks 7.3 LTS\n          - scala-version: \"2.12.10\"\n            spark-version: \"3.0.1\"\n            hadoop-version: \"2.7.4\"\n\n          # For Azure Databricks 9.1 LTS and Azure Synapse Apache Spark 3.1 runtime\n          - scala-version: \"2.12.10\"\n            spark-version: \"3.1.2\"\n            hadoop-version: \"2.7.4\"\n\n          # For Azure Databricks 10.4 LTS\n          - scala-version: \"2.12.14\"\n            spark-version: \"3.2.1\"\n            hadoop-version: \"3.3.1\"\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Test\n        run: |\n          cd \"${SCALA_ROOT}\"\n          export SPARK_VERSION=\"${{ matrix.spark-version }}\"\n          export HADOOP_VERSION=\"${{ matrix.hadoop-version }}\"\n          sbt ++${{ matrix.scala-version }}! test\n\n      - name: Package\n        # Generate jar files for Spark below 3.2 and above 3.2\n        if: github.ref == 'refs/heads/main' && matrix.spark-version != '3.0.1'\n        env:\n          GPG_KEY: ${{ secrets.SARPLUS_GPG_PRI_KEY_ASC }}\n        run: |\n          SARPLUS_VERSION=$(cat \"${SARPLUS_ROOT}/VERSION\")\n\n          # generate artifacts\n          cd \"${SCALA_ROOT}\"\n          export SPARK_VERSION='${{ matrix.spark-version }}'\n          export HADOOP_VERSION='${{ matrix.hadoop-version }}'\n          export SCALA_VERSION='${{ matrix.scala-version }}'\n          sbt ++${SCALA_VERSION}! package\n          sbt ++${SCALA_VERSION}! packageDoc\n          sbt ++${SCALA_VERSION}! packageSrc\n          sbt ++${SCALA_VERSION}! makePom\n\n          # sign with GPG\n          cd \"${SCALA_ROOT}/target/scala-2.12\"\n          gpg --import <(cat <<< \"${GPG_KEY}\")\n          for file in {*.jar,*.pom}; do gpg -ab \"${file}\"; done\n\n          # bundle\n          [ '${{ matrix.spark-version }}' == '3.1.2' ] \\\n            && jar cvf sarplus-${SARPLUS_VERSION}-bundle_2.12-spark-${SPARK_VERSION}.jar \\\n                       sarplus_*.jar \\\n                       sarplus_*.pom \\\n                       sarplus_*.asc\n          [ '${{ matrix.spark-version }}' == '3.2.1' ] \\\n            && jar cvf sarplus-spark-3.2-plus-bundle_2.12-${SARPLUS_VERSION}.jar \\\n                       sarplus-spark*.jar \\\n                       sarplus-spark*.pom \\\n                       sarplus-spark*.asc\n\n          # set sarplus_version for the artifact upload step\n          echo \"sarplus_version=${SARPLUS_VERSION}\" >> $GITHUB_ENV\n\n      - name: Upload Scala bundle as GitHub artifact when merged into main\n        if: github.ref == 'refs/heads/main'\n        uses: actions/upload-artifact@v4\n        with:\n          name: sarplus-${{ env.sarplus_version }}-bundle_2.12-spark-${{ matrix.spark-version }}-jar\n          path: ${{ env.SCALA_ROOT }}/target/scala-2.12/*bundle*.jar\n", "state": "active", "repository": "recommenders-team/recommenders"}
{"mined_at": "2024-07-15T18:38:02.268095", "created_at": "2021-12-17T11:33:20+01:00", "updated_at": "2021-12-17T11:33:20+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "recommenders-team/recommenders"}
{"mined_at": "2024-07-15T18:38:03.321278", "created_at": "2022-05-20T18:11:47+02:00", "updated_at": "2022-07-06T03:14:30+02:00", "name": "azureml-unit-tests", "path": ".github/workflows/azureml-unit-tests.yml", "contents": "# ---------------------------------------------------------\n# Copyright (c) Recommenders contributors.\n# Licensed under the MIT License.\n# ---------------------------------------------------------\n\nname: azureml-unit-tests\n\non:\n  pull_request:\n    branches:\n      - 'staging'\n      - 'main'\n    paths:\n      # Tests will be run only when there are changes in the code:\n      - examples/**\n      - '!examples/**/*.md'\n      - recommenders/**\n      - '!recommenders/**/*.md'\n      - tests/**\n      - '!tests/**/*.md'\n      - setup.py\n    types: [opened, synchronize, reopened, ready_for_review]\n\n  # Enable manual trigger\n  workflow_dispatch:\n    input:\n      tags:\n        description: 'Tags to label this manual run (optional)'\n        default: 'Manual trigger'\n\n  # Make this workflow reusable\n  workflow_call:\n\njobs:\n  get-test-groups:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Get test group names\n        id: get_test_groups\n        uses: ./.github/actions/get-test-groups\n        with:\n          TEST_KIND: \"unit\"\n      - name: Print test group names\n        run: echo ${{ steps.get_test_groups.outputs.test_groups }}\n        shell: bash\n    outputs:\n      test_groups: ${{ steps.get_test_groups.outputs.test_groups }}\n    if: github.event.pull_request.draft == false\n\n  execute-tests:\n    needs: get-test-groups\n    name: ${{ join(matrix.*, ', ') }}\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 50 # Usage limits: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration\n      matrix:\n        python-version: ['\"python=3.8\"', '\"python=3.9\"', '\"python=3.10\"', '\"python=3.11\"']\n        test-group:  ${{ fromJSON(needs.get-test-groups.outputs.test_groups) }}\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Execute tests\n        uses: ./.github/actions/azureml-test\n        id: execute_tests\n        with:\n          EXP_NAME: 'unit_tests'\n          TEST_KIND: 'unit'\n          AZUREML_TEST_CREDENTIALS: ${{ secrets.AZUREML_TEST_CREDENTIALS }}\n          AZUREML_TEST_SUBID: ${{ secrets.AZUREML_TEST_SUBID }}\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          TEST_GROUP: ${{ matrix.test-group }}\n    if: github.event.pull_request.draft == false\n", "state": "active", "repository": "recommenders-team/recommenders"}
{"mined_at": "2024-07-15T18:38:04.543788", "created_at": "2022-06-09T20:57:42+02:00", "updated_at": "2022-07-11T20:47:35+02:00", "name": "azureml-gpu-nightly", "path": ".github/workflows/azureml-gpu-nightly.yml", "contents": "# ---------------------------------------------------------\n# Copyright (c) Recommenders contributors.\n# Licensed under the MIT License.\n# ---------------------------------------------------------\n\nname: azureml-gpu-nightly\n\non:\n  #          ┌───────────── minute (0 - 59)\n  #          │ ┌───────────── hour (0 - 23)\n  #          │ │  ┌───────────── day of the month (1 - 31)\n  #          │ │  │  ┌───────────── month (1 - 12 or JAN-DEC)\n  #          │ │  │  │ ┌───────────── day of the week (0 - 6 or SUN-SAT)                                  \n  #          │ │  │  │ │\n  #          │ │  │  │ │\n  schedule: \n    - cron: '0 0 */5 * *'  # running every 5 days at 12AM\n    # cron works with default branch (main) only: # https://github.community/t/on-schedule-per-branch/17525/2\n  \n  push:\n    # Because we can't schedule runs for non-main branches,\n    # to ensure we are running the build on the staging branch, we can add push policy for it\n    branches: [staging]\n    paths:\n      # Tests will be run only when there are changes in the code:\n      - examples/**\n      - '!examples/**/*.md'\n      - recommenders/**\n      - '!recommenders/**/*.md'\n      - tests/**\n      - '!tests/**/*.md'\n      - setup.py\n\n\n  # Enable manual trigger\n  workflow_dispatch:\n    input:\n      tags:\n        description: 'Tags to label this manual run (optional)'\n        default: 'Manual trigger'\n\n  # Make this workflow reusable\n  workflow_call:\n\njobs:\n  get-test-groups:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Get test group names\n        id: get_test_groups\n        uses: ./.github/actions/get-test-groups\n        with:\n          TEST_KIND: \"nightly\"\n          TEST_ENV: \"gpu\"\n      - name: Print test group names\n        run: echo ${{ steps.get_test_groups.outputs.test_groups }}\n        shell: bash\n    outputs:\n      test_groups: ${{ steps.get_test_groups.outputs.test_groups }}\n\n  execute-tests:\n    needs: get-test-groups\n    name: ${{ join(matrix.*, ', ') }}\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 50 # Usage limits: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration\n      matrix:\n        python-version: ['\"python=3.8\"', '\"python=3.9\"', '\"python=3.10\"', '\"python=3.11\"']\n        test-group:  ${{ fromJSON(needs.get-test-groups.outputs.test_groups) }}\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Execute tests\n        uses: ./.github/actions/azureml-test\n        id: execute_tests\n        with:\n          EXP_NAME: 'nightly_tests'\n          TEST_KIND: 'nightly'\n          TEST_ENV: 'gpu'\n          AZUREML_TEST_CREDENTIALS: ${{ secrets.AZUREML_TEST_CREDENTIALS }}\n          AZUREML_TEST_SUBID: ${{ secrets.AZUREML_TEST_SUBID }}\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          TEST_GROUP: ${{ matrix.test-group }}\n", "state": "active", "repository": "recommenders-team/recommenders"}
{"mined_at": "2024-07-15T18:38:05.711765", "created_at": "2022-06-09T20:57:42+02:00", "updated_at": "2022-07-11T20:47:35+02:00", "name": "azureml-spark-nightly", "path": ".github/workflows/azureml-spark-nightly.yml", "contents": "# ---------------------------------------------------------\n# Copyright (c) Recommenders contributors.\n# Licensed under the MIT License.\n# ---------------------------------------------------------\n\nname: azureml-spark-nightly\n\non:\n  #          ┌───────────── minute (0 - 59)\n  #          │ ┌───────────── hour (0 - 23)\n  #          │ │  ┌───────────── day of the month (1 - 31)\n  #          │ │  │  ┌───────────── month (1 - 12 or JAN-DEC)\n  #          │ │  │  │ ┌───────────── day of the week (0 - 6 or SUN-SAT)                                  \n  #          │ │  │  │ │\n  #          │ │  │  │ │\n  schedule: \n    - cron: '0 0 */5 * *'  # running every 5 days at 12AM\n    # cron works with default branch (main) only: # https://github.community/t/on-schedule-per-branch/17525/2\n  \n  push:\n    # Because we can't schedule runs for non-main branches,\n    # to ensure we are running the build on the staging branch, we can add push policy for it\n    branches: [staging]\n    paths:\n      # Tests will be run only when there are changes in the code:\n      - examples/**\n      - '!examples/**/*.md'\n      - recommenders/**\n      - '!recommenders/**/*.md'\n      - tests/**\n      - '!tests/**/*.md'\n      - setup.py\n\n  # Enable manual trigger\n  workflow_dispatch:\n    input:\n      tags:\n        description: 'Tags to label this manual run (optional)'\n        default: 'Manual trigger'\n\n  # Make this workflow reusable\n  workflow_call:\n\njobs:\n  get-test-groups:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Get test group names\n        id: get_test_groups\n        uses: ./.github/actions/get-test-groups\n        with:\n          TEST_KIND: \"nightly\"\n          TEST_ENV: \"spark\"\n      - name: Print test group names\n        run: echo ${{ steps.get_test_groups.outputs.test_groups }}\n        shell: bash\n    outputs:\n      test_groups: ${{ steps.get_test_groups.outputs.test_groups }}\n\n  execute-tests:\n    needs: get-test-groups\n    name: ${{ join(matrix.*, ', ') }}\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 50 # Usage limits: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration\n      matrix:\n        python-version: ['\"python=3.8\"', '\"python=3.9\"', '\"python=3.10\"', '\"python=3.11\"']\n        test-group:  ${{ fromJSON(needs.get-test-groups.outputs.test_groups) }}\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Execute tests\n        uses: ./.github/actions/azureml-test\n        id: execute_tests\n        with:\n          EXP_NAME: 'nightly_tests'\n          TEST_KIND: 'nightly'\n          TEST_ENV: 'spark'\n          AZUREML_TEST_CREDENTIALS: ${{ secrets.AZUREML_TEST_CREDENTIALS }}\n          AZUREML_TEST_SUBID: ${{ secrets.AZUREML_TEST_SUBID }}\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          TEST_GROUP: ${{ matrix.test-group }}\n", "state": "active", "repository": "recommenders-team/recommenders"}
{"mined_at": "2024-07-15T18:38:06.999850", "created_at": "2022-06-09T20:57:43+02:00", "updated_at": "2022-07-11T20:47:35+02:00", "name": "azureml-cpu-nightly", "path": ".github/workflows/azureml-cpu-nightly.yml", "contents": "# ---------------------------------------------------------\n# Copyright (c) Recommenders contributors.\n# Licensed under the MIT License.\n# ---------------------------------------------------------\n\nname: azureml-cpu-nightly\n\non:\n  #          ┌───────────── minute (0 - 59)\n  #          │ ┌───────────── hour (0 - 23)\n  #          │ │  ┌───────────── day of the month (1 - 31)\n  #          │ │  │  ┌───────────── month (1 - 12 or JAN-DEC)\n  #          │ │  │  │ ┌───────────── day of the week (0 - 6 or SUN-SAT)                                  \n  #          │ │  │  │ │\n  #          │ │  │  │ │\n  schedule: \n    - cron: '0 0 */5 * *'  # running every 5 days at 12AM\n    # cron works with default branch (main) only: # https://github.community/t/on-schedule-per-branch/17525/2\n  \n  push:\n    # Because we can't schedule runs for non-main branches,\n    # to ensure we are running the build on the staging branch, we can add push policy for it\n    branches: [staging]\n    paths:\n      # Tests will be run only when there are changes in the code:\n      - examples/**\n      - '!examples/**/*.md'\n      - recommenders/**\n      - '!recommenders/**/*.md'\n      - tests/**\n      - '!tests/**/*.md'\n      - setup.py\n\n\n  # Enable manual trigger\n  workflow_dispatch:\n    input:\n      tags:\n        description: 'Tags to label this manual run (optional)'\n        default: 'Manual trigger'\n\n  # Make this workflow reusable\n  workflow_call:\n\njobs:\n  get-test-groups:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Get test group names\n        id: get_test_groups\n        uses: ./.github/actions/get-test-groups\n        with:\n          TEST_KIND: \"nightly\"\n          TEST_ENV: \"cpu\"\n      - name: Print test group names\n        run: echo ${{ steps.get_test_groups.outputs.test_groups }}\n        shell: bash\n    outputs:\n      test_groups: ${{ steps.get_test_groups.outputs.test_groups }}\n\n  execute-tests:\n    needs: get-test-groups\n    name: ${{ join(matrix.*, ', ') }}\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 50 # Usage limits: https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration\n      matrix:\n        python-version: ['\"python=3.8\"', '\"python=3.9\"', '\"python=3.10\"', '\"python=3.11\"']\n        test-group:  ${{ fromJSON(needs.get-test-groups.outputs.test_groups) }}\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Execute tests\n        uses: ./.github/actions/azureml-test\n        id: execute_tests\n        with:\n          EXP_NAME: 'nightly_tests'\n          TEST_KIND: 'nightly'\n          TEST_ENV: 'cpu'\n          AZUREML_TEST_CREDENTIALS: ${{ secrets.AZUREML_TEST_CREDENTIALS }}\n          AZUREML_TEST_SUBID: ${{ secrets.AZUREML_TEST_SUBID }}\n          PYTHON_VERSION: ${{ matrix.python-version }}\n          TEST_GROUP: ${{ matrix.test-group }}\n", "state": "active", "repository": "recommenders-team/recommenders"}
{"mined_at": "2024-07-15T18:38:08.332829", "created_at": "2022-06-29T03:14:45+02:00", "updated_at": "2022-07-15T02:23:13+02:00", "name": "Create GitHub Draft Release", "path": ".github/workflows/azureml-release-pipeline.yml", "contents": "# Copyright (c) Recommenders contributors.\n# Licensed under the MIT License.\n\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - '0.*' # Push events to matching 0.*, 1.*\n      - '1.*'\n\nname: Create GitHub Draft Release\n\njobs:\n  \n  unit-test-workflow:\n    uses: ./.github/workflows/azureml-unit-tests.yml\n    secrets: inherit\n\n  cpu-nightly-workflow:\n    uses: ./.github/workflows/azureml-cpu-nightly.yml\n    secrets: inherit\n\n  gpu-nightly-workflow:\n    uses: ./.github/workflows/azureml-gpu-nightly.yml\n    secrets: inherit\n\n  spark-nightly-workflow:\n    uses: ./.github/workflows/azureml-spark-nightly.yml\n    secrets: inherit\n\n  create-release:\n    runs-on: ubuntu-latest\n    needs: [unit-test-workflow, cpu-nightly-workflow, gpu-nightly-workflow, spark-nightly-workflow]\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with: \n          python-version: \"3.8\"\n      - name: Install wheel package\n        run: pip install wheel\n      - name: Create wheel from setup.py\n        run: python setup.py bdist_wheel\n      - name: Create tar gz from setup.py\n        run: python setup.py sdist\n      - name: Create GitHub Draft Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: Recommenders ${{ github.ref }}\n          body: |\n            Changes in this Release\n            - First Change\n            - Second Change\n          draft: true\n          prerelease: false\n      - name: Upload .whl and .tar.gz files as Release Assets\n        id: upload-release-assets\n        uses: dwenegar/upload-release-assets@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          release_id: ${{ steps.create_release.outputs.id }}\n          assets_path: dist\n", "state": "active", "repository": "recommenders-team/recommenders"}
{"mined_at": "2024-07-15T18:38:09.364188", "created_at": "2023-12-31T08:30:52+01:00", "updated_at": "2024-01-30T10:34:33+01:00", "name": "Update Documentation", "path": ".github/workflows/update_documentation.yml", "contents": "# ---------------------------------------------------------\n# Copyright (c) Recommenders contributors.\n# Licensed under the MIT License.\n# ---------------------------------------------------------\n\nname: Update Documentation\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        run: |\n          pip install -q --upgrade pip setuptools wheel\n          pip install -q --no-use-pep517 lightfm\n          pip install -q .[all]\n          pip install -q -r docs/requirements-doc.txt\n      \n      - name: List dependencies\n        run: |\n          pip list\n\n      - name: Build documentation\n        run: |\n          jupyter-book config sphinx docs/\n          sphinx-build docs docs/_build/html -b html\n\n      - name: Configure Git\n        run: |\n          git config --global user.email \"actions@github.com\"\n          git config --global user.name \"GitHub Actions\"\n\n      - name: Create and switch to gh-pages branch\n        run: |\n          git checkout -b gh-pages\n          git pull origin gh-pages || true\n      \n      - name: Copy built documentation\n        run: cp -r docs/_build/html/* .\n  \n      - name: Add and commit changes\n        run: |\n          git add * -f\n          git commit -m \"Update documentation\"\n      \n      - name: Configure pull strategy (rebase)\n        run: git config pull.rebase true\n\n      - name: Pull latest changes from remote gh-pages branch\n        run: git pull -Xtheirs origin gh-pages\n\n      - name: Push changes to gh-pages\n        run: git push origin gh-pages\n", "state": "active", "repository": "recommenders-team/recommenders"}
{"mined_at": "2024-07-15T18:38:11.394766", "created_at": "2022-04-20T05:23:52+02:00", "updated_at": "2023-06-30T07:02:58+02:00", "name": "🚀 Build & Publish", "path": ".github/workflows/build_publish.yml", "contents": "name: 🚀 Build & Publish\n\non:\n  push:\n    tags:\n      - 'v\\d+\\.\\d+\\.[0-9a-z]+' # e.g. v1.0.0 or v20.15.10b5\n\njobs:\n  build:\n    name: Build Release\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Check out\n      uses: actions/checkout@v3\n\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n        cache: 'pip' # caching pip dependencies\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install build\n\n    - name: Build artifacts\n      run: |\n        python -m build\n\n    - name: Upload artifacts\n      uses: actions/upload-artifact@v3\n      with:\n        name: wheelstorage\n        path: ./dist/*\n        if-no-files-found: error\n        retention-days: 30\n\n  publish:\n    name: Publish Release\n    needs: build\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Get date & flat tag\n      id: date_tag\n      run: |\n        export DATE=$(TZ=Europe/London date +'%Y-%m-%d')\n        echo $DATE\n        export FLAT_TAG=$(echo ${GITHUB_REF##*/} | sed 's/[v.]//g')\n        echo $FLAT_TAG\n        echo \"TODAY=$DATE\" >> \"$GITHUB_OUTPUT\"\n        echo \"VERSION=$FLAT_TAG\" >> \"$GITHUB_OUTPUT\"\n      shell: bash\n\n    - name: Download artifacts\n      uses: actions/download-artifact@v3\n      with:\n        name: wheelstorage\n        path: dist\n\n    - name: Publish to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n\n    - name: Create GitHub Release\n      uses: softprops/action-gh-release@v1\n      with:\n        body: '[Release Notes](https://github.com/fonttools/fontbakery/blob/main/CHANGELOG.md#${{ steps.date_tag.outputs.VERSION }}-${{ steps.date_tag.outputs.TODAY }})'\n        token: ${{ secrets.GITHUB_TOKEN }}\n        prerelease: true\n        files: ./dist/*.tar.gz\n", "state": "active", "repository": "fonttools/fontbakery"}
{"mined_at": "2024-07-15T18:38:12.419203", "created_at": "2023-06-30T05:00:10+02:00", "updated_at": "2023-06-30T07:02:58+02:00", "name": "⚙️ Install & Run", "path": ".github/workflows/install_run.yml", "contents": "# Workflow for testing installing, running, and uninstalling FontBakery\nname: ⚙️ Install & Run\n\non:\n  push:\n    branches:\n      - '**'\n    paths-ignore:\n      - 'docs/**'\n      - '**.md'\n      - '**.txt'\n      - '!requirements*.txt'\n    tags-ignore:\n      - '**'\n\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '**.md'\n      - '**.txt'\n      - '!requirements*.txt'\n\njobs:\n  install-run:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-13, windows-latest]\n        profile:\n          - description: Universal profile on a static font\n            name: universal\n            args: >-\n              -x win_ascent_and_descent\n              -x os2_metrics_match_hhea\n              -x soft_dotted\n              data/test/source-sans-pro/OTF/SourceSansPro-Regular.otf\n              data/test/source-sans-pro/OTF/SourceSansPro-Italic.otf\n          - description: Universal profile on a variable font\n            name: universal\n            args: >-\n              -x win_ascent_and_descent\n              -x os2_metrics_match_hhea\n              -x fsselection\n              -x valid_default_instance_nameids\n              -x soft_dotted\n              data/test/source-sans-pro/VAR/SourceSansVariable-Roman.ttf\n          - description: OpenType profile on a TTC\n            name: opentype\n            args: >-\n              -x tabular_kerning\n              -x style\n              -x family\n              -x monospace\n              data/test/ttc/NotoSerifToto.ttc\n          - description: Font Bureau profile\n            name: fontbureau\n            args: >-\n              -c ots\n              -c ytlc_sanity\n              data/test/fontbureau/ytlcSample.ttf\n          - description: Adobe Fonts profile on a static font\n            name: adobefonts\n            args: >-\n              data/test/source-sans-pro/OTF/SourceSansPro-Regular.otf\n              data/test/source-sans-pro/OTF/SourceSansPro-Italic.otf\n          - description: Adobe Fonts profile on a variable font\n            name: adobefonts\n            args: >-\n              data/test/source-sans-pro/VAR/SourceSansVariable-Roman.ttf\n          - description: UFO profile\n            extras: \".[ufo]\"\n            name: ufo\n            args: --verbose data/test/test.ufo\n          - description: UFO Profile on a designspace\n            extras: \".[ufo]\"\n            name: ufo\n            args: >-\n              -x designspace_has_consistent\n              \"data/test/stupidfont/Stupid Font.designspace\"\n          - description: Shaping checks\n            extras: \".[shaping]\"\n            name: shaping\n            args: data/test/mada/Mada-Regular.ttf\n          - description: Google Fonts\n            extras: \".[googlefonts]\"\n            name: googlefonts\n            args: >-\n              -c canonical_filename\n              -c vendor_id\n              -c glyph_coverage\n              -c name/license\n              -c hinting_impact\n              -c unreachable_glyphs\n              -c contour_count\n              -c outline_colinear_vectors\n              data/test/cabin/Cabin-*.ttf\n          - description: Fontwerk\n            extras: \".[fontwerk]\"\n            name: fontwerk\n            args: >-\n              -c weight_class_fvar\n              -c inconsistencies_between_fvar_stat\n              -c style_linking\n              -c consistent_axes\n              -c metadata/parses\n              -c usweightclass\n              data/test/source-sans-pro/VAR/SourceSansVariable-Roman.ttf      \n          - description: Noto fonts\n            extras: \".[notofonts]\"\n            name: notofonts\n            args: >-\n              -c unicode_range_bits\n              -c noto_trademark\n              -c noto_vendor\n              -c alien_codepoints\n              -c tnum_horizontal_metrics\n              -c control_chars\n              -c canonical_filename\n              data/test/notosanskhudawadi/NotoSansKhudawadi-Regular.ttf\n          - description: Type Network\n            extras: \".[typenetwork]\"\n            name: typenetwork\n            args: >-\n              -c glyph_coverage\n              -c vertical_metrics\n              -c font_is_centered_vertically\n              -c family/tnum_horizontal_metrics\n              -c family/equal_numbers_of_glyphs\n              data/test/cabin/Cabin-Regular.ttf data/test/cabin/Cabin-Italic.ttf\n  \n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 0  # unshallow fetch for setuptools-scm (otherwise the version is always 0.1.dev1)\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n        cache: 'pip' # caching pip dependencies\n\n    - name: Install FontBakery (no extras)\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install .\n        fontbakery -h\n        fontbakery --version\n    \n    - name: Install any extras\n      if: ${{ matrix.profile.extras }}\n      run: |\n        python -m pip install ${{ matrix.profile.extras }}\n\n    - name: Run ${{matrix.profile.description}}\n      run: >-\n        fontbakery check-${{ matrix.profile.name }}\n        --error-code-on ERROR\n        ${{ matrix.profile.args }}\n", "state": "active", "repository": "fonttools/fontbakery"}
{"mined_at": "2024-07-15T18:38:13.553437", "created_at": "2023-06-22T03:09:23+02:00", "updated_at": "2023-06-30T06:56:24+02:00", "name": "🧑‍🔬 Lint & Test", "path": ".github/workflows/lint_test.yml", "contents": "name: 🧑‍🔬 Lint & Test\n\non:\n  push:\n    branches:\n      - '**'\n    paths-ignore:\n      - 'docs/**'\n      - '**.md'\n      - '**.txt'\n      - '!requirements*.txt'\n    tags-ignore:\n      - '**'\n\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '**.md'\n      - '**.txt'\n      - '!requirements*.txt'\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0  # unshallow fetch for setuptools-scm (otherwise the version is always 0.1.dev1)\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n        cache: 'pip' # caching pip dependencies\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        # For pytype we need everything\n        python -m pip install .[tests,docs]\n        python -m pip install glyphsLib\n        python -m pip install pytype # Not in requirements as it doesn't work on Windows\n\n    - name: Run black, pylint and pytype\n      run: |\n        black . --check --diff --color\n        pylint --recursive=true Lib tests\n        pytype\n\n\n  test:\n    needs: lint\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-13, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0  # unshallow fetch for setuptools-scm (otherwise the version is always 0.1.dev1)\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip' # caching pip dependencies\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install .[tests,docs]\n        python -m pip freeze --all\n\n    - name: Install FontBakery\n      run: |\n        python -m pip install . --use-pep517\n\n    - name: Test with pytest\n      run: |\n        python -m pytest\n\n    - name: Run coverage (only Ubuntu/Python 3.10)\n      if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'\n      run: |\n        python -m pytest --quiet --cov\n\n    - name: Ensure documentation can build (only Ubuntu/Python 3.10)\n      if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'\n      run: |\n        cd docs; make html\n", "state": "active", "repository": "fonttools/fontbakery"}
{"mined_at": "2024-07-15T18:38:14.684703", "created_at": "2023-08-10T00:13:39+02:00", "updated_at": "2023-08-10T00:13:39+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "fonttools/fontbakery"}
{"mined_at": "2024-07-15T18:38:15.691661", "created_at": "2022-02-11T11:42:13+01:00", "updated_at": "2022-02-11T11:42:13+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "fonttools/fontbakery"}
{"mined_at": "2024-07-15T18:38:17.729607", "created_at": "2023-08-16T06:42:46+02:00", "updated_at": "2023-08-16T06:54:22+02:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": "name: Lint\n\non: [pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: psf/black@stable\n        with:\n          options: \"--check --verbose\"\n          src: \".\"\n          jupyter: true\n", "state": "active", "repository": "confident-ai/deepeval"}
{"mined_at": "2024-07-15T18:38:18.783210", "created_at": "2023-09-30T07:48:48+02:00", "updated_at": "2023-11-03T16:44:02+01:00", "name": "DeepEval Test Run with Enhanced Configuration", "path": ".github/workflows/deepeval-results.yml", "contents": "name: DeepEval Test Run with Enhanced Configuration\n\non:\n  push:\n  pull_request:\n\npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n\n      # - name: Load cached venv\n      #   id: cached-poetry-dependencies\n      #   uses: actions/cache@v3\n      #   with:\n      #     path: .venv\n      #     key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction\n\n      - name: List Installed Packages\n        run: poetry run pip list\n\n      - name: Check if 'deepeval' script is available\n        run: ls -l $(poetry env info --path)/bin/deepeval || echo \"deepeval script not found\"\n\n      - name: Run deepeval login\n        env:\n          CONFIDENT_API_KEY: ${{ secrets.CONFIDENT_API_KEY }}\n        run: poetry run deepeval login --confident-api-key \"$CONFIDENT_API_KEY\"\n\n      - name: Run deepeval tests and capture output\n        run: poetry run deepeval test run tests/test_deployment.py > output.txt 2>&1\n\n      - name: Display output.txt\n        if: always()\n        run: cat output.txt\n\n      - name: Remove ANSI codes from output\n        run: sed -i -r \"s/\\x1B\\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g\" output.txt\n\n      - name: Save test results to environment variable\n        run: echo \"test_result<<EOF\" >> $GITHUB_ENV && cat output.txt >> $GITHUB_ENV && echo \"EOF\" >> $GITHUB_ENV\n", "state": "active", "repository": "confident-ai/deepeval"}
{"mined_at": "2024-07-15T18:38:19.810078", "created_at": "2023-10-03T02:53:20+02:00", "updated_at": "2023-10-03T02:53:20+02:00", "name": "Run pytest in matrix", "path": ".github/workflows/test-3-11.yml", "contents": null, "state": "active", "repository": "confident-ai/deepeval"}
{"mined_at": "2024-07-15T18:38:20.784716", "created_at": "2023-09-24T23:20:08+02:00", "updated_at": "2023-11-09T07:26:24+01:00", "name": "Run pytest in matrix", "path": ".github/workflows/test-no-login.yml", "contents": null, "state": "active", "repository": "confident-ai/deepeval"}
{"mined_at": "2024-07-15T18:38:21.829741", "created_at": "2023-08-16T08:18:11+02:00", "updated_at": "2023-11-09T07:26:26+01:00", "name": "Run All Tests with Poetry", "path": ".github/workflows/test.yml", "contents": "name: Run All Tests with Poetry\n\non:\n  push:\n  pull_request:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      #----------------------------------------------\n      #       check-out repo and set-up python\n      #----------------------------------------------\n      - name: Check out repository\n        uses: actions/checkout@v3\n      - name: Set up python\n        id: setup-python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      #----------------------------------------------\n      #  -----  install & configure poetry  -----\n      #----------------------------------------------\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      #----------------------------------------------\n      #       load cached venv if cache exists\n      #----------------------------------------------\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      #----------------------------------------------\n      # install dependencies if cache does not exist\n      #----------------------------------------------\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        run: poetry install --no-interaction --no-root\n      #----------------------------------------------\n      # install your root project, if required\n      #----------------------------------------------\n\n      - name: Install project\n        run: poetry install --no-interaction\n\n      - name: Set NLTK_DATA\n        run: echo \"NLTK_DATA=${{ runner.workspace }}/nltk_data\" >> $GITHUB_ENV\n\n      - name: Download NLTK resources\n        run: |\n          source .venv/bin/activate\n          python -m nltk.downloader punkt stopwords\n\n      #----------------------------------------------\n      #              run test suite\n      #----------------------------------------------\n      - name: Run tests\n        env:\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n        run: |\n          poetry run pytest tests/ --ignore=tests/test_deployment.py\n", "state": "active", "repository": "confident-ai/deepeval"}
{"mined_at": "2024-07-15T18:38:23.994642", "created_at": "2023-05-12T22:07:27+02:00", "updated_at": "2023-06-02T15:46:14+02:00", "name": "main_workflow", "path": ".github/workflows/common_checks.yaml", "contents": "name: main_workflow\n\non:\n  push:\n    branches:\n      - develop\n      - main\n  pull_request:\n\njobs:\n  lock_check:\n    continue-on-error: False\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest, macos-latest, windows-latest ]\n        python-version: [ \"3.10\" ]\n        poetry-version: [\"1.3.2\"]\n    timeout-minutes: 10\n    defaults:\n      run:\n        shell: bash\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install and configure Poetry\n      uses: snok/install-poetry@v1\n      with:\n        version: ${{ matrix.poetry-version }}\n        virtualenvs-create: true\n        virtualenvs-in-project: false\n        virtualenvs-path: ~/my-custom-path\n        installer-parallel: true\n    - name: Check if dependencies can be locked\n      run: poetry lock --check\n    - name: Poetry install requirements and check they can be locked\n      run: poetry install --all-extras --no-interaction -vvv\n\n  copyright_and_dependencies_check:\n    continue-on-error: False\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ \"3.10\" ]\n\n    timeout-minutes: 30\n\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run:  |\n        sudo apt-get update --fix-missing\n        sudo apt-get autoremove\n        sudo apt-get autoclean\n        pip install tomte[tox,cli]==0.2.15\n        pip install --user --upgrade setuptools\n    - name: Check copyright headers\n      run: tomte check-copyright --author valory --exclude-part abci --exclude-part http_client --exclude-part ipfs --exclude-part ledger --exclude-part p2p_libp2p_client --exclude-part gnosis_safe --exclude-part gnosis_safe_proxy_factory --exclude-part multisend --exclude-part service_registry --exclude-part protocols --exclude-part abstract_abci --exclude-part abstract_round_abci --exclude-part registration_abci --exclude-part reset_pause_abci --exclude-part termination_abci --exclude-part transaction_settlement_abci --exclude-part websocket_client --exclude-part contract_subscription\n    - name: License compatibility check\n      run: tox -e liccheck\n# TODO: reactivate once false positives are fixed\n#    - name: Check dependencies\n#      run: tox -e check-dependencies\n    - name: Check doc links\n      run: tomte check-doc-links\n    - name: Check doc IPFS hashes\n      run: tox -e check-doc-hashes\n\n  linter_checks:\n    continue-on-error: False\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ \"3.10\" ]\n\n    timeout-minutes: 30\n\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/setup-go@v3\n      with:\n        go-version: \"1.17.7\"\n    - name: Install dependencies\n      run:  |\n        sudo apt-get update --fix-missing\n        sudo apt-get autoremove\n        sudo apt-get autoclean\n        pip install tomte[tox,cli]==0.2.15\n        pip install --user --upgrade setuptools\n\n        # install Protobuf compiler\n        wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-linux-x86_64.zip\n        unzip protoc-24.3-linux-x86_64.zip -d protoc\n        sudo mv protoc/bin/protoc /usr/local/bin/protoc\n\n        # install IPFS\n        sudo apt-get install -y wget\n        wget -O ./go-ipfs.tar.gz https://dist.ipfs.io/go-ipfs/v0.6.0/go-ipfs_v0.6.0_linux-amd64.tar.gz\n        tar xvfz go-ipfs.tar.gz\n        sudo mv go-ipfs/ipfs /usr/local/bin/ipfs\n        ipfs init\n\n        # Install `mdspell` for spelling checks\n        sudo npm install -g markdown-spellcheck\n        make protolint_install\n\n    - name: Check generate protocols\n      run: echo \"Skipped...\" # tox -e check-generate-all-protocols\n    - name: Security checks\n      run: tomte check-security\n    - name: Check packages\n      run: tox -e check-packages\n    - name: Check hash\n      run: tox -e check-hash\n    - name: Code checks\n      run: tomte check-code\n    - name: Check spelling\n      run: tomte check-spelling\n    - name: AbciApp consistency checks\n      run: |\n        tox -e check-abci-docstrings\n        tox -e check-abciapp-specs\n        # tox -e check-handlers\n        # ignore for now due to https://github.com/valory-xyz/open-autonomy/issues/1988\n        # tox -e analyse-service\n\n  scan:\n    name: gitleaks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-go@v3\n        with:\n          go-version: \"1.17.7\"\n      - run: |\n          wget https://github.com/zricethezav/gitleaks/releases/download/v8.10.1/gitleaks_8.10.1_linux_x64.tar.gz && \\\n          tar -xzf gitleaks_8.10.1_linux_x64.tar.gz && \\\n          sudo install gitleaks /usr/bin && \\\n          gitleaks detect --report-format json --report-path leak_report -v\n\n  tools_checks:\n    environment: 'ci'\n    continue-on-error: False\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ \"3.10\" ]\n\n    timeout-minutes: 120\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get update --fix-missing\n          sudo apt-get autoremove\n          sudo apt-get autoclean\n          pip install tomte[tox,cli]==0.2.15\n          pip install --user --upgrade setuptools\n      - name: Tool unit tests\n        env:\n          OPENAI_SECRET_KEY: ${{ secrets.OPENAI_API_KEY }}\n          STABILITY_API_KEY: ${{ secrets.STABILITY_AI_KEY }}\n          GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}\n          GOOGLE_ENGINE_ID: ${{ vars.GOOGLE_ENGINE_ID }}\n          CLAUDE_API_KEY: ${{ secrets.CLAUDE_API_KEY }}\n          REPLICATE_API_KEY: ${{ secrets.REPLICATE_API_KEY }}\n          NEWS_API_KEY: ${{ secrets.NEWS_API_KEY }}\n          OPENROUTER_API_KEY: ${{ secrets.OPEN_ROUTER_API_KEY }}\n          GNOSIS_RPC_URL: ${{ secrets.GNOSIS_RPC_URL }}\n          GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}\n        run: |\n          printenv\n          tox -e check-tools", "state": "active", "repository": "valory-xyz/mech"}
{"mined_at": "2024-07-15T18:38:25.005524", "created_at": "2024-02-07T17:07:10+01:00", "updated_at": "2024-02-07T17:07:10+01:00", "name": "force release", "path": ".github/workflows/release copy.yaml", "contents": null, "state": "active", "repository": "valory-xyz/mech"}
{"mined_at": "2024-07-15T18:38:26.104555", "created_at": "2023-05-13T11:47:42+02:00", "updated_at": "2023-05-13T11:47:42+02:00", "name": "Release Flow", "path": ".github/workflows/release.yaml", "contents": "name: Release Flow\n\non:\n  release:\n    types: [prereleased, released]\n\njobs:\n  publish-packages:\n    name: Push Packages\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-versions }}\n      - uses: addnab/docker-run-action@v3\n        with:\n            image: valory/open-autonomy-user:latest\n            options: -v ${{ github.workspace }}:/work\n            run: |\n              echo \"Pushing Packages\"\n              cd /work\n              export AUTHOR=$(grep 'service' packages/packages.json | awk -F/ '{print $2}' | head -1)\n              autonomy init --reset --author $AUTHOR --ipfs --remote\n              autonomy push-all\n  publish-images:\n    name: Publish Docker Images\n    runs-on: ${{ matrix.os }}\n    needs:\n      - \"publish-packages\"\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n    env:\n        DOCKER_USER: ${{secrets.DOCKER_USER}}\n        DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up tag and vars\n        uses: addnab/docker-run-action@v3\n        with:\n            image: valory/open-autonomy-user:latest\n            options: -v ${{ github.workspace }}:/work\n            run: |\n              echo \"Setting Tag Images\"\n              cd /work\n              apt-get update && apt-get install git -y || exit 1\n              git config --global --add safe.directory /work\n              export TAG=$(git describe --exact-match --tags $(git rev-parse HEAD)) || exit 1\n              if [ $? -eq 0 ]; then\n                  export TAG=`echo $TAG | sed 's/^v//'`\n              else\n                  echo \"You are not on a tagged branch\"\n                  exit 1\n              fi\n              echo VERSION=$TAG> env.sh\n              echo AUTHOR=$(grep 'service' packages/packages.json | awk -F/ '{print $2}' | head -1) >> env.sh\n              echo SERVICE=$(grep 'service' packages/packages.json | awk -F/ '{print $3}' | head -1) >> env.sh\n              echo AGENT=$(grep 'agent' packages/packages.json | awk -F/ '{print $3}' | head -1) >> env.sh\n              echo DEFAULT_IMAGE_TAG=$(cat packages/packages.json | grep agent | awk -F: '{print $2}' | tr -d '\", ' | head -n 1) >> env.sh\n              cat env.sh\n\n      - uses: addnab/docker-run-action@v3\n        name: Build Images\n        with:\n            image: valory/open-autonomy-user:latest\n            options: -v ${{ github.workspace }}:/work\n            shell: bash\n            run: |\n              echo \"Building Docker Images\"\n              cd /work\n              source env.sh || exit 1\n              pip install requests==2.28.1\n              echo \"Building images for $AUTHOR for service $SERVICE\"\n              autonomy init --reset --author $AUTHOR --ipfs --remote\n              autonomy fetch $AUTHOR/$SERVICE --service --local || exit 1\n              cd $SERVICE || exit 1\n              autonomy build-image || exit 1\n              autonomy build-image --version $VERSION || exit 1\n\n      - name: Docker login\n        run: |\n            echo  $DOCKER_PASSWORD | docker login -u $DOCKER_USER --password-stdin\n      - name: Docker Push\n        run: |\n          source env.sh\n          echo \"Pushing $DOCKER_USER/oar-$AGENT:$VERSION\"\n          echo \"Pushing $DOCKER_USER/oar-$AGENT:$DEFAULT_IMAGE_TAG\"\n          docker push $DOCKER_USER/oar-$AGENT:$VERSION\n          docker push $DOCKER_USER/oar-$AGENT:$DEFAULT_IMAGE_TAG\n  deploy-service-on-propel:\n    name: Deploy service on propel\n    environment: ${{ fromJSON('[[\"staging\", \"staging\"], [\"production\", \"shorts_production\"]]')[github.event.action == 'released'][endsWith(github.event.release.name, '(shorts)')] }}\n    needs:\n    - \"publish-packages\"\n    - \"publish-images\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n    env:\n      CMD: \"propel -U ${{ vars.PROPEL_BASE_URL }}\"\n    steps:\n      - uses: actions/checkout@master\n      - uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-versions }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get update --fix-missing\n          sudo apt-get autoremove\n          sudo apt-get autoclean\n          python -m pip install --upgrade pip\n          pip install propel-client open-autonomy\n\n      - name: Make use proxy instead of actual nlb by dns override\n        run: |\n          # for staging\n          export IP_ADDR=$(dig +short balancer.tcp.propel.staging.autonolas.tech)\n          echo -e \"\\n$IP_ADDR\\tapp.propel.staging.valory.xyz\\n\"  | sudo tee -a /etc/hosts\n          \n          # for prod\n          export IP_ADDR=$(dig +short balancer.tcp.propel.autonolas.tech)\n          echo -e \"\\n$IP_ADDR\\tapp.propel.valory.xyz\\n\"  | sudo tee -a /etc/hosts\n\n      - name: Login to propel\n        run: |\n          $CMD login -u  '${{ vars.PROPEL_USERNAME }}' -p  '${{ secrets.PROPEL_PASSWORD }}'\n\n      - name: Do a deployment\n        run: |\n          # determine ipfs hash id\n          export IPFS_HASH=$(jq '.dev | to_entries[] | select(.key | startswith(\"service\"))| .value' -r  ./packages/packages.json | head -n1)\n          export SERVICE_PATH=service_for_propel\n\n          # fetch service file and check it published\n          autonomy init --reset --author ci --ipfs --remote\n          autonomy fetch $IPFS_HASH --service --alias $SERVICE_PATH\n\n          # get env vars from github actions\n          echo '${{ toJSON(secrets) }}' | jq -r 'to_entries|map(\"export \\(.key)=\\(.value|tojson)\")|.[]' > github.vars\n          echo >> github.vars\n          echo '${{ toJSON(vars) }}' | jq -r 'to_entries|map(\"export \\(.key)=\\(.value|tojson)\")|.[]' >> github.vars\n          source github.vars\n          $CMD service deploy --name  '${{ vars.SERVICE_NAME }}'  --service-dir $SERVICE_PATH --service-ipfs-hash $IPFS_HASH  --ingress-enabled true --keys '${{ vars.SERVICE_KEYS }}' --timeout 320\n", "state": "active", "repository": "valory-xyz/mech"}
{"mined_at": "2024-07-15T18:38:27.112333", "created_at": "2024-02-06T09:22:43+01:00", "updated_at": "2024-02-06T09:22:43+01:00", "name": "release", "path": ".github/workflows/test_release.yaml", "contents": null, "state": "active", "repository": "valory-xyz/mech"}
{"mined_at": "2024-07-15T18:38:30.450706", "created_at": "2023-12-15T23:54:23+01:00", "updated_at": "2023-12-15T23:54:23+01:00", "name": "All Bug Reproduction", "path": ".github/workflows/all_bug_reproduction.yaml", "contents": "name: All Bug Reproduction\non:\n  schedule:\n    - cron: '0 0 * * 0'  # Run every Sunday at 00:00 UTC\n  workflow_dispatch:\njobs:\n  bug_reproduction:\n    timeout-minutes: 1440\n    runs-on: [self-hosted, Linux, X64]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-go@v4\n        with:\n          go-version: '1.20.5'\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n          make\n      - name: Create profile dir with 777 mode\n        run: |\n          mkdir -m 777 -p profile/data\n      - name: Run bug reproduction\n        run: |\n          python -m pytest test/e2e_tests -m \"all_bug_reproduction\" -s\n", "state": "active", "repository": "xlab-uiuc/acto"}
{"mined_at": "2024-07-15T18:38:31.564603", "created_at": "2022-08-24T10:21:01+02:00", "updated_at": "2022-08-24T10:21:01+02:00", "name": "counter", "path": ".github/workflows/counter.yml", "contents": "name: counter\non:\n  # Triggers the workflow on push or pull request events but only for the \"main\" branch\n  push:\n    branches: [ \"main\" ]\n  workflow_dispatch:\n\njobs:\n  conditional_job_check_files:\n    runs-on: 'ubuntu-20.04'\n    # Declare outputs for next jobs\n    outputs:\n      docs_changed: ${{ steps.check_file_changed.outputs.docs_changed }}\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        # Checkout as many commits as needed for the diff\n        fetch-depth: 2\n    - shell: pwsh\n      id: check_file_changed\n      run: |\n        # Diff HEAD with the previous commit\n        $diff = git diff --name-only HEAD^ HEAD\n\n        # Check if a file under docs/ or with the .md extension has changed (added, modified, deleted)\n        $SourceDiff = $diff | Where-Object { $_ -match 'bugs.md$' }\n        $HasDiff = $SourceDiff.Length -gt 0\n\n        # Set the output named \"docs_changed\"\n        Write-Host \"::set-output name=docs_changed::$HasDiff\"\n\n  # Run the job only with \"docs_changed\" equals \"True\"\n  conditional_job:\n    runs-on: 'ubuntu-20.04'\n    needs: [ conditional_job_check_files ]\n    if: needs.conditional_job_check_files.outputs.docs_changed == 'True'\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v2\n    - name: 'Set up Python'\n      uses: actions/setup-python@v4\n      with:\n          python-version: '3.10'\n    - name: Change bugs.md\n      shell: bash\n      run: python3 .github/workflows/bug_counter.py\n\n    - name: Check if bugs.md is changed by the script\n      id: verify_diff\n      run: |\n        git diff --quiet bugs.md || echo \"::set-output name=are_bugs_changed::true\"\n\n    - name: Commit files\n      if: needs.conditional_job_check_files.outputs.docs_changed == 'True' || github.event_name == 'workflow_dispatch'\n      run: |\n        git config --local user.name github-actions[bot]\n        git config --local user.email github-actions[bot]@users.noreply.github.com\n        git status\n        git add bugs.md\n        git commit -m \"update: bug number\"\n        git log\n        git push\n", "state": "active", "repository": "xlab-uiuc/acto"}
{"mined_at": "2024-07-15T18:38:32.818856", "created_at": "2023-08-15T04:14:20+02:00", "updated_at": "2023-08-17T23:27:46+02:00", "name": "End-to-End Test", "path": ".github/workflows/e2e-test.yml", "contents": "name: End-to-End Test\non:\n  pull_request:\n  workflow_dispatch:\njobs:\n  bug_reproduction:\n    timeout-minutes: 60\n    runs-on: [self-hosted, Linux, X64]\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-go@v4\n        with:\n          go-version: '1.20.5'\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n          make\n      - name: Create profile dir with 777 mode\n        run: |\n          mkdir -m 777 -p profile/data\n      - name: Run bug reproduction\n        run: |\n          python -m pytest test/e2e_tests -m \"single_bug_reproduction\" -s\n", "state": "active", "repository": "xlab-uiuc/acto"}
{"mined_at": "2024-07-15T18:38:34.033738", "created_at": "2023-10-16T09:20:58+02:00", "updated_at": "2023-11-13T23:56:26+01:00", "name": "Kubernetes Engine Test", "path": ".github/workflows/kubernetes_engine_test.yaml", "contents": "name: Kubernetes Engine Test\non:\n  push:\n    paths:\n      - acto/kubernetes_engine/**\n  workflow_dispatch:\njobs:\n  KubernetesEngineTest:\n    runs-on:  ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-go@v4\n        with:\n          go-version: '1.20.5'\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n          make\n      - name: Install Kind\n        run: |\n          go install sigs.k8s.io/kind@v0.20.0\n      - name: Install minikube\n        run: |\n          curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64\n          sudo install minikube-linux-amd64 /usr/local/bin/minikube\n      - name: Run KubernetesEngineTest\n        run: |\n          pytest -m \"kubernetes_engine\"\n", "state": "active", "repository": "xlab-uiuc/acto"}
{"mined_at": "2024-07-15T18:38:35.052774", "created_at": "2023-06-10T08:07:41+02:00", "updated_at": "2023-06-20T09:51:55+02:00", "name": "Regression Test", "path": ".github/workflows/unittest.yaml", "contents": "name: Regression Test\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch:\njobs:\n  unittest:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n      - name: Install Packages\n        run: pip install codespell flake8\n      - name: Check Spelling\n        run: codespell --skip=\"./data\"|| true\n      - name: Check Syntax Error\n        run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n      - uses: actions/setup-go@v4\n        with:\n          go-version: '1.20.5'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n          make\n      - name: Run unittest\n        run: >\n          COVERAGE_FILE=.coverage.${{ github.sha }}.unittest\n          pytest acto\n          --junitxml=pytest.xml\n          --cov-report=\n          --cov=acto\n      - name: Upload coverage\n        uses: actions/upload-artifact@v4\n        with:\n          name: .coverage.${{ github.sha }}.unittest\n          path: .coverage.${{ github.sha }}.unittest\n          retention-days: 1\n  integration-test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n      - name: Install Packages\n        run: pip install codespell flake8\n      - name: Check Spelling\n        run: codespell --skip=\"./data\"|| true\n      - name: Check Syntax Error\n        run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n      - uses: actions/setup-go@v4\n        with:\n          go-version: '1.20.5'\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements-dev.txt\n          make\n      - name: Run integration test\n        run: >\n          COVERAGE_FILE=.coverage.${{ github.sha }}.integration-test\n          pytest test/integration_tests\n          --junitxml=pytest.xml\n          --cov-report=\n          --cov=acto\n      - name: Upload coverage\n        uses: actions/upload-artifact@v4\n        with:\n          name: .coverage.${{ github.sha }}.integration-test\n          path: .coverage.${{ github.sha }}.integration-test\n          retention-days: 1\n  coverage-report:\n    runs-on: ubuntu-latest\n    needs: [unittest, integration-test]\n    permissions:\n      pull-requests: write\n      contents: write\n    steps:\n      - uses: actions/checkout@v3\n      - name: Download unittest coverage\n        uses: actions/download-artifact@v4\n        with:\n          name: .coverage.${{ github.sha }}.unittest\n      - name: Download integration test coverage\n        uses: actions/download-artifact@v4\n        with:\n          name: .coverage.${{ github.sha }}.integration-test\n      - name: Merge coverage files\n        run: |\n          pip install coverage\n          coverage combine\n      - name: list files\n        run: ls -al\n      - name: Coverage comment\n        uses: py-cov-action/python-coverage-comment-action@v3\n        with:\n          GITHUB_TOKEN: ${{ github.token }}\n          ANNOTATE_MISSING_LINES: true\n", "state": "active", "repository": "xlab-uiuc/acto"}
{"mined_at": "2024-07-15T18:38:37.224450", "created_at": "2022-07-06T17:29:39+02:00", "updated_at": "2022-07-22T01:14:27+02:00", "name": "ci", "path": ".github/workflows/ci.yaml", "contents": "# Workflow file for continuous integration\n# Conda environment is caches to avoid long wait times for CI\n# Based on code from: https://github.com/epassaro/cache-conda-envs/blob/main/.github/workflows/ci.yml\n# Based on code from: https://github.com/marketplace/actions/setup-miniconda\n\nname: ci\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: psf/black@stable\n  build:\n    name: linux-64\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n    - name: Checkout project\n      uses: actions/checkout@v2\n    - name: Setup miniconda\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n          auto-activate-base: false\n          activate-environment: climakitae-tests\n          environment-file: conda-linux-64.lock\n          use-only-tar-bz2: true\n    - name: Output conda info\n      run: conda info\n    - name: Install pip packages\n      run: pip install dask-gateway==2023.1.1 dask-geopandas==0.3.1 xclim==0.42.0\n    - name: Install climakitae\n      run: pip install .\n    - name: Output conda list\n      run: conda list\n    - name: Test with pytest\n      run: pytest --no-header -vv\n", "state": "active", "repository": "cal-adapt/climakitae"}
{"mined_at": "2024-07-15T18:38:39.323097", "created_at": "2021-08-27T16:33:55+02:00", "updated_at": "2021-08-27T16:33:55+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ master ]\n  schedule:\n    - cron: '28 6 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "subzeroid/instagrapi"}
{"mined_at": "2024-07-15T18:38:40.468700", "created_at": "2020-10-19T00:33:58+02:00", "updated_at": "2021-02-26T08:00:42+01:00", "name": "Package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Package\n\non:\n  push:\n    branches: [ \"master\" ]\n  pull_request: {}\n\nenv:\n  PYTHON_VERSION: \"3.9.14\"\n\njobs:\n  bandit:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install dependencies\n        uses: ./.github/actions/install-dependencies\n        with:\n          test-requirements: \"true\"\n\n      - name: Run bandit\n        run: bandit --ini .bandit -r instagrapi\n\n  flake8:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install dependencies\n        uses: ./.github/actions/install-dependencies\n        with:\n          test-requirements: \"true\"\n\n      - name: Run flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --statistics\n  isort:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install dependencies\n        uses: ./.github/actions/install-dependencies\n        with:\n          requirements: \"true\"\n          test-requirements: \"true\"\n\n      - name: Run isort\n        run: isort --check-only instagrapi\n\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ \"3.10\" ]\n    env:\n      TEST_ACCOUNTS_URL: ${{ secrets.TEST_ACCOUNTS_URL }}\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        uses: ./.github/actions/install-dependencies\n        with:\n          requirements: \"true\"\n          test-requirements: \"true\"\n      - name: Run media test\n        run: pytest -sv tests.py::ClientMediaTestCase\n      - name: Run user test\n        run: pytest -sv tests.py::ClientUserTestCase\n      # - name: Run comment test\n      #   run: pytest -sv tests.py::ClientCommentTestCase\n      # - name: Run location test\n      #   run: pytest -sv tests.py::ClientLocationTestCase\n      # - name: Run hashtag test\n      #   run: pytest -sv tests.py::ClientHashtagTestCase\n      # - name: Run share test\n      #   run: pytest -sv tests.py::ClientShareTestCase\n      - name: Run highlight test\n        run: pytest -sv tests.py::ClientHighlightTestCase\n\n  build-docs:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request'\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Install dependencies\n        uses: ./.github/actions/install-dependencies\n        with:\n          requirements: \"true\"\n          test-requirements: \"true\"\n\n      - name: Build Docs\n        run: mkdocs build --strict\n\n      # upload artifact for dev build\n      - name: Upload coverage results artifact\n        if: github.ref != 'refs/heads/main'\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs-site\n          path: site/\n\n  update-dev-docs:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push' && github.ref == 'refs/heads/main'\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n\n      - name: Install dependencies\n        uses: ./.github/actions/install-dependencies\n        with:\n          requirements: \"true\"\n          test-requirements: \"true\"\n\n      - name: Push documentaiton changes\n        uses: ./.github/actions/publish-docs-with-mike\n        with:\n          version_name: dev\n", "state": "active", "repository": "subzeroid/instagrapi"}
{"mined_at": "2024-07-15T18:38:41.445926", "created_at": "2021-12-26T15:04:10+01:00", "updated_at": "2021-12-26T15:04:10+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "subzeroid/instagrapi"}
{"mined_at": "2024-07-15T18:38:43.762283", "created_at": "2023-09-07T08:25:53+02:00", "updated_at": "2023-09-07T12:48:10+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - \"v*\"\n\nenv:\n  DOCKERHUB_REPO: dataelement/\n  \nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_bisheng_langchain:\n    runs-on: ubuntu-latest\n    #if: startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - name: checkout\n        uses: actions/checkout@v2\n      \n      - name: Get version\n        id: get_version\n        run: |\n          echo ::set-output name=VERSION::${GITHUB_REF/refs\\/tags\\//}\n      \n      - name: Set Environment Variable\n        run: echo \"RELEASE_VERSION=${{ steps.get_version.outputs.VERSION }}\" >> $GITHUB_ENV\n\n      # 构建 bisheng_langchain\n      - name: Set python version 3.8\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n\n      - name: Build PyPi bisheng-langchain and push\n        id: pypi_build_bisheng_langchain\n        run: |\n          pip install Cython\n          pip install wheel\n          pip install twine\n          cd ./src/bisheng-langchain\n          python setup.py bdist_wheel\n          set +e\n          twine upload dist/* -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PASSWORD }} --repository pypi\n          set -e\n        \n  build_bisheng:\n    needs: build_bisheng_langchain\n    runs-on: ubuntu-latest\n    # if: startsWith(github.event.ref, 'refs/tags')\n    steps:\n      - name: checkout\n        uses: actions/checkout@v2\n\n      - name: Get version\n        id: get_version\n        run: |\n          echo ::set-output name=VERSION::${GITHUB_REF/refs\\/tags\\//}\n      \n      - name: Set Environment Variable\n        run: echo \"RELEASE_VERSION=${{ steps.get_version.outputs.VERSION }}\" >> $GITHUB_ENV\n\n      # 登录 docker hub\n      - name: Login to DockerHub\n        uses: docker/login-action@v1\n        with:\n          # GitHub Repo => Settings => Secrets 增加 docker hub 登录密钥信息\n          # DOCKERHUB_USERNAME 是 docker hub 账号名.\n          # DOCKERHUB_TOKEN: docker hub => Account Setting => Security 创建.\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      # - name: Login to DockerHub\n      #   uses: docker/login-action@v1\n      #   with:\n      #     registry: https://cr.dataelem.com/\n      #     username: ${{ secrets.CR_DOCKERHUB_USERNAME }}\n      #     password: ${{ secrets.CR_DOCKERHUB_TOKEN }}\n          \n      # 构建 backend 并推送到 Docker hub\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: install poetry\n        uses: snok/install-poetry@v1\n        with:\n          installer-parallel: true\n      - name: build lock\n        run: | \n          cd ./src/backend\n          pip install bisheng_langchain==$RELEASE_VERSION\n          sed -i 's/^bisheng_langchain.*/bisheng_langchain = \"'$RELEASE_VERSION'\"/g' pyproject.toml\n          poetry lock\n          cd ../../\n\n      - name: Build backend and push\n        id: docker_build_backend\n        uses: docker/build-push-action@v2\n        with:\n          # backend 的context目录\n          context: \"./src/backend/\"\n          # 是否 docker push\n          push: true\n          # docker build arg, 注入 APP_NAME/APP_VERSION\n          platforms: linux/amd64,linux/arm64\n          build-args: |\n            APP_NAME=\"bisheng-backend\"\n            APP_VERSION=${{ steps.get_version.outputs.VERSION }}\n          # 生成两个 docker tag: ${APP_VERSION} 和 latest\n          tags: |\n            ${{ env.DOCKERHUB_REPO }}bisheng-backend:latest\n            ${{ env.DOCKERHUB_REPO }}bisheng-backend:${{ steps.get_version.outputs.VERSION }}\n      # 构建 Docker frontend 并推送到 Docker hub\n      - name: Build frontend and push\n        id: docker_build_frontend\n        uses: docker/build-push-action@v2\n        with:\n          # frontend 的context目录\n          context: \"./src/frontend/\"\n          # 是否 docker push\n          push: true\n          # docker build arg, 注入 APP_NAME/APP_VERSION\n          platforms: linux/amd64,linux/arm64\n          build-args: |\n            APP_NAME=\"bisheng-frontend\"\n            APP_VERSION=${{ steps.get_version.outputs.VERSION }}\n          # 生成两个 docker tag: ${APP_VERSION} 和 latest\n          tags: |\n            ${{ env.DOCKERHUB_REPO }}bisheng-frontend:latest\n            ${{ env.DOCKERHUB_REPO }}bisheng-frontend:${{ steps.get_version.outputs.VERSION }}\n      \n      - name: Process git message\n        id: process_message\n        run: |\n          value=$(echo \"${{ github.event.head_commit.message }}\" | sed -e ':a' -e 'N' -e '$!ba' -e 's/\\n/%0A/g')\n          value=$(echo \"${value}\" | sed -e ':a' -e 'N' -e '$!ba' -e 's/\\r/%0A/g')\n          echo \"message=${value}\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: notify feishu\n        uses: fjogeleit/http-request-action@v1\n        with:\n          url: ${{ secrets.FEISHU_WEBHOOK }}\n          method: 'POST'\n          data: '{\"msg_type\":\"post\",\"content\":{\"post\":{\"zh_cn\":{\"title\": \"${{ steps.get_version.outputs.VERSION }}发布成功\",  \"content\": [[{\"tag\":\"text\",\"text\":\"发布功能：\"},{\"tag\":\"text\",\"text\":\"${{ env.message }}\"}]]}}}}'\n", "state": "active", "repository": "dataelement/bisheng"}
{"mined_at": "2024-07-15T18:38:44.881823", "created_at": "2023-09-11T10:34:57+02:00", "updated_at": "2024-07-15T09:41:17+02:00", "name": ".github/workflows/release.yml", "path": ".github/workflows/release.yml", "contents": "name: release\n\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    branches:\n      - \"release\"\n\nenv:\n  DOCKERHUB_REPO: dataelement/\n  PY_NEXUS: 110.16.193.170:50083\n  DOCKER_NEXUS: 110.16.193.170:50080\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    #if: startsWith(github.event.ref, 'refs/tags')\n    steps:\n      # deploy  \n      - name: checkout\n        uses: actions/checkout@v2 \n\n      - name: Process git message\n        id: process_message\n        run: |\n          value=$(echo \"${{ github.event.head_commit.message }}\" | sed -e ':a' -e 'N' -e '$!ba' -e 's/\\n/%0A/g' )\n          echo \"message=${value}\" >> $GITHUB_ENV\n        shell: bash\n\n      - name: notify feishu\n        uses: fjogeleit/http-request-action@v1\n        with:\n          url: ' https://open.feishu.cn/open-apis/bot/v2/hook/2cfe0d8d-647c-4408-9f39-c59134035c4b'\n          method: 'POST'\n          data: '{\"msg_type\":\"post\",\"content\":{\"post\":{\"zh_cn\":{\"title\": \"${{github.event.pusher.name}}提交代码，开始编译\",  \"content\": [[{\"tag\":\"text\",\"text\":\"发布功能：\"},{\"tag\":\"text\",\"text\":\"${{ env.message }}\"}]]}}}}'\n         \n      - name: Set Environment Variable\n        run: echo \"RELEASE_VERSION=99.99.99\" >> $GITHUB_ENV\n\n      - name: Set python version 3.8\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n\n      - name: Build PyPi bisheng-langchain and push\n        id: pypi_build_bisheng_langchain\n        run: |\n          pip install Cython\n          pip install wheel\n          pip install twine\n          cd ./src/bisheng-langchain\n          python setup.py bdist_wheel\n          repo=\"http://${{ env.PY_NEXUS }}/repository/pypi-hosted/\"\n          twine upload --verbose -u ${{ secrets.NEXUS_USER }}  -p ${{ secrets.NEXUS_PASSWORD }} --repository-url $repo  dist/*.whl\n          cd ../../\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v1\n\n      - name: set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      # 发布到 私有仓库\n      - name: set insecure registry\n        run: |\n          echo \"{ \\\"insecure-registries\\\": [\\\"http://${{ env.DOCKER_NEXUS }}\\\"] }\" | sudo tee /etc/docker/daemon.json\n          sudo service docker restart\n\n      # - name: Set up QEMU\n      #   uses: docker/setup-qemu-action@v1\n      - name: Login Nexus Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: http://${{ env.DOCKER_NEXUS }}/\n          username: ${{ secrets.NEXUS_USER }}\n          password: ${{ secrets.NEXUS_PASSWORD }}\n\n      # 替换poetry编译为私有服务\n      - name: replace self-host repo\n        uses: snok/install-poetry@v1\n        with:\n          installer-parallel: true\n\n      - name: build lock\n        run: |\n          cd ./src/backend\n          sed -i 's/^bisheng_langchain.*/bisheng_langchain = \"'$RELEASE_VERSION'\"/g' pyproject.toml\n          poetry source add --priority=supplemental foo http://${{ secrets.NEXUS_PUBLIC }}:${{ secrets.NEXUS_PUBLIC_PASSWORD }}@${{ env.PY_NEXUS }}/repository/pypi-group/simple\n          poetry lock\n          cd ../../\n\n      # 构建 backend 并推送到 Docker hub\n      - name: Build backend and push\n        id: docker_build_backend\n        uses: docker/build-push-action@v2\n        with:\n          # backend 的context目录\n          context: \"./src/backend/\"\n          # 是否 docker push\n          push: true\n          platforms: linux/amd64,linux/arm64\n          # docker build arg, 注入 APP_NAME/APP_VERSION\n          build-args: |\n            APP_NAME=\"bisheng-backend\"\n            APP_VERSION=\"release\"\n          # 生成两个 docker tag: ${APP_VERSION} 和 latest\n          tags: |\n            ${{ env.DOCKER_NEXUS }}/${{ env.DOCKERHUB_REPO }}bisheng-backend:release\n      # 构建 Docker frontend 并推送到 Docker hub\n      - name: Build frontend and push\n        id: docker_build_frontend\n        uses: docker/build-push-action@v2\n        with:\n          # frontend 的context目录\n          context: \"./src/frontend/\"\n          # 是否 docker push\n          push: true\n          platforms: linux/amd64,linux/arm64\n          # docker build arg, 注入 APP_NAME/APP_VERSION\n          build-args: |\n            APP_NAME=\"bisheng-frontend\"\n            APP_VERSION=\"release\"\n          # 生成两个 docker tag: ${APP_VERSION} 和 latest\n          tags: |\n            ${{ env.DOCKER_NEXUS }}/${{ env.DOCKERHUB_REPO }}bisheng-frontend:release\n      # deploy\n      - name: notify feishu\n        uses: fjogeleit/http-request-action@v1\n        with:\n          url: ' https://open.feishu.cn/open-apis/bot/v2/hook/2cfe0d8d-647c-4408-9f39-c59134035c4b'\n          method: 'POST'\n          data: '{\"msg_type\":\"text\",\"content\":{\"text\":\"release 编译成功, 准备部署\"}}'\n\n      - name: Deploy Stage\n        uses: fjogeleit/http-request-action@v1\n        with:\n          timeout: 200000\n          url: 'https://bisheng.dataelem.com/deploy/cgi-bin/deploy_script.py'\n          method: 'GET'\n      \n      - name: notify feishu\n        uses: fjogeleit/http-request-action@v1\n        with:\n          url: ' https://open.feishu.cn/open-apis/bot/v2/hook/2cfe0d8d-647c-4408-9f39-c59134035c4b'\n          method: 'POST'\n          data: '{\"msg_type\":\"text\",\"content\":{\"text\":\"release 部署成功\"}}'\n", "state": "active", "repository": "dataelement/bisheng"}
{"mined_at": "2024-07-15T18:38:47.045563", "created_at": "2021-04-06T08:57:50+02:00", "updated_at": "2021-04-06T08:57:50+02:00", "name": "main", "path": ".github/workflows/main.yaml", "contents": "name: main\n\non:\n  push:\n    branches: [ main, develop ]\n  pull_request:\n    branches: [ main, develop ]\n\njobs:\n  tii-deb-build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        ros2_distro: [ humble ]\n    steps:\n\n      - name: Checkout mesh_com\n        uses: actions/checkout@v2\n        with:\n          path: mesh_com\n\n      - name: Run mesh_com docker build\n        env:\n          ROS: 1\n          ROS_DISTRO: ${{ matrix.ros2_distro }}\n          PACKAGE_NAME: mesh_com\n        run: |\n          set -eux\n          mkdir bin\n          pushd mesh_com\n          ./build.sh ../bin/\n          popd\n\n      - uses: jfrog/setup-jfrog-cli@v2\n        env:\n          JF_ARTIFACTORY_1: ${{ secrets.ARTIFACTORY_CLOUD_TOKEN }}\n\n      - name: Upload to Artifactory\n        env:\n          ARTIFACTORY_REPO: ssrc-deb-public-local\n          DISTRIBUTION: focal\n          COMPONENT: fog-sw\n          ARCHITECTURE: amd64\n          BUILD_NAME: mesh-com\n          CI: true\n        if: github.event_name == 'push'\n        run: |\n          set -exu\n          jfrog rt ping\n          pkg=$(find bin -name 'ros-${{ matrix.ros2_distro }}-mesh-com*.deb')\n          pkg_name=$(basename $pkg)\n          jfrog rt u --deb \"$DISTRIBUTION/$COMPONENT/$ARCHITECTURE\" \\\n                     --target-props COMMIT=\"$GITHUB_SHA\" \\\n                     --build-name \"$BUILD_NAME\" \\\n                     --build-number \"$GITHUB_SHA\" \\\n                     \"$pkg\" \\\n                     \"$ARTIFACTORY_REPO/$pkg_name\"\n          jfrog rt build-publish \"$BUILD_NAME\" \"$GITHUB_SHA\"\n          jfrog rt bpr \"$BUILD_NAME\" \"$GITHUB_SHA\" \"$ARTIFACTORY_REPO\" \\\n                       --status dev \\\n                       --comment \"development build\"\n", "state": "active", "repository": "tiiuae/mesh_com"}
{"mined_at": "2024-07-15T18:38:48.270583", "created_at": "2022-01-20T08:58:27+01:00", "updated_at": "2022-01-21T10:55:45+01:00", "name": "tii-mesh-com", "path": ".github/workflows/tii-mesh-com.yaml", "contents": "name: tii-mesh-com\n\npermissions:\n  contents: read\n  packages: write\n\non:\n  push:\n    branches: [ main, develop ]\n    tags:\n      - 'v*'\n      - v[0-9]+.[0-9]+.[0-9]+\n      - v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+\n  pull_request:\n\njobs:\n  tii-mesh-com:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          tool-cache: false\n\n      - uses: actions/checkout@v4\n\n      - uses: docker/setup-buildx-action@v3\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: amd64,arm64,riscv64\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ghcr.io/tiiuae/tii-mesh-com\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=sha\n            type=raw,value=latest\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build tii-mesh-com image and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64,linux/riscv64\n          file: ./modules/mesh_com/Dockerfile\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "tiiuae/mesh_com"}
{"mined_at": "2024-07-15T18:38:49.347754", "created_at": "2024-04-03T20:53:01+02:00", "updated_at": "2024-04-03T20:53:01+02:00", "name": "Version File", "path": ".github/workflows/version.yaml", "contents": null, "state": "active", "repository": "tiiuae/mesh_com"}
{"mined_at": "2024-07-15T18:38:51.545557", "created_at": "2023-03-14T21:04:34+01:00", "updated_at": "2023-07-12T16:59:05+02:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n  workflow_call:\n\njobs:\n  pytest:\n    # Containers must run in Linux based operating systems\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Cache environment\n        uses: actions/cache@master\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}/lib/python3.8/site-packages/*\n          key: ${{ runner.os }}-packages_only-${{ hashFiles('pyproject.toml') }}\n      - name: Install dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          pip install -e .[dev]\n\n      - name: Run pytest\n        run: python -m pytest -vv\n\n  mypy:\n    # Containers must run in Linux based operating systems\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n\n      - name: Cache environment\n        uses: actions/cache@master\n        id: cache\n        with:\n          path: ${{ env.pythonLocation }}/lib/python3.8/site-packages/*\n          key: ${{ runner.os }}-packages_only-${{ hashFiles('pyproject.toml') }}\n      - name: Install dependencies\n        if: steps.cache.outputs.cache-hit != 'true'\n        run: |\n          pip install -e .[dev]\n\n      - name: Run mypy\n        run: python -m mypy .\n", "state": "active", "repository": "flairNLP/fundus"}
{"mined_at": "2024-07-15T18:38:52.602300", "created_at": "2023-03-15T16:14:00+01:00", "updated_at": "2023-03-15T16:56:21+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n  workflow_call:\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n        with:\n          options: \"--check\"\n          version: \"23.1.0\"\n\n  isort:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: isort/isort-action@master\n", "state": "active", "repository": "flairNLP/fundus"}
{"mined_at": "2024-07-15T18:38:53.617924", "created_at": "2023-05-29T16:57:03+02:00", "updated_at": "2024-04-19T18:31:14+02:00", "name": "Documentation", "path": ".github/workflows/documentation.yaml", "contents": "name: Documentation\n\non:\n  push:\n    branches:\n      - master\n    paths:\n      # For the current generated documentation, these trigger paths are sufficient.\n      # Long-term, job-level triggers are more appropriate.\n      # https://how.wtf/run-workflow-step-or-job-based-on-file-changes-github-actions.html\n      - src/fundus/publishers/**\n      - scripts/generate_tables.py\n\n  # https://github.com/stefanzweifel/git-auto-commit-action/issues/211#issuecomment-1100105924\n  pull_request_target:\n    paths:\n      - src/fundus/publishers/**\n      - scripts/generate_tables.py\n\n  workflow_dispatch:\n\nenv:\n  PYTHONPATH: .\n  CI_COMMIT_MESSAGE: >-\n    ${{ \n      github.event_name == 'pull_request' \n      && format('Update documentation from @ {0} (#{1})', github.event.pull_request.head.sha, github.event.number) \n      || format('Update documentation from @ {0}', github.sha)\n    }}\n\njobs:\n  supported_publishers:\n    runs-on: ubuntu-latest\n    \n    permissions:\n      contents: write\n\n    steps:\n      - name: Set up Git repository\n        uses: actions/checkout@v4\n    # https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#use-in-forks-from-public-repositories\n        with:\n          # Checkout the fork/head-repository and push changes to the fork.\n          # If you skip this, the base repository will be checked out and changes\n          # will be committed to the base repository!\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n\n          # Checkout the branch made in the fork. Will automatically push changes\n          # back to this branch.\n          ref: ${{ github.head_ref }}\n\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Install Fundus\n        run: pip install -e .[dev]\n\n      - name: Generate 'supported_publishers.md'\n        run: python scripts/generate_tables.py\n\n      - name: Commit changes\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: ${{ env.CI_COMMIT_MESSAGE }}\n          file_pattern: docs\n", "state": "active", "repository": "flairNLP/fundus"}
{"mined_at": "2024-07-15T18:38:54.708808", "created_at": "2023-10-24T22:18:39+02:00", "updated_at": "2024-01-16T13:16:16+01:00", "name": "Publisher Coverage", "path": ".github/workflows/publisher_coverage.yaml", "contents": "name: Publisher Coverage\n\non:\n  schedule:\n    - cron: '0 1 * * *'  # Runs at 01:00\n\n  workflow_dispatch:\n\njobs:\n  validate_crawlers:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Set up Git repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Install Fundus\n        run: pip install -e .\n\n      - name: Validate Crawlers\n        env:\n          PYTHONPATH: .\n        run: |\n          set -o pipefail\n          exec python scripts/publisher_coverage.py | tee publisher_coverage.txt\n\n      - name: Upload Coverage Report\n        if: success() || failure()\n        uses: actions/upload-artifact@v4\n        with:\n          name: Publisher Coverage\n          path: publisher_coverage.txt\n\n\n  create_badge:\n    runs-on: ubuntu-latest\n    needs: validate_crawlers\n    if: success() || failure()\n\n    steps:\n      - name: Set up Git repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n\n      - name: Download Coverage Report\n        uses: actions/download-artifact@v4\n        with:\n          name: Publisher Coverage\n\n      - name: Get Success Rate\n        run: echo \"SUCCESS_RATE=$(tail -n 1 publisher_coverage.txt | grep -P -o '\\d+\\/\\d+')\" >> $GITHUB_ENV\n\n      - name: Get Coverage Bounds\n        run: |\n          echo \"TOTAL_PUBLISHERS=$(echo ${{ env.SUCCESS_RATE }} | grep -P -o '\\d+' | tail -1)\" >> $GITHUB_ENV\n          echo \"PASSED_PUBLISHERS=$(echo ${{ env.SUCCESS_RATE }} | grep -P -o '\\d+' | head -1)\" >> $GITHUB_ENV\n\n      - name: Get Red Threshold\n        # We set the badge colour to red when at least one publisher failed the tests.\n        run: echo \"RED_THRESHOLD=$(( ${{ env.TOTAL_PUBLISHERS }} - 1 ))\" >> $GITHUB_ENV\n\n      - name: Create Badge\n        uses: schneegans/dynamic-badges-action@v1.6.0\n        with:\n          auth: ${{ secrets.DOBBERSC_GIST_SECRET }}\n          gistID: ca0ae056b05cbfeaf30fa42f84ddf458\n          filename: fundus_publisher_coverage.json\n          label: Publisher Coverage\n          message: ${{ env.SUCCESS_RATE }}\n          valColorRange: ${{ env.PASSED_PUBLISHERS }}\n          maxColorRange: ${{ env.TOTAL_PUBLISHERS }}\n          minColorRange: ${{ env.RED_THRESHOLD }}\n", "state": "active", "repository": "flairNLP/fundus"}
{"mined_at": "2024-07-15T18:38:55.846187", "created_at": "2024-03-26T17:33:36+01:00", "updated_at": "2024-03-26T17:33:36+01:00", "name": "Publish Python 🐍 distribution 📦 to PyPI and TestPyPI", "path": ".github/workflows/publish-package.yml", "contents": "# This release workflow was created using the following guide\n# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n\nname: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI\n\non:\n  release:\n    types:\n      - released\n\njobs:\n\n  test:\n    name: Test the latest release commit\n    uses: ./.github/workflows/tests.yml\n\n  lint:\n    name: Lint the latest release commit\n    uses: ./.github/workflows/lint.yml\n\n  build:\n    name: Build distribution 📦\n    needs:\n      - test\n      - lint\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Install pypa/build\n        run: >-\n          python3 -m\n          pip install\n          build\n          --user\n\n      - name: Build a binary wheel and a source tarball\n        run: python3 -m build\n\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v3\n        with:\n          name: python-package-distributions\n          path: dist/\n\n  publish-to-testpypi:\n    name: Publish Python 🐍 distribution 📦 to TestPyPI\n    needs:\n      - build\n    runs-on: ubuntu-latest\n\n    environment:\n      name: testpypi\n      url: https://test.pypi.org/p/fundus\n      \n    permissions:\n      id-token: write\n\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v3\n        with:\n          name: python-package-distributions\n          path: dist/\n          \n      - name: Publish distribution 📦 to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n\n      - name: Sleep for 2 minutes\n        run: sleep 2m\n        shell: bash\n\n  test-distribution:\n    name: Install and test TestPyPi distribution\n    needs:\n      - publish-to-testpypi\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Install package\n        run: >-\n          python3 -m \n          pip install \n          --index-url https://test.pypi.org/simple/ \n          --extra-index-url https://pypi.org/simple/ \n          fundus==${{ github.event.release.tag_name }}\n\n  publish-to-pypi:\n    name: Publish Python 🐍 distribution 📦 to PyPI\n    needs:\n      - test-distribution\n    runs-on: ubuntu-latest\n\n    environment:\n      name: pypi\n      url: https://pypi.org/p/fundus\n\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Download all the dists\n        uses: actions/download-artifact@v3\n        with:\n          name: python-package-distributions\n          path: dist/\n          \n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n", "state": "active", "repository": "flairNLP/fundus"}
{"mined_at": "2024-07-15T18:38:58.056147", "created_at": "2024-03-14T17:40:59+01:00", "updated_at": "2024-03-14T17:40:59+01:00", "name": "GH Pages Deploy", "path": ".github/workflows/build-docs.yml", "contents": "name: GH Pages Deploy\n\non:\n  push:\n    branches: [main, development]\n    paths-ignore:\n      - README.md\n\njobs:\n  build-deploy:\n    name: Build and deploy\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: main\n          path: source\n\n      - uses: actions/checkout@v2\n        with:\n          ref: development\n          path: source-dev\n\n      - uses: actions/checkout@v2\n        with:\n          ref: gh-pages\n          path: build\n\n      - name: remove all files on the build folder\n        working-directory: build\n        run: rm -vfr *\n\n      - uses: nicholasphair/sphinx-action@7.0.0\n        with:\n          docs-folder: \"source/docs/\"\n          # required by #1291\n          pre-build-command: \"apt-get update -y && apt-get install -y git\"\n          build-command: \"sphinx-build . ../../build/en/latest -W -D version=latest\"\n\n      - uses: nicholasphair/sphinx-action@7.0.0\n        with:\n          docs-folder: \"source-dev/docs/\"\n          # required by #1291\n          pre-build-command: \"apt-get update -y && apt-get install -y git\"\n          build-command: \"sphinx-build . ../../build/en/development -W -D version=development\"\n\n      - name: disable jekyll\n        working-directory: build\n        run: touch .nojekyll\n\n      - name: create subdomain CNAME file\n        working-directory: build\n        run: echo docs.inductiva.ai > CNAME\n\n      - name: configure client side redirection\n        working-directory: source/docs\n        run: cp redirect.html ../../build/index.html\n\n      - name: copy robots.txt file to root\n        working-directory: source/docs\n        run: cp robots.txt ../../build/\n\n      - name: Commit and push changes to gh-pages\n        working-directory: build\n        run: |\n          git config user.name \"${GITHUB_ACTOR}\"\n          git config user.email \"${GITHUB_ACTOR}@users.noreply.github.com\"\n          git add .\n          git commit -m \"Update GitHub pages from Sphinx build for commit ${GITHUB_SHA}\"\n          git push origin gh-pages\n", "state": "active", "repository": "inductiva/inductiva"}
{"mined_at": "2024-07-15T18:38:59.223782", "created_at": "2024-05-03T10:21:51+02:00", "updated_at": "2024-05-03T10:21:51+02:00", "name": "Check add_simulator label", "path": ".github/workflows/check_add_simulator.yaml", "contents": null, "state": "active", "repository": "inductiva/inductiva"}
{"mined_at": "2024-07-15T18:39:00.305082", "created_at": "2023-01-26T15:09:07+01:00", "updated_at": "2024-03-15T12:24:01+01:00", "name": "C++ package", "path": ".github/workflows/cpp-package.yml", "contents": null, "state": "disabled_manually", "repository": "inductiva/inductiva"}
{"mined_at": "2024-07-15T18:39:01.354771", "created_at": "2024-03-26T21:42:33+01:00", "updated_at": "2024-04-24T11:47:26+02:00", "name": "Deploy Docs to Staging Server", "path": ".github/workflows/deploy-docs-to-staging.yml", "contents": "name: Deploy Docs to Staging Server\n\non:\n  workflow_dispatch:\n\njobs:\n  build-deploy:\n    name: Build and deploy\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          path: source\n\n      - uses: nicholasphair/sphinx-action@7.0.0\n        with:\n          docs-folder: \"source/docs/\"\n          # required by #1291\n          pre-build-command: \"apt-get update -y && apt-get install -y git\"\n          build-command: \"sphinx-build . ../../build/en/latest -W -D version=latest\"\n\n      - name: Deploy to staging webserver via rsync\n        uses: burnett01/rsync-deployments@7.0.0\n        with:\n          switches: -avzr --delete --no-perms --no-owner --no-group --omit-dir-times\n          path: build/en/latest/\n          remote_path: /var/www/${{ secrets.STAGING_SERVER }}/docs/\n          remote_host: ${{secrets.STAGING_SERVER}}\n          remote_user: inductiva-bot\n          remote_key: ${{secrets.STAGING_WEB_SSH_KEY}}\n", "state": "active", "repository": "inductiva/inductiva"}
{"mined_at": "2024-07-15T18:39:02.501417", "created_at": "2024-04-26T17:08:43+02:00", "updated_at": "2024-04-26T17:08:43+02:00", "name": "Deploy Tutorials to Production Web Server", "path": ".github/workflows/deploy-tutorials-to-prod.yaml", "contents": "name: Deploy Tutorials to Production Web Server\n\non:\n  push:\n    branches: [main]\n\njobs:\n  build-deploy:\n    name: Build and deploy\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: main\n          path: source\n\n      - uses: nicholasphair/sphinx-action@7.0.0\n        with:\n          docs-folder: \"source/tutorials/\"\n          # required by #1291\n          pre-build-command: \"apt-get update -y && apt-get install -y git\"\n          build-command: \"sphinx-build . ../../build/en/latest -W -D version=latest\"\n\n      - name: Deploy to staging webserver via rsync\n        uses: burnett01/rsync-deployments@7.0.0\n        with:\n          switches: -avzr --delete --no-perms --no-owner --no-group --omit-dir-times\n          path: build/en/latest/\n          remote_path: /var/www/tutorials.inductiva.ai/\n          remote_host: ${{secrets.STAGING_SERVER}}\n          remote_user: inductiva-bot\n          remote_key: ${{secrets.STAGING_WEB_SSH_KEY}}\n", "state": "active", "repository": "inductiva/inductiva"}
{"mined_at": "2024-07-15T18:39:03.499731", "created_at": "2024-04-24T11:47:26+02:00", "updated_at": "2024-04-24T11:47:26+02:00", "name": "Deploy Tutorials to Staging Server", "path": ".github/workflows/deploy-tutorials-to-staging.yml", "contents": "name: Deploy Tutorials to Staging Server\n\non:\n  workflow_dispatch:\n\njobs:\n  build-deploy:\n    name: Build and deploy\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          path: source\n\n      - uses: nicholasphair/sphinx-action@7.0.0\n        with:\n          docs-folder: \"source/tutorials/\"\n          # required by #1291\n          pre-build-command: \"apt-get update -y && apt-get install -y git\"\n          build-command: \"sphinx-build . ../../build/en/latest -W -D version=latest\"\n\n      - name: Deploy to staging webserver via rsync\n        uses: burnett01/rsync-deployments@7.0.0\n        with:\n          switches: -avzr --delete --no-perms --no-owner --no-group --omit-dir-times\n          path: build/en/latest/\n          remote_path: /var/www/${{ secrets.STAGING_SERVER }}/tutorials/\n          remote_host: ${{secrets.STAGING_SERVER}}\n          remote_user: inductiva-bot\n          remote_key: ${{secrets.STAGING_WEB_SSH_KEY}}\n", "state": "active", "repository": "inductiva/inductiva"}
{"mined_at": "2024-07-15T18:39:04.754734", "created_at": "2023-09-05T17:02:00+02:00", "updated_at": "2024-02-15T16:29:48+01:00", "name": "Publish to PyPI", "path": ".github/workflows/publish-pypi.yml", "contents": "# Workflow that publishes package to PyPI.\n# The workflow is triggered on push of a tag that starts with \"v\", e.g. v0.3.0.\n# The workflow will build the package and then publish it to PyPI. Note that the\n# version specified in the tag is not the used for the package version on PyPI.\n# The version used is the one specified in the package's setup.cfg file. Ensure\n# that the version specified in the setup.cfg file in the repository is the\n# same used in the tag that triggers the workflow for consistency between the\n# repository and the published package.\nname: Publish to PyPI\n\non:\n  push:\n    tags:\n      - v*\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: \"Branch from where to deploy\"\n        required: true\n        default: \"main\"\n\njobs:\n  build-and-publish:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Setup Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n\n      - name: Install build dependencies\n        run: |\n          python -m pip install build\n\n      - name: Generate Autocompletion File (zsh)\n        run: |\n          pip install shtab\n          pip install .\n          mkdir -p inductiva/assets/completions/zsh\n          shtab --shell=zsh -u inductiva._cli.main.get_main_parser > inductiva/assets/completions/zsh/_inductiva\n\n      - name: Build package\n        run: |\n          python -m build\n\n      - name: Save artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: build-artifact\n          path: dist/*\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "inductiva/inductiva"}
{"mined_at": "2024-07-15T18:39:05.872813", "created_at": "2023-01-26T15:09:08+01:00", "updated_at": "2023-01-26T15:09:08+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, check formatting, lint and run\n# tests with a variety of Python versions. For more information see:\n# https://docs.github.com/en/actions/guides/building-and-testing-python\n\nname: Python package\n\non:\n  push:\n    branches: [main]\n  pull_request:\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.8]\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/checkout@v3\n      with:\n        ref: Inductiva-badges\n        path: badges-folder\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      env:\n        BOT_REPO_ACCESS: ${{ secrets.BOT_REPO_ACCESS }}\n      run: |\n        sudo apt-get install -y libglu1-mesa ca-certificates\n        python -m pip install --upgrade pip setuptools wheel\n        python -m pip install mypy yapf coverage coverage-badge pylint pytest pytest-custom_exit_code toml pytest-markdown-docs\n        if [[ -f requirements.txt ]]; then python -m pip install -r requirements.txt; fi\n    - name: Check formatting with yapf\n      if: ${{ always() }}\n      run: |\n        yapf . --diff --recursive --parallel --exclude=third_party\n    - name: Lint with pylint\n      if: ${{ always() }}\n      run: |\n        find . -type f -not -path \"./third_party/*\" -name '*.py' | xargs pylint\n    - name: Test with pytest\n      if: ${{ always() }}\n      run: |\n        pytest --suppress-no-test-exit-code\n\n    - name: Test docs with pytest pytest-markdown-docs\n      if: ${{ always() }}\n      run: |\n        if [ \"${{ github.ref }}\" = \"refs/heads/main\" ]; then\n          export INDUCTIVA_API_KEY=${{ secrets.API_TEST_KEY }}\n        else\n          export INDUCTIVA_API_KEY=${{ secrets.API_DEV_TEST_KEY }}\n          export INDUCTIVA_API_URL=https://api-dev.inductiva.ai\n        fi\n        pytest --confcutdir=docs/ --markdown-docs docs/markdown_sample.md\n    - name: Link Checker\n      uses: lycheeverse/lychee-action@v1.9.0\n      with:\n        fail: true\n        args: --base . --no-progress --exclude ccrm.vims.edu './**/*.md'\n    - name: Coverage report\n      if: ${{ always() }}\n      run: | # conftest crashes with coverage due to markdown-docs\n        coverage run --source=./inductiva -m pytest --noconftest\n        coverage report -m\n    - name: Generate badge\n      if: ${{ always() }}\n      run: |\n        coverage-badge -f -o ./badges-folder/badges/cov.svg\n    - name: Push badge\n      if: ${{ always() }}\n      working-directory: badges-folder\n      run: |\n        git config user.name \"${GITHUB_ACTOR}\"\n        git config user.email \"${GITHUB_ACTOR}@users.noreply.github.com\"\n        git diff --quiet || ( \\\n          git add ./badges/cov.svg && \\\n          git commit -m \"Update coverage badge for commit ${GITHUB_SHA}\")\n        git push origin Inductiva-badges\n    - name: Mypy type checking\n      continue-on-error: true\n      if: ${{ always() }}\n      run: |\n        mypy . | nl > mypy_output.txt\n\n        cat mypy_output.txt\n        echo \"###############\"\n\n        : # Argument passed to a function has the wrong type\n        echo \"--- Errors arg-type ---\"\n        grep arg-type mypy_output.txt\n        grep arg-type mypy_output.txt | wc -l\n        echo \"###############\"\n\n        : # function defenitions without types or missing types\n        echo \"--- Errors no-untyped-def ---\"\n        grep no-untyped-def mypy_output.txt\n        grep no-untyped-def mypy_output.txt | wc -l\n        echo \"###############\"\n", "state": "active", "repository": "inductiva/inductiva"}
{"mined_at": "2024-07-15T18:39:07.008997", "created_at": "2023-01-26T15:09:08+01:00", "updated_at": "2023-01-26T15:09:08+01:00", "name": "Repository setup", "path": ".github/workflows/repository-setup.yml", "contents": "name: Repository setup\n\non:\n  push:\n    branches: [main]\n\njobs:\n  setup:\n\n    if: ${{ github.event.created }}\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Replace variables\n        uses: jacobtomlinson/gha-find-replace@master\n        with:\n          find: \"\\\\{\\\\{GITHUB_REPOSITORY\\\\}\\\\}\"\n          replace: ${{ github.repository }}\n      - name: Commit changes\n        uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: Automated repository setup\n          commit_options: \"--no-verify --signoff\"\n", "state": "active", "repository": "inductiva/inductiva"}
{"mined_at": "2024-07-15T18:39:08.114921", "created_at": "2024-03-14T18:05:27+01:00", "updated_at": "2024-03-14T18:05:27+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "inductiva/inductiva"}
{"mined_at": "2024-07-15T18:39:10.490474", "created_at": "2023-07-21T17:56:21+02:00", "updated_at": "2024-04-04T22:59:02+02:00", "name": "Build API docs and Shinylive for GitHub Pages", "path": ".github/workflows/build-docs.yaml", "contents": "name: Build API docs and Shinylive for GitHub Pages\n\non:\n  workflow_dispatch:\n  push:\n    branches: [\"main\"]\n  pull_request:\n  merge_group:\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n\n      # =====================================================\n      # API docs\n      # =====================================================\n      - name: Install Quarto\n        uses: quarto-dev/quarto-actions/setup@v2\n        with:\n          version: 1.4.549\n\n      - name: Install dependencies\n        run: |\n          cd docs\n          make ../venv\n          make deps\n\n      - name: Run quartodoc\n        run: |\n          cd docs\n          make quartodoc\n\n      # =====================================================\n      # Shinylive\n      # =====================================================\n      - name: Check out shinylive\n        if: github.ref == 'refs/heads/main'\n        uses: actions/checkout@v4\n        with:\n          repository: rstudio/shinylive\n          ref: main\n          path: shinylive-repo\n\n      - name: Update shinylive's copy of shiny and htmltools\n        if: github.ref == 'refs/heads/main'\n        run: |\n          cd shinylive-repo\n          make submodules\n          make submodules-pull-shiny\n          make submodules-pull-htmltools\n\n      - name: Build shinylive\n        if: github.ref == 'refs/heads/main'\n        run: |\n          cd shinylive-repo\n          make all\n\n      # TODO-future; Install updated shinylive assets via updated py-shinylive pkg\n\n      # =====================================================\n      # Build site\n      # =====================================================\n\n      - name: Build site\n        if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'merge_group' || startsWith(github.head_ref, 'docs')  }}\n        run: |\n          cd docs\n          make site\n\n      # =====================================================\n      # Deploy\n      # =====================================================\n\n      - name: Move built API docs and shinylive to single directory\n        if: github.ref == 'refs/heads/main'\n        run: |\n          mkdir deploy\n          mv docs/_site deploy/docs\n          mv shinylive-repo/_shinylive deploy/shinylive\n\n      - name: Upload site artifact\n        if: github.ref == 'refs/heads/main'\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: \"deploy\"\n\n  deploy:\n    if: github.ref == 'refs/heads/main'\n    needs: build-docs\n\n    # Grant GITHUB_TOKEN the permissions required to make a Pages deployment\n    permissions:\n      pages: write # to deploy to Pages\n      id-token: write # to verify the deployment originates from an appropriate source\n\n    # Deploy to the github-pages environment\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    # Specify runner + deployment step\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v1\n", "state": "active", "repository": "posit-dev/py-shiny"}
{"mined_at": "2024-07-15T18:39:11.547520", "created_at": "2023-06-16T21:28:45+02:00", "updated_at": "2023-06-16T21:28:45+02:00", "name": "Build", "path": ".github/workflows/built.yaml", "contents": null, "state": "active", "repository": "posit-dev/py-shiny"}
{"mined_at": "2024-07-15T18:39:12.608129", "created_at": "2023-08-01T17:11:43+02:00", "updated_at": "2023-08-01T17:11:43+02:00", "name": "Deploy Shiny Apps", "path": ".github/workflows/deploy-gallery-apps.yaml", "contents": null, "state": "active", "repository": "posit-dev/py-shiny"}
{"mined_at": "2024-07-15T18:39:13.722060", "created_at": "2024-07-11T05:22:05+02:00", "updated_at": "2024-07-15T07:31:39+02:00", "name": "Run deploy tests", "path": ".github/workflows/deploy-tests.yaml", "contents": null, "state": "active", "repository": "posit-dev/py-shiny"}
{"mined_at": "2024-07-15T18:39:14.900655", "created_at": "2021-10-20T00:29:19+02:00", "updated_at": "2023-05-15T19:12:06+02:00", "name": "Run tests", "path": ".github/workflows/pytest.yaml", "contents": "name: Run tests\n\non:\n  workflow_dispatch:\n  push:\n    branches: [\"main\", \"rc-*\"]\n  pull_request:\n  merge_group:\n  release:\n    types: [published]\n  schedule:\n    - cron: \"0 8 * * *\"\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # \"3.10\" must be a string; otherwise it is interpreted as 3.1.\n        python-version: [\"3.12\", \"3.11\", \"3.10\", \"3.9\", \"3.8\"]\n        os: [ubuntu-latest, windows-latest, macOS-latest]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup py-shiny\n        id: install\n        uses: ./.github/py-shiny/setup\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Run unit tests\n        if: steps.install.outcome == 'success' && (success() || failure())\n        run: |\n          make check-tests\n\n      - name: Type check\n        if: steps.install.outcome == 'success' && (success() || failure())\n        run: |\n          make check-types\n\n      - name: Lint code\n        if: steps.install.outcome == 'success' && (success() || failure())\n        run: |\n          make check-lint\n\n      - name: Verify code formatting\n        if: steps.install.outcome == 'success' && (success() || failure())\n        run: |\n          make check-format\n\n  playwright-shiny:\n    runs-on: ${{ matrix.os }}\n    if: github.event_name != 'release'\n    strategy:\n      matrix:\n        python-version: [\"3.12\", \"3.11\", \"3.10\", \"3.9\", \"3.8\"]\n        os: [ubuntu-latest]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup py-shiny\n        uses: ./.github/py-shiny/setup\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Determine browsers for testing\n        uses: ./.github/py-shiny/pytest-browsers\n        id: browsers\n        with:\n          all-browsers: ${{ startsWith(github.head_ref, 'playwright') }}\n      - name: Display browser\n        shell: bash\n        run: echo '${{ steps.browsers.outputs.browsers }}'\n      - name: Run End-to-End tests\n        timeout-minutes: 20\n        run: |\n          make playwright-shiny SUB_FILE=\". -vv\" ${{ steps.browsers.outputs.browsers }}\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: \"playright-shiny-${{ matrix.os }}-${{ matrix.python-version }}-results\"\n          path: test-results/\n          retention-days: 5\n\n  playwright-examples:\n    runs-on: ${{ matrix.os }}\n    if: github.event_name != 'release'\n    strategy:\n      matrix:\n        python-version: [\"3.12\", \"3.11\", \"3.10\", \"3.9\", \"3.8\"]\n        os: [ubuntu-latest]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup py-shiny\n        uses: ./.github/py-shiny/setup\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"18\"\n          cache: npm\n          cache-dependency-path: examples/brownian/shinymediapipe/package-lock.json\n      - name: Install node.js package\n        working-directory: examples/brownian/shinymediapipe\n        run: |\n          npm ci\n\n      - name: Determine browsers for testing\n        uses: ./.github/py-shiny/pytest-browsers\n        id: browsers\n        with:\n          all-browsers: ${{ startsWith(github.head_ref, 'playwright') }}\n      - name: Run example app tests\n        timeout-minutes: 20\n        run: |\n          make playwright-examples SUB_FILE=\". -vv\" ${{ steps.browsers.outputs.browsers }}\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: \"playright-examples-${{ matrix.os }}-${{ matrix.python-version }}-results\"\n          path: test-results/\n          retention-days: 5\n\n  playwright-deploys-precheck:\n    if: github.event_name != 'release'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # Matches deploy server python version\n        python-version: [\"3.10\"]\n        os: [ubuntu-latest]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup py-shiny\n        uses: ./.github/py-shiny/setup\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Test that deployable example apps work\n        timeout-minutes: 5 # ~10s locally\n        env:\n          DEPLOY_APPS: \"false\"\n        run: |\n          make playwright-deploys SUB_FILE=\". -vv\"\n\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: \"playright-examples-${{ matrix.os }}-${{ matrix.python-version }}-results\"\n          path: test-results/\n          retention-days: 5\n\n  playwright-deploys:\n    needs: [playwright-deploys-precheck]\n    if: github.event_name != 'release' && (github.event_name == 'push' || startsWith(github.head_ref, 'deploy'))\n    # Only allow one `playwright-deploys` job to run at a time. (Independent of branch / PR)\n    # Only one is allowed to run at a time because it is deploying to the same server location.\n    concurrency: playwright-deploys\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # Matches deploy server python version\n        python-version: [\"3.10\"]\n        os: [ubuntu-latest]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup py-shiny\n        uses: ./.github/py-shiny/setup\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Test that deployable example apps work\n        timeout-minutes: 5 # ~10s locally\n        env:\n          DEPLOY_APPS: \"false\"\n        run: |\n          make playwright-deploys SUB_FILE=\". -vv\"\n\n      - name: Deploy apps and run tests (on `push` or `deploy**` branches)\n        env:\n          DEPLOY_APPS: \"true\"\n          DEPLOY_CONNECT_SERVER_URL: \"https://rsc.radixu.com/\"\n          DEPLOY_CONNECT_SERVER_API_KEY: \"${{ secrets.DEPLOY_CONNECT_SERVER_API_KEY }}\"\n          DEPLOY_SHINYAPPS_NAME: \"${{ secrets.DEPLOY_SHINYAPPS_NAME }}\"\n          DEPLOY_SHINYAPPS_TOKEN: \"${{ secrets.DEPLOY_SHINYAPPS_TOKEN }}\"\n          DEPLOY_SHINYAPPS_SECRET: \"${{ secrets.DEPLOY_SHINYAPPS_SECRET }}\"\n        timeout-minutes: 30\n        # Given we are waiting for external servers to finish,\n        # we can have many local processes waiting for deployment to finish\n        run: |\n          make playwright-deploys SUB_FILE=\". -vv --numprocesses 12\"\n\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: \"playright-deploys-${{ matrix.os }}-${{ matrix.python-version }}-results\"\n          path: test-results/\n          retention-days: 5\n\n  pypi:\n    name: \"Deploy to PyPI\"\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release'\n    needs: [check]\n    steps:\n      - uses: actions/checkout@v4\n      - name: \"Set up Python 3.10\"\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install https://github.com/rstudio/py-htmltools/tarball/main\n          make install-deps\n          make install\n      - name: \"Build Package\"\n        run: |\n          make dist\n\n      # test deploy ----\n      - name: \"Test Deploy to PyPI\"\n        uses: pypa/gh-action-pypi-publish@release/v1\n        if: startsWith(github.event.release.name, 'TEST')\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TEST_API_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n\n      ## prod deploy ----\n      - name: \"Deploy to PyPI\"\n        uses: pypa/gh-action-pypi-publish@release/v1\n        if: startsWith(github.event.release.name, 'shiny')\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "posit-dev/py-shiny"}
{"mined_at": "2024-07-15T18:39:16.122401", "created_at": "2023-08-04T15:54:52+02:00", "updated_at": "2023-08-04T15:54:52+02:00", "name": "Issue Management", "path": ".github/workflows/triage-issues.yaml", "contents": "name: Issue Management\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  triage_or_add_to_project:\n    runs-on: ubuntu-latest\n\n    env:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    steps:\n      - name: Check if the issue creator is a maintainer\n        id: check_maintainer\n        run: |\n            IS_ADMIN=`gh api /repos/rstudio/py-shiny/collaborators/${{ github.event.issue.user.login }}/permission --jq='.user.permissions.admin'`\n            echo \"is_maintainer=$IS_ADMIN\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Apply \"needs triage\" label to issues created by non-maintainers\n        if: steps.check_maintainer.outputs.is_maintainer == 'false'\n        run: |\n          gh issue edit ${{ github.event.issue.number }} --add-label \"needs-triage\" --repo ${{ github.repository }}\n", "state": "active", "repository": "posit-dev/py-shiny"}
{"mined_at": "2024-07-15T18:39:17.244191", "created_at": "2023-06-16T21:28:45+02:00", "updated_at": "2024-03-28T20:53:50+01:00", "name": "Verify built assets", "path": ".github/workflows/verify-js-built.yaml", "contents": "name: Verify built assets\n\non:\n  push:\n    branches: [\"main\", \"rc-*\"]\n  pull_request:\n  merge_group:\n\njobs:\n  verify_js_built:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Extract node version from .nvmrc\n        id: nvm\n        working-directory: js\n        run: |\n          echo \"version=$(cat .nvmrc)\" >> $GITHUB_OUTPUT\n\n      - name: Use Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"${{ steps.nvm.outputs.version }}\"\n\n      - name: Install dependencies\n        run: npm ci\n        working-directory: js\n        env:\n          NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}\n\n      - name: Build\n        run: npm run build\n        working-directory: js\n\n      - name: Check for uncommitted changes\n        run: |\n          if [[ `git status --porcelain` ]]; then\n            git diff\n            echo \"Uncommitted changes found. Please commit any changes that result from 'npm run build'.\"\n            exit 1\n          else\n            echo \"No uncommitted changes found.\"\n          fi\n        working-directory: js\n", "state": "active", "repository": "posit-dev/py-shiny"}
{"mined_at": "2024-07-15T18:39:19.597035", "created_at": "2023-11-02T18:12:39+01:00", "updated_at": "2023-11-09T04:29:28+01:00", "name": "auto-assignment", "path": ".github/workflows/auto-assignment.yaml", "contents": "name: auto-assignment\non:\n  issues:\n    types:\n      - opened\n  pull_request_target:\n    types: [opened]\n\n\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n\njobs:\n  welcome:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/github-script@v6\n        with:\n          script: |\n            const script = require('./\\.github/workflows/scripts/auto-assignment.js')\n            script({github, context})", "state": "active", "repository": "keras-team/tf-keras"}
{"mined_at": "2024-07-15T18:39:20.685689", "created_at": "2023-09-03T23:29:58+02:00", "updated_at": "2023-09-03T23:29:58+02:00", "name": "Format the code", "path": ".github/workflows/format.yml", "contents": "name: Format the code\n\non:\n  workflow_dispatch:\n\npermissions: {}\njobs:\n  createPullRequest:\n    permissions:\n      contents: write # to create branch (peter-evans/create-pull-request)\n      pull-requests: write # to create a PR (peter-evans/create-pull-request)\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python -m pip install --upgrade pip setuptools\n          echo \"::set-output name=dir::$(pip cache dir)\"\n      - name: pip cache\n        uses: actions/cache@v2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install black==22.3.0 isort==5.10.1 flake8==4.0.1\n      - name: Format the code\n        run: sh shell/format.sh\n\n      - name: Create Pull Request\n        id: cpr\n        uses: peter-evans/create-pull-request@v4\n        with:\n          commit-message: format the code\n          committer: A. Unique TensorFlower <gardener@tensorflow.org>\n          author: A. Unique TensorFlower <gardener@tensorflow.org>\n          branch: format\n          delete-branch: true\n          title: 'Format the code'\n          body: |\n            This is a pull request automatically created by a Github Action to format the code.\n\n            If there is any conflict, click the run workflow button on\n            [this page](https://github.com/keras-team/tf-keras/actions/workflows/format.yml).\n          labels: |\n            ready to pull\n          draft: false\n", "state": "active", "repository": "keras-team/tf-keras"}
{"mined_at": "2024-07-15T18:39:21.744211", "created_at": "2023-09-03T23:29:58+02:00", "updated_at": "2023-09-03T23:29:58+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n  pull_request:\n  workflow_dispatch:\n\npermissions:\n  contents: read # to fetch code (actions/checkout)\n\njobs:\n  lint:\n    name: Check the code format\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          python -m pip install --upgrade pip setuptools\n          echo \"::set-output name=dir::$(pip cache dir)\"\n      - name: pip cache\n        uses: actions/cache@v2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install dependencies\n        run: |\n          pip install black==22.3.0 isort==5.10.1 flake8==4.0.1\n      - name: Lint the code\n        run: sh shell/lint.sh\n", "state": "active", "repository": "keras-team/tf-keras"}
{"mined_at": "2024-07-15T18:39:22.802530", "created_at": "2023-12-09T14:01:11+01:00", "updated_at": "2023-12-09T14:01:11+01:00", "name": "pull_workflow", "path": ".github/workflows/pull_workflow.yaml", "contents": "name: pull_workflow\non:\n  pull_request_target:\n    types: [synchronize,opened,closed]\n\npermissions:\n  contents: read\n  issues: write\n  pull-requests: write\n\njobs:\n  welcome:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/github-script@v7\n        with:\n          script: |\n            const script = require('./\\.github/workflows/scripts/pull_workflow.js')\n            script({github, context})", "state": "active", "repository": "keras-team/tf-keras"}
{"mined_at": "2024-07-15T18:39:23.899540", "created_at": "2023-09-03T23:29:58+02:00", "updated_at": "2023-12-20T02:42:55+01:00", "name": "Close inactive issues", "path": ".github/workflows/stale-issues-pr.yml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - name: Awaiting response issues\n        uses: actions/stale@v5\n        with:\n          days-before-issue-stale: 14\n          days-before-issue-close: 14\n          stale-issue-label: \"stale\"\n          # reason for closed the issue default value is not_planned\n          close-issue-reason: completed\n          only-labels: \"stat:awaiting response from contributor\"\n          stale-issue-message: > \n            This issue is stale because it has been open for 14 days with no activity.\n            It will be closed if no further activity occurs. Thank you.\n          close-issue-message: >\n            This issue was closed because it has been inactive for 28 days.\n            Please reopen if you'd like to work on this further.\n          days-before-pr-stale: 14\n          days-before-pr-close: 14\n          stale-pr-message: \"This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.\"\n          close-pr-message: \"This PR was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further.\"\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n      - name: Contribution issues\n        uses: actions/stale@v5\n        with:\n          days-before-issue-stale: 180\n          days-before-issue-close: 365\n          stale-issue-label: \"stale\"\n          # reason for closed the issue default value is not_planned\n          close-issue-reason: not_planned\n          any-of-labels: \"stat:contributions welcome,good first issue\"\n          stale-issue-message: > \n            This issue is stale because it has been open for 180 days with no activity.\n            It will be closed if no further activity occurs. Thank you.\n          close-issue-message: >\n            This issue was closed because it has been inactive for more than 1 year.\n          repo-token: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "keras-team/tf-keras"}
{"mined_at": "2024-07-15T18:39:25.872066", "created_at": "2023-08-21T16:06:06+02:00", "updated_at": "2023-08-21T16:06:06+02:00", "name": "CI", "path": ".github/workflows/CI.yml", "contents": "on:\n  push:\n    branches: [main]\n  pull_request:\nname: CI\njobs:\n  flatpak-builder:\n    name: \"Flatpak Builder\"\n    runs-on: ubuntu-latest\n    container:\n      image: bilelmoussaoui/flatpak-github-actions:gnome-45\n      options: --privileged\n    steps:\n    - uses: actions/checkout@v3\n    - uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6\n      with:\n        bundle: \"errands.flatpak\"\n        manifest-path: \"io.github.mrvladus.List.Devel.json\"\n        cache-key: flatpak-builder-${{ github.sha }}\n", "state": "active", "repository": "mrvladus/Errands"}
{"mined_at": "2024-07-15T18:39:28.101882", "created_at": "2023-07-21T04:50:53+02:00", "updated_at": "2023-07-25T07:38:17+02:00", "name": "Flake8 Lint", "path": ".github/workflows/flake8.yml", "contents": "name: Flake8 Lint\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  flake8:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: checkout code\n        uses: actions/checkout@v2\n\n      - name: setup python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n\n      - name: install dependencies\n        run: pip install flake8\n\n      - name: run flake8\n        run: flake8\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:29.209059", "created_at": "2023-07-25T07:38:17+02:00", "updated_at": "2023-07-25T07:38:17+02:00", "name": "Build and publish wheel distribution", "path": ".github/workflows/wheel_distributing.yml", "contents": "name: Build and publish wheel distribution\n\non:\n  workflow_call:\n    inputs:\n      ReleaseType:\n        type: string\n        default: \"Test\"\n        required: false\n        description: 'Official release or test'\n      UploadAsLatest:\n        type: string\n        default: \"False\"\n        required: false\n        description: 'Also publish the wheel distribution to internal pypi index as latest'\n      SourceFolderName:\n        type: string\n        required: true\n        description: 'The source folder name of the package to be built'\n      ConfigsFolderPath:\n        type: string\n        default: \"scripts/distributing/configs\"\n        required: false\n        description: 'Configs folder path'\n    outputs:\n      PackageVersion:\n        description: 'The version of the package'\n        value: ${{ jobs.sdk_release.outputs.PackageVersion }}\n\njobs:\n  sdk_release:\n    runs-on: ubuntu-latest\n    name: Build and publish wheel distribution\n    outputs:\n      PackageVersion: ${{ steps.override_version.outputs.version }}\n\n    steps:\n      - name: Check input parameters\n        run: |\n          echo \"ReleaseType: ${{ inputs.ReleaseType }}\"\n          echo \"UploadAsLatest: ${{ inputs.UploadAsLatest }}\"\n          echo \"SourceFolderName: ${{ inputs.SourceFolderName }}\"\n          echo \"ConfigsFolderPath: ${{ inputs.ConfigsFolderPath }}\"\n\n      - name: Checkout repo\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event_name == 'push' && 'main' || github.event.inputs.branch }}\n          submodules: true\n\n      - name: Override version with workflow run number\n        id: override_version\n        if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.ReleaseType == 'Test')\n        run: |\n          echo \"VERSION = \\\"0.0.${{ github.run_number }}\\\"\" > src/${{ inputs.SourceFolderName }}/promptflow/version.txt\n          echo \"VERSION: 0.0.${{ github.run_number }}\"\n          echo \"version=0.0.${{ github.run_number }}\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Set up conda environment\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          miniconda-version: \"latest\"\n          activate-environment: release-env\n          environment-file: ${{ inputs.ConfigsFolderPath }}/${{ inputs.SourceFolderName }}-release-env.yaml\n          auto-update-conda: true\n          auto-activate-base: false\n\n      - name: Show conda info\n        shell: bash -l {0}\n        run: |\n          conda activate release-env\n          conda info\n          conda list\n          conda config --show-sources\n          conda config --show\n          python --version\n\n      - name: Delete existing packages in the 'dist' folder\n        working-directory: src/${{ inputs.SourceFolderName }}/\n        shell: bash\n        run: |\n          echo \"Delete existing packages in the 'dist' directory of '${{ inputs.SourceFolderName }}/'\"\n          rm -f ./dist/*\n          if [ $? != 0 ]; then\n              echo \"Failed to delete existing dist folder for '${{ inputs.SourceFolderName }}/'\"\n              exit 1\n          fi\n\n      - name: Build wheel\n        working-directory: src/${{ inputs.SourceFolderName }}/\n        shell: bash -l {0}\n        run: |\n          conda activate release-env\n          echo \"Build wheel for '${{ inputs.SourceFolderName }}/'\"\n          python setup.py bdist_wheel -b bdist\n          echo \"List files in 'dist'\"\n          cd dist\n          pwd\n          ls\n\n        # Need to enbale the check after fixing `long_description` syntax errors\n      - name: Twine check for artifact\n        if: false\n        working-directory: src/${{ inputs.SourceFolderName }}/\n        shell: bash -l {0}\n        run: |\n          conda activate release-env\n          echo \"Listing the wheels under '${{ inputs.SourceFolderName }}\\dist\\*.whl'\"\n          ls dist/*.whl\n          echo \"Twine check for artifact: ${{ inputs.SourceFolderName }}\"\n          last_dist=$(ls -t dist/*.whl | head -n 1)\n          twine check \"$last_dist\" --strict\n\n      - name: Generate SBOM\n        working-directory: src/${{ inputs.SourceFolderName }}/\n        run: |\n          echo \"Generate SBOM for '${{ inputs.SourceFolderName }}\\dist\\'\"\n          curl -Lo $RUNNER_TEMP/sbom-tool https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-linux-x64\n          chmod +x $RUNNER_TEMP/sbom-tool\n          $RUNNER_TEMP/sbom-tool generate -b ./dist -bc . -pn Test -pv 1.0.0 -ps MyCompany -nsb https://sbom.mycompany.com -V Verbose\n\n      - name: Official release\n        if: inputs.ReleaseType == 'Release'\n        shell: bash -l {0}\n        run: |\n          conda activate release-env\n          python scripts/distributing/publish_package.py --config ${{ inputs.ConfigsFolderPath }}/distribution_settings.json --src_folder_name ${{ inputs.SourceFolderName }} --package_dir_path src/${{ inputs.SourceFolderName }}/dist --storage_key ${{ secrets.PACKAGE_STORAGE_KEY }} --upload_as_latest ${{ inputs.UploadAsLatest }}\n\n      - name: Test release\n        if: inputs.ReleaseType == 'Test'\n        shell: bash -l {0}\n        run: |\n          conda activate release-env\n          python scripts/distributing/publish_package.py --config ${{ inputs.ConfigsFolderPath }}/distribution_settings.json --src_folder_name ${{ inputs.SourceFolderName }} --package_dir_path src/${{ inputs.SourceFolderName }}/dist --storage_key ${{ secrets.PACKAGE_STORAGE_KEY }} --upload_as_latest ${{ inputs.UploadAsLatest }} --release_type test\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:30.354276", "created_at": "2023-08-01T14:20:32+02:00", "updated_at": "2024-04-03T08:00:21+02:00", "name": "tools_tests", "path": ".github/workflows/tools_tests.yml", "contents": "name: tools_tests\npermissions:\n  # This is required for requesting the JWT\n  id-token: write\n  # This is required for actions/checkout\n  contents: read\non:\n  workflow_dispatch:\n  pull_request_target:\n    paths:\n      - src/promptflow-tools/**\n      - scripts/tool/**\n      - .github/workflows/tools_tests.yml\njobs:\n  authorize:\n    environment:\n      # forked prs from pull_request_target will be run in external environment, domain prs will be run in internal environment\n      ${{ github.event_name == 'pull_request_target' &&\n      github.event.pull_request.head.repo.full_name != github.repository &&\n      'external' || 'internal' }}\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n    steps:\n      - run: true\n  build:\n    needs: authorize\n    strategy:\n      fail-fast: false\n    runs-on: ubuntu-latest\n    environment: Testing\n    timeout-minutes: 30\n    env:\n      DEPENDENCY_SOURCE_MODE: ${{ secrets.DEPENDENCY_SOURCE_MODE }}\n    steps:\n      - name: Check for dockerenv file\n        run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)\n        # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha || github.ref }}\n      - name: Setup\n        run: |\n          python -m pip install --upgrade pip\n          pip install pytest pytest_mock\n          pip install azure-identity azure-keyvault-secrets\n          # \"DEPENDENCY_SOURCE_MODE\" is \"main\" or \"package\", means the dependency source of code\n          if [ \"$DEPENDENCY_SOURCE_MODE\" = \"main\" ]; then\n            pip install ${{ github.workspace }}/src/promptflow-tracing\n            pip install ${{ github.workspace }}/src/promptflow-core\n            pip install ${{ github.workspace }}/src/promptflow-devkit\n            pip install ${{ github.workspace }}/src/promptflow-azure\n            pip install ${{ github.workspace }}/src/promptflow\n            pip install google-search-results==2.4.1\n            pip install openai>=1.0.0\n            pip install azure-mgmt-cognitiveservices==13.5.0\n          else\n            pip install -r ./src/promptflow-tools/requirements.txt\n            pip install azure-ai-ml>=1.11.0,<2.0.0\n            pip install azure-mgmt-cognitiveservices==13.5.0\n          fi\n          pip list\n\n      - name: Azure login\n        uses: azure/login@v1\n        with:\n          client-id: ${{ secrets.CLIENT_ID }}\n          tenant-id: ${{ secrets.TENANT_ID }}\n          subscription-id: ${{ secrets.TEST_WORKSPACE_SUB_ID }}\n\n      - name: Generate configs\n        run: |\n          python ./scripts/tool/generate_connection_config.py\n\n      - name: Run tests\n        run: |\n          if [ \"$DEPENDENCY_SOURCE_MODE\" = \"main\" ]; then\n            export PYTHONPATH=./src/promptflow\n          fi\n          pytest ./src/promptflow-tools/tests\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:31.483859", "created_at": "2023-08-08T09:39:39+02:00", "updated_at": "2023-08-18T12:18:14+02:00", "name": "Build Doc CI", "path": ".github/workflows/build_doc_ci.yml", "contents": "name: Build Doc CI\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - 'README.md'\n      - 'docs/**'\n      - 'examples/**.ipynb'\n      - 'scripts/docs/**'\n      - '.github/workflows/build_doc_ci.yml'\n      - 'src/promptflow-tracing/promptflow/**'\n      - 'src/promptflow-core/promptflow/**'\n      - 'src/promptflow-devkit/promptflow/**'\n      - 'src/promptflow-azure/promptflow/**'\n      - 'src/promptflow-rag/promptflow/**'\n      - 'src/promptflow-evals/promptflow/**'\n\nenv:\n  packageSetupType: promptflow_with_extra\n  testWorkingDirectory: ${{ github.workspace }}/src/promptflow\n\njobs:\n  build_doc_job:\n    runs-on: windows-latest\n    name: Build Doc\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v2\n        with:\n          submodules: true\n\n      - name: Python Setup\n        uses: \"./.github/actions/step_create_python_environment\"\n\n      - name: Install packages\n        shell: pwsh\n        # Note: Use -e to avoid duplicate object warning when build apidoc.\n        run: |\n          pip uninstall -y promptflow-tracing promptflow-core promptflow-devkit promptflow-azure promptflow-rag promptflow-evals\n          pip install -e ${{ github.workspace }}/src/promptflow-tracing\n          pip install -e ${{ github.workspace }}/src/promptflow-core\n          pip install -e ${{ github.workspace }}/src/promptflow-devkit\n          pip install -e ${{ github.workspace }}/src/promptflow-azure\n          pip install -e ${{ github.workspace }}/src/promptflow-rag\n          pip install -e ${{ github.workspace }}/src/promptflow-evals\n          pip freeze\n\n      - name: Build doc with reference doc\n        shell: powershell\n        working-directory: scripts/docs/\n        run: |-\n          pip install langchain tenacity<8.4.0\n          ./doc_generation.ps1 -WithReferenceDoc:$true -WarningAsError:$true \n\n  # Note: We have this job separately because some error may missing when build link check exists.\n  link_check_job:\n    runs-on: windows-latest\n    name: Build Link Check\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v2\n        with:\n          submodules: true\n\n      - name: Python Setup\n        uses: \"./.github/actions/step_create_python_environment\"\n\n      - name: Install packages\n        shell: pwsh\n        # Note: Use -e to avoid duplicate object warning when build apidoc.\n        run: |\n          pip uninstall -y promptflow-tracing promptflow-core promptflow-devkit promptflow-azure promptflow-rag promptflow-evals\n          pip install -e ${{ github.workspace }}/src/promptflow-tracing\n          pip install -e ${{ github.workspace }}/src/promptflow-core\n          pip install -e ${{ github.workspace }}/src/promptflow-devkit\n          pip install -e ${{ github.workspace }}/src/promptflow-azure\n          pip install -e ${{ github.workspace }}/src/promptflow-rag\n          pip install -e ${{ github.workspace }}/src/promptflow-evals\n          pip freeze\n\n      - name: Build LinkCheck\n        shell: powershell\n        working-directory: scripts/docs/\n        run: |-\n          pip install langchain tenacity<8.4.0\n          ./doc_generation.ps1 -WithReferenceDoc:$true -WarningAsError:$true -BuildLinkCheck\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:32.612752", "created_at": "2023-08-11T06:41:38+02:00", "updated_at": "2023-08-11T08:58:28+02:00", "name": "samples_flows_standard_basic", "path": ".github/workflows/samples_flows_standard_basic.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_basic\non:\n  schedule:\n    - cron: \"41 21 * * *\" # Every day starting at 5:41 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/basic/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_basic.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_basic:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/basic\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/basic\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/basic/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/basic/README.md -o examples/flows/standard/basic\n      - name: Cat script\n        working-directory: examples/flows/standard/basic\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/basic\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/basic/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:33.621100", "created_at": "2023-08-11T08:11:57+02:00", "updated_at": "2023-08-11T08:58:28+02:00", "name": "samples_configuration", "path": ".github/workflows/samples_configuration.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_configuration\non:\n  schedule:\n    - cron: \"40 22 * * *\" # Every day starting at 6:40 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/configuration.ipynb, .github/workflows/samples_configuration.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_configuration:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Generate config.json for canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        run: echo '${{ secrets.TEST_WORKSPACE_CONFIG_JSON_CANARY }}' > ${{ github.workspace }}/examples/config.json\n      - name: Generate config.json for production workspace\n        if: github.event_name != 'schedule'\n        run: echo '${{ secrets.EXAMPLE_WORKSPACE_CONFIG_JSON_PROD }}' > ${{ github.workspace }}/examples/config.json\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples\n        run: |\n          papermill -k python configuration.ipynb configuration.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:34.734593", "created_at": "2023-08-11T08:11:57+02:00", "updated_at": "2023-08-11T08:58:28+02:00", "name": "samples_getstarted_quickstart", "path": ".github/workflows/samples_getstarted_quickstart.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_getstarted_quickstart\non:\n  schedule:\n    - cron: \"55 21 * * *\" # Every day starting at 5:55 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/get-started/**, examples/*requirements.txt, .github/workflows/samples_getstarted_quickstart.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_getstarted_quickstart:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/tutorials/get-started\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/tutorials/get-started\n        run: |\n          papermill -k python quickstart.ipynb quickstart.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/tutorials/get-started\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:35.987405", "created_at": "2023-08-11T08:11:57+02:00", "updated_at": "2023-08-11T08:58:28+02:00", "name": "samples_runmanagement_cloudrunmanagement", "path": ".github/workflows/samples_runmanagement_cloudrunmanagement.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_runmanagement_cloudrunmanagement\non:\n  schedule:\n    - cron: \"24 20 * * *\" # Every day starting at 4:24 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/run-management/**, examples/*requirements.txt, .github/workflows/samples_runmanagement_cloudrunmanagement.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_runmanagement_cloudrunmanagement:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Generate config.json for canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        run: echo '${{ secrets.TEST_WORKSPACE_CONFIG_JSON_CANARY }}' > ${{ github.workspace }}/examples/config.json\n      - name: Generate config.json for production workspace\n        if: github.event_name != 'schedule'\n        run: echo '${{ secrets.EXAMPLE_WORKSPACE_CONFIG_JSON_PROD }}' > ${{ github.workspace }}/examples/config.json\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/tutorials/run-management\n        run: |\n          papermill -k python cloud-run-management.ipynb cloud-run-management.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/tutorials/run-management\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:36.991968", "created_at": "2023-08-11T08:11:57+02:00", "updated_at": "2023-08-11T08:58:28+02:00", "name": "samples_connections_connection", "path": ".github/workflows/samples_connections_connection.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_connections_connection\non:\n  schedule:\n    - cron: \"13 22 * * *\" # Every day starting at 6:13 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/connections/**, examples/*requirements.txt, .github/workflows/samples_connections_connection.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_connections_connection:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/connections\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/connections\n        run: |\n          papermill -k python connection.ipynb connection.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/connections\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:38.240115", "created_at": "2023-08-11T08:11:57+02:00", "updated_at": "2023-08-11T08:58:28+02:00", "name": "samples_getstarted_quickstartazure", "path": ".github/workflows/samples_getstarted_quickstartazure.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_getstarted_quickstartazure\non:\n  schedule:\n    - cron: \"24 20 * * *\" # Every day starting at 4:24 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/get-started/**, examples/*requirements.txt, .github/workflows/samples_getstarted_quickstartazure.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_getstarted_quickstartazure:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Generate config.json for canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        run: echo '${{ secrets.TEST_WORKSPACE_CONFIG_JSON_CANARY }}' > ${{ github.workspace }}/examples/config.json\n      - name: Generate config.json for production workspace\n        if: github.event_name != 'schedule'\n        run: echo '${{ secrets.EXAMPLE_WORKSPACE_CONFIG_JSON_PROD }}' > ${{ github.workspace }}/examples/config.json\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/tutorials/get-started\n        run: |\n          papermill -k python quickstart-azure.ipynb quickstart-azure.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/tutorials/get-started\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:39.366397", "created_at": "2023-08-11T10:24:47+02:00", "updated_at": "2023-08-14T02:47:26+02:00", "name": "samples_flows_standard_flow_with_additional_includes", "path": ".github/workflows/samples_flows_standard_flow_with_additional_includes.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_flow_with_additional_includes\non:\n  schedule:\n    - cron: \"29 20 * * *\" # Every day starting at 4:29 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/flow-with-additional-includes/**, examples/*requirements.txt, examples/flows/standard/web-classification/**, .github/workflows/samples_flows_standard_flow_with_additional_includes.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_flow_with_additional_includes:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/flow-with-additional-includes\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/flow-with-additional-includes\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Create AOAI Connection from YAML\n        working-directory: ${{ github.workspace }}\n        run: pf connection create --file examples/connections/azure_openai.yml --set api_key=${{ secrets.AOAI_API_KEY_TEST }} api_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/flow-with-additional-includes/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/flow-with-additional-includes/README.md -o examples/flows/standard/flow-with-additional-includes\n      - name: Cat script\n        working-directory: examples/flows/standard/flow-with-additional-includes\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/flow-with-additional-includes\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/flow-with-additional-includes\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/flow-with-additional-includes\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/flow-with-additional-includes/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:40.424228", "created_at": "2023-08-11T10:24:47+02:00", "updated_at": "2023-08-14T02:47:26+02:00", "name": "samples_flows_standard_basic_with_connection", "path": ".github/workflows/samples_flows_standard_basic_with_connection.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_basic_with_connection\non:\n  schedule:\n    - cron: \"11 20 * * *\" # Every day starting at 4:11 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/basic-with-connection/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_basic_with_connection.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_basic_with_connection:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/basic-with-connection\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/basic-with-connection\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Create AOAI Connection from YAML\n        working-directory: ${{ github.workspace }}\n        run: pf connection create --file examples/connections/azure_openai.yml --set api_key=${{ secrets.AOAI_API_KEY_TEST }} api_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/basic-with-connection/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/basic-with-connection/README.md -o examples/flows/standard/basic-with-connection\n      - name: Cat script\n        working-directory: examples/flows/standard/basic-with-connection\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/basic-with-connection\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/basic-with-connection\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/basic-with-connection\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/basic-with-connection/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:41.429282", "created_at": "2023-08-11T10:24:47+02:00", "updated_at": "2023-08-23T11:42:21+02:00", "name": "samples_flows_standard_web_classification", "path": ".github/workflows/samples_flows_standard_web_classification.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_web_classification\non:\n  schedule:\n    - cron: \"13 21 * * *\" # Every day starting at 5:13 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/web-classification/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_web_classification.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_web_classification:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/web-classification\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/web-classification\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/web-classification/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/web-classification/README.md -o examples/flows/standard/web-classification\n      - name: Cat script\n        working-directory: examples/flows/standard/web-classification\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/web-classification\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/web-classification\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/web-classification\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/web-classification/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:42.518923", "created_at": "2023-08-11T10:24:47+02:00", "updated_at": "2023-08-14T02:47:26+02:00", "name": "samples_flows_standard_flow_with_symlinks", "path": ".github/workflows/samples_flows_standard_flow_with_symlinks.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_flow_with_symlinks\non:\n  schedule:\n    - cron: \"41 20 * * *\" # Every day starting at 4:41 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/flow-with-symlinks/**, examples/*requirements.txt, examples/flows/standard/web-classification/**, .github/workflows/samples_flows_standard_flow_with_symlinks.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_flow_with_symlinks:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/flow-with-symlinks\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/flow-with-symlinks\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Create AOAI Connection from YAML\n        working-directory: ${{ github.workspace }}\n        run: pf connection create --file examples/connections/azure_openai.yml --set api_key=${{ secrets.AOAI_API_KEY_TEST }} api_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/flow-with-symlinks/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/flow-with-symlinks/README.md -o examples/flows/standard/flow-with-symlinks\n      - name: Cat script\n        working-directory: examples/flows/standard/flow-with-symlinks\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/flow-with-symlinks\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/flow-with-symlinks\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/flow-with-symlinks\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/flow-with-symlinks/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:43.526326", "created_at": "2023-08-11T10:24:47+02:00", "updated_at": "2023-08-14T02:47:26+02:00", "name": "samples_flows_chat_chat_with_wikipedia", "path": ".github/workflows/samples_flows_chat_chat_with_wikipedia.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_chat_chat_with_wikipedia\non:\n  schedule:\n    - cron: \"10 22 * * *\" # Every day starting at 6:10 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/chat/chat-with-wikipedia/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_chat_with_wikipedia.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_chat_chat_with_wikipedia:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/chat/chat-with-wikipedia\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/chat/chat-with-wikipedia\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/chat/chat-with-wikipedia/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/chat/chat-with-wikipedia/README.md -o examples/flows/chat/chat-with-wikipedia\n      - name: Cat script\n        working-directory: examples/flows/chat/chat-with-wikipedia\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/chat/chat-with-wikipedia\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/chat/chat-with-wikipedia\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/chat/chat-with-wikipedia\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/chat/chat-with-wikipedia/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:44.691674", "created_at": "2023-08-11T10:24:47+02:00", "updated_at": "2023-08-14T02:47:26+02:00", "name": "samples_flows_standard_basic_with_builtin_llm", "path": ".github/workflows/samples_flows_standard_basic_with_builtin_llm.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_basic_with_builtin_llm\non:\n  schedule:\n    - cron: \"14 21 * * *\" # Every day starting at 5:14 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/basic-with-builtin-llm/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_basic_with_builtin_llm.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_basic_with_builtin_llm:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/basic-with-builtin-llm\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/basic-with-builtin-llm\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Create AOAI Connection from YAML\n        working-directory: ${{ github.workspace }}\n        run: pf connection create --file examples/connections/azure_openai.yml --set api_key=${{ secrets.AOAI_API_KEY_TEST }} api_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/basic-with-builtin-llm/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/basic-with-builtin-llm/README.md -o examples/flows/standard/basic-with-builtin-llm\n      - name: Cat script\n        working-directory: examples/flows/standard/basic-with-builtin-llm\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/basic-with-builtin-llm\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/basic-with-builtin-llm\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/basic-with-builtin-llm\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/basic-with-builtin-llm/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:45.732356", "created_at": "2023-08-11T12:58:06+02:00", "updated_at": "2023-08-17T11:31:28+02:00", "name": "samples_connections", "path": ".github/workflows/samples_connections.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_connections\non:\n  schedule:\n    - cron: \"40 20 * * *\" # Every day starting at 4:40 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/connections/**, examples/*requirements.txt, .github/workflows/samples_connections.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_connections:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/connections\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/connections\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/connections/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/connections/README.md -o examples/connections\n      - name: Cat script\n        working-directory: examples/connections\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/connections\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/connections\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/connections\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/connections/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:46.668268", "created_at": "2023-08-11T12:58:06+02:00", "updated_at": "2023-08-11T12:58:06+02:00", "name": "samples_tutorials_get_started", "path": ".github/workflows/samples_tutorials_get_started.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:47.740766", "created_at": "2023-08-11T12:58:06+02:00", "updated_at": "2023-08-11T12:58:06+02:00", "name": "samples_tutorials_flow_in_pipeline", "path": ".github/workflows/samples_tutorials_flow_in_pipeline.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:48.828999", "created_at": "2023-08-11T12:58:06+02:00", "updated_at": "2023-08-11T12:58:06+02:00", "name": "samples_tutorials_run_management", "path": ".github/workflows/samples_tutorials_run_management.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:49.874653", "created_at": "2023-08-14T05:03:01+02:00", "updated_at": "2023-08-14T05:03:01+02:00", "name": "samples_flows_chat_chatwithpdf_pf_azure", "path": ".github/workflows/samples_flows_chat_chatwithpdf_pf_azure.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:51.017510", "created_at": "2023-08-14T05:03:01+02:00", "updated_at": "2023-08-15T08:22:41+02:00", "name": "samples_flows_chat_chat_with_pdf", "path": ".github/workflows/samples_flows_chat_chat_with_pdf.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_chat_chat_with_pdf\non:\n  schedule:\n    - cron: \"4 22 * * *\" # Every day starting at 6:4 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/chat/chat-with-pdf/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_chat_with_pdf.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_chat_chat_with_pdf:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create AOAI Connection from ENV file\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          if [[ -e .env ]]; then\n            pf connection create --file .env --name chat_with_pdf_custom_connection\n          fi\n          if [[ -e azure_openai.yml ]]; then\n            pf connection create --file azure_openai.yml --name chat_with_pdf_custom_connection\n          fi\n          pf connection list\n      - name: Create run.yml\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/chat/chat-with-pdf/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/chat/chat-with-pdf/README.md -o examples/flows/chat/chat-with-pdf\n      - name: Cat script\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/chat/chat-with-pdf/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:52.210261", "created_at": "2023-08-14T10:37:58+02:00", "updated_at": "2023-08-14T12:30:55+02:00", "name": "Static Check", "path": ".github/workflows/static_check.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:53.222830", "created_at": "2023-08-14T10:40:16+02:00", "updated_at": "2023-08-18T12:18:14+02:00", "name": "Publish Promptflow Doc", "path": ".github/workflows/publish_doc.yml", "contents": "name: Publish Promptflow Doc\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n      - preview/docs\n    paths:\n      - 'README.md'\n      - 'docs/**'\n      - 'examples/**.ipynb'\n      - 'scripts/docs/**'\n      - '.github/workflows/publish_doc.yml'\n      - 'src/promptflow-tracing/promptflow/**'\n      - 'src/promptflow-core/promptflow/**'\n      - 'src/promptflow-devkit/promptflow/**'\n      - 'src/promptflow-azure/promptflow/**'\n      - 'src/promptflow-rag/promptflow/**'\n      - 'src/promptflow-evals/promptflow/**'\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n\n# Allow one concurrent deployment\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: true\n\nenv:\n  packageSetupType: promptflow_with_extra\n  testWorkingDirectory: ${{ github.workspace }}/src/promptflow\n\njobs:\n  build:\n    runs-on: windows-latest\n    name: Build\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@v2\n        with:\n          submodules: true\n\n      - name: Python Setup\n        uses: \"./.github/actions/step_create_python_environment\"\n\n      - name: Install packages\n        shell: pwsh\n        # Note: Use -e to avoid duplicate object warning when build apidoc.\n        run: |\n          pip uninstall -y promptflow-tracing promptflow-core promptflow-devkit promptflow-azure promptflow-rag promptflow-evals\n          pip install -e ${{ github.workspace }}/src/promptflow-tracing\n          pip install -e ${{ github.workspace }}/src/promptflow-core\n          pip install -e ${{ github.workspace }}/src/promptflow-devkit\n          pip install -e ${{ github.workspace }}/src/promptflow-azure\n          pip install -e ${{ github.workspace }}/src/promptflow-rag\n          pip install -e ${{ github.workspace }}/src/promptflow-evals\n          pip freeze\n\n      - name: Build Doc\n        shell: powershell\n        working-directory: scripts/docs/\n        run: |-\n          pip install langchain\n          ./doc_generation.ps1 -WithReferenceDoc:$true\n\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v1\n        with:\n          # Upload entire repository\n          path: scripts/docs/_build\n      \n  deploy:\n    runs-on: ubuntu-latest\n    name: Deploy\n    needs: build\n    permissions:\n      pages: write\n      id-token: write\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v1\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:54.243587", "created_at": "2023-08-14T12:25:55+02:00", "updated_at": "2023-12-15T11:41:13+01:00", "name": "check_enforcer", "path": ".github/workflows/check_enforcer.yml", "contents": "name: check_enforcer\n\non:\n  pull_request:\n    branches: [ main ]\n\njobs:\n  check_enforcer:\n    runs-on: ubuntu-latest\n    permissions:\n      checks: read\n      contents: read\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - run: env | sort >> $GITHUB_OUTPUT\n      - name: Python Setup - ubuntu-latest - Python Version 3.9\n        uses: \"./.github/actions/step_create_python_environment\"\n        with:\n          pythonVersion: 3.9\n      - run: pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: Summarize check status\n        id: summarize_check_status\n        working-directory: ${{ github.workspace }}\n        shell: pwsh\n        run: |\n            python ${{ github.workspace }}/scripts/check_enforcer/check_enforcer.py -t \"${{ github.workspace }}\"\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SNIPPET_DEBUG: 1\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:55.269543", "created_at": "2023-08-15T07:46:46+02:00", "updated_at": "2023-08-15T07:46:46+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:56.269278", "created_at": "2023-08-15T10:36:28+02:00", "updated_at": "2023-08-15T10:36:28+02:00", "name": "test_actions", "path": ".github/workflows/test_actions_generate_model.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:57.619567", "created_at": "2023-08-17T05:54:41+02:00", "updated_at": "2023-08-17T11:31:28+02:00", "name": "samples_flows_chat_chatwithpdf_chatwithpdf", "path": ".github/workflows/samples_flows_chat_chatwithpdf_chatwithpdf.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_chat_chatwithpdf_chatwithpdf\non:\n  schedule:\n    - cron: \"12 21 * * *\" # Every day starting at 5:12 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/chat/chat-with-pdf/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_chatwithpdf_chatwithpdf.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_chat_chatwithpdf_chatwithpdf:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Generate config.json for canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        run: echo '${{ secrets.TEST_WORKSPACE_CONFIG_JSON_CANARY }}' > ${{ github.workspace }}/examples/config.json\n      - name: Generate config.json for production workspace\n        if: github.event_name != 'schedule'\n        run: echo '${{ secrets.EXAMPLE_WORKSPACE_CONFIG_JSON_PROD }}' > ${{ github.workspace }}/examples/config.json\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n          pip freeze\n          pf --version\n        shell: bash -el {0}\n      - name: Prepare sample requirements\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          pip install -r requirements.txt\n      - name: Create Chat With PDF Custom Connection\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n            pf connection create --file .env --name chat_with_pdf_custom_connection\n          fi\n      - name: Create AOAI Connection\n        working-directory: examples/connections\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          if [[ -e azure_openai.yml ]]; then\n            pf connection create --file azure_openai.yml --set api_key=$AOAI_API_KEY api_base=$AOAI_API_ENDPOINT\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          papermill -k python chat-with-pdf.ipynb chat-with-pdf.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/flows/chat/chat-with-pdf\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:58.677316", "created_at": "2023-08-21T04:40:37+02:00", "updated_at": "2024-04-19T05:41:06+02:00", "name": "promptflow-sdk-cli-test", "path": ".github/workflows/promptflow-sdk-cli-test.yml", "contents": "name: promptflow-sdk-cli-test\non:\n  schedule:\n    - cron: \"40 18 * * *\" # Every day starting at 2:40 BJT\n  pull_request:\n    paths:\n      - src/promptflow-core/**\n      - src/promptflow-devkit/**\n      - src/promptflow/**\n      - src/promptflow-tracing/**\n      - scripts/building/**\n      - .github/workflows/promptflow-sdk-cli-test.yml\n      - src/promptflow-recording/**\n  workflow_dispatch:\n    inputs:\n      filepath:\n        description: file or paths you want to trigger a test\n        required: true\n        default: \"./tests/sdk_cli_test ./tests/sdk_pfs_test\"\n        type: string\npermissions:\n  id-token: write\n  contents: read\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n  RECORD_DIRECTORY: ${{ github.workspace }}/src/promptflow-recording\n  TRACING_DIRECTORY: ${{ github.workspace }}/src/promptflow-tracing\n  CORE_DIRECTORY: ${{ github.workspace }}/src/promptflow-core\n  WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-devkit\n  PROMPTFLOW_DIRECTORY: ${{ github.workspace }}/src/promptflow\n  TOOL_DIRECTORY: ${{ github.workspace }}/src/promptflow-tools\njobs:\n  sdk_cli_tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n        pythonVersion: ['3.8', '3.9', '3.10', '3.11']\n    environment:\n      internal\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: set test mode\n      run: |\n        echo \"PROMPT_FLOW_TEST_MODE=$(if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then echo replay; else echo live; fi)\" >> $GITHUB_ENV\n        echo \"FILE_PATHS=$(if [[ \"${{ inputs.filepath }}\" == \"\" ]]; then echo \"./tests/sdk_cli_test ./tests/sdk_pfs_test\"; else echo ${{ inputs.filepath }}; fi)\" >> $GITHUB_ENV\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.pythonVersion }}\n    - uses: snok/install-poetry@v1\n    - name: install test dependency group\n      run: |\n        set -xe\n        poetry install -E pyarrow --with ci,test\n\n        poetry run pip show promptflow-tracing\n        poetry run pip show promptflow-core\n        poetry run pip show promptflow-devkit\n        poetry run pip show promptflow-tools\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - name: Azure login (non pull_request workflow)\n      if: github.event_name != 'pull_request'\n      uses: azure/login@v1\n      with:\n        subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n        tenant-id: ${{secrets.AZURE_TENANT_ID}}\n        client-id: ${{secrets.AZURE_CLIENT_ID}}\n    - name: generate live test resources (non pull_request workflow)\n      if: github.event_name != 'pull_request'\n      uses: \"./.github/actions/step_generate_configs\"\n      with:\n        targetFolder: ${{ env.PROMPTFLOW_DIRECTORY }}\n    - name: generate live test resources (pull_request workflow)\n      if: github.event_name == 'pull_request'\n      working-directory: ${{ env.PROMPTFLOW_DIRECTORY }}\n      run: |\n        cp ${{ github.workspace }}/src/promptflow/dev-connections.json.example ${{ github.workspace }}/src/promptflow/connections.json\n    - name: run devkit tests\n      run: |\n        poetry run pytest ${{ env.FILE_PATHS }} --cov=promptflow --cov-config=pyproject.toml \\\n        --cov-report=term --cov-report=html --cov-report=xml -n auto -m \"(unittest or e2etest) and not csharp\" \\\n        --ignore-glob ./tests/sdk_cli_test/e2etests/test_executable.py\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - name: Upload Test Results\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        name: Test Results (Python ${{ matrix.pythonVersion }}) (OS ${{ matrix.os }})\n        path: |\n          ${{ env.WORKING_DIRECTORY }}/*.xml\n          ${{ env.WORKING_DIRECTORY }}/htmlcov/\n          ${{ env.WORKING_DIRECTORY }}/tests/sdk_cli_test/count.json\n    - run: poetry install -E executable\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - name: run devkit executable tests\n      run: |\n        poetry run pytest -n auto -m \"unittest or e2etest\" ./tests/sdk_cli_test/e2etests/test_executable.py\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n\n\n  publish-test-results-sdk-cli-test:\n    needs: sdk_cli_tests\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: read\n    if: always()\n\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n    - name: Publish Test Results\n      uses: \"./.github/actions/step_publish_test_results\"\n      with:\n        testActionFileName: promptflow-sdk-cli-test.yml\n        testResultTitle: SDK CLI Test Result\n        osVersion: ubuntu-latest\n        pythonVersion: 3.9\n        coverageThreshold: 40\n        context: test/sdk_cli\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:39:59.829267", "created_at": "2023-08-21T09:50:29+02:00", "updated_at": "2024-04-19T05:41:05+02:00", "name": "promptflow-executor-unit-test", "path": ".github/workflows/promptflow-executor-unit-test.yml", "contents": "name: promptflow-executor-unit-test\non:\n  schedule:\n    - cron: \"40 19 * * *\" # Every day starting at 3:40 BJT\n  pull_request_target:\n    paths:\n      - src/promptflow-core/*\n      - src/promptflow/*\n      - src/promptflow/promptflow/*\n      - src/promptflow/promptflow/_core/**\n      - src/promptflow/promptflow/_internal/**\n      - src/promptflow/promptflow/_utils/**\n      - src/promptflow/promptflow/batch/**\n      - src/promptflow/promptflow/contracts/**\n      - src/promptflow/promptflow/entities/**\n      - src/promptflow/promptflow/executor/**\n      - src/promptflow/promptflow/integrations/**\n      - src/promptflow/promptflow/storage/**\n      - src/promptflow/tests/*\n      - src/promptflow/tests/executor/**\n      - src/promptflow/tests/test_configs/**\n      - src/promptflow-tracing/promptflow/**\n      - src/promptflow-core/promptflow/**\n      - src/promptflow-devkit/promptflow/**\n      - src/promptflow-parallel/promptflow/**\n      - scripts/building/**\n      - src/promptflow-recording/recordings/local/executor_node_cache.*\n      - .github/workflows/promptflow-executor-unit-test.yml\n  workflow_dispatch:\npermissions:\n  id-token: write\n  contents: read\nenv:\n  packageSetupType: promptflow_with_extra\n  testWorkingDirectory: ${{ github.workspace }}/src/promptflow\n  PYTHONPATH: ${{ github.workspace }}/src/promptflow\n  IS_IN_CI_PIPELINE: \"true\"\n  RECORD_DIRECTORY: ${{ github.workspace }}/src/promptflow-recording\njobs:\n  authorize:\n    environment:\n      # forked prs from pull_request_target will be run in external environment, domain prs will be run in internal environment\n      ${{ github.event_name == 'pull_request_target' &&\n      github.event.pull_request.head.repo.full_name != github.repository &&\n      'external' || 'internal' }}\n    runs-on: ubuntu-latest\n    steps:\n      - run: true\n  build:\n    needs: authorize\n    strategy:\n      fail-fast: false\n    runs-on: ubuntu-latest\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.sha || github.ref }}\n        fetch-depth: 0\n    - name: merge main to current branch\n      uses: \"./.github/actions/step_merge_main\"\n    - name: Display and Set Environment Variables\n      run: |\n        env | sort >> $GITHUB_OUTPUT\n      id: display_env\n      shell: bash -el {0}\n    - name: Python Setup - ubuntu-latest - Python Version 3.9\n      uses: \"./.github/actions/step_create_python_environment\"\n      with:\n        pythonVersion: 3.9\n    - name: Build wheel\n      uses: \"./.github/actions/step_sdk_setup\"\n      with:\n        setupType: promptflow_with_extra\n        scriptPath: ${{ env.testWorkingDirectory }}\n    - name: Upload Wheel\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        name: wheel\n        path: |\n          ${{ github.workspace }}/src/promptflow/dist/*.whl\n          ${{ github.workspace }}/src/promptflow-tools/dist/*.whl\n  executor_unit_tests:\n    needs: build\n    environment:\n      internal\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: Set test mode\n      run: echo \"PROMPT_FLOW_TEST_MODE=$(if [[ \"${{ github.event_name }}\" == \"pull_request_target\" ]]; then echo replay; else echo live; fi)\" >> $GITHUB_ENV\n    - name: checkout\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.sha || github.ref }}\n        fetch-depth: 0\n    - name: merge main to current branch\n      uses: \"./.github/actions/step_merge_main\"\n    - name: Display and Set Environment Variables\n      run: |\n        env | sort >> $GITHUB_OUTPUT\n      id: display_env\n      shell: bash -el {0}\n    - name: Python Setup - ${{ matrix.os }} - Python Version 3.9\n      uses: \"./.github/actions/step_create_python_environment\"\n      with:\n        pythonVersion: 3.9\n    - name: Download Artifacts\n      uses: actions/download-artifact@v3\n      with:\n        name: wheel\n        path: artifacts\n    - name: Install wheel\n      shell: pwsh\n      working-directory: artifacts\n      run: |\n        Set-PSDebug -Trace 1\n        pip install -r ${{ github.workspace }}/src/promptflow/dev_requirements.txt\n        pip install ${{ github.workspace }}/src/promptflow-tracing\n        pip install ${{ github.workspace }}/src/promptflow-core[executor-service]\n        pip install ${{ github.workspace }}/src/promptflow-devkit\n        pip install ${{ github.workspace }}/src/promptflow-azure\n        gci ./promptflow -Recurse | % {if ($_.Name.Contains('.whl')) {python -m pip install \"$($_.FullName)\"}}\n        gci ./promptflow-tools -Recurse | % {if ($_.Name.Contains('.whl')) {python -m pip install $_.FullName}}\n        pip freeze\n    - name: install recording\n      run: |\n        pip install vcrpy\n        pip install .\n      working-directory: ${{ env.RECORD_DIRECTORY }}\n    - name: Azure Login\n      uses: azure/login@v1\n      with:\n        subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n        tenant-id: ${{secrets.AZURE_TENANT_ID}}\n        client-id: ${{secrets.AZURE_CLIENT_ID}}\n    - name: Generate Configs\n      uses: \"./.github/actions/step_generate_configs\"\n      with:\n        targetFolder: ${{ env.testWorkingDirectory }}\n    - name: Get number of CPU cores\n      uses: SimenB/github-actions-cpu-cores@v1\n      id: cpu-cores\n    - name: Run Coverage Test\n      shell: pwsh\n      working-directory: ${{ github.workspace }}\n      run: |\n        gci env:* | sort-object name\n        az account show\n        pip install langchain-community tenacity<8.4.0\n        python scripts/building/run_coverage_tests.py `\n          -p ${{ env.testWorkingDirectory }}/promptflow `\n          -t ${{ env.testWorkingDirectory }}/tests/executor/unittests `\n          -l eastus `\n          -m \"all\" `\n          -n ${{ steps.cpu-cores.outputs.count }} `\n          --coverage-config ${{ env.testWorkingDirectory }}/tests/executor/.coveragerc `\n          --disable-cov-branch\n    - name: Upload Test Results\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        name: Test Results (Python 3.9) (OS ${{ matrix.os }})\n        path: |\n          ${{ github.workspace }}/*.xml\n          ${{ github.workspace }}/htmlcov/\n  publish-test-results:\n    name: \"Publish Tests Results\"\n    needs: executor_unit_tests\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: read\n    if: always()\n\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.sha || github.ref }}\n        fetch-depth: 0\n    - name: merge main to current branch\n      uses: \"./.github/actions/step_merge_main\"\n    - name: Publish Test Results\n      uses: \"./.github/actions/step_publish_test_results\"\n      with:\n        testActionFileName: promptflow-executor-unit-test.yml\n        testResultTitle: Executor Unit Test Result\n        osVersion: ubuntu-latest\n        pythonVersion: 3.9\n        coverageThreshold: 50\n        token: ${{ secrets.GITHUB_TOKEN }}\n        context: test/executor_unit\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:01.373254", "created_at": "2023-08-21T09:50:29+02:00", "updated_at": "2024-04-19T05:41:05+02:00", "name": "promptflow-executor-e2e-test", "path": ".github/workflows/promptflow-executor-e2e-test.yml", "contents": "name: promptflow-executor-e2e-test\non:\n  schedule:\n    - cron: \"40 20 * * *\" # Every day starting at 4:40 BJT\n  pull_request_target:\n    paths:\n      - src/promptflow-core/*\n      - src/promptflow/*\n      - src/promptflow/promptflow/*\n      - src/promptflow/promptflow/_core/**\n      - src/promptflow/promptflow/_internal/**\n      - src/promptflow/promptflow/_utils/**\n      - src/promptflow/promptflow/batch/**\n      - src/promptflow/promptflow/contracts/**\n      - src/promptflow/promptflow/entities/**\n      - src/promptflow/promptflow/executor/**\n      - src/promptflow/promptflow/integrations/**\n      - src/promptflow/promptflow/storage/**\n      - src/promptflow/tests/*\n      - src/promptflow/tests/executor/**\n      - src/promptflow-tracing/promptflow/**\n      - src/promptflow-core/promptflow/**\n      - src/promptflow-devkit/promptflow/**\n      - src/promptflow-parallel/promptflow/**\n      - scripts/building/**\n      - src/promptflow-recording/recordings/local/executor_node_cache.*\n      - .github/workflows/promptflow-executor-e2e-test.yml\n  workflow_dispatch:\nenv:\n  packageSetupType: promptflow_with_extra\n  testWorkingDirectory: ${{ github.workspace }}/src/promptflow\n  PYTHONPATH: ${{ github.workspace }}/src/promptflow\n  IS_IN_CI_PIPELINE: \"true\"\n  RECORD_DIRECTORY: ${{ github.workspace }}/src/promptflow-recording\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  authorize:\n    environment:\n      # forked prs from pull_request_target will be run in external environment, domain prs will be run in internal environment\n      ${{ github.event_name == 'pull_request_target' &&\n      github.event.pull_request.head.repo.full_name != github.repository &&\n      'external' || 'internal' }}\n    runs-on: ubuntu-latest\n    steps:\n      - run: true\n  build:\n    needs: authorize\n    strategy:\n      fail-fast: false\n    runs-on: ubuntu-latest\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.sha || github.ref }}\n        fetch-depth: 0\n    - name: merge main to current branch\n      uses: \"./.github/actions/step_merge_main\"\n    - name: Display and Set Environment Variables\n      run: |\n        env | sort >> $GITHUB_OUTPUT\n      id: display_env\n      shell: bash -el {0}\n    - name: Python Setup - ubuntu-latest - Python Version 3.9\n      uses: \"./.github/actions/step_create_python_environment\"\n      with:\n        pythonVersion: 3.9\n    - name: Build wheel\n      uses: \"./.github/actions/step_sdk_setup\"\n      with:\n        setupType: promptflow_with_extra\n        scriptPath: ${{ env.testWorkingDirectory }}\n    - name: Upload Wheel\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        name: wheel\n        path: |\n          ${{ github.workspace }}/src/promptflow/dist/*.whl\n          ${{ github.workspace }}/src/promptflow-tools/dist/*.whl\n\n  executor_e2e_tests:\n    needs: build\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n    environment:\n      internal\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: Set test mode\n      run: echo \"PROMPT_FLOW_TEST_MODE=$(if [[ \"${{ github.event_name }}\" == \"pull_request_target\" ]]; then echo replay; else echo live; fi)\" >> $GITHUB_ENV\n    - name: checkout\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.sha || github.ref }}\n        fetch-depth: 0\n    - name: merge main to current branch\n      uses: \"./.github/actions/step_merge_main\"\n    - name: Python Setup - ${{ matrix.os }} - Python Version 3.9\n      uses: \"./.github/actions/step_create_python_environment\"\n      with:\n        pythonVersion: 3.9\n    - name: Download Artifacts\n      uses: actions/download-artifact@v3\n      with:\n        name: wheel\n        path: artifacts\n    - name: Install wheel\n      shell: pwsh\n      working-directory: artifacts\n      run: |\n        Set-PSDebug -Trace 1\n        pip install -r ${{ github.workspace }}/src/promptflow/dev_requirements.txt\n        pip install ${{ github.workspace }}/src/promptflow-tracing\n        pip install ${{ github.workspace }}/src/promptflow-core[executor-service]\n        pip install ${{ github.workspace }}/src/promptflow-devkit\n        pip install ${{ github.workspace }}/src/promptflow-azure\n        gci ./promptflow -Recurse | % {if ($_.Name.Contains('.whl')) {python -m pip install \"$($_.FullName)\"}}\n        gci ./promptflow-tools -Recurse | % {if ($_.Name.Contains('.whl')) {python -m pip install $_.FullName}}\n        pip freeze\n    - name: install recording\n      run: |\n        pip install vcrpy\n        pip install .\n      working-directory: ${{ env.RECORD_DIRECTORY }}\n    - name: Azure Login\n      uses: azure/login@v1\n      with:\n        subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n        tenant-id: ${{secrets.AZURE_TENANT_ID}}\n        client-id: ${{secrets.AZURE_CLIENT_ID}}\n    - name: Generate Configs\n      uses: \"./.github/actions/step_generate_configs\"\n      with:\n        targetFolder: ${{ env.testWorkingDirectory }}\n    - name: Get number of CPU cores\n      uses: SimenB/github-actions-cpu-cores@v1\n      id: cpu-cores\n    - name: Run Coverage Test\n      shell: pwsh\n      working-directory: ${{ github.workspace }}\n      run: |\n        gci env:* | sort-object name\n        az account show\n        pip install langchain-community tenacity<8.4.0\n        # numexpr is required by langchain in e2e tests.\n        pip install numexpr\n        python scripts/building/run_coverage_tests.py `\n          -p ${{ env.testWorkingDirectory }}/promptflow `\n          -t ${{ env.testWorkingDirectory }}/tests/executor/e2etests `\n          -l eastus `\n          -m \"all\" `\n          -n ${{ steps.cpu-cores.outputs.count }}`\n          --coverage-config ${{ env.testWorkingDirectory }}/tests/executor/.coveragerc `\n          --disable-cov-branch\n    - name: Upload Test Results\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        name: Test Results (Python 3.9) (OS ${{ matrix.os }})\n        path: |\n          ${{ github.workspace }}/*.xml\n          ${{ github.workspace }}/htmlcov/\n  publish-test-results:\n    name: \"Publish Tests Results\"\n    needs: executor_e2e_tests\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: read\n    if: always()\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.sha || github.ref }}\n        fetch-depth: 0\n    - name: merge main to current branch\n      uses: \"./.github/actions/step_merge_main\"\n    - name: Publish Test Results\n      uses: \"./.github/actions/step_publish_test_results\"\n      with:\n        testActionFileName: promptflow-executor-e2e-test.yml\n        testResultTitle: Executor E2E Test Result\n        osVersion: ubuntu-latest\n        pythonVersion: 3.9\n        coverageThreshold: 70\n        context: test/executor_e2e\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:02.761926", "created_at": "2023-08-21T11:56:14+02:00", "updated_at": "2024-01-26T20:05:52+01:00", "name": "samples_tutorials_e2e_development_chat_with_pdf", "path": ".github/workflows/samples_tutorials_e2e_development_chat_with_pdf.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tutorials_e2e_development_chat_with_pdf\non:\n  schedule:\n    - cron: \"1 19 * * *\" # Every day starting at 3:1 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/e2e-development/**, examples/connections/azure_openai.yml, examples/flows/chat/chat-with-pdf/**, .github/workflows/samples_tutorials_e2e_development_chat_with_pdf.yml, examples/requirements.txt ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tutorials_e2e_development_chat_with_pdf:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Generate config.json for canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        run: echo '${{ secrets.TEST_WORKSPACE_CONFIG_JSON_CANARY }}' > ${{ github.workspace }}/examples/config.json\n      - name: Generate config.json for production workspace\n        if: github.event_name != 'schedule'\n        run: echo '${{ secrets.EXAMPLE_WORKSPACE_CONFIG_JSON_PROD }}' > ${{ github.workspace }}/examples/config.json\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tutorials/e2e-development\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create AOAI Connection from ENV file\n        working-directory: examples/tutorials/e2e-development\n        run: |\n          if [[ -e .env ]]; then\n            pf connection create --file .env --name chat_with_pdf_custom_connection\n          fi\n          if [[ -e azure_openai.yml ]]; then\n            pf connection create --file azure_openai.yml --name chat_with_pdf_custom_connection\n          fi\n          pf connection list\n      - name: Create run.yml\n        working-directory: examples/tutorials/e2e-development\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tutorials/e2e-development/chat-with-pdf.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tutorials/e2e-development/chat-with-pdf.md -o examples/tutorials/e2e-development\n      - name: Cat script\n        working-directory: examples/tutorials/e2e-development\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tutorials/e2e-development\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tutorials/e2e-development\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tutorials/e2e-development\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tutorials/e2e-development/bash_script.sh\n      - name: Azure Login Again\n        uses: azure/powershell@v1\n        with:\n          azPSVersion: \"latest\"\n          inlineScript: |\n            Disconnect-AzAccount\n      - name: Azure Login Again_login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Run backup scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tutorials/e2e-development\n        run: |\n          export aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }}\n          export aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script_pytest.sh\n      - name: Run backup scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tutorials/e2e-development\n        run: |\n          export aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }}\n          export aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script_pytest.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:03.764627", "created_at": "2023-08-22T02:39:29+02:00", "updated_at": "2023-08-22T08:20:56+02:00", "name": "samples_flows_evaluation_eval_entity_match_rate", "path": ".github/workflows/samples_flows_evaluation_eval_entity_match_rate.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_evaluation_eval_entity_match_rate\non:\n  schedule:\n    - cron: \"10 22 * * *\" # Every day starting at 6:10 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/evaluation/eval-entity-match-rate/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_entity_match_rate.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_evaluation_eval_entity_match_rate:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/evaluation/eval-entity-match-rate\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/evaluation/eval-entity-match-rate\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/evaluation/eval-entity-match-rate/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/evaluation/eval-entity-match-rate/README.md -o examples/flows/evaluation/eval-entity-match-rate\n      - name: Cat script\n        working-directory: examples/flows/evaluation/eval-entity-match-rate\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/evaluation/eval-entity-match-rate\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/evaluation/eval-entity-match-rate\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/evaluation/eval-entity-match-rate\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/evaluation/eval-entity-match-rate/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:04.907499", "created_at": "2023-08-22T02:39:29+02:00", "updated_at": "2023-08-22T08:20:56+02:00", "name": "samples_flows_standard_named_entity_recognition", "path": ".github/workflows/samples_flows_standard_named_entity_recognition.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_named_entity_recognition\non:\n  schedule:\n    - cron: \"11 22 * * *\" # Every day starting at 6:11 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/named-entity-recognition/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_named_entity_recognition.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_named_entity_recognition:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/named-entity-recognition\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/named-entity-recognition\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/named-entity-recognition/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/named-entity-recognition/README.md -o examples/flows/standard/named-entity-recognition\n      - name: Cat script\n        working-directory: examples/flows/standard/named-entity-recognition\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/named-entity-recognition\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/named-entity-recognition\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/named-entity-recognition\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/named-entity-recognition/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:05.958209", "created_at": "2023-08-22T07:35:12+02:00", "updated_at": "2023-08-22T09:56:17+02:00", "name": "samples_flows_evaluation_eval_perceived_intelligence", "path": ".github/workflows/samples_flows_evaluation_eval_perceived_intelligence.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_evaluation_eval_perceived_intelligence\non:\n  schedule:\n    - cron: \"41 21 * * *\" # Every day starting at 5:41 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/evaluation/eval-perceived-intelligence/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_perceived_intelligence.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_evaluation_eval_perceived_intelligence:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/evaluation/eval-perceived-intelligence\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/evaluation/eval-perceived-intelligence\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/evaluation/eval-perceived-intelligence/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/evaluation/eval-perceived-intelligence/README.md -o examples/flows/evaluation/eval-perceived-intelligence\n      - name: Cat script\n        working-directory: examples/flows/evaluation/eval-perceived-intelligence\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/evaluation/eval-perceived-intelligence\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/evaluation/eval-perceived-intelligence\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/evaluation/eval-perceived-intelligence\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/evaluation/eval-perceived-intelligence/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:07.160118", "created_at": "2023-08-22T07:35:12+02:00", "updated_at": "2023-08-22T09:56:17+02:00", "name": "samples_flows_evaluation_eval_classification_accuracy", "path": ".github/workflows/samples_flows_evaluation_eval_classification_accuracy.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_evaluation_eval_classification_accuracy\non:\n  schedule:\n    - cron: \"39 22 * * *\" # Every day starting at 6:39 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/evaluation/eval-classification-accuracy/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_classification_accuracy.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_evaluation_eval_classification_accuracy:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/evaluation/eval-classification-accuracy\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/evaluation/eval-classification-accuracy\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/evaluation/eval-classification-accuracy/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/evaluation/eval-classification-accuracy/README.md -o examples/flows/evaluation/eval-classification-accuracy\n      - name: Cat script\n        working-directory: examples/flows/evaluation/eval-classification-accuracy\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/evaluation/eval-classification-accuracy\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/evaluation/eval-classification-accuracy\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/evaluation/eval-classification-accuracy\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/evaluation/eval-classification-accuracy/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:08.334805", "created_at": "2023-08-22T07:35:12+02:00", "updated_at": "2023-08-22T09:56:17+02:00", "name": "samples_flows_evaluation_eval_groundedness", "path": ".github/workflows/samples_flows_evaluation_eval_groundedness.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_evaluation_eval_groundedness\non:\n  schedule:\n    - cron: \"48 22 * * *\" # Every day starting at 6:48 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/evaluation/eval-groundedness/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_groundedness.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_evaluation_eval_groundedness:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/evaluation/eval-groundedness\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/evaluation/eval-groundedness\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/evaluation/eval-groundedness/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/evaluation/eval-groundedness/README.md -o examples/flows/evaluation/eval-groundedness\n      - name: Cat script\n        working-directory: examples/flows/evaluation/eval-groundedness\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/evaluation/eval-groundedness\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/evaluation/eval-groundedness\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/evaluation/eval-groundedness\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/evaluation/eval-groundedness/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:09.415852", "created_at": "2023-08-22T07:35:12+02:00", "updated_at": "2023-08-22T09:56:17+02:00", "name": "samples_flows_evaluation_eval_basic", "path": ".github/workflows/samples_flows_evaluation_eval_basic.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_evaluation_eval_basic\non:\n  schedule:\n    - cron: \"2 19 * * *\" # Every day starting at 3:2 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/evaluation/eval-basic/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_basic.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_evaluation_eval_basic:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/evaluation/eval-basic\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/evaluation/eval-basic\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/evaluation/eval-basic/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/evaluation/eval-basic/README.md -o examples/flows/evaluation/eval-basic\n      - name: Cat script\n        working-directory: examples/flows/evaluation/eval-basic\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/evaluation/eval-basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/evaluation/eval-basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/evaluation/eval-basic\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/evaluation/eval-basic/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:10.485108", "created_at": "2023-08-22T10:02:20+02:00", "updated_at": "2023-08-22T10:02:20+02:00", "name": "samples_flows_standard_auto_generate_docstring", "path": ".github/workflows/samples_flows_standard_auto_generate_docstring.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:11.563478", "created_at": "2023-08-23T06:01:09+02:00", "updated_at": "2023-08-25T03:24:41+02:00", "name": "create_tools_release_tag", "path": ".github/workflows/tools_release_tag.yml", "contents": "name: create_tools_release_tag\non:\n  workflow_dispatch:\n    inputs:\n      TagVersion:\n        description: 'Tag version'\n        required: true\n        default: 'v1.0.0'\n        type: string\n      ReleaseName:\n        description: 'Release name'\n        required: true\n        default: 'v1.0.0'\n        type: string\n      PreRelease:\n        description: 'Whether it is a pre-release'\n        required: true\n        default: true\n        type: boolean\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Get last tag version\n        run: |\n          version=$(git tag -l '*-tools' | sort -V | tail -n 1)\n          echo \"last_tag_version=$version\" >> $GITHUB_ENV\n\n      - name: Generate release notes\n        run: |\n          echo \"# **What's Changed**\" > ./src/promptflow-tools/CHANGELOG.md\n          git log ${{ env.last_tag_version }}.. --pretty=format:\"%H %s @%an\" -- ./src/promptflow-tools/ >> ./src/promptflow-tools/CHANGELOG.md\n          echo \" \" >> ./src/promptflow-tools/CHANGELOG.md\n          echo \" \" >> ./src/promptflow-tools/CHANGELOG.md\n          echo \"**Full Changelog**: https://github.com/microsoft/promptflow/compare/${{ env.last_tag_version }}...${{ inputs.TagVersion }}\" >> ./src/promptflow-tools/CHANGELOG.md\n\n      - name: Zip folder\n        run: |\n          cd src\n          zip -r promptflow-tools.zip promptflow-tools\n\n      - name: Create Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ inputs.TagVersion }}\n          release_name: ${{ inputs.ReleaseName }}\n          body_path: ./src/promptflow-tools/CHANGELOG.md\n          draft: false\n          prerelease: ${{ inputs.PreRelease }}\n\n      - name: Upload Release Asset\n        id: upload-release-asset\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_path: ./src/promptflow-tools.zip\n          asset_name: promptflow-tools.zip\n          asset_content_type: application/zip", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:12.668111", "created_at": "2023-08-24T09:49:42+02:00", "updated_at": "2023-08-24T09:49:42+02:00", "name": "samples_flows_standard_autonomous_agent_with_promptflow", "path": ".github/workflows/samples_flows_standard_autonomous_agent_with_promptflow.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:13.836896", "created_at": "2023-08-24T10:38:16+02:00", "updated_at": "2023-08-31T05:41:16+02:00", "name": "samples_flows_standard_gen_docstring", "path": ".github/workflows/samples_flows_standard_gen_docstring.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_gen_docstring\non:\n  schedule:\n    - cron: \"0 20 * * *\" # Every day starting at 4:0 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/gen-docstring/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_gen_docstring.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_gen_docstring:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/gen-docstring\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/gen-docstring\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/gen-docstring/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/gen-docstring/README.md -o examples/flows/standard/gen-docstring\n      - name: Cat script\n        working-directory: examples/flows/standard/gen-docstring\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/gen-docstring\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/gen-docstring\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/gen-docstring\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/gen-docstring/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:14.943815", "created_at": "2023-08-25T03:24:41+02:00", "updated_at": "2023-08-25T03:24:41+02:00", "name": "tools_continuous_delivery", "path": ".github/workflows/tools_continuous_delivery.yml", "contents": "name: tools_continuous_delivery\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - 'src/promptflow-tools/**'\n      - '!README.*'\n      - '!src/promptflow-tools/tests/**'\n  workflow_dispatch:\n    inputs:\n      branch:\n        description: 'Release branch name'\n        required: true\n        default: 'main'\n        type: string\n\njobs:\n  main_branch_release:\n    if: github.event_name == 'push'\n    uses: ./.github/workflows/wheel_distributing.yml\n    name: Private PyPI main branch release\n    with:\n      ReleaseType: \"Release\"\n      UploadAsLatest: \"True\"\n      SourceFolderName: \"promptflow-tools\"\n      ConfigsFolderPath: \"scripts/distributing/configs\"\n    secrets: inherit\n  \n  non_main_branch_release:\n    if: github.event_name == 'workflow_dispatch'\n    uses: ./.github/workflows/wheel_distributing.yml\n    name: Private PyPI non-main branch release\n    with:\n      ReleaseType: \"Test\"\n      UploadAsLatest: \"False\"\n      SourceFolderName: \"promptflow-tools\"\n      ConfigsFolderPath: \"scripts/distributing/configs\"\n    secrets: inherit\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:16.189051", "created_at": "2023-08-25T04:12:45+02:00", "updated_at": "2023-08-28T03:11:10+02:00", "name": "samples_flows_standard_autonomous_agent", "path": ".github/workflows/samples_flows_standard_autonomous_agent.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_autonomous_agent\non:\n  schedule:\n    - cron: \"11 20 * * *\" # Every day starting at 4:11 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/autonomous-agent/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_autonomous_agent.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_autonomous_agent:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/autonomous-agent\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/autonomous-agent\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/autonomous-agent/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/autonomous-agent/README.md -o examples/flows/standard/autonomous-agent\n      - name: Cat script\n        working-directory: examples/flows/standard/autonomous-agent\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/autonomous-agent\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/autonomous-agent\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/autonomous-agent\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/autonomous-agent/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:17.237670", "created_at": "2023-08-25T10:14:00+02:00", "updated_at": "2023-08-25T10:14:00+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non:\n- pull_request_target\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v4\n\n    - name: apply a label to pull request from fork\n      if: ${{ github.event.pull_request.head.repo.full_name != 'microsoft/promptflow' }}\n      uses: actions/github-script@v7\n      with:\n        script: |\n          github.rest.issues.addLabels({\n            issue_number: context.issue.number,\n            owner: context.repo.owner,\n            repo: context.repo.repo,\n            labels: ['external']\n          })", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:18.274295", "created_at": "2023-08-25T16:44:13+02:00", "updated_at": "2023-08-25T16:44:13+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:19.449308", "created_at": "2023-08-27T11:48:05+02:00", "updated_at": "2023-08-27T16:25:13+02:00", "name": "samples_flows_chat_chatwithpdf_chatwithpdfazure", "path": ".github/workflows/samples_flows_chat_chatwithpdf_chatwithpdfazure.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_chat_chatwithpdf_chatwithpdfazure\non:\n  schedule:\n    - cron: \"44 20 * * *\" # Every day starting at 4:44 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/chat/chat-with-pdf/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_chatwithpdf_chatwithpdfazure.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_chat_chatwithpdf_chatwithpdfazure:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Generate config.json for canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        run: echo '${{ secrets.TEST_WORKSPACE_CONFIG_JSON_CANARY }}' > ${{ github.workspace }}/examples/config.json\n      - name: Generate config.json for production workspace\n        if: github.event_name != 'schedule'\n        run: echo '${{ secrets.EXAMPLE_WORKSPACE_CONFIG_JSON_PROD }}' > ${{ github.workspace }}/examples/config.json\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n          pip freeze\n          pf --version\n        shell: bash -el {0}\n      - name: Prepare sample requirements\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          pip install -r requirements.txt\n      - name: Create Chat With PDF Custom Connection\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n            pf connection create --file .env --name chat_with_pdf_custom_connection\n          fi\n      - name: Create AOAI Connection\n        working-directory: examples/connections\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          if [[ -e azure_openai.yml ]]; then\n            pf connection create --file azure_openai.yml --set api_key=$AOAI_API_KEY api_base=$AOAI_API_ENDPOINT\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/flows/chat/chat-with-pdf\n        run: |\n          papermill -k python chat-with-pdf-azure.ipynb chat-with-pdf-azure.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/flows/chat/chat-with-pdf\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:20.538381", "created_at": "2023-08-28T07:47:02+02:00", "updated_at": "2023-08-28T11:37:32+02:00", "name": "samples_flows_standard_customer_intent_extraction", "path": ".github/workflows/samples_flows_standard_customer_intent_extraction.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_customer_intent_extraction\non:\n  schedule:\n    - cron: \"17 21 * * *\" # Every day starting at 5:17 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/customer-intent-extraction/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_customer_intent_extraction.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_customer_intent_extraction:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/customer-intent-extraction\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/customer-intent-extraction\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/customer-intent-extraction/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/customer-intent-extraction/README.md -o examples/flows/standard/customer-intent-extraction\n      - name: Cat script\n        working-directory: examples/flows/standard/customer-intent-extraction\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/customer-intent-extraction\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/customer-intent-extraction\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/customer-intent-extraction\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/customer-intent-extraction/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:21.589253", "created_at": "2023-08-29T08:08:24+02:00", "updated_at": "2023-08-30T11:20:07+02:00", "name": "samples_flows_standard_maths_to_code", "path": ".github/workflows/samples_flows_standard_maths_to_code.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_maths_to_code\non:\n  schedule:\n    - cron: \"39 19 * * *\" # Every day starting at 3:39 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/maths-to-code/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_maths_to_code.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_maths_to_code:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/maths-to-code\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/maths-to-code\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/maths-to-code/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/maths-to-code/README.md -o examples/flows/standard/maths-to-code\n      - name: Cat script\n        working-directory: examples/flows/standard/maths-to-code\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/maths-to-code\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/maths-to-code\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/maths-to-code\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/maths-to-code/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:22.604972", "created_at": "2023-08-29T11:22:56+02:00", "updated_at": "2023-08-29T11:22:56+02:00", "name": "promptflow-sdk-local-service-e2e-test", "path": ".github/workflows/promptflow-sdk-local-service-e2e-test.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:23.649172", "created_at": "2023-08-30T14:55:53+02:00", "updated_at": "2023-09-01T12:01:35+02:00", "name": "promptflow-release-testing-matrix", "path": ".github/workflows/promptflow-release-testing-matrix.yml", "contents": "name: promptflow-release-testing-matrix\non:\n  workflow_call:\n  workflow_dispatch:\n    inputs:\n      # can leave empty when trigger manually\n      # GitHub Actions API for trigger does not return workflow run id\n      # there we reference below Stack Overflow solution:\n      # https://stackoverflow.com/a/69500478\n      # which adds an identifier in workflow run jobs and can be used for filter\n      id:\n        description: Identifier for the workflow run\n        required: false\n        type: string\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n  TRACING_DIRECTORY: ${{ github.workspace }}/src/promptflow-tracing\n  AZURE_DIRECTORY: ${{ github.workspace }}/src/promptflow-azure\n  CORE_DIRECTORY: ${{ github.workspace }}/src/promptflow-core\n  DEVKIT_DIRECTORY: ${{ github.workspace }}/src/promptflow-devkit\n  PROMPTFLOW_DIRECTORY: ${{ github.workspace }}/src/promptflow\n  TOOL_DIRECTORY: ${{ github.workspace }}/src/promptflow-tools\n  RECORD_DIRECTORY: ${{ github.workspace }}/src/promptflow-recording\n  PROMPT_FLOW_WORKSPACE_NAME: \"promptflow-eastus\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  id:\n    runs-on: ubuntu-latest\n    steps:\n      - name: workflow run id - ${{ inputs.id }}\n        run: |\n          echo \"workflow run id: ${{ inputs.id }}\"\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.9\"\n    - uses: snok/install-poetry@v1\n    - working-directory: ${{ env.TRACING_DIRECTORY }}\n      run: poetry build -f wheel\n    - working-directory: ${{ env.CORE_DIRECTORY }}\n      run: poetry build -f wheel\n    - working-directory: ${{ env.DEVKIT_DIRECTORY }}\n      run: poetry build -f wheel\n    - working-directory: ${{ env.AZURE_DIRECTORY }}\n      run: poetry build -f wheel\n    - working-directory: ${{ env.PROMPTFLOW_DIRECTORY }}\n      run: |\n        pip install -r ./dev_requirements.txt\n        python ./setup.py bdist_wheel\n    - working-directory: ${{ env.TOOL_DIRECTORY }}\n      run: python ./setup.py bdist_wheel\n\n    - name: Upload Wheel\n      uses: actions/upload-artifact@v3\n      with:\n        name: wheel\n        path: |\n          ${{ github.workspace }}/src/promptflow/dist/*.whl\n          ${{ github.workspace }}/src/promptflow-tracing/dist/*.whl\n          ${{ github.workspace }}/src/promptflow-core/dist/*.whl\n          ${{ github.workspace }}/src/promptflow-devkit/dist/*.whl\n          ${{ github.workspace }}/src/promptflow-azure/dist/*.whl\n          ${{ github.workspace }}/src/promptflow-tools/dist/*.whl\n\n  promptflow_tracing_tests:\n    if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event_name == 'pull_request' }}\n    needs: build\n    env:\n      PROMPT_FLOW_TEST_MODE: \"live\"\n      WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-tracing\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        pythonVersion: ['3.8', '3.9', '3.10', '3.11']\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n    - name: Display and Set Environment Variables\n      run:\n        env | sort >> $GITHUB_OUTPUT\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.pythonVersion }}\n    - uses: snok/install-poetry@v1\n    - name: Download Artifacts\n      uses: actions/download-artifact@v3\n      with:\n        name: wheel\n        path: ${{ env.WORKING_DIRECTORY }}/artifacts\n    - name: install promptflow-tracing from wheel\n      # wildcard expansion (*) does not work in Windows, so leverage python to find and install\n      run: poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_tracing-*.whl', recursive=True)[0])\")\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - name: install test dependency group\n      run: poetry install --only test\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - name: install recording\n      run: poetry install\n      working-directory: ${{ env.RECORD_DIRECTORY }}\n    - name: generate end-to-end test config from secret\n      run: echo '${{ secrets.PF_TRACING_E2E_TEST_CONFIG }}' >> connections.json\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - name: run e2e tests\n      run: poetry run pytest -m e2etest\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - name: upload coverage report\n      uses: actions/upload-artifact@v4\n      with:\n        name: promptflow_tracing_tests report-${{ matrix.os }}-py${{ matrix.pythonVersion }}\n        path: |\n          ${{ env.WORKING_DIRECTORY }}/*.xml\n\n\n  promptflow_core_tests:\n    if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event_name == 'pull_request' }}\n    needs: build\n    environment:\n      internal\n    env:\n      PROMPT_FLOW_TEST_MODE: \"live\"\n      WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-core\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        pythonVersion: ['3.8', '3.9', '3.10', '3.11']\n    # snok/install-poetry need this to support Windows\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.pythonVersion }}\n      - uses: snok/install-poetry@v1\n      - name: Download Artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: wheel\n          path: ${{ env.WORKING_DIRECTORY }}/artifacts\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Generate Configs\n        uses: \"./.github/actions/step_generate_configs\"\n        with:\n          targetFolder: ${{ env.PROMPTFLOW_DIRECTORY }}\n      - name: install promptflow-core from wheel\n        # wildcard expansion (*) does not work in Windows, so leverage python to find and install\n        run: |\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_tracing-*.whl', recursive=True)[0])\")\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_core-*.whl', recursive=True)[0])\")\n          poetry run pip install -e ../promptflow-recording\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: install test dependency group\n        run: poetry install --only test\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: run core tests\n        run: poetry run pytest ./tests/core\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: upload coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: promptflow_core_tests report-${{ matrix.os }}-py${{ matrix.pythonVersion }}\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/*.xml\n\n  promptflow_core_azureml_serving_tests:\n    if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event_name == 'pull_request' }}\n    needs: build\n    env:\n      PROMPT_FLOW_TEST_MODE: \"live\"\n      WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-core\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        pythonVersion: ['3.8', '3.9', '3.10', '3.11']\n    # snok/install-poetry need this to support Windows\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.pythonVersion }}\n      - uses: snok/install-poetry@v1\n      - name: Download Artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: wheel\n          path: ${{ env.WORKING_DIRECTORY }}/artifacts\n      - name: install promptflow-core from wheel\n        # wildcard expansion (*) does not work in Windows, so leverage python to find and install\n        run: |\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_tracing-*.whl', recursive=True)[0])\")\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_core-*.whl', recursive=True)[0]+'[azureml-serving]')\")\n          poetry run pip install -e ../promptflow-recording\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: install test dependency group\n        run: poetry install --only test\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: run azureml-serving tests\n        run: poetry run pytest ./tests/azureml-serving\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: upload report\n        uses: actions/upload-artifact@v4\n        with:\n          name: promptflow_core_azureml_serving_tests report-${{ matrix.os }}-py${{ matrix.pythonVersion }}\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/*.xml\n\n\n  promptflow_devkit_tests:\n    if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event_name == 'pull_request' }}\n    needs: build\n    environment:\n      internal\n    env:\n      PROMPT_FLOW_TEST_MODE: \"live\"\n      WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-devkit\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        pythonVersion: ['3.8', '3.9', '3.10', '3.11']\n    # snok/install-poetry need this to support Windows\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.pythonVersion }}\n      - uses: snok/install-poetry@v1\n      - name: Download Artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: wheel\n          path: ${{ env.WORKING_DIRECTORY }}/artifacts\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Generate Configs\n        uses: \"./.github/actions/step_generate_configs\"\n        with:\n          targetFolder: ${{ env.PROMPTFLOW_DIRECTORY }}\n      - name: install promptflow-devkit from wheel\n        # wildcard expansion (*) does not work in Windows, so leverage python to find and install\n        run: |\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_tracing-*.whl', recursive=True)[0])\")\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_core-*.whl', recursive=True)[0]+'[azureml-serving]')\")\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_devkit-*.whl', recursive=True)[0]+'[executable]')\")\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow-*.whl', recursive=True)[0])\")\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_tools-*.whl', recursive=True)[0])\")\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: install test dependency group\n        run: poetry install --only test\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: run devkit tests\n        run: poetry run pytest ./tests/sdk_cli_test ./tests/sdk_pfs_test -n auto -m \"unittest or e2etest\"\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: upload coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: promptflow_devkit_tests report-${{ matrix.os }}-py${{ matrix.pythonVersion }}\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/*.xml\n\n\n  promptflow_azure_tests:\n    needs: build\n    environment:\n      internal\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        pythonVersion: ['3.8', '3.9', '3.10', '3.11']\n    env:\n      PROMPT_FLOW_TEST_MODE: \"live\"\n      WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-azure\n      PROMPT_FLOW_WORKSPACE_NAME: \"promptflow-eastus\"\n    # snok/install-poetry need this to support Windows\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.pythonVersion }}\n      - uses: snok/install-poetry@v1\n      - name: Download Artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: wheel\n          path: ${{ env.WORKING_DIRECTORY }}/artifacts\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Generate Configs\n        uses: \"./.github/actions/step_generate_configs\"\n        with:\n          targetFolder: ${{ env.PROMPTFLOW_DIRECTORY }}\n      - name: install promptflow-azure from wheel\n        # wildcard expansion (*) does not work in Windows, so leverage python to find and install\n        run: |\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_tracing-*.whl', recursive=True)[0])\")\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_core-*.whl', recursive=True)[0]+'[azureml-serving]')\")\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_devkit-*.whl', recursive=True)[0]+'[executable]')\")\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_azure-*.whl', recursive=True)[0])\")\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow-*.whl', recursive=True)[0])\")\n          poetry run pip install $(python -c \"import glob; print(glob.glob('**/promptflow_tools-*.whl', recursive=True)[0])\")\n          poetry run pip install -e ../promptflow-recording\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: install test dependency group\n        run: poetry install --only test\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: run azure tests\n        run: poetry run pytest ./tests/sdk_cli_azure_test -n auto -m \"unittest or e2etest\"\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: upload coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: promptflow_azure_tests report-${{ matrix.os }}-py${{ matrix.pythonVersion }}\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/*.xml\n\n\n  promptflow_executor_tests:\n    if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event_name == 'pull_request' }}\n    needs: build\n    environment:\n      internal\n    env:\n      testWorkingDirectory: src/promptflow\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        pythonVersion: ['3.8', '3.9', '3.10', '3.11']\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n    - name: Display and Set Environment Variables\n      run:\n        env | sort >> $GITHUB_OUTPUT\n      shell: bash -el {0}\n    - name: Python Env Setup - ${{ matrix.os }} - Python Version ${{ matrix.pythonVersion }}\n      uses: \"./.github/actions/step_create_python_environment\"\n      with:\n        pythonVersion: ${{ matrix.pythonVersion }}\n    - name: Download Artifacts\n      uses: actions/download-artifact@v3\n      with:\n        name: wheel\n        path: artifacts\n    - name: install recording\n      run: |\n        pip install vcrpy\n        pip install -e .\n      working-directory: ${{ env.RECORD_DIRECTORY }}\n    - name: Azure Login\n      uses: azure/login@v1\n      with:\n        subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n        tenant-id: ${{secrets.AZURE_TENANT_ID}}\n        client-id: ${{secrets.AZURE_CLIENT_ID}}\n    - name: Generate Configs\n      uses: \"./.github/actions/step_generate_configs\"\n      with:\n        targetFolder: ${{ env.testWorkingDirectory }}\n    - name: Install pf\n      shell: pwsh\n      working-directory: artifacts\n      run: |\n        pip install -r ${{ github.workspace }}/src/promptflow/dev_requirements.txt\n        pip uninstall -y promptflow-core promptflow-devkit promptflow-tracing\n        pip install ${{ github.workspace }}/src/promptflow-tracing\n        pip install ${{ github.workspace }}/src/promptflow-core\n        pip install ${{ github.workspace }}/src/promptflow-devkit[pyarrow]\n        pip install ${{ github.workspace }}/src/promptflow-azure\n        gci ./promptflow -Recurse | % {if ($_.Name.Contains('.whl')) {python -m pip install \"$($_.FullName)[azure,executor-service]\"}}\n        gci ./promptflow-tools -Recurse | % {if ($_.Name.Contains('.whl')) {python -m pip install \"$($_.FullName)\"}}\n        pip freeze\n    - name: Run Executor Unit Test\n      shell: pwsh\n      working-directory: ${{ github.workspace }}\n      run: |\n        pip install langchain\n        pip install numexpr\n        python scripts/building/run_coverage_tests.py `\n          -p ${{ github.workspace }}/src/promptflow/promptflow `\n          -t ${{ github.workspace }}/src/promptflow/tests/executor/unittests `\n          -l eastus `\n          -m \"all\" `\n          -o \"${{ github.workspace }}/test-results-executor-unit.xml\"\n    - name: Run Executor E2E Test\n      shell: pwsh\n      working-directory: ${{ github.workspace }}\n      run: |\n        pip install langchain langchain_community\n        pip install numexpr\n        python scripts/building/run_coverage_tests.py `\n          -p ${{ github.workspace }}/src/promptflow/promptflow `\n          -t ${{ github.workspace }}/src/promptflow/tests/executor/e2etests `\n          -l eastus `\n          -m \"all\" `\n          -o \"${{ github.workspace }}/test-results-executor-e2e.xml\"\n    - name: Upload pytest test results (Python ${{ matrix.pythonVersion }}) (OS ${{ matrix.os }})\n      if: ${{ always() }}\n      uses: actions/upload-artifact@v3\n      with:\n        name: promptflow_executor_tests Test Results (Python ${{ matrix.pythonVersion }}) (OS ${{ matrix.os }})\n        path: ${{ github.workspace }}/*.xml\n\n\n  publish-test-results:\n    name: \"Publish Tests Results\"\n    needs: [ promptflow_devkit_tests, promptflow_azure_tests, promptflow_executor_tests, promptflow_core_tests, promptflow_core_azureml_serving_tests ]\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: read\n    if: always()\n\n    steps:\n      - name: Download Artifacts\n        uses: actions/download-artifact@v3\n        with:\n          path: artifacts\n      - name: Publish Test Results\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          files: \"artifacts/**/test-*.xml\"\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:24.675846", "created_at": "2023-09-01T12:28:55+02:00", "updated_at": "2023-09-01T12:28:55+02:00", "name": "Create promptflow release branch", "path": ".github/workflows/create_promptflow_release_branch.yml", "contents": "name: Create promptflow release branch\n\non:\n  workflow_dispatch:\n    inputs:\n      # specify when trigger\n      # expected format: 0.1.0b1 or 1.0.0\n      release_version:\n        description: Release version\n        required: true\n        type: string\n\njobs:\n  create_release_branch:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: checkout\n        uses: actions/checkout@v2\n      - name: create branch\n        run: |\n          set -x -e\n\n          release_version=\"${{ inputs.release_version }}\"\n          if [[ \"$release_version\" =~ ^[0-9]+\\.[0-9]+\\.[0-9]+(b[0-9]+)?$ ]]; then\n            echo \"configured release version: $release_version\"\n          else\n            echo \"invalid configured release version: $release_version\"\n            exit 1\n          fi\n\n          release_branch_name=\"release/promptflow/$release_version\"\n          echo \"release branch name: $release_branch_name, checking out...\"\n          git checkout -b $release_branch_name\n\n          git config --global user.name 'promptflow release'\n          git config --global user.email 'aml-pt-eng@microsoft.com'\n          git push --set-upstream origin $release_branch_name\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:25.726368", "created_at": "2023-09-04T13:42:53+02:00", "updated_at": "2023-09-04T15:01:10+02:00", "name": "samples_tutorials_flow_deploy_azure_app_service", "path": ".github/workflows/samples_tutorials_flow_deploy_azure_app_service.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tutorials_flow_deploy_azure_app_service\non:\n  schedule:\n    - cron: \"48 20 * * *\" # Every day starting at 4:48 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/flow-deploy/azure-app-service/**, examples/connections/azure_openai.yml, examples/flows/standard/web-classification/**, .github/workflows/samples_tutorials_flow_deploy_azure_app_service.yml, examples/requirements.txt ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tutorials_flow_deploy_azure_app_service:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tutorials/flow-deploy/azure-app-service\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/tutorials/flow-deploy/azure-app-service\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tutorials/flow-deploy/azure-app-service/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tutorials/flow-deploy/azure-app-service/README.md -o examples/tutorials/flow-deploy/azure-app-service\n      - name: Cat script\n        working-directory: examples/tutorials/flow-deploy/azure-app-service\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tutorials/flow-deploy/azure-app-service\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tutorials/flow-deploy/azure-app-service\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tutorials/flow-deploy/azure-app-service\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tutorials/flow-deploy/azure-app-service/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:26.754539", "created_at": "2023-09-04T13:42:53+02:00", "updated_at": "2023-09-04T15:01:10+02:00", "name": "samples_tutorials_flow_deploy_docker", "path": ".github/workflows/samples_tutorials_flow_deploy_docker.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tutorials_flow_deploy_docker\non:\n  schedule:\n    - cron: \"53 20 * * *\" # Every day starting at 4:53 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/flow-deploy/docker/**, examples/connections/azure_openai.yml, examples/flows/standard/web-classification/**, .github/workflows/samples_tutorials_flow_deploy_docker.yml, examples/requirements.txt ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tutorials_flow_deploy_docker:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tutorials/flow-deploy/docker\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/tutorials/flow-deploy/docker\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tutorials/flow-deploy/docker/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tutorials/flow-deploy/docker/README.md -o examples/tutorials/flow-deploy/docker\n      - name: Cat script\n        working-directory: examples/tutorials/flow-deploy/docker\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tutorials/flow-deploy/docker\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tutorials/flow-deploy/docker\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tutorials/flow-deploy/docker\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tutorials/flow-deploy/docker/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:27.817040", "created_at": "2023-09-05T05:56:13+02:00", "updated_at": "2023-09-05T12:33:13+02:00", "name": "samples_tutorials_flow_deploy_kubernetes", "path": ".github/workflows/samples_tutorials_flow_deploy_kubernetes.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tutorials_flow_deploy_kubernetes\non:\n  schedule:\n    - cron: \"19 19 * * *\" # Every day starting at 3:19 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/flow-deploy/kubernetes/**, examples/connections/azure_openai.yml, examples/flows/standard/web-classification/**, .github/workflows/samples_tutorials_flow_deploy_kubernetes.yml, examples/requirements.txt ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tutorials_flow_deploy_kubernetes:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tutorials/flow-deploy/kubernetes\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/tutorials/flow-deploy/kubernetes\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tutorials/flow-deploy/kubernetes/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tutorials/flow-deploy/kubernetes/README.md -o examples/tutorials/flow-deploy/kubernetes\n      - name: Cat script\n        working-directory: examples/tutorials/flow-deploy/kubernetes\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tutorials/flow-deploy/kubernetes\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tutorials/flow-deploy/kubernetes\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tutorials/flow-deploy/kubernetes\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tutorials/flow-deploy/kubernetes/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:29.073939", "created_at": "2023-09-05T07:24:23+02:00", "updated_at": "2023-09-05T07:24:23+02:00", "name": "Create promptflow release tag", "path": ".github/workflows/create_promptflow_release_tag.yml", "contents": "name: Create promptflow release tag\n\non:\n  workflow_dispatch:\n    inputs:\n      release_version:\n        description: \"Release version\"\n        required: true\n        type: string\n\njobs:\n  create_release_tag:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: checkout\n        uses: actions/checkout@v2\n\n      - name: create branch\n        run: |\n          set -x -e\n\n          branch_name=\"${{ github.ref_name }}\"\n          echo \"branch name: $branch_name\"\n\n          if [[ $branch_name != release/promptflow/* ]]; then\n            echo \"not a release branch for promptflow, exiting...\"\n            exit 1\n          fi\n\n          release_version=${branch_name#release/promptflow/}\n          echo \"release version: $release_version\"\n\n          echo \"replacing version in src/promptflow/promptflow/_version.py...\"\n          sed -i \"s/0.0.1/$release_version/g\" src/promptflow/promptflow/_version.py\n          echo \"replaced src/promptflow/promptflow/_version.py:\"\n          cat src/promptflow/promptflow/_version.py\n\n          if [[ $(git diff --name-only) == *\"src/promptflow/promptflow/_version.py\"* ]]; then\n            git add src/promptflow/promptflow/_version.py\n            git config --global user.name 'promptflow release'\n            git config --global user.email 'aml-pt-eng@microsoft.com'\n            git commit -m \"update version in _version.py for promptflow\"\n            git push --set-upstream origin $branch_name\n          fi\n\n          git tag promptflow_$release_version\n          git push origin --tags\n\n          # write environment variable to `GITHUB_ENV` to pass values between steps\n          # https://docs.github.com/en/github-ae@latest/actions/learn-github-actions/variables#passing-values-between-steps-and-jobs-in-a-workflow\n          echo \"release_version=$release_version\" >> \"$GITHUB_ENV\"\n          echo \"release_tag=$release_tag\" >> \"$GITHUB_ENV\"\n\n      - name: create asset\n        run: |\n          cd src\n          tar -czvf promptflow-$release_version.tar.gz promptflow\n\n      - name: create release note\n        run: |\n          cp ./scripts/release/promptflow-release-note.md ./src/promptflow/release_note.md\n          sed -i \"s/{{VERSION}}/$release_version/g\" ./src/promptflow/release_note.md\n          cat ./src/promptflow/release_note.md\n\n      - name: create release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: promptflow_${{ inputs.release_version }}\n          release_name: promptflow ${{ inputs.release_version }}\n          body_path: ./src/promptflow/release_note.md\n          draft: false\n          prerelease: false\n\n      - name: upload asset\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_path: ./src/promptflow-${{ inputs.release_version }}.tar.gz\n          asset_name: promptflow-${{ inputs.release_version }}.tar.gz\n          asset_content_type: application/gzip\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:30.179166", "created_at": "2023-09-15T09:57:43+02:00", "updated_at": "2023-09-15T09:57:43+02:00", "name": "samples_tutorials_flow_deploy_flow_model_packaging", "path": ".github/workflows/samples_tutorials_flow_deploy_flow_model_packaging.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:31.327030", "created_at": "2023-09-18T07:15:30+02:00", "updated_at": "2023-09-18T11:38:38+02:00", "name": "samples_flows_standard_conditional_flow_for_if_else", "path": ".github/workflows/samples_flows_standard_conditional_flow_for_if_else.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_conditional_flow_for_if_else\non:\n  schedule:\n    - cron: \"8 21 * * *\" # Every day starting at 5:8 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/conditional-flow-for-if-else/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_conditional_flow_for_if_else.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_conditional_flow_for_if_else:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/conditional-flow-for-if-else\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/conditional-flow-for-if-else\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/conditional-flow-for-if-else/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/conditional-flow-for-if-else/README.md -o examples/flows/standard/conditional-flow-for-if-else\n      - name: Cat script\n        working-directory: examples/flows/standard/conditional-flow-for-if-else\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/conditional-flow-for-if-else\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/conditional-flow-for-if-else\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/conditional-flow-for-if-else\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/conditional-flow-for-if-else/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:32.445280", "created_at": "2023-09-18T08:40:57+02:00", "updated_at": "2023-09-18T12:15:49+02:00", "name": "Spell check CI", "path": ".github/workflows/spell_check.yml", "contents": "name: Spell check CI\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  Spell_Check:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Use Node.js 18.x\n        uses: actions/setup-node@v3\n        with:\n          node-version: \"18.x\"\n\n      - name: Install cspell\n        run: npm install -g cspell\n\n      - name: Run cspell\n        run: |-\n          cspell lint \"**\" > cspell_check.log || true\n          if [ -s cspell_check.log ]; then\n            echo -e \"\\e[91mNote: If the detected words are expected, add them into \".cspell.json\" which is at the repo root folder.\\e[0m\" \n            echo -e \"====================== Summary of cspell errors ======================\"\n            echo -e \"\\e[31m$(cat cspell_check.log)\\e[0m\" \n            exit 1\n          fi\n          \n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:33.580354", "created_at": "2023-09-18T10:37:22+02:00", "updated_at": "2023-10-12T09:28:34+02:00", "name": "samples_tutorials_flow_deploy_distribute_flow_as_executable_app", "path": ".github/workflows/samples_tutorials_flow_deploy_distribute_flow_as_executable_app.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tutorials_flow_deploy_distribute_flow_as_executable_app\non:\n  schedule:\n    - cron: \"59 21 * * *\" # Every day starting at 5:59 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/flow-deploy/distribute-flow-as-executable-app/**, examples/connections/azure_openai.yml, examples/flows/standard/web-classification/**, .github/workflows/samples_tutorials_flow_deploy_distribute_flow_as_executable_app.yml, examples/requirements.txt ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tutorials_flow_deploy_distribute_flow_as_executable_app:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tutorials/flow-deploy/distribute-flow-as-executable-app\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/tutorials/flow-deploy/distribute-flow-as-executable-app\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tutorials/flow-deploy/distribute-flow-as-executable-app/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tutorials/flow-deploy/distribute-flow-as-executable-app/README.md -o examples/tutorials/flow-deploy/distribute-flow-as-executable-app\n      - name: Cat script\n        working-directory: examples/tutorials/flow-deploy/distribute-flow-as-executable-app\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tutorials/flow-deploy/distribute-flow-as-executable-app\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tutorials/flow-deploy/distribute-flow-as-executable-app\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tutorials/flow-deploy/distribute-flow-as-executable-app\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tutorials/flow-deploy/distribute-flow-as-executable-app/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:35.328512", "created_at": "2023-09-18T17:29:19+02:00", "updated_at": "2023-09-19T12:25:28+02:00", "name": "samples_flows_standard_conditional_flow_for_switch", "path": ".github/workflows/samples_flows_standard_conditional_flow_for_switch.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_conditional_flow_for_switch\non:\n  schedule:\n    - cron: \"21 20 * * *\" # Every day starting at 4:21 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/conditional-flow-for-switch/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_conditional_flow_for_switch.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_conditional_flow_for_switch:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/conditional-flow-for-switch\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/conditional-flow-for-switch\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/conditional-flow-for-switch/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/conditional-flow-for-switch/README.md -o examples/flows/standard/conditional-flow-for-switch\n      - name: Cat script\n        working-directory: examples/flows/standard/conditional-flow-for-switch\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/conditional-flow-for-switch\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/conditional-flow-for-switch\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/conditional-flow-for-switch\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/conditional-flow-for-switch/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:36.334886", "created_at": "2023-09-21T17:42:05+02:00", "updated_at": "2023-09-21T17:42:05+02:00", "name": "samples_flows_standard_basic_with_embedding_tool", "path": ".github/workflows/samples_flows_standard_basic_with_embedding_tool.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:37.383601", "created_at": "2023-09-22T11:28:59+02:00", "updated_at": "2023-09-25T05:25:59+02:00", "name": "promptflow-global-config-test", "path": ".github/workflows/promptflow-global-config-test.yml", "contents": "name: promptflow-global-config-test\non:\n  schedule:\n    - cron: \"40 18 * * *\" # Every day starting at 2:40 BJT\n  pull_request_target:\n    paths:\n      - src/promptflow-core/**\n      - src/promptflow-devkit/**\n      - src/promptflow-tracing/**\n      - src/promptflow-azure/**\n      - src/promptflow/**\n      - scripts/building/**\n      - .github/workflows/promptflow-global-config-test.yml\n  workflow_dispatch:\npermissions:\n  id-token: write\n  contents: read\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n  RECORD_DIRECTORY: ${{ github.workspace }}/src/promptflow-recording\n  TRACING_DIRECTORY: ${{ github.workspace }}/src/promptflow-tracing\n  CORE_DIRECTORY: ${{ github.workspace }}/src/promptflow-core\n  WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-devkit\n  PROMPTFLOW_DIRECTORY: ${{ github.workspace }}/src/promptflow\n  TOOL_DIRECTORY: ${{ github.workspace }}/src/promptflow-tools\n  AZURE_DIRECTORY: ${{ github.workspace }}/src/promptflow-azure\njobs:\n  authorize:\n    environment:\n      # forked prs from pull_request_target will be run in external environment, domain prs will be run in internal environment\n      ${{ github.event_name == 'pull_request_target' &&\n      github.event.pull_request.head.repo.full_name != github.repository &&\n      'external' || 'internal' }}\n    runs-on: ubuntu-latest\n    steps:\n      - run: true\n  sdk_cli_global_config_tests:\n    needs: authorize\n    environment:\n      internal\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest]\n    runs-on: ${{ matrix.os }}\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.sha || github.ref }}\n        fetch-depth: 0\n    - name: merge main to current branch\n      uses: \"./.github/actions/step_merge_main\"\n    - name: Display and Set Environment Variables\n      run: |\n        export pyVersion=\"3.9\"\n        env | sort >> $GITHUB_OUTPUT\n      id: display_env\n      shell: bash -el {0}\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ steps.display_env.outputs.pyVersion }}\n    - uses: snok/install-poetry@v1\n    - name: install test dependency group\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n      run: |\n        set -xe\n        poetry install --only test\n        poetry run pip install ${{ env.TRACING_DIRECTORY }}\n        poetry run pip install ${{ env.CORE_DIRECTORY }}[azureml-serving]\n        poetry run pip install -e ${{ env.WORKING_DIRECTORY }}[pyarrow]\n        poetry run pip install -e ${{ env.AZURE_DIRECTORY }}\n\n        echo \"Need to install promptflow to avoid tool dependency issue\"\n        poetry run pip install ${{ env.PROMPTFLOW_DIRECTORY }}\n        poetry run pip install ${{ env.TOOL_DIRECTORY }}\n        poetry run pip install -e ${{ env.RECORD_DIRECTORY }}\n\n        poetry run pip show promptflow-tracing\n        poetry run pip show promptflow-core\n        poetry run pip show promptflow-devkit\n        poetry run pip show promptflow-azure\n        poetry run pip show promptflow-tools\n    - name: Azure Login\n      uses: azure/login@v1\n      with:\n        subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n        tenant-id: ${{secrets.AZURE_TENANT_ID}}\n        client-id: ${{secrets.AZURE_CLIENT_ID}}\n    - name: Install Azure Login items\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n      run: |\n        pip install azure-identity\n        pip install azure-keyvault\n    - name: Generate Configs\n      uses: \"./.github/actions/step_generate_configs\"\n      with:\n        targetFolder: ${{ env.PROMPTFLOW_DIRECTORY }}\n    - name: run devkit tests\n      run: |\n        poetry run pytest ./tests/sdk_cli_global_config_test --cov=promptflow --cov-config=pyproject.toml \\\n        --cov-report=term --cov-report=html --cov-report=xml -n auto -m \"unittest or e2etest\"\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - name: Upload Test Results\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        name: Test Results (Python ${{ steps.display_env.outputs.pyVersion }}) (OS ${{ matrix.os }})\n        path: |\n          ${{ env.WORKING_DIRECTORY }}/*.xml\n          ${{ env.WORKING_DIRECTORY }}/htmlcov/\n  publish-test-results-global-config-test:\n    needs: sdk_cli_global_config_tests\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: read\n    if: always()\n\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.head.sha || github.ref }}\n    - name: Publish Test Results\n      uses: \"./.github/actions/step_publish_test_results\"\n      with:\n        testActionFileName: promptflow-global-config-test.yml\n        testResultTitle: SDK CLI Global Config Test Result\n        osVersion: ubuntu-latest\n        pythonVersion: 3.9\n        coverageThreshold: 0\n        context: test/sdk_cli\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:38.596941", "created_at": "2023-09-26T12:14:40+02:00", "updated_at": "2023-11-13T06:57:05+01:00", "name": "samples_flows_chat_chat_math_variant", "path": ".github/workflows/samples_flows_chat_chat_math_variant.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_chat_chat_math_variant\non:\n  schedule:\n    - cron: \"35 20 * * *\" # Every day starting at 4:35 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/chat/chat-math-variant/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_chat_math_variant.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_chat_chat_math_variant:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/chat/chat-math-variant\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/chat/chat-math-variant\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/chat/chat-math-variant/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/chat/chat-math-variant/README.md -o examples/flows/chat/chat-math-variant\n      - name: Cat script\n        working-directory: examples/flows/chat/chat-math-variant\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/chat/chat-math-variant\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/chat/chat-math-variant\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/chat/chat-math-variant\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/chat/chat-math-variant/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:39.722975", "created_at": "2023-09-27T14:07:01+02:00", "updated_at": "2023-11-13T06:57:05+01:00", "name": "samples_flows_evaluation_eval_chat_math", "path": ".github/workflows/samples_flows_evaluation_eval_chat_math.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_evaluation_eval_chat_math\non:\n  schedule:\n    - cron: \"52 19 * * *\" # Every day starting at 3:52 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/evaluation/eval-chat-math/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_chat_math.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_evaluation_eval_chat_math:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/evaluation/eval-chat-math\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/evaluation/eval-chat-math\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/evaluation/eval-chat-math/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/evaluation/eval-chat-math/README.md -o examples/flows/evaluation/eval-chat-math\n      - name: Cat script\n        working-directory: examples/flows/evaluation/eval-chat-math\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/evaluation/eval-chat-math\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/evaluation/eval-chat-math\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/evaluation/eval-chat-math\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/evaluation/eval-chat-math/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:40.736324", "created_at": "2023-09-28T10:51:07+02:00", "updated_at": "2023-11-13T06:57:05+01:00", "name": "samples_tutorials_flow_fine_tuning_evaluation_promptflow_quality_improvement", "path": ".github/workflows/samples_tutorials_flow_fine_tuning_evaluation_promptflow_quality_improvement.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tutorials_flow_fine_tuning_evaluation_promptflow_quality_improvement\non:\n  schedule:\n    - cron: \"15 19 * * *\" # Every day starting at 3:15 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/flow-fine-tuning-evaluation/**, examples/connections/azure_openai.yml, examples/flows/chat/chat-basic/**, examples/flows/chat/chat-math-variant/**, examples/flows/evaluation/eval-chat-math/**, .github/workflows/samples_tutorials_flow_fine_tuning_evaluation_promptflow_quality_improvement.yml, examples/requirements.txt ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tutorials_flow_fine_tuning_evaluation_promptflow_quality_improvement:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tutorials/flow-fine-tuning-evaluation\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/tutorials/flow-fine-tuning-evaluation\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tutorials/flow-fine-tuning-evaluation/promptflow-quality-improvement.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tutorials/flow-fine-tuning-evaluation/promptflow-quality-improvement.md -o examples/tutorials/flow-fine-tuning-evaluation\n      - name: Cat script\n        working-directory: examples/tutorials/flow-fine-tuning-evaluation\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tutorials/flow-fine-tuning-evaluation\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tutorials/flow-fine-tuning-evaluation\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tutorials/flow-fine-tuning-evaluation\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tutorials/flow-fine-tuning-evaluation/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:41.777925", "created_at": "2023-10-11T10:52:56+02:00", "updated_at": "2023-10-11T10:52:56+02:00", "name": "test-script-on-macos", "path": ".github/workflows/test-script-on-macos.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:42.783196", "created_at": "2023-10-11T12:53:25+02:00", "updated_at": "2023-10-11T13:12:38+02:00", "name": "test-script-on-ubuntu", "path": ".github/workflows/test-script-on-ubuntu.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:43.921104", "created_at": "2023-10-16T10:24:52+02:00", "updated_at": "2023-10-16T10:24:52+02:00", "name": "samples_flows_standard_filepath_input_tool_showcase_readme", "path": ".github/workflows/samples_flows_standard_filepath_input_tool_showcase_readme.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:45.017445", "created_at": "2023-10-20T05:02:16+02:00", "updated_at": "2023-10-20T05:02:16+02:00", "name": "samples_flows_standard_flow_with_script_tool_using_custom_strong_type_connection", "path": ".github/workflows/samples_flows_standard_flow_with_script_tool_using_custom_strong_type_connection.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:46.036425", "created_at": "2023-10-20T05:02:16+02:00", "updated_at": "2023-10-20T05:02:16+02:00", "name": "samples_flows_standard_flow_with_package_tool_using_custom_strong_type_connection", "path": ".github/workflows/samples_flows_standard_flow_with_package_tool_using_custom_strong_type_connection.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:47.068987", "created_at": "2023-10-23T10:14:27+02:00", "updated_at": "2023-10-23T10:14:27+02:00", "name": "samples_runmanagement_localrunmanagement", "path": ".github/workflows/samples_runmanagement_localrunmanagement.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:48.190586", "created_at": "2023-10-24T09:34:50+02:00", "updated_at": "2023-10-30T10:07:53+01:00", "name": "samples_flows_standard_flow_with_enabled_by_value", "path": ".github/workflows/samples_flows_standard_flow_with_enabled_by_value.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:49.212222", "created_at": "2023-10-24T11:00:17+02:00", "updated_at": "2023-10-24T11:00:17+02:00", "name": "samples_flows_standard_custom_llm_tool_showcase", "path": ".github/workflows/samples_flows_standard_custom_llm_tool_showcase.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:50.252215", "created_at": "2023-10-24T11:14:11+02:00", "updated_at": "2023-10-24T11:58:30+02:00", "name": "samples_runmanagement_runmanagement", "path": ".github/workflows/samples_runmanagement_runmanagement.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_runmanagement_runmanagement\non:\n  schedule:\n    - cron: \"51 20 * * *\" # Every day starting at 4:51 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/run-management/**, examples/*requirements.txt, .github/workflows/samples_runmanagement_runmanagement.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_runmanagement_runmanagement:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/tutorials/run-management\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/tutorials/run-management\n        run: |\n          papermill -k python run-management.ipynb run-management.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/tutorials/run-management\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:51.499558", "created_at": "2023-10-26T10:50:50+02:00", "updated_at": "2023-10-27T05:46:40+02:00", "name": "samples_tools_use_cases_custom_llm_tool_showcase", "path": ".github/workflows/samples_tools_use_cases_custom_llm_tool_showcase.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tools_use_cases_custom_llm_tool_showcase\non:\n  schedule:\n    - cron: \"40 21 * * *\" # Every day starting at 5:40 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tools/use-cases/custom_llm_tool_showcase/**, examples/*requirements.txt, .github/workflows/samples_tools_use_cases_custom_llm_tool_showcase.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tools_use_cases_custom_llm_tool_showcase:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tools/use-cases/custom_llm_tool_showcase\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/tools/use-cases/custom_llm_tool_showcase\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tools/use-cases/custom_llm_tool_showcase/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tools/use-cases/custom_llm_tool_showcase/README.md -o examples/tools/use-cases/custom_llm_tool_showcase\n      - name: Cat script\n        working-directory: examples/tools/use-cases/custom_llm_tool_showcase\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tools/use-cases/custom_llm_tool_showcase\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tools/use-cases/custom_llm_tool_showcase\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tools/use-cases/custom_llm_tool_showcase\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tools/use-cases/custom_llm_tool_showcase/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:52.551810", "created_at": "2023-10-26T11:55:11+02:00", "updated_at": "2023-10-26T11:55:11+02:00", "name": "samples_tools_use_cases_filepath_input_tool_showcase", "path": ".github/workflows/samples_tools_use_cases_filepath_input_tool_showcase.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:53.572329", "created_at": "2023-10-26T12:04:34+02:00", "updated_at": "2023-10-27T08:14:09+02:00", "name": "samples_tools_use_cases_custom_strong_type_connection_script_tool_showcase", "path": ".github/workflows/samples_tools_use_cases_custom_strong_type_connection_script_tool_showcase.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tools_use_cases_custom_strong_type_connection_script_tool_showcase\non:\n  schedule:\n    - cron: \"58 20 * * *\" # Every day starting at 4:58 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase/**, examples/*requirements.txt, .github/workflows/samples_tools_use_cases_custom_strong_type_connection_script_tool_showcase.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tools_use_cases_custom_strong_type_connection_script_tool_showcase:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase/README.md -o examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase\n      - name: Cat script\n        working-directory: examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:54.679809", "created_at": "2023-10-26T12:04:34+02:00", "updated_at": "2023-10-27T08:14:09+02:00", "name": "samples_tools_use_cases_cascading_inputs_tool_showcase", "path": ".github/workflows/samples_tools_use_cases_cascading_inputs_tool_showcase.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tools_use_cases_cascading_inputs_tool_showcase\non:\n  schedule:\n    - cron: \"41 20 * * *\" # Every day starting at 4:41 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tools/use-cases/cascading-inputs-tool-showcase/**, examples/*requirements.txt, .github/workflows/samples_tools_use_cases_cascading_inputs_tool_showcase.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tools_use_cases_cascading_inputs_tool_showcase:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tools/use-cases/cascading-inputs-tool-showcase\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/tools/use-cases/cascading-inputs-tool-showcase\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tools/use-cases/cascading-inputs-tool-showcase/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tools/use-cases/cascading-inputs-tool-showcase/README.md -o examples/tools/use-cases/cascading-inputs-tool-showcase\n      - name: Cat script\n        working-directory: examples/tools/use-cases/cascading-inputs-tool-showcase\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tools/use-cases/cascading-inputs-tool-showcase\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tools/use-cases/cascading-inputs-tool-showcase\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tools/use-cases/cascading-inputs-tool-showcase\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tools/use-cases/cascading-inputs-tool-showcase/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:55.685707", "created_at": "2023-10-26T12:04:34+02:00", "updated_at": "2023-10-27T08:14:09+02:00", "name": "samples_tools_use_cases_custom_strong_type_connection_package_tool_showcase", "path": ".github/workflows/samples_tools_use_cases_custom_strong_type_connection_package_tool_showcase.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tools_use_cases_custom_strong_type_connection_package_tool_showcase\non:\n  schedule:\n    - cron: \"0 20 * * *\" # Every day starting at 4:0 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase/**, examples/*requirements.txt, .github/workflows/samples_tools_use_cases_custom_strong_type_connection_package_tool_showcase.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tools_use_cases_custom_strong_type_connection_package_tool_showcase:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase/README.md -o examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase\n      - name: Cat script\n        working-directory: examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:56.753619", "created_at": "2023-10-27T12:21:54+02:00", "updated_at": "2023-10-27T12:21:54+02:00", "name": "samples_flows_standard_basic", "path": ".github/workflows/cleanup_compute_instance.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:57.778131", "created_at": "2023-10-27T12:31:34+02:00", "updated_at": "2023-10-27T12:31:34+02:00", "name": "cleanup_compute_instance_space", "path": ".github/workflows/cleanup_compute_instance_space.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:58.845629", "created_at": "2023-10-31T04:28:01+01:00", "updated_at": "2023-10-31T07:48:58+01:00", "name": "samples_tools_use_cases_dynamic_list_input_tool_showcase", "path": ".github/workflows/samples_tools_use_cases_dynamic_list_input_tool_showcase.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tools_use_cases_dynamic_list_input_tool_showcase\non:\n  schedule:\n    - cron: \"18 20 * * *\" # Every day starting at 4:18 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tools/use-cases/dynamic-list-input-tool-showcase/**, examples/*requirements.txt, .github/workflows/samples_tools_use_cases_dynamic_list_input_tool_showcase.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tools_use_cases_dynamic_list_input_tool_showcase:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tools/use-cases/dynamic-list-input-tool-showcase\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/tools/use-cases/dynamic-list-input-tool-showcase\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tools/use-cases/dynamic-list-input-tool-showcase/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tools/use-cases/dynamic-list-input-tool-showcase/README.md -o examples/tools/use-cases/dynamic-list-input-tool-showcase\n      - name: Cat script\n        working-directory: examples/tools/use-cases/dynamic-list-input-tool-showcase\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tools/use-cases/dynamic-list-input-tool-showcase\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tools/use-cases/dynamic-list-input-tool-showcase\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tools/use-cases/dynamic-list-input-tool-showcase\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tools/use-cases/dynamic-list-input-tool-showcase/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:40:59.973405", "created_at": "2023-11-06T05:54:13+01:00", "updated_at": "2023-11-13T06:57:05+01:00", "name": "samples_getstarted_flowasfunction", "path": ".github/workflows/samples_getstarted_flowasfunction.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_getstarted_flowasfunction\non:\n  schedule:\n    - cron: \"17 21 * * *\" # Every day starting at 5:17 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/get-started/**, examples/*requirements.txt, .github/workflows/samples_getstarted_flowasfunction.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_getstarted_flowasfunction:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Create new Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\" name=new_ai_connection\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/tutorials/get-started\n        run: |\n          papermill -k python flow-as-function.ipynb flow-as-function.output.ipynb -p api_key ${{ secrets.AOAI_API_KEY_TEST }} -p api_base ${{ secrets.AOAI_API_ENDPOINT_TEST }} -p api_version 2023-07-01-preview\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/tutorials/get-started\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:01.126026", "created_at": "2023-11-14T08:11:03+01:00", "updated_at": "2024-04-10T14:17:37+02:00", "name": "Build and Package MSI & Portable Installer", "path": ".github/workflows/build_msi_installer.yml", "contents": "name: Build and Package MSI & Portable Installer\n\non:\n  workflow_dispatch:\n    inputs:\n      uploadAsLatest:\n        type: string\n        default: \"False\"\n        required: false\n        description: 'Also upload the msi installer to storage account as latest'\n\n      version:\n        type: string\n        default: \"\"\n        required: false\n        description: 'Version of promptflow to install (optional). Will build locally if not specified.'\n\n      set_msi_private_version:\n        type: string\n        default: \"\"\n        required: false\n        description: 'Set the version of the private msi installer'\n\npermissions:\n  id-token: write\n  contents: read\n\nenv:\n  packageSetupType: promptflow_with_extra\n  testWorkingDirectory: src/promptflow\n  AZURE_ACCOUNT_NAME: promptflowartifact\n  AZURE_MSI_CONTAINER_NAME: msi-installer\n  AZURE_PORTABLE_CONTAINER_NAME: portable-installer\n\njobs:\n  build_msi_installer:\n    runs-on: windows-latest\n    name: Build Windows MSI\n    environment:\n      internal\n    steps:\n      - name: Check input parameters\n        run: |\n          echo \"uploadAsLatest: ${{ inputs.uploadAsLatest }}\"\n          echo \"version: ${{ inputs.version }}\"\n          echo \"set_msi_private_version: ${{ inputs.set_msi_private_version }}\"\n\n      - name: Checkout Repo\n        uses: actions/checkout@v3\n        with:\n          submodules: true\n\n      - name: Add msbuild to PATH\n        uses: microsoft/setup-msbuild@v1.1\n\n      - name: Install WIX Toolset\n        shell:  pwsh\n        working-directory: ${{ github.workspace }}/scripts/installer/windows\n        run: |\n          Invoke-WebRequest -Uri 'https://azurecliprod.blob.core.windows.net/msi/wix310-binaries-mirror.zip' -OutFile 'wix-archive.zip'\n          Expand-Archive -Path 'wix-archive.zip' -DestinationPath 'wix'\n          Remove-Item -Path 'wix-archive.zip'\n\n      - name: Python Setup\n        uses: \"./.github/actions/step_create_python_environment\"\n\n      - name: Install stable promptflow\n        if: ${{ github.event.inputs.version != null && github.event.inputs.version != '' }}\n        run: |\n          pip install \"promptflow[azure,executable,azureml-serving,executor-service]==$env:INPUT_VERSION\" promptflow-tools\n          echo \"There's no promptflow-evals in pypi, we need to install it from source for now\"\n          pip install ${{ github.workspace }}/src/promptflow-evals\n        env:\n          INPUT_VERSION: ${{ github.event.inputs.version }}\n        shell: pwsh\n\n      - name: Get promptflow version\n        id: get-version\n        # Convert string to int since the version tuple used in \"version_info\" can't start with 0.\n        run: |\n          if ($env:INPUT_VERSION) {\n            $version=$env:INPUT_VERSION\n            $run_version=$(python -c \"import promptflow; print(promptflow.__version__)\")\n            if ($version -ne $run_version) {\n              throw \"Version input does not match the version in promptflow package. Version input: $version, version in promptflow package: $run_version\"\n            }\n          }\n          elseif ($env:MSI_PRIVATE_VERSION) {\n            $version=$env:MSI_PRIVATE_VERSION\n          }\n          else {\n            $prefix = 0\n            $year = [int](Get-Date -Format \"yy\")\n            $monthday = [int](Get-Date -Format \"MMdd\")\n            $hourminutesecond = [int](Get-Date -Format \"HHmmss\")\n            $version=\"$prefix.$year.$monthday.$hourminutesecond\"\n          }\n          echo \"::set-output name=version::$version\"\n        env:\n          INPUT_VERSION: ${{ github.event.inputs.version }}\n          MSI_PRIVATE_VERSION: ${{ github.event.inputs.set_msi_private_version }}\n        shell: pwsh\n\n      - name: Update promptflow package version when set msi private version\n        if: ${{ github.event.inputs.set_msi_private_version != null && github.event.inputs.set_msi_private_version != '' }}\n        run: |\n          $override_version = 'VERSION = \"{0}\"' -f $env:MSI_PRIVATE_VERSION\n          Write-Host \"'$override_version' as version\"\n          $override_version | Out-File -FilePath \"./src/promptflow/promptflow/_version.py\" -Encoding ASCII\n        shell: pwsh\n        env:\n          MSI_PRIVATE_VERSION: ${{ github.event.inputs.set_msi_private_version }}\n\n      - name: Setup and Install dev promptflow\n        if: ${{ github.event.inputs.version == null || github.event.inputs.version == '' }}\n        uses: \"./.github/actions/step_sdk_setup\"\n        with:\n          setupType: promptflow_with_extra\n          scriptPath: ${{ env.testWorkingDirectory }}\n\n      - name: Setup and Install separate dev promptflow\n        if: ${{ github.event.inputs.version == null || github.event.inputs.version == '' }}\n        shell: pwsh\n        run: |\n          Set-PSDebug -Trace 1\n          pip install -r ${{ github.workspace }}/src/promptflow/dev_requirements.txt\n          pip install ${{ github.workspace }}/src/promptflow-tracing\n          pip install ${{ github.workspace }}/src/promptflow-core[executor-service,azureml-serving]\n          pip install ${{ github.workspace }}/src/promptflow-devkit[pyarrow,executable]\n          pip install ${{ github.workspace }}/src/promptflow-azure\n          pip install ${{ github.workspace }}/src/promptflow-evals\n          echo \"Should fix this after pf-core could install this dependency\"\n          pip install azureml-ai-monitoring\n          pip freeze\n\n      - name: Generate promptflow spec file to config pyinstaller\n        working-directory: ${{ github.workspace }}/scripts/installer/windows/scripts\n        run: |\n          python generate_dependency.py\n          Get-Content promptflow.spec\n\n      - name: Build Pyinstaller project\n        working-directory: ${{ github.workspace }}/scripts/installer/windows/scripts\n        run: |\n          echo 'Version from promptflow: ${{ steps.get-version.outputs.version }}'\n          $text = Get-Content \"version_info.txt\" -Raw\n\n          $versionString = '${{ steps.get-version.outputs.version }}'\n          $versionArray = $versionString.Split('.')\n          if ($versionArray.Count -ge 4) {\n              $versionArray = $versionArray[0..3]\n          } else {\n              $remainingLength = 4 - $versionArray.Count\n              $zerosToAppend = @(0) * $remainingLength\n              $versionArray += $zerosToAppend\n          }\n          $versionTuple = [string]::Join(', ', $versionArray)\n          $text = $text -replace '\\$\\((env\\.FILE_VERSION)\\)', $versionTuple\n\n          $text = $text -replace '\\$\\((env\\.CLI_VERSION)\\)', '${{ steps.get-version.outputs.version }}'\n          $text | Out-File -FilePath \"version_info.txt\" -Encoding utf8\n          pyinstaller promptflow.spec\n        shell: pwsh\n\n      - name: Generate portable promptflow\n        run: |\n          Compress-Archive -Path ${{ github.workspace }}/scripts/installer/windows/scripts/dist/promptflow -DestinationPath promptflow-${{ steps.get-version.outputs.version }}.zip\n        shell: pwsh\n\n      - name: Build WIX project\n        working-directory: ${{ github.workspace }}/scripts/installer/windows\n        run: |\n          $text = Get-Content \"promptflow.wixproj\" -Raw\n          $text = $text -replace '\\$\\((env\\.CLI_VERSION)\\)', '${{ steps.get-version.outputs.version }}'\n          $text | Out-File -FilePath \"promptflow.wixproj\" -Encoding utf8\n\n          $text = Get-Content \"product.wxs\" -Raw\n          $text = $text -replace '\\$\\((env\\.CLI_VERSION)\\)', '${{ steps.get-version.outputs.version }}'\n          $text | Out-File -FilePath \"product.wxs\" -Encoding utf8\n\n          msbuild /t:rebuild /p:Configuration=Release /p:Platform=x64 promptflow.wixproj\n        shell: pwsh\n\n      - uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n\n      - name: Download JSON file from Azure Blob Storage\n        id: download-json\n        run: |\n          az storage blob download --account-name ${{ env.AZURE_ACCOUNT_NAME }} --container-name ${{ env.AZURE_MSI_CONTAINER_NAME }} --name latest_version.json --file downloaded_version.json --auth-mode login\n          $downloaded_version = (Get-Content downloaded_version.json | ConvertFrom-Json).promptflow\n          echo \"::set-output name=downloaded_version::$downloaded_version\"\n\n      - name: Check if version input is valid and upload JSON file\n        run: |\n          $version = \"${{ steps.get-version.outputs.version }}\"\n          $downloaded_version = \"${{ steps.download-json.outputs.downloaded_version }}\"\n          $uploadAsLatest = \"${{ github.event.inputs.uploadAsLatest }}\"\n          if ($uploadAsLatest -ieq 'True' -and $version -like '1.*' -and [Version]$version -gt [Version]$downloaded_version){\n            $jsonContent = @{\n              \"promptflow\" = $version\n            } | ConvertTo-Json -Depth 100\n            $jsonContent | Out-File -FilePath latest_version.json -Encoding UTF8\n\n            Write-Output \"Created latest_version.json with version: $version\"\n            az storage blob upload --account-name ${{ env.AZURE_ACCOUNT_NAME }} --container-name ${{ env.AZURE_MSI_CONTAINER_NAME }} --file \"latest_version.json\" --name \"latest_version.json\" --overwrite --auth-mode login\n          } else {\n            Write-Output \"skip uploading since version input isn't greater than latest version or does not start with '1.'\"\n          }\n\n      - name: Upload to Azure Storage\n        run: |\n          function Upload-File($filePath, $blobName, $containerName) {\n            az storage blob upload --account-name ${{ env.AZURE_ACCOUNT_NAME }} --container-name $containerName --file $filePath --name $blobName --overwrite --auth-mode login\n          }\n    \n          $msi_files = Get-ChildItem -Path 'scripts/installer/windows/out/' -Filter *.msi\n          foreach ($msi_file in $msi_files) {\n            if ($env:INPUT_UPLOADASLATEST -ieq 'True') {\n              Upload-File \"scripts/installer/windows/out/$($msi_file.Name)\" \"promptflow.msi\" ${{ env.AZURE_MSI_CONTAINER_NAME }}\n              az storage blob copy start --account-name ${{ env.AZURE_ACCOUNT_NAME }} --destination-container ${{ env.AZURE_MSI_CONTAINER_NAME }} --destination-blob \"$($msi_file.Name)\" --source-container ${{ env.AZURE_MSI_CONTAINER_NAME }} --source-blob \"promptflow.msi\" --auth-mode login\n            } else {\n              Upload-File \"scripts/installer/windows/out/$($msi_file.Name)\" \"$($msi_file.Name)\" ${{ env.AZURE_MSI_CONTAINER_NAME }}\n            }\n          }\n          # Upload zip file\n          if ($env:INPUT_UPLOADASLATEST -ieq 'True') {\n            Upload-File \"promptflow-${{ steps.get-version.outputs.version }}.zip\" \"promptflow.zip\" ${{ env.AZURE_PORTABLE_CONTAINER_NAME }}\n            az storage blob copy start --account-name ${{ env.AZURE_ACCOUNT_NAME }} --destination-container ${{ env.AZURE_PORTABLE_CONTAINER_NAME }} --destination-blob \"promptflow-${{ steps.get-version.outputs.version }}.zip\" --source-container ${{ env.AZURE_PORTABLE_CONTAINER_NAME }} --source-blob \"promptflow.zip\" --auth-mode login\n          } else {\n            Upload-File \"promptflow-${{ steps.get-version.outputs.version }}.zip\" \"promptflow-${{ steps.get-version.outputs.version }}.zip\" ${{ env.AZURE_PORTABLE_CONTAINER_NAME }}\n          }\n        env:\n          INPUT_UPLOADASLATEST: ${{ github.event.inputs.uploadAsLatest }}\n        shell: pwsh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:02.186930", "created_at": "2023-11-20T12:05:18+01:00", "updated_at": "2023-11-22T05:52:33+01:00", "name": "Update CI runtime", "path": ".github/workflows/update-ci-runtime.yml", "contents": "name: Update CI runtime\n\non:\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  update_runtime:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n\n      - name: Generate config.json for canary & production regions\n        run: |\n          echo '${{ secrets.TEST_WORKSPACE_CONFIG_JSON_CANARY }}' > ${{ github.workspace }}/scripts/runtime_mgmt/canary.json\n          echo '${{ secrets.EXAMPLE_WORKSPACE_CONFIG_JSON_PROD }}' > ${{ github.workspace }}/scripts/runtime_mgmt/production.json\n\n      - name: Update runtime\n        shell: pwsh\n        working-directory: ${{ github.workspace }}/scripts/runtime_mgmt\n        run: |\n          pip install promptflow[azure]\n          python update-runtime.py --path canary.json\n          python update-runtime.py --path production.json\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:03.233139", "created_at": "2023-11-23T08:59:27+01:00", "updated_at": "2023-11-23T08:59:27+01:00", "name": "tool_test_new", "path": ".github/workflows/tool_test_new.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:04.404700", "created_at": "2023-11-30T10:12:04+01:00", "updated_at": "2023-12-07T05:45:36+01:00", "name": "samples_tutorials_flow_deploy_create_service_with_flow", "path": ".github/workflows/samples_tutorials_flow_deploy_create_service_with_flow.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tutorials_flow_deploy_create_service_with_flow\non:\n  schedule:\n    - cron: \"49 22 * * *\" # Every day starting at 6:49 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/flow-deploy/create-service-with-flow/**, examples/tutorials/flow-deploy/create-service-with-flow/**, .github/workflows/samples_tutorials_flow_deploy_create_service_with_flow.yml, examples/requirements.txt, examples/connections/azure_openai.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tutorials_flow_deploy_create_service_with_flow:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tutorials/flow-deploy/create-service-with-flow\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/tutorials/flow-deploy/create-service-with-flow\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tutorials/flow-deploy/create-service-with-flow/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tutorials/flow-deploy/create-service-with-flow/README.md -o examples/tutorials/flow-deploy/create-service-with-flow\n      - name: Cat script\n        working-directory: examples/tutorials/flow-deploy/create-service-with-flow\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tutorials/flow-deploy/create-service-with-flow\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tutorials/flow-deploy/create-service-with-flow\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tutorials/flow-deploy/create-service-with-flow\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tutorials/flow-deploy/create-service-with-flow/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:05.534635", "created_at": "2023-12-03T02:57:12+01:00", "updated_at": "2023-12-20T10:31:04+01:00", "name": "samples_flows_chat_chat_with_image", "path": ".github/workflows/samples_flows_chat_chat_with_image.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_chat_chat_with_image\non:\n  schedule:\n    - cron: \"16 19 * * *\" # Every day starting at 3:16 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/chat/chat-with-image/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_chat_with_image.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_chat_chat_with_image:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/chat/chat-with-image\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_GPT_4V_KEY }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_GPT_4V_ENDPOINT }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          cp ../../../connections/azure_openai.yml ./azure_openai.yml\n          sed -i -e \"s/<user-input>/$AOAI_API_KEY/g\" -e \"s/aoai-api-endpoint/$AOAI_API_ENDPOINT/g\" azure_openai.yml\n      - name: Create AOAI Connection from ENV file\n        working-directory: examples/flows/chat/chat-with-image\n        run: |\n          if [[ -e .env ]]; then\n            pf connection create --file .env --name aoai_gpt4v_connection\n          fi\n          if [[ -e azure_openai.yml ]]; then\n            pf connection create --file azure_openai.yml --name aoai_gpt4v_connection\n          fi\n          pf connection list\n      - name: Create run.yml\n        working-directory: examples/flows/chat/chat-with-image\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/chat/chat-with-image/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/chat/chat-with-image/README.md -o examples/flows/chat/chat-with-image\n      - name: Cat script\n        working-directory: examples/flows/chat/chat-with-image\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/chat/chat-with-image\n        run: |\n          export aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }}\n          export aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/chat/chat-with-image\n        run: |\n          export aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }}\n          export aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/chat/chat-with-image\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/chat/chat-with-image/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:06.637671", "created_at": "2023-12-04T10:56:58+01:00", "updated_at": "2024-04-19T05:41:06+02:00", "name": "sdk-cli-perf-monitor-test", "path": ".github/workflows/sdk-cli-perf-monitor-test.yml", "contents": "# execute tests in src/promptflow/tests/sdk_cli_azure_test, src/promptflow/tests/sdk_cli_test with mark perf_monitor_test\n\nname: sdk-cli-perf-monitor-test\n\n\non:\n  pull_request:\n    paths:\n      - src/promptflow/**\n      - src/promptflow-core/**\n      - src/promptflow-devkit/**\n      - src/promptflow-azure/**\n      - scripts/building/**\n      - .github/workflows/sdk-cli-perf-monitor-test.yml\n\n  schedule:\n    - cron: \"0 */6 * * *\"  # Run every 6 hours\n\n  workflow_dispatch:\n\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n  PROMPT_FLOW_TEST_MODE: \"replay\"\n  TRACING_DIRECTORY: ${{ github.workspace }}/src/promptflow-tracing\n  WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-azure\n  CORE_DIRECTORY: ${{ github.workspace }}/src/promptflow-core\n  DEVKIT_DIRECTORY: ${{ github.workspace }}/src/promptflow-devkit\n  PROMPTFLOW_DIRECTORY: ${{ github.workspace }}/src/promptflow\n  TOOL_DIRECTORY: ${{ github.workspace }}/src/promptflow-tools\n  RECORD_DIRECTORY: ${{ github.workspace }}/src/promptflow-recording\n\njobs:\n  sdk_cli_perf_monitor_test:\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-13, windows-latest]\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: Set Github Run Id to an Environment Variable\n        run: echo \"GITHUB_RUN_ID=${{ github.run_id }}\" >> $GITHUB_ENV\n\n      - name: Print Github Run Id\n        run: echo \"Github Run Id is GITHUB_RUN_ID\"\n\n      - name: Display and Set Environment Variables\n        run: |\n          export pyVersion=\"3.9\";\n          env | sort >> $GITHUB_OUTPUT\n        id: display_env\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ steps.display_env.outputs.pyVersion }}\n      - uses: snok/install-poetry@v1\n        with:\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n      - name: install test dependency group\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n        run: |\n          poetry install --with test\n      - run: |\n          source .venv/scripts/activate\n          pytest --version\n        if: runner.os == 'Windows'\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - run: |\n          source .venv/bin/activate\n          pytest --version\n        if: runner.os != 'Windows'\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - run: |\n          set -xe\n          poetry run pip install ../promptflow-tracing\n          poetry run pip install ../promptflow-core[azureml-serving]\n          poetry run pip install ../promptflow-devkit[pyarrow]\n          poetry run pip install ../promptflow-azure\n\n          echo \"Need to install promptflow to avoid tool dependency issue\"\n          poetry run pip install ../promptflow\n          poetry run pip install ../promptflow-tools\n          poetry run pip install ../promptflow-recording\n\n          poetry run pip show promptflow-tracing\n          poetry run pip show promptflow-core\n          poetry run pip show promptflow-devkit\n          poetry run pip show promptflow-azure\n          poetry run pip show promptflow-tools\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n\n      - name: Generate (mock) connections.json\n        shell: pwsh\n        working-directory: ${{ env.PROMPTFLOW_DIRECTORY }}\n        run: cp ${{ github.workspace }}/src/promptflow/dev-connections.json.example ${{ github.workspace }}/src/promptflow/connections.json\n\n      - name: Run Test\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n        run: |\n          poetry run pytest ./tests/sdk_cli_azure_test ../promptflow-azure/tests/sdk_cli_azure_test -m \"perf_monitor_test\"\n\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:08.190579", "created_at": "2023-12-06T09:14:37+01:00", "updated_at": "2023-12-06T09:14:37+01:00", "name": "Close stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues and pull requests'\non:\n  schedule:\n    - cron: '30 21 * * *'  # 5:30 Beijing Time (GMT+8)\n  workflow_dispatch:\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v8\n        with:\n          operations-per-run: 256\n          exempt-issue-labels: 'long-term,feature'  # syntax: <label1>,<label2>\n          exempt-pr-labels: 'long-term'\n          # stale issue/pull request\n          stale-issue-message: \"Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!\"\n          stale-issue-label: 'no-recent-activity'\n          stale-pr-message: \"Hi, thank you for your interest in helping to improve the prompt flow experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment.\"\n          stale-pr-label: 'no-recent-activity'\n          days-before-issue-stale: 30\n          days-before-pr-stale: 14\n          # close issue/pull request\n          days-before-issue-close: 7\n          days-before-pr-close: 7\n          close-pr-message: \"Hi, thank you for your contribution. Since there has not been recent engagement, we are going to close this out. Feel free to reopen if you'd like to continue working on these changes. Please be sure to remove the `no-recent-activity` label; otherwise, this is likely to be closed again with the next cleanup pass.\"\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:09.226003", "created_at": "2023-12-07T13:01:39+01:00", "updated_at": "2023-12-20T10:31:04+01:00", "name": "samples_flows_standard_describe_image", "path": ".github/workflows/samples_flows_standard_describe_image.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_describe_image\non:\n  schedule:\n    - cron: \"9 19 * * *\" # Every day starting at 3:9 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/describe-image/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_describe_image.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_describe_image:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/describe-image\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_GPT_4V_KEY }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_GPT_4V_ENDPOINT }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          cp ../../../connections/azure_openai.yml ./azure_openai.yml\n          sed -i -e \"s/<user-input>/$AOAI_API_KEY/g\" -e \"s/aoai-api-endpoint/$AOAI_API_ENDPOINT/g\" azure_openai.yml\n      - name: Create AOAI Connection from ENV file\n        working-directory: examples/flows/standard/describe-image\n        run: |\n          if [[ -e .env ]]; then\n            pf connection create --file .env --name aoai_gpt4v_connection\n          fi\n          if [[ -e azure_openai.yml ]]; then\n            pf connection create --file azure_openai.yml --name aoai_gpt4v_connection\n          fi\n          pf connection list\n      - name: Create run.yml\n        working-directory: examples/flows/standard/describe-image\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/describe-image/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/describe-image/README.md -o examples/flows/standard/describe-image\n      - name: Cat script\n        working-directory: examples/flows/standard/describe-image\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/describe-image\n        run: |\n          export aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }}\n          export aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/describe-image\n        run: |\n          export aoai_api_key=${{secrets.AOAI_GPT_4V_KEY }}\n          export aoai_api_endpoint=${{ secrets.AOAI_GPT_4V_ENDPOINT }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/describe-image\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/describe-image/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:10.250408", "created_at": "2023-12-08T02:51:23+01:00", "updated_at": "2024-01-05T07:38:26+01:00", "name": "samples_flows_evaluation_eval_qna_rag_metrics", "path": ".github/workflows/samples_flows_evaluation_eval_qna_rag_metrics.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_evaluation_eval_qna_rag_metrics\non:\n  schedule:\n    - cron: \"55 19 * * *\" # Every day starting at 3:55 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/evaluation/eval-qna-rag-metrics/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_qna_rag_metrics.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_evaluation_eval_qna_rag_metrics:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/evaluation/eval-qna-rag-metrics\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/evaluation/eval-qna-rag-metrics\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/evaluation/eval-qna-rag-metrics/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/evaluation/eval-qna-rag-metrics/README.md -o examples/flows/evaluation/eval-qna-rag-metrics\n      - name: Cat script\n        working-directory: examples/flows/evaluation/eval-qna-rag-metrics\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/evaluation/eval-qna-rag-metrics\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/evaluation/eval-qna-rag-metrics\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/evaluation/eval-qna-rag-metrics\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/evaluation/eval-qna-rag-metrics/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:11.467640", "created_at": "2023-12-08T02:51:23+01:00", "updated_at": "2024-01-05T07:38:26+01:00", "name": "samples_flows_evaluation_eval_qna_non_rag", "path": ".github/workflows/samples_flows_evaluation_eval_qna_non_rag.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_evaluation_eval_qna_non_rag\non:\n  schedule:\n    - cron: \"6 20 * * *\" # Every day starting at 4:6 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/evaluation/eval-qna-non-rag/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_qna_non_rag.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_evaluation_eval_qna_non_rag:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/evaluation/eval-qna-non-rag\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/evaluation/eval-qna-non-rag\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/evaluation/eval-qna-non-rag/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/evaluation/eval-qna-non-rag/README.md -o examples/flows/evaluation/eval-qna-non-rag\n      - name: Cat script\n        working-directory: examples/flows/evaluation/eval-qna-non-rag\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/evaluation/eval-qna-non-rag\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/evaluation/eval-qna-non-rag\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/evaluation/eval-qna-non-rag\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/evaluation/eval-qna-non-rag/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:12.707465", "created_at": "2024-01-05T08:00:10+01:00", "updated_at": "2024-01-05T09:49:38+01:00", "name": "examples_flowdag_schema_check", "path": ".github/workflows/flowdag_schema_check.yml", "contents": "name: examples_flowdag_schema_check\n\non:\n  pull_request:\n    paths:\n      - examples/**\n      - .github/workflows/flowdag_schema_check.yml\n      - scripts/readme/schema_checker.py\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\njobs:\n  examples_flowdag_schema_check:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - run: env | sort >> $GITHUB_OUTPUT\n      - name: Python Setup - ubuntu-latest - Python Version 3.9\n        uses: \"./.github/actions/step_create_python_environment\"\n        with:\n          pythonVersion: 3.9\n      - run: |\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n      - name: Summarize check status\n        id: summarize_check_status\n        working-directory: ${{ github.workspace }}\n        shell: pwsh\n        env:\n          PYTHONPATH: ${{ github.workspace }}/src/promptflow\n        run: |\n          cd ${{ github.workspace }}/src\n          pip install ./promptflow[azure]\n          pip install ./promptflow-tools\n          python ${{ github.workspace }}/scripts/readme/schema_checker.py\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:13.803556", "created_at": "2024-01-08T12:14:02+01:00", "updated_at": "2024-01-08T12:14:02+01:00", "name": "samples_tools_use_cases_custom_llm_tool_featuring_uihints_showcase", "path": ".github/workflows/samples_tools_use_cases_custom_llm_tool_featuring_uihints_showcase.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:14.946827", "created_at": "2024-01-11T15:24:03+01:00", "updated_at": "2024-01-11T15:24:03+01:00", "name": "samples_tools_tool_package_quickstart", "path": ".github/workflows/samples_tools_tool_package_quickstart.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:16.085957", "created_at": "2024-01-26T03:19:02+01:00", "updated_at": "2024-01-26T08:30:32+01:00", "name": "samples_flows_chat_use_functions_with_chat_models", "path": ".github/workflows/samples_flows_chat_use_functions_with_chat_models.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_chat_use_functions_with_chat_models\non:\n  schedule:\n    - cron: \"7 21 * * *\" # Every day starting at 5:7 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/chat/use_functions_with_chat_models/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_use_functions_with_chat_models.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_chat_use_functions_with_chat_models:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/chat/use_functions_with_chat_models\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/chat/use_functions_with_chat_models\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/chat/use_functions_with_chat_models/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/chat/use_functions_with_chat_models/README.md -o examples/flows/chat/use_functions_with_chat_models\n      - name: Cat script\n        working-directory: examples/flows/chat/use_functions_with_chat_models\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/chat/use_functions_with_chat_models\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/chat/use_functions_with_chat_models\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/chat/use_functions_with_chat_models\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/chat/use_functions_with_chat_models/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:17.161130", "created_at": "2024-02-07T07:53:33+01:00", "updated_at": "2024-04-19T05:41:06+02:00", "name": "sdk-cli-azure-test-pull-request", "path": ".github/workflows/sdk-cli-azure-test-pull-request.yml", "contents": "# this is an exclusive workflow for pull request\n# it executes tests in src/promptflow/tests/sdk_cli_azure_test with replay mode\n\nname: sdk-cli-azure-test-pull-request\n\non:\n  pull_request:\n    paths:\n      - src/promptflow/**\n      - scripts/building/**\n      - .github/workflows/sdk-cli-azure-test-pull-request.yml\n      - src/promptflow-tracing/**\n      - src/promptflow-core/**\n      - src/promptflow-devkit/**\n      - src/promptflow-azure/**\n      - src/promptflow-recording/**\n\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n  PROMPT_FLOW_TEST_MODE: \"replay\"\n  PROMPT_FLOW_TEST_PACKAGE: \"promptflow-azure\"\n  TRACING_DIRECTORY: ${{ github.workspace }}/src/promptflow-tracing\n  WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-azure\n  CORE_DIRECTORY: ${{ github.workspace }}/src/promptflow-core\n  DEVKIT_DIRECTORY: ${{ github.workspace }}/src/promptflow-devkit\n  PROMPTFLOW_DIRECTORY: ${{ github.workspace }}/src/promptflow\n  TOOL_DIRECTORY: ${{ github.workspace }}/src/promptflow-tools\n  RECORD_DIRECTORY: ${{ github.workspace }}/src/promptflow-recording\n\n\njobs:\n  sdk_cli_azure_test_replay:\n    strategy:\n      fail-fast: false\n      matrix:\n        # replay tests can cover more combinations\n        os: [ubuntu-latest]\n        pythonVersion: ['3.8', '3.9', '3.10', '3.11']\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: Display and Set Environment Variables\n        run: env | sort >> $GITHUB_OUTPUT\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.pythonVersion }}\n      - uses: snok/install-poetry@v1\n      - name: install test dependency group\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n        run: |\n          set -xe\n          poetry install --with ci,test\n\n          poetry run pip show promptflow-tracing\n          poetry run pip show promptflow-core\n          poetry run pip show promptflow-devkit\n          poetry run pip show promptflow-azure\n          poetry run pip show promptflow-tools\n\n      - name: generate live test resources\n        working-directory: ${{ env.PROMPTFLOW_DIRECTORY }}\n        run: |\n          cp ${{ github.workspace }}/src/promptflow/dev-connections.json.example ${{ github.workspace }}/src/promptflow/connections.json\n\n      - name: Run SDK CLI Azure Test (replay mode)\n        shell: pwsh\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n        run: |\n          poetry run pytest ./tests/sdk_cli_azure_test --cov=promptflow --cov-config=pyproject.toml `\n          --cov-report=term --cov-report=html --cov-report=xml -n auto -m \"(unittest or e2etest) and not csharp\"\n\n      - name: Upload Test Results\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: Test Results (Python ${{ matrix.pythonVersion }}) (OS ${{ matrix.os }})\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/*.xml\n            ${{ env.WORKING_DIRECTORY }}/htmlcov/\n\n  publish-test-results-sdk-cli-azure-test:\n    needs: sdk_cli_azure_test_replay\n    if: always()\n\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: read\n\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n    - name: Publish Test Results\n      uses: \"./.github/actions/step_publish_test_results\"\n      with:\n        testActionFileName: promptflow-sdk-cli-azure-e2e-test.yml\n        testResultTitle: promptflow SDK CLI Azure E2E Test Result\n        osVersion: ubuntu-latest\n        pythonVersion: 3.9\n        coverageThreshold: 40\n        context: test/sdk_cli\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:18.226709", "created_at": "2024-02-15T08:56:37+01:00", "updated_at": "2024-02-29T07:43:34+01:00", "name": "samples_flows_evaluation_eval_summarization", "path": ".github/workflows/samples_flows_evaluation_eval_summarization.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_evaluation_eval_summarization\non:\n  schedule:\n    - cron: \"57 19 * * *\" # Every day starting at 3:57 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/evaluation/eval-summarization/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_summarization.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_evaluation_eval_summarization:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/evaluation/eval-summarization\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/evaluation/eval-summarization\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/evaluation/eval-summarization/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/evaluation/eval-summarization/README.md -o examples/flows/evaluation/eval-summarization\n      - name: Cat script\n        working-directory: examples/flows/evaluation/eval-summarization\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/evaluation/eval-summarization\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/evaluation/eval-summarization\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/evaluation/eval-summarization\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/evaluation/eval-summarization/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:19.297431", "created_at": "2024-02-18T05:39:42+01:00", "updated_at": "2024-02-18T07:18:32+01:00", "name": "samples_flows_chat_chat_basic", "path": ".github/workflows/samples_flows_chat_chat_basic.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_chat_chat_basic\non:\n  schedule:\n    - cron: \"55 20 * * *\" # Every day starting at 4:55 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/chat/chat-basic/**, examples/*requirements.txt, .github/workflows/samples_flows_chat_chat_basic.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_chat_chat_basic:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/chat/chat-basic\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/chat/chat-basic\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/chat/chat-basic/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/chat/chat-basic/README.md -o examples/flows/chat/chat-basic\n      - name: Cat script\n        working-directory: examples/flows/chat/chat-basic\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/chat/chat-basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/chat/chat-basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/chat/chat-basic\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/chat/chat-basic/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:20.376849", "created_at": "2024-03-05T08:24:56+01:00", "updated_at": "2024-03-05T08:24:56+01:00", "name": "sdk-cli-azure-test-production", "path": ".github/workflows/sdk-cli-azure-test-production.yml", "contents": "# execute tests in src/promptflow/tests/sdk_cli_azure_test with live mode\n\nname: sdk-cli-azure-test-production\n\non:\n  schedule:\n    - cron: \"30 20 * * *\"  # 4:30 Beijing Time (GMT+8)\n\n  workflow_dispatch:\n    inputs:\n      filepath:\n        description: file or path you want to trigger a test\n        required: true\n        default: \"./tests/sdk_cli_azure_test\"\n        type: string\n      promptflow_ws_name:\n        description: test workspace\n        required: true\n        default: \"promptflow-eastus\"\n        type: string\n\npermissions:\n  id-token: write\n  contents: read\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n  PROMPT_FLOW_TEST_MODE: \"live\"\n  PROMPT_FLOW_WORKSPACE_NAME: \"promptflow-eastus\"\n  TRACING_DIRECTORY: ${{ github.workspace }}/src/promptflow-tracing\n  CORE_DIRECTORY: ${{ github.workspace }}/src/promptflow-core\n  DEVKIT_DIRECTORY: ${{ github.workspace }}/src/promptflow-devkit\n  WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-azure\n  PROMPTFLOW_DIRECTORY: ${{ github.workspace }}/src/promptflow\n  TOOL_DIRECTORY: ${{ github.workspace }}/src/promptflow-tools\n  RECORD_DIRECTORY: ${{ github.workspace }}/src/promptflow-recording\n\n\njobs:\n  sdk_cli_azure_test_live:\n    strategy:\n      fail-fast: false\n      matrix:\n        # replay tests can cover more combinations\n        os: [ubuntu-latest]\n        pythonVersion: ['3.8', '3.9', '3.10', '3.11']\n    environment:\n      internal\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: set variables\n        run: |\n          echo \"PROMPT_FLOW_WORKSPACE_NAME=$(if [[ \"${{ inputs.promptflow_ws_name }}\" == \"\" ]]; then echo \"promptflow-eastus\"; else echo ${{ inputs.promptflow_ws_name }}; fi)\" >> $GITHUB_ENV\n          echo \"FILE_PATHS=$(if [[ \"${{ inputs.filepath }}\" == \"\" ]]; then echo \"./tests/sdk_cli_test ./tests/sdk_pfs_test\"; else echo ${{ inputs.filepath }}; fi)\" >> $GITHUB_ENV\n\n      - name: checkout\n        uses: actions/checkout@v4\n\n      - name: Display and Set Environment Variables\n        run: env | sort >> $GITHUB_OUTPUT\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.pythonVersion }}\n      - uses: snok/install-poetry@v1\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Generate Configs\n        uses: \"./.github/actions/step_generate_configs\"\n        with:\n          targetFolder: ${{ env.PROMPTFLOW_DIRECTORY }}\n      - name: install test dependency group\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n        run: |\n          set -xe\n          poetry install --with ci,test\n\n          poetry run pip show promptflow-tracing\n          poetry run pip show promptflow-core\n          poetry run pip show promptflow-devkit\n          poetry run pip show promptflow-azure\n          poetry run pip show promptflow-tools\n\n      - name: Run SDK CLI Azure Test\n        shell: pwsh\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n        run: |\n          poetry run pytest ${{ inputs.filepath }} -n auto -m \"unittest or e2etest\"\n\n      - name: Upload Test Results\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: Test Results (Python ${{ matrix.pythonVersion }}) (OS ${{ matrix.os }})\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/tests/sdk_cli_azure_test/count.json\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:21.437160", "created_at": "2024-03-06T08:49:16+01:00", "updated_at": "2024-03-21T06:07:19+01:00", "name": "promptflow-tracing-unit-test", "path": ".github/workflows/promptflow-tracing-unit-test.yml", "contents": "name: promptflow-tracing-unit-test\n\non:\n  schedule:\n    - cron: \"40 18 * * *\" # 2:40 Beijing Time (GMT+8) every day\n  pull_request:\n    paths:\n      - src/promptflow-tracing/**\n      - .github/workflows/promptflow-tracing-unit-test.yml\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n  WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-tracing\n  RECORD_DIRECTORY: ${{ github.workspace }}/src/promptflow-recording\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: snok/install-poetry@v1\n    - name: build\n      run: poetry build\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - uses: actions/upload-artifact@v4\n      with:\n        name: promptflow-tracing\n        path: ${{ env.WORKING_DIRECTORY }}/dist/promptflow_tracing-*.whl\n\n  tracing-unit-test:\n    needs: build\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n      fail-fast: false\n    # snok/install-poetry need this to support Windows\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: snok/install-poetry@v1\n      - uses: actions/download-artifact@v4\n        with:\n          name: promptflow-tracing\n          path: ${{ env.WORKING_DIRECTORY }}\n      - name: install promptflow-tracing from wheel\n        # wildcard expansion (*) does not work in Windows, so leverage python to find and install\n        run: poetry run pip install $(python -c \"import glob; print(glob.glob('promptflow_tracing-*.whl')[0])\")\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: install test dependency group\n        run: poetry install --only test\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: install recording\n        run: poetry install\n        working-directory: ${{ env.RECORD_DIRECTORY }}\n      - name: run unit tests\n        run: poetry run pytest -m unittest --cov=promptflow --cov-config=pyproject.toml --cov-report=term --cov-report=html --cov-report=xml\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: upload coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: report-${{ matrix.os }}-py${{ matrix.python-version }}\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/*.xml\n            ${{ env.WORKING_DIRECTORY }}/htmlcov/\n\n  report:\n    needs: tracing-unit-test\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: read\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          path: artifacts\n      - uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          check_name: promptflow-tracing test result\n          comment_title: promptflow-tracing test result\n          files: \"artifacts/**/test-results.xml\"  # align with `--junit-xml` in pyproject.toml\n      - uses: irongut/CodeCoverageSummary@v1.3.0\n        with:\n          filename: \"artifacts/report-ubuntu-latest-py3.9/coverage.xml\"\n          badge: true\n          fail_below_min: true\n          format: markdown\n          hide_complexity: true\n          output: both\n          thresholds: 40 60\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:22.531886", "created_at": "2024-03-07T10:46:20+01:00", "updated_at": "2024-03-21T06:07:19+01:00", "name": "promptflow-tracing-e2e-test", "path": ".github/workflows/promptflow-tracing-e2e-test.yml", "contents": "name: promptflow-tracing-e2e-test\n\non:\n  schedule:\n    - cron: \"40 18 * * *\" # 2:40 Beijing Time (GMT+8) every day\n  pull_request:\n    paths:\n      - src/promptflow-tracing/**\n      - .github/workflows/promptflow-tracing-e2e-test.yml\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n  WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-tracing\n  RECORD_DIRECTORY: ${{ github.workspace }}/src/promptflow-recording\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: snok/install-poetry@v1\n    - name: build\n      run: poetry build\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - uses: actions/upload-artifact@v4\n      with:\n        name: promptflow-tracing\n        path: ${{ env.WORKING_DIRECTORY }}/dist/promptflow_tracing-*.whl\n\n  tracing-e2e-test:\n    needs: build\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n      fail-fast: false\n    # snok/install-poetry need this to support Windows\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: set test mode\n        run: echo \"PROMPT_FLOW_TEST_MODE=$(if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then echo replay; else echo live; fi)\" >> $GITHUB_ENV\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: snok/install-poetry@v1\n      - uses: actions/download-artifact@v4\n        with:\n          name: promptflow-tracing\n          path: ${{ env.WORKING_DIRECTORY }}\n      - name: install promptflow-tracing from wheel\n        # wildcard expansion (*) does not work in Windows, so leverage python to find and install\n        run: poetry run pip install $(python -c \"import glob; print(glob.glob('promptflow_tracing-*.whl')[0])\")\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: install test dependency group\n        run: poetry install --only test\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: install recording\n        run: poetry install\n        working-directory: ${{ env.RECORD_DIRECTORY }}\n      - name: generate end-to-end test config from secret\n        run: echo '${{ secrets.PF_TRACING_E2E_TEST_CONFIG }}' >> connections.json\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: run e2e tests\n        run: poetry run pytest -m e2etest --cov=promptflow --cov-config=pyproject.toml --cov-report=term --cov-report=html --cov-report=xml\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: upload coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: report-${{ matrix.os }}-py${{ matrix.python-version }}\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/*.xml\n            ${{ env.WORKING_DIRECTORY }}/htmlcov/\n\n  report:\n    needs: tracing-e2e-test\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: read\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          path: artifacts\n      - uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          check_name: promptflow-tracing test result\n          comment_title: promptflow-tracing test result\n          files: \"artifacts/**/test-results.xml\"  # align with `--junit-xml` in pyproject.toml\n      - uses: irongut/CodeCoverageSummary@v1.3.0\n        with:\n          filename: \"artifacts/report-ubuntu-latest-py3.9/coverage.xml\"\n          badge: true\n          fail_below_min: true\n          format: markdown\n          hide_complexity: true\n          output: both\n          thresholds: 40 80\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:23.569234", "created_at": "2024-03-11T07:46:54+01:00", "updated_at": "2024-03-11T07:46:54+01:00", "name": "Codespaces Prebuilds", "path": "dynamic/codespaces/create_codespaces_prebuilds", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:24.609394", "created_at": "2024-03-15T06:41:11+01:00", "updated_at": "2024-03-15T08:11:58+01:00", "name": "promptflow-import-linter", "path": ".github/workflows/promptflow-import-linter.yml", "contents": "name: promptflow-import-linter\n\non:\n  pull_request:\n    paths:\n      - src/promptflow-tracing/**\n      - src/promptflow-core/**\n      - src/promptflow-devkit/**\n      - src/promptflow-azure/**\n      - .github/workflows/promptflow-import-linter.yml\n  workflow_dispatch:\n\nenv:\n  WORKING_DIRECTORY: ${{ github.workspace }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n    - uses: snok/install-poetry@v1\n    - name: Install all packages\n      run: |\n        touch src/promptflow-tracing/promptflow/__init__.py\n        poetry install --with dev -C ${{ env.WORKING_DIRECTORY }}/src/promptflow-tracing\n        touch src/promptflow-core/promptflow/__init__.py\n        poetry install --with dev -C ${{ env.WORKING_DIRECTORY }}/src/promptflow-core\n        touch src/promptflow-devkit/promptflow/__init__.py\n        poetry install --with dev -C ${{ env.WORKING_DIRECTORY }}/src/promptflow-devkit\n        touch src/promptflow-azure/promptflow/__init__.py\n        poetry install --with dev -C ${{ env.WORKING_DIRECTORY }}/src/promptflow-azure\n        touch src/promptflow-evals/promptflow/__init__.py\n        poetry install --with dev -C ${{ env.WORKING_DIRECTORY }}/src/promptflow-evals\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - name: import lint\n      run: |\n        echo \"=== Running import lint in promptflow-tracing ===\"\n        cd ${{ env.WORKING_DIRECTORY }}/src/promptflow-tracing\n        poetry run lint-imports\n        echo \"=== Running import lint in promptflow-core ===\"\n        cd ${{ env.WORKING_DIRECTORY }}/src/promptflow-core\n        poetry run lint-imports\n        echo \"=== Running import lint in promptflow-devkit ===\"\n        cd ${{ env.WORKING_DIRECTORY }}/src/promptflow-devkit\n        poetry run lint-imports\n        echo \"=== Running import lint in promptflow-azure ===\"\n        cd ${{ env.WORKING_DIRECTORY }}/src/promptflow-azure\n        poetry run lint-imports\n        echo \"=== Running import lint in promptflow-evals ===\"\n        cd ${{ env.WORKING_DIRECTORY }}/src/promptflow-evals\n        poetry run lint-imports\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - name: import lint testing private imports from global\n      working-directory: ${{ env.WORKING_DIRECTORY }}/src/promptflow-azure\n      run: |\n        set -xe\n        rm ${{ env.WORKING_DIRECTORY }}/src/promptflow-tracing/promptflow/__init__.py\n        rm ${{ env.WORKING_DIRECTORY }}/src/promptflow-core/promptflow/__init__.py\n        rm ${{ env.WORKING_DIRECTORY }}/src/promptflow-devkit/promptflow/__init__.py\n        rm ${{ env.WORKING_DIRECTORY }}/src/promptflow-azure/promptflow/__init__.py\n        rm ${{ env.WORKING_DIRECTORY }}/src/promptflow-evals/promptflow/__init__.py\n        echo \"=== Add more import linter when facing more import errors ===\"\n\n        echo \"=== promptflow-azure full lints ===\"\n        poetry run pip install langchain\n        poetry run pip install \"tenacity<8.4.0\"\n        poetry run python ${{ github.workspace }}/scripts/import_linter/import_linter.py\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:25.643585", "created_at": "2024-03-21T11:40:49+01:00", "updated_at": "2024-03-21T11:40:49+01:00", "name": "samples_runscalableflowwithpipeline_pipeline", "path": ".github/workflows/samples_runscalableflowwithpipeline_pipeline.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:26.717040", "created_at": "2024-03-26T11:00:50+01:00", "updated_at": "2024-04-01T15:28:17+02:00", "name": "samples_runflowwithpipeline_pipeline", "path": ".github/workflows/samples_runflowwithpipeline_pipeline.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_runflowwithpipeline_pipeline\non:\n  schedule:\n    - cron: \"33 20 * * *\" # Every day starting at 4:33 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/run-flow-with-pipeline/**, examples/*requirements.txt, .github/workflows/samples_runflowwithpipeline_pipeline.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_runflowwithpipeline_pipeline:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Generate config.json for canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        run: echo '${{ secrets.TEST_WORKSPACE_CONFIG_JSON_CANARY }}' > ${{ github.workspace }}/examples/config.json\n      - name: Generate config.json for production workspace\n        if: github.event_name != 'schedule'\n        run: echo '${{ secrets.EXAMPLE_WORKSPACE_CONFIG_JSON_PROD }}' > ${{ github.workspace }}/examples/config.json\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/tutorials/run-flow-with-pipeline\n        run: |\n          papermill -k python pipeline.ipynb pipeline.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/tutorials/run-flow-with-pipeline\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:28.013289", "created_at": "2024-03-28T07:00:44+01:00", "updated_at": "2024-05-09T03:52:45+02:00", "name": "samples_flows_standard_question_simulation", "path": ".github/workflows/samples_flows_standard_question_simulation.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_standard_question_simulation\non:\n  schedule:\n    - cron: \"37 19 * * *\" # Every day starting at 3:37 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/standard/question-simulation/**, examples/*requirements.txt, .github/workflows/samples_flows_standard_question_simulation.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_standard_question_simulation:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/standard/question-simulation\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/standard/question-simulation\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/standard/question-simulation/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/standard/question-simulation/README.md -o examples/flows/standard/question-simulation\n      - name: Cat script\n        working-directory: examples/flows/standard/question-simulation\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/standard/question-simulation\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/standard/question-simulation\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/standard/question-simulation\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/standard/question-simulation/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:29.182456", "created_at": "2024-03-28T07:00:44+01:00", "updated_at": "2024-05-09T03:52:45+02:00", "name": "samples_flows_evaluation_eval_single_turn_metrics", "path": ".github/workflows/samples_flows_evaluation_eval_single_turn_metrics.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_evaluation_eval_single_turn_metrics\non:\n  schedule:\n    - cron: \"32 19 * * *\" # Every day starting at 3:32 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/evaluation/eval-single-turn-metrics/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_single_turn_metrics.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_evaluation_eval_single_turn_metrics:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/evaluation/eval-single-turn-metrics\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/evaluation/eval-single-turn-metrics\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/evaluation/eval-single-turn-metrics/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/evaluation/eval-single-turn-metrics/README.md -o examples/flows/evaluation/eval-single-turn-metrics\n      - name: Cat script\n        working-directory: examples/flows/evaluation/eval-single-turn-metrics\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/evaluation/eval-single-turn-metrics\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/evaluation/eval-single-turn-metrics\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/evaluation/eval-single-turn-metrics\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/evaluation/eval-single-turn-metrics/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:30.341347", "created_at": "2024-03-28T07:00:44+01:00", "updated_at": "2024-05-09T03:52:45+02:00", "name": "samples_flows_evaluation_eval_multi_turn_metrics", "path": ".github/workflows/samples_flows_evaluation_eval_multi_turn_metrics.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flows_evaluation_eval_multi_turn_metrics\non:\n  schedule:\n    - cron: \"7 21 * * *\" # Every day starting at 5:7 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flows/evaluation/eval-multi-turn-metrics/**, examples/*requirements.txt, .github/workflows/samples_flows_evaluation_eval_multi_turn_metrics.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flows_evaluation_eval_multi_turn_metrics:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flows/evaluation/eval-multi-turn-metrics\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flows/evaluation/eval-multi-turn-metrics\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flows/evaluation/eval-multi-turn-metrics/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flows/evaluation/eval-multi-turn-metrics/README.md -o examples/flows/evaluation/eval-multi-turn-metrics\n      - name: Cat script\n        working-directory: examples/flows/evaluation/eval-multi-turn-metrics\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flows/evaluation/eval-multi-turn-metrics\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flows/evaluation/eval-multi-turn-metrics\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flows/evaluation/eval-multi-turn-metrics\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flows/evaluation/eval-multi-turn-metrics/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:31.436416", "created_at": "2024-03-29T11:58:37+01:00", "updated_at": "2024-04-19T05:41:06+02:00", "name": "promptflow-core-test [Pure]", "path": ".github/workflows/promptflow-core-test.yml", "contents": "name: promptflow-core-test [Pure]\n\non:\n  schedule:\n    - cron: \"40 18 * * *\" # 2:40 Beijing Time (GMT+8) every day\n  pull_request:\n    paths:\n      - src/promptflow-tracing/**\n      - src/promptflow-core/**\n      - .github/workflows/promptflow-core-test.yml\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n  TRACING_DIRECTORY: ${{ github.workspace }}/src/promptflow-tracing\n  WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-core\n  RECORD_DIRECTORY: ${{ github.workspace }}/src/promptflow-recording\n  PROMPTFLOW_DIRECTORY: ${{ github.workspace }}/src/promptflow\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  core_test:\n    environment:\n      internal\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n      fail-fast: false\n    # snok/install-poetry need this to support Windows\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: snok/install-poetry@v1\n      - name: install test dependency group\n        run: |\n          poetry install -E executor-service --with ci,test\n          poetry run pip show promptflow-tracing\n          poetry run pip show promptflow-core\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: generate end-to-end test config from secret\n        run: echo '${{ secrets.PF_TRACING_E2E_TEST_CONFIG }}' >> connections.json\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: set test mode\n        run: |\n          echo \"PROMPT_FLOW_TEST_MODE=$(if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then echo replay; else echo live; fi)\" >> $GITHUB_ENV\n      - name: Azure login (non pull_request workflow)\n        if: github.event_name != 'pull_request'\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: generate live test resources (non pull_request workflow)\n        if: github.event_name != 'pull_request'\n        uses: \"./.github/actions/step_generate_configs\"\n        with:\n          targetFolder: ${{ env.PROMPTFLOW_DIRECTORY }}\n      - name: generate live test resources (pull_request workflow)\n        if: github.event_name == 'pull_request'\n        working-directory: ${{ env.PROMPTFLOW_DIRECTORY }}\n        run: |\n          cp ${{ github.workspace }}/src/promptflow/dev-connections.json.example ${{ github.workspace }}/src/promptflow/connections.json\n      - name: run core tests\n        run: poetry run pytest ./tests/core --cov=promptflow --cov-config=pyproject.toml --cov-report=term --cov-report=html --cov-report=xml\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: upload coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: report-${{ matrix.os }}-py${{ matrix.python-version }}\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/core/*.xml\n            ${{ env.WORKING_DIRECTORY }}/core/htmlcov/\n\n  azureml_serving_test:\n    environment:\n      internal\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n      fail-fast: false\n    # snok/install-poetry need this to support Windows\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: snok/install-poetry@v1\n      - name: install test dependency group\n        run: |\n          poetry install -E azureml-serving --with ci,test\n          poetry run pip show promptflow-tracing\n          poetry run pip show promptflow-core\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: set test mode\n        run: |\n          echo \"PROMPT_FLOW_TEST_MODE=$(if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then echo replay; else echo live; fi)\" >> $GITHUB_ENV\n      - name: Azure login (non pull_request workflow)\n        if: github.event_name != 'pull_request'\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: generate live test resources (non pull_request workflow)\n        if: github.event_name != 'pull_request'\n        uses: \"./.github/actions/step_generate_configs\"\n        with:\n          targetFolder: ${{ env.PROMPTFLOW_DIRECTORY }}\n      - name: generate live test resources (pull_request workflow)\n        if: github.event_name == 'pull_request'\n        working-directory: ${{ env.PROMPTFLOW_DIRECTORY }}\n        run: |\n          cp ${{ github.workspace }}/src/promptflow/dev-connections.json.example ${{ github.workspace }}/src/promptflow/connections.json\n      - name: run azureml-serving tests\n        run: poetry run pytest ./tests/azureml-serving --cov=promptflow --cov-config=pyproject.toml --cov-report=term --cov-report=html --cov-report=xml\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: upload coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: report-${{ matrix.os }}-py${{ matrix.python-version }}\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/azureml-serving/*.xml\n            ${{ env.WORKING_DIRECTORY }}/azureml-serving/htmlcov/\n\n  report:\n    needs: [core_test, azureml_serving_test]\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: read\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          path: artifacts\n      - uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          check_name: promptflow-core test result\n          comment_title: promptflow-core test result\n          files: \"artifacts/**/test-results.xml\"  # align with `--junit-xml` in pyproject.toml\n#     TODO: Enable coverage check after core test fully setup\n#      - uses: irongut/CodeCoverageSummary@v1.3.0\n#        with:\n#          filename: \"artifacts/report-ubuntu-latest-py3.9/coverage.xml\"\n#          badge: true\n#          fail_below_min: true\n#          format: markdown\n#          hide_complexity: true\n#          output: both\n#          thresholds: 40 60\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:32.555186", "created_at": "2024-03-29T22:24:02+01:00", "updated_at": "2024-04-09T00:09:53+02:00", "name": "promptflow-evals-unit-test", "path": ".github/workflows/promptflow-evals-unit-test.yml", "contents": "name: promptflow-evals-unit-test\n\non:\n  schedule:\n    - cron: \"40 10 * * *\" # 2:40 PST every day\n  pull_request:\n    paths:\n      - src/promptflow-evals/**\n      - .github/workflows/promptflow-evals-unit-test.yml\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n  WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-evals\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: snok/install-poetry@v1\n    - name: build\n      run: poetry build\n      working-directory: ${{ env.WORKING_DIRECTORY }}\n    - uses: actions/upload-artifact@v4\n      with:\n        name: promptflow-evals\n        path: ${{ env.WORKING_DIRECTORY }}/dist/promptflow_evals-*.whl\n\n  test:\n    needs: build\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n      fail-fast: false\n    # snok/install-poetry need this to support Windows\n    defaults:\n      run:\n        shell: bash\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: snok/install-poetry@v1\n      - uses: actions/download-artifact@v4\n        with:\n          name: promptflow-evals\n          path: ${{ env.WORKING_DIRECTORY }}\n      - name: install test dependency group\n        run: poetry install --only test\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: install promptflow packages in editable mode\n        run: |\n          poetry run pip install -e ../promptflow\n          poetry run pip install -e ../promptflow-core\n          poetry run pip install -e ../promptflow-devkit\n          poetry run pip install -e ../promptflow-tracing\n          poetry run pip install -e ../promptflow-tools\n          poetry run pip install -e ../promptflow-azure\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: install promptflow-evals from wheel\n        # wildcard expansion (*) does not work in Windows, so leverage python to find and install\n        run: poetry run pip install --pre $(python -c \"import glob; print(glob.glob('promptflow_evals-*.whl')[0])\")\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: install recording\n        run: poetry run pip install -e ../promptflow-recording\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: run unit tests\n        run: poetry run pytest -m unittest --cov=promptflow --cov-config=pyproject.toml --cov-report=term --cov-report=html --cov-report=xml\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: upload coverage report\n        uses: actions/upload-artifact@v4\n        with:\n          name: report-${{ matrix.os }}-py${{ matrix.python-version }}\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/*.xml\n            ${{ env.WORKING_DIRECTORY }}/htmlcov/\n\n  report:\n    needs: test\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: read\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          path: artifacts\n      - uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          check_name: promptflow-evals test result\n          comment_title: promptflow-evals test result\n          files: \"artifacts/**/test-results.xml\"  # align with `--junit-xml` in pyproject.toml\n      - uses: irongut/CodeCoverageSummary@v1.3.0\n        with:\n          filename: \"artifacts/report-ubuntu-latest-py3.9/coverage.xml\"\n          badge: true\n          fail_below_min: false\n          format: markdown\n          hide_complexity: true\n          output: both\n          thresholds: 40 60", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:33.791155", "created_at": "2024-04-08T09:51:02+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_flex_flows_chat_basic", "path": ".github/workflows/samples_flex_flows_chat_basic.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flex_flows_chat_basic\non:\n  schedule:\n    - cron: \"9 20 * * *\" # Every day starting at 4:9 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/chat-basic/**, examples/*requirements.txt, .github/workflows/samples_flex_flows_chat_basic.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flex_flows_chat_basic:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flex-flows/chat-basic\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flex-flows/chat-basic\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flex-flows/chat-basic/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flex-flows/chat-basic/README.md -o examples/flex-flows/chat-basic\n      - name: Cat script\n        working-directory: examples/flex-flows/chat-basic\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flex-flows/chat-basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flex-flows/chat-basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flex-flows/chat-basic\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flex-flows/chat-basic/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:34.913932", "created_at": "2024-04-08T09:51:02+02:00", "updated_at": "2024-04-08T09:51:02+02:00", "name": "samples_trace_langchain_tracelangchain", "path": ".github/workflows/samples_trace_langchain_tracelangchain.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:35.922726", "created_at": "2024-04-08T09:51:02+02:00", "updated_at": "2024-04-08T09:51:02+02:00", "name": "samples_flexflows_basic_quickstart", "path": ".github/workflows/samples_flexflows_basic_quickstart.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:37.031720", "created_at": "2024-04-08T09:51:02+02:00", "updated_at": "2024-04-08T09:51:02+02:00", "name": "samples_trace_autogengroupchat_traceautogengroupchat", "path": ".github/workflows/samples_trace_autogengroupchat_traceautogengroupchat.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:38.067770", "created_at": "2024-04-08T09:51:02+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_flex_flows_basic", "path": ".github/workflows/samples_flex_flows_basic.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flex_flows_basic\non:\n  schedule:\n    - cron: \"30 20 * * *\" # Every day starting at 4:30 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/basic/**, examples/*requirements.txt, .github/workflows/samples_flex_flows_basic.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flex_flows_basic:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flex-flows/basic\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flex-flows/basic\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flex-flows/basic/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flex-flows/basic/README.md -o examples/flex-flows/basic\n      - name: Cat script\n        working-directory: examples/flex-flows/basic\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flex-flows/basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flex-flows/basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flex-flows/basic\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flex-flows/basic/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:39.051245", "created_at": "2024-04-08T09:51:02+02:00", "updated_at": "2024-04-08T09:51:02+02:00", "name": "samples_trace_customotlpcollector_otlptracecollector", "path": ".github/workflows/samples_trace_customotlpcollector_otlptracecollector.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:40.141637", "created_at": "2024-04-08T09:51:02+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_flex_flows_eval_code_quality", "path": ".github/workflows/samples_flex_flows_eval_code_quality.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flex_flows_eval_code_quality\non:\n  schedule:\n    - cron: \"6 22 * * *\" # Every day starting at 6:6 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/eval-code-quality/**, examples/*requirements.txt, .github/workflows/samples_flex_flows_eval_code_quality.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flex_flows_eval_code_quality:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flex-flows/eval-code-quality\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flex-flows/eval-code-quality\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flex-flows/eval-code-quality/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flex-flows/eval-code-quality/README.md -o examples/flex-flows/eval-code-quality\n      - name: Cat script\n        working-directory: examples/flex-flows/eval-code-quality\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flex-flows/eval-code-quality\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flex-flows/eval-code-quality\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flex-flows/eval-code-quality\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flex-flows/eval-code-quality/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:41.778396", "created_at": "2024-04-08T09:51:02+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_flex_flows_eval_checklist", "path": ".github/workflows/samples_flex_flows_eval_checklist.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flex_flows_eval_checklist\non:\n  schedule:\n    - cron: \"56 22 * * *\" # Every day starting at 6:56 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/eval-checklist/**, examples/*requirements.txt, .github/workflows/samples_flex_flows_eval_checklist.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flex_flows_eval_checklist:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flex-flows/eval-checklist\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flex-flows/eval-checklist\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flex-flows/eval-checklist/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flex-flows/eval-checklist/README.md -o examples/flex-flows/eval-checklist\n      - name: Cat script\n        working-directory: examples/flex-flows/eval-checklist\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flex-flows/eval-checklist\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flex-flows/eval-checklist\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flex-flows/eval-checklist\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flex-flows/eval-checklist/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:42.782049", "created_at": "2024-04-09T12:17:48+02:00", "updated_at": "2024-04-09T12:19:17+02:00", "name": "promptflow-devkit-test", "path": ".github/workflows/promptflow-devkit-test.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:43.825079", "created_at": "2024-04-11T07:53:40+02:00", "updated_at": "2024-04-11T07:53:40+02:00", "name": "samples_tutorials_trace", "path": ".github/workflows/samples_tutorials_trace.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:44.884955", "created_at": "2024-04-12T05:29:44+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_prompty_basic", "path": ".github/workflows/samples_prompty_basic.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_prompty_basic\non:\n  schedule:\n    - cron: \"46 19 * * *\" # Every day starting at 3:46 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/prompty/basic/**, examples/*requirements.txt, .github/workflows/samples_prompty_basic.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_prompty_basic:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/prompty/basic\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/prompty/basic\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/prompty/basic/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/prompty/basic/README.md -o examples/prompty/basic\n      - name: Cat script\n        working-directory: examples/prompty/basic\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/prompty/basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/prompty/basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/prompty/basic\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/prompty/basic/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:46.531036", "created_at": "2024-04-12T05:29:44+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_prompty_eval_apology", "path": ".github/workflows/samples_prompty_eval_apology.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_prompty_eval_apology\non:\n  schedule:\n    - cron: \"10 22 * * *\" # Every day starting at 6:10 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/prompty/eval-apology/**, examples/*requirements.txt, .github/workflows/samples_prompty_eval_apology.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_prompty_eval_apology:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/prompty/eval-apology\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/prompty/eval-apology\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/prompty/eval-apology/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/prompty/eval-apology/README.md -o examples/prompty/eval-apology\n      - name: Cat script\n        working-directory: examples/prompty/eval-apology\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/prompty/eval-apology\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/prompty/eval-apology\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/prompty/eval-apology\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/prompty/eval-apology/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:47.615297", "created_at": "2024-04-12T05:29:44+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_prompty_chat_basic", "path": ".github/workflows/samples_prompty_chat_basic.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_prompty_chat_basic\non:\n  schedule:\n    - cron: \"47 20 * * *\" # Every day starting at 4:47 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/prompty/chat-basic/**, examples/*requirements.txt, .github/workflows/samples_prompty_chat_basic.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_prompty_chat_basic:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/prompty/chat-basic\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/prompty/chat-basic\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/prompty/chat-basic/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/prompty/chat-basic/README.md -o examples/prompty/chat-basic\n      - name: Cat script\n        working-directory: examples/prompty/chat-basic\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/prompty/chat-basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/prompty/chat-basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/prompty/chat-basic\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/prompty/chat-basic/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:48.724256", "created_at": "2024-04-12T05:29:44+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_prompty_chatbasic_chatwithprompty", "path": ".github/workflows/samples_prompty_chatbasic_chatwithprompty.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_prompty_chatbasic_chatwithprompty\non:\n  schedule:\n    - cron: \"51 19 * * *\" # Every day starting at 3:51 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/prompty/chat-basic/**, examples/*requirements.txt, .github/workflows/samples_prompty_chatbasic_chatwithprompty.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_prompty_chatbasic_chatwithprompty:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/prompty/chat-basic\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/prompty/chat-basic\n        run: |\n          papermill -k python chat-with-prompty.ipynb chat-with-prompty.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/prompty/chat-basic\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:49.781065", "created_at": "2024-04-12T05:29:44+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_prompty_eval_basic", "path": ".github/workflows/samples_prompty_eval_basic.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_prompty_eval_basic\non:\n  schedule:\n    - cron: \"25 21 * * *\" # Every day starting at 5:25 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/prompty/eval-basic/**, examples/*requirements.txt, .github/workflows/samples_prompty_eval_basic.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_prompty_eval_basic:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/prompty/eval-basic\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/prompty/eval-basic\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/prompty/eval-basic/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/prompty/eval-basic/README.md -o examples/prompty/eval-basic\n      - name: Cat script\n        working-directory: examples/prompty/eval-basic\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/prompty/eval-basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/prompty/eval-basic\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/prompty/eval-basic\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/prompty/eval-basic/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:50.838630", "created_at": "2024-04-12T05:29:44+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_prompty_basic_promptyquickstart", "path": ".github/workflows/samples_prompty_basic_promptyquickstart.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_prompty_basic_promptyquickstart\non:\n  schedule:\n    - cron: \"19 21 * * *\" # Every day starting at 5:19 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/prompty/basic/**, examples/*requirements.txt, .github/workflows/samples_prompty_basic_promptyquickstart.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_prompty_basic_promptyquickstart:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/prompty/basic\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/prompty/basic\n        run: |\n          papermill -k python prompty-quickstart.ipynb prompty-quickstart.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/prompty/basic\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:51.889479", "created_at": "2024-04-12T05:40:07+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_flexflows_basic_flexflowquickstart", "path": ".github/workflows/samples_flexflows_basic_flexflowquickstart.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flexflows_basic_flexflowquickstart\non:\n  schedule:\n    - cron: \"55 20 * * *\" # Every day starting at 4:55 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/basic/**, examples/*requirements.txt, .github/workflows/samples_flexflows_basic_flexflowquickstart.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flexflows_basic_flexflowquickstart:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/flex-flows/basic\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/flex-flows/basic\n        run: |\n          papermill -k python flex-flow-quickstart.ipynb flex-flow-quickstart.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/flex-flows/basic\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:52.929799", "created_at": "2024-04-12T10:17:20+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_tracing_customotlpcollector_otlptracecollector", "path": ".github/workflows/samples_tracing_customotlpcollector_otlptracecollector.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tracing_customotlpcollector_otlptracecollector\non:\n  schedule:\n    - cron: \"22 21 * * *\" # Every day starting at 5:22 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/tracing/custom-otlp-collector/**, examples/*requirements.txt, .github/workflows/samples_tracing_customotlpcollector_otlptracecollector.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tracing_customotlpcollector_otlptracecollector:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/tutorials/tracing/custom-otlp-collector\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/tutorials/tracing/custom-otlp-collector\n        run: |\n          papermill -k python otlp-trace-collector.ipynb otlp-trace-collector.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/tutorials/tracing/custom-otlp-collector\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:54.066442", "created_at": "2024-04-12T10:17:20+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_tracing_autogengroupchat_traceautogengroupchat", "path": ".github/workflows/samples_tracing_autogengroupchat_traceautogengroupchat.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tracing_autogengroupchat_traceautogengroupchat\non:\n  schedule:\n    - cron: \"11 20 * * *\" # Every day starting at 4:11 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/tracing/autogen-groupchat/**, examples/*requirements.txt, .github/workflows/samples_tracing_autogengroupchat_traceautogengroupchat.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tracing_autogengroupchat_traceautogengroupchat:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/tutorials/tracing/autogen-groupchat\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n          if [[ -e OAI_CONFIG_LIST.json.example ]]; then\n            echo \"OAI_CONFIG_LIST replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" OAI_CONFIG_LIST.json.example\n            mv OAI_CONFIG_LIST.json.example OAI_CONFIG_LIST.json\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/tutorials/tracing/autogen-groupchat\n        run: |\n          papermill -k python trace-autogen-groupchat.ipynb trace-autogen-groupchat.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/tutorials/tracing/autogen-groupchat\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:55.086399", "created_at": "2024-04-12T10:17:20+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_tutorials_tracing", "path": ".github/workflows/samples_tutorials_tracing.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tutorials_tracing\non:\n  schedule:\n    - cron: \"18 22 * * *\" # Every day starting at 6:18 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/tracing/**, examples/tutorials/tracing//**, .github/workflows/samples_tutorials_tracing.yml, examples/requirements.txt, examples/connections/azure_openai.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tutorials_tracing:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/tutorials/tracing\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/tutorials/tracing\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/tutorials/tracing/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/tutorials/tracing/README.md -o examples/tutorials/tracing\n      - name: Cat script\n        working-directory: examples/tutorials/tracing\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/tutorials/tracing\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/tutorials/tracing\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/tutorials/tracing\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/tutorials/tracing/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:56.211939", "created_at": "2024-04-12T10:17:20+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_tracing_langchain_tracelangchain", "path": ".github/workflows/samples_tracing_langchain_tracelangchain.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tracing_langchain_tracelangchain\non:\n  schedule:\n    - cron: \"21 19 * * *\" # Every day starting at 3:21 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/tracing/langchain/**, examples/*requirements.txt, .github/workflows/samples_tracing_langchain_tracelangchain.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tracing_langchain_tracelangchain:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/tutorials/tracing/langchain\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/tutorials/tracing/langchain\n        run: |\n          papermill -k python trace-langchain.ipynb trace-langchain.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/tutorials/tracing/langchain\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:57.224828", "created_at": "2024-04-16T08:25:15+02:00", "updated_at": "2024-04-17T12:36:29+02:00", "name": "samples_flexflows_basic_flexflowquickstartazure", "path": ".github/workflows/samples_flexflows_basic_flexflowquickstartazure.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flexflows_basic_flexflowquickstartazure\non:\n  schedule:\n    - cron: \"10 22 * * *\" # Every day starting at 6:10 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/basic/**, examples/*requirements.txt, .github/workflows/samples_flexflows_basic_flexflowquickstartazure.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flexflows_basic_flexflowquickstartazure:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Generate config.json for canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        run: echo '${{ secrets.TEST_WORKSPACE_CONFIG_JSON_CANARY }}' > ${{ github.workspace }}/examples/config.json\n      - name: Generate config.json for production workspace\n        if: github.event_name != 'schedule'\n        run: echo '${{ secrets.EXAMPLE_WORKSPACE_CONFIG_JSON_PROD }}' > ${{ github.workspace }}/examples/config.json\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/flex-flows/basic\n        run: |\n          papermill -k python flex-flow-quickstart-azure.ipynb flex-flow-quickstart-azure.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/flex-flows/basic\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:58.247059", "created_at": "2024-04-18T02:37:55+02:00", "updated_at": "2024-04-18T02:37:55+02:00", "name": "samples_flexflows_chatbasic_classbasedflowazure", "path": ".github/workflows/samples_flexflows_chatbasic_classbasedflowazure.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:41:59.361358", "created_at": "2024-04-18T02:37:55+02:00", "updated_at": "2024-04-18T02:37:55+02:00", "name": "samples_flexflows_chatbasic_classbasedflow", "path": ".github/workflows/samples_flexflows_chatbasic_classbasedflow.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:00.359864", "created_at": "2024-04-18T02:37:55+02:00", "updated_at": "2024-04-18T02:37:55+02:00", "name": "samples_prompty_chatstream_chatstreamwithprompty", "path": ".github/workflows/samples_prompty_chatstream_chatstreamwithprompty.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:01.406786", "created_at": "2024-04-18T02:37:55+02:00", "updated_at": "2024-04-18T02:37:55+02:00", "name": "samples_prompty_chat_stream", "path": ".github/workflows/samples_prompty_chat_stream.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:02.668424", "created_at": "2024-04-18T02:37:55+02:00", "updated_at": "2024-04-26T16:30:44+02:00", "name": "samples_flex_flows_chat_stream", "path": ".github/workflows/samples_flex_flows_chat_stream.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flex_flows_chat_stream\non:\n  schedule:\n    - cron: \"7 19 * * *\" # Every day starting at 3:7 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/chat-stream/**, examples/*requirements.txt, .github/workflows/samples_flex_flows_chat_stream.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flex_flows_chat_stream:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flex-flows/chat-stream\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flex-flows/chat-stream\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flex-flows/chat-stream/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flex-flows/chat-stream/README.md -o examples/flex-flows/chat-stream\n      - name: Cat script\n        working-directory: examples/flex-flows/chat-stream\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flex-flows/chat-stream\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flex-flows/chat-stream\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flex-flows/chat-stream\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flex-flows/chat-stream/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:03.683650", "created_at": "2024-04-22T14:02:01+02:00", "updated_at": "2024-04-26T16:30:44+02:00", "name": "samples_flexflows_chatbasic_chatwithclassbasedflowazure", "path": ".github/workflows/samples_flexflows_chatbasic_chatwithclassbasedflowazure.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flexflows_chatbasic_chatwithclassbasedflowazure\non:\n  schedule:\n    - cron: \"46 20 * * *\" # Every day starting at 4:46 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/chat-basic/**, examples/*requirements.txt, .github/workflows/samples_flexflows_chatbasic_chatwithclassbasedflowazure.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flexflows_chatbasic_chatwithclassbasedflowazure:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Generate config.json for canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        run: echo '${{ secrets.TEST_WORKSPACE_CONFIG_JSON_CANARY }}' > ${{ github.workspace }}/examples/config.json\n      - name: Generate config.json for production workspace\n        if: github.event_name != 'schedule'\n        run: echo '${{ secrets.EXAMPLE_WORKSPACE_CONFIG_JSON_PROD }}' > ${{ github.workspace }}/examples/config.json\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/flex-flows/chat-basic\n        run: |\n          papermill -k python chat-with-class-based-flow-azure.ipynb chat-with-class-based-flow-azure.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/flex-flows/chat-basic\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:04.883476", "created_at": "2024-04-22T14:02:01+02:00", "updated_at": "2024-04-26T16:30:44+02:00", "name": "samples_flexflows_chatbasic_chatwithclassbasedflow", "path": ".github/workflows/samples_flexflows_chatbasic_chatwithclassbasedflow.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flexflows_chatbasic_chatwithclassbasedflow\non:\n  schedule:\n    - cron: \"32 22 * * *\" # Every day starting at 6:32 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/chat-basic/**, examples/*requirements.txt, .github/workflows/samples_flexflows_chatbasic_chatwithclassbasedflow.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flexflows_chatbasic_chatwithclassbasedflow:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/flex-flows/chat-basic\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/flex-flows/chat-basic\n        run: |\n          papermill -k python chat-with-class-based-flow.ipynb chat-with-class-based-flow.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/flex-flows/chat-basic\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:05.932063", "created_at": "2024-04-23T16:44:37+02:00", "updated_at": "2024-04-26T16:30:44+02:00", "name": "samples_prompty_format_output", "path": ".github/workflows/samples_prompty_format_output.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_prompty_format_output\non:\n  schedule:\n    - cron: \"9 22 * * *\" # Every day starting at 6:9 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/prompty/format-output/**, examples/*requirements.txt, .github/workflows/samples_prompty_format_output.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_prompty_format_output:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/prompty/format-output\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/prompty/format-output\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/prompty/format-output/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/prompty/format-output/README.md -o examples/prompty/format-output\n      - name: Cat script\n        working-directory: examples/prompty/format-output\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/prompty/format-output\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/prompty/format-output\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/prompty/format-output\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/prompty/format-output/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:07.001800", "created_at": "2024-04-23T16:44:37+02:00", "updated_at": "2024-04-26T16:30:44+02:00", "name": "samples_prompty_formatoutput_promptyoutputformat", "path": ".github/workflows/samples_prompty_formatoutput_promptyoutputformat.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_prompty_formatoutput_promptyoutputformat\non:\n  schedule:\n    - cron: \"7 20 * * *\" # Every day starting at 4:7 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/prompty/format-output/**, examples/*requirements.txt, .github/workflows/samples_prompty_formatoutput_promptyoutputformat.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_prompty_formatoutput_promptyoutputformat:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/prompty/format-output\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/prompty/format-output\n        run: |\n          papermill -k python prompty-output-format.ipynb prompty-output-format.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/prompty/format-output\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:08.340628", "created_at": "2024-04-24T06:12:58+02:00", "updated_at": "2024-04-26T16:30:44+02:00", "name": "samples_flexflows_chatstream_chatstreamwithflexflow", "path": ".github/workflows/samples_flexflows_chatstream_chatstreamwithflexflow.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flexflows_chatstream_chatstreamwithflexflow\non:\n  schedule:\n    - cron: \"28 21 * * *\" # Every day starting at 5:28 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/chat-stream/**, examples/*requirements.txt, .github/workflows/samples_flexflows_chatstream_chatstreamwithflexflow.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flexflows_chatstream_chatstreamwithflexflow:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/flex-flows/chat-stream\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/flex-flows/chat-stream\n        run: |\n          papermill -k python chat-stream-with-flex-flow.ipynb chat-stream-with-flex-flow.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/flex-flows/chat-stream\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:09.456363", "created_at": "2024-04-24T08:37:23+02:00", "updated_at": "2024-04-24T10:14:04+02:00", "name": "samples_tracing_llm_tracellm", "path": ".github/workflows/samples_tracing_llm_tracellm.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_tracing_llm_tracellm\non:\n  schedule:\n    - cron: \"36 21 * * *\" # Every day starting at 5:36 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/tutorials/tracing/llm/**, examples/*requirements.txt, .github/workflows/samples_tracing_llm_tracellm.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_tracing_llm_tracellm:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/tutorials/tracing/llm\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/tutorials/tracing/llm\n        run: |\n          papermill -k python trace-llm.ipynb trace-llm.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/tutorials/tracing/llm\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:10.525898", "created_at": "2024-04-28T09:41:58+02:00", "updated_at": "2024-04-28T09:41:58+02:00", "name": "promptflow-runtime-backward-compatibility-test", "path": ".github/workflows/promptflow-runtime-backward-compatibility-test.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:11.560077", "created_at": "2024-04-30T11:33:09+02:00", "updated_at": "2024-04-30T11:33:09+02:00", "name": "samples_flexflows_langchaineval_langchaineval", "path": ".github/workflows/samples_flexflows_langchaineval_langchaineval.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:12.749420", "created_at": "2024-05-06T09:02:58+02:00", "updated_at": "2024-05-08T08:04:47+02:00", "name": "samples_flex_flows_eval_criteria_with_langchain", "path": ".github/workflows/samples_flex_flows_eval_criteria_with_langchain.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flex_flows_eval_criteria_with_langchain\non:\n  schedule:\n    - cron: \"21 20 * * *\" # Every day starting at 4:21 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/eval-criteria-with-langchain/**, examples/*requirements.txt, .github/workflows/samples_flex_flows_eval_criteria_with_langchain.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flex_flows_eval_criteria_with_langchain:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flex-flows/eval-criteria-with-langchain\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flex-flows/eval-criteria-with-langchain\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flex-flows/eval-criteria-with-langchain/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flex-flows/eval-criteria-with-langchain/README.md -o examples/flex-flows/eval-criteria-with-langchain\n      - name: Cat script\n        working-directory: examples/flex-flows/eval-criteria-with-langchain\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flex-flows/eval-criteria-with-langchain\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flex-flows/eval-criteria-with-langchain\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flex-flows/eval-criteria-with-langchain\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flex-flows/eval-criteria-with-langchain/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:13.822765", "created_at": "2024-05-06T09:02:58+02:00", "updated_at": "2024-05-08T08:04:47+02:00", "name": "samples_flexflows_evalcriteriawithlangchain_langchaineval", "path": ".github/workflows/samples_flexflows_evalcriteriawithlangchain_langchaineval.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flexflows_evalcriteriawithlangchain_langchaineval\non:\n  schedule:\n    - cron: \"42 20 * * *\" # Every day starting at 4:42 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/eval-criteria-with-langchain/**, examples/*requirements.txt, .github/workflows/samples_flexflows_evalcriteriawithlangchain_langchaineval.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flexflows_evalcriteriawithlangchain_langchaineval:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/flex-flows/eval-criteria-with-langchain\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/flex-flows/eval-criteria-with-langchain\n        run: |\n          papermill -k python langchain-eval.ipynb langchain-eval.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/flex-flows/eval-criteria-with-langchain\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:15.482137", "created_at": "2024-05-07T05:35:29+02:00", "updated_at": "2024-05-07T05:35:29+02:00", "name": "promptflow-rag-release", "path": ".github/workflows/promptflow-rag-release.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:16.589851", "created_at": "2024-05-08T03:29:16+02:00", "updated_at": "2024-05-08T03:29:16+02:00", "name": "samples_flows_chat_use_tools_with_chat_models", "path": ".github/workflows/samples_flows_chat_use_tools_with_chat_models.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:17.721035", "created_at": "2024-05-09T09:21:49+02:00", "updated_at": "2024-05-22T12:21:59+02:00", "name": "promptflow-parallel-e2e-test", "path": ".github/workflows/promptflow-parallel-e2e-test.yml", "contents": "name: promptflow-parallel-e2e-test\n\non:\n  schedule:\n    - cron: \"40 10 * * *\" # 2:40 PST every day\n  pull_request:\n    paths:\n      - src/promptflow/**\n      - src/promptflow-core/**\n      - src/promptflow-tracing/**\n      - src/promptflow-parallel/**\n      - .github/workflows/promptflow-parallel-e2e-test.yml\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n  WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-parallel\n\njobs:\n  parallel-e2e-test:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n      fail-fast: false\n    # snok/install-poetry need this to support Windows\n    defaults:\n      run:\n        shell: bash\n    environment:\n      internal\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: set test mode\n        # Always run in replay mode for now until we figure out the test resource to run live mode\n        run: echo \"PROMPT_FLOW_TEST_MODE=replay\" >> $GITHUB_ENV\n        #run: echo \"PROMPT_FLOW_TEST_MODE=$(if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then echo replay; else echo live; fi)\" >> $GITHUB_ENV\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: snok/install-poetry@v1\n      - name: install promptflow packages in editable mode\n        run: |\n          set -xe\n          poetry install --with ci,test\n\n          poetry run pip show promptflow-tracing\n          poetry run pip show promptflow-core\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: run e2e tests\n        run: poetry run pytest -m e2etest --cov=promptflow --cov-config=pyproject.toml --cov-report=term --cov-report=html --cov-report=xml\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: Upload Test Results\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: Test Results (Python ${{ matrix.python-version }}) (OS ${{ matrix.os }})\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/*.xml\n            ${{ env.WORKING_DIRECTORY }}/htmlcov/\n\n  parallel-e2e-test-report:\n    needs: test\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: read\n    if: always()\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n    - name: Publish Test Results\n      uses: \"./.github/actions/step_publish_test_results\"\n      with:\n        testActionFileName: promptflow-parallel-e2e-test.yml\n        testResultTitle: Parallel E2E Test Result\n        osVersion: ubuntu-latest\n        pythonVersion: 3.9\n        coverageThreshold: 40\n        context: test/parallel-e2e", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:18.742146", "created_at": "2024-05-09T09:21:49+02:00", "updated_at": "2024-05-22T12:21:59+02:00", "name": "promptflow-parallel-unit-test", "path": ".github/workflows/promptflow-parallel-unit-test.yml", "contents": "name: promptflow-parallel-unit-test\n\non:\n  schedule:\n    - cron: \"40 10 * * *\" # 2:40 PST every day\n  pull_request:\n    paths:\n      - src/promptflow/**\n      - src/promptflow-core/**\n      - src/promptflow-tracing/**\n      - src/promptflow-parallel/**\n      - .github/workflows/promptflow-parallel-unit-test.yml\n  workflow_dispatch:\n\npermissions:\n  id-token: write\n  contents: read\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n  WORKING_DIRECTORY: ${{ github.workspace }}/src/promptflow-parallel\n\njobs:\n  parallel-unit-test:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-13]\n        python-version: ['3.8', '3.9', '3.10', '3.11']\n      fail-fast: false\n    # snok/install-poetry need this to support Windows\n    defaults:\n      run:\n        shell: bash\n    environment:\n      internal\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: set test mode\n        # Always run in replay mode for now until we figure out the test resource to run live mode\n        run: echo \"PROMPT_FLOW_TEST_MODE=replay\" >> $GITHUB_ENV\n        #run: echo \"PROMPT_FLOW_TEST_MODE=$(if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then echo replay; else echo live; fi)\" >> $GITHUB_ENV\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: snok/install-poetry@v1\n      - name: install promptflow packages in editable mode\n        run: |\n          set -xe\n          poetry install --with ci,test\n\n          poetry run pip show promptflow-tracing\n          poetry run pip show promptflow-core\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: run unit tests\n        run: poetry run pytest -m unittest --cov=promptflow --cov-config=pyproject.toml --cov-report=term --cov-report=html --cov-report=xml\n        working-directory: ${{ env.WORKING_DIRECTORY }}\n      - name: Upload Test Results\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: Test Results (Python ${{ matrix.python-version }}) (OS ${{ matrix.os }})\n          path: |\n            ${{ env.WORKING_DIRECTORY }}/*.xml\n            ${{ env.WORKING_DIRECTORY }}/htmlcov/\n\n  parallel-unit-test-report:\n    needs: test\n    runs-on: ubuntu-latest\n    permissions:\n      checks: write\n      pull-requests: write\n      contents: read\n      issues: read\n    if: always()\n    steps:\n    - name: checkout\n      uses: actions/checkout@v4\n    - name: Publish Test Results\n      uses: \"./.github/actions/step_publish_test_results\"\n      with:\n        testActionFileName: promptflow-parallel-unit-test.yml\n        testResultTitle: Parallel Unit Test Result\n        osVersion: ubuntu-latest\n        pythonVersion: 3.9\n        coverageThreshold: 40\n        context: test/parallel-unit", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:19.793415", "created_at": "2024-05-13T09:11:38+02:00", "updated_at": "2024-05-17T10:06:45+02:00", "name": "samples_flex_flows_chat_minimal", "path": ".github/workflows/samples_flex_flows_chat_minimal.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flex_flows_chat_minimal\non:\n  schedule:\n    - cron: \"29 22 * * *\" # Every day starting at 6:29 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/chat-minimal/**, examples/*requirements.txt, .github/workflows/samples_flex_flows_chat_minimal.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flex_flows_chat_minimal:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flex-flows/chat-minimal\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flex-flows/chat-minimal\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flex-flows/chat-minimal/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flex-flows/chat-minimal/README.md -o examples/flex-flows/chat-minimal\n      - name: Cat script\n        working-directory: examples/flex-flows/chat-minimal\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flex-flows/chat-minimal\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flex-flows/chat-minimal\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flex-flows/chat-minimal\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flex-flows/chat-minimal/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:20.853804", "created_at": "2024-05-13T17:18:58+02:00", "updated_at": "2024-05-17T10:06:45+02:00", "name": "samples_flex_flows_chat_with_functions", "path": ".github/workflows/samples_flex_flows_chat_with_functions.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flex_flows_chat_with_functions\non:\n  schedule:\n    - cron: \"51 21 * * *\" # Every day starting at 5:51 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/chat-with-functions/**, examples/*requirements.txt, .github/workflows/samples_flex_flows_chat_with_functions.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flex_flows_chat_with_functions:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flex-flows/chat-with-functions\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flex-flows/chat-with-functions\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flex-flows/chat-with-functions/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flex-flows/chat-with-functions/README.md -o examples/flex-flows/chat-with-functions\n      - name: Cat script\n        working-directory: examples/flex-flows/chat-with-functions\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flex-flows/chat-with-functions\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flex-flows/chat-with-functions\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flex-flows/chat-with-functions\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flex-flows/chat-with-functions/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:22.024465", "created_at": "2024-05-16T09:28:06+02:00", "updated_at": "2024-05-17T10:06:45+02:00", "name": "samples_flex_flows_chat_async_stream", "path": ".github/workflows/samples_flex_flows_chat_async_stream.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flex_flows_chat_async_stream\non:\n  schedule:\n    - cron: \"59 20 * * *\" # Every day starting at 4:59 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/chat-async-stream/**, examples/*requirements.txt, .github/workflows/samples_flex_flows_chat_async_stream.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flex_flows_chat_async_stream:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        working-directory: examples\n        run: |\n          if [[ -e requirements.txt ]]; then\n            python -m pip install --upgrade pip\n            pip install -r requirements.txt\n          fi\n      - name: Prepare dev requirements\n        working-directory: examples\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r dev_requirements.txt\n      - name: Refine .env file\n        working-directory: examples/flex-flows/chat-async-stream\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create run.yml\n        working-directory: examples/flex-flows/chat-async-stream\n        run: |\n          gpt_base=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          gpt_base=$(echo ${gpt_base//\\//\\\\/})\n          if [[ -e run.yml ]]; then\n            sed -i -e \"s/\\${azure_open_ai_connection.api_key}/${{ secrets.AOAI_API_KEY_TEST }}/g\" -e \"s/\\${azure_open_ai_connection.api_base}/$gpt_base/g\" run.yml\n          fi\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 0\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v1\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Extract Steps examples/flex-flows/chat-async-stream/README.md\n        working-directory: ${{ github.workspace }}\n        run: |\n          python scripts/readme/extract_steps_from_readme.py -f examples/flex-flows/chat-async-stream/README.md -o examples/flex-flows/chat-async-stream\n      - name: Cat script\n        working-directory: examples/flex-flows/chat-async-stream\n        run: |\n          cat bash_script.sh\n      - name: Run scripts against canary workspace (scheduled runs only)\n        if: github.event_name == 'schedule'\n        working-directory: examples/flex-flows/chat-async-stream\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_CANARY }}\n          bash bash_script.sh\n      - name: Run scripts against production workspace\n        if: github.event_name != 'schedule'\n        working-directory: examples/flex-flows/chat-async-stream\n        run: |\n          export aoai_api_key=${{secrets.AOAI_API_KEY_TEST }}\n          export aoai_api_endpoint=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export AZURE_OPENAI_API_KEY=${{secrets.AOAI_API_KEY_TEST }}\n          export AZURE_OPENAI_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          export test_workspace_sub_id=${{ secrets.TEST_WORKSPACE_SUB_ID }}\n          export test_workspace_rg=${{ secrets.TEST_WORKSPACE_RG }}\n          export test_workspace_name=${{ secrets.TEST_WORKSPACE_NAME_PROD }}\n          bash bash_script.sh\n      - name: Pip List for Debug\n        if : ${{ always() }}\n        working-directory: examples/flex-flows/chat-async-stream\n        run: |\n          pip list\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: artifact\n          path: examples/flex-flows/chat-async-stream/bash_script.sh", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:23.013010", "created_at": "2024-05-16T09:28:06+02:00", "updated_at": "2024-05-16T09:28:06+02:00", "name": "samples_flexflows_chatasyncstream_chatstreamwithflexflow", "path": ".github/workflows/samples_flexflows_chatasyncstream_chatstreamwithflexflow.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:24.058998", "created_at": "2024-05-16T10:03:26+02:00", "updated_at": "2024-05-17T10:06:45+02:00", "name": "samples_flexflows_chatasyncstream_chatstreamwithasyncflexflow", "path": ".github/workflows/samples_flexflows_chatasyncstream_chatstreamwithasyncflexflow.yml", "contents": "# This code is autogenerated.\n# Code is generated by running custom script: python3 readme.py\n# Any manual changes to this file may cause incorrect behavior.\n# Any manual changes will be overwritten if the code is regenerated.\n\nname: samples_flexflows_chatasyncstream_chatstreamwithasyncflexflow\non:\n  schedule:\n    - cron: \"11 20 * * *\" # Every day starting at 4:11 BJT\n  pull_request:\n    branches: [ main ]\n    paths: [ examples/flex-flows/chat-async-stream/**, examples/*requirements.txt, .github/workflows/samples_flexflows_chatasyncstream_chatstreamwithasyncflexflow.yml ]\n  workflow_dispatch:\n\nenv:\n  IS_IN_CI_PIPELINE: \"true\"\n\npermissions:\n  id-token: write\n  contents: read\n\njobs:\n  samples_flexflows_chatasyncstream_chatstreamwithasyncflexflow:\n    runs-on: ubuntu-latest\n    environment:\n      internal\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.9 environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n      - name: Prepare requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r ${{ github.workspace }}/examples/requirements.txt\n          pip install -r ${{ github.workspace }}/examples/dev_requirements.txt\n      - name: setup .env file\n        working-directory: examples/flex-flows/chat-async-stream\n        run: |\n          AOAI_API_KEY=${{ secrets.AOAI_API_KEY_TEST }}\n          AOAI_API_ENDPOINT=${{ secrets.AOAI_API_ENDPOINT_TEST }}\n          AOAI_API_ENDPOINT=$(echo ${AOAI_API_ENDPOINT//\\//\\\\/})\n          if [[ -e .env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" .env.example\n            mv .env.example .env\n          fi\n          if [[ -e ../.env.example ]]; then\n            echo \"env replacement\"\n            sed -i -e \"s/<your_AOAI_key>/$AOAI_API_KEY/g\" -e \"s/<your_AOAI_endpoint>/$AOAI_API_ENDPOINT/g\" ../.env.example\n            mv ../.env.example ../.env\n          fi\n      - name: Create Aoai Connection\n        run: pf connection create -f ${{ github.workspace }}/examples/connections/azure_openai.yml --set api_key=\"${{ secrets.AOAI_API_KEY_TEST }}\" api_base=\"${{ secrets.AOAI_API_ENDPOINT_TEST }}\"\n      - name: Random Wait\n        uses: AliSajid/random-wait-action@main\n        with:\n          minimum: 1\n          maximum: 300\n      - name: Azure Login\n        uses: azure/login@v2\n        with:\n          subscription-id: ${{secrets.AZURE_SUBSCRIPTION_ID}}\n          tenant-id: ${{secrets.AZURE_TENANT_ID}}\n          client-id: ${{secrets.AZURE_CLIENT_ID}}\n      - name: Fetch OID token every 4 mins\n        shell: bash\n        run: |\n          while true; do\n            token_request=$ACTIONS_ID_TOKEN_REQUEST_TOKEN\n            token_uri=$ACTIONS_ID_TOKEN_REQUEST_URL\n            token=$(curl -H \"Authorization: bearer $token_request\" \"${token_uri}&audience=api://AzureADTokenExchange\" | jq .value -r)\n            az login --service-principal -u ${{secrets.AZURE_CLIENT_ID}} -t ${{secrets.AZURE_TENANT_ID}} --federated-token $token --output none\n            # Sleep for 4 minutes\n            sleep 240\n          done &\n      - name: Test Notebook\n        working-directory: examples/flex-flows/chat-async-stream\n        run: |\n          papermill -k python chat-stream-with-async-flex-flow.ipynb chat-stream-with-async-flex-flow.output.ipynb\n      - name: Upload artifact\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: artifact\n          path: examples/flex-flows/chat-async-stream\n", "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:25.087864", "created_at": "2024-07-05T19:28:30+02:00", "updated_at": "2024-07-11T03:45:09+02:00", "name": "promptflow-evals-regression-test", "path": ".github/workflows/promptflow-evals-regression-test.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:26.168650", "created_at": "2024-07-09T07:52:10+02:00", "updated_at": "2024-07-09T07:52:10+02:00", "name": "License Compliance", "path": ".github/workflows/license-compliance.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:27.140309", "created_at": "2024-07-10T21:22:55+02:00", "updated_at": "2024-07-10T23:24:42+02:00", "name": "promptflow-evals-local-e2e-test", "path": ".github/workflows/promptflow-evals-local-e2e-test.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:28.174580", "created_at": "2024-07-11T01:01:53+02:00", "updated_at": "2024-07-15T04:30:24+02:00", "name": "promptflow-evals-e2e-test-local", "path": ".github/workflows/promptflow-evals-e2e-test-local.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:29.271896", "created_at": "2024-07-11T01:01:53+02:00", "updated_at": "2024-07-15T04:30:24+02:00", "name": "promptflow-evals-e2e-test-azure", "path": ".github/workflows/promptflow-evals-e2e-test-azure.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:30.268797", "created_at": "2024-07-13T07:21:30+02:00", "updated_at": "2024-07-13T07:21:30+02:00", "name": "promptflow-evals-installation-test", "path": ".github/workflows/promptflow-evals-installation-test.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:31.337345", "created_at": "2024-07-14T02:38:44+02:00", "updated_at": "2024-07-14T02:38:44+02:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:32.404558", "created_at": "2024-07-15T04:30:34+02:00", "updated_at": "2024-07-15T04:30:34+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:33.435787", "created_at": "2023-08-18T10:01:48+02:00", "updated_at": "2023-08-29T04:46:11+02:00", "name": "Promptflow Tools Pre Manual Release", "path": ".github/workflows/tools_pre_manual_release.yml", "contents": null, "state": "disabled_manually", "repository": "microsoft/promptflow"}
{"mined_at": "2024-07-15T18:42:35.619909", "created_at": "2023-05-27T01:40:51+02:00", "updated_at": "2023-05-27T02:45:44+02:00", "name": "Check code format", "path": ".github/workflows/check-format.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Check code format\n\non:\n  pull_request:\n    branches:\n      - main\n      - feature/**\n\npermissions:\n  contents: read\n\njobs:\n  check-code-format:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: Set up Python\n      uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n      with:\n        python-version: '3.9'\n    - name: Install dependencies\n      run: |\n        pip install tox\n    - name: Run code format checks\n      run: |\n        tox -e linters_check -p auto\n", "state": "active", "repository": "amazon-braket/amazon-braket-sdk-python"}
{"mined_at": "2024-07-15T18:42:36.871424", "created_at": "2023-10-27T23:56:35+02:00", "updated_at": "2023-11-20T19:52:34+01:00", "name": "Code Freeze", "path": ".github/workflows/code-freeze.yml", "contents": "name: Code Freeze\n\non:\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\nenv:\n  FROZEN: ${{ vars.FROZEN }}\n  UNFROZEN_PREFIX: ${{ vars.UNFROZEN_PREFIX }}\n\njobs:\n  check-pr-frozen-status:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Fetch PR data and check if merge allowed\n      if: env.FROZEN == 'true'\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        PR_DATA=$(curl -s \\\n          -H \"Authorization: Bearer $GITHUB_TOKEN\" \\\n          -H \"Accept: application/vnd.github.v3+json\" \\\n          https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }})\n        BRANCH_NAME=$(echo $PR_DATA | jq .head.ref -r)\n        PR_TITLE=$(echo $PR_DATA | jq .title -r)\n\n        echo $BRANCH_NAME\n        echo $PR_TITLE\n\n        # if it's not a critical fix\n        if ! [[ \"$PR_TITLE\" == fix\\(critical\\):* ]]; then\n          # and there's an unfrozen prefix\n          if ! [[ -z $UNFROZEN_PREFIX ]]; then\n            # check if the branch matches unfrozen prefix\n            if [[ \"$BRANCH_NAME\" != $UNFROZEN_PREFIX* ]]; then\n              echo \"Error: You can only merge from branches that start with '$UNFROZEN_PREFIX', or PRs titled with prefix 'fix(critical): '.\"\n              exit 1\n            fi\n          # repo is fully frozen\n          else\n            echo \"Error: You can only merge PRs titled with prefix 'fix(critical): '.\"\n            exit 1\n          fi\n        fi\n", "state": "active", "repository": "amazon-braket/amazon-braket-sdk-python"}
{"mined_at": "2024-07-15T18:42:38.019133", "created_at": "2021-03-18T23:01:34+01:00", "updated_at": "2021-03-18T23:01:34+01:00", "name": "Dependent tests", "path": ".github/workflows/dependent-tests.yml", "contents": "name: Dependent tests\n\non:\n  pull_request:\n    branches:\n      - main\n      - feature/**\n\npermissions:\n  contents: read\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        dependent:\n          - amazon-braket-pennylane-plugin-python\n\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip\n        pip install --upgrade git+https://github.com/aws/amazon-braket-schemas-python.git@main\n        pip install --upgrade git+https://github.com/aws/amazon-braket-default-simulator-python.git@main\n        pip install -e .\n        cd ..\n        git clone https://github.com/aws/${{ matrix.dependent }}.git\n        cd ${{ matrix.dependent }}\n        # Update the amazon-braket-sdk dependency to reference the current commit\n        python ${GITHUB_WORKSPACE}/.github/scripts/update_dependency.py\n        pip install -e .[test]\n    - name: Run unit tests\n      run: |\n        cd ../${{ matrix.dependent }}\n        pytest\n", "state": "active", "repository": "amazon-braket/amazon-braket-sdk-python"}
{"mined_at": "2024-07-15T18:42:39.116383", "created_at": "2024-06-04T22:20:25+02:00", "updated_at": "2024-06-19T23:20:00+02:00", "name": "PR Title Checker", "path": ".github/workflows/pr-title-checker.yml", "contents": "name: \"PR Title Checker\"\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n      - feature/**\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n      - labeled\n      - unlabeled\n\npermissions:\n  pull-requests: write\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Check PR Title\"\n        uses: thehanimo/pr-title-checker@v1.4.1\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          pass_on_octokit_error: false\n          configuration_path: .github/pr-title-checker-config.json #(optional. defaults to .github/pr-title-checker-config.json)\n", "state": "active", "repository": "amazon-braket/amazon-braket-sdk-python"}
{"mined_at": "2024-07-15T18:42:40.222722", "created_at": "2024-06-05T22:43:23+02:00", "updated_at": "2024-06-05T22:43:23+02:00", "name": "Publish Cheat Sheet", "path": ".github/workflows/publish-cheat-sheet.yml", "contents": null, "state": "active", "repository": "amazon-braket/amazon-braket-sdk-python"}
{"mined_at": "2024-07-15T18:42:41.215201", "created_at": "2020-08-26T04:35:50+02:00", "updated_at": "2020-08-26T04:35:50+02:00", "name": "Publish distribution to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish distribution to PyPI\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  build-and-publish:\n    name: Build and publish distribution to PyPi\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - name: Set up Python\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: '3.x'\n      - name: Install wheel\n        run: python -m pip install --user --upgrade wheel\n      - name: Install twine\n        run: python -m pip install --user --upgrade twine\n      - name: Install setuptools\n        run: python -m pip install --user --upgrade setuptools\n      - name: Build a binary wheel and a source tarball\n        run: python setup.py sdist bdist_wheel\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # release/v1\n        with:\n          password: ${{ secrets.pypi_token }}\n", "state": "active", "repository": "amazon-braket/amazon-braket-sdk-python"}
{"mined_at": "2024-07-15T18:42:42.296775", "created_at": "2020-12-29T00:56:52+01:00", "updated_at": "2020-12-29T00:56:52+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n      - feature/**\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install tox\n    - name: Run unit tests\n      run: |\n        tox -e unit-tests\n    - name: Upload coverage report to Codecov\n      uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4.1.0\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n      if: ${{ strategy.job-index }} == 0\n", "state": "active", "repository": "amazon-braket/amazon-braket-sdk-python"}
{"mined_at": "2024-07-15T18:42:43.424179", "created_at": "2020-08-25T23:12:34+02:00", "updated_at": "2020-08-25T23:12:34+02:00", "name": "Close stale issues", "path": ".github/workflows/stale_issue.yml", "contents": "name: \"Close stale issues\"\n\n# Controls when the action will run.\n# This is every day at 10am\non:\n  schedule:\n    - cron: \"0 10 * * *\"\n\npermissions:\n  contents: read\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write  # comment on issues\n    name: Stale issue job\n    steps:\n      - uses: aws-actions/stale-issue-cleanup@7de35968489e4142233d2a6812519a82e68b5c38 # v6\n        with:\n          # Setting messages to an empty string will cause the automation to skip\n          # that category\n          ancient-issue-message: Greetings! It looks like this issue hasn’t been active in longer than three years. We encourage you to check if this is still an issue in the latest release. Because it has been longer than three years since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment to prevent automatic closure, or if the issue is already closed, please feel free to reopen it.\n          stale-issue-message: Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one.\n          stale-pr-message: Greetings! It looks like this PR hasn’t been active in longer than a week, add a comment or an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one.\n\n          # These labels are required\n          stale-issue-label: closing-soon\n          exempt-issue-label: auto-label-exempt\n          stale-pr-label: closing-soon\n          exempt-pr-label: pr/needs-review\n          response-requested-label: response-requested\n\n          # Don't set closed-for-staleness label to skip closing very old issues\n          # regardless of label\n          closed-for-staleness-label: closed-for-staleness\n\n          # Issue timing\n          days-before-stale: 7\n          days-before-close: 4\n          days-before-ancient: 1095\n\n          # If you don't want to mark a issue as being ancient based on a\n          # threshold of \"upvotes\", you can set this here. An \"upvote\" is\n          # the total number of +1, heart, hooray, and rocket reactions\n          # on an issue.\n          minimum-upvotes-to-exempt: 1\n\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          loglevel: DEBUG\n          # Set dry-run to true to not perform label or close actions.\n          dry-run: false\n", "state": "active", "repository": "amazon-braket/amazon-braket-sdk-python"}
{"mined_at": "2024-07-15T18:42:44.652784", "created_at": "2023-05-03T07:36:58+02:00", "updated_at": "2023-05-18T19:26:43+02:00", "name": "Check long description for PyPI", "path": ".github/workflows/twine-check.yml", "contents": "name: Check long description for PyPI\n\non:\n  pull_request:\n    branches:\n      - main\n      - feature/**\n\npermissions:\n  contents: read\n\njobs:\n  twine-check:\n    name: Check long description\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - name: Set up Python\n        uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0\n        with:\n          python-version: '3.x'\n      - name: Install wheel\n        run: python -m pip install --user --upgrade wheel\n      - name: Install twine\n        run: python -m pip install --user --upgrade twine\n      - name: Install setuptools\n        run: python -m pip install --user --upgrade setuptools\n      - name: Build a binary wheel and a source tarball\n        run: python setup.py sdist bdist_wheel\n      - name: Check that long description will render correctly on PyPI.\n        run: twine check dist/*\n", "state": "active", "repository": "amazon-braket/amazon-braket-sdk-python"}
{"mined_at": "2024-07-15T18:42:47.006121", "created_at": "2023-09-22T05:19:01+02:00", "updated_at": "2024-06-20T00:51:55+02:00", "name": "Lint Python code with ruff", "path": ".github/workflows/lint.yml", "contents": "name: Lint Python code with ruff\n# Caching source: https://gist.github.com/gh640/233a6daf68e9e937115371c0ecd39c61?permalink_comment_id=4529233#gistcomment-4529233\n\non:\n  push:\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    if:\n      github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install poetry\n        run: |\n          pipx install poetry\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n          cache: poetry\n          cache-dependency-path: poetry.lock\n      - name: Install dependencies with dev group\n        run: |\n          poetry install --with dev\n      - name: Run ruff\n        run: |\n          poetry run ruff --version\n          poetry run ruff check . --preview", "state": "active", "repository": "Pennyw0rth/NetExec"}
{"mined_at": "2024-07-15T18:42:48.135631", "created_at": "2023-10-18T18:12:32+02:00", "updated_at": "2024-03-30T01:18:22+01:00", "name": "NetExec Tests", "path": ".github/workflows/test.yml", "contents": "name: NetExec Tests\n\non:\n  workflow_dispatch:\n  pull_request_review:\n    types: [submitted]\n\njobs:\n  build:\n    name: Test for Py${{ matrix.python-version }}\n    if: github.event.review.state == 'APPROVED'\n    runs-on: ${{ matrix.os }}\n    strategy:\n      max-parallel: 5\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install poetry\n        run: |\n          pipx install poetry\n      - name: NetExec set up python ${{ matrix.python-version }} on ${{ matrix.os }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: poetry\n          cache-dependency-path: poetry.lock\n      - name: Install with pipx\n        run: |\n          pipx install . --python python${{ matrix.python-version }}\n      - name: Install poetry\n        run: |\n          pipx install poetry --python python${{ matrix.python-version }}\n          poetry --version\n          poetry env info\n      - name: Install libraries with dev group\n        run: |\n          poetry install --with dev\n      - name: Load every protocol and module\n        run: |\n          poetry run netexec winrm 127.0.0.1\n          poetry run netexec vnc 127.0.0.1\n          poetry run netexec smb 127.0.0.1\n          poetry run netexec ldap 127.0.0.1\n          poetry run netexec wmi 127.0.0.1\n          poetry run netexec rdp 127.0.0.1\n          poetry run netexec mssql 127.0.0.1\n          poetry run netexec ssh 127.0.0.1\n          poetry run netexec ftp 127.0.0.1\n          poetry run netexec smb 127.0.0.1 -M veeam\n", "state": "active", "repository": "Pennyw0rth/NetExec"}
{"mined_at": "2024-07-15T18:42:49.153692", "created_at": "2023-12-23T17:22:56+01:00", "updated_at": "2023-12-23T17:22:56+01:00", "name": "Build Binaries", "path": ".github/workflows/build-binaries.yml", "contents": "name: Build Binaries\n\non:\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Building Binary on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n        python-version: [\"3.11\"]\n        #python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"] # for binary builds we only need one version\n    steps:\n    - uses: actions/checkout@v3\n    - name: NetExec set up python on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Build Native Binary\n      run: |\n        pip install pyinstaller\n        pip install .\n        pyinstaller netexec.spec\n    - name: Upload Windows Binary\n      if: runner.os == 'windows'\n      uses: actions/upload-artifact@v3\n      with:\n        name: nxc.exe\n        path: dist/nxc.exe\n    - name: Upload Nix/OSx Binary\n      if: runner.os != 'windows'\n      uses: actions/upload-artifact@v3\n      with:\n        name: nxc-${{ matrix.os }}\n        path: dist/nxc\n", "state": "active", "repository": "Pennyw0rth/NetExec"}
{"mined_at": "2024-07-15T18:42:50.318996", "created_at": "2023-12-23T17:22:56+01:00", "updated_at": "2023-12-23T17:22:56+01:00", "name": "Build ZippApps", "path": ".github/workflows/build-zipapps.yml", "contents": "name: Build ZippApps\n\non:\n  workflow_dispatch:\n\njobs:\n  build:\n    name: Building Python ZipApp on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macOS-latest, windows-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n    - uses: actions/checkout@v3\n    - name: NetExec set up python on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Build Python ZipApp with Shiv\n      run: |\n        pip install shiv\n        python build_collector.py\n    - name: Upload nxc ZipApp\n      uses: actions/upload-artifact@v3\n      with:\n        name: nxc-zipapp-${{ matrix.os }}-${{ matrix.python-version }}\n        path: bin/nxc\n    - name: Upload nxcdb ZipApp\n      uses: actions/upload-artifact@v3\n      with:\n        name: nxcdb-zipapp-${{ matrix.os }}-${{ matrix.python-version }}\n        path: bin/nxcdb\n", "state": "active", "repository": "Pennyw0rth/NetExec"}
{"mined_at": "2024-07-15T18:42:51.325531", "created_at": "2024-06-16T20:55:54+02:00", "updated_at": "2024-06-19T12:29:56+02:00", "name": "NetExec Tests Windows", "path": ".github/workflows/windows-run.yml", "contents": null, "state": "active", "repository": "Pennyw0rth/NetExec"}
{"mined_at": "2024-07-15T18:42:52.434216", "created_at": "2024-06-19T12:24:33+02:00", "updated_at": "2024-06-19T12:24:33+02:00", "name": ".github/workflows/master.yml", "path": ".github/workflows/master.yml", "contents": null, "state": "active", "repository": "Pennyw0rth/NetExec"}
{"mined_at": "2024-07-15T18:42:53.416196", "created_at": "2024-06-19T18:26:15+02:00", "updated_at": "2024-06-19T18:56:12+02:00", "name": "NetExec Checker", "path": ".github/workflows/checker.yml", "contents": null, "state": "active", "repository": "Pennyw0rth/NetExec"}
{"mined_at": "2024-07-15T18:42:55.418480", "created_at": "2023-09-26T20:58:45+02:00", "updated_at": "2024-02-02T19:04:27+01:00", "name": "Build Wheels & Release", "path": ".github/workflows/build-wheels-release.yml", "contents": "name: Build Wheels & Release\n\non:\n  workflow_dispatch:\n    inputs:\n      release:\n        description: 'Release? 1 = yes, 0 = no'\n        default: '0'\n        required: true\n        type: string\n\npermissions:\n  contents: write\n\njobs:\n  build_wheels:\n    name: ${{ matrix.os }} Python=${{ matrix.pyver }} CUDA=${{ matrix.cuda }} ROCm=${{ matrix.rocm }} Torch=${{ matrix.torch }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n\n        # Ubuntu 20.04 CUDA\n         - { artname: 'wheel', os: ubuntu-20.04, pyver:  '3.8', cuda: '11.7.0', rocm:    '', torch: '2.0.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6+PTX'         }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver:  '3.8', cuda: '11.8.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver:  '3.8', cuda: '12.1.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver:  '3.9', cuda: '11.7.0', rocm:    '', torch: '2.0.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6+PTX'         }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver:  '3.9', cuda: '11.8.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver:  '3.9', cuda: '12.1.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.10', cuda: '11.7.0', rocm:    '', torch: '2.0.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6+PTX'         }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.10', cuda: '11.8.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.10', cuda: '12.1.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.11', cuda: '11.7.0', rocm:    '', torch: '2.0.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6+PTX'         }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.11', cuda: '11.8.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.11', cuda: '12.1.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.12', cuda: '11.8.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.12', cuda: '12.1.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n        \n        # Windows 2022 CUDA\n         - { artname: 'wheel', os: windows-2022, pyver:  '3.8', cuda: '11.7.0', rocm:    '', torch: '2.0.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6+PTX'         }\n         - { artname: 'wheel', os: windows-2022, pyver:  '3.8', cuda: '11.8.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver:  '3.8', cuda: '12.1.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver:  '3.9', cuda: '11.7.0', rocm:    '', torch: '2.0.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6+PTX'         }\n         - { artname: 'wheel', os: windows-2022, pyver:  '3.9', cuda: '11.8.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver:  '3.9', cuda: '12.1.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.10', cuda: '11.7.0', rocm:    '', torch: '2.0.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6+PTX'         }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.10', cuda: '11.8.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.10', cuda: '12.1.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.11', cuda: '11.7.0', rocm:    '', torch: '2.0.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6+PTX'         }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.11', cuda: '11.8.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.11', cuda: '12.1.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.12', cuda: '11.8.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.12', cuda: '12.1.0', rocm:    '', torch: '2.3.1', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n        \n        # Ubuntu 20.04 ROCm\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.10', cuda: '',       rocm: '5.6', torch: '2.2.2', cudaarch: ''                                    }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.10', cuda: '',       rocm: '6.0', torch: '2.3.1', cudaarch: ''                                    }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.11', cuda: '',       rocm: '5.6', torch: '2.2.2', cudaarch: ''                                    }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.11', cuda: '',       rocm: '6.0', torch: '2.3.1', cudaarch: ''                                    }\n         - { artname: 'wheel', os: ubuntu-20.04, pyver: '3.12', cuda: '',       rocm: '6.0', torch: '2.3.1', cudaarch: ''                                    }\n\n         # sdist\n         - { artname: 'sdist', os: ubuntu-20.04, pyver: '3.11', cuda: '',       rocm:    '', torch: '2.3.1', cudaarch: ''                                    }\n\n         # Extra Torch 2.2 wheels for Windows 2022 until PyTorch resolves the shm.dll issue\n         - { artname: 'wheel', os: windows-2022, pyver:  '3.8', cuda: '11.8.0', rocm:    '', torch: '2.2.0', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver:  '3.8', cuda: '12.1.0', rocm:    '', torch: '2.2.0', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver:  '3.9', cuda: '11.8.0', rocm:    '', torch: '2.2.0', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver:  '3.9', cuda: '12.1.0', rocm:    '', torch: '2.2.0', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.10', cuda: '11.8.0', rocm:    '', torch: '2.2.0', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.10', cuda: '12.1.0', rocm:    '', torch: '2.2.0', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.11', cuda: '11.8.0', rocm:    '', torch: '2.2.0', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.11', cuda: '12.1.0', rocm:    '', torch: '2.2.0', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.12', cuda: '11.8.0', rocm:    '', torch: '2.2.0', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n         - { artname: 'wheel', os: windows-2022, pyver: '3.12', cuda: '12.1.0', rocm:    '', torch: '2.2.0', cudaarch: '6.0 6.1 7.0 7.5 8.0 8.6 8.9 9.0+PTX' }\n\n    defaults:\n      run:\n        shell: pwsh\n\n    steps:\n      # Free disk space\n\n      - name: Free Disk Space\n        uses: jlumbroso/free-disk-space@v1.3.1\n        if: runner.os == 'Linux'\n        with:\n          tool-cache: true\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: false\n          swap-storage: true\n\n      # Setup Python\n\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.pyver }}\n\n      # Get version string from package\n\n      - name: Get version string\n        id: package_version\n        run: | \n          $versionString = Get-Content $(Join-Path 'exllamav2' 'version.py') -raw\n          if ($versionString -match '__version__ = \"(\\d+\\.(?:\\d+\\.?(?:dev\\d+)?)*)\"') \n          {\n            Write-Output $('::notice file=build-wheels-release.yml,line=200,title=Package Version::Detected package version is: {0}' -f $Matches[1])\n            Write-Output \"PACKAGE_VERSION=$($Matches[1])\" >> \"$env:GITHUB_OUTPUT\"\n          }\n          else\n          {\n            Write-Output '::error file=build-wheels-release.yml,line=203::Could not parse version from exllamav2/version.py! You must upload wheels manually!'\n            Write-Output \"PACKAGE_VERSION=None\" >> \"$env:GITHUB_OUTPUT\"\n          }\n\n      # Pin VS build tools to 17.9 so builds won't fail\n\n      - name: Install VS2022 BuildTools 17.9.7\n        run: choco install -y visualstudio2022buildtools --version=117.9.7.0 --params \"--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --installChannelUri https://aka.ms/vs/17/release/180911598_-255012421/channel\"\n        if: runner.os == 'Windows'\n\n      # Install ROCm SDK, apparently needs to happen before setting up Python\n\n      - name: Build for ROCm\n        if: matrix.rocm != ''\n        shell: bash\n        run: |\n          # --- Install ROCm SDK\n\n          export ROCM_VERSION=${{ matrix.rocm }}\n          export TORCH_VERSION=${{ matrix.torch }}\n\n          [ ! -d /etc/apt/keyrings ] && sudo mkdir --parents --mode=0755 /etc/apt/keyrings\n          wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null\n          echo \"deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/$ROCM_VERSION focal main\" | sudo tee --append /etc/apt/sources.list.d/rocm.list\n          echo -e 'Package: *\\nPin: release o=repo.radeon.com\\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600\n          \n          sudo apt update\n          sudo apt install rocm-hip-sdk -y\n          sudo apt clean -y\n\n          echo \"/opt/rocm/bin\" >> $GITHUB_PATH\n          echo \"ROCM_PATH=/opt/rocm\" >> $GITHUB_ENV\n          echo \"ROCM_VERSION=$ROCM_VERSION\" >> $GITHUB_ENV\n          echo \"USE_ROCM=1\" >> $GITHUB_ENV\n\n          # --- Install dependencies\n\n          python3 -m ensurepip --upgrade\n          pip3 install torch==${{ matrix.torch }} --index-url=\"https://download.pytorch.org/whl/rocm$ROCM_VERSION\"\n          pip3 install --upgrade setuptools==69.5.1 build wheel safetensors sentencepiece ninja\n          pip3 cache purge\n\n          # --- Build wheel \n\n          python3 -m build -n --wheel -C--build-option=egg_info \"-C--build-option=--tag-build=+rocm${{ matrix.rocm }}-torch${{ matrix.torch }}\"\n\n      # Build for CUDA\n\n      - name: Setup Mamba\n        if: matrix.cuda != ''\n        uses: conda-incubator/setup-miniconda@v2.3.0\n        with:\n          activate-environment: \"exllama\"\n          python-version: ${{ matrix.pyver }}\n          miniforge-variant: Mambaforge\n          miniforge-version: latest\n          use-mamba: true\n          add-pip-as-python-dependency: true\n          auto-activate-base: false\n\n      - name: Build for CUDA\n        if: matrix.cuda != ''\n        run: |\n          # --- Spawn the VS shell\n          if ($IsWindows) {\n            Import-Module 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\Microsoft.VisualStudio.DevShell.dll'\n            Enter-VsDevShell -VsInstallPath 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools' -DevCmdArguments '-arch=x64 -host_arch=x64'\n            $env:DISTUTILS_USE_SDK=1\n          }\n  \n          # --- Install CUDA using Conda\n          $cudaVersion = '${{ matrix.cuda }}'\n          $cudaVersionPytorch = '${{ matrix.cuda }}'.Remove('${{ matrix.cuda }}'.LastIndexOf('.')).Replace('.','')\n          \n          mamba install -y -c nvidia/label/cuda-$cudaVersion cuda-toolkit cuda-runtime\n\n          if (!(mamba list cuda)[-1].contains('cuda')) {sleep -s 10; mamba install -y 'cuda' $cudaVersion}\n          if (!(mamba list cuda)[-1].contains('cuda')) {throw 'CUDA Toolkit failed to install!'}\n\n          $env:CUDA_PATH = $env:CONDA_PREFIX\n          $env:CUDA_HOME = $env:CONDA_PREFIX\n          if ($IsLinux) {$env:LD_LIBRARY_PATH = $env:CONDA_PREFIX + '/lib:' + $env:LD_LIBRARY_PATH}\n          \n          # --- Install dependencies\n          \n          python -m ensurepip --upgrade\n          python -m pip install torch==${{ matrix.torch }} --index-url https://download.pytorch.org/whl/cu$cudaVersionPytorch\n          python -m pip install --upgrade setuptools==69.5.1 build wheel safetensors sentencepiece ninja\n\n          # --- Build wheel\n                  \n          $BUILDTAG = \"+cu$cudaVersionPytorch-torch${{ matrix.torch }}\"\n          $env:TORCH_CUDA_ARCH_LIST = '${{ matrix.cudaarch }}'\n          python -m build -n --wheel -C--build-option=egg_info \"-C--build-option=--tag-build=$BUILDTAG\"\n\n      # Build sdist\n\n      - name: Build sdist\n        if: matrix.cuda == '' && matrix.rocm == ''\n        run: |\n          # --- Spawn the VS shell\n          if ($IsWindows) {\n            Import-Module 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\Microsoft.VisualStudio.DevShell.dll'\n            Enter-VsDevShell -VsInstallPath 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools' -DevCmdArguments '-arch=x64 -host_arch=x64'\n            $env:DISTUTILS_USE_SDK=1\n          }\n\n          # --- Install dependencies\n          \n          python -m pip install torch==${{ matrix.torch }} --index-url https://download.pytorch.org/whl/cpu\n          python -m pip install build wheel ninja\n\n          # --- Build wheel\n           \n          $env:EXLLAMA_NOCOMPILE=1\n          python -m build -n\n\n      # Upload files\n\n      - uses: actions/upload-artifact@v3\n        if: matrix.artname == 'wheel'\n        with:\n          name: 'wheel'\n          path: ./dist/*\n\n      - uses: actions/upload-artifact@v3\n        if: matrix.artname == 'sdist'\n        with:\n          name: 'sdist'\n          path: ./dist/*\n\n      - name: Upload files to GitHub release\n        if: steps.package_version.outputs.PACKAGE_VERSION != 'None' && inputs.release == '1'\n        uses: svenstaro/upload-release-action@2.6.1\n        with:\n          file: ./dist/*.whl\n          tag: ${{ format('v{0}', steps.package_version.outputs.PACKAGE_VERSION) }}\n          file_glob: true\n          overwrite: true\n          release_name: ${{ steps.package_version.outputs.PACKAGE_VERSION }}\n", "state": "active", "repository": "turboderp/exllamav2"}
{"mined_at": "2024-07-15T18:42:56.417624", "created_at": "2024-07-12T00:41:26+02:00", "updated_at": "2024-07-12T00:41:26+02:00", "name": "Build Wheels & Release", "path": ".github/workflows/build-wheels-release-extra.yml", "contents": null, "state": "active", "repository": "turboderp/exllamav2"}
{"mined_at": "2024-07-15T18:42:58.602534", "created_at": "2020-11-09T21:46:17+01:00", "updated_at": "2020-11-09T21:46:17+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n  schedule:\n    - cron: \"37 1 1 * *\"\n\njobs:\n  tests:\n    name: Python ${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.8\"\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip wheel setuptools tox\n      - name: Run tox targets for ${{ matrix.python-version }}\n        run: |\n          ENV_PREFIX=$(tr -C -d \"0-9\" <<< \"${{ matrix.python-version }}\")\n          TOXENV=$(tox --listenvs | grep \"^py$ENV_PREFIX\" | tr '\\n' ',') python -m tox\n", "state": "active", "repository": "feincms/django-content-editor"}
{"mined_at": "2024-07-15T18:43:00.831836", "created_at": "2021-01-14T19:23:34+01:00", "updated_at": "2024-03-20T06:58:47+01:00", "name": "Tests", "path": ".github/workflows/main.yml", "contents": "name: 'Tests'\n\non:\n  push:\n    branches:\n      - 'master'\n      - 'release-**'\n  pull_request:\n    branches:\n      - 'master'\n      - 'release-**'\n  release:\n    types: [published]\n  schedule:\n    - cron: '0 9 * * Mon'\n  workflow_dispatch:\n\njobs:\n  default_system_linux:\n    name: 'Default System Tests (Linux)'\n    runs-on: 'ubuntu-latest'\n    container:\n      image: 'fitbenchmarking/fitbenchmarking-deps:latest'\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: Installing\n      run: |\n        sudo -HE --preserve-env=PATH $VIRTUAL_ENV/bin/pip install .[bumps,DFO,gofit,minuit,SAS,numdifftools,lmfit,nlopt,paramonte]\n        sudo -HE --preserve-env=PATH $VIRTUAL_ENV/bin/pip install --upgrade .[dev]\n    - name: 'Running Tests'\n      run: |\n        ci/system_tests_default.sh\n    - name: 'Upload Test Results'\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        path: test-results/default_system_pytest.xml\n\n  full_system_linux:\n    name: 'Full System Tests (Linux)'\n    runs-on: 'ubuntu-latest'\n    container:\n      image: 'fitbenchmarking/fitbenchmarking-extras:latest'\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: Installing\n      run: |\n        sudo -HE --preserve-env=PATH $VIRTUAL_ENV/bin/pip install .[bumps,DFO,gofit,levmar,minuit,SAS,numdifftools,lmfit,nlopt,paramonte,hogben]\n        sudo -HE --preserve-env=PATH $VIRTUAL_ENV/bin/pip install --upgrade .[dev]\n        mkdir -p $MASTSIF\n        mkdir -p $PYCUTEST_CACHE\n    - name: 'Running Tests'\n      run: |\n        ci/system_tests.sh\n    - name: 'Upload Test Results'\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        path: test-results/full_system_pytest.xml\n\n  default_unit_linux:\n    name: 'Default Unit Tests (Linux)'\n    runs-on: 'ubuntu-latest'\n    container:\n      image: 'fitbenchmarking/fitbenchmarking-deps:latest'\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: Installing\n      run: |\n        sudo -HE --preserve-env=PATH $VIRTUAL_ENV/bin/pip install .[bumps,DFO,gofit,gradient-free,minuit,SAS,numdifftools,lmfit,nlopt,paramonte]\n        sudo -HE --preserve-env=PATH $VIRTUAL_ENV/bin/pip install --upgrade .[dev]\n    - name: 'Running Tests'\n      run: |\n        ci/unit_tests_default.sh\n    - name: 'Upload Test Results'\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        path: test-results/default_unit_pytest.xml\n\n  full_unit_linux:\n    name: 'Full Unit Tests (Linux)'\n    runs-on: 'ubuntu-latest'\n    container:\n      image: 'fitbenchmarking/fitbenchmarking-extras:latest'\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: Installing\n      run: |\n        sudo -HE --preserve-env=PATH $VIRTUAL_ENV/bin/pip install .[bumps,DFO,gofit,gradient-free,levmar,minuit,SAS,numdifftools,lmfit,nlopt,paramonte,hogben]\n        sudo -HE --preserve-env=PATH $VIRTUAL_ENV/bin/pip install --upgrade .[dev]\n        mkdir -p $MASTSIF\n        mkdir -p $PYCUTEST_CACHE\n        sudo apt update\n        sudo apt install -y curl\n    - name: 'Running Tests'\n      run: |\n        ci/unit_tests.sh\n    - name: 'Submit Coverage'\n      uses: coverallsapp/github-action@v2\n      with:\n        file: coverage.lcov\n        compare-ref: master\n        git-commit: ${{ github.event.pull_request.head.sha }}\n    - name: 'Upload Test Results'\n      if: always()\n      uses: actions/upload-artifact@v3\n      with:\n        path: test-results/full_unit_pytest.xml\n\n  linting_linux:\n    name: 'Linting Tests (Linux)'\n    runs-on: 'ubuntu-latest'\n    steps:\n    - name: 'Checkout code'\n      uses: actions/checkout@v3\n    - name: 'Choose Python Version'\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n    - name: 'Installing'\n      run: |\n        python -m pip install --upgrade pip==20.0.2\n        python -m pip install --upgrade wheel\n        pip install .[bumps,DFO,gofit,gradient-free,minuit,SAS,numdifftools,lmfit,nlopt,paramonte]\n        pip install --upgrade .[dev]\n    - name: 'Run Linting'\n      run: |\n        ci/linting_tests.sh\n\n  default_unit_windows:\n    name: 'Default Unit Tests (Windows)'\n    runs-on: 'windows-latest'\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v3\n    - name: 'Choose Python Version'\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n    - name: Installing\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install wheel\n        python -m pip install .[bumps,DFO,gofit,gradient-free,minuit,SAS,numdifftools,lmfit,nlopt]\n        python -m pip install --upgrade .[dev]\n    - name: 'Running Tests'\n      run: |\n        bash ci/unit_tests_default.sh\n\n  publish-test-results:\n    name: 'Publish Test Results'\n    needs: [default_system_linux, full_system_linux, default_unit_linux, full_unit_linux]\n    runs-on: 'ubuntu-latest'\n    if: always()\n    steps:\n      - name: 'Download Artifacts'\n        uses: actions/download-artifact@v3\n        with:\n          path: artifacts\n\n      - name: 'Publish Test Results'\n        uses: EnricoMi/publish-unit-test-result-action@v2\n        with:\n          check_name: 'Unit & System Test Results'\n          files: artifacts/**/*.xml\n", "state": "active", "repository": "fitbenchmarking/fitbenchmarking"}
{"mined_at": "2024-07-15T18:43:02.060956", "created_at": "2021-09-21T12:30:44+02:00", "updated_at": "2021-10-05T11:36:27+02:00", "name": "Nightly Build", "path": ".github/workflows/nightly.yml", "contents": "name: 'Nightly Build'\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  release_install_linux:\n    name: 'Release Install Test (Linux)'\n    runs-on: 'ubuntu-latest'\n    steps:\n    - name: 'Choose Python Version'\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Installing\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install fitbenchmarking[bumps,DFO,minuit,SAS]\n\n  release_install_windows:\n    name: 'Release Install Test (Windows)'\n    runs-on: 'windows-latest'\n    steps:\n    - name: 'Choose Python Version'\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.9'\n    - name: Installing\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install fitbenchmarking[bumps,DFO,minuit,SAS]\n", "state": "active", "repository": "fitbenchmarking/fitbenchmarking"}
{"mined_at": "2024-07-15T18:43:03.107139", "created_at": "2021-02-18T18:40:39+01:00", "updated_at": "2021-02-18T18:40:39+01:00", "name": "Build and Publish", "path": ".github/workflows/release.yml", "contents": "name: 'Build and Publish'\n\non:\n  release:\n    types: [published]\n\njobs:\n  build-and-publish:\n    name: Build and Publish to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: 'Choose Python Version'\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n\n    - name: 'Build'\n      run: |\n        pip install build\n        python -m build\n\n    - name: Publish distribution to PyPI\n      if: startsWith(github.ref, 'refs/tags')\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "fitbenchmarking/fitbenchmarking"}
{"mined_at": "2024-07-15T18:43:05.336922", "created_at": "2021-04-05T23:30:03+02:00", "updated_at": "2024-03-14T16:27:51+01:00", "name": "Python package", "path": ".github/workflows/python-app.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Python package\n\non:\n  push:\n    branches: [\"develop\"]\n  pull_request:\n    branches: [\"develop\"]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        install-deeplay: [\"\", \"deeplay\"]\n        install-tensorflow: [\"\", \"tensorflow\"]\n        exclude:\n          - python-version: \"3.11\"\n            install-tensorflow: \"tensorflow\"\n    if:\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install flake8\n          python -m pip install -r requirements.txt\n      - name: Install deeplay\n        if: ${{ matrix.install-deeplay == 'deeplay' }}\n        run: |\n          python -m pip install deeplay\n      - name: Install tensorflow\n        if: ${{ matrix.install-tensorflow == 'tensorflow' }}\n        run: |\n          python -m pip install tensorflow==2.10 tensorflow-probability tensorflow-datasets\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n      - name: Test with unittest\n        run: |\n          python -m unittest deeptrack.test\n", "state": "active", "repository": "DeepTrackAI/DeepTrack2"}
{"mined_at": "2024-07-15T18:43:06.376141", "created_at": "2022-01-13T07:07:03+01:00", "updated_at": "2022-01-13T07:07:03+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "DeepTrackAI/DeepTrack2"}
{"mined_at": "2024-07-15T18:43:08.511506", "created_at": "2022-02-09T12:55:52+01:00", "updated_at": "2022-07-29T08:02:43+02:00", "name": "run-linters", "path": ".github/workflows/linters.yml", "contents": "name: run-linters\non: [pull_request]\njobs:          \n  run-black:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1\n      - name: Set up Python 3.7\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.7\n      - name: Debug Message - Check Github branch\n        run: echo \"Current Git branch is ${GITHUB_REF##*/}\" \n      - name: Install Black\n        run: pip install black\n      - name: Run black --check . to check for code formatting.\n        run: black --check .", "state": "active", "repository": "AI4Bharat/Shoonya-Backend"}
{"mined_at": "2024-07-15T18:43:09.639799", "created_at": "2022-10-12T21:47:09+02:00", "updated_at": "2023-01-24T15:40:31+01:00", "name": "Automated Deployment Pipeline", "path": ".github/workflows/build-deploy.yaml", "contents": "name: Automated Deployment Pipeline\non: [workflow_dispatch]\njobs:\n  build:\n    name: Build and Deploy\n    runs-on: ubuntu-latest\n    steps:\n    - name: Building and Deploying containers on VM\n      uses: appleboy/ssh-action@master\n      with:\n        host: ${{ secrets.DEV2_HOST }}\n        username: ${{ secrets.DEV2_USERNAME }}\n        password: ${{ secrets.DEV2_PASSWORD }}\n        script: |\n          cd Shoonya-Backend\n          git checkout develop2\n          git pull\n          newgrp docker\n          docker-compose -f docker-compose-prod.yml up --build -d\n", "state": "active", "repository": "AI4Bharat/Shoonya-Backend"}
{"mined_at": "2024-07-15T18:43:10.751850", "created_at": "2022-02-14T17:43:24+01:00", "updated_at": "2022-09-27T07:54:49+02:00", "name": "run-tests", "path": ".github/workflows/tests.yml", "contents": "name: run-tests\non: [pull_request]\n\njobs:\n\n  run-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: pip install -r ./backend/deploy/requirements-dev.txt\n      - name: Create environment file\n        run: cp .env.example ./backend/.env\n      - name: Run tests\n        run: python ./backend/manage.py test\n", "state": "disabled_manually", "repository": "AI4Bharat/Shoonya-Backend"}
{"mined_at": "2024-07-15T18:43:13.018821", "created_at": "2023-01-02T21:04:03+01:00", "updated_at": "2023-01-03T01:37:02+01:00", "name": "CI", "path": ".github/workflows/ci.yaml", "contents": "name: CI\n\non:\n  push:\n    branches: [master]\n  pull_request:\n    branches: [master]\n\njobs:\n  install:\n    name: Install\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: pipenv\n\n      - name: Install pipenv and dependencies\n        run: |\n          pip install --user pipenv\n          pipenv install --dev --deploy\n\n  check:\n    name: Check Formatting and Typing\n    runs-on: ubuntu-latest\n    needs:\n      - install\n    if: success()\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: pipenv\n      - name: Install pipenv and dependencies\n        run: |\n          pip install --user pipenv\n          pipenv sync --dev\n\n      - name: Check formatting with black\n        run: |\n          pipenv run black --check --diff --exclude __tests__ .\n\n      - name: Check code style with ruff\n        run: |\n          pipenv run ruff check .\n\n      - name: Check types with pyright\n        if: always()\n        run: |\n          pipenv run pyright --verbose\n\n  test:\n    name: Run Tests with Pytest\n    runs-on: ubuntu-latest\n    needs:\n      - install\n    if: success()\n\n    services:\n      postgres:\n        image: postgres:14.7\n        env:\n          POSTGRES_USER: apollo\n          POSTGRES_PASSWORD: apollo\n          POSTGRES_DB: apollo\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: pipenv\n      - name: Install pipenv and dependencies\n        run: |\n          pip install --user pipenv\n          pipenv sync --dev\n          cp config.example.yaml config.yaml\n\n      - name: Test with pytest\n        run: pipenv run pytest -v\n\n  migrate:\n    name: Check Migrations\n    runs-on: ubuntu-latest\n    needs:\n      - install\n    if: success()\n\n    # postgres container to test migrations against\n    services:\n      postgres:\n        image: postgres:12\n        env:\n          POSTGRES_USER: apollo\n          POSTGRES_PASSWORD: apollo\n          POSTGRES_DB: apollo\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          cache: pipenv\n      - name: Install pipenv and dependencies\n        run: |\n          pip install --user pipenv\n          pipenv sync --dev\n          cp config.example.yaml config.yaml\n          cp alembic.example.ini alembic.ini\n\n      - name: Check upgrade migrations\n        run: pipenv run alembic upgrade head\n\n      - name: Check no migrations need to be generated\n        run: pipenv run alembic check\n\n      - name: Check downgrade migrations\n        #if: always() #check downgrade even if check failes\n        run: pipenv run alembic downgrade base\n\n  build-and-push-image:\n    name: Build and Push Docker Image\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n    needs:\n      - check\n      - migrate\n      - test\n    if: success() && github.ref_name == 'master' && github.event_name == 'push'\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Get Docker Metadata\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: ghcr.io/${{ github.repository }}\n          tags: | # tag with commit hash and with 'latest'\n            type=sha \n            type=raw,value=latest,enable={{is_default_branch}}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Build and Push Docker image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n", "state": "active", "repository": "UWCS/apollo"}
{"mined_at": "2024-07-15T18:43:15.167866", "created_at": "2022-12-01T22:24:27+01:00", "updated_at": "2022-12-01T22:24:27+01:00", "name": "Release a new version to Github Packages", "path": ".github/workflows/release.yml", "contents": "name: 'Release a new version to Github Packages'\n\non:\n    release:\n        types: [published]\n\nenv:\n    REGISTRY: ghcr.io\n\njobs:\n    push_to_registry:\n        name: Push Docker image to GitHub Packages tagged with \"latest\" and version number.\n        runs-on: ubuntu-latest\n        steps:\n            - name: Check out the repo\n              uses: actions/checkout@v2\n            - name: Get the version\n              id: get_version\n              run: echo ::set-output name=VERSION::${GITHUB_REF/refs\\/tags\\//}\n            - name: Extract metadata (tags, labels) for Docker\n              id: meta\n              uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n              with:\n                images:\n                    ghcr.io/${{ github.repository }}\n            - name: Login to ghcr\n              uses: docker/login-action@v1\n              with:\n                  registry: ${{ env.REGISTRY }}\n                  username: ${{ github.actor }}\n                  password: ${{ secrets.GITHUB_TOKEN }}\n            - name: Push to GitHub Packages\n              uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n              with:\n                  context: .\n                  push: true\n                  tags: ${{ steps.meta.outputs.tags }}\n                  labels: ${{ steps.meta.outputs.labels }}\n                  build-args: VERSION=${{ steps.get_version.outputs.VERSION }}", "state": "active", "repository": "RobokopU24/ORION"}
{"mined_at": "2024-07-15T18:43:16.396488", "created_at": "2021-08-11T15:03:45+02:00", "updated_at": "2021-08-11T19:57:36+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "\nname: 'test'\n\non: [push]\n\njobs:\n  test:\n    name: test\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9]\n    steps:\n      - name: Checkout the repository\n        uses: actions/checkout@v4\n\n      - name: create env params\n        run: |\n          echo \"PYTHONPATH=$PWD:$PWD/robokop-genetics\" >> $GITHUB_ENV\n          echo \"ROBOKOP_HOME=$PWD\" >> $GITHUB_ENV\n          mkdir -p $PWD/tests/logs\n          mkdir -p $PWD/tests/storage\n          echo \"ORION_LOGS=$PWD/tests/logs\" >> $GITHUB_ENV\n          echo \"ORION_STORAGE=$PWD/tests/storage\" >> $GITHUB_ENV\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n\n      - name: Run pytest\n        run: |\n          python -m pytest tests/\n", "state": "active", "repository": "RobokopU24/ORION"}
{"mined_at": "2024-07-15T18:43:18.578487", "created_at": "2020-11-25T22:13:10+01:00", "updated_at": "2020-11-25T22:13:10+01:00", "name": "openMINDS_build", "path": ".github/workflows/openMINDS_build.yml", "contents": "name: openMINDS_build\n\non:\n  push:\n    branches:\n      - v1\n  pull_request:\n    branches:\n      - v1\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Checkout central repo\n      uses: actions/checkout@v2\n      with:\n        repository: HumanBrainProject/openMINDS_generator\n        ref: main\n        path: generator\n    - name: Install dependencies\n      run: |\n          python -m pip install --upgrade pip\n          pip install flake8 pytest\n          if [ -f generator/requirements.txt ]; then pip install -r generator/requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n    - name: Validate schemas\n      run: |\n        python generator/validator/schema_validator.py\n", "state": "active", "repository": "openMetadataInitiative/openMINDS_SANDS"}
{"mined_at": "2024-07-15T18:43:19.592293", "created_at": "2020-11-10T11:17:13+01:00", "updated_at": "2020-11-10T11:17:13+01:00", "name": "openMINDS_upstream", "path": ".github/workflows/openMINDS_upstream.yml", "contents": "name: openMINDS_upstream\n\non: \n  - push\n  - workflow_dispatch\n  \njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Trigger central repository\n      run: |\n        curl -XPOST -u \"${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}\" -H \"Accept: application/vnd.github.everest-preview+json\" -H \"Content-Type: application/json\" https://api.github.com/repos/openMetadataInitiative/openMINDS/actions/workflows/build.yml/dispatches --data '{\"ref\": \"pipeline\", \"inputs\": {\"branch\": \"${{github.ref_name}}\", \"repository\": \"${{ github.repository }}\"}'\n", "state": "active", "repository": "openMetadataInitiative/openMINDS_SANDS"}
{"mined_at": "2024-07-15T18:43:21.750988", "created_at": "2020-05-29T10:25:13+02:00", "updated_at": "2021-05-25T18:52:09+02:00", "name": "acme-tests", "path": ".github/workflows/ci.yml", "contents": "name: acme-tests\non: [push, pull_request, workflow_dispatch]\n\njobs:\n  run-acme-tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        docker-image: [\"python:3.8\", \"python:3.9\"]\n    steps:\n    - name: Checkout acme\n      uses: actions/checkout@v2\n    - name: Run tests in docker\n      run: |\n        docker run --mount \"type=bind,src=$(pwd),dst=/tmp/acme\" \\\n            -w \"/tmp/acme\" --rm ${{ matrix.docker-image }} /bin/bash test.sh\n\n", "state": "active", "repository": "google-deepmind/acme"}
{"mined_at": "2024-07-15T18:43:22.837508", "created_at": "2020-06-10T14:12:54+02:00", "updated_at": "2020-06-10T14:12:54+02:00", "name": "pypi", "path": ".github/workflows/release.yml", "contents": "name: pypi\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v1\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        pip install --upgrade pip setuptools twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python setup.py sdist\n        twine upload dist/*\n", "state": "active", "repository": "google-deepmind/acme"}
{"mined_at": "2024-07-15T18:43:23.842711", "created_at": "2023-08-09T22:27:08+02:00", "updated_at": "2023-08-09T22:27:08+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google-deepmind/acme"}
{"mined_at": "2024-07-15T18:43:26.891508", "created_at": "2024-01-17T15:08:14+01:00", "updated_at": "2024-01-17T15:08:14+01:00", "name": "GKE - Deploy microservices to demo", "path": ".github/workflows/deployment_gke_demo.yaml", "contents": "# copier:raw\n\nname: GKE - Deploy microservices to demo\non:\n  workflow_dispatch:\n\nenv:\n  PROJECT_ID: ${{ vars.PROJECT_ID }}\n  SKAFFOLD_DEFAULT_REPO: gcr.io/${{ vars.PROJECT_ID }}\n  SKAFFOLD_NAMESPACE: ${{ vars.GKE_NAMESPACE }}\n  DOMAIN_NAME: ${{ vars.DOMAIN_NAME }}\n  API_BASE_URL: https://${{ vars.DOMAIN_NAME }}\n  CORS_ALLOW_ORIGINS: ${{ vars.CORS_ALLOW_ORIGINS }}\n  AGENT_CONFIG_PATH: ${{ vars.AGENT_CONFIG_PATH }}\n  ONEDRIVE_CLIENT_ID: ${{ vars.ONEDRIVE_CLIENT_ID }}\n  ONEDRIVE_TENANT_ID: ${{ vars.ONEDRIVE_TENANT_ID }}\n  AUTH_AUTO_CREATE_USERS: ${{ vars.AUTH_AUTO_CREATE_USERS }}\n  AUTH_EMAIL_DOMAINS_WHITELIST: ${{ vars.AUTH_EMAIL_DOMAINS_WHITELIST }}  \n  GKE_CLUSTER: main-cluster\n  GKE_REGION: us-central1\n  KUSTOMIZE_VERSION: 5.0.0\n  SKAFFOLD_VERSION: 2.4.0\n  SKAFFOLD_CACHE_GCS: gs://artifacts.${{ vars.PROJECT_ID }}.appspot.com/skaffold/cache\n  SKAFFOLD_BUILD_CONCURRENCY: 0\n  PG_HOST: ${{ vars.PG_HOST }}\n\njobs:\n  deploy_backends:\n    name: Deploy microservices to GKE cluster\n    runs-on: ubuntu-latest\n    environment: demo\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - id: auth\n        name: Auth with Service Account\n        uses: google-github-actions/auth@v1\n        with:\n          credentials_json: ${{ secrets.GCP_CREDENTIALS }}\n          # FIXME: Use workload identity instead of service account key.\n          # workload_identity_provider: ''\n\n      - name: Set up Cloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          install_components: gke-gcloud-auth-plugin, alpha\n\n      - name: Connect to cluster\n        run: |\n          gcloud container clusters get-credentials \"${GKE_CLUSTER}\" --region ${GKE_REGION} --project ${PROJECT_ID}\n\n      - name: Create namespace if it does not exist\n        run: |\n          kubectl get ns ${SKAFFOLD_NAMESPACE} || kubectl create ns ${SKAFFOLD_NAMESPACE}\n\n      - name: Set up Service Account\n        run: |\n          SKAFFOLD_NAMESPACE=${SKAFFOLD_NAMESPACE} bash setup/setup_ksa.sh\n\n      - name: Install Kustomize\n        run: |\n          wget -O kustomize.tar.gz https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz\n          sudo tar -xvf kustomize.tar.gz -C /usr/local/bin/\n\n      - name: Install Solutions Builder\n        run: |\n          pip install -U solutions-builder\n\n      - name: Update the project id in config files\n        run: |\n          sb set project-id ${PROJECT_ID} --yes\n          sb vars set domain_name ${DOMAIN_NAME}\n\n      - name: Install Skaffold release binary\n        run: |\n          curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v${SKAFFOLD_VERSION}/skaffold-linux-amd64\n          sudo install skaffold /usr/local/bin/skaffold\n\n      - name: Set default repo for Skaffold\n        run: |\n          skaffold config set default-repo \"${SKAFFOLD_DEFAULT_REPO}\"\n\n      - name: Download Skaffold cache if exists\n        run: |\n          gsutil cp ${SKAFFOLD_CACHE_GCS} ~/.skaffold/ || true\n\n      - name: Build and deploy to cluster\n        run: |\n          export PROJECT_ID=${PROJECT_ID}\n          export API_BASE_URL=${API_BASE_URL}\n          export PG_HOST=${PG_HOST}\n          export CORS_ALLOW_ORIGINS=${CORS_ALLOW_ORIGINS}\n          export AGENT_CONFIG_PATH=${AGENT_CONFIG_PATH}\n          export ONEDRIVE_CLIENT_ID=${ONEDRIVE_CLIENT_ID}\n          export ONEDRIVE_TENANT_ID=${ONEDRIVE_TENANT_ID}\n          sb deploy -n ${SKAFFOLD_NAMESPACE} --yes\n\n      - name: Upload Skaffold cache\n        if: always()\n        run: |\n          gsutil cp ~/.skaffold/cache ${SKAFFOLD_CACHE_GCS}\n\n# copier:endraw\n", "state": "active", "repository": "GoogleCloudPlatform/core-solution-services"}
{"mined_at": "2024-07-15T18:43:28.074894", "created_at": "2024-01-17T15:08:14+01:00", "updated_at": "2024-01-17T15:08:14+01:00", "name": "GKE - Deploy microservices to develop", "path": ".github/workflows/deployment_gke_develop.yaml", "contents": "# copier:raw\n\nname: GKE - Deploy microservices to develop\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \".github/workflows/deployment_gke_develop.yaml\"\n      - \"components/**\"\n      - \"ingress/**\"\n      - \"utils/**\"\n  workflow_dispatch:\n\nenv:\n  PROJECT_ID: ${{ vars.PROJECT_ID }}\n  SKAFFOLD_DEFAULT_REPO: gcr.io/${{ vars.PROJECT_ID }}\n  SKAFFOLD_NAMESPACE: ${{ vars.GKE_NAMESPACE }}\n  DOMAIN_NAME: ${{ vars.DOMAIN_NAME }}\n  API_BASE_URL: https://${{ vars.DOMAIN_NAME }}\n  CORS_ALLOW_ORIGINS: ${{ vars.CORS_ALLOW_ORIGINS }}\n  AGENT_CONFIG_PATH: ${{ vars.AGENT_CONFIG_PATH }}\n  ONEDRIVE_CLIENT_ID: ${{ vars.ONEDRIVE_CLIENT_ID }}\n  ONEDRIVE_TENANT_ID: ${{ vars.ONEDRIVE_TENANT_ID }}\n  AUTH_AUTO_CREATE_USERS: ${{ vars.AUTH_AUTO_CREATE_USERS }}\n  AUTH_EMAIL_DOMAINS_WHITELIST: ${{ vars.AUTH_EMAIL_DOMAINS_WHITELIST }}    \n  GKE_CLUSTER: main-cluster\n  GKE_REGION: us-central1\n  KUSTOMIZE_VERSION: 5.0.0\n  SKAFFOLD_VERSION: 2.4.0\n  SKAFFOLD_CACHE_GCS: gs://artifacts.${{ vars.PROJECT_ID }}.appspot.com/skaffold/cache\n  SKAFFOLD_BUILD_CONCURRENCY: 0\n  PG_HOST: ${{ vars.PG_HOST }}\n\njobs:\n  deploy_backends:\n    name: Deploy microservices to GKE cluster\n    runs-on: ubuntu-latest\n    environment: develop\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - id: auth\n        name: Auth with Service Account\n        uses: google-github-actions/auth@v1\n        with:\n          credentials_json: ${{ secrets.GCP_CREDENTIALS }}\n          # FIXME: Use workload identity instead of service account key.\n          # workload_identity_provider: ''\n\n      - name: Set up Cloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          install_components: gke-gcloud-auth-plugin, alpha\n\n      - name: Connect to cluster\n        run: |\n          gcloud container clusters get-credentials \"${GKE_CLUSTER}\" --region ${GKE_REGION} --project ${PROJECT_ID}\n\n      - name: Create namespace if it does not exist\n        run: |\n          kubectl get ns ${SKAFFOLD_NAMESPACE} || kubectl create ns ${SKAFFOLD_NAMESPACE}\n\n      - name: Set up Service Account\n        run: |\n          SKAFFOLD_NAMESPACE=${SKAFFOLD_NAMESPACE} bash setup/setup_ksa.sh\n\n      - name: Install Kustomize\n        run: |\n          wget -O kustomize.tar.gz https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz\n          sudo tar -xvf kustomize.tar.gz -C /usr/local/bin/\n\n      - name: Install Solutions Builder\n        run: |\n          pip install -U solutions-builder pyyaml-include==1.3.1\n\n      - name: Update the project id in config files\n        run: |\n          sb set project-id ${PROJECT_ID} --yes\n          sb vars set domain_name ${DOMAIN_NAME}\n\n      - name: Install Skaffold release binary\n        run: |\n          curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v${SKAFFOLD_VERSION}/skaffold-linux-amd64\n          sudo install skaffold /usr/local/bin/skaffold\n\n      - name: Set default repo for Skaffold\n        run: |\n          skaffold config set default-repo \"${SKAFFOLD_DEFAULT_REPO}\"\n\n      - name: Download Skaffold cache if exists\n        run: |\n          gsutil cp ${SKAFFOLD_CACHE_GCS} ~/.skaffold/ || true\n\n      - name: Build and deploy to cluster\n        run: |\n          export PROJECT_ID=${PROJECT_ID}\n          export API_BASE_URL=${API_BASE_URL}\n          export PG_HOST=${PG_HOST}\n          export CORS_ALLOW_ORIGINS=${CORS_ALLOW_ORIGINS}\n          export AGENT_CONFIG_PATH=${AGENT_CONFIG_PATH}\n          export ONEDRIVE_CLIENT_ID=${ONEDRIVE_CLIENT_ID}\n          export ONEDRIVE_TENANT_ID=${ONEDRIVE_TENANT_ID}\n          sb deploy -n ${SKAFFOLD_NAMESPACE} --yes\n\n      - name: Upload Skaffold cache\n        if: always()\n        run: |\n          gsutil cp ~/.skaffold/cache ${SKAFFOLD_CACHE_GCS}\n\n# copier:endraw\n", "state": "active", "repository": "GoogleCloudPlatform/core-solution-services"}
{"mined_at": "2024-07-15T18:43:29.188826", "created_at": "2023-07-25T23:59:55+02:00", "updated_at": "2023-07-25T23:59:55+02:00", "name": "E2E API Tests on GKE Microservices", "path": ".github/workflows/e2e_gke_api_test.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n# copier:raw\n\nname: E2E API Tests on GKE Microservices\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"components/**\"\n      - \"utils/**\"\n      - \".github/workflows/e2e_gke_api_test.yaml\"\n  workflow_dispatch:\nenv:\n  PROJECT_ID: ${{ vars.PROJECT_ID }}\n  SKAFFOLD_DEFAULT_REPO: gcr.io/${{ vars.PROJECT_ID }}\n  PR_NUMBER: ${{ github.event.pull_request.number }}\n  DOMAIN_NAME: ${{ vars.DOMAIN_NAME }}\n  GKE_CLUSTER: main-cluster\n  GKE_REGION: us-central1\n  KUSTOMIZE_VERSION: 5.0.0\n  SKAFFOLD_VERSION: 2.4.0\n  SKAFFOLD_CACHE_GCS: gs://artifacts.${{ vars.PROJECT_ID }}.appspot.com/skaffold/cache\n\n\njobs:\n  deploy:\n    name: Deploy all microservices in PR namespace\n    runs-on: ubuntu-latest\n    environment: develop\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n\n      - id: auth\n        name: Authenticate to Google Cloud\n        uses: google-github-actions/auth@v1\n        with:\n          credentials_json: ${{ secrets.GCP_CREDENTIALS }}\n\n      - name: Install gcloud\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          install_components: gke-gcloud-auth-plugin\n\n      - name: Connect to cluster\n        run: |\n          gcloud container clusters get-credentials \"${GKE_CLUSTER}\" --region ${GKE_REGION} --project ${PROJECT_ID}\n\n      - name: Create namespace if it does not exist\n        run: |\n          SKAFFOLD_NAMESPACE=e2e-pr-${PR_NUMBER}\n          echo SKAFFOLD_NAMESPACE=$SKAFFOLD_NAMESPACE\n          kubectl get ns ${SKAFFOLD_NAMESPACE} || kubectl create ns ${SKAFFOLD_NAMESPACE}\n\n      - name: Set up Service Account\n        run: |\n          SKAFFOLD_NAMESPACE=e2e-pr-${PR_NUMBER} bash setup/setup_ksa.sh\n\n      - name: Install Kustomize\n        run: |\n          wget -O kustomize.tar.gz https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v$KUSTOMIZE_VERSION/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz\n          sudo tar -xvf kustomize.tar.gz -C /usr/local/bin/\n\n      - name: Install Solutions Builder\n        run: |\n          pip install -U solutions-builder\n\n      - name: Update the project id in config files\n        run: |\n          sb set project-id ${PROJECT_ID} --yes\n          sb vars set domain_name ${DOMAIN_NAME}\n\n      - name: Install Skaffold release binary\n        run: |\n          curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v$SKAFFOLD_VERSION/skaffold-linux-amd64\n          sudo install skaffold /usr/local/bin/skaffold\n\n      - name: Set default repo for Skaffold\n        run: |\n          skaffold config set default-repo \"$SKAFFOLD_DEFAULT_REPO\"\n\n      - name: Download Skaffold cache if exists\n        run: |\n          gsutil cp $SKAFFOLD_CACHE_GCS ~/.skaffold/ || true\n\n\n      - name: Build and deploy to cluster\n        run: |\n          SKAFFOLD_NAMESPACE=e2e-pr-${PR_NUMBER}\n          export DATABASE_PREFIX=e2e_pr${PR_NUMBER}_\n          sb deploy -n ${SKAFFOLD_NAMESPACE} --yes\n#          skaffold run \\\n#          --profile default-deploy \\\n#          --namespace $SKAFFOLD_NAMESPACE \\\n#          -l commit=$GITHUB_SHA \\\n#          --tag PR${{ github.event.pull_request.number }}\n\n      - name: Upload Skaffold cache\n        if: always()\n        run: |\n          gsutil cp ~/.skaffold/cache ${SKAFFOLD_CACHE_GCS}\n\n  e2e-api-test:\n    runs-on: ubuntu-latest\n    needs: deploy\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Install gcloud\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          credentials_json: ${{ secrets.GCP_CREDENTIALS }}\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install pytest pytest-custom_exit_code pytest-cov pylint pytest-mock mock\n          python -m pip install -r tests/e2e/requirements.txt\n\n      - id: auth\n        name: Authenticate to Google Cloud\n        uses: google-github-actions/auth@v1\n        with:\n          credentials_json: ${{ secrets.GCP_CREDENTIALS }}\n\n      - name: Install gcloud\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          install_components: gke-gcloud-auth-plugin\n\n      - name: Connect to cluster\n        run: |\n          gcloud container clusters get-credentials \"${GKE_CLUSTER}\" --region ${GKE_REGION} --project ${PROJECT_ID}\n\n      - name: Set up port forwarding\n        run: |\n          SKAFFOLD_NAMESPACE=e2e-pr-${PR_NUMBER}\n          python -m pip install -r tests/e2e/requirements.txt\n          python tests/e2e/utils/port_forward.py --namespace $SKAFFOLD_NAMESPACE\n\n      - name: Cleaning up database\n        run: |\n          cd tests/e2e/utils\n          PYTHONPATH=../../common/src DATABASE_PREFIX=e2e_pr${PR_NUMBER}_ python database_cleanup.py\n\n      - name: Wait for 5s for database cleaning up\n        run: sleep 5s\n        shell: bash\n\n      - name: Initialize database\n        run: |\n          cd tests/e2e/utils\n          PYTHONPATH=../../common/src DATABASE_PREFIX=e2e_pr${PR_NUMBER}_ python database_setup.py\n\n#      - name: Run pytest\n#        run: |\n#          PYTHONPATH=../../common/src DATABASE_PREFIX=e2e_pr${PR_NUMBER}_ python -m pytest tests/e2e/\n\n  dataset-cleanup:\n    runs-on: ubuntu-latest\n    needs: e2e-api-test\n    if: always()\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      # https://github.com/google-github-actions/auth\n      - id: \"auth\"\n        name: Auth with Service Account\n        uses: \"google-github-actions/auth@v1\"\n        with:\n          credentials_json: \"${{ secrets.GCP_CREDENTIALS }}\"\n          # FIXME: Use workload identity instead of service account key.\n          # workload_identity_provider: ''\n          # service_account: 'deployment-dev@${{ env.PROJECT_ID }}.iam.gserviceaccount.com'\n\n      - name: Set up Cloud SDK\n        uses: \"google-github-actions/setup-gcloud@v1\"\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install pytest pytest-custom_exit_code pytest-cov pylint pytest-mock mock\n          python -m pip install -r tests/e2e/requirements.txt\n\n      - name: Cleaning up database\n        run: |\n          cd tests/e2e/utils\n          PYTHONPATH=../../components/common/src DATABASE_PREFIX=e2e_pr${PR_NUMBER}_ python database_cleanup.py\n\n  deployment-cleanup:\n    name: Clean up deployment in PR namespace\n    needs: e2e-api-test\n    if: always()\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v3\n      - name: Install gcloud\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          project_id: ${{env.PROJECT_ID}}\n          credentials_json: ${{ secrets.GCP_CREDENTIALS }}\n          export_default_credentials: true\n\n      - id: auth\n        name: Authenticate to Google Cloud\n        uses: google-github-actions/auth@v1\n        with:\n          credentials_json: ${{ secrets.GCP_CREDENTIALS }}\n\n      - name: Install gcloud\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          install_components: gke-gcloud-auth-plugin\n\n      - name: Connect to cluster\n        run: |\n          gcloud container clusters get-credentials \"${GKE_CLUSTER}\" --region ${GKE_REGION} --project ${PROJECT_ID}\n\n      - name: Install Kustomize\n        run: |\n          wget -O kustomize.tar.gz https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v4.0.4/kustomize_v4.0.4_linux_amd64.tar.gz\n          sudo tar -xvf kustomize.tar.gz -C /usr/local/bin/\n\n      - name: Install Skaffold release binary\n        run: |\n          curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v$SKAFFOLD_VERSION/skaffold-linux-amd64\n          sudo install skaffold /usr/local/bin/skaffold\n\n      - name: Set default repo for Skaffold\n        run: |\n          skaffold config set default-repo \"$SKAFFOLD_DEFAULT_REPO\"\n\n      - name: Delete all deployments and namespace\n        run: |\n          SKAFFOLD_NAMESPACE=e2e-pr-${PR_NUMBER}\n          skaffold delete --namespace $SKAFFOLD_NAMESPACE\n          kubectl delete namespace $SKAFFOLD_NAMESPACE\n\n      - name: Remove iam policy binding\n        run: |\n          SKAFFOLD_NAMESPACE=e2e-pr-${PR_NUMBER}\n          gcloud iam service-accounts remove-iam-policy-binding \\\n            --role roles/iam.workloadIdentityUser \\\n            --member \"serviceAccount:${PROJECT_ID}.svc.id.goog[${SKAFFOLD_NAMESPACE}/ksa]\" \\\n            gke-sa@${PROJECT_ID}.iam.gserviceaccount.com\n\n# copier:endraw\n", "state": "active", "repository": "GoogleCloudPlatform/core-solution-services"}
{"mined_at": "2024-07-15T18:43:30.201083", "created_at": "2023-10-25T22:13:01+02:00", "updated_at": "2023-11-09T15:38:23+01:00", "name": "Unit test & lint for Authentication Service", "path": ".github/workflows/unit_test_linter_authentication.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n# copier:raw\n\nname: Unit test & lint for Authentication Service\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"components/common/**\"\n      - \"components/authentication/**\"\n      - \".github/workflows/unit_test_linter_authentication.yaml\"\n      - \".pylintrc\"\n      - \"!components/authentication/**.md\"\n  workflow_dispatch:\n\nenv:\n  PROJECT_ID: ${{ vars.PROJECT_ID }}\n  NODE_VERSION: 18\n\njobs:\n  unit-test:\n    runs-on: ubuntu-latest\n    environment: develop\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/authentication]\n    steps:\n      - uses: actions/checkout@v3\n\n      # https://github.com/google-github-actions/auth\n      - id: \"auth\"\n        name: Auth with Service Account\n        uses: \"google-github-actions/auth@v1\"\n        with:\n          credentials_json: \"${{ secrets.GCP_CREDENTIALS }}\"\n          #workload_identity_provider: \"${{ secrets.WI_PROVIDER }}\"\n          service_account: \"deployment@${{ env.PROJECT_ID }}.iam.gserviceaccount.com\"\n\n      - name: Set up Cloud SDK\n        uses: \"google-github-actions/setup-gcloud@v1\"\n\n      - name: Use Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{env.NODE_VERSION}}\n\n      - name: Install Firebase CLI and emulator\n        run: |\n          utils/install_firebase.sh v13.1.0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          BASE_DIR=$(pwd)\n          python -m pip install --upgrade pip\n          if [ -f $BASE_DIR/components/common/requirements.txt ]; then pip install -r $BASE_DIR/components/common/requirements.txt; fi\n          if [ -f $BASE_DIR/components/common/requirements-test.txt ]; then pip install -r $BASE_DIR/components/common/requirements-test.txt; fi\n          cd ${{ matrix.target-folder }}\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi\n\n      - name: Run pytest with coverage\n        # We run tests separately for routes and services in the LLM service due to mocking conflicts\n        run: |\n          BASE_DIR=$(pwd)\n          firebase emulators:start --only firestore --project fake-project &\n          sleep 10\n          cd ${{ matrix.target-folder }}/src\n          PYTEST_ADDOPTS=\"--cache-clear --cov . \" PYTHONPATH=$BASE_DIR/components/common/src python -m pytest routes/*_test.py\n          PYTEST_ADDOPTS=\"--cache-clear --cov . \" PYTHONPATH=$BASE_DIR/components/common/src python -m pytest services/*_test.py\n\n  linter:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/authentication]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install pylint\n\n      - name: Lint with pylint\n        run: |\n          BASE_DIR=$(pwd)\n          cd ${{ matrix.target-folder }}/src\n          python -m pylint $(git ls-files '*.py') --rcfile=$BASE_DIR/.pylintrc\n\n# copier:endraw\n", "state": "active", "repository": "GoogleCloudPlatform/core-solution-services"}
{"mined_at": "2024-07-15T18:43:31.231450", "created_at": "2023-07-25T23:59:55+02:00", "updated_at": "2023-11-09T15:38:23+01:00", "name": "Unit test & linter for Common", "path": ".github/workflows/unit_test_linter_common.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n# copier:raw\n\nname: Unit test & linter for Common\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"components/common/src/**.py\"\n      - \".github/workflows/unit_test_linter_common.yaml\"\n      - \".pylintrc\"\n  workflow_dispatch:\n\nenv:\n  PROJECT_ID: ${{ vars.PROJECT_ID }}\n  NODE_VERSION: 18\n\njobs:\n  unit-test:\n    runs-on: ubuntu-latest\n    environment: develop\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/common]\n    steps:\n      - uses: actions/checkout@v3\n\n      - id: auth\n        name: Auth with Service Account\n        uses: google-github-actions/auth@v1\n        with:\n          credentials_json: ${{ secrets.GCP_CREDENTIALS }}\n\n      - name: Set up Cloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          install_components: gke-gcloud-auth-plugin\n\n      - name: Use Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{env.NODE_VERSION}}\n\n      - name: Install Firebase CLI and emulator\n        run: |\n          utils/install_firebase.sh v13.1.0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          BASE_DIR=$(pwd)\n          python -m pip install --upgrade pip\n          cd ${{ matrix.target-folder }}\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi\n\n      - name: Run pytest with coverage\n        run: |\n          BASE_DIR=$(pwd)\n          firebase emulators:start --only firestore --project fake-project &\n          sleep 10\n          cd ${{ matrix.target-folder }}/src\n          PYTEST_ADDOPTS=\"--cache-clear --cov . \" PYTHONPATH=$BASE_DIR/components/common/src python -m pytest\n\n  linter:\n    environment: dev\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/common]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          cd ${{ matrix.target-folder }}\n          python -m pip install --upgrade pip\n          python -m pip install pylint==2.17.6\n\n      - name: Lint with pylint\n        run: |\n          BASE_DIR=$(pwd)\n          cd ${{ matrix.target-folder }}/src\n          python -m pylint $(git ls-files '*.py') --rcfile=$BASE_DIR/.pylintrc\n\n# copier:endraw\n", "state": "active", "repository": "GoogleCloudPlatform/core-solution-services"}
{"mined_at": "2024-07-15T18:43:32.371155", "created_at": "2023-12-01T15:57:28+01:00", "updated_at": "2023-12-01T15:57:28+01:00", "name": "Unit test & lint for Frontend Streamlit", "path": ".github/workflows/unit_test_linter_frontend_streamlit.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n# copier:raw\n\nname: Unit test & lint for Frontend Streamlit\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"components/common/**\"\n      - \"components/frontend_streamlit/**\"\n      - \".github/workflows/unit_test_linter_frontend_streamlit.yaml\"\n      - \".pylintrc\"\n      - \"!components/frontend_streamlit/**.md\"\n  workflow_dispatch:\nenv:\n  PROJECT_ID: ${{ vars.PROJECT_ID }}\n  NODE_VERSION: 18\n\njobs:\n  unit-test:\n    runs-on: ubuntu-latest\n    environment: develop\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/frontend_streamlit]\n    steps:\n      - uses: actions/checkout@v3\n\n      - id: auth\n        name: Auth with Service Account\n        uses: google-github-actions/auth@v1\n        with:\n          credentials_json: \"${{ secrets.GCP_CREDENTIALS }}\"\n          # FIXME: Use workload identity instead of service account key.\n          # workload_identity_provider: ''\n          # service_account: 'deployment-dev@${{ env.PROJECT_ID }}.iam.gserviceaccount.com'\n\n      - name: Set up Cloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          install_components: gke-gcloud-auth-plugin\n\n      - name: Use Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{env.NODE_VERSION}}\n\n      - name: Install Firebase CLI and emulator\n        run: |\n          utils/install_firebase.sh v13.1.0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          BASE_DIR=$(pwd)\n          python -m pip install --upgrade pip\n          python -m pip install pytest pytest-custom_exit_code pytest-cov pylint pytest-mock mock\n          if [ -f $BASE_DIR/components/common/requirements.txt ]; then pip install -r $BASE_DIR/components/common/requirements.txt; fi\n          cd ${{ matrix.target-folder }}\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi\n\n      - name: Run pytest with coverage\n        run: |\n          BASE_DIR=$(pwd)\n          firebase emulators:start --only firestore --project fake-project &\n          sleep 10\n          cd ${{ matrix.target-folder }}/src\n          PYTEST_ADDOPTS=\"--cache-clear --cov . \" PYTHONPATH=$BASE_DIR/components/common/src python -m pytest || true\n\n  linter:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/frontend_streamlit]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          cd ${{ matrix.target-folder }}\n          python -m pip install --upgrade pip\n          python -m pip install pylint\n\n      - name: Lint with pylint\n        run: |\n          BASE_DIR=$(pwd)\n          cd ${{ matrix.target-folder }}/src\n          python -m pylint $(git ls-files '*.py') --rcfile=$BASE_DIR/.pylintrc\n\n# copier:endraw\n", "state": "active", "repository": "GoogleCloudPlatform/core-solution-services"}
{"mined_at": "2024-07-15T18:43:33.385790", "created_at": "2023-10-25T22:13:01+02:00", "updated_at": "2023-11-09T15:38:23+01:00", "name": "Unit test & lint for Jobs Service", "path": ".github/workflows/unit_test_linter_jobs_service.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n# copier:raw\n\nname: Unit test & lint for Jobs Service\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"components/common/**\"\n      - \"components/jobs_service/**\"\n      - \".github/workflows/unit_test_linter_jobs_service.yaml\"\n      - \".pylintrc\"\n      - \"!components/jobs_service/**.md\"\n  workflow_dispatch:\n\nenv:\n  PROJECT_ID: ${{ vars.PROJECT_ID }}\n  NODE_VERSION: 18\n\njobs:\n  unit-test:\n    runs-on: ubuntu-latest\n    environment: develop\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/jobs_service]\n    steps:\n      - uses: actions/checkout@v3\n\n      # https://github.com/google-github-actions/auth\n      - id: \"auth\"\n        name: Auth with Service Account\n        uses: \"google-github-actions/auth@v1\"\n        with:\n          credentials_json: \"${{ secrets.GCP_CREDENTIALS }}\"\n          # workload_identity_provider: \"${{ secrets.WI_PROVIDER }}\"\n          # service_account: \"deployment@${{ env.PROJECT_ID }}.iam.gserviceaccount.com\"\n\n      - name: Set up Cloud SDK\n        uses: \"google-github-actions/setup-gcloud@v1\"\n\n      - name: Use Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{env.NODE_VERSION}}\n\n      - name: Install Firebase CLI and emulator\n        run: |\n          utils/install_firebase.sh v13.1.0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          BASE_DIR=$(pwd)\n          python -m pip install --upgrade pip\n          if [ -f $BASE_DIR/components/common/requirements.txt ]; then pip install -r $BASE_DIR/components/common/requirements.txt; fi\n          if [ -f $BASE_DIR/components/common/requirements-test.txt ]; then pip install -r $BASE_DIR/components/common/requirements-test.txt; fi\n          cd ${{ matrix.target-folder }}\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi\n\n      - name: Run pytest with coverage\n        # We run tests separately for routes and services in the LLM service due to mocking conflicts\n        run: |\n          BASE_DIR=$(pwd)\n          firebase emulators:start --only firestore --project fake-project &\n          sleep 10\n          cd ${{ matrix.target-folder }}/src\n          PYTEST_ADDOPTS=\"--cache-clear --cov . \" PYTHONPATH=$BASE_DIR/components/common/src python -m pytest\n\n  linter:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/jobs_service]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install pylint\n\n      - name: Lint with pylint\n        run: |\n          BASE_DIR=$(pwd)\n          cd ${{ matrix.target-folder }}/src\n          python -m pylint $(git ls-files '*.py') --rcfile=$BASE_DIR/.pylintrc\n\n# copier:endraw\n", "state": "active", "repository": "GoogleCloudPlatform/core-solution-services"}
{"mined_at": "2024-07-15T18:43:34.624058", "created_at": "2023-10-05T23:41:44+02:00", "updated_at": "2023-10-09T16:36:57+02:00", "name": "Unit test & lint for LLM Service", "path": ".github/workflows/unit_test_linter_llm_service.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n# copier:raw\n\nname: Unit test & lint for LLM Service\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"components/common/**\"\n      - \"components/common_ml/**\"\n      - \"components/llm_service/**\"\n      - \".github/workflows/unit_test_linter_llm_service.yaml\"\n      - \".pylintrc\"\n      - \"!components/llm_service/**.md\"\n  workflow_dispatch:\n\nenv:\n  PROJECT_ID: ${{ vars.PROJECT_ID }}\n  NODE_VERSION: 18\n\njobs:\n  unit-test:\n    runs-on: ubuntu-latest\n    environment: develop\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/llm_service]\n    steps:\n      - uses: actions/checkout@v3\n\n      - id: auth\n        name: Auth with Service Account\n        uses: google-github-actions/auth@v1\n        with:\n          credentials_json: ${{ secrets.GCP_CREDENTIALS }}\n\n      - name: Set up Cloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          install_components: gke-gcloud-auth-plugin\n\n      - name: Use Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{env.NODE_VERSION}}\n\n      - name: Install Firebase CLI and emulator\n        run: |\n          utils/install_firebase.sh v13.1.0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          BASE_DIR=$(pwd)\n          python -m pip install --upgrade pip\n          if [ -f $BASE_DIR/components/common/requirements.txt ]; then pip install -r $BASE_DIR/components/common/requirements.txt; fi\n          if [ -f $BASE_DIR/components/common/requirements-test.txt ]; then pip install -r $BASE_DIR/components/common/requirements-test.txt; fi\n          if [ -f $BASE_DIR/components/common_ml/requirements.txt ]; then pip install -r $BASE_DIR/components/common_ml/requirements.txt; fi\n          cd ${{ matrix.target-folder }}\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi\n\n      - name: Run pytest with coverage\n        run: |\n          BASE_DIR=$(pwd)\n          firebase emulators:start --only firestore --project fake-project &\n          sleep 5\n          cd ${{ matrix.target-folder }}/src\n          PYTEST_ADDOPTS=\"--cache-clear --cov . \" PYTHONPATH=$BASE_DIR/components/common/src python -m pytest\n\n  linter:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/llm_service]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install pylint\n\n      - name: Lint with pylint\n        run: |\n          BASE_DIR=$(pwd)\n          cd ${{ matrix.target-folder }}/src\n          python -m pylint $(git ls-files '*.py') --rcfile=$BASE_DIR/.pylintrc\n\n# copier:endraw\n", "state": "active", "repository": "GoogleCloudPlatform/core-solution-services"}
{"mined_at": "2024-07-15T18:43:35.751301", "created_at": "2023-10-25T22:13:01+02:00", "updated_at": "2023-11-09T15:38:23+01:00", "name": "Unit test & lint for Rules Engine", "path": ".github/workflows/unit_test_linter_rules_engine.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n# copier:raw\n\nname: Unit test & lint for Rules Engine\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"components/common/**\"\n      - \"components/rules_engine/**\"\n      - \".github/workflows/unit_test_linter_rules_engine.yaml\"\n      - \".pylintrc\"\n      - \"!components/rules_engine/**.md\"\n  workflow_dispatch:\nenv:\n  PROJECT_ID: ${{ vars.PROJECT_ID }}\n  NODE_VERSION: 18\n\njobs:\n  unit-test:\n    runs-on: ubuntu-latest\n    environment: develop\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/rules_engine]\n    steps:\n      - uses: actions/checkout@v3\n\n      - id: auth\n        name: Auth with Service Account\n        uses: google-github-actions/auth@v1\n        with:\n          credentials_json: \"${{ secrets.GCP_CREDENTIALS }}\"\n          # FIXME: Use workload identity instead of service account key.\n          # workload_identity_provider: ''\n          # service_account: 'deployment-dev@${{ env.PROJECT_ID }}.iam.gserviceaccount.com'\n\n      - name: Set up Cloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          install_components: gke-gcloud-auth-plugin\n\n      - name: Use Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{env.NODE_VERSION}}\n\n      - name: Install Firebase CLI and emulator\n        run: |\n          utils/install_firebase.sh v13.1.0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          BASE_DIR=$(pwd)\n          python -m pip install --upgrade pip\n          python -m pip install pytest pytest-custom_exit_code pytest-cov pylint pytest-mock mock\n          if [ -f $BASE_DIR/components/common/requirements.txt ]; then pip install -r $BASE_DIR/components/common/requirements.txt; fi\n          cd ${{ matrix.target-folder }}\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi\n\n      - name: Run pytest with coverage\n        run: |\n          BASE_DIR=$(pwd)\n          firebase emulators:start --only firestore --project fake-project &\n          sleep 10\n          cd ${{ matrix.target-folder }}/src\n          PYTEST_ADDOPTS=\"--cache-clear --cov . \" PYTHONPATH=$BASE_DIR/components/common/src python -m pytest\n\n  linter:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/rules_engine]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          cd ${{ matrix.target-folder }}\n          python -m pip install --upgrade pip\n          python -m pip install pylint\n\n      - name: Lint with pylint\n        run: |\n          BASE_DIR=$(pwd)\n          cd ${{ matrix.target-folder }}/src\n          python -m pylint $(git ls-files '*.py') --rcfile=$BASE_DIR/.pylintrc\n\n# copier:endraw\n", "state": "active", "repository": "GoogleCloudPlatform/core-solution-services"}
{"mined_at": "2024-07-15T18:43:36.866615", "created_at": "2023-12-01T15:57:28+01:00", "updated_at": "2023-12-01T15:57:28+01:00", "name": "Unit test & lint for Tools Service", "path": ".github/workflows/unit_test_linter_tools_service.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n# copier:raw\n\nname: Unit test & lint for Tools Service\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"components/common/**\"\n      - \"components/tools_service/**\"\n      - \".github/workflows/unit_test_linter_tools_service.yaml\"\n      - \".pylintrc\"\n      - \"!components/tools_service/**.md\"\n  workflow_dispatch:\nenv:\n  PROJECT_ID: ${{ vars.PROJECT_ID }}\n  NODE_VERSION: 18\n\njobs:\n  unit-test:\n    runs-on: ubuntu-latest\n    environment: develop\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/tools_service]\n    steps:\n      - uses: actions/checkout@v3\n\n      - id: auth\n        name: Auth with Service Account\n        uses: google-github-actions/auth@v1\n        with:\n          credentials_json: \"${{ secrets.GCP_CREDENTIALS }}\"\n          # FIXME: Use workload identity instead of service account key.\n          # workload_identity_provider: ''\n          # service_account: 'deployment-dev@${{ env.PROJECT_ID }}.iam.gserviceaccount.com'\n\n      - name: Set up Cloud SDK\n        uses: google-github-actions/setup-gcloud@v1\n        with:\n          install_components: gke-gcloud-auth-plugin\n\n      - name: Use Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{env.NODE_VERSION}}\n\n      - name: Install Firebase CLI and emulator\n        run: |\n          utils/install_firebase.sh v13.1.0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          BASE_DIR=$(pwd)\n          python -m pip install --upgrade pip\n          python -m pip install pytest pytest-custom_exit_code pytest-cov pylint pytest-mock mock\n          if [ -f $BASE_DIR/components/common/requirements.txt ]; then pip install -r $BASE_DIR/components/common/requirements.txt; fi\n          cd ${{ matrix.target-folder }}\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi\n\n      - name: Run pytest with coverage\n        run: |\n          BASE_DIR=$(pwd)\n          firebase emulators:start --only firestore --project fake-project &\n          sleep 10\n          cd ${{ matrix.target-folder }}/src\n          PYTEST_ADDOPTS=\"--cache-clear --cov . \" PYTHONPATH=$BASE_DIR/components/common/src python -m pytest\n\n  linter:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/tools_service]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          cd ${{ matrix.target-folder }}\n          python -m pip install --upgrade pip\n          python -m pip install pylint\n\n      - name: Lint with pylint\n        run: |\n          BASE_DIR=$(pwd)\n          cd ${{ matrix.target-folder }}/src\n          python -m pylint $(git ls-files '*.py') --rcfile=$BASE_DIR/.pylintrc\n\n# copier:endraw\n", "state": "active", "repository": "GoogleCloudPlatform/core-solution-services"}
{"mined_at": "2024-07-15T18:43:37.873967", "created_at": "2023-10-25T22:13:01+02:00", "updated_at": "2023-11-09T15:38:23+01:00", "name": "Unit test & lint for User Management Service", "path": ".github/workflows/unit_test_linter_user_management.yaml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\n# copier:raw\n\nname: Unit test & lint for User Management Service\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"components/common/**\"\n      - \"components/user_management/**\"\n      - \".github/workflows/unit_test_linter_user_management.yaml\"\n      - \".pylintrc\"\n      - \"!components/user_management/**.md\"\n  workflow_dispatch:\n\nenv:\n  PROJECT_ID: ${{ vars.PROJECT_ID }}\n  NODE_VERSION: 18\n\njobs:\n  unit-test:\n    runs-on: ubuntu-latest\n    environment: develop\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/user_management]\n    steps:\n      - uses: actions/checkout@v3\n\n      # https://github.com/google-github-actions/auth\n      - id: \"auth\"\n        name: Auth with Service Account\n        uses: \"google-github-actions/auth@v1\"\n        with:\n          credentials_json: \"${{ secrets.GCP_CREDENTIALS }}\"\n          # workload_identity_provider: \"${{ secrets.WI_PROVIDER }}\"\n          # service_account: \"deployment@${{ env.PROJECT_ID }}.iam.gserviceaccount.com\"\n\n      - name: Set up Cloud SDK\n        uses: \"google-github-actions/setup-gcloud@v1\"\n\n      - name: Use Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{env.NODE_VERSION}}\n\n      - name: Install Firebase CLI and emulator\n        run: |\n          utils/install_firebase.sh v13.1.0\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          BASE_DIR=$(pwd)\n          python -m pip install --upgrade pip\n          if [ -f $BASE_DIR/components/common/requirements.txt ]; then pip install -r $BASE_DIR/components/common/requirements.txt; fi\n          if [ -f $BASE_DIR/components/common/requirements-test.txt ]; then pip install -r $BASE_DIR/components/common/requirements-test.txt; fi\n          cd ${{ matrix.target-folder }}\n          if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n          if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi\n\n      - name: Run pytest with coverage\n        run: |\n          BASE_DIR=$(pwd)\n          firebase emulators:start --only firestore --project fake-project &\n          sleep 10\n          cd ${{ matrix.target-folder }}/src\n          PYTEST_ADDOPTS=\"--cache-clear --cov . \" PYTHONPATH=$BASE_DIR/components/common/src python -m pytest\n\n  linter:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9]\n        target-folder: [components/user_management]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install pylint\n\n      - name: Lint with pylint\n        run: |\n          BASE_DIR=$(pwd)\n          cd ${{ matrix.target-folder }}/src\n          python -m pylint $(git ls-files '*.py') --rcfile=$BASE_DIR/.pylintrc\n\n# copier:endraw\n", "state": "active", "repository": "GoogleCloudPlatform/core-solution-services"}
{"mined_at": "2024-07-15T18:43:40.988160", "created_at": "2021-04-22T18:43:23+02:00", "updated_at": "2021-04-22T18:43:23+02:00", "name": "Create release and changelog", "path": ".github/workflows/create-release-changelog.yml", "contents": "name: 'Create release and changelog'\non:\n  release:\n    types: [created]\n\njobs:\n  release:\n    if: ${{ startsWith(github.ref, 'refs/tags/') && github.event.base_ref == 'refs/heads/main' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Build Changelog\n        id: github_release\n        uses: mikepenz/release-changelog-builder-action@v4\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Create Release\n        uses: actions/create-release@v1\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: ${{ github.ref }}\n          body: ${{steps.github_release.outputs.changelog}}\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "didx-xyz/aries-cloudcontroller-python"}
{"mined_at": "2024-07-15T18:43:42.102175", "created_at": "2021-04-07T15:08:03+02:00", "updated_at": "2021-05-19T21:05:25+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [created]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Python 3\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt -r requirements.dev.txt --upgrade\n      - name: Run tests with pytest\n        run: pytest\n\n  lint:\n    name: Python linting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python \"3.10\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \\\n            isort~=5.13.2 \\\n            black~=24.4.2\n      - name: Check import style with isort\n        run: |\n          isort . --check --profile black --diff\n      - name: Check code style with Black\n        run: |\n          black . --check --diff\n  deploy:\n    # if: ${{ startsWith(github.ref, 'refs/tags/') && github.event.base_ref == 'refs/heads/main' }}\n    runs-on: ubuntu-latest\n    needs: [lint, test]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload dist/*\n", "state": "active", "repository": "didx-xyz/aries-cloudcontroller-python"}
{"mined_at": "2024-07-15T18:43:43.328088", "created_at": "2021-04-07T16:04:44+02:00", "updated_at": "2021-04-22T14:56:30+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-test-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  # Trigger the workflow only for pull requests for the main branch\n  pull_request:\n    branches:\n      - main\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Python 3\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt -r requirements.dev.txt --upgrade\n      - name: Run tests with pytest\n        run: pytest\n\n  lint:\n    name: Python linting\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python \"3.10\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \\\n            isort~=5.13.2 \\\n            black~=24.4.2\n      - name: Check import style with isort\n        run: |\n          isort . --check --profile black --diff\n      - name: Check code style with Black\n        run: |\n          black . --check --diff\n\n  deploy:\n    runs-on: ubuntu-latest\n    needs: [lint, test]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine pylint\n      - name: Analysing the code with pylint\n        run: |\n          python -m pylint --fail-under=10 `find -regextype egrep -regex '(.*.py)$'` |\n          tee pylint.txt\n      - name: Upload pylint.txt as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: pylint report\n          path: pylint.txt\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}\n          TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}\n        run: |\n          python setup.py sdist bdist_wheel\n          twine upload --repository testpypi dist/* --skip-existing\n", "state": "active", "repository": "didx-xyz/aries-cloudcontroller-python"}
{"mined_at": "2024-07-15T18:43:45.593084", "created_at": "2020-12-27T10:03:32+01:00", "updated_at": "2021-01-15T08:13:33+01:00", "name": "Test", "path": ".github/workflows/python-package.yml", "contents": "name: Test\non: [push, pull_request]\njobs:\n  linters:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Setup up Python 3.11\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.11\"\n\n      - name: Update pip\n        run: python -m pip install -U pip\n\n      - name: Install dependencies\n        run: python -m pip install flake8\n\n      - name: Run flake8 linter (source)\n        run: flake8 --show-source smart_open\n\n  unit_tests:\n    needs: [linters]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          - {python: '3.8', os: ubuntu-20.04}\n          - {python: '3.9', os: ubuntu-20.04}\n          - {python: '3.10', os: ubuntu-20.04}\n          - {python: '3.11', os: ubuntu-20.04}\n          - {python: '3.12', os: ubuntu-20.04}\n\n          - {python: '3.8', os: windows-2019}\n          - {python: '3.9', os: windows-2019}\n          - {python: '3.10', os: windows-2019}\n          - {python: '3.11', os: windows-2019}\n          - {python: '3.12', os: windows-2019}\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Update pip\n        run: python -m pip install -U pip\n\n      #\n      # https://askubuntu.com/questions/1428181/module-lib-has-no-attribute-x509-v-flag-cb-issuer-check\n      #\n      - name: Upgrade PyOpenSSL\n        run: python -m pip install pyOpenSSL --upgrade\n\n      - name: Install smart_open without dependencies\n        run: pip install -e .\n\n      - name: Check that smart_open imports without dependencies\n        run: python -c 'import smart_open'\n\n      - name: Install smart_open and its dependencies\n        run: pip install -e .[test]\n\n      - name: Run unit tests\n        run: pytest smart_open -v -rfxECs --durations=20\n\n  doctest:\n    needs: [linters,unit_tests]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          - {python: '3.8', os: ubuntu-20.04}\n          - {python: '3.9', os: ubuntu-20.04}\n          - {python: '3.10', os: ubuntu-20.04}\n          - {python: '3.11', os: ubuntu-20.04}\n          - {python: '3.12', os: ubuntu-20.04}\n\n          #\n          # Some of the doctests don't pass on Windows because of Windows-specific\n          # character encoding issues.\n          #\n          # - {python: '3.7', os: windows-2019}\n          # - {python: '3.8', os: windows-2019}\n          # - {python: '3.9', os: windows-2019}\n          # - {python: '3.10', os: windows-2019}\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Update pip\n        run: python -m pip install -U pip\n\n      - name: Upgrade PyOpenSSL\n        run: python -m pip install pyOpenSSL --upgrade\n\n      - name: Install smart_open and its dependencies\n        run: pip install -e .[test]\n\n      - name: Run doctests\n        run: python ci_helpers/doctest.py\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n\n  integration:\n    needs: [linters,unit_tests]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          - {python: '3.8', os: ubuntu-20.04}\n          - {python: '3.9', os: ubuntu-20.04}\n          - {python: '3.10', os: ubuntu-20.04}\n          - {python: '3.11', os: ubuntu-20.04}\n          - {python: '3.12', os: ubuntu-20.04}\n\n          # Not sure why we exclude these, perhaps for historical reasons?\n          #\n          # - {python: '3.7', os: windows-2019}\n          # - {python: '3.8', os: windows-2019}\n          # - {python: '3.9', os: windows-2019}\n          # - {python: '3.10', os: windows-2019}\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Update pip\n        run: python -m pip install -U pip\n\n      - name: Upgrade PyOpenSSL\n        run: python -m pip install pyOpenSSL --upgrade\n\n      - run: python -m pip install numpy\n\n      - name: Install smart_open and its dependencies\n        run: pip install -e .[test]\n\n      - run: bash ci_helpers/helpers.sh enable_moto_server\n        if: ${{ matrix.moto_server }}\n\n      - run: |\n          sudo apt-get install vsftpd\n          sudo bash ci_helpers/helpers.sh create_ftp_ftps_servers\n\n      - name: Run integration tests\n        run: python ci_helpers/run_integration_tests.py\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n\n      - run: bash ci_helpers/helpers.sh disable_moto_server\n        if: ${{ matrix.moto_server }}\n\n      - run: sudo bash ci_helpers/helpers.sh delete_ftp_ftps_servers\n\n  benchmarks:\n    needs: [linters,unit_tests]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        include:\n          - {python: '3.8', os: ubuntu-20.04}\n          - {python: '3.9', os: ubuntu-20.04}\n          - {python: '3.10', os: ubuntu-20.04}\n          - {python: '3.11', os: ubuntu-20.04}\n          - {python: '3.12', os: ubuntu-20.04}\n\n          # - {python: '3.7', os: windows-2019}\n          # - {python: '3.8', os: windows-2019}\n          # - {python: '3.9', os: windows-2019}\n          # - {python: '3.10', os: windows-2019}\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Update pip\n        run: python -m pip install -U pip\n\n      - name: Upgrade PyOpenSSL\n        run: python -m pip install pyOpenSSL --upgrade\n\n      - name: Install smart_open and its dependencies\n        run: pip install -e .[test]\n\n      - run: pip install awscli pytest_benchmark\n\n      - name: Run benchmarks\n        run: python ci_helpers/run_benchmarks.py\n        env:\n          SO_BUCKET: smart-open\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n\n      #\n      # The test_coverage environment in tox.ini generates coverage data and\n      # saves it to disk.  This step uploads that data.  We do it\n      # separately from the tox env because the upload can fail for various\n      # reasons (e.g. https://github.com/lemurheavy/coveralls-public/issues/1392)\n      # and we don't want it to break the build.\n      #\n      # Looks like there's a github action for this\n      # (https://github.com/coverallsapp/github-action/issues/30) but it does\n      # not work with pytest output.\n      #\n      # - name: Upload code coverage to coveralls.io\n      #   if: ${{ matrix.coveralls }}\n      #   continue-on-error: true\n      #   env:\n      #     GITHUB_TOKEN: ${{ github.token }}\n      #   run: |\n      #     pip install coveralls\n      #     coveralls\n", "state": "active", "repository": "piskvorky/smart_open"}
{"mined_at": "2024-07-15T18:43:46.651000", "created_at": "2020-12-30T07:05:02+01:00", "updated_at": "2020-12-30T07:05:02+01:00", "name": "Release to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Release to PyPI\n\non:\n  push:\n    tags:\n      - 'v*.*.*'\njobs:\n  tarball:\n    if: github.event_name == 'push'\n    timeout-minutes: 1\n    runs-on: ubuntu-20.04\n    env:\n      PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}\n      PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n    steps:\n      - uses: actions/checkout@v1\n\n      - uses: actions/setup-python@v1\n        with:\n          python-version: \"3.8.x\"\n\n      # https://github.community/t/how-to-get-just-the-tag-name/16241/4\n      - name: Extract the version number\n        id: get_version\n        run: |\n          echo ::set-output name=V::$(python smart_open/version.py)\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m venv venv\n          . venv/bin/activate\n          pip install twine wheel\n\n      - name: Build and upload tarball to PyPI\n        run: |\n          . venv/bin/activate\n          python setup.py sdist\n          twine upload dist/smart_open-${{ steps.get_version.outputs.V }}.tar.gz -u ${{ env.PYPI_USERNAME }} -p ${{ env.PYPI_PASSWORD }}\n\n      - name: Build and upload wheel to PyPI\n        run: |\n          . venv/bin/activate\n          python setup.py bdist_wheel\n          twine upload dist/smart_open-${{ steps.get_version.outputs.V }}-py3-none-any.whl -u ${{ env.PYPI_USERNAME }} -p ${{ env.PYPI_PASSWORD }}\n", "state": "active", "repository": "piskvorky/smart_open"}
{"mined_at": "2024-07-15T18:43:48.959252", "created_at": "2023-04-21T02:02:46+02:00", "updated_at": "2023-04-21T02:44:19+02:00", "name": "Link Checker", "path": ".github/workflows/link-checker.yml", "contents": "name: Link Checker\n\non: [push, pull_request]\n\njobs:\n  link-checker:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout Code\n      uses: actions/checkout@main\n    - name: Check Links\n      uses: lycheeverse/lychee-action@v1.7.0\n      with:\n        fail: true\n", "state": "active", "repository": "kelvins/algorithms-and-data-structures"}
{"mined_at": "2024-07-15T18:43:50.086550", "created_at": "2023-04-21T18:31:58+02:00", "updated_at": "2023-04-21T22:42:39+02:00", "name": "Lint Checker", "path": ".github/workflows/lint-checker.yml", "contents": "name: Lint Checker\n\non: [push, pull_request]\n\njobs:\n  lint-checker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Check Code\n        uses: github/super-linter@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          VALIDATE_SCALAFMT: true\n          VALIDATE_GO: true\n          VALIDATE_RUST_2021: true\n          VALIDATE_RUST_CLIPPY: true\n          VALIDATE_KOTLIN: true\n          VALIDATE_RUBY: true\n          VALIDATE_JAVASCRIPT_ES: true\n          VALIDATE_GOOGLE_JAVA_FORMAT: true\n          VALIDATE_PYTHON_BLACK: true\n          VALIDATE_PYTHON_ISORT: true\n", "state": "active", "repository": "kelvins/algorithms-and-data-structures"}
{"mined_at": "2024-07-15T18:43:52.236970", "created_at": "2022-12-17T10:39:09+01:00", "updated_at": "2022-12-17T11:33:55+01:00", "name": "Docker Image", "path": ".github/workflows/build-docker-image.yml", "contents": "name: Docker Image\non: [push]\n\njobs:\n  image:\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v3\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build Image\n        run: |\n          cd application\n          echo running on branch ${GITHUB_REF##*/}\n          docker login --username ${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_TOKEN }} registry.webis.de\n          docker build --tag webis/tira-application:build-from-branch-${GITHUB_REF##*/} -f Dockerfile.application ..\n          docker tag webis/tira-application:build-from-branch-${GITHUB_REF##*/} registry.webis.de/code-lib/public-images/tira-application:build-from-branch-${GITHUB_REF##*/}\n          docker push registry.webis.de/code-lib/public-images/tira-application:build-from-branch-${GITHUB_REF##*/}\n\n", "state": "active", "repository": "tira-io/tira"}
{"mined_at": "2024-07-15T18:43:53.334135", "created_at": "2023-11-21T16:07:03+01:00", "updated_at": "2023-11-22T08:31:45+01:00", "name": "Documentation", "path": ".github/workflows/build-documentation-nightly.yml", "contents": "name: Documentation\non:\n  push:\n    branches:\n      - development\n\njobs:\n  build-doc:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install UMLet\n        run: |\n          mkdir -p /usr/share/umlet\n          cd /usr/share/umlet\n          wget https://www.umlet.com/download/umlet_15_1/umlet-standalone-15.1.zip -O download.zip\n          unzip download.zip\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y python3-pip plantuml\n          pip install sphinx furo myst-parser sphinx-design sphinxcontrib-plantuml sphinxcontrib-umlet\n          pip install pandas pyterrier ir_datasets\n          cd documentation\n          # sphinx-apidoc -o . ../python-client/tira\n          make doctest\n          make html\n          touch _build/html/.nojekyll\n      - name: Deploy\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: documentation/_build/html\n          target-folder: nightly\n", "state": "active", "repository": "tira-io/tira"}
{"mined_at": "2024-07-15T18:43:54.350021", "created_at": "2023-11-22T08:31:44+01:00", "updated_at": "2023-11-22T08:31:44+01:00", "name": "Documentation", "path": ".github/workflows/build-documentation-production.yml", "contents": "name: Documentation\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build-doc:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Install UMLet\n        run: |\n          mkdir -p /usr/share/umlet\n          cd /usr/share/umlet\n          wget https://www.umlet.com/download/umlet_15_1/umlet-standalone-15.1.zip -O download.zip\n          unzip download.zip\n      - name: Install Dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y python3-pip plantuml\n          pip install sphinx furo myst-parser sphinx-design sphinxcontrib-plantuml sphinxcontrib-umlet\n          pip install pandas pyterrier ir_datasets\n          cd documentation\n          # sphinx-apidoc -o . ../python-client/tira\n          make doctest\n          make html\n          touch _build/html/.nojekyll\n      - name: Deploy\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: documentation/_build/html\n          target-folder: ./\n          clean-exclude: nightly\n", "state": "active", "repository": "tira-io/tira"}
{"mined_at": "2024-07-15T18:43:55.403624", "created_at": "2023-11-21T15:14:06+01:00", "updated_at": "2023-11-21T15:14:06+01:00", "name": "Documentation", "path": ".github/workflows/build-documentation.yml", "contents": null, "state": "active", "repository": "tira-io/tira"}
{"mined_at": "2024-07-15T18:43:56.424833", "created_at": "2024-05-28T09:06:12+02:00", "updated_at": "2024-05-28T09:06:12+02:00", "name": "Linters", "path": ".github/workflows/linters.yml", "contents": null, "state": "active", "repository": "tira-io/tira"}
{"mined_at": "2024-07-15T18:43:57.468235", "created_at": "2022-12-17T10:00:46+01:00", "updated_at": "2022-12-17T11:33:55+01:00", "name": "Unit Tests", "path": ".github/workflows/run-all-tests.yml", "contents": "name: Unit Tests\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\"]\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Run tests\n        run: |\n          mkdir -p application/src/tira/static/tira/frontend-vuetify/\n          make setup\n          make tests\n\n", "state": "active", "repository": "tira-io/tira"}
{"mined_at": "2024-07-15T18:43:58.472868", "created_at": "2021-06-02T18:10:45+02:00", "updated_at": "2021-06-02T18:10:45+02:00", "name": "Handle stale issues", "path": ".github/workflows/stale.yml", "contents": "name: Handle stale issues\non:\n  schedule:\n  - cron: \"30 7 * * *\"\n  \n  workflow_dispatch:\n  \njobs:\n  stale:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      \n    steps:\n    - uses: actions/stale@v3\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue has been marked stale because it has been open 60 days with no activity.'\n        stale-issue-label: 'stale'\n        days-before-stale: 265\n        days-before-close: -1\n", "state": "active", "repository": "tira-io/tira"}
{"mined_at": "2024-07-15T18:43:59.711951", "created_at": "2023-11-23T17:02:45+01:00", "updated_at": "2023-11-26T12:39:36+01:00", "name": "Test Python Client on Many Python Versions", "path": ".github/workflows/test-python-client-on-many-python-versions.yml", "contents": "name: Test Python Client on Many Python Versions\non: [push]\n\njobs:\n  image:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build Image\n        run: |\n          cd python-client\n          pip3 install twine coverage-badge python-terrier coverage ir_datasets pytest docker approvaltests\n          echo running on branch ${GITHUB_REF##*/}\n          pytest\n\n", "state": "active", "repository": "tira-io/tira"}
{"mined_at": "2024-07-15T18:44:00.786786", "created_at": "2023-11-04T08:23:49+01:00", "updated_at": "2023-11-05T18:52:21+01:00", "name": "Test Python Client", "path": ".github/workflows/test-python-client.yml", "contents": "name: Test Python Client\non: [push]\n\njobs:\n  image:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      - name: Build Image\n        run: |\n          cd python-client\n          echo running on branch ${GITHUB_REF##*/}\n          make run-tests\n\n", "state": "active", "repository": "tira-io/tira"}
{"mined_at": "2024-07-15T18:44:01.958877", "created_at": "2023-11-21T15:41:51+01:00", "updated_at": "2023-11-21T15:41:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tira-io/tira"}
{"mined_at": "2024-07-15T18:44:04.050508", "created_at": "2023-08-28T08:56:17+02:00", "updated_at": "2023-08-28T08:56:17+02:00", "name": "Lint & Tests", "path": ".github/workflows/push.yml", "contents": "name: Lint & Tests\n\non: [push, pull_request]\n\njobs:\n  lint-and-tests:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.8] # build only for 3.8 for now\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade setuptools\n        pip install -e .\n        pip install -r requirements.opt.txt\n        pip install flake8==4.0.1\n        pip install pytest==7.0.1 pytest-flake8==1.1.1\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n    - name: Lint with flake8\n      run: |\n        flake8 --max-line-length 120 .\n    - name: Unit tests\n      run: |\n        python -m pytest\n# ## Broken in FoTraNMT\n#    - name: Test vocabulary build\n#      run: |\n#        python onmt/bin/build_vocab.py \\\n#          -config data/data.yaml \\\n#          -save_data /tmp/onmt \\\n#          -n_sample 5000 \\\n#          -src_vocab /tmp/onmt.vocab.src \\\n#          -tgt_vocab /tmp/onmt.vocab.tgt \\\n#          && rm -rf /tmp/sample\n#    - name: Test vocabulary build with features\n#      run: |\n#        python onmt/bin/build_vocab.py \\\n#          -config data/features_data.yaml \\\n#          -save_data /tmp/onmt_feat \\\n#          -src_vocab /tmp/onmt_feat.vocab.src \\\n#          -tgt_vocab /tmp/onmt_feat.vocab.tgt \\\n#          -src_feats_vocab '{\"feat0\": \"/tmp/onmt_feat.vocab.feat0\"}' \\\n#          -n_sample -1 \\\n#          && rm -rf /tmp/sample\n#    - name: Test field/transform dump\n#      run: |\n#        # The dumped fields are used later when testing tools\n#        python train.py \\\n#          -config data/data.yaml \\\n#          -save_data /tmp/onmt.train.check \\\n#          -dump_fields \\\n#          -dump_transforms \\\n#          -n_sample 30 \\\n#          -src_vocab /tmp/onmt.vocab.src \\\n#          -tgt_vocab /tmp/onmt.vocab.tgt \\\n#          -src_vocab_size 1000 \\\n#          -tgt_vocab_size 1000\n#    - name: Test RNN training\n#      run: |\n#        python train.py \\\n#          -config data/data.yaml \\\n#          -src_vocab /tmp/onmt.vocab.src \\\n#          -tgt_vocab /tmp/onmt.vocab.tgt \\\n#          -src_vocab_size 1000 \\\n#          -tgt_vocab_size 1000 \\\n#          -rnn_size 2 \\\n#          -batch_size 10 \\\n#          -word_vec_size 5 \\\n#          -report_every 5\\\n#          -rnn_size 10 \\\n#          -train_steps 10\n#    - name: Test RNN training with copy\n#      run: |\n#        python train.py \\\n#          -config data/data.yaml \\\n#          -src_vocab /tmp/onmt.vocab.src \\\n#          -tgt_vocab /tmp/onmt.vocab.tgt \\\n#          -src_vocab_size 1000 \\\n#          -tgt_vocab_size 1000 \\\n#          -rnn_size 2 \\\n#          -batch_size 10 \\\n#          -word_vec_size 5 \\\n#          -report_every 5 \\\n#          -rnn_size 10 \\\n#          -train_steps 10 \\\n#          -copy_attn\n#    - name: Test RNN training with coverage\n#      run: |\n#        python train.py \\\n#          -config data/data.yaml \\\n#          -src_vocab /tmp/onmt.vocab.src \\\n#          -tgt_vocab /tmp/onmt.vocab.tgt \\\n#          -src_vocab_size 1000 \\\n#          -tgt_vocab_size 1000 \\\n#          -rnn_size 2 -batch_size 10 \\\n#          -word_vec_size 5 -report_every 5        \\\n#          -coverage_attn true -lambda_coverage 0.1 \\\n#          -rnn_size 10 -train_steps 10\n#    - name: Test Transformer training with align\n#      run: |\n#        python train.py \\\n#          -config data/align_data.yaml \\\n#          -src_vocab /tmp/onmt.vocab.src \\\n#          -tgt_vocab /tmp/onmt.vocab.tgt \\\n#          -src_vocab_size 1000 \\\n#          -tgt_vocab_size 1000 \\\n#          -max_generator_batches 0 \\\n#          -encoder_type transformer \\\n#          -decoder_type transformer \\\n#          -layers 4 \\\n#          -word_vec_size 16 \\\n#          -rnn_size 16 \\\n#          -heads 2 \\\n#          -transformer_ff 64 \\\n#          -lambda_align 0.05 \\\n#          -alignment_layer 2 \\\n#          -alignment_heads 0 \\\n#          -report_every 5 \\\n#          -train_steps 10\n#    - name: Test LM training\n#      run: |\n#        python train.py \\\n#            -config data/lm_data.yaml \\\n#            -src_vocab /tmp/onmt.vocab.src \\\n#            -tgt_vocab /tmp/onmt.vocab.src \\\n#            -model_task lm \\\n#            -encoder_type transformer_lm \\\n#            -decoder_type transformer_lm \\\n#            -src_vocab_size 1000 \\\n#            -tgt_vocab_size 1000 \\\n#            -dec_layers 2 -batch_size 10 \\\n#            -heads 4 -transformer_ff 64 \\\n#            -word_vec_size 16 -report_every 5 \\\n#            -rnn_size 16 -train_steps 10\n#    - name: Test LM training with copy\n#      run: |\n#        python train.py \\\n#          -config data/lm_data.yaml \\\n#          -src_vocab /tmp/onmt.vocab.src \\\n#          -tgt_vocab /tmp/onmt.vocab.src \\\n#          -model_task lm \\\n#          -encoder_type transformer_lm \\\n#          -decoder_type transformer_lm \\\n#          -src_vocab_size 1000 \\\n#          -tgt_vocab_size 1000 \\\n#          -dec_layers 2 -batch_size 10 \\\n#          -heads 4 -transformer_ff 64 \\\n#          -word_vec_size 16 -report_every 5        \\\n#          -rnn_size 16 -train_steps 10 \\\n#          -copy_attn\n#    - name: Test Graph neural network training\n#      run: |\n#        python train.py \\\n#          -config data/ggnn_data.yaml \\\n#          -src_seq_length 1000 \\\n#          -tgt_seq_length 30 \\\n#          -encoder_type ggnn \\\n#          -layers 2 \\\n#          -decoder_type rnn \\\n#          -rnn_size 256 \\\n#          -learning_rate 0.1 \\\n#          -learning_rate_decay 0.8 \\\n#          -global_attention general \\\n#          -batch_size 32 \\\n#          -word_vec_size 256 \\\n#          -bridge \\\n#          -train_steps 10 \\\n#          -n_edge_types 9 \\\n#          -state_dim 256 \\\n#          -n_steps 10 \\\n#          -n_node 64\n#    - name: Testing training with features\n#      run: |\n#        python onmt/bin/train.py \\\n#          -config data/features_data.yaml \\\n#          -src_vocab /tmp/onmt_feat.vocab.src \\\n#          -tgt_vocab /tmp/onmt_feat.vocab.tgt \\\n#          -src_feats_vocab '{\"feat0\": \"/tmp/onmt_feat.vocab.feat0\"}' \\\n#          -src_vocab_size 1000 -tgt_vocab_size 1000 \\\n#          -rnn_size 2 -batch_size 10 \\\n#          -word_vec_size 5 -rnn_size 10 \\\n#          -report_every 5 -train_steps 10 \\\n#          -save_model /tmp/onmt.model \\\n#          -save_checkpoint_steps 10\n#    - name: Testing translation with features\n#      run: |\n#        python translate.py \\\n#            -model /tmp/onmt.model_step_10.pt \\\n#            -src data/data_features/src-test.txt \\\n#            -src_feats \"{'feat0': 'data/data_features/src-test.feat0'}\" \\\n#            -verbose\n#    - name: Test RNN translation\n#      run: |\n#        head data/src-test.txt > /tmp/src-test.txt\n#        python translate.py \\\n#          -model onmt/tests/test_model.pt \\\n#          -src /tmp/src-test.txt \\\n#          -verbose\n#    - name: Test RNN ensemble translation\n#      run: |\n#        head data/src-test.txt > /tmp/src-test.txt\n#        python translate.py \\\n#          -model onmt/tests/test_model.pt \\\n#          onmt/tests/test_model.pt \\\n#          -src /tmp/src-test.txt \\\n#          -verbose\n#    - name: Test RNN translation with beam search\n#      run: |\n#        python translate.py \\\n#          -model onmt/tests/test_model2.pt \\\n#          -src data/morph/src.valid \\\n#          -verbose \\\n#          -batch_size 10 \\\n#          -beam_size 10 \\\n#          -tgt data/morph/tgt.valid \\\n#          -out /tmp/trans\n#        diff data/morph/tgt.valid /tmp/trans && rm /tmp/trans\n#    - name: Test RNN translation with random sampling\n#      run: |\n#        python translate.py \\\n#          -model onmt/tests/test_model2.pt \\\n#          -src data/morph/src.valid \\\n#          -verbose \\\n#          -batch_size 10 \\\n#          -beam_size 1 \\\n#          -seed 1 \\\n#          -random_sampling_topk \"-1\" \\\n#          -random_sampling_temp 0.0001 \\\n#          -tgt data/morph/tgt.valid \\\n#          -out /tmp/trans\n#        diff data/morph/tgt.valid /tmp/trans && rm /tmp/trans\n#    - name: Test LM generation\n#      run: |\n#        head data/src-test.txt > /tmp/src-test.txt\n#        python translate.py \\\n#          -model onmt/tests/test_model_lm.pt \\\n#          -src data/src-test.txt \\\n#          -verbose\n#    - name: Test LM generation with beam search\n#      run: |\n#        python translate.py \\\n#          -model onmt/tests/test_model_lm.pt \\\n#          -src data/data_lm/src-gen.txt \\\n#          -verbose -batch_size 10 \\\n#          -beam_size 10 \\\n#          -ban_unk_token \\\n#          -out /tmp/gen\n#        diff data/data_lm/gen-beam-sol.txt /tmp/gen && rm /tmp/gen\n#    - name: Test LM generation with random sampling\n#      run: |\n#        python translate.py -model onmt/tests/test_model_lm.pt \\\n#          -src data/data_lm/src-gen.txt \\\n#          -verbose -batch_size 10 \\\n#          -beam_size 1 \\\n#          -seed 1 \\\n#          -random_sampling_topk -1 \\\n#          -random_sampling_temp 0.0001 \\\n#          -ban_unk_token \\\n#          -out /tmp/gen\n#        diff data/data_lm/gen-sampling-sol.txt /tmp/gen && rm /tmp/gen\n#    - name: Test LM generation with random top-k/nucleus sampling\n#      run: |\n#        python translate.py -model onmt/tests/test_model_lm.pt \\\n#          -src data/data_lm/src-gen.txt \\\n#          -verbose -batch_size 10 \\\n#          -beam_size 1 \\\n#          -seed 3 \\\n#          -random_sampling_topk -1 \\\n#          -random_sampling_topp 0.95 \\\n#          -random_sampling_temp 1 \\\n#          -ban_unk_token \\\n#          -out /tmp/gen\n#        diff data/data_lm/gen-nucleus-sampling-sol.txt /tmp/gen && rm /tmp/gen\n#    - name: Test LM generation with random sampling multi-beams\n#      run: |\n#        python translate.py -model onmt/tests/test_model_lm.pt \\\n#          -src data/data_lm/src-gen.txt \\\n#          -verbose -batch_size 10 \\\n#          -beam_size 10 \\\n#          -seed 2 \\\n#          -random_sampling_topk 50 \\\n#          -random_sampling_topp 0.95 \\\n#          -random_sampling_temp 1 \\\n#          -length_penalty avg \\\n#          -ban_unk_token \\\n#          -min_length 5 \\\n#          -out /tmp/gen\n#        diff data/data_lm/gen-sampling-beams-sol.txt /tmp/gen && rm /tmp/gen\n#    - name: Test extract_vocabulary tool\n#      run: |\n#        python tools/extract_vocabulary.py \\\n#          -file /tmp/onmt.train.check.vocab.pt \\\n#          -file_type field \\\n#          -side src \\\n#          -out_file /tmp/onmt.vocab.txt\n#        if ! wc -l /tmp/onmt.vocab.txt | grep -qF  \"1002\"\n#          then echo \"wrong word count\" && exit 1\n#        else\n#          echo \"create vocabulary pass\"\n#        fi\n#    - name: Test embeddings_to_torch tool\n#      run: |\n#        python tools/embeddings_to_torch.py \\\n#          -emb_file_enc onmt/tests/sample_glove.txt \\\n#          -emb_file_dec onmt/tests/sample_glove.txt \\\n#          -dict_file /tmp/onmt.train.check.vocab.pt \\\n#          -output_file /tmp/q_gloveembeddings \\\n#          && rm /tmp/q_gloveembeddings*\n#        rm /tmp/onmt.train.check.*.pt\n#    - name: Test extract_embeddings tool\n#      run: |\n#        python tools/extract_embeddings.py \\\n#          -model onmt/tests/test_model.pt\n#    - name: Test checkpoint vocabulary update\n#      run: |\n#        python train.py \\\n#          -config data/data.yaml \\\n#          -src_vocab /tmp/onmt.vocab.src \\\n#          -tgt_vocab /tmp/onmt.vocab.tgt \\\n#          -src_vocab_size 1000 \\\n#          -tgt_vocab_size 1000 \\\n#          -rnn_size 2 \\\n#          -batch_size 10 \\\n#          -word_vec_size 5 \\\n#          -report_every 5\\\n#          -rnn_size 10 \\\n#          -train_steps 10 \\\n#          -save_model /tmp/onmt.model \\\n#          -save_checkpoint_steps 10\n#        sed -i '1s/^/new_tok\\t100000000\\n/' /tmp/onmt.vocab.src\n#        python train.py \\\n#          -config data/data.yaml \\\n#          -src_vocab /tmp/onmt.vocab.src \\\n#          -tgt_vocab /tmp/onmt.vocab.tgt \\\n#          -src_vocab_size 1000 \\\n#          -tgt_vocab_size 1000 \\\n#          -rnn_size 2 \\\n#          -batch_size 10 \\\n#          -word_vec_size 5 \\\n#          -report_every 5\\\n#          -rnn_size 10 \\\n#          -train_steps 20 \\\n#          -update_vocab \\\n#          -reset_optim \"states\" \\\n#          -train_from /tmp/onmt.model_step_10.pt\n#    - name: Test checkpoint vocabulary update with LM\n#      run: |\n#        python train.py \\\n#          -config data/lm_data.yaml \\\n#          -src_vocab /tmp/onmt.vocab.src \\\n#          -tgt_vocab /tmp/onmt.vocab.tgt \\\n#          -model_task lm \\\n#          -encoder_type transformer_lm \\\n#          -decoder_type transformer_lm \\\n#          -src_vocab_size 1000 \\\n#          -tgt_vocab_size 1000 \\\n#          -dec_layers 2 -batch_size 10 \\\n#          -heads 4 -transformer_ff 64 \\\n#          -word_vec_size 16 -report_every 5 \\\n#          -save_model /tmp/lm.onmt.model \\\n#          -save_checkpoint_steps 10 \\\n#          -rnn_size 16 -train_steps 10\n#        sed -i '1s/^/new_tok\\t100000000\\n/' /tmp/onmt.vocab.src\n#        python train.py \\\n#          -config data/lm_data.yaml \\\n#          -src_vocab /tmp/onmt.vocab.src \\\n#          -tgt_vocab /tmp/onmt.vocab.tgt \\\n#          -model_task lm \\\n#          -encoder_type transformer_lm \\\n#          -decoder_type transformer_lm \\\n#          -src_vocab_size 1000 \\\n#          -tgt_vocab_size 1000 \\\n#          -dec_layers 2 -batch_size 10 \\\n#          -heads 4 -transformer_ff 64 \\\n#          -word_vec_size 16 -report_every 5 \\\n#          -rnn_size 16  -train_steps 20 \\\n#          -update_vocab -reset_optim \"states\" \\\n#          -train_from /tmp/lm.onmt.model_step_10.pt\n", "state": "active", "repository": "Helsinki-NLP/mammoth"}
{"mined_at": "2024-07-15T18:44:05.138784", "created_at": "2023-08-28T08:56:17+02:00", "updated_at": "2023-08-28T08:56:17+02:00", "name": "Deploy Docs & Publish to PyPi", "path": ".github/workflows/release.yml", "contents": "name: Deploy Docs & Publish to PyPi\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy-docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade setuptools\n        pip install -e .\n        pip install -r docs/requirements.txt\n    - name: Build docs\n      run: |\n        set -e\n        # Check that docs are built without errors\n        cd docs/ && make html && cd ..\n    - name: Deploy docs\n      uses: JamesIves/github-pages-deploy-action@3.7.1\n      with:\n        GITHUB_TOKEN:  ${{ secrets.GITHUB_TOKEN }}\n        BRANCH: gh-pages\n        FOLDER: docs/build/html\n        CLEAN: true\n  publish-pypi:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install --upgrade setuptools wheel\n    - name: Build a binary wheel and a source tarball\n      run: |\n        python setup.py sdist bdist_wheel\n    - name: Publish release to PyPi\n      uses: pypa/gh-action-pypi-publish@54b39fb9371c0b3a6f9f14bb8a67394defc7a806\n      with:\n        user: __token__\n        password: ${{ secrets.pypi_password }}\n        verbose: true\n", "state": "active", "repository": "Helsinki-NLP/mammoth"}
{"mined_at": "2024-07-15T18:44:06.233458", "created_at": "2023-09-20T13:49:45+02:00", "updated_at": "2023-09-20T13:49:45+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "Helsinki-NLP/mammoth"}
{"mined_at": "2024-07-15T18:44:08.416374", "created_at": "2023-10-03T15:56:23+02:00", "updated_at": "2023-11-24T11:30:06+01:00", "name": "Docker Compose CI", "path": ".github/workflows/docker-compose.yml", "contents": "name: Docker Compose CI\n\non:\n  workflow_dispatch: # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: init and load data\n      run: docker compose up -d\n    - name: sleep\n      run:  sleep 60\n    - name: log sitemap\n      run: docker logs sitemap\n    - name: log db ingestion\n      run: docker logs ingest_to_db\n    - name: log streamlit\n      run: docker logs streamlit", "state": "active", "repository": "dataforgoodfr/quotaclimat"}
{"mined_at": "2024-07-15T18:44:09.491157", "created_at": "2023-10-30T17:58:06+01:00", "updated_at": "2023-11-24T11:30:06+01:00", "name": "tests", "path": ".github/workflows/test.yml", "contents": "name: tests\n\non:\n  push:\n\nenv:\n  PYTHON_VERSION: '3.11'\n  POETRY_VERSION: '1.8.3'\n\njobs:\n  # Label of the runner job\n  unit_test:\n    # You must use a Linux environment when using service containers or container jobs\n    runs-on: ubuntu-latest\n\n    # Service containers to run with `runner-job`\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgres:13\n        # Provide the password for postgres\n        env:\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_USER: user\n          POSTGRES_DB: postgres\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - uses: actions/checkout@v4\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n      - name: poetry install\n        run: poetry install\n      - name: docker compose up nginx\n        run: docker compose up -d nginxtest\n      - name: pytest run test_first_update_keywords\n        run: |\n          set -o pipefail\n          poetry run pytest -k 'test_update_pg_keywords'\n        env:\n          ENV: dev\n          POSTGRES_USER: user\n          POSTGRES_DB: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_HOST: localhost\n          POSTGRES_PORT: 5432\n          COMPARE_DURATION: \"true\"\n      - name: pytest run everything else\n        run: |\n          set -o pipefail\n          poetry run pytest -k 'not test_update_pg_keywords' --junitxml=pytest.xml \\\n           --cov-report=term-missing:skip-covered \\\n           --cov=quotaclimat --cov=postgres test/ | \\\n           tee pytest-coverage.txt\n        env:\n          ENV: dev\n          POSTGRES_USER: user\n          POSTGRES_DB: postgres\n          POSTGRES_PASSWORD: postgres\n          POSTGRES_HOST: localhost\n          POSTGRES_PORT: 5432\n          COMPARE_DURATION: \"true\"\n          \n      # - name: Upload coverage reports to Codecov\n      #   uses: codecov/codecov-action@v3\n      #   env:\n      #     CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n      - name: Verify poetry.lock agrees with pyproject.toml\n        run: poetry check --lock\n\n      - name: Pytest coverage comment\n        id: coverageComment\n        uses: MishaKav/pytest-coverage-comment@main\n        with:\n          pytest-coverage-path: pytest-coverage.txt\n          junitxml-path: ./pytest.xml\n\n      - name: Check the output coverage\n        run: |\n          echo \"Coverage Percantage - ${{ steps.coverageComment.outputs.coverage }}\"\n\n      - name: Create Awesome Badge\n        if: github.ref == 'refs/heads/main'\n        uses: schneegans/dynamic-badges-action@v1.7.0\n        with:\n          auth: ${{ secrets.GIST_SECRET }}\n          gistID: 579237daab71afbb359338e2706b7f36\n          filename: test.json\n          label: Coverage\n          message: \"${{ steps.coverageComment.outputs.tests }} tests - ${{ steps.coverageComment.outputs.coverage }}\"\n          color: ${{ steps.coverageComment.outputs.color }}\n          namedLogo: python", "state": "active", "repository": "dataforgoodfr/quotaclimat"}
{"mined_at": "2024-07-15T18:44:10.551937", "created_at": "2023-11-24T11:30:06+01:00", "updated_at": "2023-11-24T11:30:06+01:00", "name": "Build & Deploy to Scaleway", "path": ".github/workflows/deploy-main.yml", "contents": "name: Build & Deploy to Scaleway\n\non:\n  push:\n      # Sequence of patterns matched against refs/heads\n    branches:    \n      - main\n\n  # to be able to force deploy    \n  workflow_dispatch:\n\n\nenv:\n  PYTHON_VERSION: '3.11'\n  POETRY_VERSION: '1.8.3'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n    - uses: actions/checkout@v4\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n      with:\n        version: ${{ env.POETRY_VERSION }}\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n        installer-parallel: true\n    - name: Poetry install & bump version\n      run: |\n        poetry install --only dev\n        poetry version patch\n        PROJECT_VERSION=$(poetry version --short)\n        echo \"PROJECT_VERSION=$PROJECT_VERSION\" >> $GITHUB_ENV\n        git config user.name barometre-github-actions\n        git config user.email barometre-github-actions@github.com\n        git add pyproject.toml\n        git commit -m \"[no ci]: $PROJECT_VERSION bumping version\"\n        git push origin main\n    - name: Login to Scaleway Container Registry\n      uses: docker/login-action@v3\n      with:\n        username: nologin\n        password: ${{ secrets.SCALEWAY_API_KEY }}\n        registry: ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}\n\n    - name: Build mediatree_import image\n      run: docker build -f Dockerfile_api_import . -t ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/mediatree_import:${{ env.PROJECT_VERSION }}\n    - name: Tag mediatree_import latest image\n      run: docker tag ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/mediatree_import:${{ env.PROJECT_VERSION }} ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/mediatree_import:latest\n    - name: Push mediatree_import Image\n      run: docker push --all-tags ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/mediatree_import\n\n    - name: Build ingest_to_db image\n      run: docker build -f Dockerfile_ingest . -t ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/ingest_to_db\n    - name: Push ingest_to_db Image\n      run: docker push ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/ingest_to_db\n\n    - name: update scaleway job definition with version mediatree_import\n      uses: jawher/action-scw@v2.27.0\n      env:\n        SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}\n        SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}\n        SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }}\n        SCW_ZONE: ${{ secrets.SCW_ZONE }}\n      with:\n        args: jobs definition update ${{ secrets.SCALEWAY_JOB_IMPORT_ID }} image-uri=${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/mediatree_import:${{ env.PROJECT_VERSION }}\n", "state": "active", "repository": "dataforgoodfr/quotaclimat"}
{"mined_at": "2024-07-15T18:44:11.795504", "created_at": "2023-11-28T10:47:32+01:00", "updated_at": "2023-11-28T10:47:32+01:00", "name": "Stop Scaleway", "path": ".github/workflows/scaleway-down.yml", "contents": "name: Stop Scaleway\n\non:\n  workflow_dispatch: # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch\n  \n  schedule: # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule\n  - cron:  '36 21 * * *'\n\njobs:\n  down:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Use CLI\n      uses: jawher/action-scw@v2.24.0\n      env:\n        SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}\n        SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}\n        SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }}\n        SCW_ZONE: ${{ secrets.SCW_ZONE }}\n      with:\n        args: container container list name=${{ secrets.CONTAINER_NAME }} --output json\n\n    - name: Get CONTAINER_ID env var\n      run: echo \"CONTAINER_ID=$(cat \"${GITHUB_WORKSPACE}/scw.output\" | jq -r '.[0].id')\"  >> $GITHUB_ENV\n\n\n    - name: 0 instances\n      uses: jawher/action-scw@v2.24.0\n      env:\n        SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}\n        SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}\n        SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }}\n        SCW_ZONE: ${{ secrets.SCW_ZONE }}\n      with:\n        args: container container update min-scale=0 ${{ env.CONTAINER_ID }}\n", "state": "active", "repository": "dataforgoodfr/quotaclimat"}
{"mined_at": "2024-07-15T18:44:12.922060", "created_at": "2023-11-28T10:47:32+01:00", "updated_at": "2023-11-28T10:47:32+01:00", "name": "Start Scaleway", "path": ".github/workflows/scaleway-up.yml", "contents": "name: Start Scaleway\n\non:\n  workflow_dispatch: # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch\n  \n  schedule: # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule\n  - cron:  '00 07 * * *'\n\njobs:\n  up:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Use CLI\n      uses: jawher/action-scw@v2.24.0\n      env:\n        SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}\n        SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}\n        SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }}\n        SCW_ZONE: ${{ secrets.SCW_ZONE }}\n      with:\n        args: container container list name=${{ secrets.CONTAINER_NAME }} --output json\n\n    - name: Get CONTAINER_ID env var\n      run: echo \"CONTAINER_ID=$(cat \"${GITHUB_WORKSPACE}/scw.output\" | jq -r '.[0].id')\"  >> $GITHUB_ENV\n\n    - name: start 1 instances\n      uses: jawher/action-scw@v2.24.0\n      env:\n        SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}\n        SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}\n        SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }}\n        SCW_ZONE: ${{ secrets.SCW_ZONE }}\n      with:\n        args: container container update min-scale=1 ${{ env.CONTAINER_ID }}\n", "state": "active", "repository": "dataforgoodfr/quotaclimat"}
{"mined_at": "2024-07-15T18:44:13.943506", "created_at": "2024-03-06T10:34:03+01:00", "updated_at": "2024-03-06T10:34:03+01:00", "name": "Import job Scaleway", "path": ".github/workflows/scaleway-start-import-job-update.yml", "contents": "name: Import job Scaleway\n\non:\n  workflow_dispatch: # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch\n  \njobs:\n  start-job-image:\n    runs-on: ubuntu-latest\n    steps:\n    - name: start import job to reapply logic to all elements offset 0\n      uses: jawher/action-scw@v2.27.0\n      env:\n        SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}\n        SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}\n        SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }}\n        SCW_ZONE: ${{ secrets.SCW_ZONE }}\n      with:\n        args: jobs definition start ${{ secrets.SCALEWAY_JOB_IMPORT_ID }} environment-variables.UPDATE=true environment-variables.START_OFFSET=0\n    - name: start import job to reapply logic to all elements offset 300000\n      uses: jawher/action-scw@v2.27.0\n      env:\n        SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}\n        SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}\n        SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }}\n        SCW_ZONE: ${{ secrets.SCW_ZONE }}\n      with:\n        args: jobs definition start ${{ secrets.SCALEWAY_JOB_IMPORT_ID }} environment-variables.UPDATE=true environment-variables.START_OFFSET=300000\n    - name: start import job to reapply logic to all elements offset 600000\n      uses: jawher/action-scw@v2.27.0\n      env:\n        SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}\n        SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}\n        SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }}\n        SCW_ZONE: ${{ secrets.SCW_ZONE }}\n      with:\n        args: jobs definition start ${{ secrets.SCALEWAY_JOB_IMPORT_ID }} environment-variables.UPDATE=true environment-variables.START_OFFSET=600000\n    - name: start import job to reapply logic to all elements offset 900000\n      uses: jawher/action-scw@v2.27.0\n      env:\n        SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}\n        SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}\n        SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }}\n        SCW_ZONE: ${{ secrets.SCW_ZONE }}\n      with:\n        args: jobs definition start ${{ secrets.SCALEWAY_JOB_IMPORT_ID }} environment-variables.UPDATE=true environment-variables.START_OFFSET=900000\n", "state": "active", "repository": "dataforgoodfr/quotaclimat"}
{"mined_at": "2024-07-15T18:44:15.050314", "created_at": "2024-03-11T17:41:20+01:00", "updated_at": "2024-03-11T17:41:20+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "dataforgoodfr/quotaclimat"}
{"mined_at": "2024-07-15T18:44:17.224023", "created_at": "2021-06-28T22:36:11+02:00", "updated_at": "2022-02-14T11:17:09+01:00", "name": "Build Gusto", "path": ".github/workflows/build.yml", "contents": "name: Build Gusto\n\non:\n  # Push to main or PR\n  push:\n    branches:\n      - main\n  pull_request:\n  schedule:\n    # * is a special character in YAML so you have to quote this string\n    # Scheduled build at 0330 UTC on Monday mornings to detect bitrot.\n    - cron:  '30 3 * * 1'\n\njobs:\n  build:\n    name: \"Build Gusto\"\n    # The type of runner that the job will run on\n    runs-on: self-hosted\n    # The docker container to use.\n    container:\n      image: firedrakeproject/firedrake-vanilla:latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Cleanup\n        if: ${{ always() }}\n        run: |\n          cd ..\n          rm -rf build\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.8\n      - name: Install Gusto\n        run: |\n          . /home/firedrake/firedrake/bin/activate\n          python -m pip install -r requirements.txt\n          python -m pip install -e .\n          python -m pip install  \\\n            pytest-cov pytest-timeout pytest-xdist\n      - name: Gusto tests\n        run: |\n          . /home/firedrake/firedrake/bin/activate\n          which firedrake-clean\n          python -m pytest \\\n            -n 12 --dist worksteal \\\n            --durations=100 \\\n            --cov gusto \\\n            -v unit-tests integration-tests examples\n", "state": "active", "repository": "firedrakeproject/gusto"}
{"mined_at": "2024-07-15T18:44:18.349187", "created_at": "2023-07-26T16:37:44+02:00", "updated_at": "2023-07-27T10:48:10+02:00", "name": "Check docs build cleanly", "path": ".github/workflows/docs.yml", "contents": "name: Check docs build cleanly\n\non:\n  # Run on pushes to master\n  push:\n    branches:\n      - master\n  # And all pull requests\n  pull_request:\n\nconcurrency:\n  # Cancels jobs running if new commits are pushed\n  group: >\n    ${{ github.workflow }}-\n    ${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  build_docs:\n    name: Run doc build\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n    # The docker container to use.\n    container:\n      image: firedrakeproject/firedrake-docdeps:latest\n      options: --user root\n      volumes:\n        - ${{ github.workspace }}:/home/firedrake/output\n    # Steps represent a sequence of tasks that will be executed as\n    # part of the jobs\n    steps:\n      - uses: actions/checkout@v3\n      - name: Install checkedout Gusto\n        run: |\n          . /home/firedrake/firedrake/bin/activate\n          python -m pip install -e .\n      - name: Install Read the Docs theme\n        run: |\n          . /home/firedrake/firedrake/bin/activate\n          python -m pip install sphinx_rtd_theme\n      - name: Check documentation links\n        if: ${{ github.ref == 'refs/heads/master' }}\n        run: |\n          . /home/firedrake/firedrake/bin/activate\n          cd docs\n          make linkcheck\n      - name: Build docs\n        run: |\n          . /home/firedrake/firedrake/bin/activate\n          cd docs\n          make html\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v1\n        with:\n          name: github-pages\n          path: /__w/gusto/gusto/docs/build/html\n          retention-days: 1\n", "state": "active", "repository": "firedrakeproject/gusto"}
{"mined_at": "2024-07-15T18:44:19.577780", "created_at": "2023-07-26T16:37:44+02:00", "updated_at": "2023-07-27T10:48:10+02:00", "name": "Run lint", "path": ".github/workflows/lint.yml", "contents": "name: Run lint\n\non:\n  # Push to master or PR\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n  linter:\n    name: \"Run linter\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Setup python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Setup flake8 annotations\n        uses: rbialon/flake8-annotations@v1\n      - name: Install linter\n        run: |\n          pip install flake8 pylint\n      - name: Lint codebase\n        run: |\n          make lint GITHUB_ACTIONS_FORMATTING=1\n  actionlint:\n    name: \"Lint Github actions YAML files\"\n    # There's a way to add error formatting so GH actions adds messages to code,\n    # but I can't work out the right number of quotes to get it to work\n    # https://github.com/rhysd/actionlint/blob/main/docs/usage.md\n    # #example-error-annotation-on-github-actions\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Check workflow files\n        uses: docker://rhysd/actionlint:latest\n        with:\n          args: -color\n", "state": "active", "repository": "firedrakeproject/gusto"}
{"mined_at": "2024-07-15T18:44:20.622160", "created_at": "2023-06-14T14:27:29+02:00", "updated_at": "2023-06-14T14:27:29+02:00", "name": "Deploy Jekyll with GitHub Pages dependencies preinstalled", "path": ".github/workflows/website.yml", "contents": "# Sample workflow for building and deploying a Jekyll site to GitHub Pages\nname: Deploy Jekyll with GitHub Pages dependencies preinstalled\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches: [\"main\"]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  # Build job\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Pages\n        uses: actions/configure-pages@v3\n      - name: Build with Jekyll\n        uses: actions/jekyll-build-pages@v1\n        with:\n          source: ./docs\n          destination: ./docs/_site\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: ./docs/_site/\n\n  # Deployment job\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "firedrakeproject/gusto"}
{"mined_at": "2024-07-15T18:44:21.688206", "created_at": "2023-04-11T14:56:07+02:00", "updated_at": "2023-04-11T14:56:07+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "firedrakeproject/gusto"}
{"mined_at": "2024-07-15T18:44:23.699551", "created_at": "2022-01-04T12:54:46+01:00", "updated_at": "2022-08-26T13:55:35+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [main]\n  pull_request:\n  workflow_dispatch:\n  schedule:\n    - cron: '5 1 * * *'  # every day at 01:05\n\nenv:\n  FORCE_COLOR: \"1\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        context:\n          - {project_name: testing-123}\n          - {project_name: testing-123-with-docs, docs: true}\n\n    name: ${{ matrix.context.project_name }}\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Setup nox\n        uses: wntrblm/nox@2024.04.15\n        with:\n          python-versions: \"3.8, 3.9, 3.10, 3.11, 3.12, pypy-3.8, pypy-3.9, pypy-3.10\"\n\n      - name: Generate template via cruft\n        run: |\n          pip install cruft\n          cruft create -y --extra-context '${{ toJSON(matrix.context) }}' .\n\n      - name: Show directory structure and file contents\n        run: |\n          cd ${{ matrix.context.project_name }}\n          echo \"::group::tree\" && tree -a && echo \"::endgroup::\"\n          echo \"::group::.cruft.json\" && cat .cruft.json && echo \"::endgroup::\"\n          echo \"::group::pyproject.toml\" && cat pyproject.toml && echo \"::endgroup::\"\n          echo \"::group::CONTRIBUTING.rst\" && cat CONTRIBUTING.rst && echo \"::endgroup::\"\n          echo \"::group::noxfile.py\" && cat noxfile.py && echo \"::endgroup::\"\n          echo \"::group::tests.yml\" && cat .github/workflows/tests.yml && echo \"::endgroup::\"\n\n      - name: Initialize repository\n        run: |\n          cd ${{ matrix.context.project_name }}\n          git init\n          git config user.name 'github-actions[bot]'\n          git config user.email 'github-actions[bot]@users.noreply.github.com'\n          git add .\n          git commit -m \"init\"\n\n      - name: Run nox\n        run: |\n          cd ${{ matrix.context.project_name }}\n          nox\n          nox -s lint build dev ${{ matrix.context.docs && 'docs'}}\n", "state": "active", "repository": "iterative/py-template"}
{"mined_at": "2024-07-15T18:44:24.720800", "created_at": "2023-07-19T20:27:28+02:00", "updated_at": "2023-07-19T20:27:28+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "iterative/py-template"}
{"mined_at": "2024-07-15T18:44:26.745612", "created_at": "2021-06-29T07:27:47+02:00", "updated_at": "2021-07-02T07:31:46+02:00", "name": "Build pghoard", "path": ".github/workflows/build.yml", "contents": "name: Build pghoard\n\n# Default to read-only access to all APIs.\npermissions: read-all\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - '**'\n  pull_request:\n\njobs:\n\n  lint:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        # only use one version for the lint step\n        python-version: [3.9]\n\n    steps:\n\n      - id: checkout-code\n        uses: actions/checkout@v3\n        with:\n          # Do not persist the token during execution of this job.\n          persist-credentials: false\n\n      - id: prepare-python\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - id: dependencies\n        run: |\n          pip install .\n          pip install \".[dev]\"\n\n      - id: pylint\n        run: make lint\n\n      - id: mypy\n        run: make mypy\n\n      - id: validate-style\n        run: |\n          make fmt\n          if [ $(git diff --name-only --diff-filter=ACMR | wc -l ) != 0 ]; then\n            echo \"Reformatting failed! Please run make fmt on your commits and resubmit!\" 1>&2;\n            git diff;\n            exit 1;\n          fi\n\n  test:\n    runs-on: ubuntu-22.04\n    needs: lint\n    strategy:\n      max-parallel: 5\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n      - id: checkout-code\n        uses: actions/checkout@v3\n\n      - id: prepare-python\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - id: dependencies\n        run: |\n          # Setup the Postgres repositories\n          sudo sh -c 'echo \"deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main 14\" > /etc/apt/sources.list.d/pgdg.list'\n          wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -\n          sudo apt-get update\n          # Setup build deps\n          sudo apt-get install -y libsnappy-dev postgresql-10 postgresql-11 postgresql-12 postgresql-13 postgresql-14 postgresql-15 postgresql-16\n          # Setup common python dependencies\n          python -m pip install --upgrade pip\n          pip install .\n          pip install \".[constraints]\"\n          pip install -e .\n\n      - id: unittest\n        run: make coverage\n\n      - id: upload-codecov\n        # Third-party action pinned to v3.1.1\n        uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70\n        with:\n          verbose: true\n", "state": "active", "repository": "Aiven-Open/pghoard"}
{"mined_at": "2024-07-15T18:44:27.837151", "created_at": "2021-01-28T16:40:02+01:00", "updated_at": "2021-01-28T16:40:02+01:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [main]\n  schedule:\n    - cron: \"42 20 * * 6\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"python\"]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n          # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 https://git.io/JvXDl\n\n      # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n      #    and modify them (or add more) to build your code if your project\n      #    uses a compiled language\n\n      #- run: |\n      #   make bootstrap\n      #   make release\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "Aiven-Open/pghoard"}
{"mined_at": "2024-07-15T18:44:28.998731", "created_at": "2021-08-17T15:11:00+02:00", "updated_at": "2021-08-18T10:33:27+02:00", "name": "Sphinx Pages", "path": ".github/workflows/sphinx.yml", "contents": "name: Sphinx Pages\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    name: Sphinx Pages\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Checkout Main Branch\"\n        uses: actions/checkout@v2\n        with:\n          persist-credentials: false\n          path: main\n          ref: main\n\n      - name: \"Checkout GitHub Pages Branch\"\n        uses: actions/checkout@v2\n        with:\n          persist-credentials: false\n          path: gh-pages\n          ref: gh-pages\n\n      - name: \"Setup Python & Install Spinx\"\n        uses: actions/setup-python@v3\n\n      - name: \"Install Sphinx & Theme\"\n        run: pip install sphinx==4.5.0 sphinx-rtd-theme==1.0.0\n\n      - name: \"Run Sphinx\"\n        run: sphinx-build -b html main/docs gh-pages -E -d $GITHUB_WORKSPACE/.doctree\n\n      - name: \"Commit & Push Changes (If Any)\"\n        run: |\n          cd gh-pages\n          git add -A\n          git config --global user.email \"$(git show --format=%ae -s)\"\n          git config --global user.name \"$(git show --format=%an -s)\"\n          git commit -m \"From $GITHUB_REF $(echo ${GITHUB_SHA} | cut -c 1-8)\"\n          git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\n          git push\n", "state": "active", "repository": "Aiven-Open/pghoard"}
{"mined_at": "2024-07-15T18:44:30.013711", "created_at": "2022-03-10T21:18:21+01:00", "updated_at": "2022-03-14T10:40:12+01:00", "name": "Sync master from main", "path": ".github/workflows/sync-main-and-master.yml", "contents": "name: \"Sync master from main\"\non:\n  push:\n    branches:\n      - main\n\njobs:\n  sync_master_from_main:\n    runs-on: ubuntu-latest\n    name: Sync master from main\n\n    steps:\n      - name: Checkout main\n        uses: actions/checkout@v3\n        with:\n          ref: main\n          fetch-depth: 0\n\n      - name: Push to master\n        run: git push origin main:master\n", "state": "active", "repository": "Aiven-Open/pghoard"}
{"mined_at": "2024-07-15T18:44:31.099200", "created_at": "2022-01-06T10:09:54+01:00", "updated_at": "2022-01-06T10:09:54+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "Aiven-Open/pghoard"}
{"mined_at": "2024-07-15T18:44:33.504681", "created_at": "2022-06-30T22:08:26+02:00", "updated_at": "2022-06-30T22:11:08+02:00", "name": "Ansible Lint", "path": ".github/workflows/ansible-lint.yml", "contents": "name: Ansible Lint # feel free to pick your own name\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      # Important: This sets up your GITHUB_WORKSPACE environment variable\n      - uses: actions/checkout@v3\n\n      - name: Lint Ansible Playbook\n        uses: ansible/ansible-lint-action@v6\n        # Let's point it to the path\n        with:\n          path: \"ansible/\"\n", "state": "active", "repository": "validatedpatterns/ansible-edge-gitops"}
{"mined_at": "2024-07-15T18:44:34.733151", "created_at": "2022-03-30T17:00:44+02:00", "updated_at": "2022-03-30T17:00:44+02:00", "name": "Unit tests", "path": ".github/workflows/linter.yml", "contents": "---\nname: Unit tests\n\n#\n# Documentation:\n# https://help.github.com/en/articles/workflow-syntax-for-github-actions\n#\n\n#############################\n# Start the job on all push #\n#############################\non: [push, pull_request]\n\n###############\n# Set the Job #\n###############\njobs:\n  build:\n    # Name the Job\n    name: Unit Test Code Base\n    # Set the agent to run on\n    runs-on: ubuntu-latest\n\n    ##################\n    # Load all steps #\n    ##################\n    steps:\n      ##########################\n      # Checkout the code base #\n      ##########################\n      - name: Checkout Code\n        uses: actions/checkout@v3\n        with:\n          # Full git history is needed to get a proper list of changed files within `super-linter`\n          fetch-depth: 0\n      - name: Setup helm\n        uses: azure/setup-helm@v3\n        with:\n          version: 'v3.13.2'\n        id: install\n\n      ################################\n      # Run Linter against code base #\n      ################################\n      # - name: Lint Code Base\n      #   uses: github/super-linter@v4\n      #   env:\n      #     VALIDATE_ALL_CODEBASE: false\n      #     DEFAULT_BRANCH: main\n      #     GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - name: Run make test\n        run: |\n          make test\n      - name: Run make helmlint\n        run: |\n          make helmlint\n", "state": "active", "repository": "validatedpatterns/ansible-edge-gitops"}
{"mined_at": "2024-07-15T18:44:35.962912", "created_at": "2022-06-27T18:05:51+02:00", "updated_at": "2022-06-27T21:19:21+02:00", "name": "Super linter", "path": ".github/workflows/superlinter.yml", "contents": "---\nname: Super linter\n\non: [push, pull_request]\n\njobs:\n  build:\n    # Name the Job\n    name: Super linter\n    # Set the agent to run on\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v3\n        with:\n          # Full git history is needed to get a proper list of changed files within `super-linter`\n          fetch-depth: 0\n\n      ################################\n      # Run Linter against code base #\n      ################################\n      - name: Lint Code Base\n        uses: github/super-linter/slim@v5\n        env:\n          VALIDATE_ALL_CODEBASE: true\n          DEFAULT_BRANCH: main\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # These are the validation we disable atm\n          VALIDATE_BASH: false\n          VALIDATE_JSCPD: false\n          VALIDATE_KUBERNETES_KUBECONFORM: false\n          VALIDATE_YAML: false\n          VALIDATE_ANSIBLE: false\n          VALIDATE_DOCKERFILE_HADOLINT: false\n          # VALIDATE_MARKDOWN: false\n          # VALIDATE_NATURAL_LANGUAGE: false\n          #VALIDATE_TEKTON: false\n", "state": "active", "repository": "validatedpatterns/ansible-edge-gitops"}
{"mined_at": "2024-07-15T18:44:38.012891", "created_at": "2024-06-18T16:42:06+02:00", "updated_at": "2024-06-18T16:42:06+02:00", "name": "Docker Image for sbi toolkit", "path": ".github/workflows/build_codespace_image.yaml", "contents": "name: Docker Image for sbi toolkit\n\non:\n  release:\n    types: [published]\n\njobs:\n  build_devcontainer_base:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Log in to GitHub Container Registry\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v3\n        with:\n          context: .\n          file: .devcontainer/Dockerfile\n          platforms: linux/amd64\n          push: true\n          tags: ghcr.io/${{ github.repository }}/base-image-codespaces:latest\n", "state": "active", "repository": "sbi-dev/sbi"}
{"mined_at": "2024-07-15T18:44:39.113580", "created_at": "2024-03-20T17:55:21+01:00", "updated_at": "2024-04-03T08:23:23+02:00", "name": "Continuous Deployment", "path": ".github/workflows/cd.yml", "contents": "name: Continuous Deployment\n\non:\n  push:\n    branches: [main]\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\nconcurrency:\n  group:  ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  cd:\n    name: CD\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        lfs: false\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.8'\n\n    - name: Cache dependency\n      id: cache-dependencies\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .[dev]\n\n    - name: Run the fast and the slow CPU tests with coverage\n      run: |\n        pytest -v -x -n auto -m \"not gpu\" --cov=sbi --cov-report=xml tests/\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4-beta\n      with:\n        env_vars: OS,PYTHON\n        file: ./coverage.xml\n        flags: unittests\n        name: codecov-sbi-all-cpu\n        token: ${{ secrets.CODECOV_TOKEN }}\n\n    - name: Check doc building\n      run: |\n        jupyter nbconvert --to markdown tutorials/*.ipynb --output-dir docs/tutorial/\n        jupyter nbconvert --to markdown examples/*.ipynb --output-dir docs/examples/\n        mkdocs build -f docs/mkdocs.yml --site-dir site\n", "state": "active", "repository": "sbi-dev/sbi"}
{"mined_at": "2024-07-15T18:44:40.282353", "created_at": "2024-03-20T17:06:04+01:00", "updated_at": "2024-04-03T08:23:23+02:00", "name": "Continuous Integration", "path": ".github/workflows/ci.yml", "contents": "name: Continuous Integration\n\non: [pull_request, workflow_dispatch]\n\ndefaults:\n  run:\n    shell: bash\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  ci:\n    name: CI\n    runs-on: ubuntu-latest\n    if: |\n      github.event_name == 'push' ||\n      (github.event_name == 'pull_request' && github.event.pull_request.draft == false)\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8']\n        torch-version: ['1.11', '2.2']\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        lfs: false\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache dependency\n      id: cache-dependencies\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.torch-version }}$\n        restore-keys: |\n          ${{ runner.os }}-pip-${{ matrix.python-version }}-\n          ${{ runner.os }}-pip-\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install torch==${{ matrix.torch-version }} --extra-index-url https://download.pytorch.org/whl/cpu\n        pip install -e .[dev]\n\n    - name: Run the fast CPU tests with coverage\n      run: |\n        pytest -v -x -n auto -m \"not slow and not gpu\" --cov=sbi --cov-report=xml tests/\n\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        env_vars: OS,PYTHON\n        file: ./coverage.xml\n        flags: unittests\n        name: codecov-sbi-fast-cpu\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "sbi-dev/sbi"}
{"mined_at": "2024-07-15T18:44:41.319930", "created_at": "2020-04-07T08:55:59+02:00", "updated_at": "2024-03-22T10:37:40+01:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": null, "state": "active", "repository": "sbi-dev/sbi"}
{"mined_at": "2024-07-15T18:44:42.347936", "created_at": "2023-03-15T08:27:39+01:00", "updated_at": "2024-06-10T21:04:38+02:00", "name": "Linting", "path": ".github/workflows/lint.yml", "contents": "name: Linting\n\non:\n  pull_request:\n  push:\n    branches: [main]\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  pre-commit:\n    name: ruff and hooks.\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n      - uses: pre-commit/action@v3.0.1\n        with:\n          extra_args: --all-files --show-diff-on-failure\n\n  pyright:\n    name: Check types\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          lfs: false\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n\n      - name: Cache dependency\n        id: cache-dependencies\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pip\n          key: ubuntu-latest-pip-3.8\n          restore-keys: |\n            ubuntu-latest-pip-\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install torch --extra-index-url https://download.pytorch.org/whl/cpu\n          pip install -e .[dev]\n\n      - name: Check types with pyright\n        run: |\n          pyright sbi\n", "state": "active", "repository": "sbi-dev/sbi"}
{"mined_at": "2024-07-15T18:44:43.341679", "created_at": "2024-04-03T08:23:23+02:00", "updated_at": "2024-04-03T08:23:23+02:00", "name": "Manual-Test", "path": ".github/workflows/manual_test.yml", "contents": "name: Manual-Test\n\non:\n  workflow_dispatch:\n    inputs:\n      pytest-marker:\n        description: \"Combination of markers to restrict the tests, use '' to run all tests.\"\n        type: choice\n        options:\n          - 'not slow and not gpu'\n          - 'not gpu'\n          - 'not slow'\n          - ''\n        default: ''\n        required: true\n\ndefaults:\n  run:\n    shell: bash\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: manual-test\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.8']\n        torch-version: ['1.11', '2.2']\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n        lfs: false\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Cache dependency\n      id: cache-dependencies\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pip\n        key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ matrix.torch-version }}$\n        restore-keys: |\n          ${{ runner.os }}-pip-${{ matrix.python-version }}-\n          ${{ runner.os }}-pip-\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install torch==${{ matrix.torch-version }} --extra-index-url https://download.pytorch.org/whl/cpu\n        pip install -e .[dev]\n\n    - name: Run the selected tests without coverage\n      run: |\n        pytest -v -x -m ${{ inputs.pytest-marker }} tests/\n", "state": "active", "repository": "sbi-dev/sbi"}
{"mined_at": "2024-07-15T18:44:44.342331", "created_at": "2024-06-11T10:57:45+02:00", "updated_at": "2024-06-11T10:57:45+02:00", "name": "Docker Image for sbi toolkit", "path": ".github/workflows/publish-ghcr.yaml", "contents": null, "state": "active", "repository": "sbi-dev/sbi"}
{"mined_at": "2024-07-15T18:44:45.336600", "created_at": "2024-02-22T09:41:45+01:00", "updated_at": "2024-02-22T09:41:45+01:00", "name": "Ruff", "path": ".github/workflows/ruff.yml", "contents": null, "state": "active", "repository": "sbi-dev/sbi"}
{"mined_at": "2024-07-15T18:44:46.396331", "created_at": "2021-12-20T09:36:07+01:00", "updated_at": "2021-12-20T09:36:07+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sbi-dev/sbi"}
{"mined_at": "2024-07-15T18:44:48.454998", "created_at": "2023-11-28T11:26:19+01:00", "updated_at": "2024-02-28T16:05:57+01:00", "name": "Continuous Integration", "path": ".github/workflows/ci.yml", "contents": "# NOTES:\n# - The map syntax used for matrix is flagged red but actually works\n# - This runs everything in Python 3.12, except the fulltest which is also run in 3.10\n# - Only coretest and fulltest environments are cached due to space limit\n\nname: Continuous Integration\non:\n  push:\n    branches: main\n  pull_request:\n    branches: main\n  workflow_dispatch:\n\nenv:\n  COVERAGE_OVERALL_THRESH: 70      # threshold for overall coverage check\n  COVERAGE_INDIVIDUAL_THRESH: 45   # threshold for individual coverage check\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  changelog:\n    name: \"Changelog\"\n    runs-on: ubuntu-latest\n    if: ${{ github.event_name == 'pull_request' }}\n    continue-on-error: true\n    steps:\n      - uses: actions/checkout@v4\n      - name: Assert Changelog Edit\n        run: |\n          git fetch origin main:main\n          NUM_ADDED=`git diff --numstat main HEAD CHANGELOG.md | cut -d$'\\t' -f1`\n          echo \"Changelog differences: $NUM_ADDED\"\n          if [ \"$NUM_ADDED\" -gt \"0\" ]; then\n            echo \"SUCCESS\"\n            exit 0\n          else\n            echo \"ERROR - Nothing has been added to CHANGELOG.md\"\n            exit 1\n          fi\n\n  reminder:\n    runs-on: ubuntu-latest\n    name: \"Reminder\"\n    continue-on-error: true\n    permissions:\n      issues: write\n    steps:\n      - name: check reminders and notify\n        uses: agrc/reminder-action@v1\n\n  lint:\n    strategy:\n      matrix:\n        py-version: [ {semantic: '3.12', tox: 'py312'} ]\n    name: Lint ${{ matrix.py-version.semantic }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.py-version.semantic }}\n      - name: Run linting\n        run: |\n          pip install tox-uv\n          tox -e lint-${{ matrix.py-version.tox }}\n\n  build-docs:\n    name: \"Build Docs\"\n    runs-on: ubuntu-latest\n    needs: [lint]\n    permissions:\n      contents: read\n      pages: write\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with: {python-version: \"3.12\"}\n      - name: Build Docs\n        run: |\n          pip install tox-uv\n          tox -e docs-py312 -- -r\n          \n  typecheck:\n    needs: [lint]\n    strategy:\n      matrix:\n        py-version: [ {semantic: '3.12', tox: 'py312'} ]\n    name: Type Check ${{ matrix.py-version.semantic }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.py-version.semantic }}\n      - name: Run type check\n        run: |\n          pip install tox-uv\n          tox -e mypy-${{ matrix.py-version.tox }}\n\n  audit:\n    needs: [lint]\n    strategy:\n      matrix:\n        py-version: [ {semantic: '3.12', tox: 'py312'} ]\n    name: Audit ${{ matrix.py-version.semantic }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.py-version.semantic }}\n      - name: Run pip-audit\n        run: |\n          pip install tox-uv\n          tox -e audit-${{ matrix.py-version.tox }}\n\n  coretest:\n    needs: [typecheck, audit]\n    strategy:\n      matrix:\n        py-version: [ {semantic: '3.10', tox: 'py310'} ]\n    name: Core Tests ${{ matrix.py-version.semantic }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.py-version.semantic }}\n      - uses: actions/cache@v4\n        with:\n          path: .tox/coretest-${{ matrix.py-version.tox }}\n          key: coretest-${{ matrix.py-version.tox }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('tox.ini') }}\n      - name: Run core tests\n        run: |\n          pip install tox-uv\n          tox -e coretest-${{ matrix.py-version.tox }}\n\n  fulltest:\n    needs: [typecheck, audit]\n    strategy:\n      matrix:\n        py-version: [ {semantic: '3.10', tox: 'py310'}, {semantic: '3.12', tox: 'py312'} ]\n    name: Full Tests ${{ matrix.py-version.semantic }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.py-version.semantic }}\n      - uses: actions/cache@v4\n        with:\n          path: .tox/fulltest-${{ matrix.py-version.tox }}\n          key: fulltest-${{ matrix.py-version.tox }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('tox.ini') }}\n      - name: Run full tests\n        run: |\n          pip install tox-uv\n          tox -e fulltest-${{ matrix.py-version.tox }} -- --cov-report=xml\n      - name: \"Assert Overall Coverage\"\n        run: |\n          pip install coverage\n          coverage report --fail-under=${{ env.COVERAGE_OVERALL_THRESH }}\n      - name: \"Assert Individual Coverage\"\n        shell: bash\n        run: |\n          coverage report |\n          grep -E -o '[0-9]+%' |\n          tr -d '%' |\n          sed '$d' |\n          awk '{if ( $1<${{ env.COVERAGE_INDIVIDUAL_THRESH }} ) exit 1 }'\n", "state": "active", "repository": "emdgroup/baybe"}
{"mined_at": "2024-07-15T18:44:49.475930", "created_at": "2023-11-30T15:12:21+01:00", "updated_at": "2023-11-30T15:12:21+01:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non:\n  release:\n    types:\n      - published\n  workflow_dispatch:\n    inputs:\n      force:\n        description: 'Force'\n        default: false\n        required: false\n        type: boolean\n      tag:\n        description: 'Specify tag (empty builds branch HEAD)'\n        required: false\n        default: ''\n\nconcurrency:\n  group: ${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pages: write\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.tag || github.ref }}\n      - uses: actions/setup-python@v5\n        with: {python-version: \"3.10\"}\n      - name: Install tox\n        run: pip install tox-uv\n      - name: Build Docs ${{ inputs.force == true && '(Force)' || '' }}\n        run: tox -e docs-py310 ${{ inputs.force == true && '-- -f -r' || '-- -r' }}\n      - name: Upload docs artifact\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: 'docs/build'\n\n  deploy:\n    needs: build\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pages: write\n      id-token: write\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v1\n", "state": "active", "repository": "emdgroup/baybe"}
{"mined_at": "2024-07-15T18:44:50.607234", "created_at": "2023-11-28T14:51:28+01:00", "updated_at": "2023-11-28T14:51:28+01:00", "name": "Regular Checks", "path": ".github/workflows/regular.yml", "contents": "# NOTES:\n# - The map syntax used for matrix is flagged red but actually works\n# - This runs everything in Python 3.10, 3.11 and 3.12\n# - No environments are cached due to space limit\n\nname: Regular Checks\non:\n  schedule:\n    # Run roughly every 15 days at 02:08 UTC\n    - cron: '8 2 1,16 * *'\n  workflow_dispatch:\n\nenv:\n  COVERAGE_OVERALL_THRESH: 70      # threshold for overall coverage check\n  COVERAGE_INDIVIDUAL_THRESH: 45   # threshold for individual coverage check\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  reminder:\n    runs-on: ubuntu-latest\n    name: \"Reminder\"\n    continue-on-error: true\n    permissions:\n      issues: write\n    steps:\n      - name: check reminders and notify\n        uses: agrc/reminder-action@v1\n\n  # Warns about broken links in the docs. Especially useful for\n  # those that point to our own github.io page (linkcheck is disabled in the\n  # CI pipeline, because the respective pages are yet to be created at that time).\n  docs:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with: {python-version: \"3.10\"}\n      - name: Build Docs\n        run: |\n          pip install tox-uv\n          tox -e docs-py310 -- -r\n\n  lint:\n    strategy:\n      fail-fast: false\n      matrix:\n        py-version: [ {semantic: '3.10', tox: 'py310'},\n                      {semantic: '3.11', tox: 'py311'},\n                      {semantic: '3.12', tox: 'py312'} ]\n    name: Lint ${{ matrix.py-version.semantic }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.py-version.semantic }}\n      - name: Run linting\n        run: |\n          pip install tox-uv\n          tox -e lint-${{ matrix.py-version.tox }}\n\n  typecheck:\n    needs: [lint]\n    strategy:\n      fail-fast: false\n      matrix:\n        py-version: [ {semantic: '3.10', tox: 'py310'},\n                      {semantic: '3.11', tox: 'py311'},\n                      {semantic: '3.12', tox: 'py312'} ]\n    name: Type Check ${{ matrix.py-version.semantic }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.py-version.semantic }}\n      - name: Run type check\n        run: |\n          pip install tox-uv\n          tox -e mypy-${{ matrix.py-version.tox }}\n\n  audit:\n    needs: [lint]\n    strategy:\n      fail-fast: false\n      matrix:\n        py-version: [ {semantic: '3.10', tox: 'py310'},\n                      {semantic: '3.11', tox: 'py311'},\n                      {semantic: '3.12', tox: 'py312'} ]\n    name: Audit ${{ matrix.py-version.semantic }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.py-version.semantic }}\n      - name: Run pip-audit\n        run: |\n          pip install tox-uv\n          tox -e audit-${{ matrix.py-version.tox }}\n\n  coretest:\n    needs: [typecheck, audit]\n    strategy:\n      fail-fast: false\n      matrix:\n        py-version: [ {semantic: '3.10', tox: 'py310'},\n                      {semantic: '3.11', tox: 'py311'},\n                      {semantic: '3.12', tox: 'py312'} ]\n    name: Core Tests ${{ matrix.py-version.semantic }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.py-version.semantic }}\n      - uses: actions/cache@v4\n        with:\n          path: .tox/coretest-${{ matrix.py-version.tox }}\n          key: coretest-${{ matrix.py-version.tox }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('tox.ini') }}\n      - name: Run core tests\n        run: |\n          pip install tox-uv\n          tox -e coretest-${{ matrix.py-version.tox }}\n\n  fulltest:\n    needs: [typecheck, audit]\n    strategy:\n      fail-fast: false\n      matrix:\n        py-version: [ {semantic: '3.10', tox: 'py310'},\n                      {semantic: '3.11', tox: 'py311'},\n                      {semantic: '3.12', tox: 'py312'} ]\n    name: Full Tests ${{ matrix.py-version.semantic }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: ${{ matrix.py-version.semantic }}\n      - uses: actions/cache@v4\n        with:\n          path: .tox/fulltest-${{ matrix.py-version.tox }}\n          key: fulltest-${{ matrix.py-version.tox }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('tox.ini') }}\n      - name: Run full tests\n        run: |\n          pip install tox-uv\n          tox -e fulltest-${{ matrix.py-version.tox }} -- --cov-report=xml\n      - name: \"Assert Overall Coverage\"\n        run: |\n          pip install coverage\n          coverage report --fail-under=${{ env.COVERAGE_OVERALL_THRESH }}\n      - name: \"Assert Individual Coverage\"\n        shell: bash\n        run: |\n          coverage report |\n          grep -E -o '[0-9]+%' |\n          tr -d '%' |\n          sed '$d' |\n          awk '{if ( $1<${{ env.COVERAGE_INDIVIDUAL_THRESH }} ) exit 1 }'\n", "state": "active", "repository": "emdgroup/baybe"}
{"mined_at": "2024-07-15T18:44:51.834112", "created_at": "2023-12-01T14:56:45+01:00", "updated_at": "2023-12-01T14:56:45+01:00", "name": "Build & Publish Package", "path": ".github/workflows/release.yml", "contents": "name: Build & Publish Package\n\non:\n  push:\n    tags: \n      - '*'\n  release:\n    types:\n      - published\n      \nconcurrency:\n  group: ${{ github.event_name }}_${{  github.ref_name }}\n\njobs:\n  # Build and verify wheels\n  build:\n    name: Build & Verify Package\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Clean\n        run: |\n          python -c 'import shutil; [shutil.rmtree(p, True) for p in (\"build\", \"dist\")]'\n          python -c 'import pathlib, shutil; [shutil.rmtree(p, True) for p in pathlib.Path(\".\").glob(\"*.egg-info\")]'\n      - name: Create Wheel and Dist\n        run: |\n          pip install build\n          python -m build --sdist --wheel --outdir dist/ .\n          ls -lat dist\n      - name: Check Wheel\n        shell: bash\n        run: |\n          pip install check-wheel-contents     \n          check-wheel-contents dist/*.whl\n      - name: Upload Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: Dist_${{  github.ref_name }}\n          path: dist\n\n  # Upload to Test PyPI on every tag\n  release-test-pypi:\n    needs: build\n    name: Publish PyPI TEST\n    environment: release-test-pypi\n    if: github.repository_owner == 'emdgroup' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n    runs-on: ubuntu-latest\n    steps:\n      - name: Download packages built\n        uses: actions/download-artifact@v4\n        with:\n          name: Dist_${{  github.ref_name }}\n          path: dist\n      - name: Upload package to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          password: ${{ secrets.TEST_PYPI_TOKEN }}\n\n  # Upload to real PyPI on GitHub Releases.\n  release-pypi:\n    needs: build\n    name: Publish PyPI PROD\n    environment: release-pypi\n    if: github.repository_owner == 'emdgroup' && github.event.action == 'published'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: '3.12'\n      - name: Install test-package\n        run: |\n          pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ baybe==${{  github.ref_name }}\n      - name: Download packages built\n        uses: actions/download-artifact@v4\n        with:\n          name: Dist_${{  github.ref_name }}\n          path: dist\n      - name: Upload package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "emdgroup/baybe"}
{"mined_at": "2024-07-15T18:44:52.960073", "created_at": "2024-02-26T15:45:52+01:00", "updated_at": "2024-02-26T15:45:52+01:00", "name": "Create Issue Reminder", "path": ".github/workflows/reminders.yml", "contents": "name: 'Create Issue Reminder'\n\npermissions:\n  issues: write\n\non:\n  issue_comment:\n    types: [created, edited]\n\njobs:\n  reminder:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: check for reminder\n        uses: agrc/create-reminder-action@v1", "state": "active", "repository": "emdgroup/baybe"}
{"mined_at": "2024-07-15T18:44:55.087430", "created_at": "2022-03-12T00:00:22+01:00", "updated_at": "2022-03-30T11:50:14+02:00", "name": "Generate & Deploy Docs", "path": ".github/workflows/docs.yml", "contents": "name: Generate & Deploy Docs\n\non:\n  push:\n    tags:\n    branches:\n      - 3.x\n      - 2.x\n      - 1.x\n      - 0.x\n\njobs:\n  deploy:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Clone Source Repository\n        uses: actions/checkout@v3\n\n      - name: Fetch git tags\n        run: git fetch --tags origin\n\n      - name: Clone Generated Repository\n        uses: actions/checkout@v3\n        with:\n          token: ${{ secrets.ACCESS_TOKEN }}\n          repository: fizzadar/docs.pyinfra.com\n          path: docs/public/\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n\n      - name: Install\n        run: |\n          pip install '.[docs]'\n          pip install 'jinja2<3.1'\n\n      - name: Generate documentation\n        run: scripts/build_public_docs.sh\n        env:\n          PYTHONPATH: '.'\n\n      - name: Push & Update\n        run: |\n          cd docs/public/\n\n          if [[ `git status --porcelain` ]]; then\n            git config user.name github-actions\n            git config user.email github-actions@github.com\n            git add .\n            git commit -m \"Docs build $(date -I)\"\n            git push origin HEAD:main\n          fi\n", "state": "active", "repository": "pyinfra-dev/pyinfra"}
{"mined_at": "2024-07-15T18:44:56.123707", "created_at": "2020-11-12T09:32:38+01:00", "updated_at": "2022-06-20T12:45:05+02:00", "name": "Lint & Test", "path": ".github/workflows/test.yml", "contents": "name: Lint & Test\n\non:\n  push:\n    branches:\n      - 3.x\n      - 2.x\n      - 1.x\n      - 0.x\n  pull_request:\n\njobs:\n  # Linting\n  #\n\n  lint:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - run: pip install '.[test]'\n      - run: flake8\n\n  type-check:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - run: pip install '.[test]'\n      - run: mypy\n\n  # Unit tests\n  #\n\n  unit-test:\n    needs:\n      - lint\n      - type-check\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-latest]\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - os: macos-12\n            python-version: \"3.11\"\n          - os: windows-2022\n            python-version: \"3.11\"\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - run: pip install '.[test]'\n      - run: pytest --cov --disable-warnings\n      - uses: codecov/codecov-action@v3\n\n  # End-to-end tests\n  #\n\n  end-to-end-test:\n    needs:\n      - lint\n      - type-check\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, ubuntu-latest]\n        test-name: [local, ssh, docker]\n        include:\n          - os: macos-latest\n            test-name: local\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n      - run: pip install '.[test]'\n      - run: pytest -m end_to_end_${{ matrix.test-name }}\n\n  # Finally, single jon to check if all completed, for use in protected branch\n  #\n\n  tests-done:\n    if: ${{ always() }}\n    needs:\n      - lint\n      - type-check\n      - unit-test\n      - end-to-end-test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: matrix-org/done-action@v2\n        with:\n          needs: ${{ toJSON(needs) }}\n", "state": "active", "repository": "pyinfra-dev/pyinfra"}
{"mined_at": "2024-07-15T18:44:58.387850", "created_at": "2023-10-16T21:55:53+02:00", "updated_at": "2023-10-16T22:03:27+02:00", "name": "benchmark", "path": ".github/workflows/benchmark.yml", "contents": null, "state": "active", "repository": "festim-dev/FESTIM"}
{"mined_at": "2024-07-15T18:44:59.514426", "created_at": "2023-10-07T16:40:27+02:00", "updated_at": "2023-10-11T20:23:46+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [pull_request, push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n\n    - name: Set up Conda\n      uses: conda-incubator/setup-miniconda@v2\n      with:\n        activate-environment: myenv\n        # mamba-version: \"*\"\n        channels: conda-forge, defaults\n\n    - name: Create Conda environment\n      shell: bash -l {0}\n      run: |\n        # conda upgrade --strict-channel-priority -c conda-forge --all\n        conda install -c conda-forge fenics numpy=1.24 python=3.10\n\n    - name: Install dependencies\n      shell: bash -l {0}\n      run: |\n        pip install pytest pytest-cov\n\n    - name: Run tests\n      shell: bash -l {0}\n      run: |\n        pytest test/ --cov festim --cov-report xml --cov-report term\n    \n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@v4\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "festim-dev/FESTIM"}
{"mined_at": "2024-07-15T18:45:00.658487", "created_at": "2023-10-18T16:14:17+02:00", "updated_at": "2023-10-18T16:17:27+02:00", "name": "Conda CI", "path": ".github/workflows/ci_conda.yml", "contents": null, "state": "active", "repository": "festim-dev/FESTIM"}
{"mined_at": "2024-07-15T18:45:01.700301", "created_at": "2023-10-18T16:14:17+02:00", "updated_at": "2023-10-18T16:14:17+02:00", "name": "Docker CI", "path": ".github/workflows/ci_docker.yml", "contents": null, "state": "active", "repository": "festim-dev/FESTIM"}
{"mined_at": "2024-07-15T18:45:02.787936", "created_at": "2022-04-06T18:02:40+02:00", "updated_at": "2022-04-11T13:09:05+02:00", "name": "Lint", "path": ".github/workflows/code_formatting.yml", "contents": "name: Lint\n\non: [pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: psf/black@stable", "state": "active", "repository": "festim-dev/FESTIM"}
{"mined_at": "2024-07-15T18:45:03.906403", "created_at": "2023-10-11T17:57:44+02:00", "updated_at": "2023-10-11T17:57:44+02:00", "name": ".github/workflows/codecov.yml", "path": ".github/workflows/codecov.yml", "contents": null, "state": "active", "repository": "festim-dev/FESTIM"}
{"mined_at": "2024-07-15T18:45:05.043535", "created_at": "2023-10-11T16:32:47+02:00", "updated_at": "2023-10-18T14:31:08+02:00", "name": "conda CI", "path": ".github/workflows/conda_ci.yml", "contents": null, "state": "active", "repository": "festim-dev/FESTIM"}
{"mined_at": "2024-07-15T18:45:06.022978", "created_at": "2023-10-11T15:19:04+02:00", "updated_at": "2023-10-11T17:06:27+02:00", "name": "docker CI", "path": ".github/workflows/docker_ci.yml", "contents": null, "state": "active", "repository": "festim-dev/FESTIM"}
{"mined_at": "2024-07-15T18:45:07.174715", "created_at": "2024-06-10T15:58:11+02:00", "updated_at": "2024-07-04T17:31:45+02:00", "name": "Documentation test", "path": ".github/workflows/doctest.yml", "contents": null, "state": "active", "repository": "festim-dev/FESTIM"}
{"mined_at": "2024-07-15T18:45:08.207622", "created_at": "2022-07-27T13:18:58+02:00", "updated_at": "2022-07-27T13:18:58+02:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}", "state": "active", "repository": "festim-dev/FESTIM"}
{"mined_at": "2024-07-15T18:45:10.368424", "created_at": "2022-06-29T15:03:34+02:00", "updated_at": "2022-06-29T15:03:34+02:00", "name": "Check and create tag", "path": ".github/workflows/autotag.yml", "contents": "name: Check and create tag\non:\n  push:\n    branches:\n      - master\n    paths:\n      - vspreview/_metadata.py\n\njobs:\n  new_version:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Get version number\n        run: |\n          echo \"CURR_VER=v$(python -c \"import runpy;runpy.run_path('vspreview/_metadata.py', None, '__github__')\")\" >> $GITHUB_ENV\n      - name: Check if version exists\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        uses: mukunku/tag-exists-action@v1.1.0\n        id: tagcheck\n        with:\n          tag: ${{ env.CURR_VER }}\n\n      - name: Make tag\n        uses: actions/github-script@v3\n        if: steps.tagcheck.outputs.exists == 'false'\n        with:\n          github-token: ${{ secrets.WORKFLOW_TOKEN }}\n          script: |\n            github.git.createRef({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              ref: `refs/tags/${process.env.CURR_VER}`,\n              sha: context.sha\n            })\n      - name: Fallback\n        if: steps.tagcheck.outputs.exists == 'true'\n        run: echo \"Nothing to see here, move along citizen\"", "state": "active", "repository": "Jaded-Encoding-Thaumaturgy/vs-preview"}
{"mined_at": "2024-07-15T18:45:11.597547", "created_at": "2022-12-07T21:37:46+01:00", "updated_at": "2023-05-05T20:50:58+02:00", "name": "check if docs build", "path": ".github/workflows/docs.yml", "contents": "name: check if docs build\n\non: push\n  # push:\n    # paths:\n    #   - \"**.py\"\n    #   - \"**.rst\"\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python 3.12\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.12'\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --upgrade pip\n          pip install -r docs/requirements.txt\n      - name: Building sphinx\n        run: python3 setup.py build_sphinx -W --keep-going\n", "state": "disabled_manually", "repository": "Jaded-Encoding-Thaumaturgy/vs-preview"}
{"mined_at": "2024-07-15T18:45:12.644808", "created_at": "2022-06-29T15:03:34+02:00", "updated_at": "2023-03-10T17:57:20+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non: [push, pull_request]\n\njobs:\n  windows:\n    runs-on: windows-latest\n    strategy:\n      matrix:\n        versions:\n          - 68\n        python-version:\n          - '3.12'\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python3 -m pip install --upgrade pip\n          pip install vapoursynth-portable==${{ matrix.versions }}\n          pip install -r requirements.txt\n", "state": "active", "repository": "Jaded-Encoding-Thaumaturgy/vs-preview"}
{"mined_at": "2024-07-15T18:45:13.850547", "created_at": "2022-06-29T15:03:34+02:00", "updated_at": "2022-06-29T15:03:34+02:00", "name": "Publish releases to PyPI", "path": ".github/workflows/pypipublish.yml", "contents": "name: Publish releases to PyPI\non:\n  push:\n   tags:\n      - v[0-9]+**\n\njobs:\n    package_build:\n        name: Build and push to PyPI\n        runs-on: ubuntu-latest\n        steps:\n        - uses: actions/checkout@v2\n\n        - name: Prep Python\n          uses: actions/setup-python@v2\n          with:\n            python-version: '3.12'\n\n        - name: Install build tools\n          run: |\n              python -m pip install build setuptools twine --user\n          continue-on-error: false\n        - name: Build wheel\n          id: wheel\n          run: |\n              python -m build --wheel --outdir dist/\n          continue-on-error: true\n        - name: Build source distribution\n          id: sdist\n          run: |\n            python -m build --sdist --outdir dist/\n          continue-on-error: true\n        - name: Check the output\n          run: |\n            python -m twine check --strict dist/*\n          continue-on-error: false\n        - name: Die on failure\n          if: steps.wheel.outcome != 'success' && steps.sdist.outcome != 'success'\n          run: exit 1\n        - name: Publish to PyPI\n          uses: pypa/gh-action-pypi-publish@master\n          with:\n            user: __token__\n            password: ${{ secrets.PYPI_TOKEN }}", "state": "active", "repository": "Jaded-Encoding-Thaumaturgy/vs-preview"}
{"mined_at": "2024-07-15T18:45:16.205696", "created_at": "2022-02-15T15:35:58+01:00", "updated_at": "2022-02-15T17:34:37+01:00", "name": "Test docs build", "path": ".github/workflows/test-docs.yml", "contents": "name: \"Test docs build\"\non: \n  pull_request:\n    branches: [master]\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Clone repo\n      uses: actions/checkout@v4\n\n    - name: Install docs dependencies\n      working-directory: ./docs\n      run: pip3 install -r requirements.txt\n\n    - name: Build docs\n      working-directory: ./docs\n      run: sphinx-build -M html . _build -W\n", "state": "active", "repository": "simonsobs/sotodlib"}
{"mined_at": "2024-07-15T18:45:17.434665", "created_at": "2020-06-14T14:35:03+02:00", "updated_at": "2020-06-30T17:25:43+02:00", "name": "Build and Test", "path": ".github/workflows/test.yml", "contents": "\nname:  Build and Test\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  linux:\n    name: Linux with Python-${{ matrix.python }}\n    runs-on: ubuntu-latest\n    env:\n      SOTODLIB_TEST_DISABLE_PLOTS: 1\n    strategy:\n      # Ensure that a test continues even if another fails.  Useful for\n      # debugging multiple problems in parallel.\n      fail-fast: false\n      matrix:\n        include:\n          - python: \"3.8\"\n            pyshort: \"38\"\n          - python: \"3.9\"\n            pyshort: \"39\"\n          - python: \"3.10\"\n            pyshort: \"310\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        name: Install Python\n        with:\n          python-version: ${{ matrix.python }}\n\n      - name: Install OpenMPI for Tests\n        run: |\n          sudo apt update\n          sudo apt install -y libopenmpi-dev\n\n      - name: Install Dependencies\n        run: |\n          python3 -m pip install --upgrade pip\n          python3 -m pip install --upgrade wheel\n          python3 -m pip install mpi4py\n          python3 -m pip install so3g\n          python3 -m pip install pshmem\n          python3 -m pip install --pre toast\n\n      - name: Install sotodlib\n        run: |\n          python3 -m pip install -vvv .[tests]\n\n      - name: Run Serial Tests\n        run: |\n          export OMP_NUM_THREADS=2\n          export OPENBLAS_NUM_THREADS=2\n          export MPI_DISABLE=1\n          python3 setup.py test\n\n      - name: Run MPI Tests\n        run: |\n          export OMP_NUM_THREADS=1\n          export OPENBLAS_NUM_THREADS=1\n          mpirun -np 2 python3 setup.py test\n\n  # FIXME:  Re-enable after testing this procedure on a local\n  # apple machine.\n  #\n  # macos-clang:\n  #   name: MacOS (clang) with Python-${{ matrix.python }}\n  #   runs-on: macos-latest\n  #   env:\n  #     SOTODLIB_TEST_DISABLE_PLOTS: 1\n  #   strategy:\n  #     # Ensure that a test continues even if another fails.  Useful for\n  #     # debugging multiple problems in parallel.\n  #     fail-fast: false\n  #     matrix:\n  #       include:\n  #         - python: \"3.9\"\n  #           pyshort: \"39\"\n  #         - python: \"3.10\"\n  #           pyshort: \"310\"\n  #   steps:\n  #     - name: Cancel Previous Runs\n  #       uses: styfle/cancel-workflow-action@0.12.0\n  #       with:\n  #         access_token: ${{ github.token }}\n\n  #     - name: Checkout\n  #       uses: actions/checkout@v4\n\n  #     - uses: actions/setup-python@v5\n  #       name: Install Python\n  #       with:\n  #         python-version: ${{ matrix.python }}\n\n  #     - name: Install Homebrew Packages\n  #       run: |\n  #         brew install freetype pkg-config libpng\n\n  #     - name: Install Dependencies\n  #       run: |\n  #         python3 -m pip install --upgrade pip\n  #         python3 -m pip install --upgrade wheel\n  #         python3 -m pip install so3g\n  #         python3 -m pip install --pre toast\n\n  #     - name: Install sotodlib\n  #       run: |\n  #         python3 -m pip install -vvv .\n\n  #     - name: Run Serial Tests\n  #       run: |\n  #         export OMP_NUM_THREADS=1\n  #         export OPENBLAS_NUM_THREADS=1\n  #         export MPI_DISABLE=1\n  #         python3 setup.py test\n", "state": "active", "repository": "simonsobs/sotodlib"}
{"mined_at": "2024-07-15T18:45:19.792488", "created_at": "2022-04-01T02:10:25+02:00", "updated_at": "2022-04-01T02:10:25+02:00", "name": "Build and Publish Images", "path": ".github/workflows/build-and-publish-images.yaml", "contents": "name: Build and Publish Images\n\non:\n  workflow_dispatch:\n    inputs:\n      target_platforms:\n        type: choice\n        description: Platforms\n        options: \n        - linux/amd64\n        - linux/arm64\n        - linux/amd64,linux/arm64\n  push:\n    tags:\n      - \"[0-9]+.[0-9]+.[0-9]+\"\n      - \"[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+\"\n      - \"[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+\"\n      - \"[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+\"\n\nenv:\n  GO_VERSION: \"1.21.4\"\n  BUILDKIT_VERSION: \"v0.13.2\"\n\njobs:\n  publish-generic-images:\n    name: Publish\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - image: docker-registry\n          - image: pause-container\n          - image: session-manager\n          - image: training-portal\n          - image: secrets-manager\n          - image: tunnel-manager\n          - image: image-cache\n          - image: assets-server\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Calculate platforms\n        shell: bash\n        run: |\n          TARGET_PLATFORMS=\"${{github.event.inputs.target_platforms}}\"\n          if [ -z \"$TARGET_PLATFORMS\" ]; then\n            TARGET_PLATFORMS=\"${{secrets.TARGET_PLATFORMS}}\"\n          fi\n          if [ -z \"$TARGET_PLATFORMS\" ]; then\n            IS_FORK=$(if [[ $GITHUB_EVENT_NAME == 'push' && $GITHUB_EVENT_PATH ]]; then jq -r .repository.fork <<< $(cat $GITHUB_EVENT_PATH); else echo false; fi)\n            if [ $IS_FORK == \"true\" ]; then\n              TARGET_PLATFORMS=\"linux/amd64\"\n            else\n              TARGET_PLATFORMS=\"linux/amd64,linux/arm64\"\n            fi\n          fi\n          echo \"TARGET_PLATFORMS=${TARGET_PLATFORMS}\" >>${GITHUB_ENV}\n\n      - name: Calculate variables\n        shell: bash\n        run: |\n          REPOSITORY_OWNER=${{github.repository_owner}}\n          echo \"REPOSITORY_OWNER=${REPOSITORY_OWNER,,}\" >>${GITHUB_ENV}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:${{env.BUILDKIT_VERSION}}\n\n      - name: Restore Docker cache (amd64)\n        if: ${{ (matrix.image == 'secrets-manager') || (matrix.image == 'session-manager') || (matrix.image == 'training-portal') || (matrix.image == 'tunnel-manager') }}\n        uses: actions/cache/restore@v4\n        with:\n          path: /tmp/.buildx-cache-amd64-new\n          key: ${{runner.os}}-buildx-cache-amd64-${{matrix.image}}-${{github.sha}}\n          restore-keys: |\n            ${{runner.os}}-buildx-cache-amd64-${{matrix.image}}-\n\n      - name: Restore Docker cache (arm64)\n        if: ${{ (matrix.image == 'secrets-manager') || (matrix.image == 'session-manager') || (matrix.image == 'training-portal') || (matrix.image == 'tunnel-manager') }}\n        uses: actions/cache/restore@v4\n        with:\n          path: /tmp/.buildx-cache-arm64-new\n          key: ${{runner.os}}-buildx-cache-arm64-${{matrix.image}}-${{github.sha}}\n          restore-keys: |\n            ${{runner.os}}-buildx-cache-arm64-${{matrix.image}}-\n\n      - name: Rename cache directories\n        run: |\n          test -d /tmp/.buildx-cache-amd64-new && mv /tmp/.buildx-cache-amd64-new /tmp/.buildx-cache-amd64-old || true\n          test -d /tmp/.buildx-cache-arm64-new && mv /tmp/.buildx-cache-arm64-new /tmp/.buildx-cache-arm64-old || true\n          du -ks /tmp/.buildx-cache-* || true\n\n      - name: Generate container image metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ghcr.io/${{env.REPOSITORY_OWNER}}/educates-${{matrix.image}}\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n\n      - name: Login to GitHub container registry\n        uses: docker/login-action@v3\n        with:\n          username: ${{github.actor}}\n          password: ${{secrets.GITHUB_TOKEN}}\n          registry: ghcr.io\n\n      - name: Build and push ${{matrix.image}} image\n        uses: docker/build-push-action@v5\n        with:\n          context: ${{matrix.image}}\n          platforms: ${{env.TARGET_PLATFORMS}}\n          tags: ${{steps.meta.outputs.tags}}\n          cache-from: |\n            type=local,src=/tmp/.buildx-cache-arm64-old\n            type=local,src=/tmp/.buildx-cache-amd64-old\n          push: true\n\n      - name: Cache build ${{matrix.image}} (amd64)\n        if: contains(env.TARGET_PLATFORMS, 'linux/amd64')\n        uses: docker/build-push-action@v5\n        with:\n          context: ${{matrix.image}}\n          platforms: linux/amd64\n          cache-from: type=local,src=/tmp/.buildx-cache-amd64-old\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-amd64-new\n          push: false\n\n      - name: Cache build ${{matrix.image}} (arm64)\n        if: contains(env.TARGET_PLATFORMS, 'linux/arm64')\n        uses: docker/build-push-action@v5\n        with:\n          context: ${{matrix.image}}\n          platforms: linux/arm64\n          cache-from: type=local,src=/tmp/.buildx-cache-arm64-old\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-arm64-new\n          push: false\n\n      - name: Dump cache directory sizes\n        if: ${{ (matrix.image == 'secrets-manager') || (matrix.image == 'session-manager') || (matrix.image == 'training-portal') || (matrix.image == 'tunnel-manager') }}\n        run: |\n          du -ks /tmp/.buildx-cache-* || true\n\n      - name: Save Docker cache (amd64)\n        if: ${{ (matrix.image == 'secrets-manager') || (matrix.image == 'session-manager') || (matrix.image == 'training-portal') || (matrix.image == 'tunnel-manager') }}\n        uses: actions/cache/save@v4\n        with:\n          path: /tmp/.buildx-cache-amd64-new\n          key: ${{runner.os}}-buildx-cache-amd64-${{matrix.image}}-${{github.sha}}\n\n      - name: Save Docker cache (arm64)\n        if: ${{ (matrix.image == 'secrets-manager') || (matrix.image == 'session-manager') || (matrix.image == 'training-portal') || (matrix.image == 'tunnel-manager') }}\n        uses: actions/cache/save@v4\n        with:\n          path: /tmp/.buildx-cache-arm64-new\n          key: ${{runner.os}}-buildx-cache-arm64-${{matrix.image}}-${{github.sha}}\n\n  publish-workshop-base-image:\n    name: Publish (base-environment)\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Calculate platforms\n        shell: bash\n        run: |\n          TARGET_PLATFORMS=\"${{github.event.inputs.target_platforms}}\"\n          if [ -z \"$TARGET_PLATFORMS\" ]; then\n            TARGET_PLATFORMS=\"${{secrets.TARGET_PLATFORMS}}\"\n          fi\n          if [ -z \"$TARGET_PLATFORMS\" ]; then\n            IS_FORK=$(if [[ $GITHUB_EVENT_NAME == 'push' && $GITHUB_EVENT_PATH ]]; then jq -r .repository.fork <<< $(cat $GITHUB_EVENT_PATH); else echo false; fi)\n            if [ $IS_FORK == \"true\" ]; then\n              TARGET_PLATFORMS=\"linux/amd64\"\n            else\n              TARGET_PLATFORMS=\"linux/amd64,linux/arm64\"\n            fi\n          fi\n          echo \"TARGET_PLATFORMS=${TARGET_PLATFORMS}\" >>${GITHUB_ENV}\n\n      - name: Calculate variables\n        shell: bash\n        run: |\n          REPOSITORY_OWNER=${{github.repository_owner}}\n          echo \"REPOSITORY_OWNER=${REPOSITORY_OWNER,,}\" >>${GITHUB_ENV}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:${{env.BUILDKIT_VERSION}}\n\n      - name: Verify docker daemon image contents\n        run: |\n          docker images\n\n      - name: Remove unwanted images to free storage space\n        run: |\n          docker rmi node:14 || true\n          docker rmi node:16 || true\n          docker rmi node:18 || true\n          docker rmi node:20 || true\n          docker images prune\n\n      - name: Restore Docker cache (amd64)\n        uses: actions/cache/restore@v4\n        with:\n          path: /tmp/.buildx-cache-amd64-new\n          key: ${{runner.os}}-buildx-cache-amd64-base-environment-${{github.sha}}\n          restore-keys: |\n            ${{runner.os}}-buildx-cache-amd64-base-environment-\n\n      - name: Restore Docker cache (arm64)\n        uses: actions/cache/restore@v4\n        with:\n          path: /tmp/.buildx-cache-arm64-new\n          key: ${{runner.os}}-buildx-cache-arm64-base-environment-${{github.sha}}\n          restore-keys: |\n            ${{runner.os}}-buildx-cache-arm64-base-environment-\n\n      - name: Rename cache directories\n        run: |\n          test -d /tmp/.buildx-cache-amd64-new && mv /tmp/.buildx-cache-amd64-new /tmp/.buildx-cache-amd64-old || true\n          test -d /tmp/.buildx-cache-arm64-new && mv /tmp/.buildx-cache-arm64-new /tmp/.buildx-cache-arm64-old || true\n          du -ks /tmp/.buildx-cache-* || true\n\n      - name: Generate container image metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ghcr.io/${{env.REPOSITORY_OWNER}}/educates-base-environment\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=sha\n\n      - name: Login to GitHub container registry\n        uses: docker/login-action@v3\n        with:\n          username: ${{github.actor}}\n          password: ${{secrets.GITHUB_TOKEN}}\n          registry: ghcr.io\n\n      - name: Build and push base-environment image\n        uses: docker/build-push-action@v5\n        with:\n          context: workshop-images/base-environment\n          platforms: ${{env.TARGET_PLATFORMS}}\n          tags: ${{steps.meta.outputs.tags}}\n          cache-from: |\n            type=local,src=/tmp/.buildx-cache-arm64-old\n            type=local,src=/tmp/.buildx-cache-amd64-old\n          push: true\n\n      - name: Cache build ${{matrix.image}} (amd64)\n        if: contains(env.TARGET_PLATFORMS, 'linux/amd64')\n        uses: docker/build-push-action@v5\n        with:\n          context: workshop-images/base-environment\n          platforms: linux/amd64\n          cache-from: type=local,src=/tmp/.buildx-cache-amd64-old\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-amd64-new\n          push: false\n\n      - name: Remove old cache directories\n        run: |\n          rm -rf /tmp/.buildx-cache-amd64-old\n\n      - name: Cache build ${{matrix.image}} (arm64)\n        if: contains(env.TARGET_PLATFORMS, 'linux/arm64')\n        uses: docker/build-push-action@v5\n        with:\n          context: workshop-images/base-environment\n          platforms: linux/arm64\n          cache-from: type=local,src=/tmp/.buildx-cache-arm64-old\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-arm64-new\n          push: false\n\n      - name: Dump cache directory sizes\n        run: |\n          du -ks /tmp/.buildx-cache-* || true\n\n      - name: Save Docker cache (amd64)\n        uses: actions/cache/save@v4\n        with:\n          path: /tmp/.buildx-cache-amd64-new\n          key: ${{runner.os}}-buildx-cache-amd64-base-environment-${{github.sha}}\n\n      - name: Save Docker cache (arm64)\n        uses: actions/cache/save@v4\n        with:\n          path: /tmp/.buildx-cache-arm64-new\n          key: ${{runner.os}}-buildx-cache-arm64-base-environment-${{github.sha}}\n\n  publish-workshop-images:\n    name: Publish\n    runs-on: ubuntu-latest\n    needs:\n      - publish-workshop-base-image\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - image: jdk8-environment\n          - image: jdk11-environment\n          - image: jdk17-environment\n          - image: jdk21-environment\n          - image: conda-environment\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Calculate platforms\n        shell: bash\n        run: |\n          TARGET_PLATFORMS=\"${{github.event.inputs.target_platforms}}\"\n          if [ -z \"$TARGET_PLATFORMS\" ]; then\n            TARGET_PLATFORMS=\"${{secrets.TARGET_PLATFORMS}}\"\n          fi\n          if [ -z \"$TARGET_PLATFORMS\" ]; then\n            IS_FORK=$(if [[ $GITHUB_EVENT_NAME == 'push' && $GITHUB_EVENT_PATH ]]; then jq -r .repository.fork <<< $(cat $GITHUB_EVENT_PATH); else echo false; fi)\n            if [ $IS_FORK == \"true\" ]; then\n              TARGET_PLATFORMS=\"linux/amd64\"\n            else\n              TARGET_PLATFORMS=\"linux/amd64,linux/arm64\"\n            fi\n          fi\n          echo \"TARGET_PLATFORMS=${TARGET_PLATFORMS}\" >>${GITHUB_ENV}\n\n      - name: Calculate variables\n        shell: bash\n        run: |\n          REPOSITORY_OWNER=${{github.repository_owner}}\n          echo \"REPOSITORY_OWNER=${REPOSITORY_OWNER,,}\" >>${GITHUB_ENV}\n          echo \"REPOSITORY_SHA_TAG=sha-${GITHUB_SHA::7}\" >>${GITHUB_ENV}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:${{env.BUILDKIT_VERSION}}\n\n      - name: Verify docker daemon image contents\n        run: |\n          docker images\n\n      - name: Remove unwanted images to free storage space\n        run: |\n          docker rmi node:14 || true\n          docker rmi node:16 || true\n          docker rmi node:18 || true\n          docker rmi node:20 || true\n          docker images prune\n\n      - name: Restore Docker cache (amd64)\n        if: ${{ (matrix.image == 'conda-environment') }}\n        uses: actions/cache/restore@v4\n        with:\n          path: /tmp/.buildx-cache-amd64-new\n          key: ${{runner.os}}-buildx-cache-amd64-${{matrix.image}}-${{github.sha}}\n          restore-keys: |\n            ${{runner.os}}-buildx-cache-amd64-${{matrix.image}}-\n\n      - name: Restore Docker cache (arm64)\n        if: ${{ (matrix.image == 'conda-environment') }}\n        uses: actions/cache/restore@v4\n        with:\n          path: /tmp/.buildx-cache-arm64-new\n          key: ${{runner.os}}-buildx-cache-arm64-${{matrix.image}}-${{github.sha}}\n          restore-keys: |\n            ${{runner.os}}-buildx-cache-arm64-${{matrix.image}}-\n\n      - name: Rename cache directories\n        run: |\n          test -d /tmp/.buildx-cache-amd64-new && mv /tmp/.buildx-cache-amd64-new /tmp/.buildx-cache-amd64-old || true\n          test -d /tmp/.buildx-cache-arm64-new && mv /tmp/.buildx-cache-arm64-new /tmp/.buildx-cache-arm64-old || true\n          du -ks /tmp/.buildx-cache-* || true\n\n      - name: Generate container image metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ghcr.io/${{env.REPOSITORY_OWNER}}/educates-${{matrix.image}}\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n\n      - name: Login to GitHub container registry\n        uses: docker/login-action@v3\n        with:\n          username: ${{github.actor}}\n          password: ${{secrets.GITHUB_TOKEN}}\n          registry: ghcr.io\n\n      - name: Build and push ${{matrix.image}} image\n        uses: docker/build-push-action@v5\n        with:\n          context: workshop-images/${{matrix.image}}\n          platforms: ${{env.TARGET_PLATFORMS}}\n          tags: ${{steps.meta.outputs.tags}}\n          build-args: |\n            IMAGE_REPOSITORY=ghcr.io/${{env.REPOSITORY_OWNER}}\n            BASE_IMAGE_NAME=educates-base-environment\n            PACKAGE_VERSION=${{env.REPOSITORY_SHA_TAG}}\n          cache-from: |\n            type=local,src=/tmp/.buildx-cache-arm64-old\n            type=local,src=/tmp/.buildx-cache-amd64-old\n          push: true\n\n      - name: Cache build ${{matrix.image}} (amd64)\n        if: contains(env.TARGET_PLATFORMS, 'linux/amd64')\n        uses: docker/build-push-action@v5\n        with:\n          context: workshop-images/${{matrix.image}}\n          platforms: linux/amd64\n          build-args: |\n            IMAGE_REPOSITORY=ghcr.io/${{env.REPOSITORY_OWNER}}\n            BASE_IMAGE_NAME=educates-base-environment\n            PACKAGE_VERSION=${{env.REPOSITORY_SHA_TAG}}\n          cache-from: type=local,src=/tmp/.buildx-cache-amd64-old\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-amd64-new\n          push: false\n\n      - name: Remove old cache directories\n        run: |\n          rm -rf /tmp/.buildx-cache-amd64-old\n\n      - name: Cache build ${{matrix.image}} (arm64)\n        if: contains(env.TARGET_PLATFORMS, 'linux/arm64')\n        uses: docker/build-push-action@v5\n        with:\n          context: workshop-images/${{matrix.image}}\n          platforms: linux/arm64\n          build-args: |\n            IMAGE_REPOSITORY=ghcr.io/${{env.REPOSITORY_OWNER}}\n            BASE_IMAGE_NAME=educates-base-environment\n            PACKAGE_VERSION=${{env.REPOSITORY_SHA_TAG}}\n          cache-from: type=local,src=/tmp/.buildx-cache-arm64-old\n          cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-arm64-new\n          push: false\n\n      - name: Dump cache directory sizes\n        if: ${{ (matrix.image == 'conda-environment') }}\n        run: |\n          du -ks /tmp/.buildx-cache-* || true\n\n      - name: Save Docker cache (amd64)\n        if: ${{ (matrix.image == 'conda-environment') }}\n        uses: actions/cache/save@v4\n        with:\n          path: /tmp/.buildx-cache-amd64-new\n          key: ${{runner.os}}-buildx-cache-amd64-${{matrix.image}}-${{github.sha}}\n\n      - name: Save Docker cache (arm64)\n        if: ${{ (matrix.image == 'conda-environment') }}\n        uses: actions/cache/save@v4\n        with:\n          path: /tmp/.buildx-cache-arm64-new\n          key: ${{runner.os}}-buildx-cache-arm64-${{matrix.image}}-${{github.sha}}\n\n  publish-carvel-bundles:\n    name: Bundle\n    runs-on: ubuntu-latest\n    needs:\n      - publish-generic-images\n      - publish-workshop-images\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Install Carvel tools\n        shell: bash\n        run: curl -L https://carvel.dev/install.sh | bash\n\n      - name: Calculate variables\n        shell: bash\n        run: |\n          REPOSITORY_OWNER=${{github.repository_owner}}\n          echo \"REPOSITORY_OWNER=${REPOSITORY_OWNER,,}\" >>${GITHUB_ENV}\n          echo \"REPOSITORY_TAG=${GITHUB_REF##*/}\" >>${GITHUB_ENV}\n          echo \"REPOSITORY_SHA_TAG=sha-${GITHUB_SHA::7}\" >>${GITHUB_ENV}\n\n      - name: Create publish values file\n        shell: bash\n        run: |\n          cat <<EOF > publish-values.yaml\n          clusterInfrastructure:\n            provider: \"custom\"\n          clusterPackages:\n            contour:\n              enabled: true\n              settings:\n                infraProvider: custom\n            cert-manager:\n              enabled: true\n            external-dns:\n              enabled: true\n              settings:\n                infraProvider: custom\n                deployment:\n                  args:\n                    - --provider=custom\n                    - --source=custom\n            certs:\n              enabled: true\n              settings:\n                certProvider: local\n                domains:\n                  - \"example.com\"\n                local:\n                  caCertificate:\n                    ca.crt: \"AA\"\n                    ca.key: \"BB\"\n            kyverno:\n              enabled: true\n            educates:\n              enabled: true\n              settings:\n                clusterIngress:\n                  domain: \"educates.example.com\"\n                imageRegistry:\n                  host: \"ghcr.io\"\n                  namespace: ${{env.REPOSITORY_OWNER}}\n                version: ${{env.REPOSITORY_TAG}}\n          EOF\n\n      - name: Publish educates-installer bundle\n        shell: bash\n        run: |\n          # Create the kbld-images.yaml file with references to educates images\n          ytt -f carvel-packages/installer/config/images.yaml \\\n              -f carvel-packages/installer/config/schema.yaml \\\n              -v imageRegistry.host=ghcr.io \\\n              -v imageRegistry.namespace=${{env.REPOSITORY_OWNER}} \\\n              -v version=${{env.REPOSITORY_TAG}} > carvel-packages/installer/bundle/kbld/kbld-images.yaml\n          # Cat the generated file for debugging purposes\n          cat carvel-packages/installer/bundle/kbld/kbld-images.yaml\n          # Create images lock file. We use a sample values file to pass validations\n          # We properly rewrite references to images via kbld\n          ytt --data-values-file publish-values.yaml \\\n              -f carvel-packages/installer/bundle/config | kbld -f - \\\n              -f carvel-packages/installer/bundle/kbld/kbld-images.yaml \\\n            --imgpkg-lock-output carvel-packages/installer/bundle/.imgpkg/images.yml\n          # Push the bundle to the registry\n          imgpkg push \\\n            -b ghcr.io/${{env.REPOSITORY_OWNER}}/educates-installer:${{env.REPOSITORY_TAG}} \\\n            -f carvel-packages/installer/bundle \\\n            --registry-username=${{github.actor}} \\\n            --registry-password=${{secrets.GITHUB_TOKEN}}\n          # Generate the schema for the bundle\n          ytt -f carvel-packages/installer/bundle \\\n            --data-values-schema-inspect -o openapi-v3 > educates-installer-schema-openapi.yaml\n          # Generate the package.yaml file\n          ytt -f carvel-packages/installer/config/package.yaml \\\n            -f carvel-packages/installer/config/schema.yaml \\\n            -v version=${{env.REPOSITORY_TAG}} \\\n            -v releasedAt=`date -u +\"%Y-%m-%dT%H:%M:%SZ\"` \\\n            --data-value-file openapi=educates-installer-schema-openapi.yaml \\\n            -v imageRegistry.host=ghcr.io \\\n            -v imageRegistry.namespace=${{env.REPOSITORY_OWNER}} > package-repository/packages/installer.educates.dev/educates-installer-${{env.REPOSITORY_TAG}}.yaml\n\n      - name: Save educates-installer.yaml\n        uses: actions/upload-artifact@v4\n        with:\n          name: educates-installer-${{env.REPOSITORY_TAG}}.yaml\n          path: package-repository/packages/installer.educates.dev/educates-installer-${{env.REPOSITORY_TAG}}.yaml\n\n      - name: Publish educates-training-platform package repository\n        shell: bash\n        run: |\n          ytt -f package-repository/packages | kbld -f - --imgpkg-lock-output package-repository/.imgpkg/images.yml\n          imgpkg push --debug -b ghcr.io/${{env.REPOSITORY_OWNER}}/educates-packages:${{env.REPOSITORY_TAG}} -f package-repository --registry-username=${{github.actor}} --registry-password=${{secrets.GITHUB_TOKEN}}\n          ytt -f carvel-packages/repository.yaml -v packageRepository=ghcr.io/${{env.REPOSITORY_OWNER}} -v repositoryVersion=${{env.REPOSITORY_TAG}} > educates-packagerepository.yaml\n\n      - name: Save educates-training-platform repository.yaml\n        uses: actions/upload-artifact@v4\n        with:\n          name: educates-packagerepository.yaml\n          path: educates-packagerepository.yaml\n\n      - name: Save educates-training-platform package repository\n        uses: actions/upload-artifact@v4\n        with:\n          name: package-repository\n          path: package-repository\n\n  build-client-programs-linux-amd64:\n    name: Build (clients) / amd64@linux\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Calculate variables\n        shell: bash\n        run: |\n          REPOSITORY_OWNER=${{github.repository_owner}}\n          echo \"REPOSITORY_OWNER=${REPOSITORY_OWNER,,}\" >>${GITHUB_ENV}\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: ${{env.GO_VERSION}}\n          cache-dependency-path: |\n            client-programs/go.sum\n\n      - name: Build educates client program\n        shell: bash\n        run: |\n          rm -rf client-programs/pkg/renderer/files\n          mkdir client-programs/pkg/renderer/files\n          cp -rp workshop-images/base-environment/opt/eduk8s/etc/themes client-programs/pkg/renderer/files/\n          cd client-programs\n          REPOSITORY_TAG=${GITHUB_REF##*/}\n          IMAGE_REPOSITORY=ghcr.io/${{env.REPOSITORY_OWNER}}\n          go build -o educates-linux-amd64 -ldflags \"-X 'main.projectVersion=$REPOSITORY_TAG' -X 'main.imageRepository=$IMAGE_REPOSITORY'\" cmd/educates/main.go\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: educates-linux-amd64\n          path: client-programs/educates-linux-amd64\n\n  build-client-programs-linux-arm64:\n    name: Build (clients) / arm64@linux\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Calculate variables\n        shell: bash\n        run: |\n          REPOSITORY_OWNER=${{github.repository_owner}}\n          echo \"REPOSITORY_OWNER=${REPOSITORY_OWNER,,}\" >>${GITHUB_ENV}\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: ${{env.GO_VERSION}}\n          cache-dependency-path: |\n            client-programs/go.sum\n\n      - name: Build educates client program\n        shell: bash\n        run: |\n          rm -rf client-programs/pkg/renderer/files\n          mkdir client-programs/pkg/renderer/files\n          cp -rp workshop-images/base-environment/opt/eduk8s/etc/themes client-programs/pkg/renderer/files/\n          cd client-programs\n          REPOSITORY_TAG=${GITHUB_REF##*/}\n          IMAGE_REPOSITORY=ghcr.io/${{env.REPOSITORY_OWNER}}\n          GOOS=linux GOARCH=arm64 go build -o educates-linux-arm64 -ldflags \"-X 'main.projectVersion=$REPOSITORY_TAG' -X 'main.imageRepository=$IMAGE_REPOSITORY'\" cmd/educates/main.go\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: educates-linux-arm64\n          path: client-programs/educates-linux-arm64\n\n  build-client-programs-darwin-amd64:\n    name: Build (clients) / amd64@darwin\n    runs-on: macos-12\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Calculate variables\n        shell: bash\n        run: |\n          REPOSITORY_OWNER=${{github.repository_owner}}\n          echo \"REPOSITORY_OWNER=$(echo \"$REPOSITORY_OWNER\" | tr '[:upper:]' '[:lower:]')\" >>${GITHUB_ENV}\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: ${{env.GO_VERSION}}\n          cache-dependency-path: |\n            client-programs/go.sum\n\n      - name: Build educates client program\n        shell: bash\n        run: |\n          rm -rf client-programs/pkg/renderer/files\n          mkdir client-programs/pkg/renderer/files\n          cp -rp workshop-images/base-environment/opt/eduk8s/etc/themes client-programs/pkg/renderer/files/\n          cd client-programs\n          REPOSITORY_TAG=${GITHUB_REF##*/}\n          IMAGE_REPOSITORY=ghcr.io/${{env.REPOSITORY_OWNER}}\n          # DO NOT USE GOOS/GOARCH for native build as it appears to produce a\n          # binary which is different and cannot create a Kind cluster which can\n          # run both AMD and ARM images. Version with GOOS/GOARCH only retained\n          # here for documentation purposes.\n          # GOOS=darwin GOARCH=amd64 go build -o educates-darwin-amd64 -ldflags \"-X 'main.projectVersion=$REPOSITORY_TAG' -X 'main.imageRepository=$IMAGE_REPOSITORY'\" cmd/educates/main.go\n          go build -o educates-darwin-amd64 -ldflags \"-X 'main.projectVersion=$REPOSITORY_TAG' -X 'main.imageRepository=$IMAGE_REPOSITORY'\" cmd/educates/main.go\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: educates-darwin-amd64\n          path: client-programs/educates-darwin-amd64\n\n  build-client-programs-darwin-arm64:\n    name: Build (clients) / arm64@darwin\n    runs-on: macos-12\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Calculate variables\n        shell: bash\n        run: |\n          REPOSITORY_OWNER=${{github.repository_owner}}\n          echo \"REPOSITORY_OWNER=$(echo \"$REPOSITORY_OWNER\" | tr '[:upper:]' '[:lower:]')\" >>${GITHUB_ENV}\n\n      - name: Setup Go\n        uses: actions/setup-go@v5\n        with:\n          go-version: ${{env.GO_VERSION}}\n          cache-dependency-path: |\n            client-programs/go.sum\n\n      - name: Build educates client program\n        shell: bash\n        run: |\n          rm -rf client-programs/pkg/renderer/files\n          mkdir client-programs/pkg/renderer/files\n          cp -rp workshop-images/base-environment/opt/eduk8s/etc/themes client-programs/pkg/renderer/files/\n          cd client-programs\n          REPOSITORY_TAG=${GITHUB_REF##*/}\n          IMAGE_REPOSITORY=ghcr.io/${{env.REPOSITORY_OWNER}}\n          GOOS=darwin GOARCH=arm64 go build -o educates-darwin-arm64 -ldflags \"-X 'main.projectVersion=$REPOSITORY_TAG' -X 'main.imageRepository=$IMAGE_REPOSITORY'\" cmd/educates/main.go\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: educates-darwin-arm64\n          path: client-programs/educates-darwin-arm64\n\n  publish-client-programs:\n    name: Programs\n    runs-on: ubuntu-latest\n    needs:\n      - build-client-programs-linux-amd64\n      - build-client-programs-linux-arm64\n      - build-client-programs-darwin-amd64\n      - build-client-programs-darwin-arm64\n\n    steps:\n      - name: Restore educates-linux-amd64\n        uses: actions/download-artifact@v4\n        with:\n          name: educates-linux-amd64\n          path: client-programs\n\n      - name: Restore educates-linux-arm64\n        uses: actions/download-artifact@v4\n        with:\n          name: educates-linux-arm64\n          path: client-programs\n\n      - name: Restore educates-darwin-amd64\n        uses: actions/download-artifact@v4\n        with:\n          name: educates-darwin-amd64\n          path: client-programs\n      \n      - name: Restore educates-darwin-arm64\n        uses: actions/download-artifact@v4\n        with:\n          name: educates-darwin-arm64\n          path: client-programs\n\n      - name: Install Carvel tools\n        shell: bash\n        run: curl -L https://carvel.dev/install.sh | bash\n\n      - name: Calculate variables\n        shell: bash\n        run: |\n          REPOSITORY_OWNER=${{github.repository_owner}}\n          echo \"REPOSITORY_OWNER=${REPOSITORY_OWNER,,}\" >>${GITHUB_ENV}\n          echo \"REPOSITORY_TAG=${GITHUB_REF##*/}\" >>${GITHUB_ENV}\n\n      - name: Publish client programs\n        shell: bash\n        run: |\n          chmod +x client-programs/*\n          imgpkg push \\\n            -i ghcr.io/${{env.REPOSITORY_OWNER}}/educates-client-programs:${{env.REPOSITORY_TAG}} \\\n            -f client-programs \\\n            --registry-username=${{github.actor}} \\\n            --registry-password=${{secrets.GITHUB_TOKEN}}\n\n  publish-docker-extension:\n    name: Extension\n    runs-on: ubuntu-latest\n    needs:\n      - publish-client-programs\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Calculate variables\n        shell: bash\n        run: |\n          REPOSITORY_OWNER=${{github.repository_owner}}\n          echo \"REPOSITORY_OWNER=${REPOSITORY_OWNER,,}\" >>${GITHUB_ENV}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          driver-opts: |\n            image=moby/buildkit:${{env.BUILDKIT_VERSION}}\n\n      - name: Generate container image metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ghcr.io/${{env.REPOSITORY_OWNER}}/educates-docker-extension\n          tags: |\n            type=ref,event=branch\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n\n      - name: Login to GitHub container registry\n        uses: docker/login-action@v3\n        with:\n          username: ${{github.actor}}\n          password: ${{secrets.GITHUB_TOKEN}}\n          registry: ghcr.io\n\n      - name: Calculate variables\n        shell: bash\n        run: |\n          echo \"REPOSITORY_TAG=${GITHUB_REF##*/}\" >>${GITHUB_ENV}\n\n      - name: Build and push docker-extension image\n        uses: docker/build-push-action@v5\n        with:\n          context: docker-extension\n          platforms: ${{env.TARGET_PLATFORMS}}\n          build-args: |\n            REPOSITORY=ghcr.io/${{env.REPOSITORY_OWNER}}\n            TAG=${{env.REPOSITORY_TAG}}\n          tags: ${{steps.meta.outputs.tags}}\n          push: true\n\n  release-artifacts:\n    name: Release\n    runs-on: ubuntu-latest\n    if: startsWith(github.ref, 'refs/tags/')\n    needs:\n      - publish-carvel-bundles\n      - build-client-programs-linux-amd64\n      - build-client-programs-linux-arm64\n      - build-client-programs-darwin-amd64\n      - build-client-programs-darwin-arm64\n      - publish-docker-extension\n\n    steps:\n      - name: Calculate variables\n        shell: bash\n        run: |\n          REPOSITORY_TAG=${GITHUB_REF##*/}\n          if [[ \"$REPOSITORY_TAG\" == *-* ]]; then\n            PRERELEASE=true\n          else\n            PRERELEASE=false\n          fi\n          echo \"REPOSITORY_TAG=${REPOSITORY_TAG}\" >>${GITHUB_ENV}\n          echo \"PRERELEASE=${PRERELEASE}\" >>${GITHUB_ENV}\n\n      - name: Restore packagerepository.yaml\n        uses: actions/download-artifact@v4\n        with:\n          name: educates-packagerepository.yaml\n\n      - name: Restore educates-installer.yaml\n        uses: actions/download-artifact@v4\n        with:\n          name: educates-installer-${{env.REPOSITORY_TAG}}.yaml\n\n      - name: Restore educates-linux-amd64\n        uses: actions/download-artifact@v4\n        with:\n          name: educates-linux-amd64\n\n      - name: Restore educates-linux-arm64\n        uses: actions/download-artifact@v4\n        with:\n          name: educates-linux-arm64\n\n      - name: Restore educates-darwin-amd64\n        uses: actions/download-artifact@v4\n        with:\n          name: educates-darwin-amd64\n\n      - name: Restore educates-darwin-arm64\n        uses: actions/download-artifact@v4\n        with:\n          name: educates-darwin-arm64\n\n      - name: Generate file checksums for CLI binaries\n        shell: bash\n        run: |\n          sha256sum educates-darwin-amd64 >> checksums.txt\n          sha256sum educates-darwin-arm64 >> checksums.txt\n          sha256sum educates-installer-${{env.REPOSITORY_TAG}}.yaml >> checksums.txt\n          sha256sum educates-linux-amd64 >> checksums.txt\n          sha256sum educates-linux-arm64 >> checksums.txt\n          sha256sum educates-packagerepository.yaml >> checksums.txt\n          echo 'File Checksums' >> release-notes.md\n          echo '--------------' >> release-notes.md\n          echo '```' >> release-notes.md\n          cat checksums.txt >> release-notes.md\n          echo '```' >> release-notes.md\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: checksums.txt\n          path: checksums.txt\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: release-notes.md\n          path: release-notes.md\n\n      - name: Create release\n        id: create_release\n        uses: softprops/action-gh-release@v1\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n        with:\n          tag_name: ${{env.REPOSITORY_TAG}}\n          name: \"educates:${{env.REPOSITORY_TAG}}\"\n          draft: false\n          prerelease: ${{env.PRERELEASE}}\n          body_path: release-notes.md\n          files: |\n            checksums.txt\n            educates-packagerepository.yaml\n            educates-installer-${{env.REPOSITORY_TAG}}.yaml\n            educates-linux-amd64\n            educates-linux-arm64\n            educates-darwin-amd64\n            educates-darwin-arm64\n\n  commit-packages:\n    name: Commit\n    runs-on: ubuntu-latest\n    if: startsWith(github.ref, 'refs/tags/')\n    needs:\n      - release-artifacts\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Calculate variables\n        shell: bash\n        run: |\n          IS_FORK=$(if [[ $GITHUB_EVENT_NAME == 'push' && $GITHUB_EVENT_PATH ]]; then jq -r .repository.fork <<< $(cat $GITHUB_EVENT_PATH); else echo false; fi)\n          REPOSITORY_TAG=${GITHUB_REF##*/}\n          if [[ \"$REPOSITORY_TAG\" == *-* ]]; then\n            PRERELEASE=true\n          else\n            PRERELEASE=false\n          fi\n          echo \"IS_FORK=${IS_FORK}\" >>${GITHUB_ENV}\n          echo \"PRERELEASE=${PRERELEASE}\" >>${GITHUB_ENV}\n          echo \"REPOSITORY_TAG=${REPOSITORY_TAG}\" >>${GITHUB_ENV}\n\n      - name: Restore educates-installer.yaml\n        uses: actions/download-artifact@v4\n        with:\n          name: educates-installer-${{env.REPOSITORY_TAG}}.yaml\n          path: package-repository/packages/installer.educates.dev/\n\n      - name: Create pull request for package repository files\n        if: ${{ (env.IS_FORK == 'false') && (env.PRERELEASE == 'false') }}\n        uses: peter-evans/create-pull-request@v5\n        with:\n          add-paths: |\n            package-repository\n          commit-message: \"Add package files for version ${{env.REPOSITORY_TAG}}.\"\n          branch: release/patch\n          base: develop\n          title: \"Add package files for version ${{env.REPOSITORY_TAG}}.\"\n          body: >\n            This is an automated pull request to add the package files for\n            version ${{env.REPOSITORY_TAG}} to the repository. If the release is\n            successful and you are working in the main Educates repository, this\n            needs to be merged to the `develop` branch before making a further\n            release. You should avoid merging this pull request if working in a\n            fork of the main Educates repository as it will result in changes to\n            the `develop` branch which have details specific to your fork, which\n            should never end up back in the main Educates repository.\n", "state": "active", "repository": "vmware-tanzu-labs/educates-training-platform"}
{"mined_at": "2024-07-15T18:45:22.250764", "created_at": "2023-09-09T04:26:31+02:00", "updated_at": "2023-09-09T04:26:31+02:00", "name": ".github/workflows/draft-pdf.yml", "path": ".github/workflows/draft-pdf.yml", "contents": null, "state": "active", "repository": "PhysioLabXR/PhysioLabXR"}
{"mined_at": "2024-07-15T18:45:23.568406", "created_at": "2023-09-09T04:53:40+02:00", "updated_at": "2023-11-06T05:44:33+01:00", "name": "test-ubuntu", "path": ".github/workflows/test-ubuntu.yml", "contents": null, "state": "active", "repository": "PhysioLabXR/PhysioLabXR"}
{"mined_at": "2024-07-15T18:45:24.823103", "created_at": "2023-09-12T00:39:15+02:00", "updated_at": "2023-11-09T00:04:41+01:00", "name": "unit-tests", "path": ".github/workflows/unit-tests.yml", "contents": "name: unit-tests\nrun-name: Run unit tests after push by @${{ github.actor }}\non:\n  push:\n    branches: [ test-actions ]\njobs:\n  unit-test:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os : [ubuntu-latest]\n        python-version: [ \"3.9\" ]\n    env:\n      DISPLAY: ':99.0'\n    steps:\n      - uses: actions/checkout@v3\n      - uses: tlambert03/setup-qt-libs@v1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils libegl1\n          /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX\n          sudo apt install qt6-base-dev\n          pip install -r requirements.dev.txt\n      - name: Test with pytest\n        run: |\n          ./tests/test.sh\n", "state": "active", "repository": "PhysioLabXR/PhysioLabXR"}
{"mined_at": "2024-07-15T18:45:27.071376", "created_at": "2022-10-25T02:22:22+02:00", "updated_at": "2022-10-25T06:42:39+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  pull_request:\n    branches:\n      - main\n\njobs:\n  linters:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ '3.11' ]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install -e .[linters] --no-cache-dir\n      - name: Run linters\n        run: flake8 . && interrogate . && codespell src examples tests\n  tests:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [ '3.8', '3.9', '3.10', '3.11' ]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        sudo apt install graphviz libgraphviz-dev -y\n        python -m pip install -e .[dev] -e .[docs] --no-cache-dir\n    - name: Run tests and coverage\n      run: coverage run -m unittest discover && coverage report\n", "state": "active", "repository": "AllenNeuralDynamics/aind-data-schema"}
{"mined_at": "2024-07-15T18:45:28.265767", "created_at": "2024-02-29T00:33:30+01:00", "updated_at": "2024-02-29T00:33:30+01:00", "name": "Tag and Publish", "path": ".github/workflows/tag_and_publish.yml", "contents": "name: Tag and Publish\non:\n  push:\n    branches:\n      - main\n\njobs:\n  bump_versions_and_update_schemas:\n    runs-on: ubuntu-latest\n    env:\n      OUTPUT_DIR: 'schemas'\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ env.DEFAULT_BRANCH }}\n          fetch-depth: 0\n          token: ${{ secrets.SERVICE_TOKEN }}\n      - name: Pull changes\n        run: git pull --rebase\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          python -m pip install -e .[dev] --no-cache-dir\n          python -m pip install pydantic==2.6.4\n      - name: Bump schema versions\n        run: |\n          python -m aind_data_schema.utils.schema_version_bump\n          echo \"Finished schema version bump\"\n      - name: Update schemas\n        run: |\n          rm -rf $OUTPUT_DIR\n          python -m pip install -e .\n          python -m pip install pydantic==2.6.4\n          python -m aind_data_schema.utils.json_writer --output $OUTPUT_DIR\n      - name: Create example schemas\n        run: |\n          cd examples\n          for script in ./*.py; do\n              python \"$script\"\n          done\n      - name: Commit changes\n        uses: EndBug/add-and-commit@v9\n        with:\n          default_author: github_actions\n          message: \"bump schema version [skip actions]\"\n          add: '[\"src\", \"schemas\", \"examples\"]'\n\n  update_docs:\n    needs: bump_versions_and_update_schemas\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ env.DEFAULT_BRANCH }}\n          fetch-depth: 0\n          token: ${{ secrets.SERVICE_TOKEN }}\n      - name: Pull changes\n        run: git pull --rebase\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          sudo apt install graphviz libgraphviz-dev -y\n          python -m pip install -e .[dev] -e .[docs] --no-cache-dir\n          python -m pip install pydantic==2.6.4\n      - name: Generate new rst files\n        run: |\n          sphinx-apidoc -o docs/source/ src\n      - name: Commit changes\n        uses: EndBug/add-and-commit@v9\n        with:\n          default_author: github_actions\n          message: \"updates diagrams [skip actions]\"\n          add: '[\"*.rst\"]'\n\n  changelog:\n    needs: update_docs\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n      with:\n        ref: ${{ inputs.default_branch }}\n        fetch-depth: 0\n        token: ${{ secrets.SERVICE_TOKEN }}\n    - name: Pull changes\n      run: git pull --rebase\n    - name: Generate changelog\n      id: tag_version\n      uses: mathieudutour/github-tag-action@v6.1\n      with:\n        github_token: ${{ secrets.SERVICE_TOKEN }}\n        release_branches: ${{ inputs.default_branch }}\n        default_bump: patch\n        dry_run: true  # Perform dryrun first to calculate new version\n    - name:\n      run: echo \"${{ steps.tag_version.outputs.changelog }}\" | cat - CHANGELOG.md > temp && mv temp CHANGELOG.md\n    - name: Commit changes\n      uses: EndBug/add-and-commit@v9\n      with:\n        default_author: github_actions\n        message: \"updates changelog [skip actions]\"\n        add: '[\"CHANGELOG.md\"]'\n\n  tag:\n    needs: changelog\n    uses: AllenNeuralDynamics/aind-github-actions/.github/workflows/tag.yml@main\n    secrets:\n      SERVICE_TOKEN: ${{ secrets.SERVICE_TOKEN }} # required\n\n  publish:\n    needs: tag\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Pull latest changes\n        run: git pull origin main\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          pip install --upgrade setuptools wheel twine build\n          python -m build\n          twine check dist/*\n      - name: Publish on PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1.5\n        with:\n          password: ${{ secrets.AIND_PYPI_TOKEN }}\n\n  upload_schemas_prod:\n    needs: publish\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n    env:\n      AWS_DATA_SCHEMA_ROLE: ${{ secrets.AWS_DATA_SCHEMA_ROLE_PROD}}\n      AWS_DATA_SCHEMA_BUCKET: ${{ vars.AWS_DATA_SCHEMA_BUCKET_PROD }}\n      AWS_REGION: ${{ vars.AWS_REGION_PROD }}\n      TEMP_DIR: 'temp_schemas'\n      S3_PREFIX: 'schemas'\n    steps:\n      - uses: actions/checkout@master\n      - name: Pull latest changes\n        run: git pull origin main\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.8\n      - name: Configure aws credentials\n        uses: aws-actions/configure-aws-credentials@v2\n        with:\n          role-to-assume: ${{ env.AWS_DATA_SCHEMA_ROLE }}\n          role-session-name: github-schema-upload-session\n          aws-region: ${{ env.AWS_REGION }}\n      - name: Create and upload schemas\n        run: |\n          python -m pip install -e .\n          python -m pip install pydantic==2.6.4\n          python -m aind_data_schema.utils.json_writer --output $TEMP_DIR --attach-version\n          python -m pip install awscli\n          aws s3 sync $TEMP_DIR s3://${AWS_DATA_SCHEMA_BUCKET}/$S3_PREFIX\n\n  upload_schemas_dev:\n    needs: upload_schemas_prod\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n    env:\n      AWS_DATA_SCHEMA_ROLE: ${{ secrets.AWS_DATA_SCHEMA_ROLE_DEV }}\n      AWS_DATA_SCHEMA_BUCKET: ${{ vars.AWS_DATA_SCHEMA_BUCKET_DEV }}\n      AWS_REGION : ${{ vars.AWS_REGION_DEV }}\n      TEMP_DIR: 'temp_schemas'\n      S3_PREFIX: 'schemas'\n    steps:\n      - uses: actions/checkout@master\n      - name: Pull latest changes\n        run: git pull origin main\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.8\n      - name: Configure aws credentials\n        uses: aws-actions/configure-aws-credentials@v2\n        with:\n          role-to-assume: ${{ env.AWS_DATA_SCHEMA_ROLE }}\n          role-session-name: github-schema-upload-session\n          aws-region: ${{ env.AWS_REGION }}\n      - name: Create and upload schemas\n        run: | \n          python -m pip install -e .\n          python -m pip install pydantic==2.6.4\n          python -m aind_data_schema.utils.json_writer --output $TEMP_DIR --attach-version\n          python -m pip install awscli\n          aws s3 sync $TEMP_DIR s3://${AWS_DATA_SCHEMA_BUCKET}/$S3_PREFIX\n\n  upload_diagrams:\n    needs: publish\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n    env:\n      AWS_DATA_SCHEMA_ROLE: ${{ secrets.AWS_DATA_SCHEMA_ROLE_DEV }}\n      AWS_DATA_SCHEMA_BUCKET: ${{ vars.AWS_DATA_SCHEMA_BUCKET_DEV }}\n      AWS_REGION : ${{ vars.AWS_REGION_DEV }}\n      DIAGRAM_DIRECTORY: ./docs/source/_static/diagrams\n    steps:\n      - uses: actions/checkout@master\n      - name: Pull latest changes\n        run: git pull origin main\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v3\n        with:\n          python-version: 3.8\n      - name: Install dependencies\n        run: |\n          sudo apt install graphviz libgraphviz-dev -y\n          python -m pip install -e .[docs] --no-cache-dir\n          python -m pip install pydantic==2.6.4\n          python -m pip install awscli\n      - name: Generate erdantic diagrams\n        run: |\n          mkdir $DIAGRAM_DIRECTORY\n          python -m aind_data_schema.utils.diagrams $DIAGRAM_DIRECTORY\n      - name: Configure aws credentials\n        uses: aws-actions/configure-aws-credentials@v2\n        with:\n          role-to-assume: ${{ env.AWS_DATA_SCHEMA_ROLE }}\n          role-session-name: github-diagram-upload-session\n          aws-region: ${{ env.AWS_REGION }}\n      - name: Create and upload diagrams\n        run: aws s3 sync $DIAGRAM_DIRECTORY s3://${AWS_DATA_SCHEMA_BUCKET}/diagrams\n", "state": "active", "repository": "AllenNeuralDynamics/aind-data-schema"}
{"mined_at": "2024-07-15T18:45:30.438928", "created_at": "2024-01-02T06:24:05+01:00", "updated_at": "2024-01-16T23:08:32+01:00", "name": "Title", "path": ".github/workflows/conventional-prs.yml", "contents": "name: Title\non:\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - edited\n      - synchronize\n  workflow_call:\n\npermissions:\n  contents: read\n\njobs:\n  title-format:\n    permissions:\n      pull-requests: read  # for amannn/action-semantic-pull-request to analyze PRs\n      statuses: write  # for amannn/action-semantic-pull-request to mark status of analyzed PR\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5.4.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "gymrek-lab/TRTools"}
{"mined_at": "2024-07-15T18:45:31.462836", "created_at": "2024-01-16T23:08:32+01:00", "updated_at": "2024-01-16T23:08:32+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      # IMPORTANT: this permission is mandatory for trusted publishing\n      id-token: write\n    steps:\n      - uses: GoogleCloudPlatform/release-please-action@v4.0.2\n        id: release\n        with:\n          release-type: python\n\n      - uses: actions/checkout@v4\n        if: ${{ steps.release.outputs.release_created }}\n        with:\n          fetch-depth: 2\n\n      - name: Set up Python\n        if: ${{ steps.release.outputs.release_created }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8'  # keep in sync with dev-env.yml\n\n      - name: Upgrade pip\n        if: ${{ steps.release.outputs.release_created }}\n        run: |\n          pip install --upgrade pip\n          pip --version\n\n      - name: Install Poetry\n        if: ${{ steps.release.outputs.release_created }}\n        run: |\n          pip install 'poetry==1.8.3' # keep version in sync with dev-env.yml\n          poetry --version\n\n      - name: Build package\n        if: ${{ steps.release.outputs.release_created }}\n        run: |\n          poetry build --ansi -n\n\n      - name: Publish package on PyPI\n        if: ${{ steps.release.outputs.release_created }}\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n", "state": "active", "repository": "gymrek-lab/TRTools"}
{"mined_at": "2024-07-15T18:45:32.609824", "created_at": "2023-10-30T23:22:38+01:00", "updated_at": "2023-11-09T00:51:59+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non: [pull_request, workflow_call]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  tests:\n    name: ${{ matrix.session }} / ${{ matrix.python }} / ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - { python: \"3.7\", os: \"ubuntu-latest\", session: \"tests\" }\n          - { python: \"3.8\", os: \"ubuntu-latest\", session: \"tests\" }\n          - { python: \"3.9\", os: \"ubuntu-latest\", session: \"tests\" }\n          - { python: \"3.10\", os: \"ubuntu-latest\", session: \"tests\" }\n          - { python: \"3.11\", os: \"ubuntu-latest\", session: \"tests\" }\n          - { python: \"3.12\", os: \"ubuntu-latest\", session: \"tests\" }\n          # - { python: \"3.11\", os: \"windows-latest\", session: \"tests\" }\n          - { python: \"3.8\", os: \"macos-13\", session: \"tests\" }\n          - { python: \"3.8\", os: \"ubuntu-latest\", session: \"size\" }\n          - { python: \"3.8\", os: \"ubuntu-latest\", session: \"coverage\" }\n\n    env:\n      NOXSESSION: ${{ matrix.session }}\n      FORCE_COLOR: \"1\"\n      PRE_COMMIT_COLOR: \"always\"\n\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Setup Mambaforge\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          activate-environment: trtools\n          miniforge-variant: Mambaforge\n          auto-activate-base: false\n          miniforge-version: latest\n          use-mamba: true\n\n      - name: Get Date\n        id: get-date\n        run: echo \"today=$(/bin/date -u '+%Y%m%d')\" >> $GITHUB_OUTPUT\n        shell: bash\n\n      - name: Cache Conda env\n        uses: actions/cache@v4\n        with:\n          path: ${{ env.CONDA }}/envs\n          key:\n            conda-${{ runner.os }}--${{ runner.arch }}--${{ steps.get-date.outputs.today }}-${{ hashFiles('dev-env.yml') }}-${{ env.CACHE_NUMBER }}\n        env:\n          # Increase this value to reset cache if dev-env.yml has not changed\n          CACHE_NUMBER: 0\n        id: cache\n\n      - name: Install dev environment\n        run:\n          mamba env update -n trtools -f dev-env.yml\n        if: steps.cache.outputs.cache-hit != 'true'\n\n      - name: Try to build trtools\n        shell: bash -el {0}\n        run: |\n          poetry build --no-ansi\n\n      - name: Check distribution size\n        if: matrix.session == 'size'\n        run: |\n          du -csh dist/*\n          tar -ztvf dist/*.tar.gz\n          # check that the generated dist/ directory does not exceed 0.3 MB\n          # if this check fails, it's because you forgot to list large files in the \"exclude\" section of our pyproject.toml\n          # https://python-poetry.org/docs/pyproject/#include-and-exclude\n          [ $(du -b dist | cut -f1) -lt 300000 ]\n\n      - name: Check code coverage\n        if: matrix.session == 'coverage'\n        shell: bash -el {0}\n        run: |\n          export NOXSESSION=tests\n          # check that code coverage is not lower than specific percent\n          nox --verbose --python=${{ matrix.python }} -- --cov=. --cov-report=term-missing --cov-fail-under=94\n\n      - name: Run tests with nox\n        if: matrix.session == 'tests'\n        shell: bash -el {0}\n        run: |\n          nox --verbose --python=${{ matrix.python }}\n\n  large-files:\n    name: File sizes\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: Check for large files\n        uses: actionsdesk/lfs-warning@v3.2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }} # Optional\n          filesizelimit: 500000b\n          labelName: large-files\n", "state": "active", "repository": "gymrek-lab/TRTools"}
{"mined_at": "2024-07-15T18:45:34.890756", "created_at": "2022-09-30T21:08:39+02:00", "updated_at": "2023-06-22T19:50:36+02:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  build:\n    name: lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: ${{github.token}}\n\n      - name: set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          token: ${{github.token}}\n\n      - name: install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n\n      - name: install requirements\n        run: |\n          python -m venv --upgrade-deps .venv\n          source .venv/bin/activate\n          pip install -e '.[all]'\n\n      - name: run black\n        run: |\n          source .venv/bin/activate\n          python -m black --config pyproject.toml --check --diff .\n\n      - name: get all Python files\n        id: list_files\n        run: |\n          echo \"files=$(git ls-files '*.py' '*.pyi' | xargs)\" >> $GITHUB_OUTPUT\n\n      - name: run Pylint on files\n        run: |\n          source .venv/bin/activate\n          files=\"${{ steps.list_files.outputs.files }}\"\n          if [ -n \"$files\" ]; then\n            pylint --rcfile=.pylintrc $files\n          else\n            echo \"No Python files found.\"\n          fi\n", "state": "active", "repository": "delvtech/agent0"}
{"mined_at": "2024-07-15T18:45:35.910483", "created_at": "2022-10-01T00:48:24+02:00", "updated_at": "2023-06-05T16:47:02+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  build:\n    name: test\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: ${{github.token}}\n\n      - name: install node\n        uses: actions/setup-node@v3\n        with:\n          node-version: 16.x\n\n      - name: install packages\n        uses: borales/actions-yarn@v4\n        with:\n          cmd: install # will run `yarn install` command\n        env:\n          # A warning is thrown here unnecessarily.  tracking issue here:\n          # https://github.com/github/vscode-github-actions/issues/222\n          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # if needed\n\n      - name: install foundry\n        uses: foundry-rs/foundry-toolchain@v1\n        with:\n          version: nightly\n\n      - name: set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          token: ${{github.token}}\n\n      - name: install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n\n      - name: install requirements\n        run: |\n          python -m venv --upgrade-deps .venv\n          source .venv/bin/activate\n          pip install -e '.[all]'\n\n      - name: run pytest with coverage\n        run: |\n          source .venv/bin/activate\n          IN_CI=true coverage run -m pytest\n\n      - name: generate coverage report\n        run: |\n          source .venv/bin/activate\n          coverage xml -i\n          coverage html -i\n\n      - name: upload coverage report to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          flags: unittests\n          fail_ci_if_error: false\n          # A warning is thrown here unnecessarily.  tracking issue here:\n          # https://github.com/github/vscode-github-actions/issues/222\n          token: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "delvtech/agent0"}
{"mined_at": "2024-07-15T18:45:36.971353", "created_at": "2023-01-12T22:05:09+01:00", "updated_at": "2023-03-31T06:04:25+02:00", "name": "static", "path": ".github/workflows/static.yml", "contents": "name: static\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  build:\n    name: static\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: ${{github.token}}\n\n      - name: set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          token: ${{github.token}}\n\n      - name: install uv\n        run: curl -LsSf https://astral.sh/uv/install.sh | sh\n\n      - name: install requirements\n        run: |\n          python -m venv --upgrade-deps .venv\n          source .venv/bin/activate\n          pip install -e '.[all]'\n\n      - name: analysing code with pyright\n        run: |\n          source .venv/bin/activate\n          python -m pyright $(git ls-files '*.py' '*.pyi')\n", "state": "active", "repository": "delvtech/agent0"}
{"mined_at": "2024-07-15T18:45:38.120854", "created_at": "2023-05-22T19:19:24+02:00", "updated_at": "2024-03-05T22:14:50+01:00", "name": "Docker: Build and push agent0 image", "path": ".github/workflows/docker.yml", "contents": "name: \"Docker: Build and push agent0 image\"\n\non:\n  workflow_dispatch:\n  push:\n    branches: [\"main\"]\n    tags: [\"*\"]\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}/agent0\n\njobs:\n  build-and-push:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n        with:\n          submodules: recursive\n          token: ${{secrets.GITHUB_TOKEN}}\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2.2.0\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4.5.0\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n          tags: |\n            # Add a version tag when a valid semver tag is pushed.\n            type=semver,pattern={{version}}\n            # Add the edge tag to every image to represent the latest commit to main\n            type=edge,branch=main\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v4.1.0\n        with:\n          context: .\n          push: true\n          file: ./Dockerfile\n          tags: |\n            ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "delvtech/agent0"}
{"mined_at": "2024-07-15T18:45:39.201183", "created_at": "2023-07-18T06:51:07+02:00", "updated_at": "2023-07-18T06:51:07+02:00", "name": "Vercel Preview Deployment", "path": ".github/workflows/vercel-dev.yml", "contents": null, "state": "active", "repository": "delvtech/agent0"}
{"mined_at": "2024-07-15T18:45:40.262545", "created_at": "2024-03-05T04:36:11+01:00", "updated_at": "2024-03-05T05:29:14+01:00", "name": "lint and test", "path": ".github/workflows/jobs.yml", "contents": null, "state": "active", "repository": "delvtech/agent0"}
{"mined_at": "2024-07-15T18:45:41.353318", "created_at": "2024-03-19T15:48:17+01:00", "updated_at": "2024-03-19T15:48:17+01:00", "name": "build and upload wheels", "path": ".github/workflows/build_and_upload.yml", "contents": "name: build and upload wheels\n\non:\n  push:\n    tags:\n      - \"v*\"\n\njobs:\n  build-wheels-linux:\n    name: build linux wheel\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout agent0\n        uses: actions/checkout@v4\n        with:\n          token: ${{github.token}}\n\n      - name: set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          token: ${{github.token}}\n\n      - name: set up pip\n        run: python -m pip install --upgrade pip\n\n      - name: build agent0\n        shell: bash\n        run: source scripts/build_wheels.sh\n\n      - name: upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: wheels-linux\n          path: dist/*.whl\n\n  build-sdist:\n    name: Build source distribution\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Build sdist\n        run: pipx run build --sdist\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: wheels-sdist\n          path: dist/*.tar.gz\n\n  upload_pypi:\n    needs: [build-wheels-linux, build-sdist]\n    runs-on: ubuntu-latest\n    environment: pypi\n    permissions:\n      id-token: write\n      contents: write\n    steps:\n      - name: Download wheel artifacts\n        uses: actions/download-artifact@v4\n        with:\n          pattern: wheels-*\n          path: dist\n          merge-multiple: true\n      - name: Upload to pypi\n        uses: pypa/gh-action-pypi-publish@release/v1\n\n  generate-dependencies:\n    needs: [upload_pypi]\n    name: generate dependency file\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout agent0\n        uses: actions/checkout@v4\n        with:\n          token: ${{github.token}}\n\n      - name: set up python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n          token: ${{github.token}}\n\n      - name: generate dependency file\n        shell: bash\n        run: source scripts/generate_deps.sh\n\n      - name: upload dependency file\n        uses: actions/upload-artifact@v4\n        with:\n          name: frozen-requirements.txt\n          path: $GITHUB_WORKSPACE/frozen-requirements.txt\n          retention-days: 1\n          overwrite: true\n\n  upload-dependencies:\n    needs: [generate-dependencies]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: Download dependency list artifact\n        uses: actions/download-artifact@v4\n        with:\n          pattern: frozen-requirements.txt\n          path: $GITHUB_WORKSPACE\n\n      - name: Upload dependency list to release\n        env:\n          GH_TOKEN: ${{ github.token }}\n        shell: bash\n        run: |\n          gh release upload ${{ github.ref_name }} $GITHUB_WORKSPACE/frozen-requirements.txt\n", "state": "active", "repository": "delvtech/agent0"}
{"mined_at": "2024-07-15T18:45:42.420412", "created_at": "2024-03-19T15:48:17+01:00", "updated_at": "2024-03-19T15:48:17+01:00", "name": "Check Version", "path": ".github/workflows/check_version.yml", "contents": "name: Check Version\n\non:\n  workflow_call:\n    inputs:\n      file_path:\n        description: File path to check for version change\n        required: true\n        type: string\n    outputs:\n      version_changed:\n        description: true if the version line in the file has changed\n        value: ${{ jobs.check.outputs.version_changed }}\n      only_patch_version_changed:\n        description: true if only the patch version has changed\n        value: ${{ jobs.check.outputs.only_patch_version_changed }}\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    outputs:\n      version_changed: ${{ steps.check.outputs.version_changed }}\n      only_patch_version_changed: ${{ steps.check.outputs.only_patch_version_changed }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 2\n          submodules: recursive\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Check for version changes\n        id: check\n        run: |\n          if [[ \"${{ github.event_name }}\" == \"pull_request\" ]]; then\n            # For PRs, compare PR head against base branch\n            OLD_VERSION=$(git show ${{ github.event.pull_request.base.sha }}:${{ inputs.file_path }} | grep '^version = ' | cut -d '\"' -f 2)\n          else\n            # For direct pushes, compare the last two commits\n            OLD_VERSION=$(git show HEAD~1:${{ inputs.file_path }} | grep '^version = ' | cut -d '\"' -f 2)\n          fi\n\n          # `cut` grabs everything inside the \", i.e. the version number x.y.z\n          NEW_VERSION=$(grep '^version = ' ${{ inputs.file_path }} | cut -d '\"' -f 2)\n\n          echo \"OLD_VERSION=$OLD_VERSION\"\n          echo \"NEW_VERSION=$NEW_VERSION\"\n\n          if [ \"$OLD_VERSION\" != \"$NEW_VERSION\" ]; then\n            echo \"Version has changed.\"\n            echo \"version_changed=true\" >> $GITHUB_OUTPUT\n            IFS='.' read -ra OLD_PARTS <<< \"$OLD_VERSION\"\n            IFS='.' read -ra NEW_PARTS <<< \"$NEW_VERSION\"\n\n            if [ \"${OLD_PARTS[0]}\" == \"${NEW_PARTS[0]}\" ] && [ \"${OLD_PARTS[1]}\" == \"${NEW_PARTS[1]}\" ]; then\n              echo \"Only the patch version has changed.\"\n              echo \"only_patch_version_changed=true\" >> $GITHUB_OUTPUT\n            else\n              echo \"Major or minor version has changed.\"\n              echo \"only_patch_version_changed=false\" >> $GITHUB_OUTPUT\n            fi\n          else\n            echo \"No version change detected.\"\n            echo \"version_changed=false\" >> $GITHUB_OUTPUT\n            echo \"only_patch_version_changed=false\" >> $GITHUB_OUTPUT\n          fi\n", "state": "active", "repository": "delvtech/agent0"}
{"mined_at": "2024-07-15T18:45:44.604316", "created_at": "2024-01-24T15:52:34+01:00", "updated_at": "2024-01-24T15:53:42+01:00", "name": "build (editable package)", "path": ".github/workflows/build-editable.yml", "contents": null, "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:45.600837", "created_at": "2024-01-24T15:52:34+01:00", "updated_at": "2024-01-25T10:53:51+01:00", "name": "build (latest release)", "path": ".github/workflows/build-latest-release.yml", "contents": "name: build (latest release)\n\n# Only trigger, when the release workflow succeeded\non:\n  workflow_run:\n    workflows: [\"Build and upload to PyPI\"]\n    types:\n      - completed\n\njobs:\n  build:\n    name: Build for (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.10\"] # [\"3.10\", \"3.11\"]\n\n    # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/actions/install-python-and-package\n        with:\n          python-version: ${{ matrix.python-version }}\n          pkg-installation-type: \"latest\"\n      - name: Run unit tests\n        run: pytest -v\n", "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:46.589505", "created_at": "2024-07-09T10:28:05+02:00", "updated_at": "2024-07-09T11:20:08+02:00", "name": "build (repository package) using the frozen environment", "path": ".github/workflows/build-repo-freezed-env.yml", "contents": null, "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:47.723476", "created_at": "2024-07-09T11:31:54+02:00", "updated_at": "2024-07-09T11:31:54+02:00", "name": "build (repository package) using the frozen environment", "path": ".github/workflows/build-repo-frozen-env.yml", "contents": null, "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:48.765020", "created_at": "2024-01-25T10:01:53+01:00", "updated_at": "2024-01-25T10:53:51+01:00", "name": "build (repository package)", "path": ".github/workflows/build-repo.yml", "contents": "name: build (repository package)\n\non:\n  push:\n    paths-ignore:\n      # specific folder locations\n      - \".vscode/**\"\n      - \"docs/**\"\n      # filetypes\n      - \"**.md\"\n      - \"**.rst\"\n      - \"**.ipynb\"\n      - \"**.cff\"\n      - \"**.png\"\n    branches:\n      - main\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n    paths-ignore:\n      # specific folder locations\n      - \".vscode/**\"\n      - \"docs/**\"\n      # filetypes\n      - \"**.md\"\n      - \"**.rst\"\n      - \"**.ipynb\"\n      - \"**.cff\"\n      - \"**.png\"\n\njobs:\n  build:\n    if: github.event.pull_request.draft == false\n    name: Build for (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.10\"] # [\"3.10\", \"3.11\"]\n\n    # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: ./.github/actions/install-python-and-package\n        with:\n          python-version: ${{ matrix.python-version }}\n          extras-require: test, publishing\n          pkg-installation-type: \"repository\"\n\n      - name: Run unit tests\n        run: pytest -v\n\n      - name: Verify that we can build the package\n        run: python3 -m build\n", "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:49.746839", "created_at": "2022-08-04T16:22:40+02:00", "updated_at": "2022-08-04T16:43:24+02:00", "name": "cffconvert", "path": ".github/workflows/cffconvert.yml", "contents": "name: cffconvert\n\non:\n  push:\n    paths:\n      - CITATION.cff\n\njobs:\n  validate:\n    name: \"validate\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out a copy of the repository\n        uses: actions/checkout@v3\n\n      - name: Check whether the citation metadata from CITATION.cff is valid\n        uses: citation-file-format/cffconvert-github-action@2.0.0\n        with:\n          args: \"--validate\"\n", "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:50.850888", "created_at": "2022-06-27T18:01:58+02:00", "updated_at": "2023-07-04T14:48:47+02:00", "name": "coveralls", "path": ".github/workflows/coveralls.yml", "contents": "name: coveralls\n\non:\n  push:\n    paths-ignore:\n      # specific folder locations\n      - \".vscode/**\"\n      - \"docs/**\"\n      # filetypes\n      - \"**.md\"\n      - \"**.rst\"\n      - \"**.ipynb\"\n      - \"**.cff\"\n      - \"**.png\"\n    branches:\n      - main\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n    paths-ignore:\n      # specific folder locations\n      - \".vscode/**\"\n      - \"docs/**\"\n      # filetypes\n      - \"**.md\"\n      - \"**.rst\"\n      - \"**.ipynb\"\n      - \"**.cff\"\n      - \"**.png\"\n\njobs:\n  build:\n    if: github.event.pull_request.draft == false\n    name: Coveralls\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.10\"]\n\n    # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/actions/install-python-and-package\n        with:\n          python-version: ${{ matrix.python-version }}\n          extras-require: test\n      - name: Run unit tests with coverage\n        run: pytest --cov --cov-append --cov-report xml --cov-fail-under=80 --cov-report term --cov-report html\n      - name: Coveralls\n        env:\n          GITHUB_TOKEN: ${{ secrets.github_token }}\n          COVERALLS_FLAG_NAME: python-${{ matrix.os }}\n        run: |\n          coveralls --service=github\n", "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:51.849084", "created_at": "2023-05-11T14:30:09+02:00", "updated_at": "2023-09-21T16:14:44+02:00", "name": "Build JOSS PDF", "path": ".github/workflows/draft-pdf.yml", "contents": "name: Build JOSS PDF\n\non:\n  workflow_dispatch:\n\njobs:\n  paper:\n    runs-on: ubuntu-latest\n    name: Paper Draft\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Build draft PDF\n        uses: openjournals/openjournals-draft-action@master\n        with:\n          journal: joss\n          # This should be the path to the paper within your repo.\n          paper-path: paper/paper.md\n      - name: Upload\n        uses: actions/upload-artifact@v1\n        with:\n          name: paper\n          # This is the output path where Pandoc will write the compiled\n          # PDF. Note, this should be the same directory as the input\n          # paper.md\n          path: paper/paper.pdf\n", "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:52.863937", "created_at": "2022-08-29T11:35:52+02:00", "updated_at": "2022-08-29T11:35:52+02:00", "name": "fair-software", "path": ".github/workflows/fair-software.yml", "contents": "name: fair-software\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n\njobs:\n  verify:\n    if: github.event.pull_request.draft == false\n    name: \"fair-software\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: fair-software/howfairis-github-action@0.2.1\n        name: Measure compliance with fair-software.eu recommendations\n        env:\n          PYCHARM_HOSTED: \"Trick colorama into displaying colored output\"\n        with:\n          MY_REPO_URL: \"https://github.com/${{ github.repository }}\"\n", "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:53.869455", "created_at": "2022-06-26T12:59:24+02:00", "updated_at": "2023-07-04T14:48:47+02:00", "name": "linting", "path": ".github/workflows/linting.yml", "contents": "name: linting\n\non:\n  push:\n    paths-ignore:\n      # specific folder locations\n      - \".vscode/**\"\n      - \"docs/**\"\n      # filetypes\n      - \"**.md\"\n      - \"**.rst\"\n      - \"**.ipynb\"\n      - \"**.cff\"\n      - \"**.png\"\n    branches:\n      - main\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n    paths-ignore:\n      # specific folder locations\n      - \".vscode/**\"\n      - \"docs/**\"\n      # filetypes\n      - \"**.md\"\n      - \"**.rst\"\n      - \"**.ipynb\"\n      - \"**.cff\"\n      - \"**.png\"\n\njobs:\n  build:\n    if: github.event.pull_request.draft == false\n    name: Linting\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.10\"]\n\n    # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Python info\n        shell: bash -l {0}\n        run: |\n          which python3\n          python3 --version\n      - name: Check linting and formatting using ruff\n        run: |\n          python3 -m pip install ruff\n          ruff check || (echo \"Please ensure you have the latest version of ruff (`ruff -V`) installed locally.\" && (exit 1))\n          ruff format --check || (echo \"Please ensure you have the latest version of ruff (`ruff -V`) installed locally.\" && (exit 1))\n", "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:55.015362", "created_at": "2023-05-26T13:05:24+02:00", "updated_at": "2023-05-31T12:57:51+02:00", "name": "markdown-link-check", "path": ".github/workflows/markdown-link-check.yml", "contents": "name: markdown-link-check\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      # filetypes\n      - \"**.md\"\n      - \"**.rst\"\n      # self\n      - \".github/workflows/markdown-link-check.yml\"\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n    paths:\n      # filetypes\n      - \"**.md\"\n      - \"**.rst\"\n      # self\n      - \".github/workflows/markdown-link-check.yml\"\n\njobs:\n  markdown-link-check:\n    if: github.event.pull_request.draft == false\n    name: Check markdown links\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: gaurav-nelson/github-action-markdown-link-check@v1\n        with:\n          config-file: \".github/workflows/markdown-link-check.yml\"\n", "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:56.031473", "created_at": "2024-03-04T16:46:12+01:00", "updated_at": "2024-03-20T09:55:51+01:00", "name": "notebooks", "path": ".github/workflows/notebooks.yml", "contents": "name: notebooks\n\non:\n  push:\n    paths-ignore:\n      # specific folder locations\n      - \".vscode/**\"\n      - \"docs/**\"\n      # filetypes\n      - \"**.md\"\n      - \"**.rst\"\n      - \"**.cff\"\n      - \"**.png\"\n    branches:\n      - main\n  pull_request:\n    types: [opened, synchronize, reopened, ready_for_review]\n    paths-ignore:\n      # specific folder locations\n      - \".vscode/**\"\n      - \"docs/**\"\n      # filetypes\n      - \"**.md\"\n      - \"**.rst\"\n      - \"**.cff\"\n      - \"**.png\"\n\njobs:\n  build:\n    if: github.event.pull_request.draft == false\n    name: Build for (${{ matrix.python-version }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.10\"] # [\"3.10\", \"3.11\"]\n\n    # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: ./.github/actions/install-python-and-package\n        with:\n          python-version: ${{ matrix.python-version }}\n          extras-require: test, notebooks\n          pkg-installation-type: \"repository\"\n\n      - name: Download the data for the tutorials\n        shell: bash -l {0}\n        run: |\n          wget https://zenodo.org/records/8349335/files/data_raw.zip\n          unzip data_raw.zip -d data_raw\n          mv data_raw tutorials\n\n      - name: Run tutorial notebooks\n        run: pytest --nbmake tutorials\n", "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:57.113658", "created_at": "2022-06-28T12:33:07+02:00", "updated_at": "2022-06-28T12:33:07+02:00", "name": "Build and upload to PyPI", "path": ".github/workflows/release.yml", "contents": "name: Build and upload to PyPI\n\non:\n  workflow_dispatch:\n  release:\n    types:\n      - published\n\njobs:\n  build:\n    name: Build universal wheel and source distribution\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\"]\n        python-version: [\"3.10\"]\n\n    # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ./.github/actions/install-python-and-package\n        with:\n          python-version: ${{ matrix.python-version }}\n          extras-require: publishing\n          pkg-installation-type: \"repository\"\n      - name: Build wheel and source distribution\n        run: python3 -m build\n      - uses: actions/upload-artifact@v3\n        with:\n          path: dist/*\n\n  upload_test_pypi:\n    needs: [build]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'workflow_dispatch'\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: artifact\n          path: dist\n      - uses: pypa/gh-action-pypi-publish@v1.4.2\n        with:\n          user: __token__\n          password: ${{ secrets.TEST_PYPI_TOKEN_DEEPRANK2 }}\n          repository_url: https://test.pypi.org/legacy/\n\n  upload_pypi:\n    needs: [build]\n    runs-on: ubuntu-latest\n    if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: artifact\n          path: dist\n      - uses: pypa/gh-action-pypi-publish@v1.4.2\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_TOKEN_DEEPRANK2 }}\n", "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:58.093058", "created_at": "2024-07-09T17:37:22+02:00", "updated_at": "2024-07-09T17:37:22+02:00", "name": "Draft GitHub Release", "path": ".github/workflows/release_github.yml", "contents": null, "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:45:59.084754", "created_at": "2022-06-28T12:33:07+02:00", "updated_at": "2022-06-28T12:33:07+02:00", "name": "Close inactive issues and pull requests", "path": ".github/workflows/stale_issue_pr.yml", "contents": "name: Close inactive issues and pull requests\non:\n  schedule:\n    - cron: \"14 3 * * 1,3,5\" # check at 03:14 on Monday, Wednesday, and Friday\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v5.0.0\n        with:\n          days-before-issue-stale: 30\n          days-before-issue-close: -1\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue is stale because it has been open for 30 days with no activity.\"\n          close-issue-message: \"This issue was closed because it has been inactive for 7 days since being marked as stale.\"\n          days-before-pr-stale: 14\n          days-before-pr-close: -1\n          stale-pr-message: \"This PR is stale because it has been open for 14 days with no activity.\"\n          close-pr-message: \"This PR was closed because it has been inactive for 7 days since being marked as stale.\"\n          exempt-issue-labels: \"blocked\"\n", "state": "active", "repository": "DeepRank/deeprank2"}
{"mined_at": "2024-07-15T18:46:02.185281", "created_at": "2023-10-26T03:21:35+02:00", "updated_at": "2023-10-26T03:21:42+02:00", "name": "Run CI", "path": ".github/workflows/ci.yml", "contents": "name: Run CI\n\non:\n  push:\n    branches:\n      - \"main\"\n    paths-ignore:\n      - '**/*.md'\n  pull_request:\n    branches:\n      - \"main\"\n    paths-ignore:\n      - '**/*.md'\n\njobs:\n  validate:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Validate Locale\n      uses: Yellow-Dog-Man/locale-checker-action@034ab2a4e4a18449fd8e0cef79494a0c51b09f19\n", "state": "active", "repository": "Yellow-Dog-Man/Locale"}
{"mined_at": "2024-07-15T18:46:04.539029", "created_at": "2021-05-25T22:25:29+02:00", "updated_at": "2022-12-15T12:17:28+01:00", "name": "01 Regression tests", "path": ".github/workflows/regression.yaml", "contents": "name: 01 Regression tests\n\non:\n  workflow_dispatch:\n    inputs:\n      node_rev:\n        description: \"cardano-node revision\"\n        default: master\n      cluster_era:\n        type: choice\n        description: \"Cluster era\"\n        options:\n        - babbage\n        - conway 9\n        - conway 10\n        default: babbage\n      tx_era:\n        type: choice\n        description: \"Tx era\"\n        options:\n        - default\n        - conway\n        - babbage\n        - alonzo\n        - mary\n        - allegra\n        - shelley\n        default: default\n      markexpr:\n        type: choice\n        description: \"Selection of tests\"\n        options:\n        - all\n        - smoke\n        - plutus\n        - plutus and smoke\n        - not long\n        - conway only\n        default: all\n      topology:\n        type: choice\n        description: \"Network topology\"\n        options:\n        - legacy\n        - p2p\n        - mixed\n        default: legacy\n      byron_cluster:\n        type: boolean\n        default: false\n        description: \"Start cluster in Byron era\"\n      testrun_name:\n        required: false\n        description: \"Test run name (internal)\"\n      skip_passed:\n        type: boolean\n        default: false\n        description: \"Skip tests that already passed (internal)\"\n\nrun-name: ${{ inputs.testrun_name && 'Run:' || ''}} ${{ inputs.testrun_name }} ${{ (inputs.testrun_name && inputs.skip_passed) && ':repeat:' || '' }}\n\njobs:\n  regression_tests:\n    # reusable workflow from local repo and same branch as this config\n    uses: ./.github/workflows/regression_reusable.yaml\n    with:\n      node_rev: ${{ inputs.node_rev }}\n      cluster_era: ${{ inputs.cluster_era }}\n      tx_era: ${{ inputs.tx_era }}\n      markexpr: ${{ inputs.markexpr }}\n      topology: ${{ inputs.topology }}\n      byron_cluster: ${{ inputs.byron_cluster }}\n      testrun_name: ${{ inputs.testrun_name }}\n      skip_passed: ${{ inputs.skip_passed }}\n      env-path: .github/env_regression\n    secrets:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      TCACHE_BASIC_AUTH: ${{ secrets.TCACHE_BASIC_AUTH }}\n      TCACHE_URL: ${{ secrets.TCACHE_URL }}\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:05.665197", "created_at": "2021-05-26T09:49:17+02:00", "updated_at": "2022-11-15T13:39:17+01:00", "name": "02 Regression tests with db-sync", "path": ".github/workflows/regression-dbsync.yaml", "contents": "name: 02 Regression tests with db-sync\n\non:\n  workflow_dispatch:\n    inputs:\n      node_rev:\n        description: \"cardano-node revision\"\n        default: \"master\"\n      dbsync_rev:\n        description: \"db-sync revision\"\n        default: \"master\"\n      cluster_era:\n        type: choice\n        description: \"Cluster era\"\n        options:\n        - babbage\n        default: babbage\n      tx_era:\n        type: choice\n        description: \"Tx era\"\n        options:\n        - default\n        - babbage\n        - alonzo\n        - mary\n        - allegra\n        - shelley\n        default: default\n      markexpr:\n        type: choice\n        description: \"Selection of tests\"\n        options:\n        - all\n        - dbsync\n        - smoke\n        - plutus\n        - plutus and smoke\n        - not long\n        - dbsync and smoke\n        - dbsync and plutus\n        - dbsync and not long\n        default: dbsync\n      topology:\n        type: choice\n        description: \"Network topology\"\n        options:\n        - legacy\n        - p2p\n        - mixed\n        default: legacy\n      byron_cluster:\n        type: boolean\n        default: false\n        description: \"Start cluster in Byron era\"\n      testrun_name:\n        required: false\n        description: \"Test run name (internal)\"\n      skip_passed:\n        type: boolean\n        default: false\n        description: \"Skip tests that already passed (internal)\"\n\nrun-name: ${{ inputs.testrun_name && 'Run:' || ''}} ${{ inputs.testrun_name }} ${{ (inputs.testrun_name && inputs.skip_passed) && ':repeat:' || '' }}\n\njobs:\n  regression_tests:\n    # reusable workflow from local repo and same branch as this config\n    uses: ./.github/workflows/regression_reusable.yaml\n    with:\n      node_rev: ${{ inputs.node_rev }}\n      dbsync_rev: ${{ inputs.dbsync_rev }}\n      cluster_era: ${{ inputs.cluster_era }}\n      tx_era: ${{ inputs.tx_era }}\n      markexpr: ${{ inputs.markexpr }}\n      topology: ${{ inputs.topology }}\n      byron_cluster: ${{ inputs.byron_cluster }}\n      testrun_name: ${{ inputs.testrun_name }}\n      skip_passed: ${{ inputs.skip_passed }}\n      env-path: .github/env_regression_dbsync\n    secrets:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      TCACHE_BASIC_AUTH: ${{ secrets.TCACHE_BASIC_AUTH }}\n      TCACHE_URL: ${{ secrets.TCACHE_URL }}\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:06.895537", "created_at": "2021-12-10T12:39:57+01:00", "updated_at": "2023-07-11T01:03:58+02:00", "name": "SMASH tests", "path": ".github/workflows/smash_tests.yaml", "contents": "name: SMASH tests\n\non:\n  workflow_dispatch:\n    inputs:\n      environment:\n        description: \"environemnt that services will be started for. Available options: shelley_qa, testnet, master\"\n        required: true\n        default: \"shelley_qa\"\n      epochs_to_sync:\n        description: \"How many epochs db-sync should sync\"\n        required: true\n        default: \"1000\"\n      db_sync_branch:\n        description: cardano-db-sync branch that will be used\n        required: true\n        default: \"release/12.0.x\"\n      node_pr_number:\n        description: pr number that contains desired version of node. If blank latest master will be used.\n        required: false\n        default: \"\"\n      db_sync_pr_number:\n        description: pr number that contains desired version of db-sync. If blank latest master will be used.\n        required: false\n        default: \"\"\n\n\njobs:\n  run_smash_tests:\n    name: Start services and run SMASH tests\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    steps:\n\n      - name: Setup environment variables\n        run: |\n          echo 'ENVM='${{ github.event.inputs.environment }} >> $GITHUB_ENV\n          echo 'NODE_PR='${{ github.event.inputs.node_pr_number }} >> $GITHUB_ENV\n          echo 'DB_PR='${{ github.event.inputs.db_sync_pr_number }} >> $GITHUB_ENV\n          echo 'EPOCHS='${{ github.event.inputs.epochs_to_sync }} >> $GITHUB_ENV\n\n      - name: Checkout repository with SMASH tests\n        uses: actions/checkout@v4\n        with:\n          repository: IntersectMBO/cardano-node-tests\n          ref: 'smash_tests'\n\n\n      - name: Start cardano-node\n        run: |\n          if [[ ! -z \"${{ env.NODE_PR }}\" ]]; then ./.github/workflows/start_node.sh -e ${{ env.ENVM }} -p ${{ env.NODE_PR }} ; else .github/workflows/start_node.sh -e ${{ env.ENVM }}; fi\n\n\n      - name: Checkout cardano-db-sync repository\n        uses: actions/checkout@v4\n        with:\n          repository: IntersectMBO/cardano-db-sync\n          path: cardano-db-sync\n          ref: ${{ github.event.inputs.db_sync_branch }}\n\n\n      - name: Install Postgres\n        run: |\n          echo $environment\n          sudo apt-get update\n          sudo apt-get install -y libpq-dev libpq5 postgresql\n          sed -e 's/^port.*/port = 5432/' /etc/postgresql/12/main/postgresql.conf > postgresql.conf\n          sudo chown postgres postgresql.conf\n          sudo mv postgresql.conf /etc/postgresql/12/main\n          sudo pg_ctlcluster 12 main start\n\n\n      - name: Check if Postgres is running\n        run: |\n          sudo apt-get update\n          sudo apt-get install net-tools\n          sleep 10\n          netstat -an\n          ls -al /var/run/postgresql/.s.PGSQL.5432 || true\n\n\n      - name: Check directory structure\n        run: |\n          echo \"Current Working Directory: $PWD\"\n          echo \"Contents:\"\n          ls -l\n\n\n      - name: Create database user\n        run: sudo -u postgres createuser --createdb --superuser runner\n\n\n      - name: Setup and start cardano-db-sync-extended\n        timeout-minutes: 50\n        run: |\n          if [[ ! -z \"${{ env.DB_PR }}\" ]]; then .github/workflows/start_db_sync_and_smash.sh -e ${{ env.ENVM }} -p ${{ env.DB_PR }} -t ${{ env.EPOCHS }}; else .github/workflows/start_db_sync_and_smash.sh -e ${{ env.ENVM }} -t ${{ env.EPOCHS }}; fi\n\n\n      - name: Start SMASH tests\n        env:\n          environment: ${{ github.event.inputs.environment }}\n        run: |\n          cd smash_tests\n          sudo apt-get -y install python3.8\n          sudo apt-get -y install python3-pip\n          pip3 install pytest requests furl psycopg2 pytest-html\n          pytest -svv --capture=tee-sys --environment $environment --html=\"test-results/report.html\" --self-contained-html --junitxml=\"test-results/result.xml\" test_smash_local_server.py\n\n\n      - name: Publish test results on GitHub\n        uses: EnricoMi/publish-unit-test-result-action/composite@v2\n        if: always()\n        with:\n          check_name: \"Pytest tests results\"\n          files: ${{ github.workspace }}/smash_tests/test-results/result.xml\n\n\n      - name: Publish cardano-db-sync and SMASH logs\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: db_sync_and smash_logs_${{ env.ENVM }}\n          path: ${{ github.workspace }}/cardano-db-sync/logs/*\n\n\n      - name: Publish test reports\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: pytest_results_${{ env.ENVM }}\n          path: ${{ github.workspace }}/smash_tests/test-results/*\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:07.995692", "created_at": "2022-01-27T14:38:51+01:00", "updated_at": "2022-01-28T14:57:10+01:00", "name": "mainnet_tx_count_per_epoch", "path": ".github/workflows/node_mainnet_tx_count_per_epoch.yaml", "contents": "name: mainnet_tx_count_per_epoch\n\non:\n  schedule:\n    - cron: '0 8 * * *'\n  workflow_dispatch:\n    branches:\n      - sync_tests\n\njobs:\n  mainnet_tx_count_per_epoch:\n    if: github.repository_owner == 'IntersectMBO'\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout cardano-node-tests repo\n        uses: actions/checkout@v4\n        with:\n          path: cardano_node_tests\n          ref: sync_tests\n      - name: setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: install dependencies\n        run: |\n          pip install requests\n          pip install psutil\n          pip install pandas\n          pip install pymysql\n          pip install blockfrost-python\n      - name: checkout sync_tests repo\n        run: |\n          echo $PWD\n          echo \"current branch: $(git branch --show-current)\"\n          cd cardano_node_tests\n          git config --global user.name \"sync_tests\"\n          git config --global user.email \"action@github.com\"\n          echo \"current branch1: $(git branch --show-current)\"\n\n          git checkout sync_tests\n          echo \"current branch2: $(git branch --show-current)\"\n      - name: get the automated tests results\n        env:\n          BUILDKITE_API_ACCESS_TOKEN: ${{ secrets.BUILDKITE_API_ACCESS_TOKEN }}\n          AWS_DB_USERNAME: ${{ secrets.AWS_DB_USERNAME }}\n          AWS_DB_PASS: ${{ secrets.AWS_DB_PASS }}\n          AWS_DB_NAME: ${{ secrets.AWS_DB_NAME }}\n          AWS_DB_HOSTNAME: ${{ secrets.AWS_DB_HOSTNAME }}\n          BLOCKFROST_API_KEY: ${{ secrets.BLOCKFROST_API_KEY }}\n        run: |\n          cd cardano_node_tests\n          echo \"current branch2: $(git branch --show-current)\"\n          python sync_tests/node_write_mainnet_tx_count_per_epoch.py\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:09.030393", "created_at": "2022-01-27T14:38:51+01:00", "updated_at": "2023-06-02T13:05:29+02:00", "name": "node_sync_tests", "path": ".github/workflows/node_sync_test.yaml", "contents": "name: node_sync_tests\n\non:\n  workflow_dispatch:\n    branches:\n      - sync_tests\n    inputs:\n      tag_no1:\n        description: tag number1 - used for initial sync, from clean state\n        required: true\n      tag_no2:\n        description: tag number2 - used for final sync, from existing state\n        required: false\n        default: \"None\"\n      hydra_eval_no1:\n        description: hydra_eval_no1 - used for getting node prebuilt files for the initial sync\n        required: false\n        default: \"None\"\n      hydra_eval_no2:\n        description: hydra_eval_no2 - used for getting node prebuilt files for the final sync\n        required: false\n        default: \"None\"\n\njobs:\n  node_sync_test_mainnet:\n    runs-on: ubuntu-latest\n    steps:\n      - name: trigger the Buildkite pipeline - run sync tests on Mainnet\n        env:\n          BUILDKITE_API_ACCESS_TOKEN: ${{ secrets.BUILDKITE_API_ACCESS_TOKEN }}\n          AWS_DB_USERNAME: ${{ secrets.AWS_DB_USERNAME }}\n          AWS_DB_PASS: ${{ secrets.AWS_DB_PASS }}\n          AWS_DB_NAME: ${{ secrets.AWS_DB_NAME }}\n          AWS_DB_HOSTNAME: ${{ secrets.AWS_DB_HOSTNAME }}\n          BLOCKFROST_API_KEY: ${{ secrets.BLOCKFROST_API_KEY }}\n        uses: zegocover/buildkite-pipeline-action@master\n        with:\n          access_token: '${{ secrets.BUILDKITE_API_ACCESS_TOKEN }}'\n          pipeline: 'input-output-hk/qa-sync-tests'\n          message: ':github: Triggered by GitHub Action'\n          env: '{\n          \"tag_no1\":\"${{ github.event.inputs.tag_no1 }}\",\n          \"tag_no2\":\"${{ github.event.inputs.tag_no2 }}\",\n          \"hydra_eval_no1\":\"${{ github.event.inputs.hydra_eval_no1 }}\",\n          \"hydra_eval_no2\":\"${{ github.event.inputs.hydra_eval_no2 }}\",\n          \"BLOCKFROST_API_KEY\":\"${{ secrets.BLOCKFROST_API_KEY }}\",\n          \"AWS_DB_USERNAME\":\"${{ secrets.AWS_DB_USERNAME }}\",\n          \"AWS_DB_PASS\":\"${{ secrets.AWS_DB_PASS }}\",\n          \"AWS_DB_NAME\":\"${{ secrets.AWS_DB_NAME }}\",\n          \"AWS_DB_HOSTNAME\":\"${{ secrets.AWS_DB_HOSTNAME }}\"\n          }'\n          branch: 'sync_tests'\n  node_sync_test:\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        env: [shelley_qa, testnet, staging]\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 600\n    steps:\n      - name: checkout cardano-node-tests repo\n        uses: actions/checkout@v4\n        with:\n          path: cardano_node_tests\n          ref: sync_tests\n      - name: run actions/setup-python@v5\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n      - name: install dependencies\n        run: |\n          pip install pymysql\n          pip install requests\n          pip install psutil\n          pip install pandas\n          pip install blockfrost-python\n      - name: run sync test\n        env:\n          BLOCKFROST_API_KEY: ${{ secrets.BLOCKFROST_API_KEY }}\n        run: |\n          cd cardano_node_tests\n          echo \"current branch2: $(git branch --show-current)\"\n          python sync_tests/node_sync_test.py -t1 \"${{ github.event.inputs.tag_no1 }}\" -t2 \"${{ github.event.inputs.tag_no2 }}\" -e1 \"${{ github.event.inputs.hydra_eval_no1 }}\" -e2 \"${{ github.event.inputs.hydra_eval_no2 }}\" -e ${{ matrix.env }}\n      - name: write the test results into the database\n        env:\n          AWS_DB_USERNAME: ${{ secrets.AWS_DB_USERNAME }}\n          AWS_DB_PASS: ${{ secrets.AWS_DB_PASS }}\n          AWS_DB_NAME: ${{ secrets.AWS_DB_NAME }}\n          AWS_DB_HOSTNAME: ${{ secrets.AWS_DB_HOSTNAME }}\n          BLOCKFROST_API_KEY: ${{ secrets.BLOCKFROST_API_KEY }}\n        run: |\n          cd cardano_node_tests\n          echo \"current branch3: $(git branch --show-current)\"\n          python sync_tests/node_write_sync_values_to_db.py -e ${{ matrix.env }}\n      - name: generate artifacts\n        uses: actions/upload-artifact@v4\n        if: always()\n        with:\n          name: node_logs_${{ matrix.env }}_${{ matrix.os }}\n          path: |\n            cardano_node_tests/logfile.log\n            cardano_node_tests/sync_results.json\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:10.064271", "created_at": "2022-03-31T13:43:48+02:00", "updated_at": "2022-10-25T17:19:30+02:00", "name": "db-sync - full cycle tests", "path": ".github/workflows/db_sync_full_sync.yaml", "contents": "name: db-sync - full cycle tests\n\non:\n  workflow_dispatch:\n    branches:\n      - db_sync_tests\n    inputs:\n      node_pr:\n        description: node pull request number\n        required: true\n        default: \"4269\"\n      node_branch:\n        description: node branch or tag\n        required: true\n        default: \"1.35.3\"\n      node_version:\n        description: node version - 1.33.0-rc2 (tag number) or 1.33.0 (release number - for released versions) or 1.33.0_PR2124 (for not released and not tagged runs with a specific node PR/version)\n        required: true\n        default: \"1.35.3\"\n      db_sync_branch:\n        description: db-sync branch or tag\n        required: true\n        default: \"tags/13.0.5\"\n      db_sync_pr:\n        description: db-sync pr\n        required: true\n        default: \"1208\"\n      db_sync_version:\n        description: db-sync version - 12.0.0-rc2 (tag number) or 12.0.2 (release number - for released versions) or 12.0.2_PR2124 (for not released and not tagged runs with a specific db_sync PR/version)\n        required: true\n        default: \"13.0.5\"\n      db_sync_start_arguments:\n        description: argument to be passed when starting the db-sync - none, disable-ledger, disable-epoch, disable-cache\n        required: false\n        default: \"none\"\n      environment:\n        description: environment on which to run the tests - shelley-qa, preview, preprod or mainnet\n        required: true\n        default: \"preprod\"\n      run_only_sync_test:\n        type: boolean\n        default: true\n        description: \"If checked only full sync test will be run otherwise local snapshot creation and restoraion tests will be started after sync test is completed\"\n\njobs:\n  db_sync_test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: trigger the Buildkite pipeline - run db-sync full sync test\n        env:\n          BUILDKITE_API_ACCESS_TOKEN: ${{ secrets.BUILDKITE_API_ACCESS_TOKEN }}\n          AWS_DB_USERNAME: ${{ secrets.AWS_DB_USERNAME }}\n          AWS_DB_PASS: ${{ secrets.AWS_DB_PASS }}\n          AWS_DB_NAME: ${{ secrets.AWS_DB_NAME }}\n          AWS_DB_HOSTNAME: ${{ secrets.AWS_DB_HOSTNAME }}\n        uses: zegocover/buildkite-pipeline-action@master\n        with:\n          branch: db_sync_tests\n          access_token: '${{ secrets.BUILDKITE_API_ACCESS_TOKEN }}'\n          pipeline: 'input-output-hk/qa-db-sync-full-sync'\n          message: ':github: Triggered by GitHub Action'\n          env: '{\n          \"node_pr\":\"${{ github.event.inputs.node_pr }}\",\n          \"node_branch\":\"${{ github.event.inputs.node_branch }}\",\n          \"node_version\":\"${{ github.event.inputs.node_version }}\",\n          \"db_sync_pr\":\"${{ github.event.inputs.db_sync_pr }}\",\n          \"db_sync_branch\":\"${{ github.event.inputs.db_sync_branch }}\",\n          \"db_sync_version\":\"${{ github.event.inputs.db_sync_version }}\",\n          \"db_sync_start_arguments\":\"${{ github.event.inputs.db_sync_start_arguments }}\",\n          \"environment\":\"${{ github.event.inputs.environment }}\",\n          \"run_only_sync_test\":\"${{ github.event.inputs.run_only_sync_test }}\",\n          \"AWS_DB_USERNAME\":\"${{ secrets.AWS_DB_USERNAME }}\",\n          \"AWS_DB_PASS\":\"${{ secrets.AWS_DB_PASS }}\",\n          \"AWS_DB_NAME\":\"${{ secrets.AWS_DB_NAME }}\",\n          \"AWS_DB_HOSTNAME\":\"${{ secrets.AWS_DB_HOSTNAME }}\"\n          }'\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:11.132918", "created_at": "2022-03-31T13:43:48+02:00", "updated_at": "2022-10-25T17:19:30+02:00", "name": "db-sync - IOHK snapshot restoration test", "path": ".github/workflows/db_sync_snapshot_restoration.yaml", "contents": "name: db-sync - IOHK snapshot restoration test\n\non:\n  workflow_dispatch:\n    branches:\n      - db_sync_tests\n    inputs:\n      node_pr:\n        description: node pull request number\n        required: true\n        default: \"4269\"\n      node_branch:\n        description: node branch or tag\n        required: true\n        default: \"1.35.3\"\n      node_version:\n        description: node version - 1.33.0-rc2 (tag number) or 1.33.0 (release number - for released versions) or 1.33.0_PR2124 (for not released and not tagged runs with a specific node PR/version)\n        required: true\n        default: \"1.35.3\"\n      db_sync_branch:\n        description: db-sync branch or tag\n        required: true\n        default: \"release/13.0.x\"\n      db_sync_version:\n        description: db-sync version - 12.0.0-rc2 (tag number) or 12.0.2 (release number - for released versions) or 12.0.2_PR2124 (for not released and not tagged runs with a specific db_sync PR/version)\n        required: true\n        default: \"13.0.5\"\n      environment:\n        description: Environment on which to run the tests - preview, preprod, mainnet\n        required: true\n        default: \"mainnet\"\n      snapshot_url:\n        description: Snapshot URL - use 'latest' or exact URL for particular snapshot\n        required: true\n        default: \"latest\"\n\njobs:\n  db_sync_test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: trigger the Buildkite pipeline - run db sync snapshot restoration\n        env:\n          BUILDKITE_API_ACCESS_TOKEN: ${{ secrets.BUILDKITE_API_ACCESS_TOKEN }}\n          AWS_DB_USERNAME: ${{ secrets.AWS_DB_USERNAME }}\n          AWS_DB_PASS: ${{ secrets.AWS_DB_PASS }}\n          AWS_DB_NAME: ${{ secrets.AWS_DB_NAME }}\n          AWS_DB_HOSTNAME: ${{ secrets.AWS_DB_HOSTNAME }}\n        uses: zegocover/buildkite-pipeline-action@master\n        with:\n          branch: db_sync_tests\n          access_token: '${{ secrets.BUILDKITE_API_ACCESS_TOKEN }}'\n          pipeline: 'input-output-hk/qa-db-sync-snapshot-restoration'\n          message: ':github: Triggered by GitHub Action'\n          env: '{\n          \"node_pr\":\"${{ github.event.inputs.node_pr }}\",\n          \"node_branch\":\"${{ github.event.inputs.node_branch }}\",\n          \"node_version\":\"${{ github.event.inputs.node_version }}\",\n          \"db_sync_branch\":\"${{ github.event.inputs.db_sync_branch }}\",\n          \"db_sync_version\":\"${{ github.event.inputs.db_sync_version }}\",\n          \"environment\":\"${{ github.event.inputs.environment }}\",\n          \"snapshot_url\":\"${{ github.event.inputs.snapshot_url }}\",\n          \"AWS_DB_USERNAME\":\"${{ secrets.AWS_DB_USERNAME }}\",\n          \"AWS_DB_PASS\":\"${{ secrets.AWS_DB_PASS }}\",\n          \"AWS_DB_NAME\":\"${{ secrets.AWS_DB_NAME }}\",\n          \"AWS_DB_HOSTNAME\":\"${{ secrets.AWS_DB_HOSTNAME }}\"\n          }'\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:12.211294", "created_at": "2022-08-25T16:24:55+02:00", "updated_at": "2022-08-25T16:24:55+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:13.221049", "created_at": "2022-09-29T10:09:29+02:00", "updated_at": "2022-09-29T10:09:29+02:00", "name": "db-sync docker sync check", "path": ".github/workflows/db_sync_docker_sync_test.yaml", "contents": "name: db-sync docker sync check\n\non:\n  workflow_dispatch:\n    inputs:\n      db_sync_branch:\n        description: cardano-db-sync branch that will be used\n        required: true\n        default: \"13.0.5-extra-args\"\n\njobs:\n  setup_and_start_db_sync:\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        env: [mainnet, preprod, preview]\n      fail-fast: false\n    runs-on: ${{ matrix.os }}\n    timeout-minutes: 60\n    steps:\n\n      - name: Checkout cardano-db-sync Repository\n        uses: actions/checkout@v4\n        with:\n          repository: IntersectMBO/cardano-db-sync\n          path: cardano-db-sync\n          ref: ${{ github.event.inputs.db_sync_branch }}\n\n      - name: Start docker-compose WITHOUT flags\n        run: |\n          cd cardano-db-sync\n          echo \"DB_SYNC_REVISION=$(git rev-parse --short=40 HEAD)\" >> $GITHUB_ENV\n          echo \"DB_SYNC_VERSION=$(echo ${{ inputs.db_sync_branch }} | grep -oE \"(\\w*[.]\\w*)*\")\" >> $GITHUB_ENV\n          sudo NETWORK=${{ matrix.env }} docker-compose up -d\n\n      - name: Wait for 60 seconds\n        run: |\n          echo \"Waiting 60 seconds for startup\"\n          sleep 60\n\n      - name: Print db-sync Logs\n        run: |\n          cd cardano-db-sync\n          echo \"db-sync logs:\"\n          sudo docker-compose logs cardano-db-sync | tee db_sync_no_flags_logs.txt\n\n      - name: Network Check\n        run: |\n          cd cardano-db-sync\n          if grep -i ${{ matrix.env }} \"db_sync_no_flags_logs.txt\"; then echo \"Connected to correct network\"; else echo \"WRONG or NO NETWORK found !\" && exit 1; fi\n\n      - name: Version and Revision Check\n        run: |\n          cd cardano-db-sync\n          if grep -i ${{ env.DB_SYNC_VERSION }} \"db_sync_no_flags_logs.txt\"; then echo \"Correct version\"; else echo \"WRONG Version !\" && exit 1; fi\n          if grep -i ${{ env.DB_SYNC_REVISION }} \"db_sync_no_flags_logs.txt\"; then echo \"Correct SHA\"; else echo \"WRONG SHA !\" && exit 1; fi\n\n      - name: Flags Check - Should be False\n        run: |\n          cd cardano-db-sync\n          if grep -i \"Option disable-ledger: False\" \"db_sync_no_flags_logs.txt\"; then echo \"Flag disable-ledger set to False\"; else echo \"disable-ledger = True !\" && exit 1; fi\n          if grep -i \"Option disable-cache: False\" \"db_sync_no_flags_logs.txt\"; then echo \"Flag disable-cache set to False\"; else echo \"disable-cache = True !\" && exit 1; fi\n          if grep -i \"Option disable-epoch: False\" \"db_sync_no_flags_logs.txt\"; then echo \"Flag disable-epoch set to False\"; else echo \"disable-epoch = True !\" && exit 1; fi\n\n      - name: Errors Check\n        run: |\n          cd cardano-db-sync\n          if grep -i Error \"db_sync_no_flags_logs.txt\"; then echo \"Found Error(s) !\" && exit 1; fi\n\n      - name: Blocks Insertion Check\n        run: |\n          cd cardano-db-sync\n          if grep -i epochPluginInsertBlockDetails \"db_sync_no_flags_logs.txt\"; then echo \"Blocks inserted into DB\"; else echo \"NO block insertion !\" && exit 1; fi\n\n      - name: Cache Statistics Check\n        run: |\n          cd cardano-db-sync\n          if grep -i \"Cache Statistics\" \"db_sync_no_flags_logs.txt\"; then echo \"Cache Statistics present\"; else echo \"NO Cache Statistics !\" && exit 1; fi\n\n      - name: Shut down docker-compose and remove volumes\n        run: |\n          cd cardano-db-sync\n          sudo docker-compose down -v\n\n      - name: Wait for 10 seconds\n        run: |\n          echo \"Waiting 10 seconds for startup\"\n          sleep 10\n\n      - name: Start docker-compose WITH flags\n        run: |\n          cd cardano-db-sync\n          sudo NETWORK=${{ matrix.env }} EXTRA_DB_SYNC_ARGS=\"--disable-ledger --disable-cache --disable-epoch\" docker-compose up -d\n\n      - name: Wait for 60 seconds\n        run: |\n          echo \"Waiting 60 seconds for startup\"\n          sleep 60\n\n      - name: Print db-sync Logs\n        run: |\n          cd cardano-db-sync\n          echo \"db-sync logs:\"\n          sudo docker-compose logs cardano-db-sync | tee db_sync_flags_logs.txt\n\n      - name: Errors Check\n        run: |\n          cd cardano-db-sync\n          if grep -i Error \"db_sync_flags_logs.txt\"; then echo \"Found Error(s) !\" && exit 1; fi\n\n      - name: Epoch Plugin Check - Should be Gone\n        run: |\n          cd cardano-db-sync\n          if grep -i epochPluginInsertBlockDetails \"db_sync_flags_logs.txt\"; then echo \"Epoch Plugin should be blocked !\" && exit 1; fi\n\n      - name: Cache Statistics Check - Should be Gone\n        run: |\n          cd cardano-db-sync\n          if grep -i \"Cache Statistics\" \"db_sync_flags_logs.txt\"; then echo \"Error - Found Cache Statistics !\" && exit 1; fi\n\n      - name: Block Insertion Check\n        run: |\n          cd cardano-db-sync\n          if grep -i insert \"db_sync_flags_logs.txt\"; then echo \"Blocks inserted into DB\"; else echo \"NO block insertion !\" && exit 1; fi\n\n      - name: Flags Check - Should be True\n        run: |\n          cd cardano-db-sync\n          if grep -i \"Option disable-ledger: True\" \"db_sync_flags_logs.txt\"; then echo \"Flag disable-ledger set to True\"; else echo \"disable-ledger = False !\" && exit 1; fi\n          if grep -i \"Option disable-cache: True\" \"db_sync_flags_logs.txt\"; then echo \"Flag disable-cache set to True\"; else echo \"disable-cache = False !\" && exit 1; fi\n          if grep -i \"Option disable-epoch: True\" \"db_sync_flags_logs.txt\"; then echo \"Flag disable-epoch set to True\"; else echo \"disable-epoch = False !\" && exit 1; fi\n\n      - name: Upload Logs\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.env }}-db-sync-logs\n          path: |\n            cardano-db-sync/db_sync_no_flags_logs.txt\n            cardano-db-sync/db_sync_flags_logs.txt\n          retention-days: 5\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:14.348361", "created_at": "2022-10-31T17:11:30+01:00", "updated_at": "2023-03-13T10:06:18+01:00", "name": "Nightly tests", "path": ".github/workflows/nightly.yaml", "contents": "name: Nightly tests\n\non:\n  schedule:\n    - cron: '15 23 * * *'\n  workflow_dispatch:\n\njobs:\n  nightly_job:\n    if: github.repository_owner == 'IntersectMBO' || github.event_name != 'schedule'\n    # reusable workflow from local repo and same branch as this config\n    uses: ./.github/workflows/regression_reusable.yaml\n    with:\n      env-path: .github/env_nightly\n    secrets:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      CI_FAIL_MAILS: ${{ secrets.NIGHTLY_FAIL_MAILS }}\n      GMAIL_USERNAME: ${{ secrets.GMAIL_USERNAME }}\n      GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:15.345485", "created_at": "2022-10-31T17:11:30+01:00", "updated_at": "2023-03-13T10:06:48+01:00", "name": "Nightly tests P2P", "path": ".github/workflows/nightly_p2p.yaml", "contents": "name: Nightly tests P2P\n\non:\n  schedule:\n    - cron: '15 00 * * *'\n  workflow_dispatch:\n\njobs:\n  nightly_job:\n    if: github.repository_owner == 'IntersectMBO' || github.event_name != 'schedule'\n    # reusable workflow from local repo and same branch as this config\n    uses: ./.github/workflows/regression_reusable.yaml\n    with:\n      env-path: .github/env_nightly_p2p\n    secrets:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      CI_FAIL_MAILS: ${{ secrets.NIGHTLY_FAIL_MAILS }}\n      GMAIL_USERNAME: ${{ secrets.GMAIL_USERNAME }}\n      GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:16.344605", "created_at": "2022-10-31T17:11:30+01:00", "updated_at": "2022-12-20T22:16:54+01:00", "name": "Regression tests reusable", "path": ".github/workflows/regression_reusable.yaml", "contents": "name: Regression tests reusable\n\non:\n  workflow_call:\n    inputs:\n      env-path:\n        required: false\n        type: string\n        default: \"\"\n      node_rev:\n        required: false\n        type: string\n        default: \"\"\n      dbsync_rev:\n        required: false\n        type: string\n        default: \"\"\n      cluster_era:\n        required: false\n        type: string\n        default: \"\"\n      tx_era:\n        required: false\n        type: string\n        default: \"\"\n      markexpr:\n        required: false\n        type: string\n        default: \"\"\n      topology:\n        required: false\n        type: string\n        default: \"\"\n      scripts_dirname:\n        required: false\n        type: string\n        default: \"\"\n      byron_cluster:\n        required: false\n        type: boolean\n        default: false\n      testrun_name:\n        required: false\n        type: string\n        default: \"\"\n      skip_passed:\n        required: false\n        type: boolean\n        default: false\n    secrets:\n      GH_TOKEN:\n        required: true\n      TCACHE_BASIC_AUTH:\n        required: false\n      TCACHE_URL:\n        required: false\n      CI_FAIL_MAILS:\n        required: false\n      GMAIL_USERNAME:\n        required: false\n      GMAIL_PASSWORD:\n        required: false\n\nenv:\n  CI_FAIL_MAILS: ${{ secrets.CI_FAIL_MAILS }}\n\njobs:\n  reusable_run:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Install Nix\n        uses: cachix/install-nix-action@V27\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GH_TOKEN }}\n            trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo=\n            substituters = https://cache.nixos.org https://cache.iog.io https://iohk.cachix.org\n            allow-import-from-derivation = true\n      - name: Collect env variables\n        run: |\n          : > .github_ci_env\n          echo \"PY_COLORS=1\" >> .github_ci_env\n          echo \"NODE_REV=${{ inputs.node_rev }}\" >> .github_ci_env\n          echo \"DBSYNC_REV=${{ inputs.dbsync_rev }}\" >> .github_ci_env\n          echo \"CLUSTER_ERA=${{ inputs.cluster_era }}\" >> .github_ci_env\n          echo \"TX_ERA=${{ inputs.tx_era }}\" >> .github_ci_env\n          echo \"MARKEXPR=${{ inputs.markexpr }}\" >> .github_ci_env\n          echo \"SCRIPTS_DIRNAME=${{ inputs.scripts_dirname }}\" >> .github_ci_env\n          echo \"CI_TOPOLOGY=${{ inputs.topology }}\" >> .github_ci_env\n          echo \"CI_BYRON_CLUSTER=${{ inputs.byron_cluster }}\" >> .github_ci_env\n          echo \"CI_TESTRUN_NAME=${{ inputs.testrun_name }}\" >> .github_ci_env\n          echo \"CI_SKIP_PASSED=${{ inputs.skip_passed }}\" >> .github_ci_env\n          if [ -e \"${{ inputs.env-path }}\" ]; then cat \"${{ inputs.env-path }}\" >> .github_ci_env; fi\n      - name: Export env variables\n        run: |\n          cat .github_ci_env\n          cat .github_ci_env >> $GITHUB_ENV\n          echo \"GITHUB_TOKEN=${{ secrets.GH_TOKEN }}\" >> $GITHUB_ENV\n      - name: Get previous test results\n        if: inputs.testrun_name && inputs.skip_passed\n        run: |\n          if [ -n \"${{ secrets.TCACHE_BASIC_AUTH }}\" ] && [ -n \"${{ secrets.TCACHE_URL }}\" ]; then\n            testrun_name_strip=\"$(echo \"${{ inputs.testrun_name }}\" | sed 's/[^a-zA-Z0-9_-]//g')\"\n            curl -s -u ${{ secrets.TCACHE_BASIC_AUTH }} \"${{ secrets.TCACHE_URL }}/${testrun_name_strip}/pypassed\" > deselected_tests.txt\n            echo \"DESELECT_FROM_FILE=deselected_tests.txt\" >> $GITHUB_ENV\n          fi\n      - name: Run CLI regression tests\n        id: testing-step\n        run: .github/regression.sh\n      - name: Report test results\n        if: (success() || failure()) && inputs.testrun_name\n        run: |\n          if [ -n \"${{ secrets.TCACHE_BASIC_AUTH }}\" ] && [ -n \"${{ secrets.TCACHE_URL }}\" ] && [ -e testrun-report.xml ]; then\n            testrun_name_strip=\"$(echo \"${{ inputs.testrun_name }}\" | sed 's/[^a-zA-Z0-9_-]//g')\"\n            curl -s -X PUT --fail-with-body -u ${{ secrets.TCACHE_BASIC_AUTH }} \"${{ secrets.TCACHE_URL }}/${testrun_name_strip}/${{ github.run_number }}/import\" -F \"junitxml=@testrun-report.xml\"\n          fi\n      - name: Upload testing artifacts on failure\n        uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: testing-artifacts\n          path: testing_artifacts.tar.xz\n      - name: Upload Allure results\n        uses: actions/upload-artifact@v4\n        # When using `always()`, you lose ability to manually cancel the workflow.\n        # Use `success() || failure()` instead.\n        if: success() || failure()\n        with:\n          name: allure-results\n          path: allure-results.tar.xz\n      - name: Upload HTML report\n        uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: testrun-report\n          path: testrun-report.html\n      - name: Upload testrun files\n        uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: testrun-files\n          path: |\n            scheduling.log.xz\n            errors_all.log\n            testrun-report.xml\n            deselected_tests.txt\n            requirements_coverage.json\n      - name: Upload CLI coverage\n        uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: cli-coverage\n          path: cli_coverage.json\n      - name: Mail failure report\n        uses: dawidd6/action-send-mail@v3\n        if: (success() || failure()) && steps.testing-step.outcome != 'success' && env.CI_FAIL_MAILS\n        with:\n          server_address: smtp.gmail.com\n          server_port: 465\n          secure: true\n          username: ${{secrets.GMAIL_USERNAME}}\n          password: ${{secrets.GMAIL_PASSWORD}}\n          subject: \"Status: ${{ steps.testing-step.outcome }}; workflow: ${{ github.workflow }}\"\n          to: ${{secrets.CI_FAIL_MAILS}}\n          from: Cardano Github Actions\n          body: \"Run URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n          reply_to: noreply@github.com\n          attachments: testrun-report.html\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:17.401846", "created_at": "2022-11-08T18:03:10+01:00", "updated_at": "2024-04-24T11:04:47+02:00", "name": "Nightly tests dbsync", "path": ".github/workflows/nightly_dbsync.yaml", "contents": "name: Nightly tests dbsync\n\non:\n  schedule:\n    - cron: '15 02 * * *'\n  workflow_dispatch:\n\njobs:\n  nightly_job:\n    if: github.repository_owner == 'IntersectMBO' || github.event_name != 'schedule'\n    # reusable workflow from local repo and same branch as this config\n    uses: ./.github/workflows/regression_reusable.yaml\n    with:\n      env-path: .github/env_nightly_dbsync\n    secrets:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      CI_FAIL_MAILS: ${{ secrets.NIGHTLY_FAIL_MAILS }}\n      GMAIL_USERNAME: ${{ secrets.GMAIL_USERNAME }}\n      GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:18.567654", "created_at": "2023-01-06T23:00:05+01:00", "updated_at": "2023-06-27T10:22:29+02:00", "name": "Nightly tests upgrade", "path": ".github/workflows/nightly_upgrade.yaml", "contents": "name: Nightly tests upgrade\n\non:\n  schedule:\n    - cron: '15 05 * * *'\n  workflow_dispatch:\n\njobs:\n  nightly_job:\n    if: github.repository_owner == 'IntersectMBO' || github.event_name != 'schedule'\n    # reusable workflow from local repo and same branch as this config\n    uses: ./.github/workflows/upgrade_reusable.yaml\n    with:\n      env-path: .github/env_nightly_upgrade\n    secrets:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      CI_FAIL_MAILS: ${{ secrets.NIGHTLY_FAIL_MAILS }}\n      GMAIL_USERNAME: ${{ secrets.GMAIL_USERNAME }}\n      GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:19.900720", "created_at": "2023-01-06T23:00:05+01:00", "updated_at": "2023-01-06T23:00:05+01:00", "name": "Node upgrade tests reusable", "path": ".github/workflows/upgrade_reusable.yaml", "contents": "name: Node upgrade tests reusable\n\non:\n  workflow_call:\n    inputs:\n      env-path:\n        required: true\n        type: string\n    secrets:\n      GH_TOKEN:\n        required: true\n      CI_FAIL_MAILS:\n        required: false\n      GMAIL_USERNAME:\n        required: false\n      GMAIL_PASSWORD:\n        required: false\n\nenv:\n  CI_FAIL_MAILS: ${{ secrets.CI_FAIL_MAILS }}\n\njobs:\n  reusable_run:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Install Nix\n        uses: cachix/install-nix-action@V27\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GH_TOKEN }}\n            trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo=\n            substituters = https://cache.nixos.org https://cache.iog.io https://iohk.cachix.org\n            allow-import-from-derivation = true\n      - name: Collect env variables\n        run: |\n          : > .github_ci_env\n          echo \"PY_COLORS=1\" >> .github_ci_env\n          cat \"${{ inputs.env-path }}\" >> .github_ci_env\n      - name: Export env variables\n        run: |\n          cat .github_ci_env\n          cat .github_ci_env >> $GITHUB_ENV\n          echo \"GITHUB_TOKEN=${{ secrets.GH_TOKEN }}\" >> $GITHUB_ENV\n      - name: Run CLI regression tests\n        id: testing-step\n        run: ./.github/node_upgrade.sh\n      - name: Upload testing artifacts on failure\n        uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: testing-artifacts\n          path: testing_artifacts.tar.xz\n      - name: Upload Allure results for step1\n        uses: actions/upload-artifact@v4\n        # When using `always()`, you lose ability to manually cancel the workflow.\n        # Use `success() || failure()` instead.\n        if: success() || failure()\n        with:\n          name: allure-results-step1\n          path: allure-results-step1.tar.xz\n      - name: Upload Allure results for step2\n        uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: allure-results-step2\n          path: allure-results-step2.tar.xz\n      - name: Upload Allure results for step3\n        uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: allure-results-step3\n          path: allure-results-step3.tar.xz\n      - name: Upload HTML reports\n        uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: testrun-reports\n          path: |\n            testrun-report-step1.html\n            testrun-report-step2.html\n            testrun-report-step3.html\n      - name: Upload testrun files\n        uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: testrun-files\n          path: |\n            scheduling.log.xz\n            errors_all.log\n      - name: Upload CLI coverage\n        uses: actions/upload-artifact@v4\n        if: success() || failure()\n        with:\n          name: cli-coverage\n          path: cli_coverage.json\n      - name: Mail failure report\n        uses: dawidd6/action-send-mail@v3\n        if: (success() || failure()) && steps.testing-step.outcome != 'success' && env.CI_FAIL_MAILS\n        with:\n          server_address: smtp.gmail.com\n          server_port: 465\n          secure: true\n          username: ${{secrets.GMAIL_USERNAME}}\n          password: ${{secrets.GMAIL_PASSWORD}}\n          subject: \"Status: ${{ steps.testing-step.outcome }}; workflow: ${{ github.workflow }}\"\n          to: ${{secrets.CI_FAIL_MAILS}}\n          from: Cardano Github Actions\n          body: \"Run URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n          reply_to: noreply@github.com\n          attachments: testrun-report.html\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:21.026119", "created_at": "2023-04-26T12:22:12+02:00", "updated_at": "2023-04-27T10:01:19+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  pull_request:\n    branches: [ \"master\" ]\n    paths:\n      - '**.py'\n  schedule:\n    - cron: '16 0 * * 4'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:22.014506", "created_at": "2023-05-06T00:23:29+02:00", "updated_at": "2023-05-06T01:01:51+02:00", "name": "Nix smoke test", "path": ".github/workflows/nix_smoke.yaml", "contents": "name: \"Nix smoke test\"\n\non:\n  pull_request:\n    branches: [ \"master\" ]\n    paths:\n      - 'flake.lock'\n      - 'requirements_freeze.txt'\n      - '**.nix'\n      - '.github/workflows/nix_smoke.yaml'\n  workflow_dispatch:\n\njobs:\n  nix_smoke:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Install Nix\n        uses: cachix/install-nix-action@V27\n        with:\n          extra_nix_config: |\n            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}\n            trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo=\n            substituters = https://cache.nixos.org https://cache.iog.io https://iohk.cachix.org\n            allow-import-from-derivation = true\n      - name: Run pytest in Nix\n        run: TEST_THREADS=0 PYTEST_ARGS=\"-k test_cli.py --skipall\" ./.github/regression.sh\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:23.028200", "created_at": "2024-03-14T22:01:35+01:00", "updated_at": "2024-03-14T22:01:35+01:00", "name": "Nightly tests Conway CC", "path": ".github/workflows/nightly_conway_cc.yaml", "contents": "name: Nightly tests Conway CC\n\non:\n  schedule:\n    - cron: '15 03 * * *'\n  workflow_dispatch:\n\njobs:\n  nightly_job:\n    if: github.repository_owner == 'IntersectMBO' || github.event_name != 'schedule'\n    # reusable workflow from local repo and same branch as this config\n    uses: ./.github/workflows/regression_reusable.yaml\n    with:\n      env-path: .github/env_nightly_conway_cc\n    secrets:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      CI_FAIL_MAILS: ${{ secrets.NIGHTLY_FAIL_MAILS }}\n      GMAIL_USERNAME: ${{ secrets.GMAIL_USERNAME }}\n      GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:24.068535", "created_at": "2024-03-14T22:01:35+01:00", "updated_at": "2024-03-14T22:01:35+01:00", "name": "Nightly tests Conway no CC", "path": ".github/workflows/nightly_conway_nocc.yaml", "contents": "name: Nightly tests Conway no CC\n\non:\n  schedule:\n    - cron: '15 04 * * *'\n  workflow_dispatch:\n\njobs:\n  nightly_job:\n    if: github.repository_owner == 'IntersectMBO' || github.event_name != 'schedule'\n    # reusable workflow from local repo and same branch as this config\n    uses: ./.github/workflows/regression_reusable.yaml\n    with:\n      env-path: .github/env_nightly_conway_nocc\n    secrets:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      CI_FAIL_MAILS: ${{ secrets.NIGHTLY_FAIL_MAILS }}\n      GMAIL_USERNAME: ${{ secrets.GMAIL_USERNAME }}\n      GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:25.062954", "created_at": "2024-04-16T16:28:19+02:00", "updated_at": "2024-04-16T16:58:01+02:00", "name": "repo_tests", "path": ".github/workflows/repo_tests.yaml", "contents": "name: repo_tests\n\non:\n  pull_request:\n    branches:\n    - master\n\nenv:\n  PY_COLORS: \"1\"\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v4\n    - name: Set up python\n      id: setup-python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: Install Poetry\n      uses: snok/install-poetry@v1\n      with:\n        virtualenvs-create: true\n        virtualenvs-in-project: true\n        installer-parallel: true\n    - name: Load cached venv\n      id: cached-poetry-dependencies\n      uses: actions/cache@v4\n      with:\n        path: .venv\n        key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}\n    - name: Install project\n      run: SETUPTOOLS_ENABLE_FEATURES=\"legacy-editable\" poetry install --no-interaction --with dev\n    - name: Load cached pre-commit env\n      id: cached-pre-commit\n      uses: actions/cache@v4\n      with:\n        path: ~/.cache/pre-commit\n        key: pre-commit-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('.pre-commit-config.yaml') }}\n    - name: Install pre-commit hooks\n      run: |\n        mkdir -p ~/.cache/pre-commit\n        true > ~/.cache/pre-commit/pre-commit.log\n        poetry run pre-commit install-hooks --color=always\n        retval=\"$?\"\n        if [ \"$retval\" -ne 0 ]; then\n          cat ~/.cache/pre-commit/pre-commit.log\n        fi\n        exit \"$retval\"\n    - name: Run pre-commit linters\n      run: poetry run pre-commit run -a --show-diff-on-failure --color=always\n    - name: Run framework tests\n      run: poetry run pytest --doctest-modules framework_tests cardano_node_tests/utils/\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:26.059999", "created_at": "2024-05-27T18:41:42+02:00", "updated_at": "2024-05-27T18:41:42+02:00", "name": "Nightly tests Conway Bootstrap", "path": ".github/workflows/nightly_conway_bootstrap.yaml", "contents": "name: Nightly tests Conway Bootstrap\n\non:\n  schedule:\n    - cron: '15 01 * * *'\n  workflow_dispatch:\n\njobs:\n  nightly_job:\n    if: github.repository_owner == 'IntersectMBO' || github.event_name != 'schedule'\n    # reusable workflow from local repo and same branch as this config\n    uses: ./.github/workflows/regression_reusable.yaml\n    with:\n      env-path: .github/env_nightly_conway_bootstrap\n    secrets:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      CI_FAIL_MAILS: ${{ secrets.NIGHTLY_FAIL_MAILS }}\n      GMAIL_USERNAME: ${{ secrets.GMAIL_USERNAME }}\n      GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}\n", "state": "active", "repository": "IntersectMBO/cardano-node-tests"}
{"mined_at": "2024-07-15T18:46:29.217560", "created_at": "2020-10-14T11:49:48+02:00", "updated_at": "2021-09-30T04:29:24+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ develop, main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ develop ]\n  schedule:\n    - cron: '44 7 * * 3'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]\n        # Learn more:\n        # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2\n\n    # Initializes the CodeQL tools for scanning.\n    # moved from v1 to v2 20230301\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    #- run: |\n    #   make bootstrap\n    #   make release\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "oscal-compass/compliance-trestle"}
{"mined_at": "2024-07-15T18:46:30.446054", "created_at": "2021-05-13T09:54:16+02:00", "updated_at": "2021-12-21T01:54:53+01:00", "name": "Lint PR title", "path": ".github/workflows/conventional-pr.yml", "contents": "name: \"Lint PR title\"\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n    branches:\n      - 'main'\n      - 'develop'\njobs:\n  lint:\n    if: ${{ github.head_ref != 'develop' }}\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n\n    - name: Install dependencies\n      run: npm install @commitlint/cli @commitlint/config-conventional\n\n    - name: Validate PR title\n      run: |\n        PR_TITLE=$(jq -r '.pull_request.title' \"$GITHUB_EVENT_PATH\")\n        echo \"$PR_TITLE\" | npx commitlint --config commitlint.config.js\n", "state": "active", "repository": "oscal-compass/compliance-trestle"}
{"mined_at": "2024-07-15T18:46:31.572978", "created_at": "2020-10-01T04:32:01+02:00", "updated_at": "2024-07-09T02:25:03+02:00", "name": "Trestle Deploy", "path": ".github/workflows/python-push.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\nname: Trestle Deploy\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        include:\n        - os: ubuntu-latest\n          path: ~/.cache/pip\n        - os: macos-latest\n          path: ~/Library/Caches/pip\n        - os: windows-latest\n          path: ~\\AppData\\Local\\pip\\Cache\n        python-version: ['3.9', '3.10', '3.11']\n\n    steps:\n    - name: Don't mess with  line endings\n      run: |\n        git config --global core.autocrlf false\n    - uses: actions/checkout@v2\n      with:\n        submodules: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/cache@v2\n      with:\n        path: ${{ matrix.path }}\n        key: ${{ matrix.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('setup.cfg') }}\n        restore-keys: |\n         ${{ matrix.os }}-${{ matrix.python-version }}-pip-\n\n    - name: Install build tools\n      run: |\n        make develop\n    - name: Setup pre-commit\n      if: ${{ (matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10') }}\n      run: |\n        make pre-commit\n    - name: Install dependencies\n      run: |\n        make install\n    - name: Run md document formatting (mdformat)\n      if: ${{ (matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10') }}\n      run: |\n        make mdformat\n    - name: Run code formatting (yapf)\n      if: ${{ (matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10') }}\n      run: |\n        make code-format\n    - name: Run code linting (flake8)\n      if: ${{ (matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10') }}\n      run: |\n        make code-lint\n    - name: Run code typing check (mypy)\n      if: ${{ (matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10') }}\n      continue-on-error: true \n      run: |\n        make code-typing\n    - name: Validate website content (mkdocs)\n      if: ${{ (matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10') }}\n      run: |\n        make docs-validate\n    - name: Pytest Fast\n      if: ${{ !(matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10') }}\n      run: |\n        make test\n    - name: Pytest Cov\n      if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' }}\n      run: |\n        make test-cov\n  deploy:\n\n    runs-on: ubuntu-latest\n    needs: build\n    permissions:\n      id-token: write\n    environment:\n      name: release\n      url: https://pypi.org/p/compliance-trestle\n    if: github.ref == 'refs/heads/main' && github.repository == 'oscal-compass/compliance-trestle'\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: true\n        fetch-depth: 0\n        token: ${{ secrets.ADMIN_PAT }} \n    - name: Set up Python 3.10\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n    - name: Install build tools\n      run: |\n        make develop\n\n    # This action uses Python Semantic Release v8\n    - name: Python Semantic Release\n      id: release\n      uses: python-semantic-release/python-semantic-release@v9.8.0\n      with:\n        github_token: ${{ secrets.ADMIN_PAT }}\n\n    - name: Publish package distributions to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      # NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.\n      # See https://github.com/actions/runner/issues/1173\n      if: steps.release.outputs.released == 'true'\n\n    - name: Publish package distributions to GitHub Releases\n      uses: python-semantic-release/upload-to-gh-release@v9.8.0\n      if: steps.release.outputs.released == 'true'\n      with:\n        github_token: ${{ secrets.ADMIN_PAT }}\n\n  deploy-docs:\n    runs-on: ubuntu-latest\n    needs: deploy\n    concurrency: \n      group: ${{ github.ref }}-${{ github.workflow }}-${{ github.job }}-docs\n      cancel-in-progress: true\n    # Temporary hack: allow develop as well as master to deploy docs.\n    if: github.ref == 'refs/heads/main'\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: true\n        fetch-depth: 0\n        token: ${{ secrets.ADMIN_PAT }} \n    - name: Set up Python 3.10\n      uses: actions/setup-python@v2\n      # This is deliberately not using a custom credential as it relies on native github actions token to have push rights.\n      with:\n        python-version: '3.10'\n    - name: Install build tools\n      run: |\n        make develop\n    - name: Create release\n      shell: bash\n      run: |\n        mkdocs gh-deploy\n\n  merge-main-to-develop:\n    name: Merge main -> develop\n    runs-on: ubuntu-latest\n    needs: deploy\n    concurrency:\n      group: ${{ github.ref }}-${{ github.workflow }}-${{ github.job }}-main\n      cancel-in-progress: true\n    if: github.ref == 'refs/heads/main'\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        submodules: true\n        ref: main\n        fetch-depth: 0\n        token: ${{ secrets.ADMIN_PAT }}\n    - name: Configure Git\n      run: |\n        git config user.name \"Vikas Agarwal\"\n        git config user.email \"<>\"\n    - name: Merge Main to Develop\n      run: |\n        git checkout develop\n        git merge --no-ff main -m \"chore: Merge back version tags and changelog into develop.\"\n        git push origin develop\n", "state": "active", "repository": "oscal-compass/compliance-trestle"}
{"mined_at": "2024-07-15T18:46:32.699339", "created_at": "2020-09-09T12:18:59+02:00", "updated_at": "2024-07-05T08:41:50+02:00", "name": "Trestle PR pipeline", "path": ".github/workflows/python-test.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\nname: Trestle PR pipeline\non:\n  pull_request:\n  push:\n    branches:\n      - develop\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Don't mess with line endings\n      run: |\n        git config --global core.autocrlf false\n    - uses: actions/checkout@v2\n      with:\n        submodules: true\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n    - uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ubuntu-latest-3.10-pip-${{ hashFiles('setup.cfg') }}\n        restore-keys: |\n          ubuntu-latest-3.10-pip-\n    - name: Install build tools\n      run: |\n        make develop\n    - name: Setup pre-commit\n      run: |\n        make pre-commit\n    - name: Install dependencies\n      run: |\n        make install\n    - name: Run md document formatting (mdformat)\n      run: |\n        make mdformat\n    - name: Run code formatting (yapf)\n      run: |\n        make code-format\n    - name: Run code linting (flake8)\n      run: |\n        make code-lint\n    - name: Run code typing check (mypy)\n      continue-on-error: true\n      run: |\n        make code-typing\n    - name: Validate website content (mkdocs)\n      run: |\n        make docs-validate\n    - name: Check if dirty (mkdocs)\n      run: |\n        make check-for-changes\n\n# This test simulates what it is like for a user to install trestle today.\n# Coverage cannot be calculated as part of\n  bdist:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Don't mess with line endings\n      run: |\n        git config --global core.autocrlf false\n    - name: Don't mess with line endings\n      run: |\n        git config --global core.autocrlf false\n    - uses: actions/checkout@v2\n      with:\n        submodules: true\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n    - uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ubuntu-latest-3.10-pip-${{ hashFiles('setup.cfg') }}\n        restore-keys: |\n          ubuntu-latest-3.10-pip-\n    - name: Install build tools\n      run: |\n        make develop\n    - name: Run binary tests\n      run: |\n        make test-bdist\n\n  test:\n    # This test\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.9', '3.10', '3.11']\n        include:\n        - os: ubuntu-latest\n          path: ~/.cache/pip\n        - os: macos-latest\n          path: ~/Library/Caches/pip\n        - os: windows-latest\n          path: ~\\AppData\\Local\\pip\\Cache\n    steps:\n    - name: Don't mess with line endings\n      run: |\n        git config --global core.autocrlf false\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n        submodules: true\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: actions/cache@v2\n      with:\n        path: ${{ matrix.path }}\n        key: ${{ matrix.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('setup.cfg') }}\n        restore-keys: |\n         ${{ matrix.os }}-${{ matrix.python-version }}-pip-\n    - name: Install build tools\n      run: |\n        make develop\n    - name: Pytest Fast\n      if: ${{ !(matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10') }}\n      run: |\n        make test\n    - name: Pytest Cov\n      if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' }}\n      run: |\n        make test-cov\n\n    - name: Upload artifact\n      if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' }}\n      uses: actions/upload-artifact@v2\n      with:\n        name: coverage\n        path: coverage.xml\n\n  sonar:\n    if: ${{ github.event.pull_request.base.repo.url == github.event.pull_request.head.repo.url }}\n    runs-on: ubuntu-latest\n    needs: test\n    steps:\n    - name: Don't mess with line endings\n      run: |\n        git config --global core.autocrlf false\n    - name: Don't mess with line endings\n      run: |\n        git config --global core.autocrlf false\n    - uses: actions/checkout@v2\n      with:\n        submodules: true\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n    - uses: actions/cache@v2\n      with:\n        path: ~/.cache/pip\n        key: ubuntu-latest-3.10-pip-${{ hashFiles('setup.cfg') }}\n        restore-keys: |\n          ubuntu-latest-3.10-pip-\n    - name: Install build tools\n      run: |\n        make develop\n    - name: Get coverage\n      uses: actions/download-artifact@v2\n      with:\n        name: coverage\n    - name: SonarCloud Scan\n      uses: SonarSource/sonarcloud-github-action@master\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any\n        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n      with:\n        args: >\n          -Dsonar.python.coverage.reportPaths=coverage.xml\n          -Dsonar.tests=tests/\n          -Dsonar.sources=trestle/ \n          -Dsonar.python.version='3.10'\n          -Dsonar.projectKey=compliance-trestle\n          -Dsonar.organization=compliance-trestle\n          -Dsonar.cpd.exclusions=trestle/oscal/*.py\n          -Dsonar.exclusions=trestle/oscal/*.py\n    - name: SonarQube Quality Gate check\n      uses: sonarsource/sonarqube-quality-gate-action@master\n      # Force to fail step after specific time\n      timeout-minutes: 5\n      env:\n       SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}\n", "state": "active", "repository": "oscal-compass/compliance-trestle"}
{"mined_at": "2024-07-15T18:46:33.818591", "created_at": "2021-12-17T07:35:32+01:00", "updated_at": "2021-12-17T07:35:32+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "oscal-compass/compliance-trestle"}
{"mined_at": "2024-07-15T18:46:35.946643", "created_at": "2023-03-22T09:17:12+01:00", "updated_at": "2023-03-22T09:37:32+01:00", "name": "AutoPR", "path": ".github/workflows/autopr.yml", "contents": "name: AutoPR\n\non:\n  issues:\n    types: [edited]\n\njobs:\n  autopr:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n      - name: AutoPR\n        uses: irgolic/AutoPR@v0.1.0\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          openai_api_key: ${{ secrets.OPENAI_API_KEY }}\n          issue_number: ${{ github.event.issue.number }}\n          issue_title: ${{ github.event.issue.title }}\n          issue_body: ${{ github.event.issue.body }}\n", "state": "active", "repository": "guardrails-ai/guardrails"}
{"mined_at": "2024-07-15T18:46:37.103227", "created_at": "2023-03-14T04:13:50+01:00", "updated_at": "2023-03-14T04:16:21+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n      - dev\n  pull_request:\n    branches:\n      - main\n      - dev\n      - feat/*\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  Linting:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # - name: Poetry cache\n      #   uses: actions/cache@v3\n      #   with:\n      #     path: ~/.cache/pypoetry\n      #     key: poetry-cache-${{ runner.os }}-${{ matrix.python-version }}-${{ env.POETRY_VERSION }}\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Install Dependencies\n        # TODO: fix errors so that we can run `make dev` instead\n        run: |\n          make full\n\n      - name: Lint with ruff\n        run: |\n          make lint\n\n  Typing:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        pydantic-version: [\"==1.10.9\", \">=2.x\"]\n        openai-version: [\">=1.x\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # - name: Poetry cache\n      #   uses: actions/cache@v3\n      #   with:\n      #     path: ~/.cache/pypoetry\n      #     key: poetry-cache-${{ runner.os }}-${{ matrix.python-version }}-${{ env.POETRY_VERSION }}-${{ matrix.pydantic-version }}\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Install Dependencies\n        # TODO: fix errors so that we can run `make dev` instead\n        run: |\n          make full\n          poetry run pip install \"pydantic${{ matrix.pydantic-version }}\"\n          poetry run pip install \"openai${{ matrix.openai-version }}\"\n\n      - name: Static analysis with pyright\n        run: |\n          make type\n\n  Pytests:\n    runs-on: LargeBois\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n        # TODO: fix errors so that we can run both `make dev` and `make full`\n        # dependencies: ['dev', 'full']\n        dependencies: [\"full\"]\n        pydantic-version: [\"==1.10.9\", \">=2.x\"]\n        openai-version: [\">=1.x\"]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Create .guardrailsrc\n        run: |\n          echo 'id=\"SYSTEM TESTING\"' > ~/.guardrailsrc\n          echo 'no_metrics=false' >> ~/.guardrailsrc\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      # - name: Poetry cache\n      #   uses: actions/cache@v3\n      #   with:\n      #     path: ~/.cache/pypoetry\n      #     key: poetry-cache-${{ runner.os }}-${{ matrix.python-version }}-${{ env.POETRY_VERSION }}-${{ matrix.pydantic-version }}-${{ matrix.openai-version }}\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Install Dependencies\n        run: |\n          make ${{ matrix.dependencies }}\n          poetry run pip install \"pydantic${{ matrix.pydantic-version }}\"\n          poetry run pip install \"openai${{ matrix.openai-version }}\"\n\n      - name: Run Pytests\n        run: |\n          make test-cov\n\n      - name: Upload to codecov.io\n        uses: codecov/codecov-action@v3\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n          fail_ci_if_error: true", "state": "active", "repository": "guardrails-ai/guardrails"}
{"mined_at": "2024-07-15T18:46:38.127326", "created_at": "2023-09-05T19:41:05+02:00", "updated_at": "2023-09-05T19:41:05+02:00", "name": "Deploy static content to Pages", "path": ".github/workflows/deploy_docs.yml", "contents": "# Simple workflow for deploying static content to GitHub Pages\nname: Deploy static content to Pages\n\non:\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  # Single deploy job since we're just deploying\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - name: Setup Pages\n        uses: actions/configure-pages@v3\n      - name: Poetry cache\n        uses: actions/cache@v3\n        with:\n            path: ~/.cache/pypoetry\n            key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n      - name: Install dependencies\n        run: poetry install --with docs\n      - name: Build\n        run: poetry run mkdocs build\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v2\n        with:\n          # Upload build folder\n          path: 'site'\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "guardrails-ai/guardrails"}
{"mined_at": "2024-07-15T18:46:39.355421", "created_at": "2023-08-31T19:44:23+02:00", "updated_at": "2023-08-31T19:44:23+02:00", "name": "Notebook Execution and Error Check", "path": ".github/workflows/examples_check.yml", "contents": "name: Notebook Execution and Error Check\n\non:\n  schedule:\n    - cron: \"0 0 * * *\"\n  push:\n    branches:\n      - main\n      - dev\n  workflow_dispatch:  # This enables manual triggering\n\njobs:\n  execute_notebooks:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # this line is automatically generated by the script in .github/workflows/scripts/update_notebook_matrix.sh\n        notebook: [\"bug_free_python_code.ipynb\",\"check_for_pii.ipynb\",\"competitors_check.ipynb\",\"extracting_entities.ipynb\",\"generate_structured_data.ipynb\",\"generate_structured_data_cohere.ipynb\",\"guardrails_with_chat_models.ipynb\",\"input_validation.ipynb\",\"llamaindex-output-parsing.ipynb\",\"no_secrets_in_generated_text.ipynb\",\"provenance.ipynb\",\"recipe_generation.ipynb\",\"regex_validation.ipynb\",\"response_is_on_topic.ipynb\",\"secrets_detection.ipynb\",\"select_choice_based_on_action.ipynb\",\"syntax_error_free_sql.ipynb\",\"text_summarization_quality.ipynb\",\"toxic_language.ipynb\",\"translation_to_specific_language.ipynb\",\"translation_with_quality_check.ipynb\",\"valid_chess_moves.ipynb\",\"value_within_distribution.ipynb\"]\n    env:\n      COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}\n      OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n      HUGGINGFACE_API_KEY: ${{ secrets.HUGGINGFACE_API_KEY }}\n      NLTK_DATA: /tmp/nltk_data\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with: \n        ref: ${{ github.head_ref }}\n        fetch-depth: 0\n    - name: Create .guardrailsrc\n      run: |\n        echo 'id=\"SYSTEM TESTING\"' > ~/.guardrailsrc\n        echo 'no_metrics=false' >> ~/.guardrailsrc   \n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with: \n        python-version: 3.11.x\n    - name: Install dependencies\n      run: |\n\n        # Setup Virtual Environment\n        python3 -m venv ./.venv\n        source .venv/bin/activate\n\n        # Install the current branch\n        pip install .\n\n        # Install extra stuff for notebook runs\n        pip install \"huggingface_hub[cli]\" jupyter nbconvert cohere==5.3.2\n        pip install nltk\n    - name: Huggingface Hub Login\n      run: |\n        source .venv/bin/activate\n        huggingface-cli login --token $HUGGINGFACE_API_KEY\n    - name: download nltk data\n      run: |\n        source .venv/bin/activate\n        mkdir /tmp/nltk_data;\n        python -m nltk.downloader -d /tmp/nltk_data punkt;\n    - name: Execute notebooks and check for errors\n      run: |\n        source .venv/bin/activate\n        bash ./.github/workflows/scripts/run_notebooks.sh ${{ matrix.notebook }}\n\n", "state": "active", "repository": "guardrails-ai/guardrails"}
{"mined_at": "2024-07-15T18:46:40.585393", "created_at": "2023-10-06T22:08:28+02:00", "updated_at": "2023-10-06T22:08:28+02:00", "name": "Broken Link Check", "path": ".github/workflows/find_dead_links.yml", "contents": "on:\n  schedule:\n    - cron: 0 12 * * * # run monthly\n  workflow_dispatch:\nname: Broken Link Check\njobs:\n  check:\n    name: Broken Link Check\n    runs-on: ubuntu-latest\n    steps:\n      - name: Broken Link Check\n        uses: technote-space/broken-link-checker-action@v2", "state": "active", "repository": "guardrails-ai/guardrails"}
{"mined_at": "2024-07-15T18:46:41.710360", "created_at": "2024-04-04T15:23:03+02:00", "updated_at": "2024-06-06T23:43:58+02:00", "name": "Install from Hub", "path": ".github/workflows/install_from_hub.yml", "contents": "name: Install from Hub\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:  # This enables manual triggering\n\njobs:\n  install_from_hub:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with: \n        python-version: 3.11.x\n    - name: pip install from main\n      run: pip install git+https://github.com/guardrails-ai/guardrails.git@main\n    - name: Install PII validator\n      run: guardrails hub install hub://guardrails/detect_pii\n    - name: Verify PII validator is addressable\n      run: echo 'from guardrails.hub import DetectPII' | python \n", "state": "active", "repository": "guardrails-ai/guardrails"}
{"mined_at": "2024-07-15T18:46:42.746224", "created_at": "2023-10-31T21:34:36+01:00", "updated_at": "2023-11-22T19:59:02+01:00", "name": "Release PyPi Version", "path": ".github/workflows/release_version.yml", "contents": "name: Release PyPi Version\n\non:\n  workflow_dispatch: # This event allows manual triggering\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v2\n\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.11.x\n\n      - name: Poetry cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pypoetry\n          key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Install dependencies\n        run: make full\n\n      - name: Upload to PyPI\n        env:\n          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n        run: poetry publish --build -u __token__ -p $PYPI_PASSWORD\n", "state": "active", "repository": "guardrails-ai/guardrails"}
{"mined_at": "2024-07-15T18:46:43.860576", "created_at": "2023-03-13T08:51:04+01:00", "updated_at": "2023-03-13T08:51:04+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "guardrails-ai/guardrails"}
{"mined_at": "2024-07-15T18:46:46.079441", "created_at": "2023-12-09T21:12:56+01:00", "updated_at": "2024-03-01T18:21:51+01:00", "name": "Publish Python 🐍 distribution 📦 to PyPI and TestPyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI\n\non: push\n\njobs:\n  build:\n    name: Build distribution 📦\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.x\"\n    - name: Install pypa/build\n      run: >-\n        python3 -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: python3 -m build\n    - name: Store the distribution packages\n      uses: actions/upload-artifact@v4\n      with:\n        name: python-package-distributions\n        path: dist/\n\n  publish-to-pypi:\n    name: >-\n      Publish Python 🐍 distribution 📦 to PyPI\n    if: startsWith(github.ref, 'refs/tags/')  # only publish to PyPI on tag pushes\n    needs:\n    - build\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/polars-upgrade  # Replace <package-name> with your PyPI project name\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v4\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n  github-release:\n    name: >-\n      Sign the Python 🐍 distribution 📦 with Sigstore\n      and upload them to GitHub Release\n    needs:\n    - publish-to-pypi\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write  # IMPORTANT: mandatory for making GitHub Releases\n      id-token: write  # IMPORTANT: mandatory for sigstore\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v3\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Sign the dists with Sigstore\n      uses: sigstore/gh-action-sigstore-python@v2\n      with:\n        inputs: >-\n          ./dist/*.tar.gz\n          ./dist/*.whl\n    - name: Create GitHub Release\n      env:\n        GITHUB_TOKEN: ${{ github.token }}\n      run: >-\n        gh release create\n        '${{ github.ref_name }}'\n        --repo '${{ github.repository }}'\n        --notes \"\"\n    - name: Upload artifact signatures to GitHub Release\n      env:\n        GITHUB_TOKEN: ${{ github.token }}\n      # Upload to GitHub Release using the `gh` CLI.\n      # `dist/` contains the built packages, and the\n      # sigstore-produced signatures and certificates.\n      run: >-\n        gh release upload\n        '${{ github.ref_name }}' dist/**\n        --repo '${{ github.repository }}'\n", "state": "active", "repository": "MarcoGorelli/polars-upgrade"}
{"mined_at": "2024-07-15T18:46:47.092563", "created_at": "2023-12-09T20:48:49+01:00", "updated_at": "2023-12-09T20:48:49+01:00", "name": "ci", "path": ".github/workflows/tox.yml", "contents": "name: ci\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  tox:\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [windows-latest, ubuntu-latest]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache multiple paths\n        uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            $RUNNER_TOOL_CACHE/Python/*\n            ~\\AppData\\Local\\pip\\Cache\n          key: ${{ runner.os }}-build-${{ matrix.python-version }}\n      - name: install-reqs\n        run: python -m pip install --upgrade tox virtualenv setuptools pip -r requirements-dev.txt\n      - name: install\n        run: pip install -e .\n      - name: test\n        run: pytest --cov=polars_upgrade._plugins\n", "state": "active", "repository": "MarcoGorelli/polars-upgrade"}
{"mined_at": "2024-07-15T18:46:49.185346", "created_at": "2022-02-07T18:14:48+01:00", "updated_at": "2022-02-07T20:50:47+01:00", "name": "Deploy Builds", "path": ".github/workflows/deploy.yml", "contents": "name: Deploy Builds\n\non:\n  release:\n    types: [ released ]\n  push:\n    tags:\n      # v0.X.Y pre-release tags\n      - 'v0.*.*a*'\n      - 'v0.*.*b*'\n      - 'v0.*.*rc*'\n\njobs:\n  test:\n    uses: ./.github/workflows/pytest.yml\n\n  docker:\n    name: build and deploy docker images\n    needs: test\n    runs-on: ubuntu-latest\n\n    steps:\n    # Fetch all history for all tags and branches\n    - name: clone socs\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    # Dockerize\n    - name: Build docker images\n      run: |\n        docker-compose build\n\n    - name: Login to Docker Hub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.REGISTRY_USER }}\n        password: ${{ secrets.REGISTRY_PASSWORD }}\n\n    - name: Build and push official docker image\n      env:\n        DOCKERHUB_ORG: \"simonsobs\"\n      run: |\n        export DOCKER_TAG=`git describe --tags --always`\n\n        # Tag all images for upload to the registry\n        docker-compose config | grep 'image: ' | awk -F ': ' '{ print $2 }' | xargs -I {} docker tag {}:latest ${DOCKERHUB_ORG}/{}:latest\n        docker-compose config | grep 'image: ' | awk -F ': ' '{ print $2 }' | xargs -I {} docker tag {}:latest ${DOCKERHUB_ORG}/{}:${DOCKER_TAG}\n\n        # Upload to docker registry\n        docker-compose config | grep 'image: ' | awk -F ': ' '{ print $2 }' | xargs -I {} docker push ${DOCKERHUB_ORG}/{}:latest\n        docker-compose config | grep 'image: ' | awk -F ': ' '{ print $2 }' | xargs -I {} docker push ${DOCKERHUB_ORG}/{}:${DOCKER_TAG}\n        docker-compose config | grep 'image: ' | awk -F ': ' '{ print $2 }' | xargs -I {} echo ${DOCKERHUB_ORG}/{}:${DOCKER_TAG} pushed\n\n  wheel:\n    name: build and deploy to PyPI\n    needs: test\n    runs-on: ubuntu-latest\n    env:\n      TWINE_USERNAME: __token__\n      TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}\n\n    steps:\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - name: clone socs\n      uses: actions/checkout@v4\n\n    - name: install build dependencies\n      run: |\n        python3 -m pip install --upgrade build twine\n\n    - name: build wheel\n      run: |\n        python3 -m build\n\n    - name: install wheel\n      run: |\n        python3 -m pip install dist/socs*.whl\n\n    - name: install requirements for testing\n      run: |\n        pip3 install -r requirements.txt\n\n    - name: Run unit tests\n      working-directory: ./tests\n      run: |\n        python3 -m pytest -m 'not integtest'\n\n    - name: upload to PyPI\n      run: |\n        python3 -m twine upload dist/*\n", "state": "active", "repository": "simonsobs/socs"}
{"mined_at": "2024-07-15T18:46:50.414910", "created_at": "2020-07-29T23:27:12+02:00", "updated_at": "2023-02-13T19:42:52+01:00", "name": "Build Test Images", "path": ".github/workflows/develop.yml", "contents": "name: Build Test Images\n\non:\n  push:\n    branches: [ main ]\n    paths-ignore:\n      - 'docs/**'\n      - '**.rst'\n      - '**.md'\n      - '.flake8'\n      - '.pre-commit-config.yaml'\n      - '.readthedocs.yaml'\n      - '.github/dependabot.yml'\n\njobs:\n  test:\n    uses: ./.github/workflows/pytest.yml\n\n  build:\n    name: build and deploy test images\n    needs: test\n    runs-on: ubuntu-latest\n\n    steps:\n    # Fetch all history for all tags and branches\n    - name: clone socs\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    # Dockerize\n    - name: Build docker images\n      run: |\n        docker-compose build\n\n    - name: Login to Docker Hub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.REGISTRY_USER }}\n        password: ${{ secrets.REGISTRY_PASSWORD }}\n\n    - name: Tag and push test docker images\n      env:\n        DOCKERHUB_ORG: \"simonsobs\"\n      run: |\n        export DOCKER_TAG=`git describe --tags --always`-dev\n        echo \"${DOCKER_TAG}\"\n\n        # Tag all images for upload to the registry\n        docker-compose config | grep 'image: ' | awk -F ': ' '{ print $2 }' | xargs -I {} docker tag {}:latest ${DOCKERHUB_ORG}/{}:${DOCKER_TAG}\n\n        # Upload to docker registry\n        docker-compose config | grep 'image: ' | awk -F ': ' '{ print $2 }' | xargs -I {} docker push ${DOCKERHUB_ORG}/{}:${DOCKER_TAG}\n        docker-compose config | grep 'image: ' | awk -F ': ' '{ print $2 }' | xargs -I {} echo ${DOCKERHUB_ORG}/{}:${DOCKER_TAG} pushed\n\n  # testing so we can catch any issues before release\n  # if issues are found, test locally, or copy to pytest.yml for test on push\n  wheel:\n    name: build and test wheel\n    needs: test\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - name: clone socs\n      uses: actions/checkout@v4\n\n    - name: install build dependencies\n      run: |\n        python3 -m pip install --upgrade build twine\n\n    - name: build wheel\n      run: |\n        python3 -m build\n\n    - name: install wheel\n      run: |\n        python3 -m pip install dist/socs*.whl\n\n    - name: install requirements for testing\n      run: |\n        pip3 install -r requirements.txt\n\n    - name: Run unit tests\n      working-directory: ./tests\n      run: |\n        python3 -m pytest -m 'not integtest'\n", "state": "active", "repository": "simonsobs/socs"}
{"mined_at": "2024-07-15T18:46:51.528594", "created_at": "2020-07-30T21:14:14+02:00", "updated_at": "2020-07-30T21:14:14+02:00", "name": "Run Tests", "path": ".github/workflows/pytest.yml", "contents": "name: Run Tests\n\non:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '**.rst'\n      - '**.md'\n      - '.flake8'\n      - '.pre-commit-config.yaml'\n      - '.readthedocs.yaml'\n      - '.github/dependabot.yml'\n  workflow_call:\n\njobs:\n  test:\n    name: pytest with coverage\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Cancel Previous Runs\n      uses: styfle/cancel-workflow-action@0.12.1\n      with:\n        access_token: ${{ github.token }}\n\n    - name: Install system packages\n      run: |\n        sudo apt-get install -y socat\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    # Install\n    - name: Install so3g\n      run: |\n        pip3 install so3g\n\n    - name: clone socs\n      uses: actions/checkout@v4\n\n    - name: Install socs\n      run: |\n        pip3 install -r requirements.txt\n        pip3 install -e .\n\n    # Unit Tests\n    - name: Run unit tests\n      working-directory: ./tests\n      run: |\n        COVERAGE_FILE=.coverage.unit python3 -m pytest --cov -m 'not integtest'\n\n    - name: Build docker test images\n      run: |\n        docker-compose build socs\n\n    # Integration Tests\n    - name: Run integration tests\n      working-directory: ./tests\n      run: |\n        COVERAGE_FILE=.coverage.int python3 -m pytest --cov -m 'integtest'\n\n    # Coverage\n    - name: Report test coverage\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        mv ./tests/.coverage.* ./\n        pip install -U coveralls\n        coverage combine\n        coverage report\n        coveralls --service=github\n", "state": "active", "repository": "simonsobs/socs"}
{"mined_at": "2024-07-15T18:46:52.680409", "created_at": "2022-04-28T02:21:39+02:00", "updated_at": "2022-04-28T16:24:58+02:00", "name": "Run Tests", "path": ".github/workflows/skipped-pytest.yml", "contents": "name: Run Tests\n\non:\n  pull_request:\n    paths:\n      - 'docs/**'\n      - '**.rst'\n      - '**.md'\n      - '.flake8'\n      - '.pre-commit-config.yaml'\n      - '.readthedocs.yaml'\n      - '.github/dependabot.yml'\n\njobs:\n  test:\n    name: pytest with coverage\n    runs-on: ubuntu-latest\n\n    steps:\n      - run: 'echo \"No build required\" '\n", "state": "active", "repository": "simonsobs/socs"}
{"mined_at": "2024-07-15T18:46:53.705829", "created_at": "2022-04-28T16:24:58+02:00", "updated_at": "2022-04-28T16:24:58+02:00", "name": "Test Docker Build", "path": ".github/workflows/skipped-test-build.yml", "contents": "name: Test Docker Build\n\non:\n  pull_request:\n    paths:\n      - 'docs/**'\n      - '**.rst'\n      - '**.md'\n      - '.flake8'\n      - '.pre-commit-config.yaml'\n      - '.readthedocs.yaml'\n      - '.github/dependabot.yml'\n\njobs:\n  build:\n    name: test image build\n    runs-on: ubuntu-latest\n\n    steps:\n      - run: 'echo \"No build required\" '\n", "state": "active", "repository": "simonsobs/socs"}
{"mined_at": "2024-07-15T18:46:54.727576", "created_at": "2022-03-18T14:10:47+01:00", "updated_at": "2022-03-18T14:40:56+01:00", "name": "Test Docker Build", "path": ".github/workflows/test-build.yml", "contents": "name: Test Docker Build\n\non:\n  pull_request:\n    paths-ignore:\n      - 'docs/**'\n      - '**.rst'\n      - '**.md'\n      - '.flake8'\n      - '.pre-commit-config.yaml'\n      - '.readthedocs.yaml'\n      - '.github/dependabot.yml'\n\njobs:\n  build:\n    name: test image build\n    runs-on: ubuntu-latest\n\n    steps:\n    # Fetch all history for all tags and branches\n    - name: clone socs\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n\n    # Dockerize\n    - name: Build docker images\n      run: |\n        docker-compose build\n", "state": "active", "repository": "simonsobs/socs"}
{"mined_at": "2024-07-15T18:46:56.863669", "created_at": "2022-12-09T00:26:17+01:00", "updated_at": "2022-12-09T19:38:37+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: [ main ]\n    paths-ignore: [\"web/**\", \"**.md\", \"README.rst\"]\n  pull_request:\n    branches: [ main ]\n    paths-ignore: [\"web/**\", \"**.md\", \"README.rst\"]\n\nenv:\n  latest_python: \"3.12\"\n  supported_pythons: '[\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]'\n  miniforge_version: \"23.11.0-0\"\n  miniforge_variant: \"Mambaforge\"\n\njobs:\n  conf:\n    # This job is needed to route the global environment variables into\n    # a context that's available for matrix (and name, but that's unimportant)\n    name: Prepare Test Plan\n    runs-on: ubuntu-latest\n    outputs:\n      latest_python: ${{ steps.set-vars.outputs.latest_python }}\n      supported_pythons: ${{ steps.set-vars.outputs.supported_pythons }}\n    steps:\n      - name: Report Plan\n        id: set-vars\n        run: |\n          echo \"latest_python=$latest_python\" >> $GITHUB_OUTPUT\n          echo \"supported_pythons=$supported_pythons\" >> $GITHUB_OUTPUT\n\n  lint:\n    name: Lint code (${{ needs.conf.outputs.latest_python }}, ubuntu-latest)\n    needs: conf\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: ${{ env.latest_python }}\n          miniforge-version: ${{ env.miniforge_version }}\n          miniforge-variant: ${{ env.miniforge_variant }}\n          environment-file: ci/conda_host_env.yml\n      - name: Install dependencies\n        run: |\n          pip install -r ci/requirements.lint.txt\n          conda list\n      - name: Run Ruff\n        run: |\n          ruff check --output-format=github .\n\n  doc:\n    name: Build Documentation (${{ needs.conf.outputs.latest_python }}, ubuntu-latest)\n    needs: [\"conf\", \"lint\"]\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: ${{ env.latest_python }}\n          miniforge-version: ${{ env.miniforge_version }}\n          miniforge-variant: ${{ env.miniforge_variant }}\n          environment-file: ci/conda_host_env.yml\n      - name: Install dependencies\n        run: |\n          pip install -r ci/requirements.doc.txt\n          pip install .\n          conda list\n      - name: Make documentation\n        run: make doc\n      # save built documentation (HTML) for deployment\n      - name: Substitute URLs\n        if: github.event_name == 'push'\n        run: python doc/suburl.py\n      - name: Save documentation\n        if: github.event_name == 'push'\n        uses: actions/upload-artifact@v4\n        with:\n          name: docpack\n          path: doc/build/html/\n\n  # full-scale test with latest Python\n  test-latest:\n    name: Test (${{ needs.conf.outputs.latest_python }}, ${{ matrix.os }})\n    needs: conf\n    runs-on: ${{ matrix.os }}\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: true\n      # macos-14 and on uses Apple silicon chips (ARM-based).\n      # macos-13 is the last version that uses Intel chips. See:\n      # https://docs.github.com/en/actions/using-github-hosted-runners/\n      # about-github-hosted-runners/about-github-hosted-runners#standard-\n      # github-hosted-runners-for-public-repositories\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-13\", \"macos-14\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: ${{ env.latest_python }}\n          miniforge-version: ${{ env.miniforge_version }}\n          miniforge-variant: ${{ env.miniforge_variant }}\n          environment-file: ci/conda_host_env.yml\n      - name: Install dependencies\n        run: |\n          pip install .\n          conda list\n      - name: Run unit tests\n        env:\n          WITH_COVERAGE: \"TRUE\"\n        run: make test\n\n        # upload coverage reports to Codecov (only under Linux)\n      - name: Generate coverage reports\n        if: runner.os == 'Linux'\n        run: |\n          cd ci && coverage lcov --rcfile ../.coveragerc\n      - name: Upload coverage reports to Codecov\n        if: runner.os == 'Linux'\n        uses: codecov/codecov-action@v4.0.1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          slug: scikit-bio/scikit-bio\n\n  # test under AArch64 (ARM64) architecture\n  test-aarch64:\n    name: Test (${{ needs.conf.outputs.latest_python }}, qemu::aarch64-centos)\n    needs: conf\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        # setup-buildx-action uses the git context directly\n        # but checklist wants the .git directory\n      - name: Set up QEMU\n        id: qemu\n        uses: docker/setup-qemu-action@v1\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v1\n      - name: Build and test for linux-aarch64\n        id: docker_build\n        uses: docker/build-push-action@v2\n        with:\n          context: .\n          # ^ to use the local checkout, not the git context\n          file: aarch64.Dockerfile\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          build-args: |\n            PYTHON_VERSION=${{ env.latest_python }}\n\n  # test under all combinations of environments (Python versions, operating systems, PyPI vs Conda)\n  test-all:\n    name: Test (${{ matrix.python_version }}, ${{ matrix.os }}, ${{ fromJSON('[\"pypi\", \"conda\"]')[matrix.use_conda] }})\n    runs-on: ${{ matrix.os }}\n    needs: [\"conf\", \"test-latest\", \"lint\"]\n    defaults:\n      run:\n        shell: bash -l {0}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-latest\", \"macos-latest\"]\n        python_version: ${{ fromJSON(needs.conf.outputs.supported_pythons) }}\n        use_conda: [true, false]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python_version }}\n          miniforge-version: ${{ env.miniforge_version }}\n          miniforge-variant: ${{ env.miniforge_variant }}\n          environment-file: ci/conda_host_env.yml\n      - name: Install dependencies (conda)\n        if: ${{ matrix.use_conda }}\n        run: |\n          conda install -q --yes -c conda-forge --file ci/conda_requirements.txt\n          pip install . --no-deps\n          conda list\n      - name: Install dependencies\n        if: ${{ !matrix.use_conda }}\n        run: |\n          pip install .\n          conda list\n      - name: Run unit tests\n        env:\n          WITH_COVERAGE: \"TRUE\"\n        run: make test\n\n  # deploy the current development documentation to the website\n  # only when event is push and all tests have passed\n  deploy-doc:\n    name: Deploy documentation\n    if: github.event_name == 'push'\n    needs: [\"doc\", \"test-all\", \"test-aarch64\"]\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      # load documentation built by job \"doc\"\n      - name: Load documentation\n        uses: actions/download-artifact@v4\n        with:\n          name: docpack\n          path: docpack\n      # checkout website repo\n      - name: Check out website\n        uses: actions/checkout@v4\n        with:\n          repository: scikit-bio/scikit-bio.github.io\n          path: website\n          ssh-key: ${{ secrets.SSH_DEPLOY_KEY }}\n      # synchronize documentation to website's docs/dev directory\n      - name: Update documentation\n        run: rsync -av --delete docpack/ website/docs/dev\n      # push website back to repo\n      - name: Push website\n        run: |\n          cd website\n          git config user.name \"${{ github.actor }}\"\n          git config user.email \"${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com\"\n          git add -A\n          git commit -m \"Update from ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}\"\n          git push\n", "state": "active", "repository": "scikit-bio/scikit-bio"}
{"mined_at": "2024-07-15T18:46:57.993620", "created_at": "2022-04-01T00:28:38+02:00", "updated_at": "2022-04-01T00:28:38+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n      - '*'\n\nenv:\n  earliest_python: \"3.8\"\n  latest_python: \"3.12\"\n  miniforge_version: \"23.11.0-0\"\n  miniforge_variant: \"Mambaforge\"\n\njobs:\n  pypi:\n    name: Publish to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.earliest_python }}\n\n      - name: Build distribution\n        run: |\n          export RELEASE_VERSION=${{ github.ref_name }}\n          pip install numpy cython\n          python setup.py sdist\n\n      - name: Publish distribution\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n\n  doc:\n    name: Publish documentation\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: ${{ env.latest_python }}\n          miniforge-version: ${{ env.miniforge_version }}\n          miniforge-variant: ${{ env.miniforge_variant }}\n          environment-file: ci/conda_host_env.yml\n\n      - name: Install dependencies\n        run: |\n          pip install -r ci/requirements.doc.txt\n          pip install .\n          conda list\n\n      - name: Build documentation\n        run: make doc\n\n      - name: Substitute URLs\n        run: python doc/suburl.py\n\n      - name: Check out website\n        uses: actions/checkout@v4\n        with:\n          repository: scikit-bio/scikit-bio.github.io\n          path: website\n          ssh-key: ${{ secrets.SSH_DEPLOY_KEY }}\n\n      - name: Update documentation\n        run: |\n          rsync -av --delete doc/build/html/ website/docs/${{ github.ref_name }}\n          rsync -av --delete doc/build/html/ website/docs/latest\n\n      - name: Publish website\n        run: |\n          cd website\n          git config user.name \"${{ github.actor }}\"\n          git config user.email \"${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com\"\n          git add -A\n          git commit -m \"Update from ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}\"\n          git push\n", "state": "active", "repository": "scikit-bio/scikit-bio"}
{"mined_at": "2024-07-15T18:46:59.007173", "created_at": "2024-02-12T08:26:48+01:00", "updated_at": "2024-02-12T08:30:19+01:00", "name": "Website", "path": ".github/workflows/website.yml", "contents": "name: Website\n\non:\n  push:\n    branches: [ main ]\n    paths: [ \"web/**\", \"!**.md\" ]\n  pull_request:\n    branches: [ main ]\n    paths: [ \"web/**\", \"!**.md\" ]\n\nenv:\n  latest_python: \"3.12\"\n  miniforge_version: \"23.11.0-0\"\n  miniforge_variant: \"Mambaforge\"\n\njobs:\n\n  build:\n    name: Build website\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Set up conda\n        uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: ${{ env.latest_python }}\n          miniforge-version: ${{ env.miniforge_version }}\n          miniforge-variant: ${{ env.miniforge_variant }}\n\n      - name: Install dependencies\n        run: pip install -r ci/requirements.doc.txt\n\n      - name: Make website\n        run: make web\n\n      - name: Substitute URLs\n        if: github.event_name == 'push'\n        run: python web/suburl.py\n\n      - name: Add version list\n        if: github.event_name == 'push'\n        run: cp web/versions.json web/_build/html/\n\n      - name: Save website package\n        if: github.event_name == 'push'\n        uses: actions/upload-artifact@v4\n        with:\n          name: webpack\n          path: web/_build/html/\n\n  deploy:\n    name: Deploy website\n    if: github.event_name == 'push'\n    needs: build\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash -l {0}\n    steps:\n      - name: Check out repo\n        uses: actions/checkout@v4\n\n      - name: Load website package\n        uses: actions/download-artifact@v4\n        with:\n          name: webpack\n          path: webpack\n\n      - name: Check out website repo\n        uses: actions/checkout@v4\n        with:\n          repository: scikit-bio/scikit-bio.github.io\n          path: website\n          ssh-key: ${{ secrets.SSH_DEPLOY_KEY }}\n\n      - name: Update website\n        run: rsync -av --delete --exclude-from web/.exclude webpack/ website\n\n      - name: Push website\n        run: |\n          cd website\n          git config user.name \"${{ github.actor }}\"\n          git config user.email \"${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com\"\n          git add -A\n          git commit -m \"Update from ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}\"\n          git push\n", "state": "active", "repository": "scikit-bio/scikit-bio"}
{"mined_at": "2024-07-15T18:47:00.118040", "created_at": "2024-02-25T03:14:40+01:00", "updated_at": "2024-02-25T03:14:40+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "scikit-bio/scikit-bio"}
{"mined_at": "2024-07-15T18:47:01.133774", "created_at": "2022-04-01T02:27:40+02:00", "updated_at": "2022-04-01T02:27:40+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "scikit-bio/scikit-bio"}
{"mined_at": "2024-07-15T18:47:03.342781", "created_at": "2022-03-07T22:55:09+01:00", "updated_at": "2023-11-21T16:23:51+01:00", "name": "publish", "path": ".github/workflows/publish.yml", "contents": null, "state": "active", "repository": "mne-tools/mne-lsl"}
{"mined_at": "2024-07-15T18:47:04.358210", "created_at": "2023-05-04T11:15:33+02:00", "updated_at": "2023-05-04T11:15:33+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "mne-tools/mne-lsl"}
{"mined_at": "2024-07-15T18:47:05.494341", "created_at": "2023-11-21T12:54:52+01:00", "updated_at": "2023-11-21T13:04:40+01:00", "name": "doc", "path": ".github/workflows/doc.yaml", "contents": "name: doc\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\non:  # yamllint disable-line rule:truthy\n  pull_request:\n  push:\n    branches: [main]\n  workflow_dispatch:\n\njobs:\n  build:\n    timeout-minutes: 30\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install system dependencies\n        uses: ./.github/actions/install-system-dependencies\n      - name: Install optipng (for sphinx-gallery)\n        run: sudo apt install optipng\n      - name: Install package\n        run: |\n          python -m pip install --progress-bar off --upgrade pip setuptools\n          python -m pip install --progress-bar off .[doc]\n      - name: Display system information\n        run: mne_lsl-sys_info --developer\n      - name: Get dataset\n        uses: ./.github/actions/get-testing-dataset\n        with:\n          sample: \"true\"\n          testing: \"false\"\n      - name: Build doc\n        run: make -C doc html\n      - name: Prune sphinx environment\n        run: rm -R ./doc/_build/html/.doctrees\n      - name: Upload documentation\n        uses: actions/upload-artifact@v4\n        with:\n          name: doc-dev\n          path: ./doc/_build/html\n\n  deploy:\n    if: github.event_name == 'push'\n    needs: build\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Download documentation\n        uses: actions/download-artifact@v4\n        with:\n          name: doc-dev\n          path: ./doc-dev\n      - name: Deploy\n        uses: JamesIves/github-pages-deploy-action@v4\n        with:\n          folder: ./doc-dev\n          target-folder: ./dev\n          git-config-name: 'github-actions[bot]'\n          git-config-email: 'github-actions[bot]@users.noreply.github.com'\n          single-commit: true\n          force: true\n", "state": "active", "repository": "mne-tools/mne-lsl"}
{"mined_at": "2024-07-15T18:47:06.594563", "created_at": "2023-11-21T12:54:52+01:00", "updated_at": "2023-11-21T13:04:40+01:00", "name": "pytest", "path": ".github/workflows/pytest.yaml", "contents": "name: pytest\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\non:  # yamllint disable-line rule:truthy\n  pull_request:\n  push:\n    branches: [main]\n  workflow_dispatch:\n\njobs:\n  pytest:\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu, macos, windows]\n        python-version: [3.9, \"3.10\", \"3.11\", \"3.12\"]\n    name: ${{ matrix.os }} - py${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install system dependencies\n        uses: ./.github/actions/install-system-dependencies\n      - name: Install package\n        run: |\n          python -m pip install --progress-bar off --upgrade pip setuptools\n          python -m pip install --progress-bar off .[test]\n      - name: Display system information\n        run: mne_lsl-sys_info --developer\n      - name: Get testing dataset\n        uses: ./.github/actions/get-testing-dataset\n      - name: Run pytest\n        run: pytest mne_lsl --cov=mne_lsl --cov-report=xml --cov-config=pyproject.toml -s\n        env:\n          MNE_LSL_LOG_LEVEL: DEBUG\n      - name: Upload to codecov\n        uses: codecov/codecov-action@v4\n        with:\n          files: ./coverage.xml\n          flags: unittests  # optional\n          name: codecov-umbrella  # optional\n          fail_ci_if_error: false  # optional (default = false)\n          token: ${{ secrets.CODECOV_TOKEN }}\n          verbose: true  # optional (default = false)\n\n  pytest-pip-pre:\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n    name: pip pre-release - py${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install system dependencies\n        uses: ./.github/actions/install-system-dependencies\n      - name: Install package\n        run: |\n          python -m pip install --progress-bar off --upgrade pip setuptools\n          python -m pip install --progress-bar off .[test]\n          python -m pip install --progress-bar off --upgrade git+https://github.com/mne-tools/mne-python\n          python -m pip install matplotlib\n          python -m pip install --progress-bar off --upgrade --no-deps --pre --only-binary :all: -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --timeout=180 matplotlib\n          python -m pip install --progress-bar off --upgrade --pre --only-binary :all: -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --timeout=180 numpy scipy\n      - name: Display system information\n        run: mne_lsl-sys_info --developer\n      - name: Get testing dataset\n        uses: ./.github/actions/get-testing-dataset\n      - name: Run pytest\n        run: pytest mne_lsl --cov=mne_lsl --cov-report=xml --cov-config=pyproject.toml -s\n        env:\n          MNE_LSL_LOG_LEVEL: DEBUG\n      - name: Upload to codecov\n        uses: codecov/codecov-action@v4\n        with:\n          files: ./coverage.xml\n          flags: unittests  # optional\n          name: codecov-umbrella  # optional\n          fail_ci_if_error: false  # optional (default = false)\n          token: ${{ secrets.CODECOV_TOKEN }}\n          verbose: true  # optional (default = false)\n\n  pytest-compat:\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        mne-version: [\"1.4.2\", \"1.5.0\"]\n        python-version: [3.9]\n    name: mne compat ${{ matrix.mne-version }} - py${{ matrix.python-version }}\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install system dependencies\n        uses: ./.github/actions/install-system-dependencies\n      - name: Install package\n        run: |\n          python -m pip install --progress-bar off --upgrade pip setuptools\n          python -m pip install --progress-bar off .[test]\n          python -m pip uninstall numpy mne -y\n          python -m pip install --progress-bar off \"numpy<2\"\n          python -m pip install --progress-bar off mne==${{ matrix.mne-version }}\n      - name: Display system information\n        run: mne_lsl-sys_info --developer\n      - name: Get testing dataset\n        uses: ./.github/actions/get-testing-dataset\n      - name: Run pytest\n        run: pytest mne_lsl --cov=mne_lsl --cov-report=xml --cov-config=pyproject.toml -s\n        env:\n          MNE_LSL_LOG_LEVEL: DEBUG\n      - name: Upload to codecov\n        uses: codecov/codecov-action@v4\n        with:\n          files: ./coverage.xml\n          flags: unittests  # optional\n          name: codecov-umbrella  # optional\n          fail_ci_if_error: false  # optional (default = false)\n          token: ${{ secrets.CODECOV_TOKEN }}\n          verbose: true  # optional (default = false)\n", "state": "active", "repository": "mne-tools/mne-lsl"}
{"mined_at": "2024-07-15T18:47:07.652284", "created_at": "2023-11-21T13:04:40+01:00", "updated_at": "2023-11-21T13:04:40+01:00", "name": "publish", "path": ".github/workflows/publish.yaml", "contents": "name: publish\n\non:  # yamllint disable-line rule:truthy\n  release:\n    types: [published]\n\njobs:\n  pypi:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install system dependencies\n        uses: ./.github/actions/install-system-dependencies\n      - name: Install package\n        run: |\n          python -m pip install --progress-bar off --upgrade pip setuptools\n          python -m pip install --progress-bar off -e .[build,stubs]\n      - name: Display system information\n        run: mne_lsl-sys_info --developer\n      - name: Generate stub files\n        run: python tools/stubgen.py\n      - name: Build and publish\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN  }}\n        run: |\n          python -m build\n          twine check dist/*\n          twine upload dist/*\n", "state": "active", "repository": "mne-tools/mne-lsl"}
{"mined_at": "2024-07-15T18:47:08.676956", "created_at": "2023-11-21T13:04:40+01:00", "updated_at": "2023-11-21T13:04:40+01:00", "name": "pylsl", "path": ".github/workflows/pylsl.yaml", "contents": "name: pylsl\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\non:  # yamllint disable-line rule:truthy\n  workflow_dispatch:\n  schedule:\n    - cron: '0 8 * * 1'\n\njobs:\n  sha256:\n    timeout-minutes: 2\n    runs-on: ubuntu-latest\n    env:\n      SHA256_PYLSL: 0a384000acdd5f831376d142b4aea373693f1e356ab1cd3dbdef10896acf74e3\n    steps:\n      - name: Checkout pylsl repository\n        uses: actions/checkout@v4\n        with:\n          repository: labstreaminglayer/pylsl\n      - name: Compare checksum\n        run: echo \"$SHA256_PYLSL pylsl/pylsl.py\" | sha256sum -c\n      - name: Create GitHub issue\n        if: failure()\n        uses: dacbd/create-issue-action@main\n        with:\n          token: ${{ github.token }}\n          title: pyLSL is out of sync with MNE-LSL\n          body: |\n            Please visit https://github.com/labstreaminglayer/pylsl and review the changes.\n            [Failed Run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})\n          assignees: mscheltienne\n", "state": "active", "repository": "mne-tools/mne-lsl"}
{"mined_at": "2024-07-15T18:47:09.870745", "created_at": "2023-12-20T14:18:33+01:00", "updated_at": "2023-12-20T14:18:33+01:00", "name": "stubs", "path": ".github/workflows/stubs.yaml", "contents": "name: stubs\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}\n  cancel-in-progress: true\non:  # yamllint disable-line rule:truthy\n  pull_request:\n  schedule:\n    - cron: '0 3 * * *'\n  workflow_dispatch:\n\njobs:\n  generate:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        shell: bash\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install system dependencies\n        uses: ./.github/actions/install-system-dependencies\n      - name: Install package\n        run: |\n          python -m pip install --progress-bar off --upgrade pip setuptools\n          python -m pip install --progress-bar off -e .[stubs]\n      - name: Display system information\n        run: mne_lsl-sys_info --developer\n      - name: Generate stub files\n        run: python tools/stubgen.py\n      - name: Push stub files\n        if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'\n        env:\n          GH_TOKEN: ${{ github.token }}\n        run: |\n          git config --global user.name 'github-actions[bot]'\n          git config --global user.email 'github-actions[bot]@users.noreply.github.com'\n          if [ -n \"$(git status --porcelain)\" ]; then\n            branch_name=\"update-stub-files-$(date +'%Y%m%d-%H%M%S')\"\n            git checkout -b \"$branch_name\"\n            git add mne_lsl/\\*.pyi\n            git commit -m \"deploy stub files [ci skip]\"\n            git push --set-upstream origin \"$branch_name\"\n            gh pr create --title \"Update stub files\" --body \"Auto-generated PR for updating stub files.\" --base main\n          fi\n", "state": "active", "repository": "mne-tools/mne-lsl"}
{"mined_at": "2024-07-15T18:47:10.975060", "created_at": "2024-07-15T13:48:22+02:00", "updated_at": "2024-07-15T13:48:22+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "mne-tools/mne-lsl"}
{"mined_at": "2024-07-15T18:47:13.250000", "created_at": "2023-07-04T11:16:00+02:00", "updated_at": "2023-07-12T10:21:22+02:00", "name": "main_workflow", "path": ".github/workflows/common_checks.yaml", "contents": "name: main_workflow\n\non:\n  push:\n    branches:\n      - develop\n      - main\n  pull_request:\n\njobs:\n  lock_check:\n    continue-on-error: False\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest, macos-latest, windows-latest ]\n        python-version: [ \"3.10\" ]\n        poetry-version: [\"1.4.0\"]\n\n    defaults:\n      run:\n        shell: bash\n\n    timeout-minutes: 10\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install and configure Poetry\n      uses: snok/install-poetry@v1\n      with:\n        version: ${{ matrix.poetry-version }}\n        virtualenvs-create: true\n        virtualenvs-in-project: false\n        virtualenvs-path: ~/my-custom-path\n        installer-parallel: true\n    - name: Check if dependencies can be locked\n      run: poetry lock --check\n    - name: Poetry install requirements and check they can be locked\n      run: poetry install --all-extras --no-interaction -vvv\n\n  copyright_and_dependencies_check:\n    continue-on-error: False\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ \"3.10\" ]\n\n    timeout-minutes: 30\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: pip install tomte[tox,cli]==0.2.14\n    - name: Check copyright headers\n      run: tomte check-copyright --author valory --exclude-part abci --exclude-part http_client --exclude-part ipfs --exclude-part ledger --exclude-part p2p_libp2p_client --exclude-part gnosis_safe --exclude-part gnosis_safe_proxy_factory --exclude-part multisend --exclude-part service_registry --exclude-part protocols --exclude-part abstract_abci --exclude-part abstract_round_abci --exclude-part registration_abci --exclude-part reset_pause_abci --exclude-part termination_abci --exclude-part transaction_settlement_abci --exclude-part websocket_client --exclude-part contract_subscription --exclude-part mech --exclude-part mech_interact_abci  --exclude-part http_server\n    - name: License compatibility check\n      run: tox -e liccheck\n    - name: Check dependencies\n      run: tox -e check-dependencies\n    - name: Check doc links\n      run: tomte check-doc-links\n    - name: Check doc IPFS hashes\n      run: tox -e check-doc-hashes\n\n  linter_checks:\n    continue-on-error: False\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ \"3.10\" ]\n\n    timeout-minutes: 30\n\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run:  |\n        pip install tomte[tox,cli]==0.2.14\n\n        # Install `mdspell` for spelling checks\n        sudo npm install -g markdown-spellcheck\n\n    - name: Security checks\n      run: tomte check-security\n    - name: Check packages\n      run: tox -e check-packages\n    - name: Check hash\n      run: tox -e check-hash\n    - name: Code checks\n      run: tomte check-code\n    - name: Check spelling\n      run: tomte check-spelling\n    - name: AbciApp consistency checks\n      run: |\n        tox -e check-abci-docstrings\n        tox -e check-abciapp-specs\n        tox -e check-handlers\n        tox -e analyse-service\n\n  scan:\n    name: gitleaks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - run: |\n          wget https://github.com/zricethezav/gitleaks/releases/download/v8.10.1/gitleaks_8.10.1_linux_x64.tar.gz && \\\n          tar -xzf gitleaks_8.10.1_linux_x64.tar.gz && \\\n          sudo install gitleaks /usr/bin && \\\n          gitleaks detect --report-format json --report-path leak_report -v\n\n  test:\n    continue-on-error: True\n    needs:\n      - lock_check\n      - copyright_and_dependencies_check\n      - linter_checks\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ ubuntu-latest, macos-latest, windows-latest ]\n        python-version: [ \"3.8\", \"3.9\", \"3.10\", \"3.11\" ]\n\n    timeout-minutes: 30\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          submodules: recursive\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/setup-go@v3\n        with:\n          go-version: \"1.17.7\"\n      - name: Create decision maker's `store_path` (data folder)\n        run: mkdir data\n      - if: matrix.os == 'ubuntu-latest'\n        name: Install dependencies (ubuntu-latest)\n        run: |\n          sudo apt-get update --fix-missing\n          sudo apt-get autoremove\n          sudo apt-get autoclean\n          pip install tomte[tox]==0.2.14\n          pip install --user --upgrade setuptools\n\n          # install Protobuf compiler\n          wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-linux-x86_64.zip\n          unzip protoc-24.3-linux-x86_64.zip -d protoc\n          sudo mv protoc/bin/protoc /usr/local/bin/protoc\n\n          # install Tendermint\n          wget -O tendermint.tar.gz https://github.com/tendermint/tendermint/releases/download/v0.34.19/tendermint_0.34.19_linux_amd64.tar.gz\n          tar -xf tendermint.tar.gz\n          sudo mv tendermint /usr/local/bin/tendermint\n\n      - if: matrix.os == 'ubuntu-latest'\n        name: Packages unit tests ubuntu-latest\n        run: |\n          tox -e py${{ matrix.python-version }}-linux\n\n      - if: matrix.os == 'macos-latest'\n        name: Install dependencies (macos-latest)\n        run: |\n          pip install tomte[tox]==0.2.14\n          brew install gcc\n          # brew install protobuf\n          # brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/72457f0166d5619a83f508f2345b22d0617b5021/Formula/protobuf.rb\n          wget https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-osx-x86_64.zip\n          unzip protoc-24.3-osx-x86_64.zip -d protoc\n          sudo mv protoc/bin/protoc /usr/local/bin/protoc\n          brew tap yoheimuta/protolint\n          brew install protolint\n\n      - if: matrix.os == 'macos-latest'\n        name: Packages unit tests macos-latest\n        run: |\n          tox -e py${{ matrix.python-version }}-darwin\n\n      - if: matrix.os == 'windows-latest'\n        name: Install dependencies (windows-latest)\n        env:\n          ACTIONS_ALLOW_UNSECURE_COMMANDS: true\n        run: |\n          python -m pip install -U pip\n          echo \"::add-path::C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\"\n          choco install wget -y\n          choco install protoc --version 24.3\n          choco install mingw -y\n          choco install make -y\n          # to check make was installed\n          make --version\n          pip install tomte[tox]==0.2.14\n\n      - if: matrix.os == 'windows-latest'\n        name: Packages unit tests windows-latest\n        run: |\n          tox -e py${{ matrix.python-version }}-win\n\n      - if: matrix.os == 'ubuntu-latest'\n        name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v1\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          flags: unittests\n          name: codecov-umbrella\n          fail_ci_if_error: false\n", "state": "active", "repository": "valory-xyz/trader"}
{"mined_at": "2024-07-15T18:47:14.366011", "created_at": "2023-07-04T11:16:01+02:00", "updated_at": "2024-07-04T14:00:31+02:00", "name": "Release Flow", "path": ".github/workflows/release.yaml", "contents": "name: Release Flow\n\non:\n  release:\n    types: [prereleased, released]\n\njobs:\n  publish-packages:\n    name: Push Packages\n    runs-on: ubuntu-20.04\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-versions }}\n      - uses: addnab/docker-run-action@v3\n        with:\n            image: valory/open-autonomy-user:latest\n            options: -v ${{ github.workspace }}:/work\n            run: |\n              echo \"Pushing Packages\"\n              cd /work\n              export AUTHOR=$(grep 'service' packages/packages.json | awk -F/ '{print $2}' | head -1)\n              autonomy init --reset --author $AUTHOR --ipfs --remote\n              autonomy push-all\n  publish-images:\n    name: Publish Docker Images\n    runs-on: ${{ matrix.os }}\n    needs:\n      - \"publish-packages\"\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n    env:\n        DOCKER_USER: ${{secrets.DOCKER_USER}}\n        DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n            fetch-depth: 0\n      - name: Set up tag and vars\n        uses: addnab/docker-run-action@v3\n        with:\n            image: valory/open-autonomy-user:latest\n            options: -v ${{ github.workspace }}:/work\n            run: |\n              echo \"Setting Tag Images\"\n              cd /work\n              apt-get update && apt-get install git -y || exit 1\n              git config --global --add safe.directory /work\n              export TAG=$(git describe --exact-match --tags $(git rev-parse HEAD)) || exit 1\n              if [ $? -eq 0 ]; then\n                  export TAG=`echo $TAG | sed 's/^v//'`\n              else\n                  echo \"You are not on a tagged branch\"\n                  exit 1\n              fi\n              echo VERSION=$TAG> env.sh\n              echo AUTHOR=$(grep 'service/' packages/packages.json | awk -F/ '{print $2}' | head -1) >> env.sh\n              echo SERVICE=$(grep 'service/' packages/packages.json | awk -F/ '{print $3}' | head -1) >> env.sh\n              echo AGENT=$(grep 'agent/' packages/packages.json | awk -F/ '{print $3}' | head -1) >> env.sh\n              echo DEFAULT_IMAGE_TAG=$(cat packages/packages.json | grep agent/ | awk -F: '{print $2}' | tr -d '\", ' | head -n 1) >> env.sh\n              cat env.sh\n\n      - uses: addnab/docker-run-action@v3\n        name: Build Images\n        with:\n            image: valory/open-autonomy-user:latest\n            options: -v ${{ github.workspace }}:/work\n            shell: bash\n            run: |\n              echo \"Building Docker Images\"\n              cd /work\n              source env.sh || exit 1\n              echo \"Building images for $AUTHOR for service $SERVICE\"\n              autonomy init --reset --author $AUTHOR --ipfs --remote\n              autonomy fetch $AUTHOR/$SERVICE --service --local || exit 1\n              cd $SERVICE || exit 1\n              autonomy build-image || exit 1\n              autonomy build-image --version $VERSION || exit 1\n\n      - name: Docker login\n        run: |\n            echo  $DOCKER_PASSWORD | docker login -u $DOCKER_USER --password-stdin\n      - name: Docker Push\n        run: |\n          source env.sh\n          echo \"Pushing $DOCKER_USER/oar-$AGENT:$VERSION\"\n          echo \"Pushing $DOCKER_USER/oar-$AGENT:$DEFAULT_IMAGE_TAG\"\n          docker push $DOCKER_USER/oar-$AGENT:$VERSION\n          docker push $DOCKER_USER/oar-$AGENT:$DEFAULT_IMAGE_TAG\n\n  deploy-service-on-propel:\n    name: Deploy service on propel\n    environment: ${{ github.event.action == 'released' && 'production' || 'staging' }}\n    needs:\n    - \"publish-packages\"\n    - \"publish-images\"\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n    env:\n      CMD: \"propel -U ${{ vars.PROPEL_BASE_URL }}\"\n    steps:\n      - uses: actions/checkout@master\n      - uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-versions }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get update --fix-missing\n          sudo apt-get autoremove\n          sudo apt-get autoclean\n          python -m pip install --upgrade pip\n          pip install propel-client open-autonomy\n\n      - name: Make use proxy instead of actual nlb by dns override\n        run: |\n          # for staging\n          export IP_ADDR=$(dig +short balancer.tcp.propel.staging.autonolas.tech)\n          echo -e \"\\n$IP_ADDR\\tapp.propel.staging.valory.xyz\\n\"  | sudo tee -a /etc/hosts\n          \n          # for prod\n          export IP_ADDR=$(dig +short balancer.tcp.propel.autonolas.tech)\n          echo -e \"\\n$IP_ADDR\\tapp.propel.valory.xyz\\n\"  | sudo tee -a /etc/hosts\n\n      - name: Login to propel\n        run: |\n          $CMD login -u  '${{ vars.PROPEL_USERNAME }}' -p  '${{ secrets.PROPEL_PASSWORD }}'\n\n      - name: Do a deployment\n        run: |\n          # determine ipfs hash id\n          export IPFS_HASH=$(jq '.dev | to_entries[] | select(.key | startswith(\"service\"))| .value' -r  ./packages/packages.json | head -n1)\n          export SERVICE_PATH=service_for_propel\n\n          # fetch service file and check it published\n          autonomy init --reset --author ci --ipfs --remote\n          autonomy fetch $IPFS_HASH --service --alias $SERVICE_PATH\n\n          # get env vars from github actions\n          echo '${{ toJSON(secrets) }}' | jq -r 'to_entries|map(\"export \\(.key)=\\(.value|tojson)\")|.[]' > github.vars\n          echo >> github.vars\n          echo '${{ toJSON(vars) }}' | jq -r 'to_entries|map(\"export \\(.key)=\\(.value|tojson)\")|.[]' >> github.vars\n          source github.vars\n          $CMD service deploy --name  '${{ vars.SERVICE_NAME }}'  --service-dir $SERVICE_PATH --service-ipfs-hash $IPFS_HASH  --ingress-enabled true --keys '${{ vars.SERVICE_KEYS }}' --timeout 320\n", "state": "active", "repository": "valory-xyz/trader"}
{"mined_at": "2024-07-15T18:47:15.474588", "created_at": "2024-01-31T09:36:48+01:00", "updated_at": "2024-01-31T09:36:48+01:00", "name": "release", "path": ".github/workflows/test_release.yaml", "contents": null, "state": "active", "repository": "valory-xyz/trader"}
{"mined_at": "2024-07-15T18:47:17.652968", "created_at": "2020-12-18T10:49:45+01:00", "updated_at": "2023-05-10T09:03:05+02:00", "name": "Publish 📦 to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish 📦 to PyPI\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  build-n-publish:\n    name: Build and publish 📦 to PyPI\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: 3.10.8\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel build\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m build .\n#      - name: Publish 📦 to Test PyPI\n#        uses: pypa/gh-action-pypi-publish@master\n#        with:\n#          password: ${{ secrets.PYPI_TEST_TOKEN }}\n#          repository_url: https://test.pypi.org/legacy/\n      - name: Publish 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.pypi_prod_token }}\n", "state": "active", "repository": "jabesq-org/pyatmo"}
{"mined_at": "2024-07-15T18:47:18.882123", "created_at": "2020-12-18T10:49:45+01:00", "updated_at": "2023-05-10T09:04:00+02:00", "name": "Publish 📦 to TestPyPI", "path": ".github/workflows/publish-to-test-pypi.yml", "contents": "name: Publish 📦 to TestPyPI\n\non:\n  push:\n    branches:\n      - development\n\n\njobs:\n  build-n-publish:\n    name: Build and publish 📦 to TestPyPI\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: development\n          fetch-depth: 0\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: 3.10.8\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel build\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m build .\n      - name: Publish 📦 to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_TEST_TOKEN }}\n          repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "jabesq-org/pyatmo"}
{"mined_at": "2024-07-15T18:47:19.930535", "created_at": "2020-12-03T17:00:34+01:00", "updated_at": "2021-04-25T14:03:42+02:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": "name: Python package\n\non:\n  push:\n    branches:\n      - master\n      - development\n  pull_request:\n    branches:\n      - master\n      - development\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 1\n      matrix:\n        python-version: [3.11.4]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install black\n      - name: Check with black\n        run: |\n          black --check --diff src/pyatmo/ tests/\n\n  linter:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.11.4]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install ruff\n      - name: Lint with ruff\n        run: |\n          ruff check src/pyatmo\n\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      max-parallel: 4\n      matrix:\n        python-version: [3.10.8, 3.11.4]\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.1.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Run tests with tox\n        run: |\n          pip install tox tox-gh-actions\n          tox\n", "state": "active", "repository": "jabesq-org/pyatmo"}
{"mined_at": "2024-07-15T18:47:21.134088", "created_at": "2021-01-20T22:49:02+01:00", "updated_at": "2021-01-20T22:49:02+01:00", "name": "Create Github Release", "path": ".github/workflows/release_gh.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Create Github Release\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the development branch\non:\n  push:\n    # Sequence of patterns matched against refs/tags\n    tags:\n      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      # Runs a single command using the runners shell\n      - name: Create a Release\n        uses: actions/create-release@v1.1.4\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          # The name of the tag. This should come from the webhook payload, `github.GITHUB_REF` when a user pushes a new tag\n          tag_name: ${{ github.ref }}\n          # The name of the release. For example, `Release v1.0.1`\n          release_name: Release ${{ github.ref }}\n", "state": "active", "repository": "jabesq-org/pyatmo"}
{"mined_at": "2024-07-15T18:47:22.148007", "created_at": "2023-10-19T11:42:18+02:00", "updated_at": "2023-10-19T11:42:18+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "jabesq-org/pyatmo"}
{"mined_at": "2024-07-15T18:47:24.246820", "created_at": "2021-03-16T00:45:54+01:00", "updated_at": "2021-03-16T00:45:54+01:00", "name": "Changelog updated?", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog updated?\n\non:\n  pull_request:\n    types:\n      - opened\n      - labeled\n      - unlabeled\n      - synchronize\n    branches:\n      - main\n      - develop\n\njobs:\n  call-changelog-check-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.11.0\n    secrets:\n      USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:25.262829", "created_at": "2023-02-09T19:54:55+01:00", "updated_at": "2023-02-14T23:47:24+01:00", "name": "Check links", "path": ".github/workflows/check-links.yml", "contents": "name: Check links\n\n# TODO: switch back to the push trigger if/when this workflow gets fixed; see https://github.com/ASFHyP3/hyp3-docs/issues/340\n# on: push\non:\n  workflow_dispatch:\n\njobs:\n  linkChecker:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Link Checker\n        id: lychee\n        uses: lycheeverse/lychee-action@v1.9.3\n        env:\n          GITHUB_TOKEN: ${{secrets.TOOLS_BOT_PAK}}\n        with:\n          args: --insecure \"docs/**/*.md\" \"README.md\" \"CODE_OF_CONDUCT.md\"\n          fail: true\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:26.265300", "created_at": "2023-07-22T01:57:45+02:00", "updated_at": "2023-07-22T01:57:45+02:00", "name": "Create Jira issue", "path": ".github/workflows/create-jira-issue.yml", "contents": "name: Create Jira issue\n\non:\n  issues:\n    types: [labeled]\n\njobs:\n  call-create-jira-issue-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-create-jira-issue.yml@v0.11.0\n    secrets:\n      JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n      JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n      JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n      JIRA_PROJECT: ${{ secrets.JIRA_PROJECT }}\n      JIRA_FIELDS: ${{ secrets.JIRA_FIELDS }}\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:27.484036", "created_at": "2020-10-16T01:25:26+02:00", "updated_at": "2020-10-16T02:32:49+02:00", "name": "Deploy to Github.io", "path": ".github/workflows/deploy_to_github_io.yml", "contents": "name: Deploy to Github.io\n\non:\n  push:\n    branches:\n      - main\n      - develop\n\njobs:\n  build_and_deploy:\n    name: Build site and deploy\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          path: hyp3-docs\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: 3.9\n          activate-environment: hyp3-docs\n          environment-file: hyp3-docs/environment.yml\n\n      - name: Deploy test website\n        if: github.ref == 'refs/heads/develop'\n        shell: bash -l {0}\n        run: |\n          cd hyp3-docs\n          # Remove conflicting CNAME for project site\n          rm docs/CNAME\n          # Set site URL for dev site\n          sed -i 's|site_url: https://hyp3-docs.asf.alaska.edu/|site_url: https://hyp3-docs.asf.alaska.edu/hyp3-docs/|' mkdocs.yml\n          mkdocs gh-deploy --force\n\n      - uses: actions/checkout@v4\n        if: github.ref == 'refs/heads/main'\n        with:\n          repository: ASFHyP3/ASFHyP3.github.io\n          path: ASFHyP3.github.io\n          token: ${{ secrets.TOOLS_BOT_PAK }}\n\n      - name: deploy to github.io\n        if: github.ref == 'refs/heads/main'\n        shell: bash -l {0}\n        run: |\n          cd ASFHyP3.github.io\n          mkdocs gh-deploy  --force --config-file ../hyp3-docs/mkdocs.yml --remote-branch main\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:28.609565", "created_at": "2021-03-16T19:16:48+01:00", "updated_at": "2021-03-16T19:16:48+01:00", "name": "Is PR labeled?", "path": ".github/workflows/labeled-pr.yml", "contents": "name: Is PR labeled?\n\non:\n  pull_request:\n    types:\n      - opened\n      - labeled\n      - unlabeled\n      - synchronize\n    branches:\n      - main\n\njobs:\n  call-labeled-pr-check-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.11.0\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:29.733610", "created_at": "2023-05-05T02:10:15+02:00", "updated_at": "2023-05-05T02:10:15+02:00", "name": ".github/workflows/release-template-comment.yml", "path": ".github/workflows/release-template-comment.yml", "contents": "on:\n  pull_request:\n    types:\n      - opened\n    branches:\n      - main\n\njobs:\n  call-release-checklist-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-release-checklist-comment.yml@v0.11.0\n    secrets:\n      USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:30.803651", "created_at": "2021-03-16T19:16:49+01:00", "updated_at": "2023-05-08T21:25:49+02:00", "name": "Create Release", "path": ".github/workflows/release.yml", "contents": "name: Create Release\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  call-release-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.11.0\n    with:\n      release_prefix: HyP3 Docs\n    secrets:\n      USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }}\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:31.882911", "created_at": "2023-02-09T19:54:55+01:00", "updated_at": "2023-02-14T21:48:14+01:00", "name": "Spell Check .md", "path": ".github/workflows/spellcheck.yml", "contents": "name: Spell Check .md\non: push\n\njobs:\n  spellcheck:\n    runs-on: ubuntu-latest\n    name: Spellcheck\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Spellcheck\n        uses: tbroadley/spellchecker-cli-action@v1\n        with:\n          files: \"docs/**/*.md **/*.md *.md\"\n          quiet: true\n          noSuggestions: true\n          dictionaries: \".github/dictionary.txt\"\n          reports: \"report.json\"\n          plugins: \"spell repeated-words syntax-mentions syntax-urls frontmatter\"\n      - name: Report\n        if: ${{ failure() }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: report\n          path: report.json\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:32.914952", "created_at": "2021-03-16T00:34:19+01:00", "updated_at": "2021-04-30T05:10:20+02:00", "name": "Static analysis", "path": ".github/workflows/static-analysis.yml", "contents": "name: Static analysis\n\non: push\n\njobs:\n  call-secrets-analysis-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.11.0\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:33.974304", "created_at": "2021-03-30T23:10:34+02:00", "updated_at": "2023-05-08T21:25:49+02:00", "name": "Tag New Version", "path": ".github/workflows/tag-release.yml", "contents": "name: Tag New Version\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  call-bump-version-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.11.0\n    secrets:\n      USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }}\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:35.017857", "created_at": "2021-03-29T22:03:48+02:00", "updated_at": "2021-03-29T22:03:48+02:00", "name": "Test build of website", "path": ".github/workflows/test-build.yml", "contents": "name: Test build of website\n\non:\n  pull_request:\n    branches:\n      - main\n      - develop\n\njobs:\n  test_build:\n    name: Test build of site\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          auto-update-conda: true\n          python-version: 3.9\n          activate-environment: hyp3-docs\n          environment-file: environment.yml\n\n      - name: Test build of website\n        shell: bash -l {0}\n        run: |\n          mkdocs build\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:36.038924", "created_at": "2020-12-17T20:45:24+01:00", "updated_at": "2021-04-30T05:01:43+02:00", "name": "Update ASF Tools version", "path": ".github/workflows/update_asf_tools_version.yml", "contents": "name: Update ASF Tools version\n\non:\n  workflow_dispatch:\n    inputs:\n      asf_tools_version:\n        description: 'The new version of ASF Tools'\n        required: true\n\njobs:\n  bump_sdk_version:\n    name: Bump the ASF Tools version\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.TOOLS_BOT_PAK }}\n\n      - name: create patch branch\n        id: patch\n        env:\n          ASF_TOOLS_VERSION: ${{ github.event.inputs.asf_tools_version }}\n          PATCH_BRANCH: bump-asf-tools-${{ github.event.inputs.asf_tools_version }}\n        run: |\n          git config user.name \"tools-bot\"\n          git config user.email \"UAF-asf-apd@alaska.edu\"\n          echo \"::set-output name=branch::${PATCH_BRANCH}\"\n          git checkout -b ${PATCH_BRANCH}\n          sed -i -r \"s|asf-tools/v[0-9]+\\.[0-9]+\\.[0-9]+|asf-tools/${ASF_TOOLS_VERSION}|\" docs/tools/asf_tools.md\n          sed -i -r \"s|\\`asf_tools\\` \\*v[0-9]+\\.[0-9]+\\.[0-9]+\\*|\\`asf_tools\\` \\*${ASF_TOOLS_VERSION}\\*|\" docs/tools/asf_tools_api.md\n          sed -i -r \"s|asf_tools=[0-9]+\\.[0-9]+\\.[0-9]+|asf_tools=${ASF_TOOLS_VERSION#v}|\" environment.yml\n          git commit -am \"Bump ASF Tools version to ${ASF_TOOLS_VERSION}\"\n          git push origin ${PATCH_BRANCH}\n\n      - name: open PR\n        uses: repo-sync/pull-request@v2\n        with:\n          source_branch:  ${{ steps.patch.outputs.branch }}\n          destination_branch: main\n          pr_title: Update ASF Tools version to ${{ github.event.inputs.asf_tools_version }}\n          pr_body: |\n            PR created by a `workflow_dispatch` event\n          pr_assignee: ASFHyP3/tools\n          pr_label: tools-bot\n          pr_draft: false\n          pr_allow_empty: true\n          github_token: ${{ secrets.TOOLS_BOT_PAK }}\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:37.066346", "created_at": "2020-10-26T23:29:06+01:00", "updated_at": "2021-04-30T05:01:43+02:00", "name": "Update HyP3 SDK version", "path": ".github/workflows/update_sdk_version.yml", "contents": "name: Update HyP3 SDK version\n\non:\n  workflow_dispatch:\n    inputs:\n      sdk_version:\n        description: 'The new version of the SDK'\n        required: true\n\njobs:\n  bump_sdk_version:\n    name: Bump the SDK version\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.TOOLS_BOT_PAK }}\n\n      - name: create patch branch\n        id: patch\n        env:\n          SDK_VERSION: ${{ github.event.inputs.sdk_version }}\n          PATCH_BRANCH: bump-sdk-${{ github.event.inputs.sdk_version }}\n        run: |\n          git config user.name \"tools-bot\"\n          git config user.email \"UAF-asf-apd@alaska.edu\"\n          echo \"::set-output name=branch::${PATCH_BRANCH}\"\n          git checkout -b ${PATCH_BRANCH}\n          sed -i -r \"s|hyp3-sdk/v[0-9]+\\.[0-9]+\\.[0-9]+|hyp3-sdk/${SDK_VERSION}|\" docs/using/sdk.md\n          sed -i -r \"s|\\`hyp3_sdk\\` \\*v[0-9]+\\.[0-9]+\\.[0-9]+\\*|\\`hyp3_sdk\\` \\*${SDK_VERSION}\\*|\" docs/using/sdk_api.md\n          sed -i -r \"s|hyp3_sdk=[0-9]+\\.[0-9]+\\.[0-9]+|hyp3_sdk=${SDK_VERSION#v}|\" environment.yml\n          git commit -am \"Bump SDK version to ${SDK_VERSION}\"\n          git push origin ${PATCH_BRANCH}\n\n      - name: open PR\n        uses: repo-sync/pull-request@v2\n        with:\n          source_branch:  ${{ steps.patch.outputs.branch }}\n          destination_branch: main\n          pr_title: Update HyP3 SDK version to ${{ github.event.inputs.sdk_version }}\n          pr_body: |\n            PR created by a `workflow_dispatch` event\n          pr_assignee: ASFHyP3/tools\n          pr_label: tools-bot\n          pr_draft: false\n          pr_allow_empty: true\n          github_token: ${{ secrets.TOOLS_BOT_PAK }}\n", "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:38.094336", "created_at": "2022-01-12T01:58:19+01:00", "updated_at": "2022-01-12T01:58:19+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ASFHyP3/hyp3-docs"}
{"mined_at": "2024-07-15T18:47:40.181366", "created_at": "2024-05-03T19:00:49+02:00", "updated_at": "2024-05-03T19:18:18+02:00", "name": "Check Dev Container", "path": ".github/workflows/devcontainer-ci.yml", "contents": "name: Check Dev Container\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - \".devcontainer/**\"\n      - \".github/workflows/devcontainer-ci.yaml\"\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \".devcontainer/**\"\n      - \".github/workflows/devcontainer-ci.yaml\"\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Use Node.js 20.x\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20.x\n      - run: npm install -g @devcontainers/cli\n      - run: devcontainer build --config ./.devcontainer/devcontainer.json --workspace-folder \"$(pwd)\"\n", "state": "active", "repository": "render-engine/render-engine"}
{"mined_at": "2024-07-15T18:47:41.307661", "created_at": "2023-11-22T14:53:01+01:00", "updated_at": "2023-11-22T16:18:13+01:00", "name": "Format and Lint with Ruff and MarkdownLint", "path": ".github/workflows/lint.yml", "contents": "name: Format and Lint with Ruff and MarkdownLint\non:\n    pull_request:\n        branches: [main]\n    workflow_dispatch:\npermissions:\n    contents: write\n    pull-requests: write\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install ruff\n      # Update output format to enable automatic inline annotations.\n      - name: Run Ruff\n        run: |\n            ruff check . --fix --output-format=github\n            ruff format .\n\n      - name: Markdown Lint base-files\n        uses: DavidAnson/markdownlint-cli2-action@v16\n        with:\n            fix: true\n            globs: |\n              *.md\n              .github/**/*.md\n        continue-on-error: true\n      - name: Markdown Lint Docs\n        uses: DavidAnson/markdownlint-cli2-action@v16\n        with:\n            fix: true\n            globs: docs/**/*.md\n            config: docs/.markdownlint.json\n        continue-on-error: true\n      - name: Commit changes\n        run: |\n          if [ -n \"$(git status --porcelain)\" ]; then\n            git config --global user.name \"Ruff\"\n            git config --global user.email \"ruff-action@users.noreply.github.com\"\n            git add -A\n            git commit -m \"Format and lint with Ruff\"\n            git push origin HEAD:${{ github.event.pull_request.head.ref }}\n          fi\n", "state": "active", "repository": "render-engine/render-engine"}
{"mined_at": "2024-07-15T18:47:42.434153", "created_at": "2023-03-01T01:28:33+01:00", "updated_at": "2023-04-08T03:10:36+02:00", "name": "Build distribution", "path": ".github/workflows/publish.yml", "contents": "name: Build distribution\n\non:\n  release:\n    types: [created]\n\njobs:\n  test:\n    uses: ./.github/workflows/test.yml\n  deploy:\n    needs: test\n    name: Deploy to PyPI\n    permissions:\n      id-token: write\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v4\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n\n      - name: Install build dependencies\n        run: python -m pip install build twine\n\n      - name: Build distributions\n        run: python -m build\n\n      - name: Publish package to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "render-engine/render-engine"}
{"mined_at": "2024-07-15T18:47:43.662655", "created_at": "2022-09-07T04:47:01+02:00", "updated_at": "2023-03-02T06:41:57+01:00", "name": "PyTest", "path": ".github/workflows/test.yml", "contents": "name: PyTest\non:\n  workflow_call:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n  pull_request:\n    paths:\n      - \"src/**\"\n      - \"tests/**\"\n      - \"pyproject.toml\"\n      - \"requirements.txt\"\n\njobs:\n  test-against-matrix:\n    # Only test all the supported versions when a pull request is made or the workflow is called\n    if: ${{github.event_name == 'workflow_call'}} || ${{github.event_name == 'pull_request'}}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.11\"]\n      fail-fast: true\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install requirements\n        run: |\n          python -m pip install -e .[dev]\n      - name: Run tests\n        run: |\n          python -m pytest\n\n  test-against-latest:\n    # Always run against the latest version\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install requirements\n        run: |\n          python -m pip install -e .[dev]\n      - name: Run tests\n        run: |\n          python -m pytest\n", "state": "active", "repository": "render-engine/render-engine"}
{"mined_at": "2024-07-15T18:47:44.654439", "created_at": "2023-09-28T02:14:03+02:00", "updated_at": "2023-09-28T02:14:03+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "render-engine/render-engine"}
{"mined_at": "2024-07-15T18:47:46.756455", "created_at": "2023-03-20T16:21:39+01:00", "updated_at": "2023-05-31T21:42:32+02:00", "name": "Defi Protocols", "path": ".github/workflows/ci.yml", "contents": "name: Defi Protocols\n\non: [push]\n\njobs:\n  Test:\n\n    runs-on: self-hosted\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n\n      - name: Display Python version\n        run: python -c \"import sys; print(sys.version)\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install . 'defyes[all]'\n\n      - name: Install development dependencies\n        run: pip install -r requirements-dev.txt\n\n      - name: Linter -- check black\n        run: black --fast --check defyes tests\n\n      - name: Linter -- check isort\n        run: isort --check defyes tests\n\n      - name: Linter -- check flake8\n        run: flake8 defyes tests\n\n      - name: Download cache from latest main artifact\n        continue-on-error: true\n        run: |\n          cat << EOF | python\n\n          import requests\n          from pathlib import Path\n          from zipfile import ZipFile\n\n          s = requests.Session()\n          s.headers[\"Accept\"] = \"application/vnd.github+json\"\n          s.headers[\"Authorization\"] = \"Bearer ${{ secrets.GITHUB_TOKEN }}\"\n          s.headers[\"X-GitHub-Api-Version\"] = \"2022-11-28\"\n\n          def main():\n              path = Path(\"/tmp/kkit\")\n              path.mkdir(exist_ok=True)\n              cache_zip = path / \"cache-db.zip\"\n              download_last_artifact(\"cache-db\", branch=\"main\", to=cache_zip)\n              print(f\"Unzipping {cache_zip} to {path}.\")\n              ZipFile(cache_zip).extractall(path)\n              cache_file = path / \"cache.db\"\n              if not cache_file.exists():\n                  raise FileNotFoundError(cache_file)\n              file_size = len(cache_file.read_bytes())\n              print(f\"Cache {cache_file} ({file_size:_} bytes).\")\n\n          def download_last_artifact(name, branch, to):\n              runs = get(\n                  \"https://api.github.com/repos/${{ github.repository }}/actions/runs\",\n                  params={\"branch\": branch, \"event\": \"push\"},\n              ).json()\n              runs = dict_get(runs, \"workflow_runs\")\n              run = find_latest_succeed_run(runs)\n              artifacts_url = dict_get(run, \"artifacts_url\")\n              print(f\"Using {artifacts_url=}\")\n              artifacts = dict_get(get(artifacts_url).json(), \"artifacts\")\n              artifact_url = find_artifact(name, artifacts)\n              print(f\"Downloading {to} from {artifact_url=} ...\")\n              download(artifact_url, to=to)\n\n          def get(*args, **kwargs):\n              response = s.get(*args, **kwargs)\n              response.raise_for_status()\n              return response\n\n          def find_latest_succeed_run(runs):\n              for run in runs:\n                  if dict_get(run, \"conclusion\") == \"success\":\n                      return run\n              else:\n                  raise LookupError(f\"Non succeed workflow runs found among {len(runs)} runs.\")\n\n          def find_artifact(name, artifacts):\n              return first(\n                  dict_get(artifact, \"archive_download_url\")\n                  for artifact in artifacts\n                  if dict_get(artifact, \"name\") == name\n              )\n\n          def download(url, to):\n              response = get(url)\n              with open(to, \"wb\") as f:\n                  f.write(response.content)\n\n          first = lambda seq: next(iter(seq))\n\n          def dict_get(d, *keys):\n              node = d\n              try:\n                  for key in keys:\n                      node = node[key]\n              except (KeyError, TypeError):\n                  print(node)\n                  raise\n              else:\n                  return node\n\n          main()\n\n          EOF\n\n      - name: Run tests\n        env:\n          CI: true\n          NODE_ETH: ${{ secrets.NODE_ETH }}\n          NODE_XDAI: ${{ secrets.NODE_XDAI }}\n          NODE_POLYGON: ${{ secrets.NODE_POLYGON }}\n          NODE_OPTIMISM: ${{ secrets.NODE_OPTIMISM }}\n          NODE_ARBITRUM: ${{ secrets.NODE_ARBITRUM }}\n          NODE_AVALANCHE: ${{ secrets.NODE_AVALANCHE }}\n          NODE_BINANCE: ${{ secrets.NODE_BINANCE }}\n          NODE_BASE: ${{ secrets.NODE_BASE }}\n          NODE_METIS: ${{ secrets.NODE_METIS }}\n          APIKEYS_ETHERSCAN: ${{ secrets.APIKEYS_ETHERSCAN }}\n          APIKEYS_POLSCAN: ${{ secrets.APIKEYS_POLSCAN }}\n          APIKEYS_GNOSISSCAN: ${{ secrets.APIKEYS_GNOSISSCAN }}\n          APIKEYS_OPTIMISM: ${{ secrets.APIKEYS_OPTIMISM }}\n          APIKEYS_ARBITRUM: ${{ secrets.APIKEYS_ARBITRUM }}\n          APIKEYS_METISEXPLORER: ${{ secrets.APIKEYS_METISEXPLORER }}\n          APIKEYS_BASESCAN: ${{ secrets.APIKEYS_BASESCAN }}\n          APIKEYS_SNOWTRACE: ${{ secrets.APIKEYS_SNOWTRACE }}\n        run: |\n          sh ci_secrets_helper.sh\n          cat /tmp/tmp_config.json\n          PYTHONPATH=${PYTHONPATH}:. CONFIG_PATH=/tmp/tmp_config.json pytest -vs --debug-defiproto\n\n      - name: Archive cache\n        uses: actions/upload-artifact@v3\n        with:\n          name: cache-db\n          path: /tmp/kkit/cache.db\n", "state": "active", "repository": "karpatkey/defyes"}
{"mined_at": "2024-07-15T18:47:48.885072", "created_at": "2023-11-21T06:36:56+01:00", "updated_at": "2023-12-19T09:34:51+01:00", "name": "runs on ascend", "path": ".github/workflows/_runs-on-ascend.yml", "contents": "name: runs on ascend\n\non:\n  workflow_call:\n    inputs:\n      machine:\n        description: If set to other value, the job need ssh\n        type: string\n        required: false\n        default: \"ASCEND\"\n      runner:\n        description: Set up the build environment\n        type: string\n        required: false\n        default: \"dicp-ascend-ci-910b\"\n\njobs:\n  checkout_code:\n    name: checkout code\n    runs-on: ${{ inputs.runner }}\n    steps:\n      - name: Checkout Code\n        uses: DeepLink-org/deeplink.framework/.github/actions/checkout-code@main\n\n  build_test:\n    runs-on: ${{ inputs.runner }}\n    needs: checkout_code\n    steps:\n      - name: build and test on ascend\n        uses: DeepLink-org/deeplink.framework/.github/actions/code-build-test@main\n        with:\n          build_shell: \"\n              source dicp/scripts/ci/ascend/dipu_env.sh && \\\n              rm -rf /tmp/dicp_ascend/* && \\\n              cd /mnt/cache/share/deeplinkci/dicp_env/transformers && \\\n              pip uninstall transformers -y && \\\n              patch -p1 < modeling_llama.diff && patch -p1 < utils.diff && \\\n              python setup.py clean && \\\n              python setup.py install --user && \\\n              patch -R -p1 < modeling_llama.diff && patch -R -p1 < utils.diff && \\\n              cd - && \\\n              cd /mnt/cache/share/deeplinkci/dicp_env/accelerate && \\\n              pip uninstall accelerate -y && \\\n              python setup.py clean && \\\n              python setup.py install --user && \\\n              cd - && \\\n              pip uninstall torch_dipu -y && \\\n              pip uninstall dicp -y && \\\n              cd dipu && python setup.py clean && python setup.py install --user && \\\n              cd ../dicp && python setup.py clean && python setup.py install --user && \\\n              source scripts/ci/ascend/test_env.sh /mnt/cache/share/deeplinkci/dicp_env/llama_models && \\\n              export TEST_DIR=$(pwd)/test && echo ${TEST_DIR} && \\\n              bash ${TEST_DIR}/ascend_scripts/ops/run_test_ops.sh false && \\\n              bash ${TEST_DIR}/ascend_scripts/models/run_test_models.sh false\n            \" #Write the script you want to execute here，If you don't know which parameters to fill in, you can refer to the actions/code-build-test\n          job_name: \"build_test\"\n          cover_job: \"0\"\n          cleaner: \"clean_all_if_error\"\n", "state": "active", "repository": "DeepLink-org/deeplink.framework"}
{"mined_at": "2024-07-15T18:47:49.915121", "created_at": "2024-02-26T06:46:00+01:00", "updated_at": "2024-02-26T06:46:00+01:00", "name": "runs on nv step 1", "path": ".github/workflows/_runs-on-nv-step1.yml", "contents": "name: runs on nv step 1\n\non:\n  workflow_call:\n    inputs:\n      runner:\n        description: Set up the runner\n        type: string\n        required: false\n        default: \"tps-sco-ci\"\n      deeplink_path:\n        description: ci work home\n        type: string\n        required: false\n        default: '/mnt/cache/share/deeplinkci/github/${{ github.repository }}/'\n      env_path:\n        description: env file path\n        type: string\n        required: false\n        default: '/mnt/cache/share/deeplinkci/github'\n\njobs:\n  Build-Cuda:\n    name: Build-dipu-cuda\n    runs-on: ${{ inputs.runner }}\n    env:\n      GETRUNNER: ${{ inputs.runner }}\n      DEEPLINK_PATH: ${{ inputs.deeplink_path }}\n      ENV_PATH: ${{ inputs.env_path }}\n      CUDA_PARTATION: \"pat_dev\"\n    steps:\n      - name: Build dipu\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            cd ${DEEPLINK_PATH}/ && ls -al && find ${DEEPLINK_PATH}/ -maxdepth 1 -mmin +240 -type d |xargs rm -rf\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${GITHUB_JOB} && cp -R source ${GITHUB_JOB}\n            srun --job-name=${GITHUB_JOB} bash -c \"export USE_COVERAGE=ON && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${GITHUB_JOB}/dipu \\\n            && source ${ENV_PATH}/dipu_env  \\\n            && rsync -a /mnt/lustre/share_data/PAT/datasets/huggingface mmlab_pack/ \\\n            && bash scripts/ci/nv/ci_nv_script.sh build_dipu\" || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n          else\n            ssh SH1424 \"\"\"\n            set -e\n            export USE_COVERAGE=ON\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${GITHUB_JOB} && cp -R source ${GITHUB_JOB} && cd ${GITHUB_JOB}/dipu\n            source ${ENV_PATH}/dipu_env\n            rsync -a /mnt/lustre/share_data/PAT/datasets/huggingface mmlab_pack/\n            srun --job-name=${GITHUB_RUN_NUMBER}_${GITHUB_JOB} --partition=${CUDA_PARTATION} --gres=gpu:1 --time=30 bash scripts/ci/nv/ci_nv_script.sh build_dipu \\\n            || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n            \"\"\"\n          fi\n\n  Tidy-Cuda:\n    name: Run tidy (cuda)\n    needs: [Build-Cuda]\n    runs-on: ${{ inputs.runner }}\n    env:\n      GETRUNNER: ${{ inputs.runner }}\n      DEEPLINK_PATH: ${{ inputs.deeplink_path }}\n      ENV_PATH: ${{ inputs.env_path }}\n      CUDA_PARTATION: \"pat_dev\"\n      CLANGD_TIDY_PATH: \"/mnt/cache/share/platform/dep/clangd-tidy\"\n    steps:\n      - name: Check SupportedDiopiFunctions.txt\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            cd $DEEPLINK_PATH/$GITHUB_RUN_NUMBER/Build-Cuda && \\\n            git diff -s --exit-code dipu/SupportedDiopiFunctions.txt || \\\n            { echo \"::error file=dipu/SupportedDiopiFunctions.txt,title=File Not Match::Please commit your compiled SupportedDiopiFunctions.txt\" && exit 1; }\n          else\n            ssh SH1424 \"\"\"\n            cd $DEEPLINK_PATH/$GITHUB_RUN_NUMBER/Build-Cuda && \\\n            git diff -s --exit-code dipu/SupportedDiopiFunctions.txt || \\\n            { echo \"::error file=dipu/SupportedDiopiFunctions.txt,title=File Not Match::Please commit your compiled SupportedDiopiFunctions.txt\" && exit 1; }\n            \"\"\"\n          fi\n      - name: Run clang-tidy\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            srun --job-name=$GITHUB_JOB bash -c \"bash $DEEPLINK_PATH/$GITHUB_RUN_NUMBER/Build-Cuda/dipu/scripts/ci/nv/ci_nv_tidy.sh $CLANGD_TIDY_PATH\"\n          else\n            ssh SH1424 \"\"\"\n            bash $DEEPLINK_PATH/$GITHUB_RUN_NUMBER/Build-Cuda/dipu/scripts/ci/nv/ci_nv_tidy.sh $CLANGD_TIDY_PATH\n            \"\"\"\n          fi\n", "state": "active", "repository": "DeepLink-org/deeplink.framework"}
{"mined_at": "2024-07-15T18:47:51.138559", "created_at": "2024-02-26T06:46:00+01:00", "updated_at": "2024-02-26T06:46:00+01:00", "name": "runs on nv step 2", "path": ".github/workflows/_runs-on-nv-step2.yml", "contents": "name: runs on nv step 2\n\non:\n  workflow_call:\n    inputs:\n      runner:\n        description: Set up the runner\n        type: string\n        required: false\n        default: \"tps-sco-ci\"\n      deeplink_path:\n        description: ci work home\n        type: string\n        required: false\n        default: '/mnt/cache/share/deeplinkci/github/${{ github.repository }}/'\n      env_path:\n        description: env file path\n        type: string\n        required: false\n        default: '/mnt/cache/share/deeplinkci/github'\n      all_coverage:\n        description: all coverage\n        type: string\n        required: true\n        default: 'false'\n      require_coverage:\n        description: input coverage rate\n        type: string\n        required: false\n        default: '0'\njobs:\n  Test-Cuda:\n    name: Test-dipu-cuda\n    runs-on: ${{ inputs.runner }}\n    env:\n      GETRUNNER: ${{ inputs.runner }}\n      DEEPLINK_PATH: ${{ inputs.deeplink_path }}\n      ENV_PATH: ${{ inputs.env_path }}\n      CUDA_PARTATION: \"pat_dev\"\n      ALL_COVERAGE: ${{ inputs.all_coverage }}\n      REQUIRE_COVERAGE: ${{ inputs.require_coverage }}\n    steps:\n      - name: Run-test\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            srun --job-name=${GITHUB_JOB} bash -c \"export USE_COVERAGE=ON && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/dipu \\\n            && source ${ENV_PATH}/dipu_env  \\\n            && bash tests/run_nv_tests.sh\"\n            if [ \"${ALL_COVERAGE}\" = \"ON\" ]; then\n            bash /mnt/cache/share/platform/dep/sonar/coverage_DIPU_nv.sh ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda ${GITHUB_RUN_NUMBER} || echo \"get coverage fail\"\n            fi\n          else\n            ssh SH1424 \"\"\"\n            set -ex\n            export USE_COVERAGE=ON\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && cd Build-Cuda/dipu\n            source ${ENV_PATH}/dipu_env\n            srun --job-name=${GITHUB_RUN_NUMBER}_${GITHUB_JOB} --partition=${CUDA_PARTATION} --gres=gpu:1 --cpus-per-task=5 --mem=16G --time=70 sh tests/run_nv_tests.sh\n            if [ \"${ALL_COVERAGE}\" = \"ON\" ]; then\n            bash /mnt/cache/share/platform/dep/sonar/coverage_DIPU_nv.sh ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda ${GITHUB_RUN_NUMBER} || echo \"get coverage fail\"\n            fi\n            \"\"\"\n          fi\n      - name: increment coverage check\n        if: ${{ contains( github.event_name, 'pull_request' ) && contains( github.base_ref, 'main' ) }}\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda\n            ln -s ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source-main/dipu/third_party/DIOPI/scripts scripts\n            source ${ENV_PATH}/dipu_env\n            bash scripts/increment_coverage.sh ${REQUIRE_COVERAGE}\n          else\n            ssh SH1424 \"\"\"\n            set -e\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/\n            rm -rf scripts\n            ln -s ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source-main/dipu/third_party/DIOPI/scripts scripts\n            source /mnt/cache/share/platform/env/pt2.0_diopi\n            bash scripts/increment_coverage.sh ${REQUIRE_COVERAGE}\n            \"\"\"\n          fi\n\n  Test-One-Iter_Cuda:\n    name: Test-one-iter-cuda\n    runs-on: ${{ inputs.runner }}\n    env:\n      GETRUNNER: ${{ inputs.runner }}\n      DEEPLINK_PATH: ${{ inputs.deeplink_path }}\n      ENV_PATH: ${{ inputs.env_path }}\n      CUDA_PARTATION: \"pat_dev\"\n    steps:\n      - name: build some env\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            export basic_path=${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/dipu/\n            srun --job-name=${GITHUB_JOB} bash -c \"cd ${basic_path} \\\n            && export PYTHONPATH=${basic_path}/mmlab_pack:${basic_path}/mmlab_pack/mmengine:${basic_path}/mmlab_pack/mmcv:$PYTHONPATH \\\n            && source ${ENV_PATH}/dipu_env && cd mmlab_pack \\\n            && bash ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/dipu/scripts/ci/ci_one_iter.sh build_cuda\"\n          else\n            ssh SH1424 \"\"\"\n            set -ex\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && cd Build-Cuda/dipu\n            source ${ENV_PATH}/dipu_env\n            basic_path=${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/dipu/mmlab_pack\n            export PYTHONPATH=\\${basic_path}/mmengine:\\$PYTHONPATH\n            export PYTHONPATH=\\${basic_path}/mmcv:\\$PYTHONPATH\n            export PYTHONPATH=\\$(pwd):\\$PYTHONPATH\n            cd mmlab_pack\n            srun --job-name=${GITHUB_RUN_NUMBER}_${GITHUB_JOB} --partition=${CUDA_PARTATION} --gres=gpu:1 --time=20 bash ../scripts/ci/ci_one_iter.sh build_cuda\n            \"\"\"\n          fi\n      - name: run-one-iter-for-tradition\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/dipu/ \\\n            && source ${ENV_PATH}/dipu_env && cd mmlab_pack \\\n            && rm -rf one_iter_data \\\n            && python ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/dipu/scripts/ci/ci_run_one_iter.py sco  ${GITHUB_JOB} gpu sco && rm -rf one_iter_data || (rm -rf one_iter_data && exit 1)\n          else\n            ssh SH1424 \"\"\"\n              cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && cd Build-Cuda/dipu\n              source ${ENV_PATH}/dipu_env\n              basic_path=${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/dipu/mmlab_pack\n              source scripts/ci/ci_one_iter.sh export_pythonpath_cuda \\${basic_path}\n              export PYTHONPATH=\\$(pwd):\\$PYTHONPATH\n              cd mmlab_pack\n              rm -rf one_iter_data\n              python ../scripts/ci/ci_run_one_iter.py cuda  ${GITHUB_RUN_NUMBER}_${GITHUB_JOB} \"gpu:1\" \\\"${CUDA_PARTATION}\\\" && rm -rf one_iter_data || (rm -rf one_iter_data && exit 1)\n            \"\"\"\n          fi\n      - name: run-one-iter-for-llm\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/dipu/ \\\n            && source ${ENV_PATH}/dipu_env && cd mmlab_pack \\\n            && rm -rf one_iter_data \\\n            && python ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/dipu/scripts/ci/ci_run_one_iter.py sco ${GITHUB_JOB} gpu sco \"llm\" && rm -rf one_iter_data || (rm -rf one_iter_data && exit 1)\n          else\n            ssh SH1424 \"\"\"\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && cd Build-Cuda/dipu\n            source ${ENV_PATH}/dipu_env\n            basic_path=${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/dipu/mmlab_pack\n            source scripts/ci/ci_one_iter.sh export_pythonpath_cuda \\${basic_path}\n            export PYTHONPATH=\\$(pwd):\\$PYTHONPATH\n            cd mmlab_pack\n            rm -rf one_iter_data\n            python ../scripts/ci/ci_run_one_iter.py cuda  ${GITHUB_RUN_NUMBER}_${GITHUB_JOB} \"gpu:1\" \\\"${CUDA_PARTATION}\\\" \"llm\" && rm -rf one_iter_data || (rm -rf one_iter_data && exit 1)\n            \"\"\"\n          fi\n      - name: Perform cleanup one iter data\n        if: always()\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/dipu/mmlab_pack\n            rm -rf one_iter_data\n            touch one_iter_data   #用于占位，防止创建新的 one_iter_data 文件夹\n          else\n            ssh SH1424 \"\"\"\n            set -ex\n            echo \"${GITHUB_RUN_NUMBER}_${GITHUB_JOB}\"\n            scancel -n \"${GITHUB_RUN_NUMBER}_${GITHUB_JOB}\"\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda/dipu/mmlab_pack\n            rm -rf one_iter_data\n            touch one_iter_data # 用于占位，防止创建新的 one_iter_data 文件夹\n            \"\"\"\n          fi\n      - name: Check for failure\n        if: ${{ failure() }}\n        run: exit 1\n\n  Build-Cuda-Latest-Target:\n    name: Build-dipu-cuda-latest-target\n    runs-on: ${{ inputs.runner }}\n    env:\n      GETRUNNER: ${{ inputs.runner }}\n      DEEPLINK_PATH: ${{ inputs.deeplink_path }}\n      ENV_PATH: ${{ inputs.env_path }}\n      CUDA_PARTATION: \"pat_dev\"\n    steps:\n      - name: Build dipu diopi-latest-target\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${GITHUB_JOB} && cp -R source-main ${GITHUB_JOB}\n            srun --job-name=${GITHUB_JOB} bash -c \"export USE_COVERAGE=ON && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${GITHUB_JOB}/dipu \\\n            && source ${ENV_PATH}/dipu_env  \\\n            && bash scripts/ci/nv/ci_nv_script.sh build_dipu\" || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n          else\n            ssh SH1424 \"\"\"\n            set -ex\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${GITHUB_JOB} && cp -R source-main ${GITHUB_JOB}  && cd ${GITHUB_JOB}/dipu\n            source ${ENV_PATH}/dipu_env\n            srun --job-name=${GITHUB_RUN_NUMBER}_${GITHUB_JOB} --partition=${CUDA_PARTATION} --gres=gpu:1 --cpus-per-task=5 --mem=16G --time=30 bash scripts/ci/nv/ci_nv_script.sh build_dipu \\\n            || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n            \"\"\"\n          fi\n\n  Test-Cuda-Latest-Target:\n    name: Test-dipu-cuda-latest-target\n    needs: [Build-Cuda-Latest-Target]\n    runs-on: ${{ inputs.runner }}\n    env:\n      GETRUNNER: ${{ inputs.runner }}\n      DEEPLINK_PATH: ${{ inputs.deeplink_path }}\n      ENV_PATH: ${{ inputs.env_path }}\n      CUDA_PARTATION: \"pat_dev\"\n    steps:\n      - name: Run-test\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            srun --job-name=${GITHUB_JOB} bash -c \"cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda-Latest-Target/dipu \\\n            && source ${ENV_PATH}/dipu_env  \\\n            && bash tests/run_nv_tests.sh\" && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf Build-Cuda-Latest-Target\n          else\n            ssh SH1424 \"\"\"\n            set -ex\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && cd Build-Cuda-Latest-Target/dipu\n            source ${ENV_PATH}/dipu_env\n            srun --job-name=${GITHUB_RUN_NUMBER}_${GITHUB_JOB} --partition=${CUDA_PARTATION} --gres=gpu:1 --cpus-per-task=5 --mem=16G --time=60 sh tests/run_nv_tests.sh && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf Build-Cuda-Latest-Target \\\n            || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf Build-Cuda-Latest-Target && exit 1 )\n            \"\"\"\n          fi\n\n\n  Build-Cuda-Pt211:\n    name: Build-dipu-cuda-pt211\n    runs-on: ${{ inputs.runner }}\n    env:\n      GETRUNNER: ${{ inputs.runner }}\n      DEEPLINK_PATH: ${{ inputs.deeplink_path }}\n      ENV_PATH: ${{ inputs.env_path }}\n      CUDA_PARTATION: \"pat_dev\"\n    steps:\n      - name: Build dipu\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${GITHUB_JOB} && cp -R source ${GITHUB_JOB}\n            srun --job-name=${GITHUB_JOB} bash -c \"cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/${GITHUB_JOB}/dipu \\\n            && source ${ENV_PATH}/dipu_env 2.1.1 \\\n            && bash scripts/ci/nv/ci_nv_script.sh build_dipu \" || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n          else\n            ssh SH1424 \"\"\"\n              set -ex\n              cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER} && rm -rf ${GITHUB_JOB} && cp -R source ${GITHUB_JOB} && cd ${GITHUB_JOB}/dipu\n              source ${ENV_PATH}/dipu_env 2.1.1\n              srun --job-name=${GITHUB_RUN_NUMBER}_${GITHUB_JOB} --partition=${CUDA_PARTATION} --gres=gpu:1 --cpus-per-task=5 --mem=16G --time=60 bash scripts/ci/nv/ci_nv_script.sh build_dipu \\\n              || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n              \"\"\"\n          fi\n\n  Test-Cuda-Pt211:\n    name: Test-dipu-cuda-pt211\n    needs: [Build-Cuda-Pt211]\n    runs-on: ${{ inputs.runner }}\n    env:\n      GETRUNNER: ${{ inputs.runner }}\n      DEEPLINK_PATH: ${{ inputs.deeplink_path }}\n      ENV_PATH: ${{ inputs.env_path }}\n      CUDA_PARTATION: \"pat_dev\"\n    steps:\n      - name: Run-test\n        run: |\n          if [[ \"${GETRUNNER}\" == *sco* ]];then\n            set -e\n            srun --job-name=${GITHUB_JOB} bash -c \"cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda-Pt211/dipu \\\n            && source ${ENV_PATH}/dipu_env 2.1.1 \\\n            && bash tests/run_nv_tests.sh\" && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf Build-Cuda-Pt211\n          else\n            ssh SH1424 \"\"\"\n            set -ex\n            cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Cuda-Pt211/dipu\n            source ${ENV_PATH}/dipu_env 2.1.1\n            srun --job-name=${GITHUB_RUN_NUMBER}_${GITHUB_JOB} --partition=${CUDA_PARTATION} --gres=gpu:1 --cpus-per-task=5 bash tests/run_nv_tests.sh \\\n            || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf Build-Cuda-Pt211 && exit 1 )\n            \"\"\"\n          fi", "state": "active", "repository": "DeepLink-org/deeplink.framework"}
{"mined_at": "2024-07-15T18:47:52.257812", "created_at": "2023-11-21T06:36:56+01:00", "updated_at": "2023-12-28T08:01:00+01:00", "name": "runs on topsrider", "path": ".github/workflows/_runs-on-topsrider.yml", "contents": "name: runs on topsrider\n\non:\n  workflow_call:\n    inputs:\n      machine:\n        description: If set to other value, the job need ssh\n        type: string\n        required: false\n        default: \"TOPSRIDER\"\n      runner:\n        description: Set up the build environment\n        type: string\n        required: false\n        default: \"tps-topsrider-dicp\"\n\njobs:\n  checkout_code:\n    name: checkout code\n    runs-on: ${{ inputs.runner }}\n    steps:\n      - name: Checkout Code\n        uses: DeepLink-org/deeplink.framework/.github/actions/checkout-code@main\n\n  build_test:\n    runs-on: ${{ inputs.runner }}\n    needs: checkout_code\n    steps:\n      - name: build on topsrider\n        uses: DeepLink-org/deeplink.framework/.github/actions/code-build-test@main\n        with:\n          build_shell: \"\n                       source dicp/scripts/ci/tops/ci_tops_build_env.sh && \\\n                       pip uninstall torch_dipu -y && \\\n                       pip uninstall dicp -y && \\\n                       cd dipu && python setup.py install --user && \\\n                       cd ../dicp && python setup.py install --user\n                       \"\n          job_name: \"build_test\"\n          cover_job: \"0\"\n\n      - name: test ops on topsrider\n        uses: DeepLink-org/deeplink.framework/.github/actions/code-build-test@main\n        with:\n          build_shell: \"\n                       source dicp/scripts/ci/tops/ci_tops_test_env.sh && \\\n                       export TEST_DIR=$(pwd)/dicp/test && \\\n                       bash ${TEST_DIR}/tops_scripts/ops/run_test_ops.sh false\n                       \"\n          job_name: \"build_test\"\n          cover_job: \"1\"\n", "state": "active", "repository": "DeepLink-org/deeplink.framework"}
{"mined_at": "2024-07-15T18:47:53.350367", "created_at": "2023-09-26T11:23:24+02:00", "updated_at": "2023-10-26T08:16:21+02:00", "name": "dipu ce", "path": ".github/workflows/ce.yml", "contents": "name: dipu ce\non:\n  workflow_dispatch:\n#  push:\n#    branches:\n#      - \"wgs/**\"  \n  schedule:\n    - cron: '30 11 * * 6'\nenv:\n  target_file: \"/home/autolink/rsync/train_flag\"\n  source_file: \"/artifacts/train_flag\"\n\nconcurrency:\n  group: ${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  Archive_Results:\n    name: archive train results\n    runs-on: github-tps-ce\n    outputs:\n      results: ${{ steps.step1.outputs.results }}\n    steps:\n      - name: Check if collected\n        id: step1\n        run: |\n          diff_output=$(diff -q --ignore-all-space  \"$target_file\" \"$source_file\" ) && export to_archive=false || export to_archive=true\n          echo \"to_archive=$to_archive\" >> \"$GITHUB_ENV\"\n          if [ $to_archive == \"false\" ]; then\n            echo \"The file content is the same,results have been collected\"\n          fi\n      - name: Archive results\n        if: ${{ env.to_archive == 'true' }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: train-results\n          path: /artifacts/**\n      - name: Flag override\n        if: ${{ env.to_archive == 'true' }}\n        run: |\n          echo \"strat to override target_file\"\n          cp -r ${source_file} ${target_file}\n\n\n    \n", "state": "active", "repository": "DeepLink-org/deeplink.framework"}
{"mined_at": "2024-07-15T18:47:54.394165", "created_at": "2023-11-14T10:04:27+01:00", "updated_at": "2023-11-14T10:04:27+01:00", "name": "cpp-linter", "path": ".github/workflows/cpp-linter.yml", "contents": null, "state": "active", "repository": "DeepLink-org/deeplink.framework"}
{"mined_at": "2024-07-15T18:47:55.524701", "created_at": "2023-11-20T09:08:19+01:00", "updated_at": "2023-12-21T09:25:48+01:00", "name": "dicp ci", "path": ".github/workflows/dicp.yml", "contents": "name: dicp ci\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '10 23 * * *'\n  pull_request:\n    paths:\n      - \".github/workflows/dicp.yml\"\n      - \".github/workflows/_runs-on-ascend.yml\"\n      - \".github/workflows/_runs-on-topsrider.yml\"\n      - \"dicp/**\"\n\nenv:\n  ENV_PATH: '/mnt/cache/share/platform/env'\n  DEEPLINK_PATH: '/mnt/cache/share/deeplinkci/github/${{ github.repository }}'\n\nconcurrency:\n  group: dicp-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  runs-on-topsrider:\n    name: runs on topsrider\n    uses: ./.github/workflows/_runs-on-topsrider.yml\n\n  runs-on-ascend:\n    name: runs on ascend\n    uses: ./.github/workflows/_runs-on-ascend.yml\n", "state": "active", "repository": "DeepLink-org/deeplink.framework"}
{"mined_at": "2024-07-15T18:47:56.578114", "created_at": "2023-11-14T10:10:45+01:00", "updated_at": "2023-12-06T08:06:49+01:00", "name": "format", "path": ".github/workflows/format.yml", "contents": "name: format\n\non:\n  workflow_dispatch:\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  markdownlint:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 16\n    - name: Collect changed files\n      uses: tj-actions/changed-files@v40\n      id: changed-files\n      with:\n        files: '**/*.md'\n        separator: ','\n    - name: MarkdownLint\n      if: steps.changed-files.outputs.any_changed == 'true'\n      uses: DavidAnson/markdownlint-cli2-action@v14\n      with:\n        globs: ${{ steps.changed-files.outputs.all_changed_files }}\n        separator: ','\n\n  clang-format:\n    needs: markdownlint\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: cpp-linter/cpp-linter-action@v2\n      id: cpp-lint\n      with:\n        style: file\n        tidy-checks: '-*' # disable clang tidy at this stage\n        version: 17\n    - name: Fail test\n      if: steps.cpp-lint.outputs.checks-failed > 0\n      run: echo \"Some files failed the linting checks!\" && exit 1\n\n  python-black:\n    needs: markdownlint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: psf/black@stable\n        with: # see: https://black.readthedocs.io/en/stable/getting_started.html\n          src: \"dipu\"\n          version: \"~= 24.3.0\"\n", "state": "active", "repository": "DeepLink-org/deeplink.framework"}
{"mined_at": "2024-07-15T18:47:57.630761", "created_at": "2023-03-20T08:53:15+01:00", "updated_at": "2024-06-04T11:29:13+02:00", "name": "dipu  ci", "path": ".github/workflows/main.yml", "contents": "name: dipu  ci\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n      - dev_v0.25\n    tags:\n      - 'v*'\n  pull_request:\n    paths-ignore:\n      -  \"dicp/**\"\n\nenv:\n  CAMB_CI_PATH: '/mnt/lustre/share/parrotsci/github/cibuild/${{ github.repository }}'\n  CAMB_PARTATION: ${{ vars.CAMB_SLURM_PAR != '' && vars.CAMB_SLURM_PAR || 'camb_mlu370_m8' }}\n  CAMB_CLUSTER: CAMB\n  CUDA_CI_PATH: '/mnt/cache/share/parrotsci/github/cibuild/${{ github.repository }}'\n  CUDA_PARTATION: ${{ vars.SH1988_SLURM_PAR != '' && vars.SH1988_SLURM_PAR || 'pat_rd' }}\n  CUDA_CLUSTER: SCO\n  CUDA_ENV_PATH: '/mnt/cache/share/deeplinkci/github'\n  DEEPLINK_PATH: '/mnt/cache/share/deeplinkci/github/${{ github.repository }}'\n  ASCEND_CLUSTER: ASCEND\n  CLUSTER_ASCEND_910B: ASCEND-910B\n  ASCEND_TORCH_DIR: '/mnt/cache/share/platform/cienv/pytorch'\n  CI_BUILD_FLAG: \"ci_build_flag\"\n  # need deprecated but ascend still use it, PYTORCH_COMMIT not support multi-version torch\n  PYTORCH_COMMIT: ${{ vars.PYTORCH_COMMIT != '' && vars.PYTORCH_COMMIT || 'c263bd43e8e8502d4726643bc6fd046f0130ac0e' }} # pytorch tag 2.0\n  ALL_COVERAGE: ${{ (contains( github.ref, 'main') || startsWith(github.ref, 'refs/heads/v') || startsWith(github.ref, 'refs/heads/dev')) && 'ON' || 'OFF' }}\n  REQUIRE_COVERAGE: ${{ vars.REQUIRE_COVERAGE != '' && vars.REQUIRE_COVERAGE || '0' }}\n  REPO: ${{ github.event.repository.name }}\n\nconcurrency:\n  group: dipu-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  Rsync:\n    name: Rsync code\n    runs-on: github-poc-ci\n    outputs:\n      getrunner: ${{ steps.set-run-vars.outputs.GETRUNNER }}\n    steps:\n      - name: clone repo\n        run: |\n          set -ex\n          cd ${GITHUB_WORKSPACE} && rm -rf DIPU ${REPO}_DIOPI ${REPO} ${REPO}.dev\n          if [ -n \"${{ github.event.pull_request.head.repo.full_name }}\" ] && [[ ! \"${{ github.event.pull_request.head.repo.full_name }}\" == \"${{ github.repository }}\" ]]; then\n            git clone ${{ github.event.pull_request.head.repo.ssh_url }} ${REPO}\n            cd ${GITHUB_WORKSPACE}/${REPO} && git checkout ${{ github.event.pull_request.head.sha }}\n            git remote add mainrepo git@github.com:${GITHUB_REPOSITORY}.git\n            git fetch  mainrepo && git merge --no-edit mainrepo/${{ github.base_ref }}\n          else\n            git clone https://github.com/DeepLink-org/${REPO}.git && cd ${REPO}\n            if [ $GITHUB_EVENT_NAME == \"pull_request\" ]; then\n              echo \"${{ github.base_ref }} \"\n              git checkout ${{ github.event.pull_request.head.sha }} && git merge --no-edit origin/${{ github.base_ref }}\n            else\n              echo $GITHUB_EVENT_NAME\n              git checkout ${{ github.sha }}\n            fi\n          fi\n          cd ${GITHUB_WORKSPACE}/${REPO}/dipu && rm -rf third_party/kineto\n          git clone --reference /home/autolink/rsync/sourcecode/DeepLink-org/kineto https://github.com/DeepLink-org/kineto.git third_party/kineto\n          git submodule update --init && cd third_party/kineto && git submodule update --init\n          cd ${GITHUB_WORKSPACE} && cp -R ${REPO} ${REPO}_DIOPI\n          cd ${REPO}/dipu && bash /home/autolink/rsync/sourcecode/update_code.sh\n          rsync -a /home/autolink/rsync/sourcecode/mmlab_pack . && cd mmlab_pack\n          bash ../scripts/ci/ci_one_iter.sh clone\n          #  dipu_diopi depend on latest target diopi branch, not diopi in submodule. here assume diopi and dipu use same  'target branch' \" github.base_ref \"\n          cd ${GITHUB_WORKSPACE}/${REPO}_DIOPI/dipu/third_party && rm -rf DIOPI && git clone https://github.com/DeepLink-org/DIOPI.git\n          if [ $GITHUB_EVENT_NAME == \"pull_request\" ]; then\n            cd ./DIOPI && git checkout ${{ github.base_ref }}\n          fi\n      - name: set output and Rsync to Server\n        id: set-run-vars\n        run: |\n          GETRUNNER=$(cat ~/rsync/cuda_runner_dipu)\n          if [[ ${GETRUNNER} == *diopi* ]]; then\n              CUDA_CLUSTER=\"SH1424\"\n          fi\n          echo \"GETRUNNER=$GETRUNNER\" >> \"$GITHUB_OUTPUT\"\n          ssh ${CAMB_CLUSTER} \"mkdir -p ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/source ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/source-main\" \\\n          && rsync -a --delete ${GITHUB_WORKSPACE}/${REPO}/ ${CAMB_CLUSTER}:${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/source/ \\\n          && rsync -a --delete ${GITHUB_WORKSPACE}/${REPO}_DIOPI/ ${CAMB_CLUSTER}:${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/source-main/ || echo \"failure to connect to camb\"\n          ssh ${CUDA_CLUSTER} \"mkdir -p ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source-main\" \\\n          && rsync -a --delete ${GITHUB_WORKSPACE}/${REPO}/ ${CUDA_CLUSTER}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ \\\n          && rsync -a --delete ${GITHUB_WORKSPACE}/${REPO}_DIOPI/ ${CUDA_CLUSTER}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source-main/ || echo \"failure to connect to cuda\"\n          # ssh ${CLUSTER_ASCEND_910B} \"mkdir -p ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source-main\" \\\n          # && rsync -a --delete ${GITHUB_WORKSPACE}/${REPO}/ ${CLUSTER_ASCEND_910B}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ \\\n          # && rsync -a --delete ${GITHUB_WORKSPACE}/${REPO}_DIOPI/ ${CLUSTER_ASCEND_910B}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source-main/ || echo \"failure to connect to ascend\"\n          source ~/Aoss_env.sh\n          ads-cli cp ${GITHUB_WORKSPACE}/${REPO}/ s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/\n          ads-cli cp ${GITHUB_WORKSPACE}/${REPO}_DIOPI/ s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source-main/\n\n  Deploy_on_tag:\n    runs-on: tps-sco-ci\n    if: startsWith(github.ref, 'refs/tags/v')\n    steps:\n      - name: Run script on tag\n        run: |\n          TAG=${GITHUB_REF#refs/tags/} # Extract the tag name\n          echo $TAG\n          bash /mnt/cache/share/platform/dep/Deploy_DIPU_trigger.sh \"$TAG\"\n          \n  Build-Camb:\n    name: Build-dipu-camb\n    needs: [Runs-On-Nv-Step1]\n    runs-on: github-poc-ci\n    env:\n      MLU_REQUESTS: 1\n    steps:\n      - name: Build dipu\n        run: |\n          ssh ${CAMB_CLUSTER} \"\"\"\n          set -ex\n          export USE_COVERAGE=ON\n          cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && cp -R source ${GITHUB_JOB}  && cd ${GITHUB_JOB}/dipu\n          source scripts/ci/camb/ci_camb_env.sh\n          rsync -a /mnt/lustre/share_data/PAT/datasets/huggingface mmlab_pack/\n          srun --job-name=${GITHUB_JOB} --partition=${CAMB_PARTATION} --time=40 \\\n          --gres=mlu:${MLU_REQUESTS} bash scripts/ci/camb/ci_camb_script.sh build_dipu \\\n          || ( cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n          \"\"\"\n\n  Test-Camb:\n    name: Test-dipu-camb\n    needs: [Build-Camb]\n    runs-on: github-poc-ci\n    env:\n      MLU_REQUESTS: 1\n    steps:\n      - name: Run-test\n        run: |\n          ssh ${CAMB_CLUSTER} \"\"\"\n          set -ex\n          export USE_COVERAGE=ON\n          cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && cd Build-Camb/dipu\n          source scripts/ci/camb/ci_camb_env.sh\n          srun --job-name=${GITHUB_JOB} --partition=${CAMB_PARTATION} --time=40 --gres=mlu:${MLU_REQUESTS} sh tests/run_camb_tests.sh\n          if [ \"${ALL_COVERAGE}\" = \"ON\" ]; then\n          sh /mnt/lustre/share/platform/dep/sonar/coverage_DIPU_camb.sh ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/Build-Camb ${GITHUB_RUN_NUMBER} || echo \"get coverage fail\"\n          fi\n          \"\"\"\n      - name: increment coverage check\n        if: ${{ contains( github.event_name, 'pull_request' ) && contains( github.base_ref, 'main' ) }}\n        run: |\n          ssh ${CAMB_CLUSTER} \"\"\"\n          set -e\n          cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/Build-Camb\n          rm -rf scripts\n          ln -s ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/source-main/dipu/third_party/DIOPI/scripts scripts\n          source /mnt/cache/share/platform/env/pt2.0_diopi\n          bash scripts/increment_coverage.sh ${REQUIRE_COVERAGE}\n          \"\"\"\n\n  Build-Camb-Pt210:\n    name: Build-dipu-camb-pt210\n    needs: [Runs-On-Nv-Step1]\n    runs-on: github-poc-ci\n    env:\n      MLU_REQUESTS: 1\n    steps:\n      - name: Build dipu\n        run: |\n          ssh ${CAMB_CLUSTER} \"\"\"\n          set -ex\n          cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && cp -R source ${GITHUB_JOB}  && cd ${GITHUB_JOB}/dipu\n          source scripts/ci/camb/ci_camb_env.sh  2.1\n          srun --job-name=${GITHUB_JOB} --partition=${CAMB_PARTATION} --time=40 \\\n          --gres=mlu:${MLU_REQUESTS} bash scripts/ci/camb/ci_camb_script.sh build_dipu \\\n          || ( cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n          \"\"\"\n\n  # torch2.1.0 in camb ci is not a complete one, no test dir.\n  # Test-Camb-Pt210:\n  #   name: Test-dipu-camb-pt210\n  #   needs: [Build-Camb-Pt210]\n  #   runs-on: github-poc-ci\n  #   env:\n  #     MLU_REQUESTS: 1\n  #   steps:\n  #     - name: Run-test\n  #       run: |\n  #         ssh ${CAMB_CLUSTER} \"\"\"\n  #         set -ex\n  #         cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && cd Build-Camb-Pt210/dipu\n  #         source scripts/ci/camb/ci_camb_env.sh 2.1\n  #         srun --job-name=${GITHUB_JOB} --partition=${CAMB_PARTATION} --time=40 --gres=mlu:${MLU_REQUESTS} sh tests/run_camb_tests.sh && \\\n  #         cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf Build-Camb-Pt210\n  #         \"\"\"\n\n  Build-Camb-Pt211:\n    name: Build-dipu-camb-pt211\n    needs: [Runs-On-Nv-Step1]\n    runs-on: github-poc-ci\n    env:\n      MLU_REQUESTS: 1\n    steps:\n      - name: Build dipu\n        run: |\n          ssh ${CAMB_CLUSTER} \"\"\"\n          set -ex\n          cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && cp -R source ${GITHUB_JOB}  && cd ${GITHUB_JOB}/dipu\n          source scripts/ci/camb/ci_camb_env.sh  2.1.1\n          srun --job-name=${GITHUB_JOB} --partition=${CAMB_PARTATION} --time=40 \\\n          --gres=mlu:${MLU_REQUESTS} bash scripts/ci/camb/ci_camb_script.sh build_dipu \\\n          || ( cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n          \"\"\"\n\n  Test-Camb-Pt211:\n    name: Test-dipu-camb-pt211\n    needs: [Build-Camb-Pt211]\n    runs-on: github-poc-ci\n    env:\n      MLU_REQUESTS: 1\n    steps:\n      - name: Run-test\n        run: |\n          ssh ${CAMB_CLUSTER} \"\"\"\n          set -ex\n          cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && cd Build-Camb-Pt211/dipu\n          source scripts/ci/camb/ci_camb_env.sh 2.1.1\n          srun --job-name=${GITHUB_JOB} --partition=${CAMB_PARTATION} --time=40 --gres=mlu:${MLU_REQUESTS} sh tests/run_camb_tests.sh && \\\n          cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf Build-Camb-Pt211\n          \"\"\"\n\n  Test-One-Iter-Camb:\n    name: Test-one-iter-camb\n    needs: [Build-Camb]\n    runs-on: github-poc-ci\n    env:\n      MLU_REQUESTS: 1\n    steps:\n      - name: build-some-env\n        run: |\n          ssh ${CAMB_CLUSTER} \"\"\"\n          set -ex\n          cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/Build-Camb/dipu\n          source scripts/ci/camb/ci_camb_env.sh\n          basic_path=${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/Build-Camb/dipu/mmlab_pack\n          export PYTHONPATH=\\${basic_path}/mmengine:\\$PYTHONPATH\n          export PYTHONPATH=\\${basic_path}/mmcv:\\$PYTHONPATH\n          export PYTHONPATH=\\$(pwd):\\$PYTHONPATH\n          cd mmlab_pack\n          srun --job-name=${GITHUB_RUN_NUMBER}_${GITHUB_JOB} --partition=${CAMB_PARTATION} --gres=mlu:${MLU_REQUESTS} sh ../scripts/ci/ci_one_iter.sh build_camb\n          \"\"\"\n      - name: run-one-iter-for-tradition\n        run: |\n          ssh ${CAMB_CLUSTER} \"\"\"\n          set -ex\n          cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/Build-Camb/dipu\n          source scripts/ci/camb/ci_camb_env.sh\n          basic_path=${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/Build-Camb/dipu/mmlab_pack\n          source scripts/ci/ci_one_iter.sh export_pythonpath_camb \\${basic_path}\n          export PYTHONPATH=\\$(pwd):\\$PYTHONPATH\n          cd mmlab_pack\n          rm -rf one_iter_data\n          python ../scripts/ci/ci_run_one_iter.py camb ${GITHUB_JOB} \"mlu:${MLU_REQUESTS}\" \\\"${CAMB_PARTATION}\\\" && rm -rf one_iter_data || (rm -rf one_iter_data && exit 1)\n          \"\"\"\n      - name: run-one-iter-for-llm\n        run: |\n          ssh ${CAMB_CLUSTER} \"\"\"\n          set -ex\n          cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/Build-Camb/dipu\n          source scripts/ci/camb/ci_camb_env.sh\n          basic_path=${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/Build-Camb/dipu/mmlab_pack\n          source scripts/ci/ci_one_iter.sh export_pythonpath_camb \\${basic_path}\n          export PYTHONPATH=\\$(pwd):\\$PYTHONPATH\n          cd mmlab_pack\n          rm -rf one_iter_data\n          python ../scripts/ci/ci_run_one_iter.py camb ${GITHUB_JOB} \"mlu:${MLU_REQUESTS}\" \\\"${CAMB_PARTATION}\\\" \"llm\" && rm -rf one_iter_data || (rm -rf one_iter_data && exit 1)\n          \"\"\"\n      - name: Perform cleanup one iter data\n        if: always()\n        run: |\n          ssh ${CAMB_CLUSTER} \"\"\"\n              set -ex\n              echo \"${GITHUB_RUN_NUMBER}_${GITHUB_JOB}\"\n              scancel -n \"${GITHUB_RUN_NUMBER}_${GITHUB_JOB}\"\n              cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/Build-Camb/dipu/mmlab_pack\n              rm -rf one_iter_data\n              touch one_iter_data # 用于占位，防止创建新的 one_iter_data 文件夹\n          \"\"\"\n\n      - name: Check for failure\n        if: ${{ failure() }}\n        run: exit 1\n\n  Build-Camb-Latest-Target:\n    name: Build-dipu-camb-latest-target\n    needs: [Runs-On-Nv-Step1]\n    runs-on: github-poc-ci\n    env:\n      MLU_REQUESTS: 1\n    steps:\n      - name: Build dipu diopi-latest-target\n        run: |\n          ssh ${CAMB_CLUSTER} \"\"\"\n          set -ex\n          cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && cp -R source-main ${GITHUB_JOB}  && cd ${GITHUB_JOB}/dipu\n          source scripts/ci/camb/ci_camb_env.sh\n          srun --job-name=${GITHUB_JOB} --partition=${CAMB_PARTATION} --time=40 \\\n          --gres=mlu:${MLU_REQUESTS} bash scripts/ci/camb/ci_camb_script.sh build_dipu \\\n          || ( cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n          \"\"\"\n\n  Test-Camb-Latest-Target:\n    name: Test-dipu-camb-latest-target\n    needs: [Build-Camb-Latest-Target]\n    runs-on: github-poc-ci\n    env:\n      MLU_REQUESTS: 1\n    steps:\n      - name: Run-test\n        run: |\n          ssh ${CAMB_CLUSTER} \"\"\"\n          set -ex\n          cd ${CAMB_CI_PATH}/${GITHUB_RUN_NUMBER}/ && cd Build-Camb-Latest-Target/dipu\n          source scripts/ci/camb/ci_camb_env.sh\n          srun --job-name=${GITHUB_JOB} --partition=${CAMB_PARTATION} --time=40 --gres=mlu:${MLU_REQUESTS} sh tests/run_camb_tests.sh\n          \"\"\"\n\n  Runs-On-Nv-Step1:\n    name: runs on nv step1\n    needs: [Rsync]\n    uses: ./.github/workflows/_runs-on-nv-step1.yml\n    with:\n      runner: ${{ needs.Rsync.outputs.getrunner }}\n\n  Runs-On-Nv-Step2:\n    name: runs on nv step2\n    needs: [Rsync,Runs-On-Nv-Step1]\n    uses: ./.github/workflows/_runs-on-nv-step2.yml\n    with:\n      runner: ${{ needs.Rsync.outputs.getrunner }}\n      all_coverage: ${{ (contains( github.ref, 'main') || startsWith(github.ref, 'refs/heads/v') || startsWith(github.ref, 'refs/heads/dev')) && 'ON' || 'OFF' }}\n      require_coverage: ${{ vars.REQUIRE_COVERAGE != '' && vars.REQUIRE_COVERAGE || '0' }}\n\n  Build-PyTorch-For-Ascend-910b:\n    name: Build-dipu-pytorch-for-ascend-910b\n    needs: [Runs-On-Nv-Step1]\n    runs-on: tps-ascend-ci-910b\n    steps:\n      - name: COPY Source\n        run: |\n          set -ex\n          source ~/Aoss_env.sh\n          ads-cli cp s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss-internal.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/\n          ads-cli cp s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss-internal.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source-main/ ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source-main/\n          ads-cli  --dryrun --deleteSrc cp  s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss-internal.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ /dev/null 2>&1 >/dev/null\n          ads-cli  --dryrun --deleteSrc cp  s3://${Platform_ci_aoss_name}:${Platform_ci_aoss_url}@platform.aoss-internal.cn-sh-01c.sensecoreapi-oss.cn${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source-main/ /dev/null 2>&1 >/dev/null\n          find ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source -type f -name \"*.sh\" -exec chmod +x {} \\;\n          find ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source-main -type f -name \"*.sh\" -exec chmod +x {} \\;\n      - name: Build PyTorch\n        run: |\n          set -ex\n          cd ${ASCEND_TORCH_DIR}\n          if [ \"$(git rev-parse HEAD)\" != \"${PYTORCH_COMMIT}\" ]; then\n            rm -rf build\n          fi\n          if [ ! -d \"build\" ]; then\n            source ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/dipu/scripts/ci/ascend/ci_ascend_env.sh\n            export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-\"$(dirname $(which conda))/../\"}\n            BUILD_BINARY=0 USE_PRECOMPILED_HEADERS=1 BUILD_TEST=0 USE_CUDA=0 python setup.py build_ext -i || (rm -rf build && exit 1)\n          fi\n\n  Build-Ascend-910b:\n    name: Build-dipu-ascend-910b\n    needs: [Build-PyTorch-For-Ascend-910b]\n    runs-on: tps-ascend-ci-910b\n    steps:\n      - name: Build dipu\n        run: |\n          set -ex\n          export USE_COVERAGE=ON\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && cp -R source ${GITHUB_JOB}  && cd ${GITHUB_JOB}/dipu\n          source scripts/ci/ascend/ci_ascend_env.sh\n          bash scripts/ci/ascend/ci_ascend_script.sh build_dipu \\\n          || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n\n  Test-Ascend-910b:\n    name: Test-dipu-ascend-910b\n    needs: [Build-Ascend-910b]\n    runs-on: tps-ascend-ci-910b\n    steps:\n      - name: Run a test\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Ascend-910b/dipu\n          source scripts/ci/ascend/ci_ascend_env.sh\n          bash tests/run_ascend_tests.sh\n          if [ \"${ALL_COVERAGE}\" = \"ON\" ]; then\n          bash /mnt/cache/share/platform/dep/sonar/coverage_DIPU.sh ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Ascend-910b/dipu || echo \"get coverage fail\"\n          fi\n      - name: increment coverage check\n        if: ${{ contains( github.event_name, 'pull_request' ) && contains( github.base_ref, 'main' ) }}\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Ascend-910b/\n          rm -rf scripts\n          ln -s ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source-main/dipu/third_party/DIOPI/scripts scripts\n          source dipu/scripts/ci/ascend/ci_ascend_env.sh\n          bash scripts/increment_coverage.sh ${REQUIRE_COVERAGE}\n\n  Build-Dicp-On-Dipu-Ascend:\n    name: Build-dicp-on-dipu-ascend\n    needs: [Build-PyTorch-For-Ascend-910b]\n    runs-on: tps-ascend-ci-910b\n    steps:\n      - name: Build dipu\n        run: |\n          set -ex\n          export PYTHONUSERBASE=${HOME}/.local.dicp\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && cp -R source ${GITHUB_JOB}  && cd ${GITHUB_JOB}/\n          source dicp/scripts/ci/ascend/ci_runs_on_dipu_env.sh\n          cd dipu && bash scripts/ci/ascend/ci_ascend_script.sh build_dipu_without_diopi \\\n          || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n  Test-Dicp-On-Dipu-Ascend:\n    name: Test-dicp-on-dipu-ascend\n    needs: [Build-Dicp-On-Dipu-Ascend]\n    runs-on: tps-ascend-ci-910b\n    steps:\n      - name: Run dicp test\n        run: |\n          set -ex\n          export PYTHONUSERBASE=${HOME}/.local.dicp\n          rm -rf /tmp/dicp_ascend/*\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Dicp-On-Dipu-Ascend\n          source dicp/scripts/ci/ascend/ci_runs_on_dipu_env.sh\n          export PYTHONPATH=${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Dicp-On-Dipu-Ascend/dipu:${PYTHONPATH}\n          pip uninstall dicp -y\n          cd dicp && python setup.py clean && python setup.py install --user\n          export TEST_DIR=$(pwd)/test\n          source scripts/ci/ascend/test_env.sh /mnt/cache/share/deeplinkci/dicp_env/llama_models\n          bash ${TEST_DIR}/ascend_scripts/ops/run_test_ops.sh false && \\\n          pytest test/model/test_llama.py --backend ascendgraph --dynamic false \\\n          || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf Build-Dicp-On-Dipu-Ascend && exit 1 )\n\n  Test-One-Iter-Ascend-910b:\n    name: Test-one-iter-ascend-910b\n    needs: [Build-Ascend-910b]\n    runs-on: tps-ascend-ci-910b\n    steps:\n      - name: Build some env\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Ascend-910b/dipu\n          source scripts/ci/ascend/ci_ascend_env.sh\n          basic_path=${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Ascend-910b/dipu/mmlab_pack\n          source scripts/ci/ci_one_iter.sh export_pythonpath_ascend ${basic_path}\n          cd mmlab_pack\n          bash ../scripts/ci/ci_one_iter.sh build_ascend910b\n\n      - name: run-one-iter-for-tradition\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Ascend-910b/dipu\n          source scripts/ci/ascend/ci_ascend_env.sh\n          basic_path=${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Ascend-910b/dipu/mmlab_pack\n          source scripts/ci/ci_one_iter.sh export_pythonpath_ascend ${basic_path}\n          cd mmlab_pack\n          rm -rf one_iter_data\n          python ../scripts/ci/ci_run_one_iter.py ascend \"\" \"\" \"\" && rm -rf one_iter_data || (rm -rf one_iter_data && exit 1)\n\n      - name: run-one-iter-for-llm\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Ascend-910b/dipu\n          source scripts/ci/ascend/ci_ascend_env.sh\n          basic_path=${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Ascend-910b/dipu/mmlab_pack\n          source scripts/ci/ci_one_iter.sh export_pythonpath_ascend ${basic_path}\n          cd mmlab_pack\n          rm -rf one_iter_data\n          python ../scripts/ci/ci_run_one_iter.py ascend \"\" \"\" \"\" \"llm\" && rm -rf one_iter_data || (rm -rf one_iter_data && exit 1)\n\n      - name: Perform cleanup one iter data\n        if: always()\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Ascend-910b/dipu/mmlab_pack\n          rm -rf one_iter_data\n          touch one_iter_data # 用于占位，防止创建新的 one_iter_data 文件夹\n\n      - name: Check for failure\n        if: ${{ failure() }}\n        run: exit 1\n\n  Build-Ascend-Latest-Target-910b:\n    name: Build-dipu-ascend-latest-target-910b\n    needs: [Build-PyTorch-For-Ascend-910b]\n    runs-on: tps-ascend-ci-910b\n    steps:\n      - name: Build dipu diopi-latest-target\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && cp -R source-main ${GITHUB_JOB}  && cd ${GITHUB_JOB}/dipu\n          source scripts/ci/ascend/ci_ascend_env.sh\n          bash scripts/ci/ascend/ci_ascend_script.sh build_dipu \\\n          || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n\n  Test-Ascend-Latest-Target-910b:\n    name: Test-dipu-ascend-latest-target-910b\n    needs: [Build-Ascend-Latest-Target-910b]\n    runs-on: tps-ascend-ci-910b\n    steps:\n      - name: Run a test\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Ascend-Latest-Target-910b/dipu\n          source scripts/ci/ascend/ci_ascend_env.sh\n          bash tests/run_ascend_tests.sh && cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf Build-Ascend-Latest-Target \\\n          || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf Build-Ascend-Latest-Target && exit 1 )\n", "state": "active", "repository": "DeepLink-org/deeplink.framework"}
{"mined_at": "2024-07-15T18:47:58.638210", "created_at": "2023-12-20T11:02:19+01:00", "updated_at": "2023-12-20T11:02:19+01:00", "name": "runs on sco", "path": ".github/workflows/runs-on-sco.yml", "contents": null, "state": "active", "repository": "DeepLink-org/deeplink.framework"}
{"mined_at": "2024-07-15T18:47:59.720404", "created_at": "2024-01-30T08:51:17+01:00", "updated_at": "2024-01-30T08:51:17+01:00", "name": "runs on 1424", "path": ".github/workflows/runs_on_1424.yml", "contents": null, "state": "active", "repository": "DeepLink-org/deeplink.framework"}
{"mined_at": "2024-07-15T18:48:00.866259", "created_at": "2024-01-18T14:04:16+01:00", "updated_at": "2024-01-23T06:32:13+01:00", "name": "dipu ci on klx", "path": ".github/workflows/runs_on_klx.yml", "contents": "name: dipu ci on klx\non:\n  workflow_dispatch:\n  # schedule:\n  #   - cron: '10 22 * * *'\n  # pull_request:\n  #   paths:\n  #     - \".github/workflows/runs_on_klx.yml\"\n  #     - \"dipu/torch_dipu/csrc_dipu/vendor/kunlunxin/**\"\nenv:\n  DEEPLINK_PATH: '/mnt/cache/share/deeplinkci/github/${{ github.repository }}'\n  CLUSTER_KLX: KUNLUNXIN\n  ALL_COVERAGE: ${{ (contains( github.ref, 'main') || startsWith(github.ref, 'refs/heads/v') || startsWith(github.ref, 'refs/heads/dev')) && 'ON' || 'OFF' }}\n  REQUIRE_COVERAGE: ${{ vars.REQUIRE_COVERAGE != '' && vars.REQUIRE_COVERAGE || '0' }}\n\njobs:\n  Checkout-code:\n    name: Checkout code\n    runs-on: github-poc-ci\n    steps:\n      - name: clone repo\n        run: |\n          set -ex\n          cd ${GITHUB_WORKSPACE} && rm -rf source\n          if [ -n \"${{ github.event.pull_request.head.repo.full_name }}\" ] && [[ ! \"${{ github.event.pull_request.head.repo.full_name }}\" == \"${{ github.repository }}\" ]]; then\n            git clone ${{ github.event.pull_request.head.repo.ssh_url }} source\n            cd ${GITHUB_WORKSPACE}/source && git checkout ${{ github.event.pull_request.head.sha }}\n            git remote add mainrepo git@github.com:${GITHUB_REPOSITORY}.git\n            git fetch  mainrepo && git merge --no-edit mainrepo/${{ github.base_ref }}\n          else\n            git clone ${{ github.event.repository.clone_url }} source && cd source\n            if [ $GITHUB_EVENT_NAME == \"pull_request\" ]; then\n              echo \"${{ github.base_ref }} \"\n              git checkout ${{ github.event.pull_request.head.sha }} && git merge --no-edit origin/${{ github.base_ref }}\n            else\n              echo $GITHUB_EVENT_NAME\n              git checkout ${{ github.sha }}\n            fi\n          fi\n          cd ${GITHUB_WORKSPACE}/source/dipu/third_party && rm -rf DIOPI && git clone https://github.com/DeepLink-org/DIOPI.git\n          rm -rf kineto && git clone --reference /home/autolink/rsync/sourcecode/DeepLink-org/kineto https://github.com/DeepLink-org/kineto.git kineto\n          cd ../.. && git submodule update --init && cd dipu/third_party/kineto && git submodule update --init\n          cd ${GITHUB_WORKSPACE}/source/dipu && bash /home/autolink/rsync/sourcecode/update_code.sh\n          rsync -a /home/autolink/rsync/sourcecode/mmlab_pack . && cd mmlab_pack\n          bash ../scripts/ci/ci_one_iter.sh clone\n      - name: Rsync to Server\n        run: |\n          ssh ${CLUSTER_KLX} \"mkdir -p ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source\" \\\n          && rsync -a --delete ${GITHUB_WORKSPACE}/source/ ${CLUSTER_KLX}:${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/ || echo \"failure to connect to kunlunxin\"\n\n  Build-Kunlunxin:\n    name: Build-Kunlunxin\n    needs: [Checkout-code]\n    runs-on: tps-klx-ci\n    steps:\n      - name: Build dipu\n        run: |\n          set -ex\n          export USE_COVERAGE=ON\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && cp -R source ${GITHUB_JOB}  && cd ${GITHUB_JOB}/dipu\n          source scripts/ci/kunlunxin/ci_kunlunxin_env.sh\n          python setup.py build_ext -i \\\n          || ( cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/ && rm -rf ${GITHUB_JOB} && exit 1 )\n\n  Test-Kunlunxin:\n    name: Test-Kunlunxin\n    needs: [Build-Kunlunxin]\n    runs-on: tps-klx-ci\n    steps:\n      - name: Run a test\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Kunlunxin/dipu\n          bash tests/run_kunlunxin_tests.sh\n          if [ \"${ALL_COVERAGE}\" = \"ON\" ]; then\n              bash /mnt/cache/share/platform/dep/sonar/coverage_DIPU.sh ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Kunlunxin/dipu || echo \"get coverage fail\"\n          fi\n      - name: increment coverage check\n        if: ${{ contains( github.event_name, 'pull_request' ) && contains( github.base_ref, 'main' ) }}\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Kunlunxin\n          rm -rf scripts\n          ln -s ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/source/dipu/third_party/DIOPI/scripts scripts\n          bash scripts/increment_coverage.sh ${REQUIRE_COVERAGE}\n\n  Test-One-Iter-Kunlunxin:\n    name: Test-One-Iter-Kunlunxin\n    needs: [Build-Kunlunxin]\n    runs-on: tps-klx-ci\n    steps:\n      - name: Build some env\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Kunlunxin/dipu/mmlab_pack\n          bash ../scripts/ci/ci_one_iter.sh build_kunlunxin\n\n      - name: Run one iter tools\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Kunlunxin/dipu\n          source scripts/ci/kunlunxin/ci_kunlunxin_env.sh\n          basic_path=${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Kunlunxin/dipu/mmlab_pack\n          source scripts/ci/ci_one_iter.sh export_pythonpath_kunlunxin ${basic_path}\n          cd mmlab_pack\n          rm -rf one_iter_data\n          XDNN_CONV_GEMM_DTYPE=int16 XPUAPI_DEBUG_CUSTOM_OP_LEVEL=\"broadcast_add,0x11\" \\\n          python ../scripts/ci/ci_run_one_iter.py kunlunxin \"\" \"\" \"\" && rm -rf one_iter_data || (rm -rf one_iter_data && exit 1)\n\n      - name: Perform cleanup one iter data\n        if: always()\n        run: |\n          set -ex\n          cd ${DEEPLINK_PATH}/${GITHUB_RUN_NUMBER}/Build-Kunlunxin/dipu/mmlab_pack\n          rm -rf one_iter_data\n          touch one_iter_data # 用于占位，防止创建新的 one_iter_data 文件夹\n\n      - name: Check for failure\n        if: ${{ failure() }}\n        run: exit 1\n", "state": "active", "repository": "DeepLink-org/deeplink.framework"}
{"mined_at": "2024-07-15T18:48:03.034277", "created_at": "2021-03-22T19:51:38+01:00", "updated_at": "2021-03-22T19:51:38+01:00", "name": "pypi", "path": ".github/workflows/pypi-publish.yml", "contents": "name: pypi\n\non:\n  release:\n    types: [created]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine build\n    - name: Check consistency between the package version and release tag\n      run: |\n        pip install .\n        RELEASE_VER=${GITHUB_REF#refs/*/}\n        PACKAGE_VER=\"v`python -c 'import optax; print(optax.__version__)'`\"\n        if [ $RELEASE_VER != $PACKAGE_VER ]\n        then\n          echo \"package ver. ($PACKAGE_VER) != release ver. ($RELEASE_VER)\"; exit 1\n        fi\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        python -m build\n        twine upload dist/*\n", "state": "active", "repository": "google-deepmind/optax"}
{"mined_at": "2024-07-15T18:48:04.245468", "created_at": "2021-02-16T13:10:00+01:00", "updated_at": "2022-12-01T18:44:58+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n  schedule:\n    - cron: '0 3 * * *'\n\njobs:\n  build-and-test:\n    name: \"Python ${{ matrix.python-version }} on ${{ matrix.os }} jax=${{ matrix.jax-version }}\"\n    runs-on: \"${{ matrix.os }}\"\n\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest]\n        jax-version: [newest]\n        include:\n          - python-version: \"3.9\"\n            os: \"ubuntu-latest\"\n            jax-version: \"0.4.27\"  # Keep version in sync with pyproject.toml and copy.bara.sky!\n\n    steps:\n      - uses: \"actions/checkout@v2\"\n      - uses: \"actions/setup-python@v4\"\n        with:\n            python-version: \"${{ matrix.python-version }}\"\n            cache: \"pip\"\n            cache-dependency-path: 'pyproject.toml'\n      - name: Run CI tests\n        run: JAX_VERSION=\"${{ matrix.jax-version }}\" bash test.sh\n        shell: bash\n  markdown-link-check:\n    name: \"Check links in markdown files\"\n    runs-on: \"ubuntu-latest\"\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Check links\n      uses: gaurav-nelson/github-action-markdown-link-check@v1\n      with:\n        use-quiet-mode: yes\n        use-verbose-mode: yes\n", "state": "active", "repository": "google-deepmind/optax"}
{"mined_at": "2024-07-15T18:48:05.241283", "created_at": "2023-08-09T22:27:09+02:00", "updated_at": "2023-08-09T22:27:09+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google-deepmind/optax"}
{"mined_at": "2024-07-15T18:48:07.309555", "created_at": "2024-03-30T14:51:45+01:00", "updated_at": "2024-03-30T14:51:45+01:00", "name": "Post coverage comment", "path": ".github/workflows/coverage_external_pr.yml", "contents": "name: Post coverage comment\n\non:\n  workflow_run:\n    workflows: [\"Run linters and tests\"]\n    types:\n      - completed\n\njobs:\n  test:\n    name: Run tests & display coverage\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'\n    permissions:\n      pull-requests: write\n      actions: read\n    steps:\n      # DO NOT run actions/checkout here, for security reasons\n      # For details, refer to https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n      - name: Post comment\n        uses: py-cov-action/python-coverage-comment-action@44f4df022ec3c3cbb61e56e0b550a490bde8aa73\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}\n", "state": "active", "repository": "reagento/adaptix"}
{"mined_at": "2024-07-15T18:48:08.337365", "created_at": "2023-12-10T09:51:45+01:00", "updated_at": "2023-12-21T18:42:09+01:00", "name": "Run linters and tests", "path": ".github/workflows/lint_and_test.yml", "contents": "name: Run linters and tests\n\non:\n  push:\n    branches-ignore:\n      - \"2.x/*\"\n  pull_request:\n    branches-ignore:\n      - \"2.x/*\"\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  linting:\n    name: Linting\n    runs-on: ubuntu-latest\n    timeout-minutes: 3\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Just\n        uses: extractions/setup-just@dd310ad5a97d8e7b41793f8ef055398d51ad4de6\n        with:\n          just-version: 1.14.0\n\n      - name: Setup environment to run tox\n        run:\n          just setup-runner\n\n      - name: Run linters\n        run:\n          just lint\n\n  testing:\n    name: Testing (${{ matrix.python_version.tox }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    needs: linting\n\n    strategy:\n      fail-fast: true\n      matrix:\n        python_version:\n          - { setup: '3.8',      tox: 'py38',    cov: true  }\n          - { setup: '3.9',      tox: 'py39',    cov: true  }\n          - { setup: '3.10',     tox: 'py310',   cov: true  }\n          - { setup: '3.11',     tox: 'py311',   cov: true  }\n          - { setup: '3.12',     tox: 'py312',   cov: true  }\n          - { setup: 'pypy3.8',  tox: 'pypy38',  cov: false }\n          - { setup: 'pypy3.9',  tox: 'pypy39',  cov: false }\n          - { setup: 'pypy3.10', tox: 'pypy310', cov: false }\n\n        os: ['ubuntu-latest']\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version.setup }}\n\n      - name: Install Just\n        uses: extractions/setup-just@dd310ad5a97d8e7b41793f8ef055398d51ad4de6\n        with:\n          just-version: 1.14.0\n\n      - name: Setup environment to run tox\n        run:\n          just setup-runner\n\n      - name: Run tests with coverage\n        if: ${{  (matrix.python_version.cov && github.event_name == 'pull_request') }}\n        run:\n          just inv test-on-ci\n            --py-target ${{ matrix.python_version.tox }}\n            --cov-output .coverage.${{ matrix.python_version.tox }}\n\n      - name: Store coverage file\n        uses: actions/upload-artifact@v4\n        if: ${{  (matrix.python_version.cov && github.event_name == 'pull_request') }}\n        with:\n          name: coverage-${{ matrix.python_version.tox }}\n          path: .coverage.${{ matrix.python_version.tox }}\n          if-no-files-found: error\n\n      - name: Run tests without coverage\n        if: ${{ !(matrix.python_version.cov && github.event_name == 'pull_request') }}\n        run:\n          just inv test-on-ci\n            --py-target ${{ matrix.python_version.tox }}\n\n  coverage:\n    name: Coverage\n    runs-on: ubuntu-latest\n    needs: testing\n    permissions:\n      pull-requests: write\n\n    if: ${{ github.event_name == 'pull_request' }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/download-artifact@v4\n        id: download\n        with:\n          pattern: coverage-*\n          merge-multiple: true\n\n      - name: Coverage comment\n        id: coverage_comment\n        uses: py-cov-action/python-coverage-comment-action@44f4df022ec3c3cbb61e56e0b550a490bde8aa73\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          MERGE_COVERAGE_FILES: true\n          MINIMUM_GREEN: 90\n\n      - name: Store Pull Request comment to be posted (for external pr)\n        uses: actions/upload-artifact@v4\n        if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'\n        with:\n          name: python-coverage-comment-action\n          path: python-coverage-comment-action.txt\n", "state": "active", "repository": "reagento/adaptix"}
{"mined_at": "2024-07-15T18:48:09.470211", "created_at": "2024-01-09T17:42:52+01:00", "updated_at": "2024-01-09T17:42:52+01:00", "name": "Run tests on all operating systems", "path": ".github/workflows/test_all_oses.yml", "contents": "name: Run tests on all operating systems\n\non:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  testing:\n    name: Testing (${{ matrix.python_version.tox }}, ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n      matrix:\n        python_version:\n          - { setup: '3.8',      tox: 'py38'    }\n          - { setup: '3.9',      tox: 'py39'    }\n          - { setup: '3.10',     tox: 'py310'   }\n          - { setup: '3.11',     tox: 'py311'   }\n          - { setup: '3.12',     tox: 'py312'   }\n          - { setup: 'pypy3.8',  tox: 'pypy38'  }\n          - { setup: 'pypy3.9',  tox: 'pypy39'  }\n          - { setup: 'pypy3.10', tox: 'pypy310' }\n\n        os: ['ubuntu-latest', 'windows-latest', 'macos-latest']\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version.setup }}\n\n      - name: Install Just\n        uses: extractions/setup-just@dd310ad5a97d8e7b41793f8ef055398d51ad4de6\n        with:\n          just-version: 1.14.0\n\n      - name: Setup environment to run tox\n        run:\n          just setup-runner\n\n      - name: Run tests\n        run:\n          just inv test-on-ci\n            --py-target ${{ matrix.python_version.tox }}\n            --cov-output .coverage.${{ matrix.python_version.tox }}\n", "state": "active", "repository": "reagento/adaptix"}
{"mined_at": "2024-07-15T18:48:11.742813", "created_at": "2023-07-06T21:25:16+02:00", "updated_at": "2023-07-25T12:53:06+02:00", "name": "Mirror to Ebrains", "path": ".github/workflows/ebrains-mirror.yml", "contents": "name: Mirror to Ebrains\n\n# Configure the events that are going to trigger tha automated update of the mirror\non:\n  push:\n    branches: [ master ]\n\n# Configure what will be updated\njobs:\n  # set the job name\n  to_ebrains:\n    runs-on: ubuntu-latest\n    steps:\n      # this task will push the master branch of the source_repo (github) to the\n      # destination_repo (ebrains gitlab)\n      - name: syncmaster\n        uses: wei/git-sync@v3\n        # component owners need to set their own variables\n        # the destination_repo format is\n        # https://gitlab_service_account_name:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/name_of_mirror.git\n        with:\n          source_repo: \"suny-downstate-medical-center/netpyne\"\n          source_branch: \"master\"\n          destination_repo: \"https://github-pusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/vbragin/netpyne.git\"\n          destination_branch: \"master\"\n      # this task will push all tags from the source_repo to the destination_repo\n      - name: synctags\n        uses: wei/git-sync@v3\n        with:\n          source_repo: \"suny-downstate-medical-center/netpyne\"\n          source_branch: \"refs/tags/*\"\n          destination_repo: \"https://github-pusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/vbragin/netpyne.git\"\n          destination_branch: \"refs/tags/*\"\n", "state": "active", "repository": "suny-downstate-medical-center/netpyne"}
{"mined_at": "2024-07-15T18:48:12.785182", "created_at": "2021-05-07T19:23:02+02:00", "updated_at": "2021-05-14T19:14:13+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\non: [push, pull_request]\njobs:\n  Run-Tests:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        #python-version: [2.7, 3.7]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n      fail-fast: false\n\n    steps:\n      - name: Check out repository code\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Update apt-get\n        run: sudo apt-get update\n\n      - name: Install packages\n        run: sudo apt-get install python-tk python3-tables\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install -e .\n\n      - name: Info on installed package versons\n        run: |\n          pip list\n\n      - name: Test with pytest\n        run: |\n          source tests/test.sh\n", "state": "active", "repository": "suny-downstate-medical-center/netpyne"}
{"mined_at": "2024-07-15T18:48:14.997530", "created_at": "2023-09-07T18:05:55+02:00", "updated_at": "2023-09-07T20:49:49+02:00", "name": "Run unittest, black and autoflake", "path": ".github/workflows/run_tests_and_checks.yml", "contents": "# This workflow will install Python dependencies, run tests and black\n\nname: Run unittest, black and autoflake\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\npermissions:\n  contents: read\n\njobs:\n  check:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\n        python -m pip install -U multiprocess\n        python -m pip freeze\n\n    - name: Black code style check\n      if: success() || failure()\n      uses: psf/black@stable\n      with:\n        options: \"--check --diff\"\n        src: \".\"\n        jupyter: true\n        version: \"23.1.0\"\n  \n    - name: Unused imports and variables check\n      if: success() || failure()\n      run: |\n        python -m autoflake --remove-all-unused-imports -r . --exclude venv,archived_code -c --quiet\n\n    - name: Run unittest\n      if: success() || failure()\n      run: |\n        python -m unittest discover\n      env:\n        NEPTUNE_API_TOKEN: ${{ secrets.NEPTUNE_API_TOKEN }}\n        WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }}", "state": "active", "repository": "llm-random/llm-random"}
{"mined_at": "2024-07-15T18:48:17.250442", "created_at": "2020-11-18T17:05:33+01:00", "updated_at": "2020-12-04T17:17:27+01:00", "name": "Build and Test Workflow", "path": ".github/workflows/build-and-test.yml", "contents": "name: Build and Test Workflow\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  tests-and-coverage:\n    name: Tests with latest BoTorch\n    uses: ./.github/workflows/reusable_test.yml\n    with:\n      pinned_botorch: false\n    secrets: inherit\n\n  lint:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      # Pin ufmt deps so they match intermal pyfmt.\n      run: |\n        pip install black==24.2.0\n        pip install usort==1.0.8\n        pip install libcst==1.1.0\n        pip install ufmt\n        pip install flake8\n    - name: ufmt\n      run: |\n        ufmt diff .\n    - name: Flake8\n      # run even if previous step (ufmt) failed\n      if: ${{ always() }}\n      run: |\n        flake8\n\n  docs:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      env:\n        ALLOW_BOTORCH_LATEST: true\n        ALLOW_LATEST_GPYTORCH_LINOP: true\n      run: |\n        # use latest Botorch\n        pip install git+https://github.com/cornellius-gp/gpytorch.git\n        pip install git+https://github.com/pytorch/botorch.git\n        pip install -e \".[unittest]\"\n    - name: Validate Sphinx\n      run: |\n        python scripts/validate_sphinx.py -p \"${pwd}\"\n    - name: Run Sphinx\n      # run even if previous step (validate Sphinx) failed\n      if: ${{ always() }}\n      run: |\n        # warnings no longer treated as errors.\n        sphinx-build -T --keep-going sphinx/source sphinx/build\n", "state": "active", "repository": "facebook/Ax"}
{"mined_at": "2024-07-15T18:48:18.479770", "created_at": "2020-11-18T17:21:23+01:00", "updated_at": "2020-12-09T16:29:03+01:00", "name": "Nightly Cron", "path": ".github/workflows/cron.yml", "contents": "name: Nightly Cron\n\non:\n  schedule:\n    # midnight EST\n    - cron:  '0 5 * * *'\n  # allow this to be scheduled manually in addition to cron\n  workflow_dispatch:\n  push:\n    branches: [ main ]\n    paths:\n      - \"tutorials/**\"\n\njobs:\n\n  tests-and-coverage-minimal:\n    name: Tests with latest BoTorch & minimal dependencies\n    uses: ./.github/workflows/reusable_test.yml\n    with:\n      pinned_botorch: false\n      minimal_dependencies: true\n    secrets: inherit\n\n  tests-and-coverage-full:\n    name: Tests with latest BoTorch & full dependencies\n    uses: ./.github/workflows/reusable_test.yml\n    with:\n      pinned_botorch: false\n      minimal_dependencies: false\n    secrets: inherit\n\n  build-tutorials:\n    name: Build tutorials with latest BoTorch\n    uses: ./.github/workflows/reusable_tutorials.yml\n    with:\n      smoke_test: false\n      pinned_botorch: false\n\n  publish-latest-website:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      env:\n        ALLOW_BOTORCH_LATEST: true\n        ALLOW_LATEST_GPYTORCH_LINOP: true\n      run: |\n        # use latest BoTorch\n        pip install git+https://github.com/cornellius-gp/gpytorch.git\n        pip install git+https://github.com/pytorch/botorch.git\n        pip install -e \".[tutorial]\"\n    - name: Publish latest website\n      env:\n        DOCUSAURUS_PUBLISH_TOKEN: ${{ secrets.DOCUSAURUS_PUBLISH_TOKEN }}\n      run: |\n        bash scripts/publish_site.sh -d\n\n  deploy-test-pypi:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Fetch all history for all tags and branches\n      run: git fetch --prune --unshallow\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      env:\n        ALLOW_BOTORCH_LATEST: true\n        ALLOW_LATEST_GPYTORCH_LINOP: true\n      run: |\n        # use latest BoTorch\n        pip install git+https://github.com/cornellius-gp/gpytorch.git\n        pip install git+https://github.com/pytorch/botorch.git\n        pip install -e \".[dev,mysql,notebook]\"\n        pip install wheel\n    - name: Build wheel\n      run: |\n        python setup.py sdist bdist_wheel\n    - name: Deploy to Test PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.TEST_PYPI_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n        skip_existing: true\n        verbose: true\n", "state": "active", "repository": "facebook/Ax"}
{"mined_at": "2024-07-15T18:48:19.707838", "created_at": "2023-09-07T01:16:34+02:00", "updated_at": "2023-11-17T20:05:14+01:00", "name": "Replicate Nightly Cron with Pinned BoTorch", "path": ".github/workflows/cron_pinned.yml", "contents": "name: Replicate Nightly Cron with Pinned BoTorch\n\non:\n\n  workflow_dispatch:\n\njobs:\n\n  tests-and-coverage-minimal:\n    name: Tests with pinned BoTorch & minimal dependencies\n    uses: ./.github/workflows/reusable_test.yml\n    with:\n      pinned_botorch: true\n      minimal_dependencies: true\n    secrets: inherit\n\n  tests-and-coverage-full:\n    name: Tests with pinned BoTorch & full dependencies\n    uses: ./.github/workflows/reusable_test.yml\n    with:\n      pinned_botorch: true\n      minimal_dependencies: false\n    secrets: inherit\n\n  build-tutorials:\n    name: Build tutorials with pinned BoTorch\n    uses: ./.github/workflows/reusable_tutorials.yml\n    with:\n      smoke_test: false\n      pinned_botorch: true\n", "state": "active", "repository": "facebook/Ax"}
{"mined_at": "2024-07-15T18:48:20.841214", "created_at": "2020-12-09T16:29:03+01:00", "updated_at": "2020-12-09T16:29:03+01:00", "name": "Deploy", "path": ".github/workflows/deploy.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Deploy\n\non:\n  release:\n    types: [created]\n\njobs:\n  tests-and-coverage-latest:\n    name: Tests with latest BoTorch\n    uses: ./.github/workflows/reusable_test.yml\n    with:\n      pinned_botorch: false\n    secrets: inherit\n\n  tests-and-coverage-pinned:\n    name: Tests with pinned BoTorch\n    uses: ./.github/workflows/reusable_test.yml\n    with:\n      pinned_botorch: true\n    secrets: inherit\n\n  publish-stable-website:\n\n    needs: tests-and-coverage-pinned # only run if test step succeeds\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        # use stable Botorch\n        pip install -e \".[tutorial]\"\n    - name: Publish latest website\n      env:\n        DOCUSAURUS_PUBLISH_TOKEN: ${{ secrets.DOCUSAURUS_PUBLISH_TOKEN }}\n      run: |\n        bash scripts/publish_site.sh -d -v ${{ github.event.release.tag_name }}\n\n  deploy:\n\n    needs: tests-and-coverage-pinned # only run if test step succeeds\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        # use stable Botorch\n        pip install -e \".[dev,mysql,notebook]\"\n        pip install wheel\n    - name: Fetch all history for all tags and branches\n      run: git fetch --prune --unshallow\n    - name: Build wheel\n      run: |\n        python setup.py sdist bdist_wheel\n    - name: Deploy to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n        verbose: true\n", "state": "active", "repository": "facebook/Ax"}
{"mined_at": "2024-07-15T18:48:21.962506", "created_at": "2023-09-07T01:16:35+02:00", "updated_at": "2023-09-07T01:16:35+02:00", "name": "Reusable Test Workflow", "path": ".github/workflows/reusable_test.yml", "contents": "name: Reusable Test Workflow\n\non:\n  workflow_dispatch:\n    inputs:\n      pinned_botorch:\n        required: true\n        type: boolean\n      minimal_dependencies:\n        required: false\n        type: boolean\n        default: false\n  workflow_call:\n    inputs:\n      pinned_botorch:\n        required: true\n        type: boolean\n      minimal_dependencies:\n        required: false\n        type: boolean\n        default: false\n\njobs:\n  tests-and-coverage:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\", \"3.12\"]\n      fail-fast: false\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - if: ${{ inputs.pinned_botorch }}\n      name: Install dependencies with pinned BoTorch (minimal dependencies ${{ inputs.minimal_dependencies }})\n      run: |\n        # The brackets returns '.[unittest_minimal]' if using minimal dependencies and '.[unittest]'\n        # otherwise. This saves us from needing 4 install dependencies blocks by supporting two\n        # different installation options in one line.\n        pip install -e ${{ ((inputs.minimal_dependencies) && '.[unittest_minimal]') || '.[unittest]' }}\n\n    - if: ${{ !inputs.pinned_botorch }}\n      name: Install dependencies with latest BoTorch (minimal dependencies ${{ inputs.minimal_dependencies }})\n      env:\n        ALLOW_BOTORCH_LATEST: true\n        ALLOW_LATEST_GPYTORCH_LINOP: true\n      run: |\n        pip install git+https://github.com/cornellius-gp/gpytorch.git\n        pip install git+https://github.com/pytorch/botorch.git\n        pip install -e ${{ ((inputs.minimal_dependencies) && '.[unittest_minimal]') || '.[unittest]' }}\n\n    - name: Import Ax\n      run: |\n        python scripts/import_ax.py\n    - if: ${{ !inputs.minimal_dependencies }}\n      # Only run with full dependencies. Minimal does not include pytest.\n      name: Tests and coverage\n      run: |\n        pytest -ra --cov=ax\n    - if: ${{ !inputs.minimal_dependencies && matrix.python-version == 3.10 }}\n      # Only upload codecov once per workflow.\n      name: Upload coverage\n      uses: codecov/codecov-action@v4\n      with:\n        fail_ci_if_error: true\n        token: ${{ secrets.CODECOV_TOKEN }}\n        version: v0.6.0  # TODO: Unpin after codecov issue with 0.7.0 is resolved: https://github.com/codecov/codecov-cli/issues/460#issuecomment-2183042570\n", "state": "active", "repository": "facebook/Ax"}
{"mined_at": "2024-07-15T18:48:23.087771", "created_at": "2022-12-16T13:53:21+01:00", "updated_at": "2022-12-16T13:53:21+01:00", "name": "Reusable Tutorials Workflow", "path": ".github/workflows/reusable_tutorials.yml", "contents": "name: Reusable Tutorials Workflow\n\non:\n  workflow_dispatch:\n    inputs:\n      smoke_test:\n        required: true\n        type: boolean\n      pinned_botorch:\n        required: true\n        type: boolean\n  workflow_call:\n    inputs:\n      smoke_test:\n        required: true\n        type: boolean\n      pinned_botorch:\n        required: true\n        type: boolean\n\njobs:\n\n  build-tutorials:\n    name: Tutorials\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n\n    - if: ${{ inputs.pinned_botorch }}\n      name: Install dependencies with pinned BoTorch\n      run: |\n        pip install -e \".[tutorial]\"\n\n    - if: ${{ !inputs.pinned_botorch }}\n      name: Install dependencies with latest BoTorch\n      env:\n        ALLOW_BOTORCH_LATEST: true\n        ALLOW_LATEST_GPYTORCH_LINOP: true\n      run: |\n        pip install git+https://github.com/cornellius-gp/gpytorch.git\n        pip install git+https://github.com/pytorch/botorch.git\n        pip install -e \".[tutorial]\"\n\n    - if: ${{ inputs.smoke_test }}\n      name: Build tutorials with smoke test\n      run: |\n        python scripts/make_tutorials.py -w $(pwd) -e -s\n    - if: ${{ !inputs.smoke_test }}\n      name: Build tutorials without smoke test\n      run: |\n        python scripts/make_tutorials.py -w $(pwd) -e\n", "state": "active", "repository": "facebook/Ax"}
{"mined_at": "2024-07-15T18:48:24.179275", "created_at": "2022-12-15T23:58:17+01:00", "updated_at": "2023-05-11T19:23:38+02:00", "name": "Tutorials", "path": ".github/workflows/tutorials.yml", "contents": "name: Tutorials\n\non:\n  workflow_dispatch:\n  push:\n    branches: [ main ]\n    paths:\n      - \"tutorials/**\"\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \"tutorials/**\"\n\n\njobs:\n\n  build-tutorials-with-latest-botorch:\n    name: Tutorials with latest BoTorch\n    uses: ./.github/workflows/reusable_tutorials.yml\n    with:\n      smoke_test: true\n      pinned_botorch: false\n", "state": "active", "repository": "facebook/Ax"}
{"mined_at": "2024-07-15T18:48:25.199338", "created_at": "2021-12-17T08:14:50+01:00", "updated_at": "2021-12-17T08:14:50+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "facebook/Ax"}
{"mined_at": "2024-07-15T18:48:27.223125", "created_at": "2023-12-15T10:15:38+01:00", "updated_at": "2023-12-15T10:15:38+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "microsoft/PubSec-Info-Assistant"}
{"mined_at": "2024-07-15T18:48:29.436851", "created_at": "2023-09-13T19:29:26+02:00", "updated_at": "2024-07-15T12:16:41+02:00", "name": "⛔️ Security auditing (Matrix)", "path": ".github/workflows/security.yaml", "contents": "---\n# This workflow will install Python dependencies\n# run tests and lint with a variety of Python versions\n# For more information see:\n# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: \"⛔️ Security auditing (Matrix)\"\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  pull_request:\n    types: [opened, reopened, edited, synchronize]\n    branches:\n      - \"*\"\n      - \"!update-devops-tooling\"\n\njobs:\n\n  parse-project-metadata:\n    name: \"Determine Python versions\"\n    # yamllint disable-line rule:line-length\n    uses: os-climate/devops-reusable-workflows/.github/workflows/pyproject-toml-fetch-matrix.yaml@main\n\n  build:\n    name: \"Audit Python dependencies\"\n    needs: [parse-project-metadata]\n    runs-on: ubuntu-latest\n    # Don't run when pull request is merged\n    if: github.event.pull_request.merged == false\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.parse-project-metadata.outputs.matrix) }}\n\n    steps:\n      - name: \"Checkout repository\"\n        uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: \"Setup PDM for build commands\"\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: \"Install dependencies\"\n        run: |\n          pip install --upgrade pip\n          pdm lock\n          pdm export -o requirements.txt\n          python -m pip install -r requirements.txt\n          python -m pip install .\n          pip install --upgrade setuptools\n          pdm list --graph\n\n      - name: \"Run: pip-audit\"\n        uses: pypa/gh-action-pip-audit@v1.0.8\n", "state": "active", "repository": "os-climate/ITR"}
{"mined_at": "2024-07-15T18:48:30.665074", "created_at": "2023-09-13T19:29:26+02:00", "updated_at": "2024-07-15T12:16:41+02:00", "name": "🧪 Unit tests (Matrix)", "path": ".github/workflows/testing.yaml", "contents": "---\nname: \"🧪 Unit tests (Matrix)\"\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  pull_request:\n    types: [opened, reopened, edited, synchronize]\n    branches:\n      - \"*\"\n      - \"!update-devops-tooling\"\n\njobs:\n\n  parse-project-metadata:\n    name: \"Determine Python versions\"\n    # yamllint disable-line rule:line-length\n    uses: os-climate/devops-reusable-workflows/.github/workflows/pyproject-toml-fetch-matrix.yaml@main\n\n  testing:\n    name: \"Run unit tests\"\n    needs: [parse-project-metadata]\n    runs-on: ubuntu-latest\n    # Don't run when pull request is merged\n    if: github.event.pull_request.merged == false\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.parse-project-metadata.outputs.matrix) }}\n\n    steps:\n      - name: \"Checkout repository\"\n        uses: actions/checkout@v4\n\n      - name: \"Setup Python ${{ matrix.python-version }}\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: \"Setup PDM for build commands\"\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: \"Install dependencies\"\n        run: |\n          python -m pip install --upgrade pip\n          pdm export -o requirements.txt\n          pip install -r requirements.txt\n          pip install --upgrade pytest pytest-cov\n          pip install .\n\n      - name: \"Run unit tests: pytest\"\n        run: |\n          if [ -d test ]; then\n            python -m pytest test\n          elif [ -d tests ]; then\n            python -m pytest tests\n          else\n            echo \"No test/tests directory could be found\"\n            echo \"Aborting testing without error\"; exit 0\n          fi\n", "state": "active", "repository": "os-climate/ITR"}
{"mined_at": "2024-07-15T18:48:31.791329", "created_at": "2023-09-13T19:36:46+02:00", "updated_at": "2024-03-28T13:58:07+01:00", "name": "📘 Documentation build/publish", "path": ".github/workflows/documentation.yaml", "contents": "---\nname: \"📘 Documentation build/publish\"\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  pull_request:\n    types: [closed]\n    branches:\n      - \"*\"\n      - \"!update-devops-tooling\"\n\njobs:\n  build_and_deploy:\n    # Only run when pull request is merged\n    if: github.event.pull_request.merged == true\n    name: \"Rebuild documentation\"\n    runs-on: ubuntu-latest\n    continue-on-error: true\n\n    permissions:\n      # IMPORTANT: mandatory for documentation updates; used in final step\n      id-token: write\n      pull-requests: write\n      contents: write\n      repository-projects: write\n\n    steps:\n      - name: \"Checkout repository\"\n        uses: actions/checkout@v4\n\n      - name: \"Set up Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: \"Setup PDM for build commands\"\n        uses: pdm-project/setup-pdm@v4\n\n      - name: \"Install dependencies\"\n        run: |\n          python -m pip install --upgrade pip\n          pdm lock\n          pdm export -o requirements.txt\n          if [ -f docs/requirements.txt ]; then\n          pip install -r docs/requirements.txt; fi\n\n      - name: \"Build documentation: (tox/sphinx)\"\n        run: |\n          pip install --upgrade tox\n          tox -e docs\n\n      - name: \"Publish documentation\"\n        if: success()\n        uses: peaceiris/actions-gh-pages@v4\n        with:\n          publish_branch: gh-pages\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: docs/_build/html/\n          keep_files: true\n", "state": "active", "repository": "os-climate/ITR"}
{"mined_at": "2024-07-15T18:48:32.911758", "created_at": "2023-09-26T11:00:41+02:00", "updated_at": "2024-07-15T12:16:41+02:00", "name": "🧱 Builds (Matrix)", "path": ".github/workflows/builds.yaml", "contents": "---\nname: \"🧱 Builds (Matrix)\"\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  pull_request:\n    types: [opened, reopened, edited, synchronize]\n    branches:\n      - \"*\"\n      - \"!update-devops-tooling\"\n\njobs:\n  parse-project-metadata:\n    name: \"Determine Python versions\"\n    # yamllint disable-line rule:line-length\n    uses: os-climate/devops-reusable-workflows/.github/workflows/pyproject-toml-fetch-matrix.yaml@main\n\n  test-builds:\n    name: \"Build: Python\"\n    needs: [parse-project-metadata]\n    runs-on: \"ubuntu-latest\"\n    continue-on-error: true\n    # Don't run when pull request is merged\n    if: github.event.pull_request.merged == false\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.parse-project-metadata.outputs.matrix) }}\n\n    steps:\n      - name: \"Populate environment variables\"\n        id: setenv\n        run: |\n          echo \"Action triggered by user: ${GITHUB_TRIGGERING_ACTOR}\"\n          set -x\n          datetime=$(date +'%Y%m%d%H%M')\n          export datetime\n          echo \"datetime=${datetime}\" >> \"$GITHUB_OUTPUT\"\n          vernum=\"${{ matrix.python-version }}.${datetime}\"\n          echo \"vernum=${vernum}\" >> \"$GITHUB_OUTPUT\"\n\n      - name: \"Checkout repository\"\n        uses: actions/checkout@v4\n\n      - name: \"Set up Python ${{ matrix.python-version }}\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: \"Setup PDM for build commands\"\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: \"Tag for test release\"\n        # Delete all local tags, then create a synthetic tag for testing\n        # Use the date/time to avoid conflicts uploading to Test PyPI\n        run: |\n          scripts/dev-versioning.sh \"${{ steps.setenv.outputs.vernum }}\"\n          git tag | xargs -L 1 | xargs git tag --delete\n          git tag \"v${{ steps.setenv.outputs.vernum }}\"\n          git checkout \"tags/v${{ steps.setenv.outputs.vernum }}\"\n          grep version pyproject.toml\n\n      - name: \"Performing build\"\n        run: |\n          python -m pip install --upgrade pip\n          if [ -f tox.ini ]; then\n            pip install tox tox-gh-actions\n            echo \"Found file: tox.ini\"\n            echo \"Building with command: tox -e build\"\n            tox -e build\n          elif [ -f pyproject.toml ]; then\n            echo \"Found file: pyproject.toml\"\n            echo \"Building with command: pdm build\"\n            pdm build\n          else\n            echo \"Neither file found: tox.ini/pyproject.toml\"\n            pip install --upgrade build\n            echo \"Attempting build with: python -m build\"\n            python -m build\n          fi\n\n      - name: \"Validating Artefacts with Twine\"\n        run: |\n          echo \"Validating artefacts with: twine check dist/*\"\n          pip install --upgrade twine\n          twine check dist/*\n", "state": "active", "repository": "os-climate/ITR"}
{"mined_at": "2024-07-15T18:48:34.148101", "created_at": "2023-09-26T11:00:41+02:00", "updated_at": "2023-09-26T11:22:48+02:00", "name": "🐍📦 Production build and release", "path": ".github/workflows/release.yaml", "contents": "---\nname: \"🐍📦 Production build and release\"\n\n# GitHub/PyPI trusted publisher documentation:\n# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n\n# yamllint disable-line rule:truthy\non:\n  # workflow_dispatch:\n  push:\n    # Only invoked on release tag pushes\n    branches:\n      - 'main'\n      - 'master'\n    tags:\n      - 'v*.*.*'\n\nenv:\n  python-version: \"3.10\"\n\n### BUILD ###\n\njobs:\n\n  build:\n    name: \"🐍 Build packages\"\n    # Only publish on tag pushes\n    if: startsWith(github.ref, 'refs/tags/')\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: mandatory for Sigstore\n      id-token: write\n    steps:\n      ### BUILDING ###\n\n      - name: \"Checkout repository\"\n        uses: actions/checkout@v4\n\n      - name: \"Setup Python\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.python-version }}\n\n      - name: \"Setup PDM for build commands\"\n        uses: pdm-project/setup-pdm@v4\n\n      - name: \"Update version from tags for production release\"\n        run: |\n          echo \"Github versioning: ${{ github.ref_name }}\"\n          scripts/release-versioning.sh\n\n      - name: \"Build with PDM backend\"\n        run: |\n          pdm build\n\n      ### SIGNING ###\n\n      - name: \"Sign packages with Sigstore\"\n        uses: sigstore/gh-action-sigstore-python@v2.1.1\n        with:\n          inputs: >-\n            ./dist/*.tar.gz\n            ./dist/*.whl\n\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ github.ref_name }}\n          path: dist/\n\n  ### PUBLISH GITHUB ###\n\n  github:\n    name: \"📦 Publish to GitHub\"\n    # Only publish on tag pushes\n    if: startsWith(github.ref, 'refs/tags/')\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: mandatory to publish artefacts\n      contents: write\n    steps:\n      - name: \"⬇ Download build artefacts\"\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ github.ref_name }}\n          path: dist/\n\n      - name: \"📦 Publish artefacts to GitHub\"\n        # https://github.com/softprops/action-gh-release\n        uses: softprops/action-gh-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          prerelease: false\n          tag_name: ${{ github.ref_name }}\n          name: \"Test/Development Build \\\n            ${{ github.ref_name }}\"\n          # body_path: ${{ github.workspace }}/CHANGELOG.rst\n          files: |\n            dist/*.tar.gz\n            dist/*.whl\n            dist/*.sigstore\n\n  ### PUBLISH PYPI TEST ###\n\n  testpypi:\n    name: \"📦 Publish to PyPi Test\"\n    # Only publish on tag pushes\n    if: startsWith(github.ref, 'refs/tags/')\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    environment:\n      name: testpypi\n    permissions:\n      # IMPORTANT: mandatory for trusted publishing\n      id-token: write\n    steps:\n      - name: \"⬇ Download build artefacts\"\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ github.ref_name }}\n          path: dist/\n\n      - name: \"Remove files unsupported by PyPi\"\n        run: |\n          if [ -f dist/buildvars.txt ]; then\n            rm dist/buildvars.txt\n          fi\n          rm dist/*.sigstore\n\n      - name: Publish distribution to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository-url: https://test.pypi.org/legacy/\n          verbose: true\n\n  ### PUBLISH PYPI ###\n\n  pypi:\n    name: \"📦 Publish to PyPi\"\n    # Only publish on tag pushes\n    if: startsWith(github.ref, 'refs/tags/')\n    needs:\n      - testpypi\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n    permissions:\n      # IMPORTANT: mandatory for trusted publishing\n      id-token: write\n    steps:\n      - name: \"⬇ Download build artefacts\"\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ github.ref_name }}\n          path: dist/\n\n      - name: \"Remove files unsupported by PyPi\"\n        run: |\n          if [ -f dist/buildvars.txt ]; then\n            rm dist/buildvars.txt\n          fi\n          rm dist/*.sigstore\n\n      - name: \"Setup PDM for build commands\"\n        uses: pdm-project/setup-pdm@v4\n\n      - name: \"Publish release to PyPI\"\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          verbose: true\n", "state": "active", "repository": "os-climate/ITR"}
{"mined_at": "2024-07-15T18:48:35.377240", "created_at": "2023-09-26T11:00:41+02:00", "updated_at": "2023-12-21T03:32:13+01:00", "name": "🐍📦 Test build and release", "path": ".github/workflows/test-release.yaml", "contents": "---\nname: \"🐍📦 Test build and release\"\n\n# GitHub/PyPI trusted publisher documentation:\n# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n\nenv:\n  python-version: \"3.10\"\n\n### BUILD ###\n\njobs:\n  build:\n    name: \"🐍 Build packages\"\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: mandatory for Sigstore\n      id-token: write\n    steps:\n      ### BUILDING ###\n\n      - name: \"Checkout repository\"\n        uses: actions/checkout@v4\n\n      - name: \"Setup Python 3.10\"\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.python-version }}\n\n      - name: \"Setup PDM for build commands\"\n        uses: pdm-project/setup-pdm@v4\n        with:\n          python-version: ${{ env.python-version }}\n\n      - name: \"Populate environment variables\"\n        id: setenv\n        run: |\n          vernum=\"${{ env.python-version }}.$(date +'%Y%m%d%H%M')\"\n          echo \"vernum=${vernum}\" >> \"$GITHUB_OUTPUT\"\n          echo \"vernum=${vernum}\" >> buildvars.txt\n\n      - name: \"Tag for test release\"\n        # Delete all local tags, then create a synthetic tag for testing\n        # Use the date/time to avoid conflicts uploading to Test PyPI\n        run: |\n          scripts/dev-versioning.sh \"${{ steps.setenv.outputs.vernum }}\"\n          git tag | xargs -L 1 | xargs git tag --delete\n          git tag \"v${{ steps.setenv.outputs.vernum }}\"\n          git checkout \"tags/v${{ steps.setenv.outputs.vernum }}\"\n          grep version pyproject.toml\n\n      - name: \"Build with PDM backend\"\n        run: |\n          pdm build\n          # Need to save the build environment for subsequent steps\n          mv buildvars.txt dist/buildvars.txt\n\n      ### SIGNING ###\n\n      - name: \"Sign packages with Sigstore\"\n        uses: sigstore/gh-action-sigstore-python@v2.1.1\n\n        with:\n          inputs: >-\n            ./dist/*.tar.gz\n            ./dist/*.whl\n\n      - name: Store the distribution packages\n        uses: actions/upload-artifact@v4\n        with:\n          name: Development\n          path: dist/\n\n  ### PUBLISH GITHUB ###\n\n  github:\n    name: \"📦 Test publish to GitHub\"\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: mandatory to publish artefacts\n      contents: write\n    steps:\n      - name: \"⬇ Download build artefacts\"\n        uses: actions/download-artifact@v4\n        with:\n          name: Development\n          path: dist/\n\n      - name: \"Source environment variables\"\n        id: setenv\n        run: |\n          if [ -f dist/buildvars.txt ]; then\n            source dist/buildvars.txt\n            echo \"vernum=${vernum}\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"Build environment variables could not be sourced\"\n          fi\n          echo \"tarball=$(ls dist/*.tgz)\" >> \"$GITHUB_OUTPUT\"\n          echo \"wheel=$(ls dist/*.whl)\" >> \"$GITHUB_OUTPUT\"\n\n      - name: \"📦 Publish artefacts to GitHub\"\n        # https://github.com/softprops/action-gh-release\n        uses: softprops/action-gh-release@v2\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          prerelease: true\n          tag_name: ${{ steps.setenv.outputs.vernum }}\n          name: \"Test/Development Build \\\n            ${{ steps.setenv.outputs.vernum }}\"\n          # body_path: ${{ github.workspace }}/CHANGELOG.rst\n          files: |\n            dist/*.tar.gz\n            dist/*.whl\n            dist/*.sigstore\n\n  ### PUBLISH TEST PYPI ###\n\n  testpypi:\n    name: \"📦 Test publish to PyPi\"\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    environment:\n      name: testpypi\n    permissions:\n      # IMPORTANT: mandatory for trusted publishing\n      id-token: write\n    steps:\n      - name: \"⬇ Download build artefacts\"\n        uses: actions/download-artifact@v4\n        with:\n          name: Development\n          path: dist/\n\n      - name: \"Remove files unsupported by PyPi\"\n        run: |\n          if [ -f dist/buildvars.txt ]; then\n            rm dist/buildvars.txt\n          fi\n          rm dist/*.sigstore\n\n      - name: Publish distribution to Test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          verbose: true\n          repository-url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "os-climate/ITR"}
{"mined_at": "2024-07-15T18:48:36.501931", "created_at": "2023-11-02T16:14:18+01:00", "updated_at": "2024-03-25T12:00:15+01:00", "name": "♻️ Update dependencies", "path": ".github/workflows/dependencies.yaml", "contents": "---\nname: \"♻️ Update dependencies\"\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 8 1 * *\"\n\njobs:\n  update-dependencies:\n    name: \"Update dependencies\"\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: mandatory to raise the PR\n      id-token: write\n      pull-requests: write\n      repository-projects: write\n      contents: write\n\n    env:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n    steps:\n      - name: \"Checkout repository\"\n        uses: actions/checkout@v4\n\n      - name: \"Set up Python\"\n        uses: actions/setup-python@v5\n\n      - name: \"Update Python dependencies\"\n        uses: pdm-project/update-deps-action@v1\n        with:\n          sign-off-commit: \"true\"\n          token: ${{ secrets.GH_TOKEN }}\n          commit-message: \"Chore: Update dependencies and pdm.lock [skip ci]\"\n          pr-title: \"Update Python module dependencies\"\n          update-strategy: eager\n          # Whether to install PDM plugins before update\n          install-plugins: \"false\"\n\n      - name: \"Export dependencies\"\n        run: |\n          pdm export --without-hashes -o requirements.txt\n\n      # Ideally, we should export requirements.txt then amend the earlier PR\n      # update-deps-action could be modified to export PR number as as output\n      # Or we add the option to export the requirements.txt in that action\n", "state": "active", "repository": "os-climate/ITR"}
{"mined_at": "2024-07-15T18:48:37.507761", "created_at": "2023-11-22T16:02:05+01:00", "updated_at": "2023-12-13T11:13:30+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "os-climate/ITR"}
{"mined_at": "2024-07-15T18:48:38.500301", "created_at": "2023-11-22T16:47:31+01:00", "updated_at": "2023-11-22T16:47:31+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "os-climate/ITR"}
{"mined_at": "2024-07-15T18:48:39.552868", "created_at": "2023-12-13T10:57:34+01:00", "updated_at": "2023-12-13T13:18:45+01:00", "name": "♻️ Update shared DevOps tooling", "path": ".github/workflows/bootstrap.yaml", "contents": "---\nname: \"♻️ Update shared DevOps tooling\"\n\n# yamllint disable-line rule:truthy\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 8 * * MON\"\n\njobs:\n  update-actions:\n    name: \"Update DevOps tooling\"\n    runs-on: ubuntu-latest\n    permissions:\n      # IMPORTANT: mandatory to create or update content/actions/pr\n      contents: write\n      actions: write\n      pull-requests: write\n\n    steps:\n      - name: \"Checkout primary repository\"\n        uses: actions/checkout@v4\n\n      - name: \"Pull devops content from repository\"\n        uses: actions/checkout@v4\n        with:\n          repository: \"os-climate/devops-toolkit\"\n          path: \".devops\"\n\n      - name: \"Update repository workflows and create PR\"\n        id: update-repository\n        env:\n          GH_TOKEN: ${{ github.token }}\n        # yamllint disable rule:line-length\n        run: |\n          #SHELLCODESTART\n\n          set -euo pipefail\n          # set -x\n\n          # Define variables\n\n          DEVOPS_DIR=\".devops\"\n          AUTOMATION_BRANCH=\"update-devops-tooling\"\n          REPO_DIR=$(git rev-parse --show-toplevel)\n          GIT_ORIGIN=$(git config --get remote.origin.url)\n          REPO_NAME=$(basename -s .git \"$GIT_ORIGIN\")\n          EXCLUDE_FILE=\".devops-exclusions\"\n          DEVOPS_REPO='git@github.com:os-climate/devops-toolkit.git'\n          HEAD_BRANCH=$(git rev-parse --abbrev-ref HEAD)\n\n          # Content folder defines the files and folders to update\n          FILES=\"$DEVOPS_DIR/content/files.txt\"\n          FOLDERS=\"$DEVOPS_DIR/content/folders.txt\"\n\n          # Define functions\n\n          perform_folder_operation() {\n            FS_PATH=\"$1\"\n            if [ -d \"$DEVOPS_DIR\"/\"$FS_PATH\" ]; then\n              echo \"Scanning target folder content at: $FS_PATH\"\n              return 0\n            else\n              echo \"Upstream folder NOT found: $FS_PATH [skipping]\"\n              return 1\n            fi\n          }\n\n          # Allows for selective opt-out components on a per-path basis\n          perform_operation() {\n            FS_PATH=\"$1\"\n            if [ ! -f \"$DEVOPS_DIR\"/\"$FS_PATH\" ]; then\n              echo \"Skipping missing upstream file at: $FS_PATH\"\n              return 1\n            fi\n            # Elements excluded from processing return exit status 1\n            if [ ! -f \"$EXCLUDE_FILE\" ]; then\n              return 0\n            elif [ \"$FS_PATH\" = \"$EXCLUDE_FILE\" ]; then\n              # The exclusion file itself is never updated by automation\n              return 1\n            elif (grep -Fxq \"$FS_PATH\" \"$EXCLUDE_FILE\" > /dev/null); then\n              # Element listed; exclude from processing\n              return 1\n            else\n              # Element not found in exclusion file; process it\n              return 0\n            fi\n          }\n\n          # Only updates file if it has changed\n          selective_file_copy() {\n            # Receives a single file path as argument\n            # SHA_SRC=$(sha1sum \"$DEVOPS_DIR/$1\" | awk '{print $1}')\n            # SHA_DST=$(sha1sum \"$1\" 2>/dev/null | awk '{print $1}' || :)\n            # if [ \"$SHA_SRC\" != \"$SHA_DST\" ]; then\n            if ! (cmp \"$DEVOPS_DIR/$1\" \"$1\"); then\n              echo \"Copying: $1\"\n              cp \"$DEVOPS_DIR/$1\" \"$1\"\n              git add \"$1\"\n            fi\n          }\n\n          check_pr_for_author() {\n            AUTHOR=\"$1\"\n            printf \"Checking for pull requests by: %s\" \"$AUTHOR\"\n            # Capture the existing PR number\n            PR_NUM=$(gh pr list --state open -L 1 \\\n              --author \"$AUTHOR\" --json number | \\\n              grep \"number\" | sed \"s/:/ /g\" | awk '{print $2}' | \\\n              sed \"s/}//g\" | sed \"s/]//g\")\n            if [ -z \"$PR_NUM\" ]; then\n              echo \" [none]\"\n              return 1\n            else\n              echo \" [$PR_NUM]\"\n              echo \"Running: gh pr checkout $PR_NUM\"\n              if (gh pr checkout \"$PR_NUM\"); then\n                return 0\n              else\n                echo \"Failed to checkout GitHub pull request\"\n                echo \"Check errors/output for the cause\"\n                return 2\n              fi\n            fi\n          }\n\n          check_prs() {\n            # Define users to check for pre-existing pull requests\n            AUTOMATION_USER=\"github-actions[bot]\"\n            if [[ -n ${GH_TOKEN+x} ]]; then\n              GITHUB_USERS=\"$AUTOMATION_USER\"\n            else\n              GITHUB_USERS=$(gh api user | jq -r '.login')\n              # Check local user account first, if enumerated\n              GITHUB_USERS+=\" $AUTOMATION_USER\"\n            fi\n\n            # Check for existing pull requests opened by this automation\n            for USER in $GITHUB_USERS; do\n              if (check_pr_for_author \"$USER\"); then\n                return 0\n              else\n                STATUS=\"$?\"\n              fi\n              if [ \"$STATUS\" -eq 1 ]; then\n                continue\n              elif [ \"$STATUS\" -eq 2 ]; then\n                echo \"Failed to checkout pull request\"; exit 1\n              fi\n            done\n            return 1\n          }\n\n          # Check if script is running in GHA workflow\n          in_github() {\n            if [ -z ${GITHUB_RUN_ID+x} ]; then\n              echo \"Script is NOT running in GitHub\"\n              return 1\n            else\n              echo \"Script is running in GitHub\"\n              return 0\n            fi\n          }\n\n          # Check if user is logged into GitHub\n          logged_in_github() {\n            if (gh auth status); then\n              echo \"Logged in and authenticated to GitHb\"\n              return 0\n            else\n              echo \"Not logged into GitHub, some script operations unavailable\"\n              return 1\n            fi\n          }\n\n          # Main script entry point\n\n          echo \"Repository name and HEAD branch: $REPO_NAME [$HEAD_BRANCH]\"\n\n          # Ensure working from top-level of GIT repository\n          CURRENT_DIR=$(pwd)\n          if [ \"$REPO_DIR\" != \"$CURRENT_DIR\" ]; then\n              echo \"Changing directory to: $REPO_DIR\"\n              if ! (cd \"$REPO_DIR\"); then\n                  echo \"Error: unable to change directory\"; exit 1\n              fi\n          fi\n\n          # Stashing only used during development/testing\n          # Check if there are unstaged changes\n          # if ! (git diff --exit-code --quiet); then\n          #   echo \"Stashing unstaged changes in current repository\"\n          #   git stash -q\n          # fi\n\n          # Configure GIT environment only if NOT already configured\n          # i.e. when running in a GitHub Actions workflow\n          TEST=$(git config -l > /dev/null 2>&1)\n          if [ -n \"$TEST\" ]; then\n            git config user.name \"github-actions[bot]\"\n            git config user.email \\\n              \"41898282+github-actions[bot]@users.noreply.github.com\"\n          fi\n\n\n          if ! (check_prs); then\n            # No existing open pull requests found for this repository\n\n            # Remove remote branch if it exists\n            git push origin --delete \"$AUTOMATION_BRANCH\" > /dev/null 2>&1 || :\n            git branch -D \"$AUTOMATION_BRANCH\" || :\n            git checkout -b \"$AUTOMATION_BRANCH\"\n          else\n            # The -B flag swaps branch and creates it if NOT present\n            git checkout -B \"$AUTOMATION_BRANCH\"\n          fi\n\n          # Only if NOT running in GitHub\n          # (checkout is otherwise performed by earlier steps)\n          if ! (in_github); then\n            # Remove any stale local copy of the upstream repository\n            if [ -d \"$DEVOPS_DIR\" ]; then\n              rm -Rf \"$DEVOPS_DIR\"\n            fi\n            printf \"Cloning DevOps repository into: %s\" \"$DEVOPS_DIR\"\n            if (git clone \"$DEVOPS_REPO\" \"$DEVOPS_DIR\" > /dev/null 2>&1); then\n                echo \" [success]\"\n            else\n                echo \" [failed]\"; exit 1\n            fi\n          fi\n\n          # Process upstream DevOps repository content and update\n\n          LOCATIONS=\"\"\n          # Populate list of files to be updated/sourced\n          while read -ra LINE;\n          do\n            for FILE in \"${LINE[@]}\";\n            do\n              LOCATIONS+=\"$FILE \"\n            done\n          done < \"$FILES\"\n\n          # Gather files from specified folders and append to locations list\n          while read -ra LINE;\n          do\n            for FOLDER in \"${LINE[@]}\";\n            do\n              # Check to see if this folder should be skipped\n              if (perform_folder_operation \"$FOLDER\"); then\n                # If necessary, create target folder\n                if [ ! -d \"$FOLDER\" ]; then\n                  echo \"Creating target folder: $FOLDER\"\n                  mkdir \"$FOLDER\"\n                fi\n                # Add folder contents to list of file LOCATIONS\n                FILES=$(cd \"$DEVOPS_DIR/$FOLDER\"; find . -maxdepth 1 -type f -exec basename {} \\;)\n                for LOCATION in $FILES; do\n                  # Also check if individual files in the folder are excluded\n                  if (perform_operation \"$FOLDER/$LOCATION\"); then\n                    LOCATIONS+=\" $FOLDER/$LOCATION\"\n                  fi\n                done\n              else\n                echo \"Opted out of folder: $FOLDER\"\n                continue\n              fi\n            done;\n          done < \"$FOLDERS\"\n\n          # Copy specified files into repository root\n          for LOCATION in ${LOCATIONS}; do\n            if (perform_operation \"$LOCATION\"); then\n              selective_file_copy \"$LOCATION\"\n            else\n              echo \"Not updating: $LOCATION\"\n            fi\n          done\n\n          # If no changes required, do not throw an error\n          if [ -z \"$(git status --porcelain)\" ]; then\n            echo \"No updates/changes to commit\"; exit 0\n          fi\n\n          # Temporarily disable exit on unbound variable\n          set +eu +o pipefail\n\n          # Next step is only performed if running as GitHub Action\n          if [[ -n ${GH_TOKEN+x} ]]; then\n            # Script is running in a GitHub actions workflow\n            # Set outputs for use by the next actions/steps\n            # shellcheck disable=SC2129\n            echo \"changed=true\" >> \"$GITHUB_OUTPUT\"\n            echo \"branchname=$AUTOMATION_BRANCH\" >> \"$GITHUB_OUTPUT\"\n            echo \"headbranch=$HEAD_BRANCH\" >> \"$GITHUB_OUTPUT\"\n            # Move to the next workflow step to raise the PR\n            git push --set-upstream origin \"$AUTOMATION_BRANCH\"\n            exit 0\n          fi\n\n          # If running shell code locally, continue to raise the PR\n\n          # Reinstate exit on unbound variables\n          set -euo pipefail\n\n          git status\n          if ! (git commit -as -S -m \"Chore: Update DevOps tooling from central repository [skip ci]\" \\\n            -m \"This commit created by automation/scripting\" --no-verify); then\n            echo \"Commit failed; aborting\"; exit 1\n          else\n            # Push branch to remote repository\n            git push --set-upstream origin \"$AUTOMATION_BRANCH\"\n            # Create PR request\n            gh pr create \\\n             --title \"Chore: Pull DevOps tooling from upstream repository\" \\\n            --body 'Automated by a GitHub workflow: bootstrap.yaml'\n          fi\n          # echo \"Unstashing unstaged changes, if any exist\"\n          # git stash pop -q || :\n          #SHELLCODEEND\n\n      - name: Create Pull Request\n        if: steps.update-repository.outputs.changed == 'true'\n        uses: peter-evans/create-pull-request@v6\n        # env:\n        #   GITHUB_TOKEN: ${{ github.token }}\n        with:\n          # Note: Requires a specific/defined Personal Access Token\n          token: ${{ secrets.ACTIONS_WORKFLOW }}\n          commit-message: \"Chore: Update DevOps tooling from central repository [skip ci]\"\n          signoff: \"true\"\n          base: ${{ steps.update-repository.outputs.headbranch }}\n          branch: ${{ steps.update-repository.outputs.branchname }}\n          delete-branch: true\n          title: \"Chore: Update DevOps tooling from central repository [skip ci]\"\n          body: |\n            Update repository with content from upstream: os-climate/devops-toolkit\n          labels: |\n            automated pr\n          draft: false\n", "state": "active", "repository": "os-climate/ITR"}
{"mined_at": "2024-07-15T18:48:40.703270", "created_at": "2024-05-29T12:33:28+02:00", "updated_at": "2024-05-29T12:39:18+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\", \"gh-pages\", \"master\" ]\n  pull_request:\n    branches: [ \"main\", \"gh-pages\", \"master\" ]\n  schedule:\n    - cron: '26 1 * * 2'\n\njobs:\n  analyze:\n    name: Analyze (${{ matrix.language }})\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners (GitHub.com only)\n    # Consider using larger runners or machines with greater resources for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # required to fetch internal or private CodeQL packs\n      packages: read\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - language: javascript-typescript\n          build-mode: none\n        - language: python\n          build-mode: none\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        build-mode: ${{ matrix.build-mode }}\n\n    # If the analyze step fails for one of the languages you are analyzing with\n    # \"We were unable to automatically build your code\", modify the matrix above\n    # to set the build mode to \"manual\" for that language. Then modify this step\n    # to build your code.\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n    - if: matrix.build-mode == 'manual'\n      shell: bash\n      run: |\n        echo 'If you are using a \"manual\" build mode for one or more of the' \\\n          'languages you are analyzing, replace this with the commands to build' \\\n          'your code, for example:'\n        echo '  make bootstrap'\n        echo '  make release'\n        exit 1\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "os-climate/ITR"}
{"mined_at": "2024-07-15T18:48:41.826169", "created_at": "2024-07-15T09:22:51+02:00", "updated_at": "2024-07-15T09:22:51+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "os-climate/ITR"}
{"mined_at": "2024-07-15T18:48:44.080860", "created_at": "2019-12-31T09:25:28+01:00", "updated_at": "2019-12-31T09:25:28+01:00", "name": "semantic_release", "path": ".github/workflows/semantic_release.yml", "contents": "name: semantic_release\n\non:\n  push:\n    branches:\n      - master\n  workflow_dispatch:\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n          ref: master\n          token: ${{ secrets.GH_TOKEN }}\n      - name: Download lokalise translations\n        run: |\n          docker run -v /tmp/lokalise:/opt/dest lokalise/lokalise-cli-2 lokalise2 \\\n          --token \"${{ secrets.lokalise_token }}\" \\\n          --project-id 465185555eee18dd537ca6.39714580 file download \\\n          --format json \\\n          --unzip-to /opt/dest \\\n          --original-filenames=false \\\n          --export-sort a_z \\\n          --placeholder-format icu \\\n          --json-unescaped-slashes=true \\\n          --indentation 2sp \\\n          --export-empty-as base \\\n          --add-newline-eof \\\n          --replace-breaks=false\n      - name: Move new translations\n        run: |\n          cp /tmp/lokalise/locale/* /home/runner/work/alexa_media_player/alexa_media_player/custom_components/alexa_media/translations/\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.8\n      # #----------------------------------------------\n      # #  -----  install & configure poetry  -----\n      # #----------------------------------------------\n      # - name: Install Poetry\n      #   uses: snok/install-poetry@v1\n      #   with:\n      #     virtualenvs-create: true\n      #     virtualenvs-in-project: true\n      #     installer-parallel: true\n      # #----------------------------------------------\n      # #       load cached venv if cache exists\n      # #----------------------------------------------\n      # - name: Load cached venv\n      #   id: cached-poetry-dependencies\n      #   uses: actions/cache@v2\n      #   with:\n      #     path: .venv\n      #     key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n      # #----------------------------------------------\n      # # install dependencies if cache does not exist\n      # #----------------------------------------------\n      # - name: Install dependencies\n      #   if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n      #   run: poetry install --no-interaction --no-root\n      # #----------------------------------------------\n      # # install your root project, if required\n      # #----------------------------------------------\n      # - name: Install library\n      #   run: poetry install --no-interaction\n      - name: Setup Git\n        run: |\n          git config --global user.name \"semantic-release\"\n          git config --global user.email \"semantic-release@GitHub\"\n      - name: Commit translation files\n        continue-on-error: true\n        run: |\n          git add custom_components/alexa_media/translations/*.json\n          git commit -m \"docs: update localization\" -a\n      - name: Python Semantic Release\n        uses: relekang/python-semantic-release@v7.34.6\n        with:\n          github_token: ${{ secrets.GH_TOKEN }}\n      # Pack the alexa_media_player dir as a zip and upload to the release\n      - name: Zip alexa_media dir\n        run: |\n          cd /home/runner/work/alexa_media_player/alexa_media_player/custom_components/alexa_media\n          zip alexa_media.zip -r ./\n      - name: Set release variable\n        run: |\n          echo \"release_version=`git describe --abbrev=0`\" >> $GITHUB_ENV\n      - name: Sleep\n        # add delay so upload does not kill the release notes from semantic-release\n        run: |\n          sleep 5\n      - name: Upload zip to release\n        uses: svenstaro/upload-release-action@v1-release\n        with:\n          repo_token: ${{ secrets.GH_TOKEN }}\n          file: /home/runner/work/alexa_media_player/alexa_media_player/custom_components/alexa_media/alexa_media.zip\n          asset_name: alexa_media.zip\n          tag: ${{ env.release_version }}\n          overwrite: true\n      - name: Push changes to dev\n        uses: ad-m/github-push-action@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          branch: dev\n", "state": "active", "repository": "alandtse/alexa_media_player"}
{"mined_at": "2024-07-15T18:48:45.190480", "created_at": "2020-01-10T13:39:15+01:00", "updated_at": "2020-01-10T13:39:15+01:00", "name": "semantic_release", "path": "", "contents": null, "state": "active", "repository": "alandtse/alexa_media_player"}
{"mined_at": "2024-07-15T18:48:46.212096", "created_at": "2020-09-26T02:46:22+02:00", "updated_at": "2020-11-27T04:50:15+01:00", "name": "Validate", "path": ".github/workflows/validate.yaml", "contents": "name: \"Validate\"\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * *\"\njobs:\n  ci:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        name: Download repo\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@v2\n        name: Setup Python\n        with:\n          python-version: \"3.8.x\"\n      - uses: actions/cache@v2\n        name: Cache\n        with:\n          path: |\n            ~/.cache/pip\n          key: custom-component-ci\n      - name: HACS Action\n        uses: hacs/action@main\n        with:\n          CATEGORY: integration\n          # ignore: requirements\n      - name: hassfest\n        uses: home-assistant/actions/hassfest@master\n", "state": "active", "repository": "alandtse/alexa_media_player"}
{"mined_at": "2024-07-15T18:48:47.253318", "created_at": "2020-10-17T11:20:14+02:00", "updated_at": "2020-10-17T11:20:14+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "---\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n      - uses: actions/stale@v8\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          exempt-issue-labels: \"help-wanted\"\n          exempt-pr-labels: \"help-wanted\"\n          stale-issue-message: \"The issue has received no activity for 60 days and will be closed in a week.\"\n          stale-pr-message: \"The PR has received no activity for 60 days and will be closed in a week.\"\n          stale-issue-label: \"no-issue-activity\"\n          stale-pr-label: \"no-pr-activity\"\n      - uses: actions/stale@v8\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          days-before-stale: 21\n          days-before-close: -1\n          only-labels: \"feature\"\n          stale-issue-message: >-\n            This feature request has been labelled as *help wanted* since\n            there has been no activity in the last 3 weeks. It will not be\n            closed automatically.\n          stale-issue-label: \"help wanted\"\n      - uses: actions/stale@v8\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          days-before-stale: 21\n          days-before-close: -1\n          only-labels: \"bug\"\n          stale-issue-message: >-\n            This bug report has been labelled as *help wanted* since\n            there has been no activity in the last 3 weeks. It will not be\n            closed automatically.\n          stale-issue-label: \"help wanted\"\n", "state": "active", "repository": "alandtse/alexa_media_player"}
{"mined_at": "2024-07-15T18:48:48.482470", "created_at": "2023-05-13T00:19:54+02:00", "updated_at": "2023-05-13T00:23:15+02:00", "name": "Autocloser", "path": ".github/workflows/autocloser.yaml", "contents": "# https://github.com/roots/issue-closer-action\nname: Autocloser\non:\n  issues:\n    types:\n      # If you want the duplicate URL checker and/or the auto-closer\n      - opened\n      # If you want the auto-closer to run\n      - edited\n      - reopened\n  issue_comment:\n    types:\n      - created\njobs:\n  autoclose:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Autoclose issues that did not follow issue template\n        uses: roots/issue-closer@v1.1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          issue-close-message: \"@${issue.user.login} this issue was automatically closed because it did not follow the [issue template](https://github.com/alandtse/alexa_media_player/issues/new/choose) and this warning: **IMPORTANT: Please search the issues, including closed issues, and the [FAQ](https://github.com/alandtse/alexa_media_player/wiki/FAQ) before opening a new issue. The template is mandatory; failure to use it will result in issue closure.**\"\n          issue-pattern: \".*(Please search the issues, including closed issues,|Describe the bug|Home-assistant \\\\(version\\\\)|For a feature to be created it has to be doable in the Amazon app because we are basically replicating the app for HA|Is your feature request related to a problem)\"\n", "state": "active", "repository": "alandtse/alexa_media_player"}
{"mined_at": "2024-07-15T18:48:49.494500", "created_at": "2023-11-29T06:15:34+01:00", "updated_at": "2023-11-29T06:15:34+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "alandtse/alexa_media_player"}
{"mined_at": "2024-07-15T18:48:50.635852", "created_at": "2023-05-12T23:42:22+02:00", "updated_at": "2023-06-01T07:55:08+02:00", "name": "Moderate issues", "path": ".github/workflows/moderate.yaml", "contents": "# https://github.com/tachiyomiorg/issue-moderator-action\nname: Moderate issues\non:\n  issues:\n    types:\n      # If you want the duplicate URL checker and/or the auto-closer\n      - opened\n      # If you want the auto-closer to run\n      - edited\n      - reopened\n  issue_comment:\n    types:\n      - created\njobs:\n  moderate:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Moderate issues\n        uses: tachiyomiorg/issue-moderator-action@v2\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          duplicate-label: Duplicate\n          auto-close-rules: |\n            [\n              {\n              \"type\": \"body\",\n              \"regex\": \".*(Please search the issues, including closed issues,|Describe the bug|Home-assistant \\\\(version\\\\)|For a feature to be created it has to be doable in the Amazon app because we are basically replicating the app for HA|Is your feature request related to a problem)\",\n              \"message\": \"@${issue.user.login} this issue was automatically closed because it did not follow the [issue template](https://github.com/alandtse/alexa_media_player/issues/new/choose) and this warning: **IMPORTANT: Please search the issues, including closed issues, and the [FAQ](https://github.com/alandtse/alexa_media_player/wiki/FAQ) before opening a new issue. The template is mandatory; failure to use it will result in issue closure.**\",\n              \"ignoreCase\": true,\n              \"closeIfMatch\": false\n              }\n            ]\n", "state": "disabled_manually", "repository": "alandtse/alexa_media_player"}
{"mined_at": "2024-07-15T18:48:52.708050", "created_at": "2023-09-28T21:54:16+02:00", "updated_at": "2023-09-28T22:29:21+02:00", "name": "CI Docs", "path": ".github/workflows/ci-docs.yaml", "contents": "on:\n  push:\n    branches:\n      - main\n      - 'docs-preview-**'\n  pull_request:\n    branches:\n      - main\n\nname: CI Docs\n\njobs:\n  build-docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - name: Install dependencies\n        run: |\n          python -m pip install \".[all]\"\n      - uses: quarto-dev/quarto-actions/setup@v2\n      - name: Build docs\n        run: |\n          make docs-build\n      # push to netlify -------------------------------------------------------\n      # set release name ----\n\n      - name: Configure pull release name\n        if: ${{github.event_name == 'pull_request'}}\n        run: |\n          echo \"RELEASE_NAME=pr-${PR_NUMBER}\" >> $GITHUB_ENV\n        env:\n          PR_NUMBER: ${{ github.event.number }}\n      - name: Configure branch release name\n        if: ${{github.event_name != 'pull_request'}}\n        run: |\n          # use branch name, but replace slashes. E.g. feat/a -> feat-a\n          echo \"RELEASE_NAME=${GITHUB_REF_NAME/\\//-}\" >> $GITHUB_ENV\n      # deploy ----\n      - name: Create Github Deployment\n        uses: bobheadxi/deployments@v1\n        id: deployment\n        if: ${{ !github.event.pull_request.head.repo.fork }}\n        with:\n          step: start\n          token: ${{ secrets.GITHUB_TOKEN }}\n          env: ${{ env.RELEASE_NAME }}\n          ref: ${{ github.head_ref }}\n          transient: true\n          logs: \"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"\n\n      - name: Netlify docs preview\n        if: ${{ !github.event.pull_request.head.repo.fork }}\n        run: |\n          npm install -g netlify-cli\n          # push main branch to production, others to preview --\n          netlify link --name=\"gt-python\"\n          if [ \"${ALIAS}\" == \"main\" ]; then\n            netlify deploy --dir=docs/_site --alias=\"main\"\n          else\n            netlify deploy --dir=docs/_site --alias=\"${ALIAS}\"\n          fi\n        env:\n          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}\n          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}\n          ALIAS: ${{ steps.deployment.outputs.env }}\n\n      - name: Update Github Deployment\n        uses: bobheadxi/deployments@v1\n        if: ${{ !github.event.pull_request.head.repo.fork && always() }}\n        with:\n          step: finish\n          token: ${{ secrets.GITHUB_TOKEN }}\n          status: ${{ job.status }}\n          env: ${{ steps.deployment.outputs.env }}\n          env_url: \"https://${{ steps.deployment.outputs.env }}--gt-python.netlify.app\"\n          deployment_id: ${{ steps.deployment.outputs.deployment_id }}\n\n      - uses: peaceiris/actions-gh-pages@v3\n        if: github.ref == 'refs/heads/main'\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: docs/_site\n", "state": "active", "repository": "posit-dev/great-tables"}
{"mined_at": "2024-07-15T18:48:53.751413", "created_at": "2022-06-07T06:47:23+02:00", "updated_at": "2022-06-07T06:47:23+02:00", "name": "CI Tests", "path": ".github/workflows/ci-tests.yaml", "contents": "on:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  release:\n    types: [published]\n\nname: CI Tests\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          # we are using the -e flag, so that code cov finds the source.\n          # this is not ideal, since installing an editable can technically\n          # differ from a normal install in surprising ways.\n          pip install -e '.[all]'\n      - name: pytest unit tests\n        run: |\n          make test\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          name: \"py${{ matrix.python-version }}\"\n          token: ${{ secrets.CODECOV_TOKEN }}\n\n  test-windows:\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          pip install -e '.[all]'\n      - name: pytest unit tests\n        run: |\n          make test\n\n  test-pandas:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          pip install -e '.[dev-no-pandas]'\n      - name: pytest unit tests\n        run: |\n          make test-no-pandas\n\n  browser-save-image-test:\n    name: \"Test for saving table image with browser\"\n    runs-on: ubuntu-latest\n    steps:\n      # browsers\n      - uses: browser-actions/setup-firefox@v1\n      - run: firefox --version\n      - uses: browser-actions/setup-chrome@v1\n      - run: chrome --version\n      - uses: browser-actions/setup-edge@v1\n\n      #\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n      - name: Install dependencies\n        run: |\n          pip install -e '.[extra]'\n          pip install pandas\n      - name: save browser tables\n        run: |\n            make save-browser-table-ci\n      - uses: actions/upload-artifact@v4\n        with:\n          name: browser-save-image\n          path: _browser-tests.html\n          if-no-files-found: error\n\n  release-pypi:\n    name: \"Release to pypi\"\n    runs-on: ubuntu-latest\n    needs: [build, test-pandas]\n    if: github.event_name == 'release'\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: \"3.10\"\n      - name: \"Build Package\"\n        run: |\n          python -m pip install build wheel\n          python -m build --sdist --wheel\n      - name: \"Deploy to PyPI\"\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "posit-dev/great-tables"}
{"mined_at": "2024-07-15T18:48:54.817904", "created_at": "2023-12-11T21:49:27+01:00", "updated_at": "2023-12-12T03:25:24+01:00", "name": "Code Checks", "path": ".github/workflows/code-checks.yaml", "contents": "name: Code Checks\n\non:\n  workflow_dispatch:\n  push:\n    branches: ['main', 'dev-*']\n  pull_request:\n  release:\n    types: [published]\n\njobs:\n  pre-commit:\n    name: \"Run pre-commit\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - uses: pre-commit/action@v3.0.1\n\n  optional-deps:\n    name: \"Static check optional deps\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n      - run: |\n          python .github/scripts/no_pandas.py great_tables _tbl_data.py data/__init__.py\n", "state": "active", "repository": "posit-dev/great-tables"}
{"mined_at": "2024-07-15T18:48:55.957483", "created_at": "2024-03-06T18:36:21+01:00", "updated_at": "2024-03-06T18:36:21+01:00", "name": "test-coverage", "path": ".github/workflows/code-coverage.yaml", "contents": null, "state": "active", "repository": "posit-dev/great-tables"}
{"mined_at": "2024-07-15T18:48:57.129321", "created_at": "2023-10-27T21:09:18+02:00", "updated_at": "2023-10-27T21:09:18+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "posit-dev/great-tables"}
{"mined_at": "2024-07-15T18:48:59.130767", "created_at": "2020-05-19T15:09:14+02:00", "updated_at": "2020-05-19T15:09:14+02:00", "name": ".github/workflows/automerge.yml", "path": ".github/workflows/automerge.yml", "contents": "on:\n  status: {}\n  check_suite:\n    types:\n      - completed\n\njobs:\n  automerge-action:\n    runs-on: ubuntu-latest\n    name: automerge\n    steps:\n      - name: automerge-action\n        id: automerge-action\n        uses: conda-forge/automerge-action@main\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }}\n", "state": "active", "repository": "conda-forge/conda-forge-repodata-patches-feedstock"}
{"mined_at": "2024-07-15T18:49:00.132126", "created_at": "2023-07-12T17:15:50+02:00", "updated_at": "2023-07-12T17:15:50+02:00", "name": "Codespell", "path": ".github/workflows/codespell.yml", "contents": null, "state": "active", "repository": "conda-forge/conda-forge-repodata-patches-feedstock"}
{"mined_at": "2024-07-15T18:49:01.149116", "created_at": "2020-03-15T11:50:33+01:00", "updated_at": "2020-03-15T11:50:33+01:00", "name": ".github/workflows/webservices.yml", "path": ".github/workflows/webservices.yml", "contents": "on: repository_dispatch\n\njobs:\n  webservices:\n    runs-on: ubuntu-latest\n    name: webservices\n    steps:\n      - name: webservices\n        id: webservices\n        uses: conda-forge/webservices-dispatch-action@main\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }}\n", "state": "active", "repository": "conda-forge/conda-forge-repodata-patches-feedstock"}
{"mined_at": "2024-07-15T18:49:03.432831", "created_at": "2024-06-08T15:11:42+02:00", "updated_at": "2024-06-08T15:11:42+02:00", "name": "label_issue", "path": ".github/workflows/label_issue.yml", "contents": "name: label_issue\n\non:\n  issues:\n    types:\n      - opened\n\njobs:\n  label_issue:\n    runs-on: ubuntu-latest\n\n    steps:\n      - env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          ISSUE_URL: ${{ github.event.issue.html_url }}\n        run: |\n          gh issue edit $ISSUE_URL --add-label \"pending\"\n", "state": "active", "repository": "hiyouga/LLaMA-Factory"}
{"mined_at": "2024-07-15T18:49:04.559307", "created_at": "2024-06-19T14:42:35+02:00", "updated_at": "2024-06-19T14:42:35+02:00", "name": "publish", "path": ".github/workflows/publish.yml", "contents": "name: publish\n\non:\n  release:\n    types:\n      - published\n\njobs:\n  publish:\n    name: Upload release to PyPI\n\n    runs-on: ubuntu-latest\n\n    environment:\n      name: release\n      url: https://pypi.org/p/llamafactory\n\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n      \n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install build\n      \n      - name: Build package\n        run: |\n          python -m build\n      \n      - name: Publish package\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "hiyouga/LLaMA-Factory"}
{"mined_at": "2024-07-15T18:49:05.549038", "created_at": "2024-01-22T16:13:05+01:00", "updated_at": "2024-01-22T16:13:05+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"**.py\"\n      - \"requirements.txt\"\n      - \".github/workflows/*.yml\"\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"**.py\"\n      - \"requirements.txt\"\n      - \".github/workflows/*.yml\"\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.8\"\n          cache: \"pip\"\n          cache-dependency-path: \"setup.py\"\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install .[torch,dev]\n\n      - name: Check quality\n        run: |\n          make style && make quality\n\n      - name: Test with pytest\n        run: |\n          make test\n", "state": "active", "repository": "hiyouga/LLaMA-Factory"}
{"mined_at": "2024-07-15T18:49:07.769697", "created_at": "2023-06-18T14:09:33+02:00", "updated_at": "2023-06-19T21:31:05+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yaml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n\n      - uses: pre-commit/action@v3.0.0\n        with:\n          extra_args: --all-files\n", "state": "active", "repository": "gpt-engineer-org/gpt-engineer"}
{"mined_at": "2024-07-15T18:49:08.860185", "created_at": "2023-06-18T14:32:37+02:00", "updated_at": "2024-01-05T11:54:44+01:00", "name": "Tox pytest all python versions", "path": ".github/workflows/ci.yaml", "contents": "name: Tox pytest all python versions\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - gpt_engineer/**\n      - tests/**\n  pull_request:\n    branches: [ main ]\n\nconcurrency:\n  group: ${{github.workflow}} - ${{github.ref}}\n  cancel-in-progress: true\n\njobs:\n  test:\n    permissions: {}\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.10', '3.11', '3.12']\n\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip' #Note that pip is for the tox level. Poetry is still used for installing the specific environments (tox.ini)\n\n    - name: Install tox\n      run: pip install tox==4.15.0\n\n    - name: Run tox\n      env:\n        OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n      run: tox\n\n    - name: Report coverage\n      run: |\n        bash <(curl -s https://codecov.io/bash)\n", "state": "active", "repository": "gpt-engineer-org/gpt-engineer"}
{"mined_at": "2024-07-15T18:49:09.986853", "created_at": "2023-06-18T15:36:58+02:00", "updated_at": "2023-06-18T15:36:58+02:00", "name": "Build and publish Python packages to PyPI", "path": ".github/workflows/release.yaml", "contents": "name: Build and publish Python packages to PyPI\n\non:\n  workflow_dispatch:\n  release:\n    types:\n      - published\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.10\"\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          # Removed the cache line that was here\n\n      # Install Poetry\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 -\n\n      # Add Poetry to PATH\n      - name: Add Poetry to PATH\n        run: echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n\n      # Cache Poetry's dependencies based on the lock file\n      - name: Set up Poetry cache\n        uses: actions/cache@v3\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-poetry-\n\n      # Install dependencies using Poetry (if any)\n      - name: Install dependencies\n        run: poetry install\n\n      # Build package using Poetry\n      - name: Build package\n        run: poetry build --format sdist\n\n      # Upload package as build artifact\n      - uses: actions/upload-artifact@v3\n        with:\n          name: package\n          path: dist/\n\n  publish:\n    runs-on: ubuntu-latest\n    needs: build\n    environment:\n      name: pypi\n      url: https://pypi.org/p/gpt-engineer\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: package\n          path: dist/\n\n      - name: Publish packages to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "gpt-engineer-org/gpt-engineer"}
{"mined_at": "2024-07-15T18:49:11.105365", "created_at": "2023-08-16T21:29:39+02:00", "updated_at": "2023-08-19T08:41:35+02:00", "name": "Automation Workflow", "path": ".github/workflows/automation.yml", "contents": "name: Automation Workflow\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n  issues:\n    types: [opened, edited, reopened]\n  pull_request:\n    types: [opened, edited, reopened]\n\njobs:\n  mark-stale-issues:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Mark stale issues\n        uses: actions/stale@v4\n        with:\n          stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.'\n          days-before-stale: 60\n\n  # Add additional jobs as needed\n  # job-name:\n  #   runs-on: ubuntu-latest\n  #   steps:\n  #     - name: Job step name\n  #       uses: action-name@version\n  #       with:\n  #         parameter1: value1\n  #\n", "state": "active", "repository": "gpt-engineer-org/gpt-engineer"}
{"mined_at": "2024-07-15T18:49:12.218583", "created_at": "2023-08-16T23:19:01+02:00", "updated_at": "2023-08-16T23:19:01+02:00", "name": ".github/workflows/stale.yml", "path": ".github/workflows/stale.yml", "contents": null, "state": "active", "repository": "gpt-engineer-org/gpt-engineer"}
{"mined_at": "2024-07-15T18:49:13.356889", "created_at": "2023-11-06T10:53:35+01:00", "updated_at": "2023-11-06T10:53:35+01:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": null, "state": "active", "repository": "gpt-engineer-org/gpt-engineer"}
{"mined_at": "2024-07-15T18:49:14.351847", "created_at": "2024-07-07T18:59:59+02:00", "updated_at": "2024-07-07T18:59:59+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "gpt-engineer-org/gpt-engineer"}
{"mined_at": "2024-07-15T18:49:16.427059", "created_at": "2023-10-29T11:40:24+01:00", "updated_at": "2023-12-20T15:20:20+01:00", "name": "Run linters and tests", "path": ".github/workflows/PR.yml", "contents": "name: Run linters and tests\n\non:\n  - pull_request\n  - merge_group\n\n# Cancel previous runs on the same branch \\ PR number if they are still running\n# From: https://stackoverflow.com/a/72408109\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\n\njobs:\n  run-linters:\n    name: Run linters\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.9, '3.10', 3.11]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      uses: ./.github/actions/install-deps-and-canopy\n      with:\n        python-version: ${{ matrix.python-version }}\n        install-canopy: false\n    - name: Run flake8 Check\n      run: poetry run flake8 .\n    - name: Run mypy check\n      run: poetry run mypy src\n\n  run-tests:\n    name: Run tests\n    runs-on: ubuntu-latest\n    needs: run-linters\n    strategy:\n      matrix:\n        python-version: [3.9, '3.10', 3.11]\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies and canopy\n      uses: ./.github/actions/install-deps-and-canopy\n      with:\n        python-version: ${{ matrix.python-version }}\n        install-canopy: true\n    - name: Run unit tests\n      run: poetry run pytest --html=report.html --self-contained-html tests/unit\n    - name: Set Index Name for System / E2E\n      if: github.event_name == 'merge_group'\n      id: gen_suffix\n      run: |\n        RAW_SUFFIX=\"${{ matrix.python-version }}\"\n        SUFFIX=\"${RAW_SUFFIX//./-}\"\n        echo \"${SUFFIX}\"\n        echo \"INDEX_NAME_SUFFIX=${SUFFIX}\" >> $GITHUB_OUTPUT\n    - name: Run system tests\n      id: system_tests\n      if: github.event_name == 'merge_group'\n      env:\n        INDEX_NAME: system-${{ steps.gen_suffix.outputs.INDEX_NAME_SUFFIX }}\n        PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}\n        OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n        OCTOAI_API_KEY: ${{ secrets.OCTOAI_API_KEY }}\n        ANYSCALE_API_KEY: ${{ secrets.ANYSCALE_API_KEY }}\n        CO_API_KEY: ${{ secrets.CO_API_KEY }}\n        AZURE_DEPLOYMENT_NAME: ${{ secrets.AZURE_DEPLOYMENT_NAME }}\n        AZURE_EMBEDDING_DEPLOYMENT_NAME: ${{ secrets.AZURE_EMBEDDING_DEPLOYMENT_NAME }}\n        AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}\n        AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}\n      run: |\n        run_id=$(uuidgen | tr -d '-' | tr '[:upper:]' '[:lower:]')\n        echo \"run_id=${run_id}\" >> $GITHUB_OUTPUT\n        echo \"Test Run ID: ${run_id}\"\n        poetry run pytest -n 3 --dist loadscope --testrunuid $run_id --html=report_system.html --self-contained-html tests/system\n    - name: Run e2e tests\n      id: e2e_tests\n      if: github.event_name == 'merge_group'\n      env:\n        INDEX_NAME: e2e-${{ steps.gen_suffix.outputs.INDEX_NAME_SUFFIX }}\n        PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}\n        OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n        OCTOAI_API_KEY: ${{ secrets.OCTOAI_API_KEY }}\n        ANYSCALE_API_KEY: ${{ secrets.ANYSCALE_API_KEY }}\n        CO_API_KEY: ${{ secrets.CO_API_KEY }}\n        CE_LOG_FILENAME: e2e.log\n        AZURE_DEPLOYMENT_NAME: ${{ secrets.AZURE_DEPLOYMENT_NAME }}\n        AZURE_EMBEDDING_DEPLOYMENT_NAME: ${{ secrets.AZURE_EMBEDDING_DEPLOYMENT_NAME }}\n        AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}\n        AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}\n      run: |\n        run_id=$(uuidgen | tr -d '-' | tr '[:upper:]' '[:lower:]')\n        echo \"run_id=${run_id}\" >> $GITHUB_OUTPUT\n        echo \"Test Run ID: ${run_id}\"\n        poetry run pytest -n 3 --dist loadscope --testrunuid $run_id --html=report_e2e.html --self-contained-html tests/e2e\n    - name: Cleanup indexes\n      if: (cancelled() || failure()) && github.event_name == 'merge_group'\n      env:\n        PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}\n      run: |\n        export PYTHONPATH=.\n        poetry run python scripts/cleanup_indexes.py \"${{ steps.e2e_tests.outputs.run_id }}\"\n        poetry run python scripts/cleanup_indexes.py \"${{ steps.system_tests.outputs.run_id }}\"\n    - name: upload pytest report.html\n      uses: actions/upload-artifact@v3\n      if: always()\n      with:\n        name: pytest-report-py${{ matrix.python-version }}\n        path: report*.html\n    - name: upload e2e test log\n      uses: actions/upload-artifact@v3\n      if: failure() && github.event_name == 'merge_group'\n      with:\n        name: e2e-log-failure-report-py${{ matrix.python-version }}\n        path: e2e.log\n", "state": "active", "repository": "pinecone-io/canopy"}
{"mined_at": "2024-07-15T18:49:17.666925", "created_at": "2024-01-02T16:54:29+01:00", "updated_at": "2024-01-14T10:30:25+01:00", "name": "Create and publish a Docker image", "path": ".github/workflows/build-push-image.yml", "contents": "name: Create and publish a Docker image\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version to tag the image with'\n        required: true\n        type: string\n  workflow_call:\n    inputs:\n      version:\n        description: 'Version to tag the image with'\n        required: true\n        type: string\n  push:\n    branches:\n      - 'main'\n    tags:\n      - 'v*'\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      - name: Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n              ghcr.io/${{ github.repository }}\n          tags: |\n            type=ref,event=branch,enable=${{ github.event_name == 'push' }}\n            type=semver,pattern={{version}},enable=${{ github.event_name == 'push' }}\n            type=raw,value=latest,enable=${{ github.event_name != 'push' }}\n            type=raw,value=${{inputs.version}},enable=${{ github.event_name != 'push' }}\n      - name: Create build args\n        run: |\n          export POETRY_INSTALL_ARGS=\"$(make print-var VAR=POETRY_DEFAULT_EXTRAS)\"\n          echo \"POETRY_INSTALL_ARGS=$POETRY_INSTALL_ARGS\" >> $GITHUB_OUTPUT\n        id: build-args\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64\n          push: true\n          build-args: |\n            POETRY_INSTALL_ARGS=${{steps.build-args.outputs.POETRY_INSTALL_ARGS}}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          provenance: false\n          cache-from: type=gha\n          cache-to: type=gha,mode=max", "state": "active", "repository": "pinecone-io/canopy"}
{"mined_at": "2024-07-15T18:49:18.671465", "created_at": "2023-10-29T11:29:26+01:00", "updated_at": "2023-10-29T14:45:18+01:00", "name": "Run system and e2e tests", "path": ".github/workflows/merege_queue.yml", "contents": null, "state": "active", "repository": "pinecone-io/canopy"}
{"mined_at": "2024-07-15T18:49:19.825839", "created_at": "2023-10-23T14:42:36+02:00", "updated_at": "2023-10-31T18:44:48+01:00", "name": "Build and Test installation", "path": ".github/workflows/pre-release-CI.yml", "contents": "name: Build and Test installation\n\non:\n  workflow_dispatch:\n  workflow_call:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test-installation:\n    name: Test on ${{ matrix.os }}-py${{ matrix.python-version }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        python-version: [3.9, '3.10', 3.11]\n    defaults:\n      run:\n        shell: bash\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.3.2\n          virtualenvs-create: true\n          virtualenvs-in-project: true\n          installer-parallel: true\n\n      - name: Download wheels\n        uses: actions/download-artifact@v2\n        with:\n          name: wheels\n          path: ./dist/\n\n      - name: Install dev dependencies\n        run: |\n          poetry install --no-root --only dev --no-interaction\n\n      - name: Install the wheel\n        run: |\n          source $VENV\n          ls -lah ./dist\n          pip install ./dist/canopy_sdk*.whl\n\n      - name: Run unit tests\n        run: |\n          source $VENV\n          pytest --html=report.html --self-contained-html tests/unit\n\n      - name: Upload pytest reports\n        if: failure()\n        uses: actions/upload-artifact@v3\n        with:\n          name: pytest-report-${{ matrix.os }}-py${{ matrix.python-version }}\n          path: .pytest_cache\n\n\n", "state": "active", "repository": "pinecone-io/canopy"}
{"mined_at": "2024-07-15T18:49:20.879961", "created_at": "2023-11-01T10:43:10+01:00", "updated_at": "2023-11-06T17:47:37+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: 'Release'\n\non:\n  workflow_dispatch:\n    inputs:\n      bumpVersion:\n        description: 'Whether to bump the version number'\n        required: true\n        type: boolean\n        default: true\n      versionLevel:\n        description: 'Which version level to bump'\n        required: true\n        type: choice\n        default: 'patch'\n        options:\n          - 'patch' # bug fixes\n          - 'minor' # new features, backwards compatible\n          - 'major' # breaking changes\n          - 'prepatch' # bumps the patch and moves to a prerelease (1.0.2 -> 1.0.3a0)\n          - 'preminor' # bumps the minor and moves to a prerelease (1.0.2 -> 1.1.0a0)\n          - 'premajor' # bumps the major and moves to a prerelease (1.0.2 -> 2.0.0a0)\n          - 'prerelease' # bumps the prerelease version (1.0.3a0 -> 1.0.3a1)\n      generateBranch:\n        description: 'Whether to generate a release branch'\n        required: true\n        type: boolean\n        default: false\n      useTestPyPI:\n        description: 'Whether to use the test PyPI repository'\n        required: true\n        type: boolean\n        default: false\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    outputs:\n      new_version: ${{ steps.store-version.outputs.new_version }}\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.ref }}\n          token: ${{ secrets.VERSION_BUMP_PAT }}\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9  # The lowest we support\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.3.2\n\n      - name: Bump version\n        if: ${{ inputs.bumpVersion == true }}\n        run: |\n          poetry version ${{ inputs.versionLevel || 'patch' }}\n\n      - name: Store version number\n        id: store-version\n        run: |\n          echo \"new_version=$(poetry version -s)\" >> $GITHUB_OUTPUT\n\n      - name: Build wheel\n        run: |\n          poetry build\n\n      - name: Upload wheels\n        uses: actions/upload-artifact@v3\n        with:\n          name: wheels\n          path: ./dist/\n\n  test-all-OSes:\n    needs: build\n    uses: ./.github/workflows/pre-release-CI.yml\n\n  publish:\n    needs: [build, test-all-OSes]\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.ref }}\n          token: ${{ secrets.VERSION_BUMP_PAT }}\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.9\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: 1.3.2\n\n      - name: download wheels\n        uses: actions/download-artifact@v2\n        with:\n          name: wheels\n          path: ./dist/\n\n      - name: Set version\n        env:\n          NEW_VERSION: ${{ needs.build.outputs.new_version }}\n        run: |\n          echo $NEW_VERSION\n          poetry version $NEW_VERSION\n\n      - name: Commit version update\n        if: ${{ inputs.bumpVersion == true }}\n        run: |\n          git config --global user.name \"GitHub Action\"\n          git config --global user.email \"relevance@pinecone.io\"\n          git add pyproject.toml\n          git commit -m \"Bump version to $(poetry version -s)\"\n          git push \n\n      - name: Create release branch\n        if: ${{ github.event_name == 'workflow_dispatch' && inputs.generateBranch == 'true' }}\n        run: |\n          git checkout -b release/$(poetry version -s)\n          git push origin release/$(poetry version -s)\n\n      - name: Parse Changelog\n        id: changelog\n        uses: ocavue/changelog-parser-action@v1\n\n      - name: Create GH release\n        uses: ncipollo/release-action@v1\n        env:\n            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag: v${{ needs.build.outputs.new_version }}\n          name: ${{ needs.build.outputs.new_version }}\n          artifacts: \"dist/*\"\n          body: ${{ steps.changelog.outputs.latestBody }}\n          prerelease: ${{ startsWith(inputs.versionLevel, 'pre') }}\n\n      - name: Publish to test pypi\n        if: ${{ inputs.useTestPyPI == true }}\n        run: |\n          poetry config repositories.testpypi https://test.pypi.org/legacy/\n          poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_TOKEN }}\n          poetry publish -r testpypi\n\n      - name: Publish to pypi\n        if: ${{ inputs.useTestPyPI == false }}\n        run: |\n          poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}\n          poetry publish\n  publish-image:\n    needs: [build, publish]\n    uses: ./.github/workflows/build-push-image.yml\n    with:\n      version: ${{ needs.build.outputs.new_version }}", "state": "active", "repository": "pinecone-io/canopy"}
{"mined_at": "2024-07-15T18:49:22.991313", "created_at": "2023-04-12T10:01:10+02:00", "updated_at": "2023-11-12T05:13:28+01:00", "name": "Python CI", "path": ".github/workflows/ci.yml", "contents": null, "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:24.021918", "created_at": "2023-04-17T17:36:59+02:00", "updated_at": "2023-09-06T17:34:15+02:00", "name": "Pull Request auto-label", "path": ".github/workflows/pr-label.yml", "contents": "name: \"Pull Request auto-label\"\n\non:\n  # So that PRs touching the same files as the push are updated\n  push:\n    branches: [ master, development, release-* ]\n    paths-ignore:\n      - 'autogpt/tests/vcr_cassettes'\n      - 'benchmark/reports/**'\n  # So that the `dirtyLabel` is removed if conflicts are resolve\n  # We recommend `pull_request_target` so that github secrets are available.\n  # In `pull_request` we wouldn't be able to change labels of fork PRs\n  pull_request_target:\n    types: [ opened, synchronize ]\n\nconcurrency:\n  group: ${{ format('pr-label-{0}', github.event.pull_request.number || github.sha) }}\n  cancel-in-progress: true\n\njobs:\n  conflicts:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write\n    steps:\n      - name: Update PRs with conflict labels\n        uses: eps1lon/actions-label-merge-conflict@releases/2.x\n        with:\n          dirtyLabel: \"conflicts\"\n          #removeOnDirtyLabel: \"PR: ready to ship\"\n          repoToken: \"${{ secrets.GITHUB_TOKEN }}\"\n          commentOnDirty: \"This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.\"\n          commentOnClean: \"Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.\"\n\n  size:\n    if: ${{ github.event_name == 'pull_request_target' }}\n    permissions:\n      issues: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: codelytv/pr-size-labeler@v1\n        with:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          xs_label: 'size/xs'\n          xs_max_size: 2\n          s_label: 'size/s'\n          s_max_size: 10\n          m_label: 'size/m'\n          m_max_size: 100\n          l_label: 'size/l'\n          l_max_size: 500\n          xl_label: 'size/xl'\n          message_if_xl:\n\n  scope:\n    if: ${{ github.event_name == 'pull_request_target' }}\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/labeler@v5\n        with:\n          sync-labels: true\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:25.155380", "created_at": "2023-04-23T23:16:07+02:00", "updated_at": "2023-11-12T05:13:28+01:00", "name": "Docker CI", "path": ".github/workflows/docker-ci.yml", "contents": null, "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:26.366161", "created_at": "2023-04-24T19:03:28+02:00", "updated_at": "2023-11-23T12:14:09+01:00", "name": "Docker Release", "path": ".github/workflows/docker-release.yml", "contents": null, "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:27.447266", "created_at": "2023-06-29T18:29:18+02:00", "updated_at": "2023-06-29T18:29:18+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:28.523082", "created_at": "2023-09-06T03:41:15+02:00", "updated_at": "2023-09-06T03:41:15+02:00", "name": "Publish to PyPI", "path": ".github/workflows/benchmark_publish_package.yml", "contents": "name: Publish to PyPI\n\non:\n  workflow_dispatch:\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n      with:\n        submodules: true\n        fetch-depth: 0\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n\n    - name: Install Poetry\n      working-directory: ./benchmark/\n      run: |\n        curl -sSL https://install.python-poetry.org | python3 -\n        echo \"$HOME/.poetry/bin\" >> $GITHUB_PATH\n\n    - name: Build project for distribution\n      working-directory: ./benchmark/\n      run: poetry build\n\n    - name: Install dependencies\n      working-directory: ./benchmark/\n      run: poetry install\n\n    - name: Check Version\n      working-directory: ./benchmark/\n      id: check-version\n      run: |\n        echo version=$(poetry version --short) >> $GITHUB_OUTPUT\n\n    - name: Create Release\n      uses: ncipollo/release-action@v1\n      with:\n        artifacts: \"benchmark/dist/*\"\n        token: ${{ secrets.GITHUB_TOKEN }}\n        draft: false\n        generateReleaseNotes: false\n        tag: agbenchmark-v${{ steps.check-version.outputs.version }}\n        commit: master\n\n    - name: Build and publish\n      working-directory: ./benchmark/\n      run: poetry publish -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:29.564383", "created_at": "2023-09-06T17:34:15+02:00", "updated_at": "2024-05-27T20:46:56+02:00", "name": "AutoGPT CI", "path": ".github/workflows/autogpt-ci.yml", "contents": "name: AutoGPT CI\n\non:\n  push:\n    branches: [ master, development, ci-test* ]\n    paths:\n      - '.github/workflows/autogpt-ci.yml'\n      - 'autogpt/**'\n      - '!autogpt/tests/vcr_cassettes'\n  pull_request:\n    branches: [ master, development, release-* ]\n    paths:\n      - '.github/workflows/autogpt-ci.yml'\n      - 'autogpt/**'\n      - '!autogpt/tests/vcr_cassettes'\n\nconcurrency:\n  group: ${{ format('autogpt-ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }}\n  cancel-in-progress: ${{ startsWith(github.event_name, 'pull_request') }}\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: autogpt\n\njobs:\n  test:\n    permissions:\n      contents: read\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        platform-os: [ubuntu, macos, macos-arm64, windows]\n    runs-on: ${{ matrix.platform-os != 'macos-arm64' && format('{0}-latest', matrix.platform-os) || 'macos-14' }}\n\n    steps:\n      # Quite slow on macOS (2~4 minutes to set up Docker)\n      # - name: Set up Docker (macOS)\n      #   if: runner.os == 'macOS'\n      #   uses: crazy-max/ghaction-setup-docker@v3\n\n      - name: Start MinIO service (Linux)\n        if: runner.os == 'Linux'\n        working-directory: '.'\n        run: |\n          docker pull minio/minio:edge-cicd\n          docker run -d -p 9000:9000 minio/minio:edge-cicd\n\n      - name: Start MinIO service (macOS)\n        if: runner.os == 'macOS'\n        working-directory: ${{ runner.temp }}\n        run: |\n          brew install minio/stable/minio\n          mkdir data\n          minio server ./data &\n\n      # No MinIO on Windows:\n      # - Windows doesn't support running Linux Docker containers\n      # - It doesn't seem possible to start background processes on Windows. They are\n      #   killed after the step returns.\n      #   See: https://github.com/actions/runner/issues/598#issuecomment-2011890429\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - name: Configure git user Auto-GPT-Bot\n        run: |\n          git config --global user.name \"Auto-GPT-Bot\"\n          git config --global user.email \"github-bot@agpt.co\"\n\n      - name: Checkout cassettes\n        if: ${{ startsWith(github.event_name, 'pull_request') }}\n        env:\n          PR_BASE: ${{ github.event.pull_request.base.ref }}\n          PR_BRANCH: ${{ github.event.pull_request.head.ref }}\n          PR_AUTHOR: ${{ github.event.pull_request.user.login }}\n        run: |\n          cassette_branch=\"${PR_AUTHOR}-${PR_BRANCH}\"\n          cassette_base_branch=\"${PR_BASE}\"\n          cd tests/vcr_cassettes\n\n          if ! git ls-remote --exit-code --heads origin $cassette_base_branch ; then\n            cassette_base_branch=\"master\"\n          fi\n\n          if git ls-remote --exit-code --heads origin $cassette_branch ; then\n            git fetch origin $cassette_branch\n            git fetch origin $cassette_base_branch\n\n            git checkout $cassette_branch\n\n            # Pick non-conflicting cassette updates from the base branch\n            git merge --no-commit --strategy-option=ours origin/$cassette_base_branch\n            echo \"Using cassettes from mirror branch '$cassette_branch',\" \\\n              \"synced to upstream branch '$cassette_base_branch'.\"\n          else\n            git checkout -b $cassette_branch\n            echo \"Branch '$cassette_branch' does not exist in cassette submodule.\" \\\n              \"Using cassettes from '$cassette_base_branch'.\"\n          fi\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - id: get_date\n        name: Get date\n        run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n      - name: Set up Python dependency cache\n        # On Windows, unpacking cached dependencies takes longer than just installing them\n        if: runner.os != 'Windows'\n        uses: actions/cache@v4\n        with:\n          path: ${{ runner.os == 'macOS' && '~/Library/Caches/pypoetry' || '~/.cache/pypoetry' }}\n          key: poetry-${{ runner.os }}-${{ hashFiles('autogpt/poetry.lock') }}\n\n      - name: Install Poetry (Unix)\n        if: runner.os != 'Windows'\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 -\n\n          if [ \"${{ runner.os }}\" = \"macOS\" ]; then\n            PATH=\"$HOME/.local/bin:$PATH\"\n            echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n          fi\n\n      - name: Install Poetry (Windows)\n        if: runner.os == 'Windows'\n        shell: pwsh\n        run: |\n          (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -\n\n          $env:PATH += \";$env:APPDATA\\Python\\Scripts\"\n          echo \"$env:APPDATA\\Python\\Scripts\" >> $env:GITHUB_PATH\n\n      - name: Install Python dependencies\n        run: poetry install\n\n      - name: Run pytest with coverage\n        run: |\n          poetry run pytest -vv \\\n            --cov=autogpt --cov-branch --cov-report term-missing --cov-report xml \\\n            --numprocesses=logical --durations=10 \\\n            tests/unit tests/integration\n        env:\n          CI: true\n          PLAIN_OUTPUT: True\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          S3_ENDPOINT_URL: ${{ runner.os != 'Windows' && 'http://127.0.0.1:9000' || '' }}\n          AWS_ACCESS_KEY_ID: minioadmin\n          AWS_SECRET_ACCESS_KEY: minioadmin\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: autogpt-agent,${{ runner.os }}\n\n      - id: setup_git_auth\n        name: Set up git token authentication\n        # Cassettes may be pushed even when tests fail\n        if: success() || failure()\n        run: |\n          config_key=\"http.${{ github.server_url }}/.extraheader\"\n          if [ \"${{ runner.os }}\" = 'macOS' ]; then\n            base64_pat=$(echo -n \"pat:${{ secrets.PAT_REVIEW }}\" | base64)\n          else\n            base64_pat=$(echo -n \"pat:${{ secrets.PAT_REVIEW }}\" | base64 -w0)\n          fi\n\n          git config \"$config_key\" \\\n            \"Authorization: Basic $base64_pat\"\n\n          cd tests/vcr_cassettes\n          git config \"$config_key\" \\\n            \"Authorization: Basic $base64_pat\"\n\n          echo \"config_key=$config_key\" >> $GITHUB_OUTPUT\n\n      - id: push_cassettes\n        name: Push updated cassettes\n        # For pull requests, push updated cassettes even when tests fail\n        if: github.event_name == 'push' || (! github.event.pull_request.head.repo.fork && (success() || failure()))\n        env:\n          PR_BRANCH: ${{ github.event.pull_request.head.ref }}\n          PR_AUTHOR: ${{ github.event.pull_request.user.login }}\n        run: |\n          if [ \"${{ startsWith(github.event_name, 'pull_request') }}\" = \"true\" ]; then\n            is_pull_request=true\n            cassette_branch=\"${PR_AUTHOR}-${PR_BRANCH}\"\n          else\n            cassette_branch=\"${{ github.ref_name }}\"\n          fi\n\n          cd tests/vcr_cassettes\n          # Commit & push changes to cassettes if any\n          if ! git diff --quiet; then\n            git add .\n            git commit -m \"Auto-update cassettes\"\n            git push origin HEAD:$cassette_branch\n            if [ ! $is_pull_request ]; then\n              cd ../..\n              git add tests/vcr_cassettes\n              git commit -m \"Update cassette submodule\"\n              git push origin HEAD:$cassette_branch\n            fi\n            echo \"updated=true\" >> $GITHUB_OUTPUT\n          else\n            echo \"updated=false\" >> $GITHUB_OUTPUT\n            echo \"No cassette changes to commit\"\n          fi\n\n      - name: Post Set up git token auth\n        if: steps.setup_git_auth.outcome == 'success'\n        run: |\n          git config --unset-all '${{ steps.setup_git_auth.outputs.config_key }}'\n          git submodule foreach git config --unset-all '${{ steps.setup_git_auth.outputs.config_key }}'\n\n      - name: Apply \"behaviour change\" label and comment on PR\n        if: ${{ startsWith(github.event_name, 'pull_request') }}\n        run: |\n          PR_NUMBER=\"${{ github.event.pull_request.number }}\"\n          TOKEN=\"${{ secrets.PAT_REVIEW }}\"\n          REPO=\"${{ github.repository }}\"\n\n          if [[ \"${{ steps.push_cassettes.outputs.updated }}\" == \"true\" ]]; then\n            echo \"Adding label and comment...\"\n            echo $TOKEN | gh auth login --with-token\n            gh issue edit $PR_NUMBER --add-label \"behaviour change\"\n            gh issue comment $PR_NUMBER --body \"You changed AutoGPT's behaviour on ${{ runner.os }}. The cassettes have been updated and will be merged to the submodule when this Pull Request gets merged.\"\n          fi\n\n      - name: Upload logs to artifact\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-logs\n          path: autogpt/logs/\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:30.648169", "created_at": "2023-09-06T17:34:15+02:00", "updated_at": "2023-09-06T17:34:15+02:00", "name": "Purge Auto-GPT Docker CI cache", "path": ".github/workflows/autogpt-docker-cache-clean.yml", "contents": "name: Purge Auto-GPT Docker CI cache\n\non:\n  schedule:\n    - cron: 20 4 * * 1,4\n\nenv:\n  BASE_BRANCH: development\n  IMAGE_NAME: auto-gpt\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        build-type: [release, dev]\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n    - id: build\n      name: Build image\n      uses: docker/build-push-action@v5\n      with:\n        file: Dockerfile.autogpt\n        build-args: BUILD_TYPE=${{ matrix.build-type }}\n        load: true    # save to docker images\n        # use GHA cache as read-only\n        cache-to: type=gha,scope=autogpt-docker-${{ matrix.build-type }},mode=max\n\n    - name: Generate build report\n      env:\n        event_name: ${{ github.event_name }}\n        event_ref: ${{ github.event.schedule }}\n\n        build_type: ${{ matrix.build-type }}\n\n        prod_branch: master\n        dev_branch: development\n        repository: ${{ github.repository }}\n        base_branch: ${{ github.ref_name != 'master' && github.ref_name != 'development' && 'development' || 'master' }}\n\n        current_ref: ${{ github.ref_name }}\n        commit_hash: ${{ github.sha }}\n        source_url: ${{ format('{0}/tree/{1}', github.event.repository.url, github.sha) }}\n        push_forced_label:\n\n        new_commits_json: ${{ null }}\n        compare_url_template: ${{ format('/{0}/compare/{{base}}...{{head}}', github.repository) }}\n\n        github_context_json: ${{ toJSON(github) }}\n        job_env_json: ${{ toJSON(env) }}\n        vars_json: ${{ toJSON(vars) }}\n\n      run: .github/workflows/scripts/docker-ci-summary.sh >> $GITHUB_STEP_SUMMARY\n      continue-on-error: true\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:31.771245", "created_at": "2023-09-06T17:34:15+02:00", "updated_at": "2023-09-22T17:29:50+02:00", "name": "AutoGPT Docker CI", "path": ".github/workflows/autogpt-docker-ci.yml", "contents": "name: AutoGPT Docker CI\n\non:\n  push:\n    branches: [ master, development ]\n    paths:\n      - '.github/workflows/autogpt-docker-ci.yml'\n      - 'autogpt/**'\n      - '!autogpt/tests/vcr_cassettes'\n  pull_request:\n    branches: [ master, development, release-* ]\n    paths:\n      - '.github/workflows/autogpt-docker-ci.yml'\n      - 'autogpt/**'\n      - '!autogpt/tests/vcr_cassettes'\n\nconcurrency:\n  group: ${{ format('autogpt-docker-ci-{0}', github.head_ref && format('pr-{0}', github.event.pull_request.number) || github.sha) }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\ndefaults:\n  run:\n    working-directory: autogpt\n\nenv:\n  IMAGE_NAME: auto-gpt\n  DEPLOY_IMAGE_NAME: ${{ secrets.DOCKER_USER && format('{0}/', secrets.DOCKER_USER) || '' }}auto-gpt\n  DEV_IMAGE_TAG: latest-dev\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        build-type: [release, dev]\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n    - if: runner.debug\n      run: |\n        ls -al\n        du -hs *\n\n    - id: build\n      name: Build image\n      uses: docker/build-push-action@v5\n      with:\n        file: Dockerfile.autogpt\n        build-args: BUILD_TYPE=${{ matrix.build-type }}\n        tags: ${{ env.IMAGE_NAME }}\n        labels: GIT_REVISION=${{ github.sha }}\n        load: true    # save to docker images\n        # cache layers in GitHub Actions cache to speed up builds\n        cache-from: type=gha,scope=autogpt-docker-${{ matrix.build-type }}\n        cache-to: type=gha,scope=autogpt-docker-${{ matrix.build-type }},mode=max\n\n    - name: Generate build report\n      env:\n        event_name: ${{ github.event_name }}\n        event_ref: ${{ github.event.ref }}\n        event_ref_type: ${{ github.event.ref}}\n\n        build_type: ${{ matrix.build-type }}\n\n        prod_branch: master\n        dev_branch: development\n        repository: ${{ github.repository }}\n        base_branch: ${{ github.ref_name != 'master' && github.ref_name != 'development' && 'development' || 'master' }}\n\n        current_ref: ${{ github.ref_name }}\n        commit_hash: ${{ github.event.after }}\n        source_url: ${{ format('{0}/tree/{1}', github.event.repository.url, github.event.release && github.event.release.tag_name || github.sha) }}\n        push_forced_label: ${{ github.event.forced && '☢️ forced' || '' }}\n\n        new_commits_json: ${{ toJSON(github.event.commits) }}\n        compare_url_template: ${{ format('/{0}/compare/{{base}}...{{head}}', github.repository) }}\n\n        github_context_json: ${{ toJSON(github) }}\n        job_env_json: ${{ toJSON(env) }}\n        vars_json: ${{ toJSON(vars) }}\n\n      run: .github/workflows/scripts/docker-ci-summary.sh >> $GITHUB_STEP_SUMMARY\n      continue-on-error: true\n\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    services:\n      minio:\n        image: minio/minio:edge-cicd\n        options: >\n          --name=minio\n          --health-interval=10s --health-timeout=5s --health-retries=3\n          --health-cmd=\"curl -f http://localhost:9000/minio/health/live\"\n\n    steps:\n      - name: Check out repository\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n\n      - if: github.event_name == 'push'\n        name: Log in to Docker hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USER }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - id: build\n        name: Build image\n        uses: docker/build-push-action@v5\n        with:\n          file: Dockerfile.autogpt\n          build-args: BUILD_TYPE=dev  # include pytest\n          tags: >\n            ${{ env.IMAGE_NAME }},\n            ${{ env.DEPLOY_IMAGE_NAME }}:${{ env.DEV_IMAGE_TAG }}\n          labels: GIT_REVISION=${{ github.sha }}\n          load: true                  # save to docker images\n          # cache layers in GitHub Actions cache to speed up builds\n          cache-from: type=gha,scope=autogpt-docker-dev\n          cache-to: type=gha,scope=autogpt-docker-dev,mode=max\n\n      - id: test\n        name: Run tests\n        env:\n          CI: true\n          PLAIN_OUTPUT: True\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          S3_ENDPOINT_URL: http://minio:9000\n          AWS_ACCESS_KEY_ID: minioadmin\n          AWS_SECRET_ACCESS_KEY: minioadmin\n        run: |\n          set +e\n          docker run --env CI --env OPENAI_API_KEY \\\n            --network container:minio \\\n            --env S3_ENDPOINT_URL --env AWS_ACCESS_KEY_ID --env AWS_SECRET_ACCESS_KEY \\\n            --entrypoint poetry ${{ env.IMAGE_NAME }} run \\\n            pytest -v --cov=autogpt --cov-branch --cov-report term-missing \\\n            --numprocesses=4 --durations=10 \\\n            tests/unit tests/integration 2>&1 | tee test_output.txt\n\n          test_failure=${PIPESTATUS[0]}\n\n          cat << $EOF >> $GITHUB_STEP_SUMMARY\n          # Tests $([ $test_failure = 0 ] && echo '✅' || echo '❌')\n          \\`\\`\\`\n          $(cat test_output.txt)\n          \\`\\`\\`\n          $EOF\n\n          exit $test_failure\n\n      - if: github.event_name == 'push' && github.ref_name == 'master'\n        name: Push image to Docker Hub\n        run: docker push ${{ env.DEPLOY_IMAGE_NAME }}:${{ env.DEV_IMAGE_TAG }}\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:32.924627", "created_at": "2023-09-06T17:34:15+02:00", "updated_at": "2023-09-23T00:49:36+02:00", "name": "AutoGPT Docker Release", "path": ".github/workflows/autogpt-docker-release.yml", "contents": "name: AutoGPT Docker Release\n\non:\n  release:\n    types: [ published, edited ]\n\n  workflow_dispatch:\n    inputs:\n      no_cache:\n        type: boolean\n        description: 'Build from scratch, without using cached layers'\n\nenv:\n  IMAGE_NAME: auto-gpt\n  DEPLOY_IMAGE_NAME: ${{ secrets.DOCKER_USER }}/auto-gpt\n\njobs:\n  build:\n    if: startsWith(github.ref, 'refs/tags/autogpt-')\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    - name: Log in to Docker hub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKER_USER }}\n        password: ${{ secrets.DOCKER_PASSWORD }}\n\n    - name: Set up Docker Buildx\n      uses: docker/setup-buildx-action@v3\n\n      # slashes are not allowed in image tags, but can appear in git branch or tag names\n    - id: sanitize_tag\n      name: Sanitize image tag\n      run: |\n        tag=${raw_tag//\\//-}\n        echo tag=${tag#autogpt-} >> $GITHUB_OUTPUT\n      env:\n        raw_tag: ${{ github.ref_name }}\n\n    - id: build\n      name: Build image\n      uses: docker/build-push-action@v5\n      with:\n        file: Dockerfile.autogpt\n        build-args: BUILD_TYPE=release\n        load: true    # save to docker images\n        # push: true  # TODO: uncomment when this issue is fixed: https://github.com/moby/buildkit/issues/1555\n        tags: >\n          ${{ env.IMAGE_NAME }},\n          ${{ env.DEPLOY_IMAGE_NAME }}:latest,\n          ${{ env.DEPLOY_IMAGE_NAME }}:${{ steps.sanitize_tag.outputs.tag }}\n        labels: GIT_REVISION=${{ github.sha }}\n\n        # cache layers in GitHub Actions cache to speed up builds\n        cache-from: ${{ !inputs.no_cache && 'type=gha' || '' }},scope=autogpt-docker-release\n        cache-to: type=gha,scope=autogpt-docker-release,mode=max\n\n    - name: Push image to Docker Hub\n      run: docker push --all-tags ${{ env.DEPLOY_IMAGE_NAME }}\n\n    - name: Generate build report\n      env:\n        event_name: ${{ github.event_name }}\n        event_ref: ${{ github.event.ref }}\n        event_ref_type: ${{ github.event.ref}}\n        inputs_no_cache: ${{ inputs.no_cache }}\n\n        prod_branch: master\n        dev_branch: development\n        repository: ${{ github.repository }}\n        base_branch: ${{ github.ref_name != 'master' && github.ref_name != 'development' && 'development' || 'master' }}\n\n        ref_type: ${{ github.ref_type }}\n        current_ref: ${{ github.ref_name }}\n        commit_hash: ${{ github.sha }}\n        source_url: ${{ format('{0}/tree/{1}', github.event.repository.url, github.event.release && github.event.release.tag_name || github.sha) }}\n\n        github_context_json: ${{ toJSON(github) }}\n        job_env_json: ${{ toJSON(env) }}\n        vars_json: ${{ toJSON(vars) }}\n\n      run: .github/workflows/scripts/docker-release-summary.sh >> $GITHUB_STEP_SUMMARY\n      continue-on-error: true\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:34.028353", "created_at": "2023-09-06T20:51:02+02:00", "updated_at": "2024-05-27T18:25:10+02:00", "name": "AGBenchmark CI", "path": ".github/workflows/benchmark-ci.yml", "contents": "name: AGBenchmark CI\n\non:\n  push:\n    branches: [ master, development, ci-test* ]\n    paths:\n      - 'benchmark/**'\n      - .github/workflows/benchmark-ci.yml\n      - '!benchmark/reports/**'\n  pull_request:\n    branches: [ master, development, release-* ]\n    paths:\n      - 'benchmark/**'\n      - '!benchmark/reports/**'\n      - .github/workflows/benchmark-ci.yml\n\nconcurrency:\n  group: ${{ format('benchmark-ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }}\n  cancel-in-progress: ${{ startsWith(github.event_name, 'pull_request') }}\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  min-python-version: '3.10'\n\njobs:\n  test:\n    permissions:\n      contents: read\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        platform-os: [ubuntu, macos, macos-arm64, windows]\n    runs-on: ${{ matrix.platform-os != 'macos-arm64' && format('{0}-latest', matrix.platform-os) || 'macos-14' }}\n    defaults:\n      run:\n        shell: bash\n        working-directory: benchmark\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Set up Python dependency cache\n        # On Windows, unpacking cached dependencies takes longer than just installing them\n        if: runner.os != 'Windows'\n        uses: actions/cache@v4\n        with:\n          path: ${{ runner.os == 'macOS' && '~/Library/Caches/pypoetry' || '~/.cache/pypoetry' }}\n          key: poetry-${{ runner.os }}-${{ hashFiles('benchmark/poetry.lock') }}\n\n      - name: Install Poetry (Unix)\n        if: runner.os != 'Windows'\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 -\n\n          if [ \"${{ runner.os }}\" = \"macOS\" ]; then\n            PATH=\"$HOME/.local/bin:$PATH\"\n            echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n          fi\n\n      - name: Install Poetry (Windows)\n        if: runner.os == 'Windows'\n        shell: pwsh\n        run: |\n          (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -\n\n          $env:PATH += \";$env:APPDATA\\Python\\Scripts\"\n          echo \"$env:APPDATA\\Python\\Scripts\" >> $env:GITHUB_PATH\n\n      - name: Install Python dependencies\n        run: poetry install\n\n      - name: Run pytest with coverage\n        run: |\n          poetry run pytest -vv \\\n            --cov=agbenchmark --cov-branch --cov-report term-missing --cov-report xml \\\n            --durations=10 \\\n            tests\n        env:\n          CI: true\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: agbenchmark,${{ runner.os }}\n\n  self-test-with-agent:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        agent-name: [ forge ]\n      fail-fast: false\n    timeout-minutes: 20\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - name: Set up Python ${{ env.min-python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.min-python-version }}\n\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org | python -\n\n      - name: Run regression tests\n        working-directory: .\n        run: |\n          ./run agent start ${{ matrix.agent-name }}\n          cd ${{ matrix.agent-name }}\n\n          set +e # Ignore non-zero exit codes and continue execution\n          echo \"Running the following command: poetry run agbenchmark --maintain --mock\"\n          poetry run agbenchmark --maintain --mock\n          EXIT_CODE=$?\n          set -e  # Stop ignoring non-zero exit codes\n          # Check if the exit code was 5, and if so, exit with 0 instead\n          if [ $EXIT_CODE -eq 5 ]; then\n            echo \"regression_tests.json is empty.\"\n          fi\n\n          echo \"Running the following command: poetry run agbenchmark --mock\"\n          poetry run agbenchmark --mock\n\n          echo \"Running the following command: poetry run agbenchmark --mock --category=data\"\n          poetry run agbenchmark --mock --category=data\n\n          echo \"Running the following command: poetry run agbenchmark --mock --category=coding\"\n          poetry run agbenchmark --mock --category=coding\n\n          echo \"Running the following command: poetry run agbenchmark --test=WriteFile\"\n          poetry run agbenchmark --test=WriteFile\n          cd ../benchmark\n          poetry install\n          echo \"Adding the BUILD_SKILL_TREE environment variable. This will attempt to add new elements in the skill tree. If new elements are added, the CI fails because they should have been pushed\"\n          export BUILD_SKILL_TREE=true\n\n          poetry run agbenchmark --mock\n\n          CHANGED=$(git diff --name-only | grep -E '(agbenchmark/challenges)|(../frontend/assets)') || echo \"No diffs\"\n          if [ ! -z \"$CHANGED\" ]; then\n            echo \"There are unstaged changes please run agbenchmark and commit those changes since they are needed.\"\n            echo \"$CHANGED\"\n            exit 1\n          else\n            echo \"No unstaged changes.\"\n          fi\n        env:\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          TELEMETRY_ENVIRONMENT: autogpt-benchmark-ci\n          TELEMETRY_OPT_IN: ${{ github.ref_name == 'master' }}\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:35.127705", "created_at": "2023-09-06T22:37:41+02:00", "updated_at": "2023-09-06T22:37:41+02:00", "name": "Close stale issues", "path": ".github/workflows/close-stale-issues.yml", "contents": "name: 'Close stale issues'\non:\n  schedule:\n    - cron: '30 1 * * *'\n  workflow_dispatch:\n\npermissions:\n  issues: write\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          # operations-per-run: 5000\n          stale-issue-message: >\n            This issue has automatically been marked as _stale_ because it has not had\n            any activity in the last 50 days. You can _unstale_ it by commenting or\n            removing the label. Otherwise, this issue will be closed in 10 days.\n          stale-pr-message: >\n            This pull request has automatically been marked as _stale_ because it has\n            not had any activity in the last 50 days. You can _unstale_ it by commenting\n            or removing the label.\n          close-issue-message: >\n            This issue was closed automatically because it has been stale for 10 days\n            with no activity.\n          days-before-stale: 50\n          days-before-close: 10\n          # Do not touch meta issues:\n          exempt-issue-labels: meta,fridge,project management\n          # Do not affect pull requests:\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:36.305686", "created_at": "2023-09-11T23:24:54+02:00", "updated_at": "2024-05-28T05:04:23+02:00", "name": "Forge CI", "path": ".github/workflows/forge-ci.yml", "contents": "name: Forge CI\n\non:\n  push:\n    branches: [ master, development, ci-test* ]\n    paths:\n      - '.github/workflows/forge-ci.yml'\n      - 'forge/**'\n  pull_request:\n    branches: [ master, development, release-* ]\n    paths:\n      - '.github/workflows/forge-ci.yml'\n      - 'forge/**'\n\nconcurrency:\n  group: ${{ format('forge-ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }}\n  cancel-in-progress: ${{ startsWith(github.event_name, 'pull_request') }}\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: forge\n\njobs:\n  test:\n    permissions:\n      contents: read\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        platform-os: [ubuntu, macos, macos-arm64, windows]\n    runs-on: ${{ matrix.platform-os != 'macos-arm64' && format('{0}-latest', matrix.platform-os) || 'macos-14' }}\n\n    steps:\n      # Quite slow on macOS (2~4 minutes to set up Docker)\n      # - name: Set up Docker (macOS)\n      #   if: runner.os == 'macOS'\n      #   uses: crazy-max/ghaction-setup-docker@v3\n\n      - name: Start MinIO service (Linux)\n        if: runner.os == 'Linux'\n        working-directory: '.'\n        run: |\n          docker pull minio/minio:edge-cicd\n          docker run -d -p 9000:9000 minio/minio:edge-cicd\n\n      - name: Start MinIO service (macOS)\n        if: runner.os == 'macOS'\n        working-directory: ${{ runner.temp }}\n        run: |\n          brew install minio/stable/minio\n          mkdir data\n          minio server ./data &\n\n      # No MinIO on Windows:\n      # - Windows doesn't support running Linux Docker containers\n      # - It doesn't seem possible to start background processes on Windows. They are\n      #   killed after the step returns.\n      #   See: https://github.com/actions/runner/issues/598#issuecomment-2011890429\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Set up Python dependency cache\n        # On Windows, unpacking cached dependencies takes longer than just installing them\n        if: runner.os != 'Windows'\n        uses: actions/cache@v4\n        with:\n          path: ${{ runner.os == 'macOS' && '~/Library/Caches/pypoetry' || '~/.cache/pypoetry' }}\n          key: poetry-${{ runner.os }}-${{ hashFiles('forge/poetry.lock') }}\n\n      - name: Install Poetry (Unix)\n        if: runner.os != 'Windows'\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 -\n\n          if [ \"${{ runner.os }}\" = \"macOS\" ]; then\n            PATH=\"$HOME/.local/bin:$PATH\"\n            echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n          fi\n\n      - name: Install Poetry (Windows)\n        if: runner.os == 'Windows'\n        shell: pwsh\n        run: |\n          (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -\n\n          $env:PATH += \";$env:APPDATA\\Python\\Scripts\"\n          echo \"$env:APPDATA\\Python\\Scripts\" >> $env:GITHUB_PATH\n\n      - name: Install Python dependencies\n        run: poetry install\n\n      - name: Run pytest with coverage\n        run: |\n          poetry run pytest -vv \\\n            --cov=forge --cov-branch --cov-report term-missing --cov-report xml \\\n            --durations=10 \\\n            forge\n        env:\n          CI: true\n          PLAIN_OUTPUT: True\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          S3_ENDPOINT_URL: ${{ runner.os != 'Windows' && 'http://127.0.0.1:9000' || '' }}\n          AWS_ACCESS_KEY_ID: minioadmin\n          AWS_SECRET_ACCESS_KEY: minioadmin\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          flags: forge,${{ runner.os }}\n\n      - name: Upload logs to artifact\n        if: always()\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-logs\n          path: forge/logs/\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:37.479046", "created_at": "2023-09-14T06:14:46+02:00", "updated_at": "2024-05-27T20:46:56+02:00", "name": "Agent smoke tests", "path": ".github/workflows/autogpts-ci.yml", "contents": "name: Agent smoke tests\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 8 * * *'\n  push:\n    branches: [ master, development, ci-test* ]\n    paths:\n      - '.github/workflows/autogpts-ci.yml'\n      - 'autogpt/**'\n      - 'forge/**'\n      - 'benchmark/**'\n      - 'run'\n      - 'cli.py'\n      - 'setup.py'\n      - '!**/*.md'\n  pull_request:\n    branches: [ master, development, release-* ]\n    paths:\n      - '.github/workflows/autogpts-ci.yml'\n      - 'autogpt/**'\n      - 'forge/**'\n      - 'benchmark/**'\n      - 'run'\n      - 'cli.py'\n      - 'setup.py'\n      - '!**/*.md'\n\njobs:\n  serve-agent-protocol:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        agent-name: [ autogpt ]\n      fail-fast: false\n    timeout-minutes: 20\n    env:\n      min-python-version: '3.10'\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - name: Set up Python ${{ env.min-python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.min-python-version }}\n\n      - name: Install Poetry\n        working-directory: ./${{ matrix.agent-name }}/\n        run: |\n          curl -sSL https://install.python-poetry.org | python -\n\n      - name: Run regression tests\n        run: |\n          ./run agent start ${{ matrix.agent-name }}\n          cd ${{ matrix.agent-name }}\n          poetry run agbenchmark --mock --test=BasicRetrieval --test=Battleship --test=WebArenaTask_0\n          poetry run agbenchmark --test=WriteFile\n        env:\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          AGENT_NAME: ${{ matrix.agent-name }}\n          REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt\n          HELICONE_CACHE_ENABLED: false\n          HELICONE_PROPERTY_AGENT: ${{ matrix.agent-name }}\n          REPORTS_FOLDER: ${{ format('../../reports/{0}', matrix.agent-name) }}\n          TELEMETRY_ENVIRONMENT: autogpt-ci\n          TELEMETRY_OPT_IN: ${{ github.ref_name == 'master' }}\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:38.538020", "created_at": "2023-09-20T12:53:36+02:00", "updated_at": "2023-09-20T12:53:36+02:00", "name": "github-repo-stats", "path": ".github/workflows/repo-stats.yml", "contents": "name: github-repo-stats\n\non:\n  schedule:\n    # Run this once per day, towards the end of the day for keeping the most\n    # recent data point most meaningful (hours are interpreted in UTC).\n    - cron: \"0 23 * * *\"\n  workflow_dispatch: # Allow for running this manually.\n\njobs:\n  j1:\n    name: github-repo-stats\n    runs-on: ubuntu-latest\n    steps:\n      - name: run-ghrs\n        # Use latest release.\n        uses: jgehrcke/github-repo-stats@HEAD\n        with:\n          ghtoken: ${{ secrets.ghrs_github_api_token }}\n\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:39.706294", "created_at": "2023-10-26T17:28:01+02:00", "updated_at": "2023-10-26T17:28:01+02:00", "name": "Hackathon", "path": ".github/workflows/hackathon.yml", "contents": "name: Hackathon\n\non:\n  workflow_dispatch:\n    inputs:\n      agents:\n        description: \"Agents to run (comma-separated)\"\n        required: false\n        default: \"autogpt\" # Default agents if none are specified\n\njobs:\n  matrix-setup:\n    runs-on: ubuntu-latest\n    # Service containers to run with `matrix-setup`\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgres\n        # Provide the password for postgres\n        env:\n          POSTGRES_PASSWORD: postgres\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n      env-name: ${{ steps.set-matrix.outputs.env-name }}\n    steps:\n      - id: set-matrix\n        run: |\n          if [ \"${{ github.event_name }}\" == \"schedule\" ]; then\n            echo \"::set-output name=env-name::production\"\n            echo \"::set-output name=matrix::[ 'irrelevant']\"\n          elif [ \"${{ github.event_name }}\" == \"workflow_dispatch\" ]; then\n            IFS=',' read -ra matrix_array <<< \"${{ github.event.inputs.agents }}\"\n            matrix_string=\"[ \\\"$(echo \"${matrix_array[@]}\" | sed 's/ /\", \"/g')\\\" ]\"\n            echo \"::set-output name=env-name::production\"\n            echo \"::set-output name=matrix::$matrix_string\"\n          else\n            echo \"::set-output name=env-name::testing\"\n            echo \"::set-output name=matrix::[ 'irrelevant' ]\"\n          fi\n\n  tests:\n    environment:\n      name: \"${{ needs.matrix-setup.outputs.env-name }}\"\n    needs: matrix-setup\n    env:\n      min-python-version: \"3.10\"\n    name: \"${{ matrix.agent-name }}\"\n    runs-on: ubuntu-latest\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgres\n        # Provide the password for postgres\n        env:\n          POSTGRES_PASSWORD: postgres\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          # Maps tcp port 5432 on service container to the host\n          - 5432:5432\n    timeout-minutes: 50\n    strategy:\n      fail-fast: false\n      matrix:\n        agent-name: ${{fromJson(needs.matrix-setup.outputs.matrix)}}\n    steps:\n      - name: Print Environment Name\n        run: |\n          echo \"Matrix Setup Environment Name: ${{ needs.matrix-setup.outputs.env-name }}\"\n\n      - name: Check Docker Container\n        id: check\n        run: docker ps\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - name: Set up Python ${{ env.min-python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.min-python-version }}\n\n      - id: get_date\n        name: Get date\n        run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n      - name: Install Poetry\n        run: |\n          curl -sSL https://install.python-poetry.org | python -\n\n      - name: Install Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: v18.15\n\n      - name: Run benchmark\n        run: |\n          link=$(jq -r '.[\"github_repo_url\"]' arena/$AGENT_NAME.json)\n          branch=$(jq -r '.[\"branch_to_benchmark\"]' arena/$AGENT_NAME.json)\n          git clone \"$link\" -b \"$branch\" \"$AGENT_NAME\"\n          cd $AGENT_NAME\n          cp ./$AGENT_NAME/.env.example ./$AGENT_NAME/.env || echo \"file not found\"\n          ./run agent start $AGENT_NAME\n          cd ../benchmark\n          poetry install\n          poetry run agbenchmark --no-dep\n        env:\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          SERP_API_KEY: ${{ secrets.SERP_API_KEY }}\n          SERPAPI_API_KEY: ${{ secrets.SERP_API_KEY }}\n          WEAVIATE_API_KEY: ${{ secrets.WEAVIATE_API_KEY }}\n          WEAVIATE_URL: ${{ secrets.WEAVIATE_URL }}\n          GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}\n          GOOGLE_CUSTOM_SEARCH_ENGINE_ID: ${{ secrets.GOOGLE_CUSTOM_SEARCH_ENGINE_ID }}\n          AGENT_NAME: ${{ matrix.agent-name }}\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:40.814807", "created_at": "2024-02-16T18:33:10+01:00", "updated_at": "2024-02-16T18:33:10+01:00", "name": "AutoGPTs Nightly Benchmark", "path": ".github/workflows/autogpts-benchmark.yml", "contents": "name: AutoGPTs Nightly Benchmark\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 2 * * *'\n\njobs:\n  benchmark:\n    permissions:\n      contents: write\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        agent-name: [ autogpt ]\n      fail-fast: false\n    timeout-minutes: 120\n    env:\n      min-python-version: '3.10'\n      REPORTS_BRANCH: data/benchmark-reports\n      REPORTS_FOLDER: ${{ format('benchmark/reports/{0}', matrix.agent-name) }}\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - name: Set up Python ${{ env.min-python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.min-python-version }}\n\n      - name: Install Poetry\n        run: curl -sSL https://install.python-poetry.org | python -\n\n      - name: Prepare reports folder\n        run: mkdir -p ${{ env.REPORTS_FOLDER }}\n\n      - run: poetry -C benchmark install\n\n      - name: Benchmark ${{ matrix.agent-name }}\n        run: |\n          ./run agent start ${{ matrix.agent-name }}\n          cd ${{ matrix.agent-name }}\n\n          set +e  # Do not quit on non-zero exit codes\n          poetry run agbenchmark run -N 3 \\\n            --test=ReadFile \\\n            --test=BasicRetrieval --test=RevenueRetrieval2 \\\n            --test=CombineCsv --test=LabelCsv --test=AnswerQuestionCombineCsv \\\n            --test=UrlShortener --test=TicTacToe --test=Battleship \\\n            --test=WebArenaTask_0 --test=WebArenaTask_21 --test=WebArenaTask_124 \\\n            --test=WebArenaTask_134 --test=WebArenaTask_163\n\n            # Convert exit code 1 (some challenges failed) to exit code 0\n            if [ $? -eq 0 ] || [ $? -eq 1 ]; then\n              exit 0\n            else\n              exit $?\n            fi\n        env:\n          AGENT_NAME: ${{ matrix.agent-name }}\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt\n          REPORTS_FOLDER: ${{ format('../../{0}', env.REPORTS_FOLDER) }}  # account for changed workdir\n\n          TELEMETRY_ENVIRONMENT: autogpt-benchmark-ci\n          TELEMETRY_OPT_IN: ${{ github.ref_name == 'master' }}\n\n      - name: Push reports to data branch\n        run: |\n          # BODGE: Remove success_rate.json and regression_tests.json to avoid conflicts on checkout\n          rm ${{ env.REPORTS_FOLDER }}/*.json\n\n          # Find folder with newest (untracked) report in it\n          report_subfolder=$(find ${{ env.REPORTS_FOLDER }} -type f -name 'report.json' \\\n            | xargs -I {} dirname {} \\\n            | xargs -I {} git ls-files --others --exclude-standard {} \\\n            | xargs -I {} dirname {} \\\n            | sort -u)\n          json_report_file=\"$report_subfolder/report.json\"\n\n          # Convert JSON report to Markdown\n          markdown_report_file=\"$report_subfolder/report.md\"\n          poetry -C benchmark run benchmark/reports/format.py \"$json_report_file\" > \"$markdown_report_file\"\n          cat \"$markdown_report_file\" >> $GITHUB_STEP_SUMMARY\n\n          git config --global user.name 'GitHub Actions'\n          git config --global user.email 'github-actions@agpt.co'\n          git fetch origin ${{ env.REPORTS_BRANCH }}:${{ env.REPORTS_BRANCH }} \\\n            && git checkout ${{ env.REPORTS_BRANCH }} \\\n            || git checkout --orphan ${{ env.REPORTS_BRANCH }}\n          git reset --hard\n          git add ${{ env.REPORTS_FOLDER }}\n          git commit -m \"Benchmark report for ${{ matrix.agent-name }} @ $(date +'%Y-%m-%d')\" \\\n            && git push origin ${{ env.REPORTS_BRANCH }}\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:41.947829", "created_at": "2024-02-21T02:57:57+01:00", "updated_at": "2024-02-21T02:57:57+01:00", "name": "Frontend CI/CD", "path": ".github/workflows/frontend-ci.yml", "contents": "name: Frontend CI/CD\n\non:\n  push:\n    branches:\n      - master\n      - development\n      - 'ci-test*' # This will match any branch that starts with \"ci-test\"\n    paths:\n      - 'frontend/**'\n      - '.github/workflows/frontend-ci.yml'\n  pull_request:\n    paths:\n      - 'frontend/**'\n      - '.github/workflows/frontend-ci.yml'\n\njobs:\n  build:\n    permissions:\n      contents: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    env:\n      BUILD_BRANCH: ${{ format('frontend-build/{0}', github.ref_name) }}\n\n    steps:\n    - name: Checkout Repo\n      uses: actions/checkout@v4\n\n    - name: Setup Flutter\n      uses: subosito/flutter-action@v2\n      with:\n        flutter-version: '3.13.2'\n\n    - name: Build Flutter to Web\n      run: |\n        cd frontend\n        flutter build web --base-href /app/\n\n    # - name: Commit and Push to ${{ env.BUILD_BRANCH }}\n    #   if: github.event_name == 'push'\n    #   run: |\n    #     git config --local user.email \"action@github.com\"\n    #     git config --local user.name \"GitHub Action\"\n    #     git add frontend/build/web\n    #     git checkout -B ${{ env.BUILD_BRANCH }}\n    #     git commit -m \"Update frontend build to ${GITHUB_SHA:0:7}\" -a\n    #     git push -f origin ${{ env.BUILD_BRANCH }}\n\n    - name: Create PR ${{ env.BUILD_BRANCH }} -> ${{ github.ref_name }}\n      if: github.event_name == 'push'\n      uses: peter-evans/create-pull-request@v6\n      with:\n        add-paths: frontend/build/web\n        base: ${{ github.ref_name }}\n        branch: ${{ env.BUILD_BRANCH }}\n        delete-branch: true\n        title: \"Update frontend build in `${{ github.ref_name }}`\"\n        body: \"This PR updates the frontend build based on commit ${{ github.sha }}.\"\n        commit-message: \"Update frontend build based on commit ${{ github.sha }}\"\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:43.046434", "created_at": "2024-05-26T00:01:45+02:00", "updated_at": "2024-05-26T00:01:45+02:00", "name": "Lint CI", "path": ".github/workflows/lint-ci.yml", "contents": null, "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:44.309591", "created_at": "2024-05-26T00:23:43+02:00", "updated_at": "2024-05-28T05:04:23+02:00", "name": "Python checks", "path": ".github/workflows/python-checks.yml", "contents": "name: Python checks\n\non:\n  push:\n    branches: [ master, development, ci-test* ]\n    paths:\n      - '.github/workflows/lint-ci.yml'\n      - 'autogpt/**'\n      - 'forge/**'\n      - 'benchmark/**'\n      - '**.py'\n      - '!autogpt/tests/vcr_cassettes'\n  pull_request:\n    branches: [ master, development, release-* ]\n    paths:\n      - '.github/workflows/lint-ci.yml'\n      - 'autogpt/**'\n      - 'forge/**'\n      - 'benchmark/**'\n      - '**.py'\n      - '!autogpt/tests/vcr_cassettes'\n\nconcurrency:\n  group: ${{ format('lint-ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }}\n  cancel-in-progress: ${{ startsWith(github.event_name, 'pull_request') }}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  get-changed-parts:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - id: changes-in\n        name: Determine affected subprojects\n        uses: dorny/paths-filter@v3\n        with:\n          filters: |\n            autogpt:\n              - autogpt/autogpt/**\n              - autogpt/tests/**\n              - autogpt/poetry.lock\n            forge:\n              - forge/forge/**\n              - forge/tests/**\n              - forge/poetry.lock\n            benchmark:\n              - benchmark/agbenchmark/**\n              - benchmark/tests/**\n              - benchmark/poetry.lock\n    outputs:\n      changed-parts: ${{ steps.changes-in.outputs.changes }}\n\n  lint:\n    needs: get-changed-parts\n    runs-on: ubuntu-latest\n    env:\n      min-python-version: \"3.10\"\n\n    strategy:\n      matrix:\n        sub-package: ${{ fromJson(needs.get-changed-parts.outputs.changed-parts) }}\n      fail-fast: false\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python ${{ env.min-python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.min-python-version }}\n\n      - name: Set up Python dependency cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles(format('{0}/poetry.lock', matrix.sub-package)) }}\n\n      - name: Install Poetry\n        run: curl -sSL https://install.python-poetry.org | python3 -\n\n      # Install dependencies\n\n      - name: Install Python dependencies\n        run: poetry -C ${{ matrix.sub-package }} install\n\n      # Lint\n\n      - name: Lint (isort)\n        run: poetry run isort --check .\n        working-directory: ${{ matrix.sub-package }}\n\n      - name: Lint (Black)\n        if: success() || failure()\n        run: poetry run black --check .\n        working-directory: ${{ matrix.sub-package }}\n\n      - name: Lint (Flake8)\n        if: success() || failure()\n        run: poetry run flake8 .\n        working-directory: ${{ matrix.sub-package }}\n\n  types:\n    needs: get-changed-parts\n    runs-on: ubuntu-latest\n    env:\n      min-python-version: \"3.10\"\n\n    strategy:\n      matrix:\n        sub-package: ${{ fromJson(needs.get-changed-parts.outputs.changed-parts) }}\n      fail-fast: false\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python ${{ env.min-python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.min-python-version }}\n\n      - name: Set up Python dependency cache\n        uses: actions/cache@v4\n        with:\n          path: ~/.cache/pypoetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles(format('{0}/poetry.lock', matrix.sub-package)) }}\n\n      - name: Install Poetry\n        run: curl -sSL https://install.python-poetry.org | python3 -\n\n      # Install dependencies\n\n      - name: Install Python dependencies\n        run: poetry -C ${{ matrix.sub-package }} install\n\n      # Typecheck\n\n      - name: Typecheck\n        if: success() || failure()\n        run: poetry run pyright\n        working-directory: ${{ matrix.sub-package }}\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:45.398451", "created_at": "2024-06-06T04:30:33+02:00", "updated_at": "2024-06-11T19:29:25+02:00", "name": "AutoGPT Server CI", "path": ".github/workflows/autogpt-server-ci.yml", "contents": "name: AutoGPT Server CI\n\non:\n  push:\n    branches: [master, development, ci-test*]\n    paths:\n      - \".github/workflows/autogpt-server-ci.yml\"\n      - \"rnd/autogpt_server/**\"\n      - \"!autogpt/tests/vcr_cassettes\"\n  pull_request:\n    branches: [master, development, release-*]\n    paths:\n      - \".github/workflows/autogpt-server-ci.yml\"\n      - \"rnd/autogpt_server/**\"\n      - \"!autogpt/tests/vcr_cassettes\"\n\nconcurrency:\n  group: ${{ format('autogpt-server-ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }}\n  cancel-in-progress: ${{ startsWith(github.event_name, 'pull_request') }}\n\ndefaults:\n  run:\n    shell: bash\n    working-directory: rnd/autogpt_server\n\njobs:\n  test:\n    permissions:\n      contents: read\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        platform-os: [ubuntu, macos, macos-arm64, windows]\n    runs-on: ${{ matrix.platform-os != 'macos-arm64' && format('{0}-latest', matrix.platform-os) || 'macos-14' }}\n\n    steps:\n      # Quite slow on macOS (2~4 minutes to set up Docker)\n      # - name: Set up Docker (macOS)\n      #   if: runner.os == 'macOS'\n      #   uses: crazy-max/ghaction-setup-docker@v3\n\n      - name: Start MinIO service (Linux)\n        if: runner.os == 'Linux'\n        working-directory: \".\"\n        run: |\n          docker pull minio/minio:edge-cicd\n          docker run -d -p 9000:9000 minio/minio:edge-cicd\n\n      - name: Start MinIO service (macOS)\n        if: runner.os == 'macOS'\n        working-directory: ${{ runner.temp }}\n        run: |\n          brew install minio/stable/minio\n          mkdir data\n          minio server ./data &\n\n      # No MinIO on Windows:\n      # - Windows doesn't support running Linux Docker containers\n      # - It doesn't seem possible to start background processes on Windows. They are\n      #   killed after the step returns.\n      #   See: https://github.com/actions/runner/issues/598#issuecomment-2011890429\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - id: get_date\n        name: Get date\n        run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n      - name: Set up Python dependency cache\n        # On Windows, unpacking cached dependencies takes longer than just installing them\n        if: runner.os != 'Windows'\n        uses: actions/cache@v4\n        with:\n          path: ${{ runner.os == 'macOS' && '~/Library/Caches/pypoetry' || '~/.cache/pypoetry' }}\n          key: poetry-${{ runner.os }}-${{ hashFiles('rnd/autogpt_server/poetry.lock') }}\n\n      - name: Install Poetry (Unix)\n        if: runner.os != 'Windows'\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 -\n\n          if [ \"${{ runner.os }}\" = \"macOS\" ]; then\n            PATH=\"$HOME/.local/bin:$PATH\"\n            echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n          fi\n\n      - name: Install Poetry (Windows)\n        if: runner.os == 'Windows'\n        shell: pwsh\n        run: |\n          (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -\n\n          $env:PATH += \";$env:APPDATA\\Python\\Scripts\"\n          echo \"$env:APPDATA\\Python\\Scripts\" >> $env:GITHUB_PATH\n\n      - name: Install Python dependencies\n        run: poetry install\n\n      - name: Generate Prisma Client\n        run: poetry run prisma generate\n\n      - name: Run Database Migrations\n        run: poetry run prisma migrate dev --name updates\n\n      - name: Run pytest with coverage\n        run: |\n          poetry run pytest -vv \\\n            test\n        env:\n          CI: true\n          PLAIN_OUTPUT: True\n\n      # - name: Upload coverage reports to Codecov\n      #   uses: codecov/codecov-action@v4\n      #   with:\n      #     token: ${{ secrets.CODECOV_TOKEN }}\n      #     flags: autogpt-server,${{ runner.os }}\n\n  build:\n    permissions:\n      contents: read\n    timeout-minutes: 30\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.10\"]\n        platform-os: [ubuntu, macos, macos-arm64, windows]\n    runs-on: ${{ matrix.platform-os != 'macos-arm64' && format('{0}-latest', matrix.platform-os) || 'macos-14' }}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          submodules: true\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - id: get_date\n        name: Get date\n        run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n      - name: Set up Python dependency cache\n        # On Windows, unpacking cached dependencies takes longer than just installing them\n        if: runner.os != 'Windows'\n        uses: actions/cache@v4\n        with:\n          path: ${{ runner.os == 'macOS' && '~/Library/Caches/pypoetry' || '~/.cache/pypoetry' }}\n          key: poetry-${{ runner.os }}-${{ hashFiles('rnd/autogpt_server/poetry.lock') }}\n\n      - name: Install Poetry (Unix)\n        if: runner.os != 'Windows'\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 -\n\n          if [ \"${{ runner.os }}\" = \"macOS\" ]; then\n            PATH=\"$HOME/.local/bin:$PATH\"\n            echo \"$HOME/.local/bin\" >> $GITHUB_PATH\n          fi\n\n      - name: Install Poetry (Windows)\n        if: runner.os == 'Windows'\n        shell: pwsh\n        run: |\n          (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -\n\n          $env:PATH += \";$env:APPDATA\\Python\\Scripts\"\n          echo \"$env:APPDATA\\Python\\Scripts\" >> $env:GITHUB_PATH\n\n      - name: Install Python dependencies\n        run: poetry install\n\n      - name: Generate Prisma Client\n        run: poetry run prisma generate\n\n      - name: Run Database Migrations\n        run: poetry run prisma migrate dev --name updates\n\n      - name: install rpm\n        if: matrix.platform-os == 'ubuntu'\n        run: sudo apt-get install -y alien fakeroot rpm\n\n      - name: Build distribution\n        run: |\n          case \"${{ matrix.platform-os }}\" in\n            \"macos\" | \"macos-arm64\")\n              ${MAC_COMMAND}\n              ;;\n            \"windows\")\n              ${WINDOWS_COMMAND}\n              ;;\n            *)\n              ${LINUX_COMMAND}\n              ;;\n          esac\n        env:\n          MAC_COMMAND: \"poetry run poe dist_dmg\"\n          WINDOWS_COMMAND: \"poetry run poe dist_msi\"\n          LINUX_COMMAND: \"poetry run poe dist_appimage\"\n\n      # break this into seperate steps each with their own name that matches the file\n      - name: Upload App artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: autogptserver-app-${{ matrix.platform-os }}\n          path: /Users/runner/work/AutoGPT/AutoGPT/rnd/autogpt_server/build/*.app\n\n      - name: Upload dmg artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: autogptserver-dmg-${{ matrix.platform-os }}\n          path: /Users/runner/work/AutoGPT/AutoGPT/rnd/autogpt_server/build/AutoGPTServer.dmg\n\n      - name: Upload msi artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: autogptserver-msi-${{ matrix.platform-os }}\n          path: D:\\a\\AutoGPT\\AutoGPT\\rnd\\autogpt_server\\dist\\*.msi\n\n      - name: Upload deb artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: autogptserver-deb-${{ matrix.platform-os }}\n          path: /Users/runner/work/AutoGPT/AutoGPT/rnd/autogpt_server/build/*.deb\n\n      - name: Upload rpm artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: autogptserver-rpm-${{ matrix.platform-os }}\n          path: /Users/runner/work/AutoGPT/AutoGPT/rnd/autogpt_server/build/*.rpm\n\n      - name: Upload tar.gz artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: autogptserver-tar.gz-${{ matrix.platform-os }}\n          path: /Users/runner/work/AutoGPT/AutoGPT/rnd/autogpt_server/build/*.tar.gz\n\n      - name: Upload zip artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: autogptserver-zip-${{ matrix.platform-os }}\n          path: /Users/runner/work/AutoGPT/AutoGPT/rnd/autogpt_server/build/*.zip\n\n      - name: Upload pkg artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: autogptserver-pkg-${{ matrix.platform-os }}\n          path: /Users/runner/work/AutoGPT/AutoGPT/rnd/autogpt_server/build/*.pkg\n\n      - name: Upload AppImage artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: autogptserver-AppImage-${{ matrix.platform-os }}\n          path: /Users/runner/work/AutoGPT/AutoGPT/rnd/autogpt_server/build/*.AppImage\n", "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:46.645872", "created_at": "2024-06-28T01:26:33+02:00", "updated_at": "2024-06-28T01:30:36+02:00", "name": "AutoGPT Builder CI", "path": ".github/workflows/autogpt-builder-ci.yml", "contents": null, "state": "active", "repository": "Significant-Gravitas/AutoGPT"}
{"mined_at": "2024-07-15T18:49:49.250037", "created_at": "2023-10-06T01:06:09+02:00", "updated_at": "2023-10-06T01:24:57+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n  push:\n    # A branch github-ci-updates can be created and used for ci\n    # experiments and tweaks.\n    branches: [ \"develop\", \"master\", \"github-ci-updates\", \"windows\" ]\n  pull_request:\n    branches: [ \"develop\", \"master\" ]\n\npermissions:\n  contents: read\n\njobs:\n\n  # Run all tests.\n  base-ci:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    strategy:\n      matrix:\n        python_version: [ '3.8', '3.9', '3.10', '3.11' ]\n\n    steps:\n\n    - name: Install Dependencies\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y mecab mecab-ipadic-utf8\n        # Helper checks to find the mecab library path,\n        # so it can be exported before running tests.\n        # Without the export, natto-py fails on github.\n        # echo FIND THE LIB:\n        # which mecab\n        # actual=`readlink -f /usr/bin/mecab`\n        # ldd $actual\n\n    - uses: actions/checkout@v3\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python_version }}\n        cache: 'pip' # caching pip dependencies\n\n    - run: pip install -r requirements.txt\n\n    - name: Setup config\n      run: |\n        mkdir ${{ github.workspace }}/data\n        echo \"ENV: dev\" > ${{ github.workspace }}/lute/config/config.yml\n        echo \"DATAPATH: ${{ github.workspace }}/data\" >> ${{ github.workspace }}/lute/config/config.yml\n        echo \"DBNAME: test_lute.db\" >> ${{ github.workspace }}/lute/config/config.yml\n        ls ${{ github.workspace }}\n        cat ${{ github.workspace }}/lute/config/config.yml\n\n    - name: Test\n      run: |\n        # Have to explicitly set MECAB_PATH for natto-py.\n        set -e\n        export MECAB_PATH=/lib/x86_64-linux-gnu/libmecab.so.2\n        pytest\n\n    # Note that these seem to *pass* even if an acceptance\n    # test fails in GitHub actions ... which is annoying,\n    # because everything passes/fails correctly locally.\n    - name: Acceptance testing\n      run: |\n        set -e\n        export MECAB_PATH=/lib/x86_64-linux-gnu/libmecab.so.2\n        inv accept --headless -s\n\n    # Playwright tests were hanging far too often on github ci,\n    # but not consistently.  No idea what was going wrong.\n    # TODO github ci: fix playwright hanging.\n    - name: Playwright install\n      run: playwright install\n\n    - name: Playwright smoke test\n      run: |\n        set -x\n        set -e\n        inv playwright\n\n    - name: Remove mecab for smoke test without mecab\n      run: |\n        sudo apt-get remove -y mecab mecab-ipadic-utf8\n\n    # Run one particular sanity check.\n    #\n    # Note this isn't _completely_ valid because the test loads\n    # only supported language stories, whereas a prod release\n    # comes with _all_ stories pre-loaded and the invalid ones\n    # are deleted ...\n    - name: Smoke test no mecab\n      run: inv accept --headless -s -k disabled_data_is_hidden\n\n    - name: Check flit package\n      run: |\n        mkdir ${{ github.workspace }}/../lute_flit\n        cd ${{ github.workspace }}/../lute_flit\n        flit -f ${{ github.workspace }}/pyproject.toml install\n\n        python -m lute.main &   # Start in background process\n        sleep 2\n\n        # Verify with utils script back in the workspace\n        # (verify.py is not included in flit install)\n        pushd ${{ github.workspace }}\n        python -m utils.verify 5000\n        popd\n\n        pkill -f \"python -m lute.main\"   # Kill that process.\n\n\n  code-quality:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    strategy:\n      matrix:\n        python_version: [ '3.11' ]\n\n    steps:\n\n    - uses: actions/checkout@v3\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python_version }}\n        cache: 'pip' # caching pip dependencies\n\n    - run: pip install -r requirements.txt\n\n    - name: Lint\n      run: inv lint\n\n    - name: Coding style\n      run: |\n        black --check .\n\n\n  # Test build docker container and try running.\n  # Slightly wasteful re-setup of node.\n  docker-build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    needs: base-ci\n    steps:\n    - uses: actions/checkout@v3\n    - uses: actions/setup-python@v4\n      with:\n        python-version: 3.11\n        cache: 'pip' # caching pip dependencies\n    - run: pip install -r requirements.txt\n    - name: Test docker build\n      run: |\n        docker build -f docker/Dockerfile --build-arg INSTALL_MECAB=false -t lute3 .\n        # Run container in the background, and check.\n        docker run -d -p 5000:5000 -v ./my_data:/lute_data -v ./my_backups:/lute_backup --name my-lute lute3:latest\n        sleep 10  # Give it a moment to start.\n        python -m utils.verify 5000\n        docker stop my-lute\n        docker rm my-lute\n\n\n  # Ensure that basic things work correctly on Windows,\n  # particularly PlatformDirs package.\n  windows-ci:\n\n    runs-on: windows-latest\n    timeout-minutes: 30\n\n    strategy:\n      matrix:\n        python_version: [ '3.8', '3.9', '3.10', '3.11' ]\n\n    steps:\n\n    - uses: actions/checkout@v3\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python_version }}\n        cache: 'pip' # caching pip dependencies\n\n    - name: Setup config\n      run: |\n        mkdir ${{ github.workspace }}\\data\n        echo ENV: dev > ${{ github.workspace }}\\lute\\config\\config.yml\n        echo DATAPATH: ${{ github.workspace }}\\data >> ${{ github.workspace }}\\lute\\config\\config.yml\n        echo DBNAME: test_lute.db >> ${{ github.workspace }}\\lute\\config\\config.yml\n      shell: cmd\n\n    - name: Replace config slashes.\n      run: |\n        $content = [System.IO.File]::ReadAllText(\"${{ github.workspace }}\\lute\\config\\config.yml\").Replace('\\','/')\n        [System.IO.File]::WriteAllText(\"${{ github.workspace }}\\lute\\config\\config.yml\", $content)\n        Get-Content -Path \"${{ github.workspace }}\\lute\\config\\config.yml\"\n\n    - run: pip install -r requirements.txt\n\n    # Can't get playwright to run reliably on Windows.\n    # - name: Playwright install\n    #   run: playwright install\n    # - name: Playwright smoke test\n    #   run: inv playwright || exit /b\n\n    # Run specific sanity check.\n    # Old tests no longer run -- datatables may have timing issues on Windows tests,\n    # tests were far too flaky.\n    # inv accept --headless -s -k test_unsupported_language_not_shown || exit /b\n    # inv accept --headless -s -k import_a_valid_term_file || exit /b\n    - name: Smoke tests\n      run: |\n        inv accept --headless -s -k test_updating_term_status_updates_the_reading_frame || exit /b\n\n    - name: Remove config to force using prod config\n      run: del ${{ github.workspace }}\\lute\\config\\config.yml\n      shell: cmd\n\n    - name: Install prod-like flit package\n      run: |\n        mkdir ${{ github.workspace }}\\..\\lute_flit\n        cd ${{ github.workspace }}\\..\\lute_flit\n        flit -f ${{ github.workspace }}\\pyproject.toml install\n      shell: cmd\n\n    - name: Run Lute application\n      run: |\n        echo \"python -m lute.main\" > run-server.bat\n        cmd /c \"START /b run-server.bat\"\n\n    - name: Wait for application to start\n      run: Start-Sleep -Seconds 10\n\n    - name: Verify flit install\n      run: |\n        cd ${{ github.workspace }}\n        python -m utils.verify 5000\n", "state": "active", "repository": "jzohrab/lute-v3"}
{"mined_at": "2024-07-15T18:49:50.532424", "created_at": "2024-01-04T12:31:33+01:00", "updated_at": "2024-01-04T12:31:33+01:00", "name": "coverage", "path": ".github/workflows/coverage.yml", "contents": "name: coverage\n\non:\n  push:\n    # A branch coverage can be created and used for ci\n    # experiments and tweaks.\n    branches: [ \"master\", \"coverage\" ]\n\npermissions:\n  contents: read\n\njobs:\n\n  # Generate a coverage badge, don't worry if it fails.\n  # Uses https://github.com/Schneegans/dynamic-badges-action to update a secret gist\n  # (ID a15001ec2ff889f7be0b553df9881566) and an API token, per notes at\n  # https://nedbatchelder.com/blog/202209/making_a_coverage_badge.html.\n  # Slightly wasteful in that it re-runs the tests, but it's fastest.\n  coverage:\n    continue-on-error: true\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    steps:\n\n    - name: Install Dependencies\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y mecab mecab-ipadic-utf8\n        # Helper checks to find the mecab library path,\n        # so it can be exported before running tests.\n        # Without the export, natto-py fails on github.\n        # echo FIND THE LIB:\n        # which mecab\n        # actual=`readlink -f /usr/bin/mecab`\n        # ldd $actual\n\n    - uses: actions/checkout@v3\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n        cache: 'pip' # caching pip dependencies\n\n    - run: pip install -r requirements.txt\n\n    - name: Setup config\n      run: |\n        mkdir ${{ github.workspace }}/data\n        echo \"ENV: dev\" > ${{ github.workspace }}/lute/config/config.yml\n        echo \"DATAPATH: ${{ github.workspace }}/data\" >> ${{ github.workspace }}/lute/config/config.yml\n        echo \"DBNAME: test_lute.db\" >> ${{ github.workspace }}/lute/config/config.yml\n        ls ${{ github.workspace }}\n        cat ${{ github.workspace }}/lute/config/config.yml\n\n    - name: Generate coverage\n      run: |\n        # Have to explicitly set MECAB_PATH for natto-py.\n        export MECAB_PATH=/lib/x86_64-linux-gnu/libmecab.so.2\n        coverage run -m pytest tests/\n        coverage json --omit=\"tests/*\"\n        export TOTAL=$(python -c \"import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])\")\n        echo \"total=$TOTAL\" >> $GITHUB_ENV\n        echo \"### Total coverage: ${TOTAL}%\" >> $GITHUB_STEP_SUMMARY\n\n    - name: \"Make badge\"\n      uses: schneegans/dynamic-badges-action@v1.4.0\n      with:\n        # GIST_TOKEN is a GitHub personal access token with scope \"gist\".\n        auth: ${{ secrets.GIST_TOKEN }}\n        gistID: a15001ec2ff889f7be0b553df9881566\n        filename: covbadge.json\n        label: coverage\n        message: ${{ env.total }}%\n        valColorRange: ${{ env.total }}\n        minColorRange: 50\n        maxColorRange: 80\n", "state": "active", "repository": "jzohrab/lute-v3"}
{"mined_at": "2024-07-15T18:49:52.485589", "created_at": "2024-05-30T17:35:09+02:00", "updated_at": "2024-07-08T15:08:30+02:00", "name": "Lint code", "path": ".github/workflows/lint.yml", "contents": "name: Lint code\n\non: [push, pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-20.04\n    timeout-minutes: 10\n\n    steps:\n    - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0\n    - name: Set up Python\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: \"3.x\"\n    - name: Run pre-commit\n      uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0\n", "state": "active", "repository": "atomicals/atomicals-electrumx"}
{"mined_at": "2024-07-15T18:49:53.487718", "created_at": "2024-02-28T17:55:03+01:00", "updated_at": "2024-02-28T17:55:03+01:00", "name": "Run tests", "path": ".github/workflows/tests.yml", "contents": "name: 'Run tests'\n\non:\n  push:\n    branches:\n      - '**'\n  pull_request:\n    branches:\n      - 'master'\n      - 'develop'\n    paths-ignore:\n      - '**/*.md'\n      - '**/*.rst'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n          cache: 'pip'\n      - name: Setup Python caches\n        uses: actions/cache@v2\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py','requirements.txt','requirements-test.txt') }}\n      - name: Install dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -yq libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev librocksdb-dev libleveldb-dev libboost-all-dev libsodium-dev libsecp256k1-dev\n          python -m pip install --upgrade pip setuptools wheel requests\n          pip install -r requirements.txt\n          pip install -r requirements-test.txt\n      - name: Run tests\n        run: |\n          pip install pytest\n          pytest --cov=electrumx --ignore=tests/test_blocks.py --ignore=tests/server/test_compaction.py\n", "state": "active", "repository": "atomicals/atomicals-electrumx"}
{"mined_at": "2024-07-15T18:49:55.556404", "created_at": "2024-06-20T15:33:21+02:00", "updated_at": "2024-06-20T15:33:21+02:00", "name": "CLI integration test", "path": ".github/workflows/_integration_test.yml", "contents": "name: CLI integration test\n\non:\n  workflow_call:\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.11\"\n    name: \"CLI integration test\"\n    defaults:\n      run:\n        working-directory: libs/cli\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ matrix.python-version }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: libs/cli\n          cache-key: integration-test-cli\n\n      - name: Setup env\n        working-directory: libs/cli/examples\n        run: cat .env.example > .env\n      - name: Install cli globally\n        run: pip install -e .\n      - name: Start service A\n        run: |\n          langgraph up -c examples/langgraph.json --wait --verbose\n      - name: Stop service A\n        run: |\n          langgraph down -c examples/langgraph.json\n          sudo rm -rf .langgraph-data\n      - name: Start service B\n        working-directory: libs/cli/examples/graphs\n        run: |\n          langgraph up --wait --verbose\n      - name: Stop service B\n        working-directory: libs/cli/examples/graphs\n        run: |\n          langgraph down\n          sudo rm -rf .langgraph-data\n      - name: Start service C\n        working-directory: libs/cli/examples/graphs_reqs_a\n        run: |\n          langgraph up --wait -d compose.yml --verbose\n      - name: Stop service C\n        working-directory: libs/cli/examples/graphs_reqs_a\n        run: |\n          langgraph down\n          sudo rm -rf .langgraph-data\n      - name: Start service D\n        working-directory: libs/cli/examples/graphs_reqs_b\n        run: |\n          langgraph up --wait -d compose.yml --verbose\n      - name: Stop service D\n        working-directory: libs/cli/examples/graphs_reqs_b\n        run: |\n          langgraph down\n          sudo rm -rf .langgraph-data\n", "state": "active", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:49:56.723496", "created_at": "2024-06-18T03:15:22+02:00", "updated_at": "2024-06-19T21:00:21+02:00", "name": "lint", "path": ".github/workflows/_lint.yml", "contents": "name: lint\n\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        description: \"From which folder this pipeline executes\"\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\n  # This env var allows us to get inline annotations when ruff has complaints.\n  RUFF_OUTPUT_FORMAT: github\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        # Only lint on the min and max supported Python versions.\n        # It's extremely unlikely that there's a lint issue on any version in between\n        # that doesn't show up on the min or max versions.\n        #\n        # GitHub rate-limits how many jobs can be running at any one time.\n        # Starting new jobs is also relatively slow,\n        # so linting on fewer versions makes CI faster.\n        python-version:\n          - \"3.9\"\n          - \"3.11\"\n    name: \"lint #${{ matrix.python-version }}\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ matrix.python-version }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: lint-with-extras\n\n      - name: Check Poetry File\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: poetry check\n\n      - name: Check lock file\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: poetry lock --check\n\n      - name: Install dependencies\n        # Also installs dev/lint/test/typing dependencies, to ensure we have\n        # type hints for as many of our libraries as possible.\n        # This helps catch errors that require dependencies to be spotted, for example:\n        # https://github.com/langchain-ai/langchain/pull/10249/files#diff-935185cd488d015f026dcd9e19616ff62863e8cde8c0bee70318d3ccbca98341\n        #\n        # If you change this configuration, make sure to change the `cache-key`\n        # in the `poetry_setup` action above to stop using the old cache.\n        # It doesn't matter how you change it, any change will cause a cache-bust.\n        working-directory: ${{ inputs.working-directory }}\n        run: poetry install --with dev\n\n      - name: Get .mypy_cache to speed up mypy\n        uses: actions/cache@v3\n        env:\n          SEGMENT_DOWNLOAD_TIMEOUT_MIN: \"2\"\n        with:\n          path: |\n            ${{ inputs.working-directory }}/.mypy_cache\n          key: mypy-lint-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }}\n\n      - name: Analysing package code with our lint\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          if make lint_package > /dev/null 2>&1; then\n            make lint_package\n          else\n            echo \"lint_package command not found, using lint instead\"\n            make lint\n          fi\n\n      - name: Install test dependencies\n        # Also installs dev/lint/test/typing dependencies, to ensure we have\n        # type hints for as many of our libraries as possible.\n        # This helps catch errors that require dependencies to be spotted, for example:\n        # https://github.com/langchain-ai/langchain/pull/10249/files#diff-935185cd488d015f026dcd9e19616ff62863e8cde8c0bee70318d3ccbca98341\n        #\n        # If you change this configuration, make sure to change the `cache-key`\n        # in the `poetry_setup` action above to stop using the old cache.\n        # It doesn't matter how you change it, any change will cause a cache-bust.\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          poetry install --with dev\n\n      - name: Get .mypy_cache_test to speed up mypy\n        uses: actions/cache@v3\n        env:\n          SEGMENT_DOWNLOAD_TIMEOUT_MIN: \"2\"\n        with:\n          path: |\n            ${{ inputs.working-directory }}/.mypy_cache_test\n          key: mypy-test-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{ inputs.working-directory }}-${{ hashFiles(format('{0}/poetry.lock', inputs.working-directory)) }}\n\n      - name: Analysing tests with our lint\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          if make lint_tests > /dev/null 2>&1; then\n            make lint_tests\n          else\n            echo \"lint_tests command not found, skipping step\"\n          fi\n", "state": "disabled_manually", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:49:57.801660", "created_at": "2024-06-18T03:15:22+02:00", "updated_at": "2024-06-19T21:00:40+02:00", "name": "test", "path": ".github/workflows/_test.yml", "contents": "name: test\n\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        description: \"From which folder this pipeline executes\"\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    name: \"test #${{ matrix.python-version }}\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }} + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ matrix.python-version }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: core\n\n      - name: Install dependencies\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: poetry install --with dev\n\n      - name: Run core tests\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          make test\n\n      - name: Ensure the tests did not create any additional files\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          set -eu\n\n          STATUS=\"$(git status)\"\n          echo \"$STATUS\"\n\n          # grep will exit non-zero if the target message isn't found,\n          # and `set -e` above will cause the step to fail.\n          echo \"$STATUS\" | grep 'nothing to commit, working tree clean'\n", "state": "disabled_manually", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:49:58.934154", "created_at": "2024-01-27T23:05:18+01:00", "updated_at": "2024-01-27T23:05:18+01:00", "name": "test-release", "path": ".github/workflows/_test_release.yml", "contents": "name: test-release\n\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        description: \"From which folder this pipeline executes\"\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n  PYTHON_VERSION: \"3.10\"\n\njobs:\n  build:\n    if: github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n\n    outputs:\n      pkg-name: ${{ steps.check-version.outputs.pkg-name }}\n      version: ${{ steps.check-version.outputs.version }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: release\n\n      # We want to keep this build stage *separate* from the release stage,\n      # so that there's no sharing of permissions between them.\n      # The release stage has trusted publishing and GitHub repo contents write access,\n      # and we want to keep the scope of that access limited just to the release job.\n      # Otherwise, a malicious `build` step (e.g. via a compromised dependency)\n      # could get access to our GitHub or PyPI credentials.\n      #\n      # Per the trusted publishing GitHub Action:\n      # > It is strongly advised to separate jobs for building [...]\n      # > from the publish job.\n      # https://github.com/pypa/gh-action-pypi-publish#non-goals\n      - name: Build project for distribution\n        run: poetry build\n        working-directory: ${{ inputs.working-directory }}\n\n      - name: Upload build\n        uses: actions/upload-artifact@v4\n        with:\n          name: test-dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Check Version\n        id: check-version\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          echo pkg-name=\"$(poetry version | cut -d ' ' -f 1)\" >> $GITHUB_OUTPUT\n          echo version=\"$(poetry version --short)\" >> $GITHUB_OUTPUT\n\n  publish:\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    permissions:\n      # This permission is used for trusted publishing:\n      # https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/\n      #\n      # Trusted publishing has to also be configured on PyPI for each package:\n      # https://docs.pypi.org/trusted-publishers/adding-a-publisher/\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: test-dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Publish to test PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: ${{ inputs.working-directory }}/dist/\n          verbose: true\n          print-hash: true\n          repository-url: https://test.pypi.org/legacy/\n\n          # We overwrite any existing distributions with the same name and version.\n          # This is *only for CI use* and is *extremely dangerous* otherwise!\n          # https://github.com/pypa/gh-action-pypi-publish#tolerating-release-package-file-duplicates\n          skip-existing: true\n", "state": "active", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:50:00.065178", "created_at": "2024-06-18T03:15:22+02:00", "updated_at": "2024-06-24T20:44:57+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "---\n    name: CI\n\n    on:\n      push:\n        branches: [main]\n      pull_request:\n\n    # If another push to the same PR or branch happens while this workflow is still running,\n    # cancel the earlier run in favor of the next run.\n    #\n    # There's no point in testing an outdated version of the code. GitHub only allows\n    # a limited number of job runners to be active at the same time, so it's better to cancel\n    # pointless jobs early so that more useful jobs can run sooner.\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n\n    env:\n      POETRY_VERSION: \"1.7.1\"\n\n    jobs:\n      build:\n        runs-on: ubuntu-latest\n        steps:\n          - uses: actions/checkout@v4\n          - uses: actions/setup-python@v5\n            with:\n              python-version: '3.10'\n\n      lint:\n        name: cd ${{ matrix.working-directory }}\n        needs: [ build ]\n        strategy:\n          matrix:\n            working-directory: [\n                \"libs/langgraph\",\n                \"libs/sdk-py\",\n                \"libs/cli\"\n            ]\n        uses: ./.github/workflows/_lint.yml\n        with:\n          working-directory: ${{ matrix.working-directory }}\n        secrets: inherit\n\n      test:\n        name: cd ${{ matrix.working-directory }}\n        needs: [ build ]\n        strategy:\n          matrix:\n            working-directory: [\n                \"libs/langgraph\",\n                \"libs/cli\"\n            ]\n        uses: ./.github/workflows/_test.yml\n        with:\n          working-directory: ${{ matrix.working-directory }}\n        secrets: inherit\n\n      integration-test:\n        name: CLI integration test\n        needs: [ build ]\n        uses: ./.github/workflows/_integration_test.yml\n        secrets: inherit\n\n      lint-js:\n        runs-on: ubuntu-latest\n        needs: [ build ]\n        strategy:\n          matrix:\n            working-directory:\n              - \"libs/sdk-js\"\n        defaults:\n          run:\n            working-directory: ${{ matrix.working-directory }}\n        steps:\n          - uses: actions/checkout@v3\n          - name: Setup Node.js (LTS)\n            uses: actions/setup-node@v3\n            with:\n              node-version: \"20\"\n              cache: \"yarn\"\n              cache-dependency-path: ${{ matrix.working-directory }}/yarn.lock\n          - name: Install dependencies\n            run: yarn install\n          - name: Run lint\n            run: yarn lint\n          - name: Build\n            run: yarn build\n\n      ci_success:\n        name: \"CI Success\"\n        needs: [build, lint, lint-js, test, integration-test]\n        if: |\n          always()\n        runs-on: ubuntu-latest\n        env:\n          JOBS_JSON: ${{ toJSON(needs) }}\n          RESULTS_JSON: ${{ toJSON(needs.*.result) }}\n          EXIT_CODE: ${{!contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && '0' || '1'}}\n        steps:\n          - name: \"CI Success\"\n            run: |\n              echo $JOBS_JSON\n              echo $RESULTS_JSON\n              echo \"Exiting with $EXIT_CODE\"\n              exit $EXIT_CODE\n    ", "state": "active", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:50:01.309074", "created_at": "2024-05-08T08:20:20+02:00", "updated_at": "2024-05-08T19:25:13+02:00", "name": "CI / cd . / make spell_check", "path": ".github/workflows/codespell.yml", "contents": "---\n    name: CI / cd . / make spell_check\n    \n    on:\n      push:\n        branches: [main]\n      pull_request:\n        branches: [main]\n    \n    permissions:\n      contents: read\n    \n    jobs:\n      codespell:\n        name: (Check for spelling errors)\n        runs-on: ubuntu-latest\n    \n        steps:\n          - name: Checkout\n            uses: actions/checkout@v4\n    \n          - name: Install Dependencies\n            run: |\n              pip install toml codespell jupytext\n    \n          - name: Extract Ignore Words List\n            run: |\n              # Use a Python script to extract the ignore words list from pyproject.toml\n              python .github/workflows/extract_ignored_words_list.py\n            id: extract_ignore_words\n    \n          - name: Codespell\n            uses: codespell-project/actions-codespell@v2\n            with:\n              skip: '*.ambr,*.lock,*.ipynb'\n              ignore_words_list: ${{ steps.extract_ignore_words.outputs.ignore_words_list }}\n          # We do this to avoid spellchecking cell outputs\n          - name: Codespell Notebooks\n            run: make codespell", "state": "active", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:50:02.416090", "created_at": "2024-04-08T22:40:22+02:00", "updated_at": "2024-04-12T07:44:36+02:00", "name": "Deploy Docs", "path": ".github/workflows/deploy_docs.yml", "contents": "name: Deploy Docs\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: \"3.12\"\n          poetry-version: ${{ env.POETRY_VERSION }}\n          cache-key: docs\n\n      - name: Install dependencies\n        run: |\n          poetry install --with docs\n\n      - name: Build site\n        run: make build-docs\n        env:\n          MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.MKDOCS_GIT_COMMITTERS_APIKEY }}\n\n      - name: Configure GitHub Pages\n        if: github.ref == 'refs/heads/main'\n        uses: actions/configure-pages@v4\n\n      - name: Upload Pages Artifact\n        if: github.ref == 'refs/heads/main'\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: ./docs/site/\n\n      - name: Deploy to GitHub Pages\n        if: github.ref == 'refs/heads/main'\n        id: deployment\n        uses: actions/deploy-pages@v4\n\n      - name: Deploy Pull Request Preview\n        if: github.event_name == 'pull_request'\n        uses: actions/upload-artifact@v2\n        with:\n          name: pr-preview-${{ github.event.number }}\n          path: ./docs/site/\n", "state": "active", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:50:03.543012", "created_at": "2024-02-19T20:53:34+01:00", "updated_at": "2024-07-03T19:16:39+02:00", "name": "Check Docs & Links", "path": ".github/workflows/link_check.yml", "contents": "name: Check Links\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n  schedule:\n    - cron: \"0 5 * * *\"\n  workflow_dispatch:\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  markdown-link-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Check links in Markdown files\n        uses: gaurav-nelson/github-action-markdown-link-check@v1\n        with:\n          folder-path: 'examples/'\n          check-modified-files-only: ${{ github.event_name != 'schedule' }}\n          file-path: './README.md'\n          config-file: './.markdown-link-check.config.json'\n\n  notebook-link-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Set up Python 3.x + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: \"3.11\"\n          poetry-version: ${{ env.POETRY_VERSION }}\n          cache-key: core\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          poetry install --with docs\n          poetry run pip install -U pytest pytest-check-links langsmith langchain GitPython\n\n      # - name: Check links in notebooks\n      #   env:\n      #     LANGCHAIN_API_KEY: test\n      #   run: |\n      #     if [ \"${{ github.event_name }}\" != \"schedule\" ]; then\n      #       git fetch origin main\n      #       CHANGED_FILES=$(git diff --name-only origin/main | grep '\\.ipynb$')\n      #       if [ -n \"$CHANGED_FILES\" ]; then\n      #         poetry run pytest -o python_files=non_python_only --check-links --check-links-ignore \"https://(api|web)\\.smith\\.langchain\\.com/.*\" --check-links-ignore \"https://x.com/.*\" $CHANGED_FILES \n      #       else\n      #         echo \"No notebook files changed.\"\n      #       fi\n      #     else\n      #       poetry run pytest -o python_files=non_python_only --check-links --ignore=\"*.py\" -k .ipynb --check-links-ignore \"https://(api|web)\\.smith\\.langchain\\.com/.*\" --check-links-ignore \"https://x.com/.*\" ./examples\n      #     fi\n", "state": "active", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:50:04.544507", "created_at": "2024-01-27T21:53:26+01:00", "updated_at": "2024-06-19T04:14:05+02:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:50:05.795505", "created_at": "2024-01-27T23:05:18+01:00", "updated_at": "2024-06-28T20:00:09+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\nrun-name: Release ${{ inputs.working-directory }} by @${{ github.actor }}\non:\n  workflow_dispatch:\n    inputs:\n      working-directory:\n        required: true\n        type: string\n        default: 'libs/langgraph'\n\nenv:\n  PYTHON_VERSION: \"3.11\"\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  build:\n    if: github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n\n    outputs:\n      pkg-name: ${{ steps.check-version.outputs.pkg-name }}\n      version: ${{ steps.check-version.outputs.version }}\n      tag: ${{ steps.check-version.outputs.tag }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: release\n\n      # We want to keep this build stage *separate* from the release stage,\n      # so that there's no sharing of permissions between them.\n      # The release stage has trusted publishing and GitHub repo contents write access,\n      # and we want to keep the scope of that access limited just to the release job.\n      # Otherwise, a malicious `build` step (e.g. via a compromised dependency)\n      # could get access to our GitHub or PyPI credentials.\n      #\n      # Per the trusted publishing GitHub Action:\n      # > It is strongly advised to separate jobs for building [...]\n      # > from the publish job.\n      # https://github.com/pypa/gh-action-pypi-publish#non-goals\n      - name: Build project for distribution\n        run: poetry build\n        working-directory: ${{ inputs.working-directory }}\n\n      - name: Upload build\n        uses: actions/upload-artifact@v4\n        with:\n          name: dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Check Version\n        id: check-version\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        run: |\n          PKG_NAME=\"$(poetry version | cut -d ' ' -f 1)\"\n          VERSION=\"$(poetry version --short)\"\n          SHORT_PKG_NAME=\"$(echo \"$PKG_NAME\" | sed -e 's/langgraph//g' -e 's/-//g')\"\n          if [ -z $SHORT_PKG_NAME ]; then\n            TAG=\"$VERSION\"\n          else\n            TAG=\"${SHORT_PKG_NAME}==${VERSION}\"\n          fi\n          echo pkg-name=\"$PKG_NAME\" >> $GITHUB_OUTPUT\n          echo version=\"$VERSION\" >> $GITHUB_OUTPUT\n          echo tag=\"$TAG\" >> $GITHUB_OUTPUT\n\n  release-notes:\n    needs:\n      - build\n    runs-on: ubuntu-latest\n    outputs:\n      release-body: ${{ steps.generate-release-body.outputs.release-body }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: langchain-ai/langgraph\n          path: langgraph\n          sparse-checkout: | # this only grabs files for relevant dir\n            ${{ inputs.working-directory }}\n          ref: main # this scopes to just master branch\n          fetch-depth: 0 # this fetches entire commit history\n      - name: Check Tags\n        id: check-tags\n        shell: bash\n        working-directory: langgraph/${{ inputs.working-directory }}\n        env:\n          PKG_NAME: ${{ needs.build.outputs.pkg-name }}\n          VERSION: ${{ needs.build.outputs.version }}\n          TAG: ${{ needs.build.outputs.tag }}\n        run: |\n          REGEX=\"^$PKG_NAME==\\\\d+\\\\.\\\\d+\\\\.\\\\d+\\$\"\n          echo $REGEX\n          PREV_TAG=$(git tag --sort=-creatordate | grep -P $REGEX || true | head -1)\n          if [ \"$TAG\" == \"$PREV_TAG\" ]; then\n            echo \"No new version to release\"\n            exit 1\n          fi\n          echo prev-tag=\"$PREV_TAG\" >> $GITHUB_OUTPUT\n      - name: Generate release body\n        id: generate-release-body\n        working-directory: langgraph\n        env:\n          WORKING_DIR: ${{ inputs.working-directory }}\n          PKG_NAME: ${{ needs.build.outputs.pkg-name }}\n          TAG: ${{ needs.build.outputs.tag }}\n          PREV_TAG: ${{ steps.check-tags.outputs.prev-tag }}\n        run: |\n          {\n            echo 'release-body<<EOF'\n            echo \"# Release $TAG\"\n            if [ -z \"$PREV_TAG\" ]; then\n              echo \"Initial release\"\n            else\n              echo \"Changes since $PREV_TAG\"\n              echo\n              git log --format=\"%s\" \"$PREV_TAG\"..HEAD -- $WORKING_DIR\n            fi\n            echo EOF\n          } >> \"$GITHUB_OUTPUT\"\n\n  test-pypi-publish:\n    needs:\n      - build\n      - release-notes\n    uses:\n      ./.github/workflows/_test_release.yml\n    with:\n      working-directory: ${{ inputs.working-directory }}\n    secrets: inherit\n\n  pre-release-checks:\n    needs:\n      - build\n      - release-notes\n      - test-pypi-publish\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      # We explicitly *don't* set up caching here. This ensures our tests are\n      # maximally sensitive to catching breakage.\n      #\n      # For example, here's a way that caching can cause a falsely-passing test:\n      # - Make the langchain package manifest no longer list a dependency package\n      #   as a requirement. This means it won't be installed by `pip install`,\n      #   and attempting to use it would cause a crash.\n      # - That dependency used to be required, so it may have been cached.\n      #   When restoring the venv packages from cache, that dependency gets included.\n      # - Tests pass, because the dependency is present even though it wasn't specified.\n      # - The package is published, and it breaks on the missing dependency when\n      #   used in the real world.\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n\n      - name: Import published package\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n        env:\n          PKG_NAME: ${{ needs.build.outputs.pkg-name }}\n          VERSION: ${{ needs.build.outputs.version }}\n        # Here we use:\n        # - The default regular PyPI index as the *primary* index, meaning\n        #   that it takes priority (https://pypi.org/simple)\n        # - The test PyPI index as an extra index, so that any dependencies that\n        #   are not found on test PyPI can be resolved and installed anyway.\n        #   (https://test.pypi.org/simple). This will include the PKG_NAME==VERSION\n        #   package because VERSION will not have been uploaded to regular PyPI yet.\n        # - attempt install again after 5 seconds if it fails because there is\n        #   sometimes a delay in availability on test pypi\n        run: |\n          poetry run pip install \\\n            --extra-index-url https://test.pypi.org/simple/ \\\n            \"$PKG_NAME==$VERSION\" || \\\n          ( \\\n            sleep 5 && \\\n            poetry run pip install \\\n              --extra-index-url https://test.pypi.org/simple/ \\\n              \"$PKG_NAME==$VERSION\" \\\n          )\n\n          # Replace all dashes in the package name with underscores,\n          # since that's how Python imports packages with dashes in the name.\n          IMPORT_NAME=\"$(echo \"$PKG_NAME\" | sed s/-/_/g)\"\n\n          poetry run python -c \"import $IMPORT_NAME; print(dir($IMPORT_NAME))\"\n\n      - name: Import test dependencies\n        run: poetry install --with dev\n        working-directory: ${{ inputs.working-directory }}\n\n      # Overwrite the local version of the package with the test PyPI version.\n      - name: Import published package (again)\n        working-directory: ${{ inputs.working-directory }}\n        shell: bash\n        env:\n          PKG_NAME: ${{ needs.build.outputs.pkg-name }}\n          VERSION: ${{ needs.build.outputs.version }}\n        run: |\n          poetry run pip install \\\n            --extra-index-url https://test.pypi.org/simple/ \\\n            \"$PKG_NAME==$VERSION\"\n\n      - name: Run unit tests\n        run: make test\n        working-directory: ${{ inputs.working-directory }}\n\n  publish:\n    needs:\n      - build\n      - release-notes\n      - test-pypi-publish\n      - pre-release-checks\n    runs-on: ubuntu-latest\n    permissions:\n      # This permission is used for trusted publishing:\n      # https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/\n      #\n      # Trusted publishing has to also be configured on PyPI for each package:\n      # https://docs.pypi.org/trusted-publishers/adding-a-publisher/\n      id-token: write\n\n    defaults:\n      run:\n        working-directory: ${{ inputs.working-directory }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: release\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: ${{ inputs.working-directory }}/dist/\n          verbose: true\n          print-hash: true\n\n  mark-release:\n    needs:\n      - build\n      - release-notes\n      - test-pypi-publish\n      - pre-release-checks\n      - publish\n    runs-on: ubuntu-latest\n    permissions:\n      # This permission is needed by `ncipollo/release-action` to\n      # create the GitHub release.\n      contents: write\n\n    defaults:\n      run:\n        working-directory: ${{ inputs.working-directory }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python + Poetry ${{ env.POETRY_VERSION }}\n        uses: \"./.github/actions/poetry_setup\"\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          poetry-version: ${{ env.POETRY_VERSION }}\n          working-directory: ${{ inputs.working-directory }}\n          cache-key: release\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: dist\n          path: ${{ inputs.working-directory }}/dist/\n\n      - name: Create Tag\n        uses: ncipollo/release-action@v1\n        with:\n          artifacts: \"dist/*\"\n          token: ${{ secrets.GITHUB_TOKEN }}\n          generateReleaseNotes: false\n          tag: ${{needs.build.outputs.tag}}\n          body: ${{ needs.release-notes.outputs.release-body }}\n          commit: ${{ github.sha }}\n", "state": "active", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:50:06.924537", "created_at": "2024-06-20T02:29:03+02:00", "updated_at": "2024-06-20T02:29:03+02:00", "name": "JS Release", "path": ".github/workflows/release_js.yml", "contents": "name: JS Release\n\non:\n  workflow_dispatch:\n\njobs:\n  publish:\n    # Disallow publishing from branches that aren't `main`.\n    if: github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        working-directory:\n          - \"libs/sdk-js\"\n\n    defaults:\n      run:\n        working-directory: ${{ matrix.working-directory }}\n\n    steps:\n      - uses: actions/checkout@v4\n      # JS Build\n      - name: Use Node.js\n        uses: actions/setup-node@v3\n        with:\n          node-version: \"20\"\n          cache: \"yarn\"\n          cache-dependency-path: ${{ matrix.working-directory }}/yarn.lock\n\n      - name: Install dependencies\n        run: yarn install\n      - name: Build\n        run: yarn build\n      - name: Publish package to NPM\n        run: |\n          echo \"//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}\" > .npmrc\n          npm publish", "state": "active", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:50:07.959925", "created_at": "2024-01-27T21:53:26+01:00", "updated_at": "2024-06-19T04:14:05+02:00", "name": "test", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:50:09.061708", "created_at": "2024-04-02T17:30:43+02:00", "updated_at": "2024-04-02T17:30:43+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "langchain-ai/langgraph"}
{"mined_at": "2024-07-15T18:50:11.215901", "created_at": "2023-02-17T04:09:13+01:00", "updated_at": "2023-03-08T10:57:36+01:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\non:\n  push:\n    branches:\n      - v0.2-stable\n  pull_request:\n    branches:\n      - v0.2-release\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: 3.x\n      - run: pip install mkdocs-material mkdocstrings-python\n      - run: mkdocs gh-deploy --force\n", "state": "active", "repository": "DeMarcoLab/fibsem"}
{"mined_at": "2024-07-15T18:50:12.276813", "created_at": "2023-04-04T06:30:04+02:00", "updated_at": "2023-04-06T03:44:26+02:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Python package\n\non:\n  pull_request:\n    branches: [ \"v0.2-release\" ]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -e .\n    - name: Test with pytest\n      run: |\n        pytest\n", "state": "active", "repository": "DeMarcoLab/fibsem"}
{"mined_at": "2024-07-15T18:50:13.474784", "created_at": "2022-11-10T03:31:50+01:00", "updated_at": "2022-11-10T03:31:50+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "DeMarcoLab/fibsem"}
{"mined_at": "2024-07-15T18:50:15.500567", "created_at": "2024-07-12T17:00:04+02:00", "updated_at": "2024-07-12T17:00:04+02:00", "name": "Check for broken links", "path": ".github/workflows/broken-link-checker.yml", "contents": null, "state": "active", "repository": "marcelscruz/public-apis"}
{"mined_at": "2024-07-15T18:50:16.493723", "created_at": "2022-05-11T08:31:32+02:00", "updated_at": "2022-12-05T15:14:56+01:00", "name": "Tests of push & pull", "path": ".github/workflows/test_of_push_and_pull.yml", "contents": "name: 'Tests of push & pull'\n\non:\n    workflow_dispatch:\n    # push:\n    # branches: [ main ]\n    # pull_request:\n    # branches: [ main ]\n\nenv:\n    FILENAME: README.md\n\njobs:\n    tests:\n        name: 'Validate README.md changes'\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout repository\n              uses: actions/checkout@v2\n\n            - name: Set up Python\n              uses: actions/setup-python@v2\n              with:\n                  python-version: '3.8'\n\n            - name: Install dependencies\n              run: python -m pip install -r scripts/requirements.txt\n\n            - name: Validate Markdown format\n              run: python scripts/validate/format.py ${FILENAME}\n\n            - name: Validate pull request changes\n              run: scripts/github_pull_request.sh ${{ github.repository }} ${{ github.event.pull_request.number }} ${FILENAME}\n              if: github.event_name == 'pull_request'\n\n            - name: Checking if push changes are duplicated\n              run: python scripts/validate/links.py ${FILENAME} --only_duplicate_links_checker\n              if: github.event_name == 'push'\n", "state": "active", "repository": "marcelscruz/public-apis"}
{"mined_at": "2024-07-15T18:50:17.495933", "created_at": "2022-05-11T08:31:32+02:00", "updated_at": "2022-12-05T15:14:56+01:00", "name": "Tests of validate package", "path": ".github/workflows/test_of_validate_package.yml", "contents": "name: 'Tests of validate package'\n\non:\n    workflow_dispatch:\n    # push:\n    # branches: [ main ]\n    # pull_request:\n    # branches: [ main ]\n\njobs:\n    unittest:\n        name: 'Run tests of validate package'\n        runs-on: ubuntu-latest\n\n        steps:\n            - name: Checkout repository\n              uses: actions/checkout@v2\n\n            - name: Set up Python\n              uses: actions/setup-python@v2\n              with:\n                  python-version: '3.8'\n\n            - name: Install dependencies\n              run: python -m pip install -r scripts/requirements.txt\n\n            - name: Run Unittest\n              run: |\n                  cd scripts\n                  python -m unittest discover tests/ --verbose\n", "state": "active", "repository": "marcelscruz/public-apis"}
{"mined_at": "2024-07-15T18:50:18.595495", "created_at": "2022-11-18T18:52:03+01:00", "updated_at": "2022-11-18T18:52:03+01:00", "name": "Update DB", "path": ".github/workflows/update-db.yml", "contents": "name: Update DB\n\non:\n    push: { branches: main }\n    # schedule:\n    #     # Every day at 00:00AM\n    #     - cron: '0 0 * * *'\n    workflow_dispatch:\n\njobs:\n    update-db:\n        runs-on: ubuntu-latest\n        steps:\n            - uses: actions/checkout@v3\n            - uses: actions/setup-node@v3\n            - run: npm install\n            - run: npm run update-db\n            - run: |\n                  git config user.name \"GitHub Actions Bot\"\n                  git config user.email \"<>\"\n            - run: git add .\n            - run: git commit -m \"Auto updating db\" || echo \"Nothing to commit\"\n            - run: git push origin HEAD:main\n", "state": "active", "repository": "marcelscruz/public-apis"}
{"mined_at": "2024-07-15T18:50:19.824246", "created_at": "2022-05-11T08:31:32+02:00", "updated_at": "2022-12-05T15:14:56+01:00", "name": "Validate links", "path": ".github/workflows/validate_links.yml", "contents": "name: 'Validate links'\n\non:\n    workflow_dispatch:\n    # schedule:\n    # - cron:  '0 0 * * *'\n\nenv:\n    FILENAME: README.md\n\njobs:\n    validate_links:\n        name: 'Check all links are working'\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout repository\n              uses: actions/checkout@v2\n\n            - name: Set up Python\n              uses: actions/setup-python@v2\n              with:\n                  python-version: '3.8'\n\n            - name: Install dependencies\n              run: python -m pip install -r scripts/requirements.txt\n\n            - name: Validate all links from README.md\n              run: python scripts/validate/links.py ${FILENAME}\n", "state": "active", "repository": "marcelscruz/public-apis"}
{"mined_at": "2024-07-15T18:50:21.974505", "created_at": "2020-09-25T08:52:46+02:00", "updated_at": "2024-01-09T16:47:31+01:00", "name": "pre-commit hooks", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit hooks\n\non:\n  pull_request:\n  push:\n    branches:\n      - 'main'\n      - 'release/*'\n  merge_group:\n    branches: ['main']\n\npermissions:\n  contents: read\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Harden Runner\n      uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n      with:\n        egress-policy: audit\n\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n    - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n    - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1\n", "state": "active", "repository": "microsoft/Qcodes"}
{"mined_at": "2024-07-15T18:50:23.103109", "created_at": "2020-09-26T10:28:07+02:00", "updated_at": "2020-09-26T10:28:07+02:00", "name": "Run mypy and pytest", "path": ".github/workflows/pytest.yaml", "contents": "name: Run mypy and pytest\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\non:\n  push:\n    branches:\n      - 'main'\n      - 'release/*'\n    tags:\n      - 'v*'\n  pull_request:\n  merge_group:\n    branches: ['main']\n\npermissions:\n  contents: read\n\njobs:\n  pytestmypy:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # don't stop other jobs if one fails\n      # this is often due to network issues\n      # and or flaky tests\n      # and the time lost in such cases\n      # is bigger than the gain from canceling the job\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        min-version: [false]\n        include:\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n            min-version: true\n        exclude:\n          - os: ubuntu-latest\n            python-version: \"3.10\"\n          - os: windows-latest\n            python-version: \"3.11\"\n          - os: windows-latest\n            python-version: \"3.12\"\n    env:\n      OS: ${{ matrix.os }}\n      PYTHON: ${{ matrix.python-version }}\n\n    steps:\n\n    - name: Harden Runner\n      uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n      with:\n        egress-policy: audit\n\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      with:\n        submodules: true\n        # we need full history with tags for the version number\n        fetch-depth: '0'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n          requirements.txt\n    - name: upgrade pip setuptools wheel\n      run: python -m pip install --upgrade pip setuptools wheel\n      shell: bash\n    - name: install qcodes with minimum requirements\n      run: |\n        pip install uv\n        uv pip compile pyproject.toml --extra test --resolution=lowest-direct --output-file min-requirements.txt\n        pip install -r min-requirements.txt\n        pip install .[test]\n        echo \"PYTEST_OPT=-Wignore\" >> $GITHUB_ENV\n      if: ${{ matrix.min-version }}\n    - name: install qcodes\n      run: |\n        pip install .[test] -c requirements.txt\n        echo \"PYTEST_OPT=\" >> $GITHUB_ENV\n      if: ${{ !matrix.min-version }}\n    - name: Get Pyright Version\n      id: pyright-version\n      run: |\n        PYRIGHT_VERSION=$(jq -r '.devDependencies.pyright' < package.json)\n        echo $PYRIGHT_VERSION\n        echo \"version=$PYRIGHT_VERSION\" >> $GITHUB_OUTPUT\n      working-directory: .github\n      shell: bash\n    - uses: jakebailey/pyright-action@3bdde3b31d26f0f1f5de051b1fbd7a536a9a4e7f # v2.3.1\n      with:\n        version: ${{ steps.pyright-version.outputs.version }}\n      if: ${{ !matrix.min-version }}\n    - name: Run Mypy\n      run: mypy -p qcodes\n      if: ${{ !matrix.min-version }}\n    - name: Run parallel tests\n      run: |\n        pytest -m \"not serial\" --cov=qcodes --cov-report xml --hypothesis-profile ci  --durations=20 $PYTEST_OPT tests\n# a subset of the tests fails when run in parallel on Windows so run those in serial here\n    - name: Run serial tests\n      run: |\n        pytest -m \"serial\" -n 0 --dist no --cov=qcodes --cov-report xml --cov-append --hypothesis-profile ci $PYTEST_OPT tests\n    - name: Upload coverage to Codecov\n      uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0\n      with:\n        file: ./coverage.xml\n        env_vars: OS,PYTHON\n        token: ${{ secrets.CODECOV_TOKEN }}\n      if: ${{ github.event_name != 'merge_group' }}\n      # we don't trigger coverage from merge groups since that would\n      # make twice the number of coverage reports be uploded from a given commit\n", "state": "active", "repository": "microsoft/Qcodes"}
{"mined_at": "2024-07-15T18:50:24.251807", "created_at": "2020-09-26T11:55:09+02:00", "updated_at": "2020-09-26T11:55:09+02:00", "name": "build docs", "path": ".github/workflows/docs.yaml", "contents": "name: build docs\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\non:\n  push:\n    branches:\n      - 'main'\n      - 'release/*'\n    tags:\n      - 'v*'\n  pull_request:\n  merge_group:\n    branches: ['main']\n\npermissions:\n  contents: read\n\njobs:\n  builddocs:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # don't stop other jobs if one fails\n      # this is often due to network issues\n      # and or flaky tests\n      # and the time lost in such cases\n      # is bigger than the gain from canceling the job\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.10\", \"3.11\", \"3.12\"]\n        exclude:\n          - os: windows-latest\n            python-version: 3.10\n          - os: windows-latest\n            python-version: 3.11\n    env:\n      OS: ${{ matrix.os }}\n      SPHINX_WARNINGS_AS_ERROR: true\n      SPHINX_OPTS: \"-v -j 2\"\n    steps:\n    - name: Harden Runner\n      uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n      with:\n        egress-policy: audit\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      with:\n        # we need full history with tags for the version number\n        fetch-depth: '0'\n    - name: set-sphinx-opts\n      run: |\n        echo \"SPHINX_OPTS=-W -v --keep-going -j 2\" >> $GITHUB_ENV\n      if: ${{ fromJSON(env.SPHINX_WARNINGS_AS_ERROR) }}\n    - name: install pandoc linux\n    # add the || true logic to not error in case the index cannot be fetched.\n    # this is known to have happened before e.g.\n    # https://github.com/microsoft/linux-package-repositories/issues/130\n      run: |\n        sudo apt update || true\n        sudo apt install pandoc\n      if: runner.os == 'Linux'\n    - name: Install pandoc on windows\n      uses: Wandalen/wretry.action@6feedb7dedadeb826de0f45ff482b53b379a7844 # v3.5.0\n      with:\n        action: crazy-max/ghaction-chocolatey@v1.6.0\n        with: |\n          args: install pandoc\n        attempt_limit: 5\n        attempt_delay: 1000\n      if: runner.os == 'Windows'\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n          requirements.txt\n          docs/conf.py\n    - name: upgrade pip setuptools wheel\n      run: python -m pip install --upgrade pip setuptools wheel\n      shell: bash\n    - name: install qcodes\n      run: pip install -c requirements.txt .[docs]\n    - name: Build docs on linux\n      run: |\n        cd docs\n        export SPHINXOPTS=\"${{ env.SPHINX_OPTS }}\"\n        make html\n      if: runner.os == 'Linux'\n    - name: Build docs on windows\n      run: |\n        cd docs\n        $env:SPHINXOPTS = \"${{ env.SPHINX_OPTS }}\"\n        ./make.bat html\n      if: runner.os == 'Windows'\n    - name: Upload build docs\n      uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n      with:\n        name: docs_${{ matrix.python-version }}_${{ matrix.os }}\n        path: ${{ github.workspace }}/docs/_build/html\n\n\n  deploydocs:\n    needs: builddocs\n    runs-on: \"ubuntu-latest\"\n    permissions:\n      contents: write  # we need to be allowed to push to gh-pages\n    if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}\n    steps:\n\n    - name: Harden Runner\n      uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n      with:\n        egress-policy: audit\n\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n    - name: Download artifact\n      uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n      with:\n        name: docs_3.11_ubuntu-latest\n        path: build_docs\n\n    - name: Deploy to gh pages\n      uses: JamesIves/github-pages-deploy-action@5c6e9e9f3672ce8fd37b9856193d2a537941e66c # v4.6.1\n      with:\n        branch: gh-pages\n        folder: ${{ github.workspace }}/build_docs/\n        clean: true\n        single-commit: true\n        git-config-email: \"bot\"\n        git-config-name: \"Documentation Bot\"\n", "state": "active", "repository": "microsoft/Qcodes"}
{"mined_at": "2024-07-15T18:50:25.323398", "created_at": "2021-02-11T13:36:33+01:00", "updated_at": "2021-02-11T13:36:33+01:00", "name": "Upload Python Package", "path": ".github/workflows/upload_to_pypi.yaml", "contents": "name: Upload Python Package\n\non:\n  push:\n    tags:\n      - v*\n\npermissions:\n  contents: read\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n    environment: pypi-release-env\n    permissions:\n      id-token: write\n    steps:\n    - name: Harden Runner\n      uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n      with:\n        egress-policy: audit\n\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n    - name: Set up Python\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: '3.10'\n    - name: Install build deps\n      run: pip install --upgrade pip setuptools wheel build\n    - name: Build\n      run: |\n        python -m build\n    - name: Install Twine\n      run: pip install twine\n    - name: Publish to pypi\n      uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # release/v1\n", "state": "active", "repository": "microsoft/Qcodes"}
{"mined_at": "2024-07-15T18:50:26.456899", "created_at": "2021-08-30T10:46:45+02:00", "updated_at": "2021-09-02T13:35:51+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '42 15 * * 0'\n  push:\n    branches:\n      - 'main'\n      - 'release/*'\n  pull_request:\n\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n\n    steps:\n    - name: Harden Runner\n      uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n      with:\n        egress-policy: audit\n\n    - name: Checkout repository\n      uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n", "state": "active", "repository": "microsoft/Qcodes"}
{"mined_at": "2024-07-15T18:50:27.469742", "created_at": "2021-12-17T08:47:40+01:00", "updated_at": "2021-12-17T08:47:40+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "microsoft/Qcodes"}
{"mined_at": "2024-07-15T18:50:28.630516", "created_at": "2022-02-09T13:49:09+01:00", "updated_at": "2022-02-09T15:07:57+01:00", "name": "Lint with Darker", "path": ".github/workflows/darker.yaml", "contents": "name: Lint with Darker\n\non:\n  push:\n    branches:\n      - 'main'\n      - 'release/*'\n  pull_request:\n  merge_group:\n    branches: ['main']\n\npermissions:\n  contents: read\n\njobs:\n  lint-with-darker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.11\"\n      - uses: akaihola/darker@0fcbba37081b4801113c2b017ee5134ecc8b3cd0 # 2.1.1\n        with:\n          options: \"--check --diff\"\n          src: \"./src/qcodes\"\n          revision: \"origin/main...\"\n", "state": "active", "repository": "microsoft/Qcodes"}
{"mined_at": "2024-07-15T18:50:29.640613", "created_at": "2024-01-23T11:21:59+01:00", "updated_at": "2024-01-23T11:21:59+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecards.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '20 7 * * 2'\n  push:\n    branches: [\"main\"]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      contents: read\n      actions: read\n\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: \"Checkout code\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecards on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "microsoft/Qcodes"}
{"mined_at": "2024-07-15T18:50:30.715292", "created_at": "2024-01-23T11:51:29+01:00", "updated_at": "2024-01-23T14:21:06+01:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request,\n# surfacing known-vulnerable versions of the packages declared or updated in the PR.\n# Once installed, if the workflow run is marked as required,\n# PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: 'Checkout Repository'\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@72eb03d02c7872a771aacd928f3123ac62ad6d3a # v4.3.3\n", "state": "active", "repository": "microsoft/Qcodes"}
{"mined_at": "2024-07-15T18:50:31.784505", "created_at": "2024-07-15T06:12:04+02:00", "updated_at": "2024-07-15T06:12:04+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "microsoft/Qcodes"}
{"mined_at": "2024-07-15T18:50:33.852941", "created_at": "2023-12-18T15:21:14+01:00", "updated_at": "2023-12-18T15:27:17+01:00", "name": "Nightly Testing", "path": ".github/workflows/nightly_testing.yml", "contents": "name: Nightly Testing\n\non:\n  schedule:\n    # Set with UTC time\n    - cron: \"0 5 * * *\"\njobs:\n  random-test-order:\n    strategy:\n      fail-fast: false\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Poetry\n        run: pipx install poetry\n      - name: Configure poetry\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: install Just\n        uses: taiki-e/install-action@just\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          cache: \"poetry\"\n      - name: Install Dependencies\n        run: |\n          just install\n          poetry add --group dev pytest-randomly\n      - name: Test with pytest in random order\n        run: just test-ci\n", "state": "active", "repository": "sanders41/meilisearch-python-sdk"}
{"mined_at": "2024-07-15T18:50:34.857288", "created_at": "2021-06-27T19:49:22+02:00", "updated_at": "2021-06-27T19:49:22+02:00", "name": "PyPi Publish", "path": ".github/workflows/pypi_publish.yaml", "contents": "name: PyPi Publish\non:\n  release:\n    types:\n    - published\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install Poetry\n      run: pipx install poetry\n    - name: Add pypi token to Poetry\n      run: poetry config pypi-token.pypi ${{ secrets.PYPI_API_KEY }}\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n        cache: \"poetry\"\n    - name: Install Dependencies\n      run: poetry install\n    - name: Publish package\n      run: poetry publish --build\n    - name: Deploy Docs\n      run: poetry run mkdocs gh-deploy --force\n", "state": "active", "repository": "sanders41/meilisearch-python-sdk"}
{"mined_at": "2024-07-15T18:50:35.870523", "created_at": "2021-06-27T19:49:37+02:00", "updated_at": "2021-06-27T19:49:37+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yaml", "contents": "name: Release Drafter\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  update_release_draft:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: release-drafter/release-drafter@v6\n        with:\n          config-name: release-draft-template.yaml\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "sanders41/meilisearch-python-sdk"}
{"mined_at": "2024-07-15T18:50:36.869980", "created_at": "2021-06-27T19:49:23+02:00", "updated_at": "2023-10-03T03:52:13+02:00", "name": "Testing", "path": ".github/workflows/testing.yaml", "contents": "name: Testing\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Poetry\n        run: pipx install poetry\n      - name: Configure poetry\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: install Just\n        uses: taiki-e/install-action@just\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.8\n          cache: \"poetry\"\n      - name: Install Dependencies\n        run: just install\n      - name: mypy check\n        run: just mypy\n\n  parallel-testing:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Poetry\n        run: pipx install poetry\n      - name: Configure poetry\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: install Just\n        uses: taiki-e/install-action@just\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"poetry\"\n      - name: Install Dependencies\n        run: just install\n      - name: Test with pytest\n        run: just test-parallel-ci\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n\n  no-parallel-testing:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Poetry\n        run: pipx install poetry\n      - name: Configure poetry\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: install Just\n        uses: taiki-e/install-action@just\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"poetry\"\n      - name: Install Dependencies\n        run: just install\n      - name: Test with pytest\n        run: just test-no-parallel-ci\n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          fail_ci_if_error: true\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install Poetry\n        run: pipx install poetry\n      - name: Configure poetry\n        run: |\n          poetry config virtualenvs.create true\n          poetry config virtualenvs.in-project true\n      - name: install Just\n        uses: taiki-e/install-action@just\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"poetry\"\n      - name: Install Dependencies\n        run: just install\n      - name: Test Docs Build\n        run: just build-docs\n", "state": "active", "repository": "sanders41/meilisearch-python-sdk"}
{"mined_at": "2024-07-15T18:50:37.840751", "created_at": "2022-01-12T00:50:36+01:00", "updated_at": "2022-01-12T00:50:36+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "sanders41/meilisearch-python-sdk"}
{"mined_at": "2024-07-15T18:50:40.211293", "created_at": "2024-03-15T19:09:10+01:00", "updated_at": "2024-03-15T19:09:10+01:00", "name": "Documentation", "path": ".github/workflows/pages.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# Sample workflow for building and deploying a Jekyll site to GitHub Pages\nname: Documentation\n\non:\n  push:\n    branches: [\"main\"]\n    paths: [\"docs/**\"] # only changes in the docs directory triger the workflow\n\n  pull_request:\n    branches: [\"main\"]\n    types: [\"closed\"]\n    paths: [\"docs/**\"]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow one concurrent deployment\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: true\n\njobs:\n  # Build job\n  build:\n    runs-on: ubuntu-latest\n    defaults:\n        run:\n          working-directory: docs\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Setup Ruby\n        uses: ruby/setup-ruby@v1\n        with:\n          ruby-version: '3.1' # Not needed with a .ruby-version file\n          bundler-cache: true # runs 'bundle install' and caches installed gems automatically\n          cache-version: 0 # Increment this number if you need to re-download cached gems\n          working-directory: '${{ github.workspace }}/docs'\n\n      - name: Setup Pages\n        id: pages\n        uses: actions/configure-pages@v3\n\n      - name: Build with Jekyll\n        # Outputs to the './_site' directory by default\n        run: bundle exec jekyll build --baseurl \"${{ steps.pages.outputs.base_path }}\"\n        env:\n          JEKYLL_ENV: production\n\n      - name: Upload artifact\n        # Automatically uploads an artifact from the './_site' directory by default\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: \"docs/_site/\"\n\n\n  # Deployment job\n  deploy:\n    permissions:\n      contents: read\n      pages: write\n      id-token: write\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: build\n\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v2\n", "state": "active", "repository": "llmware-ai/llmware"}
{"mined_at": "2024-07-15T18:50:41.325592", "created_at": "2024-05-06T21:33:44+02:00", "updated_at": "2024-05-06T21:33:44+02:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": null, "state": "active", "repository": "llmware-ai/llmware"}
{"mined_at": "2024-07-15T18:50:42.449247", "created_at": "2024-03-15T18:45:43+01:00", "updated_at": "2024-03-15T18:45:43+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "llmware-ai/llmware"}
{"mined_at": "2024-07-15T18:50:44.810201", "created_at": "2024-02-09T21:06:21+01:00", "updated_at": "2024-02-09T21:06:21+01:00", "name": "Crowdin download", "path": ".github/workflows/crowdin-download.yaml", "contents": "name: Crowdin download\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 6 * * *\"\n\npermissions: write-all\n\njobs:\n  synchronize-with-crowdin:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: crowdin action\n        uses: crowdin/github-action@v2\n        with:\n          upload_sources: false\n          upload_translations: false\n          download_translations: true\n          localization_branch_name: crowdin\n          create_pull_request: true\n          pull_request_title: 'Update translations'\n          pull_request_body: 'New Crowdin translations submitted'\n          pull_request_base_branch_name: 'main'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}\n          CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}\n", "state": "active", "repository": "andrew-codechimp/HA-Battery-Notes"}
{"mined_at": "2024-07-15T18:50:46.038603", "created_at": "2024-02-09T21:06:21+01:00", "updated_at": "2024-02-09T21:06:21+01:00", "name": "Crowdin upload", "path": ".github/workflows/crowdin-upload.yaml", "contents": "name: Crowdin upload\n\non:\n  push:\n    paths:\n      - 'custom_components/battery_notes/translations/*'\n    branches:\n      - \"main\"\n  workflow_dispatch:\n\njobs:\n  synchronize-with-crowdin:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: crowdin action\n        uses: crowdin/github-action@v2\n        with:\n          upload_sources: true\n          upload_translations: true\n          download_translations: false\n        env:\n          GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}\n          CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}\n          CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}\n", "state": "active", "repository": "andrew-codechimp/HA-Battery-Notes"}
{"mined_at": "2024-07-15T18:50:47.157188", "created_at": "2024-01-17T15:10:57+01:00", "updated_at": "2024-01-30T17:58:09+01:00", "name": "Deploy docs", "path": ".github/workflows/deploy_docs.yml", "contents": "name: Deploy docs\non:\n  push:\n    paths:\n      - 'mkdocs.yml'\n      - 'docs/**'\n    branches:\n      - main\npermissions:\n  contents: write\njobs:\n  deploy_docs:\n    name: Deploy docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - run: echo \"cache_id=$(date --utc '+%V')\" >> $GITHUB_ENV\n      - uses: actions/cache@v4\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n      - run: pip install mkdocs-material\n      - run: mkdocs gh-deploy --force\n", "state": "active", "repository": "andrew-codechimp/HA-Battery-Notes"}
{"mined_at": "2024-07-15T18:50:48.290944", "created_at": "2023-12-31T16:48:10+01:00", "updated_at": "2023-12-31T16:48:10+01:00", "name": "JSON Library Sorter and Doc Gen", "path": ".github/workflows/json_librarian.yml", "contents": "name: JSON Library Sorter and Doc Gen\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n      - 'custom_components/battery_notes/data/library.json'\n      - '.github/workflows/json_librarian.yml'\n      - '.github/workflows/scripts/library_doc/**'\n\njobs:\n  librarian:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set up python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: \"pip\"\n\n      - name: Clean up JSON library file\n        id: update-json\n        uses: jannekem/run-python-script-action@v1\n        with:\n          script: |\n            import json\n\n            # Load the existing JSON library file\n            with open(\"custom_components/battery_notes/data/library.json\", \"r\", encoding=\"UTF-8\") as f:\n                devices_json = json.loads(f.read())\n                devices = devices_json.get(\"devices\")\n\n            # Sort the devices by manufacturer and model\n            devices.sort(key=lambda k: (k[\"manufacturer\"].lower(), k[\"model\"].lower(), k.get(\"hw_version\", \"\").lower()))\n            with open(\"custom_components/battery_notes/data/library.json\", \"w\", encoding=\"UTF-8\") as f:\n                f.write(json.dumps(devices_json, indent=4))\n\n      - name: Install library doc generator dependencies\n        run: |\n          python -m pip install -r ${{ github.workspace }}/.github/scripts/library_doc/requirements.txt\n\n      - name: Generate library doc\n        run: |\n          python3 ${{ github.workspace }}/.github/scripts/library_doc/generate_file.py\n\n      - name: Commit any changes\n        uses: stefanzweifel/git-auto-commit-action@v5\n", "state": "active", "repository": "andrew-codechimp/HA-Battery-Notes"}
{"mined_at": "2024-07-15T18:50:49.307384", "created_at": "2023-12-21T03:44:28+01:00", "updated_at": "2023-12-21T03:44:28+01:00", "name": "JSON Library Sorter", "path": ".github/workflows/json_library_sort.yml", "contents": null, "state": "active", "repository": "andrew-codechimp/HA-Battery-Notes"}
{"mined_at": "2024-07-15T18:50:50.380445", "created_at": "2023-12-11T10:38:06+01:00", "updated_at": "2023-12-11T11:18:40+01:00", "name": "Validate JSONs", "path": ".github/workflows/json_validate.yml", "contents": "name: Validate JSONs\n\non:\n  workflow_dispatch:\n  push:\n    paths:\n    - 'custom_components/battery_notes/schema.json'\n    - 'custom_components/battery_notes/data/**'\n    - '.github/workflows/json*.yml'\n  pull_request:\n    paths:\n    - 'custom_components/battery_notes/schema.json'\n    - 'custom_components/battery_notes/data/**'\n    - '.github/workflows/json*.yml'\n\njobs:\n  verify-json-validation:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Validate JSON\n        uses: dsanders11/json-schema-validate-action@v1.1.2\n        with:\n          schema: custom_components/battery_notes/schema.json\n          files: custom_components/battery_notes/data/library.json\n          \n", "state": "active", "repository": "andrew-codechimp/HA-Battery-Notes"}
{"mined_at": "2024-07-15T18:50:51.473500", "created_at": "2023-08-17T15:02:10+02:00", "updated_at": "2023-08-17T15:02:10+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  push:\n    branches:\n      - \"main\"\n    paths:\n      - '**.py' # Run if pushed commits include a change to a Python (.py) file.\n      - '.github/workflows/lint.yml' # Run if pushed commits include a change to a github actions workflow file.\n      - 'requirements.txt' # Run if pushed commits include a change to the Python requirements.txt file.\n      - '.ruff.toml' # Run if ruff configuration file changes.\n  pull_request:\n    branches:\n      - \"main\"\n    paths:\n      - '**.py' # Run if pushed commits include a change to a Python (.py) file.\n      - '.github/workflows/lint.yml' # Run if pushed commits include a change to a github actions workflow file.\n      - 'requirements.txt' # Run if pushed commits include a change to the Python requirements.txt file.\n      - '.ruff.toml' # Run if ruff configuration file changes.\n  workflow_dispatch:\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n        python-version:\n          - \"3.12\"\n\n    runs-on: ${{ matrix.os }}\n\n    permissions:\n      security-events: write\n      actions: read\n      contents: read\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n\n      - name: Install uv and create venv\n        run: |\n          pip install -U pip uv\n          uv venv\n\n      - name: Enable venv\n        run: |\n          source .venv/bin/activate\n          echo $PATH >> $GITHUB_PATH\n\n      - name: Install dependencies\n        run: |\n          if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi\n\n      - name: Analyse the code with ruff\n        run: |\n          python3 -m ruff check .\n", "state": "active", "repository": "andrew-codechimp/HA-Battery-Notes"}
{"mined_at": "2024-07-15T18:50:52.799368", "created_at": "2023-12-16T13:23:22+01:00", "updated_at": "2023-12-16T13:23:22+01:00", "name": "New Device", "path": ".github/workflows/new_device.yml", "contents": "name: New Device\n\non:\n  issues:\n    types: [opened, edited]\n\njobs:\n  create-device-pull-request:\n    if: ${{ contains(github.event.issue.labels.*.name, 'new-device') }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Parse device data\n        id: device-data\n        uses: issue-ops/parser@v1\n        with:\n          body: ${{ github.event.issue.body }}\n          issue-form-template: new_device_request.yml\n\n      - name: Install jq\n        run: sudo apt install jq\n\n      - name: Set up python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: Update JSON file\n        id: update-json\n        uses: jannekem/run-python-script-action@v1\n        with:\n          script: |\n            import re\n            import json\n\n            # Load the existing JSON library file\n            with open(\"custom_components/battery_notes/data/library.json\",'r') as f:\n              devices_json = json.loads(f.read())\n              devices = devices_json.get('devices')\n\n            # Remove the \"battery_quantity\" key from the device dictionary if it's 1\n            new_device = ${{ steps.device-data.outputs.json }}\n            # Convert battery_quantity field to a numeric\n            numeric_quantity = int(new_device[\"battery_quantity\"]) \n            del new_device[\"battery_quantity\"]\n            # Add  numeric \"battery_quantity\" key if it's more than 1\n            if numeric_quantity > 1:\n              new_device[\"battery_quantity\"] = numeric_quantity\n\n            # Check for duplicates and replace old entry with new one\n            duplicate_found = False\n            for i, device in enumerate(devices):\n              if device[\"manufacturer\"] == new_device[\"manufacturer\"] and device[\"model\"] == new_device[\"model\"]:\n                devices[i] = new_device\n                duplicate_found = True\n                break\n\n            # If no duplicate found, add the new device to the JSON library file\n            if not duplicate_found:\n              devices.append(new_device)\n\n            # Save manufacturer and model for later use\n            set_output(\"mm\", \"_\".join(re.findall(r\"\\w+\",f\"{new_device['manufacturer']}{new_device['model']})\".lower())))\n            set_output(\"manufacturer\", \"_\".join(re.findall(r\"\\w+\",f\"{new_device['manufacturer']})\")))\n            set_output(\"model\", \"_\".join(re.findall(r\"\\w+\",f\"{new_device['model']})\")))\n            set_output(\"bqt\", f\"{numeric_quantity}x {new_device['battery_type']}\")\n\n            if duplicate_found:\n              set_output(\"mode\", \"updates\")\n            else:\n              set_output(\"mode\", \"adds\")            \n\n            with open(\"custom_components/battery_notes/data/library.json\", \"w\") as f:\n              f.write(json.dumps(devices_json, indent=4))\n\n      - name: Rename Issue\n        run: |\n          curl --request PATCH \\\n            --url https://api.github.com/repos/${{github.repository}}/issues/${{github.event.issue.number}} \\\n            --header 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \\\n            --header 'Content-Type: application/json' \\\n            --data '{\n              \"title\": \"Device: ${{ steps.update-json.outputs.manufacturer }} - ${{ steps.update-json.outputs.model }}\"\n            }'\n\n      - name: Validate JSON\n        uses: docker://orrosenblatt/validate-json-action:latest\n        env:\n          INPUT_SCHEMA: custom_components/battery_notes/schema.json\n          INPUT_JSONS: custom_components/battery_notes/data/library.json\n\n      - name: Create pull request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          commit-message: \"Update device: ${{ steps.update-json.outputs.model }} by ${{ steps.update-json.outputs.manufacturer }}\"\n          title: \"Device: ${{ steps.update-json.outputs.manufacturer }} - ${{ steps.update-json.outputs.model }}\"\n          body: \"This pull request ${{ steps.update-json.outputs.mode }} the device information for ${{ steps.update-json.outputs.model }} by ${{ steps.update-json.outputs.manufacturer }} with ${{ steps.update-json.outputs.bqt }}\\nIt closes issue #${{ github.event.issue.number }}\"\n          branch: \"device-${{ steps.update-json.outputs.mm }}\"\n\n      - name: Close Issue\n        run: gh issue close --comment \"Thanks for the contribution. We're auto-closing this issue. If it's a new device, a pull request will be created that will be reviewed and merged.\" ${{github.event.issue.number}}\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \n", "state": "active", "repository": "andrew-codechimp/HA-Battery-Notes"}
{"mined_at": "2024-07-15T18:50:53.938896", "created_at": "2023-08-17T15:02:10+02:00", "updated_at": "2023-08-17T15:02:10+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: \"Release\"\n\non:\n  release:\n    types:\n      - \"published\"\n\npermissions: {}\n\njobs:\n  release:\n    name: \"Release\"\n    runs-on: \"ubuntu-latest\"\n    permissions:\n      contents: write\n    steps:\n      - name: \"Checkout the repository\"\n        uses: \"actions/checkout@v4\"\n\n      - name: \"Adjust version number\"\n        shell: \"bash\"\n        run: |\n          yq -i -o json '.version=\"${{ github.event.release.tag_name }}\"' \\\n            \"${{ github.workspace }}/custom_components/battery_notes/manifest.json\"\n\n      - name: \"ZIP the integration directory\"\n        shell: \"bash\"\n        run: |\n          cd \"${{ github.workspace }}/custom_components/battery_notes\"\n          zip battery_notes.zip -r ./\n\n      - name: \"Upload the ZIP file to the release\"\n        uses: softprops/action-gh-release@v2.0.5\n        with:\n          files: ${{ github.workspace }}/custom_components/battery_notes/battery_notes.zip\n", "state": "active", "repository": "andrew-codechimp/HA-Battery-Notes"}
{"mined_at": "2024-07-15T18:50:54.979643", "created_at": "2023-08-17T15:02:10+02:00", "updated_at": "2023-08-17T15:02:10+02:00", "name": "Validate", "path": ".github/workflows/validate.yml", "contents": "name: \"Validate\"\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron:  \"0 0 * * *\"\n  push:\n    branches:\n      - \"main\"\n    paths-ignore:\n      - 'custom_components/battery_notes/data/**'\n      - 'docs/**'\n      - 'README.md'\n      - 'library.md'\n      - 'mkdocs.yml'\n  pull_request:\n    branches:\n      - \"main\"\n    paths-ignore:\n      - 'custom_components/battery_notes/data/**'\n      - 'README.md'\n      - 'library.md'\n\njobs:\n  hassfest: # https://developers.home-assistant.io/blog/2020/04/16/hassfest\n    name: \"Hassfest Validation\"\n    runs-on: \"ubuntu-latest\"\n    steps:\n        - name: \"Checkout the repository\"\n          uses: \"actions/checkout@v4\"\n\n        - name: \"Run hassfest validation\"\n          uses: \"home-assistant/actions/hassfest@master\"\n\n  hacs: # https://github.com/hacs/action\n    name: \"HACS Validation\"\n    runs-on: \"ubuntu-latest\"\n    steps:\n        - name: \"Checkout the repository\"\n          uses: \"actions/checkout@v4\"\n\n        - name: \"Run HACS validation\"\n          uses: \"hacs/action@main\"\n          with:\n            category: \"integration\"\n", "state": "active", "repository": "andrew-codechimp/HA-Battery-Notes"}
{"mined_at": "2024-07-15T18:50:55.991316", "created_at": "2024-01-17T15:12:43+01:00", "updated_at": "2024-01-17T15:12:43+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "andrew-codechimp/HA-Battery-Notes"}
{"mined_at": "2024-07-15T18:50:58.224285", "created_at": "2024-03-19T07:53:38+01:00", "updated_at": "2024-03-19T08:54:24+01:00", "name": "Test Catalog Consistency", "path": ".github/workflows/catalog_consistency.yml", "contents": "name: Test Catalog Consistency\n\non:\n   push:\n     branches: [ main ]\n   pull_request:\n     branches: [ main ]\n\njobs:\n   run-catalog-consistency:\n\n     runs-on: ubuntu-latest\n     env:\n       OS: ubuntu-latest\n       GENAI_KEY: \"dummy\"\n\n     steps:\n     - uses: actions/checkout@v4\n\n     - uses: actions/setup-python@v5\n       with:\n         python-version: '3.9'\n         cache: 'pip' # caching pip dependencies\n     - run: pip install -r requirements/base.rqr\n     - run: pip install -r requirements/tests.rqr\n\n     - name: Install Unitxt From Source\n       run: pip install -e .\n\n     - name: Run Tests\n       run: python utils/prepare_all_artifacts.py", "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:50:59.331033", "created_at": "2024-02-12T12:53:00+01:00", "updated_at": "2024-02-13T09:19:17+01:00", "name": "Test Catalog Preparation", "path": ".github/workflows/catalog_preparation.yml", "contents": "name: Test Catalog Preparation\n\non:\n   push:\n     branches: [ main ]\n   pull_request:\n     branches: [ main ]\n\njobs:\n   run-catalog-preparation:\n\n     runs-on: ubuntu-latest\n     env:\n       OS: ubuntu-latest\n       GENAI_KEY: \"dummy\"\n\n     steps:\n     - uses: actions/checkout@v4\n\n     - uses: actions/setup-python@v5\n       with:\n         python-version: '3.9'\n         cache: 'pip' # caching pip dependencies\n     - run: pip install -r requirements/base.rqr\n     - run: pip install -r requirements/tests.rqr\n     - run: pip install -e .\n\n     - name: Run Tests\n       run: python -m unittest discover -s tests/catalog -p \"test_*.py\"", "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:00.579082", "created_at": "2024-03-17T12:29:12+01:00", "updated_at": "2024-03-17T13:59:26+01:00", "name": "Test Catalog Preparation", "path": ".github/workflows/catalog_preparation_consistency.yml", "contents": null, "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:01.590636", "created_at": "2024-02-12T12:49:41+01:00", "updated_at": "2024-02-12T12:49:41+01:00", "name": "Test Catalog Code", "path": ".github/workflows/catalog_prepration.yml", "contents": null, "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:02.580203", "created_at": "2024-01-29T14:30:28+01:00", "updated_at": "2024-01-29T14:31:51+01:00", "name": "Test Catalog Validity and Freshness", "path": ".github/workflows/catalog_validity.yml", "contents": null, "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:03.666125", "created_at": "2023-12-20T19:53:49+01:00", "updated_at": "2023-12-20T20:57:20+01:00", "name": "Test Docs Compilation", "path": ".github/workflows/docs.yml", "contents": "name: Test Docs Compilation\n\non:\n    push:\n      branches: [ main ]\n    pull_request:\n      branches: [ main ]\n\njobs:\n    compile-docs:\n\n      runs-on: ubuntu-latest\n      env:\n        OS: ubuntu-latest\n        PYTHONPATH: ./docs\n\n      steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n          cache: 'pip' # caching pip dependencies\n      - run: pip install -r requirements/base.rqr\n      - run: pip install -r requirements/docs.rqr\n\n      - name: Install package\n        run: |\n          pip install -e .\n\n      - name: Print Python Path\n        run: python -c \"import sys; print(sys.path)\"\n\n      - name: Compile Docs\n        run: make docs\n\n\n", "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:04.879983", "created_at": "2023-07-20T14:36:38+02:00", "updated_at": "2023-07-20T14:36:38+02:00", "name": "Release new version HuggingFace Hub", "path": ".github/workflows/hub.yml", "contents": "name: Release new version HuggingFace Hub\n\non:\n  release:\n    types: [created]\n\njobs:\n  push-to-hf-hub:\n    name: Release new version to HuggingFace Hub\n    runs-on: ubuntu-latest\n    steps:\n\n    - uses: actions/checkout@v3\n      with:\n        ref: main\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v3\n      with:\n        python-version: '3.9'\n\n    - name: Install Requirements\n      run: pip install -r requirements/base.rqr\n\n    - name: Install Requirements\n      run: pip install isort\n\n    - name: Prepare dataset imports\n      run: >-\n        bash ./utils/hf/prepare_dataset_imports.sh\n\n    - name: Prepare metric imports\n      run: >-\n        bash ./utils/hf/prepare_metric_imports.sh\n\n    - name: Push dataset to HuggingFace Hub\n      env:\n        HUGGINGFACE_HUB_TOKEN: ${{ secrets.UNITXT_HUGGINGFACE_WRITE_TOKEN }}\n      run: >-\n        python ./utils/hf/prepare_dataset.py\n\n    - name: Push metric to HuggingFace Hub\n      env:\n        HUGGINGFACE_HUB_TOKEN: ${{ secrets.UNITXT_HUGGINGFACE_WRITE_TOKEN }}\n      run: >-\n        python ./utils/hf/prepare_metric.py\n", "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:06.202027", "created_at": "2024-05-26T14:23:54+02:00", "updated_at": "2024-06-06T11:38:02+02:00", "name": "Test Library Code Eager Execution", "path": ".github/workflows/library_eager_execution_tests.yml", "contents": "name: Test Library Code Eager Execution\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  run-full-tests-suit:\n\n    runs-on: ubuntu-latest\n    env:\n      OS: ubuntu-latest\n      UNITXT_USE_EAGER_EXECUTION: True\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n        cache: 'pip' # caching pip dependencies\n    - run: pip install -r requirements/base.rqr\n    - run: pip install -r requirements/tests.rqr\n    - run: pip install -e .\n    - run: pip install coverage[toml]\n\n    - name: Run Tests\n      run:  coverage run --omit=*/preparation -m unittest discover -s tests/library -p \"test_*.py\"\n\n    - name: Upload Coverage to Codecov\n      uses: codecov/codecov-action@v2", "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:07.439837", "created_at": "2024-02-12T12:49:41+01:00", "updated_at": "2024-02-13T09:19:17+01:00", "name": "Test Library Code", "path": ".github/workflows/library_tests.yml", "contents": "name: Test Library Code\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  run-full-tests-suit:\n\n    runs-on: ubuntu-latest\n    env:\n      OS: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '3.9'\n        cache: 'pip' # caching pip dependencies\n    - run: pip install -r requirements/base.rqr\n    - run: pip install -r requirements/tests.rqr\n    - run: pip install -e .\n    - run: pip install coverage[toml]\n\n    - name: Run Tests\n      run:  coverage run --omit=*/preparation -m unittest discover -s tests/library -p \"test_*.py\"\n\n    - name: Upload Coverage to Codecov\n      uses: codecov/codecov-action@v2", "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:08.555731", "created_at": "2023-12-19T10:33:42+01:00", "updated_at": "2023-12-19T10:33:42+01:00", "name": "Test Python Code with Shards", "path": ".github/workflows/parallel_tests.yml", "contents": null, "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:09.795641", "created_at": "2023-07-16T12:24:00+02:00", "updated_at": "2024-03-28T16:01:24+01:00", "name": "Upload Python Package to PyPI when a Release is Created", "path": ".github/workflows/pipy.yml", "contents": "name: Upload Python Package to PyPI when a Release is Created\n\non:\n  release:\n    types: [created]\n\njobs:\n  pypi-publish:\n    name: Publish release to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: release\n      url: https://pypi.org/p/unitxt\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel\n      - name: Build package\n        run: |\n          python setup.py sdist bdist_wheel  # Could also be python -m build\n      - name: Publish package distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:10.844459", "created_at": "2023-10-05T15:15:11+02:00", "updated_at": "2023-10-05T15:45:10+02:00", "name": "Verify Code Quality & Security", "path": ".github/workflows/quality.yml", "contents": "name: Verify Code Quality & Security\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  verify-pre-commit-executed:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install requirements\n        run: |\n          pip install -r requirements/dev.rqr\n      - name: Install the pre-commit hooks\n        run: |\n            pre-commit install\n      - name: Validate all pre-commit verification were run correctly\n        run: |\n            pre-commit run --all-files\n      - name: Send failure message\n        if: failure()  # This step will only run if a previous step failed\n        run: echo \"The quality & security verification failed. This is likely due to not using pre-commit hooks please run 'pre-commit install' befroe any commit. \"\n", "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:11.847667", "created_at": "2024-01-29T10:46:19+01:00", "updated_at": "2024-01-29T14:16:55+01:00", "name": "Test Catalog Code", "path": ".github/workflows/test_catalog.yml", "contents": null, "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:12.966350", "created_at": "2024-04-09T14:11:03+02:00", "updated_at": "2024-04-10T19:35:45+02:00", "name": "Test HELM Integration", "path": ".github/workflows/test_helm.yml", "contents": "name: Test HELM Integration\n\non:\n    push:\n      branches: [ main ]\n    pull_request:\n      branches: [ main ]\n\njobs:\n    test-helm:\n\n      runs-on: ubuntu-latest\n      env:\n        OS: ubuntu-latest\n\n      steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.8'\n          cache: 'pip' # caching pip dependencies\n      - run: pip install --upgrade 'crfm-helm[unitxt]>=0.5.0'\n\n      - name: Test Helm\n        run: utils/run_helm.sh\n\n", "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:14.007212", "created_at": "2024-01-29T14:16:55+01:00", "updated_at": "2024-01-29T14:39:23+01:00", "name": "Test Library Code", "path": ".github/workflows/test_library.yml", "contents": null, "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:15.053350", "created_at": "2024-01-29T10:46:19+01:00", "updated_at": "2024-01-29T11:14:18+01:00", "name": "Unit Test Python Code", "path": ".github/workflows/unittests.yml", "contents": null, "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:16.070453", "created_at": "2023-11-28T21:44:05+01:00", "updated_at": "2023-11-28T21:44:05+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "IBM/unitxt"}
{"mined_at": "2024-07-15T18:51:18.151864", "created_at": "2021-07-12T15:34:43+02:00", "updated_at": "2022-07-08T08:01:27+02:00", "name": "Code check", "path": ".github/workflows/code-checks.yml", "contents": "name: Code check\n\non:\n  push:\n    branches: [master, \"release/*\"]\n  pull_request:\n    branches: [master, \"release/*\"]\n    paths:\n      - \".actions/*\"\n      - \".github/workflows/code-checks.yml\"\n      - \"requirements/**\"\n      - \"src/**\"\n      - \"pyproject.toml\" # includes mypy config\n      - \"!requirements/docs.txt\"\n      - \"!requirements/*/docs.txt\"\n      - \"!*.md\"\n      - \"!**/*.md\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  mypy:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10.6\"\n\n      - name: Mypy cache\n        uses: actions/cache@v4\n        with:\n          path: .mypy_cache\n          key: mypy-${{ hashFiles('requirements/typing.txt') }}\n\n      - name: Install dependencies\n        env:\n          FREEZE_REQUIREMENTS: 1\n        timeout-minutes: 20\n        run: |\n          # TODO: investigate hanging installation with app sub-package\n          pip install -e '.[pytorch-all,fabric-all]' -r requirements/typing.txt\n          pip list\n\n      - name: Check typing\n        run: mypy\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:19.318908", "created_at": "2021-11-14T22:38:17+01:00", "updated_at": "2021-11-15T15:27:45+01:00", "name": "Probot", "path": ".github/workflows/probot-auto-cc.yml", "contents": "name: Probot\n\non:\n  issues:\n    types: [labeled]\n  # should use `pull_request_target` but it's blocked by\n  # https://github.com/probot/probot/issues/1635\n  # so this job will not run on forks until the above is fixed\n  pull_request:\n    types: [labeled, ready_for_review]\n\njobs:\n  auto-cc:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'issue' || github.event.pull_request.draft == false\n    timeout-minutes: 5\n    steps:\n      - uses: Lightning-AI/probot@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          job: auto-cc\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:20.347059", "created_at": "2022-07-11T23:46:40+02:00", "updated_at": "2023-04-27T21:02:01+02:00", "name": "Label Pull Requests", "path": ".github/workflows/labeler.yml", "contents": null, "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:21.471090", "created_at": "2022-07-28T21:36:27+02:00", "updated_at": "2023-05-10T16:46:35+02:00", "name": "Check Schema", "path": ".github/workflows/ci-schema.yml", "contents": "name: Check Schema\n\non:\n  push:\n    branches: [master, \"release/*\"]\n  pull_request:\n    branches: [master, \"release/*\"]\n\njobs:\n  check:\n    uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@v0.11.2\n    with:\n      # skip azure due to the wrong schema file by MSFT\n      # https://github.com/Lightning-AI/lightning-flash/pull/1455#issuecomment-1244793607\n      azure-dir: \"\"\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:22.595859", "created_at": "2022-07-28T21:42:07+02:00", "updated_at": "2023-05-10T16:46:34+02:00", "name": "Package", "path": ".github/workflows/ci-pkg-install.yml", "contents": "name: Package\n\n# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows\non:\n  push:\n    branches: [master, \"release/*\"]\n  pull_request:\n    branches: [master, \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped\n    paths:\n      - \".actions/*\"\n      - \"requirements/ci.txt\"\n      - \".github/actions/pkg-check/*\"\n      - \".github/actions/pkg-install/*\"\n      - \".github/workflows/_build-packages.yml\"\n      - \".github/workflows/ci-pkg-install.yml\"\n      - \"setup.py\"\n      - \"src/**\"\n      - \"requirements/**\"\n      - \"!requirements/docs.txt\"\n      - \"!requirements/*/docs.txt\"\n      - \"!*.md\"\n      - \"!**/*.md\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  build-packages:\n    uses: ./.github/workflows/_build-packages.yml\n    with:\n      artifact-name: dist-packages-${{ github.sha }}\n\n  install-pkg:\n    needs: build-packages\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-22.04\", \"macOS-12\", \"windows-2022\"]\n        pkg-name: [\"app\", \"fabric\", \"pytorch\", \"lightning\", \"notset\"]\n        python-version: [\"3.8\", \"3.11\"]\n        # TODO: add also install from source\n        include:\n          - { os: \"macOS-12\", pkg-name: \"lightning\", python-version: \"3.9\", pkg-extra: \"app\" }\n          - { os: \"macOS-12\", pkg-name: \"notset\", python-version: \"3.9\", pkg-extra: \"app\" }\n          - { os: \"ubuntu-22.04\", pkg-name: \"lightning\", python-version: \"3.9\", pkg-extra: \"app\" }\n          - { os: \"ubuntu-22.04\", pkg-name: \"notset\", python-version: \"3.9\", pkg-extra: \"app\" }\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/download-artifact@v3\n        with:\n          name: dist-packages-${{ github.sha }}\n          path: dist\n\n      - name: Set package dir\n        run: |\n          python -c \"print('PKG_DIR=' + {'notset': 'lightning'}.get('${{matrix.pkg-name}}', '${{matrix.pkg-name}}'))\" >> $GITHUB_ENV\n      - name: Install package - wheel & archive\n        uses: ./.github/actions/pkg-install\n        timeout-minutes: 25\n        with:\n          pkg-folder: dist/${{ env.PKG_DIR }}\n          pkg-name: ${{ matrix.pkg-name }}\n          pkg-extra: ${{ matrix.pkg-extra }}\n\n      - name: Run CLI (via python)\n        if: ${{ (matrix.pkg-name == 'lightning' || matrix.pkg-name == 'notset') && matrix.pkg-extra == 'app' }}\n        run: python -m lightning --version\n      - name: Run CLI (direct bash)\n        if: |\n          ((matrix.pkg-name == 'lightning' || matrix.pkg-name == 'notset') && matrix.pkg-extra == 'app') ||\n          matrix.pkg-name == 'app'\n        run: lightning_app --version\n\n      - name: DocTests actions\n        working-directory: .actions/\n        run: |\n          pip install -q pytest -r requirements.txt\n          python -m pytest assistant.py\n\n      - name: Adjust code for standalone\n        if: contains(fromJSON('[\"app\", \"fabric\", \"pytorch\"]'), matrix.pkg-name)\n        run: |\n          python .actions/assistant.py copy_replace_imports --source_dir=\"./src\" \\\n            --source_import=\"lightning.pytorch,lightning.fabric,lightning.app\" \\\n            --target_import=\"pytorch_lightning,lightning_fabric,lightning_app\"\n      - name: Rename src folders\n        working-directory: src/\n        run: |\n          python -c \"n = '${{matrix.pkg-name}}' ; n = n if n in ('app', 'fabric', 'pytorch') else '' ; print('PKG_NAME=' + n)\" >> $GITHUB_ENV\n          rm -f ./*/__*.py\n          rm -f ./**/__*.py\n          mv lightning lit  # rename lightning folder to prevent accidental local imports\n      - name: drop Secondary doctest\n        if: ${{ matrix.pkg-name == 'lightning' || matrix.pkg-name == 'notset' }}\n        working-directory: src/lit\n        run: |\n          items=(\"data\" \"store\" \"app\")\n          for item in \"${items[@]}\"; do\n            if [[ \"$item\" == \"${{ matrix.pkg-extra }}\" ]]; then\n              echo \"Skipping $item\"\n              continue # Skip this iteration\n            fi\n            echo \"Removing $item\"\n            rm -rf $item\n          done\n      - name: Install pytest doctest extension\n        run: |\n          pip install -q -r requirements/doctests.txt\n          pip list\n\n      - name: DocTest package\n        env:\n          LIGHTING_TESTING: 1 # path for require wrapper\n          PY_IGNORE_IMPORTMISMATCH: 1\n        run: python -m pytest src/lit/${PKG_NAME} --ignore-glob=\"**/cli/*-template/**\" --doctest-plus\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:23.722205", "created_at": "2022-08-18T17:52:46+02:00", "updated_at": "2022-09-15T02:08:16+02:00", "name": "Probot", "path": ".github/workflows/probot-check-group.yml", "contents": "name: Probot\n\non:\n  pull_request:\n    types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  required-jobs:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.draft == false\n    timeout-minutes: 61 # in case something is wrong with the internal timeout\n    steps:\n      - uses: Lightning-AI/probot@v5.4\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          job: check-group\n          interval: 180 # seconds\n          timeout: 60 # minutes\n          maintainers: \"Lightning-AI/lai-frameworks\"\n          owner: \"carmocca\"\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:24.760587", "created_at": "2022-10-21T01:42:52+02:00", "updated_at": "2023-07-03T19:10:37+02:00", "name": "Test PyTorch - TPU", "path": ".github/workflows/tpu-tests.yml", "contents": "name: Test PyTorch - TPU\n\non:\n  push:\n    branches: [master, \"release/*\"]\n  pull_request_target:\n    branches: [master, \"release/*\"]\n    types: [opened, reopened, ready_for_review, labeled, synchronize]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  test-on-tpus:\n    runs-on: ubuntu-22.04\n    # run only when the PR title contains 'TPU' or is a merge to master\n    if: |\n      (github.event_name == 'push' && github.ref == 'refs/heads/master') ||\n      (startsWith(github.event_name, 'pull_request') && contains(github.event.pull_request.labels.*.name, 'run TPU'))\n    strategy:\n      fail-fast: false\n      matrix:\n        pkg-name: [\"fabric\", \"pytorch\"]\n        accelerator_type: [\"v4-8\"]\n    timeout-minutes: 30\n    env:\n      XLA_VER: \"2.0\"\n      PR_NUMBER: ${{ github.event.pull_request.number && github.event.pull_request.number || 'master' }}\n      SHA: ${{ github.event.pull_request.head.sha && github.event.pull_request.head.sha || github.sha }}\n      CLOUDSDK_CORE_DISABLE_PROMPTS: 1 # default to --quiet\n    steps:\n      - name: Set env\n        run: |\n          # define --zone: https://cloud.google.com/tpu/docs/regions-zones\n          if [[ \"${{ matrix.accelerator_type }}\" == v4* ]]; then\n            echo \"CLOUDSDK_COMPUTE_ZONE=us-central2-b\" >> $GITHUB_ENV\n          else\n            echo \"CLOUDSDK_COMPUTE_ZONE=us-west4-a\" >> $GITHUB_ENV\n          fi\n\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - uses: google-github-actions/auth@v2\n        with:\n          credentials_json: ${{ secrets.GKE_SA_KEY_BASE64 }}\n      - uses: \"google-github-actions/setup-gcloud@v2\"\n\n      - name: Time-based job cleanup\n        if: always()\n        run: |\n          gcloud compute tpus tpu-vm list --format='value(name,createTime)' > creation_times.txt\n          cat creation_times.txt\n\n          if [ ! -s \"creation_times.txt\" ]; then\n            echo \"No existing jobs\"\n            exit 0\n          fi\n\n          jobs_deleted=false\n          while read -r job_name created_at; do\n            # Skip jobs with \"keepalive\" in the name\n            if [[ \"$job_name\" == *\"keepalive\"* ]]; then\n              echo \"Skipping $job_name, has keepalive in name\"\n              continue\n            fi\n\n            # Convert the creation time to Unix timestamp\n            created_timestamp=$(date -d \"${created_at}\" +%s)\n\n            # Calculate the difference between the current time and the creation time\n            current_timestamp=$(date +%s)\n            age=$((current_timestamp - created_timestamp))\n\n            # Check if the age has surpassed a timeout\n            if ((age > 35 * 60)); then\n              # delete the job\n              gcloud compute tpus tpu-vm delete \"$job_name\" --async\n              jobs_deleted=true\n            else\n              echo \"Skipping $job_name, alive for $age seconds\"\n            fi\n          done < creation_times.txt\n\n          if [ \"$jobs_deleted\" = true ]; then\n            sleep 5\n            # diagnostics\n            gcloud compute tpus tpu-vm list\n          fi\n\n      - name: Update script\n        run: |\n          import os\n          fname = f'tests/tests_${{ matrix.pkg-name }}/run_tpu_tests.sh'\n          with open(fname) as fopen:\n              data = fopen.read()\n          data = data.replace('{PYTORCH_VERSION}', os.environ[\"XLA_VER\"])\n          print(data)\n          with open(fname, \"w\") as fopen:\n              fopen.write(data)\n        shell: python\n\n      - name: Create node\n        id: tpu-create\n        # TPU capacity is very limited so this workflow's success is optional. continue normally if creation fails\n        continue-on-error: true\n        env:\n          JOB_NAME: ${{ env.PR_NUMBER }}-${{ matrix.pkg-name }}-${{ matrix.accelerator_type }}-${{ env.SHA }}\n        run: |\n          if [[ \"${{ matrix.accelerator_type }}\" == v4* ]]; then\n            gcloud compute tpus tpu-vm create \"$JOB_NAME\" \\\n              --accelerator-type=${{ matrix.accelerator_type }} \\\n              --version=\"tpu-vm-v4-pt-$XLA_VER\" \\\n              --preemptible\n          fi\n\n      - name: Run tests\n        if: steps.tpu-create.outcome == 'success'\n        env:\n          JOB_NAME: ${{ env.PR_NUMBER }}-${{ matrix.pkg-name }}-${{ matrix.accelerator_type }}-${{ env.SHA }}\n        run: |\n          set -uex\n\n          # zip-copy-unzip the repository\n          zip -q -r repo.zip . -x .git/\n          gcloud compute tpus tpu-vm scp --worker=all repo.zip \"$JOB_NAME\":~\n          gcloud compute tpus tpu-vm ssh \"$JOB_NAME\" --worker=all --command=\"cd ~; unzip -q -o repo.zip\"\n\n          # run script\n          gcloud compute tpus tpu-vm ssh \"$JOB_NAME\" --worker=all --command=\"cd ~; bash tests/tests_${{ matrix.pkg-name }}/run_tpu_tests.sh\"\n          exit_code=$?\n\n          # pull out the coverage file\n          gcloud compute tpus tpu-vm scp \"$JOB_NAME\":~/coverage.xml .\n\n          exit $exit_code\n\n      - name: Cleanup job\n        if: always()\n        env:\n          JOB_NAME: ${{ env.PR_NUMBER }}-${{ matrix.pkg-name }}-${{ matrix.accelerator_type }}-${{ env.SHA }}\n        run: |\n          if ! gcloud compute tpus tpu-vm list | grep -q \"$JOB_NAME\"; then\n            echo \"$JOB_NAME wasn't created\"\n            exit 0\n          fi\n\n          # diagnostics\n          gcloud compute tpus tpu-vm describe \"$JOB_NAME\"\n\n          # delete the job\n          gcloud compute tpus tpu-vm delete \"$JOB_NAME\" --async\n          sleep 5\n\n          # diagnostics\n          gcloud compute tpus tpu-vm list\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        continue-on-error: true\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: coverage.xml\n          flags: tpu,pytest\n          name: TPU-coverage\n          fail_ci_if_error: false\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:25.872574", "created_at": "2022-12-13T06:55:44+01:00", "updated_at": "2023-02-07T12:04:04+01:00", "name": "Call building packages", "path": ".github/workflows/_build-packages.yml", "contents": "name: Call building packages\n\non:\n  workflow_call:\n    inputs:\n      artifact-name:\n        description: \"Unique name for collecting artifacts\"\n        required: true\n        type: string\n      pkg-names:\n        description: \"list package names to be build in json format\"\n        required: false\n        type: string\n        default: |\n          [\"lightning\", \"app\", \"fabric\", \"pytorch\"]\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  init:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - run: |\n          mkdir dist && touch dist/.placeholder\n      - name: Keep artifact\n        id: keep-artifact\n        run: python -c \"print('DAYS=' + str(5 if '${{ github.event_name }}'.startswith('pull_request') else 0))\" >> $GITHUB_OUTPUT\n      - uses: actions/upload-artifact@v3\n        with:\n          name: ${{ inputs.artifact-name }}\n          path: dist\n          retention-days: ${{ steps.keep-artifact.outputs.DAYS }}\n\n  build-packages:\n    needs: init\n    runs-on: ubuntu-22.04\n    strategy:\n      max-parallel: 1 # run sequential to prevent download/upload collisions\n      matrix:\n        pkg-name: ${{ fromJSON(inputs.pkg-names) }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v3\n        with:\n          name: ${{ inputs.artifact-name }}\n          path: pypi\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - run: python -c \"print('NB_DIRS=' + str(2 if '${{ matrix.pkg-name }}' == 'pytorch' else 1))\" >> $GITHUB_ENV\n      - name: Build & check package\n        uses: ./.github/actions/pkg-check\n        with:\n          pkg-name: ${{ matrix.pkg-name }}\n          nb-dirs: ${{ env.NB_DIRS }}\n\n      - run: |\n          mkdir pypi/${{ matrix.pkg-name }}\n          cp dist/* pypi/${{ matrix.pkg-name }}/\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: ${{ inputs.artifact-name }}\n          path: pypi\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:26.915227", "created_at": "2022-12-17T12:37:28+01:00", "updated_at": "2022-12-19T18:18:42+01:00", "name": "Test PyTorch", "path": ".github/workflows/ci-tests-pytorch.yml", "contents": "name: Test PyTorch\n\n# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows\non:\n  push:\n    branches: [master, \"release/*\"]\n  pull_request:\n    branches: [master, \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped\n    paths:\n      - \".actions/*\"\n      - \"requirements/ci.txt\"\n      - \"requirements/pytorch/**\"\n      - \"src/lightning/pytorch/**\"\n      - \"src/pytorch_lightning/*\"\n      - \"tests/tests_pytorch/**\"\n      - \"tests/legacy/**\"\n      - \"pyproject.toml\" # includes pytest config\n      - \".github/workflows/ci-tests-pytorch.yml\"\n      - \"requirements/fabric/**\"\n      - \"src/lightning/fabric/**\"\n      - \"src/lightning_fabric/*\"\n      - \"!requirements/pytorch/docs.txt\"\n      - \"!*.md\"\n      - \"!**/*.md\"\n  schedule:\n    # At the end of every day\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  pl-cpu:\n    runs-on: ${{ matrix.os }}\n    if: github.event.pull_request.draft == false\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - { os: \"macOS-11\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.0\" }\n          - { os: \"ubuntu-20.04\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.0\" }\n          - { os: \"windows-2022\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.0\" }\n          # only run PyTorch latest\n          - { os: \"macOS-11\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.1\" }\n          - { os: \"ubuntu-20.04\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.1\" }\n          - { os: \"windows-2022\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.1\" }\n          - { os: \"macOS-11\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.2\" }\n          - { os: \"ubuntu-20.04\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.2\" }\n          - { os: \"windows-2022\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.2\" }\n          - { os: \"macOS-14\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.3\" }\n          - { os: \"ubuntu-20.04\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.3\" }\n          - { os: \"windows-2022\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.3\" }\n          # only run PyTorch latest with Python latest, use PyTorch scope to limit dependency issues\n          - { os: \"macOS-12\", pkg-name: \"pytorch\", python-version: \"3.11\", pytorch-version: \"2.0\" }\n          - { os: \"ubuntu-22.04\", pkg-name: \"pytorch\", python-version: \"3.11\", pytorch-version: \"2.0\" }\n          - { os: \"windows-2022\", pkg-name: \"pytorch\", python-version: \"3.11\", pytorch-version: \"2.0\" }\n          - { os: \"macOS-12\", pkg-name: \"pytorch\", python-version: \"3.11\", pytorch-version: \"2.1\" }\n          - { os: \"ubuntu-22.04\", pkg-name: \"pytorch\", python-version: \"3.11\", pytorch-version: \"2.1\" }\n          - { os: \"windows-2022\", pkg-name: \"pytorch\", python-version: \"3.11\", pytorch-version: \"2.1\" }\n          # \"oldest\" versions tests, only on minimum Python\n          - { os: \"macOS-11\", pkg-name: \"lightning\", python-version: \"3.8\", pytorch-version: \"2.0\", requires: \"oldest\" }\n          - {\n              os: \"ubuntu-20.04\",\n              pkg-name: \"lightning\",\n              python-version: \"3.8\",\n              pytorch-version: \"2.0\",\n              requires: \"oldest\",\n            }\n          - {\n              os: \"windows-2022\",\n              pkg-name: \"lightning\",\n              python-version: \"3.8\",\n              pytorch-version: \"2.0\",\n              requires: \"oldest\",\n            }\n          # \"pytorch\" installs the standalone package\n          - { os: \"macOS-11\", pkg-name: \"pytorch\", python-version: \"3.8\", pytorch-version: \"2.0\" }\n          - { os: \"ubuntu-20.04\", pkg-name: \"pytorch\", python-version: \"3.8\", pytorch-version: \"2.0\" }\n          - { os: \"windows-2022\", pkg-name: \"pytorch\", python-version: \"3.8\", pytorch-version: \"2.0\" }\n    timeout-minutes: 50\n    env:\n      PACKAGE_NAME: ${{ matrix.pkg-name }}\n      TORCH_URL: \"https://download.pytorch.org/whl/cpu/torch_stable.html\"\n      TORCH_URL_STABLE: \"https://download.pytorch.org/whl/cpu/torch_stable.html\"\n      TORCH_URL_TEST: \"https://download.pytorch.org/whl/test/cpu/torch_test.html\"\n      FREEZE_REQUIREMENTS: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}\n      PYPI_CACHE_DIR: \"_pip-wheels\"\n      # TODO: Remove this - Enable running MPS tests on this platform\n      DISABLE_MPS: ${{ matrix.os == 'macOS-14' && '1' || '0' }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: basic setup\n        run: pip install -q -r .actions/requirements.txt\n\n      - name: Set min. dependencies\n        if: ${{ matrix.requires == 'oldest' }}\n        run: python .actions/assistant.py replace_oldest_ver\n\n      - name: Adjust PyTorch versions in requirements files\n        if: ${{ matrix.requires != 'oldest' }}\n        run: |\n          pip install -q -r requirements/ci.txt\n          python -m wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/adjust-torch-versions.py\n          for fpath in `ls requirements/**/*.txt`; do \\\n            python ./adjust-torch-versions.py $fpath ${{ matrix.pytorch-version }}; \\\n          done\n          cat requirements/pytorch/base.txt\n\n      - name: pip wheels cache\n        uses: actions/cache/restore@v4\n        with:\n          path: ${{ env.PYPI_CACHE_DIR }}\n          key: pypi_wheels\n      - run: |\n          mkdir -p $PYPI_CACHE_DIR\n          ls -lh $PYPI_CACHE_DIR\n\n      - name: Env. variables\n        run: |\n          # Switch PyTorch URL\n          python -c \"print('TORCH_URL=' + str('${{env.TORCH_URL_TEST}}' if '${{ matrix.pytorch-version }}' == '2.3' else '${{env.TORCH_URL_STABLE}}'))\" >> $GITHUB_ENV\n          # Switch coverage scope\n          python -c \"print('COVERAGE_SCOPE=' + str('lightning' if '${{matrix.pkg-name}}' == 'lightning' else 'pytorch_lightning'))\" >> $GITHUB_ENV\n          # if you install mono-package set dependency only for this subpackage\n          python -c \"print('EXTRA_PREFIX=' + str('' if '${{matrix.pkg-name}}' != 'lightning' else 'pytorch-'))\" >> $GITHUB_ENV\n\n      - name: Install package & dependencies\n        timeout-minutes: 20\n        run: |\n          pip install \".[${EXTRA_PREFIX}extra,${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]\" -U --prefer-binary \\\n            -r requirements/_integrations/accelerators.txt \\\n            --find-links=\"${TORCH_URL}\" --find-links=\"${PYPI_CACHE_DIR}\"\n          pip list\n      - name: Drop LAI from extensions\n        if: ${{ matrix.pkg-name != 'lightning' }}\n        # Lightning is dependency of Habana or other accelerators/integrations so in case we test PL we need to remove it\n        run: pip uninstall -y lightning\n      - name: Drop PL for LAI\n        if: ${{ matrix.pkg-name == 'lightning' }}\n        run: pip uninstall -y pytorch-lightning\n      - name: Dump handy wheels\n        if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n        continue-on-error: true\n        uses: ./.github/actions/pip-wheels\n        with:\n          wheel-dir: ${{ env.PYPI_CACHE_DIR }}\n          torch-url: ${{ env.TORCH_URL }}\n          cache-key: \"pypi_wheels\"\n\n      - name: Cache datasets\n        uses: actions/cache@v4\n        with:\n          path: Datasets\n          key: pl-dataset\n\n      - name: Sanity check\n        run: |\n          set -e\n          python requirements/pytorch/check-avail-extras.py\n          python -c \"from torch import __version__ as ver; assert ver.startswith('${{ matrix.pytorch-version }}'), ver\"\n\n      - name: Adjust tests / env. -> PL\n        if: ${{ matrix.pkg-name != 'lightning' }}\n        run: |\n          python .actions/assistant.py copy_replace_imports --source_dir=\"./tests\" \\\n            --source_import=\"lightning.fabric,lightning.pytorch\" \\\n            --target_import=\"lightning_fabric,pytorch_lightning\"\n\n      - name: Prevent using raw source\n        run: rm -rf src/\n\n      - name: Get legacy checkpoints\n        run: |\n          bash .actions/pull_legacy_checkpoints.sh\n          cd tests/legacy\n          bash generate_checkpoints.sh\n          ls -l checkpoints/\n\n      - name: Testing Warnings\n        working-directory: tests/tests_pytorch\n        # needs to run outside `pytest`\n        run: python utilities/test_warnings.py\n\n      - name: Testing PyTorch\n        working-directory: tests/tests_pytorch\n        # NOTE: do not include coverage report here, see: https://github.com/nedbat/coveragepy/issues/1003\n        run: |\n          echo $GITHUB_RUN_ID\n          python -m coverage run --source ${{ env.COVERAGE_SCOPE }} \\\n            -m pytest . -v --timeout=60 --durations=50 --random-order-seed=$GITHUB_RUN_ID\n\n      - name: Statistics\n        if: success()\n        working-directory: tests/tests_pytorch\n        run: |\n          coverage report\n          coverage xml\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        # see: https://github.com/actions/toolkit/issues/399\n        continue-on-error: true\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: tests/tests_pytorch/coverage.xml\n          flags: ${{ env.COVERAGE_SCOPE }},cpu,pytest-full,python${{ matrix.python-version }},pytorch${{ matrix.pytorch-version }}\n          name: CPU-coverage\n          fail_ci_if_error: false\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:27.897167", "created_at": "2022-12-17T12:37:28+01:00", "updated_at": "2023-06-19T14:40:45+02:00", "name": "Docker", "path": ".github/workflows/ci-dockers-pytorch.yml", "contents": null, "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:29.047176", "created_at": "2022-12-20T16:42:12+01:00", "updated_at": "2023-01-04T16:57:23+01:00", "name": "Test Fabric", "path": ".github/workflows/ci-tests-fabric.yml", "contents": "name: Test Fabric\n\n# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows\non:\n  push:\n    branches: [master, \"release/*\"]\n  pull_request:\n    branches: [master, \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped\n    paths:\n      - \".actions/*\"\n      - \"requirements/ci.txt\"\n      - \"requirements/fabric/**\"\n      - \"src/lightning/fabric/**\"\n      - \"src/lightning_fabric/*\"\n      - \"tests/tests_fabric/**\"\n      - \"pyproject.toml\" # includes pytest config\n      - \".github/workflows/ci-tests-fabric.yml\"\n      - \"!requirements/*/docs.txt\"\n      - \"!*.md\"\n      - \"!**/*.md\"\n  schedule:\n    # At the end of every day\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  fabric-cpu:\n    runs-on: ${{ matrix.os }}\n    if: github.event.pull_request.draft == false\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - { os: \"macOS-11\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.0\" }\n          - { os: \"ubuntu-20.04\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.0\" }\n          - { os: \"windows-2022\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.0\" }\n          # only run PyTorch latest\n          - { os: \"macOS-11\", pkg-name: \"lightning\", python-version: \"3.11\", pytorch-version: \"2.1\" }\n          - { os: \"ubuntu-20.04\", pkg-name: \"lightning\", python-version: \"3.11\", pytorch-version: \"2.1\" }\n          - { os: \"windows-2022\", pkg-name: \"lightning\", python-version: \"3.11\", pytorch-version: \"2.1\" }\n          - { os: \"macOS-11\", pkg-name: \"lightning\", python-version: \"3.11\", pytorch-version: \"2.2\" }\n          - { os: \"ubuntu-20.04\", pkg-name: \"lightning\", python-version: \"3.11\", pytorch-version: \"2.2\" }\n          - { os: \"windows-2022\", pkg-name: \"lightning\", python-version: \"3.11\", pytorch-version: \"2.2\" }\n          - { os: \"macOS-14\", pkg-name: \"lightning\", python-version: \"3.10\", pytorch-version: \"2.3\" }\n          - { os: \"ubuntu-20.04\", pkg-name: \"lightning\", python-version: \"3.11\", pytorch-version: \"2.3\" }\n          - { os: \"windows-2022\", pkg-name: \"lightning\", python-version: \"3.11\", pytorch-version: \"2.3\" }\n          # only run PyTorch latest with Python latest, use Fabric scope to limit dependency issues\n          - { os: \"macOS-12\", pkg-name: \"fabric\", python-version: \"3.11\", pytorch-version: \"2.0\" }\n          - { os: \"ubuntu-22.04\", pkg-name: \"fabric\", python-version: \"3.11\", pytorch-version: \"2.0\" }\n          - { os: \"windows-2022\", pkg-name: \"fabric\", python-version: \"3.11\", pytorch-version: \"2.0\" }\n          - { os: \"macOS-12\", pkg-name: \"fabric\", python-version: \"3.11\", pytorch-version: \"2.1\" }\n          - { os: \"ubuntu-22.04\", pkg-name: \"fabric\", python-version: \"3.11\", pytorch-version: \"2.1\" }\n          - { os: \"windows-2022\", pkg-name: \"fabric\", python-version: \"3.11\", pytorch-version: \"2.1\" }\n          # \"oldest\" versions tests, only on minimum Python\n          - { os: \"macOS-11\", pkg-name: \"lightning\", python-version: \"3.8\", pytorch-version: \"2.0\", requires: \"oldest\" }\n          - {\n              os: \"ubuntu-20.04\",\n              pkg-name: \"lightning\",\n              python-version: \"3.8\",\n              pytorch-version: \"2.0\",\n              requires: \"oldest\",\n            }\n          - {\n              os: \"windows-2022\",\n              pkg-name: \"lightning\",\n              python-version: \"3.8\",\n              pytorch-version: \"2.0\",\n              requires: \"oldest\",\n            }\n          # \"fabric\" installs the standalone package\n          - { os: \"macOS-11\", pkg-name: \"fabric\", python-version: \"3.8\", pytorch-version: \"2.0\" }\n          - { os: \"ubuntu-20.04\", pkg-name: \"fabric\", python-version: \"3.8\", pytorch-version: \"2.0\" }\n          - { os: \"windows-2022\", pkg-name: \"fabric\", python-version: \"3.8\", pytorch-version: \"2.0\" }\n    timeout-minutes: 25 # because of building grpcio on Mac\n    env:\n      PACKAGE_NAME: ${{ matrix.pkg-name }}\n      FREEZE_REQUIREMENTS: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}\n      PYPI_CACHE_DIR: \"_pip-wheels\"\n      TORCH_URL_STABLE: \"https://download.pytorch.org/whl/cpu/torch_stable.html\"\n      TORCH_URL_TEST: \"https://download.pytorch.org/whl/test/cpu/torch_test.html\"\n      # TODO: Remove this - Enable running MPS tests on this platform\n      DISABLE_MPS: ${{ matrix.os == 'macOS-14' && '1' || '0' }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: basic setup\n        run: pip install -q -r .actions/requirements.txt\n\n      - name: Set min. dependencies\n        if: ${{ matrix.requires == 'oldest' }}\n        run: python .actions/assistant.py replace_oldest_ver\n\n      - name: Adjust PyTorch versions in requirements files\n        if: ${{ matrix.requires != 'oldest' }}\n        run: |\n          pip install -q -r requirements/ci.txt\n          python -m wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/adjust-torch-versions.py\n          for fpath in `ls requirements/**/*.txt`; do \\\n            python ./adjust-torch-versions.py $fpath ${{ matrix.pytorch-version }}; \\\n          done\n\n      - name: pip wheels cache\n        uses: actions/cache/restore@v4\n        with:\n          path: ${{ env.PYPI_CACHE_DIR }}\n          key: pypi_wheels\n      - run: |\n          mkdir -p $PYPI_CACHE_DIR\n          ls -lh $PYPI_CACHE_DIR\n\n      - name: Env. variables\n        run: |\n          # Switch PyTorch URL\n          python -c \"print('TORCH_URL=' + str('${{env.TORCH_URL_TEST}}' if '${{ matrix.pytorch-version }}' == '2.3' else '${{env.TORCH_URL_STABLE}}'))\" >> $GITHUB_ENV\n          # Switch coverage scope\n          python -c \"print('COVERAGE_SCOPE=' + str('lightning' if '${{matrix.pkg-name}}' == 'lightning' else 'lightning_fabric'))\" >> $GITHUB_ENV\n          # if you install mono-package set dependency only for this subpackage\n          python -c \"print('EXTRA_PREFIX=' + str('' if '${{matrix.pkg-name}}' != 'lightning' else 'fabric-'))\" >> $GITHUB_ENV\n\n      - name: Install package & dependencies\n        timeout-minutes: 20\n        run: |\n          pip install -e \".[${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]\" -U --prefer-binary \\\n            --find-links=\"${TORCH_URL}\" --find-links=\"${PYPI_CACHE_DIR}\"\n          pip list\n      - name: Dump handy wheels\n        if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n        continue-on-error: true\n        uses: ./.github/actions/pip-wheels\n        with:\n          wheel-dir: ${{ env.PYPI_CACHE_DIR }}\n          torch-url: ${{ env.TORCH_URL }}\n          cache-key: \"pypi_wheels\"\n\n      - name: Adjust tests\n        if: ${{ matrix.pkg-name != 'lightning' }}\n        run: |\n          python .actions/assistant.py copy_replace_imports --source_dir=\"./tests\" \\\n            --source_import=\"lightning.fabric\" --target_import=\"lightning_fabric\"\n\n      - name: Testing Warnings\n        working-directory: tests/tests_fabric\n        # needs to run outside `pytest`\n        run: python utilities/test_warnings.py\n\n      - name: Testing Fabric\n        working-directory: tests/tests_fabric\n        # NOTE: do not include coverage report here, see: https://github.com/nedbat/coveragepy/issues/1003\n        run: |\n          echo $GITHUB_RUN_ID\n          python -m coverage run --source ${{ env.COVERAGE_SCOPE }} \\\n            -m pytest -v --timeout=30 --durations=50 --random-order-seed=$GITHUB_RUN_ID\n\n      - name: Statistics\n        if: success()\n        working-directory: tests/tests_fabric\n        run: |\n          coverage report\n          coverage xml\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        # see: https://github.com/actions/toolkit/issues/399\n        continue-on-error: true\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: tests/tests_fabric/coverage.xml\n          flags: ${{ env.COVERAGE_SCOPE }},cpu,pytest,python${{ matrix.python-version }}\n          name: CPU-coverage\n          fail_ci_if_error: false\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:30.177329", "created_at": "2023-02-10T16:33:18+01:00", "updated_at": "2024-01-26T18:27:18+01:00", "name": "Generate legacy ckpts", "path": ".github/workflows/ci-checkpoints.yml", "contents": "name: Generate legacy ckpts\n\non:\n  push:\n    branches: [master, \"release/*\"]\n  pull_request:\n    branches: [master, \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped\n    paths:\n      - \".github/workflows/ci-checkpoints.yml\"\n      - \".github/workflows/_legacy-checkpoints.yml\"\n      - \"requirements/ci.txt\"\n      - \"requirements/pytorch/*.txt\"\n      - \"tests/legacy/*\"\n\njobs:\n  try-legacy-checkpoints:\n    uses: ./.github/workflows/_legacy-checkpoints.yml\n    with:\n      push_to_s3: false\n      create_pr: false\n    secrets: inherit\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:31.213060", "created_at": "2023-02-13T18:34:21+01:00", "updated_at": "2023-09-26T17:55:23+02:00", "name": "Create Legacy Ckpts", "path": ".github/workflows/_legacy-checkpoints.yml", "contents": "name: Create Legacy Ckpts\n\non:\n  workflow_dispatch:\n    inputs:\n      push_to_s3:\n        description: \"Push generated checkpoints to S3.\"\n        default: false\n        required: false\n        type: boolean\n      pl_version:\n        description: \"PL version to generate a legacy checkpoint with. If not provided, uses PL from source.\"\n        default: \"\"\n        required: false\n        type: string\n      create_pr:\n        description: \"Create a PR to enable testing PL with a new checkpoint.\"\n        default: false\n        required: false\n        type: boolean\n  workflow_call:\n    inputs:\n      push_to_s3:\n        description: \"Push generated checkpoints to S3.\"\n        default: false\n        required: false\n        type: boolean\n      pl_version:\n        description: \"PL version to generate a legacy checkpoint with. If not provided, uses PL from source.\"\n        default: \"\"\n        required: false\n        type: string\n      upload_local:\n        description: \"When releasing, it installs local but need to upload with the actual version tag.\"\n        default: false\n        required: false\n        type: boolean\n      create_pr:\n        description: \"Create a PR to enable testing PL with a new checkpoint.\"\n        default: false\n        required: false\n        type: boolean\n\nenv:\n  LEGACY_FOLDER: \"tests/legacy\"\n  TORCH_URL: \"https://download.pytorch.org/whl/cpu/torch_stable.html\"\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  create-legacy-ckpts:\n    runs-on: ubuntu-20.04\n    outputs:\n      pl-version: ${{ steps.decide-version.outputs.pl-version }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          # Python version here needs to be supported by all PL versions listed in back-compatible-versions.txt.\n          python-version: 3.8\n\n      - name: Install PL from source\n        env:\n          PACKAGE_NAME: pytorch\n          FREEZE_REQUIREMENTS: 1\n        timeout-minutes: 20\n        run: pip install . -f ${TORCH_URL}\n        if: inputs.pl_version == ''\n\n      - name: Install PL version\n        timeout-minutes: 20\n        run: pip install \"pytorch-lightning==${{ inputs.pl_version }}\" -f ${TORCH_URL}\n        if: inputs.pl_version != ''\n\n      - name: Adjust tests -> PL\n        if: ${{ matrix.pkg-name != 'lightning' }}\n        run: |\n          pip install -q -r .actions/requirements.txt\n          python .actions/assistant.py copy_replace_imports --source_dir=\"./tests\" \\\n            --source_import=\"lightning.fabric,lightning.pytorch\" \\\n            --target_import=\"lightning_fabric,pytorch_lightning\"\n\n      - name: Pull legacy checkpoints\n        run: bash .actions/pull_legacy_checkpoints.sh\n\n      - name: Decide PL version to create a PR with\n        id: decide-version\n        run: python -c \"import pytorch_lightning as pl; print(f'pl-version={pl.__version__}')\" >> $GITHUB_OUTPUT || echo pl-version='' >> $GITHUB_OUTPUT\n\n      - name: Generate checkpoints\n        working-directory: ${{ env.LEGACY_FOLDER }}\n        run: bash generate_checkpoints.sh ${{ inputs.pl_version }}\n      - name: Rename local to actual version\n        if: inputs.upload_local\n        working-directory: ${{ env.LEGACY_FOLDER }}\n        run: mv checkpoints/local checkpoints/${{ steps.decide-version.outputs.pl-version }}\n\n      - name: \"Determine: Keep artifact & DryRun\"\n        run: |\n          python -c \"print('KEEP_DAYS=' + str(30 if '${{ github.event_name }}'.startswith('pull_request') else 0))\" >> $GITHUB_ENV\n          python -c \"print('AWS_RUN=' + str('' if '${{inputs.push_to_s3}}' == 'true' else '--dryrun'))\" >> $GITHUB_ENV\n\n      - name: Upload checkpoints to GitHub Actions artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: checkpoints-${{ github.sha }}\n          path: ${{ env.LEGACY_FOLDER }}/checkpoints/\n          retention-days: ${{ env.KEEP_DAYS }}\n\n      - run: pip install -r requirements/ci.txt\n      - name: Upload checkpoints to S3\n        working-directory: ${{ env.LEGACY_FOLDER }}\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_PUB_ACCESS_KEY }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_PUB_SECRET_KEY }}\n          AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}\n        run: |\n          aws s3 sync $AWS_RUN checkpoints/ s3://pl-public-data/legacy/checkpoints/\n          zip -r checkpoints.zip checkpoints\n          aws s3 cp $AWS_RUN checkpoints.zip s3://pl-public-data/legacy/ --acl public-read\n\n  add-ckpt-test:\n    runs-on: ubuntu-20.04\n    if: inputs.create_pr\n    needs: create-legacy-ckpts\n    env:\n      PL_VERSION: ${{ needs.create-legacy-ckpts.outputs.pl-version }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: master\n\n      - name: Append a new version to legacy checkpoint list\n        working-directory: ${{ env.LEGACY_FOLDER }}\n        run: echo ${PL_VERSION} >> back-compatible-versions.txt\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v6\n        with:\n          title: Adding test for legacy checkpoint created with ${{ env.PL_VERSION }}\n          committer: GitHub <noreply@github.com>\n          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n          commit-message: \"update tutorials to `${{ env.PL_VERSION }}`\"\n          body: \"**This is automated addition of created checkpoints with the latest `lightning` release!**\"\n          delete-branch: true\n          token: ${{ secrets.PAT_GHOST }}\n          labels: |\n            checkpointing\n            tests\n            pl\n          assignees: borda\n          reviewers: borda\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:32.315270", "created_at": "2023-02-14T18:30:16+01:00", "updated_at": "2023-02-14T18:30:16+01:00", "name": "cleanup caches by a branch", "path": ".github/workflows/cleanup-caches.yml", "contents": "# https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries\nname: cleanup caches by a branch\non:\n  pull_request:\n    types: [closed]\n\njobs:\n  pr-cleanup:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n\n      - name: Cleanup\n        run: |\n          gh extension install actions/gh-actions-cache\n\n          REPO=${{ github.repository }}\n          BRANCH=\"refs/pull/${{ github.event.pull_request.number }}/merge\"\n\n          echo \"Fetching list of cache key\"\n          cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )\n\n          ## Setting this to not fail the workflow while deleting cache keys.\n          set +e\n          echo \"Deleting caches...\"\n          for cacheKey in $cacheKeysForPR\n          do\n              gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm\n          done\n          echo \"Done\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:33.436676", "created_at": "2023-03-03T23:31:02+01:00", "updated_at": "2023-09-12T15:22:07+02:00", "name": "Docs builds", "path": ".github/workflows/docs-build.yml", "contents": "name: Docs builds\n# https://github.com/marketplace/actions/sphinx-build\n\non:\n  push:\n    branches: [\"master\", \"release/*\"]\n    tags: [\"*\"]\n  pull_request:\n    branches: [\"master\", \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped\n    paths:\n      - \".actions/*\"\n      - \".github/workflows/docs-build.yml\"\n      - \"requirements/ci.txt\"\n      - \"docs/**\"\n      - \"_notebooks\"\n      - \"requirements/**\"\n      - \"src/lightning/app/**\"\n      - \"src/lightning_app/*\"\n      - \"src/lightning/fabric/**\"\n      - \"src/lightning_fabric/*\"\n      - \"src/lightning/pytorch/**\"\n      - \"src/pytorch_lightning/*\"\n      - \"setup.py\"\n      - \"pyproject.toml\" # includes metadata used in the package creation\n      - \"!*.md\"\n      - \"!**/*.md\"\n  workflow_dispatch:\n    inputs:\n      checkout:\n        description: \"checkout specific git state\"\n        type: string\n        required: false\n        default: \"\"\n      version:\n        description: \"specify a version / tag to be uploaded\"\n        type: string\n        required: true\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  FREEZE_REQUIREMENTS: \"1\"\n  TORCH_URL: \"https://download.pytorch.org/whl/cpu/torch_stable.html\"\n  PYPI_CACHE_DIR: \"_pip-wheels\"\n  PYPI_LOCAL_DIR: \"pypi_pkgs/\"\n\njobs:\n  docs-make:\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        pkg-name: [\"app\", \"fabric\", \"pytorch\"]\n        target: [\"html\", \"doctest\", \"linkcheck\"]\n    env:\n      DOCS_COPY_NOTEBOOKS: 1\n      PIN_RELEASE_VERSIONS: 1\n      ARTIFACT_DAYS: 0\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ inputs.checkout }}\n          # only Pytorch has/uses notebooks\n          submodules: ${{ matrix.pkg-name == 'pytorch' }}\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.9\"\n\n      - name: Pull sphinx template\n        run: |\n          pip install -q -r requirements/ci.txt\n          aws s3 sync --no-sign-request s3://sphinx-packages/ ${PYPI_LOCAL_DIR}\n          pip install lai-sphinx-theme -U -f ${PYPI_LOCAL_DIR}\n\n      - name: pip wheels cache\n        uses: actions/cache/restore@v4\n        with:\n          path: ${{ env.PYPI_CACHE_DIR }}\n          key: pypi_wheels\n\n      - name: Install pandoc & texlive\n        if: ${{ matrix.pkg-name == 'pytorch' }}\n        timeout-minutes: 5\n        run: |\n          sudo apt-get update --fix-missing\n          sudo apt-get install -y pandoc\n      - name: Install package & dependencies\n        timeout-minutes: 20\n        run: |\n          mkdir -p ${PYPI_CACHE_DIR}  # in case cache was not hit\n          ls -lh ${PYPI_CACHE_DIR}\n          pip install .[all] -U -r requirements/${{ matrix.pkg-name }}/docs.txt \\\n            -f ${PYPI_LOCAL_DIR} -f ${PYPI_CACHE_DIR} -f ${TORCH_URL}\n          pip list\n      - name: Install req. for Notebooks/tutorials\n        if: matrix.pkg-name == 'pytorch'\n        timeout-minutes: 10\n        run: pip install -q -r _notebooks/.actions/requires.txt\n\n      - name: Full build for deployment\n        if: github.event_name != 'pull_request'\n        run: echo \"DOCS_FETCH_ASSETS=1\" >> $GITHUB_ENV\n      - name: Build without warnings\n        if: github.event_name != 'workflow_dispatch'\n        run: echo \"BUILD_SPHINX_OPTS=-W --keep-going\" >> $GITHUB_ENV\n      - name: Make ${{ matrix.target }}\n        working-directory: ./docs/source-${{ matrix.pkg-name }}\n        # allow failing link check and doctest if you run with dispatch\n        continue-on-error: ${{ (matrix.target == 'doctest' || matrix.target == 'linkcheck') && github.event_name == 'workflow_dispatch' }}\n        run: make ${{ matrix.target }} --debug --jobs $(nproc) SPHINXOPTS=\"$BUILD_SPHINX_OPTS\"\n\n      - name: Keep artifact\n        if: github.event_name == 'pull_request'\n        run: echo \"ARTIFACT_DAYS=7\" >> $GITHUB_ENV\n      - name: Upload built docs\n        if: ${{ matrix.target == 'html' }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: docs-${{ matrix.pkg-name }}-${{ github.sha }}\n          path: docs/build/html/\n          retention-days: ${{ env.ARTIFACT_DAYS }}\n\n      - name: Dump handy wheels\n        if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n        continue-on-error: true\n        uses: ./.github/actions/pip-wheels\n        with:\n          wheel-dir: ${{ env.PYPI_CACHE_DIR }}\n          torch-url: ${{ env.TORCH_URL }}\n          cache-key: \"pypi_wheels\"\n\n  deploy-docs:\n    needs: docs-make\n    if: github.repository_owner == 'Lightning-AI' && github.event_name != 'pull_request'\n    runs-on: ubuntu-20.04\n    strategy:\n      fail-fast: false\n      matrix:\n        pkg-name: [\"app\", \"fabric\", \"pytorch\"]\n    env:\n      GCP_TARGET: \"gs://lightning-docs-${{ matrix.pkg-name }}\"\n      # use input if dispatch or git tag\n      VERSION: ${{ inputs.version || github.ref_name }}\n    steps:\n      - uses: actions/download-artifact@v3\n        with:\n          name: docs-${{ matrix.pkg-name }}-${{ github.sha }}\n          path: docs/build/html/\n\n      - name: Authenticate to Google Cloud\n        uses: google-github-actions/auth@v2\n        with:\n          credentials_json: ${{ secrets.GCS_SA_KEY }}\n\n      - name: Setup gcloud\n        uses: google-github-actions/setup-gcloud@v2\n        with:\n          project_id: ${{ secrets.GCS_PROJECT }}\n\n      # Uploading docs to GCS, so they can be served on lightning.ai\n      - name: Upload docs/${{ matrix.pkg-name }}/stable to GCS 🪣\n        if: startsWith(github.ref, 'refs/heads/release/') && github.event_name == 'push'\n        run: gsutil -m rsync -d -R docs/build/html/ ${GCP_TARGET}/stable\n\n      # Uploading docs to GCS, so they can be served on lightning.ai\n      - name: Upload docs/${{ matrix.pkg-name }}/latest to GCS 🪣\n        if: github.ref == 'refs/heads/master' && github.event_name == 'push'\n        run: gsutil -m rsync -d -R docs/build/html/ ${GCP_TARGET}/latest\n\n      # Uploading docs to GCS, so they can be served on lightning.ai\n      - name: Upload docs/${{ matrix.pkg-name }}/release to GCS 🪣\n        if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'\n        run: gsutil -m rsync -d -R docs/build/html/ ${GCP_TARGET}/${{ env.VERSION }}\n\n      # Uploading docs as archive to GCS, so they can be as backup\n      - name: Upload docs as archive to GCS 🪣\n        if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'\n        working-directory: docs/build\n        run: |\n          zip ${{ env.VERSION }}.zip -r html/\n          gsutil cp ${{ env.VERSION }}.zip ${GCP_TARGET}\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:34.598112", "created_at": "2023-03-17T11:59:17+01:00", "updated_at": "2023-05-11T06:44:59+02:00", "name": "Check Markdown links", "path": ".github/workflows/ci-check-md-links.yml", "contents": "name: Check Markdown links\n# https://github.com/gaurav-nelson/github-action-markdown-link-check\n\non:\n  push:\n    branches: [master, \"release/*\"]\n  pull_request:\n    branches: [master, \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize]\n    paths:\n      - \".github/workflows/ci-check-md-links.yml\"\n      - \".github/workflows/markdown.links.config.json\"\n      - \"**/*.md\"\n\njobs:\n  check-md-links:\n    uses: Lightning-AI/utilities/.github/workflows/check-md-links.yml@v0.11.2\n    with:\n      config-file: \".github/markdown-links-config.json\"\n      base-branch: \"master\"\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:35.623100", "created_at": "2023-03-21T20:26:51+01:00", "updated_at": "2023-03-21T20:26:51+01:00", "name": "Clear cache weekly", "path": ".github/workflows/call-clear-cache.yml", "contents": "name: Clear cache weekly\n\non:\n  workflow_dispatch:\n    inputs:\n      pattern:\n        description: \"pattern for cleaning cache\"\n        default: \"pip-|conda\"\n        required: false\n        type: string\n\njobs:\n  cron-clear:\n    if: github.event_name == 'schedule'\n    uses: Lightning-AI/utilities/.github/workflows/clear-cache.yml@v0.11.2\n    with:\n      pattern: \"latest|docs\"\n\n  direct-clear:\n    if: github.event_name == 'workflow_dispatch'\n    uses: Lightning-AI/utilities/.github/workflows/clear-cache.yml@v0.11.2\n    with:\n      pattern: ${{ inputs.pattern }}\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:36.714702", "created_at": "2023-04-27T16:15:13+02:00", "updated_at": "2023-04-27T21:28:23+02:00", "name": "Label Issues", "path": ".github/workflows/labeler-issue.yml", "contents": "name: Label Issues\non:\n  issues:\n    types: [opened, edited]\n\npermissions:\n  contents: read\n\njobs:\n  label-component:\n    runs-on: ubuntu-latest\n\n    permissions:\n      # required for all workflows\n      issues: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Parse issue form\n        uses: stefanbuck/github-issue-parser@v3\n        id: issue-parser\n        with:\n          template-path: .github/ISSUE_TEMPLATE/1_bug_report.yaml\n\n      - name: Set labels based on severity field\n        uses: redhat-plumbers-in-action/advanced-issue-labeler@v3\n        with:\n          issue-form: ${{ steps.issue-parser.outputs.jsonString }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:37.956215", "created_at": "2023-04-27T16:15:13+02:00", "updated_at": "2023-04-27T16:15:13+02:00", "name": "Label Pull Requests", "path": ".github/workflows/labeler-pr.yml", "contents": "name: Label Pull Requests\non: [pull_request_target]\n\njobs:\n  triage:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/labeler@v5\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          configuration-path: .github/label-change.yml\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:38.974261", "created_at": "2023-06-06T18:19:11+02:00", "updated_at": "2024-03-01T03:43:31+01:00", "name": "Test Data", "path": ".github/workflows/ci-tests-data.yml", "contents": null, "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:40.106369", "created_at": "2023-08-30T16:51:05+02:00", "updated_at": "2023-08-30T19:11:39+02:00", "name": "Docker builds", "path": ".github/workflows/docker-build.yml", "contents": "name: Docker builds\n\non:\n  push:\n    branches: [master, \"release/*\"]\n  pull_request:\n    branches: [master, \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped\n    paths:\n      - \".actions/*\"\n      - \".github/workflows/docker-build.yml\"\n      - \"dockers/**\"\n      - \"requirements/*.txt\"\n      - \"requirements/pytorch/**\"\n      - \"requirements/fabric/**\"\n      - \"setup.py\"\n      - \"!requirements/*/docs.txt\"\n      - \"!*.md\"\n      - \"!**/*.md\"\n  schedule:\n    - cron: \"0 0 * * *\" # at the end of every day\n  release:\n    types: [published]\n  workflow_dispatch: {}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}-${{ github.event_name }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\nenv:\n  PUSH_NIGHTLY: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}\n  PUSH_RELEASE: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'release' }}\n\njobs:\n  build-pl:\n    # the images generated by this job are not used anywhere in this repository. they are just meant to be available\n    # for users\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # We only release one docker image per PyTorch version.\n          # Make sure the matrix here matches the one below.\n          - { python_version: \"3.10\", pytorch_version: \"2.0\", cuda_version: \"11.8.0\" }\n          - { python_version: \"3.10\", pytorch_version: \"2.1\", cuda_version: \"12.1.0\" }\n          - { python_version: \"3.10\", pytorch_version: \"2.2\", cuda_version: \"12.1.0\" }\n          - { python_version: \"3.11\", pytorch_version: \"2.1\", cuda_version: \"12.1.0\" }\n          - { python_version: \"3.11\", pytorch_version: \"2.2\", cuda_version: \"12.1.0\" }\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n      - uses: docker/setup-buildx-action@v3\n      - uses: docker/login-action@v3\n        if: env.PUSH_RELEASE == 'true' && github.repository_owner == 'Lightning-AI'\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Get release version\n        if: github.event_name == 'release'\n        # For workflows triggered by release, `GITHUB_REF` is the release tag created.\n        run: echo \"RELEASE_VERSION=$(echo ${GITHUB_REF##*/})\" >> $GITHUB_ENV\n      - name: Set tags\n        run: |\n          import os\n\n          repo = \"pytorchlightning/pytorch_lightning\"\n          ver = os.getenv('RELEASE_VERSION')\n          py_ver = \"${{ matrix.python_version }}\"\n          pt_ver = \"${{ matrix.pytorch_version }}\"\n          cuda_ver = \"${{ matrix.cuda_version }}\"\n          tags = [f\"latest-py{py_ver}-torch{pt_ver}-cuda{cuda_ver}\"]\n          if ver:\n            tags += [f\"{ver}-py{py_ver}-torch{pt_ver}-cuda{cuda_ver}\"]\n          if py_ver == '3.10' and pt_ver == '2.1' and cuda_ver == '12.1.0':\n            tags += [\"latest\"]\n\n          tags = [f\"{repo}:{tag}\" for tag in tags]\n          with open(os.getenv('GITHUB_ENV'), \"a\") as gh_env:\n              gh_env.write(\"DOCKER_TAGS=\" + \",\".join(tags))\n        shell: python\n\n      - uses: docker/build-push-action@v5\n        with:\n          build-args: |\n            PYTHON_VERSION=${{ matrix.python_version }}\n            PYTORCH_VERSION=${{ matrix.pytorch_version }}\n            CUDA_VERSION=${{ matrix.cuda_version }}\n            LIGHTNING_VERSION=${{ env.RELEASE_VERSION }}\n          file: dockers/release/Dockerfile\n          push: ${{ env.PUSH_RELEASE }} # pushed in release-docker.yml only when PL is released\n          tags: ${{ env.DOCKER_TAGS }}\n        timeout-minutes: 35\n\n  build-cuda:\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          # These are the base images for PL release docker images.\n          # Make sure the matrix here matches the one above.\n          - { python_version: \"3.10\", pytorch_version: \"2.0\", cuda_version: \"11.8.0\" }\n          - { python_version: \"3.10\", pytorch_version: \"2.1\", cuda_version: \"12.1.0\" }\n          - { python_version: \"3.10\", pytorch_version: \"2.2\", cuda_version: \"12.1.0\" }\n          - { python_version: \"3.11\", pytorch_version: \"2.1\", cuda_version: \"12.1.0\" }\n          - { python_version: \"3.11\", pytorch_version: \"2.2\", cuda_version: \"12.1.0\" }\n          - { python_version: \"3.11\", pytorch_version: \"2.3\", cuda_version: \"12.1.0\" }\n          # - { python_version: \"3.12\", pytorch_version: \"2.2\", cuda_version: \"12.1.0\" }  # todo: pending on `onnxruntime`\n    steps:\n      - uses: actions/checkout@v4\n      - uses: docker/setup-buildx-action@v3\n      - uses: docker/login-action@v3\n        if: env.PUSH_NIGHTLY == 'true' && github.repository_owner == 'Lightning-AI'\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      - uses: docker/build-push-action@v5\n        with:\n          build-args: |\n            PYTHON_VERSION=${{ matrix.python_version }}\n            PYTORCH_VERSION=${{ matrix.pytorch_version }}\n            CUDA_VERSION=${{ matrix.cuda_version }}\n          file: dockers/base-cuda/Dockerfile\n          push: ${{ env.PUSH_NIGHTLY }}\n          tags: \"pytorchlightning/pytorch_lightning:base-cuda-py${{ matrix.python_version }}-torch${{ matrix.pytorch_version }}-cuda${{ matrix.cuda_version }}\"\n        timeout-minutes: 95\n      - uses: ravsamhq/notify-slack-action@v2\n        if: failure() && env.PUSH_NIGHTLY == 'true'\n        with:\n          status: ${{ job.status }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n          notification_title: ${{ format('CUDA; {0} py{1} for *{2}*', runner.os, matrix.python_version, matrix.pytorch_version) }}\n          message_format: \"{emoji} *{workflow}* {status_message}, see <{run_url}|detail>, cc: <@U01A5T7EY9M>\" # akihironitta\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n\n  build-NGC:\n    if: github.event.pull_request.draft == false\n    # fixme: use larger machine or optimize image size\n    # runs-on: ubuntu-latest-4-cores\n    # then drop continue-on-error\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Build Conda Docker\n        # publish master/release\n        continue-on-error: true\n        uses: docker/build-push-action@v5\n        with:\n          file: dockers/nvidia/Dockerfile\n          push: false\n        timeout-minutes: 55\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:41.335740", "created_at": "2023-08-30T19:43:21+02:00", "updated_at": "2024-05-22T19:47:59+02:00", "name": "Releasing packages", "path": ".github/workflows/release-pkg.yml", "contents": "name: Releasing packages\n\n# https://help.github.com/en/actions/reference/events-that-trigger-workflows\non:\n  push:\n    branches: [master, \"release/*\"]\n  release:\n    types: [published]\n  pull_request: # this shall test only the part of workflow before publishing\n    branches: [master, \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize]\n    paths:\n      - \"requirements/ci.txt\"\n      - \".github/actions/pkg-check/*\"\n      - \".github/actions/pkg-publish/*\"\n      - \".github/workflows/_legacy-checkpoints.yml.yml\"\n      - \".github/workflows/_build-packages.yml\"\n      - \".github/workflows/release-pypi.yml\"\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  FREEZE_REQUIREMENTS: 1\n  TORCH_URL: \"https://download.pytorch.org/whl/cpu/torch_stable.html\"\n  PYTHON_VER: \"3.8\"\n\njobs:\n  build-packages:\n    uses: ./.github/workflows/_build-packages.yml\n    with:\n      artifact-name: dist-packages-${{ github.sha }}\n\n  upload-packages:\n    runs-on: ubuntu-22.04\n    needs: build-packages\n    if: github.event_name == 'release'\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/download-artifact@v3\n        with:\n          name: dist-packages-${{ github.sha }}\n          path: dist\n      - run: ls -lh dist/\n      - name: Upload to release\n        uses: AButler/upload-release-assets@v3.0\n        with:\n          files: \"dist/*/*\"\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n\n  release-version:\n    runs-on: ubuntu-22.04\n    outputs:\n      tag: ${{ steps.lai-package.outputs.version }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VER }}\n      - name: install Package\n        run: |\n          pip install . -f ${TORCH_URL}\n          pip list\n      - name: package Version\n        id: lai-package\n        run: python -c \"import lightning ; print(f'version={lightning.__version__}')\" >> $GITHUB_OUTPUT\n\n  signaling:\n    runs-on: ubuntu-22.04\n    needs: [\"release-version\", \"build-packages\"]\n    if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n    env:\n      TAG: ${{ needs.release-version.outputs.tag }}\n      BRANCH_NAME: \"trigger/lightning-${{ needs.release-version.outputs.tag }}\"\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: gridai/base-images\n          token: ${{ secrets.PAT_GHOST }}\n      - name: Update lightning version\n        run: |\n          import json, os, re\n          tag = os.getenv('TAG')\n          fname_json = \"versions.json\"\n          with open(fname_json, encoding=\"utf-8\") as fopen:\n              vers = json.load(fopen)\n          vers[\"lightning_version\"] = tag\n          conda_ = vers[\"conda_snapshot\"].split(\".\")\n          conda_[-1] = str(int(conda_[-1]) + 1)\n          vers[\"conda_snapshot\"] = \".\".join(conda_)\n          with open(fname_json, \"w\", encoding=\"utf-8\") as fopen:\n              json.dump(vers, fopen, indent=2)\n              # satisfy pre-commit with line fixer\n              fopen.write(os.linesep)\n          fname_txt = \"conda-user/user-env-requirements.txt\"\n          with open(fname_txt, encoding=\"utf-8\") as fopen:\n              reqs = fopen.read()\n          reqs = re.sub(r\"lightning\\w*==([\\d\\.]+)\", f\"lightning=={tag}\", reqs)\n          with open(fname_txt, \"w\", encoding=\"utf-8\") as fopen:\n              fopen.write(reqs)\n        shell: python\n      - run: cat versions.json\n\n      - name: Create Pull Request\n        if: github.event_name != 'pull_request'\n        uses: peter-evans/create-pull-request@v6\n        with:\n          title: \"Bump lightning ver `${{ env.TAG }}`\"\n          committer: GitHub <noreply@github.com>\n          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n          token: ${{ secrets.PAT_GHOST }}\n          add-paths: |\n            versions.json\n            conda-user/user-env-requirements.txt\n          commit-message: \"bumping lightning version -> (${{ env.TAG }})\"\n          branch: \"bump/lightning-${{ env.TAG }}\"\n          # Delete the branch when closing pull requests, and when undeleted after merging.\n          delete-branch: true\n          # the PR\"s body/content\n          body: >\n            **This is automated update with the latest lighting [release](https://github.com/Lightning-AI/lightning/releases/tag/${{ env.TAG }})!**\n\n            Please, act swiftly to land this PR as it is effectively blocking lightning release to be finished...\n          assignees: |\n            justusschock\n            borda\n          reviewers: |\n            justusschock\n            ethanwharris\n            borda\n\n  waiting:\n    runs-on: ubuntu-22.04\n    needs: [release-version, signaling]\n    env:\n      TAG: ${{ needs.release-version.outputs.tag }}\n    # due to PR process this may take longer\n    timeout-minutes: 180\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.PYTHON_VER }}\n      - run: pip install gitpython\n      - name: Delay releasing\n        run: |\n          import git, os, time\n          repo = git.Repo('.')\n          branch = f\"origin/builds/{os.getenv('TAG')}\"\n          while True:\n            remote_refs = [b.name for b in repo.remote().refs]\n            print([n for n in remote_refs if \"builds\" in n])\n            if branch in remote_refs:\n              break\n            time.sleep(60)\n            for remote in repo.remotes:\n              remote.fetch()\n        shell: python\n\n  pre-publish-packages:\n    runs-on: ubuntu-22.04\n    needs: build-packages\n    if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\"APP\", \"FABRIC\", \"PYTORCH\", \"LIGHTNING\"]\n    steps:\n      - uses: actions/checkout@v4 # needed for local action below\n      - uses: actions/download-artifact@v3\n        with:\n          name: dist-packages-${{ github.sha }}\n          path: dist\n      - name: Browse folder\n        id: folder\n        run: |\n          sudo apt install -q -y tree\n          tree -L 2 -h dist/\n          python -c \"print('pkg=' + '${{ matrix.name }}'.lower())\" >> $GITHUB_OUTPUT\n      - uses: ./.github/actions/pkg-publish\n        with:\n          pkg-folder: dist/${{ steps.folder.outputs.pkg }}\n          pypi-test-token: ${{ secrets[format('PYPI_TEST_TOKEN_{0}', matrix.name)] }}\n\n  publish-packages:\n    runs-on: ubuntu-22.04\n    needs: [build-packages, waiting]\n    if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n    strategy:\n      fail-fast: false\n      matrix:\n        name: [\"APP\", \"FABRIC\", \"PYTORCH\", \"LIGHTNING\"]\n    steps:\n      - uses: actions/checkout@v4 # needed for local action below\n      - uses: actions/download-artifact@v3\n        with:\n          name: dist-packages-${{ github.sha }}\n          path: dist\n      - name: Browse folder\n        id: folder\n        run: |\n          sudo apt install -q -y tree\n          tree -L 2 -h dist/\n          python -c \"print('pkg=' + '${{ matrix.name }}'.lower())\" >> $GITHUB_OUTPUT\n      - uses: ./.github/actions/pkg-publish\n        with:\n          pkg-folder: dist/${{ steps.folder.outputs.pkg }}\n          pypi-token: ${{ secrets[format('PYPI_TOKEN_{0}', matrix.name)] }}\n\n  legacy-checkpoints:\n    needs: [build-packages]\n    uses: ./.github/workflows/_legacy-checkpoints.yml\n    with:\n      push_to_s3: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}\n      upload_local: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}\n      create_pr: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}\n    secrets: inherit\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:42.563967", "created_at": "2023-08-31T23:53:47+02:00", "updated_at": "2023-08-31T23:53:47+02:00", "name": "RTFD Preview", "path": ".github/workflows/ci-rtfd.yml", "contents": "name: RTFD Preview\non:\n  pull_request_target:\n    types:\n      - opened\n\npermissions:\n  pull-requests: write\n\njobs:\n  documentation-links:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: readthedocs/actions/preview@v1\n        with:\n          project-slug: \"pytorch-lightning\"\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:43.795673", "created_at": "2023-10-11T19:18:46+02:00", "updated_at": "2023-10-12T10:25:43+02:00", "name": "Update tutorials", "path": ".github/workflows/docs-tutorials.yml", "contents": "name: Update tutorials\n\non:\n  pull_request:\n    branches: [\"master\"]\n    paths:\n      - \".github/workflows/docs-tutorials.yml\"\n  schedule:\n    # on Sundays\n    - cron: \"0 0 * * 0\"\n  workflow_dispatch: {}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  docs-update:\n    runs-on: ubuntu-20.04\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 0\n          #lfs: true\n\n      - name: initial state\n        run: |\n          git submodule status\n          # starting from second char as the line starts with +\n          short_sha=$(git submodule status | grep -A 1 _notebooks | cut -c2-9)\n          echo \"SHA_ACTUAL=$short_sha\" >> $GITHUB_ENV\n          # Skip smudge - We'll download binary files later in a faster batch\n          git lfs install --skip-smudge\n      - name: update submodules\n        env:\n          GIT_TRACE: 1\n        run: |\n          git submodule sync\n          git submodule update --remote --force\n      - name: final state\n        run: |\n          git submodule status\n          git status\n          # starting from second char as the line starts with +\n          short_sha=$(git submodule status | grep -A 1 _notebooks | cut -c2-9)\n          echo \"SHA_LATEST=$short_sha\" >> $GITHUB_ENV\n\n      - name: Create Pull Request\n        if: ${{ github.event_name != 'pull_request' && env.SHA_ACTUAL != env.SHA_LATEST }}\n        uses: peter-evans/create-pull-request@v6\n        with:\n          title: \"docs: update ref to latest tutorials\"\n          committer: GitHub <noreply@github.com>\n          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n          token: ${{ secrets.PAT_GHOST }}\n          add-paths: _notebooks\n          commit-message: \"update tutorials to `${{ env.SHA_LATEST }}`\"\n          branch: \"docs/update-tutorials\"\n          # Delete the branch when closing pull requests, and when undeleted after merging.\n          delete-branch: true\n          # the PR's body/content\n          body: >\n            **This is automated update with the latest lighting tutorials!**\n\n            The target commit in the [publication](https://github.com/Lightning-AI/tutorials/tree/publication)\n             branch is [${{ env.SHA_LATEST }}](https://github.com/Lightning-AI/tutorials/commit/${{ env.SHA_LATEST }}).\n\n            Before proceeding further double check that the PR include only submodule's head update.\n            Eventually some additional adjustments in lightning docs may be needed.\n          labels: |\n            docs\n            examples\n          assignees: borda\n          reviewers: borda\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:44.793948", "created_at": "2023-11-29T17:36:39+01:00", "updated_at": "2023-11-29T17:36:39+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:45.943386", "created_at": "2024-03-17T09:16:06+01:00", "updated_at": "2024-03-17T13:49:37+01:00", "name": "Nightly packages", "path": ".github/workflows/release-nightly.yml", "contents": "name: Nightly packages\n\non:\n  pull_request: # this shall test only the part of workflow before publishing\n    branches: [master, \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize]\n    paths:\n      - \"requirements/ci.txt\"\n      - \".github/actions/pkg-check/*\"\n      - \".github/actions/pkg-publish/*\"\n      - \".github/workflows/release-nightly.yml\"\n  schedule:\n    - cron: \"0 0 * * 0\" # on Sundays\n  workflow_dispatch: {}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  build-packages:\n    runs-on: ubuntu-22.04\n    env:\n      PKG_NAME: \"lightning\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n\n      - name: Convert actual version to nightly\n        run: |\n          pip install -q -r .actions/requirements.txt\n          python .actions/assistant.py convert_version2nightly\n      - run: python -c \"print('NB_DIRS=' + str(2 if '${{ env.PKG_NAME }}' == 'pytorch' else 1))\" >> $GITHUB_ENV\n      - name: Build & check package\n        uses: ./.github/actions/pkg-check\n        with:\n          pkg-name: ${{ env.PKG_NAME }}\n          nb-dirs: ${{ env.NB_DIRS }}\n          allow-local-changes: \"true\"\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: nightly-packages-${{ github.sha }}\n          path: dist\n\n  publish-packages:\n    runs-on: ubuntu-22.04\n    needs: build-packages\n    if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'\n    env:\n      PKG_NAME: \"lightning\"\n    steps:\n      - uses: actions/checkout@v4 # needed to use local composite action\n      - uses: actions/download-artifact@v4\n        with:\n          name: nightly-packages-${{ github.sha }}\n          path: dist\n      - uses: ./.github/actions/pkg-publish\n        with:\n          pkg-folder: dist\n          pypi-test-token: ${{ secrets[format('PYPI_TEST_TOKEN_{0}', env.PKG_NAME)] }}\n      - uses: ./.github/actions/pkg-publish\n        with:\n          pkg-folder: dist\n          pypi-token: ${{ secrets[format('PYPI_TOKEN_{0}', env.PKG_NAME)] }}\n", "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:47.171840", "created_at": "2024-07-08T10:54:28+02:00", "updated_at": "2024-07-08T10:54:28+02:00", "name": "Package extras", "path": ".github/workflows/ci-pkg-extend.yml", "contents": null, "state": "active", "repository": "Lightning-AI/pytorch-lightning"}
{"mined_at": "2024-07-15T18:51:49.212473", "created_at": "2024-04-26T22:56:15+02:00", "updated_at": "2024-04-27T20:54:35+02:00", "name": "Code Formatter (autoflake)", "path": ".github/workflows/autoflake_format.yml", "contents": "name: Code Formatter (autoflake)\n\non:\n  pull_request:\n    paths:\n      - '**.py'\n  workflow_dispatch:\n\njobs:\n  autoflake-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: \"Setup Python, Poetry and Dependencies\"\n        uses: packetcoders/action-setup-cache-python-poetry@main\n        with:\n          python-version: \"3.12\"\n          poetry-version: \"1.8.2\"\n          install-args: \"-E dev\"  # TODO: change this to --group dev when PR #842 lands\n\n      - name: Run Autoflake\n        id: autoflake\n        run: poetry run autoflake --remove-all-unused-imports --remove-unused-variables --in-place --recursive --ignore-init-module-imports .\n        continue-on-error: true\n\n      - name: Check Autoflake Output\n        if: steps.autoflake.outcome == 'failure'\n        run: |\n          poetry run autoflake --version\n          poetry run python --version\n          echo \"Autoflake check failed. To fix, please run 'poetry run autoflake .'\"\n          exit 1\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:51:50.347114", "created_at": "2023-10-29T06:39:37+01:00", "updated_at": "2024-04-26T23:03:37+02:00", "name": "Code Formatter (Black)", "path": ".github/workflows/black_format.yml", "contents": "name: Code Formatter (Black)\n\non:\n  pull_request:\n    paths:\n      - '**.py'\n  workflow_dispatch:\n\njobs:\n  black-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: \"Setup Python, Poetry and Dependencies\"\n        uses: packetcoders/action-setup-cache-python-poetry@main\n        with:\n          python-version: \"3.12\"\n          poetry-version: \"1.8.2\"\n          install-args: \"-E dev\"  # TODO: change this to --group dev when PR #842 lands\n\n      - name: Run Black\n        id: black\n        run: poetry run black --check .\n        continue-on-error: true\n\n      - name: Check Black Output\n        if: steps.black.outcome == 'failure'\n        run: |\n          echo \"Black check failed. To fix, please run 'poetry run black .'\"\n          exit 1\n\n\n\n      # (Optional) If you want to automatically fix formatting issues\n      # Uncomment the following steps:\n\n      # - name: Auto-fix with Black and commit\n      #   if: failure()\n      #   run: |\n      #     black .\n      #     git config --local user.email \"action@github.com\"\n      #     git config --local user.name \"GitHub Action\"\n      #     git commit -am \"Apply Black formatting\" || echo \"No changes to commit\"\n      #     git push\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:51:51.399337", "created_at": "2024-03-21T23:58:39+01:00", "updated_at": "2024-03-21T23:58:39+01:00", "name": "Docker Image CI", "path": ".github/workflows/docker-image.yml", "contents": "name: Docker Image CI\n\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Login to Docker Hub\n      uses: docker/login-action@v3\n      with:\n        username: ${{ secrets.DOCKERHUB_USERNAME }}\n        password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n    - uses: actions/checkout@v3\n    - name: Build and push the Docker image\n      run: |\n        # Extract the version number from pyproject.toml using awk\n        CURRENT_VERSION=$(awk -F '\"' '/version =/ { print $2 }' pyproject.toml | head -n 1)\n        docker build . --file Dockerfile --tag memgpt/memgpt-server:$CURRENT_VERSION --tag memgpt/memgpt-server:latest\n        docker push memgpt/memgpt-server:$CURRENT_VERSION\n        docker push memgpt/memgpt-server:latest\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:51:52.400006", "created_at": "2024-04-20T19:58:35+02:00", "updated_at": "2024-05-07T19:01:27+02:00", "name": "Run Docker integration tests", "path": ".github/workflows/docker-integration-tests.yaml", "contents": "name: Run Docker integration tests\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.12'\n\n    - name: Set permissions for log directory\n      run: |\n        mkdir -p /home/runner/.memgpt/logs\n        sudo chown -R $USER:$USER /home/runner/.memgpt/logs\n        chmod -R 755 /home/runner/.memgpt/logs\n\n    - name: Build and run docker dev server\n      env:\n        MEMGPT_PG_DB:   memgpt\n        MEMGPT_PG_USER: memgpt\n        MEMGPT_PG_PASSWORD: memgpt\n        MEMGPT_PG_PORT: 8888\n        MEMGPT_SERVER_PASS: test_server_token\n        OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n\n      run: docker compose -f dev-compose.yaml up --build -d\n    #- name: \"Setup Python, Poetry and Dependencies\"\n    #  uses: packetcoders/action-setup-cache-python-poetry@v1.2.0\n    #  with:\n    #    python-version: \"3.12\"\n    #    poetry-version: \"1.8.2\"\n    #    install-args: \"--all-extras\"\n\n    - name: Wait for service\n      run: bash scripts/wait_for_service.sh http://localhost:8083 -- echo \"Service is ready\"\n\n    - name: Run tests with pytest\n      env:\n        MEMGPT_PG_DB:   memgpt\n        MEMGPT_PG_USER: memgpt\n        MEMGPT_PG_PASSWORD: memgpt\n        MEMGPT_PG_PORT: 8888\n        MEMGPT_SERVER_PASS: test_server_token\n        MEMGPT_SERVER_URL: http://localhost:8083\n        OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n        PYTHONPATH: ${{ github.workspace }}:${{ env.PYTHONPATH }}\n      run: |\n        pipx install poetry==1.8.2\n        poetry install -E dev\n        poetry run pytest -s tests/test_client.py\n        poetry run pytest -s tests/test_concurrent_connections.py\n\n    - name: Print docker logs if tests fail\n      if: failure()\n      run: |\n        echo \"Printing Docker Logs...\"\n        docker compose -f dev-compose.yaml logs\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:51:53.437987", "created_at": "2024-04-26T22:56:15+02:00", "updated_at": "2024-04-27T20:54:36+02:00", "name": "Code Formatter (isort)", "path": ".github/workflows/isort_format.yml", "contents": "name: Code Formatter (isort)\n\non:\n  pull_request:\n    paths:\n      - '**.py'\n  workflow_dispatch:\n\njobs:\n  isort-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: \"Setup Python, Poetry and Dependencies\"\n        uses: packetcoders/action-setup-cache-python-poetry@main\n        with:\n          python-version: \"3.12\"\n          poetry-version: \"1.8.2\"\n          install-args: \"-E dev\"  # TODO: change this to --group dev when PR #842 lands\n\n      - name: Run isort\n        id: isort\n        run: poetry run isort --profile black --check-only .\n        continue-on-error: true\n\n      - name: Check isort Output\n        if: steps.isort.outcome == 'failure'\n        run: |\n          poetry run isort --version\n          poetry run python --version\n          echo \"isort check failed. To fix, please run 'poetry run isort --profile black .'\"\n          exit 1\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:51:54.442948", "created_at": "2023-10-11T09:49:03+02:00", "updated_at": "2023-10-13T06:45:13+02:00", "name": "Deploy Jekyll with GitHub Pages dependencies preinstalled", "path": ".github/workflows/jekyll-gh-pages.yml", "contents": null, "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:51:55.418717", "created_at": "2023-10-20T01:26:06+02:00", "updated_at": "2023-10-20T01:26:06+02:00", "name": "Basic check of main.py", "path": ".github/workflows/main.yml", "contents": "name: Basic check of main.py\n\non:\n  push:\n    paths:\n      - 'main.py'\n\njobs:\n  check_main:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: \"Setup Python, Poetry and Dependencies\"\n      uses: packetcoders/action-setup-cache-python-poetry@main\n      with:\n        python-version: \"3.11\"\n        poetry-version: \"1.7.1\"\n        install-args: \"--all-extras\"\n\n    - name: Run main.py with input\n      run: |\n        echo -e \"\\n\\n\\nn\" | poetry run python main.py\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:51:56.471360", "created_at": "2023-11-08T08:10:03+01:00", "updated_at": "2023-11-08T08:10:03+01:00", "name": "poetry-publish-nightly", "path": ".github/workflows/poetry-publish-nightly.yml", "contents": "name: poetry-publish-nightly\non:\n  schedule:\n    - cron: '35 10 * * *' # 10:35am UTC, 2:35am PST, 5:35am EST\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  # nightly release check from https://stackoverflow.com/a/67527144\n  check-date:\n    runs-on: ubuntu-latest\n    outputs:\n      should_run: ${{ steps.should_run.outputs.should_run }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: print latest_commit\n        run: echo ${{ github.sha }}\n      - id: should_run\n        continue-on-error: true\n        name: check latest commit is less than a day\n        if: ${{ github.event_name == 'schedule' }}\n        run: test -z $(git rev-list  --after=\"24 hours\"  ${{ github.sha }}) && echo \"::set-output name=should_run::false\"\n\n  build-and-publish-nightly:\n    name: Build and Publish to PyPI (nightly)\n    if: github.repository == 'cpacker/MemGPT'  # TODO: if the repo org ever changes, this must be updated\n    runs-on: ubuntu-latest\n    needs: check-date\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: \"Setup Python, Poetry and Dependencies\"\n        uses: packetcoders/action-setup-cache-python-poetry@main\n        with:\n          python-version: \"3.11\"\n          poetry-version: \"1.7.1\"\n\n      - name: Set release version\n        run: |\n          # Extract the version number from pyproject.toml using awk\n          CURRENT_VERSION=$(awk -F '\"' '/version =/ { print $2 }' pyproject.toml | head -n 1)\n          # Export the CURRENT_VERSION with the .dev and current date suffix\n          NIGHTLY_VERSION=\"${CURRENT_VERSION}.dev$(date +%Y%m%d%H%M%S)\"\n          # Overwrite pyproject.toml with nightly config\n          sed -i \"0,/version = \\\"${CURRENT_VERSION}\\\"/s//version = \\\"${NIGHTLY_VERSION}\\\"/\" pyproject.toml\n          sed -i 's/name = \"pymemgpt\"/name = \"pymemgpt-nightly\"/g' pyproject.toml\n          sed -i \"s/__version__ = '.*'/__version__ = '${NIGHTLY_VERSION}'/g\" memgpt/__init__.py\n          cat pyproject.toml\n          cat memgpt/__init__.py\n\n      - name: Configure poetry\n        env:\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN}}\n        run: poetry config pypi-token.pypi \"$PYPI_TOKEN\"\n\n      - name: Build the Python package\n        run: poetry build\n\n      - name: Publish the package to PyPI\n        run: poetry publish\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:51:57.616635", "created_at": "2023-10-27T01:34:21+02:00", "updated_at": "2023-10-27T01:50:55+02:00", "name": "poetry-publish", "path": ".github/workflows/poetry-publish.yml", "contents": "name: poetry-publish\non:\n  release:\n    types: [published]\n  workflow_dispatch:\n\njobs:\n  build-and-publish:\n    name: Build and Publish to PyPI\n    if: github.repository == 'cpacker/MemGPT'  # TODO: if the repo org ever changes, this must be updated\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repository\n        uses: actions/checkout@v4\n\n      - name: \"Setup Python, Poetry and Dependencies\"\n        uses: packetcoders/action-setup-cache-python-poetry@main\n        with:\n          python-version: \"3.11\"\n          poetry-version: \"1.7.1\"\n\n      - name: Configure poetry\n        env:\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n        run: |\n          poetry config pypi-token.pypi \"$PYPI_TOKEN\"\n\n      - name: Build the Python package\n        run: poetry build\n\n      - name: Publish the package to PyPI\n        run: poetry publish\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:51:58.620902", "created_at": "2024-01-21T01:03:22+01:00", "updated_at": "2024-04-26T23:03:37+02:00", "name": "Code Formatter (Pyright type checking)\"", "path": ".github/workflows/pyright_types.yml", "contents": "name: Code Formatter (Pyright type checking)\"\non:\n  pull_request:\n    paths:\n      - '**.py'\n\npermissions:\n  contents: read\n  pull-requests: read\n\njobs:\n  pyright:\n    name: \"Pyright types check\"\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: \"Setup Python, Poetry and Dependencies\"\n        uses: packetcoders/action-setup-cache-python-poetry@main\n        with:\n          python-version: ${{matrix.python-version}}\n          poetry-version: \"1.7.1\"\n          install-args: \"-E dev\"  # TODO: change this to --group dev when PR #842 lands\n\n      - name: \"Add Poetry venv to PATH\"\n        run: 'echo \"$(poetry env info --path)/bin\" >> $GITHUB_PATH'\n\n      - name: \"Run Pyright\"\n        uses: jakebailey/pyright-action@v2\n        with:\n          python-version: ${{matrix.python-version}}\n          level: \"error\"\n        continue-on-error: true  # TODO: remove once the repo has been corrected for pyright\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:51:59.593475", "created_at": "2023-12-19T05:29:27+01:00", "updated_at": "2024-03-25T00:06:19+01:00", "name": "ReadMe GitHub Action 🦉", "path": ".github/workflows/rdme-docs.yml", "contents": "# This GitHub Actions workflow was auto-generated by the `rdme` cli on 2023-12-18T23:15:45.852Z\n# You can view our full documentation here: https://docs.readme.com/docs/rdme\nname: ReadMe GitHub Action 🦉\n\non:\n  push:\n    branches:\n      # This workflow will run every time you push code to the following branch: `migrate-docs`\n      # Check out GitHub's docs for more info on configuring this:\n      # https://docs.github.com/actions/using-workflows/events-that-trigger-workflows\n      - main\n\njobs:\n  rdme-docs:\n    runs-on: ubuntu-latest\n    if: github.repository == 'cpacker/MemGPT'  # TODO: if the repo org ever changes, this must be updated\n    steps:\n      - name: Check out repo 📚\n        uses: actions/checkout@v4\n\n      - name: Run `docs` command 🚀\n        uses: readmeio/rdme@v8\n        with:\n          rdme: docs docs --key=${{ secrets.README_API_KEY }} --version=1.0\n", "state": "disabled_manually", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:52:00.593215", "created_at": "2024-01-16T08:01:11+01:00", "updated_at": "2024-01-16T08:01:11+01:00", "name": "ReadMe GitHub Action (OpenAPI) 🦉", "path": ".github/workflows/rdme-openapi.yml", "contents": "# This GitHub Actions workflow was auto-generated by the `rdme` cli on 2023-12-19T05:58:13.568Z\n# You can view our full documentation here: https://docs.readme.com/docs/rdme\nname: ReadMe GitHub Action (OpenAPI) 🦉\n\nenv:\n  MEMGPT_PGURI: ${{ secrets.MEMGPT_PGURI }}\n  OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n\non:\n  push:\n    branches:\n      # This workflow will run every time you push code to the following branch: `main`\n      # Check out GitHub's docs for more info on configuring this:\n      # https://docs.github.com/actions/using-workflows/events-that-trigger-workflows\n      - main\n\njobs:\n  rdme-openapi:\n    runs-on: ubuntu-latest\n    if: github.repository == 'cpacker/MemGPT'  # TODO: if the repo org ever changes, this must be updated\n    steps:\n      - name: Check out repo 📚\n        uses: actions/checkout@v4\n\n      - name: \"Setup Python, Poetry and Dependencies\"\n        uses: packetcoders/action-setup-cache-python-poetry@main\n        with:\n          python-version: \"3.12\"\n          poetry-version: \"1.8.2\"\n          install-args: \"-E dev\"\n\n      - name: Generate openapi.json file\n        run: |\n          poetry run memgpt quickstart\n          poetry run memgpt server &\n          CMD_PID=$!\n          sleep 5  # Wait for 5 seconds\n          kill -SIGINT $CMD_PID\n\n      - name: Run `openapi` command (file 1) 🚀\n        uses: readmeio/rdme@v8\n        with:\n          rdme: openapi openapi_memgpt.json --key=${{ secrets.README_API_KEY }} --id=6581305097523b004eedfd16\n\n      - name: Run `openapi` command (file 2) 🚀\n        uses: readmeio/rdme@v8\n        with:\n          rdme: openapi openapi_assistants.json --key=${{ secrets.README_API_KEY }} --id=65cd16e8798bc7000fdab1cb\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:52:01.815452", "created_at": "2023-12-16T22:44:15+01:00", "updated_at": "2024-01-20T00:32:12+01:00", "name": "Validate Pull Request Format", "path": ".github/workflows/semantic-prs.yml", "contents": "name: Validate Pull Request Format\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n\npermissions:\n  pull-requests: read\n\njobs:\n  main:\n    name: Validate PR title\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:52:02.808871", "created_at": "2024-06-05T01:53:44+02:00", "updated_at": "2024-06-05T01:59:00+02:00", "name": "Run endpoint tests", "path": ".github/workflows/test_endpoints.yml", "contents": null, "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:52:03.851901", "created_at": "2024-06-05T02:38:00+02:00", "updated_at": "2024-06-05T04:03:40+02:00", "name": "Endpoint (Local)", "path": ".github/workflows/test_local.yml", "contents": "name: Endpoint (Local)\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: \"Setup Python, Poetry and Dependencies\"\n      uses: packetcoders/action-setup-cache-python-poetry@main\n      with:\n        python-version: \"3.12\"\n        poetry-version: \"1.8.2\"\n        install-args: \"-E dev -E local\"\n\n    - name: Test embedding endpoint\n      env:\n        OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n      run: |\n        poetry run pytest -s -vv tests/test_endpoints.py::test_embedding_endpoint_local\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:52:04.881932", "created_at": "2024-06-05T02:15:49+02:00", "updated_at": "2024-06-05T04:03:40+02:00", "name": "Endpoint (MemGPT)", "path": ".github/workflows/test_memgpt_hosted.yml", "contents": "name: Endpoint (MemGPT)\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: \"Setup Python, Poetry and Dependencies\"\n      uses: packetcoders/action-setup-cache-python-poetry@main\n      with:\n        python-version: \"3.12\"\n        poetry-version: \"1.8.2\"\n        install-args: \"-E dev\"\n\n    - name: Test LLM endpoint\n      run: |\n        poetry run pytest -s -vv tests/test_endpoints.py::test_llm_endpoint_memgpt_hosted\n\n    - name: Test embedding endpoint\n      run: |\n        poetry run pytest -s -vv tests/test_endpoints.py::test_embedding_endpoint_memgpt_hosted\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:52:05.911645", "created_at": "2024-06-05T04:16:39+02:00", "updated_at": "2024-06-05T05:49:22+02:00", "name": "Endpoint (Ollama)", "path": ".github/workflows/test_ollama.yml", "contents": "name: Endpoint (Ollama)\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Start Ollama Server\n      run: |\n        curl -fsSL https://ollama.com/install.sh | sh\n        ollama serve &\n        sleep 10 # wait for server\n        ollama pull dolphin2.2-mistral:7b-q6_K\n        ollama pull mxbai-embed-large\n\n    - name: \"Setup Python, Poetry and Dependencies\"\n      uses: packetcoders/action-setup-cache-python-poetry@main\n      with:\n        python-version: \"3.12\"\n        poetry-version: \"1.8.2\"\n        install-args: \"-E dev -E ollama\"\n\n    - name: Test LLM endpoint\n      run: |\n        poetry run pytest -s -vv tests/test_endpoints.py::test_llm_endpoint_ollama\n\n    - name: Test embedding endpoint\n      run: |\n        poetry run pytest -s -vv tests/test_endpoints.py::test_embedding_endpoint_ollama\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:52:06.918172", "created_at": "2024-06-05T02:11:11+02:00", "updated_at": "2024-06-05T04:03:40+02:00", "name": "Endpoint (OpenAI)", "path": ".github/workflows/test_openai.yml", "contents": "name: Endpoint (OpenAI)\n\nenv:\n  OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: \"Setup Python, Poetry and Dependencies\"\n      uses: packetcoders/action-setup-cache-python-poetry@main\n      with:\n        python-version: \"3.12\"\n        poetry-version: \"1.8.2\"\n        install-args: \"-E dev\"\n\n    - name: Initialize credentials\n      env:\n        OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n      run: |\n        poetry run memgpt quickstart --backend openai\n\n    - name: Test LLM endpoint\n      env:\n        OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n      run: |\n        poetry run pytest -s -vv tests/test_endpoints.py::test_llm_endpoint_openai\n\n    - name: Test embedding endpoint\n      env:\n        OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n      run: |\n        poetry run pytest -s -vv tests/test_endpoints.py::test_embedding_endpoint_openai\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:52:08.061828", "created_at": "2023-10-31T23:14:39+01:00", "updated_at": "2024-01-20T00:32:12+01:00", "name": "Run All pytest Tests", "path": ".github/workflows/tests.yml", "contents": "name: Run All pytest Tests\n\nenv:\n  MEMGPT_PGURI: ${{ secrets.MEMGPT_PGURI }}\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n\n    services:\n      qdrant:\n        image: qdrant/qdrant\n        ports:\n          - 6333:6333\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n\n    - name: Build and run container\n      run: bash db/run_postgres.sh\n\n    - name: \"Setup Python, Poetry and Dependencies\"\n      uses: packetcoders/action-setup-cache-python-poetry@main\n      with:\n        python-version: \"3.12\"\n        poetry-version: \"1.8.2\"\n        install-args: \"-E dev -E postgres -E milvus\"\n\n    - name: Initialize credentials\n      run: poetry run memgpt quickstart --backend memgpt\n\n    #- name: Run docker compose server\n    #  env:\n    #    MEMGPT_PG_DB:   memgpt\n    #    MEMGPT_PG_USER: memgpt\n    #    MEMGPT_PG_PASSWORD: memgpt\n    #    MEMGPT_SERVER_PASS: test_server_token\n    #    MEMGPT_CONFIG_PATH: configs/server_config.yaml\n\n    #  run: docker compose up -d\n\n    - name: Run server tests\n      env:\n        MEMGPT_PG_PORT: 8888\n        MEMGPT_PG_USER: memgpt\n        MEMGPT_PG_PASSWORD: memgpt\n        MEMGPT_PG_DB: memgpt\n        MEMGPT_PG_HOST: localhost\n        MEMGPT_SERVER_PASS: test_server_token\n      run: |\n        poetry run pytest -s -vv tests/test_server.py\n\n    - name: Run tests with pytest\n      env:\n        MEMGPT_PG_PORT: 8888\n        MEMGPT_PG_USER: memgpt\n        MEMGPT_PG_PASSWORD: memgpt\n        MEMGPT_PG_HOST: localhost\n        MEMGPT_PG_DB: memgpt\n        MEMGPT_SERVER_PASS: test_server_token\n        PYTHONPATH: ${{ github.workspace }}:${{ env.PYTHONPATH }}\n      run: |\n        poetry run pytest -s -vv -k \"not test_concurrent_connections.py and not test_quickstart and not test_endpoints and not test_storage and not test_server and not test_openai_client\" tests\n\n    - name: Run storage tests\n      env:\n        MEMGPT_PG_PORT: 8888\n        MEMGPT_PG_USER: memgpt\n        MEMGPT_PG_PASSWORD: memgpt\n        MEMGPT_PG_HOST: localhost\n        MEMGPT_PG_DB: memgpt\n        MEMGPT_SERVER_PASS: test_server_token\n      run: |\n        poetry run pytest -s -vv tests/test_storage.py\n", "state": "active", "repository": "cpacker/MemGPT"}
{"mined_at": "2024-07-15T18:52:10.321932", "created_at": "2023-09-17T20:59:11+02:00", "updated_at": "2023-09-17T20:59:11+02:00", "name": "Lint", "path": ".github/workflows/black.yml", "contents": null, "state": "active", "repository": "stanfordnlp/dspy"}
{"mined_at": "2024-07-15T18:52:11.417589", "created_at": "2024-04-30T00:50:02+02:00", "updated_at": "2024-06-24T01:42:58+02:00", "name": "Publish Python 🐍 distributions 📦 to PyPI", "path": ".github/workflows/build_and_release.yml", "contents": null, "state": "active", "repository": "stanfordnlp/dspy"}
{"mined_at": "2024-07-15T18:52:12.443901", "created_at": "2023-09-17T21:02:42+02:00", "updated_at": "2023-09-17T21:02:42+02:00", "name": "Run isort", "path": ".github/workflows/isort.yml", "contents": null, "state": "active", "repository": "stanfordnlp/dspy"}
{"mined_at": "2024-07-15T18:52:13.475282", "created_at": "2024-01-19T09:45:40+01:00", "updated_at": "2024-01-22T14:30:42+01:00", "name": "Pre-commit checks", "path": ".github/workflows/precommits_check.yml", "contents": "name: Pre-commit checks\non:\n  workflow_dispatch:\n\njobs:\n  pre-commit-checks:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.9\"\n          cache: \"pip\"\n      - name: Check Pull Request Title\n        uses: Slashgear/action-check-pr-title@main\n        with:\n          regexp: '(break|build|ci|docs|feat|fix|perf|refactor|style|test|ops|hotfix|release|maint|init|enh|revert)\\([a-z,A-Z,0-9,\\-,\\_,\\/,:]+\\)(:)\\s{1}([\\w\\s]+)' # Regex the title should match.\n      - name: Getting changed files list\n        id: files\n        uses: jitterbit/get-changed-files@master\n      - name: Checking changed files\n        shell: bash\n        run: |\n          echo \"Changed files\"\n          echo ${{ steps.files.outputs.all }}\n          echo \"Github Client version\"\n          echo $(gh --version)\n      - name: Pre-Commit Checks\n        run: |\n          python -m pip install --upgrade pip\n          pip install pre-commit\n          echo \"Running pre-commit scans:\"\n          # adding log display in case of pre-commit errors\n          pre-commit run -v --files ${{ steps.files.outputs.all }}\n        shell: bash\n", "state": "active", "repository": "stanfordnlp/dspy"}
{"mined_at": "2024-07-15T18:52:14.618074", "created_at": "2024-03-03T17:02:42+01:00", "updated_at": "2024-03-06T02:46:22+01:00", "name": "Lint", "path": ".github/workflows/ruff_lint.yml", "contents": null, "state": "active", "repository": "stanfordnlp/dspy"}
{"mined_at": "2024-07-15T18:52:15.743543", "created_at": "2024-02-26T03:55:57+01:00", "updated_at": "2024-05-26T00:41:23+02:00", "name": "Lint, Test, and Build", "path": ".github/workflows/run_tests.yml", "contents": "name: Lint, Test, and Build\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    types: [opened, synchronize, reopened]\n\nenv:\n  POETRY_VERSION: \"1.7.1\"\n\njobs:\n  fix:\n    name: Check Ruff Fix\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - name: Ruff Fix Attempt\n        id: ruff_fix\n        uses: chartboost/ruff-action@v1\n        with:\n          args: --fix-only --exit-non-zero-on-fix\n        continue-on-error: true\n      - name: Fail Workflow if Ruff Fix Failed\n        if: steps.ruff_fix.outcome == 'failure'\n        run: |\n          echo \"Ruff fix failed, failing the workflow.\"\n          echo \"Please run 'ruff check . --fix-only' locally and push the changes.\"\n          exit 1\n\n  test:\n    name: Run Tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Load cached Poetry installation\n        id: cached-poetry\n        uses: actions/cache@v3\n        with:\n          path: ~/.local\n          key: poetry-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Install Poetry\n        if: steps.cached-poetry.outputs.cache-hit != 'true'\n        uses: snok/install-poetry@v1\n      - name: Set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"poetry\"\n      - name: Install dependencies\n        run: poetry install --no-interaction\n      - name: Run lint with tests\n        uses: chartboost/ruff-action@v1\n        with:\n          args: --fix-only\n      - name: Run tests with pytest\n        run: poetry run pytest tests/\n\n  build_poetry:\n    name: Build Poetry\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Load cached Poetry installation\n        id: cached-poetry\n        uses: actions/cache@v3\n        with:\n          path: ~/.local\n          key: poetry-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Install Poetry\n        if: steps.cached-poetry.outputs.cache-hit != 'true'\n        uses: snok/install-poetry@v1\n      - name: Set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"poetry\"\n      - name: Build\n        run: poetry build\n      - name: Install built package\n        run: python -m pip install dist/*.whl\n      - name: Test import dspy\n        run: python -c \"import dspy\"\n      - name: Test import dsp\n        run: python -c \"import dsp\"\n\n  build_setup:\n    name: Build Setup\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Load cached Poetry installation\n        id: cached-poetry\n        uses: actions/cache@v3\n        with:\n          path: ~/.local\n          key: poetry-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}\n      - name: Install Poetry\n        if: steps.cached-poetry.outputs.cache-hit != 'true'\n        uses: snok/install-poetry@v1\n      - name: Set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"poetry\"\n      - name: Run setup.py build\n        run: python setup.py build\n\n  integration_test:\n    name: Run Integration Tests\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.9\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n      - run: pip install -r requirements.txt\n      - run: pip install -r requirements-dev.txt\n      - run: pip install openai==0.28.1\n      - name: Add directory to Python path\n        run: echo \"PYTHONPATH=$(python -c 'import sys; print(\":\".join(sys.path))'):$(pwd)\" >> $GITHUB_ENV\n      - name: Set up cache directory\n        run: |\n          cd ./cache\n          echo \"DSP_NOTEBOOK_CACHEDIR=$(pwd)\" >> $GITHUB_ENV\n      - name: Run tests with pytest\n        run: pytest -c tests_integration/pytest.ini tests_integration/\n", "state": "active", "repository": "stanfordnlp/dspy"}
{"mined_at": "2024-07-15T18:52:17.892457", "created_at": "2024-01-02T10:08:40+01:00", "updated_at": "2024-01-05T08:26:45+01:00", "name": "Conventional commits pull request", "path": ".github/workflows/conventional_commits.yml", "contents": "# Enforces conventional commits on pull requests\n# Ref: https://github.com/marketplace/actions/conventional-pull-request\nname: Conventional commits pull request\non:\n  pull_request:\n    branches: [main]\n    types: [opened, edited, synchronize]\njobs:\n  lint-pr:\n    if: \"${{ !contains(github.event.pull_request.title, 'chore(main): release') }}\"\n    name: Lint PR\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Validate\n        uses: CondeNast/conventional-pull-request-action@v0.2.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          commitlintRulesPath: \"./commitlint.config.js\"\n          # if the PR contains a single commit, fail if the commit message and the PR title do not match\n          commitTitleMatch: \"false\" # default: 'true'\n          # if you squash merge PRs and enabled \"Default to PR title for squash merge commits\", you can disable all linting of commits\n          ignoreCommits: \"false\" # default: 'false'\n", "state": "active", "repository": "aurelio-labs/semantic-router"}
{"mined_at": "2024-07-15T18:52:19.040364", "created_at": "2023-11-09T09:28:57+01:00", "updated_at": "2023-11-09T09:29:02+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non:\n  push:\n    branches: [main]\n  pull_request:\n\nenv:\n  POETRY_VERSION: \"1.5.1\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.11\"\n    steps:\n      - uses: actions/checkout@v3\n      - name: Cache Poetry\n        uses: actions/cache@v2\n        with:\n          path: ~/.poetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-poetry-\n      - name: Install poetry\n        run: |\n          pipx install poetry==$POETRY_VERSION\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: poetry\n      - name: Install dependencies\n        run: |\n          poetry install\n      - name: Analyzing the code with our lint\n        run: |\n          make lint\n", "state": "active", "repository": "aurelio-labs/semantic-router"}
{"mined_at": "2024-07-15T18:52:20.247660", "created_at": "2023-11-09T09:28:57+01:00", "updated_at": "2023-11-09T09:29:02+01:00", "name": ".github/workflows/pr_agent.yml", "path": ".github/workflows/pr_agent.yml", "contents": "on:\n  pull_request:\n  issue_comment:\njobs:\n  pr_agent_job:\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n      issues: write\n      contents: write\n    name: Run pr agent on every pull request, respond to user comments\n    steps:\n      - name: PR Agent action step\n        id: pragent\n        uses: Codium-ai/pr-agent@main\n        env:\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "aurelio-labs/semantic-router"}
{"mined_at": "2024-07-15T18:52:21.258065", "created_at": "2023-11-09T13:04:53+01:00", "updated_at": "2023-11-09T13:04:53+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  push:\n    tags:\n      - '*'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.11'\n    - name: Install Poetry\n      run: |\n        curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1\n    - name: Install dependencies\n      run: poetry install\n    - name: Build\n      run: poetry build\n\n  publish:\n    needs: build\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.11'\n    - name: Install Poetry\n      run: |\n        curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1\n    - name: Publish to PyPI\n      run: |\n        poetry config repositories.remote https://upload.pypi.org/legacy/\n        poetry --no-interaction -v publish --build --repository remote --username \"__token__\" --password \"$PYPI_API_TOKEN\"\n      env:\n        PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "aurelio-labs/semantic-router"}
{"mined_at": "2024-07-15T18:52:22.251543", "created_at": "2023-11-27T06:48:03+01:00", "updated_at": "2023-11-27T16:33:24+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "name: Test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\nenv:\n  POETRY_VERSION: \"1.5.1\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          # - \"3.12\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Cache Poetry\n        uses: actions/cache@v3\n        with:\n          path: ~/.poetry\n          key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}\n          restore-keys: |\n            ${{ runner.os }}-poetry-\n      - name: Install poetry\n        run: |\n          pipx install poetry==$POETRY_VERSION\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: poetry\n      - name: Install dependencies\n        run: |\n          poetry install --all-extras\n      - name: Install nltk\n        run: |\n          pip install nltk\n      - name: Download nltk data\n        run: |\n          python -m nltk.downloader punkt stopwords wordnet\n      - name: Pytest All\n        env:\n          PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}\n          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n        run: |\n          make test\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v2\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n        with:\n          file: ./coverage.xml\n          fail_ci_if_error: false\n", "state": "active", "repository": "aurelio-labs/semantic-router"}
{"mined_at": "2024-07-15T18:52:24.281737", "created_at": "2023-04-22T15:24:49+02:00", "updated_at": "2023-05-08T21:50:35+02:00", "name": "Tasks Tests", "path": ".github/workflows/tasks_tests.yml", "contents": "# Note: auto-generated by `_gen_workflows.py`\nname: Tasks Tests\n'on':\n  push:\n    branches:\n    - master\n    - wip\n    paths:\n    - tasks/**\n    - .github/workflows/tasks_tests.yml\n    - devutils/**\n    - log/**\n  pull_request:\n    branches:\n    - master\n    paths:\n    - tasks/**\n    - .github/workflows/tasks_tests.yml\n    - devutils/**\n    - log/**\ndefaults:\n  run:\n    working-directory: ./tasks\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n        - ubuntu-py3.9-devmode\n        - windows-py3.9-devmode\n        - macos-py3.9-devmode\n        include:\n        - name: ubuntu-py3.9-devmode\n          python: '3.9'\n          os: ubuntu-latest\n        - name: windows-py3.9-devmode\n          python: '3.9'\n          os: windows-latest\n        - name: macos-py3.9-devmode\n          os: macos-13\n          python: '3.9'\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n    - name: Install poetry\n      run: pipx install poetry\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n    - name: Install devutils requirements\n      run: python -m pip install -r ../devutils/requirements.txt\n    - name: Setup node\n      uses: actions/setup-node@v3\n      with:\n        node-version: 20.x\n        registry-url: https://npm.pkg.github.com\n        scope: '@robocorp'\n    - name: Install project (not dev)\n      if: contains(matrix.name, '-devmode') == false\n      run: inv install\n    - name: Install project (dev)\n      if: contains(matrix.name, '-devmode')\n      run: inv devinstall\n    - name: npm ci\n      working-directory: ./log/output-react/\n      if: contains(matrix.name, '-devmode')\n      run: npm ci\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Print robocorp-log info and build the output view.\n      if: contains(matrix.name, '-devmode')\n      run: '\n\n        poetry run python -c \"import sys;print(''\\n''.join(str(x) for x in sys.path))\"\n\n        poetry run python -c \"from robocorp import log;print(log.__file__)\"\n\n        cd ../log\n\n        inv build-output-view-react\n\n        '\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Test\n      env:\n        GITHUB_ACTIONS_MATRIX_NAME: ${{ matrix.name }}\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n      run: inv test\n    - name: '`inv lint`, potentially fixed with `inv pretty`'\n      if: always()\n      run: '\n\n        inv lint\n\n        '\n    - name: '`inv typecheck`'\n      if: always()\n      run: '\n\n        inv typecheck\n\n        '\n    - name: '`inv docs` with checking on files changed'\n      if: always()\n      run: '\n\n        inv docs --check\n\n        '\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:25.309860", "created_at": "2023-05-08T10:23:41+02:00", "updated_at": "2023-05-09T10:19:47+02:00", "name": "Browser Tests", "path": ".github/workflows/browser_tests.yml", "contents": "# Note: auto-generated by `_gen_workflows.py`\nname: Browser Tests\n'on':\n  push:\n    branches:\n    - master\n    - wip\n    paths:\n    - browser/**\n    - .github/workflows/browser_tests.yml\n    - devutils/**\n    - log/**\n    - tasks/**\n  pull_request:\n    branches:\n    - master\n    paths:\n    - browser/**\n    - .github/workflows/browser_tests.yml\n    - devutils/**\n    - log/**\n    - tasks/**\ndefaults:\n  run:\n    working-directory: ./browser\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n        - ubuntu-py3.9-devmode\n        - windows-py3.9-devmode\n        - macos-py3.9-devmode\n        include:\n        - name: ubuntu-py3.9-devmode\n          python: '3.9'\n          os: ubuntu-latest\n        - name: windows-py3.9-devmode\n          python: '3.9'\n          os: windows-latest\n        - name: macos-py3.9-devmode\n          os: macos-13\n          python: '3.9'\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n    - name: Install poetry\n      run: pipx install poetry\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n    - name: Install devutils requirements\n      run: python -m pip install -r ../devutils/requirements.txt\n    - name: Setup node\n      uses: actions/setup-node@v3\n      with:\n        node-version: 20.x\n        registry-url: https://npm.pkg.github.com\n        scope: '@robocorp'\n    - name: Install project (not dev)\n      if: contains(matrix.name, '-devmode') == false\n      run: inv install\n    - name: Install project (dev)\n      if: contains(matrix.name, '-devmode')\n      run: inv devinstall\n    - name: npm ci\n      working-directory: ./log/output-react/\n      if: contains(matrix.name, '-devmode')\n      run: npm ci\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Print robocorp-log info and build the output view.\n      if: contains(matrix.name, '-devmode')\n      run: '\n\n        poetry run python -c \"import sys;print(''\\n''.join(str(x) for x in sys.path))\"\n\n        poetry run python -c \"from robocorp import log;print(log.__file__)\"\n\n        cd ../log\n\n        inv build-output-view-react\n\n        '\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Test\n      env:\n        GITHUB_ACTIONS_MATRIX_NAME: ${{ matrix.name }}\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n      run: inv test\n    - name: '`inv lint`, potentially fixed with `inv pretty`'\n      if: always()\n      run: '\n\n        inv lint\n\n        '\n    - name: '`inv typecheck`'\n      if: always()\n      run: '\n\n        inv typecheck\n\n        '\n    - name: '`inv docs` with checking on files changed'\n      if: always()\n      run: '\n\n        inv docs --check\n\n        '\n    - name: '`inv docs --validate`'\n      if: always()\n      run: '\n\n        inv docs --validate\n\n        '\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:26.355485", "created_at": "2023-05-08T12:49:41+02:00", "updated_at": "2023-05-09T10:19:48+02:00", "name": "Work Items Tests", "path": ".github/workflows/workitems_tests.yml", "contents": "# Note: auto-generated by `_gen_workflows.py`\nname: Work Items Tests\n'on':\n  push:\n    branches:\n    - master\n    - wip\n    paths:\n    - workitems/**\n    - .github/workflows/workitems_tests.yml\n    - devutils/**\n    - tasks/**\n    - log/**\n  pull_request:\n    branches:\n    - master\n    paths:\n    - workitems/**\n    - .github/workflows/workitems_tests.yml\n    - devutils/**\n    - tasks/**\n    - log/**\ndefaults:\n  run:\n    working-directory: ./workitems\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n        - ubuntu-py3.9-devmode\n        - windows-py3.9-devmode\n        - macos-py3.9-devmode\n        include:\n        - name: ubuntu-py3.9-devmode\n          python: '3.9'\n          os: ubuntu-latest\n        - name: windows-py3.9-devmode\n          python: '3.9'\n          os: windows-latest\n        - name: macos-py3.9-devmode\n          os: macos-13\n          python: '3.9'\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n    - name: Install poetry\n      run: pipx install poetry\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n    - name: Install devutils requirements\n      run: python -m pip install -r ../devutils/requirements.txt\n    - name: Install project (not dev)\n      if: contains(matrix.name, '-devmode') == false\n      run: inv install\n    - name: Install project (dev)\n      if: contains(matrix.name, '-devmode')\n      run: inv devinstall\n    - name: Test\n      env:\n        GITHUB_ACTIONS_MATRIX_NAME: ${{ matrix.name }}\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n      run: inv test\n    - name: '`inv lint`, potentially fixed with `inv pretty`'\n      if: always()\n      run: '\n\n        inv lint\n\n        '\n    - name: '`inv typecheck`'\n      if: always()\n      run: '\n\n        inv typecheck\n\n        '\n    - name: '`inv docs` with checking on files changed'\n      if: always()\n      run: '\n\n        inv docs --check\n\n        '\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:27.387859", "created_at": "2023-05-08T12:49:41+02:00", "updated_at": "2023-05-09T10:19:48+02:00", "name": "Excel Tests", "path": ".github/workflows/excel_tests.yml", "contents": "# Note: auto-generated by `_gen_workflows.py`\nname: Excel Tests\n'on':\n  push:\n    branches:\n    - master\n    - wip\n    paths:\n    - excel/**\n    - .github/workflows/excel_tests.yml\n    - devutils/**\n  pull_request:\n    branches:\n    - master\n    paths:\n    - excel/**\n    - .github/workflows/excel_tests.yml\n    - devutils/**\ndefaults:\n  run:\n    working-directory: ./excel\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n        - ubuntu-py3.9-devmode\n        - windows-py3.9-devmode\n        - macos-py3.9-devmode\n        include:\n        - name: ubuntu-py3.9-devmode\n          python: '3.9'\n          os: ubuntu-latest\n        - name: windows-py3.9-devmode\n          python: '3.9'\n          os: windows-latest\n        - name: macos-py3.9-devmode\n          os: macos-13\n          python: '3.9'\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n    - name: Install poetry\n      run: pipx install poetry\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n    - name: Install devutils requirements\n      run: python -m pip install -r ../devutils/requirements.txt\n    - name: Install project (not dev)\n      if: contains(matrix.name, '-devmode') == false\n      run: inv install\n    - name: Install project (dev)\n      if: contains(matrix.name, '-devmode')\n      run: inv devinstall\n    - name: Test\n      env:\n        GITHUB_ACTIONS_MATRIX_NAME: ${{ matrix.name }}\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n      run: inv test\n    - name: '`inv lint`, potentially fixed with `inv pretty`'\n      if: always()\n      run: '\n\n        inv lint\n\n        '\n    - name: '`inv typecheck`'\n      if: always()\n      run: '\n\n        inv typecheck\n\n        '\n    - name: '`inv docs` with checking on files changed'\n      if: always()\n      run: '\n\n        inv docs --check\n\n        '\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:28.439689", "created_at": "2023-05-08T12:49:41+02:00", "updated_at": "2023-05-09T10:19:48+02:00", "name": "Vault Tests", "path": ".github/workflows/vault_tests.yml", "contents": "# Note: auto-generated by `_gen_workflows.py`\nname: Vault Tests\n'on':\n  push:\n    branches:\n    - master\n    - wip\n    paths:\n    - vault/**\n    - .github/workflows/vault_tests.yml\n    - devutils/**\n  pull_request:\n    branches:\n    - master\n    paths:\n    - vault/**\n    - .github/workflows/vault_tests.yml\n    - devutils/**\ndefaults:\n  run:\n    working-directory: ./vault\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n        - ubuntu-py3.9-devmode\n        - windows-py3.9-devmode\n        - macos-py3.9-devmode\n        include:\n        - name: ubuntu-py3.9-devmode\n          python: '3.9'\n          os: ubuntu-latest\n        - name: windows-py3.9-devmode\n          python: '3.9'\n          os: windows-latest\n        - name: macos-py3.9-devmode\n          os: macos-13\n          python: '3.9'\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n    - name: Install poetry\n      run: pipx install poetry\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n    - name: Install devutils requirements\n      run: python -m pip install -r ../devutils/requirements.txt\n    - name: Install project (not dev)\n      if: contains(matrix.name, '-devmode') == false\n      run: inv install\n    - name: Install project (dev)\n      if: contains(matrix.name, '-devmode')\n      run: inv devinstall\n    - name: Test\n      env:\n        GITHUB_ACTIONS_MATRIX_NAME: ${{ matrix.name }}\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n      run: inv test\n    - name: '`inv lint`, potentially fixed with `inv pretty`'\n      if: always()\n      run: '\n\n        inv lint\n\n        '\n    - name: '`inv typecheck`'\n      if: always()\n      run: '\n\n        inv typecheck\n\n        '\n    - name: '`inv docs` with checking on files changed'\n      if: always()\n      run: '\n\n        inv docs --check\n\n        '\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:29.668795", "created_at": "2023-05-09T11:55:03+02:00", "updated_at": "2023-05-09T11:55:03+02:00", "name": "Log Release", "path": ".github/workflows/log_release.yml", "contents": "name: Log Release\n\non:\n  push:\n    tags:\n      - \"robocorp-log-*\"\n\ndefaults:\n  run:\n    working-directory: './log'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Setup node\n      uses: actions/setup-node@v3\n      with:\n        node-version: 16.x\n        registry-url: \"https://npm.pkg.github.com\"\n        scope: \"@robocorp\"\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'poetry'\n\n    - name: Install project\n      run: poetry install\n\n    - name: npm ci\n      working-directory: ./log/output-react/\n      run: |\n        npm ci\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n\n    - name: Print robocorp-log info and build the output view.\n      run: |\n        poetry run inv build-output-view-react\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n\n    - name: Check tag version\n      run: poetry run invoke check-tag-version\n\n    - name: Build with poetry\n      run: poetry build\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_LOG }}\n        poetry publish\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:30.796747", "created_at": "2023-05-09T11:55:03+02:00", "updated_at": "2023-05-09T11:55:03+02:00", "name": "Log Tests", "path": ".github/workflows/log_tests.yml", "contents": "# Note: auto-generated by `_gen_workflows.py`\nname: Log Tests\n'on':\n  push:\n    branches:\n    - master\n    - wip\n    paths:\n    - log/**\n    - .github/workflows/log_tests.yml\n    - devutils/**\n    - log/**\n  pull_request:\n    branches:\n    - master\n    paths:\n    - log/**\n    - .github/workflows/log_tests.yml\n    - devutils/**\n    - log/**\ndefaults:\n  run:\n    working-directory: ./log\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n        - ubuntu-py3.9-devmode-outviewintegrationtests\n        - windows-py3.9-devmode\n        - macos-py3.9-devmode\n        include:\n        - name: ubuntu-py3.9-devmode-outviewintegrationtests\n          python: '3.9'\n          os: ubuntu-latest\n        - name: windows-py3.9-devmode\n          python: '3.9'\n          os: windows-latest\n        - name: macos-py3.9-devmode\n          os: macos-13\n          python: '3.9'\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n    - name: Install poetry\n      run: pipx install poetry\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n    - name: Install devutils requirements\n      run: python -m pip install -r ../devutils/requirements.txt\n    - name: Setup node\n      uses: actions/setup-node@v3\n      with:\n        node-version: 20.x\n        registry-url: https://npm.pkg.github.com\n        scope: '@robocorp'\n    - name: Install project (not dev)\n      if: contains(matrix.name, '-devmode') == false\n      run: inv install\n    - name: Install project (dev)\n      if: contains(matrix.name, '-devmode')\n      run: inv devinstall\n    - name: npm ci\n      working-directory: ./log/output-react/\n      if: contains(matrix.name, '-devmode')\n      run: npm ci\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Print robocorp-log info and build the output view.\n      if: contains(matrix.name, '-devmode')\n      run: '\n\n        poetry run python -c \"import sys;print(''\\n''.join(str(x) for x in sys.path))\"\n\n        poetry run python -c \"from robocorp import log;print(log.__file__)\"\n\n        cd ../log\n\n        inv build-output-view-react\n\n        '\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Install prettier\n      run: 'npm install -g prettier@2.4.1\n\n        '\n    - name: Test React log\n      working-directory: ./log/output-react/\n      run: 'npm ci\n\n        npm run test:prettier\n\n        npm run test:types\n\n        '\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Test\n      env:\n        GITHUB_ACTIONS_MATRIX_NAME: ${{ matrix.name }}\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n      run: inv test\n    - name: '`inv lint`, potentially fixed with `inv pretty`'\n      if: always()\n      run: '\n\n        inv lint\n\n        '\n    - name: '`inv typecheck`'\n      if: always()\n      run: '\n\n        inv typecheck\n\n        '\n    - name: '`inv docs` with checking on files changed'\n      if: always()\n      run: '\n\n        inv docs --check\n\n        '\n    - uses: actions/upload-artifact@v3\n      if: always() && contains(matrix.name, '-outviewintegrationtests')\n      with:\n        name: robo_log_react.${{ matrix.name }}.html\n        path: log/output-react/tests_robo/output/log.html\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:31.810865", "created_at": "2023-05-09T11:55:03+02:00", "updated_at": "2023-05-09T11:55:03+02:00", "name": "Tasks Release", "path": ".github/workflows/tasks_release.yml", "contents": "name: Tasks Release\n\non:\n  push:\n    tags:\n      - \"robocorp-tasks-*\"\n\ndefaults:\n  run:\n    working-directory: './tasks'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'poetry'\n\n    - name: Install project\n      run: poetry install\n\n    - name: Check tag version\n      run: poetry run invoke check-tag-version\n\n    - name: Build with poetry\n      run: poetry build\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_TASKS }}\n        poetry publish\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:32.815697", "created_at": "2023-05-10T20:38:54+02:00", "updated_at": "2023-05-10T20:38:54+02:00", "name": "Browser Release", "path": ".github/workflows/browser_release.yml", "contents": "name: Browser Release\n\non:\n  push:\n    tags:\n      - \"robocorp-browser-*\"\n\ndefaults:\n  run:\n    working-directory: './browser'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'poetry'\n\n    - name: Install project\n      run: poetry install\n\n    - name: Check tag version\n      run: poetry run invoke check-tag-version\n\n    - name: Build with poetry\n      run: poetry build\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_BROWSER }}\n        poetry publish\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:33.844241", "created_at": "2023-05-11T10:50:21+02:00", "updated_at": "2023-05-11T10:50:21+02:00", "name": "Excel Release", "path": ".github/workflows/excel_release.yml", "contents": "name: Excel Release\n\non:\n  push:\n    tags:\n      - \"robocorp-excel-*\"\n\ndefaults:\n  run:\n    working-directory: './excel'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'poetry'\n\n    - name: Install project\n      run: poetry install\n\n    - name: Check tag version\n      run: poetry run invoke check-tag-version\n\n    - name: Build with poetry\n      run: poetry build\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_EXCEL }}\n        poetry publish\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:34.993230", "created_at": "2023-05-30T16:19:05+02:00", "updated_at": "2023-05-30T16:25:08+02:00", "name": "Vault Release", "path": ".github/workflows/vault_release.yml", "contents": "name: Vault Release\n\non:\n  push:\n    tags:\n      - \"robocorp-vault-*\"\n\ndefaults:\n  run:\n    working-directory: './vault'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'poetry'\n\n    - name: Install project\n      run: poetry install\n\n    - name: Check tag version\n      run: poetry run invoke check-tag-version\n\n    - name: Build with poetry\n      run: poetry build\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_VAULT }}\n        poetry publish\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:36.108027", "created_at": "2023-06-08T18:27:06+02:00", "updated_at": "2023-06-08T18:27:06+02:00", "name": "HTTP Release", "path": ".github/workflows/http_release.yml", "contents": "name: HTTP Release\n\non:\n  push:\n    tags:\n      - \"robocorp-http-*\"\n\ndefaults:\n  run:\n    working-directory: './http'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'poetry'\n\n    - name: Install project\n      run: poetry install\n\n    - name: Check tag version\n      run: poetry run invoke check-tag-version\n\n    - name: Build with poetry\n      run: poetry build\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_HTTP }}\n        poetry publish\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:37.240881", "created_at": "2023-06-08T18:27:06+02:00", "updated_at": "2023-06-08T18:27:06+02:00", "name": "Work Items Release", "path": ".github/workflows/workitems_release.yml", "contents": "name: Work Items Release\n\non:\n  push:\n    tags:\n      - \"robocorp-workitems-*\"\n\ndefaults:\n  run:\n    working-directory: './workitems'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n\n    - name: Install invoke/tomlkit\n      run: python -m pip install invoke tomlkit\n\n    - name: Install project\n      run: poetry install\n\n    - name: Check tag version\n      run: poetry run invoke check-tag-version\n\n    - name: Build with poetry\n      run: poetry build\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_WORKITEMS }}\n        poetry publish\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:38.475156", "created_at": "2023-06-09T16:13:57+02:00", "updated_at": "2023-06-10T14:49:54+02:00", "name": "Integration Tests", "path": ".github/workflows/integration_tests.yml", "contents": "# Note: auto-generated by `_gen_workflows.py`\nname: Integration Tests\n'on':\n  push:\n    branches:\n    - master\n    - wip\n    paths:\n    - integration_tests/**\n    - .github/workflows/integration_tests.yml\n    - devutils/**\n    - log/**\n    - browser/**\n    - tasks/**\n  pull_request:\n    branches:\n    - master\n    paths:\n    - integration_tests/**\n    - .github/workflows/integration_tests.yml\n    - devutils/**\n    - log/**\n    - browser/**\n    - tasks/**\ndefaults:\n  run:\n    working-directory: ./integration_tests\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n        - ubuntu-py3.9-devmode\n        - windows-py3.9-devmode\n        - macos-py3.9-devmode\n        include:\n        - name: ubuntu-py3.9-devmode\n          python: '3.9'\n          os: ubuntu-latest\n        - name: windows-py3.9-devmode\n          python: '3.9'\n          os: windows-latest\n        - name: macos-py3.9-devmode\n          os: macos-13\n          python: '3.9'\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n    - name: Install poetry\n      run: pipx install poetry\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n    - name: Install devutils requirements\n      run: python -m pip install -r ../devutils/requirements.txt\n    - name: Setup node\n      uses: actions/setup-node@v3\n      with:\n        node-version: 20.x\n        registry-url: https://npm.pkg.github.com\n        scope: '@robocorp'\n    - name: Install project (not dev)\n      if: contains(matrix.name, '-devmode') == false\n      run: inv install\n    - name: Install project (dev)\n      if: contains(matrix.name, '-devmode')\n      run: inv devinstall\n    - name: npm ci\n      working-directory: ./log/output-react/\n      if: contains(matrix.name, '-devmode')\n      run: npm ci\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Print robocorp-log info and build the output view.\n      if: contains(matrix.name, '-devmode')\n      run: '\n\n        poetry run python -c \"import sys;print(''\\n''.join(str(x) for x in sys.path))\"\n\n        poetry run python -c \"from robocorp import log;print(log.__file__)\"\n\n        cd ../log\n\n        inv build-output-view-react\n\n        '\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Test\n      env:\n        GITHUB_ACTIONS_MATRIX_NAME: ${{ matrix.name }}\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n      run: inv test\n    - name: '`inv lint`, potentially fixed with `inv pretty`'\n      if: always()\n      run: '\n\n        inv lint\n\n        '\n    - name: '`inv typecheck`'\n      if: always()\n      run: '\n\n        inv typecheck\n\n        '\n    - name: '`inv docs` with checking on files changed'\n      if: always()\n      run: '\n\n        inv docs --check\n\n        '\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:39.601699", "created_at": "2023-06-19T12:49:05+02:00", "updated_at": "2023-06-19T18:18:04+02:00", "name": "Asset Storage Tests", "path": ".github/workflows/storage_tests.yml", "contents": "# Note: auto-generated by `_gen_workflows.py`\nname: Asset Storage Tests\n'on':\n  push:\n    branches:\n    - master\n    - wip\n    paths:\n    - storage/**\n    - .github/workflows/storage_tests.yml\n    - devutils/**\n  pull_request:\n    branches:\n    - master\n    paths:\n    - storage/**\n    - .github/workflows/storage_tests.yml\n    - devutils/**\ndefaults:\n  run:\n    working-directory: ./storage\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n        - ubuntu-py3.8-devmode\n        - windows-py3.8-devmode\n        - macos-py3.8-devmode\n        include:\n        - name: ubuntu-py3.8-devmode\n          python: '3.8'\n          os: ubuntu-latest\n        - name: windows-py3.8-devmode\n          python: '3.8'\n          os: windows-latest\n        - name: macos-py3.8-devmode\n          os: macos-13\n          python: '3.8'\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n    - name: Install poetry\n      run: pipx install poetry\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n    - name: Install devutils requirements\n      run: python -m pip install -r ../devutils/requirements.txt\n    - name: Install project (not dev)\n      if: contains(matrix.name, '-devmode') == false\n      run: inv install\n    - name: Install project (dev)\n      if: contains(matrix.name, '-devmode')\n      run: inv devinstall\n    - name: Test\n      env:\n        GITHUB_ACTIONS_MATRIX_NAME: ${{ matrix.name }}\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n      run: inv test\n    - name: '`inv lint`, potentially fixed with `inv pretty`'\n      if: always()\n      run: '\n\n        inv lint\n\n        '\n    - name: '`inv typecheck`'\n      if: always()\n      run: '\n\n        inv typecheck\n\n        '\n    - name: '`inv docs` with checking on files changed'\n      if: always()\n      run: '\n\n        inv docs --check\n\n        '\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:40.829994", "created_at": "2023-06-19T18:18:04+02:00", "updated_at": "2023-06-19T18:18:04+02:00", "name": "Asset Storage Release", "path": ".github/workflows/storage_release.yml", "contents": "name: Asset Storage Release\n\non:\n  push:\n    tags:\n      - \"robocorp-storage-*\"\n\ndefaults:\n  run:\n    working-directory: './storage'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'poetry'\n\n    - name: Install project\n      run: poetry install\n\n    - name: Check tag version\n      run: poetry run invoke check-tag-version\n\n    - name: Build with poetry\n      run: poetry build\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_STORAGE }}\n        poetry publish\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:42.060252", "created_at": "2023-06-27T10:55:02+02:00", "updated_at": "2023-06-27T10:55:02+02:00", "name": "Metapackage Outdated", "path": ".github/workflows/meta_outdated.yml", "contents": "name: Metapackage Outdated\n\non:\n  schedule:\n    - cron: '0 2 * * *'\n\ndefaults:\n  run:\n    working-directory: './meta'\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'poetry'\n\n    - name: Install project\n      run: poetry install\n\n    - name: Check tag version\n      run: poetry run invoke outdated\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:43.185251", "created_at": "2023-06-27T10:55:02+02:00", "updated_at": "2023-06-27T10:55:02+02:00", "name": "Metapackage Release", "path": ".github/workflows/meta_release.yml", "contents": "name: Metapackage Release\n\non:\n  push:\n    tags:\n      - \"robocorp-[0-9]+.[0-9]+.[0-9]+\"\n\ndefaults:\n  run:\n    working-directory: './meta'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'poetry'\n\n    - name: Install project\n      run: poetry install\n\n    - name: Check tag version\n      run: poetry run invoke check-tag-version\n\n    - name: Build with poetry\n      run: poetry build\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_META }}\n        poetry publish\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:44.414413", "created_at": "2023-07-18T14:02:48+02:00", "updated_at": "2023-07-19T12:01:37+02:00", "name": "Log PyTest Tests", "path": ".github/workflows/log_pytest_tests.yml", "contents": "# Note: auto-generated by `_gen_workflows.py`\nname: Log PyTest Tests\n'on':\n  push:\n    branches:\n    - master\n    - wip\n    paths:\n    - log_pytest/**\n    - .github/workflows/log_pytest_tests.yml\n    - devutils/**\n    - log/**\n  pull_request:\n    branches:\n    - master\n    paths:\n    - log_pytest/**\n    - .github/workflows/log_pytest_tests.yml\n    - devutils/**\n    - log/**\ndefaults:\n  run:\n    working-directory: ./log_pytest\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n        - ubuntu-py3.9-devmode\n        - windows-py3.9-devmode\n        - macos-py3.9-devmode\n        include:\n        - name: ubuntu-py3.9-devmode\n          python: '3.9'\n          os: ubuntu-latest\n        - name: windows-py3.9-devmode\n          python: '3.9'\n          os: windows-latest\n        - name: macos-py3.9-devmode\n          os: macos-13\n          python: '3.9'\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n    - name: Install poetry\n      run: pipx install poetry\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n    - name: Install devutils requirements\n      run: python -m pip install -r ../devutils/requirements.txt\n    - name: Setup node\n      uses: actions/setup-node@v3\n      with:\n        node-version: 20.x\n        registry-url: https://npm.pkg.github.com\n        scope: '@robocorp'\n    - name: Install project (not dev)\n      if: contains(matrix.name, '-devmode') == false\n      run: inv install\n    - name: Install project (dev)\n      if: contains(matrix.name, '-devmode')\n      run: inv devinstall\n    - name: npm ci\n      working-directory: ./log/output-react/\n      if: contains(matrix.name, '-devmode')\n      run: npm ci\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Print robocorp-log info and build the output view.\n      if: contains(matrix.name, '-devmode')\n      run: '\n\n        poetry run python -c \"import sys;print(''\\n''.join(str(x) for x in sys.path))\"\n\n        poetry run python -c \"from robocorp import log;print(log.__file__)\"\n\n        cd ../log\n\n        inv build-output-view-react\n\n        '\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Test\n      env:\n        GITHUB_ACTIONS_MATRIX_NAME: ${{ matrix.name }}\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n        PYTHONPATH: ../log/tests\n      run: inv test\n    - name: '`inv lint`, potentially fixed with `inv pretty`'\n      if: always()\n      run: '\n\n        inv lint\n\n        '\n    - name: '`inv typecheck`'\n      if: always()\n      run: '\n\n        inv typecheck\n\n        '\n    - name: '`inv docs` with checking on files changed'\n      if: always()\n      run: '\n\n        inv docs --check\n\n        '\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:45.577866", "created_at": "2023-07-24T20:21:57+02:00", "updated_at": "2023-07-24T20:23:18+02:00", "name": "Log-PyTest Release", "path": ".github/workflows/log_pytest_release.yml", "contents": "name: Log-PyTest Release\n\non:\n  push:\n    tags:\n      - \"robocorp-log_pytest-*\"\n\ndefaults:\n  run:\n    working-directory: './log_pytest'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'poetry'\n\n    - name: Install project\n      run: poetry install\n\n    - name: Check tag version\n      run: poetry run invoke check-tag-version\n\n    - name: Build with poetry\n      run: poetry build\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_LOG_PYTEST }}\n        poetry publish\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:46.561308", "created_at": "2023-09-27T13:35:37+02:00", "updated_at": "2023-09-27T13:39:22+02:00", "name": "Windows Tests", "path": ".github/workflows/windows_tets.yml", "contents": null, "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:47.567197", "created_at": "2023-09-27T14:49:43+02:00", "updated_at": "2023-10-18T11:21:30+02:00", "name": "Windows Tests", "path": ".github/workflows/windows_tests.yml", "contents": "# Note: auto-generated by `_gen_workflows.py`\nname: Windows Tests\n'on':\n  push:\n    branches:\n    - master\n    - wip\n    paths:\n    - windows/**\n    - .github/workflows/windows_tests.yml\n    - devutils/**\n    - log_pytest/**\n    - log/**\n  pull_request:\n    branches:\n    - master\n    paths:\n    - windows/**\n    - .github/workflows/windows_tests.yml\n    - devutils/**\n    - log_pytest/**\n    - log/**\ndefaults:\n  run:\n    working-directory: ./windows\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n        - windows-py3.9-devmode\n        include:\n        - name: windows-py3.9-devmode\n          python: '3.9'\n          os: windows-latest\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n    - name: Install poetry\n      run: pipx install poetry\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n    - name: Install devutils requirements\n      run: python -m pip install -r ../devutils/requirements.txt\n    - name: Install project (not dev)\n      if: contains(matrix.name, '-devmode') == false\n      run: inv install\n    - name: Install project (dev)\n      if: contains(matrix.name, '-devmode')\n      run: inv devinstall\n    - name: Set up chrome for tests\n      run: choco install googlechrome --ignore-checksums\n    - name: Test\n      env:\n        GITHUB_ACTIONS_MATRIX_NAME: ${{ matrix.name }}\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n      run: inv test\n    - name: '`inv lint`, potentially fixed with `inv pretty`'\n      if: always()\n      run: '\n\n        inv lint\n\n        '\n    - name: '`inv typecheck`'\n      if: always()\n      run: '\n\n        inv typecheck\n\n        '\n    - name: '`inv docs` with checking on files changed'\n      if: always()\n      run: '\n\n        inv docs --check\n\n        '\n    - uses: actions/upload-artifact@v1\n      if: always()\n      with:\n        name: log.${{ matrix.name }}.html\n        path: windows/output/log.html\n    - uses: actions/upload-artifact@v1\n      if: always()\n      with:\n        name: log.${{ matrix.name }}.robolog\n        path: windows/output/output.robolog\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:48.558165", "created_at": "2023-10-09T13:48:13+02:00", "updated_at": "2023-10-09T13:48:13+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:49.841304", "created_at": "2023-10-18T18:38:07+02:00", "updated_at": "2023-10-18T18:38:07+02:00", "name": "Windows Release", "path": ".github/workflows/windows_release.yml", "contents": "name: Windows Release\n\non:\n  push:\n    tags:\n      - \"robocorp-windows-*\"\n\ndefaults:\n  run:\n    working-directory: './windows'\n\njobs:\n  deploy:\n    runs-on: windows-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'poetry'\n\n    - name: Install project\n      run: poetry install\n\n    - name: Check tag version\n      run: poetry run invoke check-tag-version\n\n    - name: Build with poetry\n      run: poetry build\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_WINDOWS }}\n        poetry publish\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:50.849003", "created_at": "2023-11-29T14:55:30+01:00", "updated_at": "2023-11-29T18:58:49+01:00", "name": "Actions Tests", "path": ".github/workflows/actions_tests.yml", "contents": "# Note: auto-generated by `_gen_workflows.py`\nname: Actions Tests\n'on':\n  push:\n    branches:\n    - master\n    - wip\n    paths:\n    - actions/**\n    - .github/workflows/actions_tests.yml\n    - devutils/**\n    - log/**\n    - tasks/**\n  pull_request:\n    branches:\n    - master\n    paths:\n    - actions/**\n    - .github/workflows/actions_tests.yml\n    - devutils/**\n    - log/**\n    - tasks/**\ndefaults:\n  run:\n    working-directory: ./actions\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n        - ubuntu-py3.9-devmode\n        - windows-py3.9-devmode\n        - macos-py3.9-devmode\n        include:\n        - name: ubuntu-py3.9-devmode\n          python: '3.9'\n          os: ubuntu-latest\n        - name: windows-py3.9-devmode\n          python: '3.9'\n          os: windows-latest\n        - name: macos-py3.9-devmode\n          os: macos-13\n          python: '3.9'\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n    - name: Install poetry\n      run: pipx install poetry\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n    - name: Install devutils requirements\n      run: python -m pip install -r ../devutils/requirements.txt\n    - name: Setup node\n      uses: actions/setup-node@v3\n      with:\n        node-version: 20.x\n        registry-url: https://npm.pkg.github.com\n        scope: '@robocorp'\n    - name: Install project (not dev)\n      if: contains(matrix.name, '-devmode') == false\n      run: inv install\n    - name: Install project (dev)\n      if: contains(matrix.name, '-devmode')\n      run: inv devinstall\n    - name: npm ci\n      working-directory: ./log/output-react/\n      if: contains(matrix.name, '-devmode')\n      run: npm ci\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Print robocorp-log info and build the output view.\n      if: contains(matrix.name, '-devmode')\n      run: '\n\n        poetry run python -c \"import sys;print(''\\n''.join(str(x) for x in sys.path))\"\n\n        poetry run python -c \"from robocorp import log;print(log.__file__)\"\n\n        cd ../log\n\n        inv build-output-view-react\n\n        '\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Test\n      env:\n        GITHUB_ACTIONS_MATRIX_NAME: ${{ matrix.name }}\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n      run: inv test\n    - name: '`inv lint`, potentially fixed with `inv pretty`'\n      if: always()\n      run: '\n\n        inv lint\n\n        '\n    - name: '`inv typecheck`'\n      if: always()\n      run: '\n\n        inv typecheck\n\n        '\n    - name: '`inv docs` with checking on files changed'\n      if: always()\n      run: '\n\n        inv docs --check\n\n        '\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:51.874776", "created_at": "2023-11-29T15:48:47+01:00", "updated_at": "2023-11-29T20:38:50+01:00", "name": "Action Server Tests", "path": ".github/workflows/action_server_tests.yml", "contents": "# Note: auto-generated by `_gen_workflows.py`\nname: Action Server Tests\n'on':\n  push:\n    branches:\n    - master\n    - wip\n    paths:\n    - action_server/**\n    - .github/workflows/action_server_tests.yml\n    - devutils/**\n    - log/**\n    - actions/**\n    - tasks/**\n    - log_pytest/**\n  pull_request:\n    branches:\n    - master\n    paths:\n    - action_server/**\n    - .github/workflows/action_server_tests.yml\n    - devutils/**\n    - log/**\n    - actions/**\n    - tasks/**\n    - log_pytest/**\ndefaults:\n  run:\n    working-directory: ./action_server\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        name:\n        - ubuntu-py3.10-devmode\n        - windows-py3.10-devmode\n        - macos-py3.10-devmode\n        include:\n        - name: ubuntu-py3.10-devmode\n          python: '3.10'\n          os: ubuntu-latest\n        - name: windows-py3.10-devmode\n          python: '3.10'\n          os: windows-latest\n        - name: macos-py3.10-devmode\n          os: macos-13\n          python: '3.10'\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n    - name: Install poetry\n      run: pipx install poetry\n    - name: Set up Python ${{ matrix.python }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n    - name: Install devutils requirements\n      run: python -m pip install -r ../devutils/requirements.txt\n    - name: Setup node\n      uses: actions/setup-node@v3\n      with:\n        node-version: 20.x\n        registry-url: https://npm.pkg.github.com\n        scope: '@robocorp'\n    - name: Install project (not dev)\n      if: contains(matrix.name, '-devmode') == false\n      run: inv install\n    - name: Install project (dev)\n      if: contains(matrix.name, '-devmode')\n      run: inv devinstall\n    - name: npm ci\n      working-directory: ./log/output-react/\n      if: contains(matrix.name, '-devmode')\n      run: npm ci\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Print robocorp-log info and build the output view.\n      if: contains(matrix.name, '-devmode')\n      run: '\n\n        poetry run python -c \"import sys;print(''\\n''.join(str(x) for x in sys.path))\"\n\n        poetry run python -c \"from robocorp import log;print(log.__file__)\"\n\n        cd ../log\n\n        inv build-output-view-react\n\n        '\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Build frontend\n      run: inv build-frontend\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n    - name: Test\n      env:\n        GITHUB_ACTIONS_MATRIX_NAME: ${{ matrix.name }}\n        CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}\n        CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}\n      run: inv test\n    - name: '`inv lint`, potentially fixed with `inv pretty`'\n      if: always()\n      run: '\n\n        inv lint\n\n        '\n    - name: '`inv typecheck`'\n      if: always()\n      run: '\n\n        inv typecheck\n\n        '\n    - name: '`inv docs` with checking on files changed'\n      if: always()\n      run: '\n\n        inv docs --check\n\n        '\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:52.961420", "created_at": "2023-11-29T18:58:49+01:00", "updated_at": "2023-11-29T18:58:49+01:00", "name": "Actions Release", "path": ".github/workflows/actions_release.yml", "contents": "name: Actions Release\n\non:\n  push:\n    tags:\n      - \"robocorp-actions-*\"\n\ndefaults:\n  run:\n    working-directory: './actions'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: pipx install poetry\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v4\n      with:\n        python-version: 3.9\n        cache: 'poetry'\n\n    - name: Install project\n      run: poetry install\n\n    - name: Check tag version\n      run: poetry run invoke check-tag-version\n\n    - name: Build with poetry\n      run: poetry build\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_ACTIONS }}\n        poetry publish\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:54.020966", "created_at": "2023-11-29T20:38:50+01:00", "updated_at": "2024-02-06T09:22:58+01:00", "name": "Action Server Release", "path": ".github/workflows/action_server_release.yml", "contents": "name: Action Server Release\n\non:\n  push:\n    tags:\n      - \"robocorp-action_server-*\"\n\ndefaults:\n  run:\n    working-directory: './action_server'\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: true\n\n    steps:\n    - name: Checkout repository and submodules\n      uses: actions/checkout@v3\n\n    - name: Install poetry\n      run: python -m pip install poetry invoke tomlkit\n\n    - name: Setup node\n      uses: actions/setup-node@v3\n      with:\n        node-version: 20.x\n        registry-url: \"https://npm.pkg.github.com\"\n        scope: \"@robocorp\"\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v4\n      with:\n        python-version: \"3.10\"\n        cache: 'poetry'\n\n    - name: Install project\n      # Note: inv install may download RCC as it'll execute action_server/build.py. \n      run: inv install\n      env:\n        ACTION_SERVER_SKIP_DOWNLOAD_IN_BUILD: true\n\n    - name: Check tag version\n      run: inv check-tag-version\n\n    - name: Build with poetry\n      run: |\n        inv build-frontend\n        # Make sure that we have no binaries present when doing the build.\n        rm src/robocorp/bin/rcc src/robocorp/bin/rcc* -f\n        # Just sdist here, wheels are built in the manylinux job.\n        poetry build -f sdist\n      env:\n        CI: true\n        NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n        ACTION_SERVER_SKIP_DOWNLOAD_IN_BUILD: true\n\n    - uses: actions/upload-artifact@v4\n      with:\n        name: action-server-dist\n        path: \"action_server/dist/*\"\n\n    - name: Upload to PyPI\n      run: |\n        poetry config pypi-token.pypi  ${{ secrets.PYPI_TOKEN_ROBOCORP_ACTION_SERVER }}\n        poetry publish\n      env:\n        ACTION_SERVER_SKIP_DOWNLOAD_IN_BUILD: true\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:55.232191", "created_at": "2023-12-18T14:34:22+01:00", "updated_at": "2024-02-06T09:22:58+01:00", "name": "Action Server [MANYLINUX] Release", "path": ".github/workflows/action_server_manylinux_release.yml", "contents": "# Nice reference: https://github.com/tornadoweb/tornado/blob/master/.github/workflows/build.yml\n# Docs: https://cibuildwheel.readthedocs.io/en/stable/options/\n# Configurations are here and in pyproject.toml.\nname: Action Server [MANYLINUX] Release\n\non:\n  push:\n#     branches:\n#       - \"wip-manylinux\"\n\n    tags:\n      - \"robocorp-action_server-*\"\n\n\ndefaults:\n  run:\n    working-directory: './action_server'\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, windows-2019, macos-11]\n    steps:\n      - uses: actions/checkout@v4\n\n      # Used to host cibuildwheel\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n  \n      - name: Setup node\n        uses: actions/setup-node@v3\n        with:\n          node-version: 20.x\n          registry-url: \"https://npm.pkg.github.com\"\n          scope: \"@robocorp\"\n\n\n      - name: Install cibuildwheel\n        run: |\n            python -m pip install cibuildwheel==2.16.2\n            python -m pip install invoke\n            python -m invoke build-frontend\n        env:\n           CI: true\n           NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n        \n        \n      - name: Build wheels\n        run: python -m cibuildwheel --output-dir wheelhouse\n        env:\n          CIBW_SKIP: pp*\n          CIBW_BUILD: cp31*-*macos*x86_64 cp31*-*manylinux*x86_64 cp31*-*win*amd64\n          CIBW_BUILD_VERBOSITY: 1\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: ${{ runner.os }}-wheels\n          path: \"action_server/wheelhouse/*\"\n          \n      - name: Upload to PyPI .whl\n        run: |\n            pip install twine\n            twine upload wheelhouse/*.whl\n        env:\n          TWINE_USERNAME: __token__\n          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN_ROBOCORP_ACTION_SERVER }}", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:56.399537", "created_at": "2023-12-23T19:41:12+01:00", "updated_at": "2024-01-11T15:36:49+01:00", "name": "Action Server [BINARY] Release", "path": ".github/workflows/action_server_binary_release.yml", "contents": "name: Action Server [BINARY] Release\n\non:\n  workflow_dispatch:\n    # Enables manual triggering via GitHub Actions\n\n  push:\n    # branches:\n    #   - wip2\n    tags:\n      - \"robocorp-action_server-*\"\n\n\ndefaults:\n  run:\n    working-directory: './action_server'\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-20.04, windows-2019, macos-11]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n  \n      - name: Setup node\n        uses: actions/setup-node@v3\n        with:\n          node-version: 20.x\n          registry-url: \"https://npm.pkg.github.com\"\n          scope: \"@robocorp\"\n\n\n      - name: Install cibuildwheel\n        run: |\n            python -m pip install poetry\n            python -m pip install invoke\n            python -m invoke build-frontend\n        env:\n           CI: true\n           NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n        \n      - name: Build binary\n        run: |\n            python -m pip install pyoxidizer\n            cd build-binary\n            pyoxidizer run --release\n        env:\n           RC_ACTION_SERVER_FORCE_DOWNLOAD_RCC: true\n           RC_ACTION_SERVER_DO_SELFTEST: true\n\n      - name: Action Server Python Binary Signing [Windows]\n        if: matrix.os == 'windows-2019'\n        env:\n          NODE_AUTH_TOKEN: ${{secrets.CI_GITHUB_TOKEN}}\n          VAULT_URL: ${{secrets.WIN_SIGN_AZURE_KEY_VAULT_URL}}\n          CLIENT_ID: ${{secrets.WIN_SIGN_AZURE_KEY_VAULT_CLIENT_ID}}\n          TENANT_ID: ${{secrets.WIN_SIGN_AZURE_KEY_VAULT_TENANT_ID}}\n          CLIENT_SECRET: ${{secrets.WIN_SIGN_AZURE_KEY_VAULT_CLIENT_SECRET}}\n          CERTIFICATE: ${{secrets.WIN_SIGN_AZURE_KEY_VAULT_CERTIFICATE}}\n        run: |\n          dotnet tool install --global AzureSignTool --version 3.0.0\n          azuresigntool sign --description-url \"https://robocorp.com\" --file-digest sha256 --azure-key-vault-url $Env:VAULT_URL --azure-key-vault-client-id $Env:CLIENT_ID --azure-key-vault-tenant-id $Env:TENANT_ID --azure-key-vault-client-secret $Env:CLIENT_SECRET --azure-key-vault-certificate $Env:CERTIFICATE --timestamp-rfc3161 http://timestamp.digicert.com --timestamp-digest sha256 build-binary\\build\\x86_64-pc-windows-msvc\\release\\install\\action-server.exe\n        shell: powershell\n\n      - name: Set up Go\n        uses: actions/setup-go@v4\n        with:\n          go-version: '1.21'\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: ${{ runner.os }}-binaries\n          path: \"action_server/build-binary/build/*\"\n\n      # Having a separate artifact for version.txt helps downstream workflows\n      - name: Get version\n        if: matrix.os == 'ubuntu-20.04'\n        run: |\n            poetry version | awk '{print $2}' > version.txt\n      - uses: actions/upload-artifact@v4\n        if: matrix.os == 'ubuntu-20.04'\n        with:\n          name: action-server-version\n          path: \"action_server/version.txt\"\n\n      - name: Copy assets [Linux]\n        if: matrix.os == 'ubuntu-20.04'\n        run: |\n            cp -R build-binary/build/x86_64-unknown-linux-gnu/release/install/* go-wrapper/assets\n      - name: Copy assets [Mac]\n        if: matrix.os == 'macos-11'\n        run: |\n            cp -R build-binary/build/x86_64-apple-darwin/release/install/* go-wrapper/assets\n      - name: Copy assets [Windows]\n        if: matrix.os == 'windows-2019'\n        run: |\n            xcopy /e /h /i build-binary\\\\build\\\\x86_64-pc-windows-msvc\\\\release\\\\install go-wrapper\\\\assets\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: action-server-version\n          path: \"action_server/go-wrapper/assets\"\n      \n      - name: Build Go binary wrapper\n        run: |\n            cd go-wrapper\n            go build -o action-server-unsigned\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: ${{ runner.os }}-action-server-unsigned\n          path: \"action_server/go-wrapper/action-server-unsigned\"\n\n  sign-macos:\n    needs:\n      - build\n    outputs:\n      version: ${{ steps.set_version.outputs.version }}\n    defaults:\n      run:\n        working-directory: ./action_server\n    runs-on: macos-13\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/download-artifact@v4\n        with:\n            name: macOS-action-server-unsigned\n            path: action_server/build\n\n      - uses: actions/download-artifact@v4\n        with:\n          name: action-server-version\n          path: \"action_server\"\n      \n      - name: Set Version for Brew\n        id: set_version\n        run: |\n          VERSION=$(cat version.txt)\n          echo \"Version: $VERSION\"\n          echo \"::set-output name=version::$VERSION\"\n\n      - name: Action Server Signing [macOS]\n        env:\n          APPLEID: ${{ secrets.MACOS_APP_ID_FOR_SIGNING }}\n          APPLEIDPASS: ${{ secrets.MACOS_APP_ID_PASS_FOR_SIGNING }}\n          APPLETEAMID: ${{ secrets.MACOS_TEAM_ID_FOR_NOTARIZATION }}\n          MACOS_SIGNING_CERT: ${{ secrets.MACOS_SIGNING_CERT }}\n          MACOS_SIGNING_CERT_PASSWORD: ${{ secrets.MACOS_SIGNING_CERT_PASSWORD }}\n        run: |\n          # sign MacOS binary\n          security create-keychain -p \"$MACOS_SIGNING_CERT_PASSWORD\" build.keychain\n          security default-keychain -s build.keychain\n          security unlock-keychain -p \"$MACOS_SIGNING_CERT_PASSWORD\" build.keychain\n          echo $MACOS_SIGNING_CERT | base64 --decode -o cert.p12\n          security import cert.p12 -A -P $MACOS_SIGNING_CERT_PASSWORD\n          security set-key-partition-list -S apple-tool:,apple: -s -k \"$MACOS_SIGNING_CERT_PASSWORD\" build.keychain\n          ls -la build/\n          codesign --verbose=4 --entitlements entitlements.mac.plist --deep --force -o runtime -s \"Robocorp Technologies, Inc.\" --timestamp build/action-server-unsigned\n          codesign --verify --deep --verbose=2 build/action-server-unsigned\n          codesign -v --verbose=4 --display build/action-server-unsigned\n          # notarize MacOS binary (zipped because notarization does not allow executable files)\n          zip action-server.zip build/action-server-unsigned\n          xcrun notarytool submit --apple-id $APPLEID --team-id $APPLETEAMID --password $APPLEIDPASS action-server.zip\n          unzip -o action-server.zip -d build/\n          mv build/action-server-unsigned build/action-server\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: action-server-signed-macos\n          path: action_server/build/action-server\n\n  sign-windows:\n    needs:\n      - build\n    defaults:\n      run:\n        working-directory: ./action_server\n    runs-on: windows-latest\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/download-artifact@v4\n        with:\n            name: Windows-action-server-unsigned\n            path: action_server/build\n\n      - name: Action Server Signing [Windows]\n        env:\n          NODE_AUTH_TOKEN: ${{secrets.CI_GITHUB_TOKEN}}\n          VAULT_URL: ${{secrets.WIN_SIGN_AZURE_KEY_VAULT_URL}}\n          CLIENT_ID: ${{secrets.WIN_SIGN_AZURE_KEY_VAULT_CLIENT_ID}}\n          TENANT_ID: ${{secrets.WIN_SIGN_AZURE_KEY_VAULT_TENANT_ID}}\n          CLIENT_SECRET: ${{secrets.WIN_SIGN_AZURE_KEY_VAULT_CLIENT_SECRET}}\n          CERTIFICATE: ${{secrets.WIN_SIGN_AZURE_KEY_VAULT_CERTIFICATE}}\n        run: |\n          dotnet tool install --global AzureSignTool --version 3.0.0\n          mv build\\action-server-unsigned build\\action-server.exe\n          azuresigntool sign --description-url \"https://robocorp.com\" --file-digest sha256 --azure-key-vault-url $Env:VAULT_URL --azure-key-vault-client-id $Env:CLIENT_ID --azure-key-vault-tenant-id $Env:TENANT_ID --azure-key-vault-client-secret $Env:CLIENT_SECRET --azure-key-vault-certificate $Env:CERTIFICATE --timestamp-rfc3161 http://timestamp.digicert.com --timestamp-digest sha256 build\\action-server.exe\n        shell: powershell\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: action-server-signed-windows\n          path: action_server/build/action-server.exe\n\n  deploy-s3:\n    needs:\n      - sign-macos\n      - sign-windows\n    defaults:\n      run:\n        working-directory: ./action_server\n    runs-on: ubuntu-latest\n    outputs:\n      is_beta: ${{ steps.check_beta.outputs.is_beta }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Check if this is a beta release\n        id: check_beta\n        run: |\n          is_beta=${{ endsWith(github.ref_name, '-beta') }}\n          echo \"is_beta: $is_beta\"\n          echo \"::set-output name=is_beta::$is_beta\"\n\n      - uses: actions/download-artifact@v4\n        with:\n            name: action-server-signed-windows\n            path: action_server/build/windows64/\n      - uses: actions/download-artifact@v4\n        with:\n            name: action-server-signed-macos\n            path: action_server/build/macos64/\n      - uses: actions/download-artifact@v4\n        with:\n            name: Linux-action-server-unsigned\n            path: action_server/build/linux64/\n      - uses: actions/download-artifact@v4\n        with:\n            name: action-server-version\n            path: action_server/build/\n      - run: |\n          ls -l\n          pwd\n          ls -l build\n          mkdir s3-drop\n          # We need to rename the linux binary because the others are renamed during signing\n          mv build/linux64/action-server-unsigned build/linux64/action-server\n          mv build/version.txt s3-drop/\n          mv build/macos64 s3-drop/\n          mv build/linux64 s3-drop/\n          mv build/windows64 s3-drop/\n          ls -l s3-drop/\n          ver=`cat s3-drop/version.txt`\n          echo \"actionServerVersion=${ver}\" >> $GITHUB_ENV\n      - uses: actions/upload-artifact@v4\n        with:\n          name: action-server-artifacts-for-s3-${{ env.actionServerVersion }}\n          path: action_server/s3-drop\n      - name: Configure AWS credentials Dropbox bucket [Non-Beta]\n        if: ${{ steps.check_beta.outputs.is_beta == 'false' }}\n        uses: aws-actions/configure-aws-credentials@v1-node16\n        with:\n            aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_CICD_DROPBOX }}\n            aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_CICD_DROPBOX }}\n            aws-region: eu-west-1\n      - name: Configure AWS credentials Downloads bucket [Beta]\n        if: ${{ steps.check_beta.outputs.is_beta == 'true' }}\n        uses: aws-actions/configure-aws-credentials@v1-node16\n        with:\n            aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_DOWNLOADS_INDEX_UPDATER }}\n            aws-secret-access-key: ${{ secrets.AWS_ACCESS_KEY_DOWNLOADS_INDEX_UPDATER }}\n            aws-region: eu-west-1\n      - name: AWS S3 copies\n        run: |\n          if [ \"${{ steps.check_beta.outputs.is_beta }}\" = \"false\" ]; then\n            echo \"Normal release, aws sync to drop-box, full pipeline\"\n            aws s3 sync s3-drop s3://robocorp-action-server-build-drop-box\n          else\n            echo \"BETA RELEASE, only copy the executable for testing\"\n            S3_BASE_URL=\"s3://downloads.robocorp.com/action-server/beta\"\n            aws s3 cp s3-drop/version.txt $S3_BASE_URL/version.txt --cache-control max-age=120 --content-type \"text/plain\"\n            aws s3 cp s3-drop/windows64/action-server.exe $S3_BASE_URL/windows64/action-server.exe --cache-control max-age=120 --content-type \"application/octet-stream\"\n            aws s3 cp s3-drop/macos64/action-server $S3_BASE_URL/macos64/action-server --cache-control max-age=120 --content-type \"application/octet-stream\"\n            aws s3 cp s3-drop/linux64/action-server $S3_BASE_URL/linux64/action-server --cache-control max-age=120 --content-type \"application/octet-stream\"\n          fi\n          \n  trigger-brew-workflow:\n    needs:\n      # sign-macos needs to be explicit in order to get the version, even if it's implied\n      - sign-macos\n      - deploy-s3\n    defaults:\n      run:\n        working-directory: .\n    \n    # No Brew run for beta -releases\n    if: ${{ needs.deploy-s3.outputs.is_beta == 'false' }}\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Wait for Downloads S3 Bucket to have the right content\n        timeout-minutes: 5\n        run: |\n          VERSION_URL=\"https://downloads.robocorp.com/action-server/releases/latest/version.txt\"\n          EXPECTED_VERSION=${{ needs.sign-macos.outputs.version }}\n\n          while true; do\n            DOWNLOADED_VERSION=$(curl -sS $VERSION_URL)\n            echo \"Downloaded version: $DOWNLOADED_VERSION\"\n            echo \"Expected version: $EXPECTED_VERSION\"\n\n            if [ \"$DOWNLOADED_VERSION\" = \"$EXPECTED_VERSION\" ]; then\n              echo \"Versions match.\"\n              break\n            else\n              echo \"Versions do not match. Retrying in 30 seconds.\"\n            fi\n\n            sleep 30\n          done\n      - name: Trigger Brew Deploy Workflow\n        run: |\n          curl -X POST \\\n            -H \"Authorization: token ${{ secrets.GHA_TO_OTHER_REPO }}\" \\\n            -H \"Accept: application/vnd.github.v3+json\" \\\n            https://api.github.com/repos/robocorp/packaging/actions/workflows/action-server_brew.yml/dispatches \\\n            -d '{\"ref\":\"master\",\"inputs\":{\"version\":\"${{ needs.sign-macos.outputs.version }}\"}}'\n\n  release:\n\n    if: ${{ needs.deploy-s3.outputs.is_beta == 'false' }}\n\n    needs:\n      - deploy-s3  # needed for is_beta\n      - trigger-brew-workflow\n    \n    defaults:\n      run:\n        working-directory: .\n    \n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Create GitHub release\n        uses: Roang-zero1/github-create-release-action@v3\n        with:\n          release_title: ${{ github.ref_name }}\n          changelog_file: action_server/docs/CHANGELOG.md\n          release_text: Binaries available as assets. Run `action-server -h` for usage instructions.\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      - uses: actions/download-artifact@v4\n        with:\n            name: action-server-signed-windows\n            path: windows64/\n      - uses: actions/download-artifact@v4\n        with:\n            name: action-server-signed-macos\n            path: macos64/\n      - uses: actions/download-artifact@v4\n        with:\n            name: Linux-action-server-unsigned\n            path: linux64/\n      - name: Rename Linux binary\n        run: mv linux64/action-server-unsigned linux64/action-server\n\n      # Upload binaries to release\n\n      - name: Upload Linux binary\n        uses: svenstaro/upload-release-action@v2\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: ./linux64/action-server\n          asset_name: $tag-linux64\n          tag: ${{ github.ref }}\n          overwrite: true\n      - name: Upload MacOS binary\n        uses: svenstaro/upload-release-action@v2\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: ./macos64/action-server\n          asset_name: $tag-macos64\n          tag: ${{ github.ref }}\n          overwrite: true\n      - name: Upload Windows binary\n        uses: svenstaro/upload-release-action@v2\n        with:\n          repo_token: ${{ secrets.GITHUB_TOKEN }}\n          file: ./windows64/action-server.exe\n          asset_name: $tag-windows64\n          tag: ${{ github.ref }}\n          overwrite: true\n\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:57.931093", "created_at": "2023-12-29T19:34:50+01:00", "updated_at": "2024-01-08T14:16:34+01:00", "name": "Action Server Frontend tests", "path": ".github/workflows/action_server_frontend_tests.yml", "contents": "name: Action Server Frontend tests\n\non:\n  pull_request:\n    branches:\n      - \"master\"\n    paths:\n      - \"action_server/frontend/**\"\n      - \".github/workflows/action_server_frontend_tests.yml\"\n\ndefaults:\n  run:\n    working-directory: \"./action_server/frontend\"\n\njobs:\n  action-server-frontend-tests:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - name: Use Node.js 20.x\n        uses: actions/setup-node@master\n        with:\n          node-version: 20.x\n          registry-url: \"https://npm.pkg.github.com\"\n          scope: \"@robocorp\"\n\n      - name: Run Tests\n        run: |\n          npm ci\n          npm run build\n          npm run test:lint\n          npm run test:types\n          npm run test:prettier\n          npm run test\n        env:\n          CI: true\n          NODE_AUTH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:52:59.160085", "created_at": "2024-01-09T13:52:36+01:00", "updated_at": "2024-01-09T13:52:36+01:00", "name": "Action Server Update Downloads", "path": ".github/workflows/action_server_update_downloads.yml", "contents": "name: Action Server Update Downloads\n\non:\n  workflow_dispatch:\n    # Enables manual triggering via GitHub Actions\n\njobs:\n  update-index:\n      # Way to disable the final deploy steps\n      if: ${{ true }}\n      timeout-minutes: 10\n      runs-on: ubuntu-latest\n      defaults:\n        run:\n          working-directory: ./action_server\n      steps:\n          - uses: actions/checkout@v4\n          - name: Generate the new index files\n            run: |\n              cd build-binary/\n              python downloads_index.py -c ../docs/CHANGELOG.md -p index.html -j index.json\n          - name: Configure AWS credentials for index.html update\n            uses: aws-actions/configure-aws-credentials@v1-node16\n            with:\n                aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_DOWNLOADS_INDEX_UPDATER }}\n                aws-secret-access-key: ${{ secrets.AWS_ACCESS_KEY_DOWNLOADS_INDEX_UPDATER }}\n                aws-region: eu-west-1\n          - name: Copy files to the deploy drop-box with the AWS CLI\n            run: |\n                aws s3 cp ./build-binary/index.html s3://downloads.robocorp.com/action-server/releases/index.html --cache-control max-age=120 --content-type \"text/html\"\n                aws s3 cp ./build-binary/index.json s3://downloads.robocorp.com/action-server/releases/index.json --cache-control max-age=120 --content-type \"application/json\"", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:53:00.147804", "created_at": "2024-01-29T09:58:38+01:00", "updated_at": "2024-02-07T18:36:56+01:00", "name": ".github/workflows/advanced-issue-labeler.yml", "path": ".github/workflows/advanced-issue-labeler.yml", "contents": null, "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:53:01.310194", "created_at": "2024-01-29T10:15:07+01:00", "updated_at": "2024-01-29T10:15:07+01:00", "name": "Issue labeler", "path": ".github/workflows/issue_labeler.yml", "contents": "name: Issue labeler\n\non:\n  issues:\n    types: [ opened ]\n\npermissions:\n  contents: read\n\njobs:\n  label-component:\n    runs-on: ubuntu-latest\n\n    permissions:\n      # required for all workflows\n      issues: write\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Parse bug issue form\n        uses: stefanbuck/github-issue-parser@v3\n        id: bug-issue-parser\n        with:\n          template-path: .github/ISSUE_TEMPLATE/bug-report.yml\n\n      - name: Set bug labels based on the component field\n        uses: redhat-plumbers-in-action/advanced-issue-labeler@v3.0.0\n        with:\n          issue-form: ${{ steps.bug-issue-parser.outputs.jsonString }}\n          section: components\n          block-list: |\n            Other\n          config-path: .github/advanced-issue-labeler.yml\n          token: ${{ secrets.CI_GITHUB_TOKEN }}\n\n      - name: Parse feature issue form\n        uses: stefanbuck/github-issue-parser@v3\n        id: feature-issue-parser\n        with:\n          template-path: .github/ISSUE_TEMPLATE/feature-request.yml\n\n      - name: Set feature labels based on the component field\n        uses: redhat-plumbers-in-action/advanced-issue-labeler@v3.0.0\n        with:\n          issue-form: ${{ steps.feature-issue-parser.outputs.jsonString }}\n          section: components\n          block-list: |\n            Other\n          config-path: .github/advanced-issue-labeler.yml\n          token: ${{ secrets.CI_GITHUB_TOKEN }}\n", "state": "active", "repository": "robocorp/robocorp"}
{"mined_at": "2024-07-15T18:53:03.564942", "created_at": "2023-11-11T07:35:10+01:00", "updated_at": "2023-11-21T01:29:12+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    types: [opened, synchronize, reopened]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions: {}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Initialize environment\n        uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@af6d1c371f387efd5703a24739412ea862c3218e\n        with:\n          cache-node-modules: true\n      - name: Setup Bazel\n        uses: angular/dev-infra/github-actions/bazel/setup@af6d1c371f387efd5703a24739412ea862c3218e\n      - name: Install node modules\n        run: yarn install --frozen-lockfile\n      - name: Pre-commit hook (requires yarn install)\n        uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0\n      - name: Install Chromium browser for Playwright\n        run: yarn playwright install chromium --with-deps\n      - name: Pre-build\n        run: bazel build //mesop/...\n      - name: Python type-checking\n        run: ./scripts/run_py_typecheck.sh\n      - name: Bazel tests\n        # NOTE: bazel test //... doesn't work (due to node_modules)\n        run: bazel test //mesop/...\n      - name: Run playwright test\n        run: yarn playwright test\n      - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3\n        if: always()\n        with:\n          name: playwright-report\n          path: playwright-report/\n          retention-days: 30\n      - name: Run playwright test with component tree diffs enabled\n        run: ENABLE_COMPONENT_TREE_DIFFS=1 yarn playwright test\n      - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3\n        if: always()\n        with:\n          name: playwright-report-with-component-diffs-enabled\n          path: playwright-report-with-component-diffs-enabled/\n          retention-days: 30\n  # Deploy docs\n  deploy-docs:\n    # Only deploy docs if we're pushing to main (see on.push.branches)\n    if: github.event_name == 'push'\n    # Need write permission to push to gh-pages branch\n    permissions:\n      contents: write\n    # Only deploy docs if test passes\n    needs: [test]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1\n        with:\n          python-version: 3.10.13\n      - run: echo \"cache_id=$(date --utc '+%V')\" >> $GITHUB_ENV\n      - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n      - run: pip install -r build_defs/requirements_lock.txt\n      - run: mkdocs gh-deploy --force\n", "state": "active", "repository": "google/mesop"}
{"mined_at": "2024-07-15T18:53:04.574389", "created_at": "2023-11-11T07:55:13+01:00", "updated_at": "2023-11-11T07:55:13+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "google/mesop"}
{"mined_at": "2024-07-15T18:53:06.639482", "created_at": "2022-12-04T21:47:28+01:00", "updated_at": "2022-12-04T21:49:47+01:00", "name": "Build Package", "path": ".github/workflows/build_package.yml", "contents": "name: Build Package\n\n# Build package on its own without additional pip install\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\nenv:\n  POETRY_VERSION: \"1.8.3\"\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      # You can use PyPy versions in python-version.\n      # For example, pypy-2.7 and pypy-3.8\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: [\"3.9\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n      - name: Install deps\n        shell: bash\n        run: poetry install\n      - name: Build\n        shell: bash\n        run: poetry build\n      - name: Test installing built package\n        shell: bash\n        run: python -m pip install .\n      - name: Test import\n        shell: bash\n        working-directory: ${{ vars.RUNNER_TEMP }}\n        run: python -c \"import llama_index\"\n", "state": "active", "repository": "run-llama/llama_index"}
{"mined_at": "2024-07-15T18:53:07.767200", "created_at": "2023-06-07T22:26:41+02:00", "updated_at": "2023-06-07T22:27:35+02:00", "name": "Changelog Updated?", "path": ".github/workflows/changelog.yml", "contents": null, "state": "active", "repository": "run-llama/llama_index"}
{"mined_at": "2024-07-15T18:53:08.763442", "created_at": "2024-03-28T01:53:57+01:00", "updated_at": "2024-03-28T01:53:57+01:00", "name": "Enforce Folder Requirements", "path": ".github/workflows/check_folders.yml", "contents": null, "state": "active", "repository": "run-llama/llama_index"}
{"mined_at": "2024-07-15T18:53:10.016494", "created_at": "2023-08-18T20:42:34+02:00", "updated_at": "2023-08-18T20:58:13+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [\"main\"]\n  schedule:\n    - cron: \"30 16 * * 4\"\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"python\"]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]\n        # Use only 'java' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n          # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n          # queries: security-extended,security-and-quality\n\n      # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      #   If the Autobuild fails above, remove it and uncomment the following three lines.\n      #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n      # - run: |\n      #     echo \"Run, Build Application using script\"\n      #     ./location_of_script_within_repo/buildscript.sh\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n        with:\n          category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "run-llama/llama_index"}
{"mined_at": "2024-07-15T18:53:11.141085", "created_at": "2022-11-24T07:09:16+01:00", "updated_at": "2022-11-24T07:25:54+01:00", "name": "Linting", "path": ".github/workflows/lint.yml", "contents": "name: Linting\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\nenv:\n  POETRY_VERSION: \"1.8.3\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      # You can use PyPy versions in python-version.\n      # For example, pypy-2.7 and pypy-3.8\n      matrix:\n        python-version: [\"3.9\"]\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}\n      - name: Set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n      - name: Install pre-commit\n        shell: bash\n        run: poetry run pip install pre-commit\n      - name: Run linter\n        shell: bash\n        run: poetry run make lint\n", "state": "active", "repository": "run-llama/llama_index"}
{"mined_at": "2024-07-15T18:53:12.156526", "created_at": "2023-02-20T04:25:03+01:00", "updated_at": "2023-05-03T01:23:19+02:00", "name": "Publish llama-index to PyPI / GitHub", "path": ".github/workflows/publish_release.yml", "contents": "name: Publish llama-index to PyPI / GitHub\n\non:\n  push:\n    tags:\n      - \"v*\"\n\n  workflow_dispatch:\n\nenv:\n  POETRY_VERSION: \"1.8.3\"\n  PYTHON_VERSION: \"3.9\"\n\njobs:\n  build-n-publish:\n    name: Build and publish to PyPI\n    if: github.repository == 'run-llama/llama_index'\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n      - name: Install deps\n        shell: bash\n        run: pip install -e .\n      - name: Cache tiktoken and nltk files\n        shell: bash\n        run: python -c \"from llama_index.core import get_tokenizer; get_tokenizer()\"\n      - name: Clean up zip files\n        shell: bash\n        run: rm -rf llama-index-core/llama_index/core/_static/nltk_cache/corpora/stopwords.zip llama-index-core/llama_index/core/_static/nltk_cache/tokenizers/punkt.zip\n      - name: Build and publish to pypi\n        uses: JRubics/poetry-publish@v1.17\n        with:\n          pypi_token: ${{ secrets.LLAMA_INDEX_PYPI_TOKEN }}\n          ignore_dev_requirements: \"yes\"\n\n      - name: Create GitHub Release\n        id: create_release\n        uses: actions/create-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n        with:\n          tag_name: ${{ github.ref }}\n          release_name: ${{ github.ref }}\n          draft: false\n          prerelease: false\n\n      - name: Get Asset name\n        run: |\n          export PKG=$(ls dist/ | grep tar)\n          set -- $PKG\n          echo \"name=$1\" >> $GITHUB_ENV\n      - name: Upload Release Asset (sdist) to GitHub\n        id: upload-release-asset\n        uses: actions/upload-release-asset@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          upload_url: ${{ steps.create_release.outputs.upload_url }}\n          asset_path: dist/${{ env.name }}\n          asset_name: ${{ env.name }}\n          asset_content_type: application/zip\n", "state": "active", "repository": "run-llama/llama_index"}
{"mined_at": "2024-07-15T18:53:13.157964", "created_at": "2023-05-03T01:23:19+02:00", "updated_at": "2023-11-11T01:03:15+01:00", "name": "Publish gpt-index to PyPI / GitHub", "path": ".github/workflows/publish_release_gpt_index.yml", "contents": null, "state": "active", "repository": "run-llama/llama_index"}
{"mined_at": "2024-07-15T18:53:14.195539", "created_at": "2024-02-29T22:20:15+01:00", "updated_at": "2024-02-29T22:32:13+01:00", "name": "Publish Sub-Package to PyPI if Needed", "path": ".github/workflows/publish_sub_package.yml", "contents": "name: Publish Sub-Package to PyPI if Needed\n\non:\n  push:\n    branches:\n      - main\n\nenv:\n  POETRY_VERSION: \"1.8.3\"\n  PYTHON_VERSION: \"3.10\"\n\njobs:\n  publish_subpackage_if_needed:\n    if: github.repository == 'run-llama/llama_index'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Set up python ${{ env.PYTHON_VERSION }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n      - name: Get changed pyproject files\n        id: changed-files\n        run: |\n          echo \"changed_files=$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }} | grep -v llama-index-core | grep llama-index | grep pyproject | xargs)\" >> $GITHUB_OUTPUT\n      - name: Publish changed packages\n        env:\n          PYPI_TOKEN: ${{ secrets.LLAMA_INDEX_PYPI_TOKEN }}\n        run: |\n          for file in ${{ steps.changed-files.outputs.changed_files }}; do\n              cd `echo $file | sed 's/\\/pyproject.toml//g'`\n              poetry lock\n              pip install -e .\n              poetry config pypi-token.pypi $PYPI_TOKEN\n              poetry publish --build\n              cd -\n          done\n", "state": "active", "repository": "run-llama/llama_index"}
{"mined_at": "2024-07-15T18:53:15.441868", "created_at": "2022-11-24T07:30:30+01:00", "updated_at": "2022-11-24T07:39:36+01:00", "name": "Unit Testing", "path": ".github/workflows/unit_test.yml", "contents": "name: Unit Testing\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\nenv:\n  POETRY_VERSION: \"1.8.3\"\n\njobs:\n  test:\n    runs-on: ubuntu-latest-unit-tester\n    strategy:\n      # You can use PyPy versions in python-version.\n      # For example, pypy-2.7 and pypy-3.8\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\"]\n    steps:\n      - name: clear space\n        env:\n          CI: true\n        shell: bash\n        run: rm -rf /opt/hostedtoolcache/*\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: update rustc\n        run: rustup update stable\n      - name: Set up python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n        with:\n          version: ${{ env.POETRY_VERSION }}\n      - uses: pantsbuild/actions/init-pants@v5-scie-pants\n        with:\n          # v0 makes it easy to bust the cache if needed\n          # just increase the integer to start with a fresh cache\n          gha-cache-key: v1-py${{ matrix.python_version }}\n          named-caches-hash: v1-py${{ matrix.python_version }}\n          pants-python-version: ${{ matrix.python-version }}\n          pants-ci-config: pants.toml\n      - name: Check BUILD files\n        run: |\n          pants tailor --check :: -docs/::\n      - name: Run testing\n        env:\n          CI: true\n        shell: bash\n        run: poetry run make -s test\n", "state": "active", "repository": "run-llama/llama_index"}
{"mined_at": "2024-07-15T18:53:17.515771", "created_at": "2022-05-21T00:55:54+02:00", "updated_at": "2022-05-21T00:55:54+02:00", "name": "Issue Assigner", "path": ".github/workflows/assigner.yml", "contents": "# This workflow will triage pull requests and apply a label based on the\n# paths that are modified in the pull request.\n#\n# To use this workflow, you will need to set up a .github/labeler.yml\n# file with configuration.  For more information, see:\n# https://github.com/actions/labeler/blob/master/README.md\n\nname: Issue Assigner\non:\n  issues:\n    types:\n      - labeled\n  pull_request_target:\n    types:\n      - labeled\n\njobs:\n  assign:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v3\n\n    - name: Assign\n      uses: ./.github/actions/assigner\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        config-path: .github/code-owners.yml\n", "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:18.617350", "created_at": "2022-04-21T00:38:50+02:00", "updated_at": "2022-04-21T00:38:50+02:00", "name": "Blossom-CI", "path": ".github/workflows/blossom-ci.yml", "contents": "# Copyright (c) 2020-2021, NVIDIA CORPORATION.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# A workflow to trigger ci on hybrid infra (github + self hosted runner)\nname: Blossom-CI\non:\n  issue_comment:\n    types: [created]\n  workflow_dispatch:\n      inputs:\n          platform:\n            description: 'runs-on argument'\n            required: false\n          args:\n            description: 'argument'\n            required: false\njobs:\n  Authorization:\n    name: Authorization\n    runs-on: blossom\n    outputs:\n      args: ${{ env.args }}\n\n    # This job only runs for pull request comments\n    if: |\n         contains( 'andi4191, narendasan, peri044, bowang007,', format('{0},', github.actor)) &&\n         github.event.comment.body == '/blossom-ci'\n    steps:\n      - name: Check if comment is issued by authorized person\n        run: blossom-ci\n        env:\n          OPERATION: 'AUTH'\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }}\n\n  Vulnerability-scan:\n    name: Vulnerability scan\n    needs: [Authorization]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n        with:\n          repository: ${{ fromJson(needs.Authorization.outputs.args).repo }}\n          ref: ${{ fromJson(needs.Authorization.outputs.args).ref }}\n          lfs: 'true'\n\n      # repo specific steps\n      #- name: Setup java\n      #  uses: actions/setup-java@v1\n      #  with:\n      #    java-version: 1.8\n\n      # add blackduck properties https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/631308372/Methods+for+Configuring+Analysis#Using-a-configuration-file\n      #- name: Setup blackduck properties\n      #  run: |\n      #       PROJECTS=$(mvn -am dependency:tree | grep maven-dependency-plugin | awk '{ out=\"com.nvidia:\"$(NF-1);print out }' | grep rapids | xargs | sed -e 's/ /,/g')\n      #       echo detect.maven.build.command=\"-pl=$PROJECTS -am\" >> application.properties\n      #       echo detect.maven.included.scopes=compile >> application.properties\n\n      - name: Run blossom action\n        uses: NVIDIA/blossom-action@main\n        env:\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }}\n        with:\n          args1: ${{ fromJson(needs.Authorization.outputs.args).args1 }}\n          args2: ${{ fromJson(needs.Authorization.outputs.args).args2 }}\n          args3: ${{ fromJson(needs.Authorization.outputs.args).args3 }}\n\n  Job-trigger:\n    name: Start ci job\n    needs: [Vulnerability-scan]\n    runs-on: blossom\n    steps:\n      - name: Start ci job\n        run: blossom-ci\n        env:\n          OPERATION: 'START-CI-JOB'\n          CI_SERVER: ${{ secrets.CI_SERVER }}\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  Upload-Log:\n    name: Upload log\n    runs-on: blossom\n    if : github.event_name == 'workflow_dispatch'\n    steps:\n      - name: Jenkins log for pull request ${{ fromJson(github.event.inputs.args).pr }} (click here)\n        run: blossom-ci\n        env:\n          OPERATION: 'POST-PROCESSING'\n          CI_SERVER: ${{ secrets.CI_SERVER }}\n          REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:19.630497", "created_at": "2024-05-23T23:18:33+02:00", "updated_at": "2024-05-24T07:04:39+02:00", "name": "Build and test Linux wheels", "path": ".github/workflows/build-test-linux.yml", "contents": "name: Build and test Linux wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n      - nightly\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: linux\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      with-rocm: false\n      with-cpu: false\n\n  build:\n    needs: generate-matrix\n    permissions:\n      id-token: write\n      contents: read\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            pre-script: packaging/pre_build_script.sh\n            env-var-script: packaging/env_vars.txt\n            post-script: packaging/post_build_script.sh\n            smoke-test-script: packaging/smoke_test_script.sh\n            package-name: torch_tensorrt\n    name: Build torch-tensorrt whl package\n    uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      env-var-script: ${{ matrix.env-var-script }}\n      post-script: ${{ matrix.post-script }}\n      package-name: ${{ matrix.package-name }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      trigger-event: ${{ github.event_name }}\n\n  tests-py-torchscript-fe:\n    name: Test torchscript frontend [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n            pre-script: packaging/pre_build_script.sh\n            post-script: packaging/post_build_script.sh\n            smoke-test-script: packaging/smoke_test_script.sh\n    uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main\n    with:\n      job-name: tests-py-torchscript-fe\n      repository: \"pytorch/tensorrt\"\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      script: |\n        export USE_HOST_DEPS=1\n        export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH\n        pushd .\n        cd tests/modules\n        python hub.py\n        popd\n        pushd .\n        cd tests/py/ts\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_api_test_results.xml api/\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_models_test_results.xml models/\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_integrations_test_results.xml integrations/\n        popd\n\n  tests-py-dynamo-converters:\n    name: Test dynamo converters [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n            pre-script: packaging/pre_build_script.sh\n            post-script: packaging/post_build_script.sh\n            smoke-test-script: packaging/smoke_test_script.sh\n    uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main\n    with:\n      job-name: tests-py-dynamo-converters\n      repository: \"pytorch/tensorrt\"\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/py/dynamo\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_converters_test_results.xml -n 10 conversion/\n        popd\n\n  tests-py-dynamo-fe:\n    name: Test dynamo frontend [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n            pre-script: packaging/pre_build_script.sh\n            post-script: packaging/post_build_script.sh\n            smoke-test-script: packaging/smoke_test_script.sh\n    uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main\n    with:\n      job-name: tests-py-dynamo-fe\n      repository: \"pytorch/tensorrt\"\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/py/dynamo\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_fe_test_results.xml --ir dynamo models/test_models_export.py\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dyn_models_export.xml --ir dynamo models/test_dyn_models.py\n        popd\n\n  tests-py-dynamo-serde:\n    name: Test dynamo export serde [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n            pre-script: packaging/pre_build_script.sh\n            post-script: packaging/post_build_script.sh\n            smoke-test-script: packaging/smoke_test_script.sh\n    uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main\n    with:\n      job-name: tests-py-dynamo-serde\n      repository: \"pytorch/tensorrt\"\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/py/dynamo\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/export_serde_test_results.xml --ir dynamo models/test_export_serde.py\n        popd\n\n  tests-py-torch-compile-be:\n    name: Test torch compile backend [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n            pre-script: packaging/pre_build_script.sh\n            post-script: packaging/post_build_script.sh\n            smoke-test-script: packaging/smoke_test_script.sh\n    uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main\n    with:\n      job-name: tests-py-torch-compile-be\n      repository: \"pytorch/tensorrt\"\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/py/dynamo\n        python -m pytest -n 10 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_compile_be_test_results.xml backend/\n        python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_comple_be_e2e_test_results.xml --ir torch_compile models/test_models.py\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_compile_dyn_models_export.xml --ir torch_compile models/test_dyn_models.py\n        popd\n\n  tests-py-dynamo-core:\n    name: Test dynamo core [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n            pre-script: packaging/pre_build_script.sh\n            post-script: packaging/post_build_script.sh\n            smoke-test-script: packaging/smoke_test_script.sh\n    uses: pytorch/tensorrt/.github/workflows/linux-test.yml@main\n    with:\n      job-name: tests-py-dynamo-core\n      repository: \"pytorch/tensorrt\"\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/py/dynamo\n        python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_runtime_test_results.xml runtime/\n        python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_partitioning_test_results.xml partitioning/\n        python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_lowering_test_results.xml lowering/\n        popd\n\n  tests-py-core:\n    name: Test core [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n            pre-script: packaging/pre_build_script.sh\n            post-script: packaging/post_build_script.sh\n            smoke-test-script: packaging/smoke_test_script.sh\n    uses: pytorch/tensorrt/.github/workflows/linux-test.yml@release/2.3\n    with:\n      job-name: tests-py-core\n      repository: \"pytorch/tensorrt\"\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/py/core\n        python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_core_test_results.xml .\n        popd\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}\n  cancel-in-progress: true", "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:20.758389", "created_at": "2023-11-29T18:14:08+01:00", "updated_at": "2024-05-04T07:19:00+02:00", "name": "Build and test Windows wheels", "path": ".github/workflows/build-test-windows.yml", "contents": "name: Build and test Windows wheels\n\non:\n  pull_request:\n  push:\n    branches:\n      - main\n      - nightly\n      - release/*\n    tags:\n        # NOTE: Binary build pipelines should only get triggered on release candidate builds\n        # Release candidate tags look like: v1.11.0-rc1\n        - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+\n  workflow_dispatch:\n\njobs:\n  generate-matrix:\n    uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main\n    with:\n      package-type: wheel\n      os: windows\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      with-rocm: false\n      with-cpu: false\n\n  substitute-runner:\n    needs: generate-matrix\n    outputs:\n      matrix: ${{ steps.substitute.outputs.matrix }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Substitute runner\n        id: substitute\n        run: |\n          echo matrix=\"$(echo '${{ needs.generate-matrix.outputs.matrix }}' | sed -e 's/windows.8xlarge.nvidia.gpu/windows.g5.4xlarge.nvidia.gpu/g')\" >> ${GITHUB_OUTPUT}\n\n  build:\n    needs: substitute-runner\n    permissions:\n      id-token: write\n      contents: read\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            pre-script: packaging/pre_build_script_windows.sh\n            env-script: packaging/vc_env_helper.bat\n            smoke-test-script: packaging/smoke_test_windows.py\n            package-name: torch_tensorrt\n    name: Build torch-tensorrt whl package\n    uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main\n    with:\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.substitute-runner.outputs.matrix }}\n      pre-script: ${{ matrix.pre-script }}\n      env-script: ${{ matrix.env-script }}\n      smoke-test-script: ${{ matrix.smoke-test-script }}\n      package-name: ${{ matrix.package-name }}\n      trigger-event: ${{ github.event_name }}\n\n  tests-py-torchscript-fe:\n    name: Test torchscript frontend [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n    uses: ./.github/workflows/windows-test.yml\n    with:\n      job-name: tests-py-torchscript-fe\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: packaging/driver_upgrade.bat\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/modules\n        python hub.py\n        popd\n        pushd .\n        cd tests/py/ts\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_api_test_results.xml api/\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_models_test_results.xml models/\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/ts_integrations_test_results.xml integrations/\n        popd\n\n  tests-py-dynamo-converters:\n    name: Test dynamo converters [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n    uses: ./.github/workflows/windows-test.yml\n    with:\n      job-name: tests-py-dynamo-converters\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: packaging/driver_upgrade.bat\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/py/dynamo\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_converters_test_results.xml -n 10 conversion/\n        popd\n\n  tests-py-dynamo-fe:\n    name: Test dynamo frontend [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n    uses: ./.github/workflows/windows-test.yml\n    with:\n      job-name: tests-py-dynamo-fe\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: packaging/driver_upgrade.bat\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/py/dynamo\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_fe_test_results.xml --ir dynamo models/test_models_export.py\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dyn_models_export.xml --ir dynamo models/test_dyn_models.py\n        popd\n\n  tests-py-dynamo-serde:\n    name: Test dynamo export serde [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n    uses: ./.github/workflows/windows-test.yml\n    with:\n      job-name: tests-py-dynamo-serde\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: packaging/driver_upgrade.bat\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/py/dynamo\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/export_serde_test_results.xml --ir dynamo models/test_export_serde.py\n        popd\n\n  tests-py-torch-compile-be:\n    name: Test torch compile backend [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n    uses: ./.github/workflows/windows-test.yml\n    with:\n      job-name: tests-py-torch-compile-be\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: packaging/driver_upgrade.bat\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/py/dynamo\n        python -m pytest -n 10 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_compile_be_test_results.xml backend/\n        python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_comple_be_e2e_test_results.xml --ir torch_compile models/test_models.py\n        python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_compile_dyn_models_export.xml --ir torch_compile models/test_dyn_models.py\n        popd\n\n  tests-py-dynamo-core:\n    name: Test dynamo core [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n    uses: ./.github/workflows/windows-test.yml\n    with:\n      job-name: tests-py-dynamo-core\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: packaging/driver_upgrade.bat\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/py/dynamo\n        python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_runtime_test_results.xml runtime/\n        python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_partitioning_test_results.xml partitioning/\n        python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_lowering_test_results.xml lowering/\n        popd\n\n  tests-py-core:\n    name: Test core [Python]\n    needs: [generate-matrix, build]\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - repository: pytorch/tensorrt\n            package-name: torch_tensorrt\n    uses: ./.github/workflows/windows-test.yml\n    with:\n      job-name: tests-py-core\n      repository: ${{ matrix.repository }}\n      ref: \"\"\n      test-infra-repository: pytorch/test-infra\n      test-infra-ref: main\n      build-matrix: ${{ needs.generate-matrix.outputs.matrix }}\n      pre-script: packaging/driver_upgrade.bat\n      script: |\n        export USE_HOST_DEPS=1\n        pushd .\n        cd tests/py/core\n        python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_core_test_results.xml .\n        popd\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}\n  cancel-in-progress: true\n", "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:21.757485", "created_at": "2023-07-01T23:46:27+02:00", "updated_at": "2023-07-01T23:46:27+02:00", "name": "Build Linux Wheels", "path": ".github/workflows/build-wheels-linux.yml", "contents": null, "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:22.832040", "created_at": "2020-08-18T01:19:54+02:00", "updated_at": "2020-08-18T01:19:54+02:00", "name": "Generate Docs", "path": ".github/workflows/docgen.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: Generate Docs\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the master branch\non:\n  push:\n    branches: [ main ]\n\njobs:\n  build-docs:\n    runs-on: linux.g5.4xlarge.nvidia.gpu\n    if: ${{ ! contains(github.actor, 'pytorchbot') }}\n    environment: pytorchbot-env\n    container:\n      image: docker.io/pytorch/manylinux-builder:cuda12.4\n      options: --gpus all\n    env:\n      CUDA_HOME: /usr/local/cuda-12.4\n      VERSION_SUFFIX: cu124\n      CI_BUILD: 1\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{github.head_ref}}\n          token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}\n      - name: Select Python / CUDA\n        run: |\n          git config --global --add safe.directory /__w/TensorRT/TensorRT\n          echo \"/opt/python/cp311-cp311/bin/\" >> $GITHUB_PATH\n\n      - name: Install base deps\n        run: |\n          python3 -m pip install pip --upgrade\n          python3 -m pip install pyyaml numpy torch --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu124\n          ./packaging/pre_build_script.sh\n      - name: Get HEAD SHA\n        id: vars\n        run: echo \"sha=$(git rev-parse --short HEAD)\" >> $GITHUB_OUTPUT\n      - name: Build Python Package\n        run: |\n          python3 -m pip install --pre . --extra-index-url https://download.pytorch.org/whl/nightly/cu124\n      - name: Generate New Docs\n        run: |\n          cd docsrc\n          yum install -y doxygen pandoc\n          python3 -m pip install -r requirements.txt\n          python3 -c \"import torch_tensorrt; print(torch_tensorrt.__version__)\"\n          make html\n          cd ..\n      - uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n        # Required\n          commit_message: \"docs: [Automated] Regenerating documenation for ${{ steps.vars.outputs.sha }}\"\n          commit_options: \"--no-verify --signoff\"\n          file_pattern: docs/\n          commit_user_name: Torch-TensorRT Github Bot\n          commit_user_email: torch-tensorrt.github.bot@nvidia.com\n          commit_author: Torch-TensorRT Github Bot <torch-tensorrt.github.bot@nvidia.com>\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref_name }}\n  cancel-in-progress: true\n", "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:23.931892", "created_at": "2023-07-21T22:23:56+02:00", "updated_at": "2024-04-12T03:38:33+02:00", "name": "Torch-TensorRT Docker Build", "path": ".github/workflows/docker_builder.yml", "contents": "name: 'Torch-TensorRT Docker Build'\n\n# Apply workflow only to main, nightly, release branches\non:\n  push:\n    branches:\n      - main\n      - nightly\n      - release/2.2\n\n# If pushes to main are made in rapid succession,\n# cancel existing docker builds and use newer commits\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref_name }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    permissions:\n      packages: write\n\n    runs-on: linux.4xlarge.nvidia.gpu\n\n    # Define key environment variables\n    # Container name is of the form torch_tensorrt:<branch_name>\n    env:\n      DOCKER_REGISTRY: ghcr.io/pytorch/tensorrt\n      CONTAINER_NAME: torch_tensorrt:${{ github.ref_name }}\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v3\n\n    - name: Fix Slashes Repo Name\n      id: fix_slashes\n      run: |\n        export container_name=$(echo ${{ env.CONTAINER_NAME }} |  sed 's|/|_|g')\n        echo \"container_name=$container_name\" >> $GITHUB_OUTPUT\n\n    - name: Log in to the Container registry\n      uses: docker/login-action@v2\n      with:\n        registry: ${{ env.DOCKER_REGISTRY }}\n        username: ${{ github.actor }}\n        password: ${{ secrets.GITHUB_TOKEN }}\n\n    # Automatically detect TensorRT default versions for Torch-TRT build\n    - name: Build Docker image\n      env:\n        DOCKER_TAG: ${{ env.DOCKER_REGISTRY }}/${{ steps.fix_slashes.outputs.container_name }}\n      run: |\n        python3 -m pip install pyyaml\n        TRT_VERSION=$(python3 -c \"import versions; versions.tensorrt_version()\")\n        echo \"TRT VERSION = ${TRT_VERSION}\"\n\n        DOCKER_BUILDKIT=1 docker build --build-arg TENSORRT_VERSION=$TRT_VERSION -f docker/Dockerfile --tag $DOCKER_TAG .\n\n    - name: Push Docker image\n      env:\n        DOCKER_URL: ${{ env.DOCKER_REGISTRY }}/${{ steps.fix_slashes.outputs.container_name }}\n      run: docker push $DOCKER_URL\n\n    # Clean up all untagged containers in registry\n    - name: Container Registry Cleanup\n      uses: actions/delete-package-versions@v4\n      with:\n        package-name: \"tensorrt/torch_tensorrt\"\n        package-type: container\n        min-versions-to-keep: 0\n        delete-only-untagged-versions: True\n", "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:25.070914", "created_at": "2020-06-03T19:33:09+02:00", "updated_at": "2020-06-03T19:33:09+02:00", "name": "Labeler", "path": ".github/workflows/label.yml", "contents": "# This workflow will triage pull requests and apply a label based on the\n# paths that are modified in the pull request.\n#\n# To use this workflow, you will need to set up a .github/labeler.yml\n# file with configuration.  For more information, see:\n# https://github.com/actions/labeler/blob/master/README.md\n\nname: Labeler\non: [pull_request_target]\n\njobs:\n  label:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/labeler@v4\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        configuration-path: .github/pr-labels.yml\n", "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:26.158955", "created_at": "2020-11-10T03:01:44+01:00", "updated_at": "2024-06-17T02:55:28+02:00", "name": "Lint Code", "path": ".github/workflows/linter.yml", "contents": "name: Lint Code\n\non:\n  pull_request:\n    types: [opened, synchronize, ready_for_review, review_requested, reopened]\n\njobs:\n  cpp-linting:\n    name: C++ Linting\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n      checks: write\n      contents: write\n      deployments: none\n      id-token: write\n      issues: write\n      discussions: write\n      packages: write\n      pull-requests: write\n      repository-projects: none\n      security-events: none\n      statuses: write\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.9'\n      - name: Setup env\n        run: |\n          sudo ln -s $GITHUB_EVENT_PATH /GITHUB_EVENT.json\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n      - name: Install dependencies\n        run: |\n          pip3 install -r $GITHUB_WORKSPACE/.github/scripts/requirements.txt\n          pip3 install -r $GITHUB_WORKSPACE/requirements-dev.txt\n      - name: Lint C++\n        run: |\n          cd $GITHUB_WORKSPACE\n          python3 $GITHUB_WORKSPACE/.github/scripts/run_cpp_linter.py\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n\n  py-linting:\n    name: Python Linting\n    runs-on: ubuntu-latest\n    permissions:\n      actions: write\n      checks: write\n      contents: write\n      deployments: none\n      id-token: write\n      issues: write\n      discussions: write\n      packages: write\n      pull-requests: write\n      repository-projects: none\n      security-events: none\n      statuses: write\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v3\n        with:\n          python-version: '3.9'\n      - name: Setup env\n        run: |\n          sudo ln -s $GITHUB_EVENT_PATH /GITHUB_EVENT.json\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n      - name: Install dependencies\n        run: |\n          pip3 install -r $GITHUB_WORKSPACE/.github/scripts/requirements.txt\n          pip3 install -r $GITHUB_WORKSPACE/requirements-dev.txt\n      - name: Lint Python\n        run: |\n          cd $GITHUB_WORKSPACE\n          python3 $GITHUB_WORKSPACE/.github/scripts/run_py_linter.py\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:27.217686", "created_at": "2024-06-15T04:49:11+02:00", "updated_at": "2024-07-05T23:34:25+02:00", "name": "Release Linux wheels and tarball", "path": ".github/workflows/linux-release.yaml", "contents": null, "state": "disabled_manually", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:28.192554", "created_at": "2024-06-17T02:55:32+02:00", "updated_at": "2024-07-05T23:34:55+02:00", "name": "Release Linux wheels and tarball", "path": ".github/workflows/linux-release.yml", "contents": null, "state": "disabled_manually", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:29.360501", "created_at": "2023-08-30T01:51:09+02:00", "updated_at": "2023-08-30T01:51:09+02:00", "name": "Test on Linux", "path": ".github/workflows/linux-test.yml", "contents": "name: Test on Linux\n\non:\n  workflow_call:\n    inputs:\n      job-name:\n        description: \"Name of task\"\n        default: \"\"\n        type: string\n      repository:\n        description: 'Repository to checkout, defaults to \"\"'\n        default: \"\"\n        type: string\n      ref:\n        description: 'Reference to checkout, defaults to \"nightly\"'\n        default: \"nightly\"\n        type: string\n      pre-script:\n        description: \"Pre script to run prior to build\"\n        default: \"\"\n        type: string\n      test-infra-repository:\n        description: \"Test infra repository to use\"\n        default: \"pytorch/test-infra\"\n        type: string\n      test-infra-ref:\n        description: \"Test infra reference to use\"\n        default: \"\"\n        type: string\n      build-matrix:\n        description: \"Build matrix to utilize\"\n        default: \"\"\n        type: string\n      architecture:\n        description: Architecture to build for x86_64 for default Linux, or aarch64 for Linux aarch64 builds\n        required: false\n        type: string\n        default: x86_64\n      setup-miniconda:\n        description: Works as stated in actions/checkout, but the default value is recursive\n        required: false\n        type: boolean\n        default: true\n      script:\n        description: 'Script to utilize'\n        default: \"python setup.py bdist_wheel\"\n        type: string\n      continue-on-error:\n        description: \"Prevents a job from failing when a step fails. Set to true to allow a job to pass when exec script step fails.\"\n        default: false\n        type: boolean\n      upload-artifact:\n        description: 'Name to give artifacts uploaded from ${RUNNER_ARTIFACT_DIR}'\n        default: ''\n        type: string\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJSON(inputs.build-matrix) }}\n    env:\n      PYTHON_VERSION: ${{ matrix.python_version }}\n      PACKAGE_TYPE: wheel\n      REPOSITORY: ${{ inputs.repository }}\n      REF: ${{ inputs.ref }}\n      CU_VERSION: ${{ matrix.desired_cuda }}\n      SCRIPT: ${{ inputs.script }}\n      RUNNER_TEST_RESULTS_DIR: /tmp/test_results\n      ARCH: ${{ inputs.architecture }}\n    name: ${{ inputs.job-name }}-${{ matrix.desired_cuda }}\n    runs-on: ${{ matrix.validation_runner }}\n    container:\n      image: ${{ matrix.container_image }}\n      options: ${{ matrix.gpu_arch_type == 'cuda' && '--gpus all' || ' ' }}\n    # If a build is taking longer than 60 minutes on these runners we need\n    # to have a conversation\n    timeout-minutes: 60\n    steps:\n      - name: Clean workspace\n        run: |\n          set -euxo pipefail\n          echo \"::group::Cleanup debug output\"\n          rm -rfv \"${GITHUB_WORKSPACE}\"\n          mkdir -p \"${GITHUB_WORKSPACE}\"\n          echo \"::endgroup::\"\n      - uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: ${{ inputs.test-infra-repository }}\n          ref: ${{ inputs.test-infra-ref }}\n          path: test-infra\n      - name: Setup SSH\n        uses: ./test-infra/.github/actions/setup-ssh\n        with:\n          github-secret: ${{ github.token }}\n      - uses: ./test-infra/.github/actions/set-channel\n      - uses: ./test-infra/.github/actions/setup-binary-builds\n        with:\n          repository: ${{ inputs.repository }}\n          ref: ${{ inputs.ref }}\n          setup-miniconda: ${{ inputs.setup-miniconda }}\n          python-version: ${{ env.PYTHON_VERSION }}\n          cuda-version: ${{ env.CU_VERSION }}\n          arch: ${{ env.ARCH }}\n      - name: Run Pre-Script with Caching\n        if: ${{ inputs.pre-script != '' }}\n        uses: ./test-infra/.github/actions/run-script-with-cache\n        with:\n          cache-path: ${{ inputs.cache-path }}\n          cache-key: ${{ inputs.cache-key }}\n          repository: ${{ inputs.repository  }}\n          script: ${{ inputs.pre-script }}\n      - name: Download artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: ${{ env.ARTIFACT_NAME }}\n          path: /opt/torch-tensorrt-builds/\n      # - name: Install torch and torch-tensorrt\n      #   if: ${{ inputs.pre-script != '' }}\n      #   uses: ./test-infra/.github/actions/run-script-with-cache\n      #   with:\n      #     repository: ${{ inputs.repository  }}\n      #     script: .github/scripts/install-torch-tensorrt.sh\n      - name: Pack script\n        continue-on-error: ${{ inputs.continue-on-error }}\n        working-directory: ${{ inputs.repository }}\n        env:\n          ALL_SECRETS: ${{ toJSON(secrets) }}\n        run: |\n          set -euxo pipefail\n          # shellcheck disable=SC2086\n          source \"${BUILD_ENV_FILE}\"\n          {\n            echo \"${SCRIPT}\";\n          } > \"user_script\"\n          cat .github/scripts/install-torch-tensorrt.sh user_script > exec_script\n      - name: Run Script\n        uses: ./test-infra/.github/actions/run-script-with-cache\n        with:\n          repository: ${{ inputs.repository  }}\n          script: exec_script\n      - name: Surface failing tests\n        if: always()\n        uses: pmeier/pytest-results-action@v0.5.0\n        with:\n          path: ${{ env.RUNNER_TEST_RESULTS_DIR }}/**/*.xml\n          summary: true\n          display-options: fEs\n          fail-on-empty: True\n\n      - name: Prepare artifacts for upload\n        working-directory: ${{ inputs.repository }}\n        id: check-artifacts\n        env:\n          UPLOAD_ARTIFACT_NAME: ${{ inputs.upload-artifact }}\n        run: |\n          # Only do these steps if we actually want to upload an artifact\n          if [[ -n \"${UPLOAD_ARTIFACT_NAME}\" ]]; then\n            # If the default execution path is followed then we should get a wheel in the dist/ folder\n            # attempt to just grab whatever is in there and scoop it all up\n            if find \"dist/\" -name \"*.whl\" >/dev/null 2>/dev/null; then\n              mv -v dist/*.whl \"${RUNNER_ARTIFACT_DIR}/\"\n            fi\n            # Set to fail upload step if there are no files for upload and expected files for upload\n            echo 'if-no-files-found=error' >> \"${GITHUB_OUTPUT}\"\n          fi\n\n          upload_docs=0\n          # Check if there are things in the documentation folder to uplaod\n          if find \"${RUNNER_DOCS_DIR}\" -mindepth 1 -maxdepth 1 | read -r; then\n            # TODO: Add a check here to test if on ec2 because if we're not on ec2 then this\n            # upload will probably not work correctly\n            upload_docs=1\n          fi\n          echo \"upload-docs=${upload_docs}\" >> \"${GITHUB_OUTPUT}\"\n\n      - name: Upload artifacts to GitHub (if any)\n        uses: actions/upload-artifact@v3\n        if: ${{ inputs.upload-artifact != '' }}\n        with:\n          name: ${{ inputs.upload-artifact }}\n          path: ${{ runner.temp }}/artifacts/\n          if-no-files-found: ${{ steps.check-artifacts.outputs.if-no-files-found }}\n\n      - name: Upload documentation to S3 (if any)\n        uses: seemethere/upload-artifact-s3@v5\n        if: ${{ steps.check-artifacts.outputs.upload-docs == 1 && github.event.pull_request.number != '' }}\n        with:\n          retention-days: 14\n          s3-bucket: doc-previews\n          if-no-files-found: error\n          path: ${{ env.RUNNER_DOCS_DIR }}\n          # ${{ env.repository }} is $OWNER/$REPO\n          s3-prefix: ${{ env.REPOSITORY }}/${{ github.event.pull_request.number }}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}\n  cancel-in-progress: true\n", "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:30.487211", "created_at": "2023-08-01T16:40:33+02:00", "updated_at": "2023-08-30T01:51:09+02:00", "name": "Cut Nightly", "path": ".github/workflows/nightlies.yml", "contents": "name: Cut Nightly\n\non:\n  schedule:\n    - cron: '30 9 * * *'\n  workflow_dispatch:\n\njobs:\n  cut_nightly:\n    runs-on: ubuntu-latest\n    environment: trigger-nightly\n    timeout-minutes: 60\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: main\n          token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}\n      - name: Create nightly commit\n        shell: bash\n        run: |\n          git config --global user.email \"pytorchbot@pytorch.com\"\n          git config --global user.name \"pytorchbot\"\n          git fetch origin nightly\n          HEAD_COMMIT_HASH=$(git rev-parse HEAD)\n          NIGHTLY_DATE=$(date +\"%Y-%m-%d\")\n          # shellcheck disable=SC1083\n          NIGHTLY_RELEASE_COMMIT=$(git commit-tree -p FETCH_HEAD HEAD^{tree} -m \"${NIGHTLY_DATE} nightly release (${HEAD_COMMIT_HASH})\")\n          # shellcheck disable=SC1083\n          git push -f origin \"${NIGHTLY_RELEASE_COMMIT}:nightly\"\n", "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:31.684700", "created_at": "2024-07-05T05:16:02+02:00", "updated_at": "2024-07-05T22:54:23+02:00", "name": "Release Linux wheels and tarball artifacts", "path": ".github/workflows/release-linux.yml", "contents": null, "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:32.707578", "created_at": "2024-07-05T23:48:12+02:00", "updated_at": "2024-07-06T04:51:38+02:00", "name": "Release Windows wheels artifacts", "path": ".github/workflows/release-windows.yml", "contents": null, "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:33.776551", "created_at": "2020-06-04T02:02:22+02:00", "updated_at": "2020-06-04T02:02:22+02:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale.yml", "contents": "name: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/stale@v1\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        stale-issue-message: 'This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days'\n        stale-pr-message: 'This PR has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days'\n        stale-issue-label: 'No Activity'\n        exempt-issue-labels: 'feature request'\n        stale-pr-label: 'No Activity'\n        exempt-pr-labels: 'WIP'\n        days-before-stale: 90\n        days-before-close: 10\n", "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:34.884941", "created_at": "2023-08-07T23:47:22+02:00", "updated_at": "2023-08-07T23:47:22+02:00", "name": "Tests for Torch-TensorRT", "path": ".github/workflows/tests.yml", "contents": null, "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:35.931997", "created_at": "2024-06-15T04:49:11+02:00", "updated_at": "2024-06-15T19:34:37+02:00", "name": "Release Windows wheels", "path": ".github/workflows/windows-release.yaml", "contents": null, "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:37.062871", "created_at": "2024-06-17T02:55:26+02:00", "updated_at": "2024-06-17T02:55:26+02:00", "name": ".github/workflows/windows-release.yml", "path": ".github/workflows/windows-release.yml", "contents": null, "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:38.277280", "created_at": "2024-05-01T19:39:27+02:00", "updated_at": "2024-05-01T19:39:27+02:00", "name": "Test on Windows", "path": ".github/workflows/windows-test.yml", "contents": "name: Test on Windows\n\non:\n  workflow_call:\n    inputs:\n      repository:\n        description: 'Repository to checkout, defaults to \"\"'\n        default: \"\"\n        type: string\n      ref:\n        description: 'Reference to checkout, defaults to \"nightly\"'\n        default: \"nightly\"\n        type: string\n      test-infra-repository:\n        description: \"Test infra repository to use\"\n        default: \"pytorch/test-infra\"\n        type: string\n      test-infra-ref:\n        description: \"Test infra reference to use\"\n        default: \"\"\n        type: string\n      build-matrix:\n        description: \"Build matrix to utilize\"\n        default: \"\"\n        type: string\n      pre-script:\n        description: \"Pre script to run prior to build\"\n        default: \"\"\n        type: string\n      script:\n        description: 'Script to utilize'\n        default: \"python setup.py bdist_wheel\"\n        type: string\n      job-name:\n        description: \"Name for the job, which is displayed in the GitHub UI\"\n        default: \"windows-job\"\n        type: string\n      continue-on-error:\n        description: \"Prevents a job from failing when a step fails. Set to true to allow a job to pass when exec script step fails.\"\n        default: false\n        type: boolean\n\njobs:\n  test:\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJSON(inputs.build-matrix) }}\n    env:\n      PYTHON_VERSION: ${{ matrix.python_version }}\n      PACKAGE_TYPE: wheel\n      REPOSITORY: ${{ inputs.repository }}\n      REF: ${{ inputs.ref }}\n      CU_VERSION: ${{ matrix.desired_cuda }}\n      SCRIPT: ${{ inputs.script }}\n      PYTHONUTF8: 1\n    name: ${{ inputs.job-name }}-${{ matrix.desired_cuda }}\n    runs-on: windows.8xlarge.nvidia.gpu.nonephemeral\n    defaults:\n      run:\n        shell: bash -l {0}\n    # If a build is taking longer than 60 minutes on these runners we need\n    # to have a conversation\n    timeout-minutes: 60\n    steps:\n      - name: Clean workspace\n        run: |\n          echo \"::group::Cleanup debug output\"\n          rm -rfv \"${GITHUB_WORKSPACE}\"\n          mkdir -p \"${GITHUB_WORKSPACE}\"\n          echo \"::endgroup::\"\n      - name: Checkout repository (${{ inputs.test-infra-repository }}@${{ inputs.test-infra-ref }})\n        uses: actions/checkout@v3\n        with:\n          # Support the use case where we need to checkout someone's fork\n          repository: ${{ inputs.test-infra-repository }}\n          ref: ${{ inputs.test-infra-ref }}\n          path: test-infra\n      - name: Setup Windows\n        uses: ./test-infra/.github/actions/setup-windows\n      - name: Setup SSH\n        uses: ./test-infra/.github/actions/setup-ssh\n        with:\n          github-secret: ${{ github.token }}\n      - name: Add Conda scripts to GitHub path\n        run: |\n          echo \"C:/Jenkins/Miniconda3/Scripts\" >> $GITHUB_PATH\n      - uses: ./test-infra/.github/actions/set-channel\n      - uses: ./test-infra/.github/actions/setup-binary-builds\n        with:\n          repository: ${{ inputs.repository }}\n          ref: ${{ inputs.ref }}\n          setup-miniconda: false\n          python-version: ${{ env.PYTHON_VERSION }}\n          cuda-version: ${{ env.CU_VERSION }}\n          arch: ${{ env.ARCH }}\n      - name: Run Pre-Script with Caching\n        if: ${{ inputs.pre-script != '' }}\n        uses: ./test-infra/.github/actions/run-script-with-cache\n        with:\n          cache-path: ${{ inputs.cache-path }}\n          cache-key: ${{ inputs.cache-key }}\n          repository: ${{ inputs.repository  }}\n          script: ${{ inputs.pre-script }}\n          is_windows: 'enabled'\n      - name: Download artifacts\n        uses: actions/download-artifact@v3\n        with:\n          name: ${{ env.ARTIFACT_NAME }}\n          path: ${{ runner.temp }}/artifacts/\n      - name: Pack script\n        continue-on-error: ${{ inputs.continue-on-error }}\n        working-directory: ${{ inputs.repository }}\n        env:\n          ALL_SECRETS: ${{ toJSON(secrets) }}\n        run: |\n          set -eou pipefail\n          source \"${BUILD_ENV_FILE}\"\n          {\n            echo \"${SCRIPT}\";\n          } > \"user_script\"\n          cat .github/scripts/install-torch-tensorrt.sh user_script > exec_script\n      - name: Run script\n        uses: ./test-infra/.github/actions/run-script-with-cache\n        with:\n          repository: ${{ inputs.repository  }}\n          script: exec_script\n          is_windows: 'enabled'\n      - name: Surface failing tests\n        if: always()\n        uses: pmeier/pytest-results-action@v0.3.0\n        with:\n          path: ${{ env.RUNNER_TEST_RESULTS_DIR }}\n          fail-on-empty: false\n      - name: Teardown Windows\n        if: ${{ always() }}\n        uses: ./test-infra/.github/actions/teardown-windows\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}-${{ inputs.job-name }}\n  cancel-in-progress: true\n", "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:39.366626", "created_at": "2022-01-11T18:40:37+01:00", "updated_at": "2022-01-11T18:40:37+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "pytorch/TensorRT"}
{"mined_at": "2024-07-15T18:53:41.327510", "created_at": "2024-01-17T21:30:18+01:00", "updated_at": "2024-01-17T21:59:33+01:00", "name": "Stats", "path": ".github/workflows/stats.yml", "contents": "name: Stats\n\non:\n  schedule:\n    - cron: '0 0 * * *'\n\njobs:\n  build:\n    if: github.repository == 'mouredev/roadmap-retos-programacion' && github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Run script\n        run: python ./Roadmap/stats.py\n\n      - name: Commit and Push changes\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: Update stats\n          commit_user_name: Brais Moure [GitHub Actions]\n          commit_user_email: mouredev@gmail.com\n          commit_author: mouredev <mouredev@gmail.com>\n", "state": "active", "repository": "mouredev/roadmap-retos-programacion"}
{"mined_at": "2024-07-15T18:53:43.349235", "created_at": "2024-02-29T11:50:58+01:00", "updated_at": "2024-02-29T11:50:58+01:00", "name": "Check Markdown links", "path": ".github/workflows/check-md-link.yml", "contents": "name: Check Markdown links\n\non:\n  push:\n    paths:\n      - mkdocs/**\n    branches:\n    - 'main'\n  pull_request:\n\njobs:\n  markdown-link-check:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - uses: gaurav-nelson/github-action-markdown-link-check@v1\n", "state": "active", "repository": "apache/iceberg-python"}
{"mined_at": "2024-07-15T18:53:44.525208", "created_at": "2023-09-29T14:11:53+02:00", "updated_at": "2023-10-01T07:24:18+02:00", "name": "Run License Check", "path": ".github/workflows/license_check.yml", "contents": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n\nname: \"Run License Check\"\non: pull_request\n\njobs:\n  rat:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@v4\n    - run: dev/check-license\n", "state": "active", "repository": "apache/iceberg-python"}
{"mined_at": "2024-07-15T18:53:45.752848", "created_at": "2023-09-29T11:16:50+02:00", "updated_at": "2023-09-29T11:16:50+02:00", "name": "Python Docs", "path": ".github/workflows/python-ci-docs.yml", "contents": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n\nname: \"Python Docs\"\non:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n  docs:\n    runs-on: ubuntu-22.04\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: Install\n        working-directory: ./mkdocs\n        run: pip install -r requirements.txt\n      - name: Build\n        working-directory: ./mkdocs\n        run: mkdocs build --strict\n      - name: Copy\n        working-directory: ./mkdocs\n        run: mv ./site /tmp/site\n      - name: Push changes to gh-pages branch\n        run: |\n          git checkout --orphan gh-pages-tmp\n          git rm --quiet -rf .\n          cp -r /tmp/site/* .\n          git config --global user.name 'GitHub Actions'\n          git config --global user.email 'actions@github.com'\n          echo \"py.iceberg.apache.org\" > CNAME\n          git add --all\n          git commit -m 'Publish Python docs'\n          git push -f origin gh-pages-tmp:gh-pages || true\n", "state": "active", "repository": "apache/iceberg-python"}
{"mined_at": "2024-07-15T18:53:46.980685", "created_at": "2023-09-29T11:16:50+02:00", "updated_at": "2023-09-29T11:16:50+02:00", "name": "Python CI", "path": ".github/workflows/python-ci.yml", "contents": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n\nname: \"Python CI\"\n\non:\n  push:\n    branches:\n    - 'main'\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n  lint-and-test:\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        python: ['3.8', '3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install poetry\n      run: make install-poetry\n    - uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python }}\n        cache: poetry\n        cache-dependency-path: ./poetry.lock\n    - name: Install\n      run: make install-dependencies\n    - name: Linters\n      run: make lint\n    - name: Tests\n      run: make test-coverage\n", "state": "active", "repository": "apache/iceberg-python"}
{"mined_at": "2024-07-15T18:53:48.210905", "created_at": "2023-09-29T11:16:50+02:00", "updated_at": "2023-09-29T11:16:50+02:00", "name": "Python Integration", "path": ".github/workflows/python-integration.yml", "contents": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n\nname: \"Python Integration\"\n\non:\n  push:\n    branches:\n    - 'main'\n  pull_request:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n  integration-test:\n    runs-on: ubuntu-20.04\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        fetch-depth: 2\n    - name: Install\n      run: make install\n    - name: Run integration tests\n      run: make test-integration\n    - name: Show debug logs\n      if: ${{ failure() }}\n      run: docker compose -f dev/docker-compose.yml logs\n", "state": "active", "repository": "apache/iceberg-python"}
{"mined_at": "2024-07-15T18:53:49.321024", "created_at": "2023-09-29T11:16:50+02:00", "updated_at": "2023-09-29T11:16:50+02:00", "name": "Python Release", "path": ".github/workflows/python-release.yml", "contents": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n\nname: \"Python Release\"\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version'\n        type: string\n        default: 'main'\n\n\njobs:\n  build_wheels:\n    name: Build wheels on ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ ubuntu-22.04, windows-2022, macos-11, macos-12, macos-13, macos-14 ]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      - name: Install poetry\n        run: pip install poetry\n\n      - name: Set version\n        run: python -m poetry version \"${{ inputs.version }}\"\n        if: \"${{ github.event.inputs.version != 'main' }}\"\n\n      # Publish the source distribution with the version that's in\n      # the repository, otherwise the tests will fail\n      - name: Compile source distribution\n        run: python3 -m poetry build --format=sdist\n        if: startsWith(matrix.os, 'ubuntu')\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.19.1\n        with:\n          output-dir: wheelhouse\n          config-file: \"pyproject.toml\"\n        env:\n          # Ignore 32 bit architectures\n          CIBW_ARCHS: \"auto64\"\n          CIBW_PROJECT_REQUIRES_PYTHON: \">=3.8,<3.12\"\n          CIBW_TEST_REQUIRES: \"pytest==7.4.2 moto==5.0.1\"\n          CIBW_TEST_EXTRAS: \"s3fs,glue\"\n          CIBW_TEST_COMMAND: \"pytest {project}/tests/avro/test_decoder.py\"\n          # There is an upstream issue with installing on MacOSX\n          # https://github.com/pypa/cibuildwheel/issues/1603\n          # Ignore tests for pypy since not all dependencies are compiled for it\n          # and would require a local rust build chain\n          CIBW_TEST_SKIP: \"pp* *macosx*\"\n\n      - name: Add source distribution\n        if: startsWith(matrix.os, 'ubuntu')\n        run: ls -lah dist/* && cp dist/* wheelhouse/\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: \"release-${{ github.event.inputs.version }}\"\n          path: ./wheelhouse/*\n", "state": "active", "repository": "apache/iceberg-python"}
{"mined_at": "2024-07-15T18:53:50.335748", "created_at": "2023-09-29T11:16:50+02:00", "updated_at": "2023-09-29T11:16:50+02:00", "name": "Close Stale Issues", "path": ".github/workflows/stale.yml", "contents": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n\nname: \"Close Stale Issues\"\non:\n  schedule:\n    - cron: '0 0 * * *'\n\npermissions:\n  # All other permissions are set to none\n  issues: write\n\njobs:\n  stale:\n    if: github.repository_owner == 'apache'\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/stale@v9.0.0\n        with:\n          stale-issue-label: 'stale'\n          exempt-issue-labels: 'not-stale'\n          days-before-issue-stale: 180\n          days-before-issue-close: 14\n          # Only close stale issues, leave PRs alone\n          days-before-pr-stale: -1\n          stale-issue-message: >\n            This issue has been automatically marked as stale because it has been open for 180 days\n            with no activity. It will be closed in next 14 days if no further activity occurs. To\n            permanently prevent this issue from being considered stale, add the label 'not-stale',\n            but commenting on the issue is preferred when possible.\n          close-issue-message: >\n            This issue has been closed because it has not received any activity in the last 14 days\n            since being marked as 'stale'\n", "state": "active", "repository": "apache/iceberg-python"}
{"mined_at": "2024-07-15T18:53:51.360334", "created_at": "2024-07-11T00:16:34+02:00", "updated_at": "2024-07-11T00:16:34+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "apache/iceberg-python"}
{"mined_at": "2024-07-15T18:53:52.356480", "created_at": "2023-11-07T19:47:05+01:00", "updated_at": "2023-11-07T19:47:05+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "apache/iceberg-python"}
{"mined_at": "2024-07-15T18:53:54.330863", "created_at": "2022-08-08T17:12:37+02:00", "updated_at": "2022-08-08T17:12:37+02:00", "name": "Bump version and auto-release", "path": ".github/workflows/release.yaml", "contents": "name: Bump version and auto-release\non:\n  push:\n    branches:\n      - main\njobs:\n  call-run-python-release:\n    uses: openclimatefix/.github/.github/workflows/python-release.yml@v1.7.2\n    secrets:\n      token: ${{ secrets.PYPI_API_TOKEN }}\n      PAT_TOKEN: ${{ secrets.PAT_TOKEN }}\n", "state": "active", "repository": "openclimatefix/ocf_datapipes"}
{"mined_at": "2024-07-15T18:53:55.346380", "created_at": "2022-08-08T17:12:37+02:00", "updated_at": "2022-08-08T17:12:37+02:00", "name": "Python package tests", "path": ".github/workflows/workflows.yaml", "contents": "name: Python package tests\n\non:\n  push:\n  pull_request:\n    types: [opened, reopened]\n  schedule:\n    - cron: \"0 12 * * 1\"\njobs:\n  call-run-python-tests:\n    uses: openclimatefix/.github/.github/workflows/python-test.yml@main\n    with:\n      # 0 means don't use pytest-xdist\n      pytest_numcpus: \"4\"\n      # pytest-cov looks at this folder\n      pytest_cov_dir: \"ocf_datapipes\"\n      # extra things to install\n      sudo_apt_install: \"libgeos++-dev libproj-dev proj-data proj-bin\"\n      #      brew_install: \"proj geos librttopo\"\n      os_list: '[\"ubuntu-latest\"]'\n      python-version: \"['3.10','3.11']\"\n", "state": "active", "repository": "openclimatefix/ocf_datapipes"}
{"mined_at": "2024-07-15T18:53:57.450143", "created_at": "2024-01-12T13:48:19+01:00", "updated_at": "2024-02-08T19:57:30+01:00", "name": "Copy Parse Markdown and Generate JSON from Source Repo", "path": ".github/workflows/copy_parse_markdown.yml", "contents": "name: Copy Parse Markdown and Generate JSON from Source Repo\n\non:\n  workflow_dispatch:\n    inputs:\n      source_repo:\n        description: 'Source repository name'\n        required: true\n        default: 'DmitryRyumin/NewEraAI-Papers'\n      source_file_path:\n        description: 'Path to the file in the source repository'\n        required: true\n        default: 'code/markdown_to_json_parser.py'\n      code_directory:\n        description: 'Directory where code is stored'\n        required: true\n        default: 'code'\n      display_file_contents:\n        description: 'Whether or not to display the contents of the doanload file and the destination file'\n        required: true\n        default: 'false'\n        type: choice\n        options:\n          - true\n          - false\n  schedule:\n    - cron: '30 23 * * *'\n\njobs:\n  copy-code:\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n\n    env:\n      INPUT_SOURCE_REPO: ${{ github.event.inputs.source_repo || 'DmitryRyumin/NewEraAI-Papers' }}\n      INPUT_SOURCE_FILE_PATH: ${{ github.event.inputs.source_file_path || 'code/markdown_to_json_parser.py' }}\n      INPUT_CODE_DIRECTORY: ${{ github.event.inputs.code_directory || 'code' }}\n      INPUT_DISPLAY_FILE_CONTENTS: ${{ github.event.inputs.display_file_contents || 'false' }}\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        continue-on-error: true # Continue with the workflow even if the checkout fails\n        with:\n          ref: ${{ github.event.before || 'main' }}\n\n      - name: Set SOURCE_FILE_PATH\n        run: |\n          echo \"SOURCE_FILE_PATH=${{ github.workspace }}/${{ env.INPUT_CODE_DIRECTORY }}/markdown_to_json_parser_new.py\" >> $GITHUB_ENV\n\n      - name: Set SOURCE_DESTINATION_FILE_PATH\n        run: |\n          echo \"SOURCE_DESTINATION_FILE_PATH=${{ github.workspace }}/${{ env.INPUT_SOURCE_FILE_PATH }}\" >> $GITHUB_ENV\n\n      - name: Define show_file_content function\n        run: echo 'source ${{ github.workspace }}/scripts/show_file_content.sh' > show_file_content_step.sh\n\n      - name: Download source file\n        run: |\n          if mkdir -p \"${{ github.workspace }}/${{ env.INPUT_CODE_DIRECTORY }}\"; then\n            echo \"Directory created successfully or already existed.\"\n          else\n            echo \"Failed to create directory.\"\n            exit 1\n          fi\n\n          source_url=\"https://raw.githubusercontent.com/${{ env.INPUT_SOURCE_REPO }}/main/${{ env.INPUT_SOURCE_FILE_PATH }}\"\n          if curl -o \"${{ env.SOURCE_FILE_PATH }}\" \"$source_url\"; then\n            echo \"Source file downloaded successfully.\"\n          else\n            echo \"Failed to download source file.\"\n            exit 1\n          fi\n\n      - name: Display content of the downloaded source file\n        run: |\n          set -e\n          source show_file_content_step.sh\n          show_file_content \"${{ env.SOURCE_FILE_PATH }}\" \"${{ env.INPUT_DISPLAY_FILE_CONTENTS }}\"\n\n      - name: Display content of destination file from target repository\n        run: |\n          set -e\n          source show_file_content_step.sh\n          show_file_content \"${{ env.SOURCE_DESTINATION_FILE_PATH }}\" \"${{ env.INPUT_DISPLAY_FILE_CONTENTS }}\"\n\n      - name: Compare and handle files\n        run: |\n          set -e\n\n          handle_equal_files() {\n            echo \"Files are equal. Deleting SOURCE_FILE_PATH.\"\n            if rm \"${{ env.SOURCE_FILE_PATH }}\"; then\n              echo \"SOURCE_FILE_PATH deleted successfully.\"\n            else\n              echo \"Failed to delete SOURCE_FILE_PATH.\"\n              exit 1\n            fi\n          }\n\n          handle_unequal_files() {\n            echo \"Files are not equal. Replacing SOURCE_DESTINATION_FILE_PATH with content from SOURCE_FILE_PATH.\"\n            if cat \"${{ env.SOURCE_FILE_PATH }}\" > \"${{ env.SOURCE_DESTINATION_FILE_PATH }}\"; then\n              echo \"SOURCE_DESTINATION_FILE_PATH replaced successfully.\"\n              rm \"${{ env.SOURCE_FILE_PATH }}\"\n            else\n              echo \"Failed to replace SOURCE_DESTINATION_FILE_PATH.\"\n              exit 1\n            fi\n          }\n\n          handle_missing_destination() {\n            echo \"SOURCE_DESTINATION_FILE_PATH does not exist. Renaming SOURCE_FILE_PATH to SOURCE_DESTINATION_FILE_PATH.\"\n            if [ -f \"${{ env.SOURCE_FILE_PATH }}\" ] && [ -f \"${{ env.SOURCE_DESTINATION_FILE_PATH }}\" ]; then\n              if mv \"${{ env.SOURCE_FILE_PATH }}\" \"${{ env.SOURCE_DESTINATION_FILE_PATH }}\"; then\n                echo \"Files renamed successfully.\"\n              else\n                echo \"Failed to rename files.\"\n                exit 1\n              fi\n            else\n              echo \"One or both of the files do not exist.\"\n            fi\n          }\n\n          if [ -f \"${{ env.SOURCE_DESTINATION_FILE_PATH }}\" ]; then\n            if cmp -s \"${{ env.SOURCE_DESTINATION_FILE_PATH }}\" \"${{ env.SOURCE_FILE_PATH }}\"; then\n              handle_equal_files\n            else\n              handle_unequal_files\n            fi\n          else\n            handle_missing_destination\n          fi\n\n      - name: Display working code directory content\n        run: |\n          ls -al \"${{ github.workspace }}/${{ env.INPUT_CODE_DIRECTORY }}\"\n\n      - name: Auto commit changes\n        uses: stefanzweifel/git-auto-commit-action@v5\n        with:\n          commit_message: 'Copy Parse Markdown and Generate JSON from Source Repo'\n        env:\n          PAPER_TOKEN: ${{ secrets.PAPER_TOKEN }}\n\n      - name: Set output status\n        run: echo \"status=${{ steps.parse.outcome }}\" >> $GITHUB_ENV\n", "state": "active", "repository": "DmitryRyumin/ICCV-2023-Papers"}
{"mined_at": "2024-07-15T18:53:58.553188", "created_at": "2024-01-10T17:22:52+01:00", "updated_at": "2024-01-10T17:22:52+01:00", "name": "Parse Markdown and Generate JSON", "path": ".github/workflows/parse_markdown.yml", "contents": "name: Parse Markdown and Generate JSON\n\non:\n  schedule:\n    - cron: '0 0 * * *' # 00:00 UTC\n  workflow_dispatch:\n\njobs:\n  parse_markdown:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.10.11\n\n      - name: Install Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: '20'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install bs4 markdown2 prettytable PyGithub flake8 black\n        continue-on-error: true\n\n      - name: Run Flake8 (Linting)\n        run: flake8 code/\n\n      - name: Check code formatting\n        run: black --check code/\n\n      - name: Run Markdown Parser\n        id: parse\n        run: python code/markdown_to_json_parser.py\n        working-directory: ${{ github.workspace }}\n        continue-on-error: true\n        env:\n          PAPER_TOKEN: ${{ secrets.PAPER_TOKEN }}\n\n      - name: Upload JSON files\n        uses: actions/upload-artifact@v4\n        with:\n          name: json_data\n          path: ${{ github.workspace }}/json_data\n\n      - name: Set output status\n        run: echo \"status=${{ steps.parse.outcome }}\" >> $GITHUB_ENV\n", "state": "active", "repository": "DmitryRyumin/ICCV-2023-Papers"}
{"mined_at": "2024-07-15T18:53:59.547036", "created_at": "2024-01-25T19:27:15+01:00", "updated_at": "2024-02-08T20:00:12+01:00", "name": "Sync Hugging Face App", "path": ".github/workflows/sync_papers_with_hf.yml", "contents": "name: Sync Hugging Face App\n\non:\n  schedule:\n    - cron: '0 4 * * *' # 04:00 UTC\n  workflow_dispatch:\n\njobs:\n  sync-hf:\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n\n    env:\n      HF_USERNAME: 'DmitryRyumin'\n      HF_REPO: 'NewEraAI-Papers'\n      LOCAL_DIR: 'NewEraAI-Papers'\n      HF_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }}\n      JSON_DATA_PATH: 'json_data/2023/ICCV'\n      UPDATE_REPO_SH: 'update_repo.sh'\n      COMPARE_FILES_SH: 'compare_files.sh'\n      EMAIL: 'dl_03.03.1991@mail.ru'\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        continue-on-error: true # Continue with the workflow even if the checkout fails\n        with:\n          ref: ${{ github.event.before || 'main' }}\n\n      - name: Install Git LFS\n        run: |\n          if ! command -v git-lfs &> /dev/null; then\n            echo \"Git LFS is not installed. Installing ...\"\n            sudo apt-get install git-lfs\n          fi\n          git lfs install\n\n      - name: Install colordiff\n        run: |\n          if ! command -v colordiff &> /dev/null; then\n            echo \"colordiff is not installed. Installing ...\"\n            sudo apt-get install colordiff\n          fi\n\n      - name: Set REMOTE_URL\n        run: |\n          echo \"REMOTE_URL=https://${{ env.HF_USERNAME }}:${{ env.HF_TOKEN }}@huggingface.co/spaces/${{ env.HF_USERNAME }}/${{ env.HF_REPO }}\" >> $GITHUB_ENV\n\n      - name: Clone Hugging Face Repository\n        run: |\n          GIT_LFS_SKIP_SMUDGE=1 git clone --quiet --branch=main --single-branch --depth=1 \"$REMOTE_URL\" \"${{ env.LOCAL_DIR }}\"\n        continue-on-error: true\n\n      - name: Display cloned directory contents\n        run: |\n          ls -al \"${{ github.workspace }}/${{ env.LOCAL_DIR }}/${{ env.JSON_DATA_PATH }}\"\n\n      - name: Make scripts executable\n        run: |\n          chmod +x ${{ github.workspace }}/scripts/${{ env.UPDATE_REPO_SH }}\n          chmod +x ${{ github.workspace }}/scripts/${{ env.COMPARE_FILES_SH }}\n\n      - name: Define scripts\n        run: |\n          echo 'source ${{ github.workspace }}/scripts/${{ env.UPDATE_REPO_SH }}' > ${{ env.UPDATE_REPO_SH }}\n          echo 'source ${{ github.workspace }}/scripts/${{ env.COMPARE_FILES_SH }}' > ${{ env.COMPARE_FILES_SH }}\n          chmod +x ${{ github.workspace }}/${{ env.UPDATE_REPO_SH }}\n          chmod +x ${{ github.workspace }}/${{ env.COMPARE_FILES_SH }}\n\n      - name: Compare and update files\n        run: bash ${{ env.COMPARE_FILES_SH }} \"${{ github.workspace }}/json_data\" \"${{ github.workspace }}/${{ env.LOCAL_DIR }}/${{ env.JSON_DATA_PATH }}\"\n\n      - name: Update repository and commit\n        run: bash ${{ env.UPDATE_REPO_SH }} \"${{ github.workspace }}/${{ env.LOCAL_DIR }}/${{ env.JSON_DATA_PATH }}\" \"${{ env.EMAIL }}\" \"${{ env.HF_USERNAME }}\" \"${{ env.JSON_DATA_PATH }}\" \"${{ env.HF_USERNAME }}\" \"${{ env.HF_TOKEN }}\" \"${{ env.HF_REPO }}\"\n\n  finalize:\n    runs-on: ubuntu-latest\n    needs: sync-hf\n\n    steps:\n      - name: Output completion time\n        run: echo \"Workflow completed at [$(date '+%Y-%m-%d %H:%M:%S')]\"\n\n      - name: Set output status\n        run: |\n          if [ ${{ needs.sync-hf.result }} == 'success' ]; then\n            echo \"status=success\" >> $GITHUB_ENV\n          else\n            echo \"status=failure\" >> $GITHUB_ENV\n          fi\n", "state": "active", "repository": "DmitryRyumin/ICCV-2023-Papers"}
{"mined_at": "2024-07-15T18:54:01.829101", "created_at": "2024-03-14T18:04:41+01:00", "updated_at": "2024-03-15T18:58:36+01:00", "name": "Check Python Formatting", "path": ".github/workflows/check_formatting.yml", "contents": "name: Check Python Formatting\n\non: [pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: psf/black@stable\n        with:\n          options: \"--check --line-length=79\" # In line with .vscode/settings.json", "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:02.958385", "created_at": "2023-10-31T22:22:22+01:00", "updated_at": "2023-10-31T22:22:22+01:00", "name": "Deploy AIConfig Docs", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Deploy AIConfig Docs\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"aiconfig-docs/**/*\"\n\n    # Review gh actions docs if you want to further define triggers, paths, etc\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on\n\npermissions:\n  contents: write\n\njobs:\n  deploy:\n    name: Deploy to GitHub Pages\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: aiconfig-docs\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 18\n          cache: yarn\n          cache-dependency-path: ./aiconfig-docs\n\n      - name: Install dependencies\n        run: yarn install --frozen-lockfile\n      - name: Build website\n        run: yarn build\n\n      # Popular action to deploy to GitHub Pages:\n      # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus\n      - name: Deploy to GitHub Pages\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          # Build output to publish to the `gh-pages` branch:\n          publish_dir: ./aiconfig-docs/build\n          cname: aiconfig.lastmileai.dev\n          # The following lines assign commit authorship to the official\n          # GH-Actions bot for deploys to `gh-pages` branch:\n          # https://github.com/actions/checkout/issues/13#issuecomment-724415212\n          # The GH actions bot is used by default if you didn't specify the two fields.\n          # You can swap them out with your own user credentials.\n          user_name: github-actions[bot]\n          user_email: 41898282+github-actions[bot]@users.noreply.github.com\n", "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:04.054398", "created_at": "2024-02-21T00:32:06+01:00", "updated_at": "2024-02-21T01:02:03+01:00", "name": "Continuous Integration", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:05.210039", "created_at": "2023-11-30T00:43:16+01:00", "updated_at": "2023-11-30T00:43:16+01:00", "name": "Node.js Tests", "path": ".github/workflows/main-typescript.yml", "contents": "name: Node.js Tests\n# Triggers the workflow on push on main. This is the same as pr_typescript.yml but does not run on every PR.\non:\n  push:\n    branches: [main]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: \"0\"\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 20\n      - name: Install dependencies\n        run: |\n          cd typescript && yarn install\n      # TODO: we plan to uncomment these lines once linting is supported cc: @rossdanlm \n      # - name: Lint\n      #   run: |\n      #     cd typescript && yarn lint\n      - name: Test\n        run: |\n          cd typescript && yarn test\n      - name: Compile\n        run: |\n          cd typescript && yarn compile\n", "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:06.351168", "created_at": "2023-11-30T00:19:27+01:00", "updated_at": "2023-11-30T00:19:27+01:00", "name": "Python Tests", "path": ".github/workflows/main_python.yml", "contents": "name: Python Tests\n\n# Triggers the workflow on push on main. This is the same as pr_python.yml but does not run on every PR.\non:\n  push:\n    branches: [main]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: \"0\"\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Build and Install Library into Package\n        run: |\n          pip install build && cd python && python -m build && pip install dist/*.whl\n      - name: Install Test dependencies\n        run: |\n          cd python && pip install -r requirements-dev.txt\n      - name: Run tests\n        run: |\n          cd python && pytest\n", "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:07.440200", "created_at": "2023-10-31T16:06:12+01:00", "updated_at": "2023-10-31T16:06:12+01:00", "name": "Pull Request Slack Notification", "path": ".github/workflows/notify-slack-on-pr-open.yml", "contents": null, "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:08.690023", "created_at": "2023-10-27T22:20:10+02:00", "updated_at": "2023-11-10T07:55:45+01:00", "name": "Python Test", "path": ".github/workflows/pr_python.yml", "contents": "name: Python Test\non:\n  pull_request:\n    branches: [main]\n    paths:\n      - \"python/**/*\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: \"0\"\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n      - name: Build and Install Library into Package\n        run: |\n          pip install build && cd python && python -m build && pip install dist/*.whl\n      - name: Install Test dependencies\n        run: |\n          cd python && pip install -r requirements-dev.txt\n      - name: Run tests\n        run: |\n          cd python && pytest\n", "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:09.918999", "created_at": "2023-10-30T22:35:28+01:00", "updated_at": "2023-11-10T07:55:45+01:00", "name": "Node.js Test", "path": ".github/workflows/pr_typescript.yml", "contents": "name: Node.js Test\non:\n  pull_request:\n    branches: [main]\n    paths:\n      - \"typescript/**/*\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: \"0\"\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 20\n      - name: Install dependencies\n        run: |\n          cd typescript && yarn install\n      # - name: Lint\n      #   run: |\n      #     cd typescript && yarn lint\n      - name: Test\n        run: |\n          cd typescript && yarn test\n      - name: Compile\n        run: |\n          cd typescript && yarn compile\n", "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:11.048997", "created_at": "2024-03-13T19:01:56+01:00", "updated_at": "2024-03-13T21:25:10+01:00", "name": "Build and Publish Python SDK to PyPI", "path": ".github/workflows/publish_python_sdk.yml", "contents": "# Build and publish the python-sdk to pypi. This workflow does NOT update the version number. Open a pr to update the version number and merge it to master before running this workflow.\n# This workflow is triggered manually. see https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow\nname: Build and Publish Python SDK to PyPI\n\n# Controls when the workflow will run\non:\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\njobs:\n  build-release:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\" # don't know what the impact of this is\n\n      - name: Build editor & client packages. # Otherwise the aiconfig local editor will have a blank screen. This gets included in the python package\n        run: |\n          cd python/src/aiconfig/editor/client && yarn && yarn build\n      - name: Build Package\n        run: |\n          pip install build && cd python && python -m build\n      - name: Publish release distributions to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          packages-dir: python/dist/\n      - name: Send slack message\n        id: slack\n        uses: slackapi/slack-github-action@v1.25.0\n        with:\n          # This data can be any valid JSON from a previous step in the GitHub Action\n          payload: |\n            {\n              \"text\": \"Headsup - The python-sdk has been version bumped and published to pypi\"\n            }\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}", "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:12.226227", "created_at": "2023-10-31T22:08:55+01:00", "updated_at": "2023-11-10T07:55:45+01:00", "name": "Build AIConfig Docs", "path": ".github/workflows/test-deploy-docs.yml", "contents": "name: Build AIConfig Docs\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - \"aiconfig-docs/**/*\"\n    # Review gh actions docs if you want to further define triggers, paths, etc\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on\n\njobs:\n  test-deploy:\n    name: Test deployment\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: aiconfig-docs\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 18\n          cache: yarn\n          cache-dependency-path: ./aiconfig-docs\n\n      - name: Install dependencies\n        run: yarn install --frozen-lockfile\n      - name: Test build website\n        run: yarn build\n", "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:13.255254", "created_at": "2023-10-31T16:06:11+01:00", "updated_at": "2023-10-31T16:06:11+01:00", "name": "tests", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:14.253029", "created_at": "2023-11-16T03:28:05+01:00", "updated_at": "2023-11-16T03:28:05+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:15.346109", "created_at": "2023-10-31T22:00:37+01:00", "updated_at": "2023-10-31T22:00:37+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "lastmile-ai/aiconfig"}
{"mined_at": "2024-07-15T18:54:17.497025", "created_at": "2023-08-10T15:24:37+02:00", "updated_at": "2024-04-09T16:39:07+02:00", "name": "Unit Test", "path": ".github/workflows/unitest.yml", "contents": null, "state": "active", "repository": "IAHispano/Applio"}
{"mined_at": "2024-07-15T18:54:18.501155", "created_at": "2024-01-20T00:00:22+01:00", "updated_at": "2024-01-20T00:00:22+01:00", "name": "Code Formatter", "path": ".github/workflows/code_formatter.yml", "contents": "name: Code Formatter\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  push_format:\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n      pull-requests: write\n\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{github.ref_name}}\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Black\n        run: pip install \"black[jupyter]\"\n\n      - name: Run Black\n        # run: black $(git ls-files '*.py')\n        run: black . --exclude=\".*\\.ipynb$\"\n\n      - name: Commit Back\n        continue-on-error: true\n        id: commitback\n        run: |\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git add --all\n          git commit -m \"chore(format): run black on ${{github.ref_name}}\"\n\n      - name: Create Pull Request\n        if: steps.commitback.outcome == 'success'\n        continue-on-error: true\n        uses: peter-evans/create-pull-request@v5\n        with:\n          delete-branch: true\n          body: \"Automatically apply code formatter change\"\n          title: \"chore(format): run black on ${{github.ref_name}}\"\n          commit-message: \"chore(format): run black on ${{github.ref_name}}\"\n          branch: formatter-${{github.ref_name}}\n", "state": "active", "repository": "IAHispano/Applio"}
{"mined_at": "2024-07-15T18:54:19.645935", "created_at": "2024-01-20T12:50:26+01:00", "updated_at": "2024-06-06T22:52:16+02:00", "name": "Test preprocess and extract", "path": ".github/workflows/unittest.yml", "contents": "name: Test preprocess and extract\non: [push, pull_request]\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\"]\n        os: [ubuntu-latest]\n      fail-fast: true\n\n    steps:\n      - uses: actions/checkout@master\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          sudo apt update\n          sudo apt -y install ffmpeg\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools\n          python -m pip install --upgrade wheel\n          pip install torch torchvision torchaudio\n          pip install -r requirements.txt\n          python core.py prerequisites --models \"True\"\n      - name: Test Preprocess\n        run: |\n          python core.py preprocess --model_name \"Evaluate\" --dataset_path \"logs/mute/sliced_audios\" --sampling_rate \"48000\" --cpu_cores \"2\"\n      - name: Test Extract\n        run: |\n          python core.py extract --model_name \"Evaluate\" --sampling_rate \"48000\" --cpu_cores \"2\"", "state": "active", "repository": "IAHispano/Applio"}
{"mined_at": "2024-07-15T18:54:21.899342", "created_at": "2024-01-15T15:46:34+01:00", "updated_at": "2024-01-22T19:11:25+01:00", "name": "Build Sphinx Documentation", "path": ".github/workflows/build_and_deploy_documentation.yml", "contents": "name: \"Build Sphinx Documentation\"\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main \n\npermissions:\n  contents: write\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install dependencies\n      run: |\n        pip install myst-parser\n        pip install .\n        pip install sphinx-rtd-theme sphinx-autodoc-typehints sphinx-click sphinx-automodapi texext\n    - name: \"Parse into HTML\"\n      run: |\n        sphinx-apidoc -o docs/source/api src/modalities\n        sphinx-build -M html docs/source/ docs/build/\n    - name: Deploy to GitHub Pages\n      uses: peaceiris/actions-gh-pages@v3\n      with:\n        publish_branch: gh-pages\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        publish_dir: docs/build/html\n        force_orphan: true\n\n      \n    \n", "state": "active", "repository": "Modalities/modalities"}
{"mined_at": "2024-07-15T18:54:22.947079", "created_at": "2024-01-15T11:11:17+01:00", "updated_at": "2024-01-15T11:22:27+01:00", "name": "Build Sphinx Documentation", "path": ".github/workflows/build_documentation.yml", "contents": null, "state": "active", "repository": "Modalities/modalities"}
{"mined_at": "2024-07-15T18:54:23.953659", "created_at": "2024-01-15T10:42:07+01:00", "updated_at": "2024-01-22T19:11:25+01:00", "name": "Linting", "path": ".github/workflows/linting.yml", "contents": "name: Linting\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n  pull_request:\n    types: [review_requested, ready_for_review, auto_merge_enabled]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pre-commit\n        pre-commit install\n    - name: Analysing the code with pre-commit\n      run: |\n        pre-commit run --all-files\n", "state": "active", "repository": "Modalities/modalities"}
{"mined_at": "2024-07-15T18:54:24.932423", "created_at": "2024-01-15T10:14:39+01:00", "updated_at": "2024-01-15T10:14:39+01:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": null, "state": "active", "repository": "Modalities/modalities"}
{"mined_at": "2024-07-15T18:54:25.939903", "created_at": "2024-01-15T10:58:03+01:00", "updated_at": "2024-01-22T19:11:25+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - main\n  workflow_dispatch:\n  pull_request:\n    types: [review_requested, ready_for_review, auto_merge_enabled]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e .[tests]\n    - name: Run tests\n      run: |\n        pytest\n    - name: Upload coverage data to coveralls.io\n      run: |\n        python -m pip install coveralls[toml]\n        coveralls --service=github\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n        \n", "state": "active", "repository": "Modalities/modalities"}
{"mined_at": "2024-07-15T18:54:27.012981", "created_at": "2024-01-15T15:33:52+01:00", "updated_at": "2024-01-15T15:33:52+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "Modalities/modalities"}
{"mined_at": "2024-07-15T18:54:29.169577", "created_at": "2022-12-15T15:32:11+01:00", "updated_at": "2022-12-15T15:32:11+01:00", "name": "style", "path": ".github/workflows/style.yaml", "contents": "name: style\non:\n  push:\n    branches:\n    - main\n  pull_request:\n    branches:\n    - main\njobs:\n  black:\n    name: black\n    runs-on: ubuntu-latest\n    steps:\n    - name: Clone repo\n      uses: actions/checkout@v2\n    - name: Set up python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n    - name: Install poetry\n      run: |\n        python -m ensurepip\n        python -m pip install --upgrade pip\n        python -m pip install poetry\n\n    - name: Install dependencies\n      shell: bash\n      run: |\n        python -m poetry lock --no-update\n        python -m poetry install\n\n    - name: Run black checks\n      run: poetry run python -m black . --check --diff\n  flake8:\n    name: flake8\n    runs-on: ubuntu-latest\n    steps:\n    - name: Clone repo\n      uses: actions/checkout@v2\n    - name: Set up python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n    - name: Install poetry\n      run: |\n        python -m ensurepip\n        python -m pip install --upgrade pip\n        python -m pip install poetry\n\n    - name: Install dependencies\n      shell: bash\n      run: |\n        python -m poetry lock --no-update\n        python -m poetry install\n    - name: Run flake8 checks\n      run: poetry run python -m flake8 .\n  isort:\n    name: isort\n    runs-on: ubuntu-latest\n    steps:\n    - name: Clone repo\n      uses: actions/checkout@v2\n    - name: Set up python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n    - name: Install poetry\n      run: |\n        python -m ensurepip\n        python -m pip install --upgrade pip\n        python -m pip install poetry\n\n    - name: Install dependencies\n      shell: bash\n      run: |\n        python -m poetry lock --no-update\n        python -m poetry install\n    - name: Run isort checks\n      run: |\n        poetry run python -m isort geobench/ --check --diff\n  pydocstyle:\n    name: pydocstyle\n    runs-on: ubuntu-latest\n    steps:\n    - name: Clone repo\n      uses: actions/checkout@v2\n    - name: Set up python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n    - name: Install poetry\n      run: |\n        python -m ensurepip\n        python -m pip install --upgrade pip\n        python -m pip install poetry\n\n    - name: Install dependencies\n      shell: bash\n      run: |\n        python -m poetry lock --no-update\n        python -m poetry install\n    - name: Run pydocstyle checks\n      run: poetry run python -m pydocstyle geobench/\n", "state": "active", "repository": "ServiceNow/geo-bench"}
{"mined_at": "2024-07-15T18:54:30.501608", "created_at": "2022-12-15T15:32:11+01:00", "updated_at": "2022-12-15T15:32:11+01:00", "name": "tests", "path": ".github/workflows/tests.yaml", "contents": "name: tests\non:\n  push:\n    branches:\n    - main\n  pull_request:\n    branches:\n    - main\n  \njobs:\n  mypy:\n    name: mypy\n    runs-on: ubuntu-latest\n    steps:\n    - name: Clone repo\n      uses: actions/checkout@v2\n    - name: Set up python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.8'\n    - name: Install poetry\n      run: |\n        python -m ensurepip\n        python -m pip install --upgrade pip\n        python -m pip install poetry\n    - name: Install dependencies\n      shell: bash\n      run: |\n        python -m poetry lock --no-update\n        python -m poetry install\n    - name: Run mypy checks\n      shell: bash\n      run: poetry run python -m mypy geobench/ --ignore-missing-imports\n  pytest:\n    name: pytest\n    runs-on: ${{ matrix.os }}\n    env:\n      MPLBACKEND: Agg\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: ['3.8', '3.9']\n    steps:\n    - name: Clone repo\n      uses: actions/checkout@v2\n    - name: Set up python\n      uses: actions/setup-python@v2\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install apt dependencies (Linux)\n      run: sudo apt-get install unrar\n      if: ${{ runner.os == 'Linux' }}\n    - name: Install brew dependencies (macOS)\n      run: brew install rar\n      if: ${{ runner.os == 'macOS' }}\n    - name: Install poetry (ubuntu and macOS)\n      run: |\n        python -m ensurepip\n        python -m pip install --upgrade pip\n        python -m pip install poetry\n    - name: Install dependencies (ubuntu and macOS)\n      shell: bash\n      run: |\n        python -m poetry lock --no-update\n        python -m poetry install\n    - name: Run pytest checks\n      shell: bash\n      env:\n        WANDB_API: ${{ secrets.WANDB_API_KEY }}\n      run: |\n        poetry run wandb login \"$WANDB_API\"\n        poetry run python -m pytest -v tests --cov=geobench --cov-report=xml\n", "state": "active", "repository": "ServiceNow/geo-bench"}
{"mined_at": "2024-07-15T18:54:34.514138", "created_at": "2024-02-22T08:06:31+01:00", "updated_at": "2024-02-22T08:06:31+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "danielmiessler/fabric"}
{"mined_at": "2024-07-15T18:54:36.645940", "created_at": "2024-01-22T13:22:07+01:00", "updated_at": "2024-01-22T13:22:07+01:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": "name: Build\n\non:\n  push:\n    branches: [ development ]\n    paths-ignore:\n      - 'src/pretalx/locale/**'\n      - 'doc/**'\n  pull_request:\n    branches: [ development ]\n    paths-ignore:\n      - 'src/pretalx/locale/**'\n      - 'doc/**'\n\npermissions:\n  contents: read  #  to fetch code (actions/checkout)\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  packaging:\n    runs-on: ubuntu-latest\n    name: Packaging\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n      - name: Set up node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 'latest'\n      - name: Install frontend dependencies\n        run: npm ci\n        working-directory: ./src/pretalx/frontend/schedule-editor\n      - name: Install system dependencies\n        run: sudo apt update && sudo apt install gettext unzip\n      - name: Install Python dependencies\n        run: python -m pip install twine wheel -Ue \".[dev]\"\n      - name: Run check-manifest\n        run: check-manifest\n      - name: Run build\n        run: python -m build\n      - name: Check package\n        run: twine check dist/*\n      - name: Check files to make sure we ship our frontend\n        run: unzip -l dist/pretalx*whl | grep frontend || exit 1\n      - name: Check files to make sure we ship our frontend but not our node_modules\n        run: unzip -l dist/pretalx*whl | grep node_modules && exit 1 || exit 0\n      - name: Install the created wheel package with pip\n        run: |\n          # Switch to a new virtualenv\n          mkdir test_venv\n          python -m venv test_venv\n          . test_venv/bin/activate\n\n          python -m pip install dist/pretalx*whl\n      - name: Make sure we can run pretalx commands\n        run: python -m pretalx help\n      - name: Make sure we can run through all migrations\n        run: python -m pretalx migrate\n", "state": "active", "repository": "fossasia/eventyay-talk"}
{"mined_at": "2024-07-15T18:54:37.727947", "created_at": "2024-05-28T23:48:42+02:00", "updated_at": "2024-05-28T23:48:42+02:00", "name": "Docker-pr-deploy", "path": ".github/workflows/docker-pr-deploy.yml", "contents": "name: Docker-pr-deploy\non:\n  workflow_dispatch:\n    inputs:\n      repository: \n        description: \"Repository name with owner. For example, actions/checkout\"\n      ref: \n        description: \"The branch, tag or SHA to checkout.\"\n\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ inputs.repository }}\n          ref: ${{ inputs.ref }}\n      \n      - name: Log in to Docker Hub\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      \n      - name: Build and push Docker image\n        uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n        with:\n          context: .\n          push: true\n          tags: eventyay/eventyay-talk:development\n          labels: manual\n", "state": "active", "repository": "fossasia/eventyay-talk"}
{"mined_at": "2024-07-15T18:54:38.798882", "created_at": "2024-05-24T07:43:49+02:00", "updated_at": "2024-05-24T08:03:43+02:00", "name": "Docker PR Build", "path": ".github/workflows/docker-pr.yml", "contents": "name: Docker PR Build\n\non:\n  pull_request:\n    branches: [development, main]\n\njobs:\n  build_docker_image:\n    name: Build Docker image\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Build Docker image\n        run: docker build -t eventyay-talk:${{ github.sha }} .\n", "state": "active", "repository": "fossasia/eventyay-talk"}
{"mined_at": "2024-07-15T18:54:39.912634", "created_at": "2024-02-11T07:55:01+01:00", "updated_at": "2024-02-11T07:55:01+01:00", "name": "Docker", "path": ".github/workflows/docker.yml", "contents": "name: Docker\n\non:\n  workflow_dispatch: # allows to be run manually\n  push:\n    branches:\n      - 'main'\n      - 'development'\njobs:\n  docker:\n    if: ${{ github.repository_owner == 'fossasia' }}\n    runs-on: ubuntu-latest\n    steps:\n      -\n        name: Checkout\n        uses: actions/checkout@v4\n      -\n        name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n      -\n        name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n      -\n        name: Docker meta\n        uses: docker/metadata-action@v4\n        id: meta\n        with:\n          images: |\n            eventyay/eventyay-talk\n          tags: |\n            type=ref,event=branch\n            type=ref,event=pr\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n      -\n        name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - \n        name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          platforms: linux/amd64\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "fossasia/eventyay-talk"}
{"mined_at": "2024-07-15T18:54:40.968678", "created_at": "2024-01-22T13:22:07+01:00", "updated_at": "2024-01-22T13:22:07+01:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non:\n  push:\n    branches: [ development ]\n    paths:\n      - 'doc/**'\n  pull_request:\n    branches: [ development ]\n    paths:\n      - 'doc/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  spelling:\n    name: Spellcheck\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install system packages\n        run: |\n          sudo apt update\n          sudo apt install enchant-2 hunspell aspell-en\n      - name: Install Dependencies\n        run: python -m pip install -Ur doc/requirements.txt\n      - name: Spellcheck docs\n        run: make spelling\n        working-directory: ./doc\n      - name:\n        run: '[ ! -s _build/spelling/output.txt ]'\n        working-directory: ./doc\n\n  linkcheck:\n    name: Linkcheck\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install Dependencies\n        run: pip3 install -Ur doc/requirements.txt\n      - name: Linkcheck docs\n        run: make linkcheck\n        working-directory: ./doc\n", "state": "active", "repository": "fossasia/eventyay-talk"}
{"mined_at": "2024-07-15T18:54:42.067402", "created_at": "2024-02-15T14:56:34+01:00", "updated_at": "2024-02-15T14:56:34+01:00", "name": "Strings", "path": ".github/workflows/strings.yml", "contents": "name: Strings\n\non:\n  push:\n    branches: [ development ]\n    paths:\n      - 'src/pretalx/locale/**'\n  pull_request:\n    branches: [ development ]\n    paths:\n      - 'src/pretalx/locale/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  compile:\n    runs-on: ubuntu-latest\n    name: Check that translation files compile\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install system dependencies\n        run: |\n          sudo apt update\n          sudo apt install gettext\n      - name: Install Python dependencies\n        run: python -m pip install -e \".[dev]\"\n      - name: Compile locales\n        run: python manage.py compilemessages\n        working-directory: ./src\n", "state": "active", "repository": "fossasia/eventyay-talk"}
{"mined_at": "2024-07-15T18:54:43.301917", "created_at": "2024-01-22T13:22:07+01:00", "updated_at": "2024-01-22T13:22:07+01:00", "name": "Code Style", "path": ".github/workflows/style.yml", "contents": "name: Code Style\n\non:\n  push:\n    branches: [ development ]\n    paths-ignore:\n      - 'src/pretalx/locale/**'\n      - 'src/pretalx/static/**'\n      - 'doc/**'\n  pull_request:\n    branches: [ development ]\n    paths-ignore:\n      - 'src/pretalx/locale/**'\n      - 'src/pretalx/static/**'\n      - 'doc/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  isort:\n    name: isort\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install Dependencies\n        run: python -m pip install -Ue \".[dev]\"\n      - name: Run isort\n        run: isort -c .\n        working-directory: ./src\n  flake:\n    name: flake8\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install Dependencies\n        run: python -m pip install -Ue \".[dev]\"\n      - name: Run flake8\n        run: flake8 .\n        working-directory: ./src\n  black:\n    name: black\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install Dependencies\n        run: python -m pip install -Ue \".[dev]\"\n      - name: Run black\n        run: black --check .\n        working-directory: ./src\n  html:\n    name: HTML checks\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version-file: \".github/workflows/python-version.txt\"\n          cache: \"pip\"\n      - name: Install Dependencies\n        run: python -m pip install -Ue \".[dev]\"\n      - name: Run djhtml\n        run: 'djhtml pretalx/'\n        working-directory: ./src\n      - name: Make sure we always use trimmed translation strings\n        run: \"! git grep ' blocktranslate ' | grep -v trimmed\"\n", "state": "active", "repository": "fossasia/eventyay-talk"}
{"mined_at": "2024-07-15T18:54:44.529933", "created_at": "2024-01-22T13:22:07+01:00", "updated_at": "2024-01-22T13:22:07+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ development ]\n    paths-ignore:\n      - 'doc/**'\n      - 'src/pretalx/locale/**'\n  pull_request:\n    branches: [ development ]\n    paths-ignore:\n      - 'doc/**'\n      - 'src/pretalx/locale/**'\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\nenv:\n  FORCE_COLOR: 1\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: Tests\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [3.9, '3.10', 3.11]\n        database: [sqlite, postgres, mysql]\n        exclude:\n          - database: mysql\n            python-version: 3.9\n          - database: mysql\n            python-version: 3.11\n          - database: sqlite\n            python-version: 3.9\n          - database: sqlite\n            python-version: 3.11\n    steps:\n      - uses: actions/checkout@v4\n      - uses: getong/mariadb-action@v1.1\n        with:\n          mariadb version: '10.7'\n          mysql database: 'pretalx'\n          mysql root password: ''\n        if: matrix.database == 'mysql'\n      - uses: harmon758/postgresql-action@v1\n        with:\n          postgresql version: '14'\n          postgresql db: 'pretalx'\n          postgresql user: 'postgres'\n          postgresql password: 'postgres'\n        if: matrix.database == 'postgres'\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"pip\"\n      - name: Set up node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 'latest'\n      - name: Install system dependencies\n        run: |\n          sudo apt update\n          sudo apt install gettext\n      - name: Install system dependencies for mysql\n        run: sudo apt update && sudo apt install mariadb-client-10.6\n        if: matrix.database == 'mysql'\n      - name: Install Python dependencies\n        run: python -m pip install -Ue \".[dev]\"\n      - name: Install MySQL dependencies\n        run: python -m pip install -Ue \".[mysql]\"\n        if: matrix.database == 'mysql'\n      - name: Install Postgres dependencies\n        run: python -m pip install -Ue \".[postgres]\"\n        if: matrix.database == 'postgres'\n      - name: Install frontend dependencies\n        run: npm ci\n        working-directory: ./src/pretalx/frontend/schedule-editor\n      - name: Run checks\n        run: python manage.py check --deploy\n        working-directory: ./src\n      - name: Run checks\n        run: python manage.py compilemessages\n        working-directory: ./src\n      - name: Run tests\n        working-directory: ./src\n        run: python -m pytest -nauto -p no:sugar --reruns 3 --cov-report=term-missing:skip-covered tests\n        env:\n          PRETALX_CONFIG_FILE: 'tests/ci_${{ matrix.database }}.cfg'\n      - name: Show coverage as build info\n        working-directory: ./src\n        run: |\n          python -m coverage json\n\n          export TOTAL_COV=$(python -c \"import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])\")\n          echo \"TOTAL_COV=$TOTAL_COV\" >> $GITHUB_ENV\n          echo \"## Test coverage: $TOTAL_COV%\" >> $GITHUB_STEP_SUMMARY\n          python -m coverage report --skip-covered --skip-empty --show-missing --format=markdown >> $GITHUB_STEP_SUMMARY\n\n          python -m coverage report\n        if: matrix.database == 'postgres' && matrix.python-version == '3.10'\n\n      - name: \"Make badge\"\n        uses: schneegans/dynamic-badges-action@v1.7.0\n        with:\n          # GIST_TOKEN is a GitHub personal access token with scope \"gist\".\n          auth: ${{ secrets.GIST_TOKEN }}\n          gistID: 0ac3e4314d780e809c0164c8c329f36f\n          filename: covbadge.json\n          label: coverage\n          message: ${{ env.TOTAL_COV }}%\n          color: \"#3aa57c\"\n        if: env.TOTAL_COV && github.ref == 'refs/heads/development'\n", "state": "active", "repository": "fossasia/eventyay-talk"}
{"mined_at": "2024-07-15T18:54:45.635417", "created_at": "2024-01-22T13:17:52+01:00", "updated_at": "2024-01-22T13:17:52+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "fossasia/eventyay-talk"}
{"mined_at": "2024-07-15T18:54:47.909619", "created_at": "2021-01-11T21:35:22+01:00", "updated_at": "2021-09-15T13:43:23+02:00", "name": "Issue and PR stale management", "path": ".github/workflows/stale.yml", "contents": "name: \"Issue and PR stale management\"\non:\n  schedule:\n  - cron: \"0 0 * * *\"\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    if: github.repository == 'aristanetworks/avd'\n    steps:\n      # Issue stale management\n    - uses: actions/stale@v9\n      with:\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        days-before-stale: 90\n        days-before-close: -1\n        stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. The issue will be reviewed by a maintainer and may be closed'\n        stale-issue-label: 'state: stale'\n        exempt-issue-labels: 'state: accepted, state: in-progress'\n        stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. The PR will be reviewed by a maintainer and may be closed'\n        stale-pr-label: 'state: stale'\n        exempt-pr-labels: 'state: accepted, state: in-progress'\n", "state": "active", "repository": "aristanetworks/avd"}
{"mined_at": "2024-07-15T18:54:49.040314", "created_at": "2021-09-24T23:20:48+02:00", "updated_at": "2023-03-10T17:03:03+01:00", "name": "Collection code testing", "path": ".github/workflows/pull-request-management.yml", "contents": "---\nname: \"Collection code testing\"\n\non: pull_request\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref }}\n  cancel-in-progress: true\n\nenv:\n  # Set -vvv is ACTIONS_STEP_DEBUG is set\n  # Apparently it is set in secrets when running with debug\n  ANSIBLE_VERBOSITY: ${{ secrets.ACTIONS_STEP_DEBUG && 3 || 0 }}\n\njobs:\n  file-changes:\n    runs-on: ubuntu-latest\n    outputs:\n      eos_design: ${{ steps.filter.outputs.eos_design }}\n      config_gen: ${{ steps.filter.outputs.config_gen }}\n      cloudvision: ${{ steps.filter.outputs.cloudvision }}\n      dhcp: ${{ steps.filter.outputs.dhcp }}\n      plugins: ${{ steps.filter.outputs.plugins }}\n      requirements: ${{ steps.filter.outputs.requirements }}\n      docs: ${{ steps.filter.outputs.docs }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: dorny/paths-filter@v3\n        id: filter\n        with:\n          filters: |\n            eos_design:\n              - 'ansible_collections/arista/avd/roles/eos_designs/*'\n              - 'ansible_collections/arista/avd/roles/eos_designs/**/*'\n              - '.github/workflows/pull-request-management.yml'\n              - 'ansible_collections/arista/avd/molecule/*'\n              - 'ansible_collections/arista/avd/molecule/**/*'\n              - '!ansible_collections/arista/avd/roles/eos_config_deploy_cvp/*'\n              - '!ansible_collections/arista/avd/roles/eos_config_deploy_cvp/**/*'\n              - '!ansible_collections/arista/avd/molecule/cvp_configlet_upload/*'\n              - '!ansible_collections/arista/avd/molecule/cvp_configlet_upload/**/*'\n            config_gen:\n              - 'ansible_collections/arista/avd/roles/eos_cli_config_gen/*'\n              - 'ansible_collections/arista/avd/roles/eos_cli_config_gen/**/*'\n              - '.github/workflows/pull-request-management.yml'\n              - 'ansible_collections/arista/avd/molecule/eos_cli_config_gen*/*'\n              - 'ansible_collections/arista/avd/molecule/eos_cli_config_gen*/**/*'\n            validate_state:\n              - 'ansible_collections/arista/avd/roles/eos_validate_state/*'\n              - 'ansible_collections/arista/avd/roles/eos_validate_state/**/*'\n            cloudvision:\n              - 'ansible_collections/arista/avd/roles/eos_config_deploy_cvp/*'\n              - 'ansible_collections/arista/avd/roles/eos_config_deploy_cvp/**/*'\n              - 'ansible_collections/arista/avd/molecule/cvp_configlet_upload/*'\n              - 'ansible_collections/arista/avd/molecule/cvp_configlet_upload/**/*'\n              - '.github/workflows/pull-request-management.yml'\n            dhcp:\n              - 'ansible_collections/arista/avd/roles/dhcp_provisioner/*'\n              - 'ansible_collections/arista/avd/roles/dhcp_provisioner/**/*'\n              - '.github/workflows/pull-request-management.yml'\n            plugins:\n              - 'ansible_collections/arista/avd/plugins/filter/**'\n              - 'ansible_collections/arista/avd/plugins/test/**'\n            requirements:\n              - 'ansible_collections/arista/avd/requirements.txt'\n              - 'ansible_collections/arista/avd/requirements-dev.txt'\n              - 'ansible_collections/arista/avd/meta/runtime.yml'\n              - '.github/requirements-ci.txt'\n              - '.github/workflows/pull-request-management.yml'\n            docs:\n              - '.github/workflows/pull-request-management.yml'\n              - 'mkdocs.yml'\n              - 'ansible_collections/arista/avd/docs/**'\n              - 'ansible_collections/arista/avd/roles/**/*.md'\n              - 'ansible_collections/arista/avd/**/*.md'\n              - 'ansible_collections/arista/avd/README.md'\n              - 'ansible_collections/arista/avd/**/*.schema.yml'\n            pyavd:\n              - 'python_avd/*'\n              - 'python_avd/**/*'\n\n  # ----------------------------------- #\n  # Test Requirements\n  # ----------------------------------- #\n  python_requirements:\n    name: Test Python requirements installation\n    runs-on: ubuntu-latest\n    needs: [ file-changes ]\n    if: needs.file-changes.outputs.requirements == 'true'\n    strategy:\n      fail-fast: true\n      matrix:\n        python_version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Set up Python 3\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: 'Install Python requirements'\n        run: |\n          pip install -r ansible_collections/arista/avd/requirements-dev.txt  -r ansible_collections/arista/avd/requirements.txt --upgrade\n\n  # ----------------------------------- #\n  # EOS CLI CONFIG GEN MOLECULE\n  # ----------------------------------- #\n  molecule_eos_cli_config_gen:\n    name: Validate eos_cli_config_gen\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        avd_scenario:\n          - 'eos_cli_config_gen'\n          - 'eos_cli_config_gen_deprecated_vars'\n          - 'eos_cli_config_gen_negative_unit_tests'\n        ansible_version:\n          - 'ansible-core<2.18.0 --upgrade'\n        # Also test minimum ansible version for one scenario.\n        include:\n          - avd_scenario: 'eos_cli_config_gen'\n            ansible_version: 'ansible-core==2.15.0'\n    needs: [ file-changes ]\n    if: needs.file-changes.outputs.config_gen == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Run molecule action\n        uses: arista-netdevops-community/action-molecule-avd@v1.7\n        with:\n          molecule_parentdir: 'ansible_collections/arista/avd'\n          molecule_command: 'test'\n          molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'\n          pip_file: .github/requirements-ci.txt\n          galaxy_file: \"ansible_collections/arista/avd/collections.yml\"\n          ansible: ${{ matrix.ansible_version }}\n          check_git: true\n          check_git_enforced: true\n      # - uses: actions/upload-artifact@v4\n      #   with:\n      #     name: molecule-${{ matrix.avd_scenario }}-artifacts\n      #     path: ${PWD}/ansible_collections/arista/avd/molecule/${{ matrix.avd_scenario }}\n\n  # ----------------------------------- #\n  # DHCP PROVISIONNER MOLECULE\n  # ----------------------------------- #\n  molecule_dhcp_provisionner:\n    name: Validate DHCP configuration\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        avd_scenario: ['dhcp_configuration', 'dhcp_provisioning']\n        ansible_version: ['ansible-core<2.18.0 --upgrade']\n    needs: [ file-changes ]\n    if: needs.file-changes.outputs.dhcp == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Run molecule action\n        uses: arista-netdevops-community/action-molecule-avd@v1.7\n        with:\n          molecule_parentdir: 'ansible_collections/arista/avd'\n          molecule_command: 'test'\n          molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'\n          pip_file: .github/requirements-ci.txt\n          galaxy_file: \"ansible_collections/arista/avd/collections.yml\"\n          ansible: ${{ matrix.ansible_version }}\n          check_git: true\n          check_git_enforced: true\n      # - uses: actions/upload-artifact@v4\n      #   with:\n      #     name: molecule-${{ matrix.avd_scenario }}-artifacts\n      #     path: ${PWD}/ansible_collections/arista/avd/molecule/${{ matrix.avd_scenario }}\n\n  # ----------------------------------- #\n  # EOS Design MOLECULE\n  # ----------------------------------- #\n  molecule_eos_designs:\n    name: Validate eos_designs\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        avd_scenario:\n          - 'eos_designs_deprecated_vars'\n          - 'eos_designs-l2ls'\n          - 'eos_designs-mpls-isis-sr-ldp'\n          - 'eos_designs_negative_unit_tests'\n          - 'eos_designs-twodc-5stage-clos'\n          - 'eos_designs_unit_tests'\n          - 'evpn_underlay_ebgp_overlay_ebgp'\n          - 'evpn_underlay_isis_overlay_ibgp'\n          - 'evpn_underlay_ospf_overlay_ebgp'\n          - 'evpn_underlay_rfc5549_overlay_ebgp'\n          - 'example-campus-fabric'\n          - 'example-dual-dc-l3ls'\n          - 'example-isis-ldp-ipvpn'\n          - 'example-l2ls-fabric'\n          - 'example-single-dc-l3ls'\n        ansible_version:\n          # Testing all scenario with 2.16.x, due to bug with in 2.17.0 with and the way we test eos_designs_negative_unit_tests https://github.com/ansible/ansible/issues/83292\n          - 'ansible-core>=2.16.0,<2.17.0 --upgrade'\n        pip_requirements:\n          - '.github/requirements-ci.txt'\n        # Also test minimum ansible version for one scenario.\n        include:\n          - avd_scenario: 'eos_designs_unit_tests'\n            ansible_version: 'ansible-core==2.15.0'\n            pip_requirements: 'tmp-requirements-minimum.txt'\n          - avd_scenario: 'eos_designs_unit_tests'\n            ansible_version: 'ansible-core>=2.15.0,<2.16.0 --upgrade'\n            pip_requirements: '.github/requirements-ci.txt'\n          - avd_scenario: 'eos_designs_unit_tests'\n            ansible_version: 'ansible-core<2.18.0 --upgrade'\n            pip_requirements: '.github/requirements-ci.txt'\n    needs: [ file-changes ]\n    if: needs.file-changes.outputs.eos_design == 'true' || needs.file-changes.outputs.config_gen == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Build minimum requirements\n        run: |\n          pip install uv\n          uv pip compile .github/requirements-ci.txt --resolution=lowest-direct > ${{ matrix.pip_requirements }}\n          cat ${{ matrix.pip_requirements }}\n        if: matrix.pip_requirements == 'tmp-requirements-minimum.txt'\n      - name: Run molecule action\n        uses: arista-netdevops-community/action-molecule-avd@v1.7\n        with:\n          molecule_parentdir: 'ansible_collections/arista/avd'\n          molecule_command: 'test'\n          molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'\n          pip_file: ${{ matrix.pip_requirements }}\n          galaxy_file: \"ansible_collections/arista/avd/collections.yml\"\n          ansible: ${{ matrix.ansible_version }}\n          check_git: true\n          check_git_enforced: true\n      # - uses: actions/upload-artifact@v4\n      #   with:\n      #     name: molecule-${{ matrix.avd_scenario }}-artifacts\n      #     path: ${PWD}/ansible_collections/arista/avd/molecule/${{ matrix.avd_scenario }}\n  # ----------------------------------- #\n  # Cloudvision MOLECULE\n  # ----------------------------------- #\n  molecule_cloudvision:\n    name: Validate cvp_collection\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        avd_scenario:\n          - 'eos_config_deploy_cvp'\n        ansible_version:\n          - 'ansible-core<2.18.0 --upgrade'\n        include:\n          - avd_scenario: 'eos_config_deploy_cvp'\n            ansible_version: 'ansible-core==2.15.0'\n    needs: [ file-changes ]\n    if: needs.file-changes.outputs.cloudvision == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Run molecule action\n        uses: arista-netdevops-community/action-molecule-avd@v1.7\n        with:\n          molecule_parentdir: 'ansible_collections/arista/avd'\n          molecule_command: 'test'\n          molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'\n          pip_file: .github/requirements-ci.txt\n          galaxy_file: \"ansible_collections/arista/avd/collections.yml\"\n          ansible: ${{ matrix.ansible_version }}\n          check_git: true\n          check_git_enforced: true\n      # - uses: actions/upload-artifact@v4\n      #   with:\n      #     name: molecule-${{ matrix.avd_scenario }}-artifacts\n      #     path: ${PWD}/ansible_collections/arista/avd/molecule/${{ matrix.avd_scenario }}\n      #\n  # ----------------------------------- #\n  # EOS Validate State MOLECULE\n  # ----------------------------------- #\n  molecule_eos_validate_state:\n    name: Validate eos_validate_state\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        avd_scenario:\n          - 'eos_validate_state'\n        ansible_version:\n          - 'ansible-core<2.18.0 --upgrade'\n        include:\n          - avd_scenario: 'eos_validate_state'\n            ansible_version: 'ansible-core==2.15.0'\n    needs: [ file-changes ]\n    if: needs.file-changes.outputs.eos_design == 'true' || needs.file-changes.outputs.validate_state == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Run molecule action\n        uses: arista-netdevops-community/action-molecule-avd@v1.7\n        with:\n          molecule_parentdir: 'ansible_collections/arista/avd'\n          molecule_command: 'test'\n          molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'\n          pip_file: .github/requirements-ci.txt\n          galaxy_file: \"ansible_collections/arista/avd/collections.yml\"\n          ansible: ${{ matrix.ansible_version }}\n          check_git: true\n          check_git_enforced: true\n\n  # ----------------------------------- #\n  # Ansible tests\n  # ----------------------------------- #\n  ansible_test_sanity:\n    name: Run ansible-test sanity validation\n    runs-on: ubuntu-latest\n    needs: [ file-changes ]\n    #needs: [ molecule_eos_designs, molecule_cloudvision ]\n    #if: needs.cloudvision.status != 'failed' && needs.molecule_eos_designs.status != 'failed' && needs.file-changes.outputs.plugins == 'true'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Set up Python 3\n        uses: actions/setup-python@v5\n        with:\n          python-version: |\n            3.10\n            3.11\n            3.12\n      - name: 'Install Python requirements'\n        run: |\n          pip install \"ansible-core<2.18.0\" -r .github/requirements-ci.txt --upgrade\n      - name: 'Run ansible-test sanity'\n        run: |\n          cd ansible_collections/arista/avd/\n          ansible-test sanity --color yes -v\n\n  ansible_test_units:\n    name: Run ansible-test units test cases\n    runs-on: ubuntu-latest\n    needs: [ file-changes ]\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Set up Python 3\n        uses: actions/setup-python@v5\n        with:\n          python-version: |\n            3.10\n      - name: 'Install Python requirements'\n        run: |\n          pip install mock pytest pytest-mock pytest-xdist pyyaml \"ansible-core<2.18.0\" -r .github/requirements-ci.txt --upgrade\n      - name: 'Run ansible-test units test cases'\n        run: |\n          cd ansible_collections/arista/avd/\n          ansible-test units -vv\n\n  ansible_test_integration:\n    name: Run ansible-test integration test cases\n    runs-on: ubuntu-latest\n    needs: [ file-changes ]\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Set up Python 3\n        uses: actions/setup-python@v5\n        with:\n          python-version: |\n            3.12\n      - name: 'Install Python requirements'\n        run: |\n          pip install \"ansible-core<2.18.0\" -r .github/requirements-ci.txt --upgrade\n      - name: 'Run ansible-test integration test cases'\n        run: |\n          cd ansible_collections/arista/avd/\n          ansible-test integration -vv\n\n  ansible_lint:\n    name: Run ansible-lint test case\n    runs-on: ubuntu-latest\n    needs: [ file-changes ]\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Set up Python 3\n        uses: actions/setup-python@v5\n        with:\n          python-version: |\n            3.10\n            3.11\n            3.12\n      - name: 'Install Python & Ansible requirements'\n        run: |\n          pip install -r ansible_collections/arista/avd/requirements-dev.txt -r ansible_collections/arista/avd/requirements.txt --upgrade\n          ansible-galaxy collection install -r ansible_collections/arista/avd/collections.yml\n      - name: 'Run ansible-test integration test cases'\n        run: |\n          cd ansible_collections/arista/avd/\n          ansible-lint --force-color --strict -v\n  # ----------------------------------- #\n  # Galaxy Importer\n  # ----------------------------------- #\n  galaxy_importer:\n    name: Test galaxy-importer\n    runs-on: ubuntu-20.04 # Older version to be compatible with old python\n    env:\n      PY_COLORS: 1 # allows molecule colors to be passed to GitHub Actions\n      ANSIBLE_FORCE_COLOR: 1 # allows ansible colors to be passed to GitHub Actions\n      GALAXY_IMPORTER_CONFIG: galaxy-importer/galaxy-importer.cfg\n    steps:\n      - uses: actions/setup-python@v5\n        with:\n          python-version: |\n            3.10\n      - uses: actions/checkout@v4\n      - name: 'Install Python & Ansible requirements'\n        run: |\n          pip install pydantic>=2.3.0 \"ansible-core<2.18.0\" -r .github/requirements-ci.txt --upgrade\n          ansible-galaxy collection install -r ansible_collections/arista/avd/collections.yml\n      - name: Install galaxy-importer\n        # Install the specific version of galaxy-importer used on galaxy.ansible.com\n        # The version conflicts with our requirements,\n        # so we let the galaxy-importer version resolve remaining requirements.\n        run: |\n          pip install \"galaxy-importer==0.4.20\"\n      - name: 'Build ansible package'\n        run: make collection-build\n      - name: 'Run galaxy-importer checks'\n        run: python -m galaxy_importer.main *.tar.gz\n      - uses: actions/upload-artifact@v4\n        with:\n          name: importer-logs\n          path: ./importer_result.json\n\n  # ----------------------------------- #\n  # Test of pyavd\n  # ----------------------------------- #\n  pyavd:\n    name: Test pyavd\n    runs-on: ubuntu-latest\n    needs: [file-changes]\n    if: |\n      needs.file-changes.outputs.eos_design == 'true' ||\n      needs.file-changes.outputs.config_gen == 'true' ||\n      needs.file-changes.outputs.pyavd == 'true'\n    strategy:\n      matrix:\n        python: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Set up Python 3\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python }}\n      - name: 'Install tox'\n        run: |\n          pip install tox tox-gh-actions --upgrade\n      - name: \"Run pytest via tox for ${{ matrix.python }}\"\n        working-directory: python-avd\n        run: |\n          tox\n", "state": "active", "repository": "aristanetworks/avd"}
{"mined_at": "2024-07-15T18:54:50.217976", "created_at": "2021-09-27T08:18:44+02:00", "updated_at": "2021-09-27T08:18:44+02:00", "name": "PR Conflicts checker", "path": ".github/workflows/pull-request-conflict.yml", "contents": "name: \"PR Conflicts checker\"\non:\n  pull_request_target:\n    types: [synchronize]\n\njobs:\n  Conflict_Check:\n    name: 'Check PR status: conflicts and resolution'\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Check if PRs are dirty\n        uses: eps1lon/actions-label-merge-conflict@releases/2.x\n        with:\n          dirtyLabel: \"state: conflict\"\n          removeOnDirtyLabel: \"state: conflict resolved\"\n          repoToken: \"${{ secrets.GITHUB_TOKEN }}\"\n          commentOnDirty: \"This pull request has conflicts, please resolve those before we can evaluate the pull request.\"\n          commentOnClean: \"Conflicts have been resolved. A maintainer will review the pull request shortly.\"\n", "state": "active", "repository": "aristanetworks/avd"}
{"mined_at": "2024-07-15T18:54:51.391689", "created_at": "2021-09-27T08:18:44+02:00", "updated_at": "2021-09-27T08:18:44+02:00", "name": "Pull Request Triage", "path": ".github/workflows/pull-request-triage.yml", "contents": "name: \"Pull Request Triage\"\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n      - ready_for_review\n\njobs:\n  ###################################################\n  # Basic Triage\n  ###################################################\n  pr_triage:\n    name: \"PR Labeller\"\n    # https://github.com/actions/labeler\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write\n    steps:\n      - uses: actions/labeler@v5\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n          configuration-path: '.github/labeler.yml'\n          sync-labels: true\n  assign_author:\n    name: \"Assign Author to PR\"\n    # https://github.com/marketplace/actions/auto-author-assign\n    runs-on: ubuntu-latest\n    steps:\n      - uses: toshimaru/auto-author-assign@v2.1.0\n        with:\n          repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n\n  ###################################################\n  # Check Conventional Commit Syntax\n  ###################################################\n  Check_PR_semantic:\n    runs-on: ubuntu-latest\n    steps:\n      # Please look up the latest version from\n      # https://github.com/amannn/action-semantic-pull-request/releases\n      - uses: amannn/action-semantic-pull-request@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          # Configure which types are allowed.\n          # Default: https://github.com/commitizen/conventional-commit-types\n          # Updated as part of PR 1930\n          types: |\n            Feat\n            Fix\n            Cut\n            Doc\n            CI\n            Bump\n            Test\n            Refactor\n            Revert\n          # Configure which scopes are allowed.\n          scopes: |\n            build_output_folders\n            cvp_configlet_upload\n            dhcp_provisioner\n            cv_deploy\n            eos_cli_config_gen\n            eos_config_deploy_cvp\n            eos_config_deploy_eapi\n            eos_designs\n            eos_snapshot\n            eos_validate_state\n            plugins\n            requirements\n            pyavd\n            containers\n          # Configure that a scope must always be provided.\n          requireScope: false\n          # Configure additional validation for the subject based on a regex.\n          # This example ensures the subject doesn't start with an uppercase character.\n          # subjectPattern: ^(?![A-Z]).+$\n          # If `subjectPattern` is configured, you can use this property to override\n          # the default error message that is shown when the pattern doesn't match.\n          # The variables `subject` and `title` can be used within the message.\n          subjectPatternError: |\n            The subject \"{subject}\" found in the pull request title \"{title}\"\n            didn't match the configured pattern. Please ensure that the subject\n            doesn't start with an uppercase character.\n          # When using \"Squash and merge\" on a PR with only one commit, GitHub\n          # will suggest using that commit message instead of the PR title for the\n          # merge commit, and it's easy to commit this by mistake. Enable this option\n          # to also validate the commit message for one commit PRs.\n          # Update 13-Jul-2022 CH: GitHub now offers a toggle for this behavior.\n          # We have set that to always use the PR title, so this check is no longer needed.\n          validateSingleCommit: false\n", "state": "active", "repository": "aristanetworks/avd"}
{"mined_at": "2024-07-15T18:54:52.549150", "created_at": "2022-09-12T10:52:49+02:00", "updated_at": "2022-09-12T10:52:49+02:00", "name": "Label for Release Notes", "path": ".github/workflows/pull-request-rn-labeler.yml", "contents": "# This workflow is triggered after a PR is merged or when the title of a PR is\n# changed post merge\nname: \"Label for Release Notes\"\n\n\non:\n  pull_request_target:\n    types:\n      - closed\n      - edited # interested in post merge title changes\n\njobs:\n  ###################################################\n  # Assign labels on merge to generate Release Notes\n  # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-your-workflow-when-a-pull-request-merges\n  ###################################################\n  if_merged:\n    name: \"PR was merged\"\n    if: (github.event.pull_request.merged == true) && ( github.event.action == 'closed' || (github.event.action == 'edited' && github.event.changes.title != null) )\n    runs-on: ubuntu-latest\n    env:\n      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ./.github/actions/rn-pr-labeler-action\n        with:\n          auto_create_label: true\n", "state": "active", "repository": "aristanetworks/avd"}
{"mined_at": "2024-07-15T18:54:53.579096", "created_at": "2023-11-09T14:41:05+01:00", "updated_at": "2023-11-09T14:41:05+01:00", "name": "Build base container", "path": ".github/workflows/container_build_base.yml", "contents": "---\nname: Build base container\n\non:\n  push:\n    branches:\n      - devel\n    paths:\n      - containers/base/**\n      - .github/workflows/container_build_template.yml\n      - .github/workflows/container_build_base.yml\n  workflow_dispatch:\n    branches:\n      - devel\n\njobs:\n  build_base:\n    if: github.repository == 'aristanetworks/avd'\n    uses: ./.github/workflows/container_build_template.yml\n    strategy:\n      matrix:\n        container_name: [base]\n        python_version: [\"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - python_version: \"3.11\"\n            container_tags: latest\n    with:\n      container_name: ${{ matrix.container_name }}\n      python_version: ${{ matrix.python_version }}\n      container_tags: ${{ matrix.container_tags }}\n", "state": "active", "repository": "aristanetworks/avd"}
{"mined_at": "2024-07-15T18:54:54.600685", "created_at": "2023-11-09T14:41:05+01:00", "updated_at": "2023-11-09T14:41:05+01:00", "name": "Build dev container", "path": ".github/workflows/container_build_dev.yml", "contents": "---\nname: Build dev container\n\non:\n  push:\n    branches:\n      - devel\n    paths:\n      - containers/dev/**\n      - .github/workflows/container_build_template.yml\n      - .github/workflows/container_build_dev.yml\n  workflow_dispatch:\n    branches:\n      - devel\n\njobs:\n  build_dev_container:\n    if: github.repository == 'aristanetworks/avd'\n    uses: ./.github/workflows/container_build_template.yml\n    strategy:\n      matrix:\n        container_name: [dev]\n        python_version: [\"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - python_version: \"3.11\"\n            container_tags: latest\n    with:\n      container_name: ${{ matrix.container_name }}\n      python_version: ${{ matrix.python_version }}\n      container_tags: ${{ matrix.container_tags }}\n", "state": "active", "repository": "aristanetworks/avd"}
{"mined_at": "2024-07-15T18:54:55.819024", "created_at": "2023-11-09T14:41:05+01:00", "updated_at": "2023-11-09T14:41:05+01:00", "name": "Reusable build container workflow", "path": ".github/workflows/container_build_template.yml", "contents": "---\n# This workflow file is the template\n# that will be triggered by specific container build workflows.\n\nname: Reusable build container workflow\n\nenv:\n  # BUILDX_NO_DEFAULT_ATTESTATIONS must be set to build only arm64 and amd64 images.\n  # The devcontainers/ci@v0.3 build will fail if this env variable is not set.\n  BUILDX_NO_DEFAULT_ATTESTATIONS: 1\n\non:\n  workflow_call:\n    inputs:\n      # Container name, e.g. \"base\", \"dev\", etc.\n      container_name:\n        required: true\n        type: string\n      # Container tags, e.g. \"latest,python3.11\" or \"latest,python3.11-avd4.1.0\".\n      # Container tags are optional as they are auto-generated if not provided.\n      container_tags:\n        required: false\n        type: string\n      # Platform, e.g. \"linux/amd64\", \"linux/arm64/v8\".\n      # \"default\" is just fine if there is no intention to release a special build.\n      platform:\n        required: false\n        type: string\n        default: linux/arm64/v8,linux/amd64\n      # From image, e.g. \"python\", \"alpine\", etc.\n      # Currently we only support python-slim, so this is a future knob.\n      from_image:\n        required: false\n        type: string\n        default: python\n      # From variant, e.g. \"3.11-slim-bullseye\".\n      # This is auto-generated for python-slim based builds.\n      # Only specify for special builds.\n      from_variant:\n        required: false\n        type: string\n      username:\n        required: false\n        type: string\n        default: avd\n      user_id:\n        required: false\n        type: string\n        default: 1000\n      group_id:\n        required: false\n        type: string\n        default: 1000\n      python_version:\n        required: true\n        type: string\n\njobs:\n  build_image:\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Starting container build\n        run: echo \"Starting container build. Be patient. 🐢\"\n      - name: Checkout code ✅\n        uses: actions/checkout@v4\n      # Build image tags based on Python version and AVD version (if defined).\n      # If container_tags is not defined, then image_tags will be auto-generated.\n      # If container_tags is latest, it will be added to auto-generated image_tags.\n      # If container_tags is defined and not latest, it will be used as-is.\n      - name: Build image tags 🏷️\n        id: build-tags\n        run: |\n          if [ -z \"${{ inputs.container_tags }}\" ]; then\n            case ${{ inputs.container_name }} in\n              base)\n                echo \"image_tags=python${{ inputs.python_version }}\" >> $GITHUB_OUTPUT\n                ;;\n              dev)\n                echo \"image_tags=python${{ inputs.python_version }}\" >> $GITHUB_OUTPUT\n                ;;\n              *)\n                echo \"image_tags=python${{ inputs.python_version }}-avd-${{ github.ref_name }}\" >> $GITHUB_OUTPUT\n                ;;\n            esac\n          else\n            if [ \"${{ inputs.container_tags }}\" == \"latest\" ]; then\n              case ${{ inputs.container_name }} in\n                base)\n                  echo \"image_tags=latest,python${{ inputs.python_version }}\" >> $GITHUB_OUTPUT\n                  ;;\n                dev)\n                  echo \"image_tags=latest,python${{ inputs.python_version }}\" >> $GITHUB_OUTPUT\n                  ;;\n                *)\n                  echo \"image_tags=latest,python${{ inputs.python_version }}-avd-${{ github.ref_name }}\" >> $GITHUB_OUTPUT\n                  ;;\n              esac\n            else\n              echo \"image_tags=${{ inputs.container_tags }}\" >> $GITHUB_OUTPUT\n            fi\n          fi\n\n      - name: Generate from_image and from_variant parameters 🐍\n        id: generate-from-parameters\n        # Logic:\n        # 1) Only python-slim images are supported at the moment.\n        # 2) Base image must be built first from official python image.\n        # 3) All other images will be built from the base image.\n        # 4) \"from_image\" and \"from_variant\" can be passed transparently to the build step,\n        #    but that is not implemented currently.\n        run: |\n          if [ \"${{ inputs.from_image }}\" == \"python\" ]; then\n            if [ \"${{ inputs.container_name }}\" == \"base\" ]; then\n              echo \"from_image=${{ inputs.from_image }}\" >> $GITHUB_OUTPUT\n              echo \"from_variant=${{ inputs.python_version }}-slim-bullseye\" >> $GITHUB_OUTPUT\n            else\n              echo \"from_image=ghcr.io/${{ github.repository }}/base\" >> $GITHUB_OUTPUT\n              echo \"from_variant=python${{ inputs.python_version }}\" >> $GITHUB_OUTPUT\n            fi\n          else\n            echo \"Only python-slim images are supported at the moment. Exiting.\"\n            exit 1\n          fi\n\n      - name: Find ansible and pyavd install location\n        id: find-install-locations\n        run: |\n          PYAVD_INSTALL_LOCATION=\"git+https://github.com/${{ github.repository }}.git@${{ github.ref_name }}#subdirectory=python-avd\"\n          ANSIBLE_INSTALL_LOCATION=\"git+https://github.com/${{ github.repository }}.git#/ansible_collections/arista/avd/,${{ github.ref_name }}\"\n          echo \"ansible_install_location=$ANSIBLE_INSTALL_LOCATION\" >> $GITHUB_OUTPUT\n          echo \"pyavd_install_location=$PYAVD_INSTALL_LOCATION\" >> $GITHUB_OUTPUT\n\n      # This check is temporarily deactivated, will be rewised in later PRs\n      #\n      # - name: Check if image is already present\n      #   # this step will check if image was already pushed before to avoid re-writing\n      #   # also if it's not a base image, this step will verify presence of the corresponding base image\n      #   id: check-image-presence\n      #   run: |\n      #     echo \"not_present=0\" >> $GITHUB_OUTPUT\n      #     for tag in $(echo ${{ steps.build-tags.outputs.image_tags }} | sed \"s/,/ /g\")\n      #     do\n      #       ( docker manifest inspect ghcr.io/${{ github.repository }}/${{ inputs.container_name }}:${tag} &>/dev/null ) || echo \"not_present=1\" >> $GITHUB_OUTPUT\n      #     done\n      #     # check if base image is present\n      #     if [ \"${{ inputs.container_name }}\" != \"base\" ]; then\n      #       echo \"Verifying if base image is present...\"\n      #       docker manifest inspect ghcr.io/${{ github.repository }}/base:python${{ inputs.python_version }} >/dev/null\n      #     fi\n\n      - name: Setup QEMU for multi-arch builds 🏗️\n        # if: ${{ steps.check-image-presence.outputs.not_present == '1' }}\n        uses: docker/setup-qemu-action@v3\n        with:\n          platforms: ${{ inputs.platform }}\n\n      - name: Setup Docker buildX for multi-arch builds 🏗️\n        # if: ${{ steps.check-image-presence.outputs.not_present == '1' }}\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to Docker Hub 🗝️\n        # if: ${{ steps.check-image-presence.outputs.not_present == '1' }}\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Pre-build dev container image 🔨\n        # if: ${{ steps.check-image-presence.outputs.not_present == '1' }}\n        uses: devcontainers/ci@v0.3\n        env:\n          FROM_IMAGE: ${{ steps.generate-from-parameters.outputs.from_image }}\n          FROM_VARIANT: ${{ steps.generate-from-parameters.outputs.from_variant }}\n          ANSIBLE_INSTALL_LOCATION: ${{ steps.find-install-locations.outputs.ansible_install_location }}\n          PYAVD_INSTALL_LOCATION: ${{ steps.find-install-locations.outputs.pyavd_install_location }}\n          USERNAME: ${{ inputs.username }}\n          UID: ${{ inputs.user_id }}\n          GID: ${{ inputs.group_id }}\n        with:\n          subFolder: containers/${{ inputs.container_name }}\n          imageName: ghcr.io/${{ github.repository }}/${{ inputs.container_name }}\n          imageTag: ${{ steps.build-tags.outputs.image_tags }}\n          platform: ${{ inputs.platform }}\n          push: always\n", "state": "active", "repository": "aristanetworks/avd"}
{"mined_at": "2024-07-15T18:54:56.869057", "created_at": "2023-11-10T13:53:50+01:00", "updated_at": "2024-06-07T12:46:25+02:00", "name": "Build universal container", "path": ".github/workflows/container_build_universal.yml", "contents": "---\nname: Build universal container\n\non:\n  push:\n    branches:\n      - devel\n    paths:\n      - containers/universal/**\n      - .github/workflows/container_build_template.yml\n      - .github/workflows/container_build_universal.yml\n      - ansible_collections/arista/avd/**\n  workflow_dispatch:\n    branches:\n      - devel\n  release:\n    types: [published]\n\njobs:\n  build_universal_container:\n    if: github.repository == 'aristanetworks/avd'\n    uses: ./.github/workflows/container_build_template.yml\n    strategy:\n      matrix:\n        container_name: [universal]\n        python_version: [\"3.10\", \"3.11\", \"3.12\"]\n        include:\n          - python_version: \"3.11\"\n            container_tags: latest\n    with:\n      container_name: ${{ matrix.container_name }}\n      python_version: ${{ matrix.python_version }}\n      container_tags: ${{ matrix.container_tags }}\n", "state": "active", "repository": "aristanetworks/avd"}
{"mined_at": "2024-07-15T18:54:57.897002", "created_at": "2024-02-13T22:37:24+01:00", "updated_at": "2024-04-29T13:01:06+02:00", "name": "CV integration testing", "path": ".github/workflows/new-cvp-integration.yml", "contents": "---\nname: \"CV integration testing\"\n\n# on: pull_request\non: workflow_dispatch\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref }}\njobs:\n  # ----------------------------------------------- #\n  # CV INTEGRATION MOLECULE TEST FOR CV_WORKFLOW    #\n  # ----------------------------------------------- #\n  molecule_cv_workflow:\n    name: Run molecule test for new cvp integration\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        avd_scenario:\n          - 'cv_workflow'\n        ansible_version:\n          - 'ansible-core<2.18.0 --upgrade'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Run molecule action\n        env:\n          CVAAS_AAWG_CI: ${{ secrets.CVAAS_AAWG_CI }}\n        uses: arista-netdevops-community/action-molecule-avd@v1.7\n        with:\n          molecule_parentdir: 'ansible_collections/arista/avd'\n          molecule_command: 'test'\n          molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'\n          pip_file: .github/requirements-ci.txt\n          galaxy_file: \"ansible_collections/arista/avd/collections.yml\"\n          ansible: ${{ matrix.ansible_version }}\n          check_git: true\n          check_git_enforced: true\n\n  # ------------------------------------------- #\n  # CV INTEGRATION MOLECULE TEST FOR CV_DEPLOY  #\n  # ------------------------------------------- #\n  molecule_cv_deploy:\n    name: Run molecule test for new cvp integration\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        avd_scenario:\n          - 'cv_deploy'\n        ansible_version:\n          - 'ansible-core<2.18.0 --upgrade'\n    steps:\n      - name: 'Set environment variables'\n        run: |\n          echo \"PY_COLORS=1\" >> $GITHUB_ENV\n          echo \"ANSIBLE_FORCE_COLOR=1\" >> $GITHUB_ENV\n      - uses: actions/checkout@v4\n      - name: Run molecule action\n        env:\n          CVAAS_AAWG_CI: ${{ secrets.CVAAS_AAWG_CI }}\n        uses: arista-netdevops-community/action-molecule-avd@v1.7\n        with:\n          molecule_parentdir: 'ansible_collections/arista/avd'\n          molecule_command: 'test'\n          molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'\n          pip_file: .github/requirements-ci.txt\n          galaxy_file: \"ansible_collections/arista/avd/collections.yml\"\n          ansible: ${{ matrix.ansible_version }}\n          check_git: true\n          check_git_enforced: true\n", "state": "active", "repository": "aristanetworks/avd"}
{"mined_at": "2024-07-15T18:54:59.071732", "created_at": "2024-04-03T14:35:30+02:00", "updated_at": "2024-04-03T14:35:30+02:00", "name": "Check links offline for dead targets", "path": ".github/workflows/offline-links-check.yml", "contents": "---\nname: \"Check links offline for dead targets\"\n\non:\n  # schedule every day at 3 AM on devel\n  schedule:\n    - cron: \"0 3 * * *\"\n  # Allow for manual trigger on the selected branch in UI\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  offline_link_check:\n    name: 'Validate mkdoc content'\n    if: github.repository == 'aristanetworks/avd'\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n      - uses: actions/checkout@v4\n      - name: 'Start docker-compose stack'\n        run: |\n          docker-compose -f development/docker-compose.yml up -d webdoc_avd\n          docker-compose -f development/docker-compose.yml ps\n      - name: 'Test connectivity to mkdoc server'\n        run: |\n          bash -c 'while [[ \"$(curl -s -o /dev/null -w ''%{http_code}'' 127.0.0.1:8000)\" != \"200\" ]]; do sleep 5; done'\n      - name: Check links for 404\n        run: |\n          docker run --network container:webdoc_avd raviqqe/muffet:2.10.1 http://127.0.0.1:8000/ -f \\\n            --buffer-size 8192 \\\n            --exclude \".*fonts.googleapis.com.*\" \\\n            --exclude \".*fonts.gstatic.com.*\" \\\n            --exclude \".*tools.ietf.org.*\" \\\n            --exclude \".*edit.*\" \\\n            --exclude \".*docs.github.com.*\" \\\n            --exclude \"twitter.com\" \\\n            --exclude \"www.docker.com\" \\\n            --exclude \"hub.docker.com\" \\\n            --exclude \"tech-library.arista.com\" \\\n            --max-connections-per-host 30 \\\n            --max-redirections 3 \\\n            --rate-limit 1 \\\n            --timeout 30\n      - name: 'Stop docker-compose stack'\n        run: |\n          docker-compose -f development/docker-compose.yml down\n", "state": "active", "repository": "aristanetworks/avd"}
{"mined_at": "2024-07-15T18:55:00.105579", "created_at": "2024-05-10T15:42:13+02:00", "updated_at": "2024-05-10T16:01:31+02:00", "name": "Pull Request Comment", "path": ".github/workflows/pull-request-comment.yml", "contents": "name: \"Pull Request Comment\"\n\non:\n  pull_request_target:\n    types:\n      - opened\n\njobs:\n  ###################################################\n  # Add comment with useful links for the reviewers\n  ###################################################\n\n  comment:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n      - uses: actions/github-script@v7\n        env:\n          BODY: |\n            Review docs on [Read the Docs](https://ansible-avd--${{ github.event.pull_request.number }}.org.readthedocs.build/en/${{ github.event.pull_request.number }}/)\n\n            To test this pull request:\n\n            \\`\\`\\`sh\n            # Create virtual environment for this testing below the current directory\n            python -m venv test-avd-pr-${{ github.event.pull_request.number }}\n            # Activate the virtual environment\n            source test-avd-pr-${{ github.event.pull_request.number }}/bin/activate\n            # Install all requirements including PyAVD\n            pip install \"pyavd[ansible] @ git+${{ github.event.pull_request.head.repo.clone_url }}@${{ github.event.pull_request.head.ref }}#subdirectory=python-avd\" --force\n            # Install Ansible collection\n            ansible-galaxy collection install git+${{ github.event.pull_request.head.repo.clone_url }}#/ansible_collections/arista/avd/,${{ github.event.pull_request.head.ref }} --force\n            # Optional: Install AVD examples\n            cd test-avd-pr-${{ github.event.pull_request.number }}\n            ansible-playbook arista.avd.install_examples\n            \\`\\`\\`\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: `${{ env.BODY }}`\n            })\n", "state": "active", "repository": "aristanetworks/avd"}
{"mined_at": "2024-07-15T18:55:02.245573", "created_at": "2024-01-08T00:06:34+01:00", "updated_at": "2024-01-09T01:17:08+01:00", "name": "Continuous Delivery", "path": ".github/workflows/cd.yml", "contents": "name: Continuous Delivery\n\non:\n  push:\n    branches:\n      - 'main'\n    tags:\n      - 'v*'\n  workflow_dispatch: {}\n\njobs:\n  python:\n    runs-on: ubuntu-latest\n\n    environment:\n      name: pypi\n      url: https://pypi.org/p/atopile/\n\n    permissions:\n      contents: read  # Otherwise we override the default value of `read` and get no access at all\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n\n    steps:\n      - uses: actions/checkout@v4\n\n      # Required due to a bug in the checkout action\n      # https://github.com/actions/checkout/issues/1471\n      - run: git fetch --prune --unshallow --tags\n\n      -\n        name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n\n      -\n        name: Install Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: '19.5.0'\n\n      -\n        name: Build Web Application\n        run: |\n          npm ci\n          npm run build\n        working-directory: ./src/atopile/viewer\n      -\n        name: Make python package\n        run: |\n          pip install build twine\n          python -m build\n\n      -\n        name: Upload Python Artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: python-package\n          path: dist\n\n      -\n        name: Publish package distributions to PyPI\n        if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450\n        with:\n          skip-existing: true  # Helpful while we're migrating\n\n  docker:\n    runs-on: ubuntu-latest\n\n    needs: python\n\n    strategy:\n      matrix:\n        include:\n          - dockerfile: \"Dockerfile.kicad\"\n            image: \"atopile-kicad\"\n\n    # Sets the permissions granted to the `GITHUB_TOKEN`\n    # for the actions in this job.\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - uses: actions/checkout@v4\n\n      -\n        name: Download python-package\n        uses: actions/download-artifact@v4\n        with:\n          name: python-package\n          path: dist\n\n      -\n        name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: |\n            ghcr.io/atopile/${{ matrix.image }}\n          tags: |\n            type=ref,event=branch\n            type=ref,event=pr\n            type=semver,pattern={{version}}\n            type=semver,pattern={{major}}.{{minor}}\n\n      -\n        name: Log in to the Container registry\n        uses: docker/login-action@5f4866a30a54f16a52d2ecb4a3898e9e424939cf\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      -\n        name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: dockerfiles/${{ matrix.dockerfile }}\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "atopile/atopile"}
{"mined_at": "2024-07-15T18:55:03.476319", "created_at": "2023-12-19T23:31:10+01:00", "updated_at": "2024-01-09T01:17:09+01:00", "name": "Continuous Integration", "path": ".github/workflows/ci.yml", "contents": "name: Continuous Integration\n\non: push\n\njobs:\n  quality:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Install dependencies\n      run: pip install -e .\"[dev,test]\"\n\n    - name: Lint\n      run: ruff src/atopile\n\n    - name: Test\n      run: pytest\n\n    - name: Upload Test Artifacts\n      uses: actions/upload-artifact@v4\n      with:\n        name: test-artifacts\n        path: artifacts\n", "state": "active", "repository": "atopile/atopile"}
{"mined_at": "2024-07-15T18:55:04.585164", "created_at": "2024-01-07T22:35:43+01:00", "updated_at": "2024-01-07T22:35:43+01:00", "name": "Do CI for atopile core", "path": ".github/workflows/core-ci.yml", "contents": null, "state": "active", "repository": "atopile/atopile"}
{"mined_at": "2024-07-15T18:55:05.589488", "created_at": "2024-01-07T22:35:43+01:00", "updated_at": "2024-01-07T22:35:43+01:00", "name": "Create and publish images from the repo", "path": ".github/workflows/core-publish.yml", "contents": null, "state": "active", "repository": "atopile/atopile"}
{"mined_at": "2024-07-15T18:55:06.585014", "created_at": "2024-01-06T00:15:57+01:00", "updated_at": "2024-01-06T00:15:57+01:00", "name": "Create and publish images from the repo", "path": ".github/workflows/docker.yml", "contents": null, "state": "active", "repository": "atopile/atopile"}
{"mined_at": "2024-07-15T18:55:07.590248", "created_at": "2024-01-07T22:35:43+01:00", "updated_at": "2024-01-07T22:35:43+01:00", "name": "Build and publish the atopile docs", "path": ".github/workflows/docs.yml", "contents": null, "state": "active", "repository": "atopile/atopile"}
{"mined_at": "2024-07-15T18:55:08.706411", "created_at": "2024-05-03T02:20:43+02:00", "updated_at": "2024-05-16T00:26:57+02:00", "name": "Continuous Integration", "path": ".github/workflows/regression_tests.yml", "contents": "name: Continuous Integration\n\non: push\n\njobs:\n  regression_tests:\n    runs-on: ubuntu-latest\n    env:\n        ATO_NON_INTERACTIVE: '1'\n    strategy:\n      fail-fast: false\n      matrix:\n        repo:\n          - 'atopile/swoop'\n          - 'atopile/spin-servo-drive'\n\n    steps:\n      - uses: actions/checkout@v4\n      # Required due to a bug in the checkout action\n      # https://github.com/actions/checkout/issues/1471\n      - run: git fetch --prune --unshallow --tags\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: Install dependencies\n        run: pip install .\n\n      - name: Checkout circuit repository\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ matrix.repo }}\n          path: 'circuit_repo'\n          token: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build circuits\n        run: |\n          cd circuit_repo\n          ato build\n", "state": "active", "repository": "atopile/atopile"}
{"mined_at": "2024-07-15T18:55:09.823723", "created_at": "2024-04-24T23:14:00+02:00", "updated_at": "2024-04-24T23:14:00+02:00", "name": ".github/workflows/stale-branches.yml", "path": ".github/workflows/stale-branches.yml", "contents": "on:\n    schedule:\n      - cron: \"0 0 * * *\" # Everday at midnight\n\njobs:\n    remove-stale-branches:\n        name: Remove Stale Branches\n        runs-on: ubuntu-latest\n        steps:\n        -\n            uses: fpicalausa/remove-stale-branches@v2.0.1\n            with:\n                dry-run: true # Check out the console output before setting this to false\n", "state": "active", "repository": "atopile/atopile"}
{"mined_at": "2024-07-15T18:55:10.894354", "created_at": "2024-02-20T22:32:33+01:00", "updated_at": "2024-02-20T22:32:33+01:00", "name": "Release VSCode Extension", "path": ".github/workflows/vsx.yml", "contents": "name: Release VSCode Extension\n\non:\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'Version to release'\n        required: true\n        type: string\n\njobs:\n  vsx-extension:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: src/vscode-atopile\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - run: npm ci\n\n      # Set the version in package.json from a workflow dispatch input\n      - run: npm version --no-git-tag-version ${{ inputs.version }}\n        if: github.event_name == 'workflow_dispatch'\n      # Otherwise use the tag name\n      - run: npm version --no-git-tag-version ${{ github.ref_name }}\n        if: github.event_name == 'push'\n\n      - name: Publish to VS Code Marketplace\n        # Skip duplicate here to allow manual triggering\n        run: npx vsce publish --skip-duplicate\n        env:\n          VSCE_PAT: ${{ secrets.VSCE_PAT }}\n\n      - name: Publish to Open VSX\n        run: npx ovsx publish --skip-duplicate\n        env:\n          OVSX_PAT: ${{ secrets.OVSX_PAT }}\n", "state": "active", "repository": "atopile/atopile"}
{"mined_at": "2024-07-15T18:55:12.075882", "created_at": "2024-01-23T04:58:52+01:00", "updated_at": "2024-01-23T05:33:44+01:00", "name": "website-deploy", "path": ".github/workflows/website.yml", "contents": "name: website-deploy\non:\n  push:\n    branches:\n      - main\npermissions:\n  contents: write\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure Git Credentials\n        run: |\n          git config user.name github-actions[bot]\n          git config user.email 41898282+github-actions[bot]@users.noreply.github.com\n      - uses: actions/setup-python@v5\n        with:\n          python-version: 3.x\n      - run: echo \"cache_id=$(date --utc '+%V')\" >> $GITHUB_ENV \n      - uses: actions/cache@v4\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n      - run: pip install mkdocs-material\n      - run: pip install mkdocs-drawio-file\n      - run: mkdocs gh-deploy --force", "state": "active", "repository": "atopile/atopile"}
{"mined_at": "2024-07-15T18:55:13.333739", "created_at": "2024-01-23T05:24:38+01:00", "updated_at": "2024-01-23T05:24:38+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "atopile/atopile"}
{"mined_at": "2024-07-15T18:55:15.324003", "created_at": "2024-05-24T15:46:36+02:00", "updated_at": "2024-05-24T15:52:04+02:00", "name": "Docker-pr-deploy", "path": ".github/workflows/docker-pr-deploy.yml", "contents": "name: Docker-pr-deploy\non:\n  workflow_dispatch:\n    inputs:\n      repository: \n        description: \"Repository name with owner. For example, actions/checkout\"\n      ref: \n        description: \"The branch, tag or SHA to checkout.\"\n\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ inputs.repository }}\n          ref: ${{ inputs.ref }}\n      \n      - name: Log in to Docker Hub\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      \n      - name: Build and push Docker image\n        uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n        with:\n          context: .\n          push: true\n          tags: eventyay/eventyay-ticket:development\n          labels: manual\n", "state": "active", "repository": "fossasia/eventyay-tickets"}
{"mined_at": "2024-07-15T18:55:16.479005", "created_at": "2024-05-14T21:25:53+02:00", "updated_at": "2024-05-23T09:44:34+02:00", "name": "Docker PR Build", "path": ".github/workflows/docker-pr.yml", "contents": "name: Docker PR Build\n\non:\n  pull_request:\n    branches: [development, main]\n\njobs:\n  build_docker_image:\n    name: Build Docker image\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n\n      - name: Build Docker image\n        run: docker build -t eventyay-ticket:${{ github.sha }} .\n", "state": "active", "repository": "fossasia/eventyay-tickets"}
{"mined_at": "2024-07-15T18:55:17.650962", "created_at": "2024-04-19T19:12:15+02:00", "updated_at": "2024-04-19T19:25:38+02:00", "name": "Docker", "path": ".github/workflows/docker.yml", "contents": "name: Docker\non:\n  workflow_dispatch:\n  push:\n    branches: [ development, master ]\n    tags: [ \"*\" ]\n\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v2\n      \n      - name: Log in to Docker Hub\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      \n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n        with:\n          images: eventyay/eventyay-ticket\n      \n      - name: Build and push Docker image\n        uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "fossasia/eventyay-tickets"}
{"mined_at": "2024-07-15T18:55:18.834578", "created_at": "2024-01-21T15:41:17+01:00", "updated_at": "2024-01-21T15:41:17+01:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non:\n  push:\n    branches: [ development, master ]\n    paths-ignore:\n      - 'src/pretix/locale/**'\n      - 'src/pretix/static/**'\n      - 'src/tests/**'\n  pull_request:\n    branches: [ development, master ]\n    paths-ignore:\n      - 'src/pretix/locale/**'\n      - 'src/pretix/static/**'\n      - 'src/tests/**'\n\njobs:\n  spelling:\n    name: Spellcheck\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.11\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install system packages\n        run: sudo apt update && sudo apt install enchant hunspell aspell-en\n      - name: Install Dependencies\n        run: pip3 install -Ur doc/requirements.txt\n      - name: Spellcheck docs\n        run: make spelling\n        working-directory: ./doc\n      - name:\n        run: '[ ! -s _build/spelling/output.txt ]'\n        working-directory: ./doc\n", "state": "active", "repository": "fossasia/eventyay-tickets"}
{"mined_at": "2024-07-15T18:55:19.944263", "created_at": "2024-01-21T15:41:17+01:00", "updated_at": "2024-01-21T15:41:17+01:00", "name": "Strings", "path": ".github/workflows/strings.yml", "contents": "name: Strings\n\non:\n  push:\n    branches: [ development, master ]\n    paths:\n      - 'doc/**'\n      - 'src/pretix/locale/**'\n  pull_request:\n    branches: [ development, master ]\n    paths:\n      - 'doc/**'\n      - 'src/pretix/locale/**'\n\njobs:\n  compile:\n    runs-on: ubuntu-latest\n    name: Check gettext syntax\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.11\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install system packages\n        run: sudo apt update && sudo apt install gettext\n      - name: Install Dependencies\n        run: pip3 install -e \".[dev]\"\n      - name: Compile messages\n        run: python manage.py compilemessages\n        working-directory: ./src\n      - name: Compile jsi18n\n        run: python manage.py compilejsi18n\n        working-directory: ./src\n  spelling:\n    runs-on: ubuntu-latest\n    name: Spellcheck\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.11\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install system packages\n        run: sudo apt update && sudo apt install enchant hunspell hunspell-de-de aspell-en aspell-de\n      - name: Install Dependencies\n        run: pip3 install -e \".[dev]\"\n      - name: Spellcheck translations\n        run: potypo\n        working-directory: ./src\n", "state": "active", "repository": "fossasia/eventyay-tickets"}
{"mined_at": "2024-07-15T18:55:21.087428", "created_at": "2024-01-21T15:41:17+01:00", "updated_at": "2024-01-21T15:41:17+01:00", "name": "Code Style", "path": ".github/workflows/style.yml", "contents": "name: Code Style\n\non:\n  push:\n    branches: [ development, master ]\n    paths-ignore:\n      - 'src/pretix/locale/**'\n      - 'src/pretix/static/**'\n  pull_request:\n    branches: [ development, master ]\n    paths-ignore:\n      - 'src/pretix/locale/**'\n      - 'src/pretix/static/**'\n\njobs:\n  isort:\n    name: isort\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.11\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install Dependencies\n        run: pip3 install -e \".[dev]\" psycopg2-binary\n      - name: Run isort\n        run: isort -c .\n        working-directory: ./src\n  flake:\n    name: flake8\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.11\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install Dependencies\n        run: pip3 install -e \".[dev]\" psycopg2-binary\n      - name: Run flake8\n        run: flake8 .\n        working-directory: ./src\n", "state": "active", "repository": "fossasia/eventyay-tickets"}
{"mined_at": "2024-07-15T18:55:22.149137", "created_at": "2024-01-21T15:41:17+01:00", "updated_at": "2024-01-21T15:41:17+01:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: [ development, master ]\n    paths-ignore:\n      - 'doc/**'\n      - 'src/pretix/locale/**'\n  pull_request:\n    branches: [ development, master ]\n    paths-ignore:\n      - 'doc/**'\n      - 'src/pretix/locale/**'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: Tests\n    strategy:\n      matrix:\n        python-version: [3.11]\n        database: [sqlite, postgres, mysql]\n        exclude:\n          - database: mysql\n            python-version: 3.11\n          - database: sqlite\n            python-version: 3.11\n    steps:\n      - uses: actions/checkout@v2\n      - uses: getong/mariadb-action@v1.1\n        with:\n          mariadb version: '10.4'\n          mysql database: 'pretix'\n          mysql root password: ''\n        if: matrix.database == 'mysql'\n      - uses: harmon758/postgresql-action@v1\n        with:\n          postgresql version: '11'\n          postgresql db: 'pretix'\n          postgresql user: 'postgres'\n          postgresql password: 'postgres'\n        if: matrix.database == 'postgres'\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v1\n        with:\n          python-version: ${{ matrix.python-version }}\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-\n      - name: Install system dependencies\n        run: sudo apt update && sudo apt install gettext mysql-client\n      - name: Install Python dependencies\n        run: pip3 install -e \".[dev]\" psycopg2-binary\n      - name: Run checks\n        run: python manage.py check\n        working-directory: ./src\n      - name: Install JS dependencies\n        working-directory: ./src\n        run: make npminstall\n      - name: Compile\n        working-directory: ./src\n        run: make all compress\n      - name: Run tests\n        working-directory: ./src\n        run: PRETIX_CONFIG_FILE=tests/travis_${{ matrix.database }}.cfg py.test -n 3 -p no:sugar --cov=./ --cov-report=xml --reruns 3 tests --maxfail=100\n      - name: Upload coverage\n        uses: codecov/codecov-action@v1\n        with:\n          file: src/coverage.xml\n          fail_ci_if_error: true\n        if: matrix.database == 'postgres' && matrix.python-version == '3.11'\n", "state": "active", "repository": "fossasia/eventyay-tickets"}
{"mined_at": "2024-07-15T18:55:24.363781", "created_at": "2024-05-29T09:42:20+02:00", "updated_at": "2024-05-29T09:42:20+02:00", "name": "Docker-pr-deploy", "path": ".github/workflows/docker-pr-deploy.yml", "contents": "name: Docker-pr-deploy\non:\n  workflow_dispatch:\n    inputs:\n      repository: \n        description: \"Repository name with owner. For example, actions/checkout\"\n      ref: \n        description: \"The branch, tag or SHA to checkout.\"\n\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n        with:\n          repository: ${{ inputs.repository }}\n          ref: ${{ inputs.ref }}\n      \n      - name: Log in to Docker Hub\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      \n      - name: Build and push Docker image\n        uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n        with:\n          context: .\n          push: true\n          tags: eventyay/eventyay-video:development\n          labels: manual\n", "state": "active", "repository": "fossasia/eventyay-video"}
{"mined_at": "2024-07-15T18:55:25.592236", "created_at": "2024-05-27T19:08:44+02:00", "updated_at": "2024-05-27T23:49:10+02:00", "name": "Docker-server-deploy", "path": ".github/workflows/docker-server.yml", "contents": "name: Docker-server-deploy\non:\n  workflow_dispatch:\n  push:\n    branches: [ development, main ]\n\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n      \n      - name: Log in to Docker Hub\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      \n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: ./server\n          file: ./server/Dockerfile-dev\n          push: true\n          tags: eventyay/eventyay-video:development-server\n          labels: manual", "state": "active", "repository": "fossasia/eventyay-video"}
{"mined_at": "2024-07-15T18:55:26.714091", "created_at": "2024-01-22T09:26:19+01:00", "updated_at": "2024-01-22T09:26:56+01:00", "name": "Docker", "path": ".github/workflows/docker.yml", "contents": "name: Docker\non:\n  workflow_dispatch:\n  push:\n    branches: [ development, main ]\n    tags: [ \"*\" ]\n\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v2\n      \n      - name: Log in to Docker Hub\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      \n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38\n        with:\n          images: eventyay/eventyay-video\n      \n      - name: Build and push Docker image\n        uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "fossasia/eventyay-video"}
{"mined_at": "2024-07-15T18:55:27.773786", "created_at": "2024-05-27T19:08:44+02:00", "updated_at": "2024-05-27T19:08:44+02:00", "name": "Docker-webapp-deploy", "path": ".github/workflows/docker_webapp.yml", "contents": "name: Docker-webapp-deploy\non:\n  workflow_dispatch:\n  push:\n    branches: [ development, main ]\n\njobs:\n  push_to_registry:\n    name: Push Docker image to Docker hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n      \n      - name: Log in to Docker Hub\n        uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n      \n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: ./webapp\n          file: ./webapp/Dockerfile-dev\n          push: true\n          tags: eventyay/eventyay-video:development-webapp\n          labels: manual", "state": "active", "repository": "fossasia/eventyay-video"}
{"mined_at": "2024-07-15T18:55:28.974562", "created_at": "2024-01-22T09:26:19+01:00", "updated_at": "2024-01-22T09:26:56+01:00", "name": "Server style", "path": ".github/workflows/server_style.yml", "contents": "name: Server style\non:\n  workflow_dispatch:\n  push:\n    branches: [ development, main ]\n    paths:\n      - 'server/**'\n  pull_request:\n    branches: [ development, main ]\n    paths:\n      - 'server/**'\n\njobs:\n  black:\n    name: black\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.11\n      - name: Install Python dependencies\n        run: pip3 install -U pip wheel setuptools && pip3 install -U black\n        working-directory: ./server\n      - name: Run checks\n        run: black --check venueless tests\n        working-directory: ./server\n  flake8:\n    name: flake8\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.11\n      - name: Install Python dependencies\n        run: pip3 install -U pip wheel setuptools && pip3 install -U flake8\n        working-directory: ./server\n      - name: Run checks\n        run: flake8 venueless tests\n        working-directory: ./server\n  isort:\n    name: isort\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip\n      - name: Set up Python\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.11\n      - name: Install Python dependencies\n        run: pip3 install -U pip wheel setuptools && pip3 install -U \"isort==5.*\"\n        working-directory: ./server\n      - name: Run checks\n        run: isort -c venueless tests\n        working-directory: ./server\n", "state": "active", "repository": "fossasia/eventyay-video"}
{"mined_at": "2024-07-15T18:55:30.201366", "created_at": "2024-01-22T09:26:19+01:00", "updated_at": "2024-01-22T09:26:56+01:00", "name": "Server tests", "path": ".github/workflows/server_tests.yml", "contents": "name: Server tests\non:\n  push:\n    branches: [ development, main ]\n    paths:\n      - 'server/**'\n  pull_request:\n    branches: [ development, main ]\n    paths:\n      - 'server/**'\n  workflow_dispatch: {}\n\njobs:\n  test:\n    name: Tests\n    runs-on: ubuntu-latest\n    container: python:3.11\n    continue-on-error: ${{ matrix.experimental }}\n    strategy:\n      fail-fast: false\n      matrix:\n        pubsub: [\"no\"]\n        experimental: [false]\n        include:\n          - pubsub: \"yes\"\n            experimental: true\n    services:\n      redis:\n        image: redis:latest\n      postgres:\n        image: postgres:15\n        env:\n          POSTGRES_PASSWORD: venueless\n          POSTGRES_DB: venueless\n          POSTGRES_USER: venueless\n          POSTGRES_HOST_AUTH_METHOD: trust\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/cache@v1\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-pip\n      - name: Install Python dependencies\n        run: pip3 install -U pip wheel setuptools && pip3 install -Ur requirements.txt\n        working-directory: ./server\n      - name: Run checks\n        run: python manage.py check\n        working-directory: ./server\n      - name: Run collectstatic\n        run: python manage.py collectstatic\n        working-directory: ./server\n      - name: Run tests\n        working-directory: ./server\n        run: py.test tests/ --cov=./ --reruns 3 --reruns-delay 1\n        env:\n          VENUELESS_REDIS_USE_PUBSUB: '${{ matrix.pubsub }}'\n          VENUELESS_REDIS_HOST: 'redis'\n          VENUELESS_DB_TYPE: 'postgresql'\n          VENUELESS_DB_NAME: 'venueless'\n          VENUELESS_DB_USER: 'venueless'\n          VENUELESS_DB_PASS: 'venueless'\n          VENUELESS_DB_HOST: 'postgres'\n\n      - name: Build coverage info\n        working-directory: ./server\n        run: |\n          python -m coverage json\n\n          export TOTAL_COV=$(python -c \"import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])\")\n          echo \"TOTAL_COV=$TOTAL_COV\" >> $GITHUB_ENV\n          echo \"## Test coverage: $TOTAL_COV%\" >> $GITHUB_STEP_SUMMARY\n          python -m coverage report --skip-covered --skip-empty --show-missing --format=markdown >> $GITHUB_STEP_SUMMARY\n\n          python -m coverage report --fail-under=70\n        if: matrix.pubsub == 'no' && matrix.experimental == false\n\n      - name: \"Make badge\"\n        uses: schneegans/dynamic-badges-action@v1.6.0\n        with:\n          # GIST_TOKEN is a GitHub personal access token with scope \"gist\".\n          auth: ${{ secrets.GIST_TOKEN }}\n          gistID: f7aede37157ab0a7e1fb2a5beaf78abc\n          filename: covbadge.json\n          label: coverage\n          message: ${{ env.TOTAL_COV }}%\n          valColorRange: ${{ env.TOTAL_COV }}\n          maxColorRange: 90\n          minColorRange: 50\n        if: env.TOTAL_COV && github.ref == 'refs/heads/dev'\n", "state": "active", "repository": "fossasia/eventyay-video"}
{"mined_at": "2024-07-15T18:55:31.429537", "created_at": "2024-01-22T09:26:19+01:00", "updated_at": "2024-01-22T09:26:56+01:00", "name": "webapp", "path": ".github/workflows/webapp.yml", "contents": "name: webapp\n\non:\n  push:\n    branches: [ development, main ]\n    paths:\n      - 'webapp/**'\n  pull_request:\n    branches: [ development, main ]\n    paths:\n      - 'webapp/**'\n\njobs:\n  build:\n    name: build\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/cache@v1\n      with:\n        path: ~/.npm\n        key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n        restore-keys: |\n          ${{ runner.os }}-node-\n    - name: Use Node.js 14\n      uses: actions/setup-node@v1\n      with:\n        node-version: 14\n    - name: Install dependencies\n      run: npm ci\n      working-directory: ./webapp\n    - name: Build webapp\n      run: npm run build\n      working-directory: ./webapp\n  lint:\n    name: lint\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/cache@v1\n      with:\n        path: ~/.npm\n        key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n        restore-keys: |\n          ${{ runner.os }}-node-\n    - name: Use Node.js 14\n      uses: actions/setup-node@v1\n      with:\n        node-version: 14\n    - name: Install dependencies\n      run: npm ci\n      working-directory: ./webapp\n    - name: Lint webapp\n      run: npm run lint:nofix\n      working-directory: ./webapp\n", "state": "active", "repository": "fossasia/eventyay-video"}
{"mined_at": "2024-07-15T18:55:33.683286", "created_at": "2023-05-17T14:52:42+02:00", "updated_at": "2023-11-29T08:40:16+01:00", "name": "Github/actions", "path": ".github/workflows/actions.yml", "contents": "name: Github/actions\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n\npermissions:\n  contents: read\n\njobs:\n  gh-actions:\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        node-version:\n        - '20.x'\n        name:\n        - 'appauth'\n        - 'dispatch'\n        - 'github/checks'\n        - 'github/mutex'\n        - 'hashfiles'\n        - 'jq'\n        - 'retest'\n        - 'torun'\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332  # v4.1.7\n    - name: Use Node.js ${{ matrix.node-version }}\n      uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8  # v4.0.2\n      with:\n        node-version: ${{ matrix.node-version }}\n    - run: npm ci\n      working-directory: gh-actions/${{ matrix.name }}\n    - run: npm run lint\n      working-directory: gh-actions/${{ matrix.name }}\n    - run: npm test\n      working-directory: gh-actions/${{ matrix.name }}\n    - run: |\n        npm run build\n        if [[ $(git status --porcelain) ]]; then\n            echo 'Built javascript does not match, did you run `npm run build`?' >&2\n            exit 1\n        fi\n      working-directory: gh-actions/${{ matrix.name }}\n", "state": "active", "repository": "envoyproxy/toolshed"}
{"mined_at": "2024-07-15T18:55:34.694911", "created_at": "2021-08-21T15:09:38+02:00", "updated_at": "2023-02-04T11:34:32+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n    branches:\n    - main\n  release:\n    types:\n      released\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: envoy-x64-small\n    if: github.repository_owner == 'envoyproxy'\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332  # v4.1.7\n    - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d  # v5.1.0\n      with:\n        python-version: \"3.9\"\n    - name: Cache pants\n      uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9  # v4.0.2\n      with:\n        key: ${{ runner.os }}-${{ hashFiles('pants*toml') }}\n        path: ~/.cache/pants/setup\n    - name: Run pants test\n      run: \"./pants --colors test ::\"\n    - name: Archive code coverage results\n      uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808  # v4.3.3\n      with:\n        name: coverage\n        path: dist/coverage/python/htmlcov/\n\n  lint:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332  # v4.1.7\n    - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d  # v5.1.0\n      with:\n        python-version: \"3.9\"\n    - name: Cache pants\n      uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9  # v4.0.2\n      with:\n        key: ${{ runner.os }}-${{ hashFiles('pants*toml') }}\n        path: ~/.cache/pants/setup\n    - name: Run pants lint\n      run: \"./pants --colors lint ::\"\n\n  lint-envoy:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332  # v4.1.7\n    - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d  # v5.1.0\n      with:\n        python-version: \"3.11\"\n    - run: pip install envoy.code.check>=0.5.11\n    - run: |\n        envoy.code.check . -c glint shellcheck yamllint  -x \".*/dist/.*\"\n\n  typecheck:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332  # v4.1.7\n    - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d  # v5.1.0\n      with:\n        python-version: \"3.9\"\n    - name: Cache pants\n      uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9  # v4.0.2\n      with:\n        key: ${{ runner.os }}-${{ hashFiles('pants*toml') }}\n        path: ~/.cache/pants/setup\n    - name: Run pants (type) check\n      run: \"./pants --colors check ::\"\n  docs:\n    runs-on: ubuntu-22.04\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332  # v4.1.7\n    - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d  # v5.1.0\n      with:\n        python-version: \"3.9\"\n    - name: Cache pants\n      uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9  # v4.0.2\n      with:\n        key: ${{ runner.os }}-${{ hashFiles('pants*toml') }}\n        path: ~/.cache/pants/setup\n    - name: Run pants README\n      run: \"./pants --colors readme --check=README.md ::\"\n\n  package:\n    runs-on: ubuntu-22.04\n    needs:\n    - test\n    - lint\n    - typecheck\n    - docs\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332  # v4.1.7\n    - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d  # v5.1.0\n      with:\n        python-version: \"3.9\"\n    - name: Cache pants\n      uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9  # v4.0.2\n      with:\n        key: ${{ runner.os }}-${{ hashFiles('pants*toml') }}\n        path: ~/.cache/pants/setup\n    - name: Run pants package\n      run: \"./pants --colors package ::\"\n    - name: Archive created packages\n      uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808  # v4.3.3\n      with:\n        name: packages\n        path: dist\n\n  publish:\n    runs-on: ubuntu-22.04\n    needs:\n    - package\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332  # v4.1.7\n    - name: Download all workflow run artifacts\n      uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e  # v4.1.7\n    - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d  # v5.1.0\n      with:\n        python-version: \"3.9\"\n    - name: Find packages to publish\n      run: |\n        echo \"PUBLISH_PACKAGES=true\" >> $GITHUB_ENV\n        mkdir dist-out\n        find packages/ -maxdepth 1 -type f ! -path \"*dev*\" | xargs -I{} cp {} dist-out/\n        [ \"$(ls -A dist-out)\" ] || echo \"PUBLISH_PACKAGES=false\" >> $GITHUB_ENV\n    - name: Publish to PyPi\n      if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags') && env.PUBLISH_PACKAGES == 'true'\n      uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0  # release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_TOKEN }}\n        packages_dir: dist-out/\n", "state": "active", "repository": "envoyproxy/toolshed"}
{"mined_at": "2024-07-15T18:55:35.753660", "created_at": "2023-12-27T07:46:35+01:00", "updated_at": "2023-12-27T10:16:01+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches:\n    - \"main\"\n  pull_request:\n    branches:\n    - \"main\"\n  schedule:\n  - cron: '16 11 * * 5'\n\npermissions:\n  contents: read\n\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-22.04' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language:\n        - javascript-typescript\n        - python\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332  # v4.1.7\n\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@23acc5c183826b7a8a97bce3cecc52db901f8251  # v3.25.10\n      with:\n        languages: ${{ matrix.language }}\n\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@23acc5c183826b7a8a97bce3cecc52db901f8251  # v3.25.10\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@23acc5c183826b7a8a97bce3cecc52db901f8251  # v3.25.10\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "envoyproxy/toolshed"}
{"mined_at": "2024-07-15T18:55:36.959565", "created_at": "2023-12-27T10:16:01+01:00", "updated_at": "2023-12-27T10:16:01+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "name: Scorecard supply-chain security\non:\n  branch_protection_rule:\n  schedule:\n  - cron: '33 13 * * 5'\n  push:\n    branches:\n    - \"main\"\n\npermissions:\n  contents: read\n\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-22.04\n    permissions:\n      security-events: write\n      id-token: write\n\n    steps:\n    - name: \"Checkout code\"\n      uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332  # v4.1.7\n      with:\n        persist-credentials: false\n\n    - name: \"Run analysis\"\n      uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534  # v2.3.3\n      with:\n        results_file: results.sarif\n        results_format: sarif\n        publish_results: true\n\n    - name: \"Upload artifact\"\n      uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808  # v4.3.3\n      with:\n        name: SARIF file\n        path: results.sarif\n        retention-days: 5\n\n    - name: \"Upload to code-scanning\"\n      uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251  # v3.25.10\n      with:\n        sarif_file: results.sarif\n", "state": "active", "repository": "envoyproxy/toolshed"}
{"mined_at": "2024-07-15T18:55:38.085675", "created_at": "2024-07-12T01:08:10+02:00", "updated_at": "2024-07-12T01:08:10+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "envoyproxy/toolshed"}
{"mined_at": "2024-07-15T18:55:40.241745", "created_at": "2023-06-27T10:46:44+02:00", "updated_at": "2023-06-27T10:57:57+02:00", "name": "Dependabot auto-merge", "path": ".github/workflows/automerge.yml", "contents": "name: Dependabot auto-merge\n\non: pull_request\n\npermissions:\n  contents: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: Enable auto-merge for Dependabot PRs\n        run: gh pr merge --auto --squash \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          # GitHub provides this variable in the CI env. You don't\n          # need to add anything to the secrets vault.\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "varfish-org/varfish-server"}
{"mined_at": "2024-07-15T18:55:41.254953", "created_at": "2021-03-08T14:19:08+01:00", "updated_at": "2023-07-03T13:24:02+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": null, "state": "active", "repository": "varfish-org/varfish-server"}
{"mined_at": "2024-07-15T18:55:42.374088", "created_at": "2023-02-03T09:40:54+01:00", "updated_at": "2023-02-03T09:40:54+01:00", "name": "PR", "path": ".github/workflows/conventional-prs.yml", "contents": "name: PR\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - reopened\n      - edited\n      - synchronize\n\njobs:\n  title-format:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5.5.2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          validateSingleCommit: true\n", "state": "active", "repository": "varfish-org/varfish-server"}
{"mined_at": "2024-07-15T18:55:43.615119", "created_at": "2023-09-25T08:22:35+02:00", "updated_at": "2023-09-25T08:35:54+02:00", "name": "Dependencies report", "path": ".github/workflows/deps-report.yml", "contents": "\nname: Dependencies report\n\non:\n  pull_request:\n\njobs:\n  build:\n    name:  Dependencies report\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n\n      - name: deps-report\n        uses: MeilleursAgents/deps-report@master\n        with:\n          file: backend/Pipfile.lock\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "varfish-org/varfish-server"}
{"mined_at": "2024-07-15T18:55:44.844919", "created_at": "2023-07-01T16:08:38+02:00", "updated_at": "2023-07-01T17:37:29+02:00", "name": "Docker Build", "path": ".github/workflows/docker-build.yml", "contents": "# This workflow is run as part of CI to test that they run through.\n#\n# The images are pushed to `ghcr.io` for each PR and branch.  The ones for\n# the releases are pushed in `release-please.yml`.\nname: Docker Build\n\non:\n  push:\n    tags:\n      - 'v**'\n    branches:\n      - main\n      - berlin\n  pull_request:\n    branches:\n      - main\n      - berlin\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build-and-push-image:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n          lfs: true\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Write VERSION file for Python package\n        run: |\n          git describe --tags | tee VERSION\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: utils/docker/Dockerfile\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "varfish-org/varfish-server"}
{"mined_at": "2024-07-15T18:55:46.073297", "created_at": "2023-06-27T10:57:57+02:00", "updated_at": "2023-06-27T10:57:57+02:00", "name": "Cleanup PR Images", "path": ".github/workflows/docker-cleanup-pr.yml", "contents": "name: Cleanup PR Images\n\non:\n  pull_request:\n    types:\n        - closed\n\njobs:\n  purge-image:\n    name: Delete PR images\n    runs-on: ubuntu-latest\n    steps:\n      - uses: bots-house/ghcr-delete-image-action@v1.1.0\n        with:\n          owner: varfish-org\n          name: varfish-server\n          token: ${{ secrets.GITHUB_TOKEN }}\n          tag: pr-${{github.event.pull_request.number}}\n        continue-on-error: true\n", "state": "active", "repository": "varfish-org/varfish-server"}
{"mined_at": "2024-07-15T18:55:47.301306", "created_at": "2023-06-27T10:57:57+02:00", "updated_at": "2023-06-27T10:57:57+02:00", "name": "Cleanup Untagged Images", "path": ".github/workflows/docker-cleanup-untagged.yml", "contents": "name: Cleanup Untagged Images\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * SUN\"\n\njobs:\n  delete-untagged-images:\n    name: Delete untagged images\n    runs-on: ubuntu-latest\n    steps:\n      - uses: bots-house/ghcr-delete-image-action@v1.1.0\n        with:\n          owner: varfish-org\n          name: varfish-server\n          token: ${{ secrets.GITHUB_TOKEN }}\n          untagged-keep-latest: 3\n", "state": "active", "repository": "varfish-org/varfish-server"}
{"mined_at": "2024-07-15T18:55:48.460821", "created_at": "2023-07-01T16:02:53+02:00", "updated_at": "2023-07-01T17:37:29+02:00", "name": "CI", "path": ".github/workflows/main.yml", "contents": "name: CI\n\non:\n  - push\n  - pull_request\n\njobs:\n  Python-Test:\n    runs-on: ubuntu-latest\n    services:\n      redis:\n        image: redis:latest\n        ports:\n          - 6379:6379\n\n      postgres:\n        image: postgres:14\n        env:\n          POSTGRES_DB: varfish_web\n          POSTGRES_USER: varfish_web\n          POSTGRES_PASSWORD: varfish_web\n          DATABASE_URL: postgres://varfish_web:varfish_web@postgres/varfish_web\n          CELERY_BROKER_URL: redis://redis:6379/0\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 10\n        ports:\n          - 5432:5432\n\n      # We launch a minio instance for testing.  Note that we use the bitnami\n      # image because of the issue lined out in this SO discussion:\n      #\n      # - https://stackoverflow.com/questions/64031598\n      minio:\n        image: bitnami/minio:latest\n        env:\n          MINIO_ROOT_USER: minioadmin\n          MINIO_ROOT_PASSWORD: minio-root-password\n        options: >-\n          --name=minio\n          --health-cmd \"curl http://localhost:9000/minio/health/live\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 10\n        ports:\n          - 9000:9000\n\n    env:\n      CELERY_BROKER_URL: redis://0.0.0.0:6379/0\n      DATABASE_URL: 'postgres://varfish_web:varfish_web@0.0.0.0/varfish_web'\n      POSTGRES_HOST: 0.0.0.0\n      POSTGRES_PORT: 5432\n      VARFISH_CASE_IMPORT_INTERNAL_STORAGE: |\n        {\n          \"bucket\": \"varfish-server-test\",\n          \"host\": \"minio\",\n          \"port\": 9000,\n          \"access_key\": \"varfish-server-test\",\n          \"secret_key\": \"varfish-server-test\"\n        }\n\n    steps:\n      - name: Perform minio client setup\n        run: |\n          set -x\n          # create host alias for minio\n          echo \"127.0.0.1 minio\" | sudo tee -a /etc/hosts\n          # install minio client and configure default alias\n          wget -O /usr/local/bin/mc https://dl.min.io/client/mc/release/linux-amd64/mc\n          chmod +x /usr/local/bin/mc\n          mc alias set minio/ http://minio:9000 minioadmin minio-root-password\n          # setup bucket and access key for tests\n          mc mb minio/varfish-server-test\n          mc admin user add minio varfish-server-test varfish-server-test\n          # write policy file for bucket access, add it to server, and associate with\n          # access key created above\n          cat >/tmp/policy.json <<\"EOF\"\n          {\n            \"Version\": \"2012-10-17\",\n            \"Statement\": [\n              {\n                \"Action\": [\n                      \"s3:DeleteObject\",\n                      \"s3:GetBucketLocation\",\n                      \"s3:GetObject\",\n                      \"s3:ListBucket\",\n                      \"s3:PutObject\"\n                  ],\n                \"Effect\": \"Allow\",\n                \"Resource\": [\n                  \"arn:aws:s3:::varfish-server-test/*\",\n                  \"arn:aws:s3:::varfish-server-test\"\n                ],\n                \"Sid\": \"BucketAccessForUser\"\n              }\n            ]\n          }\n          EOF\n          mc admin policy create minio varfish-server-test-policy /tmp/policy.json\n          mc admin policy attach minio varfish-server-test-policy --user varfish-server-test\n\n      - name: Install system dependencies\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y build-essential zlib1g-dev libtiff5-dev libjpeg8-dev \\\n              libfreetype6-dev liblcms2-dev libwebp-dev libpq-dev graphviz-dev \\\n              libldap2-dev libsasl2-dev\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n          lfs: true\n\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          # We need to fix the patch version here otherwise, snapshot tests\n          # with randomness will / may fail.\n          python-version: \"3.10.13\"\n\n      - name: Install pip and Pipenv\n        run: |\n          pip install -U pip pipenv\n        working-directory: backend\n\n      - name: Install project dependencies with pipenv\n        run: |\n          pipenv install --verbose --categories=packages,dev-packages,ldap-packages\n        working-directory: backend\n\n      - name: Run collectstatic (will download icons and build frontend)\n        run: make collectstatic\n        working-directory: backend\n\n      - name: Build Vue app as that can be tested via selenium.\n        run: |\n          npm ci\n          npm run build\n          nohup npm run serve &\n        working-directory: frontend\n\n      - name: Setup environment with worker\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment.yaml\n          init-shell: bash\n          cache-environment: true\n          post-cleanup: 'all'\n\n      - name: Run tests\n        run: |\n          make test\n        # Important: use shell that was initialized by micromamba.\n        shell: bash -el {0}\n        working-directory: backend\n\n      - name: Upload Python coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          flags: python\n          directory: backend\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  Python-Lint:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n          lfs: true\n\n      - name: Install Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install pip and Pipenv\n        run: pip install pip pipenv\n        working-directory: backend\n\n      - name: Install project dependencies with pipenv\n        run: make deps\n        working-directory: backend\n\n      - name: Run all lints\n        run: |\n          rm -rf src\n          make lint\n        working-directory: backend\n\n      - name: Check for OpenAPI schema changes.\n        run: |\n          pipenv run python manage.py spectacular \\\n          | sed -e 's/^  version:.*/  version: VERSION/g' \\\n          > /tmp/varfish_api_schema.yaml\n\n          diff \\\n            varfish/tests/drf_spectacular/varfish_api_schema.yaml \\\n            /tmp/varfish_api_schema.yaml\n        shell: bash -euo pipefail {0}\n        working-directory: backend\n\n  Node-Lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n          lfs: true\n\n      - name: Install javascript dependencies\n        run: |\n          make deps\n        working-directory: frontend\n\n      - name: Run linting\n        run: |\n          make lint\n        working-directory: frontend\n\n\n  Node-Test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n          lfs: true\n\n      - name: Install javascript dependencies\n        run: |\n          make deps\n        working-directory: frontend\n\n      - name: Run Vue app tests\n        run: |\n          make test\n        working-directory: frontend\n\n      - name: Upload nodejs coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          flags: nodejs\n          directory: frontend\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "varfish-org/varfish-server"}
{"mined_at": "2024-07-15T18:55:49.538280", "created_at": "2023-02-03T10:03:58+01:00", "updated_at": "2023-02-03T10:03:58+01:00", "name": "release-please", "path": ".github/workflows/release-please.yml", "contents": "on:\n  push:\n    branches:\n      - main\n\nname: release-please\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Create GitHub release\n        uses: GoogleCloudPlatform/release-please-action@v4\n        id: release\n        with:\n          release-type: python\n          package-name: varfish-server\n          token: ${{ secrets.BOT_TOKEN }}\n\n  build-publish:\n    runs-on: ubuntu-latest\n    needs: release\n    steps:\n\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        if: ${{ steps.release.outputs.release_created }}\n        with:\n          fetch-depth: '1'\n          submodules: 'recursive'\n          lfs: true\n\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3.2.0\n        if: ${{ steps.release.outputs.release_created }}\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push Docker prerelease image\n        if: ${{ steps.release.outputs.release_created && github.event.release.prerelease }}\n        uses: docker/build-push-action@v3\n        with:\n          context: docker\n          push: true\n          # NB: no \"latest\" tag in contrast to true release\n          tags: \"ghcr.io/varfish-org/varfish-server:${{ needs.release.outputs.tag_name_no_v }}\"\n\n      - name: Build and push Docker release image\n        if: ${{ steps.release.outputs.release_created && !github.event.release.prerelease }}\n        uses: docker/build-push-action@v3\n        with:\n          context: docker\n          push: true\n          tags: \"ghcr.io/varfish-org/varfish-server:latest,ghcr.io/varfish-org/varfish-server:${{ needs.release.outputs.tag_name_no_v }}\"\n", "state": "active", "repository": "varfish-org/varfish-server"}
{"mined_at": "2024-07-15T18:55:50.524033", "created_at": "2024-07-15T06:18:02+02:00", "updated_at": "2024-07-15T06:18:02+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "varfish-org/varfish-server"}
{"mined_at": "2024-07-15T18:55:51.577914", "created_at": "2023-09-22T13:55:05+02:00", "updated_at": "2023-09-22T13:55:05+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "varfish-org/varfish-server"}
{"mined_at": "2024-07-15T18:55:53.753462", "created_at": "2024-04-16T06:38:39+02:00", "updated_at": "2024-04-16T07:41:32+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [\"main\"]\n  schedule:\n    - cron: \"0 0 * * 1\"\n\npermissions:\n  contents: read\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [\"python\"]\n        # CodeQL supports [ $supported-codeql-languages ]\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: Checkout repository\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          languages: ${{ matrix.language }}\n          # If you wish to specify custom queries, you can do so here or in a config file.\n          # By default, queries listed here will override any specified in a config file.\n          # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n\n      # ℹ️ Command-line programs to run using the OS shell.\n      # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n      #   If the Autobuild fails above, remove it and uncomment the following three lines.\n      #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n      # - run: |\n      #   echo \"Run, Build Application using script\"\n      #   ./location_of_script_within_repo/buildscript.sh\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          category: \"/language:${{matrix.language}}\"\n\n", "state": "active", "repository": "wagov/wasocshared"}
{"mined_at": "2024-07-15T18:55:54.866548", "created_at": "2024-04-16T06:38:39+02:00", "updated_at": "2024-04-16T07:23:51+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request,\n# surfacing known-vulnerable versions of the packages declared or updated in the PR.\n# Once installed, if the workflow run is marked as required,\n# PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: 'Checkout Repository'\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@72eb03d02c7872a771aacd928f3123ac62ad6d3a # v4.3.3\n", "state": "active", "repository": "wagov/wasocshared"}
{"mined_at": "2024-07-15T18:55:56.007766", "created_at": "2024-04-16T06:05:01+02:00", "updated_at": "2024-04-16T06:05:01+02:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '43 13 * * 3'\n  push:\n    branches: [ \"main\" ]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: \"Checkout code\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard (optional).\n      # Commenting out will disable upload of results to your repo's Code Scanning dashboard\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "wagov/wasocshared"}
{"mined_at": "2024-07-15T18:55:57.171384", "created_at": "2023-08-14T04:52:00+02:00", "updated_at": "2024-04-30T05:26:05+02:00", "name": "Send advisory", "path": ".github/workflows/send-advisory.yml", "contents": "name: Send advisory\n\non:\n  push:\n    branches: ['main']\n\n\nenv: # sendgrid api token\n  sendgrid_api: ${{ secrets.SENDGRID_API }}\n\npermissions:\n  contents: read\n\njobs:\n  send-modified-files:\n    name: Send advisory files created in last hour\n    runs-on: ubuntu-latest\n    environment:\n      name: communication\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: Checkout docs\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n            fetch-depth: 2\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.11'\n          cache: 'pip' # caching pip dependencies\n      - name: install requirements\n        run: pip install -r requirements.txt\n      - name: Send advisories\n        run: ./.github/scripts/send-advisory.py --auto\n", "state": "active", "repository": "wagov/wasocshared"}
{"mined_at": "2024-07-15T18:55:58.252746", "created_at": "2023-03-22T01:07:11+01:00", "updated_at": "2023-03-22T01:07:11+01:00", "name": "Deploy TLP:CLEAR content to Pages", "path": ".github/workflows/tlpclear-githubpages.yml", "contents": "# Simple workflow for deploying static content to GitHub Pages\nname: Deploy TLP:CLEAR content to Pages\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches: [\"main\"]\n\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# Allow one concurrent deployment\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: true\n\njobs:\n  format-markdown:\n    permissions:\n      contents: write\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n      - name: Checkout\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.11\"\n          cache: \"pip\" # caching pip dependencies\n      - name: install mkdocs\n        run: pip install -r requirements.txt\n      - name: run mdformat\n        run: mdformat .\n      - uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1\n        with:\n          commit_message: Format markdown docs\n  deploy:\n    permissions:\n      contents: read\n      pages: write\n      id-token: write\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    needs: format-markdown\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n      - name: Checkout\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.11\"\n          cache: \"pip\" # caching pip dependencies\n      - name: install mkdocs\n        run: pip install -r requirements.txt\n      - name: build site\n        run: python -m mkdocs build --strict\n      - name: build rss feeds\n        run: python generate_rss.py\n      - name: Setup Pages\n        uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1\n        with:\n          # Upload built site\n          path: 'site'\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5\n", "state": "active", "repository": "wagov/wasocshared"}
{"mined_at": "2024-07-15T18:55:59.385517", "created_at": "2023-06-07T05:57:52+02:00", "updated_at": "2023-06-07T05:57:52+02:00", "name": "Test building TLP:CLEAR content", "path": ".github/workflows/tlpclear-testing.yml", "contents": "# Simple workflow for testing mkdocs build\nname: Test building TLP:CLEAR content\n\non: [push, pull_request, workflow_dispatch]\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Harden Runner\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit\n\n      - name: Checkout\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.11'\n          cache: 'pip' # caching pip dependencies\n      - name: install mkdocs\n        run: pip install -r requirements.txt\n      - name: run mdformat\n        run: mdformat .\n      - name: build site\n        run:  python -m mkdocs build --strict\n", "state": "active", "repository": "wagov/wasocshared"}
{"mined_at": "2024-07-15T18:56:00.382326", "created_at": "2023-06-07T07:40:25+02:00", "updated_at": "2023-06-07T07:40:25+02:00", "name": "Codespaces Prebuilds", "path": "dynamic/codespaces/create_codespaces_prebuilds", "contents": null, "state": "active", "repository": "wagov/wasocshared"}
{"mined_at": "2024-07-15T18:56:01.386507", "created_at": "2023-06-15T07:51:43+02:00", "updated_at": "2023-06-15T07:51:43+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "wagov/wasocshared"}
{"mined_at": "2024-07-15T18:56:03.583621", "created_at": "2023-02-10T12:00:37+01:00", "updated_at": "2024-02-07T15:50:30+01:00", "name": "Test if all packages build", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "bit-bots/bitbots_main"}
{"mined_at": "2024-07-15T18:56:04.814444", "created_at": "2024-01-31T10:39:40+01:00", "updated_at": "2024-01-31T14:38:58+01:00", "name": "Build & Test", "path": ".github/workflows/ci.yml", "contents": "name: Build & Test\non:\n  schedule:\n    - cron: '0 0 * * *'\n  push:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    container:\n      image: ubuntu:jammy\n\n    steps:\n      - name: Cancel outdated jobs\n        uses: fkirc/skip-duplicate-actions@v5\n        with:\n          cancel_others: 'true'\n      - name: Set up ROS ecosystem\n        uses: ros-tooling/setup-ros@v0.7\n\n      - name: Check out repository\n        uses: actions/checkout@v4\n\n      - name: Configure git to trust repository\n        run: git config --global --add safe.directory /__w/bitbots_main/bitbots_main\n\n      - name: Add '$HOME/.local/bin' to PATH\n        run: |\n          mkdir -p $HOME/.local/bin\n          echo \"PATH=$PATH:/github/home/.local/bin\" >> \"$GITHUB_ENV\"\n\n      - name: Pull source code for libraries and install dependencies\n        run: make install HTTPS=true ARGS=\"--ci\"\n\n      - name: Set up colcon workspace\n        run: |\n          mkdir -p /colcon_ws/src\n          ln -s $(realpath .) /colcon_ws/src/bitbots_main\n\n      - name: Build packages\n        run: |\n          . /opt/ros/iron/setup.sh\n          colcon build --symlink-install\n        working-directory: /colcon_ws\n\n      - name: Test packages\n        run: |\n          # Source workspace\n          . /opt/ros/iron/setup.sh\n          . install/setup.sh\n          # Run tests for all packages\n          colcon test --event-handlers console_direct+ --return-code-on-test-failure --parallel-workers 1\n        working-directory: /colcon_ws\n", "state": "active", "repository": "bit-bots/bitbots_main"}
{"mined_at": "2024-07-15T18:56:06.040885", "created_at": "2024-01-18T12:00:01+01:00", "updated_at": "2024-01-23T21:25:31+01:00", "name": "Code style checks", "path": ".github/workflows/pre-commit.yml", "contents": "name: Code style checks\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n      - name: Install cppcheck\n        run: sudo apt install cppcheck -y\n      - uses: pre-commit/action@v3.0.0\n", "state": "active", "repository": "bit-bots/bitbots_main"}
{"mined_at": "2024-07-15T18:56:08.097449", "created_at": "2024-02-08T17:55:32+01:00", "updated_at": "2024-02-08T17:55:32+01:00", "name": "PR review", "path": ".github/workflows/auto_pr_review.yaml", "contents": "name: \"PR review\"\non:\n  pull_request_target:\n    types: [opened, reopened, synchronize, edited, edited]\n\njobs:\n  labeler:\n    name: review\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: false\n\n    # Label PRs\n    - uses: actions/labeler@v5.0.0\n      with:\n        dot: true\n        configuration-path: .github/labeler.yaml\n\n    # Check PR target branch\n    - name: check branch\n      uses: Vankka/pr-target-branch-action@def32ec9d93514138d6ac0132ee62e120a72aed5\n      if: github.repository == 'commaai/openpilot'\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        target: /^(?!master$).*/\n        exclude: /commaai:.*/\n        change-to: ${{ github.base_ref }}\n        already-exists-action: close_this\n        already-exists-comment: \"Your PR should be made against the `master` branch\"\n\n    # Welcome comment\n    - name: comment\n      uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6\n      if: github.event.pull_request.head.repo.full_name != 'commaai/openpilot'\n      with:\n        message: |\n            <!-- _(run_id **${{ github.run_id }}**)_ -->\n            Thanks for contributing to openpilot! In order for us to review your PR as quickly as possible, check the following:\n            * Convert your PR to a draft unless it's ready to review\n            * Read the [contributing docs](https://github.com/commaai/openpilot/blob/master/docs/CONTRIBUTING.md)\n            * Before marking as \"ready for review\", ensure:\n              * the goal is clearly stated in the description\n              * all the tests are passing\n              * the change is [something we merge](https://github.com/commaai/openpilot/blob/master/docs/CONTRIBUTING.md#what-gets-merged)\n              * include a route or your device' dongle ID if relevant\n        comment_tag: run_id\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "sunnypilot/sunnypilot"}
{"mined_at": "2024-07-15T18:56:09.216427", "created_at": "2023-06-04T02:40:54+02:00", "updated_at": "2023-06-04T02:40:54+02:00", "name": "badges", "path": ".github/workflows/badges.yaml", "contents": "name: badges\non:\n  schedule:\n    - cron: '0 * * * *'\n  workflow_dispatch:\n\nenv:\n  BASE_IMAGE: openpilot-base\n  DOCKER_REGISTRY: ghcr.io/commaai\n  RUN: docker run --shm-size 1G -v $PWD:/tmp/openpilot -w /tmp/openpilot -e PYTHONPATH=/tmp/openpilot -e NUM_JOBS -e JOB_ID -e GITHUB_ACTION -e GITHUB_REF -e GITHUB_HEAD_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -v $GITHUB_WORKSPACE/.ci_cache/scons_cache:/tmp/scons_cache -v $GITHUB_WORKSPACE/.ci_cache/comma_download_cache:/tmp/comma_download_cache -v $GITHUB_WORKSPACE/.ci_cache/openpilot_cache:/tmp/openpilot_cache $DOCKER_REGISTRY/$BASE_IMAGE:latest /bin/bash -c\n\njobs:\n  badges:\n    name: create badges\n    runs-on: ubuntu-latest\n    if: github.repository == 'commaai/openpilot'\n    permissions:\n      contents: write\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Push badges\n      run: |\n        ${{ env.RUN }} \"scons -j$(nproc) && python selfdrive/ui/translations/create_badges.py\"\n\n        rm .gitattributes\n\n        git checkout --orphan badges\n        git rm -rf --cached .\n        git config user.email \"badge-researcher@comma.ai\"\n        git config user.name \"Badge Researcher\"\n\n        git add translation_badge.svg\n        git commit -m \"Add/Update badges\"\n        git push -f origin HEAD\n", "state": "active", "repository": "sunnypilot/sunnypilot"}
{"mined_at": "2024-07-15T18:56:10.208544", "created_at": "2024-07-07T04:26:43+02:00", "updated_at": "2024-07-07T04:26:43+02:00", "name": "weekly CI test report", "path": ".github/workflows/ci_weekly_report.yaml", "contents": null, "state": "active", "repository": "sunnypilot/sunnypilot"}
{"mined_at": "2024-07-15T18:56:11.366379", "created_at": "2024-07-07T04:26:43+02:00", "updated_at": "2024-07-07T04:26:43+02:00", "name": "weekly CI test run", "path": ".github/workflows/ci_weekly_run.yaml", "contents": null, "state": "active", "repository": "sunnypilot/sunnypilot"}
{"mined_at": "2024-07-15T18:56:12.373844", "created_at": "2023-10-16T17:37:53+02:00", "updated_at": "2023-10-16T17:37:53+02:00", "name": "docs", "path": ".github/workflows/docs.yaml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\nconcurrency:\n  group: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.run_id || github.head_ref || github.ref }}-${{ github.workflow }}-${{ github.event_name }}\n  cancel-in-progress: true\n\nenv:\n  BASE_IMAGE: openpilot-base\n\n  BUILD: selfdrive/test/docker_build.sh base\n\n  RUN: docker run --shm-size 1G -v $GITHUB_WORKSPACE:/tmp/openpilot -w /tmp/openpilot -e FILEREADER_CACHE=1 -e PYTHONPATH=/tmp/openpilot -e NUM_JOBS -e JOB_ID -e GITHUB_ACTION -e GITHUB_REF -e GITHUB_HEAD_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -v $GITHUB_WORKSPACE/.ci_cache/scons_cache:/tmp/scons_cache -v $GITHUB_WORKSPACE/.ci_cache/comma_download_cache:/tmp/comma_download_cache -v $GITHUB_WORKSPACE/.ci_cache/openpilot_cache:/tmp/openpilot_cache $BASE_IMAGE /bin/bash -c\n\njobs:\n  docs:\n    name: build docs\n    runs-on: ubuntu-latest\n    timeout-minutes: 45\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Build openpilot\n      run: |\n        ${{ env.RUN }} \"scons -j$(nproc)\"\n    - name: Build docs\n      run: |\n        ${{ env.RUN }} \"apt update && apt install -y doxygen && cd docs && make -j$(nproc) html\"\n\n    - uses: actions/checkout@v4\n      if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'\n      with:\n        path: openpilot-docs\n        ssh-key: ${{ secrets.OPENPILOT_DOCS_KEY }}\n        repository: commaai/openpilot-docs\n    - name: Push\n      if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'\n      run: |\n        set -x\n\n        source release/identity.sh\n\n        cd openpilot-docs\n\n        git checkout --orphan tmp\n        git rm -rf .\n\n        cp -r ../build/docs/html/ docs/\n        cp -r ../docs/README.md .\n        touch docs/.nojekyll\n        echo -n docs.comma.ai > docs/CNAME\n        git add -f .\n\n        git commit -m \"build docs\"\n\n        # docs live in different repo to not bloat openpilot's full clone size\n        git push -f origin tmp:gh-pages\n", "state": "active", "repository": "sunnypilot/sunnypilot"}
{"mined_at": "2024-07-15T18:56:13.403451", "created_at": "2023-06-04T02:40:54+02:00", "updated_at": "2023-06-04T02:40:54+02:00", "name": "prebuilt", "path": ".github/workflows/prebuilt.yaml", "contents": "name: prebuilt\non:\n  schedule:\n    - cron: '0 * * * *'\n  workflow_dispatch:\n\nenv:\n  DOCKER_LOGIN: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}\n  BUILD: selfdrive/test/docker_build.sh prebuilt\n\njobs:\n  build_prebuilt:\n    name: build prebuilt\n    runs-on: ubuntu-latest\n    if: github.repository == 'commaai/openpilot'\n    env:\n      PUSH_IMAGE: true\n    permissions:\n      checks: read\n      contents: read\n      packages: write\n    steps:\n    - name: Wait for green check mark\n      if: ${{ github.event_name != 'workflow_dispatch' }}\n      uses: lewagon/wait-on-check-action@ccfb013c15c8afb7bf2b7c028fb74dc5a068cccc\n      with:\n        ref: master\n        wait-interval: 30\n        running-workflow-name: 'build prebuilt'\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        check-regexp: ^((?!.*(build master-ci).*).)*$\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - run: git lfs pull\n    - name: Build and Push docker image\n      run: |\n        $DOCKER_LOGIN\n        eval \"$BUILD\"\n", "state": "active", "repository": "sunnypilot/sunnypilot"}
{"mined_at": "2024-07-15T18:56:14.540026", "created_at": "2023-06-04T02:40:54+02:00", "updated_at": "2023-06-04T02:40:54+02:00", "name": "release", "path": ".github/workflows/release.yaml", "contents": "name: release\non:\n  schedule:\n    - cron: '0 10 * * *'\n  workflow_dispatch:\n\njobs:\n  build_masterci:\n    name: build master-ci\n    env:\n      TARGET_DIR: /tmp/openpilot\n      ImageOS: ubuntu20\n    container:\n      image: ghcr.io/commaai/openpilot-base:latest\n    runs-on: ubuntu-latest\n    if: github.repository == 'commaai/openpilot'\n    permissions:\n      checks: read\n      contents: write\n    steps:\n    - name: Install wait-on-check-action dependencies\n      run: |\n        sudo apt-get update\n        sudo apt-get install -y libyaml-dev\n    - name: Wait for green check mark\n      if: ${{ github.event_name != 'workflow_dispatch' }}\n      uses: lewagon/wait-on-check-action@ccfb013c15c8afb7bf2b7c028fb74dc5a068cccc\n      with:\n        ref: master\n        wait-interval: 30\n        running-workflow-name: 'build master-ci'\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        check-regexp: ^((?!.*(build prebuilt).*).)*$\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n        fetch-depth: 0\n    - name: Pull LFS\n      run: |\n        git config --global --add safe.directory '*'\n        git lfs pull\n    - name: Build master-ci\n      run: |\n        release/build_devel.sh\n    - name: Run tests\n      run: |\n        export PYTHONPATH=$TARGET_DIR\n        cd $TARGET_DIR\n        scons -j$(nproc)\n        pytest -n logical selfdrive/car/tests/test_car_interfaces.py\n    - name: Push master-ci\n      run: |\n        unset TARGET_DIR\n        BRANCH=master-ci release/build_devel.sh\n", "state": "active", "repository": "sunnypilot/sunnypilot"}
{"mined_at": "2024-07-15T18:56:15.581117", "created_at": "2023-09-06T06:45:22+02:00", "updated_at": "2023-09-06T06:45:22+02:00", "name": "repo maintenance", "path": ".github/workflows/repo-maintenance.yaml", "contents": "name: repo maintenance\n\non:\n  schedule:\n    - cron: \"0 14 * * 1\" # every Monday at 2am UTC (6am PST)\n  workflow_dispatch:\n\njobs:\n  bump_submodules:\n    name: bump_submodules\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/commaai/openpilot-base:latest\n    if: github.repository == 'commaai/openpilot'\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: bump submodules\n      run: |\n        git config --global --add safe.directory '*'\n        git -c submodule.\"tinygrad\".update=none submodule update --remote\n        git add .\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@9153d834b60caba6d51c9b9510b087acf9f33f83\n      with:\n        author: Vehicle Researcher <user@comma.ai>\n        token: ${{ secrets.ACTIONS_CREATE_PR_PAT }}\n        commit-message: bump submodules\n        title: '[bot] Bump submodules'\n        branch: auto-bump-submodules\n        base: master\n        delete-branch: true\n        body: 'Automatic PR from repo-maintenance -> bump_submodules'\n        labels: bot\n  package_updates:\n    name: package_updates\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/commaai/openpilot-base:latest\n    if: github.repository == 'commaai/openpilot'\n    steps:\n    - uses: actions/checkout@v4\n    - name: poetry lock\n      run: |\n        pip install poetry\n        poetry lock\n    - name: pre-commit autoupdate\n      run: |\n        git config --global --add safe.directory '*'\n        pre-commit autoupdate\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@9153d834b60caba6d51c9b9510b087acf9f33f83\n      with:\n        author: Vehicle Researcher <user@comma.ai>\n        token: ${{ secrets.ACTIONS_CREATE_PR_PAT }}\n        commit-message: Update Python packages and pre-commit hooks\n        title: '[bot] Update Python packages and pre-commit hooks'\n        branch: auto-package-updates\n        base: master\n        delete-branch: true\n        body: 'Automatic PR from repo-maintenance -> package_updates'\n        labels: bot\n", "state": "active", "repository": "sunnypilot/sunnypilot"}
{"mined_at": "2024-07-15T18:56:16.589617", "created_at": "2021-12-27T09:43:50+01:00", "updated_at": "2023-06-04T02:40:54+02:00", "name": "selfdrive", "path": ".github/workflows/selfdrive_tests.yaml", "contents": "name: selfdrive\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.run_id || github.head_ref || github.ref }}-${{ github.workflow }}-${{ github.event_name }}\n  cancel-in-progress: true\n\nenv:\n  PYTHONWARNINGS: error\n  BASE_IMAGE: openpilot-base\n  AZURE_TOKEN: ${{ secrets.AZURE_COMMADATACI_OPENPILOTCI_TOKEN }}\n\n  DOCKER_LOGIN: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}\n  BUILD: selfdrive/test/docker_build.sh base\n\n  RUN: docker run --shm-size 1G -v $PWD:/tmp/openpilot -w /tmp/openpilot -e CI=1 -e PRE_COMMIT_HOME=/tmp/pre-commit -e PYTHONWARNINGS=error -e FILEREADER_CACHE=1 -e PYTHONPATH=/tmp/openpilot -e NUM_JOBS -e JOB_ID -e GITHUB_ACTION -e GITHUB_REF -e GITHUB_HEAD_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -v $GITHUB_WORKSPACE/.ci_cache/pre-commit:/tmp/pre-commit -v $GITHUB_WORKSPACE/.ci_cache/scons_cache:/tmp/scons_cache -v $GITHUB_WORKSPACE/.ci_cache/comma_download_cache:/tmp/comma_download_cache -v $GITHUB_WORKSPACE/.ci_cache/openpilot_cache:/tmp/openpilot_cache $BASE_IMAGE /bin/bash -c\n\n  PYTEST: pytest --continue-on-collection-errors --cov --cov-report=xml --cov-append --durations=0 --durations-min=5 --hypothesis-seed 0 -n logical\n\njobs:\n  build_release:\n    name: build release\n    runs-on: ${{ ((github.repository == 'commaai/openpilot') &&\n                   ((github.event_name != 'pull_request') ||\n                    (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}\n    env:\n      STRIPPED_DIR: /tmp/releasepilot\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - run: git lfs pull\n    - name: Build devel\n      timeout-minutes: 1\n      run: TARGET_DIR=$STRIPPED_DIR release/build_devel.sh\n    - uses: ./.github/workflows/setup-pre-commit\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Check submodules\n      if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'\n      timeout-minutes: 1\n      run: release/check-submodules.sh\n    - name: Build openpilot and run checks\n      timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache\n      run: |\n        cd $STRIPPED_DIR\n        ${{ env.RUN }} \"python system/manager/build.py\"\n    - name: Run tests\n      timeout-minutes: 3\n      run: |\n        cd $STRIPPED_DIR\n        ${{ env.RUN }} \"release/check-dirty.sh && \\\n                        MAX_EXAMPLES=5 $PYTEST -m 'not slow' selfdrive/car\"\n    - name: pre-commit\n      timeout-minutes: 3\n      run: |\n        cd $GITHUB_WORKSPACE\n        cp .pre-commit-config.yaml $STRIPPED_DIR\n        cp pyproject.toml $STRIPPED_DIR\n        cp poetry.lock $STRIPPED_DIR\n        cd $STRIPPED_DIR\n        ${{ env.RUN }} \"unset PYTHONWARNINGS && SKIP=check-added-large-files,check-hooks-apply,check-useless-excludes pre-commit run --all && chmod -R 777 /tmp/pre-commit\"\n\n  build:\n    strategy:\n      matrix:\n        arch: ${{ fromJson(\n           ((github.repository == 'commaai/openpilot') &&\n              ((github.event_name != 'pull_request') ||\n               (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && '[\"x86_64\", \"aarch64\"]' || '[\"x86_64\"]' ) }}\n    runs-on: ${{ (matrix.arch == 'aarch64') && 'namespace-profile-arm64-2x8' || 'ubuntu-latest' }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Setup docker push\n      if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot'\n      run: |\n        echo \"PUSH_IMAGE=true\" >> \"$GITHUB_ENV\"\n        echo \"TARGET_ARCHITECTURE=${{ matrix.arch }}\" >> \"$GITHUB_ENV\"\n        $DOCKER_LOGIN\n    - uses: ./.github/workflows/setup-with-retry\n      with:\n        docker_hub_pat: ${{ secrets.DOCKER_HUB_PAT }}\n    - uses: ./.github/workflows/compile-openpilot\n      timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 15 || 30) }} # allow more time when we missed the scons cache\n\n  docker_push_multiarch:\n    name: docker push multiarch tag\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot'\n    needs: [build]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: false\n    - name: Setup docker\n      run: |\n        $DOCKER_LOGIN\n    - name: Merge x64 and arm64 tags\n      run: |\n        export PUSH_IMAGE=true\n        scripts/retry.sh selfdrive/test/docker_tag_multiarch.sh base x86_64 aarch64\n\n  static_analysis:\n    name: static analysis\n    runs-on: ${{ ((github.repository == 'commaai/openpilot') &&\n                   ((github.event_name != 'pull_request') ||\n                    (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-pre-commit\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Build openpilot\n      run: ${{ env.RUN }} \"scons -j$(nproc)\"\n    - name: pre-commit\n      timeout-minutes: 4\n      run: ${{ env.RUN }} \"unset PYTHONWARNINGS && pre-commit run --all && chmod -R 777 /tmp/pre-commit\"\n\n  unit_tests:\n    name: unit tests\n    runs-on: ${{ ((github.repository == 'commaai/openpilot') &&\n                   ((github.event_name != 'pull_request') ||\n                    (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n      with:\n        docker_hub_pat: ${{ secrets.DOCKER_HUB_PAT }}\n    - name: Build openpilot\n      timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 10 || 30) }} # allow more time when we missed the scons cache\n      run: ${{ env.RUN }} \"scons -j$(nproc)\"\n    - name: Run unit tests\n      timeout-minutes: 15\n      run: |\n        ${{ env.RUN }} \"source selfdrive/test/setup_xvfb.sh && \\\n                        export MAPBOX_TOKEN='pk.eyJ1Ijoiam5ld2IiLCJhIjoiY2xxNW8zZXprMGw1ZzJwbzZneHd2NHljbSJ9.gV7VPRfbXFetD-1OVF0XZg' && \\\n                        $PYTEST --timeout 60 -m 'not slow' && \\\n                        ./selfdrive/ui/tests/create_test_translations.sh && \\\n                        QT_QPA_PLATFORM=offscreen ./selfdrive/ui/tests/test_translations && \\\n                        pytest ./selfdrive/ui/tests/test_translations.py\"\n    - name: \"Upload coverage to Codecov\"\n      uses: codecov/codecov-action@v4\n      with:\n        name: ${{ github.job }}\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  process_replay:\n    name: process replay\n    runs-on: ${{ ((github.repository == 'commaai/openpilot') &&\n                   ((github.event_name != 'pull_request') ||\n                    (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n      with:\n        docker_hub_pat: ${{ secrets.DOCKER_HUB_PAT }}\n    - name: Cache test routes\n      id: dependency-cache\n      uses: actions/cache@v4\n      with:\n        path: .ci_cache/comma_download_cache\n        key: proc-replay-${{ hashFiles('.github/workflows/selfdrive_tests.yaml', 'selfdrive/test/process_replay/ref_commit', 'selfdrive/test/process_replay/test_regen.py') }}\n    - name: Build openpilot\n      run: |\n        ${{ env.RUN }} \"scons -j$(nproc)\"\n    - name: Run replay\n      timeout-minutes: 30\n      run: |\n        ${{ env.RUN }} \"coverage run selfdrive/test/process_replay/test_processes.py -j$(nproc) && \\\n                        chmod -R 777 /tmp/comma_download_cache && \\\n                        coverage combine && \\\n                        coverage xml\"\n    - name: Print diff\n      id: print-diff\n      if: always()\n      run: cat selfdrive/test/process_replay/diff.txt\n    - uses: actions/upload-artifact@v4\n      if: always()\n      continue-on-error: true\n      with:\n        name: process_replay_diff.txt\n        path: selfdrive/test/process_replay/diff.txt\n    - name: Upload reference logs\n      if: ${{ failure() && steps.print-diff.outcome == 'success' && github.repository == 'commaai/openpilot' && env.AZURE_TOKEN != '' }}\n      run: |\n        ${{ env.RUN }} \"unset PYTHONWARNINGS && AZURE_TOKEN='$AZURE_TOKEN' python selfdrive/test/process_replay/test_processes.py -j$(nproc) --upload-only\"\n    # PYTHONWARNINGS triggers a SyntaxError in onnxruntime\n    - name: Run model replay with ONNX\n      timeout-minutes: 4\n      run: |\n        ${{ env.RUN }} \"unset PYTHONWARNINGS && \\\n                        ONNXCPU=1 NO_NAV=1 coverage run selfdrive/test/process_replay/model_replay.py && \\\n                        coverage combine && coverage xml\"\n    - name: Run regen\n      timeout-minutes: 4\n      run: |\n        ${{ env.RUN }} \"ONNXCPU=1 $PYTEST selfdrive/test/process_replay/test_regen.py && \\\n                        chmod -R 777 /tmp/comma_download_cache\"\n    - name: \"Upload coverage to Codecov\"\n      uses: codecov/codecov-action@v4\n      with:\n        name: ${{ github.job }}\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  test_cars:\n    name: cars\n    runs-on: ${{ ((github.repository == 'commaai/openpilot') &&\n                   ((github.event_name != 'pull_request') ||\n                    (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-latest' }}\n    strategy:\n      fail-fast: false\n      matrix:\n        job: [0, 1]\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Cache test routes\n      id: dependency-cache\n      uses: ./.github/workflows/auto-cache\n      with:\n        path: .ci_cache/comma_download_cache\n        key: car_models-${{ hashFiles('selfdrive/car/tests/test_models.py', 'selfdrive/car/tests/routes.py') }}-${{ matrix.job }}\n    - name: Build openpilot\n      run: ${{ env.RUN }} \"scons -j$(nproc)\"\n    - name: Test car models\n      timeout-minutes: 20\n      run: |\n        ${{ env.RUN }} \"$PYTEST selfdrive/car/tests/test_models.py && \\\n                        chmod -R 777 /tmp/comma_download_cache\"\n      env:\n        NUM_JOBS: 2\n        JOB_ID: ${{ matrix.job }}\n    - name: \"Upload coverage to Codecov\"\n      uses: codecov/codecov-action@v4\n      with:\n        name: ${{ github.job }}-${{ matrix.job }}\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  car_docs_diff:\n    name: PR comments\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          ref: ${{ github.event.pull_request.base.ref }}\n      - run: git lfs pull\n      - uses: ./.github/workflows/setup-with-retry\n      - name: Get base car info\n        run: |\n          ${{ env.RUN }} \"scons -j$(nproc) && python selfdrive/debug/dump_car_docs.py --path /tmp/openpilot_cache/base_car_docs\"\n          sudo chown -R $USER:$USER ${{ github.workspace }}\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          path: current\n      - run: cd current && git lfs pull\n      - name: Save car docs diff\n        id: save_diff\n        run: |\n          cd current\n          ${{ env.RUN }} \"scons -j$(nproc)\"\n          output=$(${{ env.RUN }} \"python selfdrive/debug/print_docs_diff.py --path /tmp/openpilot_cache/base_car_docs\")\n          output=\"${output//$'\\n'/'%0A'}\"\n          echo \"::set-output name=diff::$output\"\n      - name: Find comment\n        if: ${{ env.AZURE_TOKEN != '' }}\n        uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e\n        id: fc\n        with:\n          issue-number: ${{ github.event.pull_request.number }}\n          body-includes: This PR makes changes to\n      - name: Update comment\n        if: ${{ steps.save_diff.outputs.diff != '' && env.AZURE_TOKEN != '' }}\n        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043\n        with:\n          comment-id: ${{ steps.fc.outputs.comment-id }}\n          issue-number: ${{ github.event.pull_request.number }}\n          body: \"${{ steps.save_diff.outputs.diff }}\"\n          edit-mode: replace\n      - name: Delete comment\n        if: ${{ steps.fc.outputs.comment-id != '' && steps.save_diff.outputs.diff == '' && env.AZURE_TOKEN != '' }}\n        uses: actions/github-script@v7\n        with:\n          script: |\n            github.rest.issues.deleteComment({\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              comment_id: ${{ steps.fc.outputs.comment-id }}\n            })\n\n  create_ui_report:\n    name: Create UI Report\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n      - uses: ./.github/workflows/setup-with-retry\n      - name: Build openpilot\n        run: ${{ env.RUN }} \"scons -j$(nproc)\"\n      - name: Create Test Report\n        run: >\n            ${{ env.RUN }} \"PYTHONWARNINGS=ignore &&\n                            source selfdrive/test/setup_xvfb.sh &&\n                            export MAPBOX_TOKEN='pk.eyJ1Ijoiam5ld2IiLCJhIjoiY2xxNW8zZXprMGw1ZzJwbzZneHd2NHljbSJ9.gV7VPRfbXFetD-1OVF0XZg' &&\n                            python selfdrive/ui/tests/test_ui/run.py\"\n      - name: Upload Test Report\n        uses: actions/upload-artifact@v4\n        with:\n          name: report\n          path: selfdrive/ui/tests/test_ui/report\n", "state": "active", "repository": "sunnypilot/sunnypilot"}
{"mined_at": "2024-07-15T18:56:17.759943", "created_at": "2024-02-08T17:55:32+01:00", "updated_at": "2024-02-08T17:55:32+01:00", "name": "stale", "path": ".github/workflows/stale.yaml", "contents": "name: stale\non:\n  schedule:\n    - cron: '30 1 * * *'\n  workflow_dispatch:\n\nenv:\n  DAYS_BEFORE_PR_CLOSE: 3\n  DAYS_BEFORE_PR_STALE: 14\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          exempt-milestones: true\n\n          # pull request config\n          stale-pr-message: 'This PR has had no activity for ${{ env.DAYS_BEFORE_PR_STALE }} days. It will be automatically closed in ${{ env.DAYS_BEFORE_PR_CLOSE }} days if there is no activity.'\n          close-pr-message: 'This PR has been automatically closed due to inactivity. Feel free to re-open once activity resumes.'\n          stale-pr-label: stale\n          delete-branch: ${{ github.event.pull_request.head.repo.full_name == 'commaai/openpilot' }} # only delete branches on the main repo\n          exempt-pr-labels: \"ignore stale,needs testing,car port,car\" # if wip or it needs testing from the community, don't mark as stale\n          days-before-pr-stale: ${{ env.DAYS_BEFORE_PR_STALE }}\n          days-before-pr-close: ${{ env.DAYS_BEFORE_PR_CLOSE }}\n\n          # issue config\n          days-before-issue-stale: -1 # ignore issues for now\n", "state": "active", "repository": "sunnypilot/sunnypilot"}
{"mined_at": "2024-07-15T18:56:18.762863", "created_at": "2021-12-27T09:43:50+01:00", "updated_at": "2023-06-04T02:40:54+02:00", "name": "tools", "path": ".github/workflows/tools_tests.yaml", "contents": "name: tools\n\non:\n  push:\n    branches:\n      - master\n  pull_request:\n\nconcurrency:\n  group: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.run_id || github.head_ref || github.ref }}-${{ github.workflow }}-${{ github.event_name }}\n  cancel-in-progress: true\n\nenv:\n  BASE_IMAGE: openpilot-base\n  DOCKER_LOGIN: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}\n\n  BUILD: selfdrive/test/docker_build.sh base\n\n  RUN: docker run --shm-size 1G -v $GITHUB_WORKSPACE:/tmp/openpilot -w /tmp/openpilot -e FILEREADER_CACHE=1 -e PYTHONPATH=/tmp/openpilot -e NUM_JOBS -e JOB_ID -e GITHUB_ACTION -e GITHUB_REF -e GITHUB_HEAD_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -v $GITHUB_WORKSPACE/.ci_cache/scons_cache:/tmp/scons_cache -v $GITHUB_WORKSPACE/.ci_cache/comma_download_cache:/tmp/comma_download_cache -v $GITHUB_WORKSPACE/.ci_cache/openpilot_cache:/tmp/openpilot_cache $BASE_IMAGE /bin/bash -c\n\n\njobs:\n  simulator_driving:\n    name: simulator driving\n    runs-on: ubuntu-latest\n    timeout-minutes: 20\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Build openpilot\n      run: |\n        ${{ env.RUN }} \"scons -j$(nproc)\"\n    - name: Run bridge test\n      run: |\n        ${{ env.RUN }} \"export MAPBOX_TOKEN='pk.eyJ1Ijoiam5ld2IiLCJhIjoiY2xxNW8zZXprMGw1ZzJwbzZneHd2NHljbSJ9.gV7VPRfbXFetD-1OVF0XZg' && \\\n                        source selfdrive/test/setup_xvfb.sh && \\\n                        source selfdrive/test/setup_vsound.sh && \\\n                        CI=1 pytest tools/sim/tests/test_metadrive_bridge.py\"\n\n  devcontainer:\n    name: devcontainer\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n    - uses: ./.github/workflows/setup-with-retry\n    - name: Use local image for testing devcontainer with latest base image\n      run: |\n        echo \"USE_LOCAL_IMAGE=true\" >> \"$GITHUB_ENV\"\n    - name: Setup Dev Container CLI\n      run: npm install -g @devcontainers/cli\n    - name: Build dev container image\n      run: ./scripts/retry.sh devcontainer build --workspace-folder .\n    - name: Run dev container\n      run: |\n        mkdir -p /tmp/devcontainer_scons_cache/\n        cp -r $GITHUB_WORKSPACE/.ci_cache/scons_cache/. /tmp/devcontainer_scons_cache/\n        devcontainer up --workspace-folder .\n    - name: Test environment\n      run: |\n        devcontainer exec --workspace-folder . scons -j$(nproc) cereal/ common/\n        devcontainer exec --workspace-folder . pip install pip-install-test\n        devcontainer exec --workspace-folder . touch /home/batman/.comma/auth.json\n        devcontainer exec --workspace-folder . sudo touch /root/test.txt\n", "state": "active", "repository": "sunnypilot/sunnypilot"}
{"mined_at": "2024-07-15T18:56:20.758248", "created_at": "2022-06-08T18:17:50+02:00", "updated_at": "2024-03-29T01:36:47+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\n# Set default shell as interactive (source ~/.bashrc)\ndefaults:\n  run:\n    shell: bash -ieo pipefail {0}\n\n# Run only one instance of this workflow at a time\n# cancel-in-progress: stop running workflow and run latest instead\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  push:\n    branches: '*'\n  pull_request:\n    branches: '*'\n  # Allow manual workflow runs\n  workflow_dispatch:\n\njobs:\n\n  pc-emul:\n    runs-on: self-hosted\n    timeout-minutes: 5\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n      - name: run test\n        run: make pc-emul-test\n\n  simulation:\n    runs-on: self-hosted\n    timeout-minutes: 30\n    # run even if previous job failed\n    if: ${{ !cancelled() }}\n    needs: [ pc-emul ]\n  \n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n      - name: run test\n        run: nix-shell --run \"make sim-test\"\n  \n  cyclonev:\n    runs-on: self-hosted\n    timeout-minutes: 60\n    if: ${{ !cancelled() }}\n    needs: [ simulation ]\n  \n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n      - name: init mem and no ext mem\n        run: make fpga-run BOARD=CYCLONEV-GT-DK INIT_MEM=1 USE_EXTMEM=0\n      - name: no init mem and ext mem\n        run: make fpga-run BOARD=CYCLONEV-GT-DK INIT_MEM=0 USE_EXTMEM=1\n  \n  ku040:\n    runs-on: self-hosted\n    timeout-minutes: 90\n    if: ${{ !cancelled() }}\n    needs: [ simulation ]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n      - name: init mem and no ext mem\n        run: make fpga-run BOARD=AES-KU040-DB-G INIT_MEM=1 USE_EXTMEM=0\n      - name: no init mem and ext mem\n        run: make fpga-run BOARD=AES-KU040-DB-G INIT_MEM=0 USE_EXTMEM=1\n\n  lib:\n    runs-on: self-hosted\n    timeout-minutes: 5\n    if: ${{ !cancelled() }}\n    needs: [ cyclonev ]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n      - name: run LIB test\n        run: nix-shell --run \"cd submodules/LIB; ./scripts/test.sh test\"\n\n  uart:\n    runs-on: self-hosted\n    timeout-minutes: 5\n    if: ${{ !cancelled() }}\n    needs: [ lib ]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n      - name: run uart test\n        run: make -C submodules/UART test\n\n  cache:\n    runs-on: self-hosted\n    timeout-minutes: 20\n    if: ${{ !cancelled() }}\n    needs: [ cyclonev ]\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n      - name: run simulation test\n        run: make -C submodules/CACHE sim-test\n      - name: run fpga test\n        run: make -C submodules/CACHE fpga-test\n  doc:\n    runs-on: self-hosted\n    timeout-minutes: 60\n    if: ${{ !cancelled() }}\n    needs: [ cyclonev ]\n  \n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: 'recursive'\n      - name: doc test\n        run: nix-shell --run \"make -C ../iob_soc_V* doc-test\"\n", "state": "active", "repository": "IObundle/iob-soc"}
{"mined_at": "2024-07-15T18:56:22.722239", "created_at": "2022-12-22T22:55:19+01:00", "updated_at": "2023-11-06T15:01:38+01:00", "name": "Release", "path": ".github/workflows/release.yaml", "contents": "---\n# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json\nname: \"Release\"\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 1 * *\"\n\njobs:\n  release:\n    if: ${{ github.repository == 'onedr0p/cluster-template' }}\n    name: Release\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Create Release\n        shell: bash\n        env:\n          GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n        run: |\n          # Retrieve previous release tag\n          previous_tag=\"$(gh release list --limit 1 | awk '{ print $1 }')\"\n          previous_major=\"${previous_tag%%\\.*}\"\n          previous_minor=\"${previous_tag#*.}\"\n          previous_minor=\"${previous_minor%.*}\"\n          previous_patch=\"${previous_tag##*.}\"\n          # Determine next release tag\n          next_major_minor=\"$(date +'%Y').$(date +'%-m')\"\n          if [[ \"${previous_major}.${previous_minor}\" == \"${next_major_minor}\" ]]; then\n              echo \"Month release already exists for year, incrementing patch number by 1\"\n              next_patch=\"$((previous_patch + 1))\"\n          else\n              echo \"Month release does not exist for year, setting patch number to 0\"\n              next_patch=\"0\"\n          fi\n          # Create release\n          release_tag=\"${next_major_minor}.${next_patch}\"\n          gh release create \"${release_tag}\" \\\n              --repo=\"${GITHUB_REPOSITORY}\" \\\n              --title=\"${release_tag}\" \\\n              --generate-notes\n", "state": "active", "repository": "onedr0p/cluster-template"}
{"mined_at": "2024-07-15T18:56:23.700433", "created_at": "2023-06-04T14:59:36+02:00", "updated_at": "2023-08-07T14:31:47+02:00", "name": "Flux Diff", "path": ".github/workflows/flux-diff.yaml", "contents": "---\n# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json\nname: \"Flux Diff\"\n\non:\n  pull_request:\n    branches: [\"main\"]\n    paths: [\"kubernetes/**\"]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  flux-diff:\n    name: Flux Diff\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write\n    strategy:\n      matrix:\n        paths: [\"kubernetes\"]\n        resources: [\"helmrelease\", \"kustomization\"]\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          path: pull\n\n      - name: Checkout Default Branch\n        uses: actions/checkout@v4\n        with:\n          ref: \"${{ github.event.repository.default_branch }}\"\n          path: default\n\n      - name: Diff Resources\n        uses: docker://ghcr.io/allenporter/flux-local:v5.3.1\n        with:\n          args: >-\n            diff ${{ matrix.resources }}\n            --unified 6\n            --path /github/workspace/pull/${{ matrix.paths }}/flux\n            --path-orig /github/workspace/default/${{ matrix.paths }}/flux\n            --strip-attrs \"helm.sh/chart,checksum/config,app.kubernetes.io/version,chart\"\n            --limit-bytes 10000\n            --all-namespaces\n            --sources \"home-kubernetes\"\n            --output-file diff.patch\n\n      - name: Generate Diff\n        id: diff\n        run: |\n          cat diff.patch\n          echo \"diff<<EOF\" >> $GITHUB_OUTPUT\n          cat diff.patch >> $GITHUB_OUTPUT\n          echo \"EOF\" >> $GITHUB_OUTPUT\n\n      - if: ${{ steps.diff.outputs.diff != '' }}\n        name: Add comment\n        uses: mshick/add-pr-comment@v2\n        with:\n          message-id: \"${{ github.event.pull_request.number }}/${{ matrix.paths }}/${{ matrix.resources }}\"\n          message-failure: Diff was not successful\n          message: |\n            ```diff\n            ${{ steps.diff.outputs.diff }}\n            ```\n", "state": "active", "repository": "onedr0p/cluster-template"}
{"mined_at": "2024-07-15T18:56:24.688496", "created_at": "2023-12-24T15:32:59+01:00", "updated_at": "2023-12-24T15:32:59+01:00", "name": "Label Sync", "path": ".github/workflows/label-sync.yaml", "contents": "---\n# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json\nname: \"Label Sync\"\n\non:\n  workflow_dispatch:\n  push:\n    branches: [\"main\"]\n    paths: [\".github/labels.yaml\"]\n\njobs:\n  label-sync:\n    name: Label Sync\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Sync Labels\n        uses: EndBug/label-sync@v2\n        with:\n          config-file: .github/labels.yaml\n          delete-other-labels: true\n", "state": "active", "repository": "onedr0p/cluster-template"}
{"mined_at": "2024-07-15T18:56:25.702153", "created_at": "2023-12-24T15:32:59+01:00", "updated_at": "2023-12-24T15:32:59+01:00", "name": "Labeler", "path": ".github/workflows/labeler.yaml", "contents": "---\n# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json\nname: \"Labeler\"\n\non:\n  workflow_dispatch:\n  pull_request_target:\n    branches: [\"main\"]\n\njobs:\n  labeler:\n    name: Labeler\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write\n    steps:\n      - name: Labeler\n        uses: actions/labeler@v5\n        with:\n          configuration-path: .github/labeler.yaml\n", "state": "active", "repository": "onedr0p/cluster-template"}
{"mined_at": "2024-07-15T18:56:26.712576", "created_at": "2024-01-13T03:06:53+01:00", "updated_at": "2024-01-13T04:41:04+01:00", "name": "e2e", "path": ".github/workflows/e2e.yaml", "contents": "---\n# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json\nname: \"e2e\"\n\non:\n  workflow_dispatch:\n  pull_request:\n    branches: [\"main\"]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  configure:\n    if: ${{ github.repository == 'onedr0p/cluster-template' }}\n    name: configure\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        config-files:\n          - talos\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Homebrew\n        id: setup-homebrew\n        uses: Homebrew/actions/setup-homebrew@master\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        id: setup-python\n        with:\n          python-version: \"3.11\" # minimum supported version\n\n      - name: Cache homebrew packages\n        if: ${{ github.event_name == 'pull_request' }}\n        uses: actions/cache@v4\n        id: cache-homebrew-packages\n        with:\n          key: homebrew-${{ runner.os }}-${{ steps.setup-homebrew.outputs.gems-hash }}-${{ hashFiles('.taskfiles/Workstation/Brewfile') }}\n          path: /home/linuxbrew/.linuxbrew\n\n      - name: Cache venv\n        if: ${{ github.event_name == 'pull_request' }}\n        uses: actions/cache@v4\n        with:\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('requirements.txt', 'requirements.yaml') }}\n          path: .venv\n\n      - name: Setup Workflow Tools\n        if: ${{ github.event_name == 'pull_request' && steps.cache-homebrew-packages.outputs.cache-hit != 'true' }}\n        shell: bash\n        run: brew install go-task\n\n      - name: Run Workstation Brew tasks\n        if: ${{ github.event_name == 'pull_request' && steps.cache-homebrew-packages.outputs.cache-hit != 'true' }}\n        shell: bash\n        run: task workstation:brew\n\n      - name: Run Workstation venv tasks\n        shell: bash\n        run: task workstation:venv\n\n      - name: Run Workstation direnv tasks\n        shell: bash\n        run: task workstation:direnv\n\n      - name: Run Sops Age key task\n        shell: bash\n        run: task sops:age-keygen\n\n      - name: Run init tasks\n        shell: bash\n        run: |\n          task init\n          cp ./.github/tests/config-${{ matrix.config-files }}.yaml ./config.yaml\n          export BOOTSTRAP_AGE_PUBLIC_KEY=$(sed -n 's/# public key: //gp' age.key)\n          envsubst < ./config.yaml | sponge ./config.yaml\n\n      - name: Run configure task\n        shell: bash\n        run: task configure --yes\n\n      - name: Run repo clean and reset tasks\n        shell: bash\n        run: |\n          task repository:clean\n          task repository:reset --yes\n", "state": "active", "repository": "onedr0p/cluster-template"}
{"mined_at": "2024-07-15T18:56:27.718243", "created_at": "2024-01-15T15:42:52+01:00", "updated_at": "2024-01-15T15:42:52+01:00", "name": "Kubeconform", "path": ".github/workflows/kubeconform.yaml", "contents": "---\n# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json\nname: \"Kubeconform\"\n\non:\n  pull_request:\n    branches: [\"main\"]\n    paths: [\"kubernetes/**\"]\n\nenv:\n  KUBERNETES_DIR: ./kubernetes\n\njobs:\n  kubeconform:\n    name: Kubeconform\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Setup Homebrew\n        uses: Homebrew/actions/setup-homebrew@master\n\n      - name: Setup Workflow Tools\n        run: brew install fluxcd/tap/flux kubeconform kustomize\n\n      - name: Run kubeconform\n        shell: bash\n        run: bash ./scripts/kubeconform.sh ${{ env.KUBERNETES_DIR }}\n", "state": "active", "repository": "onedr0p/cluster-template"}
{"mined_at": "2024-07-15T18:56:28.796274", "created_at": "2024-01-23T15:15:03+01:00", "updated_at": "2024-01-23T18:36:30+01:00", "name": "devcontainer", "path": ".github/workflows/devcontainer.yaml", "contents": "---\n# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json\nname: \"devcontainer\"\n\non:\n  workflow_dispatch:\n  push:\n    branches: [\"main\"]\n    paths: [\".devcontainer/ci/**\"]\n  pull_request:\n    branches: [\"main\"]\n    paths: [\".devcontainer/ci/**\"]\n  schedule:\n    - cron: \"0 0 * * *\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.number || github.ref }}\n  cancel-in-progress: true\n\njobs:\n  devcontainer:\n    if: ${{ github.repository == 'onedr0p/cluster-template' }}\n    name: publish\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n        with:\n          platforms: linux/amd64 #,linux/arm64\n\n      - if: ${{ github.event_name != 'pull_request' }}\n        name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Build and push\n        uses: devcontainers/ci@v0.3\n        env:\n          BUILDX_NO_DEFAULT_ATTESTATIONS: true\n        with:\n          imageName: ghcr.io/${{ github.repository }}/devcontainer\n          # cacheFrom: ghcr.io/${{ github.repository }}/devcontainer\n          imageTag: base,latest\n          platform: linux/amd64 #,linux/arm64\n          configFile: .devcontainer/ci/devcontainer.json\n          push: ${{ github.event_name == 'pull_request' && 'never' || 'always' }}\n", "state": "active", "repository": "onedr0p/cluster-template"}
{"mined_at": "2024-07-15T18:56:30.911469", "created_at": "2024-02-06T08:45:10+01:00", "updated_at": "2024-02-06T08:45:10+01:00", "name": "coverage", "path": ".github/workflows/coverage.yml", "contents": null, "state": "active", "repository": "Mirascope/mirascope"}
{"mined_at": "2024-07-15T18:56:32.051698", "created_at": "2023-12-22T00:53:02+01:00", "updated_at": "2023-12-22T01:06:00+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\nrun-name: ${{ github.actor }} is linting the package\n\non:\n  push:\n    branches:\n      - main\n      - dev\n  pull_request:\n    branches:\n      - main\n      - dev\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set Up Python Environment\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.1\n\n      - name: Install dependencies\n        run: poetry install --with dev,examples --all-extras\n\n      - name: Run Ruff\n        run: poetry run ruff check .\n\n      - name: Run MyPy\n        run: poetry run mypy .\n", "state": "active", "repository": "Mirascope/mirascope"}
{"mined_at": "2024-07-15T18:56:33.117761", "created_at": "2023-12-31T12:08:16+01:00", "updated_at": "2023-12-31T12:08:16+01:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "name: release\nrun-name: ${{ github.actor }} is uploading a new release to PyPI\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set Up Python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.10\"\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.1\n        env:\n          ACTIONS_ALLOW_UNSECURE_COMMANDS: \"true\"\n\n      - name: Get release version\n        run: echo \"RELEASE_VERSION=$(poetry version | awk '{print $2}')\" >> $GITHUB_ENV\n\n      - name: Build And Publish Python Package\n        run: poetry publish --build\n        env:\n          POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "Mirascope/mirascope"}
{"mined_at": "2024-07-15T18:56:34.304138", "created_at": "2023-12-14T19:54:37+01:00", "updated_at": "2023-12-15T19:48:06+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "name: tests\nrun-name: ${{ github.actor }} is testing the package\n\non:\n  push:\n    branches:\n      - main\n      - dev\n  pull_request:\n    branches:\n      - main\n      - dev\n\njobs:\n  tests:\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set Up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1.3.1\n\n      - name: Install dependencies\n        run: poetry install --with dev --all-extras\n\n      - name: Run Tests\n        run: poetry run pytest tests/ --cov=./ --cov-report=xml\n\n      - name: Upload coverage reports to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          directory: ./\n          env_vars: OS,PYTHON\n          fail_ci_if_error: true\n          files: ./coverage.xml,!./cache\n          flags: tests\n          name: codecov-umbrella\n          token: ${{ secrets.CODECOV_TOKEN }}\n          verbose: true\n", "state": "active", "repository": "Mirascope/mirascope"}
{"mined_at": "2024-07-15T18:56:35.289903", "created_at": "2023-12-22T01:07:58+01:00", "updated_at": "2023-12-22T01:07:58+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "Mirascope/mirascope"}
{"mined_at": "2024-07-15T18:56:37.265395", "created_at": "2022-03-28T23:44:48+02:00", "updated_at": "2022-03-28T23:44:48+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [ main ]\n  schedule:\n    - cron: '17 2 * * 1'\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'cpp', 'go', 'javascript', 'python' ]\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 https://git.io/JvXDl\n\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\n    #    and modify them (or add more) to build your code if your project\n    #    uses a compiled language\n\n    - name: build-cpp\n      if: matrix.language == 'cpp'\n      working-directory: ./src/cpp\n      run: |\n        mkdir build\n        cd build\n        cmake .. -D BUILD_UNIT_TESTS=OFF\n        make\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n", "state": "active", "repository": "IBM/alchemy-logging"}
{"mined_at": "2024-07-15T18:56:38.406488", "created_at": "2021-08-12T00:17:58+02:00", "updated_at": "2021-08-12T00:19:42+02:00", "name": "cpp-tests", "path": ".github/workflows/cpp-tests.yaml", "contents": "# This workflow runs the c++ implementation unit tests\nname: cpp-tests\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch: {}\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run unit tests\n        run: |\n          cd src/cpp\n          docker build . --target=test\n", "state": "active", "repository": "IBM/alchemy-logging"}
{"mined_at": "2024-07-15T18:56:39.430679", "created_at": "2021-08-08T22:49:17+02:00", "updated_at": "2021-08-08T22:50:25+02:00", "name": "go-tests", "path": ".github/workflows/go-tests.yaml", "contents": "# This workflow runs the go implementation unit tests\nname: go-tests\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch: {}\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run unit tests\n        run: |\n          cd src/go\n          docker build . --target=test\n", "state": "active", "repository": "IBM/alchemy-logging"}
{"mined_at": "2024-07-15T18:56:40.550750", "created_at": "2021-07-25T01:00:31+02:00", "updated_at": "2021-08-05T00:32:07+02:00", "name": "python-tests", "path": ".github/workflows/python-tests.yml", "contents": "# This workflow runs the typescript implementation unit tests\nname: python-tests\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch: {}\njobs:\n  build-36:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run unit tests\n        run: |\n          cd src/python\n          docker build . --target=test --build-arg PYTHON_VERSION=3.6\n  build-37:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run unit tests\n        run: |\n          cd src/python\n          docker build . --target=test --build-arg PYTHON_VERSION=3.7\n  build-38:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run unit tests\n        run: |\n          cd src/python\n          docker build . --target=test --build-arg PYTHON_VERSION=3.8\n  build-39:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run unit tests\n        run: |\n          cd src/python\n          docker build . --target=test --build-arg PYTHON_VERSION=3.9\n  build-310:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run unit tests\n        run: |\n          cd src/python\n          docker build . --target=test --build-arg PYTHON_VERSION=3.10\n", "state": "active", "repository": "IBM/alchemy-logging"}
{"mined_at": "2024-07-15T18:56:41.660852", "created_at": "2021-07-29T00:42:49+02:00", "updated_at": "2021-07-29T00:42:49+02:00", "name": "release", "path": ".github/workflows/release.yml", "contents": "# This workflow runs on any release\nname: release\non:\n  release:\n    types: [published]\n  workflow_dispatch: {}\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Release script\n        run: REF=\"${{ github.ref }}\" ./ci/release.sh\n        env:\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n", "state": "active", "repository": "IBM/alchemy-logging"}
{"mined_at": "2024-07-15T18:56:42.803468", "created_at": "2021-08-05T00:31:31+02:00", "updated_at": "2021-08-05T00:33:12+02:00", "name": "ts-tests", "path": ".github/workflows/ts-tests.yaml", "contents": "# This workflow runs the typescript implementation unit tests\nname: ts-tests\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ main ]\n  workflow_dispatch: {}\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Run unit tests\n        run: |\n          cd src/ts\n          docker build . --target=test\n", "state": "active", "repository": "IBM/alchemy-logging"}
{"mined_at": "2024-07-15T18:56:44.953911", "created_at": "2023-03-13T14:55:46+01:00", "updated_at": "2023-03-13T14:55:46+01:00", "name": "Azure-Cleanup", "path": ".github/workflows/azure-cleanup.yml", "contents": "# if a deployment goes wrong for any reason, this pipeline can\n# destroy the entire resource group to prevent accumulation of cost.\n# This pipeline is provided for convenience only and should not normally\n# be needed since the integration_test pipeline destroys the setup even when\n# the pipeline is cancelled.\n\nname: Azure-Cleanup\n\non:\n  workflow_dispatch:\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: azure-integration\n      cancel-in-progress: true\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Log in to azure\n        shell: pwsh\n        run: |\n          az login --service-principal `\n            -u ${{ secrets.SPN_CLIENT_ID }} `\n            -p ${{ secrets.SPN_CLIENT_SECRET }} `\n            --tenant ${{ secrets.SPN_TENANT_ID }} `\n            --output none\n      - name: Delete Deployment\n        shell: pwsh\n        run: |\n          .github/deploy/destroy.ps1\n", "state": "active", "repository": "spetlr-org/spetlr"}
{"mined_at": "2024-07-15T18:56:46.053787", "created_at": "2023-03-13T14:55:46+01:00", "updated_at": "2023-03-13T14:55:46+01:00", "name": "Post-Integration", "path": ".github/workflows/post-integration.yml", "contents": "name: Post-Integration\n\non:\n  # workflow_dispatch allows experimental releases to test.pypi\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n      - '!stable'\n      - '!release'\n\njobs:\n  test_release:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n      - uses: actions/checkout@master\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8\"\n      - name: Manipulate version\n        run: |\n          pip install packaging\n          python ./.github/build_tools/manipulate_version.py\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build\n        run: python setup.py sdist bdist_wheel\n      - name: Publish distribution 📦 to TestPyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          repository_url: https://test.pypi.org/legacy/\n", "state": "active", "repository": "spetlr-org/spetlr"}
{"mined_at": "2024-07-15T18:56:47.057309", "created_at": "2023-03-13T14:55:46+01:00", "updated_at": "2023-03-13T14:55:46+01:00", "name": "Pre-Integration", "path": ".github/workflows/pre-integration.yml", "contents": "name: Pre-Integration\n\non:\n  pull_request:\n    types:\n      - opened\n      - synchronize\n      - reopened\n\njobs:\n  unit_test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python_version:\n          - \"3.8\"\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-java@v2\n        # this workflow needs java so that it can run a local instance of spark\n        with:\n          java-version: '8'\n          distribution: 'temurin'\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python_version }}\n      - name: Install test requirements\n        run: pip install -r requirements_dev.txt\n      - name: Check code formatting\n        run: |\n          black --check .\n          isort --check .\n      - name: Check code linting\n        run: flake8 .\n      - name: Install the package\n        run: pip install .\n      - name: Run Tests\n        run: python -m pytest tests/local\n\n\n\n  integration_test:\n#    needs: unit_test # integration can be run in parallel with unit-tests\n    runs-on: ubuntu-latest\n    environment: azure\n    concurrency: azure-integration\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8\"\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine packaging\n      - name: Build\n        shell: pwsh\n        run: .github/submit/build.ps1\n      - name: Log in to azure\n        shell: pwsh\n        run: |\n          az login --service-principal `\n            -u ${{ secrets.SPN_CLIENT_ID }} `\n            -p ${{ secrets.SPN_CLIENT_SECRET }} `\n            --tenant ${{ secrets.SPN_TENANT_ID }} `\n            --output none\n            \n      - name: Create Deployment\n        shell: pwsh\n        run: |\n          .github/deploy/deploy.ps1 `\n            -pipelineClientId ${{ secrets.SPN_CLIENT_ID }} `\n            -uniqueRunId \"${{ github.run_id }}${{ github.run_attempt }}\"\n\n      - name: Wait 30 secs for things to settle\n        shell: pwsh\n        run: Start-Sleep -s 30\n\n      - name: Launch integration tests 10.4\n        shell: pwsh\n        run: |\n          .github/submit/submit_test_job.ps1  `\n            -sparkVersion \"10.4.x-scala2.12\" `\n            -testJobDetails job104.json `\n            -sparkLibs sparklibs104.json\n\n      - name: Launch integration tests 11.3\n        shell: pwsh\n        run: |\n          .github/submit/submit_test_job.ps1  `\n            -sparkVersion \"11.3.x-scala2.12\" `\n            -testJobDetails job113.json `\n            -sparkLibs sparklibs113.json\n\n      - name: Wait 2 min for things to settle\n        shell: pwsh\n        run: Start-Sleep -s 120\n\n      - name: Fetch integration tests 10.4\n        shell: pwsh\n        run: .github/submit/fetch_test_job.ps1 -testJobDetails job104.json\n\n      - name: Fetch integration tests 11.3\n        shell: pwsh\n        run: .github/submit/fetch_test_job.ps1 -testJobDetails job113.json\n\n      - name: Delete Deployment\n        if: always() # this step runs even if the pipeline is manually cancelled\n        shell: pwsh\n        run: |\n          az login --service-principal `\n            -u ${{ secrets.SPN_CLIENT_ID }} `\n            -p ${{ secrets.SPN_CLIENT_SECRET }} `\n            --tenant ${{ secrets.SPN_TENANT_ID }} `\n            --output none\n\n          .github/deploy/destroy.ps1 `\n            -uniqueRunId \"${{ github.run_id }}${{ github.run_attempt }}\"\n", "state": "active", "repository": "spetlr-org/spetlr"}
{"mined_at": "2024-07-15T18:56:48.112524", "created_at": "2023-03-13T14:55:46+01:00", "updated_at": "2023-03-13T14:55:46+01:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\n\non:\n  workflow_dispatch:\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write  # IMPORTANT: this permission is mandatory for trusted publishing\n    steps:\n      - uses: actions/checkout@master\n        with:\n          fetch-depth: 0\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: \"3.8\"\n      - name: Manipulate version\n        run: |\n          pip install packaging\n          python ./.github/build_tools/manipulate_version.py\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n      - name: Build\n        run: python setup.py sdist bdist_wheel\n      - name: Publish distribution 📦 to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "spetlr-org/spetlr"}
{"mined_at": "2024-07-15T18:56:49.459527", "created_at": "2023-06-28T11:03:43+02:00", "updated_at": "2023-06-28T11:03:43+02:00", "name": "Spn-Cleanup", "path": ".github/workflows/spn-cleanup.yml", "contents": "\n# This pipeline can be runned if the SPNs needs to be destroyed\n# In this way, it is easier to clean up the SPNs, instead of manually removing them in the portal\nname: Spn-Cleanup\n\non:\n  workflow_dispatch:\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    concurrency:\n      group: azure-integration\n      cancel-in-progress: true\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Log in to azure\n        shell: pwsh\n        run: |\n          az login --service-principal `\n            -u ${{ secrets.SPN_CLIENT_ID }} `\n            -p ${{ secrets.SPN_CLIENT_SECRET }} `\n            --tenant ${{ secrets.SPN_TENANT_ID }} `\n            --output none\n            \n      - name: Delete Deployment\n        shell: pwsh\n        run: |\n          .github/deploy/destroy-spns.ps1", "state": "active", "repository": "spetlr-org/spetlr"}
{"mined_at": "2024-07-15T18:56:50.591317", "created_at": "2024-02-28T13:55:31+01:00", "updated_at": "2024-02-28T13:55:31+01:00", "name": "Monthly Upgrade Requirements", "path": ".github/workflows/update-dependencies.yml", "contents": "name: Monthly Upgrade Requirements\n\non:\n  schedule:\n    - cron: '0 0 1 * *' # Runs at 00:00 on the 1st of every month\n\njobs:\n  upgrade-requirements:\n    runs-on: windows-latest \n\n    steps:\n    - uses: actions/checkout@v4 \n\n    - name: Install dev requirements\n      run: pip install -r requirements_dev.txt\n      shell: pwsh\n    \n    - name: Run PowerShell Script\n      run: |\n        .\\upgrade_requirements.ps1\n      shell: pwsh\n\n    - name: Create Pull Request\n      uses: peter-evans/create-pull-request@v6\n      with:\n        token: ${{ secrets.GITHUB_TOKEN }}\n        commit-message: \"Update dependencies\"\n        title: \"Monthly Dependency Update\"\n        body: \"This is an auto-generated PR with dependency updates.\"\n        branch: update-dependencies\n        delete-branch: true\n", "state": "active", "repository": "spetlr-org/spetlr"}
{"mined_at": "2024-07-15T18:56:52.712052", "created_at": "2023-10-10T16:27:03+02:00", "updated_at": "2023-10-10T16:27:03+02:00", "name": "Build", "path": ".github/workflows/build.yml", "contents": null, "state": "active", "repository": "hyperledger-archives/sawtooth-core"}
{"mined_at": "2024-07-15T18:56:54.749397", "created_at": "2023-02-21T02:06:48+01:00", "updated_at": "2023-02-21T02:06:48+01:00", "name": "Main", "path": ".github/workflows/main.yml", "contents": "name: Main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n\non:\n  pull_request:\n    branches:\n      - main\n      - Torch2\n  push:\n    branches:\n      - main\n    tags:\n      - 'v*.*.*'\n\nenv:\n  # Change this to invalidate existing cache.\n  CACHE_PREFIX: v2\n  PYTHONPATH: ./\n  TOKENIZERS_PARALLELISM: 'false'\n\njobs:\n  checks:\n    name: ${{ matrix.task.name }} (py ${{ matrix.python }})\n    runs-on: [ubuntu-latest]\n    timeout-minutes: 10\n    strategy:\n      fail-fast: false\n      matrix:\n        python: ['3.8', '3.10']\n        task:\n          - name: Lint\n            run: |\n              ruff check .\n\n        include:\n          - python: '3.10'\n            task:\n              name: Test\n              run: |\n                pytest -v --color=yes --durations=5 tests/ \\\n                  --ignore-glob='tests/hf_olmo/*'\n\n          - python: '3.10'\n            task:\n              name: Test HF\n              run: |\n                pytest -v --color=yes --durations=5 tests/hf_olmo\n\n          - python: '3.10'\n            task:\n              name: Type check\n              run: mypy .\n\n          - python: '3.10'\n            task:\n              name: Build\n              run: |\n                python -m build\n\n          - python: '3.10'\n            task:\n              name: Style\n              run: |\n                isort --check .\n                black --check .\n\n          - python: '3.10'\n            task:\n              name: Data pipeline\n              run: |\n                python scripts/prepare_memmap_dataset.py test_fixtures/*.json.gz -o /tmp/c4-sample.npy --validate --ack-deprecated\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Setup Python environment\n        uses: ./.github/actions/setup-venv\n        with:\n          python-version: ${{ matrix.python }}\n          cache-prefix: ${{ env.CACHE_PREFIX }}\n\n      - name: Restore mypy cache\n        if: matrix.task.name == 'Type check'\n        uses: actions/cache@v3\n        with:\n          path: .mypy_cache\n          key: mypy-${{ env.CACHE_PREFIX }}-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('*requirements.txt', '*pyproject.toml') }}-${{ github.ref }}-${{ github.sha }}\n          restore-keys: |\n            mypy-${{ env.CACHE_PREFIX }}-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('*requirements.txt', '*pyproject.toml') }}-${{ github.ref }}\n            mypy-${{ env.CACHE_PREFIX }}-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('*requirements.txt', '*pyproject.toml') }}\n\n      - name: ${{ matrix.task.name }}\n        run: |\n          . .venv/bin/activate\n          ${{ matrix.task.run }}\n\n      - name: Upload package distribution files\n        if: matrix.task.name == 'Build'\n        uses: actions/upload-artifact@v3\n        with:\n          name: package\n          path: dist\n\n      - name: Clean up\n        if: always()\n        run: |\n          . .venv/bin/activate\n          pip uninstall -y olmo\n\n  gpu_tests:\n    name: GPU Tests\n    runs-on: ubuntu-latest\n    timeout-minutes: 8\n    env:\n      BEAKER_TOKEN: ${{ secrets.BEAKER_TOKEN }}\n      BEAKER_IMAGE: olmo-torch2-test\n      BEAKER_WORKSPACE: ai2/llm-testing\n    steps:\n      - name: Determine current commit SHA (pull request)\n        if: github.event_name == 'pull_request'\n        run: |\n          echo \"COMMIT_SHA=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n\n      - name: Determine current commit SHA (push)\n        if: github.event_name != 'pull_request'\n        run: |\n          echo \"COMMIT_SHA=$GITHUB_SHA\" >> $GITHUB_ENV\n\n      - name: GPU Tests\n        uses: allenai/beaker-run-action@v1.2\n        if: env.BEAKER_TOKEN != ''\n        with:\n          spec: |\n            version: v2\n            description: GPU Tests\n            budget: ai2/oe-training\n            tasks:\n              - name: tests\n                image:\n                  beaker: ${{ env.BEAKER_IMAGE }}\n                context:\n                  priority: normal\n                  preemptible: true\n                resources:\n                  gpuCount: 1\n                constraints:\n                  cluster:\n                    - ai2/general-cirrascale\n                    - ai2/general-cirrascale-a100-80g-ib\n                    - ai2/allennlp-cirrascale\n                envVars:\n                  - name: COMMIT_SHA\n                    value: ${{ env.COMMIT_SHA }}\n                  - name: TMP_GITHUB_TOKEN\n                    value: ${{ secrets.GITHUB_TOKEN }}\n                  - name: CUDA_LAUNCH_BLOCKING\n                    value: \"1\"\n                  - name: CUBLAS_WORKSPACE_CONFIG\n                    value: \":16:8\"\n                  - name: TOKENIZERS_PARALLELISM\n                    value: \"false\"\n                command: [\"/entrypoint.sh\", \"pytest\", \"-v\", \"-m\", \"gpu\", \"tests/\", \"-k\", \"not hf_olmo\"]\n                result:\n                  path: /unused\n          token: ${{ env.BEAKER_TOKEN }}\n          workspace: ${{ env.BEAKER_WORKSPACE }}\n\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    needs: [checks]\n    if: startsWith(github.ref, 'refs/tags/')\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      - name: Setup Python environment\n        uses: ./.github/actions/setup-venv\n        with:\n          python-version: '3.10'\n          cache-prefix: ${{ env.CACHE_PREFIX }}\n\n      - name: Prepare environment\n        run: |\n          echo \"RELEASE_VERSION=${GITHUB_REF#refs/tags/v}\" >> $GITHUB_ENV\n          echo \"TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV\n\n      - name: Download package distribution files\n        uses: actions/download-artifact@v3\n        with:\n          name: package\n          path: dist\n\n      - name: Generate release notes\n        run: |\n          . .venv/bin/activate\n          python scripts/release_notes.py > ${{ github.workspace }}-RELEASE_NOTES.md\n\n      - name: Publish package to PyPI\n        run: |\n          . .venv/bin/activate\n          twine upload -u __token__ -p '${{ secrets.PYPI_PASSWORD }}' dist/*\n\n      - name: Publish GitHub release\n        uses: softprops/action-gh-release@v1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          body_path: ${{ github.workspace }}-RELEASE_NOTES.md\n          prerelease: ${{ contains(env.TAG, 'rc') }}\n          files: |\n            dist/*\n", "state": "active", "repository": "allenai/OLMo"}
{"mined_at": "2024-07-15T18:56:55.915691", "created_at": "2023-02-21T02:06:48+01:00", "updated_at": "2024-02-02T17:42:08+01:00", "name": "PR Checks", "path": ".github/workflows/pr_checks.yml", "contents": "name: PR Checks\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    branches:\n      - main\n    paths:\n      - 'olmo/**'\n      - 'hf_olmo/**'\n\njobs:\n  changelog:\n    name: CHANGELOG\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request'\n\n    steps:\n    - uses: actions/checkout@v3\n      with:\n        fetch-depth: 0\n\n    - name: Check that CHANGELOG has been updated\n      run: |\n        # If this step fails, this means you haven't updated the CHANGELOG.md\n        # file with notes on your contribution.\n        git diff --name-only $(git merge-base origin/main HEAD) | grep '^CHANGELOG.md$' && echo \"Thanks for helping keep our CHANGELOG up-to-date!\"\n", "state": "active", "repository": "allenai/OLMo"}
{"mined_at": "2024-07-15T18:56:57.977836", "created_at": "2021-01-06T16:39:42+01:00", "updated_at": "2021-10-28T22:00:28+02:00", "name": "Run tests", "path": ".github/workflows/pytest.yaml", "contents": "name: Run tests\n\non:\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"examples/**\"\n\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          # - \"3.8\"\n          # - \"3.9\"\n          - \"3.10\"\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      \n      - name: Install dependencies\n        run: |\n          pip install \".[sqlite,excel,milvus,gcsfs,s3fs,redis,qdrant,gcp]\" \"flake8\" \"mypy\"\n          pip install pandas-stubs pytest-cases types-setuptools types-redis types-tqdm types-pillow types-PyYAML\n\n      - name: Lint with flake8\n        run: |\n          # stop the build if there are Python syntax errors or undefined names\n          flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n          # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n          flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n\n      - name: Lint with mypy\n        run: |\n          mypy -p datapipe --ignore-missing-imports --follow-imports=silent --namespace-packages\n\n  test:\n    # needs: lint\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          # - python-version: \"3.8\"\n          #   test-db-env: \"postgres\"\n          #   pip-extra: \"sqlalchemy <2\"\n          - python-version: \"3.8\"\n            test-db-env: \"postgres\"\n            pip-extra: \"sqlalchemy >2\"\n          # - python-version: \"3.8\"\n          #   test-db-env: \"sqlite\"\n          # - python-version: \"3.9\"\n          #   test-db-env: \"postgres\"\n          # - python-version: \"3.9\"\n          #   test-db-env: \"sqlite\"\n          # - python-version: \"3.10\"\n          #   test-db-env: \"postgres\"\n          # - python-version: \"3.10\"\n          #   test-db-env: \"sqlite\"\n          - python-version: \"3.11\"\n            test-db-env: \"postgres\"\n            pip-extra: \"sqlalchemy <2\"\n          - python-version: \"3.11\"\n            test-db-env: \"postgres\"\n            pip-extra: \"sqlalchemy >2\"\n          - python-version: \"3.11\"\n            test-db-env: \"sqlite\"\n            pip-extra: \"sqlalchemy >2\"\n\n    services:\n      # Label used to access the service container\n      postgres:\n        # Docker Hub image\n        image: postgres:12\n        # Provide the password for postgres\n        env:\n          POSTGRES_PASSWORD: password\n        # Set health checks to wait until postgres has started\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n      redis:\n        image: redis\n        options: >-\n          --health-cmd \"redis-cli ping\"\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 6379:6379\n      quadrant:\n        image: qdrant/qdrant:latest\n        ports:\n          - 6333:6333\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      \n      - name: Install dependencies\n        run: |\n          pip install \"${{ matrix.pip-extra }}\" \".[sqlite,excel,milvus,gcsfs,s3fs,redis,qdrant,gcp]\" \"pytest<8\" \"pytest_cases\"\n\n      - name: Test with pytest\n        run: |\n          pytest\n        env:\n          TEST_DB_ENV: ${{ matrix.test-db-env }}\n          # The hostname used to communicate with the PostgreSQL service container\n          POSTGRES_HOST: localhost\n          # The default PostgreSQL port\n          POSTGRES_PORT: 5432\n          REDIS_HOST: localhost\n          REDIS_PORT: 6379\n", "state": "active", "repository": "epoch8/datapipe"}
{"mined_at": "2024-07-15T18:56:58.962084", "created_at": "2024-01-16T13:18:09+01:00", "updated_at": "2024-01-16T13:49:13+01:00", "name": "Test examples", "path": ".github/workflows/test_examples.yaml", "contents": "name: Test examples\n\non:\n  push:\n    paths-ignore:\n      - \"docs/**\"\n      - \"**/*.md\"\n      - \"tests/**\"\n\njobs:\n  test-examples:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          # - \"3.8\"\n          # - \"3.9\"\n          - \"3.10\"\n          # - \"3.11\"\n        example:\n          - datatable_batch_transform\n          - image_resize\n          - many_to_zero\n          - model_inference\n          - one_to_many_pipeline\n        executor:\n          - SingleThreadExecutor\n          - RayExecutor\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n      \n      - name: Install dependencies\n        run: |\n          pip install \".[sqlite,excel,milvus,gcsfs,s3fs,redis,qdrant,gcp,ray]\"\n\n      - name: Test example\n        run: |\n          cd examples/${{ matrix.example }}\n          datapipe db create-all\n          datapipe --executor ${{ matrix.executor }} step run\n", "state": "active", "repository": "epoch8/datapipe"}
{"mined_at": "2024-07-15T18:57:00.963864", "created_at": "2021-02-02T19:27:02+01:00", "updated_at": "2023-08-19T21:33:40+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\non: [push, pull_request]\ndefaults:\n  run:\n    shell: bash\nenv:\n  _PEX_TEST_DEV_ROOT: ${{ github.workspace }}/.pex_dev\n  _PEX_TEST_POS_ARGS: \"--color --devpi --devpi-timeout 15.0 --shutdown-devpi -vvs\"\n  # We use this to skip exposing same-versioned Pythons present on Linux hosts. These otherwise can\n  # collide when attempting to load libpython<major>.<minor><flags>.so and lead to mysterious errors\n  # importing builtins like `fcntl` as outlined in https://github.com/pex-tool/pex/issues/1391.\n  _PEX_TEST_PYENV_VERSIONS: \"2.7 3.7 3.10\"\n  _PEX_PEXPECT_TIMEOUT: 10\nconcurrency:\n  group: CI-${{ github.ref }}\n  # Queue on all branches and tags, but only cancel overlapping PR burns.\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/') }}\njobs:\n  org-check:\n    name: Check GitHub Organization\n    if: github.repository_owner == 'pex-tool'\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Noop\n        run: \"true\"\n  checks:\n    name: tox -e format-check,lint-check,typecheck,vendor-check,package,docs\n    needs: org-check\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout Pex\n        uses: actions/checkout@v4\n        with:\n          # We need branches and tags since package leans on `git describe`. Passing 0 gets us\n          # complete history.\n          fetch-depth: 0\n      - name: Setup Python 3.8\n        uses: actions/setup-python@v5\n        with:\n          # We need to keep Python 3.8 for consistent vendoring with tox.\n          python-version: \"3.8\"\n      - name: Check Formatting, Lints and Types\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          tox-env: format-check,lint-check,typecheck\n      - name: Check Vendoring\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          tox-env: vendor-check\n      - name: Check Packaging\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          tox-env: package -- --additional-format sdist --additional-format wheel --embed-docs --clean-docs\n      - name: Check Docs\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          tox-env: docs -- --linkcheck --pdf --clean-html\n\n  # N.B.: The name of this job key (linux-tests) is depended on by scrips/build_cache_image.py. In\n  # particular, the tox-env matrix list is used to ensure the cache covers all Linux CI jobs.\n  linux-tests:\n    name: ./dtox.sh -e ${{ matrix.tox-env }}\n    needs: org-check\n    runs-on: ubuntu-22.04\n    strategy:\n      matrix:\n        tox-env:\n          - py27-pip20\n          # N.B.: Although we support Python 3.5 with a published universal wheel, Pex does not\n          # build under Python 3.5 or 3.6; so we skip to Python 3.7 for tests which must be able to\n          # build a Pex distribution both as part of the tox setup and in many test cases as well.\n          - py37-pip20\n          - py311-pip20\n          - py311-pip22_3_1\n          - py311-pip23_1_2\n          - py312-pip24_1\n          - py313-pip24_1\n          - pypy310-pip20\n          - pypy310-pip22_3_1\n          - pypy310-pip23_1_2\n          - py27-pip20-integration\n          - py37-pip22_3_1-integration\n          - py37-pip23_1_2-integration\n          - py311-pip20-integration\n          - py311-pip22_3_1-integration\n          - py311-pip23_1_2-integration\n          - py312-pip24_1-integration\n          - py313-pip24_1-integration\n          - pypy310-pip20-integration\n          - pypy310-pip22_3_1-integration\n          - pypy310-pip23_1_2-integration\n    steps:\n      - name: Free Up Disk Space\n        uses: jlumbroso/free-disk-space@v1.3.1\n        with:\n          android: true # ~14GB\n          dotnet: true # ~2GB\n          tool-cache: true # ~12GB\n\n          # Too little space savings or too slow.\n          haskell: false\n          large-packages: false\n          docker-images: false\n          swap-storage: false\n      - name: Checkout Pex\n        uses: actions/checkout@v4\n        with:\n          # We need branches and tags for some ITs.\n          fetch-depth: 0\n      # Some ITs need this for VCS URLs of the form git+ssh://git@github.com/...\n      - name: Setup SSH Agent\n        uses: webfactory/ssh-agent@v0.9.0\n        env:\n          SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}\n        if: env.SSH_PRIVATE_KEY != ''\n        with:\n          ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}\n      - name: Run Tests\n        run: |\n          # This is needed to get pexpect tests working under PyPy running under docker.\n          export TERM=\"xterm\"\n          BASE_MODE=pull CACHE_MODE=pull \\\n            ./dtox.sh -e ${{ matrix.tox-env }} -- ${{ env._PEX_TEST_POS_ARGS }}\n  mac-tests:\n    name: tox -e ${{ matrix.tox-env }}\n    needs: org-check\n    runs-on: macos-12\n    strategy:\n      matrix:\n        include:\n          - python-version: [ 3, 12 ]\n            tox-env: py312-pip24_1\n            tox-env-python: python3.11\n          - python-version: [ 3, 12 ]\n            tox-env: py312-pip24_1-integration\n            tox-env-python: python3.11\n    steps:\n      - name: Calculate Pythons to Expose\n        id: calculate-pythons-to-expose\n        run: |\n          skip=\"\"\n          if [[ \"$(uname -s)\" == \"Linux\" ]]; then\n            skip=\"${{ env._PEX_TEST_PYENV_VERSIONS }}\"\n          fi\n          echo \"skip=${skip}\" >> $GITHUB_OUTPUT\n      - name: Checkout Pex\n        uses: actions/checkout@v4\n        with:\n          # We need branches and tags for some ITs.\n          fetch-depth: 0\n          path: repo\n      - name: Setup Python ${{ join(matrix.python-version, '.') }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"${{ join(matrix.python-version, '.') }}\"\n      - name: Expose Pythons\n        uses: pantsbuild/actions/expose-pythons@e63d2d0e3c339bdffbe5e51e7c39550e3bc527bb\n        with:\n          skip: \"${{ steps.calculate-pythons-to-expose.outputs.skip }}\"\n      - name: Restore Cached Pyenv Interpreters\n        id: restore-pyenv-interpreters\n        uses: actions/cache/restore@v4\n        with:\n          path: ${{ env._PEX_TEST_DEV_ROOT }}/pyenv\n          key: macos-12-${{ runner.arch }}-pex-test-dev-root-pyenv-v1\n      - name: Restore Cached Devpi Server\n        id: restore-devpi-server\n        uses: actions/cache/restore@v4\n        with:\n          path: ${{ env._PEX_TEST_DEV_ROOT }}/devpi\n          # We're using a key suffix / restore-keys prefix trick here to get an updatable cache.\n          # See: https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache\n          key: macos-12-${{ runner.arch }}-${{ matrix.tox-env }}-pex-test-dev-root-devpi-v1-${{ github.run_id }}\n          restore-keys: macos-12-${{ runner.arch }}-${{ matrix.tox-env }}-pex-test-dev-root-devpi-v1\n      # Some ITs need this for VCS URLs of the form git+ssh://git@github.com/...\n      - name: Setup SSH Agent\n        uses: webfactory/ssh-agent@v0.9.0\n        env:\n          SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}\n        if: env.SSH_PRIVATE_KEY != ''\n        with:\n          ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}\n      - name: Run Tests\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          path: repo/tox.ini\n          python: ${{ matrix.tox-env-python }}\n          tox-env: ${{ matrix.tox-env }} -- ${{ env._PEX_TEST_POS_ARGS }}\n      - name: Cache Pyenv Interpreters\n        uses: actions/cache/save@v4\n        if: github.ref == 'refs/heads/main'\n        with:\n          path: ${{ env._PEX_TEST_DEV_ROOT }}/pyenv\n          key: ${{ steps.restore-pyenv-interpreters.outputs.cache-primary-key }}\n      - name: Cache Devpi Server\n        uses: actions/cache/save@v4\n        if: github.ref == 'refs/heads/main'\n        with:\n          path: ${{ env._PEX_TEST_DEV_ROOT }}/devpi\n          key: ${{ steps.restore-devpi-server.outputs.cache-primary-key }}\n  final-status:\n    name: Gather Final Status\n    needs:\n      - checks\n      - linux-tests\n      - mac-tests\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Check Non-Success\n        if: |\n          contains(needs.*.result, 'cancelled') ||\n          contains(needs.*.result, 'failure') ||\n          contains(needs.*.result, 'skipped')\n        run: \"false\"\n      - name: Success\n        run: \"true\"\n", "state": "active", "repository": "pex-tool/pex"}
{"mined_at": "2024-07-15T18:57:02.054760", "created_at": "2024-02-14T06:24:18+01:00", "updated_at": "2024-02-14T06:24:18+01:00", "name": "Deploy Doc Site", "path": ".github/workflows/doc-site.yml", "contents": "name: Deploy Doc Site\non:\n  repository_dispatch:\n    types: [release-docs]\n  workflow_dispatch:\n\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Checkout Pex (for release-docs event)\n        uses: actions/checkout@v4\n        if: github.event_name == 'repository_dispatch'\n        with:\n          ref: ${{ github.event.client_payload.ref }}\n      - name: Checkout Pex (for manual workflow dispatch)\n        uses: actions/checkout@v4\n        if: github.event_name == 'workflow_dispatch'\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Build Doc Site\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          tox-env: docs -- --linkcheck --pdf --clean-html\n      - name: Setup Pages\n        uses: actions/configure-pages@v4\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: \"dist/docs/html/\"\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "pex-tool/pex"}
{"mined_at": "2024-07-15T18:57:03.163563", "created_at": "2021-02-04T21:47:28+01:00", "updated_at": "2021-04-27T09:56:03+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  push:\n    tags:\n      - v[0-9]+.[0-9]+.[0-9]+\n  workflow_dispatch:\n    inputs:\n      tag:\n        description: The tag to manually run a deploy for.\n        required: true\njobs:\n  org-check:\n    name: Check GitHub Organization\n    if: ${{ github.repository_owner == 'pex-tool' }}\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Noop\n        run: \"true\"\n  determine-tag:\n    name: Determine the release tag to operate against.\n    needs: org-check\n    runs-on: ubuntu-22.04\n    outputs:\n      release-tag: ${{ steps.determine-tag.outputs.release-tag }}\n      release-version: ${{ steps.determine-tag.outputs.release-version }}\n    steps:\n      - name: Determine Tag\n        id: determine-tag\n        run: |\n          if [[ -n \"${{ github.event.inputs.tag }}\" ]]; then\n            RELEASE_TAG=${{ github.event.inputs.tag }}\n          else\n            RELEASE_TAG=${GITHUB_REF#refs/tags/}\n          fi\n          if [[ \"${RELEASE_TAG}\" =~ ^v[0-9]+.[0-9]+.[0-9]+$ ]]; then\n            echo \"release-tag=${RELEASE_TAG}\" >> $GITHUB_OUTPUT\n            echo \"release-version=${RELEASE_TAG#v}\" >> $GITHUB_OUTPUT\n          else\n            echo \"::error::Release tag '${RELEASE_TAG}' must match 'v\\d+.\\d+.\\d+'.\"\n            exit 1\n          fi\n  pypi:\n    name: Publish sdist and wheel to PyPI\n    needs: determine-tag\n    runs-on: ubuntu-22.04\n    environment: Release\n    permissions:\n      id-token: write\n    steps:\n      - name: Checkout Pex ${{ needs.determine-tag.outputs.release-tag }}\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ needs.determine-tag.outputs.release-tag }}\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Build sdist and wheel\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          tox-env: package -- --no-pex --additional-format sdist --additional-format wheel --embed-docs --clean-docs\n      - name: Publish Pex ${{ needs.determine-tag.outputs.release-tag }}\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          print-hash: true\n          verbose: true\n  github-release:\n    name: Create Github Release\n    needs: determine-tag\n    runs-on: ubuntu-22.04\n    environment: Release\n    steps:\n      - name: Checkout Pex ${{ needs.determine-tag.outputs.release-tag }}\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ needs.determine-tag.outputs.release-tag }}\n          # This ensures we get all branches and tags which is needed for `tox -e package`.\n          fetch-depth: 0\n      - name: Setup Python 3.11\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: Package Pex ${{ needs.determine-tag.outputs.release-tag }} PEX\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          tox-env: package -- --embed-docs\n      - name: Generate Pex ${{ needs.determine-tag.outputs.release-tag }} PDF\n        uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7\n        with:\n          tox-env: docs -- --no-html --pdf\n      - name: Prepare Changelog\n        id: prepare-changelog\n        uses: a-scie/actions/changelog@v1.5\n        with:\n          changelog-file: ${{ github.workspace }}/CHANGES.md\n          version: ${{ needs.determine-tag.outputs.release-version }}\n      - name: Create ${{ needs.determine-tag.outputs.release-tag }} Release\n        # Upgrades node16 -> node20: in main but not tagged yet.\n        uses: softprops/action-gh-release@4634c16e79c963813287e889244c50009e7f0981\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          tag_name: ${{ needs.determine-tag.outputs.release-tag }}\n          name: pex ${{ needs.determine-tag.outputs.release-version }}\n          body_path: ${{ steps.prepare-changelog.outputs.changelog-file }}\n          draft: false\n          prerelease: false\n          files: |\n            dist/pex\n            dist/docs/pdf/pex.pdf\n          fail_on_unmatched_files: true\n          discussion_category_name: Announcements\n  deploy-docsite:\n    name: Trigger Deploy Doc Site\n    needs:\n      - determine-tag\n      - pypi\n      - github-release\n    runs-on: ubuntu-22.04\n    steps:\n      - name: Dispatch `release-docs` Event\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          event-type: release-docs\n          client-payload: |-\n            {\n              \"ref\": \"${{ github.ref }}\"\n            }\n", "state": "active", "repository": "pex-tool/pex"}
{"mined_at": "2024-07-15T18:57:05.301032", "created_at": "2023-05-12T18:22:33+02:00", "updated_at": "2023-05-12T18:22:33+02:00", "name": "Build Artifacts", "path": ".github/workflows/build_artifacts.yml", "contents": "name: Build Artifacts\n\non:\n  workflow_call:\n\njobs:\n  build:\n    name: Build\n    runs-on: windows-latest\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.ref }}\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n\n    - name: get-pip\n      run: Invoke-WebRequest https://bootstrap.pypa.io/get-pip.py\n\n    - name: Install PyInstaller\n      run: python -m pip install PyInstaller\n\n    - name: Install flask\n      run: python -m pip install flask\n\n    - name: Install ikabot\n      run: python -m pip install ikabot\n\n    - name: Build ikabot\n      run: python -m PyInstaller --onedir ikabot/command_line.py\n\n    - name: Rename\n      run: |\n        mv dist/command_line dist/ikabot\n        mv dist/ikabot/command_line.exe dist/ikabot/ikabot.exe\n\n    - name: Upload Pre-compiled Ikabot\n      uses: actions/upload-artifact@v4\n      with:\n        name: PreCompiledIkabot\n        path: \"dist\"", "state": "active", "repository": "Ikabot-Collective/ikabot"}
{"mined_at": "2024-07-15T18:57:06.294245", "created_at": "2023-05-14T19:45:20+02:00", "updated_at": "2023-08-02T17:59:35+02:00", "name": "Publish Docker Image", "path": ".github/workflows/publish_docker.yml", "contents": "name: Publish Docker Image\n\non:\n  workflow_call:\n    inputs:\n      tag_name:\n        required: true\n        type: string\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ikabot\n\njobs:\n  build-and-push-image:\n    name: Build & Publish\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.ref }}\n\n      # The repository name must be in lower case in order to be pushed to the registry\n      - name: Set lower case owner name\n        run: |\n          echo \"OWNER_LC=${OWNER,,}\" >>${GITHUB_ENV}\n        env:\n          OWNER: '${{ github.repository_owner }}'\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n      \n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          tags: |\n            ${{ env.REGISTRY }}/${{ env.OWNER_LC }}/${{ env.IMAGE_NAME }}:${{ inputs.tag_name }}\n            ${{ env.REGISTRY }}/${{ env.OWNER_LC }}/${{ env.IMAGE_NAME }}:latest", "state": "active", "repository": "Ikabot-Collective/ikabot"}
{"mined_at": "2024-07-15T18:57:07.315842", "created_at": "2023-08-02T17:59:35+02:00", "updated_at": "2023-08-02T17:59:35+02:00", "name": "Publish Docker Image Manually", "path": ".github/workflows/publish_docker_manually.yml", "contents": "name: Publish Docker Image Manually\n\non:\n  workflow_dispatch:\n    inputs:\n      tag_name:\n        description: 'Tag for the image (ex: v6.5.1)'\n        required: true\n        type: string\n\njobs:\n  publish_docker:\n    name: Build & Publish Docker Image\n    uses: ./.github/workflows/publish_docker.yml\n    with:\n      tag_name: ${{ inputs.tag_name }}\n    permissions:\n      contents: read\n      packages: write", "state": "active", "repository": "Ikabot-Collective/ikabot"}
{"mined_at": "2024-07-15T18:57:08.358988", "created_at": "2024-02-11T21:15:04+01:00", "updated_at": "2024-02-11T21:15:04+01:00", "name": "Publish Python Package", "path": ".github/workflows/publish_pypi.yml", "contents": "name: Publish Python Package\n\non:\n  workflow_call:\n    secrets:\n      PYPI_API_TOKEN:\n        required: true\n\npermissions:\n  contents: read\n\njobs:\n  build-and-pypi-publish:\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/ikabot\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: ${{ github.ref }}\n    \n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n\n    - name: Build package\n      run: python -m build\n\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@release/v1\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "Ikabot-Collective/ikabot"}
{"mined_at": "2024-07-15T18:57:09.419364", "created_at": "2024-02-11T21:15:04+01:00", "updated_at": "2024-02-11T21:15:04+01:00", "name": "Publish PyPI package Manually", "path": ".github/workflows/publish_pypi_manually.yml", "contents": "name: Publish PyPI package Manually\n\non:\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\njobs:\n  publish_pypi:\n    name: Publish PyPI package\n    uses: ./.github/workflows/publish_pypi.yml\n    secrets:\n      PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}", "state": "active", "repository": "Ikabot-Collective/ikabot"}
{"mined_at": "2024-07-15T18:57:10.468908", "created_at": "2020-07-27T04:01:45+02:00", "updated_at": "2023-05-12T18:22:33+02:00", "name": "Publish Release", "path": ".github/workflows/release.yml", "contents": "name: Publish Release\npermissions: write-all\n\non:\n  workflow_dispatch:\n    inputs:\n      milestone:\n        description: 'The milestone to generate a release for (ex: 6.5.1)'\n        required: true\n        type: string\n\nenv:\n  # Needed for GitHub CLI\n  GH_TOKEN: ${{ github.token }}\n\ndefaults:\n  run:\n    shell: pwsh\n\njobs:\n  build_release_notes:\n    runs-on: ubuntu-latest\n    name: Generate Release Notes\n\n    steps:\n      - name: Get Contributors\n        id: get-contribs\n        uses: Keboo/GitHubHelper@master\n        with:\n          milestone: '${{ inputs.milestone }}'\n          repository: 'ikabot'\n          repository-owner: 'Ikabot-Collective'\n          token: ${{ github.token }}\n\n      - name: Generate Release Notes\n        run: |\n          $response = gh api --method POST -H \"Accept: application/vnd.github+json\" /repos/${{ github.repository }}/releases/generate-notes -f tag_name='v${{ inputs.milestone }}'\n          $json = $response | ConvertFrom-Json\n          $releaseNotes = $json.body\n          $contributors = \"${{ steps.get-contribs.outputs.contributors }}\"\n          $releaseNotes | Out-File -Append \"ReleaseNotes.md\"\n          \"`n\" | Out-File -Append \"ReleaseNotes.md\"\n          $contributors | Out-File -Append \"ReleaseNotes.md\"\n          cat \"ReleaseNotes.md\"\n\n      - name: Upload Release Notes\n        uses: actions/upload-artifact@v4\n        with:\n          name: ReleaseNotes\n          path: \"ReleaseNotes.md\"\n\n  update_version_number:\n    runs-on: ubuntu-latest\n    name: Update Version Number\n\n    steps:\n      - uses: actions/checkout@v4\n      \n      - name: Replace version value\n        run: sed -i 's/IKABOT_VERSION = \".\\+\"/IKABOT_VERSION = \"${{ inputs.milestone }}\"/' ikabot/config.py\n\n      - name: Push changes\n        run: |\n          git config --local user.email \"github-actions[bot]@users.noreply.github.com\"\n          git config --local user.name \"github-actions[bot]\"\n          git add ikabot/config.py\n          git commit -m \"Bump Ikabot version ${{ inputs.milestone }}\"\n          git push\n\n  build_artifacts:\n    needs: [update_version_number]\n    name: Build artifacts\n    uses: ./.github/workflows/build_artifacts.yml\n\n  create_release:\n    needs: [build_artifacts, build_release_notes]\n    runs-on: ubuntu-latest\n    name: Create Draft Release\n\n    steps:\n      - name: Download Pre-Compiled Ikabot Artifacts\n        uses: actions/download-artifact@v4\n        with:\n          name: PreCompiledIkabot\n          path: pre-compiled-ikabot\n\n      - name: Zip Ikabot\n        run: |\n          cd pre-compiled-ikabot\n          zip -r ../Ikabot.zip ikabot/*\n          cd ..\n\n      - name: Download Release Notes\n        uses: actions/download-artifact@v4\n        with:\n          name: ReleaseNotes\n\n      - name: Create Release\n        run: |\n          # We can't use glob pattern because of this bug https://github.com/cli/cli/issues/5099\n          gh release create v${{ inputs.milestone }} --repo '${{ github.repository }}' --draft --latest --title \"${{ inputs.milestone }}\" --notes-file ReleaseNotes.md '${{ github.workspace }}/Ikabot.zip'\n\n  publish_release:\n    needs: [create_release]\n    runs-on: ubuntu-latest\n    name: Publish Release\n\n    steps:\n      - name: Publish Release\n        run: |\n          gh release edit v${{ inputs.milestone }} --repo '${{ github.repository }}' --draft=false          \n\n  close_milestone:\n    needs: [publish_release]\n    runs-on: ubuntu-latest\n    name: Close Milestone\n\n    steps:\n      # Doing a checkout, until this issue is resolved.\n      # https://github.com/valeriobelli/gh-milestone/issues/15\n      - uses: actions/checkout@v4\n\n      - name: Close Milestone\n        run: |\n          gh extension install valeriobelli/gh-milestone\n          $milestones = $(gh milestone list --json number,title) | ConvertFrom-Json\n          $milestoneNumber = ($milestones | Where-Object { $_.title -eq \"${{ inputs.milestone }}\" }).number\n          gh milestone edit $milestoneNumber --state closed\n\n  publish_docker:\n    needs: [publish_release]\n    name: Publish Docker Image\n    uses: ./.github/workflows/publish_docker.yml\n    with:\n      tag_name: 'v${{ inputs.milestone }}'\n    permissions:\n      contents: read\n      packages: write\n\n  publish_pypi:\n    needs: [publish_release]\n    name: Publish Python Package\n    uses: ./.github/workflows/publish_pypi.yml\n    secrets:\n      PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "Ikabot-Collective/ikabot"}
{"mined_at": "2024-07-15T18:57:11.680526", "created_at": "2024-02-13T18:10:06+01:00", "updated_at": "2024-02-13T18:15:56+01:00", "name": "Test and Run Ikabot", "path": ".github/workflows/test_and_run.yml", "contents": "name: Test and Run Ikabot\n\non:\n  pull_request:\n    branches:\n      - master\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    continue-on-error: ${{ endsWith(matrix.python-version, '-dev') }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, windows-latest]\n        python-version: ['3.9', '3.10', '3.11', '3.12']\n\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      if: \"!endsWith(matrix.python-version, '-dev')\"\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: deadsnakes/action@v1.0.0\n      if: endsWith(matrix.python-version, '-dev')\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -e .\n    - name: Install Test Dependencies\n      run: |\n        pip install pytest\n        pip install pytest-mock\n    - name: Run Tests\n      run: |\n        python -m pytest tests/ikabot\n    - name: Run ikabot\n      run: |\n        printf \"\\n\\n\" | python -m ikabot &> log.log || cat log.log\n        grep \"Obtaining new blackbox token, please wait...\" log.log && exit 0 || exit 1\n", "state": "active", "repository": "Ikabot-Collective/ikabot"}
{"mined_at": "2024-07-15T18:57:12.857366", "created_at": "2024-02-13T18:30:06+01:00", "updated_at": "2024-02-13T18:36:05+01:00", "name": "Run API Tests manually", "path": ".github/workflows/test_api_manually.yml", "contents": "name: Run API Tests manually\n\non:\n  workflow_dispatch:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Install Project Dependencies\n      run: |\n        python -m pip install --upgrade pip\n        python -m pip install -e .\n\n    - name: Install Test Dependencies\n      run: |\n        pip install pytest\n        pip install pytest-mock\n\n    - name: Run Tests\n      run: |\n        python -m pytest tests/api\n", "state": "active", "repository": "Ikabot-Collective/ikabot"}
{"mined_at": "2024-07-15T18:57:14.035060", "created_at": "2024-02-14T15:04:36+01:00", "updated_at": "2024-02-14T15:04:36+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "Ikabot-Collective/ikabot"}
{"mined_at": "2024-07-15T18:57:17.312389", "created_at": "2024-02-14T09:18:04+01:00", "updated_at": "2024-02-14T09:18:04+01:00", "name": "GHA CI", "path": ".github/workflows/main.yml", "contents": "name: GHA CI\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * 0\" # every Sunday at midnight\n  workflow_dispatch:\n\njobs:\n  industrial_ci:\n    name: GHA CI\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    env:\n      ADDITIONAL_DEBS: 'apt-utils dialog git'\n      AFTER_SCRIPT: 'rosenv sh .ci.xacro_test.sh'\n      CATKIN_LINT: pedantic\n      CATKIN_LINT_ARGS: '--ignore description_boilerplate'\n      CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release\n      PYLINT_ARGS: '--output-format=parseable --errors-only'\n      PYLINT_CHECK: true\n      ROS_REPO: main\n\n    strategy:\n      matrix:\n        include:\n          - { ROS_DISTRO: noetic }\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          lfs: true\n          ssh-known-hosts: ''\n\n      - uses: ros-industrial/industrial_ci@master\n        with:\n          config: ${{toJSON(matrix)}}\n", "state": "active", "repository": "4am-robotics/cob_common"}
{"mined_at": "2024-07-15T18:57:18.297667", "created_at": "2024-06-25T01:13:13+02:00", "updated_at": "2024-06-25T01:13:13+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "4am-robotics/cob_common"}
{"mined_at": "2024-07-15T18:57:20.486865", "created_at": "2024-02-14T17:00:01+01:00", "updated_at": "2024-02-14T17:00:01+01:00", "name": "GHA CI", "path": ".github/workflows/main.yml", "contents": "name: GHA CI\n\non:\n  push:\n  pull_request:\n  schedule:\n    - cron: \"0 0 * * 0\" # every Sunday at midnight\n  workflow_dispatch:\n\njobs:\n  industrial_ci:\n    name: GHA CI\n    runs-on: ubuntu-latest\n    timeout-minutes: 60\n\n    env:\n      ADDITIONAL_DEBS: 'apt-utils dialog git'\n      CATKIN_LINT: pedantic\n      CATKIN_LINT_ARGS: '--ignore description_boilerplate'\n      CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release\n      PYLINT_ARGS: '--output-format=parseable --errors-only --ignored-modules=gtk,mechanize,python_qt_binding'\n      PYLINT_CHECK: true\n      ROS_REPO: main\n\n    strategy:\n      matrix:\n        include:\n          - { ROS_DISTRO: noetic }\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          submodules: true\n          lfs: true\n          ssh-known-hosts: ''\n\n      - uses: ros-industrial/industrial_ci@master\n        with:\n          config: ${{toJSON(matrix)}}\n", "state": "active", "repository": "4am-robotics/cob_command_tools"}
{"mined_at": "2024-07-15T18:57:21.494968", "created_at": "2024-06-24T10:16:54+02:00", "updated_at": "2024-06-24T10:16:54+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "4am-robotics/cob_command_tools"}
{"mined_at": "2024-07-15T18:57:24.173535", "created_at": "2024-02-14T10:20:57+01:00", "updated_at": "2024-02-14T10:20:57+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '42 19 * * 5'\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]\n        # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n", "state": "active", "repository": "VinciGit00/Scrapegraph-ai"}
{"mined_at": "2024-07-15T18:57:25.424936", "created_at": "2024-02-14T10:23:50+01:00", "updated_at": "2024-02-14T11:15:10+01:00", "name": "Dependency review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request,\n# surfacing known-vulnerable versions of the packages declared or updated in the PR.\n# Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable\n# packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: 'Dependency review'\non:\n  pull_request:\n    branches: [ \"main\" ]\n\n# If using a dependency submission action in this workflow this permission will need to be set to:\n#\n# permissions:\n#   contents: write\n#\n# https://docs.github.com/en/enterprise-cloud@latest/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api\npermissions:\n  contents: read\n  # Write permissions for pull-requests are required for using the `comment-summary-in-pr` option, comment out if you aren't using this option\n  pull-requests: write\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout repository'\n        uses: actions/checkout@v4\n      - name: 'Dependency Review'\n        uses: actions/dependency-review-action@v4\n        # Commonly enabled options, see https://github.com/actions/dependency-review-action#configuration-options for all available options.\n        with:\n          comment-summary-in-pr: always\n        #   fail-on-severity: moderate\n        #   deny-licenses: GPL-1.0-or-later, LGPL-2.0-or-later\n        #   retry-on-snapshot-warnings: true\n", "state": "active", "repository": "VinciGit00/Scrapegraph-ai"}
{"mined_at": "2024-07-15T18:57:26.646933", "created_at": "2024-02-12T21:54:05+01:00", "updated_at": "2024-05-06T10:09:21+02:00", "name": ".github/workflows/pylint.yml", "path": ".github/workflows/pylint.yml", "contents": "on: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install pylint\n          pip install -r requirements.txt\n      - name: Analysing the code with pylint\n        run: pylint --disable=C0114,C0115,C0116 --exit-zero scrapegraphai/**/*.py scrapegraphai/*.py\n      - name: Check Pylint score\n        run: |\n          pylint_score=$(pylint --disable=all --enable=metrics --output-format=text scrapegraphai/**/*.py scrapegraphai/*.py | grep 'Raw metrics' | awk '{print $4}')\n          if (( $(echo \"$pylint_score < 8\" | bc -l) )); then\n            echo \"Pylint score is below 8. Blocking commit.\"\n            exit 1\n          else\n            echo \"Pylint score is acceptable.\"\n          fi\n", "state": "active", "repository": "VinciGit00/Scrapegraph-ai"}
{"mined_at": "2024-07-15T18:57:27.907686", "created_at": "2024-07-09T16:19:39+02:00", "updated_at": "2024-07-09T18:50:33+02:00", "name": "Python application", "path": ".github/workflows/python-app.yml", "contents": null, "state": "active", "repository": "VinciGit00/Scrapegraph-ai"}
{"mined_at": "2024-07-15T18:57:29.293300", "created_at": "2024-02-17T11:06:17+01:00", "updated_at": "2024-02-17T11:06:17+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: mvincig11\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: |\n        git fetch --all --tags\n        python setup.py sdist bdist_wheel\n        twine upload dist/*", "state": "active", "repository": "VinciGit00/Scrapegraph-ai"}
{"mined_at": "2024-07-15T18:57:30.527949", "created_at": "2024-04-26T19:11:40+02:00", "updated_at": "2024-04-26T19:36:44+02:00", "name": "Release", "path": ".github/workflows/release.yml", "contents": "name: Release\non:\n  push:\n    branches:\n      - main\n      - pre/*\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Install git\n        run: |\n          sudo apt update\n          sudo apt install -y git\n      - name: Install the latest version of rye\n        uses: eifinger/setup-rye@v3\n      - name: Install Node Env\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n      - name: Checkout\n        uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 0\n          persist-credentials: false\n      - name: Build app\n        run: |\n          rye sync --no-lock\n          rye build\n        id: build_cache\n        if: success()\n      - name: Cache build\n        uses: actions/cache@v2\n        with:\n          path: ./dist\n          key: ${{ runner.os }}-build-${{ hashFiles('dist/**') }}\n        if: steps.build_cache.outputs.id != ''\n\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n    needs: build\n    environment: development\n    if: | \n        github.event_name == 'push' && github.ref == 'refs/heads/main' || \n        github.event_name == 'push' && github.ref == 'refs/heads/pre/beta' || \n        github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged && github.event.pull_request.base.ref == 'main' || \n        github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged && github.event.pull_request.base.ref == 'pre/beta'\n    permissions:\n      contents: write\n      issues: write\n      pull-requests: write\n      id-token: write\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4.1.1\n        with:\n          fetch-depth: 0\n          persist-credentials: false\n      - name: Semantic Release\n        uses: cycjimmy/semantic-release-action@v4.1.0\n        with:\n          semantic_version: 23\n          extra_plugins: |\n            semantic-release-pypi@3\n            @semantic-release/git \n            @semantic-release/commit-analyzer@12 \n            @semantic-release/release-notes-generator@13 \n            @semantic-release/github@10 \n            @semantic-release/changelog@6\n            conventional-changelog-conventionalcommits@7\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}\n", "state": "active", "repository": "VinciGit00/Scrapegraph-ai"}
{"mined_at": "2024-07-15T18:57:31.855197", "created_at": "2024-02-14T12:16:04+01:00", "updated_at": "2024-02-14T12:16:04+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "VinciGit00/Scrapegraph-ai"}
{"mined_at": "2024-07-15T18:57:34.106566", "created_at": "2024-02-08T03:38:59+01:00", "updated_at": "2024-02-09T17:17:07+01:00", "name": "Build binaries and Upload to Release", "path": ".github/workflows/build_and_release.yml", "contents": "name: Build binaries and Upload to Release\n\non:\n  workflow_run:\n    workflows: [\"Sync Version\"]\n    types:\n      - completed\n  workflow_dispatch: {}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  build:\n    name: Build and Release for ${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [windows-latest, ubuntu-latest]\n        python-version: [\"3.12\"]\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - name: \"Setup Python, Poetry and Dependencies\"\n        uses: packetcoders/action-setup-cache-python-poetry@main\n        with:\n          poetry-version: 1.7.1\n          python-version: ${{matrix.python-version}}\n\n      - name: Build\n        run: |\n          poetry add pyinstaller\n          poetry run pyinstaller -F -n ToolDelta-${{ matrix.os == 'windows-latest' && 'windows.exe' || 'linux' }} -i logo.ico main.py\n\n      - name: Get Version\n        run: echo \"VERSION=$(<version)\" >> $GITHUB_ENV\n\n      # - name: Combine Certificates && Sign Binaries\n      #   run: |\n      #     if [ ${{ matrix.os }} == 'windows-latest' ]; then\n      #       ./signtool.exe sign /fd certHash /f ToolDelta.pfx /p ${{secrets.CERTIFICATE_PASSWORD}} /t http://timestamp.digicert.com ToolDelta-windows.exe\n      #     fi\n\n      - name: Release\n        uses: softprops/action-gh-release@v1\n        with:\n          tag_name: ${{ env.VERSION }}\n          name: ${{ env.VERSION }}\n          files: dist/*\n", "state": "active", "repository": "ToolDelta/ToolDelta"}
{"mined_at": "2024-07-15T18:57:35.232830", "created_at": "2024-02-08T03:38:59+01:00", "updated_at": "2024-02-08T03:54:10+01:00", "name": "Build and Publish Python Package", "path": ".github/workflows/publish_python_package.yml", "contents": "name: Build and Publish Python Package\n\n\n\non:\n  workflow_run:\n    workflows: [\"Sync Version\"]\n    types:\n      - completed\n  workflow_dispatch: {}\n\n\n\njobs:\n  Publisher:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Checkout Code\n      uses: actions/checkout@v4\n  \n    - name: Set Up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n\n    - name: Install Dependencies\n      run: pip install poetry\n\n    - name: Build and Publish\n      run: |\n        poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}\n        poetry version $(cat version)\n        poetry build\n        poetry publish", "state": "active", "repository": "ToolDelta/ToolDelta"}
{"mined_at": "2024-07-15T18:57:36.461295", "created_at": "2024-02-08T07:16:25+01:00", "updated_at": "2024-02-08T07:16:25+01:00", "name": "Check PyProject and Lock File", "path": ".github/workflows/check_pyproject_and_lock_file.yml", "contents": "name: Check PyProject and Lock File\n\n\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - \"pyproject.toml\"\n      - \"poetry.lock\"\n  pull_request:\n    branches: [ main ]\n    paths:\n      - \"pyproject.toml\"\n      - \"poetry.lock\"\n  workflow_dispatch: {}\n\n\n\njobs:\n  Checker:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Checkout Code\n        uses: actions/checkout@v4\n\n      - name: Set Up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Install Dependencies\n        run: pip install poetry\n\n      - name: Lock and Check\n        run: |\n            poetry lock\n            poetry check\n      - name: Submit Changes\n        uses: EndBug/add-and-commit@v9\n        with:\n          default_author: github_actions\n          message: \"[AUTO] Lock Poetry Files\"\n          add: \"poetry.lock\"", "state": "active", "repository": "ToolDelta/ToolDelta"}
{"mined_at": "2024-07-15T18:57:37.463233", "created_at": "2024-02-10T05:25:49+01:00", "updated_at": "2024-02-10T05:50:51+01:00", "name": "Sync Version", "path": ".github/workflows/sync_version.yml", "contents": "name: Sync Version\n\n\n\non:\n  push:\n    branches: [ main ]\n    paths:\n      - \"version\"\n  workflow_dispatch: {}\n\n\n\njobs:\n  Synchronizer:\n    runs-on: ubuntu-latest\n    steps:\n\n    - name: Checkout code\n      uses: actions/checkout@v4\n\n    - name: Get and Set Version\n      run: |\n        echo \"VERSION=$(<version)\" >> $GITHUB_ENV\n        sed -i \"/return (/c\\        return ($(sed -e 's/\\./, /g' version))\" tooldelta/get_tool_delta_version.py\n\n    - name: Set Up Python\n      uses: actions/setup-python@v5\n      with:\n          python-version: \"3.11\"\n\n    - name: Check Modified Code\n      run: python tooldelta/get_tool_delta_version.py\n\n    - name: Submit Changes\n      uses: EndBug/add-and-commit@v9\n      with:\n        default_author: github_actions\n        message: '[AUTO] sync version to `${{ env.VERSION }}`'\n        add: 'tooldelta/get_tool_delta_version.py install.sh'", "state": "active", "repository": "ToolDelta/ToolDelta"}
{"mined_at": "2024-07-15T18:57:38.597842", "created_at": "2024-02-29T12:38:43+01:00", "updated_at": "2024-02-29T13:06:53+01:00", "name": "Build and Push Docker Image", "path": ".github/workflows/docker_build.yml", "contents": "name: Build and Push Docker Image\n\non:\n  workflow_run:\n    workflows: [\"Sync Version\"]\n    types:\n      - completed\n  workflow_dispatch: {}\n\njobs:\n  docker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n      - name: Get and Set Version\n        run: |\n          echo \"VERSION=$(<version)\" >> $GITHUB_ENV\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          tags: ${{ secrets.DOCKERHUB_USERNAME }}/tooldelta:${{ env.VERSION }}\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          tags: ${{ secrets.DOCKERHUB_USERNAME }}/tooldelta:latest\n", "state": "active", "repository": "ToolDelta/ToolDelta"}
{"mined_at": "2024-07-15T18:57:39.602447", "created_at": "2024-03-03T15:18:34+01:00", "updated_at": "2024-03-03T15:18:34+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "ToolDelta/ToolDelta"}
{"mined_at": "2024-07-15T18:57:40.661513", "created_at": "2024-03-03T14:39:07+01:00", "updated_at": "2024-03-03T15:18:35+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n  schedule:\n    - cron: '44 2 * * 0'\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]\n        # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v3\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "disabled_manually", "repository": "ToolDelta/ToolDelta"}
{"mined_at": "2024-07-15T18:57:42.695720", "created_at": "2024-02-04T20:34:08+01:00", "updated_at": "2024-02-19T16:30:23+01:00", "name": "Site generation", "path": ".github/workflows/site_generation.yml", "contents": "name: Site generation\n\non:\n  workflow_dispatch:\n  push:\n  pull_request:\n\njobs:\n  site_generation:\n    runs-on: ubuntu-latest\n    name: Site generation\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n          cache: 'pip'\n      - name: Run pip_install\n        run: pip install -r utilities/requirements.txt\n      - name: Run check_config\n        run: ./.cirrus_get_filelist.py | ./utilities/check_platform_ini.py -\n      - name: Run site_generator\n        run: |\n          git diff --cached --exit-code\n          git diff --exit-code\n          python3 utilities/site_generator.py\n      - name: Fix permissions\n        run: |\n          chmod -c -R +rX \".\" | while read line; do\n            echo \"::warning title=Invalid file permissions automatically fixed::$line\"\n          done\n      - name: Upload Pages artifact\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: \".\"\n\n  site_deployment:\n    name: Site Deployment\n    needs: site_generation\n\n    if: ${{ github.ref == 'refs/heads/master' }}\n\n    permissions:\n      pages: write\n      id-token: write\n\n    environment:\n      name: github-pages\n      url: ${{ steps.site_deployment.outputs.page_url }}\n\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "ungoogled-software/ungoogled-chromium-binaries"}
{"mined_at": "2024-07-15T18:57:43.678953", "created_at": "2022-01-09T06:06:04+01:00", "updated_at": "2022-01-09T06:06:04+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ungoogled-software/ungoogled-chromium-binaries"}
{"mined_at": "2024-07-15T18:57:45.780613", "created_at": "2021-05-03T14:21:59+02:00", "updated_at": "2021-05-04T09:33:41+02:00", "name": "Build client app", "path": ".github/workflows/build-client.yml", "contents": "name: Build client app\n\non:\n  pull_request:\n    paths:\n      - \"terracotta/client/app/**\"\n\n  push:\n    branches:\n      - main\n    paths:\n      - \"terracotta/client/app/**\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          ref: ${{ github.head_ref }}\n\n      - uses: actions/setup-node@v1\n        with:\n          node-version: 12\n\n      - name: Build app\n        run: |\n          pushd terracotta/client/app\n          yarn install --frozen-lockfile\n          yarn build\n          popd\n\n      - name: Commit changes\n        uses: stefanzweifel/git-auto-commit-action@v4.9.0\n        with:\n          commit_message: \"[skip ci] Commit latest build\"\n", "state": "active", "repository": "DHI/terracotta"}
{"mined_at": "2024-07-15T18:57:46.895692", "created_at": "2021-12-16T11:50:45+01:00", "updated_at": "2021-12-16T11:50:45+01:00", "name": "Upload release", "path": ".github/workflows/deploy.yml", "contents": "name: Upload release\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      # make sure tags are fetched so we can get a version\n      - run: |\n          git fetch --prune --unshallow --tags\n\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.x'\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install setuptools wheel twine\n\n      - name: Build sdist\n        run: |\n          python setup.py sdist\n\n      - name: Publish to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "DHI/terracotta"}
{"mined_at": "2024-07-15T18:57:48.030312", "created_at": "2024-03-27T11:05:54+01:00", "updated_at": "2024-05-03T15:06:40+02:00", "name": "Docker-build-push", "path": ".github/workflows/docker-publish.yml", "contents": "name: Docker-build-push\n\non:\n  release:\n    types: [published]\n\nenv:\n  REGISTRY: docker.io\n  REPOSITORY: dhigras/terracotta\n\njobs:\n  docker-build-push:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      # QEMU is used to emulate different processor architectures\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      # Set up BuildKit Docker container builder to be able to build\n      # multi-platform images and export cache\n      # https://github.com/docker/setup-buildx-action\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      # Login against a Docker registry except on PR\n      # https://github.com/docker/login-action\n      - name: Log into registry ${{ env.REGISTRY }}\n        uses: docker/login-action@v3\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ secrets.REGISTRY_USERNAME }}\n          password: ${{ secrets.REGISTRY_TOKEN }}\n\n      # Extract metadata (tags, labels) for Docker\n      # https://github.com/docker/metadata-action\n      - name: Extract Docker metadata\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}\n          tags: |\n            ${{ github.event.release.tag_name }}\n            latest\n\n      # Build and push Docker image with Buildx (don't push on PR)\n      # https://github.com/docker/build-push-action\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5\n        with:\n          file: ${{ github.workspace }}/docker/Dockerfile\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "DHI/terracotta"}
{"mined_at": "2024-07-15T18:57:49.142457", "created_at": "2022-02-11T22:29:44+01:00", "updated_at": "2022-02-21T11:05:55+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - main\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.11'\n\n    - uses: pre-commit/action@v2.0.0", "state": "active", "repository": "DHI/terracotta"}
{"mined_at": "2024-07-15T18:57:50.372681", "created_at": "2021-12-15T14:07:18+01:00", "updated_at": "2021-12-16T11:50:45+01:00", "name": "Tests", "path": ".github/workflows/test.yml", "contents": "name: Tests\n\non:\n  pull_request:\n\n  push:\n    branches:\n      - main\n\nenv:\n  MYSQL_PORT: 3306\n  POSTGRESQL_PORT: 5432\n  DB_USER: root\n  DB_PASSWORD: root\n\njobs:\n  test-pip:\n    name: Run tests (with pip)\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.8\", \"3.11\"]\n\n    defaults:\n      run:\n        shell: bash\n\n    services:\n      postgres:\n        image: postgres\n        env:\n          POSTGRES_USER: ${{ env.DB_USER }}\n          POSTGRES_PASSWORD: ${{ env.DB_PASSWORD }}\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n        ports:\n          - 5432:5432\n\n    steps:\n      - uses: actions/checkout@v2\n\n      # make sure tags are fetched so we can get a version\n      - run: git fetch --prune --unshallow --tags\n\n      - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"::set-output name=dir::$(pip cache dir)\"\n\n      - name: Restore pip cache\n        uses: actions/cache@v2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ matrix.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ matrix.os }}-pip-\n\n      - name: Setup Python environment\n        run: |\n          python -m pip install --upgrade pip setuptools wheel\n          pip install cython numpy\n\n      - name: Setup MySQL\n        run: |\n          sudo /etc/init.d/mysql start\n          mysql -e 'SHOW DATABASES;' -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }}\n\n      - name: Install Terracotta\n        run: |\n          pip install -e .[test]\n          pip freeze\n\n      - name: Run tests\n        run: |\n          MYSQL_SRV=\"${{ env.DB_USER }}:${{ env.DB_PASSWORD }}@127.0.0.1:${{ env.MYSQL_PORT }}\"\n          POSTGRESQL_SRV=\"${{ env.DB_USER }}:${{ env.DB_PASSWORD }}@localhost:${{ env.POSTGRESQL_PORT }}\"\n          python -m pytest . --color=yes --cov=terracotta --mysql-server=$MYSQL_SRV --postgresql-server=$POSTGRESQL_SRV\n\n      - name: Run benchmarks\n        run: |\n          python -m pytest --color=yes tests/benchmarks.py\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v1\n\n\n  test-conda:\n    name: Run tests (with conda)\n\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      fail-fast: false\n\n      matrix:\n        os: [macos-latest, windows-latest]\n        python-version: [\"3.8\", \"3.11\"]\n\n    defaults:\n      run:\n        shell: bash -l {0}\n\n    steps:\n      - uses: actions/checkout@v2\n\n      # make sure tags are fetched so we can get a version\n      - run: git fetch --prune --unshallow --tags\n\n      - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: |\n          echo \"::set-output name=dir::$(pip cache dir)\"\n\n      - name: Restore pip cache\n        uses: actions/cache@v2\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ matrix.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/requirements*.txt') }}\n          restore-keys: |\n            ${{ matrix.os }}-pip-\n\n      - name: Restore conda cache\n        uses: actions/cache@v2\n        with:\n          path: ~/conda_pkgs_dir\n          key:\n            ${{ runner.os }}-conda-${{ matrix.python-version }}-${{ hashFiles('environment.yml') }}\n\n      - uses: conda-incubator/setup-miniconda@v3\n        with:\n          python-version: ${{ matrix.python-version }}\n          environment-file: environment.yml\n          activate-environment: terracotta\n\n      - name: Install Terracotta\n        run: |\n          pip install -e .[test]\n          conda list\n\n      - name: Run tests\n        run: |\n          python -m pytest . --color=yes --cov=terracotta\n\n      - name: Run benchmarks\n        run: |\n          python -m pytest tests/benchmarks.py --color=yes\n\n      - name: Upload coverage\n        uses: codecov/codecov-action@v1\n", "state": "active", "repository": "DHI/terracotta"}
{"mined_at": "2024-07-15T18:57:52.554198", "created_at": "2022-01-31T09:22:41+01:00", "updated_at": "2022-04-04T16:40:26+02:00", "name": "Docs Publish", "path": ".github/workflows/docs.yml", "contents": "---\nname: Docs Publish\non:\n  push:\n    tags:\n      - \"*\"\n  workflow_dispatch:\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n      with:\n        fetch-depth: 0\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.9'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -U virtualenv setuptools wheel tox\n        sudo apt-get install -y graphviz pandoc\n    - name: Build docs\n      run: tox -edocs\n    - name: Bypass Jekyll Processing # Necessary for setting the correct css path\n      run: touch docs/_build/html/.nojekyll\n    - name: Deploy\n      uses: JamesIves/github-pages-deploy-action@v4\n      with:\n        folder: docs/_build/html/", "state": "active", "repository": "Qiskit-Extensions/qiskit-ibm-experiment"}
{"mined_at": "2024-07-15T18:57:53.661003", "created_at": "2022-03-03T16:11:58+01:00", "updated_at": "2022-03-06T17:01:19+01:00", "name": "Tests", "path": ".github/workflows/main.yml", "contents": "name: Tests\non:\n  push:\n    branches: [ main, 'stable/*' ]\n  pull_request:\n    branches: [ main, 'stable/*' ]\nconcurrency:\n  group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: true\njobs:\n  lint:\n    if: github.repository_owner == 'Qiskit-Extensions'\n    name: lint\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Pip cache\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-lint-${{ hashFiles('setup.py','requirements-dev.txt','constraints.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-lint-\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-\n            ${{ runner.os }}-${{ matrix.python-version }}-\n      - name: Install Deps\n        run: python -m pip install -U tox\n      - name: Run lint\n        run: tox -elint\n  docs:\n    if: github.repository_owner == 'Qiskit-Extensions'\n    name: docs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Pip cache\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-docs-${{ hashFiles('setup.py','requirements-dev.txt','constraints.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-pip-docs-\n            ${{ runner.os }}-pip-\n            ${{ runner.os }}-\n      - name: Install Deps\n        run: |\n          python -m pip install -U tox\n          sudo apt-get install -y pandoc graphviz\n      - name: Build Docs\n        run: tox -edocs\n      - uses: actions/upload-artifact@v2\n        with:\n          name: html_docs\n          path: docs/_build/html\n  tests:\n    if: github.repository_owner == 'Qiskit-Extensions'\n    name: tests-python${{ matrix.python-version }}-${{ matrix.os }}\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        python-version: [3.8, 3.9]\n        os: [\"ubuntu-latest\", \"macOS-latest\", \"windows-latest\"]\n    steps:\n      - name: Print Concurrency Group\n        env:\n          CONCURRENCY_GROUP: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}\n        run: |\n          echo -e \"\\033[31;1;4mConcurrency Group\\033[0m\"\n          echo -e \"$CONCURRENCY_GROUP\\n\"\n        shell: bash\n      - uses: actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Pip cache\n        uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: ${{ runner.os }}-${{ matrix.python-version }}-pip-tests-${{ hashFiles('setup.py','requirements-dev.txt','constraints.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-tests-\n            ${{ runner.os }}-${{ matrix.python-version }}-pip-\n            ${{ runner.os }}-${{ matrix.python-version }}\n      - name: Install Deps\n        run: python -m pip install -U tox setuptools virtualenv wheel\n      - name: Install and Run Tests\n        run: tox -e py\n", "state": "active", "repository": "Qiskit-Extensions/qiskit-ibm-experiment"}
{"mined_at": "2024-07-15T18:57:54.726374", "created_at": "2022-04-04T15:38:23+02:00", "updated_at": "2022-04-04T15:38:23+02:00", "name": "Release Artifacts", "path": ".github/workflows/release.yml", "contents": "name: Release Artifacts\non:\n  push:\n    tags:\n      - '*'\njobs:\n  Deploy:\n    runs-on: ubuntu-latest\n    environment: release\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        name: Install Python\n        with:\n          python-version: '3.9'\n      - name: Install Deps\n        run: pip install -U twine wheel\n      - name: Build Artifacts\n        run: |\n          python setup.py sdist\n          python setup.py bdist_wheel\n        shell: bash\n      - uses: actions/upload-artifact@v2\n        with:\n          path: ./dist/qiskit*\n      - name: Publish to PyPi\n        uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "Qiskit-Extensions/qiskit-ibm-experiment"}
{"mined_at": "2024-07-15T18:57:55.814929", "created_at": "2024-02-05T19:30:10+01:00", "updated_at": "2024-02-05T19:30:10+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "Qiskit-Extensions/qiskit-ibm-experiment"}
{"mined_at": "2024-07-15T18:57:57.044402", "created_at": "2022-03-14T14:02:54+01:00", "updated_at": "2024-06-18T06:03:48+02:00", "name": "Cron-staging", "path": ".github/workflows/cron-staging.yml", "contents": "name: Cron-staging\non:\n  schedule:\n    - cron: \"0 4 * * *\"\njobs:\n  experiment-integration:\n    if: github.repository_owner == 'Qiskit-Extensions'\n    name: ibm-experiment-integration\n    runs-on: macOS-latest\n    env:\n      QISKIT_IBM_STAGING_API_TOKEN: ${{ secrets.QISKIT_IBM_STAGING_API_TOKEN }}\n      QISKIT_IBM_STAGING_API_URL: ${{ secrets.QISKIT_IBM_STAGING_API_URL }}\n      QISKIT_IBM_STAGING_HGP: ${{ secrets.QISKIT_IBM_STAGING_HGP }}\n      QISKIT_IBM_STAGING_BACKEND: ${{ secrets.QISKIT_IBM_STAGING_BACKEND }}\n      QISKIT_IBM_USE_STAGING_CREDENTIALS: True\n      TEST_TIMEOUT: \"0\"\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python 3.8\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.8\n      - name: Install Deps\n        run: python -m pip install -U tox setuptools virtualenv wheel\n      - name: Run Server Integration Tests\n        run: tox -epy38 -- -n test/service/test_experiment_server_integration.py\n      - name: Run Experiment Data Integration Tests\n        run: tox -epy38 -- -n test/service/test_experiment_data_integration.py\n", "state": "disabled_inactivity", "repository": "Qiskit-Extensions/qiskit-ibm-experiment"}
{"mined_at": "2024-07-15T18:57:59.280816", "created_at": "2021-10-19T16:48:10+02:00", "updated_at": "2021-11-22T22:15:24+01:00", "name": "Integration Tests", "path": ".github/workflows/integration.yml", "contents": "# Workflow that installs SNOwGLoBES and runs an integration test\n\nname: Integration Tests\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the main branch\non:\n  push:\n    branches: \n      - main\n      - release_*\n  pull_request:\n    branches: \n      - main\n      - release_*\n    types: [opened, synchronize, reopened, ready_for_review]\n\njobs:\n  run:\n    # Only execute integration test if PR is *not* a draft\n    if: github.event.pull_request.draft == false\n\n    runs-on: ubuntu-latest\n    strategy:\n      # Add a list of python versions we want to use for testing.\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n      - name: Install SNEWPY\n        run: |\n          pip install \".[dev]\"\n      - name: Run Integration Tests\n        run: |\n          python -m unittest python/snewpy/test/simplerate_integrationtest.py\n          pytest -m 'snowglobes'\n      - name: Run Jupyter notebooks\n        run: |\n          pip install nbclient ipykernel\n          jupyter kernelspec list\n          cd doc/nb/\n          jupyter execute ccsn/*.ipynb\n          jupyter execute presn/*.ipynb\n          jupyter execute AnalyticFluence.ipynb FlavorTransformation.ipynb\n          # Download necessary progenitor file, before executing the notebook\n          python -c 'from snewpy.models.ccsn import Zha_2021; from astropy import units as u; _ = Zha_2021(progenitor_mass=17*u.solMass)'\n          jupyter execute SNOwGLoBES_usage.ipynb\n", "state": "active", "repository": "SNEWS2/snewpy"}
{"mined_at": "2024-07-15T18:58:00.310995", "created_at": "2021-08-04T22:06:30+02:00", "updated_at": "2021-08-10T17:03:04+02:00", "name": "Publish to PyPI", "path": ".github/workflows/publish.yml", "contents": "# This workflows will upload a Python Package using Twine when a release is published\n# Based on https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\nname: Publish to PyPI\n\non:\n  push:\n    tags: # Sequence of patterns matched against refs/tags\n      - 'v*' # Any tag matching v*, e.g. v1.0, v1.2b1\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.11'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n\n    - name: Check and get Version Number\n      id: get_version\n      run: |\n        pip install .\n        PYTHON_VERSION=`python -c 'import snewpy; print(snewpy.__version__)'`\n        echo \"PYTHON_VERSION=${PYTHON_VERSION}\"\n        GIT_VERSION=${GITHUB_REF/refs\\/tags\\/v/}\n        echo \"GIT_VERSION=${GIT_VERSION}\"\n        if [ $PYTHON_VERSION != $GIT_VERSION ]; then exit 1; fi\n        echo \"VERSION=${PYTHON_VERSION}\" >> $GITHUB_OUTPUT\n\n    - name: Build and publish\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_JM }}\n      run: |\n        python setup.py sdist bdist_wheel\n        twine upload dist/*\n\n    - name: Create Draft Release\n      # Go to https://github.com/SNEWS2/snewpy/releases to edit this draft release and publish it\n      # Once it is published, the release automatically is pushed to Zenodo: https://doi.org/10.5281/zenodo.4498940\n      id: create_release\n      uses: actions/create-release@v1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      with:\n        tag_name: ${{ steps.get_version.outputs.VERSION }}\n        release_name: ${{ steps.get_version.outputs.VERSION }}\n        body: |\n          [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4498940.svg)](https://doi.org/10.5281/zenodo.4498940)\n          (TODO: This DOI always points to the latest version. Replace it with the DOI for this specific release!)\n          \n          List major changes since the last release here: newly added models, new features, etc.\n          If necessary, also list breaking changes: removed features, renamed command line options, new minimum Python version, etc.\n          \n        draft: true\n        prerelease: false\n", "state": "active", "repository": "SNEWS2/snewpy"}
{"mined_at": "2024-07-15T18:58:01.551943", "created_at": "2020-11-03T17:28:18+01:00", "updated_at": "2023-11-24T16:27:33+01:00", "name": "tests", "path": ".github/workflows/tests.yml", "contents": "# This is a basic workflow to help you get started with Actions\n\nname: tests\n\n# Controls when the action will run. Triggers the workflow on push or pull request\n# events but only for the master branch\non:\n  push:\n    branches: \n      - main\n      - release_*\n  pull_request:\n    branches:\n      - main\n      - release_*\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  build:\n    # The type of runner that the job will run on.\n    runs-on: ubuntu-latest\n    strategy:\n      # Add a list of python versions we want to use for testing.\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@v4\n\n      # Set up the Python environment and dependencies\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n      - name: Install SNEWPY\n        run: |\n          pip install \".[dev,docs]\"\n      \n      - name: Run unit tests with pytest\n        run: |\n          pytest -m 'not snowglobes'\n\n      - name: Build HTML docs\n        run: |\n          cd doc/\n          make html\n", "state": "active", "repository": "SNEWS2/snewpy"}
{"mined_at": "2024-07-15T18:58:03.905024", "created_at": "2024-03-18T03:03:47+01:00", "updated_at": "2024-03-18T03:03:47+01:00", "name": "Close inactive issues", "path": ".github/workflows/close_issue.yaml", "contents": "name: Close inactive issues\non:\n  schedule:\n    - cron: \"30 1 * * *\"\n\njobs:\n  close-issues:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: actions/stale@v9\n        with:\n          days-before-issue-stale: 7\n          days-before-issue-close: 7\n          stale-issue-label: \"stale\"\n          stale-issue-message: \"This issue is stale because it has been open for 7 days with no activity.\"\n          close-issue-message: \"This issue was closed because it has been inactive for 7 days since being marked as stale.\"\n          days-before-pr-stale: -1\n          days-before-pr-close: -1\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "hpcaitech/Open-Sora"}
{"mined_at": "2024-07-15T18:58:05.028451", "created_at": "2024-04-26T09:48:28+02:00", "updated_at": "2024-04-26T09:48:28+02:00", "name": "GitHub Pages", "path": ".github/workflows/github_page.yaml", "contents": "name: GitHub Pages\n\non:\n  workflow_dispatch:\n\njobs:\n  deploy:\n    runs-on: ubuntu-22.04\n    permissions:\n      contents: write\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: gallery\n\n      - name: Setup Node\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - run: npm install\n      - run: npm run build\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./build\n", "state": "active", "repository": "hpcaitech/Open-Sora"}
{"mined_at": "2024-07-15T18:58:06.047699", "created_at": "2024-03-17T15:01:29+01:00", "updated_at": "2024-03-17T15:01:29+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "hpcaitech/Open-Sora"}
{"mined_at": "2024-07-15T18:58:08.205674", "created_at": "2020-08-07T18:36:27+02:00", "updated_at": "2020-08-07T18:37:38+02:00", "name": "build-and-deploy", "path": ".github/workflows/build-and-deploy.yml", "contents": "name: build-and-deploy\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build-and-deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v2\n    - uses: actions/setup-python@v2\n      with:\n        python-version: \"3.10\"\n    - name: install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install setuptools wheel twine\n    - name: build\n      run: python setup.py sdist\n    - name: deploy\n      env:\n        TWINE_USERNAME: __token__\n        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}\n      run: twine upload dist/*\n", "state": "active", "repository": "PermutaTriangle/comb_spec_searcher"}
{"mined_at": "2024-07-15T18:58:09.355870", "created_at": "2020-08-06T21:20:16+02:00", "updated_at": "2020-08-06T21:35:29+02:00", "name": "tests", "path": ".github/workflows/test.yml", "contents": "name: tests\n\non: [push, pull_request]\n\njobs:\n\n  test:\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - python: \"3.10\"\n            toxenv: flake8\n            os: ubuntu-latest\n          - python: \"3.10\"\n            toxenv: mypy\n            os: ubuntu-latest\n          - python: \"3.10\"\n            toxenv: pylint\n            os: ubuntu-latest\n          - python: \"3.10\"\n            toxenv: black\n            os: ubuntu-latest\n          - python: \"3.10\"\n            toxenv: tilescope\n            os: ubuntu-latest\n\n          - python: 3.8\n            toxenv: py38\n            os: ubuntu-latest\n          - python: 3.9\n            toxenv: py39\n            os: ubuntu-latest\n          - python: \"3.10\"\n            toxenv: py310\n            os: ubuntu-latest\n          - python: \"3.11\"\n            toxenv: py311\n            os: ubuntu-latest\n          - python: pypy-3.8\n            toxenv: pypy38\n            os: ubuntu-latest\n          - python: pypy-3.9\n            toxenv: pypy39\n            os: ubuntu-latest\n\n          - python: \"3.10\"\n            toxenv: py310\n            os: macos-latest\n          - python: \"3.11\"\n            toxenv: py311\n            os: windows-latest\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-python@v2\n        with:\n          python-version: ${{  matrix.python }}\n      - name: install dependencies\n        run: python -m pip install --upgrade pip tox\n      - name: run\n        env:\n          TOXENV: ${{ matrix.toxenv }}\n        run: tox\n      - name: setup\n        run: python setup.py install\n", "state": "active", "repository": "PermutaTriangle/comb_spec_searcher"}
{"mined_at": "2024-07-15T18:58:11.584902", "created_at": "2022-02-22T15:17:20+01:00", "updated_at": "2022-02-23T09:17:26+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\non:\n  pull_request:\n    branches: [develop]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Set up Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: 3.9\n      - run: find docs -name \\*.md -print0 | xargs -0 -n1 python tools/tp_linter.py\n", "state": "active", "repository": "Avaiga/taipy-doc"}
{"mined_at": "2024-07-15T18:58:12.711951", "created_at": "2024-05-23T09:41:57+02:00", "updated_at": "2024-05-23T09:41:57+02:00", "name": "Manage Stale Issues and PRs", "path": ".github/workflows/manage-stale-issue-pr.yml", "contents": "name: Manage Stale Issues and PRs\n\non:\n  schedule:\n    # Run once every day at 9 AM UTC\n    - cron: 00 9 * * *\n\njobs:\n  stale-issues-and-prs:\n    name: Comment on possible stable issues and PRs, and close stale PRs\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          operations-per-run: 50  # Max number of operations per run (including fetch or close issues and PRs, set or update labels, add comments, delete branches, etc.)\n          include-only-assigned: true\n          days-before-stale: 14  # Idle number of days before marking issues/PRs stale\n          stale-issue-message: \"This issue has been labelled as \\\"🥶Waiting for contributor\\\" because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. Otherwise, you will be unassigned in 14 days. For more information please refer to the contributing guidelines.\"\n          stale-issue-label: \"🥶Waiting for contributor\"\n          stale-pr-message: \"This PR has been labelled as \\\"🥶Waiting for contributor\\\" because it has been inactive for more than 14 days. If you would like to continue working on this PR, then please add new commit or another comment, otherwise this PR will be closed in 14 days. For more information please refer to the contributing guidelines.\"\n          stale-pr-label: \"🥶Waiting for contributor\"\n          days-before-pr-close: 14\n          close-pr-message: \"This PR has been closed because it has been marked as \\\"🥶Waiting for contributor\\\" for more than 14 days with no activity.\"\n          delete-branch: true  # Delete branch after closing a stale PR\n          days-before-issue-close: -1  # Never close an issue\n          exempt-issue-labels: \"❌ Blocked,💬 Discussion\"  # Issues with label ❌ Blocked or 💬 Discussion are exempted from stale\n          exempt-pr-labels: \"❌ Blocked,💬 Discussion\"  # PRs with label ❌ Blocked or 💬 Discussion are exempted from stale\n          remove-stale-when-updated: true\n\n  unassign-issues-labeled-waiting-for-contributor-after-14-days-of-inactivity:\n    name: Unassign issues labeled \\\"🥶Waiting for contributor\\\" after 14 days of inactivity.\n    runs-on: ubuntu-latest\n    steps:\n      - uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@v1\n        with:\n          last-activity: 14\n          labels: \"🥶Waiting for contributor\"\n          labels-to-remove: \"🥶Waiting for contributor\"\n          message: \"This issue has been unassigned automatically because it has been marked as \\\"🥶Waiting for contributor\\\" for more than 14 days with no activity.\"\n", "state": "active", "repository": "Avaiga/taipy-doc"}
{"mined_at": "2024-07-15T18:58:14.832999", "created_at": "2024-03-05T15:23:05+01:00", "updated_at": "2024-03-15T20:38:28+01:00", "name": "Bandit", "path": ".github/workflows/bandit.yml", "contents": "# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\n# Bandit is a security linter designed to find common security issues in Python code.\n# This action will run Bandit on your codebase.\n# The results of the scan will be found under the Security tab of your repository.\n\n# https://github.com/marketplace/actions/bandit-scan is ISC licensed, by abirismyname\n# https://pypi.org/project/bandit/ is Apache v2.0 licensed, by PyCQA\n\nname: Bandit\n\non:\n  push:\n    branches: \"**\"\n\njobs:\n  bandit:\n    permissions:\n      contents: read # for actions/checkout to fetch code\n      security-events: write # for github/codeql-action/upload-sarif to upload SARIF results\n      actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status\n\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Bandit Scan\n        uses: shundor/python-bandit-scan@9cc5aa4a006482b8a7f91134412df6772dbda22c\n        with: # optional arguments\n          # exit with 0, even with results found\n          exit_zero: true # optional, default is DEFAULT\n          # Github token of the repository (automatically created by Github)\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information.\n          # File or directory to run bandit on\n          # path: # optional, default is DEFAULT\n          # Report only issues of a given severity level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything)\n          # level: # optional, default is UNDEFINED\n          # Report only issues of a given confidence level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything)\n          # confidence: # optional, default is UNDEFINED\n          # comma-separated list of paths (glob patterns supported) to exclude from scan (note that these are in addition to the excluded paths provided in the config file) (default: .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg)\n          excluded_paths: \"*/test/*,*/counterparty-core/tools/*\" # optional, default is DEFAULT\n          # comma-separated list of test IDs to skip\n          skips: \"B101\" # optional, default is DEFAULT\n          # path to a .bandit file that supplies command line arguments\n          # ini_path: bandit.yml # optional, default is DEFAULT\n", "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:15.973285", "created_at": "2024-03-05T13:39:10+01:00", "updated_at": "2024-03-05T13:39:10+01:00", "name": "Build, Install then Test", "path": ".github/workflows/build_and_test.yaml", "contents": null, "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:17.218319", "created_at": "2024-03-05T19:58:06+01:00", "updated_at": "2024-04-09T16:39:15+02:00", "name": "PyTest", "path": ".github/workflows/build_and_test.yml", "contents": "name: PyTest\n\non:\n  push:\n    branches:\n      - \"**\"\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  PYTHON_VERSION: \"3.10\"\n  COUNTERPARTY_RS_DIR: \"./counterparty-rs\"\n\njobs:\n  macos-m1:\n    runs-on: macos-14\n    steps:\n      - uses: actions/checkout@v4\n\n      # Install dependencies\n\n      - name: Install Rust toolchain\n        uses: actions-rs/toolchain@v1\n        with:\n          toolchain: stable\n          profile: minimal\n          default: true\n\n      - name: Set up Homebrew\n        id: set-up-homebrew\n        uses: Homebrew/actions/setup-homebrew@master\n\n      - name: Install Python 3.10 and leveldb\n        run: |\n          brew install python@3.10 leveldb\n          echo '/opt/homebrew/opt/python@3.10/libexec/bin' >> $GITHUB_PATH\n\n      - name: Install pytest and build module\n        run: |\n          python3.10 -m pip install pytest hatch\n          python3.10 -m pip install --upgrade build\n\n      # Build counterparty packages\n\n      - name: Test counterparty-rs\n        run: |\n          cd ${{ env.COUNTERPARTY_RS_DIR }}\n          cargo test\n\n      - name: Build counterparty-rs\n        uses: messense/maturin-action@v1\n        with:\n          args: --release --out dist --sdist -m ${{ env.COUNTERPARTY_RS_DIR }}/Cargo.toml\n\n      - name: Build counterparty-core\n        run: |\n          cd counterparty-core && hatch build ../dist\n\n      # Install counterparty packages\n\n      - name: Install wheels\n        run: |\n          export LIBRARY_PATH=\"$LIBRARY_PATH:$(brew --prefix)/lib\"\n          export CPATH=\"$CPATH:$(brew --prefix)/include\"\n          python3.10 -m pip install dist/*.whl --force-reinstall\n\n      # Run counterparty-core tests\n\n      - name: Run counterparty-core tests\n        run: |\n          cd counterparty-core\n          hatch run pytest\n\n      # Upload wheels\n\n      - name: Upload wheels\n        uses: actions/upload-artifact@v4\n        with:\n          name: macos-m1-wheels\n          path: dist\n\n  ubuntu-22-04:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n\n      # Install dependencies\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ env.PYTHON_VERSION }}\n          cache: \"pip\"\n\n      - name: Install Rust toolchain\n        uses: actions-rs/toolchain@v1\n        with:\n          toolchain: stable\n          profile: minimal\n          default: true\n\n      - name: Install leveldb\n        run: |\n          sudo apt-get install -y libleveldb-dev\n\n      - name: Install pytest and build module\n        run: |\n          pip install pytest hatch\n          python -m pip install --upgrade build\n\n      # Build counterparty packages\n\n      - name: Test counterparty-rs\n        run: |\n          cd ${{ env.COUNTERPARTY_RS_DIR }}\n          cargo test\n\n      - name: Build counterparty-rs\n        uses: messense/maturin-action@v1\n        with:\n          args: --release --out dist --sdist -m ${{ env.COUNTERPARTY_RS_DIR }}/Cargo.toml\n\n      - name: Build counterparty-core\n        run: |\n          cd counterparty-core && hatch build ../dist\n\n      # Install counterparty packages\n\n      - name: Install wheels\n        run: |\n          pip install dist/*.whl --force-reinstall\n\n      # Run counterparty-core tests\n\n      - name: Run counterparty-core tests\n        run: |\n          cd counterparty-core\n          pytest\n\n      # Upload wheels\n\n      - name: Upload wheels\n        uses: actions/upload-artifact@v4\n        with:\n          name: ubuntu-22-04-wheels\n          path: dist\n", "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:18.445497", "created_at": "2024-03-18T13:27:17+01:00", "updated_at": "2024-04-09T16:39:15+02:00", "name": "Docker", "path": ".github/workflows/build_docker_image.yml", "contents": "name: Docker\n\non:\n  push:\n    branches: \"**\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install Docker\n      run: |\n        curl -fsSL https://get.docker.com -o get-docker.sh\n        sudo sh get-docker.sh\n    - name: Build image\n      run: |\n        docker build -t counterparty .\n    - name: Test image\n      run: |\n        docker run --rm counterparty -h\n", "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:19.432222", "created_at": "2024-03-05T11:06:49+01:00", "updated_at": "2024-03-05T11:06:49+01:00", "name": "Build & Test", "path": ".github/workflows/build_wheels.yaml", "contents": null, "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:20.597952", "created_at": "2024-03-05T15:23:05+01:00", "updated_at": "2024-03-15T20:38:28+01:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  push:\n    branches: \"**\"\n\njobs:\n  analyze:\n    name: Analyze\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners\n    # Consider using larger runners for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      actions: read\n      contents: read\n      security-events: write\n\n    strategy:\n      fail-fast: false\n      matrix:\n        language: [ 'python' ]\n        # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]\n        # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v2\n      with:\n        languages: ${{ matrix.language }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n\n    # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).\n    # If this step fails, then you should remove it and run the build manually (see below)\n    - name: Autobuild\n      uses: github/codeql-action/autobuild@v2\n\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n\n    #   If the Autobuild fails above, remove it and uncomment the following three lines.\n    #   modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.\n\n    # - run: |\n    #     echo \"Run, Build Application using script\"\n    #     ./location_of_script_within_repo/buildscript.sh\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v2\n      with:\n        category: \"/language:${{matrix.language}}\"\n", "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:21.722388", "created_at": "2024-03-05T15:23:02+01:00", "updated_at": "2024-03-15T20:38:28+01:00", "name": "License Scanner", "path": ".github/workflows/license_scanner.yml", "contents": "name: License Scanner\n\non:\n  push:\n    branches: \"**\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Rust toolchain\n      uses: actions-rs/toolchain@v1\n      with:\n        toolchain: stable\n        profile: minimal\n        default: true\n    - name: Install dependencies\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y libgirepository1.0-dev libleveldb-dev\n        python -m pip install --upgrade pip\n        pip install license_scanner maturin sh\n        cd counterparty-rs && pip install -e . && cd ..\n        cd counterparty-core && pip install -e . && cd ..\n        pip install evdev\n    - name: Analysing dependencies with licence_scanner\n      run: |\n        python counterparty-core/tools/checklicences.py\n    - name: Upload SARIF\n      uses: github/codeql-action/upload-sarif/@v2\n      with:\n        sarif_file: license_scanner.sarif\n", "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:22.769495", "created_at": "2024-03-18T14:57:57+01:00", "updated_at": "2024-04-12T20:15:36+02:00", "name": "Publish Docker Image", "path": ".github/workflows/publish_docker_image.yml", "contents": "name: Publish Docker Image\n\non:\n  release:\n    types: [published]\n  push:\n    branches:\n      - develop\n\nenv:\n  DOCKER_REPO: counterparty/counterparty\n  DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n  DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Install Docker\n      run: |\n        curl -fsSL https://get.docker.com -o get-docker.sh\n        sudo sh get-docker.sh\n    - name: Build, tag, login and push image\n      run: |\n        if [[ ${{ github.event_name }} == 'release' ]]; then\n          export VERSION=v$(cat counterparty-core/counterpartycore/lib/config.py | grep '__version__ =' | awk -F '\"' '{print $2}')\n        elif [[ ${{ github.event_name }} == 'push' && ${{ github.ref }} == 'refs/heads/develop' ]]; then\n          export VERSION=develop\n        fi\n        docker build -t $DOCKER_REPO:$VERSION .\n        docker tag $DOCKER_REPO:$VERSION $DOCKER_REPO:latest\n        docker login -u \"$DOCKER_USERNAME\" -p \"$DOCKER_PASSWORD\"\n        docker push $DOCKER_REPO:$VERSION\n        if [[ ${{ github.event_name }} == 'release' ]]; then\n          docker push $DOCKER_REPO:latest\n        fi\n", "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:23.825405", "created_at": "2024-03-05T15:23:02+01:00", "updated_at": "2024-03-15T20:38:28+01:00", "name": "Pylint", "path": ".github/workflows/pylint.yml", "contents": "name: Pylint\n\non:\n  push:\n    branches: \"**\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Rust toolchain\n      uses: actions-rs/toolchain@v1\n      with:\n        toolchain: stable\n        profile: minimal\n        default: true\n    - name: Install dependencies\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y libgirepository1.0-dev libleveldb-dev\n        python -m pip install --upgrade pip\n        pip install pylint maturin\n        pip install pylint-sarif-unofficial\n        cd counterparty-rs && pip install -e . && cd ..\n        cd counterparty-core && pip install -e . && cd ..\n        pip install evdev\n    - name: Analysing the code with pylint\n      run: |\n        pylint2sarif $(git ls-files '*.py' | grep -v counterparty-rs/tests/ | grep -v counterparty-core/counterpartycore/test/ | grep -v counterparty-core/tools/) || true\n    - name: Upload SARIF\n      uses: github/codeql-action/upload-sarif/@v2\n      with:\n        sarif_file: pylint.sarif\n", "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:24.857571", "created_at": "2024-04-03T18:41:45+02:00", "updated_at": "2024-04-12T20:11:56+02:00", "name": "ruff check", "path": ".github/workflows/ruff-check.yml", "contents": "name: ruff check\non: [push, pull_request]\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n", "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:25.919489", "created_at": "2024-04-03T18:41:45+02:00", "updated_at": "2024-04-12T20:11:56+02:00", "name": "ruff format", "path": ".github/workflows/ruff-format.yml", "contents": "name: ruff format\non: [push, pull_request]\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n        with:\n          args: \"format --check\"\n", "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:26.927888", "created_at": "2024-03-16T16:48:42+01:00", "updated_at": "2024-03-20T21:16:02+01:00", "name": "Testnet Test Book", "path": ".github/workflows/test_book.yml", "contents": "name: Testnet Test Book\n\non:\n  push:\n    branches: \"**\"\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install Rust toolchain\n      uses: actions-rs/toolchain@v1\n      with:\n        toolchain: stable\n        profile: minimal\n        default: true\n    - name: Install dependencies\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y libgirepository1.0-dev libleveldb-dev\n        python -m pip install --upgrade pip\n        pip install pylint maturin pytest\n        cd counterparty-rs && pip install -e . && cd ..\n        cd counterparty-core && pip install -e . && cd ..\n    - name: Bootstrap testnet database\n      run: |\n        counterparty-server --testnet bootstrap --no-confirm\n    - name: Run tests\n      run: |\n        cd counterparty-core\n        pytest counterpartycore/test/book_test.py --testbook -s\n", "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:28.071113", "created_at": "2024-03-26T12:37:23+01:00", "updated_at": "2024-04-01T20:54:18+02:00", "name": "Docker Compose", "path": ".github/workflows/test_compose.yml", "contents": "name: Docker Compose\n\non:\n  push:\n    branches: ['develop', 'master', 'compose']\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Get branch names.\n      id: branch-names\n      uses: tj-actions/branch-names@v8\n    - uses: alinz/ssh-scp-action@master\n      with:\n        key: ${{ secrets.TEST_SERVER_KEY }}\n        host: ${{ secrets.TEST_SERVER_IP }}\n        user: ${{ secrets.TEST_SERVER_USER }}\n        ssh_before: |\n          rm -f test_compose.sh\n        scp: |\n          .github/workflows/test_compose.sh ${{ secrets.TEST_SERVER_USER }}@${{ secrets.TEST_SERVER_IP }}:~/test_compose.sh\n        ssh_after: |\n          sh test_compose.sh ${{ steps.branch-names.outputs.current_branch }}\n", "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:29.186613", "created_at": "2024-07-12T21:43:04+02:00", "updated_at": "2024-07-12T21:43:04+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:30.212150", "created_at": "2024-01-15T17:03:42+01:00", "updated_at": "2024-01-15T17:03:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "CounterpartyXCP/counterparty-core"}
{"mined_at": "2024-07-15T18:58:32.233173", "created_at": "2024-03-03T13:25:47+01:00", "updated_at": "2024-03-03T18:46:18+01:00", "name": "Adding reminder comment on staled issues & PRs", "path": ".github/workflows/add-new-comment-on-stale.yml", "contents": "# This workflow is a continuation of \"Mark stale issues and pull requests\" workflow, on adding customized comment.\n\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/peter-evans/create-or-update-comment\nname: Adding reminder comment on staled issues & PRs\non:\n  issues:\n    types:\n      - labeled\n  # read these to see why it uses 'pull_request_target' instead of 'pull_request':\n  # 1. https://securitylab.github.com/research/github-actions-preventing-pwn-requests/\n  # 2. https://github.com/peter-evans/create-or-update-comment?tab=readme-ov-file#action-inputs (note section)\n  pull_request_target:\n    types:\n      - labeled\n\njobs:\n  add-comment-on-staled-issue:\n    if: github.event.label.name == 'staled-issue'\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n\n    steps:\n      - name: Remind assignee on staled Issue\n        uses: peter-evans/create-or-update-comment@v2\n        with:\n          issue-number: ${{github.event.issue.number}}\n          body: \"Hi @${{github.event.issue.assignee.login}}, may I know if you are still working on this issue? Please let @holylovenia @SamuelCahyawijaya @sabilmakbar know if you need any help.\"\n\n  add-comment-on-staled-pr:\n    if: github.event.label.name == 'need-fu-pr'\n    runs-on: ubuntu-latest\n    permissions:\n      pull-requests: write\n\n    steps:\n      - name: Remind assignee and author on staled PR\n        uses: peter-evans/create-or-update-comment@v2\n        with:\n          issue-number: ${{github.event.pull_request.number}}\n          body: \"Hi @${{join(github.event.pull_request.assignees.*.login, ', @')}} & @${{github.event.pull_request.user.login}}, may I know if you are still working on this PR?\"\n", "state": "active", "repository": "SEACrowd/seacrowd-datahub"}
{"mined_at": "2024-07-15T18:58:33.287339", "created_at": "2023-11-10T07:06:30+01:00", "updated_at": "2023-11-19T11:00:28+01:00", "name": ".github/workflows/issues-to-sheets.yml", "path": ".github/workflows/issues-to-sheets.yml", "contents": "xname: gsheet.action test\non:\n  pull_request:\n    types: [opened, deleted, closed, reopened]\n\njobs:\n  fetch:\n    runs-on: ubuntu-latest\n    steps:\n      - id: 'update_worksheet'\n        uses: jroehl/gsheet.action@v2.0.0 # you can specify '@release' to always have the latest changes\n        with:\n          spreadsheetId: 1aIAwzMgDdXQUr2A_A_sC3ShEjQky-gYEzqB1TbPzdjA\n          commands: | # list of commands, specified as a valid JSON string\n            [\n              { \"command\": \"updateData\", \"args\": { \"worksheetTitle\": \"GitHub Issues Tracker\", \"data\": [[github.event.pull_request]] }}\n            ]\n        env:\n          GSHEET_CLIENT_EMAIL: ${{ secrets.GSHEET_CLIENT_EMAIL }}\n          GSHEET_PRIVATE_KEY: ${{ secrets.GSHEET_PRIVATE_KEY }}\n      - name: dump results\n        env:\n          #  the output of the action can be found in ${{ steps.update_worksheet.outputs.results }}\n          RESULTS: ${{ steps.update_worksheet.outputs.results }}\n        run: echo \"$RESULTS\" | jq\n", "state": "disabled_manually", "repository": "SEACrowd/seacrowd-datahub"}
{"mined_at": "2024-07-15T18:58:34.522843", "created_at": "2023-10-30T14:24:44+01:00", "updated_at": "2023-10-30T14:24:44+01:00", "name": "Test Dataloader", "path": ".github/workflows/run-test.yml", "contents": "name: Test Dataloader\non:\n  repository_dispatch:\n    types: [test-command]\njobs:\n  run_test:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out repo\n      uses: actions/checkout@v2\n      with:\n        ref: ${{ github.event.client_payload.pull_request.head.sha }}\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.10\n        architecture: x64\n        cache: 'pip'\n    - name: Install dependencies\n      run: |\n        sudo apt-get install libsndfile1\n        pip install -r requirements.txt\n    - name: Run nusantara tests\n      id: nusantara_test\n      continue-on-error: true\n      env:\n        DATASET_NAME: ${{ github.event.client_payload.slash_command.args.named.dataset }}\n        SUBSET_ID: ${{ github.event.client_payload.slash_command.args.named.subset_id }}\n      run: |\n       if [ \"$SUBSET_ID\" == \"\" ]; then\n        output=$(python -m tests.test_seacrowd seacrowd/sea_datasets/${{ env.DATASET_NAME }}/${{ env.DATASET_NAME }}.py)\n       else\n        output=$(python -m tests.test_seacrowd seacrowd/sea_datasets/${{ env.DATASET_NAME }}/${{ env.DATASET_NAME }}.py --subset_id=${{ env.SUBSET_ID }})\n       fi\n       echo \"::set-output name=run_url::https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\"\n    - name: Add comment result\n      uses: peter-evans/create-or-update-comment@v2\n      with:\n        issue-number: ${{ github.event.client_payload.pull_request.number }}\n        body: |\n          ### Run result\n          Check test log here: ${{ steps.nusantara_test.outputs.run_url}}", "state": "active", "repository": "SEACrowd/seacrowd-datahub"}
{"mined_at": "2024-07-15T18:58:35.667727", "created_at": "2023-11-01T04:26:09+01:00", "updated_at": "2023-11-01T04:26:09+01:00", "name": "Self-assign", "path": ".github/workflows/selfassign.yml", "contents": "# Allow users to automatically tag themselves to issues\n\nname: Self-assign\non:\n  issue_comment:\n    types: created\njobs:\n  one:\n    runs-on: ubuntu-latest\n    if: >-\n      (github.event.comment.body == '#take' ||\n       github.event.comment.body == '#self-assign') &&\n       (!github.event.issue.pull_request)\n    steps:\n      - run: |\n          echo \"Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}\"\n          curl -H \"Authorization: token ${{ secrets.GITHUB_TOKEN }}\" -d '{\"assignees\": [\"${{ github.event.comment.user.login }}\"]}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/assignees\n", "state": "active", "repository": "SEACrowd/seacrowd-datahub"}
{"mined_at": "2024-07-15T18:58:36.752706", "created_at": "2023-11-01T04:26:09+01:00", "updated_at": "2023-12-10T09:37:25+01:00", "name": "Slash Command Dispatch", "path": ".github/workflows/slash-command-dispatch.yml", "contents": "#  https://github.com/peter-evans/slash-command-dispatch\nname: Slash Command Dispatch\non:\n  issue_comment:\n    types: [created]\njobs:\n  slashCommandDispatch:\n    runs-on: ubuntu-latest\n    if: >-\n       (github.event.issue.pull_request)\n    steps:\n      - name: Slash Command Dispatch\n        uses: peter-evans/slash-command-dispatch@v3\n        with:\n          token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}\n          commands: |\n            test\n          permission: none\n\n", "state": "disabled_manually", "repository": "SEACrowd/seacrowd-datahub"}
{"mined_at": "2024-07-15T18:58:37.799861", "created_at": "2024-03-03T13:25:47+01:00", "updated_at": "2024-03-03T13:25:47+01:00", "name": "Mark stale issues and pull requests", "path": ".github/workflows/stale-labeler.yml", "contents": "# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.\n#\n# You can adjust the behavior by modifying this file.\n# For more information, see:\n# https://github.com/actions/stale\nname: Mark stale issues and pull requests\n\non:\n  schedule:\n  - cron: '20 1 * * *'\n\njobs:\n  stale_detection:\n    name: Detect Stale Issues/PR\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n\n    steps:\n    - uses: actions/stale@v8\n      with:\n      \n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        # only labels the stale, the comment addition will be handled by another workflow\n        stale-issue-message: \"\"\n        stale-pr-message: \"\"\n        stale-issue-label: \"staled-issue\"\n        stale-pr-label: \"need-fu-pr\"\n        days-before-stale: 14\n        days-before-close: -1\n        include-only-assigned: true\n        exempt-issue-labels: 'in-progress,pr-ready'\n        operations-per-run: 200\n", "state": "active", "repository": "SEACrowd/seacrowd-datahub"}
{"mined_at": "2024-07-15T18:58:38.842955", "created_at": "2023-11-01T04:26:09+01:00", "updated_at": "2023-11-01T04:26:09+01:00", "name": "Update README", "path": ".github/workflows/update-readme.yml", "contents": "name: Update README\non:\n  push:\n    branches:\n    - master\n  workflow_dispatch:\n  schedule:\n    - cron:  '0 0 * * 0'\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Check out repo\n      uses: actions/checkout@v2\n    - name: Set up Python\n      uses: actions/setup-python@v2\n      with:\n        python-version: 3.8\n        architecture: x64\n    - name: Update README\n      run: |-\n        python update_readme.py\n        cat README.md\n    - name: Commit and push if changed\n      run: |-\n        git diff\n        git config --global user.email \"readme-bot@indonlp.com\"\n        git config --global user.name \"README-Bot\"\n        git add -A\n        git commit -m \"Updated progress bar\" || exit 0\n        git push\n", "state": "disabled_fork", "repository": "SEACrowd/seacrowd-datahub"}
{"mined_at": "2024-07-15T18:58:40.825152", "created_at": "2023-11-21T16:11:13+01:00", "updated_at": "2023-11-21T16:11:13+01:00", "name": "Automatic Code Style Fix", "path": ".github/workflows/automatic-code-style-fix.yml", "contents": null, "state": "active", "repository": "Lightning-AI/litgpt"}
{"mined_at": "2024-07-15T18:58:41.997619", "created_at": "2024-04-11T03:46:32+02:00", "updated_at": "2024-04-16T15:29:44+02:00", "name": "Check hyperlinks", "path": ".github/workflows/check-links.yml", "contents": "name: Check hyperlinks\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install pytest pytest-check-links\n\n    - name: Check links\n      run: |\n        pytest --check-links README.md --check-links-ignore \"http*\"\n        pytest --check-links tutorials --check-links-ignore \"http*\"", "state": "active", "repository": "Lightning-AI/litgpt"}
{"mined_at": "2024-07-15T18:58:43.017677", "created_at": "2023-11-22T15:33:59+01:00", "updated_at": "2023-11-22T15:33:59+01:00", "name": "Auto Code-Style Fix", "path": ".github/workflows/code-style-fix.yml", "contents": null, "state": "active", "repository": "Lightning-AI/litgpt"}
{"mined_at": "2024-07-15T18:58:44.251943", "created_at": "2023-05-04T20:25:30+02:00", "updated_at": "2024-03-15T15:02:12+01:00", "name": "CPU tests", "path": ".github/workflows/cpu-tests.yml", "contents": "name: CPU tests\n\non:\n  push:\n    branches: [main, wip]\n  pull_request:\n    branches: [main, \"carmocca/*\", wip]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  HF_TOKEN: ${{ secrets.HF_TOKEN }}\n\njobs:\n  cpu-tests:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - {os: \"macOS-12\", python-version: \"3.10\"}\n          - {os: \"ubuntu-22.04\", python-version: \"3.11\"}\n          - {os: \"ubuntu-22.04\", python-version: \"3.10\"}\n          - {os: \"ubuntu-22.04\", python-version: \"3.9\"}\n          - {os: \"ubuntu-20.04\", python-version: \"3.8\"}\n          - {os: \"windows-2022\", python-version: \"3.10\"}\n    timeout-minutes: 25\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        cache-dependency-path: |\n          pyproject.toml\n\n    - name: Install minimal dependencies\n      run: |\n        # python -m pip install --upgrade pip\n        pip install .\n        pip list\n        # make sure all modules are still importable with only the minimal dependencies available\n        modules=$(\n          find litgpt -type f -name \"*.py\" | \\\n          sed 's/\\.py$//' | sed 's/\\//./g' | \\\n          sed 's/.__init__//g' | xargs -I {} echo \"import {};\"\n        )\n        echo \"$modules\"\n        python -c \"$modules\"\n\n    - name: Install all dependencies\n      run: |\n        pip install '.[all,test]'\n        pip list\n\n    - name: Run tests\n      run: |\n        pytest -v --disable-pytest-warnings --strict-markers --color=yes --timeout 120\n", "state": "active", "repository": "Lightning-AI/litgpt"}
{"mined_at": "2024-07-15T18:58:45.274626", "created_at": "2024-05-08T11:49:04+02:00", "updated_at": "2024-05-08T11:49:04+02:00", "name": "Publish LitGPT to PyPI", "path": ".github/workflows/publish.yaml", "contents": "# To create a release, create a tag and push it to GitHub:\n#git tag -a \"v0.0.1-beta\" -m \"beta version testing\"\n#git push --tags\n# https://dev.to/iamtekson/publish-package-to-pypi-and-release-new-version-using-github-actions-108k\nname: Publish LitGPT to PyPI\n\non:\n  push:\n    tags:\n      - \"v*\"\njobs:\n  build-n-publish:\n    name: Build and publish to PyPI\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/litgpt\n    permissions:\n      id-token: write\n\n    steps:\n      - name: Checkout source\n        uses: actions/checkout@v3\n\n      - name: Set up Python\n        uses: actions/setup-python@v4\n        with:\n          python-version: \"3.x\"\n\n      - name: Build source and wheel distributions\n        run: |\n          python -m pip install --upgrade build twine\n          python -m build\n          twine check --strict dist/*\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "Lightning-AI/litgpt"}
{"mined_at": "2024-07-15T18:58:47.302469", "created_at": "2022-06-04T20:08:04+02:00", "updated_at": "2023-01-03T21:59:45+01:00", "name": "Build and upload docs to GitHub Pages", "path": ".github/workflows/build-upload-docs.yml", "contents": "name: Build and upload docs to GitHub Pages\n\non:\n  push:\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore\n    # \"If you define both branches/branches-ignore and paths, the workflow will\n    #  only run when both filters are satisfied.\"\n    branches:\n      - master\n    paths:\n      - \"docs/**\"\n      - \"apidoc/**\"\n      - \"isso/views/comments.py\"\n      - \".github/workflows/build-upload-docs.yml\"\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - \"apidoc/**\"\n      - \"isso/views/comments.py\"\n      - \".github/workflows/build-upload-docs.yml\"\n\njobs:\n  build-deploy:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.10\"]\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Create faux requirements.txt file for caching sphinx pip pkg\n        # Need to upgrade pygments as well since the version shipped with GH\n        # actions default env is outdated and errors with a missing markdown\n        # lexer\n        run: echo -e \"sphinx\\npygments\" > sphinx-requirements.txt\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          # Use file created on-the-fly to cache sphinx pip pkg\n          cache-dependency-path: 'sphinx-requirements.txt'\n\n      - name: Install sphinx python package from pip\n        run: pip install -U -r sphinx-requirements.txt\n\n      - name: Build docs\n        run: make site\n\n      - name: Set up NodeJS\n        uses: actions/setup-node@v2\n        with:\n          node-version: 16\n\n      - name: Generate API docs\n        run: make apidoc-init apidoc\n\n      - name: Copy API docs to docs/ dir\n        run: cp -r apidoc/_output/ docs/_build/html/docs/api\n\n      - name: Deploy (only on push to master)\n        uses: peaceiris/actions-gh-pages@v3\n        if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }}\n        with:\n          deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}\n          external_repository: isso-comments/isso-comments.github.io\n          publish_branch: gh-pages\n          publish_dir: ./docs/_build/html\n          cname: \"isso-comments.de\"\n", "state": "active", "repository": "isso-comments/isso"}
{"mined_at": "2024-07-15T18:58:48.422864", "created_at": "2023-09-06T19:53:13+02:00", "updated_at": "2024-03-10T17:29:41+01:00", "name": "Docker Build", "path": ".github/workflows/docker-build.yaml", "contents": "name: Docker Build\n\non:\n  push:\n    branches:\n      - \"master\"\n    tags:\n      - \"*\"\n  pull_request:\n\nenv:\n  build_platforms: ${{ vars.BUILD_PLATFORMS || 'linux/amd64,linux/arm64/v8' }}\n  build_image: ${{ vars.BUILD_IMAGE || 'ghcr.io/isso-comments/isso' }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          flavor: |\n            latest=false\n          images: ${{ env.build_image }}\n          tags: |\n            type=ref,event=pr\n            type=semver,pattern={{major}}\n            type=semver,pattern={{major}}.{{minor}}\n            type=semver,pattern={{version}}\n            type=raw,value=latest,enable={{is_default_branch}}\n            type=raw,value=release,enable=${{ github.ref_type == 'tag' }}\n\n      - name: Login to Github Container Registry\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v4\n        with:\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          platforms: ${{ env.build_platforms }}\n\n      - name: Image digest\n        run: echo ${{ steps.docker_build.outputs.digest }}\n", "state": "active", "repository": "isso-comments/isso"}
{"mined_at": "2024-07-15T18:58:49.571232", "created_at": "2024-04-29T02:28:46+02:00", "updated_at": "2024-04-29T02:28:46+02:00", "name": "Rebuild js testbed image", "path": ".github/workflows/docker-testbed-periodic-rebuild.yaml", "contents": "name: Rebuild js testbed image\n\non:\n  workflow_dispatch:\n  schedule:\n    # Run weekly, at 2:15pm on Monday (chosen at random)\n    # https://cron.help/#15_14_*_*_1\n    - cron: '15 14 * * 1'\n\nenv:\n  build_platforms: ${{ vars.BUILD_PLATFORMS || 'linux/amd64' }}\n  build_image: ${{ vars.BUILD_IMAGE || 'ghcr.io/isso-comments/isso-js-testbed' }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    permissions:\n      packages: write\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Docker meta\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          flavor: |\n            latest=false\n          images: ${{ env.build_image }}\n          tags: |\n            type=raw,value=latest,enable={{is_default_branch}}\n\n      - name: Login to Github Container Registry\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Build docker-js-testbed\n        run: make docker-testbed\n\n      - name: Push docker-js-testbed image as ${{ env.build_image }}\n        run: make docker-testbed-push\n", "state": "active", "repository": "isso-comments/isso"}
{"mined_at": "2024-07-15T18:58:50.704816", "created_at": "2022-05-27T02:59:13+02:00", "updated_at": "2023-01-03T21:59:45+01:00", "name": "E2E tests with docker", "path": ".github/workflows/e2e-tests.yml", "contents": "name: E2E tests with docker\n\non:\n  pull_request:\n    paths:\n      - \"isso/**\"\n      - \"package.json\"\n      - \"docker/**\"\n      - \"docker-compose.yml\"\n      - \"Dockerfile\"\n      - \".github/workflows/e2e-tests.yml\"\n  push:\n    paths:\n      - \"isso/**\"\n      - \"package.json\"\n      - \"docker/**\"\n      - \"docker-compose.yml\"\n      - \"Dockerfile\"\n      - \".github/workflows/e2e-tests.yml\"\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    env:\n      TESTBED_IMAGE: \"ghcr.io/isso-comments/isso-js-testbed:latest\"\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Switch testbed image to ${{ env.TESTBED_IMAGE }}\n        # Just for faster CI runs, instead of re-building the image every time\n        # Especially useful to save the time+bandwidth to re-download puppeteer & chromium\n        run: |\n          sed -i \"s|isso-js-testbed|${{ env.TESTBED_IMAGE }}|g\" docker-compose.yml\n          # Also remove the `build`: section so image is pulled, not built\n          sed -i '/container_name: isso-client/{n;N;N;d}' docker-compose.yml\n\n      - name: Pull testbed from ${{ env.TESTBED_IMAGE }}\n        run: docker pull ${{ env.TESTBED_IMAGE }}\n\n      - name: Build the stack\n        run: docker compose build isso-server\n\n      - name: Bring up containers\n        # Don't wait for healthcheck via --wait. This would fail with a\n        # negative exit code since the isso-client container is expected to\n        # exit\n        run: docker compose up -d\n\n      - name: Client unit tests\n        run: make docker-js-unit\n\n      - name: Wait for isso-server container to be ready\n        run: 'for i in $(seq 1 30); do [ \"`docker inspect -f {{.State.Health.Status}} isso-server`\" == \"healthy\" ] && s=0 && break || s=$? && sleep 0.3; done; (exit $s)'\n\n      - name: Client integration tests\n        run: make docker-js-integration\n\n      - name: Compare screenshots\n        # Allow continuing to generate updated hashes in next step\n        id: compare-screenshots\n        continue-on-error: true\n        run: make docker-compare-screenshots\n\n      - name: Update screenshot hashes (if mismatched)\n        if: ${{ steps.compare-screenshots.outcome == 'failure' }}\n        run: make docker-update-screenshots\n\n      - name: Archive and upload updated screenshots & hashes\n        if: ${{ steps.compare-screenshots.outcome == 'failure' }}\n        uses: actions/upload-artifact@v3\n        with:\n          name: updated-screenshots-and-hashes\n          path: isso/js/tests/screenshots/reference/\n\n      - name: Fail if \"Compare screenshots\" step failed\n        if: ${{ steps.compare-screenshots.outcome == 'failure' }}\n        run: /bin/false\n", "state": "active", "repository": "isso-comments/isso"}
{"mined_at": "2024-07-15T18:58:51.828586", "created_at": "2022-03-21T21:57:07+01:00", "updated_at": "2023-01-03T21:59:45+01:00", "name": "Javascript client", "path": ".github/workflows/javascript-client.yml", "contents": "name: Javascript client\n\non:\n  push:\n    paths:\n      - \"package.json\"\n      - \"isso/js/**\"\n      - \".github/workflows/javascript-client.yml\"\n  pull_request:\n    paths:\n      - \"package.json\"\n      - \"isso/js/**\"\n      - \".github/workflows/javascript-client.yml\"\n\njobs:\n  test:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        node-version: [16]\n      fail-fast: false\n\n    steps:\n\n    - name: Check out repository code\n      uses: actions/checkout@v3\n\n    - name: Set up NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}\n      uses: actions/setup-node@v2\n      with:\n        node-version: ${{ matrix.node-version }}\n        cache: 'npm'\n        cache-dependency-path: package.json\n\n    - name: Install Javascript test dependencies using npm\n      env:\n        ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true\n      run: npm install\n\n    - name: Run Javascript Jest test suite - unit tests\n      run: npm run test-unit\n\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        node-version: [16]\n      fail-fast: false\n\n    steps:\n\n    - name: Check out repository code\n      uses: actions/checkout@v3\n\n    - name: Set up NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}\n      uses: actions/setup-node@v2\n      with:\n        node-version: ${{ matrix.node-version }}\n        cache: 'npm'\n        cache-dependency-path: package.json\n\n    - name: Install Javascript dependencies using npm\n      run: make init\n\n    - name: Create Javascript client files\n      run: make js\n\n    - name: Archive and upload generated minified client files\n      uses: actions/upload-artifact@v3\n      with:\n        name: client-js-files\n        path: |\n          isso/js/embed.*.js\n          isso/js/count.*.js\n          isso/js/embed.dev.js.map\n          isso/js/count.dev.js.map\n        if-no-files-found: error\n", "state": "active", "repository": "isso-comments/isso"}
{"mined_at": "2024-07-15T18:58:53.057332", "created_at": "2022-03-21T22:46:14+01:00", "updated_at": "2023-01-03T21:59:45+01:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "name: Python package\n\non:\n  # Always build installable package, except for docs changes\n  push:\n  pull_request:\n\njobs:\n  build:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        # Use only lowest and highest supported python versions for now,\n        # to speed up CI runs\n        python-version: [3.8, \"3.12\"]\n        node-version: [16]\n      fail-fast: false\n\n    steps:\n\n    - name: Check out repository code\n      uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        # Dependencies are in setup.py, so use it as cache key\n        cache-dependency-path: 'setup.py'\n\n    - name: Set up NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}\n      uses: actions/setup-node@v2\n      with:\n        node-version: ${{ matrix.node-version }}\n        cache: 'npm'\n        cache-dependency-path: package.json\n\n    - name: Install Javascript dependencies using npm\n      run: make init\n\n    - name: Create Javascript artifacts (but skip manpages)\n      run: make js\n\n    - name: Generate Isso package\n      id: generate-package\n      run: |\n        pip install setuptools\n        python setup.py sdist\n        echo \"::set-output name=package_file::$(ls dist/)\"\n\n    - name: Install generated Isso package\n      run: pip install dist/${{ steps.generate-package.outputs.package_file }}\n\n    - name: Archive and upload generated package\n      uses: actions/upload-artifact@v3\n      with:\n        name: ${{ matrix.os }}-python-${{ matrix.python-version }}-${{ steps.generate-package.outputs.package_file }}\n        path: dist/${{ steps.generate-package.outputs.package_file }}\n\n    - name: Clean up Isso package from site-packages\n      # This ensures it isn't accidentally restored by the \"setup-python\"\n      # action\n      run: pip uninstall --y isso\n", "state": "active", "repository": "isso-comments/isso"}
{"mined_at": "2024-07-15T18:58:54.286367", "created_at": "2022-03-21T22:46:14+01:00", "updated_at": "2023-01-03T21:59:45+01:00", "name": "Python tests", "path": ".github/workflows/python-tests.yml", "contents": "name: Python tests\n\non:\n  push:\n  pull_request:\n\njobs:\n  test:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest]\n        python-version: [3.8, 3.9, \"3.10\", \"3.11\", \"3.12\"]\n      fail-fast: false\n\n    steps:\n\n    - name: Check out repository code\n      uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        # Dependencies are in setup.py, so use it as cache key\n        cache-dependency-path: 'setup.py'\n\n    - name: Install isso dependencies\n      # Use pip instead of python setup.py develop to get caching from\n      # \"setup-python\" action\n      run: pip install -e .\n\n    - name: Install test suite dependencies\n      run: pip install pytest pytest-cov\n\n    - name: Run test suite\n      run: make test\n      env:\n        PYTHONHASHSEED: random\n\n  lint:\n\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        # Use only single build env for linting\n        os: [ubuntu-latest]\n        python-version: [\"3.10\"]\n      fail-fast: false\n\n    steps:\n\n    - name: Check out repository code\n      uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: 'pip'\n        # Dependencies are in setup.py, so use it as cache key\n        cache-dependency-path: 'setup.py'\n\n    - name: Install isso dependencies\n      # Use pip instead of python setup.py develop to get caching from\n      # \"setup-python\" action\n      run: pip install -e .\n\n    - name: Install test suite dependencies\n      run: pip install pytest pytest-cov\n\n    - name: Install style check dependencies\n      run: pip install flake8\n\n    - name: Run style check\n      run: make flakes\n\n    - name: Run coverage check, fail if <70%\n      run: |\n        make coverage\n        coverage report --fail-under 70\n", "state": "active", "repository": "isso-comments/isso"}
{"mined_at": "2024-07-15T18:58:55.331057", "created_at": "2021-06-23T22:18:07+02:00", "updated_at": "2024-03-05T18:35:21+01:00", "name": "Python package", "path": ".github/workflows/pythonpackage.yml", "contents": null, "state": "active", "repository": "isso-comments/isso"}
{"mined_at": "2024-07-15T18:58:57.460523", "created_at": "2024-01-16T19:54:23+01:00", "updated_at": "2024-02-14T03:48:34+01:00", "name": "black-action", "path": ".github/workflows/black.yaml", "contents": "name: black-action\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\njobs:\n  linter_name:\n    name: runner / black\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Check files using the black formatter\n        uses: rickstaa/action-black@v1\n        id: action_black\n        with:\n          black_args: \".\"\n      - name: Create Pull Request\n        if: steps.action_black.outputs.is_formatted == 'true'\n        uses: peter-evans/create-pull-request@v3\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          title: \"Format Python code with psf/black push\"\n          commit-message: \":art: Format Python code with psf/black\"\n          body: |\n            There appear to be some python formatting errors in ${{ github.sha }}. This pull request\n            uses the [psf/black](https://github.com/psf/black) formatter to fix these issues.\n          base: ${{ github.head_ref }} # Creates pull request onto pull request or commit branch\n          branch: actions/black", "state": "active", "repository": "janelia-cellmap/dacapo"}
{"mined_at": "2024-07-15T18:58:58.453417", "created_at": "2024-01-16T19:54:23+01:00", "updated_at": "2024-02-09T22:50:41+01:00", "name": "Generate Pages", "path": ".github/workflows/docs.yaml", "contents": "name: Generate Pages\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/setup-python@v2\n      with:\n        python-version: '3.10'\n    - uses: actions/checkout@master\n      with:\n        fetch-depth: 0 # otherwise, you will failed to push refs to dest repo\n    - name: install dacapo\n      run: pip install .[docs]\n    - name: Build and Commit\n      uses: sphinx-notes/pages@v2\n      with:\n        documentation_path: ./docs/source\n    - name: Push changes\n      uses: ad-m/github-push-action@master\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        branch: gh-pages\n", "state": "active", "repository": "janelia-cellmap/dacapo"}
{"mined_at": "2024-07-15T18:58:59.483475", "created_at": "2024-02-16T00:32:06+01:00", "updated_at": "2024-02-16T00:32:06+01:00", "name": "GPT4 generate docstrings", "path": ".github/workflows/docstrings.yaml", "contents": null, "state": "active", "repository": "janelia-cellmap/dacapo"}
{"mined_at": "2024-07-15T18:59:00.517760", "created_at": "2024-01-16T19:54:23+01:00", "updated_at": "2024-01-16T19:54:23+01:00", "name": "Python mypy", "path": ".github/workflows/mypy.yaml", "contents": "name: Python mypy\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\njobs:\n  static-analysis:\n    name: Python mypy\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Python\n        uses: actions/setup-python@v2\n        with:\n          python-version: '3.10'\n      - name: Setup checkout\n        uses: actions/checkout@v2\n      - name: mypy\n        run: |\n          pip install .\n          pip install --upgrade mypy\n          mypy dacapo\n", "state": "active", "repository": "janelia-cellmap/dacapo"}
{"mined_at": "2024-07-15T18:59:01.659315", "created_at": "2024-01-16T19:54:23+01:00", "updated_at": "2024-03-27T20:36:49+01:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "name: Publish\n\non:\n  push:\n    tags: [\"*\"]\n\njobs:\n  build-n-publish:\n    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n      - name: Install pypa/build\n        run: >-\n          python -m\n          pip install\n          build\n          --user\n      - name: Build a binary wheel and a source tarball\n        run: >-\n          python -m\n          build\n          --sdist\n          --wheel\n          --outdir dist/\n      - name: Publish distribution 📦 to PyPI\n        if: startsWith(github.ref, 'refs/tags')\n        uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "janelia-cellmap/dacapo"}
{"mined_at": "2024-07-15T18:59:02.888104", "created_at": "2024-01-16T19:54:23+01:00", "updated_at": "2024-01-16T19:54:23+01:00", "name": "Test", "path": ".github/workflows/tests.yaml", "contents": "name: Test\n\non:\n  pull_request:\n    branches:\n      - main\n      - dev/main\n  push:\n    branches:\n      - main\n      - dev/main\n  workflow_dispatch:\n\njobs:\n  test:\n    name: ${{ matrix.platform }} py${{ matrix.python-version }}\n    runs-on: ${{ matrix.platform }}\n    strategy:\n      fail-fast: false\n      matrix:\n        # platform: [ubuntu-latest, windows-latest, macos-latest]\n        platform: [ubuntu-latest]\n        python-version: ['3.10', '3.11']\n    timeout-minutes: 20\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e \".[test]\"\n\n      - name: Test\n        run: pytest --color=yes --cov --cov-report=xml --cov-report=term-missing\n      \n      - name: Coverage\n        uses: codecov/codecov-action@v3\n", "state": "active", "repository": "janelia-cellmap/dacapo"}
{"mined_at": "2024-07-15T18:59:03.882516", "created_at": "2024-02-11T20:56:42+01:00", "updated_at": "2024-02-11T20:56:42+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "janelia-cellmap/dacapo"}
{"mined_at": "2024-07-15T18:59:05.892603", "created_at": "2024-02-02T03:48:54+01:00", "updated_at": "2024-03-16T21:59:12+01:00", "name": "Docker Develop Release", "path": ".github/workflows/dev.yml", "contents": "name: Docker Develop Release\n\non:\n  push:\n    branches: [ dev ]\n    paths-ignore:\n      - '**/README.md'\n      - '**/.github/**'\n  pull_request:\n    types:\n      - closed\n    branches:\n      - dev\n    paths-ignore:\n      - '**/README.md'\n      - '**/.github/**'\n\njobs:\n\n  docker-dev:\n    runs-on: ubuntu-latest\n  \n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_TOKEN }}\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ secrets.GH_USERNAME }}\n          password: ${{ secrets.GH_TOKEN }}\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile\n          platforms: linux/amd64,linux/arm64\n          build-args: |\n            \"BRANCH=dev\"\n          push: true\n          tags: |\n            ${{ secrets.DOCKER_USERNAME }}/daps:dev\n            ghcr.io/drazzilb08/daps:dev\n", "state": "active", "repository": "Drazzilb08/daps"}
{"mined_at": "2024-07-15T18:59:06.893422", "created_at": "2024-03-16T21:59:12+01:00", "updated_at": "2024-04-18T07:02:53+02:00", "name": ".github/workflows/inactive.yml", "path": ".github/workflows/inactive.yml", "contents": "# name: Close inactive issues\n# on:\n#   schedule:\n#     - cron: \"30 1 * * *\"\n\n# jobs:\n#   close-issues:\n#     runs-on: ubuntu-latest\n#     permissions:\n#       issues: write\n#       pull-requests: write\n#     steps:\n#       - uses: actions/stale@v5\n#         with:\n#           days-before-issue-stale: 7\n#           days-before-issue-close: 3\n#           stale-issue-label: \"stale\"\n#           stale-issue-message: \"This issue is stale because it has been open for 30 days with no activity.\"\n#           close-issue-message: \"This issue was closed because it has been inactive for 14 days since being marked as stale.\"\n#           days-before-pr-stale: -1\n#           days-before-pr-close: -1\n#           repo-token: ${{ secrets.GH_TOKEN }}\n", "state": "active", "repository": "Drazzilb08/daps"}
{"mined_at": "2024-07-15T18:59:07.866724", "created_at": "2024-03-16T21:59:12+01:00", "updated_at": "2024-03-16T21:59:12+01:00", "name": "Docker Latest Release", "path": ".github/workflows/latest.yml", "contents": "name: Docker Latest Release\n\non:\n  push:\n    branches: [ master ]\n    paths-ignore:\n      - '**/README.md'\n      - '**/.github/**'\n  pull_request:\n    types:\n      - closed\n    branches:\n      - master\n    paths-ignore:\n      - '**/README.md'\n      - '**/.github/**'\n\njobs:\n\n  docker-latest:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_TOKEN }}\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ secrets.GH_USERNAME }}\n          password: ${{ secrets.GH_TOKEN }}\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile\n          platforms: linux/amd64,linux/arm64\n          build-args: |\n            \"BRANCH=master\"\n          push: true\n          tags: |\n            ${{ secrets.DOCKER_USERNAME }}/daps:latest\n            ghcr.io/drazzilb08/daps:latest\n", "state": "active", "repository": "Drazzilb08/daps"}
{"mined_at": "2024-07-15T18:59:08.866133", "created_at": "2024-02-15T18:57:24+01:00", "updated_at": "2024-02-15T22:05:52+01:00", "name": "Docker Patch Release", "path": ".github/workflows/patch.yml", "contents": null, "state": "active", "repository": "Drazzilb08/daps"}
{"mined_at": "2024-07-15T18:59:09.891022", "created_at": "2024-02-02T03:51:39+01:00", "updated_at": "2024-03-16T21:59:12+01:00", "name": "Docker Version Release", "path": ".github/workflows/version.yml", "contents": "name: Docker Version Release\n\non:\n  push:\n    tags:\n      - v*\n\njobs:\n\n  docker-version:\n    runs-on: ubuntu-latest\n  \n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Get the version\n        id: get_version\n        run: echo \"VERSION=${GITHUB_REF/refs\\/tags\\//}\" >> $GITHUB_OUTPUT\n\n      - name: Extract branch name\n        shell: bash\n        run: echo \"branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}\" >> $GITHUB_OUTPUT\n        id: extract_branch\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_TOKEN }}\n      - name: Login to GitHub Container Registry\n        uses: docker/login-action@v3\n        with:\n          registry: ghcr.io\n          username: ${{ secrets.GH_USERNAME }}\n          password: ${{ secrets.GH_TOKEN }}\n\n      - name: Build and push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./Dockerfile\n          platforms: linux/amd64,linux/arm64\n          build-args: |\n            \"BRANCH=${{ steps.extract_branch.outputs.branch }}\"\n          push: true\n          tags: |\n            ${{ secrets.DOCKER_USERNAME }}/daps:${{ steps.get_version.outputs.VERSION }}\n            ghcr.io/drazzilb08/daps:${{ steps.get_version.outputs.VERSION }}\n", "state": "active", "repository": "Drazzilb08/daps"}
{"mined_at": "2024-07-15T18:59:12.171930", "created_at": "2024-04-07T03:16:52+02:00", "updated_at": "2024-04-07T03:16:52+02:00", "name": "Build Check", "path": ".github/workflows/build-check.yml", "contents": null, "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:13.288906", "created_at": "2024-04-05T04:21:02+02:00", "updated_at": "2024-04-25T17:17:16+02:00", "name": "Build & Run Tests", "path": ".github/workflows/build_run-tests.yml", "contents": null, "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:14.305145", "created_at": "2024-04-27T22:16:06+02:00", "updated_at": "2024-04-29T19:00:53+02:00", "name": "Deploy Docs to GitHub Pages", "path": ".github/workflows/deploy-docs.yml", "contents": "name: Deploy Docs to GitHub Pages\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n    name: Build Docusaurus\n    runs-on: ubuntu-latest\n    if: github.repository == 'OpenDevin/OpenDevin'\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 18\n          cache: npm\n          cache-dependency-path: docs/package-lock.json\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n\n      - name: Generate Python Docs\n        run: rm -rf docs/modules/python && pip install pydoc-markdown && pydoc-markdown\n      - name: Install dependencies\n        run: cd docs && npm ci\n      - name: Build website\n        run: cd docs && npm run build\n\n      - name: Upload Build Artifact\n        if: github.ref == 'refs/heads/main'\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: docs/build\n\n  deploy:\n    name: Deploy to GitHub Pages\n    needs: build\n    if: github.ref == 'refs/heads/main' && github.repository == 'OpenDevin/OpenDevin'\n    # Grant GITHUB_TOKEN the permissions required to make a Pages deployment\n    permissions:\n      pages: write # to deploy to Pages\n      id-token: write # to verify the deployment originates from an appropriate source\n    # Deploy to the github-pages environment\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n", "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:15.483060", "created_at": "2024-04-25T17:40:55+02:00", "updated_at": "2024-07-07T17:35:24+02:00", "name": "Run E2E test with dummy agent", "path": ".github/workflows/dummy-agent-test.yml", "contents": "name: Run e2e test with dummy agent\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n\nenv:\n  PERSIST_SANDBOX : \"false\"\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.11'\n      - name: Set up environment\n        run: |\n          curl -sSL https://install.python-poetry.org | python3 -\n          poetry install --without evaluation\n          poetry run playwright install --with-deps chromium\n          wget https://huggingface.co/BAAI/bge-small-en-v1.5/raw/main/1_Pooling/config.json -P /tmp/llama_index/models--BAAI--bge-small-en-v1.5/snapshots/5c38ec7c405ec4b44b94cc5a9bb96e735b38267a/1_Pooling/\n      - name: Run tests\n        run: |\n          poetry run python opendevin/core/main.py -t \"do a flip\" -m ollama/not-a-model -d ./workspace/ -c DummyAgent\n", "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:16.605892", "created_at": "2024-04-23T21:03:05+02:00", "updated_at": "2024-04-23T21:03:05+02:00", "name": "Run e2e test with dummy agent", "path": ".github/workflows/dummy-e2e.yml", "contents": null, "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:17.607928", "created_at": "2024-03-25T06:25:30+01:00", "updated_at": "2024-06-18T19:44:53+02:00", "name": "Build Publish and Test Docker Image", "path": ".github/workflows/ghcr.yml", "contents": "name: Build Publish and Test Docker Image\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\non:\n  push:\n    branches:\n      - main\n    tags:\n      - '*'\n  pull_request:\n  workflow_dispatch:\n    inputs:\n      reason:\n        description: 'Reason for manual trigger'\n        required: true\n        default: ''\n\njobs:\n  ghcr_build:\n    runs-on: ubuntu-latest\n\n    outputs:\n      tags: ${{ steps.capture-tags.outputs.tags }}\n\n    permissions:\n      contents: read\n      packages: write\n\n    strategy:\n      matrix:\n        image: [\"sandbox\", \"opendevin\"]\n        platform: [\"amd64\", \"arm64\"]\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Free Disk Space (Ubuntu)\n        uses: jlumbroso/free-disk-space@main\n        with:\n          # this might remove tools that are actually needed,\n          # if set to \"true\" but frees about 6 GB\n          tool-cache: true\n          # all of these default to true, but feel free to set to\n          # \"false\" if necessary for your workflow\n          android: true\n          dotnet: true\n          haskell: true\n          large-packages: true\n          docker-images: false\n          swap-storage: true\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v3\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build and export image\n        id: build\n        run: ./containers/build.sh ${{ matrix.image }} ${{ github.repository_owner }} ${{ matrix.platform }}\n\n      - name: Capture tags\n        id: capture-tags\n        run: |\n          tags=$(cat tags.txt)\n          echo \"tags=$tags\"\n          echo \"tags=$tags\" >> $GITHUB_OUTPUT\n\n      - name: Upload Docker image as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ matrix.image }}-docker-image-${{ matrix.platform }}\n          path: /tmp/${{ matrix.image }}_image_${{ matrix.platform }}.tar\n\n  test-for-sandbox:\n    name: Test for Sandbox\n    runs-on: ubuntu-latest\n    needs: ghcr_build\n    env:\n      PERSIST_SANDBOX: \"false\"\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install poetry via pipx\n        run: pipx install poetry\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"poetry\"\n\n      - name: Install Python dependencies using Poetry\n        run: make install-python-dependencies\n\n      - name: Download sandbox Docker image\n        uses: actions/download-artifact@v4\n        with:\n          name: sandbox-docker-image-amd64\n          path: /tmp/\n\n      - name: Load sandbox image and run sandbox tests\n        run: |\n          # Load the Docker image and capture the output\n          output=$(docker load -i /tmp/sandbox_image_amd64.tar)\n\n          # Extract the image name from the output\n          image_name=$(echo \"$output\" | grep -oP 'Loaded image: \\K.*')\n\n          # Print the full name of the image\n          echo \"Loaded Docker image: $image_name\"\n\n          SANDBOX_CONTAINER_IMAGE=$image_name TEST_IN_CI=true poetry run pytest --cov=agenthub --cov=opendevin --cov-report=xml -s ./tests/unit/test_sandbox.py\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  integration-tests-on-linux:\n    name: Integration Tests on Linux\n    runs-on: ubuntu-latest\n    needs: ghcr_build\n    env:\n      PERSIST_SANDBOX: \"false\"\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n        sandbox: [\"ssh\", \"exec\", \"local\"]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install poetry via pipx\n        run: pipx install poetry\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'poetry'\n\n      - name: Install Python dependencies using Poetry\n        run: make install-python-dependencies\n\n      - name: Download sandbox Docker image\n        uses: actions/download-artifact@v4\n        with:\n          name: sandbox-docker-image-amd64\n          path: /tmp/\n\n      - name: Load sandbox image and run integration tests\n        env:\n          SANDBOX_TYPE: ${{ matrix.sandbox }}\n        run: |\n          # Load the Docker image and capture the output\n          output=$(docker load -i /tmp/sandbox_image_amd64.tar)\n\n          # Extract the image name from the output\n          image_name=$(echo \"$output\" | grep -oP 'Loaded image: \\K.*')\n\n          # Print the full name of the image\n          echo \"Loaded Docker image: $image_name\"\n\n          SANDBOX_CONTAINER_IMAGE=$image_name TEST_IN_CI=true TEST_ONLY=true ./tests/integration/regenerate.sh\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n  ghcr_push:\n    runs-on: ubuntu-latest\n    # don't push if integration tests or sandbox tests fail\n    needs: [ghcr_build, integration-tests-on-linux, test-for-sandbox]\n    if: github.ref == 'refs/heads/main'\n\n    env:\n      tags: ${{ needs.ghcr_build.outputs.tags }}\n\n    permissions:\n      contents: read\n      packages: write\n\n    strategy:\n      matrix:\n        image: [\"sandbox\", \"opendevin\"]\n        platform: [\"amd64\", \"arm64\"]\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Login to GHCR\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Download Docker images\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ matrix.image }}-docker-image-${{ matrix.platform }}\n          path: /tmp/${{ matrix.platform }}\n\n      - name: Load images and push to registry\n        run: |\n          mv /tmp/${{ matrix.platform }}/${{ matrix.image }}_image_${{ matrix.platform }}.tar .\n          loaded_image=$(docker load -i ${{ matrix.image }}_image_${{ matrix.platform }}.tar | grep \"Loaded image:\" | awk '{print $3}')\n          tags=$(echo ${tags} | tr ' ' '\\n')\n          image_name=$(echo \"ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}\" | tr '[:upper:]' '[:lower:]')\n          echo \"image name = $image_name\"\n          for tag in $tags; do\n            echo \"tag = $tag\"\n            docker tag $loaded_image $image_name:${tag}_${{ matrix.platform }}\n            docker push $image_name:${tag}_${{ matrix.platform }}\n          done\n\n  create_manifest:\n    runs-on: ubuntu-latest\n    needs: [ghcr_build, ghcr_push]\n    if: github.ref == 'refs/heads/main'\n\n    env:\n      tags: ${{ needs.ghcr_build.outputs.tags }}\n\n    strategy:\n      matrix:\n        image: [\"sandbox\", \"opendevin\"]\n\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Login to GHCR\n        uses: docker/login-action@v2\n        with:\n          registry: ghcr.io\n          username: ${{ github.repository_owner }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Create and push multi-platform manifest\n        run: |\n          image_name=$(echo \"ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}\" | tr '[:upper:]' '[:lower:]')\n          echo \"image name = $image_name\"\n          tags=$(echo ${tags} | tr ' ' '\\n')\n          for tag in $tags; do\n            echo 'tag = $tag'\n            docker buildx imagetools create --tag $image_name:$tag \\\n              $image_name:${tag}_amd64 \\\n              $image_name:${tag}_arm64\n          done\n\n  # FIXME: an admin needs to mark this as non-mandatory, and then we can remove it\n  docker_build_success:\n    name: Docker Build Success\n    runs-on: ubuntu-latest\n    needs: ghcr_build\n    steps:\n    - run: echo Done!\n", "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:18.759747", "created_at": "2024-03-17T19:57:22+01:00", "updated_at": "2024-03-21T06:01:04+01:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": "name: Lint\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\non:\n  push:\n    branches:\n    - main\n  pull_request:\n\njobs:\n  lint-frontend:\n    name: Lint frontend\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install Node.js 20\n        uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - name: Install dependencies\n        run: |\n          cd frontend\n          npm install --frozen-lockfile\n\n      - name: Lint\n        run: |\n          cd frontend\n          npm run lint\n\n  lint-python:\n    name: Lint python\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n      - name: Set up python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n          cache: 'pip'\n      - name: Install pre-commit\n        run: pip install pre-commit==3.7.0\n      - name: Run pre-commit hooks\n        run: pre-commit run --files opendevin/**/* agenthub/**/* evaluation/**/* tests/**/* --show-diff-on-failure --config ./dev_config/python/.pre-commit-config.yaml\n", "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:19.885614", "created_at": "2024-03-21T22:03:01+01:00", "updated_at": "2024-03-21T22:03:01+01:00", "name": "Node.js CI", "path": ".github/workflows/node.js.yml", "contents": null, "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:21.017048", "created_at": "2024-05-14T10:07:07+02:00", "updated_at": "2024-05-14T10:07:07+02:00", "name": "Create release", "path": ".github/workflows/release.yml", "contents": null, "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:22.140991", "created_at": "2024-04-19T08:53:41+02:00", "updated_at": "2024-04-20T15:25:38+02:00", "name": "Use OpenDevin to Review Pull Request", "path": ".github/workflows/review-pr.yml", "contents": "name: Use OpenDevin to Review Pull Request\n\non:\n  pull_request:\n    types: [synchronize, labeled]\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  dogfood:\n    if: contains(github.event.pull_request.labels.*.name, 'review-this')\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/opendevin/opendevin\n      volumes:\n        - /var/run/docker.sock:/var/run/docker.sock\n\n    steps:\n    - name: install git, github cli\n      run: |\n        apt-get install -y git gh\n        git config --global --add safe.directory $PWD\n\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n      with:\n        ref: ${{ github.event.pull_request.base.ref }} # check out the target branch\n\n    - name: Download Diff\n      run: |\n        curl -O \"${{ github.event.pull_request.diff_url }}\" -L\n\n    - name: Write Task File\n      run: |\n        echo \"Your coworker wants to apply a pull request to this project. Read and review ${{ github.event.pull_request.number }}.diff file. Create a review-${{ github.event.pull_request.number }}.txt and write your concise comments and suggestions there.\" > task.txt\n        echo \"\" >> task.txt\n        echo \"Title\" >> task.txt\n        echo \"${{ github.event.pull_request.title }}\" >> task.txt\n        echo \"\" >> task.txt\n        echo \"Description\" >> task.txt\n        echo \"${{ github.event.pull_request.body }}\" >> task.txt\n        echo \"\" >> task.txt\n        echo \"Diff file is: ${{ github.event.pull_request.number }}.diff\" >> task.txt\n\n    - name: Set up environment\n      run: |\n        curl -sSL https://install.python-poetry.org | python3 -\n        export PATH=\"/github/home/.local/bin:$PATH\"\n        poetry install --without evaluation\n        poetry run playwright install --with-deps chromium\n\n    - name: Run OpenDevin\n      env:\n        LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n        OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n        SANDBOX_TYPE: exec\n      run: |\n        # Append path to launch poetry\n        export PATH=\"/github/home/.local/bin:$PATH\"\n        # Append path to correctly import package, note: must set pwd at first\n        export PYTHONPATH=$(pwd):$PYTHONPATH\n        WORKSPACE_MOUNT_PATH=$GITHUB_WORKSPACE poetry run python ./opendevin/core/main.py -i 50 -f task.txt -d $GITHUB_WORKSPACE\n        rm task.txt\n\n    - name: Check if review file is non-empty\n      id: check_file\n      run: |\n        ls -la\n        if [[ -s review-${{ github.event.pull_request.number }}.txt ]]; then\n          echo \"non_empty=true\" >> $GITHUB_OUTPUT\n        fi\n      shell: bash\n\n    - name: Create PR review if file is non-empty\n      env:\n        GH_TOKEN: ${{ github.token }}\n      if: steps.check_file.outputs.non_empty == 'true'\n      run: |\n        gh pr review ${{ github.event.pull_request.number }} --comment --body-file \"review-${{ github.event.pull_request.number }}.txt\"\n", "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:23.115935", "created_at": "2024-04-23T10:11:05+02:00", "updated_at": "2024-06-19T05:20:49+02:00", "name": "Run Integration Tests", "path": ".github/workflows/run-integration-tests.yml", "contents": null, "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:24.201659", "created_at": "2024-05-13T17:23:02+02:00", "updated_at": "2024-05-13T17:23:02+02:00", "name": "Run Sandbox Tests", "path": ".github/workflows/run-test-sandbox.yml", "contents": null, "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:25.182981", "created_at": "2024-03-30T17:38:17+01:00", "updated_at": "2024-04-25T17:17:16+02:00", "name": "Run Tests", "path": ".github/workflows/run-tests.yml", "contents": null, "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:26.342576", "created_at": "2024-04-23T10:11:05+02:00", "updated_at": "2024-06-21T17:08:16+02:00", "name": "Run Unit Tests", "path": ".github/workflows/run-unit-tests.yml", "contents": "name: Run Unit Tests\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\non:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - '**/*.md'\n      - 'frontend/**'\n      - 'docs/**'\n      - 'evaluation/**'\n  pull_request:\n\nenv:\n  PERSIST_SANDBOX : \"false\"\n\njobs:\n  test-on-macos:\n    name: Test on macOS\n    runs-on: macos-12\n    env:\n      INSTALL_DOCKER: \"1\" # Set to '0' to skip Docker installation\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install poetry via pipx\n        run: pipx install poetry\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"poetry\"\n\n      - name: Install Python dependencies using Poetry\n        run: poetry install\n\n      - name: Install & Start Docker\n        if: env.INSTALL_DOCKER == '1'\n        run: |\n          # Uninstall colima to upgrade to the latest version\n          if brew list colima &>/dev/null; then\n              brew uninstall colima\n              # unlinking colima dependency: go\n              brew uninstall go@1.21\n          fi\n          brew install --HEAD colima\n          brew services start colima\n          brew install docker\n          colima start  --network-address --arch x86_64\n\n          # For testcontainers to find the Colima socket\n          # https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#cannot-connect-to-the-docker-daemon-at-unixvarrundockersock-is-the-docker-daemon-running\n          sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock\n\n      - name: Build Environment\n        run: make build\n\n      - name: Run Tests\n        run: poetry run pytest --forked --cov=agenthub --cov=opendevin --cov-report=xml ./tests/unit -k \"not test_sandbox\"\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n  test-on-linux:\n    name: Test on Linux\n    runs-on: ubuntu-latest\n    env:\n      INSTALL_DOCKER: \"0\" # Set to '0' to skip Docker installation\n    strategy:\n      matrix:\n        python-version: [\"3.11\"]\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Install poetry via pipx\n        run: pipx install poetry\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: \"poetry\"\n\n      - name: Install Python dependencies using Poetry\n        run: poetry install --without evaluation\n\n      - name: Build Environment\n        run: make build\n\n      - name: Run Tests\n        run: poetry run pytest --forked --cov=agenthub --cov=opendevin --cov-report=xml ./tests/unit -k \"not test_sandbox\"\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:27.465634", "created_at": "2024-04-20T15:25:38+02:00", "updated_at": "2024-04-20T15:25:38+02:00", "name": "Use OpenDevin to Resolve GitHub Issue", "path": ".github/workflows/solve-issue.yml", "contents": "name: Use OpenDevin to Resolve GitHub Issue\n\non:\n  issues:\n    types: [labeled]\n\npermissions:\n  contents: write\n  pull-requests: write\n  issues: write\n\njobs:\n  dogfood:\n    if: github.event.label.name == 'solve-this'\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/opendevin/opendevin\n      volumes:\n        - /var/run/docker.sock:/var/run/docker.sock\n\n    steps:\n    - name: install git, github cli\n      run: apt-get install -y git gh\n\n    - name: Checkout Repository\n      uses: actions/checkout@v4\n\n    - name: Write Task File\n      env:\n        ISSUE_TITLE: ${{ github.event.issue.title }}\n        ISSUE_BODY: ${{ github.event.issue.body }}\n      run: |\n        echo \"TITLE:\" > task.txt\n        echo \"${ISSUE_TITLE}\" >> task.txt\n        echo \"\" >> task.txt\n        echo \"BODY:\" >> task.txt\n        echo \"${ISSUE_BODY}\" >> task.txt\n    \n    - name: Set up environment\n      run: |\n        curl -sSL https://install.python-poetry.org | python3 -\n        export PATH=\"/github/home/.local/bin:$PATH\"\n        poetry install --without evaluation\n        poetry run playwright install --with-deps chromium\n\n\n    - name: Run OpenDevin\n      env:\n        ISSUE_TITLE: ${{ github.event.issue.title }}\n        ISSUE_BODY: ${{ github.event.issue.body }}\n        LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n        OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}\n        SANDBOX_TYPE: exec\n      run: |\n        # Append path to launch poetry\n        export PATH=\"/github/home/.local/bin:$PATH\"\n        # Append path to correctly import package, note: must set pwd at first\n        export PYTHONPATH=$(pwd):$PYTHONPATH\n        WORKSPACE_MOUNT_PATH=$GITHUB_WORKSPACE poetry run python ./opendevin/core/main.py -i 50 -f task.txt -d $GITHUB_WORKSPACE\n        rm task.txt\n\n    - name: Setup Git, Create Branch, and Commit Changes\n      run: |\n        # Setup Git configuration\n        git config --global --add safe.directory $PWD\n        git config --global user.name 'OpenDevin'\n        git config --global user.email 'OpenDevin@users.noreply.github.com'\n\n        # Create a unique branch name with a timestamp\n        BRANCH_NAME=\"fix/${{ github.event.issue.number }}-$(date +%Y%m%d%H%M%S)\"\n\n        # Checkout new branch\n        git checkout -b $BRANCH_NAME\n\n        # Add all changes to staging, except task.txt\n        git add --all -- ':!task.txt'\n\n        # Commit the changes, if any\n        git commit -m \"OpenDevin: Resolve Issue #${{ github.event.issue.number }}\"\n        if [ $? -ne 0 ]; then\n          echo \"No changes to commit.\"\n          exit 0\n        fi\n\n        # Push changes\n        git push --set-upstream origin $BRANCH_NAME\n\n    - name: Fetch Default Branch\n      env:\n        GH_TOKEN: ${{ github.token }}\n      run: |\n        # Fetch the default branch using gh cli\n        DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef --jq .defaultBranchRef.name)\n        echo \"Default branch is $DEFAULT_BRANCH\"\n        echo \"DEFAULT_BRANCH=$DEFAULT_BRANCH\" >> $GITHUB_ENV\n\n    - name: Generate PR\n      env:\n        GH_TOKEN: ${{ github.token }}\n      run: |\n        # Create PR and capture URL\n        PR_URL=$(gh pr create \\\n          --title \"OpenDevin: Resolve Issue #2\" \\\n          --body \"This PR was generated by OpenDevin to resolve issue #2\" \\\n          --repo \"foragerr/OpenDevin\" \\\n          --head \"${{ github.head_ref }}\" \\\n          --base \"${{ env.DEFAULT_BRANCH }}\" \\\n          | grep -o 'https://github.com/[^ ]*')\n\n        # Extract PR number from URL\n        PR_NUMBER=$(echo \"$PR_URL\" | grep -o '[0-9]\\+$')\n\n        # Set environment vars\n        echo \"PR_URL=$PR_URL\" >> $GITHUB_ENV\n        echo \"PR_NUMBER=$PR_NUMBER\" >> $GITHUB_ENV\n\n    - name: Post Comment\n      env:\n        GH_TOKEN: ${{ github.token }}\n      run: |\n        gh issue comment ${{ github.event.issue.number }} \\\n          -b \"OpenDevin raised [PR #${{ env.PR_NUMBER }}](${{ env.PR_URL }}) to resolve this issue.\"\n", "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:28.591850", "created_at": "2024-04-14T04:39:48+02:00", "updated_at": "2024-04-14T04:39:48+02:00", "name": "Close stale issues", "path": ".github/workflows/stale.yml", "contents": "name: 'Close stale issues'\non:\n  schedule:\n    - cron: '30 1 * * *'\n\njobs:\n  stale:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/stale@v9\n        with:\n          # Aggressively close issues that have been explicitly labeled `age-out`\n          any-of-labels: age-out\n          stale-issue-message: 'This issue is stale because it has been open for 7 days with no activity. Remove stale label or comment or this will be closed in 1 day.'\n          close-issue-message: 'This issue was closed because it has been stalled for over 7 days with no activity.'\n          stale-pr-message: 'This PR is stale because it has been open for 7 days with no activity. Remove stale label or comment or this will be closed in 1 days.'\n          close-pr-message: 'This PR was closed because it has been stalled for over 7 days with no activity.'\n          days-before-stale: 7\n          days-before-close: 1\n\n      - uses: actions/stale@v9\n        with:\n          # Be more lenient with other issues\n          stale-issue-message: 'This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'\n          close-issue-message: 'This issue was closed because it has been stalled for over 30 days with no activity.'\n          stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'\n          close-pr-message: 'This PR was closed because it has been stalled for over 30 days with no activity.'\n          days-before-stale: 30\n          days-before-close: 7\n", "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:29.673702", "created_at": "2024-03-22T21:20:41+01:00", "updated_at": "2024-03-22T21:21:09+01:00", "name": "Test main.py", "path": ".github/workflows/test-action.yml", "contents": null, "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:30.740420", "created_at": "2024-04-26T23:56:23+02:00", "updated_at": "2024-04-26T23:57:21+02:00", "name": "Test Deploy Docs to GitHub Pages", "path": ".github/workflows/test-deploy-docs.yml", "contents": null, "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:31.969337", "created_at": "2024-06-24T18:34:58+02:00", "updated_at": "2024-06-24T18:34:58+02:00", "name": "Update pyproject.toml Version and Tags", "path": ".github/workflows/update-pyproject-version.yml", "contents": null, "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:33.034301", "created_at": "2024-04-26T23:27:57+02:00", "updated_at": "2024-04-26T23:27:57+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "OpenDevin/OpenDevin"}
{"mined_at": "2024-07-15T18:59:35.509369", "created_at": "2022-10-03T10:25:19+02:00", "updated_at": "2022-12-07T01:13:18+01:00", "name": "CodeSee", "path": ".github/workflows/codesee-arch-diagram.yml", "contents": "# SPDX-License-Identifier: MIT\n\n# This workflow was added by CodeSee. Learn more at https://codesee.io/\n# This is v2.0 of this workflow file\n\non:\n  push:\n    branches:\n      - main\n  pull_request_target:\n    types: [opened, synchronize, reopened]\n\nname: CodeSee\n\npermissions: read-all\n\njobs:\n  codesee:\n    runs-on: ubuntu-latest\n    continue-on-error: true\n    name: Analyze the repo with CodeSee\n    steps:\n      - uses: Codesee-io/codesee-action@v2\n        with:\n          codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}\n", "state": "active", "repository": "TeamHonour/IgKnite"}
{"mined_at": "2024-07-15T18:59:36.774680", "created_at": "2022-10-03T09:40:18+02:00", "updated_at": "2023-06-02T20:05:51+02:00", "name": "Create, Publish & Deploy Docker Image", "path": ".github/workflows/deploy.yml", "contents": "# SPDX-License-Identifier: MIT\n\nname: Create, Publish & Deploy Docker Image\n\non:\n  release:\n    types: [published]\n\nenv:\n  REGISTRY: ghcr.io\n  IMAGE_NAME: ${{ github.repository }}\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: read\n      packages: write\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Log in to the Container registry\n        uses: docker/login-action@v2\n        with:\n          registry: ${{ env.REGISTRY }}\n          username: ${{ github.actor }}\n          password: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v4\n        with:\n          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}\n\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n", "state": "active", "repository": "TeamHonour/IgKnite"}
{"mined_at": "2024-07-15T18:59:37.997912", "created_at": "2022-10-21T08:46:35+02:00", "updated_at": "2024-01-27T09:31:43+01:00", "name": "Format", "path": ".github/workflows/formatting.yml", "contents": "# SPDX-License-Identifier: MIT\n\nname: Format\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  contents: write\n  pull-requests: write\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  ruff:\n    name: Ruff\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Check\n        id: formatcheck\n        uses: chartboost/ruff-action@v1\n        continue-on-error: true\n        with:\n          args: format --check .\n\n      - name: Format\n        uses: chartboost/ruff-action@v1\n        with:\n          args: format .\n\n      - name: Create pull request\n        if: steps.formatcheck.outcome != 'success'\n        uses: peter-evans/create-pull-request@v5\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          title: \"🎨 Automated formatting errors fix\"\n          commit-message: \"fixed formatting errors (ruff)\"\n          body: |\n            Formatter errors found in: ${{ github.sha }}.\n          base: ${{ github.head_ref }}\n          branch: actions/ruff\n          delete-branch: true\n          reviewers: hitblast", "state": "active", "repository": "TeamHonour/IgKnite"}
{"mined_at": "2024-07-15T18:59:39.444837", "created_at": "2022-08-09T18:59:32+02:00", "updated_at": "2024-01-27T09:31:43+01:00", "name": "Lint", "path": ".github/workflows/linting.yml", "contents": "# SPDX-License-Identifier: MIT\n\nname: Lint\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\npermissions:\n  contents: write\n  pull-requests: write\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  ruff:\n    name: Ruff\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Check\n        id: lintcheck\n        uses: chartboost/ruff-action@v1\n        continue-on-error: true\n        with:\n          args: check .\n\n      - name: Lint\n        uses: chartboost/ruff-action@v1\n        with:\n          args: check . --fix\n\n      - name: Create pull request\n        if: steps.lintcheck.outcome != 'success'\n        uses: peter-evans/create-pull-request@v5\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          title: \"🎨 Automated linting errors fix\"\n          commit-message: \"fixed linting errors (ruff)\"\n          body: |\n            Linter errors found in: ${{ github.sha }}.\n          base: ${{ github.head_ref }}\n          branch: actions/ruff\n          reviewers: hitblast\n          delete-branch: true", "state": "active", "repository": "TeamHonour/IgKnite"}
{"mined_at": "2024-07-15T18:59:40.679271", "created_at": "2023-02-16T20:01:24+01:00", "updated_at": "2023-02-16T20:01:24+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "TeamHonour/IgKnite"}
{"mined_at": "2024-07-15T18:59:42.928185", "created_at": "2020-08-08T20:53:38+02:00", "updated_at": "2020-12-19T14:06:48+01:00", "name": "Publish collection", "path": ".github/workflows/publish-collection.yml", "contents": "---\nname: Publish collection\n\n\"on\":\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  publish-collection:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Setup python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.9\n      - name: Install dependencies\n        run: |\n          python3 -m pip install ansible-core~=2.12.3\n      - name: Get the version\n        id: get_version\n        run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}\n      - name: Publish collection\n        run: ansible-playbook -i localhost, -e tag='${{ steps.get_version.outputs.VERSION }}' .github/publish-collection.yml\n        env:\n          ANSIBLE_GALAXY_TOKEN: ${{ secrets.ANSIBLE_GALAXY_TOKEN }}\n", "state": "active", "repository": "osism/ansible-collection-services"}
{"mined_at": "2024-07-15T18:59:45.172178", "created_at": "2021-12-29T13:22:02+01:00", "updated_at": "2021-12-29T13:22:02+01:00", "name": "Upload Python Package", "path": ".github/workflows/python-publish.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: Upload Python Package\n\non:\n  release:\n    types: [published]\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: true\n        token: ${{ secrets.OXOTITAN_GITHUB_KEY }}\n    - name: Setup Node.js\n      uses: actions/setup-node@v2\n      with:\n        node-version: '18.0.0'\n    - name: Install Node dependencies\n      run: npm install\n      working-directory: src/oxotitan\n    - name: Generate Nuxt\n      run: npm run generate\n      working-directory: src/oxotitan\n    - name: Create ostorlab ui static folder\n      run: mkdir -p ostorlab/ui/static\n      working-directory: src\n    - name: Copy Nuxt output\n      run: cp -r src/oxotitan/.output/public src/ostorlab/ui/static\n    - name: Set up Python\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: '3.x'\n    - name: Install SSH key\n      uses: shimataro/ssh-key-action@v2\n      with:\n        key: ${{ secrets.WORKFLOW_SSH_KEY }}\n        known_hosts: ${{ secrets.KNOWN_HOSTS }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: python -m build\n    - name: Publish package\n      uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29\n      with:\n        user: __token__\n        password: ${{ secrets.PYPI_API_TOKEN }}\n    - name: Set up Docker Buildx\n      id: buildx\n      uses: docker/setup-buildx-action@v1\n    - name: Login to ostorlab store\n      uses: docker/login-action@v1\n      with:\n        username: ${{ secrets.store_user }}\n        password: ${{ secrets.store_password }}\n    - name: truncate current tag\n      run: echo \"TAG=$(echo $GITHUB_REF | cut -c12-17)\" >> $GITHUB_ENV\n    - name: Build image and push to ostorlab Container Registry\n      uses: docker/build-push-action@v2\n      with:\n        # relative path to the place where source code with Dockerfile is located\n        context: .\n        tags: |\n          ostorlab/oxo:${{env.TAG}}\n          ostorlab/oxo:latest\n        push: true\n", "state": "active", "repository": "Ostorlab/oxo"}
{"mined_at": "2024-07-15T18:59:46.306334", "created_at": "2022-09-05T12:16:21+02:00", "updated_at": "2024-06-03T17:55:39+02:00", "name": "Pytest-Windows", "path": ".github/workflows/pytest-windows.yml", "contents": "# This workflow use pytest:\n#  - Install Python dependencies.\n#  - Run pytest for each of the supported Python versions [\"3.8\", \"3.9\", \"3.10\"]. \n# Running pytest with -m \"no docker\" to disable test that require a docker installation.\n\nname: Pytest-Windows\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ \"*\" ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  build:\n\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        os: [windows-latest]\n\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: true\n        token: ${{ secrets.OXOTITAN_GITHUB_KEY }}\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies.\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[testing]\n        pip install .[scanner]\n        pip install .[agent]\n        pip install .[serve]\n        python -m pip install -e .\n    - name: Running tests with pytest.\n      env:\n        RE_OXO_API_KEY: ${{ secrets.RE_OXO_API_KEY }}\n      run: |\n        pytest -m \"not docker and not nats\"\n", "state": "active", "repository": "Ostorlab/oxo"}
{"mined_at": "2024-07-15T18:59:47.432124", "created_at": "2022-09-05T12:16:21+02:00", "updated_at": "2024-06-03T17:55:39+02:00", "name": "Pytest-Linux", "path": ".github/workflows/pytest-linux.yml", "contents": "# This workflow use pytest:\n#  - Install Python dependencies.\n#  - Run pytest for each of the supported Python versions [\"3.8\", \"3.9\", \"3.10\"]. \n# Running pytest with -m \"no docker\" to disable test that require a docker installation.\n\nname: Pytest-Linux\n\non:\n  push:\n    branches: [ main ]\n  pull_request:\n    branches: [ \"*\" ]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\njobs:\n  build:\n\n    runs-on:  ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n        os: [ubuntu-latest]\n\n    steps:\n    - uses: actions/checkout@v4.1.1\n      with:\n        submodules: true\n        token: ${{ secrets.OXOTITAN_GITHUB_KEY }}\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5.0.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies.\n      run: |\n        python -m pip install --upgrade pip\n        pip install .[testing]\n        pip install .[scanner]\n        pip install .[agent]\n        pip install .[serve]\n        python -m pip install -e .\n    - name: Running tests with pytest.\n      env:\n        RE_OXO_API_KEY: ${{ secrets.RE_OXO_API_KEY }}\n      run: |\n        set -o pipefail\n        pytest -m \"not docker and not nats\"\n", "state": "active", "repository": "Ostorlab/oxo"}
{"mined_at": "2024-07-15T18:59:48.558723", "created_at": "2024-01-23T14:58:12+01:00", "updated_at": "2024-01-23T16:15:37+01:00", "name": "Lint And Format Checker.", "path": ".github/workflows/lint_format_checker.yaml", "contents": "name: Lint And Format Checker.\n\non:\n  pull_request:\n    branches: [ \"*\" ]\n  push:\n    branches: [ \"main\" ]\njobs:\n  ruff:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.9\", \"3.10\" ]\n    steps:\n      - uses: actions/checkout@v4.1.1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Checking code formatting.\n        uses: chartboost/ruff-action@v1\n        with:\n          args: format --check\n      - name: Running linter.\n        uses: chartboost/ruff-action@v1\n", "state": "active", "repository": "Ostorlab/oxo"}
{"mined_at": "2024-07-15T18:59:49.684953", "created_at": "2024-01-23T14:58:12+01:00", "updated_at": "2024-01-23T16:15:37+01:00", "name": "Static Types Checker.", "path": ".github/workflows/typing_checker.yaml", "contents": "name: Static Types Checker.\n\non:\n  pull_request:\n    branches: [ \"*\" ]\n  push:\n    branches: [ \"main\" ]\njobs:\n  mypy:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [ \"3.9\", \"3.10\" ]\n    steps:\n      - uses: actions/checkout@v4.1.1\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5.0.0\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: 'pip'\n          cache-dependency-path: |\n            **/typing_requirements.txt\n      - name: Install dependencies.\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install -r typing_requirements.txt\n          python -m pip install -e .\n      - name: Running static types checker.\n        run: |\n          mypy src/ostorlab/agent/schema\n          mypy src/ostorlab/agent/kb\n          mypy src/ostorlab/agent/message\n          mypy src/ostorlab/utils\n          mypy src/ostorlab/apis/runners\n          mypy src/ostorlab/agent/mixins/agent_report_vulnerability_mixin.py\n          mypy src/ostorlab/assets\n", "state": "active", "repository": "Ostorlab/oxo"}
{"mined_at": "2024-07-15T18:59:50.913975", "created_at": "2024-03-12T15:56:46+01:00", "updated_at": "2024-03-12T15:56:46+01:00", "name": ".github/workflows/release_linux_mac_bin.yaml", "path": ".github/workflows/release_linux_mac_bin.yaml", "contents": "on:\n  release:\n    types: [published]\n\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n        os: ['ubuntu-latest', 'macos-latest']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n        token: ${{ secrets.OXOTITAN_GITHUB_KEY }}\n    - name: Setup Node.js\n      uses: actions/setup-node@v2\n      with:\n        node-version: '18.0.0'\n    - name: Install Node dependencies\n      run: npm install\n      working-directory: src/oxotitan\n    - name: Generate Nuxt\n      run: npm run generate\n      working-directory: src/oxotitan\n    - name: Create ostorlab ui static folder\n      run: mkdir -p ostorlab/ui/static\n      working-directory: src\n    - name: Copy Nuxt output\n      run: cp -r src/oxotitan/.output/public src/ostorlab/ui/static\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies.\n      run: |\n        python -m pip install --upgrade pip\n        pip install .\n        pip install .[scanner]\n        pip install .[agent]\n        pip install .[serve]\n        pip install pyinstaller\n\n    - run: |\n        pyinstaller --name oxo_${{ matrix.os }} --onefile --add-data=\"./*:.\" --hidden-import alembic --hidden-import docker --hidden-import click src/ostorlab/main.py\n    - name: Release\n      uses: softprops/action-gh-release@v2\n      with:\n        files: dist/oxo_${{ matrix.os }}\n", "state": "active", "repository": "Ostorlab/oxo"}
{"mined_at": "2024-07-15T18:59:52.036083", "created_at": "2024-03-12T15:56:46+01:00", "updated_at": "2024-03-12T15:56:46+01:00", "name": ".github/workflows/release_windows_bin.yaml", "path": ".github/workflows/release_windows_bin.yaml", "contents": "on:\n  release:\n    types: [published]\n\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n        os: ['windows-latest']\n\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n        token: ${{ secrets.OXOTITAN_GITHUB_KEY }}\n    - name: Setup Node.js\n      uses: actions/setup-node@v2\n      with:\n        node-version: '18.0.0'\n    - name: Install Node dependencies\n      run: npm install\n      working-directory: src/oxotitan\n    - name: Generate Nuxt\n      run: npm run generate\n      working-directory: src/oxotitan\n    - name: Create ostorlab ui static folder\n      run: mkdir -p ostorlab/ui/static\n      working-directory: src\n    - name: Copy Nuxt output\n      run: cp -r src/oxotitan/.output/public src/ostorlab/ui/static\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies.\n      run: |\n        python -m pip install --upgrade pip\n        pip install .\n        pip install .[scanner]\n        pip install .[agent]\n        pip install .[serve]\n        pip install pyinstaller\n\n    - run: |\n        pyinstaller --name oxo_${{ matrix.os }} --onefile --add-data=\"./*:.\" --hidden-import alembic --hidden-import docker --hidden-import click src/ostorlab/main.py\n    - name: Release\n      uses: softprops/action-gh-release@v2\n      with:\n        files: dist/oxo_${{ matrix.os }}.exe\n", "state": "active", "repository": "Ostorlab/oxo"}
{"mined_at": "2024-07-15T18:59:53.024349", "created_at": "2021-12-27T11:38:47+01:00", "updated_at": "2024-03-20T14:22:58+01:00", "name": "Pytest.", "path": ".github/workflows/pytest.yml", "contents": null, "state": "disabled_manually", "repository": "Ostorlab/oxo"}
{"mined_at": "2024-07-15T18:59:55.031470", "created_at": "2022-02-08T21:35:34+01:00", "updated_at": "2022-02-22T18:19:59+01:00", "name": "Build workflow", "path": ".github/workflows/build.yml", "contents": "name: \"Build workflow\"\non: [pull_request]\njobs:\n  build-test:\n    runs-on: ubuntu-20.04\n    container: python:3.9-slim\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: Install pip dependencies\n        run: pip install -r requirements.txt\n      - name: Build\n        run: mkdocs build\n", "state": "active", "repository": "algorandfoundation/docs"}
{"mined_at": "2024-07-15T18:59:56.066631", "created_at": "2022-08-01T13:20:49+02:00", "updated_at": "2022-08-02T17:09:03+02:00", "name": "PR Generator", "path": ".github/workflows/pr-generator.yml", "contents": "name: \"PR Generator\"\non:\n  workflow_dispatch:\n    inputs:\n      go_algorand_version:\n        description: \"Go-Algorand Full Version (Example: v1.2.3-stable)\"\n        type: string\n        required: true\n      indexer_version:\n        description: \"Indexer Version (Example: X.X.X)\"\n        type: string\n        required: true\n  workflow_call:\n    inputs:\n      go_algorand_version:\n        description: \"Go-Algorand Full Version (Example: v1.2.3-stable)\"\n        type: string\n        required: true\n      indexer_version:\n        description: \"Indexer Version (Example: X.X.X)\"\n        type: string\n        required: true\n\njobs:\n  pr-generator:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Clone docs repo\n        uses: actions/checkout@v3\n        with:\n          path: docs\n\n      - name: Clone go-algorand repo\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        uses: actions/checkout@v3\n        with:\n          repository: algorand/go-algorand\n          ref: ${{ inputs.go_algorand_version }}\n          path: go-algorand\n\n      - name: Get short/clean go-algorand version\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        run: |\n          TEMP_VERSION=${{ inputs.go_algorand_version }}\n          TEMP_VERSION=$(echo $TEMP_VERSION | sed 's/v//' | sed 's/-stable//')\n          echo \"GO_ALGORAND_VERSION set to $TEMP_VERSION\"\n          echo \"GO_ALGORAND_VERSION=$TEMP_VERSION\" >> $GITHUB_ENV\n\n      - name: Clone Indexer repo\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        uses: actions/checkout@v3\n        with:\n          repository: algorand/indexer\n          ref: v${{ inputs.indexer_version }}\n          path: indexer\n          submodules: true\n\n      - name: Install golang\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        uses: actions/setup-go@v3\n        with:\n          go-version: 1.20.7\n\n      - name: Generate conduit docs\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        run: |\n          sudo apt update\n          sudo apt -y install python3 python3-pip python3-setuptools python3-wheel libboost-math-dev libffi-dev\n          cd ./indexer\n          make\n          rm -r ../get-details/conduit/* && cp ./conduit-docs/* ../get-details/conduit/\n          cd ../\n\n      - name: Download binaries\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        run: |\n          wget https://github.com/algorand/go-algorand/releases/download/v${{ env.GO_ALGORAND_VERSION }}-stable/node_stable_linux-amd64_${{ env.GO_ALGORAND_VERSION }}.tar.gz\n          wget https://github.com/algorand/indexer/releases/download/v${{ inputs.indexer_version }}/indexer_Linux_x86_64_${{ inputs.indexer_version }}.tar.gz\n          ls -la\n\n      - name: Install binaries\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        run: |\n          mkdir -p ~/go/bin\n          mkdir -p node_stable_linux-amd64_${{ env.GO_ALGORAND_VERSION }}\n          tar xzf node_stable_linux-amd64_${{ env.GO_ALGORAND_VERSION }}.tar.gz -C node_stable_linux-amd64_${{ env.GO_ALGORAND_VERSION }}/\n          cd node_stable_linux-amd64_${{ env.GO_ALGORAND_VERSION }}/bin/\n          cp goal algokey kmd diagcfg tealdbg  ~/go/bin/\n          cd ../../\n          mkdir -p indexer_Linux_x86_64_${{ inputs.indexer_version }}\n          tar xzf indexer_Linux_x86_64_${{ inputs.indexer_version }}.tar.gz -C indexer_Linux_x86_64_${{ inputs.indexer_version }}\n          cd indexer_Linux_x86_64_${{ inputs.indexer_version }}\n          cp algorand-indexer ~/go/bin/\n          cd ../\n          ls -la\n          ls -la ~/go/bin\n\n      - name: Run doc generator\n        if: (contains(inputs.go_algorand_version, '-stable')) && (!contains(inputs.indexer_version, '-'))\n        run: |\n          cd docs/scripts/\n          ./reformat-all-commands.sh ../../go-algorand/ ../../indexer/\n          go run config_json_gen/main.go -path ../../go-algorand/ > ../docs/run-a-node/reference/config.md\n          git diff\n\n      - name: Change version for Beta release\n        if: contains(inputs.go_algorand_version, '-beta')\n        run: |\n          cd docs/docs/get-details/algorand-networks\n          sed -i.bak 's/v.*-beta/${{ inputs.go_algorand_version }}/' betanet.md\n          rm betanet.md.bak\n          cd ../../../\n          echo \"${{ inputs.go_algorand_version }}\" > .go-algorand-beta.version\n\n      - name: Change go-algorand version for Stable release\n        if: contains(inputs.go_algorand_version, '-stable')\n        run: |\n          cd docs/docs/get-details/algorand-networks\n          sed -i.bak 's/v.*-stable/${{ inputs.go_algorand_version }}/' testnet.md\n          sed -i.bak 's/v.*-stable/${{ inputs.go_algorand_version }}/' mainnet.md\n          rm testnet.md.bak mainnet.md.bak\n          cd ../../../\n          echo \"${{ inputs.go_algorand_version }}\" > .go-algorand-stable.version\n\n      - name: Change Indexer version\n        if: inputs.indexer_version != '' && !contains(inputs.indexer_version, '-')\n        run: |\n          echo \"${{ inputs.indexer_version }}\" > docs/.indexer.version\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v4\n        with:\n          path: docs\n          branch: \"automatic-pr-go-algorand-${{ inputs.go_algorand_version }}-indexer-${{ inputs.indexer_version }}\"\n          title: \"Automatic update generated for go-algorand: ${{ inputs.go_algorand_version }} and indexer: ${{ inputs.indexer_version }}\"\n          body: \"Changes generated automatically by github action docs-generator.\"\n          reviewers: \"nullun\"\n          delete-branch: true\n          base: staging\n", "state": "active", "repository": "algorandfoundation/docs"}
{"mined_at": "2024-07-15T18:59:57.140112", "created_at": "2022-08-04T19:20:45+02:00", "updated_at": "2023-05-10T23:30:30+02:00", "name": "Check for releases", "path": ".github/workflows/release-checker.yml", "contents": "name: \"Check for releases\"\non:\n  schedule:\n    - cron: '*/30 * * * *'\n\njobs:\n  release-checker:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout docs repo\n        uses: actions/checkout@v3\n        with:\n          path: docs\n\n      - name: Clone go-algorand repo\n        uses: actions/checkout@v3\n        with:\n          repository: algorand/go-algorand\n          ref: rel/stable\n          path: go-algorand\n\n      - name: Clone Indexer repo\n        uses: actions/checkout@v3\n        with:\n          repository: algorand/indexer\n          ref: main\n          path: indexer\n\n      - name: Get current documentation versions\n        id: current_versions\n        run: |\n          cd docs\n          TEMP_STABLE=$(cat .go-algorand-stable.version)\n          echo \"Stable version: $TEMP_STABLE\"\n          echo \"::set-output name=stable::$TEMP_STABLE\"\n          TEMP_BETA=$(cat .go-algorand-beta.version)\n          echo \"Beta version: $TEMP_BETA\"\n          echo \"::set-output name=beta::$TEMP_BETA\"\n          TEMP_INDEXER=$(cat .indexer.version)\n          echo \"Indexer version: $TEMP_INDEXER\"\n          echo \"::set-output name=indexer::$TEMP_INDEXER\"\n\n      - name: Get latest stable and beta go-algorand releases\n        id: latest_go_algorand\n        run: |\n          cd go-algorand\n          git fetch --tags\n          echo \"::set-output name=stable::$(git tag --list 'v[0-9]*.[0-9]*.[0-9]*-stable' | sort -V | tail -1)\"\n          git tag --list 'v[0-9]*.[0-9]*.[0-9]*-stable' | sort -V | tail -1\n          echo \"::set-output name=beta::$(git tag --list 'v[0-9]*.[0-9]*.[0-9]*-beta' | sort -V | tail -1)\"\n          git tag --list 'v[0-9]*.[0-9]*.[0-9]*-beta' | sort -V | tail -1\n\n      - name: Get latest indexer release without dashes\n        id: latest_indexer\n        run: |\n          cd indexer\n          git fetch --tags\n          echo \"::set-output name=indexer::$(git tag --list | grep '[0-9]*\\.[0-9]*\\.[0-9]*' | grep -v '-' | sed 's/^v//' | sort -V | tail -1)\"\n          git tag --list | grep '[0-9]*\\.[0-9]*\\.[0-9]*' | grep -v '-' | sed 's/^v//' | sort -V | tail -1\n\n      - name: Check versions # Just for easier troubleshooting\n        run: |\n          echo \"Checking if current stable: ${{ steps.current_versions.outputs.stable }} equals latest stable: ${{ steps.latest_go_algorand.outputs.stable }}\"\n          [[ \"${{ steps.current_versions.outputs.stable }}\" == \"${{ steps.latest_go_algorand.outputs.stable }}\" ]] && echo \"Matches\" || echo \"NO MATCH!!\"\n          echo \"Checking if current beta: ${{ steps.current_versions.outputs.beta }} equals latest beta: ${{ steps.latest_go_algorand.outputs.beta }}\"\n          [[ \"${{ steps.current_versions.outputs.beta }}\" == \"${{ steps.latest_go_algorand.outputs.beta }}\" ]] && echo \"Matches\" || echo \"NO MATCH!!\"\n          echo \"Checking if current indexer: ${{ steps.current_versions.outputs.indexer }} equals latest indexer: ${{ steps.latest_indexer.outputs.indexer }}\"\n          [[ \"${{ steps.current_versions.outputs.indexer }}\" == \"${{ steps.latest_indexer.outputs.indexer }}\" ]] && echo \"Matches\" || echo \"NO MATCH!!\"\n\n    outputs: # Translate step outputs into job outputs\n      current_stable: ${{ steps.current_versions.outputs.stable }}\n      current_beta: ${{ steps.current_versions.outputs.beta }}\n      current_indexer: ${{ steps.current_versions.outputs.indexer }}\n      latest_stable: ${{ steps.latest_go_algorand.outputs.stable }}\n      latest_beta: ${{ steps.latest_go_algorand.outputs.beta }}\n      latest_indexer: ${{ steps.latest_indexer.outputs.indexer }}\n\n  trigger-pr-generator-stable:\n    name: Trigger docs and version updates if STABLE versions don't match\n    needs: release-checker\n    if: |\n      needs.release-checker.outputs.current_stable != needs.release-checker.outputs.latest_stable ||\n      needs.release-checker.outputs.current_indexer != needs.release-checker.outputs.latest_indexer\n    uses: ./.github/workflows/pr-generator.yml\n    with:\n      go_algorand_version: ${{ needs.release-checker.outputs.latest_stable }}\n      indexer_version: ${{ needs.release-checker.outputs.latest_indexer }}\n\n  trigger-pr-generator-beta:\n    name: Trigger docs and version updates if BETA versions don't match\n    needs: release-checker\n    if: needs.release-checker.outputs.current_beta != needs.release-checker.outputs.latest_beta\n    uses: ./.github/workflows/pr-generator.yml\n    with:\n      go_algorand_version: ${{ needs.release-checker.outputs.latest_beta }}\n      indexer_version: ${{ needs.release-checker.outputs.latest_indexer }}\n", "state": "active", "repository": "algorandfoundation/docs"}
{"mined_at": "2024-07-15T18:59:59.191900", "created_at": "2024-03-18T16:37:37+01:00", "updated_at": "2024-03-18T16:37:37+01:00", "name": "Probot", "path": ".github/workflows/auto-cc.yml", "contents": "name: Probot\n\non:\n  issues:\n    types: [labeled]\n  # should use `pull_request_target` but it's blocked by\n  # https://github.com/probot/probot/issues/1635\n  # so this job will not run on forks until the above is fixed\n  pull_request:\n    types: [labeled, ready_for_review]\n\njobs:\n  auto-cc:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'issue' || github.event.pull_request.draft == false\n    timeout-minutes: 5\n    steps:\n      - uses: Lightning-AI/probot@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          job: auto-cc\n", "state": "active", "repository": "Lightning-AI/lightning-thunder"}
{"mined_at": "2024-07-15T19:00:00.206065", "created_at": "2024-03-18T16:37:37+01:00", "updated_at": "2024-03-18T16:37:37+01:00", "name": "General checks", "path": ".github/workflows/ci-checks.yml", "contents": "name: General checks\n\non:\n  push:\n    branches: [main]\n  pull_request: {}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ ! (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }}\n\njobs:\n  precommit-run:\n    uses: Lightning-AI/utilities/.github/workflows/check-precommit.yml@v0.11.2\n    with:\n      python-version: \"3.10\"\n\n  check-schema:\n    uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@v0.11.2\n    with:\n      azure-dir: \".azure\"\n\n  check-package:\n    uses: Lightning-AI/utilities/.github/workflows/check-package.yml@v0.11.2\n    with:\n      actions-ref: v0.11.2\n      import-name: \"thunder\"\n      artifact-name: dist-packages-${{ github.sha }}\n      testing-matrix: |\n        {\n          \"os\": [\"ubuntu-latest\", \"macOS-latest\", \"windows-latest\"],\n          \"python-version\": [\"3.10\", \"3.11\"]\n        }\n", "state": "active", "repository": "Lightning-AI/lightning-thunder"}
{"mined_at": "2024-07-15T19:00:01.361983", "created_at": "2024-03-18T16:37:37+01:00", "updated_at": "2024-03-18T16:37:37+01:00", "name": "CI testing", "path": ".github/workflows/ci-testing.yml", "contents": "name: CI testing\n\n# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows\non: # Trigger the workflow on push or pull request, but only for the main branch\n  push:\n    branches: [main]\n  pull_request: {}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\ndefaults:\n  run:\n    shell: bash\n\nenv:\n  #CI: \"true\"\n  TORCH_URL_RC: \"https://download.pytorch.org/whl/test/cpu/torch_test.html\"\n  TORCH_URL_NIGHTLY: \"https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html\"\n  TORCH_URL_STABLE: \"https://download.pytorch.org/whl/cpu\"\n\njobs:\n  pytester:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [\"ubuntu-22.04\", \"macOS-12\", \"windows-2022\"]\n        python-version: [\"3.10\"]\n        requires: [\"latest\", \"nightly\"] # , 'oldest'\n        include:\n          - { os: \"ubuntu-22.04\", python-version: \"3.11\", requires: \"latest\" }\n\n    # Timeout: https://stackoverflow.com/a/59076067/4521646\n    timeout-minutes: 35\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Setup Ubuntu\n        if: runner.os == 'ubuntu'\n        run: |\n          sudo apt-get install -y graphviz\n\n      - name: Set min. dependencies\n        if: matrix.requires == 'oldest'\n        run: |\n          for fpath in ('requirements/base.txt', 'requirements/test.txt'):\n              req = open(fpath).read().replace('>=', '==')\n              open(fpath, 'w').write(req)\n        shell: python\n\n      - name: Get pip cache dir\n        id: pip-cache\n        run: echo \"dir=$(pip cache dir)\" >> $GITHUB_OUTPUT\n\n      - name: Cache pip\n        uses: actions/cache@v4\n        with:\n          path: ${{ steps.pip-cache.outputs.dir }}\n          key: ${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.requires }}-pip-${{ hashFiles('requirements/*.txt') }}\n          restore-keys: |\n            ${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.requires }}-pip-\n      - name: switch Torch source\n        run: |\n          if [[ \"${{ matrix.requires }}\" == \"nightly\" ]]; then\n            echo \"TORCH_URL=$TORCH_URL_NIGHTLY\" >> $GITHUB_ENV\n            echo \"PIP_EXTRA_FLAG=--pre\" >> $GITHUB_ENV\n          else\n            echo \"TORCH_URL=$TORCH_URL_STABLE\" >> $GITHUB_ENV\n          fi\n\n      - name: Install package & dependencies\n        run: |\n          pip --version\n          pip install -e . -U \\\n            -r requirements/test.txt \\\n            --find-links=${TORCH_URL} ${PIP_EXTRA_FLAG}\n          pip list\n        shell: bash\n\n      - name: Testing Local\n        if: matrix.python-version == '3.10'\n        run: |\n          coverage run --source thunder -m \\\n            pytest thunder/tests/ \\\n              --ignore=thunder/tests/distributed \\\n              -v --datefmt=\"%Y%m%d-%H:%M:%S.%f\" \\\n              --random-order-seed=$GITHUB_RUN_ID \\\n              -n 2 --durations=250\n\n      - name: Testing Distributed\n        # run all found tests in given past as standalone\n        if: matrix.python-version == '3.10' && runner.os == 'Linux'\n        run: |\n          pytest thunder/tests/distributed/ \\\n            -v --datefmt=\"%Y%m%d-%H:%M:%S.%f\" \\\n            --random-order-seed=$GITHUB_RUN_ID \\\n            --durations=250\n\n      - name: Testing just a few\n        if: matrix.python-version == '3.11'\n        #continue-on-error: true\n        run: |\n          python -m pytest \\\n            thunder/tests/test_interpreter.py \\\n            -v --durations=50 --cov=thunder\n          python -m pytest thunder/tests/test_jit_general.py -v --durations=50 --cov=thunder\n\n      - name: Statistics\n        run: |\n          coverage report\n          coverage xml\n\n      - name: Upload coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{ secrets.CODECOV_TOKEN }}\n          file: ./coverage.xml\n          flags: unittests\n          env_vars: OS,PYTHON\n          name: codecov-umbrella\n          fail_ci_if_error: false\n\n  testing-guardian:\n    runs-on: ubuntu-latest\n    needs: pytester\n    if: always()\n    steps:\n      - run: echo \"${{ needs.pytester.result }}\"\n      - name: failing...\n        if: needs.pytester.result == 'failure'\n        run: exit 1\n      - name: cancelled or skipped...\n        if: contains(fromJSON('[\"cancelled\", \"skipped\"]'), needs.pytester.result)\n        timeout-minutes: 1\n        run: sleep 90\n", "state": "active", "repository": "Lightning-AI/lightning-thunder"}
{"mined_at": "2024-07-15T19:00:02.490518", "created_at": "2024-03-18T16:37:37+01:00", "updated_at": "2024-03-21T18:41:30+01:00", "name": "Code linting", "path": ".github/workflows/code-lint.yml", "contents": null, "state": "active", "repository": "Lightning-AI/lightning-thunder"}
{"mined_at": "2024-07-15T19:00:03.714255", "created_at": "2024-03-18T16:37:37+01:00", "updated_at": "2024-03-18T16:37:37+01:00", "name": "Build (& deploy) Docs", "path": ".github/workflows/docs-build.yml", "contents": "name: \"Build (& deploy) Docs\"\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n    types: [opened, reopened, ready_for_review, synchronize]\n  workflow_dispatch: {}\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  docs-make:\n    if: github.event.pull_request.draft == false\n    runs-on: ubuntu-22.04\n    strategy:\n      fail-fast: false\n      matrix:\n        target: [\"html\", \"doctest\", \"linkcheck\"]\n    env:\n      ARTIFACT_DAYS: 0\n      PYPI_LOCAL_DIR: \"pypi_pkgs/\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Pull sphinx template\n        run: make get-sphinx-theme\n      - name: Install pandoc\n        timeout-minutes: 5\n        run: sudo apt-get install -y pandoc\n      - name: Install package & dependencies\n        timeout-minutes: 20\n        run: pip install . -U -r requirements/docs.txt\n\n      - name: Make ${{ matrix.target }}\n        working-directory: docs/\n        # allow failing link check and doctest if you run with dispatch\n        continue-on-error: ${{ matrix.target == 'doctest' || matrix.target == 'linkcheck' }}\n        run: make ${{ matrix.target }} --debug --jobs $(nproc) SPHINXOPTS=\"-W --keep-going\"\n\n      - name: Keep artifact\n        if: github.event_name == 'pull_request'\n        run: echo \"ARTIFACT_DAYS=7\" >> $GITHUB_ENV\n      - name: Upload built docs\n        if: ${{ matrix.target == 'html' }}\n        uses: actions/upload-artifact@v4\n        with:\n          name: docs-html-${{ github.sha }}\n          path: docs/build/html/\n          retention-days: ${{ env.ARTIFACT_DAYS }}\n\n  deploy-docs:\n    needs: docs-make\n    if: github.repository_owner == 'Lightning-AI' && github.event_name == 'push'\n    runs-on: ubuntu-latest\n    env:\n      GCP_TARGET: \"gs://lightning-docs-thunder\"\n    steps:\n      - uses: actions/download-artifact@v4\n        with:\n          name: docs-html-${{ github.sha }}\n          path: docs/build/html/\n\n      - name: Authenticate to Google Cloud\n        uses: google-github-actions/auth@v2\n        with:\n          credentials_json: ${{ secrets.GCS_SA_KEY }}\n\n      - name: Setup gcloud\n        uses: google-github-actions/setup-gcloud@v2\n        with:\n          project_id: ${{ secrets.GCS_PROJECT }}\n\n      # Uploading docs to GCS, so they can be served on lightning.ai\n      #- name: Upload docs/thunder/stable to GCS 🪣\n      #  if: startsWith(github.ref, 'refs/heads/release/')\n      #  run: gsutil -m rsync -d -R docs/build/html/ ${GCP_TARGET}/stable\n\n      # Uploading docs to GCS, so they can be served on lightning.ai\n      - name: Upload docs/thunder/latest to GCS 🪣\n        if: github.ref == 'refs/heads/main'\n        run: gsutil -m rsync -d -R docs/build/html/ ${GCP_TARGET}/latest\n\n      # Uploading docs to GCS, so they can be served on lightning.ai\n      #- name: Upload docs/thunder/release to GCS 🪣\n      #  if: startsWith(github.ref, 'refs/tags/')\n      #  run: gsutil -m rsync -d -R docs/build/html/ ${GCP_TARGET}/${{ github.ref_name }}\n\n      # Uploading docs as archive to GCS, so they can be as backup\n      #- name: Upload docs as archive to GCS 🪣\n      #  if: startsWith(github.ref, 'refs/tags/')\n      #  working-directory: docs/build\n      #  run: |\n      #    zip ${{ github.ref_name }}.zip -r html/\n      #    gsutil cp ${{ github.ref_name }}.zip ${GCP_TARGET}\n", "state": "active", "repository": "Lightning-AI/lightning-thunder"}
{"mined_at": "2024-07-15T19:00:04.843562", "created_at": "2024-03-18T16:37:37+01:00", "updated_at": "2024-06-04T14:48:56+02:00", "name": "Label merge conflicts", "path": ".github/workflows/label-conflicts.yml", "contents": "name: Label merge conflicts\n\non:\n  push:\n    branches: [\"main\"]\n  pull_request_target:\n    types: [\"synchronize\", \"reopened\", \"opened\"]\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}\n  cancel-in-progress: true\n\njobs:\n  triage-conflicts:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: mschilde/auto-label-merge-conflicts@591722e97f3c4142df3eca156ed0dcf2bcd362bd\n        with:\n          CONFLICT_LABEL_NAME: \"has conflicts\"\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          MAX_RETRIES: 3\n          WAIT_MS: 5000\n", "state": "disabled_manually", "repository": "Lightning-AI/lightning-thunder"}
{"mined_at": "2024-07-15T19:00:05.966873", "created_at": "2024-03-18T16:37:37+01:00", "updated_at": "2024-03-18T16:37:37+01:00", "name": "Pull Request Labeler", "path": ".github/workflows/labeler.yml", "contents": "name: \"Pull Request Labeler\"\non: [pull_request_target]\n\njobs:\n  triage-prs:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      # Uploads repository content to the runner\n      - uses: actions/checkout@v4\n      - uses: actions/labeler@v5\n        with:\n          # The path to the label configuration file.\n          configuration-path: .github/labeling-config.yml\n          # Whether removing labels when matching files are reverted or no longer changed by the PR\n          sync-labels: true\n", "state": "active", "repository": "Lightning-AI/lightning-thunder"}
{"mined_at": "2024-07-15T19:00:07.093258", "created_at": "2024-03-31T15:37:54+02:00", "updated_at": "2024-04-01T11:19:23+02:00", "name": "Nightly packages", "path": ".github/workflows/release-nightly.yml", "contents": "name: Nightly packages\n\non:\n  pull_request: # this shall test only the part of workflow before publishing\n    branches: [main, \"release/*\"]\n    types: [opened, reopened, ready_for_review, synchronize]\n    paths:\n      - \".github/workflows/release-nightly.yml\"\n  schedule:\n    - cron: \"0 0 * * 0\" # on Sundays\n  workflow_dispatch: {}\n\ndefaults:\n  run:\n    shell: bash\n\njobs:\n  releasing-nightly:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        run: python -m pip install --user --upgrade setuptools wheel\n      - name: Build package\n        env:\n          CONVERT_VERSION2NIGHTLY: \"1\"\n        run: python setup.py sdist bdist_wheel\n\n      # We do this, since failures on test.pypi aren't that bad\n      - name: Publish to Test PyPI\n        if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.test_pypi_password }}\n          repository_url: https://test.pypi.org/legacy/\n\n      - name: Publish distribution 📦 to PyPI\n        if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "Lightning-AI/lightning-thunder"}
{"mined_at": "2024-07-15T19:00:08.424371", "created_at": "2024-03-18T16:37:37+01:00", "updated_at": "2024-03-18T16:37:37+01:00", "name": "PyPI Release", "path": ".github/workflows/release-pypi.yml", "contents": "name: PyPI Release\n\n# https://help.github.com/en/actions/reference/events-that-trigger-workflows\non: # Trigger the workflow on push or pull request, but only for the main branch\n  push:\n    branches: [main]\n  release:\n    types: [published]\n\n# based on https://github.com/pypa/gh-action-pypi-publish\n\njobs:\n  releasing-pypi:\n    runs-on: ubuntu-22.04\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.10\"\n\n      - name: Install dependencies\n        run: python -m pip install --user --upgrade setuptools wheel\n      - name: Build\n        run: python setup.py sdist bdist_wheel\n\n      # We do this, since failures on test.pypi aren't that bad\n      - name: Publish to Test PyPI\n        if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.test_pypi_password }}\n          repository_url: https://test.pypi.org/legacy/\n\n      - name: Publish distribution 📦 to PyPI\n        if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'\n        uses: pypa/gh-action-pypi-publish@v1.8.14\n        with:\n          user: __token__\n          password: ${{ secrets.pypi_password }}\n", "state": "active", "repository": "Lightning-AI/lightning-thunder"}
{"mined_at": "2024-07-15T19:00:09.653228", "created_at": "2024-03-18T16:37:37+01:00", "updated_at": "2024-03-18T16:37:37+01:00", "name": "Delete abandoned branches", "path": ".github/workflows/stale-branches.yaml", "contents": "name: Delete abandoned branches\n\non:\n  pull_request:\n    branches: [\"main\"]\n    paths:\n      - \".github/workflows/stale-branches.yaml\"\n  # Run daily at midnight\n  schedule:\n    - cron: \"0 0 * * *\"\n  # Allow workflow to be manually run from the GitHub UI\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  cleanup-old-branches:\n    runs-on: ubuntu-latest\n    name: Satisfy my repo CDO\n    env:\n      DRY_RUN: no\n    steps:\n      - name: Set dry run\n        if: ${{ github.event_name == 'pull_request' }}\n        run: echo \"DRY_RUN=yes\" >> $GITHUB_ENV\n      - name: Delete those pesky dead branches\n        uses: phpdocker-io/github-actions-delete-abandoned-branches@v2\n        id: delete_stuff\n        with:\n          github_token: ${{ github.token }}\n          last_commit_age_days: 90\n          ignore_branches: main\n          # Disable dry run and actually get stuff deleted\n          # For a PR, always perform dry run\n          dry_run: ${{ env.DRY_RUN }}\n\n      - name: Get output\n        run: \"echo 'Deleted branches: ${{ steps.delete_stuff.outputs.deleted_branches }}'\"\n", "state": "active", "repository": "Lightning-AI/lightning-thunder"}
{"mined_at": "2024-07-15T19:00:13.110789", "created_at": "2021-11-29T10:15:10+01:00", "updated_at": "2022-11-28T12:34:04+01:00", "name": "code style checking", "path": ".github/workflows/style-check.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:14.305485", "created_at": "2022-07-28T10:56:42+02:00", "updated_at": "2024-04-02T10:17:58+02:00", "name": "Python Style Check", "path": ".github/workflows/python-style-check.yml", "contents": "name: Python Style Check\n\n# Cancel previous runs in the PR when you push new commits\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\n# Controls when the action will run.\non:\n  push:\n    branches: [ main ]\n    paths:\n      - 'python/**'\n      - '.github/workflows/python-style-check.yml'\n  pull_request:\n    branches: [ main ]\n    paths:\n      - 'python/**'\n      - '.github/workflows/python-style-check.yml'\n  # schedule:\n  #   - cron: '0 16 * * *'\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # This workflow contains a single job called \"build\"\n  style-check:\n    # The type of runner that the job will run on\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [3.7]\n\n    # Steps represent a sequence of tasks that will be executed as part of the job\n    steps:\n      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\n      - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # actions/checkout@v2\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        run: pip install pycodestyle\n             pip install pydocstyle\n             pip install mypy==0.982\n             pip install wheel\n\n      - name: LLM style checking\n        run: bash python/llm/dev/test/lint-python\n\n", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:15.392764", "created_at": "2022-08-25T09:58:37+02:00", "updated_at": "2023-04-23T05:51:06+02:00", "name": "Manually Build", "path": ".github/workflows/manually_build.yml", "contents": "name: Manually Build\n\non:\n  workflow_dispatch:\n    inputs:\n      artifact:\n        description: 'select which job to run(\"all\" will make all jobs run)'\n        required: true\n        default: 'all'\n        type: choice\n        options:\n        - all\n        - ipex-llm-cpu\n        - ipex-llm-xpu\n        - ipex-llm-inference-cpp-xpu\n        - ipex-llm-serving-cpu\n        - ipex-llm-serving-xpu\n        - ipex-llm-finetune-lora-cpu\n        - ipex-llm-finetune-qlora-cpu\n        - ipex-llm-finetune-qlora-cpu-k8s\n        - ipex-llm-finetune-xpu\n      tag:\n        description: 'docker image tag (e.g. 2.1.0-SNAPSHOT)'\n        required: true\n        default: '2.1.0-SNAPSHOT'\n        type: string\n  workflow_call:\n    inputs:\n      artifact:\n        description: 'select which job to run(\"all\" will make all jobs run)'\n        required: true\n        default: 'all'\n        type: string\n      tag:\n        description: 'docker image tag (e.g. 2.1.0-SNAPSHOT)'\n        required: true\n        default: '2.1.0-SNAPSHOT'\n        type: string\n\nenv:\n  TAG: ${{ inputs.tag }}\n\npermissions:\n  contents: read\n\njobs:\n  ipex-llm-finetune-lora-cpu:\n    if: ${{ inputs.artifact == 'ipex-llm-finetune-lora-cpu' || inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n\n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-finetune-lora-cpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-finetune-lora-cpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-finetune-lora-cpu\n        cd docker/llm/finetune/lora/cpu/docker\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker push ${image}:${TAG}\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        # tag 'latest'\n        sudo docker tag ${image}:${TAG} ${image}:latest\n        sudo docker push ${image}:latest\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG} ${image}:latest\n\n  ipex-llm-finetune-qlora-cpu:\n    if: ${{ inputs.artifact == 'ipex-llm-finetune-qlora-cpu' || inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: docker login\n        run: |\n          docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n      - name: ipex-llm-finetune-qlora-cpu\n        run: |\n          echo \"##############################################################\"\n          echo \"####### ipex-llm-finetune-qlora-cpu ########\"\n          echo \"##############################################################\"\n          export image=intelanalytics/ipex-llm-finetune-qlora-cpu\n          cd docker/llm/finetune/qlora/cpu/docker\n          sudo docker build \\\n            --no-cache=true \\\n            --build-arg http_proxy=${HTTP_PROXY} \\\n            --build-arg https_proxy=${HTTPS_PROXY} \\\n            --build-arg no_proxy=${NO_PROXY} \\\n            -t ${image}:${TAG} -f ./Dockerfile .\n          sudo docker push ${image}:${TAG}\n          sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n          sudo docker push 10.239.45.10/arda/${image}:${TAG}\n          # tag 'latest'\n          sudo docker tag ${image}:${TAG} ${image}:latest\n          sudo docker push ${image}:latest\n          sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG} ${image}:latest\n\n  ipex-llm-finetune-qlora-cpu-k8s:\n    if: ${{ inputs.artifact == 'ipex-llm-finetune-qlora-cpu-k8s' || inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: docker login\n        run: |\n          docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n      - name: ipex-llm-finetune-qlora-cpu-k8s\n        run: |\n          echo \"##############################################################\"\n          echo \"####### ipex-llm-finetune-qlora-cpu-k8s ########\"\n          echo \"##############################################################\"\n          export image=intelanalytics/ipex-llm-finetune-qlora-cpu-k8s\n          cd docker/llm/finetune/qlora/cpu/docker\n          sudo docker build \\\n            --no-cache=true \\\n            --build-arg http_proxy=${HTTP_PROXY} \\\n            --build-arg https_proxy=${HTTPS_PROXY} \\\n            --build-arg no_proxy=${NO_PROXY} \\\n            -t ${image}:${TAG} -f ./Dockerfile.k8s .\n          sudo docker push ${image}:${TAG}\n          sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n          sudo docker push 10.239.45.10/arda/${image}:${TAG}\n          # tag 'latest'\n          sudo docker tag ${image}:${TAG} ${image}:latest\n          sudo docker push ${image}:latest\n          sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG} ${image}:latest\n\n  ipex-llm-finetune-xpu:\n    if: ${{ inputs.artifact == 'ipex-llm-finetune-xpu' || inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n    \n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-finetune-xpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-finetune-xpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-finetune-xpu\n        cd docker/llm/finetune/xpu\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker push ${image}:${TAG}\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        # tag 'latest'\n        sudo docker tag ${image}:${TAG} ${image}:latest\n        sudo docker push ${image}:latest\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG} ${image}:latest\n\n  ipex-llm-xpu:\n    if: ${{ inputs.artifact == 'ipex-llm-xpu' || inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n    \n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-xpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-xpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-xpu\n        cd docker/llm/inference/xpu/docker\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker push ${image}:${TAG}\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        # tag 'latest'\n        sudo docker tag ${image}:${TAG} ${image}:latest\n        sudo docker push ${image}:latest\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG} ${image}:latest\n\n  ipex-llm-inference-cpp-xpu:\n    if: ${{ inputs.artifact == 'ipex-llm-inference-cpp-xpu' || inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n    \n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-inference-cpp-xpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-inference-cpp-xpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-inference-cpp-xpu\n        cd docker/llm/inference-cpp/\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker push ${image}:${TAG}\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        # tag 'latest'\n        sudo docker tag ${image}:${TAG} ${image}:latest\n        sudo docker push ${image}:latest\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG} ${image}:latest\n\n  ipex-llm-cpu:\n    if: ${{ inputs.artifact == 'ipex-llm-cpu' || inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n\n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-cpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-cpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-cpu\n        cd docker/llm/inference/cpu/docker\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker push ${image}:${TAG}\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        # tag 'latest'\n        sudo docker tag ${image}:${TAG} ${image}:latest\n        sudo docker push ${image}:latest\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG} ${image}:latest\n\n  ipex-llm-serving-xpu:\n    if: ${{ inputs.artifact == 'ipex-llm-serving-xpu' || inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n    \n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-serving-xpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-serving-xpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-serving-xpu\n        cd docker/llm/serving/xpu/docker\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker push ${image}:${TAG}\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        # tag 'latest'\n        sudo docker tag ${image}:${TAG} ${image}:latest\n        sudo docker push ${image}:latest\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG} ${image}:latest\n\n  ipex-llm-serving-cpu:\n    if: ${{ inputs.artifact == 'ipex-llm-serving-cpu' || inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire, AVX512]\n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-serving-cpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-serving-cpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-serving-cpu\n        cd docker/llm/serving/cpu/docker\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker push ${image}:${TAG}\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        # tag 'latest'\n        sudo docker tag ${image}:${TAG} ${image}:latest\n        sudo docker push ${image}:latest\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG} ${image}:latest\n\n", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:16.517745", "created_at": "2022-10-27T04:40:57+02:00", "updated_at": "2023-09-27T08:53:58+02:00", "name": "Manually Build For Testing", "path": ".github/workflows/manually_build_for_testing.yml", "contents": "name: Manually Build For Testing\n\non:\n  workflow_dispatch:\n    inputs:\n      sha:\n        description: 'commit id (SHA-1 hash)'\n        required: true\n        type: string\n      artifact:\n        description: 'select which job to run(\"all\" will make all jobs run)'\n        required: true\n        default: 'all'\n        type: choice\n        options:\n        - all\n        - ipex-llm-cpu\n        - ipex-llm-xpu\n        - ipex-llm-inference-cpp-xpu\n        - ipex-llm-serving-cpu\n        - ipex-llm-serving-xpu\n        - ipex-llm-finetune-lora-cpu\n        - ipex-llm-finetune-qlora-cpu\n        - ipex-llm-finetune-qlora-cpu-k8s\n        - ipex-llm-finetune-xpu\n      tag:\n        description: 'docker image tag (e.g. test)'\n        required: true\n        default: 'test'\n        type: string\n\nenv:\n  TAG: ${{ github.event.inputs.tag }}\n\npermissions:\n  contents: read\n\njobs:\n  ipex-llm-finetune-lora-cpu:\n    if: ${{ github.event.inputs.artifact == 'ipex-llm-finetune-lora-cpu' || github.event.inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n\n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      with:\n        ref: ${{ github.event.inputs.sha }}\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-finetune-lora-cpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-finetune-lora-cpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-finetune-lora-cpu\n        cd docker/llm/finetune/lora/cpu/docker\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n\n  ipex-llm-finetune-qlora-cpu:\n    if: ${{ github.event.inputs.artifact == 'ipex-llm-finetune-qlora-cpu' || github.event.inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n        with:\n          ref: ${{ github.event.inputs.sha }}\n      - name: docker login\n        run: |\n          docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n      - name: ipex-llm-finetune-qlora-cpu\n        run: |\n          echo \"##############################################################\"\n          echo \"####### ipex-llm-finetune-qlora-cpu ########\"\n          echo \"##############################################################\"\n          export image=intelanalytics/ipex-llm-finetune-qlora-cpu\n          cd docker/llm/finetune/qlora/cpu/docker\n          sudo docker build \\\n            --no-cache=true \\\n            --build-arg http_proxy=${HTTP_PROXY} \\\n            --build-arg https_proxy=${HTTPS_PROXY} \\\n            --build-arg no_proxy=${NO_PROXY} \\\n            -t ${image}:${TAG} -f ./Dockerfile .\n          sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n          sudo docker push 10.239.45.10/arda/${image}:${TAG}\n          sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n\n  ipex-llm-finetune-qlora-cpu-k8s:\n    if: ${{ inputs.artifact == 'ipex-llm-finetune-qlora-cpu-k8s' || inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: docker login\n        run: |\n          docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n      - name: ipex-llm-finetune-qlora-cpu-k8s\n        run: |\n          echo \"##############################################################\"\n          echo \"####### ipex-llm-finetune-qlora-cpu-k8s ########\"\n          echo \"##############################################################\"\n          export image=intelanalytics/ipex-llm-finetune-qlora-cpu-k8s\n          cd docker/llm/finetune/qlora/cpu/docker\n          sudo docker build \\\n            --no-cache=true \\\n            --build-arg http_proxy=${HTTP_PROXY} \\\n            --build-arg https_proxy=${HTTPS_PROXY} \\\n            --build-arg no_proxy=${NO_PROXY} \\\n            -t ${image}:${TAG} -f ./Dockerfile.k8s .\n          sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n          sudo docker push 10.239.45.10/arda/${image}:${TAG}\n          sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n\n  ipex-llm-finetune-xpu:\n    if: ${{ github.event.inputs.artifact == 'ipex-llm-finetune-xpu' || github.event.inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n\n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      with:\n        ref: ${{ github.event.inputs.sha }}\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-finetune-xpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-finetune-xpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-finetune-xpu\n        cd docker/llm/finetune/xpu\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n\n  ipex-llm-xpu:\n    if: ${{ github.event.inputs.artifact == 'ipex-llm-xpu' || github.event.inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n    \n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      with:\n        ref: ${{ github.event.inputs.sha }}\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-xpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-xpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-xpu\n        cd docker/llm/inference/xpu/docker\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n\n  ipex-llm-inference-cpp-xpu:\n    if: ${{ github.event.inputs.artifact == 'ipex-llm-inference-cpp-xpu' || github.event.inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n    \n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      with:\n        ref: ${{ github.event.inputs.sha }}\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-inference-cpp-xpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-inference-cpp-xpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-inference-cpp-xpu\n        cd docker/llm/inference-cpp/\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n\n  ipex-llm-cpu:\n    if: ${{ github.event.inputs.artifact == 'ipex-llm-cpu' || github.event.inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n\n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      with:\n        ref: ${{ github.event.inputs.sha }}\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-cpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-cpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-cpu\n        cd docker/llm/inference/cpu/docker\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n\n  ipex-llm-serving-xpu:\n    if: ${{ github.event.inputs.artifact == 'ipex-llm-serving-xpu' || github.event.inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire]\n    \n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      with:\n        ref: ${{ github.event.inputs.sha }}\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-serving-xpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-serving-xpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-serving-xpu\n        cd docker/llm/serving/xpu/docker\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n\n  ipex-llm-serving-cpu:\n    if: ${{ github.event.inputs.artifact == 'ipex-llm-serving-cpu' || github.event.inputs.artifact == 'all' }}\n    runs-on: [self-hosted, Shire, AVX512]\n\n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      with:\n        ref: ${{ github.event.inputs.sha }}\n    - name: docker login\n      run: |\n        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}\n    - name: ipex-llm-serving-cpu\n      run: |\n        echo \"##############################################################\"\n        echo \"####### ipex-llm-serving-cpu ########\"\n        echo \"##############################################################\"\n        export image=intelanalytics/ipex-llm-serving-cpu\n        cd docker/llm/serving/cpu/docker\n        sudo docker build \\\n          --no-cache=true \\\n          --build-arg http_proxy=${HTTP_PROXY} \\\n          --build-arg https_proxy=${HTTPS_PROXY} \\\n          --build-arg no_proxy=${NO_PROXY} \\\n          -t ${image}:${TAG} -f ./Dockerfile .\n        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n        sudo docker push 10.239.45.10/arda/${image}:${TAG}\n        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}\n\n", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:17.745446", "created_at": "2023-05-30T07:09:33+02:00", "updated_at": "2023-07-10T06:18:36+02:00", "name": "LLM Unit Tests Basic", "path": ".github/workflows/llm_unit_tests_basic.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:18.973194", "created_at": "2023-06-16T06:39:28+02:00", "updated_at": "2024-04-27T00:07:14+02:00", "name": "LLM Nightly Tests", "path": ".github/workflows/llm-nightly-test.yml", "contents": "name: LLM Nightly Tests\n\n# Cancel previous runs in the PR when you push new commits\nconcurrency:\n  group: ${{ github.workflow }}-llm-nightly-test-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\n# Controls when the action will run.\non:\n  schedule:\n    - cron: \"00 13 * * *\" # GMT time, 13:00 GMT == 21:00 China\n  pull_request:\n    branches: [main]\n    paths:\n      - \".github/workflows/llm-nightly-test.yml\"\n      - \".github/actions/llm/setup-llm-env/action.yml\"\n      - \".github/actions/llm/remove-llm-env/action.yml\"\n      - \".github/actions/llm/convert-test/action.yml\"\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  llm-cpp-build:\n    uses: ./.github/workflows/llm-binary-build.yml\n  llm-nightly-convert-test:\n    needs: llm-cpp-build\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: windows\n            instruction: AVX-VNNI-UT\n            python-version: \"3.11\"\n          - os: ubuntu-20.04-lts\n            instruction: avx512\n            python-version: \"3.11\"\n    runs-on: [self-hosted, llm, \"${{matrix.instruction}}\", \"${{matrix.os}}\"]\n    env:\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n    steps:\n      - name: Set model directories\n        shell: bash\n        run: |\n          echo \"ORIGIN_DIR=$(pwd)/../llm/origin-models\" >> \"$GITHUB_ENV\"\n          echo \"INT4_CKPT_DIR=$(pwd)/../llm/nightly-converted-models\" >> \"$GITHUB_ENV\"\n      - name: Create model directories\n        shell: bash\n        run: |\n          if [ ! -d $ORIGIN_DIR ]; then\n            mkdir -p $ORIGIN_DIR\n          fi\n          if [ ! -d $INT4_CKPT_DIR ]; then\n            mkdir -p $INT4_CKPT_DIR\n          fi\n      - name: Set environment variables\n        shell: bash\n        run: |\n          echo \"LLAMA_ORIGIN_PATH=${ORIGIN_DIR}/llama-7b-hf\" >> \"$GITHUB_ENV\"\n          echo \"GPTNEOX_ORIGIN_PATH=${ORIGIN_DIR}/gptneox-7b-redpajama-bf16\" >> \"$GITHUB_ENV\"\n          echo \"BLOOM_ORIGIN_PATH=${ORIGIN_DIR}/bloomz-7b1\" >> \"$GITHUB_ENV\"\n          echo \"STARCODER_ORIGIN_PATH=${ORIGIN_DIR}/gpt_bigcode-santacoder\" >> \"$GITHUB_ENV\"\n\n          echo \"LLAMA_INT4_CKPT_PATH=${INT4_CKPT_DIR}/bigdl_llm_llama_q4_0.bin\" >> \"$GITHUB_ENV\"\n          echo \"GPTNEOX_INT4_CKPT_PATH=${INT4_CKPT_DIR}/bigdl_llm_gptneox_q4_0.bin\" >> \"$GITHUB_ENV\"\n          echo \"BLOOM_INT4_CKPT_PATH=${INT4_CKPT_DIR}/bigdl_llm_bloom_q4_0.bin\" >> \"$GITHUB_ENV\"\n          echo \"STARCODER_INT4_CKPT_PATH=${INT4_CKPT_DIR}/bigdl_llm_starcoder_q4_0.bin\" >> \"$GITHUB_ENV\"\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools==58.0.4\n          python -m pip install --upgrade wheel\n\n      - name: Download llm binary\n        uses: ./.github/actions/llm/download-llm-binary\n\n      - name: Install IPEX-LLM\n        uses: ./.github/actions/llm/setup-llm-env\n\n      - name: Download original models & convert\n        uses: ./.github/actions/llm/convert-test\n\n      - name: Upload ckpt to ftp\n        shell: bash\n        if: runner.os == 'Linux' && github.event_name == 'schedule'\n        run: |\n          curl -T $LLAMA_INT4_CKPT_PATH ${LLM_FTP_URL}/llm/ggml-actions/nightly/bigdl_llm_llama_7b_q4_0.bin\n          curl -T $GPTNEOX_INT4_CKPT_PATH ${LLM_FTP_URL}/llm/ggml-actions/nightly/bigdl_llm_redpajama_7b_q4_0.bin\n          curl -T $BLOOM_INT4_CKPT_PATH ${LLM_FTP_URL}/llm/ggml-actions/nightly/bigdl_llm_bloom_7b_q4_0.bin\n          curl -T $STARCODER_INT4_CKPT_PATH ${LLM_FTP_URL}/llm/ggml-actions/nightly/bigdl_llm_santacoder_1b_q4_0.bin\n      - name: Delete ckpt\n        shell: bash\n        run: |\n          rm -rf $LLAMA_INT4_CKPT_PATH\n          rm -rf $GPTNEOX_INT4_CKPT_PATH\n          rm -rf $BLOOM_INT4_CKPT_PATH\n          rm -rf $STARCODER_INT4_CKPT_PATH\n\n  llm-unit-tests:\n    needs: llm-cpp-build\n    uses: ./.github/workflows/llm_unit_tests.yml\n  llm-example-test:\n    needs: llm-cpp-build\n    uses: ./.github/workflows/llm_example_tests.yml\n", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:20.039628", "created_at": "2023-06-20T10:32:59+02:00", "updated_at": "2023-06-20T10:32:59+02:00", "name": "LLM Unit Tests on Linux", "path": ".github/workflows/llm_unit_tests_linux_avx2.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:21.045648", "created_at": "2023-06-30T04:06:48+02:00", "updated_at": "2023-06-30T04:06:48+02:00", "name": ".github/workflows/scala-sign.yml", "path": ".github/workflows/scala-sign.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:22.165094", "created_at": "2023-07-03T12:34:58+02:00", "updated_at": "2023-07-03T12:36:54+02:00", "name": "LLM Unit Tests on Linux (AVX512)", "path": ".github/workflows/llm_unit_tests_linux_avx512.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:23.191446", "created_at": "2023-07-12T10:07:29+02:00", "updated_at": "2023-07-13T05:12:20+02:00", "name": "LLM Binary Build", "path": ".github/workflows/llm-pypi-release.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:24.316287", "created_at": "2023-07-13T09:34:33+02:00", "updated_at": "2023-07-13T09:34:33+02:00", "name": "LLM Binary Build", "path": ".github/workflows/llm-binary-build.yml", "contents": "name: LLM Binary Build\n\n# Cancel previous runs in the PR when you push new commits\n# concurrency:\n#   group: ${{ github.workflow }}-llm-binary-build-${{ github.event.pull_request.number || github.run_id }}\n#   cancel-in-progress: false\n\npermissions:\n  contents: read\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push or pull request events but only for the main branch\n  push:\n    branches: [main]\n    paths:\n      - \".github/workflows/llm-binary-build.yml\"\n  pull_request:\n    branches: [main]\n    paths:\n      - \".github/workflows/llm-binary-build.yml\"\n  workflow_dispatch:\n    inputs:\n      llmcpp-ref:\n        description: 'Ref of llm.cpp code'\n        default: ''\n        required: false\n        type: string\n      platform:\n        description: 'Platforms to built on'\n        default: '[\"Windows\", \"Linux\"]'\n        required: false\n        type: string\n  workflow_call:\n    inputs:\n      llmcpp-ref:\n        description: 'Ref of llm.cpp code'\n        default: ''\n        required: false\n        type: string\n      platform:\n        description: 'Platforms to built on'\n        default: 'Windows,Linux'\n        required: false\n        type: string\n    \n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  check-linux-avxvnni-artifact:\n    if: ${{contains(inputs.platform, 'Linux')}}\n    runs-on: ubuntu-latest\n    outputs:\n      if-exists: ${{steps.check_artifact.outputs.exists}}\n    steps:\n      - name: Check if built\n        id: check_artifact\n        uses: xSAVIKx/artifact-exists-action@v0\n        with:\n          name: linux-avxvnni\n\n  linux-build-avxvnni:\n    runs-on: [self-hosted, AVX2, almalinux8]\n    needs: check-linux-avxvnni-artifact\n    if: needs.check-linux-avxvnni-artifact.outputs.if-exists == 'false'\n    steps:\n      - name: Set access token\n        run: |\n          echo \"github_access_token=${GITHUB_ACCESS_TOKEN}\" >> \"$GITHUB_ENV\"\n      - name: Install Build Environment\n        shell: bash\n        run: |\n          export http_proxy=${HTTP_PROXY}\n          export https_proxy=${HTTPS_PROXY}\n          yum install -y gcc-toolset-11 cmake git\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n        with:\n          repository: \"intel-analytics/llm.cpp\"\n          ref: ${{ inputs.llmcpp-ref }}\n          token: ${{ env.github_access_token }}\n          submodules: \"recursive\"\n      - name: Build binary\n        shell: bash\n        run: |\n          scl enable gcc-toolset-11 \"cmake -B build\"\n          scl enable gcc-toolset-11 \"cmake --build build --config Release -j\"\n      - name: Move release binary\n        shell: bash\n        run: |\n          mkdir release\n          mv build/main-bloom release/main-bloom\n          mv build/libbloom-api.so release/libbloom-api.so\n          mv build/quantize-bloom release/quantize-bloom\n          mv build/libbloom.so release/libbloom_avxvnni.so\n          mv build/main-llama release/main-llama\n          mv build/libllama-api.so release/libllama-api.so\n          mv build/quantize-llama release/quantize-llama\n          mv build/libllama.so release/libllama_avxvnni.so\n          mv build/main-gptneox release/main-gptneox\n          mv build/libgptneox-api.so release/libgptneox-api.so\n          mv build/quantize-gptneox release/quantize-gptneox\n          mv build/libgptneox.so release/libgptneox_avxvnni.so\n          mv build/main-starcoder release/main-starcoder\n          mv build/libstarcoder-api.so release/libstarcoder-api.so\n          mv build/quantize-starcoder release/quantize-starcoder\n          mv build/libstarcoder.so release/libstarcoder_avxvnni.so\n      - name: Archive build files\n        uses: actions/upload-artifact@v3\n        with:\n          name: linux-avxvnni\n          path: |\n            release\n      - name: Clean up test environment\n        shell: bash\n        run: |\n          make clean\n\n  check-linux-avx512-artifact:\n    if: ${{contains(inputs.platform, 'Linux')}}\n    runs-on: ubuntu-latest\n    outputs:\n      if-exists: ${{steps.check_artifact.outputs.exists}}\n    steps:\n      - name: Check if built\n        id: check_artifact\n        uses: xSAVIKx/artifact-exists-action@v0\n        with:\n          name: linux-avx512\n\n  linux-build-avx512:\n    runs-on: [self-hosted, AVX512, almalinux8]\n    needs: check-linux-avx512-artifact\n    if: needs.check-linux-avx512-artifact.outputs.if-exists == 'false'\n    steps:\n      - name: Set access token\n        run: |\n          echo \"github_access_token=${GITHUB_ACCESS_TOKEN}\" >> \"$GITHUB_ENV\"\n      - name: Install Build Environment\n        shell: bash\n        run: |\n          export http_proxy=${HTTP_PROXY}\n          export https_proxy=${HTTPS_PROXY}\n          yum install -y gcc-toolset-11 cmake git\n          conda remove -n python39 --all -y\n          conda create -n python39 python=3.9 -y\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n        with:\n          repository: \"intel-analytics/llm.cpp\"\n          ref: ${{ inputs.llmcpp-ref }}\n          token: ${{ env.github_access_token }}\n          submodules: \"recursive\"\n      - name: Build avx512 binary\n        shell: bash\n        run: |\n          scl enable gcc-toolset-11 \"cmake -DONLYAVX=OFF -DONLYAVX2=OFF -B build\"\n          scl enable gcc-toolset-11 \"cmake --build build --config Release -j\"\n      - name: Move avx512 release binary\n        shell: bash\n        run: |\n          mkdir avx512_release\n          mv build/quantize-bloom avx512_release/quantize-bloom_avx512\n          mv build/libbloom.so avx512_release/libbloom_avx512.so\n          mv build/quantize-llama avx512_release/quantize-llama_avx512\n          mv build/libllama.so avx512_release/libllama_avx512.so\n          mv build/quantize-gptneox avx512_release/quantize-gptneox_avx512\n          mv build/libgptneox.so avx512_release/libgptneox_avx512.so\n          mv build/quantize-starcoder avx512_release/quantize-starcoder_avx512\n          mv build/libstarcoder.so avx512_release/libstarcoder_avx512.so\n      - name: Build avx2 binary\n        shell: bash\n        run: |\n          scl enable gcc-toolset-11 \"cmake -DONLYAVX=OFF -DONLYAVX2=ON -B build\"\n          scl enable gcc-toolset-11 \"cmake --build build --config Release -j\"\n      - name: Move avx2 release binary\n        shell: bash\n        run: |\n          mkdir avx2_release\n          mv build/libbloom.so avx2_release/libbloom_avx2.so\n          mv build/libllama.so avx2_release/libllama_avx2.so\n          mv build/libgptneox.so avx2_release/libgptneox_avx2.so\n          mv build/libstarcoder.so avx2_release/libstarcoder_avx2.so\n      - name: Build avx binary\n        shell: bash\n        run: |\n          scl enable gcc-toolset-11 \"cmake -DONLYAVX=ON -DONLYAVX2=OFF -B build\"\n          scl enable gcc-toolset-11 \"cmake --build build --config Release -j\"\n      - name: Move avx release binary\n        shell: bash\n        run: |\n          mkdir avx_release\n          mv build/libbloom.so avx_release/libbloom_avx.so\n          mv build/libllama.so avx_release/libllama_avx.so\n          mv build/libgptneox.so avx_release/libgptneox_avx.so\n          mv build/libstarcoder.so avx_release/libstarcoder_avx.so\n      - name: Archive avx512 build files\n        uses: actions/upload-artifact@v3\n        with:\n          name: linux-avx512\n          path: |\n            avx512_release\n      - name: Archive avx2 build files\n        uses: actions/upload-artifact@v3\n        with:\n          name: linux-avx2\n          path: |\n            avx2_release\n      - name: Archive avx build files\n        uses: actions/upload-artifact@v3\n        with:\n          name: linux-avx\n          path: |\n            avx_release\n      - name: Clean up test environment\n        if: ${{ always() }}\n        shell: bash\n        run: |\n          make clean\n          conda remove -n python39 --all -y\n\n  check-linux-amx-artifact:\n    if: ${{contains(inputs.platform, 'Linux')}}\n    runs-on: ubuntu-latest\n    outputs:\n      if-exists: ${{steps.check_artifact.outputs.exists}}\n    steps:\n      - name: Check if built\n        id: check_artifact\n        uses: xSAVIKx/artifact-exists-action@v0\n        with:\n          name: linux-amx\n\n  linux-build-amx:\n    runs-on: [self-hosted, amx, almalinux8]\n    needs: check-linux-amx-artifact\n    if: needs.check-linux-amx-artifact.outputs.if-exists == 'false'\n    steps:\n      - name: Set access token\n        run: |\n          echo \"github_access_token=${GITHUB_ACCESS_TOKEN}\" >> \"$GITHUB_ENV\"\n      - name: Install Build Environment\n        shell: bash\n        run: |\n          export http_proxy=${HTTP_PROXY}\n          export https_proxy=${HTTPS_PROXY}\n          yum install -y gcc-toolset-11 cmake git\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n        with:\n          repository: \"intel-analytics/llm.cpp\"\n          ref: ${{ inputs.llmcpp-ref }}\n          token: ${{ env.github_access_token }}\n          submodules: \"recursive\"\n      - name: Build amx binary\n        shell: bash\n        run: |\n          scl enable gcc-toolset-11 \"cmake -DONLYAVX=OFF -DONLYAVX2=OFF -B build\"\n          scl enable gcc-toolset-11 \"cmake --build build --config Release -j\"\n      - name: Move amx release binary\n        shell: bash\n        run: |\n          mkdir amx_release\n          mv build/quantize-bloom amx_release/quantize-bloom_amx\n          mv build/libbloom.so amx_release/libbloom_amx.so\n          mv build/quantize-llama amx_release/quantize-llama_amx\n          mv build/libllama.so amx_release/libllama_amx.so\n          mv build/quantize-gptneox amx_release/quantize-gptneox_amx\n          mv build/libgptneox.so amx_release/libgptneox_amx.so\n          mv build/quantize-starcoder amx_release/quantize-starcoder_amx\n          mv build/libstarcoder.so amx_release/libstarcoder_amx.so\n      - name: Archive amx build files\n        uses: actions/upload-artifact@v3\n        with:\n          name: linux-amx\n          path: |\n            amx_release\n      - name: Clean up test environment\n        shell: bash\n        run: |\n          make clean\n          \n  check-windows-avx2-artifact:\n    if: ${{contains(inputs.platform, 'Windows')}}\n    runs-on: ubuntu-latest\n    outputs:\n      if-exists: ${{steps.check_artifact.outputs.exists}}\n    steps:\n      - name: Check if built\n        id: check_artifact\n        uses: xSAVIKx/artifact-exists-action@v0\n        with:\n          name: windows-avx2\n\n  windows-build-avx2:\n    runs-on: [self-hosted, Windows, AVX-VNNI-Build]\n    needs: check-windows-avx2-artifact\n    if: needs.check-windows-avx2-artifact.outputs.if-exists == 'false'\n    steps:\n      - name: Set access token\n        run: |\n          echo \"github_access_token=$env:GITHUB_ACCESS_TOKEN\" >> $env:GITHUB_ENV\n          echo \"github_access_token=$env:GITHUB_ACCESS_TOKEN\"\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n        with:\n          repository: \"intel-analytics/llm.cpp\"\n          ref: ${{ inputs.llmcpp-ref }}\n          token: ${{ env.github_access_token }}\n          submodules: \"recursive\"\n      - name: Add msbuild to PATH\n        uses: microsoft/setup-msbuild@v1.1\n        with:\n          msbuild-architecture: x64\n      - name: Add cmake to PATH\n        uses: ilammy/msvc-dev-cmd@v1\n      - name: Build binary\n        shell: powershell\n        run: |\n          cmake .\n          cmake --build . --config Release -j\n      - name: Archive build files\n        uses: actions/upload-artifact@v3\n        with:\n          name: windows-avx2\n          path: |\n            build/Release\n\n  check-windows-avx-vnni-artifact:\n    if: ${{contains(inputs.platform, 'Windows')}}\n    runs-on: ubuntu-latest\n    outputs:\n      if-exists: ${{steps.check_artifact.outputs.exists}}\n    steps:\n      - name: Check if built\n        id: check_artifact\n        uses: xSAVIKx/artifact-exists-action@v0\n        with:\n          name: windows-avx-vnni\n\n  windows-build-avx-vnni:\n    runs-on: [self-hosted, Windows, AVX-VNNI-Build]\n    needs: check-windows-avx-vnni-artifact\n    if: needs.check-windows-avx-vnni-artifact.outputs.if-exists == 'false'\n    steps:\n      - name: Set access token\n        run: |\n          echo \"github_access_token=$env:GITHUB_ACCESS_TOKEN\" >> $env:GITHUB_ENV\n          echo \"github_access_token=$env:GITHUB_ACCESS_TOKEN\"\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n        with:\n          repository: \"intel-analytics/llm.cpp\"\n          ref: ${{ inputs.llmcpp-ref }}\n          token: ${{ env.github_access_token }}\n          submodules: \"recursive\"\n      - name: Add msbuild to PATH\n        uses: microsoft/setup-msbuild@v1.1\n        with:\n          msbuild-architecture: x64\n      - name: Add cmake to PATH\n        uses: ilammy/msvc-dev-cmd@v1\n      - name: Build binary\n        shell: powershell\n        run: |\n          cmake -DAVXVNNI=ON .\n          cmake --build . --config Release -j\n      - name: Move release binary\n        shell: powershell\n        run: |\n          if (Test-Path ./release) { rm -r -fo release }\n          mkdir release\n          # mv build/Release/main-bloom.exe release/main-bloom_vnni.exe\n          mv build/Release/quantize-bloom.exe release/quantize-bloom_vnni.exe\n          mv build/Release/bloom.dll release/libbloom_vnni.dll\n\n          # mv build/Release/main-llama.exe release/main-llama_vnni.exe\n          mv build/Release/quantize-llama.exe release/quantize-llama_vnni.exe\n          mv build/Release/llama.dll release/libllama_vnni.dll\n\n          # mv build/Release/main-gptneox.exe release/main-gptneox_vnni.exe\n          mv build/Release/quantize-gptneox.exe release/quantize-gptneox_vnni.exe\n          mv build/Release/gptneox.dll release/libgptneox_vnni.dll\n\n          # mv build/Release/main-starcoder.exe release/main-starcoder_vnni.exe\n          mv build/Release/quantize-starcoder.exe release/quantize-starcoder_vnni.exe\n          mv build/Release/starcoder.dll release/libstarcoder_vnni.dll\n      - name: Archive build files\n        uses: actions/upload-artifact@v3\n        with:\n          name: windows-avx-vnni\n          path: |\n            release\n\n  check-windows-avx-artifact:\n    if: ${{contains(inputs.platform, 'Windows')}}\n    runs-on: ubuntu-latest\n    outputs:\n      if-exists: ${{steps.check_artifact.outputs.exists}}\n    steps:\n      - name: Check if built\n        id: check_artifact\n        uses: xSAVIKx/artifact-exists-action@v0\n        with:\n          name: windows-avx\n\n  windows-build-avx:\n    runs-on: [self-hosted, Windows, AVX-VNNI-Build]\n    needs: check-windows-avx-artifact\n    if: needs.check-windows-avx-artifact.outputs.if-exists == 'false'\n    steps:\n      - name: Set access token\n        run: |\n          echo \"github_access_token=$env:GITHUB_ACCESS_TOKEN\" >> $env:GITHUB_ENV\n          echo \"github_access_token=$env:GITHUB_ACCESS_TOKEN\"\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n        with:\n          repository: \"intel-analytics/llm.cpp\"\n          ref: ${{ inputs.llmcpp-ref }}\n          token: ${{ env.github_access_token }}\n          submodules: \"recursive\"\n      - name: Add msbuild to PATH\n        uses: microsoft/setup-msbuild@v1.1\n        with:\n          msbuild-architecture: x64\n      - name: Add cmake to PATH\n        uses: ilammy/msvc-dev-cmd@v1\n      - name: Build binary\n        shell: powershell\n        run: |\n          cmake -DONLYAVX=ON .\n          cmake --build . --config Release -j\n      - name: Move release binary\n        shell: powershell\n        run: |\n          if (Test-Path ./release) { rm -r -fo release }\n          mkdir release\n          mv build/Release/bloom.dll release/libbloom_avx.dll\n\n          mv build/Release/llama.dll release/libllama_avx.dll\n\n          mv build/Release/gptneox.dll release/libgptneox_avx.dll\n\n          mv build/Release/starcoder.dll release/libstarcoder_avx.dll\n      - name: Archive build files\n        uses: actions/upload-artifact@v3\n        with:\n          name: windows-avx\n          path: |\n            release\n", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:25.524346", "created_at": "2023-08-02T10:10:59+02:00", "updated_at": "2023-08-10T04:03:19+02:00", "name": "LLM Example Test", "path": ".github/workflows/llm_example_tests.yml", "contents": "name: LLM Example Test\n\n# Cancel previous runs in the PR when you push new commits\nconcurrency:\n  group: ${{ github.workflow }}-llm-example-tests-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\n# Controls when the action will run. \non:\n  # schedule:\n  #   - cron: '00 13 * * *' # GMT time, 13:00 GMT == 21:00 China\n  pull_request:\n    branches: [ main ]\n    paths:\n      - '.github/workflows/llm_example_tests.yml'\n      - '.github/workflows/llm-binary-build.yml'\n      - '.github/actions/llm/example-test/action.yml'\n      - '.github/actions/llm/setup-llm-env/action.yml'\n      - '.github/actions/llm/remove-llm-env/action.yml'\n      - '.github/actions/llm/download-llm-binary/action.yml'\n      - 'python/llm/dev/test/run-example-tests.sh'\n      - 'python/llm/example/**'\n  workflow_dispatch:\n  workflow_call:\n\nenv:\n  INT4_CKPT_DIR: ./llm/ggml-actions/stable\n  LLM_DIR: ./llm\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  llm-cpp-build:\n    uses: ./.github/workflows/llm-binary-build.yml\n  llm-example-test:\n    needs: llm-cpp-build\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n        instruction: [\"AVX512\"]\n    runs-on: [ self-hosted, llm,\"${{matrix.instruction}}\", ubuntu-20.04-lts ]\n    env:\n      THREAD_NUM: 24\n    steps:\n      - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # actions/checkout@v2\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v2\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools==58.0.4\n          python -m pip install --upgrade wheel\n\n      - name: Download llm binary\n        uses: ./.github/actions/llm/download-llm-binary\n\n      - name: Run LLM install (all) test\n        uses: ./.github/actions/llm/setup-llm-env\n        env:\n          ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n\n      - name: Run LLM example test\n        uses: ./.github/actions/llm/example-test\n        env:\n          ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n\n      # - name: Clean up test environment\n      #   uses: ./.github/actions/llm/remove-llm-env\n      #   env:\n      #     ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:26.619628", "created_at": "2023-08-02T19:17:18+02:00", "updated_at": "2023-08-02T19:17:18+02:00", "name": "Python UT code coverage", "path": ".github/workflows/python-code-coverage.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:27.694933", "created_at": "2023-08-04T05:23:32+02:00", "updated_at": "2023-08-04T05:23:32+02:00", "name": "Scanner-bandit", "path": ".github/workflows/sdl_bandit.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:28.761489", "created_at": "2023-08-23T03:16:57+02:00", "updated_at": "2024-04-27T00:07:14+02:00", "name": "LLM Unit Tests", "path": ".github/workflows/llm_unit_tests.yml", "contents": "name: LLM Unit Tests\n\n# Cancel previous runs in the PR when you push new commits\nconcurrency:\n  group: ${{ github.workflow }}-llm-unittest-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\n# Controls when the action will run.\non:\n  # Triggers the workflow on push or pull request events but only for the main branch\n  push:\n    branches: [main]\n    paths:\n      - \"python/llm/**\"\n      - \".github/workflows/llm_unit_tests.yml\"\n      - \".github/workflows/llm-binary-build.yml\"\n      - \".github/actions/llm/setup-llm-env/action.yml\"\n      - \".github/actions/llm/remove-llm-env/action.yml\"\n      - \".github/actions/llm/cli-test-linux/action.yml\"\n      - \".github/actions/llm/cli-test-windows/action.yml\"\n      - \".github/actions/llm/download-llm-binary/action.yml\"\n  pull_request:\n    branches: [main]\n    paths:\n      - \"python/llm/**\"\n      - \".github/workflows/llm_unit_tests.yml\"\n      - \".github/workflows/llm-binary-build.yml\"\n      - \".github/actions/llm/setup-llm-env/action.yml\"\n      - \".github/actions/llm/remove-llm-env/action.yml\"\n      - \".github/actions/llm/cli-test-linux/action.yml\"\n      - \".github/actions/llm/cli-test-windows/action.yml\"\n      - \".github/actions/llm/download-llm-binary/action.yml\"\n  workflow_dispatch:\n  workflow_call:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  llm-cpp-build:\n    uses: ./.github/workflows/llm-binary-build.yml\n  setup-python-version:\n    runs-on: ubuntu-latest\n    outputs:\n      python-version: ${{ steps.setup-python-version.outputs.python-version }}\n    steps:\n      - name: setup-python-version\n        id: setup-python-version\n        run: |\n          if [ ${{ github.event_name }} == 'schedule' ]; then\n            python_version='[\"3.9\", \"3.10\", \"3.11\"]'\n          else\n            python_version='[\"3.11\"]'\n          fi\n          list=$(echo ${python_version} | jq -c)\n          echo \"python-version=${list}\" >> \"$GITHUB_OUTPUT\"\n  llm-unit-test:\n    needs: [setup-python-version, llm-cpp-build]\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [windows, ubuntu-20.04-lts]\n        python-version: ${{ fromJson(needs.setup-python-version.outputs.python-version) }}\n        include:\n          - os: windows\n            instruction: AVX-VNNI-UT\n          - os: ubuntu-20.04-lts\n            instruction: avx512\n    runs-on: [self-hosted, llm, \"${{matrix.instruction}}\", \"${{matrix.os}}\"]\n    env:\n      THREAD_NUM: 24\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n    steps:\n      - name: Set model directories\n        shell: bash\n        run: |\n          echo \"DATASET_DIR=${{ github.workspace }}/../llm/datasets\" >> \"$GITHUB_ENV\"\n          echo \"ORIGIN_DIR=${{ github.workspace }}/../llm/origin-models\" >> \"$GITHUB_ENV\"\n          echo \"INT4_CKPT_DIR=${{ github.workspace }}/../llm/converted-models\" >> \"$GITHUB_ENV\"\n      - name: Create model directories\n        shell: bash\n        run: |\n          if [ ! -d $DATASET_DIR ]; then\n            mkdir -p $DATASET_DIR\n          fi\n          if [ ! -d $ORIGIN_DIR ]; then\n            mkdir -p $ORIGIN_DIR\n          fi\n          if [ ! -d $INT4_CKPT_DIR ]; then\n            mkdir -p $INT4_CKPT_DIR\n          fi\n      - name: Set environment variables\n        shell: bash\n        run: |\n          echo \"SPEECH_DATASET_PATH=${DATASET_DIR}/librispeech_asr_dummy\" >> \"$GITHUB_ENV\"\n          echo \"COMMON_VOICE_PATH=${DATASET_DIR}/common_voice\" >> \"$GITHUB_ENV\"\n\n          echo \"LLAMA_ORIGIN_PATH=${ORIGIN_DIR}/llama-7b-hf\" >> \"$GITHUB_ENV\"\n          echo \"BLOOM_ORIGIN_PATH=${ORIGIN_DIR}/bloom-7b1\" >> \"$GITHUB_ENV\"\n          echo \"ORIGINAL_CHATGLM2_6B_PATH=${ORIGIN_DIR}/chatglm2-6b\" >> \"$GITHUB_ENV\"\n          echo \"ORIGINAL_CODESHELL_7B_PATH=${ORIGIN_DIR}/CodeShell-7B-Chat\" >> \"$GITHUB_ENV\"\n          echo \"ORIGINAL_WHISPER_TINY_PATH=${ORIGIN_DIR}/whisper-tiny\" >> \"$GITHUB_ENV\"\n          echo \"MISTRAL_ORIGIN_PATH=${ORIGIN_DIR}/Mistral-7B-v0.1\" >> \"$GITHUB_ENV\"\n          echo \"LLAMA2_7B_ORIGIN_PATH=${ORIGIN_DIR}/Llama-2-7b-chat-hf\" >> \"$GITHUB_ENV\"\n          echo \"VICUNA_7B_1_3_ORIGIN_PATH=${ORIGIN_DIR}/vicuna-7b-v1.3\" >> \"$GITHUB_ENV\"\n\n          echo \"LLAMA_INT4_CKPT_PATH=${INT4_CKPT_DIR}/bigdl_llm_llama_7b_q4_0.bin\" >> \"$GITHUB_ENV\"\n          echo \"GPTNEOX_INT4_CKPT_PATH=${INT4_CKPT_DIR}/bigdl_llm_redpajama_7b_q4_0.bin\" >> \"$GITHUB_ENV\"\n          echo \"BLOOM_INT4_CKPT_PATH=${INT4_CKPT_DIR}/bigdl_llm_bloom_7b_q4_0.bin\" >> \"$GITHUB_ENV\"\n          echo \"STARCODER_INT4_CKPT_PATH=${INT4_CKPT_DIR}/bigdl_llm_santacoder_1b_q4_0.bin\" >> \"$GITHUB_ENV\"\n          echo \"CHATGLM_INT4_CKPT_PATH=${INT4_CKPT_DIR}/chatglm2-6b-q4_0.bin\" >> \"$GITHUB_ENV\"\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools==58.0.4\n          python -m pip install --upgrade wheel\n\n          # May remove later\n          pip uninstall sentence-transformers -y || true\n\n      - name: Download llm binary\n        uses: ./.github/actions/llm/download-llm-binary\n\n      - name: Run LLM install (all) test\n        uses: ./.github/actions/llm/setup-llm-env\n\n      - name: Download ckpt & original models\n        shell: bash\n        run: |\n          if [ ! -e $LLAMA_INT4_CKPT_PATH ]; then\n            echo \"Directory $LLAMA_INT4_CKPT_PATH not found. Downloading from FTP server...\"\n            echo \"wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_llama_7b_q4_0.bin -P $INT4_CKPT_DIR\"\n            wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_llama_7b_q4_0.bin -P $INT4_CKPT_DIR\n          fi\n          if [ ! -e $GPTNEOX_INT4_CKPT_PATH ]; then\n            echo \"Directory $GPTNEOX_INT4_CKPT_PATH not found. Downloading from FTP server...\"\n            wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_redpajama_7b_q4_0.bin -P $INT4_CKPT_DIR\n          fi\n          if [ ! -e $BLOOM_INT4_CKPT_PATH ]; then\n            echo \"Directory $BLOOM_INT4_CKPT_PATH not found. Downloading from FTP server...\"\n            wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_bloom_7b_q4_0.bin -P $INT4_CKPT_DIR\n          fi\n          if [ ! -e $STARCODER_INT4_CKPT_PATH ]; then\n            echo \"Directory $STARCODER_INT4_CKPT_PATH not found. Downloading from FTP server...\"\n            wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/bigdl_llm_santacoder_1b_q4_0.bin -P $INT4_CKPT_DIR\n          fi\n          # if [ ! -e $CHATGLM_INT4_CKPT_PATH ]; then\n          #   echo \"Directory $CHATGLM_INT4_CKPT_PATH not found. Downloading from FTP server...\"\n          #   wget --no-verbose $LLM_FTP_URL/llm/ggml-actions/stable/chatglm2-6b-q4_0.bin -P $INT4_CKPT_DIR\n          # fi\n          if [ ! -d $ORIGINAL_CHATGLM2_6B_PATH ]; then\n            echo \"Directory $ORIGINAL_CHATGLM2_6B_PATH not found. Downloading from FTP server...\"\n            echo \"wget -r -nH --no-verbose --cut-dirs=2 $LLM_FTP_URL/llm/updated_for_4.36/chatglm2-6b -P $ORIGIN_DIR\"\n            wget -r -nH --no-verbose --cut-dirs=2 $LLM_FTP_URL/llm/updated_for_4.36/chatglm2-6b -P $ORIGIN_DIR\n          fi\n          if [ ! -d $ORIGINAL_CODESHELL_7B_PATH ]; then\n            echo \"Directory $ORIGINAL_CODESHELL_7B_PATH not found. Downloading from FTP server...\"\n            echo \"wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/CodeShell-7B-Chat -P $ORIGIN_DIR\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/CodeShell-7B-Chat -P $ORIGIN_DIR\n          fi\n          if [ ! -d $ORIGINAL_WHISPER_TINY_PATH ]; then\n            echo \"Directory $ORIGINAL_WHISPER_TINY_PATH not found. Downloading from FTP server...\"\n            echo \"wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/whisper-tiny -P $ORIGIN_DIR\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/whisper-tiny -P $ORIGIN_DIR\n          fi\n          if [ ! -d $MISTRAL_ORIGIN_PATH ]; then\n            echo \"Directory $MISTRAL_ORIGIN_PATH not found. Downloading from FTP server...\"\n            echo \"wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/Mistral-7B-v0.1 -P $ORIGIN_DIR\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/Mistral-7B-v0.1 -P $ORIGIN_DIR\n          fi\n          if [ ! -d $LLAMA_ORIGIN_PATH ]; then\n            echo \"Directory $LLAMA_ORIGIN_PATH not found. Downloading from FTP server...\"\n            echo \"wget --no-verbose $LLM_FTP_URL/llm/llama-7b-hf -P $ORIGIN_DIR\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/llama-7b-hf -P $ORIGIN_DIR\n          fi\n          if [ ! -d $BLOOM_ORIGIN_PATH ]; then\n            echo \"Directory $BLOOM_ORIGIN_PATH not found. Downloading from FTP server...\"\n            echo \"wget --no-verbose $LLM_FTP_URL/llm/bloom-7b1 -P $ORIGIN_DIR\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/bloom-7b1 -P $ORIGIN_DIR\n          fi\n          if [ ! -d $SPEECH_DATASET_PATH ]; then\n            echo \"Directory $SPEECH_DATASET_PATH not found. Downloading from FTP server...\"\n            echo \"wget -r -nH --no-verbose --cut-dirs=2 $LLM_FTP_URL/llm/datasets/librispeech_asr_dummy -P $DATASET_DIR\"\n            wget -r -nH --no-verbose --cut-dirs=2 $LLM_FTP_URL/llm/datasets/librispeech_asr_dummy -P $DATASET_DIR\n          fi\n          if [ ! -d $COMMON_VOICE_PATH ]; then\n            echo \"Directory $COMMON_VOICE_PATH not found. Downloading from FTP server...\"\n            echo \"wget -r -nH --no-verbose --cut-dirs=2 $LLM_FTP_URL/llm/datasets/common_voice -P $DATASET_DIR\"\n            wget -r -nH --no-verbose --cut-dirs=2 $LLM_FTP_URL/llm/datasets/common_voice -P $DATASET_DIR\n          fi\n          if [ ! -d $LLAMA2_7B_ORIGIN_PATH ]; then\n            echo \"Directory $LLAMA2_7B_ORIGIN_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/Llama-2-7b-chat-hf -P $ORIGIN_DIR\n          fi\n          if [ ! -d $VICUNA_7B_1_3_ORIGIN_PATH ]; then\n            echo \"Directory $VICUNA_7B_1_3_ORIGIN_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/vicuna-7b-v1.3 -P $ORIGIN_DIR\n          fi\n\n      - name: Run LLM cli test (Linux)\n        if: runner.os == 'Linux' \n        uses: ./.github/actions/llm/cli-test-linux\n      - name: Run LLM cli test (Windows)\n        if: runner.os == 'Windows' \n        uses: ./.github/actions/llm/cli-test-windows\n      - name: Run LLM inference test\n        shell: bash\n        run: |\n          python -m pip install einops datasets librosa openai-whisper\n          bash python/llm/test/run-llm-inference-tests.sh\n      - name: Run LLM langchain test\n        shell: bash\n        run: |\n          pip install -U langchain==0.0.184\n          pip install -U chromadb==0.3.25\n          pip install -U pandas==2.0.3\n          bash python/llm/test/run-llm-langchain-tests.sh\n      - name: Run LLM llamaindex test\n        shell: bash\n        run: |\n          pip install llama-index-readers-file llama-index-vector-stores-postgres llama-index-embeddings-huggingface\n          pip install transformers==4.36.2\n          pip install \"pydantic>=2.0.0\"\n          bash python/llm/test/run-llm-llamaindex-tests.sh\n      - name: Run sentence-transformers uninstallation\n        if: ${{ always() }}\n        shell: bash\n        run: |\n          pip uninstall sentence-transformers -y || true\n\n  llm-unit-test-on-arc:\n    needs: [setup-python-version, llm-cpp-build]\n    strategy:\n      fail-fast: false\n      matrix:\n        runner: ['arc-ut', 'arc-ut-win']\n        pytorch-version: ['2.1']\n        python-version: ${{ fromJson(needs.setup-python-version.outputs.python-version) }}\n    runs-on: [self-hosted, llm, \"${{ matrix.runner }}\"]\n    env:\n      # OMP_NUM_THREADS: 16\n      # THREAD_NUM: 16\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n    steps:\n      - name: Set environment variables\n        shell: bash\n        run: |\n          echo \"DATASET_DIR=${ORIGIN_DIR}/../datasets\" >> \"$GITHUB_ENV\"\n          echo \"YAHMA_ALPACA_CLEANED_PATH=${ORIGIN_DIR}/../datasets/yahma_alpaca_cleaned\" >> \"$GITHUB_ENV\"\n          echo \"SPEECH_DATASET_PATH=${ORIGIN_DIR}/../datasets/librispeech_asr_dummy\" >> \"$GITHUB_ENV\"\n\n          echo \"LLAMA2_7B_ORIGIN_PATH=${ORIGIN_DIR}/Llama-2-7b-chat-hf\" >> \"$GITHUB_ENV\"\n          echo \"CHATGLM2_6B_ORIGIN_PATH=${ORIGIN_DIR}/chatglm2-6b\" >> \"$GITHUB_ENV\"\n          echo \"FALCON_7B_ORIGIN_PATH=${ORIGIN_DIR}/falcon-7b-instruct-with-patch\" >> \"$GITHUB_ENV\"\n          echo \"MPT_7B_ORIGIN_PATH=${ORIGIN_DIR}/mpt-7b-chat\" >> \"$GITHUB_ENV\"\n          echo \"WHISPER_TINY_ORIGIN_PATH=${ORIGIN_DIR}/whisper-tiny\" >> \"$GITHUB_ENV\"\n          echo \"MISTRAL_7B_INSTRUCT_V0_1_ORIGIN_PATH=${ORIGIN_DIR}/Mistral-7B-Instruct-v0.1\" >> \"$GITHUB_ENV\"\n          echo \"BAICHUAN2_7B_ORIGIN_PATH=${ORIGIN_DIR}/Baichuan2-7B-Chat\" >> \"$GITHUB_ENV\"\n          echo \"QWEN_7B_ORIGIN_PATH=${ORIGIN_DIR}/Qwen-7B-Chat\" >> \"$GITHUB_ENV\"\n          echo \"VICUNA_7B_1_3_ORIGIN_PATH=${ORIGIN_DIR}/vicuna-7b-v1.3\" >> \"$GITHUB_ENV\"\n      - name: Checkout repo\n        uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade \"setuptools<70.0.0\"\n          python -m pip install --upgrade wheel\n          python -m pip install --upgrade notebook\n\n          # May remove later\n          pip uninstall sentence-transformers -y || true\n\n          # On Windows, we need to add \"Python3_ROOT_DIR/bin\" to path to make libuv work\n          if [[ \"$RUNNER_OS\" == \"Windows\" ]]; then\n            echo $Python3_ROOT_DIR'\\bin\\'\n            echo $Python3_ROOT_DIR'\\bin\\' >> $GITHUB_PATH\n          fi\n\n      - name: Download llm binary\n        uses: ./.github/actions/llm/download-llm-binary\n\n      - name: Install IPEX-LLM for xpu\n        uses: ./.github/actions/llm/setup-llm-env\n        with:\n          extra-dependency: \"xpu_${{ matrix.pytorch-version }}\"\n\n      - name: Test installed xpu version\n        shell: bash\n        run: |\n          # Specific oneapi position on arc ut test machines\n          if [[ \"$RUNNER_OS\" == \"Linux\" ]]; then\n            if [[ '${{ matrix.pytorch-version }}' == '2.1' ]]; then\n              source /opt/intel/oneapi/setvars.sh\n            elif [[ '${{ matrix.pytorch-version }}' == '2.0' ]]; then\n              source /home/arda/intel/oneapi/setvars.sh\n            fi\n          fi\n          bash python/llm/test/run-llm-install-tests.sh\n\n      - name: Download LLMs and datasets\n        shell: bash\n        run: |\n          if [ ! -d $LLAMA2_7B_ORIGIN_PATH ]; then\n            echo \"Directory $LLAMA2_7B_ORIGIN_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/Llama-2-7b-chat-hf -P $ORIGIN_DIR\n          fi\n          if [ ! -d $CHATGLM2_6B_ORIGIN_PATH ]; then\n            echo \"Directory $CHATGLM2_6B_ORIGIN_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=2 $LLM_FTP_URL/llm/updated_for_4.36/chatglm2-6b -P $ORIGIN_DIR\n          fi\n          if [ ! -d $FALCON_7B_ORIGIN_PATH ]; then\n            echo \"Directory $FALCON_7B_ORIGIN_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/falcon-7b-instruct-with-patch -P $ORIGIN_DIR\n          fi\n          if [ ! -d $MPT_7B_ORIGIN_PATH ]; then\n            echo \"Directory $MPT_7B_ORIGIN_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=2 $LLM_FTP_URL/llm/updated_for_4.36/mpt-7b-chat -P $ORIGIN_DIR\n          fi\n          if [ ! -d $WHISPER_TINY_ORIGIN_PATH ]; then\n            echo \"Directory $WHISPER_TINY_ORIGIN_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/whisper-tiny -P $ORIGIN_DIR\n          fi\n          if [ ! -d $DATASET_DIR ]; then\n            mkdir -p $DATASET_DIR\n          fi\n          if [ ! -d $YAHMA_ALPACA_CLEANED_PATH ]; then\n            echo \"Directory $YAHMA_ALPACA_CLEANED_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=2 $LLM_FTP_URL/llm/datasets/yahma_alpaca_cleaned -P $DATASET_DIR\n          fi\n          if [ ! -d $SPEECH_DATASET_PATH ]; then\n            echo \"Directory $SPEECH_DATASET_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=2 $LLM_FTP_URL/llm/datasets/librispeech_asr_dummy -P $DATASET_DIR\n          fi\n          if [ ! -d $MISTRAL_7B_INSTRUCT_V0_1_ORIGIN_PATH ]; then\n            echo \"Directory $MISTRAL_7B_INSTRUCT_V0_1_ORIGIN_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/Mistral-7B-Instruct-v0.1 -P $ORIGIN_DIR\n          fi\n          if [ ! -d $QWEN_7B_ORIGIN_PATH ]; then\n            echo \"Directory $QWEN_7B_ORIGIN_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/Qwen-7B-Chat -P $ORIGIN_DIR\n          fi\n          if [ ! -d $BAICHUAN2_7B_ORIGIN_PATH ]; then\n            echo \"Directory $BAICHUAN2_7B_ORIGIN_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=2 $LLM_FTP_URL/llm/updated_for_4.36/Baichuan2-7B-Chat -P $ORIGIN_DIR\n          fi\n          if [ ! -d $VICUNA_7B_1_3_ORIGIN_PATH ]; then\n            echo \"Directory $VICUNA_7B_1_3_ORIGIN_PATH not found. Downloading from FTP server...\"\n            wget -r -nH --no-verbose --cut-dirs=1 $LLM_FTP_URL/llm/vicuna-7b-v1.3 -P $ORIGIN_DIR\n          fi\n          \n      - name: Run LLM inference test\n        shell: bash\n        run: |\n          # Specific oneapi position on arc ut test machines\n          if [[ \"$RUNNER_OS\" == \"Linux\" ]]; then\n            if [[ '${{ matrix.pytorch-version }}' == '2.1' ]]; then\n              source /opt/intel/oneapi/setvars.sh\n            elif [[ '${{ matrix.pytorch-version }}' == '2.0' ]]; then\n              source /home/arda/intel/oneapi/setvars.sh\n            fi\n          fi\n          python -m pip install datasets librosa soundfile einops tiktoken transformers_stream_generator\n          \n          bash python/llm/test/run-llm-inference-tests-gpu.sh\n\n      - name: Run LLM example tests\n        shell: bash\n        run: |\n          python -m pip uninstall datasets -y\n          python -m pip install transformers==4.36.0 datasets peft==0.10.0\n          python -m pip install bitsandbytes scipy\n          # Specific oneapi position on arc ut test machines\n          if [[ \"$RUNNER_OS\" == \"Linux\" ]]; then\n            if [[ '${{ matrix.pytorch-version }}' == '2.1' ]]; then\n              source /opt/intel/oneapi/setvars.sh\n            elif [[ '${{ matrix.pytorch-version }}' == '2.0' ]]; then\n              source /home/arda/intel/oneapi/setvars.sh\n            fi\n          fi\n          bash python/llm/test/run-llm-example-tests-gpu.sh\n          \n      - name: Get Langchain version\n        shell: bash\n        id: get_langchain_version\n        run: |\n          pip install langchain\n          LANGCHAIN_VERSION=$(pip show langchain | grep Version | cut -d \" \" -f 2)\n          LANGCHAIN_REF=\"langchain==$LANGCHAIN_VERSION\"\n          echo \"langchain_ver=$LANGCHAIN_REF\" >> $GITHUB_OUTPUT\n\n      - name: Checkout Langchain repo\n        uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744\n        with:\n          repository: \"langchain-ai/langchain\"\n          ref: ${{ join(steps.get_langchain_version.outputs.*, '\\n') }}\n          path: langchain_upstream\n            \n      - name: Run LLM langchain GPU test\n        shell: bash\n        run: |\n          pip install -U langchain==0.0.184\n          pip install -U chromadb==0.3.25\n          pip install -U pandas==2.0.3\n          # Specific oneapi position on arc ut test machines\n          if [[ \"$RUNNER_OS\" == \"Linux\" ]]; then\n            if [[ '${{ matrix.pytorch-version }}' == '2.1' ]]; then\n              source /opt/intel/oneapi/setvars.sh\n            elif [[ '${{ matrix.pytorch-version }}' == '2.0' ]]; then\n              source /home/arda/intel/oneapi/setvars.sh\n            fi\n          fi\n          bash python/llm/test/run-llm-langchain-tests-gpu.sh\n          \n          pip install -U langchain\n          pip install -U langchain-community\n          pip install --pre --upgrade bigdl-llm[all]\n          bash python/llm/test/run-langchain-upstream-tests.sh\n\n      - name: Run LLM llamaindex GPU test\n        shell: bash\n        run: |\n          pip install llama-index-readers-file llama-index-vector-stores-postgres llama-index-embeddings-huggingface\n          # Specific oneapi position on arc ut test machines\n          if [[ '${{ matrix.pytorch-version }}' == '2.1' ]]; then\n            pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/\n            if [[ \"$RUNNER_OS\" == \"Linux\" ]]; then\n              source /opt/intel/oneapi/setvars.sh\n            fi\n          elif [[ '${{ matrix.pytorch-version }}' == '2.0' ]]; then\n            pip install --pre --upgrade ipex-llm[xpu_2.0] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/\n            if [[ \"$RUNNER_OS\" == \"Linux\" ]]; then\n              source /home/arda/intel/oneapi/setvars.sh\n            fi\n          fi\n          pip install transformers==4.36.2\n          pip install \"pydantic>=2.0.0\"\n          bash python/llm/test/run-llm-llamaindex-tests-gpu.sh\n      - name: Run sentence-transformers uninstallation\n        if: ${{ always() }}\n        shell: bash\n        run: |\n          pip uninstall sentence-transformers -y || true\n", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:29.850945", "created_at": "2023-08-24T08:39:16+02:00", "updated_at": "2024-06-20T05:29:25+02:00", "name": "LLM Performance Test", "path": ".github/workflows/llm_performance_tests.yml", "contents": "name: LLM Performance Test\n\n# Cancel previous runs in the PR when you push new commits\nconcurrency:\n  group: ${{ github.workflow }}-llm-performance-tests-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\n# Controls when the action will run.\non:\n  schedule:\n    - cron: \"30 16 * * *\" # GMT time, 16:30 GMT == 00:30 China\n  # please uncomment it for PR tests\n  # pull_request:\n  #   branches: [main]\n  #   paths:\n  #     - \".github/workflows/llm_performance_tests.yml\"\n  #     - \"python/llm/test/benchmark/**\"\n  #     - \"python/llm/dev/benchmark/all-in-one/**\"\n  workflow_dispatch:\n    inputs:\n      arc:\n        description: \"If trigger performance test on Arc\"\n        required: false\n        type: boolean\n        default: true\n      spr:\n        description: \"If trigger performance test on SPR\"\n        required: false\n        type: boolean\n        default: true\n      core:\n        description: \"If trigger performance test on Core\"\n        required: false\n        type: boolean\n        default: true\n      igpu:\n        description: \"If trigger performance test on iGPU\"\n        required: false\n        type: boolean\n        default: true\n  workflow_call:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  # llm-cpp-build: # please uncomment it for PR tests\n  #   uses: ./.github/workflows/llm-binary-build.yml\n\n  llm-performance-test-on-arc:\n    if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && inputs.arc ) || github.event.inputs.artifact == 'llm-performance-test-on-arc' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests\n    # needs: llm-cpp-build # please uncomment it for PR tests\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n    runs-on: [self-hosted, llm, perf]\n    env:\n      OMP_NUM_THREADS: 16\n      THREAD_NUM: 16\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n      CSV_SAVE_PATH: ${{ (github.event.schedule || github.event_name == 'workflow_dispatch') && '/mnt/disk1/nightly_perf_gpu/' || '/mnt/disk1/pr_perf_gpu/' }}\n\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        shell: bash\n        # pip install transformers_stream_generator for model internlm-chat-7b-8k\n        # pip install tiktoken for model Qwen-7B-Chat-10-12\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade wheel\n          python -m pip install --upgrade omegaconf\n          python -m pip install --upgrade pandas\n          python -m pip install --upgrade einops\n          python -m pip install --upgrade transformers_stream_generator\n          python -m pip install --upgrade tiktoken\n\n      # please uncomment it and comment the \"Install IPEX-LLM from Pypi\" part for PR tests\n      # - name: Download llm binary\n      #   uses: ./.github/actions/llm/download-llm-binary\n\n      # - name: Run LLM install (all) test\n      #   uses: ./.github/actions/llm/setup-llm-env\n      #   with:\n      #     extra-dependency: \"xpu_2.1\"\n\n      - name: Install IPEX-LLM from Pypi\n        shell: bash\n        run: |\n          pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/\n          test_version_date=`date -d 'yesterday' '+%Y%m%d'`\n          if ! pip show ipex-llm | grep $test_version_date; then\n            echo \"Did not install ipex-llm with excepted version $test_version_date\"\n            exit 1\n          fi\n\n      - name: Test installed xpu version\n        shell: bash\n        run: |\n          source /opt/intel/oneapi/setvars.sh\n          bash python/llm/test/run-llm-install-tests.sh\n\n      - name: Test on xpu(transformers==4.36.2)\n        shell: bash\n        run: |\n          date_for_test_version=$(date -d yesterday +%Y-%m-%d)\n          sed -i \"s/date.today()/\\\"$date_for_test_version\\\"/g\" python/llm/dev/benchmark/all-in-one/run.py\n          source /opt/intel/oneapi/setvars.sh\n          export USE_XETLA=OFF\n          export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1\n          cp python/llm/test/benchmark/arc-perf-test.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          mkdir test_batch1\n          mkdir test_batch2\n          mkdir test_batch4\n          # batch_size 1\n          # hide time info\n          sed -i 's/str(end - st)/\"xxxxxx\"/g' run.py\n          # change csv name\n          sed -i 's/{today}/{today}_test1_batch1/g' run.py\n          python run.py\n          mv *.csv test_batch1\n          # batch_size 2\n          cd ../../../../../ \n          cp python/llm/test/benchmark/arc-perf-test-batch2.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          # change csv name\n          sed -i 's/batch1/batch2/g' run.py\n          python run.py\n          mv *.csv test_batch2\n          # batch_size 4\n          cd ../../../../../ \n          cp python/llm/test/benchmark/arc-perf-test-batch4.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          # change csv name\n          sed -i 's/batch2/batch4/g' run.py\n          python run.py\n          mv *.csv test_batch4\n\n      - name: Test on xpu(transformers==4.37.0)\n        shell: bash\n        run: |\n          source /opt/intel/oneapi/setvars.sh\n          export USE_XETLA=OFF\n          export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1\n          # upgrade transformers for model Qwen/Qwen1.5-7B-Chat\n          python -m pip install transformers==4.37.0\n          # batch_size 1\n          cp python/llm/test/benchmark/arc-perf-transformers-437.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          # change csv name\n          sed -i 's/test1_batch4/test2_batch1/g' run.py\n          python run.py\n          mv *.csv test_batch1\n          # batch_size 2\n          cd ../../../../../ \n          cp python/llm/test/benchmark/arc-perf-transformers-437-batch2.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          # change csv name \n          sed -i 's/batch1/batch2/g' run.py\n          python run.py\n          mv *.csv test_batch2\n          # batch_size 4\n          cd ../../../../../ \n          cp python/llm/test/benchmark/arc-perf-transformers-437-batch4.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          # change csv name \n          sed -i 's/batch2/batch4/g' run.py\n          python run.py\n          mv *.csv test_batch4\n      \n      - name: Test on xpu(transformers==4.40.0)\n        shell: bash\n        run: |\n          source /opt/intel/oneapi/setvars.sh\n          export USE_XETLA=OFF\n          export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1\n          # upgrade transformers for model Qwen/Qwen1.5-MoE-A2.7B-Chat\n          python -m pip install transformers==4.40.0\n          python -m pip install trl\n          # batch_size 1\n          cp python/llm/test/benchmark/arc-perf-transformers-440.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          # change csv name\n          sed -i 's/test2_batch4/test3_batch1/g' run.py\n          python run.py\n          mv *.csv test_batch1\n\n      - name: Concat csv and generate html\n        shell: bash\n        run: |\n          # batch_size 1 \n          cd python/llm/dev/benchmark/all-in-one/test_batch1\n          python ../../../../test/benchmark/concat_csv.py\n          for file in *.csv; do\n              if [[ $file != *test* ]]; then\n                  cp \"$file\" $CSV_SAVE_PATH/batch_size_1\n              fi\n          done\n          python -m pip install pandas==1.5.3\n          cd ../../../../test/benchmark\n          python csv_to_html.py -f $CSV_SAVE_PATH/batch_size_1\n          # batch_size 2\n          cd ../../../../\n          cd python/llm/dev/benchmark/all-in-one/test_batch2\n          python ../../../../test/benchmark/concat_csv.py\n          for file in *.csv; do\n              if [[ $file != *test* ]]; then\n                  cp \"$file\" $CSV_SAVE_PATH/batch_size_2\n              fi\n          done\n          cd ../../../../test/benchmark\n          python csv_to_html.py -f $CSV_SAVE_PATH/batch_size_2\n          # batch_size 4\n          cd ../../../../\n          cd python/llm/dev/benchmark/all-in-one/test_batch4\n          python ../../../../test/benchmark/concat_csv.py\n          for file in *.csv; do\n              if [[ $file != *test* ]]; then\n                  cp \"$file\" $CSV_SAVE_PATH/batch_size_4\n              fi\n          done\n          cd ../../../../test/benchmark\n          python csv_to_html.py -f $CSV_SAVE_PATH/batch_size_4\n      \n      - name: Merge and sort csv files of multiple batches and generate html \n        shell: bash\n        run: |\n          cd python/llm/test/benchmark\n          mkdir merged_temp\n          # go through all the files and go to merged_temp\n          cd ../../dev/benchmark/all-in-one/test_batch1\n          for file in *.csv; do\n              if [[ $file != *test* ]]; then\n                  cp \"$file\" ../../../../test/benchmark/merged_temp\n              fi\n          done\n          cd ../test_batch2\n          for file in *.csv; do\n              if [[ $file != *test* ]]; then\n                  cp \"$file\" ../../../../test/benchmark/merged_temp\n              fi\n          done\n          cd ../test_batch4\n          for file in *.csv; do\n              if [[ $file != *test* ]]; then\n                  cp \"$file\" ../../../../test/benchmark/merged_temp\n              fi\n          done\n          cd ../../../../test/benchmark\n          python merge_csv_batch.py -f ./merged_temp\n          cd merged_temp\n          find . -name \"*batch*.csv\" -delete\n          for file in *.csv; do\n              cp \"$file\" $CSV_SAVE_PATH/merged\n          done\n          cd ..\n          python csv_to_html.py -f $CSV_SAVE_PATH/merged\n          rm -r merged_temp\n      \n      - name: Update html in parent folder\n        shell: bash\n        run: |\n          cd python/llm/test/benchmark\n          python update_html_in_parent_folder.py -f $CSV_SAVE_PATH\n\n      - name: Check and upload results to ftp\n        shell: bash\n        run: |\n          # batch_size 1\n          cd python/llm/dev/benchmark/all-in-one/test_batch1\n          python ../../../../test/benchmark/check_results.py -c test1 -y ../../../../test/benchmark/arc-perf-test.yaml\n          python ../../../../test/benchmark/check_results.py -c test2 -y ../../../../test/benchmark/arc-perf-transformers-437.yaml\n          python ../../../../test/benchmark/check_results.py -c test3 -y ../../../../test/benchmark/arc-perf-transformers-440.yaml\n          find . -name \"*test*.csv\" -delete\n          if [ ${{ github.event_name }} == \"schedule\" ] || [ ${{ github.event_name }} == \"workflow_dispatch\" ]; then\n            curl -T ./*.csv ${LLM_FTP_URL}/llm/nightly_perf/gpu/\n          fi\n          cd ../\n          rm -r test_batch1\n          # batch_size 2\n          cd test_batch2\n          python ../../../../test/benchmark/check_results.py -c test1 -y ../../../../test/benchmark/arc-perf-test-batch2.yaml\n          python ../../../../test/benchmark/check_results.py -c test2 -y ../../../../test/benchmark/arc-perf-transformers-437-batch2.yaml\n          find . -name \"*test*.csv\" -delete\n          if [ ${{ github.event_name }} == \"schedule\" ] || [ ${{ github.event_name }} == \"workflow_dispatch\" ]; then\n            curl -T ./*.csv ${LLM_FTP_URL}/llm/nightly_perf/gpu/\n          fi\n          cd ../\n          rm -r test_batch2\n          # batch_size 4\n          cd test_batch4\n          python ../../../../test/benchmark/check_results.py -c test1 -y ../../../../test/benchmark/arc-perf-test-batch4.yaml\n          python ../../../../test/benchmark/check_results.py -c test2 -y ../../../../test/benchmark/arc-perf-transformers-437-batch4.yaml\n          find . -name \"*test*.csv\" -delete\n          if [ ${{ github.event_name }} == \"schedule\" ] || [ ${{ github.event_name }} == \"workflow_dispatch\" ]; then\n            curl -T ./*.csv ${LLM_FTP_URL}/llm/nightly_perf/gpu/\n          fi\n          cd ../\n          rm -r test_batch4\n          \n          \n  llm-performance-test-on-spr:\n    if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && inputs.spr ) || github.event.inputs.artifact == 'llm-performance-test-on-spr' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests\n    # needs: llm-cpp-build # please uncomment it for PR tests\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n    runs-on: [self-hosted, llm, spr-perf]\n    env:\n      OMP_NUM_THREADS: 16\n      THREAD_NUM: 16\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade wheel\n          python -m pip install --upgrade omegaconf\n          python -m pip install --upgrade pandas\n          python -m pip install --upgrade einops\n          python -m pip install --upgrade tiktoken\n          python -m pip install --upgrade transformers_stream_generator\n\n      # please uncomment it and comment the \"Install IPEX-LLM from Pypi\" part for PR tests\n      # - name: Download llm binary\n      #   uses: ./.github/actions/llm/download-llm-binary\n\n      # - name: Run LLM install (all) test\n      #   uses: ./.github/actions/llm/setup-llm-env\n\n      - name: Install IPEX-LLM from Pypi\n        shell: bash\n        run: |\n          pip install --pre --upgrade ipex-llm[all] --extra-index-url https://download.pytorch.org/whl/cpu\n          test_version_date=`date -d 'yesterday' '+%Y%m%d'`\n          if ! pip show ipex-llm | grep $test_version_date; then\n            echo \"Did not install ipex-llm with excepted version $test_version_date\"\n            exit 1\n          fi\n\n      - name: Test on cpu\n        shell: bash\n        run: |\n          date_for_test_version=$(date -d yesterday +%Y-%m-%d)\n          sed -i \"s/date.today()/\\\"$date_for_test_version\\\"/g\" python/llm/dev/benchmark/all-in-one/run.py\n\n          mv python/llm/test/benchmark/cpu-perf-test.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          export http_proxy=${HTTP_PROXY}\n          export https_proxy=${HTTPS_PROXY}\n          source ipex-llm-init -t\n          export OMP_NUM_THREADS=48\n          # hide time info\n          sed -i 's/str(end - st)/\"xxxxxx\"/g' run.py\n          python run.py\n          cp ./*.csv /mnt/disk1/models/nightly_perf_cpu\n          cd ../../../test/benchmark\n          python -m pip install pandas==1.5.3\n          python csv_to_html.py -f /mnt/disk1/models/nightly_perf_cpu\n          cd /mnt/disk1/models/nightly_perf_cpu\n          for f in *.html; do\n            curl -T \"$f\" ${LLM_FTP_URL}/llm/nightly_perf/nightly_perf_cpu/\n          done\n\n  llm-performance-test-on-core:\n    if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && inputs.core ) || github.event.inputs.artifact == 'llm-performance-test-on-core' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests\n    # needs: llm-cpp-build # please uncomment it for PR tests\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: windows\n            platform: dp\n            python-version: \"3.11\"\n          # - os: windows\n          #   platform: lp\n          #   python-version: \"3.11\"\n    runs-on: [self-hosted, \"${{ matrix.os }}\", llm, perf-core, \"${{ matrix.platform }}\"]\n    env:\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n      CSV_SAVE_PATH: ${{ (github.event.schedule || github.event_name == 'workflow_dispatch') && 'D:/action-runners/nightly_perf_core_' || 'D:/action-runners/pr_perf_core_' }}${{ matrix.platform }}/\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade wheel\n          python -m pip install --upgrade omegaconf pandas\n          python -m pip install --upgrade tiktoken einops transformers_stream_generator\n    \n      # please uncomment it and comment the \"Install IPEX-LLM from Pypi\" part for PR tests\n      # - name: Download llm binary\n      #   uses: ./.github/actions/llm/download-llm-binary\n\n      # - name: Run LLM install (all) test\n      #   uses: ./.github/actions/llm/setup-llm-env\n\n      - name: Install IPEX-LLM from Pypi\n        shell: bash\n        run: |\n          pip install --pre --upgrade ipex-llm[all]\n          test_version_date=`date -d 'yesterday' '+%Y%m%d'`\n          if ! pip show ipex-llm | grep $test_version_date; then\n            echo \"Did not install ipex-llm with excepted version $test_version_date\"\n            exit 1\n          fi\n\n\n      - name: Test on core ${{ matrix.platform }}\n        shell: bash\n        run: |\n          date_for_test_version=$(date -d yesterday +%Y-%m-%d)\n          sed -i \"s/date.today()/\\\"$date_for_test_version\\\"/g\" python/llm/dev/benchmark/all-in-one/run.py\n\n          mv python/llm/test/benchmark/core-perf-test.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          export http_proxy=${HTTP_PROXY}\n          export https_proxy=${HTTPS_PROXY}\n          # hide time info\n          sed -i 's/str(end - st)/\"xxxxxx\"/g' run.py\n          python run.py\n          cp ./*.csv $CSV_SAVE_PATH\n          cd ../../../test/benchmark\n          python -m pip install pandas==1.5.3\n          python csv_to_html.py -f $CSV_SAVE_PATH\n          cd ../../dev/benchmark/all-in-one/\n          if [ ${{ github.event_name }} == \"schedule\" ] || [ ${{ github.event_name }} == \"workflow_dispatch\" ]; then\n            curl -T ./*.csv ${LLM_FTP_URL}/llm/nightly_perf/core_${{ matrix.platform }}/\n          fi\n\n  llm-performance-test-on-igpu:\n    if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && inputs.igpu ) || github.event.inputs.artifact == 'llm-performance-test-on-igpu' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests\n    # needs: llm-cpp-build # please uncomment it for PR tests\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n          - os: windows\n            python-version: \"3.11\"\n    runs-on: [self-hosted, \"${{ matrix.os }}\", llm, perf-igpu]\n    env:\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n\n      # TODO: Put the ipex-llm related install process for win gpu into a action function\n\n      # Please uncomment it and commment the install from pypi for PR tests\n      # - name: Download llm binary\n      #   uses: ./.github/actions/llm/download-llm-binary\n\n      # - name: Prepare for install ipex-llm from source\n      #   shell: bash\n      #   run: |\n      #     sed -i 's/\"bigdl-core-xe-21==\" + CORE_XE_VERSION/\"bigdl-core-xe-21\"/g' python/llm/setup.py\n      #     sed -i 's/\"bigdl-core-xe-batch-21==\" + CORE_XE_VERSION/\"bigdl-core-xe-batch-21\"/g' python/llm/setup.py\n      #     sed -i 's/\"bigdl-core-xe-addons-21==\" + CORE_XE_VERSION/\"bigdl-core-xe-addons-21\"/g' python/llm/setup.py\n      #     sed -i 's/\"bigdl-core-xe-esimd-21==\" + CORE_XE_VERSION/\"bigdl-core-xe-esimd-21\"/g' python/llm/setup.py\n\n      # - name: Install ipex-llm and other related packages (install from source)\n      #   shell: cmd\n      #   run: |\n      #     call conda create -n igpu-perf python=${{ matrix.python-version }} libuv -y\n      #     call conda activate igpu-perf\n\n      #     pip install --upgrade pip\n      #     pip install --upgrade wheel\n      #     pip install --upgrade omegaconf pandas\n      #     pip install --upgrade tiktoken einops transformers_stream_generator\n\n      #     cd python\\llm\n      #     python setup.py clean --all bdist_wheel --win\n      #     if not exist dist\\ipex_llm*.whl (exit /b 1)\n      #     for %%i in (dist\\ipex_llm*.whl) do set whl_name=%%i\n\n      #     pip install --pre --upgrade %whl_name%[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/\n      #     if %ERRORLEVEL% neq 0 (exit /b 1)\n      #     pip list\n\n      #     call conda deactivate\n\n      - name: Determine desired ipex-llm version\n        shell: bash\n        run: |\n          test_version_date=`date -d 'yesterday' '+%Y%m%d'`\n          echo \"TEST_VERSION_DATE=${test_version_date}\" >> \"$GITHUB_ENV\"\n\n      - name: Install ipex-llm and other related packages (install from pypi)\n        shell: cmd\n        run: |\n          call conda create -n igpu-perf python=${{ matrix.python-version }} libuv -y\n          call conda activate igpu-perf\n\n          pip install --upgrade pip\n          pip install --upgrade wheel\n          pip install --upgrade omegaconf pandas\n          pip install --upgrade tiktoken einops transformers_stream_generator\n\n          pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/\n          pip show ipex-llm | findstr %TEST_VERSION_DATE%\n          if %ERRORLEVEL% neq 0 (\n            echo \"Did not install ipex-llm with excepted version %TEST_VERSION_DATE%\"\n            exit /b 1\n          )\n          pip list\n\n          call conda deactivate\n\n      - name: Create env for html generation\n        shell: cmd\n        run: |\n          call conda create -n html-gen python=3.11 -y\n          call conda activate html-gen\n\n          pip install pandas==1.5.3\n          pip install Jinja2\n          pip install \"numpy<2.0.0\"\n\n          call conda deactivate\n\n      - name: Set directory envs & and fix generated csv date name\n        shell: bash\n        run: |\n          if [ ${{ github.event_name }} == \"schedule\" ] || [ ${{ github.event_name }} == \"workflow_dispatch\" ]; then\n            echo \"CSV_SAVE_PATH=${CSV_NIGHTLY_PATH}\" >> \"$GITHUB_ENV\"\n          else\n            echo \"CSV_SAVE_PATH=${CSV_PR_PATH}\" >> \"$GITHUB_ENV\"\n          fi\n          date_for_test_version=$(date -d yesterday +%Y-%m-%d)\n          echo \"LOG_FILE=${date_for_test_version}_output.txt\" >> \"$GITHUB_ENV\"\n\n          sed -i \"s/date.today()/\\\"$date_for_test_version\\\"/g\" python/llm/dev/benchmark/all-in-one/run.py\n\n      - name: Add extra warmup for chatglm3-6b int4+fp32 for more stable results\n        shell: bash\n        run: |\n          sed -i '/^\\s*result = run_transformer_int4_gpu_win(repo_id, local_model_hub, in_out_pairs, warm_up, num_trials, num_beams, low_bit, cpu_embedding, batch_size, streaming)/ i\\\n                  if repo_id in [\"THUDM/chatglm3-6b\"]:\\\n                      run_transformer_int4_gpu_win(repo_id, local_model_hub, in_out_pairs, warm_up, num_trials, num_beams, low_bit, cpu_embedding, batch_size, streaming)\n          ' python/llm/dev/benchmark/all-in-one/run.py\n\n      - name: Prepare igpu perf test (32-32)\n        shell: bash\n        run: |\n          # hide time info\n          # sed -i 's/str(end - st)/\"xxxxxx\"/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i 's/{api}-results-{today}.csv/32-32-{api}-results-{today}_test1.csv/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i \"s/path to your local model hub/$MODEL_HUB_DIR/g\" python/llm/test/benchmark/igpu-perf/32-32.yaml\n\n      - name: Test on igpu (32-32)\n        shell: cmd\n        run: |\n          call conda activate igpu-perf\n          set SYCL_CACHE_PERSISTENT=1\n          set BIGDL_LLM_XMX_DISABLED=1\n          REM for llava\n          set TRANSFORMERS_OFFLINE=1\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          move ..\\..\\..\\test\\benchmark\\igpu-perf\\32-32.yaml config.yaml\n          set PYTHONIOENCODING=utf-8\n          python run.py >> %CSV_SAVE_PATH%\\32-32\\log\\%LOG_FILE% 2>&1\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n\n          call conda deactivate\n\n      - name: Prepare igpu perf test for transformers 4.37 (32-32)\n        shell: bash\n        run: |\n          sed -i 's/{today}_test1/{today}_test2/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i \"s/path to your local model hub/$MODEL_HUB_DIR/g\" python/llm/test/benchmark/igpu-perf/32-32_437.yaml\n\n      - name: Test on igpu for transformers 4.37 (32-32)\n        shell: cmd\n        run: |\n          call conda activate igpu-perf\n          pip install transformers==4.37.0\n\n          set SYCL_CACHE_PERSISTENT=1\n          set BIGDL_LLM_XMX_DISABLED=1\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          move ..\\..\\..\\test\\benchmark\\igpu-perf\\32-32_437.yaml config.yaml\n          set PYTHONIOENCODING=utf-8\n          python run.py >> %CSV_SAVE_PATH%\\32-32\\log\\%LOG_FILE% 2>&1\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n\n          call conda deactivate\n\n      - name: Concat csv and generate html (32-32)\n        shell: cmd\n        run: |\n          call conda activate html-gen\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          python ..\\..\\..\\test\\benchmark\\concat_csv.py\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n          del /q *test*.csv\n          move *.csv %CSV_SAVE_PATH%\\32-32\\\n          cd ..\\..\\..\\test\\benchmark\n          python csv_to_html.py -f %CSV_SAVE_PATH%\\32-32\\\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n          move %CSV_SAVE_PATH%\\32-32\\*.html %CSV_SAVE_PATH%\n\n          call conda deactivate\n\n      # TODO: create a action function here for different input\n      # 1024-128\n      - name: Prepare igpu perf test (1024-128)\n        shell: bash\n        run: |\n          sed -i 's/32-32/1024-128/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i 's/{today}_test2/{today}_test1/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i \"s/path to your local model hub/$MODEL_HUB_DIR/g\" python/llm/test/benchmark/igpu-perf/1024-128.yaml\n\n      - name: Test on igpu (1024-128)\n        shell: cmd\n        run: |\n          call conda activate igpu-perf\n          pip install transformers==4.36.2\n\n          set SYCL_CACHE_PERSISTENT=1\n          set BIGDL_LLM_XMX_DISABLED=1\n          REM for llava\n          set TRANSFORMERS_OFFLINE=1\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          move ..\\..\\..\\test\\benchmark\\igpu-perf\\1024-128.yaml config.yaml\n          set PYTHONIOENCODING=utf-8\n          python run.py >> %CSV_SAVE_PATH%\\1024-128\\log\\%LOG_FILE% 2>&1\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n\n          call conda deactivate\n\n      - name: Prepare igpu perf test for transformers 4.37 (1024-128)\n        shell: bash\n        run: |\n          sed -i 's/{today}_test1/{today}_test2/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i \"s/path to your local model hub/$MODEL_HUB_DIR/g\" python/llm/test/benchmark/igpu-perf/1024-128_437.yaml\n\n      - name: Test on igpu for transformers 4.37 (1024-128)\n        shell: cmd\n        run: |\n          call conda activate igpu-perf\n          pip install transformers==4.37.0\n\n          set SYCL_CACHE_PERSISTENT=1\n          set BIGDL_LLM_XMX_DISABLED=1\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          move ..\\..\\..\\test\\benchmark\\igpu-perf\\1024-128_437.yaml config.yaml\n          set PYTHONIOENCODING=utf-8\n          python run.py >> %CSV_SAVE_PATH%\\1024-128\\log\\%LOG_FILE% 2>&1\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n\n          call conda deactivate\n\n      - name: Concat csv and generate html (1024-128)\n        shell: cmd\n        run: |\n          call conda activate html-gen\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          python ..\\..\\..\\test\\benchmark\\concat_csv.py\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n          del /q *test*.csv\n          move *.csv %CSV_SAVE_PATH%\\1024-128\\\n          cd ..\\..\\..\\test\\benchmark\n          python csv_to_html.py -f %CSV_SAVE_PATH%\\1024-128\\\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n          move %CSV_SAVE_PATH%\\1024-128\\*.html %CSV_SAVE_PATH%\n\n          call conda deactivate\n\n      # 2048-256\n      - name: Prepare igpu perf test (2048-256)\n        shell: bash\n        run: |\n          sed -i 's/1024-128/2048-256/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i 's/{today}_test2/{today}_test1/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i \"s/path to your local model hub/$MODEL_HUB_DIR/g\" python/llm/test/benchmark/igpu-perf/2048-256.yaml\n\n      - name: Test on igpu (2048-256)\n        shell: cmd\n        run: |\n          call conda activate igpu-perf\n          pip install transformers==4.36.2\n\n          set SYCL_CACHE_PERSISTENT=1\n          set BIGDL_LLM_XMX_DISABLED=1\n          REM for llava\n          set TRANSFORMERS_OFFLINE=1\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          move ..\\..\\..\\test\\benchmark\\igpu-perf\\2048-256.yaml config.yaml\n          set PYTHONIOENCODING=utf-8\n          python run.py >> %CSV_SAVE_PATH%\\2048-256\\log\\%LOG_FILE% 2>&1\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n\n          call conda deactivate\n\n      - name: Prepare igpu perf test for transformers 4.37 (2048-256)\n        shell: bash\n        run: |\n          sed -i 's/{today}_test1/{today}_test2/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i \"s/path to your local model hub/$MODEL_HUB_DIR/g\" python/llm/test/benchmark/igpu-perf/2048-256_437.yaml\n\n      - name: Test on igpu for transformers 4.37 (2048-256)\n        shell: cmd\n        run: |\n          call conda activate igpu-perf\n          pip install transformers==4.37.0\n\n          set SYCL_CACHE_PERSISTENT=1\n          set BIGDL_LLM_XMX_DISABLED=1\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          move ..\\..\\..\\test\\benchmark\\igpu-perf\\2048-256_437.yaml config.yaml\n          set PYTHONIOENCODING=utf-8\n          python run.py >> %CSV_SAVE_PATH%\\2048-256\\log\\%LOG_FILE% 2>&1\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n\n          call conda deactivate\n\n      - name: Concat csv and generate html (2048-256)\n        shell: cmd\n        run: |\n          call conda activate html-gen\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          python ..\\..\\..\\test\\benchmark\\concat_csv.py\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n          del /q *test*.csv\n          move *.csv %CSV_SAVE_PATH%\\2048-256\\\n          cd ..\\..\\..\\test\\benchmark\n          python csv_to_html.py -f %CSV_SAVE_PATH%\\2048-256\\\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n          move %CSV_SAVE_PATH%\\2048-256\\*.html %CSV_SAVE_PATH%\n\n          call conda deactivate\n\n      # load_low_bit 1024-128 \n      - name: Prepare igpu perf test (load_low_bit 1024-128)\n        shell: bash\n        run: |\n          sed -i 's/2048-256/1024-128/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i 's/{today}_test2/{today}_test1/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i \"s/path to your local model hub/$MODEL_HUB_DIR/g\" python/llm/test/benchmark/igpu-perf/1024-128_loadlowbit.yaml\n\n      - name: Test on igpu (load_low_bit 1024-128)\n        shell: cmd\n        run: |\n          call conda activate igpu-perf\n          pip install transformers==4.36.2\n\n          set SYCL_CACHE_PERSISTENT=1\n          set BIGDL_LLM_XMX_DISABLED=1\n          REM for llava\n          set TRANSFORMERS_OFFLINE=1\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          move ..\\..\\..\\test\\benchmark\\igpu-perf\\1024-128_loadlowbit.yaml config.yaml\n          set PYTHONIOENCODING=utf-8\n          python run.py >> %CSV_SAVE_PATH%\\1024-128_loadlowbit\\log\\%LOG_FILE% 2>&1\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n\n          call conda deactivate\n\n      - name: Prepare igpu perf test for transformers 4.37 (load_low_bit 1024-128)\n        shell: bash\n        run: |\n          sed -i 's/{today}_test1/{today}_test2/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i \"s/path to your local model hub/$MODEL_HUB_DIR/g\" python/llm/test/benchmark/igpu-perf/1024-128_loadlowbit_437.yaml\n\n      - name: Test on igpu for transformers 4.37 (load_low_bit 1024-128)\n        shell: cmd\n        run: |\n          call conda activate igpu-perf\n          pip install transformers==4.37.0\n\n          set SYCL_CACHE_PERSISTENT=1\n          set BIGDL_LLM_XMX_DISABLED=1\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          move ..\\..\\..\\test\\benchmark\\igpu-perf\\1024-128_loadlowbit_437.yaml config.yaml\n          set PYTHONIOENCODING=utf-8\n          python run.py >> %CSV_SAVE_PATH%\\1024-128_loadlowbit\\log\\%LOG_FILE% 2>&1\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n\n          call conda deactivate\n\n      - name: Concat csv and generate html (load_low_bit 1024-128)\n        shell: cmd\n        run: |\n          call conda activate html-gen\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          python ..\\..\\..\\test\\benchmark\\concat_csv.py\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n          del /q *test*.csv\n          move *.csv %CSV_SAVE_PATH%\\1024-128_loadlowbit\\\n          cd ..\\..\\..\\test\\benchmark\n          python csv_to_html.py -f %CSV_SAVE_PATH%\\1024-128_loadlowbit\\\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n          move %CSV_SAVE_PATH%\\1024-128_loadlowbit\\*.html %CSV_SAVE_PATH%\n\n          call conda deactivate\n\n      - name: Prepare igpu perf test (int4+fp16 1024-128)\n        shell: bash\n        run: |\n          sed -i 's/{today}_test2/{today}_test1/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i \"s/path to your local model hub/$MODEL_HUB_DIR/g\" python/llm/test/benchmark/igpu-perf/1024-128_int4_fp16.yaml\n\n      - name: Test on igpu (int4+fp16 1024-128)\n        shell: cmd\n        run: |\n          call conda activate igpu-perf\n          pip install transformers==4.36.2\n\n          set SYCL_CACHE_PERSISTENT=1\n          set BIGDL_LLM_XMX_DISABLED=1\n          REM for llava\n          set TRANSFORMERS_OFFLINE=1\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          move ..\\..\\..\\test\\benchmark\\igpu-perf\\1024-128_int4_fp16.yaml config.yaml\n          set PYTHONIOENCODING=utf-8\n          python run.py >> %CSV_SAVE_PATH%\\1024-128_int4_fp16\\log\\%LOG_FILE% 2>&1\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n\n          call conda deactivate\n\n      - name: Prepare igpu perf test for transformers 4.37 (int4+fp16 1024-128)\n        shell: bash\n        run: |\n          sed -i 's/{today}_test1/{today}_test2/g' python/llm/dev/benchmark/all-in-one/run.py\n          sed -i \"s/path to your local model hub/$MODEL_HUB_DIR/g\" python/llm/test/benchmark/igpu-perf/1024-128_int4_fp16_437.yaml\n\n      - name: Test on igpu for transformers 4.37 (int4+fp16 1024-128)\n        shell: cmd\n        run: |\n          call conda activate igpu-perf\n          pip install transformers==4.37.0\n\n          set SYCL_CACHE_PERSISTENT=1\n          set BIGDL_LLM_XMX_DISABLED=1\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          move ..\\..\\..\\test\\benchmark\\igpu-perf\\1024-128_int4_fp16_437.yaml config.yaml\n          set PYTHONIOENCODING=utf-8\n          python run.py >> %CSV_SAVE_PATH%\\1024-128_int4_fp16\\log\\%LOG_FILE% 2>&1\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n\n          call conda deactivate\n\n      - name: Concat csv and generate html (int4+fp16 1024-128)\n        shell: cmd\n        run: |\n          call conda activate html-gen\n\n          cd python\\llm\\dev\\benchmark\\all-in-one\n          python ..\\..\\..\\test\\benchmark\\concat_csv.py\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n          del /q *test*.csv\n          move *.csv %CSV_SAVE_PATH%\\1024-128_int4_fp16\\\n          cd ..\\..\\..\\test\\benchmark\n          python csv_to_html.py -f %CSV_SAVE_PATH%\\1024-128_int4_fp16\\\n          if %ERRORLEVEL% neq 0 (exit /b 1)\n          move %CSV_SAVE_PATH%\\1024-128_int4_fp16\\*.html %CSV_SAVE_PATH%\n\n          call conda deactivate\n\n      # TODO: avoid duplicated code\n      - name: Upload results to ftp\n        if: ${{ always() }}\n        shell: cmd\n        run: |\n          cd %CSV_SAVE_PATH%\n          IF \"${{ github.event_name }}\"==\"schedule\" (\n            for %%f in (*.html) do (\n                curl -T \"%%f\" %FTP_IGPU_NIGHTLY_PERF_PATH%\n            )\n          )\n          IF \"${{ github.event_name }}\"==\"workflow_dispatch\" (\n            for %%f in (*.html) do (\n                curl -T \"%%f\" %FTP_IGPU_NIGHTLY_PERF_PATH%\n            )\n          )\n      # for test on machine when encountering error\n      # - name: Remove conda env\n      #   if: ${{ always() }}\n      #   shell: cmd\n      #   run: |\n      #     call conda env remove -n igpu-perf -y", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:30.955081", "created_at": "2023-08-31T09:56:51+02:00", "updated_at": "2023-08-31T09:56:51+02:00", "name": ".github/workflows/Scanner_Coverity.yml", "path": ".github/workflows/Scanner_Coverity.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:32.021699", "created_at": "2023-10-09T13:08:44+02:00", "updated_at": "2023-10-09T13:08:44+02:00", "name": "BigDL Release Portable Executable Zip", "path": ".github/workflows/bigdl-release-portable-executable-zip.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:33.054048", "created_at": "2023-10-31T02:57:57+01:00", "updated_at": "2023-10-31T02:57:57+01:00", "name": "LLM Binary Build", "path": ".github/workflows/llm-binary-build-py310.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:34.229694", "created_at": "2023-11-07T14:27:04+01:00", "updated_at": "2024-02-27T10:11:03+01:00", "name": "LLM Harness Evaluation", "path": ".github/workflows/llm-harness-evaluation.yml", "contents": "name: LLM Harness Evaluation\n\n# Cancel previous runs in the PR when you push new commits\nconcurrency:\n  group: ${{ github.workflow }}-llm-nightly-test-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\n# Controls when the action will run.\non:\n  schedule:\n    - cron: \"30 12 * * *\" # GMT time, 12:30 GMT == 20:30 China\n  pull_request:\n    branches: [main]\n    paths:\n      - \".github/workflows/llm-harness-evaluation.yml\"\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      model_name:\n        description: 'Model names, separated by comma and must be quoted.'\n        required: true\n        type: string\n      precision:\n        description: 'Precisions, separated by comma and must be quoted.'\n        required: true\n        type: string\n      task:\n        description: 'Tasks, separated by comma and must be quoted.'\n        required: true\n        type: string\n      runs-on:\n        description: 'Labels to filter the runners, separated by comma and must be quoted.'\n        default: \"accuracy\"\n        required: false\n        type: string\n\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  llm-cpp-build:\n    uses: ./.github/workflows/llm-binary-build.yml\n    with:\n      platform: 'Linux'\n  # Set the testing matrix based on the event (schedule, PR, or manual dispatch)\n  set-matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      model_name: ${{ steps.set-matrix.outputs.model_name }}\n      precision: ${{ steps.set-matrix.outputs.precision }}\n      task: ${{ steps.set-matrix.outputs.task }}\n      runner: ${{ steps.set-matrix.outputs.runner }}\n    steps:\n      - name: set-nightly-env\n        if: ${{github.event_name == 'schedule'}}\n        env:\n          NIGHTLY_MATRIX_MODEL_NAME: '[\"Llama2-7b-guanaco-dolphin-500\", \"falcon-7b-instruct-with-patch\", \n                        \"Mistral-7B-v0.1\", \"mpt-7b-chat\", \"Baichuan2-7B-Chat-LLaMAfied\"]'\n          NIGHTLY_MATRIX_TASK: '[\"arc\", \"truthfulqa\", \"winogrande\"]'\n          NIGHTLY_MATRIX_PRECISION: '[\"sym_int4\", \"fp8\"]'\n          NIGHTLY_LABELS: '[\"self-hosted\", \"llm\", \"accuracy-nightly\"]'\n        run: |\n            echo \"model_name=$NIGHTLY_MATRIX_MODEL_NAME\" >> $GITHUB_ENV\n            echo \"precision=$NIGHTLY_MATRIX_PRECISION\" >> $GITHUB_ENV\n            echo \"task=$NIGHTLY_MATRIX_TASK\" >> $GITHUB_ENV\n            echo \"runner=$NIGHTLY_LABELS\" >> $GITHUB_ENV\n\n      - name: set-pr-env\n        if: ${{github.event_name == 'pull_request'}}\n        env:\n          PR_MATRIX_MODEL_NAME: '[\"stablelm-3b-4e1t\"]'\n          PR_MATRIX_TASK: '[\"winogrande\"]'\n          PR_MATRIX_PRECISION: '[\"sym_int4\"]'\n          PR_LABELS: '[\"self-hosted\", \"llm\", \"temp-arc01\"]'\n\n        run: |\n            echo \"model_name=$PR_MATRIX_MODEL_NAME\" >> $GITHUB_ENV\n            echo \"precision=$PR_MATRIX_PRECISION\" >> $GITHUB_ENV\n            echo \"task=$PR_MATRIX_TASK\" >> $GITHUB_ENV\n            echo \"runner=$PR_LABELS\" >> $GITHUB_ENV\n      - name: set-manual-env\n        if: ${{github.event_name == 'workflow_dispatch'}}\n        env:\n          MANUAL_MATRIX_MODEL_NAME: ${{format('[ {0} ]', inputs.model_name)}}\n          MANUAL_MATRIX_TASK: ${{format('[ {0} ]', inputs.task)}}\n          MANUAL_MATRIX_PRECISION: ${{format('[ {0} ]', inputs.precision)}}\n          MANUAL_LABELS: ${{format('[\"self-hosted\", \"llm\", {0}]', inputs.runs-on)}}\n        run: |\n            echo \"model_name=$MANUAL_MATRIX_MODEL_NAME\" >> $GITHUB_ENV\n            echo \"precision=$MANUAL_MATRIX_PRECISION\" >> $GITHUB_ENV\n            echo \"task=$MANUAL_MATRIX_TASK\" >> $GITHUB_ENV\n            echo \"runner=$MANUAL_LABELS\" >> $GITHUB_ENV\n      - name: set-matrix\n        id: set-matrix\n        run: |\n            echo \"model_name=$model_name\" >> $GITHUB_OUTPUT\n            echo \"precision=$precision\" >> $GITHUB_OUTPUT\n            echo \"task=$task\" >> $GITHUB_OUTPUT\n            echo \"runner=$runner\" >> $GITHUB_OUTPUT\n  llm-harness-evaluation:\n    timeout-minutes: 1000\n    needs: [llm-cpp-build, set-matrix]\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n        model_name: ${{ fromJson(needs.set-matrix.outputs.model_name) }}\n        task: ${{ fromJson(needs.set-matrix.outputs.task) }}\n        precision: ${{ fromJson(needs.set-matrix.outputs.precision) }}\n        device: [xpu]\n        \n    runs-on: ${{ fromJson(needs.set-matrix.outputs.runner) }}\n    env:\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n      ORIGIN_DIR: /mnt/disk1/models\n      HARNESS_HF_HOME: /mnt/disk1/harness_home\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        shell: bash\n        run: |\n          set -e\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools==58.0.4\n          python -m pip install --upgrade wheel\n\n      - name: Download llm binary\n        uses: ./.github/actions/llm/download-llm-binary\n        with:\n          platform: 'Linux'\n\n      - name: Run LLM install (all) test\n        uses: ./.github/actions/llm/setup-llm-env\n        with:\n          extra-dependency: \"xpu_2.1\"\n\n      - name: Install harness\n        working-directory: ${{ github.workspace }}/python/llm/dev/benchmark/harness/\n        shell: bash\n        run: |\n          git clone https://github.com/EleutherAI/lm-evaluation-harness.git\n          cd lm-evaluation-harness\n          git checkout b281b09\n          pip install -e .\n      \n      - name: Download models and datasets\n        shell: bash\n        run: |\n          echo \"MODEL_PATH=${ORIGIN_DIR}/${{ matrix.model_name }}/\" >> \"$GITHUB_ENV\"\n          MODEL_PATH=${ORIGIN_DIR}/${{ matrix.model_name }}/\n          if [ ! -d $HARNESS_HF_HOME ]; then\n            mkdir -p $HARNESS_HF_HOME\n          fi\n          wget -r -nH -nc -l inf --no-verbose --cut-dirs=2 ${LLM_FTP_URL}/llm/LeaderBoard_Datasets/ -P $HARNESS_HF_HOME/\n          wget -r -nH -nc --no-verbose --cut-dirs=1 ${LLM_FTP_URL}/llm/${{ matrix.model_name }} -P ${ORIGIN_DIR}\n          \n      - name: Upgrade packages\n        shell: bash\n        run: |\n          pip install --upgrade datasets==2.14.6 \n\n      - name: Run harness\n        shell: bash\n        working-directory: ${{ github.workspace }}/python/llm/dev/benchmark/harness\n        env:\n          USE_XETLA: OFF\n          # SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS: 1\n        run: |\n          export HF_HOME=${HARNESS_HF_HOME}\n          export HF_DATASETS=$HARNESS_HF_HOME/datasets\n          export HF_DATASETS_CACHE=$HARNESS_HF_HOME/datasets\n          source /opt/intel/oneapi/setvars.sh\n          \n          # set --limit if it's pr-triggered to accelerate pr action\n          if ${{github.event_name == 'pull_request'}}; then\n            export LIMIT=\"--limit 6\"\n          fi\n\n          python run_llb.py \\\n            --model ipex-llm \\\n            --pretrained ${MODEL_PATH} \\\n            --precision ${{ matrix.precision }} \\\n            --device ${{ matrix.device }} \\\n            --tasks ${{ matrix.task }} \\\n            --batch_size 1 --no_cache --output_path results \\\n            $LIMIT\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: harness_results\n          path:\n            ${{ github.workspace }}/python/llm/dev/benchmark/harness/results/**\n\n      - name: echo single result\n        shell: bash\n        \n        working-directory: ${{ github.workspace }}/python/llm/dev/benchmark/harness/results/\n        run: |\n          cat ${{ matrix.model_name }}/${{ matrix.device }}/${{ matrix.precision }}/${{ matrix.task }}/result.json\n\n  llm-harness-summary:\n    if: ${{ always() }}\n    needs: llm-harness-evaluation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        shell: bash\n        run: |\n          pip install --upgrade pip\n          pip install jsonlines  pytablewriter regex\n      - name: Download all results\n        uses: actions/download-artifact@v3\n        with:\n          name: harness_results\n          path: results        \n      - name: Summarize the results\n        shell: bash\n        run: |\n          ls results\n          python ${{ github.workspace }}/python/llm/dev/benchmark/harness/make_table.py results\n\n  # TODO: change machine to store the results later        \n  llm-harness-html:\n    if: ${{github.event_name == 'schedule' || github.event_name == 'pull_request'}}\n    needs: [llm-harness-evaluation]\n    runs-on: [\"self-hosted\", \"llm\", \"accuracy1\", \"accuracy-nightly\"]\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        shell: bash\n        run: |\n          pip install --upgrade pip\n          pip install jsonlines  pytablewriter regex\n          pip install pandas==1.5.3\n      \n      - name: Set output path\n        shell: bash\n        run: |    \n          echo \"DATE=$(date +%Y-%m-%d)\" >> $GITHUB_ENV\n          if ${{github.event_name == 'pull_request'}}; then\n            echo 'ACC_FOLDER=/home/arda/action-runners/harness/pr-accuracy-data' >> $GITHUB_ENV\n          fi\n          if ${{github.event_name == 'schedule'}}; then\n            echo 'ACC_FOLDER=/home/arda/action-runners/harness/nightly-accuracy-data' >> $GITHUB_ENV\n          fi\n\n      - name: Download harness results\n        uses: actions/download-artifact@v3\n        with:\n          name: harness_results\n          path: ${{ env.ACC_FOLDER}}/${{ env.DATE }}\n\n\n      # Save fp16.csv in the parent folder of env.nightly_folder\n      - name: Download FP16 results\n        shell: bash\n        run: |\n          wget https://raw.githubusercontent.com/intel-analytics/ipex-llm/main/python/llm/test/benchmark/harness/fp16.csv -O $ACC_FOLDER/../fp16.csv\n          ls $ACC_FOLDER/..\n\n      - name: Write to CSV\n        working-directory: ${{ github.workspace }}/python/llm/dev/benchmark/harness\n        shell: bash\n        run: |\n          ls $ACC_FOLDER/$DATE\n          python make_csv.py $ACC_FOLDER/$DATE $ACC_FOLDER\n\n      - name: Update HTML\n        working-directory: ${{ github.workspace }}/python/llm/test/benchmark/harness\n        shell: bash\n        run: |\n          python harness_csv_to_html.py -f $ACC_FOLDER\n          if ${{github.event_name == 'schedule'}}; then\n            python update_html_in_parent_folder.py -f $ACC_FOLDER\n          fi", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:35.244432", "created_at": "2023-12-26T10:25:57+01:00", "updated_at": "2023-12-28T01:56:32+01:00", "name": "LLM Stress Test for Stable Version", "path": ".github/workflows/llm_stress_tests_stable_version.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:36.381432", "created_at": "2024-02-02T07:36:51+01:00", "updated_at": "2024-02-20T06:30:05+01:00", "name": "LLM Perplexity Evaluation", "path": ".github/workflows/llm-ppl-evaluation.yml", "contents": "name: LLM Perplexity Evaluation\n\n# Cancel previous runs in the PR when you push new commits\nconcurrency:\n  group: ${{ github.workflow }}-llm-nightly-test-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\n# Controls when the action will run.\non:\n  schedule:\n    - cron: \"00 12 * * *\" # GMT time, 12:00 GMT == 20:00 China\n  pull_request:\n    branches: [main]\n    paths:\n      - \".github/workflows/llm-ppl-evaluation.yml\"\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      seq_len:\n        description: 'sequence length, input one number and must be quoted.'\n        required: true\n        type: string      \n      model_name:\n        description: 'Model names, separated by comma and must be quoted.'\n        required: true\n        type: string\n      precision:\n        description: 'Precisions, separated by comma and must be quoted.'\n        required: true\n        type: string\n      runs-on:\n        description: 'Labels to filter the runners, separated by comma and must be quoted.'\n        default: \"accuracy\"\n        required: false\n        type: string\n\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  llm-cpp-build:\n    uses: ./.github/workflows/llm-binary-build.yml\n    with:\n      platform: 'Linux'\n  set-matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      seq_len: ${{ steps.set-matrix.outputs.seq_len }}\n      model_name: ${{ steps.set-matrix.outputs.model_name }}\n      precision: ${{ steps.set-matrix.outputs.precision }}\n      runner: ${{ steps.set-matrix.outputs.runner }}\n    steps:\n      - name: set-nightly-env\n        if: ${{github.event_name == 'schedule'}}\n        env:\n          NIGHTLY_MATRIX_SEQ_LEN: '[\"512\"]'\n          NIGHTLY_MATRIX_MODEL_NAME: '[\"Llama-2-7b-chat-hf\", \"mpt-7b-chat\", \n                        \"falcon-7b-instruct-with-patch\", \"Mistral-7B-v0.1\",\n                        \"chatglm2-6b\", \"chatglm3-6b\", \"Baichuan2-7B-Chat\"]'\n          NIGHTLY_MATRIX_PRECISION: '[\"sym_int4\", \"fp8\"]'\n          NIGHTLY_LABELS: '[\"self-hosted\", \"llm\", \"accuracy-nightly\"]'\n        run: |\n            echo \"seq_len=$NIGHTLY_MATRIX_SEQ_LEN\" >> $GITHUB_ENV\n            echo \"model_name=$NIGHTLY_MATRIX_MODEL_NAME\" >> $GITHUB_ENV\n            echo \"precision=$NIGHTLY_MATRIX_PRECISION\" >> $GITHUB_ENV\n            echo \"runner=$NIGHTLY_LABELS\" >> $GITHUB_ENV\n\n      - name: set-pr-env\n        if: ${{github.event_name == 'pull_request'}}\n        env:\n          PR_MATRIX_SEQ_LEN: '[\"512\"]'\n          PR_MATRIX_MODEL_NAME: '[\"Llama-2-7b-chat-hf\", \"chatglm3-6b\"]'\n          PR_MATRIX_PRECISION: '[\"sym_int4\"]'\n          PR_LABELS: '[\"self-hosted\", \"llm\", \"temp-arc01\"]'\n        run: |\n            echo \"seq_len=$PR_MATRIX_SEQ_LEN\" >> $GITHUB_ENV\n            echo \"model_name=$PR_MATRIX_MODEL_NAME\" >> $GITHUB_ENV\n            echo \"precision=$PR_MATRIX_PRECISION\" >> $GITHUB_ENV\n            echo \"runner=$PR_LABELS\" >> $GITHUB_ENV\n      - name: set-manual-env\n        if: ${{github.event_name == 'workflow_dispatch'}}\n        env:\n          MANUAL_MATRIX_SEQ_LEN: ${{format('[ {0} ]', inputs.seq_len)}}\n          MANUAL_MATRIX_MODEL_NAME: ${{format('[ {0} ]', inputs.model_name)}}\n          MANUAL_MATRIX_PRECISION: ${{format('[ {0} ]', inputs.precision)}}\n          MANUAL_LABELS: ${{format('[\"self-hosted\", \"llm\", {0}]', inputs.runs-on)}}\n        run: |\n            echo \"seq_len=$MANUAL_MATRIX_SEQ_LEN\" >> $GITHUB_ENV\n            echo \"model_name=$MANUAL_MATRIX_MODEL_NAME\" >> $GITHUB_ENV\n            echo \"precision=$MANUAL_MATRIX_PRECISION\" >> $GITHUB_ENV\n            echo \"runner=$MANUAL_LABELS\" >> $GITHUB_ENV\n      - name: set-matrix\n        id: set-matrix\n        run: |\n            echo \"seq_len=$seq_len\" >> $GITHUB_OUTPUT\n            echo \"model_name=$model_name\" >> $GITHUB_OUTPUT\n            echo \"precision=$precision\" >> $GITHUB_OUTPUT\n            echo \"runner=$runner\" >> $GITHUB_OUTPUT\n  llm-ppl-evaluation:\n    timeout-minutes: 1000\n    needs: [llm-cpp-build, set-matrix]\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n        model_name: ${{ fromJson(needs.set-matrix.outputs.model_name) }}\n        precision: ${{ fromJson(needs.set-matrix.outputs.precision) }}\n        seq_len: ${{ fromJson(needs.set-matrix.outputs.seq_len) }}\n        device: [xpu]\n        \n    runs-on: ${{ fromJson(needs.set-matrix.outputs.runner) }}\n    env:\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n      ORIGIN_DIR: /mnt/disk1/models\n      DATASET_DIR: /mnt/disk1/datasets/THUDM___long_bench/\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools==58.0.4\n          python -m pip install --upgrade wheel\n\n      - name: Download llm binary\n        uses: ./.github/actions/llm/download-llm-binary\n        with:\n          platform: 'Linux'\n\n      - name: Run LLM install (all) test\n        uses: ./.github/actions/llm/setup-llm-env\n        with:\n          extra-dependency: \"xpu_2.1\"\n      \n      - name: Download models\n        shell: bash\n        run: |\n          echo \"MODEL_PATH=${ORIGIN_DIR}/${{ matrix.model_name }}/\" >> \"$GITHUB_ENV\"\n          MODEL_PATH=${ORIGIN_DIR}/${{ matrix.model_name }}/\n          wget -r -nH -nc --no-verbose --cut-dirs=1 ${LLM_FTP_URL}/llm/${{ matrix.model_name }} -P ${ORIGIN_DIR}\n\n      - name: Upgrade packages\n        shell: bash\n        run: |\n          pip install --upgrade datasets==2.14.6\n\n      - name: Run perplexity\n        shell: bash\n        working-directory: ${{ github.workspace }}/python/llm/dev/benchmark/perplexity\n        env:\n          USE_XETLA: OFF\n          SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS: 1\n        run: |\n          source /opt/intel/oneapi/setvars.sh\n          if [[ \"${{ matrix.model_name }}\" == *\"chatglm\"* || \"${{ matrix.model_name }}\" == *\"Baichuan\"* ]]; then\n            LANGUAGE=\"zh\"\n          else\n            LANGUAGE=\"en\"\n          fi\n          python run.py \\\n          --seq_len ${{ matrix.seq_len }} \\\n          --model_path ${MODEL_PATH} \\\n          --precisions ${{ matrix.precision }} \\\n          --device ${{ matrix.device }} \\\n          --dataset_path ${DATASET_DIR} \\\n          --language ${LANGUAGE} \\\n          --output_path results\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: ppl_results\n          path:\n            ${{ github.workspace }}/python/llm/dev/benchmark/perplexity/results/**\n\n      - name: echo single result\n        shell: bash\n            \n        working-directory: ${{ github.workspace }}/python/llm/dev/benchmark/perplexity/results/\n        run: |\n          if [[ \"${{ matrix.model_name }}\" == *\"chatglm\"* || \"${{ matrix.model_name }}\" == *\"Baichuan\"* ]]; then\n            LANGUAGE=\"zh\"\n          else\n            LANGUAGE=\"en\"\n          fi\n          cat ${{ matrix.model_name }}/${{ matrix.device }}/${{ matrix.precision }}/${LANGUAGE}/result.json\n\n  llm-ppl-summary:\n    if: ${{ always() }}\n    needs: llm-ppl-evaluation\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        shell: bash\n        run: |\n          pip install --upgrade pip\n          pip install jsonlines  pytablewriter regex\n      - name: Download all results\n        uses: actions/download-artifact@v3\n        with:\n          name: ppl_results\n          path: results        \n      - name: Summarize the results\n        shell: bash\n        run: |\n          ls results\n          python ${{ github.workspace }}/python/llm/dev/benchmark/perplexity/make_table.py results\n\n  llm-ppl-html:\n    if: ${{github.event_name == 'schedule' || github.event_name == 'pull_request'}}\n    needs: [llm-ppl-evaluation]\n    runs-on: [\"self-hosted\", \"llm\", \"accuracy1\", \"accuracy-nightly\"]\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        shell: bash\n        run: |\n          pip install --upgrade pip\n          pip install jsonlines  pytablewriter regex\n          pip install pandas==1.5.3\n      \n      - name: Set output path\n        shell: bash\n        run: |    \n          echo \"DATE=$(date +%Y-%m-%d)\" >> $GITHUB_ENV\n          if ${{github.event_name == 'pull_request'}}; then\n            echo 'ACC_FOLDER=/home/arda/action-runners/ppl/pr-accuracy-data' >> $GITHUB_ENV\n          fi\n          if ${{github.event_name == 'schedule'}}; then\n            echo 'ACC_FOLDER=/home/arda/action-runners/ppl/nightly-accuracy-data' >> $GITHUB_ENV\n          fi\n  \n      - name: Download ppl results\n        uses: actions/download-artifact@v3\n        with:\n          name: ppl_results\n          path: ${{ env.ACC_FOLDER}}/${{ env.DATE }}\n\n      # Save fp16.csv in the parent folder of env.nightly_folder\n      - name: Download fp16.results\n        shell: bash\n        run: |\n          wget https://raw.githubusercontent.com/intel-analytics/ipex-llm/main/python/llm/test/benchmark/perplexity/fp16.csv -O $ACC_FOLDER/../fp16.csv\n          ls $ACC_FOLDER/..\n\n      - name: Write to CSV\n        working-directory: ${{ github.workspace }}/python/llm/dev/benchmark/perplexity\n        shell: bash\n        run: |\n          ls $ACC_FOLDER/$DATE\n          python make_csv.py $ACC_FOLDER/$DATE $ACC_FOLDER\n\n      - name: Update HTML\n        working-directory: ${{ github.workspace }}/python/llm/test/benchmark/perplexity\n        shell: bash\n        run: |\n          python ppl_csv_to_html.py -f $ACC_FOLDER\n          if ${{github.event_name == 'schedule'}}; then\n            python ../harness/update_html_in_parent_folder.py -f $ACC_FOLDER\n          fi\n", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:37.523934", "created_at": "2024-02-04T04:08:17+01:00", "updated_at": "2024-02-04T04:08:17+01:00", "name": "ARC LLM Test for Stable Version", "path": ".github/workflows/llm_tests_for_stable_version_on_arc.yml", "contents": "name: ARC LLM Test for Stable Version\n\n# Cancel previous runs in the PR when you push new commits\nconcurrency:\n  group: ${{ github.workflow }}-llm-performance-tests-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\n# Controls when the action will run.\non:\n  # pull_request:\n  #   branches: [main]\n  #   paths:\n  #     - \".github/workflows/llm_performance_tests.yml\"\n  #     - \"python/llm/test/benchmark/**\"\n  #     - \"python/llm/dev/benchmark/all-in-one/**\"\n  workflow_dispatch:\n  workflow_call:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  llm-cpp-build:\n    uses: ./.github/workflows/llm-binary-build.yml\n    with:\n      platform: 'Linux'\n  llm-perf-regression-test-on-arc:\n    needs: llm-cpp-build\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n    runs-on: [self-hosted, llm, perf]\n    env:\n      OMP_NUM_THREADS: 16\n      THREAD_NUM: 16\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n      CSV_SAVE_PATH: '/mnt/disk1/stable_version_perf_gpu/'\n\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        shell: bash\n        # pip install transformers_stream_generator for model internlm-chat-7b-8k\n        # pip install tiktoken for model Qwen-7B-Chat-10-12\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade wheel\n          python -m pip install --upgrade omegaconf\n          python -m pip install --upgrade pandas\n          python -m pip install --upgrade einops\n          python -m pip install --upgrade transformers_stream_generator\n          python -m pip install --upgrade tiktoken\n\n      - name: Download llm binary\n        uses: ./.github/actions/llm/download-llm-binary\n        with:\n          platform: 'Linux'\n\n      - name: Run LLM install (all) test\n        uses: ./.github/actions/llm/setup-llm-env\n        with:\n          extra-dependency: \"xpu_2.1\"\n\n      - name: Test installed xpu version\n        shell: bash\n        run: |\n          source /opt/intel/oneapi/setvars.sh\n          bash python/llm/test/run-llm-install-tests.sh\n\n      - name: Test on xpu (int4)\n        shell: bash\n        run: |\n          source /opt/intel/oneapi/setvars.sh\n          export USE_XETLA=OFF\n          export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1\n          mv python/llm/test/benchmark/stable-version-arc-perf-test-sym_int4.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          # hide time info\n          sed -i 's/str(end - st)/\"xxxxxx\"/g' run.py\n          # batch_size = 1\n          sed -i '/batch_size/c\\batch_size: 1' config.yaml\n          python run.py\n          cp ./*.csv $CSV_SAVE_PATH/int4/batch_size_1\n          rm ./*.csv\n          # batch_size = 2\n          sed -i '/batch_size/c\\batch_size: 2' config.yaml\n          python run.py\n          cp ./*.csv $CSV_SAVE_PATH/int4/batch_size_2\n          rm ./*.csv\n          # batch_size = 4\n          sed -i '/batch_size/c\\batch_size: 4' config.yaml\n          python run.py\n          cp ./*.csv $CSV_SAVE_PATH/int4/batch_size_4\n          rm ./*.csv\n          # batch_size = 8\n          sed -i '/batch_size/c\\batch_size: 8' config.yaml\n          python run.py\n          cp ./*.csv $CSV_SAVE_PATH/int4/batch_size_8\n          rm ./*.csv\n          cd ../../../test/benchmark\n          python -m pip install pandas==1.5.3\n          python csv_to_html.py -f $CSV_SAVE_PATH/int4/batch_size_1 -b $CSV_SAVE_PATH/int4/batch_size_1/transformer_int4_gpu-results-1baseline.csv -t 5.0\n          python csv_to_html.py -f $CSV_SAVE_PATH/int4/batch_size_2 -b $CSV_SAVE_PATH/int4/batch_size_2/transformer_int4_gpu-results-1baseline.csv -t 5.0\n          python csv_to_html.py -f $CSV_SAVE_PATH/int4/batch_size_4 -b $CSV_SAVE_PATH/int4/batch_size_4/transformer_int4_gpu-results-1baseline.csv -t 5.0\n          python csv_to_html.py -f $CSV_SAVE_PATH/int4/batch_size_8 -b $CSV_SAVE_PATH/int4/batch_size_8/transformer_int4_gpu-results-1baseline.csv -t 5.0\n  \n      - name: Test on xpu (fp8)\n        shell: bash\n        run: |\n          source /opt/intel/oneapi/setvars.sh\n          export USE_XETLA=OFF\n          export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1\n          mv python/llm/test/benchmark/stable-version-arc-perf-test-fp8.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          # hide time info\n          sed -i 's/str(end - st)/\"xxxxxx\"/g' run.py\n          # batch_size = 1\n          sed -i '/batch_size/c\\batch_size: 1' config.yaml\n          python run.py\n          cp ./*.csv $CSV_SAVE_PATH/fp8/batch_size_1\n          rm ./*.csv\n          # batch_size = 2\n          sed -i '/batch_size/c\\batch_size: 2' config.yaml\n          python run.py\n          cp ./*.csv $CSV_SAVE_PATH/fp8/batch_size_2\n          rm ./*.csv\n          # batch_size = 4\n          sed -i '/batch_size/c\\batch_size: 4' config.yaml\n          python run.py\n          cp ./*.csv $CSV_SAVE_PATH/fp8/batch_size_4\n          rm ./*.csv\n          # batch_size = 8\n          sed -i '/batch_size/c\\batch_size: 8' config.yaml\n          python run.py\n          cp ./*.csv $CSV_SAVE_PATH/fp8/batch_size_8\n          rm ./*.csv\n          cd ../../../test/benchmark\n          python -m pip install pandas==1.5.3\n          python csv_to_html.py -f $CSV_SAVE_PATH/fp8/batch_size_1 -b $CSV_SAVE_PATH/fp8/batch_size_1/transformer_int4_gpu-results-1baseline.csv -t 5.0\n          python csv_to_html.py -f $CSV_SAVE_PATH/fp8/batch_size_2 -b $CSV_SAVE_PATH/fp8/batch_size_2/transformer_int4_gpu-results-1baseline.csv -t 5.0\n          python csv_to_html.py -f $CSV_SAVE_PATH/fp8/batch_size_4 -b $CSV_SAVE_PATH/fp8/batch_size_4/transformer_int4_gpu-results-1baseline.csv -t 5.0\n          python csv_to_html.py -f $CSV_SAVE_PATH/fp8/batch_size_8 -b $CSV_SAVE_PATH/fp8/batch_size_8/transformer_int4_gpu-results-1baseline.csv -t 5.0\n  \n  llm-stress-test-on-arc:\n    needs: llm-perf-regression-test-on-arc\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n    runs-on: [self-hosted, llm, perf]\n    env:\n      OMP_NUM_THREADS: 16\n      THREAD_NUM: 16\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n      CSV_SAVE_PATH: '/mnt/disk1/stable_version_stress_test_gpu/'\n\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        shell: bash\n        # pip install transformers_stream_generator for model internlm-chat-7b-8k\n        # pip install tiktoken for model Qwen-7B-Chat-10-12\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade wheel\n          python -m pip install --upgrade omegaconf\n          python -m pip install --upgrade pandas\n          python -m pip install --upgrade einops\n          python -m pip install --upgrade transformers_stream_generator\n          python -m pip install --upgrade tiktoken\n\n      - name: Download llm binary\n        uses: ./.github/actions/llm/download-llm-binary\n\n      - name: Run LLM install (all) test\n        uses: ./.github/actions/llm/setup-llm-env\n        with:\n          extra-dependency: \"xpu_2.1\"\n\n      - name: Test installed xpu version\n        shell: bash\n        run: |\n          source /opt/intel/oneapi/setvars.sh\n          bash python/llm/test/run-llm-install-tests.sh\n\n      - name: Test on xpu (int4)\n        shell: bash\n        run: |\n          source /opt/intel/oneapi/setvars.sh\n          export USE_XETLA=OFF\n          export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1\n          mv python/llm/test/benchmark/stable-version-arc-stress-test-sym_int4.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          # hide time info\n          sed -i 's/str(end - st)/\"xxxxxx\"/g' run-stress-test.py\n          python run-stress-test.py\n          cp ./*.csv $CSV_SAVE_PATH/int4\n          rm ./*.csv\n          cd ../../../test/benchmark\n          python -m pip install pandas==1.5.3\n          python csv_to_html.py -f $CSV_SAVE_PATH/int4\n\n      - name: Test on xpu (fp8)\n        shell: bash\n        run: |\n          source /opt/intel/oneapi/setvars.sh\n          export USE_XETLA=OFF\n          export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1\n          mv python/llm/test/benchmark/stable-version-arc-stress-test-fp8.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          # hide time info\n          sed -i 's/str(end - st)/\"xxxxxx\"/g' run-stress-test.py\n          python run-stress-test.py\n          cp ./*.csv $CSV_SAVE_PATH/fp8\n          rm ./*.csv\n          cd ../../../test/benchmark\n          python -m pip install pandas==1.5.3\n          python csv_to_html.py -f $CSV_SAVE_PATH/fp8\n", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:38.634219", "created_at": "2024-02-04T04:08:17+01:00", "updated_at": "2024-02-04T04:08:17+01:00", "name": "SPR LLM Test for Stable Version", "path": ".github/workflows/llm_tests_for_stable_version_on_spr.yml", "contents": "name: SPR LLM Test for Stable Version\n\n# Cancel previous runs in the PR when you push new commits\nconcurrency:\n  group: ${{ github.workflow }}-llm-performance-tests-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\n# Controls when the action will run.\non:\n  # pull_request:\n  #   branches: [main]\n  #   paths:\n  #     - \".github/workflows/llm_performance_tests.yml\"\n  #     - \"python/llm/test/benchmark/**\"\n  #     - \"python/llm/dev/benchmark/all-in-one/**\"\n  workflow_dispatch:\n  workflow_call:\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  llm-cpp-build:\n    uses: ./.github/workflows/llm-binary-build.yml\n\n  llm-perf-regression-test-on-spr:\n    needs: llm-cpp-build\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n    runs-on: [self-hosted, llm, spr01-perf]\n    env:\n      OMP_NUM_THREADS: 16\n      THREAD_NUM: 16\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade wheel\n          python -m pip install --upgrade omegaconf\n          python -m pip install --upgrade pandas\n          python -m pip install --upgrade einops\n          python -m pip install --upgrade tiktoken\n          python -m pip install --upgrade transformers_stream_generator\n\n      - name: Download llm binary\n        uses: ./.github/actions/llm/download-llm-binary\n\n      - name: Run LLM install (all) test\n        uses: ./.github/actions/llm/setup-llm-env\n\n      - name: Test on cpu\n        shell: bash\n        run: |\n          mv python/llm/test/benchmark/stable-version-cpu-perf-test.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          export http_proxy=${HTTP_PROXY}\n          export https_proxy=${HTTPS_PROXY}\n          source ipex-llm-init -t\n          export OMP_NUM_THREADS=48\n          # hide time info\n          sed -i 's/str(end - st)/\"xxxxxx\"/g' run.py\n          python run.py\n          cp ./*.csv /models/stable_version_perf_regression_test_cpu/\n          cd ../../../test/benchmark\n          python -m pip install pandas==1.5.3\n          python csv_to_html.py -f /models/stable_version_perf_regression_test_cpu/ -b /models/stable_version_perf_regression_test_cpu/transformer_int4-results-1baseline.csv -t 10.0\n          cd /models/stable_version_perf_regression_test_cpu/\n          for f in *.html; do\n            curl -T \"$f\" ${LLM_FTP_URL}/llm/nightly_perf/stable_version_cpu/regression_test/\n          done\n\n\n  llm-stress-test-on-spr:\n    needs: llm-perf-regression-test-on-spr\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n    runs-on: [self-hosted, llm, spr01-perf]\n    env:\n      OMP_NUM_THREADS: 16\n      THREAD_NUM: 16\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade wheel\n          python -m pip install --upgrade omegaconf\n          python -m pip install --upgrade pandas\n          python -m pip install --upgrade einops\n          python -m pip install --upgrade tiktoken\n          python -m pip install --upgrade transformers_stream_generator\n\n      - name: Download llm binary\n        uses: ./.github/actions/llm/download-llm-binary\n\n      - name: Run LLM install (all) test\n        uses: ./.github/actions/llm/setup-llm-env\n\n      - name: Test on cpu\n        shell: bash\n        run: |\n          mv python/llm/test/benchmark/stable-version-cpu-stress-test.yaml python/llm/dev/benchmark/all-in-one/config.yaml\n          cd python/llm/dev/benchmark/all-in-one\n          export http_proxy=${HTTP_PROXY}\n          export https_proxy=${HTTPS_PROXY}\n          source ipex-llm-init -t\n          export OMP_NUM_THREADS=48\n          # hide time info\n          sed -i 's/str(end - st)/\"xxxxxx\"/g' run-stress-test.py\n          python run-stress-test.py\n          cp ./*.csv /models/stable_version_stress_test_cpu/\n          cd ../../../test/benchmark\n          python -m pip install pandas==1.5.3\n          python csv_to_html.py -f /models/stable_version_stress_test_cpu/\n          # cd /models/stable_version_stress_test_cpu/\n          # for f in *.html; do\n          #   curl -T \"$f\" ${LLM_FTP_URL}/llm/nightly_perf/stable_version_cpu/stress_test/\n          # done", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:39.964007", "created_at": "2024-02-06T03:54:50+01:00", "updated_at": "2024-03-27T09:51:11+01:00", "name": "Scorecard supply-chain security", "path": ".github/workflows/scorecard.yml", "contents": "# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n  # For Branch-Protection check. Only the default branch is supported. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n  branch_protection_rule:\n  # To guarantee Maintained check is occasionally updated. See\n  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n  schedule:\n    - cron: '26 2 * * *'\n  # push:\n  #   branches: [ \"main\" ]\n  workflow_dispatch:\n  # pull_request:\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n  analysis:\n    name: Scorecard analysis\n    runs-on: ubuntu-latest\n    permissions:\n      # Needed to upload the results to code-scanning dashboard.\n      security-events: write\n      # Needed to publish results and get a badge (see publish_results below).\n      id-token: write\n      # Uncomment the permissions below if installing in a private repository.\n      # contents: read\n      # actions: read\n\n    steps:\n      - name: \"Checkout code\"\n        uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0\n        with:\n          persist-credentials: false\n\n      - name: \"Run analysis\"\n        uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1\n        with:\n          results_file: results.sarif\n          results_format: sarif\n          # (Optional) \"write\" PAT token. Uncomment the `repo_token` line below if:\n          # - you want to enable the Branch-Protection check on a *public* repository, or\n          # - you are installing Scorecard on a *private* repository\n          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n          # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n          # Public repositories:\n          #   - Publish results to OpenSSF REST API for easy access by consumers\n          #   - Allows the repository to include the Scorecard badge.\n          #   - See https://github.com/ossf/scorecard-action#publishing-results.\n          # For private repositories:\n          #   - `publish_results` will always be set to `false`, regardless\n          #     of the value entered here.\n          publish_results: true\n\n      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n      # format to the repository Actions tab.\n      - name: \"Upload artifact\"\n        uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0\n        with:\n          name: SARIF file\n          path: results.sarif\n          retention-days: 5\n\n      # Upload the results to GitHub's code scanning dashboard.\n      - name: \"Upload to code-scanning\"\n        uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4\n        with:\n          sarif_file: results.sarif\n", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:41.092473", "created_at": "2024-02-20T02:50:08+01:00", "updated_at": "2024-03-12T02:47:08+01:00", "name": "LLM C-Eval", "path": ".github/workflows/llm-c-evaluation.yml", "contents": "name: LLM C-Eval\n\n# Cancel previous runs in the PR when you push new commits\nconcurrency:\n  group: ${{ github.workflow }}-llm-nightly-test-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\n# Controls when the action will run.\non:\n  schedule:\n    - cron: \"00 15 * * *\" # GMT time, 15:00 GMT == 23:00 Beijing Time\n  pull_request:\n    branches: [main]\n    paths:\n      - \".github/workflows/llm-c-evaluation.yml\"\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      model_name:\n        description: 'Model names, separated by comma and must be quoted.'\n        required: true\n        type: string\n      precision:\n        description: 'Precisions, separated by comma and must be quoted.'\n        required: true\n        type: string\n      runs-on:\n        description: 'Labels to filter the runners, separated by comma and must be quoted.'\n        default: \"accuracy\"\n        required: false\n        type: string\n\n# A workflow run is made up of one or more jobs that can run sequentially\njobs:\n  llm-cpp-build:\n    uses: ./.github/workflows/llm-binary-build.yml\n    with:\n      platform: 'Linux'\n  # Set the testing matrix based on the event (schedule, PR, or manual dispatch)\n  set-matrix:\n    runs-on: ubuntu-latest\n    outputs:\n      model_name: ${{ steps.set-matrix.outputs.model_name }}\n      precision: ${{ steps.set-matrix.outputs.precision }}\n      runner: ${{ steps.set-matrix.outputs.runner }}\n      date: ${{ steps.set-matrix.outputs.date }}\n    steps:\n      - name: set-nightly-env        \n        if: ${{github.event_name == 'schedule'}}\n        env:\n          NIGHTLY_MATRIX_MODEL_NAME: '[\"chatglm2-6b\",\"chinese-llama2-7b\", \"Qwen-7B-Chat\"]'\n          NIGHTLY_MATRIX_PRECISION: '[\"sym_int4\", \"fp8_e5m2\"]'\n          NIGHTLY_LABELS: '[\"self-hosted\", \"llm\", \"accuracy-nightly\"]'\n        run: |\n            echo \"model_name=$NIGHTLY_MATRIX_MODEL_NAME\" >> $GITHUB_ENV\n            echo \"precision=$NIGHTLY_MATRIX_PRECISION\" >> $GITHUB_ENV\n            echo \"runner=$NIGHTLY_LABELS\" >> $GITHUB_ENV\n\n      - name: set-pr-env\n        if: ${{github.event_name == 'pull_request'}}\n        env:\n          PR_MATRIX_MODEL_NAME: '[\"Qwen-7B-Chat\"]'\n          PR_MATRIX_PRECISION: '[\"sym_int4\", \"fp8_e5m2\"]'\n          PR_LABELS: '[\"self-hosted\", \"llm\", \"temp-arc01\"]'\n        run: |\n            echo \"model_name=$PR_MATRIX_MODEL_NAME\" >> $GITHUB_ENV\n            echo \"precision=$PR_MATRIX_PRECISION\" >> $GITHUB_ENV\n            echo \"runner=$PR_LABELS\" >> $GITHUB_ENV\n\n      - name: set-manual-env\n        if: ${{github.event_name == 'workflow_dispatch'}}\n        env:\n          MANUAL_MATRIX_MODEL_NAME: ${{format('[ {0} ]', inputs.model_name)}}\n          MANUAL_MATRIX_PRECISION: ${{format('[ {0} ]', inputs.precision)}}\n          MANUAL_LABELS: ${{format('[\"self-hosted\", \"llm\", {0}]', inputs.runs-on)}}\n        run: |\n            echo \"model_name=$MANUAL_MATRIX_MODEL_NAME\" >> $GITHUB_ENV\n            echo \"precision=$MANUAL_MATRIX_PRECISION\" >> $GITHUB_ENV\n            echo \"runner=$MANUAL_LABELS\" >> $GITHUB_ENV\n\n      - name: set-matrix\n        id: set-matrix\n        run: |\n            echo \"model_name=$model_name\" >> $GITHUB_OUTPUT\n            echo \"precision=$precision\" >> $GITHUB_OUTPUT\n            echo \"runner=$runner\" >> $GITHUB_OUTPUT\n            echo \"date=$(date +%Y-%m-%d)\" >> $GITHUB_OUTPUT\n\n  llm-c-evaluation:\n    timeout-minutes: 1200\n    needs: [llm-cpp-build, set-matrix]\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n        model_name: ${{ fromJson(needs.set-matrix.outputs.model_name) }}\n        precision: ${{ fromJson(needs.set-matrix.outputs.precision) }}\n        device: [xpu]\n\n    runs-on: ${{ fromJson(needs.set-matrix.outputs.runner) }}\n    env:\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n      ORIGIN_DIR: /mnt/disk1/models\n      CEVAL_HF_HOME: /mnt/disk1/ceval_home\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade setuptools==58.0.4\n          python -m pip install --upgrade wheel\n\n      - name: Download llm binary\n        uses: ./.github/actions/llm/download-llm-binary\n        with:\n          platform: 'Linux'\n\n      - name: Run LLM install (all) test\n        uses: ./.github/actions/llm/setup-llm-env\n        with:\n          extra-dependency: \"xpu_2.1\"\n      \n      - name: Download models and datasets\n        shell: bash\n        run: |\n          echo \"MODEL_PATH=${ORIGIN_DIR}/${{ matrix.model_name }}/\" >> \"$GITHUB_ENV\"\n          MODEL_PATH=${ORIGIN_DIR}/${{ matrix.model_name }}/\n          if [ ! -d $CEVAL_HF_HOME ]; then\n            mkdir -p $CEVAL_HF_HOME\n          fi\n          if [ ! -d \"$CEVAL_HF_HOME/data\" ]; then\n            mkdir -p \"$CEVAL_HF_HOME/data\"\n          fi\n          if [ -d \"$CEVAL_HF_HOME/data/dev\" ]; then\n              rm -rf \"$CEVAL_HF_HOME/data/dev\"\n          fi\n\n          if [ -d \"$CEVAL_HF_HOME/data/test\" ]; then\n              rm -rf \"$CEVAL_HF_HOME/data/test\"\n          fi\n\n          if [ -d \"$CEVAL_HF_HOME/data/val\" ]; then\n              rm -rf \"$CEVAL_HF_HOME/data/val\"\n          fi\n          wget -r -nH -nc --no-verbose --cut-dirs=1 ${LLM_FTP_URL}/llm/ceval-exam.zip -P \"$CEVAL_HF_HOME/data\"\n          echo \"DATA_PATH=$CEVAL_HF_HOME/data\" >> \"$GITHUB_ENV\"\n          DATA_PATH=$CEVAL_HF_HOME/data\n          unzip -o \"$CEVAL_HF_HOME/data/ceval-exam.zip\" -d \"$CEVAL_HF_HOME/data\"\n          wget -r -nH -nc --no-verbose --cut-dirs=1 ${LLM_FTP_URL}/llm/${{ matrix.model_name }} -P ${ORIGIN_DIR}\n\n      - name: Install New Dependencies\n        shell: bash\n        run: |\n          pip install einops\n          pip install thefuzz\n          pip install tiktoken\n          pip install numpy==1.26.3\n          pip install pandas==1.5.3\n          pip install transformers_stream_generator\n\n      - name: Run C-Eval\n        shell: bash\n        working-directory: ${{ github.workspace }}/python/llm/dev/benchmark/ceval\n        env:\n          USE_XETLA: OFF\n          SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS: 1\n        run: |\n          source /opt/intel/oneapi/setvars.sh\n          python eval.py \\\n          --model_path ${MODEL_PATH} \\\n          --eval_type validation \\\n          --device xpu \\\n          --eval_data_path ${DATA_PATH} \\\n          --qtype ${{ matrix.precision }}\n        \n      - uses: actions/upload-artifact@v3\n        with:\n          name: ceval_results\n          path:\n            ${{ github.workspace }}/python/llm/dev/benchmark/ceval/results/**\n\n  llm-ceval-summary:\n    if: ${{ always() }}\n    needs: [set-matrix, llm-c-evaluation]\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        shell: bash\n        run: |\n          pip install --upgrade pip\n          pip install pandas==1.5.3\n\n      - name: Download ceval results\n        uses: actions/download-artifact@v3\n        with:\n          name: ceval_results\n          path: results\n\n      - name: Summarize the results\n        shell: bash\n        run: |\n          ls results\n          echo \"DATE=$(date +%Y-%m-%d)\" >> $GITHUB_ENV\n          python ${{ github.workspace }}/python/llm/dev/benchmark/ceval/organize_results.py results/ results/\n\n      - name: Set artifact file path\n        run: echo \"ARTIFACT_PATH=results/results_${{ needs.set-matrix.outputs.date }}.csv\" >> $GITHUB_ENV\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: results_${{ needs.set-matrix.outputs.date }}\n          path: ${{ env.ARTIFACT_PATH }}\n\n  llm-ceval-html:\n    if: ${{github.event_name == 'schedule' || github.event_name == 'pull_request'}}\n    needs: [set-matrix, llm-c-evaluation, llm-ceval-summary]\n    runs-on: [\"self-hosted\", \"llm\", \"accuracy1\", \"accuracy-nightly\"]\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n      - name: Install dependencies\n        shell: bash\n        run: |\n          pip install --upgrade pip\n          pip install numpy\n          pip install pandas==1.5.3\n          pip install jsonlines pytablewriter regex\n\n      - name: Set output path\n        shell: bash\n        run: |\n          if ${{github.event_name == 'pull_request'}}; then\n            echo 'ACC_FOLDER=/home/arda/action-runners/ceval/pr-accuracy-data' >> $GITHUB_ENV\n          fi\n          if ${{github.event_name == 'schedule'}}; then\n            echo 'ACC_FOLDER=/home/arda/action-runners/ceval/nightly-accuracy-data' >> $GITHUB_ENV\n          fi\n\n      - name: Create ceval results directory if not exists\n        run: |\n          if [ ! -d \"${{ env.ACC_FOLDER }}\" ]; then\n            mkdir -p \"${{ env.ACC_FOLDER }}\"\n          fi\n\n      - name: Download ceval results\n        uses: actions/download-artifact@v3\n        with:\n          name: results_${{ needs.set-matrix.outputs.date }}\n          path:  ${{ env.ACC_FOLDER }}\n          rename: results_${{ needs.set-matrix.outputs.date }}.csv\n\n      - name: Update HTML\n        working-directory: ${{ github.workspace }}/python/llm/test/benchmark/ceval/\n        shell: bash\n        run: |\n          python ceval_csv_to_html.py -f $ACC_FOLDER\n          if ${{github.event_name == 'schedule'}}; then\n            python ../harness/update_html_in_parent_folder.py -f $ACC_FOLDER\n          fi", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:42.324429", "created_at": "2024-02-21T07:07:03+01:00", "updated_at": "2024-03-11T13:00:51+01:00", "name": "LLM Whisper Models Evaluation", "path": ".github/workflows/llm-whisper-evaluation.yml", "contents": "name: LLM Whisper Models Evaluation\n\n# Cancel previous runs in the PR when you push new commits\nconcurrency:\n  group: ${{ github.workflow }}-llm-nightly-test-${{ github.event.pull_request.number || github.run_id }}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n\n# Controls when the action will run.\non:\n  schedule:\n    - cron: \"00 13 * * *\" # GMT time, 13:00 GMT == 21:00 China\n  pull_request:\n    branches: [main]\n    paths:\n      - \".github/workflows/llm-whisper-evaluation.yml\"\n  # Allows you to run this workflow manually from the Actions tab\n  workflow_dispatch:\n    inputs:\n      model_name:\n        description: 'Model names, separated by comma and must be quoted.'\n        required: true\n        type: string\n      precision:\n        description: 'Precisions, separated by comma and must be quoted.'\n        required: true\n        type: string\n      task:\n        description: 'Tasks, separated by comma and must be quoted.'\n        required: true\n        type: string\n      runs-on:\n        description: 'Labels to filter the runners, separated by comma and must be quoted.'\n        default: \"accuracy\"\n        required: false\n        type: string\n\n\n# A workflow run is made up of one or more jobs that can run sequentially or in parallel\njobs:\n  llm-cpp-build: # please uncomment it for PR tests\n    uses: ./.github/workflows/llm-binary-build.yml\n\n  # Set the testing matrix based on the event (schedule, PR, or manual dispatch)\n  set-matrix:\n    runs-on: ubuntu-latest\n\n    outputs:\n      model_name: ${{ steps.set-matrix.outputs.model_name }}\n      precision: ${{ steps.set-matrix.outputs.precision }}\n      task: ${{ steps.set-matrix.outputs.task }}\n      runner: ${{ steps.set-matrix.outputs.runner }}\n\n    steps:\n      - name: set-env\n        env:\n          MATRIX_MODEL_NAME: '[\"whisper-tiny\", \"whisper-small\", \"whisper-medium\", \"whisper-base\"]'\n          MATRIX_TASK: '[\"librispeech\"]'\n          MATRIX_PRECISION: '[\"sym_int4\", \"fp8_e5m2\"]'\n          LABELS: '[\"self-hosted\", \"llm\", \"perf\"]'\n        run: |\n            echo \"model_name=$MATRIX_MODEL_NAME\" >> $GITHUB_ENV\n            echo \"task=$MATRIX_TASK\" >> $GITHUB_ENV\n            echo \"precision=$MATRIX_PRECISION\" >> $GITHUB_ENV\n            echo \"runner=$LABELS\" >> $GITHUB_ENV\n\n      - name: set-matrix\n        id: set-matrix\n        run: |\n            echo \"model_name=$model_name\" >> $GITHUB_OUTPUT\n            echo \"task=$task\" >> $GITHUB_OUTPUT\n            echo \"precision=$precision\" >> $GITHUB_OUTPUT\n            echo \"runner=$runner\" >> $GITHUB_OUTPUT\n\n  llm-whisper-evaluation:\n    # if: ${{ github.event.schedule || github.event.inputs.artifact == 'llm-whisper-evaluation' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests\n    needs: [llm-cpp-build, set-matrix] # please uncomment it for PR tests\n    # needs: [set-matrix] # please comment it for PR tests\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: [\"3.11\"]\n        model_name: ${{ fromJson(needs.set-matrix.outputs.model_name) }}\n        task: ${{ fromJson(needs.set-matrix.outputs.task) }}\n        precision: ${{ fromJson(needs.set-matrix.outputs.precision) }}\n        device: [xpu]\n    runs-on: ${{ fromJson(needs.set-matrix.outputs.runner) }}\n    env:\n      ANALYTICS_ZOO_ROOT: ${{ github.workspace }}\n      ORIGIN_DIR: /mnt/disk1/models\n\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install dependencies\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install --upgrade wheel\n          python -m pip install --upgrade pandas\n          python -m pip install --upgrade datasets\n          python -m pip install --upgrade evaluate\n          python -m pip install --upgrade soundfile\n          python -m pip install --upgrade librosa\n          python -m pip install --upgrade jiwer\n\n      # please uncomment it and comment the \"Install IPEX-LLM from Pypi\" part for PR tests\n      - name: Download llm binary\n        uses: ./.github/actions/llm/download-llm-binary\n\n      - name: Run LLM install (all) test\n        uses: ./.github/actions/llm/setup-llm-env\n        with:\n          extra-dependency: \"xpu_2.1\"\n\n      # - name: Install IPEX-LLM from Pypi\n      #   shell: bash\n      #   run: |\n      #     pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/\n\n      # - name: Test installed xpu version\n      #   shell: bash\n      #   run: |\n      #     source /opt/intel/oneapi/setvars.sh\n      #     bash python/llm/test/run-llm-install-tests.sh\n\n      - name: Run whisper evaluation\n        shell: bash\n        run: |\n\n          source /opt/intel/oneapi/setvars.sh\n          export USE_XETLA=OFF\n          export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1\n\n          echo \"MODEL_PATH=${ORIGIN_DIR}/${{ matrix.model_name }}/\" >> \"$GITHUB_ENV\"\n          MODEL_PATH=${ORIGIN_DIR}/${{ matrix.model_name }}/\n          export LIBRISPEECH_DATASET_PATH=/mnt/disk1/datasets/librispeech\n\n          cd python/llm/dev/benchmark/whisper\n          python run_whisper.py --model_path ${MODEL_PATH} --data_type other --device xpu --load_in_low_bit ${{ matrix.precision }} --save_result\n\n      - uses: actions/upload-artifact@v3\n        with:\n          name: whisper_results\n          path:\n            ${{ github.workspace }}/python/llm/dev/benchmark/whisper/results/**\n\n  llm-whisper-summary:\n    if: ${{github.event_name == 'schedule' || github.event_name == 'pull_request'}}\n    needs: [set-matrix, llm-whisper-evaluation]\n    runs-on: [\"self-hosted\", \"llm\", \"perf\"]\n    steps:\n      - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n      - name: Set up Python 3.11\n        uses: actions/setup-python@v4\n        with:\n          python-version: 3.11\n\n      - name: Set output path\n        shell: bash\n        run: |\n          DATE=$(date +%Y-%m-%d)\n          OUTPUT_PATH=\"results_$DATE\"\n          echo \"OUTPUT_PATH=$OUTPUT_PATH\" >> $GITHUB_ENV\n          NIGHTLY_FOLDER=\"/mnt/disk1/whisper_nightly_gpu\"\n          echo \"NIGHTLY_FOLDER=$NIGHTLY_FOLDER\" >> $GITHUB_ENV\n          PR_FOLDER=\"/mnt/disk1/whisper_pr_gpu\"\n          echo \"PR_FOLDER=$PR_FOLDER\" >> $GITHUB_ENV\n\n      - name: Download all results for nightly run\n        if: github.event_name == 'schedule'\n        uses: actions/download-artifact@v3\n        with:\n          name: whisper_results\n          path: ${{ env.NIGHTLY_FOLDER}}/${{ env.OUTPUT_PATH }}\n\n      - name: Download all results for pr run\n        if: github.event_name == 'pull_request'\n        uses: actions/download-artifact@v3\n        with:\n          name: whisper_results\n          path: ${{ env.PR_FOLDER}}/${{ env.OUTPUT_PATH }}\n\n      - name: Summarize the results for nightly run\n        if: github.event_name == 'schedule'\n        shell: bash\n        run: |\n          cp -r /mnt/disk1/datasets/whisper_fp16_results/* /mnt/disk1/whisper_nightly_gpu/${{ env.OUTPUT_PATH }}\n          pip install pandas==1.5.3\n          python ${{ github.workspace }}/python/llm/dev/benchmark/whisper/whisper_concat_csv.py -i ${{ env.NIGHTLY_FOLDER}}/${{ env.OUTPUT_PATH }} -o ${{ env.NIGHTLY_FOLDER}}\n          python ${{ github.workspace }}/python/llm/dev/benchmark/whisper/whisper_csv_to_html.py -f ${{ env.NIGHTLY_FOLDER}}\n\n      - name: Summarize the results for pull request\n        if: github.event_name == 'pull_request'\n        shell: bash\n        run: |\n          cp -r /mnt/disk1/datasets/whisper_fp16_results/* /mnt/disk1/whisper_pr_gpu/${{ env.OUTPUT_PATH }}\n          pip install pandas==1.5.3\n          python ${{ github.workspace }}/python/llm/dev/benchmark/whisper/whisper_concat_csv.py -i ${{ env.PR_FOLDER}}/${{ env.OUTPUT_PATH }} -o ${{ env.PR_FOLDER}}\n          python ${{ github.workspace }}/python/llm/dev/benchmark/whisper/whisper_csv_to_html.py -f ${{ env.PR_FOLDER}}", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:43.427223", "created_at": "2024-03-04T03:08:44+01:00", "updated_at": "2024-03-04T03:08:44+01:00", "name": "BigDL Build Portable Zip", "path": ".github/workflows/bigdl-build-portable-zip.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:44.452247", "created_at": "2024-03-08T07:18:50+01:00", "updated_at": "2024-03-13T04:07:28+01:00", "name": "NEW LLM Performance Test", "path": ".github/workflows/ipex_llm_performance_tests.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:45.698013", "created_at": "2024-03-08T07:18:50+01:00", "updated_at": "2024-03-13T07:00:27+01:00", "name": ".github/workflows/ipex_llm_unit_tests.yml", "path": ".github/workflows/ipex_llm_unit_tests.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:47.204034", "created_at": "2024-03-08T07:18:50+01:00", "updated_at": "2024-03-08T07:18:50+01:00", "name": "LLM Example Test", "path": ".github/workflows/ipex_llm_example_tests.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:48.355266", "created_at": "2024-03-08T07:18:51+01:00", "updated_at": "2024-03-22T08:28:17+01:00", "name": "NEW LLM Nightly Tests", "path": ".github/workflows/ipex-llm-nightly-test.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:49.476571", "created_at": "2024-03-16T04:58:29+01:00", "updated_at": "2024-03-16T04:58:29+01:00", "name": "LLM Performance Test", "path": ".github/workflows/ipex-llm_performance_tests.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:50.601065", "created_at": "2024-03-22T08:22:13+01:00", "updated_at": "2024-03-22T08:22:13+01:00", "name": "LLM Performance Test", "path": ".github/workflows/ipex-llm-perf.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:51.722237", "created_at": "2024-04-22T20:09:20+02:00", "updated_at": "2024-04-22T20:09:20+02:00", "name": ".github/workflows/llm_unit_tests_4.36.yml", "path": ".github/workflows/llm_unit_tests_4.36.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:52.772209", "created_at": "2024-04-23T00:55:32+02:00", "updated_at": "2024-04-23T00:55:32+02:00", "name": ".github/workflows/llm_performance_tests_436.yml", "path": ".github/workflows/llm_performance_tests_436.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:53.866292", "created_at": "2024-04-23T00:55:34+02:00", "updated_at": "2024-04-23T00:55:34+02:00", "name": ".github/workflows/llm-nightly-test-436.yml", "path": ".github/workflows/llm-nightly-test-436.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:54.916934", "created_at": "2024-05-16T05:10:12+02:00", "updated_at": "2024-05-16T05:10:12+02:00", "name": "Release IPEX-LLM Pypi", "path": ".github/workflows/release-ipex-llm.yaml", "contents": "name: Release IPEX-LLM Pypi\n\non:\n  workflow_dispatch:\n    inputs:\n      version:\n        description: 'ipex-llm version (e.g. 2.1.0b1)'\n        required: true\n        default: '2.1.0b0'\n        type: string\n\npermissions:\n  contents: read\n\njobs:\n  \n  llm-cpp-build:\n    uses: ./.github/workflows/llm-binary-build.yml\n\n  ipex-llm-release:\n    if: ${{ github.event_name == 'workflow_dispatch' }} \n    runs-on: [self-hosted, Bree]\n    needs: llm-cpp-build\n    steps:\n    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3\n    \n    - name: set release version\n      env:\n        DEFAULT_VERSION: '2.1.0b0'\n      run: |\n        echo \"RELEASE_VERSION=${{ github.event.inputs.version || env.DEFAULT_VERSION }}\" >> $GITHUB_ENV\n\n    - name: Set up Python \n      uses: actions/setup-python@v2\n      with:\n        python-version: '3.7.15'\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n        pip install wheel\n        pip install twine\n\n    - name: Download llm binary\n      uses: ./.github/actions/llm/download-llm-binary\n\n    - name: Build package\n      run: |\n        echo ${RELEASE_VERSION}\n\n        ## windows ##\n        bash python/llm/dev/release_default_windows.sh ${RELEASE_VERSION} true\n\n        ## linux ##\n        bash python/llm/dev/release_default_linux.sh ${RELEASE_VERSION} true\n", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:56.140817", "created_at": "2024-06-06T10:39:31+02:00", "updated_at": "2024-06-06T11:41:13+02:00", "name": "CodeQL", "path": ".github/workflows/codeql.yml", "contents": "# For most projects, this workflow file will not need changing; you simply need\n# to commit it to your repository.\n#\n# You may wish to alter this file to override the set of languages analyzed,\n# or to provide custom queries or build logic.\n#\n# ******** NOTE ********\n# We have attempted to detect the languages in your repository. Please check\n# the `language` matrix defined below to confirm you have the correct set of\n# supported CodeQL languages.\n#\nname: \"CodeQL\"\n\non:\n  # push:\n  #   branches: [ \"main\" ]\n  schedule:\n    - cron: '24 14 * * 0'\n  workflow_dispatch:\n\njobs:\n  analyze:\n    name: Analyze (${{ matrix.language }})\n    # Runner size impacts CodeQL analysis time. To learn more, please see:\n    #   - https://gh.io/recommended-hardware-resources-for-running-codeql\n    #   - https://gh.io/supported-runners-and-hardware-resources\n    #   - https://gh.io/using-larger-runners (GitHub.com only)\n    # Consider using larger runners or machines with greater resources for possible analysis time improvements.\n    runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}\n    timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}\n    permissions:\n      # required for all workflows\n      security-events: write\n\n      # required to fetch internal or private CodeQL packs\n      packages: read\n\n      # only required for workflows in private repositories\n      actions: read\n      contents: read\n\n    strategy:\n      fail-fast: false\n      matrix:\n        include:\n        - language: python\n          build-mode: none\n        # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'\n        # Use `c-cpp` to analyze code written in C, C++ or both\n        # Use 'java-kotlin' to analyze code written in Java, Kotlin or both\n        # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both\n        # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,\n        # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.\n        # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how\n        # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v4\n\n    # Initializes the CodeQL tools for scanning.\n    - name: Initialize CodeQL\n      uses: github/codeql-action/init@v3\n      with:\n        languages: ${{ matrix.language }}\n        build-mode: ${{ matrix.build-mode }}\n        # If you wish to specify custom queries, you can do so here or in a config file.\n        # By default, queries listed here will override any specified in a config file.\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\n\n        # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs\n        # queries: security-extended,security-and-quality\n\n    # If the analyze step fails for one of the languages you are analyzing with\n    # \"We were unable to automatically build your code\", modify the matrix above\n    # to set the build mode to \"manual\" for that language. Then modify this step\n    # to build your code.\n    # ℹ️ Command-line programs to run using the OS shell.\n    # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun\n    - if: matrix.build-mode == 'manual'\n      shell: bash\n      run: |\n        echo 'If you are using a \"manual\" build mode for one or more of the' \\\n          'languages you are analyzing, replace this with the commands to build' \\\n          'your code, for example:'\n        echo '  make bootstrap'\n        echo '  make release'\n        exit 1\n\n    - name: Perform CodeQL Analysis\n      uses: github/codeql-action/analyze@v3\n      with:\n        category: \"/language:${{matrix.language}}\"\n\n    - name: Generate Security Report\n      uses: rsdmike/github-security-report-action@v3.0.4\n      with:\n        template: report\n        token: ${{ secrets.SECURITY_TOKEN }}\n        \n    - name: GitHub Upload Release Artifacts\n      uses: actions/upload-artifact@v2\n      with:\n        name: report\n        path: |\n         ./report.pdf\n", "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:57.371608", "created_at": "2024-07-01T13:48:23+02:00", "updated_at": "2024-07-01T13:48:23+02:00", "name": "Nightly Release", "path": ".github/workflows/release-pypi.yml", "contents": null, "state": "active", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:00:58.384392", "created_at": "2023-11-06T08:13:14+01:00", "updated_at": "2024-02-27T03:58:45+01:00", "name": "LLM Nightly Tests harness", "path": ".github/workflows/llm-nightly-test-harness.yml", "contents": null, "state": "disabled_manually", "repository": "intel-analytics/ipex-llm"}
{"mined_at": "2024-07-15T19:01:00.649212", "created_at": "2023-10-25T14:56:41+02:00", "updated_at": "2023-10-25T14:56:41+02:00", "name": "xcube docker build", "path": ".github/workflows/xcube_build_docker.yaml", "contents": "name: xcube docker build\n\non:\n  workflow_dispatch:\n\nenv:\n  APP_NAME: xcube\n  ORG_NAME: bcdev\n  IMG_REG_NAME: quay.io\n\njobs:\n  build-docker-image-and-push:\n    runs-on: ubuntu-latest\n    # Build the docker image and push to quay.io\n    name: build-docker-image\n    steps:\n      # Determine latest release tag\n      - name: Get latest release\n        id: latest_release\n        run: |\n            LATEST_RELEASE=$(curl --silent \"https://api.github.com/repos/dcs4cop/xcube/releases/latest\" | jq -r .tag_name)\n            echo \"::set-output name=release_tag::$LATEST_RELEASE\"\n\n      # checkout the repo with the release tag from previous step\n      - name: git-checkout\n        uses: actions/checkout@v2\n        with:\n          ref: ${{ steps.latest_release.outputs.release_tag }}\n\n      # Print some info\n      - name: info\n        id: info\n        run: |\n          echo \"TAG: ${{ steps.latest_release.outputs.release_tag }}\"\n          echo \"EVENT: ${{ github.event_name }}\"\n\n      # Build and push docker release to quay.io\n      - name: push-docker-image-with-release-tag\n        uses: mr-smithers-excellent/docker-build-push@v5\n        with:\n          image: ${{ env.ORG_NAME }}/${{ env.APP_NAME }}\n          tags: ${{ steps.latest_release.outputs.release_tag }}\n          registry: ${{ env.IMG_REG_NAME }}\n          username: ${{ secrets.IMG_REG_USERNAME }}\n          password: ${{ secrets.IMG_REG_PASSWORD }}\n", "state": "active", "repository": "xcube-dev/xcube"}
{"mined_at": "2024-07-15T19:01:01.779355", "created_at": "2024-05-22T10:05:18+02:00", "updated_at": "2024-05-22T10:05:18+02:00", "name": "publish to PyPI", "path": ".github/workflows/xcube_publish_pypi.yml", "contents": "# This workflow will upload a Python Package using Twine when a release is created\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries\n\n# This workflow uses actions that are not certified by GitHub.\n# They are provided by a third-party and are governed by\n# separate terms of service, privacy policy, and support\n# documentation.\n\nname: publish to PyPI\n\non:\n  release:\n    types: [published]\n\njobs:\n  deploy:\n    name: Publish to PyPI\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.x'\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install build\n    - name: Build package\n      run: |\n        LINE_NB=$(grep -n 'name = \"xcube\" # PYPI RENAME THIS LINE' pyproject.toml | cut -f1 -d:)\n        sed -i \"\"$LINE_NB\"s/.*/name = 'xcube-core'/\" pyproject.toml \n        python -m build\n    - name: Publish to PyPI\n      run: |\n        pip install twine\n        python -m twine upload --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} dist/*\n", "state": "active", "repository": "xcube-dev/xcube"}
{"mined_at": "2024-07-15T19:01:02.784984", "created_at": "2024-05-21T12:16:38+02:00", "updated_at": "2024-05-21T12:16:38+02:00", "name": "publish to TestPyPI", "path": ".github/workflows/xcube_publish_testpypi.yml", "contents": null, "state": "active", "repository": "xcube-dev/xcube"}
{"mined_at": "2024-07-15T19:01:03.803236", "created_at": "2021-07-06T08:21:11+02:00", "updated_at": "2024-05-14T12:42:58+02:00", "name": "Unittest and docker builds", "path": ".github/workflows/xcube_workflow.yaml", "contents": "name: Unittest and docker builds\n\non:\n  push:\n  release:\n    types: [published]\n\nenv:\n  APP_NAME: xcube\n  ORG_NAME: bcdev\n  IMG_REG_NAME: quay.io\n\njobs:\n  unittest:\n    runs-on: ubuntu-latest\n    env:\n      NUMBA_DISABLE_JIT: 0\n    steps:\n      - name: git-checkout\n        uses: actions/checkout@v4\n      # Setup miniconda build env\n      - name: Set up Micromamba\n        uses: mamba-org/setup-micromamba@v1\n        with:\n          micromamba-version: '1.4.8-0'\n          environment-file: environment.yml\n          init-shell: >-\n            bash\n          # Don't cache the environment, since this would prevent us from\n          # catching test failures caused by updated versions of dependencies.\n          cache-environment: false\n          post-cleanup: 'all'\n      # Setup xcube\n      - name: setup-xcube\n        shell: bash -l {0}\n        run: |\n          conda info\n          conda list\n          pip install -e .\n      # Run unittests\n      - name: unittest-xcube\n        shell: bash -l {0}\n        run: |\n          pytest --cov=xcube --cov-report=xml\n      - uses: codecov/codecov-action@v4\n        with:\n          verbose: true # optional (default = false)\n  build-docker-image:\n    runs-on: ubuntu-latest\n    # Build the docker image and push to quay.io\n    name: build-docker-image\n    # Only run if unittests succeed\n    needs: unittest\n    if: ${{ github.event_name == 'release' }}\n    steps:\n      - name: git-checkout\n        uses: actions/checkout@v4\n      # Determine release tag from git ref\n      - name: get-release-tag\n        id: release\n        run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}\n      # Print some info\n      - name: info\n        id: info\n        run: |\n          echo \"TAG: ${{ steps.release.outputs.tag }}\"\n          echo \"EVENT: ${{ github.event_name }}\"\n      # Build and push docker release to quay.io when the event is a 'release'\n      - uses: mr-smithers-excellent/docker-build-push@v6\n        name: build-push-docker-image-release\n        with:\n          image: ${{ env.ORG_NAME }}/${{ env.APP_NAME }}\n          tags: ${{ steps.release.outputs.tag }}\n          registry: ${{ env.IMG_REG_NAME }}\n          username: ${{ secrets.IMG_REG_USERNAME }}\n          password: ${{ secrets.IMG_REG_PASSWORD }}\n\n", "state": "active", "repository": "xcube-dev/xcube"}
{"mined_at": "2024-07-15T19:01:04.804859", "created_at": "2022-01-06T09:00:35+01:00", "updated_at": "2022-01-06T09:00:35+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "xcube-dev/xcube"}
{"mined_at": "2024-07-15T19:01:07.202423", "created_at": "2024-02-06T15:41:16+01:00", "updated_at": "2024-02-06T16:06:50+01:00", "name": "🔖 PR labels", "path": ".github/workflows/pr_labels.yml", "contents": "name: 🔖 PR labels\n\non:\n  pull_request_target:\n    types: [opened, assigned]\n\njobs:\n  size-label:\n    name: pr_size_label\n    runs-on: ubuntu-latest\n    if: github.event.action == 'assigned' || github.event.action == 'opened'\n    steps:\n      - name: Add size label\n        uses: \"pascalgn/size-label-action@v0.4.3\"\n        env:\n          GITHUB_TOKEN: \"${{ secrets.YNPUT_BOT_TOKEN }}\"\n          IGNORED: \".gitignore\\n*.md\\n*.json\"\n        with:\n          sizes: >\n            {\n              \"0\": \"XS\",\n              \"100\": \"S\",\n              \"500\": \"M\",\n              \"1000\": \"L\",\n              \"1500\": \"XL\",\n              \"2500\": \"XXL\"\n            }\n\n  label_prs_branch:\n    name: pr_branch_label\n    runs-on: ubuntu-latest\n    if: github.event.action == 'assigned' || github.event.action == 'opened'\n    steps:\n    - name: Label PRs - Branch name detection\n      uses: ffittschen/pr-branch-labeler@v1\n      with:\n        repo-token: ${{ secrets.YNPUT_BOT_TOKEN }}\n\n  label_prs_globe:\n    name: pr_globe_label\n    runs-on: ubuntu-latest\n    if: github.event.action == 'assigned' || github.event.action == 'opened'\n    steps:\n    - name: Label PRs - Globe detection\n      uses: actions/labeler@v4.0.3\n      with:\n        repo-token: ${{ secrets.YNPUT_BOT_TOKEN }}\n        configuration-path: \".github/pr-glob-labeler.yml\"\n        sync-labels: false\n", "state": "active", "repository": "ynput/ayon-core"}
{"mined_at": "2024-07-15T19:01:08.349158", "created_at": "2024-02-06T16:06:50+01:00", "updated_at": "2024-02-06T16:06:50+01:00", "name": "📊 Project task statuses", "path": ".github/workflows/project_task_statuses.yml", "contents": "name: 📊 Project task statuses\n\non:\n  pull_request_review:\n    types: [submitted]\n  issue_comment:\n    types: [created]\n  pull_request_review_comment:\n    types: [created]\n\njobs:\n\n  pr_review_started:\n    name: pr_review_started\n    runs-on: ubuntu-latest\n    # -----------------------------\n    # conditions are:\n    #   - PR issue comment which is not form Ynbot\n    #   - PR review comment which is not Hound (or any other bot)\n    #   - PR review submitted which is not from Hound (or any other bot) and is not 'Changes requested'\n    #   - make sure it only runs if not forked repo\n    # -----------------------------\n    if: |\n      (github.event_name == 'issue_comment' && github.event.pull_request.head.repo.owner.login == 'ynput' && github.event.comment.user.id != 82967070) ||\n      (github.event_name == 'pull_request_review_comment' && github.event.pull_request.head.repo.owner.login == 'ynput' && github.event.comment.user.type != 'Bot') ||\n      (github.event_name == 'pull_request_review' &&\n      github.event.pull_request.head.repo.owner.login == 'ynput' &&\n      github.event.review.state != 'changes_requested' &&\n      github.event.review.state != 'approved' &&\n      github.event.review.user.type != 'Bot')\n    steps:\n      - name: Move PR to 'Review In Progress'\n        uses: leonsteinhaeuser/project-beta-automations@v2.1.0\n        with:\n          gh_token: ${{ secrets.YNPUT_BOT_TOKEN }}\n          organization: ynput\n          project_id: 11\n          resource_node_id: ${{ github.event.pull_request.node_id || github.event.issue.node_id }}\n          status_value: Review In Progress\n\n  pr_review_requested:\n    # -----------------------------\n    # Resets Clickup Task status to 'In Progress' after 'Changes Requested' were submitted to PR\n    # It only runs if custom clickup task id was found in ref branch of PR\n    # -----------------------------\n    name: pr_review_requested\n    runs-on: ubuntu-latest\n    if: github.event_name == 'pull_request_review' && github.event.pull_request.head.repo.owner.login == 'ynput' && github.event.review.state == 'changes_requested'\n    steps:\n      - name: Set branch env\n        run: echo \"BRANCH_NAME=${{ github.event.pull_request.head.ref}}\" >> $GITHUB_ENV\n      - name: Get ClickUp ID from ref head name\n        id: get_cuID\n        run: |\n          echo ${{ env.BRANCH_NAME }}\n          echo \"cuID=$(echo $BRANCH_NAME | sed 's/.*\\/\\(OP\\-[0-9]\\{4\\}\\).*/\\1/')\" >> $GITHUB_OUTPUT\n\n      - name: Print ClickUp ID\n        run: echo ${{ steps.get_cuID.outputs.cuID }}\n\n      - name: Move found Clickup task to 'Review in Progress'\n        if: steps.get_cuID.outputs.cuID\n        run: |\n         curl -i -X PUT \\\n          'https://api.clickup.com/api/v2/task/${{ steps.get_cuID.outputs.cuID }}?custom_task_ids=true&team_id=${{secrets.CLICKUP_TEAM_ID}}' \\\n          -H 'Authorization: ${{secrets.CLICKUP_API_KEY}}' \\\n          -H 'Content-Type: application/json' \\\n          -d '{\n             \"status\": \"in progress\"\n           }'\n", "state": "active", "repository": "ynput/ayon-core"}
{"mined_at": "2024-07-15T19:01:09.557761", "created_at": "2024-02-06T16:06:51+01:00", "updated_at": "2024-02-06T16:06:51+01:00", "name": "🐞 Update Bug Report", "path": ".github/workflows/update_bug_report.yml", "contents": "name: 🐞 Update Bug Report\n\non:\n  workflow_dispatch:\n  release:\n    # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release\n    types: [published]\n\njobs:\n  update-bug-report:\n    runs-on: ubuntu-latest\n    name: Update bug report\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.release.target_commitish }}\n      - name: Update version\n        uses: ynput/gha-populate-form-version@main\n        with:\n          github_token: ${{ secrets.YNPUT_BOT_TOKEN }}\n          registry: github\n          dropdown: _version\n          limit_to: 100\n          form: .github/ISSUE_TEMPLATE/bug_report.yml\n          commit_message: 'chore(): update bug report / version'\n          dry_run: no-push\n\n      - name: Push to protected develop branch\n        uses: CasperWA/push-protected@v2.10.0\n        with:\n          token: ${{ secrets.YNPUT_BOT_TOKEN }}\n          branch: develop\n          unprotect_reviews: true", "state": "active", "repository": "ynput/ayon-core"}
{"mined_at": "2024-07-15T19:01:10.786353", "created_at": "2024-02-27T11:03:47+01:00", "updated_at": "2024-03-26T12:10:43+01:00", "name": "📇 Code Linting", "path": ".github/workflows/pr_linting.yml", "contents": "name: 📇 Code Linting\n\non:\n  push:\n    branches: [ develop ]\n  pull_request:\n    branches: [ develop ]\n\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.event.pull_request.number}}\n  cancel-in-progress: true\n\npermissions:\n  contents: read\n  pull-requests: write\n\njobs:\n  linting:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: chartboost/ruff-action@v1\n", "state": "active", "repository": "ynput/ayon-core"}
{"mined_at": "2024-07-15T19:01:12.018976", "created_at": "2024-02-27T23:07:46+01:00", "updated_at": "2024-02-27T23:07:46+01:00", "name": "Sync Issues to ClickUp [trigger]", "path": ".github/workflows/issue_to_clickup_trigger.yml", "contents": "name: Sync Issues to ClickUp [trigger]\n\non:\n  workflow_dispatch:\n    inputs:\n      issue-number:\n        required: true\n  issues:\n    types: [labeled]\n\n\njobs:\n  call-ci-tools-issue-sync:\n    if: github.event.inputs.issue-number != '' || github.event_name == 'issues' && contains(github.event.issue.labels.*.name, 'backlog')\n    uses: ynput/ci-tools/.github/workflows/issue_to_clickup_ref.yml@main\n    with:\n      # issue number should be taken either from inputs or from the event\n      issue-number: ${{ github.event.inputs.issue-number || github.event.issue.number }}\n      repo-owner: ${{ github.event.repository.owner.login }}\n      repo-name: ${{ github.event.repository.name }}\n    secrets:\n      token: ${{ secrets.YNPUT_BOT_TOKEN }}\n      cu_api_key: ${{ secrets.CLICKUP_API_KEY }}\n      cu_team_id: ${{ secrets.CLICKUP_TEAM_ID }}\n      cu_folder_id: ${{ secrets.CLICKUP_FOLDER_ID }}\n      cu_list_id: ${{ secrets.CLICKUP_LIST_ID }}\n      cu_field_domain_id: ${{ secrets.CLICKUP_DOMAIN_FIELD_ID }}\n      cu_field_type_id: ${{ secrets.CLICKUP_ISSUETYPE_FIELD_ID }}\n", "state": "active", "repository": "ynput/ayon-core"}
{"mined_at": "2024-07-15T19:01:14.221172", "created_at": "2021-10-25T19:59:31+02:00", "updated_at": "2021-11-08T14:35:52+01:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": "name: CI\n\non:\n  push:\n    branches: \"main\"\n    tags: [\"*\"]\n    paths:\n      - '.github/workflows/ci.yml'\n      - 'MANIFEST.in'\n      - 'pyproject.toml'\n      - 'benchmarks/reframe_config.py'\n      - 'benchmarks/examples/**'\n      - 'benchmarks/modules/**'\n      - 'post-processing/**'\n  pull_request:\n    paths:\n      - '.github/workflows/ci.yml'\n      - 'MANIFEST.in'\n      - 'pyproject.toml'\n      - 'reframe_config.py'\n      - 'benchmarks/examples/**'\n      - 'benchmarks/modules/**'\n      - 'post-processing/**'\n  release:\n\nenv:\n  RFM_CONFIG_FILES: \"${{ github.workspace }}/benchmarks/reframe_config.py\"\n\nconcurrency:\n  # Skip intermediate builds: always.\n  # Cancel intermediate builds: always.\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  test:\n    name: Tests on ${{ matrix.os }} - Spack ${{ matrix.spack_version }} - Spack spec ${{ matrix.spack_spec }}\n    timeout-minutes: 15\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n        spack_version:\n          # In README.md we claim compatibility with v0.20.0\n          - v0.20.0\n          - develop\n        spack_spec:\n          # `example` is a package in our custom Spack repo, ensure we can build\n          # packages in it.\n          - sombrero@2021-08-16\n          - example@2021-08-16\n        # Compatible ReFrame versions are set in pyproject.toml\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10.6'\n          cache: 'pip'\n      - name: Install Excalibur-tests\n        shell: bash\n        run: |\n          python -m pip install --upgrade pip\n          pip install -e .[test]\n      - name: Install Spack\n        shell: bash\n        working-directory: ${{runner.workspace}}\n        run: |\n          git clone --depth=1 --branch=${{ matrix.spack_version }} https://github.com/spack/spack.git\n          cd spack\n          echo \"PATH=${PWD}/bin:${PATH}\" >> \"${GITHUB_ENV}\"\n      # Make sure `spack` command works\n      - name: Spack version number\n        shell: bash\n        run: spack --version\n      # Make sure `reframe` command works\n      - name: ReFrame version number\n        shell: bash\n        run: reframe -V\n      - name: Install OpenMPI, CMake and extra Python packages\n        shell: bash\n        run: |\n          sudo apt-get update\n          sudo apt-get install -y openmpi-bin libopenmpi-dev cmake\n        env:\n          DEBIAN_FRONTEND: noninteractive\n      - name: Run sample benchmark\n        shell: bash\n        run: |\n          reframe -v -c benchmarks/examples/sombrero --run --performance-report --system github-actions:default -S'spack_spec=${{ matrix.spack_spec }}'\n      - name: Post-processing tests\n        shell: bash\n        run: |\n          pytest\n", "state": "active", "repository": "ukri-excalibur/excalibur-tests"}
{"mined_at": "2024-07-15T19:01:15.289529", "created_at": "2024-03-05T12:59:15+01:00", "updated_at": "2024-05-22T17:17:43+02:00", "name": "Publish docs via GitHub Pages", "path": ".github/workflows/docs.yml", "contents": "name: Publish docs via GitHub Pages\non:\n  push:\n    branches:\n      - main\n    paths:\n      - 'mkdocs.yml'\n      - '.github/workflows/docs.yml'\n      - 'docs/**'\n      - 'benchmarks/**/*.md'\n      - 'post-processing/**/*.md'\n  pull_request:\n    branches:\n      - main\n    paths:\n      - 'mkdocs.yml'\n      - '.github/workflows/docs.yml'\n      - 'docs/**'\n      - 'benchmarks/**/*.md'\n      - 'post-processing/**/*.md'\n\nconcurrency:\n  # Same group concurrency as the `docs_cleanup.yml` workflow, because they both\n  # git-push to the same branch, so we want to avoid clashes.  NOTE: this is\n  # different from the concurrency group below, which is to cancel successive\n  # jobs from within the branch/PR.\n  group: docs-pushing\n\njobs:\n  build:\n    timeout-minutes: 10\n    name: Deploy docs\n    runs-on: ubuntu-latest\n    concurrency:\n      # Skip intermediate builds: always.\n      # Cancel intermediate builds: always.\n      group: ${{ github.workflow }}-${{ github.ref }}\n      cancel-in-progress: true\n    permissions:\n      # See\n      # <https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token>.\n      # We need `contents: write` to push the docs to the `gh-pages` branch, and\n      # `statuses: write` to create the custom status.\n      contents: write\n      statuses: write\n    steps:\n      - name: Checkout main\n        uses: actions/checkout@v4\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '3.10.6'\n          cache: 'pip'\n\n      - name: Install Python dependencies\n        run: pip install mkdocs-material github3.py\n\n      - name: Checkout gh-pages\n        # Run only if push is to `main`, or if it's a PR not from a fork.\n        if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'pull_request' && ! github.event.pull_request.head.repo.fork) }}\n        uses: actions/checkout@v4\n        with:\n          ref: gh-pages\n          path: gh-pages\n\n      - name: Cleanup unrelated files\n        run: |\n          # Under `apps` we want to keep only the `README.md` files.  All other files\n          # (reframe tests, input files, etc...) should be ignored by the docs.\n          find benchmarks/apps -type f \\! \\( -name 'README.md' \\) -print -delete\n\n      - name: Set environment variables for docs preview in PRs\n        # Run only if this is a PR for which we're going to deploy the preview.\n        if: ${{ github.event_name == 'pull_request' && ! github.event.pull_request.head.repo.fork }}\n        run: |\n          BASE_URL=\"https://ukri-excalibur.github.io/excalibur-tests\"\n          echo \"BASE_URL=${BASE_URL}\" >> \"${GITHUB_ENV}\"\n          PREVIEW_SUBDIR=\"preview/PR${{ github.event.number }}\"\n          echo \"PREVIEW_SUBDIR=${PREVIEW_SUBDIR}\" >> \"${GITHUB_ENV}\"\n          export MKDOCS_SITE_DIR=\"site/${PREVIEW_SUBDIR}\"\n          echo \"MKDOCS_SITE_DIR=${MKDOCS_SITE_DIR}\" >> \"${GITHUB_ENV}\"\n          MKDOCS_SITE_URL=\"${BASE_URL}/${PREVIEW_SUBDIR}\"\n          echo \"MKDOCS_SITE_URL=${MKDOCS_SITE_URL}\" >> \"${GITHUB_ENV}\"\n\n      - name: Rewrite URLs in Markdown files for docs preview in PRs\n        # Run only if this is a PR for which we're going to deploy the preview.\n        if: ${{ github.event_name == 'pull_request' && ! github.event.pull_request.head.repo.fork }}\n        run: |\n          # Edit only files, and not symlinks, to avoid double editing the same files.\n          find . -type f -name '*.md' -print -exec sed -i \"s|${BASE_URL}|${BASE_URL}/${PREVIEW_SUBDIR}|g\" '{}' \\;\n\n      - name: Build docs\n        run: |\n          mkdocs --verbose build\n\n      - name: Deploy docs\n        # Run only if push is to `main`, or if it's a PR not from a fork.\n        if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'pull_request' && ! github.event.pull_request.head.repo.fork) }}\n        working-directory: gh-pages\n        run: |\n          git config user.name ${{github.actor}}\n          git config user.email \"${{github.actor_id}}+${{github.actor}}@users.noreply.github.com\"\n          # Before copying the new files, delete the old ones, so that we can\n          # cleanly update the website.\n          if [[ ${{ github.event_name }} == 'pull_request' ]]; then\n              COMMIT_MESSAGE=\"Update docs preview from ${{ github.sha }}\"\n              # Only delete files in the preview subdir, if any\n              if [[ -d \"${PREVIEW_SUBDIR}\" ]]; then\n                  git rm -rf \"${PREVIEW_SUBDIR}\"\n              fi\n          else\n              COMMIT_MESSAGE=\"Update docs from ${{ github.sha }}\"\n              for file in $(git ls-files); do\n                  if [[ x\"${file}\" != xpreview/* ]]; then\n                      # Do not delete files in the `preview/` subdir\n                      git rm ${file}\n                  fi\n              done\n          fi\n          cp -fr ../site/* .\n          git add .\n          git commit --allow-empty -m \"${COMMIT_MESSAGE}\"\n          git push origin gh-pages\n\n      - name: Create custom status for pull requests\n        # Similar condition as previous step, but only for PRs\n        if: ${{ github.event_name == 'pull_request' && ! github.event.pull_request.head.repo.fork }}\n        shell: python {0}\n        run: |\n          import os\n          from github3 import login\n\n          token = \"${{ github.token }}\"\n          gh = login(token=token)\n\n          owner, repo_name = \"${{ github.repository }}\".split('/')\n          repo = gh.repository(owner, repo_name)\n\n          sha = \"${{ github.event.pull_request.head.sha }}\"\n          state = \"success\"\n          base_url = os.getenv(\"BASE_URL\")\n          preview_subdir = os.getenv(\"PREVIEW_SUBDIR\")\n          target_url = f\"{base_url}/{preview_subdir}/\"\n          description = \"Documentation deployed\"\n          context = \"${{ github.workflow }} / Preview\"\n          repo.create_status(sha, state, target_url, description, context)\n", "state": "active", "repository": "ukri-excalibur/excalibur-tests"}
{"mined_at": "2024-07-15T19:01:16.306189", "created_at": "2024-03-20T14:58:38+01:00", "updated_at": "2024-03-20T14:58:38+01:00", "name": "Doc Preview Cleanup", "path": ".github/workflows/docs_cleanup.yml", "contents": "name: Doc Preview Cleanup\n\non:\n  pull_request:\n    types: [closed]\n\nconcurrency:\n  # Same group concurrency as the `docs.yml` workflow, because they both\n  # git-push to the same branch, so we want to avoid clashes.\n  group: docs-pushing\n\njobs:\n  doc-preview-cleanup:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout gh-pages branch\n        uses: actions/checkout@v4\n        with:\n          ref: gh-pages\n      - name: Delete preview and push changes\n        run: |\n          preview_directory=preview/PR${{ github.event.number }}\n          if [[ -d \"${preview_directory}\" ]]; then\n              git config user.name \"${{github.actor}}\"\n              git config user.email \"${{github.actor_id}}+${{github.actor}}@users.noreply.github.com\"\n              git rm -rf \"${preview_directory}\"\n              git commit -m 'Cleanup docs for PR #${{ github.event.number }}'\n              git push origin gh-pages\n          fi\n", "state": "active", "repository": "ukri-excalibur/excalibur-tests"}
{"mined_at": "2024-07-15T19:01:17.332195", "created_at": "2024-03-05T11:35:03+01:00", "updated_at": "2024-03-05T11:35:03+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ukri-excalibur/excalibur-tests"}
{"mined_at": "2024-07-15T19:01:19.593128", "created_at": "2023-06-14T23:17:03+02:00", "updated_at": "2023-06-21T22:06:41+02:00", "name": "Build and publish Python 🐍 package 📦 to PyPI", "path": ".github/workflows/publish.yaml", "contents": "name: Build and publish Python 🐍 package 📦 to PyPI\n\non:\n  workflow_dispatch:\n  release:\n    types:\n      - published\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version:\n          - \"3.10\"\n    steps:\n      - uses: actions/checkout@v3\n\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n          cache: pip\n\n      - name: Install build tool\n        run: pip install build\n\n      - name: Build package\n        run: python -m build\n\n      - name: Upload package as build artifact\n        uses: actions/upload-artifact@v3\n        with:\n          name: package\n          path: dist/\n\n  publish:\n    runs-on: ubuntu-latest\n    needs: build\n    environment:\n      name: pypi\n      url: https://pypi.org/p/rl4co\n    permissions:\n      id-token: write\n    steps:\n      - name: Collect packages to release\n        uses: actions/download-artifact@v3\n        with:\n          name: package\n          path: dist/\n\n      - name: Publish packages to PyPI\n        uses: pypa/gh-action-pypi-publish@release/v1", "state": "active", "repository": "ai4co/rl4co"}
{"mined_at": "2024-07-15T19:01:20.710176", "created_at": "2023-04-09T11:26:51+02:00", "updated_at": "2023-06-21T21:49:42+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: true\n      max-parallel: 15\n      matrix:\n        # Apple Silicon runner: https://github.com/actions/runner-images/issues/9254\n        # Note we disable MPS for training\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: ['3.9', '3.10', '3.11']\n    defaults:\n      run:\n        shell: bash\n    steps:\n    - name: Check out repository\n      uses: actions/checkout@v3\n\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python-version }}\n\n    - name: Set environment variable for macOS\n      if: runner.os == 'macOS'\n      run: echo \"MAC_OS_GITHUB_RUNNER=1\" >> $GITHUB_ENV\n\n    - name: Load cached venv\n      id: cached-pip-wheels\n      uses: actions/cache@v3\n      with:\n        path: ~/.cache\n        key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install -e \".[testing, graph, routing]\"\n\n    - name: Run pytest\n      run: pytest --cov=rl4co tests/*.py\n\n    - name: Upload coverage reports to Codecov\n      uses: codecov/codecov-action@v3\n      env:\n        CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n\n", "state": "active", "repository": "ai4co/rl4co"}
{"mined_at": "2024-07-15T19:01:22.723359", "created_at": "2023-10-06T01:06:09+02:00", "updated_at": "2023-10-06T01:24:57+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\n\non:\n  push:\n    # A branch github-ci-updates can be created and used for ci\n    # experiments and tweaks.\n    branches: [ \"develop\", \"master\", \"github-ci\", \"windows\", \"pr_413_continued_plugins\" ]\n  pull_request:\n    branches: [ \"develop\", \"master\" ]\n\npermissions:\n  contents: read\n\njobs:\n\n  # Run all tests.\n  base-ci:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    strategy:\n      matrix:\n        python_version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]\n\n    steps:\n\n    - name: Install Dependencies\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y mecab mecab-ipadic-utf8\n        # Helper checks to find the mecab library path,\n        # so it can be exported before running tests.\n        # Without the export, natto-py fails on github.\n        # echo FIND THE LIB:\n        # which mecab\n        # actual=`readlink -f /usr/bin/mecab`\n        # ldd $actual\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python_version }}\n        cache: 'pip' # caching pip dependencies\n\n    - run: pip install -r requirements.txt\n\n    - name: Setup config\n      run: |\n        mkdir ${{ github.workspace }}/data\n        echo \"ENV: dev\" > ${{ github.workspace }}/lute/config/config.yml\n        echo \"DATAPATH: ${{ github.workspace }}/data\" >> ${{ github.workspace }}/lute/config/config.yml\n        echo \"DBNAME: test_lute.db\" >> ${{ github.workspace }}/lute/config/config.yml\n        ls ${{ github.workspace }}\n        cat ${{ github.workspace }}/lute/config/config.yml\n\n    - name: Test\n      run: |\n        set -e\n        # Have to explicitly set MECAB_PATH for natto-py.\n        export MECAB_PATH=/lib/x86_64-linux-gnu/libmecab.so.2\n        pytest\n\n    - name: Acceptance testing\n      run: |\n        set -e\n        # Have to explicitly set MECAB_PATH for natto-py.\n        export MECAB_PATH=/lib/x86_64-linux-gnu/libmecab.so.2\n        inv accept --show --verbose\n\n    # Playwright tests were hanging far too often on github ci,\n    # but not consistently.  No idea what was going wrong.\n    # TODO github ci: fix playwright hanging.\n    - name: Playwright install\n      run: playwright install\n\n    - name: Playwright smoke test\n      run: |\n        set -x\n        set -e\n        inv playwright\n\n    - name: Check flit package\n      run: |\n        mkdir ${{ github.workspace }}/../lute_flit\n        cd ${{ github.workspace }}/../lute_flit\n        flit -f ${{ github.workspace }}/pyproject.toml install\n\n        python -m lute.main &   # Start in background process\n        sleep 2\n\n        # Verify with utils script back in the workspace\n        # (verify.py is not included in flit install)\n        pushd ${{ github.workspace }}\n        python -m utils.verify 5000\n        popd\n\n        pkill -f \"python -m lute.main\"   # Kill that process.\n\n\n  # Lute should still work if the user doesn't have mecab installed.\n  no-mecab-check:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n\n    strategy:\n      matrix:\n        # Only checking early and late versions.\n        python_version: [ '3.8', '3.11' ]\n\n    steps:\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python_version }}\n        cache: 'pip' # caching pip dependencies\n\n    - run: pip install -r requirements.txt\n\n    - name: Setup config\n      run: |\n        mkdir ${{ github.workspace }}/data\n        echo \"ENV: dev\" > ${{ github.workspace }}/lute/config/config.yml\n        echo \"DATAPATH: ${{ github.workspace }}/data\" >> ${{ github.workspace }}/lute/config/config.yml\n        echo \"DBNAME: test_lute.db\" >> ${{ github.workspace }}/lute/config/config.yml\n        ls ${{ github.workspace }}\n        cat ${{ github.workspace }}/lute/config/config.yml\n\n    # Run one particular sanity check.\n    #\n    # Note this isn't _completely_ valid because the test loads\n    # only supported language stories, whereas a prod release\n    # comes with _all_ stories pre-loaded and the invalid ones\n    # are deleted ...\n    - name: Smoke test no mecab\n      run: inv accept -s -k disabled_data_is_hidden\n\n\n  # Run all plugin tests.\n  #\n  # For each plugin:\n  #   - install Lute requirements\n  #   - install plugin reqs\n  #   - run tests.\n  #\n  # The Lute requirements are installed first b/c the plugins may come\n  # with their own conflicting requirements.  Doing a full req install\n  # will (hopefully) uncover conflicts.\n  plugins:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    strategy:\n      matrix:\n        python_version: [ '3.8', '3.9', '3.10', '3.11' ]\n\n    steps:\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python_version }}\n        cache: 'pip' # caching pip dependencies\n\n    # Plugins likely won't need this config file, but just in case ...\n    - name: Setup config\n      run: |\n        mkdir ${{ github.workspace }}/data\n        echo \"ENV: dev\" > ${{ github.workspace }}/lute/config/config.yml\n        echo \"DATAPATH: ${{ github.workspace }}/data\" >> ${{ github.workspace }}/lute/config/config.yml\n        echo \"DBNAME: test_lute.db\" >> ${{ github.workspace }}/lute/config/config.yml\n        ls ${{ github.workspace }}\n        cat ${{ github.workspace }}/lute/config/config.yml\n\n    - name: test all plugins\n      run: |\n        for plugin in $(ls plugins); do\n          # Lute reqs, such as pytest.\n          pip install -r requirements.txt\n\n          # Lute itself, via toml, so that it can be found\n          # by each plugin's own \"pip install .\"\n          pip install .\n\n          pushd plugins/$plugin\n            pip install .\n            # Note for future: some plugins may have extra reqs not covered by pip\n            # (e.g. mecab uses apt-get and exports etc).  Idea for future: plugin\n            # could have a .github folder as well with additional setup scripts.\n\n            pytest tests\n\n            # pip uninstall $plugin -y\n            # NOTE: Not bothering to do an uninstall!\n            # if multiple plugins have different/clashing version requirements,\n            # perhaps it is best to run into problems in ci.\n            # This may ultimately come back to haunt me, but it will do for now.\n          popd\n        done\n\n\n  code-quality:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    strategy:\n      matrix:\n        python_version: [ '3.11' ]\n\n    steps:\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python_version }}\n        cache: 'pip' # caching pip dependencies\n\n    - run: pip install -r requirements.txt\n\n    - name: Lint\n      run: inv lint\n\n    - name: Coding style\n      run: |\n        black --check .\n\n\n  # Test build docker container and try running.\n  # Slightly wasteful re-setup of node.\n  docker-build:\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n    needs: base-ci\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: 3.11\n        cache: 'pip' # caching pip dependencies\n    - run: pip install -r requirements.txt\n    - name: Test docker build\n      run: |\n        docker build -f docker/Dockerfile --build-arg INSTALL_EVERYTHING=false -t lute3 .\n        # Run container in the background, and check.\n        docker run -d -p 5000:5000 -v ./my_data:/lute_data -v ./my_backups:/lute_backup --name my-lute lute3:latest\n        sleep 10  # Give it a moment to start.\n        python -m utils.verify 5000\n        docker stop my-lute\n        docker rm my-lute\n\n\n  # Ensure that basic things work correctly on Windows,\n  # particularly PlatformDirs package.\n  windows-ci:\n\n    runs-on: windows-latest\n    timeout-minutes: 30\n\n    strategy:\n      matrix:\n        python_version: [ '3.8', '3.9', '3.10', '3.11' ]\n\n    steps:\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: ${{ matrix.python_version }}\n        cache: 'pip' # caching pip dependencies\n\n    - name: Setup config\n      run: |\n        mkdir ${{ github.workspace }}\\data\n        echo ENV: dev > ${{ github.workspace }}\\lute\\config\\config.yml\n        echo DATAPATH: ${{ github.workspace }}\\data >> ${{ github.workspace }}\\lute\\config\\config.yml\n        echo DBNAME: test_lute.db >> ${{ github.workspace }}\\lute\\config\\config.yml\n      shell: cmd\n\n    - name: Replace config slashes.\n      run: |\n        $content = [System.IO.File]::ReadAllText(\"${{ github.workspace }}\\lute\\config\\config.yml\").Replace('\\','/')\n        [System.IO.File]::WriteAllText(\"${{ github.workspace }}\\lute\\config\\config.yml\", $content)\n        Get-Content -Path \"${{ github.workspace }}\\lute\\config\\config.yml\"\n\n    - run: pip install -r requirements.txt\n\n    # Can't get playwright to run reliably on Windows.\n    # - name: Playwright install\n    #   run: playwright install\n    # - name: Playwright smoke test\n    #   run: inv playwright || exit /b\n\n    # Now having problems with tests not working on windows ...\n    # getting failure message:\n    # javascript error: clear_datatable_state is not defined\n    #\n    # The above message is called from lute_test_client to clear book\n    # datatables state.  This _used_ to work (e.g. in v3.3.0), and\n    # I can't track it down at the moment!!!!!!\n    #\n    # TODO ci: RESTORE AT LEAST ONE SANITY CHECK TEST ON WINDOWS.\n    #\n    # Run specific sanity check.\n    # Old tests no longer run -- datatables may have timing issues on Windows tests,\n    # tests were far too flaky.\n    # inv accept -s -k test_unsupported_language_not_shown || exit /b\n    # inv accept -s -k import_a_valid_term_file || exit /b\n    # - name: Smoke tests\n    #   run: |\n    #     inv accept -s -k test_updating_term_status_updates_the_reading_frame || exit /b\n\n    - name: Remove config to force using prod config\n      run: del ${{ github.workspace }}\\lute\\config\\config.yml\n      shell: cmd\n\n    - name: Install prod-like flit package\n      run: |\n        mkdir ${{ github.workspace }}\\..\\lute_flit\n        cd ${{ github.workspace }}\\..\\lute_flit\n        flit -f ${{ github.workspace }}\\pyproject.toml install\n      shell: cmd\n\n    - name: Run Lute application\n      run: |\n        echo \"python -m lute.main\" > run-server.bat\n        cmd /c \"START /b run-server.bat\"\n\n    - name: Wait for application to start\n      run: Start-Sleep -Seconds 10\n\n    - name: Verify flit install\n      run: |\n        cd ${{ github.workspace }}\n        python -m utils.verify 5000\n", "state": "active", "repository": "LuteOrg/lute-v3"}
{"mined_at": "2024-07-15T19:01:23.786006", "created_at": "2024-01-04T12:31:33+01:00", "updated_at": "2024-01-04T12:31:33+01:00", "name": "coverage", "path": ".github/workflows/coverage.yml", "contents": "name: coverage\n\non:\n  push:\n    # A branch coverage can be created and used for ci\n    # experiments and tweaks.\n    branches: [ \"master\", \"coverage\" ]\n\npermissions:\n  contents: read\n\njobs:\n\n  # Generate a coverage badge, don't worry if it fails.\n  # Uses https://github.com/Schneegans/dynamic-badges-action to update a secret gist\n  # (ID a15001ec2ff889f7be0b553df9881566) and an API token, per notes at\n  # https://nedbatchelder.com/blog/202209/making_a_coverage_badge.html.\n  # Slightly wasteful in that it re-runs the tests, but it's fastest.\n  coverage:\n    continue-on-error: true\n    runs-on: ubuntu-latest\n    timeout-minutes: 30\n\n    steps:\n\n    - name: Install Dependencies\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y mecab mecab-ipadic-utf8\n        # Helper checks to find the mecab library path,\n        # so it can be exported before running tests.\n        # Without the export, natto-py fails on github.\n        # echo FIND THE LIB:\n        # which mecab\n        # actual=`readlink -f /usr/bin/mecab`\n        # ldd $actual\n\n    - uses: actions/checkout@v4\n      with:\n        submodules: true\n\n    - uses: actions/setup-python@v4\n      with:\n        python-version: '3.8'\n        cache: 'pip' # caching pip dependencies\n\n    - run: pip install -r requirements.txt\n\n    - name: Setup config\n      run: |\n        mkdir ${{ github.workspace }}/data\n        echo \"ENV: dev\" > ${{ github.workspace }}/lute/config/config.yml\n        echo \"DATAPATH: ${{ github.workspace }}/data\" >> ${{ github.workspace }}/lute/config/config.yml\n        echo \"DBNAME: test_lute.db\" >> ${{ github.workspace }}/lute/config/config.yml\n        ls ${{ github.workspace }}\n        cat ${{ github.workspace }}/lute/config/config.yml\n\n    - name: Generate coverage\n      run: |\n        # Have to explicitly set MECAB_PATH for natto-py.\n        export MECAB_PATH=/lib/x86_64-linux-gnu/libmecab.so.2\n        coverage run -m pytest tests/\n        coverage json --omit=\"tests/*\"\n        export TOTAL=$(python -c \"import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])\")\n        echo \"total=$TOTAL\" >> $GITHUB_ENV\n        echo \"### Total coverage: ${TOTAL}%\" >> $GITHUB_STEP_SUMMARY\n\n    - name: \"Make badge\"\n      uses: schneegans/dynamic-badges-action@v1.4.0\n      with:\n        # GIST_TOKEN is a GitHub personal access token with scope \"gist\".\n        auth: ${{ secrets.GIST_TOKEN }}\n        gistID: a15001ec2ff889f7be0b553df9881566\n        filename: covbadge.json\n        label: coverage\n        message: ${{ env.total }}%\n        valColorRange: ${{ env.total }}\n        minColorRange: 50\n        maxColorRange: 80\n", "state": "active", "repository": "LuteOrg/lute-v3"}
{"mined_at": "2024-07-15T19:01:26.044224", "created_at": "2023-03-24T23:17:10+01:00", "updated_at": "2023-03-24T23:17:10+01:00", "name": "Changelog updated?", "path": ".github/workflows/changelog.yml", "contents": "name: Changelog updated?\n\non:\n  pull_request:\n    types:\n      - opened\n      - labeled\n      - unlabeled\n      - synchronize\n    branches:\n      - main\n      - develop\n\njobs:\n  call-changelog-check-workflow:\n    # Docs: https://github.com/ASFHyP3/actions\n    uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.11.1\n", "state": "active", "repository": "ASFHyP3/hyp3-isce2"}
{"mined_at": "2024-07-15T19:01:27.170544", "created_at": "2023-06-06T18:52:58+02:00", "updated_at": "2023-06-08T20:26:03+02:00", "name": "Generate Test Coverage Report and Badge", "path": ".github/workflows/coverage-report.yml", "contents": "name: Generate Test Coverage Report and Badge\n\non: pull_request\n\njobs:\n  pytest:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          repository: ${{ github.event.pull_request.head.repo.full_name }}\n          ref: ${{ github.event.pull_request.head.ref }}\n\n      - uses: mamba-org/setup-micromamba@v1\n        with:\n          environment-file: environment.yml\n\n      - name: Generate Coverage Report and Badge\n        shell: bash -l {0}\n        run: |\n          python -m pip install --no-deps .\n          python -m pip install coverage-badge\n          pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=hyp3_isce2 tests/ | tee pytest-coverage.txt\n          coverage-badge -fo images/coverage.svg\n\n      - name: Commit Coverage Badge\n        uses: EndBug/add-and-commit@v9\n        with:\n          default_author: github_actions\n          add: 'images/coverage.svg'\n          message: 'update coverage image'\n\n      - name: PR Coverage Comment\n        uses: MishaKav/pytest-coverage-comment@main\n        with:\n          pytest-coverage-path: ./pytest-coverage.txt\n          junitxml-path: ./pytest.xml", "state": "active", "repository": "ASFHyP3/hyp3-isce2"}
{"mined_at": "2024-07-15T19:01:28.227395", "created_at": "2023-07-06T19:31:49+02:00", "updated_at": "2023-07-06T19:31:49+02:00", "name": "Create Jira issue", "path": ".github/workflows/create-jira-issue.yml", "contents": "name: Create Jira issue\n\non:\n  issues:\n    types: [labeled]\n\njobs:\n  call-create-jira-issue-workflow:\n    uses: ASFHyP3/actions/.github/workflows/reusable-create-jira-issue.yml@v0.11.1\n    secrets:\n      JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}\n      JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}\n      JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}\n      JIRA_PROJECT: ${{ secrets.JIRA_PROJECT }}\n      JIRA_FIELDS: ${{ secrets.JIRA_FIELDS }}\n", "state": "active", "repository": "ASFHyP3/hyp3-isce2"}
{"mined_at": "2024-07-15T19:01:29.243895", "created_at": "2023-03-24T23:17:10+01:00", "updated_at": "2023-03-24T23:17:10+01:00", "name": "Is PR labeled?", "path": ".github/workflows/labeled-pr.yml", "contents": "name: Is PR labeled?\n\non:\n  pull_request:\n    types:\n      - opened\n      - labeled\n      - unlabeled\n      - synchronize\n    branches:\n      - main\n\njobs:\n  call-labeled-pr-check-workflow:\n    # Docs: https://github.com/ASFHyP3/actions\n    uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.11.1\n", "state": "active", "repository": "ASFHyP3/hyp3-isce2"}
{"mined_at": "2024-07-15T19:01:30.345578", "created_at": "2023-03-24T23:17:10+01:00", "updated_at": "2023-04-12T14:45:23+02:00", "name": "Create Release Comment", "path": ".github/workflows/release-checklist-comment.yml", "contents": "name: Create Release Comment\n\non:\n  pull_request:\n    types:\n      - opened\n    branches:\n      - main\n  \njobs:\n  call-release-workflow:\n    # Docs: https://github.com/ASFHyP3/actions\n    uses: ASFHyP3/actions/.github/workflows/reusable-release-checklist-comment.yml@v0.11.1\n    permissions:\n      pull-requests: write\n    secrets:\n      USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "ASFHyP3/hyp3-isce2"}
{"mined_at": "2024-07-15T19:01:31.473175", "created_at": "2023-03-24T23:17:10+01:00", "updated_at": "2023-03-24T23:17:10+01:00", "name": "Create Release", "path": ".github/workflows/release.yml", "contents": "name: Create Release\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  call-release-workflow:\n    # Docs: https://github.com/ASFHyP3/actions\n    uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.11.1\n    with:\n      release_prefix: HyP3 ISCE2\n    secrets:\n      USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }}\n", "state": "active", "repository": "ASFHyP3/hyp3-isce2"}
{"mined_at": "2024-07-15T19:01:32.700833", "created_at": "2023-03-24T23:17:10+01:00", "updated_at": "2023-03-24T23:17:10+01:00", "name": "Static analysis", "path": ".github/workflows/static-analysis.yml", "contents": "name: Static analysis\n\non: push\n\njobs:\n  call-secrets-analysis-workflow:\n    # Docs: https://github.com/ASFHyP3/actions\n    uses: ASFHyP3/actions/.github/workflows/reusable-secrets-analysis.yml@v0.11.1\n\n  call-flake8-workflow:\n    # Docs: https://github.com/ASFHyP3/actions\n    uses: ASFHyP3/actions/.github/workflows/reusable-flake8.yml@v0.11.1\n    with:\n      local_package_names: hyp3_isce2\n", "state": "active", "repository": "ASFHyP3/hyp3-isce2"}
{"mined_at": "2024-07-15T19:01:33.787508", "created_at": "2023-03-24T23:17:10+01:00", "updated_at": "2023-03-24T23:17:10+01:00", "name": "Tag New Version", "path": ".github/workflows/tag-version.yml", "contents": "name: Tag New Version\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  call-bump-version-workflow:\n    # Docs: https://github.com/ASFHyP3/actions\n    uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.11.1\n    with:\n      user: tools-bot\n      email: UAF-asf-apd@alaska.edu\n    secrets:\n      USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }}\n", "state": "active", "repository": "ASFHyP3/hyp3-isce2"}
{"mined_at": "2024-07-15T19:01:35.055376", "created_at": "2023-03-24T23:17:10+01:00", "updated_at": "2023-06-29T21:23:29+02:00", "name": "Test and build", "path": ".github/workflows/test-and-build.yml", "contents": "name: Test and build\n\non:\n  push:\n    branches:\n      - main\n      - develop\n  pull_request:\n    branches:\n      - main\n      - develop\n\njobs:\n  call-pytest-workflow:\n    # Docs: https://github.com/ASFHyP3/actions\n    uses: ASFHyP3/actions/.github/workflows/reusable-pytest.yml@v0.11.1\n    with:\n      local_package_name: hyp3_isce2\n      python_versions: >-\n        [\"3.9\", \"3.10\"]\n\n  call-version-info-workflow:\n    # Docs: https://github.com/ASFHyP3/actions\n    uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.11.1\n\n  call-docker-ghcr-workflow:\n    needs: call-version-info-workflow\n    # Docs: https://github.com/ASFHyP3/actions\n    uses: ASFHyP3/actions/.github/workflows/reusable-docker-ghcr.yml@v0.11.1\n    with:\n      version_tag: ${{ needs.call-version-info-workflow.outputs.version_tag }}\n      release_branch: main\n      develop_branch: develop\n      user: tools-bot\n    secrets:\n      USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "ASFHyP3/hyp3-isce2"}
{"mined_at": "2024-07-15T19:01:37.079447", "created_at": "2022-01-13T19:22:32+01:00", "updated_at": "2022-01-13T21:12:49+01:00", "name": "changelog", "path": ".github/workflows/changelog.yml", "contents": "name: changelog\non:\n  - pull_request\n\njobs:\n  check_has_news_in_changelog_dir:\n    if: |\n      ! (\n        contains(github.event.pull_request.labels.*.name, 'no-news-is-good-news') ||\n        github.event.pull_request.title == '[pre-commit.ci] pre-commit autoupdate'\n      )\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:  # do a deep fetch to allow merge-base and diff\n          fetch-depth: 0\n      - name: check PR adds a news file\n        run: |\n          news_files=\"$(git diff --name-only \"$(git merge-base origin/main \"$GITHUB_SHA\")\" \"$GITHUB_SHA\" -- changelog.d/*.rst)\"\n          if [ -n \"$news_files\" ]; then\n            echo \"Saw new files. changelog.d:\"\n            echo \"$news_files\"\n          else\n            echo \"No news files seen\"\n            exit 1\n          fi\n", "state": "active", "repository": "globus/globus-compute"}
{"mined_at": "2024-07-15T19:01:38.230699", "created_at": "2020-08-17T21:18:11+02:00", "updated_at": "2020-08-17T21:18:11+02:00", "name": "CI/CD", "path": ".github/workflows/ci.yaml", "contents": "name: CI/CD\n\non:\n  push:\n    branches:\n      - \"*\"\n    tags:\n      - \"*\"\n  pull_request:\n\njobs:\n  lint:\n    timeout-minutes: 5\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          cache: 'pip'\n      - name: install requirements\n        run: |\n          python -m pip install -U pip\n          python -m pip install pre-commit tox\n      - name: run pre-commit\n        run: pre-commit run -a\n      - name: mypy and pip-audit (sdk)\n        run: |\n          cd compute_sdk\n          tox -e mypy\n          tox -e pip-audit\n      - name: mypy and pip-audit (endpoint)\n        run: |\n          cd compute_endpoint\n          tox -e mypy\n          tox -e pip-audit\n\n  # ensure docs can build, imitating the RTD build as best we can\n  check-docs:\n    timeout-minutes: 5\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n      - name: build docs\n        run: make docs\n\n  test-sdk:\n    timeout-minutes: 5\n    strategy:\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    name: \"Test SDK on py${{ matrix.python-version }} x ${{ matrix.os }} \"\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - run: python -m pip install -U pip setuptools\n      - run: python -m pip install tox\n      - name: run tests\n        run: |\n          cd compute_sdk\n          tox -e py\n\n  test-endpoint:\n    timeout-minutes: 8\n    runs-on: ubuntu-latest\n    services:\n      rabbitmq:\n        image: rabbitmq\n        ports:\n          - 5672:5672\n        # needed because the rabbitmq container does not provide a healthcheck\n        options: --health-cmd \"rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_virtual_hosts && rabbitmq-diagnostics -q check_port_connectivity\" --health-interval 10s --health-timeout 5s --health-retries 5\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.9\", \"3.10\", \"3.11\"]\n    name: \"Test Endpoint on py${{ matrix.python-version }} x ${{ matrix.os }} \"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - run: python -m pip install -U pip setuptools\n      - run: python -m pip install tox\n      - name: run tests\n        run: |\n          cd compute_endpoint\n          tox -e py -- --log-cli-level=ERROR\n      - name: Collect Docker Logs\n        if: failure()\n        uses: jwalton/gh-docker-logs@v2.2.2\n", "state": "active", "repository": "globus/globus-compute"}
{"mined_at": "2024-07-15T19:01:39.240799", "created_at": "2021-10-28T18:59:22+02:00", "updated_at": "2021-11-09T13:48:31+01:00", "name": "daily", "path": ".github/workflows/daily.yaml", "contents": "name: daily\non:\n  # build every day at 4:00 AM UTC\n  schedule:\n    - cron: '0 4 * * *'\n  workflow_dispatch:\n\nenv:\n  TARGET_PYTHON_VERSION: '3.11'\n\njobs:\n  smoke-test-staging:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: main\n    - uses: actions/setup-python@v5\n      with:\n        python-version: '${{ env.TARGET_PYTHON_VERSION }}'\n    - run: |\n        python -m venv .venv\n        .venv/bin/python -m pip install --upgrade pip setuptools wheel\n        .venv/bin/python -m pip install tox\n    - name: run smoke tests (ECS staging)\n      env:\n        FUNCX_SMOKE_CLIENT_ID: ${{ secrets.API_CLIENT_ID }}\n        FUNCX_SMOKE_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET_STAGING }}\n        GLOBUS_SDK_ENVIRONMENT: \"staging\"\n      run: |\n        source .venv/bin/activate\n        cd smoke_tests\n        make staging\n\n  slack-notify:\n    needs:\n      - smoke-test-staging\n    if: always()\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: '${{ env.TARGET_PYTHON_VERSION }}'\n      - run: python -m pip install --upgrade requests\n      - name: notify slack\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n          SLACK_CHANNEL: '#commits'\n          SLACK_MESSAGE_TITLE: 'Daily Smoke Tests on Staging'\n          SLACK_FAILURE_MESSAGE: 'Daily test failed on staging'\n        run: ./.github/_support/github-slack-notify.py ${{ needs.smoke-test-staging.result }}\n", "state": "active", "repository": "globus/globus-compute"}
{"mined_at": "2024-07-15T19:01:40.380867", "created_at": "2021-10-22T18:10:20+02:00", "updated_at": "2021-10-22T18:10:20+02:00", "name": "hourly", "path": ".github/workflows/hourly.yaml", "contents": "name: hourly\n\non:\n  schedule:\n    - cron: \"0 * * * *\"\n  workflow_dispatch:\n    inputs:\n      tags:\n        required: false\n        description: \"manual test\"\n\njobs:\n  smoke-test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - uses: actions/checkout@v4\n      with:\n        ref: main\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - run: python -m pip install -U pip setuptools\n    - run: python -m pip install tox\n    - name: Run smoke tests to check liveness of hosted services\n      env:\n        FUNCX_SMOKE_CLIENT_ID: ${{ secrets.API_CLIENT_ID }}\n        FUNCX_SMOKE_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET }}\n      run: |\n        cd smoke_tests\n        make prod\n\n  slack-notify:\n    needs: [smoke-test]\n    if: always()\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n      - run: python -m pip install -U requests\n      - name: notify slack\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n          SLACK_CHANNEL: '#commits'\n          SLACK_MESSAGE_TITLE: 'Hourly Automated Tests'\n          SLACK_FAILURE_MESSAGE: '@channel - Hourly run failed'\n        run: ./.github/_support/github-slack-notify.py ${{ needs.smoke-test.result }}\n", "state": "active", "repository": "globus/globus-compute"}
{"mined_at": "2024-07-15T19:01:41.609022", "created_at": "2021-10-05T22:36:45+02:00", "updated_at": "2021-10-06T00:14:10+02:00", "name": "smoke_test", "path": ".github/workflows/smoke_test.yaml", "contents": "name: smoke_test\n\non:\n  push:\n    paths:\n      - 'smoke_tests/**'\n    branches:\n      - \"*\"\n    tags:\n      - \"*\"\n  pull_request:\n    paths:\n      - 'smoke_tests/**'\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    timeout-minutes: 10\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n      with:\n        python-version: \"3.11\"\n    - run: python -m pip install -U pip setuptools\n    - run: python -m pip install tox\n    - name: Run smoke tests (localdeps)\n      env:\n        FUNCX_SMOKE_CLIENT_ID: ${{ secrets.API_CLIENT_ID }}\n        FUNCX_SMOKE_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET }}\n      run: |\n        cd smoke_tests\n        tox -e localdeps\n", "state": "active", "repository": "globus/globus-compute"}
{"mined_at": "2024-07-15T19:01:42.837345", "created_at": "2021-04-22T20:50:31+02:00", "updated_at": "2021-12-07T21:09:14+01:00", "name": "tutorial_test", "path": ".github/workflows/tutorial.yaml", "contents": null, "state": "active", "repository": "globus/globus-compute"}
{"mined_at": "2024-07-15T19:01:45.193629", "created_at": "2022-06-03T10:48:48+02:00", "updated_at": "2022-06-03T10:48:48+02:00", "name": "Check Python code quality", "path": ".github/workflows/_quality-python.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Check Python code quality\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\nenv:\n  # required to get access to use a cached poetry venv in \"/home/runner/.cache/pypoetry/virtualenvs\"\n  POETRY_VIRTUALENVS_IN_PROJECT: false\n  python-version: \"3.9.18\"\n  poetry-version: \"1.8.2\"\njobs:\n  code-quality:\n    defaults:\n      run:\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry==${{ env.poetry-version }}\n      - name: Use Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.python-version }}\n          cache: \"poetry\"\n          cache-dependency-path: |\n            ${{ inputs.working-directory }}/poetry.lock\n      - name: Install packages\n        run: sudo apt update; sudo apt install -y ffmpeg libavcodec-extra libsndfile1\n      - name: Verify consistency of poetry.lock with pyproject.toml\n        run: poetry lock --no-update --check\n      - name: Install dependencies\n        # \"poetry env use\" is required: https://github.com/actions/setup-python/issues/374#issuecomment-1088938718\n        run: |\n          poetry env use \"${{ env.python-version }}\"\n          poetry install\n      - name: Run ruff linter\n        run: |\n          if [ -d src ]; then poetry run ruff check src; fi\n          if [ -d tests ]; then poetry run ruff check tests --ignore=ARG; fi\n      - name: Run ruff formatter\n        run: |\n          if [ -d src ]; then poetry run ruff format --check src; fi\n          if [ -d tests ]; then poetry run ruff format --check tests; fi\n      - name: Run mypy\n        run: |\n          if [ -d src ]; then poetry run mypy src; fi\n          if [ -d tests ]; then poetry run mypy tests; fi\n      - name: Run bandit\n        run: if [ -d src ]; then poetry run bandit -r src; fi\n      # - name: Run pip-audit\n      #   run: bash -c \"poetry run pip-audit --ignore-vuln GHSA-wj6h-64fc-37mp --ignore-vuln GHSA-wfm5-v35h-vwf4 --ignore-vuln GHSA-cwvm-v4w8-q58c --ignore-vuln PYSEC-2022-43059 -r <(poetry export -f requirements.txt --with dev | sed '/^libapi @/d' | sed '/^libcommon @/d')\"\n      # ^ 20240506 - disabled until we upgrade to huggingface-hub@0.23 and datasets@2.20\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:46.245569", "created_at": "2022-06-03T10:48:48+02:00", "updated_at": "2022-06-03T10:48:48+02:00", "name": "Launch Python unit tests", "path": ".github/workflows/_unit-tests-python.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Launch Python unit tests\non:\n  workflow_call:\n    inputs:\n      working-directory:\n        required: true\n        type: string\nenv:\n  # required to get access to use a cached poetry venv in \"/home/runner/.cache/pypoetry/virtualenvs\"\n  POETRY_VIRTUALENVS_IN_PROJECT: false\n  mongo-port: \"27017\"\n  mongo-version: \"6.0.9\"\n  python-version: \"3.9.18\"\n  poetry-version: \"1.8.2\"\n  replicaset: \"rs0\"\njobs:\n  unit-tests:\n    defaults:\n      run:\n        shell: bash\n        working-directory: ${{ inputs.working-directory }}\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - uses: actions/checkout@v4\n      - name: Install poetry\n        run: pipx install poetry==${{ env.poetry-version }}\n      - name: Use Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.python-version }}\n          cache: \"poetry\"\n          cache-dependency-path: |\n            ${{ inputs.working-directory }}/poetry.lock\n      - name: Install packages\n        run: sudo apt update; sudo apt install -y ffmpeg libavcodec-extra libsndfile1\n      - name: Install dependencies\n        # \"poetry env use\" is required: https://github.com/actions/setup-python/issues/374#issuecomment-1088938718\n        run: |\n          poetry env use \"${{ env.python-version }}\"\n          poetry install\n      - name: Launch mongo\n        env:\n          MONGO_PORT: ${{ env.mongo-port }}\n          MONGO_REPLICASET: ${{ env.replicaset }}\n        run: docker compose -f docker-compose-mongo.yml up -d --wait --wait-timeout 20\n        working-directory: ./tools\n      - name: Run unit tests\n        env:\n          CACHE_MONGO_URL: mongodb://localhost:${{ env.mongo-port }}\n          QUEUE_MONGO_URL: mongodb://localhost:${{ env.mongo-port }}\n          DATABASE_MIGRATIONS_MONGO_URL: mongodb://localhost:${{ env.mongo-port }}\n          CI_SPAWNING_TOKEN: ${{ secrets.CI_SPAWNING_TOKEN }}\n          ASSETS_STORAGE_ROOT: /tmp/assets\n          CACHED_ASSETS_STORAGE_ROOT: /tmp/cached-assets\n          S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}\n          S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}\n          CLOUDFRONT_KEY_PAIR_ID: \"K3814DK2QUJ71H\"\n          CLOUDFRONT_PRIVATE_KEY: ${{ secrets.CLOUDFRONT_PRIVATE_KEY }}\n        run: poetry run python -m pytest -s\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:47.392255", "created_at": "2022-06-03T10:48:48+02:00", "updated_at": "2023-05-10T19:16:41+02:00", "name": "e2e", "path": ".github/workflows/e2e.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: e2e\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"e2e/**\"\n      - \"libs/**\"\n      - \"services/**\"\n      - \"docs/source/openapi.json\"\n      - \".github/workflows/_e2e_tests.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/e2e.yml\"\n      - \"tools/Python.mk\"\n      - \"tools/docker-compose-dataset-viewer.yml\"\n  pull_request:\n    paths:\n      - \"e2e/**\"\n      - \"libs/**\"\n      - \"services/**\"\n      - \"docs/source/openapi.json\"\n      - \".github/workflows/_e2e_tests.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/e2e.yml\"\n      - \"tools/Python.mk\"\n      - \"tools/docker-compose-dataset-viewer.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: e2e\n  e2e-tests:\n    uses: ./.github/workflows/_e2e_tests.yml\n    secrets: inherit\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:48.459858", "created_at": "2022-06-03T10:48:48+02:00", "updated_at": "2023-05-10T19:05:28+02:00", "name": "services/worker", "path": ".github/workflows/s-worker.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: services/worker\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libcommon/**\"\n      - \"services/worker/**\"\n      - \".github/workflows/s-worker.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libcommon/**\"\n      - \"services/worker/**\"\n      - \".github/workflows/s-worker.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/worker\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/worker\n    secrets: inherit\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:49.698980", "created_at": "2022-06-03T11:55:56+02:00", "updated_at": "2022-10-24T21:05:39+02:00", "name": "Launch end-to-end tests", "path": ".github/workflows/_e2e_tests.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Launch end-to-end tests\non:\n  workflow_call:\nenv:\n  python-version: 3.9.18\n  poetry-version: \"1.8.2\"\n  # required to get access to use a cached poetry venv in \"/home/runner/.cache/pypoetry/virtualenvs\"\n  POETRY_VIRTUALENVS_IN_PROJECT: false\n  working-directory: e2e\n  replicaset: \"rs0\"\n  mongo-port: 27017\njobs:\n  e2e-tests:\n    defaults:\n      run:\n        shell: bash\n        working-directory: e2e\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n      - name: Build and launch the services (no cache)\n        env:\n          ADMIN_UVICORN_NUM_WORKERS: \"2\"\n          ADMIN_UVICORN_PORT: \"8081\"\n          API_HF_JWT_ALGORITHM: \"EdDSA\"\n          API_HF_JWT_PUBLIC_KEY_URL: \"https://hub-ci.huggingface.co/api/keys/jwt\"\n          # ^ it's not tested in the e2e tests, but it's good to ensure we're able to fetch it at least.\n          ADMIN_HF_TIMEOUT_SECONDS: \"10\"\n          API_HF_TIMEOUT_SECONDS: \"10\"\n          # ^ allow hub-ci to be slow to answer\n          API_UVICORN_NUM_WORKERS: \"2\"\n          API_UVICORN_PORT: \"8080\"\n          ROWS_UVICORN_NUM_WORKERS: \"2\"\n          ROWS_UVICORN_PORT: \"8082\"\n          SEARCH_UVICORN_NUM_WORKERS: \"2\"\n          SEARCH_UVICORN_PORT: \"8083\"\n          SSE_API_UVICORN_NUM_WORKERS: \"2\"\n          SSE_API_UVICORN_PORT: \"8085\"\n          WEBHOOK_UVICORN_NUM_WORKERS: \"2\"\n          WEBHOOK_UVICORN_PORT: \"8087\"\n          COMMON_HF_ENDPOINT: \"https://hub-ci.huggingface.co\"\n          COMMON_HF_TOKEN: \"hf_app_datasets-server_token\"\n          # ^ hard coded, see e2e/tests/fixtures/hub.py\n          LOG_LEVEL: \"DEBUG\"\n          PARQUET_AND_INFO_COMMITTER_HF_TOKEN: \"hf_app_datasets-server-parquet-converter_token\"\n          DUCKDB_INDEX_COMMITTER_HF_TOKEN: \"hf_app_datasets-server-parquet-converter_token\"\n          PORT_REVERSE_PROXY: \"8000\"\n          PROMETHEUS_MULTIPROC_DIR: \"/tmp\"\n          WORKER_SLEEP_SECONDS: \"1\"\n          MONGO_PORT: ${{ env.mongo-port }}\n          MONGO_REPLICASET: ${{ env.replicaset }}\n          COMMON_BLOCKED_DATASETS: \"DVUser/blocked-*\"\n          ADMIN_HF_ORGANIZATION: \"valid_org\"\n          E2E_ADMIN_USER_TOKEN: \"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\"\n          # the containers need to access S3 and Cloudfront\n          ASSETS_BASE_URL: \"https://datasets-server-test.us.dev.moon.huggingface.tech/assets\"\n          ASSETS_STORAGE_PROTOCOL: \"s3\"\n          ASSETS_STORAGE_ROOT: \"hf-datasets-server-statics-test/assets\"\n          CACHED_ASSETS_BASE_URL: \"https://datasets-server-test.us.dev.moon.huggingface.tech/cached-assets\"\n          CACHED_ASSETS_STORAGE_PROTOCOL: \"s3\"\n          CACHED_ASSETS_STORAGE_ROOT: \"hf-datasets-server-statics-test/cached-assets\"\n          S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}\n          S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}\n          S3_REGION_NAME: \"us-east-1\"\n          CLOUDFRONT_KEY_PAIR_ID: \"K3814DK2QUJ71H\"\n          CLOUDFRONT_PRIVATE_KEY: ${{ secrets.CLOUDFRONT_PRIVATE_KEY }}\n        run: docker compose -f docker-compose-dataset-viewer.yml up -d --wait --wait-timeout 20\n        working-directory: ./tools\n      - name: Install poetry\n        run: pipx install poetry==${{ env.poetry-version }}\n      - name: Use Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ env.python-version }}\n          cache: \"poetry\"\n          cache-dependency-path: |\n            ${{ env.working-directory }}/poetry.lock\n      - name: Install dependencies\n        run: |\n          poetry env use \"${{ env.python-version }}\"\n          poetry install\n      - name: End-to-end tests\n        env:\n          ADMIN_UVICORN_NUM_WORKERS: \"2\"\n          ADMIN_UVICORN_PORT: \"8081\"\n          API_HF_JWT_ALGORITHM: \"EdDSA\"\n          API_HF_JWT_PUBLIC_KEY_URL: \"https://hub-ci.huggingface.co/api/keys/jwt\"\n          # ^ it's not tested in the e2e tests, but it's good to ensure we're able to fetch it at least.\n          ADMIN_HF_TIMEOUT_SECONDS: \"10\"\n          API_HF_TIMEOUT_SECONDS: \"10\"\n          # ^ allow hub-ci to be slow to answer\n          API_UVICORN_NUM_WORKERS: \"2\"\n          API_UVICORN_PORT: \"8080\"\n          ROWS_UVICORN_NUM_WORKERS: \"2\"\n          ROWS_UVICORN_PORT: \"8082\"\n          SEARCH_UVICORN_NUM_WORKERS: \"2\"\n          SEARCH_UVICORN_PORT: \"8083\"\n          SSE_API_UVICORN_NUM_WORKERS: \"2\"\n          SSE_API_UVICORN_PORT: \"8085\"\n          WEBHOOK_UVICORN_NUM_WORKERS: \"2\"\n          WEBHOOK_UVICORN_PORT: \"8087\"\n          COMMON_HF_ENDPOINT: \"https://hub-ci.huggingface.co\"\n          COMMON_HF_TOKEN: \"hf_app_datasets-server_token\"\n          # ^ hard coded, see e2e/tests/fixtures/hub.py\n          LOG_LEVEL: \"DEBUG\"\n          PARQUET_AND_INFO_COMMITTER_HF_TOKEN: \"hf_app_datasets-server-parquet-converter_token\"\n          DUCKDB_INDEX_COMMITTER_HF_TOKEN: \"hf_app_datasets-server-parquet-converter_token\"\n          PORT_REVERSE_PROXY: \"8000\"\n          PROMETHEUS_MULTIPROC_DIR: \"/tmp\"\n          WORKER_SLEEP_SECONDS: \"1\"\n          COMMON_BLOCKED_DATASETS: \"DVUser/blocked-*\"\n          ADMIN_HF_ORGANIZATION: \"valid_org\"\n          E2E_ADMIN_USER_TOKEN: \"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\"\n        run: |\n          poetry run python -m pytest -vv -s tests\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:50.929273", "created_at": "2022-07-25T17:18:58+02:00", "updated_at": "2023-05-10T23:50:38+02:00", "name": "services/admin", "path": ".github/workflows/s-admin.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: services/admin\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libcommon/**\"\n      - \"services/admin/**\"\n      - \".github/workflows/s-admin.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libcommon/**\"\n      - \"services/admin/**\"\n      - \".github/workflows/s-admin.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/admin\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/admin\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:52.156363", "created_at": "2022-07-25T17:18:58+02:00", "updated_at": "2023-05-10T23:50:38+02:00", "name": "services/api", "path": ".github/workflows/s-api.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: services/api\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/api/**\"\n      - \".github/workflows/s-api.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/api/**\"\n      - \".github/workflows/s-api.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/api\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/api\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:53.256135", "created_at": "2022-08-05T19:22:35+02:00", "updated_at": "2023-05-10T23:50:38+02:00", "name": "Build PR Documentation", "path": ".github/workflows/doc-pr-build.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Build PR Documentation\n\non:\n  pull_request:\n    paths:\n      - \"docs/**\"\n      - \".github/workflows/doc-pr-build.yml\"\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main\n    with:\n      commit_sha: ${{ github.event.pull_request.head.sha }}\n      pr_number: ${{ github.event.number }}\n      package: datasets-server\n      additional_args: --not_python_module\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:54.277853", "created_at": "2022-08-05T21:28:40+02:00", "updated_at": "2022-08-05T21:28:40+02:00", "name": "Build documentation", "path": ".github/workflows/doc-build.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Build documentation\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - \"docs/**\"\n      - \".github/workflows/doc-build.yml\"\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main\n    with:\n      commit_sha: ${{ github.sha }}\n      package: datasets-server\n      notebook_folder: datasets-server_doc\n      additional_args: --not_python_module\n    secrets:\n      token: ${{ secrets.HUGGINGFACE_PUSH }}\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:55.375359", "created_at": "2022-08-08T21:32:11+02:00", "updated_at": "2022-08-08T21:32:11+02:00", "name": "Check openapi specification", "path": ".github/workflows/openapi-spec.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Check openapi specification\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"docs/source/openapi.json\"\n      - \".github/workflows/openapi-spec.yml\"\n      - \".spectral.yml\"\n  pull_request:\n    paths:\n      - \"docs/source/openapi.json\"\n      - \".github/workflows/openapi-spec.yml\"\n      - \".spectral.yml\"\njobs:\n  check-openapi-spec-against-spectral:\n    name: Run Spectral\n    runs-on: ubuntu-latest\n    steps:\n      # Check out the repository\n      - uses: actions/checkout@v4\n\n      # Run Spectral\n      - uses: stoplightio/spectral-action@latest\n        with:\n          file_glob: 'docs/source/openapi.json'\n          spectral_ruleset: '.spectral.yml'\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:56.452882", "created_at": "2022-09-15T19:32:50+02:00", "updated_at": "2022-09-15T19:32:50+02:00", "name": "Stale Bot", "path": ".github/workflows/stale.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Stale Bot\n\non:\n  schedule:\n    - cron: \"0 15 * * *\"\n\njobs:\n  close_stale_issues:\n    name: Close Stale Issues\n    if: github.repository == 'huggingface/dataset-viewer'\n    runs-on: ubuntu-latest\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.7\n\n      - name: Install requirements\n        run: |\n          pip install PyGithub\n      - name: Close stale issues\n        run: |\n          python tools/stale.py\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:57.685491", "created_at": "2022-10-20T18:47:09+02:00", "updated_at": "2023-05-10T23:50:38+02:00", "name": "libs/libcommon", "path": ".github/workflows/l-libcommon.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: libs/libcommon\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libcommon/**\"\n      - \".github/workflows/l-libcommon.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libcommon/**\"\n      - \".github/workflows/l-libcommon.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: libs/libcommon\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: libs/libcommon\n    secrets: inherit\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:58.812719", "created_at": "2022-11-14T22:47:03+01:00", "updated_at": "2023-05-10T17:13:35+02:00", "name": "jobs/mongodb_migration", "path": ".github/workflows/j-migration.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: jobs/mongodb_migration\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/mongodb_migration/**\"\n      - \"libs/libcommon/**\"\n      - \".github/workflows/j-migration.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"jobs/mongodb_migration/**\"\n      - \"libs/libcommon/**\"\n      - \".github/workflows/j-migration.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: jobs/mongodb_migration\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: jobs/mongodb_migration\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:01:59.901131", "created_at": "2023-02-06T17:01:23+01:00", "updated_at": "2023-02-06T17:01:23+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:02:00.924363", "created_at": "2023-02-24T16:06:09+01:00", "updated_at": "2023-02-24T16:32:34+01:00", "name": "chart PR", "path": ".github/workflows/chart-pr.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: chart PR\non:\n  pull_request:\n    paths:\n      - \"chart/**\"\n      - \".github/workflows/chart-pr.yml\"\njobs:\n  code-quality-helm:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v4\n      - name: Update dependencies\n        run: helm dependencies update\n        working-directory: chart\n      - name: Lint chart with default values\n        run: helm lint\n        working-directory: chart\n      - name: Lint chart with staging values\n        run: helm lint --values env/staging.yaml\n        working-directory: chart\n      - name: Lint chart with prod values\n        run: helm lint --values env/prod.yaml\n        working-directory: chart\n  helm-diff:\n    name: Diff\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Update dependencies\n        run: helm dependencies update\n        working-directory: chart\n      - name: Tailscale\n        uses: tailscale/github-action@main\n        with:\n          authkey: ${{ secrets.TAILSCALE_AUTHKEY }}\n          version: ${{ vars.TAILSCALE_CLIENT_VERSION }}\n      - uses: XciD/argocd-diff-action@master\n        name: ArgoCD Diff\n        with:\n          argocd-server-url: ${{ secrets.ARGO_CD_URL }}\n          argocd-token: ${{ secrets.ARGO_CD_CI_TOKEN }}\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          argocd-version: v2.6.1\n          argocd-extra-cli-args: --grpc-web --loglevel error\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:02:02.091012", "created_at": "2023-02-24T16:32:34+01:00", "updated_at": "2023-02-24T16:32:34+01:00", "name": "Continuous deployment", "path": ".github/workflows/cd.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Continuous deployment\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\nenv:\n  repository-prefix: huggingface/datasets-server-\n\njobs:\n  build-and-push-images:\n    name: Build and push docker images to public Docker Hub\n    strategy:\n      matrix:\n        include:\n          - directory: jobs\n            project: mongodb_migration\n          - directory: jobs\n            project: cache_maintenance\n          - directory: services\n            project: admin\n          - directory: services\n            project: api\n          - directory: services\n            project: rows\n          - directory: services\n            project: search\n          - directory: services\n            project: sse-api\n          - directory: services\n            project: worker\n          - directory: services\n            project: webhook\n    runs-on: \"ubuntu-latest\"\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n      - name: Set outputs\n        id: vars\n        run: echo \"sha_short=$(git rev-parse --short HEAD)\" >> $GITHUB_OUTPUT\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_PASSWORD }}\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: ${{ env.repository-prefix }}${{ matrix.directory }}-${{ matrix.project }}\n          tags: |\n            type=raw,value=sha-${{ steps.vars.outputs.sha_short }}\n      - name: Build and push Docker image\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ${{ matrix.directory }}/${{ matrix.project }}/Dockerfile\n          build-args: COMMIT=${{ steps.vars.outputs.sha_short }}\n          push: true\n          tags: ${{ steps.meta.outputs.tags }}\n          labels: ${{ steps.meta.outputs.labels }}\n          # see https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#registry-cache\n          cache-from: type=registry,ref=${{ env.repository-prefix }}${{ matrix.directory }}-${{ matrix.project }}:buildcache\n          cache-to: type=registry,ref=${{ env.repository-prefix }}${{ matrix.directory }}-${{ matrix.project }}:buildcache,mode=max\n\n  code-quality-helm:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v4\n      - name: Update dependencies\n        run: helm dependencies update\n        working-directory: chart\n      - name: Lint chart with default values\n        run: helm lint\n        working-directory: chart\n      - name: Lint chart with staging values\n        run: helm lint --values env/staging.yaml\n        working-directory: chart\n      - name: Lint chart with prod values\n        run: helm lint --values env/prod.yaml\n        working-directory: chart\n\n  deploy-staging-and-prod:\n    if: ${{ endsWith(github.ref, '/main') }}\n    runs-on: ubuntu-latest\n    needs: [build-and-push-images]\n    environment: production\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v4\n      - name: Set outputs\n        id: vars\n        run: echo \"sha_short=$(git rev-parse --short HEAD)\" >> $GITHUB_OUTPUT\n      - name: Gen values\n        run: |\n          VALUES=$(cat <<-END\n            images:\n              jobs:\n                mongodbMigration:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                cacheMaintenance:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n              services:\n                admin:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                api:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                rows:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                search:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                sseApi:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                worker:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n                webhook:\n                  tag: sha-${{ steps.vars.outputs.sha_short }}\n          END\n          )\n          echo \"VALUES=$(echo \"$VALUES\" | yq -o=json | jq tostring)\" >> $GITHUB_ENV\n      - name: Deploy on infra-deployments\n        uses: aurelien-baudet/workflow-dispatch@v2\n        with:\n          workflow: Update application values\n          repo: huggingface/infra-deployments\n          wait-for-completion: true\n          ref: refs/heads/main\n          token: ${{ secrets.ARGO_CD_TOKEN }}\n          inputs: '{\"path\": \"datasets-server/*.yaml\", \"values\": ${{ env.VALUES }}, \"url\": \"${{ github.event.head_commit.url }}\"}'\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:02:03.318222", "created_at": "2023-04-06T00:02:33+02:00", "updated_at": "2023-05-10T19:16:41+02:00", "name": "jobs/cache_maintenance", "path": ".github/workflows/j-cache-maintenance.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: jobs/cache_maintenance\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"jobs/cache_maintenance/**\"\n      - \"libs/libcommon/**\"\n      - \".github/workflows/j-cache-maintenance.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"jobs/cache_maintenance/**\"\n      - \"libs/libcommon/**\"\n      - \".github/workflows/j-cache-maintenance.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: jobs/cache_maintenance\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: jobs/cache_maintenance\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:02:04.471019", "created_at": "2023-06-09T17:30:54+02:00", "updated_at": "2023-06-09T17:30:54+02:00", "name": "Upload PR Documentation", "path": ".github/workflows/doc-pr-upload.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: Upload PR Documentation\n\non:\n  workflow_run:\n    workflows: [\"Build PR Documentation\"]\n    types:\n      - completed\n\njobs:\n  build:\n    uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main\n    with:\n      package_name: datasets-server\n    secrets:\n      hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}\n      comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:02:05.563188", "created_at": "2023-07-04T11:14:38+02:00", "updated_at": "2023-07-04T15:32:21+02:00", "name": "libs/libapi", "path": ".github/workflows/l-libapi.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2022 The HuggingFace Authors.\n\nname: libs/libapi\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libapi/**\"\n      - \".github/workflows/l-libapi.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libapi/**\"\n      - \".github/workflows/l-libapi.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: libs/libapi\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: libs/libapi\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:02:06.799905", "created_at": "2023-07-04T15:44:27+02:00", "updated_at": "2023-07-04T18:26:18+02:00", "name": "services/rows", "path": ".github/workflows/s-rows.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2023 The HuggingFace Authors.\n\nname: services/rows\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/rows/**\"\n      - \".github/workflows/s-rows.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/rows/**\"\n      - \".github/workflows/s-rows.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/rows\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/rows\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:02:07.911105", "created_at": "2023-07-25T22:42:34+02:00", "updated_at": "2023-08-02T20:52:50+02:00", "name": "services/search", "path": ".github/workflows/s-search.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2023 The HuggingFace Authors.\n\nname: services/search\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/search/**\"\n      - \".github/workflows/s-search.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/search/**\"\n      - \".github/workflows/s-search.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/search\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/search\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:02:09.060632", "created_at": "2023-09-06T22:50:43+02:00", "updated_at": "2023-09-12T21:41:23+02:00", "name": "services/sse-api", "path": ".github/workflows/s-sse-api.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2023 The HuggingFace Authors.\n\nname: services/sse-api\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/sse-api/**\"\n      - \".github/workflows/s-sse-api.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/sse-api/**\"\n      - \".github/workflows/s-sse-api.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/sse-api\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/sse-api\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:02:10.154461", "created_at": "2023-09-11T16:15:51+02:00", "updated_at": "2023-09-11T16:15:51+02:00", "name": "services/filter", "path": ".github/workflows/s-filter.yml", "contents": null, "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:02:11.186139", "created_at": "2024-05-22T14:35:07+02:00", "updated_at": "2024-05-22T17:40:05+02:00", "name": "services/webhook", "path": ".github/workflows/s-webhook.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n# Copyright 2024 The HuggingFace Authors.\n\nname: services/webhook\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/webhook/**\"\n      - \".github/workflows/s-webhook.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\n  pull_request:\n    paths:\n      - \"libs/libapi/**\"\n      - \"libs/libcommon/**\"\n      - \"services/webhook/**\"\n      - \".github/workflows/s-webhook.yml\"\n      - \".github/workflows/_quality-python.yml\"\n      - \".github/workflows/_unit-tests-python.yml\"\n      - \"tools/docker-compose-mongo.yml\"\njobs:\n  quality:\n    uses: ./.github/workflows/_quality-python.yml\n    with:\n      working-directory: services/webhook\n  unit-tests:\n    uses: ./.github/workflows/_unit-tests-python.yml\n    with:\n      working-directory: services/webhook\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:02:12.433265", "created_at": "2024-06-10T10:57:35+02:00", "updated_at": "2024-06-10T11:18:37+02:00", "name": "Secret Leaks", "path": ".github/workflows/trufflehog.yml", "contents": "on:\n  push:\n\nname: Secret Leaks\n\njobs:\n  trufflehog:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v4\n      with:\n        fetch-depth: 0\n    - name: Secret Scanning\n      uses: trufflesecurity/trufflehog@main\n", "state": "active", "repository": "huggingface/dataset-viewer"}
{"mined_at": "2024-07-15T19:02:14.786238", "created_at": "2022-11-23T08:57:24+01:00", "updated_at": "2023-05-17T13:31:38+02:00", "name": "Python package tests", "path": ".github/workflows/test.yml", "contents": "name: Python package tests\n\non:\n  push:\n  pull_request:\n    types: [opened, reopened]\n  schedule:\n    - cron: \"0 12 * * 1\"\njobs:\n  call-run-python-tests:\n    uses: openclimatefix/.github/.github/workflows/python-test.yml@main\n    with:\n      # 0 means don't use pytest-xdist\n      pytest_numcpus: \"4\"\n      # pytest-cov looks at this folder\n      pytest_cov_dir: \"pvnet\"\n      # extra things to install\n      sudo_apt_install: \"libgeos++-dev libproj-dev proj-data proj-bin\"\n      #      brew_install: \"proj geos librttopo\"\n      os_list: '[\"ubuntu-latest\"]'\n      python-version: \"['3.10', '3.11']\"\n      extra_commands: \"pip3 install -e '.[all]'\"\n", "state": "active", "repository": "openclimatefix/PVNet"}
{"mined_at": "2024-07-15T19:02:15.868452", "created_at": "2023-05-19T11:47:20+02:00", "updated_at": "2023-10-25T12:59:41+02:00", "name": "Python Bump Version & release", "path": ".github/workflows/release.yml", "contents": "name: Python Bump Version & release\n\non:\n  push:\n    branches:\n      - main\n    paths-ignore:\n      - \"configs.example/**\" # ignores all files in configs.example\n      - \"**/README.md\" # ignores all README files\n      - \"experiments/**\" # ignores all files in experiments directory\n\njobs:\n  release:\n    uses: openclimatefix/.github/.github/workflows/python-release.yml@main\n    secrets:\n      token: ${{ secrets.PYPI_API_TOKEN }}\n      PAT_TOKEN: ${{ secrets.PAT_TOKEN }}\n", "state": "active", "repository": "openclimatefix/PVNet"}
{"mined_at": "2024-07-15T19:02:17.947029", "created_at": "2021-06-23T17:19:56+02:00", "updated_at": "2024-04-19T15:39:22+02:00", "name": "Build allow lists", "path": ".github/workflows/build_allow_lists.yaml", "contents": "---\nname: Build allow lists\n\n# Run workflow on pushes to matching branches\non:  # yamllint disable-line rule:truthy\n  push:\n    branches: [develop]\n  schedule:\n    - cron: \"0 0 */6 * *\"  # run every six days in order to keep the cache fresh\n  workflow_dispatch:  # allow this workflow to be manually triggered\n\n# checkout needs 'contents:read'\n# pull request needs 'pull-requests:write' and 'contents:write'\npermissions:\n  contents: write\n  pull-requests: write\n\nenv:\n  TIMEOUT_REACHED: 0\n\njobs:\n  build_allow_lists:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Cache dependencies\n        uses: actions/cache@v4\n        with:\n          path: environment_configs/package_lists/dependency-cache.json\n          key: dependencies-${{ github.sha }}  # request a cache that does not yet exist\n          restore-keys: dependencies-          # use prefix matching to fallback to the most recently created SHA-specific cache\n\n      - name: Check PyPI allow list\n        shell: pwsh\n        env:\n          LIBRARIES_IO_API_KEY: ${{ secrets.LIBRARIES_IO_API_KEY }}\n        run: ./deployment/administration/SHM_Expand_Allowlist_Dependencies.ps1 -Repository pypi -TimeoutMinutes 60 -ApiKey \"$env:LIBRARIES_IO_API_KEY\"  # this will set TIMEOUT_REACHED if the timeout is reached\n\n      - name: Check CRAN allow list\n        shell: pwsh\n        env:\n          LIBRARIES_IO_API_KEY: ${{ secrets.LIBRARIES_IO_API_KEY }}\n        run: ./deployment/administration/SHM_Expand_Allowlist_Dependencies.ps1 -Repository cran -TimeoutMinutes 240 -ApiKey \"$env:LIBRARIES_IO_API_KEY\"  # this will set TIMEOUT_REACHED if the timeout is reached\n\n      - name: Check for changes\n        shell: bash\n        run: git --no-pager diff -- . ':!environment_configs/package_lists/dependency-cache.json'\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n      - name: Create pull request\n        if: ${{ (env.TIMEOUT_REACHED == 0) && (! env.ACT) }}\n        id: pull-request\n        uses: peter-evans/create-pull-request@v6.0.5\n        with:\n          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n          base: develop\n          body: |\n            :warning: In order for CI to run on this PR it needs to be manually closed and re-opened :warning:\n\n            ### :arrow_heading_up: Summary\n            - Update package allowlists from ${{ github.sha }} on ${{ steps.date.outputs.date }}\n\n            ### :closed_umbrella: Related issues\n            None\n\n            ### :microscope: Tests\n            Allow-list only\n          branch: package-allowlist-updates\n          commit-message: \":arrow_up: Update PyPI and CRAN allow lists\"\n          committer: GitHub Actions <noreply@github.com>\n          delete-branch: true\n          draft: false\n          labels: |\n            affected: developers\n            severity: minor\n            type: enhancement\n          title: \":arrow_up: Update PyPI and CRAN allow lists\"\n", "state": "disabled_manually", "repository": "alan-turing-institute/data-safe-haven"}
{"mined_at": "2024-07-15T19:02:19.190274", "created_at": "2024-04-19T16:44:50+02:00", "updated_at": "2024-04-22T11:39:42+02:00", "name": "Build documentation", "path": ".github/workflows/build_documentation.yaml", "contents": "---\nname: Build documentation\n\n# Run workflow on pushes to matching branches\non:  # yamllint disable-line rule:truthy\n  push:\n    branches: [develop, latest]\n  pull_request:\n\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install hatch\n        run: pip install hatch\n\n      - name: Build documentation\n        run: hatch run docs:build\n\n  check_links:\n    name: Check links\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install hatch\n        run: pip install hatch\n\n      - name: Build documentation\n        run: hatch run docs:build\n\n      - name: Link Checker\n        uses: lycheeverse/lychee-action@v1.10.0\n        with:\n          args: --config='./.lychee.toml' --no-progress './docs/build/html/**/*.html'\n          fail: true  # fail on broken links\n", "state": "active", "repository": "alan-turing-institute/data-safe-haven"}
{"mined_at": "2024-07-15T19:02:20.290628", "created_at": "2022-08-25T13:29:15+02:00", "updated_at": "2023-10-02T16:58:25+02:00", "name": "Validate citation", "path": ".github/workflows/citation.yaml", "contents": "name: Validate citation\n\non:  # yamllint disable-line rule:truthy\n  push:\n    paths:\n      - CITATION.cff\n\njobs:\n  validate:\n    name: \"validate\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Validate CITATION.cff\n        uses: citation-file-format/cffconvert-github-action@2.0.0\n        with:\n          args: \"--validate\"\n", "state": "active", "repository": "alan-turing-institute/data-safe-haven"}
{"mined_at": "2024-07-15T19:02:21.545245", "created_at": "2023-04-28T16:37:50+02:00", "updated_at": "2024-05-31T16:41:27+02:00", "name": "Documentation", "path": ".github/workflows/documentation.yaml", "contents": null, "state": "active", "repository": "alan-turing-institute/data-safe-haven"}
{"mined_at": "2024-07-15T19:02:22.695173", "created_at": "2022-10-07T15:23:44+02:00", "updated_at": "2022-10-10T14:25:38+02:00", "name": "Lint code", "path": ".github/workflows/lint_code.yaml", "contents": "---\nname: Lint code\n\n# Run workflow on pushes to matching branches\non:  # yamllint disable-line rule:truthy\n  push:\n    branches: [develop, latest]\n  pull_request:\n\njobs:\n  lint_caddy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Install caddy\n        shell: bash\n        run: |\n          sudo mkdir -m 0755 -p /usr/share/keyrings/\n          sudo wget 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' -O - | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg\n          sudo wget 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' -O /etc/apt/sources.list.d/caddy-stable.list\n          sudo apt update\n          sudo apt install caddy\n      - name: Lint Caddy\n        shell: bash\n        run: |\n          # Check Caddyfile formatting\n          find . -name Caddyfile -print0 | xargs -0 -n 1 caddy fmt > /dev/null\n          # Check Caddyfile validity\n          find . -name Caddyfile -print0 | xargs -0 -n 1 -I {} caddy validate --config \"{}\"\n\n  lint_json:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Install requirements\n        shell: bash\n        run: npm install -g jsonlint mustache\n      - name: Lint JSON\n        shell: bash\n        run: |\n          echo \"{}\" > mustache_config.json\n          find . -name \"*.json\" | xargs -n 1 mustache mustache_config.json | jsonlint --quiet --compact\n\n  lint_markdown:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Install requirements\n        shell: bash\n        run: sudo gem install mdl\n      - name: Lint Markdown\n        run: mdl --style .mdlstyle.rb .\n\n  lint_python:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n      - name: Install hatch\n        run: pip install hatch\n      - name: Print package versions\n        run: |\n          hatch run lint:ruff --version\n          hatch run lint:black --version\n      - name: Lint Python\n        run: hatch run lint:all\n\n  lint_shell:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Install requirements\n        shell: bash\n        run: sudo apt install shellcheck\n      - name: Lint shell\n        shell: bash\n        run: find . -name \"*.sh\" | xargs shellcheck --format gcc --severity error\n\n  lint_yaml:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Install requirements\n        shell: bash\n        run: |\n          npm install -g mustache\n      - name: Expand mustache templates\n        shell: bash\n        run: |\n          echo '{\"array\": [\"dummy\"], \"variable\": \"dummy\"}' > .mustache_config.json\n          for yamlfile in $(find . -name \"*.yml\" -o -name \"*.yaml\"); do\n            sed \"s|{{\\([/#]\\)[^}]*}}|{{\\1array}}|g\" $yamlfile > expanded.tmp  # replace mustache arrays\n            sed -i \"s|{{[^#/].\\{1,\\}}}|{{variable}}|g\" expanded.tmp           # replace mustache variables\n            mustache .mustache_config.json expanded.tmp > $yamlfile           # perform mustache expansion overwriting original file\n          done\n          rm expanded.tmp\n      - name: Lint YAML\n        uses: karancode/yamllint-github-action@v2.1.1\n        with:\n          yamllint_strict: true\n          yamllint_comment: false\n", "state": "active", "repository": "alan-turing-institute/data-safe-haven"}
{"mined_at": "2024-07-15T19:02:23.798776", "created_at": "2022-10-07T15:23:44+02:00", "updated_at": "2022-10-10T14:25:38+02:00", "name": "Test code", "path": ".github/workflows/test_code.yaml", "contents": "---\nname: Test code\n\n# Run workflow on PRs and pushes to matching branches\non:  # yamllint disable-line rule:truthy\n  push:\n    branches: [develop, latest]\n  pull_request:\n\njobs:\n  test_python:\n    runs-on: ubuntu-latest\n    permissions:\n      # Gives the action the necessary permissions for publishing new\n      # comments in pull requests.\n      pull-requests: write\n      # Gives the action the necessary permissions for pushing data to the\n      # python-coverage-comment-action branch, and for editing existing\n      # comments (to avoid publishing multiple comments in the same PR)\n      contents: write\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n      - name: Install hatch\n        run: pip install hatch\n      - name: Test Python\n        run: hatch run test:test-coverage\n      # For security reasons, PRs created from forks cannot generate PR comments directly\n      # (see https://securitylab.github.com/research/github-actions-preventing-pwn-requests/).\n      # Instead we need to trigger another workflow after this one completes.\n      - name: Generate coverage comment\n        id: coverage_comment\n        uses: py-cov-action/python-coverage-comment-action@v3\n        with:\n          GITHUB_TOKEN: ${{ github.token }}\n      # Save the coverage comment for later use\n      # See https://github.com/py-cov-action/python-coverage-comment-action/blob/main/README.md\n      - name: Save coverage comment as an artifact\n        uses: actions/upload-artifact@v4\n        if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'\n        with:\n          name: python-coverage-comment-action\n          path: python-coverage-comment-action.txt\n\n  test_markdown_links:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      - name: Install requirements\n        shell: bash\n        run: npm install -g markdown-link-check\n      - name: Link Checker\n        uses: lycheeverse/lychee-action@v1.10.0\n        with:\n          args: --config='./.lychee.toml' --no-progress --offline '**/*.md' --exclude-path './docs'\n          fail: true  # fail on broken links\n", "state": "active", "repository": "alan-turing-institute/data-safe-haven"}
{"mined_at": "2024-07-15T19:02:24.822960", "created_at": "2024-05-09T19:53:10+02:00", "updated_at": "2024-05-09T22:50:22+02:00", "name": "Test code - post coverage comment", "path": ".github/workflows/test_coverage.yaml", "contents": "---\nname: Test code - post coverage comment\n\n# Run workflow after test_code has completed\non:  # yamllint disable-line rule:truthy\n  workflow_run:\n    workflows: [\"Test code\"]\n    types:\n      - completed\n\njobs:\n  coverage:\n    runs-on: ubuntu-latest\n    if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'\n    permissions:\n      # Gives the action the necessary permissions for publishing new\n      # comments in pull requests.\n      pull-requests: write\n      # Gives the action the necessary permissions for editing existing\n      # comments (to avoid publishing multiple comments in the same PR)\n      contents: write\n      # Gives the action the necessary permissions for looking up the\n      # workflow that launched this workflow, and download the related\n      # artifact that contains the comment to be published\n      actions: read\n    steps:\n      # Post the pre-generated coverage comment\n      - name: Post coverage comment\n        uses: py-cov-action/python-coverage-comment-action@v3\n        with:\n          GITHUB_TOKEN: ${{ github.token }}\n          GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}\n", "state": "active", "repository": "alan-turing-institute/data-safe-haven"}
{"mined_at": "2024-07-15T19:02:25.937718", "created_at": "2023-08-11T13:34:37+02:00", "updated_at": "2024-04-22T11:39:42+02:00", "name": "Update Docker image versions", "path": ".github/workflows/update_docker_versions.yaml", "contents": "---\nname: Update Docker image versions\n\non:  # yamllint disable-line rule:truthy\n  schedule:\n    - cron: \"0 3 * * 1\"  # run at 3:00 every Monday\n  workflow_dispatch:  # allow this workflow to be manually triggered\n\n# checkout needs 'contents:read'\n# pull request needs 'pull-requests:write' and 'contents:write'\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  update_docker_versions:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.12'\n\n      - name: Install Python packages\n        run: |\n          pip install --upgrade pip\n          pip install -r .github/scripts/requirements.txt\n\n      - name: Update Docker image versions\n        run: |\n          python .github/scripts/update_docker_versions.py\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n      - name: Create pull request\n        if: ${{ ! env.ACT }}\n        id: pull-request\n        uses: peter-evans/create-pull-request@v6.0.5\n        with:\n          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n          base: develop\n          body: |\n            :warning: In order for CI to run on this PR it needs to be manually closed and re-opened :warning:\n\n            ### :arrow_heading_up: Summary\n            - Update Docker image versions from ${{ github.sha }} on ${{ steps.date.outputs.date }}\n\n            ### :closed_umbrella: Related issues\n            None\n\n            ### :microscope: Tests\n            Package versions only\n          branch: update-docker-images\n          commit-message: \":arrow_up: Update Pulumi Docker images\"\n          committer: GitHub Actions <noreply@github.com>\n          delete-branch: true\n          draft: false\n          labels: |\n            affected: developers\n            severity: minor\n            type: enhancement\n          title: \":arrow_up: Update Pulumi Docker images\"\n", "state": "active", "repository": "alan-turing-institute/data-safe-haven"}
{"mined_at": "2024-07-15T19:02:27.177846", "created_at": "2022-01-05T17:47:50+01:00", "updated_at": "2024-04-20T23:21:33+02:00", "name": "Update package versions", "path": ".github/workflows/update_package_versions.yaml", "contents": "---\nname: Update package versions\n\n# Run workflow on pushes to matching branches\non:  # yamllint disable-line rule:truthy\n  schedule:\n    - cron: \"0 3 * * 1\"  # run at 3:00 every Monday\n  workflow_dispatch:  # allow this workflow to be manually triggered\n\n# checkout needs 'contents:read'\n# pull request needs 'pull-requests:write' and 'contents:write'\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  update_package_versions:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Setup Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: '3.10'\n\n      - name: Install Python packages\n        run: |\n          pip install --upgrade pip\n          pip install -r .github/scripts/requirements.txt\n\n      - name: Update Azure Data Studio version\n        run: |\n          python .github/scripts/update_azure_data_studio.py\n\n      - name: Update RStudio version\n        run: |\n          python .github/scripts/update_rstudio.py\n\n      - name: Update DBeaver driver versions\n        run: |\n          python .github/scripts/update_dbeaver_drivers.py\n\n      - name: Check for changes\n        shell: bash\n        run: git --no-pager diff -- .\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n      - name: Create pull request\n        if: ${{ ! env.ACT }}\n        id: pull-request\n        uses: peter-evans/create-pull-request@v6.0.5\n        with:\n          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n          base: develop\n          body: |\n            :warning: In order for CI to run on this PR it needs to be manually closed and re-opened :warning:\n\n            ### :arrow_heading_up: Summary\n            - Update package versions from ${{ github.sha }} on ${{ steps.date.outputs.date }}\n\n            ### :closed_umbrella: Related issues\n            None\n\n            ### :microscope: Tests\n            Package versions only\n          branch: srd-package-versions\n          commit-message: \":arrow_up: Update SRD package versions\"\n          committer: GitHub Actions <noreply@github.com>\n          delete-branch: true\n          draft: false\n          labels: |\n            affected: developers\n            severity: minor\n            type: enhancement\n          title: \":arrow_up: Update SRD package versions\"\n", "state": "disabled_manually", "repository": "alan-turing-institute/data-safe-haven"}
{"mined_at": "2024-07-15T19:02:28.214489", "created_at": "2024-04-22T11:39:42+02:00", "updated_at": "2024-04-22T11:39:42+02:00", "name": "Update Python dependencies", "path": ".github/workflows/update_python_dependencies.yaml", "contents": "---\nname: Update Python dependencies\n\n# Run workflow on pushes to matching branches\non:  # yamllint disable-line rule:truthy\n  schedule:\n    - cron: \"0 3 * * 1\"  # run at 3:00 every Monday\n  workflow_dispatch:  # allow this workflow to be manually triggered\n\n\njobs:\n  update_python_dependencies:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n\n      - name: Install dependencies\n        run: pip install hatch pip-tools\n\n      - name: Update 'default' dependencies\n        run: .github/scripts/update_python_dependencies.sh default requirements.txt\n\n      - name: Update 'docs' dependencies\n        run: .github/scripts/update_python_dependencies.sh docs docs/requirements.txt\n\n      - name: Check for changes\n        shell: bash\n        run: git --no-pager diff -- .\n\n      - name: Get current date\n        id: date\n        run: echo \"date=$(date +'%Y-%m-%d')\" >> $GITHUB_OUTPUT\n\n      - name: Create pull request\n        if: ${{ ! env.ACT }}\n        id: pull-request\n        uses: peter-evans/create-pull-request@v6.0.5\n        with:\n          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>\n          base: develop\n          body: |\n            :warning: In order for CI to run on this PR it needs to be manually closed and re-opened :warning:\n\n            ### :arrow_heading_up: Summary\n            - Update Python dependencies from ${{ github.sha }} on ${{ steps.date.outputs.date }}\n\n            ### :closed_umbrella: Related issues\n            None\n\n            ### :microscope: Tests\n            Package versions only\n          branch: python-dependencies\n          commit-message: \":arrow_up: Update Python dependencies\"\n          committer: GitHub Actions <noreply@github.com>\n          delete-branch: true\n          draft: false\n          labels: |\n            affected: developers\n            severity: minor\n            type: enhancement\n          title: \":arrow_up: Update Python dependencies\"\n", "state": "active", "repository": "alan-turing-institute/data-safe-haven"}
{"mined_at": "2024-07-15T19:02:30.455240", "created_at": "2020-01-04T15:45:48+01:00", "updated_at": "2024-05-21T10:44:17+02:00", "name": "build", "path": ".github/workflows/build.yml", "contents": "name: build\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: [\"3.8\", \"3.10\", \"3.11\", \"3.12\"]\n        jsonschema-version: [\"3.0\", \"latest\"]\n    name: py ${{ matrix.python-version }} js ${{ matrix.jsonschema-version }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install \".[all, dev]\"\n      - name: Install specific jsonschema\n        # Only have to execute this if we don't want the latest jsonschema version\n        if: ${{ matrix.jsonschema-version != 'latest' }}\n        run: |\n          pip install jsonschema==${{ matrix.jsonschema-version }}\n      - name: Maybe uninstall optional dependencies\n        # We uninstall pyarrow and vegafusion for one job to test that we have not\n        # accidentally introduced a hard dependency on these libraries.\n        # Uninstalling for Python 3.8 is an arbitrary choice.\n        # Also see https://github.com/vega/altair/pull/3114\n        if: ${{ matrix.python-version == '3.8' }}\n        run: |\n          pip uninstall -y pyarrow vegafusion vegafusion-python-embed vl-convert-python anywidget\n      - name: Maybe install lowest supported pandas version\n        # We install the lowest supported pandas version for one job to test that\n        # it still works. Downgrade to the oldest versions of pandas and numpy that include\n        # Python 3.8 wheels, so only run this job for Python 3.8\n        if: ${{ matrix.python-version == '3.8' }}\n        run: |\n          pip install pandas==0.25.3 numpy==1.17.5\n      - name: Test that schema generation has no effect\n        run: |\n          python tools/generate_schema_wrapper.py\n          # This gets the paths of all files which were either deleted, modified\n          # or are not yet tracked by Git\n          files=`git ls-files --deleted --modified --others --exclude-standard`\n          # Depending on the shell it can happen that 'files' contains empty\n          # lines which are filtered out in the for loop below\n          files_cleaned=()\n          for i in \"${files[@]}\"; do\n            # Skip empty items\n            if [ -z \"$i\" ]; then\n              continue\n            fi\n            # Add the rest of the elements to a new array\n            files_cleaned+=(\"${i}\")\n          done\n          if [ ${#files_cleaned[@]} -gt 0 ]; then\n              echo \"The code generation modified the following files:\"\n              echo $files\n              exit 1\n          fi\n      - name: Test with pytest\n        run: |\n          pytest --doctest-modules tests\n      - name: Validate Vega-Lite schema\n        run: |\n          # We install all 'format' dependencies of jsonschema as check-jsonschema\n          # only does the 'format' checks which are installed.\n          # We can always use the latest jsonschema version here.\n          # uri-reference check is disabled as the URIs in the Vega-Lite schema do\n          # not conform RFC 3986.\n          pip install 'jsonschema[format]' check-jsonschema --upgrade\n          check-jsonschema --check-metaschema altair/vegalite/v5/schema/vega-lite-schema.json --disable-formats uri-reference\n", "state": "active", "repository": "vega/altair"}
{"mined_at": "2024-07-15T19:02:31.590476", "created_at": "2024-03-30T13:58:18+01:00", "updated_at": "2024-03-30T13:58:18+01:00", "name": "Lint PR", "path": ".github/workflows/check-pr.yml", "contents": "name: \"Lint PR\"\n\non:\n  pull_request_target:\n    types:\n      - opened\n      - edited\n      - synchronize\n\npermissions:\n  pull-requests: read\n\njobs:\n  main:\n    name: Validate PR title\n    runs-on: ubuntu-latest\n    steps:\n      - uses: amannn/action-semantic-pull-request@v5\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "vega/altair"}
{"mined_at": "2024-07-15T19:02:32.924573", "created_at": "2020-03-21T15:58:09+01:00", "updated_at": "2020-03-21T16:08:00+01:00", "name": "docbuild", "path": ".github/workflows/docbuild.yml", "contents": "name: docbuild\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install hatch\n    - name: Run doc:build-html\n      run: |\n        hatch run doc:build-html\n    - name: Run doc:doctest\n      run: |\n        hatch run doc:doctest\n\n        \n", "state": "active", "repository": "vega/altair"}
{"mined_at": "2024-07-15T19:02:34.028138", "created_at": "2020-02-26T06:45:10+01:00", "updated_at": "2020-02-26T06:45:10+01:00", "name": "lint", "path": ".github/workflows/lint.yml", "contents": "name: lint\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    name: ruff-mypy\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.10\"\n    # Installing all dependencies and not just the linters as mypy needs them for type checking\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install \".[all, dev]\"\n    - name: Lint with ruff\n      run: |        \n        ruff check .        \n    - name: Check formatting with ruff\n      run: |\n        ruff format --diff .\n        ruff format --check .\n    - name: Lint with mypy\n      run: |\n        mypy altair tests\n", "state": "active", "repository": "vega/altair"}
{"mined_at": "2024-07-15T19:02:35.055646", "created_at": "2024-01-16T18:32:30+01:00", "updated_at": "2024-01-16T18:32:30+01:00", "name": "test_on_windows", "path": ".github/workflows/win.yml", "contents": null, "state": "active", "repository": "vega/altair"}
{"mined_at": "2024-07-15T19:02:37.417544", "created_at": "2024-06-20T18:55:51+02:00", "updated_at": "2024-06-26T10:38:57+02:00", "name": "Check for unlinked TODOs", "path": ".github/workflows/check_todos.yml", "contents": null, "state": "active", "repository": "gchq/coreax"}
{"mined_at": "2024-07-15T19:02:38.543462", "created_at": "2023-09-21T18:18:46+02:00", "updated_at": "2023-11-14T16:18:56+01:00", "name": "Code Coverage Assessment", "path": ".github/workflows/code_coverage_assessment.yml", "contents": null, "state": "active", "repository": "gchq/coreax"}
{"mined_at": "2024-07-15T19:02:39.671683", "created_at": "2024-01-23T19:02:47+01:00", "updated_at": "2024-02-02T15:29:40+01:00", "name": "Code Coverage Assessment", "path": ".github/workflows/coverage.yml", "contents": "name: Code Coverage Assessment\n# Run in addition to unit tests without coverage assessment in case of weirdness around\n# parallelised code. Also regenerates coverage badge.\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - \"**\"\n\njobs:\n  coverage:\n    runs-on: ubuntu-latest\n    outputs:\n      percentage: ${{ steps.cov.outputs.percentage }}\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: pip\n          cache-dependency-path: pyproject.toml\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - name: Install test dependencies\n        run: pip install -e .[test]\n      - name: Assess coverage of unit tests\n        run: pytest tests/unit --cov\n      - name: Extract total coverage percentage\n        id: cov\n        run: echo \"percentage=$( coverage report --format=total )\" >> $GITHUB_OUTPUT\n  coverage-badge:\n    name: Update coverage badge\n    if: github.event_name == 'push'\n    # Push coverage badge config to a GitHub Gist. The Gist can currently only be hosted\n    # by a user rather than an organisation. A PAT with write Gist permissions needs to\n    # be saved as a secret of this repo. The PAT and Gist ID need updating if the host\n    # user changes.\n    needs:\n      - coverage\n    env:\n      percentage: ${{ needs.coverage.outputs.percentage }}\n      GITHUB_TOKEN: ${{ secrets.COVERAGE_GIST_KEY }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Choose badge colour\n        id: design\n        run: |\n          echo \"colour=${{\n            env.percentage >= 90 && 'brightgreen' ||\n            env.percentage >= 70 && 'yellow' ||\n            env.percentage >= 50 && 'orange' ||\n            'red'\n          }}\" >> $GITHUB_OUTPUT\n      - name: Generate badge config JSON\n        run: |\n          echo \"coverage = ${{ env.percentage }}%\"\n          echo \"colour = ${{ steps.design.outputs.colour }}\"\n          {\n            echo \"{\"\n            echo \"  \\\"schemaVersion\\\": 1,\"\n            echo \"  \\\"label\\\": \\\"Coverage\\\",\"\n            echo \"  \\\"message\\\": \\\"${{ env.percentage }}%\\\",\"\n            echo \"  \\\"color\\\": \\\"${{ steps.design.outputs.colour }}\\\"\"\n            echo \"}\"\n          } > badge.json\n      - name: Write Gist\n        run: gh gist edit 51dd332be75961a7dc903c67718028e1 -f coreax.json badge.json\n", "state": "active", "repository": "gchq/coreax"}
{"mined_at": "2024-07-15T19:02:40.798129", "created_at": "2024-02-16T14:10:48+01:00", "updated_at": "2024-02-16T14:31:28+01:00", "name": "Build Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Build Documentation\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - \"**\"\n\njobs:\n  build:\n    name: Build documentation with latest dependencies\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: pip\n          cache-dependency-path: pyproject.toml\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - name: Install test dependencies\n        run: pip install -e .[doc]\n      - name: Build documentation\n        run: |\n          python -m sphinx -b html -aE -n -W --keep-going documentation/source documentation/build\n      - name: Check external links\n        run: |\n          python -m sphinx -b linkcheck documentation/source documentation/build\n  build-pinned:\n    name: Build documentation with pinned package versions\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.12\"\n          cache: pip\n          cache-dependency-path: requirements-doc.txt\n      - name: Upgrade pip\n        run: python -m pip install --upgrade pip\n      - name: Install test dependencies\n        run: pip install --no-dependencies -r requirements-doc.txt\n      - name: Build documentation\n        run: |\n          python -m sphinx -b html -aE -n -W --keep-going documentation/source documentation/build\n      - name: Check external links\n        run: |\n          python -m sphinx -b linkcheck documentation/source documentation/build\n", "state": "active", "repository": "gchq/coreax"}
{"mined_at": "2024-07-15T19:02:41.794168", "created_at": "2023-09-20T10:50:31+02:00", "updated_at": "2023-10-10T17:31:09+02:00", "name": "Lint", "path": ".github/workflows/lint.yml", "contents": null, "state": "active", "repository": "gchq/coreax"}
{"mined_at": "2024-07-15T19:02:43.051934", "created_at": "2024-02-29T10:06:02+01:00", "updated_at": "2024-02-29T10:06:02+01:00", "name": "Autoupdate pre-commit config", "path": ".github/workflows/pre_commit_autoupdate.yml", "contents": "name: Autoupdate pre-commit config\n\non:\n  schedule:\n    - cron: \"0 0 * * 0\"\n\njobs:\n  pre_commit_autoupdate:\n    env:\n      config_path: .pre-commit-config.yaml\n      update_message_path: /tmp/message.txt\n      update_branch: chore/pre-commit-autoupdate\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate a token\n        id: generate-token\n        uses: actions/create-github-app-token@v1\n        with:\n          app-id: ${{ vars.WRITE_CONTENTS_PR_APP }}\n          private-key: ${{ secrets.WRITE_CONTENTS_PR_KEY }}\n      - uses: actions/checkout@v4\n        with:\n          ref: main\n      - name: Create or checkout update branch\n        id: create_branch\n        env:\n          GH_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n          export pr_number=$( gh pr view ${{ env.update_branch }} --json number --jq '.number' )\n          export pr_state=$( gh pr view ${{ env.update_branch }} --json state --jq '.state' )\n          echo \"pr_number=$pr_number\" >> \"$GITHUB_OUTPUT\"\n          echo \"pr_state=$pr_state\" >> \"$GITHUB_OUTPUT\"\n\n          if git fetch origin ${{ env.update_branch }}; then\n            # If branch wasn't deleted after merge, do so here\n            if [ \"$pr_state\" = \"MERGED\" ]; then\n              git push -d origin ${{ env.update_branch }}\n              git checkout -b ${{ env.update_branch }}\n              git push origin ${{ env.update_branch }}\n            fi\n            git checkout ${{ env.update_branch }}\n          else\n            git checkout -b ${{ env.update_branch }}\n            git push origin ${{ env.update_branch }}\n          fi\n\n      # Pre-commit setup and autoupdate steps\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          cache: pip\n      - name: Upgrade Pip\n        run: python -m pip install --upgrade pip\n      - name: Install pre-commit\n        run: pip install pre-commit\n      - name: Store hash of baseline pre-commit config for comparison\n        id: old_file\n        run: echo \"hash=$( sha256sum $config_path )\" >> $GITHUB_OUTPUT\n      - name: Overwrite config on branch with version from main\n        run: git checkout main ${{ env.config_path }}\n      - name: Store hash of main pre-commit config for comparison\n        id: main_file\n        run: echo \"hash=$( sha256sum $config_path )\" >> $GITHUB_OUTPUT\n      - name: Run pre-commit autoupdate on main pre-commit config\n        id: autoupdate\n        run: |\n          pre-commit autoupdate > ${{ env.update_message_path }}\n          sed -i \"/updating/!d\" ${{ env.update_message_path }}\n      - name: Store hash of new pre-commit config for comparison\n        id: new_file\n        run: echo \"hash=$( sha256sum $config_path )\" >> $GITHUB_OUTPUT\n      # Commit authoring and pull-request creation/updating\n      - name: Commit (with signature) pre-commit config\n        id: commit\n        if: steps.old_file.outputs.hash != steps.new_file.outputs.hash\n        env:\n          GH_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run: |\n          export message=\"chore(deps): autoupdate pre-commit hooks\"\n          export sha=$( git rev-parse ${{ env.update_branch }}:${{ env.config_path }} )\n          export content=$( base64 -i ${{ env.config_path }} )\n          gh api --method PUT /repos/:owner/:repo/contents/${{ env.config_path }} \\\n            --field message=\"$message\" \\\n            --field content=\"$content\" \\\n            --field branch=${{ env.update_branch }} \\\n            --field sha=\"$sha\"\n      - name: Create or update pre-commit-autoupdate pull-request\n        if: steps.commit.conclusion == 'success' || ( steps.main_file.outputs.hash != steps.new_file.outputs.hash )\n        env:\n          GH_TOKEN: ${{ steps.generate-token.outputs.token }}\n        run : |\n          export title=\"chore(deps): autoupdate pre-commit hooks\"\n          export body=$( cat ${{ env.update_message_path }} )\n          export pr_number=${{ steps.create_branch.outputs.pr_number }}\n          export pr_state=${{ steps.create_branch.outputs.pr_state }}\n\n          # If the PR is closed, can it be reopened, or is the PR already open?\n          if ( [ \"$pr_state\" = \"CLOSED\" ] && gh pr reopen $pr_number ) || [ \"$pr_state\" = \"OPEN\" ]; then\n            gh api --method PATCH /repos/:owner/:repo/pulls/$pr_number \\\n              --field title=\"$title\" \\\n              --field body=\"$body\"\n          else\n            # If a PR doesn't already exist, and no previous PR can be reopened, create a new PR.\n            gh pr create -t \"$title\" -b \"$body\" -l dependencies -B main -H ${{ env.update_branch }}\n          fi\n", "state": "active", "repository": "gchq/coreax"}
{"mined_at": "2024-07-15T19:02:44.070541", "created_at": "2023-10-10T16:31:03+02:00", "updated_at": "2023-10-10T17:01:17+02:00", "name": "Pre-commit Checks", "path": ".github/workflows/pre_commit_checks.yml", "contents": "name: Pre-commit Checks\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - \"**\"\n\njobs:\n  pre_commit:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python 3.12\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.12\n          cache: pip\n          cache-dependency-path: pyproject.toml\n      - name: Upgrade Pip\n        run: python -m pip install --upgrade pip\n      - name: Install dependencies\n        run: pip install -e .[dev]\n      - name: Remove fail_fast from Pre-commit config\n        run: sed -e \"/fail_fast/d\" .pre-commit-config.yaml > /tmp/.pre-commit-config-ci.yaml\n      - name: Run Pre-commit checks\n        run: SKIP=no-commit-to-branch pre-commit run --all-files --show-diff-on-failure --config /tmp/.pre-commit-config-ci.yaml\n", "state": "active", "repository": "gchq/coreax"}
{"mined_at": "2024-07-15T19:02:45.303352", "created_at": "2023-09-06T10:52:16+02:00", "updated_at": "2024-02-02T10:44:39+01:00", "name": "Tests", "path": ".github/workflows/unittests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - \"**\"\n\njobs:\n  tests:\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        os:\n          - ubuntu-latest\n          - windows-latest\n          - macos-latest\n        # macos-latest does not support python 3.9\n        # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760\n        exclude:\n        - { python-version: \"3.9\", os: \"macos-latest\" }\n        include:\n        - { python-version: \"3.9\", os: \"macos-13\" }\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n        cache: pip\n        cache-dependency-path: pyproject.toml\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install test dependencies\n      run: pip install -e .[test]\n    - name: Test with pytest\n      run: pytest --ignore=tests/integration\n    # Integration tests are slow, so only run if all other tests pass.\n    - name: Test integration tests\n      run: pytest tests/integration\n  tests-pinned:\n    name: Run tests with pinned package versions\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - windows-latest\n          - macos-latest\n    runs-on: ${{ matrix.os }}\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.12\"\n        cache: pip\n        cache-dependency-path: requirements-test.txt\n    - name: Upgrade pip\n      run: python -m pip install --upgrade pip\n    - name: Install test dependencies\n      run: pip install --no-dependencies -r requirements-test.txt\n    - name: Test with pytest\n      run: pytest --ignore=tests/integration\n    # Integration tests are slow, so only run if all other tests pass.\n    - name: Test integration tests\n      run: pytest tests/integration\n", "state": "active", "repository": "gchq/coreax"}
{"mined_at": "2024-07-15T19:02:48.681723", "created_at": "2020-12-18T19:40:43+01:00", "updated_at": "2020-12-18T19:40:43+01:00", "name": "Python package", "path": ".github/workflows/test.yml", "contents": "name: Python package\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.10']\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip wheel\n        pip install --upgrade --upgrade-strategy only-if-needed -r requirements.txt -r test-requirements.txt\n        python setup.py --version\n    - name: Test with pytest\n      run: |\n        pytest -vv\n", "state": "active", "repository": "pystorm/streamparse"}
{"mined_at": "2024-07-15T19:02:49.691024", "created_at": "2024-07-11T19:33:52+02:00", "updated_at": "2024-07-11T19:33:52+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "pystorm/streamparse"}
{"mined_at": "2024-07-15T19:02:51.675510", "created_at": "2023-07-26T09:51:39+02:00", "updated_at": "2023-07-26T09:51:39+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "tomlin7/biscuit"}
{"mined_at": "2024-07-15T19:02:52.695906", "created_at": "2023-10-28T12:27:26+02:00", "updated_at": "2023-10-28T12:27:26+02:00", "name": "docs", "path": ".github/workflows/docs.yml", "contents": "name: docs\n\non:\n  push:\n    branches:\n      - main\n    # Review gh actions docs if you want to further define triggers, paths, etc\n    # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on\n\npermissions:\n  contents: write\n\njobs:\n  deploy:\n    name: pages\n    runs-on: ubuntu-latest\n    if: contains(github.event.head_commit.message, 'docs')\n    defaults:\n       run:\n         working-directory: ./docs/\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: 18\n          cache: yarn\n          cache-dependency-path: './docs/package-lock.json'\n      - name: Install dependencies\n        run: yarn install --frozen-lockfile\n      - name: Build website\n        run: yarn build\n\n      # Popular action to deploy to GitHub Pages:\n      # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus\n      - name: Deploy to GitHub Pages\n        uses: peaceiris/actions-gh-pages@v3\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          # Build output to publish to the `gh-pages` branch:\n          publish_dir: ./docs/build\n          # The following lines assign commit authorship to the official\n          # GH-Actions bot for deploys to `gh-pages` branch:\n          # https://github.com/actions/checkout/issues/13#issuecomment-724415212\n          # The GH actions bot is used by default if you didn't specify the two fields.\n          # You can swap them out with your own user credentials.\n          user_name: tomlin7\n          user_email: billydevbusiness@gmail.com\n", "state": "active", "repository": "tomlin7/biscuit"}
{"mined_at": "2024-07-15T19:02:53.681450", "created_at": "2023-10-28T13:10:01+02:00", "updated_at": "2023-10-28T13:10:01+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "tomlin7/biscuit"}
{"mined_at": "2024-07-15T19:02:54.679928", "created_at": "2024-01-01T19:28:06+01:00", "updated_at": "2024-01-02T10:18:50+01:00", "name": "Biscuit Nuitka builds (experimental)", "path": ".github/workflows/nuitka.yml", "contents": "# This workflow will install Python dependencies, pyinstaller and build executable with a version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: \"Biscuit Nuitka builds (experimental)\"\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\njobs:\n  build:\n    runs-on: windows-latest\n    if: contains(github.event.head_commit.message, 'nuitka')\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n\n      - name: Install requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install Nuitka\n\n      - name: nuitka build\n        run: echo Yes| python -m nuitka --include-data-dir=biscuit\\\\res=res --include-package-data=tkextrafont --include-package-data=sv_ttk --include-package-data=pygments --include-package-data=tkinterweb --include-package-data=mistune --follow-import-to=pygments --follow-import-to=tkextrafont --follow-import-to=mistune --follow-import-to=tkinterweb --include-package=tkextrafont --include-package=pygments --include-package=mistune --include-package=tkinterweb --include-module=pygments --include-module=mistune --include-module=tkinterweb --include-module=tkextrafont --follow-imports --standalone --enable-plugin=tk-inter biscuit\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v3\n        with:\n            name: \"biscuit-nuitka\"\n            path: \"biscuit.dist\"\n  ", "state": "active", "repository": "tomlin7/biscuit"}
{"mined_at": "2024-07-15T19:02:55.772286", "created_at": "2024-01-02T10:18:50+01:00", "updated_at": "2024-06-25T13:51:59+02:00", "name": "Lint and Test", "path": ".github/workflows/codequality.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a single version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: Code Quality Checks\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v3\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v3\n      with:\n        python-version: \"3.10\"\n    \n    - name: Install prerequisites\n      run: |\n        sudo apt install python3-dev tcl-dev tk-dev fontconfig libfontconfig1 libfontconfig1-dev cmake cmake-data extra-cmake-modules build-essential\n        pip install scikit-build\n\n    - name: Install dependencies\n      run: |\n        python -m pip install --upgrade pip\n        pip install flake8\n        pip install -r requirements.txt\n        \n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n        # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n        flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics\n#     - name: Test with pytest\n#       run: |\n#         pytest\n  qodana:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n      pull-requests: write\n      checks: write\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.event.pull_request.head.sha }}  # to check out the actual pull request commit, not the merge commit\n          fetch-depth: 0  # a full history is required for pull request analysis\n      - name: 'Codecov'\n        uses: codecov/codecov-action@v3\n        env:\n          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n", "state": "active", "repository": "tomlin7/biscuit"}
{"mined_at": "2024-07-15T19:02:56.874659", "created_at": "2024-01-02T10:18:50+01:00", "updated_at": "2024-01-02T10:18:50+01:00", "name": "Biscuit Nightly Builds", "path": ".github/workflows/nightly.yml", "contents": "# This workflow will install Python dependencies, pyinstaller and build executable with a version of Python\n# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python\n\nname: \"Biscuit Nightly Builds\"\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\njobs:\n  build-ubuntu:\n    runs-on: ubuntu-latest\n    if: contains(github.event.head_commit.message, 'nightly')\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n      \n      - name: Install prerequisites\n        run: |\n          sudo apt install python3-dev tcl-dev tk-dev fontconfig libfontconfig1 libfontconfig1-dev cmake cmake-data extra-cmake-modules build-essential\n          pip install scikit-build\n\n      - name: Install requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install pyinstaller\n\n      - name: Build biscuit\n        run: pyinstaller scripts/linux.spec\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n            name: \"biscuit-nightly-anylinux\"\n            path: \"dist/\"\n  \n\n  build-windows:\n    runs-on: windows-latest\n    if: contains(github.event.head_commit.message, 'nightly')\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Set up Python 3.10\n        uses: actions/setup-python@v3\n        with:\n          python-version: \"3.10\"\n\n      - name: Install requirements\n        run: |\n          python -m pip install --upgrade pip\n          pip install -r requirements.txt\n          pip install pyinstaller\n\n      - name: Build biscuit\n        run: pyinstaller scripts/windows.spec\n\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v4\n        with:\n            name: \"biscuit-nightly-windows\"\n            path: \"dist/\"\n", "state": "active", "repository": "tomlin7/biscuit"}
{"mined_at": "2024-07-15T19:02:59.120654", "created_at": "2024-03-08T01:29:21+01:00", "updated_at": "2024-03-13T13:39:05+01:00", "name": "Lint GitHub Actions workflows", "path": ".github/workflows/actionlint.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n\nname: Lint GitHub Actions workflows\non:\n  push:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - '.github/workflows/*.ya?ml'\n      - '.github/workflows/actionlint.*' # This workflow\n  pull_request:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - '.github/workflows/*.ya?ml'\n      - '.github/workflows/actionlint.*' # This workflow\n\nenv:\n  LC_ALL: en_US.UTF-8\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: read\n\njobs:\n  actionlint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Harden Runner\"\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n\n      - name: \"Checkout\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n\n      - name: \"Download actionlint\"\n        run: |\n          docker build --tag actionlint - < .github/workflows/actionlint.dockerfile\n\n      - name: \"Check workflow files\"\n        run: |\n          echo \"::add-matcher::.github/workflows/matchers/actionlint.json\"\n          docker run --volume=\"${PWD}:/repo\" --workdir=/repo actionlint -color\n", "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:00.117918", "created_at": "2024-05-03T16:14:21+02:00", "updated_at": "2024-05-03T16:14:21+02:00", "name": "Commitlint", "path": ".github/workflows/commitlint.yml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:01.247217", "created_at": "2024-04-19T10:48:40+02:00", "updated_at": "2024-05-28T14:13:05+02:00", "name": ".github/workflows/differential-shellcheck.yml", "path": ".github/workflows/differential-shellcheck.yml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:02.250706", "created_at": "2024-04-26T15:48:03+02:00", "updated_at": "2024-06-14T16:08:42+02:00", "name": "Lint Markdown documents", "path": ".github/workflows/docs.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n\nname: Lint Markdown documents\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - '**/*.md'\n      - '.markdownlint-cli2.yaml'\n      - '.github/workflows/docs.yml' # This workflow\n  pull_request:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - '**/*.md'\n      - '.markdownlint-cli2.yaml'\n      - '.github/workflows/docs.yml' # This workflow\n\nenv:\n  LC_ALL: en_US.UTF-8\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: read\n\njobs:\n  markdown-lint:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Harden Runner\"\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n      - name: \"Checkout\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n      - name: \"Check Markdown documents\"\n        uses: DavidAnson/markdownlint-cli2-action@b4c9feab76d8025d1e83c653fa3990936df0e6c8 # v16.0.0\n        with:\n          globs: '**/*.md'\n", "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:03.419787", "created_at": "2024-05-04T07:27:40+02:00", "updated_at": "2024-05-04T07:27:40+02:00", "name": "E2E test on macOS ARM64", "path": ".github/workflows/e2e-macos.yml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:04.526919", "created_at": "2024-07-02T15:17:51+02:00", "updated_at": "2024-07-02T15:17:51+02:00", "name": "E2E (NVIDIA A10G x1)", "path": ".github/workflows/e2e-nvidia-a10g-x1.yml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:05.555071", "created_at": "2024-07-09T09:32:58+02:00", "updated_at": "2024-07-09T09:32:58+02:00", "name": "E2E (NVIDIA A10G x4)", "path": ".github/workflows/e2e-nvidia-a10g-x4.yml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:06.678901", "created_at": "2024-07-02T04:52:05+02:00", "updated_at": "2024-07-02T04:52:05+02:00", "name": "E2E (NVIDIA Tesla T4 x1)", "path": ".github/workflows/e2e-nvidia-t4-x1.yml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:07.711156", "created_at": "2024-07-10T02:31:45+02:00", "updated_at": "2024-07-10T02:31:45+02:00", "name": "Trigger E2E Workflow", "path": ".github/workflows/e2e-trigger.yml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:08.855458", "created_at": "2024-04-30T14:33:47+02:00", "updated_at": "2024-05-03T20:58:41+02:00", "name": "E2E test", "path": ".github/workflows/e2e.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n\nname: E2E test\n\non:\n  workflow_dispatch:\n    inputs:\n      pr_or_branch:\n        description: 'pull request number or branch name'\n        required: true\n        default: 'main'\n  push:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - '**.py'\n      - 'pyproject.toml'\n      - 'requirements*.txt'\n      - '.github/workflows/e2e.yml'\n  pull_request:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - '**.py'\n      - 'pyproject.toml'\n      - 'requirements*.txt'\n      - '.github/workflows/e2e.yml'\n\njobs:\n  e2e:\n    runs-on: ubuntu-gpu\n\n    permissions:\n      pull-requests: write\n\n    steps:\n      # No step-security/harden-runner since this is a self-hosted runner\n      - name: Checkout\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          # https://github.com/actions/checkout/issues/249\n          fetch-depth: 0\n\n      - name: Determine if pr_or_branch is a PR number\n        id: check_pr\n        run: |\n          if [[ \"${{ github.event.inputs.pr_or_branch }}\" =~ ^[0-9]+$ ]]; then\n            echo \"is_pr=true\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"is_pr=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Check if gh cli is installed\n        id: gh_cli\n        run: |\n          if command -v gh &> /dev/null ; then\n            echo \"gh_cli_installed=true\" >> \"$GITHUB_OUTPUT\"\n          else\n            echo \"gh_cli_installed=false\" >> \"$GITHUB_OUTPUT\"\n          fi\n\n      - name: Configure gh CLI APT repository\n        if: steps.gh_cli.outputs.gh_cli_installed == 'false'\n        run: |\n          (type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y))\n          sudo mkdir -p -m 755 /etc/apt/keyrings\n          wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null\n          sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg\n          echo \"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null\n          sudo apt update\n\n      - name: Install gh CLI\n        if: steps.gh_cli.outputs.gh_cli_installed == 'false'\n        run: |\n          sudo apt install gh -y\n\n      - name: test gh CLI\n        run: |\n          gh --version\n\n      - name: set default repo\n        run: |\n          gh repo set-default ${{ github.server_url }}/${{ github.repository }}\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Add comment to PR\n        if: steps.check_pr.outputs.is_pr == 'true'\n        run: |\n          gh pr comment \"${{ github.event.inputs.pr_or_branch }}\" -b \"e2e workflow launched on this PR: [View run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Fetch and checkout PR\n        if: steps.check_pr.outputs.is_pr == 'true'\n        run: |\n          gh pr checkout ${{ github.event.inputs.pr_or_branch }}\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Checkout branch\n        if: steps.check_pr.outputs.is_pr == 'false'\n        run: |\n          git checkout ${{ github.event.inputs.pr_or_branch }}\n\n      - name: Install Packages\n        run: |\n          sudo apt-get install -y cuda-toolkit git cmake build-essential virtualenv\n          nvidia-smi\n          ls -l /dev/nvidia*\n\n      - name: Setup Python 3.11\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: 3.11\n          cache: pip\n          cache-dependency-path: |\n            **/pyproject.toml\n            **/requirements*.txt\n\n      - name: Remove llama-cpp-python from cache\n        run: |\n          pip cache remove llama_cpp_python\n\n      - name: Cache huggingface\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: ~/.cache/huggingface\n          # config contains DEFAULT_MODEL\n          key: huggingface-${{ hashFiles('src/instructlab/configuration.py') }}\n\n      - name: Install ilab\n        run: |\n          export PATH=\"/home/runner/.local/bin:/usr/local/cuda/bin:$PATH\"\n          python3 -m venv venv\n          . venv/bin/activate\n          sed 's/\\[.*\\]//' requirements.txt > constraints.txt\n          python3 -m pip cache remove llama_cpp_python\n          CMAKE_ARGS=\"-DLLAMA_CUBLAS=on\" python3 -m pip install --no-binary llama_cpp_python -c constraints.txt llama_cpp_python\n          # needed for --4-bit-quant option to ilab train\n          python3 -m pip install bitsandbytes\n          python3 -m pip install .\n\n      - name: Run e2e test\n        run: |\n          . venv/bin/activate\n          ./scripts/basic-workflow-tests.sh -cm\n\n      - name: Remove llama-cpp-python from cache\n        if: always()\n        run: |\n          pip cache remove llama_cpp_python\n\n      - name: Add comment to PR if the workflow failed\n        if: failure() && steps.check_pr.outputs.is_pr == 'true'\n        run: |\n          gh pr comment \"${{ github.event.inputs.pr_or_branch }}\" -b \"e2e workflow failed on this PR: [View run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}), please investigate.\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n      - name: Add comment to PR if the workflow succeeded\n        if: success() && steps.check_pr.outputs.is_pr == 'true'\n        run: |\n          gh pr comment \"${{ github.event.inputs.pr_or_branch }}\" -b \"e2e workflow succeeded on this PR: [View run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}), congrats!\"\n        env:\n          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n", "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:09.984144", "created_at": "2024-05-02T23:58:01+02:00", "updated_at": "2024-05-03T21:52:59+02:00", "name": "Test build cuda container image", "path": ".github/workflows/image-cuda.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n\nname: Test build cuda container image\n\non:\n  push:\n    branches:\n      - main\n    paths:\n      - 'containers/cuda/Containerfile'\n      - '.github/workflows/image-cuda.yml' # This workflow\n  pull_request:\n    branches:\n      - main\n    paths:\n      - 'containers/cuda/Containerfile'\n      - '.github/workflows/image-cuda.yml' # This workflow\n\n# Note that the current containerfile builds against a git ref.\n# It is not built against the current source tree. So, we test\n# build the image against `stable` and `main` if the file changes.\njobs:\n  build_cuda_image_stable:\n    name: Build CUDA image for stable\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Harden Runner\"\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n\n      - name: Free disk space\n        run: |\n          df -h\n          sudo docker rmi \"$(docker image ls -aq)\" >/dev/null 2>&1 || true\n          sudo rm -rf \\\n            /usr/share/dotnet /usr/local/lib/android /opt/ghc \\\n            /usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \\\n            /usr/lib/jvm || true\n          sudo apt install aptitude -y >/dev/null 2>&1\n          sudo aptitude purge '~n ^mysql' -f -y >/dev/null 2>&1\n          sudo aptitude purge '~n ^dotnet' -f -y >/dev/null 2>&1\n          sudo apt-get autoremove -y >/dev/null 2>&1\n          sudo apt-get autoclean -y >/dev/null 2>&1\n          df -h\n\n      - name: \"Checkout\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0\n\n      - name: Extract metadata (tags, labels) for gotbot image\n        id: gobot_meta\n        uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1\n        with:\n          images: |\n            ghcr.io/${{ github.repository }}/instructlab-cuda\n\n      - name: Build and push gobot image\n        uses: docker/build-push-action@f6010ea70151369b06f0194be1051fbbdff851b2 # v6.0.2\n        with:\n          context: .\n          platforms: linux/amd64\n          build-args: |\n            GIT_TAG=stable\n          push: false\n          tags: ${{ steps.gobot_meta.outputs.tags }}\n          labels: ${{ steps.gobot_meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          file: containers/cuda/Containerfile\n\n  build_cuda_image_main:\n    name: Build CUDA image for main\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Harden Runner\"\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n\n      - name: Free disk space\n        run: |\n          df -h\n          sudo docker rmi \"$(docker image ls -aq)\" >/dev/null 2>&1 || true\n          sudo rm -rf \\\n            /usr/share/dotnet /usr/local/lib/android /opt/ghc \\\n            /usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \\\n            /usr/lib/jvm || true\n          sudo apt install aptitude -y >/dev/null 2>&1\n          sudo aptitude purge '~n ^mysql' -f -y >/dev/null 2>&1\n          sudo aptitude purge '~n ^dotnet' -f -y >/dev/null 2>&1\n          sudo apt-get autoremove -y >/dev/null 2>&1\n          sudo apt-get autoclean -y >/dev/null 2>&1\n          df -h\n\n      - name: \"Checkout\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n\n      - uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0\n\n      - name: Extract metadata (tags, labels) for gotbot image\n        id: gobot_meta\n        uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1\n        with:\n          images: |\n            ghcr.io/${{ github.repository }}/instructlab-cuda\n\n      - name: Build and push gobot image\n        uses: docker/build-push-action@f6010ea70151369b06f0194be1051fbbdff851b2 # v6.0.2\n        with:\n          context: .\n          platforms: linux/amd64\n          build-args: |\n            GIT_TAG=main\n          push: false\n          tags: ${{ steps.gobot_meta.outputs.tags }}\n          labels: ${{ steps.gobot_meta.outputs.labels }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n          file: containers/cuda/Containerfile\n", "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:11.209574", "created_at": "2024-03-19T13:00:15+01:00", "updated_at": "2024-04-30T17:07:43+02:00", "name": "Pull Request Labeler", "path": ".github/workflows/label.yml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:12.439244", "created_at": "2024-02-29T11:34:43+01:00", "updated_at": "2024-06-07T20:15:05+02:00", "name": "Lint, Format, and MyPy", "path": ".github/workflows/lint.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n\nname: Lint, Format, and MyPy\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - '**.py'\n      - 'pyproject.toml'\n      - 'requirements*.txt'\n      - 'tox.ini'\n      - 'scripts/*.sh' # Used by this workflow\n      - '.github/workflows/lint.yml' # This workflow\n  pull_request:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - '**.py'\n      - 'pyproject.toml'\n      - 'requirements*.txt'\n      - 'tox.ini'\n      - 'scripts/*.sh' # Used by this workflow\n      - '.github/workflows/lint.yml' # This workflow\n\nenv:\n  LC_ALL: en_US.UTF-8\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: read\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    name: \"${{ matrix.lint.name }}\"\n    strategy:\n      fail-fast: false\n      matrix:\n        lint:\n          - name: \"ruff\"\n            commands: |\n              tox -e ruff -- check\n          - name: \"pylint\"\n            commands: |\n              echo \"::add-matcher::.github/workflows/matchers/pylint.json\"\n              tox -e lint\n          - name: \"mypy\"\n            commands: |\n              echo \"::add-matcher::.github/workflows/matchers/mypy.json\"\n              tox -e mypy\n          - name: \"tomllint\"\n            commands: |\n              tox -e tomllint\n    steps:\n      - name: \"Harden Runner\"\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n\n      - name: \"Checkout\"\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          # https://github.com/actions/checkout/issues/249\n          fetch-depth: 0\n\n      - name: Setup Python 3.11\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: 3.11\n          cache: pip\n          cache-dependency-path: |\n            **/pyproject.toml\n            **/requirements*.txt\n\n      - name: Remove llama-cpp-python from cache\n        run: |\n          python -m pip cache remove llama_cpp_python\n\n      - name: \"Install tox\"\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox tox-gh\n\n      - name: \"${{ matrix.lint.name }}\"\n        run: |\n          ${{ matrix.lint.commands }}\n        env:\n          RUFF_OUTPUT_FORMAT: github\n\n      - name: Remove llama-cpp-python from cache\n        if: always()\n        run: |\n          python -m pip cache remove llama_cpp_python\n\n  lint-workflow-complete:\n    needs:\n      - \"lint\"\n    runs-on: ubuntu-latest\n    steps:\n      - name: Lint Workflow Complete\n        run: |\n          echo \"Lint Workflow Complete\"\n", "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:13.535500", "created_at": "2024-03-11T17:31:22+01:00", "updated_at": "2024-03-11T17:31:22+01:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:14.692846", "created_at": "2024-04-11T09:32:18+02:00", "updated_at": "2024-04-18T18:09:16+02:00", "name": "Build, test, and upload PyPI package", "path": ".github/workflows/pypi.yaml", "contents": "# SPDX-License-Identifier: Apache-2.0\n\nname: Build, test, and upload PyPI package\n\non:\n    push:\n        branches:\n            - main\n            - \"release-**\"\n        tags:\n            - \"v*\"\n    pull_request:\n        branches:\n            - main\n            - \"release-**\"\n    release:\n        types:\n            - published\n\nenv:\n    LC_ALL: en_US.UTF-8\n\ndefaults:\n    run:\n        shell: bash\n\npermissions:\n    contents: read\n\njobs:\n    # Create and verify release artifacts\n    # - build source dist (tar ball) and wheel\n    # - validate artifacts with various tools\n    # - upload artifacts to GHA\n    build-package:\n        name: Build and check packages\n        runs-on: ubuntu-latest\n        steps:\n            - name: \"Harden Runner\"\n              uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n              with:\n                  egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n\n            - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n              with:\n                  # for setuptools-scm\n                  fetch-depth: 0\n\n            - uses: hynek/build-and-inspect-python-package@b4fc3f6ba2b3da04f09659be99e2a29fb6146a61 # v2.6.0\n\n    # push to Test PyPI on\n    # - a new GitHub release is published\n    # - a PR is merged into main branch\n    publish-test-pypi:\n        name: Publish packages to test.pypi.org\n        # environment: publish-test-pypi\n        if: |\n            github.repository_owner == 'instructlab' && (\n                github.event.action == 'published' ||\n                (github.event_name == 'push' && github.ref == 'refs/heads/main')\n            )\n        permissions:\n            contents: read\n            # see https://docs.pypi.org/trusted-publishers/\n            id-token: write\n        runs-on: ubuntu-latest\n        needs: build-package\n\n        steps:\n            - name: \"Harden Runner\"\n              uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n              with:\n                  egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n\n            - name: Fetch build artifacts\n              uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n              with:\n                  name: Packages\n                  path: dist\n\n            - name: Upload to Test PyPI\n              uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0\n              with:\n                  repository-url: https://test.pypi.org/legacy/\n\n    # push to Production PyPI on\n    # - a new GitHub release is published\n    publish-pypi:\n        name: Publish release to pypi.org\n        # environment: publish-pypi\n        if: |\n            github.repository_owner == 'instructlab' && github.event.action == 'published'\n        permissions:\n            # see https://docs.pypi.org/trusted-publishers/\n            id-token: write\n            # allow gh release upload\n            contents: write\n\n        runs-on: ubuntu-latest\n        needs: build-package\n\n        steps:\n            - name: \"Harden Runner\"\n              uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n              with:\n                  egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n\n            - name: Fetch build artifacts\n              uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7\n              with:\n                  name: Packages\n                  path: dist\n\n            - uses: sigstore/gh-action-sigstore-python@61f6a500bbfdd9a2a339cf033e5421951fbc1cd2 # v2.1.1\n              with:\n                  inputs: >-\n                      ./dist/*.tar.gz\n                      ./dist/*.whl\n\n            - name: Upload artifacts and signatures to GitHub release\n              env:\n                  GITHUB_TOKEN: ${{ github.token }}\n              run: >-\n                  gh release upload '${{ github.ref_name }}' dist/* --repo '${{ github.repository }}'\n\n            # PyPI does not accept .sigstore artifacts and\n            # gh-action-pypi-publish has no option to ignore them.\n            - name: Remove sigstore signatures before uploading to PyPI\n              run: rm ./dist/*.sigstore\n\n            - name: Upload to PyPI\n              uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0\n", "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:15.802237", "created_at": "2024-05-17T11:55:06+02:00", "updated_at": "2024-05-17T11:55:06+02:00", "name": "readthedocs preview", "path": ".github/workflows/readthedocs.yaml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:16.847822", "created_at": "2024-03-13T14:19:10+01:00", "updated_at": "2024-03-13T14:19:10+01:00", "name": "REUSE Compliance Check", "path": ".github/workflows/reuse.yml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:18.070816", "created_at": "2024-05-29T13:56:20+02:00", "updated_at": "2024-06-04T02:56:49+02:00", "name": "Shellcheck", "path": ".github/workflows/shellcheck.yaml", "contents": "# SPDX-License-Identifier: Apache-2.0\n\nname: Shellcheck\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - '**.sh'\n      - '.github/workflows/shellcheck.yaml' # This workflow file\n  pull_request:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - '**.sh'\n      - '.github/workflows/shellcheck.yaml' # This workflow file\n\nenv:\n  LC_ALL: en_US.UTF-8\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: read\n\njobs:\n  shellcheck:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Harden Runner\"\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n\n      - name: Checkout\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          # https://github.com/actions/checkout/issues/249\n          fetch-depth: 0\n\n      - name: Run ShellCheck\n        uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0\n        with:\n          check_together: 'yes'\n          format: gcc\n", "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:19.243405", "created_at": "2024-03-12T22:49:45+01:00", "updated_at": "2024-03-14T13:49:19+01:00", "name": "Spellcheck", "path": ".github/workflows/spellcheck.yaml", "contents": "# SPDX-License-Identifier: Apache-2.0\n\nname: Spellcheck\n\non:\n  pull_request:\n    branches:\n      - main\n      - \"release-**\"\n    paths:\n      - '**.md'\n      - 'tox.ini'\n      - '.spellcheck*'\n      - '.github/workflows/spellcheck.yaml' # This workflow file\n\nenv:\n  LC_ALL: en_US.UTF-8\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: read\n\njobs:\n  spellcheck:\n    name: Spellcheck (en_US)\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Harden Runner\"\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n\n      - name: Checkout Code\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          fetch-depth: 0\n\n      - name: Install aspell\n        run: |\n          sudo sudo apt-get update\n          sudo apt-get install -y aspell aspell-en\n\n      - name: Install tox dependencies\n        run: python -m pip install --upgrade tox\n\n      - name: Run spellchecker\n        run: python -m tox -e spellcheck\n", "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:20.309491", "created_at": "2024-04-26T01:20:17+02:00", "updated_at": "2024-04-26T01:20:17+02:00", "name": "Close stale issues and PRs", "path": ".github/workflows/stale_bot.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n\nname: 'Close stale issues and PRs'\n\non:\n  schedule:\n    - cron: '30 1 * * *'\n\nenv:\n  LC_ALL: en_US.UTF-8\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: read\n\njobs:\n  stale:\n    permissions:\n      issues: write\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Harden Runner\"\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n\n      - name: \"Stale Action\"\n        uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0\n        with:\n          stale-issue-label: 'stale'\n          stale-issue-message: >\n            This issue has been automatically marked as stale because it has not had activity within 90 days.\n            It will be automatically closed if no further activity occurs within 30 days.\n          close-issue-message: >\n            This issue has been automatically closed due to inactivity. Please feel free to reopen if you feel it is still relevant!\n          days-before-issue-stale: 90\n          days-before-issue-close: 30\n          stale-pr-label: 'stale'\n          stale-pr-message: >\n            This pull request has been automatically marked as stale because it has not had activity within 90 days.\n            It will be automatically closed if no further activity occurs within 30 days.\n          close-pr-message: >\n            This pull request has been automatically closed due to inactivity. Please feel free to reopen if you intend to continue working on it!\n          days-before-pr-stale: 90\n          days-before-pr-close: 30\n", "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:21.351236", "created_at": "2024-03-08T23:36:52+01:00", "updated_at": "2024-03-08T23:36:52+01:00", "name": "Test", "path": ".github/workflows/test.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n\nname: Test\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - '**.py'\n      - 'pyproject.toml'\n      - 'requirements*.txt'\n      - 'tox.ini'\n      - 'scripts/*.sh' # Used by this workflow\n      - '.github/workflows/test.yml' # This workflow\n  pull_request:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - '**.py'\n      - 'pyproject.toml'\n      - 'requirements*.txt'\n      - 'tox.ini'\n      - 'scripts/*.sh' # Used by this workflow\n      - '.github/workflows/test.yml' # This workflow\n\nenv:\n  LC_ALL: en_US.UTF-8\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: read\n\njobs:\n  test:\n    name: \"${{ matrix.python }} on ${{ matrix.platform }}\"\n    runs-on: \"${{ matrix.platform }}\"\n    strategy:\n      matrix:\n        python:\n          - \"3.9\"\n          - \"3.10\"\n          - \"3.11\"\n          - \"3.12\"\n        platform:\n          - \"ubuntu-latest\"\n        exclude:\n          # GHA runner has no ARM64 3.9\n          - python: \"3.9\"\n            platform: \"macos-latest\"\n        include:\n          - python: \"3.11\"\n            platform: \"macos-latest\"\n    steps:\n      - name: \"Harden Runner\"\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n\n      - name: Checkout\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          # https://github.com/actions/checkout/issues/249\n          fetch-depth: 0\n\n      - name: Install the expect package\n        if: startsWith(matrix.platform, 'ubuntu')\n        run: |\n          sudo apt-get install -y expect\n\n      - name: Install tools on MacOS\n        if: startsWith(matrix.platform, 'macos')\n        run: |\n          brew install expect coreutils bash\n\n      - name: Setup Python ${{ matrix.python }}\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: ${{ matrix.python }}\n          cache: pip\n          cache-dependency-path: |\n            **/pyproject.toml\n            **/requirements*.txt\n\n      - name: Remove llama-cpp-python from cache\n        run: |\n          pip cache remove llama_cpp_python\n\n      - name: Cache huggingface\n        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2\n        with:\n          path: ~/.cache/huggingface\n          # config contains DEFAULT_MODEL\n          key: huggingface-${{ hashFiles('src/instructlab/configuration.py') }}\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox tox-gh>=1.2\n\n      - name: Run unit and functional tests with tox\n        run: |\n          tox\n\n      - name: Remove llama-cpp-python from cache\n        if: always()\n        run: |\n          pip cache remove llama_cpp_python\n\n  test-workflow-complete:\n    needs: [\"test\"]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Test Workflow Complete\n        run: echo \"Test Workflow Complete\"\n\n  man:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Harden Runner\"\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n\n      - name: Checkout\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          # https://github.com/actions/checkout/issues/249\n          fetch-depth: 0\n\n      - name: Setup Python 3.11\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: 3.11\n          cache: pip\n          cache-dependency-path: |\n            **/pyproject.toml\n            **/requirements*.txt\n\n      - name: Remove llama-cpp-python from cache\n        run: |\n          pip cache remove llama_cpp_python\n\n      - name: Run tox docs target (expect failure since tox is not present)\n        run: |\n          make man\n        continue-on-error: true\n\n      - name: Run tox docs target\n        id: tox-docs\n        run: |\n          make man || echo \"status=failed\" >> \"$GITHUB_OUTPUT\"\n        continue-on-error: true\n\n      - name: Check for 'make man' failure\n        run: |\n          if [[ \"${{ steps.tox-docs.outputs.status }}\" != \"failed\" ]]; then\n            echo \"'make man' did not fail as expected\"\n            exit 1\n          fi\n\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install tox\n\n      - name: Run tox docs target\n        run: |\n          make man\n\n      - name: Check that man pages were generated\n        uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0\n        with:\n          files: 'man/*.1'\n          fail: true\n\n      - name: Remove llama-cpp-python from cache\n        if: always()\n        run: |\n          pip cache remove llama_cpp_python\n", "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:22.488113", "created_at": "2024-06-13T11:00:15+02:00", "updated_at": "2024-06-13T11:00:15+02:00", "name": "TOML check", "path": ".github/workflows/tomlcheck.yaml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:23.505920", "created_at": "2024-03-06T22:05:39+01:00", "updated_at": "2024-03-06T22:05:39+01:00", "name": "Unit tests", "path": ".github/workflows/unit.yml", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:24.726965", "created_at": "2024-05-28T16:54:12+02:00", "updated_at": "2024-05-28T16:54:12+02:00", "name": "Validate Notebooks", "path": ".github/workflows/validate-notebooks.yml", "contents": "# SPDX-License-Identifier: Apache-2.0\n\nname: Validate Notebooks\n\non:\n  push:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - 'notebooks/*.ipynb'\n      - 'scripts/*.sh' # Used by this workflow\n      - '.github/workflows/validate-notebooks.yml' # This workflow\n  pull_request:\n    branches:\n      - \"main\"\n      - \"release-**\"\n    paths:\n      - 'notebooks/*.ipynb'\n      - 'scripts/*.sh' # Used by this workflow\n      - '.github/workflows/validate-notebooks.yml' # This workflow\n\nenv:\n  LC_ALL: en_US.UTF-8\n\ndefaults:\n  run:\n    shell: bash\n\npermissions:\n  contents: read\n\njobs:\n  validate-notebook:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Harden Runner\"\n        uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1\n        with:\n          egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs\n      - name: Checkout\n        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n        with:\n          # https://github.com/actions/checkout/issues/249\n          fetch-depth: 0\n\n      - name: Setup Python 3.11\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: 3.11\n          cache: pip\n\n      - name: Install nbformat\n        run: |\n          python -m pip install --upgrade pip\n          python -m pip install nbformat\n\n      - name: Validate Jupyter Notebooks\n        run: |\n          find notebooks/ -name \"*.ipynb\" -print0 | xargs python scripts/validate_notebook.py\n", "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:25.739605", "created_at": "2024-06-14T16:08:46+02:00", "updated_at": "2024-06-14T16:08:46+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "instructlab/instructlab"}
{"mined_at": "2024-07-15T19:03:27.680160", "created_at": "2024-04-22T16:39:40+02:00", "updated_at": "2024-04-22T16:39:40+02:00", "name": "Core Tests.", "path": ".github/workflows/core_code_checks.yml", "contents": "name: Core Tests.\n\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Set up Python 3.8.13\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.8.13'\n      - uses: actions/cache@v2\n        with:\n          path: ${{ env.pythonLocation }}\n          key: ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}\n      - name: Install dependencies\n        run: |\n          pip install --upgrade --upgrade-strategy eager -e .[dev]\n      - name: Check notebook cell metadata\n        run: |\n          python ./nerfstudio/scripts/docs/add_nb_tags.py --check\n      - name: Run Ruff Linter\n        run: ruff check docs/ nerfstudio/ tests/ --output-format=github\n      - name: Run Ruff Formatter\n        run: ruff format docs/ nerfstudio/ tests/ --diff\n      - name: Test with pytest\n        run: |\n          pytest\n", "state": "active", "repository": "georghess/neurad-studio"}
{"mined_at": "2024-07-15T19:03:30.051784", "created_at": "2023-10-12T15:55:25+02:00", "updated_at": "2023-10-19T11:56:04+02:00", "name": "autoconf", "path": ".github/workflows/autoconf.yml", "contents": "name: autoconf\n\non:\n  pull_request:\n    branches:\n      - 'main'\n\njobs:\n  unit_tests:\n    runs-on: ubuntu-latest\n    env:\n      working-directory: ./auto_configurator\n\n    steps:\n      - name: checkout the repo\n        uses: actions/checkout@v3\n\n      - name: install dependencies\n        run: |\n          python -m pip install pytest\n          pip install -r requirements.txt\n          pip install requests-mock\n\n      - name: run unit tests\n        run: pytest\n        working-directory: ${{env.working-directory}}\n", "state": "active", "repository": "NVIDIA/NeMo-Framework-Launcher"}
{"mined_at": "2024-07-15T19:03:31.281921", "created_at": "2023-10-12T15:55:25+02:00", "updated_at": "2023-10-19T11:56:04+02:00", "name": "launcher", "path": ".github/workflows/launcher.yml", "contents": "name: launcher\n\non:\n  pull_request:\n    branches:\n      - 'main'\n\njobs:\n  unit_tests:\n    runs-on: ubuntu-latest\n    env:\n      working-directory: ./launcher_scripts\n\n    steps:\n      - name: checkout the repo\n        uses: actions/checkout@v3\n\n      - name: install dependencies\n        run: |\n          python -m pip install pytest requests-mock -r requirements.txt\n\n      - name: run unit tests\n        run: PYTHONPATH=$PWD pytest\n        working-directory: ${{env.working-directory}}\n", "state": "active", "repository": "NVIDIA/NeMo-Framework-Launcher"}
{"mined_at": "2024-07-15T19:03:32.400663", "created_at": "2023-10-12T15:55:25+02:00", "updated_at": "2023-10-19T11:56:04+02:00", "name": "code_style", "path": ".github/workflows/style.yml", "contents": "name: code_style\n\non:\n  pull_request:\n    branches:\n      - 'main'\n\njobs:\n  black:\n    runs-on: ubuntu-latest\n    env:\n      working-directory: .\n\n    steps:\n      - name: checkout the repo\n        uses: actions/checkout@v3\n\n      - name: install dependencies\n        run: pip install --upgrade black==19.10b0 click==8.0.2\n\n      - name: code style check\n        run: black . --check --verbose --diff\n        working-directory: ${{env.working-directory}}\n", "state": "active", "repository": "NVIDIA/NeMo-Framework-Launcher"}
{"mined_at": "2024-07-15T19:03:33.509261", "created_at": "2023-10-12T13:07:08+02:00", "updated_at": "2023-10-12T13:26:48+02:00", "name": "unit_tests", "path": ".github/workflows/test.yml", "contents": null, "state": "active", "repository": "NVIDIA/NeMo-Framework-Launcher"}
{"mined_at": "2024-07-15T19:03:35.650153", "created_at": "2024-04-22T19:43:54+02:00", "updated_at": "2024-04-22T19:43:54+02:00", "name": "Update Copyright Year", "path": ".github/workflows/copyright.yml", "contents": "name: Update Copyright Year\n\non:\n  schedule:\n    - cron: '0 3 1 1 *'\n  workflow_dispatch:\n\njobs:\n  update-copyright:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Get current year\n        id: date\n        run: echo \"year=$(date +'%Y')\" >> $GITHUB_OUTPUT\n\n      - name: Create App Token\n        uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_TOKEN }}\n\n      - name: Check Out Repo\n        uses: actions/checkout@v4\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          ref: nightly\n\n      - name: Update Copyright\n        run: sed -i -E 's/(Copyright \\(c\\) ).+( meisnate12)/\\1${{ steps.date.outputs.year }}\\2/' LICENSE\n\n      - name: Check Diff\n        id: verify_diff\n        run: |\n          git diff --quiet . || echo \"changed=true\" >> $GITHUB_OUTPUT\n\n      - name: Commit & Push Changes\n        if: steps.verify_diff.outputs.changed == 'true'\n        run: |\n          git config --local user.email \"action@github.com\"\n          git config --local user.name \"GitHub Action\"\n          git add -A\n          git commit -m \"Copyright updated to ${{ steps.date.outputs.year }}\" -a\n          git push origin nightly\n\n      - name: Discord Failure Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: failure()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          message: ${{ vars.BUILD_FAILURE_ROLE }}\n          title: \"${{ vars.REPO_NAME }}: ${{ vars.TEXT_COPYRIGHT }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_FAILURE }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.GIT_NAME }}\n          author_icon_url: ${{ vars.GIT_IMAGE }}", "state": "active", "repository": "Kometa-Team/Kometa"}
{"mined_at": "2024-07-15T19:03:36.692129", "created_at": "2024-05-29T22:45:45+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Docker Version Build", "path": ".github/workflows/docker-version.yml", "contents": "name: Docker Version Build\n\non:\n  create:\n    tags:\n      - v*\n\njobs:\n\n  docker-build-version:\n    if: ${{ startsWith(github.ref, 'refs/tags/v1') || startsWith(github.ref, 'refs/tags/v2') }}\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Check Out Repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@master\n        with:\n          platforms: all\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Get the version\n        id: get_version\n        run: echo \"VERSION=${GITHUB_REF/refs\\/tags\\//}\" >> $GITHUB_OUTPUT\n\n      - name: Build and Push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./\n          file: ./Dockerfile\n          platforms: linux/amd64,linux/arm64,linux/arm/v7\n          push: true\n          tags: kometateam/kometa:${{ steps.get_version.outputs.VERSION }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Discord Success Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: success()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          title: \"${{ vars.REPO_NAME }} ${{ steps.get_version.outputs.VERSION }}: ${{ vars.TEXT_SUCCESS }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_SUCCESS }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.DOCKER_NAME }}\n          author_icon_url: ${{ vars.DOCKER_IMAGE }}\n\n      - name: Discord Failure Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: failure()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          message: ${{ vars.BUILD_FAILURE_ROLE }}\n          title: \"${{ vars.REPO_NAME }} ${{ steps.get_version.outputs.VERSION }}: ${{ vars.TEXT_FAILURE }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_FAILURE }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.DOCKER_NAME }}\n          author_icon_url: ${{ vars.DOCKER_IMAGE }}\n\n      - name: Checkout Configs Repo\n        uses: actions/checkout@v4\n        with:\n          repository: Kometa-Team/Community-Configs\n          token: ${{ secrets.PAT }}\n          path: kometaconfigs\n\n      - name: Create & Push Tag\n        working-directory: ./kometaconfigs\n        run: |\n          git tag ${{ steps.get_version.outputs.VERSION }}\n          git push origin ${{ steps.get_version.outputs.VERSION }}\n\n      - name: Create release\n        id: create_release\n        uses: softprops/action-gh-release@v2\n        with:\n          body_path: CHANGELOG\n          token: ${{ secrets.PAT }}\n          tag_name: ${{ steps.get_version.outputs.VERSION }}", "state": "active", "repository": "Kometa-Team/Kometa"}
{"mined_at": "2024-07-15T19:03:37.702840", "created_at": "2024-05-29T22:56:59+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Docker Nightly Build", "path": ".github/workflows/docker-nightly.yml", "contents": "name: Docker Nightly Build\n\non:\n  workflow_run:\n    workflows: [\"Master Release\"]\n    types:\n      - completed\n\njobs:\n\n  docker-build-nightly:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Check Out Repo\n        uses: actions/checkout@v4\n        with:\n          ref: nightly\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@master\n        with:\n          platforms: all\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build and Push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./\n          file: ./Dockerfile\n          build-args: |\n            \"BRANCH_NAME=nightly\"\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: kometateam/kometa:nightly\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Discord Success Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: success()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          title: \"${{ vars.REPO_NAME }} nightly: ${{ vars.TEXT_SUCCESS }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_SUCCESS }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.DOCKER_NAME }}\n          author_icon_url: ${{ vars.DOCKER_IMAGE }}\n\n      - name: Discord Failure Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: failure()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          message: ${{ vars.BUILD_FAILURE_ROLE }}\n          title: \"${{ vars.REPO_NAME }} nightly: ${{ vars.TEXT_FAILURE }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_FAILURE }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.DOCKER_NAME }}\n          author_icon_url: ${{ vars.DOCKER_IMAGE }}", "state": "active", "repository": "Kometa-Team/Kometa"}
{"mined_at": "2024-07-15T19:03:38.717254", "created_at": "2024-05-31T14:59:08+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Validate Pull Request", "path": ".github/workflows/validate-pull.yml", "contents": "name: Validate Pull Request\n\non:\n  pull_request:\n    types: [opened, synchronize, reopened, labeled]\n\njobs:\n\n  validate-pull:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Display Refs\n        run: |\n          echo \"Base Repo: ${{ github.event.pull_request.base.repo.full_name }}\"\n          echo \"Base Ref: ${{ github.base_ref }}\"\n          echo \"Head Repo: ${{ github.event.pull_request.head.repo.full_name }}\"\n          echo \"Head Ref: ${{ github.head_ref }}\"\n\n      - name: Check Base Branch\n        if: github.base_ref == 'master' || github.base_ref == 'develop'\n        run: |\n          echo \"ERROR: Pull Requests cannot be submitted to master or develop. Please submit the Pull Request to the nightly branch\"\n          exit 1\n\n      - name: Checkout Repo\n        uses: actions/checkout@v4\n\n      - name: Run Spellcheck\n        uses: rojopolis/spellcheck-github-actions@0.36.0\n\n  docker-build-pull:\n    runs-on: ubuntu-latest\n    needs: [ validate-pull ]\n    if: contains(github.event.pull_request.labels.*.name, 'docker')\n    steps:\n\n      - name: Check Out Repo\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@master\n        with:\n          platforms: all\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build and Push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./\n          file: ./Dockerfile\n          build-args: |\n            \"BRANCH_NAME=${{ github.head_ref }}\"\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: kometateam/kometa:${{ github.head_ref }}\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Discord Success Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: success()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          title: \"${{ vars.REPO_NAME }} ${{ github.head_ref }}: ${{ vars.TEXT_SUCCESS }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_SUCCESS }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.DOCKER_NAME }}\n          author_icon_url: ${{ vars.DOCKER_IMAGE }}\n\n      - name: Discord Failure Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: failure()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          message: ${{ vars.BUILD_FAILURE_ROLE }}\n          title: \"${{ vars.REPO_NAME }} ${{ github.head_ref }}: ${{ vars.TEXT_FAILURE }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_FAILURE }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.DOCKER_NAME }}\n          author_icon_url: ${{ vars.DOCKER_IMAGE }}", "state": "active", "repository": "Kometa-Team/Kometa"}
{"mined_at": "2024-07-15T19:03:39.884525", "created_at": "2024-05-31T15:59:17+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Increment Build", "path": ".github/workflows/increment-build.yml", "contents": "name: Increment Build\n\non:\n  pull_request:\n    branches: [nightly]\n    types: [closed]\n\njobs:\n  increment-build:\n    runs-on: ubuntu-latest\n    if: github.base_ref == 'nightly' && github.event.pull_request.merged\n    outputs:\n      version: ${{ steps.update-version.outputs.version }}\n      build-value: ${{ steps.update-version.outputs.build-value }}\n      commit-msg: ${{ steps.update-version.outputs.commit-msg }}\n      commit-hash: ${{ steps.update-version.outputs.commit-hash }}\n      commit-short: ${{ steps.update-version.outputs.commit-short }}\n    steps:\n\n      - name: Create App Token\n        uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_TOKEN }}\n\n      - name: Check Out Repo\n        uses: actions/checkout@v4\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          ref: nightly\n          fetch-depth: 0\n\n      - name: Update VERSION File\n        id: update-version\n        run: |\n            value=$(cat VERSION)\n            old_msg=$(git log -1 HEAD --pretty=format:%s)\n            version=\"${value%-build*}\"\n          \n            if [[ \"$value\" == *\"-\"* ]]; then\n                build_value=\"$((${value#*-build} + 1))\"\n            else\n                build_value=\"1\"\n            fi\n          \n            new_value=\"${version}-build${build_value}\"\n            new_msg=\"[${build_value}] ${old_msg}\"\n          \n            echo \"version=${version}\" >> $GITHUB_OUTPUT\n            echo \"build-value=${build_value}\" >> $GITHUB_OUTPUT\n            echo \"commit-msg=${old_msg}\" >> $GITHUB_OUTPUT\n            echo \"commit-hash=$(git rev-parse HEAD)\" >> $GITHUB_OUTPUT\n            echo \"commit-short=$(git rev-parse --short HEAD)\" >> $GITHUB_OUTPUT\n          \n            echo \"$new_value\" > \"VERSION\"\n            git config --local user.email \"action@github.com\"\n            git config --local user.name \"GitHub Action\"\n            git add VERSION\n            git commit -m \"${new_msg}\" --amend\n            git push origin nightly --force-with-lease\n\n  verify-changes:\n    runs-on: ubuntu-latest\n    needs: [ increment-build ]\n    outputs:\n      build: ${{ steps.list-changes.outputs.build }}\n    steps:\n\n      - name: Check Out Repo\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 0\n          ref: nightly\n\n      - name: Get changes\n        id: get-changes\n        run: echo \"files=$(git diff --name-only HEAD^ | xargs)\" >> $GITHUB_OUTPUT\n\n      - name: List changed files\n        id: list-changes\n        run: |\n            for file in ${{ steps.get-changes.outputs.files }}; do\n                if [[ $file =~ ^(defaults|fonts|modules|kometa.py|requirements.txt|.dockerignore|Dockerfile).*$ ]] ; then\n                    echo \"$file will trigger docker build\"\n                    echo \"build=true\" >> $GITHUB_OUTPUT\n                else\n                    echo \"$file will not trigger docker build\"\n                fi\n            done\n\n  docker-build-nightly:\n    runs-on: ubuntu-latest\n    needs: [ increment-build, verify-changes ]\n    if: needs.verify-changes.outputs.build == 'true'\n    steps:\n\n      - name: Check Out Repo\n        uses: actions/checkout@v4\n        with:\n          ref: nightly\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@master\n        with:\n          platforms: all\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build and Push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./\n          file: ./Dockerfile\n          build-args: |\n            \"BRANCH_NAME=nightly\"\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: kometateam/kometa:nightly\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Discord Success Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: success()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          title: \"${{ vars.REPO_NAME }} nightly: ${{ vars.TEXT_SUCCESS }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_SUCCESS }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.DOCKER_NAME }}\n          author_icon_url: ${{ vars.DOCKER_IMAGE }}\n\n      - name: Discord Failure Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: failure()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          message: ${{ vars.BUILD_FAILURE_ROLE }}\n          title: \"${{ vars.REPO_NAME }} nightly: ${{ vars.TEXT_FAILURE }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_FAILURE }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.DOCKER_NAME }}\n          author_icon_url: ${{ vars.DOCKER_IMAGE }}\n\n  commit-notification:\n    runs-on: ubuntu-latest\n    needs: [ increment-build, verify-changes, docker-build-nightly ]\n    if: ${{ success() && needs.verify-changes.outputs.build == 'true' }}\n    steps:\n\n      - name: Send Discord Commit Notification\n        uses: Kometa-Team/discord-notifications@master\n        with:\n          webhook_id_token: ${{ secrets.NIGHTLY_WEBHOOK }}\n          title: Kometa ${{ needs.increment-build.outputs.version }} Build ${{ needs.increment-build.outputs.build-value }}\n          url: https://github.com/Kometa-Team/Kometa/commit/${{ needs.increment-build.outputs.commit-hash }}\n          description: ${{ needs.increment-build.outputs.commit-msg }}\n          message: \"<@&967002147520675840> - An update to Kometa has now been published and is available to users of the **nightly** branch.\"\n          color: ${{ vars.COLOR_SUCCESS }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.REPO_NAME }} Nightly Release\n          author_icon_url: ${{ vars.RELEASE_IMAGE }}\n", "state": "active", "repository": "Kometa-Team/Kometa"}
{"mined_at": "2024-07-15T19:03:40.992036", "created_at": "2024-05-31T21:53:55+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Docker Develop Build", "path": ".github/workflows/docker-develop.yml", "contents": "name: Docker Develop Build\n\non:\n  push:\n    branches: [ develop ]\n\njobs:\n\n  docker-build-develop:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Check Out Repo\n        uses: actions/checkout@v4\n        with:\n          ref: develop\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@master\n        with:\n          platforms: all\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build and Push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./\n          file: ./Dockerfile\n          build-args: |\n            \"BRANCH_NAME=develop\"\n          platforms: linux/amd64,linux/arm64,linux/arm/v7\n          push: true\n          tags: kometateam/kometa:develop\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Discord Success Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: success()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          title: \"${{ vars.REPO_NAME }} develop: ${{ vars.TEXT_SUCCESS }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_SUCCESS }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.DOCKER_NAME }}\n          author_icon_url: ${{ vars.DOCKER_IMAGE }}\n\n      - name: Discord Failure Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: failure()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          message: ${{ vars.BUILD_FAILURE_ROLE }}\n          title: \"${{ vars.REPO_NAME }} develop: ${{ vars.TEXT_FAILURE }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_FAILURE }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.DOCKER_NAME }}\n          author_icon_url: ${{ vars.DOCKER_IMAGE }}\n\n  commit-notification:\n    runs-on: ubuntu-latest\n    needs: [ docker-build-develop ]\n    if: ${{ success() }}\n    steps:\n\n      - name: Send Discord Commit Notification\n        uses: Kometa-Team/discord-notifications@master\n        with:\n          webhook_id_token: ${{ secrets.DEVELOP_WEBHOOK }}\n          title: ${{ vars.TEXT_COMMITS }}\n          message: \"<@&954835263731949623> - An update to Kometa has been published and is available to users of the **develop** branch.\\n\\nWe **strongly** recommend users who previously switched to the `nightly` branch to resolve any previous issues to now switch back to the `develop` branch now.\"\n          commits: \"true\"\n          color: ${{ vars.COLOR_SUCCESS }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.REPO_NAME }} Develop Release\n          author_icon_url: ${{ vars.RELEASE_IMAGE }}\n", "state": "active", "repository": "Kometa-Team/Kometa"}
{"mined_at": "2024-07-15T19:03:42.135517", "created_at": "2024-05-31T21:54:03+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Docker Latest Build", "path": ".github/workflows/docker-latest.yml", "contents": "name: Docker Latest Build\n\non:\n  push:\n    branches: [ master ]\n\njobs:\n\n  docker-build-latest:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Check Out Repo\n        uses: actions/checkout@v4\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@master\n        with:\n          platforms: all\n\n      - name: Set up Docker Buildx\n        id: buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Build and Push\n        id: docker_build\n        uses: docker/build-push-action@v5\n        with:\n          context: ./\n          file: ./Dockerfile\n          platforms: linux/amd64,linux/arm64,linux/arm/v7\n          push: true\n          tags: kometateam/kometa:latest\n          cache-from: type=gha\n          cache-to: type=gha,mode=max\n\n      - name: Discord Success Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: success()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          title: \"${{ vars.REPO_NAME }} latest: ${{ vars.TEXT_SUCCESS }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_SUCCESS }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.DOCKER_NAME }}\n          author_icon_url: ${{ vars.DOCKER_IMAGE }}\n\n      - name: Discord Failure Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: failure()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          message: ${{ vars.BUILD_FAILURE_ROLE }}\n          title: \"${{ vars.REPO_NAME }} latest: ${{ vars.TEXT_FAILURE }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_FAILURE }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.DOCKER_NAME }}\n          author_icon_url: ${{ vars.DOCKER_IMAGE }}", "state": "active", "repository": "Kometa-Team/Kometa"}
{"mined_at": "2024-07-15T19:03:43.136094", "created_at": "2024-05-31T21:54:03+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Develop Release", "path": ".github/workflows/release-develop.yml", "contents": "name: Develop Release\n\non:\n  workflow_dispatch:\n\njobs:\n  release-develop:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Create App Token\n        uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_TOKEN }}\n\n      - name: Check Out Repo\n        uses: actions/checkout@v4\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          ref: develop\n          fetch-depth: 0\n\n      - name: Fast Forward Develop\n        run: |\n            value=$(cat VERSION)\n            develop_hash=$(git rev-parse HEAD)\n            next_build=\"${{ vars.DEVELOP_BUILD }}\"\n          \n            if [[ \"$value\" == *\"-\"* ]]; then\n                develop_build=\"$((${value#*-build}))\"\n            else\n                develop_build=\"0\"\n            fi\n          \n            git checkout origin/nightly\n            \n            value=$(cat VERSION)\n          \n            if [[ \"$value\" == *\"-\"* ]]; then\n                nightly_build=\"$((${value#*-build}))\"\n            else\n                nightly_build=\"0\"\n            fi\n          \n            echo \"DEVELOP_BUILD: '${develop_build}'\"\n            echo \"NIGHTLY_BUILD: '${nightly_build}'\"\n            echo \"NEXT_BUILD: '${next_build}'\"\n            \n            if (( next_build <= develop_build )); then\n                echo \"::error::NEXT_BUILD variable (${next_build}) must be greater than DEVELOP_BUILD (${develop_build})\"\n                exit 1\n            elif (( next_build > nightly_build )); then\n                echo \"::error::NEXT_BUILD variable (${next_build}) must be less than or equal to NIGHTLY_BUILD (${nightly_build})\"\n                exit 1\n            fi\n            \n            while : ; do\n                value=$(cat VERSION)\n          \n                if [[ \"$value\" == *\"-\"* ]]; then\n                    loop_build=\"$((${value#*-build}))\"\n                else\n                    loop_build=\"1\"\n                fi\n          \n                if [[ \"$next_build\" == \"$loop_build\" ]]; then\n                    hash=$(git rev-parse HEAD)\n                    echo \"Fast Forwarding Develop to ${hash}\"\n                    git push origin ${hash}:refs/heads/develop\n                    break\n                fi\n                \n                git checkout HEAD^\n          \n                hash=$(git rev-parse HEAD)\n                if [[ \"$develop_hash\" == \"$hash\" ]]; then\n                    echo \"::error::No Commit found to Fast Forward\"\n                    exit 1\n                fi\n            done\n\n      - name: Discord Success Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: success()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          title: \"${{ vars.REPO_NAME }} develop pushed to Build ${{ vars.DEVELOP_BUILD }}: ${{ vars.TEXT_SUCCESS }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_SUCCESS }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.GIT_NAME }}\n          author_icon_url: ${{ vars.GIT_IMAGE }}\n\n      - name: Discord Failure Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: failure()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          message: ${{ vars.BUILD_FAILURE_ROLE }}\n          title: \"${{ vars.REPO_NAME }} develop pushed to Build ${{ vars.DEVELOP_BUILD }}: ${{ vars.TEXT_FAILURE }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_FAILURE }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.GIT_NAME }}\n          author_icon_url: ${{ vars.GIT_IMAGE }}", "state": "active", "repository": "Kometa-Team/Kometa"}
{"mined_at": "2024-07-15T19:03:44.293760", "created_at": "2024-05-31T21:54:03+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Master Release", "path": ".github/workflows/release-master.yml", "contents": "name: Master Release\n\non:\n  workflow_dispatch:\n\njobs:\n  release-master:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Create App Token\n        uses: actions/create-github-app-token@v1\n        id: app-token\n        with:\n          app-id: ${{ vars.APP_ID }}\n          private-key: ${{ secrets.APP_TOKEN }}\n\n      - name: Check Out Repo\n        uses: actions/checkout@v4\n        with:\n          token: ${{ steps.app-token.outputs.token }}\n          ref: nightly\n          fetch-depth: 0\n\n      - name: Create Release Commit and Synchronize Branches\n        run: |\n            value=$(cat VERSION)\n            version=\"${value%-build*}\"\n            next_version=\"${{ vars.NEXT_VERSION }}\"\n            echo \"CURRENT_VERSION: '${version}'\"\n            echo \"NEXT_VERSION: '${next_version}'\"\n          \n            if [[ \"$version\" == \"$next_version\" ]]; then\n                echo \"::error::NEXT_VERSION variable (${next_version}) must be incremented\"\n                exit 1\n            fi\n          \n            echo \"$next_version\" > \"VERSION\"\n          \n            git config --local user.email \"action@github.com\"\n            git config --local user.name \"GitHub Action\"\n            git add VERSION\n            git commit -m \"Kometa Release ${next_version}\"\n            git push origin nightly\n            git push origin refs/heads/nightly:refs/heads/develop\n            git push origin refs/heads/nightly:refs/heads/main\n\n      - name: Discord Success Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: success()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          title: \"${{ vars.REPO_NAME }} master release ${{ vars.NEXT_VERSION }}: ${{ vars.TEXT_SUCCESS }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_SUCCESS }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.GIT_NAME }}\n          author_icon_url: ${{ vars.GIT_IMAGE }}\n\n      - name: Discord Failure Notification\n        uses: Kometa-Team/discord-notifications@master\n        if: failure()\n        with:\n          webhook_id_token: ${{ secrets.BUILD_WEBHOOK }}\n          message: ${{ vars.BUILD_FAILURE_ROLE }}\n          title: \"${{ vars.REPO_NAME }} master release ${{ vars.NEXT_VERSION }}: ${{ vars.TEXT_FAILURE }}\"\n          url: https://github.com/Kometa-Team/${{ vars.REPO_NAME }}/actions/runs/${{ github.run_id }}\n          color: ${{ vars.COLOR_FAILURE }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: ${{ vars.GIT_NAME }}\n          author_icon_url: ${{ vars.GIT_IMAGE }}\n", "state": "active", "repository": "Kometa-Team/Kometa"}
{"mined_at": "2024-07-15T19:03:45.514518", "created_at": "2024-05-31T21:54:03+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Release Notification", "path": ".github/workflows/release-notification.yml", "contents": "name: Release Notification\n\non:\n  release:\n    types: [ published ]\n\njobs:\n\n  release-notification:\n\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Send Discord Release Notification\n        uses: Kometa-Team/discord-notifications@master\n        with:\n          webhook_id_token: ${{ secrets.RELEASE_WEBHOOK }}\n          release: true\n          title: Release VERSION\n          message: \"<@&967002324646113290> - A new version of Kometa has been released and is available to all users.\\n\\nWe **strongly** recommend users who previously switched to the `nightly` or `develop` branches to resolve any previous issues to now switch back to the `latest` branch now.\"\n          color: ${{ vars.COLOR_SUCCESS }}\n          username: ${{ vars.BOT_NAME }}\n          avatar_url: ${{ vars.BOT_IMAGE }}\n          author: Kometa Release\n          author_icon_url: ${{ vars.RELEASE_IMAGE }}", "state": "active", "repository": "Kometa-Team/Kometa"}
{"mined_at": "2024-07-15T19:03:46.539395", "created_at": "2024-05-31T21:54:03+02:00", "updated_at": "2024-05-31T21:54:03+02:00", "name": "Tag New Version", "path": ".github/workflows/tag-new-version.yml", "contents": "name: Tag New Version\n\non:\n  push:\n    branches: [ master ]\n\njobs:\n  tag:\n    runs-on: ubuntu-latest\n    steps:\n\n      - uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.PAT }}\n          fetch-depth: 2\n\n      - uses: Kometa-Team/tag-new-version@master\n        with:\n          version-command: |\n            cat VERSION", "state": "active", "repository": "Kometa-Team/Kometa"}
{"mined_at": "2024-07-15T19:03:48.790689", "created_at": "2024-06-26T16:36:02+02:00", "updated_at": "2024-07-09T18:28:37+02:00", "name": "pace main unit tests", "path": ".github/workflows/main_unit_tests.yaml", "contents": null, "state": "active", "repository": "NOAA-GFDL/pace"}
{"mined_at": "2024-07-15T19:03:49.891473", "created_at": "2024-07-02T18:00:48+02:00", "updated_at": "2024-07-09T19:00:03+02:00", "name": "Lint", "path": ".github/workflows/lint.yaml", "contents": null, "state": "active", "repository": "NOAA-GFDL/pace"}
{"mined_at": "2024-07-15T19:03:52.171108", "created_at": "2022-12-28T22:08:18+01:00", "updated_at": "2022-12-28T22:10:54+01:00", "name": "Continuous integration", "path": ".github/workflows/ci.yml", "contents": "name: Continuous integration\non:\n  pull_request: # All\n  push:\n    branches:\n    - main\njobs:\n  hygiene-tests:\n    name: Repository hygiene\n    runs-on: ubuntu-latest\n    steps:\n    - name: Job information\n      run: |\n        echo \"Job information\"\n        echo \"Trigger: ${{ github.event_name }}\"\n        echo \"Host: ${{ runner.os }}\"\n        echo \"Repository: ${{ github.repository }}\"\n        echo \"Branch: ${{ github.ref }}\"\n        docker images\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Python lint\n      run: make python-lint\n    - name: Automated hygiene verification\n      run: make check-hygiene\n    - name: uss_qualifier documentation validation\n      run: make validate-uss-qualifier-docs\n    - name: Shell lint\n      run: make shell-lint\n\n  mock_uss-test:\n    name: mock_uss tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: mock_uss\n      script: |\n        cd monitoring/mock_uss\n        make test\n\n  uss_qualifier-noop-test:\n    name: uss_qualifier configurations.dev.noop tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: uss_qualifier-noop-test\n      script: |\n        export CONFIG_NAME=\"configurations.dev.noop\"\n\n        cd monitoring/uss_qualifier\n        make test\n\n  uss_qualifier-geoawareness_cis-test:\n    name: uss_qualifier configurations.dev.geoawareness_cis tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: uss_qualifier-geoawareness_cis-test\n      script: |\n        export CONFIG_NAME=\"configurations.dev.geoawareness_cis\"\n\n        cd monitoring/uss_qualifier\n        make test\n\n  uss_qualifier-generate_rid_test_data-test:\n    name: uss_qualifier configurations.dev.generate_rid_test_data tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: uss_qualifier-generate_rid_test_data-test\n      script: |\n        export CONFIG_NAME=\"configurations.dev.generate_rid_test_data\"\n\n        cd monitoring/uss_qualifier\n        make test\n\n  uss_qualifier-geospatial_comprehension-test:\n    name: uss_qualifier configurations.dev.geospatial_comprehension tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: uss_qualifier-geospatial_comprehension-test\n      script: |\n        export CONFIG_NAME=\"configurations.dev.geospatial_comprehension\"\n\n        cd monitoring/uss_qualifier\n        make test\n\n  uss_qualifier-general_flight_auth-test:\n    name: uss_qualifier configurations.dev.general_flight_auth tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: uss_qualifier-general_flight_auth-test\n      script: |\n        export CONFIG_NAME=\"configurations.dev.general_flight_auth\"\n\n        cd monitoring/uss_qualifier\n        make test\n\n  uss_qualifier-message_signing-test:\n    name: uss_qualifier configurations.dev.message_signing tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: uss_qualifier-message_signing-test\n      script: |\n        export CONFIG_NAME=\"configurations.dev.message_signing\"\n\n        cd monitoring/uss_qualifier\n        make test\n\n  uss_qualifier-dss_probing-test:\n    name: uss_qualifier configurations.dev.dss_probing tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: uss_qualifier-dss_probing-test\n      script: |\n        export CONFIG_NAME=\"configurations.dev.dss_probing\"\n\n        cd monitoring/uss_qualifier\n        make test\n\n  uss_qualifier-f3548_self_contained-test:\n    name: uss_qualifier configurations.dev.f3548_self_contained tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: uss_qualifier-f3548_self_contained-test\n      script: |\n        export CONFIG_NAME=\"configurations.dev.f3548_self_contained\"\n\n        cd monitoring/uss_qualifier\n        make test\n\n  uss_qualifier-netrid_v22a-test:\n    name: uss_qualifier configurations.dev.netrid_v22a tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: uss_qualifier-netrid_v22a-test\n      script: |\n        export CONFIG_NAME=\"configurations.dev.netrid_v22a\"\n\n        cd monitoring/uss_qualifier\n        make test\n\n  uss_qualifier-netrid_v19-test:\n    name: uss_qualifier configurations.dev.netrid_v19 tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: uss_qualifier-netrid_v19-test\n      script: |\n        export CONFIG_NAME=\"configurations.dev.netrid_v19\"\n\n        cd monitoring/uss_qualifier\n        make test\n\n  uss_qualifier-uspace-test:\n    name: uss_qualifier configurations.dev.uspace tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: uss_qualifier-uspace-test\n      script: |\n        export CONFIG_NAME=\"configurations.dev.uspace\"\n\n        cd monitoring/uss_qualifier\n        make test\n\n  prober-test:\n    name: prober tests\n    uses: ./.github/workflows/monitoring-test.yml\n    with:\n      name: prober\n      script: |\n        cd monitoring/prober\n        make test\n\n  publish-gh-pages:\n    name: Publish GitHub Pages\n    needs: [hygiene-tests, mock_uss-test, uss_qualifier-noop-test, uss_qualifier-geoawareness_cis-test, uss_qualifier-generate_rid_test_data-test, uss_qualifier-geospatial_comprehension-test, uss_qualifier-general_flight_auth-test, uss_qualifier-message_signing-test, uss_qualifier-dss_probing-test, uss_qualifier-f3548_self_contained-test, uss_qualifier-netrid_v22a-test, uss_qualifier-netrid_v19-test, uss_qualifier-uspace-test, prober-test]\n    if: ${{ always() && contains(join(needs.*.result, ','), 'success') }}\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    concurrency:\n      group: ${{ github.workflow }}-${{ github.ref }}\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n          path: monitoring\n\n      - name: Get uss_qualifier reports\n        uses: actions/download-artifact@v4\n        with:\n          path: ./artifacts\n\n      - name: Make site content\n        run: ./monitoring/github_pages/make_site_content.sh\n\n      - name: Deploy\n        uses: peaceiris/actions-gh-pages@v3\n        if: github.ref == 'refs/heads/main'\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          publish_dir: ./public\n          enable_jekyll: true\n          user_name: 'github-actions[bot]'\n          user_email: 'github-actions[bot]@users.noreply.github.com'\n          commit_message: ${{ github.event.head_commit.message }}\n", "state": "active", "repository": "interuss/monitoring"}
{"mined_at": "2024-07-15T19:03:53.272119", "created_at": "2022-12-28T22:08:18+01:00", "updated_at": "2022-12-28T22:10:54+01:00", "name": "Developers environment checks", "path": ".github/workflows/dev-checks.yml", "contents": "name: Developers environment checks\non:\n  pull_request: # All\n  push:\n    branches:\n      - main\njobs:\n  windows:\n    name: Clone on Windows\n    runs-on: windows-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Checkout on Windows\n        run: echo \"Project successfully cloned on ${{ runner.os }}. See `Set up Job` stage for more details about the Runner.\"\n  macos:\n    name: Clone on Mac\n    runs-on: macos-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Checkout on Mac\n        run: echo \"Project successfully cloned on ${{ runner.os }}. See `Set up Job` stage for more details about the Runner.\"\n  ubuntu:\n    name: Clone on Ubuntu\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Checkout on Ubuntu\n        run: echo \"Project successfully cloned on ${{ runner.os }}. See `Set up Job` stage for more details about the Runner.\"\n", "state": "active", "repository": "interuss/monitoring"}
{"mined_at": "2024-07-15T19:03:54.303826", "created_at": "2022-12-29T01:51:34+01:00", "updated_at": "2022-12-29T01:51:34+01:00", "name": "Publish monitoring image to Docker Registry (on new release tag)", "path": ".github/workflows/image-publish.yml", "contents": "# This workflow builds and pushes the monitoring docker image when a release tag is pushed.\n# The following secrets must be provided:\n# DOCKER_USERNAME: The username to log into the registry.\n# DOCKER_PASSWORD: The access token of the user to log into the registry.\n# DOCKER_URL: The base url of the repository. Example: `docker.io/interuss` or `interuss`.\n\nname: Publish monitoring image to Docker Registry (on new release tag)\non:\n  push:\n    tags:\n      # To modify to trigger the job for fork's releases\n      # Note: GitHub's filter pattern capabilities are limited[1], so this\n      # pattern matches more often than it should.  A more correct regex would\n      # be the one found in scripts/tag.sh.\n      # [1] https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet\n      - \"interuss/monitoring/v[0-9]+.[0-9]+.[0-9]+-?*\"\njobs:\n  docker-hub-push:\n    name: Build and Push to Docker Hub\n    runs-on: ubuntu-latest\n    # To modify to enable the job for forked repository\n    if: github.repository == 'interuss/monitoring'\n    steps:\n      - name: Job information\n        run: |\n          echo \"Job information\"\n          echo \"Trigger: ${{ github.event_name }}\"\n          echo \"Host: ${{ runner.os }}\"\n          echo \"Repository: ${{ github.repository }}\"\n          echo \"Branch: ${{ github.ref }}\"\n          docker images\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          submodules: true\n          fetch-depth: 0\n\n      - name: Log in to Docker Hub\n        uses: docker/login-action@v1\n        with:\n          registry: docker.io\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Build and push image\n        env:\n          DOCKER_URL: ${{ secrets.DOCKER_URL }}\n          DOCKER_UPDATE_LATEST: true\n        run: |\n          build/build_and_push.sh\n", "state": "active", "repository": "interuss/monitoring"}
{"mined_at": "2024-07-15T19:03:55.364058", "created_at": "2023-08-15T17:04:33+02:00", "updated_at": "2023-08-15T17:04:33+02:00", "name": "Run a monitoring test (re-usable workflow)", "path": ".github/workflows/monitoring-test.yml", "contents": "name: 'Run a monitoring test (re-usable workflow)'\n\non:\n  workflow_call:\n    inputs:\n      name:\n        description: 'Name of the monitoring test.'\n        required: true\n        type: string\n      script:\n        description: 'Bash script running the monitoring test.'\n        required: true\n        type: string\n\njobs:\n  monitoring-test:\n    runs-on: ubuntu-latest\n    name: ${{ inputs.name }} test\n    steps:\n    - name: Job information\n      run: |\n        echo \"Job information\"\n        echo \"Trigger: ${{ github.event_name }}\"\n        echo \"Host: ${{ runner.os }}\"\n        echo \"Repository: ${{ github.repository }}\"\n        echo \"Branch: ${{ github.ref }}\"\n        docker images\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        submodules: true\n    - name: Run ${{ inputs.name }} test\n      run: ${{ inputs.script }}\n    - name: Save containers and tracer logs as artifact\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: monitoring-test-${{ inputs.name }}-logs\n        path: |\n          logs\n          monitoring/mock_uss/output\n    - name: Save USS qualifier reports as artifact\n      if: always()\n      uses: actions/upload-artifact@v4\n      with:\n        name: monitoring-test-${{ inputs.name }}-reports\n        path: |\n          monitoring/uss_qualifier/output\n          monitoring/prober/output\n", "state": "active", "repository": "interuss/monitoring"}
{"mined_at": "2024-07-15T19:03:56.356476", "created_at": "2023-10-16T18:14:22+02:00", "updated_at": "2023-10-16T18:14:22+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "interuss/monitoring"}
{"mined_at": "2024-07-15T19:03:58.726123", "created_at": "2021-06-08T08:29:10+02:00", "updated_at": "2023-03-30T13:58:21+02:00", "name": "Lint and Test", "path": ".github/workflows/check-master.yml", "contents": "name: Lint and Test\n\non:\n  push:\n    branches: ['dev', 'feature/**', 'master', 'release/*']\n  pull_request:\n    branches: ['dev', 'feature/**', 'master', 'release/*']\n    types: [opened, reopened, synchronize]\n  release:\n    types: [edited, published]\n  workflow_dispatch:\n\ndefaults:\n  run:\n    shell: bash -l {0}\n\njobs:\n\n  lint:\n    name: Lint (Python ${{ matrix.python-version }} on ${{ matrix.os }})\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ ubuntu-latest ]\n        python-version: [ '3.10' ]\n\n    steps:\n      - name: Checkout project\n        uses: actions/checkout@v2\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install latest conda\n        run: |\n          conda update -n base -q conda\n\n      - name: Install dependencies\n        run: |\n          conda install python=${{ matrix.python-version }} pip --file requirements.txt --file requirements-extra.txt\n          pip install -r requirements-dev.txt\n          python setup.py develop --no-deps\n\n      - name: Conda environment information\n        id: conda_environment_information\n        run: |\n          conda info\n          conda config --show\n          conda list --show-channel-urls\n          echo \"exit_status=success\" >> \"$GITHUB_OUTPUT\"\n\n      - name: Check with pycodestyle\n        if: ${{ always() && steps.conda_environment_information.outputs.exit_status == 'success' }}\n        run: |\n          mkdir -p .artifacts/reports\n          make lint-pycodestyle > .artifacts/reports/pycodestyle.txt 2>&1\n\n      - name: Check with bandit\n        if: ${{ always() && steps.conda_environment_information.outputs.exit_status == 'success' }}\n        run: |\n          mkdir -p .artifacts/reports\n          make lint-bandit > .artifacts/reports/bandit.txt 2>&1\n\n      - name: Check with mypy\n        if: ${{ always() && steps.conda_environment_information.outputs.exit_status == 'success' }}\n        run: |\n          mkdir -p .artifacts/reports\n          make lint-mypy > .artifacts/reports/mypy.txt 2>&1\n\n      - name: Check with pylint\n        if: ${{ always() && steps.conda_environment_information.outputs.exit_status == 'success' }}\n        run: |\n          mkdir -p .artifacts/reports\n          make lint-pylint > .artifacts/reports/pylint.txt 2>&1\n\n      - name: Export reports\n        if: ${{ always() && steps.conda_environment_information.outputs.exit_status == 'success' }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: report-lint-${{ matrix.python-version }}-${{ matrix.os }}\n          path: .artifacts/reports\n          retention-days: 7\n\n  test:\n    name: Test (Python ${{ matrix.python-version }} on ${{ matrix.os }})\n    needs: [lint]\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ macos-latest, ubuntu-latest, windows-latest ]\n        python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]\n\n    steps:\n      # most of these steps might be anchored to corresponding ones in the \"lint_code\" job\n      # unfortunately, as of June 2021 - GitHub doesn't support anchors for action scripts\n\n      - name: Checkout project\n        uses: actions/checkout@v2\n\n      - name: Setup Miniconda\n        uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-update-conda: true\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install latest conda\n        run: |\n          conda update -n base -q conda\n\n      - name: Install dependencies\n        run: |\n          conda install python=${{ matrix.python-version }} pip --file requirements.txt --file requirements-extra.txt\n          pip install -r requirements-dev.txt\n          python setup.py develop --no-deps\n\n      - name: Conda environment information\n        run: |\n          conda info\n          conda config --show\n          conda list --show-channel-urls\n\n      - name: Run tests\n        run: |\n          mkdir -p .artifacts/reports\n          python scripts/refresh_coveragerc.py\n          python -X utf8 -m pytest tests/ --cov-report html:.artifacts/reports/coverage --html=.artifacts/reports/pytest.html --self-contained-html\n\n      - name: Export reports\n        if: ${{ always() }}\n        uses: actions/upload-artifact@v2\n        with:\n          name: report-test-${{ matrix.python-version }}-${{ matrix.os }}\n          path: .artifacts/reports\n          retention-days: 7\n", "state": "active", "repository": "anaconda/anaconda-client"}
{"mined_at": "2024-07-15T19:04:01.181271", "created_at": "2022-01-16T15:38:46+01:00", "updated_at": "2022-01-16T15:38:46+01:00", "name": "Python CI/CD tests", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint\n# across operating systems and select versions of Python\n# For more info see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python CI/CD tests\n\non:\n  push:\n    # branches: [master, develop]\n    paths-ignore:               # prevents workflow execution when only these types of files are modified\n      - '**.md'                 # wildcards prevent file in any repo dir from trigering workflow\n      # - '**.ya?ml'              # captures both .yml and .yaml\n      - 'LICENSE'\n      - '.gitignore'\n  pull_request:\n    branches: [master, develop]\n    types: [opened, reopened, ready_for_review]   # excludes syncronize to avoid redundant trigger from commits on PRs\n    paths-ignore:\n      - '**.md'\n      - '**.ya?ml'\n      - 'LICENSE'\n      - '.gitignore'\n  workflow_dispatch:            # also allow manual trigger, for testing purposes\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu-latest, windows-latest, macos-latest]\n        py-version: ['3.9', '3.10', '3.11']\n\n    steps:\n    - uses: actions/checkout@v3\n\n    # general Python setup\n    - name: Set up Python ${{ matrix.py-version }}\n      uses: actions/setup-python@v3\n      with:\n        python-version: ${{ matrix.py-version }}\n\n    - name: Update pip & install testing pkgs\n      run: |\n        python -VV\n        python -m pip install --upgrade pip setuptools wheel\n        pip install pytest pytest-cov flake8\n\n    # install package & dependencies\n    - name: Install package and dependencies\n      run: |\n        pip install .\n\n    # linting & pytest\n    - name: Lint with flake8\n      run: |\n        # stop the build if there are Python syntax errors or undefined names\n        flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n\n    - name: Test with pytest\n      run: |\n        python fedelemflowlist/flowlist.py\n        pytest --doctest-modules\n", "state": "active", "repository": "USEPA/fedelemflowlist"}
{"mined_at": "2024-07-15T19:04:03.434047", "created_at": "2024-06-22T01:48:33+02:00", "updated_at": "2024-06-22T01:48:33+02:00", "name": "AIRM Linter", "path": ".github/workflows/airm-lint.yml", "contents": null, "state": "active", "repository": "intel/models"}
{"mined_at": "2024-07-15T19:04:05.687334", "created_at": "2022-09-08T16:32:46+02:00", "updated_at": "2023-01-17T08:40:12+01:00", "name": "Build/Test and Upload to PyPi", "path": ".github/workflows/build-push.yml", "contents": "name: Build/Test and Upload to PyPi\n\non:\n  pull_request:\n    branches:\n     - master\n  push:\n    tags:\n      - '*'\n    branches:\n      - master\n\nenv:\n  CIBW_SKIP: cp36*\n\njobs:\n  build_wheels:\n    name: Build wheels (${{ matrix.os }})\n    if: contains(github.event.pull_request.labels.*.name, 'test-build') || github.event_name == 'push' && endsWith(github.event.ref, 'scylla')\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-20.04, windows-2019, macos-11]\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Build wheels\n        uses: pypa/cibuildwheel@v2.16.5\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: ./wheelhouse/*.whl\n\n  build_sdist:\n    name: Build source distribution\n    if: contains(github.event.pull_request.labels.*.name, 'test-build') || github.event_name == 'push' && endsWith(github.event.ref, 'scylla')\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Build sdist\n        run: |\n          pipx run build --sdist\n\n      - uses: actions/upload-artifact@v3\n        with:\n          path: dist/*.tar.gz\n\n  integration_test_scylla:\n    name: Integration Tests (Scylla)\n    if: \"!contains(github.event.pull_request.labels.*.name, 'disable-integration-test')\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Start Scylla\n        run: |\n          export DOCKER_ID=$(docker run -d scylladb/scylla:latest --cluster-name test )\n          export CQL_TEST_HOST=$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' ${DOCKER_ID})\n          while ! nc -z ${CQL_TEST_HOST} 9042; do   \n            sleep 0.1 # wait for 1/10 of the second before check again\n          done\n\n          echo \"CQL_TEST_HOST=${CQL_TEST_HOST}\" >> $GITHUB_ENV\n\n      - name: pytest\n        run: |\n          pip install -r ./pylib/requirements.txt\n          pytest ./cqlshlib/test\n\n  integration_test_scylla_enterprise:\n    name: Integration Tests (Scylla Enterprise)\n    if: \"!contains(github.event.pull_request.labels.*.name, 'disable-integration-test')\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Start Scylla\n        run: |\n          export DOCKER_ID=$(docker run -d scylladb/scylla-enterprise:latest --cluster-name test )\n          export CQL_TEST_HOST=$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' ${DOCKER_ID})\n          while ! nc -z ${CQL_TEST_HOST} 9042; do   \n            sleep 0.1 # wait for 1/10 of the second before check again\n          done\n\n          echo \"CQL_TEST_HOST=${CQL_TEST_HOST}\" >> $GITHUB_ENV\n\n      - name: pytest\n        run: |\n          pip install -r ./pylib/requirements.txt\n          pytest ./cqlshlib/test\n\n  integration_test_scylla_cloud_bundle:\n    name: Integration Tests (Scylla Cloud Bundle)\n    if: \"!contains(github.event.pull_request.labels.*.name, 'disable-integration-test')\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Start Scylla cloud bundle setup with CCM\n        run: |\n          # install python2 is needed for scylla < 5.3, cause it bundle with old cqlsh\n          sudo apt update -y\n          sudo apt install -y python2\n          \n          python3 -m pip install https://github.com/scylladb/scylla-ccm/archive/master.zip\n          \n          ccm create test_sni -i 127.0.1. -n 1 --scylla --version release:5.2\n          ccm start --sni-proxy --sni-port=8443\n\n          export CQL_TEST_BUNDLE_PATH=$(realpath ~/.ccm/test_sni/config_data.yaml)\n          \n          echo \"CQL_TEST_BUNDLE_PATH=${CQL_TEST_BUNDLE_PATH}\" >> $GITHUB_ENV\n\n      - name: pytest\n        run: |\n          pip install -r ./pylib/requirements.txt\n          pytest ./cqlshlib/test\n\n  integration_test_cassandra:\n    name: Integration Tests (Cassandra)\n    if: \"!contains(github.event.pull_request.labels.*.name, 'disable-integration-test')\"\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Start Scylla\n        run: |\n          export DOCKER_ID=$(docker run -d -e CASSANDRA_CLUSTER_NAME=test cassandra:4.1 )\n          export CQL_TEST_HOST=$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' ${DOCKER_ID})\n          while ! nc -z ${CQL_TEST_HOST} 9042; do\n                  sleep 0.1 # wait for 1/10 of the second before check again\n          done\n\n          echo \"CQL_TEST_HOST=${CQL_TEST_HOST}\" >> $GITHUB_ENV\n\n      - name: pytest\n        run: |\n          pip install -r ./pylib/requirements.txt\n          pytest ./cqlshlib/test\n\n  docker:\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Set up QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Login to Docker Hub\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_HUB_USERNAME }}\n          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n\n      - name: determine docker tag base on tag\n        if: endsWith(github.event.ref, '-scylla')\n        shell: bash\n        run: |\n          split=(${GITHUB_REF_NAME//-/ })\n          DOCKER_TAG=${split[0]}\n          echo DOCKER_TAG=$DOCKER_TAG >> $GITHUB_ENV\n\n      - name: Build and push release\n        if: endsWith(github.event.ref, '-scylla')\n        uses: docker/build-push-action@v4\n        with:\n          context: .\n          file: ./Dockerfile\n          platforms: linux/amd64,linux/arm64\n          push: true\n          tags: |\n            scylladb/scylla-cqlsh:${{ env.DOCKER_TAG }}\n            scylladb/scylla-cqlsh:latest\n\n      - name: Build and push master\n        uses: docker/build-push-action@v4\n        if: endsWith(github.event.ref, 'master')\n        with:\n          context: .\n          platforms: linux/amd64,linux/arm64\n          file: ./Dockerfile\n          push: true\n          tags: |\n            scylladb/scylla-cqlsh:master\n\n  upload_pypi:\n    needs: [build_wheels, build_sdist, integration_test_scylla, integration_test_cassandra]\n    runs-on: ubuntu-latest\n    # upload to PyPI on every tag starting with 'v'\n    if: github.event_name == 'push' && endsWith(github.event.ref, 'scylla')\n    # alternatively, to publish when a GitHub Release is created, use the following rule:\n    # if: github.event_name == 'release' && github.event.action == 'published'\n    steps:\n      - uses: actions/download-artifact@v2\n        with:\n          name: artifact\n          path: dist\n\n      - uses: pypa/gh-action-pypi-publish@release/v1\n        with:\n          user: __token__\n          password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "scylladb/scylla-cqlsh"}
{"mined_at": "2024-07-15T19:04:06.815883", "created_at": "2023-05-11T11:34:50+02:00", "updated_at": "2023-05-11T11:34:50+02:00", "name": "Update Docker Hub Description", "path": ".github/workflows/dockerhub-description.yml", "contents": "name: Update Docker Hub Description\non:\n  push:\n    branches:\n      - master\n    paths:\n      - README.md\n      - .github/workflows/dockerhub-description.yml\njobs:\n  dockerHubDescription:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n\n    - name: Docker Hub Description\n      uses: peter-evans/dockerhub-description@v3\n      with:\n        username: ${{ secrets.DOCKER_HUB_USERNAME }}\n        password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}\n        repository: scylladb/scylla-cqlsh\n        short-description: ${{ github.event.repository.description }}\n        enable-url-completion: true", "state": "active", "repository": "scylladb/scylla-cqlsh"}
{"mined_at": "2024-07-15T19:04:09.066989", "created_at": "2020-10-01T21:05:37+02:00", "updated_at": "2020-10-01T21:05:37+02:00", "name": "CodeQL", "path": ".github/workflows/codeql-analysis.yml", "contents": "name: \"CodeQL\"\n\non:\n  push:\n    branches: [master, devel]\n  pull_request:\n    # The branches below must be a subset of the branches above\n    branches: [master, devel]\n  schedule:\n    - cron: \"0 17 * * 2\"\n\njobs:\n  analyze:\n    name: Analyze\n    runs-on: ubuntu-latest\n\n    strategy:\n      fail-fast: false\n      matrix:\n        # Override automatic language detection by changing the below list\n        # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n        language: [\"python\", \"javascript\"]\n        # Learn more...\n        # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          # We must fetch at least the immediate parents so that if this is\n          # a pull request then we can checkout the head.\n          fetch-depth: 2\n\n      # Initializes the CodeQL tools for scanning.\n      - name: Initialize CodeQL\n        uses: github/codeql-action/init@v2\n        with:\n          languages: ${{ matrix.language }}\n\n      # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\n      # If this step fails, then you should remove it and run the build manually (see below)\n      - name: Autobuild\n        uses: github/codeql-action/autobuild@v2\n\n      - name: Perform CodeQL Analysis\n        uses: github/codeql-action/analyze@v2\n", "state": "active", "repository": "CSCfi/swift-browser-ui"}
{"mined_at": "2024-07-15T19:04:10.177118", "created_at": "2022-09-19T12:38:48+02:00", "updated_at": "2023-03-31T13:16:34+02:00", "name": "Dependabot auto-merge", "path": ".github/workflows/dependency-auto-merge.yml", "contents": "name: Dependabot auto-merge\non: pull_request\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  dependabot:\n    runs-on: ubuntu-latest\n    if: ${{ github.actor == 'dependabot[bot]' }}\n    steps:\n      - name: Dependabot metadata\n        id: metadata\n        uses: dependabot/fetch-metadata@v2.1.0\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: Wait other jobs are passed or failed\n        if: ${{ steps.metadata.outputs.package-ecosystem == 'pip' || steps.metadata.outputs.package-ecosystem == 'github_actions' }}\n        uses: kachick/wait-other-jobs@v2\n        timeout-minutes: 30\n        with:\n          github-token: \"${{ secrets.GITHUB_TOKEN }}\"\n      - name: Enable auto-merge for Dependabot PRs\n        if: ${{ steps.metadata.outputs.package-ecosystem == 'pip' || steps.metadata.outputs.package-ecosystem == 'github_actions' }}\n        run: gh pr review --approve \"$PR_URL\" && gh pr merge --auto --merge \"$PR_URL\"\n        env:\n          PR_URL: ${{github.event.pull_request.html_url}}\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n", "state": "disabled_manually", "repository": "CSCfi/swift-browser-ui"}
{"mined_at": "2024-07-15T19:04:11.303356", "created_at": "2022-09-19T12:38:48+02:00", "updated_at": "2023-03-31T11:18:46+02:00", "name": "Dependency Review", "path": ".github/workflows/dependency-review.yml", "contents": "# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\n# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement\nname: \"Dependency Review\"\non: [pull_request]\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: \"Checkout Repository\"\n        uses: actions/checkout@v4\n      - name: \"Dependency Review\"\n        uses: actions/dependency-review-action@v4\n        with:\n          fail-on-severity: moderate\n", "state": "active", "repository": "CSCfi/swift-browser-ui"}
{"mined_at": "2024-07-15T19:04:12.319065", "created_at": "2020-07-02T20:23:35+02:00", "updated_at": "2020-07-02T20:23:35+02:00", "name": "Documentation check", "path": ".github/workflows/docs.yml", "contents": "name: Documentation check\n\non:\n  pull_request:\n\njobs:\n  style_check:\n    strategy:\n      max-parallel: 4\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\"]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox tox-gh-actions\n      - name: Test documentation\n        run: |\n          tox -e docs\n", "state": "active", "repository": "CSCfi/swift-browser-ui"}
{"mined_at": "2024-07-15T19:04:13.470195", "created_at": "2021-08-12T13:44:38+02:00", "updated_at": "2022-11-10T14:46:39+01:00", "name": "End-to-end tests", "path": ".github/workflows/e2etests.yml", "contents": "name: End-to-end tests\non:\n  pull_request:\n\njobs:\n  cypress-e2e-headless:\n    name: Cypress e2e\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node: [\"18\"]\n        browser: [\"firefox\", \"chrome\"]\n\n    # https://docs.github.com/en/actions/using-containerized-services/about-service-containers\n    services:\n      redis:\n        image: redis:alpine\n        ports:\n          - 6379:6379\n      postgres:\n        image: postgres:alpine\n        env:\n          POSTGRES_PASSWORD: pass\n        ports:\n          - 5432:5432\n        volumes:\n          - ${{ github.workspace }}/.github/config/init-project-db.sh:/docker-entrypoint-initdb.d/init-user-db.sh\n      keystone-swift:\n        image: ghcr.io/cscfi/docker-keystone-swift:main\n        ports:\n          - 5000:5000\n          - 8080:8080\n        options: >-\n          --name keystone-swift\n          --init\n    steps:\n      - name: fix-permissions\n        run: sudo chown -R $USER:$USER ${{ github.workspace }}\n      - uses: actions/checkout@v4\n      - name: Populate swift\n        run: |\n          docker exec keystone-swift generate_data.py --keystone --username swift --password veryfast --containers 15\n          docker exec keystone-swift generate_data.py --keystone --username swift --password veryfast --project \"swift-project\"\n      - uses: pnpm/action-setup@v2\n        with:\n          version: 8\n      - name: Use Node.js ${{ matrix.node }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node }}\n          cache: \"pnpm\"\n          cache-dependency-path: swift_browser_ui_frontend/pnpm-lock.yaml\n      - name: Build Frontend\n        run: |\n          pushd swift_browser_ui_frontend\n          pnpm install\n          pnpm run build-docker\n      - name: Setup and Run backend\n        run: |\n          pip install -r requirements.txt\n          pip install honcho\n          honcho start -f ${{ github.workspace }}/.github/config/Procfile --env ${{ github.workspace }}/.github/config/.env.test &\n      - uses: cypress-io/github-action@v6\n        with:\n          project: ./swift_browser_ui_frontend\n          install: false\n          browser: ${{ matrix.browser }}\n          env: port=8000\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: cypress-screenshots\n          path: swift_browser_ui_frontend/cypress/screenshots\n          retention-days: 5\n      - uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: cypress-videos\n          path: swift_browser_ui_frontend/cypress/videos\n          retention-days: 5\n", "state": "disabled_manually", "repository": "CSCfi/swift-browser-ui"}
{"mined_at": "2024-07-15T19:04:14.698529", "created_at": "2020-07-02T20:23:36+02:00", "updated_at": "2020-07-02T20:23:36+02:00", "name": "Javascript ESLint check", "path": ".github/workflows/eslint.yml", "contents": "name: Javascript ESLint check\n\non:\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node: [\"18\"]\n    name: Node ${{ matrix.node }} eslint check\n    steps:\n      - uses: actions/checkout@v4\n      - uses: pnpm/action-setup@v2\n        with:\n          version: 8\n      - name: Setup node\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node }}\n          cache: \"pnpm\"\n          cache-dependency-path: swift_browser_ui_frontend/pnpm-lock.yaml\n      - name: Install dependencies\n        run: |\n          pushd swift_browser_ui_frontend\n          pnpm install\n      - name: Run eslint\n        run: |\n          pushd swift_browser_ui_frontend\n          pnpm run lint\n", "state": "active", "repository": "CSCfi/swift-browser-ui"}
{"mined_at": "2024-07-15T19:04:15.806931", "created_at": "2023-02-24T14:32:17+01:00", "updated_at": "2023-03-31T11:18:46+02:00", "name": "pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": "name: pre-commit\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  pre-commit:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n    - uses: actions/setup-python@v5\n    - run: pip install mypy .[dev]\n    - uses: pre-commit/action@v3.0.1\n", "state": "active", "repository": "CSCfi/swift-browser-ui"}
{"mined_at": "2024-07-15T19:04:16.937948", "created_at": "2020-07-08T07:12:53+02:00", "updated_at": "2022-11-16T08:25:05+01:00", "name": "Publish Docker image", "path": ".github/workflows/publish.yml", "contents": "name: Publish Docker image\n\non:\n  release:\n    types: [published]\n  push:\n    branches: [master, devel]\n    tags:\n      - \"v*\"\n\njobs:\n  push_to_registry:\n    name: Push swift ui Docker image to Docker Hub\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the repo\n        uses: actions/checkout@v4\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Login to DockerHub\n        if: github.event_name != 'pull_request'\n        uses: docker/login-action@v2\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}\n          password: ${{ secrets.DOCKER_PASSWORD }}\n\n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker/metadata-action@v5\n        with:\n          images: cscfi/swift-ui\n          tags: |\n            type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}\n            type=raw,value=stage,enable=${{ github.ref == format('refs/heads/{0}', 'devel') }}\n            type=ref,event=tag\n\n      - name: Build and push\n        uses: docker/build-push-action@v5\n        with:\n          context: .\n          file: ./dockerfiles/Dockerfile-ui\n          push: ${{ github.event_name != 'pull_request' }}\n          tags: ${{ steps.meta.outputs.tags }}\n          cache-from: type=registry,ref=cscfi/swift-ui:latest\n          cache-to: type=inline\n          labels: |\n            org.opencontainers.image.source=${{ github.event.repository.clone_url }}\n            org.opencontainers.image.created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')\n            org.opencontainers.image.revision=${{ github.sha }}\n", "state": "active", "repository": "CSCfi/swift-browser-ui"}
{"mined_at": "2024-07-15T19:04:18.179986", "created_at": "2020-07-02T21:19:28+02:00", "updated_at": "2020-07-02T21:19:28+02:00", "name": "Spelling Errors Check", "path": ".github/workflows/spellcheck.yml", "contents": "name: Spelling Errors Check\n\non:\n  pull_request:\n\njobs:\n  build:\n    strategy:\n      max-parallel: 4\n      matrix:\n        os: [ubuntu-latest]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: rojopolis/spellcheck-github-actions@0.38.0\n        name: Spellcheck\n        with:\n          config_path: .pyspelling.yml\n", "state": "active", "repository": "CSCfi/swift-browser-ui"}
{"mined_at": "2024-07-15T19:04:19.294748", "created_at": "2020-07-02T20:23:36+02:00", "updated_at": "2020-07-02T20:23:36+02:00", "name": "Python style check", "path": ".github/workflows/style.yml", "contents": "name: Python style check\n\non:\n  pull_request:\n\njobs:\n  style_check:\n    strategy:\n      max-parallel: 4\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\"]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Setup node\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node }}\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox tox-gh-actions\n      - name: Test flake8 syntax with tox\n        run: tox -e flake8\n      - name: Test mypy typing with tox\n        run: tox -e mypy\n      - name: bandit static check\n        run: tox -e bandit\n      - name: black style check\n        run: tox -e black\n", "state": "active", "repository": "CSCfi/swift-browser-ui"}
{"mined_at": "2024-07-15T19:04:20.535202", "created_at": "2020-07-02T20:23:37+02:00", "updated_at": "2020-07-02T20:23:37+02:00", "name": "Python Unit Tests", "path": ".github/workflows/unit.yml", "contents": "name: Python Unit Tests\n\non:\n  pull_request:\n\njobs:\n  unit_test:\n    strategy:\n      max-parallel: 4\n      matrix:\n        os: [ubuntu-latest]\n        python-version: [\"3.12\"]\n        node: [\"18\"]\n\n    runs-on: ${{ matrix.os }}\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v5\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Install dependencies\n        run: |\n          python -m pip install --upgrade pip\n          pip install tox tox-gh-actions coverage\n      - uses: pnpm/action-setup@v2\n        with:\n          version: 8\n      - name: Use Node.js ${{ matrix.node }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node }}\n          cache: \"pnpm\"\n          cache-dependency-path: swift_browser_ui_frontend/pnpm-lock.yaml\n      - name: Install frontend\n        run: |\n          pushd swift_browser_ui_frontend\n          pnpm install --prod\n          pnpm run docker-build\n      - name: Run unit tests\n        run: |\n          tox -e pytest\n          coverage lcov -o lcov.info\n      - name: Send coverage to coveralls\n        uses: coverallsapp/github-action@master\n        with:\n          github-token: ${{ secrets.github_token }}\n          path-to-lcov: lcov.info\n", "state": "active", "repository": "CSCfi/swift-browser-ui"}
{"mined_at": "2024-07-15T19:04:21.564822", "created_at": "2022-08-29T10:02:10+02:00", "updated_at": "2023-03-31T11:18:46+02:00", "name": "Vue.js Unit Tests", "path": ".github/workflows/vueunit.yml", "contents": "name: Vue.js Unit Tests\n\non:\n  pull_request:\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node: [\"18\"]\n    name: Jest unit tests\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node }}\n          cache: \"pnpm\"\n          cache-dependency-path: swift_browser_ui_frontend/pnpm-lock.yaml\n      - uses: pnpm/action-setup@v2\n        with:\n          version: 8\n      - name: Install dependencies and run tests\n        run: |\n          pushd swift_browser_ui_frontend\n          pnpm install\n          pnpm run test\n", "state": "disabled_manually", "repository": "CSCfi/swift-browser-ui"}
{"mined_at": "2024-07-15T19:04:23.761976", "created_at": "2020-01-09T11:05:21+01:00", "updated_at": "2020-01-09T11:05:21+01:00", "name": "Build on push", "path": "", "contents": null, "state": "active", "repository": "Chinmayamission/CFF"}
{"mined_at": "2024-07-15T19:04:24.918981", "created_at": "2020-11-08T22:12:57+01:00", "updated_at": "2020-11-08T22:12:57+01:00", "name": "Test", "path": ".github/workflows/ci.yml", "contents": "name: Test\non:\n  push:\n    branches: [master]\n  pull_request:\n  create:\n    tags:\n      - 'v*'\n\njobs:\n  test_frontend:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v1\n        with:\n          node-version: 14.x\n      - name: Use cached node_modules\n        uses: actions/cache@v2\n        with:\n          path: node_modules\n          key: nodeModules-${{ hashFiles('**/package-lock.json') }}\n          restore-keys: |\n            nodeModules-\n      - name: Install dependencies\n        run: npm ci\n      - run: npm test\n      - run: npm run build\n      - run: npm run build-sheets\n        env:\n          NODE_OPTIONS: --max_old_space_size=8192\n  test_docs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v1\n        with:\n          node-version: 14.x\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n      - uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            pip-\n      - run: pip install -r requirements-docs.txt\n      - run: mkdocs build --clean\n  test_backend:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v1\n        with:\n          node-version: 14.x\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n      - uses: actions/cache@v2\n        with:\n          path: ~/.cache/pipenv\n          key: pip-${{ hashFiles('**/Pipfile.lock') }}\n          restore-keys: |\n            pip-\n      - name: Start MongoDB\n        uses: supercharge/mongodb-github-action@1.8.0\n        with:\n          mongodb-version: 3.6\n          mongodb-port: 10255\n      - run: |\n          pip install pipenv\n          pipenv install\n          npm run install-deps\n          npm test\n        working-directory: lambda\n      - run: pip install -r requirements.txt\n        working-directory: lambda\n  deploy_dev:\n    runs-on: ubuntu-latest\n    needs: [test_frontend, test_backend]\n    if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v1\n        with:\n          node-version: 14.x\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n      - uses: actions/cache@v2\n        with:\n          path: node_modules\n          key: nodeModules-${{ hashFiles('**/package-lock.json') }}\n          restore-keys: |\n            nodeModules-\n      - uses: actions/cache@v2\n        with:\n          path: ~/.cache/pipenv\n          key: pip-${{ hashFiles('**/Pipfile.lock') }}\n          restore-keys: |\n            pip-\n      - run: npm ci && pip install pipenv && pipenv install\n      - run: pipenv install\n        working-directory: lambda\n      - run: npm run deploy\n        working-directory: lambda\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: us-east-1\n      \n      - run: npm run deploy && npm run deploy-sheets\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: us-east-1\n          NODE_OPTIONS: --max_old_space_size=8192\n \n  deploy_docs:\n    runs-on: ubuntu-latest\n    needs: [test_docs]\n    if: github.event_name == 'push' && github.ref == 'refs/heads/master'\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v1\n        with:\n          node-version: 14.x\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n      - uses: actions/cache@v2\n        with:\n          path: ~/.cache/pip\n          key: pip-${{ hashFiles('**/requirements.txt') }}\n          restore-keys: |\n            pip-\n      - run: pip install -r requirements-docs.txt\n      - run: npm run deploy-docs\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: us-east-1\n", "state": "active", "repository": "Chinmayamission/CFF"}
{"mined_at": "2024-07-15T19:04:26.167259", "created_at": "2022-03-28T19:58:57+02:00", "updated_at": "2022-03-28T19:58:57+02:00", "name": "Test", "path": ".github/workflows/release.yml", "contents": "name: Test\non:\n  release:\n    types: [published]\n\njobs:\n  deploy_prod:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: actions/setup-node@v1\n        with:\n          node-version: 14.x\n      - name: Set up Python 3.9\n        uses: actions/setup-python@v1\n        with:\n          python-version: 3.9\n      - uses: actions/cache@v2\n        with:\n          path: node_modules\n          key: nodeModules-${{ hashFiles('**/package-lock.json') }}\n          restore-keys: |\n            nodeModules-\n      - uses: actions/cache@v2\n        with:\n          path: ~/.cache/pipenv\n          key: pip-${{ hashFiles('**/Pipfile.lock') }}\n          restore-keys: |\n            pip-\n      - run: npm ci && pip install pipenv && pipenv install\n      - run: pipenv install\n        working-directory: lambda\n      - run: npm run deploy-prod\n        working-directory: lambda\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: us-east-1\n      \n      - run: npm run deploy-prod && npm run deploy-prod-sheets\n        env:\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_DEFAULT_REGION: us-east-1\n          NODE_OPTIONS: --max_old_space_size=8192\n        \n", "state": "active", "repository": "Chinmayamission/CFF"}
{"mined_at": "2024-07-15T19:04:28.318261", "created_at": "2021-02-09T12:57:00+01:00", "updated_at": "2021-05-12T11:36:18+02:00", "name": "ci", "path": ".github/workflows/ci.yml", "contents": "name: ci\non: [pull_request]\n\njobs:\n  # pylint:\n  #   runs-on: ubuntu-latest\n  #   if: \"!contains(github.event.head_commit.message, '[ci skip]')\"\n  #   env:\n  #     RUNNER_ALLOW_RUNASROOT: true\n  #   steps:\n  #     - uses: actions/checkout@v2\n  #     - name: Fetch master\n  #       run: git fetch origin master:refs/remotes/origin/master\n  #     - name: Install pylint\n  #       run: pip3 install pylint\n  #     - name: List changed files\n  #       run: |\n  #         echo `git diff origin/master HEAD --name-only | grep .py` >> changed.txt\n  #     - name: Check PEP8\n  #       run: |\n  #         while read file; do\n  #            echo $file\n  #            pylint $file\n  #         done < changed.txt\n#\n format_python_code:\n   runs-on: ubuntu-latest\n   steps:\n     - uses: actions/checkout@v2\n       with:\n         submodules: 'recursive'\n         ref: ${{ github.ref }}\n     - name: Blacken Python code\n       uses: jpetrucciani/black-check@master\n       with:\n         path: '.'\n         black_flags: '--safe --verbose --diff'\n build:\n   #needs: pylint\n   runs-on: ubuntu-latest\n   if: \"!contains(github.event.head_commit.message, '[ci skip]')\"\n   env:\n     RUNNER_ALLOW_RUNASROOT: true\n     COCONNECT_DB_HOST: ${{ secrets.COCONNECT_DB_HOST }}\n     COCONNECT_DB_PORT: ${{ secrets.COCONNECT_DB_PORT }}\n   steps:\n     - uses: actions/checkout@v2\n       with:\n         submodules: 'recursive'\n     - name: Make envfile\n       run: |\n         touch .env\n\n         echo COCONNECT_DB_ENGINE=django.db.backends.postgresql >> .env\n         echo COCONNECT_DB_HOST=${{ secrets.COCONNECT_DB_HOST }} >> .env\n         echo COCONNECT_DB_NAME=${{ secrets.COCONNECT_DB_DB }} >> .env\n         echo COCONNECT_DB_PORT=${{ secrets.COCONNECT_DB_PORT }} >> .env\n         echo COCONNECT_DB_PASSWORD=${{ secrets.COCONNECT_DB_PASSWORD }} >> .env\n         echo COCONNECT_DB_USER=${{ secrets.COCONNECT_DB_USER }} >> .env\n         echo \"SECRET_KEY=${{ secrets.SECRET_KEY }}\" >> .env\n         echo DEBUG=True >> .env\n         echo ALLOWED_HOSTS=['localhost'] >> .env\n\n\n     - name: Build the docker image\n       run: docker build -f app/Dockerfile.deploy -t ccom-build:latest .\n     - name: Run the docker image\n       run: |\n         #startup the stack\n         docker run -it --env-file .env -p 8080:8000 -d ccom-build:latest\n         #give it 30s to start properly\n         sleep 30s\n         #get container ID\n         containerid=$(docker ps | awk 'NR==2' | awk '{print $1;}')\n         echo $containerid\n         #check the logs for errors\n         if docker logs $containerid | grep -i -q ERROR  ; then\n             #print the errors before causing a fail\n             docker logs $containerid | grep -i ERROR\n             echo \"Errors found\"\n             exit 1\n         else\n            echo \"No errors found!\"\n         fi\n         echo \"ended if\"\n         #put the logs into a file\n         docker logs $containerid >> logs.out\n         #shutdown the container\n         docker stop $containerid\n     #save the logs so they can be further checked\n     - uses: actions/upload-artifact@v2\n       with:\n         name: my-artifact\n         path: logs.out\n         retention-days: 1\n\n     - name: Install Node.js\n       uses: actions/setup-node@v3\n       with:\n        node-version: '20'\n\n     - name: Install dependencies and build Next.js app\n       run: |\n          npm install\n          npm run build\n       working-directory: app/next-client-app\n", "state": "active", "repository": "Health-Informatics-UoN/CaRROT-Mapper"}
{"mined_at": "2024-07-15T19:04:29.452937", "created_at": "2024-02-28T17:04:10+01:00", "updated_at": "2024-03-20T15:42:05+01:00", "name": "test", "path": ".github/workflows/test.yml", "contents": "name: test\n\non: [pull_request]\n\njobs:\n  test-shared:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.11', '3.12']\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        working-directory: app/shared\n        run: poetry install --no-interaction --no-root\n\n      - name: Test with pytest Poetry\n        working-directory: app/shared\n        run: |\n          poetry run pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=sources test | tee pytest-coverage.txt\n\n      - name: Pytest coverage comment\n        uses: MishaKav/pytest-coverage-comment@main\n        with:\n          pytest-coverage-path: app/shared/pytest-coverage.txt\n          junitxml-path: app/shared/pytest.xml\n\n  test-workers:\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        python-version: ['3.11', '3.12']\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Set up Python ${{ matrix.python-version }}\n        uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n\n      - name: Install Poetry\n        uses: snok/install-poetry@v1\n\n      - name: Load cached venv\n        id: cached-poetry-dependencies\n        uses: actions/cache@v3\n        with:\n          path: .venv\n          key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n      - name: Install dependencies\n        if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n        working-directory: app/workers\n        run: poetry install --no-interaction --no-root\n\n      - name: Test with pytest Poetry\n        working-directory: app/workers\n        run: |\n          poetry run pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=sources test | tee pytest-coverage.txt\n\n      - name: Pytest coverage comment\n        uses: MishaKav/pytest-coverage-comment@main\n        with:\n          pytest-coverage-path: app/workers/pytest-coverage.txt\n          junitxml-path: app/workers/pytest.xml\n\n  test-django:\n      runs-on: ubuntu-latest\n      strategy:\n        fail-fast: false\n        matrix:\n          python-version: ['3.11', '3.12']\n          django-version: [ '4.2', '5']\n\n      services:\n        postgres:\n          image: postgres\n          env:\n            POSTGRES_PASSWORD: postgres\n            POSTGRES_DB: test\n          options: >-\n            --health-cmd pg_isready\n            --health-interval 10s\n            --health-timeout 5s\n            --health-retries 5\n          ports:\n            - 5432:5432\n\n      steps:\n        - uses: actions/checkout@v3\n\n        - name: Set up Python ${{ matrix.python-version }}\n          uses: actions/setup-python@v4\n          with:\n            python-version: ${{ matrix.python-version }}\n\n        - name: Install Poetry\n          uses: snok/install-poetry@v1\n\n        - name: Load cached venv\n          id: cached-poetry-dependencies\n          uses: actions/cache@v3\n          with:\n            path: .venv\n            key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}\n\n        - name: Install dependencies\n          if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'\n          working-directory: app/api\n          run: poetry install --no-interaction --no-root\n\n        - name: Install django ${{ matrix.django-version }}\n          working-directory: app/api\n          run: |\n            poetry run python -m venv .venv\n            source .venv/bin/activate\n            pip install \"Django==${{ matrix.django-version }}\"\n\n        - name: Test with Django\n          env:\n            SECRET_KEY: 'test'\n            ALLOWED_HOSTS: \"['localhost']\"\n            COCONNECT_DB_ENGINE: \"django.db.backends.postgresql\"\n            COCONNECT_DB_HOST: \"localhost\"\n            COCONNECT_DB_NAME: \"test\"\n            COCONNECT_DB_PASSWORD: \"postgres\"\n            COCONNECT_DB_PORT: \"5432\"\n            COCONNECT_DB_USER: \"postgres\"\n          working-directory: app/api\n          run: |\n            poetry run pytest\n", "state": "active", "repository": "Health-Informatics-UoN/CaRROT-Mapper"}
{"mined_at": "2024-07-15T19:04:30.674623", "created_at": "2024-02-28T17:04:10+01:00", "updated_at": "2024-03-20T15:42:05+01:00", "name": "Labeler", "path": ".github/workflows/label.yml", "contents": "# This workflow will triage pull requests and apply a label based on the\n# paths that are modified in the pull request.\n#\n# To use this workflow, you will need to set up a .github/labeler.yml\n# file with configuration.  For more information, see:\n# https://github.com/actions/labeler\n\nname: Labeler\non: [pull_request]\n\njobs:\n  label:\n\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write\n\n    steps:\n    - uses: actions/labeler@v4\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n", "state": "active", "repository": "Health-Informatics-UoN/CaRROT-Mapper"}
{"mined_at": "2024-07-15T19:04:31.800032", "created_at": "2024-03-05T13:13:05+01:00", "updated_at": "2024-06-10T11:34:13+02:00", "name": "Build and Deploy to Dev and Test", "path": ".github/workflows/deploy.yml", "contents": "name: Build and Deploy to Dev and Test\n\non:\n  push:\n    branches:\n      - master\n  workflow_dispatch:\n\nenv:\n  AZURE_FUNCTIONAPP_PACKAGE_PATH: './app/workers'\n  AZURE_WEBAPP_PACKAGE_PATH: './app/next-client-app'\n  PYTHON_VERSION: '3.11'\n  NODE_VERSION: 20\n\njobs:\n  build-and-publish-workers:\n    runs-on: ubuntu-latest\n    steps:\n    - name: 'Checkout GitHub Action'\n      uses: actions/checkout@v4\n\n    - name: Setup Python ${{ env.PYTHON_VERSION }} Environment\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n\n    - name: 'Install Poetry'\n      uses: snok/install-poetry@v1\n\n    - name: 'Resolve Project Dependencies Using Poetry'\n      run: |\n        pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'\n        poetry config virtualenvs.create false\n        poetry export --format requirements.txt --output requirements.txt --without-hashes\n        popd\n      shell: bash\n\n    - name: 'Install Dependencies Using Pip'\n      shell: bash\n      run: |\n        pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt --target=\".python_packages/lib/site-packages\"\n        popd\n\n    - name: Upload artifact for deployment job\n      uses: actions/upload-artifact@v4\n      with:\n        name: functionsapp\n        path: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}\n\n  build-and-publish-web:\n    runs-on: 'ubuntu-latest'\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Log in to registry\n        uses: docker/login-action@v3\n        with:\n          registry: ccomreg.azurecr.io\n          username: ${{ secrets.REGISTRY_USERNAME_DEV }}\n          password: ${{ secrets.REGISTRY_PASSWORD_DEV }}\n\n      - name: Build and push container image to registry\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          tags: ccomreg.azurecr.io/${{ secrets.REGISTRY_USERNAME_DEV }}/latest:${{ github.sha }}\n          file: ./app/Dockerfile.deploy\n\n  build-and-publish-next-app:\n    runs-on: ubuntu-latest\n    environment: dev\n    env:\n      BACKEND_ORIGIN: ${{ secrets.BACKEND_ORIGIN }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Use Node.js ${{ env.NODE_VERSION }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n\n      - name: npm install and build\n        run: |\n          npm i --workspaces=false\n        working-directory: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}\n\n      - name: Cache .next/cache\n        uses: actions/cache@v4\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH  }}/.next/cache\n          key: nextjs | $(Agent.OS) | ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/package-lock.json\n\n      - name: Build\n        run: npm run build --workspaces=false\n        working-directory: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}\n\n      - name: Copy Static Assets\n        run: |\n          cp -r .next/static .next/standalone/.next/\n          cp -r public .next/standalone/\n        working-directory: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}\n\n      - name: Publish webapp artifact\n        uses: actions/upload-artifact@v4\n        with:\n          path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/.next/standalone\n          name: frontendwebapp\n\n  # Deploy Workers Dev\n  deploy-workers-dev:\n    runs-on: ubuntu-latest\n    needs: [build-and-publish-workers, build-and-publish-web]\n    environment: dev\n\n    steps:\n      - name: Download artifact from build job\n        uses: actions/download-artifact@v4\n        with:\n          path: functionsapp\n          name: functionsapp\n\n      - name: 'Run Azure Functions Action'\n        uses: Azure/functions-action@v1.5.1\n        id: fa\n        with:\n          app-name: 'ccom-funcs-dev'\n          slot-name: 'production'\n          package: ${{ github.workspace }}/functionsapp\n          publish-profile: ${{ secrets.AZURE_FUNCAPP_PUBLISH_PROFILE  }}\n\n  # Deploy Web App Dev\n  deploy-web-dev:\n    runs-on: ubuntu-latest\n    needs: [build-and-publish-web, deploy-workers-dev]\n    environment:\n      name: 'dev'\n      url: ${{ steps.deploy-web-dev.outputs.webapp-url }}\n\n    steps:\n      - name: Deploy to Azure Web App\n        id: deploy-to-webapp\n        uses: azure/webapps-deploy@v2\n        with:\n          app-name: 'ccom-dev'\n          publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}\n          images: 'ccomreg.azurecr.io/${{ secrets.REGISTRY_USERNAME_DEV }}/latest:${{ github.sha }}'\n\n  # Deploy Next.js Client App Dev\n  deploy-next-dev:\n    runs-on: ubuntu-latest\n    needs: [build-and-publish-next-app, deploy-web-dev]\n    environment: dev\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download artifact from build job\n        uses: actions/download-artifact@v4\n        with:\n          path: frontendwebapp\n          name: frontendwebapp\n\n      - name: Deploy to Azure WebApp\n        uses: azure/webapps-deploy@v2\n        with:\n          app-name: 'ccom-next-dev'\n          publish-profile: ${{ secrets.AZURE_WEBAPP_NEXT_PUBLISH_PROFILE }}\n          package: ${{ github.workspace }}/frontendwebapp\n\n  # Deploy Workers Test\n  deploy-workers-test:\n    runs-on: ubuntu-latest\n    needs: deploy-workers-dev\n    environment: test\n\n    steps:\n      - name: Download artifact from build job\n        uses: actions/download-artifact@v4\n        with:\n          path: functionsapp\n          name: functionsapp\n\n      - name: 'Run Azure Functions Action'\n        uses: Azure/functions-action@v1.5.1\n        id: fa\n        with:\n          app-name: 'ccom-funcs-test'\n          slot-name: 'production'\n          package: ${{ github.workspace }}/functionsapp\n          publish-profile: ${{ secrets.AZURE_FUNCAPP_PUBLISH_PROFILE  }}\n\n  # Deploy Web App Test\n  deploy-web-test:\n    runs-on: ubuntu-latest\n    needs: [deploy-web-dev, deploy-workers-test]\n    environment:\n      name: 'test'\n      url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}\n\n    steps:\n      - name: Deploy to Azure Web App\n        id: deploy-to-webapp\n        uses: azure/webapps-deploy@v2\n        with:\n          app-name: 'ccom-test'\n          publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}\n          images: 'ccomreg.azurecr.io/${{ secrets.REGISTRY_USERNAME_DEV }}/latest:${{ github.sha }}'\n\n  # Deploy Next.js Client App Test\n  deploy-next-test:\n    runs-on: ubuntu-latest\n    needs: [deploy-next-dev, deploy-web-test]\n    environment: test\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download artifact from build job\n        uses: actions/download-artifact@v4\n        with:\n          path: frontendwebapp\n          name: frontendwebapp\n\n      - name: Deploy to Azure WebApp\n        uses: azure/webapps-deploy@v2\n        with:\n          app-name: 'ccom-next-test'\n          publish-profile: ${{ secrets.AZURE_WEBAPP_NEXT_PUBLISH_PROFILE }}\n          package: ${{ github.workspace }}/frontendwebapp\n", "state": "active", "repository": "Health-Informatics-UoN/CaRROT-Mapper"}
{"mined_at": "2024-07-15T19:04:32.902756", "created_at": "2024-03-20T15:46:40+01:00", "updated_at": "2024-03-20T15:46:40+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "Health-Informatics-UoN/CaRROT-Mapper"}
{"mined_at": "2024-07-15T19:04:34.155204", "created_at": "2024-06-10T11:34:13+02:00", "updated_at": "2024-06-10T11:34:13+02:00", "name": "Deploy to Production", "path": ".github/workflows/deploy.production.yml", "contents": "name: Deploy to Production\n\non:\n  release:\n    types: [released]\n\nenv:\n  AZURE_FUNCTIONAPP_PACKAGE_PATH: './app/workers'\n  AZURE_WEBAPP_PACKAGE_PATH: './app/next-client-app'\n  PYTHON_VERSION: '3.11'\n  NODE_VERSION: 20\n\njobs:\n  build-and-publish-workers:\n    runs-on: ubuntu-latest\n    steps:\n    - name: 'Checkout GitHub Action'\n      uses: actions/checkout@v4\n\n    - name: Setup Python ${{ env.PYTHON_VERSION }} Environment\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ env.PYTHON_VERSION }}\n\n    - name: 'Install Poetry'\n      uses: snok/install-poetry@v1\n\n    - name: 'Resolve Project Dependencies Using Poetry'\n      run: |\n        pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'\n        poetry config virtualenvs.create false\n        poetry export --format requirements.txt --output requirements.txt --without-hashes\n        popd\n      shell: bash\n\n    - name: 'Install Dependencies Using Pip'\n      shell: bash\n      run: |\n        pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'\n        python -m pip install --upgrade pip\n        pip install -r requirements.txt --target=\".python_packages/lib/site-packages\"\n        popd\n\n    - name: Upload artifact for deployment job\n      uses: actions/upload-artifact@v4\n      with:\n        name: functionsapp\n        path: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}\n\n  build-and-publish-web:\n    runs-on: 'ubuntu-latest'\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v3\n\n      - name: Log in to registry\n        uses: docker/login-action@v3\n        with:\n          registry: ccomreg.azurecr.io\n          username: ${{ secrets.REGISTRY_USERNAME_DEV }}\n          password: ${{ secrets.REGISTRY_PASSWORD_DEV }}\n\n      - name: Build and push container image to registry\n        uses: docker/build-push-action@v5\n        with:\n          push: true\n          tags: ccomreg.azurecr.io/${{ secrets.REGISTRY_USERNAME_DEV }}/latest:${{ github.sha }}\n          file: ./app/Dockerfile.deploy\n\n  build-and-publish-next-app:\n    runs-on: ubuntu-latest\n    environment: dev\n    env:\n      BACKEND_ORIGIN: ${{ secrets.BACKEND_ORIGIN }}\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Use Node.js ${{ env.NODE_VERSION }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ env.NODE_VERSION }}\n\n      - name: npm install and build\n        run: |\n          npm i --workspaces=false\n        working-directory: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}\n\n      - name: Cache .next/cache\n        uses: actions/cache@v4\n        env:\n          cache-name: cache-node-modules\n        with:\n          path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH  }}/.next/cache\n          key: nextjs | $(Agent.OS) | ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/package-lock.json\n\n      - name: Build\n        run: npm run build --workspaces=false\n        working-directory: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}\n\n      - name: Copy Static Assets\n        run: |\n          cp -r .next/static .next/standalone/.next/\n          cp -r public .next/standalone/\n        working-directory: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}\n\n      - name: Publish webapp artifact\n        uses: actions/upload-artifact@v4\n        with:\n          path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/.next/standalone\n          name: frontendwebapp\n\n  # Deploy Workers Production\n  deploy-workers-production:\n    runs-on: ubuntu-latest\n    needs: build-and-publish-workers\n    environment: production\n\n    steps:\n      - name: Download artifact from build job\n        uses: actions/download-artifact@v4\n        with:\n          path: functionsapp\n          name: functionsapp\n\n      - name: 'Run Azure Functions Action'\n        uses: Azure/functions-action@v1.5.1\n        id: fa\n        with:\n          app-name: 'ccom-funcs-prod'\n          slot-name: 'production'\n          package: ${{ github.workspace }}/functionsapp\n          publish-profile: ${{ secrets.AZURE_FUNCAPP_PUBLISH_PROFILE  }}\n\n  # Deploy Web App Production\n  deploy-web-production:\n    runs-on: ubuntu-latest\n    needs: [build-and-publish-web, deploy-workers-production]\n    environment:\n      name: 'production'\n      url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}\n\n    steps:\n      - name: Deploy to Azure Web App\n        id: deploy-to-webapp\n        uses: azure/webapps-deploy@v2\n        with:\n          app-name: 'ccom'\n          slot-name: 'production'\n          publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}\n          images: 'ccomreg.azurecr.io/${{ secrets.REGISTRY_USERNAME_DEV }}/latest:${{ github.sha }}'\n\n  # Deploy Next.js Client App Production\n  deploy-next-production:\n    runs-on: ubuntu-latest\n    needs: [build-and-publish-next-app, deploy-web-production]\n    environment: production\n\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Download artifact from build job\n        uses: actions/download-artifact@v4\n        with:\n          path: frontendwebapp\n          name: frontendwebapp\n\n      - name: Deploy to Azure WebApp\n        uses: azure/webapps-deploy@v2\n        with:\n          app-name: 'ccom-next'\n          publish-profile: ${{ secrets.AZURE_WEBAPP_NEXT_PUBLISH_PROFILE }}\n          package: ${{ github.workspace }}/frontendwebapp\n", "state": "active", "repository": "Health-Informatics-UoN/CaRROT-Mapper"}
{"mined_at": "2024-07-15T19:04:36.612980", "created_at": "2023-08-15T02:04:57+02:00", "updated_at": "2024-01-22T21:29:35+01:00", "name": "Starsim CI tests", "path": ".github/workflows/tests.yaml", "contents": "name: Starsim CI tests\non: [pull_request]\n\njobs:\n  install_and_test:\n    timeout-minutes: 8\n    strategy:\n      fail-fast: false\n      max-parallel: 8\n      matrix:\n        os: ['ubuntu-latest']\n        python-version: ['3.9', '3.11']\n    runs-on: ${{ matrix.os }}\n    name: Install and test\n    steps:\n      - name: Checkout sources\n        uses: actions/checkout@v4\n      - uses: actions/setup-python@master\n        with:\n          python-version: ${{ matrix.python-version }}\n          architecture: x64\n      - name: Install STIsim\n        run: pip install -e .\n      - name: Install tests\n        working-directory: ./tests\n        run: pip install -r requirements.txt\n      - name: Run API tests\n        working-directory: ./tests\n        run: pytest test_*.py -n auto --durations=0 --junitxml=test-results.xml # Run actual tests\n      - name: Upload test results\n        uses: actions/upload-artifact@v4\n        if: failure()\n        with:\n          name: test_results\n          path: tests/test-results.xml\n", "state": "active", "repository": "starsimhub/starsim"}
{"mined_at": "2024-07-15T19:04:37.703752", "created_at": "2024-06-18T15:18:40+02:00", "updated_at": "2024-06-18T15:18:40+02:00", "name": "Dependabot Updates", "path": "dynamic/dependabot/dependabot-updates", "contents": null, "state": "active", "repository": "starsimhub/starsim"}
{"mined_at": "2024-07-15T19:04:39.891361", "created_at": "2023-08-10T00:23:28+02:00", "updated_at": "2023-08-10T00:23:28+02:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "google-parfait/tensorflow-federated"}
{"mined_at": "2024-07-15T19:04:41.015475", "created_at": "2024-06-12T23:31:50+02:00", "updated_at": "2024-06-15T01:41:53+02:00", "name": "Publish", "path": ".github/workflows/publish.yaml", "contents": "# Copyright 2024 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#      http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nname: Publish\n\non:  # yamllint disable-line rule:truthy\n\n  # postsubmit\n  push:\n    branches:\n    - main\n    paths:\n    - 'tensorflow_federated/version.py'\n\n  # manual\n  workflow_dispatch:\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n\njobs:\n\n  publish-release:\n    name: Publish Release\n    # Only if:\n    # * Repository is not a fork.\n    # * Branch is `main` (for workflow_dispatch trigger).\n    if: |\n      github.repository == 'google-parfait/tensorflow-federated'\n      && github.ref == 'refs/heads/main'\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    permissions:\n      contents: write  # Required to create a release.\n    outputs:\n      release-tag: v${{ env.version }}\n    steps:\n\n    - name: Checkout repository\n      uses: actions/checkout@v4.1.7\n\n    - name: Get the latest version\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        latest_version=\"$(gh release view \\\n            --json \"tagName\" \\\n            --jq \".tagName\" \\\n            | sed \"s/^v//\")\"\n        echo \"latest_version=${latest_version}\" >> $GITHUB_ENV\n\n    - name: Get the version\n      run: |\n        version=\"$(sed --quiet \\\n            \"s/^__version__ = '\\(.*\\)'$/\\1/p\" \\\n            \"tensorflow_federated/version.py\")\"\n        echo \"version=${version}\" >> $GITHUB_ENV\n\n    - name: Get the description\n      run: |\n        description=\"$(sed --quiet \\\n            \"/^## Release ${{ env.version }}$/,/^## Release /p\" \\\n            \"RELEASE.md\" \\\n            | head --lines=-1 \\\n            | sed \"s/^#//\")\"\n        {\n          echo \"description<<EOF\"\n          echo \"${description}\"\n          echo \"EOF\"\n        } >> \"$GITHUB_ENV\"\n\n    - name: Publish release\n      if: ${{ env.latest_version != env.version }}\n      env:\n        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        gh release create \"v${{ env.version }}\" \\\n            --target=\"${{ github.sha }}\" \\\n            --title=\"TensorFlow Federated ${{ env.version }}\" \\\n            --notes='${{ env.description }}'\n\n  build-package:\n    name: Build Package\n    needs: [publish-release]\n    runs-on: ubuntu-20.04\n    timeout-minutes: 60\n    steps:\n\n    - name: Checkout repository\n      uses: actions/checkout@v4.1.7\n      with:\n        ref: ${{ needs.publish-release.outputs.release-tag }}\n\n    - name: Authenticate to Google Cloud\n      id: auth\n      uses: google-github-actions/auth@v2.1.3\n      with:\n        credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }}\n        create_credentials_file: true\n\n    - name: Set up bazel repository cache\n      uses: actions/cache@v4.0.2\n      with:\n        path: \"~/.cache/bazel/\"\n        key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE') }}\n        restore-keys: ${{ runner.os }}-bazel-\n\n    - name: Set up Python\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: \"3.11\"\n        cache: \"pip\"\n\n    - name: Install Python dependencies\n      run: |\n        pip install --upgrade \"pip\"\n\n    - name: Build Python package\n      run: |\n        pip install --upgrade \"numpy~=1.25\"\n        bazelisk run //tools/python_package:build_python_package \\\n            --build_tag_filters=\"-nokokoro,-nopresubmit,-requires-gpu-nvidia\" \\\n            --google_credentials=\"${{ steps.auth.outputs.credentials_file_path }}\" \\\n            --remote_cache=\"https://storage.googleapis.com/tensorflow-federated-bazel-cache/${{ github.job }}\" \\\n            -- \\\n            --output_dir=\"${{ github.workspace }}/dist/\"\n\n    - name: Upload Python package\n      uses: actions/upload-artifact@v4.3.3\n      with:\n        name: python-package-distributions\n        path: dist/*.whl\n\n  test-package:\n    name: Test Package\n    needs: [build-package]\n    runs-on: ubuntu-20.04\n    timeout-minutes: 5\n    steps:\n\n    - name: Checkout repository\n      uses: actions/checkout@v4.1.7\n      with:\n        ref: ${{ needs.publish-release.outputs.release-tag }}\n\n    - name: Download Python package\n      uses: actions/download-artifact@v4.1.7\n      with:\n        name: python-package-distributions\n        path: dist/\n\n    - name: Set up Python\n      uses: actions/setup-python@v5.1.0\n      with:\n        python-version: \"3.11\"\n        cache: \"pip\"\n\n    - name: Install Python dependencies\n      run: |\n        pip install --upgrade \"pip\"\n\n    - name: Test Python package\n      run: |\n        package=\"$(ls \"${{ github.workspace }}/dist/\"*\".whl\" | head -n1)\"\n        actual_size=\"$(du -b \"${package}\" | cut -f1)\"\n        maximum_size=80000000  # 80 MiB\n        if [[ \"${actual_size}\" -ge \"${maximum_size}\" ]]; then\n          echo \"error: expected '${package}' to be less than '${maximum_size}' bytes, it was '${actual_size}' bytes\" 1>&2\n          exit 1\n        fi\n        pip install --upgrade \"${package}\"\n        python -I -c \"import tensorflow_federated as tff; print(tff.federated_computation(lambda: 'Hello World')())\"\n        python -I -c \"import tensorflow_federated as tff; print(tff.__version__)\"\n\n  publish-package:\n    name: Publish Package\n    needs: [build-package, test-package]\n    runs-on: ubuntu-latest\n    timeout-minutes: 5\n    permissions:\n      id-token: write  # Required for trusted publishing.\n    steps:\n\n    - name: Download Python package\n      uses: actions/download-artifact@v4.1.7\n      with:\n        name: python-package-distributions\n        path: dist/\n\n    - name: Publish Python package\n      uses: pypa/gh-action-pypi-publish@v1.8.14\n", "state": "active", "repository": "google-parfait/tensorflow-federated"}
{"mined_at": "2024-07-15T19:04:43.063833", "created_at": "2023-12-16T01:40:55+01:00", "updated_at": "2024-02-06T19:42:21+01:00", "name": "Doc Build", "path": ".github/workflows/build-deploy-book.yml", "contents": "name: Doc Build\non:\n  push:\n    branches:\n      - master\n      - qy/fix-docs-qt-napari-path\n\npermissions:\n  contents: write\njobs:\n  deploy-book:\n    runs-on: ubuntu-latest\n    env:\n      DISPLAY: ':99.0'\n    steps:\n      - uses: actions/checkout@v4\n      - uses: tlambert03/setup-qt-libs@v1\n      - name: Build display\n        run: |\n          /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX\n      - name: Set PlantSeg version name\n        run: echo \"RELEASE_VERSION=DOC_RELEASE\" >> $GITHUB_ENV\n      - name: Print PlantSeg version name\n        run: |\n          echo $RELEASE_VERSION\n      - name: Configure Git Credentials\n        run: |\n          git config user.name github-actions[bot]\n          git config user.email 41898282+github-actions[bot]@users.noreply.github.com\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-activate-base: true\n          activate-environment: ''\n          channels: local,conda-forge,defaults\n          channel-priority: false\n      - shell: bash -l {0}\n        run: |\n          conda info --envs\n      - name: Build PlantSeg\n        shell: bash -l {0}\n        run: |\n          conda install -q conda-build\n          conda build -c conda-forge conda-recipe\n      - name: Create PlantSeg env\n        run: |\n          conda create -n plant-seg -c local -c conda-forge pyqt plantseg\n      - name: Activate PlantSeg env\n        shell: bash -l {0}\n        run: |\n          conda activate plant-seg\n      - run: echo \"cache_id=$(date --utc '+%V')\" >> $GITHUB_ENV\n      - uses: actions/cache@v4\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n      - name: install mkdoks\n        shell: bash -l {0}\n        run: |\n          conda activate plant-seg\n          pip install mkdocs-material mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 mkdocs-autorefs mkdocstrings[python] markdown-exec\n          mkdocs gh-deploy --force\n        env:\n          MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.MKDOCS_GIT_COMMITTERS_APIKEY }}\n", "state": "active", "repository": "kreshuklab/plant-seg"}
{"mined_at": "2024-07-15T19:04:44.230938", "created_at": "2021-09-09T16:29:03+02:00", "updated_at": "2021-09-09T16:52:14+02:00", "name": "Conda Build", "path": ".github/workflows/build-deploy-on-conda.yml", "contents": "name: Conda Build\n\non: [push]\n\njobs:\n  build-linux:\n    runs-on: ubuntu-latest\n    env:\n      DISPLAY: ':99.0'\n    steps:\n      - uses: actions/checkout@v4\n      - uses: tlambert03/setup-qt-libs@v1\n      - name: Build display\n        run: |\n          /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX\n      - name: Set PlantSeg version name\n        run: echo \"RELEASE_VERSION=$(date +%Y%m%d%H%M%S)\" >> $GITHUB_ENV\n      - name: Print PlantSeg version name\n        run: |\n          echo $RELEASE_VERSION\n      - uses: conda-incubator/setup-miniconda@v2\n        with:\n          auto-activate-base: true\n          activate-environment: ''\n          channels: local,conda-forge,defaults\n          channel-priority: false\n      - shell: bash -l {0}\n        run: |\n          conda info --envs\n      - name: Build PlantSeg\n        shell: bash -l {0}\n        run: |\n          conda install -q conda-build\n          conda build -c conda-forge conda-recipe\n      - name: Create PlantSeg env\n        run: |\n          conda create -n plant-seg -c local -c conda-forge pyqt plantseg pytest pytest-qt\n      - name: Run pytest\n        shell: bash -l {0}\n        run: |\n          conda activate plant-seg\n          pytest\n          conda deactivate\n      - name: Deploy on conda\n        if: ${{ startsWith( github.ref, 'refs/tags/') && success() }}\n        env:\n          ANACONDA_SECRET: ${{ secrets.ANACONDA_TOKEN }}\n        shell: bash -l {0}\n        run: |\n          conda install -q anaconda-client\n          anaconda -t $ANACONDA_SECRET upload $CONDA/conda-bld/**/plantseg-*.tar.bz2\n", "state": "active", "repository": "kreshuklab/plant-seg"}
{"mined_at": "2024-07-15T19:04:45.303248", "created_at": "2023-12-16T01:11:34+01:00", "updated_at": "2023-12-16T01:11:34+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "kreshuklab/plant-seg"}
{"mined_at": "2024-07-15T19:04:47.568983", "created_at": "2024-04-01T13:20:46+02:00", "updated_at": "2024-04-01T15:49:21+02:00", "name": "ci", "path": ".github/workflows/extremes.yml", "contents": "name: ci\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  minimum_versions:\n    strategy:\n      matrix:\n        python-version: [\"3.8\"]\n        os: [ubuntu-latest]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache multiple paths\n        uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            $RUNNER_TOOL_CACHE/Python/*\n            ~\\AppData\\Local\\pip\\Cache\n          key: ${{ runner.os }}-build-${{ matrix.python-version }}\n      - name: install-reqs\n        run: python -m pip install --upgrade tox virtualenv setuptools pip -r requirements-dev.txt\n      - name: install-modin\n        run: python -m pip install pandas==1.1.5 polars==0.20.3 \"numpy<=1.21\"\n      - name: Run pytest\n        run: pytest tests --cov=narwhals --cov=tests --cov-fail-under=50 --runslow\n      - name: Run doctests\n        run: pytest narwhals --doctest-modules\n\n  pandas-nightly:\n    strategy:\n      matrix:\n        python-version: [\"3.12\"]\n        os: [ubuntu-latest]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache multiple paths\n        uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            $RUNNER_TOOL_CACHE/Python/*\n            ~\\AppData\\Local\\pip\\Cache\n          key: ${{ runner.os }}-build-${{ matrix.python-version }}\n      - name: uninstall pandas\n        run: python -m pip uninstall pandas -y\n      - name: install-modin-polars\n        run: pip install modin[dask] polars\n      - name: install-reqs\n        run: python -m pip install --upgrade tox virtualenv setuptools pip -r requirements-dev.txt\n      - name: install-pandas-nightly\n        run: python -m pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple pandas\n      - name: Run pytest\n        run: pytest tests --cov=narwhals --cov=tests --cov-fail-under=50 --runslow\n      - name: Run doctests\n        run: pytest narwhals --doctest-modules\n\n  # polars-nightly:\n  #   if: github.ref == 'refs/heads/main'\n  #   strategy:\n  #     matrix:\n  #       python-version: [\"3.12\"]\n  #       os: [ubuntu-latest]\n\n  #   runs-on: ${{ matrix.os }}\n  #   steps:\n  #     - uses: actions/checkout@v3\n  #     - uses: actions/setup-python@v4\n  #       with:\n  #         python-version: ${{ matrix.python-version }}\n  #     - name: Cache multiple paths\n  #       uses: actions/cache@v3\n  #       with:\n  #         path: |\n  #           ~/.cache/pip\n  #           $RUNNER_TOOL_CACHE/Python/*\n  #           ~\\AppData\\Local\\pip\\Cache\n  #         key: ${{ runner.os }}-build-${{ matrix.python-version }}\n  #     - name: install-kaggle\n  #       run: python -m pip install kaggle\n  #     - name: Download Kaggle notebook artifact\n  #       env:\n  #         KAGGLE_USERNAME: ${{ secrets.KAGGLE_USERNAME }}\n  #         KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }}\n  #       run: kaggle kernels output marcogorelli/polars-nightly\n  #     - name: install-reqs\n  #       run: python -m pip install --upgrade tox virtualenv setuptools pip -r requirements-dev.txt\n  #     - name: uninstall polars\n  #       run: python -m pip uninstall polars -y\n  #     - name: install-modin-pandas\n  #       run: pip install modin[dask] pandas\n  #     - name: install-polars-nightly\n  #       run: python -m pip install *.whl\n  #     - name: Run pytest\n  #       run: pytest tests --cov=narwhals --cov=tests --cov-fail-under=50\n  #     - name: Run doctests\n  #       run: pytest narwhals --doctest-modules\n", "state": "active", "repository": "narwhals-dev/narwhals"}
{"mined_at": "2024-07-15T19:04:49.002667", "created_at": "2024-03-16T17:13:43+01:00", "updated_at": "2024-03-16T17:13:43+01:00", "name": "mkdocs", "path": ".github/workflows/mkdocs.yml", "contents": "name: mkdocs\n\non:\n  push:\n    branches:\n      - main\npermissions:\n  contents: write\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure Git Credentials\n        run: |\n          git config user.name github-actions[bot]\n          git config user.email 41898282+github-actions[bot]@users.noreply.github.com\n      - uses: actions/setup-python@v4\n        with:\n          python-version: 3.x\n      - run: echo \"cache_id=$(date --utc '+%V')\" >> $GITHUB_ENV\n\n\n      - uses: actions/cache@v3\n        with:\n          key: mkdocs-material-${{ env.cache_id }}\n          path: .cache\n          restore-keys: |\n            mkdocs-material-\n      - run: pip install -r docs/requirements-docs.txt -e . pandas polars\n\n      - run: mkdocs gh-deploy --force\n", "state": "active", "repository": "narwhals-dev/narwhals"}
{"mined_at": "2024-07-15T19:04:50.124972", "created_at": "2024-02-19T18:52:55+01:00", "updated_at": "2024-02-19T18:52:55+01:00", "name": "Publish Python 🐍 distribution 📦 to PyPI and TestPyPI", "path": ".github/workflows/publish_to_pypi.yml", "contents": "name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI\n\non: push\n\njobs:\n  build:\n    name: Build distribution 📦\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: \"3.x\"\n    - name: Install pypa/build\n      run: >-\n        python3 -m\n        pip install\n        build\n        --user\n    - name: Build a binary wheel and a source tarball\n      run: python3 -m build\n    - name: Store the distribution packages\n      uses: actions/upload-artifact@v4\n      with:\n        name: python-package-distributions\n        path: dist/\n\n  publish-to-pypi:\n    name: >-\n      Publish Python 🐍 distribution 📦 to PyPI\n    if: startsWith(github.ref, 'refs/tags/')  # only publish to PyPI on tag pushes\n    needs:\n    - build\n    runs-on: ubuntu-latest\n    environment:\n      name: pypi\n      url: https://pypi.org/p/narwhals  # Replace <package-name> with your PyPI project name\n    permissions:\n      id-token: write  # IMPORTANT: mandatory for trusted publishing\n\n    steps:\n    - name: Download all the dists\n      uses: actions/download-artifact@v4\n      with:\n        name: python-package-distributions\n        path: dist/\n    - name: Publish distribution 📦 to PyPI\n      uses: pypa/gh-action-pypi-publish@release/v1\n\n", "state": "active", "repository": "narwhals-dev/narwhals"}
{"mined_at": "2024-07-15T19:04:51.243649", "created_at": "2024-03-17T11:12:00+01:00", "updated_at": "2024-03-17T11:37:39+01:00", "name": "ci", "path": ".github/workflows/pytest.yml", "contents": "name: ci\n\non:\n  pull_request:\n  push:\n    branches: [main]\n\njobs:\n  pytest-38:\n    strategy:\n      matrix:\n        python-version: [\"3.8\"]\n        os: [windows-latest, ubuntu-latest]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache multiple paths\n        uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            $RUNNER_TOOL_CACHE/Python/*\n            ~\\AppData\\Local\\pip\\Cache\n          key: ${{ runner.os }}-build-${{ matrix.python-version }}\n      - name: install-reqs\n        run: python -m pip install --upgrade tox virtualenv setuptools pip -r requirements-dev.txt\n      - name: install-modin\n        run: python -m pip install --upgrade modin[dask]\n      - name: Run pytest\n        run: pytest tests --cov=narwhals --cov=tests --cov-fail-under=90\n      - name: Run doctests\n        run: pytest narwhals --doctest-modules\n\n  pytest-coverage:\n    strategy:\n      matrix:\n        python-version: [\"3.9\", \"3.10\", \"3.11\", \"3.12\"]\n        os: [windows-latest, ubuntu-latest]\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-python@v4\n        with:\n          python-version: ${{ matrix.python-version }}\n      - name: Cache multiple paths\n        uses: actions/cache@v3\n        with:\n          path: |\n            ~/.cache/pip\n            $RUNNER_TOOL_CACHE/Python/*\n            ~\\AppData\\Local\\pip\\Cache\n          key: ${{ runner.os }}-build-${{ matrix.python-version }}\n      - name: install-reqs\n        run: python -m pip install --upgrade tox virtualenv setuptools pip -r requirements-dev.txt\n      - name: install-modin\n        run: python -m pip install --upgrade modin[dask]\n      - name: Run pytest\n        run: pytest tests --cov=narwhals --cov=tests --cov-fail-under=100 --runslow\n      - name: Run doctests\n        run: pytest narwhals --doctest-modules\n", "state": "active", "repository": "narwhals-dev/narwhals"}
{"mined_at": "2024-07-15T19:04:52.385278", "created_at": "2024-07-08T11:06:15+02:00", "updated_at": "2024-07-08T12:33:56+02:00", "name": "random-versions", "path": ".github/workflows/random_ci_pytest.yml", "contents": null, "state": "active", "repository": "narwhals-dev/narwhals"}
{"mined_at": "2024-07-15T19:04:53.448578", "created_at": "2024-06-04T19:23:09+02:00", "updated_at": "2024-06-06T10:40:17+02:00", "name": "Release Drafter", "path": ".github/workflows/release-drafter.yml", "contents": "name: Release Drafter\n\non:\n  push:\n    # branches to consider in the event; optional, defaults to all\n    branches:\n      - main\n  # pull_request event is required only for autolabeler\n  pull_request:\n    # Only following types are handled by the action, but one can default to all as well\n    types: [opened, reopened, synchronize]\n  # pull_request_target event is required for autolabeler to support PRs from forks\n  pull_request_target:\n    types: [opened, reopened, synchronize]\n\npermissions:\n  contents: read\n\njobs:\n  update_release_draft:\n    permissions:\n      # write permission is required to create a github release\n      contents: write\n      # write permission is required for autolabeler\n      # otherwise, read permission is required at least\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      # (Optional) GitHub Enterprise requires GHE_HOST variable set\n      #- name: Set GHE_HOST\n      #  run: |\n      #    echo \"GHE_HOST=${GITHUB_SERVER_URL##https:\\/\\/}\" >> $GITHUB_ENV\n\n      # Drafts your next Release notes as Pull Requests are merged into \"master\"\n      - uses: release-drafter/release-drafter@v6\n        # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml\n        with:\n           config-name: release-drafter.yml\n        #   disable-autolabeler: true\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}", "state": "active", "repository": "narwhals-dev/narwhals"}
{"mined_at": "2024-07-15T19:04:54.524197", "created_at": "2024-03-16T17:46:13+01:00", "updated_at": "2024-03-16T17:46:13+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "narwhals-dev/narwhals"}
{"mined_at": "2024-07-15T19:04:56.682664", "created_at": "2024-04-27T14:14:18+02:00", "updated_at": "2024-04-27T14:27:05+02:00", "name": "Build Library", "path": ".github/workflows/build-library.yml", "contents": "name: Build Library\n\non:\n    workflow_dispatch:\n    push:\n        branches:\n            - \"dev\"\n    pull_request:\n        branches:\n            - \"dev\"\njobs:\n    build-python-lib:\n        runs-on: ubuntu-latest\n        strategy:\n            matrix:\n                python:\n                    - \"3.11\"\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Build data-processing-lib/python\n              run: |\n                  make -C data-processing-lib/python DOCKER=docker venv build\n    build-ray-lib:\n        runs-on: ubuntu-latest\n        strategy:\n            matrix:\n                python:\n                    - \"3.11\"\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Build data-processing-lib/ray\n              run: |\n                  make -C data-processing-lib/ray DOCKER=docker venv build\n    build-spark-lib:\n        runs-on: ubuntu-latest\n        strategy:\n            matrix:\n                python:\n                    - \"3.11\"\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Build data-processing-lib/spark\n              run: |\n                  make -C data-processing-lib/spark DOCKER=docker venv build\n", "state": "active", "repository": "IBM/data-prep-kit"}
{"mined_at": "2024-07-15T19:04:57.712524", "created_at": "2024-04-27T14:27:05+02:00", "updated_at": "2024-04-27T14:27:05+02:00", "name": "deploy docs", "path": ".github/workflows/deploy-docs.yml", "contents": "name: deploy docs\n\non:\n    workflow_dispatch:\n    push:\n        branches:\n            - dev\njobs:\n    deploy:\n        runs-on: ubuntu-latest\n        env:\n            REPO_URL: \"https://github.com/${{ github.repository }}\"\n            REPO_BRANCH: \"dev\"\n        steps:\n            - uses: actions/checkout@v2\n            - uses: actions/setup-python@v2\n              with:\n                  python-version: 3.x\n            - run: pip install mkdocs-material mkdocstrings[python] mkdocs-badges mkdocs-same-dir\n            - run: |\n                  # remove badges \n                  cat README.md |sed  '/img\\.shields\\.io/d' > README_.md\n                  mv README_.md README.md  \n                  mkdocs gh-deploy --force\n", "state": "active", "repository": "IBM/data-prep-kit"}
{"mined_at": "2024-07-15T19:04:58.935809", "created_at": "2024-04-27T14:27:05+02:00", "updated_at": "2024-04-27T14:27:05+02:00", "name": "Build, Test, and Upload PyPI package", "path": ".github/workflows/deploy-library.yml", "contents": "name: Build, Test, and Upload PyPI package\n\non:\n    release:\n        types:\n            - published\n    workflow_dispatch:\n\npermissions:\n    contents: read\n    # see https://docs.pypi.org/trusted-publishers/\n    id-token: write\n\njobs:\n    build-package:\n        name: Build Ray data processing libraries\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n              with:\n                  # for setuptools-scm\n                  fetch-depth: 0\n            - name: Build Packages for pypi\n              run: |\n                  make -C data-processing-lib build\n                  make -C data-processing-lib/ray build\n                  make -C data-processing-lib/spark build\n    publish-test-pypi:\n        name: Publish packages to test.pypi.org\n        # disabled\n        if: false\n        runs-on: ubuntu-latest\n        needs: build-package\n\n        steps:\n            - name: Fetch build artifacts\n              uses: actions/download-artifact@v4\n              with:\n                  name: Packages\n                  path: dist\n\n            - name: Upload to Test PyPI\n              uses: pypa/gh-action-pypi-publish@release/v1\n              with:\n                  repository-url: https://test.pypi.org/legacy/\n\n    publish-pypi:\n        name: Publish release to pypi.org\n        runs-on: ubuntu-latest\n        needs: build-package\n        # disabled as of now\n        if: false\n        steps:\n            - name: Fetch build artifacts\n              uses: actions/download-artifact@v4\n              with:\n                  name: Packages\n                  path: dist\n            - name: Upload to PyPI\n              uses: pypa/gh-action-pypi-publish@release/v1\n", "state": "active", "repository": "IBM/data-prep-kit"}
{"mined_at": "2024-07-15T19:05:00.164383", "created_at": "2024-04-27T14:27:05+02:00", "updated_at": "2024-04-27T14:27:05+02:00", "name": "Build, Test, and upload Transform images to quay.io", "path": ".github/workflows/deploy-transforms.yml", "contents": "name: Build, Test, and upload Transform images to quay.io\n\non:\n    release:\n        types:\n            - published\n    workflow_dispatch:\n\njobs:\n    build-images:\n        name: Build and check images\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n              with:\n                  # for setuptools-scm\n                  fetch-depth: 0\n            - name: Build Package for pypi\n              run: |\n                  make -C transforms image test-image\n    publish-images:\n        name: Publish packages to quay.io\n        # disabled\n        if: false\n        runs-on: ubuntu-latest\n        needs: build-images\n\n        steps:\n            - name: Push images to quay.io registry\n              run: |\n                  make -C transforms publish\n", "state": "active", "repository": "IBM/data-prep-kit"}
{"mined_at": "2024-07-15T19:05:01.262955", "created_at": "2024-05-09T10:26:40+02:00", "updated_at": "2024-05-09T10:26:40+02:00", "name": "Run Pre-commit", "path": ".github/workflows/pre-commit.yml", "contents": null, "state": "active", "repository": "IBM/data-prep-kit"}
{"mined_at": "2024-07-15T19:05:02.409864", "created_at": "2024-07-15T09:36:52+02:00", "updated_at": "2024-07-15T10:30:24+02:00", "name": "Multi-arch image build", "path": ".github/workflows/test-image-multiarch.yml", "contents": null, "state": "active", "repository": "IBM/data-prep-kit"}
{"mined_at": "2024-07-15T19:05:03.565510", "created_at": "2024-04-27T14:14:18+02:00", "updated_at": "2024-07-10T14:33:51+02:00", "name": "Build, Test and (Optionally) Push images", "path": ".github/workflows/test.yml", "contents": "name: Test CI\n\non:\n    workflow_dispatch:\n    push:\n        branches:\n            - \"dev\"\n    pull_request:\n        branches:\n            - \"dev\"\njobs:\n    test-python-lib:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Test data-processing-lib/python\n              run: |\n                  make -C data-processing-lib/python DOCKER=docker venv test\n    test-ray-lib:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Test data-processing-lib/ray\n              run: |\n                  make -C data-processing-lib/ray DOCKER=docker venv test\n    test-spark-lib:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Test data-processing-lib/spark\n              run: |\n                  make -C data-processing-lib/spark DOCKER=docker venv test\n    test-code:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Test Code Transforms\n              run: |\n                  make -C transforms/code DOCKER=docker venv test-src\n    test-language:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Test Language Transforms\n              run: |\n                  make -C transforms/language DOCKER=docker venv test-src\n    test-universal:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Test Universal Transforms\n              run: |\n                  make -C transforms/universal DOCKER=docker venv test-src\n    test-tools:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Test tools\n              run: |\n                  make -C tools DOCKER=docker venv test\n    test-kfp-v1:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Free up space in github runner\n              # Free space as indicated here : https://github.com/actions/runner-images/issues/2840#issuecomment-790492173\n              run: |\n                  df -h\n                  sudo rm -rf \"/usr/local/share/boost\"\n                  sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n                  sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/lib/android /usr/local/share/powershell /usr/share/swift /usr/lib/jvm /usr/local/.ghcup\n                  sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true\n                  df -h\n            - name: Test KFP libs (shared and v1) and run a workflow\n              timeout-minutes: 120\n              run: |\n                  source kind/requirements.env\n                  export PATH=$PATH:/tmp/\n                  curl -Lo /tmp/kind https://kind.sigs.k8s.io/dl/v${KIND_VERSION}/kind-linux-amd64\n                  chmod 777 /tmp/kind\n                  curl -fsSL -o /tmp/get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3\n                  chmod 700 /tmp/get_helm.sh\n                  HELM_INSTALL_DIR=/tmp/ /tmp/get_helm.sh -v v${HELM_VERSION} --no-sudo\n                  chmod 777 /tmp/helm\n                  curl -L https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /tmp/kubectl\n                  chmod 777 /tmp/kubectl\n                  curl https://dl.min.io/client/mc/release/linux-amd64/mc --create-dirs -o /tmp/mc\n                  chmod +x /tmp/mc\n                  export DEPLOY_KUBEFLOW=1\n                  make -C kind setup\n                  make -C kfp/kfp_support_lib test\n                  make -C transforms workflow-build\n                  dir=(\"code\"  \"universal\") && index=$(($RANDOM % 2)) && subdirs=${dir[$index]} && transforms=($(find transforms/$subdirs/ -type d  -maxdepth 1 ))\n                  # First element is not really a subdir but rather the current dir so remove it and randomly choose a transform to run\n                  set -- \"${transforms[@]}\" && shift && transforms=(\"$@\") && size=${#transforms[@]} && index=$(($RANDOM % $size))\n                  export REPOROOT=$PWD\n                  export KIND_SCRIPTS=$PWD/scripts/kind\n                  source scripts/kind/common.sh\n                  header_text \"Running ${transforms[$index]} workflow test\"\n                  make -C ${transforms[$index]} workflow-test\n                  header_text \"Run ${transforms[$index]} completed\"\n\n    test-kfp-v2:\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Free up space in github runner\n              # Free space as indicated here : https://github.com/actions/runner-images/issues/2840#issuecomment-790492173\n              run: |\n                  df -h\n                  sudo rm -rf \"/usr/local/share/boost\"\n                  sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n                  sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/lib/android /usr/local/share/powershell /usr/share/swift /usr/lib/jvm /usr/local/.ghcup\n                  sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true\n                  df -h\n            - name: Test KFP libs (shared and v2) and run a workflow\n              timeout-minutes: 120\n              run: |\n                  source kind/requirements.env\n                  export PATH=$PATH:/tmp/\n                  curl -Lo /tmp/kind https://kind.sigs.k8s.io/dl/v${KIND_VERSION}/kind-linux-amd64\n                  chmod 777 /tmp/kind\n                  curl -fsSL -o /tmp/get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3\n                  chmod 700 /tmp/get_helm.sh\n                  HELM_INSTALL_DIR=/tmp/ /tmp/get_helm.sh -v v${HELM_VERSION} --no-sudo\n                  chmod 777 /tmp/helm\n                  curl -L https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /tmp/kubectl\n                  chmod 777 /tmp/kubectl\n                  curl https://dl.min.io/client/mc/release/linux-amd64/mc --create-dirs -o /tmp/mc\n                  chmod +x /tmp/mc\n                  export DEPLOY_KUBEFLOW=1\n                  export KFPv2=1\n                  make -C kind setup\n                  make -C kfp/kfp_support_lib test\n                  make -C transforms/universal/noop workflow-build\n                  make -C transforms/universal/noop workflow-test\n", "state": "active", "repository": "IBM/data-prep-kit"}
{"mined_at": "2024-07-15T19:05:04.670340", "created_at": "2024-06-18T11:51:25+02:00", "updated_at": "2024-06-18T11:51:25+02:00", "name": "Workflow Manual Run", "path": ".github/workflows/workflow-manual-run.yml", "contents": "name: Workflow Manual Run\n\non:\n    workflow_dispatch:\n        inputs:\n            workflow-path:\n                description: \"Specify the workflow path to run\"\n                required: true\n                default: \"transforms/universal/noop\"\n            kfp_v2:\n                description: \"1 if kfp version v2 should be used. Otherwise false.\"\n                required: false\n                default: \"0\"\n            debug:\n                description: \"True if use debug mode.\"\n                required: false\n                default: \"false\"\n\njobs:\n    test-kfp-workflow-run:\n        env:\n            KFPv2: ${{ github.event.inputs.kfp_v1 }}\n            WORKFLOW_PATH: ${{ github.event.inputs.workflow-path }}\n            DEBUG_MODE: ${{ github.event.inputs.debug }}\n        runs-on: ubuntu-latest\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n            - name: Free up space in github runner\n              # Free space as indicated here : https://github.com/actions/runner-images/issues/2840#issuecomment-790492173\n              run: |\n                  df -h\n                  sudo rm -rf \"/usr/local/share/boost\"\n                  sudo rm -rf \"$AGENT_TOOLSDIRECTORY\"\n                  sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/lib/android /usr/local/share/powershell /usr/share/swift /usr/lib/jvm /usr/local/.ghcup\n                  sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true\n                  df -h\n            - name: Test KFP worflow run\n              timeout-minutes: 120\n              run: |\n                  source kind/requirements.env\n                  export PATH=$PATH:/tmp/\n                  curl -Lo /tmp/kind https://kind.sigs.k8s.io/dl/v${KIND_VERSION}/kind-linux-amd64\n                  chmod 777 /tmp/kind\n                  curl -fsSL -o /tmp/get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3\n                  chmod 700 /tmp/get_helm.sh\n                  HELM_INSTALL_DIR=/tmp/ /tmp/get_helm.sh -v v${HELM_VERSION} --no-sudo\n                  chmod 777 /tmp/helm\n                  curl -L https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /tmp/kubectl\n                  chmod 777 /tmp/kubectl\n                  curl https://dl.min.io/client/mc/release/linux-amd64/mc --create-dirs -o /tmp/mc\n                  chmod +x /tmp/mc\n                  make -C kind setup\n                  make -C $WORKFLOW_PATH workflow-test\n                  debug_mode=$(echo \"$DEBUG_MODE\" | tr '[:upper:]' '[:lower:]')\n                  if [ \"$debug_mode\" == \"true\" ]; then\n                     kubectl describe pod -A\n                     kubectl get pods -A\n                  fi\n", "state": "active", "repository": "IBM/data-prep-kit"}
{"mined_at": "2024-07-15T19:05:05.777805", "created_at": "2024-04-27T16:36:17+02:00", "updated_at": "2024-04-27T16:36:17+02:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "IBM/data-prep-kit"}
{"mined_at": "2024-07-15T19:05:08.049105", "created_at": "2024-05-07T18:31:18+02:00", "updated_at": "2024-05-08T16:05:09+02:00", "name": "Check code format", "path": ".github/workflows/check-format.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Check code format\n\non:\n  pull_request:\n    branches:\n      - main\n      - feature/**\n\npermissions:\n  contents: read\n\njobs:\n  check-code-format:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n    - name: Set up Python\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: '3.9'\n    - name: Install dependencies\n      run: |\n        pip install tox\n    - name: Run code format checks\n      run: |\n        tox -e linters_check\n", "state": "active", "repository": "amazon-braket/autoqasm"}
{"mined_at": "2024-07-15T19:05:09.195020", "created_at": "2024-05-07T18:31:18+02:00", "updated_at": "2024-05-08T16:05:09+02:00", "name": "Code Freeze", "path": ".github/workflows/code-freeze.yml", "contents": "name: Code Freeze\n\non:\n  pull_request:\n    branches:\n      - main\n  workflow_dispatch:\n\npermissions:\n  contents: read\n\nenv:\n  FROZEN: ${{ vars.FROZEN }}\n  UNFROZEN_PREFIX: ${{ vars.UNFROZEN_PREFIX }}\n\njobs:\n  check-pr-frozen-status:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Fetch PR data and check if merge allowed\n      if: env.FROZEN == 'true'\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      run: |\n        PR_DATA=$(curl -s \\\n          -H \"Authorization: Bearer $GITHUB_TOKEN\" \\\n          -H \"Accept: application/vnd.github.v3+json\" \\\n          https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }})\n        BRANCH_NAME=$(echo $PR_DATA | jq .head.ref -r)\n        PR_TITLE=$(echo $PR_DATA | jq .title -r)\n\n        echo $BRANCH_NAME\n        echo $PR_TITLE\n\n        # if it's not a critical fix\n        if ! [[ \"$PR_TITLE\" == fix\\(critical\\):* ]]; then\n          # and there's an unfrozen prefix\n          if ! [[ -z $UNFROZEN_PREFIX ]]; then\n            # check if the branch matches unfrozen prefix\n            if [[ \"$BRANCH_NAME\" != $UNFROZEN_PREFIX* ]]; then\n              echo \"Error: You can only merge from branches that start with '$UNFROZEN_PREFIX', or PRs titled with prefix 'fix(critical): '.\"\n              exit 1\n            fi\n          # repo is fully frozen\n          else\n            echo \"Error: You can only merge PRs titled with prefix 'fix(critical): '.\"\n            exit 1\n          fi\n        fi\n", "state": "active", "repository": "amazon-braket/autoqasm"}
{"mined_at": "2024-07-15T19:05:10.349443", "created_at": "2024-05-07T18:31:18+02:00", "updated_at": "2024-05-07T18:31:18+02:00", "name": "Dependent tests", "path": ".github/workflows/dependent-tests.yml", "contents": null, "state": "active", "repository": "amazon-braket/autoqasm"}
{"mined_at": "2024-07-15T19:05:11.531130", "created_at": "2024-05-08T16:05:10+02:00", "updated_at": "2024-05-08T16:05:10+02:00", "name": "Publish distribution to PyPI", "path": ".github/workflows/publish-to-pypi.yml", "contents": "name: Publish distribution to PyPI\n\non:\n  release:\n    types: [published]\n\npermissions:\n  contents: read\n\njobs:\n  build-and-publish:\n    name: Build and publish distribution to PyPi\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n      - name: Install wheel\n        run: python -m pip install --user --upgrade wheel\n      - name: Install twine\n        run: python -m pip install --user --upgrade twine\n      - name: Install setuptools\n        run: python -m pip install --user --upgrade setuptools\n      - name: Build a binary wheel and a source tarball\n        run: python setup.py sdist bdist_wheel\n      - name: Publish distribution to PyPI\n        uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # release/v1\n", "state": "active", "repository": "amazon-braket/autoqasm"}
{"mined_at": "2024-07-15T19:05:12.759673", "created_at": "2024-05-07T18:31:18+02:00", "updated_at": "2024-05-08T16:05:10+02:00", "name": "Python package", "path": ".github/workflows/python-package.yml", "contents": "# This workflow will install Python dependencies, run tests and lint with a variety of Python versions\n# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions\n\nname: Python package\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n      - feature/**\n\npermissions:\n  contents: read\n\njobs:\n  build:\n    runs-on: ${{ matrix.os }}\n    strategy:\n      matrix:\n        os: [ubuntu-latest, macos-latest, windows-latest]\n        python-version: [\"3.9\", \"3.10\", \"3.11\"]\n\n    steps:\n    - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n    - name: Set up Python ${{ matrix.python-version }}\n      uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n      with:\n        python-version: ${{ matrix.python-version }}\n    - name: Install dependencies\n      run: |\n        pip install tox\n    - name: Run unit tests\n      run: |\n        tox -e unit-tests\n    - name: Run AutoQASM example notebooks\n      run: |\n        pip install -e .\n        pip install notebook matplotlib\n        jupyter nbconvert --to html --execute --ExecutePreprocessor.kernel_name=python3 ./examples/1_Getting_started_with_AutoQASM.ipynb\n        jupyter nbconvert --to html --execute --ExecutePreprocessor.kernel_name=python3 ./examples/2_Expressing_classical_control_flow.ipynb\n        jupyter nbconvert --to html --execute --ExecutePreprocessor.kernel_name=python3 ./examples/3_1_Iterative_phase_estimation.ipynb\n        jupyter nbconvert --to html --execute --ExecutePreprocessor.kernel_name=python3 ./examples/3_2_magic_state_distillation.ipynb\n    - name: Upload coverage report to Codecov\n      uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n      if: ${{ strategy.job-index }} == 0\n", "state": "active", "repository": "amazon-braket/autoqasm"}
{"mined_at": "2024-07-15T19:05:13.892173", "created_at": "2024-05-08T16:05:10+02:00", "updated_at": "2024-05-08T16:05:10+02:00", "name": "Close stale issues", "path": ".github/workflows/stale_issue.yml", "contents": "name: \"Close stale issues\"\n\n# Controls when the action will run.\n# This is every day at 10am\non:\n  schedule:\n    - cron: \"0 10 * * *\"\n\npermissions:\n  contents: read\n\njobs:\n  cleanup:\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write  # comment on issues\n    name: Stale issue job\n    steps:\n      - uses: aws-actions/stale-issue-cleanup@7de35968489e4142233d2a6812519a82e68b5c38 # v6\n        with:\n          # Setting messages to an empty string will cause the automation to skip\n          # that category\n          ancient-issue-message: Greetings! It looks like this issue hasn’t been active in longer than three years. We encourage you to check if this is still an issue in the latest release. Because it has been longer than three years since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment to prevent automatic closure, or if the issue is already closed, please feel free to reopen it.\n          stale-issue-message: Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one.\n          stale-pr-message: Greetings! It looks like this PR hasn’t been active in longer than a week, add a comment or an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one.\n\n          # These labels are required\n          stale-issue-label: closing-soon\n          exempt-issue-label: auto-label-exempt\n          stale-pr-label: closing-soon\n          exempt-pr-label: pr/needs-review\n          response-requested-label: response-requested\n\n          # Don't set closed-for-staleness label to skip closing very old issues\n          # regardless of label\n          closed-for-staleness-label: closed-for-staleness\n\n          # Issue timing\n          days-before-stale: 7\n          days-before-close: 4\n          days-before-ancient: 1095\n\n          # If you don't want to mark a issue as being ancient based on a\n          # threshold of \"upvotes\", you can set this here. An \"upvote\" is\n          # the total number of +1, heart, hooray, and rocket reactions\n          # on an issue.\n          minimum-upvotes-to-exempt: 1\n\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          loglevel: DEBUG\n          # Set dry-run to true to not perform label or close actions.\n          dry-run: false\n", "state": "active", "repository": "amazon-braket/autoqasm"}
{"mined_at": "2024-07-15T19:05:15.010770", "created_at": "2024-05-07T18:31:17+02:00", "updated_at": "2024-05-08T16:05:10+02:00", "name": "Check long description for PyPI", "path": ".github/workflows/twine-check.yml", "contents": "name: Check long description for PyPI\n\non:\n  pull_request:\n    branches:\n      - main\n      - feature/**\n\npermissions:\n  contents: read\n\njobs:\n  twine-check:\n    name: Check long description\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7\n      - name: Set up Python\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.x'\n      - name: Install wheel\n        run: python -m pip install --user --upgrade wheel\n      - name: Install twine\n        run: python -m pip install --user --upgrade twine\n      - name: Install setuptools\n        run: python -m pip install --user --upgrade setuptools\n      - name: Build a binary wheel and a source tarball\n        run: python setup.py sdist bdist_wheel\n      - name: Check that long description will render correctly on PyPI.\n        run: twine check dist/*\n", "state": "active", "repository": "amazon-braket/autoqasm"}
{"mined_at": "2024-07-15T19:05:17.265067", "created_at": "2020-11-12T15:26:03+01:00", "updated_at": "2023-09-28T11:32:43+02:00", "name": "CI", "path": ".github/workflows/ci.yml", "contents": null, "state": "active", "repository": "UCL/TLOmodel"}
{"mined_at": "2024-07-15T19:05:18.276063", "created_at": "2021-05-25T14:53:27+02:00", "updated_at": "2021-05-25T23:20:50+02:00", "name": "Azure Static Web Apps CI/CD", "path": ".github/workflows/azure-static-web-apps-white-field-02d103b03.yml", "contents": null, "state": "active", "repository": "UCL/TLOmodel"}
{"mined_at": "2024-07-15T19:05:19.515275", "created_at": "2022-12-01T22:17:55+01:00", "updated_at": "2023-09-18T18:08:30+02:00", "name": "Run extra tests on issue or pull-request comments", "path": ".github/workflows/comment-triggered-ci.yml", "contents": "name: Run extra tests on issue or pull-request comments\n\non:\n  issue_comment:\n    types:\n      - created\n      \njobs:\n\n  scaled_sim:\n    uses: ./.github/workflows/run-on-comment.yml\n    with:\n      runs-on: '[\"self-hosted\", \"test\"]'\n      keyword: scaled-sim\n      commands: tox -v -e profile\n      description: Profiled scale run of model\n      timeout-minutes: 8640\n      application-organization: UCL\n    secrets:\n      application-id: ${{ secrets.COMMENT_BOT_APP_ID }}\n      application-private-key: ${{ secrets.COMMENT_BOT_APP_PRIVATE_KEY }}\n\n  multiple_seed_tests:\n    uses: ./.github/workflows/run-on-comment.yml\n    with:\n      runs-on: '[\"self-hosted\", \"test\"]'\n      keyword: multiple-seed-tests\n      commands: |\n        tox -v -e py311,report -- pytest --seed 2671936806 3512589365 --cov --cov-report=term-missing -vv tests\n      description: Run of tests over multiple seeds\n      timeout-minutes: 8640\n      application-organization: UCL\n    secrets:\n      application-id: ${{ secrets.COMMENT_BOT_APP_ID }}\n      application-private-key: ${{ secrets.COMMENT_BOT_APP_PRIVATE_KEY }}\n      \n  python311_pandas15_fast_tests:\n    uses: ./.github/workflows/run-on-comment.yml\n    with:\n      runs-on: '[\"self-hosted\", \"test\"]'\n      keyword: python3.11-pandas1.5-fast-tests\n      commands: |\n        tox -v -e py311-pandas15,report -- pytest --skip-slow --cov --cov-report=term-missing -vv tests\n      description: Run of fast tests on Python v3.11 with Pandas v1.5\n      timeout-minutes: 8640\n      application-organization: UCL\n    secrets:\n      application-id: ${{ secrets.COMMENT_BOT_APP_ID }}\n      application-private-key: ${{ secrets.COMMENT_BOT_APP_PRIVATE_KEY }}\n\n  python311_pandas15_all_tests:\n    uses: ./.github/workflows/run-on-comment.yml\n    with:\n      runs-on: '[\"self-hosted\", \"test\"]'\n      keyword: python3.11-pandas1.5-all-tests\n      commands: |\n        tox -v -e py311-pandas15,report -- pytest --cov --cov-report=term-missing -vv tests\n      description: Run of all tests on Python v3.11 with Pandas v1.5\n      timeout-minutes: 8640\n      application-organization: UCL\n    secrets:\n      application-id: ${{ secrets.COMMENT_BOT_APP_ID }}\n      application-private-key: ${{ secrets.COMMENT_BOT_APP_PRIVATE_KEY }}\n\n  python311_pandas20_fast_tests:\n    uses: ./.github/workflows/run-on-comment.yml\n    with:\n      runs-on: '[\"self-hosted\", \"test\"]'\n      keyword: python3.11-pandas2.0-fast-tests\n      commands: |\n        tox -v -e py311-pandas20,report -- pytest --skip-slow --cov --cov-report=term-missing -vv tests\n      description: Run of fast tests on Python v3.11 with Pandas v2.0\n      timeout-minutes: 8640\n      application-organization: UCL\n    secrets:\n      application-id: ${{ secrets.COMMENT_BOT_APP_ID }}\n      application-private-key: ${{ secrets.COMMENT_BOT_APP_PRIVATE_KEY }}\n\n  python311_pandas20_all_tests:\n    uses: ./.github/workflows/run-on-comment.yml\n    with:\n      runs-on: '[\"self-hosted\", \"test\"]'\n      keyword: python3.11-pandas2.0-all-tests\n      commands: |\n        tox -v -e py311-pandas20,report -- pytest --cov --cov-report=term-missing -vv tests\n      description: Run of all tests on Python v3.11 with Pandas v2.0\n      timeout-minutes: 8640\n      application-organization: UCL\n    secrets:\n      application-id: ${{ secrets.COMMENT_BOT_APP_ID }}\n      application-private-key: ${{ secrets.COMMENT_BOT_APP_PRIVATE_KEY }}\n\n  python311_pandas21_fast_tests:\n    uses: ./.github/workflows/run-on-comment.yml\n    with:\n      runs-on: '[\"self-hosted\", \"test\"]'\n      keyword: python3.11-pandas2.1-fast-tests\n      commands: |\n        tox -v -e py311-pandas21,report -- pytest --skip-slow --cov --cov-report=term-missing -vv tests\n      description: Run of fast tests on Python v3.11 with Pandas v2.1\n      timeout-minutes: 8640\n      application-organization: UCL\n    secrets:\n      application-id: ${{ secrets.COMMENT_BOT_APP_ID }}\n      application-private-key: ${{ secrets.COMMENT_BOT_APP_PRIVATE_KEY }}\n    \n  python311_pandas21_all_tests:\n    uses: ./.github/workflows/run-on-comment.yml\n    with:\n      runs-on: '[\"self-hosted\", \"test\"]'\n      keyword: python3.11-pandas2.1-all-tests\n      commands: |\n        tox -v -e py311-pandas21,report -- pytest --cov --cov-report=term-missing -vv tests\n      description: Run of all tests on Python v3.11 with Pandas v2.1\n      timeout-minutes: 8640\n      application-organization: UCL\n    secrets:\n      application-id: ${{ secrets.COMMENT_BOT_APP_ID }}\n      application-private-key: ${{ secrets.COMMENT_BOT_APP_PRIVATE_KEY }}\n\n  dummy_job:\n    uses: ./.github/workflows/run-on-comment.yml\n    with:\n      runs-on: '[\"self-hosted\", \"test\"]'\n      keyword: dummy-job\n      commands: 'true'\n      description: Dummy job for testing workflow\n      application-organization: UCL\n    secrets:\n      application-id: ${{ secrets.COMMENT_BOT_APP_ID }}\n      application-private-key: ${{ secrets.COMMENT_BOT_APP_PRIVATE_KEY }}\n", "state": "active", "repository": "UCL/TLOmodel"}
{"mined_at": "2024-07-15T19:05:20.636620", "created_at": "2023-09-07T10:26:19+02:00", "updated_at": "2023-09-12T12:44:32+02:00", "name": "Run profiling", "path": ".github/workflows/run-profiling.yaml", "contents": "# Runs a pyinstrument profiling session on the scale_run profiling model,\n# capturing the profiling result and sending it to the TLOmodel-profiling\n# repository for processing and display.\n#\n# Profiling script executed is src/scripts/profiling/run-profiling.py.\n# Output is the .pyisession file from the profiler, placed into results/\n# results/ folder is then pushed to the TLOmodel-profiling repo, results branch.\nname: Run profiling\n\non:\n  workflow_dispatch:\n  # Allow profiling to be triggered by comments on pull requests\n  # Trigger is /run profiling\n  issue_comment:\n    types:\n      - created\n  # Profile the model every Saturday at 00:00, \n  # on the HEAD of master\n  schedule:\n    - cron: 0 0 * * 6\n\nconcurrency:\n  # Prevent multiple profiling runs from happening on the same\n  # commit simultaneously.\n  # This ensures we don't overwrite the artifact to be uploaded\n  # with another run that uses the same name, before the results\n  # can be processed. \n  group: profiling-${{ github.workflow }}-${{ github.ref }}\n\njobs:\n  set-variables:\n    name: Create unique output file identifier and artifact name\n    runs-on: ubuntu-latest\n    if: (github.event_name != 'issue_comment') || ((github.event_name == 'issue_comment') && (github.event.comment.body == '/run profiling'))\n    outputs:\n      profiling-output-dir: profiling_results/\n      profiling-filename: ${{ steps.set-profiling-filename.outputs.name }}\n      artifact-name: ${{ steps.set-artifact-name.outputs.name }}\n      profiling-on-sha: ${{ steps.determine-correct-sha.outputs.result }}\n      profiling-event-trigger: ${{ steps.set-github-info.outputs.event }}\n    steps:\n      - id: determine-if-pr-comment\n        name: Determine if this is a PR comment\n        run: |\n          if ! [ -z \"${{ github.event.issue.pull_request }}\" ]; then echo \"is-pr=true\" >> \"${GITHUB_OUTPUT}\"; else echo \"is-pr=false\" >> \"${GITHUB_OUTPUT}\"; fi\n\n      - id: determine-correct-sha\n        name: Determine the SHA to run profiling on\n        uses: actions/github-script@v7\n        with:\n          result-encoding: string\n          script: |\n            if (\"${{ steps.determine-if-pr-comment.outputs.is-pr }}\" === \"true\") {\n              const { data: pr } = await github.rest.pulls.get({\n                owner: context.issue.owner,\n                repo: context.issue.repo,\n                pull_number: context.issue.number,\n              });\n              return pr.head.sha;\n            };\n            return context.sha;\n\n      - id: set-profiling-filename\n        name: Set profiling output file name\n        run: |\n          echo \"name=${GITHUB_EVENT_NAME}_${GITHUB_RUN_NUMBER}_${{ steps.determine-correct-sha.outputs.result }}\" >> \"${GITHUB_OUTPUT}\"\n\n      - id: set-artifact-name\n        name: Set artifact name\n        run: |\n          echo \"name=profiling_results_${GITHUB_RUN_NUMBER}\" >> \"${GITHUB_OUTPUT}\"\n\n      - id: set-github-info\n        name: Fix Git and GitHub information when passing between workflows\n        run: |\n          echo \"sha=${{ steps.determine-correct-sha.outputs.result }}\" >> \"${GITHUB_OUTPUT}\"\n          echo \"event=${GITHUB_EVENT_NAME}\" >> \"${GITHUB_OUTPUT}\"\n\n  profile-on-comment:\n    name: Comment triggered profiling\n    if: github.event_name == 'issue_comment'\n    needs: set-variables\n    uses: ./.github/workflows/run-on-comment.yml\n    with:\n      runs-on: '[\"self-hosted\", \"profiling\"]'\n      keyword: profiling\n      commands: |\n        tox -vv -e profile -- \\\n          --html \\\n          --flat-html \\\n          --root-output-dir ${{ needs.set-variables.outputs.profiling-output-dir }} \\\n          --output-name ${{ needs.set-variables.outputs.profiling-filename }} \\\n          --additional-stats \\\n          sha=${{ needs.set-variables.outputs.profiling-on-sha }} \\\n          trigger=${{ needs.set-variables.outputs.profiling-event-trigger }} \\\n          --disable-log-output-to-stdout\n      description: Profiled run of the model\n      timeout-minutes: 8640\n      application-organization: UCL\n      artifact-path: ${{ needs.set-variables.outputs.profiling-output-dir }}\n      artifact-name: ${{ needs.set-variables.outputs.artifact-name }}\n      artifact-retention-days: 1\n    secrets:\n      application-id: ${{ secrets.COMMENT_BOT_APP_ID }}\n      application-private-key: ${{ secrets.COMMENT_BOT_APP_PRIVATE_KEY }}\n\n  profile-on-dispatch:\n    name: Scheduled / dispatch triggered profiling\n    if: ${{ github.event_name != 'issue_comment' }}\n    needs: set-variables\n    runs-on: [self-hosted, profiling]\n    timeout-minutes: 8640\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.sha }}\n          lfs: true\n\n      ## The profile environment produces outputs in the /results directory\n      - name: Run profiling in dev environment\n        run: |\n          tox -vv -e profile -- \\\n            --html \\\n            --flat-html \\\n            --root-output-dir ${{ needs.set-variables.outputs.profiling-output-dir }} \\\n            --output-name ${{ needs.set-variables.outputs.profiling-filename }} \\\n            --additional-stats \\\n            sha=${{ needs.set-variables.outputs.profiling-on-sha }} \\\n            trigger=${{ needs.set-variables.outputs.profiling-event-trigger }} \\\n            --disable-log-output-to-stdout\n\n      ## Upload the output as an artifact so we can push it to the profiling repository\n      - name: Save results as artifact\n        uses: actions/upload-artifact@v4\n        with:\n          name: ${{ needs.set-variables.outputs.artifact-name }}\n          path: ${{ needs.set-variables.outputs.profiling-output-dir }}\n          retention-days: 1\n  \n  upload-profiling-results:\n    name: Upload profiling results\n    # Run on GH runners to free up self-hosted machines;\n    # because we need Docker for the workflow call below,\n    # and because we're now just pushing results files to another repo\n    runs-on: ubuntu-latest\n    # Only run this step if exactly one of the previous two jobs ran successfully\n    # see https://stackoverflow.com/a/68952093 for more details\n    # NOTE: We need to explicitly depend on set-variables to access the artifact name\n    needs: [set-variables, profile-on-comment, profile-on-dispatch]\n    if: |\n      always() && (\n        (needs.profile-on-comment.result == 'success' && needs.profile-on-dispatch.result == 'skipped') ||\n        (needs.profile-on-comment.result == 'skipped' && needs.profile-on-dispatch.result == 'success')\n      )\n    steps:\n      - name: Download the profiling results\n        uses: actions/download-artifact@v4\n        with:\n          name: ${{ needs.set-variables.outputs.artifact-name }}\n          path: ${{ needs.set-variables.outputs.profiling-output-dir }}\n\n      ## The token provided needs contents and pages access to the target repo\n      ## Token can be (re)generated by a member of the UCL organisation, \n      ## the current member is the rc-softdev-admin.\n      ## [10-07-2023] The current token will expire 10-07-2024\n      - name: Push results to profiling repository\n        uses: dmnemec/copy_file_to_another_repo_action@v1.1.1\n        env:\n          API_TOKEN_GITHUB: ${{ secrets.PROFILING_REPO_ACCESS }}\n        with:\n          source_file: ${{ needs.set-variables.outputs.profiling-output-dir }}\n          destination_repo: UCL/TLOmodel-profiling\n          destination_folder: .\n          destination_branch: results\n          user_email: rsd-notifications@ucl.ac.uk\n          user_name:  rc-softdev-admin\n\n      - name: Trigger website rebuild\n        uses: peter-evans/repository-dispatch@v3\n        with:\n          token: ${{ secrets.PROFILING_REPO_ACCESS }}\n          repository: UCL/TLOmodel-profiling\n          event-type: new-profiling-results\n", "state": "active", "repository": "UCL/TLOmodel"}
{"mined_at": "2024-07-15T19:05:21.770980", "created_at": "2023-09-22T18:20:01+02:00", "updated_at": "2023-09-25T15:43:29+02:00", "name": "Checks", "path": ".github/workflows/checks.yml", "contents": "name: Checks\n\non:\n  push:\n    branches: \"master\"\n    tags: [\"*\"]\n  pull_request:\n  schedule:\n    - cron: 0 0 * * *\n\n# Force cancellation of in-progress workflows if changes are made to\n# the HEAD of the branch the workflow is currently running on.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  # master branch will be allowed to have pending jobs\n  # https://stackoverflow.com/a/70972844\n  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}\n\njobs:\n        \n  check:\n    name: Run checks\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          lfs: false\n      - name: Cache tox\n        uses: actions/cache@v4\n        with:\n          path: .tox\n          key: tox-${{hashFiles('requirements/*.txt', 'tox.ini')}}\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install tox\n        run: python3 -m pip install tox\n      - name: Run checks with tox\n        run: tox -v -e check\n", "state": "active", "repository": "UCL/TLOmodel"}
{"mined_at": "2024-07-15T19:05:22.925451", "created_at": "2023-09-22T18:25:27+02:00", "updated_at": "2023-09-25T15:43:29+02:00", "name": "Tests", "path": ".github/workflows/tests.yml", "contents": "name: Tests\n\non:\n  push:\n    branches: \"master\"\n    tags: [\"*\"]\n  pull_request:\n    paths:\n      - .github/workflows/tests.yml\n      - requirements/**\n      - resources/**\n      - src/tlo/**\n      - tests/**\n      - pyproject.toml\n      - tox.ini\n  schedule:\n    - cron: 0 0 * * *\n\n# Force cancellation of in-progress workflows if changes are made to\n# the HEAD of the branch the workflow is currently running on.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  # master branch will be allowed to have pending jobs\n  # https://stackoverflow.com/a/70972844\n  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}\n\nenv:\n  LD_PRELOAD: /lib/x86_64-linux-gnu/libSegFault.so\n  SEGFAULT_SIGNALS: all\n\njobs:\n\n  gen-test-matrix:\n    name: Find test files\n    runs-on: ubuntu-latest\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          # No tests should be under LFS so no need to fetch LFS files\n          lfs: false\n      - id: set-matrix\n        name: Set matrix\n        run: |\n          set -e\n          # Find all test files and generate their list in JSON format\n          VAR_FILES=\"{\\\"include\\\":[\"\n          for file in tests/test_*.py; do\n              VAR_FILES=\"${VAR_FILES}{\\\"file\\\":\\\"${file}\\\"},\"\n          done\n          VAR_FILES=\"${VAR_FILES}]}\"\n          echo $VAR_FILES\n          echo \"matrix=${VAR_FILES}\" >> $GITHUB_OUTPUT\n\n  test:\n    needs: gen-test-matrix\n    name: Test ${{ matrix.file }}\n    runs-on: [self-hosted, test]\n    strategy:\n      fail-fast: false\n      matrix: ${{ fromJson(needs.gen-test-matrix.outputs.matrix) }}\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          lfs: true\n      - name: System info\n        run: |\n          set -x\n          python3 --version\n          uname -a\n          lsb_release -a\n          virtualenv --version\n          pip --version\n          tox --version\n      - name: Test with tox\n        run: |\n          tox -v -e py311,report -- pytest --cov --cov-report=term-missing -vv \"${{ matrix.file }}\"\n", "state": "active", "repository": "UCL/TLOmodel"}
{"mined_at": "2024-07-15T19:05:24.015609", "created_at": "2023-09-22T18:25:27+02:00", "updated_at": "2023-09-25T15:43:29+02:00", "name": "Documentation", "path": ".github/workflows/docs.yml", "contents": "name: Documentation\n\non:\n  push:\n    branches: \"master\"\n    tags: [\"*\"]\n  pull_request:\n    paths:\n      - .github/workflows/docs.yml\n      - docs/**\n      - requirements/**\n      - src/tlo/**\n      - README.rst\n      - pyproject.toml\n      - tox.ini\n  schedule:\n    - cron: 0 0 * * *\n\n# Force cancellation of in-progress workflows if changes are made to\n# the HEAD of the branch the workflow is currently running on.\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  # master branch will be allowed to have pending jobs\n  # https://stackoverflow.com/a/70972844\n  cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}\n  \njobs:\n\n  build-docs:\n    name: Build documentation\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          lfs: true\n      - name: Cache tox\n        uses: actions/cache@v4\n        with:\n          path: .tox\n          key: tox-${{hashFiles('requirements/*.txt', 'tox.ini')}}\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: 3.11\n      - name: Install tox\n        run: python3 -m pip install tox\n      - name: Build HTML documentation with tox\n        run: tox -v -e docs\n", "state": "active", "repository": "UCL/TLOmodel"}
{"mined_at": "2024-07-15T19:05:25.151556", "created_at": "2023-11-24T16:27:41+01:00", "updated_at": "2023-11-28T13:22:47+01:00", "name": "Calibration", "path": ".github/workflows/calibration.yaml", "contents": "name: Calibration\n\non:\n  workflow_dispatch:\n    inputs:\n      commit:\n        description: '40-character commit hash'\n        required: true\n        default: \"\"\n        type: string\n  schedule:\n    - cron: 31 2 * * *\n\nenv:\n  REPO_PATH:       /mnt/tlo/TLOmodel\n  OUTPUT_ROOT:     /mnt/tlodev2stg/tlo-dev-fs-2/task-runner/output\n  RUNS_NUMBER:     10\n  PYTHON_VER:      3.11\n  RUN_NAME:        021_long_run_all_diseases_run\n  PROCESS_NAME:    022_long_run_all_diseases_process\n\njobs:\n\n  # Do a single clone from the remote repository, to reduce bandwidth usage.\n  # The repo is cloned to a directory outside of the runner workspace, because\n  # we want it to survive the current job, but this also means we can't use the\n  # `actions/checkout` workflow.\n  setup:\n    name: Setup\n    runs-on: [tlo-dev-vm-1]\n    strategy:\n      fail-fast: false\n    outputs:\n      # Environment variables can be passed to following steps within the same job by adding\n      # them to `GITHUB_ENV`, but to pass data to other jobs we have to necessarily use\n      # `GITHUB_OUTPUT`.\n      environment_path: ${{ steps.vars.outputs.environment_path }}\n      worktree_path: ${{ steps.vars.outputs.worktree_path }}\n      output_dir: ${{ steps.out-dir.outputs.output_dir }}\n      skip_tasks: ${{ steps.tasks.outputs.skip_tasks }}\n      tasks: ${{ steps.tasks.outputs.tasks }}\n    steps:\n      - name: Generate environment variables\n        id: vars\n        run: |\n          if [[ ${{ github.event_name }} == 'workflow_dispatch' ]] && [[ -n \"${{ inputs.commit }}\" ]]; then\n              SHA=${{ inputs.commit }}\n          else\n              SHA=${{ github.sha }}\n          fi\n          ENV=\"/mnt/tlo/env-${SHA}\"\n          if [[ -d \"${ENV}\" ]]; then\n              echo \"Virtual environment directory ${ENV} already exists, leaving...\"\n              exit 1\n          fi\n          WORKTREE_PATH=\"/mnt/tlo/${SHA}\"\n          if [[ -d \"${WORKTREE_PATH}\" ]]; then\n              echo \"Worktree directory ${WORKTREE_PATH} already exists, leaving...\"\n              exit 1\n          fi\n          echo \"SHA=${SHA}\"\n          echo \"SHA=${SHA}\" >> \"${GITHUB_ENV}\"\n          echo \"ENV=${ENV}\"\n          echo \"ENV=${ENV}\" >> \"${GITHUB_ENV}\"\n          echo \"environment_path=${ENV}\" >> \"${GITHUB_OUTPUT}\"\n          echo \"WORKTREE_PATH=${WORKTREE_PATH}\"\n          echo \"WORKTREE_PATH=${WORKTREE_PATH}\" >> \"${GITHUB_ENV}\"\n          echo \"worktree_path=${WORKTREE_PATH}\" >> \"${GITHUB_OUTPUT}\"\n\n      - name: Clone remote TLO repository and fetch desired commit\n        run: |\n          # If the repository doesn't exist on disk, clone it.\n          if [[ ! -d \"${REPO_PATH}\" ]]; then\n              git clone --depth=1 --branch=\"${{ github.ref_name }}\" \"https://github.com/${{ github.repository }}.git\" \"${REPO_PATH}\"\n          fi\n          # In any case, fetch the requested commit.\n          git -C \"${REPO_PATH}\" fetch --depth=1 origin \"${SHA}\"\n\n      - name: Create worktree\n        run: |\n          git -C \"${REPO_PATH}\" worktree add \"${WORKTREE_PATH}\" ${SHA}\n\n      - name: Create virtual environment\n        run: |\n          python${PYTHON_VER} -m venv \"${ENV}\"\n          source \"${ENV}/bin/activate\"\n          pip install -r requirements/dev.txt\n          pip install -e .\n        working-directory: \"${{ env.WORKTREE_PATH }}\"\n\n      - name: Generate output directory\n        id: out-dir\n        run: |\n          commit_dir=$(git show -s --date=format:'%Y-%m-%d_%H%M%S' --format=%cd_%h \"${SHA}\")\n          output_dir=\"${OUTPUT_ROOT}/${commit_dir}\"\n          echo \"output_dir=${output_dir}\"\n          echo \"output_dir=${output_dir}\" >> \"${GITHUB_ENV}\"\n          echo \"output_dir=${output_dir}\" >> \"${GITHUB_OUTPUT}\"\n        working-directory: \"${{ env.WORKTREE_PATH }}\"\n\n      - name: Generate list of tasks\n        id: tasks\n        run: |\n          SKIP_TASKS=\"false\"\n          if [[ -d \"${output_dir}\" ]]; then\n              echo \"Output directory ${output_dir} already exists, setting RUNS_NUMBER to 1 and skipping further task runs\"\n              RUNS_NUMBER=1\n              # Set variable to make task job run, but exit immediately, so that\n              # the build doesn't fail.\n              SKIP_TASKS=\"true\"\n          fi\n          echo \"SKIP_TASKS=${SKIP_TASKS}\"\n          echo \"SKIP_TASKS=${SKIP_TASKS}\" >> \"${GITHUB_ENV}\"\n          echo \"skip_tasks=${SKIP_TASKS}\" >> \"${GITHUB_OUTPUT}\"\n          RUNS=\"[\"\n          for run in $(seq 0 $((${RUNS_NUMBER} - 1))); do\n              RUNS=\"${RUNS}\\\"${run}\\\",\"\n          done\n          RUNS=\"${RUNS}]\"\n          echo \"tasks=${RUNS}\"\n          echo \"tasks=${RUNS}\" >> \"${GITHUB_OUTPUT}\"\n\n      - name: Write info.txt file\n        if: ${{ env.SKIP_TASKS == 'false' }}\n        run: |\n          mkdir -p \"${output_dir}\"\n          info_txt=\"${output_dir}/info.txt\"\n          git -C \"${WORKTREE_PATH}\" log --pretty=format:\"%H%x09%ad%x09%s\" --date=iso-strict -n 1 > \"${info_txt}\"\n          echo -e \"\\n${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}\" >> \"${info_txt}\"\n          echo \"Content of ${info_txt}:\"\n          cat \"${info_txt}\"\n\n  # Run the tasks.\n  tasks:\n    needs: setup\n    name: Run task ${{ matrix.index }}\n    runs-on: [tlo-dev-vm-1, tasks] # Use only runners dedicated to running the tasks.\n    timeout-minutes: 5760 # = 4 * 24 * 60 minutes = 4 days\n    strategy:\n      fail-fast: false\n      matrix:\n        index: ${{ fromJSON(needs.setup.outputs.tasks) }}\n    steps:\n      - name: Run the task\n        run: |\n          if [[ \"${{ needs.setup.outputs.skip_tasks }}\" == true ]]; then\n              echo \"Nothing to be done, exiting...\"\n              exit 0\n          fi\n          source \"${{ needs.setup.outputs.environment_path }}/bin/activate\"\n          draw=0\n          task_output_dir=\"${{ needs.setup.outputs.output_dir }}/${RUN_NAME}/${draw}/${{ matrix.index }}\"\n          mkdir -p \"${task_output_dir}\"\n\n          tlo scenario-run --output-dir \"${task_output_dir}\" --draw \"${draw}\" ${{ matrix.index }} \"${{ needs.setup.outputs.worktree_path }}/src/scripts/calibration_analyses/scenarios/long_run_all_diseases.py\"\n        working-directory: \"${{ needs.setup.outputs.worktree_path }}\"\n\n  # Do the postprocessing\n  postprocess:\n    name: Post processing\n    needs: [setup, tasks]\n    runs-on: [tlo-dev-vm-1, postprocess] # Use only the runners dedicated to postprocessing\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Run post-processing\n        run: |\n          if [[ \"${{ needs.setup.outputs.skip_tasks }}\" == true ]]; then\n              echo \"Nothing to be done, exiting...\"\n              exit 0\n          fi\n          source \"${{ needs.setup.outputs.environment_path }}/bin/activate\"\n          task_output_dir=\"${{ needs.setup.outputs.output_dir }}/${PROCESS_NAME}\"\n          mkdir -p \"${task_output_dir}\"\n\n          python3 \"${{ needs.setup.outputs.worktree_path }}/src/scripts/calibration_analyses/analysis_scripts/process.py\" \"${task_output_dir}\" \"${RUN_NAME}\" \"${{ needs.setup.outputs.worktree_path }}/resources\"\n          python3 \"${{ needs.setup.outputs.worktree_path }}/src/scripts/task_runner/generate_html.py\" \"${OUTPUT_ROOT}\" > \"${OUTPUT_ROOT}/index.html\"\n        working-directory: \"${{ needs.setup.outputs.worktree_path }}\"\n\n      - name: Compress log files\n        run: |\n          find \"${{ needs.setup.outputs.output_dir }}\" -name '*.log' -exec gzip --best --force --verbose '{}' \\;\n\n  # Cleanup stage, to remove temporary directories and such\n  cleanup:\n    name: Cleanup job\n    timeout-minutes: 10\n    needs: [setup, tasks, postprocess]\n    # `always()` to run even if tasks and postprocess are skipped, but make sure\n    # `setup` was successful, to avoid cleaning up existing worktrees and\n    # environments used by other builds.\n    if: ${{ always() && needs.setup.result == 'success' }}\n    runs-on: [tlo-dev-vm-1]\n    strategy:\n      fail-fast: false\n    steps:\n      - name: Cleanup worktree\n        run: |\n          git -C \"${REPO_PATH}\" worktree remove -f \"${{ needs.setup.outputs.worktree_path }}\" || true\n\n      - name: Cleanup virtual environment\n        run: |\n          rm -rvf \"${{ needs.setup.outputs.environment_path }}\"\n", "state": "active", "repository": "UCL/TLOmodel"}
{"mined_at": "2024-07-15T19:05:26.256360", "created_at": "2024-05-17T17:03:19+02:00", "updated_at": "2024-06-04T17:53:41+02:00", "name": "Calibrations (nightly)", "path": ".github/workflows/calibrations.yaml", "contents": null, "state": "active", "repository": "UCL/TLOmodel"}
{"mined_at": "2024-07-15T19:05:27.263095", "created_at": "2024-05-17T19:05:58+02:00", "updated_at": "2024-05-23T13:43:58+02:00", "name": "CI Experiments", "path": ".github/workflows/test.yaml", "contents": null, "state": "active", "repository": "UCL/TLOmodel"}
{"mined_at": "2024-07-15T19:05:29.447910", "created_at": "2021-12-17T10:43:51+01:00", "updated_at": "2021-12-17T10:43:51+01:00", "name": "pages-build-deployment", "path": "dynamic/pages/pages-build-deployment", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:30.467327", "created_at": "2023-01-30T18:11:23+01:00", "updated_at": "2023-01-30T18:11:23+01:00", "name": "CodeQL", "path": "dynamic/github-code-scanning/codeql", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:31.578887", "created_at": "2023-12-14T17:24:23+01:00", "updated_at": "2023-12-14T17:24:23+01:00", "name": "Code Coverage", "path": ".github/workflows/codecoverage.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:32.711529", "created_at": "2023-12-21T12:17:17+01:00", "updated_at": "2023-12-21T12:17:17+01:00", "name": "Get operations engineering repositories", "path": ".github/workflows/report-repo-metadata.yaml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:33.853990", "created_at": "2024-01-02T18:50:59+01:00", "updated_at": "2024-01-02T18:50:59+01:00", "name": ".github/workflows/terraform-plan.yml", "path": ".github/workflows/terraform-plan.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:34.954380", "created_at": "2024-01-03T15:56:55+01:00", "updated_at": "2024-01-03T18:22:39+01:00", "name": "Auth0 Terraform Plan", "path": ".github/workflows/auth0-terraform-plan.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:36.106908", "created_at": "2024-01-05T10:29:00+01:00", "updated_at": "2024-01-05T15:37:41+01:00", "name": "♻️ Dependency Review", "path": ".github/workflows/cicd-dependency-review.yml", "contents": "# Need a GitHub Advanced Security license to run this action on private repos.\n\nname: ♻️ Dependency Review\non:\n  pull_request:\n    types: [opened, edited, reopened, synchronize]\n    paths-ignore:\n      - \"source/**\"\n\npermissions:\n  contents: read\n\njobs:\n  dependency-review:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v4\n      - name: Dependency Review\n        uses: actions/dependency-review-action@v3\n        with:\n          # Possible values: critical, high, moderate, low\n          fail-on-severity: critical\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:37.216290", "created_at": "2024-01-05T10:29:00+01:00", "updated_at": "2024-01-05T15:37:41+01:00", "name": "♻️ Tests", "path": ".github/workflows/cicd-tests.yml", "contents": "name: ♻️ Tests\non:\n  push:\n    branches: [\"main\"]\n  pull_request:\n    branches: [\"main\"]\n\njobs:\n  run-unit-tests:\n    name: Run Unit Tests\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis\n      - name: Set up Python\n        uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: pip install pipenv\n      - name: Verify Pipfile.lock is in sync\n        run: pipenv verify\n      - name: Install dependencies\n        run: pipenv install --dev\n      - name: Run Unit Tests\n        run: pipenv run tests\n      - name: Show Coverage\n        run: pipenv run tests_report\n      - name: Upload Coverage to Codecov\n        uses: codecov/codecov-action@v4\n        with:\n          token: ${{secrets.CODECOV_TOKEN}}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:38.245138", "created_at": "2024-01-05T10:29:00+01:00", "updated_at": "2024-01-05T15:37:41+01:00", "name": "♻️ MegaLinter", "path": ".github/workflows/cicd-mega-linter.yml", "contents": "# MegaLinter GitHub Action configuration file\n# More info at https://megalinter.io\nname: ♻️ MegaLinter\n\non:\n  # Trigger mega-linter at every push. Action will also be visible from Pull Requests to main\n  # push: # Comment this line to trigger action only on pull-requests\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n    inputs:\n      lint_entire_codebase:\n        description: \"Lint entire codebase?\"\n        required: false\n        default: \"false\"\n\nconcurrency:\n  group: ${{ github.ref }}-${{ github.workflow }}\n  cancel-in-progress: true\n\njobs:\n  megalinter:\n    name: MegaLinter\n    runs-on: ubuntu-latest\n    permissions:\n      # Give the default GITHUB_TOKEN write permission to commit and push, comment issues & post new PR\n      # Remove the ones you do not need\n      contents: write\n      issues: write\n      pull-requests: write\n    steps:\n      # Git Checkout\n      - name: Checkout Code\n        uses: actions/checkout@v4\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances\n\n      # MegaLinter\n      - name: MegaLinter\n        id: ml\n        # DISABLE: COPYPASTE,SPELL # Uncomment to disable copy-paste and spell checks\n        # You can override MegaLinter flavor used to have faster performances\n        # More info at https://megalinter.io/latest/flavors/\n        uses: oxsecurity/megalinter/flavors/python@v7.12.0\n        env:\n          # All available variables are described in documentation\n          # https://megalinter.io/latest/configuration/\n          VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'workflow_dispatch' && inputs.lint_entire_codebase == 'true' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          # ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOS\n      # Upload MegaLinter artifacts\n      - name: Archive production artifacts\n        if: success() || failure()\n        uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1\n        with:\n          name: MegaLinter reports\n          path: |\n            megalinter-reports\n            mega-linter.log\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:39.332166", "created_at": "2024-01-05T15:37:41+01:00", "updated_at": "2024-01-05T15:37:41+01:00", "name": "🧪 Check for GitHub Anomalies", "path": ".github/workflows/experiment-check-for-github-anomalies.yml", "contents": "name: 🧪 Check for GitHub Anomalies\r\n\r\non:\r\n  workflow_dispatch:\r\n\r\njobs:\r\n  check-for-github-anomalies:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/checkout@v4\r\n      - uses: actions/setup-python@v5\r\n        with:\r\n          python-version: \"3.11\"\r\n          cache: \"pipenv\"\r\n      - name: Install Pipenv\r\n        run: |\r\n          pip install pipenv\r\n          pipenv install\r\n      - run: pipenv run python3 -m bin.check_for_github_anomalies\r\n        env:\r\n          ADMIN_GITHUB_TOKEN: ${{ secrets.GH_BOT_AUDIT_LOG_PAT_TOKEN }}\r\n          ADMIN_SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\r\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\r\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:40.360126", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🧪 Get Slack and GitHub Usernames", "path": ".github/workflows/experiment-get-usernames-from-github-slack-poc.yml", "contents": "name: 🧪 Get Slack and GitHub Usernames\r\n\r\non:\r\n  workflow_dispatch:\r\n\r\njobs:\r\n  get-slack-github-usernames:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/checkout@v4\r\n      - uses: actions/setup-python@v5\r\n        with:\r\n          python-version: \"3.11\"\r\n          cache: \"pipenv\"\r\n      - name: Install Pipenv\r\n        run: |\r\n          pip install pipenv\r\n          pipenv install\r\n      - run: pipenv run python3 -m bin.get_github_and_slack_usernames\r\n        env:\r\n          ADMIN_GITHUB_TOKEN: ${{ secrets.GH_BOT_PAT_TOKEN }}\r\n          ADMIN_SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\r\n          METADATA_API_URL: ${{ secrets.METADATA_API_URL }}\r\n          METADATA_API_TOKEN: ${{ secrets.METADATA_API_TOKEN }}\r\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:41.438045", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🧪 Metadata Generation", "path": ".github/workflows/experiment-metadata-generation.yml", "contents": "name: 🧪 Metadata Generation\r\n\r\non:\r\n  workflow_dispatch:\r\n\r\njobs:\r\n  fetch-metadata:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n    - name: Checkout code\r\n      uses: actions/checkout@v4\r\n\r\n    - name: Get repository metadata using MetaMaker\r\n      id: metadata\r\n      uses: ministryofjustice/metamaker@main\r\n      with:\r\n        repo-name: 'ministryofjustice/${{ github.repository }}'\r\n\r\n    - name: Display metadata\r\n      run: echo \"${{ steps.metadata.outputs.metadata }}\"", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:42.660848", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🤖 Add GitHub Members to Root Team (MoJ)", "path": ".github/workflows/job-add-github-members-to-root-team-moj.yml", "contents": "name: 🤖 Add GitHub Members to Root Team (MoJ)\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 8,10,12,14,16 * * 1-5\"\n\njobs:\n  run-script:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.add_users_all_org_members_github_team\n        env:\n          ADMIN_GITHUB_TOKEN: ${{ secrets.GH_BOT_PAT_TOKEN }}\n          GITHUB_ORGANIZATION_NAME: ministryofjustice\n          LOGGING_LEVEL: ${{ secrets.LOGGING_LEVEL }}\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed GitHub Action Run\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:43.772543", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🤖 Add GitHub Members to Root Team (MoJAS)", "path": ".github/workflows/job-add-github-members-to-root-team-mojas.yml", "contents": "name: 🤖 Add GitHub Members to Root Team (MoJAS)\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 8,10,12,14,16 * * 1-5\"\n\njobs:\n  run-script:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.add_users_all_org_members_github_team\n        env:\n          ADMIN_GITHUB_TOKEN: ${{ secrets.GH_BOT_PAT_TOKEN }}\n          GITHUB_ORGANIZATION_NAME: moj-analytical-services\n          LOGGING_LEVEL: ${{ secrets.LOGGING_LEVEL }}\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed GitHub Action Run\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:45.016206", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🤖 Alarm if The Number of GitHub Seats is Low", "path": ".github/workflows/job-alarm-for-low-github-seats.yaml", "contents": "name: 🤖 Alarm if The Number of GitHub Seats is Low\n\non:\n  schedule:\n    - cron: \"0 6,12,16 * * *\" # Runs daily at 0600, 1200 and 1600\n  workflow_dispatch:\n\njobs:\n  low-seats-threshold:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.alert_on_low_github_licences\n        env:\n          ADMIN_GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN_ENTERPRISE_DATA }}\n          ADMIN_SLACK_TOKEN: ${{ secrets.ADMIN_SEND_TO_SLACK }}\n\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed to check for low GitHub seats\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:46.140092", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🤖 Alarm if a New GitHub Owner is Added", "path": ".github/workflows/job-alarm-for-new-github-owners.yml", "contents": "name: 🤖 Alarm if a New GitHub Owner is Added\n\non:\n  schedule:\n    # Runs once a week on Monday at 1200\n    - cron: \"0 12 * * 1\"\n  workflow_dispatch:\n\njobs:\n  check-for-new-github-owners:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.check_for_new_github_owners\n        env:\n          ADMIN_GITHUB_TOKEN: ${{ secrets.GH_BOT_AUDIT_LOG_PAT_TOKEN}}\n          ADMIN_SLACK_TOKEN: ${{ secrets.ADMIN_SEND_TO_SLACK }}\n\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed to check for new GitHub owners\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:47.370975", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🤖 Alarm Unowned Repositories", "path": ".github/workflows/job-alarm-unowned-repository.yaml", "contents": "name: 🤖 Alarm Unowned Repositories\n\non:\n  schedule:\n    - cron: \"0 10 * * 1\" # once a week Monday at 10am\n  workflow_dispatch: # So we can trigger manually\n\njobs:\n  report-on-unowned-github-repositories:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.unowned_repositories ministryofjustice \"${ADMIN_GITHUB_TOKEN}\" \"${ADMIN_SLACK_TOKEN}\"\n        env:\n          ADMIN_GITHUB_TOKEN: ${{ secrets.GH_BOT_PAT_TOKEN }}\n          ADMIN_SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed to report on unowned_repositories\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:48.396824", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🤖 Apply Standards to Repos", "path": ".github/workflows/job-apply-standards.yml", "contents": "name: 🤖 Apply Standards to Repos\n\non:\n  schedule:\n    - cron: \"0 7 * * *\" # Every day at 0700\n  workflow_dispatch: # So we can trigger manually\n\njobs:\n  configure-standards:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.configure_standards\n        env:\n          ADMIN_GITHUB_TOKEN: ${{ secrets.GH_BOT_PAT_TOKEN }}\n          KPI_DASHBOARD_URL: ${{ secrets.KPI_DASHBOARD_POC_URL }}\n          KPI_DASHBOARD_API_KEY: ${{ secrets.KPI_DASHBOARD_POC_API_KEY }}\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed to report on unowned_repositories\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:49.623948", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🤖 Archive Inactive Repos (MoJ)", "path": ".github/workflows/job-archive-inactive-repos-moj.yml", "contents": "name: 🤖 Archive Inactive Repos (MoJ)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 12 * * 1-5\"\n\njobs:\n  archive-repos:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python -m bin.archive_repositories\n        env:\n          ADMIN_GITHUB_TOKEN: ${{ secrets.GH_BOT_PAT_TOKEN }}\n          GITHUB_ORGANIZATION_NAME: ministryofjustice\n          LOGGING_LEVEL: ${{ secrets.LOGGING_LEVEL }}\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed GitHub Action Run\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:50.721906", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🤖 Archive Inactive Repos (MoJAS)", "path": ".github/workflows/job-archive-inactive-repos-mojas.yml", "contents": "name: 🤖 Archive Inactive Repos (MoJAS)\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 12 * * 1-5\"\n\njobs:\n  archive-repos:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python -m bin.archive_repositories\n        env:\n          ADMIN_GITHUB_TOKEN: ${{ secrets.GH_BOT_PAT_TOKEN }}\n          GITHUB_ORGANIZATION_NAME: moj-analytical-services\n          LOGGING_LEVEL: ${{ secrets.LOGGING_LEVEL }}\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed GitHub Action Run\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:51.724958", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🤖 Delete Inactive Auth0 Users", "path": ".github/workflows/job-delete-auth0-inactve-users.yml", "contents": "name: 🤖 Delete Inactive Auth0 Users\non:\n  workflow_dispatch:\n  schedule:\n    - cron: 0 0 * * MON\n\njobs:\n  delete-inactive-auth0-users:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.auth0_delete_inactive_users\n        env:\n          LOGGING_LEVEL: ${{ secrets.LOGGING_LEVEL }}\n          AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }}\n          AUTH0_CLIENT_SECRET: ${{ secrets.AUTH0_CLIENT_SECRET }}\n          AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN}}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:52.795941", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🤖 Delete AWS Route53 CNAME records", "path": ".github/workflows/job-delete-cnames-records.yml", "contents": "name: 🤖 Delete AWS Route53 CNAME records\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 1 1-12 *\"\n\njobs:\n  delete-cnames:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v3\n        with:\n          role-to-assume: ${{secrets.AWS_ID}}\n          aws-region: eu-west-2\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python -m bin.delete_cnames ${{ secrets.ROUTE53_HOSTEDZONE_ID_1 }} ${{ secrets.ROUTE53_HOSTEDZONE_ID_2 }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:53.927133", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🧑‍🔧 Dormant Users Debug Mode", "path": ".github/workflows/job-dormant-users-debug-mode.yml", "contents": "name: 🧑‍🔧 Dormant Users Debug Mode\n\non:\n  workflow_dispatch:\n    inputs:\n      organisation_name:\n        type: choice\n        description: Which Org?\n        required: true\n        options:\n          - ministryofjustice\n          - moj-analytical-services\n      step_one:\n        type: choice\n        description: Run send first email in debug mode\n        required: true\n        options:\n          - true\n          - false\n      step_two:\n        type: choice\n        description: Run send reminder email in debug mode\n        required: true\n        options:\n          - true\n          - false\n      step_three:\n        type: choice\n        description: Run remove users in debug mode\n        required: true\n        options:\n          - true\n          - false\n\njobs:\n  debug-mode:\n    runs-on: ubuntu-latest\n    # These permissions are required to use AWS OIDC federate roles\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v3\n        with:\n          role-to-assume: ${{secrets.AWS_ID_DORMANT_USERS}}\n          aws-region: eu-west-2\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.dormant_users ${{ github.event.inputs.organisation_name }} ${{ secrets.GH_BOT_PAT_TOKEN }} ${{ secrets.S3_BUCKET_NAME }} ${{ secrets.SLACK_BOT_TOKEN }} ${{ secrets.NOTIFY_TEST_API_KEY }} ${{ secrets.AUTH0_CLIENT_SECRET }} ${{ secrets.AUTH0_CLIENT_ID }} ${{ secrets.AUTH0_DOMAIN}} true ${{ github.event.inputs.step_one }} ${{ github.event.inputs.step_two }} ${{ github.event.inputs.step_three }}\n        env:\n          LOGGING_LEVEL: \"DEBUG\"\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:54.940111", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🧑‍🔧 Dormant Users First Email", "path": ".github/workflows/job-dormant-users-first-email.yml", "contents": "name: 🧑‍🔧 Dormant Users First Email\n\non:\n  workflow_dispatch:\n    inputs:\n      organisation_name:\n        type: choice\n        description: Which Org?\n        required: true\n        options:\n          - ministryofjustice\n          - moj-analytical-services\n\njobs:\n  first-email:\n    runs-on: ubuntu-latest\n    # These permissions are required to use AWS OIDC federate roles\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v3\n        with:\n          role-to-assume: ${{secrets.AWS_ID_DORMANT_USERS}}\n          aws-region: eu-west-2\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.dormant_users ${{ github.event.inputs.organisation_name }} ${{ secrets.GH_BOT_PAT_TOKEN }} ${{ secrets.S3_BUCKET_NAME }} ${{ secrets.SLACK_BOT_TOKEN }} ${{ secrets.NOTIFY_PROD_API_KEY }} ${{ secrets.AUTH0_CLIENT_SECRET }} ${{ secrets.AUTH0_CLIENT_ID }} ${{ secrets.AUTH0_DOMAIN}} false true false false\n        env:\n          LOGGING_LEVEL: ${{ secrets.LOGGING_LEVEL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:55.996046", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🧑‍🔧 Dormant Users Reminder Email", "path": ".github/workflows/job-dormant-users-reminder-email.yml", "contents": "name: 🧑‍🔧 Dormant Users Reminder Email\n\non:\n  workflow_dispatch:\n    inputs:\n      organisation_name:\n        type: choice\n        description: Which Org?\n        required: true\n        options:\n          - ministryofjustice\n          - moj-analytical-services\n\njobs:\n  reminder-email:\n    runs-on: ubuntu-latest\n    # These permissions are required to use AWS OIDC federate roles\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v3\n        with:\n          role-to-assume: ${{secrets.AWS_ID_DORMANT_USERS}}\n          aws-region: eu-west-2\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.dormant_users ${{ github.event.inputs.organisation_name }} ${{ secrets.GH_BOT_PAT_TOKEN }} ${{ secrets.S3_BUCKET_NAME }} ${{ secrets.SLACK_BOT_TOKEN }} ${{ secrets.NOTIFY_PROD_API_KEY }} ${{ secrets.AUTH0_CLIENT_SECRET }} ${{ secrets.AUTH0_CLIENT_ID }} ${{ secrets.AUTH0_DOMAIN}} false false true false\n        env:\n          LOGGING_LEVEL: ${{ secrets.LOGGING_LEVEL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:57.099275", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🧑‍🔧 Dormant Users Remove Users", "path": ".github/workflows/job-dormant-users-remove-users.yml", "contents": "name: 🧑‍🔧 Dormant Users Remove Users\n\non:\n  workflow_dispatch:\n    inputs:\n      organisation_name:\n        type: choice\n        description: Which Org?\n        required: true\n        options:\n          - ministryofjustice\n          - moj-analytical-services\n\njobs:\n  remove-users:\n    runs-on: ubuntu-latest\n    # These permissions are required to use AWS OIDC federate roles\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v3\n        with:\n          role-to-assume: ${{secrets.AWS_ID_DORMANT_USERS}}\n          aws-region: eu-west-2\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.dormant_users ${{ github.event.inputs.organisation_name }} ${{ secrets.GH_BOT_PAT_TOKEN }} ${{ secrets.S3_BUCKET_NAME }} ${{ secrets.SLACK_BOT_TOKEN }} ${{ secrets.NOTIFY_PROD_API_KEY }} ${{ secrets.AUTH0_CLIENT_SECRET }} ${{ secrets.AUTH0_CLIENT_ID }} ${{ secrets.AUTH0_DOMAIN}} false false false true\n        env:\n          LOGGING_LEVEL: ${{ secrets.LOGGING_LEVEL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:58.228842", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🤖 Generate GitHub Standards Report", "path": ".github/workflows/job-generate-github-standards-report.yaml", "contents": "name: 🤖 Generate GitHub Standards Report\n\non:\n  schedule:\n    - cron: \"0 4 * * *\"\n  workflow_dispatch:\n\njobs:\n  generate-github-standards-report:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.report_on_repository_standards --oauth-token ${{ secrets.GH_BOT_PAT_TOKEN }} --api-key ${{ secrets.REPORTS_API_KEY }} --url https://operations-engineering-reports-prod.cloud-platform.service.justice.gov.uk --endpoint /api/v2/update-github-reports\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed to generate GitHub Standards Report\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:05:59.454668", "created_at": "2024-01-05T15:37:42+01:00", "updated_at": "2024-01-05T15:37:42+01:00", "name": "🤖 Alert if Sentry Usage Over Threshold", "path": ".github/workflows/job-sentry-usage-alert.yml", "contents": "name: 🤖 Alert if Sentry Usage Over Threshold\n\non:\n  schedule:\n    - cron: \"0 6 * * *\"\n  workflow_dispatch:\n    inputs:\n      period_in_days:\n        description: 'Period in days'\n        required: false\n        type: string\n      usage_threshold:\n        description: 'Usage threshold (%)'\n        required: false\n        type: string\n\njobs:\n  sentry-usage-alert:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run  python -m bin.sentry_usage_alert\n        env:\n          SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }}\n          SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n          PERIOD_IN_DAYS: ${{ inputs.period_in_days }}\n          USAGE_THRESHOLD: ${{ inputs.usage_threshold }}\n          LOGGING_LEVEL: ${{ secrets.LOGGING_LEVEL }}\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed GitHub Action Run: Sentry Usage Alert\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:00.557139", "created_at": "2024-01-05T18:03:01+01:00", "updated_at": "2024-01-05T18:03:01+01:00", "name": "🤖 Terraform Plan Auth0", "path": ".github/workflows/terraform-plan-auth0.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:01.614006", "created_at": "2024-01-09T16:30:38+01:00", "updated_at": "2024-01-09T16:30:38+01:00", "name": "Fetch GitHub Joiner Metrics", "path": ".github/workflows/job-fetch-github-joiner-metrics.yml", "contents": "name: Fetch GitHub Joiner Metrics\r\n\r\non:\r\n  schedule:\r\n    - cron: \"0 8 * * 5\"\r\n  workflow_dispatch:\r\n\r\njobs:\r\n  fetch-github-joiner-metrics:\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      - uses: actions/checkout@v4\r\n      - uses: actions/setup-python@v4\r\n        with:\r\n          python-version: \"3.11\"\r\n          cache: \"pipenv\"\r\n      - name: Install Pipenv\r\n        run: |\r\n          pip install pipenv\r\n          pipenv install\r\n      - run: pipenv run python3 -m bin.fetch_github_joiner_metrics\r\n        env:\r\n          ADMIN_GITHUB_TOKEN: ${{ secrets.GH_BOT_AUDIT_LOG_PAT_TOKEN }}\r\n          ADMIN_SLACK_TOKEN: ${{ secrets.ADMIN_SEND_TO_SLACK }}\r\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\r\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:03.244023", "created_at": "2024-01-16T10:28:01+01:00", "updated_at": "2024-02-09T17:10:15+01:00", "name": "♻️ Terraform Github Repos", "path": ".github/workflows/cicd-terraform-github-repos.yml", "contents": "name: \"♻️ Terraform Github Repos\"\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - \"terraform/github/**\"\n    branches:\n      - main\n  push:\n    paths:\n      - \"terraform/github/**\"\n    branches: [\"main\"]\n\nenv:\n  TERRAFORM_VERSION: \"1.6.6\"\n  TF_VAR_github_token: ${{ secrets.GH_BOT_PAT_TOKEN }}\n\njobs:\n  terraform:\n    name: \"Terraform Github Repos\"\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write\n      id-token: write\n    strategy:\n      matrix:\n        path:\n          - \"repositories\"\n    defaults:\n      run:\n        working-directory: \"terraform/github/${{ matrix.path }}\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: hashicorp/setup-terraform@v3\n        with:\n          terraform_version: ${{ env.TERRAFORM_VERSION }}\n\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.TERRAFORM_GITHUB_REPOS_S3_ROLE_ARN_PROD}}\n          aws-region: eu-west-2\n\n      - name: Post Link to Apply Pipeline\n        if: github.ref == 'refs/heads/main'\n        uses: mshick/add-pr-comment@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          repo-token-user-login: 'github-actions[bot]'\n          message: |\n            Your PR is applying here: https://github.com/ministryofjustice/operations-engineering/actions/workflows/cicd-terraform-github-repos.yml?query=event%3Apush+branch%3Amain\n\n      - name: Terraform Format Check\n        id: fmt-check\n        run: terraform fmt -check\n\n      - name: Terraform Init\n        id: init\n        run: ls -latr; terraform init -input=false -no-color\n\n      - name: Terraform Validate\n        id: validate\n        run: terraform validate -no-color\n\n      - name: Terraform Plan\n        id: plan\n        run: terraform plan -input=false -no-color\n\n      - name: Delete Old Comments\n        uses: maheshrayas/action-pr-comment-delete@v3.0\n        with:\n          github_token: '${{ secrets.GITHUB_TOKEN }}'\n          org: ministryofjustice\n          repo: operations-engineering\n          user: 'github-actions[bot]'\n          issue: '${{github.event.number}}'\n\n      - name: Post Plan to GitHub PR\n        if: github.ref != 'refs/heads/main'\n        uses: mshick/add-pr-comment@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          repo-token-user-login: 'github-actions[bot]'\n          message: |\n            ## ${{ matrix.path }} plan\n            ```\n            ${{ steps.plan.outputs.stdout || steps.plan.outputs.stderr }}\n            ```\n\n      - name: Terraform Apply\n        if: github.ref == 'refs/heads/main'\n        id: apply\n        run: terraform apply -input=false -no-color -auto-approve\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:04.370516", "created_at": "2024-01-19T17:04:32+01:00", "updated_at": "2024-01-19T17:04:32+01:00", "name": "♻️ Terraform Auth0", "path": ".github/workflows/cicd-terraform-auth0.yml", "contents": "name: \"♻️ Terraform Auth0\"\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - \"terraform/auth0/**\"\n    branches:\n      - main\n\nenv:\n  TERRAFORM_VERSION: \"1.6.6\"\n  TF_VAR_auth0_client_id: ${{ secrets.AUTH0_OPERATIONS_ENGINEERING_DEV_DEFAULT_CLIENTID }}\n  TF_VAR_auth0_client_secret: ${{ secrets.AUTH0_OPERATIONS_ENGINEERING_DEV_DEFAULT_CLIENTSECRET }}\n  TF_VAR_auth0_domain: ${{ secrets.AUTH0_OPERATIONS_ENGINEERING_DEV_DOMAIN}}\n\njobs:\n  terraform:\n    name: \"Terraform Auth0\"\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write\n      id-token: write\n    strategy:\n      matrix:\n        path:\n          - \"operations-engineering-test\"\n    defaults:\n      run:\n        working-directory: \"terraform/auth0/${{ matrix.path }}\"\n    steps:\n    - uses: actions/checkout@v4\n    - uses: hashicorp/setup-terraform@v3\n      with:\n        terraform_version: ${{ env.TERRAFORM_VERSION }}\n\n    - name: Configure AWS Credentials\n      uses: aws-actions/configure-aws-credentials@v4\n      with:\n        role-to-assume: ${{ secrets.TERRAFORM_AUTH0_S3_ROLE_ARN_DEV}}\n        aws-region: eu-west-2\n\n    - name: Terraform fmt\n      id: fmt\n      run: terraform fmt -check -recursive -diff -no-color\n      continue-on-error: false\n\n    - name: Terraform Init\n      id: init\n      run: ls -latr; terraform init -input=false -no-color\n\n    - name: Terraform Validate\n      id: validate\n      run: terraform validate -no-color\n\n    - name: Terraform Plan\n      id: plan\n      run: terraform plan -input=false -no-color\n      continue-on-error: false\n\n    - name: Post Plan to GitHub PR\n      uses: mshick/add-pr-comment@v1\n      with:\n        allow-repeats: true\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n        repo-token-user-login: 'github-actions[bot]'\n        message: |\n          ## ${{ matrix.path }} plan\n          ```\n          ${{ steps.plan.outputs.stdout || steps.plan.outputs.stderr }}\n          ```\n\n    - name: Terraform Apply\n      if: github.ref == 'refs/heads/main'\n      id: apply\n      run: terraform apply -input=false -no-color -auto-approve\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:05.412753", "created_at": "2024-02-22T11:12:49+01:00", "updated_at": "2024-02-23T15:29:24+01:00", "name": "Backup Route 53", "path": ".github/workflows/job-route-53-backup.yml", "contents": "name: Backup Route 53\n\non:\n  schedule:\n    - cron: \"0 4 * * 1\"\n  workflow_dispatch:\n\njobs:\n  backup-route-53:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Configure AWS Credentials for CP R53 Backup Profile\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.R53_BACKUP_ROLE_ARN }}\n          aws-region: eu-west-2\n\n      - name: Setup CP R53 Backup Profile\n        run: |\n          aws configure set region ${{ env.AWS_REGION }} --profile cp_r53_backup_profile\n          aws configure set aws_access_key_id ${{ env.AWS_ACCESS_KEY_ID }} --profile cp_r53_backup_profile\n          aws configure set aws_secret_access_key ${{ env.AWS_SECRET_ACCESS_KEY }} --profile cp_r53_backup_profile\n          aws configure set aws_session_token ${{ env.AWS_SESSION_TOKEN }} --profile cp_r53_backup_profile\n\n      - name: Configure AWS Credentials for DSD export role\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_DSD_R53_EXPORT_ROLE_ARN }}\n          aws-region: eu-west-2\n\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.route53_backup\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed to backup Route 53\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:06.516306", "created_at": "2024-02-26T12:48:18+01:00", "updated_at": "2024-02-27T10:36:05+01:00", "name": "♻️ Terraform AWS DSD Account", "path": ".github/workflows/cicd-terraform-dsd-iam.yml", "contents": "name: \"♻️ Terraform AWS DSD Account\"\n\non:\n  workflow_dispatch:\n  pull_request:\n    paths:\n      - \"terraform/dsd/**\"\n    branches:\n      - main\n  push:\n    paths:\n      - \"terraform/dsd/**\"\n    branches: [\"main\"]\n\nenv:\n  TERRAFORM_VERSION: \"1.6.6\"\n  TF_VAR_github_token: ${{ secrets.GH_BOT_PAT_TOKEN }}\n\njobs:\n  terraform:\n    name: \"Terraform DSD\"\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pull-requests: write\n      id-token: write\n    strategy:\n      matrix:\n        path:\n          - \"iam\"\n    defaults:\n      run:\n        working-directory: \"terraform/dsd/${{ matrix.path }}\"\n    steps:\n      - uses: actions/checkout@v4\n      - uses: hashicorp/setup-terraform@v3\n        with:\n          terraform_version: ${{ env.TERRAFORM_VERSION }}\n\n      - name: Configure AWS Credentials for Infra Account\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.AWS_DSD_CREATE_IAM_ROLE_ARN }}\n          aws-region: eu-west-2\n\n      - name: Setup DSD Profile\n        run: |\n          aws configure set region ${{ env.AWS_REGION }} --profile dsd_profile\n          aws configure set aws_access_key_id ${{ env.AWS_ACCESS_KEY_ID }} --profile dsd_profile\n          aws configure set aws_secret_access_key ${{ env.AWS_SECRET_ACCESS_KEY }} --profile dsd_profile\n          aws configure set aws_session_token ${{ env.AWS_SESSION_TOKEN }} --profile dsd_profile\n\n      - name: Configure AWS Credentials for CP State Account\n        uses: aws-actions/configure-aws-credentials@v4\n        with:\n          role-to-assume: ${{ secrets.R53_BACKUP_ROLE_ARN }}\n          aws-region: eu-west-2\n\n      - name: Post Link to Apply Pipeline\n        if: github.ref == 'refs/heads/main'\n        uses: mshick/add-pr-comment@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          repo-token-user-login: 'github-actions[bot]'\n          message: |\n            Your PR is applying here: https://github.com/ministryofjustice/operations-engineering/actions/workflows/cicd-terraform-dsd-iam.yml?query=event%3Apush+branch%3Amain\n\n      - name: Terraform Format Check\n        id: fmt-check\n        run: terraform fmt -check\n\n      - name: Terraform Init\n        id: init\n        run: ls -latr; terraform init -input=false -no-color\n\n      - name: Terraform Validate\n        id: validate\n        run: terraform validate -no-color\n\n      - name: Terraform Plan\n        id: plan\n        run: terraform plan -input=false -no-color\n\n      - name: Delete Old Comments\n        uses: maheshrayas/action-pr-comment-delete@v3.0\n        with:\n          github_token: '${{ secrets.GITHUB_TOKEN }}'\n          org: ministryofjustice\n          repo: operations-engineering\n          user: 'github-actions[bot]'\n          issue: '${{github.event.number}}'\n\n      - name: Post Plan to GitHub PR\n        if: github.ref != 'refs/heads/main'\n        uses: mshick/add-pr-comment@v1\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          repo-token-user-login: 'github-actions[bot]'\n          message: |\n            ## ${{ matrix.path }} plan\n            ```\n            ${{ steps.plan.outputs.stdout || steps.plan.outputs.stderr }}\n            ```\n\n      - name: Terraform Apply\n        if: github.ref == 'refs/heads/main'\n        id: apply\n        run: terraform apply -input=false -no-color -auto-approve\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:07.646166", "created_at": "2024-02-28T22:39:21+01:00", "updated_at": "2024-02-28T22:39:21+01:00", "name": "Restore DSD Hosted Zones From S3 Backup", "path": ".github/workflows/job-restore-hosted-zones-from-backup.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:08.877422", "created_at": "2024-03-05T15:36:43+01:00", "updated_at": "2024-03-05T15:55:20+01:00", "name": "Trivy Vulnerability Scan", "path": ".github/workflows/cicd-trivy-dependency-scan.yml", "contents": "name: Trivy Vulnerability Scan\non:\n  schedule:\n    - cron: \"0 9 * * 1\"\n  workflow_dispatch:\njobs:\n  check-for-vulnerabilities:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1\n\n      - name: Run Trivy Vulnerability Scanner\n        uses: aquasecurity/trivy-action@062f2592684a31eb3aa050cc61e7ca1451cecd3d #v0.18.0\n        with:\n          scan-type: 'fs'\n          ignore-unfixed: true\n          format: 'sarif'\n          output: 'trivy-results.sarif'\n          severity: 'CRITICAL,HIGH'\n\n      - name: Upload Trivy scan results to GitHub Security tab\n        uses: github/codeql-action/upload-sarif@v3\n        with:\n          sarif_file: 'trivy-results.sarif'\n\n      - name: CVE Description escaped extraction and print\n        run: |\n          SCAN_RESULTS=$(jq -r '.runs[0].tool.driver.rules | map(.help.text) | join(\"\\\\n\")' trivy-results.sarif)\n          {\n            echo \"CVE_CRITICAL=$(echo \"$SCAN_RESULTS\" | grep -o CRITICAL | wc -l)\"\n            echo \"CVE_HIGH=$(echo \"$SCAN_RESULTS\" | grep -o HIGH | wc -l)\"\n            echo \"CVE_MEDIUM=$(echo \"$SCAN_RESULTS\" | grep -o MEDIUM | wc -l)\"\n          } >> \"$GITHUB_ENV\"\n\n          echo \"$SCAN_RESULTS\"\n\n      - name: Create an Issue for Detected Vulnerabilities\n        id: issue-creator\n        if: env.CVE_HIGH > 0 || env.CVE_CRITICAL > 0\n        uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 #v2.8.2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n        with:\n          update_existing: false\n          filename: .github/ISSUE_TEMPLATE/trivy-vulnerability-template.md\n\n      - name: Fails if CVE HIGH or CRITICAL are detected\n        id: cve-threshold\n        if: env.CVE_HIGH > 0 || env.CVE_CRITICAL > 0\n        run: exit 1\n\n      - name: Send notification to Slack\n        id: slack\n        if: always() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && steps.cve-threshold.outcome == 'failure'\n        uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 #v1.24.0\n        with:\n          payload: |\n            {\n              \"blocks\": [\n                {\n                  \"type\": \"header\",\n                  \"text\": {\n                    \"type\": \"plain_text\",\n                    \"text\": \"Vulnerability Scan Report: ${{ github.event.repository.name }}\"\n                  }\n                },\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"*Scan Summary:*\"\n                  }\n                },\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"*CRITICAL:* :rotating_light: ${{ env.CVE_CRITICAL }}\"\n                  }\n                },\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"*HIGH:* :warning: ${{ env.CVE_HIGH }}\"\n                  }\n                },\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"*MEDIUM:* :yellow_heart: ${{ env.CVE_MEDIUM }}\"\n                  }\n                },\n                {\n                  \"type\": \"section\",\n                  \"text\": {\n                    \"type\": \"mrkdwn\",\n                    \"text\": \"Please review the detailed scan results and take necessary actions.\\n\\n<https://github.com/${{ github.repository }}/security/code-scanning|View Details on GitHub>\\n\\n<https://runbooks.operations-engineering.service.justice.gov.uk/documentation/internal/dependency-alerts.html|Runbook for Responding to Dependency Alerts>\\n\\n*Issue Created:* <${{ steps.issue-creator.outputs.url }}|View Issue>\"\n                  }\n                }\n              ]\n            }\n\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n          SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:10.104216", "created_at": "2024-03-08T12:17:08+01:00", "updated_at": "2024-03-18T17:33:59+01:00", "name": "Alarm if remaining GitHub Actions quota is low", "path": ".github/workflows/job-alarm-for-github-actions-quota.yml", "contents": "name: Alarm if remaining GitHub Actions quota is low\n\non:\n  schedule:\n    - cron: \"0 4 * * *\"\n  workflow_dispatch:\n\nenv:\n  ADMIN_SLACK_TOKEN: ${{ secrets.ADMIN_SEND_TO_SLACK }}\n  GH_TOKEN: ${{ secrets.OPS_ENG_ENTERPRISE_BILLING_PAT_TOKEN }}\n\njobs:\n  low-quota-threshold:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.alert_on_low_github_actions_quota\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@v2\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed to check for low GitHub actions minutes\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:11.333238", "created_at": "2024-04-04T13:38:06+02:00", "updated_at": "2024-04-04T13:38:06+02:00", "name": "🤖 Alarm for Low Gandi Funds", "path": ".github/workflows/job-alarm-for-low-gandi-funds.yml", "contents": "name: 🤖 Alarm for Low Gandi Funds\n\non:\n  schedule:\n    - cron: \"0 12 * * *\"\n  workflow_dispatch:\n\njobs:\n  alarm-for-low-gandi-funds:\n    name: Run the check to see if more Gandi funds are needed.\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - name: checkout repo content\n        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - name: Python Setup\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: '3.11'\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - name: execute the low gandi funds script\n        run: pipenv run python3 -m bin.alert_on_low_gandi_funds\n        env:\n          GANDI_FUNDS_TOKEN: ${{ secrets.GANDI_FUNDS_TOKEN }}\n          GANDI_ORG_ID: ${{ secrets.GANDI_ORG_ID }}\n          ADMIN_SLACK_TOKEN: ${{ secrets.ADMIN_SEND_TO_SLACK }}\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2.5.0\n        with:\n          status: ${{ job.status }}\n          notify_when: 'failure'\n          notification_title: 'Failed GitHub Action Run'\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:12.437313", "created_at": "2024-04-09T15:46:44+02:00", "updated_at": "2024-04-09T15:46:44+02:00", "name": "🧪 Get Audit Log Users", "path": ".github/workflows/test-get-audit-log-users.yml", "contents": "name: 🧪 Get Audit Log Users\n\non:\n  workflow_dispatch:\n\njobs:\n  check-for-audit-log-users:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.identify_dormant_github_users\n        env:\n          GH_ADMIN_TOKEN: ${{ secrets.GH_BOT_AUDIT_LOG_PAT_TOKEN }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:13.614903", "created_at": "2024-04-10T14:42:36+02:00", "updated_at": "2024-07-03T15:21:15+02:00", "name": "Terraform for s3 to cloudtrail integration for github logs", "path": ".github/workflows/cicd-terraform-s3-to-cloudtrail.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:14.630355", "created_at": "2024-04-15T17:18:02+02:00", "updated_at": "2024-04-15T17:18:02+02:00", "name": "Alarm for neglected files", "path": ".github/workflows/job-alarm-for-neglected-files.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:15.940944", "created_at": "2024-04-19T10:50:09+02:00", "updated_at": "2024-04-19T10:50:09+02:00", "name": "🤖 Generate PAT Token Report", "path": ".github/workflows/job-generate-pat-token-report.yml", "contents": "name: 🤖 Generate PAT Token Report\n\non:\n  schedule:\n    - cron: \"0 8 * * 5\"\n\njobs:\n  pat-token-report:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate a token to access Operations Engineering PAT App\n        id: generate-token\n        uses: actions/create-github-app-token@v1\n        with:\n          app-id: ${{ secrets.OPERATIONS_ENGINEERING_PAT_APP_ID }}\n          private-key: ${{ secrets.OE_PAT_APP_PRIVATE_KEY }}\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.generate_pat_token_report\n        env:\n          GH_APP_TOKEN: ${{ steps.generate-token.outputs.token }}\n          ADMIN_SLACK_TOKEN: ${{ secrets.ADMIN_SEND_TO_SLACK }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:17.067657", "created_at": "2024-04-19T17:53:03+02:00", "updated_at": "2024-04-19T17:53:03+02:00", "name": "🧪 Identify Dormant GitHub Users", "path": ".github/workflows/exprimental-identify-dormant-github-users.yml", "contents": "# This workflow is triggered manually to identify dormant GitHub users. It's currently in an experimental phase and will eventually be integrated into the main dormant user process.\nname: 🧪 Identify Dormant GitHub Users\n\non:\n  workflow_dispatch:\n\njobs:\n  identify_dormant_github_users:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n    steps:\n      - uses: actions/checkout@v4\n      - name: Configure AWS credentials\n        uses: aws-actions/configure-aws-credentials@v3\n        with:\n          role-to-assume: ${{secrets.AWS_ID_DORMANT_USERS}}\n          aws-region: eu-west-2\n      - uses: actions/setup-python@v5\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.identify_dormant_github_users\n        env:\n          # GH_ADMIN_TOKEN is a GitHub personal access token that has enterprise read-only audit access.\n          # This is generated by one of the GitHub enterprise owners, listed here: https://github.com/orgs/ministryofjustice/people/enterprise_owners.\n          GH_ADMIN_TOKEN: ${{ secrets.OPERATIONS_ENGINEERING_GITHUB_AUDIT_LOG_READ_ONLY }}\n          ADMIN_SLACK_TOKEN: ${{ secrets.ADMIN_SEND_TO_SLACK }}\n          AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }}\n          AUTH0_CLIENT_SECRET: ${{ secrets.AUTH0_CLIENT_SECRET }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:18.296328", "created_at": "2024-05-16T17:50:39+02:00", "updated_at": "2024-05-17T16:02:52+02:00", "name": "🧪 Send Support Stats to Slack", "path": ".github/workflows/job-send-support-stats-to-slack.yml", "contents": "name: 🧪 Send Support Stats to Slack\n\non:\n  workflow_dispatch:\n  push:  \n    paths:  \n      - 'data/support_stats/support_stats.csv'  \njobs:\n  send-support-stats-to-slack:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-python@v4\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.support_stats_reporting\n        env:\n          ADMIN_SLACK_TOKEN: ${{ secrets.ADMIN_SEND_TO_SLACK }}\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:19.407455", "created_at": "2024-05-30T13:19:10+02:00", "updated_at": "2024-05-30T13:19:10+02:00", "name": "Test Excel Extraction", "path": ".github/workflows/test-ms-forms-integration.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:20.540945", "created_at": "2024-06-03T17:05:37+02:00", "updated_at": "2024-06-03T17:05:37+02:00", "name": "🤖 Alarm for Unused CircleCI Contexts", "path": ".github/workflows/job-alarm-for-unused-contexts.yml", "contents": "name: 🤖 Alarm for Unused CircleCI Contexts\n\non:\n  schedule:\n    - cron: '0 8 1 */3 *'\n  workflow_dispatch:\n\njobs:\n  report-on-unused-circleci-contexts:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1\n      - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - run: pipenv run python3 -m bin.alert_on_unused_contexts\n        env:\n          ADMIN_GITHUB_TOKEN: ${{ secrets.GH_BOT_PAT_TOKEN }}\n          ADMIN_CIRCLECI_TOKEN: ${{ secrets.ADMIN_CIRCLECI_TOKEN }}\n          ADMIN_SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}\n          CIRCLE_CI_OWNER_ID: ${{ secrets.CIRCLE_CI_OWNER_ID }}\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2.5.0\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed to report on unused CircleCI contexts\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:21.673221", "created_at": "2024-06-04T18:16:20+02:00", "updated_at": "2024-06-04T18:16:20+02:00", "name": "🧪 Experiment Get Collaborators GraphQL Query", "path": ".github/workflows/experiment-get-collaborators-graphql-query.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:22.805405", "created_at": "2024-06-07T16:54:36+02:00", "updated_at": "2024-06-07T16:54:36+02:00", "name": "🤖 Remove Stale Outside Collaborators", "path": ".github/workflows/job-remove-stale-outside-collaborators.yml", "contents": "name: 🤖 Remove Stale Outside Collaborators\non:\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 4 1 * *\"\n\njobs:\n  remove-stale-outside-collaborators:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1\n      - name: Set up\n        uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0\n        with:\n          python-version: \"3.11\"\n          cache: \"pipenv\"\n      - name: Install Pipenv\n        run: |\n          pip install pipenv\n          pipenv install\n      - name: Remove stale outside collaborators\n        run: pipenv run python -m bin.remove_stale_outside_collaborators\n        env:\n          ADMIN_GITHUB_TOKEN: ${{ secrets.OPS_BOT_TOKEN }}\n          GITHUB_ORGANIZATION_NAME: ministryofjustice\n      - name: Report failure to Slack\n        if: always()\n        uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2.5.0\n        with:\n          status: ${{ job.status }}\n          notify_when: \"failure\"\n          notification_title: \"Failed GitHub Action Run\"\n        env:\n          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}\n", "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:23.928080", "created_at": "2024-06-25T08:11:25+02:00", "updated_at": "2024-06-25T08:11:25+02:00", "name": "🧪 Print GitHub Reposiroty Owners", "path": ".github/workflows/print_github_repository_owners.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:25.042840", "created_at": "2024-07-05T17:53:45+02:00", "updated_at": "2024-07-09T10:57:29+02:00", "name": "♻️ Terraform GitHub Teams", "path": ".github/workflows/cicd-terraform-github-teams.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:26.085815", "created_at": "2024-07-09T10:57:29+02:00", "updated_at": "2024-07-09T10:57:29+02:00", "name": "🧪 Auto-merge Support Stats", "path": ".github/workflows/experiment-auto-approve-support.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:27.226257", "created_at": "2024-07-15T10:46:34+02:00", "updated_at": "2024-07-15T17:25:14+02:00", "name": "🧪 Cloud Platform Read Route53", "path": ".github/workflows/experiment-cloud-platform-route53-read.yml", "contents": null, "state": "active", "repository": "ministryofjustice/operations-engineering"}
{"mined_at": "2024-07-15T19:06:29.459472", "created_at": "2022-11-28T10:45:08+01:00", "updated_at": "2022-11-28T10:45:08+01:00", "name": "Publish Patroni distributions to PyPI and TestPyPI", "path": ".github/workflows/release.yaml", "contents": "name: Publish Patroni distributions to PyPI and TestPyPI\non:\n  push:\n    tags:\n      - 'v[0-9]+.[0-9]+.[0-9]+'\n  release:\n    types:\n      - published\njobs:\n  build-n-publish:\n    name: Build and publish Patroni distributions to PyPI and TestPyPI\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n\n    - name: Install Python packaging build frontend\n      run: python -m pip install build\n\n    - name: Build a binary wheel and a source tarball\n      run: python -m build\n\n    - name: Publish distribution to Test PyPI\n      if: github.event_name == 'push'\n      uses: pypa/gh-action-pypi-publish@v1.8.14\n      with:\n        password: ${{ secrets.TEST_PYPI_API_TOKEN }}\n        repository_url: https://test.pypi.org/legacy/\n\n    - name: Publish distribution to PyPI\n      if: github.event_name == 'release'\n      uses: pypa/gh-action-pypi-publish@v1.8.14\n      with:\n        password: ${{ secrets.PYPI_API_TOKEN }}\n", "state": "active", "repository": "patroni/patroni"}
{"mined_at": "2024-07-15T19:06:30.686973", "created_at": "2020-12-04T16:19:41+01:00", "updated_at": "2020-12-04T16:19:41+01:00", "name": "Tests", "path": ".github/workflows/tests.yaml", "contents": "name: Tests\n\non:\n  pull_request:\n  push:\n    branches:\n    - master\n    - 'REL_[0-9]+_[0-9]+'\n\nenv:\n  CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}\n  SECRETS_AVAILABLE: ${{ secrets.CODACY_PROJECT_TOKEN != '' }}\n\njobs:\n  unit:\n    runs-on: ${{ matrix.os }}-latest\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu, windows, macos]\n\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.7\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.7\n      if: matrix.os != 'macos'\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n      if: matrix.os != 'macos'\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n      if: matrix.os != 'macos'\n\n    - name: Set up Python 3.8\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.8\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n\n    - name: Set up Python 3.9\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.9\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n\n    - name: Set up Python 3.10\n      uses: actions/setup-python@v5\n      with:\n        python-version: '3.10'\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n    - name: Run tests and flake8\n      run: python .github/workflows/run_tests.py\n\n    - name: Combine coverage\n      run: python .github/workflows/run_tests.py combine\n\n    - name: Install coveralls\n      run: python -m pip install coveralls\n\n    - name: Upload Coverage\n      env:\n        COVERALLS_FLAG_NAME: unit-${{ matrix.os }}\n        COVERALLS_PARALLEL: 'true'\n        GITHUB_TOKEN: ${{ secrets.github_token }}\n      run: python -m coveralls --service=github\n\n  behave:\n    runs-on: ${{ matrix.os }}-latest\n    env:\n      DCS: ${{ matrix.dcs }}\n      ETCDVERSION: 3.4.23\n      PGVERSION: 16.1-1  # for windows and macos\n    strategy:\n      fail-fast: false\n      matrix:\n        os: [ubuntu]\n        python-version: [3.7, 3.12]\n        dcs: [etcd, etcd3, consul, exhibitor, kubernetes, raft]\n        include:\n        - os: macos\n          python-version: 3.8\n          dcs: raft\n        - os: macos\n          python-version: 3.9\n          dcs: etcd\n        - os: macos\n          python-version: 3.11\n          dcs: etcd3\n\n    steps:\n    - uses: actions/checkout@v4\n    - name: Set up Python\n      uses: actions/setup-python@v5\n      with:\n        python-version: ${{ matrix.python-version }}\n    - uses: nolar/setup-k3d-k3s@v1\n      if: matrix.dcs == 'kubernetes'\n    - name: Add postgresql and citus apt repo\n      run: |\n        sudo apt-get update -y\n        sudo apt-get install -y wget ca-certificates gnupg debian-archive-keyring apt-transport-https\n        sudo sh -c 'echo \"deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main\" > /etc/apt/sources.list.d/pgdg.list'\n        sudo sh -c 'wget -qO - https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg'\n        sudo sh -c 'echo \"deb [signed-by=/etc/apt/trusted.gpg.d/citusdata_community.gpg] https://packagecloud.io/citusdata/community/ubuntu/ $(lsb_release -cs) main\" > /etc/apt/sources.list.d/citusdata_community.list'\n        sudo sh -c 'wget -qO - https://packagecloud.io/citusdata/community/gpgkey | gpg --dearmor > /etc/apt/trusted.gpg.d/citusdata_community.gpg'\n      if: matrix.os == 'ubuntu'\n    - name: Install dependencies\n      run: python .github/workflows/install_deps.py\n    - name: Run behave tests\n      run: python .github/workflows/run_tests.py\n    - name: Upload logs if behave failed\n      uses: actions/upload-artifact@v4\n      if: failure()\n      with:\n        name: behave-${{ matrix.os }}-${{ matrix.dcs }}-${{ matrix.python-version }}-logs\n        path: |\n          features/output/*_failed/*postgres?.*\n          features/output/*.log\n        if-no-files-found: error\n        retention-days: 5\n    - name: Generate coverage xml report\n      run: python -m coverage xml -o cobertura.xml\n    - name: Upload coverage to Codacy\n      run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r cobertura.xml -l Python --partial\n      if: ${{ env.SECRETS_AVAILABLE == 'true' }}\n\n  coveralls-finish:\n    name: Finalize coveralls.io\n    needs: unit\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/setup-python@v5\n    - run: python -m pip install coveralls\n    - run: python -m coveralls --service=github --finish\n      env:\n        GITHUB_TOKEN: ${{ secrets.github_token }}\n\n  codacy-final:\n    name: Finalize Codacy\n    needs: behave\n    runs-on: ubuntu-latest\n    steps:\n    - run: bash <(curl -Ls https://coverage.codacy.com/get.sh) final\n      if: ${{ env.SECRETS_AVAILABLE == 'true' }}\n\n  pyright:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.12\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.12\n\n    - name: Install dependencies\n      run: python -m pip install -r requirements.txt psycopg2-binary psycopg\n\n    - uses: jakebailey/pyright-action@v2\n      with:\n        version: 1.1.367\n\n  docs:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v4\n\n    - name: Set up Python 3.11\n      uses: actions/setup-python@v5\n      with:\n        python-version: 3.11\n        cache: pip\n\n    - name: Install dependencies\n      run: pip install tox\n\n    - name: Install package dependencies\n      run: |\n        sudo apt update \\\n        && sudo apt install -y \\\n            latexmk texlive-latex-extra tex-gyre \\\n            --no-install-recommends\n\n    - name: Generate documentation\n      run: tox -m docs\n", "state": "active", "repository": "patroni/patroni"}
